diff --git a/third_party/googleapis/.bazeliskrc b/third_party/googleapis/.bazeliskrc index 04cd2fe7c..74cd900fb 100644 --- a/third_party/googleapis/.bazeliskrc +++ b/third_party/googleapis/.bazeliskrc @@ -1,2 +1,2 @@ # See https://github.com/bazelbuild/bazelisk -USE_BAZEL_VERSION=6.0.0 +USE_BAZEL_VERSION=6.3.0 diff --git a/third_party/googleapis/.github/workflows/diregapic.yaml b/third_party/googleapis/.github/workflows/diregapic.yaml index fa7837f9d..65bad0429 100644 --- a/third_party/googleapis/.github/workflows/diregapic.yaml +++ b/third_party/googleapis/.github/workflows/diregapic.yaml @@ -7,8 +7,9 @@ on: # yamllint disable-line rule:truthy jobs: regenerate-compute: + if: github.repository == 'googleapis/googleapis' runs-on: ubuntu-latest - container: gcr.io/gapic-images/googleapis:20230301 + container: gcr.io/gapic-images/googleapis:20230531 steps: - name: Checkout master uses: actions/checkout@v3 @@ -20,18 +21,19 @@ jobs: echo compute_revision=$(grep -oP '"revision":\s*"\d+"' google/cloud/compute/v1/compute.v1.json | grep -oP '\d+') >> $GITHUB_ENV - name: Regenerate API definitions run: | - bazel build //google/cloud/compute/v1:compute_gen + git config --global --add safe.directory /__w/googleapis/googleapis + bazelisk build //google/cloud/compute/v1:compute_gen cp bazel-bin/google/cloud/compute/v1/compute_gen.proto google/cloud/compute/v1/compute.proto - bazel build //google/cloud/compute/v1:compute_grpc_service_config_gen + bazelisk build //google/cloud/compute/v1:compute_grpc_service_config_gen cp bazel-bin/google/cloud/compute/v1/compute_grpc_service_config_gen.json google/cloud/compute/v1/compute_grpc_service_config.json - bazel build //google/cloud/compute/v1:compute_gapic_gen + bazelisk build //google/cloud/compute/v1:compute_gapic_gen cp bazel-bin/google/cloud/compute/v1/compute_gapic_gen.yaml google/cloud/compute/v1/compute_gapic.yaml echo api_changes=$(git diff-index --shortstat HEAD) >> $GITHUB_ENV - name: Build GAPIC clients if: contains(env.api_changes, 'file') run: | - bazel build //google/cloud/compute/v1/... - bazel build //google/cloud/compute/v1/... + bazelisk build //google/cloud/compute/v1/... + bazelisk build //google/cloud/compute/v1/... - name: Create PR uses: googleapis/code-suggester@v2 env: diff --git a/third_party/googleapis/.github/workflows/generate_api_index.yaml b/third_party/googleapis/.github/workflows/generate_api_index.yaml index 24b3fc228..f92b42915 100644 --- a/third_party/googleapis/.github/workflows/generate_api_index.yaml +++ b/third_party/googleapis/.github/workflows/generate_api_index.yaml @@ -8,13 +8,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Setup .NET Core SDK - uses: actions/setup-dotnet@v1.8.0 + uses: actions/setup-dotnet@v3 - name: Checkout googleapis (this repository) - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: path: googleapis - name: Checkout index generator - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: repository: googleapis/googleapis-api-index-generator path: gen diff --git a/third_party/googleapis/.kokoro/Dockerfile b/third_party/googleapis/.kokoro/Dockerfile index 0621d0e6c..85519d68d 100644 --- a/third_party/googleapis/.kokoro/Dockerfile +++ b/third_party/googleapis/.kokoro/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.10 +FROM python:3.10.11-bullseye RUN apt-get update @@ -7,7 +7,10 @@ RUN apt-get install -y \ build-essential \ python-dev \ python3-dev \ - openjdk-11-jdk + openjdk-11-jdk \ + pkg-config \ + openssl \ + libcurl4-openssl-dev RUN mkdir -p /tools WORKDIR /tools @@ -24,4 +27,9 @@ ENV BAZEL_BIN=/tools/bazelisk RUN apt-get clean +# Ask Bazel to use C++14 by default. +# Note: Bazel will use this system-wide configuration file and will merge it +# with other bazelrc file it finds: https://bazel.build/run/bazelrc +RUN echo 'build --repo_env=BAZEL_CXXOPTS="-std=c++14"' > /etc/bazel.bazelrc + ENTRYPOINT [ "/bin/bash" ] diff --git a/third_party/googleapis/.kokoro/docker_update.sh b/third_party/googleapis/.kokoro/docker_update.sh index 6279b8861..b4d15c1a7 100644 --- a/third_party/googleapis/.kokoro/docker_update.sh +++ b/third_party/googleapis/.kokoro/docker_update.sh @@ -4,17 +4,28 @@ # PHP and Ruby runtimes binaries to use in GAPIC generators for these # languages. # +# Historically, PHP and Ruby keep their compiled runtimes in the generators' +# repositories: +# https://github.com/googleapis/gapic-generator-php/tree/main/rules_php_gapic/resources +# https://github.com/googleapis/gapic-generator-ruby/tree/main/rules_ruby_gapic/prebuilt +# They are needed to prevent rebuilding of PHP and Ruby runtime (each taking +# several minutes) every time the build is executed from a clean workspace. +# +# Sometimes these binaries need to be updated: they are dynamically linked, +# and may stop working if some dependency changes in an incompatible way. +# Use this script to update both the googleapis Docker image, and those +# binaries. +# # Run from any local working directory where you have write access. # # Usage: # $ mkdir workdir # $ cd workdir -# $ sh /google/src/head/depot/google3/third_party/googleapis/stable/.kokoro/docker_update.sh +# $ sh /path/to/.kokoro/docker_update.sh # # After the script completes, it should print out commands to push the new # Docker image and to create pull requests against Ruby and PHP generators. -# Whenever the image is published, tag it here: -# https://pantheon.corp.google.com/gcr/images/gapic-images/global/googleapis?project=gapic-images +# Whenever the image is published, tag it in Google Cloud Console, # then release new versions of the generators and update the image tag in # start.sh scripts in Kokoro folders in all googleapis workspaces. diff --git a/third_party/googleapis/.kokoro/start.sh b/third_party/googleapis/.kokoro/start.sh index 3a5bfb4fd..2b8de8f4a 100755 --- a/third_party/googleapis/.kokoro/start.sh +++ b/third_party/googleapis/.kokoro/start.sh @@ -11,4 +11,4 @@ docker container run \ --workdir ${KOKORO_ROOT} \ --ipc=host \ --entrypoint ${KOKORO_ARTIFACTS_DIR}/github/googleapis/.kokoro/build.sh \ - gcr.io/gapic-images/googleapis:20230301 + gcr.io/gapic-images/googleapis:20230531 diff --git a/third_party/googleapis/BUILD.bazel b/third_party/googleapis/BUILD.bazel index 81764fe9c..95e4c12e5 100644 --- a/third_party/googleapis/BUILD.bazel +++ b/third_party/googleapis/BUILD.bazel @@ -1,5 +1,18 @@ -alias( - name = "build_gen", - actual = "@rules_gapic//bazel:build_file_generator", +genrule( + name = "build_gen", + outs = ["build_gen.sh"], + executable = True, + srcs = glob(["run_build_gen.sh"]), + cmd = """ + if test -z \"$(SRCS)\"; then + cat < $@ +#!/bin/sh +echo build_gen needs to be run internally, not on GitHub repository. +echo Please file an issue on GitHub if you have any questions: +echo https://github.com/googleapis/rules_gapic/issues/new +EOD + else + cp $(SRCS) $@ + fi + """, ) - diff --git a/third_party/googleapis/README.md b/third_party/googleapis/README.md index ec7b11698..0928b9b27 100644 --- a/third_party/googleapis/README.md +++ b/third_party/googleapis/README.md @@ -36,7 +36,7 @@ bazel build //google/example/library/v1/... To build the Java package for one library: ``` -bazel build //google/example/library/v1:google-cloud-library-v1-java +bazel build //google/example/library/v1:google-cloud-example-library-v1-java ``` Bazel packages exist in all the libraries for Java, Go, Python, Ruby, Node.js, PHP and C#. diff --git a/third_party/googleapis/WORKSPACE b/third_party/googleapis/WORKSPACE index 09c8c53d1..3c06b00cf 100644 --- a/third_party/googleapis/WORKSPACE +++ b/third_party/googleapis/WORKSPACE @@ -34,6 +34,17 @@ http_archive( urls = ["https://github.com/bazelbuild/bazel-skylib/releases/download/{0}/bazel-skylib-{0}.tar.gz".format(_bazel_skylib_version)], ) +_bazel_features_version = "1.2.0" + +_bazel_features_sha256 = "b8789c83c893d7ef3041d3f2795774936b27ff61701a705df52fd41d6ddbf692" + +http_archive( + name = "bazel_features", + sha256 = _bazel_features_sha256, + strip_prefix = "bazel_features-%s" % _bazel_features_version, + url = "https://github.com/bazel-contrib/bazel_features/releases/download/v{0}/bazel_features-v{0}.tar.gz".format(_bazel_features_version), +) + # Protobuf depends on very old version of rules_jvm_external. # Importing older version of rules_jvm_external first (this is one of the things that protobuf_deps() call # below will do) breaks the Java client library generation process, so importing the proper version explicitly before calling protobuf_deps(). @@ -58,10 +69,15 @@ rules_jvm_external_setup() # Python rules should go early in the dependencies list, otherwise a wrong # version of the library will be selected as a transitive dependency of gRPC. +_rules_python_version = "0.26.0" + +_rules_python_sha256 = "9d04041ac92a0985e344235f5d946f71ac543f1b1565f2cdbc9a2aaee8adf55b" + http_archive( name = "rules_python", - strip_prefix = "rules_python-0.9.0", - url = "https://github.com/bazelbuild/rules_python/archive/0.9.0.tar.gz", + sha256 = _rules_python_sha256, + strip_prefix = "rules_python-{}".format(_rules_python_version), + url = "https://github.com/bazelbuild/rules_python/archive/{}.tar.gz".format(_rules_python_version), ) http_archive( @@ -77,17 +93,85 @@ load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies") rules_pkg_dependencies() +# This must be above the download of gRPC (in C++ section) and +# rules_gapic_repositories because both depend on rules_go and we need to manage +# our version of rules_go explicitly rather than depend on the version those +# bring in transitively. +_io_bazel_rules_go_version = "0.44.2" + +http_archive( + name = "io_bazel_rules_go", + sha256 = "7c76d6236b28ff695aa28cf35f95de317a9472fd1fb14ac797c9bf684f09b37c", + urls = [ + "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v{0}/rules_go-v{0}.zip".format(_io_bazel_rules_go_version), + "https://github.com/bazelbuild/rules_go/releases/download/v{0}/rules_go-v{0}.zip".format(_io_bazel_rules_go_version), + ], +) + +############################################################################## +# C++ +############################################################################## +# C++ must go before everything else, since the key dependencies (protobuf and gRPC) +# are C++ repositories and they have the highest chance to have the correct versions of the +# transitive dependencies (for those dependencies which are shared by many other repositories +# imported in this workspace). +# +# This comes before Protobuf's section, meaning we prioritize gRPC's dependencies +# (including upb and absl) over Protobuf's. Because the gRPC team prioritizes their +# own dependencies when they test gRPC and Protobuf compatibility, gRPC's dependencies have +# better chance to make it work. +# +# Note, even though protobuf and gRPC are mostly written in C++, they are used to generate stuff +# for most of the other languages as well, so they can be considered as the core cross-language +# dependencies. + +_grpc_version = "1.60.0" + +_grpc_sha256 = "09640607a340ff0d97407ed22fe4adb177e5bb85329821122084359cd57c3dea" + +http_archive( + name = "com_github_grpc_grpc", + sha256 = _grpc_sha256, + strip_prefix = "grpc-%s" % _grpc_version, + urls = ["https://github.com/grpc/grpc/archive/v%s.zip" % _grpc_version], +) + +# Explicitly declaring Protobuf version, while Protobuf dependency is already +# instantiated in grpc_deps(). +_protobuf_version = "25.2" + +_protobuf_sha256 = "8ff511a64fc46ee792d3fe49a5a1bcad6f7dc50dfbba5a28b0e5b979c17f9871" + http_archive( name = "com_google_protobuf", - sha256 = "930c2c3b5ecc6c9c12615cf5ad93f1cd6e12d0aba862b572e076259970ac3a53", - strip_prefix = "protobuf-3.21.12", - urls = ["https://github.com/protocolbuffers/protobuf/archive/v3.21.12.tar.gz"], + sha256 = _protobuf_sha256, + strip_prefix = "protobuf-%s" % _protobuf_version, + urls = ["https://github.com/protocolbuffers/protobuf/archive/v%s.tar.gz" % _protobuf_version], ) -load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps") +load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps") + +grpc_deps() +load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps", "PROTOBUF_MAVEN_ARTIFACTS") +# This is actually already done within grpc_deps but calling this for Bazel convention. protobuf_deps() +# gRPC enforces a specific version of Go toolchain which conflicts with our build. +# All the relevant parts of grpc_extra_deps() are imported in this WORKSPACE file +# explicitly, that is why we do not call grpc_extra_deps() here and call +# apple_rules_dependencies and apple_support_dependencies macros explicitly. + +load("@build_bazel_rules_apple//apple:repositories.bzl", "apple_rules_dependencies") + +apple_rules_dependencies() + +load("@build_bazel_apple_support//lib:repositories.bzl", "apple_support_dependencies") + +apple_support_dependencies() + +# End of C++ section + http_archive( name = "rules_proto", sha256 = "602e7161d9195e50246177e7c55b2f39950a9cf7366f74ed5f22fd45750cd208", @@ -111,32 +195,15 @@ rules_proto_toolchains() # rules_gapic also depends on rules_go, so it must come after our own dependency on rules_go. # It must also come before gapic-generator-go so as to ensure that it does not bring in an old # version of rules_gapic. -_rules_gapic_version = "0.22.1" +_rules_gapic_version = "1.0.0" -_rules_gapic_sha256 = "865691b71a20a064106ce09c7f6b2087dc4eb1d7a3353f7a5f69a16ca8712f18" http_archive( name = "rules_gapic", - sha256 = _rules_gapic_sha256, strip_prefix = "rules_gapic-%s" % _rules_gapic_version, urls = ["https://github.com/googleapis/rules_gapic/archive/v%s.tar.gz" % _rules_gapic_version], ) -# This must be above the download of gRPC (in C++ section) and -# rules_gapic_repositories because both depend on rules_go and we need to manage -# our version of rules_go explicitly rather than depend on the version those -# bring in transitively. -_io_bazel_rules_go_version = "0.34.0" - -http_archive( - name = "io_bazel_rules_go", - sha256 = "16e9fca53ed6bd4ff4ad76facc9b7b651a89db1689a2877d6fd7b82aa824e366", - urls = [ - "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v{0}/rules_go-v{0}.zip".format(_io_bazel_rules_go_version), - "https://github.com/bazelbuild/rules_go/releases/download/v{0}/rules_go-v{0}.zip".format(_io_bazel_rules_go_version), - ], -) - # Gazelle dependency version should match gazelle dependency expected by gRPC _bazel_gazelle_version = "0.24.0" @@ -159,18 +226,7 @@ local_repository( path = ".", ) -# Until this project is migrated to consume the new subdirectory of generated -# types e.g. longrunningpb, we must define our own version of longrunning here. -load("@bazel_gazelle//:deps.bzl", "go_repository") - -go_repository( - name = "com_google_cloud_go_longrunning", - importpath = "cloud.google.com/go/longrunning", - sum = "h1:y50CXG4j0+qvEukslYFBCrzaXX0qpFbBzc3PchSu/LE=", - version = "v0.1.1", -) - -_gapic_generator_go_version = "0.34.0" +_gapic_generator_go_version = "0.40.0" http_archive( name = "com_googleapis_gapic_generator_go", @@ -187,7 +243,7 @@ com_googleapis_gapic_generator_go_repositories() # dependencies of gapic-generator-go. load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") -go_register_toolchains(version = "1.18.6") +go_register_toolchains(version = "1.19.13") go_rules_dependencies() @@ -199,63 +255,9 @@ load("@rules_gapic//:repositories.bzl", "rules_gapic_repositories") rules_gapic_repositories() -############################################################################## -# C++ -############################################################################## -# C++ must go before everything else, since the key dependencies (protobuf and gRPC) -# are C++ repositories and they have the highest chance to have the correct versions of the -# transitive dependencies (for those dependencies which are shared by many other repositories -# imported in this workspace). -# -# Note, even though protobuf and gRPC are mostly written in C++, they are used to generate stuff -# for most of the other languages as well, so they can be considered as the core cross-language -# dependencies. - -# Import boringssl explicitly to override what gRPC imports as its dependency. -# Boringssl build fails on gcc12 without this fix: -# https://github.com/google/boringssl/commit/8462a367bb57e9524c3d8eca9c62733c63a63cf4, -# which is present only in the newest version of boringssl, not the one imported -# by gRPC. Remove this import once gRPC depends on a newer version. -http_archive( - name = "boringssl", - sha256 = "b460f8673f3393e58ce506e9cdde7f2c3b2575b075f214cb819fb57d809f052b", - strip_prefix = "boringssl-bb41bc007079982da419c0ec3186e510cbcf09d0", - urls = [ - "https://github.com/google/boringssl/archive/bb41bc007079982da419c0ec3186e510cbcf09d0.zip", - ], -) - -_grpc_version = "1.47.0" - -_grpc_sha256 = "edf25f4db6c841853b7a29d61b0980b516dc31a1b6cdc399bcf24c1446a4a249" - -http_archive( - name = "com_github_grpc_grpc", - sha256 = _grpc_sha256, - strip_prefix = "grpc-%s" % _grpc_version, - urls = ["https://github.com/grpc/grpc/archive/v%s.zip" % _grpc_version], -) - -load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps") - -grpc_deps() - -# gRPC enforces a specific version of Go toolchain which conflicts with our build. -# All the relevant parts of grpc_extra_deps() are imported in this WORKSPACE file -# explicitly, that is why we do not call grpc_extra_deps() here. - -load("@build_bazel_rules_apple//apple:repositories.bzl", "apple_rules_dependencies") - -apple_rules_dependencies() - -load("@build_bazel_apple_support//lib:repositories.bzl", "apple_support_dependencies") - -apple_support_dependencies() - ############################################################################## # Java ############################################################################## -load("@com_google_protobuf//:protobuf_deps.bzl", "PROTOBUF_MAVEN_ARTIFACTS") # Starting in protobuf 3.19, protobuf project started to provide # PROTOBUF_MAVEN_ARTIFACTS variable so that Bazel users can resolve their @@ -272,7 +274,7 @@ maven_install( ], ) -_gapic_generator_java_version = "2.15.2" +_gapic_generator_java_version = "2.35.0" maven_install( artifacts = [ @@ -288,15 +290,15 @@ maven_install( http_archive( name = "gapic_generator_java", - strip_prefix = "gapic-generator-java-%s" % _gapic_generator_java_version, - urls = ["https://github.com/googleapis/gapic-generator-java/archive/v%s.zip" % _gapic_generator_java_version], + strip_prefix = "sdk-platform-java-%s" % _gapic_generator_java_version, + urls = ["https://github.com/googleapis/sdk-platform-java/archive/v%s.zip" % _gapic_generator_java_version], ) -# gax-java is part of gapic-generator-java repository +# gax-java is part of sdk-platform-java repository http_archive( name = "com_google_api_gax_java", - strip_prefix = "gapic-generator-java-%s/gax-java" % _gapic_generator_java_version, - urls = ["https://github.com/googleapis/gapic-generator-java/archive/v%s.zip" % _gapic_generator_java_version], + strip_prefix = "sdk-platform-java-%s/gax-java" % _gapic_generator_java_version, + urls = ["https://github.com/googleapis/sdk-platform-java/archive/v%s.zip" % _gapic_generator_java_version], ) load("@com_google_api_gax_java//:repository_rules.bzl", "com_google_api_gax_java_properties") @@ -321,11 +323,7 @@ load("@rules_gapic//python:py_gapic_repositories.bzl", "py_gapic_repositories") py_gapic_repositories() -load("@rules_python//python:pip.bzl", "pip_install") - -pip_install() - -_gapic_generator_python_version = "1.8.5" +_gapic_generator_python_version = "1.14.3" http_archive( name = "gapic_generator_python", @@ -339,6 +337,21 @@ load( "gapic_generator_register_toolchains", ) +load("@rules_python//python:repositories.bzl", "py_repositories") + +py_repositories() + +load("@rules_python//python:pip.bzl", "pip_parse") + +pip_parse( + name = "gapic_generator_python_pip_deps", + requirements_lock = "@gapic_generator_python//:requirements.txt", +) + +load("@gapic_generator_python_pip_deps//:requirements.bzl", "install_deps") + +install_deps() + gapic_generator_python() gapic_generator_register_toolchains() @@ -347,9 +360,9 @@ gapic_generator_register_toolchains() # TypeScript ############################################################################## -_gapic_generator_typescript_version = "3.0.3" +_gapic_generator_typescript_version = "4.4.1" -_gapic_generator_typescript_sha256 = "f79b4517873f69ea09621b511aade2e039bcfc37f19342a135bf45eaa6f60595" +_gapic_generator_typescript_sha256 = "b2da814b6282c4612b5fa9854deda841ef5867788e26d09b8ff9401e6a349017" ### TypeScript generator http_archive( @@ -392,7 +405,7 @@ pnpm_repository(name = "pnpm") ############################################################################## # PHP micro-generator -_gapic_generator_php_version = "1.6.6" +_gapic_generator_php_version = "1.10.0" http_archive( name = "gapic_generator_php", @@ -400,15 +413,7 @@ http_archive( urls = ["https://github.com/googleapis/gapic-generator-php/archive/v%s.zip" % _gapic_generator_php_version], ) -load("@rules_gapic//php:php_gapic_repositories.bzl", "php", "php_gapic_repositories") - -# TODO(ndietz): upgrade to PHP 8x -php( - name = "php", - prebuilt_phps = ["@gapic_generator_php//rules_php_gapic:resources/php-7.4.15_linux_x86_64.tar.gz"], - strip_prefix = "php-7.4.15", - urls = ["https://www.php.net/distributions/php-7.4.15.tar.gz"], -) +load("@rules_gapic//php:php_gapic_repositories.bzl", "php_gapic_repositories") php_gapic_repositories() @@ -433,9 +438,9 @@ http_archive( urls = ["https://github.com/googleapis/gax-dotnet/archive/refs/tags/%s.tar.gz" % _gax_dotnet_version], ) -_gapic_generator_csharp_version = "1.4.11" +_gapic_generator_csharp_version = "1.4.24" -_gapic_generator_csharp_sha256 = "40bb2ecf1e540df8f58bdca15c48e3da6fbdddc9c5786421b858222fb4e25202" +_gapic_generator_csharp_sha256 = "e163e1a1289d052942c7c2bf6736fa57c08e082ecadc07b949cd1bded7502612" http_archive( name = "gapic_generator_csharp", @@ -452,9 +457,9 @@ gapic_generator_csharp_repositories() # Ruby ############################################################################## -_gapic_generator_ruby_version = "v0.23.1" +_gapic_generator_ruby_version = "v0.27.4" -_gapic_generator_ruby_sha256 = "44f9d4076386ddbd87a13c02e2be101a783817235806e32153325ee5fba7e663" +_gapic_generator_ruby_sha256 = "2e6986cf8ec4e4b20d6dfd38a2c47a98f88e5cf9248b52f614daae6d888e1493" http_archive( name = "gapic_generator_ruby", @@ -471,7 +476,7 @@ gapic_generator_ruby_repositories() # Discovery ############################################################################## -_disco_to_proto3_converter_version = "c47a76dd3d591478dd1a902413636c06da1153b8" +_disco_to_proto3_converter_version = "8163e5ea8d8dbcf0899534d2895819ab135ffab5" http_archive( name = "com_google_disco_to_proto3_converter", diff --git a/third_party/googleapis/api-index-v1.json b/third_party/googleapis/api-index-v1.json index 8e92aab71..abce65cf0 100644 --- a/third_party/googleapis/api-index-v1.json +++ b/third_party/googleapis/api-index-v1.json @@ -212,19 +212,19 @@ "nameInServiceConfig": "actions.googleapis.com" }, { - "id": "google.ads.googleads.v11", - "directory": "google/ads/googleads/v11", - "version": "v11", - "majorVersion": "v11", + "id": "google.ads.googleads.v14", + "directory": "google/ads/googleads/v14", + "version": "v14", + "majorVersion": "v14", "hostName": "googleads.googleapis.com", "title": "Google Ads API", "description": "Manage your Google Ads accounts, campaigns, and reports with this API.", "importDirectories": [ - "google/ads/googleads/v11/common", - "google/ads/googleads/v11/enums", - "google/ads/googleads/v11/errors", - "google/ads/googleads/v11/resources", - "google/ads/googleads/v11/services", + "google/ads/googleads/v14/common", + "google/ads/googleads/v14/enums", + "google/ads/googleads/v14/errors", + "google/ads/googleads/v14/resources", + "google/ads/googleads/v14/services", "google/api", "google/longrunning", "google/protobuf", @@ -233,73 +233,73 @@ "options": { "csharp_namespace": { "valueCounts": { - "Google.Ads.GoogleAds.V11.Common": 35, - "Google.Ads.GoogleAds.V11.Enums": 299, - "Google.Ads.GoogleAds.V11.Errors": 141, - "Google.Ads.GoogleAds.V11.Resources": 156, - "Google.Ads.GoogleAds.V11.Services": 103 + "Google.Ads.GoogleAds.V14.Common": 35, + "Google.Ads.GoogleAds.V14.Enums": 315, + "Google.Ads.GoogleAds.V14.Errors": 145, + "Google.Ads.GoogleAds.V14.Resources": 165, + "Google.Ads.GoogleAds.V14.Services": 107 } }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/ads/googleads/v11/common;common": 35, - "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums": 299, - "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors": 141, - "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources": 156, - "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services": 103 + "google.golang.org/genproto/googleapis/ads/googleads/v14/common;common": 35, + "google.golang.org/genproto/googleapis/ads/googleads/v14/enums;enums": 315, + "google.golang.org/genproto/googleapis/ads/googleads/v14/errors;errors": 145, + "google.golang.org/genproto/googleapis/ads/googleads/v14/resources;resources": 165, + "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services": 107 } }, "java_multiple_files": { "valueCounts": { - "true": 734 + "true": 767 } }, "java_package": { "valueCounts": { - "com.google.ads.googleads.v11.common": 35, - "com.google.ads.googleads.v11.enums": 299, - "com.google.ads.googleads.v11.errors": 141, - "com.google.ads.googleads.v11.resources": 156, - "com.google.ads.googleads.v11.services": 103 + "com.google.ads.googleads.v14.common": 35, + "com.google.ads.googleads.v14.enums": 315, + "com.google.ads.googleads.v14.errors": 145, + "com.google.ads.googleads.v14.resources": 165, + "com.google.ads.googleads.v14.services": 107 } }, "objc_class_prefix": { "valueCounts": { - "GAA": 734 + "GAA": 767 } }, "php_namespace": { "valueCounts": { - "Google\\Ads\\GoogleAds\\V11\\Common": 35, - "Google\\Ads\\GoogleAds\\V11\\Enums": 299, - "Google\\Ads\\GoogleAds\\V11\\Errors": 141, - "Google\\Ads\\GoogleAds\\V11\\Resources": 156, - "Google\\Ads\\GoogleAds\\V11\\Services": 103 + "Google\\Ads\\GoogleAds\\V14\\Common": 35, + "Google\\Ads\\GoogleAds\\V14\\Enums": 315, + "Google\\Ads\\GoogleAds\\V14\\Errors": 145, + "Google\\Ads\\GoogleAds\\V14\\Resources": 165, + "Google\\Ads\\GoogleAds\\V14\\Services": 107 } }, "ruby_package": { "valueCounts": { - "Google::Ads::GoogleAds::V11::Common": 35, - "Google::Ads::GoogleAds::V11::Enums": 299, - "Google::Ads::GoogleAds::V11::Errors": 141, - "Google::Ads::GoogleAds::V11::Resources": 156, - "Google::Ads::GoogleAds::V11::Services": 103 + "Google::Ads::GoogleAds::V14::Common": 35, + "Google::Ads::GoogleAds::V14::Enums": 315, + "Google::Ads::GoogleAds::V14::Errors": 145, + "Google::Ads::GoogleAds::V14::Resources": 165, + "Google::Ads::GoogleAds::V14::Services": 107 } } }, "services": [ { "shortName": "AccountBudgetProposalService", - "fullName": "google.ads.googleads.v11.services.AccountBudgetProposalService", + "fullName": "google.ads.googleads.v14.services.AccountBudgetProposalService", "methods": [ { "shortName": "MutateAccountBudgetProposal", - "fullName": "google.ads.googleads.v11.services.AccountBudgetProposalService.MutateAccountBudgetProposal", + "fullName": "google.ads.googleads.v14.services.AccountBudgetProposalService.MutateAccountBudgetProposal", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/accountBudgetProposals:mutate" + "path": "/v14/customers/{customer_id=*}/accountBudgetProposals:mutate" } ] } @@ -307,27 +307,27 @@ }, { "shortName": "AccountLinkService", - "fullName": "google.ads.googleads.v11.services.AccountLinkService", + "fullName": "google.ads.googleads.v14.services.AccountLinkService", "methods": [ { "shortName": "CreateAccountLink", - "fullName": "google.ads.googleads.v11.services.AccountLinkService.CreateAccountLink", + "fullName": "google.ads.googleads.v14.services.AccountLinkService.CreateAccountLink", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/accountLinks:create" + "path": "/v14/customers/{customer_id=*}/accountLinks:create" } ] }, { "shortName": "MutateAccountLink", - "fullName": "google.ads.googleads.v11.services.AccountLinkService.MutateAccountLink", + "fullName": "google.ads.googleads.v14.services.AccountLinkService.MutateAccountLink", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/accountLinks:mutate" + "path": "/v14/customers/{customer_id=*}/accountLinks:mutate" } ] } @@ -335,16 +335,16 @@ }, { "shortName": "AdGroupAdLabelService", - "fullName": "google.ads.googleads.v11.services.AdGroupAdLabelService", + "fullName": "google.ads.googleads.v14.services.AdGroupAdLabelService", "methods": [ { "shortName": "MutateAdGroupAdLabels", - "fullName": "google.ads.googleads.v11.services.AdGroupAdLabelService.MutateAdGroupAdLabels", + "fullName": "google.ads.googleads.v14.services.AdGroupAdLabelService.MutateAdGroupAdLabels", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/adGroupAdLabels:mutate" + "path": "/v14/customers/{customer_id=*}/adGroupAdLabels:mutate" } ] } @@ -352,16 +352,16 @@ }, { "shortName": "AdGroupAdService", - "fullName": "google.ads.googleads.v11.services.AdGroupAdService", + "fullName": "google.ads.googleads.v14.services.AdGroupAdService", "methods": [ { "shortName": "MutateAdGroupAds", - "fullName": "google.ads.googleads.v11.services.AdGroupAdService.MutateAdGroupAds", + "fullName": "google.ads.googleads.v14.services.AdGroupAdService.MutateAdGroupAds", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/adGroupAds:mutate" + "path": "/v14/customers/{customer_id=*}/adGroupAds:mutate" } ] } @@ -369,16 +369,33 @@ }, { "shortName": "AdGroupAssetService", - "fullName": "google.ads.googleads.v11.services.AdGroupAssetService", + "fullName": "google.ads.googleads.v14.services.AdGroupAssetService", "methods": [ { "shortName": "MutateAdGroupAssets", - "fullName": "google.ads.googleads.v11.services.AdGroupAssetService.MutateAdGroupAssets", + "fullName": "google.ads.googleads.v14.services.AdGroupAssetService.MutateAdGroupAssets", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/adGroupAssets:mutate" + "path": "/v14/customers/{customer_id=*}/adGroupAssets:mutate" + } + ] + } + ] + }, + { + "shortName": "AdGroupAssetSetService", + "fullName": "google.ads.googleads.v14.services.AdGroupAssetSetService", + "methods": [ + { + "shortName": "MutateAdGroupAssetSets", + "fullName": "google.ads.googleads.v14.services.AdGroupAssetSetService.MutateAdGroupAssetSets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v14/customers/{customer_id=*}/adGroupAssetSets:mutate" } ] } @@ -386,16 +403,16 @@ }, { "shortName": "AdGroupBidModifierService", - "fullName": "google.ads.googleads.v11.services.AdGroupBidModifierService", + "fullName": "google.ads.googleads.v14.services.AdGroupBidModifierService", "methods": [ { "shortName": "MutateAdGroupBidModifiers", - "fullName": "google.ads.googleads.v11.services.AdGroupBidModifierService.MutateAdGroupBidModifiers", + "fullName": "google.ads.googleads.v14.services.AdGroupBidModifierService.MutateAdGroupBidModifiers", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/adGroupBidModifiers:mutate" + "path": "/v14/customers/{customer_id=*}/adGroupBidModifiers:mutate" } ] } @@ -403,16 +420,16 @@ }, { "shortName": "AdGroupCriterionCustomizerService", - "fullName": "google.ads.googleads.v11.services.AdGroupCriterionCustomizerService", + "fullName": "google.ads.googleads.v14.services.AdGroupCriterionCustomizerService", "methods": [ { "shortName": "MutateAdGroupCriterionCustomizers", - "fullName": "google.ads.googleads.v11.services.AdGroupCriterionCustomizerService.MutateAdGroupCriterionCustomizers", + "fullName": "google.ads.googleads.v14.services.AdGroupCriterionCustomizerService.MutateAdGroupCriterionCustomizers", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/AdGroupCriterionCustomizers:mutate" + "path": "/v14/customers/{customer_id=*}/AdGroupCriterionCustomizers:mutate" } ] } @@ -420,16 +437,16 @@ }, { "shortName": "AdGroupCriterionLabelService", - "fullName": "google.ads.googleads.v11.services.AdGroupCriterionLabelService", + "fullName": "google.ads.googleads.v14.services.AdGroupCriterionLabelService", "methods": [ { "shortName": "MutateAdGroupCriterionLabels", - "fullName": "google.ads.googleads.v11.services.AdGroupCriterionLabelService.MutateAdGroupCriterionLabels", + "fullName": "google.ads.googleads.v14.services.AdGroupCriterionLabelService.MutateAdGroupCriterionLabels", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/adGroupCriterionLabels:mutate" + "path": "/v14/customers/{customer_id=*}/adGroupCriterionLabels:mutate" } ] } @@ -437,16 +454,16 @@ }, { "shortName": "AdGroupCriterionService", - "fullName": "google.ads.googleads.v11.services.AdGroupCriterionService", + "fullName": "google.ads.googleads.v14.services.AdGroupCriterionService", "methods": [ { "shortName": "MutateAdGroupCriteria", - "fullName": "google.ads.googleads.v11.services.AdGroupCriterionService.MutateAdGroupCriteria", + "fullName": "google.ads.googleads.v14.services.AdGroupCriterionService.MutateAdGroupCriteria", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/adGroupCriteria:mutate" + "path": "/v14/customers/{customer_id=*}/adGroupCriteria:mutate" } ] } @@ -454,16 +471,16 @@ }, { "shortName": "AdGroupCustomizerService", - "fullName": "google.ads.googleads.v11.services.AdGroupCustomizerService", + "fullName": "google.ads.googleads.v14.services.AdGroupCustomizerService", "methods": [ { "shortName": "MutateAdGroupCustomizers", - "fullName": "google.ads.googleads.v11.services.AdGroupCustomizerService.MutateAdGroupCustomizers", + "fullName": "google.ads.googleads.v14.services.AdGroupCustomizerService.MutateAdGroupCustomizers", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/adGroupCustomizers:mutate" + "path": "/v14/customers/{customer_id=*}/adGroupCustomizers:mutate" } ] } @@ -471,16 +488,16 @@ }, { "shortName": "AdGroupExtensionSettingService", - "fullName": "google.ads.googleads.v11.services.AdGroupExtensionSettingService", + "fullName": "google.ads.googleads.v14.services.AdGroupExtensionSettingService", "methods": [ { "shortName": "MutateAdGroupExtensionSettings", - "fullName": "google.ads.googleads.v11.services.AdGroupExtensionSettingService.MutateAdGroupExtensionSettings", + "fullName": "google.ads.googleads.v14.services.AdGroupExtensionSettingService.MutateAdGroupExtensionSettings", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/adGroupExtensionSettings:mutate" + "path": "/v14/customers/{customer_id=*}/adGroupExtensionSettings:mutate" } ] } @@ -488,16 +505,16 @@ }, { "shortName": "AdGroupFeedService", - "fullName": "google.ads.googleads.v11.services.AdGroupFeedService", + "fullName": "google.ads.googleads.v14.services.AdGroupFeedService", "methods": [ { "shortName": "MutateAdGroupFeeds", - "fullName": "google.ads.googleads.v11.services.AdGroupFeedService.MutateAdGroupFeeds", + "fullName": "google.ads.googleads.v14.services.AdGroupFeedService.MutateAdGroupFeeds", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/adGroupFeeds:mutate" + "path": "/v14/customers/{customer_id=*}/adGroupFeeds:mutate" } ] } @@ -505,16 +522,16 @@ }, { "shortName": "AdGroupLabelService", - "fullName": "google.ads.googleads.v11.services.AdGroupLabelService", + "fullName": "google.ads.googleads.v14.services.AdGroupLabelService", "methods": [ { "shortName": "MutateAdGroupLabels", - "fullName": "google.ads.googleads.v11.services.AdGroupLabelService.MutateAdGroupLabels", + "fullName": "google.ads.googleads.v14.services.AdGroupLabelService.MutateAdGroupLabels", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/adGroupLabels:mutate" + "path": "/v14/customers/{customer_id=*}/adGroupLabels:mutate" } ] } @@ -522,16 +539,16 @@ }, { "shortName": "AdGroupService", - "fullName": "google.ads.googleads.v11.services.AdGroupService", + "fullName": "google.ads.googleads.v14.services.AdGroupService", "methods": [ { "shortName": "MutateAdGroups", - "fullName": "google.ads.googleads.v11.services.AdGroupService.MutateAdGroups", + "fullName": "google.ads.googleads.v14.services.AdGroupService.MutateAdGroups", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/adGroups:mutate" + "path": "/v14/customers/{customer_id=*}/adGroups:mutate" } ] } @@ -539,16 +556,16 @@ }, { "shortName": "AdParameterService", - "fullName": "google.ads.googleads.v11.services.AdParameterService", + "fullName": "google.ads.googleads.v14.services.AdParameterService", "methods": [ { "shortName": "MutateAdParameters", - "fullName": "google.ads.googleads.v11.services.AdParameterService.MutateAdParameters", + "fullName": "google.ads.googleads.v14.services.AdParameterService.MutateAdParameters", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/adParameters:mutate" + "path": "/v14/customers/{customer_id=*}/adParameters:mutate" } ] } @@ -556,27 +573,27 @@ }, { "shortName": "AdService", - "fullName": "google.ads.googleads.v11.services.AdService", + "fullName": "google.ads.googleads.v14.services.AdService", "methods": [ { "shortName": "GetAd", - "fullName": "google.ads.googleads.v11.services.AdService.GetAd", + "fullName": "google.ads.googleads.v14.services.AdService.GetAd", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v11/{resource_name=customers/*/ads/*}" + "path": "/v14/{resource_name=customers/*/ads/*}" } ] }, { "shortName": "MutateAds", - "fullName": "google.ads.googleads.v11.services.AdService.MutateAds", + "fullName": "google.ads.googleads.v14.services.AdService.MutateAds", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/ads:mutate" + "path": "/v14/customers/{customer_id=*}/ads:mutate" } ] } @@ -584,16 +601,16 @@ }, { "shortName": "AssetGroupAssetService", - "fullName": "google.ads.googleads.v11.services.AssetGroupAssetService", + "fullName": "google.ads.googleads.v14.services.AssetGroupAssetService", "methods": [ { "shortName": "MutateAssetGroupAssets", - "fullName": "google.ads.googleads.v11.services.AssetGroupAssetService.MutateAssetGroupAssets", + "fullName": "google.ads.googleads.v14.services.AssetGroupAssetService.MutateAssetGroupAssets", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/assetGroupAssets:mutate" + "path": "/v14/customers/{customer_id=*}/assetGroupAssets:mutate" } ] } @@ -601,16 +618,16 @@ }, { "shortName": "AssetGroupListingGroupFilterService", - "fullName": "google.ads.googleads.v11.services.AssetGroupListingGroupFilterService", + "fullName": "google.ads.googleads.v14.services.AssetGroupListingGroupFilterService", "methods": [ { "shortName": "MutateAssetGroupListingGroupFilters", - "fullName": "google.ads.googleads.v11.services.AssetGroupListingGroupFilterService.MutateAssetGroupListingGroupFilters", + "fullName": "google.ads.googleads.v14.services.AssetGroupListingGroupFilterService.MutateAssetGroupListingGroupFilters", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/assetGroupListingGroupFilters:mutate" + "path": "/v14/customers/{customer_id=*}/assetGroupListingGroupFilters:mutate" } ] } @@ -618,16 +635,16 @@ }, { "shortName": "AssetGroupService", - "fullName": "google.ads.googleads.v11.services.AssetGroupService", + "fullName": "google.ads.googleads.v14.services.AssetGroupService", "methods": [ { "shortName": "MutateAssetGroups", - "fullName": "google.ads.googleads.v11.services.AssetGroupService.MutateAssetGroups", + "fullName": "google.ads.googleads.v14.services.AssetGroupService.MutateAssetGroups", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/assetGroups:mutate" + "path": "/v14/customers/{customer_id=*}/assetGroups:mutate" } ] } @@ -635,16 +652,16 @@ }, { "shortName": "AssetGroupSignalService", - "fullName": "google.ads.googleads.v11.services.AssetGroupSignalService", + "fullName": "google.ads.googleads.v14.services.AssetGroupSignalService", "methods": [ { "shortName": "MutateAssetGroupSignals", - "fullName": "google.ads.googleads.v11.services.AssetGroupSignalService.MutateAssetGroupSignals", + "fullName": "google.ads.googleads.v14.services.AssetGroupSignalService.MutateAssetGroupSignals", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/assetGroupSignals:mutate" + "path": "/v14/customers/{customer_id=*}/assetGroupSignals:mutate" } ] } @@ -652,16 +669,16 @@ }, { "shortName": "AssetService", - "fullName": "google.ads.googleads.v11.services.AssetService", + "fullName": "google.ads.googleads.v14.services.AssetService", "methods": [ { "shortName": "MutateAssets", - "fullName": "google.ads.googleads.v11.services.AssetService.MutateAssets", + "fullName": "google.ads.googleads.v14.services.AssetService.MutateAssets", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/assets:mutate" + "path": "/v14/customers/{customer_id=*}/assets:mutate" } ] } @@ -669,16 +686,16 @@ }, { "shortName": "AssetSetAssetService", - "fullName": "google.ads.googleads.v11.services.AssetSetAssetService", + "fullName": "google.ads.googleads.v14.services.AssetSetAssetService", "methods": [ { "shortName": "MutateAssetSetAssets", - "fullName": "google.ads.googleads.v11.services.AssetSetAssetService.MutateAssetSetAssets", + "fullName": "google.ads.googleads.v14.services.AssetSetAssetService.MutateAssetSetAssets", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/assetSetAssets:mutate" + "path": "/v14/customers/{customer_id=*}/assetSetAssets:mutate" } ] } @@ -686,16 +703,16 @@ }, { "shortName": "AssetSetService", - "fullName": "google.ads.googleads.v11.services.AssetSetService", + "fullName": "google.ads.googleads.v14.services.AssetSetService", "methods": [ { "shortName": "MutateAssetSets", - "fullName": "google.ads.googleads.v11.services.AssetSetService.MutateAssetSets", + "fullName": "google.ads.googleads.v14.services.AssetSetService.MutateAssetSets", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/assetSets:mutate" + "path": "/v14/customers/{customer_id=*}/assetSets:mutate" } ] } @@ -703,38 +720,49 @@ }, { "shortName": "AudienceInsightsService", - "fullName": "google.ads.googleads.v11.services.AudienceInsightsService", + "fullName": "google.ads.googleads.v14.services.AudienceInsightsService", "methods": [ { "shortName": "GenerateAudienceCompositionInsights", - "fullName": "google.ads.googleads.v11.services.AudienceInsightsService.GenerateAudienceCompositionInsights", + "fullName": "google.ads.googleads.v14.services.AudienceInsightsService.GenerateAudienceCompositionInsights", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}:generateAudienceCompositionInsights" + "path": "/v14/customers/{customer_id=*}:generateAudienceCompositionInsights" } ] }, { "shortName": "GenerateInsightsFinderReport", - "fullName": "google.ads.googleads.v11.services.AudienceInsightsService.GenerateInsightsFinderReport", + "fullName": "google.ads.googleads.v14.services.AudienceInsightsService.GenerateInsightsFinderReport", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}:generateInsightsFinderReport" + "path": "/v14/customers/{customer_id=*}:generateInsightsFinderReport" } ] }, { "shortName": "ListAudienceInsightsAttributes", - "fullName": "google.ads.googleads.v11.services.AudienceInsightsService.ListAudienceInsightsAttributes", + "fullName": "google.ads.googleads.v14.services.AudienceInsightsService.ListAudienceInsightsAttributes", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}:searchAudienceInsightsAttributes" + "path": "/v14/customers/{customer_id=*}:searchAudienceInsightsAttributes" + } + ] + }, + { + "shortName": "ListInsightsEligibleDates", + "fullName": "google.ads.googleads.v14.services.AudienceInsightsService.ListInsightsEligibleDates", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v14/audienceInsights:listInsightsEligibleDates" } ] } @@ -742,16 +770,16 @@ }, { "shortName": "AudienceService", - "fullName": "google.ads.googleads.v11.services.AudienceService", + "fullName": "google.ads.googleads.v14.services.AudienceService", "methods": [ { "shortName": "MutateAudiences", - "fullName": "google.ads.googleads.v11.services.AudienceService.MutateAudiences", + "fullName": "google.ads.googleads.v14.services.AudienceService.MutateAudiences", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/audiences:mutate" + "path": "/v14/customers/{customer_id=*}/audiences:mutate" } ] } @@ -759,49 +787,49 @@ }, { "shortName": "BatchJobService", - "fullName": "google.ads.googleads.v11.services.BatchJobService", + "fullName": "google.ads.googleads.v14.services.BatchJobService", "methods": [ { "shortName": "AddBatchJobOperations", - "fullName": "google.ads.googleads.v11.services.BatchJobService.AddBatchJobOperations", + "fullName": "google.ads.googleads.v14.services.BatchJobService.AddBatchJobOperations", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/{resource_name=customers/*/batchJobs/*}:addOperations" + "path": "/v14/{resource_name=customers/*/batchJobs/*}:addOperations" } ] }, { "shortName": "ListBatchJobResults", - "fullName": "google.ads.googleads.v11.services.BatchJobService.ListBatchJobResults", + "fullName": "google.ads.googleads.v14.services.BatchJobService.ListBatchJobResults", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v11/{resource_name=customers/*/batchJobs/*}:listResults" + "path": "/v14/{resource_name=customers/*/batchJobs/*}:listResults" } ] }, { "shortName": "MutateBatchJob", - "fullName": "google.ads.googleads.v11.services.BatchJobService.MutateBatchJob", + "fullName": "google.ads.googleads.v14.services.BatchJobService.MutateBatchJob", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/batchJobs:mutate" + "path": "/v14/customers/{customer_id=*}/batchJobs:mutate" } ] }, { "shortName": "RunBatchJob", - "fullName": "google.ads.googleads.v11.services.BatchJobService.RunBatchJob", + "fullName": "google.ads.googleads.v14.services.BatchJobService.RunBatchJob", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/{resource_name=customers/*/batchJobs/*}:run" + "path": "/v14/{resource_name=customers/*/batchJobs/*}:run" } ] } @@ -809,16 +837,16 @@ }, { "shortName": "BiddingDataExclusionService", - "fullName": "google.ads.googleads.v11.services.BiddingDataExclusionService", + "fullName": "google.ads.googleads.v14.services.BiddingDataExclusionService", "methods": [ { "shortName": "MutateBiddingDataExclusions", - "fullName": "google.ads.googleads.v11.services.BiddingDataExclusionService.MutateBiddingDataExclusions", + "fullName": "google.ads.googleads.v14.services.BiddingDataExclusionService.MutateBiddingDataExclusions", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/biddingDataExclusions:mutate" + "path": "/v14/customers/{customer_id=*}/biddingDataExclusions:mutate" } ] } @@ -826,16 +854,16 @@ }, { "shortName": "BiddingSeasonalityAdjustmentService", - "fullName": "google.ads.googleads.v11.services.BiddingSeasonalityAdjustmentService", + "fullName": "google.ads.googleads.v14.services.BiddingSeasonalityAdjustmentService", "methods": [ { "shortName": "MutateBiddingSeasonalityAdjustments", - "fullName": "google.ads.googleads.v11.services.BiddingSeasonalityAdjustmentService.MutateBiddingSeasonalityAdjustments", + "fullName": "google.ads.googleads.v14.services.BiddingSeasonalityAdjustmentService.MutateBiddingSeasonalityAdjustments", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/biddingSeasonalityAdjustments:mutate" + "path": "/v14/customers/{customer_id=*}/biddingSeasonalityAdjustments:mutate" } ] } @@ -843,16 +871,16 @@ }, { "shortName": "BiddingStrategyService", - "fullName": "google.ads.googleads.v11.services.BiddingStrategyService", + "fullName": "google.ads.googleads.v14.services.BiddingStrategyService", "methods": [ { "shortName": "MutateBiddingStrategies", - "fullName": "google.ads.googleads.v11.services.BiddingStrategyService.MutateBiddingStrategies", + "fullName": "google.ads.googleads.v14.services.BiddingStrategyService.MutateBiddingStrategies", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/biddingStrategies:mutate" + "path": "/v14/customers/{customer_id=*}/biddingStrategies:mutate" } ] } @@ -860,16 +888,16 @@ }, { "shortName": "BillingSetupService", - "fullName": "google.ads.googleads.v11.services.BillingSetupService", + "fullName": "google.ads.googleads.v14.services.BillingSetupService", "methods": [ { "shortName": "MutateBillingSetup", - "fullName": "google.ads.googleads.v11.services.BillingSetupService.MutateBillingSetup", + "fullName": "google.ads.googleads.v14.services.BillingSetupService.MutateBillingSetup", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/billingSetups:mutate" + "path": "/v14/customers/{customer_id=*}/billingSetups:mutate" } ] } @@ -877,16 +905,16 @@ }, { "shortName": "CampaignAssetService", - "fullName": "google.ads.googleads.v11.services.CampaignAssetService", + "fullName": "google.ads.googleads.v14.services.CampaignAssetService", "methods": [ { "shortName": "MutateCampaignAssets", - "fullName": "google.ads.googleads.v11.services.CampaignAssetService.MutateCampaignAssets", + "fullName": "google.ads.googleads.v14.services.CampaignAssetService.MutateCampaignAssets", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/campaignAssets:mutate" + "path": "/v14/customers/{customer_id=*}/campaignAssets:mutate" } ] } @@ -894,16 +922,16 @@ }, { "shortName": "CampaignAssetSetService", - "fullName": "google.ads.googleads.v11.services.CampaignAssetSetService", + "fullName": "google.ads.googleads.v14.services.CampaignAssetSetService", "methods": [ { "shortName": "MutateCampaignAssetSets", - "fullName": "google.ads.googleads.v11.services.CampaignAssetSetService.MutateCampaignAssetSets", + "fullName": "google.ads.googleads.v14.services.CampaignAssetSetService.MutateCampaignAssetSets", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/campaignAssetSets:mutate" + "path": "/v14/customers/{customer_id=*}/campaignAssetSets:mutate" } ] } @@ -911,16 +939,16 @@ }, { "shortName": "CampaignBidModifierService", - "fullName": "google.ads.googleads.v11.services.CampaignBidModifierService", + "fullName": "google.ads.googleads.v14.services.CampaignBidModifierService", "methods": [ { "shortName": "MutateCampaignBidModifiers", - "fullName": "google.ads.googleads.v11.services.CampaignBidModifierService.MutateCampaignBidModifiers", + "fullName": "google.ads.googleads.v14.services.CampaignBidModifierService.MutateCampaignBidModifiers", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/campaignBidModifiers:mutate" + "path": "/v14/customers/{customer_id=*}/campaignBidModifiers:mutate" } ] } @@ -928,16 +956,16 @@ }, { "shortName": "CampaignBudgetService", - "fullName": "google.ads.googleads.v11.services.CampaignBudgetService", + "fullName": "google.ads.googleads.v14.services.CampaignBudgetService", "methods": [ { "shortName": "MutateCampaignBudgets", - "fullName": "google.ads.googleads.v11.services.CampaignBudgetService.MutateCampaignBudgets", + "fullName": "google.ads.googleads.v14.services.CampaignBudgetService.MutateCampaignBudgets", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/campaignBudgets:mutate" + "path": "/v14/customers/{customer_id=*}/campaignBudgets:mutate" } ] } @@ -945,16 +973,16 @@ }, { "shortName": "CampaignConversionGoalService", - "fullName": "google.ads.googleads.v11.services.CampaignConversionGoalService", + "fullName": "google.ads.googleads.v14.services.CampaignConversionGoalService", "methods": [ { "shortName": "MutateCampaignConversionGoals", - "fullName": "google.ads.googleads.v11.services.CampaignConversionGoalService.MutateCampaignConversionGoals", + "fullName": "google.ads.googleads.v14.services.CampaignConversionGoalService.MutateCampaignConversionGoals", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/campaignConversionGoals:mutate" + "path": "/v14/customers/{customer_id=*}/campaignConversionGoals:mutate" } ] } @@ -962,16 +990,16 @@ }, { "shortName": "CampaignCriterionService", - "fullName": "google.ads.googleads.v11.services.CampaignCriterionService", + "fullName": "google.ads.googleads.v14.services.CampaignCriterionService", "methods": [ { "shortName": "MutateCampaignCriteria", - "fullName": "google.ads.googleads.v11.services.CampaignCriterionService.MutateCampaignCriteria", + "fullName": "google.ads.googleads.v14.services.CampaignCriterionService.MutateCampaignCriteria", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/campaignCriteria:mutate" + "path": "/v14/customers/{customer_id=*}/campaignCriteria:mutate" } ] } @@ -979,16 +1007,16 @@ }, { "shortName": "CampaignCustomizerService", - "fullName": "google.ads.googleads.v11.services.CampaignCustomizerService", + "fullName": "google.ads.googleads.v14.services.CampaignCustomizerService", "methods": [ { "shortName": "MutateCampaignCustomizers", - "fullName": "google.ads.googleads.v11.services.CampaignCustomizerService.MutateCampaignCustomizers", + "fullName": "google.ads.googleads.v14.services.CampaignCustomizerService.MutateCampaignCustomizers", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/campaignCustomizers:mutate" + "path": "/v14/customers/{customer_id=*}/campaignCustomizers:mutate" } ] } @@ -996,110 +1024,38 @@ }, { "shortName": "CampaignDraftService", - "fullName": "google.ads.googleads.v11.services.CampaignDraftService", + "fullName": "google.ads.googleads.v14.services.CampaignDraftService", "methods": [ { "shortName": "ListCampaignDraftAsyncErrors", - "fullName": "google.ads.googleads.v11.services.CampaignDraftService.ListCampaignDraftAsyncErrors", + "fullName": "google.ads.googleads.v14.services.CampaignDraftService.ListCampaignDraftAsyncErrors", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v11/{resource_name=customers/*/campaignDrafts/*}:listAsyncErrors" + "path": "/v14/{resource_name=customers/*/campaignDrafts/*}:listAsyncErrors" } ] }, { "shortName": "MutateCampaignDrafts", - "fullName": "google.ads.googleads.v11.services.CampaignDraftService.MutateCampaignDrafts", + "fullName": "google.ads.googleads.v14.services.CampaignDraftService.MutateCampaignDrafts", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/campaignDrafts:mutate" + "path": "/v14/customers/{customer_id=*}/campaignDrafts:mutate" } ] }, { "shortName": "PromoteCampaignDraft", - "fullName": "google.ads.googleads.v11.services.CampaignDraftService.PromoteCampaignDraft", + "fullName": "google.ads.googleads.v14.services.CampaignDraftService.PromoteCampaignDraft", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/{campaign_draft=customers/*/campaignDrafts/*}:promote" - } - ] - } - ] - }, - { - "shortName": "CampaignExperimentService", - "fullName": "google.ads.googleads.v11.services.CampaignExperimentService", - "methods": [ - { - "shortName": "CreateCampaignExperiment", - "fullName": "google.ads.googleads.v11.services.CampaignExperimentService.CreateCampaignExperiment", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/campaignExperiments:create" - } - ] - }, - { - "shortName": "EndCampaignExperiment", - "fullName": "google.ads.googleads.v11.services.CampaignExperimentService.EndCampaignExperiment", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v11/{campaign_experiment=customers/*/campaignExperiments/*}:end" - } - ] - }, - { - "shortName": "GraduateCampaignExperiment", - "fullName": "google.ads.googleads.v11.services.CampaignExperimentService.GraduateCampaignExperiment", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v11/{campaign_experiment=customers/*/campaignExperiments/*}:graduate" - } - ] - }, - { - "shortName": "ListCampaignExperimentAsyncErrors", - "fullName": "google.ads.googleads.v11.services.CampaignExperimentService.ListCampaignExperimentAsyncErrors", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v11/{resource_name=customers/*/campaignExperiments/*}:listAsyncErrors" - } - ] - }, - { - "shortName": "MutateCampaignExperiments", - "fullName": "google.ads.googleads.v11.services.CampaignExperimentService.MutateCampaignExperiments", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/campaignExperiments:mutate" - } - ] - }, - { - "shortName": "PromoteCampaignExperiment", - "fullName": "google.ads.googleads.v11.services.CampaignExperimentService.PromoteCampaignExperiment", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v11/{campaign_experiment=customers/*/campaignExperiments/*}:promote" + "path": "/v14/{campaign_draft=customers/*/campaignDrafts/*}:promote" } ] } @@ -1107,16 +1063,16 @@ }, { "shortName": "CampaignExtensionSettingService", - "fullName": "google.ads.googleads.v11.services.CampaignExtensionSettingService", + "fullName": "google.ads.googleads.v14.services.CampaignExtensionSettingService", "methods": [ { "shortName": "MutateCampaignExtensionSettings", - "fullName": "google.ads.googleads.v11.services.CampaignExtensionSettingService.MutateCampaignExtensionSettings", + "fullName": "google.ads.googleads.v14.services.CampaignExtensionSettingService.MutateCampaignExtensionSettings", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/campaignExtensionSettings:mutate" + "path": "/v14/customers/{customer_id=*}/campaignExtensionSettings:mutate" } ] } @@ -1124,16 +1080,16 @@ }, { "shortName": "CampaignFeedService", - "fullName": "google.ads.googleads.v11.services.CampaignFeedService", + "fullName": "google.ads.googleads.v14.services.CampaignFeedService", "methods": [ { "shortName": "MutateCampaignFeeds", - "fullName": "google.ads.googleads.v11.services.CampaignFeedService.MutateCampaignFeeds", + "fullName": "google.ads.googleads.v14.services.CampaignFeedService.MutateCampaignFeeds", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/campaignFeeds:mutate" + "path": "/v14/customers/{customer_id=*}/campaignFeeds:mutate" } ] } @@ -1141,16 +1097,16 @@ }, { "shortName": "CampaignGroupService", - "fullName": "google.ads.googleads.v11.services.CampaignGroupService", + "fullName": "google.ads.googleads.v14.services.CampaignGroupService", "methods": [ { "shortName": "MutateCampaignGroups", - "fullName": "google.ads.googleads.v11.services.CampaignGroupService.MutateCampaignGroups", + "fullName": "google.ads.googleads.v14.services.CampaignGroupService.MutateCampaignGroups", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/campaignGroups:mutate" + "path": "/v14/customers/{customer_id=*}/campaignGroups:mutate" } ] } @@ -1158,16 +1114,16 @@ }, { "shortName": "CampaignLabelService", - "fullName": "google.ads.googleads.v11.services.CampaignLabelService", + "fullName": "google.ads.googleads.v14.services.CampaignLabelService", "methods": [ { "shortName": "MutateCampaignLabels", - "fullName": "google.ads.googleads.v11.services.CampaignLabelService.MutateCampaignLabels", + "fullName": "google.ads.googleads.v14.services.CampaignLabelService.MutateCampaignLabels", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/campaignLabels:mutate" + "path": "/v14/customers/{customer_id=*}/campaignLabels:mutate" } ] } @@ -1175,16 +1131,16 @@ }, { "shortName": "CampaignService", - "fullName": "google.ads.googleads.v11.services.CampaignService", + "fullName": "google.ads.googleads.v14.services.CampaignService", "methods": [ { "shortName": "MutateCampaigns", - "fullName": "google.ads.googleads.v11.services.CampaignService.MutateCampaigns", + "fullName": "google.ads.googleads.v14.services.CampaignService.MutateCampaigns", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/campaigns:mutate" + "path": "/v14/customers/{customer_id=*}/campaigns:mutate" } ] } @@ -1192,16 +1148,16 @@ }, { "shortName": "CampaignSharedSetService", - "fullName": "google.ads.googleads.v11.services.CampaignSharedSetService", + "fullName": "google.ads.googleads.v14.services.CampaignSharedSetService", "methods": [ { "shortName": "MutateCampaignSharedSets", - "fullName": "google.ads.googleads.v11.services.CampaignSharedSetService.MutateCampaignSharedSets", + "fullName": "google.ads.googleads.v14.services.CampaignSharedSetService.MutateCampaignSharedSets", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/campaignSharedSets:mutate" + "path": "/v14/customers/{customer_id=*}/campaignSharedSets:mutate" } ] } @@ -1209,16 +1165,16 @@ }, { "shortName": "ConversionActionService", - "fullName": "google.ads.googleads.v11.services.ConversionActionService", + "fullName": "google.ads.googleads.v14.services.ConversionActionService", "methods": [ { "shortName": "MutateConversionActions", - "fullName": "google.ads.googleads.v11.services.ConversionActionService.MutateConversionActions", + "fullName": "google.ads.googleads.v14.services.ConversionActionService.MutateConversionActions", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/conversionActions:mutate" + "path": "/v14/customers/{customer_id=*}/conversionActions:mutate" } ] } @@ -1226,16 +1182,16 @@ }, { "shortName": "ConversionAdjustmentUploadService", - "fullName": "google.ads.googleads.v11.services.ConversionAdjustmentUploadService", + "fullName": "google.ads.googleads.v14.services.ConversionAdjustmentUploadService", "methods": [ { "shortName": "UploadConversionAdjustments", - "fullName": "google.ads.googleads.v11.services.ConversionAdjustmentUploadService.UploadConversionAdjustments", + "fullName": "google.ads.googleads.v14.services.ConversionAdjustmentUploadService.UploadConversionAdjustments", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}:uploadConversionAdjustments" + "path": "/v14/customers/{customer_id=*}:uploadConversionAdjustments" } ] } @@ -1243,16 +1199,16 @@ }, { "shortName": "ConversionCustomVariableService", - "fullName": "google.ads.googleads.v11.services.ConversionCustomVariableService", + "fullName": "google.ads.googleads.v14.services.ConversionCustomVariableService", "methods": [ { "shortName": "MutateConversionCustomVariables", - "fullName": "google.ads.googleads.v11.services.ConversionCustomVariableService.MutateConversionCustomVariables", + "fullName": "google.ads.googleads.v14.services.ConversionCustomVariableService.MutateConversionCustomVariables", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/conversionCustomVariables:mutate" + "path": "/v14/customers/{customer_id=*}/conversionCustomVariables:mutate" } ] } @@ -1260,16 +1216,16 @@ }, { "shortName": "ConversionGoalCampaignConfigService", - "fullName": "google.ads.googleads.v11.services.ConversionGoalCampaignConfigService", + "fullName": "google.ads.googleads.v14.services.ConversionGoalCampaignConfigService", "methods": [ { "shortName": "MutateConversionGoalCampaignConfigs", - "fullName": "google.ads.googleads.v11.services.ConversionGoalCampaignConfigService.MutateConversionGoalCampaignConfigs", + "fullName": "google.ads.googleads.v14.services.ConversionGoalCampaignConfigService.MutateConversionGoalCampaignConfigs", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/conversionGoalCampaignConfigs:mutate" + "path": "/v14/customers/{customer_id=*}/conversionGoalCampaignConfigs:mutate" } ] } @@ -1277,27 +1233,27 @@ }, { "shortName": "ConversionUploadService", - "fullName": "google.ads.googleads.v11.services.ConversionUploadService", + "fullName": "google.ads.googleads.v14.services.ConversionUploadService", "methods": [ { "shortName": "UploadCallConversions", - "fullName": "google.ads.googleads.v11.services.ConversionUploadService.UploadCallConversions", + "fullName": "google.ads.googleads.v14.services.ConversionUploadService.UploadCallConversions", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}:uploadCallConversions" + "path": "/v14/customers/{customer_id=*}:uploadCallConversions" } ] }, { "shortName": "UploadClickConversions", - "fullName": "google.ads.googleads.v11.services.ConversionUploadService.UploadClickConversions", + "fullName": "google.ads.googleads.v14.services.ConversionUploadService.UploadClickConversions", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}:uploadClickConversions" + "path": "/v14/customers/{customer_id=*}:uploadClickConversions" } ] } @@ -1305,16 +1261,16 @@ }, { "shortName": "ConversionValueRuleService", - "fullName": "google.ads.googleads.v11.services.ConversionValueRuleService", + "fullName": "google.ads.googleads.v14.services.ConversionValueRuleService", "methods": [ { "shortName": "MutateConversionValueRules", - "fullName": "google.ads.googleads.v11.services.ConversionValueRuleService.MutateConversionValueRules", + "fullName": "google.ads.googleads.v14.services.ConversionValueRuleService.MutateConversionValueRules", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/conversionValueRules:mutate" + "path": "/v14/customers/{customer_id=*}/conversionValueRules:mutate" } ] } @@ -1322,16 +1278,16 @@ }, { "shortName": "ConversionValueRuleSetService", - "fullName": "google.ads.googleads.v11.services.ConversionValueRuleSetService", + "fullName": "google.ads.googleads.v14.services.ConversionValueRuleSetService", "methods": [ { "shortName": "MutateConversionValueRuleSets", - "fullName": "google.ads.googleads.v11.services.ConversionValueRuleSetService.MutateConversionValueRuleSets", + "fullName": "google.ads.googleads.v14.services.ConversionValueRuleSetService.MutateConversionValueRuleSets", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/conversionValueRuleSets:mutate" + "path": "/v14/customers/{customer_id=*}/conversionValueRuleSets:mutate" } ] } @@ -1339,16 +1295,16 @@ }, { "shortName": "CustomAudienceService", - "fullName": "google.ads.googleads.v11.services.CustomAudienceService", + "fullName": "google.ads.googleads.v14.services.CustomAudienceService", "methods": [ { "shortName": "MutateCustomAudiences", - "fullName": "google.ads.googleads.v11.services.CustomAudienceService.MutateCustomAudiences", + "fullName": "google.ads.googleads.v14.services.CustomAudienceService.MutateCustomAudiences", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/customAudiences:mutate" + "path": "/v14/customers/{customer_id=*}/customAudiences:mutate" } ] } @@ -1356,16 +1312,16 @@ }, { "shortName": "CustomConversionGoalService", - "fullName": "google.ads.googleads.v11.services.CustomConversionGoalService", + "fullName": "google.ads.googleads.v14.services.CustomConversionGoalService", "methods": [ { "shortName": "MutateCustomConversionGoals", - "fullName": "google.ads.googleads.v11.services.CustomConversionGoalService.MutateCustomConversionGoals", + "fullName": "google.ads.googleads.v14.services.CustomConversionGoalService.MutateCustomConversionGoals", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/customConversionGoals:mutate" + "path": "/v14/customers/{customer_id=*}/customConversionGoals:mutate" } ] } @@ -1373,16 +1329,16 @@ }, { "shortName": "CustomInterestService", - "fullName": "google.ads.googleads.v11.services.CustomInterestService", + "fullName": "google.ads.googleads.v14.services.CustomInterestService", "methods": [ { "shortName": "MutateCustomInterests", - "fullName": "google.ads.googleads.v11.services.CustomInterestService.MutateCustomInterests", + "fullName": "google.ads.googleads.v14.services.CustomInterestService.MutateCustomInterests", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/customInterests:mutate" + "path": "/v14/customers/{customer_id=*}/customInterests:mutate" } ] } @@ -1390,16 +1346,33 @@ }, { "shortName": "CustomerAssetService", - "fullName": "google.ads.googleads.v11.services.CustomerAssetService", + "fullName": "google.ads.googleads.v14.services.CustomerAssetService", "methods": [ { "shortName": "MutateCustomerAssets", - "fullName": "google.ads.googleads.v11.services.CustomerAssetService.MutateCustomerAssets", + "fullName": "google.ads.googleads.v14.services.CustomerAssetService.MutateCustomerAssets", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/customerAssets:mutate" + "path": "/v14/customers/{customer_id=*}/customerAssets:mutate" + } + ] + } + ] + }, + { + "shortName": "CustomerAssetSetService", + "fullName": "google.ads.googleads.v14.services.CustomerAssetSetService", + "methods": [ + { + "shortName": "MutateCustomerAssetSets", + "fullName": "google.ads.googleads.v14.services.CustomerAssetSetService.MutateCustomerAssetSets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v14/customers/{customer_id=*}/customerAssetSets:mutate" } ] } @@ -1407,16 +1380,16 @@ }, { "shortName": "CustomerClientLinkService", - "fullName": "google.ads.googleads.v11.services.CustomerClientLinkService", + "fullName": "google.ads.googleads.v14.services.CustomerClientLinkService", "methods": [ { "shortName": "MutateCustomerClientLink", - "fullName": "google.ads.googleads.v11.services.CustomerClientLinkService.MutateCustomerClientLink", + "fullName": "google.ads.googleads.v14.services.CustomerClientLinkService.MutateCustomerClientLink", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/customerClientLinks:mutate" + "path": "/v14/customers/{customer_id=*}/customerClientLinks:mutate" } ] } @@ -1424,16 +1397,16 @@ }, { "shortName": "CustomerConversionGoalService", - "fullName": "google.ads.googleads.v11.services.CustomerConversionGoalService", + "fullName": "google.ads.googleads.v14.services.CustomerConversionGoalService", "methods": [ { "shortName": "MutateCustomerConversionGoals", - "fullName": "google.ads.googleads.v11.services.CustomerConversionGoalService.MutateCustomerConversionGoals", + "fullName": "google.ads.googleads.v14.services.CustomerConversionGoalService.MutateCustomerConversionGoals", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/customerConversionGoals:mutate" + "path": "/v14/customers/{customer_id=*}/customerConversionGoals:mutate" } ] } @@ -1441,16 +1414,16 @@ }, { "shortName": "CustomerCustomizerService", - "fullName": "google.ads.googleads.v11.services.CustomerCustomizerService", + "fullName": "google.ads.googleads.v14.services.CustomerCustomizerService", "methods": [ { "shortName": "MutateCustomerCustomizers", - "fullName": "google.ads.googleads.v11.services.CustomerCustomizerService.MutateCustomerCustomizers", + "fullName": "google.ads.googleads.v14.services.CustomerCustomizerService.MutateCustomerCustomizers", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/CustomerCustomizers:mutate" + "path": "/v14/customers/{customer_id=*}/CustomerCustomizers:mutate" } ] } @@ -1458,16 +1431,16 @@ }, { "shortName": "CustomerExtensionSettingService", - "fullName": "google.ads.googleads.v11.services.CustomerExtensionSettingService", + "fullName": "google.ads.googleads.v14.services.CustomerExtensionSettingService", "methods": [ { "shortName": "MutateCustomerExtensionSettings", - "fullName": "google.ads.googleads.v11.services.CustomerExtensionSettingService.MutateCustomerExtensionSettings", + "fullName": "google.ads.googleads.v14.services.CustomerExtensionSettingService.MutateCustomerExtensionSettings", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/customerExtensionSettings:mutate" + "path": "/v14/customers/{customer_id=*}/customerExtensionSettings:mutate" } ] } @@ -1475,16 +1448,16 @@ }, { "shortName": "CustomerFeedService", - "fullName": "google.ads.googleads.v11.services.CustomerFeedService", + "fullName": "google.ads.googleads.v14.services.CustomerFeedService", "methods": [ { "shortName": "MutateCustomerFeeds", - "fullName": "google.ads.googleads.v11.services.CustomerFeedService.MutateCustomerFeeds", + "fullName": "google.ads.googleads.v14.services.CustomerFeedService.MutateCustomerFeeds", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/customerFeeds:mutate" + "path": "/v14/customers/{customer_id=*}/customerFeeds:mutate" } ] } @@ -1492,16 +1465,16 @@ }, { "shortName": "CustomerLabelService", - "fullName": "google.ads.googleads.v11.services.CustomerLabelService", + "fullName": "google.ads.googleads.v14.services.CustomerLabelService", "methods": [ { "shortName": "MutateCustomerLabels", - "fullName": "google.ads.googleads.v11.services.CustomerLabelService.MutateCustomerLabels", + "fullName": "google.ads.googleads.v14.services.CustomerLabelService.MutateCustomerLabels", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/customerLabels:mutate" + "path": "/v14/customers/{customer_id=*}/customerLabels:mutate" } ] } @@ -1509,27 +1482,27 @@ }, { "shortName": "CustomerManagerLinkService", - "fullName": "google.ads.googleads.v11.services.CustomerManagerLinkService", + "fullName": "google.ads.googleads.v14.services.CustomerManagerLinkService", "methods": [ { "shortName": "MoveManagerLink", - "fullName": "google.ads.googleads.v11.services.CustomerManagerLinkService.MoveManagerLink", + "fullName": "google.ads.googleads.v14.services.CustomerManagerLinkService.MoveManagerLink", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/customerManagerLinks:moveManagerLink" + "path": "/v14/customers/{customer_id=*}/customerManagerLinks:moveManagerLink" } ] }, { "shortName": "MutateCustomerManagerLink", - "fullName": "google.ads.googleads.v11.services.CustomerManagerLinkService.MutateCustomerManagerLink", + "fullName": "google.ads.googleads.v14.services.CustomerManagerLinkService.MutateCustomerManagerLink", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/customerManagerLinks:mutate" + "path": "/v14/customers/{customer_id=*}/customerManagerLinks:mutate" } ] } @@ -1537,16 +1510,16 @@ }, { "shortName": "CustomerNegativeCriterionService", - "fullName": "google.ads.googleads.v11.services.CustomerNegativeCriterionService", + "fullName": "google.ads.googleads.v14.services.CustomerNegativeCriterionService", "methods": [ { "shortName": "MutateCustomerNegativeCriteria", - "fullName": "google.ads.googleads.v11.services.CustomerNegativeCriterionService.MutateCustomerNegativeCriteria", + "fullName": "google.ads.googleads.v14.services.CustomerNegativeCriterionService.MutateCustomerNegativeCriteria", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/customerNegativeCriteria:mutate" + "path": "/v14/customers/{customer_id=*}/customerNegativeCriteria:mutate" } ] } @@ -1554,38 +1527,55 @@ }, { "shortName": "CustomerService", - "fullName": "google.ads.googleads.v11.services.CustomerService", + "fullName": "google.ads.googleads.v14.services.CustomerService", "methods": [ { "shortName": "CreateCustomerClient", - "fullName": "google.ads.googleads.v11.services.CustomerService.CreateCustomerClient", + "fullName": "google.ads.googleads.v14.services.CustomerService.CreateCustomerClient", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}:createCustomerClient" + "path": "/v14/customers/{customer_id=*}:createCustomerClient" } ] }, { "shortName": "ListAccessibleCustomers", - "fullName": "google.ads.googleads.v11.services.CustomerService.ListAccessibleCustomers", + "fullName": "google.ads.googleads.v14.services.CustomerService.ListAccessibleCustomers", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v11/customers:listAccessibleCustomers" + "path": "/v14/customers:listAccessibleCustomers" } ] }, { "shortName": "MutateCustomer", - "fullName": "google.ads.googleads.v11.services.CustomerService.MutateCustomer", + "fullName": "google.ads.googleads.v14.services.CustomerService.MutateCustomer", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}:mutate" + "path": "/v14/customers/{customer_id=*}:mutate" + } + ] + } + ] + }, + { + "shortName": "CustomerSkAdNetworkConversionValueSchemaService", + "fullName": "google.ads.googleads.v14.services.CustomerSkAdNetworkConversionValueSchemaService", + "methods": [ + { + "shortName": "MutateCustomerSkAdNetworkConversionValueSchema", + "fullName": "google.ads.googleads.v14.services.CustomerSkAdNetworkConversionValueSchemaService.MutateCustomerSkAdNetworkConversionValueSchema", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v14/customers/{customer_id=*}/customerSkAdNetworkConversionValueSchemas:mutate" } ] } @@ -1593,16 +1583,16 @@ }, { "shortName": "CustomerUserAccessInvitationService", - "fullName": "google.ads.googleads.v11.services.CustomerUserAccessInvitationService", + "fullName": "google.ads.googleads.v14.services.CustomerUserAccessInvitationService", "methods": [ { "shortName": "MutateCustomerUserAccessInvitation", - "fullName": "google.ads.googleads.v11.services.CustomerUserAccessInvitationService.MutateCustomerUserAccessInvitation", + "fullName": "google.ads.googleads.v14.services.CustomerUserAccessInvitationService.MutateCustomerUserAccessInvitation", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/customerUserAccessInvitations:mutate" + "path": "/v14/customers/{customer_id=*}/customerUserAccessInvitations:mutate" } ] } @@ -1610,16 +1600,16 @@ }, { "shortName": "CustomerUserAccessService", - "fullName": "google.ads.googleads.v11.services.CustomerUserAccessService", + "fullName": "google.ads.googleads.v14.services.CustomerUserAccessService", "methods": [ { "shortName": "MutateCustomerUserAccess", - "fullName": "google.ads.googleads.v11.services.CustomerUserAccessService.MutateCustomerUserAccess", + "fullName": "google.ads.googleads.v14.services.CustomerUserAccessService.MutateCustomerUserAccess", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/customerUserAccesses:mutate" + "path": "/v14/customers/{customer_id=*}/customerUserAccesses:mutate" } ] } @@ -1627,16 +1617,16 @@ }, { "shortName": "CustomizerAttributeService", - "fullName": "google.ads.googleads.v11.services.CustomizerAttributeService", + "fullName": "google.ads.googleads.v14.services.CustomizerAttributeService", "methods": [ { "shortName": "MutateCustomizerAttributes", - "fullName": "google.ads.googleads.v11.services.CustomizerAttributeService.MutateCustomizerAttributes", + "fullName": "google.ads.googleads.v14.services.CustomizerAttributeService.MutateCustomizerAttributes", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/customizerAttributes:mutate" + "path": "/v14/customers/{customer_id=*}/customizerAttributes:mutate" } ] } @@ -1644,16 +1634,16 @@ }, { "shortName": "ExperimentArmService", - "fullName": "google.ads.googleads.v11.services.ExperimentArmService", + "fullName": "google.ads.googleads.v14.services.ExperimentArmService", "methods": [ { "shortName": "MutateExperimentArms", - "fullName": "google.ads.googleads.v11.services.ExperimentArmService.MutateExperimentArms", + "fullName": "google.ads.googleads.v14.services.ExperimentArmService.MutateExperimentArms", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/experimentArms:mutate" + "path": "/v14/customers/{customer_id=*}/experimentArms:mutate" } ] } @@ -1661,71 +1651,71 @@ }, { "shortName": "ExperimentService", - "fullName": "google.ads.googleads.v11.services.ExperimentService", + "fullName": "google.ads.googleads.v14.services.ExperimentService", "methods": [ { "shortName": "EndExperiment", - "fullName": "google.ads.googleads.v11.services.ExperimentService.EndExperiment", + "fullName": "google.ads.googleads.v14.services.ExperimentService.EndExperiment", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/{experiment=customers/*/experiments/*}:endExperiment" + "path": "/v14/{experiment=customers/*/experiments/*}:endExperiment" } ] }, { "shortName": "GraduateExperiment", - "fullName": "google.ads.googleads.v11.services.ExperimentService.GraduateExperiment", + "fullName": "google.ads.googleads.v14.services.ExperimentService.GraduateExperiment", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/{experiment=customers/*/experiments/*}:graduateExperiment" + "path": "/v14/{experiment=customers/*/experiments/*}:graduateExperiment" } ] }, { "shortName": "ListExperimentAsyncErrors", - "fullName": "google.ads.googleads.v11.services.ExperimentService.ListExperimentAsyncErrors", + "fullName": "google.ads.googleads.v14.services.ExperimentService.ListExperimentAsyncErrors", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v11/{resource_name=customers/*/experiments/*}:listExperimentAsyncErrors" + "path": "/v14/{resource_name=customers/*/experiments/*}:listExperimentAsyncErrors" } ] }, { "shortName": "MutateExperiments", - "fullName": "google.ads.googleads.v11.services.ExperimentService.MutateExperiments", + "fullName": "google.ads.googleads.v14.services.ExperimentService.MutateExperiments", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/experiments:mutate" + "path": "/v14/customers/{customer_id=*}/experiments:mutate" } ] }, { "shortName": "PromoteExperiment", - "fullName": "google.ads.googleads.v11.services.ExperimentService.PromoteExperiment", + "fullName": "google.ads.googleads.v14.services.ExperimentService.PromoteExperiment", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/{resource_name=customers/*/experiments/*}:promoteExperiment" + "path": "/v14/{resource_name=customers/*/experiments/*}:promoteExperiment" } ] }, { "shortName": "ScheduleExperiment", - "fullName": "google.ads.googleads.v11.services.ExperimentService.ScheduleExperiment", + "fullName": "google.ads.googleads.v14.services.ExperimentService.ScheduleExperiment", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/{resource_name=customers/*/experiments/*}:scheduleExperiment" + "path": "/v14/{resource_name=customers/*/experiments/*}:scheduleExperiment" } ] } @@ -1733,16 +1723,16 @@ }, { "shortName": "ExtensionFeedItemService", - "fullName": "google.ads.googleads.v11.services.ExtensionFeedItemService", + "fullName": "google.ads.googleads.v14.services.ExtensionFeedItemService", "methods": [ { "shortName": "MutateExtensionFeedItems", - "fullName": "google.ads.googleads.v11.services.ExtensionFeedItemService.MutateExtensionFeedItems", + "fullName": "google.ads.googleads.v14.services.ExtensionFeedItemService.MutateExtensionFeedItems", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/extensionFeedItems:mutate" + "path": "/v14/customers/{customer_id=*}/extensionFeedItems:mutate" } ] } @@ -1750,16 +1740,16 @@ }, { "shortName": "FeedItemService", - "fullName": "google.ads.googleads.v11.services.FeedItemService", + "fullName": "google.ads.googleads.v14.services.FeedItemService", "methods": [ { "shortName": "MutateFeedItems", - "fullName": "google.ads.googleads.v11.services.FeedItemService.MutateFeedItems", + "fullName": "google.ads.googleads.v14.services.FeedItemService.MutateFeedItems", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/feedItems:mutate" + "path": "/v14/customers/{customer_id=*}/feedItems:mutate" } ] } @@ -1767,16 +1757,16 @@ }, { "shortName": "FeedItemSetLinkService", - "fullName": "google.ads.googleads.v11.services.FeedItemSetLinkService", + "fullName": "google.ads.googleads.v14.services.FeedItemSetLinkService", "methods": [ { "shortName": "MutateFeedItemSetLinks", - "fullName": "google.ads.googleads.v11.services.FeedItemSetLinkService.MutateFeedItemSetLinks", + "fullName": "google.ads.googleads.v14.services.FeedItemSetLinkService.MutateFeedItemSetLinks", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/feedItemSetLinks:mutate" + "path": "/v14/customers/{customer_id=*}/feedItemSetLinks:mutate" } ] } @@ -1784,16 +1774,16 @@ }, { "shortName": "FeedItemSetService", - "fullName": "google.ads.googleads.v11.services.FeedItemSetService", + "fullName": "google.ads.googleads.v14.services.FeedItemSetService", "methods": [ { "shortName": "MutateFeedItemSets", - "fullName": "google.ads.googleads.v11.services.FeedItemSetService.MutateFeedItemSets", + "fullName": "google.ads.googleads.v14.services.FeedItemSetService.MutateFeedItemSets", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/feedItemSets:mutate" + "path": "/v14/customers/{customer_id=*}/feedItemSets:mutate" } ] } @@ -1801,16 +1791,16 @@ }, { "shortName": "FeedItemTargetService", - "fullName": "google.ads.googleads.v11.services.FeedItemTargetService", + "fullName": "google.ads.googleads.v14.services.FeedItemTargetService", "methods": [ { "shortName": "MutateFeedItemTargets", - "fullName": "google.ads.googleads.v11.services.FeedItemTargetService.MutateFeedItemTargets", + "fullName": "google.ads.googleads.v14.services.FeedItemTargetService.MutateFeedItemTargets", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/feedItemTargets:mutate" + "path": "/v14/customers/{customer_id=*}/feedItemTargets:mutate" } ] } @@ -1818,16 +1808,16 @@ }, { "shortName": "FeedMappingService", - "fullName": "google.ads.googleads.v11.services.FeedMappingService", + "fullName": "google.ads.googleads.v14.services.FeedMappingService", "methods": [ { "shortName": "MutateFeedMappings", - "fullName": "google.ads.googleads.v11.services.FeedMappingService.MutateFeedMappings", + "fullName": "google.ads.googleads.v14.services.FeedMappingService.MutateFeedMappings", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/feedMappings:mutate" + "path": "/v14/customers/{customer_id=*}/feedMappings:mutate" } ] } @@ -1835,16 +1825,16 @@ }, { "shortName": "FeedService", - "fullName": "google.ads.googleads.v11.services.FeedService", + "fullName": "google.ads.googleads.v14.services.FeedService", "methods": [ { "shortName": "MutateFeeds", - "fullName": "google.ads.googleads.v11.services.FeedService.MutateFeeds", + "fullName": "google.ads.googleads.v14.services.FeedService.MutateFeeds", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/feeds:mutate" + "path": "/v14/customers/{customer_id=*}/feeds:mutate" } ] } @@ -1852,16 +1842,16 @@ }, { "shortName": "GeoTargetConstantService", - "fullName": "google.ads.googleads.v11.services.GeoTargetConstantService", + "fullName": "google.ads.googleads.v14.services.GeoTargetConstantService", "methods": [ { "shortName": "SuggestGeoTargetConstants", - "fullName": "google.ads.googleads.v11.services.GeoTargetConstantService.SuggestGeoTargetConstants", + "fullName": "google.ads.googleads.v14.services.GeoTargetConstantService.SuggestGeoTargetConstants", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/geoTargetConstants:suggest" + "path": "/v14/geoTargetConstants:suggest" } ] } @@ -1869,27 +1859,27 @@ }, { "shortName": "GoogleAdsFieldService", - "fullName": "google.ads.googleads.v11.services.GoogleAdsFieldService", + "fullName": "google.ads.googleads.v14.services.GoogleAdsFieldService", "methods": [ { "shortName": "GetGoogleAdsField", - "fullName": "google.ads.googleads.v11.services.GoogleAdsFieldService.GetGoogleAdsField", + "fullName": "google.ads.googleads.v14.services.GoogleAdsFieldService.GetGoogleAdsField", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v11/{resource_name=googleAdsFields/*}" + "path": "/v14/{resource_name=googleAdsFields/*}" } ] }, { "shortName": "SearchGoogleAdsFields", - "fullName": "google.ads.googleads.v11.services.GoogleAdsFieldService.SearchGoogleAdsFields", + "fullName": "google.ads.googleads.v14.services.GoogleAdsFieldService.SearchGoogleAdsFields", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/googleAdsFields:search" + "path": "/v14/googleAdsFields:search" } ] } @@ -1897,38 +1887,38 @@ }, { "shortName": "GoogleAdsService", - "fullName": "google.ads.googleads.v11.services.GoogleAdsService", + "fullName": "google.ads.googleads.v14.services.GoogleAdsService", "methods": [ { "shortName": "Mutate", - "fullName": "google.ads.googleads.v11.services.GoogleAdsService.Mutate", + "fullName": "google.ads.googleads.v14.services.GoogleAdsService.Mutate", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/googleAds:mutate" + "path": "/v14/customers/{customer_id=*}/googleAds:mutate" } ] }, { "shortName": "Search", - "fullName": "google.ads.googleads.v11.services.GoogleAdsService.Search", + "fullName": "google.ads.googleads.v14.services.GoogleAdsService.Search", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/googleAds:search" + "path": "/v14/customers/{customer_id=*}/googleAds:search" } ] }, { "shortName": "SearchStream", - "fullName": "google.ads.googleads.v11.services.GoogleAdsService.SearchStream", + "fullName": "google.ads.googleads.v14.services.GoogleAdsService.SearchStream", "mode": "SERVER_STREAMING", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/googleAds:searchStream" + "path": "/v14/customers/{customer_id=*}/googleAds:searchStream" } ] } @@ -1936,16 +1926,16 @@ }, { "shortName": "InvoiceService", - "fullName": "google.ads.googleads.v11.services.InvoiceService", + "fullName": "google.ads.googleads.v14.services.InvoiceService", "methods": [ { "shortName": "ListInvoices", - "fullName": "google.ads.googleads.v11.services.InvoiceService.ListInvoices", + "fullName": "google.ads.googleads.v14.services.InvoiceService.ListInvoices", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v11/customers/{customer_id=*}/invoices" + "path": "/v14/customers/{customer_id=*}/invoices" } ] } @@ -1953,16 +1943,16 @@ }, { "shortName": "KeywordPlanAdGroupKeywordService", - "fullName": "google.ads.googleads.v11.services.KeywordPlanAdGroupKeywordService", + "fullName": "google.ads.googleads.v14.services.KeywordPlanAdGroupKeywordService", "methods": [ { "shortName": "MutateKeywordPlanAdGroupKeywords", - "fullName": "google.ads.googleads.v11.services.KeywordPlanAdGroupKeywordService.MutateKeywordPlanAdGroupKeywords", + "fullName": "google.ads.googleads.v14.services.KeywordPlanAdGroupKeywordService.MutateKeywordPlanAdGroupKeywords", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/keywordPlanAdGroupKeywords:mutate" + "path": "/v14/customers/{customer_id=*}/keywordPlanAdGroupKeywords:mutate" } ] } @@ -1970,16 +1960,16 @@ }, { "shortName": "KeywordPlanAdGroupService", - "fullName": "google.ads.googleads.v11.services.KeywordPlanAdGroupService", + "fullName": "google.ads.googleads.v14.services.KeywordPlanAdGroupService", "methods": [ { "shortName": "MutateKeywordPlanAdGroups", - "fullName": "google.ads.googleads.v11.services.KeywordPlanAdGroupService.MutateKeywordPlanAdGroups", + "fullName": "google.ads.googleads.v14.services.KeywordPlanAdGroupService.MutateKeywordPlanAdGroups", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/keywordPlanAdGroups:mutate" + "path": "/v14/customers/{customer_id=*}/keywordPlanAdGroups:mutate" } ] } @@ -1987,16 +1977,16 @@ }, { "shortName": "KeywordPlanCampaignKeywordService", - "fullName": "google.ads.googleads.v11.services.KeywordPlanCampaignKeywordService", + "fullName": "google.ads.googleads.v14.services.KeywordPlanCampaignKeywordService", "methods": [ { "shortName": "MutateKeywordPlanCampaignKeywords", - "fullName": "google.ads.googleads.v11.services.KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords", + "fullName": "google.ads.googleads.v14.services.KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/keywordPlanCampaignKeywords:mutate" + "path": "/v14/customers/{customer_id=*}/keywordPlanCampaignKeywords:mutate" } ] } @@ -2004,16 +1994,16 @@ }, { "shortName": "KeywordPlanCampaignService", - "fullName": "google.ads.googleads.v11.services.KeywordPlanCampaignService", + "fullName": "google.ads.googleads.v14.services.KeywordPlanCampaignService", "methods": [ { "shortName": "MutateKeywordPlanCampaigns", - "fullName": "google.ads.googleads.v11.services.KeywordPlanCampaignService.MutateKeywordPlanCampaigns", + "fullName": "google.ads.googleads.v14.services.KeywordPlanCampaignService.MutateKeywordPlanCampaigns", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/keywordPlanCampaigns:mutate" + "path": "/v14/customers/{customer_id=*}/keywordPlanCampaigns:mutate" } ] } @@ -2021,99 +2011,66 @@ }, { "shortName": "KeywordPlanIdeaService", - "fullName": "google.ads.googleads.v11.services.KeywordPlanIdeaService", + "fullName": "google.ads.googleads.v14.services.KeywordPlanIdeaService", "methods": [ { "shortName": "GenerateAdGroupThemes", - "fullName": "google.ads.googleads.v11.services.KeywordPlanIdeaService.GenerateAdGroupThemes", + "fullName": "google.ads.googleads.v14.services.KeywordPlanIdeaService.GenerateAdGroupThemes", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}:generateAdGroupThemes" + "path": "/v14/customers/{customer_id=*}:generateAdGroupThemes" } ] }, { - "shortName": "GenerateKeywordHistoricalMetrics", - "fullName": "google.ads.googleads.v11.services.KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics", + "shortName": "GenerateKeywordForecastMetrics", + "fullName": "google.ads.googleads.v14.services.KeywordPlanIdeaService.GenerateKeywordForecastMetrics", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}:generateKeywordHistoricalMetrics" + "path": "/v14/customers/{customer_id=*}:generateKeywordForecastMetrics" } ] }, { - "shortName": "GenerateKeywordIdeas", - "fullName": "google.ads.googleads.v11.services.KeywordPlanIdeaService.GenerateKeywordIdeas", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}:generateKeywordIdeas" - } - ] - } - ] - }, - { - "shortName": "KeywordPlanService", - "fullName": "google.ads.googleads.v11.services.KeywordPlanService", - "methods": [ - { - "shortName": "GenerateForecastCurve", - "fullName": "google.ads.googleads.v11.services.KeywordPlanService.GenerateForecastCurve", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v11/{keyword_plan=customers/*/keywordPlans/*}:generateForecastCurve" - } - ] - }, - { - "shortName": "GenerateForecastMetrics", - "fullName": "google.ads.googleads.v11.services.KeywordPlanService.GenerateForecastMetrics", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v11/{keyword_plan=customers/*/keywordPlans/*}:generateForecastMetrics" - } - ] - }, - { - "shortName": "GenerateForecastTimeSeries", - "fullName": "google.ads.googleads.v11.services.KeywordPlanService.GenerateForecastTimeSeries", + "shortName": "GenerateKeywordHistoricalMetrics", + "fullName": "google.ads.googleads.v14.services.KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/{keyword_plan=customers/*/keywordPlans/*}:generateForecastTimeSeries" + "path": "/v14/customers/{customer_id=*}:generateKeywordHistoricalMetrics" } ] }, { - "shortName": "GenerateHistoricalMetrics", - "fullName": "google.ads.googleads.v11.services.KeywordPlanService.GenerateHistoricalMetrics", + "shortName": "GenerateKeywordIdeas", + "fullName": "google.ads.googleads.v14.services.KeywordPlanIdeaService.GenerateKeywordIdeas", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/{keyword_plan=customers/*/keywordPlans/*}:generateHistoricalMetrics" + "path": "/v14/customers/{customer_id=*}:generateKeywordIdeas" } ] - }, + } + ] + }, + { + "shortName": "KeywordPlanService", + "fullName": "google.ads.googleads.v14.services.KeywordPlanService", + "methods": [ { "shortName": "MutateKeywordPlans", - "fullName": "google.ads.googleads.v11.services.KeywordPlanService.MutateKeywordPlans", + "fullName": "google.ads.googleads.v14.services.KeywordPlanService.MutateKeywordPlans", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/keywordPlans:mutate" + "path": "/v14/customers/{customer_id=*}/keywordPlans:mutate" } ] } @@ -2121,16 +2078,16 @@ }, { "shortName": "KeywordThemeConstantService", - "fullName": "google.ads.googleads.v11.services.KeywordThemeConstantService", + "fullName": "google.ads.googleads.v14.services.KeywordThemeConstantService", "methods": [ { "shortName": "SuggestKeywordThemeConstants", - "fullName": "google.ads.googleads.v11.services.KeywordThemeConstantService.SuggestKeywordThemeConstants", + "fullName": "google.ads.googleads.v14.services.KeywordThemeConstantService.SuggestKeywordThemeConstants", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/keywordThemeConstants:suggest" + "path": "/v14/keywordThemeConstants:suggest" } ] } @@ -2138,16 +2095,16 @@ }, { "shortName": "LabelService", - "fullName": "google.ads.googleads.v11.services.LabelService", + "fullName": "google.ads.googleads.v14.services.LabelService", "methods": [ { "shortName": "MutateLabels", - "fullName": "google.ads.googleads.v11.services.LabelService.MutateLabels", + "fullName": "google.ads.googleads.v14.services.LabelService.MutateLabels", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/labels:mutate" + "path": "/v14/customers/{customer_id=*}/labels:mutate" } ] } @@ -2155,16 +2112,16 @@ }, { "shortName": "MediaFileService", - "fullName": "google.ads.googleads.v11.services.MediaFileService", + "fullName": "google.ads.googleads.v14.services.MediaFileService", "methods": [ { "shortName": "MutateMediaFiles", - "fullName": "google.ads.googleads.v11.services.MediaFileService.MutateMediaFiles", + "fullName": "google.ads.googleads.v14.services.MediaFileService.MutateMediaFiles", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/mediaFiles:mutate" + "path": "/v14/customers/{customer_id=*}/mediaFiles:mutate" } ] } @@ -2172,38 +2129,38 @@ }, { "shortName": "MerchantCenterLinkService", - "fullName": "google.ads.googleads.v11.services.MerchantCenterLinkService", + "fullName": "google.ads.googleads.v14.services.MerchantCenterLinkService", "methods": [ { "shortName": "GetMerchantCenterLink", - "fullName": "google.ads.googleads.v11.services.MerchantCenterLinkService.GetMerchantCenterLink", + "fullName": "google.ads.googleads.v14.services.MerchantCenterLinkService.GetMerchantCenterLink", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v11/{resource_name=customers/*/merchantCenterLinks/*}" + "path": "/v14/{resource_name=customers/*/merchantCenterLinks/*}" } ] }, { "shortName": "ListMerchantCenterLinks", - "fullName": "google.ads.googleads.v11.services.MerchantCenterLinkService.ListMerchantCenterLinks", + "fullName": "google.ads.googleads.v14.services.MerchantCenterLinkService.ListMerchantCenterLinks", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v11/customers/{customer_id=*}/merchantCenterLinks" + "path": "/v14/customers/{customer_id=*}/merchantCenterLinks" } ] }, { "shortName": "MutateMerchantCenterLink", - "fullName": "google.ads.googleads.v11.services.MerchantCenterLinkService.MutateMerchantCenterLink", + "fullName": "google.ads.googleads.v14.services.MerchantCenterLinkService.MutateMerchantCenterLink", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/merchantCenterLinks:mutate" + "path": "/v14/customers/{customer_id=*}/merchantCenterLinks:mutate" } ] } @@ -2211,38 +2168,38 @@ }, { "shortName": "OfflineUserDataJobService", - "fullName": "google.ads.googleads.v11.services.OfflineUserDataJobService", + "fullName": "google.ads.googleads.v14.services.OfflineUserDataJobService", "methods": [ { "shortName": "AddOfflineUserDataJobOperations", - "fullName": "google.ads.googleads.v11.services.OfflineUserDataJobService.AddOfflineUserDataJobOperations", + "fullName": "google.ads.googleads.v14.services.OfflineUserDataJobService.AddOfflineUserDataJobOperations", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/{resource_name=customers/*/offlineUserDataJobs/*}:addOperations" + "path": "/v14/{resource_name=customers/*/offlineUserDataJobs/*}:addOperations" } ] }, { "shortName": "CreateOfflineUserDataJob", - "fullName": "google.ads.googleads.v11.services.OfflineUserDataJobService.CreateOfflineUserDataJob", + "fullName": "google.ads.googleads.v14.services.OfflineUserDataJobService.CreateOfflineUserDataJob", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/offlineUserDataJobs:create" + "path": "/v14/customers/{customer_id=*}/offlineUserDataJobs:create" } ] }, { "shortName": "RunOfflineUserDataJob", - "fullName": "google.ads.googleads.v11.services.OfflineUserDataJobService.RunOfflineUserDataJob", + "fullName": "google.ads.googleads.v14.services.OfflineUserDataJobService.RunOfflineUserDataJob", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/{resource_name=customers/*/offlineUserDataJobs/*}:run" + "path": "/v14/{resource_name=customers/*/offlineUserDataJobs/*}:run" } ] } @@ -2250,66 +2207,83 @@ }, { "shortName": "PaymentsAccountService", - "fullName": "google.ads.googleads.v11.services.PaymentsAccountService", + "fullName": "google.ads.googleads.v14.services.PaymentsAccountService", "methods": [ { "shortName": "ListPaymentsAccounts", - "fullName": "google.ads.googleads.v11.services.PaymentsAccountService.ListPaymentsAccounts", + "fullName": "google.ads.googleads.v14.services.PaymentsAccountService.ListPaymentsAccounts", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v11/customers/{customer_id=*}/paymentsAccounts" + "path": "/v14/customers/{customer_id=*}/paymentsAccounts" } ] } ] }, { - "shortName": "ReachPlanService", - "fullName": "google.ads.googleads.v11.services.ReachPlanService", + "shortName": "ProductLinkService", + "fullName": "google.ads.googleads.v14.services.ProductLinkService", "methods": [ { - "shortName": "GenerateProductMixIdeas", - "fullName": "google.ads.googleads.v11.services.ReachPlanService.GenerateProductMixIdeas", + "shortName": "CreateProductLink", + "fullName": "google.ads.googleads.v14.services.ProductLinkService.CreateProductLink", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}:generateProductMixIdeas" + "path": "/v14/customers/{customer_id=*}/productLinks:create" } ] }, + { + "shortName": "RemoveProductLink", + "fullName": "google.ads.googleads.v14.services.ProductLinkService.RemoveProductLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v14/customers/{customer_id=*}/productLinks:remove" + } + ] + } + ] + }, + { + "shortName": "ReachPlanService", + "fullName": "google.ads.googleads.v14.services.ReachPlanService", + "methods": [ { "shortName": "GenerateReachForecast", - "fullName": "google.ads.googleads.v11.services.ReachPlanService.GenerateReachForecast", + "fullName": "google.ads.googleads.v14.services.ReachPlanService.GenerateReachForecast", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}:generateReachForecast" + "path": "/v14/customers/{customer_id=*}:generateReachForecast" } ] }, { "shortName": "ListPlannableLocations", - "fullName": "google.ads.googleads.v11.services.ReachPlanService.ListPlannableLocations", + "fullName": "google.ads.googleads.v14.services.ReachPlanService.ListPlannableLocations", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11:listPlannableLocations" + "path": "/v14:listPlannableLocations" } ] }, { "shortName": "ListPlannableProducts", - "fullName": "google.ads.googleads.v11.services.ReachPlanService.ListPlannableProducts", + "fullName": "google.ads.googleads.v14.services.ReachPlanService.ListPlannableProducts", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11:listPlannableProducts" + "path": "/v14:listPlannableProducts" } ] } @@ -2317,27 +2291,27 @@ }, { "shortName": "RecommendationService", - "fullName": "google.ads.googleads.v11.services.RecommendationService", + "fullName": "google.ads.googleads.v14.services.RecommendationService", "methods": [ { "shortName": "ApplyRecommendation", - "fullName": "google.ads.googleads.v11.services.RecommendationService.ApplyRecommendation", + "fullName": "google.ads.googleads.v14.services.RecommendationService.ApplyRecommendation", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/recommendations:apply" + "path": "/v14/customers/{customer_id=*}/recommendations:apply" } ] }, { "shortName": "DismissRecommendation", - "fullName": "google.ads.googleads.v11.services.RecommendationService.DismissRecommendation", + "fullName": "google.ads.googleads.v14.services.RecommendationService.DismissRecommendation", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/recommendations:dismiss" + "path": "/v14/customers/{customer_id=*}/recommendations:dismiss" } ] } @@ -2345,16 +2319,16 @@ }, { "shortName": "RemarketingActionService", - "fullName": "google.ads.googleads.v11.services.RemarketingActionService", + "fullName": "google.ads.googleads.v14.services.RemarketingActionService", "methods": [ { "shortName": "MutateRemarketingActions", - "fullName": "google.ads.googleads.v11.services.RemarketingActionService.MutateRemarketingActions", + "fullName": "google.ads.googleads.v14.services.RemarketingActionService.MutateRemarketingActions", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/remarketingActions:mutate" + "path": "/v14/customers/{customer_id=*}/remarketingActions:mutate" } ] } @@ -2362,16 +2336,16 @@ }, { "shortName": "SharedCriterionService", - "fullName": "google.ads.googleads.v11.services.SharedCriterionService", + "fullName": "google.ads.googleads.v14.services.SharedCriterionService", "methods": [ { "shortName": "MutateSharedCriteria", - "fullName": "google.ads.googleads.v11.services.SharedCriterionService.MutateSharedCriteria", + "fullName": "google.ads.googleads.v14.services.SharedCriterionService.MutateSharedCriteria", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/sharedCriteria:mutate" + "path": "/v14/customers/{customer_id=*}/sharedCriteria:mutate" } ] } @@ -2379,16 +2353,16 @@ }, { "shortName": "SharedSetService", - "fullName": "google.ads.googleads.v11.services.SharedSetService", + "fullName": "google.ads.googleads.v14.services.SharedSetService", "methods": [ { "shortName": "MutateSharedSets", - "fullName": "google.ads.googleads.v11.services.SharedSetService.MutateSharedSets", + "fullName": "google.ads.googleads.v14.services.SharedSetService.MutateSharedSets", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/sharedSets:mutate" + "path": "/v14/customers/{customer_id=*}/sharedSets:mutate" } ] } @@ -2396,16 +2370,27 @@ }, { "shortName": "SmartCampaignSettingService", - "fullName": "google.ads.googleads.v11.services.SmartCampaignSettingService", + "fullName": "google.ads.googleads.v14.services.SmartCampaignSettingService", "methods": [ + { + "shortName": "GetSmartCampaignStatus", + "fullName": "google.ads.googleads.v14.services.SmartCampaignSettingService.GetSmartCampaignStatus", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v14/{resource_name=customers/*/smartCampaignSettings/*}:getSmartCampaignStatus" + } + ] + }, { "shortName": "MutateSmartCampaignSettings", - "fullName": "google.ads.googleads.v11.services.SmartCampaignSettingService.MutateSmartCampaignSettings", + "fullName": "google.ads.googleads.v14.services.SmartCampaignSettingService.MutateSmartCampaignSettings", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/smartCampaignSettings:mutate" + "path": "/v14/customers/{customer_id=*}/smartCampaignSettings:mutate" } ] } @@ -2413,38 +2398,38 @@ }, { "shortName": "SmartCampaignSuggestService", - "fullName": "google.ads.googleads.v11.services.SmartCampaignSuggestService", + "fullName": "google.ads.googleads.v14.services.SmartCampaignSuggestService", "methods": [ { "shortName": "SuggestKeywordThemes", - "fullName": "google.ads.googleads.v11.services.SmartCampaignSuggestService.SuggestKeywordThemes", + "fullName": "google.ads.googleads.v14.services.SmartCampaignSuggestService.SuggestKeywordThemes", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}:suggestKeywordThemes" + "path": "/v14/customers/{customer_id=*}:suggestKeywordThemes" } ] }, { "shortName": "SuggestSmartCampaignAd", - "fullName": "google.ads.googleads.v11.services.SmartCampaignSuggestService.SuggestSmartCampaignAd", + "fullName": "google.ads.googleads.v14.services.SmartCampaignSuggestService.SuggestSmartCampaignAd", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}:suggestSmartCampaignAd" + "path": "/v14/customers/{customer_id=*}:suggestSmartCampaignAd" } ] }, { "shortName": "SuggestSmartCampaignBudgetOptions", - "fullName": "google.ads.googleads.v11.services.SmartCampaignSuggestService.SuggestSmartCampaignBudgetOptions", + "fullName": "google.ads.googleads.v14.services.SmartCampaignSuggestService.SuggestSmartCampaignBudgetOptions", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}:suggestSmartCampaignBudgetOptions" + "path": "/v14/customers/{customer_id=*}:suggestSmartCampaignBudgetOptions" } ] } @@ -2452,16 +2437,33 @@ }, { "shortName": "ThirdPartyAppAnalyticsLinkService", - "fullName": "google.ads.googleads.v11.services.ThirdPartyAppAnalyticsLinkService", + "fullName": "google.ads.googleads.v14.services.ThirdPartyAppAnalyticsLinkService", "methods": [ { "shortName": "RegenerateShareableLinkId", - "fullName": "google.ads.googleads.v11.services.ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId", + "fullName": "google.ads.googleads.v14.services.ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/{resource_name=customers/*/thirdPartyAppAnalyticsLinks/*}:regenerateShareableLinkId" + "path": "/v14/{resource_name=customers/*/thirdPartyAppAnalyticsLinks/*}:regenerateShareableLinkId" + } + ] + } + ] + }, + { + "shortName": "TravelAssetSuggestionService", + "fullName": "google.ads.googleads.v14.services.TravelAssetSuggestionService", + "methods": [ + { + "shortName": "SuggestTravelAssets", + "fullName": "google.ads.googleads.v14.services.TravelAssetSuggestionService.SuggestTravelAssets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v14/customers/{customer_id=*}:suggestTravelAssets" } ] } @@ -2469,16 +2471,16 @@ }, { "shortName": "UserDataService", - "fullName": "google.ads.googleads.v11.services.UserDataService", + "fullName": "google.ads.googleads.v14.services.UserDataService", "methods": [ { "shortName": "UploadUserData", - "fullName": "google.ads.googleads.v11.services.UserDataService.UploadUserData", + "fullName": "google.ads.googleads.v14.services.UserDataService.UploadUserData", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}:uploadUserData" + "path": "/v14/customers/{customer_id=*}:uploadUserData" } ] } @@ -2486,144 +2488,148 @@ }, { "shortName": "UserListService", - "fullName": "google.ads.googleads.v11.services.UserListService", + "fullName": "google.ads.googleads.v14.services.UserListService", "methods": [ { "shortName": "MutateUserLists", - "fullName": "google.ads.googleads.v11.services.UserListService.MutateUserLists", + "fullName": "google.ads.googleads.v14.services.UserListService.MutateUserLists", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v11/customers/{customer_id=*}/userLists:mutate" + "path": "/v14/customers/{customer_id=*}/userLists:mutate" } ] } ] } ], - "configFile": "googleads_v11.yaml", + "configFile": "googleads_v14.yaml", "serviceConfigApiNames": [ - "google.ads.googleads.v11.services.AccountBudgetProposalService", - "google.ads.googleads.v11.services.AccountLinkService", - "google.ads.googleads.v11.services.AdGroupAdLabelService", - "google.ads.googleads.v11.services.AdGroupAdService", - "google.ads.googleads.v11.services.AdGroupAssetService", - "google.ads.googleads.v11.services.AdGroupBidModifierService", - "google.ads.googleads.v11.services.AdGroupCriterionCustomizerService", - "google.ads.googleads.v11.services.AdGroupCriterionLabelService", - "google.ads.googleads.v11.services.AdGroupCriterionService", - "google.ads.googleads.v11.services.AdGroupCustomizerService", - "google.ads.googleads.v11.services.AdGroupExtensionSettingService", - "google.ads.googleads.v11.services.AdGroupFeedService", - "google.ads.googleads.v11.services.AdGroupLabelService", - "google.ads.googleads.v11.services.AdGroupService", - "google.ads.googleads.v11.services.AdParameterService", - "google.ads.googleads.v11.services.AdService", - "google.ads.googleads.v11.services.AssetGroupAssetService", - "google.ads.googleads.v11.services.AssetGroupListingGroupFilterService", - "google.ads.googleads.v11.services.AssetGroupService", - "google.ads.googleads.v11.services.AssetGroupSignalService", - "google.ads.googleads.v11.services.AssetService", - "google.ads.googleads.v11.services.AssetSetAssetService", - "google.ads.googleads.v11.services.AssetSetService", - "google.ads.googleads.v11.services.AudienceInsightsService", - "google.ads.googleads.v11.services.AudienceService", - "google.ads.googleads.v11.services.BatchJobService", - "google.ads.googleads.v11.services.BiddingDataExclusionService", - "google.ads.googleads.v11.services.BiddingSeasonalityAdjustmentService", - "google.ads.googleads.v11.services.BiddingStrategyService", - "google.ads.googleads.v11.services.BillingSetupService", - "google.ads.googleads.v11.services.CampaignAssetService", - "google.ads.googleads.v11.services.CampaignAssetSetService", - "google.ads.googleads.v11.services.CampaignBidModifierService", - "google.ads.googleads.v11.services.CampaignBudgetService", - "google.ads.googleads.v11.services.CampaignConversionGoalService", - "google.ads.googleads.v11.services.CampaignCriterionService", - "google.ads.googleads.v11.services.CampaignCustomizerService", - "google.ads.googleads.v11.services.CampaignDraftService", - "google.ads.googleads.v11.services.CampaignExperimentService", - "google.ads.googleads.v11.services.CampaignExtensionSettingService", - "google.ads.googleads.v11.services.CampaignFeedService", - "google.ads.googleads.v11.services.CampaignGroupService", - "google.ads.googleads.v11.services.CampaignLabelService", - "google.ads.googleads.v11.services.CampaignService", - "google.ads.googleads.v11.services.CampaignSharedSetService", - "google.ads.googleads.v11.services.ConversionActionService", - "google.ads.googleads.v11.services.ConversionAdjustmentUploadService", - "google.ads.googleads.v11.services.ConversionCustomVariableService", - "google.ads.googleads.v11.services.ConversionGoalCampaignConfigService", - "google.ads.googleads.v11.services.ConversionUploadService", - "google.ads.googleads.v11.services.ConversionValueRuleService", - "google.ads.googleads.v11.services.ConversionValueRuleSetService", - "google.ads.googleads.v11.services.CustomAudienceService", - "google.ads.googleads.v11.services.CustomConversionGoalService", - "google.ads.googleads.v11.services.CustomInterestService", - "google.ads.googleads.v11.services.CustomerAssetService", - "google.ads.googleads.v11.services.CustomerClientLinkService", - "google.ads.googleads.v11.services.CustomerConversionGoalService", - "google.ads.googleads.v11.services.CustomerCustomizerService", - "google.ads.googleads.v11.services.CustomerExtensionSettingService", - "google.ads.googleads.v11.services.CustomerFeedService", - "google.ads.googleads.v11.services.CustomerLabelService", - "google.ads.googleads.v11.services.CustomerManagerLinkService", - "google.ads.googleads.v11.services.CustomerNegativeCriterionService", - "google.ads.googleads.v11.services.CustomerService", - "google.ads.googleads.v11.services.CustomerUserAccessInvitationService", - "google.ads.googleads.v11.services.CustomerUserAccessService", - "google.ads.googleads.v11.services.CustomizerAttributeService", - "google.ads.googleads.v11.services.ExperimentArmService", - "google.ads.googleads.v11.services.ExperimentService", - "google.ads.googleads.v11.services.ExtensionFeedItemService", - "google.ads.googleads.v11.services.FeedItemService", - "google.ads.googleads.v11.services.FeedItemSetLinkService", - "google.ads.googleads.v11.services.FeedItemSetService", - "google.ads.googleads.v11.services.FeedItemTargetService", - "google.ads.googleads.v11.services.FeedMappingService", - "google.ads.googleads.v11.services.FeedService", - "google.ads.googleads.v11.services.GeoTargetConstantService", - "google.ads.googleads.v11.services.GoogleAdsFieldService", - "google.ads.googleads.v11.services.GoogleAdsService", - "google.ads.googleads.v11.services.InvoiceService", - "google.ads.googleads.v11.services.KeywordPlanAdGroupKeywordService", - "google.ads.googleads.v11.services.KeywordPlanAdGroupService", - "google.ads.googleads.v11.services.KeywordPlanCampaignKeywordService", - "google.ads.googleads.v11.services.KeywordPlanCampaignService", - "google.ads.googleads.v11.services.KeywordPlanIdeaService", - "google.ads.googleads.v11.services.KeywordPlanService", - "google.ads.googleads.v11.services.KeywordThemeConstantService", - "google.ads.googleads.v11.services.LabelService", - "google.ads.googleads.v11.services.MediaFileService", - "google.ads.googleads.v11.services.MerchantCenterLinkService", - "google.ads.googleads.v11.services.OfflineUserDataJobService", - "google.ads.googleads.v11.services.PaymentsAccountService", - "google.ads.googleads.v11.services.ReachPlanService", - "google.ads.googleads.v11.services.RecommendationService", - "google.ads.googleads.v11.services.RemarketingActionService", - "google.ads.googleads.v11.services.SharedCriterionService", - "google.ads.googleads.v11.services.SharedSetService", - "google.ads.googleads.v11.services.SmartCampaignSettingService", - "google.ads.googleads.v11.services.SmartCampaignSuggestService", - "google.ads.googleads.v11.services.ThirdPartyAppAnalyticsLinkService", - "google.ads.googleads.v11.services.UserDataService", - "google.ads.googleads.v11.services.UserListService" + "google.ads.googleads.v14.services.AccountBudgetProposalService", + "google.ads.googleads.v14.services.AccountLinkService", + "google.ads.googleads.v14.services.AdGroupAdLabelService", + "google.ads.googleads.v14.services.AdGroupAdService", + "google.ads.googleads.v14.services.AdGroupAssetService", + "google.ads.googleads.v14.services.AdGroupAssetSetService", + "google.ads.googleads.v14.services.AdGroupBidModifierService", + "google.ads.googleads.v14.services.AdGroupCriterionCustomizerService", + "google.ads.googleads.v14.services.AdGroupCriterionLabelService", + "google.ads.googleads.v14.services.AdGroupCriterionService", + "google.ads.googleads.v14.services.AdGroupCustomizerService", + "google.ads.googleads.v14.services.AdGroupExtensionSettingService", + "google.ads.googleads.v14.services.AdGroupFeedService", + "google.ads.googleads.v14.services.AdGroupLabelService", + "google.ads.googleads.v14.services.AdGroupService", + "google.ads.googleads.v14.services.AdParameterService", + "google.ads.googleads.v14.services.AdService", + "google.ads.googleads.v14.services.AssetGroupAssetService", + "google.ads.googleads.v14.services.AssetGroupListingGroupFilterService", + "google.ads.googleads.v14.services.AssetGroupService", + "google.ads.googleads.v14.services.AssetGroupSignalService", + "google.ads.googleads.v14.services.AssetService", + "google.ads.googleads.v14.services.AssetSetAssetService", + "google.ads.googleads.v14.services.AssetSetService", + "google.ads.googleads.v14.services.AudienceInsightsService", + "google.ads.googleads.v14.services.AudienceService", + "google.ads.googleads.v14.services.BatchJobService", + "google.ads.googleads.v14.services.BiddingDataExclusionService", + "google.ads.googleads.v14.services.BiddingSeasonalityAdjustmentService", + "google.ads.googleads.v14.services.BiddingStrategyService", + "google.ads.googleads.v14.services.BillingSetupService", + "google.ads.googleads.v14.services.CampaignAssetService", + "google.ads.googleads.v14.services.CampaignAssetSetService", + "google.ads.googleads.v14.services.CampaignBidModifierService", + "google.ads.googleads.v14.services.CampaignBudgetService", + "google.ads.googleads.v14.services.CampaignConversionGoalService", + "google.ads.googleads.v14.services.CampaignCriterionService", + "google.ads.googleads.v14.services.CampaignCustomizerService", + "google.ads.googleads.v14.services.CampaignDraftService", + "google.ads.googleads.v14.services.CampaignExtensionSettingService", + "google.ads.googleads.v14.services.CampaignFeedService", + "google.ads.googleads.v14.services.CampaignGroupService", + "google.ads.googleads.v14.services.CampaignLabelService", + "google.ads.googleads.v14.services.CampaignService", + "google.ads.googleads.v14.services.CampaignSharedSetService", + "google.ads.googleads.v14.services.ConversionActionService", + "google.ads.googleads.v14.services.ConversionAdjustmentUploadService", + "google.ads.googleads.v14.services.ConversionCustomVariableService", + "google.ads.googleads.v14.services.ConversionGoalCampaignConfigService", + "google.ads.googleads.v14.services.ConversionUploadService", + "google.ads.googleads.v14.services.ConversionValueRuleService", + "google.ads.googleads.v14.services.ConversionValueRuleSetService", + "google.ads.googleads.v14.services.CustomAudienceService", + "google.ads.googleads.v14.services.CustomConversionGoalService", + "google.ads.googleads.v14.services.CustomInterestService", + "google.ads.googleads.v14.services.CustomerAssetService", + "google.ads.googleads.v14.services.CustomerAssetSetService", + "google.ads.googleads.v14.services.CustomerClientLinkService", + "google.ads.googleads.v14.services.CustomerConversionGoalService", + "google.ads.googleads.v14.services.CustomerCustomizerService", + "google.ads.googleads.v14.services.CustomerExtensionSettingService", + "google.ads.googleads.v14.services.CustomerFeedService", + "google.ads.googleads.v14.services.CustomerLabelService", + "google.ads.googleads.v14.services.CustomerManagerLinkService", + "google.ads.googleads.v14.services.CustomerNegativeCriterionService", + "google.ads.googleads.v14.services.CustomerService", + "google.ads.googleads.v14.services.CustomerSkAdNetworkConversionValueSchemaService", + "google.ads.googleads.v14.services.CustomerUserAccessInvitationService", + "google.ads.googleads.v14.services.CustomerUserAccessService", + "google.ads.googleads.v14.services.CustomizerAttributeService", + "google.ads.googleads.v14.services.ExperimentArmService", + "google.ads.googleads.v14.services.ExperimentService", + "google.ads.googleads.v14.services.ExtensionFeedItemService", + "google.ads.googleads.v14.services.FeedItemService", + "google.ads.googleads.v14.services.FeedItemSetLinkService", + "google.ads.googleads.v14.services.FeedItemSetService", + "google.ads.googleads.v14.services.FeedItemTargetService", + "google.ads.googleads.v14.services.FeedMappingService", + "google.ads.googleads.v14.services.FeedService", + "google.ads.googleads.v14.services.GeoTargetConstantService", + "google.ads.googleads.v14.services.GoogleAdsFieldService", + "google.ads.googleads.v14.services.GoogleAdsService", + "google.ads.googleads.v14.services.InvoiceService", + "google.ads.googleads.v14.services.KeywordPlanAdGroupKeywordService", + "google.ads.googleads.v14.services.KeywordPlanAdGroupService", + "google.ads.googleads.v14.services.KeywordPlanCampaignKeywordService", + "google.ads.googleads.v14.services.KeywordPlanCampaignService", + "google.ads.googleads.v14.services.KeywordPlanIdeaService", + "google.ads.googleads.v14.services.KeywordPlanService", + "google.ads.googleads.v14.services.KeywordThemeConstantService", + "google.ads.googleads.v14.services.LabelService", + "google.ads.googleads.v14.services.MediaFileService", + "google.ads.googleads.v14.services.MerchantCenterLinkService", + "google.ads.googleads.v14.services.OfflineUserDataJobService", + "google.ads.googleads.v14.services.PaymentsAccountService", + "google.ads.googleads.v14.services.ProductLinkService", + "google.ads.googleads.v14.services.ReachPlanService", + "google.ads.googleads.v14.services.RecommendationService", + "google.ads.googleads.v14.services.RemarketingActionService", + "google.ads.googleads.v14.services.SharedCriterionService", + "google.ads.googleads.v14.services.SharedSetService", + "google.ads.googleads.v14.services.SmartCampaignSettingService", + "google.ads.googleads.v14.services.SmartCampaignSuggestService", + "google.ads.googleads.v14.services.ThirdPartyAppAnalyticsLinkService", + "google.ads.googleads.v14.services.TravelAssetSuggestionService", + "google.ads.googleads.v14.services.UserDataService", + "google.ads.googleads.v14.services.UserListService" ], "nameInServiceConfig": "googleads.googleapis.com" }, { - "id": "google.ads.googleads.v12", - "directory": "google/ads/googleads/v12", - "version": "v12", - "majorVersion": "v12", + "id": "google.ads.googleads.v15", + "directory": "google/ads/googleads/v15", + "version": "v15", + "majorVersion": "v15", "hostName": "googleads.googleapis.com", "title": "Google Ads API", "description": "Manage your Google Ads accounts, campaigns, and reports with this API.", "importDirectories": [ - "google/ads/googleads/v12/common", - "google/ads/googleads/v12/enums", - "google/ads/googleads/v12/errors", - "google/ads/googleads/v12/resources", - "google/ads/googleads/v12/services", + "google/ads/googleads/v15/common", + "google/ads/googleads/v15/enums", + "google/ads/googleads/v15/errors", + "google/ads/googleads/v15/resources", + "google/ads/googleads/v15/services", "google/api", "google/longrunning", "google/protobuf", @@ -2632,73 +2638,73 @@ "options": { "csharp_namespace": { "valueCounts": { - "Google.Ads.GoogleAds.V12.Common": 36, - "Google.Ads.GoogleAds.V12.Enums": 301, - "Google.Ads.GoogleAds.V12.Errors": 142, - "Google.Ads.GoogleAds.V12.Resources": 159, - "Google.Ads.GoogleAds.V12.Services": 104 + "Google.Ads.GoogleAds.V15.Common": 38, + "Google.Ads.GoogleAds.V15.Enums": 338, + "Google.Ads.GoogleAds.V15.Errors": 151, + "Google.Ads.GoogleAds.V15.Resources": 176, + "Google.Ads.GoogleAds.V15.Services": 110 } }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common": 36, - "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums": 301, - "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors": 142, - "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources": 159, - "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services": 104 + "google.golang.org/genproto/googleapis/ads/googleads/v15/common;common": 38, + "google.golang.org/genproto/googleapis/ads/googleads/v15/enums;enums": 338, + "google.golang.org/genproto/googleapis/ads/googleads/v15/errors;errors": 151, + "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources": 176, + "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services": 110 } }, "java_multiple_files": { "valueCounts": { - "true": 742 + "true": 813 } }, "java_package": { "valueCounts": { - "com.google.ads.googleads.v12.common": 36, - "com.google.ads.googleads.v12.enums": 301, - "com.google.ads.googleads.v12.errors": 142, - "com.google.ads.googleads.v12.resources": 159, - "com.google.ads.googleads.v12.services": 104 + "com.google.ads.googleads.v15.common": 38, + "com.google.ads.googleads.v15.enums": 338, + "com.google.ads.googleads.v15.errors": 151, + "com.google.ads.googleads.v15.resources": 176, + "com.google.ads.googleads.v15.services": 110 } }, "objc_class_prefix": { "valueCounts": { - "GAA": 742 + "GAA": 813 } }, "php_namespace": { "valueCounts": { - "Google\\Ads\\GoogleAds\\V12\\Common": 36, - "Google\\Ads\\GoogleAds\\V12\\Enums": 301, - "Google\\Ads\\GoogleAds\\V12\\Errors": 142, - "Google\\Ads\\GoogleAds\\V12\\Resources": 159, - "Google\\Ads\\GoogleAds\\V12\\Services": 104 + "Google\\Ads\\GoogleAds\\V15\\Common": 38, + "Google\\Ads\\GoogleAds\\V15\\Enums": 338, + "Google\\Ads\\GoogleAds\\V15\\Errors": 151, + "Google\\Ads\\GoogleAds\\V15\\Resources": 176, + "Google\\Ads\\GoogleAds\\V15\\Services": 110 } }, "ruby_package": { "valueCounts": { - "Google::Ads::GoogleAds::V12::Common": 36, - "Google::Ads::GoogleAds::V12::Enums": 301, - "Google::Ads::GoogleAds::V12::Errors": 142, - "Google::Ads::GoogleAds::V12::Resources": 159, - "Google::Ads::GoogleAds::V12::Services": 104 + "Google::Ads::GoogleAds::V15::Common": 38, + "Google::Ads::GoogleAds::V15::Enums": 338, + "Google::Ads::GoogleAds::V15::Errors": 151, + "Google::Ads::GoogleAds::V15::Resources": 176, + "Google::Ads::GoogleAds::V15::Services": 110 } } }, "services": [ { "shortName": "AccountBudgetProposalService", - "fullName": "google.ads.googleads.v12.services.AccountBudgetProposalService", + "fullName": "google.ads.googleads.v15.services.AccountBudgetProposalService", "methods": [ { "shortName": "MutateAccountBudgetProposal", - "fullName": "google.ads.googleads.v12.services.AccountBudgetProposalService.MutateAccountBudgetProposal", + "fullName": "google.ads.googleads.v15.services.AccountBudgetProposalService.MutateAccountBudgetProposal", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/accountBudgetProposals:mutate" + "path": "/v15/customers/{customer_id=*}/accountBudgetProposals:mutate" } ] } @@ -2706,27 +2712,27 @@ }, { "shortName": "AccountLinkService", - "fullName": "google.ads.googleads.v12.services.AccountLinkService", + "fullName": "google.ads.googleads.v15.services.AccountLinkService", "methods": [ { "shortName": "CreateAccountLink", - "fullName": "google.ads.googleads.v12.services.AccountLinkService.CreateAccountLink", + "fullName": "google.ads.googleads.v15.services.AccountLinkService.CreateAccountLink", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/accountLinks:create" + "path": "/v15/customers/{customer_id=*}/accountLinks:create" } ] }, { "shortName": "MutateAccountLink", - "fullName": "google.ads.googleads.v12.services.AccountLinkService.MutateAccountLink", + "fullName": "google.ads.googleads.v15.services.AccountLinkService.MutateAccountLink", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/accountLinks:mutate" + "path": "/v15/customers/{customer_id=*}/accountLinks:mutate" } ] } @@ -2734,16 +2740,16 @@ }, { "shortName": "AdGroupAdLabelService", - "fullName": "google.ads.googleads.v12.services.AdGroupAdLabelService", + "fullName": "google.ads.googleads.v15.services.AdGroupAdLabelService", "methods": [ { "shortName": "MutateAdGroupAdLabels", - "fullName": "google.ads.googleads.v12.services.AdGroupAdLabelService.MutateAdGroupAdLabels", + "fullName": "google.ads.googleads.v15.services.AdGroupAdLabelService.MutateAdGroupAdLabels", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/adGroupAdLabels:mutate" + "path": "/v15/customers/{customer_id=*}/adGroupAdLabels:mutate" } ] } @@ -2751,16 +2757,16 @@ }, { "shortName": "AdGroupAdService", - "fullName": "google.ads.googleads.v12.services.AdGroupAdService", + "fullName": "google.ads.googleads.v15.services.AdGroupAdService", "methods": [ { "shortName": "MutateAdGroupAds", - "fullName": "google.ads.googleads.v12.services.AdGroupAdService.MutateAdGroupAds", + "fullName": "google.ads.googleads.v15.services.AdGroupAdService.MutateAdGroupAds", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/adGroupAds:mutate" + "path": "/v15/customers/{customer_id=*}/adGroupAds:mutate" } ] } @@ -2768,16 +2774,16 @@ }, { "shortName": "AdGroupAssetService", - "fullName": "google.ads.googleads.v12.services.AdGroupAssetService", + "fullName": "google.ads.googleads.v15.services.AdGroupAssetService", "methods": [ { "shortName": "MutateAdGroupAssets", - "fullName": "google.ads.googleads.v12.services.AdGroupAssetService.MutateAdGroupAssets", + "fullName": "google.ads.googleads.v15.services.AdGroupAssetService.MutateAdGroupAssets", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/adGroupAssets:mutate" + "path": "/v15/customers/{customer_id=*}/adGroupAssets:mutate" } ] } @@ -2785,16 +2791,16 @@ }, { "shortName": "AdGroupAssetSetService", - "fullName": "google.ads.googleads.v12.services.AdGroupAssetSetService", + "fullName": "google.ads.googleads.v15.services.AdGroupAssetSetService", "methods": [ { "shortName": "MutateAdGroupAssetSets", - "fullName": "google.ads.googleads.v12.services.AdGroupAssetSetService.MutateAdGroupAssetSets", + "fullName": "google.ads.googleads.v15.services.AdGroupAssetSetService.MutateAdGroupAssetSets", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/adGroupAssetSets:mutate" + "path": "/v15/customers/{customer_id=*}/adGroupAssetSets:mutate" } ] } @@ -2802,16 +2808,16 @@ }, { "shortName": "AdGroupBidModifierService", - "fullName": "google.ads.googleads.v12.services.AdGroupBidModifierService", + "fullName": "google.ads.googleads.v15.services.AdGroupBidModifierService", "methods": [ { "shortName": "MutateAdGroupBidModifiers", - "fullName": "google.ads.googleads.v12.services.AdGroupBidModifierService.MutateAdGroupBidModifiers", + "fullName": "google.ads.googleads.v15.services.AdGroupBidModifierService.MutateAdGroupBidModifiers", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/adGroupBidModifiers:mutate" + "path": "/v15/customers/{customer_id=*}/adGroupBidModifiers:mutate" } ] } @@ -2819,16 +2825,16 @@ }, { "shortName": "AdGroupCriterionCustomizerService", - "fullName": "google.ads.googleads.v12.services.AdGroupCriterionCustomizerService", + "fullName": "google.ads.googleads.v15.services.AdGroupCriterionCustomizerService", "methods": [ { "shortName": "MutateAdGroupCriterionCustomizers", - "fullName": "google.ads.googleads.v12.services.AdGroupCriterionCustomizerService.MutateAdGroupCriterionCustomizers", + "fullName": "google.ads.googleads.v15.services.AdGroupCriterionCustomizerService.MutateAdGroupCriterionCustomizers", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/AdGroupCriterionCustomizers:mutate" + "path": "/v15/customers/{customer_id=*}/AdGroupCriterionCustomizers:mutate" } ] } @@ -2836,16 +2842,16 @@ }, { "shortName": "AdGroupCriterionLabelService", - "fullName": "google.ads.googleads.v12.services.AdGroupCriterionLabelService", + "fullName": "google.ads.googleads.v15.services.AdGroupCriterionLabelService", "methods": [ { "shortName": "MutateAdGroupCriterionLabels", - "fullName": "google.ads.googleads.v12.services.AdGroupCriterionLabelService.MutateAdGroupCriterionLabels", + "fullName": "google.ads.googleads.v15.services.AdGroupCriterionLabelService.MutateAdGroupCriterionLabels", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/adGroupCriterionLabels:mutate" + "path": "/v15/customers/{customer_id=*}/adGroupCriterionLabels:mutate" } ] } @@ -2853,16 +2859,16 @@ }, { "shortName": "AdGroupCriterionService", - "fullName": "google.ads.googleads.v12.services.AdGroupCriterionService", + "fullName": "google.ads.googleads.v15.services.AdGroupCriterionService", "methods": [ { "shortName": "MutateAdGroupCriteria", - "fullName": "google.ads.googleads.v12.services.AdGroupCriterionService.MutateAdGroupCriteria", + "fullName": "google.ads.googleads.v15.services.AdGroupCriterionService.MutateAdGroupCriteria", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/adGroupCriteria:mutate" + "path": "/v15/customers/{customer_id=*}/adGroupCriteria:mutate" } ] } @@ -2870,16 +2876,16 @@ }, { "shortName": "AdGroupCustomizerService", - "fullName": "google.ads.googleads.v12.services.AdGroupCustomizerService", + "fullName": "google.ads.googleads.v15.services.AdGroupCustomizerService", "methods": [ { "shortName": "MutateAdGroupCustomizers", - "fullName": "google.ads.googleads.v12.services.AdGroupCustomizerService.MutateAdGroupCustomizers", + "fullName": "google.ads.googleads.v15.services.AdGroupCustomizerService.MutateAdGroupCustomizers", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/adGroupCustomizers:mutate" + "path": "/v15/customers/{customer_id=*}/adGroupCustomizers:mutate" } ] } @@ -2887,16 +2893,16 @@ }, { "shortName": "AdGroupExtensionSettingService", - "fullName": "google.ads.googleads.v12.services.AdGroupExtensionSettingService", + "fullName": "google.ads.googleads.v15.services.AdGroupExtensionSettingService", "methods": [ { "shortName": "MutateAdGroupExtensionSettings", - "fullName": "google.ads.googleads.v12.services.AdGroupExtensionSettingService.MutateAdGroupExtensionSettings", + "fullName": "google.ads.googleads.v15.services.AdGroupExtensionSettingService.MutateAdGroupExtensionSettings", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/adGroupExtensionSettings:mutate" + "path": "/v15/customers/{customer_id=*}/adGroupExtensionSettings:mutate" } ] } @@ -2904,16 +2910,16 @@ }, { "shortName": "AdGroupFeedService", - "fullName": "google.ads.googleads.v12.services.AdGroupFeedService", + "fullName": "google.ads.googleads.v15.services.AdGroupFeedService", "methods": [ { "shortName": "MutateAdGroupFeeds", - "fullName": "google.ads.googleads.v12.services.AdGroupFeedService.MutateAdGroupFeeds", + "fullName": "google.ads.googleads.v15.services.AdGroupFeedService.MutateAdGroupFeeds", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/adGroupFeeds:mutate" + "path": "/v15/customers/{customer_id=*}/adGroupFeeds:mutate" } ] } @@ -2921,16 +2927,16 @@ }, { "shortName": "AdGroupLabelService", - "fullName": "google.ads.googleads.v12.services.AdGroupLabelService", + "fullName": "google.ads.googleads.v15.services.AdGroupLabelService", "methods": [ { "shortName": "MutateAdGroupLabels", - "fullName": "google.ads.googleads.v12.services.AdGroupLabelService.MutateAdGroupLabels", + "fullName": "google.ads.googleads.v15.services.AdGroupLabelService.MutateAdGroupLabels", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/adGroupLabels:mutate" + "path": "/v15/customers/{customer_id=*}/adGroupLabels:mutate" } ] } @@ -2938,16 +2944,16 @@ }, { "shortName": "AdGroupService", - "fullName": "google.ads.googleads.v12.services.AdGroupService", + "fullName": "google.ads.googleads.v15.services.AdGroupService", "methods": [ { "shortName": "MutateAdGroups", - "fullName": "google.ads.googleads.v12.services.AdGroupService.MutateAdGroups", + "fullName": "google.ads.googleads.v15.services.AdGroupService.MutateAdGroups", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/adGroups:mutate" + "path": "/v15/customers/{customer_id=*}/adGroups:mutate" } ] } @@ -2955,16 +2961,16 @@ }, { "shortName": "AdParameterService", - "fullName": "google.ads.googleads.v12.services.AdParameterService", + "fullName": "google.ads.googleads.v15.services.AdParameterService", "methods": [ { "shortName": "MutateAdParameters", - "fullName": "google.ads.googleads.v12.services.AdParameterService.MutateAdParameters", + "fullName": "google.ads.googleads.v15.services.AdParameterService.MutateAdParameters", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/adParameters:mutate" + "path": "/v15/customers/{customer_id=*}/adParameters:mutate" } ] } @@ -2972,27 +2978,27 @@ }, { "shortName": "AdService", - "fullName": "google.ads.googleads.v12.services.AdService", + "fullName": "google.ads.googleads.v15.services.AdService", "methods": [ { "shortName": "GetAd", - "fullName": "google.ads.googleads.v12.services.AdService.GetAd", + "fullName": "google.ads.googleads.v15.services.AdService.GetAd", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v12/{resource_name=customers/*/ads/*}" + "path": "/v15/{resource_name=customers/*/ads/*}" } ] }, { "shortName": "MutateAds", - "fullName": "google.ads.googleads.v12.services.AdService.MutateAds", + "fullName": "google.ads.googleads.v15.services.AdService.MutateAds", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/ads:mutate" + "path": "/v15/customers/{customer_id=*}/ads:mutate" } ] } @@ -3000,16 +3006,16 @@ }, { "shortName": "AssetGroupAssetService", - "fullName": "google.ads.googleads.v12.services.AssetGroupAssetService", + "fullName": "google.ads.googleads.v15.services.AssetGroupAssetService", "methods": [ { "shortName": "MutateAssetGroupAssets", - "fullName": "google.ads.googleads.v12.services.AssetGroupAssetService.MutateAssetGroupAssets", + "fullName": "google.ads.googleads.v15.services.AssetGroupAssetService.MutateAssetGroupAssets", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/assetGroupAssets:mutate" + "path": "/v15/customers/{customer_id=*}/assetGroupAssets:mutate" } ] } @@ -3017,16 +3023,16 @@ }, { "shortName": "AssetGroupListingGroupFilterService", - "fullName": "google.ads.googleads.v12.services.AssetGroupListingGroupFilterService", + "fullName": "google.ads.googleads.v15.services.AssetGroupListingGroupFilterService", "methods": [ { "shortName": "MutateAssetGroupListingGroupFilters", - "fullName": "google.ads.googleads.v12.services.AssetGroupListingGroupFilterService.MutateAssetGroupListingGroupFilters", + "fullName": "google.ads.googleads.v15.services.AssetGroupListingGroupFilterService.MutateAssetGroupListingGroupFilters", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/assetGroupListingGroupFilters:mutate" + "path": "/v15/customers/{customer_id=*}/assetGroupListingGroupFilters:mutate" } ] } @@ -3034,16 +3040,16 @@ }, { "shortName": "AssetGroupService", - "fullName": "google.ads.googleads.v12.services.AssetGroupService", + "fullName": "google.ads.googleads.v15.services.AssetGroupService", "methods": [ { "shortName": "MutateAssetGroups", - "fullName": "google.ads.googleads.v12.services.AssetGroupService.MutateAssetGroups", + "fullName": "google.ads.googleads.v15.services.AssetGroupService.MutateAssetGroups", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/assetGroups:mutate" + "path": "/v15/customers/{customer_id=*}/assetGroups:mutate" } ] } @@ -3051,16 +3057,16 @@ }, { "shortName": "AssetGroupSignalService", - "fullName": "google.ads.googleads.v12.services.AssetGroupSignalService", + "fullName": "google.ads.googleads.v15.services.AssetGroupSignalService", "methods": [ { "shortName": "MutateAssetGroupSignals", - "fullName": "google.ads.googleads.v12.services.AssetGroupSignalService.MutateAssetGroupSignals", + "fullName": "google.ads.googleads.v15.services.AssetGroupSignalService.MutateAssetGroupSignals", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/assetGroupSignals:mutate" + "path": "/v15/customers/{customer_id=*}/assetGroupSignals:mutate" } ] } @@ -3068,16 +3074,16 @@ }, { "shortName": "AssetService", - "fullName": "google.ads.googleads.v12.services.AssetService", + "fullName": "google.ads.googleads.v15.services.AssetService", "methods": [ { "shortName": "MutateAssets", - "fullName": "google.ads.googleads.v12.services.AssetService.MutateAssets", + "fullName": "google.ads.googleads.v15.services.AssetService.MutateAssets", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/assets:mutate" + "path": "/v15/customers/{customer_id=*}/assets:mutate" } ] } @@ -3085,16 +3091,16 @@ }, { "shortName": "AssetSetAssetService", - "fullName": "google.ads.googleads.v12.services.AssetSetAssetService", + "fullName": "google.ads.googleads.v15.services.AssetSetAssetService", "methods": [ { "shortName": "MutateAssetSetAssets", - "fullName": "google.ads.googleads.v12.services.AssetSetAssetService.MutateAssetSetAssets", + "fullName": "google.ads.googleads.v15.services.AssetSetAssetService.MutateAssetSetAssets", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/assetSetAssets:mutate" + "path": "/v15/customers/{customer_id=*}/assetSetAssets:mutate" } ] } @@ -3102,16 +3108,16 @@ }, { "shortName": "AssetSetService", - "fullName": "google.ads.googleads.v12.services.AssetSetService", + "fullName": "google.ads.googleads.v15.services.AssetSetService", "methods": [ { "shortName": "MutateAssetSets", - "fullName": "google.ads.googleads.v12.services.AssetSetService.MutateAssetSets", + "fullName": "google.ads.googleads.v15.services.AssetSetService.MutateAssetSets", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/assetSets:mutate" + "path": "/v15/customers/{customer_id=*}/assetSets:mutate" } ] } @@ -3119,49 +3125,60 @@ }, { "shortName": "AudienceInsightsService", - "fullName": "google.ads.googleads.v12.services.AudienceInsightsService", + "fullName": "google.ads.googleads.v15.services.AudienceInsightsService", "methods": [ { "shortName": "GenerateAudienceCompositionInsights", - "fullName": "google.ads.googleads.v12.services.AudienceInsightsService.GenerateAudienceCompositionInsights", + "fullName": "google.ads.googleads.v15.services.AudienceInsightsService.GenerateAudienceCompositionInsights", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}:generateAudienceCompositionInsights" + "path": "/v15/customers/{customer_id=*}:generateAudienceCompositionInsights" } ] }, { "shortName": "GenerateInsightsFinderReport", - "fullName": "google.ads.googleads.v12.services.AudienceInsightsService.GenerateInsightsFinderReport", + "fullName": "google.ads.googleads.v15.services.AudienceInsightsService.GenerateInsightsFinderReport", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}:generateInsightsFinderReport" + "path": "/v15/customers/{customer_id=*}:generateInsightsFinderReport" + } + ] + }, + { + "shortName": "GenerateSuggestedTargetingInsights", + "fullName": "google.ads.googleads.v15.services.AudienceInsightsService.GenerateSuggestedTargetingInsights", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v15/customers/{customer_id=*}:generateSuggestedTargetingInsights" } ] }, { "shortName": "ListAudienceInsightsAttributes", - "fullName": "google.ads.googleads.v12.services.AudienceInsightsService.ListAudienceInsightsAttributes", + "fullName": "google.ads.googleads.v15.services.AudienceInsightsService.ListAudienceInsightsAttributes", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}:searchAudienceInsightsAttributes" + "path": "/v15/customers/{customer_id=*}:searchAudienceInsightsAttributes" } ] }, { "shortName": "ListInsightsEligibleDates", - "fullName": "google.ads.googleads.v12.services.AudienceInsightsService.ListInsightsEligibleDates", + "fullName": "google.ads.googleads.v15.services.AudienceInsightsService.ListInsightsEligibleDates", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/audienceInsights:listInsightsEligibleDates" + "path": "/v15/audienceInsights:listInsightsEligibleDates" } ] } @@ -3169,16 +3186,16 @@ }, { "shortName": "AudienceService", - "fullName": "google.ads.googleads.v12.services.AudienceService", + "fullName": "google.ads.googleads.v15.services.AudienceService", "methods": [ { "shortName": "MutateAudiences", - "fullName": "google.ads.googleads.v12.services.AudienceService.MutateAudiences", + "fullName": "google.ads.googleads.v15.services.AudienceService.MutateAudiences", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/audiences:mutate" + "path": "/v15/customers/{customer_id=*}/audiences:mutate" } ] } @@ -3186,49 +3203,49 @@ }, { "shortName": "BatchJobService", - "fullName": "google.ads.googleads.v12.services.BatchJobService", + "fullName": "google.ads.googleads.v15.services.BatchJobService", "methods": [ { "shortName": "AddBatchJobOperations", - "fullName": "google.ads.googleads.v12.services.BatchJobService.AddBatchJobOperations", + "fullName": "google.ads.googleads.v15.services.BatchJobService.AddBatchJobOperations", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/{resource_name=customers/*/batchJobs/*}:addOperations" + "path": "/v15/{resource_name=customers/*/batchJobs/*}:addOperations" } ] }, { "shortName": "ListBatchJobResults", - "fullName": "google.ads.googleads.v12.services.BatchJobService.ListBatchJobResults", + "fullName": "google.ads.googleads.v15.services.BatchJobService.ListBatchJobResults", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v12/{resource_name=customers/*/batchJobs/*}:listResults" + "path": "/v15/{resource_name=customers/*/batchJobs/*}:listResults" } ] }, { "shortName": "MutateBatchJob", - "fullName": "google.ads.googleads.v12.services.BatchJobService.MutateBatchJob", + "fullName": "google.ads.googleads.v15.services.BatchJobService.MutateBatchJob", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/batchJobs:mutate" + "path": "/v15/customers/{customer_id=*}/batchJobs:mutate" } ] }, { "shortName": "RunBatchJob", - "fullName": "google.ads.googleads.v12.services.BatchJobService.RunBatchJob", + "fullName": "google.ads.googleads.v15.services.BatchJobService.RunBatchJob", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/{resource_name=customers/*/batchJobs/*}:run" + "path": "/v15/{resource_name=customers/*/batchJobs/*}:run" } ] } @@ -3236,16 +3253,16 @@ }, { "shortName": "BiddingDataExclusionService", - "fullName": "google.ads.googleads.v12.services.BiddingDataExclusionService", + "fullName": "google.ads.googleads.v15.services.BiddingDataExclusionService", "methods": [ { "shortName": "MutateBiddingDataExclusions", - "fullName": "google.ads.googleads.v12.services.BiddingDataExclusionService.MutateBiddingDataExclusions", + "fullName": "google.ads.googleads.v15.services.BiddingDataExclusionService.MutateBiddingDataExclusions", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/biddingDataExclusions:mutate" + "path": "/v15/customers/{customer_id=*}/biddingDataExclusions:mutate" } ] } @@ -3253,16 +3270,16 @@ }, { "shortName": "BiddingSeasonalityAdjustmentService", - "fullName": "google.ads.googleads.v12.services.BiddingSeasonalityAdjustmentService", + "fullName": "google.ads.googleads.v15.services.BiddingSeasonalityAdjustmentService", "methods": [ { "shortName": "MutateBiddingSeasonalityAdjustments", - "fullName": "google.ads.googleads.v12.services.BiddingSeasonalityAdjustmentService.MutateBiddingSeasonalityAdjustments", + "fullName": "google.ads.googleads.v15.services.BiddingSeasonalityAdjustmentService.MutateBiddingSeasonalityAdjustments", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/biddingSeasonalityAdjustments:mutate" + "path": "/v15/customers/{customer_id=*}/biddingSeasonalityAdjustments:mutate" } ] } @@ -3270,16 +3287,16 @@ }, { "shortName": "BiddingStrategyService", - "fullName": "google.ads.googleads.v12.services.BiddingStrategyService", + "fullName": "google.ads.googleads.v15.services.BiddingStrategyService", "methods": [ { "shortName": "MutateBiddingStrategies", - "fullName": "google.ads.googleads.v12.services.BiddingStrategyService.MutateBiddingStrategies", + "fullName": "google.ads.googleads.v15.services.BiddingStrategyService.MutateBiddingStrategies", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/biddingStrategies:mutate" + "path": "/v15/customers/{customer_id=*}/biddingStrategies:mutate" } ] } @@ -3287,16 +3304,33 @@ }, { "shortName": "BillingSetupService", - "fullName": "google.ads.googleads.v12.services.BillingSetupService", + "fullName": "google.ads.googleads.v15.services.BillingSetupService", "methods": [ { "shortName": "MutateBillingSetup", - "fullName": "google.ads.googleads.v12.services.BillingSetupService.MutateBillingSetup", + "fullName": "google.ads.googleads.v15.services.BillingSetupService.MutateBillingSetup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v15/customers/{customer_id=*}/billingSetups:mutate" + } + ] + } + ] + }, + { + "shortName": "BrandSuggestionService", + "fullName": "google.ads.googleads.v15.services.BrandSuggestionService", + "methods": [ + { + "shortName": "SuggestBrands", + "fullName": "google.ads.googleads.v15.services.BrandSuggestionService.SuggestBrands", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/billingSetups:mutate" + "path": "/v15/customers/{customer_id=*}:suggestBrands" } ] } @@ -3304,16 +3338,16 @@ }, { "shortName": "CampaignAssetService", - "fullName": "google.ads.googleads.v12.services.CampaignAssetService", + "fullName": "google.ads.googleads.v15.services.CampaignAssetService", "methods": [ { "shortName": "MutateCampaignAssets", - "fullName": "google.ads.googleads.v12.services.CampaignAssetService.MutateCampaignAssets", + "fullName": "google.ads.googleads.v15.services.CampaignAssetService.MutateCampaignAssets", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/campaignAssets:mutate" + "path": "/v15/customers/{customer_id=*}/campaignAssets:mutate" } ] } @@ -3321,16 +3355,16 @@ }, { "shortName": "CampaignAssetSetService", - "fullName": "google.ads.googleads.v12.services.CampaignAssetSetService", + "fullName": "google.ads.googleads.v15.services.CampaignAssetSetService", "methods": [ { "shortName": "MutateCampaignAssetSets", - "fullName": "google.ads.googleads.v12.services.CampaignAssetSetService.MutateCampaignAssetSets", + "fullName": "google.ads.googleads.v15.services.CampaignAssetSetService.MutateCampaignAssetSets", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/campaignAssetSets:mutate" + "path": "/v15/customers/{customer_id=*}/campaignAssetSets:mutate" } ] } @@ -3338,16 +3372,16 @@ }, { "shortName": "CampaignBidModifierService", - "fullName": "google.ads.googleads.v12.services.CampaignBidModifierService", + "fullName": "google.ads.googleads.v15.services.CampaignBidModifierService", "methods": [ { "shortName": "MutateCampaignBidModifiers", - "fullName": "google.ads.googleads.v12.services.CampaignBidModifierService.MutateCampaignBidModifiers", + "fullName": "google.ads.googleads.v15.services.CampaignBidModifierService.MutateCampaignBidModifiers", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/campaignBidModifiers:mutate" + "path": "/v15/customers/{customer_id=*}/campaignBidModifiers:mutate" } ] } @@ -3355,16 +3389,16 @@ }, { "shortName": "CampaignBudgetService", - "fullName": "google.ads.googleads.v12.services.CampaignBudgetService", + "fullName": "google.ads.googleads.v15.services.CampaignBudgetService", "methods": [ { "shortName": "MutateCampaignBudgets", - "fullName": "google.ads.googleads.v12.services.CampaignBudgetService.MutateCampaignBudgets", + "fullName": "google.ads.googleads.v15.services.CampaignBudgetService.MutateCampaignBudgets", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/campaignBudgets:mutate" + "path": "/v15/customers/{customer_id=*}/campaignBudgets:mutate" } ] } @@ -3372,16 +3406,16 @@ }, { "shortName": "CampaignConversionGoalService", - "fullName": "google.ads.googleads.v12.services.CampaignConversionGoalService", + "fullName": "google.ads.googleads.v15.services.CampaignConversionGoalService", "methods": [ { "shortName": "MutateCampaignConversionGoals", - "fullName": "google.ads.googleads.v12.services.CampaignConversionGoalService.MutateCampaignConversionGoals", + "fullName": "google.ads.googleads.v15.services.CampaignConversionGoalService.MutateCampaignConversionGoals", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/campaignConversionGoals:mutate" + "path": "/v15/customers/{customer_id=*}/campaignConversionGoals:mutate" } ] } @@ -3389,16 +3423,16 @@ }, { "shortName": "CampaignCriterionService", - "fullName": "google.ads.googleads.v12.services.CampaignCriterionService", + "fullName": "google.ads.googleads.v15.services.CampaignCriterionService", "methods": [ { "shortName": "MutateCampaignCriteria", - "fullName": "google.ads.googleads.v12.services.CampaignCriterionService.MutateCampaignCriteria", + "fullName": "google.ads.googleads.v15.services.CampaignCriterionService.MutateCampaignCriteria", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/campaignCriteria:mutate" + "path": "/v15/customers/{customer_id=*}/campaignCriteria:mutate" } ] } @@ -3406,16 +3440,16 @@ }, { "shortName": "CampaignCustomizerService", - "fullName": "google.ads.googleads.v12.services.CampaignCustomizerService", + "fullName": "google.ads.googleads.v15.services.CampaignCustomizerService", "methods": [ { "shortName": "MutateCampaignCustomizers", - "fullName": "google.ads.googleads.v12.services.CampaignCustomizerService.MutateCampaignCustomizers", + "fullName": "google.ads.googleads.v15.services.CampaignCustomizerService.MutateCampaignCustomizers", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/campaignCustomizers:mutate" + "path": "/v15/customers/{customer_id=*}/campaignCustomizers:mutate" } ] } @@ -3423,38 +3457,38 @@ }, { "shortName": "CampaignDraftService", - "fullName": "google.ads.googleads.v12.services.CampaignDraftService", + "fullName": "google.ads.googleads.v15.services.CampaignDraftService", "methods": [ { "shortName": "ListCampaignDraftAsyncErrors", - "fullName": "google.ads.googleads.v12.services.CampaignDraftService.ListCampaignDraftAsyncErrors", + "fullName": "google.ads.googleads.v15.services.CampaignDraftService.ListCampaignDraftAsyncErrors", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v12/{resource_name=customers/*/campaignDrafts/*}:listAsyncErrors" + "path": "/v15/{resource_name=customers/*/campaignDrafts/*}:listAsyncErrors" } ] }, { "shortName": "MutateCampaignDrafts", - "fullName": "google.ads.googleads.v12.services.CampaignDraftService.MutateCampaignDrafts", + "fullName": "google.ads.googleads.v15.services.CampaignDraftService.MutateCampaignDrafts", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/campaignDrafts:mutate" + "path": "/v15/customers/{customer_id=*}/campaignDrafts:mutate" } ] }, { "shortName": "PromoteCampaignDraft", - "fullName": "google.ads.googleads.v12.services.CampaignDraftService.PromoteCampaignDraft", + "fullName": "google.ads.googleads.v15.services.CampaignDraftService.PromoteCampaignDraft", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/{campaign_draft=customers/*/campaignDrafts/*}:promote" + "path": "/v15/{campaign_draft=customers/*/campaignDrafts/*}:promote" } ] } @@ -3462,16 +3496,16 @@ }, { "shortName": "CampaignExtensionSettingService", - "fullName": "google.ads.googleads.v12.services.CampaignExtensionSettingService", + "fullName": "google.ads.googleads.v15.services.CampaignExtensionSettingService", "methods": [ { "shortName": "MutateCampaignExtensionSettings", - "fullName": "google.ads.googleads.v12.services.CampaignExtensionSettingService.MutateCampaignExtensionSettings", + "fullName": "google.ads.googleads.v15.services.CampaignExtensionSettingService.MutateCampaignExtensionSettings", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/campaignExtensionSettings:mutate" + "path": "/v15/customers/{customer_id=*}/campaignExtensionSettings:mutate" } ] } @@ -3479,16 +3513,16 @@ }, { "shortName": "CampaignFeedService", - "fullName": "google.ads.googleads.v12.services.CampaignFeedService", + "fullName": "google.ads.googleads.v15.services.CampaignFeedService", "methods": [ { "shortName": "MutateCampaignFeeds", - "fullName": "google.ads.googleads.v12.services.CampaignFeedService.MutateCampaignFeeds", + "fullName": "google.ads.googleads.v15.services.CampaignFeedService.MutateCampaignFeeds", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/campaignFeeds:mutate" + "path": "/v15/customers/{customer_id=*}/campaignFeeds:mutate" } ] } @@ -3496,16 +3530,16 @@ }, { "shortName": "CampaignGroupService", - "fullName": "google.ads.googleads.v12.services.CampaignGroupService", + "fullName": "google.ads.googleads.v15.services.CampaignGroupService", "methods": [ { "shortName": "MutateCampaignGroups", - "fullName": "google.ads.googleads.v12.services.CampaignGroupService.MutateCampaignGroups", + "fullName": "google.ads.googleads.v15.services.CampaignGroupService.MutateCampaignGroups", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/campaignGroups:mutate" + "path": "/v15/customers/{customer_id=*}/campaignGroups:mutate" } ] } @@ -3513,16 +3547,33 @@ }, { "shortName": "CampaignLabelService", - "fullName": "google.ads.googleads.v12.services.CampaignLabelService", + "fullName": "google.ads.googleads.v15.services.CampaignLabelService", "methods": [ { "shortName": "MutateCampaignLabels", - "fullName": "google.ads.googleads.v12.services.CampaignLabelService.MutateCampaignLabels", + "fullName": "google.ads.googleads.v15.services.CampaignLabelService.MutateCampaignLabels", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v15/customers/{customer_id=*}/campaignLabels:mutate" + } + ] + } + ] + }, + { + "shortName": "CampaignLifecycleService", + "fullName": "google.ads.googleads.v15.services.CampaignLifecycleService", + "methods": [ + { + "shortName": "ConfigureCampaignLifecycleGoals", + "fullName": "google.ads.googleads.v15.services.CampaignLifecycleService.ConfigureCampaignLifecycleGoals", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/campaignLabels:mutate" + "path": "/v15/customers/{customer_id=*}/campaignLifecycleGoal:configureCampaignLifecycleGoals" } ] } @@ -3530,16 +3581,16 @@ }, { "shortName": "CampaignService", - "fullName": "google.ads.googleads.v12.services.CampaignService", + "fullName": "google.ads.googleads.v15.services.CampaignService", "methods": [ { "shortName": "MutateCampaigns", - "fullName": "google.ads.googleads.v12.services.CampaignService.MutateCampaigns", + "fullName": "google.ads.googleads.v15.services.CampaignService.MutateCampaigns", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/campaigns:mutate" + "path": "/v15/customers/{customer_id=*}/campaigns:mutate" } ] } @@ -3547,16 +3598,16 @@ }, { "shortName": "CampaignSharedSetService", - "fullName": "google.ads.googleads.v12.services.CampaignSharedSetService", + "fullName": "google.ads.googleads.v15.services.CampaignSharedSetService", "methods": [ { "shortName": "MutateCampaignSharedSets", - "fullName": "google.ads.googleads.v12.services.CampaignSharedSetService.MutateCampaignSharedSets", + "fullName": "google.ads.googleads.v15.services.CampaignSharedSetService.MutateCampaignSharedSets", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/campaignSharedSets:mutate" + "path": "/v15/customers/{customer_id=*}/campaignSharedSets:mutate" } ] } @@ -3564,16 +3615,16 @@ }, { "shortName": "ConversionActionService", - "fullName": "google.ads.googleads.v12.services.ConversionActionService", + "fullName": "google.ads.googleads.v15.services.ConversionActionService", "methods": [ { "shortName": "MutateConversionActions", - "fullName": "google.ads.googleads.v12.services.ConversionActionService.MutateConversionActions", + "fullName": "google.ads.googleads.v15.services.ConversionActionService.MutateConversionActions", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/conversionActions:mutate" + "path": "/v15/customers/{customer_id=*}/conversionActions:mutate" } ] } @@ -3581,16 +3632,16 @@ }, { "shortName": "ConversionAdjustmentUploadService", - "fullName": "google.ads.googleads.v12.services.ConversionAdjustmentUploadService", + "fullName": "google.ads.googleads.v15.services.ConversionAdjustmentUploadService", "methods": [ { "shortName": "UploadConversionAdjustments", - "fullName": "google.ads.googleads.v12.services.ConversionAdjustmentUploadService.UploadConversionAdjustments", + "fullName": "google.ads.googleads.v15.services.ConversionAdjustmentUploadService.UploadConversionAdjustments", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}:uploadConversionAdjustments" + "path": "/v15/customers/{customer_id=*}:uploadConversionAdjustments" } ] } @@ -3598,16 +3649,16 @@ }, { "shortName": "ConversionCustomVariableService", - "fullName": "google.ads.googleads.v12.services.ConversionCustomVariableService", + "fullName": "google.ads.googleads.v15.services.ConversionCustomVariableService", "methods": [ { "shortName": "MutateConversionCustomVariables", - "fullName": "google.ads.googleads.v12.services.ConversionCustomVariableService.MutateConversionCustomVariables", + "fullName": "google.ads.googleads.v15.services.ConversionCustomVariableService.MutateConversionCustomVariables", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/conversionCustomVariables:mutate" + "path": "/v15/customers/{customer_id=*}/conversionCustomVariables:mutate" } ] } @@ -3615,16 +3666,16 @@ }, { "shortName": "ConversionGoalCampaignConfigService", - "fullName": "google.ads.googleads.v12.services.ConversionGoalCampaignConfigService", + "fullName": "google.ads.googleads.v15.services.ConversionGoalCampaignConfigService", "methods": [ { "shortName": "MutateConversionGoalCampaignConfigs", - "fullName": "google.ads.googleads.v12.services.ConversionGoalCampaignConfigService.MutateConversionGoalCampaignConfigs", + "fullName": "google.ads.googleads.v15.services.ConversionGoalCampaignConfigService.MutateConversionGoalCampaignConfigs", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/conversionGoalCampaignConfigs:mutate" + "path": "/v15/customers/{customer_id=*}/conversionGoalCampaignConfigs:mutate" } ] } @@ -3632,27 +3683,27 @@ }, { "shortName": "ConversionUploadService", - "fullName": "google.ads.googleads.v12.services.ConversionUploadService", + "fullName": "google.ads.googleads.v15.services.ConversionUploadService", "methods": [ { "shortName": "UploadCallConversions", - "fullName": "google.ads.googleads.v12.services.ConversionUploadService.UploadCallConversions", + "fullName": "google.ads.googleads.v15.services.ConversionUploadService.UploadCallConversions", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}:uploadCallConversions" + "path": "/v15/customers/{customer_id=*}:uploadCallConversions" } ] }, { "shortName": "UploadClickConversions", - "fullName": "google.ads.googleads.v12.services.ConversionUploadService.UploadClickConversions", + "fullName": "google.ads.googleads.v15.services.ConversionUploadService.UploadClickConversions", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}:uploadClickConversions" + "path": "/v15/customers/{customer_id=*}:uploadClickConversions" } ] } @@ -3660,16 +3711,16 @@ }, { "shortName": "ConversionValueRuleService", - "fullName": "google.ads.googleads.v12.services.ConversionValueRuleService", + "fullName": "google.ads.googleads.v15.services.ConversionValueRuleService", "methods": [ { "shortName": "MutateConversionValueRules", - "fullName": "google.ads.googleads.v12.services.ConversionValueRuleService.MutateConversionValueRules", + "fullName": "google.ads.googleads.v15.services.ConversionValueRuleService.MutateConversionValueRules", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/conversionValueRules:mutate" + "path": "/v15/customers/{customer_id=*}/conversionValueRules:mutate" } ] } @@ -3677,16 +3728,16 @@ }, { "shortName": "ConversionValueRuleSetService", - "fullName": "google.ads.googleads.v12.services.ConversionValueRuleSetService", + "fullName": "google.ads.googleads.v15.services.ConversionValueRuleSetService", "methods": [ { "shortName": "MutateConversionValueRuleSets", - "fullName": "google.ads.googleads.v12.services.ConversionValueRuleSetService.MutateConversionValueRuleSets", + "fullName": "google.ads.googleads.v15.services.ConversionValueRuleSetService.MutateConversionValueRuleSets", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/conversionValueRuleSets:mutate" + "path": "/v15/customers/{customer_id=*}/conversionValueRuleSets:mutate" } ] } @@ -3694,16 +3745,16 @@ }, { "shortName": "CustomAudienceService", - "fullName": "google.ads.googleads.v12.services.CustomAudienceService", + "fullName": "google.ads.googleads.v15.services.CustomAudienceService", "methods": [ { "shortName": "MutateCustomAudiences", - "fullName": "google.ads.googleads.v12.services.CustomAudienceService.MutateCustomAudiences", + "fullName": "google.ads.googleads.v15.services.CustomAudienceService.MutateCustomAudiences", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/customAudiences:mutate" + "path": "/v15/customers/{customer_id=*}/customAudiences:mutate" } ] } @@ -3711,16 +3762,16 @@ }, { "shortName": "CustomConversionGoalService", - "fullName": "google.ads.googleads.v12.services.CustomConversionGoalService", + "fullName": "google.ads.googleads.v15.services.CustomConversionGoalService", "methods": [ { "shortName": "MutateCustomConversionGoals", - "fullName": "google.ads.googleads.v12.services.CustomConversionGoalService.MutateCustomConversionGoals", + "fullName": "google.ads.googleads.v15.services.CustomConversionGoalService.MutateCustomConversionGoals", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/customConversionGoals:mutate" + "path": "/v15/customers/{customer_id=*}/customConversionGoals:mutate" } ] } @@ -3728,16 +3779,16 @@ }, { "shortName": "CustomInterestService", - "fullName": "google.ads.googleads.v12.services.CustomInterestService", + "fullName": "google.ads.googleads.v15.services.CustomInterestService", "methods": [ { "shortName": "MutateCustomInterests", - "fullName": "google.ads.googleads.v12.services.CustomInterestService.MutateCustomInterests", + "fullName": "google.ads.googleads.v15.services.CustomInterestService.MutateCustomInterests", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/customInterests:mutate" + "path": "/v15/customers/{customer_id=*}/customInterests:mutate" } ] } @@ -3745,16 +3796,16 @@ }, { "shortName": "CustomerAssetService", - "fullName": "google.ads.googleads.v12.services.CustomerAssetService", + "fullName": "google.ads.googleads.v15.services.CustomerAssetService", "methods": [ { "shortName": "MutateCustomerAssets", - "fullName": "google.ads.googleads.v12.services.CustomerAssetService.MutateCustomerAssets", + "fullName": "google.ads.googleads.v15.services.CustomerAssetService.MutateCustomerAssets", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/customerAssets:mutate" + "path": "/v15/customers/{customer_id=*}/customerAssets:mutate" } ] } @@ -3762,16 +3813,16 @@ }, { "shortName": "CustomerAssetSetService", - "fullName": "google.ads.googleads.v12.services.CustomerAssetSetService", + "fullName": "google.ads.googleads.v15.services.CustomerAssetSetService", "methods": [ { "shortName": "MutateCustomerAssetSets", - "fullName": "google.ads.googleads.v12.services.CustomerAssetSetService.MutateCustomerAssetSets", + "fullName": "google.ads.googleads.v15.services.CustomerAssetSetService.MutateCustomerAssetSets", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/customerAssetSets:mutate" + "path": "/v15/customers/{customer_id=*}/customerAssetSets:mutate" } ] } @@ -3779,16 +3830,16 @@ }, { "shortName": "CustomerClientLinkService", - "fullName": "google.ads.googleads.v12.services.CustomerClientLinkService", + "fullName": "google.ads.googleads.v15.services.CustomerClientLinkService", "methods": [ { "shortName": "MutateCustomerClientLink", - "fullName": "google.ads.googleads.v12.services.CustomerClientLinkService.MutateCustomerClientLink", + "fullName": "google.ads.googleads.v15.services.CustomerClientLinkService.MutateCustomerClientLink", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/customerClientLinks:mutate" + "path": "/v15/customers/{customer_id=*}/customerClientLinks:mutate" } ] } @@ -3796,16 +3847,16 @@ }, { "shortName": "CustomerConversionGoalService", - "fullName": "google.ads.googleads.v12.services.CustomerConversionGoalService", + "fullName": "google.ads.googleads.v15.services.CustomerConversionGoalService", "methods": [ { "shortName": "MutateCustomerConversionGoals", - "fullName": "google.ads.googleads.v12.services.CustomerConversionGoalService.MutateCustomerConversionGoals", + "fullName": "google.ads.googleads.v15.services.CustomerConversionGoalService.MutateCustomerConversionGoals", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/customerConversionGoals:mutate" + "path": "/v15/customers/{customer_id=*}/customerConversionGoals:mutate" } ] } @@ -3813,16 +3864,16 @@ }, { "shortName": "CustomerCustomizerService", - "fullName": "google.ads.googleads.v12.services.CustomerCustomizerService", + "fullName": "google.ads.googleads.v15.services.CustomerCustomizerService", "methods": [ { "shortName": "MutateCustomerCustomizers", - "fullName": "google.ads.googleads.v12.services.CustomerCustomizerService.MutateCustomerCustomizers", + "fullName": "google.ads.googleads.v15.services.CustomerCustomizerService.MutateCustomerCustomizers", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/CustomerCustomizers:mutate" + "path": "/v15/customers/{customer_id=*}/CustomerCustomizers:mutate" } ] } @@ -3830,16 +3881,16 @@ }, { "shortName": "CustomerExtensionSettingService", - "fullName": "google.ads.googleads.v12.services.CustomerExtensionSettingService", + "fullName": "google.ads.googleads.v15.services.CustomerExtensionSettingService", "methods": [ { "shortName": "MutateCustomerExtensionSettings", - "fullName": "google.ads.googleads.v12.services.CustomerExtensionSettingService.MutateCustomerExtensionSettings", + "fullName": "google.ads.googleads.v15.services.CustomerExtensionSettingService.MutateCustomerExtensionSettings", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/customerExtensionSettings:mutate" + "path": "/v15/customers/{customer_id=*}/customerExtensionSettings:mutate" } ] } @@ -3847,16 +3898,16 @@ }, { "shortName": "CustomerFeedService", - "fullName": "google.ads.googleads.v12.services.CustomerFeedService", + "fullName": "google.ads.googleads.v15.services.CustomerFeedService", "methods": [ { "shortName": "MutateCustomerFeeds", - "fullName": "google.ads.googleads.v12.services.CustomerFeedService.MutateCustomerFeeds", + "fullName": "google.ads.googleads.v15.services.CustomerFeedService.MutateCustomerFeeds", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/customerFeeds:mutate" + "path": "/v15/customers/{customer_id=*}/customerFeeds:mutate" } ] } @@ -3864,16 +3915,33 @@ }, { "shortName": "CustomerLabelService", - "fullName": "google.ads.googleads.v12.services.CustomerLabelService", + "fullName": "google.ads.googleads.v15.services.CustomerLabelService", "methods": [ { "shortName": "MutateCustomerLabels", - "fullName": "google.ads.googleads.v12.services.CustomerLabelService.MutateCustomerLabels", + "fullName": "google.ads.googleads.v15.services.CustomerLabelService.MutateCustomerLabels", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v15/customers/{customer_id=*}/customerLabels:mutate" + } + ] + } + ] + }, + { + "shortName": "CustomerLifecycleService", + "fullName": "google.ads.googleads.v15.services.CustomerLifecycleService", + "methods": [ + { + "shortName": "ConfigureCustomerLifecycleGoals", + "fullName": "google.ads.googleads.v15.services.CustomerLifecycleService.ConfigureCustomerLifecycleGoals", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/customerLabels:mutate" + "path": "/v15/customers/{customer_id=*}/customerLifecycleGoal:configureCustomerLifecycleGoals" } ] } @@ -3881,27 +3949,27 @@ }, { "shortName": "CustomerManagerLinkService", - "fullName": "google.ads.googleads.v12.services.CustomerManagerLinkService", + "fullName": "google.ads.googleads.v15.services.CustomerManagerLinkService", "methods": [ { "shortName": "MoveManagerLink", - "fullName": "google.ads.googleads.v12.services.CustomerManagerLinkService.MoveManagerLink", + "fullName": "google.ads.googleads.v15.services.CustomerManagerLinkService.MoveManagerLink", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/customerManagerLinks:moveManagerLink" + "path": "/v15/customers/{customer_id=*}/customerManagerLinks:moveManagerLink" } ] }, { "shortName": "MutateCustomerManagerLink", - "fullName": "google.ads.googleads.v12.services.CustomerManagerLinkService.MutateCustomerManagerLink", + "fullName": "google.ads.googleads.v15.services.CustomerManagerLinkService.MutateCustomerManagerLink", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/customerManagerLinks:mutate" + "path": "/v15/customers/{customer_id=*}/customerManagerLinks:mutate" } ] } @@ -3909,16 +3977,16 @@ }, { "shortName": "CustomerNegativeCriterionService", - "fullName": "google.ads.googleads.v12.services.CustomerNegativeCriterionService", + "fullName": "google.ads.googleads.v15.services.CustomerNegativeCriterionService", "methods": [ { "shortName": "MutateCustomerNegativeCriteria", - "fullName": "google.ads.googleads.v12.services.CustomerNegativeCriterionService.MutateCustomerNegativeCriteria", + "fullName": "google.ads.googleads.v15.services.CustomerNegativeCriterionService.MutateCustomerNegativeCriteria", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/customerNegativeCriteria:mutate" + "path": "/v15/customers/{customer_id=*}/customerNegativeCriteria:mutate" } ] } @@ -3926,38 +3994,55 @@ }, { "shortName": "CustomerService", - "fullName": "google.ads.googleads.v12.services.CustomerService", + "fullName": "google.ads.googleads.v15.services.CustomerService", "methods": [ { "shortName": "CreateCustomerClient", - "fullName": "google.ads.googleads.v12.services.CustomerService.CreateCustomerClient", + "fullName": "google.ads.googleads.v15.services.CustomerService.CreateCustomerClient", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}:createCustomerClient" + "path": "/v15/customers/{customer_id=*}:createCustomerClient" } ] }, { "shortName": "ListAccessibleCustomers", - "fullName": "google.ads.googleads.v12.services.CustomerService.ListAccessibleCustomers", + "fullName": "google.ads.googleads.v15.services.CustomerService.ListAccessibleCustomers", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v12/customers:listAccessibleCustomers" + "path": "/v15/customers:listAccessibleCustomers" } ] }, { "shortName": "MutateCustomer", - "fullName": "google.ads.googleads.v12.services.CustomerService.MutateCustomer", + "fullName": "google.ads.googleads.v15.services.CustomerService.MutateCustomer", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}:mutate" + "path": "/v15/customers/{customer_id=*}:mutate" + } + ] + } + ] + }, + { + "shortName": "CustomerSkAdNetworkConversionValueSchemaService", + "fullName": "google.ads.googleads.v15.services.CustomerSkAdNetworkConversionValueSchemaService", + "methods": [ + { + "shortName": "MutateCustomerSkAdNetworkConversionValueSchema", + "fullName": "google.ads.googleads.v15.services.CustomerSkAdNetworkConversionValueSchemaService.MutateCustomerSkAdNetworkConversionValueSchema", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v15/customers/{customer_id=*}/customerSkAdNetworkConversionValueSchemas:mutate" } ] } @@ -3965,16 +4050,16 @@ }, { "shortName": "CustomerUserAccessInvitationService", - "fullName": "google.ads.googleads.v12.services.CustomerUserAccessInvitationService", + "fullName": "google.ads.googleads.v15.services.CustomerUserAccessInvitationService", "methods": [ { "shortName": "MutateCustomerUserAccessInvitation", - "fullName": "google.ads.googleads.v12.services.CustomerUserAccessInvitationService.MutateCustomerUserAccessInvitation", + "fullName": "google.ads.googleads.v15.services.CustomerUserAccessInvitationService.MutateCustomerUserAccessInvitation", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/customerUserAccessInvitations:mutate" + "path": "/v15/customers/{customer_id=*}/customerUserAccessInvitations:mutate" } ] } @@ -3982,16 +4067,16 @@ }, { "shortName": "CustomerUserAccessService", - "fullName": "google.ads.googleads.v12.services.CustomerUserAccessService", + "fullName": "google.ads.googleads.v15.services.CustomerUserAccessService", "methods": [ { "shortName": "MutateCustomerUserAccess", - "fullName": "google.ads.googleads.v12.services.CustomerUserAccessService.MutateCustomerUserAccess", + "fullName": "google.ads.googleads.v15.services.CustomerUserAccessService.MutateCustomerUserAccess", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/customerUserAccesses:mutate" + "path": "/v15/customers/{customer_id=*}/customerUserAccesses:mutate" } ] } @@ -3999,16 +4084,16 @@ }, { "shortName": "CustomizerAttributeService", - "fullName": "google.ads.googleads.v12.services.CustomizerAttributeService", + "fullName": "google.ads.googleads.v15.services.CustomizerAttributeService", "methods": [ { "shortName": "MutateCustomizerAttributes", - "fullName": "google.ads.googleads.v12.services.CustomizerAttributeService.MutateCustomizerAttributes", + "fullName": "google.ads.googleads.v15.services.CustomizerAttributeService.MutateCustomizerAttributes", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/customizerAttributes:mutate" + "path": "/v15/customers/{customer_id=*}/customizerAttributes:mutate" } ] } @@ -4016,16 +4101,16 @@ }, { "shortName": "ExperimentArmService", - "fullName": "google.ads.googleads.v12.services.ExperimentArmService", + "fullName": "google.ads.googleads.v15.services.ExperimentArmService", "methods": [ { "shortName": "MutateExperimentArms", - "fullName": "google.ads.googleads.v12.services.ExperimentArmService.MutateExperimentArms", + "fullName": "google.ads.googleads.v15.services.ExperimentArmService.MutateExperimentArms", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/experimentArms:mutate" + "path": "/v15/customers/{customer_id=*}/experimentArms:mutate" } ] } @@ -4033,71 +4118,71 @@ }, { "shortName": "ExperimentService", - "fullName": "google.ads.googleads.v12.services.ExperimentService", + "fullName": "google.ads.googleads.v15.services.ExperimentService", "methods": [ { "shortName": "EndExperiment", - "fullName": "google.ads.googleads.v12.services.ExperimentService.EndExperiment", + "fullName": "google.ads.googleads.v15.services.ExperimentService.EndExperiment", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/{experiment=customers/*/experiments/*}:endExperiment" + "path": "/v15/{experiment=customers/*/experiments/*}:endExperiment" } ] }, { "shortName": "GraduateExperiment", - "fullName": "google.ads.googleads.v12.services.ExperimentService.GraduateExperiment", + "fullName": "google.ads.googleads.v15.services.ExperimentService.GraduateExperiment", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/{experiment=customers/*/experiments/*}:graduateExperiment" + "path": "/v15/{experiment=customers/*/experiments/*}:graduateExperiment" } ] }, { "shortName": "ListExperimentAsyncErrors", - "fullName": "google.ads.googleads.v12.services.ExperimentService.ListExperimentAsyncErrors", + "fullName": "google.ads.googleads.v15.services.ExperimentService.ListExperimentAsyncErrors", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v12/{resource_name=customers/*/experiments/*}:listExperimentAsyncErrors" + "path": "/v15/{resource_name=customers/*/experiments/*}:listExperimentAsyncErrors" } ] }, { "shortName": "MutateExperiments", - "fullName": "google.ads.googleads.v12.services.ExperimentService.MutateExperiments", + "fullName": "google.ads.googleads.v15.services.ExperimentService.MutateExperiments", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/experiments:mutate" + "path": "/v15/customers/{customer_id=*}/experiments:mutate" } ] }, { "shortName": "PromoteExperiment", - "fullName": "google.ads.googleads.v12.services.ExperimentService.PromoteExperiment", + "fullName": "google.ads.googleads.v15.services.ExperimentService.PromoteExperiment", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/{resource_name=customers/*/experiments/*}:promoteExperiment" + "path": "/v15/{resource_name=customers/*/experiments/*}:promoteExperiment" } ] }, { "shortName": "ScheduleExperiment", - "fullName": "google.ads.googleads.v12.services.ExperimentService.ScheduleExperiment", + "fullName": "google.ads.googleads.v15.services.ExperimentService.ScheduleExperiment", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/{resource_name=customers/*/experiments/*}:scheduleExperiment" + "path": "/v15/{resource_name=customers/*/experiments/*}:scheduleExperiment" } ] } @@ -4105,16 +4190,16 @@ }, { "shortName": "ExtensionFeedItemService", - "fullName": "google.ads.googleads.v12.services.ExtensionFeedItemService", + "fullName": "google.ads.googleads.v15.services.ExtensionFeedItemService", "methods": [ { "shortName": "MutateExtensionFeedItems", - "fullName": "google.ads.googleads.v12.services.ExtensionFeedItemService.MutateExtensionFeedItems", + "fullName": "google.ads.googleads.v15.services.ExtensionFeedItemService.MutateExtensionFeedItems", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/extensionFeedItems:mutate" + "path": "/v15/customers/{customer_id=*}/extensionFeedItems:mutate" } ] } @@ -4122,16 +4207,16 @@ }, { "shortName": "FeedItemService", - "fullName": "google.ads.googleads.v12.services.FeedItemService", + "fullName": "google.ads.googleads.v15.services.FeedItemService", "methods": [ { "shortName": "MutateFeedItems", - "fullName": "google.ads.googleads.v12.services.FeedItemService.MutateFeedItems", + "fullName": "google.ads.googleads.v15.services.FeedItemService.MutateFeedItems", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/feedItems:mutate" + "path": "/v15/customers/{customer_id=*}/feedItems:mutate" } ] } @@ -4139,16 +4224,16 @@ }, { "shortName": "FeedItemSetLinkService", - "fullName": "google.ads.googleads.v12.services.FeedItemSetLinkService", + "fullName": "google.ads.googleads.v15.services.FeedItemSetLinkService", "methods": [ { "shortName": "MutateFeedItemSetLinks", - "fullName": "google.ads.googleads.v12.services.FeedItemSetLinkService.MutateFeedItemSetLinks", + "fullName": "google.ads.googleads.v15.services.FeedItemSetLinkService.MutateFeedItemSetLinks", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/feedItemSetLinks:mutate" + "path": "/v15/customers/{customer_id=*}/feedItemSetLinks:mutate" } ] } @@ -4156,16 +4241,16 @@ }, { "shortName": "FeedItemSetService", - "fullName": "google.ads.googleads.v12.services.FeedItemSetService", + "fullName": "google.ads.googleads.v15.services.FeedItemSetService", "methods": [ { "shortName": "MutateFeedItemSets", - "fullName": "google.ads.googleads.v12.services.FeedItemSetService.MutateFeedItemSets", + "fullName": "google.ads.googleads.v15.services.FeedItemSetService.MutateFeedItemSets", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/feedItemSets:mutate" + "path": "/v15/customers/{customer_id=*}/feedItemSets:mutate" } ] } @@ -4173,16 +4258,16 @@ }, { "shortName": "FeedItemTargetService", - "fullName": "google.ads.googleads.v12.services.FeedItemTargetService", + "fullName": "google.ads.googleads.v15.services.FeedItemTargetService", "methods": [ { "shortName": "MutateFeedItemTargets", - "fullName": "google.ads.googleads.v12.services.FeedItemTargetService.MutateFeedItemTargets", + "fullName": "google.ads.googleads.v15.services.FeedItemTargetService.MutateFeedItemTargets", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/feedItemTargets:mutate" + "path": "/v15/customers/{customer_id=*}/feedItemTargets:mutate" } ] } @@ -4190,16 +4275,16 @@ }, { "shortName": "FeedMappingService", - "fullName": "google.ads.googleads.v12.services.FeedMappingService", + "fullName": "google.ads.googleads.v15.services.FeedMappingService", "methods": [ { "shortName": "MutateFeedMappings", - "fullName": "google.ads.googleads.v12.services.FeedMappingService.MutateFeedMappings", + "fullName": "google.ads.googleads.v15.services.FeedMappingService.MutateFeedMappings", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/feedMappings:mutate" + "path": "/v15/customers/{customer_id=*}/feedMappings:mutate" } ] } @@ -4207,16 +4292,16 @@ }, { "shortName": "FeedService", - "fullName": "google.ads.googleads.v12.services.FeedService", + "fullName": "google.ads.googleads.v15.services.FeedService", "methods": [ { "shortName": "MutateFeeds", - "fullName": "google.ads.googleads.v12.services.FeedService.MutateFeeds", + "fullName": "google.ads.googleads.v15.services.FeedService.MutateFeeds", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/feeds:mutate" + "path": "/v15/customers/{customer_id=*}/feeds:mutate" } ] } @@ -4224,16 +4309,16 @@ }, { "shortName": "GeoTargetConstantService", - "fullName": "google.ads.googleads.v12.services.GeoTargetConstantService", + "fullName": "google.ads.googleads.v15.services.GeoTargetConstantService", "methods": [ { "shortName": "SuggestGeoTargetConstants", - "fullName": "google.ads.googleads.v12.services.GeoTargetConstantService.SuggestGeoTargetConstants", + "fullName": "google.ads.googleads.v15.services.GeoTargetConstantService.SuggestGeoTargetConstants", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/geoTargetConstants:suggest" + "path": "/v15/geoTargetConstants:suggest" } ] } @@ -4241,27 +4326,27 @@ }, { "shortName": "GoogleAdsFieldService", - "fullName": "google.ads.googleads.v12.services.GoogleAdsFieldService", + "fullName": "google.ads.googleads.v15.services.GoogleAdsFieldService", "methods": [ { "shortName": "GetGoogleAdsField", - "fullName": "google.ads.googleads.v12.services.GoogleAdsFieldService.GetGoogleAdsField", + "fullName": "google.ads.googleads.v15.services.GoogleAdsFieldService.GetGoogleAdsField", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v12/{resource_name=googleAdsFields/*}" + "path": "/v15/{resource_name=googleAdsFields/*}" } ] }, { "shortName": "SearchGoogleAdsFields", - "fullName": "google.ads.googleads.v12.services.GoogleAdsFieldService.SearchGoogleAdsFields", + "fullName": "google.ads.googleads.v15.services.GoogleAdsFieldService.SearchGoogleAdsFields", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/googleAdsFields:search" + "path": "/v15/googleAdsFields:search" } ] } @@ -4269,38 +4354,38 @@ }, { "shortName": "GoogleAdsService", - "fullName": "google.ads.googleads.v12.services.GoogleAdsService", + "fullName": "google.ads.googleads.v15.services.GoogleAdsService", "methods": [ { "shortName": "Mutate", - "fullName": "google.ads.googleads.v12.services.GoogleAdsService.Mutate", + "fullName": "google.ads.googleads.v15.services.GoogleAdsService.Mutate", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/googleAds:mutate" + "path": "/v15/customers/{customer_id=*}/googleAds:mutate" } ] }, { "shortName": "Search", - "fullName": "google.ads.googleads.v12.services.GoogleAdsService.Search", + "fullName": "google.ads.googleads.v15.services.GoogleAdsService.Search", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/googleAds:search" + "path": "/v15/customers/{customer_id=*}/googleAds:search" } ] }, { "shortName": "SearchStream", - "fullName": "google.ads.googleads.v12.services.GoogleAdsService.SearchStream", + "fullName": "google.ads.googleads.v15.services.GoogleAdsService.SearchStream", "mode": "SERVER_STREAMING", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/googleAds:searchStream" + "path": "/v15/customers/{customer_id=*}/googleAds:searchStream" } ] } @@ -4308,16 +4393,16 @@ }, { "shortName": "InvoiceService", - "fullName": "google.ads.googleads.v12.services.InvoiceService", + "fullName": "google.ads.googleads.v15.services.InvoiceService", "methods": [ { "shortName": "ListInvoices", - "fullName": "google.ads.googleads.v12.services.InvoiceService.ListInvoices", + "fullName": "google.ads.googleads.v15.services.InvoiceService.ListInvoices", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v12/customers/{customer_id=*}/invoices" + "path": "/v15/customers/{customer_id=*}/invoices" } ] } @@ -4325,16 +4410,16 @@ }, { "shortName": "KeywordPlanAdGroupKeywordService", - "fullName": "google.ads.googleads.v12.services.KeywordPlanAdGroupKeywordService", + "fullName": "google.ads.googleads.v15.services.KeywordPlanAdGroupKeywordService", "methods": [ { "shortName": "MutateKeywordPlanAdGroupKeywords", - "fullName": "google.ads.googleads.v12.services.KeywordPlanAdGroupKeywordService.MutateKeywordPlanAdGroupKeywords", + "fullName": "google.ads.googleads.v15.services.KeywordPlanAdGroupKeywordService.MutateKeywordPlanAdGroupKeywords", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/keywordPlanAdGroupKeywords:mutate" + "path": "/v15/customers/{customer_id=*}/keywordPlanAdGroupKeywords:mutate" } ] } @@ -4342,16 +4427,16 @@ }, { "shortName": "KeywordPlanAdGroupService", - "fullName": "google.ads.googleads.v12.services.KeywordPlanAdGroupService", + "fullName": "google.ads.googleads.v15.services.KeywordPlanAdGroupService", "methods": [ { "shortName": "MutateKeywordPlanAdGroups", - "fullName": "google.ads.googleads.v12.services.KeywordPlanAdGroupService.MutateKeywordPlanAdGroups", + "fullName": "google.ads.googleads.v15.services.KeywordPlanAdGroupService.MutateKeywordPlanAdGroups", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/keywordPlanAdGroups:mutate" + "path": "/v15/customers/{customer_id=*}/keywordPlanAdGroups:mutate" } ] } @@ -4359,16 +4444,16 @@ }, { "shortName": "KeywordPlanCampaignKeywordService", - "fullName": "google.ads.googleads.v12.services.KeywordPlanCampaignKeywordService", + "fullName": "google.ads.googleads.v15.services.KeywordPlanCampaignKeywordService", "methods": [ { "shortName": "MutateKeywordPlanCampaignKeywords", - "fullName": "google.ads.googleads.v12.services.KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords", + "fullName": "google.ads.googleads.v15.services.KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/keywordPlanCampaignKeywords:mutate" + "path": "/v15/customers/{customer_id=*}/keywordPlanCampaignKeywords:mutate" } ] } @@ -4376,16 +4461,16 @@ }, { "shortName": "KeywordPlanCampaignService", - "fullName": "google.ads.googleads.v12.services.KeywordPlanCampaignService", + "fullName": "google.ads.googleads.v15.services.KeywordPlanCampaignService", "methods": [ { "shortName": "MutateKeywordPlanCampaigns", - "fullName": "google.ads.googleads.v12.services.KeywordPlanCampaignService.MutateKeywordPlanCampaigns", + "fullName": "google.ads.googleads.v15.services.KeywordPlanCampaignService.MutateKeywordPlanCampaigns", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/keywordPlanCampaigns:mutate" + "path": "/v15/customers/{customer_id=*}/keywordPlanCampaigns:mutate" } ] } @@ -4393,99 +4478,66 @@ }, { "shortName": "KeywordPlanIdeaService", - "fullName": "google.ads.googleads.v12.services.KeywordPlanIdeaService", + "fullName": "google.ads.googleads.v15.services.KeywordPlanIdeaService", "methods": [ { "shortName": "GenerateAdGroupThemes", - "fullName": "google.ads.googleads.v12.services.KeywordPlanIdeaService.GenerateAdGroupThemes", + "fullName": "google.ads.googleads.v15.services.KeywordPlanIdeaService.GenerateAdGroupThemes", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}:generateAdGroupThemes" + "path": "/v15/customers/{customer_id=*}:generateAdGroupThemes" } ] }, { - "shortName": "GenerateKeywordHistoricalMetrics", - "fullName": "google.ads.googleads.v12.services.KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics", + "shortName": "GenerateKeywordForecastMetrics", + "fullName": "google.ads.googleads.v15.services.KeywordPlanIdeaService.GenerateKeywordForecastMetrics", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}:generateKeywordHistoricalMetrics" + "path": "/v15/customers/{customer_id=*}:generateKeywordForecastMetrics" } ] }, { - "shortName": "GenerateKeywordIdeas", - "fullName": "google.ads.googleads.v12.services.KeywordPlanIdeaService.GenerateKeywordIdeas", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}:generateKeywordIdeas" - } - ] - } - ] - }, - { - "shortName": "KeywordPlanService", - "fullName": "google.ads.googleads.v12.services.KeywordPlanService", - "methods": [ - { - "shortName": "GenerateForecastCurve", - "fullName": "google.ads.googleads.v12.services.KeywordPlanService.GenerateForecastCurve", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v12/{keyword_plan=customers/*/keywordPlans/*}:generateForecastCurve" - } - ] - }, - { - "shortName": "GenerateForecastMetrics", - "fullName": "google.ads.googleads.v12.services.KeywordPlanService.GenerateForecastMetrics", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v12/{keyword_plan=customers/*/keywordPlans/*}:generateForecastMetrics" - } - ] - }, - { - "shortName": "GenerateForecastTimeSeries", - "fullName": "google.ads.googleads.v12.services.KeywordPlanService.GenerateForecastTimeSeries", + "shortName": "GenerateKeywordHistoricalMetrics", + "fullName": "google.ads.googleads.v15.services.KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/{keyword_plan=customers/*/keywordPlans/*}:generateForecastTimeSeries" + "path": "/v15/customers/{customer_id=*}:generateKeywordHistoricalMetrics" } ] }, { - "shortName": "GenerateHistoricalMetrics", - "fullName": "google.ads.googleads.v12.services.KeywordPlanService.GenerateHistoricalMetrics", + "shortName": "GenerateKeywordIdeas", + "fullName": "google.ads.googleads.v15.services.KeywordPlanIdeaService.GenerateKeywordIdeas", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/{keyword_plan=customers/*/keywordPlans/*}:generateHistoricalMetrics" + "path": "/v15/customers/{customer_id=*}:generateKeywordIdeas" } ] - }, + } + ] + }, + { + "shortName": "KeywordPlanService", + "fullName": "google.ads.googleads.v15.services.KeywordPlanService", + "methods": [ { "shortName": "MutateKeywordPlans", - "fullName": "google.ads.googleads.v12.services.KeywordPlanService.MutateKeywordPlans", + "fullName": "google.ads.googleads.v15.services.KeywordPlanService.MutateKeywordPlans", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/keywordPlans:mutate" + "path": "/v15/customers/{customer_id=*}/keywordPlans:mutate" } ] } @@ -4493,16 +4545,16 @@ }, { "shortName": "KeywordThemeConstantService", - "fullName": "google.ads.googleads.v12.services.KeywordThemeConstantService", + "fullName": "google.ads.googleads.v15.services.KeywordThemeConstantService", "methods": [ { "shortName": "SuggestKeywordThemeConstants", - "fullName": "google.ads.googleads.v12.services.KeywordThemeConstantService.SuggestKeywordThemeConstants", + "fullName": "google.ads.googleads.v15.services.KeywordThemeConstantService.SuggestKeywordThemeConstants", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/keywordThemeConstants:suggest" + "path": "/v15/keywordThemeConstants:suggest" } ] } @@ -4510,128 +4562,117 @@ }, { "shortName": "LabelService", - "fullName": "google.ads.googleads.v12.services.LabelService", + "fullName": "google.ads.googleads.v15.services.LabelService", "methods": [ { "shortName": "MutateLabels", - "fullName": "google.ads.googleads.v12.services.LabelService.MutateLabels", + "fullName": "google.ads.googleads.v15.services.LabelService.MutateLabels", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/labels:mutate" + "path": "/v15/customers/{customer_id=*}/labels:mutate" } ] } ] }, { - "shortName": "MediaFileService", - "fullName": "google.ads.googleads.v12.services.MediaFileService", + "shortName": "OfflineUserDataJobService", + "fullName": "google.ads.googleads.v15.services.OfflineUserDataJobService", "methods": [ { - "shortName": "MutateMediaFiles", - "fullName": "google.ads.googleads.v12.services.MediaFileService.MutateMediaFiles", + "shortName": "AddOfflineUserDataJobOperations", + "fullName": "google.ads.googleads.v15.services.OfflineUserDataJobService.AddOfflineUserDataJobOperations", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/mediaFiles:mutate" - } - ] - } - ] - }, - { - "shortName": "MerchantCenterLinkService", - "fullName": "google.ads.googleads.v12.services.MerchantCenterLinkService", - "methods": [ - { - "shortName": "GetMerchantCenterLink", - "fullName": "google.ads.googleads.v12.services.MerchantCenterLinkService.GetMerchantCenterLink", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v12/{resource_name=customers/*/merchantCenterLinks/*}" + "path": "/v15/{resource_name=customers/*/offlineUserDataJobs/*}:addOperations" } ] }, { - "shortName": "ListMerchantCenterLinks", - "fullName": "google.ads.googleads.v12.services.MerchantCenterLinkService.ListMerchantCenterLinks", + "shortName": "CreateOfflineUserDataJob", + "fullName": "google.ads.googleads.v15.services.OfflineUserDataJobService.CreateOfflineUserDataJob", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v12/customers/{customer_id=*}/merchantCenterLinks" + "httpMethod": "POST", + "path": "/v15/customers/{customer_id=*}/offlineUserDataJobs:create" } ] }, { - "shortName": "MutateMerchantCenterLink", - "fullName": "google.ads.googleads.v12.services.MerchantCenterLinkService.MutateMerchantCenterLink", + "shortName": "RunOfflineUserDataJob", + "fullName": "google.ads.googleads.v15.services.OfflineUserDataJobService.RunOfflineUserDataJob", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/merchantCenterLinks:mutate" + "path": "/v15/{resource_name=customers/*/offlineUserDataJobs/*}:run" } ] } ] }, { - "shortName": "OfflineUserDataJobService", - "fullName": "google.ads.googleads.v12.services.OfflineUserDataJobService", + "shortName": "PaymentsAccountService", + "fullName": "google.ads.googleads.v15.services.PaymentsAccountService", "methods": [ { - "shortName": "AddOfflineUserDataJobOperations", - "fullName": "google.ads.googleads.v12.services.OfflineUserDataJobService.AddOfflineUserDataJobOperations", + "shortName": "ListPaymentsAccounts", + "fullName": "google.ads.googleads.v15.services.PaymentsAccountService.ListPaymentsAccounts", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v12/{resource_name=customers/*/offlineUserDataJobs/*}:addOperations" + "httpMethod": "GET", + "path": "/v15/customers/{customer_id=*}/paymentsAccounts" } ] - }, + } + ] + }, + { + "shortName": "ProductLinkInvitationService", + "fullName": "google.ads.googleads.v15.services.ProductLinkInvitationService", + "methods": [ { - "shortName": "CreateOfflineUserDataJob", - "fullName": "google.ads.googleads.v12.services.OfflineUserDataJobService.CreateOfflineUserDataJob", + "shortName": "UpdateProductLinkInvitation", + "fullName": "google.ads.googleads.v15.services.ProductLinkInvitationService.UpdateProductLinkInvitation", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/offlineUserDataJobs:create" + "path": "/v15/customers/{customer_id=*}/productLinkInvitations:update" } ] - }, + } + ] + }, + { + "shortName": "ProductLinkService", + "fullName": "google.ads.googleads.v15.services.ProductLinkService", + "methods": [ { - "shortName": "RunOfflineUserDataJob", - "fullName": "google.ads.googleads.v12.services.OfflineUserDataJobService.RunOfflineUserDataJob", + "shortName": "CreateProductLink", + "fullName": "google.ads.googleads.v15.services.ProductLinkService.CreateProductLink", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/{resource_name=customers/*/offlineUserDataJobs/*}:run" + "path": "/v15/customers/{customer_id=*}/productLinks:create" } ] - } - ] - }, - { - "shortName": "PaymentsAccountService", - "fullName": "google.ads.googleads.v12.services.PaymentsAccountService", - "methods": [ + }, { - "shortName": "ListPaymentsAccounts", - "fullName": "google.ads.googleads.v12.services.PaymentsAccountService.ListPaymentsAccounts", + "shortName": "RemoveProductLink", + "fullName": "google.ads.googleads.v15.services.ProductLinkService.RemoveProductLink", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v12/customers/{customer_id=*}/paymentsAccounts" + "httpMethod": "POST", + "path": "/v15/customers/{customer_id=*}/productLinks:remove" } ] } @@ -4639,38 +4680,38 @@ }, { "shortName": "ReachPlanService", - "fullName": "google.ads.googleads.v12.services.ReachPlanService", + "fullName": "google.ads.googleads.v15.services.ReachPlanService", "methods": [ { "shortName": "GenerateReachForecast", - "fullName": "google.ads.googleads.v12.services.ReachPlanService.GenerateReachForecast", + "fullName": "google.ads.googleads.v15.services.ReachPlanService.GenerateReachForecast", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}:generateReachForecast" + "path": "/v15/customers/{customer_id=*}:generateReachForecast" } ] }, { "shortName": "ListPlannableLocations", - "fullName": "google.ads.googleads.v12.services.ReachPlanService.ListPlannableLocations", + "fullName": "google.ads.googleads.v15.services.ReachPlanService.ListPlannableLocations", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12:listPlannableLocations" + "path": "/v15:listPlannableLocations" } ] }, { "shortName": "ListPlannableProducts", - "fullName": "google.ads.googleads.v12.services.ReachPlanService.ListPlannableProducts", + "fullName": "google.ads.googleads.v15.services.ReachPlanService.ListPlannableProducts", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12:listPlannableProducts" + "path": "/v15:listPlannableProducts" } ] } @@ -4678,27 +4719,44 @@ }, { "shortName": "RecommendationService", - "fullName": "google.ads.googleads.v12.services.RecommendationService", + "fullName": "google.ads.googleads.v15.services.RecommendationService", "methods": [ { "shortName": "ApplyRecommendation", - "fullName": "google.ads.googleads.v12.services.RecommendationService.ApplyRecommendation", + "fullName": "google.ads.googleads.v15.services.RecommendationService.ApplyRecommendation", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/recommendations:apply" + "path": "/v15/customers/{customer_id=*}/recommendations:apply" } ] }, { "shortName": "DismissRecommendation", - "fullName": "google.ads.googleads.v12.services.RecommendationService.DismissRecommendation", + "fullName": "google.ads.googleads.v15.services.RecommendationService.DismissRecommendation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v15/customers/{customer_id=*}/recommendations:dismiss" + } + ] + } + ] + }, + { + "shortName": "RecommendationSubscriptionService", + "fullName": "google.ads.googleads.v15.services.RecommendationSubscriptionService", + "methods": [ + { + "shortName": "MutateRecommendationSubscription", + "fullName": "google.ads.googleads.v15.services.RecommendationSubscriptionService.MutateRecommendationSubscription", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/recommendations:dismiss" + "path": "/v15/customers/{customer_id=*}/recommendationSubscriptions:mutateRecommendationSubscription" } ] } @@ -4706,16 +4764,16 @@ }, { "shortName": "RemarketingActionService", - "fullName": "google.ads.googleads.v12.services.RemarketingActionService", + "fullName": "google.ads.googleads.v15.services.RemarketingActionService", "methods": [ { "shortName": "MutateRemarketingActions", - "fullName": "google.ads.googleads.v12.services.RemarketingActionService.MutateRemarketingActions", + "fullName": "google.ads.googleads.v15.services.RemarketingActionService.MutateRemarketingActions", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/remarketingActions:mutate" + "path": "/v15/customers/{customer_id=*}/remarketingActions:mutate" } ] } @@ -4723,16 +4781,16 @@ }, { "shortName": "SharedCriterionService", - "fullName": "google.ads.googleads.v12.services.SharedCriterionService", + "fullName": "google.ads.googleads.v15.services.SharedCriterionService", "methods": [ { "shortName": "MutateSharedCriteria", - "fullName": "google.ads.googleads.v12.services.SharedCriterionService.MutateSharedCriteria", + "fullName": "google.ads.googleads.v15.services.SharedCriterionService.MutateSharedCriteria", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/sharedCriteria:mutate" + "path": "/v15/customers/{customer_id=*}/sharedCriteria:mutate" } ] } @@ -4740,16 +4798,16 @@ }, { "shortName": "SharedSetService", - "fullName": "google.ads.googleads.v12.services.SharedSetService", + "fullName": "google.ads.googleads.v15.services.SharedSetService", "methods": [ { "shortName": "MutateSharedSets", - "fullName": "google.ads.googleads.v12.services.SharedSetService.MutateSharedSets", + "fullName": "google.ads.googleads.v15.services.SharedSetService.MutateSharedSets", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/sharedSets:mutate" + "path": "/v15/customers/{customer_id=*}/sharedSets:mutate" } ] } @@ -4757,16 +4815,27 @@ }, { "shortName": "SmartCampaignSettingService", - "fullName": "google.ads.googleads.v12.services.SmartCampaignSettingService", + "fullName": "google.ads.googleads.v15.services.SmartCampaignSettingService", "methods": [ + { + "shortName": "GetSmartCampaignStatus", + "fullName": "google.ads.googleads.v15.services.SmartCampaignSettingService.GetSmartCampaignStatus", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v15/{resource_name=customers/*/smartCampaignSettings/*}:getSmartCampaignStatus" + } + ] + }, { "shortName": "MutateSmartCampaignSettings", - "fullName": "google.ads.googleads.v12.services.SmartCampaignSettingService.MutateSmartCampaignSettings", + "fullName": "google.ads.googleads.v15.services.SmartCampaignSettingService.MutateSmartCampaignSettings", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/smartCampaignSettings:mutate" + "path": "/v15/customers/{customer_id=*}/smartCampaignSettings:mutate" } ] } @@ -4774,38 +4843,38 @@ }, { "shortName": "SmartCampaignSuggestService", - "fullName": "google.ads.googleads.v12.services.SmartCampaignSuggestService", + "fullName": "google.ads.googleads.v15.services.SmartCampaignSuggestService", "methods": [ { "shortName": "SuggestKeywordThemes", - "fullName": "google.ads.googleads.v12.services.SmartCampaignSuggestService.SuggestKeywordThemes", + "fullName": "google.ads.googleads.v15.services.SmartCampaignSuggestService.SuggestKeywordThemes", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}:suggestKeywordThemes" + "path": "/v15/customers/{customer_id=*}:suggestKeywordThemes" } ] }, { "shortName": "SuggestSmartCampaignAd", - "fullName": "google.ads.googleads.v12.services.SmartCampaignSuggestService.SuggestSmartCampaignAd", + "fullName": "google.ads.googleads.v15.services.SmartCampaignSuggestService.SuggestSmartCampaignAd", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}:suggestSmartCampaignAd" + "path": "/v15/customers/{customer_id=*}:suggestSmartCampaignAd" } ] }, { "shortName": "SuggestSmartCampaignBudgetOptions", - "fullName": "google.ads.googleads.v12.services.SmartCampaignSuggestService.SuggestSmartCampaignBudgetOptions", + "fullName": "google.ads.googleads.v15.services.SmartCampaignSuggestService.SuggestSmartCampaignBudgetOptions", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}:suggestSmartCampaignBudgetOptions" + "path": "/v15/customers/{customer_id=*}:suggestSmartCampaignBudgetOptions" } ] } @@ -4813,16 +4882,33 @@ }, { "shortName": "ThirdPartyAppAnalyticsLinkService", - "fullName": "google.ads.googleads.v12.services.ThirdPartyAppAnalyticsLinkService", + "fullName": "google.ads.googleads.v15.services.ThirdPartyAppAnalyticsLinkService", "methods": [ { "shortName": "RegenerateShareableLinkId", - "fullName": "google.ads.googleads.v12.services.ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId", + "fullName": "google.ads.googleads.v15.services.ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v15/{resource_name=customers/*/thirdPartyAppAnalyticsLinks/*}:regenerateShareableLinkId" + } + ] + } + ] + }, + { + "shortName": "TravelAssetSuggestionService", + "fullName": "google.ads.googleads.v15.services.TravelAssetSuggestionService", + "methods": [ + { + "shortName": "SuggestTravelAssets", + "fullName": "google.ads.googleads.v15.services.TravelAssetSuggestionService.SuggestTravelAssets", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/{resource_name=customers/*/thirdPartyAppAnalyticsLinks/*}:regenerateShareableLinkId" + "path": "/v15/customers/{customer_id=*}:suggestTravelAssets" } ] } @@ -4830,16 +4916,16 @@ }, { "shortName": "UserDataService", - "fullName": "google.ads.googleads.v12.services.UserDataService", + "fullName": "google.ads.googleads.v15.services.UserDataService", "methods": [ { "shortName": "UploadUserData", - "fullName": "google.ads.googleads.v12.services.UserDataService.UploadUserData", + "fullName": "google.ads.googleads.v15.services.UserDataService.UploadUserData", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}:uploadUserData" + "path": "/v15/customers/{customer_id=*}:uploadUserData" } ] } @@ -4847,3916 +4933,2993 @@ }, { "shortName": "UserListService", - "fullName": "google.ads.googleads.v12.services.UserListService", + "fullName": "google.ads.googleads.v15.services.UserListService", "methods": [ { "shortName": "MutateUserLists", - "fullName": "google.ads.googleads.v12.services.UserListService.MutateUserLists", + "fullName": "google.ads.googleads.v15.services.UserListService.MutateUserLists", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v12/customers/{customer_id=*}/userLists:mutate" + "path": "/v15/customers/{customer_id=*}/userLists:mutate" } ] } ] } ], - "configFile": "googleads_v12.yaml", + "configFile": "googleads_v15.yaml", "serviceConfigApiNames": [ - "google.ads.googleads.v12.services.AccountBudgetProposalService", - "google.ads.googleads.v12.services.AccountLinkService", - "google.ads.googleads.v12.services.AdGroupAdLabelService", - "google.ads.googleads.v12.services.AdGroupAdService", - "google.ads.googleads.v12.services.AdGroupAssetService", - "google.ads.googleads.v12.services.AdGroupAssetSetService", - "google.ads.googleads.v12.services.AdGroupBidModifierService", - "google.ads.googleads.v12.services.AdGroupCriterionCustomizerService", - "google.ads.googleads.v12.services.AdGroupCriterionLabelService", - "google.ads.googleads.v12.services.AdGroupCriterionService", - "google.ads.googleads.v12.services.AdGroupCustomizerService", - "google.ads.googleads.v12.services.AdGroupExtensionSettingService", - "google.ads.googleads.v12.services.AdGroupFeedService", - "google.ads.googleads.v12.services.AdGroupLabelService", - "google.ads.googleads.v12.services.AdGroupService", - "google.ads.googleads.v12.services.AdParameterService", - "google.ads.googleads.v12.services.AdService", - "google.ads.googleads.v12.services.AssetGroupAssetService", - "google.ads.googleads.v12.services.AssetGroupListingGroupFilterService", - "google.ads.googleads.v12.services.AssetGroupService", - "google.ads.googleads.v12.services.AssetGroupSignalService", - "google.ads.googleads.v12.services.AssetService", - "google.ads.googleads.v12.services.AssetSetAssetService", - "google.ads.googleads.v12.services.AssetSetService", - "google.ads.googleads.v12.services.AudienceInsightsService", - "google.ads.googleads.v12.services.AudienceService", - "google.ads.googleads.v12.services.BatchJobService", - "google.ads.googleads.v12.services.BiddingDataExclusionService", - "google.ads.googleads.v12.services.BiddingSeasonalityAdjustmentService", - "google.ads.googleads.v12.services.BiddingStrategyService", - "google.ads.googleads.v12.services.BillingSetupService", - "google.ads.googleads.v12.services.CampaignAssetService", - "google.ads.googleads.v12.services.CampaignAssetSetService", - "google.ads.googleads.v12.services.CampaignBidModifierService", - "google.ads.googleads.v12.services.CampaignBudgetService", - "google.ads.googleads.v12.services.CampaignConversionGoalService", - "google.ads.googleads.v12.services.CampaignCriterionService", - "google.ads.googleads.v12.services.CampaignCustomizerService", - "google.ads.googleads.v12.services.CampaignDraftService", - "google.ads.googleads.v12.services.CampaignExtensionSettingService", - "google.ads.googleads.v12.services.CampaignFeedService", - "google.ads.googleads.v12.services.CampaignGroupService", - "google.ads.googleads.v12.services.CampaignLabelService", - "google.ads.googleads.v12.services.CampaignService", - "google.ads.googleads.v12.services.CampaignSharedSetService", - "google.ads.googleads.v12.services.ConversionActionService", - "google.ads.googleads.v12.services.ConversionAdjustmentUploadService", - "google.ads.googleads.v12.services.ConversionCustomVariableService", - "google.ads.googleads.v12.services.ConversionGoalCampaignConfigService", - "google.ads.googleads.v12.services.ConversionUploadService", - "google.ads.googleads.v12.services.ConversionValueRuleService", - "google.ads.googleads.v12.services.ConversionValueRuleSetService", - "google.ads.googleads.v12.services.CustomAudienceService", - "google.ads.googleads.v12.services.CustomConversionGoalService", - "google.ads.googleads.v12.services.CustomInterestService", - "google.ads.googleads.v12.services.CustomerAssetService", - "google.ads.googleads.v12.services.CustomerAssetSetService", - "google.ads.googleads.v12.services.CustomerClientLinkService", - "google.ads.googleads.v12.services.CustomerConversionGoalService", - "google.ads.googleads.v12.services.CustomerCustomizerService", - "google.ads.googleads.v12.services.CustomerExtensionSettingService", - "google.ads.googleads.v12.services.CustomerFeedService", - "google.ads.googleads.v12.services.CustomerLabelService", - "google.ads.googleads.v12.services.CustomerManagerLinkService", - "google.ads.googleads.v12.services.CustomerNegativeCriterionService", - "google.ads.googleads.v12.services.CustomerService", - "google.ads.googleads.v12.services.CustomerUserAccessInvitationService", - "google.ads.googleads.v12.services.CustomerUserAccessService", - "google.ads.googleads.v12.services.CustomizerAttributeService", - "google.ads.googleads.v12.services.ExperimentArmService", - "google.ads.googleads.v12.services.ExperimentService", - "google.ads.googleads.v12.services.ExtensionFeedItemService", - "google.ads.googleads.v12.services.FeedItemService", - "google.ads.googleads.v12.services.FeedItemSetLinkService", - "google.ads.googleads.v12.services.FeedItemSetService", - "google.ads.googleads.v12.services.FeedItemTargetService", - "google.ads.googleads.v12.services.FeedMappingService", - "google.ads.googleads.v12.services.FeedService", - "google.ads.googleads.v12.services.GeoTargetConstantService", - "google.ads.googleads.v12.services.GoogleAdsFieldService", - "google.ads.googleads.v12.services.GoogleAdsService", - "google.ads.googleads.v12.services.InvoiceService", - "google.ads.googleads.v12.services.KeywordPlanAdGroupKeywordService", - "google.ads.googleads.v12.services.KeywordPlanAdGroupService", - "google.ads.googleads.v12.services.KeywordPlanCampaignKeywordService", - "google.ads.googleads.v12.services.KeywordPlanCampaignService", - "google.ads.googleads.v12.services.KeywordPlanIdeaService", - "google.ads.googleads.v12.services.KeywordPlanService", - "google.ads.googleads.v12.services.KeywordThemeConstantService", - "google.ads.googleads.v12.services.LabelService", - "google.ads.googleads.v12.services.MediaFileService", - "google.ads.googleads.v12.services.MerchantCenterLinkService", - "google.ads.googleads.v12.services.OfflineUserDataJobService", - "google.ads.googleads.v12.services.PaymentsAccountService", - "google.ads.googleads.v12.services.ReachPlanService", - "google.ads.googleads.v12.services.RecommendationService", - "google.ads.googleads.v12.services.RemarketingActionService", - "google.ads.googleads.v12.services.SharedCriterionService", - "google.ads.googleads.v12.services.SharedSetService", - "google.ads.googleads.v12.services.SmartCampaignSettingService", - "google.ads.googleads.v12.services.SmartCampaignSuggestService", - "google.ads.googleads.v12.services.ThirdPartyAppAnalyticsLinkService", - "google.ads.googleads.v12.services.UserDataService", - "google.ads.googleads.v12.services.UserListService" + "google.ads.googleads.v15.services.AccountBudgetProposalService", + "google.ads.googleads.v15.services.AccountLinkService", + "google.ads.googleads.v15.services.AdGroupAdLabelService", + "google.ads.googleads.v15.services.AdGroupAdService", + "google.ads.googleads.v15.services.AdGroupAssetService", + "google.ads.googleads.v15.services.AdGroupAssetSetService", + "google.ads.googleads.v15.services.AdGroupBidModifierService", + "google.ads.googleads.v15.services.AdGroupCriterionCustomizerService", + "google.ads.googleads.v15.services.AdGroupCriterionLabelService", + "google.ads.googleads.v15.services.AdGroupCriterionService", + "google.ads.googleads.v15.services.AdGroupCustomizerService", + "google.ads.googleads.v15.services.AdGroupExtensionSettingService", + "google.ads.googleads.v15.services.AdGroupFeedService", + "google.ads.googleads.v15.services.AdGroupLabelService", + "google.ads.googleads.v15.services.AdGroupService", + "google.ads.googleads.v15.services.AdParameterService", + "google.ads.googleads.v15.services.AdService", + "google.ads.googleads.v15.services.AssetGroupAssetService", + "google.ads.googleads.v15.services.AssetGroupListingGroupFilterService", + "google.ads.googleads.v15.services.AssetGroupService", + "google.ads.googleads.v15.services.AssetGroupSignalService", + "google.ads.googleads.v15.services.AssetService", + "google.ads.googleads.v15.services.AssetSetAssetService", + "google.ads.googleads.v15.services.AssetSetService", + "google.ads.googleads.v15.services.AudienceInsightsService", + "google.ads.googleads.v15.services.AudienceService", + "google.ads.googleads.v15.services.BatchJobService", + "google.ads.googleads.v15.services.BiddingDataExclusionService", + "google.ads.googleads.v15.services.BiddingSeasonalityAdjustmentService", + "google.ads.googleads.v15.services.BiddingStrategyService", + "google.ads.googleads.v15.services.BillingSetupService", + "google.ads.googleads.v15.services.BrandSuggestionService", + "google.ads.googleads.v15.services.CampaignAssetService", + "google.ads.googleads.v15.services.CampaignAssetSetService", + "google.ads.googleads.v15.services.CampaignBidModifierService", + "google.ads.googleads.v15.services.CampaignBudgetService", + "google.ads.googleads.v15.services.CampaignConversionGoalService", + "google.ads.googleads.v15.services.CampaignCriterionService", + "google.ads.googleads.v15.services.CampaignCustomizerService", + "google.ads.googleads.v15.services.CampaignDraftService", + "google.ads.googleads.v15.services.CampaignExtensionSettingService", + "google.ads.googleads.v15.services.CampaignFeedService", + "google.ads.googleads.v15.services.CampaignGroupService", + "google.ads.googleads.v15.services.CampaignLabelService", + "google.ads.googleads.v15.services.CampaignLifecycleService", + "google.ads.googleads.v15.services.CampaignService", + "google.ads.googleads.v15.services.CampaignSharedSetService", + "google.ads.googleads.v15.services.ConversionActionService", + "google.ads.googleads.v15.services.ConversionAdjustmentUploadService", + "google.ads.googleads.v15.services.ConversionCustomVariableService", + "google.ads.googleads.v15.services.ConversionGoalCampaignConfigService", + "google.ads.googleads.v15.services.ConversionUploadService", + "google.ads.googleads.v15.services.ConversionValueRuleService", + "google.ads.googleads.v15.services.ConversionValueRuleSetService", + "google.ads.googleads.v15.services.CustomAudienceService", + "google.ads.googleads.v15.services.CustomConversionGoalService", + "google.ads.googleads.v15.services.CustomInterestService", + "google.ads.googleads.v15.services.CustomerAssetService", + "google.ads.googleads.v15.services.CustomerAssetSetService", + "google.ads.googleads.v15.services.CustomerClientLinkService", + "google.ads.googleads.v15.services.CustomerConversionGoalService", + "google.ads.googleads.v15.services.CustomerCustomizerService", + "google.ads.googleads.v15.services.CustomerExtensionSettingService", + "google.ads.googleads.v15.services.CustomerFeedService", + "google.ads.googleads.v15.services.CustomerLabelService", + "google.ads.googleads.v15.services.CustomerLifecycleService", + "google.ads.googleads.v15.services.CustomerManagerLinkService", + "google.ads.googleads.v15.services.CustomerNegativeCriterionService", + "google.ads.googleads.v15.services.CustomerService", + "google.ads.googleads.v15.services.CustomerSkAdNetworkConversionValueSchemaService", + "google.ads.googleads.v15.services.CustomerUserAccessInvitationService", + "google.ads.googleads.v15.services.CustomerUserAccessService", + "google.ads.googleads.v15.services.CustomizerAttributeService", + "google.ads.googleads.v15.services.ExperimentArmService", + "google.ads.googleads.v15.services.ExperimentService", + "google.ads.googleads.v15.services.ExtensionFeedItemService", + "google.ads.googleads.v15.services.FeedItemService", + "google.ads.googleads.v15.services.FeedItemSetLinkService", + "google.ads.googleads.v15.services.FeedItemSetService", + "google.ads.googleads.v15.services.FeedItemTargetService", + "google.ads.googleads.v15.services.FeedMappingService", + "google.ads.googleads.v15.services.FeedService", + "google.ads.googleads.v15.services.GeoTargetConstantService", + "google.ads.googleads.v15.services.GoogleAdsFieldService", + "google.ads.googleads.v15.services.GoogleAdsService", + "google.ads.googleads.v15.services.InvoiceService", + "google.ads.googleads.v15.services.KeywordPlanAdGroupKeywordService", + "google.ads.googleads.v15.services.KeywordPlanAdGroupService", + "google.ads.googleads.v15.services.KeywordPlanCampaignKeywordService", + "google.ads.googleads.v15.services.KeywordPlanCampaignService", + "google.ads.googleads.v15.services.KeywordPlanIdeaService", + "google.ads.googleads.v15.services.KeywordPlanService", + "google.ads.googleads.v15.services.KeywordThemeConstantService", + "google.ads.googleads.v15.services.LabelService", + "google.ads.googleads.v15.services.OfflineUserDataJobService", + "google.ads.googleads.v15.services.PaymentsAccountService", + "google.ads.googleads.v15.services.ProductLinkInvitationService", + "google.ads.googleads.v15.services.ProductLinkService", + "google.ads.googleads.v15.services.ReachPlanService", + "google.ads.googleads.v15.services.RecommendationService", + "google.ads.googleads.v15.services.RecommendationSubscriptionService", + "google.ads.googleads.v15.services.RemarketingActionService", + "google.ads.googleads.v15.services.SharedCriterionService", + "google.ads.googleads.v15.services.SharedSetService", + "google.ads.googleads.v15.services.SmartCampaignSettingService", + "google.ads.googleads.v15.services.SmartCampaignSuggestService", + "google.ads.googleads.v15.services.ThirdPartyAppAnalyticsLinkService", + "google.ads.googleads.v15.services.TravelAssetSuggestionService", + "google.ads.googleads.v15.services.UserDataService", + "google.ads.googleads.v15.services.UserListService" ], "nameInServiceConfig": "googleads.googleapis.com" }, { - "id": "google.ads.googleads.v13", - "directory": "google/ads/googleads/v13", - "version": "v13", - "majorVersion": "v13", - "hostName": "googleads.googleapis.com", - "title": "Google Ads API", - "description": "Manage your Google Ads accounts, campaigns, and reports with this API.", + "id": "google.ads.searchads360.v0", + "directory": "google/ads/searchads360/v0", + "version": "v0", + "majorVersion": "v0", + "hostName": "searchads360.googleapis.com", + "title": "Search Ads 360 Reporting API", + "description": "The Search Ads 360 API allows developers to automate downloading reports from Search Ads 360.", "importDirectories": [ - "google/ads/googleads/v13/common", - "google/ads/googleads/v13/enums", - "google/ads/googleads/v13/errors", - "google/ads/googleads/v13/resources", - "google/ads/googleads/v13/services", + "google/ads/searchads360/v0/common", + "google/ads/searchads360/v0/enums", + "google/ads/searchads360/v0/resources", "google/api", - "google/longrunning", - "google/protobuf", - "google/rpc" + "google/protobuf" ], "options": { "csharp_namespace": { "valueCounts": { - "Google.Ads.GoogleAds.V13.Common": 35, - "Google.Ads.GoogleAds.V13.Enums": 307, - "Google.Ads.GoogleAds.V13.Errors": 143, - "Google.Ads.GoogleAds.V13.Resources": 163, - "Google.Ads.GoogleAds.V13.Services": 106 + "Google.Ads.SearchAds360.V0.Common": 13, + "Google.Ads.SearchAds360.V0.Enums": 90, + "Google.Ads.SearchAds360.V0.Resources": 53, + "Google.Ads.SearchAds360.V0.Services": 4 } }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common": 35, - "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums": 307, - "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors": 143, - "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources": 163, - "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services": 106 + "google.golang.org/genproto/googleapis/ads/searchads360/v0/common;common": 13, + "google.golang.org/genproto/googleapis/ads/searchads360/v0/enums;enums": 90, + "google.golang.org/genproto/googleapis/ads/searchads360/v0/resources;resources": 53, + "google.golang.org/genproto/googleapis/ads/searchads360/v0/services;services": 4 } }, "java_multiple_files": { "valueCounts": { - "true": 754 + "true": 160 } }, "java_package": { "valueCounts": { - "com.google.ads.googleads.v13.common": 35, - "com.google.ads.googleads.v13.enums": 307, - "com.google.ads.googleads.v13.errors": 143, - "com.google.ads.googleads.v13.resources": 163, - "com.google.ads.googleads.v13.services": 106 + "com.google.ads.searchads360.v0.common": 13, + "com.google.ads.searchads360.v0.enums": 90, + "com.google.ads.searchads360.v0.resources": 53, + "com.google.ads.searchads360.v0.services": 4 } }, "objc_class_prefix": { "valueCounts": { - "GAA": 754 + "GASA360": 160 } }, "php_namespace": { "valueCounts": { - "Google\\Ads\\GoogleAds\\V13\\Common": 35, - "Google\\Ads\\GoogleAds\\V13\\Enums": 307, - "Google\\Ads\\GoogleAds\\V13\\Errors": 143, - "Google\\Ads\\GoogleAds\\V13\\Resources": 163, - "Google\\Ads\\GoogleAds\\V13\\Services": 106 + "Google\\Ads\\SearchAds360\\V0\\Common": 13, + "Google\\Ads\\SearchAds360\\V0\\Enums": 90, + "Google\\Ads\\SearchAds360\\V0\\Resources": 53, + "Google\\Ads\\SearchAds360\\V0\\Services": 4 } }, "ruby_package": { "valueCounts": { - "Google::Ads::GoogleAds::V13::Common": 35, - "Google::Ads::GoogleAds::V13::Enums": 307, - "Google::Ads::GoogleAds::V13::Errors": 143, - "Google::Ads::GoogleAds::V13::Resources": 163, - "Google::Ads::GoogleAds::V13::Services": 106 + "Google::Ads::SearchAds360::V0::Common": 13, + "Google::Ads::SearchAds360::V0::Enums": 90, + "Google::Ads::SearchAds360::V0::Resources": 53, + "Google::Ads::SearchAds360::V0::Services": 4 } } }, "services": [ { - "shortName": "AccountBudgetProposalService", - "fullName": "google.ads.googleads.v13.services.AccountBudgetProposalService", - "methods": [ - { - "shortName": "MutateAccountBudgetProposal", - "fullName": "google.ads.googleads.v13.services.AccountBudgetProposalService.MutateAccountBudgetProposal", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/accountBudgetProposals:mutate" - } - ] - } - ] - }, - { - "shortName": "AccountLinkService", - "fullName": "google.ads.googleads.v13.services.AccountLinkService", + "shortName": "CustomColumnService", + "fullName": "google.ads.searchads360.v0.services.CustomColumnService", "methods": [ { - "shortName": "CreateAccountLink", - "fullName": "google.ads.googleads.v13.services.AccountLinkService.CreateAccountLink", + "shortName": "GetCustomColumn", + "fullName": "google.ads.searchads360.v0.services.CustomColumnService.GetCustomColumn", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/accountLinks:create" + "httpMethod": "GET", + "path": "/v0/{resource_name=customers/*/customColumns/*}" } ] }, { - "shortName": "MutateAccountLink", - "fullName": "google.ads.googleads.v13.services.AccountLinkService.MutateAccountLink", + "shortName": "ListCustomColumns", + "fullName": "google.ads.searchads360.v0.services.CustomColumnService.ListCustomColumns", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/accountLinks:mutate" + "httpMethod": "GET", + "path": "/v0/customers/{customer_id=*}/customColumns" } ] } ] }, { - "shortName": "AdGroupAdLabelService", - "fullName": "google.ads.googleads.v13.services.AdGroupAdLabelService", + "shortName": "CustomerService", + "fullName": "google.ads.searchads360.v0.services.CustomerService", "methods": [ { - "shortName": "MutateAdGroupAdLabels", - "fullName": "google.ads.googleads.v13.services.AdGroupAdLabelService.MutateAdGroupAdLabels", + "shortName": "ListAccessibleCustomers", + "fullName": "google.ads.searchads360.v0.services.CustomerService.ListAccessibleCustomers", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/adGroupAdLabels:mutate" + "httpMethod": "GET", + "path": "/v0/customers:listAccessibleCustomers" } ] } ] }, { - "shortName": "AdGroupAdService", - "fullName": "google.ads.googleads.v13.services.AdGroupAdService", + "shortName": "SearchAds360FieldService", + "fullName": "google.ads.searchads360.v0.services.SearchAds360FieldService", "methods": [ { - "shortName": "MutateAdGroupAds", - "fullName": "google.ads.googleads.v13.services.AdGroupAdService.MutateAdGroupAds", + "shortName": "GetSearchAds360Field", + "fullName": "google.ads.searchads360.v0.services.SearchAds360FieldService.GetSearchAds360Field", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/adGroupAds:mutate" + "httpMethod": "GET", + "path": "/v0/{resource_name=searchAds360Fields/*}" } ] - } - ] - }, - { - "shortName": "AdGroupAssetService", - "fullName": "google.ads.googleads.v13.services.AdGroupAssetService", - "methods": [ + }, { - "shortName": "MutateAdGroupAssets", - "fullName": "google.ads.googleads.v13.services.AdGroupAssetService.MutateAdGroupAssets", + "shortName": "SearchSearchAds360Fields", + "fullName": "google.ads.searchads360.v0.services.SearchAds360FieldService.SearchSearchAds360Fields", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/adGroupAssets:mutate" + "path": "/v0/searchAds360Fields:search" } ] } ] }, { - "shortName": "AdGroupAssetSetService", - "fullName": "google.ads.googleads.v13.services.AdGroupAssetSetService", + "shortName": "SearchAds360Service", + "fullName": "google.ads.searchads360.v0.services.SearchAds360Service", "methods": [ { - "shortName": "MutateAdGroupAssetSets", - "fullName": "google.ads.googleads.v13.services.AdGroupAssetSetService.MutateAdGroupAssetSets", + "shortName": "Search", + "fullName": "google.ads.searchads360.v0.services.SearchAds360Service.Search", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/adGroupAssetSets:mutate" + "path": "/v0/customers/{customer_id=*}/searchAds360:search" } ] - } - ] - }, - { - "shortName": "AdGroupBidModifierService", - "fullName": "google.ads.googleads.v13.services.AdGroupBidModifierService", - "methods": [ + }, { - "shortName": "MutateAdGroupBidModifiers", - "fullName": "google.ads.googleads.v13.services.AdGroupBidModifierService.MutateAdGroupBidModifiers", - "mode": "UNARY", + "shortName": "SearchStream", + "fullName": "google.ads.searchads360.v0.services.SearchAds360Service.SearchStream", + "mode": "SERVER_STREAMING", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/adGroupBidModifiers:mutate" + "path": "/v0/customers/{customer_id=*}/searchAds360:searchStream" } ] } ] + } + ], + "configFile": "searchads360_v0.yaml", + "serviceConfigApiNames": [ + "google.ads.searchads360.v0.services.CustomColumnService", + "google.ads.searchads360.v0.services.CustomerService", + "google.ads.searchads360.v0.services.SearchAds360FieldService", + "google.ads.searchads360.v0.services.SearchAds360Service" + ], + "nameInServiceConfig": "searchads360.googleapis.com" + }, + { + "id": "google.ai.generativelanguage.v1", + "directory": "google/ai/generativelanguage/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "generativelanguage.googleapis.com", + "title": "Generative Language API", + "description": "The Gemini API allows developers to build generative AI applications using Gemini models. Gemini is our most capable model in the world, built from the ground up to be multimodal. It can generalize and seamlessly understand, operate across, and combine different types of information. You can use the Gemini API for use cases like reasoning across text and images, content generation, dialogue agents, summarization and classification systems, and more.", + "importDirectories": [ + "google/ai/generativelanguage/v1", + "google/api" + ], + "options": { + "go_package": { + "valueCounts": { + "cloud.google.com/go/ai/generativelanguage/apiv1/generativelanguagepb;generativelanguagepb": 6 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 6 + } }, + "java_package": { + "valueCounts": { + "com.google.ai.generativelanguage.v1": 6 + } + } + }, + "services": [ { - "shortName": "AdGroupCriterionCustomizerService", - "fullName": "google.ads.googleads.v13.services.AdGroupCriterionCustomizerService", + "shortName": "GenerativeService", + "fullName": "google.ai.generativelanguage.v1.GenerativeService", "methods": [ { - "shortName": "MutateAdGroupCriterionCustomizers", - "fullName": "google.ads.googleads.v13.services.AdGroupCriterionCustomizerService.MutateAdGroupCriterionCustomizers", + "shortName": "BatchEmbedContents", + "fullName": "google.ai.generativelanguage.v1.GenerativeService.BatchEmbedContents", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/AdGroupCriterionCustomizers:mutate" + "path": "/v1/{model=models/*}:batchEmbedContents" } ] - } - ] - }, - { - "shortName": "AdGroupCriterionLabelService", - "fullName": "google.ads.googleads.v13.services.AdGroupCriterionLabelService", - "methods": [ + }, { - "shortName": "MutateAdGroupCriterionLabels", - "fullName": "google.ads.googleads.v13.services.AdGroupCriterionLabelService.MutateAdGroupCriterionLabels", + "shortName": "CountTokens", + "fullName": "google.ai.generativelanguage.v1.GenerativeService.CountTokens", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/adGroupCriterionLabels:mutate" + "path": "/v1/{model=models/*}:countTokens" } ] - } - ] - }, - { - "shortName": "AdGroupCriterionService", - "fullName": "google.ads.googleads.v13.services.AdGroupCriterionService", - "methods": [ + }, { - "shortName": "MutateAdGroupCriteria", - "fullName": "google.ads.googleads.v13.services.AdGroupCriterionService.MutateAdGroupCriteria", + "shortName": "EmbedContent", + "fullName": "google.ai.generativelanguage.v1.GenerativeService.EmbedContent", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/adGroupCriteria:mutate" + "path": "/v1/{model=models/*}:embedContent" } ] - } - ] - }, - { - "shortName": "AdGroupCustomizerService", - "fullName": "google.ads.googleads.v13.services.AdGroupCustomizerService", - "methods": [ + }, { - "shortName": "MutateAdGroupCustomizers", - "fullName": "google.ads.googleads.v13.services.AdGroupCustomizerService.MutateAdGroupCustomizers", + "shortName": "GenerateContent", + "fullName": "google.ai.generativelanguage.v1.GenerativeService.GenerateContent", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/adGroupCustomizers:mutate" + "path": "/v1/{model=models/*}:generateContent" } ] - } - ] - }, - { - "shortName": "AdGroupExtensionSettingService", - "fullName": "google.ads.googleads.v13.services.AdGroupExtensionSettingService", - "methods": [ + }, { - "shortName": "MutateAdGroupExtensionSettings", - "fullName": "google.ads.googleads.v13.services.AdGroupExtensionSettingService.MutateAdGroupExtensionSettings", - "mode": "UNARY", + "shortName": "StreamGenerateContent", + "fullName": "google.ai.generativelanguage.v1.GenerativeService.StreamGenerateContent", + "mode": "SERVER_STREAMING", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/adGroupExtensionSettings:mutate" + "path": "/v1/{model=models/*}:streamGenerateContent" } ] } ] }, { - "shortName": "AdGroupFeedService", - "fullName": "google.ads.googleads.v13.services.AdGroupFeedService", + "shortName": "ModelService", + "fullName": "google.ai.generativelanguage.v1.ModelService", "methods": [ { - "shortName": "MutateAdGroupFeeds", - "fullName": "google.ads.googleads.v13.services.AdGroupFeedService.MutateAdGroupFeeds", + "shortName": "GetModel", + "fullName": "google.ai.generativelanguage.v1.ModelService.GetModel", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/adGroupFeeds:mutate" + "httpMethod": "GET", + "path": "/v1/{name=models/*}" } ] - } - ] - }, - { - "shortName": "AdGroupLabelService", - "fullName": "google.ads.googleads.v13.services.AdGroupLabelService", - "methods": [ + }, { - "shortName": "MutateAdGroupLabels", - "fullName": "google.ads.googleads.v13.services.AdGroupLabelService.MutateAdGroupLabels", + "shortName": "ListModels", + "fullName": "google.ai.generativelanguage.v1.ModelService.ListModels", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/adGroupLabels:mutate" + "httpMethod": "GET", + "path": "/v1/models" } ] } ] + } + ], + "configFile": "generativelanguage_v1.yaml", + "serviceConfigApiNames": [ + "google.ai.generativelanguage.v1.GenerativeService", + "google.ai.generativelanguage.v1.ModelService", + "google.longrunning.Operations" + ], + "nameInServiceConfig": "generativelanguage.googleapis.com" + }, + { + "id": "google.ai.generativelanguage.v1beta", + "directory": "google/ai/generativelanguage/v1beta", + "version": "v1beta", + "majorVersion": "v1", + "hostName": "generativelanguage.googleapis.com", + "title": "Generative Language API", + "description": "The Gemini API allows developers to build generative AI applications using Gemini models. Gemini is our most capable model in the world, built from the ground up to be multimodal. It can generalize and seamlessly understand, operate across, and combine different types of information. You can use the Gemini API for use cases like reasoning across text and images, content generation, dialogue agents, summarization and classification systems, and more.", + "importDirectories": [ + "google/ai/generativelanguage/v1beta", + "google/api", + "google/longrunning", + "google/protobuf" + ], + "options": { + "go_package": { + "valueCounts": { + "cloud.google.com/go/ai/generativelanguage/apiv1beta/generativelanguagepb;generativelanguagepb": 13 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 13 + } }, + "java_package": { + "valueCounts": { + "com.google.ai.generativelanguage.v1beta": 13 + } + } + }, + "services": [ { - "shortName": "AdGroupService", - "fullName": "google.ads.googleads.v13.services.AdGroupService", + "shortName": "DiscussService", + "fullName": "google.ai.generativelanguage.v1beta.DiscussService", "methods": [ { - "shortName": "MutateAdGroups", - "fullName": "google.ads.googleads.v13.services.AdGroupService.MutateAdGroups", + "shortName": "CountMessageTokens", + "fullName": "google.ai.generativelanguage.v1beta.DiscussService.CountMessageTokens", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/adGroups:mutate" + "path": "/v1beta/{model=models/*}:countMessageTokens" } ] - } - ] - }, - { - "shortName": "AdParameterService", - "fullName": "google.ads.googleads.v13.services.AdParameterService", - "methods": [ + }, { - "shortName": "MutateAdParameters", - "fullName": "google.ads.googleads.v13.services.AdParameterService.MutateAdParameters", + "shortName": "GenerateMessage", + "fullName": "google.ai.generativelanguage.v1beta.DiscussService.GenerateMessage", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/adParameters:mutate" + "path": "/v1beta/{model=models/*}:generateMessage" } ] } ] }, { - "shortName": "AdService", - "fullName": "google.ads.googleads.v13.services.AdService", + "shortName": "GenerativeService", + "fullName": "google.ai.generativelanguage.v1beta.GenerativeService", "methods": [ { - "shortName": "GetAd", - "fullName": "google.ads.googleads.v13.services.AdService.GetAd", + "shortName": "BatchEmbedContents", + "fullName": "google.ai.generativelanguage.v1beta.GenerativeService.BatchEmbedContents", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v13/{resource_name=customers/*/ads/*}" + "httpMethod": "POST", + "path": "/v1beta/{model=models/*}:batchEmbedContents" } ] }, { - "shortName": "MutateAds", - "fullName": "google.ads.googleads.v13.services.AdService.MutateAds", + "shortName": "CountTokens", + "fullName": "google.ai.generativelanguage.v1beta.GenerativeService.CountTokens", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/ads:mutate" + "path": "/v1beta/{model=models/*}:countTokens" } ] - } - ] - }, - { - "shortName": "AssetGroupAssetService", - "fullName": "google.ads.googleads.v13.services.AssetGroupAssetService", - "methods": [ + }, { - "shortName": "MutateAssetGroupAssets", - "fullName": "google.ads.googleads.v13.services.AssetGroupAssetService.MutateAssetGroupAssets", + "shortName": "EmbedContent", + "fullName": "google.ai.generativelanguage.v1beta.GenerativeService.EmbedContent", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/assetGroupAssets:mutate" + "path": "/v1beta/{model=models/*}:embedContent" } ] - } - ] - }, - { - "shortName": "AssetGroupListingGroupFilterService", - "fullName": "google.ads.googleads.v13.services.AssetGroupListingGroupFilterService", - "methods": [ + }, { - "shortName": "MutateAssetGroupListingGroupFilters", - "fullName": "google.ads.googleads.v13.services.AssetGroupListingGroupFilterService.MutateAssetGroupListingGroupFilters", + "shortName": "GenerateAnswer", + "fullName": "google.ai.generativelanguage.v1beta.GenerativeService.GenerateAnswer", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/assetGroupListingGroupFilters:mutate" + "path": "/v1beta/{model=models/*}:generateAnswer" } ] - } - ] - }, - { - "shortName": "AssetGroupService", - "fullName": "google.ads.googleads.v13.services.AssetGroupService", - "methods": [ + }, { - "shortName": "MutateAssetGroups", - "fullName": "google.ads.googleads.v13.services.AssetGroupService.MutateAssetGroups", + "shortName": "GenerateContent", + "fullName": "google.ai.generativelanguage.v1beta.GenerativeService.GenerateContent", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/assetGroups:mutate" + "path": "/v1beta/{model=models/*}:generateContent" } ] - } - ] - }, - { - "shortName": "AssetGroupSignalService", - "fullName": "google.ads.googleads.v13.services.AssetGroupSignalService", - "methods": [ + }, { - "shortName": "MutateAssetGroupSignals", - "fullName": "google.ads.googleads.v13.services.AssetGroupSignalService.MutateAssetGroupSignals", - "mode": "UNARY", + "shortName": "StreamGenerateContent", + "fullName": "google.ai.generativelanguage.v1beta.GenerativeService.StreamGenerateContent", + "mode": "SERVER_STREAMING", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/assetGroupSignals:mutate" + "path": "/v1beta/{model=models/*}:streamGenerateContent" } ] } ] }, { - "shortName": "AssetService", - "fullName": "google.ads.googleads.v13.services.AssetService", + "shortName": "ModelService", + "fullName": "google.ai.generativelanguage.v1beta.ModelService", "methods": [ { - "shortName": "MutateAssets", - "fullName": "google.ads.googleads.v13.services.AssetService.MutateAssets", + "shortName": "CreateTunedModel", + "fullName": "google.ai.generativelanguage.v1beta.ModelService.CreateTunedModel", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/assets:mutate" + "path": "/v1beta/tunedModels" } ] - } - ] - }, - { - "shortName": "AssetSetAssetService", - "fullName": "google.ads.googleads.v13.services.AssetSetAssetService", - "methods": [ + }, { - "shortName": "MutateAssetSetAssets", - "fullName": "google.ads.googleads.v13.services.AssetSetAssetService.MutateAssetSetAssets", + "shortName": "DeleteTunedModel", + "fullName": "google.ai.generativelanguage.v1beta.ModelService.DeleteTunedModel", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/assetSetAssets:mutate" + "httpMethod": "DELETE", + "path": "/v1beta/{name=tunedModels/*}" } ] - } - ] - }, - { - "shortName": "AssetSetService", - "fullName": "google.ads.googleads.v13.services.AssetSetService", - "methods": [ + }, { - "shortName": "MutateAssetSets", - "fullName": "google.ads.googleads.v13.services.AssetSetService.MutateAssetSets", + "shortName": "GetModel", + "fullName": "google.ai.generativelanguage.v1beta.ModelService.GetModel", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/assetSets:mutate" + "httpMethod": "GET", + "path": "/v1beta/{name=models/*}" } ] - } - ] - }, - { - "shortName": "AudienceInsightsService", - "fullName": "google.ads.googleads.v13.services.AudienceInsightsService", - "methods": [ + }, { - "shortName": "GenerateAudienceCompositionInsights", - "fullName": "google.ads.googleads.v13.services.AudienceInsightsService.GenerateAudienceCompositionInsights", + "shortName": "GetTunedModel", + "fullName": "google.ai.generativelanguage.v1beta.ModelService.GetTunedModel", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}:generateAudienceCompositionInsights" + "httpMethod": "GET", + "path": "/v1beta/{name=tunedModels/*}" } ] }, { - "shortName": "GenerateInsightsFinderReport", - "fullName": "google.ads.googleads.v13.services.AudienceInsightsService.GenerateInsightsFinderReport", + "shortName": "ListModels", + "fullName": "google.ai.generativelanguage.v1beta.ModelService.ListModels", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}:generateInsightsFinderReport" + "httpMethod": "GET", + "path": "/v1beta/models" } ] }, { - "shortName": "ListAudienceInsightsAttributes", - "fullName": "google.ads.googleads.v13.services.AudienceInsightsService.ListAudienceInsightsAttributes", + "shortName": "ListTunedModels", + "fullName": "google.ai.generativelanguage.v1beta.ModelService.ListTunedModels", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}:searchAudienceInsightsAttributes" + "httpMethod": "GET", + "path": "/v1beta/tunedModels" } ] }, { - "shortName": "ListInsightsEligibleDates", - "fullName": "google.ads.googleads.v13.services.AudienceInsightsService.ListInsightsEligibleDates", + "shortName": "UpdateTunedModel", + "fullName": "google.ai.generativelanguage.v1beta.ModelService.UpdateTunedModel", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/audienceInsights:listInsightsEligibleDates" + "httpMethod": "PATCH", + "path": "/v1beta/{tuned_model.name=tunedModels/*}" } ] } ] }, { - "shortName": "AudienceService", - "fullName": "google.ads.googleads.v13.services.AudienceService", + "shortName": "PermissionService", + "fullName": "google.ai.generativelanguage.v1beta.PermissionService", "methods": [ { - "shortName": "MutateAudiences", - "fullName": "google.ads.googleads.v13.services.AudienceService.MutateAudiences", + "shortName": "CreatePermission", + "fullName": "google.ai.generativelanguage.v1beta.PermissionService.CreatePermission", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/audiences:mutate" + "path": "/v1beta/{parent=tunedModels/*}/permissions" + }, + { + "httpMethod": "POST", + "path": "/v1beta/{parent=corpora/*}/permissions" } ] - } - ] - }, - { - "shortName": "BatchJobService", - "fullName": "google.ads.googleads.v13.services.BatchJobService", - "methods": [ + }, { - "shortName": "AddBatchJobOperations", - "fullName": "google.ads.googleads.v13.services.BatchJobService.AddBatchJobOperations", + "shortName": "DeletePermission", + "fullName": "google.ai.generativelanguage.v1beta.PermissionService.DeletePermission", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/{resource_name=customers/*/batchJobs/*}:addOperations" + "httpMethod": "DELETE", + "path": "/v1beta/{name=tunedModels/*/permissions/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v1beta/{name=corpora/*/permissions/*}" } ] }, { - "shortName": "ListBatchJobResults", - "fullName": "google.ads.googleads.v13.services.BatchJobService.ListBatchJobResults", + "shortName": "GetPermission", + "fullName": "google.ai.generativelanguage.v1beta.PermissionService.GetPermission", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v13/{resource_name=customers/*/batchJobs/*}:listResults" + "path": "/v1beta/{name=tunedModels/*/permissions/*}" + }, + { + "httpMethod": "GET", + "path": "/v1beta/{name=corpora/*/permissions/*}" } ] }, { - "shortName": "MutateBatchJob", - "fullName": "google.ads.googleads.v13.services.BatchJobService.MutateBatchJob", + "shortName": "ListPermissions", + "fullName": "google.ai.generativelanguage.v1beta.PermissionService.ListPermissions", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/batchJobs:mutate" + "httpMethod": "GET", + "path": "/v1beta/{parent=tunedModels/*}/permissions" + }, + { + "httpMethod": "GET", + "path": "/v1beta/{parent=corpora/*}/permissions" } ] }, { - "shortName": "RunBatchJob", - "fullName": "google.ads.googleads.v13.services.BatchJobService.RunBatchJob", + "shortName": "TransferOwnership", + "fullName": "google.ai.generativelanguage.v1beta.PermissionService.TransferOwnership", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/{resource_name=customers/*/batchJobs/*}:run" + "path": "/v1beta/{name=tunedModels/*}:transferOwnership" } ] - } - ] - }, - { - "shortName": "BiddingDataExclusionService", - "fullName": "google.ads.googleads.v13.services.BiddingDataExclusionService", - "methods": [ + }, { - "shortName": "MutateBiddingDataExclusions", - "fullName": "google.ads.googleads.v13.services.BiddingDataExclusionService.MutateBiddingDataExclusions", + "shortName": "UpdatePermission", + "fullName": "google.ai.generativelanguage.v1beta.PermissionService.UpdatePermission", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/biddingDataExclusions:mutate" + "httpMethod": "PATCH", + "path": "/v1beta/{permission.name=tunedModels/*/permissions/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1beta/{permission.name=corpora/*/permissions/*}" } ] } ] }, { - "shortName": "BiddingSeasonalityAdjustmentService", - "fullName": "google.ads.googleads.v13.services.BiddingSeasonalityAdjustmentService", + "shortName": "RetrieverService", + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService", "methods": [ { - "shortName": "MutateBiddingSeasonalityAdjustments", - "fullName": "google.ads.googleads.v13.services.BiddingSeasonalityAdjustmentService.MutateBiddingSeasonalityAdjustments", + "shortName": "BatchCreateChunks", + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.BatchCreateChunks", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/biddingSeasonalityAdjustments:mutate" + "path": "/v1beta/{parent=corpora/*/documents/*}/chunks:batchCreate" } ] - } - ] - }, - { - "shortName": "BiddingStrategyService", - "fullName": "google.ads.googleads.v13.services.BiddingStrategyService", - "methods": [ + }, { - "shortName": "MutateBiddingStrategies", - "fullName": "google.ads.googleads.v13.services.BiddingStrategyService.MutateBiddingStrategies", + "shortName": "BatchDeleteChunks", + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.BatchDeleteChunks", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/biddingStrategies:mutate" + "path": "/v1beta/{parent=corpora/*/documents/*}/chunks:batchDelete" } ] - } - ] - }, - { - "shortName": "BillingSetupService", - "fullName": "google.ads.googleads.v13.services.BillingSetupService", - "methods": [ + }, { - "shortName": "MutateBillingSetup", - "fullName": "google.ads.googleads.v13.services.BillingSetupService.MutateBillingSetup", + "shortName": "BatchUpdateChunks", + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.BatchUpdateChunks", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/billingSetups:mutate" + "path": "/v1beta/{parent=corpora/*/documents/*}/chunks:batchUpdate" } ] - } - ] - }, - { - "shortName": "CampaignAssetService", - "fullName": "google.ads.googleads.v13.services.CampaignAssetService", - "methods": [ + }, { - "shortName": "MutateCampaignAssets", - "fullName": "google.ads.googleads.v13.services.CampaignAssetService.MutateCampaignAssets", + "shortName": "CreateChunk", + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.CreateChunk", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/campaignAssets:mutate" + "path": "/v1beta/{parent=corpora/*/documents/*}/chunks" } ] - } - ] - }, - { - "shortName": "CampaignAssetSetService", - "fullName": "google.ads.googleads.v13.services.CampaignAssetSetService", - "methods": [ + }, { - "shortName": "MutateCampaignAssetSets", - "fullName": "google.ads.googleads.v13.services.CampaignAssetSetService.MutateCampaignAssetSets", + "shortName": "CreateCorpus", + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.CreateCorpus", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/campaignAssetSets:mutate" + "path": "/v1beta/corpora" } ] - } - ] - }, - { - "shortName": "CampaignBidModifierService", - "fullName": "google.ads.googleads.v13.services.CampaignBidModifierService", - "methods": [ + }, { - "shortName": "MutateCampaignBidModifiers", - "fullName": "google.ads.googleads.v13.services.CampaignBidModifierService.MutateCampaignBidModifiers", + "shortName": "CreateDocument", + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.CreateDocument", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/campaignBidModifiers:mutate" + "path": "/v1beta/{parent=corpora/*}/documents" } ] - } - ] - }, - { - "shortName": "CampaignBudgetService", - "fullName": "google.ads.googleads.v13.services.CampaignBudgetService", - "methods": [ + }, { - "shortName": "MutateCampaignBudgets", - "fullName": "google.ads.googleads.v13.services.CampaignBudgetService.MutateCampaignBudgets", + "shortName": "DeleteChunk", + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.DeleteChunk", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/campaignBudgets:mutate" + "httpMethod": "DELETE", + "path": "/v1beta/{name=corpora/*/documents/*/chunks/*}" } ] - } - ] - }, - { - "shortName": "CampaignConversionGoalService", - "fullName": "google.ads.googleads.v13.services.CampaignConversionGoalService", - "methods": [ + }, { - "shortName": "MutateCampaignConversionGoals", - "fullName": "google.ads.googleads.v13.services.CampaignConversionGoalService.MutateCampaignConversionGoals", + "shortName": "DeleteCorpus", + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.DeleteCorpus", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/campaignConversionGoals:mutate" + "httpMethod": "DELETE", + "path": "/v1beta/{name=corpora/*}" } ] - } - ] - }, - { - "shortName": "CampaignCriterionService", - "fullName": "google.ads.googleads.v13.services.CampaignCriterionService", - "methods": [ + }, { - "shortName": "MutateCampaignCriteria", - "fullName": "google.ads.googleads.v13.services.CampaignCriterionService.MutateCampaignCriteria", + "shortName": "DeleteDocument", + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.DeleteDocument", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/campaignCriteria:mutate" + "httpMethod": "DELETE", + "path": "/v1beta/{name=corpora/*/documents/*}" } ] - } - ] - }, - { - "shortName": "CampaignCustomizerService", - "fullName": "google.ads.googleads.v13.services.CampaignCustomizerService", - "methods": [ + }, { - "shortName": "MutateCampaignCustomizers", - "fullName": "google.ads.googleads.v13.services.CampaignCustomizerService.MutateCampaignCustomizers", + "shortName": "GetChunk", + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.GetChunk", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/campaignCustomizers:mutate" + "httpMethod": "GET", + "path": "/v1beta/{name=corpora/*/documents/*/chunks/*}" } ] - } - ] - }, - { - "shortName": "CampaignDraftService", - "fullName": "google.ads.googleads.v13.services.CampaignDraftService", - "methods": [ + }, { - "shortName": "ListCampaignDraftAsyncErrors", - "fullName": "google.ads.googleads.v13.services.CampaignDraftService.ListCampaignDraftAsyncErrors", + "shortName": "GetCorpus", + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.GetCorpus", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v13/{resource_name=customers/*/campaignDrafts/*}:listAsyncErrors" + "path": "/v1beta/{name=corpora/*}" } ] }, { - "shortName": "MutateCampaignDrafts", - "fullName": "google.ads.googleads.v13.services.CampaignDraftService.MutateCampaignDrafts", + "shortName": "GetDocument", + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.GetDocument", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/campaignDrafts:mutate" + "httpMethod": "GET", + "path": "/v1beta/{name=corpora/*/documents/*}" } ] }, { - "shortName": "PromoteCampaignDraft", - "fullName": "google.ads.googleads.v13.services.CampaignDraftService.PromoteCampaignDraft", + "shortName": "ListChunks", + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.ListChunks", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/{campaign_draft=customers/*/campaignDrafts/*}:promote" + "httpMethod": "GET", + "path": "/v1beta/{parent=corpora/*/documents/*}/chunks" } ] - } - ] - }, - { - "shortName": "CampaignExtensionSettingService", - "fullName": "google.ads.googleads.v13.services.CampaignExtensionSettingService", - "methods": [ + }, { - "shortName": "MutateCampaignExtensionSettings", - "fullName": "google.ads.googleads.v13.services.CampaignExtensionSettingService.MutateCampaignExtensionSettings", + "shortName": "ListCorpora", + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.ListCorpora", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/campaignExtensionSettings:mutate" + "httpMethod": "GET", + "path": "/v1beta/corpora" } ] - } - ] - }, - { - "shortName": "CampaignFeedService", - "fullName": "google.ads.googleads.v13.services.CampaignFeedService", - "methods": [ + }, { - "shortName": "MutateCampaignFeeds", - "fullName": "google.ads.googleads.v13.services.CampaignFeedService.MutateCampaignFeeds", + "shortName": "ListDocuments", + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.ListDocuments", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/campaignFeeds:mutate" + "httpMethod": "GET", + "path": "/v1beta/{parent=corpora/*}/documents" } ] - } - ] - }, - { - "shortName": "CampaignGroupService", - "fullName": "google.ads.googleads.v13.services.CampaignGroupService", - "methods": [ + }, { - "shortName": "MutateCampaignGroups", - "fullName": "google.ads.googleads.v13.services.CampaignGroupService.MutateCampaignGroups", + "shortName": "QueryCorpus", + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.QueryCorpus", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/campaignGroups:mutate" + "path": "/v1beta/{name=corpora/*}:query" } ] - } - ] - }, - { - "shortName": "CampaignLabelService", - "fullName": "google.ads.googleads.v13.services.CampaignLabelService", - "methods": [ + }, { - "shortName": "MutateCampaignLabels", - "fullName": "google.ads.googleads.v13.services.CampaignLabelService.MutateCampaignLabels", + "shortName": "QueryDocument", + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.QueryDocument", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/campaignLabels:mutate" + "path": "/v1beta/{name=corpora/*/documents/*}:query" } ] - } - ] - }, - { - "shortName": "CampaignService", - "fullName": "google.ads.googleads.v13.services.CampaignService", - "methods": [ + }, { - "shortName": "MutateCampaigns", - "fullName": "google.ads.googleads.v13.services.CampaignService.MutateCampaigns", + "shortName": "UpdateChunk", + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.UpdateChunk", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/campaigns:mutate" + "httpMethod": "PATCH", + "path": "/v1beta/{chunk.name=corpora/*/documents/*/chunks/*}" } ] - } - ] - }, - { - "shortName": "CampaignSharedSetService", - "fullName": "google.ads.googleads.v13.services.CampaignSharedSetService", - "methods": [ + }, { - "shortName": "MutateCampaignSharedSets", - "fullName": "google.ads.googleads.v13.services.CampaignSharedSetService.MutateCampaignSharedSets", + "shortName": "UpdateCorpus", + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.UpdateCorpus", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/campaignSharedSets:mutate" + "httpMethod": "PATCH", + "path": "/v1beta/{corpus.name=corpora/*}" + } + ] + }, + { + "shortName": "UpdateDocument", + "fullName": "google.ai.generativelanguage.v1beta.RetrieverService.UpdateDocument", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta/{document.name=corpora/*/documents/*}" } ] } ] }, { - "shortName": "ConversionActionService", - "fullName": "google.ads.googleads.v13.services.ConversionActionService", + "shortName": "TextService", + "fullName": "google.ai.generativelanguage.v1beta.TextService", "methods": [ { - "shortName": "MutateConversionActions", - "fullName": "google.ads.googleads.v13.services.ConversionActionService.MutateConversionActions", + "shortName": "BatchEmbedText", + "fullName": "google.ai.generativelanguage.v1beta.TextService.BatchEmbedText", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/conversionActions:mutate" + "path": "/v1beta/{model=models/*}:batchEmbedText" } ] - } - ] - }, - { - "shortName": "ConversionAdjustmentUploadService", - "fullName": "google.ads.googleads.v13.services.ConversionAdjustmentUploadService", - "methods": [ + }, { - "shortName": "UploadConversionAdjustments", - "fullName": "google.ads.googleads.v13.services.ConversionAdjustmentUploadService.UploadConversionAdjustments", + "shortName": "CountTextTokens", + "fullName": "google.ai.generativelanguage.v1beta.TextService.CountTextTokens", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}:uploadConversionAdjustments" + "path": "/v1beta/{model=models/*}:countTextTokens" } ] - } - ] - }, - { - "shortName": "ConversionCustomVariableService", - "fullName": "google.ads.googleads.v13.services.ConversionCustomVariableService", - "methods": [ + }, { - "shortName": "MutateConversionCustomVariables", - "fullName": "google.ads.googleads.v13.services.ConversionCustomVariableService.MutateConversionCustomVariables", + "shortName": "EmbedText", + "fullName": "google.ai.generativelanguage.v1beta.TextService.EmbedText", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/conversionCustomVariables:mutate" + "path": "/v1beta/{model=models/*}:embedText" } ] - } - ] - }, - { - "shortName": "ConversionGoalCampaignConfigService", - "fullName": "google.ads.googleads.v13.services.ConversionGoalCampaignConfigService", - "methods": [ + }, { - "shortName": "MutateConversionGoalCampaignConfigs", - "fullName": "google.ads.googleads.v13.services.ConversionGoalCampaignConfigService.MutateConversionGoalCampaignConfigs", + "shortName": "GenerateText", + "fullName": "google.ai.generativelanguage.v1beta.TextService.GenerateText", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/conversionGoalCampaignConfigs:mutate" + "path": "/v1beta/{model=models/*}:generateText" + }, + { + "httpMethod": "POST", + "path": "/v1beta/{model=tunedModels/*}:generateText" } ] } ] + } + ], + "configFile": "generativelanguage_v1beta.yaml", + "serviceConfigApiNames": [ + "google.ai.generativelanguage.v1beta.DiscussService", + "google.ai.generativelanguage.v1beta.GenerativeService", + "google.ai.generativelanguage.v1beta.ModelService", + "google.ai.generativelanguage.v1beta.PermissionService", + "google.ai.generativelanguage.v1beta.RetrieverService", + "google.ai.generativelanguage.v1beta.TextService", + "google.longrunning.Operations" + ], + "nameInServiceConfig": "generativelanguage.googleapis.com" + }, + { + "id": "google.ai.generativelanguage.v1beta2", + "directory": "google/ai/generativelanguage/v1beta2", + "version": "v1beta2", + "majorVersion": "v1", + "hostName": "generativelanguage.googleapis.com", + "title": "Generative Language API", + "description": "The PaLM API allows developers to build generative AI applications using the PaLM model. Large Language Models (LLMs) are a powerful, versatile type of machine learning model that enables computers to comprehend and generate natural language through a series of prompts. The PaLM API is based on Google's next generation LLM, PaLM. It excels at a variety of different tasks like code generation, reasoning, and writing. You can use the PaLM API to build generative AI applications for use cases like content generation, dialogue agents, summarization and classification systems, and more.", + "importDirectories": [ + "google/ai/generativelanguage/v1beta2", + "google/api" + ], + "options": { + "go_package": { + "valueCounts": { + "cloud.google.com/go/ai/generativelanguage/apiv1beta2/generativelanguagepb;generativelanguagepb": 6 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 6 + } }, + "java_package": { + "valueCounts": { + "com.google.ai.generativelanguage.v1beta2": 6 + } + } + }, + "services": [ { - "shortName": "ConversionUploadService", - "fullName": "google.ads.googleads.v13.services.ConversionUploadService", + "shortName": "DiscussService", + "fullName": "google.ai.generativelanguage.v1beta2.DiscussService", "methods": [ { - "shortName": "UploadCallConversions", - "fullName": "google.ads.googleads.v13.services.ConversionUploadService.UploadCallConversions", + "shortName": "CountMessageTokens", + "fullName": "google.ai.generativelanguage.v1beta2.DiscussService.CountMessageTokens", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}:uploadCallConversions" + "path": "/v1beta2/{model=models/*}:countMessageTokens" } ] }, { - "shortName": "UploadClickConversions", - "fullName": "google.ads.googleads.v13.services.ConversionUploadService.UploadClickConversions", + "shortName": "GenerateMessage", + "fullName": "google.ai.generativelanguage.v1beta2.DiscussService.GenerateMessage", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}:uploadClickConversions" + "path": "/v1beta2/{model=models/*}:generateMessage" } ] } ] }, { - "shortName": "ConversionValueRuleService", - "fullName": "google.ads.googleads.v13.services.ConversionValueRuleService", + "shortName": "ModelService", + "fullName": "google.ai.generativelanguage.v1beta2.ModelService", "methods": [ { - "shortName": "MutateConversionValueRules", - "fullName": "google.ads.googleads.v13.services.ConversionValueRuleService.MutateConversionValueRules", + "shortName": "GetModel", + "fullName": "google.ai.generativelanguage.v1beta2.ModelService.GetModel", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/conversionValueRules:mutate" + "httpMethod": "GET", + "path": "/v1beta2/{name=models/*}" } ] - } - ] - }, - { - "shortName": "ConversionValueRuleSetService", - "fullName": "google.ads.googleads.v13.services.ConversionValueRuleSetService", - "methods": [ + }, { - "shortName": "MutateConversionValueRuleSets", - "fullName": "google.ads.googleads.v13.services.ConversionValueRuleSetService.MutateConversionValueRuleSets", + "shortName": "ListModels", + "fullName": "google.ai.generativelanguage.v1beta2.ModelService.ListModels", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/conversionValueRuleSets:mutate" + "httpMethod": "GET", + "path": "/v1beta2/models" } ] } ] }, { - "shortName": "CustomAudienceService", - "fullName": "google.ads.googleads.v13.services.CustomAudienceService", + "shortName": "TextService", + "fullName": "google.ai.generativelanguage.v1beta2.TextService", "methods": [ { - "shortName": "MutateCustomAudiences", - "fullName": "google.ads.googleads.v13.services.CustomAudienceService.MutateCustomAudiences", + "shortName": "EmbedText", + "fullName": "google.ai.generativelanguage.v1beta2.TextService.EmbedText", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/customAudiences:mutate" + "path": "/v1beta2/{model=models/*}:embedText" } ] - } - ] - }, - { - "shortName": "CustomConversionGoalService", - "fullName": "google.ads.googleads.v13.services.CustomConversionGoalService", - "methods": [ + }, { - "shortName": "MutateCustomConversionGoals", - "fullName": "google.ads.googleads.v13.services.CustomConversionGoalService.MutateCustomConversionGoals", + "shortName": "GenerateText", + "fullName": "google.ai.generativelanguage.v1beta2.TextService.GenerateText", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/customConversionGoals:mutate" + "path": "/v1beta2/{model=models/*}:generateText" } ] } ] + } + ], + "configFile": "generativelanguage_v1beta2.yaml", + "serviceConfigApiNames": [ + "google.ai.generativelanguage.v1beta2.DiscussService", + "google.ai.generativelanguage.v1beta2.ModelService", + "google.ai.generativelanguage.v1beta2.TextService" + ], + "nameInServiceConfig": "generativelanguage.googleapis.com" + }, + { + "id": "google.ai.generativelanguage.v1beta3", + "directory": "google/ai/generativelanguage/v1beta3", + "version": "v1beta3", + "majorVersion": "v1", + "hostName": "generativelanguage.googleapis.com", + "title": "Generative Language API", + "description": "The PaLM API allows developers to build generative AI applications using the PaLM model. Large Language Models (LLMs) are a powerful, versatile type of machine learning model that enables computers to comprehend and generate natural language through a series of prompts. The PaLM API is based on Google's next generation LLM, PaLM. It excels at a variety of different tasks like code generation, reasoning, and writing. You can use the PaLM API to build generative AI applications for use cases like content generation, dialogue agents, summarization and classification systems, and more.", + "importDirectories": [ + "google/ai/generativelanguage/v1beta3", + "google/api", + "google/longrunning", + "google/protobuf" + ], + "options": { + "go_package": { + "valueCounts": { + "cloud.google.com/go/ai/generativelanguage/apiv1beta3/generativelanguagepb;generativelanguagepb": 9 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 9 + } }, + "java_package": { + "valueCounts": { + "com.google.ai.generativelanguage.v1beta3": 9 + } + } + }, + "services": [ { - "shortName": "CustomInterestService", - "fullName": "google.ads.googleads.v13.services.CustomInterestService", + "shortName": "DiscussService", + "fullName": "google.ai.generativelanguage.v1beta3.DiscussService", "methods": [ { - "shortName": "MutateCustomInterests", - "fullName": "google.ads.googleads.v13.services.CustomInterestService.MutateCustomInterests", + "shortName": "CountMessageTokens", + "fullName": "google.ai.generativelanguage.v1beta3.DiscussService.CountMessageTokens", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/customInterests:mutate" + "path": "/v1beta3/{model=models/*}:countMessageTokens" } ] - } - ] - }, - { - "shortName": "CustomerAssetService", - "fullName": "google.ads.googleads.v13.services.CustomerAssetService", - "methods": [ + }, { - "shortName": "MutateCustomerAssets", - "fullName": "google.ads.googleads.v13.services.CustomerAssetService.MutateCustomerAssets", + "shortName": "GenerateMessage", + "fullName": "google.ai.generativelanguage.v1beta3.DiscussService.GenerateMessage", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/customerAssets:mutate" + "path": "/v1beta3/{model=models/*}:generateMessage" } ] } ] }, { - "shortName": "CustomerAssetSetService", - "fullName": "google.ads.googleads.v13.services.CustomerAssetSetService", + "shortName": "ModelService", + "fullName": "google.ai.generativelanguage.v1beta3.ModelService", "methods": [ { - "shortName": "MutateCustomerAssetSets", - "fullName": "google.ads.googleads.v13.services.CustomerAssetSetService.MutateCustomerAssetSets", + "shortName": "CreateTunedModel", + "fullName": "google.ai.generativelanguage.v1beta3.ModelService.CreateTunedModel", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/customerAssetSets:mutate" + "path": "/v1beta3/tunedModels" } ] - } - ] - }, - { - "shortName": "CustomerClientLinkService", - "fullName": "google.ads.googleads.v13.services.CustomerClientLinkService", - "methods": [ + }, { - "shortName": "MutateCustomerClientLink", - "fullName": "google.ads.googleads.v13.services.CustomerClientLinkService.MutateCustomerClientLink", + "shortName": "DeleteTunedModel", + "fullName": "google.ai.generativelanguage.v1beta3.ModelService.DeleteTunedModel", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/customerClientLinks:mutate" + "httpMethod": "DELETE", + "path": "/v1beta3/{name=tunedModels/*}" } ] - } - ] - }, - { - "shortName": "CustomerConversionGoalService", - "fullName": "google.ads.googleads.v13.services.CustomerConversionGoalService", - "methods": [ + }, { - "shortName": "MutateCustomerConversionGoals", - "fullName": "google.ads.googleads.v13.services.CustomerConversionGoalService.MutateCustomerConversionGoals", + "shortName": "GetModel", + "fullName": "google.ai.generativelanguage.v1beta3.ModelService.GetModel", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/customerConversionGoals:mutate" + "httpMethod": "GET", + "path": "/v1beta3/{name=models/*}" } ] - } - ] - }, - { - "shortName": "CustomerCustomizerService", - "fullName": "google.ads.googleads.v13.services.CustomerCustomizerService", - "methods": [ + }, { - "shortName": "MutateCustomerCustomizers", - "fullName": "google.ads.googleads.v13.services.CustomerCustomizerService.MutateCustomerCustomizers", + "shortName": "GetTunedModel", + "fullName": "google.ai.generativelanguage.v1beta3.ModelService.GetTunedModel", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/CustomerCustomizers:mutate" + "httpMethod": "GET", + "path": "/v1beta3/{name=tunedModels/*}" } ] - } - ] - }, - { - "shortName": "CustomerExtensionSettingService", - "fullName": "google.ads.googleads.v13.services.CustomerExtensionSettingService", - "methods": [ + }, { - "shortName": "MutateCustomerExtensionSettings", - "fullName": "google.ads.googleads.v13.services.CustomerExtensionSettingService.MutateCustomerExtensionSettings", + "shortName": "ListModels", + "fullName": "google.ai.generativelanguage.v1beta3.ModelService.ListModels", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/customerExtensionSettings:mutate" + "httpMethod": "GET", + "path": "/v1beta3/models" } ] - } - ] - }, - { - "shortName": "CustomerFeedService", - "fullName": "google.ads.googleads.v13.services.CustomerFeedService", - "methods": [ + }, { - "shortName": "MutateCustomerFeeds", - "fullName": "google.ads.googleads.v13.services.CustomerFeedService.MutateCustomerFeeds", + "shortName": "ListTunedModels", + "fullName": "google.ai.generativelanguage.v1beta3.ModelService.ListTunedModels", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/customerFeeds:mutate" + "httpMethod": "GET", + "path": "/v1beta3/tunedModels" } ] - } - ] - }, - { - "shortName": "CustomerLabelService", - "fullName": "google.ads.googleads.v13.services.CustomerLabelService", - "methods": [ + }, { - "shortName": "MutateCustomerLabels", - "fullName": "google.ads.googleads.v13.services.CustomerLabelService.MutateCustomerLabels", + "shortName": "UpdateTunedModel", + "fullName": "google.ai.generativelanguage.v1beta3.ModelService.UpdateTunedModel", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/customerLabels:mutate" + "httpMethod": "PATCH", + "path": "/v1beta3/{tuned_model.name=tunedModels/*}" } ] } ] }, { - "shortName": "CustomerManagerLinkService", - "fullName": "google.ads.googleads.v13.services.CustomerManagerLinkService", + "shortName": "PermissionService", + "fullName": "google.ai.generativelanguage.v1beta3.PermissionService", "methods": [ { - "shortName": "MoveManagerLink", - "fullName": "google.ads.googleads.v13.services.CustomerManagerLinkService.MoveManagerLink", + "shortName": "CreatePermission", + "fullName": "google.ai.generativelanguage.v1beta3.PermissionService.CreatePermission", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/customerManagerLinks:moveManagerLink" + "path": "/v1beta3/{parent=tunedModels/*}/permissions" } ] }, { - "shortName": "MutateCustomerManagerLink", - "fullName": "google.ads.googleads.v13.services.CustomerManagerLinkService.MutateCustomerManagerLink", + "shortName": "DeletePermission", + "fullName": "google.ai.generativelanguage.v1beta3.PermissionService.DeletePermission", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/customerManagerLinks:mutate" + "httpMethod": "DELETE", + "path": "/v1beta3/{name=tunedModels/*/permissions/*}" } ] - } - ] - }, - { - "shortName": "CustomerNegativeCriterionService", - "fullName": "google.ads.googleads.v13.services.CustomerNegativeCriterionService", - "methods": [ + }, { - "shortName": "MutateCustomerNegativeCriteria", - "fullName": "google.ads.googleads.v13.services.CustomerNegativeCriterionService.MutateCustomerNegativeCriteria", + "shortName": "GetPermission", + "fullName": "google.ai.generativelanguage.v1beta3.PermissionService.GetPermission", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/customerNegativeCriteria:mutate" + "httpMethod": "GET", + "path": "/v1beta3/{name=tunedModels/*/permissions/*}" } ] - } - ] - }, - { - "shortName": "CustomerService", - "fullName": "google.ads.googleads.v13.services.CustomerService", - "methods": [ + }, { - "shortName": "CreateCustomerClient", - "fullName": "google.ads.googleads.v13.services.CustomerService.CreateCustomerClient", + "shortName": "ListPermissions", + "fullName": "google.ai.generativelanguage.v1beta3.PermissionService.ListPermissions", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}:createCustomerClient" + "httpMethod": "GET", + "path": "/v1beta3/{parent=tunedModels/*}/permissions" } ] }, { - "shortName": "ListAccessibleCustomers", - "fullName": "google.ads.googleads.v13.services.CustomerService.ListAccessibleCustomers", + "shortName": "TransferOwnership", + "fullName": "google.ai.generativelanguage.v1beta3.PermissionService.TransferOwnership", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v13/customers:listAccessibleCustomers" + "httpMethod": "POST", + "path": "/v1beta3/{name=tunedModels/*}:transferOwnership" } ] }, { - "shortName": "MutateCustomer", - "fullName": "google.ads.googleads.v13.services.CustomerService.MutateCustomer", + "shortName": "UpdatePermission", + "fullName": "google.ai.generativelanguage.v1beta3.PermissionService.UpdatePermission", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}:mutate" + "httpMethod": "PATCH", + "path": "/v1beta3/{permission.name=tunedModels/*/permissions/*}" } ] } ] }, { - "shortName": "CustomerUserAccessInvitationService", - "fullName": "google.ads.googleads.v13.services.CustomerUserAccessInvitationService", + "shortName": "TextService", + "fullName": "google.ai.generativelanguage.v1beta3.TextService", "methods": [ { - "shortName": "MutateCustomerUserAccessInvitation", - "fullName": "google.ads.googleads.v13.services.CustomerUserAccessInvitationService.MutateCustomerUserAccessInvitation", + "shortName": "BatchEmbedText", + "fullName": "google.ai.generativelanguage.v1beta3.TextService.BatchEmbedText", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/customerUserAccessInvitations:mutate" + "path": "/v1beta3/{model=models/*}:batchEmbedText" } ] - } - ] - }, - { - "shortName": "CustomerUserAccessService", - "fullName": "google.ads.googleads.v13.services.CustomerUserAccessService", - "methods": [ + }, { - "shortName": "MutateCustomerUserAccess", - "fullName": "google.ads.googleads.v13.services.CustomerUserAccessService.MutateCustomerUserAccess", + "shortName": "CountTextTokens", + "fullName": "google.ai.generativelanguage.v1beta3.TextService.CountTextTokens", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/customerUserAccesses:mutate" + "path": "/v1beta3/{model=models/*}:countTextTokens" } ] - } - ] - }, - { - "shortName": "CustomizerAttributeService", - "fullName": "google.ads.googleads.v13.services.CustomizerAttributeService", - "methods": [ + }, { - "shortName": "MutateCustomizerAttributes", - "fullName": "google.ads.googleads.v13.services.CustomizerAttributeService.MutateCustomizerAttributes", + "shortName": "EmbedText", + "fullName": "google.ai.generativelanguage.v1beta3.TextService.EmbedText", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/customizerAttributes:mutate" + "path": "/v1beta3/{model=models/*}:embedText" } ] - } - ] - }, - { - "shortName": "ExperimentArmService", - "fullName": "google.ads.googleads.v13.services.ExperimentArmService", - "methods": [ + }, { - "shortName": "MutateExperimentArms", - "fullName": "google.ads.googleads.v13.services.ExperimentArmService.MutateExperimentArms", + "shortName": "GenerateText", + "fullName": "google.ai.generativelanguage.v1beta3.TextService.GenerateText", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/experimentArms:mutate" + "path": "/v1beta3/{model=models/*}:generateText" + }, + { + "httpMethod": "POST", + "path": "/v1beta3/{model=tunedModels/*}:generateText" } ] } ] + } + ], + "configFile": "generativelanguage_v1beta3.yaml", + "serviceConfigApiNames": [ + "google.ai.generativelanguage.v1beta3.DiscussService", + "google.ai.generativelanguage.v1beta3.ModelService", + "google.ai.generativelanguage.v1beta3.PermissionService", + "google.ai.generativelanguage.v1beta3.TextService", + "google.longrunning.Operations" + ], + "nameInServiceConfig": "generativelanguage.googleapis.com" + }, + { + "id": "google.analytics.admin.v1alpha", + "directory": "google/analytics/admin/v1alpha", + "version": "v1alpha", + "majorVersion": "v1", + "hostName": "analyticsadmin.googleapis.com", + "title": "Google Analytics Admin API", + "description": "Manage properties in Google Analytics. Warning: Creating multiple Customer Applications, Accounts, or Projects to simulate or act as a single Customer Application, Account, or Project (respectively) or to circumvent Service-specific usage limits or quotas is a direct violation of Google Cloud Platform Terms of Service as well as Google APIs Terms of Service. These actions can result in immediate termination of your GCP project(s) without any warning.", + "importDirectories": [ + "google/analytics/admin/v1alpha", + "google/api", + "google/protobuf" + ], + "options": { + "go_package": { + "valueCounts": { + "cloud.google.com/go/analytics/admin/apiv1alpha/adminpb;adminpb": 8 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 8 + } }, + "java_package": { + "valueCounts": { + "com.google.analytics.admin.v1alpha": 8 + } + } + }, + "services": [ { - "shortName": "ExperimentService", - "fullName": "google.ads.googleads.v13.services.ExperimentService", + "shortName": "AnalyticsAdminService", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", "methods": [ { - "shortName": "EndExperiment", - "fullName": "google.ads.googleads.v13.services.ExperimentService.EndExperiment", + "shortName": "AcknowledgeUserDataCollection", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.AcknowledgeUserDataCollection", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/{experiment=customers/*/experiments/*}:endExperiment" + "path": "/v1alpha/{property=properties/*}:acknowledgeUserDataCollection" } ] }, { - "shortName": "GraduateExperiment", - "fullName": "google.ads.googleads.v13.services.ExperimentService.GraduateExperiment", + "shortName": "ApproveDisplayVideo360AdvertiserLinkProposal", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ApproveDisplayVideo360AdvertiserLinkProposal", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/{experiment=customers/*/experiments/*}:graduateExperiment" + "path": "/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}:approve" } ] }, { - "shortName": "ListExperimentAsyncErrors", - "fullName": "google.ads.googleads.v13.services.ExperimentService.ListExperimentAsyncErrors", + "shortName": "ArchiveAudience", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ArchiveAudience", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v13/{resource_name=customers/*/experiments/*}:listExperimentAsyncErrors" + "httpMethod": "POST", + "path": "/v1alpha/{name=properties/*/audiences/*}:archive" } ] }, { - "shortName": "MutateExperiments", - "fullName": "google.ads.googleads.v13.services.ExperimentService.MutateExperiments", + "shortName": "ArchiveCustomDimension", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ArchiveCustomDimension", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/experiments:mutate" + "path": "/v1alpha/{name=properties/*/customDimensions/*}:archive" } ] }, { - "shortName": "PromoteExperiment", - "fullName": "google.ads.googleads.v13.services.ExperimentService.PromoteExperiment", + "shortName": "ArchiveCustomMetric", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ArchiveCustomMetric", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/{resource_name=customers/*/experiments/*}:promoteExperiment" + "path": "/v1alpha/{name=properties/*/customMetrics/*}:archive" } ] }, { - "shortName": "ScheduleExperiment", - "fullName": "google.ads.googleads.v13.services.ExperimentService.ScheduleExperiment", + "shortName": "BatchCreateAccessBindings", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.BatchCreateAccessBindings", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/{resource_name=customers/*/experiments/*}:scheduleExperiment" + "path": "/v1alpha/{parent=accounts/*}/accessBindings:batchCreate" + }, + { + "httpMethod": "POST", + "path": "/v1alpha/{parent=properties/*}/accessBindings:batchCreate" } ] - } - ] - }, - { - "shortName": "ExtensionFeedItemService", - "fullName": "google.ads.googleads.v13.services.ExtensionFeedItemService", - "methods": [ + }, { - "shortName": "MutateExtensionFeedItems", - "fullName": "google.ads.googleads.v13.services.ExtensionFeedItemService.MutateExtensionFeedItems", + "shortName": "BatchDeleteAccessBindings", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.BatchDeleteAccessBindings", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/extensionFeedItems:mutate" + "path": "/v1alpha/{parent=accounts/*}/accessBindings:batchDelete" + }, + { + "httpMethod": "POST", + "path": "/v1alpha/{parent=properties/*}/accessBindings:batchDelete" } ] - } - ] - }, - { - "shortName": "FeedItemService", - "fullName": "google.ads.googleads.v13.services.FeedItemService", - "methods": [ + }, { - "shortName": "MutateFeedItems", - "fullName": "google.ads.googleads.v13.services.FeedItemService.MutateFeedItems", + "shortName": "BatchGetAccessBindings", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.BatchGetAccessBindings", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/feedItems:mutate" + "httpMethod": "GET", + "path": "/v1alpha/{parent=accounts/*}/accessBindings:batchGet" + }, + { + "httpMethod": "GET", + "path": "/v1alpha/{parent=properties/*}/accessBindings:batchGet" } ] - } - ] - }, - { - "shortName": "FeedItemSetLinkService", - "fullName": "google.ads.googleads.v13.services.FeedItemSetLinkService", - "methods": [ + }, { - "shortName": "MutateFeedItemSetLinks", - "fullName": "google.ads.googleads.v13.services.FeedItemSetLinkService.MutateFeedItemSetLinks", + "shortName": "BatchUpdateAccessBindings", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.BatchUpdateAccessBindings", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/feedItemSetLinks:mutate" + "path": "/v1alpha/{parent=accounts/*}/accessBindings:batchUpdate" + }, + { + "httpMethod": "POST", + "path": "/v1alpha/{parent=properties/*}/accessBindings:batchUpdate" } ] - } - ] - }, - { - "shortName": "FeedItemSetService", - "fullName": "google.ads.googleads.v13.services.FeedItemSetService", - "methods": [ + }, { - "shortName": "MutateFeedItemSets", - "fullName": "google.ads.googleads.v13.services.FeedItemSetService.MutateFeedItemSets", + "shortName": "CancelDisplayVideo360AdvertiserLinkProposal", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CancelDisplayVideo360AdvertiserLinkProposal", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/feedItemSets:mutate" + "path": "/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}:cancel" } ] - } - ] - }, - { - "shortName": "FeedItemTargetService", - "fullName": "google.ads.googleads.v13.services.FeedItemTargetService", - "methods": [ + }, { - "shortName": "MutateFeedItemTargets", - "fullName": "google.ads.googleads.v13.services.FeedItemTargetService.MutateFeedItemTargets", + "shortName": "CreateAccessBinding", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateAccessBinding", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/feedItemTargets:mutate" + "path": "/v1alpha/{parent=accounts/*}/accessBindings" + }, + { + "httpMethod": "POST", + "path": "/v1alpha/{parent=properties/*}/accessBindings" } ] - } - ] - }, - { - "shortName": "FeedMappingService", - "fullName": "google.ads.googleads.v13.services.FeedMappingService", - "methods": [ + }, { - "shortName": "MutateFeedMappings", - "fullName": "google.ads.googleads.v13.services.FeedMappingService.MutateFeedMappings", + "shortName": "CreateAdSenseLink", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateAdSenseLink", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/feedMappings:mutate" + "path": "/v1alpha/{parent=properties/*}/adSenseLinks" } ] - } - ] - }, - { - "shortName": "FeedService", - "fullName": "google.ads.googleads.v13.services.FeedService", - "methods": [ + }, { - "shortName": "MutateFeeds", - "fullName": "google.ads.googleads.v13.services.FeedService.MutateFeeds", + "shortName": "CreateAudience", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateAudience", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/feeds:mutate" + "path": "/v1alpha/{parent=properties/*}/audiences" } ] - } - ] - }, - { - "shortName": "GeoTargetConstantService", - "fullName": "google.ads.googleads.v13.services.GeoTargetConstantService", - "methods": [ + }, { - "shortName": "SuggestGeoTargetConstants", - "fullName": "google.ads.googleads.v13.services.GeoTargetConstantService.SuggestGeoTargetConstants", + "shortName": "CreateCalculatedMetric", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateCalculatedMetric", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/geoTargetConstants:suggest" + "path": "/v1alpha/{parent=properties/*}/calculatedMetrics" } ] - } - ] - }, - { - "shortName": "GoogleAdsFieldService", - "fullName": "google.ads.googleads.v13.services.GoogleAdsFieldService", - "methods": [ + }, { - "shortName": "GetGoogleAdsField", - "fullName": "google.ads.googleads.v13.services.GoogleAdsFieldService.GetGoogleAdsField", + "shortName": "CreateChannelGroup", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateChannelGroup", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v13/{resource_name=googleAdsFields/*}" + "httpMethod": "POST", + "path": "/v1alpha/{parent=properties/*}/channelGroups" } ] }, { - "shortName": "SearchGoogleAdsFields", - "fullName": "google.ads.googleads.v13.services.GoogleAdsFieldService.SearchGoogleAdsFields", + "shortName": "CreateConnectedSiteTag", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateConnectedSiteTag", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/googleAdsFields:search" + "path": "/v1alpha/properties:createConnectedSiteTag" } ] - } - ] - }, - { - "shortName": "GoogleAdsService", - "fullName": "google.ads.googleads.v13.services.GoogleAdsService", - "methods": [ + }, { - "shortName": "Mutate", - "fullName": "google.ads.googleads.v13.services.GoogleAdsService.Mutate", + "shortName": "CreateConversionEvent", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateConversionEvent", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/googleAds:mutate" + "path": "/v1alpha/{parent=properties/*}/conversionEvents" } ] }, { - "shortName": "Search", - "fullName": "google.ads.googleads.v13.services.GoogleAdsService.Search", + "shortName": "CreateCustomDimension", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateCustomDimension", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/googleAds:search" + "path": "/v1alpha/{parent=properties/*}/customDimensions" } ] }, { - "shortName": "SearchStream", - "fullName": "google.ads.googleads.v13.services.GoogleAdsService.SearchStream", - "mode": "SERVER_STREAMING", + "shortName": "CreateCustomMetric", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateCustomMetric", + "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/googleAds:searchStream" + "path": "/v1alpha/{parent=properties/*}/customMetrics" } ] - } - ] - }, - { - "shortName": "InvoiceService", - "fullName": "google.ads.googleads.v13.services.InvoiceService", - "methods": [ + }, { - "shortName": "ListInvoices", - "fullName": "google.ads.googleads.v13.services.InvoiceService.ListInvoices", + "shortName": "CreateDataStream", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateDataStream", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v13/customers/{customer_id=*}/invoices" + "httpMethod": "POST", + "path": "/v1alpha/{parent=properties/*}/dataStreams" } ] - } - ] - }, - { - "shortName": "KeywordPlanAdGroupKeywordService", - "fullName": "google.ads.googleads.v13.services.KeywordPlanAdGroupKeywordService", - "methods": [ + }, { - "shortName": "MutateKeywordPlanAdGroupKeywords", - "fullName": "google.ads.googleads.v13.services.KeywordPlanAdGroupKeywordService.MutateKeywordPlanAdGroupKeywords", + "shortName": "CreateDisplayVideo360AdvertiserLink", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateDisplayVideo360AdvertiserLink", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/keywordPlanAdGroupKeywords:mutate" + "path": "/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinks" } ] - } - ] - }, - { - "shortName": "KeywordPlanAdGroupService", - "fullName": "google.ads.googleads.v13.services.KeywordPlanAdGroupService", - "methods": [ + }, { - "shortName": "MutateKeywordPlanAdGroups", - "fullName": "google.ads.googleads.v13.services.KeywordPlanAdGroupService.MutateKeywordPlanAdGroups", + "shortName": "CreateDisplayVideo360AdvertiserLinkProposal", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateDisplayVideo360AdvertiserLinkProposal", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/keywordPlanAdGroups:mutate" + "path": "/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinkProposals" } ] - } - ] - }, - { - "shortName": "KeywordPlanCampaignKeywordService", - "fullName": "google.ads.googleads.v13.services.KeywordPlanCampaignKeywordService", - "methods": [ + }, { - "shortName": "MutateKeywordPlanCampaignKeywords", - "fullName": "google.ads.googleads.v13.services.KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords", + "shortName": "CreateEventCreateRule", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateEventCreateRule", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/keywordPlanCampaignKeywords:mutate" + "path": "/v1alpha/{parent=properties/*/dataStreams/*}/eventCreateRules" } ] - } - ] - }, - { - "shortName": "KeywordPlanCampaignService", - "fullName": "google.ads.googleads.v13.services.KeywordPlanCampaignService", - "methods": [ + }, { - "shortName": "MutateKeywordPlanCampaigns", - "fullName": "google.ads.googleads.v13.services.KeywordPlanCampaignService.MutateKeywordPlanCampaigns", + "shortName": "CreateExpandedDataSet", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateExpandedDataSet", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/keywordPlanCampaigns:mutate" + "path": "/v1alpha/{parent=properties/*}/expandedDataSets" } ] - } - ] - }, - { - "shortName": "KeywordPlanIdeaService", - "fullName": "google.ads.googleads.v13.services.KeywordPlanIdeaService", - "methods": [ + }, { - "shortName": "GenerateAdGroupThemes", - "fullName": "google.ads.googleads.v13.services.KeywordPlanIdeaService.GenerateAdGroupThemes", + "shortName": "CreateFirebaseLink", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateFirebaseLink", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}:generateAdGroupThemes" + "path": "/v1alpha/{parent=properties/*}/firebaseLinks" } ] }, { - "shortName": "GenerateKeywordHistoricalMetrics", - "fullName": "google.ads.googleads.v13.services.KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics", + "shortName": "CreateGoogleAdsLink", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateGoogleAdsLink", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}:generateKeywordHistoricalMetrics" + "path": "/v1alpha/{parent=properties/*}/googleAdsLinks" } ] }, { - "shortName": "GenerateKeywordIdeas", - "fullName": "google.ads.googleads.v13.services.KeywordPlanIdeaService.GenerateKeywordIdeas", + "shortName": "CreateMeasurementProtocolSecret", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateMeasurementProtocolSecret", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}:generateKeywordIdeas" + "path": "/v1alpha/{parent=properties/*/dataStreams/*}/measurementProtocolSecrets" } ] - } - ] - }, - { - "shortName": "KeywordPlanService", - "fullName": "google.ads.googleads.v13.services.KeywordPlanService", - "methods": [ + }, { - "shortName": "GenerateForecastCurve", - "fullName": "google.ads.googleads.v13.services.KeywordPlanService.GenerateForecastCurve", + "shortName": "CreateProperty", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateProperty", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/{keyword_plan=customers/*/keywordPlans/*}:generateForecastCurve" + "path": "/v1alpha/properties" } ] }, { - "shortName": "GenerateForecastMetrics", - "fullName": "google.ads.googleads.v13.services.KeywordPlanService.GenerateForecastMetrics", + "shortName": "CreateRollupProperty", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateRollupProperty", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/{keyword_plan=customers/*/keywordPlans/*}:generateForecastMetrics" + "path": "/v1alpha/properties:createRollupProperty" } ] }, { - "shortName": "GenerateForecastTimeSeries", - "fullName": "google.ads.googleads.v13.services.KeywordPlanService.GenerateForecastTimeSeries", + "shortName": "CreateRollupPropertySourceLink", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateRollupPropertySourceLink", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/{keyword_plan=customers/*/keywordPlans/*}:generateForecastTimeSeries" + "path": "/v1alpha/{parent=properties/*}/rollupPropertySourceLinks" } ] }, { - "shortName": "GenerateHistoricalMetrics", - "fullName": "google.ads.googleads.v13.services.KeywordPlanService.GenerateHistoricalMetrics", + "shortName": "CreateSKAdNetworkConversionValueSchema", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateSKAdNetworkConversionValueSchema", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/{keyword_plan=customers/*/keywordPlans/*}:generateHistoricalMetrics" + "path": "/v1alpha/{parent=properties/*/dataStreams/*}/sKAdNetworkConversionValueSchema" } ] }, { - "shortName": "MutateKeywordPlans", - "fullName": "google.ads.googleads.v13.services.KeywordPlanService.MutateKeywordPlans", + "shortName": "CreateSearchAds360Link", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateSearchAds360Link", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/keywordPlans:mutate" + "path": "/v1alpha/{parent=properties/*}/searchAds360Links" } ] - } - ] - }, - { - "shortName": "KeywordThemeConstantService", - "fullName": "google.ads.googleads.v13.services.KeywordThemeConstantService", - "methods": [ + }, { - "shortName": "SuggestKeywordThemeConstants", - "fullName": "google.ads.googleads.v13.services.KeywordThemeConstantService.SuggestKeywordThemeConstants", + "shortName": "CreateSubproperty", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateSubproperty", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/keywordThemeConstants:suggest" + "path": "/v1alpha/properties:createSubproperty" } ] - } - ] - }, - { - "shortName": "LabelService", - "fullName": "google.ads.googleads.v13.services.LabelService", - "methods": [ + }, { - "shortName": "MutateLabels", - "fullName": "google.ads.googleads.v13.services.LabelService.MutateLabels", + "shortName": "CreateSubpropertyEventFilter", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateSubpropertyEventFilter", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/labels:mutate" + "path": "/v1alpha/{parent=properties/*}/subpropertyEventFilters" } ] - } - ] - }, - { - "shortName": "MediaFileService", - "fullName": "google.ads.googleads.v13.services.MediaFileService", - "methods": [ + }, { - "shortName": "MutateMediaFiles", - "fullName": "google.ads.googleads.v13.services.MediaFileService.MutateMediaFiles", + "shortName": "DeleteAccessBinding", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteAccessBinding", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/mediaFiles:mutate" + "httpMethod": "DELETE", + "path": "/v1alpha/{name=accounts/*/accessBindings/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v1alpha/{name=properties/*/accessBindings/*}" } ] - } - ] - }, - { - "shortName": "MerchantCenterLinkService", - "fullName": "google.ads.googleads.v13.services.MerchantCenterLinkService", - "methods": [ + }, { - "shortName": "GetMerchantCenterLink", - "fullName": "google.ads.googleads.v13.services.MerchantCenterLinkService.GetMerchantCenterLink", + "shortName": "DeleteAccount", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteAccount", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v13/{resource_name=customers/*/merchantCenterLinks/*}" + "httpMethod": "DELETE", + "path": "/v1alpha/{name=accounts/*}" } ] }, { - "shortName": "ListMerchantCenterLinks", - "fullName": "google.ads.googleads.v13.services.MerchantCenterLinkService.ListMerchantCenterLinks", + "shortName": "DeleteAdSenseLink", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteAdSenseLink", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v13/customers/{customer_id=*}/merchantCenterLinks" + "httpMethod": "DELETE", + "path": "/v1alpha/{name=properties/*/adSenseLinks/*}" } ] }, { - "shortName": "MutateMerchantCenterLink", - "fullName": "google.ads.googleads.v13.services.MerchantCenterLinkService.MutateMerchantCenterLink", + "shortName": "DeleteCalculatedMetric", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteCalculatedMetric", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/merchantCenterLinks:mutate" + "httpMethod": "DELETE", + "path": "/v1alpha/{name=properties/*/calculatedMetrics/*}" } ] - } - ] - }, - { - "shortName": "OfflineUserDataJobService", - "fullName": "google.ads.googleads.v13.services.OfflineUserDataJobService", - "methods": [ + }, { - "shortName": "AddOfflineUserDataJobOperations", - "fullName": "google.ads.googleads.v13.services.OfflineUserDataJobService.AddOfflineUserDataJobOperations", + "shortName": "DeleteChannelGroup", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteChannelGroup", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/{resource_name=customers/*/offlineUserDataJobs/*}:addOperations" + "httpMethod": "DELETE", + "path": "/v1alpha/{name=properties/*/channelGroups/*}" } ] }, { - "shortName": "CreateOfflineUserDataJob", - "fullName": "google.ads.googleads.v13.services.OfflineUserDataJobService.CreateOfflineUserDataJob", + "shortName": "DeleteConnectedSiteTag", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteConnectedSiteTag", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/offlineUserDataJobs:create" + "path": "/v1alpha/properties:deleteConnectedSiteTag" } ] }, { - "shortName": "RunOfflineUserDataJob", - "fullName": "google.ads.googleads.v13.services.OfflineUserDataJobService.RunOfflineUserDataJob", + "shortName": "DeleteConversionEvent", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteConversionEvent", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/{resource_name=customers/*/offlineUserDataJobs/*}:run" + "httpMethod": "DELETE", + "path": "/v1alpha/{name=properties/*/conversionEvents/*}" } ] - } - ] - }, - { - "shortName": "PaymentsAccountService", - "fullName": "google.ads.googleads.v13.services.PaymentsAccountService", - "methods": [ + }, { - "shortName": "ListPaymentsAccounts", - "fullName": "google.ads.googleads.v13.services.PaymentsAccountService.ListPaymentsAccounts", + "shortName": "DeleteDataStream", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteDataStream", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v13/customers/{customer_id=*}/paymentsAccounts" + "httpMethod": "DELETE", + "path": "/v1alpha/{name=properties/*/dataStreams/*}" } ] - } - ] - }, - { - "shortName": "ProductLinkService", - "fullName": "google.ads.googleads.v13.services.ProductLinkService", - "methods": [ + }, { - "shortName": "CreateProductLink", - "fullName": "google.ads.googleads.v13.services.ProductLinkService.CreateProductLink", + "shortName": "DeleteDisplayVideo360AdvertiserLink", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteDisplayVideo360AdvertiserLink", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/productLinks:create" + "httpMethod": "DELETE", + "path": "/v1alpha/{name=properties/*/displayVideo360AdvertiserLinks/*}" } ] }, { - "shortName": "RemoveProductLink", - "fullName": "google.ads.googleads.v13.services.ProductLinkService.RemoveProductLink", + "shortName": "DeleteDisplayVideo360AdvertiserLinkProposal", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteDisplayVideo360AdvertiserLinkProposal", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/productLinks:remove" + "httpMethod": "DELETE", + "path": "/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}" } ] - } - ] - }, - { - "shortName": "ReachPlanService", - "fullName": "google.ads.googleads.v13.services.ReachPlanService", - "methods": [ + }, { - "shortName": "GenerateReachForecast", - "fullName": "google.ads.googleads.v13.services.ReachPlanService.GenerateReachForecast", + "shortName": "DeleteEventCreateRule", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteEventCreateRule", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}:generateReachForecast" + "httpMethod": "DELETE", + "path": "/v1alpha/{name=properties/*/dataStreams/*/eventCreateRules/*}" } ] }, { - "shortName": "ListPlannableLocations", - "fullName": "google.ads.googleads.v13.services.ReachPlanService.ListPlannableLocations", + "shortName": "DeleteExpandedDataSet", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteExpandedDataSet", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13:listPlannableLocations" + "httpMethod": "DELETE", + "path": "/v1alpha/{name=properties/*/expandedDataSets/*}" } ] }, { - "shortName": "ListPlannableProducts", - "fullName": "google.ads.googleads.v13.services.ReachPlanService.ListPlannableProducts", + "shortName": "DeleteFirebaseLink", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteFirebaseLink", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13:listPlannableProducts" + "httpMethod": "DELETE", + "path": "/v1alpha/{name=properties/*/firebaseLinks/*}" } ] - } - ] - }, - { - "shortName": "RecommendationService", - "fullName": "google.ads.googleads.v13.services.RecommendationService", - "methods": [ + }, { - "shortName": "ApplyRecommendation", - "fullName": "google.ads.googleads.v13.services.RecommendationService.ApplyRecommendation", + "shortName": "DeleteGoogleAdsLink", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteGoogleAdsLink", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/recommendations:apply" + "httpMethod": "DELETE", + "path": "/v1alpha/{name=properties/*/googleAdsLinks/*}" } ] }, { - "shortName": "DismissRecommendation", - "fullName": "google.ads.googleads.v13.services.RecommendationService.DismissRecommendation", + "shortName": "DeleteMeasurementProtocolSecret", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteMeasurementProtocolSecret", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/recommendations:dismiss" + "httpMethod": "DELETE", + "path": "/v1alpha/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}" } ] - } - ] - }, - { - "shortName": "RemarketingActionService", - "fullName": "google.ads.googleads.v13.services.RemarketingActionService", - "methods": [ + }, { - "shortName": "MutateRemarketingActions", - "fullName": "google.ads.googleads.v13.services.RemarketingActionService.MutateRemarketingActions", + "shortName": "DeleteProperty", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteProperty", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/remarketingActions:mutate" + "httpMethod": "DELETE", + "path": "/v1alpha/{name=properties/*}" } ] - } - ] - }, - { - "shortName": "SharedCriterionService", - "fullName": "google.ads.googleads.v13.services.SharedCriterionService", - "methods": [ + }, { - "shortName": "MutateSharedCriteria", - "fullName": "google.ads.googleads.v13.services.SharedCriterionService.MutateSharedCriteria", + "shortName": "DeleteRollupPropertySourceLink", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteRollupPropertySourceLink", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/sharedCriteria:mutate" + "httpMethod": "DELETE", + "path": "/v1alpha/{name=properties/*/rollupPropertySourceLinks/*}" } ] - } - ] - }, - { - "shortName": "SharedSetService", - "fullName": "google.ads.googleads.v13.services.SharedSetService", - "methods": [ + }, { - "shortName": "MutateSharedSets", - "fullName": "google.ads.googleads.v13.services.SharedSetService.MutateSharedSets", + "shortName": "DeleteSKAdNetworkConversionValueSchema", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteSKAdNetworkConversionValueSchema", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/sharedSets:mutate" + "httpMethod": "DELETE", + "path": "/v1alpha/{name=properties/*/dataStreams/*/sKAdNetworkConversionValueSchema/*}" } ] - } - ] - }, - { - "shortName": "SmartCampaignSettingService", - "fullName": "google.ads.googleads.v13.services.SmartCampaignSettingService", - "methods": [ + }, { - "shortName": "GetSmartCampaignStatus", - "fullName": "google.ads.googleads.v13.services.SmartCampaignSettingService.GetSmartCampaignStatus", + "shortName": "DeleteSearchAds360Link", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteSearchAds360Link", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v13/{resource_name=customers/*/smartCampaignSettings/*}:getSmartCampaignStatus" + "httpMethod": "DELETE", + "path": "/v1alpha/{name=properties/*/searchAds360Links/*}" } ] }, { - "shortName": "MutateSmartCampaignSettings", - "fullName": "google.ads.googleads.v13.services.SmartCampaignSettingService.MutateSmartCampaignSettings", + "shortName": "DeleteSubpropertyEventFilter", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteSubpropertyEventFilter", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/smartCampaignSettings:mutate" + "httpMethod": "DELETE", + "path": "/v1alpha/{name=properties/*/subpropertyEventFilters/*}" } ] - } - ] - }, - { - "shortName": "SmartCampaignSuggestService", - "fullName": "google.ads.googleads.v13.services.SmartCampaignSuggestService", - "methods": [ + }, { - "shortName": "SuggestKeywordThemes", - "fullName": "google.ads.googleads.v13.services.SmartCampaignSuggestService.SuggestKeywordThemes", + "shortName": "FetchAutomatedGa4ConfigurationOptOut", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.FetchAutomatedGa4ConfigurationOptOut", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}:suggestKeywordThemes" + "path": "/v1alpha/properties:fetchAutomatedGa4ConfigurationOptOut" } ] }, { - "shortName": "SuggestSmartCampaignAd", - "fullName": "google.ads.googleads.v13.services.SmartCampaignSuggestService.SuggestSmartCampaignAd", + "shortName": "FetchConnectedGa4Property", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.FetchConnectedGa4Property", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}:suggestSmartCampaignAd" + "httpMethod": "GET", + "path": "/v1alpha/properties:fetchConnectedGa4Property" } ] }, { - "shortName": "SuggestSmartCampaignBudgetOptions", - "fullName": "google.ads.googleads.v13.services.SmartCampaignSuggestService.SuggestSmartCampaignBudgetOptions", + "shortName": "GetAccessBinding", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetAccessBinding", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}:suggestSmartCampaignBudgetOptions" + "httpMethod": "GET", + "path": "/v1alpha/{name=accounts/*/accessBindings/*}" + }, + { + "httpMethod": "GET", + "path": "/v1alpha/{name=properties/*/accessBindings/*}" } ] - } - ] - }, - { - "shortName": "ThirdPartyAppAnalyticsLinkService", - "fullName": "google.ads.googleads.v13.services.ThirdPartyAppAnalyticsLinkService", - "methods": [ + }, { - "shortName": "RegenerateShareableLinkId", - "fullName": "google.ads.googleads.v13.services.ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId", + "shortName": "GetAccount", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetAccount", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/{resource_name=customers/*/thirdPartyAppAnalyticsLinks/*}:regenerateShareableLinkId" + "httpMethod": "GET", + "path": "/v1alpha/{name=accounts/*}" } ] - } - ] - }, - { - "shortName": "TravelAssetSuggestionService", - "fullName": "google.ads.googleads.v13.services.TravelAssetSuggestionService", - "methods": [ + }, { - "shortName": "SuggestTravelAssets", - "fullName": "google.ads.googleads.v13.services.TravelAssetSuggestionService.SuggestTravelAssets", + "shortName": "GetAdSenseLink", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetAdSenseLink", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}:suggestTravelAssets" + "httpMethod": "GET", + "path": "/v1alpha/{name=properties/*/adSenseLinks/*}" } ] - } - ] - }, - { - "shortName": "UserDataService", - "fullName": "google.ads.googleads.v13.services.UserDataService", - "methods": [ + }, { - "shortName": "UploadUserData", - "fullName": "google.ads.googleads.v13.services.UserDataService.UploadUserData", + "shortName": "GetAttributionSettings", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetAttributionSettings", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}:uploadUserData" + "httpMethod": "GET", + "path": "/v1alpha/{name=properties/*/attributionSettings}" } ] - } - ] - }, - { - "shortName": "UserListService", - "fullName": "google.ads.googleads.v13.services.UserListService", - "methods": [ + }, { - "shortName": "MutateUserLists", - "fullName": "google.ads.googleads.v13.services.UserListService.MutateUserLists", + "shortName": "GetAudience", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetAudience", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v13/customers/{customer_id=*}/userLists:mutate" + "httpMethod": "GET", + "path": "/v1alpha/{name=properties/*/audiences/*}" } ] - } - ] - } - ], - "configFile": "googleads_v13.yaml", - "serviceConfigApiNames": [ - "google.ads.googleads.v13.services.AccountBudgetProposalService", - "google.ads.googleads.v13.services.AccountLinkService", - "google.ads.googleads.v13.services.AdGroupAdLabelService", - "google.ads.googleads.v13.services.AdGroupAdService", - "google.ads.googleads.v13.services.AdGroupAssetService", - "google.ads.googleads.v13.services.AdGroupAssetSetService", - "google.ads.googleads.v13.services.AdGroupBidModifierService", - "google.ads.googleads.v13.services.AdGroupCriterionCustomizerService", - "google.ads.googleads.v13.services.AdGroupCriterionLabelService", - "google.ads.googleads.v13.services.AdGroupCriterionService", - "google.ads.googleads.v13.services.AdGroupCustomizerService", - "google.ads.googleads.v13.services.AdGroupExtensionSettingService", - "google.ads.googleads.v13.services.AdGroupFeedService", - "google.ads.googleads.v13.services.AdGroupLabelService", - "google.ads.googleads.v13.services.AdGroupService", - "google.ads.googleads.v13.services.AdParameterService", - "google.ads.googleads.v13.services.AdService", - "google.ads.googleads.v13.services.AssetGroupAssetService", - "google.ads.googleads.v13.services.AssetGroupListingGroupFilterService", - "google.ads.googleads.v13.services.AssetGroupService", - "google.ads.googleads.v13.services.AssetGroupSignalService", - "google.ads.googleads.v13.services.AssetService", - "google.ads.googleads.v13.services.AssetSetAssetService", - "google.ads.googleads.v13.services.AssetSetService", - "google.ads.googleads.v13.services.AudienceInsightsService", - "google.ads.googleads.v13.services.AudienceService", - "google.ads.googleads.v13.services.BatchJobService", - "google.ads.googleads.v13.services.BiddingDataExclusionService", - "google.ads.googleads.v13.services.BiddingSeasonalityAdjustmentService", - "google.ads.googleads.v13.services.BiddingStrategyService", - "google.ads.googleads.v13.services.BillingSetupService", - "google.ads.googleads.v13.services.CampaignAssetService", - "google.ads.googleads.v13.services.CampaignAssetSetService", - "google.ads.googleads.v13.services.CampaignBidModifierService", - "google.ads.googleads.v13.services.CampaignBudgetService", - "google.ads.googleads.v13.services.CampaignConversionGoalService", - "google.ads.googleads.v13.services.CampaignCriterionService", - "google.ads.googleads.v13.services.CampaignCustomizerService", - "google.ads.googleads.v13.services.CampaignDraftService", - "google.ads.googleads.v13.services.CampaignExtensionSettingService", - "google.ads.googleads.v13.services.CampaignFeedService", - "google.ads.googleads.v13.services.CampaignGroupService", - "google.ads.googleads.v13.services.CampaignLabelService", - "google.ads.googleads.v13.services.CampaignService", - "google.ads.googleads.v13.services.CampaignSharedSetService", - "google.ads.googleads.v13.services.ConversionActionService", - "google.ads.googleads.v13.services.ConversionAdjustmentUploadService", - "google.ads.googleads.v13.services.ConversionCustomVariableService", - "google.ads.googleads.v13.services.ConversionGoalCampaignConfigService", - "google.ads.googleads.v13.services.ConversionUploadService", - "google.ads.googleads.v13.services.ConversionValueRuleService", - "google.ads.googleads.v13.services.ConversionValueRuleSetService", - "google.ads.googleads.v13.services.CustomAudienceService", - "google.ads.googleads.v13.services.CustomConversionGoalService", - "google.ads.googleads.v13.services.CustomInterestService", - "google.ads.googleads.v13.services.CustomerAssetService", - "google.ads.googleads.v13.services.CustomerAssetSetService", - "google.ads.googleads.v13.services.CustomerClientLinkService", - "google.ads.googleads.v13.services.CustomerConversionGoalService", - "google.ads.googleads.v13.services.CustomerCustomizerService", - "google.ads.googleads.v13.services.CustomerExtensionSettingService", - "google.ads.googleads.v13.services.CustomerFeedService", - "google.ads.googleads.v13.services.CustomerLabelService", - "google.ads.googleads.v13.services.CustomerManagerLinkService", - "google.ads.googleads.v13.services.CustomerNegativeCriterionService", - "google.ads.googleads.v13.services.CustomerService", - "google.ads.googleads.v13.services.CustomerUserAccessInvitationService", - "google.ads.googleads.v13.services.CustomerUserAccessService", - "google.ads.googleads.v13.services.CustomizerAttributeService", - "google.ads.googleads.v13.services.ExperimentArmService", - "google.ads.googleads.v13.services.ExperimentService", - "google.ads.googleads.v13.services.ExtensionFeedItemService", - "google.ads.googleads.v13.services.FeedItemService", - "google.ads.googleads.v13.services.FeedItemSetLinkService", - "google.ads.googleads.v13.services.FeedItemSetService", - "google.ads.googleads.v13.services.FeedItemTargetService", - "google.ads.googleads.v13.services.FeedMappingService", - "google.ads.googleads.v13.services.FeedService", - "google.ads.googleads.v13.services.GeoTargetConstantService", - "google.ads.googleads.v13.services.GoogleAdsFieldService", - "google.ads.googleads.v13.services.GoogleAdsService", - "google.ads.googleads.v13.services.InvoiceService", - "google.ads.googleads.v13.services.KeywordPlanAdGroupKeywordService", - "google.ads.googleads.v13.services.KeywordPlanAdGroupService", - "google.ads.googleads.v13.services.KeywordPlanCampaignKeywordService", - "google.ads.googleads.v13.services.KeywordPlanCampaignService", - "google.ads.googleads.v13.services.KeywordPlanIdeaService", - "google.ads.googleads.v13.services.KeywordPlanService", - "google.ads.googleads.v13.services.KeywordThemeConstantService", - "google.ads.googleads.v13.services.LabelService", - "google.ads.googleads.v13.services.MediaFileService", - "google.ads.googleads.v13.services.MerchantCenterLinkService", - "google.ads.googleads.v13.services.OfflineUserDataJobService", - "google.ads.googleads.v13.services.PaymentsAccountService", - "google.ads.googleads.v13.services.ProductLinkService", - "google.ads.googleads.v13.services.ReachPlanService", - "google.ads.googleads.v13.services.RecommendationService", - "google.ads.googleads.v13.services.RemarketingActionService", - "google.ads.googleads.v13.services.SharedCriterionService", - "google.ads.googleads.v13.services.SharedSetService", - "google.ads.googleads.v13.services.SmartCampaignSettingService", - "google.ads.googleads.v13.services.SmartCampaignSuggestService", - "google.ads.googleads.v13.services.ThirdPartyAppAnalyticsLinkService", - "google.ads.googleads.v13.services.TravelAssetSuggestionService", - "google.ads.googleads.v13.services.UserDataService", - "google.ads.googleads.v13.services.UserListService" - ], - "nameInServiceConfig": "googleads.googleapis.com" - }, - { - "id": "google.ads.searchads360.v0", - "directory": "google/ads/searchads360/v0", - "version": "v0", - "majorVersion": "v0", - "hostName": "searchads360.googleapis.com", - "title": "Search Ads 360 Reporting API", - "description": "The Search Ads 360 API allows developers to automate downloading reports from Search Ads 360.", - "importDirectories": [ - "google/ads/searchads360/v0/common", - "google/ads/searchads360/v0/enums", - "google/ads/searchads360/v0/resources", - "google/api", - "google/protobuf" - ], - "options": { - "csharp_namespace": { - "valueCounts": { - "Google.Ads.SearchAds360.V0.Common": 8, - "Google.Ads.SearchAds360.V0.Enums": 46, - "Google.Ads.SearchAds360.V0.Resources": 15, - "Google.Ads.SearchAds360.V0.Services": 3 - } - }, - "go_package": { - "valueCounts": { - "google.golang.org/genproto/googleapis/ads/searchads360/v0/common;common": 8, - "google.golang.org/genproto/googleapis/ads/searchads360/v0/enums;enums": 46, - "google.golang.org/genproto/googleapis/ads/searchads360/v0/resources;resources": 15, - "google.golang.org/genproto/googleapis/ads/searchads360/v0/services;services": 3 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 72 - } - }, - "java_package": { - "valueCounts": { - "com.google.ads.searchads360.v0.common": 8, - "com.google.ads.searchads360.v0.enums": 46, - "com.google.ads.searchads360.v0.resources": 15, - "com.google.ads.searchads360.v0.services": 3 - } - }, - "objc_class_prefix": { - "valueCounts": { - "GASA360": 72 - } - }, - "php_namespace": { - "valueCounts": { - "Google\\Ads\\SearchAds360\\V0\\Common": 8, - "Google\\Ads\\SearchAds360\\V0\\Enums": 46, - "Google\\Ads\\SearchAds360\\V0\\Resources": 15, - "Google\\Ads\\SearchAds360\\V0\\Services": 3 - } - }, - "ruby_package": { - "valueCounts": { - "Google::Ads::SearchAds360::V0::Common": 8, - "Google::Ads::SearchAds360::V0::Enums": 46, - "Google::Ads::SearchAds360::V0::Resources": 15, - "Google::Ads::SearchAds360::V0::Services": 3 - } - } - }, - "services": [ - { - "shortName": "CustomColumnService", - "fullName": "google.ads.searchads360.v0.services.CustomColumnService", - "methods": [ + }, { - "shortName": "GetCustomColumn", - "fullName": "google.ads.searchads360.v0.services.CustomColumnService.GetCustomColumn", + "shortName": "GetBigQueryLink", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetBigQueryLink", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v0/{resource_name=customers/*/customColumns/*}" + "path": "/v1alpha/{name=properties/*/bigQueryLinks/*}" } ] }, { - "shortName": "ListCustomColumns", - "fullName": "google.ads.searchads360.v0.services.CustomColumnService.ListCustomColumns", + "shortName": "GetCalculatedMetric", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetCalculatedMetric", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v0/customers/{customer_id=*}/customColumns" + "path": "/v1alpha/{name=properties/*/calculatedMetrics/*}" } ] - } - ] - }, - { - "shortName": "SearchAds360FieldService", - "fullName": "google.ads.searchads360.v0.services.SearchAds360FieldService", - "methods": [ + }, { - "shortName": "GetSearchAds360Field", - "fullName": "google.ads.searchads360.v0.services.SearchAds360FieldService.GetSearchAds360Field", + "shortName": "GetChannelGroup", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetChannelGroup", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v0/{resource_name=searchAds360Fields/*}" + "path": "/v1alpha/{name=properties/*/channelGroups/*}" } ] }, { - "shortName": "SearchSearchAds360Fields", - "fullName": "google.ads.searchads360.v0.services.SearchAds360FieldService.SearchSearchAds360Fields", + "shortName": "GetConversionEvent", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetConversionEvent", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v0/searchAds360Fields:search" + "httpMethod": "GET", + "path": "/v1alpha/{name=properties/*/conversionEvents/*}" } ] - } - ] - }, - { - "shortName": "SearchAds360Service", - "fullName": "google.ads.searchads360.v0.services.SearchAds360Service", - "methods": [ + }, { - "shortName": "Search", - "fullName": "google.ads.searchads360.v0.services.SearchAds360Service.Search", + "shortName": "GetCustomDimension", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetCustomDimension", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v0/customers/{customer_id=*}/searchAds360:search" + "httpMethod": "GET", + "path": "/v1alpha/{name=properties/*/customDimensions/*}" } ] }, { - "shortName": "SearchStream", - "fullName": "google.ads.searchads360.v0.services.SearchAds360Service.SearchStream", - "mode": "SERVER_STREAMING", + "shortName": "GetCustomMetric", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetCustomMetric", + "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v0/customers/{customer_id=*}/searchAds360:searchStream" + "httpMethod": "GET", + "path": "/v1alpha/{name=properties/*/customMetrics/*}" } ] - } - ] - } - ], - "configFile": "searchads360_v0.yaml", - "serviceConfigApiNames": [ - "google.ads.searchads360.v0.services.CustomColumnService", - "google.ads.searchads360.v0.services.SearchAds360FieldService", - "google.ads.searchads360.v0.services.SearchAds360Service" - ], - "nameInServiceConfig": "searchads360.googleapis.com" - }, - { - "id": "google.analytics.admin.v1alpha", - "directory": "google/analytics/admin/v1alpha", - "version": "v1alpha", - "majorVersion": "v1", - "hostName": "analyticsadmin.googleapis.com", - "title": "Google Analytics Admin API", - "description": "", - "importDirectories": [ - "google/analytics/admin/v1alpha", - "google/api", - "google/protobuf" - ], - "options": { - "go_package": { - "valueCounts": { - "google.golang.org/genproto/googleapis/analytics/admin/v1alpha;admin": 5 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 5 - } - }, - "java_package": { - "valueCounts": { - "com.google.analytics.admin.v1alpha": 5 - } - } - }, - "services": [ - { - "shortName": "AnalyticsAdminService", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService", - "methods": [ + }, { - "shortName": "AcknowledgeUserDataCollection", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.AcknowledgeUserDataCollection", + "shortName": "GetDataRedactionSettings", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetDataRedactionSettings", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1alpha/{property=properties/*}:acknowledgeUserDataCollection" + "httpMethod": "GET", + "path": "/v1alpha/{name=properties/*/dataStreams/*/dataRedactionSettings}" } ] }, { - "shortName": "ApproveDisplayVideo360AdvertiserLinkProposal", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ApproveDisplayVideo360AdvertiserLinkProposal", + "shortName": "GetDataRetentionSettings", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetDataRetentionSettings", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}:approve" + "httpMethod": "GET", + "path": "/v1alpha/{name=properties/*/dataRetentionSettings}" } ] }, { - "shortName": "ArchiveAudience", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ArchiveAudience", + "shortName": "GetDataSharingSettings", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetDataSharingSettings", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1alpha/{name=properties/*/audiences/*}:archive" + "httpMethod": "GET", + "path": "/v1alpha/{name=accounts/*/dataSharingSettings}" } ] }, { - "shortName": "ArchiveCustomDimension", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ArchiveCustomDimension", + "shortName": "GetDataStream", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetDataStream", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1alpha/{name=properties/*/customDimensions/*}:archive" + "httpMethod": "GET", + "path": "/v1alpha/{name=properties/*/dataStreams/*}" } ] }, { - "shortName": "ArchiveCustomMetric", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ArchiveCustomMetric", + "shortName": "GetDisplayVideo360AdvertiserLink", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetDisplayVideo360AdvertiserLink", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1alpha/{name=properties/*/customMetrics/*}:archive" + "httpMethod": "GET", + "path": "/v1alpha/{name=properties/*/displayVideo360AdvertiserLinks/*}" } ] }, { - "shortName": "AuditUserLinks", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.AuditUserLinks", + "shortName": "GetDisplayVideo360AdvertiserLinkProposal", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetDisplayVideo360AdvertiserLinkProposal", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1alpha/{parent=accounts/*}/userLinks:audit" - }, - { - "httpMethod": "POST", - "path": "/v1alpha/{parent=properties/*}/userLinks:audit" + "httpMethod": "GET", + "path": "/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}" } ] }, { - "shortName": "BatchCreateAccessBindings", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.BatchCreateAccessBindings", + "shortName": "GetEnhancedMeasurementSettings", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetEnhancedMeasurementSettings", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1alpha/{parent=accounts/*}/accessBindings:batchCreate" - }, - { - "httpMethod": "POST", - "path": "/v1alpha/{parent=properties/*}/accessBindings:batchCreate" + "httpMethod": "GET", + "path": "/v1alpha/{name=properties/*/dataStreams/*/enhancedMeasurementSettings}" } ] }, { - "shortName": "BatchCreateUserLinks", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.BatchCreateUserLinks", + "shortName": "GetEventCreateRule", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetEventCreateRule", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1alpha/{parent=accounts/*}/userLinks:batchCreate" - }, - { - "httpMethod": "POST", - "path": "/v1alpha/{parent=properties/*}/userLinks:batchCreate" + "httpMethod": "GET", + "path": "/v1alpha/{name=properties/*/dataStreams/*/eventCreateRules/*}" } ] }, { - "shortName": "BatchDeleteAccessBindings", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.BatchDeleteAccessBindings", + "shortName": "GetExpandedDataSet", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetExpandedDataSet", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1alpha/{parent=accounts/*}/accessBindings:batchDelete" - }, - { - "httpMethod": "POST", - "path": "/v1alpha/{parent=properties/*}/accessBindings:batchDelete" + "httpMethod": "GET", + "path": "/v1alpha/{name=properties/*/expandedDataSets/*}" } ] }, { - "shortName": "BatchDeleteUserLinks", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.BatchDeleteUserLinks", + "shortName": "GetGlobalSiteTag", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetGlobalSiteTag", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1alpha/{parent=accounts/*}/userLinks:batchDelete" - }, - { - "httpMethod": "POST", - "path": "/v1alpha/{parent=properties/*}/userLinks:batchDelete" + "httpMethod": "GET", + "path": "/v1alpha/{name=properties/*/dataStreams/*/globalSiteTag}" } ] }, { - "shortName": "BatchGetAccessBindings", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.BatchGetAccessBindings", + "shortName": "GetGoogleSignalsSettings", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetGoogleSignalsSettings", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1alpha/{parent=accounts/*}/accessBindings:batchGet" - }, + "path": "/v1alpha/{name=properties/*/googleSignalsSettings}" + } + ] + }, + { + "shortName": "GetMeasurementProtocolSecret", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetMeasurementProtocolSecret", + "mode": "UNARY", + "bindings": [ { "httpMethod": "GET", - "path": "/v1alpha/{parent=properties/*}/accessBindings:batchGet" + "path": "/v1alpha/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}" } ] }, { - "shortName": "BatchGetUserLinks", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.BatchGetUserLinks", + "shortName": "GetProperty", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetProperty", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1alpha/{parent=accounts/*}/userLinks:batchGet" - }, + "path": "/v1alpha/{name=properties/*}" + } + ] + }, + { + "shortName": "GetRollupPropertySourceLink", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetRollupPropertySourceLink", + "mode": "UNARY", + "bindings": [ { "httpMethod": "GET", - "path": "/v1alpha/{parent=properties/*}/userLinks:batchGet" + "path": "/v1alpha/{name=properties/*/rollupPropertySourceLinks/*}" } ] }, { - "shortName": "BatchUpdateAccessBindings", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.BatchUpdateAccessBindings", + "shortName": "GetSKAdNetworkConversionValueSchema", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetSKAdNetworkConversionValueSchema", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1alpha/{parent=accounts/*}/accessBindings:batchUpdate" - }, - { - "httpMethod": "POST", - "path": "/v1alpha/{parent=properties/*}/accessBindings:batchUpdate" + "httpMethod": "GET", + "path": "/v1alpha/{name=properties/*/dataStreams/*/sKAdNetworkConversionValueSchema/*}" } ] }, { - "shortName": "BatchUpdateUserLinks", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.BatchUpdateUserLinks", + "shortName": "GetSearchAds360Link", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetSearchAds360Link", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1alpha/{parent=accounts/*}/userLinks:batchUpdate" - }, - { - "httpMethod": "POST", - "path": "/v1alpha/{parent=properties/*}/userLinks:batchUpdate" + "httpMethod": "GET", + "path": "/v1alpha/{name=properties/*/searchAds360Links/*}" } ] }, { - "shortName": "CancelDisplayVideo360AdvertiserLinkProposal", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CancelDisplayVideo360AdvertiserLinkProposal", + "shortName": "GetSubpropertyEventFilter", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetSubpropertyEventFilter", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}:cancel" + "httpMethod": "GET", + "path": "/v1alpha/{name=properties/*/subpropertyEventFilters/*}" } ] }, { - "shortName": "CreateAccessBinding", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateAccessBinding", + "shortName": "ListAccessBindings", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListAccessBindings", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", + "httpMethod": "GET", "path": "/v1alpha/{parent=accounts/*}/accessBindings" }, { - "httpMethod": "POST", + "httpMethod": "GET", "path": "/v1alpha/{parent=properties/*}/accessBindings" } ] }, { - "shortName": "CreateAudience", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateAudience", + "shortName": "ListAccountSummaries", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListAccountSummaries", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1alpha/{parent=properties/*}/audiences" + "httpMethod": "GET", + "path": "/v1alpha/accountSummaries" } ] }, { - "shortName": "CreateConversionEvent", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateConversionEvent", + "shortName": "ListAccounts", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListAccounts", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1alpha/{parent=properties/*}/conversionEvents" + "httpMethod": "GET", + "path": "/v1alpha/accounts" } ] }, { - "shortName": "CreateCustomDimension", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateCustomDimension", + "shortName": "ListAdSenseLinks", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListAdSenseLinks", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1alpha/{parent=properties/*}/customDimensions" + "httpMethod": "GET", + "path": "/v1alpha/{parent=properties/*}/adSenseLinks" } ] }, { - "shortName": "CreateCustomMetric", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateCustomMetric", + "shortName": "ListAudiences", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListAudiences", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1alpha/{parent=properties/*}/customMetrics" + "httpMethod": "GET", + "path": "/v1alpha/{parent=properties/*}/audiences" } ] }, { - "shortName": "CreateDataStream", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateDataStream", + "shortName": "ListBigQueryLinks", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListBigQueryLinks", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1alpha/{parent=properties/*}/dataStreams" + "httpMethod": "GET", + "path": "/v1alpha/{parent=properties/*}/bigQueryLinks" } ] }, { - "shortName": "CreateDisplayVideo360AdvertiserLink", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateDisplayVideo360AdvertiserLink", + "shortName": "ListCalculatedMetrics", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListCalculatedMetrics", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinks" + "httpMethod": "GET", + "path": "/v1alpha/{parent=properties/*}/calculatedMetrics" } ] }, { - "shortName": "CreateDisplayVideo360AdvertiserLinkProposal", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateDisplayVideo360AdvertiserLinkProposal", + "shortName": "ListChannelGroups", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListChannelGroups", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinkProposals" + "httpMethod": "GET", + "path": "/v1alpha/{parent=properties/*}/channelGroups" } ] }, { - "shortName": "CreateExpandedDataSet", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateExpandedDataSet", + "shortName": "ListConnectedSiteTags", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListConnectedSiteTags", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1alpha/{parent=properties/*}/expandedDataSets" + "path": "/v1alpha/properties:listConnectedSiteTags" } ] }, { - "shortName": "CreateFirebaseLink", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateFirebaseLink", + "shortName": "ListConversionEvents", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListConversionEvents", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1alpha/{parent=properties/*}/firebaseLinks" + "httpMethod": "GET", + "path": "/v1alpha/{parent=properties/*}/conversionEvents" } ] }, { - "shortName": "CreateGoogleAdsLink", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateGoogleAdsLink", + "shortName": "ListCustomDimensions", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListCustomDimensions", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1alpha/{parent=properties/*}/googleAdsLinks" + "httpMethod": "GET", + "path": "/v1alpha/{parent=properties/*}/customDimensions" } ] }, { - "shortName": "CreateMeasurementProtocolSecret", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateMeasurementProtocolSecret", + "shortName": "ListCustomMetrics", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListCustomMetrics", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1alpha/{parent=properties/*/dataStreams/*}/measurementProtocolSecrets" + "httpMethod": "GET", + "path": "/v1alpha/{parent=properties/*}/customMetrics" } ] }, { - "shortName": "CreateProperty", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateProperty", + "shortName": "ListDataStreams", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListDataStreams", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1alpha/properties" + "httpMethod": "GET", + "path": "/v1alpha/{parent=properties/*}/dataStreams" } ] }, { - "shortName": "CreateSearchAds360Link", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateSearchAds360Link", + "shortName": "ListDisplayVideo360AdvertiserLinkProposals", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListDisplayVideo360AdvertiserLinkProposals", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1alpha/{parent=properties/*}/searchAds360Links" + "httpMethod": "GET", + "path": "/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinkProposals" } ] }, { - "shortName": "CreateUserLink", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.CreateUserLink", + "shortName": "ListDisplayVideo360AdvertiserLinks", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListDisplayVideo360AdvertiserLinks", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1alpha/{parent=accounts/*}/userLinks" - }, - { - "httpMethod": "POST", - "path": "/v1alpha/{parent=properties/*}/userLinks" + "httpMethod": "GET", + "path": "/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinks" } ] }, { - "shortName": "DeleteAccessBinding", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteAccessBinding", + "shortName": "ListEventCreateRules", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListEventCreateRules", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1alpha/{name=accounts/*/accessBindings/*}" - }, - { - "httpMethod": "DELETE", - "path": "/v1alpha/{name=properties/*/accessBindings/*}" + "httpMethod": "GET", + "path": "/v1alpha/{parent=properties/*/dataStreams/*}/eventCreateRules" } ] }, { - "shortName": "DeleteAccount", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteAccount", + "shortName": "ListExpandedDataSets", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListExpandedDataSets", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1alpha/{name=accounts/*}" + "httpMethod": "GET", + "path": "/v1alpha/{parent=properties/*}/expandedDataSets" } ] }, { - "shortName": "DeleteConversionEvent", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteConversionEvent", + "shortName": "ListFirebaseLinks", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListFirebaseLinks", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1alpha/{name=properties/*/conversionEvents/*}" + "httpMethod": "GET", + "path": "/v1alpha/{parent=properties/*}/firebaseLinks" } ] }, { - "shortName": "DeleteDataStream", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteDataStream", + "shortName": "ListGoogleAdsLinks", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListGoogleAdsLinks", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1alpha/{name=properties/*/dataStreams/*}" + "httpMethod": "GET", + "path": "/v1alpha/{parent=properties/*}/googleAdsLinks" } ] }, { - "shortName": "DeleteDisplayVideo360AdvertiserLink", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteDisplayVideo360AdvertiserLink", + "shortName": "ListMeasurementProtocolSecrets", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListMeasurementProtocolSecrets", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1alpha/{name=properties/*/displayVideo360AdvertiserLinks/*}" + "httpMethod": "GET", + "path": "/v1alpha/{parent=properties/*/dataStreams/*}/measurementProtocolSecrets" } ] }, { - "shortName": "DeleteDisplayVideo360AdvertiserLinkProposal", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteDisplayVideo360AdvertiserLinkProposal", + "shortName": "ListProperties", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListProperties", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}" + "httpMethod": "GET", + "path": "/v1alpha/properties" } ] }, { - "shortName": "DeleteExpandedDataSet", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteExpandedDataSet", + "shortName": "ListRollupPropertySourceLinks", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListRollupPropertySourceLinks", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1alpha/{name=properties/*/expandedDataSets/*}" + "httpMethod": "GET", + "path": "/v1alpha/{parent=properties/*}/rollupPropertySourceLinks" } ] }, { - "shortName": "DeleteFirebaseLink", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteFirebaseLink", + "shortName": "ListSKAdNetworkConversionValueSchemas", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListSKAdNetworkConversionValueSchemas", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1alpha/{name=properties/*/firebaseLinks/*}" + "httpMethod": "GET", + "path": "/v1alpha/{parent=properties/*/dataStreams/*}/sKAdNetworkConversionValueSchema" } ] }, { - "shortName": "DeleteGoogleAdsLink", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteGoogleAdsLink", + "shortName": "ListSearchAds360Links", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListSearchAds360Links", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1alpha/{name=properties/*/googleAdsLinks/*}" + "httpMethod": "GET", + "path": "/v1alpha/{parent=properties/*}/searchAds360Links" } ] }, { - "shortName": "DeleteMeasurementProtocolSecret", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteMeasurementProtocolSecret", + "shortName": "ListSubpropertyEventFilters", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListSubpropertyEventFilters", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1alpha/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}" + "httpMethod": "GET", + "path": "/v1alpha/{parent=properties/*}/subpropertyEventFilters" } ] }, { - "shortName": "DeleteProperty", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteProperty", + "shortName": "ProvisionAccountTicket", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ProvisionAccountTicket", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1alpha/{name=properties/*}" + "httpMethod": "POST", + "path": "/v1alpha/accounts:provisionAccountTicket" } ] }, { - "shortName": "DeleteSearchAds360Link", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteSearchAds360Link", + "shortName": "RunAccessReport", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.RunAccessReport", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1alpha/{name=properties/*/searchAds360Links/*}" + "httpMethod": "POST", + "path": "/v1alpha/{entity=properties/*}:runAccessReport" + }, + { + "httpMethod": "POST", + "path": "/v1alpha/{entity=accounts/*}:runAccessReport" } ] }, { - "shortName": "DeleteUserLink", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteUserLink", + "shortName": "SearchChangeHistoryEvents", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.SearchChangeHistoryEvents", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1alpha/{name=accounts/*/userLinks/*}" - }, - { - "httpMethod": "DELETE", - "path": "/v1alpha/{name=properties/*/userLinks/*}" + "httpMethod": "POST", + "path": "/v1alpha/{account=accounts/*}:searchChangeHistoryEvents" } ] }, { - "shortName": "FetchAutomatedGa4ConfigurationOptOut", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.FetchAutomatedGa4ConfigurationOptOut", + "shortName": "SetAutomatedGa4ConfigurationOptOut", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.SetAutomatedGa4ConfigurationOptOut", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1alpha/properties:fetchAutomatedGa4ConfigurationOptOut" + "path": "/v1alpha/properties:setAutomatedGa4ConfigurationOptOut" } ] }, { - "shortName": "GetAccessBinding", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetAccessBinding", + "shortName": "UpdateAccessBinding", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateAccessBinding", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1alpha/{name=accounts/*/accessBindings/*}" + "httpMethod": "PATCH", + "path": "/v1alpha/{access_binding.name=accounts/*/accessBindings/*}" }, { - "httpMethod": "GET", - "path": "/v1alpha/{name=properties/*/accessBindings/*}" + "httpMethod": "PATCH", + "path": "/v1alpha/{access_binding.name=properties/*/accessBindings/*}" } ] }, { - "shortName": "GetAccount", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetAccount", + "shortName": "UpdateAccount", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateAccount", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1alpha/{name=accounts/*}" + "httpMethod": "PATCH", + "path": "/v1alpha/{account.name=accounts/*}" } ] }, { - "shortName": "GetAttributionSettings", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetAttributionSettings", + "shortName": "UpdateAttributionSettings", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateAttributionSettings", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1alpha/{name=properties/*/attributionSettings}" + "httpMethod": "PATCH", + "path": "/v1alpha/{attribution_settings.name=properties/*/attributionSettings}" } ] }, { - "shortName": "GetAudience", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetAudience", + "shortName": "UpdateAudience", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateAudience", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1alpha/{name=properties/*/audiences/*}" + "httpMethod": "PATCH", + "path": "/v1alpha/{audience.name=properties/*/audiences/*}" } ] }, { - "shortName": "GetBigQueryLink", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetBigQueryLink", + "shortName": "UpdateCalculatedMetric", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateCalculatedMetric", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1alpha/{name=properties/*/bigQueryLinks/*}" + "httpMethod": "PATCH", + "path": "/v1alpha/{calculated_metric.name=properties/*/calculatedMetrics/*}" } ] }, { - "shortName": "GetConversionEvent", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetConversionEvent", + "shortName": "UpdateChannelGroup", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateChannelGroup", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1alpha/{name=properties/*/conversionEvents/*}" + "httpMethod": "PATCH", + "path": "/v1alpha/{channel_group.name=properties/*/channelGroups/*}" } ] }, { - "shortName": "GetCustomDimension", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetCustomDimension", + "shortName": "UpdateConversionEvent", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateConversionEvent", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1alpha/{name=properties/*/customDimensions/*}" + "httpMethod": "PATCH", + "path": "/v1alpha/{conversion_event.name=properties/*/conversionEvents/*}" } ] }, { - "shortName": "GetCustomMetric", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetCustomMetric", + "shortName": "UpdateCustomDimension", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateCustomDimension", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1alpha/{name=properties/*/customMetrics/*}" + "httpMethod": "PATCH", + "path": "/v1alpha/{custom_dimension.name=properties/*/customDimensions/*}" } ] }, { - "shortName": "GetDataRetentionSettings", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetDataRetentionSettings", + "shortName": "UpdateCustomMetric", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateCustomMetric", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1alpha/{name=properties/*/dataRetentionSettings}" + "httpMethod": "PATCH", + "path": "/v1alpha/{custom_metric.name=properties/*/customMetrics/*}" } ] }, { - "shortName": "GetDataSharingSettings", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetDataSharingSettings", + "shortName": "UpdateDataRedactionSettings", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateDataRedactionSettings", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1alpha/{name=accounts/*/dataSharingSettings}" + "httpMethod": "PATCH", + "path": "/v1alpha/{data_redaction_settings.name=properties/*/dataStreams/*/dataRedactionSettings}" } ] }, { - "shortName": "GetDataStream", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetDataStream", + "shortName": "UpdateDataRetentionSettings", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateDataRetentionSettings", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1alpha/{name=properties/*/dataStreams/*}" + "httpMethod": "PATCH", + "path": "/v1alpha/{data_retention_settings.name=properties/*/dataRetentionSettings}" } ] }, { - "shortName": "GetDisplayVideo360AdvertiserLink", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetDisplayVideo360AdvertiserLink", + "shortName": "UpdateDataStream", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateDataStream", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1alpha/{name=properties/*/displayVideo360AdvertiserLinks/*}" + "httpMethod": "PATCH", + "path": "/v1alpha/{data_stream.name=properties/*/dataStreams/*}" } ] }, { - "shortName": "GetDisplayVideo360AdvertiserLinkProposal", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetDisplayVideo360AdvertiserLinkProposal", + "shortName": "UpdateDisplayVideo360AdvertiserLink", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateDisplayVideo360AdvertiserLink", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}" + "httpMethod": "PATCH", + "path": "/v1alpha/{display_video_360_advertiser_link.name=properties/*/displayVideo360AdvertiserLinks/*}" } ] }, { - "shortName": "GetExpandedDataSet", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetExpandedDataSet", + "shortName": "UpdateEnhancedMeasurementSettings", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateEnhancedMeasurementSettings", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1alpha/{name=properties/*/expandedDataSets/*}" + "httpMethod": "PATCH", + "path": "/v1alpha/{enhanced_measurement_settings.name=properties/*/dataStreams/*/enhancedMeasurementSettings}" } ] }, { - "shortName": "GetGlobalSiteTag", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetGlobalSiteTag", + "shortName": "UpdateEventCreateRule", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateEventCreateRule", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1alpha/{name=properties/*/dataStreams/*/globalSiteTag}" + "httpMethod": "PATCH", + "path": "/v1alpha/{event_create_rule.name=properties/*/dataStreams/*/eventCreateRules/*}" } ] }, { - "shortName": "GetGoogleSignalsSettings", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetGoogleSignalsSettings", + "shortName": "UpdateExpandedDataSet", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateExpandedDataSet", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1alpha/{name=properties/*/googleSignalsSettings}" + "httpMethod": "PATCH", + "path": "/v1alpha/{expanded_data_set.name=properties/*/expandedDataSets/*}" } ] }, { - "shortName": "GetMeasurementProtocolSecret", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetMeasurementProtocolSecret", + "shortName": "UpdateGoogleAdsLink", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateGoogleAdsLink", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1alpha/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}" + "httpMethod": "PATCH", + "path": "/v1alpha/{google_ads_link.name=properties/*/googleAdsLinks/*}" } ] }, { - "shortName": "GetProperty", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetProperty", + "shortName": "UpdateGoogleSignalsSettings", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateGoogleSignalsSettings", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1alpha/{name=properties/*}" + "httpMethod": "PATCH", + "path": "/v1alpha/{google_signals_settings.name=properties/*/googleSignalsSettings}" } ] }, { - "shortName": "GetSearchAds360Link", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetSearchAds360Link", + "shortName": "UpdateMeasurementProtocolSecret", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateMeasurementProtocolSecret", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1alpha/{name=properties/*/searchAds360Links/*}" + "httpMethod": "PATCH", + "path": "/v1alpha/{measurement_protocol_secret.name=properties/*/dataStreams/*/measurementProtocolSecrets/*}" } ] }, { - "shortName": "GetUserLink", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.GetUserLink", + "shortName": "UpdateProperty", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateProperty", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1alpha/{name=accounts/*/userLinks/*}" - }, - { - "httpMethod": "GET", - "path": "/v1alpha/{name=properties/*/userLinks/*}" + "httpMethod": "PATCH", + "path": "/v1alpha/{property.name=properties/*}" } ] }, { - "shortName": "ListAccessBindings", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListAccessBindings", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1alpha/{parent=accounts/*}/accessBindings" - }, - { - "httpMethod": "GET", - "path": "/v1alpha/{parent=properties/*}/accessBindings" - } - ] - }, - { - "shortName": "ListAccountSummaries", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListAccountSummaries", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1alpha/accountSummaries" - } - ] - }, - { - "shortName": "ListAccounts", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListAccounts", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1alpha/accounts" - } - ] - }, - { - "shortName": "ListAudiences", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListAudiences", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1alpha/{parent=properties/*}/audiences" - } - ] - }, - { - "shortName": "ListBigQueryLinks", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListBigQueryLinks", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1alpha/{parent=properties/*}/bigQueryLinks" - } - ] - }, - { - "shortName": "ListConversionEvents", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListConversionEvents", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1alpha/{parent=properties/*}/conversionEvents" - } - ] - }, - { - "shortName": "ListCustomDimensions", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListCustomDimensions", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1alpha/{parent=properties/*}/customDimensions" - } - ] - }, - { - "shortName": "ListCustomMetrics", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListCustomMetrics", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1alpha/{parent=properties/*}/customMetrics" - } - ] - }, - { - "shortName": "ListDataStreams", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListDataStreams", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1alpha/{parent=properties/*}/dataStreams" - } - ] - }, - { - "shortName": "ListDisplayVideo360AdvertiserLinkProposals", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListDisplayVideo360AdvertiserLinkProposals", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinkProposals" - } - ] - }, - { - "shortName": "ListDisplayVideo360AdvertiserLinks", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListDisplayVideo360AdvertiserLinks", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1alpha/{parent=properties/*}/displayVideo360AdvertiserLinks" - } - ] - }, - { - "shortName": "ListExpandedDataSets", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListExpandedDataSets", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1alpha/{parent=properties/*}/expandedDataSets" - } - ] - }, - { - "shortName": "ListFirebaseLinks", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListFirebaseLinks", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1alpha/{parent=properties/*}/firebaseLinks" - } - ] - }, - { - "shortName": "ListGoogleAdsLinks", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListGoogleAdsLinks", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1alpha/{parent=properties/*}/googleAdsLinks" - } - ] - }, - { - "shortName": "ListMeasurementProtocolSecrets", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListMeasurementProtocolSecrets", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1alpha/{parent=properties/*/dataStreams/*}/measurementProtocolSecrets" - } - ] - }, - { - "shortName": "ListProperties", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListProperties", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1alpha/properties" - } - ] - }, - { - "shortName": "ListSearchAds360Links", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListSearchAds360Links", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1alpha/{parent=properties/*}/searchAds360Links" - } - ] - }, - { - "shortName": "ListUserLinks", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ListUserLinks", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1alpha/{parent=accounts/*}/userLinks" - }, - { - "httpMethod": "GET", - "path": "/v1alpha/{parent=properties/*}/userLinks" - } - ] - }, - { - "shortName": "ProvisionAccountTicket", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.ProvisionAccountTicket", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1alpha/accounts:provisionAccountTicket" - } - ] - }, - { - "shortName": "RunAccessReport", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.RunAccessReport", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1alpha/{entity=properties/*}:runAccessReport" - } - ] - }, - { - "shortName": "SearchChangeHistoryEvents", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.SearchChangeHistoryEvents", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1alpha/{account=accounts/*}:searchChangeHistoryEvents" - } - ] - }, - { - "shortName": "SetAutomatedGa4ConfigurationOptOut", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.SetAutomatedGa4ConfigurationOptOut", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1alpha/properties:setAutomatedGa4ConfigurationOptOut" - } - ] - }, - { - "shortName": "UpdateAccessBinding", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateAccessBinding", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "PATCH", - "path": "/v1alpha/{access_binding.name=accounts/*/accessBindings/*}" - }, - { - "httpMethod": "PATCH", - "path": "/v1alpha/{access_binding.name=properties/*/accessBindings/*}" - } - ] - }, - { - "shortName": "UpdateAccount", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateAccount", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "PATCH", - "path": "/v1alpha/{account.name=accounts/*}" - } - ] - }, - { - "shortName": "UpdateAttributionSettings", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateAttributionSettings", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "PATCH", - "path": "/v1alpha/{attribution_settings.name=properties/*/attributionSettings}" - } - ] - }, - { - "shortName": "UpdateAudience", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateAudience", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "PATCH", - "path": "/v1alpha/{audience.name=properties/*/audiences/*}" - } - ] - }, - { - "shortName": "UpdateCustomDimension", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateCustomDimension", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "PATCH", - "path": "/v1alpha/{custom_dimension.name=properties/*/customDimensions/*}" - } - ] - }, - { - "shortName": "UpdateCustomMetric", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateCustomMetric", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "PATCH", - "path": "/v1alpha/{custom_metric.name=properties/*/customMetrics/*}" - } - ] - }, - { - "shortName": "UpdateDataRetentionSettings", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateDataRetentionSettings", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "PATCH", - "path": "/v1alpha/{data_retention_settings.name=properties/*/dataRetentionSettings}" - } - ] - }, - { - "shortName": "UpdateDataStream", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateDataStream", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "PATCH", - "path": "/v1alpha/{data_stream.name=properties/*/dataStreams/*}" - } - ] - }, - { - "shortName": "UpdateDisplayVideo360AdvertiserLink", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateDisplayVideo360AdvertiserLink", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "PATCH", - "path": "/v1alpha/{display_video_360_advertiser_link.name=properties/*/displayVideo360AdvertiserLinks/*}" - } - ] - }, - { - "shortName": "UpdateExpandedDataSet", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateExpandedDataSet", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "PATCH", - "path": "/v1alpha/{expanded_data_set.name=properties/*/expandedDataSets/*}" - } - ] - }, - { - "shortName": "UpdateGoogleAdsLink", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateGoogleAdsLink", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "PATCH", - "path": "/v1alpha/{google_ads_link.name=properties/*/googleAdsLinks/*}" - } - ] - }, - { - "shortName": "UpdateGoogleSignalsSettings", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateGoogleSignalsSettings", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "PATCH", - "path": "/v1alpha/{google_signals_settings.name=properties/*/googleSignalsSettings}" - } - ] - }, - { - "shortName": "UpdateMeasurementProtocolSecret", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateMeasurementProtocolSecret", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "PATCH", - "path": "/v1alpha/{measurement_protocol_secret.name=properties/*/dataStreams/*/measurementProtocolSecrets/*}" - } - ] - }, - { - "shortName": "UpdateProperty", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateProperty", + "shortName": "UpdateSKAdNetworkConversionValueSchema", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateSKAdNetworkConversionValueSchema", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1alpha/{property.name=properties/*}" + "path": "/v1alpha/{skadnetwork_conversion_value_schema.name=properties/*/dataStreams/*/sKAdNetworkConversionValueSchema/*}" } ] }, @@ -8772,17 +7935,13 @@ ] }, { - "shortName": "UpdateUserLink", - "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateUserLink", + "shortName": "UpdateSubpropertyEventFilter", + "fullName": "google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateSubpropertyEventFilter", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1alpha/{user_link.name=accounts/*/userLinks/*}" - }, - { - "httpMethod": "PATCH", - "path": "/v1alpha/{user_link.name=properties/*/userLinks/*}" + "path": "/v1alpha/{subproperty_event_filter.name=properties/*/subpropertyEventFilters/*}" } ] } @@ -8802,7 +7961,7 @@ "majorVersion": "v1", "hostName": "analyticsadmin.googleapis.com", "title": "Google Analytics Admin API", - "description": "", + "description": "Manage properties in Google Analytics. Warning: Creating multiple Customer Applications, Accounts, or Projects to simulate or act as a single Customer Application, Account, or Project (respectively) or to circumvent Service-specific usage limits or quotas is a direct violation of Google Cloud Platform Terms of Service as well as Google APIs Terms of Service. These actions can result in immediate termination of your GCP project(s) without any warning.", "importDirectories": [ "google/analytics/admin/v1beta", "google/api", @@ -8811,17 +7970,17 @@ "options": { "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/analytics/admin/v1beta;admin": 2 + "google.golang.org/genproto/googleapis/analytics/admin/v1beta;admin": 3 } }, "java_multiple_files": { "valueCounts": { - "true": 2 + "true": 3 } }, "java_package": { "valueCounts": { - "com.google.analytics.admin.v1beta": 2 + "com.google.analytics.admin.v1beta": 3 } } }, @@ -9248,6 +8407,21 @@ } ] }, + { + "shortName": "RunAccessReport", + "fullName": "google.analytics.admin.v1beta.AnalyticsAdminService.RunAccessReport", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta/{entity=properties/*}:runAccessReport" + }, + { + "httpMethod": "POST", + "path": "/v1beta/{entity=accounts/*}:runAccessReport" + } + ] + }, { "shortName": "SearchChangeHistoryEvents", "fullName": "google.analytics.admin.v1beta.AnalyticsAdminService.SearchChangeHistoryEvents", @@ -9270,6 +8444,17 @@ } ] }, + { + "shortName": "UpdateConversionEvent", + "fullName": "google.analytics.admin.v1beta.AnalyticsAdminService.UpdateConversionEvent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta/{conversion_event.name=properties/*/conversionEvents/*}" + } + ] + }, { "shortName": "UpdateCustomDimension", "fullName": "google.analytics.admin.v1beta.AnalyticsAdminService.UpdateCustomDimension", @@ -9350,7 +8535,7 @@ ] } ], - "configFile": "analyticsadmin.yaml", + "configFile": "analyticsadmin_v1beta.yaml", "serviceConfigApiNames": [ "google.analytics.admin.v1beta.AnalyticsAdminService" ], @@ -9363,10 +8548,11 @@ "majorVersion": "v1", "hostName": "analyticsdata.googleapis.com", "title": "Google Analytics Data API", - "description": "Accesses report data in Google Analytics.", + "description": "Accesses report data in Google Analytics. Warning: Creating multiple Customer Applications, Accounts, or Projects to simulate or act as a single Customer Application, Account, or Project (respectively) or to circumvent Service-specific usage limits or quotas is a direct violation of Google Cloud Platform Terms of Service as well as Google APIs Terms of Service. These actions can result in immediate termination of your GCP project(s) without any warning.", "importDirectories": [ "google/analytics/data/v1alpha", "google/api", + "google/longrunning", "google/protobuf" ], "options": { @@ -9391,6 +8577,83 @@ "shortName": "AlphaAnalyticsData", "fullName": "google.analytics.data.v1alpha.AlphaAnalyticsData", "methods": [ + { + "shortName": "CreateAudienceList", + "fullName": "google.analytics.data.v1alpha.AlphaAnalyticsData.CreateAudienceList", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha/{parent=properties/*}/audienceLists" + } + ] + }, + { + "shortName": "CreateRecurringAudienceList", + "fullName": "google.analytics.data.v1alpha.AlphaAnalyticsData.CreateRecurringAudienceList", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha/{parent=properties/*}/recurringAudienceLists" + } + ] + }, + { + "shortName": "GetAudienceList", + "fullName": "google.analytics.data.v1alpha.AlphaAnalyticsData.GetAudienceList", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{name=properties/*/audienceLists/*}" + } + ] + }, + { + "shortName": "GetRecurringAudienceList", + "fullName": "google.analytics.data.v1alpha.AlphaAnalyticsData.GetRecurringAudienceList", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{name=properties/*/recurringAudienceLists/*}" + } + ] + }, + { + "shortName": "ListAudienceLists", + "fullName": "google.analytics.data.v1alpha.AlphaAnalyticsData.ListAudienceLists", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{parent=properties/*}/audienceLists" + } + ] + }, + { + "shortName": "ListRecurringAudienceLists", + "fullName": "google.analytics.data.v1alpha.AlphaAnalyticsData.ListRecurringAudienceLists", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{parent=properties/*}/recurringAudienceLists" + } + ] + }, + { + "shortName": "QueryAudienceList", + "fullName": "google.analytics.data.v1alpha.AlphaAnalyticsData.QueryAudienceList", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha/{name=properties/*/audienceLists/*}:query" + } + ] + }, { "shortName": "RunFunnelReport", "fullName": "google.analytics.data.v1alpha.AlphaAnalyticsData.RunFunnelReport", @@ -9401,13 +8664,25 @@ "path": "/v1alpha/{property=properties/*}:runFunnelReport" } ] + }, + { + "shortName": "SheetExportAudienceList", + "fullName": "google.analytics.data.v1alpha.AlphaAnalyticsData.SheetExportAudienceList", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha/{name=properties/*/audienceLists/*}:exportSheet" + } + ] } ] } ], "configFile": "analyticsdata_v1alpha.yaml", "serviceConfigApiNames": [ - "google.analytics.data.v1alpha.AlphaAnalyticsData" + "google.analytics.data.v1alpha.AlphaAnalyticsData", + "google.longrunning.Operations" ], "nameInServiceConfig": "analyticsdata.googleapis.com" }, @@ -9418,10 +8693,12 @@ "majorVersion": "v1", "hostName": "analyticsdata.googleapis.com", "title": "Google Analytics Data API", - "description": "Accesses report data in Google Analytics.", + "description": "Accesses report data in Google Analytics. Warning: Creating multiple Customer Applications, Accounts, or Projects to simulate or act as a single Customer Application, Account, or Project (respectively) or to circumvent Service-specific usage limits or quotas is a direct violation of Google Cloud Platform Terms of Service as well as Google APIs Terms of Service. These actions can result in immediate termination of your GCP project(s) without any warning.", "importDirectories": [ "google/analytics/data/v1beta", - "google/api" + "google/api", + "google/longrunning", + "google/protobuf" ], "options": { "go_package": { @@ -9479,55 +8756,100 @@ ] }, { - "shortName": "GetMetadata", - "fullName": "google.analytics.data.v1beta.BetaAnalyticsData.GetMetadata", + "shortName": "CreateAudienceExport", + "fullName": "google.analytics.data.v1beta.BetaAnalyticsData.CreateAudienceExport", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta/{name=properties/*/metadata}" + "httpMethod": "POST", + "path": "/v1beta/{parent=properties/*}/audienceExports" } ] }, { - "shortName": "RunPivotReport", - "fullName": "google.analytics.data.v1beta.BetaAnalyticsData.RunPivotReport", + "shortName": "GetAudienceExport", + "fullName": "google.analytics.data.v1beta.BetaAnalyticsData.GetAudienceExport", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta/{property=properties/*}:runPivotReport" + "httpMethod": "GET", + "path": "/v1beta/{name=properties/*/audienceExports/*}" } ] }, { - "shortName": "RunRealtimeReport", - "fullName": "google.analytics.data.v1beta.BetaAnalyticsData.RunRealtimeReport", + "shortName": "GetMetadata", + "fullName": "google.analytics.data.v1beta.BetaAnalyticsData.GetMetadata", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta/{property=properties/*}:runRealtimeReport" + "httpMethod": "GET", + "path": "/v1beta/{name=properties/*/metadata}" } ] }, { - "shortName": "RunReport", - "fullName": "google.analytics.data.v1beta.BetaAnalyticsData.RunReport", + "shortName": "ListAudienceExports", + "fullName": "google.analytics.data.v1beta.BetaAnalyticsData.ListAudienceExports", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta/{property=properties/*}:runReport" + "httpMethod": "GET", + "path": "/v1beta/{parent=properties/*}/audienceExports" } ] - } + }, + { + "shortName": "QueryAudienceExport", + "fullName": "google.analytics.data.v1beta.BetaAnalyticsData.QueryAudienceExport", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta/{name=properties/*/audienceExports/*}:query" + } + ] + }, + { + "shortName": "RunPivotReport", + "fullName": "google.analytics.data.v1beta.BetaAnalyticsData.RunPivotReport", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta/{property=properties/*}:runPivotReport" + } + ] + }, + { + "shortName": "RunRealtimeReport", + "fullName": "google.analytics.data.v1beta.BetaAnalyticsData.RunRealtimeReport", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta/{property=properties/*}:runRealtimeReport" + } + ] + }, + { + "shortName": "RunReport", + "fullName": "google.analytics.data.v1beta.BetaAnalyticsData.RunReport", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta/{property=properties/*}:runReport" + } + ] + } ] } ], "configFile": "analyticsdata_v1beta.yaml", "serviceConfigApiNames": [ - "google.analytics.data.v1beta.BetaAnalyticsData" + "google.analytics.data.v1beta.BetaAnalyticsData", + "google.longrunning.Operations" ], "nameInServiceConfig": "analyticsdata.googleapis.com" }, @@ -9553,7 +8875,7 @@ }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/api/apikeys/v2;apikeys": 2 + "cloud.google.com/go/apikeys/apiv2/apikeyspb;apikeyspb": 2 } }, "java_multiple_files": { @@ -9680,6 +9002,179 @@ ], "nameInServiceConfig": "apikeys.googleapis.com" }, + { + "id": "google.api.cloudquotas.v1", + "directory": "google/api/cloudquotas/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "cloudquotas.googleapis.com", + "title": "Cloud Quotas API", + "description": "Cloud Quotas API provides Google Cloud service consumers with management and observability for resource usage, quotas, and restrictions of the services they consume.", + "importDirectories": [ + "google/api", + "google/api/cloudquotas/v1", + "google/protobuf" + ], + "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.CloudQuotas.V1": 2 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/cloudquotas/apiv1/cloudquotaspb;cloudquotaspb": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "java_package": { + "valueCounts": { + "com.google.api.cloudquotas.v1": 2 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\CloudQuotas\\V1": 2 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::CloudQuotas::V1": 2 + } + } + }, + "services": [ + { + "shortName": "CloudQuotas", + "fullName": "google.api.cloudquotas.v1.CloudQuotas", + "methods": [ + { + "shortName": "CreateQuotaPreference", + "fullName": "google.api.cloudquotas.v1.CloudQuotas.CreateQuotaPreference", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/quotaPreferences" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=folders/*/locations/*}/quotaPreferences" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=organizations/*/locations/*}/quotaPreferences" + } + ] + }, + { + "shortName": "GetQuotaInfo", + "fullName": "google.api.cloudquotas.v1.CloudQuotas.GetQuotaInfo", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/services/*/quotaInfos/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=organizations/*/locations/*/services/*/quotaInfos/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=folders/*/locations/*/services/*/quotaInfos/*}" + } + ] + }, + { + "shortName": "GetQuotaPreference", + "fullName": "google.api.cloudquotas.v1.CloudQuotas.GetQuotaPreference", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/quotaPreferences/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=organizations/*/locations/*/quotaPreferences/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=folders/*/locations/*/quotaPreferences/*}" + } + ] + }, + { + "shortName": "ListQuotaInfos", + "fullName": "google.api.cloudquotas.v1.CloudQuotas.ListQuotaInfos", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/services/*}/quotaInfos" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=organizations/*/locations/*/services/*}/quotaInfos" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=folders/*/locations/*/services/*}/quotaInfos" + } + ] + }, + { + "shortName": "ListQuotaPreferences", + "fullName": "google.api.cloudquotas.v1.CloudQuotas.ListQuotaPreferences", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/quotaPreferences" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=folders/*/locations/*}/quotaPreferences" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=organizations/*/locations/*}/quotaPreferences" + } + ] + }, + { + "shortName": "UpdateQuotaPreference", + "fullName": "google.api.cloudquotas.v1.CloudQuotas.UpdateQuotaPreference", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{quota_preference.name=projects/*/locations/*/quotaPreferences/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{quota_preference.name=folders/*/locations/*/quotaPreferences/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{quota_preference.name=organizations/*/locations/*/quotaPreferences/*}" + } + ] + } + ] + } + ], + "configFile": "cloudquotas_v1.yaml", + "serviceConfigApiNames": [ + "google.api.cloudquotas.v1.CloudQuotas" + ], + "nameInServiceConfig": "cloudquotas.googleapis.com" + }, { "id": "google.api.servicecontrol.v1", "directory": "google/api/servicecontrol/v1", @@ -9709,7 +9204,7 @@ }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/api/servicecontrol/v1;servicecontrol": 8 + "cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb;servicecontrolpb": 8 } }, "java_multiple_files": { @@ -9906,7 +9401,7 @@ }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/api/servicemanagement/v1;servicemanagement": 2 + "cloud.google.com/go/servicemanagement/apiv1/servicemanagementpb;servicemanagementpb": 2 } }, "java_multiple_files": { @@ -10092,7 +9587,9 @@ ], "configFile": "servicemanagement_v1.yaml", "serviceConfigApiNames": [ - "google.api.servicemanagement.v1.ServiceManager" + "google.api.servicemanagement.v1.ServiceManager", + "google.iam.v1.IAMPolicy", + "google.longrunning.Operations" ], "nameInServiceConfig": "servicemanagement.googleapis.com" }, @@ -10118,7 +9615,7 @@ }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/api/serviceusage/v1;serviceusage": 2 + "cloud.google.com/go/serviceusage/apiv1/serviceusagepb;serviceusagepb": 2 } }, "java_multiple_files": { @@ -10218,7 +9715,8 @@ ], "configFile": "serviceusage_v1.yaml", "serviceConfigApiNames": [ - "google.api.serviceusage.v1.ServiceUsage" + "google.api.serviceusage.v1.ServiceUsage", + "google.longrunning.Operations" ], "nameInServiceConfig": "serviceusage.googleapis.com" }, @@ -10487,7 +9985,8 @@ ], "configFile": "serviceusage_v1beta1.yaml", "serviceConfigApiNames": [ - "google.api.serviceusage.v1beta1.ServiceUsage" + "google.api.serviceusage.v1beta1.ServiceUsage", + "google.longrunning.Operations" ], "nameInServiceConfig": "serviceusage.googleapis.com" }, @@ -10513,7 +10012,7 @@ }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/appengine/v1;appengine": 16 + "cloud.google.com/go/appengine/apiv1/appenginepb;appenginepb": 16 } }, "java_multiple_files": { @@ -10982,7 +10481,7 @@ "majorVersion": "v1", "hostName": "alertcenter.googleapis.com", "title": "Google Workspace Alert Center API", - "description": "Manages alerts on issues affecting your domain.", + "description": "Manages alerts on issues affecting your domain. Note: The current version of this API (v1beta1) is available to all Google Workspace customers.", "importDirectories": [ "google/api", "google/protobuf", @@ -11154,7 +10653,7 @@ ] } ], - "configFile": "alertcenter.yaml", + "configFile": "alertcenter_v1beta1.yaml", "serviceConfigApiNames": [ "google.apps.alertcenter.v1beta1.AlertCenterService" ], @@ -11247,23 +10746,23 @@ "options": { "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/apps/drive/labels/v2;labels": 8 + "google.golang.org/genproto/googleapis/apps/drive/labels/v2;labels": 11 } }, "java_multiple_files": { "valueCounts": { - "true": 8 + "true": 11 } }, "java_package": { "valueCounts": { - "com.google.apps.drive.labels.v2": 8 + "com.google.apps.drive.labels.v2": 11 } }, "objc_class_prefix": { "valueCounts": { "": 2, - "DLBL": 6 + "DLBL": 9 } } }, @@ -11272,6 +10771,121 @@ "shortName": "LabelService", "fullName": "google.apps.drive.labels.v2.LabelService", "methods": [ + { + "shortName": "BatchDeleteLabelPermissions", + "fullName": "google.apps.drive.labels.v2.LabelService.BatchDeleteLabelPermissions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=labels/*}/permissions:batchDelete" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=labels/*/revisions/*}/permissions:batchDelete" + } + ] + }, + { + "shortName": "BatchUpdateLabelPermissions", + "fullName": "google.apps.drive.labels.v2.LabelService.BatchUpdateLabelPermissions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=labels/*}/permissions:batchUpdate" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=labels/*/revisions/*}/permissions:batchUpdate" + } + ] + }, + { + "shortName": "CreateLabel", + "fullName": "google.apps.drive.labels.v2.LabelService.CreateLabel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/labels" + } + ] + }, + { + "shortName": "CreateLabelPermission", + "fullName": "google.apps.drive.labels.v2.LabelService.CreateLabelPermission", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=labels/*}/permissions" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=labels/*/revisions/*}/permissions" + } + ] + }, + { + "shortName": "DeleteLabel", + "fullName": "google.apps.drive.labels.v2.LabelService.DeleteLabel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=labels/*}" + } + ] + }, + { + "shortName": "DeleteLabelPermission", + "fullName": "google.apps.drive.labels.v2.LabelService.DeleteLabelPermission", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=labels/*/permissions/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=labels/*/revisions/*/permissions/*}" + } + ] + }, + { + "shortName": "DeltaUpdateLabel", + "fullName": "google.apps.drive.labels.v2.LabelService.DeltaUpdateLabel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=labels/*}:delta" + } + ] + }, + { + "shortName": "DisableLabel", + "fullName": "google.apps.drive.labels.v2.LabelService.DisableLabel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=labels/*}:disable" + } + ] + }, + { + "shortName": "EnableLabel", + "fullName": "google.apps.drive.labels.v2.LabelService.EnableLabel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=labels/*}:enable" + } + ] + }, { "shortName": "GetLabel", "fullName": "google.apps.drive.labels.v2.LabelService.GetLabel", @@ -11283,6 +10897,58 @@ } ] }, + { + "shortName": "GetLabelLimits", + "fullName": "google.apps.drive.labels.v2.LabelService.GetLabelLimits", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/limits/label" + } + ] + }, + { + "shortName": "GetUserCapabilities", + "fullName": "google.apps.drive.labels.v2.LabelService.GetUserCapabilities", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=users/*/capabilities}" + } + ] + }, + { + "shortName": "ListLabelLocks", + "fullName": "google.apps.drive.labels.v2.LabelService.ListLabelLocks", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=labels/*}/locks" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=labels/*/revisions/*}/locks" + } + ] + }, + { + "shortName": "ListLabelPermissions", + "fullName": "google.apps.drive.labels.v2.LabelService.ListLabelPermissions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=labels/*}/permissions" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=labels/*/revisions/*}/permissions" + } + ] + }, { "shortName": "ListLabels", "fullName": "google.apps.drive.labels.v2.LabelService.ListLabels", @@ -11293,6 +10959,43 @@ "path": "/v2/labels" } ] + }, + { + "shortName": "PublishLabel", + "fullName": "google.apps.drive.labels.v2.LabelService.PublishLabel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=labels/*}:publish" + } + ] + }, + { + "shortName": "UpdateLabelCopyMode", + "fullName": "google.apps.drive.labels.v2.LabelService.UpdateLabelCopyMode", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=labels/*}:updateLabelCopyMode" + } + ] + }, + { + "shortName": "UpdateLabelPermission", + "fullName": "google.apps.drive.labels.v2.LabelService.UpdateLabelPermission", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{parent=labels/*}/permissions" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{parent=labels/*/revisions/*}/permissions" + } + ] } ] } @@ -11580,6 +11283,133 @@ ], "nameInServiceConfig": "drivelabels.googleapis.com" }, + { + "id": "google.apps.events.subscriptions.v1", + "directory": "google/apps/events/subscriptions/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "workspaceevents.googleapis.com", + "title": "Google Workspace Events API", + "description": "The Google Workspace Events API lets you subscribe to events and manage change notifications across Google Workspace applications.", + "importDirectories": [ + "google/api", + "google/apps/events/subscriptions/v1", + "google/longrunning", + "google/protobuf" + ], + "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Apps.Events.Subscriptions.V1": 2 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/apps/events/subscriptions/v1;subscriptions": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "java_package": { + "valueCounts": { + "com.google.apps.events.subscriptions.v1": 2 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Apps\\Events\\Subscriptions\\V1": 2 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Apps::Events::Subscriptions::V1": 2 + } + } + }, + "services": [ + { + "shortName": "SubscriptionsService", + "fullName": "google.apps.events.subscriptions.v1.SubscriptionsService", + "methods": [ + { + "shortName": "CreateSubscription", + "fullName": "google.apps.events.subscriptions.v1.SubscriptionsService.CreateSubscription", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/subscriptions" + } + ] + }, + { + "shortName": "DeleteSubscription", + "fullName": "google.apps.events.subscriptions.v1.SubscriptionsService.DeleteSubscription", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=subscriptions/*}" + } + ] + }, + { + "shortName": "GetSubscription", + "fullName": "google.apps.events.subscriptions.v1.SubscriptionsService.GetSubscription", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=subscriptions/*}" + } + ] + }, + { + "shortName": "ListSubscriptions", + "fullName": "google.apps.events.subscriptions.v1.SubscriptionsService.ListSubscriptions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/subscriptions" + } + ] + }, + { + "shortName": "ReactivateSubscription", + "fullName": "google.apps.events.subscriptions.v1.SubscriptionsService.ReactivateSubscription", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=subscriptions/*}:reactivate" + } + ] + }, + { + "shortName": "UpdateSubscription", + "fullName": "google.apps.events.subscriptions.v1.SubscriptionsService.UpdateSubscription", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{subscription.name=subscriptions/*}" + } + ] + } + ] + } + ], + "configFile": "workspaceevents_v1.yaml", + "serviceConfigApiNames": [ + "google.apps.events.subscriptions.v1.SubscriptionsService", + "google.longrunning.Operations" + ], + "nameInServiceConfig": "workspaceevents.googleapis.com" + }, { "id": "google.apps.market.v2", "directory": "google/apps/market/v2", @@ -11675,6 +11505,490 @@ ], "nameInServiceConfig": "appsmarket.googleapis.com" }, + { + "id": "google.apps.meet.v2", + "directory": "google/apps/meet/v2", + "version": "v2", + "majorVersion": "v2", + "hostName": "meet.googleapis.com", + "title": "Google Meet API", + "description": "Create and manage meetings in Google Meet.", + "importDirectories": [ + "google/api", + "google/apps/meet/v2", + "google/protobuf" + ], + "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Apps.Meet.V2": 2 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/apps/meet/apiv2/meetpb;meetpb": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "java_package": { + "valueCounts": { + "com.google.apps.meet.v2": 2 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Apps\\Meet\\V2": 2 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Apps::Meet::V2": 2 + } + } + }, + "services": [ + { + "shortName": "ConferenceRecordsService", + "fullName": "google.apps.meet.v2.ConferenceRecordsService", + "methods": [ + { + "shortName": "GetConferenceRecord", + "fullName": "google.apps.meet.v2.ConferenceRecordsService.GetConferenceRecord", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=conferenceRecords/*}" + } + ] + }, + { + "shortName": "GetParticipant", + "fullName": "google.apps.meet.v2.ConferenceRecordsService.GetParticipant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=conferenceRecords/*/participants/*}" + } + ] + }, + { + "shortName": "GetParticipantSession", + "fullName": "google.apps.meet.v2.ConferenceRecordsService.GetParticipantSession", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=conferenceRecords/*/participants/*/participantSessions/*}" + } + ] + }, + { + "shortName": "GetRecording", + "fullName": "google.apps.meet.v2.ConferenceRecordsService.GetRecording", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=conferenceRecords/*/recordings/*}" + } + ] + }, + { + "shortName": "GetTranscript", + "fullName": "google.apps.meet.v2.ConferenceRecordsService.GetTranscript", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=conferenceRecords/*/transcripts/*}" + } + ] + }, + { + "shortName": "GetTranscriptEntry", + "fullName": "google.apps.meet.v2.ConferenceRecordsService.GetTranscriptEntry", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=conferenceRecords/*/transcripts/*/entries/*}" + } + ] + }, + { + "shortName": "ListConferenceRecords", + "fullName": "google.apps.meet.v2.ConferenceRecordsService.ListConferenceRecords", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/conferenceRecords" + } + ] + }, + { + "shortName": "ListParticipantSessions", + "fullName": "google.apps.meet.v2.ConferenceRecordsService.ListParticipantSessions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=conferenceRecords/*/participants/*}/participantSessions" + } + ] + }, + { + "shortName": "ListParticipants", + "fullName": "google.apps.meet.v2.ConferenceRecordsService.ListParticipants", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=conferenceRecords/*}/participants" + } + ] + }, + { + "shortName": "ListRecordings", + "fullName": "google.apps.meet.v2.ConferenceRecordsService.ListRecordings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=conferenceRecords/*}/recordings" + } + ] + }, + { + "shortName": "ListTranscriptEntries", + "fullName": "google.apps.meet.v2.ConferenceRecordsService.ListTranscriptEntries", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=conferenceRecords/*/transcripts/*}/entries" + } + ] + }, + { + "shortName": "ListTranscripts", + "fullName": "google.apps.meet.v2.ConferenceRecordsService.ListTranscripts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=conferenceRecords/*}/transcripts" + } + ] + } + ] + }, + { + "shortName": "SpacesService", + "fullName": "google.apps.meet.v2.SpacesService", + "methods": [ + { + "shortName": "CreateSpace", + "fullName": "google.apps.meet.v2.SpacesService.CreateSpace", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/spaces" + } + ] + }, + { + "shortName": "EndActiveConference", + "fullName": "google.apps.meet.v2.SpacesService.EndActiveConference", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=spaces/*}:endActiveConference" + } + ] + }, + { + "shortName": "GetSpace", + "fullName": "google.apps.meet.v2.SpacesService.GetSpace", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=spaces/*}" + } + ] + }, + { + "shortName": "UpdateSpace", + "fullName": "google.apps.meet.v2.SpacesService.UpdateSpace", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{space.name=spaces/*}" + } + ] + } + ] + } + ], + "configFile": "meet_v2.yaml", + "serviceConfigApiNames": [ + "google.apps.meet.v2.ConferenceRecordsService", + "google.apps.meet.v2.SpacesService" + ], + "nameInServiceConfig": "meet.googleapis.com" + }, + { + "id": "google.apps.meet.v2beta", + "directory": "google/apps/meet/v2beta", + "version": "v2beta", + "majorVersion": "v2", + "hostName": "meet.googleapis.com", + "title": "Google Meet API", + "description": "Create and manage meetings in Google Meet.", + "importDirectories": [ + "google/api", + "google/apps/meet/v2beta", + "google/protobuf" + ], + "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Apps.Meet.V2Beta": 2 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/apps/meet/apiv2beta/meetpb;meetpb": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "java_package": { + "valueCounts": { + "com.google.apps.meet.v2beta": 2 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Apps\\Meet\\V2beta": 2 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Apps::Meet::V2beta": 2 + } + } + }, + "services": [ + { + "shortName": "ConferenceRecordsService", + "fullName": "google.apps.meet.v2beta.ConferenceRecordsService", + "methods": [ + { + "shortName": "GetConferenceRecord", + "fullName": "google.apps.meet.v2beta.ConferenceRecordsService.GetConferenceRecord", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta/{name=conferenceRecords/*}" + } + ] + }, + { + "shortName": "GetParticipant", + "fullName": "google.apps.meet.v2beta.ConferenceRecordsService.GetParticipant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta/{name=conferenceRecords/*/participants/*}" + } + ] + }, + { + "shortName": "GetParticipantSession", + "fullName": "google.apps.meet.v2beta.ConferenceRecordsService.GetParticipantSession", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta/{name=conferenceRecords/*/participants/*/participantSessions/*}" + } + ] + }, + { + "shortName": "GetRecording", + "fullName": "google.apps.meet.v2beta.ConferenceRecordsService.GetRecording", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta/{name=conferenceRecords/*/recordings/*}" + } + ] + }, + { + "shortName": "GetTranscript", + "fullName": "google.apps.meet.v2beta.ConferenceRecordsService.GetTranscript", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta/{name=conferenceRecords/*/transcripts/*}" + } + ] + }, + { + "shortName": "GetTranscriptEntry", + "fullName": "google.apps.meet.v2beta.ConferenceRecordsService.GetTranscriptEntry", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta/{name=conferenceRecords/*/transcripts/*/entries/*}" + } + ] + }, + { + "shortName": "ListConferenceRecords", + "fullName": "google.apps.meet.v2beta.ConferenceRecordsService.ListConferenceRecords", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta/conferenceRecords" + } + ] + }, + { + "shortName": "ListParticipantSessions", + "fullName": "google.apps.meet.v2beta.ConferenceRecordsService.ListParticipantSessions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta/{parent=conferenceRecords/*/participants/*}/participantSessions" + } + ] + }, + { + "shortName": "ListParticipants", + "fullName": "google.apps.meet.v2beta.ConferenceRecordsService.ListParticipants", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta/{parent=conferenceRecords/*}/participants" + } + ] + }, + { + "shortName": "ListRecordings", + "fullName": "google.apps.meet.v2beta.ConferenceRecordsService.ListRecordings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta/{parent=conferenceRecords/*}/recordings" + } + ] + }, + { + "shortName": "ListTranscriptEntries", + "fullName": "google.apps.meet.v2beta.ConferenceRecordsService.ListTranscriptEntries", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta/{parent=conferenceRecords/*/transcripts/*}/entries" + } + ] + }, + { + "shortName": "ListTranscripts", + "fullName": "google.apps.meet.v2beta.ConferenceRecordsService.ListTranscripts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta/{parent=conferenceRecords/*}/transcripts" + } + ] + } + ] + }, + { + "shortName": "SpacesService", + "fullName": "google.apps.meet.v2beta.SpacesService", + "methods": [ + { + "shortName": "CreateSpace", + "fullName": "google.apps.meet.v2beta.SpacesService.CreateSpace", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta/spaces" + } + ] + }, + { + "shortName": "EndActiveConference", + "fullName": "google.apps.meet.v2beta.SpacesService.EndActiveConference", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta/{name=spaces/*}:endActiveConference" + } + ] + }, + { + "shortName": "GetSpace", + "fullName": "google.apps.meet.v2beta.SpacesService.GetSpace", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta/{name=spaces/*}" + } + ] + }, + { + "shortName": "UpdateSpace", + "fullName": "google.apps.meet.v2beta.SpacesService.UpdateSpace", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2beta/{space.name=spaces/*}" + } + ] + } + ] + } + ], + "configFile": "meet_v2beta.yaml", + "serviceConfigApiNames": [ + "google.apps.meet.v2beta.ConferenceRecordsService", + "google.apps.meet.v2beta.SpacesService" + ], + "nameInServiceConfig": "meet.googleapis.com" + }, { "id": "google.area120.tables.v1alpha1", "directory": "google/area120/tables/v1alpha1", @@ -11690,7 +12004,7 @@ "options": { "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/area120/tables/v1alpha1;tables": 1 + "cloud.google.com/go/area120/tables/apiv1alpha1/tablespb;tablespb": 1 } }, "java_multiple_files": { @@ -12151,6 +12465,17 @@ } ] }, + { + "shortName": "CopyBackup", + "fullName": "google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/instances/*/clusters/*}/backups:copy" + } + ] + }, { "shortName": "CreateBackup", "fullName": "google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup", @@ -12443,32 +12768,32 @@ "options": { "csharp_namespace": { "valueCounts": { - "Google.Cloud.Bigtable.V2": 4 + "Google.Cloud.Bigtable.V2": 5 } }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/bigtable/v2;bigtable": 4 + "google.golang.org/genproto/googleapis/bigtable/v2;bigtable": 5 } }, "java_multiple_files": { "valueCounts": { - "true": 4 + "true": 5 } }, "java_package": { "valueCounts": { - "com.google.bigtable.v2": 4 + "com.google.bigtable.v2": 5 } }, "php_namespace": { "valueCounts": { - "Google\\Cloud\\Bigtable\\V2": 4 + "Google\\Cloud\\Bigtable\\V2": 5 } }, "ruby_package": { "valueCounts": { - "Google::Cloud::Bigtable::V2": 4 + "Google::Cloud::Bigtable::V2": 5 } } }, @@ -12585,6 +12910,298 @@ ], "nameInServiceConfig": "bigtable.googleapis.com" }, + { + "id": "google.chat.v1", + "directory": "google/chat/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "chat.googleapis.com", + "title": "Google Chat API", + "description": "Enables apps to fetch information and perform actions in Google Chat. Authentication is a prerequisite for using the Google Chat REST API.", + "importDirectories": [ + "google/api", + "google/apps/card/v1", + "google/chat/v1", + "google/protobuf", + "google/rpc" + ], + "options": { + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/chat/v1;chat": 17 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 17 + } + }, + "java_package": { + "valueCounts": { + "com.google.chat.v1": 17 + } + } + }, + "services": [ + { + "shortName": "ChatService", + "fullName": "google.chat.v1.ChatService", + "methods": [ + { + "shortName": "CompleteImportSpace", + "fullName": "google.chat.v1.ChatService.CompleteImportSpace", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=spaces/*}:completeImport" + } + ] + }, + { + "shortName": "CreateMembership", + "fullName": "google.chat.v1.ChatService.CreateMembership", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=spaces/*}/members" + } + ] + }, + { + "shortName": "CreateMessage", + "fullName": "google.chat.v1.ChatService.CreateMessage", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=spaces/*}/messages" + } + ] + }, + { + "shortName": "CreateReaction", + "fullName": "google.chat.v1.ChatService.CreateReaction", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=spaces/*/messages/*}/reactions" + } + ] + }, + { + "shortName": "CreateSpace", + "fullName": "google.chat.v1.ChatService.CreateSpace", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/spaces" + } + ] + }, + { + "shortName": "DeleteMembership", + "fullName": "google.chat.v1.ChatService.DeleteMembership", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=spaces/*/members/*}" + } + ] + }, + { + "shortName": "DeleteMessage", + "fullName": "google.chat.v1.ChatService.DeleteMessage", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=spaces/*/messages/*}" + } + ] + }, + { + "shortName": "DeleteReaction", + "fullName": "google.chat.v1.ChatService.DeleteReaction", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=spaces/*/messages/*/reactions/*}" + } + ] + }, + { + "shortName": "DeleteSpace", + "fullName": "google.chat.v1.ChatService.DeleteSpace", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=spaces/*}" + } + ] + }, + { + "shortName": "FindDirectMessage", + "fullName": "google.chat.v1.ChatService.FindDirectMessage", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/spaces:findDirectMessage" + } + ] + }, + { + "shortName": "GetAttachment", + "fullName": "google.chat.v1.ChatService.GetAttachment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=spaces/*/messages/*/attachments/*}" + } + ] + }, + { + "shortName": "GetMembership", + "fullName": "google.chat.v1.ChatService.GetMembership", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=spaces/*/members/*}" + } + ] + }, + { + "shortName": "GetMessage", + "fullName": "google.chat.v1.ChatService.GetMessage", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=spaces/*/messages/*}" + } + ] + }, + { + "shortName": "GetSpace", + "fullName": "google.chat.v1.ChatService.GetSpace", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=spaces/*}" + } + ] + }, + { + "shortName": "ListMemberships", + "fullName": "google.chat.v1.ChatService.ListMemberships", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=spaces/*}/members" + } + ] + }, + { + "shortName": "ListMessages", + "fullName": "google.chat.v1.ChatService.ListMessages", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=spaces/*}/messages" + } + ] + }, + { + "shortName": "ListReactions", + "fullName": "google.chat.v1.ChatService.ListReactions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=spaces/*/messages/*}/reactions" + } + ] + }, + { + "shortName": "ListSpaces", + "fullName": "google.chat.v1.ChatService.ListSpaces", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/spaces" + } + ] + }, + { + "shortName": "SetUpSpace", + "fullName": "google.chat.v1.ChatService.SetUpSpace", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/spaces:setup" + } + ] + }, + { + "shortName": "UpdateMessage", + "fullName": "google.chat.v1.ChatService.UpdateMessage", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PUT", + "path": "/v1/{message.name=spaces/*/messages/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{message.name=spaces/*/messages/*}" + } + ] + }, + { + "shortName": "UpdateSpace", + "fullName": "google.chat.v1.ChatService.UpdateSpace", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{space.name=spaces/*}" + } + ] + }, + { + "shortName": "UploadAttachment", + "fullName": "google.chat.v1.ChatService.UploadAttachment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=spaces/*}/attachments:upload" + } + ] + } + ] + } + ], + "configFile": "chat_v1.yaml", + "serviceConfigApiNames": [ + "google.chat.v1.ChatService" + ], + "nameInServiceConfig": "chat.googleapis.com" + }, { "id": "google.chromeos.moblab.v1beta1", "directory": "google/chromeos/moblab/v1beta1", @@ -13035,6 +13652,21 @@ { "httpMethod": "GET", "path": "/v1/{name=organizations/*/locations/*/notifications/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/notifications/*}" + } + ] + }, + { + "shortName": "GetSettings", + "fullName": "google.cloud.advisorynotifications.v1.AdvisoryNotificationsService.GetSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=organizations/*/locations/*/settings}" } ] }, @@ -13046,6 +13678,21 @@ { "httpMethod": "GET", "path": "/v1/{parent=organizations/*/locations/*}/notifications" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/notifications" + } + ] + }, + { + "shortName": "UpdateSettings", + "fullName": "google.cloud.advisorynotifications.v1.AdvisoryNotificationsService.UpdateSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{settings.name=organizations/*/locations/*/settings}" } ] } @@ -13078,7 +13725,7 @@ "options": { "csharp_namespace": { "valueCounts": { - "Google.Cloud.AIPlatform.V1": 77, + "Google.Cloud.AIPlatform.V1": 96, "Google.Cloud.AIPlatform.V1.Schema.Predict.Instance": 9, "Google.Cloud.AIPlatform.V1.Schema.Predict.Params": 6, "Google.Cloud.AIPlatform.V1.Schema.Predict.Prediction": 10, @@ -13087,7 +13734,7 @@ }, "go_package": { "valueCounts": { - "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb": 77, + "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb": 96, "cloud.google.com/go/aiplatform/apiv1/schema/predict/instance/instancepb;instancepb": 9, "cloud.google.com/go/aiplatform/apiv1/schema/predict/params/paramspb;paramspb": 6, "cloud.google.com/go/aiplatform/apiv1/schema/predict/prediction/predictionpb;predictionpb": 10, @@ -13096,12 +13743,12 @@ }, "java_multiple_files": { "valueCounts": { - "true": 113 + "true": 132 } }, "java_package": { "valueCounts": { - "com.google.cloud.aiplatform.v1": 77, + "com.google.cloud.aiplatform.v1": 96, "com.google.cloud.aiplatform.v1.schema.predict.instance": 9, "com.google.cloud.aiplatform.v1.schema.predict.params": 6, "com.google.cloud.aiplatform.v1.schema.predict.prediction": 10, @@ -13110,7 +13757,7 @@ }, "php_namespace": { "valueCounts": { - "Google\\Cloud\\AIPlatform\\V1": 77, + "Google\\Cloud\\AIPlatform\\V1": 96, "Google\\Cloud\\AIPlatform\\V1\\Schema\\Predict\\Instance": 9, "Google\\Cloud\\AIPlatform\\V1\\Schema\\Predict\\Params": 6, "Google\\Cloud\\AIPlatform\\V1\\Schema\\Predict\\Prediction": 10, @@ -13119,11 +13766,12 @@ }, "ruby_package": { "valueCounts": { - "Google::Cloud::AIPlatform::V1": 77, + "Google::Cloud::AIPlatform::V1": 95, "Google::Cloud::AIPlatform::V1::Schema::Predict::Instance": 9, "Google::Cloud::AIPlatform::V1::Schema::Predict::Params": 6, "Google::Cloud::AIPlatform::V1::Schema::Predict::Prediction": 10, - "Google::Cloud::AIPlatform::V1::Schema::TrainingJob::Definition": 11 + "Google::Cloud::AIPlatform::V1::Schema::TrainingJob::Definition": 11, + "Google::Cloud::Aiplatform::V1": 1 } } }, @@ -13143,6 +13791,17 @@ } ] }, + { + "shortName": "CreateDatasetVersion", + "fullName": "google.cloud.aiplatform.v1.DatasetService.CreateDatasetVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/datasets/*}/datasetVersions" + } + ] + }, { "shortName": "DeleteDataset", "fullName": "google.cloud.aiplatform.v1.DatasetService.DeleteDataset", @@ -13154,6 +13813,28 @@ } ] }, + { + "shortName": "DeleteDatasetVersion", + "fullName": "google.cloud.aiplatform.v1.DatasetService.DeleteDatasetVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/datasets/*/datasetVersions/*}" + } + ] + }, + { + "shortName": "DeleteSavedQuery", + "fullName": "google.cloud.aiplatform.v1.DatasetService.DeleteSavedQuery", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}" + } + ] + }, { "shortName": "ExportData", "fullName": "google.cloud.aiplatform.v1.DatasetService.ExportData", @@ -13187,6 +13868,17 @@ } ] }, + { + "shortName": "GetDatasetVersion", + "fullName": "google.cloud.aiplatform.v1.DatasetService.GetDatasetVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/datasets/*/datasetVersions/*}" + } + ] + }, { "shortName": "ImportData", "fullName": "google.cloud.aiplatform.v1.DatasetService.ImportData", @@ -13220,6 +13912,17 @@ } ] }, + { + "shortName": "ListDatasetVersions", + "fullName": "google.cloud.aiplatform.v1.DatasetService.ListDatasetVersions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/datasets/*}/datasetVersions" + } + ] + }, { "shortName": "ListDatasets", "fullName": "google.cloud.aiplatform.v1.DatasetService.ListDatasets", @@ -13242,6 +13945,17 @@ } ] }, + { + "shortName": "RestoreDatasetVersion", + "fullName": "google.cloud.aiplatform.v1.DatasetService.RestoreDatasetVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/datasets/*/datasetVersions/*}:restore" + } + ] + }, { "shortName": "SearchDataItems", "fullName": "google.cloud.aiplatform.v1.DatasetService.SearchDataItems", @@ -13266,6 +13980,67 @@ } ] }, + { + "shortName": "DeploymentResourcePoolService", + "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolService", + "methods": [ + { + "shortName": "CreateDeploymentResourcePool", + "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolService.CreateDeploymentResourcePool", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/deploymentResourcePools" + } + ] + }, + { + "shortName": "DeleteDeploymentResourcePool", + "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolService.DeleteDeploymentResourcePool", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/deploymentResourcePools/*}" + } + ] + }, + { + "shortName": "GetDeploymentResourcePool", + "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolService.GetDeploymentResourcePool", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/deploymentResourcePools/*}" + } + ] + }, + { + "shortName": "ListDeploymentResourcePools", + "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolService.ListDeploymentResourcePools", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/deploymentResourcePools" + } + ] + }, + { + "shortName": "QueryDeployedModels", + "fullName": "google.cloud.aiplatform.v1.DeploymentResourcePoolService.QueryDeployedModels", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{deployment_resource_pool=projects/*/locations/*/deploymentResourcePools/*}:queryDeployedModels" + } + ] + } + ] + }, { "shortName": "EndpointService", "fullName": "google.cloud.aiplatform.v1.EndpointService", @@ -13325,6 +14100,17 @@ } ] }, + { + "shortName": "MutateDeployedModel", + "fullName": "google.cloud.aiplatform.v1.EndpointService.MutateDeployedModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{endpoint=projects/*/locations/*/endpoints/*}:mutateDeployedModel" + } + ] + }, { "shortName": "UndeployModel", "fullName": "google.cloud.aiplatform.v1.EndpointService.UndeployModel", @@ -13349,6 +14135,299 @@ } ] }, + { + "shortName": "FeatureOnlineStoreAdminService", + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService", + "methods": [ + { + "shortName": "CreateFeatureOnlineStore", + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.CreateFeatureOnlineStore", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/featureOnlineStores" + } + ] + }, + { + "shortName": "CreateFeatureView", + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.CreateFeatureView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/featureOnlineStores/*}/featureViews" + } + ] + }, + { + "shortName": "DeleteFeatureOnlineStore", + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.DeleteFeatureOnlineStore", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/featureOnlineStores/*}" + } + ] + }, + { + "shortName": "DeleteFeatureView", + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.DeleteFeatureView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*}" + } + ] + }, + { + "shortName": "GetFeatureOnlineStore", + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.GetFeatureOnlineStore", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/featureOnlineStores/*}" + } + ] + }, + { + "shortName": "GetFeatureView", + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.GetFeatureView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*}" + } + ] + }, + { + "shortName": "GetFeatureViewSync", + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.GetFeatureViewSync", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/featureViewSyncs/*}" + } + ] + }, + { + "shortName": "ListFeatureOnlineStores", + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.ListFeatureOnlineStores", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/featureOnlineStores" + } + ] + }, + { + "shortName": "ListFeatureViewSyncs", + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.ListFeatureViewSyncs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/featureOnlineStores/*/featureViews/*}/featureViewSyncs" + } + ] + }, + { + "shortName": "ListFeatureViews", + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.ListFeatureViews", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/featureOnlineStores/*}/featureViews" + } + ] + }, + { + "shortName": "SyncFeatureView", + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.SyncFeatureView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{feature_view=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:sync" + } + ] + }, + { + "shortName": "UpdateFeatureOnlineStore", + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.UpdateFeatureOnlineStore", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{feature_online_store.name=projects/*/locations/*/featureOnlineStores/*}" + } + ] + }, + { + "shortName": "UpdateFeatureView", + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.UpdateFeatureView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{feature_view.name=projects/*/locations/*/featureOnlineStores/*/featureViews/*}" + } + ] + } + ] + }, + { + "shortName": "FeatureOnlineStoreService", + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreService", + "methods": [ + { + "shortName": "FetchFeatureValues", + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreService.FetchFeatureValues", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{feature_view=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:fetchFeatureValues" + } + ] + }, + { + "shortName": "SearchNearestEntities", + "fullName": "google.cloud.aiplatform.v1.FeatureOnlineStoreService.SearchNearestEntities", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{feature_view=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:searchNearestEntities" + } + ] + } + ] + }, + { + "shortName": "FeatureRegistryService", + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService", + "methods": [ + { + "shortName": "CreateFeature", + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService.CreateFeature", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/featureGroups/*}/features" + } + ] + }, + { + "shortName": "CreateFeatureGroup", + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService.CreateFeatureGroup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/featureGroups" + } + ] + }, + { + "shortName": "DeleteFeature", + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService.DeleteFeature", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/featureGroups/*/features/*}" + } + ] + }, + { + "shortName": "DeleteFeatureGroup", + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService.DeleteFeatureGroup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/featureGroups/*}" + } + ] + }, + { + "shortName": "GetFeature", + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService.GetFeature", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/featureGroups/*/features/*}" + } + ] + }, + { + "shortName": "GetFeatureGroup", + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService.GetFeatureGroup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/featureGroups/*}" + } + ] + }, + { + "shortName": "ListFeatureGroups", + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService.ListFeatureGroups", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/featureGroups" + } + ] + }, + { + "shortName": "ListFeatures", + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService.ListFeatures", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/featureGroups/*}/features" + } + ] + }, + { + "shortName": "UpdateFeature", + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService.UpdateFeature", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{feature.name=projects/*/locations/*/featureGroups/*/features/*}" + } + ] + }, + { + "shortName": "UpdateFeatureGroup", + "fullName": "google.cloud.aiplatform.v1.FeatureRegistryService.UpdateFeatureGroup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{feature_group.name=projects/*/locations/*/featureGroups/*}" + } + ] + } + ] + }, { "shortName": "FeaturestoreOnlineServingService", "fullName": "google.cloud.aiplatform.v1.FeaturestoreOnlineServingService", @@ -14193,6 +15272,70 @@ } ] }, + { + "shortName": "LlmUtilityService", + "fullName": "google.cloud.aiplatform.v1.LlmUtilityService", + "methods": [ + { + "shortName": "ComputeTokens", + "fullName": "google.cloud.aiplatform.v1.LlmUtilityService.ComputeTokens", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{endpoint=projects/*/locations/*/endpoints/*}:computeTokens" + }, + { + "httpMethod": "POST", + "path": "/v1/{endpoint=projects/*/locations/*/publishers/*/models/*}:computeTokens" + } + ] + }, + { + "shortName": "CountTokens", + "fullName": "google.cloud.aiplatform.v1.LlmUtilityService.CountTokens", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{endpoint=projects/*/locations/*/endpoints/*}:countTokens" + }, + { + "httpMethod": "POST", + "path": "/v1/{endpoint=projects/*/locations/*/publishers/*/models/*}:countTokens" + } + ] + } + ] + }, + { + "shortName": "MatchService", + "fullName": "google.cloud.aiplatform.v1.MatchService", + "methods": [ + { + "shortName": "FindNeighbors", + "fullName": "google.cloud.aiplatform.v1.MatchService.FindNeighbors", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{index_endpoint=projects/*/locations/*/indexEndpoints/*}:findNeighbors" + } + ] + }, + { + "shortName": "ReadIndexDatapoints", + "fullName": "google.cloud.aiplatform.v1.MatchService.ReadIndexDatapoints", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{index_endpoint=projects/*/locations/*/indexEndpoints/*}:readIndexDatapoints" + } + ] + } + ] + }, { "shortName": "MetadataService", "fullName": "google.cloud.aiplatform.v1.MetadataService", @@ -14579,6 +15722,23 @@ } ] }, + { + "shortName": "ModelGardenService", + "fullName": "google.cloud.aiplatform.v1.ModelGardenService", + "methods": [ + { + "shortName": "GetPublisherModel", + "fullName": "google.cloud.aiplatform.v1.ModelGardenService.GetPublisherModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=publishers/*/models/*}" + } + ] + } + ] + }, { "shortName": "ModelService", "fullName": "google.cloud.aiplatform.v1.ModelService", @@ -14748,6 +15908,17 @@ } ] }, + { + "shortName": "UpdateExplanationDataset", + "fullName": "google.cloud.aiplatform.v1.ModelService.UpdateExplanationDataset", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{model=projects/*/locations/*/models/*}:updateExplanationDataset" + } + ] + }, { "shortName": "UpdateModel", "fullName": "google.cloud.aiplatform.v1.ModelService.UpdateModel", @@ -14892,6 +16063,28 @@ "shortName": "PredictionService", "fullName": "google.cloud.aiplatform.v1.PredictionService", "methods": [ + { + "shortName": "DirectPredict", + "fullName": "google.cloud.aiplatform.v1.PredictionService.DirectPredict", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{endpoint=projects/*/locations/*/endpoints/*}:directPredict" + } + ] + }, + { + "shortName": "DirectRawPredict", + "fullName": "google.cloud.aiplatform.v1.PredictionService.DirectRawPredict", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{endpoint=projects/*/locations/*/endpoints/*}:directRawPredict" + } + ] + }, { "shortName": "Explain", "fullName": "google.cloud.aiplatform.v1.PredictionService.Explain", @@ -14903,6 +16096,21 @@ } ] }, + { + "shortName": "GenerateContent", + "fullName": "google.cloud.aiplatform.v1.PredictionService.GenerateContent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{model=projects/*/locations/*/endpoints/*}:generateContent" + }, + { + "httpMethod": "POST", + "path": "/v1/{model=projects/*/locations/*/publishers/*/models/*}:generateContent" + } + ] + }, { "shortName": "Predict", "fullName": "google.cloud.aiplatform.v1.PredictionService.Predict", @@ -14911,6 +16119,10 @@ { "httpMethod": "POST", "path": "/v1/{endpoint=projects/*/locations/*/endpoints/*}:predict" + }, + { + "httpMethod": "POST", + "path": "/v1/{endpoint=projects/*/locations/*/publishers/*/models/*}:predict" } ] }, @@ -14922,6 +16134,158 @@ { "httpMethod": "POST", "path": "/v1/{endpoint=projects/*/locations/*/endpoints/*}:rawPredict" + }, + { + "httpMethod": "POST", + "path": "/v1/{endpoint=projects/*/locations/*/publishers/*/models/*}:rawPredict" + } + ] + }, + { + "shortName": "ServerStreamingPredict", + "fullName": "google.cloud.aiplatform.v1.PredictionService.ServerStreamingPredict", + "mode": "SERVER_STREAMING", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{endpoint=projects/*/locations/*/endpoints/*}:serverStreamingPredict" + }, + { + "httpMethod": "POST", + "path": "/v1/{endpoint=projects/*/locations/*/publishers/*/models/*}:serverStreamingPredict" + } + ] + }, + { + "shortName": "StreamDirectPredict", + "fullName": "google.cloud.aiplatform.v1.PredictionService.StreamDirectPredict", + "mode": "BIDIRECTIONAL_STREAMING" + }, + { + "shortName": "StreamDirectRawPredict", + "fullName": "google.cloud.aiplatform.v1.PredictionService.StreamDirectRawPredict", + "mode": "BIDIRECTIONAL_STREAMING" + }, + { + "shortName": "StreamGenerateContent", + "fullName": "google.cloud.aiplatform.v1.PredictionService.StreamGenerateContent", + "mode": "SERVER_STREAMING", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{model=projects/*/locations/*/endpoints/*}:streamGenerateContent" + }, + { + "httpMethod": "POST", + "path": "/v1/{model=projects/*/locations/*/publishers/*/models/*}:streamGenerateContent" + } + ] + }, + { + "shortName": "StreamRawPredict", + "fullName": "google.cloud.aiplatform.v1.PredictionService.StreamRawPredict", + "mode": "SERVER_STREAMING", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{endpoint=projects/*/locations/*/endpoints/*}:streamRawPredict" + }, + { + "httpMethod": "POST", + "path": "/v1/{endpoint=projects/*/locations/*/publishers/*/models/*}:streamRawPredict" + } + ] + }, + { + "shortName": "StreamingPredict", + "fullName": "google.cloud.aiplatform.v1.PredictionService.StreamingPredict", + "mode": "BIDIRECTIONAL_STREAMING" + }, + { + "shortName": "StreamingRawPredict", + "fullName": "google.cloud.aiplatform.v1.PredictionService.StreamingRawPredict", + "mode": "BIDIRECTIONAL_STREAMING" + } + ] + }, + { + "shortName": "ScheduleService", + "fullName": "google.cloud.aiplatform.v1.ScheduleService", + "methods": [ + { + "shortName": "CreateSchedule", + "fullName": "google.cloud.aiplatform.v1.ScheduleService.CreateSchedule", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/schedules" + } + ] + }, + { + "shortName": "DeleteSchedule", + "fullName": "google.cloud.aiplatform.v1.ScheduleService.DeleteSchedule", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/schedules/*}" + } + ] + }, + { + "shortName": "GetSchedule", + "fullName": "google.cloud.aiplatform.v1.ScheduleService.GetSchedule", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/schedules/*}" + } + ] + }, + { + "shortName": "ListSchedules", + "fullName": "google.cloud.aiplatform.v1.ScheduleService.ListSchedules", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/schedules" + } + ] + }, + { + "shortName": "PauseSchedule", + "fullName": "google.cloud.aiplatform.v1.ScheduleService.PauseSchedule", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/schedules/*}:pause" + } + ] + }, + { + "shortName": "ResumeSchedule", + "fullName": "google.cloud.aiplatform.v1.ScheduleService.ResumeSchedule", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/schedules/*}:resume" + } + ] + }, + { + "shortName": "UpdateSchedule", + "fullName": "google.cloud.aiplatform.v1.ScheduleService.UpdateSchedule", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{schedule.name=projects/*/locations/*/schedules/*}" } ] } @@ -15010,7 +16374,7 @@ "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*}/runs/*/timeSeries:batchCreate" + "path": "/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*}:batchCreate" } ] }, @@ -15021,7 +16385,7 @@ "bindings": [ { "httpMethod": "GET", - "path": "/v1/{tensorboard=projects/*/locations/*/tensorboards/*}/experiments/*/runs/*/timeSeries:batchRead" + "path": "/v1/{tensorboard=projects/*/locations/*/tensorboards/*}:batchRead" } ] }, @@ -15223,6 +16587,17 @@ } ] }, + { + "shortName": "ReadTensorboardSize", + "fullName": "google.cloud.aiplatform.v1.TensorboardService.ReadTensorboardSize", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{tensorboard=projects/*/locations/*/tensorboards/*}:readSize" + } + ] + }, { "shortName": "ReadTensorboardTimeSeriesData", "fullName": "google.cloud.aiplatform.v1.TensorboardService.ReadTensorboardTimeSeriesData", @@ -15488,17 +16863,25 @@ "configFile": "aiplatform_v1.yaml", "serviceConfigApiNames": [ "google.cloud.aiplatform.v1.DatasetService", + "google.cloud.aiplatform.v1.DeploymentResourcePoolService", "google.cloud.aiplatform.v1.EndpointService", + "google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService", + "google.cloud.aiplatform.v1.FeatureOnlineStoreService", + "google.cloud.aiplatform.v1.FeatureRegistryService", "google.cloud.aiplatform.v1.FeaturestoreOnlineServingService", "google.cloud.aiplatform.v1.FeaturestoreService", "google.cloud.aiplatform.v1.IndexEndpointService", "google.cloud.aiplatform.v1.IndexService", "google.cloud.aiplatform.v1.JobService", + "google.cloud.aiplatform.v1.LlmUtilityService", + "google.cloud.aiplatform.v1.MatchService", "google.cloud.aiplatform.v1.MetadataService", "google.cloud.aiplatform.v1.MigrationService", + "google.cloud.aiplatform.v1.ModelGardenService", "google.cloud.aiplatform.v1.ModelService", "google.cloud.aiplatform.v1.PipelineService", "google.cloud.aiplatform.v1.PredictionService", + "google.cloud.aiplatform.v1.ScheduleService", "google.cloud.aiplatform.v1.SpecialistPoolService", "google.cloud.aiplatform.v1.TensorboardService", "google.cloud.aiplatform.v1.VizierService", @@ -15530,7 +16913,7 @@ "options": { "csharp_namespace": { "valueCounts": { - "Google.Cloud.AIPlatform.V1Beta1": 80, + "Google.Cloud.AIPlatform.V1Beta1": 98, "Google.Cloud.AIPlatform.V1Beta1.Schema": 6, "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Instance": 9, "Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Params": 6, @@ -15540,7 +16923,7 @@ }, "go_package": { "valueCounts": { - "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb": 80, + "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb": 98, "cloud.google.com/go/aiplatform/apiv1beta1/schema/predict/instance/instancepb;instancepb": 9, "cloud.google.com/go/aiplatform/apiv1beta1/schema/predict/params/paramspb;paramspb": 6, "cloud.google.com/go/aiplatform/apiv1beta1/schema/predict/prediction/predictionpb;predictionpb": 11, @@ -15550,12 +16933,12 @@ }, "java_multiple_files": { "valueCounts": { - "true": 124 + "true": 142 } }, "java_package": { "valueCounts": { - "com.google.cloud.aiplatform.v1beta1": 80, + "com.google.cloud.aiplatform.v1beta1": 98, "com.google.cloud.aiplatform.v1beta1.schema": 6, "com.google.cloud.aiplatform.v1beta1.schema.predict.instance": 9, "com.google.cloud.aiplatform.v1beta1.schema.predict.params": 6, @@ -15565,7 +16948,7 @@ }, "php_namespace": { "valueCounts": { - "Google\\Cloud\\AIPlatform\\V1beta1": 80, + "Google\\Cloud\\AIPlatform\\V1beta1": 98, "Google\\Cloud\\AIPlatform\\V1beta1\\Schema": 6, "Google\\Cloud\\AIPlatform\\V1beta1\\Schema\\Predict\\Instance": 9, "Google\\Cloud\\AIPlatform\\V1beta1\\Schema\\Predict\\Params": 6, @@ -15575,12 +16958,13 @@ }, "ruby_package": { "valueCounts": { - "Google::Cloud::AIPlatform::V1beta1": 80, + "Google::Cloud::AIPlatform::V1beta1": 97, "Google::Cloud::AIPlatform::V1beta1::Schema": 6, "Google::Cloud::AIPlatform::V1beta1::Schema::Predict::Instance": 9, "Google::Cloud::AIPlatform::V1beta1::Schema::Predict::Params": 6, "Google::Cloud::AIPlatform::V1beta1::Schema::Predict::Prediction": 11, - "Google::Cloud::AIPlatform::V1beta1::Schema::TrainingJob::Definition": 12 + "Google::Cloud::AIPlatform::V1beta1::Schema::TrainingJob::Definition": 12, + "Google::Cloud::Aiplatform::V1beta1": 1 } } }, @@ -15600,6 +16984,17 @@ } ] }, + { + "shortName": "CreateDatasetVersion", + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.CreateDatasetVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*/datasets/*}/datasetVersions" + } + ] + }, { "shortName": "DeleteDataset", "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.DeleteDataset", @@ -15611,6 +17006,28 @@ } ] }, + { + "shortName": "DeleteDatasetVersion", + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.DeleteDatasetVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/datasets/*/datasetVersions/*}" + } + ] + }, + { + "shortName": "DeleteSavedQuery", + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.DeleteSavedQuery", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/datasets/*/savedQueries/*}" + } + ] + }, { "shortName": "ExportData", "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.ExportData", @@ -15644,6 +17061,17 @@ } ] }, + { + "shortName": "GetDatasetVersion", + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.GetDatasetVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/datasets/*/datasetVersions/*}" + } + ] + }, { "shortName": "ImportData", "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.ImportData", @@ -15677,6 +17105,17 @@ } ] }, + { + "shortName": "ListDatasetVersions", + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.ListDatasetVersions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*/datasets/*}/datasetVersions" + } + ] + }, { "shortName": "ListDatasets", "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.ListDatasets", @@ -15699,6 +17138,17 @@ } ] }, + { + "shortName": "RestoreDatasetVersion", + "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.RestoreDatasetVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/datasets/*/datasetVersions/*}:restore" + } + ] + }, { "shortName": "SearchDataItems", "fullName": "google.cloud.aiplatform.v1beta1.DatasetService.SearchDataItems", @@ -15843,6 +17293,17 @@ } ] }, + { + "shortName": "MutateDeployedModel", + "fullName": "google.cloud.aiplatform.v1beta1.EndpointService.MutateDeployedModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{endpoint=projects/*/locations/*/endpoints/*}:mutateDeployedModel" + } + ] + }, { "shortName": "UndeployModel", "fullName": "google.cloud.aiplatform.v1beta1.EndpointService.UndeployModel", @@ -15867,6 +17328,299 @@ } ] }, + { + "shortName": "FeatureOnlineStoreAdminService", + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService", + "methods": [ + { + "shortName": "CreateFeatureOnlineStore", + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService.CreateFeatureOnlineStore", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/featureOnlineStores" + } + ] + }, + { + "shortName": "CreateFeatureView", + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService.CreateFeatureView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*/featureOnlineStores/*}/featureViews" + } + ] + }, + { + "shortName": "DeleteFeatureOnlineStore", + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService.DeleteFeatureOnlineStore", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/featureOnlineStores/*}" + } + ] + }, + { + "shortName": "DeleteFeatureView", + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService.DeleteFeatureView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*}" + } + ] + }, + { + "shortName": "GetFeatureOnlineStore", + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService.GetFeatureOnlineStore", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/featureOnlineStores/*}" + } + ] + }, + { + "shortName": "GetFeatureView", + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService.GetFeatureView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*}" + } + ] + }, + { + "shortName": "GetFeatureViewSync", + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService.GetFeatureViewSync", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/featureViewSyncs/*}" + } + ] + }, + { + "shortName": "ListFeatureOnlineStores", + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService.ListFeatureOnlineStores", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/featureOnlineStores" + } + ] + }, + { + "shortName": "ListFeatureViewSyncs", + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService.ListFeatureViewSyncs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*/featureOnlineStores/*/featureViews/*}/featureViewSyncs" + } + ] + }, + { + "shortName": "ListFeatureViews", + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService.ListFeatureViews", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*/featureOnlineStores/*}/featureViews" + } + ] + }, + { + "shortName": "SyncFeatureView", + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService.SyncFeatureView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{feature_view=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:sync" + } + ] + }, + { + "shortName": "UpdateFeatureOnlineStore", + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService.UpdateFeatureOnlineStore", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{feature_online_store.name=projects/*/locations/*/featureOnlineStores/*}" + } + ] + }, + { + "shortName": "UpdateFeatureView", + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService.UpdateFeatureView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{feature_view.name=projects/*/locations/*/featureOnlineStores/*/featureViews/*}" + } + ] + } + ] + }, + { + "shortName": "FeatureOnlineStoreService", + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreService", + "methods": [ + { + "shortName": "FetchFeatureValues", + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreService.FetchFeatureValues", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{feature_view=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:fetchFeatureValues" + } + ] + }, + { + "shortName": "SearchNearestEntities", + "fullName": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreService.SearchNearestEntities", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{feature_view=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:searchNearestEntities" + } + ] + } + ] + }, + { + "shortName": "FeatureRegistryService", + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService", + "methods": [ + { + "shortName": "CreateFeature", + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.CreateFeature", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*/featureGroups/*}/features" + } + ] + }, + { + "shortName": "CreateFeatureGroup", + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.CreateFeatureGroup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/featureGroups" + } + ] + }, + { + "shortName": "DeleteFeature", + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.DeleteFeature", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/featureGroups/*/features/*}" + } + ] + }, + { + "shortName": "DeleteFeatureGroup", + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.DeleteFeatureGroup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/featureGroups/*}" + } + ] + }, + { + "shortName": "GetFeature", + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.GetFeature", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/featureGroups/*/features/*}" + } + ] + }, + { + "shortName": "GetFeatureGroup", + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.GetFeatureGroup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/featureGroups/*}" + } + ] + }, + { + "shortName": "ListFeatureGroups", + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.ListFeatureGroups", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/featureGroups" + } + ] + }, + { + "shortName": "ListFeatures", + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.ListFeatures", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*/featureGroups/*}/features" + } + ] + }, + { + "shortName": "UpdateFeature", + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.UpdateFeature", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{feature.name=projects/*/locations/*/featureGroups/*/features/*}" + } + ] + }, + { + "shortName": "UpdateFeatureGroup", + "fullName": "google.cloud.aiplatform.v1beta1.FeatureRegistryService.UpdateFeatureGroup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{feature_group.name=projects/*/locations/*/featureGroups/*}" + } + ] + } + ] + }, { "shortName": "FeaturestoreOnlineServingService", "fullName": "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService", @@ -16711,6 +18465,27 @@ } ] }, + { + "shortName": "LlmUtilityService", + "fullName": "google.cloud.aiplatform.v1beta1.LlmUtilityService", + "methods": [ + { + "shortName": "ComputeTokens", + "fullName": "google.cloud.aiplatform.v1beta1.LlmUtilityService.ComputeTokens", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{endpoint=projects/*/locations/*/endpoints/*}:computeTokens" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/{endpoint=projects/*/locations/*/publishers/*/models/*}:computeTokens" + } + ] + } + ] + }, { "shortName": "MatchService", "fullName": "google.cloud.aiplatform.v1beta1.MatchService", @@ -17125,6 +18900,34 @@ } ] }, + { + "shortName": "ModelGardenService", + "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenService", + "methods": [ + { + "shortName": "GetPublisherModel", + "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenService.GetPublisherModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=publishers/*/models/*}" + } + ] + }, + { + "shortName": "ListPublisherModels", + "fullName": "google.cloud.aiplatform.v1beta1.ModelGardenService.ListPublisherModels", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=publishers/*}/models" + } + ] + } + ] + }, { "shortName": "ModelService", "fullName": "google.cloud.aiplatform.v1beta1.ModelService", @@ -17329,10 +19132,93 @@ } ] }, + { + "shortName": "PersistentResourceService", + "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceService", + "methods": [ + { + "shortName": "CreatePersistentResource", + "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceService.CreatePersistentResource", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/persistentResources" + } + ] + }, + { + "shortName": "DeletePersistentResource", + "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceService.DeletePersistentResource", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/persistentResources/*}" + } + ] + }, + { + "shortName": "GetPersistentResource", + "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceService.GetPersistentResource", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/persistentResources/*}" + } + ] + }, + { + "shortName": "ListPersistentResources", + "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceService.ListPersistentResources", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/persistentResources" + } + ] + }, + { + "shortName": "UpdatePersistentResource", + "fullName": "google.cloud.aiplatform.v1beta1.PersistentResourceService.UpdatePersistentResource", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{persistent_resource.name=projects/*/locations/*/persistentResources/*}" + } + ] + } + ] + }, { "shortName": "PipelineService", "fullName": "google.cloud.aiplatform.v1beta1.PipelineService", "methods": [ + { + "shortName": "BatchCancelPipelineJobs", + "fullName": "google.cloud.aiplatform.v1beta1.PipelineService.BatchCancelPipelineJobs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/pipelineJobs:batchCancel" + } + ] + }, + { + "shortName": "BatchDeletePipelineJobs", + "fullName": "google.cloud.aiplatform.v1beta1.PipelineService.BatchDeletePipelineJobs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/pipelineJobs:batchDelete" + } + ] + }, { "shortName": "CancelPipelineJob", "fullName": "google.cloud.aiplatform.v1beta1.PipelineService.CancelPipelineJob", @@ -17449,6 +19335,43 @@ "shortName": "PredictionService", "fullName": "google.cloud.aiplatform.v1beta1.PredictionService", "methods": [ + { + "shortName": "CountTokens", + "fullName": "google.cloud.aiplatform.v1beta1.PredictionService.CountTokens", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{endpoint=projects/*/locations/*/endpoints/*}:countTokens" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/{endpoint=projects/*/locations/*/publishers/*/models/*}:countTokens" + } + ] + }, + { + "shortName": "DirectPredict", + "fullName": "google.cloud.aiplatform.v1beta1.PredictionService.DirectPredict", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{endpoint=projects/*/locations/*/endpoints/*}:directPredict" + } + ] + }, + { + "shortName": "DirectRawPredict", + "fullName": "google.cloud.aiplatform.v1beta1.PredictionService.DirectRawPredict", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{endpoint=projects/*/locations/*/endpoints/*}:directRawPredict" + } + ] + }, { "shortName": "Explain", "fullName": "google.cloud.aiplatform.v1beta1.PredictionService.Explain", @@ -17460,6 +19383,21 @@ } ] }, + { + "shortName": "GenerateContent", + "fullName": "google.cloud.aiplatform.v1beta1.PredictionService.GenerateContent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{model=projects/*/locations/*/endpoints/*}:generateContent" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/{model=projects/*/locations/*/publishers/*/models/*}:generateContent" + } + ] + }, { "shortName": "Predict", "fullName": "google.cloud.aiplatform.v1beta1.PredictionService.Predict", @@ -17468,6 +19406,10 @@ { "httpMethod": "POST", "path": "/v1beta1/{endpoint=projects/*/locations/*/endpoints/*}:predict" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/{endpoint=projects/*/locations/*/publishers/*/models/*}:predict" } ] }, @@ -17479,6 +19421,143 @@ { "httpMethod": "POST", "path": "/v1beta1/{endpoint=projects/*/locations/*/endpoints/*}:rawPredict" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/{endpoint=projects/*/locations/*/publishers/*/models/*}:rawPredict" + } + ] + }, + { + "shortName": "ServerStreamingPredict", + "fullName": "google.cloud.aiplatform.v1beta1.PredictionService.ServerStreamingPredict", + "mode": "SERVER_STREAMING", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{endpoint=projects/*/locations/*/endpoints/*}:serverStreamingPredict" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/{endpoint=projects/*/locations/*/publishers/*/models/*}:serverStreamingPredict" + } + ] + }, + { + "shortName": "StreamDirectPredict", + "fullName": "google.cloud.aiplatform.v1beta1.PredictionService.StreamDirectPredict", + "mode": "BIDIRECTIONAL_STREAMING" + }, + { + "shortName": "StreamDirectRawPredict", + "fullName": "google.cloud.aiplatform.v1beta1.PredictionService.StreamDirectRawPredict", + "mode": "BIDIRECTIONAL_STREAMING" + }, + { + "shortName": "StreamGenerateContent", + "fullName": "google.cloud.aiplatform.v1beta1.PredictionService.StreamGenerateContent", + "mode": "SERVER_STREAMING", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{model=projects/*/locations/*/endpoints/*}:streamGenerateContent" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/{model=projects/*/locations/*/publishers/*/models/*}:streamGenerateContent" + } + ] + }, + { + "shortName": "StreamingPredict", + "fullName": "google.cloud.aiplatform.v1beta1.PredictionService.StreamingPredict", + "mode": "BIDIRECTIONAL_STREAMING" + }, + { + "shortName": "StreamingRawPredict", + "fullName": "google.cloud.aiplatform.v1beta1.PredictionService.StreamingRawPredict", + "mode": "BIDIRECTIONAL_STREAMING" + } + ] + }, + { + "shortName": "ScheduleService", + "fullName": "google.cloud.aiplatform.v1beta1.ScheduleService", + "methods": [ + { + "shortName": "CreateSchedule", + "fullName": "google.cloud.aiplatform.v1beta1.ScheduleService.CreateSchedule", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/schedules" + } + ] + }, + { + "shortName": "DeleteSchedule", + "fullName": "google.cloud.aiplatform.v1beta1.ScheduleService.DeleteSchedule", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/schedules/*}" + } + ] + }, + { + "shortName": "GetSchedule", + "fullName": "google.cloud.aiplatform.v1beta1.ScheduleService.GetSchedule", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/schedules/*}" + } + ] + }, + { + "shortName": "ListSchedules", + "fullName": "google.cloud.aiplatform.v1beta1.ScheduleService.ListSchedules", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/schedules" + } + ] + }, + { + "shortName": "PauseSchedule", + "fullName": "google.cloud.aiplatform.v1beta1.ScheduleService.PauseSchedule", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/schedules/*}:pause" + } + ] + }, + { + "shortName": "ResumeSchedule", + "fullName": "google.cloud.aiplatform.v1beta1.ScheduleService.ResumeSchedule", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/schedules/*}:resume" + } + ] + }, + { + "shortName": "UpdateSchedule", + "fullName": "google.cloud.aiplatform.v1beta1.ScheduleService.UpdateSchedule", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{schedule.name=projects/*/locations/*/schedules/*}" } ] } @@ -17567,7 +19646,7 @@ "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{parent=projects/*/locations/*/tensorboards/*/experiments/*}/runs/*/timeSeries:batchCreate" + "path": "/v1beta1/{parent=projects/*/locations/*/tensorboards/*/experiments/*}:batchCreate" } ] }, @@ -17578,7 +19657,7 @@ "bindings": [ { "httpMethod": "GET", - "path": "/v1beta1/{tensorboard=projects/*/locations/*/tensorboards/*}/experiments/*/runs/*/timeSeries:batchRead" + "path": "/v1beta1/{tensorboard=projects/*/locations/*/tensorboards/*}:batchRead" } ] }, @@ -17780,6 +19859,17 @@ } ] }, + { + "shortName": "ReadTensorboardSize", + "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.ReadTensorboardSize", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{tensorboard=projects/*/locations/*/tensorboards/*}:readSize" + } + ] + }, { "shortName": "ReadTensorboardTimeSeriesData", "fullName": "google.cloud.aiplatform.v1beta1.TensorboardService.ReadTensorboardTimeSeriesData", @@ -18047,17 +20137,24 @@ "google.cloud.aiplatform.v1beta1.DatasetService", "google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService", "google.cloud.aiplatform.v1beta1.EndpointService", + "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService", + "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreService", + "google.cloud.aiplatform.v1beta1.FeatureRegistryService", "google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService", "google.cloud.aiplatform.v1beta1.FeaturestoreService", "google.cloud.aiplatform.v1beta1.IndexEndpointService", "google.cloud.aiplatform.v1beta1.IndexService", "google.cloud.aiplatform.v1beta1.JobService", + "google.cloud.aiplatform.v1beta1.LlmUtilityService", "google.cloud.aiplatform.v1beta1.MatchService", "google.cloud.aiplatform.v1beta1.MetadataService", "google.cloud.aiplatform.v1beta1.MigrationService", + "google.cloud.aiplatform.v1beta1.ModelGardenService", "google.cloud.aiplatform.v1beta1.ModelService", + "google.cloud.aiplatform.v1beta1.PersistentResourceService", "google.cloud.aiplatform.v1beta1.PipelineService", "google.cloud.aiplatform.v1beta1.PredictionService", + "google.cloud.aiplatform.v1beta1.ScheduleService", "google.cloud.aiplatform.v1beta1.SpecialistPoolService", "google.cloud.aiplatform.v1beta1.TensorboardService", "google.cloud.aiplatform.v1beta1.VizierService", @@ -18067,6 +20164,144 @@ ], "nameInServiceConfig": "aiplatform.googleapis.com" }, + { + "id": "google.cloud.alloydb.connectors.v1", + "directory": "google/cloud/alloydb/connectors/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "connectors.googleapis.com", + "title": "AlloyDB connectors", + "description": "", + "importDirectories": [ + "google/api" + ], + "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.AlloyDb.Connectors.V1": 1 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/alloydb/connectors/apiv1/connectorspb;connectorspb": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.alloydb.connectors.v1": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\AlloyDb\\Connectors\\V1": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::AlloyDb::Connectors::V1": 1 + } + } + }, + "configFile": "connectors_v1.yaml", + "nameInServiceConfig": "connectors.googleapis.com" + }, + { + "id": "google.cloud.alloydb.connectors.v1alpha", + "directory": "google/cloud/alloydb/connectors/v1alpha", + "version": "v1alpha", + "majorVersion": "v1", + "hostName": "connectors.googleapis.com", + "title": "AlloyDB connectors", + "description": "", + "importDirectories": [ + "google/api" + ], + "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.AlloyDb.Connectors.V1Alpha": 1 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/alloydb/connectors/apiv1alpha/connectorspb;connectorspb": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.alloydb.connectors.v1alpha": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\AlloyDb\\Connectors\\V1alpha": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::AlloyDb::Connectors::V1alpha": 1 + } + } + }, + "configFile": "connectors_v1alpha.yaml", + "nameInServiceConfig": "connectors.googleapis.com" + }, + { + "id": "google.cloud.alloydb.connectors.v1beta", + "directory": "google/cloud/alloydb/connectors/v1beta", + "version": "v1beta", + "majorVersion": "v1", + "hostName": "connectors.googleapis.com", + "title": "AlloyDB connectors", + "description": "", + "importDirectories": [ + "google/api" + ], + "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.AlloyDb.Connectors.V1Beta": 1 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/alloydb/connectors/apiv1beta/connectorspb;connectorspb": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.alloydb.connectors.v1beta": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\AlloyDb\\Connectors\\V1beta": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::AlloyDb::Connectors::V1beta": 1 + } + } + }, + "configFile": "connectors_v1beta.yaml", + "nameInServiceConfig": "connectors.googleapis.com" + }, { "id": "google.cloud.alloydb.v1", "directory": "google/cloud/alloydb/v1", @@ -18111,7 +20346,7 @@ }, "ruby_package": { "valueCounts": { - "Google::Cloud::AlloyDb::V1": 2 + "Google::Cloud::AlloyDB::V1": 2 } } }, @@ -18164,6 +20399,39 @@ } ] }, + { + "shortName": "CreateSecondaryCluster", + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.CreateSecondaryCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/clusters:createsecondary" + } + ] + }, + { + "shortName": "CreateSecondaryInstance", + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.CreateSecondaryInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/clusters/*}/instances:createsecondary" + } + ] + }, + { + "shortName": "CreateUser", + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.CreateUser", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/clusters/*}/users" + } + ] + }, { "shortName": "DeleteBackup", "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.DeleteBackup", @@ -18197,6 +20465,17 @@ } ] }, + { + "shortName": "DeleteUser", + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.DeleteUser", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/clusters/*/users/*}" + } + ] + }, { "shortName": "FailoverInstance", "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.FailoverInstance", @@ -18208,6 +20487,17 @@ } ] }, + { + "shortName": "GenerateClientCertificate", + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.GenerateClientCertificate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/clusters/*}:generateClientCertificate" + } + ] + }, { "shortName": "GetBackup", "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.GetBackup", @@ -18230,6 +20520,17 @@ } ] }, + { + "shortName": "GetConnectionInfo", + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.GetConnectionInfo", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/clusters/*/instances/*}/connectionInfo" + } + ] + }, { "shortName": "GetInstance", "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.GetInstance", @@ -18241,6 +20542,28 @@ } ] }, + { + "shortName": "GetUser", + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.GetUser", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/clusters/*/users/*}" + } + ] + }, + { + "shortName": "InjectFault", + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.InjectFault", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/clusters/*/instances/*}:injectFault" + } + ] + }, { "shortName": "ListBackups", "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.ListBackups", @@ -18285,6 +20608,28 @@ } ] }, + { + "shortName": "ListUsers", + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.ListUsers", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/clusters/*}/users" + } + ] + }, + { + "shortName": "PromoteCluster", + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.PromoteCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/clusters/*}:promote" + } + ] + }, { "shortName": "RestartInstance", "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.RestartInstance", @@ -18339,6 +20684,17 @@ "path": "/v1/{instance.name=projects/*/locations/*/clusters/*/instances/*}" } ] + }, + { + "shortName": "UpdateUser", + "fullName": "google.cloud.alloydb.v1.AlloyDBAdmin.UpdateUser", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{user.name=projects/*/locations/*/clusters/*/users/*}" + } + ] } ] } @@ -18396,7 +20752,7 @@ }, "ruby_package": { "valueCounts": { - "Google::Cloud::AlloyDb::V1alpha": 2 + "Google::Cloud::AlloyDB::V1alpha": 2 } } }, @@ -18471,6 +20827,17 @@ } ] }, + { + "shortName": "CreateUser", + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.CreateUser", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha/{parent=projects/*/locations/*/clusters/*}/users" + } + ] + }, { "shortName": "DeleteBackup", "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.DeleteBackup", @@ -18504,6 +20871,17 @@ } ] }, + { + "shortName": "DeleteUser", + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.DeleteUser", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1alpha/{name=projects/*/locations/*/clusters/*/users/*}" + } + ] + }, { "shortName": "FailoverInstance", "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.FailoverInstance", @@ -18570,6 +20948,28 @@ } ] }, + { + "shortName": "GetUser", + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.GetUser", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{name=projects/*/locations/*/clusters/*/users/*}" + } + ] + }, + { + "shortName": "InjectFault", + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.InjectFault", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha/{name=projects/*/locations/*/clusters/*/instances/*}:injectFault" + } + ] + }, { "shortName": "ListBackups", "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.ListBackups", @@ -18592,6 +20992,17 @@ } ] }, + { + "shortName": "ListDatabases", + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.ListDatabases", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{parent=projects/*/locations/*/clusters/*}/databases" + } + ] + }, { "shortName": "ListInstances", "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.ListInstances", @@ -18614,6 +21025,17 @@ } ] }, + { + "shortName": "ListUsers", + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.ListUsers", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha/{parent=projects/*/locations/*/clusters/*}/users" + } + ] + }, { "shortName": "PromoteCluster", "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.PromoteCluster", @@ -18679,6 +21101,17 @@ "path": "/v1alpha/{instance.name=projects/*/locations/*/clusters/*/instances/*}" } ] + }, + { + "shortName": "UpdateUser", + "fullName": "google.cloud.alloydb.v1alpha.AlloyDBAdmin.UpdateUser", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1alpha/{user.name=projects/*/locations/*/clusters/*/users/*}" + } + ] } ] } @@ -18736,7 +21169,7 @@ }, "ruby_package": { "valueCounts": { - "Google::Cloud::AlloyDb::V1beta": 2 + "Google::Cloud::AlloyDB::V1beta": 2 } } }, @@ -18811,6 +21244,17 @@ } ] }, + { + "shortName": "CreateUser", + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.CreateUser", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta/{parent=projects/*/locations/*/clusters/*}/users" + } + ] + }, { "shortName": "DeleteBackup", "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.DeleteBackup", @@ -18844,6 +21288,17 @@ } ] }, + { + "shortName": "DeleteUser", + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.DeleteUser", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta/{name=projects/*/locations/*/clusters/*/users/*}" + } + ] + }, { "shortName": "FailoverInstance", "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.FailoverInstance", @@ -18910,6 +21365,28 @@ } ] }, + { + "shortName": "GetUser", + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.GetUser", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{name=projects/*/locations/*/clusters/*/users/*}" + } + ] + }, + { + "shortName": "InjectFault", + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.InjectFault", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta/{name=projects/*/locations/*/clusters/*/instances/*}:injectFault" + } + ] + }, { "shortName": "ListBackups", "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.ListBackups", @@ -18954,6 +21431,17 @@ } ] }, + { + "shortName": "ListUsers", + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.ListUsers", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{parent=projects/*/locations/*/clusters/*}/users" + } + ] + }, { "shortName": "PromoteCluster", "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.PromoteCluster", @@ -19019,6 +21507,17 @@ "path": "/v1beta/{instance.name=projects/*/locations/*/clusters/*/instances/*}" } ] + }, + { + "shortName": "UpdateUser", + "fullName": "google.cloud.alloydb.v1beta.AlloyDBAdmin.UpdateUser", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta/{user.name=projects/*/locations/*/clusters/*/users/*}" + } + ] } ] } @@ -20334,11 +22833,13 @@ "majorVersion": "v1", "hostName": "cloudasset.googleapis.com", "title": "Cloud Asset API", - "description": "The cloud asset API manages the history and inventory of cloud resources.", + "description": "The Cloud Asset API manages the history and inventory of Google Cloud resources.", "importDirectories": [ "google/api", "google/cloud/asset/v1p2beta1", + "google/cloud/orgpolicy/v1", "google/iam/v1", + "google/identity/accesscontextmanager/v1", "google/protobuf" ], "options": { @@ -20350,8 +22851,7 @@ }, "csharp_namespace": { "valueCounts": { - "Google.Cloud.Asset.V1p2Beta1": 1, - "Google.Cloud.Asset.v1p2beta1": 1 + "Google.Cloud.Asset.V1P2Beta1": 2 } }, "go_package": { @@ -20440,7 +22940,8 @@ ], "configFile": "cloudasset_v1p2beta1.yaml", "serviceConfigApiNames": [ - "google.cloud.asset.v1p2beta1.AssetService" + "google.cloud.asset.v1p2beta1.AssetService", + "google.longrunning.Operations" ], "nameInServiceConfig": "cloudasset.googleapis.com" }, @@ -21505,32 +24006,32 @@ "options": { "csharp_namespace": { "valueCounts": { - "Google.Cloud.BareMetalSolution.V2": 6 + "Google.Cloud.BareMetalSolution.V2": 11 } }, "go_package": { "valueCounts": { - "cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb;baremetalsolutionpb": 6 + "cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb;baremetalsolutionpb": 11 } }, "java_multiple_files": { "valueCounts": { - "true": 6 + "true": 11 } }, "java_package": { "valueCounts": { - "com.google.cloud.baremetalsolution.v2": 6 + "com.google.cloud.baremetalsolution.v2": 11 } }, "php_namespace": { "valueCounts": { - "Google\\Cloud\\BareMetalSolution\\V2": 6 + "Google\\Cloud\\BareMetalSolution\\V2": 11 } }, "ruby_package": { "valueCounts": { - "Google::Cloud::BareMetalSolution::V2": 6 + "Google::Cloud::BareMetalSolution::V2": 11 } } }, @@ -21539,6 +24040,83 @@ "shortName": "BareMetalSolution", "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution", "methods": [ + { + "shortName": "CreateNfsShare", + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.CreateNfsShare", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*}/nfsShares" + } + ] + }, + { + "shortName": "CreateProvisioningConfig", + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.CreateProvisioningConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*}/provisioningConfigs" + } + ] + }, + { + "shortName": "CreateSSHKey", + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.CreateSSHKey", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*}/sshKeys" + } + ] + }, + { + "shortName": "CreateVolumeSnapshot", + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.CreateVolumeSnapshot", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*/volumes/*}/snapshots" + } + ] + }, + { + "shortName": "DeleteNfsShare", + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.DeleteNfsShare", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/locations/*/nfsShares/*}" + } + ] + }, + { + "shortName": "DeleteSSHKey", + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.DeleteSSHKey", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/locations/*/sshKeys/*}" + } + ] + }, + { + "shortName": "DeleteVolumeSnapshot", + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.DeleteVolumeSnapshot", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/locations/*/volumes/*/snapshots/*}" + } + ] + }, { "shortName": "DetachLun", "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.DetachLun", @@ -21550,6 +24128,50 @@ } ] }, + { + "shortName": "DisableInteractiveSerialConsole", + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.DisableInteractiveSerialConsole", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=projects/*/locations/*/instances/*}:disableInteractiveSerialConsole" + } + ] + }, + { + "shortName": "EnableInteractiveSerialConsole", + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.EnableInteractiveSerialConsole", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=projects/*/locations/*/instances/*}:enableInteractiveSerialConsole" + } + ] + }, + { + "shortName": "EvictLun", + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.EvictLun", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=projects/*/locations/*/volumes/*/luns/*}:evict" + } + ] + }, + { + "shortName": "EvictVolume", + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.EvictVolume", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=projects/*/locations/*/volumes/*}:evict" + } + ] + }, { "shortName": "GetInstance", "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.GetInstance", @@ -21594,6 +24216,17 @@ } ] }, + { + "shortName": "GetProvisioningConfig", + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.GetProvisioningConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/locations/*/provisioningConfigs/*}" + } + ] + }, { "shortName": "GetVolume", "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.GetVolume", @@ -21605,6 +24238,17 @@ } ] }, + { + "shortName": "GetVolumeSnapshot", + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.GetVolumeSnapshot", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/locations/*/volumes/*/snapshots/*}" + } + ] + }, { "shortName": "ListInstances", "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.ListInstances", @@ -21660,6 +24304,50 @@ } ] }, + { + "shortName": "ListOSImages", + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.ListOSImages", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*}/osImages" + } + ] + }, + { + "shortName": "ListProvisioningQuotas", + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.ListProvisioningQuotas", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*}/provisioningQuotas" + } + ] + }, + { + "shortName": "ListSSHKeys", + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.ListSSHKeys", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*}/sshKeys" + } + ] + }, + { + "shortName": "ListVolumeSnapshots", + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.ListVolumeSnapshots", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*/volumes/*}/snapshots" + } + ] + }, { "shortName": "ListVolumes", "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.ListVolumes", @@ -21671,6 +24359,50 @@ } ] }, + { + "shortName": "RenameInstance", + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.RenameInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=projects/*/locations/*/instances/*}:rename" + } + ] + }, + { + "shortName": "RenameNetwork", + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.RenameNetwork", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=projects/*/locations/*/networks/*}:rename" + } + ] + }, + { + "shortName": "RenameNfsShare", + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.RenameNfsShare", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=projects/*/locations/*/nfsShares/*}:rename" + } + ] + }, + { + "shortName": "RenameVolume", + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.RenameVolume", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=projects/*/locations/*/volumes/*}:rename" + } + ] + }, { "shortName": "ResetInstance", "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.ResetInstance", @@ -21693,6 +24425,17 @@ } ] }, + { + "shortName": "RestoreVolumeSnapshot", + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.RestoreVolumeSnapshot", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{volume_snapshot=projects/*/locations/*/volumes/*/snapshots/*}:restoreVolumeSnapshot" + } + ] + }, { "shortName": "StartInstance", "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.StartInstance", @@ -21715,6 +24458,17 @@ } ] }, + { + "shortName": "SubmitProvisioningConfig", + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.SubmitProvisioningConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*}/provisioningConfigs:submit" + } + ] + }, { "shortName": "UpdateInstance", "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.UpdateInstance", @@ -21748,6 +24502,17 @@ } ] }, + { + "shortName": "UpdateProvisioningConfig", + "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.UpdateProvisioningConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{provisioning_config.name=projects/*/locations/*/provisioningConfigs/*}" + } + ] + }, { "shortName": "UpdateVolume", "fullName": "google.cloud.baremetalsolution.v2.BareMetalSolution.UpdateVolume", @@ -22634,6 +25399,7 @@ "importDirectories": [ "google/api", "google/iam/v1", + "google/longrunning", "google/protobuf" ], "options": { @@ -22717,6 +25483,17 @@ } ] }, + { + "shortName": "DeleteSubscription", + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.DeleteSubscription", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/subscriptions/*}" + } + ] + }, { "shortName": "GetDataExchange", "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.GetDataExchange", @@ -22754,6 +25531,17 @@ } ] }, + { + "shortName": "GetSubscription", + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.GetSubscription", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/subscriptions/*}" + } + ] + }, { "shortName": "ListDataExchanges", "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.ListDataExchanges", @@ -22787,6 +25575,54 @@ } ] }, + { + "shortName": "ListSharedResourceSubscriptions", + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.ListSharedResourceSubscriptions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{resource=projects/*/locations/*/dataExchanges/*}:listSubscriptions" + }, + { + "httpMethod": "GET", + "path": "/v1/{resource=projects/*/locations/*/dataExchanges/*/listings/*}:listSubscriptions" + } + ] + }, + { + "shortName": "ListSubscriptions", + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.ListSubscriptions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/subscriptions" + } + ] + }, + { + "shortName": "RefreshSubscription", + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.RefreshSubscription", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/subscriptions/*}:refresh" + } + ] + }, + { + "shortName": "RevokeSubscription", + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.RevokeSubscription", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/subscriptions/*}:revoke" + } + ] + }, { "shortName": "SetIamPolicy", "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.SetIamPolicy", @@ -22802,6 +25638,17 @@ } ] }, + { + "shortName": "SubscribeDataExchange", + "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.SubscribeDataExchange", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/dataExchanges/*}:subscribe" + } + ] + }, { "shortName": "SubscribeListing", "fullName": "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.SubscribeListing", @@ -22855,10 +25702,219 @@ ], "configFile": "analyticshub_v1.yaml", "serviceConfigApiNames": [ - "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService" + "google.cloud.bigquery.analyticshub.v1.AnalyticsHubService", + "google.longrunning.Operations" ], "nameInServiceConfig": "analyticshub.googleapis.com" }, + { + "id": "google.cloud.bigquery.biglake.v1", + "directory": "google/cloud/bigquery/biglake/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "biglake.googleapis.com", + "title": "BigLake API", + "description": "The BigLake API provides access to BigLake Metastore, a serverless, fully managed, and highly available metastore for open-source data that can be used for querying Apache Iceberg tables in BigQuery.", + "importDirectories": [ + "google/api", + "google/protobuf" + ], + "options": { + "go_package": { + "valueCounts": { + "cloud.google.com/go/bigquery/biglake/apiv1/biglakepb;biglakepb": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.bigquery.biglake.v1": 1 + } + } + }, + "services": [ + { + "shortName": "MetastoreService", + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService", + "methods": [ + { + "shortName": "CreateCatalog", + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService.CreateCatalog", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/catalogs" + } + ] + }, + { + "shortName": "CreateDatabase", + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService.CreateDatabase", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/catalogs/*}/databases" + } + ] + }, + { + "shortName": "CreateTable", + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService.CreateTable", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/catalogs/*/databases/*}/tables" + } + ] + }, + { + "shortName": "DeleteCatalog", + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService.DeleteCatalog", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/catalogs/*}" + } + ] + }, + { + "shortName": "DeleteDatabase", + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService.DeleteDatabase", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/catalogs/*/databases/*}" + } + ] + }, + { + "shortName": "DeleteTable", + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService.DeleteTable", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/catalogs/*/databases/*/tables/*}" + } + ] + }, + { + "shortName": "GetCatalog", + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService.GetCatalog", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/catalogs/*}" + } + ] + }, + { + "shortName": "GetDatabase", + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService.GetDatabase", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/catalogs/*/databases/*}" + } + ] + }, + { + "shortName": "GetTable", + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService.GetTable", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/catalogs/*/databases/*/tables/*}" + } + ] + }, + { + "shortName": "ListCatalogs", + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService.ListCatalogs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/catalogs" + } + ] + }, + { + "shortName": "ListDatabases", + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService.ListDatabases", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/catalogs/*}/databases" + } + ] + }, + { + "shortName": "ListTables", + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService.ListTables", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/catalogs/*/databases/*}/tables" + } + ] + }, + { + "shortName": "RenameTable", + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService.RenameTable", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/catalogs/*/databases/*/tables/*}:rename" + } + ] + }, + { + "shortName": "UpdateDatabase", + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService.UpdateDatabase", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{database.name=projects/*/locations/*/catalogs/*/databases/*}" + } + ] + }, + { + "shortName": "UpdateTable", + "fullName": "google.cloud.bigquery.biglake.v1.MetastoreService.UpdateTable", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{table.name=projects/*/locations/*/catalogs/*/databases/*/tables/*}" + } + ] + } + ] + } + ], + "configFile": "biglake_v1.yaml", + "serviceConfigApiNames": [ + "google.cloud.bigquery.biglake.v1.MetastoreService" + ], + "nameInServiceConfig": "biglake.googleapis.com" + }, { "id": "google.cloud.bigquery.biglake.v1alpha1", "directory": "google/cloud/bigquery/biglake/v1alpha1", @@ -23069,6 +26125,17 @@ } ] }, + { + "shortName": "RenameTable", + "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService.RenameTable", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha1/{name=projects/*/locations/*/catalogs/*/databases/*/tables/*}:rename" + } + ] + }, { "shortName": "UpdateDatabase", "fullName": "google.cloud.bigquery.biglake.v1alpha1.MetastoreService.UpdateDatabase", @@ -24199,6 +27266,17 @@ } ] }, + { + "shortName": "UnenrollDataSources", + "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.UnenrollDataSources", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*}:unenrollDataSources" + } + ] + }, { "shortName": "UpdateTransferConfig", "fullName": "google.cloud.bigquery.datatransfer.v1.DataTransferService.UpdateTransferConfig", @@ -25201,89 +28279,6 @@ ], "nameInServiceConfig": "bigquerystorage.googleapis.com" }, - { - "id": "google.cloud.bigquery.v2", - "directory": "google/cloud/bigquery/v2", - "version": "v2", - "majorVersion": "v2", - "hostName": "bigquery.googleapis.com", - "title": "BigQuery API", - "description": "A data platform for customers to create, manage, share and query data.", - "importDirectories": [ - "google/api", - "google/cloud/bigquery/v2", - "google/protobuf" - ], - "options": { - "go_package": { - "valueCounts": { - "cloud.google.com/go/bigquery/apiv2/bigquerypb;bigquerypb": 5 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.bigquery.v2": 5 - } - } - }, - "services": [ - { - "shortName": "ModelService", - "fullName": "google.cloud.bigquery.v2.ModelService", - "methods": [ - { - "shortName": "DeleteModel", - "fullName": "google.cloud.bigquery.v2.ModelService.DeleteModel", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "DELETE", - "path": "/bigquery/v2/projects/{project_id=*}/datasets/{dataset_id=*}/models/{model_id=*}" - } - ] - }, - { - "shortName": "GetModel", - "fullName": "google.cloud.bigquery.v2.ModelService.GetModel", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/bigquery/v2/projects/{project_id=*}/datasets/{dataset_id=*}/models/{model_id=*}" - } - ] - }, - { - "shortName": "ListModels", - "fullName": "google.cloud.bigquery.v2.ModelService.ListModels", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/bigquery/v2/projects/{project_id=*}/datasets/{dataset_id=*}/models" - } - ] - }, - { - "shortName": "PatchModel", - "fullName": "google.cloud.bigquery.v2.ModelService.PatchModel", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "PATCH", - "path": "/bigquery/v2/projects/{project_id=*}/datasets/{dataset_id=*}/models/{model_id=*}" - } - ] - } - ] - } - ], - "configFile": "bigquery_v2.yaml", - "serviceConfigApiNames": [ - "google.cloud.bigquery.v2.ModelService" - ], - "nameInServiceConfig": "bigquery.googleapis.com" - }, { "id": "google.cloud.billing.budgets.v1", "directory": "google/cloud/billing/budgets/v1", @@ -25540,6 +28535,14 @@ { "httpMethod": "POST", "path": "/v1/billingAccounts" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=organizations/*}/billingAccounts" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=billingAccounts/*}/subAccounts" } ] }, @@ -25584,6 +28587,14 @@ { "httpMethod": "GET", "path": "/v1/billingAccounts" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=organizations/*}/billingAccounts" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=billingAccounts/*}/subAccounts" } ] }, @@ -25598,6 +28609,21 @@ } ] }, + { + "shortName": "MoveBillingAccount", + "fullName": "google.cloud.billing.v1.CloudBilling.MoveBillingAccount", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=billingAccounts/*}:move" + }, + { + "httpMethod": "GET", + "path": "/v1/{destination_parent=organizations/*}/{name=billingAccounts/*}:move" + } + ] + }, { "shortName": "SetIamPolicy", "fullName": "google.cloud.billing.v1.CloudBilling.SetIamPolicy", @@ -26361,17 +29387,17 @@ "options": { "go_package": { "valueCounts": { - "cloud.google.com/go/channel/apiv1/channelpb;channelpb": 11 + "cloud.google.com/go/channel/apiv1/channelpb;channelpb": 13 } }, "java_multiple_files": { "valueCounts": { - "true": 11 + "true": 13 } }, "java_package": { "valueCounts": { - "com.google.cloud.channel.v1": 11 + "com.google.cloud.channel.v1": 13 } } }, @@ -26703,6 +29729,17 @@ } ] }, + { + "shortName": "ListEntitlementChanges", + "fullName": "google.cloud.channel.v1.CloudChannelService.ListEntitlementChanges", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=accounts/*/customers/*/entitlements/*}:listEntitlementChanges" + } + ] + }, { "shortName": "ListEntitlements", "fullName": "google.cloud.channel.v1.CloudChannelService.ListEntitlements", @@ -26758,6 +29795,28 @@ } ] }, + { + "shortName": "ListSkuGroupBillableSkus", + "fullName": "google.cloud.channel.v1.CloudChannelService.ListSkuGroupBillableSkus", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=accounts/*/skuGroups/*}/billableSkus" + } + ] + }, + { + "shortName": "ListSkuGroups", + "fullName": "google.cloud.channel.v1.CloudChannelService.ListSkuGroups", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=accounts/*}/skuGroups" + } + ] + }, { "shortName": "ListSkus", "fullName": "google.cloud.channel.v1.CloudChannelService.ListSkus", @@ -26824,6 +29883,17 @@ } ] }, + { + "shortName": "QueryEligibleBillingAccounts", + "fullName": "google.cloud.channel.v1.CloudChannelService.QueryEligibleBillingAccounts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{customer=accounts/*/customers/*}:queryEligibleBillingAccounts" + } + ] + }, { "shortName": "RegisterSubscriber", "fullName": "google.cloud.channel.v1.CloudChannelService.RegisterSubscriber", @@ -26949,6 +30019,183 @@ ], "nameInServiceConfig": "cloudchannel.googleapis.com" }, + { + "id": "google.cloud.cloudcontrolspartner.v1beta", + "directory": "google/cloud/cloudcontrolspartner/v1beta", + "version": "v1beta", + "majorVersion": "v1", + "hostName": "cloudcontrolspartner.googleapis.com", + "title": "Cloud Controls Partner API", + "description": "Provides insights about your customers and their Assured Workloads based on your Sovereign Controls by Partners offering.", + "importDirectories": [ + "google/api", + "google/cloud/cloudcontrolspartner/v1beta", + "google/protobuf", + "google/type" + ], + "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.CloudControlsPartner.V1Beta": 10 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/cloudcontrolspartner/apiv1beta/cloudcontrolspartnerpb;cloudcontrolspartnerpb": 10 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 10 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.cloudcontrolspartner.v1beta": 10 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\CloudControlsPartner\\V1beta": 10 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::CloudControlsPartner::V1beta": 10 + } + } + }, + "services": [ + { + "shortName": "CloudControlsPartnerCore", + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore", + "methods": [ + { + "shortName": "GetCustomer", + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore.GetCustomer", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{name=organizations/*/locations/*/customers/*}" + } + ] + }, + { + "shortName": "GetEkmConnections", + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore.GetEkmConnections", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{name=organizations/*/locations/*/customers/*/workloads/*/ekmConnections}" + } + ] + }, + { + "shortName": "GetPartner", + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore.GetPartner", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{name=organizations/*/locations/*/partner}" + } + ] + }, + { + "shortName": "GetPartnerPermissions", + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore.GetPartnerPermissions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{name=organizations/*/locations/*/customers/*/workloads/*/partnerPermissions}" + } + ] + }, + { + "shortName": "GetWorkload", + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore.GetWorkload", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{name=organizations/*/locations/*/customers/*/workloads/*}" + } + ] + }, + { + "shortName": "ListAccessApprovalRequests", + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore.ListAccessApprovalRequests", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{parent=organizations/*/locations/*/customers/*/workloads/*}/accessApprovalRequests" + } + ] + }, + { + "shortName": "ListCustomers", + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore.ListCustomers", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{parent=organizations/*/locations/*}/customers" + } + ] + }, + { + "shortName": "ListWorkloads", + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore.ListWorkloads", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{parent=organizations/*/locations/*/customers/*}/workloads" + } + ] + } + ] + }, + { + "shortName": "CloudControlsPartnerMonitoring", + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerMonitoring", + "methods": [ + { + "shortName": "GetViolation", + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerMonitoring.GetViolation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{name=organizations/*/locations/*/customers/*/workloads/*/violations/*}" + } + ] + }, + { + "shortName": "ListViolations", + "fullName": "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerMonitoring.ListViolations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{parent=organizations/*/locations/*/customers/*/workloads/*}/violations" + } + ] + } + ] + } + ], + "configFile": "cloudcontrolspartner_v1beta.yaml", + "serviceConfigApiNames": [ + "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerCore", + "google.cloud.cloudcontrolspartner.v1beta.CloudControlsPartnerMonitoring" + ], + "nameInServiceConfig": "cloudcontrolspartner.googleapis.com" + }, { "id": "google.cloud.clouddms.v1", "directory": "google/cloud/clouddms/v1", @@ -26967,32 +30214,32 @@ "options": { "csharp_namespace": { "valueCounts": { - "Google.Cloud.CloudDms.V1": 2 + "Google.Cloud.CloudDms.V1": 3 } }, "go_package": { "valueCounts": { - "cloud.google.com/go/clouddms/apiv1/clouddmspb;clouddmspb": 2 + "cloud.google.com/go/clouddms/apiv1/clouddmspb;clouddmspb": 3 } }, "java_multiple_files": { "valueCounts": { - "true": 2 + "true": 3 } }, "java_package": { "valueCounts": { - "com.google.cloud.clouddms.v1": 2 + "com.google.cloud.clouddms.v1": 3 } }, "php_namespace": { "valueCounts": { - "Google\\Cloud\\CloudDms\\V1": 2 + "Google\\Cloud\\CloudDms\\V1": 3 } }, "ruby_package": { "valueCounts": { - "Google::Cloud::CloudDMS::V1": 2 + "Google::Cloud::CloudDMS::V1": 3 } } }, @@ -27001,6 +30248,39 @@ "shortName": "DataMigrationService", "fullName": "google.cloud.clouddms.v1.DataMigrationService", "methods": [ + { + "shortName": "ApplyConversionWorkspace", + "fullName": "google.cloud.clouddms.v1.DataMigrationService.ApplyConversionWorkspace", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/conversionWorkspaces/*}:apply" + } + ] + }, + { + "shortName": "CommitConversionWorkspace", + "fullName": "google.cloud.clouddms.v1.DataMigrationService.CommitConversionWorkspace", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/conversionWorkspaces/*}:commit" + } + ] + }, + { + "shortName": "ConvertConversionWorkspace", + "fullName": "google.cloud.clouddms.v1.DataMigrationService.ConvertConversionWorkspace", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/conversionWorkspaces/*}:convert" + } + ] + }, { "shortName": "CreateConnectionProfile", "fullName": "google.cloud.clouddms.v1.DataMigrationService.CreateConnectionProfile", @@ -27012,6 +30292,28 @@ } ] }, + { + "shortName": "CreateConversionWorkspace", + "fullName": "google.cloud.clouddms.v1.DataMigrationService.CreateConversionWorkspace", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/conversionWorkspaces" + } + ] + }, + { + "shortName": "CreateMappingRule", + "fullName": "google.cloud.clouddms.v1.DataMigrationService.CreateMappingRule", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/conversionWorkspaces/*}/mappingRules" + } + ] + }, { "shortName": "CreateMigrationJob", "fullName": "google.cloud.clouddms.v1.DataMigrationService.CreateMigrationJob", @@ -27023,6 +30325,17 @@ } ] }, + { + "shortName": "CreatePrivateConnection", + "fullName": "google.cloud.clouddms.v1.DataMigrationService.CreatePrivateConnection", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/privateConnections" + } + ] + }, { "shortName": "DeleteConnectionProfile", "fullName": "google.cloud.clouddms.v1.DataMigrationService.DeleteConnectionProfile", @@ -27034,6 +30347,28 @@ } ] }, + { + "shortName": "DeleteConversionWorkspace", + "fullName": "google.cloud.clouddms.v1.DataMigrationService.DeleteConversionWorkspace", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/conversionWorkspaces/*}" + } + ] + }, + { + "shortName": "DeleteMappingRule", + "fullName": "google.cloud.clouddms.v1.DataMigrationService.DeleteMappingRule", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/conversionWorkspaces/*/mappingRules/*}" + } + ] + }, { "shortName": "DeleteMigrationJob", "fullName": "google.cloud.clouddms.v1.DataMigrationService.DeleteMigrationJob", @@ -27045,6 +30380,50 @@ } ] }, + { + "shortName": "DeletePrivateConnection", + "fullName": "google.cloud.clouddms.v1.DataMigrationService.DeletePrivateConnection", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/privateConnections/*}" + } + ] + }, + { + "shortName": "DescribeConversionWorkspaceRevisions", + "fullName": "google.cloud.clouddms.v1.DataMigrationService.DescribeConversionWorkspaceRevisions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{conversion_workspace=projects/*/locations/*/conversionWorkspaces/*}:describeConversionWorkspaceRevisions" + } + ] + }, + { + "shortName": "DescribeDatabaseEntities", + "fullName": "google.cloud.clouddms.v1.DataMigrationService.DescribeDatabaseEntities", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{conversion_workspace=projects/*/locations/*/conversionWorkspaces/*}:describeDatabaseEntities" + } + ] + }, + { + "shortName": "FetchStaticIps", + "fullName": "google.cloud.clouddms.v1.DataMigrationService.FetchStaticIps", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*}:fetchStaticIps" + } + ] + }, { "shortName": "GenerateSshScript", "fullName": "google.cloud.clouddms.v1.DataMigrationService.GenerateSshScript", @@ -27056,6 +30435,17 @@ } ] }, + { + "shortName": "GenerateTcpProxyScript", + "fullName": "google.cloud.clouddms.v1.DataMigrationService.GenerateTcpProxyScript", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{migration_job=projects/*/locations/*/migrationJobs/*}:generateTcpProxyScript" + } + ] + }, { "shortName": "GetConnectionProfile", "fullName": "google.cloud.clouddms.v1.DataMigrationService.GetConnectionProfile", @@ -27067,6 +30457,28 @@ } ] }, + { + "shortName": "GetConversionWorkspace", + "fullName": "google.cloud.clouddms.v1.DataMigrationService.GetConversionWorkspace", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/conversionWorkspaces/*}" + } + ] + }, + { + "shortName": "GetMappingRule", + "fullName": "google.cloud.clouddms.v1.DataMigrationService.GetMappingRule", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/conversionWorkspaces/*/mappingRules/*}" + } + ] + }, { "shortName": "GetMigrationJob", "fullName": "google.cloud.clouddms.v1.DataMigrationService.GetMigrationJob", @@ -27078,6 +30490,28 @@ } ] }, + { + "shortName": "GetPrivateConnection", + "fullName": "google.cloud.clouddms.v1.DataMigrationService.GetPrivateConnection", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/privateConnections/*}" + } + ] + }, + { + "shortName": "ImportMappingRules", + "fullName": "google.cloud.clouddms.v1.DataMigrationService.ImportMappingRules", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/conversionWorkspaces/*}/mappingRules:import" + } + ] + }, { "shortName": "ListConnectionProfiles", "fullName": "google.cloud.clouddms.v1.DataMigrationService.ListConnectionProfiles", @@ -27089,6 +30523,28 @@ } ] }, + { + "shortName": "ListConversionWorkspaces", + "fullName": "google.cloud.clouddms.v1.DataMigrationService.ListConversionWorkspaces", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/conversionWorkspaces" + } + ] + }, + { + "shortName": "ListMappingRules", + "fullName": "google.cloud.clouddms.v1.DataMigrationService.ListMappingRules", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/conversionWorkspaces/*}/mappingRules" + } + ] + }, { "shortName": "ListMigrationJobs", "fullName": "google.cloud.clouddms.v1.DataMigrationService.ListMigrationJobs", @@ -27100,6 +30556,17 @@ } ] }, + { + "shortName": "ListPrivateConnections", + "fullName": "google.cloud.clouddms.v1.DataMigrationService.ListPrivateConnections", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/privateConnections" + } + ] + }, { "shortName": "PromoteMigrationJob", "fullName": "google.cloud.clouddms.v1.DataMigrationService.PromoteMigrationJob", @@ -27133,6 +30600,39 @@ } ] }, + { + "shortName": "RollbackConversionWorkspace", + "fullName": "google.cloud.clouddms.v1.DataMigrationService.RollbackConversionWorkspace", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/conversionWorkspaces/*}:rollback" + } + ] + }, + { + "shortName": "SearchBackgroundJobs", + "fullName": "google.cloud.clouddms.v1.DataMigrationService.SearchBackgroundJobs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{conversion_workspace=projects/*/locations/*/conversionWorkspaces/*}:searchBackgroundJobs" + } + ] + }, + { + "shortName": "SeedConversionWorkspace", + "fullName": "google.cloud.clouddms.v1.DataMigrationService.SeedConversionWorkspace", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/conversionWorkspaces/*}:seed" + } + ] + }, { "shortName": "StartMigrationJob", "fullName": "google.cloud.clouddms.v1.DataMigrationService.StartMigrationJob", @@ -27166,6 +30666,17 @@ } ] }, + { + "shortName": "UpdateConversionWorkspace", + "fullName": "google.cloud.clouddms.v1.DataMigrationService.UpdateConversionWorkspace", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{conversion_workspace.name=projects/*/locations/*/conversionWorkspaces/*}" + } + ] + }, { "shortName": "UpdateMigrationJob", "fullName": "google.cloud.clouddms.v1.DataMigrationService.UpdateMigrationJob", @@ -27193,10 +30704,107 @@ ], "configFile": "datamigration_v1.yaml", "serviceConfigApiNames": [ - "google.cloud.clouddms.v1.DataMigrationService" + "google.cloud.clouddms.v1.DataMigrationService", + "google.cloud.location.Locations", + "google.iam.v1.IAMPolicy", + "google.longrunning.Operations" ], "nameInServiceConfig": "datamigration.googleapis.com" }, + { + "id": "google.cloud.commerce.consumer.procurement.v1", + "directory": "google/cloud/commerce/consumer/procurement/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "cloudcommerceconsumerprocurement.googleapis.com", + "title": "Cloud Commerce Consumer Procurement API", + "description": "Enables consumers to procure products served by Cloud Marketplace platform", + "importDirectories": [ + "google/api", + "google/cloud/commerce/consumer/procurement/v1", + "google/longrunning", + "google/protobuf" + ], + "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Commerce.Consumer.Procurement.V1": 2 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/commerce/consumer/procurement/apiv1/procurementpb;procurementpb": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.commerce.consumer.procurement.v1": 2 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Commerce\\Consumer\\Procurement\\V1": 2 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::Commerce::Consumer::Procurement::V1": 2 + } + } + }, + "services": [ + { + "shortName": "ConsumerProcurementService", + "fullName": "google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementService", + "methods": [ + { + "shortName": "GetOrder", + "fullName": "google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementService.GetOrder", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=billingAccounts/*/orders/*}" + } + ] + }, + { + "shortName": "ListOrders", + "fullName": "google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementService.ListOrders", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=billingAccounts/*}/orders" + } + ] + }, + { + "shortName": "PlaceOrder", + "fullName": "google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementService.PlaceOrder", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=billingAccounts/*}/orders:place" + } + ] + } + ] + } + ], + "configFile": "cloudcommerceconsumerprocurement_v1.yaml", + "serviceConfigApiNames": [ + "google.cloud.commerce.consumer.procurement.v1.ConsumerProcurementService", + "google.longrunning.Operations" + ], + "nameInServiceConfig": "cloudcommerceconsumerprocurement.googleapis.com" + }, { "id": "google.cloud.commerce.consumer.procurement.v1alpha1", "directory": "google/cloud/commerce/consumer/procurement/v1alpha1", @@ -27286,7 +30894,8 @@ "description": "", "importDirectories": [ "google/api", - "google/cloud" + "google/cloud", + "google/protobuf" ], "options": { "csharp_namespace": { @@ -27296,7 +30905,7 @@ }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/cloud/compute/v1;compute": 1 + "cloud.google.com/go/compute/apiv1/computepb;computepb": 1 } }, "java_multiple_files": { @@ -27419,6 +31028,17 @@ } ] }, + { + "shortName": "Move", + "fullName": "google.cloud.compute.v1.Addresses.Move", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/compute/v1/projects/{project}/regions/{region}/addresses/{address}/move" + } + ] + }, { "shortName": "SetLabels", "fullName": "google.cloud.compute.v1.Addresses.SetLabels", @@ -27563,6 +31183,17 @@ } ] }, + { + "shortName": "GetIamPolicy", + "fullName": "google.cloud.compute.v1.BackendBuckets.GetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/compute/v1/projects/{project}/global/backendBuckets/{resource}/getIamPolicy" + } + ] + }, { "shortName": "Insert", "fullName": "google.cloud.compute.v1.BackendBuckets.Insert", @@ -27607,6 +31238,28 @@ } ] }, + { + "shortName": "SetIamPolicy", + "fullName": "google.cloud.compute.v1.BackendBuckets.SetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/compute/v1/projects/{project}/global/backendBuckets/{resource}/setIamPolicy" + } + ] + }, + { + "shortName": "TestIamPermissions", + "fullName": "google.cloud.compute.v1.BackendBuckets.TestIamPermissions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/compute/v1/projects/{project}/global/backendBuckets/{resource}/testIamPermissions" + } + ] + }, { "shortName": "Update", "fullName": "google.cloud.compute.v1.BackendBuckets.Update", @@ -27723,6 +31376,17 @@ } ] }, + { + "shortName": "ListUsable", + "fullName": "google.cloud.compute.v1.BackendServices.ListUsable", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/compute/v1/projects/{project}/global/backendServices/listUsable" + } + ] + }, { "shortName": "Patch", "fullName": "google.cloud.compute.v1.BackendServices.Patch", @@ -27767,6 +31431,17 @@ } ] }, + { + "shortName": "TestIamPermissions", + "fullName": "google.cloud.compute.v1.BackendServices.TestIamPermissions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/compute/v1/projects/{project}/global/backendServices/{resource}/testIamPermissions" + } + ] + }, { "shortName": "Update", "fullName": "google.cloud.compute.v1.BackendServices.Update", @@ -27845,6 +31520,17 @@ } ] }, + { + "shortName": "BulkInsert", + "fullName": "google.cloud.compute.v1.Disks.BulkInsert", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/compute/v1/projects/{project}/zones/{zone}/disks/bulkInsert" + } + ] + }, { "shortName": "CreateSnapshot", "fullName": "google.cloud.compute.v1.Disks.CreateSnapshot", @@ -27955,6 +31641,39 @@ } ] }, + { + "shortName": "StartAsyncReplication", + "fullName": "google.cloud.compute.v1.Disks.StartAsyncReplication", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/compute/v1/projects/{project}/zones/{zone}/disks/{disk}/startAsyncReplication" + } + ] + }, + { + "shortName": "StopAsyncReplication", + "fullName": "google.cloud.compute.v1.Disks.StopAsyncReplication", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/compute/v1/projects/{project}/zones/{zone}/disks/{disk}/stopAsyncReplication" + } + ] + }, + { + "shortName": "StopGroupAsyncReplication", + "fullName": "google.cloud.compute.v1.Disks.StopGroupAsyncReplication", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/compute/v1/projects/{project}/zones/{zone}/disks/stopGroupAsyncReplication" + } + ] + }, { "shortName": "TestIamPermissions", "fullName": "google.cloud.compute.v1.Disks.TestIamPermissions", @@ -27965,6 +31684,17 @@ "path": "/compute/v1/projects/{project}/zones/{zone}/disks/{resource}/testIamPermissions" } ] + }, + { + "shortName": "Update", + "fullName": "google.cloud.compute.v1.Disks.Update", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/compute/v1/projects/{project}/zones/{zone}/disks/{disk}" + } + ] } ] }, @@ -28458,6 +32188,17 @@ } ] }, + { + "shortName": "Move", + "fullName": "google.cloud.compute.v1.GlobalAddresses.Move", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/compute/v1/projects/{project}/global/addresses/{address}/move" + } + ] + }, { "shortName": "SetLabels", "fullName": "google.cloud.compute.v1.GlobalAddresses.SetLabels", @@ -29360,6 +33101,17 @@ "shortName": "InstanceTemplates", "fullName": "google.cloud.compute.v1.InstanceTemplates", "methods": [ + { + "shortName": "AggregatedList", + "fullName": "google.cloud.compute.v1.InstanceTemplates.AggregatedList", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/compute/v1/projects/{project}/aggregated/instanceTemplates" + } + ] + }, { "shortName": "Delete", "fullName": "google.cloud.compute.v1.InstanceTemplates.Delete", @@ -29641,6 +33393,17 @@ } ] }, + { + "shortName": "PerformMaintenance", + "fullName": "google.cloud.compute.v1.Instances.PerformMaintenance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/performMaintenance" + } + ] + }, { "shortName": "RemoveResourcePolicies", "fullName": "google.cloud.compute.v1.Instances.RemoveResourcePolicies", @@ -29773,6 +33536,17 @@ } ] }, + { + "shortName": "SetName", + "fullName": "google.cloud.compute.v1.Instances.SetName", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/setName" + } + ] + }, { "shortName": "SetScheduling", "fullName": "google.cloud.compute.v1.Instances.SetScheduling", @@ -29784,6 +33558,17 @@ } ] }, + { + "shortName": "SetSecurityPolicy", + "fullName": "google.cloud.compute.v1.Instances.SetSecurityPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/setSecurityPolicy" + } + ] + }, { "shortName": "SetServiceAccount", "fullName": "google.cloud.compute.v1.Instances.SetServiceAccount", @@ -30051,6 +33836,34 @@ } ] }, + { + "shortName": "InterconnectRemoteLocations", + "fullName": "google.cloud.compute.v1.InterconnectRemoteLocations", + "methods": [ + { + "shortName": "Get", + "fullName": "google.cloud.compute.v1.InterconnectRemoteLocations.Get", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/compute/v1/projects/{project}/global/interconnectRemoteLocations/{interconnect_remote_location}" + } + ] + }, + { + "shortName": "List", + "fullName": "google.cloud.compute.v1.InterconnectRemoteLocations.List", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/compute/v1/projects/{project}/global/interconnectRemoteLocations" + } + ] + } + ] + }, { "shortName": "Interconnects", "fullName": "google.cloud.compute.v1.Interconnects", @@ -30088,6 +33901,17 @@ } ] }, + { + "shortName": "GetMacsecConfig", + "fullName": "google.cloud.compute.v1.Interconnects.GetMacsecConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/compute/v1/projects/{project}/global/interconnects/{interconnect}/getMacsecConfig" + } + ] + }, { "shortName": "Insert", "fullName": "google.cloud.compute.v1.Interconnects.Insert", @@ -30437,6 +34261,17 @@ } ] }, + { + "shortName": "Patch", + "fullName": "google.cloud.compute.v1.NetworkAttachments.Patch", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/compute/v1/projects/{project}/regions/{region}/networkAttachments/{network_attachment}" + } + ] + }, { "shortName": "SetIamPolicy", "fullName": "google.cloud.compute.v1.NetworkAttachments.SetIamPolicy", @@ -31072,6 +34907,17 @@ } ] }, + { + "shortName": "SimulateMaintenanceEvent", + "fullName": "google.cloud.compute.v1.NodeGroups.SimulateMaintenanceEvent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/compute/v1/projects/{project}/zones/{zone}/nodeGroups/{node_group}/simulateMaintenanceEvent" + } + ] + }, { "shortName": "TestIamPermissions", "fullName": "google.cloud.compute.v1.NodeGroups.TestIamPermissions", @@ -31454,6 +35300,17 @@ "shortName": "PublicAdvertisedPrefixes", "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixes", "methods": [ + { + "shortName": "Announce", + "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixes.Announce", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/compute/v1/projects/{project}/global/publicAdvertisedPrefixes/{public_advertised_prefix}/announce" + } + ] + }, { "shortName": "Delete", "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixes.Delete", @@ -31508,6 +35365,17 @@ "path": "/compute/v1/projects/{project}/global/publicAdvertisedPrefixes/{public_advertised_prefix}" } ] + }, + { + "shortName": "Withdraw", + "fullName": "google.cloud.compute.v1.PublicAdvertisedPrefixes.Withdraw", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/compute/v1/projects/{project}/global/publicAdvertisedPrefixes/{public_advertised_prefix}/withdraw" + } + ] } ] }, @@ -31526,6 +35394,17 @@ } ] }, + { + "shortName": "Announce", + "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixes.Announce", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/compute/v1/projects/{project}/regions/{region}/publicDelegatedPrefixes/{public_delegated_prefix}/announce" + } + ] + }, { "shortName": "Delete", "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixes.Delete", @@ -31580,6 +35459,17 @@ "path": "/compute/v1/projects/{project}/regions/{region}/publicDelegatedPrefixes/{public_delegated_prefix}" } ] + }, + { + "shortName": "Withdraw", + "fullName": "google.cloud.compute.v1.PublicDelegatedPrefixes.Withdraw", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/compute/v1/projects/{project}/regions/{region}/publicDelegatedPrefixes/{public_delegated_prefix}/withdraw" + } + ] } ] }, @@ -31725,6 +35615,17 @@ } ] }, + { + "shortName": "ListUsable", + "fullName": "google.cloud.compute.v1.RegionBackendServices.ListUsable", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/compute/v1/projects/{project}/regions/{region}/backendServices/listUsable" + } + ] + }, { "shortName": "Patch", "fullName": "google.cloud.compute.v1.RegionBackendServices.Patch", @@ -31747,6 +35648,28 @@ } ] }, + { + "shortName": "SetSecurityPolicy", + "fullName": "google.cloud.compute.v1.RegionBackendServices.SetSecurityPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/compute/v1/projects/{project}/regions/{region}/backendServices/{backend_service}/setSecurityPolicy" + } + ] + }, + { + "shortName": "TestIamPermissions", + "fullName": "google.cloud.compute.v1.RegionBackendServices.TestIamPermissions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/compute/v1/projects/{project}/regions/{region}/backendServices/{resource}/testIamPermissions" + } + ] + }, { "shortName": "Update", "fullName": "google.cloud.compute.v1.RegionBackendServices.Update", @@ -31864,6 +35787,17 @@ } ] }, + { + "shortName": "BulkInsert", + "fullName": "google.cloud.compute.v1.RegionDisks.BulkInsert", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/compute/v1/projects/{project}/regions/{region}/disks/bulkInsert" + } + ] + }, { "shortName": "CreateSnapshot", "fullName": "google.cloud.compute.v1.RegionDisks.CreateSnapshot", @@ -31974,6 +35908,39 @@ } ] }, + { + "shortName": "StartAsyncReplication", + "fullName": "google.cloud.compute.v1.RegionDisks.StartAsyncReplication", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/compute/v1/projects/{project}/regions/{region}/disks/{disk}/startAsyncReplication" + } + ] + }, + { + "shortName": "StopAsyncReplication", + "fullName": "google.cloud.compute.v1.RegionDisks.StopAsyncReplication", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/compute/v1/projects/{project}/regions/{region}/disks/{disk}/stopAsyncReplication" + } + ] + }, + { + "shortName": "StopGroupAsyncReplication", + "fullName": "google.cloud.compute.v1.RegionDisks.StopGroupAsyncReplication", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/compute/v1/projects/{project}/regions/{region}/disks/stopGroupAsyncReplication" + } + ] + }, { "shortName": "TestIamPermissions", "fullName": "google.cloud.compute.v1.RegionDisks.TestIamPermissions", @@ -31984,6 +35951,17 @@ "path": "/compute/v1/projects/{project}/regions/{region}/disks/{resource}/testIamPermissions" } ] + }, + { + "shortName": "Update", + "fullName": "google.cloud.compute.v1.RegionDisks.Update", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/compute/v1/projects/{project}/regions/{region}/disks/{disk}" + } + ] } ] }, @@ -32385,6 +36363,56 @@ } ] }, + { + "shortName": "RegionInstanceTemplates", + "fullName": "google.cloud.compute.v1.RegionInstanceTemplates", + "methods": [ + { + "shortName": "Delete", + "fullName": "google.cloud.compute.v1.RegionInstanceTemplates.Delete", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/compute/v1/projects/{project}/regions/{region}/instanceTemplates/{instance_template}" + } + ] + }, + { + "shortName": "Get", + "fullName": "google.cloud.compute.v1.RegionInstanceTemplates.Get", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/compute/v1/projects/{project}/regions/{region}/instanceTemplates/{instance_template}" + } + ] + }, + { + "shortName": "Insert", + "fullName": "google.cloud.compute.v1.RegionInstanceTemplates.Insert", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/compute/v1/projects/{project}/regions/{region}/instanceTemplates" + } + ] + }, + { + "shortName": "List", + "fullName": "google.cloud.compute.v1.RegionInstanceTemplates.List", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/compute/v1/projects/{project}/regions/{region}/instanceTemplates" + } + ] + } + ] + }, { "shortName": "RegionInstances", "fullName": "google.cloud.compute.v1.RegionInstances", @@ -32406,6 +36434,17 @@ "shortName": "RegionNetworkEndpointGroups", "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroups", "methods": [ + { + "shortName": "AttachNetworkEndpoints", + "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroups.AttachNetworkEndpoints", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/compute/v1/projects/{project}/regions/{region}/networkEndpointGroups/{network_endpoint_group}/attachNetworkEndpoints" + } + ] + }, { "shortName": "Delete", "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroups.Delete", @@ -32417,6 +36456,17 @@ } ] }, + { + "shortName": "DetachNetworkEndpoints", + "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroups.DetachNetworkEndpoints", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/compute/v1/projects/{project}/regions/{region}/networkEndpointGroups/{network_endpoint_group}/detachNetworkEndpoints" + } + ] + }, { "shortName": "Get", "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroups.Get", @@ -32449,6 +36499,17 @@ "path": "/compute/v1/projects/{project}/regions/{region}/networkEndpointGroups" } ] + }, + { + "shortName": "ListNetworkEndpoints", + "fullName": "google.cloud.compute.v1.RegionNetworkEndpointGroups.ListNetworkEndpoints", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/compute/v1/projects/{project}/regions/{region}/networkEndpointGroups/{network_endpoint_group}/listNetworkEndpoints" + } + ] } ] }, @@ -32749,6 +36810,17 @@ "shortName": "RegionSecurityPolicies", "fullName": "google.cloud.compute.v1.RegionSecurityPolicies", "methods": [ + { + "shortName": "AddRule", + "fullName": "google.cloud.compute.v1.RegionSecurityPolicies.AddRule", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/compute/v1/projects/{project}/regions/{region}/securityPolicies/{security_policy}/addRule" + } + ] + }, { "shortName": "Delete", "fullName": "google.cloud.compute.v1.RegionSecurityPolicies.Delete", @@ -32771,6 +36843,17 @@ } ] }, + { + "shortName": "GetRule", + "fullName": "google.cloud.compute.v1.RegionSecurityPolicies.GetRule", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/compute/v1/projects/{project}/regions/{region}/securityPolicies/{security_policy}/getRule" + } + ] + }, { "shortName": "Insert", "fullName": "google.cloud.compute.v1.RegionSecurityPolicies.Insert", @@ -32803,6 +36886,28 @@ "path": "/compute/v1/projects/{project}/regions/{region}/securityPolicies/{security_policy}" } ] + }, + { + "shortName": "PatchRule", + "fullName": "google.cloud.compute.v1.RegionSecurityPolicies.PatchRule", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/compute/v1/projects/{project}/regions/{region}/securityPolicies/{security_policy}/patchRule" + } + ] + }, + { + "shortName": "RemoveRule", + "fullName": "google.cloud.compute.v1.RegionSecurityPolicies.RemoveRule", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/compute/v1/projects/{project}/regions/{region}/securityPolicies/{security_policy}/removeRule" + } + ] } ] }, @@ -33205,6 +37310,23 @@ } ] }, + { + "shortName": "RegionZones", + "fullName": "google.cloud.compute.v1.RegionZones", + "methods": [ + { + "shortName": "List", + "fullName": "google.cloud.compute.v1.RegionZones.List", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/compute/v1/projects/{project}/regions/{region}/zones" + } + ] + } + ] + }, { "shortName": "Regions", "fullName": "google.cloud.compute.v1.Regions", @@ -33419,6 +37541,17 @@ } ] }, + { + "shortName": "Patch", + "fullName": "google.cloud.compute.v1.ResourcePolicies.Patch", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/compute/v1/projects/{project}/regions/{region}/resourcePolicies/{resource_policy}" + } + ] + }, { "shortName": "SetIamPolicy", "fullName": "google.cloud.compute.v1.ResourcePolicies.SetIamPolicy", @@ -33480,6 +37613,17 @@ } ] }, + { + "shortName": "GetNatIpInfo", + "fullName": "google.cloud.compute.v1.Routers.GetNatIpInfo", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/compute/v1/projects/{project}/regions/{region}/routers/{router}/getNatIpInfo" + } + ] + }, { "shortName": "GetNatMappingInfo", "fullName": "google.cloud.compute.v1.Routers.GetNatMappingInfo", @@ -33852,6 +37996,34 @@ } ] }, + { + "shortName": "SnapshotSettingsService", + "fullName": "google.cloud.compute.v1.SnapshotSettingsService", + "methods": [ + { + "shortName": "Get", + "fullName": "google.cloud.compute.v1.SnapshotSettingsService.Get", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/compute/v1/projects/{project}/global/snapshotSettings" + } + ] + }, + { + "shortName": "Patch", + "fullName": "google.cloud.compute.v1.SnapshotSettingsService.Patch", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/compute/v1/projects/{project}/global/snapshotSettings" + } + ] + } + ] + }, { "shortName": "Snapshots", "fullName": "google.cloud.compute.v1.Snapshots", @@ -34557,6 +38729,17 @@ "path": "/compute/v1/projects/{project}/zones/{zone}/targetInstances" } ] + }, + { + "shortName": "SetSecurityPolicy", + "fullName": "google.cloud.compute.v1.TargetInstances.SetSecurityPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/compute/v1/projects/{project}/zones/{zone}/targetInstances/{target_instance}/setSecurityPolicy" + } + ] } ] }, @@ -34684,6 +38867,17 @@ "path": "/compute/v1/projects/{project}/regions/{region}/targetPools/{target_pool}/setBackup" } ] + }, + { + "shortName": "SetSecurityPolicy", + "fullName": "google.cloud.compute.v1.TargetPools.SetSecurityPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/compute/v1/projects/{project}/regions/{region}/targetPools/{target_pool}/setSecurityPolicy" + } + ] } ] }, @@ -35514,230 +39708,178 @@ "nameInServiceConfig": "compute.googleapis.com" }, { - "id": "google.cloud.connectors.v1", - "directory": "google/cloud/connectors/v1", + "id": "google.cloud.confidentialcomputing.v1", + "directory": "google/cloud/confidentialcomputing/v1", "version": "v1", "majorVersion": "v1", - "hostName": "connectors.googleapis.com", - "title": "Connectors API", - "description": "Enables users to create and manage connections to Google Cloud services and third-party business applications using the Connectors interface.", + "hostName": "confidentialcomputing.googleapis.com", + "title": "Confidential Computing API", + "description": "Attestation verifier for Confidential Space.", "importDirectories": [ "google/api", - "google/cloud/connectors/v1", - "google/longrunning", - "google/protobuf" + "google/protobuf", + "google/rpc" ], "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.ConfidentialComputing.V1": 1 + } + }, "go_package": { "valueCounts": { - "cloud.google.com/go/connectors/apiv1/connectorspb;connectorspb": 9 + "cloud.google.com/go/confidentialcomputing/apiv1/confidentialcomputingpb;confidentialcomputingpb": 1 } }, "java_multiple_files": { "valueCounts": { - "true": 9 + "true": 1 } }, "java_package": { "valueCounts": { - "": 1, - "com.google.cloud.connectors.v1": 8 + "com.google.cloud.confidentialcomputing.v1": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\ConfidentialComputing\\V1": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::ConfidentialComputing::V1": 1 } } }, "services": [ { - "shortName": "Connectors", - "fullName": "google.cloud.connectors.v1.Connectors", + "shortName": "ConfidentialComputing", + "fullName": "google.cloud.confidentialcomputing.v1.ConfidentialComputing", "methods": [ { - "shortName": "CreateConnection", - "fullName": "google.cloud.connectors.v1.Connectors.CreateConnection", + "shortName": "CreateChallenge", + "fullName": "google.cloud.confidentialcomputing.v1.ConfidentialComputing.CreateChallenge", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/connections" - } - ] - }, - { - "shortName": "DeleteConnection", - "fullName": "google.cloud.connectors.v1.Connectors.DeleteConnection", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/connections/*}" - } - ] - }, - { - "shortName": "GetConnection", - "fullName": "google.cloud.connectors.v1.Connectors.GetConnection", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/connections/*}" - } - ] - }, - { - "shortName": "GetConnectionSchemaMetadata", - "fullName": "google.cloud.connectors.v1.Connectors.GetConnectionSchemaMetadata", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/connections/*/connectionSchemaMetadata}" - } - ] - }, - { - "shortName": "GetConnector", - "fullName": "google.cloud.connectors.v1.Connectors.GetConnector", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/providers/*/connectors/*}" - } - ] - }, - { - "shortName": "GetConnectorVersion", - "fullName": "google.cloud.connectors.v1.Connectors.GetConnectorVersion", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/providers/*/connectors/*/versions/*}" - } - ] - }, - { - "shortName": "GetProvider", - "fullName": "google.cloud.connectors.v1.Connectors.GetProvider", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/providers/*}" - } - ] - }, - { - "shortName": "GetRuntimeConfig", - "fullName": "google.cloud.connectors.v1.Connectors.GetRuntimeConfig", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/runtimeConfig}" - } - ] - }, - { - "shortName": "ListConnections", - "fullName": "google.cloud.connectors.v1.Connectors.ListConnections", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/connections" - } - ] - }, - { - "shortName": "ListConnectorVersions", - "fullName": "google.cloud.connectors.v1.Connectors.ListConnectorVersions", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*/providers/*/connectors/*}/versions" - } - ] - }, - { - "shortName": "ListConnectors", - "fullName": "google.cloud.connectors.v1.Connectors.ListConnectors", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*/providers/*}/connectors" - } - ] - }, - { - "shortName": "ListProviders", - "fullName": "google.cloud.connectors.v1.Connectors.ListProviders", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/providers" + "path": "/v1/{parent=projects/*/locations/*}/challenges" } ] }, { - "shortName": "ListRuntimeActionSchemas", - "fullName": "google.cloud.connectors.v1.Connectors.ListRuntimeActionSchemas", + "shortName": "VerifyAttestation", + "fullName": "google.cloud.confidentialcomputing.v1.ConfidentialComputing.VerifyAttestation", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*/connections/*}/runtimeActionSchemas" + "httpMethod": "POST", + "path": "/v1/{challenge=projects/*/locations/*/challenges/*}:verifyAttestation" } ] - }, + } + ] + } + ], + "configFile": "confidentialcomputing_v1.yaml", + "serviceConfigApiNames": [ + "google.cloud.confidentialcomputing.v1.ConfidentialComputing", + "google.cloud.location.Locations" + ], + "nameInServiceConfig": "confidentialcomputing.googleapis.com" + }, + { + "id": "google.cloud.confidentialcomputing.v1alpha1", + "directory": "google/cloud/confidentialcomputing/v1alpha1", + "version": "v1alpha1", + "majorVersion": "v1", + "hostName": "confidentialcomputing.googleapis.com", + "title": "Confidential Computing API", + "description": "", + "importDirectories": [ + "google/api", + "google/protobuf" + ], + "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.ConfidentialComputing.V1Alpha1": 1 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/confidentialcomputing/apiv1alpha1/confidentialcomputingpb;confidentialcomputingpb": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.confidentialcomputing.v1alpha1": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\ConfidentialComputing\\V1alpha1": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::ConfidentialComputing::V1alpha1": 1 + } + } + }, + "services": [ + { + "shortName": "ConfidentialComputing", + "fullName": "google.cloud.confidentialcomputing.v1alpha1.ConfidentialComputing", + "methods": [ { - "shortName": "ListRuntimeEntitySchemas", - "fullName": "google.cloud.connectors.v1.Connectors.ListRuntimeEntitySchemas", + "shortName": "CreateChallenge", + "fullName": "google.cloud.confidentialcomputing.v1alpha1.ConfidentialComputing.CreateChallenge", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*/connections/*}/runtimeEntitySchemas" + "httpMethod": "POST", + "path": "/v1alpha1/{parent=projects/*/locations/*}/challenges" } ] }, { - "shortName": "UpdateConnection", - "fullName": "google.cloud.connectors.v1.Connectors.UpdateConnection", + "shortName": "VerifyAttestation", + "fullName": "google.cloud.confidentialcomputing.v1alpha1.ConfidentialComputing.VerifyAttestation", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{connection.name=projects/*/locations/*/connections/*}" + "httpMethod": "POST", + "path": "/v1alpha1/{challenge=projects/*/locations/*/challenges/*}:verifyAttestation" } ] } ] } ], - "configFile": "connectors_v1.yaml", + "configFile": "confidentialcomputing_v1alpha1.yaml", "serviceConfigApiNames": [ - "google.cloud.connectors.v1.Connectors", - "google.cloud.location.Locations", - "google.iam.v1.IAMPolicy", - "google.longrunning.Operations" + "google.cloud.confidentialcomputing.v1alpha1.ConfidentialComputing", + "google.cloud.location.Locations" ], - "nameInServiceConfig": "connectors.googleapis.com" + "nameInServiceConfig": "confidentialcomputing.googleapis.com" }, { - "id": "google.cloud.contactcenterinsights.v1", - "directory": "google/cloud/contactcenterinsights/v1", + "id": "google.cloud.config.v1", + "directory": "google/cloud/config/v1", "version": "v1", "majorVersion": "v1", - "hostName": "contactcenterinsights.googleapis.com", - "title": "Contact Center AI Insights API", - "description": "", + "hostName": "config.googleapis.com", + "title": "Infrastructure Manager API", + "description": "Creates and manages Google Cloud Platform resources and infrastructure.", "importDirectories": [ "google/api", - "google/cloud/contactcenterinsights/v1", "google/longrunning", "google/protobuf", "google/rpc" @@ -35745,833 +39887,1432 @@ "options": { "csharp_namespace": { "valueCounts": { - "Google.Cloud.ContactCenterInsights.V1": 2 + "Google.Cloud.Config.V1": 1 } }, "go_package": { "valueCounts": { - "cloud.google.com/go/contactcenterinsights/apiv1/contactcenterinsightspb;contactcenterinsightspb": 2 + "cloud.google.com/go/config/apiv1/configpb;configpb": 1 } }, "java_multiple_files": { "valueCounts": { - "true": 2 + "true": 1 } }, "java_package": { "valueCounts": { - "com.google.cloud.contactcenterinsights.v1": 2 + "com.google.cloud.config.v1": 1 } }, "php_namespace": { "valueCounts": { - "Google\\Cloud\\ContactCenterInsights\\V1": 2 + "Google\\Cloud\\Config\\V1": 1 } }, "ruby_package": { "valueCounts": { - "Google::Cloud::ContactCenterInsights::V1": 2 + "Google::Cloud::ConfigService::V1": 1 } } }, "services": [ { - "shortName": "ContactCenterInsights", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "shortName": "Config", + "fullName": "google.cloud.config.v1.Config", "methods": [ { - "shortName": "BulkAnalyzeConversations", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.BulkAnalyzeConversations", + "shortName": "CreateDeployment", + "fullName": "google.cloud.config.v1.Config.CreateDeployment", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/conversations:bulkAnalyze" + "path": "/v1/{parent=projects/*/locations/*}/deployments" } ] }, { - "shortName": "CalculateIssueModelStats", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CalculateIssueModelStats", + "shortName": "CreatePreview", + "fullName": "google.cloud.config.v1.Config.CreatePreview", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{issue_model=projects/*/locations/*/issueModels/*}:calculateIssueModelStats" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/previews" } ] }, { - "shortName": "CalculateStats", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CalculateStats", + "shortName": "DeleteDeployment", + "fullName": "google.cloud.config.v1.Config.DeleteDeployment", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{location=projects/*/locations/*}/conversations:calculateStats" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/deployments/*}" } ] }, { - "shortName": "CreateAnalysis", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateAnalysis", + "shortName": "DeletePreview", + "fullName": "google.cloud.config.v1.Config.DeletePreview", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*/conversations/*}/analyses" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/previews/*}" } ] }, { - "shortName": "CreateConversation", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateConversation", + "shortName": "DeleteStatefile", + "fullName": "google.cloud.config.v1.Config.DeleteStatefile", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/conversations" + "path": "/v1/{name=projects/*/locations/*/deployments/*}:deleteState" } ] }, { - "shortName": "CreateIssueModel", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateIssueModel", + "shortName": "ExportDeploymentStatefile", + "fullName": "google.cloud.config.v1.Config.ExportDeploymentStatefile", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/issueModels" + "path": "/v1/{parent=projects/*/locations/*/deployments/*}:exportState" } ] }, { - "shortName": "CreatePhraseMatcher", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreatePhraseMatcher", + "shortName": "ExportLockInfo", + "fullName": "google.cloud.config.v1.Config.ExportLockInfo", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/phraseMatchers" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/deployments/*}:exportLock" } ] }, { - "shortName": "CreateView", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateView", + "shortName": "ExportPreviewResult", + "fullName": "google.cloud.config.v1.Config.ExportPreviewResult", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/views" + "path": "/v1/{parent=projects/*/locations/*/previews/*}:export" } ] }, { - "shortName": "DeleteAnalysis", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteAnalysis", + "shortName": "ExportRevisionStatefile", + "fullName": "google.cloud.config.v1.Config.ExportRevisionStatefile", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/conversations/*/analyses/*}" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/deployments/*/revisions/*}:exportState" } ] }, { - "shortName": "DeleteConversation", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteConversation", + "shortName": "GetDeployment", + "fullName": "google.cloud.config.v1.Config.GetDeployment", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/conversations/*}" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/deployments/*}" } ] }, { - "shortName": "DeleteIssue", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteIssue", + "shortName": "GetPreview", + "fullName": "google.cloud.config.v1.Config.GetPreview", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/issueModels/*/issues/*}" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/previews/*}" } ] }, { - "shortName": "DeleteIssueModel", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteIssueModel", + "shortName": "GetResource", + "fullName": "google.cloud.config.v1.Config.GetResource", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/issueModels/*}" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/deployments/*/revisions/*/resources/*}" } ] }, { - "shortName": "DeletePhraseMatcher", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeletePhraseMatcher", + "shortName": "GetRevision", + "fullName": "google.cloud.config.v1.Config.GetRevision", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/phraseMatchers/*}" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/deployments/*/revisions/*}" } ] }, { - "shortName": "DeleteView", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteView", + "shortName": "ImportStatefile", + "fullName": "google.cloud.config.v1.Config.ImportStatefile", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/views/*}" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/deployments/*}:importState" } ] }, { - "shortName": "DeployIssueModel", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeployIssueModel", + "shortName": "ListDeployments", + "fullName": "google.cloud.config.v1.Config.ListDeployments", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/issueModels/*}:deploy" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/deployments" } ] }, { - "shortName": "ExportInsightsData", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ExportInsightsData", + "shortName": "ListPreviews", + "fullName": "google.cloud.config.v1.Config.ListPreviews", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/insightsdata:export" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/previews" } ] }, { - "shortName": "GetAnalysis", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetAnalysis", + "shortName": "ListResources", + "fullName": "google.cloud.config.v1.Config.ListResources", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/conversations/*/analyses/*}" + "path": "/v1/{parent=projects/*/locations/*/deployments/*/revisions/*}/resources" } ] }, { - "shortName": "GetConversation", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetConversation", + "shortName": "ListRevisions", + "fullName": "google.cloud.config.v1.Config.ListRevisions", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/conversations/*}" + "path": "/v1/{parent=projects/*/locations/*/deployments/*}/revisions" } ] }, { - "shortName": "GetIssue", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetIssue", + "shortName": "LockDeployment", + "fullName": "google.cloud.config.v1.Config.LockDeployment", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/issueModels/*/issues/*}" + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/deployments/*}:lock" } ] }, { - "shortName": "GetIssueModel", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetIssueModel", + "shortName": "UnlockDeployment", + "fullName": "google.cloud.config.v1.Config.UnlockDeployment", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/issueModels/*}" + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/deployments/*}:unlock" } ] }, { - "shortName": "GetPhraseMatcher", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetPhraseMatcher", + "shortName": "UpdateDeployment", + "fullName": "google.cloud.config.v1.Config.UpdateDeployment", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/phraseMatchers/*}" + "httpMethod": "PATCH", + "path": "/v1/{deployment.name=projects/*/locations/*/deployments/*}" } ] - }, - { - "shortName": "GetSettings", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetSettings", + } + ] + } + ], + "configFile": "config_v1.yaml", + "serviceConfigApiNames": [ + "google.cloud.config.v1.Config", + "google.cloud.location.Locations", + "google.iam.v1.IAMPolicy", + "google.longrunning.Operations" + ], + "nameInServiceConfig": "config.googleapis.com" + }, + { + "id": "google.cloud.connectors.v1", + "directory": "google/cloud/connectors/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "connectors.googleapis.com", + "title": "Connectors API", + "description": "Enables users to create and manage connections to Google Cloud services and third-party business applications using the Connectors interface.", + "importDirectories": [ + "google/api", + "google/cloud/connectors/v1", + "google/longrunning", + "google/protobuf" + ], + "options": { + "go_package": { + "valueCounts": { + "cloud.google.com/go/connectors/apiv1/connectorspb;connectorspb": 11 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 11 + } + }, + "java_package": { + "valueCounts": { + "": 1, + "com.google.cloud.connectors.v1": 10 + } + } + }, + "services": [ + { + "shortName": "Connectors", + "fullName": "google.cloud.connectors.v1.Connectors", + "methods": [ + { + "shortName": "CreateConnection", + "fullName": "google.cloud.connectors.v1.Connectors.CreateConnection", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/settings}" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/connections" } ] }, { - "shortName": "GetView", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetView", + "shortName": "DeleteConnection", + "fullName": "google.cloud.connectors.v1.Connectors.DeleteConnection", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/connections/*}" + } + ] + }, + { + "shortName": "GetConnection", + "fullName": "google.cloud.connectors.v1.Connectors.GetConnection", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/views/*}" + "path": "/v1/{name=projects/*/locations/*/connections/*}" } ] }, { - "shortName": "IngestConversations", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.IngestConversations", + "shortName": "GetConnectionSchemaMetadata", + "fullName": "google.cloud.connectors.v1.Connectors.GetConnectionSchemaMetadata", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/conversations:ingest" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/connections/*/connectionSchemaMetadata}" } ] }, { - "shortName": "ListAnalyses", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListAnalyses", + "shortName": "GetConnector", + "fullName": "google.cloud.connectors.v1.Connectors.GetConnector", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*/conversations/*}/analyses" + "path": "/v1/{name=projects/*/locations/*/providers/*/connectors/*}" } ] }, { - "shortName": "ListConversations", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListConversations", + "shortName": "GetConnectorVersion", + "fullName": "google.cloud.connectors.v1.Connectors.GetConnectorVersion", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/conversations" + "path": "/v1/{name=projects/*/locations/*/providers/*/connectors/*/versions/*}" } ] }, { - "shortName": "ListIssueModels", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListIssueModels", + "shortName": "GetGlobalSettings", + "fullName": "google.cloud.connectors.v1.Connectors.GetGlobalSettings", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/issueModels" + "path": "/v1/{name=projects/*/locations/global/settings}" } ] }, { - "shortName": "ListIssues", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListIssues", + "shortName": "GetProvider", + "fullName": "google.cloud.connectors.v1.Connectors.GetProvider", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*/issueModels/*}/issues" + "path": "/v1/{name=projects/*/locations/*/providers/*}" } ] }, { - "shortName": "ListPhraseMatchers", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListPhraseMatchers", + "shortName": "GetRuntimeConfig", + "fullName": "google.cloud.connectors.v1.Connectors.GetRuntimeConfig", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/phraseMatchers" + "path": "/v1/{name=projects/*/locations/*/runtimeConfig}" } ] }, { - "shortName": "ListViews", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListViews", + "shortName": "ListConnections", + "fullName": "google.cloud.connectors.v1.Connectors.ListConnections", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/views" + "path": "/v1/{parent=projects/*/locations/*}/connections" } ] }, { - "shortName": "UndeployIssueModel", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UndeployIssueModel", + "shortName": "ListConnectorVersions", + "fullName": "google.cloud.connectors.v1.Connectors.ListConnectorVersions", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/issueModels/*}:undeploy" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/providers/*/connectors/*}/versions" } ] }, { - "shortName": "UpdateConversation", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateConversation", + "shortName": "ListConnectors", + "fullName": "google.cloud.connectors.v1.Connectors.ListConnectors", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{conversation.name=projects/*/locations/*/conversations/*}" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/providers/*}/connectors" } ] }, { - "shortName": "UpdateIssue", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateIssue", + "shortName": "ListProviders", + "fullName": "google.cloud.connectors.v1.Connectors.ListProviders", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{issue.name=projects/*/locations/*/issueModels/*/issues/*}" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/providers" } ] }, { - "shortName": "UpdateIssueModel", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateIssueModel", + "shortName": "ListRuntimeActionSchemas", + "fullName": "google.cloud.connectors.v1.Connectors.ListRuntimeActionSchemas", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{issue_model.name=projects/*/locations/*/issueModels/*}" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/connections/*}/runtimeActionSchemas" } ] }, { - "shortName": "UpdatePhraseMatcher", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdatePhraseMatcher", + "shortName": "ListRuntimeEntitySchemas", + "fullName": "google.cloud.connectors.v1.Connectors.ListRuntimeEntitySchemas", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{phrase_matcher.name=projects/*/locations/*/phraseMatchers/*}" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/connections/*}/runtimeEntitySchemas" } ] }, { - "shortName": "UpdateSettings", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateSettings", + "shortName": "RefreshConnectionSchemaMetadata", + "fullName": "google.cloud.connectors.v1.Connectors.RefreshConnectionSchemaMetadata", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{settings.name=projects/*/locations/*/settings}" + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/connections/*/connectionSchemaMetadata}:refresh" } ] }, { - "shortName": "UpdateView", - "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateView", + "shortName": "UpdateConnection", + "fullName": "google.cloud.connectors.v1.Connectors.UpdateConnection", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1/{view.name=projects/*/locations/*/views/*}" + "path": "/v1/{connection.name=projects/*/locations/*/connections/*}" } ] } ] } ], - "configFile": "contactcenterinsights_v1.yaml", + "configFile": "connectors_v1.yaml", "serviceConfigApiNames": [ - "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "google.cloud.connectors.v1.Connectors", + "google.cloud.location.Locations", + "google.iam.v1.IAMPolicy", "google.longrunning.Operations" ], - "nameInServiceConfig": "contactcenterinsights.googleapis.com" + "nameInServiceConfig": "connectors.googleapis.com" }, { - "id": "google.cloud.contentwarehouse.v1", - "directory": "google/cloud/contentwarehouse/v1", + "id": "google.cloud.contactcenterinsights.v1", + "directory": "google/cloud/contactcenterinsights/v1", "version": "v1", "majorVersion": "v1", - "hostName": "contentwarehouse.googleapis.com", - "title": "contentwarehouse API", + "hostName": "contactcenterinsights.googleapis.com", + "title": "Contact Center AI Insights API", "description": "", "importDirectories": [ "google/api", - "google/cloud/contentwarehouse/v1", - "google/cloud/documentai/v1", - "google/iam/v1", + "google/cloud/contactcenterinsights/v1", + "google/longrunning", "google/protobuf", - "google/type" + "google/rpc" ], "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.ContactCenterInsights.V1": 2 + } + }, "go_package": { "valueCounts": { - "cloud.google.com/go/contentwarehouse/apiv1/contentwarehousepb;contentwarehousepb": 16 + "cloud.google.com/go/contactcenterinsights/apiv1/contactcenterinsightspb;contactcenterinsightspb": 2 } }, "java_multiple_files": { "valueCounts": { - "true": 16 + "true": 2 } }, "java_package": { "valueCounts": { - "com.google.cloud.contentwarehouse.v1": 16 + "com.google.cloud.contactcenterinsights.v1": 2 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\ContactCenterInsights\\V1": 2 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::ContactCenterInsights::V1": 2 } } }, "services": [ { - "shortName": "DocumentLinkService", - "fullName": "google.cloud.contentwarehouse.v1.DocumentLinkService", + "shortName": "ContactCenterInsights", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights", "methods": [ { - "shortName": "CreateDocumentLink", - "fullName": "google.cloud.contentwarehouse.v1.DocumentLinkService.CreateDocumentLink", + "shortName": "BulkAnalyzeConversations", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.BulkAnalyzeConversations", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*/documents/*}/documentLinks" + "path": "/v1/{parent=projects/*/locations/*}/conversations:bulkAnalyze" } ] }, { - "shortName": "DeleteDocumentLink", - "fullName": "google.cloud.contentwarehouse.v1.DocumentLinkService.DeleteDocumentLink", + "shortName": "BulkDeleteConversations", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.BulkDeleteConversations", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/documents/*/documentLinks/*}:delete" + "path": "/v1/{parent=projects/*/locations/*}/conversations:bulkDelete" } ] }, { - "shortName": "ListLinkedSources", - "fullName": "google.cloud.contentwarehouse.v1.DocumentLinkService.ListLinkedSources", + "shortName": "CalculateIssueModelStats", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CalculateIssueModelStats", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{issue_model=projects/*/locations/*/issueModels/*}:calculateIssueModelStats" + } + ] + }, + { + "shortName": "CalculateStats", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CalculateStats", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{location=projects/*/locations/*}/conversations:calculateStats" + } + ] + }, + { + "shortName": "CreateAnalysis", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateAnalysis", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*/documents/*}/linkedSources" + "path": "/v1/{parent=projects/*/locations/*/conversations/*}/analyses" } ] }, { - "shortName": "ListLinkedTargets", - "fullName": "google.cloud.contentwarehouse.v1.DocumentLinkService.ListLinkedTargets", + "shortName": "CreateConversation", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateConversation", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*/documents/*}/linkedTargets" + "path": "/v1/{parent=projects/*/locations/*}/conversations" } ] - } - ] - }, - { - "shortName": "DocumentSchemaService", - "fullName": "google.cloud.contentwarehouse.v1.DocumentSchemaService", - "methods": [ + }, { - "shortName": "CreateDocumentSchema", - "fullName": "google.cloud.contentwarehouse.v1.DocumentSchemaService.CreateDocumentSchema", + "shortName": "CreateIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateIssueModel", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/documentSchemas" + "path": "/v1/{parent=projects/*/locations/*}/issueModels" } ] }, { - "shortName": "DeleteDocumentSchema", - "fullName": "google.cloud.contentwarehouse.v1.DocumentSchemaService.DeleteDocumentSchema", + "shortName": "CreatePhraseMatcher", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreatePhraseMatcher", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/documentSchemas/*}" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/phraseMatchers" } ] }, { - "shortName": "GetDocumentSchema", - "fullName": "google.cloud.contentwarehouse.v1.DocumentSchemaService.GetDocumentSchema", + "shortName": "CreateView", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.CreateView", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/documentSchemas/*}" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/views" } ] }, { - "shortName": "ListDocumentSchemas", - "fullName": "google.cloud.contentwarehouse.v1.DocumentSchemaService.ListDocumentSchemas", + "shortName": "DeleteAnalysis", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteAnalysis", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/documentSchemas" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/conversations/*/analyses/*}" } ] }, { - "shortName": "UpdateDocumentSchema", - "fullName": "google.cloud.contentwarehouse.v1.DocumentSchemaService.UpdateDocumentSchema", + "shortName": "DeleteConversation", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteConversation", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{name=projects/*/locations/*/documentSchemas/*}" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/conversations/*}" } ] - } - ] - }, - { - "shortName": "DocumentService", - "fullName": "google.cloud.contentwarehouse.v1.DocumentService", - "methods": [ + }, { - "shortName": "CreateDocument", - "fullName": "google.cloud.contentwarehouse.v1.DocumentService.CreateDocument", + "shortName": "DeleteIssue", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteIssue", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/documents" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/issueModels/*/issues/*}" } ] }, { - "shortName": "DeleteDocument", - "fullName": "google.cloud.contentwarehouse.v1.DocumentService.DeleteDocument", + "shortName": "DeleteIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteIssueModel", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/documents/*}:delete" - }, + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/issueModels/*}" + } + ] + }, + { + "shortName": "DeletePhraseMatcher", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeletePhraseMatcher", + "mode": "UNARY", + "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/documents/referenceId/*}:delete" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/phraseMatchers/*}" } ] }, { - "shortName": "FetchAcl", - "fullName": "google.cloud.contentwarehouse.v1.DocumentService.FetchAcl", + "shortName": "DeleteView", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeleteView", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{resource=projects/*/locations/*/documents/*}:fetchAcl" - }, + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/views/*}" + } + ] + }, + { + "shortName": "DeployIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.DeployIssueModel", + "mode": "UNARY", + "bindings": [ { "httpMethod": "POST", - "path": "/v1/{resource=projects/*}:fetchAcl" + "path": "/v1/{name=projects/*/locations/*/issueModels/*}:deploy" } ] }, { - "shortName": "GetDocument", - "fullName": "google.cloud.contentwarehouse.v1.DocumentService.GetDocument", + "shortName": "ExportInsightsData", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ExportInsightsData", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/documents/*}:get" - }, + "path": "/v1/{parent=projects/*/locations/*}/insightsdata:export" + } + ] + }, + { + "shortName": "GetAnalysis", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetAnalysis", + "mode": "UNARY", + "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/documents/referenceId/*}:get" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/conversations/*/analyses/*}" } ] }, { - "shortName": "SearchDocuments", - "fullName": "google.cloud.contentwarehouse.v1.DocumentService.SearchDocuments", + "shortName": "GetConversation", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetConversation", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/documents:search" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/conversations/*}" } ] }, { - "shortName": "SetAcl", - "fullName": "google.cloud.contentwarehouse.v1.DocumentService.SetAcl", + "shortName": "GetIssue", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetIssue", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{resource=projects/*/locations/*/documents/*}:setAcl" - }, + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/issueModels/*/issues/*}" + } + ] + }, + { + "shortName": "GetIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetIssueModel", + "mode": "UNARY", + "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{resource=projects/*}:setAcl" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/issueModels/*}" } ] }, { - "shortName": "UpdateDocument", - "fullName": "google.cloud.contentwarehouse.v1.DocumentService.UpdateDocument", + "shortName": "GetPhraseMatcher", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetPhraseMatcher", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{name=projects/*/locations/*/documents/*}" - }, + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/phraseMatchers/*}" + } + ] + }, + { + "shortName": "GetSettings", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetSettings", + "mode": "UNARY", + "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{name=projects/*/locations/*/documents/referenceId/*}" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/settings}" } ] - } - ] - }, - { - "shortName": "RuleSetService", - "fullName": "google.cloud.contentwarehouse.v1.RuleSetService", - "methods": [ + }, { - "shortName": "CreateRuleSet", - "fullName": "google.cloud.contentwarehouse.v1.RuleSetService.CreateRuleSet", + "shortName": "GetView", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.GetView", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/ruleSets" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/views/*}" } ] }, { - "shortName": "DeleteRuleSet", - "fullName": "google.cloud.contentwarehouse.v1.RuleSetService.DeleteRuleSet", + "shortName": "IngestConversations", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.IngestConversations", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/ruleSets/*}" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/conversations:ingest" } ] }, { - "shortName": "GetRuleSet", - "fullName": "google.cloud.contentwarehouse.v1.RuleSetService.GetRuleSet", + "shortName": "ListAnalyses", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListAnalyses", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/ruleSets/*}" + "path": "/v1/{parent=projects/*/locations/*/conversations/*}/analyses" } ] }, { - "shortName": "ListRuleSets", - "fullName": "google.cloud.contentwarehouse.v1.RuleSetService.ListRuleSets", + "shortName": "ListConversations", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListConversations", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/ruleSets" + "path": "/v1/{parent=projects/*/locations/*}/conversations" } ] }, { - "shortName": "UpdateRuleSet", - "fullName": "google.cloud.contentwarehouse.v1.RuleSetService.UpdateRuleSet", + "shortName": "ListIssueModels", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListIssueModels", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{name=projects/*/locations/*/ruleSets/*}" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/issueModels" } ] - } - ] - }, - { - "shortName": "SynonymSetService", - "fullName": "google.cloud.contentwarehouse.v1.SynonymSetService", - "methods": [ + }, { - "shortName": "CreateSynonymSet", - "fullName": "google.cloud.contentwarehouse.v1.SynonymSetService.CreateSynonymSet", + "shortName": "ListIssues", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListIssues", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/synonymSets" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/issueModels/*}/issues" } ] }, { - "shortName": "DeleteSynonymSet", - "fullName": "google.cloud.contentwarehouse.v1.SynonymSetService.DeleteSynonymSet", + "shortName": "ListPhraseMatchers", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListPhraseMatchers", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/synonymSets/*}" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/phraseMatchers" } ] }, { - "shortName": "GetSynonymSet", - "fullName": "google.cloud.contentwarehouse.v1.SynonymSetService.GetSynonymSet", + "shortName": "ListViews", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.ListViews", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/synonymSets/*}" + "path": "/v1/{parent=projects/*/locations/*}/views" } ] }, { - "shortName": "ListSynonymSets", - "fullName": "google.cloud.contentwarehouse.v1.SynonymSetService.ListSynonymSets", + "shortName": "UndeployIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UndeployIssueModel", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/synonymSets" + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/issueModels/*}:undeploy" } ] }, { - "shortName": "UpdateSynonymSet", - "fullName": "google.cloud.contentwarehouse.v1.SynonymSetService.UpdateSynonymSet", + "shortName": "UpdateConversation", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateConversation", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1/{name=projects/*/locations/*/synonymSets/*}" + "path": "/v1/{conversation.name=projects/*/locations/*/conversations/*}" } ] - } - ] - } + }, + { + "shortName": "UpdateIssue", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateIssue", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{issue.name=projects/*/locations/*/issueModels/*/issues/*}" + } + ] + }, + { + "shortName": "UpdateIssueModel", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateIssueModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{issue_model.name=projects/*/locations/*/issueModels/*}" + } + ] + }, + { + "shortName": "UpdatePhraseMatcher", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdatePhraseMatcher", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{phrase_matcher.name=projects/*/locations/*/phraseMatchers/*}" + } + ] + }, + { + "shortName": "UpdateSettings", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{settings.name=projects/*/locations/*/settings}" + } + ] + }, + { + "shortName": "UpdateView", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UpdateView", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{view.name=projects/*/locations/*/views/*}" + } + ] + }, + { + "shortName": "UploadConversation", + "fullName": "google.cloud.contactcenterinsights.v1.ContactCenterInsights.UploadConversation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/conversations:upload" + } + ] + } + ] + } + ], + "configFile": "contactcenterinsights_v1.yaml", + "serviceConfigApiNames": [ + "google.cloud.contactcenterinsights.v1.ContactCenterInsights", + "google.longrunning.Operations" + ], + "nameInServiceConfig": "contactcenterinsights.googleapis.com" + }, + { + "id": "google.cloud.contentwarehouse.v1", + "directory": "google/cloud/contentwarehouse/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "contentwarehouse.googleapis.com", + "title": "Document AI Warehouse API", + "description": "", + "importDirectories": [ + "google/api", + "google/cloud/contentwarehouse/v1", + "google/cloud/documentai/v1", + "google/iam/v1", + "google/longrunning", + "google/protobuf", + "google/rpc", + "google/type" + ], + "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.ContentWarehouse.V1": 18 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/contentwarehouse/apiv1/contentwarehousepb;contentwarehousepb": 18 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 18 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.contentwarehouse.v1": 18 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\ContentWarehouse\\V1": 18 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::ContentWarehouse::V1": 18 + } + } + }, + "services": [ + { + "shortName": "DocumentLinkService", + "fullName": "google.cloud.contentwarehouse.v1.DocumentLinkService", + "methods": [ + { + "shortName": "CreateDocumentLink", + "fullName": "google.cloud.contentwarehouse.v1.DocumentLinkService.CreateDocumentLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/documents/*}/documentLinks" + } + ] + }, + { + "shortName": "DeleteDocumentLink", + "fullName": "google.cloud.contentwarehouse.v1.DocumentLinkService.DeleteDocumentLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/documents/*/documentLinks/*}:delete" + } + ] + }, + { + "shortName": "ListLinkedSources", + "fullName": "google.cloud.contentwarehouse.v1.DocumentLinkService.ListLinkedSources", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/documents/*}/linkedSources" + } + ] + }, + { + "shortName": "ListLinkedTargets", + "fullName": "google.cloud.contentwarehouse.v1.DocumentLinkService.ListLinkedTargets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/documents/*}/linkedTargets" + } + ] + } + ] + }, + { + "shortName": "DocumentSchemaService", + "fullName": "google.cloud.contentwarehouse.v1.DocumentSchemaService", + "methods": [ + { + "shortName": "CreateDocumentSchema", + "fullName": "google.cloud.contentwarehouse.v1.DocumentSchemaService.CreateDocumentSchema", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/documentSchemas" + } + ] + }, + { + "shortName": "DeleteDocumentSchema", + "fullName": "google.cloud.contentwarehouse.v1.DocumentSchemaService.DeleteDocumentSchema", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/documentSchemas/*}" + } + ] + }, + { + "shortName": "GetDocumentSchema", + "fullName": "google.cloud.contentwarehouse.v1.DocumentSchemaService.GetDocumentSchema", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/documentSchemas/*}" + } + ] + }, + { + "shortName": "ListDocumentSchemas", + "fullName": "google.cloud.contentwarehouse.v1.DocumentSchemaService.ListDocumentSchemas", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/documentSchemas" + } + ] + }, + { + "shortName": "UpdateDocumentSchema", + "fullName": "google.cloud.contentwarehouse.v1.DocumentSchemaService.UpdateDocumentSchema", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{name=projects/*/locations/*/documentSchemas/*}" + } + ] + } + ] + }, + { + "shortName": "DocumentService", + "fullName": "google.cloud.contentwarehouse.v1.DocumentService", + "methods": [ + { + "shortName": "CreateDocument", + "fullName": "google.cloud.contentwarehouse.v1.DocumentService.CreateDocument", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/documents" + } + ] + }, + { + "shortName": "DeleteDocument", + "fullName": "google.cloud.contentwarehouse.v1.DocumentService.DeleteDocument", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/documents/*}:delete" + }, + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/documents/referenceId/*}:delete" + } + ] + }, + { + "shortName": "FetchAcl", + "fullName": "google.cloud.contentwarehouse.v1.DocumentService.FetchAcl", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/locations/*/documents/*}:fetchAcl" + }, + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*}:fetchAcl" + } + ] + }, + { + "shortName": "GetDocument", + "fullName": "google.cloud.contentwarehouse.v1.DocumentService.GetDocument", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/documents/*}:get" + }, + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/documents/referenceId/*}:get" + } + ] + }, + { + "shortName": "LockDocument", + "fullName": "google.cloud.contentwarehouse.v1.DocumentService.LockDocument", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/documents/*}:lock" + } + ] + }, + { + "shortName": "SearchDocuments", + "fullName": "google.cloud.contentwarehouse.v1.DocumentService.SearchDocuments", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/documents:search" + } + ] + }, + { + "shortName": "SetAcl", + "fullName": "google.cloud.contentwarehouse.v1.DocumentService.SetAcl", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/locations/*/documents/*}:setAcl" + }, + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*}:setAcl" + } + ] + }, + { + "shortName": "UpdateDocument", + "fullName": "google.cloud.contentwarehouse.v1.DocumentService.UpdateDocument", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{name=projects/*/locations/*/documents/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{name=projects/*/locations/*/documents/referenceId/*}" + } + ] + } + ] + }, + { + "shortName": "PipelineService", + "fullName": "google.cloud.contentwarehouse.v1.PipelineService", + "methods": [ + { + "shortName": "RunPipeline", + "fullName": "google.cloud.contentwarehouse.v1.PipelineService.RunPipeline", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*}:runPipeline" + } + ] + } + ] + }, + { + "shortName": "RuleSetService", + "fullName": "google.cloud.contentwarehouse.v1.RuleSetService", + "methods": [ + { + "shortName": "CreateRuleSet", + "fullName": "google.cloud.contentwarehouse.v1.RuleSetService.CreateRuleSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/ruleSets" + } + ] + }, + { + "shortName": "DeleteRuleSet", + "fullName": "google.cloud.contentwarehouse.v1.RuleSetService.DeleteRuleSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/ruleSets/*}" + } + ] + }, + { + "shortName": "GetRuleSet", + "fullName": "google.cloud.contentwarehouse.v1.RuleSetService.GetRuleSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/ruleSets/*}" + } + ] + }, + { + "shortName": "ListRuleSets", + "fullName": "google.cloud.contentwarehouse.v1.RuleSetService.ListRuleSets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/ruleSets" + } + ] + }, + { + "shortName": "UpdateRuleSet", + "fullName": "google.cloud.contentwarehouse.v1.RuleSetService.UpdateRuleSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{name=projects/*/locations/*/ruleSets/*}" + } + ] + } + ] + }, + { + "shortName": "SynonymSetService", + "fullName": "google.cloud.contentwarehouse.v1.SynonymSetService", + "methods": [ + { + "shortName": "CreateSynonymSet", + "fullName": "google.cloud.contentwarehouse.v1.SynonymSetService.CreateSynonymSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/synonymSets" + } + ] + }, + { + "shortName": "DeleteSynonymSet", + "fullName": "google.cloud.contentwarehouse.v1.SynonymSetService.DeleteSynonymSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/synonymSets/*}" + } + ] + }, + { + "shortName": "GetSynonymSet", + "fullName": "google.cloud.contentwarehouse.v1.SynonymSetService.GetSynonymSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/synonymSets/*}" + } + ] + }, + { + "shortName": "ListSynonymSets", + "fullName": "google.cloud.contentwarehouse.v1.SynonymSetService.ListSynonymSets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/synonymSets" + } + ] + }, + { + "shortName": "UpdateSynonymSet", + "fullName": "google.cloud.contentwarehouse.v1.SynonymSetService.UpdateSynonymSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{name=projects/*/locations/*/synonymSets/*}" + } + ] + } + ] + } ], "configFile": "contentwarehouse_v1.yaml", "serviceConfigApiNames": [ "google.cloud.contentwarehouse.v1.DocumentLinkService", "google.cloud.contentwarehouse.v1.DocumentSchemaService", "google.cloud.contentwarehouse.v1.DocumentService", + "google.cloud.contentwarehouse.v1.PipelineService", "google.cloud.contentwarehouse.v1.RuleSetService", "google.cloud.contentwarehouse.v1.SynonymSetService", "google.longrunning.Operations" @@ -36771,6 +41512,17 @@ } ] }, + { + "shortName": "ProcessOpenLineageRunEvent", + "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.ProcessOpenLineageRunEvent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}:processOpenLineageRunEvent" + } + ] + }, { "shortName": "SearchLinks", "fullName": "google.cloud.datacatalog.lineage.v1.Lineage.SearchLinks", @@ -36826,42 +41578,44 @@ "google/api", "google/cloud/datacatalog/v1", "google/iam/v1", - "google/protobuf" + "google/longrunning", + "google/protobuf", + "google/rpc" ], "options": { "cc_enable_arenas": { "valueCounts": { - "true": 15 + "true": 16 } }, "csharp_namespace": { "valueCounts": { - "Google.Cloud.DataCatalog.V1": 15 + "Google.Cloud.DataCatalog.V1": 16 } }, "go_package": { "valueCounts": { - "cloud.google.com/go/datacatalog/apiv1/datacatalogpb;datacatalogpb": 15 + "cloud.google.com/go/datacatalog/apiv1/datacatalogpb;datacatalogpb": 16 } }, "java_multiple_files": { "valueCounts": { - "true": 15 + "true": 16 } }, "java_package": { "valueCounts": { - "com.google.cloud.datacatalog.v1": 15 + "com.google.cloud.datacatalog.v1": 16 } }, "php_namespace": { "valueCounts": { - "Google\\Cloud\\DataCatalog\\V1": 15 + "Google\\Cloud\\DataCatalog\\V1": 16 } }, "ruby_package": { "valueCounts": { - "Google::Cloud::DataCatalog::V1": 15 + "Google::Cloud::DataCatalog::V1": 16 } } }, @@ -37040,6 +41794,17 @@ } ] }, + { + "shortName": "ImportEntries", + "fullName": "google.cloud.datacatalog.v1.DataCatalog.ImportEntries", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/entryGroups/*}/entries:import" + } + ] + }, { "shortName": "ListEntries", "fullName": "google.cloud.datacatalog.v1.DataCatalog.ListEntries", @@ -37110,6 +41875,17 @@ } ] }, + { + "shortName": "ReconcileTags", + "fullName": "google.cloud.datacatalog.v1.DataCatalog.ReconcileTags", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/entryGroups/*/entries/*}/tags:reconcile" + } + ] + }, { "shortName": "RenameTagTemplateField", "fullName": "google.cloud.datacatalog.v1.DataCatalog.RenameTagTemplateField", @@ -37488,37 +42264,37 @@ "options": { "cc_enable_arenas": { "valueCounts": { - "true": 10 + "true": 11 } }, "csharp_namespace": { "valueCounts": { - "Google.Cloud.DataCatalog.V1Beta1": 10 + "Google.Cloud.DataCatalog.V1Beta1": 11 } }, "go_package": { "valueCounts": { - "cloud.google.com/go/datacatalog/apiv1beta1/datacatalogpb;datacatalogpb": 10 + "cloud.google.com/go/datacatalog/apiv1beta1/datacatalogpb;datacatalogpb": 11 } }, "java_multiple_files": { "valueCounts": { - "true": 10 + "true": 11 } }, "java_package": { "valueCounts": { - "com.google.cloud.datacatalog.v1beta1": 10 + "com.google.cloud.datacatalog.v1beta1": 11 } }, "php_namespace": { "valueCounts": { - "Google\\Cloud\\DataCatalog\\V1beta1": 10 + "Google\\Cloud\\DataCatalog\\V1beta1": 11 } }, "ruby_package": { "valueCounts": { - "Google::Cloud::DataCatalog::V1beta1": 10 + "Google::Cloud::DataCatalog::V1beta1": 11 } } }, @@ -37756,6 +42532,17 @@ } ] }, + { + "shortName": "RenameTagTemplateFieldEnumValue", + "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.RenameTagTemplateFieldEnumValue", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/tagTemplates/*/fields/*/enumValues/*}:rename" + } + ] + }, { "shortName": "SearchCatalog", "fullName": "google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog", @@ -38056,7 +42843,9 @@ "serviceConfigApiNames": [ "google.cloud.datacatalog.v1beta1.DataCatalog", "google.cloud.datacatalog.v1beta1.PolicyTagManager", - "google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization" + "google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization", + "google.iam.v1.IAMPolicy", + "google.longrunning.Operations" ], "nameInServiceConfig": "datacatalog.googleapis.com" }, @@ -38524,10 +43313,11 @@ "majorVersion": "v1", "hostName": "dataform.googleapis.com", "title": "Dataform API", - "description": "", + "description": "Service to develop, version control, and operationalize SQL pipelines in BigQuery.", "importDirectories": [ "google/api", "google/protobuf", + "google/rpc", "google/type" ], "options": { @@ -38578,6 +43368,17 @@ } ] }, + { + "shortName": "CommitRepositoryChanges", + "fullName": "google.cloud.dataform.v1beta1.Dataform.CommitRepositoryChanges", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/repositories/*}:commit" + } + ] + }, { "shortName": "CommitWorkspaceChanges", "fullName": "google.cloud.dataform.v1beta1.Dataform.CommitWorkspaceChanges", @@ -38589,6 +43390,17 @@ } ] }, + { + "shortName": "ComputeRepositoryAccessTokenStatus", + "fullName": "google.cloud.dataform.v1beta1.Dataform.ComputeRepositoryAccessTokenStatus", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/repositories/*}:computeAccessTokenStatus" + } + ] + }, { "shortName": "CreateCompilationResult", "fullName": "google.cloud.dataform.v1beta1.Dataform.CreateCompilationResult", @@ -38600,6 +43412,17 @@ } ] }, + { + "shortName": "CreateReleaseConfig", + "fullName": "google.cloud.dataform.v1beta1.Dataform.CreateReleaseConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*/repositories/*}/releaseConfigs" + } + ] + }, { "shortName": "CreateRepository", "fullName": "google.cloud.dataform.v1beta1.Dataform.CreateRepository", @@ -38611,6 +43434,17 @@ } ] }, + { + "shortName": "CreateWorkflowConfig", + "fullName": "google.cloud.dataform.v1beta1.Dataform.CreateWorkflowConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*/repositories/*}/workflowConfigs" + } + ] + }, { "shortName": "CreateWorkflowInvocation", "fullName": "google.cloud.dataform.v1beta1.Dataform.CreateWorkflowInvocation", @@ -38633,6 +43467,17 @@ } ] }, + { + "shortName": "DeleteReleaseConfig", + "fullName": "google.cloud.dataform.v1beta1.Dataform.DeleteReleaseConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/repositories/*/releaseConfigs/*}" + } + ] + }, { "shortName": "DeleteRepository", "fullName": "google.cloud.dataform.v1beta1.Dataform.DeleteRepository", @@ -38644,6 +43489,17 @@ } ] }, + { + "shortName": "DeleteWorkflowConfig", + "fullName": "google.cloud.dataform.v1beta1.Dataform.DeleteWorkflowConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/repositories/*/workflowConfigs/*}" + } + ] + }, { "shortName": "DeleteWorkflowInvocation", "fullName": "google.cloud.dataform.v1beta1.Dataform.DeleteWorkflowInvocation", @@ -38710,6 +43566,17 @@ } ] }, + { + "shortName": "FetchRepositoryHistory", + "fullName": "google.cloud.dataform.v1beta1.Dataform.FetchRepositoryHistory", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/repositories/*}:fetchHistory" + } + ] + }, { "shortName": "GetCompilationResult", "fullName": "google.cloud.dataform.v1beta1.Dataform.GetCompilationResult", @@ -38721,6 +43588,17 @@ } ] }, + { + "shortName": "GetReleaseConfig", + "fullName": "google.cloud.dataform.v1beta1.Dataform.GetReleaseConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/repositories/*/releaseConfigs/*}" + } + ] + }, { "shortName": "GetRepository", "fullName": "google.cloud.dataform.v1beta1.Dataform.GetRepository", @@ -38732,6 +43610,17 @@ } ] }, + { + "shortName": "GetWorkflowConfig", + "fullName": "google.cloud.dataform.v1beta1.Dataform.GetWorkflowConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/repositories/*/workflowConfigs/*}" + } + ] + }, { "shortName": "GetWorkflowInvocation", "fullName": "google.cloud.dataform.v1beta1.Dataform.GetWorkflowInvocation", @@ -38776,6 +43665,17 @@ } ] }, + { + "shortName": "ListReleaseConfigs", + "fullName": "google.cloud.dataform.v1beta1.Dataform.ListReleaseConfigs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*/repositories/*}/releaseConfigs" + } + ] + }, { "shortName": "ListRepositories", "fullName": "google.cloud.dataform.v1beta1.Dataform.ListRepositories", @@ -38787,6 +43687,17 @@ } ] }, + { + "shortName": "ListWorkflowConfigs", + "fullName": "google.cloud.dataform.v1beta1.Dataform.ListWorkflowConfigs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*/repositories/*}/workflowConfigs" + } + ] + }, { "shortName": "ListWorkflowInvocations", "fullName": "google.cloud.dataform.v1beta1.Dataform.ListWorkflowInvocations", @@ -38886,6 +43797,17 @@ } ] }, + { + "shortName": "QueryRepositoryDirectoryContents", + "fullName": "google.cloud.dataform.v1beta1.Dataform.QueryRepositoryDirectoryContents", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/repositories/*}:queryDirectoryContents" + } + ] + }, { "shortName": "QueryWorkflowInvocationActions", "fullName": "google.cloud.dataform.v1beta1.Dataform.QueryWorkflowInvocationActions", @@ -38908,6 +43830,17 @@ } ] }, + { + "shortName": "ReadRepositoryFile", + "fullName": "google.cloud.dataform.v1beta1.Dataform.ReadRepositoryFile", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/repositories/*}:readFile" + } + ] + }, { "shortName": "RemoveDirectory", "fullName": "google.cloud.dataform.v1beta1.Dataform.RemoveDirectory", @@ -38941,6 +43874,17 @@ } ] }, + { + "shortName": "UpdateReleaseConfig", + "fullName": "google.cloud.dataform.v1beta1.Dataform.UpdateReleaseConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{release_config.name=projects/*/locations/*/repositories/*/releaseConfigs/*}" + } + ] + }, { "shortName": "UpdateRepository", "fullName": "google.cloud.dataform.v1beta1.Dataform.UpdateRepository", @@ -38952,6 +43896,17 @@ } ] }, + { + "shortName": "UpdateWorkflowConfig", + "fullName": "google.cloud.dataform.v1beta1.Dataform.UpdateWorkflowConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{workflow_config.name=projects/*/locations/*/repositories/*/workflowConfigs/*}" + } + ] + }, { "shortName": "WriteFile", "fullName": "google.cloud.dataform.v1beta1.Dataform.WriteFile", @@ -39767,17 +44722,17 @@ "options": { "go_package": { "valueCounts": { - "cloud.google.com/go/dataplex/apiv1/dataplexpb;dataplexpb": 11 + "cloud.google.com/go/dataplex/apiv1/dataplexpb;dataplexpb": 13 } }, "java_multiple_files": { "valueCounts": { - "true": 11 + "true": 13 } }, "java_package": { "valueCounts": { - "com.google.cloud.dataplex.v1": 11 + "com.google.cloud.dataplex.v1": 13 } } }, @@ -40002,6 +44957,177 @@ } ] }, + { + "shortName": "DataTaxonomyService", + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService", + "methods": [ + { + "shortName": "CreateDataAttribute", + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService.CreateDataAttribute", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/dataTaxonomies/*}/attributes" + } + ] + }, + { + "shortName": "CreateDataAttributeBinding", + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService.CreateDataAttributeBinding", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/dataAttributeBindings" + } + ] + }, + { + "shortName": "CreateDataTaxonomy", + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService.CreateDataTaxonomy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/dataTaxonomies" + } + ] + }, + { + "shortName": "DeleteDataAttribute", + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService.DeleteDataAttribute", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/dataTaxonomies/*/attributes/*}" + } + ] + }, + { + "shortName": "DeleteDataAttributeBinding", + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService.DeleteDataAttributeBinding", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/dataAttributeBindings/*}" + } + ] + }, + { + "shortName": "DeleteDataTaxonomy", + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService.DeleteDataTaxonomy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/dataTaxonomies/*}" + } + ] + }, + { + "shortName": "GetDataAttribute", + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService.GetDataAttribute", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/dataTaxonomies/*/attributes/*}" + } + ] + }, + { + "shortName": "GetDataAttributeBinding", + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService.GetDataAttributeBinding", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/dataAttributeBindings/*}" + } + ] + }, + { + "shortName": "GetDataTaxonomy", + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService.GetDataTaxonomy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/dataTaxonomies/*}" + } + ] + }, + { + "shortName": "ListDataAttributeBindings", + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService.ListDataAttributeBindings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/dataAttributeBindings" + } + ] + }, + { + "shortName": "ListDataAttributes", + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService.ListDataAttributes", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/dataTaxonomies/*}/attributes" + } + ] + }, + { + "shortName": "ListDataTaxonomies", + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService.ListDataTaxonomies", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/dataTaxonomies" + } + ] + }, + { + "shortName": "UpdateDataAttribute", + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService.UpdateDataAttribute", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{data_attribute.name=projects/*/locations/*/dataTaxonomies/*/attributes/*}" + } + ] + }, + { + "shortName": "UpdateDataAttributeBinding", + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService.UpdateDataAttributeBinding", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{data_attribute_binding.name=projects/*/locations/*/dataAttributeBindings/*}" + } + ] + }, + { + "shortName": "UpdateDataTaxonomy", + "fullName": "google.cloud.dataplex.v1.DataTaxonomyService.UpdateDataTaxonomy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{data_taxonomy.name=projects/*/locations/*/dataTaxonomies/*}" + } + ] + } + ] + }, { "shortName": "DataplexService", "fullName": "google.cloud.dataplex.v1.DataplexService", @@ -40303,6 +45429,17 @@ } ] }, + { + "shortName": "RunTask", + "fullName": "google.cloud.dataplex.v1.DataplexService.RunTask", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/lakes/*/tasks/*}:run" + } + ] + }, { "shortName": "UpdateAsset", "fullName": "google.cloud.dataplex.v1.DataplexService.UpdateAsset", @@ -40470,6 +45607,7 @@ "serviceConfigApiNames": [ "google.cloud.dataplex.v1.ContentService", "google.cloud.dataplex.v1.DataScanService", + "google.cloud.dataplex.v1.DataTaxonomyService", "google.cloud.dataplex.v1.DataplexService", "google.cloud.dataplex.v1.MetadataService", "google.cloud.location.Locations", @@ -40490,22 +45628,23 @@ "google/api", "google/cloud/dataproc/v1", "google/longrunning", - "google/protobuf" + "google/protobuf", + "google/type" ], "options": { "go_package": { "valueCounts": { - "cloud.google.com/go/dataproc/apiv1/dataprocpb;dataprocpb": 8 + "cloud.google.com/go/dataproc/v2/apiv1/dataprocpb;dataprocpb": 10 } }, "java_multiple_files": { "valueCounts": { - "true": 8 + "true": 10 } }, "java_package": { "valueCounts": { - "com.google.cloud.dataproc.v1": 8 + "com.google.cloud.dataproc.v1": 10 } } }, @@ -40857,6 +45996,128 @@ } ] }, + { + "shortName": "SessionController", + "fullName": "google.cloud.dataproc.v1.SessionController", + "methods": [ + { + "shortName": "CreateSession", + "fullName": "google.cloud.dataproc.v1.SessionController.CreateSession", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/sessions" + } + ] + }, + { + "shortName": "DeleteSession", + "fullName": "google.cloud.dataproc.v1.SessionController.DeleteSession", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/sessions/*}" + } + ] + }, + { + "shortName": "GetSession", + "fullName": "google.cloud.dataproc.v1.SessionController.GetSession", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/sessions/*}" + } + ] + }, + { + "shortName": "ListSessions", + "fullName": "google.cloud.dataproc.v1.SessionController.ListSessions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/sessions" + } + ] + }, + { + "shortName": "TerminateSession", + "fullName": "google.cloud.dataproc.v1.SessionController.TerminateSession", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/sessions/*}:terminate" + } + ] + } + ] + }, + { + "shortName": "SessionTemplateController", + "fullName": "google.cloud.dataproc.v1.SessionTemplateController", + "methods": [ + { + "shortName": "CreateSessionTemplate", + "fullName": "google.cloud.dataproc.v1.SessionTemplateController.CreateSessionTemplate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/sessionTemplates" + } + ] + }, + { + "shortName": "DeleteSessionTemplate", + "fullName": "google.cloud.dataproc.v1.SessionTemplateController.DeleteSessionTemplate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/sessionTemplates/*}" + } + ] + }, + { + "shortName": "GetSessionTemplate", + "fullName": "google.cloud.dataproc.v1.SessionTemplateController.GetSessionTemplate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/sessionTemplates/*}" + } + ] + }, + { + "shortName": "ListSessionTemplates", + "fullName": "google.cloud.dataproc.v1.SessionTemplateController.ListSessionTemplates", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/sessionTemplates" + } + ] + }, + { + "shortName": "UpdateSessionTemplate", + "fullName": "google.cloud.dataproc.v1.SessionTemplateController.UpdateSessionTemplate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{session_template.name=projects/*/locations/*/sessionTemplates/*}" + } + ] + } + ] + }, { "shortName": "WorkflowTemplateService", "fullName": "google.cloud.dataproc.v1.WorkflowTemplateService", @@ -40976,6 +46237,8 @@ "google.cloud.dataproc.v1.ClusterController", "google.cloud.dataproc.v1.JobController", "google.cloud.dataproc.v1.NodeGroupController", + "google.cloud.dataproc.v1.SessionController", + "google.cloud.dataproc.v1.SessionTemplateController", "google.cloud.dataproc.v1.WorkflowTemplateService", "google.iam.v1.IAMPolicy", "google.longrunning.Operations" @@ -41750,7 +47013,7 @@ "version": "v1", "majorVersion": "v1", "hostName": "clouddeploy.googleapis.com", - "title": "Google Cloud Deploy API", + "title": "Cloud Deploy API", "description": "", "importDirectories": [ "google/api", @@ -41762,17 +47025,17 @@ "options": { "go_package": { "valueCounts": { - "cloud.google.com/go/deploy/apiv1/deploypb;deploypb": 8 + "cloud.google.com/go/deploy/apiv1/deploypb;deploypb": 11 } }, "java_multiple_files": { "valueCounts": { - "true": 8 + "true": 11 } }, "java_package": { "valueCounts": { - "com.google.cloud.deploy.v1": 8 + "com.google.cloud.deploy.v1": 11 } } }, @@ -41792,6 +47055,17 @@ } ] }, + { + "shortName": "AdvanceRollout", + "fullName": "google.cloud.deploy.v1.CloudDeploy.AdvanceRollout", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/deliveryPipelines/*/releases/*/rollouts/*}:advance" + } + ] + }, { "shortName": "ApproveRollout", "fullName": "google.cloud.deploy.v1.CloudDeploy.ApproveRollout", @@ -41803,6 +47077,50 @@ } ] }, + { + "shortName": "CancelAutomationRun", + "fullName": "google.cloud.deploy.v1.CloudDeploy.CancelAutomationRun", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/deliveryPipelines/*/automationRuns/*}:cancel" + } + ] + }, + { + "shortName": "CancelRollout", + "fullName": "google.cloud.deploy.v1.CloudDeploy.CancelRollout", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/deliveryPipelines/*/releases/*/rollouts/*}:cancel" + } + ] + }, + { + "shortName": "CreateAutomation", + "fullName": "google.cloud.deploy.v1.CloudDeploy.CreateAutomation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/deliveryPipelines/*}/automations" + } + ] + }, + { + "shortName": "CreateCustomTargetType", + "fullName": "google.cloud.deploy.v1.CloudDeploy.CreateCustomTargetType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/customTargetTypes" + } + ] + }, { "shortName": "CreateDeliveryPipeline", "fullName": "google.cloud.deploy.v1.CloudDeploy.CreateDeliveryPipeline", @@ -41847,6 +47165,28 @@ } ] }, + { + "shortName": "DeleteAutomation", + "fullName": "google.cloud.deploy.v1.CloudDeploy.DeleteAutomation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/deliveryPipelines/*/automations/*}" + } + ] + }, + { + "shortName": "DeleteCustomTargetType", + "fullName": "google.cloud.deploy.v1.CloudDeploy.DeleteCustomTargetType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/customTargetTypes/*}" + } + ] + }, { "shortName": "DeleteDeliveryPipeline", "fullName": "google.cloud.deploy.v1.CloudDeploy.DeleteDeliveryPipeline", @@ -41869,6 +47209,28 @@ } ] }, + { + "shortName": "GetAutomation", + "fullName": "google.cloud.deploy.v1.CloudDeploy.GetAutomation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/deliveryPipelines/*/automations/*}" + } + ] + }, + { + "shortName": "GetAutomationRun", + "fullName": "google.cloud.deploy.v1.CloudDeploy.GetAutomationRun", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/deliveryPipelines/*/automationRuns/*}" + } + ] + }, { "shortName": "GetConfig", "fullName": "google.cloud.deploy.v1.CloudDeploy.GetConfig", @@ -41880,6 +47242,17 @@ } ] }, + { + "shortName": "GetCustomTargetType", + "fullName": "google.cloud.deploy.v1.CloudDeploy.GetCustomTargetType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/customTargetTypes/*}" + } + ] + }, { "shortName": "GetDeliveryPipeline", "fullName": "google.cloud.deploy.v1.CloudDeploy.GetDeliveryPipeline", @@ -41935,6 +47308,50 @@ } ] }, + { + "shortName": "IgnoreJob", + "fullName": "google.cloud.deploy.v1.CloudDeploy.IgnoreJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{rollout=projects/*/locations/*/deliveryPipelines/*/releases/*/rollouts/*}:ignoreJob" + } + ] + }, + { + "shortName": "ListAutomationRuns", + "fullName": "google.cloud.deploy.v1.CloudDeploy.ListAutomationRuns", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/deliveryPipelines/*}/automationRuns" + } + ] + }, + { + "shortName": "ListAutomations", + "fullName": "google.cloud.deploy.v1.CloudDeploy.ListAutomations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/deliveryPipelines/*}/automations" + } + ] + }, + { + "shortName": "ListCustomTargetTypes", + "fullName": "google.cloud.deploy.v1.CloudDeploy.ListCustomTargetTypes", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/customTargetTypes" + } + ] + }, { "shortName": "ListDeliveryPipelines", "fullName": "google.cloud.deploy.v1.CloudDeploy.ListDeliveryPipelines", @@ -42001,6 +47418,50 @@ } ] }, + { + "shortName": "RollbackTarget", + "fullName": "google.cloud.deploy.v1.CloudDeploy.RollbackTarget", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/deliveryPipelines/*}:rollbackTarget" + } + ] + }, + { + "shortName": "TerminateJobRun", + "fullName": "google.cloud.deploy.v1.CloudDeploy.TerminateJobRun", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/deliveryPipelines/*/releases/*/rollouts/*/jobRuns/*}:terminate" + } + ] + }, + { + "shortName": "UpdateAutomation", + "fullName": "google.cloud.deploy.v1.CloudDeploy.UpdateAutomation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{automation.name=projects/*/locations/*/deliveryPipelines/*/automations/*}" + } + ] + }, + { + "shortName": "UpdateCustomTargetType", + "fullName": "google.cloud.deploy.v1.CloudDeploy.UpdateCustomTargetType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{custom_target_type.name=projects/*/locations/*/customTargetTypes/*}" + } + ] + }, { "shortName": "UpdateDeliveryPipeline", "fullName": "google.cloud.deploy.v1.CloudDeploy.UpdateDeliveryPipeline", @@ -42054,37 +47515,37 @@ "options": { "cc_enable_arenas": { "valueCounts": { - "true": 22 + "true": 28 } }, "csharp_namespace": { "valueCounts": { - "Google.Cloud.Dialogflow.Cx.V3": 22 + "Google.Cloud.Dialogflow.Cx.V3": 28 } }, "go_package": { "valueCounts": { - "cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb": 22 + "cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb": 28 } }, "java_multiple_files": { "valueCounts": { - "true": 22 + "true": 28 } }, "java_package": { "valueCounts": { - "com.google.cloud.dialogflow.cx.v3": 22 + "com.google.cloud.dialogflow.cx.v3": 28 } }, "objc_class_prefix": { "valueCounts": { - "DF": 22 + "DF": 28 } }, "ruby_package": { "valueCounts": { - "Google::Cloud::Dialogflow::CX::V3": 22 + "Google::Cloud::Dialogflow::CX::V3": 28 } } }, @@ -42148,6 +47609,17 @@ } ] }, + { + "shortName": "GetGenerativeSettings", + "fullName": "google.cloud.dialogflow.cx.v3.Agents.GetGenerativeSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{name=projects/*/locations/*/agents/*/generativeSettings}" + } + ] + }, { "shortName": "ListAgents", "fullName": "google.cloud.dialogflow.cx.v3.Agents.ListAgents", @@ -42181,6 +47653,17 @@ } ] }, + { + "shortName": "UpdateGenerativeSettings", + "fullName": "google.cloud.dialogflow.cx.v3.Agents.UpdateGenerativeSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v3/{generative_settings.name=projects/*/locations/*/agents/*/generativeSettings}" + } + ] + }, { "shortName": "ValidateAgent", "fullName": "google.cloud.dialogflow.cx.v3.Agents.ValidateAgent", @@ -42276,6 +47759,17 @@ } ] }, + { + "shortName": "ExportEntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.ExportEntityTypes", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{parent=projects/*/locations/*/agents/*}/entityTypes:export" + } + ] + }, { "shortName": "GetEntityType", "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.GetEntityType", @@ -42287,6 +47781,17 @@ } ] }, + { + "shortName": "ImportEntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.ImportEntityTypes", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{parent=projects/*/locations/*/agents/*}/entityTypes:import" + } + ] + }, { "shortName": "ListEntityTypes", "fullName": "google.cloud.dialogflow.cx.v3.EntityTypes.ListEntityTypes", @@ -42615,6 +48120,67 @@ } ] }, + { + "shortName": "Generators", + "fullName": "google.cloud.dialogflow.cx.v3.Generators", + "methods": [ + { + "shortName": "CreateGenerator", + "fullName": "google.cloud.dialogflow.cx.v3.Generators.CreateGenerator", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{parent=projects/*/locations/*/agents/*}/generators" + } + ] + }, + { + "shortName": "DeleteGenerator", + "fullName": "google.cloud.dialogflow.cx.v3.Generators.DeleteGenerator", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3/{name=projects/*/locations/*/agents/*/generators/*}" + } + ] + }, + { + "shortName": "GetGenerator", + "fullName": "google.cloud.dialogflow.cx.v3.Generators.GetGenerator", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{name=projects/*/locations/*/agents/*/generators/*}" + } + ] + }, + { + "shortName": "ListGenerators", + "fullName": "google.cloud.dialogflow.cx.v3.Generators.ListGenerators", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{parent=projects/*/locations/*/agents/*}/generators" + } + ] + }, + { + "shortName": "UpdateGenerator", + "fullName": "google.cloud.dialogflow.cx.v3.Generators.UpdateGenerator", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v3/{generator.name=projects/*/locations/*/agents/*/generators/*}" + } + ] + } + ] + }, { "shortName": "Intents", "fullName": "google.cloud.dialogflow.cx.v3.Intents", @@ -42641,6 +48207,17 @@ } ] }, + { + "shortName": "ExportIntents", + "fullName": "google.cloud.dialogflow.cx.v3.Intents.ExportIntents", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{parent=projects/*/locations/*/agents/*}/intents:export" + } + ] + }, { "shortName": "GetIntent", "fullName": "google.cloud.dialogflow.cx.v3.Intents.GetIntent", @@ -42652,6 +48229,17 @@ } ] }, + { + "shortName": "ImportIntents", + "fullName": "google.cloud.dialogflow.cx.v3.Intents.ImportIntents", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{parent=projects/*/locations/*/agents/*}/intents:import" + } + ] + }, { "shortName": "ListIntents", "fullName": "google.cloud.dialogflow.cx.v3.Intents.ListIntents", @@ -42928,10 +48516,36 @@ } ] }, + { + "shortName": "ServerStreamingDetectIntent", + "fullName": "google.cloud.dialogflow.cx.v3.Sessions.ServerStreamingDetectIntent", + "mode": "SERVER_STREAMING", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{session=projects/*/locations/*/agents/*/sessions/*}:serverStreamingDetectIntent" + }, + { + "httpMethod": "POST", + "path": "/v3/{session=projects/*/locations/*/agents/*/environments/*/sessions/*}:serverStreamingDetectIntent" + } + ] + }, { "shortName": "StreamingDetectIntent", "fullName": "google.cloud.dialogflow.cx.v3.Sessions.StreamingDetectIntent", "mode": "BIDIRECTIONAL_STREAMING" + }, + { + "shortName": "SubmitAnswerFeedback", + "fullName": "google.cloud.dialogflow.cx.v3.Sessions.SubmitAnswerFeedback", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{session=projects/*/locations/*/agents/*/sessions/*}:submitAnswerFeedback" + } + ] } ] }, @@ -43085,6 +48699,10 @@ { "httpMethod": "POST", "path": "/v3/{parent=projects/*/locations/*/agents/*/flows/*}/transitionRouteGroups" + }, + { + "httpMethod": "POST", + "path": "/v3/{parent=projects/*/locations/*/agents/*}/transitionRouteGroups" } ] }, @@ -43096,6 +48714,10 @@ { "httpMethod": "DELETE", "path": "/v3/{name=projects/*/locations/*/agents/*/flows/*/transitionRouteGroups/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v3/{name=projects/*/locations/*/agents/*/transitionRouteGroups/*}" } ] }, @@ -43107,6 +48729,10 @@ { "httpMethod": "GET", "path": "/v3/{name=projects/*/locations/*/agents/*/flows/*/transitionRouteGroups/*}" + }, + { + "httpMethod": "GET", + "path": "/v3/{name=projects/*/locations/*/agents/*/transitionRouteGroups/*}" } ] }, @@ -43118,6 +48744,10 @@ { "httpMethod": "GET", "path": "/v3/{parent=projects/*/locations/*/agents/*/flows/*}/transitionRouteGroups" + }, + { + "httpMethod": "GET", + "path": "/v3/{parent=projects/*/locations/*/agents/*}/transitionRouteGroups" } ] }, @@ -43129,6 +48759,10 @@ { "httpMethod": "PATCH", "path": "/v3/{transition_route_group.name=projects/*/locations/*/agents/*/flows/*/transitionRouteGroups/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v3/{transition_route_group.name=projects/*/locations/*/agents/*/transitionRouteGroups/*}" } ] } @@ -43288,6 +48922,7 @@ "google.cloud.dialogflow.cx.v3.Environments", "google.cloud.dialogflow.cx.v3.Experiments", "google.cloud.dialogflow.cx.v3.Flows", + "google.cloud.dialogflow.cx.v3.Generators", "google.cloud.dialogflow.cx.v3.Intents", "google.cloud.dialogflow.cx.v3.Pages", "google.cloud.dialogflow.cx.v3.SecuritySettingsService", @@ -43321,37 +48956,38 @@ "options": { "cc_enable_arenas": { "valueCounts": { - "true": 22 + "true": 33 } }, "csharp_namespace": { "valueCounts": { - "Google.Cloud.Dialogflow.Cx.V3Beta1": 22 + "Google.Cloud.Dialogflow.Cx.V3Beta1": 33 } }, "go_package": { "valueCounts": { - "cloud.google.com/go/dialogflow/cx/apiv3beta1/cxpb;cxpb": 22 + "cloud.google.com/go/dialogflow/cx/apiv3beta1/cxpb;cxpb": 33 } }, "java_multiple_files": { "valueCounts": { - "true": 22 + "true": 33 } }, "java_package": { "valueCounts": { - "com.google.cloud.dialogflow.cx.v3beta1": 22 + "com.google.cloud.dialogflow.cx.v3beta1": 33 } }, "objc_class_prefix": { "valueCounts": { - "DF": 22 + "DF": 33 } }, "ruby_package": { "valueCounts": { - "Google::Cloud::Dialogflow::CX::V3beta1": 22 + "": 3, + "Google::Cloud::Dialogflow::CX::V3beta1": 30 } } }, @@ -43415,6 +49051,17 @@ } ] }, + { + "shortName": "GetGenerativeSettings", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.GetGenerativeSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/generativeSettings}" + } + ] + }, { "shortName": "ListAgents", "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.ListAgents", @@ -43448,6 +49095,17 @@ } ] }, + { + "shortName": "UpdateGenerativeSettings", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.UpdateGenerativeSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v3beta1/{generative_settings.name=projects/*/locations/*/agents/*/generativeSettings}" + } + ] + }, { "shortName": "ValidateAgent", "fullName": "google.cloud.dialogflow.cx.v3beta1.Agents.ValidateAgent", @@ -43543,6 +49201,17 @@ } ] }, + { + "shortName": "ExportEntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.ExportEntityTypes", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*}/entityTypes:export" + } + ] + }, { "shortName": "GetEntityType", "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.GetEntityType", @@ -43554,6 +49223,17 @@ } ] }, + { + "shortName": "ImportEntityTypes", + "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.ImportEntityTypes", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*}/entityTypes:import" + } + ] + }, { "shortName": "ListEntityTypes", "fullName": "google.cloud.dialogflow.cx.v3beta1.EntityTypes.ListEntityTypes", @@ -43683,6 +49363,67 @@ } ] }, + { + "shortName": "Examples", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples", + "methods": [ + { + "shortName": "CreateExample", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples.CreateExample", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*/playbooks/*}/examples" + } + ] + }, + { + "shortName": "DeleteExample", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples.DeleteExample", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/playbooks/*/examples/*}" + } + ] + }, + { + "shortName": "GetExample", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples.GetExample", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/playbooks/*/examples/*}" + } + ] + }, + { + "shortName": "ListExamples", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples.ListExamples", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*/playbooks/*}/examples" + } + ] + }, + { + "shortName": "UpdateExample", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Examples.UpdateExample", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v3beta1/{example.name=projects/*/locations/*/agents/*/playbooks/*/examples/*}" + } + ] + } + ] + }, { "shortName": "Experiments", "fullName": "google.cloud.dialogflow.cx.v3beta1.Experiments", @@ -43882,6 +49623,67 @@ } ] }, + { + "shortName": "Generators", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators", + "methods": [ + { + "shortName": "CreateGenerator", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators.CreateGenerator", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*}/generators" + } + ] + }, + { + "shortName": "DeleteGenerator", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators.DeleteGenerator", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/generators/*}" + } + ] + }, + { + "shortName": "GetGenerator", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators.GetGenerator", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/generators/*}" + } + ] + }, + { + "shortName": "ListGenerators", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators.ListGenerators", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*}/generators" + } + ] + }, + { + "shortName": "UpdateGenerator", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Generators.UpdateGenerator", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v3beta1/{generator.name=projects/*/locations/*/agents/*/generators/*}" + } + ] + } + ] + }, { "shortName": "Intents", "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents", @@ -43908,6 +49710,17 @@ } ] }, + { + "shortName": "ExportIntents", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.ExportIntents", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*}/intents:export" + } + ] + }, { "shortName": "GetIntent", "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.GetIntent", @@ -43919,6 +49732,17 @@ } ] }, + { + "shortName": "ImportIntents", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.ImportIntents", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*}/intents:import" + } + ] + }, { "shortName": "ListIntents", "fullName": "google.cloud.dialogflow.cx.v3beta1.Intents.ListIntents", @@ -44004,6 +49828,111 @@ } ] }, + { + "shortName": "Playbooks", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks", + "methods": [ + { + "shortName": "CreatePlaybook", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.CreatePlaybook", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*}/playbooks" + } + ] + }, + { + "shortName": "CreatePlaybookVersion", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.CreatePlaybookVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*/playbooks/*}/versions" + } + ] + }, + { + "shortName": "DeletePlaybook", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.DeletePlaybook", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/playbooks/*}" + } + ] + }, + { + "shortName": "DeletePlaybookVersion", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.DeletePlaybookVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/playbooks/*/versions/*}" + } + ] + }, + { + "shortName": "GetPlaybook", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.GetPlaybook", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/playbooks/*}" + } + ] + }, + { + "shortName": "GetPlaybookVersion", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.GetPlaybookVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/playbooks/*/versions/*}" + } + ] + }, + { + "shortName": "ListPlaybookVersions", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.ListPlaybookVersions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*/playbooks/*}/versions" + } + ] + }, + { + "shortName": "ListPlaybooks", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.ListPlaybooks", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*}/playbooks" + } + ] + }, + { + "shortName": "UpdatePlaybook", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Playbooks.UpdatePlaybook", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v3beta1/{playbook.name=projects/*/locations/*/agents/*/playbooks/*}" + } + ] + } + ] + }, { "shortName": "SecuritySettingsService", "fullName": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService", @@ -44195,10 +50124,36 @@ } ] }, + { + "shortName": "ServerStreamingDetectIntent", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.ServerStreamingDetectIntent", + "mode": "SERVER_STREAMING", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{session=projects/*/locations/*/agents/*/sessions/*}:serverStreamingDetectIntent" + }, + { + "httpMethod": "POST", + "path": "/v3beta1/{session=projects/*/locations/*/agents/*/environments/*/sessions/*}:serverStreamingDetectIntent" + } + ] + }, { "shortName": "StreamingDetectIntent", "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.StreamingDetectIntent", "mode": "BIDIRECTIONAL_STREAMING" + }, + { + "shortName": "SubmitAnswerFeedback", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Sessions.SubmitAnswerFeedback", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{session=projects/*/locations/*/agents/*/sessions/*}:submitAnswerFeedback" + } + ] } ] }, @@ -44340,6 +50295,78 @@ } ] }, + { + "shortName": "Tools", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools", + "methods": [ + { + "shortName": "CreateTool", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.CreateTool", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*}/tools" + } + ] + }, + { + "shortName": "DeleteTool", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.DeleteTool", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/tools/*}" + } + ] + }, + { + "shortName": "ExportTools", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.ExportTools", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*}/tools:export" + } + ] + }, + { + "shortName": "GetTool", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.GetTool", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/tools/*}" + } + ] + }, + { + "shortName": "ListTools", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.ListTools", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*}/tools" + } + ] + }, + { + "shortName": "UpdateTool", + "fullName": "google.cloud.dialogflow.cx.v3beta1.Tools.UpdateTool", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v3beta1/{tool.name=projects/*/locations/*/agents/*/tools/*}" + } + ] + } + ] + }, { "shortName": "TransitionRouteGroups", "fullName": "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups", @@ -44352,6 +50379,10 @@ { "httpMethod": "POST", "path": "/v3beta1/{parent=projects/*/locations/*/agents/*/flows/*}/transitionRouteGroups" + }, + { + "httpMethod": "POST", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*}/transitionRouteGroups" } ] }, @@ -44363,6 +50394,10 @@ { "httpMethod": "DELETE", "path": "/v3beta1/{name=projects/*/locations/*/agents/*/flows/*/transitionRouteGroups/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/transitionRouteGroups/*}" } ] }, @@ -44374,6 +50409,10 @@ { "httpMethod": "GET", "path": "/v3beta1/{name=projects/*/locations/*/agents/*/flows/*/transitionRouteGroups/*}" + }, + { + "httpMethod": "GET", + "path": "/v3beta1/{name=projects/*/locations/*/agents/*/transitionRouteGroups/*}" } ] }, @@ -44385,6 +50424,10 @@ { "httpMethod": "GET", "path": "/v3beta1/{parent=projects/*/locations/*/agents/*/flows/*}/transitionRouteGroups" + }, + { + "httpMethod": "GET", + "path": "/v3beta1/{parent=projects/*/locations/*/agents/*}/transitionRouteGroups" } ] }, @@ -44396,6 +50439,10 @@ { "httpMethod": "PATCH", "path": "/v3beta1/{transition_route_group.name=projects/*/locations/*/agents/*/flows/*/transitionRouteGroups/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v3beta1/{transition_route_group.name=projects/*/locations/*/agents/*/transitionRouteGroups/*}" } ] } @@ -44553,14 +50600,18 @@ "google.cloud.dialogflow.cx.v3beta1.Deployments", "google.cloud.dialogflow.cx.v3beta1.EntityTypes", "google.cloud.dialogflow.cx.v3beta1.Environments", + "google.cloud.dialogflow.cx.v3beta1.Examples", "google.cloud.dialogflow.cx.v3beta1.Experiments", "google.cloud.dialogflow.cx.v3beta1.Flows", + "google.cloud.dialogflow.cx.v3beta1.Generators", "google.cloud.dialogflow.cx.v3beta1.Intents", "google.cloud.dialogflow.cx.v3beta1.Pages", + "google.cloud.dialogflow.cx.v3beta1.Playbooks", "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService", "google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes", "google.cloud.dialogflow.cx.v3beta1.Sessions", "google.cloud.dialogflow.cx.v3beta1.TestCases", + "google.cloud.dialogflow.cx.v3beta1.Tools", "google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups", "google.cloud.dialogflow.cx.v3beta1.Versions", "google.cloud.dialogflow.cx.v3beta1.Webhooks", @@ -45294,6 +51345,21 @@ } ] }, + { + "shortName": "GenerateStatelessSummary", + "fullName": "google.cloud.dialogflow.v2.Conversations.GenerateStatelessSummary", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{stateless_conversation.parent=projects/*}/suggestions:generateStatelessSummary" + }, + { + "httpMethod": "POST", + "path": "/v2/{stateless_conversation.parent=projects/*/locations/*}/suggestions:generateStatelessSummary" + } + ] + }, { "shortName": "GetConversation", "fullName": "google.cloud.dialogflow.v2.Conversations.GetConversation", @@ -45339,6 +51405,29 @@ } ] }, + { + "shortName": "SearchKnowledge", + "fullName": "google.cloud.dialogflow.v2.Conversations.SearchKnowledge", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*}/suggestions:searchKnowledge" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*}/suggestions:searchKnowledge" + }, + { + "httpMethod": "POST", + "path": "/v2/{conversation=projects/*/conversations/*}/suggestions:searchKnowledge" + }, + { + "httpMethod": "POST", + "path": "/v2/{conversation=projects/*/locations/*/conversations/*}/suggestions:searchKnowledge" + } + ] + }, { "shortName": "SuggestConversationSummary", "fullName": "google.cloud.dialogflow.v2.Conversations.SuggestConversationSummary", @@ -46951,6 +53040,21 @@ } ] }, + { + "shortName": "GenerateStatelessSummary", + "fullName": "google.cloud.dialogflow.v2beta1.Conversations.GenerateStatelessSummary", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta1/{stateless_conversation.parent=projects/*}/suggestions:generateStatelessSummary" + }, + { + "httpMethod": "POST", + "path": "/v2beta1/{stateless_conversation.parent=projects/*/locations/*}/suggestions:generateStatelessSummary" + } + ] + }, { "shortName": "GetConversation", "fullName": "google.cloud.dialogflow.v2beta1.Conversations.GetConversation", @@ -46996,6 +53100,29 @@ } ] }, + { + "shortName": "SearchKnowledge", + "fullName": "google.cloud.dialogflow.v2beta1.Conversations.SearchKnowledge", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*}/suggestions:searchKnowledge" + }, + { + "httpMethod": "POST", + "path": "/v2beta1/{parent=projects/*/locations/*}/suggestions:searchKnowledge" + }, + { + "httpMethod": "POST", + "path": "/v2beta1/{conversation=projects/*/conversations/*}/suggestions:searchKnowledge" + }, + { + "httpMethod": "POST", + "path": "/v2beta1/{conversation=projects/*/locations/*/conversations/*}/suggestions:searchKnowledge" + } + ] + }, { "shortName": "SuggestConversationSummary", "fullName": "google.cloud.dialogflow.v2beta1.Conversations.SuggestConversationSummary", @@ -48069,16 +54196,16 @@ "nameInServiceConfig": "dialogflow.googleapis.com" }, { - "id": "google.cloud.discoveryengine.v1beta", - "directory": "google/cloud/discoveryengine/v1beta", - "version": "v1beta", + "id": "google.cloud.discoveryengine.v1", + "directory": "google/cloud/discoveryengine/v1", + "version": "v1", "majorVersion": "v1", "hostName": "discoveryengine.googleapis.com", "title": "Discovery Engine API", "description": "Discovery Engine API.", "importDirectories": [ "google/api", - "google/cloud/discoveryengine/v1beta", + "google/cloud/discoveryengine/v1", "google/longrunning", "google/protobuf", "google/rpc", @@ -48087,5423 +54214,5102 @@ "options": { "csharp_namespace": { "valueCounts": { - "Google.Cloud.DiscoveryEngine.V1Beta": 7 + "Google.Cloud.DiscoveryEngine.V1": 20 } }, "go_package": { "valueCounts": { - "cloud.google.com/go/discoveryengine/apiv1beta/discoveryenginepb;discoveryenginepb": 7 + "cloud.google.com/go/discoveryengine/apiv1/discoveryenginepb;discoveryenginepb": 20 } }, "java_multiple_files": { "valueCounts": { - "true": 7 + "true": 20 } }, "java_package": { "valueCounts": { - "com.google.cloud.discoveryengine.v1beta": 7 + "com.google.cloud.discoveryengine.v1": 20 } }, "objc_class_prefix": { "valueCounts": { - "DISCOVERYENGINE": 7 + "DISCOVERYENGINE": 20 } }, "php_namespace": { "valueCounts": { - "Google\\Cloud\\DiscoveryEngine\\V1beta": 7 + "Google\\Cloud\\DiscoveryEngine\\V1": 20 } }, "ruby_package": { "valueCounts": { - "Google::Cloud::DiscoveryEngine::V1beta": 7 + "Google::Cloud::DiscoveryEngine::V1": 20 } } }, "services": [ { - "shortName": "DocumentService", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService", + "shortName": "CompletionService", + "fullName": "google.cloud.discoveryengine.v1.CompletionService", "methods": [ { - "shortName": "CreateDocument", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.CreateDocument", + "shortName": "CompleteQuery", + "fullName": "google.cloud.discoveryengine.v1.CompletionService.CompleteQuery", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents" + "httpMethod": "GET", + "path": "/v1/{data_store=projects/*/locations/*/dataStores/*}:completeQuery" + }, + { + "httpMethod": "GET", + "path": "/v1/{data_store=projects/*/locations/*/collections/*/dataStores/*}:completeQuery" } ] }, { - "shortName": "DeleteDocument", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.DeleteDocument", + "shortName": "ImportSuggestionDenyListEntries", + "fullName": "google.cloud.discoveryengine.v1.CompletionService.ImportSuggestionDenyListEntries", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1beta/{name=projects/*/locations/*/dataStores/*/branches/*/documents/*}" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/suggestionDenyListEntries:import" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/dataStores/*}/suggestionDenyListEntries:import" } ] }, { - "shortName": "GetDocument", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.GetDocument", + "shortName": "PurgeSuggestionDenyListEntries", + "fullName": "google.cloud.discoveryengine.v1.CompletionService.PurgeSuggestionDenyListEntries", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta/{name=projects/*/locations/*/dataStores/*/branches/*/documents/*}" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/suggestionDenyListEntries:purge" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/dataStores/**}/suggestionDenyListEntries:purge" } ] - }, + } + ] + }, + { + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService", + "methods": [ { - "shortName": "ImportDocuments", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.ImportDocuments", + "shortName": "ConverseConversation", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.ConverseConversation", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents:import" + "path": "/v1/{name=projects/*/locations/*/dataStores/*/conversations/*}:converse" + }, + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}:converse" + }, + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/collections/*/engines/*/conversations/*}:converse" } ] }, { - "shortName": "ListDocuments", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.ListDocuments", + "shortName": "CreateConversation", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.CreateConversation", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/dataStores/*}/conversations" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/conversations" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/collections/*/engines/*}/conversations" } ] }, { - "shortName": "UpdateDocument", - "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.UpdateDocument", + "shortName": "DeleteConversation", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.DeleteConversation", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1beta/{document.name=projects/*/locations/*/dataStores/*/branches/*/documents/*}" - } - ] - } - ] - }, - { - "shortName": "RecommendationService", - "fullName": "google.cloud.discoveryengine.v1beta.RecommendationService", - "methods": [ - { - "shortName": "Recommend", - "fullName": "google.cloud.discoveryengine.v1beta.RecommendationService.Recommend", - "mode": "UNARY", - "bindings": [ + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/dataStores/*/conversations/*}" + }, { - "httpMethod": "POST", - "path": "/v1beta/{serving_config=projects/*/locations/*/dataStores/*/servingConfigs/*}:recommend" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/collections/*/engines/*/conversations/*}" } ] - } - ] - }, - { - "shortName": "UserEventService", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventService", - "methods": [ + }, { - "shortName": "CollectUserEvent", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.CollectUserEvent", + "shortName": "GetConversation", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.GetConversation", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/userEvents:collect" + "path": "/v1/{name=projects/*/locations/*/dataStores/*/conversations/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/collections/*/engines/*/conversations/*}" } ] }, { - "shortName": "ImportUserEvents", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.ImportUserEvents", + "shortName": "ListConversations", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.ListConversations", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/userEvents:import" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/dataStores/*}/conversations" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/conversations" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/collections/*/engines/*}/conversations" } ] }, { - "shortName": "WriteUserEvent", - "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.WriteUserEvent", + "shortName": "UpdateConversation", + "fullName": "google.cloud.discoveryengine.v1.ConversationalSearchService.UpdateConversation", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/userEvents:write" + "httpMethod": "PATCH", + "path": "/v1/{conversation.name=projects/*/locations/*/dataStores/*/conversations/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{conversation.name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{conversation.name=projects/*/locations/*/collections/*/engines/*/conversations/*}" } ] } ] - } - ], - "configFile": "discoveryengine_v1beta.yaml", - "serviceConfigApiNames": [ - "google.cloud.discoveryengine.v1beta.DocumentService", - "google.cloud.discoveryengine.v1beta.RecommendationService", - "google.cloud.discoveryengine.v1beta.UserEventService", - "google.longrunning.Operations" - ], - "nameInServiceConfig": "discoveryengine.googleapis.com" - }, - { - "id": "google.cloud.documentai.v1", - "directory": "google/cloud/documentai/v1", - "version": "v1", - "majorVersion": "v1", - "hostName": "documentai.googleapis.com", - "title": "Cloud Document AI API", - "description": "Service to parse structured information from unstructured or semi-structured documents using state-of-the-art Google AI such as natural language, computer vision, translation, and AutoML.", - "importDirectories": [ - "google/api", - "google/cloud/documentai/v1", - "google/longrunning", - "google/protobuf", - "google/rpc", - "google/type" - ], - "options": { - "csharp_namespace": { - "valueCounts": { - "Google.Cloud.DocumentAI.V1": 10 - } - }, - "go_package": { - "valueCounts": { - "cloud.google.com/go/documentai/apiv1/documentaipb;documentaipb": 10 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 10 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.documentai.v1": 10 - } - }, - "php_namespace": { - "valueCounts": { - "Google\\Cloud\\DocumentAI\\V1": 10 - } }, - "ruby_package": { - "valueCounts": { - "Google::Cloud::DocumentAI::V1": 10 - } - } - }, - "services": [ { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService", + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1.DataStoreService", "methods": [ { - "shortName": "BatchProcessDocuments", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments", + "shortName": "CreateDataStore", + "fullName": "google.cloud.discoveryengine.v1.DataStoreService.CreateDataStore", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/processors/*}:batchProcess" + "path": "/v1/{parent=projects/*/locations/*}/dataStores" }, { "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/processors/*/processorVersions/*}:batchProcess" + "path": "/v1/{parent=projects/*/locations/*/collections/*}/dataStores" } ] }, { - "shortName": "CreateProcessor", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService.CreateProcessor", + "shortName": "DeleteDataStore", + "fullName": "google.cloud.discoveryengine.v1.DataStoreService.DeleteDataStore", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/processors" - } - ] - }, - { - "shortName": "DeleteProcessor", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService.DeleteProcessor", - "mode": "UNARY", - "bindings": [ + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/dataStores/*}" + }, { "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/processors/*}" + "path": "/v1/{name=projects/*/locations/*/collections/*/dataStores/*}" } ] }, { - "shortName": "DeleteProcessorVersion", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService.DeleteProcessorVersion", + "shortName": "GetDataStore", + "fullName": "google.cloud.discoveryengine.v1.DataStoreService.GetDataStore", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/processors/*/processorVersions/*}" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/dataStores/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/collections/*/dataStores/*}" } ] }, { - "shortName": "DeployProcessorVersion", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService.DeployProcessorVersion", + "shortName": "ListDataStores", + "fullName": "google.cloud.discoveryengine.v1.DataStoreService.ListDataStores", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/processors/*/processorVersions/*}:deploy" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/dataStores" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/collections/*}/dataStores" } ] }, { - "shortName": "DisableProcessor", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService.DisableProcessor", + "shortName": "UpdateDataStore", + "fullName": "google.cloud.discoveryengine.v1.DataStoreService.UpdateDataStore", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/processors/*}:disable" + "httpMethod": "PATCH", + "path": "/v1/{data_store.name=projects/*/locations/*/dataStores/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{data_store.name=projects/*/locations/*/collections/*/dataStores/*}" } ] - }, + } + ] + }, + { + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1.DocumentService", + "methods": [ { - "shortName": "EnableProcessor", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService.EnableProcessor", + "shortName": "CreateDocument", + "fullName": "google.cloud.discoveryengine.v1.DocumentService.CreateDocument", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/processors/*}:enable" + "path": "/v1/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents" } ] }, { - "shortName": "EvaluateProcessorVersion", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService.EvaluateProcessorVersion", + "shortName": "DeleteDocument", + "fullName": "google.cloud.discoveryengine.v1.DocumentService.DeleteDocument", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{processor_version=projects/*/locations/*/processors/*/processorVersions/*}:evaluateProcessorVersion" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/dataStores/*/branches/*/documents/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}" } ] }, { - "shortName": "FetchProcessorTypes", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService.FetchProcessorTypes", + "shortName": "GetDocument", + "fullName": "google.cloud.discoveryengine.v1.DocumentService.GetDocument", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}:fetchProcessorTypes" + "path": "/v1/{name=projects/*/locations/*/dataStores/*/branches/*/documents/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}" } ] }, { - "shortName": "GetEvaluation", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService.GetEvaluation", + "shortName": "ImportDocuments", + "fullName": "google.cloud.discoveryengine.v1.DocumentService.ImportDocuments", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/processors/*/processorVersions/*/evaluations/*}" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents:import" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents:import" } ] }, { - "shortName": "GetProcessor", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService.GetProcessor", + "shortName": "ListDocuments", + "fullName": "google.cloud.discoveryengine.v1.DocumentService.ListDocuments", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/processors/*}" + "path": "/v1/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents" } ] }, { - "shortName": "GetProcessorType", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService.GetProcessorType", + "shortName": "PurgeDocuments", + "fullName": "google.cloud.discoveryengine.v1.DocumentService.PurgeDocuments", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/processorTypes/*}" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents:purge" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents:purge" } ] }, { - "shortName": "GetProcessorVersion", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService.GetProcessorVersion", + "shortName": "UpdateDocument", + "fullName": "google.cloud.discoveryengine.v1.DocumentService.UpdateDocument", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/processors/*/processorVersions/*}" + "httpMethod": "PATCH", + "path": "/v1/{document.name=projects/*/locations/*/dataStores/*/branches/*/documents/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{document.name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}" } ] - }, + } + ] + }, + { + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1.EngineService", + "methods": [ { - "shortName": "ListEvaluations", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService.ListEvaluations", + "shortName": "CreateEngine", + "fullName": "google.cloud.discoveryengine.v1.EngineService.CreateEngine", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*/processors/*/processorVersions/*}/evaluations" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/collections/*}/engines" } ] }, { - "shortName": "ListProcessorTypes", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes", + "shortName": "DeleteEngine", + "fullName": "google.cloud.discoveryengine.v1.EngineService.DeleteEngine", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/processorTypes" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/collections/*/engines/*}" } ] }, { - "shortName": "ListProcessorVersions", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService.ListProcessorVersions", + "shortName": "GetEngine", + "fullName": "google.cloud.discoveryengine.v1.EngineService.GetEngine", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*/processors/*}/processorVersions" + "path": "/v1/{name=projects/*/locations/*/collections/*/engines/*}" } ] }, { - "shortName": "ListProcessors", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService.ListProcessors", + "shortName": "ListEngines", + "fullName": "google.cloud.discoveryengine.v1.EngineService.ListEngines", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/processors" + "path": "/v1/{parent=projects/*/locations/*/collections/*}/engines" } ] }, { - "shortName": "ProcessDocument", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument", + "shortName": "UpdateEngine", + "fullName": "google.cloud.discoveryengine.v1.EngineService.UpdateEngine", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{engine.name=projects/*/locations/*/collections/*/engines/*}" + } + ] + } + ] + }, + { + "shortName": "SchemaService", + "fullName": "google.cloud.discoveryengine.v1.SchemaService", + "methods": [ + { + "shortName": "CreateSchema", + "fullName": "google.cloud.discoveryengine.v1.SchemaService.CreateSchema", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/processors/*}:process" + "path": "/v1/{parent=projects/*/locations/*/dataStores/*}/schemas" }, { "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/processors/*/processorVersions/*}:process" + "path": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/schemas" } ] }, { - "shortName": "ReviewDocument", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument", + "shortName": "DeleteSchema", + "fullName": "google.cloud.discoveryengine.v1.SchemaService.DeleteSchema", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{human_review_config=projects/*/locations/*/processors/*/humanReviewConfig}:reviewDocument" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/dataStores/*/schemas/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}" } ] }, { - "shortName": "SetDefaultProcessorVersion", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService.SetDefaultProcessorVersion", + "shortName": "GetSchema", + "fullName": "google.cloud.discoveryengine.v1.SchemaService.GetSchema", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{processor=projects/*/locations/*/processors/*}:setDefaultProcessorVersion" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/dataStores/*/schemas/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}" } ] }, { - "shortName": "TrainProcessorVersion", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService.TrainProcessorVersion", + "shortName": "ListSchemas", + "fullName": "google.cloud.discoveryengine.v1.SchemaService.ListSchemas", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*/processors/*}/processorVersions:train" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/dataStores/*}/schemas" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/schemas" } ] }, { - "shortName": "UndeployProcessorVersion", - "fullName": "google.cloud.documentai.v1.DocumentProcessorService.UndeployProcessorVersion", + "shortName": "UpdateSchema", + "fullName": "google.cloud.discoveryengine.v1.SchemaService.UpdateSchema", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/processors/*/processorVersions/*}:undeploy" + "httpMethod": "PATCH", + "path": "/v1/{schema.name=projects/*/locations/*/dataStores/*/schemas/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{schema.name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}" } ] } ] - } - ], - "configFile": "documentai_v1.yaml", - "serviceConfigApiNames": [ - "google.cloud.documentai.v1.DocumentProcessorService", - "google.cloud.location.Locations", - "google.longrunning.Operations" - ], - "nameInServiceConfig": "documentai.googleapis.com" - }, - { - "id": "google.cloud.documentai.v1beta2", - "directory": "google/cloud/documentai/v1beta2", - "version": "v1beta2", - "majorVersion": "v1", - "hostName": "documentai.googleapis.com", - "title": "Cloud Document AI API", - "description": "Service to parse structured information from unstructured or semi-structured documents using state-of-the-art Google AI such as natural language, computer vision, translation, and AutoML.", - "importDirectories": [ - "google/api", - "google/cloud/documentai/v1beta2", - "google/longrunning", - "google/protobuf", - "google/rpc", - "google/type" - ], - "options": { - "csharp_namespace": { - "valueCounts": { - "Google.Cloud.DocumentAI.V1Beta2": 3 - } - }, - "go_package": { - "valueCounts": { - "cloud.google.com/go/documentai/apiv1beta2/documentaipb;documentaipb": 3 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 3 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.documentai.v1beta2": 3 - } - }, - "php_namespace": { - "valueCounts": { - "Google\\Cloud\\DocumentAI\\V1beta2": 3 - } }, - "ruby_package": { - "valueCounts": { - "Google::Cloud::DocumentAI::V1beta2": 3 - } - } - }, - "services": [ { - "shortName": "DocumentUnderstandingService", - "fullName": "google.cloud.documentai.v1beta2.DocumentUnderstandingService", + "shortName": "SearchService", + "fullName": "google.cloud.discoveryengine.v1.SearchService", "methods": [ { - "shortName": "BatchProcessDocuments", - "fullName": "google.cloud.documentai.v1beta2.DocumentUnderstandingService.BatchProcessDocuments", + "shortName": "Search", + "fullName": "google.cloud.discoveryengine.v1.SearchService.Search", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta2/{parent=projects/*/locations/*}/documents:batchProcess" + "path": "/v1/{serving_config=projects/*/locations/*/dataStores/*/servingConfigs/*}:search" }, { "httpMethod": "POST", - "path": "/v1beta2/{parent=projects/*}/documents:batchProcess" - } - ] - }, - { - "shortName": "ProcessDocument", - "fullName": "google.cloud.documentai.v1beta2.DocumentUnderstandingService.ProcessDocument", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1beta2/{parent=projects/*/locations/*}/documents:process" + "path": "/v1/{serving_config=projects/*/locations/*/collections/*/dataStores/*/servingConfigs/*}:search" }, { "httpMethod": "POST", - "path": "/v1beta2/{parent=projects/*}/documents:process" + "path": "/v1/{serving_config=projects/*/locations/*/collections/*/engines/*/servingConfigs/*}:search" } ] } ] - } - ], - "configFile": "documentai_v1beta2.yaml", - "serviceConfigApiNames": [ - "google.cloud.documentai.v1beta2.DocumentUnderstandingService" - ], - "nameInServiceConfig": "documentai.googleapis.com" - }, - { - "id": "google.cloud.documentai.v1beta3", - "directory": "google/cloud/documentai/v1beta3", - "version": "v1beta3", - "majorVersion": "v1", - "hostName": "documentai.googleapis.com", - "title": "Cloud Document AI API", - "description": "Service to parse structured information from unstructured or semi-structured documents using state-of-the-art Google AI such as natural language, computer vision, translation, and AutoML.", - "importDirectories": [ - "google/api", - "google/cloud/documentai/v1beta3", - "google/longrunning", - "google/protobuf", - "google/rpc", - "google/type" - ], - "options": { - "csharp_namespace": { - "valueCounts": { - "Google.Cloud.DocumentAI.V1Beta3": 10 - } - }, - "go_package": { - "valueCounts": { - "cloud.google.com/go/documentai/apiv1beta3/documentaipb;documentaipb": 10 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 10 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.documentai.v1beta3": 10 - } }, - "php_namespace": { - "valueCounts": { - "Google\\Cloud\\DocumentAI\\V1beta3": 10 - } - }, - "ruby_package": { - "valueCounts": { - "Google::Cloud::DocumentAI::V1beta3": 10 - } - } - }, - "services": [ { - "shortName": "DocumentProcessorService", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService", + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService", "methods": [ { - "shortName": "BatchProcessDocuments", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.BatchProcessDocuments", + "shortName": "BatchCreateTargetSites", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.BatchCreateTargetSites", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta3/{name=projects/*/locations/*/processors/*}:batchProcess" + "path": "/v1/{parent=projects/*/locations/*/dataStores/*/siteSearchEngine}/targetSites:batchCreate" }, { "httpMethod": "POST", - "path": "/v1beta3/{name=projects/*/locations/*/processors/*/processorVersions/*}:batchProcess" + "path": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}/targetSites:batchCreate" } ] }, { - "shortName": "CreateProcessor", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.CreateProcessor", + "shortName": "BatchVerifyTargetSites", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.BatchVerifyTargetSites", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta3/{parent=projects/*/locations/*}/processors" + "path": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}:batchVerifyTargetSites" } ] }, { - "shortName": "DeleteProcessor", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.DeleteProcessor", + "shortName": "CreateTargetSite", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.CreateTargetSite", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1beta3/{name=projects/*/locations/*/processors/*}" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/dataStores/*/siteSearchEngine}/targetSites" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}/targetSites" } ] }, { - "shortName": "DeleteProcessorVersion", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.DeleteProcessorVersion", + "shortName": "DeleteTargetSite", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.DeleteTargetSite", "mode": "UNARY", "bindings": [ { "httpMethod": "DELETE", - "path": "/v1beta3/{name=projects/*/locations/*/processors/*/processorVersions/*}" + "path": "/v1/{name=projects/*/locations/*/dataStores/*/siteSearchEngine/targetSites/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/targetSites/*}" } ] }, { - "shortName": "DeployProcessorVersion", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.DeployProcessorVersion", + "shortName": "DisableAdvancedSiteSearch", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.DisableAdvancedSiteSearch", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta3/{name=projects/*/locations/*/processors/*/processorVersions/*}:deploy" - } - ] - }, - { - "shortName": "DisableProcessor", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.DisableProcessor", - "mode": "UNARY", - "bindings": [ + "path": "/v1/{site_search_engine=projects/*/locations/*/dataStores/*/siteSearchEngine}:disableAdvancedSiteSearch" + }, { "httpMethod": "POST", - "path": "/v1beta3/{name=projects/*/locations/*/processors/*}:disable" + "path": "/v1/{site_search_engine=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}:disableAdvancedSiteSearch" } ] }, { - "shortName": "EnableProcessor", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.EnableProcessor", + "shortName": "EnableAdvancedSiteSearch", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.EnableAdvancedSiteSearch", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta3/{name=projects/*/locations/*/processors/*}:enable" - } - ] - }, - { - "shortName": "EvaluateProcessorVersion", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.EvaluateProcessorVersion", - "mode": "UNARY", - "bindings": [ + "path": "/v1/{site_search_engine=projects/*/locations/*/dataStores/*/siteSearchEngine}:enableAdvancedSiteSearch" + }, { "httpMethod": "POST", - "path": "/v1beta3/{processor_version=projects/*/locations/*/processors/*/processorVersions/*}:evaluateProcessorVersion" + "path": "/v1/{site_search_engine=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}:enableAdvancedSiteSearch" } ] }, { - "shortName": "FetchProcessorTypes", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.FetchProcessorTypes", + "shortName": "FetchDomainVerificationStatus", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.FetchDomainVerificationStatus", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta3/{parent=projects/*/locations/*}:fetchProcessorTypes" + "path": "/v1/{site_search_engine=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}:fetchDomainVerificationStatus" } ] }, { - "shortName": "GetEvaluation", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.GetEvaluation", + "shortName": "GetSiteSearchEngine", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.GetSiteSearchEngine", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta3/{name=projects/*/locations/*/processors/*/processorVersions/*/evaluations/*}" - } - ] - }, - { - "shortName": "GetProcessor", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.GetProcessor", - "mode": "UNARY", - "bindings": [ + "path": "/v1/{name=projects/*/locations/*/dataStores/*/siteSearchEngine}" + }, { "httpMethod": "GET", - "path": "/v1beta3/{name=projects/*/locations/*/processors/*}" + "path": "/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}" } ] }, { - "shortName": "GetProcessorType", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.GetProcessorType", + "shortName": "GetTargetSite", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.GetTargetSite", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta3/{name=projects/*/locations/*/processorTypes/*}" - } - ] - }, - { - "shortName": "GetProcessorVersion", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.GetProcessorVersion", - "mode": "UNARY", - "bindings": [ + "path": "/v1/{name=projects/*/locations/*/dataStores/*/siteSearchEngine/targetSites/*}" + }, { "httpMethod": "GET", - "path": "/v1beta3/{name=projects/*/locations/*/processors/*/processorVersions/*}" + "path": "/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/targetSites/*}" } ] }, { - "shortName": "ListEvaluations", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.ListEvaluations", + "shortName": "ListTargetSites", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.ListTargetSites", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta3/{parent=projects/*/locations/*/processors/*/processorVersions/*}/evaluations" - } - ] - }, - { - "shortName": "ListProcessorTypes", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.ListProcessorTypes", - "mode": "UNARY", - "bindings": [ + "path": "/v1/{parent=projects/*/locations/*/dataStores/*/siteSearchEngine}/targetSites" + }, { "httpMethod": "GET", - "path": "/v1beta3/{parent=projects/*/locations/*}/processorTypes" + "path": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}/targetSites" } ] }, { - "shortName": "ListProcessorVersions", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.ListProcessorVersions", + "shortName": "RecrawlUris", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.RecrawlUris", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta3/{parent=projects/*/locations/*/processors/*}/processorVersions" + "httpMethod": "POST", + "path": "/v1/{site_search_engine=projects/*/locations/*/dataStores/*/siteSearchEngine}:recrawlUris" + }, + { + "httpMethod": "POST", + "path": "/v1/{site_search_engine=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}:recrawlUris" } ] }, { - "shortName": "ListProcessors", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.ListProcessors", + "shortName": "UpdateTargetSite", + "fullName": "google.cloud.discoveryengine.v1.SiteSearchEngineService.UpdateTargetSite", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta3/{parent=projects/*/locations/*}/processors" + "httpMethod": "PATCH", + "path": "/v1/{target_site.name=projects/*/locations/*/dataStores/*/siteSearchEngine/targetSites/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{target_site.name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/targetSites/*}" } ] - }, + } + ] + }, + { + "shortName": "UserEventService", + "fullName": "google.cloud.discoveryengine.v1.UserEventService", + "methods": [ { - "shortName": "ProcessDocument", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.ProcessDocument", + "shortName": "CollectUserEvent", + "fullName": "google.cloud.discoveryengine.v1.UserEventService.CollectUserEvent", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta3/{name=projects/*/locations/*/processors/*}:process" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/dataStores/*}/userEvents:collect" }, { - "httpMethod": "POST", - "path": "/v1beta3/{name=projects/*/locations/*/processors/*/processorVersions/*}:process" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:collect" } ] }, { - "shortName": "ReviewDocument", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.ReviewDocument", + "shortName": "ImportUserEvents", + "fullName": "google.cloud.discoveryengine.v1.UserEventService.ImportUserEvents", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta3/{human_review_config=projects/*/locations/*/processors/*/humanReviewConfig}:reviewDocument" - } - ] - }, - { - "shortName": "SetDefaultProcessorVersion", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.SetDefaultProcessorVersion", - "mode": "UNARY", - "bindings": [ + "path": "/v1/{parent=projects/*/locations/*/dataStores/*}/userEvents:import" + }, { "httpMethod": "POST", - "path": "/v1beta3/{processor=projects/*/locations/*/processors/*}:setDefaultProcessorVersion" + "path": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:import" } ] }, { - "shortName": "TrainProcessorVersion", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.TrainProcessorVersion", + "shortName": "WriteUserEvent", + "fullName": "google.cloud.discoveryengine.v1.UserEventService.WriteUserEvent", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta3/{parent=projects/*/locations/*/processors/*}/processorVersions:train" - } - ] - }, - { - "shortName": "UndeployProcessorVersion", - "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.UndeployProcessorVersion", - "mode": "UNARY", - "bindings": [ + "path": "/v1/{parent=projects/*/locations/*/dataStores/*}/userEvents:write" + }, { "httpMethod": "POST", - "path": "/v1beta3/{name=projects/*/locations/*/processors/*/processorVersions/*}:undeploy" + "path": "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:write" } ] } ] } ], - "configFile": "documentai_v1beta3.yaml", + "configFile": "discoveryengine_v1.yaml", "serviceConfigApiNames": [ - "google.cloud.documentai.v1beta3.DocumentProcessorService", + "google.cloud.discoveryengine.v1.CompletionService", + "google.cloud.discoveryengine.v1.ConversationalSearchService", + "google.cloud.discoveryengine.v1.DataStoreService", + "google.cloud.discoveryengine.v1.DocumentService", + "google.cloud.discoveryengine.v1.EngineService", + "google.cloud.discoveryengine.v1.SchemaService", + "google.cloud.discoveryengine.v1.SearchService", + "google.cloud.discoveryengine.v1.SiteSearchEngineService", + "google.cloud.discoveryengine.v1.UserEventService", "google.cloud.location.Locations", "google.longrunning.Operations" ], - "nameInServiceConfig": "documentai.googleapis.com" + "nameInServiceConfig": "discoveryengine.googleapis.com" }, { - "id": "google.cloud.domains.v1", - "directory": "google/cloud/domains/v1", - "version": "v1", + "id": "google.cloud.discoveryengine.v1alpha", + "directory": "google/cloud/discoveryengine/v1alpha", + "version": "v1alpha", "majorVersion": "v1", - "hostName": "domains.googleapis.com", - "title": "Cloud Domains API", - "description": "Enables management and configuration of domain names.", + "hostName": "discoveryengine.googleapis.com", + "title": "Discovery Engine API", + "description": "Discovery Engine API.", "importDirectories": [ "google/api", + "google/cloud/discoveryengine/v1alpha", "google/longrunning", "google/protobuf", + "google/rpc", "google/type" ], "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.DiscoveryEngine.V1Alpha": 21 + } + }, "go_package": { "valueCounts": { - "cloud.google.com/go/domains/apiv1/domainspb;domainspb": 1 + "cloud.google.com/go/discoveryengine/apiv1alpha/discoveryenginepb;discoveryenginepb": 21 } }, "java_multiple_files": { "valueCounts": { - "true": 1 + "true": 21 } }, "java_package": { "valueCounts": { - "com.google.cloud.domains.v1": 1 + "com.google.cloud.discoveryengine.v1alpha": 21 + } + }, + "objc_class_prefix": { + "valueCounts": { + "DISCOVERYENGINE": 21 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\DiscoveryEngine\\V1alpha": 21 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::DiscoveryEngine::V1alpha": 21 } } }, "services": [ { - "shortName": "Domains", - "fullName": "google.cloud.domains.v1.Domains", + "shortName": "CompletionService", + "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService", "methods": [ { - "shortName": "ConfigureContactSettings", - "fullName": "google.cloud.domains.v1.Domains.ConfigureContactSettings", + "shortName": "CompleteQuery", + "fullName": "google.cloud.discoveryengine.v1alpha.CompletionService.CompleteQuery", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{registration=projects/*/locations/*/registrations/*}:configureContactSettings" + "httpMethod": "GET", + "path": "/v1alpha/{data_store=projects/*/locations/*/dataStores/*}:completeQuery" + }, + { + "httpMethod": "GET", + "path": "/v1alpha/{data_store=projects/*/locations/*/collections/*/dataStores/*}:completeQuery" } ] - }, + } + ] + }, + { + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService", + "methods": [ { - "shortName": "ConfigureDnsSettings", - "fullName": "google.cloud.domains.v1.Domains.ConfigureDnsSettings", + "shortName": "ConverseConversation", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.ConverseConversation", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{registration=projects/*/locations/*/registrations/*}:configureDnsSettings" + "path": "/v1alpha/{name=projects/*/locations/*/dataStores/*/conversations/*}:converse" + }, + { + "httpMethod": "POST", + "path": "/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}:converse" + }, + { + "httpMethod": "POST", + "path": "/v1alpha/{name=projects/*/locations/*/collections/*/engines/*/conversations/*}:converse" } ] }, { - "shortName": "ConfigureManagementSettings", - "fullName": "google.cloud.domains.v1.Domains.ConfigureManagementSettings", + "shortName": "CreateConversation", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.CreateConversation", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{registration=projects/*/locations/*/registrations/*}:configureManagementSettings" + "path": "/v1alpha/{parent=projects/*/locations/*/dataStores/*}/conversations" + }, + { + "httpMethod": "POST", + "path": "/v1alpha/{parent=projects/*/locations/*/collections/*/dataStores/*}/conversations" + }, + { + "httpMethod": "POST", + "path": "/v1alpha/{parent=projects/*/locations/*/collections/*/engines/*}/conversations" } ] }, { - "shortName": "DeleteRegistration", - "fullName": "google.cloud.domains.v1.Domains.DeleteRegistration", + "shortName": "DeleteConversation", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.DeleteConversation", "mode": "UNARY", "bindings": [ { "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/registrations/*}" - } - ] - }, - { - "shortName": "ExportRegistration", - "fullName": "google.cloud.domains.v1.Domains.ExportRegistration", - "mode": "UNARY", - "bindings": [ + "path": "/v1alpha/{name=projects/*/locations/*/dataStores/*/conversations/*}" + }, { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/registrations/*}:export" + "httpMethod": "DELETE", + "path": "/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v1alpha/{name=projects/*/locations/*/collections/*/engines/*/conversations/*}" } ] }, { - "shortName": "GetRegistration", - "fullName": "google.cloud.domains.v1.Domains.GetRegistration", + "shortName": "GetConversation", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.GetConversation", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/registrations/*}" + "path": "/v1alpha/{name=projects/*/locations/*/dataStores/*/conversations/*}" + }, + { + "httpMethod": "GET", + "path": "/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}" + }, + { + "httpMethod": "GET", + "path": "/v1alpha/{name=projects/*/locations/*/collections/*/engines/*/conversations/*}" } ] }, { - "shortName": "ListRegistrations", - "fullName": "google.cloud.domains.v1.Domains.ListRegistrations", + "shortName": "ListConversations", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.ListConversations", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/registrations" + "path": "/v1alpha/{parent=projects/*/locations/*/dataStores/*}/conversations" + }, + { + "httpMethod": "GET", + "path": "/v1alpha/{parent=projects/*/locations/*/collections/*/dataStores/*}/conversations" + }, + { + "httpMethod": "GET", + "path": "/v1alpha/{parent=projects/*/locations/*/collections/*/engines/*}/conversations" } ] }, { - "shortName": "RegisterDomain", - "fullName": "google.cloud.domains.v1.Domains.RegisterDomain", + "shortName": "UpdateConversation", + "fullName": "google.cloud.discoveryengine.v1alpha.ConversationalSearchService.UpdateConversation", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/registrations:register" + "httpMethod": "PATCH", + "path": "/v1alpha/{conversation.name=projects/*/locations/*/dataStores/*/conversations/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1alpha/{conversation.name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1alpha/{conversation.name=projects/*/locations/*/collections/*/engines/*/conversations/*}" } ] - }, + } + ] + }, + { + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService", + "methods": [ { - "shortName": "ResetAuthorizationCode", - "fullName": "google.cloud.domains.v1.Domains.ResetAuthorizationCode", + "shortName": "CreateDataStore", + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.CreateDataStore", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{registration=projects/*/locations/*/registrations/*}:resetAuthorizationCode" + "path": "/v1alpha/{parent=projects/*/locations/*}/dataStores" + }, + { + "httpMethod": "POST", + "path": "/v1alpha/{parent=projects/*/locations/*/collections/*}/dataStores" } ] }, { - "shortName": "RetrieveAuthorizationCode", - "fullName": "google.cloud.domains.v1.Domains.RetrieveAuthorizationCode", + "shortName": "DeleteDataStore", + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.DeleteDataStore", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{registration=projects/*/locations/*/registrations/*}:retrieveAuthorizationCode" + "httpMethod": "DELETE", + "path": "/v1alpha/{name=projects/*/locations/*/dataStores/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*}" } ] }, { - "shortName": "RetrieveRegisterParameters", - "fullName": "google.cloud.domains.v1.Domains.RetrieveRegisterParameters", + "shortName": "GetDataStore", + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.GetDataStore", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{location=projects/*/locations/*}/registrations:retrieveRegisterParameters" + "path": "/v1alpha/{name=projects/*/locations/*/dataStores/*}" + }, + { + "httpMethod": "GET", + "path": "/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*}" } ] }, { - "shortName": "RetrieveTransferParameters", - "fullName": "google.cloud.domains.v1.Domains.RetrieveTransferParameters", + "shortName": "ListDataStores", + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.ListDataStores", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{location=projects/*/locations/*}/registrations:retrieveTransferParameters" + "path": "/v1alpha/{parent=projects/*/locations/*}/dataStores" + }, + { + "httpMethod": "GET", + "path": "/v1alpha/{parent=projects/*/locations/*/collections/*}/dataStores" } ] }, { - "shortName": "SearchDomains", - "fullName": "google.cloud.domains.v1.Domains.SearchDomains", + "shortName": "UpdateDataStore", + "fullName": "google.cloud.discoveryengine.v1alpha.DataStoreService.UpdateDataStore", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{location=projects/*/locations/*}/registrations:searchDomains" - } - ] - }, - { - "shortName": "TransferDomain", - "fullName": "google.cloud.domains.v1.Domains.TransferDomain", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/registrations:transfer" - } - ] - }, - { - "shortName": "UpdateRegistration", - "fullName": "google.cloud.domains.v1.Domains.UpdateRegistration", - "mode": "UNARY", - "bindings": [ + "httpMethod": "PATCH", + "path": "/v1alpha/{data_store.name=projects/*/locations/*/dataStores/*}" + }, { "httpMethod": "PATCH", - "path": "/v1/{registration.name=projects/*/locations/*/registrations/*}" + "path": "/v1alpha/{data_store.name=projects/*/locations/*/collections/*/dataStores/*}" } ] } ] - } - ], - "configFile": "domains_v1.yaml", - "serviceConfigApiNames": [ - "google.cloud.domains.v1.Domains" - ], - "nameInServiceConfig": "domains.googleapis.com" - }, - { - "id": "google.cloud.domains.v1alpha2", - "directory": "google/cloud/domains/v1alpha2", - "version": "v1alpha2", - "majorVersion": "v1", - "hostName": "domains.googleapis.com", - "title": "Cloud Domains API", - "description": "Enables management and configuration of domain names.", - "importDirectories": [ - "google/api", - "google/longrunning", - "google/protobuf", - "google/type" - ], - "options": { - "go_package": { - "valueCounts": { - "cloud.google.com/go/domains/apiv1alpha2/domainspb;domainspb": 1 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 1 - } }, - "java_package": { - "valueCounts": { - "com.google.cloud.domains.v1alpha2": 1 - } - } - }, - "services": [ { - "shortName": "Domains", - "fullName": "google.cloud.domains.v1alpha2.Domains", + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService", "methods": [ { - "shortName": "ConfigureContactSettings", - "fullName": "google.cloud.domains.v1alpha2.Domains.ConfigureContactSettings", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1alpha2/{registration=projects/*/locations/*/registrations/*}:configureContactSettings" - } - ] - }, - { - "shortName": "ConfigureDnsSettings", - "fullName": "google.cloud.domains.v1alpha2.Domains.ConfigureDnsSettings", + "shortName": "CreateDocument", + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.CreateDocument", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1alpha2/{registration=projects/*/locations/*/registrations/*}:configureDnsSettings" - } - ] - }, - { - "shortName": "ConfigureManagementSettings", - "fullName": "google.cloud.domains.v1alpha2.Domains.ConfigureManagementSettings", - "mode": "UNARY", - "bindings": [ + "path": "/v1alpha/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents" + }, { "httpMethod": "POST", - "path": "/v1alpha2/{registration=projects/*/locations/*/registrations/*}:configureManagementSettings" + "path": "/v1alpha/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents" } ] }, { - "shortName": "DeleteRegistration", - "fullName": "google.cloud.domains.v1alpha2.Domains.DeleteRegistration", + "shortName": "DeleteDocument", + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.DeleteDocument", "mode": "UNARY", "bindings": [ { "httpMethod": "DELETE", - "path": "/v1alpha2/{name=projects/*/locations/*/registrations/*}" - } - ] - }, - { - "shortName": "ExportRegistration", - "fullName": "google.cloud.domains.v1alpha2.Domains.ExportRegistration", - "mode": "UNARY", - "bindings": [ + "path": "/v1alpha/{name=projects/*/locations/*/dataStores/*/branches/*/documents/*}" + }, { - "httpMethod": "POST", - "path": "/v1alpha2/{name=projects/*/locations/*/registrations/*}:export" + "httpMethod": "DELETE", + "path": "/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}" } ] }, { - "shortName": "GetRegistration", - "fullName": "google.cloud.domains.v1alpha2.Domains.GetRegistration", + "shortName": "GetDocument", + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.GetDocument", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1alpha2/{name=projects/*/locations/*/registrations/*}" - } - ] - }, - { - "shortName": "ListRegistrations", - "fullName": "google.cloud.domains.v1alpha2.Domains.ListRegistrations", - "mode": "UNARY", - "bindings": [ + "path": "/v1alpha/{name=projects/*/locations/*/dataStores/*/branches/*/documents/*}" + }, { "httpMethod": "GET", - "path": "/v1alpha2/{parent=projects/*/locations/*}/registrations" + "path": "/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}" } ] }, { - "shortName": "RegisterDomain", - "fullName": "google.cloud.domains.v1alpha2.Domains.RegisterDomain", + "shortName": "ImportDocuments", + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.ImportDocuments", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1alpha2/{parent=projects/*/locations/*}/registrations:register" - } - ] - }, - { - "shortName": "ResetAuthorizationCode", - "fullName": "google.cloud.domains.v1alpha2.Domains.ResetAuthorizationCode", - "mode": "UNARY", - "bindings": [ + "path": "/v1alpha/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents:import" + }, { "httpMethod": "POST", - "path": "/v1alpha2/{registration=projects/*/locations/*/registrations/*}:resetAuthorizationCode" - } - ] - }, - { - "shortName": "RetrieveAuthorizationCode", - "fullName": "google.cloud.domains.v1alpha2.Domains.RetrieveAuthorizationCode", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1alpha2/{registration=projects/*/locations/*/registrations/*}:retrieveAuthorizationCode" + "path": "/v1alpha/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents:import" } ] }, { - "shortName": "RetrieveRegisterParameters", - "fullName": "google.cloud.domains.v1alpha2.Domains.RetrieveRegisterParameters", + "shortName": "ListDocuments", + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.ListDocuments", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1alpha2/{location=projects/*/locations/*}/registrations:retrieveRegisterParameters" - } - ] - }, - { - "shortName": "RetrieveTransferParameters", - "fullName": "google.cloud.domains.v1alpha2.Domains.RetrieveTransferParameters", - "mode": "UNARY", - "bindings": [ + "path": "/v1alpha/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents" + }, { "httpMethod": "GET", - "path": "/v1alpha2/{location=projects/*/locations/*}/registrations:retrieveTransferParameters" + "path": "/v1alpha/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents" } ] }, { - "shortName": "SearchDomains", - "fullName": "google.cloud.domains.v1alpha2.Domains.SearchDomains", + "shortName": "PurgeDocuments", + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.PurgeDocuments", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1alpha2/{location=projects/*/locations/*}/registrations:searchDomains" - } - ] - }, - { - "shortName": "TransferDomain", - "fullName": "google.cloud.domains.v1alpha2.Domains.TransferDomain", - "mode": "UNARY", - "bindings": [ + "httpMethod": "POST", + "path": "/v1alpha/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents:purge" + }, { "httpMethod": "POST", - "path": "/v1alpha2/{parent=projects/*/locations/*}/registrations:transfer" + "path": "/v1alpha/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents:purge" } ] }, { - "shortName": "UpdateRegistration", - "fullName": "google.cloud.domains.v1alpha2.Domains.UpdateRegistration", + "shortName": "UpdateDocument", + "fullName": "google.cloud.discoveryengine.v1alpha.DocumentService.UpdateDocument", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1alpha2/{registration.name=projects/*/locations/*/registrations/*}" + "path": "/v1alpha/{document.name=projects/*/locations/*/dataStores/*/branches/*/documents/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1alpha/{document.name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}" } ] } ] - } - ], - "configFile": "domains_v1alpha2.yaml", - "serviceConfigApiNames": [ - "google.cloud.domains.v1alpha2.Domains" - ], - "nameInServiceConfig": "domains.googleapis.com" - }, - { - "id": "google.cloud.domains.v1beta1", - "directory": "google/cloud/domains/v1beta1", - "version": "v1beta1", - "majorVersion": "v1", - "hostName": "domains.googleapis.com", - "title": "Cloud Domains API", - "description": "Enables management and configuration of domain names.", - "importDirectories": [ - "google/api", - "google/longrunning", - "google/protobuf", - "google/type" - ], - "options": { - "go_package": { - "valueCounts": { - "cloud.google.com/go/domains/apiv1beta1/domainspb;domainspb": 1 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 1 - } }, - "java_package": { - "valueCounts": { - "com.google.cloud.domains.v1beta1": 1 - } - } - }, - "services": [ { - "shortName": "Domains", - "fullName": "google.cloud.domains.v1beta1.Domains", + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService", "methods": [ { - "shortName": "ConfigureContactSettings", - "fullName": "google.cloud.domains.v1beta1.Domains.ConfigureContactSettings", + "shortName": "CreateEngine", + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.CreateEngine", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{registration=projects/*/locations/*/registrations/*}:configureContactSettings" + "path": "/v1alpha/{parent=projects/*/locations/*/collections/*}/engines" } ] }, { - "shortName": "ConfigureDnsSettings", - "fullName": "google.cloud.domains.v1beta1.Domains.ConfigureDnsSettings", + "shortName": "DeleteEngine", + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.DeleteEngine", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta1/{registration=projects/*/locations/*/registrations/*}:configureDnsSettings" + "httpMethod": "DELETE", + "path": "/v1alpha/{name=projects/*/locations/*/collections/*/engines/*}" } ] }, { - "shortName": "ConfigureManagementSettings", - "fullName": "google.cloud.domains.v1beta1.Domains.ConfigureManagementSettings", + "shortName": "GetEngine", + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.GetEngine", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta1/{registration=projects/*/locations/*/registrations/*}:configureManagementSettings" + "httpMethod": "GET", + "path": "/v1alpha/{name=projects/*/locations/*/collections/*/engines/*}" } ] }, { - "shortName": "DeleteRegistration", - "fullName": "google.cloud.domains.v1beta1.Domains.DeleteRegistration", + "shortName": "ListEngines", + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.ListEngines", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1beta1/{name=projects/*/locations/*/registrations/*}" + "httpMethod": "GET", + "path": "/v1alpha/{parent=projects/*/locations/*/collections/*}/engines" } ] }, { - "shortName": "ExportRegistration", - "fullName": "google.cloud.domains.v1beta1.Domains.ExportRegistration", + "shortName": "PauseEngine", + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.PauseEngine", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{name=projects/*/locations/*/registrations/*}:export" + "path": "/v1alpha/{name=projects/*/locations/*/collections/*/engines/*}:pause" } ] }, { - "shortName": "GetRegistration", - "fullName": "google.cloud.domains.v1beta1.Domains.GetRegistration", + "shortName": "ResumeEngine", + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.ResumeEngine", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{name=projects/*/locations/*/registrations/*}" + "httpMethod": "POST", + "path": "/v1alpha/{name=projects/*/locations/*/collections/*/engines/*}:resume" } ] }, { - "shortName": "ListRegistrations", - "fullName": "google.cloud.domains.v1beta1.Domains.ListRegistrations", + "shortName": "TuneEngine", + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.TuneEngine", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{parent=projects/*/locations/*}/registrations" + "httpMethod": "POST", + "path": "/v1alpha/{name=projects/*/locations/*/collections/*/engines/*}:tune" } ] }, { - "shortName": "RegisterDomain", - "fullName": "google.cloud.domains.v1beta1.Domains.RegisterDomain", + "shortName": "UpdateEngine", + "fullName": "google.cloud.discoveryengine.v1alpha.EngineService.UpdateEngine", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta1/{parent=projects/*/locations/*}/registrations:register" + "httpMethod": "PATCH", + "path": "/v1alpha/{engine.name=projects/*/locations/*/collections/*/engines/*}" } ] - }, + } + ] + }, + { + "shortName": "RecommendationService", + "fullName": "google.cloud.discoveryengine.v1alpha.RecommendationService", + "methods": [ { - "shortName": "ResetAuthorizationCode", - "fullName": "google.cloud.domains.v1beta1.Domains.ResetAuthorizationCode", + "shortName": "Recommend", + "fullName": "google.cloud.discoveryengine.v1alpha.RecommendationService.Recommend", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{registration=projects/*/locations/*/registrations/*}:resetAuthorizationCode" + "path": "/v1alpha/{serving_config=projects/*/locations/*/dataStores/*/servingConfigs/*}:recommend" + }, + { + "httpMethod": "POST", + "path": "/v1alpha/{serving_config=projects/*/locations/*/collections/*/dataStores/*/servingConfigs/*}:recommend" + }, + { + "httpMethod": "POST", + "path": "/v1alpha/{serving_config=projects/*/locations/*/collections/*/engines/*/servingConfigs/*}:recommend" } ] - }, + } + ] + }, + { + "shortName": "SchemaService", + "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService", + "methods": [ { - "shortName": "RetrieveAuthorizationCode", - "fullName": "google.cloud.domains.v1beta1.Domains.RetrieveAuthorizationCode", + "shortName": "CreateSchema", + "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService.CreateSchema", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{registration=projects/*/locations/*/registrations/*}:retrieveAuthorizationCode" + "httpMethod": "POST", + "path": "/v1alpha/{parent=projects/*/locations/*/dataStores/*}/schemas" + }, + { + "httpMethod": "POST", + "path": "/v1alpha/{parent=projects/*/locations/*/collections/*/dataStores/*}/schemas" } ] }, { - "shortName": "RetrieveRegisterParameters", - "fullName": "google.cloud.domains.v1beta1.Domains.RetrieveRegisterParameters", + "shortName": "DeleteSchema", + "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService.DeleteSchema", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{location=projects/*/locations/*}/registrations:retrieveRegisterParameters" + "httpMethod": "DELETE", + "path": "/v1alpha/{name=projects/*/locations/*/dataStores/*/schemas/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}" } ] }, { - "shortName": "RetrieveTransferParameters", - "fullName": "google.cloud.domains.v1beta1.Domains.RetrieveTransferParameters", + "shortName": "GetSchema", + "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService.GetSchema", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta1/{location=projects/*/locations/*}/registrations:retrieveTransferParameters" + "path": "/v1alpha/{name=projects/*/locations/*/dataStores/*/schemas/*}" + }, + { + "httpMethod": "GET", + "path": "/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}" } ] }, { - "shortName": "SearchDomains", - "fullName": "google.cloud.domains.v1beta1.Domains.SearchDomains", + "shortName": "ListSchemas", + "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService.ListSchemas", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta1/{location=projects/*/locations/*}/registrations:searchDomains" + "path": "/v1alpha/{parent=projects/*/locations/*/dataStores/*}/schemas" + }, + { + "httpMethod": "GET", + "path": "/v1alpha/{parent=projects/*/locations/*/collections/*/dataStores/*}/schemas" } ] }, { - "shortName": "TransferDomain", - "fullName": "google.cloud.domains.v1beta1.Domains.TransferDomain", + "shortName": "UpdateSchema", + "fullName": "google.cloud.discoveryengine.v1alpha.SchemaService.UpdateSchema", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta1/{parent=projects/*/locations/*}/registrations:transfer" + "httpMethod": "PATCH", + "path": "/v1alpha/{schema.name=projects/*/locations/*/dataStores/*/schemas/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1alpha/{schema.name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}" } ] - }, + } + ] + }, + { + "shortName": "SearchService", + "fullName": "google.cloud.discoveryengine.v1alpha.SearchService", + "methods": [ { - "shortName": "UpdateRegistration", - "fullName": "google.cloud.domains.v1beta1.Domains.UpdateRegistration", + "shortName": "Search", + "fullName": "google.cloud.discoveryengine.v1alpha.SearchService.Search", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1beta1/{registration.name=projects/*/locations/*/registrations/*}" + "httpMethod": "POST", + "path": "/v1alpha/{serving_config=projects/*/locations/*/dataStores/*/servingConfigs/*}:search" + }, + { + "httpMethod": "POST", + "path": "/v1alpha/{serving_config=projects/*/locations/*/collections/*/dataStores/*/servingConfigs/*}:search" + }, + { + "httpMethod": "POST", + "path": "/v1alpha/{serving_config=projects/*/locations/*/collections/*/engines/*/servingConfigs/*}:search" } ] } ] - } - ], - "configFile": "domains_v1beta1.yaml", - "serviceConfigApiNames": [ - "google.cloud.domains.v1beta1.Domains" - ], - "nameInServiceConfig": "domains.googleapis.com" - }, - { - "id": "google.cloud.edgecontainer.v1", - "directory": "google/cloud/edgecontainer/v1", - "version": "v1", - "majorVersion": "v1", - "hostName": "edgecontainer.googleapis.com", - "title": "Distributed Cloud Edge Container API", - "description": "", - "importDirectories": [ - "google/api", - "google/cloud/edgecontainer/v1", - "google/longrunning", - "google/protobuf", - "google/rpc" - ], - "options": { - "go_package": { - "valueCounts": { - "cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb;edgecontainerpb": 2 - } }, - "java_multiple_files": { - "valueCounts": { - "true": 2 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.edgecontainer.v1": 2 - } - } - }, - "services": [ { - "shortName": "EdgeContainer", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer", + "shortName": "SearchTuningService", + "fullName": "google.cloud.discoveryengine.v1alpha.SearchTuningService", "methods": [ { - "shortName": "CreateCluster", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.CreateCluster", + "shortName": "TrainCustomModel", + "fullName": "google.cloud.discoveryengine.v1alpha.SearchTuningService.TrainCustomModel", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/clusters" + "path": "/v1alpha/{data_store=projects/*/locations/*/collections/*/dataStores/*}:trainCustomModel" } ] - }, + } + ] + }, + { + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService", + "methods": [ { - "shortName": "CreateNodePool", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.CreateNodePool", + "shortName": "BatchCreateTargetSites", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.BatchCreateTargetSites", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*/clusters/*}/nodePools" + "path": "/v1alpha/{parent=projects/*/locations/*/dataStores/*/siteSearchEngine}/targetSites:batchCreate" + }, + { + "httpMethod": "POST", + "path": "/v1alpha/{parent=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}/targetSites:batchCreate" } ] }, { - "shortName": "CreateVpnConnection", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.CreateVpnConnection", + "shortName": "BatchVerifyTargetSites", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.BatchVerifyTargetSites", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/vpnConnections" + "path": "/v1alpha/{parent=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}:batchVerifyTargetSites" } ] }, { - "shortName": "DeleteCluster", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.DeleteCluster", + "shortName": "CreateTargetSite", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.CreateTargetSite", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/clusters/*}" + "httpMethod": "POST", + "path": "/v1alpha/{parent=projects/*/locations/*/dataStores/*/siteSearchEngine}/targetSites" + }, + { + "httpMethod": "POST", + "path": "/v1alpha/{parent=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}/targetSites" } ] }, { - "shortName": "DeleteNodePool", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.DeleteNodePool", + "shortName": "DeleteTargetSite", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.DeleteTargetSite", "mode": "UNARY", "bindings": [ { "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/clusters/*/nodePools/*}" + "path": "/v1alpha/{name=projects/*/locations/*/dataStores/*/siteSearchEngine/targetSites/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/targetSites/*}" } ] }, { - "shortName": "DeleteVpnConnection", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.DeleteVpnConnection", + "shortName": "DisableAdvancedSiteSearch", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.DisableAdvancedSiteSearch", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/vpnConnections/*}" + "httpMethod": "POST", + "path": "/v1alpha/{site_search_engine=projects/*/locations/*/dataStores/*/siteSearchEngine}:disableAdvancedSiteSearch" + }, + { + "httpMethod": "POST", + "path": "/v1alpha/{site_search_engine=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}:disableAdvancedSiteSearch" } ] }, { - "shortName": "GenerateAccessToken", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GenerateAccessToken", + "shortName": "EnableAdvancedSiteSearch", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.EnableAdvancedSiteSearch", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{cluster=projects/*/locations/*/clusters/*}:generateAccessToken" + "httpMethod": "POST", + "path": "/v1alpha/{site_search_engine=projects/*/locations/*/dataStores/*/siteSearchEngine}:enableAdvancedSiteSearch" + }, + { + "httpMethod": "POST", + "path": "/v1alpha/{site_search_engine=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}:enableAdvancedSiteSearch" } ] }, { - "shortName": "GetCluster", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GetCluster", + "shortName": "FetchDomainVerificationStatus", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.FetchDomainVerificationStatus", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/clusters/*}" + "path": "/v1alpha/{site_search_engine=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}:fetchDomainVerificationStatus" } ] }, { - "shortName": "GetMachine", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GetMachine", + "shortName": "GetSiteSearchEngine", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.GetSiteSearchEngine", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/machines/*}" + "path": "/v1alpha/{name=projects/*/locations/*/dataStores/*/siteSearchEngine}" + }, + { + "httpMethod": "GET", + "path": "/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}" } ] }, { - "shortName": "GetNodePool", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GetNodePool", + "shortName": "GetTargetSite", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.GetTargetSite", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/clusters/*/nodePools/*}" + "path": "/v1alpha/{name=projects/*/locations/*/dataStores/*/siteSearchEngine/targetSites/*}" + }, + { + "httpMethod": "GET", + "path": "/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/targetSites/*}" } ] }, { - "shortName": "GetVpnConnection", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GetVpnConnection", + "shortName": "ListTargetSites", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.ListTargetSites", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/vpnConnections/*}" + "path": "/v1alpha/{parent=projects/*/locations/*/dataStores/*/siteSearchEngine}/targetSites" + }, + { + "httpMethod": "GET", + "path": "/v1alpha/{parent=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}/targetSites" } ] }, { - "shortName": "ListClusters", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.ListClusters", + "shortName": "RecrawlUris", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.RecrawlUris", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/clusters" + "httpMethod": "POST", + "path": "/v1alpha/{site_search_engine=projects/*/locations/*/dataStores/*/siteSearchEngine}:recrawlUris" + }, + { + "httpMethod": "POST", + "path": "/v1alpha/{site_search_engine=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}:recrawlUris" } ] }, { - "shortName": "ListMachines", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.ListMachines", + "shortName": "UpdateTargetSite", + "fullName": "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.UpdateTargetSite", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/machines" + "httpMethod": "PATCH", + "path": "/v1alpha/{target_site.name=projects/*/locations/*/dataStores/*/siteSearchEngine/targetSites/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1alpha/{target_site.name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/targetSites/*}" } ] - }, + } + ] + }, + { + "shortName": "UserEventService", + "fullName": "google.cloud.discoveryengine.v1alpha.UserEventService", + "methods": [ { - "shortName": "ListNodePools", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.ListNodePools", + "shortName": "CollectUserEvent", + "fullName": "google.cloud.discoveryengine.v1alpha.UserEventService.CollectUserEvent", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*/clusters/*}/nodePools" + "path": "/v1alpha/{parent=projects/*/locations/*/dataStores/*}/userEvents:collect" + }, + { + "httpMethod": "GET", + "path": "/v1alpha/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:collect" } ] }, { - "shortName": "ListVpnConnections", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.ListVpnConnections", + "shortName": "ImportUserEvents", + "fullName": "google.cloud.discoveryengine.v1alpha.UserEventService.ImportUserEvents", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/vpnConnections" + "httpMethod": "POST", + "path": "/v1alpha/{parent=projects/*/locations/*/dataStores/*}/userEvents:import" + }, + { + "httpMethod": "POST", + "path": "/v1alpha/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:import" } ] }, { - "shortName": "UpdateCluster", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.UpdateCluster", + "shortName": "PurgeUserEvents", + "fullName": "google.cloud.discoveryengine.v1alpha.UserEventService.PurgeUserEvents", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{cluster.name=projects/*/locations/*/clusters/*}" + "httpMethod": "POST", + "path": "/v1alpha/{parent=projects/*/locations/*/dataStores/*}/userEvents:purge" + }, + { + "httpMethod": "POST", + "path": "/v1alpha/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:purge" } ] }, { - "shortName": "UpdateNodePool", - "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.UpdateNodePool", + "shortName": "WriteUserEvent", + "fullName": "google.cloud.discoveryengine.v1alpha.UserEventService.WriteUserEvent", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{node_pool.name=projects/*/locations/*/clusters/*/nodePools/*}" + "httpMethod": "POST", + "path": "/v1alpha/{parent=projects/*/locations/*/dataStores/*}/userEvents:write" + }, + { + "httpMethod": "POST", + "path": "/v1alpha/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:write" } ] } ] } ], - "configFile": "edgecontainer_v1.yaml", + "configFile": "discoveryengine_v1alpha.yaml", "serviceConfigApiNames": [ - "google.cloud.edgecontainer.v1.EdgeContainer", + "google.cloud.discoveryengine.v1alpha.CompletionService", + "google.cloud.discoveryengine.v1alpha.ConversationalSearchService", + "google.cloud.discoveryengine.v1alpha.DataStoreService", + "google.cloud.discoveryengine.v1alpha.DocumentService", + "google.cloud.discoveryengine.v1alpha.EngineService", + "google.cloud.discoveryengine.v1alpha.RecommendationService", + "google.cloud.discoveryengine.v1alpha.SchemaService", + "google.cloud.discoveryengine.v1alpha.SearchService", + "google.cloud.discoveryengine.v1alpha.SearchTuningService", + "google.cloud.discoveryengine.v1alpha.SiteSearchEngineService", + "google.cloud.discoveryengine.v1alpha.UserEventService", "google.cloud.location.Locations", "google.longrunning.Operations" ], - "nameInServiceConfig": "edgecontainer.googleapis.com" + "nameInServiceConfig": "discoveryengine.googleapis.com" }, { - "id": "google.cloud.enterpriseknowledgegraph.v1", - "directory": "google/cloud/enterpriseknowledgegraph/v1", - "version": "v1", + "id": "google.cloud.discoveryengine.v1beta", + "directory": "google/cloud/discoveryengine/v1beta", + "version": "v1beta", "majorVersion": "v1", - "hostName": "enterpriseknowledgegraph.googleapis.com", - "title": "Enterprise Knowledge Graph API", - "description": "", + "hostName": "discoveryengine.googleapis.com", + "title": "Discovery Engine API", + "description": "Discovery Engine API.", "importDirectories": [ "google/api", - "google/cloud/enterpriseknowledgegraph/v1", + "google/cloud/discoveryengine/v1beta", + "google/longrunning", "google/protobuf", - "google/rpc" + "google/rpc", + "google/type" ], "options": { "csharp_namespace": { "valueCounts": { - "Google.Cloud.EnterpriseKnowledgeGraph.V1": 3 + "Google.Cloud.DiscoveryEngine.V1Beta": 23 } }, "go_package": { "valueCounts": { - "cloud.google.com/go/enterpriseknowledgegraph/apiv1/enterpriseknowledgegraphpb;enterpriseknowledgegraphpb": 3 + "cloud.google.com/go/discoveryengine/apiv1beta/discoveryenginepb;discoveryenginepb": 23 } }, "java_multiple_files": { "valueCounts": { - "true": 3 + "true": 23 } }, "java_package": { "valueCounts": { - "com.google.cloud.enterpriseknowledgegraph.v1": 3 + "com.google.cloud.discoveryengine.v1beta": 23 + } + }, + "objc_class_prefix": { + "valueCounts": { + "DISCOVERYENGINE": 23 } }, "php_namespace": { "valueCounts": { - "Google\\Cloud\\EnterpriseKnowledgeGraph\\V1": 3 + "Google\\Cloud\\DiscoveryEngine\\V1beta": 23 } }, "ruby_package": { "valueCounts": { - "Google::Cloud::EnterpriseKnowledgeGraph::V1": 3 + "Google::Cloud::DiscoveryEngine::V1beta": 23 } } }, "services": [ { - "shortName": "EnterpriseKnowledgeGraphService", - "fullName": "google.cloud.enterpriseknowledgegraph.v1.EnterpriseKnowledgeGraphService", + "shortName": "CompletionService", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService", "methods": [ { - "shortName": "CancelEntityReconciliationJob", - "fullName": "google.cloud.enterpriseknowledgegraph.v1.EnterpriseKnowledgeGraphService.CancelEntityReconciliationJob", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/entityReconciliationJobs/*}:cancel" - } - ] - }, - { - "shortName": "CreateEntityReconciliationJob", - "fullName": "google.cloud.enterpriseknowledgegraph.v1.EnterpriseKnowledgeGraphService.CreateEntityReconciliationJob", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/entityReconciliationJobs" - } - ] - }, - { - "shortName": "DeleteEntityReconciliationJob", - "fullName": "google.cloud.enterpriseknowledgegraph.v1.EnterpriseKnowledgeGraphService.DeleteEntityReconciliationJob", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/entityReconciliationJobs/*}" - } - ] - }, - { - "shortName": "GetEntityReconciliationJob", - "fullName": "google.cloud.enterpriseknowledgegraph.v1.EnterpriseKnowledgeGraphService.GetEntityReconciliationJob", + "shortName": "CompleteQuery", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.CompleteQuery", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/entityReconciliationJobs/*}" - } - ] - }, - { - "shortName": "ListEntityReconciliationJobs", - "fullName": "google.cloud.enterpriseknowledgegraph.v1.EnterpriseKnowledgeGraphService.ListEntityReconciliationJobs", - "mode": "UNARY", - "bindings": [ + "path": "/v1beta/{data_store=projects/*/locations/*/dataStores/*}:completeQuery" + }, { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/entityReconciliationJobs" + "path": "/v1beta/{data_store=projects/*/locations/*/collections/*/dataStores/*}:completeQuery" } ] }, { - "shortName": "Lookup", - "fullName": "google.cloud.enterpriseknowledgegraph.v1.EnterpriseKnowledgeGraphService.Lookup", + "shortName": "ImportSuggestionDenyListEntries", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.ImportSuggestionDenyListEntries", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/cloudKnowledgeGraphEntities:Lookup" - } - ] - }, - { - "shortName": "LookupPublicKg", - "fullName": "google.cloud.enterpriseknowledgegraph.v1.EnterpriseKnowledgeGraphService.LookupPublicKg", - "mode": "UNARY", - "bindings": [ + "httpMethod": "POST", + "path": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/suggestionDenyListEntries:import" + }, { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/publicKnowledgeGraphEntities:Lookup" + "httpMethod": "POST", + "path": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/suggestionDenyListEntries:import" } ] }, { - "shortName": "Search", - "fullName": "google.cloud.enterpriseknowledgegraph.v1.EnterpriseKnowledgeGraphService.Search", + "shortName": "PurgeSuggestionDenyListEntries", + "fullName": "google.cloud.discoveryengine.v1beta.CompletionService.PurgeSuggestionDenyListEntries", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/cloudKnowledgeGraphEntities:Search" - } - ] - }, - { - "shortName": "SearchPublicKg", - "fullName": "google.cloud.enterpriseknowledgegraph.v1.EnterpriseKnowledgeGraphService.SearchPublicKg", - "mode": "UNARY", - "bindings": [ + "httpMethod": "POST", + "path": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/suggestionDenyListEntries:purge" + }, { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/publicKnowledgeGraphEntities:Search" + "httpMethod": "POST", + "path": "/v1beta/{parent=projects/*/locations/*/dataStores/**}/suggestionDenyListEntries:purge" } ] } ] - } - ], - "configFile": "enterpriseknowledgegraph_v1.yaml", - "serviceConfigApiNames": [ - "google.cloud.enterpriseknowledgegraph.v1.EnterpriseKnowledgeGraphService", - "google.longrunning.Operations" - ], - "nameInServiceConfig": "enterpriseknowledgegraph.googleapis.com" - }, - { - "id": "google.cloud.essentialcontacts.v1", - "directory": "google/cloud/essentialcontacts/v1", - "version": "v1", - "majorVersion": "v1", - "hostName": "essentialcontacts.googleapis.com", - "title": "Essential Contacts API", - "description": "", - "importDirectories": [ - "google/api", - "google/cloud/essentialcontacts/v1", - "google/protobuf" - ], - "options": { - "csharp_namespace": { - "valueCounts": { - "Google.Cloud.EssentialContacts.V1": 2 - } - }, - "go_package": { - "valueCounts": { - "cloud.google.com/go/essentialcontacts/apiv1/essentialcontactspb;essentialcontactspb": 2 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 2 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.essentialcontacts.v1": 2 - } - }, - "php_namespace": { - "valueCounts": { - "Google\\Cloud\\EssentialContacts\\V1": 2 - } }, - "ruby_package": { - "valueCounts": { - "Google::Cloud::EssentialContacts::V1": 2 - } - } - }, - "services": [ { - "shortName": "EssentialContactsService", - "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService", + "shortName": "ConversationalSearchService", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService", "methods": [ { - "shortName": "ComputeContacts", - "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService.ComputeContacts", + "shortName": "ConverseConversation", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ConverseConversation", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*}/contacts:compute" + "httpMethod": "POST", + "path": "/v1beta/{name=projects/*/locations/*/dataStores/*/conversations/*}:converse" }, { - "httpMethod": "GET", - "path": "/v1/{parent=folders/*}/contacts:compute" + "httpMethod": "POST", + "path": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}:converse" }, { - "httpMethod": "GET", - "path": "/v1/{parent=organizations/*}/contacts:compute" + "httpMethod": "POST", + "path": "/v1beta/{name=projects/*/locations/*/collections/*/engines/*/conversations/*}:converse" } ] }, { - "shortName": "CreateContact", - "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService.CreateContact", + "shortName": "CreateConversation", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.CreateConversation", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*}/contacts" + "path": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/conversations" }, { "httpMethod": "POST", - "path": "/v1/{parent=folders/*}/contacts" + "path": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/conversations" }, { "httpMethod": "POST", - "path": "/v1/{parent=organizations/*}/contacts" + "path": "/v1beta/{parent=projects/*/locations/*/collections/*/engines/*}/conversations" } ] }, { - "shortName": "DeleteContact", - "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService.DeleteContact", + "shortName": "DeleteConversation", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.DeleteConversation", "mode": "UNARY", "bindings": [ { "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/contacts/*}" + "path": "/v1beta/{name=projects/*/locations/*/dataStores/*/conversations/*}" }, { "httpMethod": "DELETE", - "path": "/v1/{name=folders/*/contacts/*}" + "path": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}" }, { "httpMethod": "DELETE", - "path": "/v1/{name=organizations/*/contacts/*}" + "path": "/v1beta/{name=projects/*/locations/*/collections/*/engines/*/conversations/*}" } ] }, { - "shortName": "GetContact", - "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService.GetContact", + "shortName": "GetConversation", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.GetConversation", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/contacts/*}" + "path": "/v1beta/{name=projects/*/locations/*/dataStores/*/conversations/*}" }, { "httpMethod": "GET", - "path": "/v1/{name=folders/*/contacts/*}" + "path": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}" }, { "httpMethod": "GET", - "path": "/v1/{name=organizations/*/contacts/*}" + "path": "/v1beta/{name=projects/*/locations/*/collections/*/engines/*/conversations/*}" } ] }, { - "shortName": "ListContacts", - "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService.ListContacts", + "shortName": "ListConversations", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.ListConversations", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*}/contacts" + "path": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/conversations" }, { "httpMethod": "GET", - "path": "/v1/{parent=folders/*}/contacts" + "path": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/conversations" }, { "httpMethod": "GET", - "path": "/v1/{parent=organizations/*}/contacts" - } - ] - }, - { - "shortName": "SendTestMessage", - "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService.SendTestMessage", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1/{resource=projects/*}/contacts:sendTestMessage" - }, - { - "httpMethod": "POST", - "path": "/v1/{resource=folders/*}/contacts:sendTestMessage" - }, - { - "httpMethod": "POST", - "path": "/v1/{resource=organizations/*}/contacts:sendTestMessage" + "path": "/v1beta/{parent=projects/*/locations/*/collections/*/engines/*}/conversations" } ] }, { - "shortName": "UpdateContact", - "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService.UpdateContact", + "shortName": "UpdateConversation", + "fullName": "google.cloud.discoveryengine.v1beta.ConversationalSearchService.UpdateConversation", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1/{contact.name=projects/*/contacts/*}" + "path": "/v1beta/{conversation.name=projects/*/locations/*/dataStores/*/conversations/*}" }, { "httpMethod": "PATCH", - "path": "/v1/{contact.name=folders/*/contacts/*}" + "path": "/v1beta/{conversation.name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}" }, { "httpMethod": "PATCH", - "path": "/v1/{contact.name=organizations/*/contacts/*}" + "path": "/v1beta/{conversation.name=projects/*/locations/*/collections/*/engines/*/conversations/*}" } ] } ] - } - ], - "configFile": "essentialcontacts_v1.yaml", - "serviceConfigApiNames": [ - "google.cloud.essentialcontacts.v1.EssentialContactsService" - ], - "nameInServiceConfig": "essentialcontacts.googleapis.com" - }, - { - "id": "google.cloud.eventarc.publishing.v1", - "directory": "google/cloud/eventarc/publishing/v1", - "version": "v1", - "majorVersion": "v1", - "hostName": "eventarcpublishing.googleapis.com", - "title": "Eventarc Publishing API", - "description": "", - "importDirectories": [ - "google/api", - "google/protobuf" - ], - "options": { - "csharp_namespace": { - "valueCounts": { - "Google.Cloud.Eventarc.Publishing.V1": 1 - } - }, - "go_package": { - "valueCounts": { - "cloud.google.com/go/eventarc/publishing/apiv1/publishingpb;publishingpb": 1 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 1 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.eventarc.publishing.v1": 1 - } - }, - "php_namespace": { - "valueCounts": { - "Google\\Cloud\\Eventarc\\Publishing\\V1": 1 - } }, - "ruby_package": { - "valueCounts": { - "Google::Cloud::Eventarc::Publishing::V1": 1 - } - } - }, - "services": [ { - "shortName": "Publisher", - "fullName": "google.cloud.eventarc.publishing.v1.Publisher", + "shortName": "DataStoreService", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService", "methods": [ { - "shortName": "PublishChannelConnectionEvents", - "fullName": "google.cloud.eventarc.publishing.v1.Publisher.PublishChannelConnectionEvents", + "shortName": "CreateDataStore", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.CreateDataStore", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{channel_connection=projects/*/locations/*/channelConnections/*}:publishEvents" - } - ] - }, - { - "shortName": "PublishEvents", - "fullName": "google.cloud.eventarc.publishing.v1.Publisher.PublishEvents", - "mode": "UNARY", - "bindings": [ + "path": "/v1beta/{parent=projects/*/locations/*}/dataStores" + }, { "httpMethod": "POST", - "path": "/v1/{channel=projects/*/locations/*/channels/*}:publishEvents" + "path": "/v1beta/{parent=projects/*/locations/*/collections/*}/dataStores" } ] - } - ] - } - ], - "configFile": "eventarcpublishing_v1.yaml", - "serviceConfigApiNames": [ - "google.cloud.eventarc.publishing.v1.Publisher" - ], - "nameInServiceConfig": "eventarcpublishing.googleapis.com" - }, - { - "id": "google.cloud.eventarc.v1", - "directory": "google/cloud/eventarc/v1", - "version": "v1", - "majorVersion": "v1", - "hostName": "eventarc.googleapis.com", - "title": "Eventarc API", - "description": "Build event-driven applications on Google Cloud Platform.", - "importDirectories": [ - "google/api", - "google/cloud/eventarc/v1", - "google/longrunning", - "google/protobuf", - "google/rpc" - ], - "options": { - "csharp_namespace": { - "valueCounts": { - "": 2, - "Google.Cloud.Eventarc.V1": 4 - } - }, - "go_package": { - "valueCounts": { - "cloud.google.com/go/eventarc/apiv1/eventarcpb;eventarcpb": 6 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 6 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.eventarc.v1": 6 - } - }, - "php_namespace": { - "valueCounts": { - "": 2, - "Google\\Cloud\\Eventarc\\V1": 4 - } - }, - "ruby_package": { - "valueCounts": { - "": 2, - "Google::Cloud::Eventarc::V1": 4 - } - } - }, - "services": [ - { - "shortName": "Eventarc", - "fullName": "google.cloud.eventarc.v1.Eventarc", - "methods": [ + }, { - "shortName": "CreateChannel", - "fullName": "google.cloud.eventarc.v1.Eventarc.CreateChannel", + "shortName": "DeleteDataStore", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.DeleteDataStore", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/channels" + "httpMethod": "DELETE", + "path": "/v1beta/{name=projects/*/locations/*/dataStores/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*}" } ] }, { - "shortName": "CreateChannelConnection", - "fullName": "google.cloud.eventarc.v1.Eventarc.CreateChannelConnection", + "shortName": "GetDataStore", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.GetDataStore", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/channelConnections" + "httpMethod": "GET", + "path": "/v1beta/{name=projects/*/locations/*/dataStores/*}" + }, + { + "httpMethod": "GET", + "path": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*}" } ] }, { - "shortName": "CreateTrigger", - "fullName": "google.cloud.eventarc.v1.Eventarc.CreateTrigger", + "shortName": "ListDataStores", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.ListDataStores", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/triggers" + "httpMethod": "GET", + "path": "/v1beta/{parent=projects/*/locations/*}/dataStores" + }, + { + "httpMethod": "GET", + "path": "/v1beta/{parent=projects/*/locations/*/collections/*}/dataStores" } ] }, { - "shortName": "DeleteChannel", - "fullName": "google.cloud.eventarc.v1.Eventarc.DeleteChannel", + "shortName": "UpdateDataStore", + "fullName": "google.cloud.discoveryengine.v1beta.DataStoreService.UpdateDataStore", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/channels/*}" + "httpMethod": "PATCH", + "path": "/v1beta/{data_store.name=projects/*/locations/*/dataStores/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1beta/{data_store.name=projects/*/locations/*/collections/*/dataStores/*}" } ] - }, + } + ] + }, + { + "shortName": "DocumentService", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService", + "methods": [ { - "shortName": "DeleteChannelConnection", - "fullName": "google.cloud.eventarc.v1.Eventarc.DeleteChannelConnection", + "shortName": "CreateDocument", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.CreateDocument", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/channelConnections/*}" + "httpMethod": "POST", + "path": "/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents" + }, + { + "httpMethod": "POST", + "path": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents" } ] }, { - "shortName": "DeleteTrigger", - "fullName": "google.cloud.eventarc.v1.Eventarc.DeleteTrigger", + "shortName": "DeleteDocument", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.DeleteDocument", "mode": "UNARY", "bindings": [ { "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/triggers/*}" + "path": "/v1beta/{name=projects/*/locations/*/dataStores/*/branches/*/documents/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}" } ] }, { - "shortName": "GetChannel", - "fullName": "google.cloud.eventarc.v1.Eventarc.GetChannel", + "shortName": "GetDocument", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.GetDocument", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/channels/*}" + "path": "/v1beta/{name=projects/*/locations/*/dataStores/*/branches/*/documents/*}" + }, + { + "httpMethod": "GET", + "path": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}" } ] }, { - "shortName": "GetChannelConnection", - "fullName": "google.cloud.eventarc.v1.Eventarc.GetChannelConnection", + "shortName": "ImportDocuments", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.ImportDocuments", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/channelConnections/*}" + "httpMethod": "POST", + "path": "/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents:import" + }, + { + "httpMethod": "POST", + "path": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents:import" } ] }, { - "shortName": "GetGoogleChannelConfig", - "fullName": "google.cloud.eventarc.v1.Eventarc.GetGoogleChannelConfig", + "shortName": "ListDocuments", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.ListDocuments", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/googleChannelConfig}" + "path": "/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents" + }, + { + "httpMethod": "GET", + "path": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents" } ] }, { - "shortName": "GetProvider", - "fullName": "google.cloud.eventarc.v1.Eventarc.GetProvider", + "shortName": "PurgeDocuments", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.PurgeDocuments", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/providers/*}" + "httpMethod": "POST", + "path": "/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents:purge" + }, + { + "httpMethod": "POST", + "path": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents:purge" } ] }, { - "shortName": "GetTrigger", - "fullName": "google.cloud.eventarc.v1.Eventarc.GetTrigger", + "shortName": "UpdateDocument", + "fullName": "google.cloud.discoveryengine.v1beta.DocumentService.UpdateDocument", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/triggers/*}" + "httpMethod": "PATCH", + "path": "/v1beta/{document.name=projects/*/locations/*/dataStores/*/branches/*/documents/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1beta/{document.name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}" } ] - }, + } + ] + }, + { + "shortName": "EngineService", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService", + "methods": [ { - "shortName": "ListChannelConnections", - "fullName": "google.cloud.eventarc.v1.Eventarc.ListChannelConnections", + "shortName": "CreateEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.CreateEngine", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/channelConnections" + "httpMethod": "POST", + "path": "/v1beta/{parent=projects/*/locations/*/collections/*}/engines" } ] }, { - "shortName": "ListChannels", - "fullName": "google.cloud.eventarc.v1.Eventarc.ListChannels", + "shortName": "DeleteEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.DeleteEngine", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/channels" + "httpMethod": "DELETE", + "path": "/v1beta/{name=projects/*/locations/*/collections/*/engines/*}" } ] }, { - "shortName": "ListProviders", - "fullName": "google.cloud.eventarc.v1.Eventarc.ListProviders", + "shortName": "GetEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.GetEngine", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/providers" + "path": "/v1beta/{name=projects/*/locations/*/collections/*/engines/*}" } ] }, { - "shortName": "ListTriggers", - "fullName": "google.cloud.eventarc.v1.Eventarc.ListTriggers", + "shortName": "ListEngines", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.ListEngines", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/triggers" + "path": "/v1beta/{parent=projects/*/locations/*/collections/*}/engines" } ] }, { - "shortName": "UpdateChannel", - "fullName": "google.cloud.eventarc.v1.Eventarc.UpdateChannel", + "shortName": "UpdateEngine", + "fullName": "google.cloud.discoveryengine.v1beta.EngineService.UpdateEngine", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1/{channel.name=projects/*/locations/*/channels/*}" + "path": "/v1beta/{engine.name=projects/*/locations/*/collections/*/engines/*}" } ] - }, + } + ] + }, + { + "shortName": "RecommendationService", + "fullName": "google.cloud.discoveryengine.v1beta.RecommendationService", + "methods": [ { - "shortName": "UpdateGoogleChannelConfig", - "fullName": "google.cloud.eventarc.v1.Eventarc.UpdateGoogleChannelConfig", + "shortName": "Recommend", + "fullName": "google.cloud.discoveryengine.v1beta.RecommendationService.Recommend", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{google_channel_config.name=projects/*/locations/*/googleChannelConfig}" - } - ] - }, - { - "shortName": "UpdateTrigger", - "fullName": "google.cloud.eventarc.v1.Eventarc.UpdateTrigger", - "mode": "UNARY", - "bindings": [ + "httpMethod": "POST", + "path": "/v1beta/{serving_config=projects/*/locations/*/dataStores/*/servingConfigs/*}:recommend" + }, { - "httpMethod": "PATCH", - "path": "/v1/{trigger.name=projects/*/locations/*/triggers/*}" + "httpMethod": "POST", + "path": "/v1beta/{serving_config=projects/*/locations/*/collections/*/dataStores/*/servingConfigs/*}:recommend" + }, + { + "httpMethod": "POST", + "path": "/v1beta/{serving_config=projects/*/locations/*/collections/*/engines/*/servingConfigs/*}:recommend" } ] } ] - } - ], - "configFile": "eventarc_v1.yaml", - "serviceConfigApiNames": [ - "google.cloud.eventarc.v1.Eventarc", - "google.cloud.location.Locations", - "google.iam.v1.IAMPolicy", - "google.longrunning.Operations" - ], - "nameInServiceConfig": "eventarc.googleapis.com" - }, - { - "id": "google.cloud.filestore.v1", - "directory": "google/cloud/filestore/v1", - "version": "v1", - "majorVersion": "v1", - "hostName": "file.googleapis.com", - "title": "Cloud Filestore API", - "description": "The Cloud Filestore API is used for creating and managing cloud file servers.", - "importDirectories": [ - "google/api", - "google/cloud/common", - "google/longrunning", - "google/protobuf" - ], - "options": { - "csharp_namespace": { - "valueCounts": { - "Google.Cloud.Filestore.V1": 1 - } - }, - "go_package": { - "valueCounts": { - "cloud.google.com/go/filestore/apiv1/filestorepb;filestorepb": 1 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 1 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.filestore.v1": 1 - } }, - "php_namespace": { - "valueCounts": { - "Google\\Cloud\\Filestore\\V1": 1 - } - } - }, - "services": [ { - "shortName": "CloudFilestoreManager", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager", + "shortName": "SchemaService", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService", "methods": [ { - "shortName": "CreateBackup", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.CreateBackup", + "shortName": "CreateSchema", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.CreateSchema", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/backups" - } - ] - }, - { - "shortName": "CreateInstance", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.CreateInstance", - "mode": "UNARY", - "bindings": [ + "path": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/schemas" + }, { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/instances" + "path": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/schemas" } ] }, { - "shortName": "DeleteBackup", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.DeleteBackup", + "shortName": "DeleteSchema", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.DeleteSchema", "mode": "UNARY", "bindings": [ { "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/backups/*}" - } - ] - }, - { - "shortName": "DeleteInstance", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.DeleteInstance", - "mode": "UNARY", - "bindings": [ + "path": "/v1beta/{name=projects/*/locations/*/dataStores/*/schemas/*}" + }, { "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/instances/*}" + "path": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}" } ] }, { - "shortName": "GetBackup", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.GetBackup", + "shortName": "GetSchema", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.GetSchema", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/backups/*}" + "path": "/v1beta/{name=projects/*/locations/*/dataStores/*/schemas/*}" + }, + { + "httpMethod": "GET", + "path": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}" } ] }, { - "shortName": "GetInstance", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.GetInstance", + "shortName": "ListSchemas", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.ListSchemas", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/instances/*}" + "path": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/schemas" + }, + { + "httpMethod": "GET", + "path": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/schemas" } ] }, { - "shortName": "ListBackups", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.ListBackups", + "shortName": "UpdateSchema", + "fullName": "google.cloud.discoveryengine.v1beta.SchemaService.UpdateSchema", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/backups" + "httpMethod": "PATCH", + "path": "/v1beta/{schema.name=projects/*/locations/*/dataStores/*/schemas/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1beta/{schema.name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}" } ] - }, + } + ] + }, + { + "shortName": "SearchService", + "fullName": "google.cloud.discoveryengine.v1beta.SearchService", + "methods": [ { - "shortName": "ListInstances", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.ListInstances", + "shortName": "Search", + "fullName": "google.cloud.discoveryengine.v1beta.SearchService.Search", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/instances" + "httpMethod": "POST", + "path": "/v1beta/{serving_config=projects/*/locations/*/dataStores/*/servingConfigs/*}:search" + }, + { + "httpMethod": "POST", + "path": "/v1beta/{serving_config=projects/*/locations/*/collections/*/dataStores/*/servingConfigs/*}:search" + }, + { + "httpMethod": "POST", + "path": "/v1beta/{serving_config=projects/*/locations/*/collections/*/engines/*/servingConfigs/*}:search" } ] - }, + } + ] + }, + { + "shortName": "ServingConfigService", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService", + "methods": [ { - "shortName": "RestoreInstance", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.RestoreInstance", + "shortName": "GetServingConfig", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.GetServingConfig", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/instances/*}:restore" + "httpMethod": "GET", + "path": "/v1beta/{name=projects/*/locations/*/dataStores/*/servingConfigs/*}" + }, + { + "httpMethod": "GET", + "path": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/servingConfigs/*}" + }, + { + "httpMethod": "GET", + "path": "/v1beta/{name=projects/*/locations/*/collections/*/engines/*/servingConfigs/*}" } ] }, { - "shortName": "UpdateBackup", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.UpdateBackup", + "shortName": "ListServingConfigs", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.ListServingConfigs", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{backup.name=projects/*/locations/*/backups/*}" + "httpMethod": "GET", + "path": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/servingConfigs" + }, + { + "httpMethod": "GET", + "path": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/servingConfigs" + }, + { + "httpMethod": "GET", + "path": "/v1beta/{parent=projects/*/locations/*/collections/*/engines/*}/servingConfigs" } ] }, { - "shortName": "UpdateInstance", - "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.UpdateInstance", + "shortName": "UpdateServingConfig", + "fullName": "google.cloud.discoveryengine.v1beta.ServingConfigService.UpdateServingConfig", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1/{instance.name=projects/*/locations/*/instances/*}" + "path": "/v1beta/{serving_config.name=projects/*/locations/*/dataStores/*/servingConfigs/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1beta/{serving_config.name=projects/*/locations/*/collections/*/dataStores/*/servingConfigs/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1beta/{serving_config.name=projects/*/locations/*/collections/*/engines/*/servingConfigs/*}" } ] } ] - } - ], - "configFile": "file_v1.yaml", - "serviceConfigApiNames": [ - "google.cloud.filestore.v1.CloudFilestoreManager" - ], - "nameInServiceConfig": "file.googleapis.com" - }, - { - "id": "google.cloud.filestore.v1beta1", - "directory": "google/cloud/filestore/v1beta1", - "version": "v1beta1", - "majorVersion": "v1", - "hostName": "file.googleapis.com", - "title": "Cloud Filestore API", - "description": "The Cloud Filestore API is used for creating and managing cloud file servers.", - "importDirectories": [ - "google/api", - "google/cloud/common", - "google/longrunning", - "google/protobuf" - ], - "options": { - "csharp_namespace": { - "valueCounts": { - "Google.Cloud.Filestore.V1Beta1": 1 - } - }, - "go_package": { - "valueCounts": { - "cloud.google.com/go/filestore/apiv1beta1/filestorepb;filestorepb": 1 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 1 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.filestore.v1beta1": 1 - } }, - "php_namespace": { - "valueCounts": { - "Google\\Cloud\\Filestore\\V1beta1": 1 - } - } - }, - "services": [ { - "shortName": "CloudFilestoreManager", - "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager", + "shortName": "SiteSearchEngineService", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService", "methods": [ { - "shortName": "CreateBackup", - "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager.CreateBackup", + "shortName": "BatchCreateTargetSites", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.BatchCreateTargetSites", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{parent=projects/*/locations/*}/backups" - } - ] - }, - { - "shortName": "CreateInstance", - "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager.CreateInstance", - "mode": "UNARY", - "bindings": [ + "path": "/v1beta/{parent=projects/*/locations/*/dataStores/*/siteSearchEngine}/targetSites:batchCreate" + }, { "httpMethod": "POST", - "path": "/v1beta1/{parent=projects/*/locations/*}/instances" + "path": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}/targetSites:batchCreate" } ] }, { - "shortName": "CreateShare", - "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager.CreateShare", + "shortName": "BatchVerifyTargetSites", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.BatchVerifyTargetSites", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{parent=projects/*/locations/*/instances/*}/shares" + "path": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}:batchVerifyTargetSites" } ] }, { - "shortName": "CreateSnapshot", - "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager.CreateSnapshot", + "shortName": "CreateTargetSite", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.CreateTargetSite", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{parent=projects/*/locations/*/instances/*}/snapshots" - } - ] - }, - { - "shortName": "DeleteBackup", - "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager.DeleteBackup", - "mode": "UNARY", - "bindings": [ + "path": "/v1beta/{parent=projects/*/locations/*/dataStores/*/siteSearchEngine}/targetSites" + }, { - "httpMethod": "DELETE", - "path": "/v1beta1/{name=projects/*/locations/*/backups/*}" + "httpMethod": "POST", + "path": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}/targetSites" } ] }, { - "shortName": "DeleteInstance", - "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager.DeleteInstance", + "shortName": "DeleteTargetSite", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DeleteTargetSite", "mode": "UNARY", "bindings": [ { "httpMethod": "DELETE", - "path": "/v1beta1/{name=projects/*/locations/*/instances/*}" - } - ] - }, - { - "shortName": "DeleteShare", - "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager.DeleteShare", - "mode": "UNARY", - "bindings": [ + "path": "/v1beta/{name=projects/*/locations/*/dataStores/*/siteSearchEngine/targetSites/*}" + }, { "httpMethod": "DELETE", - "path": "/v1beta1/{name=projects/*/locations/*/instances/*/shares/*}" + "path": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/targetSites/*}" } ] }, { - "shortName": "DeleteSnapshot", - "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager.DeleteSnapshot", + "shortName": "DisableAdvancedSiteSearch", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.DisableAdvancedSiteSearch", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1beta1/{name=projects/*/locations/*/instances/*/snapshots/*}" + "httpMethod": "POST", + "path": "/v1beta/{site_search_engine=projects/*/locations/*/dataStores/*/siteSearchEngine}:disableAdvancedSiteSearch" + }, + { + "httpMethod": "POST", + "path": "/v1beta/{site_search_engine=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}:disableAdvancedSiteSearch" } ] }, { - "shortName": "GetBackup", - "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager.GetBackup", + "shortName": "EnableAdvancedSiteSearch", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.EnableAdvancedSiteSearch", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{name=projects/*/locations/*/backups/*}" + "httpMethod": "POST", + "path": "/v1beta/{site_search_engine=projects/*/locations/*/dataStores/*/siteSearchEngine}:enableAdvancedSiteSearch" + }, + { + "httpMethod": "POST", + "path": "/v1beta/{site_search_engine=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}:enableAdvancedSiteSearch" } ] }, { - "shortName": "GetInstance", - "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager.GetInstance", + "shortName": "FetchDomainVerificationStatus", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.FetchDomainVerificationStatus", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta1/{name=projects/*/locations/*/instances/*}" + "path": "/v1beta/{site_search_engine=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}:fetchDomainVerificationStatus" } ] }, { - "shortName": "GetShare", - "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager.GetShare", + "shortName": "GetSiteSearchEngine", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.GetSiteSearchEngine", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta1/{name=projects/*/locations/*/instances/*/shares/*}" - } - ] - }, - { - "shortName": "GetSnapshot", - "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager.GetSnapshot", - "mode": "UNARY", - "bindings": [ + "path": "/v1beta/{name=projects/*/locations/*/dataStores/*/siteSearchEngine}" + }, { "httpMethod": "GET", - "path": "/v1beta1/{name=projects/*/locations/*/instances/*/snapshots/*}" + "path": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}" } ] }, { - "shortName": "ListBackups", - "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager.ListBackups", + "shortName": "GetTargetSite", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.GetTargetSite", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta1/{parent=projects/*/locations/*}/backups" - } - ] - }, - { - "shortName": "ListInstances", - "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager.ListInstances", - "mode": "UNARY", - "bindings": [ + "path": "/v1beta/{name=projects/*/locations/*/dataStores/*/siteSearchEngine/targetSites/*}" + }, { "httpMethod": "GET", - "path": "/v1beta1/{parent=projects/*/locations/*}/instances" + "path": "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/targetSites/*}" } ] }, { - "shortName": "ListShares", - "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager.ListShares", + "shortName": "ListTargetSites", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.ListTargetSites", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta1/{parent=projects/*/locations/*/instances/*}/shares" - } - ] - }, - { - "shortName": "ListSnapshots", - "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager.ListSnapshots", - "mode": "UNARY", - "bindings": [ + "path": "/v1beta/{parent=projects/*/locations/*/dataStores/*/siteSearchEngine}/targetSites" + }, { "httpMethod": "GET", - "path": "/v1beta1/{parent=projects/*/locations/*/instances/*}/snapshots" + "path": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}/targetSites" } ] }, { - "shortName": "RestoreInstance", - "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager.RestoreInstance", + "shortName": "RecrawlUris", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.RecrawlUris", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{name=projects/*/locations/*/instances/*}:restore" - } - ] - }, - { - "shortName": "RevertInstance", - "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager.RevertInstance", - "mode": "UNARY", - "bindings": [ + "path": "/v1beta/{site_search_engine=projects/*/locations/*/dataStores/*/siteSearchEngine}:recrawlUris" + }, { "httpMethod": "POST", - "path": "/v1beta1/{name=projects/*/locations/*/instances/*}:revert" + "path": "/v1beta/{site_search_engine=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}:recrawlUris" } ] }, { - "shortName": "UpdateBackup", - "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager.UpdateBackup", + "shortName": "UpdateTargetSite", + "fullName": "google.cloud.discoveryengine.v1beta.SiteSearchEngineService.UpdateTargetSite", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1beta1/{backup.name=projects/*/locations/*/backups/*}" + "path": "/v1beta/{target_site.name=projects/*/locations/*/dataStores/*/siteSearchEngine/targetSites/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1beta/{target_site.name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/targetSites/*}" } ] - }, + } + ] + }, + { + "shortName": "UserEventService", + "fullName": "google.cloud.discoveryengine.v1beta.UserEventService", + "methods": [ { - "shortName": "UpdateInstance", - "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager.UpdateInstance", + "shortName": "CollectUserEvent", + "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.CollectUserEvent", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1beta1/{instance.name=projects/*/locations/*/instances/*}" + "httpMethod": "GET", + "path": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/userEvents:collect" + }, + { + "httpMethod": "GET", + "path": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:collect" } ] }, { - "shortName": "UpdateShare", - "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager.UpdateShare", + "shortName": "ImportUserEvents", + "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.ImportUserEvents", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1beta1/{share.name=projects/*/locations/*/instances/*/shares/*}" + "httpMethod": "POST", + "path": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/userEvents:import" + }, + { + "httpMethod": "POST", + "path": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:import" } ] }, { - "shortName": "UpdateSnapshot", - "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager.UpdateSnapshot", + "shortName": "WriteUserEvent", + "fullName": "google.cloud.discoveryengine.v1beta.UserEventService.WriteUserEvent", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1beta1/{snapshot.name=projects/*/locations/*/instances/*/snapshots/*}" + "httpMethod": "POST", + "path": "/v1beta/{parent=projects/*/locations/*/dataStores/*}/userEvents:write" + }, + { + "httpMethod": "POST", + "path": "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:write" } ] } ] } ], - "configFile": "file_v1beta1.yaml", + "configFile": "discoveryengine_v1beta.yaml", "serviceConfigApiNames": [ - "google.cloud.filestore.v1beta1.CloudFilestoreManager", + "google.cloud.discoveryengine.v1beta.CompletionService", + "google.cloud.discoveryengine.v1beta.ConversationalSearchService", + "google.cloud.discoveryengine.v1beta.DataStoreService", + "google.cloud.discoveryengine.v1beta.DocumentService", + "google.cloud.discoveryengine.v1beta.EngineService", + "google.cloud.discoveryengine.v1beta.RecommendationService", + "google.cloud.discoveryengine.v1beta.SchemaService", + "google.cloud.discoveryengine.v1beta.SearchService", + "google.cloud.discoveryengine.v1beta.ServingConfigService", + "google.cloud.discoveryengine.v1beta.SiteSearchEngineService", + "google.cloud.discoveryengine.v1beta.UserEventService", "google.cloud.location.Locations", "google.longrunning.Operations" ], - "nameInServiceConfig": "file.googleapis.com" + "nameInServiceConfig": "discoveryengine.googleapis.com" }, { - "id": "google.cloud.functions.v1", - "directory": "google/cloud/functions/v1", + "id": "google.cloud.documentai.v1", + "directory": "google/cloud/documentai/v1", "version": "v1", "majorVersion": "v1", - "hostName": "cloudfunctions.googleapis.com", - "title": "Cloud Functions API", - "description": "Manages lightweight user-provided functions executed in response to events.", + "hostName": "documentai.googleapis.com", + "title": "Cloud Document AI API", + "description": "Service to parse structured information from unstructured or semi-structured documents using state-of-the-art Google AI such as natural language, computer vision, translation, and AutoML.", "importDirectories": [ "google/api", - "google/iam/v1", + "google/cloud/documentai/v1", "google/longrunning", - "google/protobuf" + "google/protobuf", + "google/rpc", + "google/type" ], "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.DocumentAI.V1": 10 + } + }, "go_package": { "valueCounts": { - "cloud.google.com/go/functions/apiv1/functionspb;functionspb": 2 + "cloud.google.com/go/documentai/apiv1/documentaipb;documentaipb": 10 } }, "java_multiple_files": { "valueCounts": { - "true": 2 + "true": 10 } }, "java_package": { "valueCounts": { - "com.google.cloud.functions.v1": 2 + "com.google.cloud.documentai.v1": 10 } }, - "objc_class_prefix": { + "php_namespace": { "valueCounts": { - "": 1, - "GCF": 1 + "Google\\Cloud\\DocumentAI\\V1": 10 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::DocumentAI::V1": 10 } } }, "services": [ { - "shortName": "CloudFunctionsService", - "fullName": "google.cloud.functions.v1.CloudFunctionsService", + "shortName": "DocumentProcessorService", + "fullName": "google.cloud.documentai.v1.DocumentProcessorService", "methods": [ { - "shortName": "CallFunction", - "fullName": "google.cloud.functions.v1.CloudFunctionsService.CallFunction", + "shortName": "BatchProcessDocuments", + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/functions/*}:call" + "path": "/v1/{name=projects/*/locations/*/processors/*}:batchProcess" + }, + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/processors/*/processorVersions/*}:batchProcess" } ] }, { - "shortName": "CreateFunction", - "fullName": "google.cloud.functions.v1.CloudFunctionsService.CreateFunction", + "shortName": "CreateProcessor", + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.CreateProcessor", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{location=projects/*/locations/*}/functions" + "path": "/v1/{parent=projects/*/locations/*}/processors" } ] }, { - "shortName": "DeleteFunction", - "fullName": "google.cloud.functions.v1.CloudFunctionsService.DeleteFunction", + "shortName": "DeleteProcessor", + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.DeleteProcessor", "mode": "UNARY", "bindings": [ { "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/functions/*}" + "path": "/v1/{name=projects/*/locations/*/processors/*}" } ] }, { - "shortName": "GenerateDownloadUrl", - "fullName": "google.cloud.functions.v1.CloudFunctionsService.GenerateDownloadUrl", + "shortName": "DeleteProcessorVersion", + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.DeleteProcessorVersion", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/functions/*}:generateDownloadUrl" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/processors/*/processorVersions/*}" } ] }, { - "shortName": "GenerateUploadUrl", - "fullName": "google.cloud.functions.v1.CloudFunctionsService.GenerateUploadUrl", + "shortName": "DeployProcessorVersion", + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.DeployProcessorVersion", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/functions:generateUploadUrl" + "path": "/v1/{name=projects/*/locations/*/processors/*/processorVersions/*}:deploy" } ] }, { - "shortName": "GetFunction", - "fullName": "google.cloud.functions.v1.CloudFunctionsService.GetFunction", + "shortName": "DisableProcessor", + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.DisableProcessor", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/functions/*}" + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/processors/*}:disable" } ] }, { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.functions.v1.CloudFunctionsService.GetIamPolicy", + "shortName": "EnableProcessor", + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.EnableProcessor", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{resource=projects/*/locations/*/functions/*}:getIamPolicy" + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/processors/*}:enable" } ] }, { - "shortName": "ListFunctions", - "fullName": "google.cloud.functions.v1.CloudFunctionsService.ListFunctions", + "shortName": "EvaluateProcessorVersion", + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.EvaluateProcessorVersion", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/functions" + "httpMethod": "POST", + "path": "/v1/{processor_version=projects/*/locations/*/processors/*/processorVersions/*}:evaluateProcessorVersion" } ] }, { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.functions.v1.CloudFunctionsService.SetIamPolicy", + "shortName": "FetchProcessorTypes", + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.FetchProcessorTypes", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{resource=projects/*/locations/*/functions/*}:setIamPolicy" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}:fetchProcessorTypes" } ] }, { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.functions.v1.CloudFunctionsService.TestIamPermissions", + "shortName": "GetEvaluation", + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.GetEvaluation", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{resource=projects/*/locations/*/functions/*}:testIamPermissions" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/processors/*/processorVersions/*/evaluations/*}" } ] }, { - "shortName": "UpdateFunction", - "fullName": "google.cloud.functions.v1.CloudFunctionsService.UpdateFunction", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "PATCH", - "path": "/v1/{function.name=projects/*/locations/*/functions/*}" - } - ] - } - ] - } - ], - "configFile": "cloudfunctions_v1.yaml", - "serviceConfigApiNames": [ - "google.cloud.functions.v1.CloudFunctionsService" - ], - "nameInServiceConfig": "cloudfunctions.googleapis.com" - }, - { - "id": "google.cloud.functions.v2", - "directory": "google/cloud/functions/v2", - "version": "v2", - "majorVersion": "v2", - "hostName": "cloudfunctions.googleapis.com", - "title": "Cloud Functions API", - "description": "Manages lightweight user-provided functions executed in response to events.", - "importDirectories": [ - "google/api", - "google/longrunning", - "google/protobuf" - ], - "options": { - "go_package": { - "valueCounts": { - "cloud.google.com/go/functions/apiv2/functionspb;functionspb": 1 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 1 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.functions.v2": 1 - } - }, - "objc_class_prefix": { - "valueCounts": { - "GCF": 1 - } - } - }, - "services": [ - { - "shortName": "FunctionService", - "fullName": "google.cloud.functions.v2.FunctionService", - "methods": [ - { - "shortName": "CreateFunction", - "fullName": "google.cloud.functions.v2.FunctionService.CreateFunction", + "shortName": "GetProcessor", + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.GetProcessor", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2/{parent=projects/*/locations/*}/functions" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/processors/*}" } ] }, { - "shortName": "DeleteFunction", - "fullName": "google.cloud.functions.v2.FunctionService.DeleteFunction", + "shortName": "GetProcessorType", + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.GetProcessorType", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v2/{name=projects/*/locations/*/functions/*}" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/processorTypes/*}" } ] }, { - "shortName": "GenerateDownloadUrl", - "fullName": "google.cloud.functions.v2.FunctionService.GenerateDownloadUrl", + "shortName": "GetProcessorVersion", + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.GetProcessorVersion", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2/{name=projects/*/locations/*/functions/*}:generateDownloadUrl" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/processors/*/processorVersions/*}" } ] }, { - "shortName": "GenerateUploadUrl", - "fullName": "google.cloud.functions.v2.FunctionService.GenerateUploadUrl", + "shortName": "ListEvaluations", + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.ListEvaluations", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2/{parent=projects/*/locations/*}/functions:generateUploadUrl" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/processors/*/processorVersions/*}/evaluations" } ] }, { - "shortName": "GetFunction", - "fullName": "google.cloud.functions.v2.FunctionService.GetFunction", + "shortName": "ListProcessorTypes", + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2/{name=projects/*/locations/*/functions/*}" + "path": "/v1/{parent=projects/*/locations/*}/processorTypes" } ] }, { - "shortName": "ListFunctions", - "fullName": "google.cloud.functions.v2.FunctionService.ListFunctions", + "shortName": "ListProcessorVersions", + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.ListProcessorVersions", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2/{parent=projects/*/locations/*}/functions" + "path": "/v1/{parent=projects/*/locations/*/processors/*}/processorVersions" } ] }, { - "shortName": "ListRuntimes", - "fullName": "google.cloud.functions.v2.FunctionService.ListRuntimes", + "shortName": "ListProcessors", + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.ListProcessors", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2/{parent=projects/*/locations/*}/runtimes" + "path": "/v1/{parent=projects/*/locations/*}/processors" } ] }, { - "shortName": "UpdateFunction", - "fullName": "google.cloud.functions.v2.FunctionService.UpdateFunction", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "PATCH", - "path": "/v2/{function.name=projects/*/locations/*/functions/*}" - } - ] - } - ] - } - ], - "configFile": "cloudfunctions_v2.yaml", - "serviceConfigApiNames": [ - "google.cloud.functions.v2.FunctionService", - "google.cloud.location.Locations", - "google.iam.v1.IAMPolicy", - "google.longrunning.Operations" - ], - "nameInServiceConfig": "cloudfunctions.googleapis.com" - }, - { - "id": "google.cloud.functions.v2alpha", - "directory": "google/cloud/functions/v2alpha", - "version": "v2alpha", - "majorVersion": "v2", - "hostName": "cloudfunctions.googleapis.com", - "title": "Cloud Functions API", - "description": "Manages lightweight user-provided functions executed in response to events.", - "importDirectories": [ - "google/api", - "google/longrunning", - "google/protobuf" - ], - "options": { - "go_package": { - "valueCounts": { - "cloud.google.com/go/functions/apiv2alpha/functionspb;functionspb": 1 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 1 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.functions.v2alpha": 1 - } - }, - "objc_class_prefix": { - "valueCounts": { - "GCF": 1 - } - } - }, - "services": [ - { - "shortName": "FunctionService", - "fullName": "google.cloud.functions.v2alpha.FunctionService", - "methods": [ - { - "shortName": "CreateFunction", - "fullName": "google.cloud.functions.v2alpha.FunctionService.CreateFunction", + "shortName": "ProcessDocument", + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2alpha/{parent=projects/*/locations/*}/functions" - } - ] - }, - { - "shortName": "DeleteFunction", - "fullName": "google.cloud.functions.v2alpha.FunctionService.DeleteFunction", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "DELETE", - "path": "/v2alpha/{name=projects/*/locations/*/functions/*}" - } - ] - }, - { - "shortName": "GenerateDownloadUrl", - "fullName": "google.cloud.functions.v2alpha.FunctionService.GenerateDownloadUrl", - "mode": "UNARY", - "bindings": [ + "path": "/v1/{name=projects/*/locations/*/processors/*}:process" + }, { "httpMethod": "POST", - "path": "/v2alpha/{name=projects/*/locations/*/functions/*}:generateDownloadUrl" + "path": "/v1/{name=projects/*/locations/*/processors/*/processorVersions/*}:process" } ] }, { - "shortName": "GenerateUploadUrl", - "fullName": "google.cloud.functions.v2alpha.FunctionService.GenerateUploadUrl", + "shortName": "ReviewDocument", + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2alpha/{parent=projects/*/locations/*}/functions:generateUploadUrl" - } - ] - }, - { - "shortName": "GetFunction", - "fullName": "google.cloud.functions.v2alpha.FunctionService.GetFunction", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v2alpha/{name=projects/*/locations/*/functions/*}" + "path": "/v1/{human_review_config=projects/*/locations/*/processors/*/humanReviewConfig}:reviewDocument" } ] }, { - "shortName": "ListFunctions", - "fullName": "google.cloud.functions.v2alpha.FunctionService.ListFunctions", + "shortName": "SetDefaultProcessorVersion", + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.SetDefaultProcessorVersion", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v2alpha/{parent=projects/*/locations/*}/functions" + "httpMethod": "POST", + "path": "/v1/{processor=projects/*/locations/*/processors/*}:setDefaultProcessorVersion" } ] }, { - "shortName": "ListRuntimes", - "fullName": "google.cloud.functions.v2alpha.FunctionService.ListRuntimes", + "shortName": "TrainProcessorVersion", + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.TrainProcessorVersion", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v2alpha/{parent=projects/*/locations/*}/runtimes" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/processors/*}/processorVersions:train" } ] }, { - "shortName": "UpdateFunction", - "fullName": "google.cloud.functions.v2alpha.FunctionService.UpdateFunction", + "shortName": "UndeployProcessorVersion", + "fullName": "google.cloud.documentai.v1.DocumentProcessorService.UndeployProcessorVersion", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v2alpha/{function.name=projects/*/locations/*/functions/*}" + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/processors/*/processorVersions/*}:undeploy" } ] } ] } ], - "configFile": "cloudfunctions_v2alpha.yaml", + "configFile": "documentai_v1.yaml", "serviceConfigApiNames": [ - "google.cloud.functions.v2alpha.FunctionService", + "google.cloud.documentai.v1.DocumentProcessorService", "google.cloud.location.Locations", - "google.iam.v1.IAMPolicy", "google.longrunning.Operations" ], - "nameInServiceConfig": "cloudfunctions.googleapis.com" + "nameInServiceConfig": "documentai.googleapis.com" }, { - "id": "google.cloud.functions.v2beta", - "directory": "google/cloud/functions/v2beta", - "version": "v2beta", - "majorVersion": "v2", - "hostName": "cloudfunctions.googleapis.com", - "title": "Cloud Functions API", - "description": "Manages lightweight user-provided functions executed in response to events.", + "id": "google.cloud.documentai.v1beta2", + "directory": "google/cloud/documentai/v1beta2", + "version": "v1beta2", + "majorVersion": "v1", + "hostName": "documentai.googleapis.com", + "title": "Cloud Document AI API", + "description": "Service to parse structured information from unstructured or semi-structured documents using state-of-the-art Google AI such as natural language, computer vision, translation, and AutoML.", "importDirectories": [ "google/api", + "google/cloud/documentai/v1beta2", "google/longrunning", - "google/protobuf" + "google/protobuf", + "google/rpc", + "google/type" ], "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.DocumentAI.V1Beta2": 4 + } + }, "go_package": { "valueCounts": { - "cloud.google.com/go/functions/apiv2beta/functionspb;functionspb": 1 + "cloud.google.com/go/documentai/apiv1beta2/documentaipb;documentaipb": 4 } }, "java_multiple_files": { "valueCounts": { - "true": 1 + "true": 4 } }, "java_package": { "valueCounts": { - "com.google.cloud.functions.v2beta": 1 + "com.google.cloud.documentai.v1beta2": 4 } }, - "objc_class_prefix": { + "php_namespace": { "valueCounts": { - "GCF": 1 + "Google\\Cloud\\DocumentAI\\V1beta2": 4 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::DocumentAI::V1beta2": 4 } } }, "services": [ { - "shortName": "FunctionService", - "fullName": "google.cloud.functions.v2beta.FunctionService", + "shortName": "DocumentUnderstandingService", + "fullName": "google.cloud.documentai.v1beta2.DocumentUnderstandingService", "methods": [ { - "shortName": "CreateFunction", - "fullName": "google.cloud.functions.v2beta.FunctionService.CreateFunction", + "shortName": "BatchProcessDocuments", + "fullName": "google.cloud.documentai.v1beta2.DocumentUnderstandingService.BatchProcessDocuments", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2beta/{parent=projects/*/locations/*}/functions" - } - ] - }, - { - "shortName": "DeleteFunction", - "fullName": "google.cloud.functions.v2beta.FunctionService.DeleteFunction", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "DELETE", - "path": "/v2beta/{name=projects/*/locations/*/functions/*}" - } - ] - }, - { - "shortName": "GenerateDownloadUrl", - "fullName": "google.cloud.functions.v2beta.FunctionService.GenerateDownloadUrl", - "mode": "UNARY", - "bindings": [ + "path": "/v1beta2/{parent=projects/*/locations/*}/documents:batchProcess" + }, { "httpMethod": "POST", - "path": "/v2beta/{name=projects/*/locations/*/functions/*}:generateDownloadUrl" + "path": "/v1beta2/{parent=projects/*}/documents:batchProcess" } ] }, { - "shortName": "GenerateUploadUrl", - "fullName": "google.cloud.functions.v2beta.FunctionService.GenerateUploadUrl", + "shortName": "ProcessDocument", + "fullName": "google.cloud.documentai.v1beta2.DocumentUnderstandingService.ProcessDocument", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2beta/{parent=projects/*/locations/*}/functions:generateUploadUrl" - } - ] - }, - { - "shortName": "GetFunction", - "fullName": "google.cloud.functions.v2beta.FunctionService.GetFunction", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v2beta/{name=projects/*/locations/*/functions/*}" - } - ] - }, - { - "shortName": "ListFunctions", - "fullName": "google.cloud.functions.v2beta.FunctionService.ListFunctions", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v2beta/{parent=projects/*/locations/*}/functions" - } - ] - }, - { - "shortName": "ListRuntimes", - "fullName": "google.cloud.functions.v2beta.FunctionService.ListRuntimes", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v2beta/{parent=projects/*/locations/*}/runtimes" - } - ] - }, - { - "shortName": "UpdateFunction", - "fullName": "google.cloud.functions.v2beta.FunctionService.UpdateFunction", - "mode": "UNARY", - "bindings": [ + "path": "/v1beta2/{parent=projects/*/locations/*}/documents:process" + }, { - "httpMethod": "PATCH", - "path": "/v2beta/{function.name=projects/*/locations/*/functions/*}" + "httpMethod": "POST", + "path": "/v1beta2/{parent=projects/*}/documents:process" } ] } ] } ], - "configFile": "cloudfunctions_v2beta.yaml", + "configFile": "documentai_v1beta2.yaml", "serviceConfigApiNames": [ - "google.cloud.functions.v2beta.FunctionService", + "google.cloud.documentai.v1beta2.DocumentUnderstandingService", "google.cloud.location.Locations", - "google.iam.v1.IAMPolicy", "google.longrunning.Operations" ], - "nameInServiceConfig": "cloudfunctions.googleapis.com" + "nameInServiceConfig": "documentai.googleapis.com" }, { - "id": "google.cloud.gaming.v1", - "directory": "google/cloud/gaming/v1", - "version": "v1", + "id": "google.cloud.documentai.v1beta3", + "directory": "google/cloud/documentai/v1beta3", + "version": "v1beta3", "majorVersion": "v1", - "hostName": "gameservices.googleapis.com", - "title": "Game Services API", - "description": "Deploy and manage infrastructure for global multiplayer gaming experiences.", + "hostName": "documentai.googleapis.com", + "title": "Cloud Document AI API", + "description": "Service to parse structured information from unstructured or semi-structured documents using state-of-the-art Google AI such as natural language, computer vision, translation, and AutoML.", "importDirectories": [ "google/api", - "google/cloud/gaming/v1", + "google/cloud/documentai/v1beta3", "google/longrunning", - "google/protobuf" + "google/protobuf", + "google/rpc", + "google/type" ], "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.DocumentAI.V1Beta3": 12 + } + }, "go_package": { "valueCounts": { - "cloud.google.com/go/gaming/apiv1/gamingpb;gamingpb": 9 + "cloud.google.com/go/documentai/apiv1beta3/documentaipb;documentaipb": 12 } }, "java_multiple_files": { "valueCounts": { - "true": 9 + "true": 12 } }, "java_package": { "valueCounts": { - "com.google.cloud.gaming.v1": 9 + "com.google.cloud.documentai.v1beta3": 12 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\DocumentAI\\V1beta3": 12 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::DocumentAI::V1beta3": 12 } } }, "services": [ { - "shortName": "GameServerClustersService", - "fullName": "google.cloud.gaming.v1.GameServerClustersService", + "shortName": "DocumentProcessorService", + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService", "methods": [ { - "shortName": "CreateGameServerCluster", - "fullName": "google.cloud.gaming.v1.GameServerClustersService.CreateGameServerCluster", + "shortName": "BatchProcessDocuments", + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.BatchProcessDocuments", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*/realms/*}/gameServerClusters" + "path": "/v1beta3/{name=projects/*/locations/*/processors/*}:batchProcess" + }, + { + "httpMethod": "POST", + "path": "/v1beta3/{name=projects/*/locations/*/processors/*/processorVersions/*}:batchProcess" } ] }, { - "shortName": "DeleteGameServerCluster", - "fullName": "google.cloud.gaming.v1.GameServerClustersService.DeleteGameServerCluster", + "shortName": "CreateProcessor", + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.CreateProcessor", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/realms/*/gameServerClusters/*}" + "httpMethod": "POST", + "path": "/v1beta3/{parent=projects/*/locations/*}/processors" } ] }, { - "shortName": "GetGameServerCluster", - "fullName": "google.cloud.gaming.v1.GameServerClustersService.GetGameServerCluster", + "shortName": "DeleteProcessor", + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.DeleteProcessor", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/realms/*/gameServerClusters/*}" + "httpMethod": "DELETE", + "path": "/v1beta3/{name=projects/*/locations/*/processors/*}" } ] }, { - "shortName": "ListGameServerClusters", - "fullName": "google.cloud.gaming.v1.GameServerClustersService.ListGameServerClusters", + "shortName": "DeleteProcessorVersion", + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.DeleteProcessorVersion", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*/realms/*}/gameServerClusters" + "httpMethod": "DELETE", + "path": "/v1beta3/{name=projects/*/locations/*/processors/*/processorVersions/*}" } ] }, { - "shortName": "PreviewCreateGameServerCluster", - "fullName": "google.cloud.gaming.v1.GameServerClustersService.PreviewCreateGameServerCluster", + "shortName": "DeployProcessorVersion", + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.DeployProcessorVersion", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*/realms/*}/gameServerClusters:previewCreate" + "path": "/v1beta3/{name=projects/*/locations/*/processors/*/processorVersions/*}:deploy" } ] }, { - "shortName": "PreviewDeleteGameServerCluster", - "fullName": "google.cloud.gaming.v1.GameServerClustersService.PreviewDeleteGameServerCluster", + "shortName": "DisableProcessor", + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.DisableProcessor", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/realms/*/gameServerClusters/*}:previewDelete" + "httpMethod": "POST", + "path": "/v1beta3/{name=projects/*/locations/*/processors/*}:disable" } ] }, { - "shortName": "PreviewUpdateGameServerCluster", - "fullName": "google.cloud.gaming.v1.GameServerClustersService.PreviewUpdateGameServerCluster", + "shortName": "EnableProcessor", + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.EnableProcessor", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{game_server_cluster.name=projects/*/locations/*/realms/*/gameServerClusters/*}:previewUpdate" + "httpMethod": "POST", + "path": "/v1beta3/{name=projects/*/locations/*/processors/*}:enable" } ] }, { - "shortName": "UpdateGameServerCluster", - "fullName": "google.cloud.gaming.v1.GameServerClustersService.UpdateGameServerCluster", + "shortName": "EvaluateProcessorVersion", + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.EvaluateProcessorVersion", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{game_server_cluster.name=projects/*/locations/*/realms/*/gameServerClusters/*}" + "httpMethod": "POST", + "path": "/v1beta3/{processor_version=projects/*/locations/*/processors/*/processorVersions/*}:evaluateProcessorVersion" } ] - } - ] - }, - { - "shortName": "GameServerConfigsService", - "fullName": "google.cloud.gaming.v1.GameServerConfigsService", - "methods": [ + }, { - "shortName": "CreateGameServerConfig", - "fullName": "google.cloud.gaming.v1.GameServerConfigsService.CreateGameServerConfig", + "shortName": "FetchProcessorTypes", + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.FetchProcessorTypes", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*/gameServerDeployments/*}/configs" + "httpMethod": "GET", + "path": "/v1beta3/{parent=projects/*/locations/*}:fetchProcessorTypes" } ] }, { - "shortName": "DeleteGameServerConfig", - "fullName": "google.cloud.gaming.v1.GameServerConfigsService.DeleteGameServerConfig", + "shortName": "GetEvaluation", + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.GetEvaluation", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/gameServerDeployments/*/configs/*}" + "httpMethod": "GET", + "path": "/v1beta3/{name=projects/*/locations/*/processors/*/processorVersions/*/evaluations/*}" } ] }, { - "shortName": "GetGameServerConfig", - "fullName": "google.cloud.gaming.v1.GameServerConfigsService.GetGameServerConfig", + "shortName": "GetProcessor", + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.GetProcessor", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/gameServerDeployments/*/configs/*}" + "path": "/v1beta3/{name=projects/*/locations/*/processors/*}" } ] }, { - "shortName": "ListGameServerConfigs", - "fullName": "google.cloud.gaming.v1.GameServerConfigsService.ListGameServerConfigs", + "shortName": "GetProcessorType", + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.GetProcessorType", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*/gameServerDeployments/*}/configs" + "path": "/v1beta3/{name=projects/*/locations/*/processorTypes/*}" } ] - } - ] - }, - { - "shortName": "GameServerDeploymentsService", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService", - "methods": [ + }, { - "shortName": "CreateGameServerDeployment", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.CreateGameServerDeployment", + "shortName": "GetProcessorVersion", + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.GetProcessorVersion", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/gameServerDeployments" + "httpMethod": "GET", + "path": "/v1beta3/{name=projects/*/locations/*/processors/*/processorVersions/*}" } ] }, { - "shortName": "DeleteGameServerDeployment", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.DeleteGameServerDeployment", + "shortName": "ImportProcessorVersion", + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.ImportProcessorVersion", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/gameServerDeployments/*}" + "httpMethod": "POST", + "path": "/v1beta3/{parent=projects/*/locations/*/processors/*}/processorVersions:importProcessorVersion" } ] }, { - "shortName": "FetchDeploymentState", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.FetchDeploymentState", + "shortName": "ListEvaluations", + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.ListEvaluations", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/gameServerDeployments/*}:fetchDeploymentState" + "httpMethod": "GET", + "path": "/v1beta3/{parent=projects/*/locations/*/processors/*/processorVersions/*}/evaluations" } ] }, { - "shortName": "GetGameServerDeployment", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.GetGameServerDeployment", + "shortName": "ListProcessorTypes", + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.ListProcessorTypes", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/gameServerDeployments/*}" + "path": "/v1beta3/{parent=projects/*/locations/*}/processorTypes" } ] }, { - "shortName": "GetGameServerDeploymentRollout", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.GetGameServerDeploymentRollout", + "shortName": "ListProcessorVersions", + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.ListProcessorVersions", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/gameServerDeployments/*}/rollout" + "path": "/v1beta3/{parent=projects/*/locations/*/processors/*}/processorVersions" } ] }, { - "shortName": "ListGameServerDeployments", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.ListGameServerDeployments", + "shortName": "ListProcessors", + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.ListProcessors", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/gameServerDeployments" + "path": "/v1beta3/{parent=projects/*/locations/*}/processors" } ] }, { - "shortName": "PreviewGameServerDeploymentRollout", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.PreviewGameServerDeploymentRollout", + "shortName": "ProcessDocument", + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.ProcessDocument", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{rollout.name=projects/*/locations/*/gameServerDeployments/*}/rollout:preview" + "httpMethod": "POST", + "path": "/v1beta3/{name=projects/*/locations/*/processors/*}:process" + }, + { + "httpMethod": "POST", + "path": "/v1beta3/{name=projects/*/locations/*/processors/*/processorVersions/*}:process" } ] }, { - "shortName": "UpdateGameServerDeployment", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.UpdateGameServerDeployment", + "shortName": "ReviewDocument", + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.ReviewDocument", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{game_server_deployment.name=projects/*/locations/*/gameServerDeployments/*}" + "httpMethod": "POST", + "path": "/v1beta3/{human_review_config=projects/*/locations/*/processors/*/humanReviewConfig}:reviewDocument" } ] }, { - "shortName": "UpdateGameServerDeploymentRollout", - "fullName": "google.cloud.gaming.v1.GameServerDeploymentsService.UpdateGameServerDeploymentRollout", + "shortName": "SetDefaultProcessorVersion", + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.SetDefaultProcessorVersion", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{rollout.name=projects/*/locations/*/gameServerDeployments/*}/rollout" + "httpMethod": "POST", + "path": "/v1beta3/{processor=projects/*/locations/*/processors/*}:setDefaultProcessorVersion" + } + ] + }, + { + "shortName": "TrainProcessorVersion", + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.TrainProcessorVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta3/{parent=projects/*/locations/*/processors/*}/processorVersions:train" + } + ] + }, + { + "shortName": "UndeployProcessorVersion", + "fullName": "google.cloud.documentai.v1beta3.DocumentProcessorService.UndeployProcessorVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta3/{name=projects/*/locations/*/processors/*/processorVersions/*}:undeploy" } ] } ] }, { - "shortName": "RealmsService", - "fullName": "google.cloud.gaming.v1.RealmsService", + "shortName": "DocumentService", + "fullName": "google.cloud.documentai.v1beta3.DocumentService", "methods": [ { - "shortName": "CreateRealm", - "fullName": "google.cloud.gaming.v1.RealmsService.CreateRealm", + "shortName": "BatchDeleteDocuments", + "fullName": "google.cloud.documentai.v1beta3.DocumentService.BatchDeleteDocuments", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/realms" + "path": "/v1beta3/{dataset=projects/*/locations/*/processors/*/dataset}:batchDeleteDocuments" } ] }, { - "shortName": "DeleteRealm", - "fullName": "google.cloud.gaming.v1.RealmsService.DeleteRealm", + "shortName": "GetDatasetSchema", + "fullName": "google.cloud.documentai.v1beta3.DocumentService.GetDatasetSchema", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/realms/*}" + "httpMethod": "GET", + "path": "/v1beta3/{name=projects/*/locations/*/processors/*/dataset/datasetSchema}" } ] }, { - "shortName": "GetRealm", - "fullName": "google.cloud.gaming.v1.RealmsService.GetRealm", + "shortName": "GetDocument", + "fullName": "google.cloud.documentai.v1beta3.DocumentService.GetDocument", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/realms/*}" + "path": "/v1beta3/{dataset=projects/*/locations/*/processors/*/dataset}:getDocument" } ] }, { - "shortName": "ListRealms", - "fullName": "google.cloud.gaming.v1.RealmsService.ListRealms", + "shortName": "ImportDocuments", + "fullName": "google.cloud.documentai.v1beta3.DocumentService.ImportDocuments", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/realms" + "httpMethod": "POST", + "path": "/v1beta3/{dataset=projects/*/locations/*/processors/*/dataset}:importDocuments" + } + ] + }, + { + "shortName": "ListDocuments", + "fullName": "google.cloud.documentai.v1beta3.DocumentService.ListDocuments", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta3/{dataset=projects/*/locations/*/processors/*/dataset}:listDocuments" } ] }, { - "shortName": "PreviewRealmUpdate", - "fullName": "google.cloud.gaming.v1.RealmsService.PreviewRealmUpdate", + "shortName": "UpdateDataset", + "fullName": "google.cloud.documentai.v1beta3.DocumentService.UpdateDataset", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1/{realm.name=projects/*/locations/*/realms/*}:previewUpdate" + "path": "/v1beta3/{dataset.name=projects/*/locations/*/processors/*/dataset}" } ] }, { - "shortName": "UpdateRealm", - "fullName": "google.cloud.gaming.v1.RealmsService.UpdateRealm", + "shortName": "UpdateDatasetSchema", + "fullName": "google.cloud.documentai.v1beta3.DocumentService.UpdateDatasetSchema", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1/{realm.name=projects/*/locations/*/realms/*}" + "path": "/v1beta3/{dataset_schema.name=projects/*/locations/*/processors/*/dataset/datasetSchema}" } ] } ] } ], - "configFile": "gameservices_v1.yaml", + "configFile": "documentai_v1beta3.yaml", "serviceConfigApiNames": [ - "google.cloud.gaming.v1.GameServerClustersService", - "google.cloud.gaming.v1.GameServerConfigsService", - "google.cloud.gaming.v1.GameServerDeploymentsService", - "google.cloud.gaming.v1.RealmsService" + "google.cloud.documentai.v1beta3.DocumentProcessorService", + "google.cloud.documentai.v1beta3.DocumentService", + "google.cloud.location.Locations", + "google.longrunning.Operations" ], - "nameInServiceConfig": "gameservices.googleapis.com" + "nameInServiceConfig": "documentai.googleapis.com" }, { - "id": "google.cloud.gaming.v1beta", - "directory": "google/cloud/gaming/v1beta", - "version": "v1beta", + "id": "google.cloud.domains.v1", + "directory": "google/cloud/domains/v1", + "version": "v1", "majorVersion": "v1", - "hostName": "gameservices.googleapis.com", - "title": "Game Services API", - "description": "Deploy and manage infrastructure for global multiplayer gaming experiences.", + "hostName": "domains.googleapis.com", + "title": "Cloud Domains API", + "description": "Enables management and configuration of domain names.", "importDirectories": [ "google/api", - "google/cloud/gaming/v1beta", "google/longrunning", - "google/protobuf" + "google/protobuf", + "google/type" ], "options": { "go_package": { "valueCounts": { - "cloud.google.com/go/gaming/apiv1beta/gamingpb;gamingpb": 9 + "cloud.google.com/go/domains/apiv1/domainspb;domainspb": 1 } }, "java_multiple_files": { "valueCounts": { - "true": 9 + "true": 1 } }, "java_package": { "valueCounts": { - "com.google.cloud.gaming.v1beta": 9 - } - }, - "php_namespace": { - "valueCounts": { - "": 1, - "Google\\Cloud\\Gaming\\V1beta": 8 + "com.google.cloud.domains.v1": 1 } } }, "services": [ { - "shortName": "GameServerClustersService", - "fullName": "google.cloud.gaming.v1beta.GameServerClustersService", + "shortName": "Domains", + "fullName": "google.cloud.domains.v1.Domains", "methods": [ { - "shortName": "CreateGameServerCluster", - "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.CreateGameServerCluster", + "shortName": "ConfigureContactSettings", + "fullName": "google.cloud.domains.v1.Domains.ConfigureContactSettings", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta/{parent=projects/*/locations/*/realms/*}/gameServerClusters" + "path": "/v1/{registration=projects/*/locations/*/registrations/*}:configureContactSettings" } ] }, { - "shortName": "DeleteGameServerCluster", - "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.DeleteGameServerCluster", + "shortName": "ConfigureDnsSettings", + "fullName": "google.cloud.domains.v1.Domains.ConfigureDnsSettings", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1beta/{name=projects/*/locations/*/realms/*/gameServerClusters/*}" + "httpMethod": "POST", + "path": "/v1/{registration=projects/*/locations/*/registrations/*}:configureDnsSettings" } ] }, { - "shortName": "GetGameServerCluster", - "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.GetGameServerCluster", + "shortName": "ConfigureManagementSettings", + "fullName": "google.cloud.domains.v1.Domains.ConfigureManagementSettings", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta/{name=projects/*/locations/*/realms/*/gameServerClusters/*}" + "httpMethod": "POST", + "path": "/v1/{registration=projects/*/locations/*/registrations/*}:configureManagementSettings" } ] }, { - "shortName": "ListGameServerClusters", - "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.ListGameServerClusters", + "shortName": "DeleteRegistration", + "fullName": "google.cloud.domains.v1.Domains.DeleteRegistration", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta/{parent=projects/*/locations/*/realms/*}/gameServerClusters" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/registrations/*}" } ] }, { - "shortName": "PreviewCreateGameServerCluster", - "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.PreviewCreateGameServerCluster", + "shortName": "ExportRegistration", + "fullName": "google.cloud.domains.v1.Domains.ExportRegistration", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta/{parent=projects/*/locations/*/realms/*}/gameServerClusters:previewCreate" + "path": "/v1/{name=projects/*/locations/*/registrations/*}:export" } ] }, { - "shortName": "PreviewDeleteGameServerCluster", - "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.PreviewDeleteGameServerCluster", + "shortName": "GetRegistration", + "fullName": "google.cloud.domains.v1.Domains.GetRegistration", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1beta/{name=projects/*/locations/*/realms/*/gameServerClusters/*}:previewDelete" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/registrations/*}" } ] }, { - "shortName": "PreviewUpdateGameServerCluster", - "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.PreviewUpdateGameServerCluster", + "shortName": "ListRegistrations", + "fullName": "google.cloud.domains.v1.Domains.ListRegistrations", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1beta/{game_server_cluster.name=projects/*/locations/*/realms/*/gameServerClusters/*}:previewUpdate" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/registrations" } ] }, { - "shortName": "UpdateGameServerCluster", - "fullName": "google.cloud.gaming.v1beta.GameServerClustersService.UpdateGameServerCluster", + "shortName": "RegisterDomain", + "fullName": "google.cloud.domains.v1.Domains.RegisterDomain", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1beta/{game_server_cluster.name=projects/*/locations/*/realms/*/gameServerClusters/*}" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/registrations:register" } ] - } - ] - }, - { - "shortName": "GameServerConfigsService", - "fullName": "google.cloud.gaming.v1beta.GameServerConfigsService", - "methods": [ + }, { - "shortName": "CreateGameServerConfig", - "fullName": "google.cloud.gaming.v1beta.GameServerConfigsService.CreateGameServerConfig", + "shortName": "ResetAuthorizationCode", + "fullName": "google.cloud.domains.v1.Domains.ResetAuthorizationCode", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta/{parent=projects/*/locations/*/gameServerDeployments/*}/configs" + "path": "/v1/{registration=projects/*/locations/*/registrations/*}:resetAuthorizationCode" + } + ] + }, + { + "shortName": "RetrieveAuthorizationCode", + "fullName": "google.cloud.domains.v1.Domains.RetrieveAuthorizationCode", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{registration=projects/*/locations/*/registrations/*}:retrieveAuthorizationCode" } ] }, { - "shortName": "DeleteGameServerConfig", - "fullName": "google.cloud.gaming.v1beta.GameServerConfigsService.DeleteGameServerConfig", + "shortName": "RetrieveRegisterParameters", + "fullName": "google.cloud.domains.v1.Domains.RetrieveRegisterParameters", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1beta/{name=projects/*/locations/*/gameServerDeployments/*/configs/*}" + "httpMethod": "GET", + "path": "/v1/{location=projects/*/locations/*}/registrations:retrieveRegisterParameters" } ] }, { - "shortName": "GetGameServerConfig", - "fullName": "google.cloud.gaming.v1beta.GameServerConfigsService.GetGameServerConfig", + "shortName": "RetrieveTransferParameters", + "fullName": "google.cloud.domains.v1.Domains.RetrieveTransferParameters", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta/{name=projects/*/locations/*/gameServerDeployments/*/configs/*}" + "path": "/v1/{location=projects/*/locations/*}/registrations:retrieveTransferParameters" } ] }, { - "shortName": "ListGameServerConfigs", - "fullName": "google.cloud.gaming.v1beta.GameServerConfigsService.ListGameServerConfigs", + "shortName": "SearchDomains", + "fullName": "google.cloud.domains.v1.Domains.SearchDomains", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta/{parent=projects/*/locations/*/gameServerDeployments/*}/configs" + "path": "/v1/{location=projects/*/locations/*}/registrations:searchDomains" + } + ] + }, + { + "shortName": "TransferDomain", + "fullName": "google.cloud.domains.v1.Domains.TransferDomain", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/registrations:transfer" + } + ] + }, + { + "shortName": "UpdateRegistration", + "fullName": "google.cloud.domains.v1.Domains.UpdateRegistration", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{registration.name=projects/*/locations/*/registrations/*}" } ] } ] + } + ], + "configFile": "domains_v1.yaml", + "serviceConfigApiNames": [ + "google.cloud.domains.v1.Domains" + ], + "nameInServiceConfig": "domains.googleapis.com" + }, + { + "id": "google.cloud.domains.v1alpha2", + "directory": "google/cloud/domains/v1alpha2", + "version": "v1alpha2", + "majorVersion": "v1", + "hostName": "domains.googleapis.com", + "title": "Cloud Domains API", + "description": "Enables management and configuration of domain names.", + "importDirectories": [ + "google/api", + "google/longrunning", + "google/protobuf", + "google/type" + ], + "options": { + "go_package": { + "valueCounts": { + "cloud.google.com/go/domains/apiv1alpha2/domainspb;domainspb": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } }, + "java_package": { + "valueCounts": { + "com.google.cloud.domains.v1alpha2": 1 + } + } + }, + "services": [ { - "shortName": "GameServerDeploymentsService", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService", + "shortName": "Domains", + "fullName": "google.cloud.domains.v1alpha2.Domains", "methods": [ { - "shortName": "CreateGameServerDeployment", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.CreateGameServerDeployment", + "shortName": "ConfigureContactSettings", + "fullName": "google.cloud.domains.v1alpha2.Domains.ConfigureContactSettings", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta/{parent=projects/*/locations/*}/gameServerDeployments" + "path": "/v1alpha2/{registration=projects/*/locations/*/registrations/*}:configureContactSettings" } ] }, { - "shortName": "DeleteGameServerDeployment", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.DeleteGameServerDeployment", + "shortName": "ConfigureDnsSettings", + "fullName": "google.cloud.domains.v1alpha2.Domains.ConfigureDnsSettings", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1beta/{name=projects/*/locations/*/gameServerDeployments/*}" + "httpMethod": "POST", + "path": "/v1alpha2/{registration=projects/*/locations/*/registrations/*}:configureDnsSettings" } ] }, { - "shortName": "FetchDeploymentState", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.FetchDeploymentState", + "shortName": "ConfigureManagementSettings", + "fullName": "google.cloud.domains.v1alpha2.Domains.ConfigureManagementSettings", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta/{name=projects/*/locations/*/gameServerDeployments/*}:fetchDeploymentState" + "path": "/v1alpha2/{registration=projects/*/locations/*/registrations/*}:configureManagementSettings" } ] }, { - "shortName": "GetGameServerDeployment", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.GetGameServerDeployment", + "shortName": "DeleteRegistration", + "fullName": "google.cloud.domains.v1alpha2.Domains.DeleteRegistration", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta/{name=projects/*/locations/*/gameServerDeployments/*}" + "httpMethod": "DELETE", + "path": "/v1alpha2/{name=projects/*/locations/*/registrations/*}" } ] }, { - "shortName": "GetGameServerDeploymentRollout", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.GetGameServerDeploymentRollout", + "shortName": "ExportRegistration", + "fullName": "google.cloud.domains.v1alpha2.Domains.ExportRegistration", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta/{name=projects/*/locations/*/gameServerDeployments/*}/rollout" + "httpMethod": "POST", + "path": "/v1alpha2/{name=projects/*/locations/*/registrations/*}:export" } ] }, { - "shortName": "ListGameServerDeployments", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.ListGameServerDeployments", + "shortName": "GetRegistration", + "fullName": "google.cloud.domains.v1alpha2.Domains.GetRegistration", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta/{parent=projects/*/locations/*}/gameServerDeployments" + "path": "/v1alpha2/{name=projects/*/locations/*/registrations/*}" } ] }, { - "shortName": "PreviewGameServerDeploymentRollout", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.PreviewGameServerDeploymentRollout", + "shortName": "ListRegistrations", + "fullName": "google.cloud.domains.v1alpha2.Domains.ListRegistrations", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1beta/{rollout.name=projects/*/locations/*/gameServerDeployments/*}/rollout:preview" + "httpMethod": "GET", + "path": "/v1alpha2/{parent=projects/*/locations/*}/registrations" } ] }, { - "shortName": "UpdateGameServerDeployment", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.UpdateGameServerDeployment", + "shortName": "RegisterDomain", + "fullName": "google.cloud.domains.v1alpha2.Domains.RegisterDomain", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1beta/{game_server_deployment.name=projects/*/locations/*/gameServerDeployments/*}" + "httpMethod": "POST", + "path": "/v1alpha2/{parent=projects/*/locations/*}/registrations:register" } ] }, { - "shortName": "UpdateGameServerDeploymentRollout", - "fullName": "google.cloud.gaming.v1beta.GameServerDeploymentsService.UpdateGameServerDeploymentRollout", + "shortName": "ResetAuthorizationCode", + "fullName": "google.cloud.domains.v1alpha2.Domains.ResetAuthorizationCode", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1beta/{rollout.name=projects/*/locations/*/gameServerDeployments/*}/rollout" + "httpMethod": "POST", + "path": "/v1alpha2/{registration=projects/*/locations/*/registrations/*}:resetAuthorizationCode" } ] - } - ] - }, - { - "shortName": "RealmsService", - "fullName": "google.cloud.gaming.v1beta.RealmsService", - "methods": [ + }, { - "shortName": "CreateRealm", - "fullName": "google.cloud.gaming.v1beta.RealmsService.CreateRealm", + "shortName": "RetrieveAuthorizationCode", + "fullName": "google.cloud.domains.v1alpha2.Domains.RetrieveAuthorizationCode", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta/{parent=projects/*/locations/*}/realms" + "httpMethod": "GET", + "path": "/v1alpha2/{registration=projects/*/locations/*/registrations/*}:retrieveAuthorizationCode" } ] }, { - "shortName": "DeleteRealm", - "fullName": "google.cloud.gaming.v1beta.RealmsService.DeleteRealm", + "shortName": "RetrieveRegisterParameters", + "fullName": "google.cloud.domains.v1alpha2.Domains.RetrieveRegisterParameters", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1beta/{name=projects/*/locations/*/realms/*}" + "httpMethod": "GET", + "path": "/v1alpha2/{location=projects/*/locations/*}/registrations:retrieveRegisterParameters" } ] }, { - "shortName": "GetRealm", - "fullName": "google.cloud.gaming.v1beta.RealmsService.GetRealm", + "shortName": "RetrieveTransferParameters", + "fullName": "google.cloud.domains.v1alpha2.Domains.RetrieveTransferParameters", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta/{name=projects/*/locations/*/realms/*}" + "path": "/v1alpha2/{location=projects/*/locations/*}/registrations:retrieveTransferParameters" } ] }, { - "shortName": "ListRealms", - "fullName": "google.cloud.gaming.v1beta.RealmsService.ListRealms", + "shortName": "SearchDomains", + "fullName": "google.cloud.domains.v1alpha2.Domains.SearchDomains", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta/{parent=projects/*/locations/*}/realms" + "path": "/v1alpha2/{location=projects/*/locations/*}/registrations:searchDomains" } ] }, { - "shortName": "PreviewRealmUpdate", - "fullName": "google.cloud.gaming.v1beta.RealmsService.PreviewRealmUpdate", + "shortName": "TransferDomain", + "fullName": "google.cloud.domains.v1alpha2.Domains.TransferDomain", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1beta/{realm.name=projects/*/locations/*/realms/*}:previewUpdate" + "httpMethod": "POST", + "path": "/v1alpha2/{parent=projects/*/locations/*}/registrations:transfer" } ] }, { - "shortName": "UpdateRealm", - "fullName": "google.cloud.gaming.v1beta.RealmsService.UpdateRealm", + "shortName": "UpdateRegistration", + "fullName": "google.cloud.domains.v1alpha2.Domains.UpdateRegistration", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1beta/{realm.name=projects/*/locations/*/realms/*}" + "path": "/v1alpha2/{registration.name=projects/*/locations/*/registrations/*}" } ] } ] } ], - "configFile": "gameservices_v1beta.yaml", + "configFile": "domains_v1alpha2.yaml", "serviceConfigApiNames": [ - "google.cloud.gaming.v1beta.GameServerClustersService", - "google.cloud.gaming.v1beta.GameServerConfigsService", - "google.cloud.gaming.v1beta.GameServerDeploymentsService", - "google.cloud.gaming.v1beta.RealmsService" + "google.cloud.domains.v1alpha2.Domains" ], - "nameInServiceConfig": "gameservices.googleapis.com" + "nameInServiceConfig": "domains.googleapis.com" }, { - "id": "google.cloud.gkebackup.v1", - "directory": "google/cloud/gkebackup/v1", - "version": "v1", + "id": "google.cloud.domains.v1beta1", + "directory": "google/cloud/domains/v1beta1", + "version": "v1beta1", "majorVersion": "v1", - "hostName": "gkebackup.googleapis.com", - "title": "Backup for GKE API", - "description": "Backup for GKE is a managed Kubernetes workload backup and restore service for GKE clusters.", + "hostName": "domains.googleapis.com", + "title": "Cloud Domains API", + "description": "Enables management and configuration of domain names.", "importDirectories": [ "google/api", - "google/cloud/gkebackup/v1", "google/longrunning", - "google/protobuf" + "google/protobuf", + "google/type" ], "options": { - "csharp_namespace": { - "valueCounts": { - "Google.Cloud.GkeBackup.V1": 7 - } - }, "go_package": { "valueCounts": { - "cloud.google.com/go/gkebackup/apiv1/gkebackuppb;gkebackuppb": 7 + "cloud.google.com/go/domains/apiv1beta1/domainspb;domainspb": 1 } }, "java_multiple_files": { "valueCounts": { - "true": 7 + "true": 1 } }, "java_package": { "valueCounts": { - "com.google.cloud.gkebackup.v1": 7 - } - }, - "php_namespace": { - "valueCounts": { - "Google\\Cloud\\GkeBackup\\V1": 7 - } - }, - "ruby_package": { - "valueCounts": { - "Google::Cloud::GkeBackup::V1": 7 + "com.google.cloud.domains.v1beta1": 1 } } }, "services": [ { - "shortName": "BackupForGKE", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE", + "shortName": "Domains", + "fullName": "google.cloud.domains.v1beta1.Domains", "methods": [ { - "shortName": "CreateBackup", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.CreateBackup", + "shortName": "ConfigureContactSettings", + "fullName": "google.cloud.domains.v1beta1.Domains.ConfigureContactSettings", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*/backupPlans/*}/backups" + "path": "/v1beta1/{registration=projects/*/locations/*/registrations/*}:configureContactSettings" } ] }, { - "shortName": "CreateBackupPlan", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.CreateBackupPlan", + "shortName": "ConfigureDnsSettings", + "fullName": "google.cloud.domains.v1beta1.Domains.ConfigureDnsSettings", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/backupPlans" + "path": "/v1beta1/{registration=projects/*/locations/*/registrations/*}:configureDnsSettings" } ] }, { - "shortName": "CreateRestore", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.CreateRestore", + "shortName": "ConfigureManagementSettings", + "fullName": "google.cloud.domains.v1beta1.Domains.ConfigureManagementSettings", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*/restorePlans/*}/restores" + "path": "/v1beta1/{registration=projects/*/locations/*/registrations/*}:configureManagementSettings" } ] }, { - "shortName": "CreateRestorePlan", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.CreateRestorePlan", + "shortName": "DeleteRegistration", + "fullName": "google.cloud.domains.v1beta1.Domains.DeleteRegistration", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/restorePlans" + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/registrations/*}" } ] }, { - "shortName": "DeleteBackup", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.DeleteBackup", + "shortName": "ExportRegistration", + "fullName": "google.cloud.domains.v1beta1.Domains.ExportRegistration", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/backupPlans/*/backups/*}" + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/registrations/*}:export" } ] }, { - "shortName": "DeleteBackupPlan", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.DeleteBackupPlan", + "shortName": "GetRegistration", + "fullName": "google.cloud.domains.v1beta1.Domains.GetRegistration", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/backupPlans/*}" + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/registrations/*}" } ] }, { - "shortName": "DeleteRestore", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.DeleteRestore", + "shortName": "ListRegistrations", + "fullName": "google.cloud.domains.v1beta1.Domains.ListRegistrations", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/restorePlans/*/restores/*}" + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/registrations" } ] }, { - "shortName": "DeleteRestorePlan", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.DeleteRestorePlan", + "shortName": "RegisterDomain", + "fullName": "google.cloud.domains.v1beta1.Domains.RegisterDomain", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/restorePlans/*}" + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/registrations:register" } ] }, { - "shortName": "GetBackup", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.GetBackup", + "shortName": "ResetAuthorizationCode", + "fullName": "google.cloud.domains.v1beta1.Domains.ResetAuthorizationCode", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/backupPlans/*/backups/*}" + "httpMethod": "POST", + "path": "/v1beta1/{registration=projects/*/locations/*/registrations/*}:resetAuthorizationCode" } ] }, { - "shortName": "GetBackupPlan", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.GetBackupPlan", + "shortName": "RetrieveAuthorizationCode", + "fullName": "google.cloud.domains.v1beta1.Domains.RetrieveAuthorizationCode", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/backupPlans/*}" + "path": "/v1beta1/{registration=projects/*/locations/*/registrations/*}:retrieveAuthorizationCode" } ] }, { - "shortName": "GetRestore", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.GetRestore", + "shortName": "RetrieveRegisterParameters", + "fullName": "google.cloud.domains.v1beta1.Domains.RetrieveRegisterParameters", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/restorePlans/*/restores/*}" + "path": "/v1beta1/{location=projects/*/locations/*}/registrations:retrieveRegisterParameters" } ] }, { - "shortName": "GetRestorePlan", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.GetRestorePlan", + "shortName": "RetrieveTransferParameters", + "fullName": "google.cloud.domains.v1beta1.Domains.RetrieveTransferParameters", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/restorePlans/*}" + "path": "/v1beta1/{location=projects/*/locations/*}/registrations:retrieveTransferParameters" } ] }, { - "shortName": "GetVolumeBackup", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.GetVolumeBackup", + "shortName": "SearchDomains", + "fullName": "google.cloud.domains.v1beta1.Domains.SearchDomains", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*}" + "path": "/v1beta1/{location=projects/*/locations/*}/registrations:searchDomains" } ] }, { - "shortName": "GetVolumeRestore", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.GetVolumeRestore", + "shortName": "TransferDomain", + "fullName": "google.cloud.domains.v1beta1.Domains.TransferDomain", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/restorePlans/*/restores/*/volumeRestores/*}" + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/registrations:transfer" } ] }, { - "shortName": "ListBackupPlans", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.ListBackupPlans", + "shortName": "UpdateRegistration", + "fullName": "google.cloud.domains.v1beta1.Domains.UpdateRegistration", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/backupPlans" + "httpMethod": "PATCH", + "path": "/v1beta1/{registration.name=projects/*/locations/*/registrations/*}" } ] - }, + } + ] + } + ], + "configFile": "domains_v1beta1.yaml", + "serviceConfigApiNames": [ + "google.cloud.domains.v1beta1.Domains" + ], + "nameInServiceConfig": "domains.googleapis.com" + }, + { + "id": "google.cloud.edgecontainer.v1", + "directory": "google/cloud/edgecontainer/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "edgecontainer.googleapis.com", + "title": "Distributed Cloud Edge Container API", + "description": "", + "importDirectories": [ + "google/api", + "google/cloud/edgecontainer/v1", + "google/longrunning", + "google/protobuf", + "google/rpc" + ], + "options": { + "go_package": { + "valueCounts": { + "cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb;edgecontainerpb": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.edgecontainer.v1": 2 + } + } + }, + "services": [ + { + "shortName": "EdgeContainer", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer", + "methods": [ { - "shortName": "ListBackups", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.ListBackups", + "shortName": "CreateCluster", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.CreateCluster", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*/backupPlans/*}/backups" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/clusters" } ] }, { - "shortName": "ListRestorePlans", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.ListRestorePlans", + "shortName": "CreateNodePool", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.CreateNodePool", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/restorePlans" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/clusters/*}/nodePools" } ] }, { - "shortName": "ListRestores", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.ListRestores", + "shortName": "CreateVpnConnection", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.CreateVpnConnection", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*/restorePlans/*}/restores" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/vpnConnections" } ] }, { - "shortName": "ListVolumeBackups", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.ListVolumeBackups", + "shortName": "DeleteCluster", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.DeleteCluster", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*/backupPlans/*/backups/*}/volumeBackups" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/clusters/*}" } ] }, { - "shortName": "ListVolumeRestores", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.ListVolumeRestores", + "shortName": "DeleteNodePool", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.DeleteNodePool", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*/restorePlans/*/restores/*}/volumeRestores" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/clusters/*/nodePools/*}" } ] }, { - "shortName": "UpdateBackup", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.UpdateBackup", + "shortName": "DeleteVpnConnection", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.DeleteVpnConnection", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{backup.name=projects/*/locations/*/backupPlans/*/backups/*}" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/vpnConnections/*}" } ] }, { - "shortName": "UpdateBackupPlan", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.UpdateBackupPlan", + "shortName": "GenerateAccessToken", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GenerateAccessToken", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{backup_plan.name=projects/*/locations/*/backupPlans/*}" + "httpMethod": "GET", + "path": "/v1/{cluster=projects/*/locations/*/clusters/*}:generateAccessToken" } ] }, { - "shortName": "UpdateRestore", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.UpdateRestore", + "shortName": "GetCluster", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GetCluster", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{restore.name=projects/*/locations/*/restorePlans/*/restores/*}" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/clusters/*}" } ] }, { - "shortName": "UpdateRestorePlan", - "fullName": "google.cloud.gkebackup.v1.BackupForGKE.UpdateRestorePlan", + "shortName": "GetMachine", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GetMachine", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{restore_plan.name=projects/*/locations/*/restorePlans/*}" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/machines/*}" } ] - } - ] - } - ], - "configFile": "gkebackup_v1.yaml", - "serviceConfigApiNames": [ - "google.cloud.gkebackup.v1.BackupForGKE" - ], - "nameInServiceConfig": "gkebackup.googleapis.com" - }, - { - "id": "google.cloud.gkeconnect.gateway.v1", - "directory": "google/cloud/gkeconnect/gateway/v1", - "version": "v1", - "majorVersion": "v1", - "hostName": "connectgateway.googleapis.com", - "title": "Connect Gateway API", - "description": "The Connect Gateway service allows connectivity from external parties to connected Kubernetes clusters.", - "importDirectories": [ - "google/api" - ], - "options": { - "csharp_namespace": { - "valueCounts": { - "Google.Cloud.GkeConnect.Gateway.V1": 1 - } - }, - "go_package": { - "valueCounts": { - "cloud.google.com/go/gkeconnect/gateway/apiv1/gatewaypb;gatewaypb": 1 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 1 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.gkeconnect.gateway.v1": 1 - } - }, - "php_namespace": { - "valueCounts": { - "Google\\Cloud\\GkeConnect\\Gateway\\V1": 1 - } - }, - "ruby_package": { - "valueCounts": { - "Google::Cloud::GkeConnect::Gateway::V1": 1 - } - } - }, - "services": [ - { - "shortName": "GatewayService", - "fullName": "google.cloud.gkeconnect.gateway.v1.GatewayService" - } - ], - "configFile": "connectgateway_v1.yaml", - "serviceConfigApiNames": [ - "google.cloud.gkeconnect.gateway.v1.GatewayService" - ], - "nameInServiceConfig": "connectgateway.googleapis.com" - }, - { - "id": "google.cloud.gkeconnect.gateway.v1alpha1", - "directory": "google/cloud/gkeconnect/gateway/v1alpha1", - "version": "v1alpha1", - "majorVersion": "v1", - "hostName": "connectgateway.googleapis.com", - "title": "Connect Gateway API", - "description": "The Connect Gateway service allows connectivity from external parties to connected Kubernetes clusters.", - "importDirectories": [ - "google/api" - ], - "options": { - "csharp_namespace": { - "valueCounts": { - "Google.Cloud.GkeConnect.Gateway.V1Alpha1": 1 - } - }, - "go_package": { - "valueCounts": { - "cloud.google.com/go/gkeconnect/gateway/apiv1alpha1/gatewaypb;gatewaypb": 1 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 1 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.gkeconnect.gateway.v1alpha1": 1 - } - }, - "php_namespace": { - "valueCounts": { - "Google\\Cloud\\GkeConnect\\Gateway\\V1alpha1": 1 - } - }, - "ruby_package": { - "valueCounts": { - "Google::Cloud::GkeConnect::Gateway::V1alpha1": 1 - } - } - }, - "services": [ - { - "shortName": "GatewayService", - "fullName": "google.cloud.gkeconnect.gateway.v1alpha1.GatewayService" - } - ], - "configFile": "connectgateway_v1alpha1.yaml", - "serviceConfigApiNames": [ - "google.cloud.gkeconnect.gateway.v1alpha1.GatewayService" - ], - "nameInServiceConfig": "connectgateway.googleapis.com" - }, - { - "id": "google.cloud.gkeconnect.gateway.v1beta1", - "directory": "google/cloud/gkeconnect/gateway/v1beta1", - "version": "v1beta1", - "majorVersion": "v1", - "hostName": "connectgateway.googleapis.com", - "title": "Connect Gateway API", - "description": "The Connect Gateway service allows connectivity from external parties to connected Kubernetes clusters.", - "importDirectories": [ - "google/api" - ], - "options": { - "csharp_namespace": { - "valueCounts": { - "Google.Cloud.GkeConnect.Gateway.V1Beta1": 1 - } - }, - "go_package": { - "valueCounts": { - "cloud.google.com/go/gkeconnect/gateway/apiv1beta1/gatewaypb;gatewaypb": 1 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 1 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.gkeconnect.gateway.v1beta1": 1 - } - }, - "php_namespace": { - "valueCounts": { - "Google\\Cloud\\GkeConnect\\Gateway\\V1beta1": 1 - } - }, - "ruby_package": { - "valueCounts": { - "Google::Cloud::GkeConnect::Gateway::V1beta1": 1 - } - } - }, - "services": [ - { - "shortName": "GatewayService", - "fullName": "google.cloud.gkeconnect.gateway.v1beta1.GatewayService", - "methods": [ + }, { - "shortName": "DeleteResource", - "fullName": "google.cloud.gkeconnect.gateway.v1beta1.GatewayService.DeleteResource", + "shortName": "GetNodePool", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GetNodePool", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1beta1/**" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/clusters/*/nodePools/*}" } ] }, { - "shortName": "GetResource", - "fullName": "google.cloud.gkeconnect.gateway.v1beta1.GatewayService.GetResource", + "shortName": "GetVpnConnection", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.GetVpnConnection", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta1/**" + "path": "/v1/{name=projects/*/locations/*/vpnConnections/*}" } ] }, { - "shortName": "PatchResource", - "fullName": "google.cloud.gkeconnect.gateway.v1beta1.GatewayService.PatchResource", + "shortName": "ListClusters", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.ListClusters", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1beta1/**" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/clusters" } ] }, { - "shortName": "PostResource", - "fullName": "google.cloud.gkeconnect.gateway.v1beta1.GatewayService.PostResource", + "shortName": "ListMachines", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.ListMachines", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta1/**" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/machines" } ] }, { - "shortName": "PutResource", - "fullName": "google.cloud.gkeconnect.gateway.v1beta1.GatewayService.PutResource", + "shortName": "ListNodePools", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.ListNodePools", "mode": "UNARY", "bindings": [ { - "httpMethod": "PUT", - "path": "/v1beta1/**" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/clusters/*}/nodePools" + } + ] + }, + { + "shortName": "ListVpnConnections", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.ListVpnConnections", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/vpnConnections" + } + ] + }, + { + "shortName": "UpdateCluster", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.UpdateCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{cluster.name=projects/*/locations/*/clusters/*}" + } + ] + }, + { + "shortName": "UpdateNodePool", + "fullName": "google.cloud.edgecontainer.v1.EdgeContainer.UpdateNodePool", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{node_pool.name=projects/*/locations/*/clusters/*/nodePools/*}" } ] } ] } ], - "configFile": "connectgateway_v1beta1.yaml", + "configFile": "edgecontainer_v1.yaml", "serviceConfigApiNames": [ - "google.cloud.gkeconnect.gateway.v1beta1.GatewayService" + "google.cloud.edgecontainer.v1.EdgeContainer", + "google.cloud.location.Locations", + "google.longrunning.Operations" ], - "nameInServiceConfig": "connectgateway.googleapis.com" + "nameInServiceConfig": "edgecontainer.googleapis.com" }, { - "id": "google.cloud.gkehub.v1", - "directory": "google/cloud/gkehub/v1", + "id": "google.cloud.edgenetwork.v1", + "directory": "google/cloud/edgenetwork/v1", "version": "v1", "majorVersion": "v1", - "hostName": "gkehub.googleapis.com", - "title": "GKE Hub", - "description": "", + "hostName": "edgenetwork.googleapis.com", + "title": "Distributed Cloud Edge Network API", + "description": "Network management API for Distributed Cloud Edge.", "importDirectories": [ "google/api", - "google/cloud/gkehub/v1", - "google/cloud/gkehub/v1/configmanagement", - "google/cloud/gkehub/v1/multiclusteringress", + "google/cloud/edgenetwork/v1", "google/longrunning", "google/protobuf" ], "options": { "csharp_namespace": { "valueCounts": { - "Google.Cloud.GkeHub.ConfigManagement.V1": 1, - "Google.Cloud.GkeHub.MultiClusterIngress.V1": 1, - "Google.Cloud.GkeHub.V1": 3 + "Google.Cloud.EdgeNetwork.V1": 2 } }, "go_package": { "valueCounts": { - "cloud.google.com/go/gkehub/apiv1/gkehubpb;gkehubpb": 3, - "cloud.google.com/go/gkehub/configmanagement/apiv1/configmanagementpb;configmanagementpb": 1, - "cloud.google.com/go/gkehub/multiclusteringress/apiv1/multiclusteringresspb;multiclusteringresspb": 1 + "cloud.google.com/go/edgenetwork/apiv1/edgenetworkpb;edgenetworkpb": 2 } }, "java_multiple_files": { "valueCounts": { - "true": 5 + "true": 2 } }, "java_package": { "valueCounts": { - "com.google.cloud.gkehub.configmanagement.v1": 1, - "com.google.cloud.gkehub.multiclusteringress.v1": 1, - "com.google.cloud.gkehub.v1": 3 + "com.google.cloud.edgenetwork.v1": 2 } }, "php_namespace": { "valueCounts": { - "Google\\Cloud\\GkeHub\\ConfigManagement\\V1": 1, - "Google\\Cloud\\GkeHub\\MultiClusterIngress\\V1": 1, - "Google\\Cloud\\GkeHub\\V1": 3 + "Google\\Cloud\\EdgeNetwork\\V1": 2 } }, "ruby_package": { "valueCounts": { - "Google::Cloud::GkeHub::ConfigManagement::V1": 1, - "Google::Cloud::GkeHub::MultiClusterIngress::V1": 1, - "Google::Cloud::GkeHub::V1": 3 + "Google::Cloud::EdgeNetwork::V1": 2 } } }, "services": [ { - "shortName": "GkeHub", - "fullName": "google.cloud.gkehub.v1.GkeHub", + "shortName": "EdgeNetwork", + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork", "methods": [ { - "shortName": "CreateFeature", - "fullName": "google.cloud.gkehub.v1.GkeHub.CreateFeature", + "shortName": "CreateInterconnectAttachment", + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.CreateInterconnectAttachment", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/features" + "path": "/v1/{parent=projects/*/locations/*/zones/*}/interconnectAttachments" } ] }, { - "shortName": "CreateMembership", - "fullName": "google.cloud.gkehub.v1.GkeHub.CreateMembership", + "shortName": "CreateNetwork", + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.CreateNetwork", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/memberships" + "path": "/v1/{parent=projects/*/locations/*/zones/*}/networks" } ] }, { - "shortName": "DeleteFeature", - "fullName": "google.cloud.gkehub.v1.GkeHub.DeleteFeature", + "shortName": "CreateRouter", + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.CreateRouter", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/zones/*}/routers" + } + ] + }, + { + "shortName": "CreateSubnet", + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.CreateSubnet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/zones/*}/subnets" + } + ] + }, + { + "shortName": "DeleteInterconnectAttachment", + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.DeleteInterconnectAttachment", "mode": "UNARY", "bindings": [ { "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/features/*}" + "path": "/v1/{name=projects/*/locations/*/zones/*/interconnectAttachments/*}" } ] }, { - "shortName": "DeleteMembership", - "fullName": "google.cloud.gkehub.v1.GkeHub.DeleteMembership", + "shortName": "DeleteNetwork", + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.DeleteNetwork", "mode": "UNARY", "bindings": [ { "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/memberships/*}" + "path": "/v1/{name=projects/*/locations/*/zones/*/networks/*}" } ] }, { - "shortName": "GenerateConnectManifest", - "fullName": "google.cloud.gkehub.v1.GkeHub.GenerateConnectManifest", + "shortName": "DeleteRouter", + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.DeleteRouter", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/zones/*/routers/*}" + } + ] + }, + { + "shortName": "DeleteSubnet", + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.DeleteSubnet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/zones/*/subnets/*}" + } + ] + }, + { + "shortName": "DiagnoseInterconnect", + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.DiagnoseInterconnect", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/memberships/*}:generateConnectManifest" + "path": "/v1/{name=projects/*/locations/*/zones/*/interconnects/*}:diagnose" } ] }, { - "shortName": "GetFeature", - "fullName": "google.cloud.gkehub.v1.GkeHub.GetFeature", + "shortName": "DiagnoseNetwork", + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.DiagnoseNetwork", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/features/*}" + "path": "/v1/{name=projects/*/locations/*/zones/*/networks/*}:diagnose" } ] }, { - "shortName": "GetMembership", - "fullName": "google.cloud.gkehub.v1.GkeHub.GetMembership", + "shortName": "DiagnoseRouter", + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.DiagnoseRouter", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/memberships/*}" + "path": "/v1/{name=projects/*/locations/*/zones/*/routers/*}:diagnose" } ] }, { - "shortName": "ListFeatures", - "fullName": "google.cloud.gkehub.v1.GkeHub.ListFeatures", + "shortName": "GetInterconnect", + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.GetInterconnect", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/features" + "path": "/v1/{name=projects/*/locations/*/zones/*/interconnects/*}" } ] }, { - "shortName": "ListMemberships", - "fullName": "google.cloud.gkehub.v1.GkeHub.ListMemberships", + "shortName": "GetInterconnectAttachment", + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.GetInterconnectAttachment", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/memberships" + "path": "/v1/{name=projects/*/locations/*/zones/*/interconnectAttachments/*}" } ] }, { - "shortName": "UpdateFeature", - "fullName": "google.cloud.gkehub.v1.GkeHub.UpdateFeature", + "shortName": "GetNetwork", + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.GetNetwork", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/zones/*/networks/*}" + } + ] + }, + { + "shortName": "GetRouter", + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.GetRouter", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/zones/*/routers/*}" + } + ] + }, + { + "shortName": "GetSubnet", + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.GetSubnet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/zones/*/subnets/*}" + } + ] + }, + { + "shortName": "GetZone", + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.GetZone", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/zones/*}" + } + ] + }, + { + "shortName": "InitializeZone", + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.InitializeZone", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/zones/*}:initialize" + } + ] + }, + { + "shortName": "ListInterconnectAttachments", + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.ListInterconnectAttachments", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/zones/*}/interconnectAttachments" + } + ] + }, + { + "shortName": "ListInterconnects", + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.ListInterconnects", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/zones/*}/interconnects" + } + ] + }, + { + "shortName": "ListNetworks", + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.ListNetworks", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/zones/*}/networks" + } + ] + }, + { + "shortName": "ListRouters", + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.ListRouters", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/zones/*}/routers" + } + ] + }, + { + "shortName": "ListSubnets", + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.ListSubnets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/zones/*}/subnets" + } + ] + }, + { + "shortName": "ListZones", + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.ListZones", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/zones" + } + ] + }, + { + "shortName": "UpdateRouter", + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.UpdateRouter", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1/{name=projects/*/locations/*/features/*}" + "path": "/v1/{router.name=projects/*/locations/*/zones/*/routers/*}" } ] }, { - "shortName": "UpdateMembership", - "fullName": "google.cloud.gkehub.v1.GkeHub.UpdateMembership", + "shortName": "UpdateSubnet", + "fullName": "google.cloud.edgenetwork.v1.EdgeNetwork.UpdateSubnet", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1/{name=projects/*/locations/*/memberships/*}" + "path": "/v1/{subnet.name=projects/*/locations/*/zones/*/subnets/*}" } ] } ] } ], - "configFile": "gkehub_v1.yaml", + "configFile": "edgenetwork_v1.yaml", "serviceConfigApiNames": [ - "google.cloud.gkehub.v1.GkeHub" + "google.cloud.edgenetwork.v1.EdgeNetwork", + "google.cloud.location.Locations", + "google.longrunning.Operations" ], - "nameInServiceConfig": "gkehub.googleapis.com" + "nameInServiceConfig": "edgenetwork.googleapis.com" }, { - "id": "google.cloud.gkehub.v1alpha", - "directory": "google/cloud/gkehub/v1alpha", - "version": "v1alpha", + "id": "google.cloud.enterpriseknowledgegraph.v1", + "directory": "google/cloud/enterpriseknowledgegraph/v1", + "version": "v1", "majorVersion": "v1", - "hostName": "gkehub.googleapis.com", - "title": "GKE Hub", + "hostName": "enterpriseknowledgegraph.googleapis.com", + "title": "Enterprise Knowledge Graph API", "description": "", "importDirectories": [ "google/api", - "google/cloud/gkehub/v1alpha", - "google/cloud/gkehub/v1alpha/cloudauditlogging", - "google/cloud/gkehub/v1alpha/configmanagement", - "google/cloud/gkehub/v1alpha/metering", - "google/cloud/gkehub/v1alpha/multiclusteringress", - "google/cloud/gkehub/v1alpha/servicemesh", - "google/longrunning", - "google/protobuf" + "google/cloud/enterpriseknowledgegraph/v1", + "google/protobuf", + "google/rpc" ], "options": { "csharp_namespace": { "valueCounts": { - "Google.Cloud.GkeHub.CloudAuditLogging.V1Alpha": 1, - "Google.Cloud.GkeHub.ConfigManagement.V1Alpha": 1, - "Google.Cloud.GkeHub.Metering.V1Alpha": 1, - "Google.Cloud.GkeHub.MultiClusterIngress.V1Alpha": 1, - "Google.Cloud.GkeHub.ServiceMesh.V1Alpha": 1, - "Google.Cloud.GkeHub.V1Alpha": 2 + "Google.Cloud.EnterpriseKnowledgeGraph.V1": 3 } }, "go_package": { "valueCounts": { - "cloud.google.com/go/gkehub/apiv1alpha/gkehubpb;gkehubpb": 2, - "cloud.google.com/go/gkehub/cloudauditlogging/apiv1alpha/cloudauditloggingpb;cloudauditloggingpb": 1, - "cloud.google.com/go/gkehub/configmanagement/apiv1alpha/configmanagementpb;configmanagementpb": 1, - "cloud.google.com/go/gkehub/metering/apiv1alpha/meteringpb;meteringpb": 1, - "cloud.google.com/go/gkehub/multiclusteringress/apiv1alpha/multiclusteringresspb;multiclusteringresspb": 1, - "cloud.google.com/go/gkehub/servicemesh/apiv1alpha/servicemeshpb;servicemeshpb": 1 + "cloud.google.com/go/enterpriseknowledgegraph/apiv1/enterpriseknowledgegraphpb;enterpriseknowledgegraphpb": 3 } }, "java_multiple_files": { "valueCounts": { - "true": 7 + "true": 3 } }, "java_package": { "valueCounts": { - "com.google.cloud.gkehub.cloudauditlogging.v1alpha": 1, - "com.google.cloud.gkehub.configmanagement.v1alpha": 1, - "com.google.cloud.gkehub.metering.v1alpha": 1, - "com.google.cloud.gkehub.multiclusteringress.v1alpha": 1, - "com.google.cloud.gkehub.servicemesh.v1alpha": 1, - "com.google.cloud.gkehub.v1alpha": 2 + "com.google.cloud.enterpriseknowledgegraph.v1": 3 } }, "php_namespace": { "valueCounts": { - "Google\\Cloud\\GkeHub\\CloudAuditLogging\\V1alpha": 1, - "Google\\Cloud\\GkeHub\\ConfigManagement\\V1alpha": 1, - "Google\\Cloud\\GkeHub\\Metering\\V1alpha": 1, - "Google\\Cloud\\GkeHub\\MultiClusterIngress\\V1alpha": 1, - "Google\\Cloud\\GkeHub\\ServiceMesh\\V1alpha": 1, - "Google\\Cloud\\GkeHub\\V1alpha": 2 + "Google\\Cloud\\EnterpriseKnowledgeGraph\\V1": 3 } }, "ruby_package": { "valueCounts": { - "Google::Cloud::GkeHub::CloudAuditLogging::V1alpha": 1, - "Google::Cloud::GkeHub::ConfigManagement::V1alpha": 1, - "Google::Cloud::GkeHub::Metering::V1alpha": 1, - "Google::Cloud::GkeHub::MultiClusterIngress::V1alpha": 1, - "Google::Cloud::GkeHub::ServiceMesh::V1alpha": 1, - "Google::Cloud::GkeHub::V1alpha": 2 + "Google::Cloud::EnterpriseKnowledgeGraph::V1": 3 } } }, "services": [ { - "shortName": "GkeHub", - "fullName": "google.cloud.gkehub.v1alpha.GkeHub", + "shortName": "EnterpriseKnowledgeGraphService", + "fullName": "google.cloud.enterpriseknowledgegraph.v1.EnterpriseKnowledgeGraphService", "methods": [ { - "shortName": "CreateFeature", - "fullName": "google.cloud.gkehub.v1alpha.GkeHub.CreateFeature", + "shortName": "CancelEntityReconciliationJob", + "fullName": "google.cloud.enterpriseknowledgegraph.v1.EnterpriseKnowledgeGraphService.CancelEntityReconciliationJob", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1alpha/{parent=projects/*/locations/*}/features" + "path": "/v1/{name=projects/*/locations/*/entityReconciliationJobs/*}:cancel" } ] }, { - "shortName": "DeleteFeature", - "fullName": "google.cloud.gkehub.v1alpha.GkeHub.DeleteFeature", + "shortName": "CreateEntityReconciliationJob", + "fullName": "google.cloud.enterpriseknowledgegraph.v1.EnterpriseKnowledgeGraphService.CreateEntityReconciliationJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/entityReconciliationJobs" + } + ] + }, + { + "shortName": "DeleteEntityReconciliationJob", + "fullName": "google.cloud.enterpriseknowledgegraph.v1.EnterpriseKnowledgeGraphService.DeleteEntityReconciliationJob", "mode": "UNARY", "bindings": [ { "httpMethod": "DELETE", - "path": "/v1alpha/{name=projects/*/locations/*/features/*}" + "path": "/v1/{name=projects/*/locations/*/entityReconciliationJobs/*}" } ] }, { - "shortName": "GetFeature", - "fullName": "google.cloud.gkehub.v1alpha.GkeHub.GetFeature", + "shortName": "GetEntityReconciliationJob", + "fullName": "google.cloud.enterpriseknowledgegraph.v1.EnterpriseKnowledgeGraphService.GetEntityReconciliationJob", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1alpha/{name=projects/*/locations/*/features/*}" + "path": "/v1/{name=projects/*/locations/*/entityReconciliationJobs/*}" } ] }, { - "shortName": "ListFeatures", - "fullName": "google.cloud.gkehub.v1alpha.GkeHub.ListFeatures", + "shortName": "ListEntityReconciliationJobs", + "fullName": "google.cloud.enterpriseknowledgegraph.v1.EnterpriseKnowledgeGraphService.ListEntityReconciliationJobs", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1alpha/{parent=projects/*/locations/*}/features" + "path": "/v1/{parent=projects/*/locations/*}/entityReconciliationJobs" } ] }, { - "shortName": "UpdateFeature", - "fullName": "google.cloud.gkehub.v1alpha.GkeHub.UpdateFeature", + "shortName": "Lookup", + "fullName": "google.cloud.enterpriseknowledgegraph.v1.EnterpriseKnowledgeGraphService.Lookup", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1alpha/{name=projects/*/locations/*/features/*}" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/cloudKnowledgeGraphEntities:Lookup" + } + ] + }, + { + "shortName": "LookupPublicKg", + "fullName": "google.cloud.enterpriseknowledgegraph.v1.EnterpriseKnowledgeGraphService.LookupPublicKg", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/publicKnowledgeGraphEntities:Lookup" + } + ] + }, + { + "shortName": "Search", + "fullName": "google.cloud.enterpriseknowledgegraph.v1.EnterpriseKnowledgeGraphService.Search", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/cloudKnowledgeGraphEntities:Search" + } + ] + }, + { + "shortName": "SearchPublicKg", + "fullName": "google.cloud.enterpriseknowledgegraph.v1.EnterpriseKnowledgeGraphService.SearchPublicKg", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/publicKnowledgeGraphEntities:Search" } ] } ] } ], - "configFile": "gkehub_v1alpha.yaml", + "configFile": "enterpriseknowledgegraph_v1.yaml", "serviceConfigApiNames": [ - "google.cloud.gkehub.v1alpha.GkeHub" + "google.cloud.enterpriseknowledgegraph.v1.EnterpriseKnowledgeGraphService", + "google.longrunning.Operations" ], - "nameInServiceConfig": "gkehub.googleapis.com" + "nameInServiceConfig": "enterpriseknowledgegraph.googleapis.com" }, { - "id": "google.cloud.gkehub.v1alpha2", - "directory": "google/cloud/gkehub/v1alpha2", - "version": "v1alpha2", + "id": "google.cloud.essentialcontacts.v1", + "directory": "google/cloud/essentialcontacts/v1", + "version": "v1", "majorVersion": "v1", - "hostName": "gkehub.googleapis.com", - "title": "GKE Hub API", + "hostName": "essentialcontacts.googleapis.com", + "title": "Essential Contacts API", "description": "", "importDirectories": [ "google/api", - "google/longrunning", + "google/cloud/essentialcontacts/v1", "google/protobuf" ], "options": { "csharp_namespace": { "valueCounts": { - "Google.Cloud.GkeHub.V1Alpha2": 1 + "Google.Cloud.EssentialContacts.V1": 2 } }, "go_package": { "valueCounts": { - "cloud.google.com/go/gkehub/apiv1alpha2/gkehubpb;gkehubpb": 1 + "cloud.google.com/go/essentialcontacts/apiv1/essentialcontactspb;essentialcontactspb": 2 } }, "java_multiple_files": { "valueCounts": { - "true": 1 + "true": 2 } }, "java_package": { "valueCounts": { - "com.google.cloud.gkehub.v1alpha2": 1 + "com.google.cloud.essentialcontacts.v1": 2 } }, "php_namespace": { "valueCounts": { - "Google\\Cloud\\GkeHub\\V1alpha2": 1 + "Google\\Cloud\\EssentialContacts\\V1": 2 } }, "ruby_package": { "valueCounts": { - "Google::Cloud::GkeHub::V1alpha2": 1 + "Google::Cloud::EssentialContacts::V1": 2 } } }, "services": [ { - "shortName": "GkeHub", - "fullName": "google.cloud.gkehub.v1alpha2.GkeHub", + "shortName": "EssentialContactsService", + "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService", "methods": [ { - "shortName": "CreateMembership", - "fullName": "google.cloud.gkehub.v1alpha2.GkeHub.CreateMembership", + "shortName": "ComputeContacts", + "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService.ComputeContacts", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1alpha2/{parent=projects/*/locations/*}/memberships" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*}/contacts:compute" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=folders/*}/contacts:compute" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=organizations/*}/contacts:compute" } ] }, { - "shortName": "DeleteMembership", - "fullName": "google.cloud.gkehub.v1alpha2.GkeHub.DeleteMembership", + "shortName": "CreateContact", + "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService.CreateContact", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1alpha2/{name=projects/*/locations/*/memberships/*}" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}/contacts" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=folders/*}/contacts" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=organizations/*}/contacts" } ] }, { - "shortName": "GenerateConnectManifest", - "fullName": "google.cloud.gkehub.v1alpha2.GkeHub.GenerateConnectManifest", + "shortName": "DeleteContact", + "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService.DeleteContact", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1alpha2/{name=projects/*/locations/*/memberships/*}:generateConnectManifest" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/contacts/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v1/{name=folders/*/contacts/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v1/{name=organizations/*/contacts/*}" } ] }, { - "shortName": "GetMembership", - "fullName": "google.cloud.gkehub.v1alpha2.GkeHub.GetMembership", + "shortName": "GetContact", + "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService.GetContact", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1alpha2/{name=projects/*/locations/*/memberships/*}" + "path": "/v1/{name=projects/*/contacts/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=folders/*/contacts/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=organizations/*/contacts/*}" } ] }, { - "shortName": "InitializeHub", - "fullName": "google.cloud.gkehub.v1alpha2.GkeHub.InitializeHub", + "shortName": "ListContacts", + "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService.ListContacts", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1alpha2/{project=projects/*/locations/global/memberships}:initializeHub" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*}/contacts" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=folders/*}/contacts" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=organizations/*}/contacts" } ] }, { - "shortName": "ListMemberships", - "fullName": "google.cloud.gkehub.v1alpha2.GkeHub.ListMemberships", + "shortName": "SendTestMessage", + "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService.SendTestMessage", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1alpha2/{parent=projects/*/locations/*}/memberships" + "httpMethod": "POST", + "path": "/v1/{resource=projects/*}/contacts:sendTestMessage" + }, + { + "httpMethod": "POST", + "path": "/v1/{resource=folders/*}/contacts:sendTestMessage" + }, + { + "httpMethod": "POST", + "path": "/v1/{resource=organizations/*}/contacts:sendTestMessage" } ] }, { - "shortName": "UpdateMembership", - "fullName": "google.cloud.gkehub.v1alpha2.GkeHub.UpdateMembership", + "shortName": "UpdateContact", + "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService.UpdateContact", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1alpha2/{name=projects/*/locations/*/memberships/*}" + "path": "/v1/{contact.name=projects/*/contacts/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{contact.name=folders/*/contacts/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{contact.name=organizations/*/contacts/*}" } ] } ] } ], - "configFile": "gkehub_v1alpha2.yaml", + "configFile": "essentialcontacts_v1.yaml", "serviceConfigApiNames": [ - "google.cloud.gkehub.v1alpha2.GkeHub" + "google.cloud.essentialcontacts.v1.EssentialContactsService" ], - "nameInServiceConfig": "gkehub.googleapis.com" + "nameInServiceConfig": "essentialcontacts.googleapis.com" }, { - "id": "google.cloud.gkehub.v1beta", - "directory": "google/cloud/gkehub/v1beta", - "version": "v1beta", + "id": "google.cloud.eventarc.publishing.v1", + "directory": "google/cloud/eventarc/publishing/v1", + "version": "v1", "majorVersion": "v1", - "hostName": "gkehub.googleapis.com", - "title": "GKE Hub", + "hostName": "eventarcpublishing.googleapis.com", + "title": "Eventarc Publishing API", "description": "", "importDirectories": [ "google/api", - "google/cloud/gkehub/v1beta", - "google/cloud/gkehub/v1beta/configmanagement", - "google/cloud/gkehub/v1beta/metering", - "google/cloud/gkehub/v1beta/multiclusteringress", - "google/longrunning", "google/protobuf" ], "options": { "csharp_namespace": { "valueCounts": { - "Google.Cloud.GkeHub.ConfigManagement.V1Beta": 1, - "Google.Cloud.GkeHub.Metering.V1Beta": 1, - "Google.Cloud.GkeHub.MultiClusterIngress.V1Beta": 1, - "Google.Cloud.GkeHub.V1Beta": 2 + "Google.Cloud.Eventarc.Publishing.V1": 1 } }, "go_package": { "valueCounts": { - "cloud.google.com/go/gkehub/apiv1beta/gkehubpb;gkehubpb": 2, - "cloud.google.com/go/gkehub/configmanagement/apiv1beta/configmanagementpb;configmanagementpb": 1, - "cloud.google.com/go/gkehub/metering/apiv1beta/meteringpb;meteringpb": 1, - "cloud.google.com/go/gkehub/multiclusteringress/apiv1beta/multiclusteringresspb;multiclusteringresspb": 1 + "cloud.google.com/go/eventarc/publishing/apiv1/publishingpb;publishingpb": 1 } }, "java_multiple_files": { "valueCounts": { - "true": 5 + "true": 1 } }, "java_package": { "valueCounts": { - "com.google.cloud.gkehub.configmanagement.v1beta": 1, - "com.google.cloud.gkehub.metering.v1beta": 1, - "com.google.cloud.gkehub.multiclusteringress.v1beta": 1, - "com.google.cloud.gkehub.v1beta": 2 + "com.google.cloud.eventarc.publishing.v1": 1 } }, "php_namespace": { "valueCounts": { - "Google\\Cloud\\GkeHub\\ConfigManagement\\V1beta": 1, - "Google\\Cloud\\GkeHub\\Metering\\V1beta": 1, - "Google\\Cloud\\GkeHub\\MultiClusterIngress\\V1beta": 1, - "Google\\Cloud\\GkeHub\\V1beta": 2 + "Google\\Cloud\\Eventarc\\Publishing\\V1": 1 } }, "ruby_package": { "valueCounts": { - "Google::Cloud::GkeHub::ConfigManagement::V1beta": 1, - "Google::Cloud::GkeHub::Metering::V1beta": 1, - "Google::Cloud::GkeHub::MultiClusterIngress::V1beta": 1, - "Google::Cloud::GkeHub::V1beta": 2 + "Google::Cloud::Eventarc::Publishing::V1": 1 } } }, "services": [ { - "shortName": "GkeHub", - "fullName": "google.cloud.gkehub.v1beta.GkeHub", + "shortName": "Publisher", + "fullName": "google.cloud.eventarc.publishing.v1.Publisher", "methods": [ { - "shortName": "CreateFeature", - "fullName": "google.cloud.gkehub.v1beta.GkeHub.CreateFeature", + "shortName": "PublishChannelConnectionEvents", + "fullName": "google.cloud.eventarc.publishing.v1.Publisher.PublishChannelConnectionEvents", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta/{parent=projects/*/locations/*}/features" - } - ] - }, - { - "shortName": "DeleteFeature", - "fullName": "google.cloud.gkehub.v1beta.GkeHub.DeleteFeature", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "DELETE", - "path": "/v1beta/{name=projects/*/locations/*/features/*}" - } - ] - }, - { - "shortName": "GetFeature", - "fullName": "google.cloud.gkehub.v1beta.GkeHub.GetFeature", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1beta/{name=projects/*/locations/*/features/*}" - } - ] - }, - { - "shortName": "ListFeatures", - "fullName": "google.cloud.gkehub.v1beta.GkeHub.ListFeatures", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1beta/{parent=projects/*/locations/*}/features" + "path": "/v1/{channel_connection=projects/*/locations/*/channelConnections/*}:publishEvents" } ] }, { - "shortName": "UpdateFeature", - "fullName": "google.cloud.gkehub.v1beta.GkeHub.UpdateFeature", + "shortName": "PublishEvents", + "fullName": "google.cloud.eventarc.publishing.v1.Publisher.PublishEvents", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1beta/{name=projects/*/locations/*/features/*}" + "httpMethod": "POST", + "path": "/v1/{channel=projects/*/locations/*/channels/*}:publishEvents" } ] } ] } ], - "configFile": "gkehub_v1beta.yaml", + "configFile": "eventarcpublishing_v1.yaml", "serviceConfigApiNames": [ - "google.cloud.gkehub.v1beta.GkeHub" + "google.cloud.eventarc.publishing.v1.Publisher" ], - "nameInServiceConfig": "gkehub.googleapis.com" + "nameInServiceConfig": "eventarcpublishing.googleapis.com" }, { - "id": "google.cloud.gkehub.v1beta1", - "directory": "google/cloud/gkehub/v1beta1", - "version": "v1beta1", + "id": "google.cloud.eventarc.v1", + "directory": "google/cloud/eventarc/v1", + "version": "v1", "majorVersion": "v1", - "hostName": "gkehub.googleapis.com", - "title": "GKE Hub API", - "description": "", + "hostName": "eventarc.googleapis.com", + "title": "Eventarc API", + "description": "Build event-driven applications on Google Cloud Platform.", "importDirectories": [ "google/api", + "google/cloud/eventarc/v1", "google/longrunning", "google/protobuf", "google/rpc" @@ -53511,797 +59317,989 @@ "options": { "csharp_namespace": { "valueCounts": { - "Google.Cloud.GkeHub.V1Beta1": 1 + "": 2, + "Google.Cloud.Eventarc.V1": 4 } }, "go_package": { "valueCounts": { - "cloud.google.com/go/gkehub/apiv1beta1/gkehubpb;gkehubpb": 1 + "cloud.google.com/go/eventarc/apiv1/eventarcpb;eventarcpb": 6 } }, "java_multiple_files": { "valueCounts": { - "true": 1 + "true": 6 } }, "java_package": { "valueCounts": { - "com.google.cloud.gkehub.v1beta1": 1 + "com.google.cloud.eventarc.v1": 6 } }, "php_namespace": { "valueCounts": { - "Google\\Cloud\\GkeHub\\V1beta1": 1 + "": 2, + "Google\\Cloud\\Eventarc\\V1": 4 } }, "ruby_package": { "valueCounts": { - "Google::Cloud::GkeHub::V1beta1": 1 + "": 2, + "Google::Cloud::Eventarc::V1": 4 } } }, "services": [ { - "shortName": "GkeHubMembershipService", - "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService", + "shortName": "Eventarc", + "fullName": "google.cloud.eventarc.v1.Eventarc", "methods": [ { - "shortName": "CreateMembership", - "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService.CreateMembership", + "shortName": "CreateChannel", + "fullName": "google.cloud.eventarc.v1.Eventarc.CreateChannel", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{parent=projects/*/locations/*}/memberships" + "path": "/v1/{parent=projects/*/locations/*}/channels" } ] }, { - "shortName": "DeleteMembership", - "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService.DeleteMembership", + "shortName": "CreateChannelConnection", + "fullName": "google.cloud.eventarc.v1.Eventarc.CreateChannelConnection", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1beta1/{name=projects/*/locations/*/memberships/*}" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/channelConnections" } ] }, { - "shortName": "GenerateConnectManifest", - "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService.GenerateConnectManifest", + "shortName": "CreateTrigger", + "fullName": "google.cloud.eventarc.v1.Eventarc.CreateTrigger", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{name=projects/*/locations/*/memberships/*}:generateConnectManifest" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/triggers" } ] }, { - "shortName": "GenerateExclusivityManifest", - "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService.GenerateExclusivityManifest", + "shortName": "DeleteChannel", + "fullName": "google.cloud.eventarc.v1.Eventarc.DeleteChannel", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{name=projects/*/locations/*/memberships/*}:generateExclusivityManifest" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/channels/*}" } ] }, { - "shortName": "GetMembership", - "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService.GetMembership", + "shortName": "DeleteChannelConnection", + "fullName": "google.cloud.eventarc.v1.Eventarc.DeleteChannelConnection", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{name=projects/*/locations/*/memberships/*}" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/channelConnections/*}" } ] }, { - "shortName": "ListMemberships", - "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService.ListMemberships", + "shortName": "DeleteTrigger", + "fullName": "google.cloud.eventarc.v1.Eventarc.DeleteTrigger", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{parent=projects/*/locations/*}/memberships" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/triggers/*}" } ] }, { - "shortName": "UpdateMembership", - "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService.UpdateMembership", + "shortName": "GetChannel", + "fullName": "google.cloud.eventarc.v1.Eventarc.GetChannel", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1beta1/{name=projects/*/locations/*/memberships/*}" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/channels/*}" } ] }, { - "shortName": "ValidateExclusivity", - "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService.ValidateExclusivity", + "shortName": "GetChannelConnection", + "fullName": "google.cloud.eventarc.v1.Eventarc.GetChannelConnection", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta1/{parent=projects/*/locations/*}/memberships:validateExclusivity" + "path": "/v1/{name=projects/*/locations/*/channelConnections/*}" } ] - } - ] - } - ], - "configFile": "gkehub_v1beta1.yaml", - "serviceConfigApiNames": [ - "google.cloud.gkehub.v1beta1.GkeHubMembershipService", - "google.cloud.location.Locations", - "google.iam.v1.IAMPolicy", - "google.longrunning.Operations" - ], - "nameInServiceConfig": "gkehub.googleapis.com" - }, - { - "id": "google.cloud.gkemulticloud.v1", - "directory": "google/cloud/gkemulticloud/v1", - "version": "v1", - "majorVersion": "v1", - "hostName": "gkemulticloud.googleapis.com", - "title": "Anthos Multi-Cloud API", - "description": "Anthos Multi-Cloud provides a way to manage Kubernetes clusters that run on AWS and Azure infrastructure using the Anthos Multi-Cloud API. Combined with Connect, you can manage Kubernetes clusters on Google Cloud, AWS, and Azure from the Google Cloud Console. When you create a cluster with Anthos Multi-Cloud, Google creates the resources needed and brings up a cluster on your behalf. You can deploy workloads with the Anthos Multi-Cloud API or the gcloud and kubectl command-line tools.", - "importDirectories": [ - "google/api", - "google/cloud/gkemulticloud/v1", - "google/longrunning", - "google/protobuf" - ], - "options": { - "csharp_namespace": { - "valueCounts": { - "Google.Cloud.GkeMultiCloud.V1": 7 - } - }, - "go_package": { - "valueCounts": { - "cloud.google.com/go/gkemulticloud/apiv1/gkemulticloudpb;gkemulticloudpb": 7 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 7 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.gkemulticloud.v1": 7 - } - }, - "php_namespace": { - "valueCounts": { - "Google\\Cloud\\GkeMultiCloud\\V1": 7 - } - }, - "ruby_package": { - "valueCounts": { - "Google::Cloud::GkeMultiCloud::V1": 7 - } - } - }, - "services": [ - { - "shortName": "AttachedClusters", - "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters", - "methods": [ + }, { - "shortName": "CreateAttachedCluster", - "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.CreateAttachedCluster", + "shortName": "GetGoogleChannelConfig", + "fullName": "google.cloud.eventarc.v1.Eventarc.GetGoogleChannelConfig", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/attachedClusters" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/googleChannelConfig}" } ] }, { - "shortName": "DeleteAttachedCluster", - "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.DeleteAttachedCluster", + "shortName": "GetProvider", + "fullName": "google.cloud.eventarc.v1.Eventarc.GetProvider", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/attachedClusters/*}" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/providers/*}" } ] }, { - "shortName": "GenerateAttachedClusterInstallManifest", - "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.GenerateAttachedClusterInstallManifest", + "shortName": "GetTrigger", + "fullName": "google.cloud.eventarc.v1.Eventarc.GetTrigger", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}:generateAttachedClusterInstallManifest" + "path": "/v1/{name=projects/*/locations/*/triggers/*}" } ] }, { - "shortName": "GetAttachedCluster", - "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.GetAttachedCluster", + "shortName": "ListChannelConnections", + "fullName": "google.cloud.eventarc.v1.Eventarc.ListChannelConnections", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/attachedClusters/*}" + "path": "/v1/{parent=projects/*/locations/*}/channelConnections" } ] }, { - "shortName": "GetAttachedServerConfig", - "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.GetAttachedServerConfig", + "shortName": "ListChannels", + "fullName": "google.cloud.eventarc.v1.Eventarc.ListChannels", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/attachedServerConfig}" + "path": "/v1/{parent=projects/*/locations/*}/channels" } ] }, { - "shortName": "ImportAttachedCluster", - "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.ImportAttachedCluster", + "shortName": "ListProviders", + "fullName": "google.cloud.eventarc.v1.Eventarc.ListProviders", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/attachedClusters:import" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/providers" } ] }, { - "shortName": "ListAttachedClusters", - "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.ListAttachedClusters", + "shortName": "ListTriggers", + "fullName": "google.cloud.eventarc.v1.Eventarc.ListTriggers", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/attachedClusters" + "path": "/v1/{parent=projects/*/locations/*}/triggers" } ] }, { - "shortName": "UpdateAttachedCluster", - "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.UpdateAttachedCluster", + "shortName": "UpdateChannel", + "fullName": "google.cloud.eventarc.v1.Eventarc.UpdateChannel", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1/{attached_cluster.name=projects/*/locations/*/attachedClusters/*}" + "path": "/v1/{channel.name=projects/*/locations/*/channels/*}" + } + ] + }, + { + "shortName": "UpdateGoogleChannelConfig", + "fullName": "google.cloud.eventarc.v1.Eventarc.UpdateGoogleChannelConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{google_channel_config.name=projects/*/locations/*/googleChannelConfig}" + } + ] + }, + { + "shortName": "UpdateTrigger", + "fullName": "google.cloud.eventarc.v1.Eventarc.UpdateTrigger", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{trigger.name=projects/*/locations/*/triggers/*}" } ] } ] + } + ], + "configFile": "eventarc_v1.yaml", + "serviceConfigApiNames": [ + "google.cloud.eventarc.v1.Eventarc", + "google.cloud.location.Locations", + "google.iam.v1.IAMPolicy", + "google.longrunning.Operations" + ], + "nameInServiceConfig": "eventarc.googleapis.com" + }, + { + "id": "google.cloud.filestore.v1", + "directory": "google/cloud/filestore/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "file.googleapis.com", + "title": "Cloud Filestore API", + "description": "The Cloud Filestore API is used for creating and managing cloud file servers.", + "importDirectories": [ + "google/api", + "google/cloud/common", + "google/longrunning", + "google/protobuf" + ], + "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Filestore.V1": 1 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/filestore/apiv1/filestorepb;filestorepb": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.filestore.v1": 1 + } }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Filestore\\V1": 1 + } + } + }, + "services": [ { - "shortName": "AwsClusters", - "fullName": "google.cloud.gkemulticloud.v1.AwsClusters", + "shortName": "CloudFilestoreManager", + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager", "methods": [ { - "shortName": "CreateAwsCluster", - "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.CreateAwsCluster", + "shortName": "CreateBackup", + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.CreateBackup", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/awsClusters" + "path": "/v1/{parent=projects/*/locations/*}/backups" } ] }, { - "shortName": "CreateAwsNodePool", - "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.CreateAwsNodePool", + "shortName": "CreateInstance", + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.CreateInstance", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*/awsClusters/*}/awsNodePools" + "path": "/v1/{parent=projects/*/locations/*}/instances" } ] }, { - "shortName": "DeleteAwsCluster", - "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.DeleteAwsCluster", + "shortName": "CreateSnapshot", + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.CreateSnapshot", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/instances/*}/snapshots" + } + ] + }, + { + "shortName": "DeleteBackup", + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.DeleteBackup", "mode": "UNARY", "bindings": [ { "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/awsClusters/*}" + "path": "/v1/{name=projects/*/locations/*/backups/*}" } ] }, { - "shortName": "DeleteAwsNodePool", - "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.DeleteAwsNodePool", + "shortName": "DeleteInstance", + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.DeleteInstance", "mode": "UNARY", "bindings": [ { "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/awsClusters/*/awsNodePools/*}" + "path": "/v1/{name=projects/*/locations/*/instances/*}" } ] }, { - "shortName": "GenerateAwsAccessToken", - "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.GenerateAwsAccessToken", + "shortName": "DeleteSnapshot", + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.DeleteSnapshot", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/instances/*/snapshots/*}" + } + ] + }, + { + "shortName": "GetBackup", + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.GetBackup", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{aws_cluster=projects/*/locations/*/awsClusters/*}:generateAwsAccessToken" + "path": "/v1/{name=projects/*/locations/*/backups/*}" } ] }, { - "shortName": "GetAwsCluster", - "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.GetAwsCluster", + "shortName": "GetInstance", + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.GetInstance", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/awsClusters/*}" + "path": "/v1/{name=projects/*/locations/*/instances/*}" } ] }, { - "shortName": "GetAwsNodePool", - "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.GetAwsNodePool", + "shortName": "GetSnapshot", + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.GetSnapshot", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/awsClusters/*/awsNodePools/*}" + "path": "/v1/{name=projects/*/locations/*/instances/*/snapshots/*}" } ] }, { - "shortName": "GetAwsServerConfig", - "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.GetAwsServerConfig", + "shortName": "ListBackups", + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.ListBackups", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/awsServerConfig}" + "path": "/v1/{parent=projects/*/locations/*}/backups" } ] }, { - "shortName": "ListAwsClusters", - "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.ListAwsClusters", + "shortName": "ListInstances", + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.ListInstances", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/awsClusters" + "path": "/v1/{parent=projects/*/locations/*}/instances" } ] }, { - "shortName": "ListAwsNodePools", - "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.ListAwsNodePools", + "shortName": "ListSnapshots", + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.ListSnapshots", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*/awsClusters/*}/awsNodePools" + "path": "/v1/{parent=projects/*/locations/*/instances/*}/snapshots" } ] }, { - "shortName": "UpdateAwsCluster", - "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.UpdateAwsCluster", + "shortName": "RestoreInstance", + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.RestoreInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/instances/*}:restore" + } + ] + }, + { + "shortName": "RevertInstance", + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.RevertInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/instances/*}:revert" + } + ] + }, + { + "shortName": "UpdateBackup", + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.UpdateBackup", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1/{aws_cluster.name=projects/*/locations/*/awsClusters/*}" + "path": "/v1/{backup.name=projects/*/locations/*/backups/*}" } ] }, { - "shortName": "UpdateAwsNodePool", - "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.UpdateAwsNodePool", + "shortName": "UpdateInstance", + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.UpdateInstance", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1/{aws_node_pool.name=projects/*/locations/*/awsClusters/*/awsNodePools/*}" + "path": "/v1/{instance.name=projects/*/locations/*/instances/*}" + } + ] + }, + { + "shortName": "UpdateSnapshot", + "fullName": "google.cloud.filestore.v1.CloudFilestoreManager.UpdateSnapshot", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{snapshot.name=projects/*/locations/*/instances/*/snapshots/*}" } ] } ] + } + ], + "configFile": "file_v1.yaml", + "serviceConfigApiNames": [ + "google.cloud.filestore.v1.CloudFilestoreManager", + "google.cloud.location.Locations", + "google.longrunning.Operations" + ], + "nameInServiceConfig": "file.googleapis.com" + }, + { + "id": "google.cloud.filestore.v1beta1", + "directory": "google/cloud/filestore/v1beta1", + "version": "v1beta1", + "majorVersion": "v1", + "hostName": "file.googleapis.com", + "title": "Cloud Filestore API", + "description": "The Cloud Filestore API is used for creating and managing cloud file servers.", + "importDirectories": [ + "google/api", + "google/cloud/common", + "google/longrunning", + "google/protobuf" + ], + "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Filestore.V1Beta1": 1 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/filestore/apiv1beta1/filestorepb;filestorepb": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.filestore.v1beta1": 1 + } }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Filestore\\V1beta1": 1 + } + } + }, + "services": [ { - "shortName": "AzureClusters", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters", + "shortName": "CloudFilestoreManager", + "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager", "methods": [ { - "shortName": "CreateAzureClient", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.CreateAzureClient", + "shortName": "CreateBackup", + "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager.CreateBackup", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/azureClients" + "path": "/v1beta1/{parent=projects/*/locations/*}/backups" } ] }, { - "shortName": "CreateAzureCluster", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.CreateAzureCluster", + "shortName": "CreateInstance", + "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager.CreateInstance", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/azureClusters" + "path": "/v1beta1/{parent=projects/*/locations/*}/instances" } ] }, { - "shortName": "CreateAzureNodePool", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.CreateAzureNodePool", + "shortName": "CreateShare", + "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager.CreateShare", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*/azureClusters/*}/azureNodePools" + "path": "/v1beta1/{parent=projects/*/locations/*/instances/*}/shares" } ] }, { - "shortName": "DeleteAzureClient", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.DeleteAzureClient", + "shortName": "CreateSnapshot", + "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager.CreateSnapshot", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*/instances/*}/snapshots" + } + ] + }, + { + "shortName": "DeleteBackup", + "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager.DeleteBackup", "mode": "UNARY", "bindings": [ { "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/azureClients/*}" + "path": "/v1beta1/{name=projects/*/locations/*/backups/*}" } ] }, { - "shortName": "DeleteAzureCluster", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.DeleteAzureCluster", + "shortName": "DeleteInstance", + "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager.DeleteInstance", "mode": "UNARY", "bindings": [ { "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/azureClusters/*}" + "path": "/v1beta1/{name=projects/*/locations/*/instances/*}" } ] }, { - "shortName": "DeleteAzureNodePool", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.DeleteAzureNodePool", + "shortName": "DeleteShare", + "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager.DeleteShare", "mode": "UNARY", "bindings": [ { "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/azureClusters/*/azureNodePools/*}" + "path": "/v1beta1/{name=projects/*/locations/*/instances/*/shares/*}" } ] }, { - "shortName": "GenerateAzureAccessToken", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.GenerateAzureAccessToken", + "shortName": "DeleteSnapshot", + "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager.DeleteSnapshot", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/instances/*/snapshots/*}" + } + ] + }, + { + "shortName": "GetBackup", + "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager.GetBackup", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{azure_cluster=projects/*/locations/*/azureClusters/*}:generateAzureAccessToken" + "path": "/v1beta1/{name=projects/*/locations/*/backups/*}" } ] }, { - "shortName": "GetAzureClient", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.GetAzureClient", + "shortName": "GetInstance", + "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager.GetInstance", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/azureClients/*}" + "path": "/v1beta1/{name=projects/*/locations/*/instances/*}" } ] }, { - "shortName": "GetAzureCluster", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.GetAzureCluster", + "shortName": "GetShare", + "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager.GetShare", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/azureClusters/*}" + "path": "/v1beta1/{name=projects/*/locations/*/instances/*/shares/*}" } ] }, { - "shortName": "GetAzureNodePool", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.GetAzureNodePool", + "shortName": "GetSnapshot", + "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager.GetSnapshot", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/azureClusters/*/azureNodePools/*}" + "path": "/v1beta1/{name=projects/*/locations/*/instances/*/snapshots/*}" } ] }, { - "shortName": "GetAzureServerConfig", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.GetAzureServerConfig", + "shortName": "ListBackups", + "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager.ListBackups", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/azureServerConfig}" + "path": "/v1beta1/{parent=projects/*/locations/*}/backups" } ] }, { - "shortName": "ListAzureClients", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClients", + "shortName": "ListInstances", + "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager.ListInstances", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/azureClients" + "path": "/v1beta1/{parent=projects/*/locations/*}/instances" } ] }, { - "shortName": "ListAzureClusters", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClusters", + "shortName": "ListShares", + "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager.ListShares", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/azureClusters" + "path": "/v1beta1/{parent=projects/*/locations/*/instances/*}/shares" } ] }, { - "shortName": "ListAzureNodePools", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.ListAzureNodePools", + "shortName": "ListSnapshots", + "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager.ListSnapshots", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*/azureClusters/*}/azureNodePools" + "path": "/v1beta1/{parent=projects/*/locations/*/instances/*}/snapshots" } ] }, { - "shortName": "UpdateAzureCluster", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.UpdateAzureCluster", + "shortName": "RestoreInstance", + "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager.RestoreInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/instances/*}:restore" + } + ] + }, + { + "shortName": "RevertInstance", + "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager.RevertInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/instances/*}:revert" + } + ] + }, + { + "shortName": "UpdateBackup", + "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager.UpdateBackup", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1/{azure_cluster.name=projects/*/locations/*/azureClusters/*}" + "path": "/v1beta1/{backup.name=projects/*/locations/*/backups/*}" } ] }, { - "shortName": "UpdateAzureNodePool", - "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.UpdateAzureNodePool", + "shortName": "UpdateInstance", + "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager.UpdateInstance", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1/{azure_node_pool.name=projects/*/locations/*/azureClusters/*/azureNodePools/*}" + "path": "/v1beta1/{instance.name=projects/*/locations/*/instances/*}" + } + ] + }, + { + "shortName": "UpdateShare", + "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager.UpdateShare", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{share.name=projects/*/locations/*/instances/*/shares/*}" + } + ] + }, + { + "shortName": "UpdateSnapshot", + "fullName": "google.cloud.filestore.v1beta1.CloudFilestoreManager.UpdateSnapshot", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{snapshot.name=projects/*/locations/*/instances/*/snapshots/*}" } ] } ] } ], - "configFile": "gkemulticloud_v1.yaml", + "configFile": "file_v1beta1.yaml", "serviceConfigApiNames": [ - "google.cloud.gkemulticloud.v1.AttachedClusters", - "google.cloud.gkemulticloud.v1.AwsClusters", - "google.cloud.gkemulticloud.v1.AzureClusters", + "google.cloud.filestore.v1beta1.CloudFilestoreManager", + "google.cloud.location.Locations", "google.longrunning.Operations" ], - "nameInServiceConfig": "gkemulticloud.googleapis.com" + "nameInServiceConfig": "file.googleapis.com" }, { - "id": "google.cloud.gsuiteaddons.v1", - "directory": "google/cloud/gsuiteaddons/v1", + "id": "google.cloud.functions.v1", + "directory": "google/cloud/functions/v1", "version": "v1", "majorVersion": "v1", - "hostName": "gsuiteaddons.googleapis.com", - "title": "Google Workspace Add-ons API", - "description": "", + "hostName": "cloudfunctions.googleapis.com", + "title": "Cloud Functions API", + "description": "Manages lightweight user-provided functions executed in response to events.", "importDirectories": [ "google/api", - "google/apps/script/type", - "google/apps/script/type/calendar", - "google/apps/script/type/docs", - "google/apps/script/type/drive", - "google/apps/script/type/gmail", - "google/apps/script/type/sheets", - "google/apps/script/type/slides", + "google/cloud/functions/v1", + "google/iam/v1", + "google/longrunning", "google/protobuf" ], "options": { - "csharp_namespace": { - "valueCounts": { - "Google.Cloud.GSuiteAddOns.V1": 1 - } - }, "go_package": { "valueCounts": { - "cloud.google.com/go/gsuiteaddons/apiv1/gsuiteaddonspb;gsuiteaddonspb": 1 + "cloud.google.com/go/functions/apiv1/functionspb;functionspb": 2 } }, "java_multiple_files": { "valueCounts": { - "true": 1 + "true": 2 } }, "java_package": { "valueCounts": { - "com.google.cloud.gsuiteaddons.v1": 1 - } - }, - "php_namespace": { - "valueCounts": { - "Google\\Cloud\\GSuiteAddOns\\V1": 1 + "com.google.cloud.functions.v1": 2 } }, - "ruby_package": { + "objc_class_prefix": { "valueCounts": { - "Google::Cloud::GSuiteAddOns::V1": 1 + "": 1, + "GCF": 1 } } }, "services": [ { - "shortName": "GSuiteAddOns", - "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns", + "shortName": "CloudFunctionsService", + "fullName": "google.cloud.functions.v1.CloudFunctionsService", "methods": [ { - "shortName": "CreateDeployment", - "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.CreateDeployment", + "shortName": "CallFunction", + "fullName": "google.cloud.functions.v1.CloudFunctionsService.CallFunction", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*}/deployments" + "path": "/v1/{name=projects/*/locations/*/functions/*}:call" } ] }, { - "shortName": "DeleteDeployment", - "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.DeleteDeployment", + "shortName": "CreateFunction", + "fullName": "google.cloud.functions.v1.CloudFunctionsService.CreateFunction", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/deployments/*}" + "httpMethod": "POST", + "path": "/v1/{location=projects/*/locations/*}/functions" } ] }, { - "shortName": "GetAuthorization", - "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.GetAuthorization", + "shortName": "DeleteFunction", + "fullName": "google.cloud.functions.v1.CloudFunctionsService.DeleteFunction", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/authorization}" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/functions/*}" } ] }, { - "shortName": "GetDeployment", - "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.GetDeployment", + "shortName": "GenerateDownloadUrl", + "fullName": "google.cloud.functions.v1.CloudFunctionsService.GenerateDownloadUrl", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/deployments/*}" + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/functions/*}:generateDownloadUrl" } ] }, { - "shortName": "GetInstallStatus", - "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.GetInstallStatus", + "shortName": "GenerateUploadUrl", + "fullName": "google.cloud.functions.v1.CloudFunctionsService.GenerateUploadUrl", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/functions:generateUploadUrl" + } + ] + }, + { + "shortName": "GetFunction", + "fullName": "google.cloud.functions.v1.CloudFunctionsService.GetFunction", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/deployments/*/installStatus}" + "path": "/v1/{name=projects/*/locations/*/functions/*}" } ] }, { - "shortName": "InstallDeployment", - "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.InstallDeployment", + "shortName": "GetIamPolicy", + "fullName": "google.cloud.functions.v1.CloudFunctionsService.GetIamPolicy", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/deployments/*}:install" + "httpMethod": "GET", + "path": "/v1/{resource=projects/*/locations/*/functions/*}:getIamPolicy" } ] }, { - "shortName": "ListDeployments", - "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.ListDeployments", + "shortName": "ListFunctions", + "fullName": "google.cloud.functions.v1.CloudFunctionsService.ListFunctions", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*}/deployments" + "path": "/v1/{parent=projects/*/locations/*}/functions" } ] }, { - "shortName": "ReplaceDeployment", - "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.ReplaceDeployment", + "shortName": "SetIamPolicy", + "fullName": "google.cloud.functions.v1.CloudFunctionsService.SetIamPolicy", "mode": "UNARY", "bindings": [ { - "httpMethod": "PUT", - "path": "/v1/{deployment.name=projects/*/deployments/*}" + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/locations/*/functions/*}:setIamPolicy" } ] }, { - "shortName": "UninstallDeployment", - "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.UninstallDeployment", + "shortName": "TestIamPermissions", + "fullName": "google.cloud.functions.v1.CloudFunctionsService.TestIamPermissions", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{name=projects/*/deployments/*}:uninstall" + "path": "/v1/{resource=projects/*/locations/*/functions/*}:testIamPermissions" + } + ] + }, + { + "shortName": "UpdateFunction", + "fullName": "google.cloud.functions.v1.CloudFunctionsService.UpdateFunction", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{function.name=projects/*/locations/*/functions/*}" } ] } ] } ], - "configFile": "gsuiteaddons_v1.yaml", + "configFile": "cloudfunctions_v1.yaml", "serviceConfigApiNames": [ - "google.cloud.gsuiteaddons.v1.GSuiteAddOns" + "google.cloud.functions.v1.CloudFunctionsService", + "google.cloud.location.Locations", + "google.iam.v1.IAMPolicy", + "google.longrunning.Operations" ], - "nameInServiceConfig": "gsuiteaddons.googleapis.com" + "nameInServiceConfig": "cloudfunctions.googleapis.com" }, { - "id": "google.cloud.iap.v1", - "directory": "google/cloud/iap/v1", - "version": "v1", - "majorVersion": "v1", - "hostName": "iap.googleapis.com", - "title": "Cloud Identity-Aware Proxy API", - "description": "Controls access to cloud applications running on Google Cloud Platform.", + "id": "google.cloud.functions.v2", + "directory": "google/cloud/functions/v2", + "version": "v2", + "majorVersion": "v2", + "hostName": "cloudfunctions.googleapis.com", + "title": "Cloud Functions API", + "description": "Manages lightweight user-provided functions executed in response to events.", "importDirectories": [ "google/api", - "google/iam/v1", + "google/longrunning", "google/protobuf" ], "options": { - "csharp_namespace": { - "valueCounts": { - "Google.Cloud.Iap.V1": 1 - } - }, "go_package": { "valueCounts": { - "cloud.google.com/go/iap/apiv1/iappb;iappb": 1 + "cloud.google.com/go/functions/apiv2/functionspb;functionspb": 1 } }, "java_multiple_files": { @@ -54311,255 +60309,277 @@ }, "java_package": { "valueCounts": { - "com.google.cloud.iap.v1": 1 - } - }, - "php_namespace": { - "valueCounts": { - "Google\\Cloud\\Iap\\V1": 1 + "com.google.cloud.functions.v2": 1 } }, - "ruby_package": { + "objc_class_prefix": { "valueCounts": { - "Google::Cloud::Iap::V1": 1 + "GCF": 1 } } }, "services": [ { - "shortName": "IdentityAwareProxyAdminService", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService", + "shortName": "FunctionService", + "fullName": "google.cloud.functions.v2.FunctionService", "methods": [ { - "shortName": "CreateTunnelDestGroup", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.CreateTunnelDestGroup", + "shortName": "CreateFunction", + "fullName": "google.cloud.functions.v2.FunctionService.CreateFunction", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/iap_tunnel/locations/*}/destGroups" + "path": "/v2/{parent=projects/*/locations/*}/functions" } ] }, { - "shortName": "DeleteTunnelDestGroup", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.DeleteTunnelDestGroup", + "shortName": "DeleteFunction", + "fullName": "google.cloud.functions.v2.FunctionService.DeleteFunction", "mode": "UNARY", "bindings": [ { "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/iap_tunnel/locations/*/destGroups/*}" + "path": "/v2/{name=projects/*/locations/*/functions/*}" } ] }, { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.GetIamPolicy", + "shortName": "GenerateDownloadUrl", + "fullName": "google.cloud.functions.v2.FunctionService.GenerateDownloadUrl", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{resource=**}:getIamPolicy" + "path": "/v2/{name=projects/*/locations/*/functions/*}:generateDownloadUrl" } ] }, { - "shortName": "GetIapSettings", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.GetIapSettings", + "shortName": "GenerateUploadUrl", + "fullName": "google.cloud.functions.v2.FunctionService.GenerateUploadUrl", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=**}:iapSettings" + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*}/functions:generateUploadUrl" } ] }, { - "shortName": "GetTunnelDestGroup", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.GetTunnelDestGroup", + "shortName": "GetFunction", + "fullName": "google.cloud.functions.v2.FunctionService.GetFunction", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/iap_tunnel/locations/*/destGroups/*}" + "path": "/v2/{name=projects/*/locations/*/functions/*}" } ] }, { - "shortName": "ListTunnelDestGroups", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.ListTunnelDestGroups", + "shortName": "ListFunctions", + "fullName": "google.cloud.functions.v2.FunctionService.ListFunctions", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/iap_tunnel/locations/*}/destGroups" - } - ] - }, - { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.SetIamPolicy", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1/{resource=**}:setIamPolicy" - } - ] - }, - { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.TestIamPermissions", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1/{resource=**}:testIamPermissions" + "path": "/v2/{parent=projects/*/locations/*}/functions" } ] }, { - "shortName": "UpdateIapSettings", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.UpdateIapSettings", + "shortName": "ListRuntimes", + "fullName": "google.cloud.functions.v2.FunctionService.ListRuntimes", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{iap_settings.name=**}:iapSettings" + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*}/runtimes" } ] }, { - "shortName": "UpdateTunnelDestGroup", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.UpdateTunnelDestGroup", + "shortName": "UpdateFunction", + "fullName": "google.cloud.functions.v2.FunctionService.UpdateFunction", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1/{tunnel_dest_group.name=projects/*/iap_tunnel/locations/*/destGroups/*}" + "path": "/v2/{function.name=projects/*/locations/*/functions/*}" } ] } ] + } + ], + "configFile": "cloudfunctions_v2.yaml", + "serviceConfigApiNames": [ + "google.cloud.functions.v2.FunctionService", + "google.cloud.location.Locations", + "google.iam.v1.IAMPolicy", + "google.longrunning.Operations" + ], + "nameInServiceConfig": "cloudfunctions.googleapis.com" + }, + { + "id": "google.cloud.functions.v2alpha", + "directory": "google/cloud/functions/v2alpha", + "version": "v2alpha", + "majorVersion": "v2", + "hostName": "cloudfunctions.googleapis.com", + "title": "Cloud Functions API", + "description": "Manages lightweight user-provided functions executed in response to events.", + "importDirectories": [ + "google/api", + "google/longrunning", + "google/protobuf" + ], + "options": { + "go_package": { + "valueCounts": { + "cloud.google.com/go/functions/apiv2alpha/functionspb;functionspb": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.functions.v2alpha": 1 + } }, + "objc_class_prefix": { + "valueCounts": { + "GCF": 1 + } + } + }, + "services": [ { - "shortName": "IdentityAwareProxyOAuthService", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService", + "shortName": "FunctionService", + "fullName": "google.cloud.functions.v2alpha.FunctionService", "methods": [ { - "shortName": "CreateBrand", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService.CreateBrand", + "shortName": "CreateFunction", + "fullName": "google.cloud.functions.v2alpha.FunctionService.CreateFunction", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*}/brands" + "path": "/v2alpha/{parent=projects/*/locations/*}/functions" } ] }, { - "shortName": "CreateIdentityAwareProxyClient", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService.CreateIdentityAwareProxyClient", + "shortName": "DeleteFunction", + "fullName": "google.cloud.functions.v2alpha.FunctionService.DeleteFunction", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/brands/*}/identityAwareProxyClients" + "httpMethod": "DELETE", + "path": "/v2alpha/{name=projects/*/locations/*/functions/*}" } ] }, { - "shortName": "DeleteIdentityAwareProxyClient", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService.DeleteIdentityAwareProxyClient", + "shortName": "GenerateDownloadUrl", + "fullName": "google.cloud.functions.v2alpha.FunctionService.GenerateDownloadUrl", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/brands/*/identityAwareProxyClients/*}" + "httpMethod": "POST", + "path": "/v2alpha/{name=projects/*/locations/*/functions/*}:generateDownloadUrl" } ] }, { - "shortName": "GetBrand", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService.GetBrand", + "shortName": "GenerateUploadUrl", + "fullName": "google.cloud.functions.v2alpha.FunctionService.GenerateUploadUrl", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/brands/*}" + "httpMethod": "POST", + "path": "/v2alpha/{parent=projects/*/locations/*}/functions:generateUploadUrl" } ] }, { - "shortName": "GetIdentityAwareProxyClient", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService.GetIdentityAwareProxyClient", + "shortName": "GetFunction", + "fullName": "google.cloud.functions.v2alpha.FunctionService.GetFunction", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/brands/*/identityAwareProxyClients/*}" + "path": "/v2alpha/{name=projects/*/locations/*/functions/*}" } ] }, { - "shortName": "ListBrands", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService.ListBrands", + "shortName": "ListFunctions", + "fullName": "google.cloud.functions.v2alpha.FunctionService.ListFunctions", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*}/brands" + "path": "/v2alpha/{parent=projects/*/locations/*}/functions" } ] }, { - "shortName": "ListIdentityAwareProxyClients", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService.ListIdentityAwareProxyClients", + "shortName": "ListRuntimes", + "fullName": "google.cloud.functions.v2alpha.FunctionService.ListRuntimes", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/brands/*}/identityAwareProxyClients" + "path": "/v2alpha/{parent=projects/*/locations/*}/runtimes" } ] }, { - "shortName": "ResetIdentityAwareProxyClientSecret", - "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService.ResetIdentityAwareProxyClientSecret", + "shortName": "UpdateFunction", + "fullName": "google.cloud.functions.v2alpha.FunctionService.UpdateFunction", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/brands/*/identityAwareProxyClients/*}:resetSecret" + "httpMethod": "PATCH", + "path": "/v2alpha/{function.name=projects/*/locations/*/functions/*}" } ] } ] } ], - "configFile": "iap_v1.yaml", + "configFile": "cloudfunctions_v2alpha.yaml", "serviceConfigApiNames": [ - "google.cloud.iap.v1.IdentityAwareProxyAdminService", - "google.cloud.iap.v1.IdentityAwareProxyOAuthService" + "google.cloud.functions.v2alpha.FunctionService", + "google.cloud.location.Locations", + "google.iam.v1.IAMPolicy", + "google.longrunning.Operations" ], - "nameInServiceConfig": "iap.googleapis.com" + "nameInServiceConfig": "cloudfunctions.googleapis.com" }, { - "id": "google.cloud.iap.v1beta1", - "directory": "google/cloud/iap/v1beta1", - "version": "v1beta1", - "majorVersion": "v1", - "hostName": "iap.googleapis.com", - "title": "Cloud Identity-Aware Proxy API", - "description": "Controls access to cloud applications running on Google Cloud Platform.", + "id": "google.cloud.functions.v2beta", + "directory": "google/cloud/functions/v2beta", + "version": "v2beta", + "majorVersion": "v2", + "hostName": "cloudfunctions.googleapis.com", + "title": "Cloud Functions API", + "description": "Manages lightweight user-provided functions executed in response to events.", "importDirectories": [ "google/api", - "google/iam/v1" + "google/longrunning", + "google/protobuf" ], "options": { "go_package": { "valueCounts": { - "cloud.google.com/go/iap/apiv1beta1/iappb;iappb": 1 + "cloud.google.com/go/functions/apiv2beta/functionspb;functionspb": 1 } }, "java_multiple_files": { @@ -54569,1199 +60589,1029 @@ }, "java_package": { "valueCounts": { - "com.google.cloud.iap.v1beta1": 1 + "com.google.cloud.functions.v2beta": 1 + } + }, + "objc_class_prefix": { + "valueCounts": { + "GCF": 1 } } }, "services": [ { - "shortName": "IdentityAwareProxyAdminV1Beta1", - "fullName": "google.cloud.iap.v1beta1.IdentityAwareProxyAdminV1Beta1", + "shortName": "FunctionService", + "fullName": "google.cloud.functions.v2beta.FunctionService", "methods": [ { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.iap.v1beta1.IdentityAwareProxyAdminV1Beta1.GetIamPolicy", + "shortName": "CreateFunction", + "fullName": "google.cloud.functions.v2beta.FunctionService.CreateFunction", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{resource=**}:getIamPolicy" + "path": "/v2beta/{parent=projects/*/locations/*}/functions" } ] }, { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.iap.v1beta1.IdentityAwareProxyAdminV1Beta1.SetIamPolicy", + "shortName": "DeleteFunction", + "fullName": "google.cloud.functions.v2beta.FunctionService.DeleteFunction", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta1/{resource=**}:setIamPolicy" + "httpMethod": "DELETE", + "path": "/v2beta/{name=projects/*/locations/*/functions/*}" } ] }, { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.iap.v1beta1.IdentityAwareProxyAdminV1Beta1.TestIamPermissions", + "shortName": "GenerateDownloadUrl", + "fullName": "google.cloud.functions.v2beta.FunctionService.GenerateDownloadUrl", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{resource=**}:testIamPermissions" + "path": "/v2beta/{name=projects/*/locations/*/functions/*}:generateDownloadUrl" } ] - } - ] - } - ], - "configFile": "iap_v1beta1.yaml", - "serviceConfigApiNames": [ - "google.cloud.iap.v1beta1.IdentityAwareProxyAdminV1Beta1" - ], - "nameInServiceConfig": "iap.googleapis.com" - }, - { - "id": "google.cloud.identitytoolkit.v2", - "directory": "google/cloud/identitytoolkit/v2", - "version": "v2", - "majorVersion": "v2", - "hostName": "identitytoolkit.googleapis.com", - "title": "Identity Toolkit API", - "description": "The Google Identity Toolkit API lets you use open standards to verify a user's identity.", - "importDirectories": [ - "google/api", - "google/cloud/identitytoolkit/v2", - "google/protobuf" - ], - "options": { - "csharp_namespace": { - "valueCounts": { - "Google.Cloud.IdentityToolkit.V2": 3 - } - }, - "go_package": { - "valueCounts": { - "cloud.google.com/go/identitytoolkit/apiv2/identitytoolkitpb;identitytoolkitpb": 3 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 3 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.identitytoolkit.v2": 3 - } - }, - "php_namespace": { - "valueCounts": { - "Google\\Cloud\\IdentityToolkit\\V2": 3 - } - }, - "ruby_package": { - "valueCounts": { - "Google::Cloud::IdentityToolkit::V2": 3 - } - } - }, - "services": [ - { - "shortName": "AccountManagementService", - "fullName": "google.cloud.identitytoolkit.v2.AccountManagementService", - "methods": [ + }, { - "shortName": "FinalizeMfaEnrollment", - "fullName": "google.cloud.identitytoolkit.v2.AccountManagementService.FinalizeMfaEnrollment", + "shortName": "GenerateUploadUrl", + "fullName": "google.cloud.functions.v2beta.FunctionService.GenerateUploadUrl", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2/accounts/mfaEnrollment:finalize" + "path": "/v2beta/{parent=projects/*/locations/*}/functions:generateUploadUrl" } ] }, { - "shortName": "StartMfaEnrollment", - "fullName": "google.cloud.identitytoolkit.v2.AccountManagementService.StartMfaEnrollment", + "shortName": "GetFunction", + "fullName": "google.cloud.functions.v2beta.FunctionService.GetFunction", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2/accounts/mfaEnrollment:start" + "httpMethod": "GET", + "path": "/v2beta/{name=projects/*/locations/*/functions/*}" } ] }, { - "shortName": "WithdrawMfa", - "fullName": "google.cloud.identitytoolkit.v2.AccountManagementService.WithdrawMfa", + "shortName": "ListFunctions", + "fullName": "google.cloud.functions.v2beta.FunctionService.ListFunctions", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2/accounts/mfaEnrollment:withdraw" + "httpMethod": "GET", + "path": "/v2beta/{parent=projects/*/locations/*}/functions" } ] - } - ] - }, - { - "shortName": "AuthenticationService", - "fullName": "google.cloud.identitytoolkit.v2.AuthenticationService", - "methods": [ + }, { - "shortName": "FinalizeMfaSignIn", - "fullName": "google.cloud.identitytoolkit.v2.AuthenticationService.FinalizeMfaSignIn", + "shortName": "ListRuntimes", + "fullName": "google.cloud.functions.v2beta.FunctionService.ListRuntimes", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2/accounts/mfaSignIn:finalize" + "httpMethod": "GET", + "path": "/v2beta/{parent=projects/*/locations/*}/runtimes" } ] }, { - "shortName": "StartMfaSignIn", - "fullName": "google.cloud.identitytoolkit.v2.AuthenticationService.StartMfaSignIn", + "shortName": "UpdateFunction", + "fullName": "google.cloud.functions.v2beta.FunctionService.UpdateFunction", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2/accounts/mfaSignIn:start" + "httpMethod": "PATCH", + "path": "/v2beta/{function.name=projects/*/locations/*/functions/*}" } ] } ] } ], - "configFile": "identitytoolkit_v2.yaml", + "configFile": "cloudfunctions_v2beta.yaml", "serviceConfigApiNames": [ - "google.cloud.identitytoolkit.v2.AccountManagementService", - "google.cloud.identitytoolkit.v2.AuthenticationService" + "google.cloud.functions.v2beta.FunctionService", + "google.cloud.location.Locations", + "google.iam.v1.IAMPolicy", + "google.longrunning.Operations" ], - "nameInServiceConfig": "identitytoolkit.googleapis.com" + "nameInServiceConfig": "cloudfunctions.googleapis.com" }, { - "id": "google.cloud.ids.v1", - "directory": "google/cloud/ids/v1", + "id": "google.cloud.gkebackup.v1", + "directory": "google/cloud/gkebackup/v1", "version": "v1", "majorVersion": "v1", - "hostName": "ids.googleapis.com", - "title": "Cloud IDS API", - "description": "Cloud IDS (Cloud Intrusion Detection System) detects malware, spyware, command-and-control attacks, and other network-based threats. Its security efficacy is industry leading, built with Palo Alto Networks technologies. When you use this product, your organization name and consumption levels will be shared with Palo Alto Networks.", + "hostName": "gkebackup.googleapis.com", + "title": "Backup for GKE API", + "description": "Backup for GKE is a managed Kubernetes workload backup and restore service for GKE clusters.", "importDirectories": [ "google/api", + "google/cloud/gkebackup/v1", "google/longrunning", "google/protobuf" ], "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.GkeBackup.V1": 7 + } + }, "go_package": { "valueCounts": { - "cloud.google.com/go/ids/apiv1/idspb;idspb": 1 + "cloud.google.com/go/gkebackup/apiv1/gkebackuppb;gkebackuppb": 7 } }, "java_multiple_files": { "valueCounts": { - "true": 1 + "true": 7 } }, "java_package": { "valueCounts": { - "com.google.cloud.ids.v1": 1 + "com.google.cloud.gkebackup.v1": 7 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\GkeBackup\\V1": 7 } }, "ruby_package": { "valueCounts": { - "Google::Cloud::IDS::V1": 1 + "Google::Cloud::GkeBackup::V1": 7 } } }, "services": [ { - "shortName": "IDS", - "fullName": "google.cloud.ids.v1.IDS", + "shortName": "BackupForGKE", + "fullName": "google.cloud.gkebackup.v1.BackupForGKE", "methods": [ { - "shortName": "CreateEndpoint", - "fullName": "google.cloud.ids.v1.IDS.CreateEndpoint", + "shortName": "CreateBackup", + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.CreateBackup", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/endpoints" + "path": "/v1/{parent=projects/*/locations/*/backupPlans/*}/backups" } ] }, { - "shortName": "DeleteEndpoint", - "fullName": "google.cloud.ids.v1.IDS.DeleteEndpoint", + "shortName": "CreateBackupPlan", + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.CreateBackupPlan", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/endpoints/*}" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/backupPlans" } ] }, { - "shortName": "GetEndpoint", - "fullName": "google.cloud.ids.v1.IDS.GetEndpoint", + "shortName": "CreateRestore", + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.CreateRestore", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/endpoints/*}" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/restorePlans/*}/restores" } ] }, { - "shortName": "ListEndpoints", - "fullName": "google.cloud.ids.v1.IDS.ListEndpoints", + "shortName": "CreateRestorePlan", + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.CreateRestorePlan", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/endpoints" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/restorePlans" } ] - } - ] - } - ], - "configFile": "ids_v1.yaml", - "serviceConfigApiNames": [ - "google.cloud.ids.v1.IDS" - ], - "nameInServiceConfig": "ids.googleapis.com" - }, - { - "id": "google.cloud.iot.v1", - "directory": "google/cloud/iot/v1", - "version": "v1", - "majorVersion": "v1", - "hostName": "cloudiot.googleapis.com", - "title": "Cloud IoT API", - "description": "Registers and manages IoT (Internet of Things) devices that connect to the Google Cloud Platform.", - "importDirectories": [ - "google/api", - "google/cloud/iot/v1", - "google/iam/v1", - "google/protobuf", - "google/rpc" - ], - "options": { - "cc_enable_arenas": { - "valueCounts": { - "true": 2 - } - }, - "go_package": { - "valueCounts": { - "cloud.google.com/go/iot/apiv1/iotpb;iotpb": 2 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 2 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.iot.v1": 2 - } - } - }, - "services": [ - { - "shortName": "DeviceManager", - "fullName": "google.cloud.iot.v1.DeviceManager", - "methods": [ + }, { - "shortName": "BindDeviceToGateway", - "fullName": "google.cloud.iot.v1.DeviceManager.BindDeviceToGateway", + "shortName": "DeleteBackup", + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.DeleteBackup", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*/registries/*}:bindDeviceToGateway" - }, - { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*/registries/*/groups/*}:bindDeviceToGateway" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/backupPlans/*/backups/*}" } ] }, { - "shortName": "CreateDevice", - "fullName": "google.cloud.iot.v1.DeviceManager.CreateDevice", + "shortName": "DeleteBackupPlan", + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.DeleteBackupPlan", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*/registries/*}/devices" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/backupPlans/*}" } ] }, { - "shortName": "CreateDeviceRegistry", - "fullName": "google.cloud.iot.v1.DeviceManager.CreateDeviceRegistry", + "shortName": "DeleteRestore", + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.DeleteRestore", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/registries" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/restorePlans/*/restores/*}" } ] }, { - "shortName": "DeleteDevice", - "fullName": "google.cloud.iot.v1.DeviceManager.DeleteDevice", + "shortName": "DeleteRestorePlan", + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.DeleteRestorePlan", "mode": "UNARY", "bindings": [ { "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/registries/*/devices/*}" + "path": "/v1/{name=projects/*/locations/*/restorePlans/*}" } ] }, { - "shortName": "DeleteDeviceRegistry", - "fullName": "google.cloud.iot.v1.DeviceManager.DeleteDeviceRegistry", + "shortName": "GetBackup", + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.GetBackup", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/registries/*}" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/backupPlans/*/backups/*}" } ] }, { - "shortName": "GetDevice", - "fullName": "google.cloud.iot.v1.DeviceManager.GetDevice", + "shortName": "GetBackupPlan", + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.GetBackupPlan", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/registries/*/devices/*}" - }, - { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/registries/*/groups/*/devices/*}" + "path": "/v1/{name=projects/*/locations/*/backupPlans/*}" } ] }, { - "shortName": "GetDeviceRegistry", - "fullName": "google.cloud.iot.v1.DeviceManager.GetDeviceRegistry", + "shortName": "GetRestore", + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.GetRestore", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/registries/*}" + "path": "/v1/{name=projects/*/locations/*/restorePlans/*/restores/*}" } ] }, { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.iot.v1.DeviceManager.GetIamPolicy", + "shortName": "GetRestorePlan", + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.GetRestorePlan", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{resource=projects/*/locations/*/registries/*}:getIamPolicy" - }, - { - "httpMethod": "POST", - "path": "/v1/{resource=projects/*/locations/*/registries/*/groups/*}:getIamPolicy" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/restorePlans/*}" } ] }, { - "shortName": "ListDeviceConfigVersions", - "fullName": "google.cloud.iot.v1.DeviceManager.ListDeviceConfigVersions", + "shortName": "GetVolumeBackup", + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.GetVolumeBackup", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/registries/*/devices/*}/configVersions" - }, - { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/registries/*/groups/*/devices/*}/configVersions" + "path": "/v1/{name=projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*}" } ] }, { - "shortName": "ListDeviceRegistries", - "fullName": "google.cloud.iot.v1.DeviceManager.ListDeviceRegistries", + "shortName": "GetVolumeRestore", + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.GetVolumeRestore", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/registries" + "path": "/v1/{name=projects/*/locations/*/restorePlans/*/restores/*/volumeRestores/*}" } ] }, { - "shortName": "ListDeviceStates", - "fullName": "google.cloud.iot.v1.DeviceManager.ListDeviceStates", + "shortName": "ListBackupPlans", + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.ListBackupPlans", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/registries/*/devices/*}/states" - }, - { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/registries/*/groups/*/devices/*}/states" + "path": "/v1/{parent=projects/*/locations/*}/backupPlans" } ] }, { - "shortName": "ListDevices", - "fullName": "google.cloud.iot.v1.DeviceManager.ListDevices", + "shortName": "ListBackups", + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.ListBackups", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*/registries/*}/devices" - }, - { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*/registries/*/groups/*}/devices" + "path": "/v1/{parent=projects/*/locations/*/backupPlans/*}/backups" } ] }, { - "shortName": "ModifyCloudToDeviceConfig", - "fullName": "google.cloud.iot.v1.DeviceManager.ModifyCloudToDeviceConfig", + "shortName": "ListRestorePlans", + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.ListRestorePlans", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/registries/*/devices/*}:modifyCloudToDeviceConfig" - }, - { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/registries/*/groups/*/devices/*}:modifyCloudToDeviceConfig" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/restorePlans" } ] }, { - "shortName": "SendCommandToDevice", - "fullName": "google.cloud.iot.v1.DeviceManager.SendCommandToDevice", + "shortName": "ListRestores", + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.ListRestores", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/registries/*/devices/*}:sendCommandToDevice" - }, - { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/registries/*/groups/*/devices/*}:sendCommandToDevice" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/restorePlans/*}/restores" } ] }, { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.iot.v1.DeviceManager.SetIamPolicy", + "shortName": "ListVolumeBackups", + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.ListVolumeBackups", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{resource=projects/*/locations/*/registries/*}:setIamPolicy" - }, - { - "httpMethod": "POST", - "path": "/v1/{resource=projects/*/locations/*/registries/*/groups/*}:setIamPolicy" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/backupPlans/*/backups/*}/volumeBackups" } ] }, { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.iot.v1.DeviceManager.TestIamPermissions", + "shortName": "ListVolumeRestores", + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.ListVolumeRestores", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{resource=projects/*/locations/*/registries/*}:testIamPermissions" - }, - { - "httpMethod": "POST", - "path": "/v1/{resource=projects/*/locations/*/registries/*/groups/*}:testIamPermissions" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/restorePlans/*/restores/*}/volumeRestores" } ] }, { - "shortName": "UnbindDeviceFromGateway", - "fullName": "google.cloud.iot.v1.DeviceManager.UnbindDeviceFromGateway", + "shortName": "UpdateBackup", + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.UpdateBackup", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*/registries/*}:unbindDeviceFromGateway" - }, - { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*/registries/*/groups/*}:unbindDeviceFromGateway" + "httpMethod": "PATCH", + "path": "/v1/{backup.name=projects/*/locations/*/backupPlans/*/backups/*}" } ] }, { - "shortName": "UpdateDevice", - "fullName": "google.cloud.iot.v1.DeviceManager.UpdateDevice", + "shortName": "UpdateBackupPlan", + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.UpdateBackupPlan", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1/{device.name=projects/*/locations/*/registries/*/devices/*}" - }, + "path": "/v1/{backup_plan.name=projects/*/locations/*/backupPlans/*}" + } + ] + }, + { + "shortName": "UpdateRestore", + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.UpdateRestore", + "mode": "UNARY", + "bindings": [ { "httpMethod": "PATCH", - "path": "/v1/{device.name=projects/*/locations/*/registries/*/groups/*/devices/*}" + "path": "/v1/{restore.name=projects/*/locations/*/restorePlans/*/restores/*}" } ] }, { - "shortName": "UpdateDeviceRegistry", - "fullName": "google.cloud.iot.v1.DeviceManager.UpdateDeviceRegistry", + "shortName": "UpdateRestorePlan", + "fullName": "google.cloud.gkebackup.v1.BackupForGKE.UpdateRestorePlan", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1/{device_registry.name=projects/*/locations/*/registries/*}" + "path": "/v1/{restore_plan.name=projects/*/locations/*/restorePlans/*}" } ] } ] } ], - "configFile": "cloudiot_v1.yaml", + "configFile": "gkebackup_v1.yaml", "serviceConfigApiNames": [ - "google.cloud.iot.v1.DeviceManager" + "google.cloud.gkebackup.v1.BackupForGKE", + "google.cloud.location.Locations", + "google.iam.v1.IAMPolicy", + "google.longrunning.Operations" ], - "nameInServiceConfig": "cloudiot.googleapis.com" + "nameInServiceConfig": "gkebackup.googleapis.com" }, { - "id": "google.cloud.kms.inventory.v1", - "directory": "google/cloud/kms/inventory/v1", + "id": "google.cloud.gkeconnect.gateway.v1", + "directory": "google/cloud/gkeconnect/gateway/v1", "version": "v1", "majorVersion": "v1", - "hostName": "kmsinventory.googleapis.com", - "title": "KMS Inventory API", - "description": "", + "hostName": "connectgateway.googleapis.com", + "title": "Connect Gateway API", + "description": "The Connect Gateway service allows connectivity from external parties to connected Kubernetes clusters.", "importDirectories": [ - "google/api", - "google/cloud/kms/v1", - "google/protobuf" + "google/api" ], "options": { - "cc_enable_arenas": { - "valueCounts": { - "true": 2 - } - }, "csharp_namespace": { "valueCounts": { - "Google.Cloud.Kms.Inventory.V1": 2 + "Google.Cloud.GkeConnect.Gateway.V1": 1 } }, "go_package": { "valueCounts": { - "cloud.google.com/go/kms/inventory/apiv1/inventorypb;inventorypb": 2 + "cloud.google.com/go/gkeconnect/gateway/apiv1/gatewaypb;gatewaypb": 1 } }, "java_multiple_files": { "valueCounts": { - "true": 2 + "true": 1 } }, "java_package": { "valueCounts": { - "com.google.cloud.kms.inventory.v1": 2 + "com.google.cloud.gkeconnect.gateway.v1": 1 } }, "php_namespace": { "valueCounts": { - "Google\\Cloud\\Kms\\Inventory\\V1": 2 + "Google\\Cloud\\GkeConnect\\Gateway\\V1": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::GkeConnect::Gateway::V1": 1 } } }, "services": [ { - "shortName": "KeyDashboardService", - "fullName": "google.cloud.kms.inventory.v1.KeyDashboardService", - "methods": [ - { - "shortName": "ListCryptoKeys", - "fullName": "google.cloud.kms.inventory.v1.KeyDashboardService.ListCryptoKeys", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*}/cryptoKeys" - } - ] - } - ] - }, - { - "shortName": "KeyTrackingService", - "fullName": "google.cloud.kms.inventory.v1.KeyTrackingService", - "methods": [ - { - "shortName": "GetProtectedResourcesSummary", - "fullName": "google.cloud.kms.inventory.v1.KeyTrackingService.GetProtectedResourcesSummary", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/**}/protectedResourcesSummary" - } - ] - }, - { - "shortName": "SearchProtectedResources", - "fullName": "google.cloud.kms.inventory.v1.KeyTrackingService.SearchProtectedResources", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1/{scope=organizations/*}/protectedResources:search" - } - ] - } - ] + "shortName": "GatewayService", + "fullName": "google.cloud.gkeconnect.gateway.v1.GatewayService" } ], - "configFile": "kmsinventory_v1.yaml", + "configFile": "connectgateway_v1.yaml", "serviceConfigApiNames": [ - "google.cloud.kms.inventory.v1.KeyDashboardService", - "google.cloud.kms.inventory.v1.KeyTrackingService" + "google.cloud.gkeconnect.gateway.v1.GatewayService" ], - "nameInServiceConfig": "kmsinventory.googleapis.com" + "nameInServiceConfig": "connectgateway.googleapis.com" }, { - "id": "google.cloud.kms.v1", - "directory": "google/cloud/kms/v1", - "version": "v1", + "id": "google.cloud.gkeconnect.gateway.v1alpha1", + "directory": "google/cloud/gkeconnect/gateway/v1alpha1", + "version": "v1alpha1", "majorVersion": "v1", - "hostName": "cloudkms.googleapis.com", - "title": "Cloud Key Management Service (KMS) API", - "description": "Manages keys and performs cryptographic operations in a central cloud service, for direct use by other cloud resources and applications.", + "hostName": "connectgateway.googleapis.com", + "title": "Connect Gateway API", + "description": "The Connect Gateway service allows connectivity from external parties to connected Kubernetes clusters.", "importDirectories": [ - "google/api", - "google/cloud/kms/v1", - "google/protobuf" + "google/api" ], "options": { - "cc_enable_arenas": { + "csharp_namespace": { "valueCounts": { - "true": 3 + "Google.Cloud.GkeConnect.Gateway.V1Alpha1": 1 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/gkeconnect/gateway/apiv1alpha1/gatewaypb;gatewaypb": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.gkeconnect.gateway.v1alpha1": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\GkeConnect\\Gateway\\V1alpha1": 1 } }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::GkeConnect::Gateway::V1alpha1": 1 + } + } + }, + "services": [ + { + "shortName": "GatewayService", + "fullName": "google.cloud.gkeconnect.gateway.v1alpha1.GatewayService" + } + ], + "configFile": "connectgateway_v1alpha1.yaml", + "serviceConfigApiNames": [ + "google.cloud.gkeconnect.gateway.v1alpha1.GatewayService" + ], + "nameInServiceConfig": "connectgateway.googleapis.com" + }, + { + "id": "google.cloud.gkeconnect.gateway.v1beta1", + "directory": "google/cloud/gkeconnect/gateway/v1beta1", + "version": "v1beta1", + "majorVersion": "v1", + "hostName": "connectgateway.googleapis.com", + "title": "Connect Gateway API", + "description": "The Connect Gateway service allows connectivity from external parties to connected Kubernetes clusters.", + "importDirectories": [ + "google/api" + ], + "options": { "csharp_namespace": { "valueCounts": { - "Google.Cloud.Kms.V1": 3 + "Google.Cloud.GkeConnect.Gateway.V1Beta1": 1 } }, "go_package": { "valueCounts": { - "cloud.google.com/go/kms/apiv1/kmspb;kmspb": 3 + "cloud.google.com/go/gkeconnect/gateway/apiv1beta1/gatewaypb;gatewaypb": 1 } }, "java_multiple_files": { "valueCounts": { - "true": 3 + "true": 1 } }, "java_package": { "valueCounts": { - "com.google.cloud.kms.v1": 3 + "com.google.cloud.gkeconnect.gateway.v1beta1": 1 } }, "php_namespace": { "valueCounts": { - "Google\\Cloud\\Kms\\V1": 3 + "Google\\Cloud\\GkeConnect\\Gateway\\V1beta1": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::GkeConnect::Gateway::V1beta1": 1 } } }, "services": [ { - "shortName": "EkmService", - "fullName": "google.cloud.kms.v1.EkmService", + "shortName": "GatewayService", + "fullName": "google.cloud.gkeconnect.gateway.v1beta1.GatewayService", "methods": [ { - "shortName": "CreateEkmConnection", - "fullName": "google.cloud.kms.v1.EkmService.CreateEkmConnection", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/ekmConnections" - } - ] - }, - { - "shortName": "GetEkmConnection", - "fullName": "google.cloud.kms.v1.EkmService.GetEkmConnection", + "shortName": "DeleteResource", + "fullName": "google.cloud.gkeconnect.gateway.v1beta1.GatewayService.DeleteResource", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/ekmConnections/*}" + "httpMethod": "DELETE", + "path": "/v1beta1/**" } ] }, { - "shortName": "ListEkmConnections", - "fullName": "google.cloud.kms.v1.EkmService.ListEkmConnections", + "shortName": "GetResource", + "fullName": "google.cloud.gkeconnect.gateway.v1beta1.GatewayService.GetResource", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/ekmConnections" + "path": "/v1beta1/**" } ] }, { - "shortName": "UpdateEkmConnection", - "fullName": "google.cloud.kms.v1.EkmService.UpdateEkmConnection", + "shortName": "PatchResource", + "fullName": "google.cloud.gkeconnect.gateway.v1beta1.GatewayService.PatchResource", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1/{ekm_connection.name=projects/*/locations/*/ekmConnections/*}" - } - ] - } - ] - }, - { - "shortName": "KeyManagementService", - "fullName": "google.cloud.kms.v1.KeyManagementService", - "methods": [ - { - "shortName": "AsymmetricDecrypt", - "fullName": "google.cloud.kms.v1.KeyManagementService.AsymmetricDecrypt", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}:asymmetricDecrypt" + "path": "/v1beta1/**" } ] }, { - "shortName": "AsymmetricSign", - "fullName": "google.cloud.kms.v1.KeyManagementService.AsymmetricSign", + "shortName": "PostResource", + "fullName": "google.cloud.gkeconnect.gateway.v1beta1.GatewayService.PostResource", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}:asymmetricSign" + "path": "/v1beta1/**" } ] }, { - "shortName": "CreateCryptoKey", - "fullName": "google.cloud.kms.v1.KeyManagementService.CreateCryptoKey", + "shortName": "PutResource", + "fullName": "google.cloud.gkeconnect.gateway.v1beta1.GatewayService.PutResource", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*/keyRings/*}/cryptoKeys" + "httpMethod": "PUT", + "path": "/v1beta1/**" } ] - }, - { - "shortName": "CreateCryptoKeyVersion", - "fullName": "google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*/keyRings/*/cryptoKeys/*}/cryptoKeyVersions" - } - ] - }, - { - "shortName": "CreateImportJob", - "fullName": "google.cloud.kms.v1.KeyManagementService.CreateImportJob", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*/keyRings/*}/importJobs" - } - ] - }, - { - "shortName": "CreateKeyRing", - "fullName": "google.cloud.kms.v1.KeyManagementService.CreateKeyRing", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/keyRings" - } - ] - }, - { - "shortName": "Decrypt", - "fullName": "google.cloud.kms.v1.KeyManagementService.Decrypt", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*}:decrypt" - } - ] - }, - { - "shortName": "DestroyCryptoKeyVersion", - "fullName": "google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}:destroy" - } - ] - }, + } + ] + } + ], + "configFile": "connectgateway_v1beta1.yaml", + "serviceConfigApiNames": [ + "google.cloud.gkeconnect.gateway.v1beta1.GatewayService" + ], + "nameInServiceConfig": "connectgateway.googleapis.com" + }, + { + "id": "google.cloud.gkehub.v1", + "directory": "google/cloud/gkehub/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "gkehub.googleapis.com", + "title": "GKE Hub", + "description": "", + "importDirectories": [ + "google/api", + "google/cloud/gkehub/v1", + "google/cloud/gkehub/v1/configmanagement", + "google/cloud/gkehub/v1/multiclusteringress", + "google/longrunning", + "google/protobuf" + ], + "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.GkeHub.ConfigManagement.V1": 1, + "Google.Cloud.GkeHub.MultiClusterIngress.V1": 1, + "Google.Cloud.GkeHub.V1": 3 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/gkehub/apiv1/gkehubpb;gkehubpb": 3, + "cloud.google.com/go/gkehub/configmanagement/apiv1/configmanagementpb;configmanagementpb": 1, + "cloud.google.com/go/gkehub/multiclusteringress/apiv1/multiclusteringresspb;multiclusteringresspb": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 5 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.gkehub.configmanagement.v1": 1, + "com.google.cloud.gkehub.multiclusteringress.v1": 1, + "com.google.cloud.gkehub.v1": 3 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\GkeHub\\ConfigManagement\\V1": 1, + "Google\\Cloud\\GkeHub\\MultiClusterIngress\\V1": 1, + "Google\\Cloud\\GkeHub\\V1": 3 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::GkeHub::ConfigManagement::V1": 1, + "Google::Cloud::GkeHub::MultiClusterIngress::V1": 1, + "Google::Cloud::GkeHub::V1": 3 + } + } + }, + "services": [ + { + "shortName": "GkeHub", + "fullName": "google.cloud.gkehub.v1.GkeHub", + "methods": [ { - "shortName": "Encrypt", - "fullName": "google.cloud.kms.v1.KeyManagementService.Encrypt", + "shortName": "CreateFeature", + "fullName": "google.cloud.gkehub.v1.GkeHub.CreateFeature", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/**}:encrypt" + "path": "/v1/{parent=projects/*/locations/*}/features" } ] }, { - "shortName": "GenerateRandomBytes", - "fullName": "google.cloud.kms.v1.KeyManagementService.GenerateRandomBytes", + "shortName": "CreateMembership", + "fullName": "google.cloud.gkehub.v1.GkeHub.CreateMembership", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{location=projects/*/locations/*}:generateRandomBytes" - } - ] - }, - { - "shortName": "GetCryptoKey", - "fullName": "google.cloud.kms.v1.KeyManagementService.GetCryptoKey", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*}" - } - ] - }, - { - "shortName": "GetCryptoKeyVersion", - "fullName": "google.cloud.kms.v1.KeyManagementService.GetCryptoKeyVersion", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}" + "path": "/v1/{parent=projects/*/locations/*}/memberships" } ] }, { - "shortName": "GetImportJob", - "fullName": "google.cloud.kms.v1.KeyManagementService.GetImportJob", + "shortName": "DeleteFeature", + "fullName": "google.cloud.gkehub.v1.GkeHub.DeleteFeature", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/keyRings/*/importJobs/*}" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/features/*}" } ] }, { - "shortName": "GetKeyRing", - "fullName": "google.cloud.kms.v1.KeyManagementService.GetKeyRing", + "shortName": "DeleteMembership", + "fullName": "google.cloud.gkehub.v1.GkeHub.DeleteMembership", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/keyRings/*}" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/memberships/*}" } ] }, { - "shortName": "GetPublicKey", - "fullName": "google.cloud.kms.v1.KeyManagementService.GetPublicKey", + "shortName": "GenerateConnectManifest", + "fullName": "google.cloud.gkehub.v1.GkeHub.GenerateConnectManifest", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}/publicKey" - } - ] - }, - { - "shortName": "ImportCryptoKeyVersion", - "fullName": "google.cloud.kms.v1.KeyManagementService.ImportCryptoKeyVersion", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*/keyRings/*/cryptoKeys/*}/cryptoKeyVersions:import" + "path": "/v1/{name=projects/*/locations/*/memberships/*}:generateConnectManifest" } ] }, { - "shortName": "ListCryptoKeyVersions", - "fullName": "google.cloud.kms.v1.KeyManagementService.ListCryptoKeyVersions", + "shortName": "GetFeature", + "fullName": "google.cloud.gkehub.v1.GkeHub.GetFeature", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*/keyRings/*/cryptoKeys/*}/cryptoKeyVersions" + "path": "/v1/{name=projects/*/locations/*/features/*}" } ] }, { - "shortName": "ListCryptoKeys", - "fullName": "google.cloud.kms.v1.KeyManagementService.ListCryptoKeys", + "shortName": "GetMembership", + "fullName": "google.cloud.gkehub.v1.GkeHub.GetMembership", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*/keyRings/*}/cryptoKeys" + "path": "/v1/{name=projects/*/locations/*/memberships/*}" } ] }, { - "shortName": "ListImportJobs", - "fullName": "google.cloud.kms.v1.KeyManagementService.ListImportJobs", + "shortName": "ListFeatures", + "fullName": "google.cloud.gkehub.v1.GkeHub.ListFeatures", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*/keyRings/*}/importJobs" + "path": "/v1/{parent=projects/*/locations/*}/features" } ] }, { - "shortName": "ListKeyRings", - "fullName": "google.cloud.kms.v1.KeyManagementService.ListKeyRings", + "shortName": "ListMemberships", + "fullName": "google.cloud.gkehub.v1.GkeHub.ListMemberships", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/keyRings" - } - ] - }, - { - "shortName": "MacSign", - "fullName": "google.cloud.kms.v1.KeyManagementService.MacSign", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}:macSign" - } - ] - }, - { - "shortName": "MacVerify", - "fullName": "google.cloud.kms.v1.KeyManagementService.MacVerify", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}:macVerify" - } - ] - }, - { - "shortName": "RestoreCryptoKeyVersion", - "fullName": "google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}:restore" + "path": "/v1/{parent=projects/*/locations/*}/memberships" } ] }, { - "shortName": "UpdateCryptoKey", - "fullName": "google.cloud.kms.v1.KeyManagementService.UpdateCryptoKey", + "shortName": "UpdateFeature", + "fullName": "google.cloud.gkehub.v1.GkeHub.UpdateFeature", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1/{crypto_key.name=projects/*/locations/*/keyRings/*/cryptoKeys/*}" - } - ] - }, - { - "shortName": "UpdateCryptoKeyPrimaryVersion", - "fullName": "google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*}:updatePrimaryVersion" + "path": "/v1/{name=projects/*/locations/*/features/*}" } ] }, { - "shortName": "UpdateCryptoKeyVersion", - "fullName": "google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyVersion", + "shortName": "UpdateMembership", + "fullName": "google.cloud.gkehub.v1.GkeHub.UpdateMembership", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1/{crypto_key_version.name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}" + "path": "/v1/{name=projects/*/locations/*/memberships/*}" } ] } ] } ], - "configFile": "cloudkms_v1.yaml", + "configFile": "gkehub_v1.yaml", "serviceConfigApiNames": [ - "google.cloud.kms.v1.EkmService", - "google.cloud.kms.v1.KeyManagementService", - "google.cloud.location.Locations", - "google.iam.v1.IAMPolicy" + "google.cloud.gkehub.v1.GkeHub" ], - "nameInServiceConfig": "cloudkms.googleapis.com" + "nameInServiceConfig": "gkehub.googleapis.com" }, { - "id": "google.cloud.language.v1", - "directory": "google/cloud/language/v1", - "version": "v1", + "id": "google.cloud.gkehub.v1alpha", + "directory": "google/cloud/gkehub/v1alpha", + "version": "v1alpha", "majorVersion": "v1", - "hostName": "language.googleapis.com", - "title": "Cloud Natural Language API", - "description": "Provides natural language understanding technologies, such as sentiment analysis, entity recognition, entity sentiment analysis, and other text annotations, to developers.", + "hostName": "gkehub.googleapis.com", + "title": "GKE Hub", + "description": "", "importDirectories": [ - "google/api" + "google/api", + "google/cloud/gkehub/v1alpha", + "google/cloud/gkehub/v1alpha/cloudauditlogging", + "google/cloud/gkehub/v1alpha/configmanagement", + "google/cloud/gkehub/v1alpha/metering", + "google/cloud/gkehub/v1alpha/multiclusteringress", + "google/cloud/gkehub/v1alpha/servicemesh", + "google/longrunning", + "google/protobuf" ], "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.GkeHub.CloudAuditLogging.V1Alpha": 1, + "Google.Cloud.GkeHub.ConfigManagement.V1Alpha": 1, + "Google.Cloud.GkeHub.Metering.V1Alpha": 1, + "Google.Cloud.GkeHub.MultiClusterIngress.V1Alpha": 1, + "Google.Cloud.GkeHub.ServiceMesh.V1Alpha": 1, + "Google.Cloud.GkeHub.V1Alpha": 2 + } + }, "go_package": { "valueCounts": { - "cloud.google.com/go/language/apiv1/languagepb;languagepb": 1 + "cloud.google.com/go/gkehub/apiv1alpha/gkehubpb;gkehubpb": 2, + "cloud.google.com/go/gkehub/cloudauditlogging/apiv1alpha/cloudauditloggingpb;cloudauditloggingpb": 1, + "cloud.google.com/go/gkehub/configmanagement/apiv1alpha/configmanagementpb;configmanagementpb": 1, + "cloud.google.com/go/gkehub/metering/apiv1alpha/meteringpb;meteringpb": 1, + "cloud.google.com/go/gkehub/multiclusteringress/apiv1alpha/multiclusteringresspb;multiclusteringresspb": 1, + "cloud.google.com/go/gkehub/servicemesh/apiv1alpha/servicemeshpb;servicemeshpb": 1 } }, "java_multiple_files": { "valueCounts": { - "true": 1 + "true": 7 } }, "java_package": { "valueCounts": { - "com.google.cloud.language.v1": 1 + "com.google.cloud.gkehub.cloudauditlogging.v1alpha": 1, + "com.google.cloud.gkehub.configmanagement.v1alpha": 1, + "com.google.cloud.gkehub.metering.v1alpha": 1, + "com.google.cloud.gkehub.multiclusteringress.v1alpha": 1, + "com.google.cloud.gkehub.servicemesh.v1alpha": 1, + "com.google.cloud.gkehub.v1alpha": 2 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\GkeHub\\CloudAuditLogging\\V1alpha": 1, + "Google\\Cloud\\GkeHub\\ConfigManagement\\V1alpha": 1, + "Google\\Cloud\\GkeHub\\Metering\\V1alpha": 1, + "Google\\Cloud\\GkeHub\\MultiClusterIngress\\V1alpha": 1, + "Google\\Cloud\\GkeHub\\ServiceMesh\\V1alpha": 1, + "Google\\Cloud\\GkeHub\\V1alpha": 2 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::GkeHub::CloudAuditLogging::V1alpha": 1, + "Google::Cloud::GkeHub::ConfigManagement::V1alpha": 1, + "Google::Cloud::GkeHub::Metering::V1alpha": 1, + "Google::Cloud::GkeHub::MultiClusterIngress::V1alpha": 1, + "Google::Cloud::GkeHub::ServiceMesh::V1alpha": 1, + "Google::Cloud::GkeHub::V1alpha": 2 } } }, "services": [ { - "shortName": "LanguageService", - "fullName": "google.cloud.language.v1.LanguageService", + "shortName": "GkeHub", + "fullName": "google.cloud.gkehub.v1alpha.GkeHub", "methods": [ { - "shortName": "AnalyzeEntities", - "fullName": "google.cloud.language.v1.LanguageService.AnalyzeEntities", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1/documents:analyzeEntities" - } - ] - }, - { - "shortName": "AnalyzeEntitySentiment", - "fullName": "google.cloud.language.v1.LanguageService.AnalyzeEntitySentiment", + "shortName": "CreateFeature", + "fullName": "google.cloud.gkehub.v1alpha.GkeHub.CreateFeature", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/documents:analyzeEntitySentiment" + "path": "/v1alpha/{parent=projects/*/locations/*}/features" } ] }, { - "shortName": "AnalyzeSentiment", - "fullName": "google.cloud.language.v1.LanguageService.AnalyzeSentiment", + "shortName": "DeleteFeature", + "fullName": "google.cloud.gkehub.v1alpha.GkeHub.DeleteFeature", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/documents:analyzeSentiment" + "httpMethod": "DELETE", + "path": "/v1alpha/{name=projects/*/locations/*/features/*}" } ] }, { - "shortName": "AnalyzeSyntax", - "fullName": "google.cloud.language.v1.LanguageService.AnalyzeSyntax", + "shortName": "GetFeature", + "fullName": "google.cloud.gkehub.v1alpha.GkeHub.GetFeature", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/documents:analyzeSyntax" + "httpMethod": "GET", + "path": "/v1alpha/{name=projects/*/locations/*/features/*}" } ] }, { - "shortName": "AnnotateText", - "fullName": "google.cloud.language.v1.LanguageService.AnnotateText", + "shortName": "ListFeatures", + "fullName": "google.cloud.gkehub.v1alpha.GkeHub.ListFeatures", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/documents:annotateText" + "httpMethod": "GET", + "path": "/v1alpha/{parent=projects/*/locations/*}/features" } ] }, { - "shortName": "ClassifyText", - "fullName": "google.cloud.language.v1.LanguageService.ClassifyText", + "shortName": "UpdateFeature", + "fullName": "google.cloud.gkehub.v1alpha.GkeHub.UpdateFeature", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/documents:classifyText" + "httpMethod": "PATCH", + "path": "/v1alpha/{name=projects/*/locations/*/features/*}" } ] } ] } ], - "configFile": "language_v1.yaml", + "configFile": "gkehub_v1alpha.yaml", "serviceConfigApiNames": [ - "google.cloud.language.v1.LanguageService" + "google.cloud.gkehub.v1alpha.GkeHub" ], - "nameInServiceConfig": "language.googleapis.com" + "nameInServiceConfig": "gkehub.googleapis.com" }, { - "id": "google.cloud.language.v1beta2", - "directory": "google/cloud/language/v1beta2", - "version": "v1beta2", + "id": "google.cloud.gkehub.v1alpha2", + "directory": "google/cloud/gkehub/v1alpha2", + "version": "v1alpha2", "majorVersion": "v1", - "hostName": "language.googleapis.com", - "title": "Cloud Natural Language API", - "description": "Provides natural language understanding technologies, such as sentiment analysis, entity recognition, entity sentiment analysis, and other text annotations, to developers.", + "hostName": "gkehub.googleapis.com", + "title": "GKE Hub API", + "description": "", "importDirectories": [ - "google/api" + "google/api", + "google/longrunning", + "google/protobuf" ], "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.GkeHub.V1Alpha2": 1 + } + }, "go_package": { "valueCounts": { - "cloud.google.com/go/language/apiv1beta2/languagepb;languagepb": 1 + "cloud.google.com/go/gkehub/apiv1alpha2/gkehubpb;gkehubpb": 1 } }, "java_multiple_files": { @@ -55771,2042 +61621,1697 @@ }, "java_package": { "valueCounts": { - "com.google.cloud.language.v1beta2": 1 + "com.google.cloud.gkehub.v1alpha2": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\GkeHub\\V1alpha2": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::GkeHub::V1alpha2": 1 } } }, "services": [ { - "shortName": "LanguageService", - "fullName": "google.cloud.language.v1beta2.LanguageService", + "shortName": "GkeHub", + "fullName": "google.cloud.gkehub.v1alpha2.GkeHub", "methods": [ { - "shortName": "AnalyzeEntities", - "fullName": "google.cloud.language.v1beta2.LanguageService.AnalyzeEntities", + "shortName": "CreateMembership", + "fullName": "google.cloud.gkehub.v1alpha2.GkeHub.CreateMembership", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta2/documents:analyzeEntities" + "path": "/v1alpha2/{parent=projects/*/locations/*}/memberships" } ] }, { - "shortName": "AnalyzeEntitySentiment", - "fullName": "google.cloud.language.v1beta2.LanguageService.AnalyzeEntitySentiment", + "shortName": "DeleteMembership", + "fullName": "google.cloud.gkehub.v1alpha2.GkeHub.DeleteMembership", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta2/documents:analyzeEntitySentiment" + "httpMethod": "DELETE", + "path": "/v1alpha2/{name=projects/*/locations/*/memberships/*}" } ] }, { - "shortName": "AnalyzeSentiment", - "fullName": "google.cloud.language.v1beta2.LanguageService.AnalyzeSentiment", + "shortName": "GenerateConnectManifest", + "fullName": "google.cloud.gkehub.v1alpha2.GkeHub.GenerateConnectManifest", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta2/documents:analyzeSentiment" + "httpMethod": "GET", + "path": "/v1alpha2/{name=projects/*/locations/*/memberships/*}:generateConnectManifest" } ] }, { - "shortName": "AnalyzeSyntax", - "fullName": "google.cloud.language.v1beta2.LanguageService.AnalyzeSyntax", + "shortName": "GetMembership", + "fullName": "google.cloud.gkehub.v1alpha2.GkeHub.GetMembership", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta2/documents:analyzeSyntax" + "httpMethod": "GET", + "path": "/v1alpha2/{name=projects/*/locations/*/memberships/*}" } ] }, { - "shortName": "AnnotateText", - "fullName": "google.cloud.language.v1beta2.LanguageService.AnnotateText", + "shortName": "InitializeHub", + "fullName": "google.cloud.gkehub.v1alpha2.GkeHub.InitializeHub", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta2/documents:annotateText" + "path": "/v1alpha2/{project=projects/*/locations/global/memberships}:initializeHub" } ] }, { - "shortName": "ClassifyText", - "fullName": "google.cloud.language.v1beta2.LanguageService.ClassifyText", + "shortName": "ListMemberships", + "fullName": "google.cloud.gkehub.v1alpha2.GkeHub.ListMemberships", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta2/documents:classifyText" + "httpMethod": "GET", + "path": "/v1alpha2/{parent=projects/*/locations/*}/memberships" + } + ] + }, + { + "shortName": "UpdateMembership", + "fullName": "google.cloud.gkehub.v1alpha2.GkeHub.UpdateMembership", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1alpha2/{name=projects/*/locations/*/memberships/*}" } ] } ] } ], - "configFile": "language_v1beta2.yaml", + "configFile": "gkehub_v1alpha2.yaml", "serviceConfigApiNames": [ - "google.cloud.language.v1beta2.LanguageService" + "google.cloud.gkehub.v1alpha2.GkeHub" ], - "nameInServiceConfig": "language.googleapis.com" + "nameInServiceConfig": "gkehub.googleapis.com" }, { - "id": "google.cloud.lifesciences.v2beta", - "directory": "google/cloud/lifesciences/v2beta", - "version": "v2beta", - "majorVersion": "v2", - "hostName": "lifesciences.googleapis.com", - "title": "Cloud Life Sciences API", - "description": "Cloud Life Sciences is a suite of services and tools for managing, processing, and transforming life sciences data.", + "id": "google.cloud.gkehub.v1beta", + "directory": "google/cloud/gkehub/v1beta", + "version": "v1beta", + "majorVersion": "v1", + "hostName": "gkehub.googleapis.com", + "title": "GKE Hub", + "description": "", "importDirectories": [ "google/api", + "google/cloud/gkehub/v1beta", + "google/cloud/gkehub/v1beta/configmanagement", + "google/cloud/gkehub/v1beta/metering", + "google/cloud/gkehub/v1beta/multiclusteringress", "google/longrunning", - "google/protobuf", - "google/rpc" + "google/protobuf" ], "options": { "csharp_namespace": { "valueCounts": { - "Google.Cloud.LifeSciences.V2Beta": 1 + "Google.Cloud.GkeHub.ConfigManagement.V1Beta": 1, + "Google.Cloud.GkeHub.Metering.V1Beta": 1, + "Google.Cloud.GkeHub.MultiClusterIngress.V1Beta": 1, + "Google.Cloud.GkeHub.V1Beta": 2 } }, "go_package": { "valueCounts": { - "cloud.google.com/go/lifesciences/apiv2beta/lifesciencespb;lifesciencespb": 1 + "cloud.google.com/go/gkehub/apiv1beta/gkehubpb;gkehubpb": 2, + "cloud.google.com/go/gkehub/configmanagement/apiv1beta/configmanagementpb;configmanagementpb": 1, + "cloud.google.com/go/gkehub/metering/apiv1beta/meteringpb;meteringpb": 1, + "cloud.google.com/go/gkehub/multiclusteringress/apiv1beta/multiclusteringresspb;multiclusteringresspb": 1 } }, "java_multiple_files": { "valueCounts": { - "true": 1 + "true": 5 } }, "java_package": { "valueCounts": { - "com.google.cloud.lifesciences.v2beta": 1 - } - }, - "objc_class_prefix": { - "valueCounts": { - "CLSW": 1 + "com.google.cloud.gkehub.configmanagement.v1beta": 1, + "com.google.cloud.gkehub.metering.v1beta": 1, + "com.google.cloud.gkehub.multiclusteringress.v1beta": 1, + "com.google.cloud.gkehub.v1beta": 2 } }, "php_namespace": { "valueCounts": { - "Google\\Cloud\\LifeSciences\\V2beta": 1 + "Google\\Cloud\\GkeHub\\ConfigManagement\\V1beta": 1, + "Google\\Cloud\\GkeHub\\Metering\\V1beta": 1, + "Google\\Cloud\\GkeHub\\MultiClusterIngress\\V1beta": 1, + "Google\\Cloud\\GkeHub\\V1beta": 2 } }, "ruby_package": { "valueCounts": { - "Google::Cloud::LifeSciences::V2beta": 1 + "Google::Cloud::GkeHub::ConfigManagement::V1beta": 1, + "Google::Cloud::GkeHub::Metering::V1beta": 1, + "Google::Cloud::GkeHub::MultiClusterIngress::V1beta": 1, + "Google::Cloud::GkeHub::V1beta": 2 } } }, "services": [ { - "shortName": "WorkflowsServiceV2Beta", - "fullName": "google.cloud.lifesciences.v2beta.WorkflowsServiceV2Beta", + "shortName": "GkeHub", + "fullName": "google.cloud.gkehub.v1beta.GkeHub", "methods": [ { - "shortName": "RunPipeline", - "fullName": "google.cloud.lifesciences.v2beta.WorkflowsServiceV2Beta.RunPipeline", + "shortName": "CreateFeature", + "fullName": "google.cloud.gkehub.v1beta.GkeHub.CreateFeature", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2beta/{parent=projects/*/locations/*}/pipelines:run" + "path": "/v1beta/{parent=projects/*/locations/*}/features" + } + ] + }, + { + "shortName": "DeleteFeature", + "fullName": "google.cloud.gkehub.v1beta.GkeHub.DeleteFeature", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta/{name=projects/*/locations/*/features/*}" + } + ] + }, + { + "shortName": "GetFeature", + "fullName": "google.cloud.gkehub.v1beta.GkeHub.GetFeature", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{name=projects/*/locations/*/features/*}" + } + ] + }, + { + "shortName": "ListFeatures", + "fullName": "google.cloud.gkehub.v1beta.GkeHub.ListFeatures", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{parent=projects/*/locations/*}/features" + } + ] + }, + { + "shortName": "UpdateFeature", + "fullName": "google.cloud.gkehub.v1beta.GkeHub.UpdateFeature", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta/{name=projects/*/locations/*/features/*}" } ] } ] } ], - "configFile": "lifesciences_v2beta.yaml", + "configFile": "gkehub_v1beta.yaml", "serviceConfigApiNames": [ - "google.cloud.lifesciences.v2beta.WorkflowsServiceV2Beta", - "google.cloud.location.Locations", - "google.longrunning.Operations" + "google.cloud.gkehub.v1beta.GkeHub" ], - "nameInServiceConfig": "lifesciences.googleapis.com" + "nameInServiceConfig": "gkehub.googleapis.com" }, { - "id": "google.cloud.managedidentities.v1", - "directory": "google/cloud/managedidentities/v1", - "version": "v1", + "id": "google.cloud.gkehub.v1beta1", + "directory": "google/cloud/gkehub/v1beta1", + "version": "v1beta1", "majorVersion": "v1", - "hostName": "managedidentities.googleapis.com", - "title": "Managed Service for Microsoft Active Directory API", - "description": "The Managed Service for Microsoft Active Directory API is used for managing a highly available, hardened service running Microsoft Active Directory (AD).", + "hostName": "gkehub.googleapis.com", + "title": "GKE Hub API", + "description": "", "importDirectories": [ "google/api", - "google/cloud/managedidentities/v1", "google/longrunning", - "google/protobuf" + "google/protobuf", + "google/rpc" ], "options": { "csharp_namespace": { "valueCounts": { - "Google.Cloud.ManagedIdentities.V1": 2 + "Google.Cloud.GkeHub.V1Beta1": 1 } }, "go_package": { "valueCounts": { - "cloud.google.com/go/managedidentities/apiv1/managedidentitiespb;managedidentitiespb": 2 + "cloud.google.com/go/gkehub/apiv1beta1/gkehubpb;gkehubpb": 1 } }, "java_multiple_files": { "valueCounts": { - "true": 2 + "true": 1 } }, "java_package": { "valueCounts": { - "com.google.cloud.managedidentities.v1": 2 - } - }, - "objc_class_prefix": { - "valueCounts": { - "": 1, - "GCMI": 1 + "com.google.cloud.gkehub.v1beta1": 1 } }, "php_namespace": { "valueCounts": { - "Google\\Cloud\\ManagedIdentities\\V1": 2 + "Google\\Cloud\\GkeHub\\V1beta1": 1 } }, "ruby_package": { "valueCounts": { - "Google::Cloud::ManagedIdentities::V1": 2 + "Google::Cloud::GkeHub::V1beta1": 1 } } }, "services": [ { - "shortName": "ManagedIdentitiesService", - "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService", + "shortName": "GkeHubMembershipService", + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService", "methods": [ { - "shortName": "AttachTrust", - "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.AttachTrust", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/global/domains/*}:attachTrust" - } - ] - }, - { - "shortName": "CreateMicrosoftAdDomain", - "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.CreateMicrosoftAdDomain", + "shortName": "CreateMembership", + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService.CreateMembership", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/global}/domains" + "path": "/v1beta1/{parent=projects/*/locations/*}/memberships" } ] }, { - "shortName": "DeleteDomain", - "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.DeleteDomain", + "shortName": "DeleteMembership", + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService.DeleteMembership", "mode": "UNARY", "bindings": [ { "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/global/domains/*}" - } - ] - }, - { - "shortName": "DetachTrust", - "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.DetachTrust", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/global/domains/*}:detachTrust" + "path": "/v1beta1/{name=projects/*/locations/*/memberships/*}" } ] }, { - "shortName": "GetDomain", - "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.GetDomain", + "shortName": "GenerateConnectManifest", + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService.GenerateConnectManifest", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/global/domains/*}" + "path": "/v1beta1/{name=projects/*/locations/*/memberships/*}:generateConnectManifest" } ] }, { - "shortName": "ListDomains", - "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.ListDomains", + "shortName": "GenerateExclusivityManifest", + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService.GenerateExclusivityManifest", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/global}/domains" + "path": "/v1beta1/{name=projects/*/locations/*/memberships/*}:generateExclusivityManifest" } ] }, { - "shortName": "ReconfigureTrust", - "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.ReconfigureTrust", + "shortName": "GetMembership", + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService.GetMembership", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/global/domains/*}:reconfigureTrust" + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/memberships/*}" } ] }, { - "shortName": "ResetAdminPassword", - "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.ResetAdminPassword", + "shortName": "ListMemberships", + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService.ListMemberships", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/global/domains/*}:resetAdminPassword" + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/memberships" } ] }, { - "shortName": "UpdateDomain", - "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.UpdateDomain", + "shortName": "UpdateMembership", + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService.UpdateMembership", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1/{domain.name=projects/*/locations/global/domains/*}" + "path": "/v1beta1/{name=projects/*/locations/*/memberships/*}" } ] }, { - "shortName": "ValidateTrust", - "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.ValidateTrust", + "shortName": "ValidateExclusivity", + "fullName": "google.cloud.gkehub.v1beta1.GkeHubMembershipService.ValidateExclusivity", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/global/domains/*}:validateTrust" + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/memberships:validateExclusivity" } ] } ] } ], - "configFile": "managedidentities_v1.yaml", + "configFile": "gkehub_v1beta1.yaml", "serviceConfigApiNames": [ - "google.cloud.managedidentities.v1.ManagedIdentitiesService" + "google.cloud.gkehub.v1beta1.GkeHubMembershipService", + "google.cloud.location.Locations", + "google.iam.v1.IAMPolicy", + "google.longrunning.Operations" ], - "nameInServiceConfig": "managedidentities.googleapis.com" + "nameInServiceConfig": "gkehub.googleapis.com" }, { - "id": "google.cloud.managedidentities.v1beta1", - "directory": "google/cloud/managedidentities/v1beta1", - "version": "v1beta1", + "id": "google.cloud.gkemulticloud.v1", + "directory": "google/cloud/gkemulticloud/v1", + "version": "v1", "majorVersion": "v1", - "hostName": "managedidentities.googleapis.com", - "title": "Managed Service for Microsoft Active Directory API", - "description": "The Managed Service for Microsoft Active Directory API is used for managing a highly available, hardened service running Microsoft Active Directory (AD).", + "hostName": "gkemulticloud.googleapis.com", + "title": "Anthos Multi-Cloud API", + "description": "Anthos Multi-Cloud provides a way to manage Kubernetes clusters that run on AWS and Azure infrastructure using the Anthos Multi-Cloud API. Combined with Connect, you can manage Kubernetes clusters on Google Cloud, AWS, and Azure from the Google Cloud Console. When you create a cluster with Anthos Multi-Cloud, Google creates the resources needed and brings up a cluster on your behalf. You can deploy workloads with the Anthos Multi-Cloud API or the gcloud and kubectl command-line tools.", "importDirectories": [ "google/api", - "google/cloud/managedidentities/v1beta1", + "google/cloud/gkemulticloud/v1", "google/longrunning", - "google/protobuf" + "google/protobuf", + "google/type" ], "options": { "csharp_namespace": { "valueCounts": { - "Google.Cloud.ManagedIdentities.V1Beta1": 2 + "Google.Cloud.GkeMultiCloud.V1": 7 } }, "go_package": { "valueCounts": { - "cloud.google.com/go/managedidentities/apiv1beta1/managedidentitiespb;managedidentitiespb": 2 + "cloud.google.com/go/gkemulticloud/apiv1/gkemulticloudpb;gkemulticloudpb": 7 } }, "java_multiple_files": { "valueCounts": { - "true": 2 + "true": 7 } }, "java_package": { "valueCounts": { - "com.google.cloud.managedidentities.v1beta1": 2 - } - }, - "objc_class_prefix": { - "valueCounts": { - "": 1, - "GCMI": 1 + "com.google.cloud.gkemulticloud.v1": 7 } }, "php_namespace": { "valueCounts": { - "Google\\Cloud\\ManagedIdentities\\V1beta1": 2 + "Google\\Cloud\\GkeMultiCloud\\V1": 7 } }, "ruby_package": { "valueCounts": { - "Google::Cloud::ManagedIdentities::V1beta1": 2 + "Google::Cloud::GkeMultiCloud::V1": 7 } } }, "services": [ { - "shortName": "ManagedIdentitiesService", - "fullName": "google.cloud.managedidentities.v1beta1.ManagedIdentitiesService", + "shortName": "AttachedClusters", + "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters", "methods": [ { - "shortName": "AttachTrust", - "fullName": "google.cloud.managedidentities.v1beta1.ManagedIdentitiesService.AttachTrust", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1beta1/{name=projects/*/locations/global/domains/*}:attachTrust" - } - ] - }, - { - "shortName": "CreateMicrosoftAdDomain", - "fullName": "google.cloud.managedidentities.v1beta1.ManagedIdentitiesService.CreateMicrosoftAdDomain", + "shortName": "CreateAttachedCluster", + "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.CreateAttachedCluster", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{parent=projects/*/locations/global}/domains" + "path": "/v1/{parent=projects/*/locations/*}/attachedClusters" } ] }, { - "shortName": "DeleteDomain", - "fullName": "google.cloud.managedidentities.v1beta1.ManagedIdentitiesService.DeleteDomain", + "shortName": "DeleteAttachedCluster", + "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.DeleteAttachedCluster", "mode": "UNARY", "bindings": [ { "httpMethod": "DELETE", - "path": "/v1beta1/{name=projects/*/locations/global/domains/*}" + "path": "/v1/{name=projects/*/locations/*/attachedClusters/*}" } ] }, { - "shortName": "DetachTrust", - "fullName": "google.cloud.managedidentities.v1beta1.ManagedIdentitiesService.DetachTrust", + "shortName": "GenerateAttachedClusterAgentToken", + "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.GenerateAttachedClusterAgentToken", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{name=projects/*/locations/global/domains/*}:detachTrust" + "path": "/v1/{attached_cluster=projects/*/locations/*/attachedClusters/*}:generateAttachedClusterAgentToken" } ] }, { - "shortName": "GetDomain", - "fullName": "google.cloud.managedidentities.v1beta1.ManagedIdentitiesService.GetDomain", + "shortName": "GenerateAttachedClusterInstallManifest", + "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.GenerateAttachedClusterInstallManifest", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta1/{name=projects/*/locations/global/domains/*}" + "path": "/v1/{parent=projects/*/locations/*}:generateAttachedClusterInstallManifest" } ] }, { - "shortName": "ListDomains", - "fullName": "google.cloud.managedidentities.v1beta1.ManagedIdentitiesService.ListDomains", + "shortName": "GetAttachedCluster", + "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.GetAttachedCluster", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta1/{parent=projects/*/locations/global}/domains" + "path": "/v1/{name=projects/*/locations/*/attachedClusters/*}" } ] }, { - "shortName": "ReconfigureTrust", - "fullName": "google.cloud.managedidentities.v1beta1.ManagedIdentitiesService.ReconfigureTrust", + "shortName": "GetAttachedServerConfig", + "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.GetAttachedServerConfig", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta1/{name=projects/*/locations/global/domains/*}:reconfigureTrust" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/attachedServerConfig}" } ] }, { - "shortName": "ResetAdminPassword", - "fullName": "google.cloud.managedidentities.v1beta1.ManagedIdentitiesService.ResetAdminPassword", + "shortName": "ImportAttachedCluster", + "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.ImportAttachedCluster", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{name=projects/*/locations/global/domains/*}:resetAdminPassword" + "path": "/v1/{parent=projects/*/locations/*}/attachedClusters:import" } ] }, { - "shortName": "UpdateDomain", - "fullName": "google.cloud.managedidentities.v1beta1.ManagedIdentitiesService.UpdateDomain", + "shortName": "ListAttachedClusters", + "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.ListAttachedClusters", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1beta1/{domain.name=projects/*/locations/global/domains/*}" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/attachedClusters" } ] }, { - "shortName": "ValidateTrust", - "fullName": "google.cloud.managedidentities.v1beta1.ManagedIdentitiesService.ValidateTrust", + "shortName": "UpdateAttachedCluster", + "fullName": "google.cloud.gkemulticloud.v1.AttachedClusters.UpdateAttachedCluster", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta1/{name=projects/*/locations/global/domains/*}:validateTrust" + "httpMethod": "PATCH", + "path": "/v1/{attached_cluster.name=projects/*/locations/*/attachedClusters/*}" } ] } ] - } - ], - "configFile": "managedidentities_v1beta1.yaml", - "serviceConfigApiNames": [ - "google.cloud.managedidentities.v1beta1.ManagedIdentitiesService" - ], - "nameInServiceConfig": "managedidentities.googleapis.com" - }, - { - "id": "google.cloud.mediatranslation.v1alpha1", - "directory": "google/cloud/mediatranslation/v1alpha1", - "version": "v1alpha1", - "majorVersion": "v1", - "hostName": "mediatranslation.googleapis.com", - "title": "Media Translation API", - "description": "", - "importDirectories": [ - "google/api", - "google/rpc" - ], - "options": { - "cc_enable_arenas": { - "valueCounts": { - "true": 1 - } - }, - "go_package": { - "valueCounts": { - "cloud.google.com/go/mediatranslation/apiv1alpha1/mediatranslationpb;mediatranslationpb": 1 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.mediatranslation.v1alpha1": 1 - } - } - }, - "services": [ - { - "shortName": "SpeechTranslationService", - "fullName": "google.cloud.mediatranslation.v1alpha1.SpeechTranslationService", - "methods": [ - { - "shortName": "StreamingTranslateSpeech", - "fullName": "google.cloud.mediatranslation.v1alpha1.SpeechTranslationService.StreamingTranslateSpeech", - "mode": "BIDIRECTIONAL_STREAMING" - } - ] - } - ], - "configFile": "mediatranslation_v1alpha1.yaml", - "serviceConfigApiNames": [ - "google.cloud.mediatranslation.v1alpha1.SpeechTranslationService" - ], - "nameInServiceConfig": "mediatranslation.googleapis.com" - }, - { - "id": "google.cloud.mediatranslation.v1beta1", - "directory": "google/cloud/mediatranslation/v1beta1", - "version": "v1beta1", - "majorVersion": "v1", - "hostName": "mediatranslation.googleapis.com", - "title": "Media Translation API", - "description": "", - "importDirectories": [ - "google/api", - "google/rpc" - ], - "options": { - "cc_enable_arenas": { - "valueCounts": { - "true": 1 - } - }, - "csharp_namespace": { - "valueCounts": { - "Google.Cloud.MediaTranslation.V1Beta1": 1 - } - }, - "go_package": { - "valueCounts": { - "cloud.google.com/go/mediatranslation/apiv1beta1/mediatranslationpb;mediatranslationpb": 1 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 1 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.mediatranslation.v1beta1": 1 - } - }, - "php_namespace": { - "valueCounts": { - "Google\\Cloud\\MediaTranslation\\V1beta1": 1 - } - }, - "ruby_package": { - "valueCounts": { - "Google::Cloud::MediaTranslation::V1beta1": 1 - } - } - }, - "services": [ - { - "shortName": "SpeechTranslationService", - "fullName": "google.cloud.mediatranslation.v1beta1.SpeechTranslationService", - "methods": [ - { - "shortName": "StreamingTranslateSpeech", - "fullName": "google.cloud.mediatranslation.v1beta1.SpeechTranslationService.StreamingTranslateSpeech", - "mode": "BIDIRECTIONAL_STREAMING" - } - ] - } - ], - "configFile": "mediatranslation_v1beta1.yaml", - "serviceConfigApiNames": [ - "google.cloud.mediatranslation.v1beta1.SpeechTranslationService" - ], - "nameInServiceConfig": "mediatranslation.googleapis.com" - }, - { - "id": "google.cloud.memcache.v1", - "directory": "google/cloud/memcache/v1", - "version": "v1", - "majorVersion": "v1", - "hostName": "memcache.googleapis.com", - "title": "Cloud Memorystore for Memcached API", - "description": "Google Cloud Memorystore for Memcached API is used for creating and managing Memcached instances in GCP.", - "importDirectories": [ - "google/api", - "google/longrunning", - "google/protobuf", - "google/type" - ], - "options": { - "go_package": { - "valueCounts": { - "cloud.google.com/go/memcache/apiv1/memcachepb;memcachepb": 1 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 1 - } }, - "java_package": { - "valueCounts": { - "com.google.cloud.memcache.v1": 1 - } - } - }, - "services": [ { - "shortName": "CloudMemcache", - "fullName": "google.cloud.memcache.v1.CloudMemcache", + "shortName": "AwsClusters", + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters", "methods": [ { - "shortName": "ApplyParameters", - "fullName": "google.cloud.memcache.v1.CloudMemcache.ApplyParameters", + "shortName": "CreateAwsCluster", + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.CreateAwsCluster", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/instances/*}:applyParameters" + "path": "/v1/{parent=projects/*/locations/*}/awsClusters" } ] }, { - "shortName": "CreateInstance", - "fullName": "google.cloud.memcache.v1.CloudMemcache.CreateInstance", + "shortName": "CreateAwsNodePool", + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.CreateAwsNodePool", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/instances" + "path": "/v1/{parent=projects/*/locations/*/awsClusters/*}/awsNodePools" } ] }, { - "shortName": "DeleteInstance", - "fullName": "google.cloud.memcache.v1.CloudMemcache.DeleteInstance", + "shortName": "DeleteAwsCluster", + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.DeleteAwsCluster", "mode": "UNARY", "bindings": [ { "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/instances/*}" + "path": "/v1/{name=projects/*/locations/*/awsClusters/*}" } ] }, { - "shortName": "GetInstance", - "fullName": "google.cloud.memcache.v1.CloudMemcache.GetInstance", + "shortName": "DeleteAwsNodePool", + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.DeleteAwsNodePool", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/instances/*}" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/awsClusters/*/awsNodePools/*}" } ] }, { - "shortName": "ListInstances", - "fullName": "google.cloud.memcache.v1.CloudMemcache.ListInstances", + "shortName": "GenerateAwsAccessToken", + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.GenerateAwsAccessToken", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/instances" + "path": "/v1/{aws_cluster=projects/*/locations/*/awsClusters/*}:generateAwsAccessToken" } ] }, { - "shortName": "RescheduleMaintenance", - "fullName": "google.cloud.memcache.v1.CloudMemcache.RescheduleMaintenance", + "shortName": "GenerateAwsClusterAgentToken", + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.GenerateAwsClusterAgentToken", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{instance=projects/*/locations/*/instances/*}:rescheduleMaintenance" + "path": "/v1/{aws_cluster=projects/*/locations/*/awsClusters/*}:generateAwsClusterAgentToken" } ] }, { - "shortName": "UpdateInstance", - "fullName": "google.cloud.memcache.v1.CloudMemcache.UpdateInstance", + "shortName": "GetAwsCluster", + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.GetAwsCluster", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{instance.name=projects/*/locations/*/instances/*}" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/awsClusters/*}" } ] }, { - "shortName": "UpdateParameters", - "fullName": "google.cloud.memcache.v1.CloudMemcache.UpdateParameters", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "PATCH", - "path": "/v1/{name=projects/*/locations/*/instances/*}:updateParameters" - } - ] - } - ] - } - ], - "configFile": "memcache_v1.yaml", - "serviceConfigApiNames": [ - "google.cloud.location.Locations", - "google.cloud.memcache.v1.CloudMemcache", - "google.longrunning.Operations" - ], - "nameInServiceConfig": "memcache.googleapis.com" - }, - { - "id": "google.cloud.memcache.v1beta2", - "directory": "google/cloud/memcache/v1beta2", - "version": "v1beta2", - "majorVersion": "v1", - "hostName": "memcache.googleapis.com", - "title": "Cloud Memorystore for Memcached API", - "description": "Google Cloud Memorystore for Memcached API is used for creating and managing Memcached instances in GCP.", - "importDirectories": [ - "google/api", - "google/longrunning", - "google/protobuf", - "google/type" - ], - "options": { - "go_package": { - "valueCounts": { - "cloud.google.com/go/memcache/apiv1beta2/memcachepb;memcachepb": 1 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 1 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.memcache.v1beta2": 1 - } - } - }, - "services": [ - { - "shortName": "CloudMemcache", - "fullName": "google.cloud.memcache.v1beta2.CloudMemcache", - "methods": [ - { - "shortName": "ApplyParameters", - "fullName": "google.cloud.memcache.v1beta2.CloudMemcache.ApplyParameters", + "shortName": "GetAwsJsonWebKeys", + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.GetAwsJsonWebKeys", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta2/{name=projects/*/locations/*/instances/*}:applyParameters" + "httpMethod": "GET", + "path": "/v1/{aws_cluster=projects/*/locations/*/awsClusters/*}/jwks" } ] }, { - "shortName": "ApplySoftwareUpdate", - "fullName": "google.cloud.memcache.v1beta2.CloudMemcache.ApplySoftwareUpdate", + "shortName": "GetAwsNodePool", + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.GetAwsNodePool", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta2/{instance=projects/*/locations/*/instances/*}:applySoftwareUpdate" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/awsClusters/*/awsNodePools/*}" } ] }, { - "shortName": "CreateInstance", - "fullName": "google.cloud.memcache.v1beta2.CloudMemcache.CreateInstance", + "shortName": "GetAwsOpenIdConfig", + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.GetAwsOpenIdConfig", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta2/{parent=projects/*/locations/*}/instances" + "httpMethod": "GET", + "path": "/v1/{aws_cluster=projects/*/locations/*/awsClusters/*}/.well-known/openid-configuration" } ] }, { - "shortName": "DeleteInstance", - "fullName": "google.cloud.memcache.v1beta2.CloudMemcache.DeleteInstance", + "shortName": "GetAwsServerConfig", + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.GetAwsServerConfig", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1beta2/{name=projects/*/locations/*/instances/*}" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/awsServerConfig}" } ] }, { - "shortName": "GetInstance", - "fullName": "google.cloud.memcache.v1beta2.CloudMemcache.GetInstance", + "shortName": "ListAwsClusters", + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.ListAwsClusters", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta2/{name=projects/*/locations/*/instances/*}" + "path": "/v1/{parent=projects/*/locations/*}/awsClusters" } ] }, { - "shortName": "ListInstances", - "fullName": "google.cloud.memcache.v1beta2.CloudMemcache.ListInstances", + "shortName": "ListAwsNodePools", + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.ListAwsNodePools", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta2/{parent=projects/*/locations/*}/instances" + "path": "/v1/{parent=projects/*/locations/*/awsClusters/*}/awsNodePools" } ] }, { - "shortName": "RescheduleMaintenance", - "fullName": "google.cloud.memcache.v1beta2.CloudMemcache.RescheduleMaintenance", + "shortName": "RollbackAwsNodePoolUpdate", + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.RollbackAwsNodePoolUpdate", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta2/{instance=projects/*/locations/*/instances/*}:rescheduleMaintenance" + "path": "/v1/{name=projects/*/locations/*/awsClusters/*/awsNodePools/*}:rollback" } ] }, { - "shortName": "UpdateInstance", - "fullName": "google.cloud.memcache.v1beta2.CloudMemcache.UpdateInstance", + "shortName": "UpdateAwsCluster", + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.UpdateAwsCluster", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1beta2/{resource.name=projects/*/locations/*/instances/*}" + "path": "/v1/{aws_cluster.name=projects/*/locations/*/awsClusters/*}" } ] }, { - "shortName": "UpdateParameters", - "fullName": "google.cloud.memcache.v1beta2.CloudMemcache.UpdateParameters", + "shortName": "UpdateAwsNodePool", + "fullName": "google.cloud.gkemulticloud.v1.AwsClusters.UpdateAwsNodePool", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1beta2/{name=projects/*/locations/*/instances/*}:updateParameters" + "path": "/v1/{aws_node_pool.name=projects/*/locations/*/awsClusters/*/awsNodePools/*}" } ] } ] - } - ], - "configFile": "memcache_v1beta2.yaml", - "serviceConfigApiNames": [ - "google.cloud.location.Locations", - "google.cloud.memcache.v1beta2.CloudMemcache", - "google.longrunning.Operations" - ], - "nameInServiceConfig": "memcache.googleapis.com" - }, - { - "id": "google.cloud.metastore.v1", - "directory": "google/cloud/metastore/v1", - "version": "v1", - "majorVersion": "v1", - "hostName": "metastore.googleapis.com", - "title": "Dataproc Metastore API", - "description": "The Dataproc Metastore API is used to manage the lifecycle and configuration of metastore services.", - "importDirectories": [ - "google/api", - "google/longrunning", - "google/protobuf", - "google/type" - ], - "options": { - "go_package": { - "valueCounts": { - "cloud.google.com/go/metastore/apiv1/metastorepb;metastorepb": 2 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 2 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.metastore.v1": 2 - } }, - "php_namespace": { - "valueCounts": { - "": 1, - "Google\\Cloud\\Metastore\\V1": 1 - } - } - }, - "services": [ { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1.DataprocMetastore", + "shortName": "AzureClusters", + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters", "methods": [ { - "shortName": "CreateBackup", - "fullName": "google.cloud.metastore.v1.DataprocMetastore.CreateBackup", + "shortName": "CreateAzureClient", + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.CreateAzureClient", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*/services/*}/backups" + "path": "/v1/{parent=projects/*/locations/*}/azureClients" } ] }, { - "shortName": "CreateMetadataImport", - "fullName": "google.cloud.metastore.v1.DataprocMetastore.CreateMetadataImport", + "shortName": "CreateAzureCluster", + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.CreateAzureCluster", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*/services/*}/metadataImports" + "path": "/v1/{parent=projects/*/locations/*}/azureClusters" } ] }, { - "shortName": "CreateService", - "fullName": "google.cloud.metastore.v1.DataprocMetastore.CreateService", + "shortName": "CreateAzureNodePool", + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.CreateAzureNodePool", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/services" + "path": "/v1/{parent=projects/*/locations/*/azureClusters/*}/azureNodePools" } ] }, { - "shortName": "DeleteBackup", - "fullName": "google.cloud.metastore.v1.DataprocMetastore.DeleteBackup", + "shortName": "DeleteAzureClient", + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.DeleteAzureClient", "mode": "UNARY", "bindings": [ { "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/services/*/backups/*}" + "path": "/v1/{name=projects/*/locations/*/azureClients/*}" } ] }, { - "shortName": "DeleteService", - "fullName": "google.cloud.metastore.v1.DataprocMetastore.DeleteService", + "shortName": "DeleteAzureCluster", + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.DeleteAzureCluster", "mode": "UNARY", "bindings": [ { "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/services/*}" + "path": "/v1/{name=projects/*/locations/*/azureClusters/*}" } ] }, { - "shortName": "ExportMetadata", - "fullName": "google.cloud.metastore.v1.DataprocMetastore.ExportMetadata", + "shortName": "DeleteAzureNodePool", + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.DeleteAzureNodePool", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{service=projects/*/locations/*/services/*}:exportMetadata" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/azureClusters/*/azureNodePools/*}" } ] }, { - "shortName": "GetBackup", - "fullName": "google.cloud.metastore.v1.DataprocMetastore.GetBackup", + "shortName": "GenerateAzureAccessToken", + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.GenerateAzureAccessToken", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/services/*/backups/*}" + "path": "/v1/{azure_cluster=projects/*/locations/*/azureClusters/*}:generateAzureAccessToken" } ] }, { - "shortName": "GetMetadataImport", - "fullName": "google.cloud.metastore.v1.DataprocMetastore.GetMetadataImport", + "shortName": "GenerateAzureClusterAgentToken", + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.GenerateAzureClusterAgentToken", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/services/*/metadataImports/*}" + "httpMethod": "POST", + "path": "/v1/{azure_cluster=projects/*/locations/*/azureClusters/*}:generateAzureClusterAgentToken" } ] }, { - "shortName": "GetService", - "fullName": "google.cloud.metastore.v1.DataprocMetastore.GetService", + "shortName": "GetAzureClient", + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.GetAzureClient", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/services/*}" + "path": "/v1/{name=projects/*/locations/*/azureClients/*}" } ] }, { - "shortName": "ListBackups", - "fullName": "google.cloud.metastore.v1.DataprocMetastore.ListBackups", + "shortName": "GetAzureCluster", + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.GetAzureCluster", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*/services/*}/backups" + "path": "/v1/{name=projects/*/locations/*/azureClusters/*}" } ] }, { - "shortName": "ListMetadataImports", - "fullName": "google.cloud.metastore.v1.DataprocMetastore.ListMetadataImports", + "shortName": "GetAzureJsonWebKeys", + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.GetAzureJsonWebKeys", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*/services/*}/metadataImports" + "path": "/v1/{azure_cluster=projects/*/locations/*/azureClusters/*}/jwks" } ] }, { - "shortName": "ListServices", - "fullName": "google.cloud.metastore.v1.DataprocMetastore.ListServices", + "shortName": "GetAzureNodePool", + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.GetAzureNodePool", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/services" + "path": "/v1/{name=projects/*/locations/*/azureClusters/*/azureNodePools/*}" } ] }, { - "shortName": "RestoreService", - "fullName": "google.cloud.metastore.v1.DataprocMetastore.RestoreService", + "shortName": "GetAzureOpenIdConfig", + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.GetAzureOpenIdConfig", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{service=projects/*/locations/*/services/*}:restore" + "httpMethod": "GET", + "path": "/v1/{azure_cluster=projects/*/locations/*/azureClusters/*}/.well-known/openid-configuration" } ] }, { - "shortName": "UpdateMetadataImport", - "fullName": "google.cloud.metastore.v1.DataprocMetastore.UpdateMetadataImport", + "shortName": "GetAzureServerConfig", + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.GetAzureServerConfig", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{metadata_import.name=projects/*/locations/*/services/*/metadataImports/*}" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/azureServerConfig}" } ] }, { - "shortName": "UpdateService", - "fullName": "google.cloud.metastore.v1.DataprocMetastore.UpdateService", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "PATCH", - "path": "/v1/{service.name=projects/*/locations/*/services/*}" - } - ] - } - ] - }, - { - "shortName": "DataprocMetastoreFederation", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederation", - "methods": [ - { - "shortName": "CreateFederation", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederation.CreateFederation", + "shortName": "ListAzureClients", + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClients", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/federations" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/azureClients" } ] }, { - "shortName": "DeleteFederation", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederation.DeleteFederation", + "shortName": "ListAzureClusters", + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.ListAzureClusters", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/federations/*}" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/azureClusters" } ] }, { - "shortName": "GetFederation", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederation.GetFederation", + "shortName": "ListAzureNodePools", + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.ListAzureNodePools", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/federations/*}" + "path": "/v1/{parent=projects/*/locations/*/azureClusters/*}/azureNodePools" } ] }, { - "shortName": "ListFederations", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederation.ListFederations", + "shortName": "UpdateAzureCluster", + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.UpdateAzureCluster", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/federations" + "httpMethod": "PATCH", + "path": "/v1/{azure_cluster.name=projects/*/locations/*/azureClusters/*}" } ] }, { - "shortName": "UpdateFederation", - "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederation.UpdateFederation", + "shortName": "UpdateAzureNodePool", + "fullName": "google.cloud.gkemulticloud.v1.AzureClusters.UpdateAzureNodePool", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1/{federation.name=projects/*/locations/*/federations/*}" + "path": "/v1/{azure_node_pool.name=projects/*/locations/*/azureClusters/*/azureNodePools/*}" } ] } ] } ], - "configFile": "metastore_v1.yaml", + "configFile": "gkemulticloud_v1.yaml", "serviceConfigApiNames": [ - "google.cloud.location.Locations", - "google.cloud.metastore.v1.DataprocMetastore", - "google.cloud.metastore.v1.DataprocMetastoreFederation", - "google.iam.v1.IAMPolicy", + "google.cloud.gkemulticloud.v1.AttachedClusters", + "google.cloud.gkemulticloud.v1.AwsClusters", + "google.cloud.gkemulticloud.v1.AzureClusters", "google.longrunning.Operations" ], - "nameInServiceConfig": "metastore.googleapis.com" + "nameInServiceConfig": "gkemulticloud.googleapis.com" }, { - "id": "google.cloud.metastore.v1alpha", - "directory": "google/cloud/metastore/v1alpha", - "version": "v1alpha", + "id": "google.cloud.gsuiteaddons.v1", + "directory": "google/cloud/gsuiteaddons/v1", + "version": "v1", "majorVersion": "v1", - "hostName": "metastore.googleapis.com", - "title": "Dataproc Metastore API", - "description": "The Dataproc Metastore API is used to manage the lifecycle and configuration of metastore services.", + "hostName": "gsuiteaddons.googleapis.com", + "title": "Google Workspace Add-ons API", + "description": "", "importDirectories": [ "google/api", - "google/longrunning", - "google/protobuf", - "google/type" + "google/apps/script/type", + "google/apps/script/type/calendar", + "google/apps/script/type/docs", + "google/apps/script/type/drive", + "google/apps/script/type/gmail", + "google/apps/script/type/sheets", + "google/apps/script/type/slides", + "google/protobuf" ], "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.GSuiteAddOns.V1": 1 + } + }, "go_package": { "valueCounts": { - "cloud.google.com/go/metastore/apiv1alpha/metastorepb;metastorepb": 2 + "cloud.google.com/go/gsuiteaddons/apiv1/gsuiteaddonspb;gsuiteaddonspb": 1 } }, "java_multiple_files": { "valueCounts": { - "true": 2 + "true": 1 } }, "java_package": { "valueCounts": { - "com.google.cloud.metastore.v1alpha": 2 + "com.google.cloud.gsuiteaddons.v1": 1 } }, "php_namespace": { "valueCounts": { - "": 1, - "Google\\Cloud\\Metastore\\V1alpha": 1 + "Google\\Cloud\\GSuiteAddOns\\V1": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::GSuiteAddOns::V1": 1 } } }, "services": [ { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore", + "shortName": "GSuiteAddOns", + "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns", "methods": [ { - "shortName": "AlterMetadataResourceLocation", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.AlterMetadataResourceLocation", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1alpha/{service=projects/*/locations/*/services/*}:alterLocation" - } - ] - }, - { - "shortName": "CreateBackup", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.CreateBackup", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1alpha/{parent=projects/*/locations/*/services/*}/backups" - } - ] - }, - { - "shortName": "CreateMetadataImport", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.CreateMetadataImport", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1alpha/{parent=projects/*/locations/*/services/*}/metadataImports" - } - ] - }, - { - "shortName": "CreateService", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.CreateService", + "shortName": "CreateDeployment", + "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.CreateDeployment", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1alpha/{parent=projects/*/locations/*}/services" - } - ] - }, - { - "shortName": "DeleteBackup", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.DeleteBackup", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "DELETE", - "path": "/v1alpha/{name=projects/*/locations/*/services/*/backups/*}" + "path": "/v1/{parent=projects/*}/deployments" } ] }, { - "shortName": "DeleteService", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.DeleteService", + "shortName": "DeleteDeployment", + "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.DeleteDeployment", "mode": "UNARY", "bindings": [ { "httpMethod": "DELETE", - "path": "/v1alpha/{name=projects/*/locations/*/services/*}" - } - ] - }, - { - "shortName": "ExportMetadata", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.ExportMetadata", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1alpha/{service=projects/*/locations/*/services/*}:exportMetadata" - } - ] - }, - { - "shortName": "GetBackup", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.GetBackup", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1alpha/{name=projects/*/locations/*/services/*/backups/*}" + "path": "/v1/{name=projects/*/deployments/*}" } ] }, { - "shortName": "GetMetadataImport", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.GetMetadataImport", + "shortName": "GetAuthorization", + "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.GetAuthorization", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1alpha/{name=projects/*/locations/*/services/*/metadataImports/*}" + "path": "/v1/{name=projects/*/authorization}" } ] }, { - "shortName": "GetService", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.GetService", + "shortName": "GetDeployment", + "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.GetDeployment", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1alpha/{name=projects/*/locations/*/services/*}" + "path": "/v1/{name=projects/*/deployments/*}" } ] }, { - "shortName": "ListBackups", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.ListBackups", + "shortName": "GetInstallStatus", + "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.GetInstallStatus", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1alpha/{parent=projects/*/locations/*/services/*}/backups" + "path": "/v1/{name=projects/*/deployments/*/installStatus}" } ] }, { - "shortName": "ListMetadataImports", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.ListMetadataImports", + "shortName": "InstallDeployment", + "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.InstallDeployment", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1alpha/{parent=projects/*/locations/*/services/*}/metadataImports" + "httpMethod": "POST", + "path": "/v1/{name=projects/*/deployments/*}:install" } ] }, { - "shortName": "ListServices", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.ListServices", + "shortName": "ListDeployments", + "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.ListDeployments", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1alpha/{parent=projects/*/locations/*}/services" + "path": "/v1/{parent=projects/*}/deployments" } ] }, { - "shortName": "MoveTableToDatabase", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.MoveTableToDatabase", + "shortName": "ReplaceDeployment", + "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.ReplaceDeployment", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1alpha/{service=projects/*/locations/*/services/*}:moveTableToDatabase" + "httpMethod": "PUT", + "path": "/v1/{deployment.name=projects/*/deployments/*}" } ] }, { - "shortName": "QueryMetadata", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.QueryMetadata", + "shortName": "UninstallDeployment", + "fullName": "google.cloud.gsuiteaddons.v1.GSuiteAddOns.UninstallDeployment", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1alpha/{service=projects/*/locations/*/services/*}:queryMetadata" - } - ] - }, - { - "shortName": "RemoveIamPolicy", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.RemoveIamPolicy", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1alpha/{resource=projects/*/locations/*/services/*/**}:removeIamPolicy" - } - ] - }, - { - "shortName": "RestoreService", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.RestoreService", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1alpha/{service=projects/*/locations/*/services/*}:restore" - } - ] - }, - { - "shortName": "UpdateMetadataImport", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.UpdateMetadataImport", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "PATCH", - "path": "/v1alpha/{metadata_import.name=projects/*/locations/*/services/*/metadataImports/*}" - } - ] - }, - { - "shortName": "UpdateService", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.UpdateService", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "PATCH", - "path": "/v1alpha/{service.name=projects/*/locations/*/services/*}" - } - ] - } - ] - }, - { - "shortName": "DataprocMetastoreFederation", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederation", - "methods": [ - { - "shortName": "CreateFederation", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederation.CreateFederation", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1alpha/{parent=projects/*/locations/*}/federations" - } - ] - }, - { - "shortName": "DeleteFederation", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederation.DeleteFederation", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "DELETE", - "path": "/v1alpha/{name=projects/*/locations/*/federations/*}" - } - ] - }, - { - "shortName": "GetFederation", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederation.GetFederation", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1alpha/{name=projects/*/locations/*/federations/*}" - } - ] - }, - { - "shortName": "ListFederations", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederation.ListFederations", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1alpha/{parent=projects/*/locations/*}/federations" - } - ] - }, - { - "shortName": "UpdateFederation", - "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederation.UpdateFederation", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "PATCH", - "path": "/v1alpha/{federation.name=projects/*/locations/*/federations/*}" + "path": "/v1/{name=projects/*/deployments/*}:uninstall" } ] } ] } ], - "configFile": "metastore_v1alpha.yaml", + "configFile": "gsuiteaddons_v1.yaml", "serviceConfigApiNames": [ - "google.cloud.location.Locations", - "google.cloud.metastore.v1alpha.DataprocMetastore", - "google.cloud.metastore.v1alpha.DataprocMetastoreFederation", - "google.iam.v1.IAMPolicy", - "google.longrunning.Operations" + "google.cloud.gsuiteaddons.v1.GSuiteAddOns" ], - "nameInServiceConfig": "metastore.googleapis.com" + "nameInServiceConfig": "gsuiteaddons.googleapis.com" }, { - "id": "google.cloud.metastore.v1beta", - "directory": "google/cloud/metastore/v1beta", - "version": "v1beta", + "id": "google.cloud.iap.v1", + "directory": "google/cloud/iap/v1", + "version": "v1", "majorVersion": "v1", - "hostName": "metastore.googleapis.com", - "title": "Dataproc Metastore API", - "description": "The Dataproc Metastore API is used to manage the lifecycle and configuration of metastore services.", + "hostName": "iap.googleapis.com", + "title": "Cloud Identity-Aware Proxy API", + "description": "Controls access to cloud applications running on Google Cloud Platform.", "importDirectories": [ "google/api", - "google/longrunning", - "google/protobuf", - "google/type" + "google/iam/v1", + "google/protobuf" ], "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Iap.V1": 1 + } + }, "go_package": { "valueCounts": { - "cloud.google.com/go/metastore/apiv1beta/metastorepb;metastorepb": 2 + "cloud.google.com/go/iap/apiv1/iappb;iappb": 1 } }, "java_multiple_files": { "valueCounts": { - "true": 2 + "true": 1 } }, "java_package": { "valueCounts": { - "com.google.cloud.metastore.v1beta": 2 + "com.google.cloud.iap.v1": 1 } }, "php_namespace": { "valueCounts": { - "": 1, - "Google\\Cloud\\Metastore\\V1beta": 1 + "Google\\Cloud\\Iap\\V1": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::Iap::V1": 1 } } }, "services": [ { - "shortName": "DataprocMetastore", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore", + "shortName": "IdentityAwareProxyAdminService", + "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService", "methods": [ { - "shortName": "AlterMetadataResourceLocation", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.AlterMetadataResourceLocation", + "shortName": "CreateTunnelDestGroup", + "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.CreateTunnelDestGroup", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta/{service=projects/*/locations/*/services/*}:alterLocation" + "path": "/v1/{parent=projects/*/iap_tunnel/locations/*}/destGroups" } ] }, { - "shortName": "CreateBackup", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.CreateBackup", + "shortName": "DeleteTunnelDestGroup", + "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.DeleteTunnelDestGroup", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta/{parent=projects/*/locations/*/services/*}/backups" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/iap_tunnel/locations/*/destGroups/*}" } ] }, { - "shortName": "CreateMetadataImport", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.CreateMetadataImport", + "shortName": "GetIamPolicy", + "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.GetIamPolicy", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta/{parent=projects/*/locations/*/services/*}/metadataImports" + "path": "/v1/{resource=**}:getIamPolicy" } ] }, { - "shortName": "CreateService", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.CreateService", + "shortName": "GetIapSettings", + "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.GetIapSettings", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta/{parent=projects/*/locations/*}/services" + "httpMethod": "GET", + "path": "/v1/{name=**}:iapSettings" } ] }, { - "shortName": "DeleteBackup", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.DeleteBackup", + "shortName": "GetTunnelDestGroup", + "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.GetTunnelDestGroup", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1beta/{name=projects/*/locations/*/services/*/backups/*}" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/iap_tunnel/locations/*/destGroups/*}" } ] }, { - "shortName": "DeleteService", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.DeleteService", + "shortName": "ListTunnelDestGroups", + "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.ListTunnelDestGroups", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1beta/{name=projects/*/locations/*/services/*}" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/iap_tunnel/locations/*}/destGroups" } ] }, { - "shortName": "ExportMetadata", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.ExportMetadata", + "shortName": "SetIamPolicy", + "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.SetIamPolicy", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta/{service=projects/*/locations/*/services/*}:exportMetadata" - } - ] - }, - { - "shortName": "GetBackup", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.GetBackup", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1beta/{name=projects/*/locations/*/services/*/backups/*}" + "path": "/v1/{resource=**}:setIamPolicy" } ] }, { - "shortName": "GetMetadataImport", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.GetMetadataImport", + "shortName": "TestIamPermissions", + "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.TestIamPermissions", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta/{name=projects/*/locations/*/services/*/metadataImports/*}" + "httpMethod": "POST", + "path": "/v1/{resource=**}:testIamPermissions" } ] }, { - "shortName": "GetService", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.GetService", + "shortName": "UpdateIapSettings", + "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.UpdateIapSettings", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta/{name=projects/*/locations/*/services/*}" + "httpMethod": "PATCH", + "path": "/v1/{iap_settings.name=**}:iapSettings" } ] }, { - "shortName": "ListBackups", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.ListBackups", + "shortName": "UpdateTunnelDestGroup", + "fullName": "google.cloud.iap.v1.IdentityAwareProxyAdminService.UpdateTunnelDestGroup", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta/{parent=projects/*/locations/*/services/*}/backups" + "httpMethod": "PATCH", + "path": "/v1/{tunnel_dest_group.name=projects/*/iap_tunnel/locations/*/destGroups/*}" } ] - }, + } + ] + }, + { + "shortName": "IdentityAwareProxyOAuthService", + "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService", + "methods": [ { - "shortName": "ListMetadataImports", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.ListMetadataImports", + "shortName": "CreateBrand", + "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService.CreateBrand", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta/{parent=projects/*/locations/*/services/*}/metadataImports" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}/brands" } ] }, { - "shortName": "ListServices", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.ListServices", + "shortName": "CreateIdentityAwareProxyClient", + "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService.CreateIdentityAwareProxyClient", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta/{parent=projects/*/locations/*}/services" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/brands/*}/identityAwareProxyClients" } ] }, { - "shortName": "MoveTableToDatabase", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.MoveTableToDatabase", + "shortName": "DeleteIdentityAwareProxyClient", + "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService.DeleteIdentityAwareProxyClient", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta/{service=projects/*/locations/*/services/*}:moveTableToDatabase" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/brands/*/identityAwareProxyClients/*}" } ] }, { - "shortName": "QueryMetadata", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.QueryMetadata", + "shortName": "GetBrand", + "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService.GetBrand", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta/{service=projects/*/locations/*/services/*}:queryMetadata" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/brands/*}" } ] }, { - "shortName": "RemoveIamPolicy", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.RemoveIamPolicy", + "shortName": "GetIdentityAwareProxyClient", + "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService.GetIdentityAwareProxyClient", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta/{resource=projects/*/locations/*/services/*/**}:removeIamPolicy" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/brands/*/identityAwareProxyClients/*}" } ] }, { - "shortName": "RestoreService", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.RestoreService", + "shortName": "ListBrands", + "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService.ListBrands", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta/{service=projects/*/locations/*/services/*}:restore" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*}/brands" } ] }, { - "shortName": "UpdateMetadataImport", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.UpdateMetadataImport", + "shortName": "ListIdentityAwareProxyClients", + "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService.ListIdentityAwareProxyClients", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1beta/{metadata_import.name=projects/*/locations/*/services/*/metadataImports/*}" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/brands/*}/identityAwareProxyClients" } ] }, { - "shortName": "UpdateService", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.UpdateService", + "shortName": "ResetIdentityAwareProxyClientSecret", + "fullName": "google.cloud.iap.v1.IdentityAwareProxyOAuthService.ResetIdentityAwareProxyClientSecret", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1beta/{service.name=projects/*/locations/*/services/*}" + "httpMethod": "POST", + "path": "/v1/{name=projects/*/brands/*/identityAwareProxyClients/*}:resetSecret" } ] } ] + } + ], + "configFile": "iap_v1.yaml", + "serviceConfigApiNames": [ + "google.cloud.iap.v1.IdentityAwareProxyAdminService", + "google.cloud.iap.v1.IdentityAwareProxyOAuthService" + ], + "nameInServiceConfig": "iap.googleapis.com" + }, + { + "id": "google.cloud.iap.v1beta1", + "directory": "google/cloud/iap/v1beta1", + "version": "v1beta1", + "majorVersion": "v1", + "hostName": "iap.googleapis.com", + "title": "Cloud Identity-Aware Proxy API", + "description": "Controls access to cloud applications running on Google Cloud Platform.", + "importDirectories": [ + "google/api", + "google/iam/v1" + ], + "options": { + "go_package": { + "valueCounts": { + "cloud.google.com/go/iap/apiv1beta1/iappb;iappb": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } }, + "java_package": { + "valueCounts": { + "com.google.cloud.iap.v1beta1": 1 + } + } + }, + "services": [ { - "shortName": "DataprocMetastoreFederation", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederation", + "shortName": "IdentityAwareProxyAdminV1Beta1", + "fullName": "google.cloud.iap.v1beta1.IdentityAwareProxyAdminV1Beta1", "methods": [ { - "shortName": "CreateFederation", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederation.CreateFederation", + "shortName": "GetIamPolicy", + "fullName": "google.cloud.iap.v1beta1.IdentityAwareProxyAdminV1Beta1.GetIamPolicy", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta/{parent=projects/*/locations/*}/federations" - } - ] - }, - { - "shortName": "DeleteFederation", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederation.DeleteFederation", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "DELETE", - "path": "/v1beta/{name=projects/*/locations/*/federations/*}" - } - ] - }, - { - "shortName": "GetFederation", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederation.GetFederation", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1beta/{name=projects/*/locations/*/federations/*}" + "path": "/v1beta1/{resource=**}:getIamPolicy" } ] }, { - "shortName": "ListFederations", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederation.ListFederations", + "shortName": "SetIamPolicy", + "fullName": "google.cloud.iap.v1beta1.IdentityAwareProxyAdminV1Beta1.SetIamPolicy", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta/{parent=projects/*/locations/*}/federations" + "httpMethod": "POST", + "path": "/v1beta1/{resource=**}:setIamPolicy" } ] }, { - "shortName": "UpdateFederation", - "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederation.UpdateFederation", + "shortName": "TestIamPermissions", + "fullName": "google.cloud.iap.v1beta1.IdentityAwareProxyAdminV1Beta1.TestIamPermissions", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1beta/{federation.name=projects/*/locations/*/federations/*}" + "httpMethod": "POST", + "path": "/v1beta1/{resource=**}:testIamPermissions" } ] } ] } ], - "configFile": "metastore_v1beta.yaml", + "configFile": "iap_v1beta1.yaml", "serviceConfigApiNames": [ - "google.cloud.location.Locations", - "google.cloud.metastore.v1beta.DataprocMetastore", - "google.cloud.metastore.v1beta.DataprocMetastoreFederation", - "google.iam.v1.IAMPolicy", - "google.longrunning.Operations" + "google.cloud.iap.v1beta1.IdentityAwareProxyAdminV1Beta1" ], - "nameInServiceConfig": "metastore.googleapis.com" + "nameInServiceConfig": "iap.googleapis.com" }, { - "id": "google.cloud.networkconnectivity.v1", - "directory": "google/cloud/networkconnectivity/v1", - "version": "v1", - "majorVersion": "v1", - "hostName": "networkconnectivity.googleapis.com", - "title": "Network Connectivity API", - "description": "This API enables connectivity with and between Google Cloud resources.", + "id": "google.cloud.identitytoolkit.v2", + "directory": "google/cloud/identitytoolkit/v2", + "version": "v2", + "majorVersion": "v2", + "hostName": "identitytoolkit.googleapis.com", + "title": "Identity Toolkit API", + "description": "The Google Identity Toolkit API lets you use open standards to verify a user's identity.", "importDirectories": [ "google/api", - "google/longrunning", + "google/cloud/identitytoolkit/v2", "google/protobuf" ], "options": { "csharp_namespace": { "valueCounts": { - "Google.Cloud.NetworkConnectivity.V1": 2 + "Google.Cloud.IdentityToolkit.V2": 3 } }, "go_package": { "valueCounts": { - "cloud.google.com/go/networkconnectivity/apiv1/networkconnectivitypb;networkconnectivitypb": 2 + "cloud.google.com/go/identitytoolkit/apiv2/identitytoolkitpb;identitytoolkitpb": 3 } }, "java_multiple_files": { "valueCounts": { - "true": 2 + "true": 3 } }, "java_package": { "valueCounts": { - "com.google.cloud.networkconnectivity.v1": 2 + "com.google.cloud.identitytoolkit.v2": 3 } }, "php_namespace": { "valueCounts": { - "Google\\Cloud\\NetworkConnectivity\\V1": 2 + "Google\\Cloud\\IdentityToolkit\\V2": 3 } }, "ruby_package": { "valueCounts": { - "Google::Cloud::NetworkConnectivity::V1": 2 + "Google::Cloud::IdentityToolkit::V2": 3 } } }, "services": [ { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1.HubService", + "shortName": "AccountManagementService", + "fullName": "google.cloud.identitytoolkit.v2.AccountManagementService", "methods": [ { - "shortName": "CreateHub", - "fullName": "google.cloud.networkconnectivity.v1.HubService.CreateHub", + "shortName": "FinalizeMfaEnrollment", + "fullName": "google.cloud.identitytoolkit.v2.AccountManagementService.FinalizeMfaEnrollment", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/global}/hubs" + "path": "/v2/accounts/mfaEnrollment:finalize" } ] }, { - "shortName": "CreateSpoke", - "fullName": "google.cloud.networkconnectivity.v1.HubService.CreateSpoke", + "shortName": "StartMfaEnrollment", + "fullName": "google.cloud.identitytoolkit.v2.AccountManagementService.StartMfaEnrollment", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/spokes" - } - ] - }, - { - "shortName": "DeleteHub", - "fullName": "google.cloud.networkconnectivity.v1.HubService.DeleteHub", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/global/hubs/*}" - } - ] - }, - { - "shortName": "DeleteSpoke", - "fullName": "google.cloud.networkconnectivity.v1.HubService.DeleteSpoke", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/spokes/*}" - } - ] - }, - { - "shortName": "GetHub", - "fullName": "google.cloud.networkconnectivity.v1.HubService.GetHub", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/global/hubs/*}" + "path": "/v2/accounts/mfaEnrollment:start" } ] }, { - "shortName": "GetSpoke", - "fullName": "google.cloud.networkconnectivity.v1.HubService.GetSpoke", + "shortName": "WithdrawMfa", + "fullName": "google.cloud.identitytoolkit.v2.AccountManagementService.WithdrawMfa", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/spokes/*}" + "httpMethod": "POST", + "path": "/v2/accounts/mfaEnrollment:withdraw" } ] - }, + } + ] + }, + { + "shortName": "AuthenticationService", + "fullName": "google.cloud.identitytoolkit.v2.AuthenticationService", + "methods": [ { - "shortName": "ListHubs", - "fullName": "google.cloud.networkconnectivity.v1.HubService.ListHubs", + "shortName": "FinalizeMfaSignIn", + "fullName": "google.cloud.identitytoolkit.v2.AuthenticationService.FinalizeMfaSignIn", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/global}/hubs" + "httpMethod": "POST", + "path": "/v2/accounts/mfaSignIn:finalize" } ] }, { - "shortName": "ListSpokes", - "fullName": "google.cloud.networkconnectivity.v1.HubService.ListSpokes", + "shortName": "StartMfaSignIn", + "fullName": "google.cloud.identitytoolkit.v2.AuthenticationService.StartMfaSignIn", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/spokes" + "httpMethod": "POST", + "path": "/v2/accounts/mfaSignIn:start" } ] - }, + } + ] + } + ], + "configFile": "identitytoolkit_v2.yaml", + "serviceConfigApiNames": [ + "google.cloud.identitytoolkit.v2.AccountManagementService", + "google.cloud.identitytoolkit.v2.AuthenticationService" + ], + "nameInServiceConfig": "identitytoolkit.googleapis.com" + }, + { + "id": "google.cloud.ids.v1", + "directory": "google/cloud/ids/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "ids.googleapis.com", + "title": "Cloud IDS API", + "description": "Cloud IDS (Cloud Intrusion Detection System) detects malware, spyware, command-and-control attacks, and other network-based threats. Its security efficacy is industry leading, built with Palo Alto Networks technologies. When you use this product, your organization name and consumption levels will be shared with Palo Alto Networks.", + "importDirectories": [ + "google/api", + "google/longrunning", + "google/protobuf" + ], + "options": { + "go_package": { + "valueCounts": { + "cloud.google.com/go/ids/apiv1/idspb;idspb": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.ids.v1": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::IDS::V1": 1 + } + } + }, + "services": [ + { + "shortName": "IDS", + "fullName": "google.cloud.ids.v1.IDS", + "methods": [ { - "shortName": "UpdateHub", - "fullName": "google.cloud.networkconnectivity.v1.HubService.UpdateHub", + "shortName": "CreateEndpoint", + "fullName": "google.cloud.ids.v1.IDS.CreateEndpoint", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{hub.name=projects/*/locations/global/hubs/*}" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/endpoints" } ] }, { - "shortName": "UpdateSpoke", - "fullName": "google.cloud.networkconnectivity.v1.HubService.UpdateSpoke", + "shortName": "DeleteEndpoint", + "fullName": "google.cloud.ids.v1.IDS.DeleteEndpoint", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{spoke.name=projects/*/locations/*/spokes/*}" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/endpoints/*}" + } + ] + }, + { + "shortName": "GetEndpoint", + "fullName": "google.cloud.ids.v1.IDS.GetEndpoint", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/endpoints/*}" + } + ] + }, + { + "shortName": "ListEndpoints", + "fullName": "google.cloud.ids.v1.IDS.ListEndpoints", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/endpoints" } ] } ] } ], - "configFile": "networkconnectivity_v1.yaml", + "configFile": "ids_v1.yaml", "serviceConfigApiNames": [ - "google.cloud.location.Locations", - "google.cloud.networkconnectivity.v1.HubService", - "google.iam.v1.IAMPolicy", - "google.longrunning.Operations" + "google.cloud.ids.v1.IDS" ], - "nameInServiceConfig": "networkconnectivity.googleapis.com" + "nameInServiceConfig": "ids.googleapis.com" }, { - "id": "google.cloud.networkconnectivity.v1alpha1", - "directory": "google/cloud/networkconnectivity/v1alpha1", - "version": "v1alpha1", + "id": "google.cloud.iot.v1", + "directory": "google/cloud/iot/v1", + "version": "v1", "majorVersion": "v1", - "hostName": "networkconnectivity.googleapis.com", - "title": "Network Connectivity API", - "description": "The Network Connectivity API will be home to various services which provide information pertaining to network connectivity.", + "hostName": "cloudiot.googleapis.com", + "title": "Cloud IoT API", + "description": "Registers and manages IoT (Internet of Things) devices that connect to the Google Cloud Platform.", "importDirectories": [ "google/api", - "google/longrunning", - "google/protobuf" + "google/cloud/iot/v1", + "google/iam/v1", + "google/protobuf", + "google/rpc" ], "options": { - "csharp_namespace": { + "cc_enable_arenas": { "valueCounts": { - "Google.Cloud.NetworkConnectivity.V1Alpha1": 2 + "true": 2 } }, "go_package": { "valueCounts": { - "cloud.google.com/go/networkconnectivity/apiv1alpha1/networkconnectivitypb;networkconnectivitypb": 2 + "cloud.google.com/go/iot/apiv1/iotpb;iotpb": 2 } }, "java_multiple_files": { @@ -57816,295 +63321,407 @@ }, "java_package": { "valueCounts": { - "com.google.cloud.networkconnectivity.v1alpha1": 2 - } - }, - "php_namespace": { - "valueCounts": { - "Google\\Cloud\\NetworkConnectivity\\V1alpha1": 2 - } - }, - "ruby_package": { - "valueCounts": { - "Google::Cloud::NetworkConnectivity::V1alpha1": 2 + "com.google.cloud.iot.v1": 2 } } }, "services": [ { - "shortName": "HubService", - "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService", + "shortName": "DeviceManager", + "fullName": "google.cloud.iot.v1.DeviceManager", "methods": [ { - "shortName": "CreateHub", - "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService.CreateHub", + "shortName": "BindDeviceToGateway", + "fullName": "google.cloud.iot.v1.DeviceManager.BindDeviceToGateway", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1alpha1/{parent=projects/*/locations/global}/hubs" + "path": "/v1/{parent=projects/*/locations/*/registries/*}:bindDeviceToGateway" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/registries/*/groups/*}:bindDeviceToGateway" } ] }, { - "shortName": "CreateSpoke", - "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService.CreateSpoke", + "shortName": "CreateDevice", + "fullName": "google.cloud.iot.v1.DeviceManager.CreateDevice", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1alpha1/{parent=projects/*/locations/*}/spokes" + "path": "/v1/{parent=projects/*/locations/*/registries/*}/devices" } ] }, { - "shortName": "DeleteHub", - "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService.DeleteHub", + "shortName": "CreateDeviceRegistry", + "fullName": "google.cloud.iot.v1.DeviceManager.CreateDeviceRegistry", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/registries" + } + ] + }, + { + "shortName": "DeleteDevice", + "fullName": "google.cloud.iot.v1.DeviceManager.DeleteDevice", "mode": "UNARY", "bindings": [ { "httpMethod": "DELETE", - "path": "/v1alpha1/{name=projects/*/locations/global/hubs/*}" + "path": "/v1/{name=projects/*/locations/*/registries/*/devices/*}" } ] }, { - "shortName": "DeleteSpoke", - "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService.DeleteSpoke", + "shortName": "DeleteDeviceRegistry", + "fullName": "google.cloud.iot.v1.DeviceManager.DeleteDeviceRegistry", "mode": "UNARY", "bindings": [ { "httpMethod": "DELETE", - "path": "/v1alpha1/{name=projects/*/locations/*/spokes/*}" + "path": "/v1/{name=projects/*/locations/*/registries/*}" } ] }, { - "shortName": "GetHub", - "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService.GetHub", + "shortName": "GetDevice", + "fullName": "google.cloud.iot.v1.DeviceManager.GetDevice", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1alpha1/{name=projects/*/locations/global/hubs/*}" + "path": "/v1/{name=projects/*/locations/*/registries/*/devices/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/registries/*/groups/*/devices/*}" } ] }, { - "shortName": "GetSpoke", - "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService.GetSpoke", + "shortName": "GetDeviceRegistry", + "fullName": "google.cloud.iot.v1.DeviceManager.GetDeviceRegistry", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1alpha1/{name=projects/*/locations/*/spokes/*}" + "path": "/v1/{name=projects/*/locations/*/registries/*}" } ] }, { - "shortName": "ListHubs", - "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService.ListHubs", + "shortName": "GetIamPolicy", + "fullName": "google.cloud.iot.v1.DeviceManager.GetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/locations/*/registries/*}:getIamPolicy" + }, + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/locations/*/registries/*/groups/*}:getIamPolicy" + } + ] + }, + { + "shortName": "ListDeviceConfigVersions", + "fullName": "google.cloud.iot.v1.DeviceManager.ListDeviceConfigVersions", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1alpha1/{parent=projects/*/locations/global}/hubs" + "path": "/v1/{name=projects/*/locations/*/registries/*/devices/*}/configVersions" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/registries/*/groups/*/devices/*}/configVersions" } ] }, { - "shortName": "ListSpokes", - "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService.ListSpokes", + "shortName": "ListDeviceRegistries", + "fullName": "google.cloud.iot.v1.DeviceManager.ListDeviceRegistries", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1alpha1/{parent=projects/*/locations/*}/spokes" + "path": "/v1/{parent=projects/*/locations/*}/registries" } ] }, { - "shortName": "UpdateHub", - "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService.UpdateHub", + "shortName": "ListDeviceStates", + "fullName": "google.cloud.iot.v1.DeviceManager.ListDeviceStates", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/registries/*/devices/*}/states" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/registries/*/groups/*/devices/*}/states" + } + ] + }, + { + "shortName": "ListDevices", + "fullName": "google.cloud.iot.v1.DeviceManager.ListDevices", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/registries/*}/devices" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/registries/*/groups/*}/devices" + } + ] + }, + { + "shortName": "ModifyCloudToDeviceConfig", + "fullName": "google.cloud.iot.v1.DeviceManager.ModifyCloudToDeviceConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/registries/*/devices/*}:modifyCloudToDeviceConfig" + }, + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/registries/*/groups/*/devices/*}:modifyCloudToDeviceConfig" + } + ] + }, + { + "shortName": "SendCommandToDevice", + "fullName": "google.cloud.iot.v1.DeviceManager.SendCommandToDevice", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/registries/*/devices/*}:sendCommandToDevice" + }, + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/registries/*/groups/*/devices/*}:sendCommandToDevice" + } + ] + }, + { + "shortName": "SetIamPolicy", + "fullName": "google.cloud.iot.v1.DeviceManager.SetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/locations/*/registries/*}:setIamPolicy" + }, + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/locations/*/registries/*/groups/*}:setIamPolicy" + } + ] + }, + { + "shortName": "TestIamPermissions", + "fullName": "google.cloud.iot.v1.DeviceManager.TestIamPermissions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/locations/*/registries/*}:testIamPermissions" + }, + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/locations/*/registries/*/groups/*}:testIamPermissions" + } + ] + }, + { + "shortName": "UnbindDeviceFromGateway", + "fullName": "google.cloud.iot.v1.DeviceManager.UnbindDeviceFromGateway", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/registries/*}:unbindDeviceFromGateway" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/registries/*/groups/*}:unbindDeviceFromGateway" + } + ] + }, + { + "shortName": "UpdateDevice", + "fullName": "google.cloud.iot.v1.DeviceManager.UpdateDevice", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1alpha1/{hub.name=projects/*/locations/global/hubs/*}" + "path": "/v1/{device.name=projects/*/locations/*/registries/*/devices/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{device.name=projects/*/locations/*/registries/*/groups/*/devices/*}" } ] }, { - "shortName": "UpdateSpoke", - "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService.UpdateSpoke", + "shortName": "UpdateDeviceRegistry", + "fullName": "google.cloud.iot.v1.DeviceManager.UpdateDeviceRegistry", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1alpha1/{spoke.name=projects/*/locations/*/spokes/*}" + "path": "/v1/{device_registry.name=projects/*/locations/*/registries/*}" } ] } ] } ], - "configFile": "networkconnectivity_v1alpha1.yaml", + "configFile": "cloudiot_v1.yaml", "serviceConfigApiNames": [ - "google.cloud.networkconnectivity.v1alpha1.HubService" + "google.cloud.iot.v1.DeviceManager" ], - "nameInServiceConfig": "networkconnectivity.googleapis.com" + "nameInServiceConfig": "cloudiot.googleapis.com" }, { - "id": "google.cloud.networkmanagement.v1", - "directory": "google/cloud/networkmanagement/v1", + "id": "google.cloud.kms.inventory.v1", + "directory": "google/cloud/kms/inventory/v1", "version": "v1", "majorVersion": "v1", - "hostName": "networkmanagement.googleapis.com", - "title": "Network Management API", - "description": "The Network Management API provides a collection of network performance monitoring and diagnostic capabilities.", + "hostName": "kmsinventory.googleapis.com", + "title": "KMS Inventory API", + "description": "", "importDirectories": [ "google/api", - "google/cloud/networkmanagement/v1", - "google/longrunning", - "google/protobuf", - "google/rpc" + "google/cloud/kms/v1", + "google/protobuf" ], "options": { + "cc_enable_arenas": { + "valueCounts": { + "true": 2 + } + }, "csharp_namespace": { "valueCounts": { - "Google.Cloud.NetworkManagement.V1": 3 + "Google.Cloud.Kms.Inventory.V1": 2 } }, "go_package": { "valueCounts": { - "cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb;networkmanagementpb": 3 + "cloud.google.com/go/kms/inventory/apiv1/inventorypb;inventorypb": 2 } }, "java_multiple_files": { "valueCounts": { - "true": 3 + "true": 2 } }, "java_package": { "valueCounts": { - "com.google.cloud.networkmanagement.v1": 3 + "com.google.cloud.kms.inventory.v1": 2 } }, "php_namespace": { "valueCounts": { - "Google\\Cloud\\NetworkManagement\\V1": 3 - } - }, - "ruby_package": { - "valueCounts": { - "Google::Cloud::NetworkManagement::V1": 3 + "Google\\Cloud\\Kms\\Inventory\\V1": 2 } } }, "services": [ { - "shortName": "ReachabilityService", - "fullName": "google.cloud.networkmanagement.v1.ReachabilityService", + "shortName": "KeyDashboardService", + "fullName": "google.cloud.kms.inventory.v1.KeyDashboardService", "methods": [ { - "shortName": "CreateConnectivityTest", - "fullName": "google.cloud.networkmanagement.v1.ReachabilityService.CreateConnectivityTest", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/global}/connectivityTests" - } - ] - }, - { - "shortName": "DeleteConnectivityTest", - "fullName": "google.cloud.networkmanagement.v1.ReachabilityService.DeleteConnectivityTest", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/global/connectivityTests/*}" - } - ] - }, - { - "shortName": "GetConnectivityTest", - "fullName": "google.cloud.networkmanagement.v1.ReachabilityService.GetConnectivityTest", + "shortName": "ListCryptoKeys", + "fullName": "google.cloud.kms.inventory.v1.KeyDashboardService.ListCryptoKeys", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/global/connectivityTests/*}" + "path": "/v1/{parent=projects/*}/cryptoKeys" } ] - }, + } + ] + }, + { + "shortName": "KeyTrackingService", + "fullName": "google.cloud.kms.inventory.v1.KeyTrackingService", + "methods": [ { - "shortName": "ListConnectivityTests", - "fullName": "google.cloud.networkmanagement.v1.ReachabilityService.ListConnectivityTests", + "shortName": "GetProtectedResourcesSummary", + "fullName": "google.cloud.kms.inventory.v1.KeyTrackingService.GetProtectedResourcesSummary", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/global}/connectivityTests" - } - ] - }, - { - "shortName": "RerunConnectivityTest", - "fullName": "google.cloud.networkmanagement.v1.ReachabilityService.RerunConnectivityTest", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/global/connectivityTests/*}:rerun" + "path": "/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/**}/protectedResourcesSummary" } ] }, { - "shortName": "UpdateConnectivityTest", - "fullName": "google.cloud.networkmanagement.v1.ReachabilityService.UpdateConnectivityTest", + "shortName": "SearchProtectedResources", + "fullName": "google.cloud.kms.inventory.v1.KeyTrackingService.SearchProtectedResources", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{resource.name=projects/*/locations/global/connectivityTests/*}" + "httpMethod": "GET", + "path": "/v1/{scope=organizations/*}/protectedResources:search" } ] } ] } ], - "configFile": "networkmanagement_v1.yaml", + "configFile": "kmsinventory_v1.yaml", "serviceConfigApiNames": [ - "google.cloud.networkmanagement.v1.ReachabilityService" + "google.cloud.kms.inventory.v1.KeyDashboardService", + "google.cloud.kms.inventory.v1.KeyTrackingService" ], - "nameInServiceConfig": "networkmanagement.googleapis.com" + "nameInServiceConfig": "kmsinventory.googleapis.com" }, { - "id": "google.cloud.networkmanagement.v1beta1", - "directory": "google/cloud/networkmanagement/v1beta1", - "version": "v1beta1", + "id": "google.cloud.kms.v1", + "directory": "google/cloud/kms/v1", + "version": "v1", "majorVersion": "v1", - "hostName": "networkmanagement.googleapis.com", - "title": "Network Management API", - "description": "The Network Management API provides a collection of network performance monitoring and diagnostic capabilities.", + "hostName": "cloudkms.googleapis.com", + "title": "Cloud Key Management Service (KMS) API", + "description": "Manages keys and performs cryptographic operations in a central cloud service, for direct use by other cloud resources and applications.", "importDirectories": [ "google/api", - "google/cloud/networkmanagement/v1beta1", - "google/longrunning", - "google/protobuf", - "google/rpc" + "google/cloud/kms/v1", + "google/protobuf" ], "options": { + "cc_enable_arenas": { + "valueCounts": { + "true": 3 + } + }, "csharp_namespace": { "valueCounts": { - "Google.Cloud.NetworkManagement.V1Beta1": 3 + "Google.Cloud.Kms.V1": 3 } }, "go_package": { "valueCounts": { - "cloud.google.com/go/networkmanagement/apiv1beta1/networkmanagementpb;networkmanagementpb": 3 + "cloud.google.com/go/kms/apiv1/kmspb;kmspb": 3 } }, "java_multiple_files": { @@ -58114,2113 +63731,2315 @@ }, "java_package": { "valueCounts": { - "com.google.cloud.networkmanagement.v1beta1": 3 + "com.google.cloud.kms.v1": 3 } }, "php_namespace": { "valueCounts": { - "Google\\Cloud\\NetworkManagement\\V1beta1": 3 - } - }, - "ruby_package": { - "valueCounts": { - "Google::Cloud::NetworkManagement::V1beta1": 3 + "Google\\Cloud\\Kms\\V1": 3 } } }, "services": [ { - "shortName": "ReachabilityService", - "fullName": "google.cloud.networkmanagement.v1beta1.ReachabilityService", + "shortName": "EkmService", + "fullName": "google.cloud.kms.v1.EkmService", "methods": [ { - "shortName": "CreateConnectivityTest", - "fullName": "google.cloud.networkmanagement.v1beta1.ReachabilityService.CreateConnectivityTest", + "shortName": "CreateEkmConnection", + "fullName": "google.cloud.kms.v1.EkmService.CreateEkmConnection", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{parent=projects/*/locations/global}/connectivityTests" + "path": "/v1/{parent=projects/*/locations/*}/ekmConnections" } ] }, { - "shortName": "DeleteConnectivityTest", - "fullName": "google.cloud.networkmanagement.v1beta1.ReachabilityService.DeleteConnectivityTest", + "shortName": "GetEkmConfig", + "fullName": "google.cloud.kms.v1.EkmService.GetEkmConfig", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1beta1/{name=projects/*/locations/global/connectivityTests/*}" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/ekmConfig}" } ] }, { - "shortName": "GetConnectivityTest", - "fullName": "google.cloud.networkmanagement.v1beta1.ReachabilityService.GetConnectivityTest", + "shortName": "GetEkmConnection", + "fullName": "google.cloud.kms.v1.EkmService.GetEkmConnection", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta1/{name=projects/*/locations/global/connectivityTests/*}" + "path": "/v1/{name=projects/*/locations/*/ekmConnections/*}" } ] }, { - "shortName": "ListConnectivityTests", - "fullName": "google.cloud.networkmanagement.v1beta1.ReachabilityService.ListConnectivityTests", + "shortName": "ListEkmConnections", + "fullName": "google.cloud.kms.v1.EkmService.ListEkmConnections", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta1/{parent=projects/*/locations/global}/connectivityTests" + "path": "/v1/{parent=projects/*/locations/*}/ekmConnections" } ] }, { - "shortName": "RerunConnectivityTest", - "fullName": "google.cloud.networkmanagement.v1beta1.ReachabilityService.RerunConnectivityTest", + "shortName": "UpdateEkmConfig", + "fullName": "google.cloud.kms.v1.EkmService.UpdateEkmConfig", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta1/{name=projects/*/locations/global/connectivityTests/*}:rerun" + "httpMethod": "PATCH", + "path": "/v1/{ekm_config.name=projects/*/locations/*/ekmConfig}" } ] }, { - "shortName": "UpdateConnectivityTest", - "fullName": "google.cloud.networkmanagement.v1beta1.ReachabilityService.UpdateConnectivityTest", + "shortName": "UpdateEkmConnection", + "fullName": "google.cloud.kms.v1.EkmService.UpdateEkmConnection", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1beta1/{resource.name=projects/*/locations/global/connectivityTests/*}" + "path": "/v1/{ekm_connection.name=projects/*/locations/*/ekmConnections/*}" + } + ] + }, + { + "shortName": "VerifyConnectivity", + "fullName": "google.cloud.kms.v1.EkmService.VerifyConnectivity", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/ekmConnections/*}:verifyConnectivity" } ] } ] - } - ], - "configFile": "networkmanagement_v1beta1.yaml", - "serviceConfigApiNames": [ - "google.cloud.networkmanagement.v1beta1.ReachabilityService" - ], - "nameInServiceConfig": "networkmanagement.googleapis.com" - }, - { - "id": "google.cloud.networksecurity.v1", - "directory": "google/cloud/networksecurity/v1", - "version": "v1", - "majorVersion": "v1", - "hostName": "networksecurity.googleapis.com", - "title": "Network Security API", - "description": "", - "importDirectories": [ - "google/api", - "google/cloud/networksecurity/v1", - "google/longrunning", - "google/protobuf" - ], - "options": { - "csharp_namespace": { - "valueCounts": { - "Google.Cloud.NetworkSecurity.V1": 6 - } - }, - "go_package": { - "valueCounts": { - "cloud.google.com/go/networksecurity/apiv1/networksecuritypb;networksecuritypb": 6 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 6 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.networksecurity.v1": 6 - } - }, - "php_namespace": { - "valueCounts": { - "Google\\Cloud\\NetworkSecurity\\V1": 6 - } }, - "ruby_package": { - "valueCounts": { - "Google::Cloud::NetworkSecurity::V1": 6 - } - } - }, - "services": [ { - "shortName": "NetworkSecurity", - "fullName": "google.cloud.networksecurity.v1.NetworkSecurity", + "shortName": "KeyManagementService", + "fullName": "google.cloud.kms.v1.KeyManagementService", "methods": [ { - "shortName": "CreateAuthorizationPolicy", - "fullName": "google.cloud.networksecurity.v1.NetworkSecurity.CreateAuthorizationPolicy", + "shortName": "AsymmetricDecrypt", + "fullName": "google.cloud.kms.v1.KeyManagementService.AsymmetricDecrypt", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/authorizationPolicies" + "path": "/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}:asymmetricDecrypt" } ] }, { - "shortName": "CreateClientTlsPolicy", - "fullName": "google.cloud.networksecurity.v1.NetworkSecurity.CreateClientTlsPolicy", + "shortName": "AsymmetricSign", + "fullName": "google.cloud.kms.v1.KeyManagementService.AsymmetricSign", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/clientTlsPolicies" + "path": "/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}:asymmetricSign" } ] }, { - "shortName": "CreateServerTlsPolicy", - "fullName": "google.cloud.networksecurity.v1.NetworkSecurity.CreateServerTlsPolicy", + "shortName": "CreateCryptoKey", + "fullName": "google.cloud.kms.v1.KeyManagementService.CreateCryptoKey", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/serverTlsPolicies" + "path": "/v1/{parent=projects/*/locations/*/keyRings/*}/cryptoKeys" } ] }, { - "shortName": "DeleteAuthorizationPolicy", - "fullName": "google.cloud.networksecurity.v1.NetworkSecurity.DeleteAuthorizationPolicy", + "shortName": "CreateCryptoKeyVersion", + "fullName": "google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/authorizationPolicies/*}" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/keyRings/*/cryptoKeys/*}/cryptoKeyVersions" } ] }, { - "shortName": "DeleteClientTlsPolicy", - "fullName": "google.cloud.networksecurity.v1.NetworkSecurity.DeleteClientTlsPolicy", + "shortName": "CreateImportJob", + "fullName": "google.cloud.kms.v1.KeyManagementService.CreateImportJob", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/clientTlsPolicies/*}" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/keyRings/*}/importJobs" } ] }, { - "shortName": "DeleteServerTlsPolicy", - "fullName": "google.cloud.networksecurity.v1.NetworkSecurity.DeleteServerTlsPolicy", + "shortName": "CreateKeyRing", + "fullName": "google.cloud.kms.v1.KeyManagementService.CreateKeyRing", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/serverTlsPolicies/*}" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/keyRings" } ] }, { - "shortName": "GetAuthorizationPolicy", - "fullName": "google.cloud.networksecurity.v1.NetworkSecurity.GetAuthorizationPolicy", + "shortName": "Decrypt", + "fullName": "google.cloud.kms.v1.KeyManagementService.Decrypt", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/authorizationPolicies/*}" + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*}:decrypt" } ] }, { - "shortName": "GetClientTlsPolicy", - "fullName": "google.cloud.networksecurity.v1.NetworkSecurity.GetClientTlsPolicy", + "shortName": "DestroyCryptoKeyVersion", + "fullName": "google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/clientTlsPolicies/*}" + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}:destroy" } ] }, { - "shortName": "GetServerTlsPolicy", - "fullName": "google.cloud.networksecurity.v1.NetworkSecurity.GetServerTlsPolicy", + "shortName": "Encrypt", + "fullName": "google.cloud.kms.v1.KeyManagementService.Encrypt", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/serverTlsPolicies/*}" + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/**}:encrypt" } ] }, { - "shortName": "ListAuthorizationPolicies", - "fullName": "google.cloud.networksecurity.v1.NetworkSecurity.ListAuthorizationPolicies", + "shortName": "GenerateRandomBytes", + "fullName": "google.cloud.kms.v1.KeyManagementService.GenerateRandomBytes", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/authorizationPolicies" + "httpMethod": "POST", + "path": "/v1/{location=projects/*/locations/*}:generateRandomBytes" } ] }, { - "shortName": "ListClientTlsPolicies", - "fullName": "google.cloud.networksecurity.v1.NetworkSecurity.ListClientTlsPolicies", + "shortName": "GetCryptoKey", + "fullName": "google.cloud.kms.v1.KeyManagementService.GetCryptoKey", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/clientTlsPolicies" + "path": "/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*}" } ] }, { - "shortName": "ListServerTlsPolicies", - "fullName": "google.cloud.networksecurity.v1.NetworkSecurity.ListServerTlsPolicies", + "shortName": "GetCryptoKeyVersion", + "fullName": "google.cloud.kms.v1.KeyManagementService.GetCryptoKeyVersion", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/serverTlsPolicies" - } - ] - }, - { - "shortName": "UpdateAuthorizationPolicy", - "fullName": "google.cloud.networksecurity.v1.NetworkSecurity.UpdateAuthorizationPolicy", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "PATCH", - "path": "/v1/{authorization_policy.name=projects/*/locations/*/authorizationPolicies/*}" + "path": "/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}" } ] }, { - "shortName": "UpdateClientTlsPolicy", - "fullName": "google.cloud.networksecurity.v1.NetworkSecurity.UpdateClientTlsPolicy", + "shortName": "GetImportJob", + "fullName": "google.cloud.kms.v1.KeyManagementService.GetImportJob", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{client_tls_policy.name=projects/*/locations/*/clientTlsPolicies/*}" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/keyRings/*/importJobs/*}" } ] }, { - "shortName": "UpdateServerTlsPolicy", - "fullName": "google.cloud.networksecurity.v1.NetworkSecurity.UpdateServerTlsPolicy", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "PATCH", - "path": "/v1/{server_tls_policy.name=projects/*/locations/*/serverTlsPolicies/*}" - } - ] - } - ] - } - ], - "configFile": "networksecurity_v1.yaml", - "serviceConfigApiNames": [ - "google.cloud.location.Locations", - "google.cloud.networksecurity.v1.NetworkSecurity", - "google.iam.v1.IAMPolicy", - "google.longrunning.Operations" - ], - "nameInServiceConfig": "networksecurity.googleapis.com" - }, - { - "id": "google.cloud.networksecurity.v1beta1", - "directory": "google/cloud/networksecurity/v1beta1", - "version": "v1beta1", - "majorVersion": "v1", - "hostName": "networksecurity.googleapis.com", - "title": "Network Security API", - "description": "", - "importDirectories": [ - "google/api", - "google/cloud/networksecurity/v1beta1", - "google/longrunning", - "google/protobuf" - ], - "options": { - "csharp_namespace": { - "valueCounts": { - "Google.Cloud.NetworkSecurity.V1Beta1": 6 - } - }, - "go_package": { - "valueCounts": { - "cloud.google.com/go/networksecurity/apiv1beta1/networksecuritypb;networksecuritypb": 6 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 6 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.networksecurity.v1beta1": 6 - } - }, - "php_namespace": { - "valueCounts": { - "Google\\Cloud\\NetworkSecurity\\V1beta1": 6 - } - }, - "ruby_package": { - "valueCounts": { - "Google::Cloud::NetworkSecurity::V1beta1": 6 - } - } - }, - "services": [ - { - "shortName": "NetworkSecurity", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity", - "methods": [ - { - "shortName": "CreateAuthorizationPolicy", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.CreateAuthorizationPolicy", + "shortName": "GetKeyRing", + "fullName": "google.cloud.kms.v1.KeyManagementService.GetKeyRing", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta1/{parent=projects/*/locations/*}/authorizationPolicies" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/keyRings/*}" } ] }, { - "shortName": "CreateClientTlsPolicy", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.CreateClientTlsPolicy", + "shortName": "GetPublicKey", + "fullName": "google.cloud.kms.v1.KeyManagementService.GetPublicKey", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta1/{parent=projects/*/locations/*}/clientTlsPolicies" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}/publicKey" } ] }, { - "shortName": "CreateServerTlsPolicy", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.CreateServerTlsPolicy", + "shortName": "ImportCryptoKeyVersion", + "fullName": "google.cloud.kms.v1.KeyManagementService.ImportCryptoKeyVersion", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{parent=projects/*/locations/*}/serverTlsPolicies" + "path": "/v1/{parent=projects/*/locations/*/keyRings/*/cryptoKeys/*}/cryptoKeyVersions:import" } ] }, { - "shortName": "DeleteAuthorizationPolicy", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.DeleteAuthorizationPolicy", + "shortName": "ListCryptoKeyVersions", + "fullName": "google.cloud.kms.v1.KeyManagementService.ListCryptoKeyVersions", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1beta1/{name=projects/*/locations/*/authorizationPolicies/*}" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/keyRings/*/cryptoKeys/*}/cryptoKeyVersions" } ] }, { - "shortName": "DeleteClientTlsPolicy", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.DeleteClientTlsPolicy", + "shortName": "ListCryptoKeys", + "fullName": "google.cloud.kms.v1.KeyManagementService.ListCryptoKeys", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1beta1/{name=projects/*/locations/*/clientTlsPolicies/*}" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/keyRings/*}/cryptoKeys" } ] }, { - "shortName": "DeleteServerTlsPolicy", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.DeleteServerTlsPolicy", + "shortName": "ListImportJobs", + "fullName": "google.cloud.kms.v1.KeyManagementService.ListImportJobs", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1beta1/{name=projects/*/locations/*/serverTlsPolicies/*}" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/keyRings/*}/importJobs" } ] }, { - "shortName": "GetAuthorizationPolicy", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.GetAuthorizationPolicy", + "shortName": "ListKeyRings", + "fullName": "google.cloud.kms.v1.KeyManagementService.ListKeyRings", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta1/{name=projects/*/locations/*/authorizationPolicies/*}" + "path": "/v1/{parent=projects/*/locations/*}/keyRings" } ] }, { - "shortName": "GetClientTlsPolicy", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.GetClientTlsPolicy", + "shortName": "MacSign", + "fullName": "google.cloud.kms.v1.KeyManagementService.MacSign", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{name=projects/*/locations/*/clientTlsPolicies/*}" + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}:macSign" } ] }, { - "shortName": "GetServerTlsPolicy", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.GetServerTlsPolicy", + "shortName": "MacVerify", + "fullName": "google.cloud.kms.v1.KeyManagementService.MacVerify", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{name=projects/*/locations/*/serverTlsPolicies/*}" + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}:macVerify" } ] }, { - "shortName": "ListAuthorizationPolicies", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.ListAuthorizationPolicies", + "shortName": "RawDecrypt", + "fullName": "google.cloud.kms.v1.KeyManagementService.RawDecrypt", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{parent=projects/*/locations/*}/authorizationPolicies" + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}:rawDecrypt" } ] }, { - "shortName": "ListClientTlsPolicies", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.ListClientTlsPolicies", + "shortName": "RawEncrypt", + "fullName": "google.cloud.kms.v1.KeyManagementService.RawEncrypt", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{parent=projects/*/locations/*}/clientTlsPolicies" + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}:rawEncrypt" } ] }, { - "shortName": "ListServerTlsPolicies", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.ListServerTlsPolicies", + "shortName": "RestoreCryptoKeyVersion", + "fullName": "google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{parent=projects/*/locations/*}/serverTlsPolicies" + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}:restore" } ] }, { - "shortName": "UpdateAuthorizationPolicy", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.UpdateAuthorizationPolicy", + "shortName": "UpdateCryptoKey", + "fullName": "google.cloud.kms.v1.KeyManagementService.UpdateCryptoKey", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1beta1/{authorization_policy.name=projects/*/locations/*/authorizationPolicies/*}" + "path": "/v1/{crypto_key.name=projects/*/locations/*/keyRings/*/cryptoKeys/*}" } ] }, { - "shortName": "UpdateClientTlsPolicy", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.UpdateClientTlsPolicy", + "shortName": "UpdateCryptoKeyPrimaryVersion", + "fullName": "google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1beta1/{client_tls_policy.name=projects/*/locations/*/clientTlsPolicies/*}" + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*}:updatePrimaryVersion" } ] }, { - "shortName": "UpdateServerTlsPolicy", - "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.UpdateServerTlsPolicy", + "shortName": "UpdateCryptoKeyVersion", + "fullName": "google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyVersion", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1beta1/{server_tls_policy.name=projects/*/locations/*/serverTlsPolicies/*}" + "path": "/v1/{crypto_key_version.name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}" } ] } ] } ], - "configFile": "networksecurity_v1beta1.yaml", + "configFile": "cloudkms_v1.yaml", "serviceConfigApiNames": [ + "google.cloud.kms.v1.EkmService", + "google.cloud.kms.v1.KeyManagementService", "google.cloud.location.Locations", - "google.cloud.networksecurity.v1beta1.NetworkSecurity", "google.iam.v1.IAMPolicy", "google.longrunning.Operations" ], - "nameInServiceConfig": "networksecurity.googleapis.com" + "nameInServiceConfig": "cloudkms.googleapis.com" }, { - "id": "google.cloud.networkservices.v1", - "directory": "google/cloud/networkservices/v1", + "id": "google.cloud.language.v1", + "directory": "google/cloud/language/v1", "version": "v1", "majorVersion": "v1", - "hostName": "networkservices.googleapis.com", - "title": "Network Services API", - "description": "", + "hostName": "language.googleapis.com", + "title": "Cloud Natural Language API", + "description": "Provides natural language understanding technologies, such as sentiment analysis, entity recognition, entity sentiment analysis, and other text annotations, to developers.", "importDirectories": [ - "google/api", - "google/cloud/networkservices/v1", - "google/longrunning", - "google/protobuf" + "google/api" ], "options": { - "csharp_namespace": { - "valueCounts": { - "Google.Cloud.NetworkServices.V1": 10 - } - }, "go_package": { "valueCounts": { - "cloud.google.com/go/networkservices/apiv1/networkservicespb;networkservicespb": 10 + "cloud.google.com/go/language/apiv1/languagepb;languagepb": 1 } }, "java_multiple_files": { "valueCounts": { - "true": 10 + "true": 1 } }, "java_package": { "valueCounts": { - "com.google.cloud.networkservices.v1": 10 - } - }, - "php_namespace": { - "valueCounts": { - "Google\\Cloud\\NetworkServices\\V1": 10 - } - }, - "ruby_package": { - "valueCounts": { - "Google::Cloud::NetworkServices::V1": 10 + "com.google.cloud.language.v1": 1 } } }, "services": [ { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1.NetworkServices", + "shortName": "LanguageService", + "fullName": "google.cloud.language.v1.LanguageService", "methods": [ { - "shortName": "CreateEndpointPolicy", - "fullName": "google.cloud.networkservices.v1.NetworkServices.CreateEndpointPolicy", + "shortName": "AnalyzeEntities", + "fullName": "google.cloud.language.v1.LanguageService.AnalyzeEntities", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/endpointPolicies" + "path": "/v1/documents:analyzeEntities" } ] }, { - "shortName": "CreateGateway", - "fullName": "google.cloud.networkservices.v1.NetworkServices.CreateGateway", + "shortName": "AnalyzeEntitySentiment", + "fullName": "google.cloud.language.v1.LanguageService.AnalyzeEntitySentiment", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/gateways" + "path": "/v1/documents:analyzeEntitySentiment" } ] }, { - "shortName": "CreateGrpcRoute", - "fullName": "google.cloud.networkservices.v1.NetworkServices.CreateGrpcRoute", + "shortName": "AnalyzeSentiment", + "fullName": "google.cloud.language.v1.LanguageService.AnalyzeSentiment", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/grpcRoutes" + "path": "/v1/documents:analyzeSentiment" } ] }, { - "shortName": "CreateHttpRoute", - "fullName": "google.cloud.networkservices.v1.NetworkServices.CreateHttpRoute", + "shortName": "AnalyzeSyntax", + "fullName": "google.cloud.language.v1.LanguageService.AnalyzeSyntax", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/httpRoutes" + "path": "/v1/documents:analyzeSyntax" } ] }, { - "shortName": "CreateMesh", - "fullName": "google.cloud.networkservices.v1.NetworkServices.CreateMesh", + "shortName": "AnnotateText", + "fullName": "google.cloud.language.v1.LanguageService.AnnotateText", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/meshes" + "path": "/v1/documents:annotateText" } ] }, { - "shortName": "CreateServiceBinding", - "fullName": "google.cloud.networkservices.v1.NetworkServices.CreateServiceBinding", + "shortName": "ClassifyText", + "fullName": "google.cloud.language.v1.LanguageService.ClassifyText", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/serviceBindings" + "path": "/v1/documents:classifyText" } ] }, { - "shortName": "CreateTcpRoute", - "fullName": "google.cloud.networkservices.v1.NetworkServices.CreateTcpRoute", + "shortName": "ModerateText", + "fullName": "google.cloud.language.v1.LanguageService.ModerateText", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/tcpRoutes" + "path": "/v1/documents:moderateText" } ] - }, + } + ] + } + ], + "configFile": "language_v1.yaml", + "serviceConfigApiNames": [ + "google.cloud.language.v1.LanguageService" + ], + "nameInServiceConfig": "language.googleapis.com" + }, + { + "id": "google.cloud.language.v1beta2", + "directory": "google/cloud/language/v1beta2", + "version": "v1beta2", + "majorVersion": "v1", + "hostName": "language.googleapis.com", + "title": "Cloud Natural Language API", + "description": "Provides natural language understanding technologies, such as sentiment analysis, entity recognition, entity sentiment analysis, and other text annotations, to developers.", + "importDirectories": [ + "google/api" + ], + "options": { + "go_package": { + "valueCounts": { + "cloud.google.com/go/language/apiv1beta2/languagepb;languagepb": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.language.v1beta2": 1 + } + } + }, + "services": [ + { + "shortName": "LanguageService", + "fullName": "google.cloud.language.v1beta2.LanguageService", + "methods": [ { - "shortName": "CreateTlsRoute", - "fullName": "google.cloud.networkservices.v1.NetworkServices.CreateTlsRoute", + "shortName": "AnalyzeEntities", + "fullName": "google.cloud.language.v1beta2.LanguageService.AnalyzeEntities", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/tlsRoutes" + "path": "/v1beta2/documents:analyzeEntities" } ] }, { - "shortName": "DeleteEndpointPolicy", - "fullName": "google.cloud.networkservices.v1.NetworkServices.DeleteEndpointPolicy", + "shortName": "AnalyzeEntitySentiment", + "fullName": "google.cloud.language.v1beta2.LanguageService.AnalyzeEntitySentiment", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/endpointPolicies/*}" - } - ] - }, - { - "shortName": "DeleteGateway", - "fullName": "google.cloud.networkservices.v1.NetworkServices.DeleteGateway", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/gateways/*}" - } - ] - }, - { - "shortName": "DeleteGrpcRoute", - "fullName": "google.cloud.networkservices.v1.NetworkServices.DeleteGrpcRoute", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/grpcRoutes/*}" + "httpMethod": "POST", + "path": "/v1beta2/documents:analyzeEntitySentiment" } ] }, { - "shortName": "DeleteHttpRoute", - "fullName": "google.cloud.networkservices.v1.NetworkServices.DeleteHttpRoute", + "shortName": "AnalyzeSentiment", + "fullName": "google.cloud.language.v1beta2.LanguageService.AnalyzeSentiment", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/httpRoutes/*}" + "httpMethod": "POST", + "path": "/v1beta2/documents:analyzeSentiment" } ] }, { - "shortName": "DeleteMesh", - "fullName": "google.cloud.networkservices.v1.NetworkServices.DeleteMesh", + "shortName": "AnalyzeSyntax", + "fullName": "google.cloud.language.v1beta2.LanguageService.AnalyzeSyntax", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/meshes/*}" + "httpMethod": "POST", + "path": "/v1beta2/documents:analyzeSyntax" } ] }, { - "shortName": "DeleteServiceBinding", - "fullName": "google.cloud.networkservices.v1.NetworkServices.DeleteServiceBinding", + "shortName": "AnnotateText", + "fullName": "google.cloud.language.v1beta2.LanguageService.AnnotateText", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/serviceBindings/*}" + "httpMethod": "POST", + "path": "/v1beta2/documents:annotateText" } ] }, { - "shortName": "DeleteTcpRoute", - "fullName": "google.cloud.networkservices.v1.NetworkServices.DeleteTcpRoute", + "shortName": "ClassifyText", + "fullName": "google.cloud.language.v1beta2.LanguageService.ClassifyText", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/tcpRoutes/*}" + "httpMethod": "POST", + "path": "/v1beta2/documents:classifyText" } ] }, { - "shortName": "DeleteTlsRoute", - "fullName": "google.cloud.networkservices.v1.NetworkServices.DeleteTlsRoute", + "shortName": "ModerateText", + "fullName": "google.cloud.language.v1beta2.LanguageService.ModerateText", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/tlsRoutes/*}" + "httpMethod": "POST", + "path": "/v1beta2/documents:moderateText" } ] - }, + } + ] + } + ], + "configFile": "language_v1beta2.yaml", + "serviceConfigApiNames": [ + "google.cloud.language.v1beta2.LanguageService" + ], + "nameInServiceConfig": "language.googleapis.com" + }, + { + "id": "google.cloud.language.v2", + "directory": "google/cloud/language/v2", + "version": "v2", + "majorVersion": "v2", + "hostName": "language.googleapis.com", + "title": "Cloud Natural Language API", + "description": "Provides natural language understanding technologies, such as sentiment analysis, entity recognition, entity sentiment analysis, and other text annotations, to developers.", + "importDirectories": [ + "google/api" + ], + "options": { + "go_package": { + "valueCounts": { + "cloud.google.com/go/language/apiv2/languagepb;languagepb": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.language.v2": 1 + } + } + }, + "services": [ + { + "shortName": "LanguageService", + "fullName": "google.cloud.language.v2.LanguageService", + "methods": [ { - "shortName": "GetEndpointPolicy", - "fullName": "google.cloud.networkservices.v1.NetworkServices.GetEndpointPolicy", + "shortName": "AnalyzeEntities", + "fullName": "google.cloud.language.v2.LanguageService.AnalyzeEntities", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/endpointPolicies/*}" + "httpMethod": "POST", + "path": "/v2/documents:analyzeEntities" } ] }, { - "shortName": "GetGateway", - "fullName": "google.cloud.networkservices.v1.NetworkServices.GetGateway", + "shortName": "AnalyzeSentiment", + "fullName": "google.cloud.language.v2.LanguageService.AnalyzeSentiment", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/gateways/*}" + "httpMethod": "POST", + "path": "/v2/documents:analyzeSentiment" } ] }, { - "shortName": "GetGrpcRoute", - "fullName": "google.cloud.networkservices.v1.NetworkServices.GetGrpcRoute", + "shortName": "AnnotateText", + "fullName": "google.cloud.language.v2.LanguageService.AnnotateText", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/grpcRoutes/*}" + "httpMethod": "POST", + "path": "/v2/documents:annotateText" } ] }, { - "shortName": "GetHttpRoute", - "fullName": "google.cloud.networkservices.v1.NetworkServices.GetHttpRoute", + "shortName": "ClassifyText", + "fullName": "google.cloud.language.v2.LanguageService.ClassifyText", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/httpRoutes/*}" + "httpMethod": "POST", + "path": "/v2/documents:classifyText" } ] }, { - "shortName": "GetMesh", - "fullName": "google.cloud.networkservices.v1.NetworkServices.GetMesh", + "shortName": "ModerateText", + "fullName": "google.cloud.language.v2.LanguageService.ModerateText", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/meshes/*}" + "httpMethod": "POST", + "path": "/v2/documents:moderateText" } ] - }, + } + ] + } + ], + "configFile": "language_v2.yaml", + "serviceConfigApiNames": [ + "google.cloud.language.v2.LanguageService" + ], + "nameInServiceConfig": "language.googleapis.com" + }, + { + "id": "google.cloud.lifesciences.v2beta", + "directory": "google/cloud/lifesciences/v2beta", + "version": "v2beta", + "majorVersion": "v2", + "hostName": "lifesciences.googleapis.com", + "title": "Cloud Life Sciences API", + "description": "Cloud Life Sciences is a suite of services and tools for managing, processing, and transforming life sciences data.", + "importDirectories": [ + "google/api", + "google/longrunning", + "google/protobuf", + "google/rpc" + ], + "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.LifeSciences.V2Beta": 1 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/lifesciences/apiv2beta/lifesciencespb;lifesciencespb": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.lifesciences.v2beta": 1 + } + }, + "objc_class_prefix": { + "valueCounts": { + "CLSW": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\LifeSciences\\V2beta": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::LifeSciences::V2beta": 1 + } + } + }, + "services": [ + { + "shortName": "WorkflowsServiceV2Beta", + "fullName": "google.cloud.lifesciences.v2beta.WorkflowsServiceV2Beta", + "methods": [ { - "shortName": "GetServiceBinding", - "fullName": "google.cloud.networkservices.v1.NetworkServices.GetServiceBinding", + "shortName": "RunPipeline", + "fullName": "google.cloud.lifesciences.v2beta.WorkflowsServiceV2Beta.RunPipeline", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/serviceBindings/*}" + "httpMethod": "POST", + "path": "/v2beta/{parent=projects/*/locations/*}/pipelines:run" } ] - }, + } + ] + } + ], + "configFile": "lifesciences_v2beta.yaml", + "serviceConfigApiNames": [ + "google.cloud.lifesciences.v2beta.WorkflowsServiceV2Beta", + "google.cloud.location.Locations", + "google.longrunning.Operations" + ], + "nameInServiceConfig": "lifesciences.googleapis.com" + }, + { + "id": "google.cloud.location", + "directory": "google/cloud/location", + "version": "location", + "hostName": "cloud.googleapis.com", + "title": "Cloud Metadata API", + "description": "This API provides static metadata about Google Cloud Platform. Currently, it only provides basic information about Google Cloud locations, such as zones, regions, and countries.", + "importDirectories": [ + "google/api", + "google/protobuf" + ], + "options": { + "cc_enable_arenas": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "google.golang.org/genproto/googleapis/cloud/location;location": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.location": 1 + } + } + }, + "services": [ + { + "shortName": "Locations", + "fullName": "google.cloud.location.Locations", + "methods": [ { - "shortName": "GetTcpRoute", - "fullName": "google.cloud.networkservices.v1.NetworkServices.GetTcpRoute", + "shortName": "GetLocation", + "fullName": "google.cloud.location.Locations.GetLocation", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/tcpRoutes/*}" - } - ] - }, - { - "shortName": "GetTlsRoute", - "fullName": "google.cloud.networkservices.v1.NetworkServices.GetTlsRoute", - "mode": "UNARY", - "bindings": [ + "path": "/v1/{name=locations/*}" + }, { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/tlsRoutes/*}" + "path": "/v1/{name=projects/*/locations/*}" } ] }, { - "shortName": "ListEndpointPolicies", - "fullName": "google.cloud.networkservices.v1.NetworkServices.ListEndpointPolicies", + "shortName": "ListLocations", + "fullName": "google.cloud.location.Locations.ListLocations", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/endpointPolicies" - } - ] - }, - { - "shortName": "ListGateways", - "fullName": "google.cloud.networkservices.v1.NetworkServices.ListGateways", - "mode": "UNARY", - "bindings": [ + "path": "/v1/{name=locations}" + }, { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/gateways" + "path": "/v1/{name=projects/*}/locations" } ] - }, + } + ] + } + ], + "configFile": "cloud.yaml", + "serviceConfigApiNames": [ + "google.cloud.location.Locations" + ], + "nameInServiceConfig": "cloud.googleapis.com" + }, + { + "id": "google.cloud.managedidentities.v1", + "directory": "google/cloud/managedidentities/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "managedidentities.googleapis.com", + "title": "Managed Service for Microsoft Active Directory API", + "description": "The Managed Service for Microsoft Active Directory API is used for managing a highly available, hardened service running Microsoft Active Directory (AD).", + "importDirectories": [ + "google/api", + "google/cloud/managedidentities/v1", + "google/longrunning", + "google/protobuf" + ], + "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.ManagedIdentities.V1": 2 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/managedidentities/apiv1/managedidentitiespb;managedidentitiespb": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.managedidentities.v1": 2 + } + }, + "objc_class_prefix": { + "valueCounts": { + "": 1, + "GCMI": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\ManagedIdentities\\V1": 2 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::ManagedIdentities::V1": 2 + } + } + }, + "services": [ + { + "shortName": "ManagedIdentitiesService", + "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService", + "methods": [ { - "shortName": "ListGrpcRoutes", - "fullName": "google.cloud.networkservices.v1.NetworkServices.ListGrpcRoutes", + "shortName": "AttachTrust", + "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.AttachTrust", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/grpcRoutes" + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/global/domains/*}:attachTrust" } ] }, { - "shortName": "ListHttpRoutes", - "fullName": "google.cloud.networkservices.v1.NetworkServices.ListHttpRoutes", + "shortName": "CreateMicrosoftAdDomain", + "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.CreateMicrosoftAdDomain", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/httpRoutes" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/global}/domains" } ] }, { - "shortName": "ListMeshes", - "fullName": "google.cloud.networkservices.v1.NetworkServices.ListMeshes", + "shortName": "DeleteDomain", + "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.DeleteDomain", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/meshes" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/global/domains/*}" } ] }, { - "shortName": "ListServiceBindings", - "fullName": "google.cloud.networkservices.v1.NetworkServices.ListServiceBindings", + "shortName": "DetachTrust", + "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.DetachTrust", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/serviceBindings" + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/global/domains/*}:detachTrust" } ] }, { - "shortName": "ListTcpRoutes", - "fullName": "google.cloud.networkservices.v1.NetworkServices.ListTcpRoutes", + "shortName": "GetDomain", + "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.GetDomain", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/tcpRoutes" + "path": "/v1/{name=projects/*/locations/global/domains/*}" } ] }, { - "shortName": "ListTlsRoutes", - "fullName": "google.cloud.networkservices.v1.NetworkServices.ListTlsRoutes", + "shortName": "ListDomains", + "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.ListDomains", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/tlsRoutes" - } - ] - }, - { - "shortName": "UpdateEndpointPolicy", - "fullName": "google.cloud.networkservices.v1.NetworkServices.UpdateEndpointPolicy", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "PATCH", - "path": "/v1/{endpoint_policy.name=projects/*/locations/*/endpointPolicies/*}" - } - ] - }, - { - "shortName": "UpdateGateway", - "fullName": "google.cloud.networkservices.v1.NetworkServices.UpdateGateway", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "PATCH", - "path": "/v1/{gateway.name=projects/*/locations/*/gateways/*}" - } - ] - }, - { - "shortName": "UpdateGrpcRoute", - "fullName": "google.cloud.networkservices.v1.NetworkServices.UpdateGrpcRoute", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "PATCH", - "path": "/v1/{grpc_route.name=projects/*/locations/*/grpcRoutes/*}" + "path": "/v1/{parent=projects/*/locations/global}/domains" } ] }, { - "shortName": "UpdateHttpRoute", - "fullName": "google.cloud.networkservices.v1.NetworkServices.UpdateHttpRoute", + "shortName": "ReconfigureTrust", + "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.ReconfigureTrust", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{http_route.name=projects/*/locations/*/httpRoutes/*}" + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/global/domains/*}:reconfigureTrust" } ] }, { - "shortName": "UpdateMesh", - "fullName": "google.cloud.networkservices.v1.NetworkServices.UpdateMesh", + "shortName": "ResetAdminPassword", + "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.ResetAdminPassword", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{mesh.name=projects/*/locations/*/meshes/*}" + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/global/domains/*}:resetAdminPassword" } ] }, { - "shortName": "UpdateTcpRoute", - "fullName": "google.cloud.networkservices.v1.NetworkServices.UpdateTcpRoute", + "shortName": "UpdateDomain", + "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.UpdateDomain", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1/{tcp_route.name=projects/*/locations/*/tcpRoutes/*}" + "path": "/v1/{domain.name=projects/*/locations/global/domains/*}" } ] }, { - "shortName": "UpdateTlsRoute", - "fullName": "google.cloud.networkservices.v1.NetworkServices.UpdateTlsRoute", + "shortName": "ValidateTrust", + "fullName": "google.cloud.managedidentities.v1.ManagedIdentitiesService.ValidateTrust", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{tls_route.name=projects/*/locations/*/tlsRoutes/*}" + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/global/domains/*}:validateTrust" } ] } ] } ], - "configFile": "networkservices_v1.yaml", + "configFile": "managedidentities_v1.yaml", "serviceConfigApiNames": [ - "google.cloud.location.Locations", - "google.cloud.networkservices.v1.NetworkServices", - "google.iam.v1.IAMPolicy", - "google.longrunning.Operations" + "google.cloud.managedidentities.v1.ManagedIdentitiesService" ], - "nameInServiceConfig": "networkservices.googleapis.com" + "nameInServiceConfig": "managedidentities.googleapis.com" }, { - "id": "google.cloud.networkservices.v1beta1", - "directory": "google/cloud/networkservices/v1beta1", + "id": "google.cloud.managedidentities.v1beta1", + "directory": "google/cloud/managedidentities/v1beta1", "version": "v1beta1", "majorVersion": "v1", - "hostName": "networkservices.googleapis.com", - "title": "Network Services API", - "description": "", + "hostName": "managedidentities.googleapis.com", + "title": "Managed Service for Microsoft Active Directory API", + "description": "The Managed Service for Microsoft Active Directory API is used for managing a highly available, hardened service running Microsoft Active Directory (AD).", "importDirectories": [ "google/api", - "google/cloud/networkservices/v1beta1", + "google/cloud/managedidentities/v1beta1", "google/longrunning", "google/protobuf" ], "options": { "csharp_namespace": { "valueCounts": { - "Google.Cloud.NetworkServices.V1Beta1": 3 + "Google.Cloud.ManagedIdentities.V1Beta1": 2 } }, "go_package": { "valueCounts": { - "cloud.google.com/go/networkservices/apiv1beta1/networkservicespb;networkservicespb": 3 + "cloud.google.com/go/managedidentities/apiv1beta1/managedidentitiespb;managedidentitiespb": 2 } }, "java_multiple_files": { "valueCounts": { - "true": 3 + "true": 2 } }, "java_package": { "valueCounts": { - "com.google.cloud.networkservices.v1beta1": 3 + "com.google.cloud.managedidentities.v1beta1": 2 + } + }, + "objc_class_prefix": { + "valueCounts": { + "": 1, + "GCMI": 1 } }, "php_namespace": { "valueCounts": { - "Google\\Cloud\\NetworkServices\\V1beta1": 3 + "Google\\Cloud\\ManagedIdentities\\V1beta1": 2 } }, "ruby_package": { "valueCounts": { - "Google::Cloud::NetworkServices::V1beta1": 3 + "Google::Cloud::ManagedIdentities::V1beta1": 2 } } }, "services": [ { - "shortName": "NetworkServices", - "fullName": "google.cloud.networkservices.v1beta1.NetworkServices", + "shortName": "ManagedIdentitiesService", + "fullName": "google.cloud.managedidentities.v1beta1.ManagedIdentitiesService", "methods": [ { - "shortName": "CreateEndpointPolicy", - "fullName": "google.cloud.networkservices.v1beta1.NetworkServices.CreateEndpointPolicy", + "shortName": "AttachTrust", + "fullName": "google.cloud.managedidentities.v1beta1.ManagedIdentitiesService.AttachTrust", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{parent=projects/*/locations/*}/endpointPolicies" + "path": "/v1beta1/{name=projects/*/locations/global/domains/*}:attachTrust" } ] }, { - "shortName": "DeleteEndpointPolicy", - "fullName": "google.cloud.networkservices.v1beta1.NetworkServices.DeleteEndpointPolicy", + "shortName": "CreateMicrosoftAdDomain", + "fullName": "google.cloud.managedidentities.v1beta1.ManagedIdentitiesService.CreateMicrosoftAdDomain", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1beta1/{name=projects/*/locations/*/endpointPolicies/*}" + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/global}/domains" } ] }, { - "shortName": "GetEndpointPolicy", - "fullName": "google.cloud.networkservices.v1beta1.NetworkServices.GetEndpointPolicy", + "shortName": "DeleteDomain", + "fullName": "google.cloud.managedidentities.v1beta1.ManagedIdentitiesService.DeleteDomain", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{name=projects/*/locations/*/endpointPolicies/*}" + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/global/domains/*}" } ] }, { - "shortName": "ListEndpointPolicies", - "fullName": "google.cloud.networkservices.v1beta1.NetworkServices.ListEndpointPolicies", + "shortName": "DetachTrust", + "fullName": "google.cloud.managedidentities.v1beta1.ManagedIdentitiesService.DetachTrust", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{parent=projects/*/locations/*}/endpointPolicies" - } + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/global/domains/*}:detachTrust" + } ] }, { - "shortName": "UpdateEndpointPolicy", - "fullName": "google.cloud.networkservices.v1beta1.NetworkServices.UpdateEndpointPolicy", + "shortName": "GetDomain", + "fullName": "google.cloud.managedidentities.v1beta1.ManagedIdentitiesService.GetDomain", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/global/domains/*}" + } + ] + }, + { + "shortName": "ListDomains", + "fullName": "google.cloud.managedidentities.v1beta1.ManagedIdentitiesService.ListDomains", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/global}/domains" + } + ] + }, + { + "shortName": "ReconfigureTrust", + "fullName": "google.cloud.managedidentities.v1beta1.ManagedIdentitiesService.ReconfigureTrust", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/global/domains/*}:reconfigureTrust" + } + ] + }, + { + "shortName": "ResetAdminPassword", + "fullName": "google.cloud.managedidentities.v1beta1.ManagedIdentitiesService.ResetAdminPassword", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/global/domains/*}:resetAdminPassword" + } + ] + }, + { + "shortName": "UpdateDomain", + "fullName": "google.cloud.managedidentities.v1beta1.ManagedIdentitiesService.UpdateDomain", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1beta1/{endpoint_policy.name=projects/*/locations/*/endpointPolicies/*}" + "path": "/v1beta1/{domain.name=projects/*/locations/global/domains/*}" + } + ] + }, + { + "shortName": "ValidateTrust", + "fullName": "google.cloud.managedidentities.v1beta1.ManagedIdentitiesService.ValidateTrust", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/global/domains/*}:validateTrust" } ] } ] } ], - "configFile": "networkservices_v1beta1.yaml", + "configFile": "managedidentities_v1beta1.yaml", "serviceConfigApiNames": [ - "google.cloud.networkservices.v1beta1.NetworkServices" + "google.cloud.managedidentities.v1beta1.ManagedIdentitiesService" ], - "nameInServiceConfig": "networkservices.googleapis.com" + "nameInServiceConfig": "managedidentities.googleapis.com" }, { - "id": "google.cloud.notebooks.v1", - "directory": "google/cloud/notebooks/v1", - "version": "v1", + "id": "google.cloud.mediatranslation.v1alpha1", + "directory": "google/cloud/mediatranslation/v1alpha1", + "version": "v1alpha1", "majorVersion": "v1", - "hostName": "notebooks.googleapis.com", - "title": "Notebooks API", - "description": "Notebooks API is used to manage notebook resources in Google Cloud.", + "hostName": "mediatranslation.googleapis.com", + "title": "Media Translation API", + "description": "", "importDirectories": [ "google/api", - "google/cloud/notebooks/v1", - "google/longrunning", - "google/protobuf" + "google/rpc" + ], + "options": { + "cc_enable_arenas": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/mediatranslation/apiv1alpha1/mediatranslationpb;mediatranslationpb": 1 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.mediatranslation.v1alpha1": 1 + } + } + }, + "services": [ + { + "shortName": "SpeechTranslationService", + "fullName": "google.cloud.mediatranslation.v1alpha1.SpeechTranslationService", + "methods": [ + { + "shortName": "StreamingTranslateSpeech", + "fullName": "google.cloud.mediatranslation.v1alpha1.SpeechTranslationService.StreamingTranslateSpeech", + "mode": "BIDIRECTIONAL_STREAMING" + } + ] + } + ], + "configFile": "mediatranslation_v1alpha1.yaml", + "serviceConfigApiNames": [ + "google.cloud.mediatranslation.v1alpha1.SpeechTranslationService" + ], + "nameInServiceConfig": "mediatranslation.googleapis.com" + }, + { + "id": "google.cloud.mediatranslation.v1beta1", + "directory": "google/cloud/mediatranslation/v1beta1", + "version": "v1beta1", + "majorVersion": "v1", + "hostName": "mediatranslation.googleapis.com", + "title": "Media Translation API", + "description": "", + "importDirectories": [ + "google/api", + "google/rpc" ], "options": { + "cc_enable_arenas": { + "valueCounts": { + "true": 1 + } + }, "csharp_namespace": { "valueCounts": { - "": 4, - "Google.Cloud.Notebooks.V1": 6 + "Google.Cloud.MediaTranslation.V1Beta1": 1 } }, "go_package": { "valueCounts": { - "cloud.google.com/go/notebooks/apiv1/notebookspb;notebookspb": 10 + "cloud.google.com/go/mediatranslation/apiv1beta1/mediatranslationpb;mediatranslationpb": 1 } }, "java_multiple_files": { "valueCounts": { - "true": 10 + "true": 1 } }, "java_package": { "valueCounts": { - "com.google.cloud.notebooks.v1": 10 + "com.google.cloud.mediatranslation.v1beta1": 1 } }, "php_namespace": { "valueCounts": { - "": 4, - "Google\\Cloud\\Notebooks\\V1": 6 + "Google\\Cloud\\MediaTranslation\\V1beta1": 1 } }, "ruby_package": { "valueCounts": { - "": 4, - "Google::Cloud::Notebooks::V1": 6 + "Google::Cloud::MediaTranslation::V1beta1": 1 } } }, "services": [ { - "shortName": "ManagedNotebookService", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookService", + "shortName": "SpeechTranslationService", + "fullName": "google.cloud.mediatranslation.v1beta1.SpeechTranslationService", "methods": [ { - "shortName": "CreateRuntime", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.CreateRuntime", + "shortName": "StreamingTranslateSpeech", + "fullName": "google.cloud.mediatranslation.v1beta1.SpeechTranslationService.StreamingTranslateSpeech", + "mode": "BIDIRECTIONAL_STREAMING" + } + ] + } + ], + "configFile": "mediatranslation_v1beta1.yaml", + "serviceConfigApiNames": [ + "google.cloud.mediatranslation.v1beta1.SpeechTranslationService" + ], + "nameInServiceConfig": "mediatranslation.googleapis.com" + }, + { + "id": "google.cloud.memcache.v1", + "directory": "google/cloud/memcache/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "memcache.googleapis.com", + "title": "Cloud Memorystore for Memcached API", + "description": "Google Cloud Memorystore for Memcached API is used for creating and managing Memcached instances in GCP.", + "importDirectories": [ + "google/api", + "google/longrunning", + "google/protobuf", + "google/type" + ], + "options": { + "go_package": { + "valueCounts": { + "cloud.google.com/go/memcache/apiv1/memcachepb;memcachepb": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.memcache.v1": 1 + } + } + }, + "services": [ + { + "shortName": "CloudMemcache", + "fullName": "google.cloud.memcache.v1.CloudMemcache", + "methods": [ + { + "shortName": "ApplyParameters", + "fullName": "google.cloud.memcache.v1.CloudMemcache.ApplyParameters", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/runtimes" + "path": "/v1/{name=projects/*/locations/*/instances/*}:applyParameters" } ] }, { - "shortName": "DeleteRuntime", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.DeleteRuntime", + "shortName": "CreateInstance", + "fullName": "google.cloud.memcache.v1.CloudMemcache.CreateInstance", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/runtimes/*}" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/instances" } ] }, { - "shortName": "DiagnoseRuntime", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.DiagnoseRuntime", + "shortName": "DeleteInstance", + "fullName": "google.cloud.memcache.v1.CloudMemcache.DeleteInstance", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/runtimes/*}:diagnose" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/instances/*}" } ] }, { - "shortName": "GetRuntime", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.GetRuntime", + "shortName": "GetInstance", + "fullName": "google.cloud.memcache.v1.CloudMemcache.GetInstance", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/runtimes/*}" + "path": "/v1/{name=projects/*/locations/*/instances/*}" } ] }, { - "shortName": "ListRuntimes", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.ListRuntimes", + "shortName": "ListInstances", + "fullName": "google.cloud.memcache.v1.CloudMemcache.ListInstances", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/runtimes" + "path": "/v1/{parent=projects/*/locations/*}/instances" } ] }, { - "shortName": "RefreshRuntimeTokenInternal", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.RefreshRuntimeTokenInternal", + "shortName": "RescheduleMaintenance", + "fullName": "google.cloud.memcache.v1.CloudMemcache.RescheduleMaintenance", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/runtimes/*}:refreshRuntimeTokenInternal" + "path": "/v1/{instance=projects/*/locations/*/instances/*}:rescheduleMaintenance" } ] }, { - "shortName": "ReportRuntimeEvent", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.ReportRuntimeEvent", + "shortName": "UpdateInstance", + "fullName": "google.cloud.memcache.v1.CloudMemcache.UpdateInstance", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/runtimes/*}:reportEvent" + "httpMethod": "PATCH", + "path": "/v1/{instance.name=projects/*/locations/*/instances/*}" } ] }, { - "shortName": "ResetRuntime", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.ResetRuntime", + "shortName": "UpdateParameters", + "fullName": "google.cloud.memcache.v1.CloudMemcache.UpdateParameters", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{name=projects/*/locations/*/instances/*}:updateParameters" + } + ] + } + ] + } + ], + "configFile": "memcache_v1.yaml", + "serviceConfigApiNames": [ + "google.cloud.location.Locations", + "google.cloud.memcache.v1.CloudMemcache", + "google.longrunning.Operations" + ], + "nameInServiceConfig": "memcache.googleapis.com" + }, + { + "id": "google.cloud.memcache.v1beta2", + "directory": "google/cloud/memcache/v1beta2", + "version": "v1beta2", + "majorVersion": "v1", + "hostName": "memcache.googleapis.com", + "title": "Cloud Memorystore for Memcached API", + "description": "Google Cloud Memorystore for Memcached API is used for creating and managing Memcached instances in GCP.", + "importDirectories": [ + "google/api", + "google/longrunning", + "google/protobuf", + "google/type" + ], + "options": { + "go_package": { + "valueCounts": { + "cloud.google.com/go/memcache/apiv1beta2/memcachepb;memcachepb": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.memcache.v1beta2": 1 + } + } + }, + "services": [ + { + "shortName": "CloudMemcache", + "fullName": "google.cloud.memcache.v1beta2.CloudMemcache", + "methods": [ + { + "shortName": "ApplyParameters", + "fullName": "google.cloud.memcache.v1beta2.CloudMemcache.ApplyParameters", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/runtimes/*}:reset" + "path": "/v1beta2/{name=projects/*/locations/*/instances/*}:applyParameters" } ] }, { - "shortName": "StartRuntime", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.StartRuntime", + "shortName": "ApplySoftwareUpdate", + "fullName": "google.cloud.memcache.v1beta2.CloudMemcache.ApplySoftwareUpdate", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/runtimes/*}:start" + "path": "/v1beta2/{instance=projects/*/locations/*/instances/*}:applySoftwareUpdate" } ] }, { - "shortName": "StopRuntime", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.StopRuntime", + "shortName": "CreateInstance", + "fullName": "google.cloud.memcache.v1beta2.CloudMemcache.CreateInstance", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/runtimes/*}:stop" + "path": "/v1beta2/{parent=projects/*/locations/*}/instances" } ] }, { - "shortName": "SwitchRuntime", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.SwitchRuntime", + "shortName": "DeleteInstance", + "fullName": "google.cloud.memcache.v1beta2.CloudMemcache.DeleteInstance", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/runtimes/*}:switch" + "httpMethod": "DELETE", + "path": "/v1beta2/{name=projects/*/locations/*/instances/*}" } ] }, { - "shortName": "UpdateRuntime", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.UpdateRuntime", + "shortName": "GetInstance", + "fullName": "google.cloud.memcache.v1beta2.CloudMemcache.GetInstance", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{runtime.name=projects/*/locations/*/runtimes/*}" + "httpMethod": "GET", + "path": "/v1beta2/{name=projects/*/locations/*/instances/*}" } ] }, { - "shortName": "UpgradeRuntime", - "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.UpgradeRuntime", + "shortName": "ListInstances", + "fullName": "google.cloud.memcache.v1beta2.CloudMemcache.ListInstances", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/runtimes/*}:upgrade" + "httpMethod": "GET", + "path": "/v1beta2/{parent=projects/*/locations/*}/instances" } ] - } - ] - }, - { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1.NotebookService", - "methods": [ + }, { - "shortName": "CreateEnvironment", - "fullName": "google.cloud.notebooks.v1.NotebookService.CreateEnvironment", + "shortName": "RescheduleMaintenance", + "fullName": "google.cloud.memcache.v1beta2.CloudMemcache.RescheduleMaintenance", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/environments" + "path": "/v1beta2/{instance=projects/*/locations/*/instances/*}:rescheduleMaintenance" } ] }, { - "shortName": "CreateExecution", - "fullName": "google.cloud.notebooks.v1.NotebookService.CreateExecution", + "shortName": "UpdateInstance", + "fullName": "google.cloud.memcache.v1beta2.CloudMemcache.UpdateInstance", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/executions" + "httpMethod": "PATCH", + "path": "/v1beta2/{resource.name=projects/*/locations/*/instances/*}" } ] }, { - "shortName": "CreateInstance", - "fullName": "google.cloud.notebooks.v1.NotebookService.CreateInstance", + "shortName": "UpdateParameters", + "fullName": "google.cloud.memcache.v1beta2.CloudMemcache.UpdateParameters", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta2/{name=projects/*/locations/*/instances/*}:updateParameters" + } + ] + } + ] + } + ], + "configFile": "memcache_v1beta2.yaml", + "serviceConfigApiNames": [ + "google.cloud.location.Locations", + "google.cloud.memcache.v1beta2.CloudMemcache", + "google.longrunning.Operations" + ], + "nameInServiceConfig": "memcache.googleapis.com" + }, + { + "id": "google.cloud.metastore.v1", + "directory": "google/cloud/metastore/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "metastore.googleapis.com", + "title": "Dataproc Metastore API", + "description": "The Dataproc Metastore API is used to manage the lifecycle and configuration of metastore services.", + "importDirectories": [ + "google/api", + "google/cloud/metastore/v1", + "google/longrunning", + "google/protobuf", + "google/type" + ], + "options": { + "go_package": { + "valueCounts": { + "cloud.google.com/go/metastore/apiv1/metastorepb;metastorepb": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.metastore.v1": 2 + } + }, + "php_namespace": { + "valueCounts": { + "": 1, + "Google\\Cloud\\Metastore\\V1": 1 + } + } + }, + "services": [ + { + "shortName": "DataprocMetastore", + "fullName": "google.cloud.metastore.v1.DataprocMetastore", + "methods": [ + { + "shortName": "AlterMetadataResourceLocation", + "fullName": "google.cloud.metastore.v1.DataprocMetastore.AlterMetadataResourceLocation", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/instances" + "path": "/v1/{service=projects/*/locations/*/services/*}:alterLocation" } ] }, { - "shortName": "CreateSchedule", - "fullName": "google.cloud.notebooks.v1.NotebookService.CreateSchedule", + "shortName": "CreateBackup", + "fullName": "google.cloud.metastore.v1.DataprocMetastore.CreateBackup", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/schedules" + "path": "/v1/{parent=projects/*/locations/*/services/*}/backups" } ] }, { - "shortName": "DeleteEnvironment", - "fullName": "google.cloud.notebooks.v1.NotebookService.DeleteEnvironment", + "shortName": "CreateMetadataImport", + "fullName": "google.cloud.metastore.v1.DataprocMetastore.CreateMetadataImport", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/environments/*}" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/services/*}/metadataImports" } ] }, { - "shortName": "DeleteExecution", - "fullName": "google.cloud.notebooks.v1.NotebookService.DeleteExecution", + "shortName": "CreateService", + "fullName": "google.cloud.metastore.v1.DataprocMetastore.CreateService", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/executions/*}" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/services" } ] }, { - "shortName": "DeleteInstance", - "fullName": "google.cloud.notebooks.v1.NotebookService.DeleteInstance", + "shortName": "DeleteBackup", + "fullName": "google.cloud.metastore.v1.DataprocMetastore.DeleteBackup", "mode": "UNARY", "bindings": [ { "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/instances/*}" + "path": "/v1/{name=projects/*/locations/*/services/*/backups/*}" } ] }, { - "shortName": "DeleteSchedule", - "fullName": "google.cloud.notebooks.v1.NotebookService.DeleteSchedule", + "shortName": "DeleteService", + "fullName": "google.cloud.metastore.v1.DataprocMetastore.DeleteService", "mode": "UNARY", "bindings": [ { "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/schedules/*}" + "path": "/v1/{name=projects/*/locations/*/services/*}" } ] }, { - "shortName": "DiagnoseInstance", - "fullName": "google.cloud.notebooks.v1.NotebookService.DiagnoseInstance", + "shortName": "ExportMetadata", + "fullName": "google.cloud.metastore.v1.DataprocMetastore.ExportMetadata", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/instances/*}:diagnose" + "path": "/v1/{service=projects/*/locations/*/services/*}:exportMetadata" } ] }, { - "shortName": "GetEnvironment", - "fullName": "google.cloud.notebooks.v1.NotebookService.GetEnvironment", + "shortName": "GetBackup", + "fullName": "google.cloud.metastore.v1.DataprocMetastore.GetBackup", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/environments/*}" + "path": "/v1/{name=projects/*/locations/*/services/*/backups/*}" } ] }, { - "shortName": "GetExecution", - "fullName": "google.cloud.notebooks.v1.NotebookService.GetExecution", + "shortName": "GetMetadataImport", + "fullName": "google.cloud.metastore.v1.DataprocMetastore.GetMetadataImport", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/executions/*}" + "path": "/v1/{name=projects/*/locations/*/services/*/metadataImports/*}" } ] }, { - "shortName": "GetInstance", - "fullName": "google.cloud.notebooks.v1.NotebookService.GetInstance", + "shortName": "GetService", + "fullName": "google.cloud.metastore.v1.DataprocMetastore.GetService", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/instances/*}" + "path": "/v1/{name=projects/*/locations/*/services/*}" } ] }, { - "shortName": "GetInstanceHealth", - "fullName": "google.cloud.notebooks.v1.NotebookService.GetInstanceHealth", + "shortName": "ListBackups", + "fullName": "google.cloud.metastore.v1.DataprocMetastore.ListBackups", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/instances/*}:getInstanceHealth" + "path": "/v1/{parent=projects/*/locations/*/services/*}/backups" } ] }, { - "shortName": "GetSchedule", - "fullName": "google.cloud.notebooks.v1.NotebookService.GetSchedule", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/schedules/*}" - } - ] - }, - { - "shortName": "IsInstanceUpgradeable", - "fullName": "google.cloud.notebooks.v1.NotebookService.IsInstanceUpgradeable", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1/{notebook_instance=projects/*/locations/*/instances/*}:isUpgradeable" - } - ] - }, - { - "shortName": "ListEnvironments", - "fullName": "google.cloud.notebooks.v1.NotebookService.ListEnvironments", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/environments" - } - ] - }, - { - "shortName": "ListExecutions", - "fullName": "google.cloud.notebooks.v1.NotebookService.ListExecutions", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/executions" - } - ] - }, - { - "shortName": "ListInstances", - "fullName": "google.cloud.notebooks.v1.NotebookService.ListInstances", + "shortName": "ListMetadataImports", + "fullName": "google.cloud.metastore.v1.DataprocMetastore.ListMetadataImports", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/instances" + "path": "/v1/{parent=projects/*/locations/*/services/*}/metadataImports" } ] }, { - "shortName": "ListSchedules", - "fullName": "google.cloud.notebooks.v1.NotebookService.ListSchedules", + "shortName": "ListServices", + "fullName": "google.cloud.metastore.v1.DataprocMetastore.ListServices", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/schedules" - } - ] - }, - { - "shortName": "RegisterInstance", - "fullName": "google.cloud.notebooks.v1.NotebookService.RegisterInstance", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/instances:register" + "path": "/v1/{parent=projects/*/locations/*}/services" } ] }, { - "shortName": "ReportInstanceInfo", - "fullName": "google.cloud.notebooks.v1.NotebookService.ReportInstanceInfo", + "shortName": "MoveTableToDatabase", + "fullName": "google.cloud.metastore.v1.DataprocMetastore.MoveTableToDatabase", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/instances/*}:report" + "path": "/v1/{service=projects/*/locations/*/services/*}:moveTableToDatabase" } ] }, { - "shortName": "ResetInstance", - "fullName": "google.cloud.notebooks.v1.NotebookService.ResetInstance", + "shortName": "QueryMetadata", + "fullName": "google.cloud.metastore.v1.DataprocMetastore.QueryMetadata", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/instances/*}:reset" + "path": "/v1/{service=projects/*/locations/*/services/*}:queryMetadata" } ] }, { - "shortName": "RollbackInstance", - "fullName": "google.cloud.notebooks.v1.NotebookService.RollbackInstance", + "shortName": "RestoreService", + "fullName": "google.cloud.metastore.v1.DataprocMetastore.RestoreService", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/instances/*}:rollback" - } - ] - }, - { - "shortName": "SetInstanceAccelerator", - "fullName": "google.cloud.notebooks.v1.NotebookService.SetInstanceAccelerator", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "PATCH", - "path": "/v1/{name=projects/*/locations/*/instances/*}:setAccelerator" + "path": "/v1/{service=projects/*/locations/*/services/*}:restore" } ] }, { - "shortName": "SetInstanceLabels", - "fullName": "google.cloud.notebooks.v1.NotebookService.SetInstanceLabels", + "shortName": "UpdateMetadataImport", + "fullName": "google.cloud.metastore.v1.DataprocMetastore.UpdateMetadataImport", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1/{name=projects/*/locations/*/instances/*}:setLabels" + "path": "/v1/{metadata_import.name=projects/*/locations/*/services/*/metadataImports/*}" } ] }, { - "shortName": "SetInstanceMachineType", - "fullName": "google.cloud.notebooks.v1.NotebookService.SetInstanceMachineType", + "shortName": "UpdateService", + "fullName": "google.cloud.metastore.v1.DataprocMetastore.UpdateService", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1/{name=projects/*/locations/*/instances/*}:setMachineType" - } - ] - }, - { - "shortName": "StartInstance", - "fullName": "google.cloud.notebooks.v1.NotebookService.StartInstance", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/instances/*}:start" + "path": "/v1/{service.name=projects/*/locations/*/services/*}" } ] - }, + } + ] + }, + { + "shortName": "DataprocMetastoreFederation", + "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederation", + "methods": [ { - "shortName": "StopInstance", - "fullName": "google.cloud.notebooks.v1.NotebookService.StopInstance", + "shortName": "CreateFederation", + "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederation.CreateFederation", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/instances/*}:stop" + "path": "/v1/{parent=projects/*/locations/*}/federations" } ] }, { - "shortName": "TriggerSchedule", - "fullName": "google.cloud.notebooks.v1.NotebookService.TriggerSchedule", + "shortName": "DeleteFederation", + "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederation.DeleteFederation", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/schedules/*}:trigger" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/federations/*}" } ] }, { - "shortName": "UpdateInstanceConfig", - "fullName": "google.cloud.notebooks.v1.NotebookService.UpdateInstanceConfig", + "shortName": "GetFederation", + "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederation.GetFederation", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{name=projects/*/locations/*/instances/*}:updateConfig" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/federations/*}" } ] }, { - "shortName": "UpdateInstanceMetadataItems", - "fullName": "google.cloud.notebooks.v1.NotebookService.UpdateInstanceMetadataItems", + "shortName": "ListFederations", + "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederation.ListFederations", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{name=projects/*/locations/*/instances/*}:updateMetadataItems" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/federations" } ] }, { - "shortName": "UpdateShieldedInstanceConfig", - "fullName": "google.cloud.notebooks.v1.NotebookService.UpdateShieldedInstanceConfig", + "shortName": "UpdateFederation", + "fullName": "google.cloud.metastore.v1.DataprocMetastoreFederation.UpdateFederation", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1/{name=projects/*/locations/*/instances/*}:updateShieldedInstanceConfig" - } - ] - }, - { - "shortName": "UpgradeInstance", - "fullName": "google.cloud.notebooks.v1.NotebookService.UpgradeInstance", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/instances/*}:upgrade" - } - ] - }, - { - "shortName": "UpgradeInstanceInternal", - "fullName": "google.cloud.notebooks.v1.NotebookService.UpgradeInstanceInternal", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/instances/*}:upgradeInternal" + "path": "/v1/{federation.name=projects/*/locations/*/federations/*}" } ] } ] } ], - "configFile": "notebooks_v1.yaml", + "configFile": "metastore_v1.yaml", "serviceConfigApiNames": [ "google.cloud.location.Locations", - "google.cloud.notebooks.v1.ManagedNotebookService", - "google.cloud.notebooks.v1.NotebookService", + "google.cloud.metastore.v1.DataprocMetastore", + "google.cloud.metastore.v1.DataprocMetastoreFederation", "google.iam.v1.IAMPolicy", "google.longrunning.Operations" ], - "nameInServiceConfig": "notebooks.googleapis.com" + "nameInServiceConfig": "metastore.googleapis.com" }, { - "id": "google.cloud.notebooks.v1beta1", - "directory": "google/cloud/notebooks/v1beta1", - "version": "v1beta1", + "id": "google.cloud.metastore.v1alpha", + "directory": "google/cloud/metastore/v1alpha", + "version": "v1alpha", "majorVersion": "v1", - "hostName": "notebooks.googleapis.com", - "title": "Notebooks API", - "description": "Notebooks API is used to manage notebook resources in Google Cloud.", + "hostName": "metastore.googleapis.com", + "title": "Dataproc Metastore API", + "description": "The Dataproc Metastore API is used to manage the lifecycle and configuration of metastore services.", "importDirectories": [ "google/api", - "google/cloud/notebooks/v1beta1", + "google/cloud/metastore/v1alpha", "google/longrunning", - "google/protobuf" + "google/protobuf", + "google/type" ], "options": { - "csharp_namespace": { - "valueCounts": { - "Google.Cloud.Notebooks.V1Beta1": 3 - } - }, "go_package": { "valueCounts": { - "cloud.google.com/go/notebooks/apiv1beta1/notebookspb;notebookspb": 3 + "cloud.google.com/go/metastore/apiv1alpha/metastorepb;metastorepb": 2 } }, "java_multiple_files": { "valueCounts": { - "true": 3 + "true": 2 } }, "java_package": { "valueCounts": { - "com.google.cloud.notebooks.v1beta1": 3 + "com.google.cloud.metastore.v1alpha": 2 } }, "php_namespace": { "valueCounts": { - "Google\\Cloud\\Notebooks\\V1beta1": 3 - } - }, - "ruby_package": { - "valueCounts": { - "Google::Cloud::Notebooks::V1beta1": 3 + "": 1, + "Google\\Cloud\\Metastore\\V1alpha": 1 } } }, "services": [ { - "shortName": "NotebookService", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService", + "shortName": "DataprocMetastore", + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore", "methods": [ { - "shortName": "CreateEnvironment", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService.CreateEnvironment", + "shortName": "AlterMetadataResourceLocation", + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.AlterMetadataResourceLocation", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{parent=projects/*/locations/*}/environments" + "path": "/v1alpha/{service=projects/*/locations/*/services/*}:alterLocation" } ] }, { - "shortName": "CreateInstance", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService.CreateInstance", + "shortName": "CreateBackup", + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.CreateBackup", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{parent=projects/*/locations/*}/instances" + "path": "/v1alpha/{parent=projects/*/locations/*/services/*}/backups" } ] }, { - "shortName": "DeleteEnvironment", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService.DeleteEnvironment", + "shortName": "CreateMetadataImport", + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.CreateMetadataImport", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1beta1/{name=projects/*/locations/*/environments/*}" + "httpMethod": "POST", + "path": "/v1alpha/{parent=projects/*/locations/*/services/*}/metadataImports" } ] }, { - "shortName": "DeleteInstance", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService.DeleteInstance", + "shortName": "CreateService", + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.CreateService", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1beta1/{name=projects/*/locations/*/instances/*}" + "httpMethod": "POST", + "path": "/v1alpha/{parent=projects/*/locations/*}/services" } ] }, { - "shortName": "GetEnvironment", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService.GetEnvironment", + "shortName": "DeleteBackup", + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.DeleteBackup", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{name=projects/*/locations/*/environments/*}" + "httpMethod": "DELETE", + "path": "/v1alpha/{name=projects/*/locations/*/services/*/backups/*}" } ] }, { - "shortName": "GetInstance", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService.GetInstance", + "shortName": "DeleteService", + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.DeleteService", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{name=projects/*/locations/*/instances/*}" + "httpMethod": "DELETE", + "path": "/v1alpha/{name=projects/*/locations/*/services/*}" } ] }, { - "shortName": "IsInstanceUpgradeable", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService.IsInstanceUpgradeable", + "shortName": "ExportMetadata", + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.ExportMetadata", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{notebook_instance=projects/*/locations/*/instances/*}:isUpgradeable" + "httpMethod": "POST", + "path": "/v1alpha/{service=projects/*/locations/*/services/*}:exportMetadata" } ] }, { - "shortName": "ListEnvironments", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService.ListEnvironments", + "shortName": "GetBackup", + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.GetBackup", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta1/{parent=projects/*/locations/*}/environments" + "path": "/v1alpha/{name=projects/*/locations/*/services/*/backups/*}" } ] }, { - "shortName": "ListInstances", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService.ListInstances", + "shortName": "GetMetadataImport", + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.GetMetadataImport", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta1/{parent=projects/*/locations/*}/instances" + "path": "/v1alpha/{name=projects/*/locations/*/services/*/metadataImports/*}" } ] }, { - "shortName": "RegisterInstance", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService.RegisterInstance", + "shortName": "GetService", + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.GetService", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta1/{parent=projects/*/locations/*}/instances:register" + "httpMethod": "GET", + "path": "/v1alpha/{name=projects/*/locations/*/services/*}" } ] }, { - "shortName": "ReportInstanceInfo", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService.ReportInstanceInfo", + "shortName": "ListBackups", + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.ListBackups", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta1/{name=projects/*/locations/*/instances/*}:report" + "httpMethod": "GET", + "path": "/v1alpha/{parent=projects/*/locations/*/services/*}/backups" } ] }, { - "shortName": "ResetInstance", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService.ResetInstance", + "shortName": "ListMetadataImports", + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.ListMetadataImports", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta1/{name=projects/*/locations/*/instances/*}:reset" + "httpMethod": "GET", + "path": "/v1alpha/{parent=projects/*/locations/*/services/*}/metadataImports" } ] }, { - "shortName": "SetInstanceAccelerator", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService.SetInstanceAccelerator", + "shortName": "ListServices", + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.ListServices", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1beta1/{name=projects/*/locations/*/instances/*}:setAccelerator" + "httpMethod": "GET", + "path": "/v1alpha/{parent=projects/*/locations/*}/services" } ] }, { - "shortName": "SetInstanceLabels", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService.SetInstanceLabels", + "shortName": "MoveTableToDatabase", + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.MoveTableToDatabase", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1beta1/{name=projects/*/locations/*/instances/*}:setLabels" + "httpMethod": "POST", + "path": "/v1alpha/{service=projects/*/locations/*/services/*}:moveTableToDatabase" } ] }, { - "shortName": "SetInstanceMachineType", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService.SetInstanceMachineType", + "shortName": "QueryMetadata", + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.QueryMetadata", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1beta1/{name=projects/*/locations/*/instances/*}:setMachineType" + "httpMethod": "POST", + "path": "/v1alpha/{service=projects/*/locations/*/services/*}:queryMetadata" } ] }, { - "shortName": "StartInstance", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService.StartInstance", + "shortName": "RemoveIamPolicy", + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.RemoveIamPolicy", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{name=projects/*/locations/*/instances/*}:start" + "path": "/v1alpha/{resource=projects/*/locations/*/services/*/**}:removeIamPolicy" } ] }, { - "shortName": "StopInstance", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService.StopInstance", + "shortName": "RestoreService", + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.RestoreService", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{name=projects/*/locations/*/instances/*}:stop" + "path": "/v1alpha/{service=projects/*/locations/*/services/*}:restore" } ] }, { - "shortName": "UpgradeInstance", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService.UpgradeInstance", + "shortName": "UpdateMetadataImport", + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.UpdateMetadataImport", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta1/{name=projects/*/locations/*/instances/*}:upgrade" + "httpMethod": "PATCH", + "path": "/v1alpha/{metadata_import.name=projects/*/locations/*/services/*/metadataImports/*}" } ] }, { - "shortName": "UpgradeInstanceInternal", - "fullName": "google.cloud.notebooks.v1beta1.NotebookService.UpgradeInstanceInternal", + "shortName": "UpdateService", + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastore.UpdateService", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta1/{name=projects/*/locations/*/instances/*}:upgradeInternal" + "httpMethod": "PATCH", + "path": "/v1alpha/{service.name=projects/*/locations/*/services/*}" } ] } ] - } - ], - "configFile": "notebooks_v1beta1.yaml", - "serviceConfigApiNames": [ - "google.cloud.location.Locations", - "google.cloud.notebooks.v1beta1.NotebookService", - "google.iam.v1.IAMPolicy", - "google.longrunning.Operations" - ], - "nameInServiceConfig": "notebooks.googleapis.com" - }, - { - "id": "google.cloud.optimization.v1", - "directory": "google/cloud/optimization/v1", - "version": "v1", - "majorVersion": "v1", - "hostName": "cloudoptimization.googleapis.com", - "title": "Cloud Optimization API", - "description": "Cloud Optimization API provides a portfolio of solvers to address common optimization use cases starting with optimal route planning for vehicle fleets.", - "importDirectories": [ - "google/api", - "google/cloud/optimization/v1", - "google/longrunning", - "google/protobuf", - "google/type" - ], - "options": { - "go_package": { - "valueCounts": { - "cloud.google.com/go/optimization/apiv1/optimizationpb;optimizationpb": 2 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 2 - } }, - "java_package": { - "valueCounts": { - "com.google.cloud.optimization.v1": 2 - } - } - }, - "services": [ { - "shortName": "FleetRouting", - "fullName": "google.cloud.optimization.v1.FleetRouting", + "shortName": "DataprocMetastoreFederation", + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederation", "methods": [ { - "shortName": "BatchOptimizeTours", - "fullName": "google.cloud.optimization.v1.FleetRouting.BatchOptimizeTours", + "shortName": "CreateFederation", + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederation.CreateFederation", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}:batchOptimizeTours" - }, + "path": "/v1alpha/{parent=projects/*/locations/*}/federations" + } + ] + }, + { + "shortName": "DeleteFederation", + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederation.DeleteFederation", + "mode": "UNARY", + "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*}:batchOptimizeTours" + "httpMethod": "DELETE", + "path": "/v1alpha/{name=projects/*/locations/*/federations/*}" } ] }, { - "shortName": "OptimizeTours", - "fullName": "google.cloud.optimization.v1.FleetRouting.OptimizeTours", + "shortName": "GetFederation", + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederation.GetFederation", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}:optimizeTours" - }, + "httpMethod": "GET", + "path": "/v1alpha/{name=projects/*/locations/*/federations/*}" + } + ] + }, + { + "shortName": "ListFederations", + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederation.ListFederations", + "mode": "UNARY", + "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*}:optimizeTours" + "httpMethod": "GET", + "path": "/v1alpha/{parent=projects/*/locations/*}/federations" + } + ] + }, + { + "shortName": "UpdateFederation", + "fullName": "google.cloud.metastore.v1alpha.DataprocMetastoreFederation.UpdateFederation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1alpha/{federation.name=projects/*/locations/*/federations/*}" } ] } ] } ], - "configFile": "cloudoptimization_v1.yaml", + "configFile": "metastore_v1alpha.yaml", "serviceConfigApiNames": [ - "google.cloud.optimization.v1.FleetRouting", + "google.cloud.location.Locations", + "google.cloud.metastore.v1alpha.DataprocMetastore", + "google.cloud.metastore.v1alpha.DataprocMetastoreFederation", + "google.iam.v1.IAMPolicy", "google.longrunning.Operations" ], - "nameInServiceConfig": "cloudoptimization.googleapis.com" + "nameInServiceConfig": "metastore.googleapis.com" }, { - "id": "google.cloud.orchestration.airflow.service.v1", - "directory": "google/cloud/orchestration/airflow/service/v1", - "version": "v1", + "id": "google.cloud.metastore.v1beta", + "directory": "google/cloud/metastore/v1beta", + "version": "v1beta", "majorVersion": "v1", - "hostName": "composer.googleapis.com", - "title": "Cloud Composer API", - "description": "Manages Apache Airflow environments on Google Cloud Platform.", + "hostName": "metastore.googleapis.com", + "title": "Dataproc Metastore API", + "description": "The Dataproc Metastore API is used to manage the lifecycle and configuration of metastore services.", "importDirectories": [ "google/api", - "google/cloud/orchestration/airflow/service/v1", + "google/cloud/metastore/v1beta", "google/longrunning", "google/protobuf", "google/type" @@ -60228,14826 +66047,23725 @@ "options": { "go_package": { "valueCounts": { - "cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb;servicepb": 3 + "cloud.google.com/go/metastore/apiv1beta/metastorepb;metastorepb": 2 } }, "java_multiple_files": { "valueCounts": { - "true": 3 + "true": 2 } }, "java_package": { "valueCounts": { - "com.google.cloud.orchestration.airflow.service.v1": 3 + "com.google.cloud.metastore.v1beta": 2 + } + }, + "php_namespace": { + "valueCounts": { + "": 1, + "Google\\Cloud\\Metastore\\V1beta": 1 } } }, "services": [ { - "shortName": "Environments", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments", + "shortName": "DataprocMetastore", + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore", "methods": [ { - "shortName": "CreateEnvironment", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.CreateEnvironment", + "shortName": "AlterMetadataResourceLocation", + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.AlterMetadataResourceLocation", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/environments" + "path": "/v1beta/{service=projects/*/locations/*/services/*}:alterLocation" } ] }, { - "shortName": "DeleteEnvironment", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.DeleteEnvironment", + "shortName": "CreateBackup", + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.CreateBackup", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/environments/*}" + "httpMethod": "POST", + "path": "/v1beta/{parent=projects/*/locations/*/services/*}/backups" } ] }, { - "shortName": "GetEnvironment", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.GetEnvironment", + "shortName": "CreateMetadataImport", + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.CreateMetadataImport", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/environments/*}" + "httpMethod": "POST", + "path": "/v1beta/{parent=projects/*/locations/*/services/*}/metadataImports" } ] }, { - "shortName": "ListEnvironments", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.ListEnvironments", + "shortName": "CreateService", + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.CreateService", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/environments" + "httpMethod": "POST", + "path": "/v1beta/{parent=projects/*/locations/*}/services" } ] }, { - "shortName": "LoadSnapshot", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.LoadSnapshot", + "shortName": "DeleteBackup", + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.DeleteBackup", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{environment=projects/*/locations/*/environments/*}:loadSnapshot" + "httpMethod": "DELETE", + "path": "/v1beta/{name=projects/*/locations/*/services/*/backups/*}" } ] }, { - "shortName": "SaveSnapshot", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.SaveSnapshot", + "shortName": "DeleteService", + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.DeleteService", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{environment=projects/*/locations/*/environments/*}:saveSnapshot" + "httpMethod": "DELETE", + "path": "/v1beta/{name=projects/*/locations/*/services/*}" } ] }, { - "shortName": "UpdateEnvironment", - "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.UpdateEnvironment", + "shortName": "ExportMetadata", + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.ExportMetadata", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{name=projects/*/locations/*/environments/*}" + "httpMethod": "POST", + "path": "/v1beta/{service=projects/*/locations/*/services/*}:exportMetadata" } ] - } - ] - }, - { - "shortName": "ImageVersions", - "fullName": "google.cloud.orchestration.airflow.service.v1.ImageVersions", - "methods": [ + }, { - "shortName": "ListImageVersions", - "fullName": "google.cloud.orchestration.airflow.service.v1.ImageVersions.ListImageVersions", + "shortName": "GetBackup", + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.GetBackup", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/imageVersions" + "path": "/v1beta/{name=projects/*/locations/*/services/*/backups/*}" } ] - } - ] - } - ], - "configFile": "composer_v1.yaml", - "serviceConfigApiNames": [ - "google.cloud.orchestration.airflow.service.v1.Environments", - "google.cloud.orchestration.airflow.service.v1.ImageVersions", - "google.longrunning.Operations" - ], - "nameInServiceConfig": "composer.googleapis.com" - }, - { - "id": "google.cloud.orchestration.airflow.service.v1beta1", - "directory": "google/cloud/orchestration/airflow/service/v1beta1", - "version": "v1beta1", - "majorVersion": "v1", - "hostName": "composer.googleapis.com", - "title": "Cloud Composer API", - "description": "Manages Apache Airflow environments on Google Cloud Platform.", - "importDirectories": [ - "google/api", - "google/cloud/orchestration/airflow/service/v1beta1", - "google/longrunning", - "google/protobuf", - "google/type" - ], - "options": { - "go_package": { - "valueCounts": { - "cloud.google.com/go/orchestration/airflow/service/apiv1beta1/servicepb;servicepb": 3 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 3 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.orchestration.airflow.service.v1beta1": 3 - } - } - }, - "services": [ - { - "shortName": "Environments", - "fullName": "google.cloud.orchestration.airflow.service.v1beta1.Environments", - "methods": [ + }, { - "shortName": "CheckUpgrade", - "fullName": "google.cloud.orchestration.airflow.service.v1beta1.Environments.CheckUpgrade", + "shortName": "GetMetadataImport", + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.GetMetadataImport", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta1/{environment=projects/*/locations/*/environments/*}:checkUpgrade" + "httpMethod": "GET", + "path": "/v1beta/{name=projects/*/locations/*/services/*/metadataImports/*}" } ] }, { - "shortName": "CreateEnvironment", - "fullName": "google.cloud.orchestration.airflow.service.v1beta1.Environments.CreateEnvironment", + "shortName": "GetService", + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.GetService", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta1/{parent=projects/*/locations/*}/environments" + "httpMethod": "GET", + "path": "/v1beta/{name=projects/*/locations/*/services/*}" } ] }, { - "shortName": "DeleteEnvironment", - "fullName": "google.cloud.orchestration.airflow.service.v1beta1.Environments.DeleteEnvironment", + "shortName": "ListBackups", + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.ListBackups", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1beta1/{name=projects/*/locations/*/environments/*}" + "httpMethod": "GET", + "path": "/v1beta/{parent=projects/*/locations/*/services/*}/backups" } ] }, { - "shortName": "GetEnvironment", - "fullName": "google.cloud.orchestration.airflow.service.v1beta1.Environments.GetEnvironment", + "shortName": "ListMetadataImports", + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.ListMetadataImports", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta1/{name=projects/*/locations/*/environments/*}" + "path": "/v1beta/{parent=projects/*/locations/*/services/*}/metadataImports" } ] }, { - "shortName": "ListEnvironments", - "fullName": "google.cloud.orchestration.airflow.service.v1beta1.Environments.ListEnvironments", + "shortName": "ListServices", + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.ListServices", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta1/{parent=projects/*/locations/*}/environments" + "path": "/v1beta/{parent=projects/*/locations/*}/services" } ] }, { - "shortName": "LoadSnapshot", - "fullName": "google.cloud.orchestration.airflow.service.v1beta1.Environments.LoadSnapshot", + "shortName": "MoveTableToDatabase", + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.MoveTableToDatabase", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{environment=projects/*/locations/*/environments/*}:loadSnapshot" + "path": "/v1beta/{service=projects/*/locations/*/services/*}:moveTableToDatabase" } ] }, { - "shortName": "RestartWebServer", - "fullName": "google.cloud.orchestration.airflow.service.v1beta1.Environments.RestartWebServer", + "shortName": "QueryMetadata", + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.QueryMetadata", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{name=projects/*/locations/*/environments/*}:restartWebServer" + "path": "/v1beta/{service=projects/*/locations/*/services/*}:queryMetadata" } ] }, { - "shortName": "SaveSnapshot", - "fullName": "google.cloud.orchestration.airflow.service.v1beta1.Environments.SaveSnapshot", + "shortName": "RemoveIamPolicy", + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.RemoveIamPolicy", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{environment=projects/*/locations/*/environments/*}:saveSnapshot" + "path": "/v1beta/{resource=projects/*/locations/*/services/*/**}:removeIamPolicy" } ] }, { - "shortName": "UpdateEnvironment", - "fullName": "google.cloud.orchestration.airflow.service.v1beta1.Environments.UpdateEnvironment", + "shortName": "RestoreService", + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.RestoreService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta/{service=projects/*/locations/*/services/*}:restore" + } + ] + }, + { + "shortName": "UpdateMetadataImport", + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.UpdateMetadataImport", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1beta1/{name=projects/*/locations/*/environments/*}" + "path": "/v1beta/{metadata_import.name=projects/*/locations/*/services/*/metadataImports/*}" + } + ] + }, + { + "shortName": "UpdateService", + "fullName": "google.cloud.metastore.v1beta.DataprocMetastore.UpdateService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta/{service.name=projects/*/locations/*/services/*}" } ] } ] }, { - "shortName": "ImageVersions", - "fullName": "google.cloud.orchestration.airflow.service.v1beta1.ImageVersions", + "shortName": "DataprocMetastoreFederation", + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederation", "methods": [ { - "shortName": "ListImageVersions", - "fullName": "google.cloud.orchestration.airflow.service.v1beta1.ImageVersions.ListImageVersions", + "shortName": "CreateFederation", + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederation.CreateFederation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta/{parent=projects/*/locations/*}/federations" + } + ] + }, + { + "shortName": "DeleteFederation", + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederation.DeleteFederation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta/{name=projects/*/locations/*/federations/*}" + } + ] + }, + { + "shortName": "GetFederation", + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederation.GetFederation", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta1/{parent=projects/*/locations/*}/imageVersions" + "path": "/v1beta/{name=projects/*/locations/*/federations/*}" + } + ] + }, + { + "shortName": "ListFederations", + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederation.ListFederations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta/{parent=projects/*/locations/*}/federations" + } + ] + }, + { + "shortName": "UpdateFederation", + "fullName": "google.cloud.metastore.v1beta.DataprocMetastoreFederation.UpdateFederation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta/{federation.name=projects/*/locations/*/federations/*}" } ] } ] } ], - "configFile": "composer_v1beta1.yaml", + "configFile": "metastore_v1beta.yaml", "serviceConfigApiNames": [ - "google.cloud.orchestration.airflow.service.v1beta1.Environments", - "google.cloud.orchestration.airflow.service.v1beta1.ImageVersions", + "google.cloud.location.Locations", + "google.cloud.metastore.v1beta.DataprocMetastore", + "google.cloud.metastore.v1beta.DataprocMetastoreFederation", + "google.iam.v1.IAMPolicy", "google.longrunning.Operations" ], - "nameInServiceConfig": "composer.googleapis.com" + "nameInServiceConfig": "metastore.googleapis.com" }, { - "id": "google.cloud.orgpolicy.v2", - "directory": "google/cloud/orgpolicy/v2", - "version": "v2", - "majorVersion": "v2", - "hostName": "orgpolicy.googleapis.com", - "title": "Organization Policy API", - "description": "The Organization Policy API allows users to configure governance rules on their Google Cloud resources across the resource hierarchy.", + "id": "google.cloud.migrationcenter.v1", + "directory": "google/cloud/migrationcenter/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "migrationcenter.googleapis.com", + "title": "Migration Center API", + "description": "A unified platform that helps you accelerate your end-to-end cloud journey from your current on-premises or cloud environments to Google Cloud.", "importDirectories": [ "google/api", - "google/cloud/orgpolicy/v2", + "google/longrunning", "google/protobuf", "google/type" ], "options": { "csharp_namespace": { "valueCounts": { - "Google.Cloud.OrgPolicy.V2": 2 + "Google.Cloud.MigrationCenter.V1": 1 } }, "go_package": { "valueCounts": { - "cloud.google.com/go/orgpolicy/apiv2/orgpolicypb;orgpolicypb": 2 + "cloud.google.com/go/migrationcenter/apiv1/migrationcenterpb;migrationcenterpb": 1 } }, "java_multiple_files": { "valueCounts": { - "true": 2 + "true": 1 } }, "java_package": { "valueCounts": { - "com.google.cloud.orgpolicy.v2": 2 + "com.google.cloud.migrationcenter.v1": 1 } }, "php_namespace": { "valueCounts": { - "Google\\Cloud\\OrgPolicy\\V2": 2 + "Google\\Cloud\\MigrationCenter\\V1": 1 } }, "ruby_package": { "valueCounts": { - "Google::Cloud::OrgPolicy::V2": 2 + "Google::Cloud::MigrationCenter::V1": 1 } } }, "services": [ { - "shortName": "OrgPolicy", - "fullName": "google.cloud.orgpolicy.v2.OrgPolicy", + "shortName": "MigrationCenter", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter", "methods": [ { - "shortName": "CreatePolicy", - "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.CreatePolicy", + "shortName": "AddAssetsToGroup", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.AddAssetsToGroup", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2/{parent=projects/*}/policies" - }, + "path": "/v1/{group=projects/*/locations/*/groups/*}:addAssets" + } + ] + }, + { + "shortName": "AggregateAssetsValues", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.AggregateAssetsValues", + "mode": "UNARY", + "bindings": [ { "httpMethod": "POST", - "path": "/v2/{parent=folders/*}/policies" - }, + "path": "/v1/{parent=projects/*/locations/*}/assets:aggregateValues" + } + ] + }, + { + "shortName": "BatchDeleteAssets", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.BatchDeleteAssets", + "mode": "UNARY", + "bindings": [ { "httpMethod": "POST", - "path": "/v2/{parent=organizations/*}/policies" + "path": "/v1/{parent=projects/*/locations/*}/assets:batchDelete" } ] }, { - "shortName": "DeletePolicy", - "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.DeletePolicy", + "shortName": "BatchUpdateAssets", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.BatchUpdateAssets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/assets:batchUpdate" + } + ] + }, + { + "shortName": "CreateGroup", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.CreateGroup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/groups" + } + ] + }, + { + "shortName": "CreateImportDataFile", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.CreateImportDataFile", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/importJobs/*}/importDataFiles" + } + ] + }, + { + "shortName": "CreateImportJob", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.CreateImportJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/importJobs" + } + ] + }, + { + "shortName": "CreatePreferenceSet", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.CreatePreferenceSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/preferenceSets" + } + ] + }, + { + "shortName": "CreateReport", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.CreateReport", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/reportConfigs/*}/reports" + } + ] + }, + { + "shortName": "CreateReportConfig", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.CreateReportConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/reportConfigs" + } + ] + }, + { + "shortName": "CreateSource", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.CreateSource", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/sources" + } + ] + }, + { + "shortName": "DeleteAsset", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.DeleteAsset", "mode": "UNARY", "bindings": [ { "httpMethod": "DELETE", - "path": "/v2/{name=projects/*/policies/*}" - }, + "path": "/v1/{name=projects/*/locations/*/assets/*}" + } + ] + }, + { + "shortName": "DeleteGroup", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.DeleteGroup", + "mode": "UNARY", + "bindings": [ { "httpMethod": "DELETE", - "path": "/v2/{name=folders/*/policies/*}" - }, + "path": "/v1/{name=projects/*/locations/*/groups/*}" + } + ] + }, + { + "shortName": "DeleteImportDataFile", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.DeleteImportDataFile", + "mode": "UNARY", + "bindings": [ { "httpMethod": "DELETE", - "path": "/v2/{name=organizations/*/policies/*}" + "path": "/v1/{name=projects/*/locations/*/importJobs/*/importDataFiles/*}" } ] }, { - "shortName": "GetEffectivePolicy", - "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.GetEffectivePolicy", + "shortName": "DeleteImportJob", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.DeleteImportJob", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v2/{name=projects/*/policies/*}:getEffectivePolicy" - }, + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/importJobs/*}" + } + ] + }, + { + "shortName": "DeletePreferenceSet", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.DeletePreferenceSet", + "mode": "UNARY", + "bindings": [ { - "httpMethod": "GET", - "path": "/v2/{name=folders/*/policies/*}:getEffectivePolicy" - }, + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/preferenceSets/*}" + } + ] + }, + { + "shortName": "DeleteReport", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.DeleteReport", + "mode": "UNARY", + "bindings": [ { - "httpMethod": "GET", - "path": "/v2/{name=organizations/*/policies/*}:getEffectivePolicy" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/reportConfigs/*/reports/*}" } ] }, { - "shortName": "GetPolicy", - "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.GetPolicy", + "shortName": "DeleteReportConfig", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.DeleteReportConfig", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v2/{name=projects/*/policies/*}" - }, + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/reportConfigs/*}" + } + ] + }, + { + "shortName": "DeleteSource", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.DeleteSource", + "mode": "UNARY", + "bindings": [ { - "httpMethod": "GET", - "path": "/v2/{name=folders/*/policies/*}" - }, + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/sources/*}" + } + ] + }, + { + "shortName": "GetAsset", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.GetAsset", + "mode": "UNARY", + "bindings": [ { "httpMethod": "GET", - "path": "/v2/{name=organizations/*/policies/*}" + "path": "/v1/{name=projects/*/locations/*/assets/*}" } ] }, { - "shortName": "ListConstraints", - "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.ListConstraints", + "shortName": "GetErrorFrame", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.GetErrorFrame", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2/{parent=projects/*}/constraints" - }, + "path": "/v1/{name=projects/*/locations/*/sources/*/errorFrames/*}" + } + ] + }, + { + "shortName": "GetGroup", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.GetGroup", + "mode": "UNARY", + "bindings": [ { "httpMethod": "GET", - "path": "/v2/{parent=folders/*}/constraints" - }, + "path": "/v1/{name=projects/*/locations/*/groups/*}" + } + ] + }, + { + "shortName": "GetImportDataFile", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.GetImportDataFile", + "mode": "UNARY", + "bindings": [ { "httpMethod": "GET", - "path": "/v2/{parent=organizations/*}/constraints" + "path": "/v1/{name=projects/*/locations/*/importJobs/*/importDataFiles/*}" } ] }, { - "shortName": "ListPolicies", - "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.ListPolicies", + "shortName": "GetImportJob", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.GetImportJob", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2/{parent=projects/*}/policies" - }, + "path": "/v1/{name=projects/*/locations/*/importJobs/*}" + } + ] + }, + { + "shortName": "GetPreferenceSet", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.GetPreferenceSet", + "mode": "UNARY", + "bindings": [ { "httpMethod": "GET", - "path": "/v2/{parent=folders/*}/policies" - }, + "path": "/v1/{name=projects/*/locations/*/preferenceSets/*}" + } + ] + }, + { + "shortName": "GetReport", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.GetReport", + "mode": "UNARY", + "bindings": [ { "httpMethod": "GET", - "path": "/v2/{parent=organizations/*}/policies" + "path": "/v1/{name=projects/*/locations/*/reportConfigs/*/reports/*}" } ] }, { - "shortName": "UpdatePolicy", - "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.UpdatePolicy", + "shortName": "GetReportConfig", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.GetReportConfig", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v2/{policy.name=projects/*/policies/*}" - }, + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/reportConfigs/*}" + } + ] + }, + { + "shortName": "GetSettings", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.GetSettings", + "mode": "UNARY", + "bindings": [ { - "httpMethod": "PATCH", - "path": "/v2/{policy.name=folders/*/policies/*}" - }, + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/settings}" + } + ] + }, + { + "shortName": "GetSource", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.GetSource", + "mode": "UNARY", + "bindings": [ { - "httpMethod": "PATCH", - "path": "/v2/{policy.name=organizations/*/policies/*}" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/sources/*}" } ] - } - ] - } - ], - "configFile": "orgpolicy_v2.yaml", - "serviceConfigApiNames": [ - "google.cloud.orgpolicy.v2.OrgPolicy" - ], - "nameInServiceConfig": "orgpolicy.googleapis.com" - }, - { - "id": "google.cloud.osconfig.agentendpoint.v1", - "directory": "google/cloud/osconfig/agentendpoint/v1", - "version": "v1", - "majorVersion": "v1", - "hostName": "osconfig.googleapis.com", - "title": "OS Config API", - "description": "OS management tools that can be used for patch management, patch compliance, and configuration management on VM instances.", - "importDirectories": [ - "google/api", - "google/cloud/osconfig/agentendpoint/v1", - "google/protobuf", - "google/type" - ], - "options": { - "go_package": { - "valueCounts": { - "cloud.google.com/go/osconfig/agentendpoint/apiv1/agentendpointpb;agentendpointpb": 6 - } - }, - "java_multiple_files": { - "valueCounts": { - "": 1, - "true": 5 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.osconfig.agentendpoint.v1": 6 - } - } - }, - "services": [ - { - "shortName": "AgentEndpointService", - "fullName": "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService", - "methods": [ + }, { - "shortName": "ReceiveTaskNotification", - "fullName": "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService.ReceiveTaskNotification", - "mode": "SERVER_STREAMING" + "shortName": "ListAssets", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.ListAssets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/assets" + } + ] }, { - "shortName": "RegisterAgent", - "fullName": "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService.RegisterAgent", - "mode": "UNARY" + "shortName": "ListErrorFrames", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.ListErrorFrames", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/sources/*}/errorFrames" + } + ] }, { - "shortName": "ReportInventory", - "fullName": "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService.ReportInventory", - "mode": "UNARY" + "shortName": "ListGroups", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.ListGroups", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/groups" + } + ] }, { - "shortName": "ReportTaskComplete", - "fullName": "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService.ReportTaskComplete", - "mode": "UNARY" + "shortName": "ListImportDataFiles", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.ListImportDataFiles", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/importJobs/*}/importDataFiles" + } + ] }, { - "shortName": "ReportTaskProgress", - "fullName": "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService.ReportTaskProgress", - "mode": "UNARY" + "shortName": "ListImportJobs", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.ListImportJobs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/importJobs" + } + ] }, { - "shortName": "StartNextTask", - "fullName": "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService.StartNextTask", - "mode": "UNARY" - } - ] - } - ], - "configFile": "osconfig_v1.yaml", - "serviceConfigApiNames": [ - "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService" - ], - "nameInServiceConfig": "osconfig.googleapis.com" - }, - { - "id": "google.cloud.osconfig.agentendpoint.v1beta", - "directory": "google/cloud/osconfig/agentendpoint/v1beta", - "version": "v1beta", - "majorVersion": "v1", - "hostName": "osconfig.googleapis.com", - "title": "OS Config API", - "description": "OS management tools that can be used for patch management, patch compliance, and configuration management on VM instances.", - "importDirectories": [ - "google/api", - "google/cloud/osconfig/agentendpoint/v1beta" - ], - "options": { - "go_package": { - "valueCounts": { - "cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb;agentendpointpb": 4 - } - }, - "java_multiple_files": { - "valueCounts": { - "": 3, - "true": 1 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.osconfig.agentendpoint.v1beta": 4 - } - }, - "php_namespace": { - "valueCounts": { - "Google\\Cloud\\OsConfig\\V1beta": 4 - } - } - }, - "services": [ - { - "shortName": "AgentEndpointService", - "fullName": "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService", - "methods": [ + "shortName": "ListPreferenceSets", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.ListPreferenceSets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/preferenceSets" + } + ] + }, { - "shortName": "LookupEffectiveGuestPolicy", - "fullName": "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService.LookupEffectiveGuestPolicy", - "mode": "UNARY" + "shortName": "ListReportConfigs", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.ListReportConfigs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/reportConfigs" + } + ] }, { - "shortName": "ReceiveTaskNotification", - "fullName": "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService.ReceiveTaskNotification", - "mode": "SERVER_STREAMING" + "shortName": "ListReports", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.ListReports", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/reportConfigs/*}/reports" + } + ] }, { - "shortName": "RegisterAgent", - "fullName": "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService.RegisterAgent", - "mode": "UNARY" + "shortName": "ListSources", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.ListSources", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/sources" + } + ] }, { - "shortName": "ReportTaskComplete", - "fullName": "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService.ReportTaskComplete", - "mode": "UNARY" + "shortName": "RemoveAssetsFromGroup", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.RemoveAssetsFromGroup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{group=projects/*/locations/*/groups/*}:removeAssets" + } + ] }, { - "shortName": "ReportTaskProgress", - "fullName": "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService.ReportTaskProgress", - "mode": "UNARY" + "shortName": "ReportAssetFrames", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.ReportAssetFrames", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/assets:reportAssetFrames" + } + ] }, { - "shortName": "StartNextTask", - "fullName": "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService.StartNextTask", - "mode": "UNARY" + "shortName": "RunImportJob", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.RunImportJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/importJobs/*}:run" + } + ] + }, + { + "shortName": "UpdateAsset", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.UpdateAsset", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{asset.name=projects/*/locations/*/assets/*}" + } + ] + }, + { + "shortName": "UpdateGroup", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.UpdateGroup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{group.name=projects/*/locations/*/groups/*}" + } + ] + }, + { + "shortName": "UpdateImportJob", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.UpdateImportJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{import_job.name=projects/*/locations/*/importJobs/*}" + } + ] + }, + { + "shortName": "UpdatePreferenceSet", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.UpdatePreferenceSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{preference_set.name=projects/*/locations/*/preferenceSets/*}" + } + ] + }, + { + "shortName": "UpdateSettings", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.UpdateSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{settings.name=projects/*/locations/*/settings}" + } + ] + }, + { + "shortName": "UpdateSource", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.UpdateSource", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{source.name=projects/*/locations/*/sources/*}" + } + ] + }, + { + "shortName": "ValidateImportJob", + "fullName": "google.cloud.migrationcenter.v1.MigrationCenter.ValidateImportJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/importJobs/*}:validate" + } + ] } ] } ], - "configFile": "osconfig_v1beta.yaml", + "configFile": "migrationcenter_v1.yaml", "serviceConfigApiNames": [ - "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService" + "google.cloud.location.Locations", + "google.cloud.migrationcenter.v1.MigrationCenter", + "google.longrunning.Operations" ], - "nameInServiceConfig": "osconfig.googleapis.com" + "nameInServiceConfig": "migrationcenter.googleapis.com" }, { - "id": "google.cloud.osconfig.v1", - "directory": "google/cloud/osconfig/v1", + "id": "google.cloud.netapp.v1", + "directory": "google/cloud/netapp/v1", "version": "v1", "majorVersion": "v1", - "hostName": "osconfig.googleapis.com", - "title": "OS Config API", - "description": "OS management tools that can be used for patch management, patch compliance, and configuration management on VM instances.", + "hostName": "netapp.googleapis.com", + "title": "NetApp API", + "description": "Google Cloud NetApp Volumes is a fully-managed, cloud-based data storage service that provides advanced data management capabilities and highly scalable performance with global availability.", "importDirectories": [ "google/api", - "google/cloud/osconfig/v1", + "google/cloud/netapp/v1", "google/longrunning", - "google/protobuf", - "google/type" + "google/protobuf" ], "options": { "csharp_namespace": { "valueCounts": { - "Google.Cloud.OsConfig.V1": 10 + "Google.Cloud.NetApp.V1": 11 } }, "go_package": { "valueCounts": { - "cloud.google.com/go/osconfig/apiv1/osconfigpb;osconfigpb": 10 + "cloud.google.com/go/netapp/apiv1/netapppb;netapppb": 11 } }, "java_multiple_files": { "valueCounts": { - "": 4, - "true": 6 + "true": 11 } }, "java_package": { "valueCounts": { - "com.google.cloud.osconfig.v1": 10 + "com.google.cloud.netapp.v1": 11 } }, "php_namespace": { "valueCounts": { - "Google\\Cloud\\OsConfig\\V1": 10 + "Google\\Cloud\\NetApp\\V1": 11 } }, "ruby_package": { "valueCounts": { - "Google::Cloud::OsConfig::V1": 10 + "Google::Cloud::NetApp::V1": 11 } } }, "services": [ { - "shortName": "OsConfigService", - "fullName": "google.cloud.osconfig.v1.OsConfigService", + "shortName": "NetApp", + "fullName": "google.cloud.netapp.v1.NetApp", "methods": [ { - "shortName": "CancelPatchJob", - "fullName": "google.cloud.osconfig.v1.OsConfigService.CancelPatchJob", + "shortName": "CreateActiveDirectory", + "fullName": "google.cloud.netapp.v1.NetApp.CreateActiveDirectory", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{name=projects/*/patchJobs/*}:cancel" + "path": "/v1/{parent=projects/*/locations/*}/activeDirectories" } ] }, { - "shortName": "CreatePatchDeployment", - "fullName": "google.cloud.osconfig.v1.OsConfigService.CreatePatchDeployment", + "shortName": "CreateBackup", + "fullName": "google.cloud.netapp.v1.NetApp.CreateBackup", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*}/patchDeployments" + "path": "/v1/{parent=projects/*/locations/*/backupVaults/*}/backups" } ] }, { - "shortName": "DeletePatchDeployment", - "fullName": "google.cloud.osconfig.v1.OsConfigService.DeletePatchDeployment", + "shortName": "CreateBackupPolicy", + "fullName": "google.cloud.netapp.v1.NetApp.CreateBackupPolicy", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/patchDeployments/*}" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/backupPolicies" } ] }, { - "shortName": "ExecutePatchJob", - "fullName": "google.cloud.osconfig.v1.OsConfigService.ExecutePatchJob", + "shortName": "CreateBackupVault", + "fullName": "google.cloud.netapp.v1.NetApp.CreateBackupVault", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*}/patchJobs:execute" + "path": "/v1/{parent=projects/*/locations/*}/backupVaults" } ] }, { - "shortName": "GetPatchDeployment", - "fullName": "google.cloud.osconfig.v1.OsConfigService.GetPatchDeployment", + "shortName": "CreateKmsConfig", + "fullName": "google.cloud.netapp.v1.NetApp.CreateKmsConfig", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/patchDeployments/*}" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/kmsConfigs" } ] }, { - "shortName": "GetPatchJob", - "fullName": "google.cloud.osconfig.v1.OsConfigService.GetPatchJob", + "shortName": "CreateReplication", + "fullName": "google.cloud.netapp.v1.NetApp.CreateReplication", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/patchJobs/*}" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/volumes/*}/replications" } ] }, { - "shortName": "ListPatchDeployments", - "fullName": "google.cloud.osconfig.v1.OsConfigService.ListPatchDeployments", + "shortName": "CreateSnapshot", + "fullName": "google.cloud.netapp.v1.NetApp.CreateSnapshot", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*}/patchDeployments" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/volumes/*}/snapshots" } ] }, { - "shortName": "ListPatchJobInstanceDetails", - "fullName": "google.cloud.osconfig.v1.OsConfigService.ListPatchJobInstanceDetails", + "shortName": "CreateStoragePool", + "fullName": "google.cloud.netapp.v1.NetApp.CreateStoragePool", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/patchJobs/*}/instanceDetails" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/storagePools" } ] }, { - "shortName": "ListPatchJobs", - "fullName": "google.cloud.osconfig.v1.OsConfigService.ListPatchJobs", + "shortName": "CreateVolume", + "fullName": "google.cloud.netapp.v1.NetApp.CreateVolume", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*}/patchJobs" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/volumes" } ] }, { - "shortName": "PausePatchDeployment", - "fullName": "google.cloud.osconfig.v1.OsConfigService.PausePatchDeployment", + "shortName": "DeleteActiveDirectory", + "fullName": "google.cloud.netapp.v1.NetApp.DeleteActiveDirectory", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/patchDeployments/*}:pause" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/activeDirectories/*}" } ] }, { - "shortName": "ResumePatchDeployment", - "fullName": "google.cloud.osconfig.v1.OsConfigService.ResumePatchDeployment", + "shortName": "DeleteBackup", + "fullName": "google.cloud.netapp.v1.NetApp.DeleteBackup", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/patchDeployments/*}:resume" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/backupVaults/*/backups/*}" } ] }, { - "shortName": "UpdatePatchDeployment", - "fullName": "google.cloud.osconfig.v1.OsConfigService.UpdatePatchDeployment", + "shortName": "DeleteBackupPolicy", + "fullName": "google.cloud.netapp.v1.NetApp.DeleteBackupPolicy", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{patch_deployment.name=projects/*/patchDeployments/*}" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/backupPolicies/*}" } ] - } - ] - }, - { - "shortName": "OsConfigZonalService", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalService", - "methods": [ + }, { - "shortName": "CreateOSPolicyAssignment", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.CreateOSPolicyAssignment", + "shortName": "DeleteBackupVault", + "fullName": "google.cloud.netapp.v1.NetApp.DeleteBackupVault", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/osPolicyAssignments" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/backupVaults/*}" } ] }, { - "shortName": "DeleteOSPolicyAssignment", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.DeleteOSPolicyAssignment", + "shortName": "DeleteKmsConfig", + "fullName": "google.cloud.netapp.v1.NetApp.DeleteKmsConfig", "mode": "UNARY", "bindings": [ { "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/osPolicyAssignments/*}" + "path": "/v1/{name=projects/*/locations/*/kmsConfigs/*}" } ] }, { - "shortName": "GetInventory", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.GetInventory", + "shortName": "DeleteReplication", + "fullName": "google.cloud.netapp.v1.NetApp.DeleteReplication", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/instances/*/inventory}" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/volumes/*/replications/*}" } ] }, { - "shortName": "GetOSPolicyAssignment", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.GetOSPolicyAssignment", + "shortName": "DeleteSnapshot", + "fullName": "google.cloud.netapp.v1.NetApp.DeleteSnapshot", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/osPolicyAssignments/*}" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/volumes/*/snapshots/*}" } ] }, { - "shortName": "GetOSPolicyAssignmentReport", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.GetOSPolicyAssignmentReport", + "shortName": "DeleteStoragePool", + "fullName": "google.cloud.netapp.v1.NetApp.DeleteStoragePool", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/instances/*/osPolicyAssignments/*/report}" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/storagePools/*}" } ] }, { - "shortName": "GetVulnerabilityReport", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.GetVulnerabilityReport", + "shortName": "DeleteVolume", + "fullName": "google.cloud.netapp.v1.NetApp.DeleteVolume", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/instances/*/vulnerabilityReport}" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/volumes/*}" } ] }, { - "shortName": "ListInventories", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.ListInventories", + "shortName": "EncryptVolumes", + "fullName": "google.cloud.netapp.v1.NetApp.EncryptVolumes", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*/instances/*}/inventories" + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/kmsConfigs/*}:encrypt" } ] }, { - "shortName": "ListOSPolicyAssignmentReports", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.ListOSPolicyAssignmentReports", + "shortName": "GetActiveDirectory", + "fullName": "google.cloud.netapp.v1.NetApp.GetActiveDirectory", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*/instances/*/osPolicyAssignments/*}/reports" + "path": "/v1/{name=projects/*/locations/*/activeDirectories/*}" } ] }, { - "shortName": "ListOSPolicyAssignmentRevisions", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.ListOSPolicyAssignmentRevisions", + "shortName": "GetBackup", + "fullName": "google.cloud.netapp.v1.NetApp.GetBackup", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/osPolicyAssignments/*}:listRevisions" + "path": "/v1/{name=projects/*/locations/*/backupVaults/*/backups/*}" } ] }, { - "shortName": "ListOSPolicyAssignments", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.ListOSPolicyAssignments", + "shortName": "GetBackupPolicy", + "fullName": "google.cloud.netapp.v1.NetApp.GetBackupPolicy", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/osPolicyAssignments" + "path": "/v1/{name=projects/*/locations/*/backupPolicies/*}" } ] }, { - "shortName": "ListVulnerabilityReports", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.ListVulnerabilityReports", + "shortName": "GetBackupVault", + "fullName": "google.cloud.netapp.v1.NetApp.GetBackupVault", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*/instances/*}/vulnerabilityReports" + "path": "/v1/{name=projects/*/locations/*/backupVaults/*}" } ] }, { - "shortName": "UpdateOSPolicyAssignment", - "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.UpdateOSPolicyAssignment", + "shortName": "GetKmsConfig", + "fullName": "google.cloud.netapp.v1.NetApp.GetKmsConfig", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{os_policy_assignment.name=projects/*/locations/*/osPolicyAssignments/*}" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/kmsConfigs/*}" } ] - } - ] - } - ], - "configFile": "osconfig_v1.yaml", - "serviceConfigApiNames": [ - "google.cloud.osconfig.v1.OsConfigService", - "google.cloud.osconfig.v1.OsConfigZonalService" - ], - "nameInServiceConfig": "osconfig.googleapis.com" - }, - { - "id": "google.cloud.osconfig.v1alpha", - "directory": "google/cloud/osconfig/v1alpha", - "version": "v1alpha", - "majorVersion": "v1", - "hostName": "osconfig.googleapis.com", - "title": "OS Config API", - "description": "OS management tools that can be used for patch management, patch compliance, and configuration management on VM instances.", - "importDirectories": [ - "google/api", - "google/cloud/osconfig/v1alpha", - "google/longrunning", - "google/protobuf", - "google/type" - ], - "options": { - "csharp_namespace": { - "valueCounts": { - "Google.Cloud.OsConfig.V1Alpha": 9 - } - }, - "go_package": { - "valueCounts": { - "cloud.google.com/go/osconfig/apiv1alpha/osconfigpb;osconfigpb": 9 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 9 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.osconfig.v1alpha": 9 - } - }, - "php_namespace": { - "valueCounts": { - "Google\\Cloud\\OsConfig\\V1alpha": 9 - } - }, - "ruby_package": { - "valueCounts": { - "Google::Cloud::OsConfig::V1alpha": 9 - } - } - }, - "services": [ - { - "shortName": "OsConfigZonalService", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService", - "methods": [ + }, { - "shortName": "CreateOSPolicyAssignment", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.CreateOSPolicyAssignment", + "shortName": "GetReplication", + "fullName": "google.cloud.netapp.v1.NetApp.GetReplication", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1alpha/{parent=projects/*/locations/*}/osPolicyAssignments" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/volumes/*/replications/*}" } ] }, { - "shortName": "DeleteOSPolicyAssignment", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.DeleteOSPolicyAssignment", + "shortName": "GetSnapshot", + "fullName": "google.cloud.netapp.v1.NetApp.GetSnapshot", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1alpha/{name=projects/*/locations/*/osPolicyAssignments/*}" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/volumes/*/snapshots/*}" } ] }, { - "shortName": "GetInstanceOSPoliciesCompliance", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.GetInstanceOSPoliciesCompliance", + "shortName": "GetStoragePool", + "fullName": "google.cloud.netapp.v1.NetApp.GetStoragePool", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1alpha/{name=projects/*/locations/*/instanceOSPoliciesCompliances/*}" + "path": "/v1/{name=projects/*/locations/*/storagePools/*}" } ] }, { - "shortName": "GetInventory", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.GetInventory", + "shortName": "GetVolume", + "fullName": "google.cloud.netapp.v1.NetApp.GetVolume", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1alpha/{name=projects/*/locations/*/instances/*/inventory}" + "path": "/v1/{name=projects/*/locations/*/volumes/*}" } ] }, { - "shortName": "GetOSPolicyAssignment", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.GetOSPolicyAssignment", + "shortName": "ListActiveDirectories", + "fullName": "google.cloud.netapp.v1.NetApp.ListActiveDirectories", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1alpha/{name=projects/*/locations/*/osPolicyAssignments/*}" + "path": "/v1/{parent=projects/*/locations/*}/activeDirectories" } ] }, { - "shortName": "GetOSPolicyAssignmentReport", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.GetOSPolicyAssignmentReport", + "shortName": "ListBackupPolicies", + "fullName": "google.cloud.netapp.v1.NetApp.ListBackupPolicies", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1alpha/{name=projects/*/locations/*/instances/*/osPolicyAssignments/*/report}" + "path": "/v1/{parent=projects/*/locations/*}/backupPolicies" } ] }, { - "shortName": "GetVulnerabilityReport", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.GetVulnerabilityReport", + "shortName": "ListBackupVaults", + "fullName": "google.cloud.netapp.v1.NetApp.ListBackupVaults", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1alpha/{name=projects/*/locations/*/instances/*/vulnerabilityReport}" + "path": "/v1/{parent=projects/*/locations/*}/backupVaults" } ] }, { - "shortName": "ListInstanceOSPoliciesCompliances", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.ListInstanceOSPoliciesCompliances", + "shortName": "ListBackups", + "fullName": "google.cloud.netapp.v1.NetApp.ListBackups", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1alpha/{parent=projects/*/locations/*}/instanceOSPoliciesCompliances" + "path": "/v1/{parent=projects/*/locations/*/backupVaults/*}/backups" } ] }, { - "shortName": "ListInventories", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.ListInventories", + "shortName": "ListKmsConfigs", + "fullName": "google.cloud.netapp.v1.NetApp.ListKmsConfigs", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1alpha/{parent=projects/*/locations/*/instances/*}/inventories" + "path": "/v1/{parent=projects/*/locations/*}/kmsConfigs" } ] }, { - "shortName": "ListOSPolicyAssignmentReports", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.ListOSPolicyAssignmentReports", + "shortName": "ListReplications", + "fullName": "google.cloud.netapp.v1.NetApp.ListReplications", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1alpha/{parent=projects/*/locations/*/instances/*/osPolicyAssignments/*}/reports" + "path": "/v1/{parent=projects/*/locations/*/volumes/*}/replications" } ] }, { - "shortName": "ListOSPolicyAssignmentRevisions", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.ListOSPolicyAssignmentRevisions", + "shortName": "ListSnapshots", + "fullName": "google.cloud.netapp.v1.NetApp.ListSnapshots", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1alpha/{name=projects/*/locations/*/osPolicyAssignments/*}:listRevisions" + "path": "/v1/{parent=projects/*/locations/*/volumes/*}/snapshots" } ] }, { - "shortName": "ListOSPolicyAssignments", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.ListOSPolicyAssignments", + "shortName": "ListStoragePools", + "fullName": "google.cloud.netapp.v1.NetApp.ListStoragePools", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1alpha/{parent=projects/*/locations/*}/osPolicyAssignments" + "path": "/v1/{parent=projects/*/locations/*}/storagePools" } ] }, { - "shortName": "ListVulnerabilityReports", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.ListVulnerabilityReports", + "shortName": "ListVolumes", + "fullName": "google.cloud.netapp.v1.NetApp.ListVolumes", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1alpha/{parent=projects/*/locations/*/instances/*}/vulnerabilityReports" + "path": "/v1/{parent=projects/*/locations/*}/volumes" } ] }, { - "shortName": "UpdateOSPolicyAssignment", - "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.UpdateOSPolicyAssignment", + "shortName": "ResumeReplication", + "fullName": "google.cloud.netapp.v1.NetApp.ResumeReplication", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/volumes/*/replications/*}:resume" + } + ] + }, + { + "shortName": "ReverseReplicationDirection", + "fullName": "google.cloud.netapp.v1.NetApp.ReverseReplicationDirection", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/volumes/*/replications/*}:reverseDirection" + } + ] + }, + { + "shortName": "RevertVolume", + "fullName": "google.cloud.netapp.v1.NetApp.RevertVolume", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/volumes/*}:revert" + } + ] + }, + { + "shortName": "StopReplication", + "fullName": "google.cloud.netapp.v1.NetApp.StopReplication", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/volumes/*/replications/*}:stop" + } + ] + }, + { + "shortName": "UpdateActiveDirectory", + "fullName": "google.cloud.netapp.v1.NetApp.UpdateActiveDirectory", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1alpha/{os_policy_assignment.name=projects/*/locations/*/osPolicyAssignments/*}" + "path": "/v1/{active_directory.name=projects/*/locations/*/activeDirectories/*}" + } + ] + }, + { + "shortName": "UpdateBackup", + "fullName": "google.cloud.netapp.v1.NetApp.UpdateBackup", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{backup.name=projects/*/locations/*/backupVaults/*/backups/*}" + } + ] + }, + { + "shortName": "UpdateBackupPolicy", + "fullName": "google.cloud.netapp.v1.NetApp.UpdateBackupPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{backup_policy.name=projects/*/locations/*/backupPolicies/*}" + } + ] + }, + { + "shortName": "UpdateBackupVault", + "fullName": "google.cloud.netapp.v1.NetApp.UpdateBackupVault", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{backup_vault.name=projects/*/locations/*/backupVaults/*}" + } + ] + }, + { + "shortName": "UpdateKmsConfig", + "fullName": "google.cloud.netapp.v1.NetApp.UpdateKmsConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{kms_config.name=projects/*/locations/*/kmsConfigs/*}" + } + ] + }, + { + "shortName": "UpdateReplication", + "fullName": "google.cloud.netapp.v1.NetApp.UpdateReplication", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{replication.name=projects/*/locations/*/volumes/*/replications/*}" + } + ] + }, + { + "shortName": "UpdateSnapshot", + "fullName": "google.cloud.netapp.v1.NetApp.UpdateSnapshot", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{snapshot.name=projects/*/locations/*/volumes/*/snapshots/*}" + } + ] + }, + { + "shortName": "UpdateStoragePool", + "fullName": "google.cloud.netapp.v1.NetApp.UpdateStoragePool", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{storage_pool.name=projects/*/locations/*/storagePools/*}" + } + ] + }, + { + "shortName": "UpdateVolume", + "fullName": "google.cloud.netapp.v1.NetApp.UpdateVolume", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{volume.name=projects/*/locations/*/volumes/*}" + } + ] + }, + { + "shortName": "VerifyKmsConfig", + "fullName": "google.cloud.netapp.v1.NetApp.VerifyKmsConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/kmsConfigs/*}:verify" } ] } ] } ], - "configFile": "osconfig_v1alpha.yaml", + "configFile": "netapp_v1.yaml", "serviceConfigApiNames": [ - "google.cloud.osconfig.v1alpha.OsConfigZonalService" + "google.cloud.location.Locations", + "google.cloud.netapp.v1.NetApp", + "google.longrunning.Operations" ], - "nameInServiceConfig": "osconfig.googleapis.com" + "nameInServiceConfig": "netapp.googleapis.com" }, { - "id": "google.cloud.osconfig.v1beta", - "directory": "google/cloud/osconfig/v1beta", - "version": "v1beta", + "id": "google.cloud.networkconnectivity.v1", + "directory": "google/cloud/networkconnectivity/v1", + "version": "v1", "majorVersion": "v1", - "hostName": "osconfig.googleapis.com", - "title": "OS Config API", - "description": "OS management tools that can be used for patch management, patch compliance, and configuration management on VM instances.", + "hostName": "networkconnectivity.googleapis.com", + "title": "Network Connectivity API", + "description": "This API enables connectivity with and between Google Cloud resources.", "importDirectories": [ "google/api", - "google/cloud/osconfig/v1beta", - "google/protobuf", - "google/type" + "google/cloud/networkconnectivity/v1", + "google/longrunning", + "google/protobuf" ], "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.NetworkConnectivity.V1": 3 + } + }, "go_package": { "valueCounts": { - "cloud.google.com/go/osconfig/apiv1beta/osconfigpb;osconfigpb": 5 + "cloud.google.com/go/networkconnectivity/apiv1/networkconnectivitypb;networkconnectivitypb": 3 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 3 } }, "java_package": { "valueCounts": { - "com.google.cloud.osconfig.v1beta": 5 + "com.google.cloud.networkconnectivity.v1": 3 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\NetworkConnectivity\\V1": 3 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::NetworkConnectivity::V1": 3 } } }, "services": [ { - "shortName": "OsConfigService", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService", + "shortName": "HubService", + "fullName": "google.cloud.networkconnectivity.v1.HubService", "methods": [ { - "shortName": "CancelPatchJob", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService.CancelPatchJob", + "shortName": "AcceptHubSpoke", + "fullName": "google.cloud.networkconnectivity.v1.HubService.AcceptHubSpoke", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta/{name=projects/*/patchJobs/*}:cancel" + "path": "/v1/{name=projects/*/locations/global/hubs/*}:acceptSpoke" } ] }, { - "shortName": "CreateGuestPolicy", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService.CreateGuestPolicy", + "shortName": "CreateHub", + "fullName": "google.cloud.networkconnectivity.v1.HubService.CreateHub", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta/{parent=projects/*}/guestPolicies" + "path": "/v1/{parent=projects/*/locations/global}/hubs" } ] }, { - "shortName": "CreatePatchDeployment", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService.CreatePatchDeployment", + "shortName": "CreateSpoke", + "fullName": "google.cloud.networkconnectivity.v1.HubService.CreateSpoke", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta/{parent=projects/*}/patchDeployments" + "path": "/v1/{parent=projects/*/locations/*}/spokes" } ] }, { - "shortName": "DeleteGuestPolicy", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService.DeleteGuestPolicy", + "shortName": "DeleteHub", + "fullName": "google.cloud.networkconnectivity.v1.HubService.DeleteHub", "mode": "UNARY", "bindings": [ { "httpMethod": "DELETE", - "path": "/v1beta/{name=projects/*/guestPolicies/*}" + "path": "/v1/{name=projects/*/locations/global/hubs/*}" } ] }, { - "shortName": "DeletePatchDeployment", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService.DeletePatchDeployment", + "shortName": "DeleteSpoke", + "fullName": "google.cloud.networkconnectivity.v1.HubService.DeleteSpoke", "mode": "UNARY", "bindings": [ { "httpMethod": "DELETE", - "path": "/v1beta/{name=projects/*/patchDeployments/*}" + "path": "/v1/{name=projects/*/locations/*/spokes/*}" } ] }, { - "shortName": "ExecutePatchJob", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService.ExecutePatchJob", + "shortName": "GetGroup", + "fullName": "google.cloud.networkconnectivity.v1.HubService.GetGroup", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta/{parent=projects/*}/patchJobs:execute" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/global/hubs/*/groups/*}" } ] }, { - "shortName": "GetGuestPolicy", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService.GetGuestPolicy", + "shortName": "GetHub", + "fullName": "google.cloud.networkconnectivity.v1.HubService.GetHub", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta/{name=projects/*/guestPolicies/*}" + "path": "/v1/{name=projects/*/locations/global/hubs/*}" } ] }, { - "shortName": "GetPatchDeployment", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService.GetPatchDeployment", + "shortName": "GetRoute", + "fullName": "google.cloud.networkconnectivity.v1.HubService.GetRoute", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta/{name=projects/*/patchDeployments/*}" + "path": "/v1/{name=projects/*/locations/global/hubs/*/routeTables/*/routes/*}" } ] }, { - "shortName": "GetPatchJob", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService.GetPatchJob", + "shortName": "GetRouteTable", + "fullName": "google.cloud.networkconnectivity.v1.HubService.GetRouteTable", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta/{name=projects/*/patchJobs/*}" + "path": "/v1/{name=projects/*/locations/global/hubs/*/routeTables/*}" } ] }, { - "shortName": "ListGuestPolicies", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService.ListGuestPolicies", + "shortName": "GetSpoke", + "fullName": "google.cloud.networkconnectivity.v1.HubService.GetSpoke", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta/{parent=projects/*}/guestPolicies" + "path": "/v1/{name=projects/*/locations/*/spokes/*}" } ] }, { - "shortName": "ListPatchDeployments", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService.ListPatchDeployments", + "shortName": "ListGroups", + "fullName": "google.cloud.networkconnectivity.v1.HubService.ListGroups", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta/{parent=projects/*}/patchDeployments" + "path": "/v1/{parent=projects/*/locations/global/hubs/*}/groups" } ] }, { - "shortName": "ListPatchJobInstanceDetails", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService.ListPatchJobInstanceDetails", + "shortName": "ListHubSpokes", + "fullName": "google.cloud.networkconnectivity.v1.HubService.ListHubSpokes", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta/{parent=projects/*/patchJobs/*}/instanceDetails" + "path": "/v1/{name=projects/*/locations/global/hubs/*}:listSpokes" } ] }, { - "shortName": "ListPatchJobs", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService.ListPatchJobs", + "shortName": "ListHubs", + "fullName": "google.cloud.networkconnectivity.v1.HubService.ListHubs", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta/{parent=projects/*}/patchJobs" + "path": "/v1/{parent=projects/*/locations/global}/hubs" } ] }, { - "shortName": "LookupEffectiveGuestPolicy", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService.LookupEffectiveGuestPolicy", + "shortName": "ListRouteTables", + "fullName": "google.cloud.networkconnectivity.v1.HubService.ListRouteTables", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta/{instance=projects/*/zones/*/instances/*}:lookupEffectiveGuestPolicy" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/global/hubs/*}/routeTables" } ] }, { - "shortName": "PausePatchDeployment", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService.PausePatchDeployment", + "shortName": "ListRoutes", + "fullName": "google.cloud.networkconnectivity.v1.HubService.ListRoutes", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta/{name=projects/*/patchDeployments/*}:pause" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/global/hubs/*/routeTables/*}/routes" } ] }, { - "shortName": "ResumePatchDeployment", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService.ResumePatchDeployment", + "shortName": "ListSpokes", + "fullName": "google.cloud.networkconnectivity.v1.HubService.ListSpokes", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/spokes" + } + ] + }, + { + "shortName": "RejectHubSpoke", + "fullName": "google.cloud.networkconnectivity.v1.HubService.RejectHubSpoke", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta/{name=projects/*/patchDeployments/*}:resume" + "path": "/v1/{name=projects/*/locations/global/hubs/*}:rejectSpoke" } ] }, { - "shortName": "UpdateGuestPolicy", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService.UpdateGuestPolicy", + "shortName": "UpdateHub", + "fullName": "google.cloud.networkconnectivity.v1.HubService.UpdateHub", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1beta/{guest_policy.name=projects/*/guestPolicies/*}" + "path": "/v1/{hub.name=projects/*/locations/global/hubs/*}" } ] }, { - "shortName": "UpdatePatchDeployment", - "fullName": "google.cloud.osconfig.v1beta.OsConfigService.UpdatePatchDeployment", + "shortName": "UpdateSpoke", + "fullName": "google.cloud.networkconnectivity.v1.HubService.UpdateSpoke", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1beta/{patch_deployment.name=projects/*/patchDeployments/*}" + "path": "/v1/{spoke.name=projects/*/locations/*/spokes/*}" + } + ] + } + ] + }, + { + "shortName": "PolicyBasedRoutingService", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService", + "methods": [ + { + "shortName": "CreatePolicyBasedRoute", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService.CreatePolicyBasedRoute", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/global}/policyBasedRoutes" + } + ] + }, + { + "shortName": "DeletePolicyBasedRoute", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService.DeletePolicyBasedRoute", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/global/policyBasedRoutes/*}" + } + ] + }, + { + "shortName": "GetPolicyBasedRoute", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService.GetPolicyBasedRoute", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/global/policyBasedRoutes/*}" + } + ] + }, + { + "shortName": "ListPolicyBasedRoutes", + "fullName": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService.ListPolicyBasedRoutes", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/global}/policyBasedRoutes" } ] } ] } ], - "configFile": "osconfig_v1beta.yaml", + "configFile": "networkconnectivity_v1.yaml", "serviceConfigApiNames": [ - "google.cloud.osconfig.v1beta.OsConfigService" + "google.cloud.location.Locations", + "google.cloud.networkconnectivity.v1.HubService", + "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService", + "google.iam.v1.IAMPolicy", + "google.longrunning.Operations" ], - "nameInServiceConfig": "osconfig.googleapis.com" + "nameInServiceConfig": "networkconnectivity.googleapis.com" }, { - "id": "google.cloud.oslogin.v1", - "directory": "google/cloud/oslogin/v1", - "version": "v1", + "id": "google.cloud.networkconnectivity.v1alpha1", + "directory": "google/cloud/networkconnectivity/v1alpha1", + "version": "v1alpha1", "majorVersion": "v1", - "hostName": "oslogin.googleapis.com", - "title": "Cloud OS Login API", - "description": "You can use OS Login to manage access to your VM instances using IAM roles.", + "hostName": "networkconnectivity.googleapis.com", + "title": "Network Connectivity API", + "description": "The Network Connectivity API will be home to various services which provide information pertaining to network connectivity.", "importDirectories": [ "google/api", - "google/cloud/oslogin/common", + "google/longrunning", "google/protobuf" ], "options": { "csharp_namespace": { "valueCounts": { - "Google.Cloud.OsLogin.V1": 1 + "Google.Cloud.NetworkConnectivity.V1Alpha1": 2 } }, "go_package": { "valueCounts": { - "cloud.google.com/go/oslogin/apiv1/osloginpb;osloginpb": 1 + "cloud.google.com/go/networkconnectivity/apiv1alpha1/networkconnectivitypb;networkconnectivitypb": 2 } }, "java_multiple_files": { "valueCounts": { - "true": 1 + "true": 2 } }, "java_package": { "valueCounts": { - "com.google.cloud.oslogin.v1": 1 + "com.google.cloud.networkconnectivity.v1alpha1": 2 } }, "php_namespace": { "valueCounts": { - "Google\\Cloud\\OsLogin\\V1": 1 + "Google\\Cloud\\NetworkConnectivity\\V1alpha1": 2 } }, "ruby_package": { "valueCounts": { - "Google::Cloud::OsLogin::V1": 1 + "Google::Cloud::NetworkConnectivity::V1alpha1": 2 } } }, "services": [ { - "shortName": "OsLoginService", - "fullName": "google.cloud.oslogin.v1.OsLoginService", + "shortName": "HubService", + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService", "methods": [ { - "shortName": "CreateSshPublicKey", - "fullName": "google.cloud.oslogin.v1.OsLoginService.CreateSshPublicKey", + "shortName": "CreateHub", + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService.CreateHub", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=users/*}/sshPublicKeys" + "path": "/v1alpha1/{parent=projects/*/locations/global}/hubs" } ] }, { - "shortName": "DeletePosixAccount", - "fullName": "google.cloud.oslogin.v1.OsLoginService.DeletePosixAccount", + "shortName": "CreateSpoke", + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService.CreateSpoke", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1alpha1/{parent=projects/*/locations/*}/spokes" + } + ] + }, + { + "shortName": "DeleteHub", + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService.DeleteHub", "mode": "UNARY", "bindings": [ { "httpMethod": "DELETE", - "path": "/v1/{name=users/*/projects/*}" + "path": "/v1alpha1/{name=projects/*/locations/global/hubs/*}" } ] }, { - "shortName": "DeleteSshPublicKey", - "fullName": "google.cloud.oslogin.v1.OsLoginService.DeleteSshPublicKey", + "shortName": "DeleteSpoke", + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService.DeleteSpoke", "mode": "UNARY", "bindings": [ { "httpMethod": "DELETE", - "path": "/v1/{name=users/*/sshPublicKeys/*}" + "path": "/v1alpha1/{name=projects/*/locations/*/spokes/*}" } ] }, { - "shortName": "GetLoginProfile", - "fullName": "google.cloud.oslogin.v1.OsLoginService.GetLoginProfile", + "shortName": "GetHub", + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService.GetHub", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=users/*}/loginProfile" + "path": "/v1alpha1/{name=projects/*/locations/global/hubs/*}" } ] }, { - "shortName": "GetSshPublicKey", - "fullName": "google.cloud.oslogin.v1.OsLoginService.GetSshPublicKey", + "shortName": "GetSpoke", + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService.GetSpoke", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=users/*/sshPublicKeys/*}" + "path": "/v1alpha1/{name=projects/*/locations/*/spokes/*}" } ] }, { - "shortName": "ImportSshPublicKey", - "fullName": "google.cloud.oslogin.v1.OsLoginService.ImportSshPublicKey", + "shortName": "ListHubs", + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService.ListHubs", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=users/*}:importSshPublicKey" + "httpMethod": "GET", + "path": "/v1alpha1/{parent=projects/*/locations/global}/hubs" } ] }, { - "shortName": "UpdateSshPublicKey", - "fullName": "google.cloud.oslogin.v1.OsLoginService.UpdateSshPublicKey", + "shortName": "ListSpokes", + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService.ListSpokes", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1alpha1/{parent=projects/*/locations/*}/spokes" + } + ] + }, + { + "shortName": "UpdateHub", + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService.UpdateHub", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1/{name=users/*/sshPublicKeys/*}" + "path": "/v1alpha1/{hub.name=projects/*/locations/global/hubs/*}" + } + ] + }, + { + "shortName": "UpdateSpoke", + "fullName": "google.cloud.networkconnectivity.v1alpha1.HubService.UpdateSpoke", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1alpha1/{spoke.name=projects/*/locations/*/spokes/*}" } ] } ] } ], - "configFile": "oslogin_v1.yaml", + "configFile": "networkconnectivity_v1alpha1.yaml", "serviceConfigApiNames": [ - "google.cloud.oslogin.v1.OsLoginService" + "google.cloud.networkconnectivity.v1alpha1.HubService" ], - "nameInServiceConfig": "oslogin.googleapis.com" + "nameInServiceConfig": "networkconnectivity.googleapis.com" }, { - "id": "google.cloud.oslogin.v1beta", - "directory": "google/cloud/oslogin/v1beta", - "version": "v1beta", + "id": "google.cloud.networkmanagement.v1", + "directory": "google/cloud/networkmanagement/v1", + "version": "v1", "majorVersion": "v1", - "hostName": "oslogin.googleapis.com", - "title": "Cloud OS Login API", - "description": "You can use OS Login to manage access to your VM instances using IAM roles.", + "hostName": "networkmanagement.googleapis.com", + "title": "Network Management API", + "description": "The Network Management API provides a collection of network performance monitoring and diagnostic capabilities.", "importDirectories": [ "google/api", - "google/cloud/oslogin/common", - "google/protobuf" + "google/cloud/networkmanagement/v1", + "google/longrunning", + "google/protobuf", + "google/rpc" ], "options": { "csharp_namespace": { "valueCounts": { - "Google.Cloud.OsLogin.V1Beta": 1 + "Google.Cloud.NetworkManagement.V1": 3 } }, "go_package": { "valueCounts": { - "cloud.google.com/go/oslogin/apiv1beta/osloginpb;osloginpb": 1 + "cloud.google.com/go/networkmanagement/apiv1/networkmanagementpb;networkmanagementpb": 3 } }, "java_multiple_files": { "valueCounts": { - "true": 1 + "true": 3 } }, "java_package": { "valueCounts": { - "com.google.cloud.oslogin.v1beta": 1 + "com.google.cloud.networkmanagement.v1": 3 } }, "php_namespace": { "valueCounts": { - "Google\\Cloud\\OsLogin\\V1beta": 1 + "Google\\Cloud\\NetworkManagement\\V1": 3 } }, "ruby_package": { "valueCounts": { - "Google::Cloud::OsLogin::V1beta": 1 + "Google::Cloud::NetworkManagement::V1": 3 } } }, "services": [ { - "shortName": "OsLoginService", - "fullName": "google.cloud.oslogin.v1beta.OsLoginService", + "shortName": "ReachabilityService", + "fullName": "google.cloud.networkmanagement.v1.ReachabilityService", "methods": [ { - "shortName": "CreateSshPublicKey", - "fullName": "google.cloud.oslogin.v1beta.OsLoginService.CreateSshPublicKey", + "shortName": "CreateConnectivityTest", + "fullName": "google.cloud.networkmanagement.v1.ReachabilityService.CreateConnectivityTest", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta/{parent=users/*}/sshPublicKeys" + "path": "/v1/{parent=projects/*/locations/global}/connectivityTests" } ] }, { - "shortName": "DeletePosixAccount", - "fullName": "google.cloud.oslogin.v1beta.OsLoginService.DeletePosixAccount", + "shortName": "DeleteConnectivityTest", + "fullName": "google.cloud.networkmanagement.v1.ReachabilityService.DeleteConnectivityTest", "mode": "UNARY", "bindings": [ { "httpMethod": "DELETE", - "path": "/v1beta/{name=users/*/projects/*}" + "path": "/v1/{name=projects/*/locations/global/connectivityTests/*}" } ] }, { - "shortName": "DeleteSshPublicKey", - "fullName": "google.cloud.oslogin.v1beta.OsLoginService.DeleteSshPublicKey", + "shortName": "GetConnectivityTest", + "fullName": "google.cloud.networkmanagement.v1.ReachabilityService.GetConnectivityTest", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1beta/{name=users/*/sshPublicKeys/*}" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/global/connectivityTests/*}" } ] }, { - "shortName": "GetLoginProfile", - "fullName": "google.cloud.oslogin.v1beta.OsLoginService.GetLoginProfile", + "shortName": "ListConnectivityTests", + "fullName": "google.cloud.networkmanagement.v1.ReachabilityService.ListConnectivityTests", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta/{name=users/*}/loginProfile" + "path": "/v1/{parent=projects/*/locations/global}/connectivityTests" } ] }, { - "shortName": "GetSshPublicKey", - "fullName": "google.cloud.oslogin.v1beta.OsLoginService.GetSshPublicKey", + "shortName": "RerunConnectivityTest", + "fullName": "google.cloud.networkmanagement.v1.ReachabilityService.RerunConnectivityTest", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta/{name=users/*/sshPublicKeys/*}" + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/global/connectivityTests/*}:rerun" } ] }, { - "shortName": "ImportSshPublicKey", - "fullName": "google.cloud.oslogin.v1beta.OsLoginService.ImportSshPublicKey", + "shortName": "UpdateConnectivityTest", + "fullName": "google.cloud.networkmanagement.v1.ReachabilityService.UpdateConnectivityTest", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta/{parent=users/*}:importSshPublicKey" - } - ] - }, - { - "shortName": "UpdateSshPublicKey", - "fullName": "google.cloud.oslogin.v1beta.OsLoginService.UpdateSshPublicKey", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "PATCH", - "path": "/v1beta/{name=users/*/sshPublicKeys/*}" + "httpMethod": "PATCH", + "path": "/v1/{resource.name=projects/*/locations/global/connectivityTests/*}" } ] } ] } ], - "configFile": "oslogin_v1beta.yaml", + "configFile": "networkmanagement_v1.yaml", "serviceConfigApiNames": [ - "google.cloud.oslogin.v1beta.OsLoginService" + "google.cloud.networkmanagement.v1.ReachabilityService" ], - "nameInServiceConfig": "oslogin.googleapis.com" + "nameInServiceConfig": "networkmanagement.googleapis.com" }, { - "id": "google.cloud.paymentgateway.issuerswitch.v1", - "directory": "google/cloud/paymentgateway/issuerswitch/v1", - "version": "v1", + "id": "google.cloud.networkmanagement.v1beta1", + "directory": "google/cloud/networkmanagement/v1beta1", + "version": "v1beta1", "majorVersion": "v1", - "hostName": "issuerswitch.googleapis.com", - "title": "Issuer switch API", - "description": "", + "hostName": "networkmanagement.googleapis.com", + "title": "Network Management API", + "description": "The Network Management API provides a collection of network performance monitoring and diagnostic capabilities.", "importDirectories": [ "google/api", - "google/cloud/paymentgateway/issuerswitch/v1", - "google/logging/type", + "google/cloud/networkmanagement/v1beta1", "google/longrunning", "google/protobuf", - "google/type" + "google/rpc" ], "options": { "csharp_namespace": { "valueCounts": { - "Google.Cloud.PaymentGateway.IssuerSwitch.V1": 5 + "Google.Cloud.NetworkManagement.V1Beta1": 3 } }, "go_package": { "valueCounts": { - "cloud.google.com/go/paymentgateway/issuerswitch/apiv1/issuerswitchpb;issuerswitchpb": 5 + "cloud.google.com/go/networkmanagement/apiv1beta1/networkmanagementpb;networkmanagementpb": 3 } }, "java_multiple_files": { "valueCounts": { - "true": 5 + "true": 3 } }, "java_package": { "valueCounts": { - "com.google.cloud.paymentgateway.issuerswitch.v1": 5 + "com.google.cloud.networkmanagement.v1beta1": 3 } }, "php_namespace": { "valueCounts": { - "Google\\Cloud\\PaymentGateway\\IssuerSwitch\\V1": 5 + "Google\\Cloud\\NetworkManagement\\V1beta1": 3 } }, "ruby_package": { "valueCounts": { - "Google::Cloud::PaymentGateway::IssuerSwitch::V1": 5 + "Google::Cloud::NetworkManagement::V1beta1": 3 } } }, "services": [ { - "shortName": "IssuerSwitchResolutions", - "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchResolutions", + "shortName": "ReachabilityService", + "fullName": "google.cloud.networkmanagement.v1beta1.ReachabilityService", "methods": [ { - "shortName": "CreateComplaint", - "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchResolutions.CreateComplaint", + "shortName": "CreateConnectivityTest", + "fullName": "google.cloud.networkmanagement.v1beta1.ReachabilityService.CreateConnectivityTest", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*}/complaints" + "path": "/v1beta1/{parent=projects/*/locations/global}/connectivityTests" } ] }, { - "shortName": "CreateDispute", - "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchResolutions.CreateDispute", + "shortName": "DeleteConnectivityTest", + "fullName": "google.cloud.networkmanagement.v1beta1.ReachabilityService.DeleteConnectivityTest", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*}/disputes" + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/global/connectivityTests/*}" } ] }, { - "shortName": "ResolveComplaint", - "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchResolutions.ResolveComplaint", + "shortName": "GetConnectivityTest", + "fullName": "google.cloud.networkmanagement.v1beta1.ReachabilityService.GetConnectivityTest", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{complaint.name=projects/*/complaints/*}:resolve" + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/global/connectivityTests/*}" } ] }, { - "shortName": "ResolveDispute", - "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchResolutions.ResolveDispute", + "shortName": "ListConnectivityTests", + "fullName": "google.cloud.networkmanagement.v1beta1.ReachabilityService.ListConnectivityTests", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/global}/connectivityTests" + } + ] + }, + { + "shortName": "RerunConnectivityTest", + "fullName": "google.cloud.networkmanagement.v1beta1.ReachabilityService.RerunConnectivityTest", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{dispute.name=projects/*/disputes/*}:resolve" + "path": "/v1beta1/{name=projects/*/locations/global/connectivityTests/*}:rerun" + } + ] + }, + { + "shortName": "UpdateConnectivityTest", + "fullName": "google.cloud.networkmanagement.v1beta1.ReachabilityService.UpdateConnectivityTest", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{resource.name=projects/*/locations/global/connectivityTests/*}" } ] } ] + } + ], + "configFile": "networkmanagement_v1beta1.yaml", + "serviceConfigApiNames": [ + "google.cloud.networkmanagement.v1beta1.ReachabilityService" + ], + "nameInServiceConfig": "networkmanagement.googleapis.com" + }, + { + "id": "google.cloud.networksecurity.v1", + "directory": "google/cloud/networksecurity/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "networksecurity.googleapis.com", + "title": "Network Security API", + "description": "", + "importDirectories": [ + "google/api", + "google/cloud/networksecurity/v1", + "google/longrunning", + "google/protobuf" + ], + "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.NetworkSecurity.V1": 6 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/networksecurity/apiv1/networksecuritypb;networksecuritypb": 6 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 6 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.networksecurity.v1": 6 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\NetworkSecurity\\V1": 6 + } }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::NetworkSecurity::V1": 6 + } + } + }, + "services": [ { - "shortName": "IssuerSwitchRules", - "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchRules", + "shortName": "NetworkSecurity", + "fullName": "google.cloud.networksecurity.v1.NetworkSecurity", "methods": [ { - "shortName": "BatchCreateRuleMetadataValues", - "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchRules.BatchCreateRuleMetadataValues", + "shortName": "CreateAuthorizationPolicy", + "fullName": "google.cloud.networksecurity.v1.NetworkSecurity.CreateAuthorizationPolicy", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/rules/*/metadata/*}/values:batchCreate" + "path": "/v1/{parent=projects/*/locations/*}/authorizationPolicies" } ] }, { - "shortName": "BatchDeleteRuleMetadataValues", - "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchRules.BatchDeleteRuleMetadataValues", + "shortName": "CreateClientTlsPolicy", + "fullName": "google.cloud.networksecurity.v1.NetworkSecurity.CreateClientTlsPolicy", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/rules/*/metadata/*}/values:batchDelete" + "path": "/v1/{parent=projects/*/locations/*}/clientTlsPolicies" } ] }, { - "shortName": "ListRuleMetadata", - "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchRules.ListRuleMetadata", + "shortName": "CreateServerTlsPolicy", + "fullName": "google.cloud.networksecurity.v1.NetworkSecurity.CreateServerTlsPolicy", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/rules/*}/metadata" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/serverTlsPolicies" } ] }, { - "shortName": "ListRuleMetadataValues", - "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchRules.ListRuleMetadataValues", + "shortName": "DeleteAuthorizationPolicy", + "fullName": "google.cloud.networksecurity.v1.NetworkSecurity.DeleteAuthorizationPolicy", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/rules/*/metadata/*}/values" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/authorizationPolicies/*}" } ] }, { - "shortName": "ListRules", - "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchRules.ListRules", + "shortName": "DeleteClientTlsPolicy", + "fullName": "google.cloud.networksecurity.v1.NetworkSecurity.DeleteClientTlsPolicy", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*}/rules" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/clientTlsPolicies/*}" } ] - } - ] - }, - { - "shortName": "IssuerSwitchTransactions", - "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchTransactions", - "methods": [ + }, { - "shortName": "ExportComplaintTransactions", - "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchTransactions.ExportComplaintTransactions", + "shortName": "DeleteServerTlsPolicy", + "fullName": "google.cloud.networksecurity.v1.NetworkSecurity.DeleteServerTlsPolicy", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*}/complaintTransactions:export" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/serverTlsPolicies/*}" } ] }, { - "shortName": "ExportFinancialTransactions", - "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchTransactions.ExportFinancialTransactions", + "shortName": "GetAuthorizationPolicy", + "fullName": "google.cloud.networksecurity.v1.NetworkSecurity.GetAuthorizationPolicy", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*}/financialTransactions:export" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/authorizationPolicies/*}" } ] }, { - "shortName": "ExportMandateTransactions", - "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchTransactions.ExportMandateTransactions", + "shortName": "GetClientTlsPolicy", + "fullName": "google.cloud.networksecurity.v1.NetworkSecurity.GetClientTlsPolicy", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*}/mandateTransactions:export" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/clientTlsPolicies/*}" } ] }, { - "shortName": "ExportMetadataTransactions", - "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchTransactions.ExportMetadataTransactions", + "shortName": "GetServerTlsPolicy", + "fullName": "google.cloud.networksecurity.v1.NetworkSecurity.GetServerTlsPolicy", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*}/metadataTransactions:export" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/serverTlsPolicies/*}" } ] }, { - "shortName": "ListComplaintTransactions", - "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchTransactions.ListComplaintTransactions", + "shortName": "ListAuthorizationPolicies", + "fullName": "google.cloud.networksecurity.v1.NetworkSecurity.ListAuthorizationPolicies", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*}/complaintTransactions" + "path": "/v1/{parent=projects/*/locations/*}/authorizationPolicies" } ] }, { - "shortName": "ListFinancialTransactions", - "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchTransactions.ListFinancialTransactions", + "shortName": "ListClientTlsPolicies", + "fullName": "google.cloud.networksecurity.v1.NetworkSecurity.ListClientTlsPolicies", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*}/financialTransactions" + "path": "/v1/{parent=projects/*/locations/*}/clientTlsPolicies" } ] }, { - "shortName": "ListMandateTransactions", - "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchTransactions.ListMandateTransactions", + "shortName": "ListServerTlsPolicies", + "fullName": "google.cloud.networksecurity.v1.NetworkSecurity.ListServerTlsPolicies", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*}/mandateTransactions" + "path": "/v1/{parent=projects/*/locations/*}/serverTlsPolicies" } ] }, { - "shortName": "ListMetadataTransactions", - "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchTransactions.ListMetadataTransactions", + "shortName": "UpdateAuthorizationPolicy", + "fullName": "google.cloud.networksecurity.v1.NetworkSecurity.UpdateAuthorizationPolicy", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*}/metadataTransactions" + "httpMethod": "PATCH", + "path": "/v1/{authorization_policy.name=projects/*/locations/*/authorizationPolicies/*}" } ] - } - ] - } - ], - "configFile": "issuerswitch_v1.yaml", - "serviceConfigApiNames": [ - "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchResolutions", - "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchRules", - "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchTransactions", - "google.longrunning.Operations" - ], - "nameInServiceConfig": "issuerswitch.googleapis.com" - }, - { - "id": "google.cloud.phishingprotection.v1beta1", - "directory": "google/cloud/phishingprotection/v1beta1", - "version": "v1beta1", - "majorVersion": "v1", - "hostName": "phishingprotection.googleapis.com", - "title": "Phishing Protection API", - "description": "", - "importDirectories": [ - "google/api" - ], - "options": { - "csharp_namespace": { - "valueCounts": { - "Google.Cloud.PhishingProtection.V1Beta1": 1 - } - }, - "go_package": { - "valueCounts": { - "cloud.google.com/go/phishingprotection/apiv1beta1/phishingprotectionpb;phishingprotectionpb": 1 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 1 - } - }, - "java_package": { - "valueCounts": { - "com.google.phishingprotection.v1beta1": 1 - } - }, - "objc_class_prefix": { - "valueCounts": { - "GCPP": 1 - } - }, - "php_namespace": { - "valueCounts": { - "Google\\Cloud\\PhishingProtection\\V1beta1": 1 - } - }, - "ruby_package": { - "valueCounts": { - "Google::Cloud::PhishingProtection::V1beta1": 1 - } - } - }, - "services": [ - { - "shortName": "PhishingProtectionServiceV1Beta1", - "fullName": "google.cloud.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1", - "methods": [ + }, { - "shortName": "ReportPhishing", - "fullName": "google.cloud.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1.ReportPhishing", + "shortName": "UpdateClientTlsPolicy", + "fullName": "google.cloud.networksecurity.v1.NetworkSecurity.UpdateClientTlsPolicy", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta1/{parent=projects/*}/phishing:report" + "httpMethod": "PATCH", + "path": "/v1/{client_tls_policy.name=projects/*/locations/*/clientTlsPolicies/*}" } ] - } - ] - } - ], - "configFile": "phishingprotection_v1beta1.yaml", - "serviceConfigApiNames": [ - "google.cloud.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1" - ], - "nameInServiceConfig": "phishingprotection.googleapis.com" - }, - { - "id": "google.cloud.policytroubleshooter.v1", - "directory": "google/cloud/policytroubleshooter/v1", - "version": "v1", - "majorVersion": "v1", - "hostName": "policytroubleshooter.googleapis.com", - "title": "Policy Troubleshooter API", - "description": "", - "importDirectories": [ - "google/api", - "google/cloud/policytroubleshooter/v1", - "google/iam/v1", - "google/type" - ], - "options": { - "cc_enable_arenas": { - "valueCounts": { - "": 1, - "true": 1 - } - }, - "csharp_namespace": { - "valueCounts": { - "Google.Cloud.PolicyTroubleshooter.V1": 2 - } - }, - "go_package": { - "valueCounts": { - "cloud.google.com/go/policytroubleshooter/apiv1/policytroubleshooterpb;policytroubleshooterpb": 2 - } - }, - "java_multiple_files": { - "valueCounts": { - "": 1, - "true": 1 - } - }, - "java_package": { - "valueCounts": { - "": 1, - "com.google.cloud.policytroubleshooter.v1": 1 - } - }, - "php_namespace": { - "valueCounts": { - "Google\\Cloud\\PolicyTroubleshooter\\V1": 2 - } - }, - "ruby_package": { - "valueCounts": { - "Google::Cloud::PolicyTroubleshooter::V1": 2 - } - } - }, - "services": [ - { - "shortName": "IamChecker", - "fullName": "google.cloud.policytroubleshooter.v1.IamChecker", - "methods": [ + }, { - "shortName": "TroubleshootIamPolicy", - "fullName": "google.cloud.policytroubleshooter.v1.IamChecker.TroubleshootIamPolicy", + "shortName": "UpdateServerTlsPolicy", + "fullName": "google.cloud.networksecurity.v1.NetworkSecurity.UpdateServerTlsPolicy", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/iam:troubleshoot" + "httpMethod": "PATCH", + "path": "/v1/{server_tls_policy.name=projects/*/locations/*/serverTlsPolicies/*}" } ] } ] } ], - "configFile": "policytroubleshooter_v1.yaml", + "configFile": "networksecurity_v1.yaml", "serviceConfigApiNames": [ - "google.cloud.policytroubleshooter.v1.IamChecker" + "google.cloud.location.Locations", + "google.cloud.networksecurity.v1.NetworkSecurity", + "google.iam.v1.IAMPolicy", + "google.longrunning.Operations" ], - "nameInServiceConfig": "policytroubleshooter.googleapis.com" + "nameInServiceConfig": "networksecurity.googleapis.com" }, { - "id": "google.cloud.privatecatalog.v1beta1", - "directory": "google/cloud/privatecatalog/v1beta1", + "id": "google.cloud.networksecurity.v1beta1", + "directory": "google/cloud/networksecurity/v1beta1", "version": "v1beta1", "majorVersion": "v1", - "hostName": "cloudprivatecatalog.googleapis.com", - "title": "Cloud Private Catalog API", - "description": "Enable cloud users to discover private catalogs and products in their organizations.", + "hostName": "networksecurity.googleapis.com", + "title": "Network Security API", + "description": "", "importDirectories": [ "google/api", + "google/cloud/networksecurity/v1beta1", "google/longrunning", "google/protobuf" ], "options": { "csharp_namespace": { "valueCounts": { - "Google.Cloud.PrivateCatalog.V1Beta1": 1 + "Google.Cloud.NetworkSecurity.V1Beta1": 6 } }, "go_package": { "valueCounts": { - "cloud.google.com/go/privatecatalog/apiv1beta1/privatecatalogpb;privatecatalogpb": 1 + "cloud.google.com/go/networksecurity/apiv1beta1/networksecuritypb;networksecuritypb": 6 } }, "java_multiple_files": { "valueCounts": { - "true": 1 + "true": 6 } }, "java_package": { "valueCounts": { - "com.google.cloud.privatecatalog.v1beta1": 1 + "com.google.cloud.networksecurity.v1beta1": 6 } }, "php_namespace": { "valueCounts": { - "Google\\Cloud\\PrivateCatalog\\V1beta1": 1 + "Google\\Cloud\\NetworkSecurity\\V1beta1": 6 } }, "ruby_package": { "valueCounts": { - "Google::Cloud::PrivateCatalog::V1beta1": 1 + "Google::Cloud::NetworkSecurity::V1beta1": 6 } } }, "services": [ { - "shortName": "PrivateCatalog", - "fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog", + "shortName": "NetworkSecurity", + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity", "methods": [ { - "shortName": "SearchCatalogs", - "fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchCatalogs", + "shortName": "CreateAuthorizationPolicy", + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.CreateAuthorizationPolicy", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{resource=projects/*}/catalogs:search" - }, - { - "httpMethod": "GET", - "path": "/v1beta1/{resource=organizations/*}/catalogs:search" - }, - { - "httpMethod": "GET", - "path": "/v1beta1/{resource=folders/*}/catalogs:search" + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/authorizationPolicies" } ] }, { - "shortName": "SearchProducts", - "fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchProducts", + "shortName": "CreateClientTlsPolicy", + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.CreateClientTlsPolicy", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{resource=projects/*}/products:search" - }, - { - "httpMethod": "GET", - "path": "/v1beta1/{resource=organizations/*}/products:search" - }, - { - "httpMethod": "GET", - "path": "/v1beta1/{resource=folders/*}/products:search" + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/clientTlsPolicies" } ] }, { - "shortName": "SearchVersions", - "fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchVersions", + "shortName": "CreateServerTlsPolicy", + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.CreateServerTlsPolicy", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{resource=projects/*}/versions:search" - }, + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/serverTlsPolicies" + } + ] + }, + { + "shortName": "DeleteAuthorizationPolicy", + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.DeleteAuthorizationPolicy", + "mode": "UNARY", + "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{resource=organizations/*}/versions:search" - }, + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/authorizationPolicies/*}" + } + ] + }, + { + "shortName": "DeleteClientTlsPolicy", + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.DeleteClientTlsPolicy", + "mode": "UNARY", + "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{resource=folders/*}/versions:search" + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/clientTlsPolicies/*}" } ] - } - ] - } - ], - "configFile": "cloudprivatecatalog_v1beta1.yaml", + }, + { + "shortName": "DeleteServerTlsPolicy", + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.DeleteServerTlsPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/serverTlsPolicies/*}" + } + ] + }, + { + "shortName": "GetAuthorizationPolicy", + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.GetAuthorizationPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/authorizationPolicies/*}" + } + ] + }, + { + "shortName": "GetClientTlsPolicy", + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.GetClientTlsPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/clientTlsPolicies/*}" + } + ] + }, + { + "shortName": "GetServerTlsPolicy", + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.GetServerTlsPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/serverTlsPolicies/*}" + } + ] + }, + { + "shortName": "ListAuthorizationPolicies", + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.ListAuthorizationPolicies", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/authorizationPolicies" + } + ] + }, + { + "shortName": "ListClientTlsPolicies", + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.ListClientTlsPolicies", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/clientTlsPolicies" + } + ] + }, + { + "shortName": "ListServerTlsPolicies", + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.ListServerTlsPolicies", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/serverTlsPolicies" + } + ] + }, + { + "shortName": "UpdateAuthorizationPolicy", + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.UpdateAuthorizationPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{authorization_policy.name=projects/*/locations/*/authorizationPolicies/*}" + } + ] + }, + { + "shortName": "UpdateClientTlsPolicy", + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.UpdateClientTlsPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{client_tls_policy.name=projects/*/locations/*/clientTlsPolicies/*}" + } + ] + }, + { + "shortName": "UpdateServerTlsPolicy", + "fullName": "google.cloud.networksecurity.v1beta1.NetworkSecurity.UpdateServerTlsPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{server_tls_policy.name=projects/*/locations/*/serverTlsPolicies/*}" + } + ] + } + ] + } + ], + "configFile": "networksecurity_v1beta1.yaml", "serviceConfigApiNames": [ - "google.cloud.privatecatalog.v1beta1.PrivateCatalog" + "google.cloud.location.Locations", + "google.cloud.networksecurity.v1beta1.NetworkSecurity", + "google.iam.v1.IAMPolicy", + "google.longrunning.Operations" ], - "nameInServiceConfig": "cloudprivatecatalog.googleapis.com" + "nameInServiceConfig": "networksecurity.googleapis.com" }, { - "id": "google.cloud.pubsublite.v1", - "directory": "google/cloud/pubsublite/v1", + "id": "google.cloud.networkservices.v1", + "directory": "google/cloud/networkservices/v1", "version": "v1", "majorVersion": "v1", - "hostName": "pubsublite.googleapis.com", - "title": "Pub/Sub Lite API", + "hostName": "networkservices.googleapis.com", + "title": "Network Services API", "description": "", "importDirectories": [ "google/api", - "google/cloud/pubsublite/v1", + "google/cloud/networkservices/v1", "google/longrunning", "google/protobuf" ], "options": { - "cc_enable_arenas": { - "valueCounts": { - "": 2, - "true": 4 - } - }, "csharp_namespace": { "valueCounts": { - "Google.Cloud.PubSubLite.V1": 6 + "Google.Cloud.NetworkServices.V1": 10 } }, "go_package": { "valueCounts": { - "cloud.google.com/go/pubsublite/apiv1/pubsublitepb;pubsublitepb": 6 + "cloud.google.com/go/networkservices/apiv1/networkservicespb;networkservicespb": 10 } }, "java_multiple_files": { "valueCounts": { - "true": 6 + "true": 10 } }, "java_package": { "valueCounts": { - "com.google.cloud.pubsublite.proto": 6 + "com.google.cloud.networkservices.v1": 10 } }, "php_namespace": { "valueCounts": { - "Google\\Cloud\\PubSubLite\\V1": 6 + "Google\\Cloud\\NetworkServices\\V1": 10 } }, "ruby_package": { "valueCounts": { - "Google::Cloud::PubSubLite::V1": 6 + "Google::Cloud::NetworkServices::V1": 10 } } }, "services": [ { - "shortName": "AdminService", - "fullName": "google.cloud.pubsublite.v1.AdminService", + "shortName": "NetworkServices", + "fullName": "google.cloud.networkservices.v1.NetworkServices", "methods": [ { - "shortName": "CreateReservation", - "fullName": "google.cloud.pubsublite.v1.AdminService.CreateReservation", + "shortName": "CreateEndpointPolicy", + "fullName": "google.cloud.networkservices.v1.NetworkServices.CreateEndpointPolicy", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/admin/{parent=projects/*/locations/*}/reservations" + "path": "/v1/{parent=projects/*/locations/*}/endpointPolicies" } ] }, { - "shortName": "CreateSubscription", - "fullName": "google.cloud.pubsublite.v1.AdminService.CreateSubscription", + "shortName": "CreateGateway", + "fullName": "google.cloud.networkservices.v1.NetworkServices.CreateGateway", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/admin/{parent=projects/*/locations/*}/subscriptions" + "path": "/v1/{parent=projects/*/locations/*}/gateways" } ] }, { - "shortName": "CreateTopic", - "fullName": "google.cloud.pubsublite.v1.AdminService.CreateTopic", + "shortName": "CreateGrpcRoute", + "fullName": "google.cloud.networkservices.v1.NetworkServices.CreateGrpcRoute", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/admin/{parent=projects/*/locations/*}/topics" + "path": "/v1/{parent=projects/*/locations/*}/grpcRoutes" } ] }, { - "shortName": "DeleteReservation", - "fullName": "google.cloud.pubsublite.v1.AdminService.DeleteReservation", + "shortName": "CreateHttpRoute", + "fullName": "google.cloud.networkservices.v1.NetworkServices.CreateHttpRoute", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/admin/{name=projects/*/locations/*/reservations/*}" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/httpRoutes" } ] }, { - "shortName": "DeleteSubscription", - "fullName": "google.cloud.pubsublite.v1.AdminService.DeleteSubscription", + "shortName": "CreateMesh", + "fullName": "google.cloud.networkservices.v1.NetworkServices.CreateMesh", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/admin/{name=projects/*/locations/*/subscriptions/*}" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/meshes" } ] }, { - "shortName": "DeleteTopic", - "fullName": "google.cloud.pubsublite.v1.AdminService.DeleteTopic", + "shortName": "CreateServiceBinding", + "fullName": "google.cloud.networkservices.v1.NetworkServices.CreateServiceBinding", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/admin/{name=projects/*/locations/*/topics/*}" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/serviceBindings" } ] }, { - "shortName": "GetReservation", - "fullName": "google.cloud.pubsublite.v1.AdminService.GetReservation", + "shortName": "CreateTcpRoute", + "fullName": "google.cloud.networkservices.v1.NetworkServices.CreateTcpRoute", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/admin/{name=projects/*/locations/*/reservations/*}" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/tcpRoutes" } ] }, { - "shortName": "GetSubscription", - "fullName": "google.cloud.pubsublite.v1.AdminService.GetSubscription", + "shortName": "CreateTlsRoute", + "fullName": "google.cloud.networkservices.v1.NetworkServices.CreateTlsRoute", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/admin/{name=projects/*/locations/*/subscriptions/*}" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/tlsRoutes" } ] }, { - "shortName": "GetTopic", - "fullName": "google.cloud.pubsublite.v1.AdminService.GetTopic", + "shortName": "DeleteEndpointPolicy", + "fullName": "google.cloud.networkservices.v1.NetworkServices.DeleteEndpointPolicy", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/admin/{name=projects/*/locations/*/topics/*}" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/endpointPolicies/*}" } ] }, { - "shortName": "GetTopicPartitions", - "fullName": "google.cloud.pubsublite.v1.AdminService.GetTopicPartitions", + "shortName": "DeleteGateway", + "fullName": "google.cloud.networkservices.v1.NetworkServices.DeleteGateway", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/admin/{name=projects/*/locations/*/topics/*}/partitions" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/gateways/*}" } ] }, { - "shortName": "ListReservationTopics", - "fullName": "google.cloud.pubsublite.v1.AdminService.ListReservationTopics", + "shortName": "DeleteGrpcRoute", + "fullName": "google.cloud.networkservices.v1.NetworkServices.DeleteGrpcRoute", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/admin/{name=projects/*/locations/*/reservations/*}/topics" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/grpcRoutes/*}" } ] }, { - "shortName": "ListReservations", - "fullName": "google.cloud.pubsublite.v1.AdminService.ListReservations", + "shortName": "DeleteHttpRoute", + "fullName": "google.cloud.networkservices.v1.NetworkServices.DeleteHttpRoute", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/admin/{parent=projects/*/locations/*}/reservations" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/httpRoutes/*}" } ] }, { - "shortName": "ListSubscriptions", - "fullName": "google.cloud.pubsublite.v1.AdminService.ListSubscriptions", + "shortName": "DeleteMesh", + "fullName": "google.cloud.networkservices.v1.NetworkServices.DeleteMesh", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/admin/{parent=projects/*/locations/*}/subscriptions" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/meshes/*}" } ] }, { - "shortName": "ListTopicSubscriptions", - "fullName": "google.cloud.pubsublite.v1.AdminService.ListTopicSubscriptions", + "shortName": "DeleteServiceBinding", + "fullName": "google.cloud.networkservices.v1.NetworkServices.DeleteServiceBinding", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/admin/{name=projects/*/locations/*/topics/*}/subscriptions" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/serviceBindings/*}" } ] }, { - "shortName": "ListTopics", - "fullName": "google.cloud.pubsublite.v1.AdminService.ListTopics", + "shortName": "DeleteTcpRoute", + "fullName": "google.cloud.networkservices.v1.NetworkServices.DeleteTcpRoute", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/admin/{parent=projects/*/locations/*}/topics" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/tcpRoutes/*}" } ] }, { - "shortName": "SeekSubscription", - "fullName": "google.cloud.pubsublite.v1.AdminService.SeekSubscription", + "shortName": "DeleteTlsRoute", + "fullName": "google.cloud.networkservices.v1.NetworkServices.DeleteTlsRoute", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/admin/{name=projects/*/locations/*/subscriptions/*}:seek" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/tlsRoutes/*}" } ] }, { - "shortName": "UpdateReservation", - "fullName": "google.cloud.pubsublite.v1.AdminService.UpdateReservation", + "shortName": "GetEndpointPolicy", + "fullName": "google.cloud.networkservices.v1.NetworkServices.GetEndpointPolicy", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/admin/{reservation.name=projects/*/locations/*/reservations/*}" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/endpointPolicies/*}" } ] }, { - "shortName": "UpdateSubscription", - "fullName": "google.cloud.pubsublite.v1.AdminService.UpdateSubscription", + "shortName": "GetGateway", + "fullName": "google.cloud.networkservices.v1.NetworkServices.GetGateway", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/admin/{subscription.name=projects/*/locations/*/subscriptions/*}" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/gateways/*}" } ] }, { - "shortName": "UpdateTopic", - "fullName": "google.cloud.pubsublite.v1.AdminService.UpdateTopic", + "shortName": "GetGrpcRoute", + "fullName": "google.cloud.networkservices.v1.NetworkServices.GetGrpcRoute", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/admin/{topic.name=projects/*/locations/*/topics/*}" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/grpcRoutes/*}" } ] - } - ] - }, - { - "shortName": "CursorService", - "fullName": "google.cloud.pubsublite.v1.CursorService", - "methods": [ + }, { - "shortName": "CommitCursor", - "fullName": "google.cloud.pubsublite.v1.CursorService.CommitCursor", + "shortName": "GetHttpRoute", + "fullName": "google.cloud.networkservices.v1.NetworkServices.GetHttpRoute", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/cursor/{subscription=projects/*/locations/*/subscriptions/*}:commitCursor" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/httpRoutes/*}" } ] }, { - "shortName": "ListPartitionCursors", - "fullName": "google.cloud.pubsublite.v1.CursorService.ListPartitionCursors", + "shortName": "GetMesh", + "fullName": "google.cloud.networkservices.v1.NetworkServices.GetMesh", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/cursor/{parent=projects/*/locations/*/subscriptions/*}/cursors" + "path": "/v1/{name=projects/*/locations/*/meshes/*}" } ] }, { - "shortName": "StreamingCommitCursor", - "fullName": "google.cloud.pubsublite.v1.CursorService.StreamingCommitCursor", - "mode": "BIDIRECTIONAL_STREAMING" - } - ] - }, - { - "shortName": "PartitionAssignmentService", - "fullName": "google.cloud.pubsublite.v1.PartitionAssignmentService", - "methods": [ - { - "shortName": "AssignPartitions", - "fullName": "google.cloud.pubsublite.v1.PartitionAssignmentService.AssignPartitions", - "mode": "BIDIRECTIONAL_STREAMING" - } - ] - }, - { - "shortName": "PublisherService", - "fullName": "google.cloud.pubsublite.v1.PublisherService", - "methods": [ - { - "shortName": "Publish", - "fullName": "google.cloud.pubsublite.v1.PublisherService.Publish", - "mode": "BIDIRECTIONAL_STREAMING" - } - ] - }, - { - "shortName": "SubscriberService", - "fullName": "google.cloud.pubsublite.v1.SubscriberService", - "methods": [ - { - "shortName": "Subscribe", - "fullName": "google.cloud.pubsublite.v1.SubscriberService.Subscribe", - "mode": "BIDIRECTIONAL_STREAMING" - } - ] - }, - { - "shortName": "TopicStatsService", - "fullName": "google.cloud.pubsublite.v1.TopicStatsService", - "methods": [ - { - "shortName": "ComputeHeadCursor", - "fullName": "google.cloud.pubsublite.v1.TopicStatsService.ComputeHeadCursor", + "shortName": "GetServiceBinding", + "fullName": "google.cloud.networkservices.v1.NetworkServices.GetServiceBinding", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/topicStats/{topic=projects/*/locations/*/topics/*}:computeHeadCursor" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/serviceBindings/*}" } ] }, { - "shortName": "ComputeMessageStats", - "fullName": "google.cloud.pubsublite.v1.TopicStatsService.ComputeMessageStats", + "shortName": "GetTcpRoute", + "fullName": "google.cloud.networkservices.v1.NetworkServices.GetTcpRoute", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/topicStats/{topic=projects/*/locations/*/topics/*}:computeMessageStats" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/tcpRoutes/*}" } ] }, { - "shortName": "ComputeTimeCursor", - "fullName": "google.cloud.pubsublite.v1.TopicStatsService.ComputeTimeCursor", + "shortName": "GetTlsRoute", + "fullName": "google.cloud.networkservices.v1.NetworkServices.GetTlsRoute", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/topicStats/{topic=projects/*/locations/*/topics/*}:computeTimeCursor" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/tlsRoutes/*}" } ] - } - ] - } - ], - "configFile": "pubsublite_v1.yaml", - "serviceConfigApiNames": [ - "google.cloud.pubsublite.v1.AdminService", - "google.cloud.pubsublite.v1.CursorService", - "google.cloud.pubsublite.v1.PartitionAssignmentService", - "google.cloud.pubsublite.v1.PublisherService", - "google.cloud.pubsublite.v1.SubscriberService", - "google.cloud.pubsublite.v1.TopicStatsService", - "google.longrunning.Operations" - ], - "nameInServiceConfig": "pubsublite.googleapis.com" - }, - { - "id": "google.cloud.recaptchaenterprise.v1", - "directory": "google/cloud/recaptchaenterprise/v1", - "version": "v1", - "majorVersion": "v1", - "hostName": "recaptchaenterprise.googleapis.com", - "title": "reCAPTCHA Enterprise API", - "description": "Help protect your website from fraudulent activity, spam, and abuse without creating friction.", - "importDirectories": [ - "google/api", - "google/protobuf" - ], - "options": { - "csharp_namespace": { - "valueCounts": { - "Google.Cloud.RecaptchaEnterprise.V1": 1 - } - }, - "go_package": { - "valueCounts": { - "cloud.google.com/go/recaptchaenterprise/apiv1/recaptchaenterprisepb;recaptchaenterprisepb": 1 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 1 - } - }, - "java_package": { - "valueCounts": { - "com.google.recaptchaenterprise.v1": 1 - } - }, - "objc_class_prefix": { - "valueCounts": { - "GCRE": 1 - } - }, - "php_namespace": { - "valueCounts": { - "Google\\Cloud\\RecaptchaEnterprise\\V1": 1 - } - }, - "ruby_package": { - "valueCounts": { - "Google::Cloud::RecaptchaEnterprise::V1": 1 - } - } - }, - "services": [ - { - "shortName": "RecaptchaEnterpriseService", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService", - "methods": [ + }, { - "shortName": "AnnotateAssessment", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.AnnotateAssessment", + "shortName": "ListEndpointPolicies", + "fullName": "google.cloud.networkservices.v1.NetworkServices.ListEndpointPolicies", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/assessments/*}:annotate" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/endpointPolicies" } ] }, { - "shortName": "CreateAssessment", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.CreateAssessment", + "shortName": "ListGateways", + "fullName": "google.cloud.networkservices.v1.NetworkServices.ListGateways", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*}/assessments" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/gateways" } ] }, { - "shortName": "CreateKey", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.CreateKey", + "shortName": "ListGrpcRoutes", + "fullName": "google.cloud.networkservices.v1.NetworkServices.ListGrpcRoutes", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*}/keys" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/grpcRoutes" } ] }, { - "shortName": "DeleteKey", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.DeleteKey", + "shortName": "ListHttpRoutes", + "fullName": "google.cloud.networkservices.v1.NetworkServices.ListHttpRoutes", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/keys/*}" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/httpRoutes" } ] }, { - "shortName": "GetKey", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.GetKey", + "shortName": "ListMeshes", + "fullName": "google.cloud.networkservices.v1.NetworkServices.ListMeshes", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/keys/*}" + "path": "/v1/{parent=projects/*/locations/*}/meshes" } ] }, { - "shortName": "GetMetrics", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.GetMetrics", + "shortName": "ListServiceBindings", + "fullName": "google.cloud.networkservices.v1.NetworkServices.ListServiceBindings", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/keys/*/metrics}" + "path": "/v1/{parent=projects/*/locations/*}/serviceBindings" } ] }, { - "shortName": "ListKeys", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListKeys", + "shortName": "ListTcpRoutes", + "fullName": "google.cloud.networkservices.v1.NetworkServices.ListTcpRoutes", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*}/keys" + "path": "/v1/{parent=projects/*/locations/*}/tcpRoutes" } ] }, { - "shortName": "ListRelatedAccountGroupMemberships", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListRelatedAccountGroupMemberships", + "shortName": "ListTlsRoutes", + "fullName": "google.cloud.networkservices.v1.NetworkServices.ListTlsRoutes", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/relatedaccountgroups/*}/memberships" + "path": "/v1/{parent=projects/*/locations/*}/tlsRoutes" } ] }, { - "shortName": "ListRelatedAccountGroups", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListRelatedAccountGroups", + "shortName": "UpdateEndpointPolicy", + "fullName": "google.cloud.networkservices.v1.NetworkServices.UpdateEndpointPolicy", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*}/relatedaccountgroups" + "httpMethod": "PATCH", + "path": "/v1/{endpoint_policy.name=projects/*/locations/*/endpointPolicies/*}" } ] }, { - "shortName": "MigrateKey", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.MigrateKey", + "shortName": "UpdateGateway", + "fullName": "google.cloud.networkservices.v1.NetworkServices.UpdateGateway", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/keys/*}:migrate" + "httpMethod": "PATCH", + "path": "/v1/{gateway.name=projects/*/locations/*/gateways/*}" } ] }, { - "shortName": "RetrieveLegacySecretKey", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.RetrieveLegacySecretKey", + "shortName": "UpdateGrpcRoute", + "fullName": "google.cloud.networkservices.v1.NetworkServices.UpdateGrpcRoute", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{key=projects/*/keys/*}:retrieveLegacySecretKey" + "httpMethod": "PATCH", + "path": "/v1/{grpc_route.name=projects/*/locations/*/grpcRoutes/*}" } ] }, { - "shortName": "SearchRelatedAccountGroupMemberships", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.SearchRelatedAccountGroupMemberships", + "shortName": "UpdateHttpRoute", + "fullName": "google.cloud.networkservices.v1.NetworkServices.UpdateHttpRoute", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{project=projects/*}/relatedaccountgroupmemberships:search" + "httpMethod": "PATCH", + "path": "/v1/{http_route.name=projects/*/locations/*/httpRoutes/*}" } ] }, { - "shortName": "UpdateKey", - "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.UpdateKey", + "shortName": "UpdateMesh", + "fullName": "google.cloud.networkservices.v1.NetworkServices.UpdateMesh", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1/{key.name=projects/*/keys/*}" + "path": "/v1/{mesh.name=projects/*/locations/*/meshes/*}" } ] - } - ] - } - ], - "configFile": "recaptchaenterprise_v1.yaml", - "serviceConfigApiNames": [ - "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService" - ], - "nameInServiceConfig": "recaptchaenterprise.googleapis.com" - }, - { - "id": "google.cloud.recaptchaenterprise.v1beta1", - "directory": "google/cloud/recaptchaenterprise/v1beta1", - "version": "v1beta1", - "majorVersion": "v1", - "hostName": "recaptchaenterprise.googleapis.com", - "title": "reCAPTCHA Enterprise API", - "description": "", - "importDirectories": [ - "google/api", - "google/protobuf" - ], - "options": { - "csharp_namespace": { - "valueCounts": { - "Google.Cloud.RecaptchaEnterprise.V1Beta1": 1 - } - }, - "go_package": { - "valueCounts": { - "cloud.google.com/go/recaptchaenterprise/apiv1beta1/recaptchaenterprisepb;recaptchaenterprisepb": 1 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 1 - } - }, - "java_package": { - "valueCounts": { - "com.google.recaptchaenterprise.v1beta1": 1 - } - }, - "objc_class_prefix": { - "valueCounts": { - "GCRE": 1 - } - }, - "php_namespace": { - "valueCounts": { - "Google\\Cloud\\RecaptchaEnterprise\\V1beta1": 1 - } - }, - "ruby_package": { - "valueCounts": { - "Google::Cloud::RecaptchaEnterprise::V1beta1": 1 - } - } - }, - "services": [ - { - "shortName": "RecaptchaEnterpriseServiceV1Beta1", - "fullName": "google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1", - "methods": [ + }, { - "shortName": "AnnotateAssessment", - "fullName": "google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1.AnnotateAssessment", + "shortName": "UpdateTcpRoute", + "fullName": "google.cloud.networkservices.v1.NetworkServices.UpdateTcpRoute", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta1/{name=projects/*/assessments/*}:annotate" + "httpMethod": "PATCH", + "path": "/v1/{tcp_route.name=projects/*/locations/*/tcpRoutes/*}" } ] }, { - "shortName": "CreateAssessment", - "fullName": "google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1.CreateAssessment", + "shortName": "UpdateTlsRoute", + "fullName": "google.cloud.networkservices.v1.NetworkServices.UpdateTlsRoute", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta1/{parent=projects/*}/assessments" + "httpMethod": "PATCH", + "path": "/v1/{tls_route.name=projects/*/locations/*/tlsRoutes/*}" } ] } ] } ], - "configFile": "recaptchaenterprise_v1beta1.yaml", + "configFile": "networkservices_v1.yaml", "serviceConfigApiNames": [ - "google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1" + "google.cloud.location.Locations", + "google.cloud.networkservices.v1.NetworkServices", + "google.iam.v1.IAMPolicy", + "google.longrunning.Operations" ], - "nameInServiceConfig": "recaptchaenterprise.googleapis.com" + "nameInServiceConfig": "networkservices.googleapis.com" }, { - "id": "google.cloud.recommendationengine.v1beta1", - "directory": "google/cloud/recommendationengine/v1beta1", + "id": "google.cloud.networkservices.v1beta1", + "directory": "google/cloud/networkservices/v1beta1", "version": "v1beta1", "majorVersion": "v1", - "hostName": "recommendationengine.googleapis.com", - "title": "Recommendations AI", - "description": "Recommendations AI service enables customers to build end-to-end personalized recommendation systems without requiring a high level of expertise in machine learning, recommendation system, or Google Cloud.", + "hostName": "networkservices.googleapis.com", + "title": "Network Services API", + "description": "", "importDirectories": [ "google/api", - "google/cloud/recommendationengine/v1beta1", + "google/cloud/networkservices/v1beta1", "google/longrunning", - "google/protobuf", - "google/rpc" + "google/protobuf" ], "options": { "csharp_namespace": { "valueCounts": { - "Google.Cloud.RecommendationEngine.V1Beta1": 9 + "Google.Cloud.NetworkServices.V1Beta1": 4 } }, "go_package": { "valueCounts": { - "cloud.google.com/go/recommendationengine/apiv1beta1/recommendationenginepb;recommendationenginepb": 9 + "cloud.google.com/go/networkservices/apiv1beta1/networkservicespb;networkservicespb": 4 } }, "java_multiple_files": { "valueCounts": { - "true": 9 + "true": 4 } }, "java_package": { "valueCounts": { - "com.google.cloud.recommendationengine.v1beta1": 9 - } - }, - "objc_class_prefix": { - "valueCounts": { - "RECAI": 9 + "com.google.cloud.networkservices.v1beta1": 4 } }, "php_namespace": { "valueCounts": { - "Google\\Cloud\\RecommendationEngine\\V1beta1": 9 + "Google\\Cloud\\NetworkServices\\V1beta1": 4 } }, "ruby_package": { "valueCounts": { - "Google::Cloud::RecommendationEngine::V1beta1": 9 + "Google::Cloud::NetworkServices::V1beta1": 4 } } }, "services": [ { - "shortName": "CatalogService", - "fullName": "google.cloud.recommendationengine.v1beta1.CatalogService", + "shortName": "DepService", + "fullName": "google.cloud.networkservices.v1beta1.DepService", "methods": [ { - "shortName": "CreateCatalogItem", - "fullName": "google.cloud.recommendationengine.v1beta1.CatalogService.CreateCatalogItem", + "shortName": "CreateLbRouteExtension", + "fullName": "google.cloud.networkservices.v1beta1.DepService.CreateLbRouteExtension", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{parent=projects/*/locations/*/catalogs/*}/catalogItems" + "path": "/v1beta1/{parent=projects/*/locations/*}/lbRouteExtensions" } ] }, { - "shortName": "DeleteCatalogItem", - "fullName": "google.cloud.recommendationengine.v1beta1.CatalogService.DeleteCatalogItem", + "shortName": "CreateLbTrafficExtension", + "fullName": "google.cloud.networkservices.v1beta1.DepService.CreateLbTrafficExtension", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1beta1/{name=projects/*/locations/*/catalogs/*/catalogItems/**}" + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/lbTrafficExtensions" } ] }, { - "shortName": "GetCatalogItem", - "fullName": "google.cloud.recommendationengine.v1beta1.CatalogService.GetCatalogItem", + "shortName": "DeleteLbRouteExtension", + "fullName": "google.cloud.networkservices.v1beta1.DepService.DeleteLbRouteExtension", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{name=projects/*/locations/*/catalogs/*/catalogItems/**}" + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/lbRouteExtensions/*}" } ] }, { - "shortName": "ImportCatalogItems", - "fullName": "google.cloud.recommendationengine.v1beta1.CatalogService.ImportCatalogItems", + "shortName": "DeleteLbTrafficExtension", + "fullName": "google.cloud.networkservices.v1beta1.DepService.DeleteLbTrafficExtension", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta1/{parent=projects/*/locations/*/catalogs/*}/catalogItems:import" + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/lbTrafficExtensions/*}" } ] }, { - "shortName": "ListCatalogItems", - "fullName": "google.cloud.recommendationengine.v1beta1.CatalogService.ListCatalogItems", + "shortName": "GetLbRouteExtension", + "fullName": "google.cloud.networkservices.v1beta1.DepService.GetLbRouteExtension", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta1/{parent=projects/*/locations/*/catalogs/*}/catalogItems" + "path": "/v1beta1/{name=projects/*/locations/*/lbRouteExtensions/*}" } ] }, { - "shortName": "UpdateCatalogItem", - "fullName": "google.cloud.recommendationengine.v1beta1.CatalogService.UpdateCatalogItem", + "shortName": "GetLbTrafficExtension", + "fullName": "google.cloud.networkservices.v1beta1.DepService.GetLbTrafficExtension", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1beta1/{name=projects/*/locations/*/catalogs/*/catalogItems/**}" + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/lbTrafficExtensions/*}" } ] - } - ] - }, - { - "shortName": "PredictionApiKeyRegistry", - "fullName": "google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistry", - "methods": [ + }, { - "shortName": "CreatePredictionApiKeyRegistration", - "fullName": "google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistry.CreatePredictionApiKeyRegistration", + "shortName": "ListLbRouteExtensions", + "fullName": "google.cloud.networkservices.v1beta1.DepService.ListLbRouteExtensions", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta1/{parent=projects/*/locations/*/catalogs/*/eventStores/*}/predictionApiKeyRegistrations" + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/lbRouteExtensions" } ] }, { - "shortName": "DeletePredictionApiKeyRegistration", - "fullName": "google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistry.DeletePredictionApiKeyRegistration", + "shortName": "ListLbTrafficExtensions", + "fullName": "google.cloud.networkservices.v1beta1.DepService.ListLbTrafficExtensions", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1beta1/{name=projects/*/locations/*/catalogs/*/eventStores/*/predictionApiKeyRegistrations/*}" + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/lbTrafficExtensions" } ] }, { - "shortName": "ListPredictionApiKeyRegistrations", - "fullName": "google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistry.ListPredictionApiKeyRegistrations", + "shortName": "UpdateLbRouteExtension", + "fullName": "google.cloud.networkservices.v1beta1.DepService.UpdateLbRouteExtension", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{parent=projects/*/locations/*/catalogs/*/eventStores/*}/predictionApiKeyRegistrations" + "httpMethod": "PATCH", + "path": "/v1beta1/{lb_route_extension.name=projects/*/locations/*/lbRouteExtensions/*}" } ] - } - ] - }, - { - "shortName": "PredictionService", - "fullName": "google.cloud.recommendationengine.v1beta1.PredictionService", - "methods": [ + }, { - "shortName": "Predict", - "fullName": "google.cloud.recommendationengine.v1beta1.PredictionService.Predict", + "shortName": "UpdateLbTrafficExtension", + "fullName": "google.cloud.networkservices.v1beta1.DepService.UpdateLbTrafficExtension", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta1/{name=projects/*/locations/*/catalogs/*/eventStores/*/placements/*}:predict" + "httpMethod": "PATCH", + "path": "/v1beta1/{lb_traffic_extension.name=projects/*/locations/*/lbTrafficExtensions/*}" } ] } ] }, { - "shortName": "UserEventService", - "fullName": "google.cloud.recommendationengine.v1beta1.UserEventService", + "shortName": "NetworkServices", + "fullName": "google.cloud.networkservices.v1beta1.NetworkServices", "methods": [ { - "shortName": "CollectUserEvent", - "fullName": "google.cloud.recommendationengine.v1beta1.UserEventService.CollectUserEvent", + "shortName": "CreateEndpointPolicy", + "fullName": "google.cloud.networkservices.v1beta1.NetworkServices.CreateEndpointPolicy", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{parent=projects/*/locations/*/catalogs/*/eventStores/*}/userEvents:collect" + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/endpointPolicies" } ] }, { - "shortName": "ImportUserEvents", - "fullName": "google.cloud.recommendationengine.v1beta1.UserEventService.ImportUserEvents", + "shortName": "DeleteEndpointPolicy", + "fullName": "google.cloud.networkservices.v1beta1.NetworkServices.DeleteEndpointPolicy", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta1/{parent=projects/*/locations/*/catalogs/*/eventStores/*}/userEvents:import" + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/endpointPolicies/*}" } ] }, { - "shortName": "ListUserEvents", - "fullName": "google.cloud.recommendationengine.v1beta1.UserEventService.ListUserEvents", + "shortName": "GetEndpointPolicy", + "fullName": "google.cloud.networkservices.v1beta1.NetworkServices.GetEndpointPolicy", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta1/{parent=projects/*/locations/*/catalogs/*/eventStores/*}/userEvents" + "path": "/v1beta1/{name=projects/*/locations/*/endpointPolicies/*}" } ] }, { - "shortName": "PurgeUserEvents", - "fullName": "google.cloud.recommendationengine.v1beta1.UserEventService.PurgeUserEvents", + "shortName": "ListEndpointPolicies", + "fullName": "google.cloud.networkservices.v1beta1.NetworkServices.ListEndpointPolicies", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta1/{parent=projects/*/locations/*/catalogs/*/eventStores/*}/userEvents:purge" + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/endpointPolicies" } ] }, { - "shortName": "WriteUserEvent", - "fullName": "google.cloud.recommendationengine.v1beta1.UserEventService.WriteUserEvent", + "shortName": "UpdateEndpointPolicy", + "fullName": "google.cloud.networkservices.v1beta1.NetworkServices.UpdateEndpointPolicy", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta1/{parent=projects/*/locations/*/catalogs/*/eventStores/*}/userEvents:write" + "httpMethod": "PATCH", + "path": "/v1beta1/{endpoint_policy.name=projects/*/locations/*/endpointPolicies/*}" } ] } ] } ], - "configFile": "recommendationengine_v1beta1.yaml", + "configFile": "networkservices_v1beta1.yaml", "serviceConfigApiNames": [ - "google.cloud.recommendationengine.v1beta1.CatalogService", - "google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistry", - "google.cloud.recommendationengine.v1beta1.PredictionService", - "google.cloud.recommendationengine.v1beta1.UserEventService" + "google.cloud.networkservices.v1beta1.DepService", + "google.cloud.networkservices.v1beta1.NetworkServices" ], - "nameInServiceConfig": "recommendationengine.googleapis.com" + "nameInServiceConfig": "networkservices.googleapis.com" }, { - "id": "google.cloud.recommender.logging.v1", - "directory": "google/cloud/recommender/logging/v1", + "id": "google.cloud.notebooks.v1", + "directory": "google/cloud/notebooks/v1", "version": "v1", "majorVersion": "v1", - "hostName": "recommender.googleapis.com", - "title": "Recommender API Logging", - "description": "", + "hostName": "notebooks.googleapis.com", + "title": "Notebooks API", + "description": "Notebooks API is used to manage notebook resources in Google Cloud.", "importDirectories": [ "google/api", - "google/cloud/recommender/v1" + "google/cloud/notebooks/v1", + "google/longrunning", + "google/protobuf" ], "options": { - "go_package": { - "valueCounts": { - "cloud.google.com/go/recommender/logging/apiv1/loggingpb;loggingpb": 1 - } - }, - "java_multiple_files": { + "csharp_namespace": { "valueCounts": { - "true": 1 + "": 4, + "Google.Cloud.Notebooks.V1": 6 } }, - "java_package": { - "valueCounts": { - "com.google.cloud.recommender.logging.v1": 1 - } - } - }, - "configFile": "recommender.yaml", - "nameInServiceConfig": "recommender.googleapis.com" - }, - { - "id": "google.cloud.recommender.logging.v1beta1", - "directory": "google/cloud/recommender/logging/v1beta1", - "version": "v1beta1", - "majorVersion": "v1", - "hostName": "recommender.googleapis.com", - "title": "Recommender API Logging", - "description": "", - "importDirectories": [ - "google/api", - "google/cloud/recommender/v1beta1" - ], - "options": { "go_package": { "valueCounts": { - "cloud.google.com/go/recommender/logging/apiv1beta1/loggingpb;loggingpb": 1 + "cloud.google.com/go/notebooks/apiv1/notebookspb;notebookspb": 10 } }, "java_multiple_files": { "valueCounts": { - "true": 1 + "true": 10 } }, "java_package": { "valueCounts": { - "com.google.cloud.recommender.logging.v1beta1": 1 - } - } - }, - "configFile": "recommender.yaml", - "nameInServiceConfig": "recommender.googleapis.com" - }, - { - "id": "google.cloud.recommender.v1", - "directory": "google/cloud/recommender/v1", - "version": "v1", - "majorVersion": "v1", - "hostName": "recommender.googleapis.com", - "title": "Recommender API", - "description": "", - "importDirectories": [ - "google/api", - "google/cloud/recommender/v1", - "google/protobuf", - "google/type" - ], - "options": { - "csharp_namespace": { - "valueCounts": { - "Google.Cloud.Recommender.V1": 5 - } - }, - "go_package": { - "valueCounts": { - "cloud.google.com/go/recommender/apiv1/recommenderpb;recommenderpb": 5 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 5 + "com.google.cloud.notebooks.v1": 10 } }, - "java_package": { + "php_namespace": { "valueCounts": { - "com.google.cloud.recommender.v1": 5 + "": 4, + "Google\\Cloud\\Notebooks\\V1": 6 } }, - "objc_class_prefix": { + "ruby_package": { "valueCounts": { - "CREC": 5 + "": 4, + "Google::Cloud::Notebooks::V1": 6 } } }, "services": [ { - "shortName": "Recommender", - "fullName": "google.cloud.recommender.v1.Recommender", + "shortName": "ManagedNotebookService", + "fullName": "google.cloud.notebooks.v1.ManagedNotebookService", "methods": [ { - "shortName": "GetInsight", - "fullName": "google.cloud.recommender.v1.Recommender.GetInsight", + "shortName": "CreateRuntime", + "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.CreateRuntime", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/insightTypes/*/insights/*}" - }, - { - "httpMethod": "GET", - "path": "/v1/{name=billingAccounts/*/locations/*/insightTypes/*/insights/*}" - }, - { - "httpMethod": "GET", - "path": "/v1/{name=folders/*/locations/*/insightTypes/*/insights/*}" - }, - { - "httpMethod": "GET", - "path": "/v1/{name=organizations/*/locations/*/insightTypes/*/insights/*}" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/runtimes" } ] }, { - "shortName": "GetInsightTypeConfig", - "fullName": "google.cloud.recommender.v1.Recommender.GetInsightTypeConfig", + "shortName": "DeleteRuntime", + "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.DeleteRuntime", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/insightTypes/*/config}" - }, - { - "httpMethod": "GET", - "path": "/v1/{name=organizations/*/locations/*/insightTypes/*/config}" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/runtimes/*}" } ] }, { - "shortName": "GetRecommendation", - "fullName": "google.cloud.recommender.v1.Recommender.GetRecommendation", + "shortName": "DiagnoseRuntime", + "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.DiagnoseRuntime", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/recommenders/*/recommendations/*}" - }, - { - "httpMethod": "GET", - "path": "/v1/{name=billingAccounts/*/locations/*/recommenders/*/recommendations/*}" - }, - { - "httpMethod": "GET", - "path": "/v1/{name=folders/*/locations/*/recommenders/*/recommendations/*}" - }, - { - "httpMethod": "GET", - "path": "/v1/{name=organizations/*/locations/*/recommenders/*/recommendations/*}" + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/runtimes/*}:diagnose" } ] }, { - "shortName": "GetRecommenderConfig", - "fullName": "google.cloud.recommender.v1.Recommender.GetRecommenderConfig", + "shortName": "GetRuntime", + "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.GetRuntime", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/recommenders/*/config}" - }, - { - "httpMethod": "GET", - "path": "/v1/{name=organizations/*/locations/*/recommenders/*/config}" + "path": "/v1/{name=projects/*/locations/*/runtimes/*}" } ] }, { - "shortName": "ListInsights", - "fullName": "google.cloud.recommender.v1.Recommender.ListInsights", + "shortName": "ListRuntimes", + "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.ListRuntimes", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*/insightTypes/*}/insights" - }, - { - "httpMethod": "GET", - "path": "/v1/{parent=billingAccounts/*/locations/*/insightTypes/*}/insights" - }, - { - "httpMethod": "GET", - "path": "/v1/{parent=folders/*/locations/*/insightTypes/*}/insights" - }, - { - "httpMethod": "GET", - "path": "/v1/{parent=organizations/*/locations/*/insightTypes/*}/insights" + "path": "/v1/{parent=projects/*/locations/*}/runtimes" } ] }, { - "shortName": "ListRecommendations", - "fullName": "google.cloud.recommender.v1.Recommender.ListRecommendations", + "shortName": "RefreshRuntimeTokenInternal", + "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.RefreshRuntimeTokenInternal", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*/recommenders/*}/recommendations" - }, - { - "httpMethod": "GET", - "path": "/v1/{parent=billingAccounts/*/locations/*/recommenders/*}/recommendations" - }, - { - "httpMethod": "GET", - "path": "/v1/{parent=folders/*/locations/*/recommenders/*}/recommendations" - }, - { - "httpMethod": "GET", - "path": "/v1/{parent=organizations/*/locations/*/recommenders/*}/recommendations" + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/runtimes/*}:refreshRuntimeTokenInternal" } ] }, { - "shortName": "MarkInsightAccepted", - "fullName": "google.cloud.recommender.v1.Recommender.MarkInsightAccepted", + "shortName": "ReportRuntimeEvent", + "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.ReportRuntimeEvent", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/insightTypes/*/insights/*}:markAccepted" - }, - { - "httpMethod": "POST", - "path": "/v1/{name=billingAccounts/*/locations/*/insightTypes/*/insights/*}:markAccepted" - }, - { - "httpMethod": "POST", - "path": "/v1/{name=folders/*/locations/*/insightTypes/*/insights/*}:markAccepted" - }, - { - "httpMethod": "POST", - "path": "/v1/{name=organizations/*/locations/*/insightTypes/*/insights/*}:markAccepted" + "path": "/v1/{name=projects/*/locations/*/runtimes/*}:reportEvent" } ] }, { - "shortName": "MarkRecommendationClaimed", - "fullName": "google.cloud.recommender.v1.Recommender.MarkRecommendationClaimed", + "shortName": "ResetRuntime", + "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.ResetRuntime", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/recommenders/*/recommendations/*}:markClaimed" - }, - { - "httpMethod": "POST", - "path": "/v1/{name=billingAccounts/*/locations/*/recommenders/*/recommendations/*}:markClaimed" - }, - { - "httpMethod": "POST", - "path": "/v1/{name=folders/*/locations/*/recommenders/*/recommendations/*}:markClaimed" - }, - { - "httpMethod": "POST", - "path": "/v1/{name=organizations/*/locations/*/recommenders/*/recommendations/*}:markClaimed" + "path": "/v1/{name=projects/*/locations/*/runtimes/*}:reset" } ] }, { - "shortName": "MarkRecommendationFailed", - "fullName": "google.cloud.recommender.v1.Recommender.MarkRecommendationFailed", + "shortName": "StartRuntime", + "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.StartRuntime", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/recommenders/*/recommendations/*}:markFailed" - }, - { - "httpMethod": "POST", - "path": "/v1/{name=billingAccounts/*/locations/*/recommenders/*/recommendations/*}:markFailed" - }, - { - "httpMethod": "POST", - "path": "/v1/{name=folders/*/locations/*/recommenders/*/recommendations/*}:markFailed" - }, - { - "httpMethod": "POST", - "path": "/v1/{name=organizations/*/locations/*/recommenders/*/recommendations/*}:markFailed" + "path": "/v1/{name=projects/*/locations/*/runtimes/*}:start" } ] }, { - "shortName": "MarkRecommendationSucceeded", - "fullName": "google.cloud.recommender.v1.Recommender.MarkRecommendationSucceeded", + "shortName": "StopRuntime", + "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.StopRuntime", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/recommenders/*/recommendations/*}:markSucceeded" - }, - { - "httpMethod": "POST", - "path": "/v1/{name=billingAccounts/*/locations/*/recommenders/*/recommendations/*}:markSucceeded" - }, - { - "httpMethod": "POST", - "path": "/v1/{name=folders/*/locations/*/recommenders/*/recommendations/*}:markSucceeded" - }, + "path": "/v1/{name=projects/*/locations/*/runtimes/*}:stop" + } + ] + }, + { + "shortName": "SwitchRuntime", + "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.SwitchRuntime", + "mode": "UNARY", + "bindings": [ { "httpMethod": "POST", - "path": "/v1/{name=organizations/*/locations/*/recommenders/*/recommendations/*}:markSucceeded" + "path": "/v1/{name=projects/*/locations/*/runtimes/*}:switch" } ] }, { - "shortName": "UpdateInsightTypeConfig", - "fullName": "google.cloud.recommender.v1.Recommender.UpdateInsightTypeConfig", + "shortName": "UpdateRuntime", + "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.UpdateRuntime", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1/{insight_type_config.name=projects/*/locations/*/insightTypes/*/config}" - }, - { - "httpMethod": "PATCH", - "path": "/v1/{insight_type_config.name=organizations/*/locations/*/insightTypes/*/config}" + "path": "/v1/{runtime.name=projects/*/locations/*/runtimes/*}" } ] }, { - "shortName": "UpdateRecommenderConfig", - "fullName": "google.cloud.recommender.v1.Recommender.UpdateRecommenderConfig", + "shortName": "UpgradeRuntime", + "fullName": "google.cloud.notebooks.v1.ManagedNotebookService.UpgradeRuntime", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{recommender_config.name=projects/*/locations/*/recommenders/*/config}" - }, - { - "httpMethod": "PATCH", - "path": "/v1/{recommender_config.name=organizations/*/locations/*/recommenders/*/config}" + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/runtimes/*}:upgrade" } ] } ] - } - ], - "configFile": "recommender_v1.yaml", - "serviceConfigApiNames": [ - "google.cloud.recommender.v1.Recommender" - ], - "nameInServiceConfig": "recommender.googleapis.com" - }, - { - "id": "google.cloud.recommender.v1beta1", - "directory": "google/cloud/recommender/v1beta1", - "version": "v1beta1", - "majorVersion": "v1", - "hostName": "recommender.googleapis.com", - "title": "Recommender API", - "description": "", - "importDirectories": [ - "google/api", - "google/cloud/recommender/v1beta1", - "google/protobuf", - "google/type" - ], - "options": { - "csharp_namespace": { - "valueCounts": { - "Google.Cloud.Recommender.V1Beta1": 5 - } - }, - "go_package": { - "valueCounts": { - "cloud.google.com/go/recommender/apiv1beta1/recommenderpb;recommenderpb": 5 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 5 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.recommender.v1beta1": 5 - } }, - "objc_class_prefix": { - "valueCounts": { - "CREC": 5 - } - } - }, - "services": [ { - "shortName": "Recommender", - "fullName": "google.cloud.recommender.v1beta1.Recommender", + "shortName": "NotebookService", + "fullName": "google.cloud.notebooks.v1.NotebookService", "methods": [ { - "shortName": "GetInsight", - "fullName": "google.cloud.recommender.v1beta1.Recommender.GetInsight", + "shortName": "CreateEnvironment", + "fullName": "google.cloud.notebooks.v1.NotebookService.CreateEnvironment", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{name=projects/*/locations/*/insightTypes/*/insights/*}" - }, - { - "httpMethod": "GET", - "path": "/v1beta1/{name=billingAccounts/*/locations/*/insightTypes/*/insights/*}" - }, - { - "httpMethod": "GET", - "path": "/v1beta1/{name=folders/*/locations/*/insightTypes/*/insights/*}" - }, - { - "httpMethod": "GET", - "path": "/v1beta1/{name=organizations/*/locations/*/insightTypes/*/insights/*}" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/environments" } ] }, { - "shortName": "GetInsightTypeConfig", - "fullName": "google.cloud.recommender.v1beta1.Recommender.GetInsightTypeConfig", + "shortName": "CreateExecution", + "fullName": "google.cloud.notebooks.v1.NotebookService.CreateExecution", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{name=projects/*/locations/*/insightTypes/*/config}" - }, - { - "httpMethod": "GET", - "path": "/v1beta1/{name=organizations/*/locations/*/insightTypes/*/config}" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/executions" } ] }, { - "shortName": "GetRecommendation", - "fullName": "google.cloud.recommender.v1beta1.Recommender.GetRecommendation", + "shortName": "CreateInstance", + "fullName": "google.cloud.notebooks.v1.NotebookService.CreateInstance", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{name=projects/*/locations/*/recommenders/*/recommendations/*}" - }, - { - "httpMethod": "GET", - "path": "/v1beta1/{name=billingAccounts/*/locations/*/recommenders/*/recommendations/*}" - }, - { - "httpMethod": "GET", - "path": "/v1beta1/{name=folders/*/locations/*/recommenders/*/recommendations/*}" - }, - { - "httpMethod": "GET", - "path": "/v1beta1/{name=organizations/*/locations/*/recommenders/*/recommendations/*}" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/instances" } ] }, { - "shortName": "GetRecommenderConfig", - "fullName": "google.cloud.recommender.v1beta1.Recommender.GetRecommenderConfig", + "shortName": "CreateSchedule", + "fullName": "google.cloud.notebooks.v1.NotebookService.CreateSchedule", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{name=projects/*/locations/*/recommenders/*/config}" - }, - { - "httpMethod": "GET", - "path": "/v1beta1/{name=organizations/*/locations/*/recommenders/*/config}" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/schedules" } ] }, { - "shortName": "ListInsights", - "fullName": "google.cloud.recommender.v1beta1.Recommender.ListInsights", + "shortName": "DeleteEnvironment", + "fullName": "google.cloud.notebooks.v1.NotebookService.DeleteEnvironment", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{parent=projects/*/locations/*/insightTypes/*}/insights" - }, - { - "httpMethod": "GET", - "path": "/v1beta1/{parent=billingAccounts/*/locations/*/insightTypes/*}/insights" - }, - { - "httpMethod": "GET", - "path": "/v1beta1/{parent=folders/*/locations/*/insightTypes/*}/insights" - }, - { - "httpMethod": "GET", - "path": "/v1beta1/{parent=organizations/*/locations/*/insightTypes/*}/insights" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/environments/*}" } ] }, { - "shortName": "ListRecommendations", - "fullName": "google.cloud.recommender.v1beta1.Recommender.ListRecommendations", + "shortName": "DeleteExecution", + "fullName": "google.cloud.notebooks.v1.NotebookService.DeleteExecution", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{parent=projects/*/locations/*/recommenders/*}/recommendations" - }, - { - "httpMethod": "GET", - "path": "/v1beta1/{parent=billingAccounts/*/locations/*/recommenders/*}/recommendations" - }, - { - "httpMethod": "GET", - "path": "/v1beta1/{parent=folders/*/locations/*/recommenders/*}/recommendations" - }, - { - "httpMethod": "GET", - "path": "/v1beta1/{parent=organizations/*/locations/*/recommenders/*}/recommendations" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/executions/*}" } ] }, { - "shortName": "MarkInsightAccepted", - "fullName": "google.cloud.recommender.v1beta1.Recommender.MarkInsightAccepted", + "shortName": "DeleteInstance", + "fullName": "google.cloud.notebooks.v1.NotebookService.DeleteInstance", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta1/{name=projects/*/locations/*/insightTypes/*/insights/*}:markAccepted" - }, - { - "httpMethod": "POST", - "path": "/v1beta1/{name=billingAccounts/*/locations/*/insightTypes/*/insights/*}:markAccepted" - }, - { - "httpMethod": "POST", - "path": "/v1beta1/{name=folders/*/locations/*/insightTypes/*/insights/*}:markAccepted" - }, - { - "httpMethod": "POST", - "path": "/v1beta1/{name=organizations/*/locations/*/insightTypes/*/insights/*}:markAccepted" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/instances/*}" } ] }, { - "shortName": "MarkRecommendationClaimed", - "fullName": "google.cloud.recommender.v1beta1.Recommender.MarkRecommendationClaimed", + "shortName": "DeleteSchedule", + "fullName": "google.cloud.notebooks.v1.NotebookService.DeleteSchedule", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta1/{name=projects/*/locations/*/recommenders/*/recommendations/*}:markClaimed" - }, - { - "httpMethod": "POST", - "path": "/v1beta1/{name=billingAccounts/*/locations/*/recommenders/*/recommendations/*}:markClaimed" - }, - { - "httpMethod": "POST", - "path": "/v1beta1/{name=folders/*/locations/*/recommenders/*/recommendations/*}:markClaimed" - }, - { - "httpMethod": "POST", - "path": "/v1beta1/{name=organizations/*/locations/*/recommenders/*/recommendations/*}:markClaimed" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/schedules/*}" } ] }, { - "shortName": "MarkRecommendationFailed", - "fullName": "google.cloud.recommender.v1beta1.Recommender.MarkRecommendationFailed", + "shortName": "DiagnoseInstance", + "fullName": "google.cloud.notebooks.v1.NotebookService.DiagnoseInstance", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{name=projects/*/locations/*/recommenders/*/recommendations/*}:markFailed" - }, - { - "httpMethod": "POST", - "path": "/v1beta1/{name=billingAccounts/*/locations/*/recommenders/*/recommendations/*}:markFailed" - }, - { - "httpMethod": "POST", - "path": "/v1beta1/{name=folders/*/locations/*/recommenders/*/recommendations/*}:markFailed" - }, - { - "httpMethod": "POST", - "path": "/v1beta1/{name=organizations/*/locations/*/recommenders/*/recommendations/*}:markFailed" + "path": "/v1/{name=projects/*/locations/*/instances/*}:diagnose" } ] }, { - "shortName": "MarkRecommendationSucceeded", - "fullName": "google.cloud.recommender.v1beta1.Recommender.MarkRecommendationSucceeded", + "shortName": "GetEnvironment", + "fullName": "google.cloud.notebooks.v1.NotebookService.GetEnvironment", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta1/{name=projects/*/locations/*/recommenders/*/recommendations/*}:markSucceeded" - }, - { - "httpMethod": "POST", - "path": "/v1beta1/{name=billingAccounts/*/locations/*/recommenders/*/recommendations/*}:markSucceeded" - }, - { - "httpMethod": "POST", - "path": "/v1beta1/{name=folders/*/locations/*/recommenders/*/recommendations/*}:markSucceeded" - }, - { - "httpMethod": "POST", - "path": "/v1beta1/{name=organizations/*/locations/*/recommenders/*/recommendations/*}:markSucceeded" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/environments/*}" } ] }, { - "shortName": "UpdateInsightTypeConfig", - "fullName": "google.cloud.recommender.v1beta1.Recommender.UpdateInsightTypeConfig", + "shortName": "GetExecution", + "fullName": "google.cloud.notebooks.v1.NotebookService.GetExecution", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1beta1/{insight_type_config.name=projects/*/locations/*/insightTypes/*/config}" - }, - { - "httpMethod": "POST", - "path": "/v1beta1/{insight_type_config.name=organizations/*/locations/*/insightTypes/*/config}" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/executions/*}" } ] }, { - "shortName": "UpdateRecommenderConfig", - "fullName": "google.cloud.recommender.v1beta1.Recommender.UpdateRecommenderConfig", + "shortName": "GetInstance", + "fullName": "google.cloud.notebooks.v1.NotebookService.GetInstance", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1beta1/{recommender_config.name=projects/*/locations/*/recommenders/*/config}" - }, - { - "httpMethod": "POST", - "path": "/v1beta1/{recommender_config.name=organizations/*/locations/*/recommenders/*/config}" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/instances/*}" } ] - } - ] - } - ], - "configFile": "recommender_v1beta1.yaml", - "serviceConfigApiNames": [ - "google.cloud.recommender.v1beta1.Recommender" - ], - "nameInServiceConfig": "recommender.googleapis.com" - }, - { - "id": "google.cloud.redis.v1", - "directory": "google/cloud/redis/v1", - "version": "v1", - "majorVersion": "v1", - "hostName": "redis.googleapis.com", - "title": "Google Cloud Memorystore for Redis API", - "description": "Creates and manages Redis instances on the Google Cloud Platform.", - "importDirectories": [ - "google/api", - "google/longrunning", - "google/protobuf", - "google/type" - ], - "options": { - "go_package": { - "valueCounts": { - "cloud.google.com/go/redis/apiv1/redispb;redispb": 1 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 1 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.redis.v1": 1 - } - } - }, - "services": [ - { - "shortName": "CloudRedis", - "fullName": "google.cloud.redis.v1.CloudRedis", - "methods": [ + }, { - "shortName": "CreateInstance", - "fullName": "google.cloud.redis.v1.CloudRedis.CreateInstance", + "shortName": "GetInstanceHealth", + "fullName": "google.cloud.notebooks.v1.NotebookService.GetInstanceHealth", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/instances" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/instances/*}:getInstanceHealth" } ] }, { - "shortName": "DeleteInstance", - "fullName": "google.cloud.redis.v1.CloudRedis.DeleteInstance", + "shortName": "GetSchedule", + "fullName": "google.cloud.notebooks.v1.NotebookService.GetSchedule", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/instances/*}" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/schedules/*}" } ] }, { - "shortName": "ExportInstance", - "fullName": "google.cloud.redis.v1.CloudRedis.ExportInstance", + "shortName": "IsInstanceUpgradeable", + "fullName": "google.cloud.notebooks.v1.NotebookService.IsInstanceUpgradeable", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/instances/*}:export" + "httpMethod": "GET", + "path": "/v1/{notebook_instance=projects/*/locations/*/instances/*}:isUpgradeable" } ] }, { - "shortName": "FailoverInstance", - "fullName": "google.cloud.redis.v1.CloudRedis.FailoverInstance", + "shortName": "ListEnvironments", + "fullName": "google.cloud.notebooks.v1.NotebookService.ListEnvironments", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/instances/*}:failover" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/environments" } ] }, { - "shortName": "GetInstance", - "fullName": "google.cloud.redis.v1.CloudRedis.GetInstance", + "shortName": "ListExecutions", + "fullName": "google.cloud.notebooks.v1.NotebookService.ListExecutions", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/instances/*}" + "path": "/v1/{parent=projects/*/locations/*}/executions" } ] }, { - "shortName": "GetInstanceAuthString", - "fullName": "google.cloud.redis.v1.CloudRedis.GetInstanceAuthString", + "shortName": "ListInstances", + "fullName": "google.cloud.notebooks.v1.NotebookService.ListInstances", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/instances/*}/authString" + "path": "/v1/{parent=projects/*/locations/*}/instances" } ] }, { - "shortName": "ImportInstance", - "fullName": "google.cloud.redis.v1.CloudRedis.ImportInstance", + "shortName": "ListSchedules", + "fullName": "google.cloud.notebooks.v1.NotebookService.ListSchedules", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/instances/*}:import" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/schedules" } ] }, { - "shortName": "ListInstances", - "fullName": "google.cloud.redis.v1.CloudRedis.ListInstances", + "shortName": "RegisterInstance", + "fullName": "google.cloud.notebooks.v1.NotebookService.RegisterInstance", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/instances" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/instances:register" } ] }, { - "shortName": "RescheduleMaintenance", - "fullName": "google.cloud.redis.v1.CloudRedis.RescheduleMaintenance", + "shortName": "ReportInstanceInfo", + "fullName": "google.cloud.notebooks.v1.NotebookService.ReportInstanceInfo", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/instances/*}:rescheduleMaintenance" + "path": "/v1/{name=projects/*/locations/*/instances/*}:report" } ] }, { - "shortName": "UpdateInstance", - "fullName": "google.cloud.redis.v1.CloudRedis.UpdateInstance", + "shortName": "ResetInstance", + "fullName": "google.cloud.notebooks.v1.NotebookService.ResetInstance", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{instance.name=projects/*/locations/*/instances/*}" + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/instances/*}:reset" } ] }, { - "shortName": "UpgradeInstance", - "fullName": "google.cloud.redis.v1.CloudRedis.UpgradeInstance", + "shortName": "RollbackInstance", + "fullName": "google.cloud.notebooks.v1.NotebookService.RollbackInstance", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/instances/*}:upgrade" + "path": "/v1/{name=projects/*/locations/*/instances/*}:rollback" } ] - } - ] - } - ], - "configFile": "redis_v1.yaml", - "serviceConfigApiNames": [ - "google.cloud.redis.v1.CloudRedis" - ], - "nameInServiceConfig": "redis.googleapis.com" - }, - { - "id": "google.cloud.redis.v1beta1", - "directory": "google/cloud/redis/v1beta1", - "version": "v1beta1", - "majorVersion": "v1", - "hostName": "redis.googleapis.com", - "title": "Google Cloud Memorystore for Redis API", - "description": "Creates and manages Redis instances on the Google Cloud Platform.", - "importDirectories": [ - "google/api", - "google/longrunning", - "google/protobuf", - "google/type" - ], - "options": { - "go_package": { - "valueCounts": { - "cloud.google.com/go/redis/apiv1beta1/redispb;redispb": 1 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 1 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.redis.v1beta1": 1 - } - } - }, - "services": [ - { - "shortName": "CloudRedis", - "fullName": "google.cloud.redis.v1beta1.CloudRedis", - "methods": [ + }, { - "shortName": "CreateInstance", - "fullName": "google.cloud.redis.v1beta1.CloudRedis.CreateInstance", + "shortName": "SetInstanceAccelerator", + "fullName": "google.cloud.notebooks.v1.NotebookService.SetInstanceAccelerator", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta1/{parent=projects/*/locations/*}/instances" + "httpMethod": "PATCH", + "path": "/v1/{name=projects/*/locations/*/instances/*}:setAccelerator" } ] }, { - "shortName": "DeleteInstance", - "fullName": "google.cloud.redis.v1beta1.CloudRedis.DeleteInstance", + "shortName": "SetInstanceLabels", + "fullName": "google.cloud.notebooks.v1.NotebookService.SetInstanceLabels", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1beta1/{name=projects/*/locations/*/instances/*}" + "httpMethod": "PATCH", + "path": "/v1/{name=projects/*/locations/*/instances/*}:setLabels" } ] }, { - "shortName": "ExportInstance", - "fullName": "google.cloud.redis.v1beta1.CloudRedis.ExportInstance", + "shortName": "SetInstanceMachineType", + "fullName": "google.cloud.notebooks.v1.NotebookService.SetInstanceMachineType", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta1/{name=projects/*/locations/*/instances/*}:export" + "httpMethod": "PATCH", + "path": "/v1/{name=projects/*/locations/*/instances/*}:setMachineType" } ] }, { - "shortName": "FailoverInstance", - "fullName": "google.cloud.redis.v1beta1.CloudRedis.FailoverInstance", + "shortName": "StartInstance", + "fullName": "google.cloud.notebooks.v1.NotebookService.StartInstance", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{name=projects/*/locations/*/instances/*}:failover" + "path": "/v1/{name=projects/*/locations/*/instances/*}:start" } ] }, { - "shortName": "GetInstance", - "fullName": "google.cloud.redis.v1beta1.CloudRedis.GetInstance", + "shortName": "StopInstance", + "fullName": "google.cloud.notebooks.v1.NotebookService.StopInstance", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{name=projects/*/locations/*/instances/*}" + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/instances/*}:stop" } ] }, { - "shortName": "GetInstanceAuthString", - "fullName": "google.cloud.redis.v1beta1.CloudRedis.GetInstanceAuthString", + "shortName": "TriggerSchedule", + "fullName": "google.cloud.notebooks.v1.NotebookService.TriggerSchedule", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{name=projects/*/locations/*/instances/*}/authString" + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/schedules/*}:trigger" } ] }, { - "shortName": "ImportInstance", - "fullName": "google.cloud.redis.v1beta1.CloudRedis.ImportInstance", + "shortName": "UpdateInstanceConfig", + "fullName": "google.cloud.notebooks.v1.NotebookService.UpdateInstanceConfig", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta1/{name=projects/*/locations/*/instances/*}:import" + "httpMethod": "PATCH", + "path": "/v1/{name=projects/*/locations/*/instances/*}:updateConfig" } ] }, { - "shortName": "ListInstances", - "fullName": "google.cloud.redis.v1beta1.CloudRedis.ListInstances", + "shortName": "UpdateInstanceMetadataItems", + "fullName": "google.cloud.notebooks.v1.NotebookService.UpdateInstanceMetadataItems", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{parent=projects/*/locations/*}/instances" + "httpMethod": "PATCH", + "path": "/v1/{name=projects/*/locations/*/instances/*}:updateMetadataItems" } ] }, { - "shortName": "RescheduleMaintenance", - "fullName": "google.cloud.redis.v1beta1.CloudRedis.RescheduleMaintenance", + "shortName": "UpdateShieldedInstanceConfig", + "fullName": "google.cloud.notebooks.v1.NotebookService.UpdateShieldedInstanceConfig", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta1/{name=projects/*/locations/*/instances/*}:rescheduleMaintenance" + "httpMethod": "PATCH", + "path": "/v1/{name=projects/*/locations/*/instances/*}:updateShieldedInstanceConfig" } ] }, { - "shortName": "UpdateInstance", - "fullName": "google.cloud.redis.v1beta1.CloudRedis.UpdateInstance", + "shortName": "UpgradeInstance", + "fullName": "google.cloud.notebooks.v1.NotebookService.UpgradeInstance", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1beta1/{instance.name=projects/*/locations/*/instances/*}" + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/instances/*}:upgrade" } ] }, { - "shortName": "UpgradeInstance", - "fullName": "google.cloud.redis.v1beta1.CloudRedis.UpgradeInstance", + "shortName": "UpgradeInstanceInternal", + "fullName": "google.cloud.notebooks.v1.NotebookService.UpgradeInstanceInternal", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{name=projects/*/locations/*/instances/*}:upgrade" + "path": "/v1/{name=projects/*/locations/*/instances/*}:upgradeInternal" } ] } ] } ], - "configFile": "redis_v1beta1.yaml", + "configFile": "notebooks_v1.yaml", "serviceConfigApiNames": [ - "google.cloud.redis.v1beta1.CloudRedis" + "google.cloud.location.Locations", + "google.cloud.notebooks.v1.ManagedNotebookService", + "google.cloud.notebooks.v1.NotebookService", + "google.iam.v1.IAMPolicy", + "google.longrunning.Operations" ], - "nameInServiceConfig": "redis.googleapis.com" + "nameInServiceConfig": "notebooks.googleapis.com" }, { - "id": "google.cloud.resourcemanager.v2", - "directory": "google/cloud/resourcemanager/v2", - "version": "v2", - "majorVersion": "v2", - "hostName": "cloudresourcemanager.googleapis.com", - "title": "Cloud Resource Manager API", - "description": "Creates, reads, and updates metadata for Google Cloud Platform resource containers.", + "id": "google.cloud.notebooks.v1beta1", + "directory": "google/cloud/notebooks/v1beta1", + "version": "v1beta1", + "majorVersion": "v1", + "hostName": "notebooks.googleapis.com", + "title": "Notebooks API", + "description": "Notebooks API is used to manage notebook resources in Google Cloud.", "importDirectories": [ "google/api", - "google/iam/v1", + "google/cloud/notebooks/v1beta1", "google/longrunning", "google/protobuf" ], "options": { "csharp_namespace": { "valueCounts": { - "Google.Cloud.ResourceManager.V2": 1 + "Google.Cloud.Notebooks.V1Beta1": 3 } }, "go_package": { "valueCounts": { - "cloud.google.com/go/resourcemanager/apiv2/resourcemanagerpb;resourcemanagerpb": 1 + "cloud.google.com/go/notebooks/apiv1beta1/notebookspb;notebookspb": 3 } }, "java_multiple_files": { "valueCounts": { - "true": 1 + "true": 3 } }, "java_package": { "valueCounts": { - "com.google.cloud.resourcemanager.v2": 1 + "com.google.cloud.notebooks.v1beta1": 3 } }, "php_namespace": { "valueCounts": { - "Google\\Cloud\\ResourceManager\\V2": 1 + "Google\\Cloud\\Notebooks\\V1beta1": 3 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::Notebooks::V1beta1": 3 } } }, "services": [ { - "shortName": "Folders", - "fullName": "google.cloud.resourcemanager.v2.Folders", + "shortName": "NotebookService", + "fullName": "google.cloud.notebooks.v1beta1.NotebookService", "methods": [ { - "shortName": "CreateFolder", - "fullName": "google.cloud.resourcemanager.v2.Folders.CreateFolder", + "shortName": "CreateEnvironment", + "fullName": "google.cloud.notebooks.v1beta1.NotebookService.CreateEnvironment", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2/folders" + "path": "/v1beta1/{parent=projects/*/locations/*}/environments" } ] }, { - "shortName": "DeleteFolder", - "fullName": "google.cloud.resourcemanager.v2.Folders.DeleteFolder", + "shortName": "CreateInstance", + "fullName": "google.cloud.notebooks.v1beta1.NotebookService.CreateInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/instances" + } + ] + }, + { + "shortName": "DeleteEnvironment", + "fullName": "google.cloud.notebooks.v1beta1.NotebookService.DeleteEnvironment", "mode": "UNARY", "bindings": [ { "httpMethod": "DELETE", - "path": "/v2/{name=folders/*}" + "path": "/v1beta1/{name=projects/*/locations/*/environments/*}" } ] }, { - "shortName": "GetFolder", - "fullName": "google.cloud.resourcemanager.v2.Folders.GetFolder", + "shortName": "DeleteInstance", + "fullName": "google.cloud.notebooks.v1beta1.NotebookService.DeleteInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/instances/*}" + } + ] + }, + { + "shortName": "GetEnvironment", + "fullName": "google.cloud.notebooks.v1beta1.NotebookService.GetEnvironment", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2/{name=folders/*}" + "path": "/v1beta1/{name=projects/*/locations/*/environments/*}" } ] }, { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.resourcemanager.v2.Folders.GetIamPolicy", + "shortName": "GetInstance", + "fullName": "google.cloud.notebooks.v1beta1.NotebookService.GetInstance", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2/{resource=folders/*}:getIamPolicy" + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/instances/*}" } ] }, { - "shortName": "ListFolders", - "fullName": "google.cloud.resourcemanager.v2.Folders.ListFolders", + "shortName": "IsInstanceUpgradeable", + "fullName": "google.cloud.notebooks.v1beta1.NotebookService.IsInstanceUpgradeable", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2/folders" + "path": "/v1beta1/{notebook_instance=projects/*/locations/*/instances/*}:isUpgradeable" } ] }, { - "shortName": "MoveFolder", - "fullName": "google.cloud.resourcemanager.v2.Folders.MoveFolder", + "shortName": "ListEnvironments", + "fullName": "google.cloud.notebooks.v1beta1.NotebookService.ListEnvironments", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/environments" + } + ] + }, + { + "shortName": "ListInstances", + "fullName": "google.cloud.notebooks.v1beta1.NotebookService.ListInstances", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/instances" + } + ] + }, + { + "shortName": "RegisterInstance", + "fullName": "google.cloud.notebooks.v1beta1.NotebookService.RegisterInstance", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2/{name=folders/*}:move" + "path": "/v1beta1/{parent=projects/*/locations/*}/instances:register" } ] }, { - "shortName": "SearchFolders", - "fullName": "google.cloud.resourcemanager.v2.Folders.SearchFolders", + "shortName": "ReportInstanceInfo", + "fullName": "google.cloud.notebooks.v1beta1.NotebookService.ReportInstanceInfo", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2/folders:search" + "path": "/v1beta1/{name=projects/*/locations/*/instances/*}:report" } ] }, { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.resourcemanager.v2.Folders.SetIamPolicy", + "shortName": "ResetInstance", + "fullName": "google.cloud.notebooks.v1beta1.NotebookService.ResetInstance", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2/{resource=folders/*}:setIamPolicy" + "path": "/v1beta1/{name=projects/*/locations/*/instances/*}:reset" } ] }, { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.resourcemanager.v2.Folders.TestIamPermissions", + "shortName": "SetInstanceAccelerator", + "fullName": "google.cloud.notebooks.v1beta1.NotebookService.SetInstanceAccelerator", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{name=projects/*/locations/*/instances/*}:setAccelerator" + } + ] + }, + { + "shortName": "SetInstanceLabels", + "fullName": "google.cloud.notebooks.v1beta1.NotebookService.SetInstanceLabels", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{name=projects/*/locations/*/instances/*}:setLabels" + } + ] + }, + { + "shortName": "SetInstanceMachineType", + "fullName": "google.cloud.notebooks.v1beta1.NotebookService.SetInstanceMachineType", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{name=projects/*/locations/*/instances/*}:setMachineType" + } + ] + }, + { + "shortName": "StartInstance", + "fullName": "google.cloud.notebooks.v1beta1.NotebookService.StartInstance", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2/{resource=folders/*}:testIamPermissions" + "path": "/v1beta1/{name=projects/*/locations/*/instances/*}:start" } ] }, { - "shortName": "UndeleteFolder", - "fullName": "google.cloud.resourcemanager.v2.Folders.UndeleteFolder", + "shortName": "StopInstance", + "fullName": "google.cloud.notebooks.v1beta1.NotebookService.StopInstance", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2/{name=folders/*}:undelete" + "path": "/v1beta1/{name=projects/*/locations/*/instances/*}:stop" } ] }, { - "shortName": "UpdateFolder", - "fullName": "google.cloud.resourcemanager.v2.Folders.UpdateFolder", + "shortName": "UpgradeInstance", + "fullName": "google.cloud.notebooks.v1beta1.NotebookService.UpgradeInstance", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v2/{folder.name=folders/*}" + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/instances/*}:upgrade" + } + ] + }, + { + "shortName": "UpgradeInstanceInternal", + "fullName": "google.cloud.notebooks.v1beta1.NotebookService.UpgradeInstanceInternal", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/instances/*}:upgradeInternal" } ] } ] } ], - "configFile": "cloudresourcemanager_v2.yaml", + "configFile": "notebooks_v1beta1.yaml", "serviceConfigApiNames": [ - "google.cloud.resourcemanager.v2.Folders" + "google.cloud.location.Locations", + "google.cloud.notebooks.v1beta1.NotebookService", + "google.iam.v1.IAMPolicy", + "google.longrunning.Operations" ], - "nameInServiceConfig": "cloudresourcemanager.googleapis.com" + "nameInServiceConfig": "notebooks.googleapis.com" }, { - "id": "google.cloud.resourcemanager.v3", - "directory": "google/cloud/resourcemanager/v3", - "version": "v3", - "majorVersion": "v3", - "hostName": "cloudresourcemanager.googleapis.com", - "title": "Cloud Resource Manager API", - "description": "Creates, reads, and updates metadata for Google Cloud Platform resource containers.", + "id": "google.cloud.notebooks.v2", + "directory": "google/cloud/notebooks/v2", + "version": "v2", + "majorVersion": "v2", + "hostName": "notebooks.googleapis.com", + "title": "Notebooks API", + "description": "Notebooks API is used to manage notebook resources in Google Cloud.", "importDirectories": [ "google/api", - "google/iam/v1", + "google/cloud/notebooks/v2", "google/longrunning", "google/protobuf" ], "options": { "csharp_namespace": { "valueCounts": { - "Google.Cloud.ResourceManager.V3": 6 + "Google.Cloud.Notebooks.V2": 5 } }, "go_package": { "valueCounts": { - "cloud.google.com/go/resourcemanager/apiv3/resourcemanagerpb;resourcemanagerpb": 6 + "cloud.google.com/go/notebooks/apiv2/notebookspb;notebookspb": 5 } }, "java_multiple_files": { "valueCounts": { - "true": 6 + "true": 5 } }, "java_package": { "valueCounts": { - "com.google.cloud.resourcemanager.v3": 6 + "com.google.cloud.notebooks.v2": 5 } }, "php_namespace": { "valueCounts": { - "Google\\Cloud\\ResourceManager\\V3": 6 + "Google\\Cloud\\Notebooks\\V2": 5 } }, "ruby_package": { "valueCounts": { - "Google::Cloud::ResourceManager::V3": 6 + "Google::Cloud::Notebooks::V2": 5 } } }, "services": [ { - "shortName": "Folders", - "fullName": "google.cloud.resourcemanager.v3.Folders", + "shortName": "NotebookService", + "fullName": "google.cloud.notebooks.v2.NotebookService", "methods": [ { - "shortName": "CreateFolder", - "fullName": "google.cloud.resourcemanager.v3.Folders.CreateFolder", + "shortName": "CheckInstanceUpgradability", + "fullName": "google.cloud.notebooks.v2.NotebookService.CheckInstanceUpgradability", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v3/folders" + "httpMethod": "GET", + "path": "/v2/{notebook_instance=projects/*/locations/*/instances/*}:checkUpgradability" } ] }, { - "shortName": "DeleteFolder", - "fullName": "google.cloud.resourcemanager.v3.Folders.DeleteFolder", + "shortName": "CreateInstance", + "fullName": "google.cloud.notebooks.v2.NotebookService.CreateInstance", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v3/{name=folders/*}" + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*}/instances" } ] }, { - "shortName": "GetFolder", - "fullName": "google.cloud.resourcemanager.v3.Folders.GetFolder", + "shortName": "DeleteInstance", + "fullName": "google.cloud.notebooks.v2.NotebookService.DeleteInstance", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v3/{name=folders/*}" + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/locations/*/instances/*}" } ] }, { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.resourcemanager.v3.Folders.GetIamPolicy", + "shortName": "DiagnoseInstance", + "fullName": "google.cloud.notebooks.v2.NotebookService.DiagnoseInstance", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v3/{resource=folders/*}:getIamPolicy" + "path": "/v2/{name=projects/*/locations/*/instances/*}:diagnose" } ] }, { - "shortName": "ListFolders", - "fullName": "google.cloud.resourcemanager.v3.Folders.ListFolders", + "shortName": "GetInstance", + "fullName": "google.cloud.notebooks.v2.NotebookService.GetInstance", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v3/folders" + "path": "/v2/{name=projects/*/locations/*/instances/*}" } ] }, { - "shortName": "MoveFolder", - "fullName": "google.cloud.resourcemanager.v3.Folders.MoveFolder", + "shortName": "ListInstances", + "fullName": "google.cloud.notebooks.v2.NotebookService.ListInstances", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v3/{name=folders/*}:move" + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*}/instances" } ] }, { - "shortName": "SearchFolders", - "fullName": "google.cloud.resourcemanager.v3.Folders.SearchFolders", + "shortName": "ResetInstance", + "fullName": "google.cloud.notebooks.v2.NotebookService.ResetInstance", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v3/folders:search" + "httpMethod": "POST", + "path": "/v2/{name=projects/*/locations/*/instances/*}:reset" } ] }, { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.resourcemanager.v3.Folders.SetIamPolicy", + "shortName": "RollbackInstance", + "fullName": "google.cloud.notebooks.v2.NotebookService.RollbackInstance", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v3/{resource=folders/*}:setIamPolicy" + "path": "/v2/{name=projects/*/locations/*/instances/*}:rollback" } ] }, { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.resourcemanager.v3.Folders.TestIamPermissions", + "shortName": "StartInstance", + "fullName": "google.cloud.notebooks.v2.NotebookService.StartInstance", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v3/{resource=folders/*}:testIamPermissions" + "path": "/v2/{name=projects/*/locations/*/instances/*}:start" } ] }, { - "shortName": "UndeleteFolder", - "fullName": "google.cloud.resourcemanager.v3.Folders.UndeleteFolder", + "shortName": "StopInstance", + "fullName": "google.cloud.notebooks.v2.NotebookService.StopInstance", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v3/{name=folders/*}:undelete" + "path": "/v2/{name=projects/*/locations/*/instances/*}:stop" } ] }, { - "shortName": "UpdateFolder", - "fullName": "google.cloud.resourcemanager.v3.Folders.UpdateFolder", + "shortName": "UpdateInstance", + "fullName": "google.cloud.notebooks.v2.NotebookService.UpdateInstance", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v3/{folder.name=folders/*}" + "path": "/v2/{instance.name=projects/*/locations/*/instances/*}" + } + ] + }, + { + "shortName": "UpgradeInstance", + "fullName": "google.cloud.notebooks.v2.NotebookService.UpgradeInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=projects/*/locations/*/instances/*}:upgrade" } ] } ] + } + ], + "configFile": "notebooks_v2.yaml", + "serviceConfigApiNames": [ + "google.cloud.location.Locations", + "google.cloud.notebooks.v2.NotebookService", + "google.iam.v1.IAMPolicy", + "google.longrunning.Operations" + ], + "nameInServiceConfig": "notebooks.googleapis.com" + }, + { + "id": "google.cloud.optimization.v1", + "directory": "google/cloud/optimization/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "cloudoptimization.googleapis.com", + "title": "Cloud Optimization API", + "description": "Cloud Optimization API provides a portfolio of solvers to address common optimization use cases starting with optimal route planning for vehicle fleets.", + "importDirectories": [ + "google/api", + "google/cloud/optimization/v1", + "google/longrunning", + "google/protobuf", + "google/type" + ], + "options": { + "go_package": { + "valueCounts": { + "cloud.google.com/go/optimization/apiv1/optimizationpb;optimizationpb": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } }, + "java_package": { + "valueCounts": { + "com.google.cloud.optimization.v1": 2 + } + } + }, + "services": [ { - "shortName": "Organizations", - "fullName": "google.cloud.resourcemanager.v3.Organizations", + "shortName": "FleetRouting", + "fullName": "google.cloud.optimization.v1.FleetRouting", "methods": [ { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.resourcemanager.v3.Organizations.GetIamPolicy", + "shortName": "BatchOptimizeTours", + "fullName": "google.cloud.optimization.v1.FleetRouting.BatchOptimizeTours", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v3/{resource=organizations/*}:getIamPolicy" + "path": "/v1/{parent=projects/*/locations/*}:batchOptimizeTours" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}:batchOptimizeTours" } ] }, { - "shortName": "GetOrganization", - "fullName": "google.cloud.resourcemanager.v3.Organizations.GetOrganization", + "shortName": "OptimizeTours", + "fullName": "google.cloud.optimization.v1.FleetRouting.OptimizeTours", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v3/{name=organizations/*}" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}:optimizeTours" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}:optimizeTours" } ] - }, + } + ] + } + ], + "configFile": "cloudoptimization_v1.yaml", + "serviceConfigApiNames": [ + "google.cloud.optimization.v1.FleetRouting", + "google.longrunning.Operations" + ], + "nameInServiceConfig": "cloudoptimization.googleapis.com" + }, + { + "id": "google.cloud.orchestration.airflow.service.v1", + "directory": "google/cloud/orchestration/airflow/service/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "composer.googleapis.com", + "title": "Cloud Composer API", + "description": "Manages Apache Airflow environments on Google Cloud Platform.", + "importDirectories": [ + "google/api", + "google/cloud/orchestration/airflow/service/v1", + "google/longrunning", + "google/protobuf", + "google/type" + ], + "options": { + "go_package": { + "valueCounts": { + "cloud.google.com/go/orchestration/airflow/service/apiv1/servicepb;servicepb": 3 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 3 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.orchestration.airflow.service.v1": 3 + } + } + }, + "services": [ + { + "shortName": "Environments", + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments", + "methods": [ { - "shortName": "SearchOrganizations", - "fullName": "google.cloud.resourcemanager.v3.Organizations.SearchOrganizations", + "shortName": "CreateEnvironment", + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.CreateEnvironment", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v3/organizations:search" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/environments" } ] }, { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.resourcemanager.v3.Organizations.SetIamPolicy", + "shortName": "CreateUserWorkloadsConfigMap", + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.CreateUserWorkloadsConfigMap", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v3/{resource=organizations/*}:setIamPolicy" + "path": "/v1/{parent=projects/*/locations/*/environments/*}/userWorkloadsConfigMaps" } ] }, { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.resourcemanager.v3.Organizations.TestIamPermissions", + "shortName": "CreateUserWorkloadsSecret", + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.CreateUserWorkloadsSecret", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v3/{resource=organizations/*}:testIamPermissions" + "path": "/v1/{parent=projects/*/locations/*/environments/*}/userWorkloadsSecrets" } ] - } - ] - }, - { - "shortName": "Projects", - "fullName": "google.cloud.resourcemanager.v3.Projects", - "methods": [ + }, { - "shortName": "CreateProject", - "fullName": "google.cloud.resourcemanager.v3.Projects.CreateProject", + "shortName": "DatabaseFailover", + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.DatabaseFailover", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v3/projects" + "path": "/v1/{environment=projects/*/locations/*/environments/*}:databaseFailover" } ] }, { - "shortName": "DeleteProject", - "fullName": "google.cloud.resourcemanager.v3.Projects.DeleteProject", + "shortName": "DeleteEnvironment", + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.DeleteEnvironment", "mode": "UNARY", "bindings": [ { "httpMethod": "DELETE", - "path": "/v3/{name=projects/*}" - } - ] - }, - { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.resourcemanager.v3.Projects.GetIamPolicy", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v3/{resource=projects/*}:getIamPolicy" + "path": "/v1/{name=projects/*/locations/*/environments/*}" } ] }, { - "shortName": "GetProject", - "fullName": "google.cloud.resourcemanager.v3.Projects.GetProject", + "shortName": "DeleteUserWorkloadsConfigMap", + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.DeleteUserWorkloadsConfigMap", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v3/{name=projects/*}" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/environments/*/userWorkloadsConfigMaps/*}" } ] }, { - "shortName": "ListProjects", - "fullName": "google.cloud.resourcemanager.v3.Projects.ListProjects", + "shortName": "DeleteUserWorkloadsSecret", + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.DeleteUserWorkloadsSecret", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v3/projects" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/environments/*/userWorkloadsSecrets/*}" } ] }, { - "shortName": "MoveProject", - "fullName": "google.cloud.resourcemanager.v3.Projects.MoveProject", + "shortName": "ExecuteAirflowCommand", + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.ExecuteAirflowCommand", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v3/{name=projects/*}:move" + "path": "/v1/{environment=projects/*/locations/*/environments/*}:executeAirflowCommand" } ] }, { - "shortName": "SearchProjects", - "fullName": "google.cloud.resourcemanager.v3.Projects.SearchProjects", + "shortName": "FetchDatabaseProperties", + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.FetchDatabaseProperties", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v3/projects:search" + "path": "/v1/{environment=projects/*/locations/*/environments/*}:fetchDatabaseProperties" } ] }, { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.resourcemanager.v3.Projects.SetIamPolicy", + "shortName": "GetEnvironment", + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.GetEnvironment", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v3/{resource=projects/*}:setIamPolicy" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/environments/*}" } ] }, { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.resourcemanager.v3.Projects.TestIamPermissions", + "shortName": "GetUserWorkloadsConfigMap", + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.GetUserWorkloadsConfigMap", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v3/{resource=projects/*}:testIamPermissions" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/environments/*/userWorkloadsConfigMaps/*}" } ] }, { - "shortName": "UndeleteProject", - "fullName": "google.cloud.resourcemanager.v3.Projects.UndeleteProject", + "shortName": "GetUserWorkloadsSecret", + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.GetUserWorkloadsSecret", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v3/{name=projects/*}:undelete" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/environments/*/userWorkloadsSecrets/*}" } ] }, { - "shortName": "UpdateProject", - "fullName": "google.cloud.resourcemanager.v3.Projects.UpdateProject", + "shortName": "ListEnvironments", + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.ListEnvironments", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v3/{project.name=projects/*}" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/environments" } ] - } - ] - }, - { - "shortName": "TagBindings", - "fullName": "google.cloud.resourcemanager.v3.TagBindings", - "methods": [ + }, { - "shortName": "CreateTagBinding", - "fullName": "google.cloud.resourcemanager.v3.TagBindings.CreateTagBinding", + "shortName": "ListUserWorkloadsConfigMaps", + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.ListUserWorkloadsConfigMaps", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v3/tagBindings" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/environments/*}/userWorkloadsConfigMaps" } ] }, { - "shortName": "DeleteTagBinding", - "fullName": "google.cloud.resourcemanager.v3.TagBindings.DeleteTagBinding", + "shortName": "ListUserWorkloadsSecrets", + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.ListUserWorkloadsSecrets", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v3/{name=tagBindings/**}" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/environments/*}/userWorkloadsSecrets" } ] }, { - "shortName": "ListTagBindings", - "fullName": "google.cloud.resourcemanager.v3.TagBindings.ListTagBindings", + "shortName": "ListWorkloads", + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.ListWorkloads", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v3/tagBindings" + "path": "/v1/{parent=projects/*/locations/*/environments/*}/workloads" } ] - } - ] - }, - { - "shortName": "TagKeys", - "fullName": "google.cloud.resourcemanager.v3.TagKeys", - "methods": [ + }, { - "shortName": "CreateTagKey", - "fullName": "google.cloud.resourcemanager.v3.TagKeys.CreateTagKey", + "shortName": "LoadSnapshot", + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.LoadSnapshot", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v3/tagKeys" + "path": "/v1/{environment=projects/*/locations/*/environments/*}:loadSnapshot" } ] }, { - "shortName": "DeleteTagKey", - "fullName": "google.cloud.resourcemanager.v3.TagKeys.DeleteTagKey", + "shortName": "PollAirflowCommand", + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.PollAirflowCommand", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v3/{name=tagKeys/*}" + "httpMethod": "POST", + "path": "/v1/{environment=projects/*/locations/*/environments/*}:pollAirflowCommand" } ] }, { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.resourcemanager.v3.TagKeys.GetIamPolicy", + "shortName": "SaveSnapshot", + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.SaveSnapshot", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v3/{resource=tagKeys/*}:getIamPolicy" + "path": "/v1/{environment=projects/*/locations/*/environments/*}:saveSnapshot" } ] }, { - "shortName": "GetTagKey", - "fullName": "google.cloud.resourcemanager.v3.TagKeys.GetTagKey", + "shortName": "StopAirflowCommand", + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.StopAirflowCommand", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v3/{name=tagKeys/*}" + "httpMethod": "POST", + "path": "/v1/{environment=projects/*/locations/*/environments/*}:stopAirflowCommand" } ] }, { - "shortName": "ListTagKeys", - "fullName": "google.cloud.resourcemanager.v3.TagKeys.ListTagKeys", + "shortName": "UpdateEnvironment", + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.UpdateEnvironment", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v3/tagKeys" + "httpMethod": "PATCH", + "path": "/v1/{name=projects/*/locations/*/environments/*}" } ] }, { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.resourcemanager.v3.TagKeys.SetIamPolicy", + "shortName": "UpdateUserWorkloadsConfigMap", + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.UpdateUserWorkloadsConfigMap", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v3/{resource=tagKeys/*}:setIamPolicy" + "httpMethod": "PUT", + "path": "/v1/{user_workloads_config_map.name=projects/*/locations/*/environments/*/userWorkloadsConfigMaps/*}" } ] }, { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.resourcemanager.v3.TagKeys.TestIamPermissions", + "shortName": "UpdateUserWorkloadsSecret", + "fullName": "google.cloud.orchestration.airflow.service.v1.Environments.UpdateUserWorkloadsSecret", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v3/{resource=tagKeys/*}:testIamPermissions" + "httpMethod": "PUT", + "path": "/v1/{user_workloads_secret.name=projects/*/locations/*/environments/*/userWorkloadsSecrets/*}" } ] - }, + } + ] + }, + { + "shortName": "ImageVersions", + "fullName": "google.cloud.orchestration.airflow.service.v1.ImageVersions", + "methods": [ { - "shortName": "UpdateTagKey", - "fullName": "google.cloud.resourcemanager.v3.TagKeys.UpdateTagKey", + "shortName": "ListImageVersions", + "fullName": "google.cloud.orchestration.airflow.service.v1.ImageVersions.ListImageVersions", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v3/{tag_key.name=tagKeys/*}" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/imageVersions" } ] } ] + } + ], + "configFile": "composer_v1.yaml", + "serviceConfigApiNames": [ + "google.cloud.orchestration.airflow.service.v1.Environments", + "google.cloud.orchestration.airflow.service.v1.ImageVersions", + "google.longrunning.Operations" + ], + "nameInServiceConfig": "composer.googleapis.com" + }, + { + "id": "google.cloud.orchestration.airflow.service.v1beta1", + "directory": "google/cloud/orchestration/airflow/service/v1beta1", + "version": "v1beta1", + "majorVersion": "v1", + "hostName": "composer.googleapis.com", + "title": "Cloud Composer API", + "description": "Manages Apache Airflow environments on Google Cloud Platform.", + "importDirectories": [ + "google/api", + "google/cloud/orchestration/airflow/service/v1beta1", + "google/longrunning", + "google/protobuf", + "google/type" + ], + "options": { + "go_package": { + "valueCounts": { + "cloud.google.com/go/orchestration/airflow/service/apiv1beta1/servicepb;servicepb": 3 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 3 + } }, + "java_package": { + "valueCounts": { + "com.google.cloud.orchestration.airflow.service.v1beta1": 3 + } + } + }, + "services": [ { - "shortName": "TagValues", - "fullName": "google.cloud.resourcemanager.v3.TagValues", + "shortName": "Environments", + "fullName": "google.cloud.orchestration.airflow.service.v1beta1.Environments", "methods": [ { - "shortName": "CreateTagValue", - "fullName": "google.cloud.resourcemanager.v3.TagValues.CreateTagValue", + "shortName": "CheckUpgrade", + "fullName": "google.cloud.orchestration.airflow.service.v1beta1.Environments.CheckUpgrade", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v3/tagValues" + "path": "/v1beta1/{environment=projects/*/locations/*/environments/*}:checkUpgrade" } ] }, { - "shortName": "DeleteTagValue", - "fullName": "google.cloud.resourcemanager.v3.TagValues.DeleteTagValue", + "shortName": "CreateEnvironment", + "fullName": "google.cloud.orchestration.airflow.service.v1beta1.Environments.CreateEnvironment", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v3/{name=tagValues/*}" + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/environments" } ] }, { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.resourcemanager.v3.TagValues.GetIamPolicy", + "shortName": "CreateUserWorkloadsConfigMap", + "fullName": "google.cloud.orchestration.airflow.service.v1beta1.Environments.CreateUserWorkloadsConfigMap", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v3/{resource=tagValues/*}:getIamPolicy" + "path": "/v1beta1/{parent=projects/*/locations/*/environments/*}/userWorkloadsConfigMaps" } ] }, { - "shortName": "GetTagValue", - "fullName": "google.cloud.resourcemanager.v3.TagValues.GetTagValue", + "shortName": "CreateUserWorkloadsSecret", + "fullName": "google.cloud.orchestration.airflow.service.v1beta1.Environments.CreateUserWorkloadsSecret", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v3/{name=tagValues/*}" + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*/environments/*}/userWorkloadsSecrets" } ] }, { - "shortName": "ListTagValues", - "fullName": "google.cloud.resourcemanager.v3.TagValues.ListTagValues", + "shortName": "DatabaseFailover", + "fullName": "google.cloud.orchestration.airflow.service.v1beta1.Environments.DatabaseFailover", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v3/tagValues" + "httpMethod": "POST", + "path": "/v1beta1/{environment=projects/*/locations/*/environments/*}:databaseFailover" } ] }, { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.resourcemanager.v3.TagValues.SetIamPolicy", + "shortName": "DeleteEnvironment", + "fullName": "google.cloud.orchestration.airflow.service.v1beta1.Environments.DeleteEnvironment", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v3/{resource=tagValues/*}:setIamPolicy" + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/environments/*}" } ] }, { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.resourcemanager.v3.TagValues.TestIamPermissions", + "shortName": "DeleteUserWorkloadsConfigMap", + "fullName": "google.cloud.orchestration.airflow.service.v1beta1.Environments.DeleteUserWorkloadsConfigMap", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v3/{resource=tagValues/*}:testIamPermissions" + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/environments/*/userWorkloadsConfigMaps/*}" } ] }, { - "shortName": "UpdateTagValue", - "fullName": "google.cloud.resourcemanager.v3.TagValues.UpdateTagValue", + "shortName": "DeleteUserWorkloadsSecret", + "fullName": "google.cloud.orchestration.airflow.service.v1beta1.Environments.DeleteUserWorkloadsSecret", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v3/{tag_value.name=tagValues/*}" + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/environments/*/userWorkloadsSecrets/*}" } ] - } - ] - } - ], - "configFile": "cloudresourcemanager_v3.yaml", - "serviceConfigApiNames": [ - "google.cloud.resourcemanager.v3.Folders", - "google.cloud.resourcemanager.v3.Organizations", - "google.cloud.resourcemanager.v3.Projects", - "google.cloud.resourcemanager.v3.TagBindings", - "google.cloud.resourcemanager.v3.TagKeys", - "google.cloud.resourcemanager.v3.TagValues" - ], - "nameInServiceConfig": "cloudresourcemanager.googleapis.com" - }, - { - "id": "google.cloud.resourcesettings.v1", - "directory": "google/cloud/resourcesettings/v1", - "version": "v1", - "majorVersion": "v1", - "hostName": "resourcesettings.googleapis.com", - "title": "Resource Settings API", - "description": "The Resource Settings API allows users to control and modify the behavior of their GCP resources (e.g., VM, firewall, Project, etc.) across the Cloud Resource Hierarchy.", - "importDirectories": [ - "google/api" - ], - "options": { - "cc_enable_arenas": { - "valueCounts": { - "true": 1 - } - }, - "csharp_namespace": { - "valueCounts": { - "Google.Cloud.ResourceSettings.V1": 1 - } - }, - "go_package": { - "valueCounts": { - "cloud.google.com/go/resourcesettings/apiv1/resourcesettingspb;resourcesettingspb": 1 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 1 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.resourcesettings.v1": 1 - } - }, - "php_namespace": { - "valueCounts": { - "Google\\Cloud\\ResourceSettings\\V1": 1 - } - }, - "ruby_package": { - "valueCounts": { - "Google::Cloud::ResourceSettings::V1": 1 - } - } - }, - "services": [ - { - "shortName": "ResourceSettingsService", - "fullName": "google.cloud.resourcesettings.v1.ResourceSettingsService", - "methods": [ + }, { - "shortName": "GetSetting", - "fullName": "google.cloud.resourcesettings.v1.ResourceSettingsService.GetSetting", + "shortName": "ExecuteAirflowCommand", + "fullName": "google.cloud.orchestration.airflow.service.v1beta1.Environments.ExecuteAirflowCommand", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=organizations/*/settings/*}" - }, - { - "httpMethod": "GET", - "path": "/v1/{name=folders/*/settings/*}" - }, - { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/settings/*}" + "httpMethod": "POST", + "path": "/v1beta1/{environment=projects/*/locations/*/environments/*}:executeAirflowCommand" } ] }, { - "shortName": "ListSettings", - "fullName": "google.cloud.resourcesettings.v1.ResourceSettingsService.ListSettings", + "shortName": "FetchDatabaseProperties", + "fullName": "google.cloud.orchestration.airflow.service.v1beta1.Environments.FetchDatabaseProperties", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=organizations/*}/settings" - }, - { - "httpMethod": "GET", - "path": "/v1/{parent=folders/*}/settings" - }, + "path": "/v1beta1/{environment=projects/*/locations/*/environments/*}:fetchDatabaseProperties" + } + ] + }, + { + "shortName": "GetEnvironment", + "fullName": "google.cloud.orchestration.airflow.service.v1beta1.Environments.GetEnvironment", + "mode": "UNARY", + "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*}/settings" + "path": "/v1beta1/{name=projects/*/locations/*/environments/*}" } ] }, { - "shortName": "UpdateSetting", - "fullName": "google.cloud.resourcesettings.v1.ResourceSettingsService.UpdateSetting", + "shortName": "GetUserWorkloadsConfigMap", + "fullName": "google.cloud.orchestration.airflow.service.v1beta1.Environments.GetUserWorkloadsConfigMap", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{setting.name=organizations/*/settings/*}" - }, - { - "httpMethod": "PATCH", - "path": "/v1/{setting.name=folders/*/settings/*}" - }, - { - "httpMethod": "PATCH", - "path": "/v1/{setting.name=projects/*/settings/*}" + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/environments/*/userWorkloadsConfigMaps/*}" } ] - } - ] - } - ], - "configFile": "resourcesettings_v1.yaml", - "serviceConfigApiNames": [ - "google.cloud.resourcesettings.v1.ResourceSettingsService" - ], - "nameInServiceConfig": "resourcesettings.googleapis.com" - }, - { - "id": "google.cloud.retail.v2", - "directory": "google/cloud/retail/v2", - "version": "v2", - "majorVersion": "v2", - "hostName": "retail.googleapis.com", - "title": "Retail API", - "description": "Cloud Retail service enables customers to build end-to-end personalized recommendation systems without requiring a high level of expertise in machine learning, recommendation system, or Google Cloud.", - "importDirectories": [ - "google/api", - "google/cloud/retail/v2", - "google/longrunning", - "google/protobuf", - "google/rpc", - "google/type" - ], - "options": { - "csharp_namespace": { - "valueCounts": { - "Google.Cloud.Retail.V2": 17 - } - }, - "go_package": { - "valueCounts": { - "cloud.google.com/go/retail/apiv2/retailpb;retailpb": 17 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 17 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.retail.v2": 17 - } - }, - "objc_class_prefix": { - "valueCounts": { - "RETAIL": 17 - } - }, - "php_namespace": { - "valueCounts": { - "Google\\Cloud\\Retail\\V2": 17 - } - }, - "ruby_package": { - "valueCounts": { - "Google::Cloud::Retail::V2": 17 - } - } - }, - "services": [ - { - "shortName": "CatalogService", - "fullName": "google.cloud.retail.v2.CatalogService", - "methods": [ + }, { - "shortName": "AddCatalogAttribute", - "fullName": "google.cloud.retail.v2.CatalogService.AddCatalogAttribute", + "shortName": "GetUserWorkloadsSecret", + "fullName": "google.cloud.orchestration.airflow.service.v1beta1.Environments.GetUserWorkloadsSecret", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2/{attributes_config=projects/*/locations/*/catalogs/*/attributesConfig}:addCatalogAttribute" + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/environments/*/userWorkloadsSecrets/*}" } ] }, { - "shortName": "GetAttributesConfig", - "fullName": "google.cloud.retail.v2.CatalogService.GetAttributesConfig", + "shortName": "ListEnvironments", + "fullName": "google.cloud.orchestration.airflow.service.v1beta1.Environments.ListEnvironments", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2/{name=projects/*/locations/*/catalogs/*/attributesConfig}" + "path": "/v1beta1/{parent=projects/*/locations/*}/environments" } ] }, { - "shortName": "GetCompletionConfig", - "fullName": "google.cloud.retail.v2.CatalogService.GetCompletionConfig", + "shortName": "ListUserWorkloadsConfigMaps", + "fullName": "google.cloud.orchestration.airflow.service.v1beta1.Environments.ListUserWorkloadsConfigMaps", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2/{name=projects/*/locations/*/catalogs/*/completionConfig}" + "path": "/v1beta1/{parent=projects/*/locations/*/environments/*}/userWorkloadsConfigMaps" } ] }, { - "shortName": "GetDefaultBranch", - "fullName": "google.cloud.retail.v2.CatalogService.GetDefaultBranch", + "shortName": "ListUserWorkloadsSecrets", + "fullName": "google.cloud.orchestration.airflow.service.v1beta1.Environments.ListUserWorkloadsSecrets", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2/{catalog=projects/*/locations/*/catalogs/*}:getDefaultBranch" + "path": "/v1beta1/{parent=projects/*/locations/*/environments/*}/userWorkloadsSecrets" } ] }, { - "shortName": "ListCatalogs", - "fullName": "google.cloud.retail.v2.CatalogService.ListCatalogs", + "shortName": "ListWorkloads", + "fullName": "google.cloud.orchestration.airflow.service.v1beta1.Environments.ListWorkloads", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2/{parent=projects/*/locations/*}/catalogs" + "path": "/v1beta1/{parent=projects/*/locations/*/environments/*}/workloads" } ] }, { - "shortName": "RemoveCatalogAttribute", - "fullName": "google.cloud.retail.v2.CatalogService.RemoveCatalogAttribute", + "shortName": "LoadSnapshot", + "fullName": "google.cloud.orchestration.airflow.service.v1beta1.Environments.LoadSnapshot", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2/{attributes_config=projects/*/locations/*/catalogs/*/attributesConfig}:removeCatalogAttribute" + "path": "/v1beta1/{environment=projects/*/locations/*/environments/*}:loadSnapshot" } ] }, { - "shortName": "ReplaceCatalogAttribute", - "fullName": "google.cloud.retail.v2.CatalogService.ReplaceCatalogAttribute", + "shortName": "PollAirflowCommand", + "fullName": "google.cloud.orchestration.airflow.service.v1beta1.Environments.PollAirflowCommand", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2/{attributes_config=projects/*/locations/*/catalogs/*/attributesConfig}:replaceCatalogAttribute" + "path": "/v1beta1/{environment=projects/*/locations/*/environments/*}:pollAirflowCommand" } ] }, { - "shortName": "SetDefaultBranch", - "fullName": "google.cloud.retail.v2.CatalogService.SetDefaultBranch", + "shortName": "RestartWebServer", + "fullName": "google.cloud.orchestration.airflow.service.v1beta1.Environments.RestartWebServer", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2/{catalog=projects/*/locations/*/catalogs/*}:setDefaultBranch" + "path": "/v1beta1/{name=projects/*/locations/*/environments/*}:restartWebServer" } ] }, { - "shortName": "UpdateAttributesConfig", - "fullName": "google.cloud.retail.v2.CatalogService.UpdateAttributesConfig", + "shortName": "SaveSnapshot", + "fullName": "google.cloud.orchestration.airflow.service.v1beta1.Environments.SaveSnapshot", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v2/{attributes_config.name=projects/*/locations/*/catalogs/*/attributesConfig}" + "httpMethod": "POST", + "path": "/v1beta1/{environment=projects/*/locations/*/environments/*}:saveSnapshot" } ] }, { - "shortName": "UpdateCatalog", - "fullName": "google.cloud.retail.v2.CatalogService.UpdateCatalog", + "shortName": "StopAirflowCommand", + "fullName": "google.cloud.orchestration.airflow.service.v1beta1.Environments.StopAirflowCommand", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v2/{catalog.name=projects/*/locations/*/catalogs/*}" + "httpMethod": "POST", + "path": "/v1beta1/{environment=projects/*/locations/*/environments/*}:stopAirflowCommand" } ] }, { - "shortName": "UpdateCompletionConfig", - "fullName": "google.cloud.retail.v2.CatalogService.UpdateCompletionConfig", + "shortName": "UpdateEnvironment", + "fullName": "google.cloud.orchestration.airflow.service.v1beta1.Environments.UpdateEnvironment", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v2/{completion_config.name=projects/*/locations/*/catalogs/*/completionConfig}" + "path": "/v1beta1/{name=projects/*/locations/*/environments/*}" } ] - } - ] - }, - { - "shortName": "CompletionService", - "fullName": "google.cloud.retail.v2.CompletionService", - "methods": [ + }, { - "shortName": "CompleteQuery", - "fullName": "google.cloud.retail.v2.CompletionService.CompleteQuery", + "shortName": "UpdateUserWorkloadsConfigMap", + "fullName": "google.cloud.orchestration.airflow.service.v1beta1.Environments.UpdateUserWorkloadsConfigMap", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v2/{catalog=projects/*/locations/*/catalogs/*}:completeQuery" + "httpMethod": "PUT", + "path": "/v1beta1/{user_workloads_config_map.name=projects/*/locations/*/environments/*/userWorkloadsConfigMaps/*}" } ] }, { - "shortName": "ImportCompletionData", - "fullName": "google.cloud.retail.v2.CompletionService.ImportCompletionData", + "shortName": "UpdateUserWorkloadsSecret", + "fullName": "google.cloud.orchestration.airflow.service.v1beta1.Environments.UpdateUserWorkloadsSecret", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2/{parent=projects/*/locations/*/catalogs/*}/completionData:import" + "httpMethod": "PUT", + "path": "/v1beta1/{user_workloads_secret.name=projects/*/locations/*/environments/*/userWorkloadsSecrets/*}" } ] } ] }, { - "shortName": "ControlService", - "fullName": "google.cloud.retail.v2.ControlService", + "shortName": "ImageVersions", + "fullName": "google.cloud.orchestration.airflow.service.v1beta1.ImageVersions", "methods": [ { - "shortName": "CreateControl", - "fullName": "google.cloud.retail.v2.ControlService.CreateControl", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v2/{parent=projects/*/locations/*/catalogs/*}/controls" - } - ] - }, - { - "shortName": "DeleteControl", - "fullName": "google.cloud.retail.v2.ControlService.DeleteControl", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "DELETE", - "path": "/v2/{name=projects/*/locations/*/catalogs/*/controls/*}" - } - ] - }, - { - "shortName": "GetControl", - "fullName": "google.cloud.retail.v2.ControlService.GetControl", + "shortName": "ListImageVersions", + "fullName": "google.cloud.orchestration.airflow.service.v1beta1.ImageVersions.ListImageVersions", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2/{name=projects/*/locations/*/catalogs/*/controls/*}" - } - ] - }, - { - "shortName": "ListControls", - "fullName": "google.cloud.retail.v2.ControlService.ListControls", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v2/{parent=projects/*/locations/*/catalogs/*}/controls" - } - ] - }, - { - "shortName": "UpdateControl", - "fullName": "google.cloud.retail.v2.ControlService.UpdateControl", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "PATCH", - "path": "/v2/{control.name=projects/*/locations/*/catalogs/*/controls/*}" + "path": "/v1beta1/{parent=projects/*/locations/*}/imageVersions" } ] } ] + } + ], + "configFile": "composer_v1beta1.yaml", + "serviceConfigApiNames": [ + "google.cloud.orchestration.airflow.service.v1beta1.Environments", + "google.cloud.orchestration.airflow.service.v1beta1.ImageVersions", + "google.longrunning.Operations" + ], + "nameInServiceConfig": "composer.googleapis.com" + }, + { + "id": "google.cloud.orgpolicy.v2", + "directory": "google/cloud/orgpolicy/v2", + "version": "v2", + "majorVersion": "v2", + "hostName": "orgpolicy.googleapis.com", + "title": "Organization Policy API", + "description": "The Organization Policy API allows users to configure governance rules on their Google Cloud resources across the resource hierarchy.", + "importDirectories": [ + "google/api", + "google/cloud/orgpolicy/v2", + "google/protobuf", + "google/type" + ], + "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.OrgPolicy.V2": 2 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/orgpolicy/apiv2/orgpolicypb;orgpolicypb": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.orgpolicy.v2": 2 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\OrgPolicy\\V2": 2 + } }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::OrgPolicy::V2": 2 + } + } + }, + "services": [ { - "shortName": "PredictionService", - "fullName": "google.cloud.retail.v2.PredictionService", + "shortName": "OrgPolicy", + "fullName": "google.cloud.orgpolicy.v2.OrgPolicy", "methods": [ { - "shortName": "Predict", - "fullName": "google.cloud.retail.v2.PredictionService.Predict", + "shortName": "CreateCustomConstraint", + "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.CreateCustomConstraint", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2/{placement=projects/*/locations/*/catalogs/*/placements/*}:predict" - }, - { - "httpMethod": "POST", - "path": "/v2/{placement=projects/*/locations/*/catalogs/*/servingConfigs/*}:predict" + "path": "/v2/{parent=organizations/*}/customConstraints" } ] - } - ] - }, - { - "shortName": "ProductService", - "fullName": "google.cloud.retail.v2.ProductService", - "methods": [ + }, { - "shortName": "AddFulfillmentPlaces", - "fullName": "google.cloud.retail.v2.ProductService.AddFulfillmentPlaces", + "shortName": "CreatePolicy", + "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.CreatePolicy", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2/{product=projects/*/locations/*/catalogs/*/branches/*/products/**}:addFulfillmentPlaces" + "path": "/v2/{parent=projects/*}/policies" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=folders/*}/policies" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=organizations/*}/policies" } ] }, { - "shortName": "AddLocalInventories", - "fullName": "google.cloud.retail.v2.ProductService.AddLocalInventories", + "shortName": "DeleteCustomConstraint", + "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.DeleteCustomConstraint", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2/{product=projects/*/locations/*/catalogs/*/branches/*/products/**}:addLocalInventories" + "httpMethod": "DELETE", + "path": "/v2/{name=organizations/*/customConstraints/*}" } ] }, { - "shortName": "CreateProduct", - "fullName": "google.cloud.retail.v2.ProductService.CreateProduct", + "shortName": "DeletePolicy", + "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.DeletePolicy", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2/{parent=projects/*/locations/*/catalogs/*/branches/*}/products" + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/policies/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=folders/*/policies/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=organizations/*/policies/*}" } ] }, { - "shortName": "DeleteProduct", - "fullName": "google.cloud.retail.v2.ProductService.DeleteProduct", + "shortName": "GetCustomConstraint", + "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.GetCustomConstraint", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v2/{name=projects/*/locations/*/catalogs/*/branches/*/products/**}" + "httpMethod": "GET", + "path": "/v2/{name=organizations/*/customConstraints/*}" } ] }, { - "shortName": "GetProduct", - "fullName": "google.cloud.retail.v2.ProductService.GetProduct", + "shortName": "GetEffectivePolicy", + "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.GetEffectivePolicy", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2/{name=projects/*/locations/*/catalogs/*/branches/*/products/**}" + "path": "/v2/{name=projects/*/policies/*}:getEffectivePolicy" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=folders/*/policies/*}:getEffectivePolicy" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=organizations/*/policies/*}:getEffectivePolicy" } ] }, { - "shortName": "ImportProducts", - "fullName": "google.cloud.retail.v2.ProductService.ImportProducts", + "shortName": "GetPolicy", + "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.GetPolicy", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2/{parent=projects/*/locations/*/catalogs/*/branches/*}/products:import" + "httpMethod": "GET", + "path": "/v2/{name=projects/*/policies/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=folders/*/policies/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=organizations/*/policies/*}" } ] }, { - "shortName": "ListProducts", - "fullName": "google.cloud.retail.v2.ProductService.ListProducts", + "shortName": "ListConstraints", + "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.ListConstraints", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2/{parent=projects/*/locations/*/catalogs/*/branches/*}/products" + "path": "/v2/{parent=projects/*}/constraints" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=folders/*}/constraints" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=organizations/*}/constraints" } ] }, { - "shortName": "RemoveFulfillmentPlaces", - "fullName": "google.cloud.retail.v2.ProductService.RemoveFulfillmentPlaces", + "shortName": "ListCustomConstraints", + "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.ListCustomConstraints", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2/{product=projects/*/locations/*/catalogs/*/branches/*/products/**}:removeFulfillmentPlaces" + "httpMethod": "GET", + "path": "/v2/{parent=organizations/*}/customConstraints" } ] }, { - "shortName": "RemoveLocalInventories", - "fullName": "google.cloud.retail.v2.ProductService.RemoveLocalInventories", + "shortName": "ListPolicies", + "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.ListPolicies", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2/{product=projects/*/locations/*/catalogs/*/branches/*/products/**}:removeLocalInventories" + "httpMethod": "GET", + "path": "/v2/{parent=projects/*}/policies" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=folders/*}/policies" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=organizations/*}/policies" } ] }, { - "shortName": "SetInventory", - "fullName": "google.cloud.retail.v2.ProductService.SetInventory", + "shortName": "UpdateCustomConstraint", + "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.UpdateCustomConstraint", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2/{inventory.name=projects/*/locations/*/catalogs/*/branches/*/products/**}:setInventory" + "httpMethod": "PATCH", + "path": "/v2/{custom_constraint.name=organizations/*/customConstraints/*}" } ] }, { - "shortName": "UpdateProduct", - "fullName": "google.cloud.retail.v2.ProductService.UpdateProduct", + "shortName": "UpdatePolicy", + "fullName": "google.cloud.orgpolicy.v2.OrgPolicy.UpdatePolicy", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v2/{product.name=projects/*/locations/*/catalogs/*/branches/*/products/**}" + "path": "/v2/{policy.name=projects/*/policies/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{policy.name=folders/*/policies/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{policy.name=organizations/*/policies/*}" } ] } ] + } + ], + "configFile": "orgpolicy_v2.yaml", + "serviceConfigApiNames": [ + "google.cloud.orgpolicy.v2.OrgPolicy" + ], + "nameInServiceConfig": "orgpolicy.googleapis.com" + }, + { + "id": "google.cloud.osconfig.agentendpoint.v1", + "directory": "google/cloud/osconfig/agentendpoint/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "osconfig.googleapis.com", + "title": "OS Config API", + "description": "OS management tools that can be used for patch management, patch compliance, and configuration management on VM instances.", + "importDirectories": [ + "google/api", + "google/cloud/osconfig/agentendpoint/v1", + "google/protobuf", + "google/type" + ], + "options": { + "go_package": { + "valueCounts": { + "cloud.google.com/go/osconfig/agentendpoint/apiv1/agentendpointpb;agentendpointpb": 6 + } + }, + "java_multiple_files": { + "valueCounts": { + "": 1, + "true": 5 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.osconfig.agentendpoint.v1": 6 + } + } + }, + "services": [ + { + "shortName": "AgentEndpointService", + "fullName": "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService", + "methods": [ + { + "shortName": "ReceiveTaskNotification", + "fullName": "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService.ReceiveTaskNotification", + "mode": "SERVER_STREAMING" + }, + { + "shortName": "RegisterAgent", + "fullName": "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService.RegisterAgent", + "mode": "UNARY" + }, + { + "shortName": "ReportInventory", + "fullName": "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService.ReportInventory", + "mode": "UNARY" + }, + { + "shortName": "ReportTaskComplete", + "fullName": "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService.ReportTaskComplete", + "mode": "UNARY" + }, + { + "shortName": "ReportTaskProgress", + "fullName": "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService.ReportTaskProgress", + "mode": "UNARY" + }, + { + "shortName": "StartNextTask", + "fullName": "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService.StartNextTask", + "mode": "UNARY" + } + ] + } + ], + "configFile": "osconfig_v1.yaml", + "serviceConfigApiNames": [ + "google.cloud.osconfig.agentendpoint.v1.AgentEndpointService" + ], + "nameInServiceConfig": "osconfig.googleapis.com" + }, + { + "id": "google.cloud.osconfig.agentendpoint.v1beta", + "directory": "google/cloud/osconfig/agentendpoint/v1beta", + "version": "v1beta", + "majorVersion": "v1", + "hostName": "osconfig.googleapis.com", + "title": "OS Config API", + "description": "OS management tools that can be used for patch management, patch compliance, and configuration management on VM instances.", + "importDirectories": [ + "google/api", + "google/cloud/osconfig/agentendpoint/v1beta" + ], + "options": { + "go_package": { + "valueCounts": { + "cloud.google.com/go/osconfig/agentendpoint/apiv1beta/agentendpointpb;agentendpointpb": 4 + } + }, + "java_multiple_files": { + "valueCounts": { + "": 3, + "true": 1 + } }, + "java_package": { + "valueCounts": { + "com.google.cloud.osconfig.agentendpoint.v1beta": 4 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\OsConfig\\V1beta": 4 + } + } + }, + "services": [ { - "shortName": "SearchService", - "fullName": "google.cloud.retail.v2.SearchService", + "shortName": "AgentEndpointService", + "fullName": "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService", "methods": [ { - "shortName": "Search", - "fullName": "google.cloud.retail.v2.SearchService.Search", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v2/{placement=projects/*/locations/*/catalogs/*/placements/*}:search" - }, - { - "httpMethod": "POST", - "path": "/v2/{placement=projects/*/locations/*/catalogs/*/servingConfigs/*}:search" - } - ] + "shortName": "LookupEffectiveGuestPolicy", + "fullName": "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService.LookupEffectiveGuestPolicy", + "mode": "UNARY" + }, + { + "shortName": "ReceiveTaskNotification", + "fullName": "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService.ReceiveTaskNotification", + "mode": "SERVER_STREAMING" + }, + { + "shortName": "RegisterAgent", + "fullName": "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService.RegisterAgent", + "mode": "UNARY" + }, + { + "shortName": "ReportTaskComplete", + "fullName": "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService.ReportTaskComplete", + "mode": "UNARY" + }, + { + "shortName": "ReportTaskProgress", + "fullName": "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService.ReportTaskProgress", + "mode": "UNARY" + }, + { + "shortName": "StartNextTask", + "fullName": "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService.StartNextTask", + "mode": "UNARY" } ] + } + ], + "configFile": "osconfig_v1beta.yaml", + "serviceConfigApiNames": [ + "google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService" + ], + "nameInServiceConfig": "osconfig.googleapis.com" + }, + { + "id": "google.cloud.osconfig.v1", + "directory": "google/cloud/osconfig/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "osconfig.googleapis.com", + "title": "OS Config API", + "description": "OS management tools that can be used for patch management, patch compliance, and configuration management on VM instances.", + "importDirectories": [ + "google/api", + "google/cloud/osconfig/v1", + "google/longrunning", + "google/protobuf", + "google/type" + ], + "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.OsConfig.V1": 10 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/osconfig/apiv1/osconfigpb;osconfigpb": 10 + } + }, + "java_multiple_files": { + "valueCounts": { + "": 4, + "true": 6 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.osconfig.v1": 10 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\OsConfig\\V1": 10 + } }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::OsConfig::V1": 10 + } + } + }, + "services": [ { - "shortName": "ServingConfigService", - "fullName": "google.cloud.retail.v2.ServingConfigService", + "shortName": "OsConfigService", + "fullName": "google.cloud.osconfig.v1.OsConfigService", "methods": [ { - "shortName": "AddControl", - "fullName": "google.cloud.retail.v2.ServingConfigService.AddControl", + "shortName": "CancelPatchJob", + "fullName": "google.cloud.osconfig.v1.OsConfigService.CancelPatchJob", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2/{serving_config=projects/*/locations/*/catalogs/*/servingConfigs/*}:addControl" + "path": "/v1/{name=projects/*/patchJobs/*}:cancel" } ] }, { - "shortName": "CreateServingConfig", - "fullName": "google.cloud.retail.v2.ServingConfigService.CreateServingConfig", + "shortName": "CreatePatchDeployment", + "fullName": "google.cloud.osconfig.v1.OsConfigService.CreatePatchDeployment", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2/{parent=projects/*/locations/*/catalogs/*}/servingConfigs" + "path": "/v1/{parent=projects/*}/patchDeployments" } ] }, { - "shortName": "DeleteServingConfig", - "fullName": "google.cloud.retail.v2.ServingConfigService.DeleteServingConfig", + "shortName": "DeletePatchDeployment", + "fullName": "google.cloud.osconfig.v1.OsConfigService.DeletePatchDeployment", "mode": "UNARY", "bindings": [ { "httpMethod": "DELETE", - "path": "/v2/{name=projects/*/locations/*/catalogs/*/servingConfigs/*}" + "path": "/v1/{name=projects/*/patchDeployments/*}" } ] }, { - "shortName": "GetServingConfig", - "fullName": "google.cloud.retail.v2.ServingConfigService.GetServingConfig", + "shortName": "ExecutePatchJob", + "fullName": "google.cloud.osconfig.v1.OsConfigService.ExecutePatchJob", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v2/{name=projects/*/locations/*/catalogs/*/servingConfigs/*}" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}/patchJobs:execute" } ] }, { - "shortName": "ListServingConfigs", - "fullName": "google.cloud.retail.v2.ServingConfigService.ListServingConfigs", + "shortName": "GetPatchDeployment", + "fullName": "google.cloud.osconfig.v1.OsConfigService.GetPatchDeployment", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2/{parent=projects/*/locations/*/catalogs/*}/servingConfigs" + "path": "/v1/{name=projects/*/patchDeployments/*}" } ] }, { - "shortName": "RemoveControl", - "fullName": "google.cloud.retail.v2.ServingConfigService.RemoveControl", + "shortName": "GetPatchJob", + "fullName": "google.cloud.osconfig.v1.OsConfigService.GetPatchJob", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2/{serving_config=projects/*/locations/*/catalogs/*/servingConfigs/*}:removeControl" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/patchJobs/*}" } ] }, { - "shortName": "UpdateServingConfig", - "fullName": "google.cloud.retail.v2.ServingConfigService.UpdateServingConfig", + "shortName": "ListPatchDeployments", + "fullName": "google.cloud.osconfig.v1.OsConfigService.ListPatchDeployments", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v2/{serving_config.name=projects/*/locations/*/catalogs/*/servingConfigs/*}" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*}/patchDeployments" } ] - } - ] - }, - { - "shortName": "UserEventService", - "fullName": "google.cloud.retail.v2.UserEventService", - "methods": [ + }, { - "shortName": "CollectUserEvent", - "fullName": "google.cloud.retail.v2.UserEventService.CollectUserEvent", + "shortName": "ListPatchJobInstanceDetails", + "fullName": "google.cloud.osconfig.v1.OsConfigService.ListPatchJobInstanceDetails", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2/{parent=projects/*/locations/*/catalogs/*}/userEvents:collect" + "path": "/v1/{parent=projects/*/patchJobs/*}/instanceDetails" } ] }, { - "shortName": "ImportUserEvents", - "fullName": "google.cloud.retail.v2.UserEventService.ImportUserEvents", + "shortName": "ListPatchJobs", + "fullName": "google.cloud.osconfig.v1.OsConfigService.ListPatchJobs", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2/{parent=projects/*/locations/*/catalogs/*}/userEvents:import" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*}/patchJobs" } ] }, { - "shortName": "PurgeUserEvents", - "fullName": "google.cloud.retail.v2.UserEventService.PurgeUserEvents", + "shortName": "PausePatchDeployment", + "fullName": "google.cloud.osconfig.v1.OsConfigService.PausePatchDeployment", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2/{parent=projects/*/locations/*/catalogs/*}/userEvents:purge" + "path": "/v1/{name=projects/*/patchDeployments/*}:pause" } ] }, { - "shortName": "RejoinUserEvents", - "fullName": "google.cloud.retail.v2.UserEventService.RejoinUserEvents", + "shortName": "ResumePatchDeployment", + "fullName": "google.cloud.osconfig.v1.OsConfigService.ResumePatchDeployment", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2/{parent=projects/*/locations/*/catalogs/*}/userEvents:rejoin" + "path": "/v1/{name=projects/*/patchDeployments/*}:resume" } ] }, { - "shortName": "WriteUserEvent", - "fullName": "google.cloud.retail.v2.UserEventService.WriteUserEvent", + "shortName": "UpdatePatchDeployment", + "fullName": "google.cloud.osconfig.v1.OsConfigService.UpdatePatchDeployment", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2/{parent=projects/*/locations/*/catalogs/*}/userEvents:write" + "httpMethod": "PATCH", + "path": "/v1/{patch_deployment.name=projects/*/patchDeployments/*}" } ] } ] - } - ], - "configFile": "retail_v2.yaml", - "serviceConfigApiNames": [ - "google.cloud.location.Locations", - "google.cloud.retail.v2.CatalogService", - "google.cloud.retail.v2.CompletionService", - "google.cloud.retail.v2.ControlService", - "google.cloud.retail.v2.PredictionService", - "google.cloud.retail.v2.ProductService", - "google.cloud.retail.v2.SearchService", - "google.cloud.retail.v2.ServingConfigService", - "google.cloud.retail.v2.UserEventService", - "google.longrunning.Operations" - ], - "nameInServiceConfig": "retail.googleapis.com" - }, - { - "id": "google.cloud.retail.v2alpha", - "directory": "google/cloud/retail/v2alpha", - "version": "v2alpha", - "majorVersion": "v2", - "hostName": "retail.googleapis.com", - "title": "Retail API", - "description": "Cloud Retail service enables customers to build end-to-end personalized recommendation systems without requiring a high level of expertise in machine learning, recommendation system, or Google Cloud.", - "importDirectories": [ - "google/api", - "google/cloud/retail/v2alpha", - "google/longrunning", - "google/protobuf", - "google/rpc", - "google/type" - ], - "options": { - "csharp_namespace": { - "valueCounts": { - "Google.Cloud.Retail.V2Alpha": 20 - } - }, - "go_package": { - "valueCounts": { - "cloud.google.com/go/retail/apiv2alpha/retailpb;retailpb": 20 - } }, - "java_multiple_files": { - "valueCounts": { - "true": 20 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.retail.v2alpha": 20 - } - }, - "objc_class_prefix": { - "valueCounts": { - "RETAIL": 20 - } - }, - "php_namespace": { - "valueCounts": { - "Google\\Cloud\\Retail\\V2alpha": 20 - } - }, - "ruby_package": { - "valueCounts": { - "Google::Cloud::Retail::V2alpha": 20 - } - } - }, - "services": [ { - "shortName": "CatalogService", - "fullName": "google.cloud.retail.v2alpha.CatalogService", + "shortName": "OsConfigZonalService", + "fullName": "google.cloud.osconfig.v1.OsConfigZonalService", "methods": [ { - "shortName": "AddCatalogAttribute", - "fullName": "google.cloud.retail.v2alpha.CatalogService.AddCatalogAttribute", + "shortName": "CreateOSPolicyAssignment", + "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.CreateOSPolicyAssignment", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2alpha/{attributes_config=projects/*/locations/*/catalogs/*/attributesConfig}:addCatalogAttribute" + "path": "/v1/{parent=projects/*/locations/*}/osPolicyAssignments" } ] }, { - "shortName": "BatchRemoveCatalogAttributes", - "fullName": "google.cloud.retail.v2alpha.CatalogService.BatchRemoveCatalogAttributes", + "shortName": "DeleteOSPolicyAssignment", + "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.DeleteOSPolicyAssignment", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2alpha/{attributes_config=projects/*/locations/*/catalogs/*/attributesConfig}:batchRemoveCatalogAttributes" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/osPolicyAssignments/*}" } ] }, { - "shortName": "GetAttributesConfig", - "fullName": "google.cloud.retail.v2alpha.CatalogService.GetAttributesConfig", + "shortName": "GetInventory", + "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.GetInventory", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2alpha/{name=projects/*/locations/*/catalogs/*/attributesConfig}" + "path": "/v1/{name=projects/*/locations/*/instances/*/inventory}" } ] }, { - "shortName": "GetCompletionConfig", - "fullName": "google.cloud.retail.v2alpha.CatalogService.GetCompletionConfig", + "shortName": "GetOSPolicyAssignment", + "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.GetOSPolicyAssignment", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2alpha/{name=projects/*/locations/*/catalogs/*/completionConfig}" + "path": "/v1/{name=projects/*/locations/*/osPolicyAssignments/*}" } ] }, { - "shortName": "GetDefaultBranch", - "fullName": "google.cloud.retail.v2alpha.CatalogService.GetDefaultBranch", + "shortName": "GetOSPolicyAssignmentReport", + "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.GetOSPolicyAssignmentReport", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2alpha/{catalog=projects/*/locations/*/catalogs/*}:getDefaultBranch" + "path": "/v1/{name=projects/*/locations/*/instances/*/osPolicyAssignments/*/report}" } ] }, { - "shortName": "ListCatalogs", - "fullName": "google.cloud.retail.v2alpha.CatalogService.ListCatalogs", + "shortName": "GetVulnerabilityReport", + "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.GetVulnerabilityReport", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2alpha/{parent=projects/*/locations/*}/catalogs" + "path": "/v1/{name=projects/*/locations/*/instances/*/vulnerabilityReport}" } ] }, { - "shortName": "RemoveCatalogAttribute", - "fullName": "google.cloud.retail.v2alpha.CatalogService.RemoveCatalogAttribute", + "shortName": "ListInventories", + "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.ListInventories", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2alpha/{attributes_config=projects/*/locations/*/catalogs/*/attributesConfig}:removeCatalogAttribute" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/instances/*}/inventories" } ] }, { - "shortName": "ReplaceCatalogAttribute", - "fullName": "google.cloud.retail.v2alpha.CatalogService.ReplaceCatalogAttribute", + "shortName": "ListOSPolicyAssignmentReports", + "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.ListOSPolicyAssignmentReports", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2alpha/{attributes_config=projects/*/locations/*/catalogs/*/attributesConfig}:replaceCatalogAttribute" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/instances/*/osPolicyAssignments/*}/reports" } ] }, { - "shortName": "SetDefaultBranch", - "fullName": "google.cloud.retail.v2alpha.CatalogService.SetDefaultBranch", + "shortName": "ListOSPolicyAssignmentRevisions", + "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.ListOSPolicyAssignmentRevisions", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2alpha/{catalog=projects/*/locations/*/catalogs/*}:setDefaultBranch" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/osPolicyAssignments/*}:listRevisions" } ] }, { - "shortName": "UpdateAttributesConfig", - "fullName": "google.cloud.retail.v2alpha.CatalogService.UpdateAttributesConfig", + "shortName": "ListOSPolicyAssignments", + "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.ListOSPolicyAssignments", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v2alpha/{attributes_config.name=projects/*/locations/*/catalogs/*/attributesConfig}" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/osPolicyAssignments" } ] }, { - "shortName": "UpdateCatalog", - "fullName": "google.cloud.retail.v2alpha.CatalogService.UpdateCatalog", + "shortName": "ListVulnerabilityReports", + "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.ListVulnerabilityReports", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v2alpha/{catalog.name=projects/*/locations/*/catalogs/*}" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/instances/*}/vulnerabilityReports" } ] }, { - "shortName": "UpdateCompletionConfig", - "fullName": "google.cloud.retail.v2alpha.CatalogService.UpdateCompletionConfig", + "shortName": "UpdateOSPolicyAssignment", + "fullName": "google.cloud.osconfig.v1.OsConfigZonalService.UpdateOSPolicyAssignment", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v2alpha/{completion_config.name=projects/*/locations/*/catalogs/*/completionConfig}" + "path": "/v1/{os_policy_assignment.name=projects/*/locations/*/osPolicyAssignments/*}" } ] } ] + } + ], + "configFile": "osconfig_v1.yaml", + "serviceConfigApiNames": [ + "google.cloud.osconfig.v1.OsConfigService", + "google.cloud.osconfig.v1.OsConfigZonalService" + ], + "nameInServiceConfig": "osconfig.googleapis.com" + }, + { + "id": "google.cloud.osconfig.v1alpha", + "directory": "google/cloud/osconfig/v1alpha", + "version": "v1alpha", + "majorVersion": "v1", + "hostName": "osconfig.googleapis.com", + "title": "OS Config API", + "description": "OS management tools that can be used for patch management, patch compliance, and configuration management on VM instances.", + "importDirectories": [ + "google/api", + "google/cloud/osconfig/v1alpha", + "google/longrunning", + "google/protobuf", + "google/type" + ], + "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.OsConfig.V1Alpha": 9 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/osconfig/apiv1alpha/osconfigpb;osconfigpb": 9 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 9 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.osconfig.v1alpha": 9 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\OsConfig\\V1alpha": 9 + } }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::OsConfig::V1alpha": 9 + } + } + }, + "services": [ { - "shortName": "CompletionService", - "fullName": "google.cloud.retail.v2alpha.CompletionService", + "shortName": "OsConfigZonalService", + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService", "methods": [ { - "shortName": "CompleteQuery", - "fullName": "google.cloud.retail.v2alpha.CompletionService.CompleteQuery", + "shortName": "CreateOSPolicyAssignment", + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.CreateOSPolicyAssignment", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v2alpha/{catalog=projects/*/locations/*/catalogs/*}:completeQuery" + "httpMethod": "POST", + "path": "/v1alpha/{parent=projects/*/locations/*}/osPolicyAssignments" } ] }, { - "shortName": "ImportCompletionData", - "fullName": "google.cloud.retail.v2alpha.CompletionService.ImportCompletionData", + "shortName": "DeleteOSPolicyAssignment", + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.DeleteOSPolicyAssignment", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2alpha/{parent=projects/*/locations/*/catalogs/*}/completionData:import" + "httpMethod": "DELETE", + "path": "/v1alpha/{name=projects/*/locations/*/osPolicyAssignments/*}" } ] - } - ] - }, - { - "shortName": "ControlService", - "fullName": "google.cloud.retail.v2alpha.ControlService", - "methods": [ + }, { - "shortName": "CreateControl", - "fullName": "google.cloud.retail.v2alpha.ControlService.CreateControl", + "shortName": "GetInstanceOSPoliciesCompliance", + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.GetInstanceOSPoliciesCompliance", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2alpha/{parent=projects/*/locations/*/catalogs/*}/controls" + "httpMethod": "GET", + "path": "/v1alpha/{name=projects/*/locations/*/instanceOSPoliciesCompliances/*}" } ] }, { - "shortName": "DeleteControl", - "fullName": "google.cloud.retail.v2alpha.ControlService.DeleteControl", + "shortName": "GetInventory", + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.GetInventory", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v2alpha/{name=projects/*/locations/*/catalogs/*/controls/*}" + "httpMethod": "GET", + "path": "/v1alpha/{name=projects/*/locations/*/instances/*/inventory}" } ] }, { - "shortName": "GetControl", - "fullName": "google.cloud.retail.v2alpha.ControlService.GetControl", + "shortName": "GetOSPolicyAssignment", + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.GetOSPolicyAssignment", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2alpha/{name=projects/*/locations/*/catalogs/*/controls/*}" + "path": "/v1alpha/{name=projects/*/locations/*/osPolicyAssignments/*}" } ] }, { - "shortName": "ListControls", - "fullName": "google.cloud.retail.v2alpha.ControlService.ListControls", + "shortName": "GetOSPolicyAssignmentReport", + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.GetOSPolicyAssignmentReport", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2alpha/{parent=projects/*/locations/*/catalogs/*}/controls" + "path": "/v1alpha/{name=projects/*/locations/*/instances/*/osPolicyAssignments/*/report}" } ] }, { - "shortName": "UpdateControl", - "fullName": "google.cloud.retail.v2alpha.ControlService.UpdateControl", + "shortName": "GetVulnerabilityReport", + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.GetVulnerabilityReport", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v2alpha/{control.name=projects/*/locations/*/catalogs/*/controls/*}" + "httpMethod": "GET", + "path": "/v1alpha/{name=projects/*/locations/*/instances/*/vulnerabilityReport}" } ] - } - ] - }, - { - "shortName": "ModelService", - "fullName": "google.cloud.retail.v2alpha.ModelService", - "methods": [ + }, { - "shortName": "CreateModel", - "fullName": "google.cloud.retail.v2alpha.ModelService.CreateModel", + "shortName": "ListInstanceOSPoliciesCompliances", + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.ListInstanceOSPoliciesCompliances", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2alpha/{parent=projects/*/locations/*/catalogs/*}/models" + "httpMethod": "GET", + "path": "/v1alpha/{parent=projects/*/locations/*}/instanceOSPoliciesCompliances" } ] }, { - "shortName": "DeleteModel", - "fullName": "google.cloud.retail.v2alpha.ModelService.DeleteModel", + "shortName": "ListInventories", + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.ListInventories", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v2alpha/{name=projects/*/locations/*/catalogs/*/models/*}" + "httpMethod": "GET", + "path": "/v1alpha/{parent=projects/*/locations/*/instances/*}/inventories" } ] }, { - "shortName": "ListModels", - "fullName": "google.cloud.retail.v2alpha.ModelService.ListModels", + "shortName": "ListOSPolicyAssignmentReports", + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.ListOSPolicyAssignmentReports", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2alpha/{parent=projects/*/locations/*/catalogs/*}/models" + "path": "/v1alpha/{parent=projects/*/locations/*/instances/*/osPolicyAssignments/*}/reports" } ] }, { - "shortName": "PauseModel", - "fullName": "google.cloud.retail.v2alpha.ModelService.PauseModel", + "shortName": "ListOSPolicyAssignmentRevisions", + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.ListOSPolicyAssignmentRevisions", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2alpha/{name=projects/*/locations/*/catalogs/*/models/*}:pause" + "httpMethod": "GET", + "path": "/v1alpha/{name=projects/*/locations/*/osPolicyAssignments/*}:listRevisions" } ] }, { - "shortName": "ResumeModel", - "fullName": "google.cloud.retail.v2alpha.ModelService.ResumeModel", + "shortName": "ListOSPolicyAssignments", + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.ListOSPolicyAssignments", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2alpha/{name=projects/*/locations/*/catalogs/*/models/*}:resume" + "httpMethod": "GET", + "path": "/v1alpha/{parent=projects/*/locations/*}/osPolicyAssignments" } ] }, { - "shortName": "TuneModel", - "fullName": "google.cloud.retail.v2alpha.ModelService.TuneModel", + "shortName": "ListVulnerabilityReports", + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.ListVulnerabilityReports", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2alpha/{name=projects/*/locations/*/catalogs/*/models/*}:tune" + "httpMethod": "GET", + "path": "/v1alpha/{parent=projects/*/locations/*/instances/*}/vulnerabilityReports" } ] }, { - "shortName": "UpdateModel", - "fullName": "google.cloud.retail.v2alpha.ModelService.UpdateModel", + "shortName": "UpdateOSPolicyAssignment", + "fullName": "google.cloud.osconfig.v1alpha.OsConfigZonalService.UpdateOSPolicyAssignment", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v2alpha/{model.name=projects/*/locations/*/catalogs/*/models/*}" + "path": "/v1alpha/{os_policy_assignment.name=projects/*/locations/*/osPolicyAssignments/*}" } ] } ] + } + ], + "configFile": "osconfig_v1alpha.yaml", + "serviceConfigApiNames": [ + "google.cloud.osconfig.v1alpha.OsConfigZonalService" + ], + "nameInServiceConfig": "osconfig.googleapis.com" + }, + { + "id": "google.cloud.osconfig.v1beta", + "directory": "google/cloud/osconfig/v1beta", + "version": "v1beta", + "majorVersion": "v1", + "hostName": "osconfig.googleapis.com", + "title": "OS Config API", + "description": "OS management tools that can be used for patch management, patch compliance, and configuration management on VM instances.", + "importDirectories": [ + "google/api", + "google/cloud/osconfig/v1beta", + "google/protobuf", + "google/type" + ], + "options": { + "go_package": { + "valueCounts": { + "cloud.google.com/go/osconfig/apiv1beta/osconfigpb;osconfigpb": 5 + } }, + "java_package": { + "valueCounts": { + "com.google.cloud.osconfig.v1beta": 5 + } + } + }, + "services": [ { - "shortName": "PredictionService", - "fullName": "google.cloud.retail.v2alpha.PredictionService", + "shortName": "OsConfigService", + "fullName": "google.cloud.osconfig.v1beta.OsConfigService", "methods": [ { - "shortName": "Predict", - "fullName": "google.cloud.retail.v2alpha.PredictionService.Predict", + "shortName": "CancelPatchJob", + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.CancelPatchJob", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2alpha/{placement=projects/*/locations/*/catalogs/*/placements/*}:predict" - }, - { - "httpMethod": "POST", - "path": "/v2alpha/{placement=projects/*/locations/*/catalogs/*/servingConfigs/*}:predict" + "path": "/v1beta/{name=projects/*/patchJobs/*}:cancel" } ] - } - ] - }, - { - "shortName": "ProductService", - "fullName": "google.cloud.retail.v2alpha.ProductService", - "methods": [ + }, { - "shortName": "AddFulfillmentPlaces", - "fullName": "google.cloud.retail.v2alpha.ProductService.AddFulfillmentPlaces", + "shortName": "CreateGuestPolicy", + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.CreateGuestPolicy", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2alpha/{product=projects/*/locations/*/catalogs/*/branches/*/products/**}:addFulfillmentPlaces" + "path": "/v1beta/{parent=projects/*}/guestPolicies" } ] }, { - "shortName": "AddLocalInventories", - "fullName": "google.cloud.retail.v2alpha.ProductService.AddLocalInventories", + "shortName": "CreatePatchDeployment", + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.CreatePatchDeployment", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2alpha/{product=projects/*/locations/*/catalogs/*/branches/*/products/**}:addLocalInventories" + "path": "/v1beta/{parent=projects/*}/patchDeployments" } ] }, { - "shortName": "CreateProduct", - "fullName": "google.cloud.retail.v2alpha.ProductService.CreateProduct", + "shortName": "DeleteGuestPolicy", + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.DeleteGuestPolicy", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2alpha/{parent=projects/*/locations/*/catalogs/*/branches/*}/products" + "httpMethod": "DELETE", + "path": "/v1beta/{name=projects/*/guestPolicies/*}" } ] }, { - "shortName": "DeleteProduct", - "fullName": "google.cloud.retail.v2alpha.ProductService.DeleteProduct", + "shortName": "DeletePatchDeployment", + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.DeletePatchDeployment", "mode": "UNARY", "bindings": [ { "httpMethod": "DELETE", - "path": "/v2alpha/{name=projects/*/locations/*/catalogs/*/branches/*/products/**}" + "path": "/v1beta/{name=projects/*/patchDeployments/*}" } ] }, { - "shortName": "GetProduct", - "fullName": "google.cloud.retail.v2alpha.ProductService.GetProduct", + "shortName": "ExecutePatchJob", + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.ExecutePatchJob", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v2alpha/{name=projects/*/locations/*/catalogs/*/branches/*/products/**}" + "httpMethod": "POST", + "path": "/v1beta/{parent=projects/*}/patchJobs:execute" } ] }, { - "shortName": "ImportProducts", - "fullName": "google.cloud.retail.v2alpha.ProductService.ImportProducts", + "shortName": "GetGuestPolicy", + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.GetGuestPolicy", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2alpha/{parent=projects/*/locations/*/catalogs/*/branches/*}/products:import" + "httpMethod": "GET", + "path": "/v1beta/{name=projects/*/guestPolicies/*}" } ] }, { - "shortName": "ListProducts", - "fullName": "google.cloud.retail.v2alpha.ProductService.ListProducts", + "shortName": "GetPatchDeployment", + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.GetPatchDeployment", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2alpha/{parent=projects/*/locations/*/catalogs/*/branches/*}/products" + "path": "/v1beta/{name=projects/*/patchDeployments/*}" } ] }, { - "shortName": "PurgeProducts", - "fullName": "google.cloud.retail.v2alpha.ProductService.PurgeProducts", + "shortName": "GetPatchJob", + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.GetPatchJob", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2alpha/{parent=projects/*/locations/*/catalogs/*/branches/*}/products:purge" + "httpMethod": "GET", + "path": "/v1beta/{name=projects/*/patchJobs/*}" } ] }, { - "shortName": "RemoveFulfillmentPlaces", - "fullName": "google.cloud.retail.v2alpha.ProductService.RemoveFulfillmentPlaces", + "shortName": "ListGuestPolicies", + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.ListGuestPolicies", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2alpha/{product=projects/*/locations/*/catalogs/*/branches/*/products/**}:removeFulfillmentPlaces" + "httpMethod": "GET", + "path": "/v1beta/{parent=projects/*}/guestPolicies" } ] }, { - "shortName": "RemoveLocalInventories", - "fullName": "google.cloud.retail.v2alpha.ProductService.RemoveLocalInventories", + "shortName": "ListPatchDeployments", + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.ListPatchDeployments", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2alpha/{product=projects/*/locations/*/catalogs/*/branches/*/products/**}:removeLocalInventories" + "httpMethod": "GET", + "path": "/v1beta/{parent=projects/*}/patchDeployments" } ] }, { - "shortName": "SetInventory", - "fullName": "google.cloud.retail.v2alpha.ProductService.SetInventory", + "shortName": "ListPatchJobInstanceDetails", + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.ListPatchJobInstanceDetails", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2alpha/{inventory.name=projects/*/locations/*/catalogs/*/branches/*/products/**}:setInventory" + "httpMethod": "GET", + "path": "/v1beta/{parent=projects/*/patchJobs/*}/instanceDetails" } ] }, { - "shortName": "UpdateProduct", - "fullName": "google.cloud.retail.v2alpha.ProductService.UpdateProduct", + "shortName": "ListPatchJobs", + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.ListPatchJobs", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v2alpha/{product.name=projects/*/locations/*/catalogs/*/branches/*/products/**}" + "httpMethod": "GET", + "path": "/v1beta/{parent=projects/*}/patchJobs" } ] - } - ] - }, - { - "shortName": "SearchService", - "fullName": "google.cloud.retail.v2alpha.SearchService", - "methods": [ + }, { - "shortName": "Search", - "fullName": "google.cloud.retail.v2alpha.SearchService.Search", + "shortName": "LookupEffectiveGuestPolicy", + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.LookupEffectiveGuestPolicy", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2alpha/{placement=projects/*/locations/*/catalogs/*/placements/*}:search" - }, - { - "httpMethod": "POST", - "path": "/v2alpha/{placement=projects/*/locations/*/catalogs/*/servingConfigs/*}:search" - } - ] - } - ] - }, - { - "shortName": "ServingConfigService", - "fullName": "google.cloud.retail.v2alpha.ServingConfigService", - "methods": [ - { - "shortName": "AddControl", - "fullName": "google.cloud.retail.v2alpha.ServingConfigService.AddControl", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v2alpha/{serving_config=projects/*/locations/*/catalogs/*/servingConfigs/*}:addControl" + "path": "/v1beta/{instance=projects/*/zones/*/instances/*}:lookupEffectiveGuestPolicy" } ] }, { - "shortName": "CreateServingConfig", - "fullName": "google.cloud.retail.v2alpha.ServingConfigService.CreateServingConfig", + "shortName": "PausePatchDeployment", + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.PausePatchDeployment", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2alpha/{parent=projects/*/locations/*/catalogs/*}/servingConfigs" + "path": "/v1beta/{name=projects/*/patchDeployments/*}:pause" } ] }, { - "shortName": "DeleteServingConfig", - "fullName": "google.cloud.retail.v2alpha.ServingConfigService.DeleteServingConfig", + "shortName": "ResumePatchDeployment", + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.ResumePatchDeployment", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v2alpha/{name=projects/*/locations/*/catalogs/*/servingConfigs/*}" + "httpMethod": "POST", + "path": "/v1beta/{name=projects/*/patchDeployments/*}:resume" } ] }, { - "shortName": "GetServingConfig", - "fullName": "google.cloud.retail.v2alpha.ServingConfigService.GetServingConfig", + "shortName": "UpdateGuestPolicy", + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.UpdateGuestPolicy", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v2alpha/{name=projects/*/locations/*/catalogs/*/servingConfigs/*}" + "httpMethod": "PATCH", + "path": "/v1beta/{guest_policy.name=projects/*/guestPolicies/*}" } ] }, { - "shortName": "ListServingConfigs", - "fullName": "google.cloud.retail.v2alpha.ServingConfigService.ListServingConfigs", + "shortName": "UpdatePatchDeployment", + "fullName": "google.cloud.osconfig.v1beta.OsConfigService.UpdatePatchDeployment", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v2alpha/{parent=projects/*/locations/*/catalogs/*}/servingConfigs" + "httpMethod": "PATCH", + "path": "/v1beta/{patch_deployment.name=projects/*/patchDeployments/*}" } ] - }, + } + ] + } + ], + "configFile": "osconfig_v1beta.yaml", + "serviceConfigApiNames": [ + "google.cloud.osconfig.v1beta.OsConfigService" + ], + "nameInServiceConfig": "osconfig.googleapis.com" + }, + { + "id": "google.cloud.oslogin.v1", + "directory": "google/cloud/oslogin/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "oslogin.googleapis.com", + "title": "Cloud OS Login API", + "description": "You can use OS Login to manage access to your VM instances using IAM roles.", + "importDirectories": [ + "google/api", + "google/cloud/oslogin/common", + "google/protobuf" + ], + "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.OsLogin.V1": 1 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/oslogin/apiv1/osloginpb;osloginpb": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.oslogin.v1": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\OsLogin\\V1": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::OsLogin::V1": 1 + } + } + }, + "services": [ + { + "shortName": "OsLoginService", + "fullName": "google.cloud.oslogin.v1.OsLoginService", + "methods": [ { - "shortName": "RemoveControl", - "fullName": "google.cloud.retail.v2alpha.ServingConfigService.RemoveControl", + "shortName": "CreateSshPublicKey", + "fullName": "google.cloud.oslogin.v1.OsLoginService.CreateSshPublicKey", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2alpha/{serving_config=projects/*/locations/*/catalogs/*/servingConfigs/*}:removeControl" + "path": "/v1/{parent=users/*}/sshPublicKeys" } ] }, { - "shortName": "UpdateServingConfig", - "fullName": "google.cloud.retail.v2alpha.ServingConfigService.UpdateServingConfig", + "shortName": "DeletePosixAccount", + "fullName": "google.cloud.oslogin.v1.OsLoginService.DeletePosixAccount", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v2alpha/{serving_config.name=projects/*/locations/*/catalogs/*/servingConfigs/*}" + "httpMethod": "DELETE", + "path": "/v1/{name=users/*/projects/*}" } ] - } - ] - }, - { - "shortName": "UserEventService", - "fullName": "google.cloud.retail.v2alpha.UserEventService", - "methods": [ + }, { - "shortName": "CollectUserEvent", - "fullName": "google.cloud.retail.v2alpha.UserEventService.CollectUserEvent", + "shortName": "DeleteSshPublicKey", + "fullName": "google.cloud.oslogin.v1.OsLoginService.DeleteSshPublicKey", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v2alpha/{parent=projects/*/locations/*/catalogs/*}/userEvents:collect" + "httpMethod": "DELETE", + "path": "/v1/{name=users/*/sshPublicKeys/*}" } ] }, { - "shortName": "ImportUserEvents", - "fullName": "google.cloud.retail.v2alpha.UserEventService.ImportUserEvents", + "shortName": "GetLoginProfile", + "fullName": "google.cloud.oslogin.v1.OsLoginService.GetLoginProfile", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2alpha/{parent=projects/*/locations/*/catalogs/*}/userEvents:import" + "httpMethod": "GET", + "path": "/v1/{name=users/*}/loginProfile" } ] }, { - "shortName": "PurgeUserEvents", - "fullName": "google.cloud.retail.v2alpha.UserEventService.PurgeUserEvents", + "shortName": "GetSshPublicKey", + "fullName": "google.cloud.oslogin.v1.OsLoginService.GetSshPublicKey", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2alpha/{parent=projects/*/locations/*/catalogs/*}/userEvents:purge" + "httpMethod": "GET", + "path": "/v1/{name=users/*/sshPublicKeys/*}" } ] }, { - "shortName": "RejoinUserEvents", - "fullName": "google.cloud.retail.v2alpha.UserEventService.RejoinUserEvents", + "shortName": "ImportSshPublicKey", + "fullName": "google.cloud.oslogin.v1.OsLoginService.ImportSshPublicKey", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2alpha/{parent=projects/*/locations/*/catalogs/*}/userEvents:rejoin" + "path": "/v1/{parent=users/*}:importSshPublicKey" } ] }, { - "shortName": "WriteUserEvent", - "fullName": "google.cloud.retail.v2alpha.UserEventService.WriteUserEvent", + "shortName": "UpdateSshPublicKey", + "fullName": "google.cloud.oslogin.v1.OsLoginService.UpdateSshPublicKey", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2alpha/{parent=projects/*/locations/*/catalogs/*}/userEvents:write" + "httpMethod": "PATCH", + "path": "/v1/{name=users/*/sshPublicKeys/*}" } ] } ] } ], - "configFile": "retail_v2alpha.yaml", + "configFile": "oslogin_v1.yaml", "serviceConfigApiNames": [ - "google.cloud.location.Locations", - "google.cloud.retail.v2alpha.CatalogService", - "google.cloud.retail.v2alpha.CompletionService", - "google.cloud.retail.v2alpha.ControlService", - "google.cloud.retail.v2alpha.ModelService", - "google.cloud.retail.v2alpha.PredictionService", - "google.cloud.retail.v2alpha.ProductService", - "google.cloud.retail.v2alpha.SearchService", - "google.cloud.retail.v2alpha.ServingConfigService", - "google.cloud.retail.v2alpha.UserEventService", - "google.longrunning.Operations" + "google.cloud.oslogin.v1.OsLoginService" ], - "nameInServiceConfig": "retail.googleapis.com" + "nameInServiceConfig": "oslogin.googleapis.com" }, { - "id": "google.cloud.retail.v2beta", - "directory": "google/cloud/retail/v2beta", - "version": "v2beta", - "majorVersion": "v2", - "hostName": "retail.googleapis.com", - "title": "Retail API", - "description": "Cloud Retail service enables customers to build end-to-end personalized recommendation systems without requiring a high level of expertise in machine learning, recommendation system, or Google Cloud.", + "id": "google.cloud.oslogin.v1beta", + "directory": "google/cloud/oslogin/v1beta", + "version": "v1beta", + "majorVersion": "v1", + "hostName": "oslogin.googleapis.com", + "title": "Cloud OS Login API", + "description": "You can use OS Login to manage access to your VM instances using IAM roles.", "importDirectories": [ "google/api", - "google/cloud/retail/v2beta", - "google/longrunning", - "google/protobuf", - "google/rpc", - "google/type" + "google/cloud/oslogin/common", + "google/protobuf" ], "options": { "csharp_namespace": { "valueCounts": { - "Google.Cloud.Retail.V2Beta": 20 + "Google.Cloud.OsLogin.V1Beta": 1 } }, "go_package": { "valueCounts": { - "cloud.google.com/go/retail/apiv2beta/retailpb;retailpb": 20 + "cloud.google.com/go/oslogin/apiv1beta/osloginpb;osloginpb": 1 } }, "java_multiple_files": { "valueCounts": { - "true": 20 + "true": 1 } }, "java_package": { "valueCounts": { - "com.google.cloud.retail.v2beta": 20 - } - }, - "objc_class_prefix": { - "valueCounts": { - "RETAIL": 20 + "com.google.cloud.oslogin.v1beta": 1 } }, "php_namespace": { "valueCounts": { - "Google\\Cloud\\Retail\\V2beta": 20 + "Google\\Cloud\\OsLogin\\V1beta": 1 } }, "ruby_package": { "valueCounts": { - "Google::Cloud::Retail::V2beta": 20 + "Google::Cloud::OsLogin::V1beta": 1 } } }, "services": [ { - "shortName": "CatalogService", - "fullName": "google.cloud.retail.v2beta.CatalogService", + "shortName": "OsLoginService", + "fullName": "google.cloud.oslogin.v1beta.OsLoginService", "methods": [ { - "shortName": "AddCatalogAttribute", - "fullName": "google.cloud.retail.v2beta.CatalogService.AddCatalogAttribute", + "shortName": "CreateSshPublicKey", + "fullName": "google.cloud.oslogin.v1beta.OsLoginService.CreateSshPublicKey", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2beta/{attributes_config=projects/*/locations/*/catalogs/*/attributesConfig}:addCatalogAttribute" + "path": "/v1beta/{parent=users/*}/sshPublicKeys" } ] }, { - "shortName": "BatchRemoveCatalogAttributes", - "fullName": "google.cloud.retail.v2beta.CatalogService.BatchRemoveCatalogAttributes", + "shortName": "DeletePosixAccount", + "fullName": "google.cloud.oslogin.v1beta.OsLoginService.DeletePosixAccount", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2beta/{attributes_config=projects/*/locations/*/catalogs/*/attributesConfig}:batchRemoveCatalogAttributes" + "httpMethod": "DELETE", + "path": "/v1beta/{name=users/*/projects/*}" } ] }, { - "shortName": "GetAttributesConfig", - "fullName": "google.cloud.retail.v2beta.CatalogService.GetAttributesConfig", + "shortName": "DeleteSshPublicKey", + "fullName": "google.cloud.oslogin.v1beta.OsLoginService.DeleteSshPublicKey", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v2beta/{name=projects/*/locations/*/catalogs/*/attributesConfig}" + "httpMethod": "DELETE", + "path": "/v1beta/{name=users/*/sshPublicKeys/*}" } ] }, { - "shortName": "GetCompletionConfig", - "fullName": "google.cloud.retail.v2beta.CatalogService.GetCompletionConfig", + "shortName": "GetLoginProfile", + "fullName": "google.cloud.oslogin.v1beta.OsLoginService.GetLoginProfile", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2beta/{name=projects/*/locations/*/catalogs/*/completionConfig}" + "path": "/v1beta/{name=users/*}/loginProfile" } ] }, { - "shortName": "GetDefaultBranch", - "fullName": "google.cloud.retail.v2beta.CatalogService.GetDefaultBranch", + "shortName": "GetSshPublicKey", + "fullName": "google.cloud.oslogin.v1beta.OsLoginService.GetSshPublicKey", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2beta/{catalog=projects/*/locations/*/catalogs/*}:getDefaultBranch" + "path": "/v1beta/{name=users/*/sshPublicKeys/*}" } ] }, { - "shortName": "ListCatalogs", - "fullName": "google.cloud.retail.v2beta.CatalogService.ListCatalogs", + "shortName": "ImportSshPublicKey", + "fullName": "google.cloud.oslogin.v1beta.OsLoginService.ImportSshPublicKey", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v2beta/{parent=projects/*/locations/*}/catalogs" + "httpMethod": "POST", + "path": "/v1beta/{parent=users/*}:importSshPublicKey" } ] }, { - "shortName": "RemoveCatalogAttribute", - "fullName": "google.cloud.retail.v2beta.CatalogService.RemoveCatalogAttribute", + "shortName": "SignSshPublicKey", + "fullName": "google.cloud.oslogin.v1beta.OsLoginService.SignSshPublicKey", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2beta/{attributes_config=projects/*/locations/*/catalogs/*/attributesConfig}:removeCatalogAttribute" - } - ] - }, - { - "shortName": "ReplaceCatalogAttribute", - "fullName": "google.cloud.retail.v2beta.CatalogService.ReplaceCatalogAttribute", - "mode": "UNARY", - "bindings": [ + "path": "/v1beta/{parent=users/*/projects/*/zones/*}:signSshPublicKey" + }, { "httpMethod": "POST", - "path": "/v2beta/{attributes_config=projects/*/locations/*/catalogs/*/attributesConfig}:replaceCatalogAttribute" + "path": "/v1beta/{parent=users/*/projects/*/locations/*}:signSshPublicKey" } ] }, { - "shortName": "SetDefaultBranch", - "fullName": "google.cloud.retail.v2beta.CatalogService.SetDefaultBranch", + "shortName": "UpdateSshPublicKey", + "fullName": "google.cloud.oslogin.v1beta.OsLoginService.UpdateSshPublicKey", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2beta/{catalog=projects/*/locations/*/catalogs/*}:setDefaultBranch" + "httpMethod": "PATCH", + "path": "/v1beta/{name=users/*/sshPublicKeys/*}" } ] - }, + } + ] + } + ], + "configFile": "oslogin_v1beta.yaml", + "serviceConfigApiNames": [ + "google.cloud.oslogin.v1beta.OsLoginService" + ], + "nameInServiceConfig": "oslogin.googleapis.com" + }, + { + "id": "google.cloud.parallelstore.v1beta", + "directory": "google/cloud/parallelstore/v1beta", + "version": "v1beta", + "majorVersion": "v1", + "hostName": "parallelstore.googleapis.com", + "title": "Parallelstore API", + "description": "", + "importDirectories": [ + "google/api", + "google/longrunning", + "google/protobuf" + ], + "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Parallelstore.V1Beta": 1 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/parallelstore/apiv1beta/parallelstorepb;parallelstorepb": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.parallelstore.v1beta": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Parallelstore\\V1beta": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::Parallelstore::V1beta": 1 + } + } + }, + "services": [ + { + "shortName": "Parallelstore", + "fullName": "google.cloud.parallelstore.v1beta.Parallelstore", + "methods": [ { - "shortName": "UpdateAttributesConfig", - "fullName": "google.cloud.retail.v2beta.CatalogService.UpdateAttributesConfig", + "shortName": "CreateInstance", + "fullName": "google.cloud.parallelstore.v1beta.Parallelstore.CreateInstance", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v2beta/{attributes_config.name=projects/*/locations/*/catalogs/*/attributesConfig}" + "httpMethod": "POST", + "path": "/v1beta/{parent=projects/*/locations/*}/instances" } ] }, { - "shortName": "UpdateCatalog", - "fullName": "google.cloud.retail.v2beta.CatalogService.UpdateCatalog", + "shortName": "DeleteInstance", + "fullName": "google.cloud.parallelstore.v1beta.Parallelstore.DeleteInstance", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v2beta/{catalog.name=projects/*/locations/*/catalogs/*}" + "httpMethod": "DELETE", + "path": "/v1beta/{name=projects/*/locations/*/instances/*}" } ] }, { - "shortName": "UpdateCompletionConfig", - "fullName": "google.cloud.retail.v2beta.CatalogService.UpdateCompletionConfig", + "shortName": "GetInstance", + "fullName": "google.cloud.parallelstore.v1beta.Parallelstore.GetInstance", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v2beta/{completion_config.name=projects/*/locations/*/catalogs/*/completionConfig}" + "httpMethod": "GET", + "path": "/v1beta/{name=projects/*/locations/*/instances/*}" } ] - } - ] - }, - { - "shortName": "CompletionService", - "fullName": "google.cloud.retail.v2beta.CompletionService", - "methods": [ + }, { - "shortName": "CompleteQuery", - "fullName": "google.cloud.retail.v2beta.CompletionService.CompleteQuery", + "shortName": "ListInstances", + "fullName": "google.cloud.parallelstore.v1beta.Parallelstore.ListInstances", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2beta/{catalog=projects/*/locations/*/catalogs/*}:completeQuery" + "path": "/v1beta/{parent=projects/*/locations/*}/instances" } ] }, { - "shortName": "ImportCompletionData", - "fullName": "google.cloud.retail.v2beta.CompletionService.ImportCompletionData", + "shortName": "UpdateInstance", + "fullName": "google.cloud.parallelstore.v1beta.Parallelstore.UpdateInstance", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2beta/{parent=projects/*/locations/*/catalogs/*}/completionData:import" + "httpMethod": "PATCH", + "path": "/v1beta/{instance.name=projects/*/locations/*/instances/*}" } ] } ] + } + ], + "configFile": "parallelstore_v1beta.yaml", + "serviceConfigApiNames": [ + "google.cloud.location.Locations", + "google.cloud.parallelstore.v1beta.Parallelstore", + "google.longrunning.Operations" + ], + "nameInServiceConfig": "parallelstore.googleapis.com" + }, + { + "id": "google.cloud.paymentgateway.issuerswitch.accountmanager.v1", + "directory": "google/cloud/paymentgateway/issuerswitch/accountmanager/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "issuerswitch.googleapis.com", + "title": "Issuer switch API", + "description": "", + "importDirectories": [ + "google/api", + "google/cloud/paymentgateway/issuerswitch/v1", + "google/longrunning", + "google/protobuf", + "google/type" + ], + "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.PaymentGateway.IssuerSwitch.AccountManager.V1": 2 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/paymentgateway/issuerswitch/accountmanager/apiv1/accountmanagerpb;accountmanagerpb": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.paymentgateway.issuerswitch.accountmanager.v1": 2 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\PaymentGateway\\IssuerSwitch\\AccountManager\\V1": 2 + } }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::PaymentGateway::IssuerSwitch::AccountManager::V1": 2 + } + } + }, + "services": [ { - "shortName": "ControlService", - "fullName": "google.cloud.retail.v2beta.ControlService", + "shortName": "AccountManagerTransactions", + "fullName": "google.cloud.paymentgateway.issuerswitch.accountmanager.v1.AccountManagerTransactions", "methods": [ { - "shortName": "CreateControl", - "fullName": "google.cloud.retail.v2beta.ControlService.CreateControl", + "shortName": "BatchReconcileAccountManagerTransactions", + "fullName": "google.cloud.paymentgateway.issuerswitch.accountmanager.v1.AccountManagerTransactions.BatchReconcileAccountManagerTransactions", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2beta/{parent=projects/*/locations/*/catalogs/*}/controls" + "path": "/v1/{parent=projects/*/accountManagers/*}/transactions:batchReconcile" } ] }, { - "shortName": "DeleteControl", - "fullName": "google.cloud.retail.v2beta.ControlService.DeleteControl", + "shortName": "ExportAccountManagerTransactions", + "fullName": "google.cloud.paymentgateway.issuerswitch.accountmanager.v1.AccountManagerTransactions.ExportAccountManagerTransactions", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v2beta/{name=projects/*/locations/*/catalogs/*/controls/*}" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/accountManagers/*}/transactions:export" } ] }, { - "shortName": "GetControl", - "fullName": "google.cloud.retail.v2beta.ControlService.GetControl", + "shortName": "ListAccountManagerTransactions", + "fullName": "google.cloud.paymentgateway.issuerswitch.accountmanager.v1.AccountManagerTransactions.ListAccountManagerTransactions", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2beta/{name=projects/*/locations/*/catalogs/*/controls/*}" + "path": "/v1/{parent=projects/*/accountManagers/*}/transactions" } ] - }, + } + ] + }, + { + "shortName": "ManagedAccounts", + "fullName": "google.cloud.paymentgateway.issuerswitch.accountmanager.v1.ManagedAccounts", + "methods": [ { - "shortName": "ListControls", - "fullName": "google.cloud.retail.v2beta.ControlService.ListControls", + "shortName": "BatchReconcileManagedAccountBalance", + "fullName": "google.cloud.paymentgateway.issuerswitch.accountmanager.v1.ManagedAccounts.BatchReconcileManagedAccountBalance", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v2beta/{parent=projects/*/locations/*/catalogs/*}/controls" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/accountManagers/*}/accounts:batchReconcileBalance" } ] }, { - "shortName": "UpdateControl", - "fullName": "google.cloud.retail.v2beta.ControlService.UpdateControl", + "shortName": "GetManagedAccount", + "fullName": "google.cloud.paymentgateway.issuerswitch.accountmanager.v1.ManagedAccounts.GetManagedAccount", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v2beta/{control.name=projects/*/locations/*/catalogs/*/controls/*}" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/accountManagers/*/accounts/*}" } ] } ] + } + ], + "configFile": "issuerswitch_v1.yaml", + "serviceConfigApiNames": [ + "google.cloud.paymentgateway.issuerswitch.accountmanager.v1.AccountManagerTransactions", + "google.cloud.paymentgateway.issuerswitch.accountmanager.v1.ManagedAccounts", + "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchParticipants", + "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchResolutions", + "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchRules", + "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchTransactions", + "google.longrunning.Operations" + ], + "nameInServiceConfig": "issuerswitch.googleapis.com" + }, + { + "id": "google.cloud.paymentgateway.issuerswitch.v1", + "directory": "google/cloud/paymentgateway/issuerswitch/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "issuerswitch.googleapis.com", + "title": "Issuer switch API", + "description": "", + "importDirectories": [ + "google/api", + "google/cloud/paymentgateway/issuerswitch/v1", + "google/logging/type", + "google/longrunning", + "google/protobuf", + "google/type" + ], + "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.PaymentGateway.IssuerSwitch.V1": 6 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/paymentgateway/issuerswitch/apiv1/issuerswitchpb;issuerswitchpb": 6 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 6 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.paymentgateway.issuerswitch.v1": 6 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\PaymentGateway\\IssuerSwitch\\V1": 6 + } }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::PaymentGateway::IssuerSwitch::V1": 6 + } + } + }, + "services": [ { - "shortName": "ModelService", - "fullName": "google.cloud.retail.v2beta.ModelService", + "shortName": "IssuerSwitchParticipants", + "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchParticipants", "methods": [ { - "shortName": "CreateModel", - "fullName": "google.cloud.retail.v2beta.ModelService.CreateModel", + "shortName": "ActivateParticipant", + "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchParticipants.ActivateParticipant", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2beta/{parent=projects/*/locations/*/catalogs/*}/models" + "path": "/v1/{parent=projects/*}/issuerParticipants:activate" } ] }, { - "shortName": "DeleteModel", - "fullName": "google.cloud.retail.v2beta.ModelService.DeleteModel", + "shortName": "DeactivateParticipant", + "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchParticipants.DeactivateParticipant", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}/issuerParticipants:deactivate" + } + ] + }, + { + "shortName": "FetchParticipant", + "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchParticipants.FetchParticipant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}/issuerParticipants:fetch" + } + ] + }, + { + "shortName": "MobileNumberChanged", + "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchParticipants.MobileNumberChanged", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}/issuerParticipants:mobileNumberChanged" + } + ] + }, + { + "shortName": "UpdateIssuerParticipant", + "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchParticipants.UpdateIssuerParticipant", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}/issuerParticipants:update" + } + ] + } + ] + }, + { + "shortName": "IssuerSwitchResolutions", + "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchResolutions", + "methods": [ + { + "shortName": "CreateComplaint", + "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchResolutions.CreateComplaint", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}/complaints" + } + ] + }, + { + "shortName": "CreateDispute", + "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchResolutions.CreateDispute", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}/disputes" + } + ] + }, + { + "shortName": "ResolveComplaint", + "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchResolutions.ResolveComplaint", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{complaint.name=projects/*/complaints/*}:resolve" + } + ] + }, + { + "shortName": "ResolveDispute", + "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchResolutions.ResolveDispute", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{dispute.name=projects/*/disputes/*}:resolve" + } + ] + } + ] + }, + { + "shortName": "IssuerSwitchRules", + "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchRules", + "methods": [ + { + "shortName": "BatchCreateRuleMetadataValues", + "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchRules.BatchCreateRuleMetadataValues", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/rules/*/metadata/*}/values:batchCreate" + } + ] + }, + { + "shortName": "BatchDeleteRuleMetadataValues", + "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchRules.BatchDeleteRuleMetadataValues", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/rules/*/metadata/*}/values:batchDelete" + } + ] + }, + { + "shortName": "ListRuleMetadata", + "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchRules.ListRuleMetadata", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/rules/*}/metadata" + } + ] + }, + { + "shortName": "ListRuleMetadataValues", + "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchRules.ListRuleMetadataValues", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/rules/*/metadata/*}/values" + } + ] + }, + { + "shortName": "ListRules", + "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchRules.ListRules", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*}/rules" + } + ] + } + ] + }, + { + "shortName": "IssuerSwitchTransactions", + "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchTransactions", + "methods": [ + { + "shortName": "ExportComplaintTransactions", + "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchTransactions.ExportComplaintTransactions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}/complaintTransactions:export" + } + ] + }, + { + "shortName": "ExportFinancialTransactions", + "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchTransactions.ExportFinancialTransactions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}/financialTransactions:export" + } + ] + }, + { + "shortName": "ExportMandateTransactions", + "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchTransactions.ExportMandateTransactions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}/mandateTransactions:export" + } + ] + }, + { + "shortName": "ExportMetadataTransactions", + "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchTransactions.ExportMetadataTransactions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}/metadataTransactions:export" + } + ] + }, + { + "shortName": "ListComplaintTransactions", + "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchTransactions.ListComplaintTransactions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*}/complaintTransactions" + } + ] + }, + { + "shortName": "ListFinancialTransactions", + "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchTransactions.ListFinancialTransactions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*}/financialTransactions" + } + ] + }, + { + "shortName": "ListMandateTransactions", + "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchTransactions.ListMandateTransactions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*}/mandateTransactions" + } + ] + }, + { + "shortName": "ListMetadataTransactions", + "fullName": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchTransactions.ListMetadataTransactions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*}/metadataTransactions" + } + ] + } + ] + } + ], + "configFile": "issuerswitch_v1.yaml", + "serviceConfigApiNames": [ + "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchParticipants", + "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchResolutions", + "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchRules", + "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchTransactions", + "google.longrunning.Operations" + ], + "nameInServiceConfig": "issuerswitch.googleapis.com" + }, + { + "id": "google.cloud.phishingprotection.v1beta1", + "directory": "google/cloud/phishingprotection/v1beta1", + "version": "v1beta1", + "majorVersion": "v1", + "hostName": "phishingprotection.googleapis.com", + "title": "Phishing Protection API", + "description": "", + "importDirectories": [ + "google/api" + ], + "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.PhishingProtection.V1Beta1": 1 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/phishingprotection/apiv1beta1/phishingprotectionpb;phishingprotectionpb": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "java_package": { + "valueCounts": { + "com.google.phishingprotection.v1beta1": 1 + } + }, + "objc_class_prefix": { + "valueCounts": { + "GCPP": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\PhishingProtection\\V1beta1": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::PhishingProtection::V1beta1": 1 + } + } + }, + "services": [ + { + "shortName": "PhishingProtectionServiceV1Beta1", + "fullName": "google.cloud.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1", + "methods": [ + { + "shortName": "ReportPhishing", + "fullName": "google.cloud.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1.ReportPhishing", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*}/phishing:report" + } + ] + } + ] + } + ], + "configFile": "phishingprotection_v1beta1.yaml", + "serviceConfigApiNames": [ + "google.cloud.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1" + ], + "nameInServiceConfig": "phishingprotection.googleapis.com" + }, + { + "id": "google.cloud.policysimulator.v1", + "directory": "google/cloud/policysimulator/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "policysimulator.googleapis.com", + "title": "Policy Simulator API", + "description": "Policy Simulator is a collection of endpoints for creating, running, and viewing a [Replay][google.cloud.policysimulator.v1.Replay]. A `Replay` is a type of simulation that lets you see how your members' access to resources might change if you changed your IAM policy. During a `Replay`, Policy Simulator re-evaluates, or replays, past access attempts under both the current policy and your proposed policy, and compares those results to determine how your members' access might change under the proposed policy.", + "importDirectories": [ + "google/api", + "google/cloud/policysimulator/v1", + "google/iam/v1", + "google/longrunning", + "google/protobuf", + "google/rpc", + "google/type" + ], + "options": { + "cc_enable_arenas": { + "valueCounts": { + "true": 2 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.PolicySimulator.V1": 2 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/policysimulator/apiv1/policysimulatorpb;policysimulatorpb": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.policysimulator.v1": 2 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\PolicySimulator\\V1": 2 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::PolicySimulator::V1": 2 + } + } + }, + "services": [ + { + "shortName": "Simulator", + "fullName": "google.cloud.policysimulator.v1.Simulator", + "methods": [ + { + "shortName": "CreateReplay", + "fullName": "google.cloud.policysimulator.v1.Simulator.CreateReplay", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/replays" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=folders/*/locations/*}/replays" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=organizations/*/locations/*}/replays" + } + ] + }, + { + "shortName": "GetReplay", + "fullName": "google.cloud.policysimulator.v1.Simulator.GetReplay", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/replays/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=folders/*/locations/*/replays/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=organizations/*/locations/*/replays/*}" + } + ] + }, + { + "shortName": "ListReplayResults", + "fullName": "google.cloud.policysimulator.v1.Simulator.ListReplayResults", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/replays/*}/results" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=folders/*/locations/*/replays/*}/results" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=organizations/*/locations/*/replays/*}/results" + } + ] + } + ] + } + ], + "configFile": "policysimulator_v1.yaml", + "serviceConfigApiNames": [ + "google.cloud.policysimulator.v1.Simulator", + "google.longrunning.Operations" + ], + "nameInServiceConfig": "policysimulator.googleapis.com" + }, + { + "id": "google.cloud.policytroubleshooter.iam.v3", + "directory": "google/cloud/policytroubleshooter/iam/v3", + "version": "v3", + "majorVersion": "v3", + "hostName": "policytroubleshooter.googleapis.com", + "title": "Policy Troubleshooter API", + "description": "", + "importDirectories": [ + "google/api", + "google/iam/v1", + "google/iam/v2", + "google/protobuf", + "google/rpc", + "google/type" + ], + "options": { + "cc_enable_arenas": { + "valueCounts": { + "true": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.PolicyTroubleshooter.Iam.V3": 1 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/policytroubleshooter/iam/apiv3/iampb;iampb": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.policytroubleshooter.iam.v3": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\PolicyTroubleshooter\\Iam\\V3": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::PolicyTroubleshooter::Iam::V3": 1 + } + } + }, + "services": [ + { + "shortName": "PolicyTroubleshooter", + "fullName": "google.cloud.policytroubleshooter.iam.v3.PolicyTroubleshooter", + "methods": [ + { + "shortName": "TroubleshootIamPolicy", + "fullName": "google.cloud.policytroubleshooter.iam.v3.PolicyTroubleshooter.TroubleshootIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/iam:troubleshoot" + } + ] + } + ] + } + ], + "configFile": "policytroubleshooter_v3.yaml", + "serviceConfigApiNames": [ + "google.cloud.policytroubleshooter.iam.v3.PolicyTroubleshooter" + ], + "nameInServiceConfig": "policytroubleshooter.googleapis.com" + }, + { + "id": "google.cloud.policytroubleshooter.iam.v3beta", + "directory": "google/cloud/policytroubleshooter/iam/v3beta", + "version": "v3beta", + "majorVersion": "v3", + "hostName": "policytroubleshooter.googleapis.com", + "title": "Policy Troubleshooter API", + "description": "", + "importDirectories": [ + "google/api", + "google/iam/v1", + "google/iam/v2", + "google/protobuf", + "google/rpc", + "google/type" + ], + "options": { + "cc_enable_arenas": { + "valueCounts": { + "true": 1 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/policytroubleshooter/iam/apiv3beta/iampb;iampb": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.policytroubleshooter.iam.v3beta": 1 + } + } + }, + "services": [ + { + "shortName": "PolicyTroubleshooter", + "fullName": "google.cloud.policytroubleshooter.iam.v3beta.PolicyTroubleshooter", + "methods": [ + { + "shortName": "TroubleshootIamPolicy", + "fullName": "google.cloud.policytroubleshooter.iam.v3beta.PolicyTroubleshooter.TroubleshootIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3beta/iam:troubleshoot" + } + ] + } + ] + } + ], + "configFile": "policytroubleshooter_v3beta.yaml", + "serviceConfigApiNames": [ + "google.cloud.policytroubleshooter.iam.v3beta.PolicyTroubleshooter" + ], + "nameInServiceConfig": "policytroubleshooter.googleapis.com" + }, + { + "id": "google.cloud.policytroubleshooter.v1", + "directory": "google/cloud/policytroubleshooter/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "policytroubleshooter.googleapis.com", + "title": "Policy Troubleshooter API", + "description": "", + "importDirectories": [ + "google/api", + "google/cloud/policytroubleshooter/v1", + "google/iam/v1", + "google/rpc", + "google/type" + ], + "options": { + "cc_enable_arenas": { + "valueCounts": { + "": 1, + "true": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.PolicyTroubleshooter.V1": 2 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/policytroubleshooter/apiv1/policytroubleshooterpb;policytroubleshooterpb": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "": 1, + "true": 1 + } + }, + "java_package": { + "valueCounts": { + "": 1, + "com.google.cloud.policytroubleshooter.v1": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\PolicyTroubleshooter\\V1": 2 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::PolicyTroubleshooter::V1": 2 + } + } + }, + "services": [ + { + "shortName": "IamChecker", + "fullName": "google.cloud.policytroubleshooter.v1.IamChecker", + "methods": [ + { + "shortName": "TroubleshootIamPolicy", + "fullName": "google.cloud.policytroubleshooter.v1.IamChecker.TroubleshootIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/iam:troubleshoot" + } + ] + } + ] + } + ], + "configFile": "policytroubleshooter_v1.yaml", + "serviceConfigApiNames": [ + "google.cloud.policytroubleshooter.v1.IamChecker" + ], + "nameInServiceConfig": "policytroubleshooter.googleapis.com" + }, + { + "id": "google.cloud.privatecatalog.v1beta1", + "directory": "google/cloud/privatecatalog/v1beta1", + "version": "v1beta1", + "majorVersion": "v1", + "hostName": "cloudprivatecatalog.googleapis.com", + "title": "Cloud Private Catalog API", + "description": "Enable cloud users to discover private catalogs and products in their organizations.", + "importDirectories": [ + "google/api", + "google/longrunning", + "google/protobuf" + ], + "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.PrivateCatalog.V1Beta1": 1 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/privatecatalog/apiv1beta1/privatecatalogpb;privatecatalogpb": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.privatecatalog.v1beta1": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\PrivateCatalog\\V1beta1": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::PrivateCatalog::V1beta1": 1 + } + } + }, + "services": [ + { + "shortName": "PrivateCatalog", + "fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog", + "methods": [ + { + "shortName": "SearchCatalogs", + "fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchCatalogs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{resource=projects/*}/catalogs:search" + }, + { + "httpMethod": "GET", + "path": "/v1beta1/{resource=organizations/*}/catalogs:search" + }, + { + "httpMethod": "GET", + "path": "/v1beta1/{resource=folders/*}/catalogs:search" + } + ] + }, + { + "shortName": "SearchProducts", + "fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchProducts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{resource=projects/*}/products:search" + }, + { + "httpMethod": "GET", + "path": "/v1beta1/{resource=organizations/*}/products:search" + }, + { + "httpMethod": "GET", + "path": "/v1beta1/{resource=folders/*}/products:search" + } + ] + }, + { + "shortName": "SearchVersions", + "fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchVersions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{resource=projects/*}/versions:search" + }, + { + "httpMethod": "GET", + "path": "/v1beta1/{resource=organizations/*}/versions:search" + }, + { + "httpMethod": "GET", + "path": "/v1beta1/{resource=folders/*}/versions:search" + } + ] + } + ] + } + ], + "configFile": "cloudprivatecatalog_v1beta1.yaml", + "serviceConfigApiNames": [ + "google.cloud.privatecatalog.v1beta1.PrivateCatalog" + ], + "nameInServiceConfig": "cloudprivatecatalog.googleapis.com" + }, + { + "id": "google.cloud.pubsublite.v1", + "directory": "google/cloud/pubsublite/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "pubsublite.googleapis.com", + "title": "Pub/Sub Lite API", + "description": "", + "importDirectories": [ + "google/api", + "google/cloud/pubsublite/v1", + "google/longrunning", + "google/protobuf" + ], + "options": { + "cc_enable_arenas": { + "valueCounts": { + "": 2, + "true": 4 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.PubSubLite.V1": 6 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/pubsublite/apiv1/pubsublitepb;pubsublitepb": 6 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 6 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.pubsublite.proto": 6 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\PubSubLite\\V1": 6 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::PubSubLite::V1": 6 + } + } + }, + "services": [ + { + "shortName": "AdminService", + "fullName": "google.cloud.pubsublite.v1.AdminService", + "methods": [ + { + "shortName": "CreateReservation", + "fullName": "google.cloud.pubsublite.v1.AdminService.CreateReservation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/admin/{parent=projects/*/locations/*}/reservations" + } + ] + }, + { + "shortName": "CreateSubscription", + "fullName": "google.cloud.pubsublite.v1.AdminService.CreateSubscription", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/admin/{parent=projects/*/locations/*}/subscriptions" + } + ] + }, + { + "shortName": "CreateTopic", + "fullName": "google.cloud.pubsublite.v1.AdminService.CreateTopic", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/admin/{parent=projects/*/locations/*}/topics" + } + ] + }, + { + "shortName": "DeleteReservation", + "fullName": "google.cloud.pubsublite.v1.AdminService.DeleteReservation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/admin/{name=projects/*/locations/*/reservations/*}" + } + ] + }, + { + "shortName": "DeleteSubscription", + "fullName": "google.cloud.pubsublite.v1.AdminService.DeleteSubscription", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/admin/{name=projects/*/locations/*/subscriptions/*}" + } + ] + }, + { + "shortName": "DeleteTopic", + "fullName": "google.cloud.pubsublite.v1.AdminService.DeleteTopic", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/admin/{name=projects/*/locations/*/topics/*}" + } + ] + }, + { + "shortName": "GetReservation", + "fullName": "google.cloud.pubsublite.v1.AdminService.GetReservation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/admin/{name=projects/*/locations/*/reservations/*}" + } + ] + }, + { + "shortName": "GetSubscription", + "fullName": "google.cloud.pubsublite.v1.AdminService.GetSubscription", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/admin/{name=projects/*/locations/*/subscriptions/*}" + } + ] + }, + { + "shortName": "GetTopic", + "fullName": "google.cloud.pubsublite.v1.AdminService.GetTopic", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/admin/{name=projects/*/locations/*/topics/*}" + } + ] + }, + { + "shortName": "GetTopicPartitions", + "fullName": "google.cloud.pubsublite.v1.AdminService.GetTopicPartitions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/admin/{name=projects/*/locations/*/topics/*}/partitions" + } + ] + }, + { + "shortName": "ListReservationTopics", + "fullName": "google.cloud.pubsublite.v1.AdminService.ListReservationTopics", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/admin/{name=projects/*/locations/*/reservations/*}/topics" + } + ] + }, + { + "shortName": "ListReservations", + "fullName": "google.cloud.pubsublite.v1.AdminService.ListReservations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/admin/{parent=projects/*/locations/*}/reservations" + } + ] + }, + { + "shortName": "ListSubscriptions", + "fullName": "google.cloud.pubsublite.v1.AdminService.ListSubscriptions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/admin/{parent=projects/*/locations/*}/subscriptions" + } + ] + }, + { + "shortName": "ListTopicSubscriptions", + "fullName": "google.cloud.pubsublite.v1.AdminService.ListTopicSubscriptions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/admin/{name=projects/*/locations/*/topics/*}/subscriptions" + } + ] + }, + { + "shortName": "ListTopics", + "fullName": "google.cloud.pubsublite.v1.AdminService.ListTopics", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/admin/{parent=projects/*/locations/*}/topics" + } + ] + }, + { + "shortName": "SeekSubscription", + "fullName": "google.cloud.pubsublite.v1.AdminService.SeekSubscription", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/admin/{name=projects/*/locations/*/subscriptions/*}:seek" + } + ] + }, + { + "shortName": "UpdateReservation", + "fullName": "google.cloud.pubsublite.v1.AdminService.UpdateReservation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/admin/{reservation.name=projects/*/locations/*/reservations/*}" + } + ] + }, + { + "shortName": "UpdateSubscription", + "fullName": "google.cloud.pubsublite.v1.AdminService.UpdateSubscription", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/admin/{subscription.name=projects/*/locations/*/subscriptions/*}" + } + ] + }, + { + "shortName": "UpdateTopic", + "fullName": "google.cloud.pubsublite.v1.AdminService.UpdateTopic", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/admin/{topic.name=projects/*/locations/*/topics/*}" + } + ] + } + ] + }, + { + "shortName": "CursorService", + "fullName": "google.cloud.pubsublite.v1.CursorService", + "methods": [ + { + "shortName": "CommitCursor", + "fullName": "google.cloud.pubsublite.v1.CursorService.CommitCursor", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/cursor/{subscription=projects/*/locations/*/subscriptions/*}:commitCursor" + } + ] + }, + { + "shortName": "ListPartitionCursors", + "fullName": "google.cloud.pubsublite.v1.CursorService.ListPartitionCursors", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/cursor/{parent=projects/*/locations/*/subscriptions/*}/cursors" + } + ] + }, + { + "shortName": "StreamingCommitCursor", + "fullName": "google.cloud.pubsublite.v1.CursorService.StreamingCommitCursor", + "mode": "BIDIRECTIONAL_STREAMING" + } + ] + }, + { + "shortName": "PartitionAssignmentService", + "fullName": "google.cloud.pubsublite.v1.PartitionAssignmentService", + "methods": [ + { + "shortName": "AssignPartitions", + "fullName": "google.cloud.pubsublite.v1.PartitionAssignmentService.AssignPartitions", + "mode": "BIDIRECTIONAL_STREAMING" + } + ] + }, + { + "shortName": "PublisherService", + "fullName": "google.cloud.pubsublite.v1.PublisherService", + "methods": [ + { + "shortName": "Publish", + "fullName": "google.cloud.pubsublite.v1.PublisherService.Publish", + "mode": "BIDIRECTIONAL_STREAMING" + } + ] + }, + { + "shortName": "SubscriberService", + "fullName": "google.cloud.pubsublite.v1.SubscriberService", + "methods": [ + { + "shortName": "Subscribe", + "fullName": "google.cloud.pubsublite.v1.SubscriberService.Subscribe", + "mode": "BIDIRECTIONAL_STREAMING" + } + ] + }, + { + "shortName": "TopicStatsService", + "fullName": "google.cloud.pubsublite.v1.TopicStatsService", + "methods": [ + { + "shortName": "ComputeHeadCursor", + "fullName": "google.cloud.pubsublite.v1.TopicStatsService.ComputeHeadCursor", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/topicStats/{topic=projects/*/locations/*/topics/*}:computeHeadCursor" + } + ] + }, + { + "shortName": "ComputeMessageStats", + "fullName": "google.cloud.pubsublite.v1.TopicStatsService.ComputeMessageStats", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/topicStats/{topic=projects/*/locations/*/topics/*}:computeMessageStats" + } + ] + }, + { + "shortName": "ComputeTimeCursor", + "fullName": "google.cloud.pubsublite.v1.TopicStatsService.ComputeTimeCursor", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/topicStats/{topic=projects/*/locations/*/topics/*}:computeTimeCursor" + } + ] + } + ] + } + ], + "configFile": "pubsublite_v1.yaml", + "serviceConfigApiNames": [ + "google.cloud.pubsublite.v1.AdminService", + "google.cloud.pubsublite.v1.CursorService", + "google.cloud.pubsublite.v1.PartitionAssignmentService", + "google.cloud.pubsublite.v1.PublisherService", + "google.cloud.pubsublite.v1.SubscriberService", + "google.cloud.pubsublite.v1.TopicStatsService", + "google.longrunning.Operations" + ], + "nameInServiceConfig": "pubsublite.googleapis.com" + }, + { + "id": "google.cloud.rapidmigrationassessment.v1", + "directory": "google/cloud/rapidmigrationassessment/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "rapidmigrationassessment.googleapis.com", + "title": "Rapid Migration Assessment API", + "description": "The Rapid Migration Assessment service is our first-party migration assessment and planning tool.", + "importDirectories": [ + "google/api", + "google/cloud/rapidmigrationassessment/v1", + "google/longrunning", + "google/protobuf" + ], + "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.RapidMigrationAssessment.V1": 2 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/rapidmigrationassessment/apiv1/rapidmigrationassessmentpb;rapidmigrationassessmentpb": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.rapidmigrationassessment.v1": 2 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\RapidMigrationAssessment\\V1": 2 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::RapidMigrationAssessment::V1": 2 + } + } + }, + "services": [ + { + "shortName": "RapidMigrationAssessment", + "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment", + "methods": [ + { + "shortName": "CreateAnnotation", + "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment.CreateAnnotation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/annotations" + } + ] + }, + { + "shortName": "CreateCollector", + "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment.CreateCollector", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/collectors" + } + ] + }, + { + "shortName": "DeleteCollector", + "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment.DeleteCollector", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/collectors/*}" + } + ] + }, + { + "shortName": "GetAnnotation", + "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment.GetAnnotation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/annotations/*}" + } + ] + }, + { + "shortName": "GetCollector", + "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment.GetCollector", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/collectors/*}" + } + ] + }, + { + "shortName": "ListCollectors", + "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment.ListCollectors", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/collectors" + } + ] + }, + { + "shortName": "PauseCollector", + "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment.PauseCollector", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/collectors/*}:pause" + } + ] + }, + { + "shortName": "RegisterCollector", + "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment.RegisterCollector", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/collectors/*}:register" + } + ] + }, + { + "shortName": "ResumeCollector", + "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment.ResumeCollector", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/collectors/*}:resume" + } + ] + }, + { + "shortName": "UpdateCollector", + "fullName": "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment.UpdateCollector", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{collector.name=projects/*/locations/*/collectors/*}" + } + ] + } + ] + } + ], + "configFile": "rapidmigrationassessment_v1.yaml", + "serviceConfigApiNames": [ + "google.cloud.location.Locations", + "google.cloud.rapidmigrationassessment.v1.RapidMigrationAssessment", + "google.longrunning.Operations" + ], + "nameInServiceConfig": "rapidmigrationassessment.googleapis.com" + }, + { + "id": "google.cloud.recaptchaenterprise.v1", + "directory": "google/cloud/recaptchaenterprise/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "recaptchaenterprise.googleapis.com", + "title": "reCAPTCHA Enterprise API", + "description": "Help protect your website from fraudulent activity, spam, and abuse without creating friction.", + "importDirectories": [ + "google/api", + "google/protobuf", + "google/rpc" + ], + "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.RecaptchaEnterprise.V1": 1 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/recaptchaenterprise/v2/apiv1/recaptchaenterprisepb;recaptchaenterprisepb": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "java_package": { + "valueCounts": { + "com.google.recaptchaenterprise.v1": 1 + } + }, + "objc_class_prefix": { + "valueCounts": { + "GCRE": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\RecaptchaEnterprise\\V1": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::RecaptchaEnterprise::V1": 1 + } + } + }, + "services": [ + { + "shortName": "RecaptchaEnterpriseService", + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService", + "methods": [ + { + "shortName": "AnnotateAssessment", + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.AnnotateAssessment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/assessments/*}:annotate" + } + ] + }, + { + "shortName": "CreateAssessment", + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.CreateAssessment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}/assessments" + } + ] + }, + { + "shortName": "CreateFirewallPolicy", + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.CreateFirewallPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}/firewallpolicies" + } + ] + }, + { + "shortName": "CreateKey", + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.CreateKey", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}/keys" + } + ] + }, + { + "shortName": "DeleteFirewallPolicy", + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.DeleteFirewallPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/firewallpolicies/*}" + } + ] + }, + { + "shortName": "DeleteKey", + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.DeleteKey", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/keys/*}" + } + ] + }, + { + "shortName": "GetFirewallPolicy", + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.GetFirewallPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/firewallpolicies/*}" + } + ] + }, + { + "shortName": "GetKey", + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.GetKey", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/keys/*}" + } + ] + }, + { + "shortName": "GetMetrics", + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.GetMetrics", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/keys/*/metrics}" + } + ] + }, + { + "shortName": "ListFirewallPolicies", + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListFirewallPolicies", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*}/firewallpolicies" + } + ] + }, + { + "shortName": "ListKeys", + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListKeys", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*}/keys" + } + ] + }, + { + "shortName": "ListRelatedAccountGroupMemberships", + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListRelatedAccountGroupMemberships", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/relatedaccountgroups/*}/memberships" + } + ] + }, + { + "shortName": "ListRelatedAccountGroups", + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ListRelatedAccountGroups", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*}/relatedaccountgroups" + } + ] + }, + { + "shortName": "MigrateKey", + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.MigrateKey", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/keys/*}:migrate" + } + ] + }, + { + "shortName": "ReorderFirewallPolicies", + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.ReorderFirewallPolicies", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}/firewallpolicies:reorder" + } + ] + }, + { + "shortName": "RetrieveLegacySecretKey", + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.RetrieveLegacySecretKey", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{key=projects/*/keys/*}:retrieveLegacySecretKey" + } + ] + }, + { + "shortName": "SearchRelatedAccountGroupMemberships", + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.SearchRelatedAccountGroupMemberships", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{project=projects/*}/relatedaccountgroupmemberships:search" + } + ] + }, + { + "shortName": "UpdateFirewallPolicy", + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.UpdateFirewallPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{firewall_policy.name=projects/*/firewallpolicies/*}" + } + ] + }, + { + "shortName": "UpdateKey", + "fullName": "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService.UpdateKey", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{key.name=projects/*/keys/*}" + } + ] + } + ] + } + ], + "configFile": "recaptchaenterprise_v1.yaml", + "serviceConfigApiNames": [ + "google.cloud.recaptchaenterprise.v1.RecaptchaEnterpriseService" + ], + "nameInServiceConfig": "recaptchaenterprise.googleapis.com" + }, + { + "id": "google.cloud.recaptchaenterprise.v1beta1", + "directory": "google/cloud/recaptchaenterprise/v1beta1", + "version": "v1beta1", + "majorVersion": "v1", + "hostName": "recaptchaenterprise.googleapis.com", + "title": "reCAPTCHA Enterprise API", + "description": "Help protect your website from fraudulent activity, spam, and abuse without creating friction.", + "importDirectories": [ + "google/api", + "google/protobuf" + ], + "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.RecaptchaEnterprise.V1Beta1": 1 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/recaptchaenterprise/v2/apiv1beta1/recaptchaenterprisepb;recaptchaenterprisepb": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "java_package": { + "valueCounts": { + "com.google.recaptchaenterprise.v1beta1": 1 + } + }, + "objc_class_prefix": { + "valueCounts": { + "GCRE": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\RecaptchaEnterprise\\V1beta1": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::RecaptchaEnterprise::V1beta1": 1 + } + } + }, + "services": [ + { + "shortName": "RecaptchaEnterpriseServiceV1Beta1", + "fullName": "google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1", + "methods": [ + { + "shortName": "AnnotateAssessment", + "fullName": "google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1.AnnotateAssessment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/assessments/*}:annotate" + } + ] + }, + { + "shortName": "CreateAssessment", + "fullName": "google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1.CreateAssessment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*}/assessments" + } + ] + } + ] + } + ], + "configFile": "recaptchaenterprise_v1beta1.yaml", + "serviceConfigApiNames": [ + "google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1" + ], + "nameInServiceConfig": "recaptchaenterprise.googleapis.com" + }, + { + "id": "google.cloud.recommendationengine.v1beta1", + "directory": "google/cloud/recommendationengine/v1beta1", + "version": "v1beta1", + "majorVersion": "v1", + "hostName": "recommendationengine.googleapis.com", + "title": "Recommendations AI", + "description": "Recommendations AI service enables customers to build end-to-end personalized recommendation systems without requiring a high level of expertise in machine learning, recommendation system, or Google Cloud.", + "importDirectories": [ + "google/api", + "google/cloud/recommendationengine/v1beta1", + "google/longrunning", + "google/protobuf", + "google/rpc" + ], + "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.RecommendationEngine.V1Beta1": 9 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/recommendationengine/apiv1beta1/recommendationenginepb;recommendationenginepb": 9 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 9 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.recommendationengine.v1beta1": 9 + } + }, + "objc_class_prefix": { + "valueCounts": { + "RECAI": 9 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\RecommendationEngine\\V1beta1": 9 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::RecommendationEngine::V1beta1": 9 + } + } + }, + "services": [ + { + "shortName": "CatalogService", + "fullName": "google.cloud.recommendationengine.v1beta1.CatalogService", + "methods": [ + { + "shortName": "CreateCatalogItem", + "fullName": "google.cloud.recommendationengine.v1beta1.CatalogService.CreateCatalogItem", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*/catalogs/*}/catalogItems" + } + ] + }, + { + "shortName": "DeleteCatalogItem", + "fullName": "google.cloud.recommendationengine.v1beta1.CatalogService.DeleteCatalogItem", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/catalogs/*/catalogItems/**}" + } + ] + }, + { + "shortName": "GetCatalogItem", + "fullName": "google.cloud.recommendationengine.v1beta1.CatalogService.GetCatalogItem", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/catalogs/*/catalogItems/**}" + } + ] + }, + { + "shortName": "ImportCatalogItems", + "fullName": "google.cloud.recommendationengine.v1beta1.CatalogService.ImportCatalogItems", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*/catalogs/*}/catalogItems:import" + } + ] + }, + { + "shortName": "ListCatalogItems", + "fullName": "google.cloud.recommendationengine.v1beta1.CatalogService.ListCatalogItems", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*/catalogs/*}/catalogItems" + } + ] + }, + { + "shortName": "UpdateCatalogItem", + "fullName": "google.cloud.recommendationengine.v1beta1.CatalogService.UpdateCatalogItem", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{name=projects/*/locations/*/catalogs/*/catalogItems/**}" + } + ] + } + ] + }, + { + "shortName": "PredictionApiKeyRegistry", + "fullName": "google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistry", + "methods": [ + { + "shortName": "CreatePredictionApiKeyRegistration", + "fullName": "google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistry.CreatePredictionApiKeyRegistration", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*/catalogs/*/eventStores/*}/predictionApiKeyRegistrations" + } + ] + }, + { + "shortName": "DeletePredictionApiKeyRegistration", + "fullName": "google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistry.DeletePredictionApiKeyRegistration", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/catalogs/*/eventStores/*/predictionApiKeyRegistrations/*}" + } + ] + }, + { + "shortName": "ListPredictionApiKeyRegistrations", + "fullName": "google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistry.ListPredictionApiKeyRegistrations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*/catalogs/*/eventStores/*}/predictionApiKeyRegistrations" + } + ] + } + ] + }, + { + "shortName": "PredictionService", + "fullName": "google.cloud.recommendationengine.v1beta1.PredictionService", + "methods": [ + { + "shortName": "Predict", + "fullName": "google.cloud.recommendationengine.v1beta1.PredictionService.Predict", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/catalogs/*/eventStores/*/placements/*}:predict" + } + ] + } + ] + }, + { + "shortName": "UserEventService", + "fullName": "google.cloud.recommendationengine.v1beta1.UserEventService", + "methods": [ + { + "shortName": "CollectUserEvent", + "fullName": "google.cloud.recommendationengine.v1beta1.UserEventService.CollectUserEvent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*/catalogs/*/eventStores/*}/userEvents:collect" + } + ] + }, + { + "shortName": "ImportUserEvents", + "fullName": "google.cloud.recommendationengine.v1beta1.UserEventService.ImportUserEvents", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*/catalogs/*/eventStores/*}/userEvents:import" + } + ] + }, + { + "shortName": "ListUserEvents", + "fullName": "google.cloud.recommendationengine.v1beta1.UserEventService.ListUserEvents", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*/catalogs/*/eventStores/*}/userEvents" + } + ] + }, + { + "shortName": "PurgeUserEvents", + "fullName": "google.cloud.recommendationengine.v1beta1.UserEventService.PurgeUserEvents", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*/catalogs/*/eventStores/*}/userEvents:purge" + } + ] + }, + { + "shortName": "WriteUserEvent", + "fullName": "google.cloud.recommendationengine.v1beta1.UserEventService.WriteUserEvent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*/catalogs/*/eventStores/*}/userEvents:write" + } + ] + } + ] + } + ], + "configFile": "recommendationengine_v1beta1.yaml", + "serviceConfigApiNames": [ + "google.cloud.recommendationengine.v1beta1.CatalogService", + "google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistry", + "google.cloud.recommendationengine.v1beta1.PredictionService", + "google.cloud.recommendationengine.v1beta1.UserEventService" + ], + "nameInServiceConfig": "recommendationengine.googleapis.com" + }, + { + "id": "google.cloud.recommender.logging.v1", + "directory": "google/cloud/recommender/logging/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "recommender.googleapis.com", + "title": "Recommender API Logging", + "description": "", + "importDirectories": [ + "google/api", + "google/cloud/recommender/v1" + ], + "options": { + "go_package": { + "valueCounts": { + "cloud.google.com/go/recommender/logging/apiv1/loggingpb;loggingpb": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.recommender.logging.v1": 1 + } + } + }, + "configFile": "recommender.yaml", + "nameInServiceConfig": "recommender.googleapis.com" + }, + { + "id": "google.cloud.recommender.logging.v1beta1", + "directory": "google/cloud/recommender/logging/v1beta1", + "version": "v1beta1", + "majorVersion": "v1", + "hostName": "recommender.googleapis.com", + "title": "Recommender API Logging", + "description": "", + "importDirectories": [ + "google/api", + "google/cloud/recommender/v1beta1" + ], + "options": { + "go_package": { + "valueCounts": { + "cloud.google.com/go/recommender/logging/apiv1beta1/loggingpb;loggingpb": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.recommender.logging.v1beta1": 1 + } + } + }, + "configFile": "recommender.yaml", + "nameInServiceConfig": "recommender.googleapis.com" + }, + { + "id": "google.cloud.recommender.v1", + "directory": "google/cloud/recommender/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "recommender.googleapis.com", + "title": "Recommender API", + "description": "", + "importDirectories": [ + "google/api", + "google/cloud/recommender/v1", + "google/protobuf", + "google/type" + ], + "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Recommender.V1": 5 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/recommender/apiv1/recommenderpb;recommenderpb": 5 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 5 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.recommender.v1": 5 + } + }, + "objc_class_prefix": { + "valueCounts": { + "CREC": 5 + } + } + }, + "services": [ + { + "shortName": "Recommender", + "fullName": "google.cloud.recommender.v1.Recommender", + "methods": [ + { + "shortName": "GetInsight", + "fullName": "google.cloud.recommender.v1.Recommender.GetInsight", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/insightTypes/*/insights/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=billingAccounts/*/locations/*/insightTypes/*/insights/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=folders/*/locations/*/insightTypes/*/insights/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=organizations/*/locations/*/insightTypes/*/insights/*}" + } + ] + }, + { + "shortName": "GetInsightTypeConfig", + "fullName": "google.cloud.recommender.v1.Recommender.GetInsightTypeConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/insightTypes/*/config}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=organizations/*/locations/*/insightTypes/*/config}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=billingAccounts/*/locations/*/insightTypes/*/config}" + } + ] + }, + { + "shortName": "GetRecommendation", + "fullName": "google.cloud.recommender.v1.Recommender.GetRecommendation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/recommenders/*/recommendations/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=billingAccounts/*/locations/*/recommenders/*/recommendations/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=folders/*/locations/*/recommenders/*/recommendations/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=organizations/*/locations/*/recommenders/*/recommendations/*}" + } + ] + }, + { + "shortName": "GetRecommenderConfig", + "fullName": "google.cloud.recommender.v1.Recommender.GetRecommenderConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/recommenders/*/config}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=organizations/*/locations/*/recommenders/*/config}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=billingAccounts/*/locations/*/recommenders/*/config}" + } + ] + }, + { + "shortName": "ListInsights", + "fullName": "google.cloud.recommender.v1.Recommender.ListInsights", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/insightTypes/*}/insights" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=billingAccounts/*/locations/*/insightTypes/*}/insights" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=folders/*/locations/*/insightTypes/*}/insights" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=organizations/*/locations/*/insightTypes/*}/insights" + } + ] + }, + { + "shortName": "ListRecommendations", + "fullName": "google.cloud.recommender.v1.Recommender.ListRecommendations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/recommenders/*}/recommendations" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=billingAccounts/*/locations/*/recommenders/*}/recommendations" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=folders/*/locations/*/recommenders/*}/recommendations" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=organizations/*/locations/*/recommenders/*}/recommendations" + } + ] + }, + { + "shortName": "MarkInsightAccepted", + "fullName": "google.cloud.recommender.v1.Recommender.MarkInsightAccepted", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/insightTypes/*/insights/*}:markAccepted" + }, + { + "httpMethod": "POST", + "path": "/v1/{name=billingAccounts/*/locations/*/insightTypes/*/insights/*}:markAccepted" + }, + { + "httpMethod": "POST", + "path": "/v1/{name=folders/*/locations/*/insightTypes/*/insights/*}:markAccepted" + }, + { + "httpMethod": "POST", + "path": "/v1/{name=organizations/*/locations/*/insightTypes/*/insights/*}:markAccepted" + } + ] + }, + { + "shortName": "MarkRecommendationClaimed", + "fullName": "google.cloud.recommender.v1.Recommender.MarkRecommendationClaimed", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/recommenders/*/recommendations/*}:markClaimed" + }, + { + "httpMethod": "POST", + "path": "/v1/{name=billingAccounts/*/locations/*/recommenders/*/recommendations/*}:markClaimed" + }, + { + "httpMethod": "POST", + "path": "/v1/{name=folders/*/locations/*/recommenders/*/recommendations/*}:markClaimed" + }, + { + "httpMethod": "POST", + "path": "/v1/{name=organizations/*/locations/*/recommenders/*/recommendations/*}:markClaimed" + } + ] + }, + { + "shortName": "MarkRecommendationDismissed", + "fullName": "google.cloud.recommender.v1.Recommender.MarkRecommendationDismissed", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/recommenders/*/recommendations/*}:markDismissed" + }, + { + "httpMethod": "POST", + "path": "/v1/{name=billingAccounts/*/locations/*/recommenders/*/recommendations/*}:markDismissed" + }, + { + "httpMethod": "POST", + "path": "/v1/{name=folders/*/locations/*/recommenders/*/recommendations/*}:markDismissed" + }, + { + "httpMethod": "POST", + "path": "/v1/{name=organizations/*/locations/*/recommenders/*/recommendations/*}:markDismissed" + } + ] + }, + { + "shortName": "MarkRecommendationFailed", + "fullName": "google.cloud.recommender.v1.Recommender.MarkRecommendationFailed", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/recommenders/*/recommendations/*}:markFailed" + }, + { + "httpMethod": "POST", + "path": "/v1/{name=billingAccounts/*/locations/*/recommenders/*/recommendations/*}:markFailed" + }, + { + "httpMethod": "POST", + "path": "/v1/{name=folders/*/locations/*/recommenders/*/recommendations/*}:markFailed" + }, + { + "httpMethod": "POST", + "path": "/v1/{name=organizations/*/locations/*/recommenders/*/recommendations/*}:markFailed" + } + ] + }, + { + "shortName": "MarkRecommendationSucceeded", + "fullName": "google.cloud.recommender.v1.Recommender.MarkRecommendationSucceeded", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/recommenders/*/recommendations/*}:markSucceeded" + }, + { + "httpMethod": "POST", + "path": "/v1/{name=billingAccounts/*/locations/*/recommenders/*/recommendations/*}:markSucceeded" + }, + { + "httpMethod": "POST", + "path": "/v1/{name=folders/*/locations/*/recommenders/*/recommendations/*}:markSucceeded" + }, + { + "httpMethod": "POST", + "path": "/v1/{name=organizations/*/locations/*/recommenders/*/recommendations/*}:markSucceeded" + } + ] + }, + { + "shortName": "UpdateInsightTypeConfig", + "fullName": "google.cloud.recommender.v1.Recommender.UpdateInsightTypeConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{insight_type_config.name=projects/*/locations/*/insightTypes/*/config}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{insight_type_config.name=organizations/*/locations/*/insightTypes/*/config}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{insight_type_config.name=billingAccounts/*/locations/*/insightTypes/*/config}" + } + ] + }, + { + "shortName": "UpdateRecommenderConfig", + "fullName": "google.cloud.recommender.v1.Recommender.UpdateRecommenderConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{recommender_config.name=projects/*/locations/*/recommenders/*/config}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{recommender_config.name=organizations/*/locations/*/recommenders/*/config}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{recommender_config.name=billingAccounts/*/locations/*/recommenders/*/config}" + } + ] + } + ] + } + ], + "configFile": "recommender_v1.yaml", + "serviceConfigApiNames": [ + "google.cloud.recommender.v1.Recommender" + ], + "nameInServiceConfig": "recommender.googleapis.com" + }, + { + "id": "google.cloud.recommender.v1beta1", + "directory": "google/cloud/recommender/v1beta1", + "version": "v1beta1", + "majorVersion": "v1", + "hostName": "recommender.googleapis.com", + "title": "Recommender API", + "description": "", + "importDirectories": [ + "google/api", + "google/cloud/recommender/v1beta1", + "google/protobuf", + "google/type" + ], + "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Recommender.V1Beta1": 5 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/recommender/apiv1beta1/recommenderpb;recommenderpb": 5 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 5 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.recommender.v1beta1": 5 + } + }, + "objc_class_prefix": { + "valueCounts": { + "CREC": 5 + } + } + }, + "services": [ + { + "shortName": "Recommender", + "fullName": "google.cloud.recommender.v1beta1.Recommender", + "methods": [ + { + "shortName": "GetInsight", + "fullName": "google.cloud.recommender.v1beta1.Recommender.GetInsight", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/insightTypes/*/insights/*}" + }, + { + "httpMethod": "GET", + "path": "/v1beta1/{name=billingAccounts/*/locations/*/insightTypes/*/insights/*}" + }, + { + "httpMethod": "GET", + "path": "/v1beta1/{name=folders/*/locations/*/insightTypes/*/insights/*}" + }, + { + "httpMethod": "GET", + "path": "/v1beta1/{name=organizations/*/locations/*/insightTypes/*/insights/*}" + } + ] + }, + { + "shortName": "GetInsightTypeConfig", + "fullName": "google.cloud.recommender.v1beta1.Recommender.GetInsightTypeConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/insightTypes/*/config}" + }, + { + "httpMethod": "GET", + "path": "/v1beta1/{name=organizations/*/locations/*/insightTypes/*/config}" + } + ] + }, + { + "shortName": "GetRecommendation", + "fullName": "google.cloud.recommender.v1beta1.Recommender.GetRecommendation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/recommenders/*/recommendations/*}" + }, + { + "httpMethod": "GET", + "path": "/v1beta1/{name=billingAccounts/*/locations/*/recommenders/*/recommendations/*}" + }, + { + "httpMethod": "GET", + "path": "/v1beta1/{name=folders/*/locations/*/recommenders/*/recommendations/*}" + }, + { + "httpMethod": "GET", + "path": "/v1beta1/{name=organizations/*/locations/*/recommenders/*/recommendations/*}" + } + ] + }, + { + "shortName": "GetRecommenderConfig", + "fullName": "google.cloud.recommender.v1beta1.Recommender.GetRecommenderConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/recommenders/*/config}" + }, + { + "httpMethod": "GET", + "path": "/v1beta1/{name=organizations/*/locations/*/recommenders/*/config}" + } + ] + }, + { + "shortName": "ListInsightTypes", + "fullName": "google.cloud.recommender.v1beta1.Recommender.ListInsightTypes", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/insightTypes" + } + ] + }, + { + "shortName": "ListInsights", + "fullName": "google.cloud.recommender.v1beta1.Recommender.ListInsights", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*/insightTypes/*}/insights" + }, + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=billingAccounts/*/locations/*/insightTypes/*}/insights" + }, + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=folders/*/locations/*/insightTypes/*}/insights" + }, + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=organizations/*/locations/*/insightTypes/*}/insights" + } + ] + }, + { + "shortName": "ListRecommendations", + "fullName": "google.cloud.recommender.v1beta1.Recommender.ListRecommendations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*/recommenders/*}/recommendations" + }, + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=billingAccounts/*/locations/*/recommenders/*}/recommendations" + }, + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=folders/*/locations/*/recommenders/*}/recommendations" + }, + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=organizations/*/locations/*/recommenders/*}/recommendations" + } + ] + }, + { + "shortName": "ListRecommenders", + "fullName": "google.cloud.recommender.v1beta1.Recommender.ListRecommenders", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/recommenders" + } + ] + }, + { + "shortName": "MarkInsightAccepted", + "fullName": "google.cloud.recommender.v1beta1.Recommender.MarkInsightAccepted", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/insightTypes/*/insights/*}:markAccepted" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/{name=billingAccounts/*/locations/*/insightTypes/*/insights/*}:markAccepted" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/{name=folders/*/locations/*/insightTypes/*/insights/*}:markAccepted" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/{name=organizations/*/locations/*/insightTypes/*/insights/*}:markAccepted" + } + ] + }, + { + "shortName": "MarkRecommendationClaimed", + "fullName": "google.cloud.recommender.v1beta1.Recommender.MarkRecommendationClaimed", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/recommenders/*/recommendations/*}:markClaimed" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/{name=billingAccounts/*/locations/*/recommenders/*/recommendations/*}:markClaimed" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/{name=folders/*/locations/*/recommenders/*/recommendations/*}:markClaimed" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/{name=organizations/*/locations/*/recommenders/*/recommendations/*}:markClaimed" + } + ] + }, + { + "shortName": "MarkRecommendationFailed", + "fullName": "google.cloud.recommender.v1beta1.Recommender.MarkRecommendationFailed", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/recommenders/*/recommendations/*}:markFailed" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/{name=billingAccounts/*/locations/*/recommenders/*/recommendations/*}:markFailed" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/{name=folders/*/locations/*/recommenders/*/recommendations/*}:markFailed" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/{name=organizations/*/locations/*/recommenders/*/recommendations/*}:markFailed" + } + ] + }, + { + "shortName": "MarkRecommendationSucceeded", + "fullName": "google.cloud.recommender.v1beta1.Recommender.MarkRecommendationSucceeded", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/recommenders/*/recommendations/*}:markSucceeded" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/{name=billingAccounts/*/locations/*/recommenders/*/recommendations/*}:markSucceeded" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/{name=folders/*/locations/*/recommenders/*/recommendations/*}:markSucceeded" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/{name=organizations/*/locations/*/recommenders/*/recommendations/*}:markSucceeded" + } + ] + }, + { + "shortName": "UpdateInsightTypeConfig", + "fullName": "google.cloud.recommender.v1beta1.Recommender.UpdateInsightTypeConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{insight_type_config.name=projects/*/locations/*/insightTypes/*/config}" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/{insight_type_config.name=organizations/*/locations/*/insightTypes/*/config}" + } + ] + }, + { + "shortName": "UpdateRecommenderConfig", + "fullName": "google.cloud.recommender.v1beta1.Recommender.UpdateRecommenderConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{recommender_config.name=projects/*/locations/*/recommenders/*/config}" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/{recommender_config.name=organizations/*/locations/*/recommenders/*/config}" + } + ] + } + ] + } + ], + "configFile": "recommender_v1beta1.yaml", + "serviceConfigApiNames": [ + "google.cloud.recommender.v1beta1.Recommender" + ], + "nameInServiceConfig": "recommender.googleapis.com" + }, + { + "id": "google.cloud.redis.cluster.v1", + "directory": "google/cloud/redis/cluster/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "redis.googleapis.com", + "title": "Google Cloud Memorystore for Redis API", + "description": "Creates and manages Redis instances on the Google Cloud Platform.", + "importDirectories": [ + "google/api", + "google/longrunning", + "google/protobuf" + ], + "options": { + "go_package": { + "valueCounts": { + "cloud.google.com/go/redis/cluster/apiv1/clusterpb;clusterpb": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.redis.cluster.v1": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::Redis::Cluster::V1": 1 + } + } + }, + "services": [ + { + "shortName": "CloudRedisCluster", + "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster", + "methods": [ + { + "shortName": "CreateCluster", + "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster.CreateCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/clusters" + } + ] + }, + { + "shortName": "DeleteCluster", + "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster.DeleteCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/clusters/*}" + } + ] + }, + { + "shortName": "GetCluster", + "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster.GetCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/clusters/*}" + } + ] + }, + { + "shortName": "ListClusters", + "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster.ListClusters", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/clusters" + } + ] + }, + { + "shortName": "UpdateCluster", + "fullName": "google.cloud.redis.cluster.v1.CloudRedisCluster.UpdateCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{cluster.name=projects/*/locations/*/clusters/*}" + } + ] + } + ] + } + ], + "configFile": "redis_v1.yaml", + "serviceConfigApiNames": [ + "google.cloud.location.Locations", + "google.cloud.redis.cluster.v1.CloudRedisCluster", + "google.longrunning.Operations" + ], + "nameInServiceConfig": "redis.googleapis.com" + }, + { + "id": "google.cloud.redis.cluster.v1beta1", + "directory": "google/cloud/redis/cluster/v1beta1", + "version": "v1beta1", + "majorVersion": "v1", + "hostName": "redis.googleapis.com", + "title": "Google Cloud Memorystore for Redis API", + "description": "Creates and manages Redis instances on the Google Cloud Platform.", + "importDirectories": [ + "google/api", + "google/longrunning", + "google/protobuf" + ], + "options": { + "go_package": { + "valueCounts": { + "cloud.google.com/go/redis/cluster/apiv1beta1/clusterpb;clusterpb": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.redis.cluster.v1beta1": 1 + } + } + }, + "services": [ + { + "shortName": "CloudRedisCluster", + "fullName": "google.cloud.redis.cluster.v1beta1.CloudRedisCluster", + "methods": [ + { + "shortName": "CreateCluster", + "fullName": "google.cloud.redis.cluster.v1beta1.CloudRedisCluster.CreateCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/clusters" + } + ] + }, + { + "shortName": "DeleteCluster", + "fullName": "google.cloud.redis.cluster.v1beta1.CloudRedisCluster.DeleteCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/clusters/*}" + } + ] + }, + { + "shortName": "GetCluster", + "fullName": "google.cloud.redis.cluster.v1beta1.CloudRedisCluster.GetCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/clusters/*}" + } + ] + }, + { + "shortName": "ListClusters", + "fullName": "google.cloud.redis.cluster.v1beta1.CloudRedisCluster.ListClusters", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/clusters" + } + ] + }, + { + "shortName": "UpdateCluster", + "fullName": "google.cloud.redis.cluster.v1beta1.CloudRedisCluster.UpdateCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{cluster.name=projects/*/locations/*/clusters/*}" + } + ] + } + ] + } + ], + "configFile": "redis_v1beta1.yaml", + "serviceConfigApiNames": [ + "google.cloud.location.Locations", + "google.cloud.redis.cluster.v1beta1.CloudRedisCluster", + "google.longrunning.Operations" + ], + "nameInServiceConfig": "redis.googleapis.com" + }, + { + "id": "google.cloud.redis.v1", + "directory": "google/cloud/redis/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "redis.googleapis.com", + "title": "Google Cloud Memorystore for Redis API", + "description": "Creates and manages Redis instances on the Google Cloud Platform.", + "importDirectories": [ + "google/api", + "google/longrunning", + "google/protobuf", + "google/type" + ], + "options": { + "go_package": { + "valueCounts": { + "cloud.google.com/go/redis/apiv1/redispb;redispb": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.redis.v1": 1 + } + } + }, + "services": [ + { + "shortName": "CloudRedis", + "fullName": "google.cloud.redis.v1.CloudRedis", + "methods": [ + { + "shortName": "CreateInstance", + "fullName": "google.cloud.redis.v1.CloudRedis.CreateInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/instances" + } + ] + }, + { + "shortName": "DeleteInstance", + "fullName": "google.cloud.redis.v1.CloudRedis.DeleteInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/instances/*}" + } + ] + }, + { + "shortName": "ExportInstance", + "fullName": "google.cloud.redis.v1.CloudRedis.ExportInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/instances/*}:export" + } + ] + }, + { + "shortName": "FailoverInstance", + "fullName": "google.cloud.redis.v1.CloudRedis.FailoverInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/instances/*}:failover" + } + ] + }, + { + "shortName": "GetInstance", + "fullName": "google.cloud.redis.v1.CloudRedis.GetInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/instances/*}" + } + ] + }, + { + "shortName": "GetInstanceAuthString", + "fullName": "google.cloud.redis.v1.CloudRedis.GetInstanceAuthString", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/instances/*}/authString" + } + ] + }, + { + "shortName": "ImportInstance", + "fullName": "google.cloud.redis.v1.CloudRedis.ImportInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/instances/*}:import" + } + ] + }, + { + "shortName": "ListInstances", + "fullName": "google.cloud.redis.v1.CloudRedis.ListInstances", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/instances" + } + ] + }, + { + "shortName": "RescheduleMaintenance", + "fullName": "google.cloud.redis.v1.CloudRedis.RescheduleMaintenance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/instances/*}:rescheduleMaintenance" + } + ] + }, + { + "shortName": "UpdateInstance", + "fullName": "google.cloud.redis.v1.CloudRedis.UpdateInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{instance.name=projects/*/locations/*/instances/*}" + } + ] + }, + { + "shortName": "UpgradeInstance", + "fullName": "google.cloud.redis.v1.CloudRedis.UpgradeInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/instances/*}:upgrade" + } + ] + } + ] + } + ], + "configFile": "redis_v1.yaml", + "serviceConfigApiNames": [ + "google.cloud.location.Locations", + "google.cloud.redis.v1.CloudRedis", + "google.longrunning.Operations" + ], + "nameInServiceConfig": "redis.googleapis.com" + }, + { + "id": "google.cloud.redis.v1beta1", + "directory": "google/cloud/redis/v1beta1", + "version": "v1beta1", + "majorVersion": "v1", + "hostName": "redis.googleapis.com", + "title": "Google Cloud Memorystore for Redis API", + "description": "Creates and manages Redis instances on the Google Cloud Platform.", + "importDirectories": [ + "google/api", + "google/longrunning", + "google/protobuf", + "google/type" + ], + "options": { + "go_package": { + "valueCounts": { + "cloud.google.com/go/redis/apiv1beta1/redispb;redispb": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.redis.v1beta1": 1 + } + } + }, + "services": [ + { + "shortName": "CloudRedis", + "fullName": "google.cloud.redis.v1beta1.CloudRedis", + "methods": [ + { + "shortName": "CreateInstance", + "fullName": "google.cloud.redis.v1beta1.CloudRedis.CreateInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/instances" + } + ] + }, + { + "shortName": "DeleteInstance", + "fullName": "google.cloud.redis.v1beta1.CloudRedis.DeleteInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/instances/*}" + } + ] + }, + { + "shortName": "ExportInstance", + "fullName": "google.cloud.redis.v1beta1.CloudRedis.ExportInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/instances/*}:export" + } + ] + }, + { + "shortName": "FailoverInstance", + "fullName": "google.cloud.redis.v1beta1.CloudRedis.FailoverInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/instances/*}:failover" + } + ] + }, + { + "shortName": "GetInstance", + "fullName": "google.cloud.redis.v1beta1.CloudRedis.GetInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/instances/*}" + } + ] + }, + { + "shortName": "GetInstanceAuthString", + "fullName": "google.cloud.redis.v1beta1.CloudRedis.GetInstanceAuthString", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/instances/*}/authString" + } + ] + }, + { + "shortName": "ImportInstance", + "fullName": "google.cloud.redis.v1beta1.CloudRedis.ImportInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/instances/*}:import" + } + ] + }, + { + "shortName": "ListInstances", + "fullName": "google.cloud.redis.v1beta1.CloudRedis.ListInstances", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/instances" + } + ] + }, + { + "shortName": "RescheduleMaintenance", + "fullName": "google.cloud.redis.v1beta1.CloudRedis.RescheduleMaintenance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/instances/*}:rescheduleMaintenance" + } + ] + }, + { + "shortName": "UpdateInstance", + "fullName": "google.cloud.redis.v1beta1.CloudRedis.UpdateInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{instance.name=projects/*/locations/*/instances/*}" + } + ] + }, + { + "shortName": "UpgradeInstance", + "fullName": "google.cloud.redis.v1beta1.CloudRedis.UpgradeInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/instances/*}:upgrade" + } + ] + } + ] + } + ], + "configFile": "redis_v1beta1.yaml", + "serviceConfigApiNames": [ + "google.cloud.redis.v1beta1.CloudRedis" + ], + "nameInServiceConfig": "redis.googleapis.com" + }, + { + "id": "google.cloud.resourcemanager.v2", + "directory": "google/cloud/resourcemanager/v2", + "version": "v2", + "majorVersion": "v2", + "hostName": "cloudresourcemanager.googleapis.com", + "title": "Cloud Resource Manager API", + "description": "Creates, reads, and updates metadata for Google Cloud Platform resource containers.", + "importDirectories": [ + "google/api", + "google/iam/v1", + "google/longrunning", + "google/protobuf" + ], + "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.ResourceManager.V2": 1 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/resourcemanager/apiv2/resourcemanagerpb;resourcemanagerpb": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.resourcemanager.v2": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\ResourceManager\\V2": 1 + } + } + }, + "services": [ + { + "shortName": "Folders", + "fullName": "google.cloud.resourcemanager.v2.Folders", + "methods": [ + { + "shortName": "CreateFolder", + "fullName": "google.cloud.resourcemanager.v2.Folders.CreateFolder", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/folders" + } + ] + }, + { + "shortName": "DeleteFolder", + "fullName": "google.cloud.resourcemanager.v2.Folders.DeleteFolder", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=folders/*}" + } + ] + }, + { + "shortName": "GetFolder", + "fullName": "google.cloud.resourcemanager.v2.Folders.GetFolder", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=folders/*}" + } + ] + }, + { + "shortName": "GetIamPolicy", + "fullName": "google.cloud.resourcemanager.v2.Folders.GetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{resource=folders/*}:getIamPolicy" + } + ] + }, + { + "shortName": "ListFolders", + "fullName": "google.cloud.resourcemanager.v2.Folders.ListFolders", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/folders" + } + ] + }, + { + "shortName": "MoveFolder", + "fullName": "google.cloud.resourcemanager.v2.Folders.MoveFolder", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=folders/*}:move" + } + ] + }, + { + "shortName": "SearchFolders", + "fullName": "google.cloud.resourcemanager.v2.Folders.SearchFolders", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/folders:search" + } + ] + }, + { + "shortName": "SetIamPolicy", + "fullName": "google.cloud.resourcemanager.v2.Folders.SetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{resource=folders/*}:setIamPolicy" + } + ] + }, + { + "shortName": "TestIamPermissions", + "fullName": "google.cloud.resourcemanager.v2.Folders.TestIamPermissions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{resource=folders/*}:testIamPermissions" + } + ] + }, + { + "shortName": "UndeleteFolder", + "fullName": "google.cloud.resourcemanager.v2.Folders.UndeleteFolder", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=folders/*}:undelete" + } + ] + }, + { + "shortName": "UpdateFolder", + "fullName": "google.cloud.resourcemanager.v2.Folders.UpdateFolder", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{folder.name=folders/*}" + } + ] + } + ] + } + ], + "configFile": "cloudresourcemanager_v2.yaml", + "serviceConfigApiNames": [ + "google.cloud.resourcemanager.v2.Folders" + ], + "nameInServiceConfig": "cloudresourcemanager.googleapis.com" + }, + { + "id": "google.cloud.resourcemanager.v3", + "directory": "google/cloud/resourcemanager/v3", + "version": "v3", + "majorVersion": "v3", + "hostName": "cloudresourcemanager.googleapis.com", + "title": "Cloud Resource Manager API", + "description": "Creates, reads, and updates metadata for Google Cloud Platform resource containers.", + "importDirectories": [ + "google/api", + "google/iam/v1", + "google/longrunning", + "google/protobuf" + ], + "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.ResourceManager.V3": 7 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/resourcemanager/apiv3/resourcemanagerpb;resourcemanagerpb": 7 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 7 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.resourcemanager.v3": 7 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\ResourceManager\\V3": 7 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::ResourceManager::V3": 7 + } + } + }, + "services": [ + { + "shortName": "Folders", + "fullName": "google.cloud.resourcemanager.v3.Folders", + "methods": [ + { + "shortName": "CreateFolder", + "fullName": "google.cloud.resourcemanager.v3.Folders.CreateFolder", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/folders" + } + ] + }, + { + "shortName": "DeleteFolder", + "fullName": "google.cloud.resourcemanager.v3.Folders.DeleteFolder", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3/{name=folders/*}" + } + ] + }, + { + "shortName": "GetFolder", + "fullName": "google.cloud.resourcemanager.v3.Folders.GetFolder", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{name=folders/*}" + } + ] + }, + { + "shortName": "GetIamPolicy", + "fullName": "google.cloud.resourcemanager.v3.Folders.GetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{resource=folders/*}:getIamPolicy" + } + ] + }, + { + "shortName": "ListFolders", + "fullName": "google.cloud.resourcemanager.v3.Folders.ListFolders", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/folders" + } + ] + }, + { + "shortName": "MoveFolder", + "fullName": "google.cloud.resourcemanager.v3.Folders.MoveFolder", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{name=folders/*}:move" + } + ] + }, + { + "shortName": "SearchFolders", + "fullName": "google.cloud.resourcemanager.v3.Folders.SearchFolders", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/folders:search" + } + ] + }, + { + "shortName": "SetIamPolicy", + "fullName": "google.cloud.resourcemanager.v3.Folders.SetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{resource=folders/*}:setIamPolicy" + } + ] + }, + { + "shortName": "TestIamPermissions", + "fullName": "google.cloud.resourcemanager.v3.Folders.TestIamPermissions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{resource=folders/*}:testIamPermissions" + } + ] + }, + { + "shortName": "UndeleteFolder", + "fullName": "google.cloud.resourcemanager.v3.Folders.UndeleteFolder", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{name=folders/*}:undelete" + } + ] + }, + { + "shortName": "UpdateFolder", + "fullName": "google.cloud.resourcemanager.v3.Folders.UpdateFolder", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v3/{folder.name=folders/*}" + } + ] + } + ] + }, + { + "shortName": "Organizations", + "fullName": "google.cloud.resourcemanager.v3.Organizations", + "methods": [ + { + "shortName": "GetIamPolicy", + "fullName": "google.cloud.resourcemanager.v3.Organizations.GetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{resource=organizations/*}:getIamPolicy" + } + ] + }, + { + "shortName": "GetOrganization", + "fullName": "google.cloud.resourcemanager.v3.Organizations.GetOrganization", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{name=organizations/*}" + } + ] + }, + { + "shortName": "SearchOrganizations", + "fullName": "google.cloud.resourcemanager.v3.Organizations.SearchOrganizations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/organizations:search" + } + ] + }, + { + "shortName": "SetIamPolicy", + "fullName": "google.cloud.resourcemanager.v3.Organizations.SetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{resource=organizations/*}:setIamPolicy" + } + ] + }, + { + "shortName": "TestIamPermissions", + "fullName": "google.cloud.resourcemanager.v3.Organizations.TestIamPermissions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{resource=organizations/*}:testIamPermissions" + } + ] + } + ] + }, + { + "shortName": "Projects", + "fullName": "google.cloud.resourcemanager.v3.Projects", + "methods": [ + { + "shortName": "CreateProject", + "fullName": "google.cloud.resourcemanager.v3.Projects.CreateProject", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/projects" + } + ] + }, + { + "shortName": "DeleteProject", + "fullName": "google.cloud.resourcemanager.v3.Projects.DeleteProject", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3/{name=projects/*}" + } + ] + }, + { + "shortName": "GetIamPolicy", + "fullName": "google.cloud.resourcemanager.v3.Projects.GetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{resource=projects/*}:getIamPolicy" + } + ] + }, + { + "shortName": "GetProject", + "fullName": "google.cloud.resourcemanager.v3.Projects.GetProject", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{name=projects/*}" + } + ] + }, + { + "shortName": "ListProjects", + "fullName": "google.cloud.resourcemanager.v3.Projects.ListProjects", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/projects" + } + ] + }, + { + "shortName": "MoveProject", + "fullName": "google.cloud.resourcemanager.v3.Projects.MoveProject", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{name=projects/*}:move" + } + ] + }, + { + "shortName": "SearchProjects", + "fullName": "google.cloud.resourcemanager.v3.Projects.SearchProjects", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/projects:search" + } + ] + }, + { + "shortName": "SetIamPolicy", + "fullName": "google.cloud.resourcemanager.v3.Projects.SetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{resource=projects/*}:setIamPolicy" + } + ] + }, + { + "shortName": "TestIamPermissions", + "fullName": "google.cloud.resourcemanager.v3.Projects.TestIamPermissions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{resource=projects/*}:testIamPermissions" + } + ] + }, + { + "shortName": "UndeleteProject", + "fullName": "google.cloud.resourcemanager.v3.Projects.UndeleteProject", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{name=projects/*}:undelete" + } + ] + }, + { + "shortName": "UpdateProject", + "fullName": "google.cloud.resourcemanager.v3.Projects.UpdateProject", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v3/{project.name=projects/*}" + } + ] + } + ] + }, + { + "shortName": "TagBindings", + "fullName": "google.cloud.resourcemanager.v3.TagBindings", + "methods": [ + { + "shortName": "CreateTagBinding", + "fullName": "google.cloud.resourcemanager.v3.TagBindings.CreateTagBinding", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/tagBindings" + } + ] + }, + { + "shortName": "DeleteTagBinding", + "fullName": "google.cloud.resourcemanager.v3.TagBindings.DeleteTagBinding", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3/{name=tagBindings/**}" + } + ] + }, + { + "shortName": "ListEffectiveTags", + "fullName": "google.cloud.resourcemanager.v3.TagBindings.ListEffectiveTags", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/effectiveTags" + } + ] + }, + { + "shortName": "ListTagBindings", + "fullName": "google.cloud.resourcemanager.v3.TagBindings.ListTagBindings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/tagBindings" + } + ] + } + ] + }, + { + "shortName": "TagHolds", + "fullName": "google.cloud.resourcemanager.v3.TagHolds", + "methods": [ + { + "shortName": "CreateTagHold", + "fullName": "google.cloud.resourcemanager.v3.TagHolds.CreateTagHold", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{parent=tagValues/*}/tagHolds" + } + ] + }, + { + "shortName": "DeleteTagHold", + "fullName": "google.cloud.resourcemanager.v3.TagHolds.DeleteTagHold", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3/{name=tagValues/*/tagHolds/*}" + } + ] + }, + { + "shortName": "ListTagHolds", + "fullName": "google.cloud.resourcemanager.v3.TagHolds.ListTagHolds", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{parent=tagValues/*}/tagHolds" + } + ] + } + ] + }, + { + "shortName": "TagKeys", + "fullName": "google.cloud.resourcemanager.v3.TagKeys", + "methods": [ + { + "shortName": "CreateTagKey", + "fullName": "google.cloud.resourcemanager.v3.TagKeys.CreateTagKey", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/tagKeys" + } + ] + }, + { + "shortName": "DeleteTagKey", + "fullName": "google.cloud.resourcemanager.v3.TagKeys.DeleteTagKey", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3/{name=tagKeys/*}" + } + ] + }, + { + "shortName": "GetIamPolicy", + "fullName": "google.cloud.resourcemanager.v3.TagKeys.GetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{resource=tagKeys/*}:getIamPolicy" + } + ] + }, + { + "shortName": "GetNamespacedTagKey", + "fullName": "google.cloud.resourcemanager.v3.TagKeys.GetNamespacedTagKey", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/tagKeys/namespaced" + } + ] + }, + { + "shortName": "GetTagKey", + "fullName": "google.cloud.resourcemanager.v3.TagKeys.GetTagKey", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{name=tagKeys/*}" + } + ] + }, + { + "shortName": "ListTagKeys", + "fullName": "google.cloud.resourcemanager.v3.TagKeys.ListTagKeys", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/tagKeys" + } + ] + }, + { + "shortName": "SetIamPolicy", + "fullName": "google.cloud.resourcemanager.v3.TagKeys.SetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{resource=tagKeys/*}:setIamPolicy" + } + ] + }, + { + "shortName": "TestIamPermissions", + "fullName": "google.cloud.resourcemanager.v3.TagKeys.TestIamPermissions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{resource=tagKeys/*}:testIamPermissions" + } + ] + }, + { + "shortName": "UpdateTagKey", + "fullName": "google.cloud.resourcemanager.v3.TagKeys.UpdateTagKey", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v3/{tag_key.name=tagKeys/*}" + } + ] + } + ] + }, + { + "shortName": "TagValues", + "fullName": "google.cloud.resourcemanager.v3.TagValues", + "methods": [ + { + "shortName": "CreateTagValue", + "fullName": "google.cloud.resourcemanager.v3.TagValues.CreateTagValue", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/tagValues" + } + ] + }, + { + "shortName": "DeleteTagValue", + "fullName": "google.cloud.resourcemanager.v3.TagValues.DeleteTagValue", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3/{name=tagValues/*}" + } + ] + }, + { + "shortName": "GetIamPolicy", + "fullName": "google.cloud.resourcemanager.v3.TagValues.GetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{resource=tagValues/*}:getIamPolicy" + } + ] + }, + { + "shortName": "GetNamespacedTagValue", + "fullName": "google.cloud.resourcemanager.v3.TagValues.GetNamespacedTagValue", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/tagValues/namespaced" + } + ] + }, + { + "shortName": "GetTagValue", + "fullName": "google.cloud.resourcemanager.v3.TagValues.GetTagValue", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{name=tagValues/*}" + } + ] + }, + { + "shortName": "ListTagValues", + "fullName": "google.cloud.resourcemanager.v3.TagValues.ListTagValues", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/tagValues" + } + ] + }, + { + "shortName": "SetIamPolicy", + "fullName": "google.cloud.resourcemanager.v3.TagValues.SetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{resource=tagValues/*}:setIamPolicy" + } + ] + }, + { + "shortName": "TestIamPermissions", + "fullName": "google.cloud.resourcemanager.v3.TagValues.TestIamPermissions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{resource=tagValues/*}:testIamPermissions" + } + ] + }, + { + "shortName": "UpdateTagValue", + "fullName": "google.cloud.resourcemanager.v3.TagValues.UpdateTagValue", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v3/{tag_value.name=tagValues/*}" + } + ] + } + ] + } + ], + "configFile": "cloudresourcemanager_v3.yaml", + "serviceConfigApiNames": [ + "google.cloud.resourcemanager.v3.Folders", + "google.cloud.resourcemanager.v3.Organizations", + "google.cloud.resourcemanager.v3.Projects", + "google.cloud.resourcemanager.v3.TagBindings", + "google.cloud.resourcemanager.v3.TagHolds", + "google.cloud.resourcemanager.v3.TagKeys", + "google.cloud.resourcemanager.v3.TagValues", + "google.longrunning.Operations" + ], + "nameInServiceConfig": "cloudresourcemanager.googleapis.com" + }, + { + "id": "google.cloud.resourcesettings.v1", + "directory": "google/cloud/resourcesettings/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "resourcesettings.googleapis.com", + "title": "Resource Settings API", + "description": "The Resource Settings API allows users to control and modify the behavior of their GCP resources (e.g., VM, firewall, Project, etc.) across the Cloud Resource Hierarchy.", + "importDirectories": [ + "google/api" + ], + "options": { + "cc_enable_arenas": { + "valueCounts": { + "true": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.ResourceSettings.V1": 1 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/resourcesettings/apiv1/resourcesettingspb;resourcesettingspb": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.resourcesettings.v1": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\ResourceSettings\\V1": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::ResourceSettings::V1": 1 + } + } + }, + "services": [ + { + "shortName": "ResourceSettingsService", + "fullName": "google.cloud.resourcesettings.v1.ResourceSettingsService", + "methods": [ + { + "shortName": "GetSetting", + "fullName": "google.cloud.resourcesettings.v1.ResourceSettingsService.GetSetting", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=organizations/*/settings/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=folders/*/settings/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/settings/*}" + } + ] + }, + { + "shortName": "ListSettings", + "fullName": "google.cloud.resourcesettings.v1.ResourceSettingsService.ListSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=organizations/*}/settings" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=folders/*}/settings" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*}/settings" + } + ] + }, + { + "shortName": "UpdateSetting", + "fullName": "google.cloud.resourcesettings.v1.ResourceSettingsService.UpdateSetting", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{setting.name=organizations/*/settings/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{setting.name=folders/*/settings/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{setting.name=projects/*/settings/*}" + } + ] + } + ] + } + ], + "configFile": "resourcesettings_v1.yaml", + "serviceConfigApiNames": [ + "google.cloud.resourcesettings.v1.ResourceSettingsService" + ], + "nameInServiceConfig": "resourcesettings.googleapis.com" + }, + { + "id": "google.cloud.retail.v2", + "directory": "google/cloud/retail/v2", + "version": "v2", + "majorVersion": "v2", + "hostName": "retail.googleapis.com", + "title": "Retail API", + "description": "Cloud Retail service enables customers to build end-to-end personalized recommendation systems without requiring a high level of expertise in machine learning, recommendation system, or Google Cloud.", + "importDirectories": [ + "google/api", + "google/cloud/retail/v2", + "google/longrunning", + "google/protobuf", + "google/rpc", + "google/type" + ], + "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Retail.V2": 21 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/retail/apiv2/retailpb;retailpb": 21 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 21 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.retail.v2": 21 + } + }, + "objc_class_prefix": { + "valueCounts": { + "RETAIL": 21 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Retail\\V2": 21 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::Retail::V2": 21 + } + } + }, + "services": [ + { + "shortName": "AnalyticsService", + "fullName": "google.cloud.retail.v2.AnalyticsService", + "methods": [ + { + "shortName": "ExportAnalyticsMetrics", + "fullName": "google.cloud.retail.v2.AnalyticsService.ExportAnalyticsMetrics", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{catalog=projects/*/locations/*/catalogs/*}:exportAnalyticsMetrics" + } + ] + } + ] + }, + { + "shortName": "CatalogService", + "fullName": "google.cloud.retail.v2.CatalogService", + "methods": [ + { + "shortName": "AddCatalogAttribute", + "fullName": "google.cloud.retail.v2.CatalogService.AddCatalogAttribute", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{attributes_config=projects/*/locations/*/catalogs/*/attributesConfig}:addCatalogAttribute" + } + ] + }, + { + "shortName": "GetAttributesConfig", + "fullName": "google.cloud.retail.v2.CatalogService.GetAttributesConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/locations/*/catalogs/*/attributesConfig}" + } + ] + }, + { + "shortName": "GetCompletionConfig", + "fullName": "google.cloud.retail.v2.CatalogService.GetCompletionConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/locations/*/catalogs/*/completionConfig}" + } + ] + }, + { + "shortName": "GetDefaultBranch", + "fullName": "google.cloud.retail.v2.CatalogService.GetDefaultBranch", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{catalog=projects/*/locations/*/catalogs/*}:getDefaultBranch" + } + ] + }, + { + "shortName": "ListCatalogs", + "fullName": "google.cloud.retail.v2.CatalogService.ListCatalogs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*}/catalogs" + } + ] + }, + { + "shortName": "RemoveCatalogAttribute", + "fullName": "google.cloud.retail.v2.CatalogService.RemoveCatalogAttribute", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{attributes_config=projects/*/locations/*/catalogs/*/attributesConfig}:removeCatalogAttribute" + } + ] + }, + { + "shortName": "ReplaceCatalogAttribute", + "fullName": "google.cloud.retail.v2.CatalogService.ReplaceCatalogAttribute", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{attributes_config=projects/*/locations/*/catalogs/*/attributesConfig}:replaceCatalogAttribute" + } + ] + }, + { + "shortName": "SetDefaultBranch", + "fullName": "google.cloud.retail.v2.CatalogService.SetDefaultBranch", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{catalog=projects/*/locations/*/catalogs/*}:setDefaultBranch" + } + ] + }, + { + "shortName": "UpdateAttributesConfig", + "fullName": "google.cloud.retail.v2.CatalogService.UpdateAttributesConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{attributes_config.name=projects/*/locations/*/catalogs/*/attributesConfig}" + } + ] + }, + { + "shortName": "UpdateCatalog", + "fullName": "google.cloud.retail.v2.CatalogService.UpdateCatalog", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{catalog.name=projects/*/locations/*/catalogs/*}" + } + ] + }, + { + "shortName": "UpdateCompletionConfig", + "fullName": "google.cloud.retail.v2.CatalogService.UpdateCompletionConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{completion_config.name=projects/*/locations/*/catalogs/*/completionConfig}" + } + ] + } + ] + }, + { + "shortName": "CompletionService", + "fullName": "google.cloud.retail.v2.CompletionService", + "methods": [ + { + "shortName": "CompleteQuery", + "fullName": "google.cloud.retail.v2.CompletionService.CompleteQuery", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{catalog=projects/*/locations/*/catalogs/*}:completeQuery" + } + ] + }, + { + "shortName": "ImportCompletionData", + "fullName": "google.cloud.retail.v2.CompletionService.ImportCompletionData", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*/catalogs/*}/completionData:import" + } + ] + } + ] + }, + { + "shortName": "ControlService", + "fullName": "google.cloud.retail.v2.ControlService", + "methods": [ + { + "shortName": "CreateControl", + "fullName": "google.cloud.retail.v2.ControlService.CreateControl", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*/catalogs/*}/controls" + } + ] + }, + { + "shortName": "DeleteControl", + "fullName": "google.cloud.retail.v2.ControlService.DeleteControl", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/locations/*/catalogs/*/controls/*}" + } + ] + }, + { + "shortName": "GetControl", + "fullName": "google.cloud.retail.v2.ControlService.GetControl", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/locations/*/catalogs/*/controls/*}" + } + ] + }, + { + "shortName": "ListControls", + "fullName": "google.cloud.retail.v2.ControlService.ListControls", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*/catalogs/*}/controls" + } + ] + }, + { + "shortName": "UpdateControl", + "fullName": "google.cloud.retail.v2.ControlService.UpdateControl", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{control.name=projects/*/locations/*/catalogs/*/controls/*}" + } + ] + } + ] + }, + { + "shortName": "ModelService", + "fullName": "google.cloud.retail.v2.ModelService", + "methods": [ + { + "shortName": "CreateModel", + "fullName": "google.cloud.retail.v2.ModelService.CreateModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*/catalogs/*}/models" + } + ] + }, + { + "shortName": "DeleteModel", + "fullName": "google.cloud.retail.v2.ModelService.DeleteModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/locations/*/catalogs/*/models/*}" + } + ] + }, + { + "shortName": "GetModel", + "fullName": "google.cloud.retail.v2.ModelService.GetModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/locations/*/catalogs/*/models/*}" + } + ] + }, + { + "shortName": "ListModels", + "fullName": "google.cloud.retail.v2.ModelService.ListModels", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*/catalogs/*}/models" + } + ] + }, + { + "shortName": "PauseModel", + "fullName": "google.cloud.retail.v2.ModelService.PauseModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=projects/*/locations/*/catalogs/*/models/*}:pause" + } + ] + }, + { + "shortName": "ResumeModel", + "fullName": "google.cloud.retail.v2.ModelService.ResumeModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=projects/*/locations/*/catalogs/*/models/*}:resume" + } + ] + }, + { + "shortName": "TuneModel", + "fullName": "google.cloud.retail.v2.ModelService.TuneModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=projects/*/locations/*/catalogs/*/models/*}:tune" + } + ] + }, + { + "shortName": "UpdateModel", + "fullName": "google.cloud.retail.v2.ModelService.UpdateModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{model.name=projects/*/locations/*/catalogs/*/models/*}" + } + ] + } + ] + }, + { + "shortName": "PredictionService", + "fullName": "google.cloud.retail.v2.PredictionService", + "methods": [ + { + "shortName": "Predict", + "fullName": "google.cloud.retail.v2.PredictionService.Predict", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{placement=projects/*/locations/*/catalogs/*/placements/*}:predict" + }, + { + "httpMethod": "POST", + "path": "/v2/{placement=projects/*/locations/*/catalogs/*/servingConfigs/*}:predict" + } + ] + } + ] + }, + { + "shortName": "ProductService", + "fullName": "google.cloud.retail.v2.ProductService", + "methods": [ + { + "shortName": "AddFulfillmentPlaces", + "fullName": "google.cloud.retail.v2.ProductService.AddFulfillmentPlaces", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{product=projects/*/locations/*/catalogs/*/branches/*/products/**}:addFulfillmentPlaces" + } + ] + }, + { + "shortName": "AddLocalInventories", + "fullName": "google.cloud.retail.v2.ProductService.AddLocalInventories", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{product=projects/*/locations/*/catalogs/*/branches/*/products/**}:addLocalInventories" + } + ] + }, + { + "shortName": "CreateProduct", + "fullName": "google.cloud.retail.v2.ProductService.CreateProduct", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*/catalogs/*/branches/*}/products" + } + ] + }, + { + "shortName": "DeleteProduct", + "fullName": "google.cloud.retail.v2.ProductService.DeleteProduct", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/locations/*/catalogs/*/branches/*/products/**}" + } + ] + }, + { + "shortName": "GetProduct", + "fullName": "google.cloud.retail.v2.ProductService.GetProduct", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/locations/*/catalogs/*/branches/*/products/**}" + } + ] + }, + { + "shortName": "ImportProducts", + "fullName": "google.cloud.retail.v2.ProductService.ImportProducts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*/catalogs/*/branches/*}/products:import" + } + ] + }, + { + "shortName": "ListProducts", + "fullName": "google.cloud.retail.v2.ProductService.ListProducts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*/catalogs/*/branches/*}/products" + } + ] + }, + { + "shortName": "RemoveFulfillmentPlaces", + "fullName": "google.cloud.retail.v2.ProductService.RemoveFulfillmentPlaces", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{product=projects/*/locations/*/catalogs/*/branches/*/products/**}:removeFulfillmentPlaces" + } + ] + }, + { + "shortName": "RemoveLocalInventories", + "fullName": "google.cloud.retail.v2.ProductService.RemoveLocalInventories", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{product=projects/*/locations/*/catalogs/*/branches/*/products/**}:removeLocalInventories" + } + ] + }, + { + "shortName": "SetInventory", + "fullName": "google.cloud.retail.v2.ProductService.SetInventory", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{inventory.name=projects/*/locations/*/catalogs/*/branches/*/products/**}:setInventory" + } + ] + }, + { + "shortName": "UpdateProduct", + "fullName": "google.cloud.retail.v2.ProductService.UpdateProduct", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{product.name=projects/*/locations/*/catalogs/*/branches/*/products/**}" + } + ] + } + ] + }, + { + "shortName": "SearchService", + "fullName": "google.cloud.retail.v2.SearchService", + "methods": [ + { + "shortName": "Search", + "fullName": "google.cloud.retail.v2.SearchService.Search", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{placement=projects/*/locations/*/catalogs/*/placements/*}:search" + }, + { + "httpMethod": "POST", + "path": "/v2/{placement=projects/*/locations/*/catalogs/*/servingConfigs/*}:search" + } + ] + } + ] + }, + { + "shortName": "ServingConfigService", + "fullName": "google.cloud.retail.v2.ServingConfigService", + "methods": [ + { + "shortName": "AddControl", + "fullName": "google.cloud.retail.v2.ServingConfigService.AddControl", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{serving_config=projects/*/locations/*/catalogs/*/servingConfigs/*}:addControl" + } + ] + }, + { + "shortName": "CreateServingConfig", + "fullName": "google.cloud.retail.v2.ServingConfigService.CreateServingConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*/catalogs/*}/servingConfigs" + } + ] + }, + { + "shortName": "DeleteServingConfig", + "fullName": "google.cloud.retail.v2.ServingConfigService.DeleteServingConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/locations/*/catalogs/*/servingConfigs/*}" + } + ] + }, + { + "shortName": "GetServingConfig", + "fullName": "google.cloud.retail.v2.ServingConfigService.GetServingConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/locations/*/catalogs/*/servingConfigs/*}" + } + ] + }, + { + "shortName": "ListServingConfigs", + "fullName": "google.cloud.retail.v2.ServingConfigService.ListServingConfigs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*/catalogs/*}/servingConfigs" + } + ] + }, + { + "shortName": "RemoveControl", + "fullName": "google.cloud.retail.v2.ServingConfigService.RemoveControl", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{serving_config=projects/*/locations/*/catalogs/*/servingConfigs/*}:removeControl" + } + ] + }, + { + "shortName": "UpdateServingConfig", + "fullName": "google.cloud.retail.v2.ServingConfigService.UpdateServingConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{serving_config.name=projects/*/locations/*/catalogs/*/servingConfigs/*}" + } + ] + } + ] + }, + { + "shortName": "UserEventService", + "fullName": "google.cloud.retail.v2.UserEventService", + "methods": [ + { + "shortName": "CollectUserEvent", + "fullName": "google.cloud.retail.v2.UserEventService.CollectUserEvent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*/catalogs/*}/userEvents:collect" + } + ] + }, + { + "shortName": "ImportUserEvents", + "fullName": "google.cloud.retail.v2.UserEventService.ImportUserEvents", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*/catalogs/*}/userEvents:import" + } + ] + }, + { + "shortName": "PurgeUserEvents", + "fullName": "google.cloud.retail.v2.UserEventService.PurgeUserEvents", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*/catalogs/*}/userEvents:purge" + } + ] + }, + { + "shortName": "RejoinUserEvents", + "fullName": "google.cloud.retail.v2.UserEventService.RejoinUserEvents", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*/catalogs/*}/userEvents:rejoin" + } + ] + }, + { + "shortName": "WriteUserEvent", + "fullName": "google.cloud.retail.v2.UserEventService.WriteUserEvent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*/catalogs/*}/userEvents:write" + } + ] + } + ] + } + ], + "configFile": "retail_v2.yaml", + "serviceConfigApiNames": [ + "google.cloud.location.Locations", + "google.cloud.retail.v2.AnalyticsService", + "google.cloud.retail.v2.CatalogService", + "google.cloud.retail.v2.CompletionService", + "google.cloud.retail.v2.ControlService", + "google.cloud.retail.v2.ModelService", + "google.cloud.retail.v2.PredictionService", + "google.cloud.retail.v2.ProductService", + "google.cloud.retail.v2.SearchService", + "google.cloud.retail.v2.ServingConfigService", + "google.cloud.retail.v2.UserEventService", + "google.longrunning.Operations" + ], + "nameInServiceConfig": "retail.googleapis.com" + }, + { + "id": "google.cloud.retail.v2alpha", + "directory": "google/cloud/retail/v2alpha", + "version": "v2alpha", + "majorVersion": "v2", + "hostName": "retail.googleapis.com", + "title": "Retail API", + "description": "Cloud Retail service enables customers to build end-to-end personalized recommendation systems without requiring a high level of expertise in machine learning, recommendation system, or Google Cloud.", + "importDirectories": [ + "google/api", + "google/cloud/retail/v2alpha", + "google/longrunning", + "google/protobuf", + "google/rpc", + "google/type" + ], + "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Retail.V2Alpha": 23 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/retail/apiv2alpha/retailpb;retailpb": 23 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 23 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.retail.v2alpha": 23 + } + }, + "objc_class_prefix": { + "valueCounts": { + "RETAIL": 23 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Retail\\V2alpha": 23 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::Retail::V2alpha": 23 + } + } + }, + "services": [ + { + "shortName": "AnalyticsService", + "fullName": "google.cloud.retail.v2alpha.AnalyticsService", + "methods": [ + { + "shortName": "ExportAnalyticsMetrics", + "fullName": "google.cloud.retail.v2alpha.AnalyticsService.ExportAnalyticsMetrics", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2alpha/{catalog=projects/*/locations/*/catalogs/*}:exportAnalyticsMetrics" + } + ] + } + ] + }, + { + "shortName": "CatalogService", + "fullName": "google.cloud.retail.v2alpha.CatalogService", + "methods": [ + { + "shortName": "AddCatalogAttribute", + "fullName": "google.cloud.retail.v2alpha.CatalogService.AddCatalogAttribute", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2alpha/{attributes_config=projects/*/locations/*/catalogs/*/attributesConfig}:addCatalogAttribute" + } + ] + }, + { + "shortName": "BatchRemoveCatalogAttributes", + "fullName": "google.cloud.retail.v2alpha.CatalogService.BatchRemoveCatalogAttributes", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2alpha/{attributes_config=projects/*/locations/*/catalogs/*/attributesConfig}:batchRemoveCatalogAttributes" + } + ] + }, + { + "shortName": "GetAttributesConfig", + "fullName": "google.cloud.retail.v2alpha.CatalogService.GetAttributesConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2alpha/{name=projects/*/locations/*/catalogs/*/attributesConfig}" + } + ] + }, + { + "shortName": "GetCompletionConfig", + "fullName": "google.cloud.retail.v2alpha.CatalogService.GetCompletionConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2alpha/{name=projects/*/locations/*/catalogs/*/completionConfig}" + } + ] + }, + { + "shortName": "GetDefaultBranch", + "fullName": "google.cloud.retail.v2alpha.CatalogService.GetDefaultBranch", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2alpha/{catalog=projects/*/locations/*/catalogs/*}:getDefaultBranch" + } + ] + }, + { + "shortName": "ListCatalogs", + "fullName": "google.cloud.retail.v2alpha.CatalogService.ListCatalogs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2alpha/{parent=projects/*/locations/*}/catalogs" + } + ] + }, + { + "shortName": "RemoveCatalogAttribute", + "fullName": "google.cloud.retail.v2alpha.CatalogService.RemoveCatalogAttribute", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2alpha/{attributes_config=projects/*/locations/*/catalogs/*/attributesConfig}:removeCatalogAttribute" + } + ] + }, + { + "shortName": "ReplaceCatalogAttribute", + "fullName": "google.cloud.retail.v2alpha.CatalogService.ReplaceCatalogAttribute", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2alpha/{attributes_config=projects/*/locations/*/catalogs/*/attributesConfig}:replaceCatalogAttribute" + } + ] + }, + { + "shortName": "SetDefaultBranch", + "fullName": "google.cloud.retail.v2alpha.CatalogService.SetDefaultBranch", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2alpha/{catalog=projects/*/locations/*/catalogs/*}:setDefaultBranch" + } + ] + }, + { + "shortName": "UpdateAttributesConfig", + "fullName": "google.cloud.retail.v2alpha.CatalogService.UpdateAttributesConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2alpha/{attributes_config.name=projects/*/locations/*/catalogs/*/attributesConfig}" + } + ] + }, + { + "shortName": "UpdateCatalog", + "fullName": "google.cloud.retail.v2alpha.CatalogService.UpdateCatalog", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2alpha/{catalog.name=projects/*/locations/*/catalogs/*}" + } + ] + }, + { + "shortName": "UpdateCompletionConfig", + "fullName": "google.cloud.retail.v2alpha.CatalogService.UpdateCompletionConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2alpha/{completion_config.name=projects/*/locations/*/catalogs/*/completionConfig}" + } + ] + } + ] + }, + { + "shortName": "CompletionService", + "fullName": "google.cloud.retail.v2alpha.CompletionService", + "methods": [ + { + "shortName": "CompleteQuery", + "fullName": "google.cloud.retail.v2alpha.CompletionService.CompleteQuery", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2alpha/{catalog=projects/*/locations/*/catalogs/*}:completeQuery" + } + ] + }, + { + "shortName": "ImportCompletionData", + "fullName": "google.cloud.retail.v2alpha.CompletionService.ImportCompletionData", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2alpha/{parent=projects/*/locations/*/catalogs/*}/completionData:import" + } + ] + } + ] + }, + { + "shortName": "ControlService", + "fullName": "google.cloud.retail.v2alpha.ControlService", + "methods": [ + { + "shortName": "CreateControl", + "fullName": "google.cloud.retail.v2alpha.ControlService.CreateControl", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2alpha/{parent=projects/*/locations/*/catalogs/*}/controls" + } + ] + }, + { + "shortName": "DeleteControl", + "fullName": "google.cloud.retail.v2alpha.ControlService.DeleteControl", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2alpha/{name=projects/*/locations/*/catalogs/*/controls/*}" + } + ] + }, + { + "shortName": "GetControl", + "fullName": "google.cloud.retail.v2alpha.ControlService.GetControl", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2alpha/{name=projects/*/locations/*/catalogs/*/controls/*}" + } + ] + }, + { + "shortName": "ListControls", + "fullName": "google.cloud.retail.v2alpha.ControlService.ListControls", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2alpha/{parent=projects/*/locations/*/catalogs/*}/controls" + } + ] + }, + { + "shortName": "UpdateControl", + "fullName": "google.cloud.retail.v2alpha.ControlService.UpdateControl", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2alpha/{control.name=projects/*/locations/*/catalogs/*/controls/*}" + } + ] + } + ] + }, + { + "shortName": "MerchantCenterAccountLinkService", + "fullName": "google.cloud.retail.v2alpha.MerchantCenterAccountLinkService", + "methods": [ + { + "shortName": "CreateMerchantCenterAccountLink", + "fullName": "google.cloud.retail.v2alpha.MerchantCenterAccountLinkService.CreateMerchantCenterAccountLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2alpha/{parent=projects/*/locations/*/catalogs/*}/merchantCenterAccountLinks" + } + ] + }, + { + "shortName": "DeleteMerchantCenterAccountLink", + "fullName": "google.cloud.retail.v2alpha.MerchantCenterAccountLinkService.DeleteMerchantCenterAccountLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2alpha/{name=projects/*/locations/*/catalogs/*/merchantCenterAccountLinks/*}" + } + ] + }, + { + "shortName": "ListMerchantCenterAccountLinks", + "fullName": "google.cloud.retail.v2alpha.MerchantCenterAccountLinkService.ListMerchantCenterAccountLinks", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2alpha/{parent=projects/*/locations/*/catalogs/*}/merchantCenterAccountLinks" + } + ] + } + ] + }, + { + "shortName": "ModelService", + "fullName": "google.cloud.retail.v2alpha.ModelService", + "methods": [ + { + "shortName": "CreateModel", + "fullName": "google.cloud.retail.v2alpha.ModelService.CreateModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2alpha/{parent=projects/*/locations/*/catalogs/*}/models" + } + ] + }, + { + "shortName": "DeleteModel", + "fullName": "google.cloud.retail.v2alpha.ModelService.DeleteModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2alpha/{name=projects/*/locations/*/catalogs/*/models/*}" + } + ] + }, + { + "shortName": "GetModel", + "fullName": "google.cloud.retail.v2alpha.ModelService.GetModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2alpha/{name=projects/*/locations/*/catalogs/*/models/*}" + } + ] + }, + { + "shortName": "ListModels", + "fullName": "google.cloud.retail.v2alpha.ModelService.ListModels", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2alpha/{parent=projects/*/locations/*/catalogs/*}/models" + } + ] + }, + { + "shortName": "PauseModel", + "fullName": "google.cloud.retail.v2alpha.ModelService.PauseModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2alpha/{name=projects/*/locations/*/catalogs/*/models/*}:pause" + } + ] + }, + { + "shortName": "ResumeModel", + "fullName": "google.cloud.retail.v2alpha.ModelService.ResumeModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2alpha/{name=projects/*/locations/*/catalogs/*/models/*}:resume" + } + ] + }, + { + "shortName": "TuneModel", + "fullName": "google.cloud.retail.v2alpha.ModelService.TuneModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2alpha/{name=projects/*/locations/*/catalogs/*/models/*}:tune" + } + ] + }, + { + "shortName": "UpdateModel", + "fullName": "google.cloud.retail.v2alpha.ModelService.UpdateModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2alpha/{model.name=projects/*/locations/*/catalogs/*/models/*}" + } + ] + } + ] + }, + { + "shortName": "PredictionService", + "fullName": "google.cloud.retail.v2alpha.PredictionService", + "methods": [ + { + "shortName": "Predict", + "fullName": "google.cloud.retail.v2alpha.PredictionService.Predict", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2alpha/{placement=projects/*/locations/*/catalogs/*/placements/*}:predict" + }, + { + "httpMethod": "POST", + "path": "/v2alpha/{placement=projects/*/locations/*/catalogs/*/servingConfigs/*}:predict" + } + ] + } + ] + }, + { + "shortName": "ProductService", + "fullName": "google.cloud.retail.v2alpha.ProductService", + "methods": [ + { + "shortName": "AddFulfillmentPlaces", + "fullName": "google.cloud.retail.v2alpha.ProductService.AddFulfillmentPlaces", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2alpha/{product=projects/*/locations/*/catalogs/*/branches/*/products/**}:addFulfillmentPlaces" + } + ] + }, + { + "shortName": "AddLocalInventories", + "fullName": "google.cloud.retail.v2alpha.ProductService.AddLocalInventories", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2alpha/{product=projects/*/locations/*/catalogs/*/branches/*/products/**}:addLocalInventories" + } + ] + }, + { + "shortName": "CreateProduct", + "fullName": "google.cloud.retail.v2alpha.ProductService.CreateProduct", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2alpha/{parent=projects/*/locations/*/catalogs/*/branches/*}/products" + } + ] + }, + { + "shortName": "DeleteProduct", + "fullName": "google.cloud.retail.v2alpha.ProductService.DeleteProduct", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2alpha/{name=projects/*/locations/*/catalogs/*/branches/*/products/**}" + } + ] + }, + { + "shortName": "GetProduct", + "fullName": "google.cloud.retail.v2alpha.ProductService.GetProduct", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2alpha/{name=projects/*/locations/*/catalogs/*/branches/*/products/**}" + } + ] + }, + { + "shortName": "ImportProducts", + "fullName": "google.cloud.retail.v2alpha.ProductService.ImportProducts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2alpha/{parent=projects/*/locations/*/catalogs/*/branches/*}/products:import" + } + ] + }, + { + "shortName": "ListProducts", + "fullName": "google.cloud.retail.v2alpha.ProductService.ListProducts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2alpha/{parent=projects/*/locations/*/catalogs/*/branches/*}/products" + } + ] + }, + { + "shortName": "PurgeProducts", + "fullName": "google.cloud.retail.v2alpha.ProductService.PurgeProducts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2alpha/{parent=projects/*/locations/*/catalogs/*/branches/*}/products:purge" + } + ] + }, + { + "shortName": "RemoveFulfillmentPlaces", + "fullName": "google.cloud.retail.v2alpha.ProductService.RemoveFulfillmentPlaces", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2alpha/{product=projects/*/locations/*/catalogs/*/branches/*/products/**}:removeFulfillmentPlaces" + } + ] + }, + { + "shortName": "RemoveLocalInventories", + "fullName": "google.cloud.retail.v2alpha.ProductService.RemoveLocalInventories", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2alpha/{product=projects/*/locations/*/catalogs/*/branches/*/products/**}:removeLocalInventories" + } + ] + }, + { + "shortName": "SetInventory", + "fullName": "google.cloud.retail.v2alpha.ProductService.SetInventory", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2alpha/{inventory.name=projects/*/locations/*/catalogs/*/branches/*/products/**}:setInventory" + } + ] + }, + { + "shortName": "UpdateProduct", + "fullName": "google.cloud.retail.v2alpha.ProductService.UpdateProduct", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2alpha/{product.name=projects/*/locations/*/catalogs/*/branches/*/products/**}" + } + ] + } + ] + }, + { + "shortName": "SearchService", + "fullName": "google.cloud.retail.v2alpha.SearchService", + "methods": [ + { + "shortName": "Search", + "fullName": "google.cloud.retail.v2alpha.SearchService.Search", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2alpha/{placement=projects/*/locations/*/catalogs/*/placements/*}:search" + }, + { + "httpMethod": "POST", + "path": "/v2alpha/{placement=projects/*/locations/*/catalogs/*/servingConfigs/*}:search" + } + ] + } + ] + }, + { + "shortName": "ServingConfigService", + "fullName": "google.cloud.retail.v2alpha.ServingConfigService", + "methods": [ + { + "shortName": "AddControl", + "fullName": "google.cloud.retail.v2alpha.ServingConfigService.AddControl", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2alpha/{serving_config=projects/*/locations/*/catalogs/*/servingConfigs/*}:addControl" + } + ] + }, + { + "shortName": "CreateServingConfig", + "fullName": "google.cloud.retail.v2alpha.ServingConfigService.CreateServingConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2alpha/{parent=projects/*/locations/*/catalogs/*}/servingConfigs" + } + ] + }, + { + "shortName": "DeleteServingConfig", + "fullName": "google.cloud.retail.v2alpha.ServingConfigService.DeleteServingConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2alpha/{name=projects/*/locations/*/catalogs/*/servingConfigs/*}" + } + ] + }, + { + "shortName": "GetServingConfig", + "fullName": "google.cloud.retail.v2alpha.ServingConfigService.GetServingConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2alpha/{name=projects/*/locations/*/catalogs/*/servingConfigs/*}" + } + ] + }, + { + "shortName": "ListServingConfigs", + "fullName": "google.cloud.retail.v2alpha.ServingConfigService.ListServingConfigs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2alpha/{parent=projects/*/locations/*/catalogs/*}/servingConfigs" + } + ] + }, + { + "shortName": "RemoveControl", + "fullName": "google.cloud.retail.v2alpha.ServingConfigService.RemoveControl", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2alpha/{serving_config=projects/*/locations/*/catalogs/*/servingConfigs/*}:removeControl" + } + ] + }, + { + "shortName": "UpdateServingConfig", + "fullName": "google.cloud.retail.v2alpha.ServingConfigService.UpdateServingConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2alpha/{serving_config.name=projects/*/locations/*/catalogs/*/servingConfigs/*}" + } + ] + } + ] + }, + { + "shortName": "UserEventService", + "fullName": "google.cloud.retail.v2alpha.UserEventService", + "methods": [ + { + "shortName": "CollectUserEvent", + "fullName": "google.cloud.retail.v2alpha.UserEventService.CollectUserEvent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2alpha/{parent=projects/*/locations/*/catalogs/*}/userEvents:collect" + } + ] + }, + { + "shortName": "ImportUserEvents", + "fullName": "google.cloud.retail.v2alpha.UserEventService.ImportUserEvents", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2alpha/{parent=projects/*/locations/*/catalogs/*}/userEvents:import" + } + ] + }, + { + "shortName": "PurgeUserEvents", + "fullName": "google.cloud.retail.v2alpha.UserEventService.PurgeUserEvents", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2alpha/{parent=projects/*/locations/*/catalogs/*}/userEvents:purge" + } + ] + }, + { + "shortName": "RejoinUserEvents", + "fullName": "google.cloud.retail.v2alpha.UserEventService.RejoinUserEvents", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2alpha/{parent=projects/*/locations/*/catalogs/*}/userEvents:rejoin" + } + ] + }, + { + "shortName": "WriteUserEvent", + "fullName": "google.cloud.retail.v2alpha.UserEventService.WriteUserEvent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2alpha/{parent=projects/*/locations/*/catalogs/*}/userEvents:write" + } + ] + } + ] + } + ], + "configFile": "retail_v2alpha.yaml", + "serviceConfigApiNames": [ + "google.cloud.location.Locations", + "google.cloud.retail.v2alpha.AnalyticsService", + "google.cloud.retail.v2alpha.CatalogService", + "google.cloud.retail.v2alpha.CompletionService", + "google.cloud.retail.v2alpha.ControlService", + "google.cloud.retail.v2alpha.MerchantCenterAccountLinkService", + "google.cloud.retail.v2alpha.ModelService", + "google.cloud.retail.v2alpha.PredictionService", + "google.cloud.retail.v2alpha.ProductService", + "google.cloud.retail.v2alpha.SearchService", + "google.cloud.retail.v2alpha.ServingConfigService", + "google.cloud.retail.v2alpha.UserEventService", + "google.longrunning.Operations" + ], + "nameInServiceConfig": "retail.googleapis.com" + }, + { + "id": "google.cloud.retail.v2beta", + "directory": "google/cloud/retail/v2beta", + "version": "v2beta", + "majorVersion": "v2", + "hostName": "retail.googleapis.com", + "title": "Retail API", + "description": "Cloud Retail service enables customers to build end-to-end personalized recommendation systems without requiring a high level of expertise in machine learning, recommendation system, or Google Cloud.", + "importDirectories": [ + "google/api", + "google/cloud/retail/v2beta", + "google/longrunning", + "google/protobuf", + "google/rpc", + "google/type" + ], + "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Retail.V2Beta": 21 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/retail/apiv2beta/retailpb;retailpb": 21 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 21 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.retail.v2beta": 21 + } + }, + "objc_class_prefix": { + "valueCounts": { + "RETAIL": 21 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Retail\\V2beta": 21 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::Retail::V2beta": 21 + } + } + }, + "services": [ + { + "shortName": "AnalyticsService", + "fullName": "google.cloud.retail.v2beta.AnalyticsService", + "methods": [ + { + "shortName": "ExportAnalyticsMetrics", + "fullName": "google.cloud.retail.v2beta.AnalyticsService.ExportAnalyticsMetrics", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta/{catalog=projects/*/locations/*/catalogs/*}:exportAnalyticsMetrics" + } + ] + } + ] + }, + { + "shortName": "CatalogService", + "fullName": "google.cloud.retail.v2beta.CatalogService", + "methods": [ + { + "shortName": "AddCatalogAttribute", + "fullName": "google.cloud.retail.v2beta.CatalogService.AddCatalogAttribute", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta/{attributes_config=projects/*/locations/*/catalogs/*/attributesConfig}:addCatalogAttribute" + } + ] + }, + { + "shortName": "BatchRemoveCatalogAttributes", + "fullName": "google.cloud.retail.v2beta.CatalogService.BatchRemoveCatalogAttributes", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta/{attributes_config=projects/*/locations/*/catalogs/*/attributesConfig}:batchRemoveCatalogAttributes" + } + ] + }, + { + "shortName": "GetAttributesConfig", + "fullName": "google.cloud.retail.v2beta.CatalogService.GetAttributesConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta/{name=projects/*/locations/*/catalogs/*/attributesConfig}" + } + ] + }, + { + "shortName": "GetCompletionConfig", + "fullName": "google.cloud.retail.v2beta.CatalogService.GetCompletionConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta/{name=projects/*/locations/*/catalogs/*/completionConfig}" + } + ] + }, + { + "shortName": "GetDefaultBranch", + "fullName": "google.cloud.retail.v2beta.CatalogService.GetDefaultBranch", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta/{catalog=projects/*/locations/*/catalogs/*}:getDefaultBranch" + } + ] + }, + { + "shortName": "ListCatalogs", + "fullName": "google.cloud.retail.v2beta.CatalogService.ListCatalogs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta/{parent=projects/*/locations/*}/catalogs" + } + ] + }, + { + "shortName": "RemoveCatalogAttribute", + "fullName": "google.cloud.retail.v2beta.CatalogService.RemoveCatalogAttribute", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta/{attributes_config=projects/*/locations/*/catalogs/*/attributesConfig}:removeCatalogAttribute" + } + ] + }, + { + "shortName": "ReplaceCatalogAttribute", + "fullName": "google.cloud.retail.v2beta.CatalogService.ReplaceCatalogAttribute", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta/{attributes_config=projects/*/locations/*/catalogs/*/attributesConfig}:replaceCatalogAttribute" + } + ] + }, + { + "shortName": "SetDefaultBranch", + "fullName": "google.cloud.retail.v2beta.CatalogService.SetDefaultBranch", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta/{catalog=projects/*/locations/*/catalogs/*}:setDefaultBranch" + } + ] + }, + { + "shortName": "UpdateAttributesConfig", + "fullName": "google.cloud.retail.v2beta.CatalogService.UpdateAttributesConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2beta/{attributes_config.name=projects/*/locations/*/catalogs/*/attributesConfig}" + } + ] + }, + { + "shortName": "UpdateCatalog", + "fullName": "google.cloud.retail.v2beta.CatalogService.UpdateCatalog", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2beta/{catalog.name=projects/*/locations/*/catalogs/*}" + } + ] + }, + { + "shortName": "UpdateCompletionConfig", + "fullName": "google.cloud.retail.v2beta.CatalogService.UpdateCompletionConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2beta/{completion_config.name=projects/*/locations/*/catalogs/*/completionConfig}" + } + ] + } + ] + }, + { + "shortName": "CompletionService", + "fullName": "google.cloud.retail.v2beta.CompletionService", + "methods": [ + { + "shortName": "CompleteQuery", + "fullName": "google.cloud.retail.v2beta.CompletionService.CompleteQuery", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta/{catalog=projects/*/locations/*/catalogs/*}:completeQuery" + } + ] + }, + { + "shortName": "ImportCompletionData", + "fullName": "google.cloud.retail.v2beta.CompletionService.ImportCompletionData", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta/{parent=projects/*/locations/*/catalogs/*}/completionData:import" + } + ] + } + ] + }, + { + "shortName": "ControlService", + "fullName": "google.cloud.retail.v2beta.ControlService", + "methods": [ + { + "shortName": "CreateControl", + "fullName": "google.cloud.retail.v2beta.ControlService.CreateControl", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta/{parent=projects/*/locations/*/catalogs/*}/controls" + } + ] + }, + { + "shortName": "DeleteControl", + "fullName": "google.cloud.retail.v2beta.ControlService.DeleteControl", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2beta/{name=projects/*/locations/*/catalogs/*/controls/*}" + } + ] + }, + { + "shortName": "GetControl", + "fullName": "google.cloud.retail.v2beta.ControlService.GetControl", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta/{name=projects/*/locations/*/catalogs/*/controls/*}" + } + ] + }, + { + "shortName": "ListControls", + "fullName": "google.cloud.retail.v2beta.ControlService.ListControls", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta/{parent=projects/*/locations/*/catalogs/*}/controls" + } + ] + }, + { + "shortName": "UpdateControl", + "fullName": "google.cloud.retail.v2beta.ControlService.UpdateControl", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2beta/{control.name=projects/*/locations/*/catalogs/*/controls/*}" + } + ] + } + ] + }, + { + "shortName": "ModelService", + "fullName": "google.cloud.retail.v2beta.ModelService", + "methods": [ + { + "shortName": "CreateModel", + "fullName": "google.cloud.retail.v2beta.ModelService.CreateModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta/{parent=projects/*/locations/*/catalogs/*}/models" + } + ] + }, + { + "shortName": "DeleteModel", + "fullName": "google.cloud.retail.v2beta.ModelService.DeleteModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2beta/{name=projects/*/locations/*/catalogs/*/models/*}" + } + ] + }, + { + "shortName": "GetModel", + "fullName": "google.cloud.retail.v2beta.ModelService.GetModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", "path": "/v2beta/{name=projects/*/locations/*/catalogs/*/models/*}" } ] }, { - "shortName": "ListModels", - "fullName": "google.cloud.retail.v2beta.ModelService.ListModels", + "shortName": "ListModels", + "fullName": "google.cloud.retail.v2beta.ModelService.ListModels", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta/{parent=projects/*/locations/*/catalogs/*}/models" + } + ] + }, + { + "shortName": "PauseModel", + "fullName": "google.cloud.retail.v2beta.ModelService.PauseModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta/{name=projects/*/locations/*/catalogs/*/models/*}:pause" + } + ] + }, + { + "shortName": "ResumeModel", + "fullName": "google.cloud.retail.v2beta.ModelService.ResumeModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta/{name=projects/*/locations/*/catalogs/*/models/*}:resume" + } + ] + }, + { + "shortName": "TuneModel", + "fullName": "google.cloud.retail.v2beta.ModelService.TuneModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta/{name=projects/*/locations/*/catalogs/*/models/*}:tune" + } + ] + }, + { + "shortName": "UpdateModel", + "fullName": "google.cloud.retail.v2beta.ModelService.UpdateModel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2beta/{model.name=projects/*/locations/*/catalogs/*/models/*}" + } + ] + } + ] + }, + { + "shortName": "PredictionService", + "fullName": "google.cloud.retail.v2beta.PredictionService", + "methods": [ + { + "shortName": "Predict", + "fullName": "google.cloud.retail.v2beta.PredictionService.Predict", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta/{placement=projects/*/locations/*/catalogs/*/placements/*}:predict" + }, + { + "httpMethod": "POST", + "path": "/v2beta/{placement=projects/*/locations/*/catalogs/*/servingConfigs/*}:predict" + } + ] + } + ] + }, + { + "shortName": "ProductService", + "fullName": "google.cloud.retail.v2beta.ProductService", + "methods": [ + { + "shortName": "AddFulfillmentPlaces", + "fullName": "google.cloud.retail.v2beta.ProductService.AddFulfillmentPlaces", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta/{product=projects/*/locations/*/catalogs/*/branches/*/products/**}:addFulfillmentPlaces" + } + ] + }, + { + "shortName": "AddLocalInventories", + "fullName": "google.cloud.retail.v2beta.ProductService.AddLocalInventories", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta/{product=projects/*/locations/*/catalogs/*/branches/*/products/**}:addLocalInventories" + } + ] + }, + { + "shortName": "CreateProduct", + "fullName": "google.cloud.retail.v2beta.ProductService.CreateProduct", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta/{parent=projects/*/locations/*/catalogs/*/branches/*}/products" + } + ] + }, + { + "shortName": "DeleteProduct", + "fullName": "google.cloud.retail.v2beta.ProductService.DeleteProduct", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2beta/{name=projects/*/locations/*/catalogs/*/branches/*/products/**}" + } + ] + }, + { + "shortName": "GetProduct", + "fullName": "google.cloud.retail.v2beta.ProductService.GetProduct", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta/{name=projects/*/locations/*/catalogs/*/branches/*/products/**}" + } + ] + }, + { + "shortName": "ImportProducts", + "fullName": "google.cloud.retail.v2beta.ProductService.ImportProducts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta/{parent=projects/*/locations/*/catalogs/*/branches/*}/products:import" + } + ] + }, + { + "shortName": "ListProducts", + "fullName": "google.cloud.retail.v2beta.ProductService.ListProducts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta/{parent=projects/*/locations/*/catalogs/*/branches/*}/products" + } + ] + }, + { + "shortName": "RemoveFulfillmentPlaces", + "fullName": "google.cloud.retail.v2beta.ProductService.RemoveFulfillmentPlaces", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta/{product=projects/*/locations/*/catalogs/*/branches/*/products/**}:removeFulfillmentPlaces" + } + ] + }, + { + "shortName": "RemoveLocalInventories", + "fullName": "google.cloud.retail.v2beta.ProductService.RemoveLocalInventories", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta/{product=projects/*/locations/*/catalogs/*/branches/*/products/**}:removeLocalInventories" + } + ] + }, + { + "shortName": "SetInventory", + "fullName": "google.cloud.retail.v2beta.ProductService.SetInventory", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta/{inventory.name=projects/*/locations/*/catalogs/*/branches/*/products/**}:setInventory" + } + ] + }, + { + "shortName": "UpdateProduct", + "fullName": "google.cloud.retail.v2beta.ProductService.UpdateProduct", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2beta/{product.name=projects/*/locations/*/catalogs/*/branches/*/products/**}" + } + ] + } + ] + }, + { + "shortName": "SearchService", + "fullName": "google.cloud.retail.v2beta.SearchService", + "methods": [ + { + "shortName": "Search", + "fullName": "google.cloud.retail.v2beta.SearchService.Search", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta/{placement=projects/*/locations/*/catalogs/*/placements/*}:search" + }, + { + "httpMethod": "POST", + "path": "/v2beta/{placement=projects/*/locations/*/catalogs/*/servingConfigs/*}:search" + } + ] + } + ] + }, + { + "shortName": "ServingConfigService", + "fullName": "google.cloud.retail.v2beta.ServingConfigService", + "methods": [ + { + "shortName": "AddControl", + "fullName": "google.cloud.retail.v2beta.ServingConfigService.AddControl", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta/{serving_config=projects/*/locations/*/catalogs/*/servingConfigs/*}:addControl" + } + ] + }, + { + "shortName": "CreateServingConfig", + "fullName": "google.cloud.retail.v2beta.ServingConfigService.CreateServingConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta/{parent=projects/*/locations/*/catalogs/*}/servingConfigs" + } + ] + }, + { + "shortName": "DeleteServingConfig", + "fullName": "google.cloud.retail.v2beta.ServingConfigService.DeleteServingConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2beta/{name=projects/*/locations/*/catalogs/*/servingConfigs/*}" + } + ] + }, + { + "shortName": "GetServingConfig", + "fullName": "google.cloud.retail.v2beta.ServingConfigService.GetServingConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta/{name=projects/*/locations/*/catalogs/*/servingConfigs/*}" + } + ] + }, + { + "shortName": "ListServingConfigs", + "fullName": "google.cloud.retail.v2beta.ServingConfigService.ListServingConfigs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta/{parent=projects/*/locations/*/catalogs/*}/servingConfigs" + } + ] + }, + { + "shortName": "RemoveControl", + "fullName": "google.cloud.retail.v2beta.ServingConfigService.RemoveControl", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta/{serving_config=projects/*/locations/*/catalogs/*/servingConfigs/*}:removeControl" + } + ] + }, + { + "shortName": "UpdateServingConfig", + "fullName": "google.cloud.retail.v2beta.ServingConfigService.UpdateServingConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2beta/{serving_config.name=projects/*/locations/*/catalogs/*/servingConfigs/*}" + } + ] + } + ] + }, + { + "shortName": "UserEventService", + "fullName": "google.cloud.retail.v2beta.UserEventService", + "methods": [ + { + "shortName": "CollectUserEvent", + "fullName": "google.cloud.retail.v2beta.UserEventService.CollectUserEvent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2beta/{parent=projects/*/locations/*/catalogs/*}/userEvents:collect" + } + ] + }, + { + "shortName": "ImportUserEvents", + "fullName": "google.cloud.retail.v2beta.UserEventService.ImportUserEvents", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta/{parent=projects/*/locations/*/catalogs/*}/userEvents:import" + } + ] + }, + { + "shortName": "PurgeUserEvents", + "fullName": "google.cloud.retail.v2beta.UserEventService.PurgeUserEvents", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta/{parent=projects/*/locations/*/catalogs/*}/userEvents:purge" + } + ] + }, + { + "shortName": "RejoinUserEvents", + "fullName": "google.cloud.retail.v2beta.UserEventService.RejoinUserEvents", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta/{parent=projects/*/locations/*/catalogs/*}/userEvents:rejoin" + } + ] + }, + { + "shortName": "WriteUserEvent", + "fullName": "google.cloud.retail.v2beta.UserEventService.WriteUserEvent", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta/{parent=projects/*/locations/*/catalogs/*}/userEvents:write" + } + ] + } + ] + } + ], + "configFile": "retail_v2beta.yaml", + "serviceConfigApiNames": [ + "google.cloud.location.Locations", + "google.cloud.retail.v2beta.AnalyticsService", + "google.cloud.retail.v2beta.CatalogService", + "google.cloud.retail.v2beta.CompletionService", + "google.cloud.retail.v2beta.ControlService", + "google.cloud.retail.v2beta.ModelService", + "google.cloud.retail.v2beta.PredictionService", + "google.cloud.retail.v2beta.ProductService", + "google.cloud.retail.v2beta.SearchService", + "google.cloud.retail.v2beta.ServingConfigService", + "google.cloud.retail.v2beta.UserEventService", + "google.longrunning.Operations" + ], + "nameInServiceConfig": "retail.googleapis.com" + }, + { + "id": "google.cloud.run.v2", + "directory": "google/cloud/run/v2", + "version": "v2", + "majorVersion": "v2", + "hostName": "run.googleapis.com", + "title": "Cloud Run Admin API", + "description": "Deploy and manage user provided container images that scale automatically based on incoming requests. The Cloud Run Admin API v1 follows the Knative Serving API specification, while v2 is aligned with Google Cloud AIP-based API standards, as described in https://google.aip.dev/.", + "importDirectories": [ + "google/api", + "google/cloud/run/v2", + "google/iam/v1", + "google/longrunning", + "google/protobuf", + "google/rpc" + ], + "options": { + "go_package": { + "valueCounts": { + "cloud.google.com/go/run/apiv2/runpb;runpb": 12 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 12 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.run.v2": 12 + } + } + }, + "services": [ + { + "shortName": "Executions", + "fullName": "google.cloud.run.v2.Executions", + "methods": [ + { + "shortName": "CancelExecution", + "fullName": "google.cloud.run.v2.Executions.CancelExecution", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=projects/*/locations/*/jobs/*/executions/*}:cancel" + } + ] + }, + { + "shortName": "DeleteExecution", + "fullName": "google.cloud.run.v2.Executions.DeleteExecution", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/locations/*/jobs/*/executions/*}" + } + ] + }, + { + "shortName": "GetExecution", + "fullName": "google.cloud.run.v2.Executions.GetExecution", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/locations/*/jobs/*/executions/*}" + } + ] + }, + { + "shortName": "ListExecutions", + "fullName": "google.cloud.run.v2.Executions.ListExecutions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*/jobs/*}/executions" + } + ] + } + ] + }, + { + "shortName": "Jobs", + "fullName": "google.cloud.run.v2.Jobs", + "methods": [ + { + "shortName": "CreateJob", + "fullName": "google.cloud.run.v2.Jobs.CreateJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*}/jobs" + } + ] + }, + { + "shortName": "DeleteJob", + "fullName": "google.cloud.run.v2.Jobs.DeleteJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/locations/*/jobs/*}" + } + ] + }, + { + "shortName": "GetIamPolicy", + "fullName": "google.cloud.run.v2.Jobs.GetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{resource=projects/*/locations/*/jobs/*}:getIamPolicy" + } + ] + }, + { + "shortName": "GetJob", + "fullName": "google.cloud.run.v2.Jobs.GetJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/locations/*/jobs/*}" + } + ] + }, + { + "shortName": "ListJobs", + "fullName": "google.cloud.run.v2.Jobs.ListJobs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*}/jobs" + } + ] + }, + { + "shortName": "RunJob", + "fullName": "google.cloud.run.v2.Jobs.RunJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=projects/*/locations/*/jobs/*}:run" + } + ] + }, + { + "shortName": "SetIamPolicy", + "fullName": "google.cloud.run.v2.Jobs.SetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{resource=projects/*/locations/*/jobs/*}:setIamPolicy" + } + ] + }, + { + "shortName": "TestIamPermissions", + "fullName": "google.cloud.run.v2.Jobs.TestIamPermissions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{resource=projects/*/locations/*/jobs/*}:testIamPermissions" + } + ] + }, + { + "shortName": "UpdateJob", + "fullName": "google.cloud.run.v2.Jobs.UpdateJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{job.name=projects/*/locations/*/jobs/*}" + } + ] + } + ] + }, + { + "shortName": "Revisions", + "fullName": "google.cloud.run.v2.Revisions", + "methods": [ + { + "shortName": "DeleteRevision", + "fullName": "google.cloud.run.v2.Revisions.DeleteRevision", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/locations/*/services/*/revisions/*}" + } + ] + }, + { + "shortName": "GetRevision", + "fullName": "google.cloud.run.v2.Revisions.GetRevision", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/locations/*/services/*/revisions/*}" + } + ] + }, + { + "shortName": "ListRevisions", + "fullName": "google.cloud.run.v2.Revisions.ListRevisions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*/services/*}/revisions" + } + ] + } + ] + }, + { + "shortName": "Services", + "fullName": "google.cloud.run.v2.Services", + "methods": [ + { + "shortName": "CreateService", + "fullName": "google.cloud.run.v2.Services.CreateService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*}/services" + } + ] + }, + { + "shortName": "DeleteService", + "fullName": "google.cloud.run.v2.Services.DeleteService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/locations/*/services/*}" + } + ] + }, + { + "shortName": "GetIamPolicy", + "fullName": "google.cloud.run.v2.Services.GetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{resource=projects/*/locations/*/services/*}:getIamPolicy" + } + ] + }, + { + "shortName": "GetService", + "fullName": "google.cloud.run.v2.Services.GetService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/locations/*/services/*}" + } + ] + }, + { + "shortName": "ListServices", + "fullName": "google.cloud.run.v2.Services.ListServices", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*}/services" + } + ] + }, + { + "shortName": "SetIamPolicy", + "fullName": "google.cloud.run.v2.Services.SetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{resource=projects/*/locations/*/services/*}:setIamPolicy" + } + ] + }, + { + "shortName": "TestIamPermissions", + "fullName": "google.cloud.run.v2.Services.TestIamPermissions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{resource=projects/*/locations/*/services/*}:testIamPermissions" + } + ] + }, + { + "shortName": "UpdateService", + "fullName": "google.cloud.run.v2.Services.UpdateService", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{service.name=projects/*/locations/*/services/*}" + } + ] + } + ] + }, + { + "shortName": "Tasks", + "fullName": "google.cloud.run.v2.Tasks", + "methods": [ + { + "shortName": "GetTask", + "fullName": "google.cloud.run.v2.Tasks.GetTask", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/locations/*/jobs/*/executions/*/tasks/*}" + } + ] + }, + { + "shortName": "ListTasks", + "fullName": "google.cloud.run.v2.Tasks.ListTasks", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*/jobs/*/executions/*}/tasks" + } + ] + } + ] + } + ], + "configFile": "run_v2.yaml", + "serviceConfigApiNames": [ + "google.cloud.location.Locations", + "google.cloud.run.v2.Executions", + "google.cloud.run.v2.Jobs", + "google.cloud.run.v2.Revisions", + "google.cloud.run.v2.Services", + "google.cloud.run.v2.Tasks", + "google.longrunning.Operations" + ], + "nameInServiceConfig": "run.googleapis.com" + }, + { + "id": "google.cloud.scheduler.v1", + "directory": "google/cloud/scheduler/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "cloudscheduler.googleapis.com", + "title": "Cloud Scheduler API", + "description": "Creates and manages jobs run on a regular recurring schedule.", + "importDirectories": [ + "google/api", + "google/cloud/scheduler/v1", + "google/protobuf", + "google/rpc" + ], + "options": { + "go_package": { + "valueCounts": { + "cloud.google.com/go/scheduler/apiv1/schedulerpb;schedulerpb": 3 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 3 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.scheduler.v1": 3 + } + }, + "objc_class_prefix": { + "valueCounts": { + "": 2, + "SCHEDULER": 1 + } + } + }, + "services": [ + { + "shortName": "CloudScheduler", + "fullName": "google.cloud.scheduler.v1.CloudScheduler", + "methods": [ + { + "shortName": "CreateJob", + "fullName": "google.cloud.scheduler.v1.CloudScheduler.CreateJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/jobs" + } + ] + }, + { + "shortName": "DeleteJob", + "fullName": "google.cloud.scheduler.v1.CloudScheduler.DeleteJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/jobs/*}" + } + ] + }, + { + "shortName": "GetJob", + "fullName": "google.cloud.scheduler.v1.CloudScheduler.GetJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/jobs/*}" + } + ] + }, + { + "shortName": "ListJobs", + "fullName": "google.cloud.scheduler.v1.CloudScheduler.ListJobs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/jobs" + } + ] + }, + { + "shortName": "PauseJob", + "fullName": "google.cloud.scheduler.v1.CloudScheduler.PauseJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/jobs/*}:pause" + } + ] + }, + { + "shortName": "ResumeJob", + "fullName": "google.cloud.scheduler.v1.CloudScheduler.ResumeJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/jobs/*}:resume" + } + ] + }, + { + "shortName": "RunJob", + "fullName": "google.cloud.scheduler.v1.CloudScheduler.RunJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/jobs/*}:run" + } + ] + }, + { + "shortName": "UpdateJob", + "fullName": "google.cloud.scheduler.v1.CloudScheduler.UpdateJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{job.name=projects/*/locations/*/jobs/*}" + } + ] + } + ] + } + ], + "configFile": "cloudscheduler_v1.yaml", + "serviceConfigApiNames": [ + "google.cloud.location.Locations", + "google.cloud.scheduler.v1.CloudScheduler" + ], + "nameInServiceConfig": "cloudscheduler.googleapis.com" + }, + { + "id": "google.cloud.scheduler.v1beta1", + "directory": "google/cloud/scheduler/v1beta1", + "version": "v1beta1", + "majorVersion": "v1", + "hostName": "cloudscheduler.googleapis.com", + "title": "Cloud Scheduler API", + "description": "Creates and manages jobs run on a regular recurring schedule.", + "importDirectories": [ + "google/api", + "google/cloud/scheduler/v1beta1", + "google/protobuf", + "google/rpc" + ], + "options": { + "go_package": { + "valueCounts": { + "cloud.google.com/go/scheduler/apiv1beta1/schedulerpb;schedulerpb": 3 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 3 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.scheduler.v1beta1": 3 + } + }, + "objc_class_prefix": { + "valueCounts": { + "": 2, + "SCHEDULER": 1 + } + } + }, + "services": [ + { + "shortName": "CloudScheduler", + "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler", + "methods": [ + { + "shortName": "CreateJob", + "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/jobs" + } + ] + }, + { + "shortName": "DeleteJob", + "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler.DeleteJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/jobs/*}" + } + ] + }, + { + "shortName": "GetJob", + "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler.GetJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/jobs/*}" + } + ] + }, + { + "shortName": "ListJobs", + "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/jobs" + } + ] + }, + { + "shortName": "PauseJob", + "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler.PauseJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/jobs/*}:pause" + } + ] + }, + { + "shortName": "ResumeJob", + "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler.ResumeJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/jobs/*}:resume" + } + ] + }, + { + "shortName": "RunJob", + "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler.RunJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/jobs/*}:run" + } + ] + }, + { + "shortName": "UpdateJob", + "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{job.name=projects/*/locations/*/jobs/*}" + } + ] + } + ] + } + ], + "configFile": "cloudscheduler_v1beta1.yaml", + "serviceConfigApiNames": [ + "google.cloud.location.Locations", + "google.cloud.scheduler.v1beta1.CloudScheduler" + ], + "nameInServiceConfig": "cloudscheduler.googleapis.com" + }, + { + "id": "google.cloud.secretmanager.v1", + "directory": "google/cloud/secretmanager/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "secretmanager.googleapis.com", + "title": "Secret Manager API", + "description": "Stores sensitive data such as API keys, passwords, and certificates. Provides convenience while improving security.", + "importDirectories": [ + "google/api", + "google/cloud/secretmanager/v1", + "google/iam/v1", + "google/protobuf" + ], + "options": { + "cc_enable_arenas": { + "valueCounts": { + "true": 2 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.SecretManager.V1": 2 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/secretmanager/apiv1/secretmanagerpb;secretmanagerpb": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.secretmanager.v1": 2 + } + }, + "objc_class_prefix": { + "valueCounts": { + "GSM": 2 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\SecretManager\\V1": 2 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::SecretManager::V1": 2 + } + } + }, + "services": [ + { + "shortName": "SecretManagerService", + "fullName": "google.cloud.secretmanager.v1.SecretManagerService", + "methods": [ + { + "shortName": "AccessSecretVersion", + "fullName": "google.cloud.secretmanager.v1.SecretManagerService.AccessSecretVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/secrets/*/versions/*}:access" + } + ] + }, + { + "shortName": "AddSecretVersion", + "fullName": "google.cloud.secretmanager.v1.SecretManagerService.AddSecretVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/secrets/*}:addVersion" + } + ] + }, + { + "shortName": "CreateSecret", + "fullName": "google.cloud.secretmanager.v1.SecretManagerService.CreateSecret", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}/secrets" + } + ] + }, + { + "shortName": "DeleteSecret", + "fullName": "google.cloud.secretmanager.v1.SecretManagerService.DeleteSecret", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/secrets/*}" + } + ] + }, + { + "shortName": "DestroySecretVersion", + "fullName": "google.cloud.secretmanager.v1.SecretManagerService.DestroySecretVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/secrets/*/versions/*}:destroy" + } + ] + }, + { + "shortName": "DisableSecretVersion", + "fullName": "google.cloud.secretmanager.v1.SecretManagerService.DisableSecretVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/secrets/*/versions/*}:disable" + } + ] + }, + { + "shortName": "EnableSecretVersion", + "fullName": "google.cloud.secretmanager.v1.SecretManagerService.EnableSecretVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/secrets/*/versions/*}:enable" + } + ] + }, + { + "shortName": "GetIamPolicy", + "fullName": "google.cloud.secretmanager.v1.SecretManagerService.GetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{resource=projects/*/secrets/*}:getIamPolicy" + } + ] + }, + { + "shortName": "GetSecret", + "fullName": "google.cloud.secretmanager.v1.SecretManagerService.GetSecret", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/secrets/*}" + } + ] + }, + { + "shortName": "GetSecretVersion", + "fullName": "google.cloud.secretmanager.v1.SecretManagerService.GetSecretVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/secrets/*/versions/*}" + } + ] + }, + { + "shortName": "ListSecretVersions", + "fullName": "google.cloud.secretmanager.v1.SecretManagerService.ListSecretVersions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/secrets/*}/versions" + } + ] + }, + { + "shortName": "ListSecrets", + "fullName": "google.cloud.secretmanager.v1.SecretManagerService.ListSecrets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*}/secrets" + } + ] + }, + { + "shortName": "SetIamPolicy", + "fullName": "google.cloud.secretmanager.v1.SecretManagerService.SetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/secrets/*}:setIamPolicy" + } + ] + }, + { + "shortName": "TestIamPermissions", + "fullName": "google.cloud.secretmanager.v1.SecretManagerService.TestIamPermissions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/secrets/*}:testIamPermissions" + } + ] + }, + { + "shortName": "UpdateSecret", + "fullName": "google.cloud.secretmanager.v1.SecretManagerService.UpdateSecret", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{secret.name=projects/*/secrets/*}" + } + ] + } + ] + } + ], + "configFile": "secretmanager_v1.yaml", + "serviceConfigApiNames": [ + "google.cloud.secretmanager.v1.SecretManagerService" + ], + "nameInServiceConfig": "secretmanager.googleapis.com" + }, + { + "id": "google.cloud.secrets.v1beta1", + "directory": "google/cloud/secrets/v1beta1", + "version": "v1beta1", + "majorVersion": "v1", + "hostName": "secretmanager.googleapis.com", + "title": "Secret Manager API", + "description": "Stores sensitive data such as API keys, passwords, and certificates. Provides convenience while improving security.", + "importDirectories": [ + "google/api", + "google/cloud/secrets/v1beta1", + "google/iam/v1", + "google/protobuf" + ], + "options": { + "cc_enable_arenas": { + "valueCounts": { + "true": 2 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.SecretManager.V1Beta1": 2 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/secrets/apiv1beta1/secretspb;secretspb": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.secretmanager.v1beta1": 2 + } + }, + "objc_class_prefix": { + "valueCounts": { + "GSM": 2 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\SecretManager\\V1beta1": 2 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::SecretManager::V1beta1": 2 + } + } + }, + "services": [ + { + "shortName": "SecretManagerService", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService", + "methods": [ + { + "shortName": "AccessSecretVersion", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.AccessSecretVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/secrets/*/versions/*}:access" + } + ] + }, + { + "shortName": "AddSecretVersion", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.AddSecretVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/secrets/*}:addVersion" + } + ] + }, + { + "shortName": "CreateSecret", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.CreateSecret", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*}/secrets" + } + ] + }, + { + "shortName": "DeleteSecret", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.DeleteSecret", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/secrets/*}" + } + ] + }, + { + "shortName": "DestroySecretVersion", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.DestroySecretVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/secrets/*/versions/*}:destroy" + } + ] + }, + { + "shortName": "DisableSecretVersion", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.DisableSecretVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/secrets/*/versions/*}:disable" + } + ] + }, + { + "shortName": "EnableSecretVersion", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.EnableSecretVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/secrets/*/versions/*}:enable" + } + ] + }, + { + "shortName": "GetIamPolicy", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.GetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{resource=projects/*/secrets/*}:getIamPolicy" + } + ] + }, + { + "shortName": "GetSecret", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.GetSecret", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/secrets/*}" + } + ] + }, + { + "shortName": "GetSecretVersion", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.GetSecretVersion", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/secrets/*/versions/*}" + } + ] + }, + { + "shortName": "ListSecretVersions", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.ListSecretVersions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/secrets/*}/versions" + } + ] + }, + { + "shortName": "ListSecrets", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.ListSecrets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*}/secrets" + } + ] + }, + { + "shortName": "SetIamPolicy", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.SetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{resource=projects/*/secrets/*}:setIamPolicy" + } + ] + }, + { + "shortName": "TestIamPermissions", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.TestIamPermissions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{resource=projects/*/secrets/*}:testIamPermissions" + } + ] + }, + { + "shortName": "UpdateSecret", + "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.UpdateSecret", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{secret.name=projects/*/secrets/*}" + } + ] + } + ] + } + ], + "configFile": "secretmanager_v1beta1.yaml", + "serviceConfigApiNames": [ + "google.cloud.secrets.v1beta1.SecretManagerService" + ], + "nameInServiceConfig": "secretmanager.googleapis.com" + }, + { + "id": "google.cloud.securesourcemanager.v1", + "directory": "google/cloud/securesourcemanager/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "securesourcemanager.googleapis.com", + "title": "Secure Source Manager API", + "description": "Regionally deployed, single-tenant managed source code repository hosted on Google Cloud.", + "importDirectories": [ + "google/api", + "google/iam/v1", + "google/longrunning", + "google/protobuf" + ], + "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.SecureSourceManager.V1": 1 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/securesourcemanager/apiv1/securesourcemanagerpb;securesourcemanagerpb": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.securesourcemanager.v1": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\SecureSourceManager\\V1": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::SecureSourceManager::V1": 1 + } + } + }, + "services": [ + { + "shortName": "SecureSourceManager", + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager", + "methods": [ + { + "shortName": "CreateInstance", + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.CreateInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/instances" + } + ] + }, + { + "shortName": "CreateRepository", + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.CreateRepository", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/repositories" + } + ] + }, + { + "shortName": "DeleteInstance", + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.DeleteInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/instances/*}" + } + ] + }, + { + "shortName": "DeleteRepository", + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.DeleteRepository", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/repositories/*}" + } + ] + }, + { + "shortName": "GetIamPolicyRepo", + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.GetIamPolicyRepo", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{resource=projects/*/locations/*/repositories/*}:getIamPolicy" + } + ] + }, + { + "shortName": "GetInstance", + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.GetInstance", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/instances/*}" + } + ] + }, + { + "shortName": "GetRepository", + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.GetRepository", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/repositories/*}" + } + ] + }, + { + "shortName": "ListInstances", + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.ListInstances", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/instances" + } + ] + }, + { + "shortName": "ListRepositories", + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.ListRepositories", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/repositories" + } + ] + }, + { + "shortName": "SetIamPolicyRepo", + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.SetIamPolicyRepo", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/locations/*/repositories/*}:setIamPolicy" + } + ] + }, + { + "shortName": "TestIamPermissionsRepo", + "fullName": "google.cloud.securesourcemanager.v1.SecureSourceManager.TestIamPermissionsRepo", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/locations/*/repositories/*}:testIamPermissions" + } + ] + } + ] + } + ], + "configFile": "securesourcemanager_v1.yaml", + "serviceConfigApiNames": [ + "google.cloud.location.Locations", + "google.cloud.securesourcemanager.v1.SecureSourceManager", + "google.iam.v1.IAMPolicy", + "google.longrunning.Operations" + ], + "nameInServiceConfig": "securesourcemanager.googleapis.com" + }, + { + "id": "google.cloud.security.privateca.v1", + "directory": "google/cloud/security/privateca/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "privateca.googleapis.com", + "title": "Certificate Authority API", + "description": "The Certificate Authority Service API is a highly-available, scalable service that enables you to simplify and automate the management of private certificate authorities (CAs) while staying in control of your private keys.", + "importDirectories": [ + "google/api", + "google/cloud/security/privateca/v1", + "google/longrunning", + "google/protobuf", + "google/type" + ], + "options": { + "cc_enable_arenas": { + "valueCounts": { + "true": 2 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Security.PrivateCA.V1": 2 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/security/privateca/apiv1/privatecapb;privatecapb": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.security.privateca.v1": 2 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Security\\PrivateCA\\V1": 2 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::Security::PrivateCA::V1": 2 + } + } + }, + "services": [ + { + "shortName": "CertificateAuthorityService", + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService", + "methods": [ + { + "shortName": "ActivateCertificateAuthority", + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.ActivateCertificateAuthority", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/caPools/*/certificateAuthorities/*}:activate" + } + ] + }, + { + "shortName": "CreateCaPool", + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCaPool", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/caPools" + } + ] + }, + { + "shortName": "CreateCertificate", + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCertificate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/caPools/*}/certificates" + } + ] + }, + { + "shortName": "CreateCertificateAuthority", + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCertificateAuthority", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/caPools/*}/certificateAuthorities" + } + ] + }, + { + "shortName": "CreateCertificateTemplate", + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCertificateTemplate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/certificateTemplates" + } + ] + }, + { + "shortName": "DeleteCaPool", + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.DeleteCaPool", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/caPools/*}" + } + ] + }, + { + "shortName": "DeleteCertificateAuthority", + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.DeleteCertificateAuthority", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/caPools/*/certificateAuthorities/*}" + } + ] + }, + { + "shortName": "DeleteCertificateTemplate", + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.DeleteCertificateTemplate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/certificateTemplates/*}" + } + ] + }, + { + "shortName": "DisableCertificateAuthority", + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.DisableCertificateAuthority", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/caPools/*/certificateAuthorities/*}:disable" + } + ] + }, + { + "shortName": "EnableCertificateAuthority", + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.EnableCertificateAuthority", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/caPools/*/certificateAuthorities/*}:enable" + } + ] + }, + { + "shortName": "FetchCaCerts", + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.FetchCaCerts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{ca_pool=projects/*/locations/*/caPools/*}:fetchCaCerts" + } + ] + }, + { + "shortName": "FetchCertificateAuthorityCsr", + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.FetchCertificateAuthorityCsr", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/caPools/*/certificateAuthorities/*}:fetch" + } + ] + }, + { + "shortName": "GetCaPool", + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.GetCaPool", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/caPools/*}" + } + ] + }, + { + "shortName": "GetCertificate", + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.GetCertificate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/caPools/*/certificates/*}" + } + ] + }, + { + "shortName": "GetCertificateAuthority", + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.GetCertificateAuthority", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/caPools/*/certificateAuthorities/*}" + } + ] + }, + { + "shortName": "GetCertificateRevocationList", + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.GetCertificateRevocationList", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/caPools/*/certificateAuthorities/*/certificateRevocationLists/*}" + } + ] + }, + { + "shortName": "GetCertificateTemplate", + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.GetCertificateTemplate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/certificateTemplates/*}" + } + ] + }, + { + "shortName": "ListCaPools", + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.ListCaPools", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/caPools" + } + ] + }, + { + "shortName": "ListCertificateAuthorities", + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificateAuthorities", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/caPools/*}/certificateAuthorities" + } + ] + }, + { + "shortName": "ListCertificateRevocationLists", + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificateRevocationLists", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/caPools/*/certificateAuthorities/*}/certificateRevocationLists" + } + ] + }, + { + "shortName": "ListCertificateTemplates", + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificateTemplates", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/certificateTemplates" + } + ] + }, + { + "shortName": "ListCertificates", + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificates", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/caPools/*}/certificates" + } + ] + }, + { + "shortName": "RevokeCertificate", + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.RevokeCertificate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/caPools/*/certificates/*}:revoke" + } + ] + }, + { + "shortName": "UndeleteCertificateAuthority", + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.UndeleteCertificateAuthority", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/caPools/*/certificateAuthorities/*}:undelete" + } + ] + }, + { + "shortName": "UpdateCaPool", + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCaPool", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{ca_pool.name=projects/*/locations/*/caPools/*}" + } + ] + }, + { + "shortName": "UpdateCertificate", + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCertificate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{certificate.name=projects/*/locations/*/caPools/*/certificates/*}" + } + ] + }, + { + "shortName": "UpdateCertificateAuthority", + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCertificateAuthority", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{certificate_authority.name=projects/*/locations/*/caPools/*/certificateAuthorities/*}" + } + ] + }, + { + "shortName": "UpdateCertificateRevocationList", + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCertificateRevocationList", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{certificate_revocation_list.name=projects/*/locations/*/caPools/*/certificateAuthorities/*/certificateRevocationLists/*}" + } + ] + }, + { + "shortName": "UpdateCertificateTemplate", + "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCertificateTemplate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{certificate_template.name=projects/*/locations/*/certificateTemplates/*}" + } + ] + } + ] + } + ], + "configFile": "privateca_v1.yaml", + "serviceConfigApiNames": [ + "google.cloud.location.Locations", + "google.cloud.security.privateca.v1.CertificateAuthorityService", + "google.iam.v1.IAMPolicy", + "google.longrunning.Operations" + ], + "nameInServiceConfig": "privateca.googleapis.com" + }, + { + "id": "google.cloud.security.privateca.v1beta1", + "directory": "google/cloud/security/privateca/v1beta1", + "version": "v1beta1", + "majorVersion": "v1", + "hostName": "privateca.googleapis.com", + "title": "Certificate Authority API", + "description": "", + "importDirectories": [ + "google/api", + "google/cloud/security/privateca/v1beta1", + "google/longrunning", + "google/protobuf" + ], + "options": { + "cc_enable_arenas": { + "valueCounts": { + "true": 2 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Security.PrivateCA.V1Beta1": 2 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/security/privateca/apiv1beta1/privatecapb;privatecapb": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.security.privateca.v1beta1": 2 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Security\\PrivateCA\\V1beta1": 2 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::Security::PrivateCA::V1beta1": 2 + } + } + }, + "services": [ + { + "shortName": "CertificateAuthorityService", + "fullName": "google.cloud.security.privateca.v1beta1.CertificateAuthorityService", + "methods": [ + { + "shortName": "ActivateCertificateAuthority", + "fullName": "google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ActivateCertificateAuthority", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*}:activate" + } + ] + }, + { + "shortName": "CreateCertificate", + "fullName": "google.cloud.security.privateca.v1beta1.CertificateAuthorityService.CreateCertificate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*/certificateAuthorities/*}/certificates" + } + ] + }, + { + "shortName": "CreateCertificateAuthority", + "fullName": "google.cloud.security.privateca.v1beta1.CertificateAuthorityService.CreateCertificateAuthority", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/certificateAuthorities" + } + ] + }, + { + "shortName": "DisableCertificateAuthority", + "fullName": "google.cloud.security.privateca.v1beta1.CertificateAuthorityService.DisableCertificateAuthority", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*}:disable" + } + ] + }, + { + "shortName": "EnableCertificateAuthority", + "fullName": "google.cloud.security.privateca.v1beta1.CertificateAuthorityService.EnableCertificateAuthority", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*}:enable" + } + ] + }, + { + "shortName": "FetchCertificateAuthorityCsr", + "fullName": "google.cloud.security.privateca.v1beta1.CertificateAuthorityService.FetchCertificateAuthorityCsr", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*}:fetch" + } + ] + }, + { + "shortName": "GetCertificate", + "fullName": "google.cloud.security.privateca.v1beta1.CertificateAuthorityService.GetCertificate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*/certificates/*}" + } + ] + }, + { + "shortName": "GetCertificateAuthority", + "fullName": "google.cloud.security.privateca.v1beta1.CertificateAuthorityService.GetCertificateAuthority", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*}" + } + ] + }, + { + "shortName": "GetCertificateRevocationList", + "fullName": "google.cloud.security.privateca.v1beta1.CertificateAuthorityService.GetCertificateRevocationList", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*/certificateRevocationLists/*}" + } + ] + }, + { + "shortName": "GetReusableConfig", + "fullName": "google.cloud.security.privateca.v1beta1.CertificateAuthorityService.GetReusableConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/reusableConfigs/*}" + } + ] + }, + { + "shortName": "ListCertificateAuthorities", + "fullName": "google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ListCertificateAuthorities", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/certificateAuthorities" + } + ] + }, + { + "shortName": "ListCertificateRevocationLists", + "fullName": "google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ListCertificateRevocationLists", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*/certificateAuthorities/*}/certificateRevocationLists" + } + ] + }, + { + "shortName": "ListCertificates", + "fullName": "google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ListCertificates", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2beta/{parent=projects/*/locations/*/catalogs/*}/models" + "path": "/v1beta1/{parent=projects/*/locations/*/certificateAuthorities/*}/certificates" } ] }, { - "shortName": "PauseModel", - "fullName": "google.cloud.retail.v2beta.ModelService.PauseModel", + "shortName": "ListReusableConfigs", + "fullName": "google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ListReusableConfigs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{parent=projects/*/locations/*}/reusableConfigs" + } + ] + }, + { + "shortName": "RestoreCertificateAuthority", + "fullName": "google.cloud.security.privateca.v1beta1.CertificateAuthorityService.RestoreCertificateAuthority", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2beta/{name=projects/*/locations/*/catalogs/*/models/*}:pause" + "path": "/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*}:restore" } ] }, { - "shortName": "ResumeModel", - "fullName": "google.cloud.retail.v2beta.ModelService.ResumeModel", + "shortName": "RevokeCertificate", + "fullName": "google.cloud.security.privateca.v1beta1.CertificateAuthorityService.RevokeCertificate", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2beta/{name=projects/*/locations/*/catalogs/*/models/*}:resume" + "path": "/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*/certificates/*}:revoke" } ] }, { - "shortName": "TuneModel", - "fullName": "google.cloud.retail.v2beta.ModelService.TuneModel", + "shortName": "ScheduleDeleteCertificateAuthority", + "fullName": "google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ScheduleDeleteCertificateAuthority", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2beta/{name=projects/*/locations/*/catalogs/*/models/*}:tune" + "path": "/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*}:scheduleDelete" } ] }, { - "shortName": "UpdateModel", - "fullName": "google.cloud.retail.v2beta.ModelService.UpdateModel", + "shortName": "UpdateCertificate", + "fullName": "google.cloud.security.privateca.v1beta1.CertificateAuthorityService.UpdateCertificate", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v2beta/{model.name=projects/*/locations/*/catalogs/*/models/*}" + "path": "/v1beta1/{certificate.name=projects/*/locations/*/certificateAuthorities/*/certificates/*}" + } + ] + }, + { + "shortName": "UpdateCertificateAuthority", + "fullName": "google.cloud.security.privateca.v1beta1.CertificateAuthorityService.UpdateCertificateAuthority", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{certificate_authority.name=projects/*/locations/*/certificateAuthorities/*}" + } + ] + }, + { + "shortName": "UpdateCertificateRevocationList", + "fullName": "google.cloud.security.privateca.v1beta1.CertificateAuthorityService.UpdateCertificateRevocationList", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{certificate_revocation_list.name=projects/*/locations/*/certificateAuthorities/*/certificateRevocationLists/*}" } ] } ] + } + ], + "configFile": "privateca_v1beta1.yaml", + "serviceConfigApiNames": [ + "google.cloud.security.privateca.v1beta1.CertificateAuthorityService" + ], + "nameInServiceConfig": "privateca.googleapis.com" + }, + { + "id": "google.cloud.security.publicca.v1beta1", + "directory": "google/cloud/security/publicca/v1beta1", + "version": "v1beta1", + "majorVersion": "v1", + "hostName": "publicca.googleapis.com", + "title": "Public Certificate Authority API", + "description": "The Public Certificate Authority API may be used to create and manage ACME external account binding keys associated with Google Trust Services' publicly trusted certificate authority.", + "importDirectories": [ + "google/api", + "google/cloud/security/publicca/v1beta1" + ], + "options": { + "cc_enable_arenas": { + "valueCounts": { + "true": 2 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Security.PublicCA.V1Beta1": 2 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/security/publicca/apiv1beta1/publiccapb;publiccapb": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.security.publicca.v1beta1": 2 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Security\\PublicCA\\V1beta1": 2 + } }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::Security::PublicCA::V1beta1": 2 + } + } + }, + "services": [ { - "shortName": "PredictionService", - "fullName": "google.cloud.retail.v2beta.PredictionService", + "shortName": "PublicCertificateAuthorityService", + "fullName": "google.cloud.security.publicca.v1beta1.PublicCertificateAuthorityService", "methods": [ { - "shortName": "Predict", - "fullName": "google.cloud.retail.v2beta.PredictionService.Predict", + "shortName": "CreateExternalAccountKey", + "fullName": "google.cloud.security.publicca.v1beta1.PublicCertificateAuthorityService.CreateExternalAccountKey", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2beta/{placement=projects/*/locations/*/catalogs/*/placements/*}:predict" - }, - { - "httpMethod": "POST", - "path": "/v2beta/{placement=projects/*/locations/*/catalogs/*/servingConfigs/*}:predict" + "path": "/v1beta1/{parent=projects/*/locations/*}/externalAccountKeys" } ] } ] + } + ], + "configFile": "publicca_v1beta1.yaml", + "serviceConfigApiNames": [ + "google.cloud.security.publicca.v1beta1.PublicCertificateAuthorityService" + ], + "nameInServiceConfig": "publicca.googleapis.com" + }, + { + "id": "google.cloud.securitycenter.settings.v1beta1", + "directory": "google/cloud/securitycenter/settings/v1beta1", + "version": "v1beta1", + "majorVersion": "v1", + "hostName": "securitycenter.googleapis.com", + "title": "Cloud Security Command Center API", + "description": "Cloud Security Command Center Settings API provides functionality to retrieve and update configurations.", + "importDirectories": [ + "google/api", + "google/cloud/securitycenter/settings/v1beta1", + "google/protobuf" + ], + "options": { + "cc_enable_arenas": { + "valueCounts": { + "true": 6 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.SecurityCenter.Settings.V1Beta1": 6 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/securitycenter/settings/apiv1beta1/settingspb;settingspb": 6 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 6 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.securitycenter.settings.v1beta1": 6 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\SecurityCenter\\Settings\\V1beta1": 6 + } }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::SecurityCenter::Settings::V1beta1": 6 + } + } + }, + "services": [ { - "shortName": "ProductService", - "fullName": "google.cloud.retail.v2beta.ProductService", + "shortName": "SecurityCenterSettingsService", + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService", "methods": [ { - "shortName": "AddFulfillmentPlaces", - "fullName": "google.cloud.retail.v2beta.ProductService.AddFulfillmentPlaces", + "shortName": "BatchCalculateEffectiveSettings", + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.BatchCalculateEffectiveSettings", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2beta/{product=projects/*/locations/*/catalogs/*/branches/*/products/**}:addFulfillmentPlaces" + "path": "/settings/v1beta1/{parent=organizations/*}/effectiveSettings:batchCalculate" } ] }, { - "shortName": "AddLocalInventories", - "fullName": "google.cloud.retail.v2beta.ProductService.AddLocalInventories", + "shortName": "BatchGetSettings", + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.BatchGetSettings", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2beta/{product=projects/*/locations/*/catalogs/*/branches/*/products/**}:addLocalInventories" + "httpMethod": "GET", + "path": "/settings/v1beta1/{parent=organizations/*}/settings:batchGet" } ] }, { - "shortName": "CreateProduct", - "fullName": "google.cloud.retail.v2beta.ProductService.CreateProduct", + "shortName": "CalculateEffectiveComponentSettings", + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.CalculateEffectiveComponentSettings", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2beta/{parent=projects/*/locations/*/catalogs/*/branches/*}/products" + "httpMethod": "GET", + "path": "/settings/v1beta1/{name=organizations/*/components/*/effectiveSettings}:calculate" + }, + { + "httpMethod": "GET", + "path": "/settings/v1beta1/{name=folders/*/components/*/effectiveSettings}:calculate" + }, + { + "httpMethod": "GET", + "path": "/settings/v1beta1/{name=projects/*/components/*/effectiveSettings}:calculate" + }, + { + "httpMethod": "GET", + "path": "/settings/v1beta1/{name=projects/*/locations/*/clusters/*/components/*/effectiveSettings}:calculate" + }, + { + "httpMethod": "GET", + "path": "/settings/v1beta1/{name=projects/*/regions/*/clusters/*/components/*/effectiveSettings}:calculate" + }, + { + "httpMethod": "GET", + "path": "/settings/v1beta1/{name=projects/*/zones/*/clusters/*/components/*/effectiveSettings}:calculate" } ] }, { - "shortName": "DeleteProduct", - "fullName": "google.cloud.retail.v2beta.ProductService.DeleteProduct", + "shortName": "CalculateEffectiveSettings", + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.CalculateEffectiveSettings", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v2beta/{name=projects/*/locations/*/catalogs/*/branches/*/products/**}" + "httpMethod": "GET", + "path": "/settings/v1beta1/{name=organizations/*/effectiveSettings}:calculate" + }, + { + "httpMethod": "GET", + "path": "/settings/v1beta1/{name=folders/*/effectiveSettings}:calculate" + }, + { + "httpMethod": "GET", + "path": "/settings/v1beta1/{name=projects/*/effectiveSettings}:calculate" + }, + { + "httpMethod": "GET", + "path": "/settings/v1beta1/{name=projects/*/locations/*/clusters/*/effectiveSettings}:calculate" + }, + { + "httpMethod": "GET", + "path": "/settings/v1beta1/{name=projects/*/regions/*/clusters/*/effectiveSettings}:calculate" + }, + { + "httpMethod": "GET", + "path": "/settings/v1beta1/{name=projects/*/zones/*/clusters/*/effectiveSettings}:calculate" } ] }, { - "shortName": "GetProduct", - "fullName": "google.cloud.retail.v2beta.ProductService.GetProduct", + "shortName": "GetComponentSettings", + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.GetComponentSettings", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2beta/{name=projects/*/locations/*/catalogs/*/branches/*/products/**}" + "path": "/settings/v1beta1/{name=organizations/*/components/*/settings}" + }, + { + "httpMethod": "GET", + "path": "/settings/v1beta1/{name=folders/*/components/*/settings}" + }, + { + "httpMethod": "GET", + "path": "/settings/v1beta1/{name=projects/*/components/*/settings}" + }, + { + "httpMethod": "GET", + "path": "/settings/v1beta1/{name=projects/*/locations/*/clusters/*/components/*/settings}" + }, + { + "httpMethod": "GET", + "path": "/settings/v1beta1/{name=projects/*/regions/*/clusters/*/components/*/settings}" + }, + { + "httpMethod": "GET", + "path": "/settings/v1beta1/{name=projects/*/zones/*/clusters/*/components/*/settings}" } ] }, { - "shortName": "ImportProducts", - "fullName": "google.cloud.retail.v2beta.ProductService.ImportProducts", + "shortName": "GetServiceAccount", + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.GetServiceAccount", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2beta/{parent=projects/*/locations/*/catalogs/*/branches/*}/products:import" + "httpMethod": "GET", + "path": "/settings/v1beta1/{name=organizations/*/serviceAccount}" } ] }, { - "shortName": "ListProducts", - "fullName": "google.cloud.retail.v2beta.ProductService.ListProducts", + "shortName": "GetSettings", + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.GetSettings", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2beta/{parent=projects/*/locations/*/catalogs/*/branches/*}/products" + "path": "/settings/v1beta1/{name=organizations/*/settings}" + }, + { + "httpMethod": "GET", + "path": "/settings/v1beta1/{name=folders/*/settings}" + }, + { + "httpMethod": "GET", + "path": "/settings/v1beta1/{name=projects/*/settings}" + }, + { + "httpMethod": "GET", + "path": "/settings/v1beta1/{name=projects/*/locations/*/clusters/*/settings}" + }, + { + "httpMethod": "GET", + "path": "/settings/v1beta1/{name=projects/*/regions/*/clusters/*/settings}" + }, + { + "httpMethod": "GET", + "path": "/settings/v1beta1/{name=projects/*/zones/*/clusters/*/settings}" } ] }, { - "shortName": "RemoveFulfillmentPlaces", - "fullName": "google.cloud.retail.v2beta.ProductService.RemoveFulfillmentPlaces", + "shortName": "ListComponents", + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.ListComponents", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2beta/{product=projects/*/locations/*/catalogs/*/branches/*/products/**}:removeFulfillmentPlaces" + "httpMethod": "GET", + "path": "/settings/v1beta1/{parent=organizations/*}/components" } ] }, { - "shortName": "RemoveLocalInventories", - "fullName": "google.cloud.retail.v2beta.ProductService.RemoveLocalInventories", + "shortName": "ListDetectors", + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.ListDetectors", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/settings/v1beta1/{parent=organizations/*}/detectors" + } + ] + }, + { + "shortName": "ResetComponentSettings", + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.ResetComponentSettings", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2beta/{product=projects/*/locations/*/catalogs/*/branches/*/products/**}:removeLocalInventories" + "path": "/settings/v1beta1/{name=organizations/*/components/*/settings}:reset" + }, + { + "httpMethod": "POST", + "path": "/settings/v1beta1/{name=folders/*/components/*/settings}:reset" + }, + { + "httpMethod": "POST", + "path": "/settings/v1beta1/{name=projects/*/components/*/settings}:reset" + }, + { + "httpMethod": "POST", + "path": "/settings/v1beta1/{name=projects/*/locations/*/clusters/*/components/*/settings}:reset" + }, + { + "httpMethod": "POST", + "path": "/settings/v1beta1/{name=projects/*/regions/*/clusters/*/components/*/settings}:reset" + }, + { + "httpMethod": "POST", + "path": "/settings/v1beta1/{name=projects/*/zones/*/clusters/*/components/*/settings}:reset" } ] }, { - "shortName": "SetInventory", - "fullName": "google.cloud.retail.v2beta.ProductService.SetInventory", + "shortName": "ResetSettings", + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.ResetSettings", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2beta/{inventory.name=projects/*/locations/*/catalogs/*/branches/*/products/**}:setInventory" + "path": "/settings/v1beta1/{name=organizations/*/settings}:reset" + }, + { + "httpMethod": "POST", + "path": "/settings/v1beta1/{name=folders/*/settings}:reset" + }, + { + "httpMethod": "POST", + "path": "/settings/v1beta1/{name=projects/*/settings}:reset" + }, + { + "httpMethod": "POST", + "path": "/settings/v1beta1/{name=projects/*/locations/*/clusters/*/settings}:reset" + }, + { + "httpMethod": "POST", + "path": "/settings/v1beta1/{name=projects/*/regions/*/clusters/*/settings}:reset" + }, + { + "httpMethod": "POST", + "path": "/settings/v1beta1/{name=projects/*/zones/*/clusters/*/settings}:reset" } ] }, { - "shortName": "UpdateProduct", - "fullName": "google.cloud.retail.v2beta.ProductService.UpdateProduct", + "shortName": "UpdateComponentSettings", + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.UpdateComponentSettings", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v2beta/{product.name=projects/*/locations/*/catalogs/*/branches/*/products/**}" + "path": "/settings/v1beta1/{component_settings.name=organizations/*/components/*/settings}" + }, + { + "httpMethod": "PATCH", + "path": "/settings/v1beta1/{component_settings.name=folders/*/components/*/settings}" + }, + { + "httpMethod": "PATCH", + "path": "/settings/v1beta1/{component_settings.name=projects/*/components/*/settings}" + }, + { + "httpMethod": "PATCH", + "path": "/settings/v1beta1/{component_settings.name=projects/*/locations/*/clusters/*/components/*/settings}" + }, + { + "httpMethod": "PATCH", + "path": "/settings/v1beta1/{component_settings.name=projects/*/regions/*/clusters/*/components/*/settings}" + }, + { + "httpMethod": "PATCH", + "path": "/settings/v1beta1/{component_settings.name=projects/*/zones/*/clusters/*/components/*/settings}" + } + ] + }, + { + "shortName": "UpdateSettings", + "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.UpdateSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/settings/v1beta1/{settings.name=organizations/*/settings}" + }, + { + "httpMethod": "PATCH", + "path": "/settings/v1beta1/{settings.name=folders/*/settings}" + }, + { + "httpMethod": "PATCH", + "path": "/settings/v1beta1/{settings.name=projects/*/settings}" + }, + { + "httpMethod": "PATCH", + "path": "/settings/v1beta1/{settings.name=projects/*/locations/*/clusters/*/settings}" + }, + { + "httpMethod": "PATCH", + "path": "/settings/v1beta1/{settings.name=projects/*/regions/*/clusters/*/settings}" + }, + { + "httpMethod": "PATCH", + "path": "/settings/v1beta1/{settings.name=projects/*/zones/*/clusters/*/settings}" } ] } ] + } + ], + "configFile": "securitycenter_settings.yaml", + "serviceConfigApiNames": [ + "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService" + ], + "nameInServiceConfig": "securitycenter.googleapis.com" + }, + { + "id": "google.cloud.securitycenter.v1", + "directory": "google/cloud/securitycenter/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "securitycenter.googleapis.com", + "title": "Security Command Center API", + "description": "Security Command Center API provides access to temporal views of assets and findings within an organization.", + "importDirectories": [ + "google/api", + "google/cloud/securitycenter/v1", + "google/iam/v1", + "google/longrunning", + "google/protobuf", + "google/rpc", + "google/type" + ], + "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.SecurityCenter.V1": 36 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/securitycenter/apiv1/securitycenterpb;securitycenterpb": 36 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 36 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.securitycenter.v1": 36 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\SecurityCenter\\V1": 36 + } }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::SecurityCenter::V1": 36 + } + } + }, + "services": [ { - "shortName": "SearchService", - "fullName": "google.cloud.retail.v2beta.SearchService", + "shortName": "SecurityCenter", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter", "methods": [ { - "shortName": "Search", - "fullName": "google.cloud.retail.v2beta.SearchService.Search", + "shortName": "BulkMuteFindings", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.BulkMuteFindings", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2beta/{placement=projects/*/locations/*/catalogs/*/placements/*}:search" + "path": "/v1/{parent=organizations/*}/findings:bulkMute" }, { "httpMethod": "POST", - "path": "/v2beta/{placement=projects/*/locations/*/catalogs/*/servingConfigs/*}:search" - } - ] - } - ] - }, - { - "shortName": "ServingConfigService", - "fullName": "google.cloud.retail.v2beta.ServingConfigService", - "methods": [ - { - "shortName": "AddControl", - "fullName": "google.cloud.retail.v2beta.ServingConfigService.AddControl", - "mode": "UNARY", - "bindings": [ + "path": "/v1/{parent=folders/*}/findings:bulkMute" + }, { "httpMethod": "POST", - "path": "/v2beta/{serving_config=projects/*/locations/*/catalogs/*/servingConfigs/*}:addControl" + "path": "/v1/{parent=projects/*}/findings:bulkMute" } ] }, { - "shortName": "CreateServingConfig", - "fullName": "google.cloud.retail.v2beta.ServingConfigService.CreateServingConfig", + "shortName": "CreateBigQueryExport", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.CreateBigQueryExport", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2beta/{parent=projects/*/locations/*/catalogs/*}/servingConfigs" - } - ] - }, - { - "shortName": "DeleteServingConfig", - "fullName": "google.cloud.retail.v2beta.ServingConfigService.DeleteServingConfig", - "mode": "UNARY", - "bindings": [ + "path": "/v1/{parent=organizations/*}/bigQueryExports" + }, { - "httpMethod": "DELETE", - "path": "/v2beta/{name=projects/*/locations/*/catalogs/*/servingConfigs/*}" + "httpMethod": "POST", + "path": "/v1/{parent=folders/*}/bigQueryExports" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}/bigQueryExports" } ] }, { - "shortName": "GetServingConfig", - "fullName": "google.cloud.retail.v2beta.ServingConfigService.GetServingConfig", + "shortName": "CreateFinding", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.CreateFinding", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v2beta/{name=projects/*/locations/*/catalogs/*/servingConfigs/*}" + "httpMethod": "POST", + "path": "/v1/{parent=organizations/*/sources/*}/findings" } ] }, { - "shortName": "ListServingConfigs", - "fullName": "google.cloud.retail.v2beta.ServingConfigService.ListServingConfigs", + "shortName": "CreateMuteConfig", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.CreateMuteConfig", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v2beta/{parent=projects/*/locations/*/catalogs/*}/servingConfigs" + "httpMethod": "POST", + "path": "/v1/{parent=organizations/*}/muteConfigs" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=folders/*}/muteConfigs" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}/muteConfigs" } ] }, { - "shortName": "RemoveControl", - "fullName": "google.cloud.retail.v2beta.ServingConfigService.RemoveControl", + "shortName": "CreateNotificationConfig", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.CreateNotificationConfig", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2beta/{serving_config=projects/*/locations/*/catalogs/*/servingConfigs/*}:removeControl" + "path": "/v1/{parent=organizations/*}/notificationConfigs" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=folders/*}/notificationConfigs" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}/notificationConfigs" } ] }, { - "shortName": "UpdateServingConfig", - "fullName": "google.cloud.retail.v2beta.ServingConfigService.UpdateServingConfig", + "shortName": "CreateSecurityHealthAnalyticsCustomModule", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.CreateSecurityHealthAnalyticsCustomModule", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v2beta/{serving_config.name=projects/*/locations/*/catalogs/*/servingConfigs/*}" - } - ] - } - ] - }, - { - "shortName": "UserEventService", - "fullName": "google.cloud.retail.v2beta.UserEventService", - "methods": [ - { - "shortName": "CollectUserEvent", - "fullName": "google.cloud.retail.v2beta.UserEventService.CollectUserEvent", - "mode": "UNARY", - "bindings": [ + "httpMethod": "POST", + "path": "/v1/{parent=organizations/*/securityHealthAnalyticsSettings}/customModules" + }, { - "httpMethod": "GET", - "path": "/v2beta/{parent=projects/*/locations/*/catalogs/*}/userEvents:collect" + "httpMethod": "POST", + "path": "/v1/{parent=folders/*/securityHealthAnalyticsSettings}/customModules" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/securityHealthAnalyticsSettings}/customModules" } ] }, { - "shortName": "ImportUserEvents", - "fullName": "google.cloud.retail.v2beta.UserEventService.ImportUserEvents", + "shortName": "CreateSource", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.CreateSource", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2beta/{parent=projects/*/locations/*/catalogs/*}/userEvents:import" + "path": "/v1/{parent=organizations/*}/sources" } ] }, { - "shortName": "PurgeUserEvents", - "fullName": "google.cloud.retail.v2beta.UserEventService.PurgeUserEvents", + "shortName": "DeleteBigQueryExport", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.DeleteBigQueryExport", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2beta/{parent=projects/*/locations/*/catalogs/*}/userEvents:purge" + "httpMethod": "DELETE", + "path": "/v1/{name=organizations/*/bigQueryExports/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v1/{name=folders/*/bigQueryExports/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/bigQueryExports/*}" } ] }, { - "shortName": "RejoinUserEvents", - "fullName": "google.cloud.retail.v2beta.UserEventService.RejoinUserEvents", + "shortName": "DeleteMuteConfig", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.DeleteMuteConfig", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2beta/{parent=projects/*/locations/*/catalogs/*}/userEvents:rejoin" + "httpMethod": "DELETE", + "path": "/v1/{name=organizations/*/muteConfigs/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v1/{name=folders/*/muteConfigs/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/muteConfigs/*}" } ] }, { - "shortName": "WriteUserEvent", - "fullName": "google.cloud.retail.v2beta.UserEventService.WriteUserEvent", + "shortName": "DeleteNotificationConfig", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.DeleteNotificationConfig", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2beta/{parent=projects/*/locations/*/catalogs/*}/userEvents:write" + "httpMethod": "DELETE", + "path": "/v1/{name=organizations/*/notificationConfigs/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v1/{name=folders/*/notificationConfigs/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/notificationConfigs/*}" } ] - } - ] - } - ], - "configFile": "retail_v2beta.yaml", - "serviceConfigApiNames": [ - "google.cloud.location.Locations", - "google.cloud.retail.v2beta.CatalogService", - "google.cloud.retail.v2beta.CompletionService", - "google.cloud.retail.v2beta.ControlService", - "google.cloud.retail.v2beta.ModelService", - "google.cloud.retail.v2beta.PredictionService", - "google.cloud.retail.v2beta.ProductService", - "google.cloud.retail.v2beta.SearchService", - "google.cloud.retail.v2beta.ServingConfigService", - "google.cloud.retail.v2beta.UserEventService", - "google.longrunning.Operations" - ], - "nameInServiceConfig": "retail.googleapis.com" - }, - { - "id": "google.cloud.run.v2", - "directory": "google/cloud/run/v2", - "version": "v2", - "majorVersion": "v2", - "hostName": "run.googleapis.com", - "title": "Cloud Run Admin API", - "description": "Deploy and manage user provided container images that scale automatically based on incoming requests. The Cloud Run Admin API v1 follows the Knative Serving API specification, while v2 is aligned with Google Cloud AIP-based API standards, as described in https://google.aip.dev/.", - "importDirectories": [ - "google/api", - "google/cloud/run/v2", - "google/iam/v1", - "google/longrunning", - "google/protobuf", - "google/rpc" - ], - "options": { - "go_package": { - "valueCounts": { - "cloud.google.com/go/run/apiv2/runpb;runpb": 12 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 12 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.run.v2": 12 - } - } - }, - "services": [ - { - "shortName": "Executions", - "fullName": "google.cloud.run.v2.Executions", - "methods": [ + }, { - "shortName": "DeleteExecution", - "fullName": "google.cloud.run.v2.Executions.DeleteExecution", + "shortName": "DeleteSecurityHealthAnalyticsCustomModule", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.DeleteSecurityHealthAnalyticsCustomModule", "mode": "UNARY", "bindings": [ { "httpMethod": "DELETE", - "path": "/v2/{name=projects/*/locations/*/jobs/*/executions/*}" + "path": "/v1/{name=organizations/*/securityHealthAnalyticsSettings/customModules/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v1/{name=folders/*/securityHealthAnalyticsSettings/customModules/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/securityHealthAnalyticsSettings/customModules/*}" } ] }, { - "shortName": "GetExecution", - "fullName": "google.cloud.run.v2.Executions.GetExecution", + "shortName": "GetBigQueryExport", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GetBigQueryExport", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2/{name=projects/*/locations/*/jobs/*/executions/*}" + "path": "/v1/{name=organizations/*/bigQueryExports/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=folders/*/bigQueryExports/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/bigQueryExports/*}" } ] }, { - "shortName": "ListExecutions", - "fullName": "google.cloud.run.v2.Executions.ListExecutions", + "shortName": "GetEffectiveSecurityHealthAnalyticsCustomModule", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GetEffectiveSecurityHealthAnalyticsCustomModule", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2/{parent=projects/*/locations/*/jobs/*}/executions" + "path": "/v1/{name=organizations/*/securityHealthAnalyticsSettings/effectiveCustomModules/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=folders/*/securityHealthAnalyticsSettings/effectiveCustomModules/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/securityHealthAnalyticsSettings/effectiveCustomModules/*}" } ] - } - ] - }, - { - "shortName": "Jobs", - "fullName": "google.cloud.run.v2.Jobs", - "methods": [ + }, { - "shortName": "CreateJob", - "fullName": "google.cloud.run.v2.Jobs.CreateJob", + "shortName": "GetIamPolicy", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GetIamPolicy", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2/{parent=projects/*/locations/*}/jobs" + "path": "/v1/{resource=organizations/*/sources/*}:getIamPolicy" } ] }, { - "shortName": "DeleteJob", - "fullName": "google.cloud.run.v2.Jobs.DeleteJob", + "shortName": "GetMuteConfig", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GetMuteConfig", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v2/{name=projects/*/locations/*/jobs/*}" + "httpMethod": "GET", + "path": "/v1/{name=organizations/*/muteConfigs/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=folders/*/muteConfigs/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/muteConfigs/*}" } ] }, { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.run.v2.Jobs.GetIamPolicy", + "shortName": "GetNotificationConfig", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GetNotificationConfig", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2/{resource=projects/*/locations/*/jobs/*}:getIamPolicy" + "path": "/v1/{name=organizations/*/notificationConfigs/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=folders/*/notificationConfigs/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/notificationConfigs/*}" } ] }, { - "shortName": "GetJob", - "fullName": "google.cloud.run.v2.Jobs.GetJob", + "shortName": "GetOrganizationSettings", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GetOrganizationSettings", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2/{name=projects/*/locations/*/jobs/*}" + "path": "/v1/{name=organizations/*/organizationSettings}" } ] }, { - "shortName": "ListJobs", - "fullName": "google.cloud.run.v2.Jobs.ListJobs", + "shortName": "GetSecurityHealthAnalyticsCustomModule", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GetSecurityHealthAnalyticsCustomModule", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2/{parent=projects/*/locations/*}/jobs" + "path": "/v1/{name=organizations/*/securityHealthAnalyticsSettings/customModules/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=folders/*/securityHealthAnalyticsSettings/customModules/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/securityHealthAnalyticsSettings/customModules/*}" } ] }, { - "shortName": "RunJob", - "fullName": "google.cloud.run.v2.Jobs.RunJob", + "shortName": "GetSource", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GetSource", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2/{name=projects/*/locations/*/jobs/*}:run" + "httpMethod": "GET", + "path": "/v1/{name=organizations/*/sources/*}" } ] }, { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.run.v2.Jobs.SetIamPolicy", + "shortName": "GroupAssets", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GroupAssets", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2/{resource=projects/*/locations/*/jobs/*}:setIamPolicy" - } - ] - }, - { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.run.v2.Jobs.TestIamPermissions", - "mode": "UNARY", - "bindings": [ + "path": "/v1/{parent=organizations/*}/assets:group" + }, { "httpMethod": "POST", - "path": "/v2/{resource=projects/*/locations/*/jobs/*}:testIamPermissions" + "path": "/v1/{parent=folders/*}/assets:group" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}/assets:group" } ] }, { - "shortName": "UpdateJob", - "fullName": "google.cloud.run.v2.Jobs.UpdateJob", + "shortName": "GroupFindings", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GroupFindings", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v2/{job.name=projects/*/locations/*/jobs/*}" - } - ] - } - ] - }, - { - "shortName": "Revisions", - "fullName": "google.cloud.run.v2.Revisions", - "methods": [ - { - "shortName": "DeleteRevision", - "fullName": "google.cloud.run.v2.Revisions.DeleteRevision", - "mode": "UNARY", - "bindings": [ + "httpMethod": "POST", + "path": "/v1/{parent=organizations/*/sources/*}/findings:group" + }, { - "httpMethod": "DELETE", - "path": "/v2/{name=projects/*/locations/*/services/*/revisions/*}" + "httpMethod": "POST", + "path": "/v1/{parent=folders/*/sources/*}/findings:group" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/sources/*}/findings:group" } ] }, { - "shortName": "GetRevision", - "fullName": "google.cloud.run.v2.Revisions.GetRevision", + "shortName": "ListAssets", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListAssets", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2/{name=projects/*/locations/*/services/*/revisions/*}" - } - ] - }, - { - "shortName": "ListRevisions", - "fullName": "google.cloud.run.v2.Revisions.ListRevisions", - "mode": "UNARY", - "bindings": [ + "path": "/v1/{parent=organizations/*}/assets" + }, { "httpMethod": "GET", - "path": "/v2/{parent=projects/*/locations/*/services/*}/revisions" - } - ] - } - ] - }, - { - "shortName": "Services", - "fullName": "google.cloud.run.v2.Services", - "methods": [ - { - "shortName": "CreateService", - "fullName": "google.cloud.run.v2.Services.CreateService", - "mode": "UNARY", - "bindings": [ + "path": "/v1/{parent=folders/*}/assets" + }, { - "httpMethod": "POST", - "path": "/v2/{parent=projects/*/locations/*}/services" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*}/assets" } ] }, { - "shortName": "DeleteService", - "fullName": "google.cloud.run.v2.Services.DeleteService", + "shortName": "ListBigQueryExports", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListBigQueryExports", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v2/{name=projects/*/locations/*/services/*}" - } - ] - }, - { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.run.v2.Services.GetIamPolicy", - "mode": "UNARY", - "bindings": [ + "httpMethod": "GET", + "path": "/v1/{parent=organizations/*}/bigQueryExports" + }, { "httpMethod": "GET", - "path": "/v2/{resource=projects/*/locations/*/services/*}:getIamPolicy" + "path": "/v1/{parent=folders/*}/bigQueryExports" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*}/bigQueryExports" } ] }, { - "shortName": "GetService", - "fullName": "google.cloud.run.v2.Services.GetService", + "shortName": "ListDescendantSecurityHealthAnalyticsCustomModules", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListDescendantSecurityHealthAnalyticsCustomModules", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2/{name=projects/*/locations/*/services/*}" + "path": "/v1/{parent=organizations/*/securityHealthAnalyticsSettings}/customModules:listDescendant" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=folders/*/securityHealthAnalyticsSettings}/customModules:listDescendant" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/securityHealthAnalyticsSettings}/customModules:listDescendant" } ] }, { - "shortName": "ListServices", - "fullName": "google.cloud.run.v2.Services.ListServices", + "shortName": "ListEffectiveSecurityHealthAnalyticsCustomModules", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListEffectiveSecurityHealthAnalyticsCustomModules", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2/{parent=projects/*/locations/*}/services" + "path": "/v1/{parent=organizations/*/securityHealthAnalyticsSettings}/effectiveCustomModules" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=folders/*/securityHealthAnalyticsSettings}/effectiveCustomModules" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/securityHealthAnalyticsSettings}/effectiveCustomModules" } ] }, { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.run.v2.Services.SetIamPolicy", + "shortName": "ListFindings", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListFindings", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2/{resource=projects/*/locations/*/services/*}:setIamPolicy" + "httpMethod": "GET", + "path": "/v1/{parent=organizations/*/sources/*}/findings" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=folders/*/sources/*}/findings" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/sources/*}/findings" } ] }, { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.run.v2.Services.TestIamPermissions", + "shortName": "ListMuteConfigs", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListMuteConfigs", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2/{resource=projects/*/locations/*/services/*}:testIamPermissions" + "httpMethod": "GET", + "path": "/v1/{parent=organizations/*}/muteConfigs" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=folders/*}/muteConfigs" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*}/muteConfigs" } ] }, { - "shortName": "UpdateService", - "fullName": "google.cloud.run.v2.Services.UpdateService", + "shortName": "ListNotificationConfigs", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListNotificationConfigs", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v2/{service.name=projects/*/locations/*/services/*}" - } - ] - } - ] - }, - { - "shortName": "Tasks", - "fullName": "google.cloud.run.v2.Tasks", - "methods": [ - { - "shortName": "GetTask", - "fullName": "google.cloud.run.v2.Tasks.GetTask", - "mode": "UNARY", - "bindings": [ + "httpMethod": "GET", + "path": "/v1/{parent=organizations/*}/notificationConfigs" + }, { "httpMethod": "GET", - "path": "/v2/{name=projects/*/locations/*/jobs/*/executions/*/tasks/*}" + "path": "/v1/{parent=folders/*}/notificationConfigs" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*}/notificationConfigs" } ] }, { - "shortName": "ListTasks", - "fullName": "google.cloud.run.v2.Tasks.ListTasks", + "shortName": "ListSecurityHealthAnalyticsCustomModules", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListSecurityHealthAnalyticsCustomModules", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2/{parent=projects/*/locations/*/jobs/*/executions/*}/tasks" + "path": "/v1/{parent=organizations/*/securityHealthAnalyticsSettings}/customModules" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=folders/*/securityHealthAnalyticsSettings}/customModules" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/securityHealthAnalyticsSettings}/customModules" } ] - } - ] - } - ], - "configFile": "run_v2.yaml", - "serviceConfigApiNames": [ - "google.cloud.location.Locations", - "google.cloud.run.v2.Executions", - "google.cloud.run.v2.Jobs", - "google.cloud.run.v2.Revisions", - "google.cloud.run.v2.Services", - "google.cloud.run.v2.Tasks", - "google.longrunning.Operations" - ], - "nameInServiceConfig": "run.googleapis.com" - }, - { - "id": "google.cloud.scheduler.v1", - "directory": "google/cloud/scheduler/v1", - "version": "v1", - "majorVersion": "v1", - "hostName": "cloudscheduler.googleapis.com", - "title": "Cloud Scheduler API", - "description": "Creates and manages jobs run on a regular recurring schedule.", - "importDirectories": [ - "google/api", - "google/cloud/scheduler/v1", - "google/protobuf", - "google/rpc" - ], - "options": { - "go_package": { - "valueCounts": { - "cloud.google.com/go/scheduler/apiv1/schedulerpb;schedulerpb": 3 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 3 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.scheduler.v1": 3 - } - }, - "objc_class_prefix": { - "valueCounts": { - "": 2, - "SCHEDULER": 1 - } - } - }, - "services": [ - { - "shortName": "CloudScheduler", - "fullName": "google.cloud.scheduler.v1.CloudScheduler", - "methods": [ + }, { - "shortName": "CreateJob", - "fullName": "google.cloud.scheduler.v1.CloudScheduler.CreateJob", + "shortName": "ListSources", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListSources", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/jobs" + "httpMethod": "GET", + "path": "/v1/{parent=organizations/*}/sources" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=folders/*}/sources" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*}/sources" } ] }, { - "shortName": "DeleteJob", - "fullName": "google.cloud.scheduler.v1.CloudScheduler.DeleteJob", + "shortName": "RunAssetDiscovery", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.RunAssetDiscovery", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/jobs/*}" + "httpMethod": "POST", + "path": "/v1/{parent=organizations/*}/assets:runDiscovery" } ] }, { - "shortName": "GetJob", - "fullName": "google.cloud.scheduler.v1.CloudScheduler.GetJob", + "shortName": "SetFindingState", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.SetFindingState", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/jobs/*}" + "httpMethod": "POST", + "path": "/v1/{name=organizations/*/sources/*/findings/*}:setState" + }, + { + "httpMethod": "POST", + "path": "/v1/{name=folders/*/sources/*/findings/*}:setState" + }, + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/sources/*/findings/*}:setState" } ] }, { - "shortName": "ListJobs", - "fullName": "google.cloud.scheduler.v1.CloudScheduler.ListJobs", + "shortName": "SetIamPolicy", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.SetIamPolicy", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/jobs" + "httpMethod": "POST", + "path": "/v1/{resource=organizations/*/sources/*}:setIamPolicy" } ] }, { - "shortName": "PauseJob", - "fullName": "google.cloud.scheduler.v1.CloudScheduler.PauseJob", + "shortName": "SetMute", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.SetMute", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/jobs/*}:pause" + "path": "/v1/{name=organizations/*/sources/*/findings/*}:setMute" + }, + { + "httpMethod": "POST", + "path": "/v1/{name=folders/*/sources/*/findings/*}:setMute" + }, + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/sources/*/findings/*}:setMute" } ] }, { - "shortName": "ResumeJob", - "fullName": "google.cloud.scheduler.v1.CloudScheduler.ResumeJob", + "shortName": "SimulateSecurityHealthAnalyticsCustomModule", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.SimulateSecurityHealthAnalyticsCustomModule", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/jobs/*}:resume" + "path": "/v1/{parent=organizations/*/securityHealthAnalyticsSettings}/customModules:simulate" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=folders/*/securityHealthAnalyticsSettings}/customModules:simulate" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/securityHealthAnalyticsSettings}/customModules:simulate" } ] }, { - "shortName": "RunJob", - "fullName": "google.cloud.scheduler.v1.CloudScheduler.RunJob", + "shortName": "TestIamPermissions", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.TestIamPermissions", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/jobs/*}:run" + "path": "/v1/{resource=organizations/*/sources/*}:testIamPermissions" } ] }, { - "shortName": "UpdateJob", - "fullName": "google.cloud.scheduler.v1.CloudScheduler.UpdateJob", + "shortName": "UpdateBigQueryExport", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.UpdateBigQueryExport", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1/{job.name=projects/*/locations/*/jobs/*}" + "path": "/v1/{big_query_export.name=organizations/*/bigQueryExports/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{big_query_export.name=folders/*/bigQueryExports/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{big_query_export.name=projects/*/bigQueryExports/*}" } ] - } - ] - } - ], - "configFile": "cloudscheduler_v1.yaml", - "serviceConfigApiNames": [ - "google.cloud.location.Locations", - "google.cloud.scheduler.v1.CloudScheduler" - ], - "nameInServiceConfig": "cloudscheduler.googleapis.com" - }, - { - "id": "google.cloud.scheduler.v1beta1", - "directory": "google/cloud/scheduler/v1beta1", - "version": "v1beta1", - "majorVersion": "v1", - "hostName": "cloudscheduler.googleapis.com", - "title": "Cloud Scheduler API", - "description": "Creates and manages jobs run on a regular recurring schedule.", - "importDirectories": [ - "google/api", - "google/cloud/scheduler/v1beta1", - "google/protobuf", - "google/rpc" - ], - "options": { - "go_package": { - "valueCounts": { - "cloud.google.com/go/scheduler/apiv1beta1/schedulerpb;schedulerpb": 3 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 3 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.scheduler.v1beta1": 3 - } - }, - "objc_class_prefix": { - "valueCounts": { - "": 2, - "SCHEDULER": 1 - } - } - }, - "services": [ - { - "shortName": "CloudScheduler", - "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler", - "methods": [ + }, { - "shortName": "CreateJob", - "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob", + "shortName": "UpdateExternalSystem", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.UpdateExternalSystem", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta1/{parent=projects/*/locations/*}/jobs" + "httpMethod": "PATCH", + "path": "/v1/{external_system.name=organizations/*/sources/*/findings/*/externalSystems/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{external_system.name=folders/*/sources/*/findings/*/externalSystems/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{external_system.name=projects/*/sources/*/findings/*/externalSystems/*}" } ] }, { - "shortName": "DeleteJob", - "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler.DeleteJob", + "shortName": "UpdateFinding", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.UpdateFinding", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1beta1/{name=projects/*/locations/*/jobs/*}" + "httpMethod": "PATCH", + "path": "/v1/{finding.name=organizations/*/sources/*/findings/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{finding.name=folders/*/sources/*/findings/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{finding.name=projects/*/sources/*/findings/*}" } ] }, { - "shortName": "GetJob", - "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler.GetJob", + "shortName": "UpdateMuteConfig", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.UpdateMuteConfig", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{name=projects/*/locations/*/jobs/*}" + "httpMethod": "PATCH", + "path": "/v1/{mute_config.name=organizations/*/muteConfigs/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{mute_config.name=folders/*/muteConfigs/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{mute_config.name=projects/*/muteConfigs/*}" } ] }, { - "shortName": "ListJobs", - "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs", + "shortName": "UpdateNotificationConfig", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.UpdateNotificationConfig", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{parent=projects/*/locations/*}/jobs" + "httpMethod": "PATCH", + "path": "/v1/{notification_config.name=organizations/*/notificationConfigs/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{notification_config.name=folders/*/notificationConfigs/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{notification_config.name=projects/*/notificationConfigs/*}" } ] }, { - "shortName": "PauseJob", - "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler.PauseJob", + "shortName": "UpdateOrganizationSettings", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.UpdateOrganizationSettings", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta1/{name=projects/*/locations/*/jobs/*}:pause" + "httpMethod": "PATCH", + "path": "/v1/{organization_settings.name=organizations/*/organizationSettings}" } ] }, { - "shortName": "ResumeJob", - "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler.ResumeJob", + "shortName": "UpdateSecurityHealthAnalyticsCustomModule", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.UpdateSecurityHealthAnalyticsCustomModule", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta1/{name=projects/*/locations/*/jobs/*}:resume" + "httpMethod": "PATCH", + "path": "/v1/{security_health_analytics_custom_module.name=organizations/*/securityHealthAnalyticsSettings/customModules/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{security_health_analytics_custom_module.name=folders/*/securityHealthAnalyticsSettings/customModules/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{security_health_analytics_custom_module.name=projects/*/securityHealthAnalyticsSettings/customModules/*}" } ] }, { - "shortName": "RunJob", - "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler.RunJob", + "shortName": "UpdateSecurityMarks", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.UpdateSecurityMarks", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta1/{name=projects/*/locations/*/jobs/*}:run" + "httpMethod": "PATCH", + "path": "/v1/{security_marks.name=organizations/*/assets/*/securityMarks}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{security_marks.name=folders/*/assets/*/securityMarks}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{security_marks.name=projects/*/assets/*/securityMarks}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{security_marks.name=organizations/*/sources/*/findings/*/securityMarks}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{security_marks.name=folders/*/sources/*/findings/*/securityMarks}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{security_marks.name=projects/*/sources/*/findings/*/securityMarks}" } ] }, { - "shortName": "UpdateJob", - "fullName": "google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob", + "shortName": "UpdateSource", + "fullName": "google.cloud.securitycenter.v1.SecurityCenter.UpdateSource", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1beta1/{job.name=projects/*/locations/*/jobs/*}" + "path": "/v1/{source.name=organizations/*/sources/*}" } ] } ] } ], - "configFile": "cloudscheduler_v1beta1.yaml", + "configFile": "securitycenter_v1.yaml", "serviceConfigApiNames": [ - "google.cloud.location.Locations", - "google.cloud.scheduler.v1beta1.CloudScheduler" + "google.cloud.securitycenter.v1.SecurityCenter", + "google.longrunning.Operations" ], - "nameInServiceConfig": "cloudscheduler.googleapis.com" + "nameInServiceConfig": "securitycenter.googleapis.com" }, { - "id": "google.cloud.secretmanager.v1", - "directory": "google/cloud/secretmanager/v1", - "version": "v1", + "id": "google.cloud.securitycenter.v1beta1", + "directory": "google/cloud/securitycenter/v1beta1", + "version": "v1beta1", "majorVersion": "v1", - "hostName": "secretmanager.googleapis.com", - "title": "Secret Manager API", - "description": "Stores sensitive data such as API keys, passwords, and certificates. Provides convenience while improving security.", + "hostName": "securitycenter.googleapis.com", + "title": "Security Command Center API", + "description": "Security Command Center API provides access to temporal views of assets and findings within an organization.", "importDirectories": [ "google/api", - "google/cloud/secretmanager/v1", + "google/cloud/securitycenter/v1beta1", "google/iam/v1", + "google/longrunning", "google/protobuf" ], "options": { - "cc_enable_arenas": { - "valueCounts": { - "true": 2 - } - }, - "csharp_namespace": { - "valueCounts": { - "Google.Cloud.SecretManager.V1": 2 - } - }, "go_package": { "valueCounts": { - "cloud.google.com/go/secretmanager/apiv1/secretmanagerpb;secretmanagerpb": 2 + "cloud.google.com/go/securitycenter/apiv1beta1/securitycenterpb;securitycenterpb": 7 } }, "java_multiple_files": { "valueCounts": { - "true": 2 + "true": 7 } }, "java_package": { "valueCounts": { - "com.google.cloud.secretmanager.v1": 2 - } - }, - "objc_class_prefix": { - "valueCounts": { - "GSM": 2 - } - }, - "php_namespace": { - "valueCounts": { - "Google\\Cloud\\SecretManager\\V1": 2 - } - }, - "ruby_package": { - "valueCounts": { - "Google::Cloud::SecretManager::V1": 2 + "com.google.cloud.securitycenter.v1beta1": 7 } } }, "services": [ { - "shortName": "SecretManagerService", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService", + "shortName": "SecurityCenter", + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter", "methods": [ { - "shortName": "AccessSecretVersion", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService.AccessSecretVersion", + "shortName": "CreateFinding", + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.CreateFinding", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/secrets/*/versions/*}:access" + "httpMethod": "POST", + "path": "/v1beta1/{parent=organizations/*/sources/*}/findings" } ] }, { - "shortName": "AddSecretVersion", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService.AddSecretVersion", + "shortName": "CreateSource", + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.CreateSource", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/secrets/*}:addVersion" + "path": "/v1beta1/{parent=organizations/*}/sources" } ] }, { - "shortName": "CreateSecret", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService.CreateSecret", + "shortName": "GetIamPolicy", + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.GetIamPolicy", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*}/secrets" + "path": "/v1beta1/{resource=organizations/*/sources/*}:getIamPolicy" } ] }, { - "shortName": "DeleteSecret", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService.DeleteSecret", + "shortName": "GetOrganizationSettings", + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.GetOrganizationSettings", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/secrets/*}" + "httpMethod": "GET", + "path": "/v1beta1/{name=organizations/*/organizationSettings}" } ] }, { - "shortName": "DestroySecretVersion", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService.DestroySecretVersion", + "shortName": "GetSource", + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.GetSource", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/secrets/*/versions/*}:destroy" + "httpMethod": "GET", + "path": "/v1beta1/{name=organizations/*/sources/*}" } ] }, { - "shortName": "DisableSecretVersion", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService.DisableSecretVersion", + "shortName": "GroupAssets", + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.GroupAssets", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{name=projects/*/secrets/*/versions/*}:disable" + "path": "/v1beta1/{parent=organizations/*}/assets:group" } ] }, { - "shortName": "EnableSecretVersion", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService.EnableSecretVersion", + "shortName": "GroupFindings", + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.GroupFindings", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{name=projects/*/secrets/*/versions/*}:enable" + "path": "/v1beta1/{parent=organizations/*/sources/*}/findings:group" } ] }, { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService.GetIamPolicy", + "shortName": "ListAssets", + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.ListAssets", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{resource=projects/*/secrets/*}:getIamPolicy" + "path": "/v1beta1/{parent=organizations/*}/assets" } ] }, { - "shortName": "GetSecret", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService.GetSecret", + "shortName": "ListFindings", + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.ListFindings", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/secrets/*}" + "path": "/v1beta1/{parent=organizations/*/sources/*}/findings" } ] }, { - "shortName": "GetSecretVersion", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService.GetSecretVersion", + "shortName": "ListSources", + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.ListSources", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/secrets/*/versions/*}" + "path": "/v1beta1/{parent=organizations/*}/sources" } ] }, { - "shortName": "ListSecretVersions", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService.ListSecretVersions", + "shortName": "RunAssetDiscovery", + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.RunAssetDiscovery", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/secrets/*}/versions" + "httpMethod": "POST", + "path": "/v1beta1/{parent=organizations/*}/assets:runDiscovery" } ] }, { - "shortName": "ListSecrets", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService.ListSecrets", + "shortName": "SetFindingState", + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.SetFindingState", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*}/secrets" + "httpMethod": "POST", + "path": "/v1beta1/{name=organizations/*/sources/*/findings/*}:setState" } ] }, { "shortName": "SetIamPolicy", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService.SetIamPolicy", + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.SetIamPolicy", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{resource=projects/*/secrets/*}:setIamPolicy" + "path": "/v1beta1/{resource=organizations/*/sources/*}:setIamPolicy" + } + ] + }, + { + "shortName": "TestIamPermissions", + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.TestIamPermissions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1beta1/{resource=organizations/*/sources/*}:testIamPermissions" + } + ] + }, + { + "shortName": "UpdateFinding", + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.UpdateFinding", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{finding.name=organizations/*/sources/*/findings/*}" + } + ] + }, + { + "shortName": "UpdateOrganizationSettings", + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.UpdateOrganizationSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1beta1/{organization_settings.name=organizations/*/organizationSettings}" } ] }, { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService.TestIamPermissions", + "shortName": "UpdateSecurityMarks", + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.UpdateSecurityMarks", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{resource=projects/*/secrets/*}:testIamPermissions" + "httpMethod": "PATCH", + "path": "/v1beta1/{security_marks.name=organizations/*/assets/*/securityMarks}" + }, + { + "httpMethod": "PATCH", + "path": "/v1beta1/{security_marks.name=organizations/*/sources/*/findings/*/securityMarks}" } ] }, { - "shortName": "UpdateSecret", - "fullName": "google.cloud.secretmanager.v1.SecretManagerService.UpdateSecret", + "shortName": "UpdateSource", + "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.UpdateSource", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1/{secret.name=projects/*/secrets/*}" + "path": "/v1beta1/{source.name=organizations/*/sources/*}" } ] } ] } ], - "configFile": "secretmanager_v1.yaml", + "configFile": "securitycenter_v1beta1.yaml", "serviceConfigApiNames": [ - "google.cloud.secretmanager.v1.SecretManagerService" + "google.cloud.securitycenter.v1beta1.SecurityCenter" ], - "nameInServiceConfig": "secretmanager.googleapis.com" + "nameInServiceConfig": "securitycenter.googleapis.com" }, { - "id": "google.cloud.secrets.v1beta1", - "directory": "google/cloud/secrets/v1beta1", - "version": "v1beta1", + "id": "google.cloud.securitycenter.v1p1beta1", + "directory": "google/cloud/securitycenter/v1p1beta1", + "version": "v1p1beta1", "majorVersion": "v1", - "hostName": "secretmanager.googleapis.com", - "title": "Secret Manager API", - "description": "Stores sensitive data such as API keys, passwords, and certificates. Provides convenience while improving security.", + "hostName": "securitycenter.googleapis.com", + "title": "Security Command Center API", + "description": "Security Command Center API provides access to temporal views of assets and findings within an organization.", "importDirectories": [ "google/api", - "google/cloud/secrets/v1beta1", + "google/cloud/securitycenter/v1p1beta1", "google/iam/v1", + "google/longrunning", "google/protobuf" ], "options": { - "cc_enable_arenas": { - "valueCounts": { - "true": 2 - } - }, "csharp_namespace": { "valueCounts": { - "Google.Cloud.SecretManager.V1Beta1": 2 + "Google.Cloud.SecurityCenter.V1P1Beta1": 11 } }, "go_package": { "valueCounts": { - "cloud.google.com/go/secrets/apiv1beta1/secretspb;secretspb": 2 + "cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb;securitycenterpb": 11 } }, "java_multiple_files": { "valueCounts": { - "true": 2 + "true": 11 } }, "java_package": { "valueCounts": { - "com.google.cloud.secretmanager.v1beta1": 2 - } - }, - "objc_class_prefix": { - "valueCounts": { - "GSM": 2 + "com.google.cloud.securitycenter.v1p1beta1": 11 } }, "php_namespace": { "valueCounts": { - "Google\\Cloud\\SecretManager\\V1beta1": 2 + "Google\\Cloud\\SecurityCenter\\V1p1beta1": 11 } }, "ruby_package": { "valueCounts": { - "Google::Cloud::SecretManager::V1beta1": 2 + "Google::Cloud::SecurityCenter::V1p1Beta1": 1, + "Google::Cloud::SecurityCenter::V1p1beta1": 10 } } }, "services": [ { - "shortName": "SecretManagerService", - "fullName": "google.cloud.secrets.v1beta1.SecretManagerService", + "shortName": "SecurityCenter", + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter", "methods": [ { - "shortName": "AccessSecretVersion", - "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.AccessSecretVersion", + "shortName": "CreateFinding", + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.CreateFinding", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{name=projects/*/secrets/*/versions/*}:access" + "httpMethod": "POST", + "path": "/v1p1beta1/{parent=organizations/*/sources/*}/findings" } ] }, { - "shortName": "AddSecretVersion", - "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.AddSecretVersion", + "shortName": "CreateNotificationConfig", + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.CreateNotificationConfig", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{parent=projects/*/secrets/*}:addVersion" + "path": "/v1p1beta1/{parent=organizations/*}/notificationConfigs" } ] }, { - "shortName": "CreateSecret", - "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.CreateSecret", + "shortName": "CreateSource", + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.CreateSource", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{parent=projects/*}/secrets" + "path": "/v1p1beta1/{parent=organizations/*}/sources" } ] }, { - "shortName": "DeleteSecret", - "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.DeleteSecret", + "shortName": "DeleteNotificationConfig", + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.DeleteNotificationConfig", "mode": "UNARY", "bindings": [ { "httpMethod": "DELETE", - "path": "/v1beta1/{name=projects/*/secrets/*}" + "path": "/v1p1beta1/{name=organizations/*/notificationConfigs/*}" } ] }, { - "shortName": "DestroySecretVersion", - "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.DestroySecretVersion", + "shortName": "GetIamPolicy", + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.GetIamPolicy", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{name=projects/*/secrets/*/versions/*}:destroy" + "path": "/v1p1beta1/{resource=organizations/*/sources/*}:getIamPolicy" } ] }, { - "shortName": "DisableSecretVersion", - "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.DisableSecretVersion", + "shortName": "GetNotificationConfig", + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.GetNotificationConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1p1beta1/{name=organizations/*/notificationConfigs/*}" + } + ] + }, + { + "shortName": "GetOrganizationSettings", + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.GetOrganizationSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1p1beta1/{name=organizations/*/organizationSettings}" + } + ] + }, + { + "shortName": "GetSource", + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.GetSource", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1p1beta1/{name=organizations/*/sources/*}" + } + ] + }, + { + "shortName": "GroupAssets", + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.GroupAssets", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{name=projects/*/secrets/*/versions/*}:disable" + "path": "/v1p1beta1/{parent=organizations/*}/assets:group" + }, + { + "httpMethod": "POST", + "path": "/v1p1beta1/{parent=folders/*}/assets:group" + }, + { + "httpMethod": "POST", + "path": "/v1p1beta1/{parent=projects/*}/assets:group" } ] }, { - "shortName": "EnableSecretVersion", - "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.EnableSecretVersion", + "shortName": "GroupFindings", + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.GroupFindings", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{name=projects/*/secrets/*/versions/*}:enable" + "path": "/v1p1beta1/{parent=organizations/*/sources/*}/findings:group" + }, + { + "httpMethod": "POST", + "path": "/v1p1beta1/{parent=folders/*/sources/*}/findings:group" + }, + { + "httpMethod": "POST", + "path": "/v1p1beta1/{parent=projects/*/sources/*}/findings:group" } ] }, { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.GetIamPolicy", + "shortName": "ListAssets", + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.ListAssets", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta1/{resource=projects/*/secrets/*}:getIamPolicy" + "path": "/v1p1beta1/{parent=organizations/*}/assets" + }, + { + "httpMethod": "GET", + "path": "/v1p1beta1/{parent=folders/*}/assets" + }, + { + "httpMethod": "GET", + "path": "/v1p1beta1/{parent=projects/*}/assets" } ] }, { - "shortName": "GetSecret", - "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.GetSecret", + "shortName": "ListFindings", + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.ListFindings", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta1/{name=projects/*/secrets/*}" + "path": "/v1p1beta1/{parent=organizations/*/sources/*}/findings" + }, + { + "httpMethod": "GET", + "path": "/v1p1beta1/{parent=folders/*/sources/*}/findings" + }, + { + "httpMethod": "GET", + "path": "/v1p1beta1/{parent=projects/*/sources/*}/findings" } ] }, { - "shortName": "GetSecretVersion", - "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.GetSecretVersion", + "shortName": "ListNotificationConfigs", + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.ListNotificationConfigs", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta1/{name=projects/*/secrets/*/versions/*}" + "path": "/v1p1beta1/{parent=organizations/*}/notificationConfigs" } ] }, { - "shortName": "ListSecretVersions", - "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.ListSecretVersions", + "shortName": "ListSources", + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.ListSources", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta1/{parent=projects/*/secrets/*}/versions" + "path": "/v1p1beta1/{parent=organizations/*}/sources" + }, + { + "httpMethod": "GET", + "path": "/v1p1beta1/{parent=folders/*}/sources" + }, + { + "httpMethod": "GET", + "path": "/v1p1beta1/{parent=projects/*}/sources" } ] }, { - "shortName": "ListSecrets", - "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.ListSecrets", + "shortName": "RunAssetDiscovery", + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.RunAssetDiscovery", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{parent=projects/*}/secrets" + "httpMethod": "POST", + "path": "/v1p1beta1/{parent=organizations/*}/assets:runDiscovery" + } + ] + }, + { + "shortName": "SetFindingState", + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.SetFindingState", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1p1beta1/{name=organizations/*/sources/*/findings/*}:setState" + }, + { + "httpMethod": "POST", + "path": "/v1p1beta1/{name=folders/*/sources/*/findings/*}:setState" + }, + { + "httpMethod": "POST", + "path": "/v1p1beta1/{name=projects/*/sources/*/findings/*}:setState" } ] }, { "shortName": "SetIamPolicy", - "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.SetIamPolicy", + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.SetIamPolicy", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{resource=projects/*/secrets/*}:setIamPolicy" + "path": "/v1p1beta1/{resource=organizations/*/sources/*}:setIamPolicy" } ] }, { "shortName": "TestIamPermissions", - "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.TestIamPermissions", + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.TestIamPermissions", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{resource=projects/*/secrets/*}:testIamPermissions" + "path": "/v1p1beta1/{resource=organizations/*/sources/*}:testIamPermissions" } ] }, { - "shortName": "UpdateSecret", - "fullName": "google.cloud.secrets.v1beta1.SecretManagerService.UpdateSecret", + "shortName": "UpdateFinding", + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.UpdateFinding", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1beta1/{secret.name=projects/*/secrets/*}" + "path": "/v1p1beta1/{finding.name=organizations/*/sources/*/findings/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1p1beta1/{finding.name=folders/*/sources/*/findings/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1p1beta1/{finding.name=projects/*/sources/*/findings/*}" + } + ] + }, + { + "shortName": "UpdateNotificationConfig", + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.UpdateNotificationConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1p1beta1/{notification_config.name=organizations/*/notificationConfigs/*}" + } + ] + }, + { + "shortName": "UpdateOrganizationSettings", + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.UpdateOrganizationSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1p1beta1/{organization_settings.name=organizations/*/organizationSettings}" + } + ] + }, + { + "shortName": "UpdateSecurityMarks", + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.UpdateSecurityMarks", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1p1beta1/{security_marks.name=organizations/*/assets/*/securityMarks}" + }, + { + "httpMethod": "PATCH", + "path": "/v1p1beta1/{security_marks.name=folders/*/assets/*/securityMarks}" + }, + { + "httpMethod": "PATCH", + "path": "/v1p1beta1/{security_marks.name=projects/*/assets/*/securityMarks}" + }, + { + "httpMethod": "PATCH", + "path": "/v1p1beta1/{security_marks.name=organizations/*/sources/*/findings/*/securityMarks}" + }, + { + "httpMethod": "PATCH", + "path": "/v1p1beta1/{security_marks.name=folders/*/sources/*/findings/*/securityMarks}" + }, + { + "httpMethod": "PATCH", + "path": "/v1p1beta1/{security_marks.name=projects/*/sources/*/findings/*/securityMarks}" + } + ] + }, + { + "shortName": "UpdateSource", + "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.UpdateSource", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1p1beta1/{source.name=organizations/*/sources/*}" } ] } ] } ], - "configFile": "secretmanager_v1beta1.yaml", + "configFile": "securitycenter_v1p1beta1.yaml", "serviceConfigApiNames": [ - "google.cloud.secrets.v1beta1.SecretManagerService" + "google.cloud.securitycenter.v1p1beta1.SecurityCenter" ], - "nameInServiceConfig": "secretmanager.googleapis.com" + "nameInServiceConfig": "securitycenter.googleapis.com" }, { - "id": "google.cloud.security.privateca.v1", - "directory": "google/cloud/security/privateca/v1", + "id": "google.cloud.securitycentermanagement.v1", + "directory": "google/cloud/securitycentermanagement/v1", "version": "v1", "majorVersion": "v1", - "hostName": "privateca.googleapis.com", - "title": "Certificate Authority API", - "description": "The Certificate Authority Service API is a highly-available, scalable service that enables you to simplify and automate the management of private certificate authorities (CAs) while staying in control of your private keys.", + "hostName": "securitycentermanagement.googleapis.com", + "title": "Security Center Management API", + "description": "Management API for the Security Command Center, a built-in security and risk management solution for Google Cloud. Use this API to programmatically update the settings and configuration of Security Command Center.", "importDirectories": [ "google/api", - "google/cloud/security/privateca/v1", - "google/longrunning", + "google/iam/v1", "google/protobuf", + "google/rpc", "google/type" ], "options": { - "cc_enable_arenas": { - "valueCounts": { - "true": 2 - } - }, "csharp_namespace": { "valueCounts": { - "Google.Cloud.Security.PrivateCA.V1": 2 + "Google.Cloud.SecurityCenterManagement.V1": 1 } }, "go_package": { "valueCounts": { - "cloud.google.com/go/security/privateca/apiv1/privatecapb;privatecapb": 2 + "cloud.google.com/go/securitycentermanagement/apiv1/securitycentermanagementpb;securitycentermanagementpb": 1 } }, "java_multiple_files": { "valueCounts": { - "true": 2 + "true": 1 } }, "java_package": { "valueCounts": { - "com.google.cloud.security.privateca.v1": 2 + "com.google.cloud.securitycentermanagement.v1": 1 } }, "php_namespace": { "valueCounts": { - "Google\\Cloud\\Security\\PrivateCA\\V1": 2 + "Google\\Cloud\\SecurityCenterManagement\\V1": 1 } }, "ruby_package": { "valueCounts": { - "Google::Cloud::Security::PrivateCA::V1": 2 + "Google::Cloud::SecurityCenterManagement::V1": 1 } } }, "services": [ { - "shortName": "CertificateAuthorityService", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService", + "shortName": "SecurityCenterManagement", + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement", "methods": [ { - "shortName": "ActivateCertificateAuthority", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.ActivateCertificateAuthority", + "shortName": "CreateEventThreatDetectionCustomModule", + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.CreateEventThreatDetectionCustomModule", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/caPools/*/certificateAuthorities/*}:activate" + "path": "/v1/{parent=projects/*/locations/*}/eventThreatDetectionCustomModules" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=folders/*/locations/*}/eventThreatDetectionCustomModules" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=organizations/*/locations/*}/eventThreatDetectionCustomModules" } ] }, { - "shortName": "CreateCaPool", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCaPool", + "shortName": "CreateSecurityHealthAnalyticsCustomModule", + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.CreateSecurityHealthAnalyticsCustomModule", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/caPools" + "path": "/v1/{parent=projects/*/locations/*}/securityHealthAnalyticsCustomModules" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=folders/*/locations/*}/securityHealthAnalyticsCustomModules" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=organizations/*/locations/*}/securityHealthAnalyticsCustomModules" } ] }, { - "shortName": "CreateCertificate", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCertificate", + "shortName": "DeleteEventThreatDetectionCustomModule", + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.DeleteEventThreatDetectionCustomModule", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*/caPools/*}/certificates" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/eventThreatDetectionCustomModules/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v1/{name=folders/*/locations/*/eventThreatDetectionCustomModules/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v1/{name=organizations/*/locations/*/eventThreatDetectionCustomModules/*}" } ] }, { - "shortName": "CreateCertificateAuthority", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCertificateAuthority", + "shortName": "DeleteSecurityHealthAnalyticsCustomModule", + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.DeleteSecurityHealthAnalyticsCustomModule", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*/caPools/*}/certificateAuthorities" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/securityHealthAnalyticsCustomModules/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v1/{name=folders/*/locations/*/securityHealthAnalyticsCustomModules/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v1/{name=organizations/*/locations/*/securityHealthAnalyticsCustomModules/*}" } ] }, { - "shortName": "CreateCertificateTemplate", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCertificateTemplate", + "shortName": "GetEffectiveEventThreatDetectionCustomModule", + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.GetEffectiveEventThreatDetectionCustomModule", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/certificateTemplates" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/effectiveEventThreatDetectionCustomModules/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=folders/*/locations/*/effectiveEventThreatDetectionCustomModules/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=organizations/*/locations/*/effectiveEventThreatDetectionCustomModules/*}" } ] }, { - "shortName": "DeleteCaPool", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.DeleteCaPool", + "shortName": "GetEffectiveSecurityHealthAnalyticsCustomModule", + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.GetEffectiveSecurityHealthAnalyticsCustomModule", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/caPools/*}" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/effectiveSecurityHealthAnalyticsCustomModules/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=folders/*/locations/*/effectiveSecurityHealthAnalyticsCustomModules/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=organizations/*/locations/*/effectiveSecurityHealthAnalyticsCustomModules/*}" } ] }, { - "shortName": "DeleteCertificateAuthority", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.DeleteCertificateAuthority", + "shortName": "GetEventThreatDetectionCustomModule", + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.GetEventThreatDetectionCustomModule", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/caPools/*/certificateAuthorities/*}" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/eventThreatDetectionCustomModules/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=folders/*/locations/*/eventThreatDetectionCustomModules/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=organizations/*/locations/*/eventThreatDetectionCustomModules/*}" } ] }, { - "shortName": "DeleteCertificateTemplate", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.DeleteCertificateTemplate", + "shortName": "GetSecurityHealthAnalyticsCustomModule", + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.GetSecurityHealthAnalyticsCustomModule", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/certificateTemplates/*}" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/securityHealthAnalyticsCustomModules/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=folders/*/locations/*/securityHealthAnalyticsCustomModules/*}" + }, + { + "httpMethod": "GET", + "path": "/v1/{name=organizations/*/locations/*/securityHealthAnalyticsCustomModules/*}" } ] }, { - "shortName": "DisableCertificateAuthority", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.DisableCertificateAuthority", + "shortName": "ListDescendantEventThreatDetectionCustomModules", + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.ListDescendantEventThreatDetectionCustomModules", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/caPools/*/certificateAuthorities/*}:disable" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/eventThreatDetectionCustomModules:listDescendant" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=folders/*/locations/*}/eventThreatDetectionCustomModules:listDescendant" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=organizations/*/locations/*}/eventThreatDetectionCustomModules:listDescendant" } ] }, { - "shortName": "EnableCertificateAuthority", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.EnableCertificateAuthority", + "shortName": "ListDescendantSecurityHealthAnalyticsCustomModules", + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.ListDescendantSecurityHealthAnalyticsCustomModules", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/caPools/*/certificateAuthorities/*}:enable" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/securityHealthAnalyticsCustomModules:listDescendant" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=folders/*/locations/*}/securityHealthAnalyticsCustomModules:listDescendant" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=organizations/*/locations/*}/securityHealthAnalyticsCustomModules:listDescendant" + } + ] + }, + { + "shortName": "ListEffectiveEventThreatDetectionCustomModules", + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.ListEffectiveEventThreatDetectionCustomModules", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/effectiveEventThreatDetectionCustomModules" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=folders/*/locations/*}/effectiveEventThreatDetectionCustomModules" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=organizations/*/locations/*}/effectiveEventThreatDetectionCustomModules" + } + ] + }, + { + "shortName": "ListEffectiveSecurityHealthAnalyticsCustomModules", + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.ListEffectiveSecurityHealthAnalyticsCustomModules", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/effectiveSecurityHealthAnalyticsCustomModules" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=folders/*/locations/*}/effectiveSecurityHealthAnalyticsCustomModules" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=organizations/*/locations/*}/effectiveSecurityHealthAnalyticsCustomModules" + } + ] + }, + { + "shortName": "ListEventThreatDetectionCustomModules", + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.ListEventThreatDetectionCustomModules", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/eventThreatDetectionCustomModules" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=folders/*/locations/*}/eventThreatDetectionCustomModules" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=organizations/*/locations/*}/eventThreatDetectionCustomModules" + } + ] + }, + { + "shortName": "ListSecurityHealthAnalyticsCustomModules", + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.ListSecurityHealthAnalyticsCustomModules", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/securityHealthAnalyticsCustomModules" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=folders/*/locations/*}/securityHealthAnalyticsCustomModules" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=organizations/*/locations/*}/securityHealthAnalyticsCustomModules" } ] }, { - "shortName": "FetchCaCerts", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.FetchCaCerts", + "shortName": "SimulateSecurityHealthAnalyticsCustomModule", + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.SimulateSecurityHealthAnalyticsCustomModule", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{ca_pool=projects/*/locations/*/caPools/*}:fetchCaCerts" - } - ] - }, - { - "shortName": "FetchCertificateAuthorityCsr", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.FetchCertificateAuthorityCsr", - "mode": "UNARY", - "bindings": [ + "path": "/v1/{parent=projects/*/locations/*}/securityHealthAnalyticsCustomModules:simulate" + }, { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/caPools/*/certificateAuthorities/*}:fetch" + "httpMethod": "POST", + "path": "/v1/{parent=folders/*/locations/*}/securityHealthAnalyticsCustomModules:simulate" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=organizations/*/locations/*}/securityHealthAnalyticsCustomModules:simulate" } ] }, { - "shortName": "GetCaPool", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.GetCaPool", + "shortName": "UpdateEventThreatDetectionCustomModule", + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.UpdateEventThreatDetectionCustomModule", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/caPools/*}" + "httpMethod": "PATCH", + "path": "/v1/{event_threat_detection_custom_module.name=projects/*/locations/*/eventThreatDetectionCustomModules/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{event_threat_detection_custom_module.name=folders/*/locations/*/eventThreatDetectionCustomModules/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{event_threat_detection_custom_module.name=organizations/*/locations/*/eventThreatDetectionCustomModules/*}" } ] }, { - "shortName": "GetCertificate", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.GetCertificate", + "shortName": "UpdateSecurityHealthAnalyticsCustomModule", + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.UpdateSecurityHealthAnalyticsCustomModule", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/caPools/*/certificates/*}" + "httpMethod": "PATCH", + "path": "/v1/{security_health_analytics_custom_module.name=projects/*/locations/*/securityHealthAnalyticsCustomModules/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{security_health_analytics_custom_module.name=folders/*/locations/*/securityHealthAnalyticsCustomModules/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v1/{security_health_analytics_custom_module.name=organizations/*/locations/*/securityHealthAnalyticsCustomModules/*}" } ] }, { - "shortName": "GetCertificateAuthority", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.GetCertificateAuthority", + "shortName": "ValidateEventThreatDetectionCustomModule", + "fullName": "google.cloud.securitycentermanagement.v1.SecurityCenterManagement.ValidateEventThreatDetectionCustomModule", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/caPools/*/certificateAuthorities/*}" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/eventThreatDetectionCustomModules:validate" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=folders/*/locations/*}/eventThreatDetectionCustomModules:validate" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=organizations/*/locations/*}/eventThreatDetectionCustomModules:validate" } ] - }, + } + ] + } + ], + "configFile": "securitycentermanagement_v1.yaml", + "serviceConfigApiNames": [ + "google.cloud.location.Locations", + "google.cloud.securitycentermanagement.v1.SecurityCenterManagement" + ], + "nameInServiceConfig": "securitycentermanagement.googleapis.com" + }, + { + "id": "google.cloud.securityposture.v1", + "directory": "google/cloud/securityposture/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "securityposture.googleapis.com", + "title": "Security Posture API", + "description": "Security Posture is a comprehensive framework of policy sets that empowers organizations to define, assess early, deploy, and monitor their security measures in a unified way and helps simplify governance and reduces administrative toil.", + "importDirectories": [ + "google/api", + "google/cloud/securityposture/v1", + "google/longrunning", + "google/protobuf", + "google/type" + ], + "options": { + "csharp_namespace": { + "valueCounts": { + "": 4, + "Google.Cloud.Securityposture.V1": 1 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/securityposture/apiv1/securityposturepb;securityposturepb": 5 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 5 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.securityposture.v1": 5 + } + }, + "php_namespace": { + "valueCounts": { + "": 4, + "Google\\Cloud\\Securityposture\\V1": 1 + } + }, + "ruby_package": { + "valueCounts": { + "": 4, + "Google::Cloud::Securityposture::V1": 1 + } + } + }, + "services": [ + { + "shortName": "SecurityPosture", + "fullName": "google.cloud.securityposture.v1.SecurityPosture", + "methods": [ { - "shortName": "GetCertificateRevocationList", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.GetCertificateRevocationList", + "shortName": "CreatePosture", + "fullName": "google.cloud.securityposture.v1.SecurityPosture.CreatePosture", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/caPools/*/certificateAuthorities/*/certificateRevocationLists/*}" + "httpMethod": "POST", + "path": "/v1/{parent=organizations/*/locations/*}/postures" } ] }, { - "shortName": "GetCertificateTemplate", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.GetCertificateTemplate", + "shortName": "CreatePostureDeployment", + "fullName": "google.cloud.securityposture.v1.SecurityPosture.CreatePostureDeployment", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/certificateTemplates/*}" + "httpMethod": "POST", + "path": "/v1/{parent=organizations/*/locations/*}/postureDeployments" } ] }, { - "shortName": "ListCaPools", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.ListCaPools", + "shortName": "DeletePosture", + "fullName": "google.cloud.securityposture.v1.SecurityPosture.DeletePosture", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/caPools" + "httpMethod": "DELETE", + "path": "/v1/{name=organizations/*/locations/*/postures/*}" } ] }, { - "shortName": "ListCertificateAuthorities", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificateAuthorities", + "shortName": "DeletePostureDeployment", + "fullName": "google.cloud.securityposture.v1.SecurityPosture.DeletePostureDeployment", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*/caPools/*}/certificateAuthorities" + "httpMethod": "DELETE", + "path": "/v1/{name=organizations/*/locations/*/postureDeployments/*}" } ] }, { - "shortName": "ListCertificateRevocationLists", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificateRevocationLists", + "shortName": "ExtractPosture", + "fullName": "google.cloud.securityposture.v1.SecurityPosture.ExtractPosture", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*/caPools/*/certificateAuthorities/*}/certificateRevocationLists" + "httpMethod": "POST", + "path": "/v1/{parent=organizations/*/locations/*}/postures:extract" } ] }, { - "shortName": "ListCertificateTemplates", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificateTemplates", + "shortName": "GetPosture", + "fullName": "google.cloud.securityposture.v1.SecurityPosture.GetPosture", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/certificateTemplates" + "path": "/v1/{name=organizations/*/locations/*/postures/*}" } ] }, { - "shortName": "ListCertificates", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificates", + "shortName": "GetPostureDeployment", + "fullName": "google.cloud.securityposture.v1.SecurityPosture.GetPostureDeployment", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*/caPools/*}/certificates" + "path": "/v1/{name=organizations/*/locations/*/postureDeployments/*}" } ] }, { - "shortName": "RevokeCertificate", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.RevokeCertificate", + "shortName": "GetPostureTemplate", + "fullName": "google.cloud.securityposture.v1.SecurityPosture.GetPostureTemplate", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/caPools/*/certificates/*}:revoke" + "httpMethod": "GET", + "path": "/v1/{name=organizations/*/locations/*/postureTemplates/*}" } ] }, { - "shortName": "UndeleteCertificateAuthority", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.UndeleteCertificateAuthority", + "shortName": "ListPostureDeployments", + "fullName": "google.cloud.securityposture.v1.SecurityPosture.ListPostureDeployments", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/caPools/*/certificateAuthorities/*}:undelete" + "httpMethod": "GET", + "path": "/v1/{parent=organizations/*/locations/*}/postureDeployments" } ] }, { - "shortName": "UpdateCaPool", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCaPool", + "shortName": "ListPostureRevisions", + "fullName": "google.cloud.securityposture.v1.SecurityPosture.ListPostureRevisions", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{ca_pool.name=projects/*/locations/*/caPools/*}" + "httpMethod": "GET", + "path": "/v1/{name=organizations/*/locations/*/postures/*}:listRevisions" } ] }, { - "shortName": "UpdateCertificate", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCertificate", + "shortName": "ListPostureTemplates", + "fullName": "google.cloud.securityposture.v1.SecurityPosture.ListPostureTemplates", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{certificate.name=projects/*/locations/*/caPools/*/certificates/*}" + "httpMethod": "GET", + "path": "/v1/{parent=organizations/*/locations/*}/postureTemplates" } ] }, { - "shortName": "UpdateCertificateAuthority", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCertificateAuthority", + "shortName": "ListPostures", + "fullName": "google.cloud.securityposture.v1.SecurityPosture.ListPostures", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{certificate_authority.name=projects/*/locations/*/caPools/*/certificateAuthorities/*}" + "httpMethod": "GET", + "path": "/v1/{parent=organizations/*/locations/*}/postures" } ] }, { - "shortName": "UpdateCertificateRevocationList", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCertificateRevocationList", + "shortName": "UpdatePosture", + "fullName": "google.cloud.securityposture.v1.SecurityPosture.UpdatePosture", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1/{certificate_revocation_list.name=projects/*/locations/*/caPools/*/certificateAuthorities/*/certificateRevocationLists/*}" + "path": "/v1/{posture.name=organizations/*/locations/*/postures/*}" } ] }, { - "shortName": "UpdateCertificateTemplate", - "fullName": "google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCertificateTemplate", + "shortName": "UpdatePostureDeployment", + "fullName": "google.cloud.securityposture.v1.SecurityPosture.UpdatePostureDeployment", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1/{certificate_template.name=projects/*/locations/*/certificateTemplates/*}" + "path": "/v1/{posture_deployment.name=organizations/*/locations/*/postureDeployments/*}" } ] } ] } ], - "configFile": "privateca_v1.yaml", + "configFile": "securityposture_v1.yaml", "serviceConfigApiNames": [ "google.cloud.location.Locations", - "google.cloud.security.privateca.v1.CertificateAuthorityService", - "google.iam.v1.IAMPolicy", + "google.cloud.securityposture.v1.SecurityPosture", "google.longrunning.Operations" ], - "nameInServiceConfig": "privateca.googleapis.com" + "nameInServiceConfig": "securityposture.googleapis.com" }, { - "id": "google.cloud.security.privateca.v1beta1", - "directory": "google/cloud/security/privateca/v1beta1", - "version": "v1beta1", + "id": "google.cloud.servicedirectory.v1", + "directory": "google/cloud/servicedirectory/v1", + "version": "v1", "majorVersion": "v1", - "hostName": "privateca.googleapis.com", - "title": "Certificate Authority API", - "description": "", + "hostName": "servicedirectory.googleapis.com", + "title": "Service Directory API", + "description": "Service Directory is a platform for discovering, publishing, and connecting services.", "importDirectories": [ "google/api", - "google/cloud/security/privateca/v1beta1", - "google/longrunning", + "google/cloud/servicedirectory/v1", + "google/iam/v1", "google/protobuf" ], "options": { "cc_enable_arenas": { "valueCounts": { - "true": 2 + "true": 5 } }, "csharp_namespace": { "valueCounts": { - "Google.Cloud.Security.PrivateCA.V1Beta1": 2 + "Google.Cloud.ServiceDirectory.V1": 5 } }, "go_package": { "valueCounts": { - "cloud.google.com/go/security/privateca/apiv1beta1/privatecapb;privatecapb": 2 + "cloud.google.com/go/servicedirectory/apiv1/servicedirectorypb;servicedirectorypb": 5 } }, "java_multiple_files": { "valueCounts": { - "true": 2 + "true": 5 } }, "java_package": { "valueCounts": { - "com.google.cloud.security.privateca.v1beta1": 2 + "com.google.cloud.servicedirectory.v1": 5 } }, "php_namespace": { "valueCounts": { - "Google\\Cloud\\Security\\PrivateCA\\V1beta1": 2 + "Google\\Cloud\\ServiceDirectory\\V1": 5 } }, "ruby_package": { "valueCounts": { - "Google::Cloud::Security::PrivateCA::V1beta1": 2 + "Google::Cloud::ServiceDirectory::V1": 5 } } }, "services": [ { - "shortName": "CertificateAuthorityService", - "fullName": "google.cloud.security.privateca.v1beta1.CertificateAuthorityService", + "shortName": "LookupService", + "fullName": "google.cloud.servicedirectory.v1.LookupService", "methods": [ { - "shortName": "ActivateCertificateAuthority", - "fullName": "google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ActivateCertificateAuthority", + "shortName": "ResolveService", + "fullName": "google.cloud.servicedirectory.v1.LookupService.ResolveService", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*}:activate" + "path": "/v1/{name=projects/*/locations/*/namespaces/*/services/*}:resolve" } ] - }, + } + ] + }, + { + "shortName": "RegistrationService", + "fullName": "google.cloud.servicedirectory.v1.RegistrationService", + "methods": [ { - "shortName": "CreateCertificate", - "fullName": "google.cloud.security.privateca.v1beta1.CertificateAuthorityService.CreateCertificate", + "shortName": "CreateEndpoint", + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.CreateEndpoint", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{parent=projects/*/locations/*/certificateAuthorities/*}/certificates" + "path": "/v1/{parent=projects/*/locations/*/namespaces/*/services/*}/endpoints" } ] }, { - "shortName": "CreateCertificateAuthority", - "fullName": "google.cloud.security.privateca.v1beta1.CertificateAuthorityService.CreateCertificateAuthority", + "shortName": "CreateNamespace", + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.CreateNamespace", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{parent=projects/*/locations/*}/certificateAuthorities" + "path": "/v1/{parent=projects/*/locations/*}/namespaces" } ] }, { - "shortName": "DisableCertificateAuthority", - "fullName": "google.cloud.security.privateca.v1beta1.CertificateAuthorityService.DisableCertificateAuthority", + "shortName": "CreateService", + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.CreateService", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*}:disable" + "path": "/v1/{parent=projects/*/locations/*/namespaces/*}/services" } ] }, { - "shortName": "EnableCertificateAuthority", - "fullName": "google.cloud.security.privateca.v1beta1.CertificateAuthorityService.EnableCertificateAuthority", + "shortName": "DeleteEndpoint", + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.DeleteEndpoint", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*}:enable" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/namespaces/*/services/*/endpoints/*}" } ] }, { - "shortName": "FetchCertificateAuthorityCsr", - "fullName": "google.cloud.security.privateca.v1beta1.CertificateAuthorityService.FetchCertificateAuthorityCsr", + "shortName": "DeleteNamespace", + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.DeleteNamespace", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*}:fetch" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/namespaces/*}" } ] }, { - "shortName": "GetCertificate", - "fullName": "google.cloud.security.privateca.v1beta1.CertificateAuthorityService.GetCertificate", + "shortName": "DeleteService", + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.DeleteService", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*/certificates/*}" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/namespaces/*/services/*}" } ] }, { - "shortName": "GetCertificateAuthority", - "fullName": "google.cloud.security.privateca.v1beta1.CertificateAuthorityService.GetCertificateAuthority", + "shortName": "GetEndpoint", + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.GetEndpoint", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*}" + "path": "/v1/{name=projects/*/locations/*/namespaces/*/services/*/endpoints/*}" } ] }, { - "shortName": "GetCertificateRevocationList", - "fullName": "google.cloud.security.privateca.v1beta1.CertificateAuthorityService.GetCertificateRevocationList", + "shortName": "GetIamPolicy", + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.GetIamPolicy", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*/certificateRevocationLists/*}" + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/locations/*/namespaces/*}:getIamPolicy" + }, + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/locations/*/namespaces/*/services/*}:getIamPolicy" } ] }, { - "shortName": "GetReusableConfig", - "fullName": "google.cloud.security.privateca.v1beta1.CertificateAuthorityService.GetReusableConfig", + "shortName": "GetNamespace", + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.GetNamespace", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta1/{name=projects/*/locations/*/reusableConfigs/*}" + "path": "/v1/{name=projects/*/locations/*/namespaces/*}" } ] }, { - "shortName": "ListCertificateAuthorities", - "fullName": "google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ListCertificateAuthorities", + "shortName": "GetService", + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.GetService", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta1/{parent=projects/*/locations/*}/certificateAuthorities" + "path": "/v1/{name=projects/*/locations/*/namespaces/*/services/*}" } ] }, { - "shortName": "ListCertificateRevocationLists", - "fullName": "google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ListCertificateRevocationLists", + "shortName": "ListEndpoints", + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.ListEndpoints", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta1/{parent=projects/*/locations/*/certificateAuthorities/*}/certificateRevocationLists" + "path": "/v1/{parent=projects/*/locations/*/namespaces/*/services/*}/endpoints" } ] }, { - "shortName": "ListCertificates", - "fullName": "google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ListCertificates", + "shortName": "ListNamespaces", + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.ListNamespaces", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta1/{parent=projects/*/locations/*/certificateAuthorities/*}/certificates" + "path": "/v1/{parent=projects/*/locations/*}/namespaces" } ] }, { - "shortName": "ListReusableConfigs", - "fullName": "google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ListReusableConfigs", + "shortName": "ListServices", + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.ListServices", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta1/{parent=projects/*/locations/*}/reusableConfigs" + "path": "/v1/{parent=projects/*/locations/*/namespaces/*}/services" } ] }, { - "shortName": "RestoreCertificateAuthority", - "fullName": "google.cloud.security.privateca.v1beta1.CertificateAuthorityService.RestoreCertificateAuthority", + "shortName": "SetIamPolicy", + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.SetIamPolicy", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*}:restore" - } - ] - }, - { - "shortName": "RevokeCertificate", - "fullName": "google.cloud.security.privateca.v1beta1.CertificateAuthorityService.RevokeCertificate", - "mode": "UNARY", - "bindings": [ + "path": "/v1/{resource=projects/*/locations/*/namespaces/*}:setIamPolicy" + }, { "httpMethod": "POST", - "path": "/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*/certificates/*}:revoke" + "path": "/v1/{resource=projects/*/locations/*/namespaces/*/services/*}:setIamPolicy" } ] }, { - "shortName": "ScheduleDeleteCertificateAuthority", - "fullName": "google.cloud.security.privateca.v1beta1.CertificateAuthorityService.ScheduleDeleteCertificateAuthority", + "shortName": "TestIamPermissions", + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.TestIamPermissions", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{name=projects/*/locations/*/certificateAuthorities/*}:scheduleDelete" + "path": "/v1/{resource=projects/*/locations/*/namespaces/*}:testIamPermissions" + }, + { + "httpMethod": "POST", + "path": "/v1/{resource=projects/*/locations/*/namespaces/*/services/*}:testIamPermissions" } ] }, { - "shortName": "UpdateCertificate", - "fullName": "google.cloud.security.privateca.v1beta1.CertificateAuthorityService.UpdateCertificate", + "shortName": "UpdateEndpoint", + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.UpdateEndpoint", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1beta1/{certificate.name=projects/*/locations/*/certificateAuthorities/*/certificates/*}" + "path": "/v1/{endpoint.name=projects/*/locations/*/namespaces/*/services/*/endpoints/*}" } ] }, { - "shortName": "UpdateCertificateAuthority", - "fullName": "google.cloud.security.privateca.v1beta1.CertificateAuthorityService.UpdateCertificateAuthority", + "shortName": "UpdateNamespace", + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.UpdateNamespace", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1beta1/{certificate_authority.name=projects/*/locations/*/certificateAuthorities/*}" + "path": "/v1/{namespace.name=projects/*/locations/*/namespaces/*}" } ] }, { - "shortName": "UpdateCertificateRevocationList", - "fullName": "google.cloud.security.privateca.v1beta1.CertificateAuthorityService.UpdateCertificateRevocationList", + "shortName": "UpdateService", + "fullName": "google.cloud.servicedirectory.v1.RegistrationService.UpdateService", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1beta1/{certificate_revocation_list.name=projects/*/locations/*/certificateAuthorities/*/certificateRevocationLists/*}" + "path": "/v1/{service.name=projects/*/locations/*/namespaces/*/services/*}" } ] } ] } ], - "configFile": "privateca_v1beta1.yaml", + "configFile": "servicedirectory_v1.yaml", "serviceConfigApiNames": [ - "google.cloud.security.privateca.v1beta1.CertificateAuthorityService" + "google.cloud.location.Locations", + "google.cloud.servicedirectory.v1.LookupService", + "google.cloud.servicedirectory.v1.RegistrationService" ], - "nameInServiceConfig": "privateca.googleapis.com" + "nameInServiceConfig": "servicedirectory.googleapis.com" }, { - "id": "google.cloud.security.publicca.v1beta1", - "directory": "google/cloud/security/publicca/v1beta1", + "id": "google.cloud.servicedirectory.v1beta1", + "directory": "google/cloud/servicedirectory/v1beta1", "version": "v1beta1", "majorVersion": "v1", - "hostName": "publicca.googleapis.com", - "title": "Public Certificate Authority API", - "description": "The Public Certificate Authority API may be used to create and manage ACME external account binding keys associated with Google Trust Services' publicly trusted certificate authority.", + "hostName": "servicedirectory.googleapis.com", + "title": "Service Directory API", + "description": "Service Directory is a platform for discovering, publishing, and connecting services.", "importDirectories": [ "google/api", - "google/cloud/security/publicca/v1beta1" + "google/cloud/servicedirectory/v1beta1", + "google/iam/v1", + "google/protobuf" ], "options": { "cc_enable_arenas": { "valueCounts": { - "true": 2 + "true": 5 } }, "csharp_namespace": { "valueCounts": { - "Google.Cloud.Security.PublicCA.V1Beta1": 2 + "Google.Cloud.ServiceDirectory.V1Beta1": 5 } }, "go_package": { "valueCounts": { - "cloud.google.com/go/security/publicca/apiv1beta1/publiccapb;publiccapb": 2 + "cloud.google.com/go/servicedirectory/apiv1beta1/servicedirectorypb;servicedirectorypb": 5 } }, "java_multiple_files": { "valueCounts": { - "true": 2 + "true": 5 } }, "java_package": { "valueCounts": { - "com.google.cloud.security.publicca.v1beta1": 2 + "com.google.cloud.servicedirectory.v1beta1": 5 } }, "php_namespace": { "valueCounts": { - "Google\\Cloud\\Security\\PublicCA\\V1beta1": 2 + "Google\\Cloud\\ServiceDirectory\\V1beta1": 5 } }, "ruby_package": { "valueCounts": { - "Google::Cloud::Security::PublicCA::V1beta1": 2 + "Google::Cloud::ServiceDirectory::V1beta1": 5 } } }, "services": [ { - "shortName": "PublicCertificateAuthorityService", - "fullName": "google.cloud.security.publicca.v1beta1.PublicCertificateAuthorityService", + "shortName": "LookupService", + "fullName": "google.cloud.servicedirectory.v1beta1.LookupService", "methods": [ { - "shortName": "CreateExternalAccountKey", - "fullName": "google.cloud.security.publicca.v1beta1.PublicCertificateAuthorityService.CreateExternalAccountKey", + "shortName": "ResolveService", + "fullName": "google.cloud.servicedirectory.v1beta1.LookupService.ResolveService", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{parent=projects/*/locations/*}/externalAccountKeys" + "path": "/v1beta1/{name=projects/*/locations/*/namespaces/*/services/*}:resolve" } ] } ] - } - ], - "configFile": "publicca_v1beta1.yaml", - "serviceConfigApiNames": [ - "google.cloud.security.publicca.v1beta1.PublicCertificateAuthorityService" - ], - "nameInServiceConfig": "publicca.googleapis.com" - }, - { - "id": "google.cloud.securitycenter.settings.v1beta1", - "directory": "google/cloud/securitycenter/settings/v1beta1", - "version": "v1beta1", - "majorVersion": "v1", - "hostName": "securitycenter.googleapis.com", - "title": "Cloud Security Command Center API", - "description": "Cloud Security Command Center Settings API provides functionality to retrieve and update configurations.", - "importDirectories": [ - "google/api", - "google/cloud/securitycenter/settings/v1beta1", - "google/protobuf" - ], - "options": { - "cc_enable_arenas": { - "valueCounts": { - "true": 6 - } - }, - "csharp_namespace": { - "valueCounts": { - "Google.Cloud.SecurityCenter.Settings.V1Beta1": 6 - } - }, - "go_package": { - "valueCounts": { - "cloud.google.com/go/securitycenter/settings/apiv1beta1/settingspb;settingspb": 6 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 6 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.securitycenter.settings.v1beta1": 6 - } - }, - "php_namespace": { - "valueCounts": { - "Google\\Cloud\\SecurityCenter\\Settings\\V1beta1": 6 - } }, - "ruby_package": { - "valueCounts": { - "Google::Cloud::SecurityCenter::Settings::V1beta1": 6 - } - } - }, - "services": [ { - "shortName": "SecurityCenterSettingsService", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService", + "shortName": "RegistrationService", + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService", "methods": [ { - "shortName": "BatchCalculateEffectiveSettings", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.BatchCalculateEffectiveSettings", + "shortName": "CreateEndpoint", + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.CreateEndpoint", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/settings/v1beta1/{parent=organizations/*}/effectiveSettings:batchCalculate" + "path": "/v1beta1/{parent=projects/*/locations/*/namespaces/*/services/*}/endpoints" } ] }, { - "shortName": "BatchGetSettings", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.BatchGetSettings", + "shortName": "CreateNamespace", + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.CreateNamespace", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/settings/v1beta1/{parent=organizations/*}/settings:batchGet" + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*}/namespaces" } ] }, { - "shortName": "CalculateEffectiveComponentSettings", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.CalculateEffectiveComponentSettings", + "shortName": "CreateService", + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.CreateService", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/settings/v1beta1/{name=organizations/*/components/*/effectiveSettings}:calculate" - }, - { - "httpMethod": "GET", - "path": "/settings/v1beta1/{name=folders/*/components/*/effectiveSettings}:calculate" - }, - { - "httpMethod": "GET", - "path": "/settings/v1beta1/{name=projects/*/components/*/effectiveSettings}:calculate" - }, - { - "httpMethod": "GET", - "path": "/settings/v1beta1/{name=projects/*/locations/*/clusters/*/components/*/effectiveSettings}:calculate" - }, + "httpMethod": "POST", + "path": "/v1beta1/{parent=projects/*/locations/*/namespaces/*}/services" + } + ] + }, + { + "shortName": "DeleteEndpoint", + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.DeleteEndpoint", + "mode": "UNARY", + "bindings": [ { - "httpMethod": "GET", - "path": "/settings/v1beta1/{name=projects/*/regions/*/clusters/*/components/*/effectiveSettings}:calculate" - }, + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/namespaces/*/services/*/endpoints/*}" + } + ] + }, + { + "shortName": "DeleteNamespace", + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.DeleteNamespace", + "mode": "UNARY", + "bindings": [ { - "httpMethod": "GET", - "path": "/settings/v1beta1/{name=projects/*/zones/*/clusters/*/components/*/effectiveSettings}:calculate" + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/namespaces/*}" } ] }, { - "shortName": "CalculateEffectiveSettings", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.CalculateEffectiveSettings", + "shortName": "DeleteService", + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.DeleteService", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/settings/v1beta1/{name=organizations/*/effectiveSettings}:calculate" - }, - { - "httpMethod": "GET", - "path": "/settings/v1beta1/{name=folders/*/effectiveSettings}:calculate" - }, - { - "httpMethod": "GET", - "path": "/settings/v1beta1/{name=projects/*/effectiveSettings}:calculate" - }, - { - "httpMethod": "GET", - "path": "/settings/v1beta1/{name=projects/*/locations/*/clusters/*/effectiveSettings}:calculate" - }, - { - "httpMethod": "GET", - "path": "/settings/v1beta1/{name=projects/*/regions/*/clusters/*/effectiveSettings}:calculate" - }, - { - "httpMethod": "GET", - "path": "/settings/v1beta1/{name=projects/*/zones/*/clusters/*/effectiveSettings}:calculate" + "httpMethod": "DELETE", + "path": "/v1beta1/{name=projects/*/locations/*/namespaces/*/services/*}" } ] }, { - "shortName": "GetComponentSettings", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.GetComponentSettings", + "shortName": "GetEndpoint", + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.GetEndpoint", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/settings/v1beta1/{name=organizations/*/components/*/settings}" - }, - { - "httpMethod": "GET", - "path": "/settings/v1beta1/{name=folders/*/components/*/settings}" - }, - { - "httpMethod": "GET", - "path": "/settings/v1beta1/{name=projects/*/components/*/settings}" - }, + "path": "/v1beta1/{name=projects/*/locations/*/namespaces/*/services/*/endpoints/*}" + } + ] + }, + { + "shortName": "GetIamPolicy", + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.GetIamPolicy", + "mode": "UNARY", + "bindings": [ { - "httpMethod": "GET", - "path": "/settings/v1beta1/{name=projects/*/locations/*/clusters/*/components/*/settings}" + "httpMethod": "POST", + "path": "/v1beta1/{resource=projects/*/locations/*/namespaces/*}:getIamPolicy" }, { - "httpMethod": "GET", - "path": "/settings/v1beta1/{name=projects/*/regions/*/clusters/*/components/*/settings}" + "httpMethod": "POST", + "path": "/v1beta1/{resource=projects/*/locations/*/namespaces/*/services/*}:getIamPolicy" }, { - "httpMethod": "GET", - "path": "/settings/v1beta1/{name=projects/*/zones/*/clusters/*/components/*/settings}" + "httpMethod": "POST", + "path": "/v1beta1/{resource=projects/*/locations/*/namespaces/*/workloads/*}:getIamPolicy" } ] }, { - "shortName": "GetServiceAccount", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.GetServiceAccount", + "shortName": "GetNamespace", + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.GetNamespace", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/settings/v1beta1/{name=organizations/*/serviceAccount}" + "path": "/v1beta1/{name=projects/*/locations/*/namespaces/*}" } ] }, { - "shortName": "GetSettings", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.GetSettings", + "shortName": "GetService", + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.GetService", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/settings/v1beta1/{name=organizations/*/settings}" - }, - { - "httpMethod": "GET", - "path": "/settings/v1beta1/{name=folders/*/settings}" - }, - { - "httpMethod": "GET", - "path": "/settings/v1beta1/{name=projects/*/settings}" - }, - { - "httpMethod": "GET", - "path": "/settings/v1beta1/{name=projects/*/locations/*/clusters/*/settings}" - }, - { - "httpMethod": "GET", - "path": "/settings/v1beta1/{name=projects/*/regions/*/clusters/*/settings}" - }, + "path": "/v1beta1/{name=projects/*/locations/*/namespaces/*/services/*}" + } + ] + }, + { + "shortName": "ListEndpoints", + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.ListEndpoints", + "mode": "UNARY", + "bindings": [ { "httpMethod": "GET", - "path": "/settings/v1beta1/{name=projects/*/zones/*/clusters/*/settings}" + "path": "/v1beta1/{parent=projects/*/locations/*/namespaces/*/services/*}/endpoints" } ] }, { - "shortName": "ListComponents", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.ListComponents", + "shortName": "ListNamespaces", + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.ListNamespaces", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/settings/v1beta1/{parent=organizations/*}/components" + "path": "/v1beta1/{parent=projects/*/locations/*}/namespaces" } ] }, { - "shortName": "ListDetectors", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.ListDetectors", + "shortName": "ListServices", + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.ListServices", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/settings/v1beta1/{parent=organizations/*}/detectors" + "path": "/v1beta1/{parent=projects/*/locations/*/namespaces/*}/services" } ] }, { - "shortName": "ResetComponentSettings", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.ResetComponentSettings", + "shortName": "SetIamPolicy", + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.SetIamPolicy", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/settings/v1beta1/{name=organizations/*/components/*/settings}:reset" - }, - { - "httpMethod": "POST", - "path": "/settings/v1beta1/{name=folders/*/components/*/settings}:reset" - }, - { - "httpMethod": "POST", - "path": "/settings/v1beta1/{name=projects/*/components/*/settings}:reset" - }, - { - "httpMethod": "POST", - "path": "/settings/v1beta1/{name=projects/*/locations/*/clusters/*/components/*/settings}:reset" + "path": "/v1beta1/{resource=projects/*/locations/*/namespaces/*}:setIamPolicy" }, { "httpMethod": "POST", - "path": "/settings/v1beta1/{name=projects/*/regions/*/clusters/*/components/*/settings}:reset" + "path": "/v1beta1/{resource=projects/*/locations/*/namespaces/*/services/*}:setIamPolicy" }, { "httpMethod": "POST", - "path": "/settings/v1beta1/{name=projects/*/zones/*/clusters/*/components/*/settings}:reset" + "path": "/v1beta1/{resource=projects/*/locations/*/namespaces/*/workloads/*}:setIamPolicy" } ] }, { - "shortName": "ResetSettings", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.ResetSettings", + "shortName": "TestIamPermissions", + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.TestIamPermissions", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/settings/v1beta1/{name=organizations/*/settings}:reset" - }, - { - "httpMethod": "POST", - "path": "/settings/v1beta1/{name=folders/*/settings}:reset" - }, - { - "httpMethod": "POST", - "path": "/settings/v1beta1/{name=projects/*/settings}:reset" - }, - { - "httpMethod": "POST", - "path": "/settings/v1beta1/{name=projects/*/locations/*/clusters/*/settings}:reset" + "path": "/v1beta1/{resource=projects/*/locations/*/namespaces/*}:testIamPermissions" }, { "httpMethod": "POST", - "path": "/settings/v1beta1/{name=projects/*/regions/*/clusters/*/settings}:reset" + "path": "/v1beta1/{resource=projects/*/locations/*/namespaces/*/services/*}:testIamPermissions" }, { "httpMethod": "POST", - "path": "/settings/v1beta1/{name=projects/*/zones/*/clusters/*/settings}:reset" + "path": "/v1beta1/{resource=projects/*/locations/*/namespaces/*/workloads/*}:testIamPermissions" } ] }, { - "shortName": "UpdateComponentSettings", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.UpdateComponentSettings", + "shortName": "UpdateEndpoint", + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.UpdateEndpoint", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/settings/v1beta1/{component_settings.name=organizations/*/components/*/settings}" - }, - { - "httpMethod": "PATCH", - "path": "/settings/v1beta1/{component_settings.name=folders/*/components/*/settings}" - }, - { - "httpMethod": "PATCH", - "path": "/settings/v1beta1/{component_settings.name=projects/*/components/*/settings}" - }, - { - "httpMethod": "PATCH", - "path": "/settings/v1beta1/{component_settings.name=projects/*/locations/*/clusters/*/components/*/settings}" - }, - { - "httpMethod": "PATCH", - "path": "/settings/v1beta1/{component_settings.name=projects/*/regions/*/clusters/*/components/*/settings}" - }, - { - "httpMethod": "PATCH", - "path": "/settings/v1beta1/{component_settings.name=projects/*/zones/*/clusters/*/components/*/settings}" + "path": "/v1beta1/{endpoint.name=projects/*/locations/*/namespaces/*/services/*/endpoints/*}" } ] }, { - "shortName": "UpdateSettings", - "fullName": "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService.UpdateSettings", + "shortName": "UpdateNamespace", + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.UpdateNamespace", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/settings/v1beta1/{settings.name=organizations/*/settings}" - }, - { - "httpMethod": "PATCH", - "path": "/settings/v1beta1/{settings.name=folders/*/settings}" - }, - { - "httpMethod": "PATCH", - "path": "/settings/v1beta1/{settings.name=projects/*/settings}" - }, - { - "httpMethod": "PATCH", - "path": "/settings/v1beta1/{settings.name=projects/*/locations/*/clusters/*/settings}" - }, - { - "httpMethod": "PATCH", - "path": "/settings/v1beta1/{settings.name=projects/*/regions/*/clusters/*/settings}" - }, + "path": "/v1beta1/{namespace.name=projects/*/locations/*/namespaces/*}" + } + ] + }, + { + "shortName": "UpdateService", + "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.UpdateService", + "mode": "UNARY", + "bindings": [ { "httpMethod": "PATCH", - "path": "/settings/v1beta1/{settings.name=projects/*/zones/*/clusters/*/settings}" + "path": "/v1beta1/{service.name=projects/*/locations/*/namespaces/*/services/*}" } ] } ] } ], - "configFile": "securitycenter_settings.yaml", + "configFile": "servicedirectory_v1beta1.yaml", "serviceConfigApiNames": [ - "google.cloud.securitycenter.settings.v1beta1.SecurityCenterSettingsService" + "google.cloud.location.Locations", + "google.cloud.servicedirectory.v1beta1.LookupService", + "google.cloud.servicedirectory.v1beta1.RegistrationService" ], - "nameInServiceConfig": "securitycenter.googleapis.com" + "nameInServiceConfig": "servicedirectory.googleapis.com" }, { - "id": "google.cloud.securitycenter.v1", - "directory": "google/cloud/securitycenter/v1", + "id": "google.cloud.servicehealth.v1", + "directory": "google/cloud/servicehealth/v1", "version": "v1", "majorVersion": "v1", - "hostName": "securitycenter.googleapis.com", - "title": "Security Command Center API", - "description": "Security Command Center API provides access to temporal views of assets and findings within an organization.", + "hostName": "servicehealth.googleapis.com", + "title": "Service Health API", + "description": "Personalized Service Health helps you gain visibility into disruptive events impacting Google Cloud products.", "importDirectories": [ "google/api", - "google/cloud/securitycenter/v1", - "google/iam/v1", - "google/longrunning", + "google/cloud/servicehealth/v1", "google/protobuf" ], "options": { "csharp_namespace": { "valueCounts": { - "Google.Cloud.SecurityCenter.V1": 30 + "Google.Cloud.ServiceHealth.V1": 2 } }, "go_package": { "valueCounts": { - "cloud.google.com/go/securitycenter/apiv1/securitycenterpb;securitycenterpb": 30 + "cloud.google.com/go/servicehealth/apiv1/servicehealthpb;servicehealthpb": 2 } }, "java_multiple_files": { "valueCounts": { - "true": 30 + "true": 2 } }, "java_package": { "valueCounts": { - "com.google.cloud.securitycenter.v1": 30 + "com.google.cloud.servicehealth.v1": 2 } }, "php_namespace": { "valueCounts": { - "Google\\Cloud\\SecurityCenter\\V1": 30 + "Google\\Cloud\\ServiceHealth\\V1": 2 } }, "ruby_package": { "valueCounts": { - "Google::Cloud::SecurityCenter::V1": 30 + "Google::Cloud::ServiceHealth::V1": 2 } } }, "services": [ { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter", + "shortName": "ServiceHealth", + "fullName": "google.cloud.servicehealth.v1.ServiceHealth", "methods": [ { - "shortName": "BulkMuteFindings", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.BulkMuteFindings", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1/{parent=organizations/*}/findings:bulkMute" - }, - { - "httpMethod": "POST", - "path": "/v1/{parent=folders/*}/findings:bulkMute" - }, - { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*}/findings:bulkMute" - } - ] - }, - { - "shortName": "CreateBigQueryExport", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.CreateBigQueryExport", + "shortName": "GetEvent", + "fullName": "google.cloud.servicehealth.v1.ServiceHealth.GetEvent", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=organizations/*}/bigQueryExports" - }, - { - "httpMethod": "POST", - "path": "/v1/{parent=folders/*}/bigQueryExports" - }, - { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*}/bigQueryExports" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/events/*}" } ] }, { - "shortName": "CreateFinding", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.CreateFinding", + "shortName": "GetOrganizationEvent", + "fullName": "google.cloud.servicehealth.v1.ServiceHealth.GetOrganizationEvent", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=organizations/*/sources/*}/findings" + "httpMethod": "GET", + "path": "/v1/{name=organizations/*/locations/*/organizationEvents/*}" } ] }, { - "shortName": "CreateMuteConfig", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.CreateMuteConfig", + "shortName": "GetOrganizationImpact", + "fullName": "google.cloud.servicehealth.v1.ServiceHealth.GetOrganizationImpact", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=organizations/*}/muteConfigs" - }, - { - "httpMethod": "POST", - "path": "/v1/{parent=folders/*}/muteConfigs" - }, - { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*}/muteConfigs" + "httpMethod": "GET", + "path": "/v1/{name=organizations/*/locations/*/organizationImpacts/*}" } ] }, { - "shortName": "CreateNotificationConfig", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.CreateNotificationConfig", + "shortName": "ListEvents", + "fullName": "google.cloud.servicehealth.v1.ServiceHealth.ListEvents", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=organizations/*}/notificationConfigs" - }, - { - "httpMethod": "POST", - "path": "/v1/{parent=folders/*}/notificationConfigs" - }, - { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*}/notificationConfigs" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/events" } ] }, { - "shortName": "CreateSource", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.CreateSource", + "shortName": "ListOrganizationEvents", + "fullName": "google.cloud.servicehealth.v1.ServiceHealth.ListOrganizationEvents", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=organizations/*}/sources" + "httpMethod": "GET", + "path": "/v1/{parent=organizations/*/locations/*}/organizationEvents" } ] }, { - "shortName": "DeleteBigQueryExport", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.DeleteBigQueryExport", + "shortName": "ListOrganizationImpacts", + "fullName": "google.cloud.servicehealth.v1.ServiceHealth.ListOrganizationImpacts", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=organizations/*/bigQueryExports/*}" - }, - { - "httpMethod": "DELETE", - "path": "/v1/{name=folders/*/bigQueryExports/*}" - }, - { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/bigQueryExports/*}" + "httpMethod": "GET", + "path": "/v1/{parent=organizations/*/locations/*}/organizationImpacts" } ] - }, + } + ] + } + ], + "configFile": "servicehealth_v1.yaml", + "serviceConfigApiNames": [ + "google.cloud.location.Locations", + "google.cloud.servicehealth.v1.ServiceHealth" + ], + "nameInServiceConfig": "servicehealth.googleapis.com" + }, + { + "id": "google.cloud.shell.v1", + "directory": "google/cloud/shell/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "cloudshell.googleapis.com", + "title": "Cloud Shell API", + "description": "Allows users to start, configure, and connect to interactive shell sessions running in the cloud.", + "importDirectories": [ + "google/api", + "google/longrunning", + "google/protobuf" + ], + "options": { + "go_package": { + "valueCounts": { + "cloud.google.com/go/shell/apiv1/shellpb;shellpb": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.shell.v1": 1 + } + } + }, + "services": [ + { + "shortName": "CloudShellService", + "fullName": "google.cloud.shell.v1.CloudShellService", + "methods": [ { - "shortName": "DeleteMuteConfig", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.DeleteMuteConfig", + "shortName": "AddPublicKey", + "fullName": "google.cloud.shell.v1.CloudShellService.AddPublicKey", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=organizations/*/muteConfigs/*}" - }, - { - "httpMethod": "DELETE", - "path": "/v1/{name=folders/*/muteConfigs/*}" - }, - { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/muteConfigs/*}" + "httpMethod": "POST", + "path": "/v1/{environment=users/*/environments/*}:addPublicKey" } ] }, { - "shortName": "DeleteNotificationConfig", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.DeleteNotificationConfig", + "shortName": "AuthorizeEnvironment", + "fullName": "google.cloud.shell.v1.CloudShellService.AuthorizeEnvironment", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=organizations/*/notificationConfigs/*}" - }, - { - "httpMethod": "DELETE", - "path": "/v1/{name=folders/*/notificationConfigs/*}" - }, - { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/notificationConfigs/*}" + "httpMethod": "POST", + "path": "/v1/{name=users/*/environments/*}:authorize" } ] }, { - "shortName": "GetBigQueryExport", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GetBigQueryExport", + "shortName": "GetEnvironment", + "fullName": "google.cloud.shell.v1.CloudShellService.GetEnvironment", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=organizations/*/bigQueryExports/*}" - }, - { - "httpMethod": "GET", - "path": "/v1/{name=folders/*/bigQueryExports/*}" - }, - { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/bigQueryExports/*}" + "path": "/v1/{name=users/*/environments/*}" } ] }, { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GetIamPolicy", + "shortName": "RemovePublicKey", + "fullName": "google.cloud.shell.v1.CloudShellService.RemovePublicKey", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{resource=organizations/*/sources/*}:getIamPolicy" - } - ] - }, - { - "shortName": "GetMuteConfig", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GetMuteConfig", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1/{name=organizations/*/muteConfigs/*}" - }, - { - "httpMethod": "GET", - "path": "/v1/{name=folders/*/muteConfigs/*}" - }, - { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/muteConfigs/*}" + "path": "/v1/{environment=users/*/environments/*}:removePublicKey" } ] }, { - "shortName": "GetNotificationConfig", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GetNotificationConfig", + "shortName": "StartEnvironment", + "fullName": "google.cloud.shell.v1.CloudShellService.StartEnvironment", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=organizations/*/notificationConfigs/*}" - }, - { - "httpMethod": "GET", - "path": "/v1/{name=folders/*/notificationConfigs/*}" - }, - { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/notificationConfigs/*}" + "httpMethod": "POST", + "path": "/v1/{name=users/*/environments/*}:start" } ] - }, + } + ] + } + ], + "configFile": "cloudshell_v1.yaml", + "serviceConfigApiNames": [ + "google.cloud.shell.v1.CloudShellService", + "google.longrunning.Operations" + ], + "nameInServiceConfig": "cloudshell.googleapis.com" + }, + { + "id": "google.cloud.speech.v1", + "directory": "google/cloud/speech/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "speech.googleapis.com", + "title": "Cloud Speech-to-Text API", + "description": "Converts audio to text by applying powerful neural network models.", + "importDirectories": [ + "google/api", + "google/cloud/speech/v1", + "google/longrunning", + "google/protobuf", + "google/rpc" + ], + "options": { + "cc_enable_arenas": { + "valueCounts": { + "true": 3 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/speech/apiv1/speechpb;speechpb": 3 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 3 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.speech.v1": 3 + } + }, + "objc_class_prefix": { + "valueCounts": { + "GCS": 3 + } + } + }, + "services": [ + { + "shortName": "Adaptation", + "fullName": "google.cloud.speech.v1.Adaptation", + "methods": [ { - "shortName": "GetOrganizationSettings", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GetOrganizationSettings", + "shortName": "CreateCustomClass", + "fullName": "google.cloud.speech.v1.Adaptation.CreateCustomClass", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=organizations/*/organizationSettings}" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/customClasses" } ] }, { - "shortName": "GetSource", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GetSource", + "shortName": "CreatePhraseSet", + "fullName": "google.cloud.speech.v1.Adaptation.CreatePhraseSet", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=organizations/*/sources/*}" + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/phraseSets" } ] }, { - "shortName": "GroupAssets", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GroupAssets", + "shortName": "DeleteCustomClass", + "fullName": "google.cloud.speech.v1.Adaptation.DeleteCustomClass", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=organizations/*}/assets:group" - }, - { - "httpMethod": "POST", - "path": "/v1/{parent=folders/*}/assets:group" - }, - { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*}/assets:group" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/customClasses/*}" } ] }, { - "shortName": "GroupFindings", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.GroupFindings", + "shortName": "DeletePhraseSet", + "fullName": "google.cloud.speech.v1.Adaptation.DeletePhraseSet", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=organizations/*/sources/*}/findings:group" - }, - { - "httpMethod": "POST", - "path": "/v1/{parent=folders/*/sources/*}/findings:group" - }, - { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/sources/*}/findings:group" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/phraseSets/*}" } ] }, { - "shortName": "ListAssets", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListAssets", + "shortName": "GetCustomClass", + "fullName": "google.cloud.speech.v1.Adaptation.GetCustomClass", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=organizations/*}/assets" - }, - { - "httpMethod": "GET", - "path": "/v1/{parent=folders/*}/assets" - }, - { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*}/assets" + "path": "/v1/{name=projects/*/locations/*/customClasses/*}" } ] }, { - "shortName": "ListBigQueryExports", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListBigQueryExports", + "shortName": "GetPhraseSet", + "fullName": "google.cloud.speech.v1.Adaptation.GetPhraseSet", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=organizations/*}/bigQueryExports" - }, - { - "httpMethod": "GET", - "path": "/v1/{parent=folders/*}/bigQueryExports" - }, - { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*}/bigQueryExports" + "path": "/v1/{name=projects/*/locations/*/phraseSets/*}" } ] }, { - "shortName": "ListFindings", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListFindings", + "shortName": "ListCustomClasses", + "fullName": "google.cloud.speech.v1.Adaptation.ListCustomClasses", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=organizations/*/sources/*}/findings" - }, - { - "httpMethod": "GET", - "path": "/v1/{parent=folders/*/sources/*}/findings" - }, - { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/sources/*}/findings" + "path": "/v1/{parent=projects/*/locations/*}/customClasses" } ] }, { - "shortName": "ListMuteConfigs", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListMuteConfigs", + "shortName": "ListPhraseSet", + "fullName": "google.cloud.speech.v1.Adaptation.ListPhraseSet", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=organizations/*}/muteConfigs" - }, - { - "httpMethod": "GET", - "path": "/v1/{parent=folders/*}/muteConfigs" - }, - { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*}/muteConfigs" + "path": "/v1/{parent=projects/*/locations/*}/phraseSets" } ] }, { - "shortName": "ListNotificationConfigs", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListNotificationConfigs", + "shortName": "UpdateCustomClass", + "fullName": "google.cloud.speech.v1.Adaptation.UpdateCustomClass", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=organizations/*}/notificationConfigs" - }, - { - "httpMethod": "GET", - "path": "/v1/{parent=folders/*}/notificationConfigs" - }, - { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*}/notificationConfigs" + "httpMethod": "PATCH", + "path": "/v1/{custom_class.name=projects/*/locations/*/customClasses/*}" } ] }, { - "shortName": "ListSources", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.ListSources", + "shortName": "UpdatePhraseSet", + "fullName": "google.cloud.speech.v1.Adaptation.UpdatePhraseSet", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=organizations/*}/sources" - }, - { - "httpMethod": "GET", - "path": "/v1/{parent=folders/*}/sources" - }, - { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*}/sources" + "httpMethod": "PATCH", + "path": "/v1/{phrase_set.name=projects/*/locations/*/phraseSets/*}" } ] - }, + } + ] + }, + { + "shortName": "Speech", + "fullName": "google.cloud.speech.v1.Speech", + "methods": [ { - "shortName": "RunAssetDiscovery", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.RunAssetDiscovery", + "shortName": "LongRunningRecognize", + "fullName": "google.cloud.speech.v1.Speech.LongRunningRecognize", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=organizations/*}/assets:runDiscovery" + "path": "/v1/speech:longrunningrecognize" } ] }, { - "shortName": "SetFindingState", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.SetFindingState", + "shortName": "Recognize", + "fullName": "google.cloud.speech.v1.Speech.Recognize", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{name=organizations/*/sources/*/findings/*}:setState" - }, - { - "httpMethod": "POST", - "path": "/v1/{name=folders/*/sources/*/findings/*}:setState" - }, - { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/sources/*/findings/*}:setState" + "path": "/v1/speech:recognize" } ] }, { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.SetIamPolicy", + "shortName": "StreamingRecognize", + "fullName": "google.cloud.speech.v1.Speech.StreamingRecognize", + "mode": "BIDIRECTIONAL_STREAMING" + } + ] + } + ], + "configFile": "speech_v1.yaml", + "serviceConfigApiNames": [ + "google.cloud.speech.v1.Adaptation", + "google.cloud.speech.v1.Speech", + "google.longrunning.Operations" + ], + "nameInServiceConfig": "speech.googleapis.com" + }, + { + "id": "google.cloud.speech.v1p1beta1", + "directory": "google/cloud/speech/v1p1beta1", + "version": "v1p1beta1", + "majorVersion": "v1", + "hostName": "speech.googleapis.com", + "title": "Cloud Speech-to-Text API", + "description": "Converts audio to text by applying powerful neural network models.", + "importDirectories": [ + "google/api", + "google/cloud/speech/v1p1beta1", + "google/longrunning", + "google/protobuf", + "google/rpc" + ], + "options": { + "cc_enable_arenas": { + "valueCounts": { + "true": 3 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/speech/apiv1p1beta1/speechpb;speechpb": 3 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 3 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.speech.v1p1beta1": 3 + } + }, + "objc_class_prefix": { + "valueCounts": { + "GCS": 3 + } + } + }, + "services": [ + { + "shortName": "Adaptation", + "fullName": "google.cloud.speech.v1p1beta1.Adaptation", + "methods": [ + { + "shortName": "CreateCustomClass", + "fullName": "google.cloud.speech.v1p1beta1.Adaptation.CreateCustomClass", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{resource=organizations/*/sources/*}:setIamPolicy" + "path": "/v1p1beta1/{parent=projects/*/locations/*}/customClasses" } ] }, { - "shortName": "SetMute", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.SetMute", + "shortName": "CreatePhraseSet", + "fullName": "google.cloud.speech.v1p1beta1.Adaptation.CreatePhraseSet", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{name=organizations/*/sources/*/findings/*}:setMute" - }, - { - "httpMethod": "POST", - "path": "/v1/{name=folders/*/sources/*/findings/*}:setMute" - }, - { - "httpMethod": "POST", - "path": "/v1/{name=projects/*/sources/*/findings/*}:setMute" + "path": "/v1p1beta1/{parent=projects/*/locations/*}/phraseSets" } ] }, { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.TestIamPermissions", + "shortName": "DeleteCustomClass", + "fullName": "google.cloud.speech.v1p1beta1.Adaptation.DeleteCustomClass", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{resource=organizations/*/sources/*}:testIamPermissions" + "httpMethod": "DELETE", + "path": "/v1p1beta1/{name=projects/*/locations/*/customClasses/*}" } ] }, { - "shortName": "UpdateBigQueryExport", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.UpdateBigQueryExport", + "shortName": "DeletePhraseSet", + "fullName": "google.cloud.speech.v1p1beta1.Adaptation.DeletePhraseSet", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{big_query_export.name=organizations/*/bigQueryExports/*}" - }, - { - "httpMethod": "PATCH", - "path": "/v1/{big_query_export.name=folders/*/bigQueryExports/*}" - }, - { - "httpMethod": "PATCH", - "path": "/v1/{big_query_export.name=projects/*/bigQueryExports/*}" + "httpMethod": "DELETE", + "path": "/v1p1beta1/{name=projects/*/locations/*/phraseSets/*}" } ] }, { - "shortName": "UpdateExternalSystem", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.UpdateExternalSystem", + "shortName": "GetCustomClass", + "fullName": "google.cloud.speech.v1p1beta1.Adaptation.GetCustomClass", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{external_system.name=organizations/*/sources/*/findings/*/externalSystems/*}" - }, - { - "httpMethod": "PATCH", - "path": "/v1/{external_system.name=folders/*/sources/*/findings/*/externalSystems/*}" - }, - { - "httpMethod": "PATCH", - "path": "/v1/{external_system.name=projects/*/sources/*/findings/*/externalSystems/*}" + "httpMethod": "GET", + "path": "/v1p1beta1/{name=projects/*/locations/*/customClasses/*}" } ] }, { - "shortName": "UpdateFinding", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.UpdateFinding", + "shortName": "GetPhraseSet", + "fullName": "google.cloud.speech.v1p1beta1.Adaptation.GetPhraseSet", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{finding.name=organizations/*/sources/*/findings/*}" - }, - { - "httpMethod": "PATCH", - "path": "/v1/{finding.name=folders/*/sources/*/findings/*}" - }, - { - "httpMethod": "PATCH", - "path": "/v1/{finding.name=projects/*/sources/*/findings/*}" + "httpMethod": "GET", + "path": "/v1p1beta1/{name=projects/*/locations/*/phraseSets/*}" } ] }, { - "shortName": "UpdateMuteConfig", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.UpdateMuteConfig", + "shortName": "ListCustomClasses", + "fullName": "google.cloud.speech.v1p1beta1.Adaptation.ListCustomClasses", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{mute_config.name=organizations/*/muteConfigs/*}" - }, - { - "httpMethod": "PATCH", - "path": "/v1/{mute_config.name=folders/*/muteConfigs/*}" - }, - { - "httpMethod": "PATCH", - "path": "/v1/{mute_config.name=projects/*/muteConfigs/*}" + "httpMethod": "GET", + "path": "/v1p1beta1/{parent=projects/*/locations/*}/customClasses" } ] }, { - "shortName": "UpdateNotificationConfig", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.UpdateNotificationConfig", + "shortName": "ListPhraseSet", + "fullName": "google.cloud.speech.v1p1beta1.Adaptation.ListPhraseSet", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{notification_config.name=organizations/*/notificationConfigs/*}" - }, - { - "httpMethod": "PATCH", - "path": "/v1/{notification_config.name=folders/*/notificationConfigs/*}" - }, - { - "httpMethod": "PATCH", - "path": "/v1/{notification_config.name=projects/*/notificationConfigs/*}" + "httpMethod": "GET", + "path": "/v1p1beta1/{parent=projects/*/locations/*}/phraseSets" } ] }, { - "shortName": "UpdateOrganizationSettings", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.UpdateOrganizationSettings", + "shortName": "UpdateCustomClass", + "fullName": "google.cloud.speech.v1p1beta1.Adaptation.UpdateCustomClass", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1/{organization_settings.name=organizations/*/organizationSettings}" + "path": "/v1p1beta1/{custom_class.name=projects/*/locations/*/customClasses/*}" } ] }, { - "shortName": "UpdateSecurityMarks", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.UpdateSecurityMarks", + "shortName": "UpdatePhraseSet", + "fullName": "google.cloud.speech.v1p1beta1.Adaptation.UpdatePhraseSet", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1/{security_marks.name=organizations/*/assets/*/securityMarks}" - }, - { - "httpMethod": "PATCH", - "path": "/v1/{security_marks.name=folders/*/assets/*/securityMarks}" - }, - { - "httpMethod": "PATCH", - "path": "/v1/{security_marks.name=projects/*/assets/*/securityMarks}" - }, - { - "httpMethod": "PATCH", - "path": "/v1/{security_marks.name=organizations/*/sources/*/findings/*/securityMarks}" - }, - { - "httpMethod": "PATCH", - "path": "/v1/{security_marks.name=folders/*/sources/*/findings/*/securityMarks}" - }, + "path": "/v1p1beta1/{phrase_set.name=projects/*/locations/*/phraseSets/*}" + } + ] + } + ] + }, + { + "shortName": "Speech", + "fullName": "google.cloud.speech.v1p1beta1.Speech", + "methods": [ + { + "shortName": "LongRunningRecognize", + "fullName": "google.cloud.speech.v1p1beta1.Speech.LongRunningRecognize", + "mode": "UNARY", + "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{security_marks.name=projects/*/sources/*/findings/*/securityMarks}" + "httpMethod": "POST", + "path": "/v1p1beta1/speech:longrunningrecognize" } ] }, { - "shortName": "UpdateSource", - "fullName": "google.cloud.securitycenter.v1.SecurityCenter.UpdateSource", + "shortName": "Recognize", + "fullName": "google.cloud.speech.v1p1beta1.Speech.Recognize", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{source.name=organizations/*/sources/*}" + "httpMethod": "POST", + "path": "/v1p1beta1/speech:recognize" } ] + }, + { + "shortName": "StreamingRecognize", + "fullName": "google.cloud.speech.v1p1beta1.Speech.StreamingRecognize", + "mode": "BIDIRECTIONAL_STREAMING" } ] } ], - "configFile": "securitycenter_v1.yaml", + "configFile": "speech_v1p1beta1.yaml", "serviceConfigApiNames": [ - "google.cloud.securitycenter.v1.SecurityCenter", + "google.cloud.speech.v1p1beta1.Adaptation", + "google.cloud.speech.v1p1beta1.Speech", "google.longrunning.Operations" ], - "nameInServiceConfig": "securitycenter.googleapis.com" + "nameInServiceConfig": "speech.googleapis.com" }, { - "id": "google.cloud.securitycenter.v1beta1", - "directory": "google/cloud/securitycenter/v1beta1", - "version": "v1beta1", - "majorVersion": "v1", - "hostName": "securitycenter.googleapis.com", - "title": "Security Command Center API", - "description": "Security Command Center API provides access to temporal views of assets and findings within an organization.", + "id": "google.cloud.speech.v2", + "directory": "google/cloud/speech/v2", + "version": "v2", + "majorVersion": "v2", + "hostName": "speech.googleapis.com", + "title": "Cloud Speech-to-Text API", + "description": "Converts audio to text by applying powerful neural network models.", "importDirectories": [ "google/api", - "google/cloud/securitycenter/v1beta1", - "google/iam/v1", "google/longrunning", - "google/protobuf" + "google/protobuf", + "google/rpc" ], "options": { "go_package": { "valueCounts": { - "cloud.google.com/go/securitycenter/apiv1beta1/securitycenterpb;securitycenterpb": 7 + "cloud.google.com/go/speech/apiv2/speechpb;speechpb": 1 } }, "java_multiple_files": { "valueCounts": { - "true": 7 + "true": 1 } }, "java_package": { "valueCounts": { - "com.google.cloud.securitycenter.v1beta1": 7 + "com.google.cloud.speech.v2": 1 } } }, "services": [ { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter", + "shortName": "Speech", + "fullName": "google.cloud.speech.v2.Speech", "methods": [ { - "shortName": "CreateFinding", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.CreateFinding", + "shortName": "BatchRecognize", + "fullName": "google.cloud.speech.v2.Speech.BatchRecognize", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{parent=organizations/*/sources/*}/findings" + "path": "/v2/{recognizer=projects/*/locations/*/recognizers/*}:batchRecognize" } ] }, { - "shortName": "CreateSource", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.CreateSource", + "shortName": "CreateCustomClass", + "fullName": "google.cloud.speech.v2.Speech.CreateCustomClass", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{parent=organizations/*}/sources" + "path": "/v2/{parent=projects/*/locations/*}/customClasses" } ] }, { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.GetIamPolicy", + "shortName": "CreatePhraseSet", + "fullName": "google.cloud.speech.v2.Speech.CreatePhraseSet", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{resource=organizations/*/sources/*}:getIamPolicy" + "path": "/v2/{parent=projects/*/locations/*}/phraseSets" } ] }, { - "shortName": "GetOrganizationSettings", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.GetOrganizationSettings", + "shortName": "CreateRecognizer", + "fullName": "google.cloud.speech.v2.Speech.CreateRecognizer", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*}/recognizers" + } + ] + }, + { + "shortName": "DeleteCustomClass", + "fullName": "google.cloud.speech.v2.Speech.DeleteCustomClass", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/locations/*/customClasses/*}" + } + ] + }, + { + "shortName": "DeletePhraseSet", + "fullName": "google.cloud.speech.v2.Speech.DeletePhraseSet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/locations/*/phraseSets/*}" + } + ] + }, + { + "shortName": "DeleteRecognizer", + "fullName": "google.cloud.speech.v2.Speech.DeleteRecognizer", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/locations/*/recognizers/*}" + } + ] + }, + { + "shortName": "GetConfig", + "fullName": "google.cloud.speech.v2.Speech.GetConfig", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta1/{name=organizations/*/organizationSettings}" + "path": "/v2/{name=projects/*/locations/*/config}" } ] }, { - "shortName": "GetSource", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.GetSource", + "shortName": "GetCustomClass", + "fullName": "google.cloud.speech.v2.Speech.GetCustomClass", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta1/{name=organizations/*/sources/*}" + "path": "/v2/{name=projects/*/locations/*/customClasses/*}" } ] }, { - "shortName": "GroupAssets", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.GroupAssets", + "shortName": "GetPhraseSet", + "fullName": "google.cloud.speech.v2.Speech.GetPhraseSet", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta1/{parent=organizations/*}/assets:group" + "httpMethod": "GET", + "path": "/v2/{name=projects/*/locations/*/phraseSets/*}" } ] }, { - "shortName": "GroupFindings", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.GroupFindings", + "shortName": "GetRecognizer", + "fullName": "google.cloud.speech.v2.Speech.GetRecognizer", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta1/{parent=organizations/*/sources/*}/findings:group" + "httpMethod": "GET", + "path": "/v2/{name=projects/*/locations/*/recognizers/*}" } ] }, { - "shortName": "ListAssets", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.ListAssets", + "shortName": "ListCustomClasses", + "fullName": "google.cloud.speech.v2.Speech.ListCustomClasses", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta1/{parent=organizations/*}/assets" + "path": "/v2/{parent=projects/*/locations/*}/customClasses" } ] }, { - "shortName": "ListFindings", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.ListFindings", + "shortName": "ListPhraseSets", + "fullName": "google.cloud.speech.v2.Speech.ListPhraseSets", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta1/{parent=organizations/*/sources/*}/findings" + "path": "/v2/{parent=projects/*/locations/*}/phraseSets" } ] }, { - "shortName": "ListSources", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.ListSources", + "shortName": "ListRecognizers", + "fullName": "google.cloud.speech.v2.Speech.ListRecognizers", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta1/{parent=organizations/*}/sources" + "path": "/v2/{parent=projects/*/locations/*}/recognizers" } ] }, { - "shortName": "RunAssetDiscovery", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.RunAssetDiscovery", + "shortName": "Recognize", + "fullName": "google.cloud.speech.v2.Speech.Recognize", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{parent=organizations/*}/assets:runDiscovery" + "path": "/v2/{recognizer=projects/*/locations/*/recognizers/*}:recognize" } ] }, { - "shortName": "SetFindingState", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.SetFindingState", + "shortName": "StreamingRecognize", + "fullName": "google.cloud.speech.v2.Speech.StreamingRecognize", + "mode": "BIDIRECTIONAL_STREAMING" + }, + { + "shortName": "UndeleteCustomClass", + "fullName": "google.cloud.speech.v2.Speech.UndeleteCustomClass", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{name=organizations/*/sources/*/findings/*}:setState" + "path": "/v2/{name=projects/*/locations/*/customClasses/*}:undelete" } ] }, { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.SetIamPolicy", + "shortName": "UndeletePhraseSet", + "fullName": "google.cloud.speech.v2.Speech.UndeletePhraseSet", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{resource=organizations/*/sources/*}:setIamPolicy" + "path": "/v2/{name=projects/*/locations/*/phraseSets/*}:undelete" } ] }, { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.TestIamPermissions", + "shortName": "UndeleteRecognizer", + "fullName": "google.cloud.speech.v2.Speech.UndeleteRecognizer", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{resource=organizations/*/sources/*}:testIamPermissions" + "path": "/v2/{name=projects/*/locations/*/recognizers/*}:undelete" } ] }, { - "shortName": "UpdateFinding", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.UpdateFinding", + "shortName": "UpdateConfig", + "fullName": "google.cloud.speech.v2.Speech.UpdateConfig", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1beta1/{finding.name=organizations/*/sources/*/findings/*}" + "path": "/v2/{config.name=projects/*/locations/*/config}" } ] }, { - "shortName": "UpdateOrganizationSettings", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.UpdateOrganizationSettings", + "shortName": "UpdateCustomClass", + "fullName": "google.cloud.speech.v2.Speech.UpdateCustomClass", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1beta1/{organization_settings.name=organizations/*/organizationSettings}" + "path": "/v2/{custom_class.name=projects/*/locations/*/customClasses/*}" } ] }, { - "shortName": "UpdateSecurityMarks", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.UpdateSecurityMarks", + "shortName": "UpdatePhraseSet", + "fullName": "google.cloud.speech.v2.Speech.UpdatePhraseSet", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1beta1/{security_marks.name=organizations/*/assets/*/securityMarks}" - }, - { - "httpMethod": "PATCH", - "path": "/v1beta1/{security_marks.name=organizations/*/sources/*/findings/*/securityMarks}" + "path": "/v2/{phrase_set.name=projects/*/locations/*/phraseSets/*}" } ] }, { - "shortName": "UpdateSource", - "fullName": "google.cloud.securitycenter.v1beta1.SecurityCenter.UpdateSource", + "shortName": "UpdateRecognizer", + "fullName": "google.cloud.speech.v2.Speech.UpdateRecognizer", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1beta1/{source.name=organizations/*/sources/*}" + "path": "/v2/{recognizer.name=projects/*/locations/*/recognizers/*}" } ] } ] } ], - "configFile": "securitycenter_v1beta1.yaml", + "configFile": "speech_v2.yaml", "serviceConfigApiNames": [ - "google.cloud.securitycenter.v1beta1.SecurityCenter" + "google.cloud.location.Locations", + "google.cloud.speech.v2.Speech", + "google.longrunning.Operations" ], - "nameInServiceConfig": "securitycenter.googleapis.com" + "nameInServiceConfig": "speech.googleapis.com" }, { - "id": "google.cloud.securitycenter.v1p1beta1", - "directory": "google/cloud/securitycenter/v1p1beta1", - "version": "v1p1beta1", + "id": "google.cloud.sql.v1", + "directory": "google/cloud/sql/v1", + "version": "v1", "majorVersion": "v1", - "hostName": "securitycenter.googleapis.com", - "title": "Security Command Center API", - "description": "Security Command Center API provides access to temporal views of assets and findings within an organization.", + "hostName": "sqladmin.googleapis.com", + "title": "Cloud SQL Admin API", + "description": "API for Cloud SQL database instance management", "importDirectories": [ "google/api", - "google/cloud/securitycenter/v1p1beta1", - "google/iam/v1", - "google/longrunning", + "google/cloud/sql/v1", "google/protobuf" ], "options": { - "csharp_namespace": { - "valueCounts": { - "Google.Cloud.SecurityCenter.V1P1Beta1": 11 - } - }, "go_package": { "valueCounts": { - "cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb;securitycenterpb": 11 + "cloud.google.com/go/sql/apiv1/sqlpb;sqlpb": 15 } }, "java_multiple_files": { "valueCounts": { - "true": 11 + "true": 15 } }, "java_package": { "valueCounts": { - "com.google.cloud.securitycenter.v1p1beta1": 11 - } - }, - "php_namespace": { - "valueCounts": { - "Google\\Cloud\\SecurityCenter\\V1p1beta1": 11 - } - }, - "ruby_package": { - "valueCounts": { - "Google::Cloud::SecurityCenter::V1p1Beta1": 1, - "Google::Cloud::SecurityCenter::V1p1beta1": 10 + "com.google.cloud.sql.v1": 15 } } }, "services": [ { - "shortName": "SecurityCenter", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter", + "shortName": "SqlAvailableDatabaseVersionsService", + "fullName": "google.cloud.sql.v1.SqlAvailableDatabaseVersionsService" + }, + { + "shortName": "SqlBackupRunsService", + "fullName": "google.cloud.sql.v1.SqlBackupRunsService", "methods": [ { - "shortName": "CreateFinding", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.CreateFinding", + "shortName": "Delete", + "fullName": "google.cloud.sql.v1.SqlBackupRunsService.Delete", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1p1beta1/{parent=organizations/*/sources/*}/findings" + "httpMethod": "DELETE", + "path": "/v1/projects/{project}/instances/{instance}/backupRuns/{id}" } ] }, { - "shortName": "CreateNotificationConfig", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.CreateNotificationConfig", + "shortName": "Get", + "fullName": "google.cloud.sql.v1.SqlBackupRunsService.Get", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1p1beta1/{parent=organizations/*}/notificationConfigs" + "httpMethod": "GET", + "path": "/v1/projects/{project}/instances/{instance}/backupRuns/{id}" } ] }, { - "shortName": "CreateSource", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.CreateSource", + "shortName": "Insert", + "fullName": "google.cloud.sql.v1.SqlBackupRunsService.Insert", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1p1beta1/{parent=organizations/*}/sources" + "path": "/v1/projects/{project}/instances/{instance}/backupRuns" } ] }, { - "shortName": "DeleteNotificationConfig", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.DeleteNotificationConfig", + "shortName": "List", + "fullName": "google.cloud.sql.v1.SqlBackupRunsService.List", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1p1beta1/{name=organizations/*/notificationConfigs/*}" + "httpMethod": "GET", + "path": "/v1/projects/{project}/instances/{instance}/backupRuns" } ] - }, + } + ] + }, + { + "shortName": "SqlConnectService", + "fullName": "google.cloud.sql.v1.SqlConnectService", + "methods": [ { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.GetIamPolicy", + "shortName": "GenerateEphemeralCert", + "fullName": "google.cloud.sql.v1.SqlConnectService.GenerateEphemeralCert", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1p1beta1/{resource=organizations/*/sources/*}:getIamPolicy" + "path": "/v1/projects/{project}/instances/{instance}:generateEphemeralCert" } ] }, { - "shortName": "GetNotificationConfig", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.GetNotificationConfig", + "shortName": "GetConnectSettings", + "fullName": "google.cloud.sql.v1.SqlConnectService.GetConnectSettings", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1p1beta1/{name=organizations/*/notificationConfigs/*}" + "path": "/v1/projects/{project}/instances/{instance}/connectSettings" } ] - }, + } + ] + }, + { + "shortName": "SqlDatabasesService", + "fullName": "google.cloud.sql.v1.SqlDatabasesService", + "methods": [ { - "shortName": "GetOrganizationSettings", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.GetOrganizationSettings", + "shortName": "Delete", + "fullName": "google.cloud.sql.v1.SqlDatabasesService.Delete", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1p1beta1/{name=organizations/*/organizationSettings}" + "httpMethod": "DELETE", + "path": "/v1/projects/{project}/instances/{instance}/databases/{database}" } ] }, { - "shortName": "GetSource", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.GetSource", + "shortName": "Get", + "fullName": "google.cloud.sql.v1.SqlDatabasesService.Get", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1p1beta1/{name=organizations/*/sources/*}" - } - ] - }, - { - "shortName": "GroupAssets", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.GroupAssets", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1p1beta1/{parent=organizations/*}/assets:group" - }, - { - "httpMethod": "POST", - "path": "/v1p1beta1/{parent=folders/*}/assets:group" - }, - { - "httpMethod": "POST", - "path": "/v1p1beta1/{parent=projects/*}/assets:group" + "path": "/v1/projects/{project}/instances/{instance}/databases/{database}" } ] }, { - "shortName": "GroupFindings", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.GroupFindings", + "shortName": "Insert", + "fullName": "google.cloud.sql.v1.SqlDatabasesService.Insert", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1p1beta1/{parent=organizations/*/sources/*}/findings:group" - }, - { - "httpMethod": "POST", - "path": "/v1p1beta1/{parent=folders/*/sources/*}/findings:group" - }, - { - "httpMethod": "POST", - "path": "/v1p1beta1/{parent=projects/*/sources/*}/findings:group" + "path": "/v1/projects/{project}/instances/{instance}/databases" } ] }, { - "shortName": "ListAssets", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.ListAssets", + "shortName": "List", + "fullName": "google.cloud.sql.v1.SqlDatabasesService.List", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1p1beta1/{parent=organizations/*}/assets" - }, - { - "httpMethod": "GET", - "path": "/v1p1beta1/{parent=folders/*}/assets" - }, - { - "httpMethod": "GET", - "path": "/v1p1beta1/{parent=projects/*}/assets" + "path": "/v1/projects/{project}/instances/{instance}/databases" } ] }, { - "shortName": "ListFindings", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.ListFindings", + "shortName": "Patch", + "fullName": "google.cloud.sql.v1.SqlDatabasesService.Patch", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1p1beta1/{parent=organizations/*/sources/*}/findings" - }, - { - "httpMethod": "GET", - "path": "/v1p1beta1/{parent=folders/*/sources/*}/findings" - }, - { - "httpMethod": "GET", - "path": "/v1p1beta1/{parent=projects/*/sources/*}/findings" + "httpMethod": "PATCH", + "path": "/v1/projects/{project}/instances/{instance}/databases/{database}" } ] }, { - "shortName": "ListNotificationConfigs", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.ListNotificationConfigs", + "shortName": "Update", + "fullName": "google.cloud.sql.v1.SqlDatabasesService.Update", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1p1beta1/{parent=organizations/*}/notificationConfigs" + "httpMethod": "PUT", + "path": "/v1/projects/{project}/instances/{instance}/databases/{database}" } ] - }, + } + ] + }, + { + "shortName": "SqlEventsService", + "fullName": "google.cloud.sql.v1.SqlEventsService" + }, + { + "shortName": "SqlFlagsService", + "fullName": "google.cloud.sql.v1.SqlFlagsService", + "methods": [ { - "shortName": "ListSources", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.ListSources", + "shortName": "List", + "fullName": "google.cloud.sql.v1.SqlFlagsService.List", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1p1beta1/{parent=organizations/*}/sources" - }, - { - "httpMethod": "GET", - "path": "/v1p1beta1/{parent=folders/*}/sources" - }, - { - "httpMethod": "GET", - "path": "/v1p1beta1/{parent=projects/*}/sources" - } - ] - }, - { - "shortName": "RunAssetDiscovery", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.RunAssetDiscovery", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1p1beta1/{parent=organizations/*}/assets:runDiscovery" + "path": "/v1/flags" } ] - }, + } + ] + }, + { + "shortName": "SqlIamPoliciesService", + "fullName": "google.cloud.sql.v1.SqlIamPoliciesService" + }, + { + "shortName": "SqlInstanceNamesService", + "fullName": "google.cloud.sql.v1.SqlInstanceNamesService" + }, + { + "shortName": "SqlInstancesService", + "fullName": "google.cloud.sql.v1.SqlInstancesService", + "methods": [ { - "shortName": "SetFindingState", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.SetFindingState", + "shortName": "AddServerCa", + "fullName": "google.cloud.sql.v1.SqlInstancesService.AddServerCa", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1p1beta1/{name=organizations/*/sources/*/findings/*}:setState" - }, - { - "httpMethod": "POST", - "path": "/v1p1beta1/{name=folders/*/sources/*/findings/*}:setState" - }, - { - "httpMethod": "POST", - "path": "/v1p1beta1/{name=projects/*/sources/*/findings/*}:setState" + "path": "/v1/projects/{project}/instances/{instance}/addServerCa" } ] }, { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.SetIamPolicy", + "shortName": "Clone", + "fullName": "google.cloud.sql.v1.SqlInstancesService.Clone", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1p1beta1/{resource=organizations/*/sources/*}:setIamPolicy" + "path": "/v1/projects/{project}/instances/{instance}/clone" } ] }, { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.TestIamPermissions", + "shortName": "CreateEphemeral", + "fullName": "google.cloud.sql.v1.SqlInstancesService.CreateEphemeral", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1p1beta1/{resource=organizations/*/sources/*}:testIamPermissions" - } - ] - }, - { - "shortName": "UpdateFinding", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.UpdateFinding", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "PATCH", - "path": "/v1p1beta1/{finding.name=organizations/*/sources/*/findings/*}" - }, - { - "httpMethod": "PATCH", - "path": "/v1p1beta1/{finding.name=folders/*/sources/*/findings/*}" - }, - { - "httpMethod": "PATCH", - "path": "/v1p1beta1/{finding.name=projects/*/sources/*/findings/*}" - } - ] - }, - { - "shortName": "UpdateNotificationConfig", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.UpdateNotificationConfig", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "PATCH", - "path": "/v1p1beta1/{notification_config.name=organizations/*/notificationConfigs/*}" - } - ] - }, - { - "shortName": "UpdateOrganizationSettings", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.UpdateOrganizationSettings", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "PATCH", - "path": "/v1p1beta1/{organization_settings.name=organizations/*/organizationSettings}" + "path": "/v1/projects/{project}/instances/{instance}/createEphemeral" } ] }, { - "shortName": "UpdateSecurityMarks", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.UpdateSecurityMarks", + "shortName": "Delete", + "fullName": "google.cloud.sql.v1.SqlInstancesService.Delete", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1p1beta1/{security_marks.name=organizations/*/assets/*/securityMarks}" - }, - { - "httpMethod": "PATCH", - "path": "/v1p1beta1/{security_marks.name=folders/*/assets/*/securityMarks}" - }, - { - "httpMethod": "PATCH", - "path": "/v1p1beta1/{security_marks.name=projects/*/assets/*/securityMarks}" - }, - { - "httpMethod": "PATCH", - "path": "/v1p1beta1/{security_marks.name=organizations/*/sources/*/findings/*/securityMarks}" - }, - { - "httpMethod": "PATCH", - "path": "/v1p1beta1/{security_marks.name=folders/*/sources/*/findings/*/securityMarks}" - }, - { - "httpMethod": "PATCH", - "path": "/v1p1beta1/{security_marks.name=projects/*/sources/*/findings/*/securityMarks}" + "httpMethod": "DELETE", + "path": "/v1/projects/{project}/instances/{instance}" } ] }, { - "shortName": "UpdateSource", - "fullName": "google.cloud.securitycenter.v1p1beta1.SecurityCenter.UpdateSource", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "PATCH", - "path": "/v1p1beta1/{source.name=organizations/*/sources/*}" - } - ] - } - ] - } - ], - "configFile": "securitycenter_v1p1beta1.yaml", - "serviceConfigApiNames": [ - "google.cloud.securitycenter.v1p1beta1.SecurityCenter" - ], - "nameInServiceConfig": "securitycenter.googleapis.com" - }, - { - "id": "google.cloud.servicedirectory.v1", - "directory": "google/cloud/servicedirectory/v1", - "version": "v1", - "majorVersion": "v1", - "hostName": "servicedirectory.googleapis.com", - "title": "Service Directory API", - "description": "Service Directory is a platform for discovering, publishing, and connecting services.", - "importDirectories": [ - "google/api", - "google/cloud/servicedirectory/v1", - "google/iam/v1", - "google/protobuf" - ], - "options": { - "cc_enable_arenas": { - "valueCounts": { - "true": 5 - } - }, - "csharp_namespace": { - "valueCounts": { - "Google.Cloud.ServiceDirectory.V1": 5 - } - }, - "go_package": { - "valueCounts": { - "cloud.google.com/go/servicedirectory/apiv1/servicedirectorypb;servicedirectorypb": 5 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 5 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.servicedirectory.v1": 5 - } - }, - "php_namespace": { - "valueCounts": { - "Google\\Cloud\\ServiceDirectory\\V1": 5 - } - }, - "ruby_package": { - "valueCounts": { - "Google::Cloud::ServiceDirectory::V1": 5 - } - } - }, - "services": [ - { - "shortName": "LookupService", - "fullName": "google.cloud.servicedirectory.v1.LookupService", - "methods": [ - { - "shortName": "ResolveService", - "fullName": "google.cloud.servicedirectory.v1.LookupService.ResolveService", + "shortName": "Demote", + "fullName": "google.cloud.sql.v1.SqlInstancesService.Demote", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{name=projects/*/locations/*/namespaces/*/services/*}:resolve" + "path": "/v1/projects/{project}/instances/{instance}/demote" } ] - } - ] - }, - { - "shortName": "RegistrationService", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService", - "methods": [ - { - "shortName": "CreateEndpoint", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService.CreateEndpoint", + }, + { + "shortName": "DemoteMaster", + "fullName": "google.cloud.sql.v1.SqlInstancesService.DemoteMaster", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*/namespaces/*/services/*}/endpoints" + "path": "/v1/projects/{project}/instances/{instance}/demoteMaster" } ] }, { - "shortName": "CreateNamespace", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService.CreateNamespace", + "shortName": "Export", + "fullName": "google.cloud.sql.v1.SqlInstancesService.Export", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/namespaces" + "path": "/v1/projects/{project}/instances/{instance}/export" } ] }, { - "shortName": "CreateService", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService.CreateService", + "shortName": "Failover", + "fullName": "google.cloud.sql.v1.SqlInstancesService.Failover", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*/namespaces/*}/services" + "path": "/v1/projects/{project}/instances/{instance}/failover" } ] }, { - "shortName": "DeleteEndpoint", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService.DeleteEndpoint", + "shortName": "Get", + "fullName": "google.cloud.sql.v1.SqlInstancesService.Get", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/namespaces/*/services/*/endpoints/*}" + "httpMethod": "GET", + "path": "/v1/projects/{project}/instances/{instance}" } ] }, { - "shortName": "DeleteNamespace", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService.DeleteNamespace", + "shortName": "GetDiskShrinkConfig", + "fullName": "google.cloud.sql.v1.SqlInstancesService.GetDiskShrinkConfig", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/namespaces/*}" + "httpMethod": "GET", + "path": "/v1/projects/{project}/instances/{instance}/getDiskShrinkConfig" } ] }, { - "shortName": "DeleteService", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService.DeleteService", + "shortName": "GetLatestRecoveryTime", + "fullName": "google.cloud.sql.v1.SqlInstancesService.GetLatestRecoveryTime", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/namespaces/*/services/*}" + "httpMethod": "GET", + "path": "/v1/projects/{project}/instances/{instance}/getLatestRecoveryTime" } ] }, { - "shortName": "GetEndpoint", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService.GetEndpoint", + "shortName": "Import", + "fullName": "google.cloud.sql.v1.SqlInstancesService.Import", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/namespaces/*/services/*/endpoints/*}" + "httpMethod": "POST", + "path": "/v1/projects/{project}/instances/{instance}/import" } ] }, { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService.GetIamPolicy", + "shortName": "Insert", + "fullName": "google.cloud.sql.v1.SqlInstancesService.Insert", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{resource=projects/*/locations/*/namespaces/*}:getIamPolicy" - }, - { - "httpMethod": "POST", - "path": "/v1/{resource=projects/*/locations/*/namespaces/*/services/*}:getIamPolicy" + "path": "/v1/projects/{project}/instances" } ] }, { - "shortName": "GetNamespace", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService.GetNamespace", + "shortName": "List", + "fullName": "google.cloud.sql.v1.SqlInstancesService.List", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/namespaces/*}" + "path": "/v1/projects/{project}/instances" } ] }, { - "shortName": "GetService", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService.GetService", + "shortName": "ListServerCas", + "fullName": "google.cloud.sql.v1.SqlInstancesService.ListServerCas", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/namespaces/*/services/*}" + "path": "/v1/projects/{project}/instances/{instance}/listServerCas" } ] }, { - "shortName": "ListEndpoints", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService.ListEndpoints", + "shortName": "Patch", + "fullName": "google.cloud.sql.v1.SqlInstancesService.Patch", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*/namespaces/*/services/*}/endpoints" + "httpMethod": "PATCH", + "path": "/v1/projects/{project}/instances/{instance}" } ] }, { - "shortName": "ListNamespaces", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService.ListNamespaces", + "shortName": "PerformDiskShrink", + "fullName": "google.cloud.sql.v1.SqlInstancesService.PerformDiskShrink", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/namespaces" + "httpMethod": "POST", + "path": "/v1/projects/{project}/instances/{instance}/performDiskShrink" } ] }, { - "shortName": "ListServices", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService.ListServices", + "shortName": "PromoteReplica", + "fullName": "google.cloud.sql.v1.SqlInstancesService.PromoteReplica", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*/namespaces/*}/services" + "httpMethod": "POST", + "path": "/v1/projects/{project}/instances/{instance}/promoteReplica" } ] }, { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService.SetIamPolicy", + "shortName": "Reencrypt", + "fullName": "google.cloud.sql.v1.SqlInstancesService.Reencrypt", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{resource=projects/*/locations/*/namespaces/*}:setIamPolicy" - }, - { - "httpMethod": "POST", - "path": "/v1/{resource=projects/*/locations/*/namespaces/*/services/*}:setIamPolicy" + "path": "/v1/projects/{project}/instances/{instance}/reencrypt" } ] }, { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService.TestIamPermissions", + "shortName": "RescheduleMaintenance", + "fullName": "google.cloud.sql.v1.SqlInstancesService.RescheduleMaintenance", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{resource=projects/*/locations/*/namespaces/*}:testIamPermissions" - }, - { - "httpMethod": "POST", - "path": "/v1/{resource=projects/*/locations/*/namespaces/*/services/*}:testIamPermissions" + "path": "/v1/projects/{project}/instances/{instance}/rescheduleMaintenance" } ] }, { - "shortName": "UpdateEndpoint", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService.UpdateEndpoint", + "shortName": "ResetReplicaSize", + "fullName": "google.cloud.sql.v1.SqlInstancesService.ResetReplicaSize", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{endpoint.name=projects/*/locations/*/namespaces/*/services/*/endpoints/*}" + "httpMethod": "POST", + "path": "/v1/projects/{project}/instances/{instance}/resetReplicaSize" } ] }, { - "shortName": "UpdateNamespace", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService.UpdateNamespace", + "shortName": "ResetSslConfig", + "fullName": "google.cloud.sql.v1.SqlInstancesService.ResetSslConfig", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{namespace.name=projects/*/locations/*/namespaces/*}" + "httpMethod": "POST", + "path": "/v1/projects/{project}/instances/{instance}/resetSslConfig" } ] }, { - "shortName": "UpdateService", - "fullName": "google.cloud.servicedirectory.v1.RegistrationService.UpdateService", + "shortName": "Restart", + "fullName": "google.cloud.sql.v1.SqlInstancesService.Restart", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{service.name=projects/*/locations/*/namespaces/*/services/*}" + "httpMethod": "POST", + "path": "/v1/projects/{project}/instances/{instance}/restart" } ] - } - ] - } - ], - "configFile": "servicedirectory_v1.yaml", - "serviceConfigApiNames": [ - "google.cloud.servicedirectory.v1.LookupService", - "google.cloud.servicedirectory.v1.RegistrationService" - ], - "nameInServiceConfig": "servicedirectory.googleapis.com" - }, - { - "id": "google.cloud.servicedirectory.v1beta1", - "directory": "google/cloud/servicedirectory/v1beta1", - "version": "v1beta1", - "majorVersion": "v1", - "hostName": "servicedirectory.googleapis.com", - "title": "Service Directory API", - "description": "Service Directory is a platform for discovering, publishing, and connecting services.", - "importDirectories": [ - "google/api", - "google/cloud/servicedirectory/v1beta1", - "google/iam/v1", - "google/protobuf" - ], - "options": { - "cc_enable_arenas": { - "valueCounts": { - "true": 5 - } - }, - "csharp_namespace": { - "valueCounts": { - "Google.Cloud.ServiceDirectory.V1Beta1": 5 - } - }, - "go_package": { - "valueCounts": { - "cloud.google.com/go/servicedirectory/apiv1beta1/servicedirectorypb;servicedirectorypb": 5 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 5 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.servicedirectory.v1beta1": 5 - } - }, - "php_namespace": { - "valueCounts": { - "Google\\Cloud\\ServiceDirectory\\V1beta1": 5 - } - }, - "ruby_package": { - "valueCounts": { - "Google::Cloud::ServiceDirectory::V1beta1": 5 - } - } - }, - "services": [ - { - "shortName": "LookupService", - "fullName": "google.cloud.servicedirectory.v1beta1.LookupService", - "methods": [ + }, { - "shortName": "ResolveService", - "fullName": "google.cloud.servicedirectory.v1beta1.LookupService.ResolveService", + "shortName": "RestoreBackup", + "fullName": "google.cloud.sql.v1.SqlInstancesService.RestoreBackup", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{name=projects/*/locations/*/namespaces/*/services/*}:resolve" + "path": "/v1/projects/{project}/instances/{instance}/restoreBackup" } ] - } - ] - }, - { - "shortName": "RegistrationService", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService", - "methods": [ + }, { - "shortName": "CreateEndpoint", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.CreateEndpoint", + "shortName": "RotateServerCa", + "fullName": "google.cloud.sql.v1.SqlInstancesService.RotateServerCa", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{parent=projects/*/locations/*/namespaces/*/services/*}/endpoints" + "path": "/v1/projects/{project}/instances/{instance}/rotateServerCa" } ] }, { - "shortName": "CreateNamespace", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.CreateNamespace", + "shortName": "StartExternalSync", + "fullName": "google.cloud.sql.v1.SqlInstancesService.StartExternalSync", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{parent=projects/*/locations/*}/namespaces" + "path": "/v1/projects/{project}/instances/{instance}/startExternalSync" } ] }, { - "shortName": "CreateService", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.CreateService", + "shortName": "StartReplica", + "fullName": "google.cloud.sql.v1.SqlInstancesService.StartReplica", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{parent=projects/*/locations/*/namespaces/*}/services" + "path": "/v1/projects/{project}/instances/{instance}/startReplica" } ] }, { - "shortName": "DeleteEndpoint", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.DeleteEndpoint", + "shortName": "StopReplica", + "fullName": "google.cloud.sql.v1.SqlInstancesService.StopReplica", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1beta1/{name=projects/*/locations/*/namespaces/*/services/*/endpoints/*}" + "httpMethod": "POST", + "path": "/v1/projects/{project}/instances/{instance}/stopReplica" } ] }, { - "shortName": "DeleteNamespace", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.DeleteNamespace", + "shortName": "Switchover", + "fullName": "google.cloud.sql.v1.SqlInstancesService.Switchover", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1beta1/{name=projects/*/locations/*/namespaces/*}" + "httpMethod": "POST", + "path": "/v1/projects/{project}/instances/{instance}/switchover" } ] }, { - "shortName": "DeleteService", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.DeleteService", + "shortName": "TruncateLog", + "fullName": "google.cloud.sql.v1.SqlInstancesService.TruncateLog", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1beta1/{name=projects/*/locations/*/namespaces/*/services/*}" + "httpMethod": "POST", + "path": "/v1/projects/{project}/instances/{instance}/truncateLog" } ] }, { - "shortName": "GetEndpoint", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.GetEndpoint", + "shortName": "Update", + "fullName": "google.cloud.sql.v1.SqlInstancesService.Update", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{name=projects/*/locations/*/namespaces/*/services/*/endpoints/*}" + "httpMethod": "PUT", + "path": "/v1/projects/{project}/instances/{instance}" } ] }, { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.GetIamPolicy", + "shortName": "VerifyExternalSyncSettings", + "fullName": "google.cloud.sql.v1.SqlInstancesService.VerifyExternalSyncSettings", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{resource=projects/*/locations/*/namespaces/*}:getIamPolicy" - }, + "path": "/v1/projects/{project}/instances/{instance}/verifyExternalSyncSettings" + } + ] + } + ] + }, + { + "shortName": "SqlOperationsService", + "fullName": "google.cloud.sql.v1.SqlOperationsService", + "methods": [ + { + "shortName": "Cancel", + "fullName": "google.cloud.sql.v1.SqlOperationsService.Cancel", + "mode": "UNARY", + "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{resource=projects/*/locations/*/namespaces/*/services/*}:getIamPolicy" + "path": "/v1/projects/{project}/operations/{operation}/cancel" } ] }, { - "shortName": "GetNamespace", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.GetNamespace", + "shortName": "Get", + "fullName": "google.cloud.sql.v1.SqlOperationsService.Get", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta1/{name=projects/*/locations/*/namespaces/*}" + "path": "/v1/projects/{project}/operations/{operation}" } ] }, { - "shortName": "GetService", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.GetService", + "shortName": "List", + "fullName": "google.cloud.sql.v1.SqlOperationsService.List", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta1/{name=projects/*/locations/*/namespaces/*/services/*}" + "path": "/v1/projects/{project}/operations" + } + ] + } + ] + }, + { + "shortName": "SqlRegionsService", + "fullName": "google.cloud.sql.v1.SqlRegionsService" + }, + { + "shortName": "SqlSslCertsService", + "fullName": "google.cloud.sql.v1.SqlSslCertsService", + "methods": [ + { + "shortName": "Delete", + "fullName": "google.cloud.sql.v1.SqlSslCertsService.Delete", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/projects/{project}/instances/{instance}/sslCerts/{sha1_fingerprint}" } ] }, { - "shortName": "ListEndpoints", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.ListEndpoints", + "shortName": "Get", + "fullName": "google.cloud.sql.v1.SqlSslCertsService.Get", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta1/{parent=projects/*/locations/*/namespaces/*/services/*}/endpoints" + "path": "/v1/projects/{project}/instances/{instance}/sslCerts/{sha1_fingerprint}" } ] }, { - "shortName": "ListNamespaces", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.ListNamespaces", + "shortName": "Insert", + "fullName": "google.cloud.sql.v1.SqlSslCertsService.Insert", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{parent=projects/*/locations/*}/namespaces" + "httpMethod": "POST", + "path": "/v1/projects/{project}/instances/{instance}/sslCerts" } ] }, { - "shortName": "ListServices", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.ListServices", + "shortName": "List", + "fullName": "google.cloud.sql.v1.SqlSslCertsService.List", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1beta1/{parent=projects/*/locations/*/namespaces/*}/services" + "path": "/v1/projects/{project}/instances/{instance}/sslCerts" } ] - }, + } + ] + }, + { + "shortName": "SqlTiersService", + "fullName": "google.cloud.sql.v1.SqlTiersService", + "methods": [ { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.SetIamPolicy", + "shortName": "List", + "fullName": "google.cloud.sql.v1.SqlTiersService.List", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta1/{resource=projects/*/locations/*/namespaces/*}:setIamPolicy" - }, + "httpMethod": "GET", + "path": "/v1/projects/{project}/tiers" + } + ] + } + ] + }, + { + "shortName": "SqlUsersService", + "fullName": "google.cloud.sql.v1.SqlUsersService", + "methods": [ + { + "shortName": "Delete", + "fullName": "google.cloud.sql.v1.SqlUsersService.Delete", + "mode": "UNARY", + "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta1/{resource=projects/*/locations/*/namespaces/*/services/*}:setIamPolicy" + "httpMethod": "DELETE", + "path": "/v1/projects/{project}/instances/{instance}/users" } ] }, { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.TestIamPermissions", + "shortName": "Get", + "fullName": "google.cloud.sql.v1.SqlUsersService.Get", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1beta1/{resource=projects/*/locations/*/namespaces/*}:testIamPermissions" - }, - { - "httpMethod": "POST", - "path": "/v1beta1/{resource=projects/*/locations/*/namespaces/*/services/*}:testIamPermissions" + "httpMethod": "GET", + "path": "/v1/projects/{project}/instances/{instance}/users/{name}" } ] }, { - "shortName": "UpdateEndpoint", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.UpdateEndpoint", + "shortName": "Insert", + "fullName": "google.cloud.sql.v1.SqlUsersService.Insert", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1beta1/{endpoint.name=projects/*/locations/*/namespaces/*/services/*/endpoints/*}" + "httpMethod": "POST", + "path": "/v1/projects/{project}/instances/{instance}/users" } ] }, { - "shortName": "UpdateNamespace", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.UpdateNamespace", + "shortName": "List", + "fullName": "google.cloud.sql.v1.SqlUsersService.List", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1beta1/{namespace.name=projects/*/locations/*/namespaces/*}" + "httpMethod": "GET", + "path": "/v1/projects/{project}/instances/{instance}/users" } ] }, { - "shortName": "UpdateService", - "fullName": "google.cloud.servicedirectory.v1beta1.RegistrationService.UpdateService", + "shortName": "Update", + "fullName": "google.cloud.sql.v1.SqlUsersService.Update", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1beta1/{service.name=projects/*/locations/*/namespaces/*/services/*}" + "httpMethod": "PUT", + "path": "/v1/projects/{project}/instances/{instance}/users" } ] } ] } ], - "configFile": "servicedirectory_v1beta1.yaml", + "configFile": "sqladmin_v1.yaml", "serviceConfigApiNames": [ - "google.cloud.servicedirectory.v1beta1.LookupService", - "google.cloud.servicedirectory.v1beta1.RegistrationService" + "google.cloud.location.Locations", + "google.cloud.sql.v1.SqlBackupRunsService", + "google.cloud.sql.v1.SqlConnectService", + "google.cloud.sql.v1.SqlDatabasesService", + "google.cloud.sql.v1.SqlFlagsService", + "google.cloud.sql.v1.SqlInstancesService", + "google.cloud.sql.v1.SqlOperationsService", + "google.cloud.sql.v1.SqlSslCertsService", + "google.cloud.sql.v1.SqlTiersService", + "google.cloud.sql.v1.SqlUsersService", + "google.longrunning.Operations" ], - "nameInServiceConfig": "servicedirectory.googleapis.com" + "nameInServiceConfig": "sqladmin.googleapis.com" }, { - "id": "google.cloud.shell.v1", - "directory": "google/cloud/shell/v1", - "version": "v1", + "id": "google.cloud.sql.v1beta4", + "directory": "google/cloud/sql/v1beta4", + "version": "v1beta4", "majorVersion": "v1", - "hostName": "cloudshell.googleapis.com", - "title": "Cloud Shell API", - "description": "Allows users to start, configure, and connect to interactive shell sessions running in the cloud.", + "hostName": "sqladmin.googleapis.com", + "title": "Cloud SQL Admin API", + "description": "API for Cloud SQL database instance management", "importDirectories": [ "google/api", - "google/longrunning", + "google/cloud/sql/v1beta4", "google/protobuf" ], "options": { "go_package": { "valueCounts": { - "cloud.google.com/go/shell/apiv1/shellpb;shellpb": 1 + "cloud.google.com/go/sql/apiv1beta4/sqlpb;sqlpb": 6 } }, "java_multiple_files": { "valueCounts": { - "true": 1 + "true": 6 } }, "java_package": { "valueCounts": { - "com.google.cloud.shell.v1": 1 + "com.google.cloud.sql.v1beta4": 6 } } }, "services": [ { - "shortName": "CloudShellService", - "fullName": "google.cloud.shell.v1.CloudShellService", + "shortName": "SqlBackupRunsService", + "fullName": "google.cloud.sql.v1beta4.SqlBackupRunsService", + "methods": [ + { + "shortName": "Delete", + "fullName": "google.cloud.sql.v1beta4.SqlBackupRunsService.Delete", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/backupRuns/{id}" + } + ] + }, + { + "shortName": "Get", + "fullName": "google.cloud.sql.v1beta4.SqlBackupRunsService.Get", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/backupRuns/{id}" + } + ] + }, + { + "shortName": "Insert", + "fullName": "google.cloud.sql.v1beta4.SqlBackupRunsService.Insert", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/backupRuns" + } + ] + }, + { + "shortName": "List", + "fullName": "google.cloud.sql.v1beta4.SqlBackupRunsService.List", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/backupRuns" + } + ] + } + ] + }, + { + "shortName": "SqlConnectService", + "fullName": "google.cloud.sql.v1beta4.SqlConnectService", + "methods": [ + { + "shortName": "GenerateEphemeralCert", + "fullName": "google.cloud.sql.v1beta4.SqlConnectService.GenerateEphemeralCert", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}:generateEphemeralCert" + } + ] + }, + { + "shortName": "GetConnectSettings", + "fullName": "google.cloud.sql.v1beta4.SqlConnectService.GetConnectSettings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/connectSettings" + } + ] + } + ] + }, + { + "shortName": "SqlDatabasesService", + "fullName": "google.cloud.sql.v1beta4.SqlDatabasesService", "methods": [ { - "shortName": "AddPublicKey", - "fullName": "google.cloud.shell.v1.CloudShellService.AddPublicKey", + "shortName": "Delete", + "fullName": "google.cloud.sql.v1beta4.SqlDatabasesService.Delete", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}" + } + ] + }, + { + "shortName": "Get", + "fullName": "google.cloud.sql.v1beta4.SqlDatabasesService.Get", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{environment=users/*/environments/*}:addPublicKey" + "httpMethod": "GET", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}" } ] }, { - "shortName": "AuthorizeEnvironment", - "fullName": "google.cloud.shell.v1.CloudShellService.AuthorizeEnvironment", + "shortName": "Insert", + "fullName": "google.cloud.sql.v1beta4.SqlDatabasesService.Insert", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{name=users/*/environments/*}:authorize" + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/databases" } ] }, { - "shortName": "GetEnvironment", - "fullName": "google.cloud.shell.v1.CloudShellService.GetEnvironment", + "shortName": "List", + "fullName": "google.cloud.sql.v1beta4.SqlDatabasesService.List", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=users/*/environments/*}" + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/databases" } ] }, { - "shortName": "RemovePublicKey", - "fullName": "google.cloud.shell.v1.CloudShellService.RemovePublicKey", + "shortName": "Patch", + "fullName": "google.cloud.sql.v1beta4.SqlDatabasesService.Patch", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{environment=users/*/environments/*}:removePublicKey" + "httpMethod": "PATCH", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}" } ] }, { - "shortName": "StartEnvironment", - "fullName": "google.cloud.shell.v1.CloudShellService.StartEnvironment", + "shortName": "Update", + "fullName": "google.cloud.sql.v1beta4.SqlDatabasesService.Update", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{name=users/*/environments/*}:start" + "httpMethod": "PUT", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}" } ] } ] - } - ], - "configFile": "cloudshell_v1.yaml", - "serviceConfigApiNames": [ - "google.cloud.shell.v1.CloudShellService", - "google.longrunning.Operations" - ], - "nameInServiceConfig": "cloudshell.googleapis.com" - }, - { - "id": "google.cloud.speech.v1", - "directory": "google/cloud/speech/v1", - "version": "v1", - "majorVersion": "v1", - "hostName": "speech.googleapis.com", - "title": "Cloud Speech-to-Text API", - "description": "Converts audio to text by applying powerful neural network models.", - "importDirectories": [ - "google/api", - "google/cloud/speech/v1", - "google/longrunning", - "google/protobuf", - "google/rpc" - ], - "options": { - "cc_enable_arenas": { - "valueCounts": { - "true": 3 - } - }, - "go_package": { - "valueCounts": { - "cloud.google.com/go/speech/apiv1/speechpb;speechpb": 3 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 3 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.speech.v1": 3 - } }, - "objc_class_prefix": { - "valueCounts": { - "GCS": 3 - } - } - }, - "services": [ { - "shortName": "Adaptation", - "fullName": "google.cloud.speech.v1.Adaptation", + "shortName": "SqlFlagsService", + "fullName": "google.cloud.sql.v1beta4.SqlFlagsService", "methods": [ { - "shortName": "CreateCustomClass", - "fullName": "google.cloud.speech.v1.Adaptation.CreateCustomClass", + "shortName": "List", + "fullName": "google.cloud.sql.v1beta4.SqlFlagsService.List", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/customClasses" + "httpMethod": "GET", + "path": "/sql/v1beta4/flags" } ] - }, + } + ] + }, + { + "shortName": "SqlIamPoliciesService", + "fullName": "google.cloud.sql.v1beta4.SqlIamPoliciesService" + }, + { + "shortName": "SqlInstancesService", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService", + "methods": [ { - "shortName": "CreatePhraseSet", - "fullName": "google.cloud.speech.v1.Adaptation.CreatePhraseSet", + "shortName": "AddServerCa", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.AddServerCa", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/phraseSets" + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/addServerCa" } ] }, { - "shortName": "DeleteCustomClass", - "fullName": "google.cloud.speech.v1.Adaptation.DeleteCustomClass", + "shortName": "Clone", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.Clone", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/customClasses/*}" + "httpMethod": "POST", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/clone" } ] }, { - "shortName": "DeletePhraseSet", - "fullName": "google.cloud.speech.v1.Adaptation.DeletePhraseSet", + "shortName": "CreateEphemeral", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.CreateEphemeral", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/phraseSets/*}" + "httpMethod": "POST", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/createEphemeral" } ] }, { - "shortName": "GetCustomClass", - "fullName": "google.cloud.speech.v1.Adaptation.GetCustomClass", + "shortName": "Delete", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.Delete", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/customClasses/*}" + "httpMethod": "DELETE", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}" } ] }, { - "shortName": "GetPhraseSet", - "fullName": "google.cloud.speech.v1.Adaptation.GetPhraseSet", + "shortName": "Demote", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.Demote", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/phraseSets/*}" + "httpMethod": "POST", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/demote" } ] }, { - "shortName": "ListCustomClasses", - "fullName": "google.cloud.speech.v1.Adaptation.ListCustomClasses", + "shortName": "DemoteMaster", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.DemoteMaster", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/customClasses" + "httpMethod": "POST", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/demoteMaster" } ] }, { - "shortName": "ListPhraseSet", - "fullName": "google.cloud.speech.v1.Adaptation.ListPhraseSet", + "shortName": "Export", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.Export", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/phraseSets" + "httpMethod": "POST", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/export" } ] }, { - "shortName": "UpdateCustomClass", - "fullName": "google.cloud.speech.v1.Adaptation.UpdateCustomClass", + "shortName": "Failover", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.Failover", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{custom_class.name=projects/*/locations/*/customClasses/*}" + "httpMethod": "POST", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/failover" } ] }, { - "shortName": "UpdatePhraseSet", - "fullName": "google.cloud.speech.v1.Adaptation.UpdatePhraseSet", + "shortName": "Get", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.Get", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{phrase_set.name=projects/*/locations/*/phraseSets/*}" + "httpMethod": "GET", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}" } ] - } - ] - }, - { - "shortName": "Speech", - "fullName": "google.cloud.speech.v1.Speech", - "methods": [ + }, { - "shortName": "LongRunningRecognize", - "fullName": "google.cloud.speech.v1.Speech.LongRunningRecognize", + "shortName": "GetDiskShrinkConfig", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.GetDiskShrinkConfig", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/speech:longrunningrecognize" + "httpMethod": "GET", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/getDiskShrinkConfig" } ] }, { - "shortName": "Recognize", - "fullName": "google.cloud.speech.v1.Speech.Recognize", + "shortName": "GetLatestRecoveryTime", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.GetLatestRecoveryTime", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/speech:recognize" + "httpMethod": "GET", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/getLatestRecoveryTime" } ] }, { - "shortName": "StreamingRecognize", - "fullName": "google.cloud.speech.v1.Speech.StreamingRecognize", - "mode": "BIDIRECTIONAL_STREAMING" - } - ] - } - ], - "configFile": "speech_v1.yaml", - "serviceConfigApiNames": [ - "google.cloud.speech.v1.Adaptation", - "google.cloud.speech.v1.Speech", - "google.longrunning.Operations" - ], - "nameInServiceConfig": "speech.googleapis.com" - }, - { - "id": "google.cloud.speech.v1p1beta1", - "directory": "google/cloud/speech/v1p1beta1", - "version": "v1p1beta1", - "majorVersion": "v1", - "hostName": "speech.googleapis.com", - "title": "Cloud Speech-to-Text API", - "description": "Converts audio to text by applying powerful neural network models.", - "importDirectories": [ - "google/api", - "google/cloud/speech/v1p1beta1", - "google/longrunning", - "google/protobuf", - "google/rpc" - ], - "options": { - "cc_enable_arenas": { - "valueCounts": { - "true": 3 - } - }, - "go_package": { - "valueCounts": { - "cloud.google.com/go/speech/apiv1p1beta1/speechpb;speechpb": 3 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 3 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.speech.v1p1beta1": 3 - } - }, - "objc_class_prefix": { - "valueCounts": { - "GCS": 3 - } - } - }, - "services": [ - { - "shortName": "Adaptation", - "fullName": "google.cloud.speech.v1p1beta1.Adaptation", - "methods": [ - { - "shortName": "CreateCustomClass", - "fullName": "google.cloud.speech.v1p1beta1.Adaptation.CreateCustomClass", + "shortName": "Import", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.Import", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1p1beta1/{parent=projects/*/locations/*}/customClasses" + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/import" } ] }, { - "shortName": "CreatePhraseSet", - "fullName": "google.cloud.speech.v1p1beta1.Adaptation.CreatePhraseSet", + "shortName": "Insert", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.Insert", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1p1beta1/{parent=projects/*/locations/*}/phraseSets" + "path": "/sql/v1beta4/projects/{project}/instances" } ] }, { - "shortName": "DeleteCustomClass", - "fullName": "google.cloud.speech.v1p1beta1.Adaptation.DeleteCustomClass", + "shortName": "List", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.List", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1p1beta1/{name=projects/*/locations/*/customClasses/*}" + "httpMethod": "GET", + "path": "/sql/v1beta4/projects/{project}/instances" } ] }, { - "shortName": "DeletePhraseSet", - "fullName": "google.cloud.speech.v1p1beta1.Adaptation.DeletePhraseSet", + "shortName": "ListServerCas", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.ListServerCas", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1p1beta1/{name=projects/*/locations/*/phraseSets/*}" + "httpMethod": "GET", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/listServerCas" } ] }, { - "shortName": "GetCustomClass", - "fullName": "google.cloud.speech.v1p1beta1.Adaptation.GetCustomClass", + "shortName": "Patch", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.Patch", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1p1beta1/{name=projects/*/locations/*/customClasses/*}" + "httpMethod": "PATCH", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}" } ] }, { - "shortName": "GetPhraseSet", - "fullName": "google.cloud.speech.v1p1beta1.Adaptation.GetPhraseSet", + "shortName": "PerformDiskShrink", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.PerformDiskShrink", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1p1beta1/{name=projects/*/locations/*/phraseSets/*}" + "httpMethod": "POST", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/performDiskShrink" } ] }, { - "shortName": "ListCustomClasses", - "fullName": "google.cloud.speech.v1p1beta1.Adaptation.ListCustomClasses", + "shortName": "PromoteReplica", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.PromoteReplica", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1p1beta1/{parent=projects/*/locations/*}/customClasses" + "httpMethod": "POST", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/promoteReplica" } ] }, { - "shortName": "ListPhraseSet", - "fullName": "google.cloud.speech.v1p1beta1.Adaptation.ListPhraseSet", + "shortName": "Reencrypt", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.Reencrypt", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1p1beta1/{parent=projects/*/locations/*}/phraseSets" + "httpMethod": "POST", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/reencrypt" } ] }, { - "shortName": "UpdateCustomClass", - "fullName": "google.cloud.speech.v1p1beta1.Adaptation.UpdateCustomClass", + "shortName": "RescheduleMaintenance", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.RescheduleMaintenance", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1p1beta1/{custom_class.name=projects/*/locations/*/customClasses/*}" + "httpMethod": "POST", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/rescheduleMaintenance" } ] }, { - "shortName": "UpdatePhraseSet", - "fullName": "google.cloud.speech.v1p1beta1.Adaptation.UpdatePhraseSet", + "shortName": "ResetReplicaSize", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.ResetReplicaSize", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1p1beta1/{phrase_set.name=projects/*/locations/*/phraseSets/*}" + "httpMethod": "POST", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/resetReplicaSize" } ] - } - ] - }, - { - "shortName": "Speech", - "fullName": "google.cloud.speech.v1p1beta1.Speech", - "methods": [ + }, { - "shortName": "LongRunningRecognize", - "fullName": "google.cloud.speech.v1p1beta1.Speech.LongRunningRecognize", + "shortName": "ResetSslConfig", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.ResetSslConfig", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1p1beta1/speech:longrunningrecognize" + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/resetSslConfig" } ] }, { - "shortName": "Recognize", - "fullName": "google.cloud.speech.v1p1beta1.Speech.Recognize", + "shortName": "Restart", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.Restart", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1p1beta1/speech:recognize" + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/restart" } ] }, { - "shortName": "StreamingRecognize", - "fullName": "google.cloud.speech.v1p1beta1.Speech.StreamingRecognize", - "mode": "BIDIRECTIONAL_STREAMING" - } - ] - } - ], - "configFile": "speech_v1p1beta1.yaml", - "serviceConfigApiNames": [ - "google.cloud.speech.v1p1beta1.Adaptation", - "google.cloud.speech.v1p1beta1.Speech", - "google.longrunning.Operations" - ], - "nameInServiceConfig": "speech.googleapis.com" - }, - { - "id": "google.cloud.speech.v2", - "directory": "google/cloud/speech/v2", - "version": "v2", - "majorVersion": "v2", - "hostName": "speech.googleapis.com", - "title": "Cloud Speech-to-Text API", - "description": "Converts audio to text by applying powerful neural network models.", - "importDirectories": [ - "google/api", - "google/longrunning", - "google/protobuf", - "google/rpc" - ], - "options": { - "go_package": { - "valueCounts": { - "cloud.google.com/go/speech/apiv2/speechpb;speechpb": 1 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 1 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.speech.v2": 1 - } - } - }, - "services": [ - { - "shortName": "Speech", - "fullName": "google.cloud.speech.v2.Speech", - "methods": [ - { - "shortName": "BatchRecognize", - "fullName": "google.cloud.speech.v2.Speech.BatchRecognize", + "shortName": "RestoreBackup", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.RestoreBackup", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2/{recognizer=projects/*/locations/*/recognizers/*}:batchRecognize" + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/restoreBackup" } ] }, { - "shortName": "CreateCustomClass", - "fullName": "google.cloud.speech.v2.Speech.CreateCustomClass", + "shortName": "RotateServerCa", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.RotateServerCa", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2/{parent=projects/*/locations/*}/customClasses" + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/rotateServerCa" } ] }, { - "shortName": "CreatePhraseSet", - "fullName": "google.cloud.speech.v2.Speech.CreatePhraseSet", + "shortName": "StartExternalSync", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.StartExternalSync", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2/{parent=projects/*/locations/*}/phraseSets" + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/startExternalSync" } ] }, { - "shortName": "CreateRecognizer", - "fullName": "google.cloud.speech.v2.Speech.CreateRecognizer", + "shortName": "StartReplica", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.StartReplica", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2/{parent=projects/*/locations/*}/recognizers" + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/startReplica" } ] }, { - "shortName": "DeleteCustomClass", - "fullName": "google.cloud.speech.v2.Speech.DeleteCustomClass", + "shortName": "StopReplica", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.StopReplica", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v2/{name=projects/*/locations/*/customClasses/*}" + "httpMethod": "POST", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/stopReplica" } ] }, { - "shortName": "DeletePhraseSet", - "fullName": "google.cloud.speech.v2.Speech.DeletePhraseSet", + "shortName": "Switchover", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.Switchover", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v2/{name=projects/*/locations/*/phraseSets/*}" + "httpMethod": "POST", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/switchover" } ] }, { - "shortName": "DeleteRecognizer", - "fullName": "google.cloud.speech.v2.Speech.DeleteRecognizer", + "shortName": "TruncateLog", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.TruncateLog", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v2/{name=projects/*/locations/*/recognizers/*}" + "httpMethod": "POST", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/truncateLog" } ] }, { - "shortName": "GetConfig", - "fullName": "google.cloud.speech.v2.Speech.GetConfig", + "shortName": "Update", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.Update", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v2/{name=projects/*/locations/*/config}" + "httpMethod": "PUT", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}" } ] }, { - "shortName": "GetCustomClass", - "fullName": "google.cloud.speech.v2.Speech.GetCustomClass", + "shortName": "VerifyExternalSyncSettings", + "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.VerifyExternalSyncSettings", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v2/{name=projects/*/locations/*/customClasses/*}" + "httpMethod": "POST", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/verifyExternalSyncSettings" } ] - }, + } + ] + }, + { + "shortName": "SqlOperationsService", + "fullName": "google.cloud.sql.v1beta4.SqlOperationsService", + "methods": [ { - "shortName": "GetPhraseSet", - "fullName": "google.cloud.speech.v2.Speech.GetPhraseSet", + "shortName": "Cancel", + "fullName": "google.cloud.sql.v1beta4.SqlOperationsService.Cancel", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v2/{name=projects/*/locations/*/phraseSets/*}" + "httpMethod": "POST", + "path": "/sql/v1beta4/projects/{project}/operations/{operation}/cancel" } ] }, { - "shortName": "GetRecognizer", - "fullName": "google.cloud.speech.v2.Speech.GetRecognizer", + "shortName": "Get", + "fullName": "google.cloud.sql.v1beta4.SqlOperationsService.Get", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2/{name=projects/*/locations/*/recognizers/*}" + "path": "/sql/v1beta4/projects/{project}/operations/{operation}" } ] }, { - "shortName": "ListCustomClasses", - "fullName": "google.cloud.speech.v2.Speech.ListCustomClasses", + "shortName": "List", + "fullName": "google.cloud.sql.v1beta4.SqlOperationsService.List", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2/{parent=projects/*/locations/*}/customClasses" + "path": "/sql/v1beta4/projects/{project}/operations" } ] - }, + } + ] + }, + { + "shortName": "SqlSslCertsService", + "fullName": "google.cloud.sql.v1beta4.SqlSslCertsService", + "methods": [ { - "shortName": "ListPhraseSets", - "fullName": "google.cloud.speech.v2.Speech.ListPhraseSets", + "shortName": "Delete", + "fullName": "google.cloud.sql.v1beta4.SqlSslCertsService.Delete", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v2/{parent=projects/*/locations/*}/phraseSets" + "httpMethod": "DELETE", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/sslCerts/{sha1_fingerprint}" } ] }, { - "shortName": "ListRecognizers", - "fullName": "google.cloud.speech.v2.Speech.ListRecognizers", + "shortName": "Get", + "fullName": "google.cloud.sql.v1beta4.SqlSslCertsService.Get", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2/{parent=projects/*/locations/*}/recognizers" + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/sslCerts/{sha1_fingerprint}" } ] }, { - "shortName": "Recognize", - "fullName": "google.cloud.speech.v2.Speech.Recognize", + "shortName": "Insert", + "fullName": "google.cloud.sql.v1beta4.SqlSslCertsService.Insert", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2/{recognizer=projects/*/locations/*/recognizers/*}:recognize" + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/sslCerts" } ] }, { - "shortName": "StreamingRecognize", - "fullName": "google.cloud.speech.v2.Speech.StreamingRecognize", - "mode": "BIDIRECTIONAL_STREAMING" - }, - { - "shortName": "UndeleteCustomClass", - "fullName": "google.cloud.speech.v2.Speech.UndeleteCustomClass", + "shortName": "List", + "fullName": "google.cloud.sql.v1beta4.SqlSslCertsService.List", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2/{name=projects/*/locations/*/customClasses/*}:undelete" + "httpMethod": "GET", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/sslCerts" } ] - }, + } + ] + }, + { + "shortName": "SqlTiersService", + "fullName": "google.cloud.sql.v1beta4.SqlTiersService", + "methods": [ { - "shortName": "UndeletePhraseSet", - "fullName": "google.cloud.speech.v2.Speech.UndeletePhraseSet", + "shortName": "List", + "fullName": "google.cloud.sql.v1beta4.SqlTiersService.List", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2/{name=projects/*/locations/*/phraseSets/*}:undelete" + "httpMethod": "GET", + "path": "/sql/v1beta4/projects/{project}/tiers" } ] - }, + } + ] + }, + { + "shortName": "SqlUsersService", + "fullName": "google.cloud.sql.v1beta4.SqlUsersService", + "methods": [ { - "shortName": "UndeleteRecognizer", - "fullName": "google.cloud.speech.v2.Speech.UndeleteRecognizer", + "shortName": "Delete", + "fullName": "google.cloud.sql.v1beta4.SqlUsersService.Delete", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2/{name=projects/*/locations/*/recognizers/*}:undelete" + "httpMethod": "DELETE", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/users" } ] }, { - "shortName": "UpdateConfig", - "fullName": "google.cloud.speech.v2.Speech.UpdateConfig", + "shortName": "Get", + "fullName": "google.cloud.sql.v1beta4.SqlUsersService.Get", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v2/{config.name=projects/*/locations/*/config}" + "httpMethod": "GET", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/users/{name}" } ] }, { - "shortName": "UpdateCustomClass", - "fullName": "google.cloud.speech.v2.Speech.UpdateCustomClass", + "shortName": "Insert", + "fullName": "google.cloud.sql.v1beta4.SqlUsersService.Insert", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v2/{custom_class.name=projects/*/locations/*/customClasses/*}" + "httpMethod": "POST", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/users" } ] }, { - "shortName": "UpdatePhraseSet", - "fullName": "google.cloud.speech.v2.Speech.UpdatePhraseSet", + "shortName": "List", + "fullName": "google.cloud.sql.v1beta4.SqlUsersService.List", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v2/{phrase_set.name=projects/*/locations/*/phraseSets/*}" + "httpMethod": "GET", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/users" } ] }, { - "shortName": "UpdateRecognizer", - "fullName": "google.cloud.speech.v2.Speech.UpdateRecognizer", + "shortName": "Update", + "fullName": "google.cloud.sql.v1beta4.SqlUsersService.Update", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v2/{recognizer.name=projects/*/locations/*/recognizers/*}" + "httpMethod": "PUT", + "path": "/sql/v1beta4/projects/{project}/instances/{instance}/users" } ] } ] } ], - "configFile": "speech_v2.yaml", + "configFile": "sqladmin_v1beta4.yaml", "serviceConfigApiNames": [ - "google.cloud.speech.v2.Speech", + "google.cloud.location.Locations", + "google.cloud.sql.v1beta4.SqlBackupRunsService", + "google.cloud.sql.v1beta4.SqlConnectService", + "google.cloud.sql.v1beta4.SqlDatabasesService", + "google.cloud.sql.v1beta4.SqlFlagsService", + "google.cloud.sql.v1beta4.SqlInstancesService", + "google.cloud.sql.v1beta4.SqlOperationsService", + "google.cloud.sql.v1beta4.SqlSslCertsService", + "google.cloud.sql.v1beta4.SqlTiersService", + "google.cloud.sql.v1beta4.SqlUsersService", "google.longrunning.Operations" ], - "nameInServiceConfig": "speech.googleapis.com" + "nameInServiceConfig": "sqladmin.googleapis.com" }, { - "id": "google.cloud.sql.v1", - "directory": "google/cloud/sql/v1", + "id": "google.cloud.storageinsights.v1", + "directory": "google/cloud/storageinsights/v1", "version": "v1", "majorVersion": "v1", - "hostName": "sqladmin.googleapis.com", - "title": "Cloud SQL Admin API", - "description": "API for Cloud SQL database instance management", + "hostName": "storageinsights.googleapis.com", + "title": "Storage Insights API", + "description": "Provides insights capability on Google Cloud Storage", "importDirectories": [ "google/api", - "google/cloud/sql/v1", - "google/protobuf" + "google/protobuf", + "google/rpc", + "google/type" ], "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.StorageInsights.V1": 1 + } + }, "go_package": { "valueCounts": { - "cloud.google.com/go/sql/apiv1/sqlpb;sqlpb": 11 + "cloud.google.com/go/storageinsights/apiv1/storageinsightspb;storageinsightspb": 1 } }, "java_multiple_files": { "valueCounts": { - "true": 11 + "true": 1 } }, "java_package": { "valueCounts": { - "com.google.cloud.sql.v1": 11 + "com.google.cloud.storageinsights.v1": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\StorageInsights\\V1": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::StorageInsights::V1": 1 } } }, "services": [ { - "shortName": "SqlBackupRunsService", - "fullName": "google.cloud.sql.v1.SqlBackupRunsService", + "shortName": "StorageInsights", + "fullName": "google.cloud.storageinsights.v1.StorageInsights", "methods": [ { - "shortName": "Delete", - "fullName": "google.cloud.sql.v1.SqlBackupRunsService.Delete", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "DELETE", - "path": "/v1/projects/{project}/instances/{instance}/backupRuns/{id}" - } - ] - }, - { - "shortName": "Get", - "fullName": "google.cloud.sql.v1.SqlBackupRunsService.Get", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1/projects/{project}/instances/{instance}/backupRuns/{id}" - } - ] - }, - { - "shortName": "Insert", - "fullName": "google.cloud.sql.v1.SqlBackupRunsService.Insert", + "shortName": "CreateReportConfig", + "fullName": "google.cloud.storageinsights.v1.StorageInsights.CreateReportConfig", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/projects/{project}/instances/{instance}/backupRuns" + "path": "/v1/{parent=projects/*/locations/*}/reportConfigs" } ] }, { - "shortName": "List", - "fullName": "google.cloud.sql.v1.SqlBackupRunsService.List", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1/projects/{project}/instances/{instance}/backupRuns" - } - ] - } - ] - }, - { - "shortName": "SqlConnectService", - "fullName": "google.cloud.sql.v1.SqlConnectService", - "methods": [ - { - "shortName": "GenerateEphemeralCert", - "fullName": "google.cloud.sql.v1.SqlConnectService.GenerateEphemeralCert", + "shortName": "DeleteReportConfig", + "fullName": "google.cloud.storageinsights.v1.StorageInsights.DeleteReportConfig", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/projects/{project}/instances/{instance}:generateEphemeralCert" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/reportConfigs/*}" } ] }, { - "shortName": "GetConnectSettings", - "fullName": "google.cloud.sql.v1.SqlConnectService.GetConnectSettings", + "shortName": "GetReportConfig", + "fullName": "google.cloud.storageinsights.v1.StorageInsights.GetReportConfig", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/projects/{project}/instances/{instance}/connectSettings" - } - ] - } - ] - }, - { - "shortName": "SqlDatabasesService", - "fullName": "google.cloud.sql.v1.SqlDatabasesService", - "methods": [ - { - "shortName": "Delete", - "fullName": "google.cloud.sql.v1.SqlDatabasesService.Delete", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "DELETE", - "path": "/v1/projects/{project}/instances/{instance}/databases/{database}" + "path": "/v1/{name=projects/*/locations/*/reportConfigs/*}" } ] }, { - "shortName": "Get", - "fullName": "google.cloud.sql.v1.SqlDatabasesService.Get", + "shortName": "GetReportDetail", + "fullName": "google.cloud.storageinsights.v1.StorageInsights.GetReportDetail", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/projects/{project}/instances/{instance}/databases/{database}" + "path": "/v1/{name=projects/*/locations/*/reportConfigs/*/reportDetails/*}" } ] }, { - "shortName": "Insert", - "fullName": "google.cloud.sql.v1.SqlDatabasesService.Insert", + "shortName": "ListReportConfigs", + "fullName": "google.cloud.storageinsights.v1.StorageInsights.ListReportConfigs", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/projects/{project}/instances/{instance}/databases" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/reportConfigs" } ] }, { - "shortName": "List", - "fullName": "google.cloud.sql.v1.SqlDatabasesService.List", + "shortName": "ListReportDetails", + "fullName": "google.cloud.storageinsights.v1.StorageInsights.ListReportDetails", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/projects/{project}/instances/{instance}/databases" + "path": "/v1/{parent=projects/*/locations/*/reportConfigs/*}/reportDetails" } ] }, { - "shortName": "Patch", - "fullName": "google.cloud.sql.v1.SqlDatabasesService.Patch", + "shortName": "UpdateReportConfig", + "fullName": "google.cloud.storageinsights.v1.StorageInsights.UpdateReportConfig", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v1/projects/{project}/instances/{instance}/databases/{database}" - } - ] - }, - { - "shortName": "Update", - "fullName": "google.cloud.sql.v1.SqlDatabasesService.Update", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "PUT", - "path": "/v1/projects/{project}/instances/{instance}/databases/{database}" + "path": "/v1/{report_config.name=projects/*/locations/*/reportConfigs/*}" } ] } ] + } + ], + "configFile": "storageinsights_v1.yaml", + "serviceConfigApiNames": [ + "google.cloud.location.Locations", + "google.cloud.storageinsights.v1.StorageInsights", + "google.longrunning.Operations" + ], + "nameInServiceConfig": "storageinsights.googleapis.com" + }, + { + "id": "google.cloud.support.v2", + "directory": "google/cloud/support/v2", + "version": "v2", + "majorVersion": "v2", + "hostName": "cloudsupport.googleapis.com", + "title": "Google Cloud Support API", + "description": "Manages Google Cloud technical support cases for Customer Care support offerings.", + "importDirectories": [ + "google/api", + "google/cloud/support/v2", + "google/protobuf" + ], + "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Support.V2": 8 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/support/apiv2/supportpb;supportpb": 8 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 8 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.support.v2": 8 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Support\\V2": 8 + } }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::Support::V2": 8 + } + } + }, + "services": [ { - "shortName": "SqlFlagsService", - "fullName": "google.cloud.sql.v1.SqlFlagsService", + "shortName": "CaseAttachmentService", + "fullName": "google.cloud.support.v2.CaseAttachmentService", "methods": [ { - "shortName": "List", - "fullName": "google.cloud.sql.v1.SqlFlagsService.List", + "shortName": "ListAttachments", + "fullName": "google.cloud.support.v2.CaseAttachmentService.ListAttachments", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/flags" + "path": "/v2/{parent=projects/*/cases/*}/attachments" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=organizations/*/cases/*}/attachments" } ] } ] }, { - "shortName": "SqlInstanceNamesService", - "fullName": "google.cloud.sql.v1.SqlInstanceNamesService" - }, - { - "shortName": "SqlInstancesService", - "fullName": "google.cloud.sql.v1.SqlInstancesService", + "shortName": "CaseService", + "fullName": "google.cloud.support.v2.CaseService", "methods": [ { - "shortName": "AddServerCa", - "fullName": "google.cloud.sql.v1.SqlInstancesService.AddServerCa", + "shortName": "CloseCase", + "fullName": "google.cloud.support.v2.CaseService.CloseCase", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/projects/{project}/instances/{instance}/addServerCa" - } - ] - }, - { - "shortName": "Clone", - "fullName": "google.cloud.sql.v1.SqlInstancesService.Clone", - "mode": "UNARY", - "bindings": [ + "path": "/v2/{name=projects/*/cases/*}:close" + }, { "httpMethod": "POST", - "path": "/v1/projects/{project}/instances/{instance}/clone" + "path": "/v2/{name=organizations/*/cases/*}:close" } ] }, { - "shortName": "CreateEphemeral", - "fullName": "google.cloud.sql.v1.SqlInstancesService.CreateEphemeral", + "shortName": "CreateCase", + "fullName": "google.cloud.support.v2.CaseService.CreateCase", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/projects/{project}/instances/{instance}/createEphemeral" - } - ] - }, - { - "shortName": "Delete", - "fullName": "google.cloud.sql.v1.SqlInstancesService.Delete", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "DELETE", - "path": "/v1/projects/{project}/instances/{instance}" - } - ] - }, - { - "shortName": "DemoteMaster", - "fullName": "google.cloud.sql.v1.SqlInstancesService.DemoteMaster", - "mode": "UNARY", - "bindings": [ + "path": "/v2/{parent=projects/*}/cases" + }, { "httpMethod": "POST", - "path": "/v1/projects/{project}/instances/{instance}/demoteMaster" + "path": "/v2/{parent=organizations/*}/cases" } ] }, { - "shortName": "Export", - "fullName": "google.cloud.sql.v1.SqlInstancesService.Export", + "shortName": "EscalateCase", + "fullName": "google.cloud.support.v2.CaseService.EscalateCase", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/projects/{project}/instances/{instance}/export" - } - ] - }, - { - "shortName": "Failover", - "fullName": "google.cloud.sql.v1.SqlInstancesService.Failover", - "mode": "UNARY", - "bindings": [ + "path": "/v2/{name=projects/*/cases/*}:escalate" + }, { "httpMethod": "POST", - "path": "/v1/projects/{project}/instances/{instance}/failover" + "path": "/v2/{name=organizations/*/cases/*}:escalate" } ] }, { - "shortName": "Get", - "fullName": "google.cloud.sql.v1.SqlInstancesService.Get", + "shortName": "GetCase", + "fullName": "google.cloud.support.v2.CaseService.GetCase", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/projects/{project}/instances/{instance}" + "path": "/v2/{name=projects/*/cases/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=organizations/*/cases/*}" } ] }, { - "shortName": "Import", - "fullName": "google.cloud.sql.v1.SqlInstancesService.Import", + "shortName": "ListCases", + "fullName": "google.cloud.support.v2.CaseService.ListCases", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/projects/{project}/instances/{instance}/import" + "httpMethod": "GET", + "path": "/v2/{parent=projects/*}/cases" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=organizations/*}/cases" } ] }, { - "shortName": "Insert", - "fullName": "google.cloud.sql.v1.SqlInstancesService.Insert", + "shortName": "SearchCaseClassifications", + "fullName": "google.cloud.support.v2.CaseService.SearchCaseClassifications", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/projects/{project}/instances" + "httpMethod": "GET", + "path": "/v2/caseClassifications:search" } ] }, { - "shortName": "List", - "fullName": "google.cloud.sql.v1.SqlInstancesService.List", + "shortName": "SearchCases", + "fullName": "google.cloud.support.v2.CaseService.SearchCases", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/projects/{project}/instances" + "path": "/v2/{parent=projects/*}/cases:search" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=organizations/*}/cases:search" } ] }, { - "shortName": "ListServerCas", - "fullName": "google.cloud.sql.v1.SqlInstancesService.ListServerCas", + "shortName": "UpdateCase", + "fullName": "google.cloud.support.v2.CaseService.UpdateCase", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/projects/{project}/instances/{instance}/listServerCas" + "httpMethod": "PATCH", + "path": "/v2/{case.name=projects/*/cases/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{case.name=organizations/*/cases/*}" } ] - }, + } + ] + }, + { + "shortName": "CommentService", + "fullName": "google.cloud.support.v2.CommentService", + "methods": [ { - "shortName": "Patch", - "fullName": "google.cloud.sql.v1.SqlInstancesService.Patch", + "shortName": "CreateComment", + "fullName": "google.cloud.support.v2.CommentService.CreateComment", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/projects/{project}/instances/{instance}" + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/cases/*}/comments" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=organizations/*/cases/*}/comments" } ] }, { - "shortName": "PromoteReplica", - "fullName": "google.cloud.sql.v1.SqlInstancesService.PromoteReplica", + "shortName": "ListComments", + "fullName": "google.cloud.support.v2.CommentService.ListComments", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/projects/{project}/instances/{instance}/promoteReplica" + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/cases/*}/comments" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=organizations/*/cases/*}/comments" } ] - }, + } + ] + } + ], + "configFile": "cloudsupport_v2.yaml", + "serviceConfigApiNames": [ + "google.cloud.support.v2.CaseAttachmentService", + "google.cloud.support.v2.CaseService", + "google.cloud.support.v2.CommentService" + ], + "nameInServiceConfig": "cloudsupport.googleapis.com" + }, + { + "id": "google.cloud.talent.v4", + "directory": "google/cloud/talent/v4", + "version": "v4", + "majorVersion": "v4", + "hostName": "jobs.googleapis.com", + "title": "Cloud Talent Solution API", + "description": "Cloud Talent Solution provides the capability to create, read, update, and delete job postings, as well as search jobs based on keywords and filters.", + "importDirectories": [ + "google/api", + "google/cloud/talent/v4", + "google/longrunning", + "google/protobuf", + "google/rpc", + "google/type" + ], + "options": { + "go_package": { + "valueCounts": { + "cloud.google.com/go/talent/apiv4/talentpb;talentpb": 12 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 12 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.talent.v4": 12 + } + }, + "objc_class_prefix": { + "valueCounts": { + "CTS": 12 + } + } + }, + "services": [ + { + "shortName": "CompanyService", + "fullName": "google.cloud.talent.v4.CompanyService", + "methods": [ { - "shortName": "RescheduleMaintenance", - "fullName": "google.cloud.sql.v1.SqlInstancesService.RescheduleMaintenance", + "shortName": "CreateCompany", + "fullName": "google.cloud.talent.v4.CompanyService.CreateCompany", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/projects/{project}/instances/{instance}/rescheduleMaintenance" + "path": "/v4/{parent=projects/*/tenants/*}/companies" } ] }, { - "shortName": "ResetSslConfig", - "fullName": "google.cloud.sql.v1.SqlInstancesService.ResetSslConfig", + "shortName": "DeleteCompany", + "fullName": "google.cloud.talent.v4.CompanyService.DeleteCompany", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/projects/{project}/instances/{instance}/resetSslConfig" + "httpMethod": "DELETE", + "path": "/v4/{name=projects/*/tenants/*/companies/*}" } ] }, { - "shortName": "Restart", - "fullName": "google.cloud.sql.v1.SqlInstancesService.Restart", + "shortName": "GetCompany", + "fullName": "google.cloud.talent.v4.CompanyService.GetCompany", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/projects/{project}/instances/{instance}/restart" + "httpMethod": "GET", + "path": "/v4/{name=projects/*/tenants/*/companies/*}" } ] }, { - "shortName": "RestoreBackup", - "fullName": "google.cloud.sql.v1.SqlInstancesService.RestoreBackup", + "shortName": "ListCompanies", + "fullName": "google.cloud.talent.v4.CompanyService.ListCompanies", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/projects/{project}/instances/{instance}/restoreBackup" + "httpMethod": "GET", + "path": "/v4/{parent=projects/*/tenants/*}/companies" } ] }, { - "shortName": "RotateServerCa", - "fullName": "google.cloud.sql.v1.SqlInstancesService.RotateServerCa", + "shortName": "UpdateCompany", + "fullName": "google.cloud.talent.v4.CompanyService.UpdateCompany", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/projects/{project}/instances/{instance}/rotateServerCa" + "httpMethod": "PATCH", + "path": "/v4/{company.name=projects/*/tenants/*/companies/*}" } ] - }, + } + ] + }, + { + "shortName": "Completion", + "fullName": "google.cloud.talent.v4.Completion", + "methods": [ { - "shortName": "StartExternalSync", - "fullName": "google.cloud.sql.v1.SqlInstancesService.StartExternalSync", + "shortName": "CompleteQuery", + "fullName": "google.cloud.talent.v4.Completion.CompleteQuery", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/projects/{project}/instances/{instance}/startExternalSync" + "httpMethod": "GET", + "path": "/v4/{tenant=projects/*/tenants/*}:completeQuery" } ] - }, + } + ] + }, + { + "shortName": "EventService", + "fullName": "google.cloud.talent.v4.EventService", + "methods": [ { - "shortName": "StartReplica", - "fullName": "google.cloud.sql.v1.SqlInstancesService.StartReplica", + "shortName": "CreateClientEvent", + "fullName": "google.cloud.talent.v4.EventService.CreateClientEvent", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/projects/{project}/instances/{instance}/startReplica" + "path": "/v4/{parent=projects/*/tenants/*}/clientEvents" } ] - }, + } + ] + }, + { + "shortName": "JobService", + "fullName": "google.cloud.talent.v4.JobService", + "methods": [ { - "shortName": "StopReplica", - "fullName": "google.cloud.sql.v1.SqlInstancesService.StopReplica", + "shortName": "BatchCreateJobs", + "fullName": "google.cloud.talent.v4.JobService.BatchCreateJobs", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/projects/{project}/instances/{instance}/stopReplica" + "path": "/v4/{parent=projects/*/tenants/*}/jobs:batchCreate" } ] }, { - "shortName": "TruncateLog", - "fullName": "google.cloud.sql.v1.SqlInstancesService.TruncateLog", + "shortName": "BatchDeleteJobs", + "fullName": "google.cloud.talent.v4.JobService.BatchDeleteJobs", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/projects/{project}/instances/{instance}/truncateLog" + "path": "/v4/{parent=projects/*/tenants/*}/jobs:batchDelete" } ] }, { - "shortName": "Update", - "fullName": "google.cloud.sql.v1.SqlInstancesService.Update", + "shortName": "BatchUpdateJobs", + "fullName": "google.cloud.talent.v4.JobService.BatchUpdateJobs", "mode": "UNARY", "bindings": [ { - "httpMethod": "PUT", - "path": "/v1/projects/{project}/instances/{instance}" + "httpMethod": "POST", + "path": "/v4/{parent=projects/*/tenants/*}/jobs:batchUpdate" } ] }, { - "shortName": "VerifyExternalSyncSettings", - "fullName": "google.cloud.sql.v1.SqlInstancesService.VerifyExternalSyncSettings", + "shortName": "CreateJob", + "fullName": "google.cloud.talent.v4.JobService.CreateJob", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/projects/{project}/instances/{instance}/verifyExternalSyncSettings" + "path": "/v4/{parent=projects/*/tenants/*}/jobs" } ] - } - ] - }, - { - "shortName": "SqlOperationsService", - "fullName": "google.cloud.sql.v1.SqlOperationsService", - "methods": [ + }, { - "shortName": "Get", - "fullName": "google.cloud.sql.v1.SqlOperationsService.Get", + "shortName": "DeleteJob", + "fullName": "google.cloud.talent.v4.JobService.DeleteJob", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/projects/{project}/operations/{operation}" + "httpMethod": "DELETE", + "path": "/v4/{name=projects/*/tenants/*/jobs/*}" } ] }, { - "shortName": "List", - "fullName": "google.cloud.sql.v1.SqlOperationsService.List", + "shortName": "GetJob", + "fullName": "google.cloud.talent.v4.JobService.GetJob", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/projects/{project}/operations" + "path": "/v4/{name=projects/*/tenants/*/jobs/*}" } ] - } - ] - }, - { - "shortName": "SqlSslCertsService", - "fullName": "google.cloud.sql.v1.SqlSslCertsService", - "methods": [ + }, { - "shortName": "Delete", - "fullName": "google.cloud.sql.v1.SqlSslCertsService.Delete", + "shortName": "ListJobs", + "fullName": "google.cloud.talent.v4.JobService.ListJobs", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v1/projects/{project}/instances/{instance}/sslCerts/{sha1_fingerprint}" + "httpMethod": "GET", + "path": "/v4/{parent=projects/*/tenants/*}/jobs" } ] }, { - "shortName": "Get", - "fullName": "google.cloud.sql.v1.SqlSslCertsService.Get", + "shortName": "SearchJobs", + "fullName": "google.cloud.talent.v4.JobService.SearchJobs", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/projects/{project}/instances/{instance}/sslCerts/{sha1_fingerprint}" + "httpMethod": "POST", + "path": "/v4/{parent=projects/*/tenants/*}/jobs:search" } ] }, { - "shortName": "Insert", - "fullName": "google.cloud.sql.v1.SqlSslCertsService.Insert", + "shortName": "SearchJobsForAlert", + "fullName": "google.cloud.talent.v4.JobService.SearchJobsForAlert", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/projects/{project}/instances/{instance}/sslCerts" + "path": "/v4/{parent=projects/*/tenants/*}/jobs:searchForAlert" } ] }, { - "shortName": "List", - "fullName": "google.cloud.sql.v1.SqlSslCertsService.List", + "shortName": "UpdateJob", + "fullName": "google.cloud.talent.v4.JobService.UpdateJob", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/projects/{project}/instances/{instance}/sslCerts" + "httpMethod": "PATCH", + "path": "/v4/{job.name=projects/*/tenants/*/jobs/*}" } ] } ] }, { - "shortName": "SqlTiersService", - "fullName": "google.cloud.sql.v1.SqlTiersService", + "shortName": "TenantService", + "fullName": "google.cloud.talent.v4.TenantService", "methods": [ { - "shortName": "List", - "fullName": "google.cloud.sql.v1.SqlTiersService.List", + "shortName": "CreateTenant", + "fullName": "google.cloud.talent.v4.TenantService.CreateTenant", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1/projects/{project}/tiers" + "httpMethod": "POST", + "path": "/v4/{parent=projects/*}/tenants" } ] - } - ] - }, - { - "shortName": "SqlUsersService", - "fullName": "google.cloud.sql.v1.SqlUsersService", - "methods": [ + }, { - "shortName": "Delete", - "fullName": "google.cloud.sql.v1.SqlUsersService.Delete", + "shortName": "DeleteTenant", + "fullName": "google.cloud.talent.v4.TenantService.DeleteTenant", "mode": "UNARY", "bindings": [ { "httpMethod": "DELETE", - "path": "/v1/projects/{project}/instances/{instance}/users" + "path": "/v4/{name=projects/*/tenants/*}" } ] }, { - "shortName": "Insert", - "fullName": "google.cloud.sql.v1.SqlUsersService.Insert", + "shortName": "GetTenant", + "fullName": "google.cloud.talent.v4.TenantService.GetTenant", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v1/projects/{project}/instances/{instance}/users" + "httpMethod": "GET", + "path": "/v4/{name=projects/*/tenants/*}" } ] }, { - "shortName": "List", - "fullName": "google.cloud.sql.v1.SqlUsersService.List", + "shortName": "ListTenants", + "fullName": "google.cloud.talent.v4.TenantService.ListTenants", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/projects/{project}/instances/{instance}/users" + "path": "/v4/{parent=projects/*}/tenants" } ] }, { - "shortName": "Update", - "fullName": "google.cloud.sql.v1.SqlUsersService.Update", + "shortName": "UpdateTenant", + "fullName": "google.cloud.talent.v4.TenantService.UpdateTenant", "mode": "UNARY", "bindings": [ { - "httpMethod": "PUT", - "path": "/v1/projects/{project}/instances/{instance}/users" + "httpMethod": "PATCH", + "path": "/v4/{tenant.name=projects/*/tenants/*}" } ] } ] } ], - "configFile": "sqladmin_v1.yaml", + "configFile": "jobs_v4.yaml", "serviceConfigApiNames": [ - "google.cloud.sql.v1.SqlBackupRunsService", - "google.cloud.sql.v1.SqlConnectService", - "google.cloud.sql.v1.SqlDatabasesService", - "google.cloud.sql.v1.SqlFlagsService", - "google.cloud.sql.v1.SqlInstanceNamesService", - "google.cloud.sql.v1.SqlInstancesService", - "google.cloud.sql.v1.SqlOperationsService", - "google.cloud.sql.v1.SqlSslCertsService", - "google.cloud.sql.v1.SqlTiersService", - "google.cloud.sql.v1.SqlUsersService" + "google.cloud.talent.v4.CompanyService", + "google.cloud.talent.v4.Completion", + "google.cloud.talent.v4.EventService", + "google.cloud.talent.v4.JobService", + "google.cloud.talent.v4.TenantService", + "google.longrunning.Operations" ], - "nameInServiceConfig": "sqladmin.googleapis.com" + "nameInServiceConfig": "jobs.googleapis.com" }, { - "id": "google.cloud.sql.v1beta4", - "directory": "google/cloud/sql/v1beta4", - "version": "v1beta4", - "majorVersion": "v1", - "hostName": "sqladmin.googleapis.com", - "title": "Cloud SQL Admin API", - "description": "API for Cloud SQL database instance management", + "id": "google.cloud.talent.v4beta1", + "directory": "google/cloud/talent/v4beta1", + "version": "v4beta1", + "majorVersion": "v4", + "hostName": "jobs.googleapis.com", + "title": "Cloud Talent Solution API", + "description": "Cloud Talent Solution provides the capability to create, read, update, and delete job postings, as well as search jobs based on keywords and filters.", "importDirectories": [ "google/api", - "google/cloud/sql/v1beta4", - "google/protobuf" + "google/cloud/talent/v4beta1", + "google/longrunning", + "google/protobuf", + "google/rpc", + "google/type" ], "options": { "go_package": { "valueCounts": { - "cloud.google.com/go/sql/apiv1beta4/sqlpb;sqlpb": 5 + "cloud.google.com/go/talent/apiv4beta1/talentpb;talentpb": 13 } }, "java_multiple_files": { "valueCounts": { - "true": 5 + "true": 13 } }, "java_package": { "valueCounts": { - "com.google.cloud.sql.v1beta4": 5 + "com.google.cloud.talent.v4beta1": 13 + } + }, + "objc_class_prefix": { + "valueCounts": { + "CTS": 13 } } }, "services": [ { - "shortName": "SqlBackupRunsService", - "fullName": "google.cloud.sql.v1beta4.SqlBackupRunsService", + "shortName": "CompanyService", + "fullName": "google.cloud.talent.v4beta1.CompanyService", "methods": [ { - "shortName": "Delete", - "fullName": "google.cloud.sql.v1beta4.SqlBackupRunsService.Delete", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "DELETE", - "path": "/sql/v1beta4/projects/{project}/instances/{instance}/backupRuns/{id}" - } - ] - }, - { - "shortName": "Get", - "fullName": "google.cloud.sql.v1beta4.SqlBackupRunsService.Get", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/sql/v1beta4/projects/{project}/instances/{instance}/backupRuns/{id}" - } - ] - }, - { - "shortName": "Insert", - "fullName": "google.cloud.sql.v1beta4.SqlBackupRunsService.Insert", + "shortName": "CreateCompany", + "fullName": "google.cloud.talent.v4beta1.CompanyService.CreateCompany", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/sql/v1beta4/projects/{project}/instances/{instance}/backupRuns" - } - ] - }, - { - "shortName": "List", - "fullName": "google.cloud.sql.v1beta4.SqlBackupRunsService.List", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/sql/v1beta4/projects/{project}/instances/{instance}/backupRuns" - } - ] - } - ] - }, - { - "shortName": "SqlConnectService", - "fullName": "google.cloud.sql.v1beta4.SqlConnectService", - "methods": [ - { - "shortName": "GenerateEphemeralCert", - "fullName": "google.cloud.sql.v1beta4.SqlConnectService.GenerateEphemeralCert", - "mode": "UNARY", - "bindings": [ + "path": "/v4beta1/{parent=projects/*/tenants/*}/companies" + }, { "httpMethod": "POST", - "path": "/sql/v1beta4/projects/{project}/instances/{instance}:generateEphemeralCert" + "path": "/v4beta1/{parent=projects/*}/companies" } ] }, { - "shortName": "GetConnectSettings", - "fullName": "google.cloud.sql.v1beta4.SqlConnectService.GetConnectSettings", + "shortName": "DeleteCompany", + "fullName": "google.cloud.talent.v4beta1.CompanyService.DeleteCompany", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/sql/v1beta4/projects/{project}/instances/{instance}/connectSettings" - } - ] - } - ] - }, - { - "shortName": "SqlDatabasesService", - "fullName": "google.cloud.sql.v1beta4.SqlDatabasesService", - "methods": [ - { - "shortName": "Delete", - "fullName": "google.cloud.sql.v1beta4.SqlDatabasesService.Delete", - "mode": "UNARY", - "bindings": [ + "httpMethod": "DELETE", + "path": "/v4beta1/{name=projects/*/tenants/*/companies/*}" + }, { "httpMethod": "DELETE", - "path": "/sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}" + "path": "/v4beta1/{name=projects/*/companies/*}" } ] }, { - "shortName": "Get", - "fullName": "google.cloud.sql.v1beta4.SqlDatabasesService.Get", + "shortName": "GetCompany", + "fullName": "google.cloud.talent.v4beta1.CompanyService.GetCompany", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}" - } - ] - }, - { - "shortName": "Insert", - "fullName": "google.cloud.sql.v1beta4.SqlDatabasesService.Insert", - "mode": "UNARY", - "bindings": [ + "path": "/v4beta1/{name=projects/*/tenants/*/companies/*}" + }, { - "httpMethod": "POST", - "path": "/sql/v1beta4/projects/{project}/instances/{instance}/databases" + "httpMethod": "GET", + "path": "/v4beta1/{name=projects/*/companies/*}" } ] }, { - "shortName": "List", - "fullName": "google.cloud.sql.v1beta4.SqlDatabasesService.List", + "shortName": "ListCompanies", + "fullName": "google.cloud.talent.v4beta1.CompanyService.ListCompanies", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/sql/v1beta4/projects/{project}/instances/{instance}/databases" + "path": "/v4beta1/{parent=projects/*/tenants/*}/companies" + }, + { + "httpMethod": "GET", + "path": "/v4beta1/{parent=projects/*}/companies" } ] }, { - "shortName": "Patch", - "fullName": "google.cloud.sql.v1beta4.SqlDatabasesService.Patch", + "shortName": "UpdateCompany", + "fullName": "google.cloud.talent.v4beta1.CompanyService.UpdateCompany", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}" - } - ] - }, - { - "shortName": "Update", - "fullName": "google.cloud.sql.v1beta4.SqlDatabasesService.Update", - "mode": "UNARY", - "bindings": [ + "path": "/v4beta1/{company.name=projects/*/tenants/*/companies/*}" + }, { - "httpMethod": "PUT", - "path": "/sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}" + "httpMethod": "PATCH", + "path": "/v4beta1/{company.name=projects/*/companies/*}" } ] } ] }, { - "shortName": "SqlFlagsService", - "fullName": "google.cloud.sql.v1beta4.SqlFlagsService", + "shortName": "Completion", + "fullName": "google.cloud.talent.v4beta1.Completion", "methods": [ { - "shortName": "List", - "fullName": "google.cloud.sql.v1beta4.SqlFlagsService.List", + "shortName": "CompleteQuery", + "fullName": "google.cloud.talent.v4beta1.Completion.CompleteQuery", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/sql/v1beta4/flags" + "path": "/v4beta1/{parent=projects/*/tenants/*}:complete" + }, + { + "httpMethod": "GET", + "path": "/v4beta1/{parent=projects/*}:complete" } ] } ] }, { - "shortName": "SqlInstancesService", - "fullName": "google.cloud.sql.v1beta4.SqlInstancesService", + "shortName": "EventService", + "fullName": "google.cloud.talent.v4beta1.EventService", "methods": [ { - "shortName": "AddServerCa", - "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.AddServerCa", + "shortName": "CreateClientEvent", + "fullName": "google.cloud.talent.v4beta1.EventService.CreateClientEvent", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/sql/v1beta4/projects/{project}/instances/{instance}/addServerCa" - } - ] - }, - { - "shortName": "Clone", - "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.Clone", - "mode": "UNARY", - "bindings": [ + "path": "/v4beta1/{parent=projects/*/tenants/*}/clientEvents" + }, { "httpMethod": "POST", - "path": "/sql/v1beta4/projects/{project}/instances/{instance}/clone" + "path": "/v4beta1/{parent=projects/*}/clientEvents" } ] - }, + } + ] + }, + { + "shortName": "JobService", + "fullName": "google.cloud.talent.v4beta1.JobService", + "methods": [ { - "shortName": "CreateEphemeral", - "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.CreateEphemeral", + "shortName": "BatchCreateJobs", + "fullName": "google.cloud.talent.v4beta1.JobService.BatchCreateJobs", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/sql/v1beta4/projects/{project}/instances/{instance}/createEphemeral" - } - ] - }, - { - "shortName": "Delete", - "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.Delete", - "mode": "UNARY", - "bindings": [ + "path": "/v4beta1/{parent=projects/*/tenants/*}/jobs:batchCreate" + }, { - "httpMethod": "DELETE", - "path": "/sql/v1beta4/projects/{project}/instances/{instance}" + "httpMethod": "POST", + "path": "/v4beta1/{parent=projects/*}/jobs:batchCreate" } ] }, { - "shortName": "DemoteMaster", - "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.DemoteMaster", + "shortName": "BatchDeleteJobs", + "fullName": "google.cloud.talent.v4beta1.JobService.BatchDeleteJobs", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/sql/v1beta4/projects/{project}/instances/{instance}/demoteMaster" - } - ] - }, - { - "shortName": "Export", - "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.Export", - "mode": "UNARY", - "bindings": [ + "path": "/v4beta1/{parent=projects/*/tenants/*}/jobs:batchDelete" + }, { "httpMethod": "POST", - "path": "/sql/v1beta4/projects/{project}/instances/{instance}/export" + "path": "/v4beta1/{parent=projects/*}/jobs:batchDelete" } ] }, { - "shortName": "Failover", - "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.Failover", + "shortName": "BatchUpdateJobs", + "fullName": "google.cloud.talent.v4beta1.JobService.BatchUpdateJobs", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/sql/v1beta4/projects/{project}/instances/{instance}/failover" - } - ] - }, - { - "shortName": "Get", - "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.Get", - "mode": "UNARY", - "bindings": [ + "path": "/v4beta1/{parent=projects/*/tenants/*}/jobs:batchUpdate" + }, { - "httpMethod": "GET", - "path": "/sql/v1beta4/projects/{project}/instances/{instance}" + "httpMethod": "POST", + "path": "/v4beta1/{parent=projects/*}/jobs:batchUpdate" } ] }, { - "shortName": "Import", - "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.Import", + "shortName": "CreateJob", + "fullName": "google.cloud.talent.v4beta1.JobService.CreateJob", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/sql/v1beta4/projects/{project}/instances/{instance}/import" + "path": "/v4beta1/{parent=projects/*/tenants/*}/jobs" + }, + { + "httpMethod": "POST", + "path": "/v4beta1/{parent=projects/*}/jobs" } ] }, { - "shortName": "Insert", - "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.Insert", + "shortName": "DeleteJob", + "fullName": "google.cloud.talent.v4beta1.JobService.DeleteJob", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/sql/v1beta4/projects/{project}/instances" + "httpMethod": "DELETE", + "path": "/v4beta1/{name=projects/*/tenants/*/jobs/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v4beta1/{name=projects/*/jobs/*}" } ] }, { - "shortName": "List", - "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.List", + "shortName": "GetJob", + "fullName": "google.cloud.talent.v4beta1.JobService.GetJob", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/sql/v1beta4/projects/{project}/instances" + "path": "/v4beta1/{name=projects/*/tenants/*/jobs/*}" + }, + { + "httpMethod": "GET", + "path": "/v4beta1/{name=projects/*/jobs/*}" } ] }, { - "shortName": "ListServerCas", - "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.ListServerCas", + "shortName": "ListJobs", + "fullName": "google.cloud.talent.v4beta1.JobService.ListJobs", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/sql/v1beta4/projects/{project}/instances/{instance}/listServerCas" + "path": "/v4beta1/{parent=projects/*/tenants/*}/jobs" + }, + { + "httpMethod": "GET", + "path": "/v4beta1/{parent=projects/*}/jobs" } ] }, { - "shortName": "Patch", - "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.Patch", + "shortName": "SearchJobs", + "fullName": "google.cloud.talent.v4beta1.JobService.SearchJobs", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/sql/v1beta4/projects/{project}/instances/{instance}" + "httpMethod": "POST", + "path": "/v4beta1/{parent=projects/*/tenants/*}/jobs:search" + }, + { + "httpMethod": "POST", + "path": "/v4beta1/{parent=projects/*}/jobs:search" } ] }, { - "shortName": "PromoteReplica", - "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.PromoteReplica", + "shortName": "SearchJobsForAlert", + "fullName": "google.cloud.talent.v4beta1.JobService.SearchJobsForAlert", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/sql/v1beta4/projects/{project}/instances/{instance}/promoteReplica" + "path": "/v4beta1/{parent=projects/*/tenants/*}/jobs:searchForAlert" + }, + { + "httpMethod": "POST", + "path": "/v4beta1/{parent=projects/*}/jobs:searchForAlert" } ] }, { - "shortName": "RescheduleMaintenance", - "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.RescheduleMaintenance", + "shortName": "UpdateJob", + "fullName": "google.cloud.talent.v4beta1.JobService.UpdateJob", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/sql/v1beta4/projects/{project}/instances/{instance}/rescheduleMaintenance" + "httpMethod": "PATCH", + "path": "/v4beta1/{job.name=projects/*/tenants/*/jobs/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v4beta1/{job.name=projects/*/jobs/*}" } ] - }, + } + ] + }, + { + "shortName": "TenantService", + "fullName": "google.cloud.talent.v4beta1.TenantService", + "methods": [ { - "shortName": "ResetSslConfig", - "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.ResetSslConfig", + "shortName": "CreateTenant", + "fullName": "google.cloud.talent.v4beta1.TenantService.CreateTenant", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/sql/v1beta4/projects/{project}/instances/{instance}/resetSslConfig" + "path": "/v4beta1/{parent=projects/*}/tenants" } ] }, { - "shortName": "Restart", - "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.Restart", + "shortName": "DeleteTenant", + "fullName": "google.cloud.talent.v4beta1.TenantService.DeleteTenant", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/sql/v1beta4/projects/{project}/instances/{instance}/restart" + "httpMethod": "DELETE", + "path": "/v4beta1/{name=projects/*/tenants/*}" } ] }, { - "shortName": "RestoreBackup", - "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.RestoreBackup", + "shortName": "GetTenant", + "fullName": "google.cloud.talent.v4beta1.TenantService.GetTenant", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/sql/v1beta4/projects/{project}/instances/{instance}/restoreBackup" + "httpMethod": "GET", + "path": "/v4beta1/{name=projects/*/tenants/*}" } ] }, { - "shortName": "RotateServerCa", - "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.RotateServerCa", + "shortName": "ListTenants", + "fullName": "google.cloud.talent.v4beta1.TenantService.ListTenants", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/sql/v1beta4/projects/{project}/instances/{instance}/rotateServerCa" + "httpMethod": "GET", + "path": "/v4beta1/{parent=projects/*}/tenants" } ] }, { - "shortName": "StartExternalSync", - "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.StartExternalSync", + "shortName": "UpdateTenant", + "fullName": "google.cloud.talent.v4beta1.TenantService.UpdateTenant", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/sql/v1beta4/projects/{project}/instances/{instance}/startExternalSync" + "httpMethod": "PATCH", + "path": "/v4beta1/{tenant.name=projects/*/tenants/*}" } ] - }, + } + ] + } + ], + "configFile": "jobs_v4beta1.yaml", + "serviceConfigApiNames": [ + "google.cloud.talent.v4beta1.CompanyService", + "google.cloud.talent.v4beta1.Completion", + "google.cloud.talent.v4beta1.EventService", + "google.cloud.talent.v4beta1.JobService", + "google.cloud.talent.v4beta1.TenantService", + "google.longrunning.Operations" + ], + "nameInServiceConfig": "jobs.googleapis.com" + }, + { + "id": "google.cloud.tasks.v2", + "directory": "google/cloud/tasks/v2", + "version": "v2", + "majorVersion": "v2", + "hostName": "cloudtasks.googleapis.com", + "title": "Cloud Tasks API", + "description": "Manages the execution of large numbers of distributed requests.", + "importDirectories": [ + "google/api", + "google/cloud/tasks/v2", + "google/iam/v1", + "google/protobuf", + "google/rpc" + ], + "options": { + "go_package": { + "valueCounts": { + "cloud.google.com/go/cloudtasks/apiv2/cloudtaskspb;cloudtaskspb": 4 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 4 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.tasks.v2": 4 + } + }, + "objc_class_prefix": { + "valueCounts": { + "": 3, + "TASKS": 1 + } + } + }, + "services": [ + { + "shortName": "CloudTasks", + "fullName": "google.cloud.tasks.v2.CloudTasks", + "methods": [ { - "shortName": "StartReplica", - "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.StartReplica", + "shortName": "CreateQueue", + "fullName": "google.cloud.tasks.v2.CloudTasks.CreateQueue", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/sql/v1beta4/projects/{project}/instances/{instance}/startReplica" + "path": "/v2/{parent=projects/*/locations/*}/queues" } ] }, { - "shortName": "StopReplica", - "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.StopReplica", + "shortName": "CreateTask", + "fullName": "google.cloud.tasks.v2.CloudTasks.CreateTask", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/sql/v1beta4/projects/{project}/instances/{instance}/stopReplica" + "path": "/v2/{parent=projects/*/locations/*/queues/*}/tasks" } ] }, { - "shortName": "TruncateLog", - "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.TruncateLog", + "shortName": "DeleteQueue", + "fullName": "google.cloud.tasks.v2.CloudTasks.DeleteQueue", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/sql/v1beta4/projects/{project}/instances/{instance}/truncateLog" + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/locations/*/queues/*}" } ] }, { - "shortName": "Update", - "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.Update", + "shortName": "DeleteTask", + "fullName": "google.cloud.tasks.v2.CloudTasks.DeleteTask", "mode": "UNARY", "bindings": [ { - "httpMethod": "PUT", - "path": "/sql/v1beta4/projects/{project}/instances/{instance}" + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/locations/*/queues/*/tasks/*}" } ] }, { - "shortName": "VerifyExternalSyncSettings", - "fullName": "google.cloud.sql.v1beta4.SqlInstancesService.VerifyExternalSyncSettings", + "shortName": "GetIamPolicy", + "fullName": "google.cloud.tasks.v2.CloudTasks.GetIamPolicy", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/sql/v1beta4/projects/{project}/instances/{instance}/verifyExternalSyncSettings" + "path": "/v2/{resource=projects/*/locations/*/queues/*}:getIamPolicy" } ] - } - ] - }, - { - "shortName": "SqlOperationsService", - "fullName": "google.cloud.sql.v1beta4.SqlOperationsService", - "methods": [ + }, { - "shortName": "Get", - "fullName": "google.cloud.sql.v1beta4.SqlOperationsService.Get", + "shortName": "GetQueue", + "fullName": "google.cloud.tasks.v2.CloudTasks.GetQueue", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/sql/v1beta4/projects/{project}/operations/{operation}" + "path": "/v2/{name=projects/*/locations/*/queues/*}" } ] }, { - "shortName": "List", - "fullName": "google.cloud.sql.v1beta4.SqlOperationsService.List", + "shortName": "GetTask", + "fullName": "google.cloud.tasks.v2.CloudTasks.GetTask", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/sql/v1beta4/projects/{project}/operations" + "path": "/v2/{name=projects/*/locations/*/queues/*/tasks/*}" } ] - } - ] - }, - { - "shortName": "SqlSslCertsService", - "fullName": "google.cloud.sql.v1beta4.SqlSslCertsService", - "methods": [ + }, { - "shortName": "Delete", - "fullName": "google.cloud.sql.v1beta4.SqlSslCertsService.Delete", + "shortName": "ListQueues", + "fullName": "google.cloud.tasks.v2.CloudTasks.ListQueues", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/sql/v1beta4/projects/{project}/instances/{instance}/sslCerts/{sha1_fingerprint}" + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*}/queues" } ] }, { - "shortName": "Get", - "fullName": "google.cloud.sql.v1beta4.SqlSslCertsService.Get", + "shortName": "ListTasks", + "fullName": "google.cloud.tasks.v2.CloudTasks.ListTasks", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/sql/v1beta4/projects/{project}/instances/{instance}/sslCerts/{sha1_fingerprint}" + "path": "/v2/{parent=projects/*/locations/*/queues/*}/tasks" } ] }, { - "shortName": "Insert", - "fullName": "google.cloud.sql.v1beta4.SqlSslCertsService.Insert", + "shortName": "PauseQueue", + "fullName": "google.cloud.tasks.v2.CloudTasks.PauseQueue", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/sql/v1beta4/projects/{project}/instances/{instance}/sslCerts" + "path": "/v2/{name=projects/*/locations/*/queues/*}:pause" } ] }, { - "shortName": "List", - "fullName": "google.cloud.sql.v1beta4.SqlSslCertsService.List", + "shortName": "PurgeQueue", + "fullName": "google.cloud.tasks.v2.CloudTasks.PurgeQueue", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/sql/v1beta4/projects/{project}/instances/{instance}/sslCerts" + "httpMethod": "POST", + "path": "/v2/{name=projects/*/locations/*/queues/*}:purge" } ] - } - ] - }, - { - "shortName": "SqlTiersService", - "fullName": "google.cloud.sql.v1beta4.SqlTiersService", - "methods": [ + }, { - "shortName": "List", - "fullName": "google.cloud.sql.v1beta4.SqlTiersService.List", + "shortName": "ResumeQueue", + "fullName": "google.cloud.tasks.v2.CloudTasks.ResumeQueue", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/sql/v1beta4/projects/{project}/tiers" + "httpMethod": "POST", + "path": "/v2/{name=projects/*/locations/*/queues/*}:resume" } ] - } - ] - }, - { - "shortName": "SqlUsersService", - "fullName": "google.cloud.sql.v1beta4.SqlUsersService", - "methods": [ + }, { - "shortName": "Delete", - "fullName": "google.cloud.sql.v1beta4.SqlUsersService.Delete", + "shortName": "RunTask", + "fullName": "google.cloud.tasks.v2.CloudTasks.RunTask", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/sql/v1beta4/projects/{project}/instances/{instance}/users" + "httpMethod": "POST", + "path": "/v2/{name=projects/*/locations/*/queues/*/tasks/*}:run" } ] }, { - "shortName": "Insert", - "fullName": "google.cloud.sql.v1beta4.SqlUsersService.Insert", + "shortName": "SetIamPolicy", + "fullName": "google.cloud.tasks.v2.CloudTasks.SetIamPolicy", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/sql/v1beta4/projects/{project}/instances/{instance}/users" + "path": "/v2/{resource=projects/*/locations/*/queues/*}:setIamPolicy" } ] }, { - "shortName": "List", - "fullName": "google.cloud.sql.v1beta4.SqlUsersService.List", + "shortName": "TestIamPermissions", + "fullName": "google.cloud.tasks.v2.CloudTasks.TestIamPermissions", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/sql/v1beta4/projects/{project}/instances/{instance}/users" + "httpMethod": "POST", + "path": "/v2/{resource=projects/*/locations/*/queues/*}:testIamPermissions" } ] }, { - "shortName": "Update", - "fullName": "google.cloud.sql.v1beta4.SqlUsersService.Update", + "shortName": "UpdateQueue", + "fullName": "google.cloud.tasks.v2.CloudTasks.UpdateQueue", "mode": "UNARY", "bindings": [ { - "httpMethod": "PUT", - "path": "/sql/v1beta4/projects/{project}/instances/{instance}/users" + "httpMethod": "PATCH", + "path": "/v2/{queue.name=projects/*/locations/*/queues/*}" } ] } ] } ], - "configFile": "sqladmin_v1beta4.yaml", + "configFile": "cloudtasks_v2.yaml", "serviceConfigApiNames": [ - "google.cloud.sql.v1beta4.SqlBackupRunsService", - "google.cloud.sql.v1beta4.SqlConnectService", - "google.cloud.sql.v1beta4.SqlDatabasesService", - "google.cloud.sql.v1beta4.SqlFlagsService", - "google.cloud.sql.v1beta4.SqlInstancesService", - "google.cloud.sql.v1beta4.SqlOperationsService", - "google.cloud.sql.v1beta4.SqlSslCertsService", - "google.cloud.sql.v1beta4.SqlTiersService", - "google.cloud.sql.v1beta4.SqlUsersService" + "google.cloud.location.Locations", + "google.cloud.tasks.v2.CloudTasks" ], - "nameInServiceConfig": "sqladmin.googleapis.com" + "nameInServiceConfig": "cloudtasks.googleapis.com" }, { - "id": "google.cloud.storageinsights.v1", - "directory": "google/cloud/storageinsights/v1", - "version": "v1", - "majorVersion": "v1", - "hostName": "storageinsights.googleapis.com", - "title": "Storage Insights API", - "description": "", + "id": "google.cloud.tasks.v2beta2", + "directory": "google/cloud/tasks/v2beta2", + "version": "v2beta2", + "majorVersion": "v2", + "hostName": "cloudtasks.googleapis.com", + "title": "Cloud Tasks API", + "description": "Manages the execution of large numbers of distributed requests.", "importDirectories": [ "google/api", + "google/cloud/tasks/v2beta2", + "google/iam/v1", "google/protobuf", - "google/rpc", - "google/type" + "google/rpc" ], "options": { - "csharp_namespace": { - "valueCounts": { - "Google.Cloud.StorageInsights.V1": 1 - } - }, "go_package": { "valueCounts": { - "cloud.google.com/go/storageinsights/apiv1/storageinsightspb;storageinsightspb": 1 + "cloud.google.com/go/cloudtasks/apiv2beta2/cloudtaskspb;cloudtaskspb": 5 } }, "java_multiple_files": { "valueCounts": { - "true": 1 + "true": 5 } }, "java_package": { "valueCounts": { - "com.google.cloud.storageinsights.v1": 1 - } - }, - "php_namespace": { - "valueCounts": { - "Google\\Cloud\\StorageInsights\\V1": 1 + "com.google.cloud.tasks.v2beta2": 5 } }, - "ruby_package": { + "objc_class_prefix": { "valueCounts": { - "Google::Cloud::StorageInsights::V1": 1 + "": 4, + "TASKS": 1 } } }, "services": [ { - "shortName": "StorageInsights", - "fullName": "google.cloud.storageinsights.v1.StorageInsights", + "shortName": "CloudTasks", + "fullName": "google.cloud.tasks.v2beta2.CloudTasks", "methods": [ { - "shortName": "CreateReportConfig", - "fullName": "google.cloud.storageinsights.v1.StorageInsights.CreateReportConfig", + "shortName": "AcknowledgeTask", + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*}/reportConfigs" + "path": "/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}:acknowledge" } ] }, { - "shortName": "DeleteReportConfig", - "fullName": "google.cloud.storageinsights.v1.StorageInsights.DeleteReportConfig", + "shortName": "CancelLease", + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.CancelLease", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}:cancelLease" + } + ] + }, + { + "shortName": "CreateQueue", + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.CreateQueue", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta2/{parent=projects/*/locations/*}/queues" + } + ] + }, + { + "shortName": "CreateTask", + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.CreateTask", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta2/{parent=projects/*/locations/*/queues/*}/tasks" + } + ] + }, + { + "shortName": "DeleteQueue", + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.DeleteQueue", "mode": "UNARY", "bindings": [ { "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/locations/*/reportConfigs/*}" + "path": "/v2beta2/{name=projects/*/locations/*/queues/*}" } ] }, { - "shortName": "GetReportConfig", - "fullName": "google.cloud.storageinsights.v1.StorageInsights.GetReportConfig", + "shortName": "DeleteTask", + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.DeleteTask", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}" + } + ] + }, + { + "shortName": "GetIamPolicy", + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.GetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta2/{resource=projects/*/locations/*/queues/*}:getIamPolicy" + } + ] + }, + { + "shortName": "GetQueue", + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.GetQueue", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/reportConfigs/*}" + "path": "/v2beta2/{name=projects/*/locations/*/queues/*}" } ] }, { - "shortName": "GetReportDetail", - "fullName": "google.cloud.storageinsights.v1.StorageInsights.GetReportDetail", + "shortName": "GetTask", + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.GetTask", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{name=projects/*/locations/*/reportConfigs/*/reportDetails/*}" + "path": "/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}" } ] }, { - "shortName": "ListReportConfigs", - "fullName": "google.cloud.storageinsights.v1.StorageInsights.ListReportConfigs", + "shortName": "LeaseTasks", + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta2/{parent=projects/*/locations/*/queues/*}/tasks:lease" + } + ] + }, + { + "shortName": "ListQueues", + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.ListQueues", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*}/reportConfigs" + "path": "/v2beta2/{parent=projects/*/locations/*}/queues" } ] }, { - "shortName": "ListReportDetails", - "fullName": "google.cloud.storageinsights.v1.StorageInsights.ListReportDetails", + "shortName": "ListTasks", + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.ListTasks", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v1/{parent=projects/*/locations/*/reportConfigs/*}/reportDetails" + "path": "/v2beta2/{parent=projects/*/locations/*/queues/*}/tasks" } ] }, { - "shortName": "UpdateReportConfig", - "fullName": "google.cloud.storageinsights.v1.StorageInsights.UpdateReportConfig", + "shortName": "PauseQueue", + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.PauseQueue", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v1/{report_config.name=projects/*/locations/*/reportConfigs/*}" + "httpMethod": "POST", + "path": "/v2beta2/{name=projects/*/locations/*/queues/*}:pause" } ] - } - ] - } - ], - "configFile": "storageinsights_v1.yaml", - "serviceConfigApiNames": [ - "google.cloud.location.Locations", - "google.cloud.storageinsights.v1.StorageInsights", - "google.longrunning.Operations" - ], - "nameInServiceConfig": "storageinsights.googleapis.com" - }, - { - "id": "google.cloud.talent.v4", - "directory": "google/cloud/talent/v4", - "version": "v4", - "majorVersion": "v4", - "hostName": "jobs.googleapis.com", - "title": "Cloud Talent Solution API", - "description": "Cloud Talent Solution provides the capability to create, read, update, and delete job postings, as well as search jobs based on keywords and filters.", - "importDirectories": [ - "google/api", - "google/cloud/talent/v4", - "google/longrunning", - "google/protobuf", - "google/rpc", - "google/type" - ], - "options": { - "go_package": { - "valueCounts": { - "cloud.google.com/go/talent/apiv4/talentpb;talentpb": 12 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 12 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.talent.v4": 12 - } - }, - "objc_class_prefix": { - "valueCounts": { - "CTS": 12 - } - } - }, - "services": [ - { - "shortName": "CompanyService", - "fullName": "google.cloud.talent.v4.CompanyService", - "methods": [ + }, { - "shortName": "CreateCompany", - "fullName": "google.cloud.talent.v4.CompanyService.CreateCompany", + "shortName": "PurgeQueue", + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v4/{parent=projects/*/tenants/*}/companies" + "path": "/v2beta2/{name=projects/*/locations/*/queues/*}:purge" } ] }, { - "shortName": "DeleteCompany", - "fullName": "google.cloud.talent.v4.CompanyService.DeleteCompany", + "shortName": "RenewLease", + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.RenewLease", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v4/{name=projects/*/tenants/*/companies/*}" + "httpMethod": "POST", + "path": "/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}:renewLease" } ] }, { - "shortName": "GetCompany", - "fullName": "google.cloud.talent.v4.CompanyService.GetCompany", + "shortName": "ResumeQueue", + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v4/{name=projects/*/tenants/*/companies/*}" + "httpMethod": "POST", + "path": "/v2beta2/{name=projects/*/locations/*/queues/*}:resume" } ] }, { - "shortName": "ListCompanies", - "fullName": "google.cloud.talent.v4.CompanyService.ListCompanies", + "shortName": "RunTask", + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.RunTask", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v4/{parent=projects/*/tenants/*}/companies" + "httpMethod": "POST", + "path": "/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}:run" + } + ] + }, + { + "shortName": "SetIamPolicy", + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.SetIamPolicy", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2beta2/{resource=projects/*/locations/*/queues/*}:setIamPolicy" } ] }, { - "shortName": "UpdateCompany", - "fullName": "google.cloud.talent.v4.CompanyService.UpdateCompany", + "shortName": "TestIamPermissions", + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.TestIamPermissions", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v4/{company.name=projects/*/tenants/*/companies/*}" + "httpMethod": "POST", + "path": "/v2beta2/{resource=projects/*/locations/*/queues/*}:testIamPermissions" } ] - } - ] - }, - { - "shortName": "Completion", - "fullName": "google.cloud.talent.v4.Completion", - "methods": [ + }, { - "shortName": "CompleteQuery", - "fullName": "google.cloud.talent.v4.Completion.CompleteQuery", + "shortName": "UpdateQueue", + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v4/{tenant=projects/*/tenants/*}:completeQuery" + "httpMethod": "PATCH", + "path": "/v2beta2/{queue.name=projects/*/locations/*/queues/*}" } ] + }, + { + "shortName": "UploadQueueYaml", + "fullName": "google.cloud.tasks.v2beta2.CloudTasks.UploadQueueYaml", + "mode": "UNARY" } ] + } + ], + "configFile": "cloudtasks_v2beta2.yaml", + "serviceConfigApiNames": [ + "google.cloud.location.Locations", + "google.cloud.tasks.v2beta2.CloudTasks" + ], + "nameInServiceConfig": "cloudtasks.googleapis.com" + }, + { + "id": "google.cloud.tasks.v2beta3", + "directory": "google/cloud/tasks/v2beta3", + "version": "v2beta3", + "majorVersion": "v2", + "hostName": "cloudtasks.googleapis.com", + "title": "Cloud Tasks API", + "description": "Manages the execution of large numbers of distributed requests.", + "importDirectories": [ + "google/api", + "google/cloud/tasks/v2beta3", + "google/iam/v1", + "google/protobuf", + "google/rpc" + ], + "options": { + "go_package": { + "valueCounts": { + "cloud.google.com/go/cloudtasks/apiv2beta3/cloudtaskspb;cloudtaskspb": 4 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 4 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.tasks.v2beta3": 4 + } }, + "objc_class_prefix": { + "valueCounts": { + "": 3, + "TASKS": 1 + } + } + }, + "services": [ { - "shortName": "EventService", - "fullName": "google.cloud.talent.v4.EventService", + "shortName": "CloudTasks", + "fullName": "google.cloud.tasks.v2beta3.CloudTasks", "methods": [ { - "shortName": "CreateClientEvent", - "fullName": "google.cloud.talent.v4.EventService.CreateClientEvent", + "shortName": "CreateQueue", + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.CreateQueue", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v4/{parent=projects/*/tenants/*}/clientEvents" + "path": "/v2beta3/{parent=projects/*/locations/*}/queues" } ] - } - ] - }, - { - "shortName": "JobService", - "fullName": "google.cloud.talent.v4.JobService", - "methods": [ + }, { - "shortName": "BatchCreateJobs", - "fullName": "google.cloud.talent.v4.JobService.BatchCreateJobs", + "shortName": "CreateTask", + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.CreateTask", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v4/{parent=projects/*/tenants/*}/jobs:batchCreate" + "path": "/v2beta3/{parent=projects/*/locations/*/queues/*}/tasks" } ] }, { - "shortName": "BatchDeleteJobs", - "fullName": "google.cloud.talent.v4.JobService.BatchDeleteJobs", + "shortName": "DeleteQueue", + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.DeleteQueue", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v4/{parent=projects/*/tenants/*}/jobs:batchDelete" + "httpMethod": "DELETE", + "path": "/v2beta3/{name=projects/*/locations/*/queues/*}" } ] }, { - "shortName": "BatchUpdateJobs", - "fullName": "google.cloud.talent.v4.JobService.BatchUpdateJobs", + "shortName": "DeleteTask", + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.DeleteTask", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v4/{parent=projects/*/tenants/*}/jobs:batchUpdate" + "httpMethod": "DELETE", + "path": "/v2beta3/{name=projects/*/locations/*/queues/*/tasks/*}" } ] }, { - "shortName": "CreateJob", - "fullName": "google.cloud.talent.v4.JobService.CreateJob", + "shortName": "GetIamPolicy", + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.GetIamPolicy", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v4/{parent=projects/*/tenants/*}/jobs" + "path": "/v2beta3/{resource=projects/*/locations/*/queues/*}:getIamPolicy" } ] }, { - "shortName": "DeleteJob", - "fullName": "google.cloud.talent.v4.JobService.DeleteJob", + "shortName": "GetQueue", + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.GetQueue", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v4/{name=projects/*/tenants/*/jobs/*}" + "httpMethod": "GET", + "path": "/v2beta3/{name=projects/*/locations/*/queues/*}" } ] }, { - "shortName": "GetJob", - "fullName": "google.cloud.talent.v4.JobService.GetJob", + "shortName": "GetTask", + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.GetTask", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v4/{name=projects/*/tenants/*/jobs/*}" + "path": "/v2beta3/{name=projects/*/locations/*/queues/*/tasks/*}" } ] }, { - "shortName": "ListJobs", - "fullName": "google.cloud.talent.v4.JobService.ListJobs", + "shortName": "ListQueues", + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.ListQueues", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v4/{parent=projects/*/tenants/*}/jobs" + "path": "/v2beta3/{parent=projects/*/locations/*}/queues" } ] }, { - "shortName": "SearchJobs", - "fullName": "google.cloud.talent.v4.JobService.SearchJobs", + "shortName": "ListTasks", + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.ListTasks", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v4/{parent=projects/*/tenants/*}/jobs:search" + "httpMethod": "GET", + "path": "/v2beta3/{parent=projects/*/locations/*/queues/*}/tasks" } ] }, { - "shortName": "SearchJobsForAlert", - "fullName": "google.cloud.talent.v4.JobService.SearchJobsForAlert", + "shortName": "PauseQueue", + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.PauseQueue", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v4/{parent=projects/*/tenants/*}/jobs:searchForAlert" + "path": "/v2beta3/{name=projects/*/locations/*/queues/*}:pause" } ] }, { - "shortName": "UpdateJob", - "fullName": "google.cloud.talent.v4.JobService.UpdateJob", + "shortName": "PurgeQueue", + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v4/{job.name=projects/*/tenants/*/jobs/*}" + "httpMethod": "POST", + "path": "/v2beta3/{name=projects/*/locations/*/queues/*}:purge" } ] - } - ] - }, - { - "shortName": "TenantService", - "fullName": "google.cloud.talent.v4.TenantService", - "methods": [ + }, { - "shortName": "CreateTenant", - "fullName": "google.cloud.talent.v4.TenantService.CreateTenant", + "shortName": "ResumeQueue", + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v4/{parent=projects/*}/tenants" + "path": "/v2beta3/{name=projects/*/locations/*/queues/*}:resume" } ] }, { - "shortName": "DeleteTenant", - "fullName": "google.cloud.talent.v4.TenantService.DeleteTenant", + "shortName": "RunTask", + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.RunTask", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v4/{name=projects/*/tenants/*}" + "httpMethod": "POST", + "path": "/v2beta3/{name=projects/*/locations/*/queues/*/tasks/*}:run" } ] }, { - "shortName": "GetTenant", - "fullName": "google.cloud.talent.v4.TenantService.GetTenant", + "shortName": "SetIamPolicy", + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.SetIamPolicy", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v4/{name=projects/*/tenants/*}" + "httpMethod": "POST", + "path": "/v2beta3/{resource=projects/*/locations/*/queues/*}:setIamPolicy" } ] }, { - "shortName": "ListTenants", - "fullName": "google.cloud.talent.v4.TenantService.ListTenants", + "shortName": "TestIamPermissions", + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.TestIamPermissions", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v4/{parent=projects/*}/tenants" + "httpMethod": "POST", + "path": "/v2beta3/{resource=projects/*/locations/*/queues/*}:testIamPermissions" } ] }, { - "shortName": "UpdateTenant", - "fullName": "google.cloud.talent.v4.TenantService.UpdateTenant", + "shortName": "UpdateQueue", + "fullName": "google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v4/{tenant.name=projects/*/tenants/*}" + "path": "/v2beta3/{queue.name=projects/*/locations/*/queues/*}" } ] } ] } ], - "configFile": "jobs_v4.yaml", + "configFile": "cloudtasks_v2beta3.yaml", "serviceConfigApiNames": [ - "google.cloud.talent.v4.CompanyService", - "google.cloud.talent.v4.Completion", - "google.cloud.talent.v4.EventService", - "google.cloud.talent.v4.JobService", - "google.cloud.talent.v4.TenantService", - "google.longrunning.Operations" + "google.cloud.location.Locations", + "google.cloud.tasks.v2beta3.CloudTasks" ], - "nameInServiceConfig": "jobs.googleapis.com" + "nameInServiceConfig": "cloudtasks.googleapis.com" }, { - "id": "google.cloud.talent.v4beta1", - "directory": "google/cloud/talent/v4beta1", - "version": "v4beta1", - "majorVersion": "v4", - "hostName": "jobs.googleapis.com", - "title": "Cloud Talent Solution API", - "description": "Cloud Talent Solution provides the capability to create, read, update, and delete job postings, as well as search jobs based on keywords and filters.", + "id": "google.cloud.telcoautomation.v1", + "directory": "google/cloud/telcoautomation/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "telcoautomation.googleapis.com", + "title": "Telco Automation API", + "description": "APIs to automate management of cloud infrastructure for network functions.", "importDirectories": [ "google/api", - "google/cloud/talent/v4beta1", "google/longrunning", - "google/protobuf", - "google/rpc", - "google/type" + "google/protobuf" ], "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.TelcoAutomation.V1": 1 + } + }, "go_package": { "valueCounts": { - "cloud.google.com/go/talent/apiv4beta1/talentpb;talentpb": 13 + "cloud.google.com/go/telcoautomation/apiv1/telcoautomationpb;telcoautomationpb": 1 } }, "java_multiple_files": { "valueCounts": { - "true": 13 + "true": 1 } }, "java_package": { "valueCounts": { - "com.google.cloud.talent.v4beta1": 13 + "com.google.cloud.telcoautomation.v1": 1 } }, - "objc_class_prefix": { + "php_namespace": { "valueCounts": { - "CTS": 13 + "Google\\Cloud\\TelcoAutomation\\V1": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::TelcoAutomation::V1": 1 } } }, "services": [ { - "shortName": "CompanyService", - "fullName": "google.cloud.talent.v4beta1.CompanyService", + "shortName": "TelcoAutomation", + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation", "methods": [ { - "shortName": "CreateCompany", - "fullName": "google.cloud.talent.v4beta1.CompanyService.CreateCompany", + "shortName": "ApplyDeployment", + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.ApplyDeployment", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v4beta1/{parent=projects/*/tenants/*}/companies" - }, - { - "httpMethod": "POST", - "path": "/v4beta1/{parent=projects/*}/companies" + "path": "/v1/{name=projects/*/locations/*/orchestrationClusters/*/deployments/*}:apply" } ] }, { - "shortName": "DeleteCompany", - "fullName": "google.cloud.talent.v4beta1.CompanyService.DeleteCompany", + "shortName": "ApplyHydratedDeployment", + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.ApplyHydratedDeployment", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v4beta1/{name=projects/*/tenants/*/companies/*}" - }, - { - "httpMethod": "DELETE", - "path": "/v4beta1/{name=projects/*/companies/*}" + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/orchestrationClusters/*/deployments/*/hydratedDeployments/*}:apply" } ] }, { - "shortName": "GetCompany", - "fullName": "google.cloud.talent.v4beta1.CompanyService.GetCompany", + "shortName": "ApproveBlueprint", + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.ApproveBlueprint", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v4beta1/{name=projects/*/tenants/*/companies/*}" - }, - { - "httpMethod": "GET", - "path": "/v4beta1/{name=projects/*/companies/*}" + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/orchestrationClusters/*/blueprints/*}:approve" } ] }, { - "shortName": "ListCompanies", - "fullName": "google.cloud.talent.v4beta1.CompanyService.ListCompanies", + "shortName": "ComputeDeploymentStatus", + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.ComputeDeploymentStatus", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v4beta1/{parent=projects/*/tenants/*}/companies" - }, - { - "httpMethod": "GET", - "path": "/v4beta1/{parent=projects/*}/companies" + "path": "/v1/{name=projects/*/locations/*/orchestrationClusters/*/deployments/*}:computeDeploymentStatus" } ] }, { - "shortName": "UpdateCompany", - "fullName": "google.cloud.talent.v4beta1.CompanyService.UpdateCompany", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "PATCH", - "path": "/v4beta1/{company.name=projects/*/tenants/*/companies/*}" - }, - { - "httpMethod": "PATCH", - "path": "/v4beta1/{company.name=projects/*/companies/*}" - } - ] - } - ] - }, - { - "shortName": "Completion", - "fullName": "google.cloud.talent.v4beta1.Completion", - "methods": [ - { - "shortName": "CompleteQuery", - "fullName": "google.cloud.talent.v4beta1.Completion.CompleteQuery", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v4beta1/{parent=projects/*/tenants/*}:complete" - }, - { - "httpMethod": "GET", - "path": "/v4beta1/{parent=projects/*}:complete" - } - ] - } - ] - }, - { - "shortName": "EventService", - "fullName": "google.cloud.talent.v4beta1.EventService", - "methods": [ - { - "shortName": "CreateClientEvent", - "fullName": "google.cloud.talent.v4beta1.EventService.CreateClientEvent", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v4beta1/{parent=projects/*/tenants/*}/clientEvents" - }, - { - "httpMethod": "POST", - "path": "/v4beta1/{parent=projects/*}/clientEvents" - } - ] - } - ] - }, - { - "shortName": "JobService", - "fullName": "google.cloud.talent.v4beta1.JobService", - "methods": [ - { - "shortName": "BatchCreateJobs", - "fullName": "google.cloud.talent.v4beta1.JobService.BatchCreateJobs", + "shortName": "CreateBlueprint", + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.CreateBlueprint", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v4beta1/{parent=projects/*/tenants/*}/jobs:batchCreate" - }, - { - "httpMethod": "POST", - "path": "/v4beta1/{parent=projects/*}/jobs:batchCreate" + "path": "/v1/{parent=projects/*/locations/*/orchestrationClusters/*}/blueprints" } ] }, { - "shortName": "BatchDeleteJobs", - "fullName": "google.cloud.talent.v4beta1.JobService.BatchDeleteJobs", + "shortName": "CreateDeployment", + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.CreateDeployment", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v4beta1/{parent=projects/*/tenants/*}/jobs:batchDelete" - }, - { - "httpMethod": "POST", - "path": "/v4beta1/{parent=projects/*}/jobs:batchDelete" + "path": "/v1/{parent=projects/*/locations/*/orchestrationClusters/*}/deployments" } ] }, { - "shortName": "BatchUpdateJobs", - "fullName": "google.cloud.talent.v4beta1.JobService.BatchUpdateJobs", + "shortName": "CreateEdgeSlm", + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.CreateEdgeSlm", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v4beta1/{parent=projects/*/tenants/*}/jobs:batchUpdate" - }, - { - "httpMethod": "POST", - "path": "/v4beta1/{parent=projects/*}/jobs:batchUpdate" + "path": "/v1/{parent=projects/*/locations/*}/edgeSlms" } ] }, { - "shortName": "CreateJob", - "fullName": "google.cloud.talent.v4beta1.JobService.CreateJob", + "shortName": "CreateOrchestrationCluster", + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.CreateOrchestrationCluster", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v4beta1/{parent=projects/*/tenants/*}/jobs" - }, - { - "httpMethod": "POST", - "path": "/v4beta1/{parent=projects/*}/jobs" + "path": "/v1/{parent=projects/*/locations/*}/orchestrationClusters" } ] }, { - "shortName": "DeleteJob", - "fullName": "google.cloud.talent.v4beta1.JobService.DeleteJob", + "shortName": "DeleteBlueprint", + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.DeleteBlueprint", "mode": "UNARY", "bindings": [ { "httpMethod": "DELETE", - "path": "/v4beta1/{name=projects/*/tenants/*/jobs/*}" - }, - { - "httpMethod": "DELETE", - "path": "/v4beta1/{name=projects/*/jobs/*}" + "path": "/v1/{name=projects/*/locations/*/orchestrationClusters/*/blueprints/*}" } ] }, { - "shortName": "GetJob", - "fullName": "google.cloud.talent.v4beta1.JobService.GetJob", + "shortName": "DeleteEdgeSlm", + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.DeleteEdgeSlm", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v4beta1/{name=projects/*/tenants/*/jobs/*}" - }, - { - "httpMethod": "GET", - "path": "/v4beta1/{name=projects/*/jobs/*}" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/edgeSlms/*}" } ] }, { - "shortName": "ListJobs", - "fullName": "google.cloud.talent.v4beta1.JobService.ListJobs", + "shortName": "DeleteOrchestrationCluster", + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.DeleteOrchestrationCluster", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v4beta1/{parent=projects/*/tenants/*}/jobs" - }, - { - "httpMethod": "GET", - "path": "/v4beta1/{parent=projects/*}/jobs" + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/orchestrationClusters/*}" } ] }, { - "shortName": "SearchJobs", - "fullName": "google.cloud.talent.v4beta1.JobService.SearchJobs", + "shortName": "DiscardBlueprintChanges", + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.DiscardBlueprintChanges", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v4beta1/{parent=projects/*/tenants/*}/jobs:search" - }, - { - "httpMethod": "POST", - "path": "/v4beta1/{parent=projects/*}/jobs:search" + "path": "/v1/{name=projects/*/locations/*/orchestrationClusters/*/blueprints/*}:discard" } ] }, { - "shortName": "SearchJobsForAlert", - "fullName": "google.cloud.talent.v4beta1.JobService.SearchJobsForAlert", + "shortName": "DiscardDeploymentChanges", + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.DiscardDeploymentChanges", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v4beta1/{parent=projects/*/tenants/*}/jobs:searchForAlert" - }, - { - "httpMethod": "POST", - "path": "/v4beta1/{parent=projects/*}/jobs:searchForAlert" + "path": "/v1/{name=projects/*/locations/*/orchestrationClusters/*/deployments/*}:discard" } ] }, { - "shortName": "UpdateJob", - "fullName": "google.cloud.talent.v4beta1.JobService.UpdateJob", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "PATCH", - "path": "/v4beta1/{job.name=projects/*/tenants/*/jobs/*}" - }, - { - "httpMethod": "PATCH", - "path": "/v4beta1/{job.name=projects/*/jobs/*}" - } - ] - } - ] - }, - { - "shortName": "TenantService", - "fullName": "google.cloud.talent.v4beta1.TenantService", - "methods": [ - { - "shortName": "CreateTenant", - "fullName": "google.cloud.talent.v4beta1.TenantService.CreateTenant", + "shortName": "GetBlueprint", + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.GetBlueprint", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v4beta1/{parent=projects/*}/tenants" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/orchestrationClusters/*/blueprints/*}" } ] }, { - "shortName": "DeleteTenant", - "fullName": "google.cloud.talent.v4beta1.TenantService.DeleteTenant", + "shortName": "GetDeployment", + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.GetDeployment", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v4beta1/{name=projects/*/tenants/*}" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/orchestrationClusters/*/deployments/*}" } ] }, { - "shortName": "GetTenant", - "fullName": "google.cloud.talent.v4beta1.TenantService.GetTenant", + "shortName": "GetEdgeSlm", + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.GetEdgeSlm", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v4beta1/{name=projects/*/tenants/*}" + "path": "/v1/{name=projects/*/locations/*/edgeSlms/*}" } ] }, { - "shortName": "ListTenants", - "fullName": "google.cloud.talent.v4beta1.TenantService.ListTenants", + "shortName": "GetHydratedDeployment", + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.GetHydratedDeployment", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v4beta1/{parent=projects/*}/tenants" + "path": "/v1/{name=projects/*/locations/*/orchestrationClusters/*/deployments/*/hydratedDeployments/*}" } ] }, { - "shortName": "UpdateTenant", - "fullName": "google.cloud.talent.v4beta1.TenantService.UpdateTenant", + "shortName": "GetOrchestrationCluster", + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.GetOrchestrationCluster", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v4beta1/{tenant.name=projects/*/tenants/*}" - } - ] - } - ] - } - ], - "configFile": "jobs_v4beta1.yaml", - "serviceConfigApiNames": [ - "google.cloud.talent.v4beta1.CompanyService", - "google.cloud.talent.v4beta1.Completion", - "google.cloud.talent.v4beta1.EventService", - "google.cloud.talent.v4beta1.JobService", - "google.cloud.talent.v4beta1.TenantService", - "google.longrunning.Operations" - ], - "nameInServiceConfig": "jobs.googleapis.com" - }, - { - "id": "google.cloud.tasks.v2", - "directory": "google/cloud/tasks/v2", - "version": "v2", - "majorVersion": "v2", - "hostName": "cloudtasks.googleapis.com", - "title": "Cloud Tasks API", - "description": "Manages the execution of large numbers of distributed requests.", - "importDirectories": [ - "google/api", - "google/cloud/tasks/v2", - "google/iam/v1", - "google/protobuf", - "google/rpc" - ], - "options": { - "go_package": { - "valueCounts": { - "cloud.google.com/go/tasks/apiv2/taskspb;taskspb": 4 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 4 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.tasks.v2": 4 - } - }, - "objc_class_prefix": { - "valueCounts": { - "": 3, - "TASKS": 1 - } - } - }, - "services": [ - { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2.CloudTasks", - "methods": [ + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/orchestrationClusters/*}" + } + ] + }, { - "shortName": "CreateQueue", - "fullName": "google.cloud.tasks.v2.CloudTasks.CreateQueue", + "shortName": "GetPublicBlueprint", + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.GetPublicBlueprint", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2/{parent=projects/*/locations/*}/queues" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/publicBlueprints/*}" } ] }, { - "shortName": "CreateTask", - "fullName": "google.cloud.tasks.v2.CloudTasks.CreateTask", + "shortName": "ListBlueprintRevisions", + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.ListBlueprintRevisions", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2/{parent=projects/*/locations/*/queues/*}/tasks" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/orchestrationClusters/*/blueprints/*}:listRevisions" } ] }, { - "shortName": "DeleteQueue", - "fullName": "google.cloud.tasks.v2.CloudTasks.DeleteQueue", + "shortName": "ListBlueprints", + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.ListBlueprints", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v2/{name=projects/*/locations/*/queues/*}" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/orchestrationClusters/*}/blueprints" } ] }, { - "shortName": "DeleteTask", - "fullName": "google.cloud.tasks.v2.CloudTasks.DeleteTask", + "shortName": "ListDeploymentRevisions", + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.ListDeploymentRevisions", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v2/{name=projects/*/locations/*/queues/*/tasks/*}" + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/orchestrationClusters/*/deployments/*}:listRevisions" } ] }, { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.tasks.v2.CloudTasks.GetIamPolicy", + "shortName": "ListDeployments", + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.ListDeployments", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2/{resource=projects/*/locations/*/queues/*}:getIamPolicy" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/orchestrationClusters/*}/deployments" } ] }, { - "shortName": "GetQueue", - "fullName": "google.cloud.tasks.v2.CloudTasks.GetQueue", + "shortName": "ListEdgeSlms", + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.ListEdgeSlms", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2/{name=projects/*/locations/*/queues/*}" + "path": "/v1/{parent=projects/*/locations/*}/edgeSlms" } ] }, { - "shortName": "GetTask", - "fullName": "google.cloud.tasks.v2.CloudTasks.GetTask", + "shortName": "ListHydratedDeployments", + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.ListHydratedDeployments", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2/{name=projects/*/locations/*/queues/*/tasks/*}" + "path": "/v1/{parent=projects/*/locations/*/orchestrationClusters/*/deployments/*}/hydratedDeployments" } ] }, { - "shortName": "ListQueues", - "fullName": "google.cloud.tasks.v2.CloudTasks.ListQueues", + "shortName": "ListOrchestrationClusters", + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.ListOrchestrationClusters", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2/{parent=projects/*/locations/*}/queues" + "path": "/v1/{parent=projects/*/locations/*}/orchestrationClusters" } ] }, { - "shortName": "ListTasks", - "fullName": "google.cloud.tasks.v2.CloudTasks.ListTasks", + "shortName": "ListPublicBlueprints", + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.ListPublicBlueprints", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2/{parent=projects/*/locations/*/queues/*}/tasks" + "path": "/v1/{parent=projects/*/locations/*}/publicBlueprints" } ] }, { - "shortName": "PauseQueue", - "fullName": "google.cloud.tasks.v2.CloudTasks.PauseQueue", + "shortName": "ProposeBlueprint", + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.ProposeBlueprint", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2/{name=projects/*/locations/*/queues/*}:pause" + "path": "/v1/{name=projects/*/locations/*/orchestrationClusters/*/blueprints/*}:propose" } ] }, { - "shortName": "PurgeQueue", - "fullName": "google.cloud.tasks.v2.CloudTasks.PurgeQueue", + "shortName": "RejectBlueprint", + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.RejectBlueprint", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2/{name=projects/*/locations/*/queues/*}:purge" + "path": "/v1/{name=projects/*/locations/*/orchestrationClusters/*/blueprints/*}:reject" } ] }, { - "shortName": "ResumeQueue", - "fullName": "google.cloud.tasks.v2.CloudTasks.ResumeQueue", + "shortName": "RemoveDeployment", + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.RemoveDeployment", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2/{name=projects/*/locations/*/queues/*}:resume" + "path": "/v1/{name=projects/*/locations/*/orchestrationClusters/*/deployments/*}:remove" } ] }, { - "shortName": "RunTask", - "fullName": "google.cloud.tasks.v2.CloudTasks.RunTask", + "shortName": "RollbackDeployment", + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.RollbackDeployment", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2/{name=projects/*/locations/*/queues/*/tasks/*}:run" + "path": "/v1/{name=projects/*/locations/*/orchestrationClusters/*/deployments/*}:rollback" } ] }, { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.tasks.v2.CloudTasks.SetIamPolicy", + "shortName": "SearchBlueprintRevisions", + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.SearchBlueprintRevisions", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2/{resource=projects/*/locations/*/queues/*}:setIamPolicy" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/orchestrationClusters/*}/blueprints:searchRevisions" } ] }, { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.tasks.v2.CloudTasks.TestIamPermissions", + "shortName": "SearchDeploymentRevisions", + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.SearchDeploymentRevisions", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2/{resource=projects/*/locations/*/queues/*}:testIamPermissions" + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/orchestrationClusters/*}/deployments:searchRevisions" } ] }, { - "shortName": "UpdateQueue", - "fullName": "google.cloud.tasks.v2.CloudTasks.UpdateQueue", + "shortName": "UpdateBlueprint", + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.UpdateBlueprint", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v2/{queue.name=projects/*/locations/*/queues/*}" + "path": "/v1/{blueprint.name=projects/*/locations/*/orchestrationClusters/*/blueprints/*}" + } + ] + }, + { + "shortName": "UpdateDeployment", + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.UpdateDeployment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{deployment.name=projects/*/locations/*/orchestrationClusters/*/deployments/*}" + } + ] + }, + { + "shortName": "UpdateHydratedDeployment", + "fullName": "google.cloud.telcoautomation.v1.TelcoAutomation.UpdateHydratedDeployment", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{hydrated_deployment.name=projects/*/locations/*/orchestrationClusters/*/deployments/*/hydratedDeployments/*}" } ] } ] } ], - "configFile": "cloudtasks_v2.yaml", + "configFile": "telcoautomation_v1.yaml", "serviceConfigApiNames": [ - "google.cloud.tasks.v2.CloudTasks" + "google.cloud.location.Locations", + "google.cloud.telcoautomation.v1.TelcoAutomation", + "google.longrunning.Operations" ], - "nameInServiceConfig": "cloudtasks.googleapis.com" + "nameInServiceConfig": "telcoautomation.googleapis.com" }, { - "id": "google.cloud.tasks.v2beta2", - "directory": "google/cloud/tasks/v2beta2", - "version": "v2beta2", - "majorVersion": "v2", - "hostName": "cloudtasks.googleapis.com", - "title": "Cloud Tasks API", - "description": "Manages the execution of large numbers of distributed requests.", + "id": "google.cloud.telcoautomation.v1alpha1", + "directory": "google/cloud/telcoautomation/v1alpha1", + "version": "v1alpha1", + "majorVersion": "v1", + "hostName": "telcoautomation.googleapis.com", + "title": "Telco Automation API", + "description": "APIs to automate management of cloud infrastructure for network functions.", "importDirectories": [ "google/api", - "google/cloud/tasks/v2beta2", - "google/iam/v1", - "google/protobuf", - "google/rpc" + "google/longrunning", + "google/protobuf" ], "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.TelcoAutomation.V1": 1 + } + }, "go_package": { "valueCounts": { - "cloud.google.com/go/tasks/apiv2beta2/taskspb;taskspb": 5 + "cloud.google.com/go/telcoautomation/apiv1alpha1/telcoautomationpb;telcoautomationpb": 1 } }, "java_multiple_files": { "valueCounts": { - "true": 5 + "true": 1 } }, "java_package": { "valueCounts": { - "com.google.cloud.tasks.v2beta2": 5 + "com.google.cloud.telcoautomation.v1alpha1": 1 } }, - "objc_class_prefix": { + "php_namespace": { "valueCounts": { - "": 4, - "TASKS": 1 + "Google\\Cloud\\TelcoAutomation\\V1": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::TelcoAutomation::V1": 1 } } }, "services": [ { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks", + "shortName": "TelcoAutomation", + "fullName": "google.cloud.telcoautomation.v1alpha1.TelcoAutomation", "methods": [ { - "shortName": "AcknowledgeTask", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask", + "shortName": "ApplyDeployment", + "fullName": "google.cloud.telcoautomation.v1alpha1.TelcoAutomation.ApplyDeployment", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}:acknowledge" + "path": "/v1alpha1/{name=projects/*/locations/*/orchestrationClusters/*/deployments/*}:apply" } ] }, { - "shortName": "CancelLease", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks.CancelLease", + "shortName": "ApplyHydratedDeployment", + "fullName": "google.cloud.telcoautomation.v1alpha1.TelcoAutomation.ApplyHydratedDeployment", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}:cancelLease" + "path": "/v1alpha1/{name=projects/*/locations/*/orchestrationClusters/*/deployments/*/hydratedDeployments/*}:apply" } ] }, { - "shortName": "CreateQueue", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks.CreateQueue", + "shortName": "ApproveBlueprint", + "fullName": "google.cloud.telcoautomation.v1alpha1.TelcoAutomation.ApproveBlueprint", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2beta2/{parent=projects/*/locations/*}/queues" + "path": "/v1alpha1/{name=projects/*/locations/*/orchestrationClusters/*/blueprints/*}:approve" } ] }, { - "shortName": "CreateTask", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks.CreateTask", + "shortName": "ComputeDeploymentStatus", + "fullName": "google.cloud.telcoautomation.v1alpha1.TelcoAutomation.ComputeDeploymentStatus", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2beta2/{parent=projects/*/locations/*/queues/*}/tasks" + "httpMethod": "GET", + "path": "/v1alpha1/{name=projects/*/locations/*/orchestrationClusters/*/deployments/*}:computeDeploymentStatus" } ] }, { - "shortName": "DeleteQueue", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks.DeleteQueue", + "shortName": "CreateBlueprint", + "fullName": "google.cloud.telcoautomation.v1alpha1.TelcoAutomation.CreateBlueprint", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v2beta2/{name=projects/*/locations/*/queues/*}" + "httpMethod": "POST", + "path": "/v1alpha1/{parent=projects/*/locations/*/orchestrationClusters/*}/blueprints" } ] }, { - "shortName": "DeleteTask", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks.DeleteTask", + "shortName": "CreateDeployment", + "fullName": "google.cloud.telcoautomation.v1alpha1.TelcoAutomation.CreateDeployment", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}" + "httpMethod": "POST", + "path": "/v1alpha1/{parent=projects/*/locations/*/orchestrationClusters/*}/deployments" } ] }, { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks.GetIamPolicy", + "shortName": "CreateEdgeSlm", + "fullName": "google.cloud.telcoautomation.v1alpha1.TelcoAutomation.CreateEdgeSlm", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2beta2/{resource=projects/*/locations/*/queues/*}:getIamPolicy" + "path": "/v1alpha1/{parent=projects/*/locations/*}/edgeSlms" } ] }, { - "shortName": "GetQueue", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks.GetQueue", + "shortName": "CreateOrchestrationCluster", + "fullName": "google.cloud.telcoautomation.v1alpha1.TelcoAutomation.CreateOrchestrationCluster", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v2beta2/{name=projects/*/locations/*/queues/*}" + "httpMethod": "POST", + "path": "/v1alpha1/{parent=projects/*/locations/*}/orchestrationClusters" } ] }, { - "shortName": "GetTask", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks.GetTask", + "shortName": "DeleteBlueprint", + "fullName": "google.cloud.telcoautomation.v1alpha1.TelcoAutomation.DeleteBlueprint", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}" + "httpMethod": "DELETE", + "path": "/v1alpha1/{name=projects/*/locations/*/orchestrationClusters/*/blueprints/*}" } ] }, { - "shortName": "LeaseTasks", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks", + "shortName": "DeleteEdgeSlm", + "fullName": "google.cloud.telcoautomation.v1alpha1.TelcoAutomation.DeleteEdgeSlm", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2beta2/{parent=projects/*/locations/*/queues/*}/tasks:lease" + "httpMethod": "DELETE", + "path": "/v1alpha1/{name=projects/*/locations/*/edgeSlms/*}" } ] }, { - "shortName": "ListQueues", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks.ListQueues", + "shortName": "DeleteOrchestrationCluster", + "fullName": "google.cloud.telcoautomation.v1alpha1.TelcoAutomation.DeleteOrchestrationCluster", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v2beta2/{parent=projects/*/locations/*}/queues" + "httpMethod": "DELETE", + "path": "/v1alpha1/{name=projects/*/locations/*/orchestrationClusters/*}" } ] }, { - "shortName": "ListTasks", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks.ListTasks", + "shortName": "DiscardBlueprintChanges", + "fullName": "google.cloud.telcoautomation.v1alpha1.TelcoAutomation.DiscardBlueprintChanges", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v2beta2/{parent=projects/*/locations/*/queues/*}/tasks" + "httpMethod": "POST", + "path": "/v1alpha1/{name=projects/*/locations/*/orchestrationClusters/*/blueprints/*}:discard" } ] }, { - "shortName": "PauseQueue", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks.PauseQueue", + "shortName": "DiscardDeploymentChanges", + "fullName": "google.cloud.telcoautomation.v1alpha1.TelcoAutomation.DiscardDeploymentChanges", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2beta2/{name=projects/*/locations/*/queues/*}:pause" + "path": "/v1alpha1/{name=projects/*/locations/*/orchestrationClusters/*/deployments/*}:discard" } ] }, { - "shortName": "PurgeQueue", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue", + "shortName": "GetBlueprint", + "fullName": "google.cloud.telcoautomation.v1alpha1.TelcoAutomation.GetBlueprint", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2beta2/{name=projects/*/locations/*/queues/*}:purge" + "httpMethod": "GET", + "path": "/v1alpha1/{name=projects/*/locations/*/orchestrationClusters/*/blueprints/*}" } ] }, { - "shortName": "RenewLease", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks.RenewLease", + "shortName": "GetDeployment", + "fullName": "google.cloud.telcoautomation.v1alpha1.TelcoAutomation.GetDeployment", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}:renewLease" + "httpMethod": "GET", + "path": "/v1alpha1/{name=projects/*/locations/*/orchestrationClusters/*/deployments/*}" } ] }, { - "shortName": "ResumeQueue", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue", + "shortName": "GetEdgeSlm", + "fullName": "google.cloud.telcoautomation.v1alpha1.TelcoAutomation.GetEdgeSlm", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2beta2/{name=projects/*/locations/*/queues/*}:resume" + "httpMethod": "GET", + "path": "/v1alpha1/{name=projects/*/locations/*/edgeSlms/*}" } ] }, { - "shortName": "RunTask", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks.RunTask", + "shortName": "GetHydratedDeployment", + "fullName": "google.cloud.telcoautomation.v1alpha1.TelcoAutomation.GetHydratedDeployment", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}:run" + "httpMethod": "GET", + "path": "/v1alpha1/{name=projects/*/locations/*/orchestrationClusters/*/deployments/*/hydratedDeployments/*}" } ] }, { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks.SetIamPolicy", + "shortName": "GetOrchestrationCluster", + "fullName": "google.cloud.telcoautomation.v1alpha1.TelcoAutomation.GetOrchestrationCluster", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2beta2/{resource=projects/*/locations/*/queues/*}:setIamPolicy" + "httpMethod": "GET", + "path": "/v1alpha1/{name=projects/*/locations/*/orchestrationClusters/*}" } ] }, { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks.TestIamPermissions", + "shortName": "GetPublicBlueprint", + "fullName": "google.cloud.telcoautomation.v1alpha1.TelcoAutomation.GetPublicBlueprint", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2beta2/{resource=projects/*/locations/*/queues/*}:testIamPermissions" + "httpMethod": "GET", + "path": "/v1alpha1/{name=projects/*/locations/*/publicBlueprints/*}" } ] }, { - "shortName": "UpdateQueue", - "fullName": "google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue", + "shortName": "ListBlueprintRevisions", + "fullName": "google.cloud.telcoautomation.v1alpha1.TelcoAutomation.ListBlueprintRevisions", "mode": "UNARY", "bindings": [ { - "httpMethod": "PATCH", - "path": "/v2beta2/{queue.name=projects/*/locations/*/queues/*}" + "httpMethod": "GET", + "path": "/v1alpha1/{name=projects/*/locations/*/orchestrationClusters/*/blueprints/*}:listRevisions" } ] - } - ] - } - ], - "configFile": "cloudtasks_v2beta2.yaml", - "serviceConfigApiNames": [ - "google.cloud.tasks.v2beta2.CloudTasks" - ], - "nameInServiceConfig": "cloudtasks.googleapis.com" - }, - { - "id": "google.cloud.tasks.v2beta3", - "directory": "google/cloud/tasks/v2beta3", - "version": "v2beta3", - "majorVersion": "v2", - "hostName": "cloudtasks.googleapis.com", - "title": "Cloud Tasks API", - "description": "Manages the execution of large numbers of distributed requests.", - "importDirectories": [ - "google/api", - "google/cloud/tasks/v2beta3", - "google/iam/v1", - "google/protobuf", - "google/rpc" - ], - "options": { - "go_package": { - "valueCounts": { - "cloud.google.com/go/tasks/apiv2beta3/taskspb;taskspb": 4 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 4 - } - }, - "java_package": { - "valueCounts": { - "com.google.cloud.tasks.v2beta3": 4 - } - }, - "objc_class_prefix": { - "valueCounts": { - "": 3, - "TASKS": 1 - } - } - }, - "services": [ - { - "shortName": "CloudTasks", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks", - "methods": [ + }, { - "shortName": "CreateQueue", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks.CreateQueue", + "shortName": "ListBlueprints", + "fullName": "google.cloud.telcoautomation.v1alpha1.TelcoAutomation.ListBlueprints", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2beta3/{parent=projects/*/locations/*}/queues" + "httpMethod": "GET", + "path": "/v1alpha1/{parent=projects/*/locations/*/orchestrationClusters/*}/blueprints" } ] }, { - "shortName": "CreateTask", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks.CreateTask", + "shortName": "ListDeploymentRevisions", + "fullName": "google.cloud.telcoautomation.v1alpha1.TelcoAutomation.ListDeploymentRevisions", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2beta3/{parent=projects/*/locations/*/queues/*}/tasks" + "httpMethod": "GET", + "path": "/v1alpha1/{name=projects/*/locations/*/orchestrationClusters/*/deployments/*}:listRevisions" } ] }, { - "shortName": "DeleteQueue", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks.DeleteQueue", + "shortName": "ListDeployments", + "fullName": "google.cloud.telcoautomation.v1alpha1.TelcoAutomation.ListDeployments", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v2beta3/{name=projects/*/locations/*/queues/*}" + "httpMethod": "GET", + "path": "/v1alpha1/{parent=projects/*/locations/*/orchestrationClusters/*}/deployments" } ] }, { - "shortName": "DeleteTask", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks.DeleteTask", + "shortName": "ListEdgeSlms", + "fullName": "google.cloud.telcoautomation.v1alpha1.TelcoAutomation.ListEdgeSlms", "mode": "UNARY", "bindings": [ { - "httpMethod": "DELETE", - "path": "/v2beta3/{name=projects/*/locations/*/queues/*/tasks/*}" + "httpMethod": "GET", + "path": "/v1alpha1/{parent=projects/*/locations/*}/edgeSlms" } ] }, { - "shortName": "GetIamPolicy", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks.GetIamPolicy", + "shortName": "ListHydratedDeployments", + "fullName": "google.cloud.telcoautomation.v1alpha1.TelcoAutomation.ListHydratedDeployments", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2beta3/{resource=projects/*/locations/*/queues/*}:getIamPolicy" + "httpMethod": "GET", + "path": "/v1alpha1/{parent=projects/*/locations/*/orchestrationClusters/*/deployments/*}/hydratedDeployments" } ] }, { - "shortName": "GetQueue", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks.GetQueue", + "shortName": "ListOrchestrationClusters", + "fullName": "google.cloud.telcoautomation.v1alpha1.TelcoAutomation.ListOrchestrationClusters", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2beta3/{name=projects/*/locations/*/queues/*}" + "path": "/v1alpha1/{parent=projects/*/locations/*}/orchestrationClusters" } ] }, { - "shortName": "GetTask", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks.GetTask", + "shortName": "ListPublicBlueprints", + "fullName": "google.cloud.telcoautomation.v1alpha1.TelcoAutomation.ListPublicBlueprints", "mode": "UNARY", "bindings": [ { "httpMethod": "GET", - "path": "/v2beta3/{name=projects/*/locations/*/queues/*/tasks/*}" + "path": "/v1alpha1/{parent=projects/*/locations/*}/publicBlueprints" } ] }, { - "shortName": "ListQueues", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks.ListQueues", + "shortName": "ProposeBlueprint", + "fullName": "google.cloud.telcoautomation.v1alpha1.TelcoAutomation.ProposeBlueprint", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v2beta3/{parent=projects/*/locations/*}/queues" + "httpMethod": "POST", + "path": "/v1alpha1/{name=projects/*/locations/*/orchestrationClusters/*/blueprints/*}:propose" } ] }, { - "shortName": "ListTasks", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks.ListTasks", + "shortName": "RejectBlueprint", + "fullName": "google.cloud.telcoautomation.v1alpha1.TelcoAutomation.RejectBlueprint", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v2beta3/{parent=projects/*/locations/*/queues/*}/tasks" + "httpMethod": "POST", + "path": "/v1alpha1/{name=projects/*/locations/*/orchestrationClusters/*/blueprints/*}:reject" } ] }, { - "shortName": "PauseQueue", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks.PauseQueue", + "shortName": "RemoveDeployment", + "fullName": "google.cloud.telcoautomation.v1alpha1.TelcoAutomation.RemoveDeployment", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2beta3/{name=projects/*/locations/*/queues/*}:pause" + "path": "/v1alpha1/{name=projects/*/locations/*/orchestrationClusters/*/deployments/*}:remove" } ] }, { - "shortName": "PurgeQueue", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue", + "shortName": "RollbackDeployment", + "fullName": "google.cloud.telcoautomation.v1alpha1.TelcoAutomation.RollbackDeployment", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v2beta3/{name=projects/*/locations/*/queues/*}:purge" + "path": "/v1alpha1/{name=projects/*/locations/*/orchestrationClusters/*/deployments/*}:rollback" } ] }, { - "shortName": "ResumeQueue", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue", + "shortName": "SearchBlueprintRevisions", + "fullName": "google.cloud.telcoautomation.v1alpha1.TelcoAutomation.SearchBlueprintRevisions", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2beta3/{name=projects/*/locations/*/queues/*}:resume" + "httpMethod": "GET", + "path": "/v1alpha1/{parent=projects/*/locations/*/orchestrationClusters/*}/blueprints:searchRevisions" } ] }, { - "shortName": "RunTask", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks.RunTask", + "shortName": "SearchDeploymentRevisions", + "fullName": "google.cloud.telcoautomation.v1alpha1.TelcoAutomation.SearchDeploymentRevisions", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2beta3/{name=projects/*/locations/*/queues/*/tasks/*}:run" + "httpMethod": "GET", + "path": "/v1alpha1/{parent=projects/*/locations/*/orchestrationClusters/*}/deployments:searchRevisions" } ] }, { - "shortName": "SetIamPolicy", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks.SetIamPolicy", + "shortName": "UpdateBlueprint", + "fullName": "google.cloud.telcoautomation.v1alpha1.TelcoAutomation.UpdateBlueprint", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2beta3/{resource=projects/*/locations/*/queues/*}:setIamPolicy" + "httpMethod": "PATCH", + "path": "/v1alpha1/{blueprint.name=projects/*/locations/*/orchestrationClusters/*/blueprints/*}" } ] }, { - "shortName": "TestIamPermissions", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks.TestIamPermissions", + "shortName": "UpdateDeployment", + "fullName": "google.cloud.telcoautomation.v1alpha1.TelcoAutomation.UpdateDeployment", "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", - "path": "/v2beta3/{resource=projects/*/locations/*/queues/*}:testIamPermissions" + "httpMethod": "PATCH", + "path": "/v1alpha1/{deployment.name=projects/*/locations/*/orchestrationClusters/*/deployments/*}" } ] }, { - "shortName": "UpdateQueue", - "fullName": "google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue", + "shortName": "UpdateHydratedDeployment", + "fullName": "google.cloud.telcoautomation.v1alpha1.TelcoAutomation.UpdateHydratedDeployment", "mode": "UNARY", "bindings": [ { "httpMethod": "PATCH", - "path": "/v2beta3/{queue.name=projects/*/locations/*/queues/*}" + "path": "/v1alpha1/{hydrated_deployment.name=projects/*/locations/*/orchestrationClusters/*/deployments/*/hydratedDeployments/*}" } ] } ] } ], - "configFile": "cloudtasks_v2beta3.yaml", + "configFile": "telcoautomation_v1alpha1.yaml", "serviceConfigApiNames": [ - "google.cloud.tasks.v2beta3.CloudTasks" + "google.cloud.location.Locations", + "google.cloud.telcoautomation.v1alpha1.TelcoAutomation", + "google.longrunning.Operations" ], - "nameInServiceConfig": "cloudtasks.googleapis.com" + "nameInServiceConfig": "telcoautomation.googleapis.com" }, { "id": "google.cloud.texttospeech.v1", @@ -75140,7 +89858,7 @@ "bindings": [ { "httpMethod": "POST", - "path": "/v1/{parent=projects/*/locations/*/voices/*}:SynthesizeLongAudio" + "path": "/v1/{parent=projects/*/locations/*}:synthesizeLongAudio" } ] } @@ -75246,7 +89964,7 @@ "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{parent=projects/*/locations/*/voices/*}:SynthesizeLongAudio" + "path": "/v1beta1/{parent=projects/*/locations/*}:synthesizeLongAudio" } ] } @@ -75963,6 +90681,17 @@ } ] }, + { + "shortName": "ResetQueuedResource", + "fullName": "google.cloud.tpu.v2alpha1.Tpu.ResetQueuedResource", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2alpha1/{name=projects/*/locations/*/queuedResources/*}:reset" + } + ] + }, { "shortName": "SimulateMaintenanceEvent", "fullName": "google.cloud.tpu.v2alpha1.Tpu.SimulateMaintenanceEvent", @@ -76028,43 +90757,44 @@ "description": "Integrates text translation into your website or application.", "importDirectories": [ "google/api", + "google/cloud/translate/v3", "google/longrunning", "google/protobuf" ], "options": { "cc_enable_arenas": { "valueCounts": { - "true": 1 + "true": 3 } }, "csharp_namespace": { "valueCounts": { - "Google.Cloud.Translate.V3": 1 + "Google.Cloud.Translate.V3": 3 } }, "go_package": { "valueCounts": { - "cloud.google.com/go/translation/apiv3/translationpb;translationpb": 1 + "cloud.google.com/go/translate/apiv3/translatepb;translatepb": 3 } }, "java_multiple_files": { "valueCounts": { - "true": 1 + "true": 3 } }, "java_package": { "valueCounts": { - "com.google.cloud.translate.v3": 1 + "com.google.cloud.translate.v3": 3 } }, "php_namespace": { "valueCounts": { - "Google\\Cloud\\Translate\\V3": 1 + "Google\\Cloud\\Translate\\V3": 3 } }, "ruby_package": { "valueCounts": { - "Google::Cloud::Translate::V3": 1 + "Google::Cloud::Translate::V3": 3 } } }, @@ -76073,6 +90803,17 @@ "shortName": "TranslationService", "fullName": "google.cloud.translation.v3.TranslationService", "methods": [ + { + "shortName": "AdaptiveMtTranslate", + "fullName": "google.cloud.translation.v3.TranslationService.AdaptiveMtTranslate", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{parent=projects/*/locations/*}:adaptiveMtTranslate" + } + ] + }, { "shortName": "BatchTranslateDocument", "fullName": "google.cloud.translation.v3.TranslationService.BatchTranslateDocument", @@ -76095,6 +90836,17 @@ } ] }, + { + "shortName": "CreateAdaptiveMtDataset", + "fullName": "google.cloud.translation.v3.TranslationService.CreateAdaptiveMtDataset", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{parent=projects/*/locations/*}/adaptiveMtDatasets" + } + ] + }, { "shortName": "CreateGlossary", "fullName": "google.cloud.translation.v3.TranslationService.CreateGlossary", @@ -76106,6 +90858,28 @@ } ] }, + { + "shortName": "DeleteAdaptiveMtDataset", + "fullName": "google.cloud.translation.v3.TranslationService.DeleteAdaptiveMtDataset", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3/{name=projects/*/locations/*/adaptiveMtDatasets/*}" + } + ] + }, + { + "shortName": "DeleteAdaptiveMtFile", + "fullName": "google.cloud.translation.v3.TranslationService.DeleteAdaptiveMtFile", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v3/{name=projects/*/locations/*/adaptiveMtDatasets/*/adaptiveMtFiles/*}" + } + ] + }, { "shortName": "DeleteGlossary", "fullName": "google.cloud.translation.v3.TranslationService.DeleteGlossary", @@ -76132,6 +90906,28 @@ } ] }, + { + "shortName": "GetAdaptiveMtDataset", + "fullName": "google.cloud.translation.v3.TranslationService.GetAdaptiveMtDataset", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{name=projects/*/locations/*/adaptiveMtDatasets/*}" + } + ] + }, + { + "shortName": "GetAdaptiveMtFile", + "fullName": "google.cloud.translation.v3.TranslationService.GetAdaptiveMtFile", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{name=projects/*/locations/*/adaptiveMtDatasets/*/adaptiveMtFiles/*}" + } + ] + }, { "shortName": "GetGlossary", "fullName": "google.cloud.translation.v3.TranslationService.GetGlossary", @@ -76158,6 +90954,54 @@ } ] }, + { + "shortName": "ImportAdaptiveMtFile", + "fullName": "google.cloud.translation.v3.TranslationService.ImportAdaptiveMtFile", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v3/{parent=projects/*/locations/*/adaptiveMtDatasets/*}:importAdaptiveMtFile" + } + ] + }, + { + "shortName": "ListAdaptiveMtDatasets", + "fullName": "google.cloud.translation.v3.TranslationService.ListAdaptiveMtDatasets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{parent=projects/*/locations/*}/adaptiveMtDatasets" + } + ] + }, + { + "shortName": "ListAdaptiveMtFiles", + "fullName": "google.cloud.translation.v3.TranslationService.ListAdaptiveMtFiles", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{parent=projects/*/locations/*/adaptiveMtDatasets/*}/adaptiveMtFiles" + } + ] + }, + { + "shortName": "ListAdaptiveMtSentences", + "fullName": "google.cloud.translation.v3.TranslationService.ListAdaptiveMtSentences", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v3/{parent=projects/*/locations/*/adaptiveMtDatasets/*/adaptiveMtFiles/*}/adaptiveMtSentences" + }, + { + "httpMethod": "GET", + "path": "/v3/{parent=projects/*/locations/*/adaptiveMtDatasets/*}/adaptiveMtSentences" + } + ] + }, { "shortName": "ListGlossaries", "fullName": "google.cloud.translation.v3.TranslationService.ListGlossaries", @@ -76403,7 +91247,8 @@ "google/cloud/video/livestream/v1", "google/longrunning", "google/protobuf", - "google/rpc" + "google/rpc", + "google/type" ], "options": { "csharp_namespace": { @@ -76442,6 +91287,17 @@ "shortName": "LivestreamService", "fullName": "google.cloud.video.livestream.v1.LivestreamService", "methods": [ + { + "shortName": "CreateAsset", + "fullName": "google.cloud.video.livestream.v1.LivestreamService.CreateAsset", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/assets" + } + ] + }, { "shortName": "CreateChannel", "fullName": "google.cloud.video.livestream.v1.LivestreamService.CreateChannel", @@ -76475,6 +91331,17 @@ } ] }, + { + "shortName": "DeleteAsset", + "fullName": "google.cloud.video.livestream.v1.LivestreamService.DeleteAsset", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/assets/*}" + } + ] + }, { "shortName": "DeleteChannel", "fullName": "google.cloud.video.livestream.v1.LivestreamService.DeleteChannel", @@ -76508,6 +91375,17 @@ } ] }, + { + "shortName": "GetAsset", + "fullName": "google.cloud.video.livestream.v1.LivestreamService.GetAsset", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/assets/*}" + } + ] + }, { "shortName": "GetChannel", "fullName": "google.cloud.video.livestream.v1.LivestreamService.GetChannel", @@ -76541,6 +91419,28 @@ } ] }, + { + "shortName": "GetPool", + "fullName": "google.cloud.video.livestream.v1.LivestreamService.GetPool", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/pools/*}" + } + ] + }, + { + "shortName": "ListAssets", + "fullName": "google.cloud.video.livestream.v1.LivestreamService.ListAssets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/assets" + } + ] + }, { "shortName": "ListChannels", "fullName": "google.cloud.video.livestream.v1.LivestreamService.ListChannels", @@ -76617,13 +91517,26 @@ "path": "/v1/{input.name=projects/*/locations/*/inputs/*}" } ] + }, + { + "shortName": "UpdatePool", + "fullName": "google.cloud.video.livestream.v1.LivestreamService.UpdatePool", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{pool.name=projects/*/locations/*/pools/*}" + } + ] } ] } ], "configFile": "livestream_v1.yaml", "serviceConfigApiNames": [ - "google.cloud.video.livestream.v1.LivestreamService" + "google.cloud.location.Locations", + "google.cloud.video.livestream.v1.LivestreamService", + "google.longrunning.Operations" ], "nameInServiceConfig": "livestream.googleapis.com" }, @@ -76638,22 +91551,23 @@ "importDirectories": [ "google/api", "google/cloud/video/stitcher/v1", + "google/longrunning", "google/protobuf" ], "options": { "go_package": { "valueCounts": { - "cloud.google.com/go/video/stitcher/apiv1/stitcherpb;stitcherpb": 8 + "cloud.google.com/go/video/stitcher/apiv1/stitcherpb;stitcherpb": 9 } }, "java_multiple_files": { "valueCounts": { - "true": 8 + "true": 9 } }, "java_package": { "valueCounts": { - "com.google.cloud.video.stitcher.v1": 8 + "com.google.cloud.video.stitcher.v1": 9 } } }, @@ -76673,6 +91587,17 @@ } ] }, + { + "shortName": "CreateLiveConfig", + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.CreateLiveConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/liveConfigs" + } + ] + }, { "shortName": "CreateLiveSession", "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.CreateLiveSession", @@ -76717,6 +91642,17 @@ } ] }, + { + "shortName": "DeleteLiveConfig", + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.DeleteLiveConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/liveConfigs/*}" + } + ] + }, { "shortName": "DeleteSlate", "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.DeleteSlate", @@ -76750,6 +91686,17 @@ } ] }, + { + "shortName": "GetLiveConfig", + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.GetLiveConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/liveConfigs/*}" + } + ] + }, { "shortName": "GetLiveSession", "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.GetLiveSession", @@ -76827,6 +91774,17 @@ } ] }, + { + "shortName": "ListLiveConfigs", + "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.ListLiveConfigs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/liveConfigs" + } + ] + }, { "shortName": "ListSlates", "fullName": "google.cloud.video.stitcher.v1.VideoStitcherService.ListSlates", @@ -76887,7 +91845,8 @@ ], "configFile": "videostitcher_v1.yaml", "serviceConfigApiNames": [ - "google.cloud.video.stitcher.v1.VideoStitcherService" + "google.cloud.video.stitcher.v1.VideoStitcherService", + "google.longrunning.Operations" ], "nameInServiceConfig": "videostitcher.googleapis.com" }, @@ -77220,7 +92179,7 @@ }, "go_package": { "valueCounts": { - "cloud.google.com/go/vision/apiv1/visionpb;visionpb": 6 + "cloud.google.com/go/vision/v2/apiv1/visionpb;visionpb": 6 } }, "java_multiple_files": { @@ -77541,7 +92500,8 @@ "configFile": "vision_v1.yaml", "serviceConfigApiNames": [ "google.cloud.vision.v1.ImageAnnotator", - "google.cloud.vision.v1.ProductSearch" + "google.cloud.vision.v1.ProductSearch", + "google.longrunning.Operations" ], "nameInServiceConfig": "vision.googleapis.com" }, @@ -77567,7 +92527,7 @@ }, "go_package": { "valueCounts": { - "cloud.google.com/go/vision/apiv1p1beta1/visionpb;visionpb": 4 + "cloud.google.com/go/vision/v2/apiv1p1beta1/visionpb;visionpb": 4 } }, "java_multiple_files": { @@ -78301,32 +93261,33 @@ "options": { "csharp_namespace": { "valueCounts": { - "Google.Cloud.VisionAI.V1": 11 + "Google.Cloud.VisionAI.V1": 12, + "Google.Cloud.VisionAi.V1": 1 } }, "go_package": { "valueCounts": { - "cloud.google.com/go/visionai/apiv1/visionaipb;visionaipb": 11 + "cloud.google.com/go/visionai/apiv1/visionaipb;visionaipb": 13 } }, "java_multiple_files": { "valueCounts": { - "true": 11 + "true": 13 } }, "java_package": { "valueCounts": { - "com.google.cloud.visionai.v1": 11 + "com.google.cloud.visionai.v1": 13 } }, "php_namespace": { "valueCounts": { - "Google\\Cloud\\VisionAI\\V1": 11 + "Google\\Cloud\\VisionAI\\V1": 13 } }, "ruby_package": { "valueCounts": { - "Google::Cloud::VisionAI::V1": 11 + "Google::Cloud::VisionAI::V1": 13 } } }, @@ -78623,10 +93584,38 @@ } ] }, + { + "shortName": "HealthCheckService", + "fullName": "google.cloud.visionai.v1.HealthCheckService", + "methods": [ + { + "shortName": "HealthCheck", + "fullName": "google.cloud.visionai.v1.HealthCheckService.HealthCheck", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{cluster=projects/*/locations/*/clusters/*}:healthCheck" + } + ] + } + ] + }, { "shortName": "LiveVideoAnalytics", "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics", "methods": [ + { + "shortName": "BatchRunProcess", + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.BatchRunProcess", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/clusters/*}/processes:batchRun" + } + ] + }, { "shortName": "CreateAnalysis", "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.CreateAnalysis", @@ -78638,6 +93627,28 @@ } ] }, + { + "shortName": "CreateOperator", + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.CreateOperator", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/operators" + } + ] + }, + { + "shortName": "CreateProcess", + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.CreateProcess", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/clusters/*}/processes" + } + ] + }, { "shortName": "DeleteAnalysis", "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.DeleteAnalysis", @@ -78649,6 +93660,28 @@ } ] }, + { + "shortName": "DeleteOperator", + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.DeleteOperator", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/operators/*}" + } + ] + }, + { + "shortName": "DeleteProcess", + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.DeleteProcess", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/clusters/*/processes/*}" + } + ] + }, { "shortName": "GetAnalysis", "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.GetAnalysis", @@ -78660,6 +93693,28 @@ } ] }, + { + "shortName": "GetOperator", + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.GetOperator", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/operators/*}" + } + ] + }, + { + "shortName": "GetProcess", + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.GetProcess", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/clusters/*/processes/*}" + } + ] + }, { "shortName": "ListAnalyses", "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.ListAnalyses", @@ -78671,6 +93726,50 @@ } ] }, + { + "shortName": "ListOperators", + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.ListOperators", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/operators" + } + ] + }, + { + "shortName": "ListProcesses", + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.ListProcesses", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/clusters/*}/processes" + } + ] + }, + { + "shortName": "ListPublicOperators", + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.ListPublicOperators", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}:listPublicOperators" + } + ] + }, + { + "shortName": "ResolveOperatorInfo", + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.ResolveOperatorInfo", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}:resolveOperatorInfo" + } + ] + }, { "shortName": "UpdateAnalysis", "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.UpdateAnalysis", @@ -78681,9 +93780,35 @@ "path": "/v1/{analysis.name=projects/*/locations/*/clusters/*/analyses/*}" } ] + }, + { + "shortName": "UpdateOperator", + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.UpdateOperator", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{operator.name=projects/*/locations/*/operators/*}" + } + ] + }, + { + "shortName": "UpdateProcess", + "fullName": "google.cloud.visionai.v1.LiveVideoAnalytics.UpdateProcess", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{process.name=projects/*/locations/*/clusters/*/processes/*}" + } + ] } ] }, + { + "shortName": "PredictionService", + "fullName": "google.cloud.visionai.v1.PredictionService" + }, { "shortName": "StreamingService", "fullName": "google.cloud.visionai.v1.StreamingService", @@ -79001,6 +94126,39 @@ "shortName": "Warehouse", "fullName": "google.cloud.visionai.v1.Warehouse", "methods": [ + { + "shortName": "AddCollectionItem", + "fullName": "google.cloud.visionai.v1.Warehouse.AddCollectionItem", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{item.collection=projects/*/locations/*/corpora/*/collections/*}:addCollectionItem" + } + ] + }, + { + "shortName": "AnalyzeAsset", + "fullName": "google.cloud.visionai.v1.Warehouse.AnalyzeAsset", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/corpora/*/assets/*}:analyze" + } + ] + }, + { + "shortName": "AnalyzeCorpus", + "fullName": "google.cloud.visionai.v1.Warehouse.AnalyzeCorpus", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/corpora/*}:analyze" + } + ] + }, { "shortName": "ClipAsset", "fullName": "google.cloud.visionai.v1.Warehouse.ClipAsset", @@ -79034,6 +94192,17 @@ } ] }, + { + "shortName": "CreateCollection", + "fullName": "google.cloud.visionai.v1.Warehouse.CreateCollection", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/corpora/*}/collections" + } + ] + }, { "shortName": "CreateCorpus", "fullName": "google.cloud.visionai.v1.Warehouse.CreateCorpus", @@ -79056,6 +94225,28 @@ } ] }, + { + "shortName": "CreateIndex", + "fullName": "google.cloud.visionai.v1.Warehouse.CreateIndex", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/corpora/*}/indexes" + } + ] + }, + { + "shortName": "CreateIndexEndpoint", + "fullName": "google.cloud.visionai.v1.Warehouse.CreateIndexEndpoint", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/indexEndpoints" + } + ] + }, { "shortName": "CreateSearchConfig", "fullName": "google.cloud.visionai.v1.Warehouse.CreateSearchConfig", @@ -79067,6 +94258,17 @@ } ] }, + { + "shortName": "CreateSearchHypernym", + "fullName": "google.cloud.visionai.v1.Warehouse.CreateSearchHypernym", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/corpora/*}/searchHypernyms" + } + ] + }, { "shortName": "DeleteAnnotation", "fullName": "google.cloud.visionai.v1.Warehouse.DeleteAnnotation", @@ -79089,6 +94291,17 @@ } ] }, + { + "shortName": "DeleteCollection", + "fullName": "google.cloud.visionai.v1.Warehouse.DeleteCollection", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/corpora/*/collections/*}" + } + ] + }, { "shortName": "DeleteCorpus", "fullName": "google.cloud.visionai.v1.Warehouse.DeleteCorpus", @@ -79111,6 +94324,28 @@ } ] }, + { + "shortName": "DeleteIndex", + "fullName": "google.cloud.visionai.v1.Warehouse.DeleteIndex", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/corpora/*/indexes/*}" + } + ] + }, + { + "shortName": "DeleteIndexEndpoint", + "fullName": "google.cloud.visionai.v1.Warehouse.DeleteIndexEndpoint", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/indexEndpoints/*}" + } + ] + }, { "shortName": "DeleteSearchConfig", "fullName": "google.cloud.visionai.v1.Warehouse.DeleteSearchConfig", @@ -79122,6 +94357,28 @@ } ] }, + { + "shortName": "DeleteSearchHypernym", + "fullName": "google.cloud.visionai.v1.Warehouse.DeleteSearchHypernym", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/corpora/*/searchHypernyms/*}" + } + ] + }, + { + "shortName": "DeployIndex", + "fullName": "google.cloud.visionai.v1.Warehouse.DeployIndex", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{index_endpoint=projects/*/locations/*/indexEndpoints/*}:deployIndex" + } + ] + }, { "shortName": "GenerateHlsUri", "fullName": "google.cloud.visionai.v1.Warehouse.GenerateHlsUri", @@ -79133,6 +94390,17 @@ } ] }, + { + "shortName": "GenerateRetrievalUrl", + "fullName": "google.cloud.visionai.v1.Warehouse.GenerateRetrievalUrl", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/corpora/*/assets/*}:generateRetrievalUrl" + } + ] + }, { "shortName": "GetAnnotation", "fullName": "google.cloud.visionai.v1.Warehouse.GetAnnotation", @@ -79155,6 +94423,17 @@ } ] }, + { + "shortName": "GetCollection", + "fullName": "google.cloud.visionai.v1.Warehouse.GetCollection", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/corpora/*/collections/*}" + } + ] + }, { "shortName": "GetCorpus", "fullName": "google.cloud.visionai.v1.Warehouse.GetCorpus", @@ -79177,6 +94456,28 @@ } ] }, + { + "shortName": "GetIndex", + "fullName": "google.cloud.visionai.v1.Warehouse.GetIndex", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/corpora/*/indexes/*}" + } + ] + }, + { + "shortName": "GetIndexEndpoint", + "fullName": "google.cloud.visionai.v1.Warehouse.GetIndexEndpoint", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/indexEndpoints/*}" + } + ] + }, { "shortName": "GetSearchConfig", "fullName": "google.cloud.visionai.v1.Warehouse.GetSearchConfig", @@ -79188,6 +94489,39 @@ } ] }, + { + "shortName": "GetSearchHypernym", + "fullName": "google.cloud.visionai.v1.Warehouse.GetSearchHypernym", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/corpora/*/searchHypernyms/*}" + } + ] + }, + { + "shortName": "ImportAssets", + "fullName": "google.cloud.visionai.v1.Warehouse.ImportAssets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/corpora/*}/assets:import" + } + ] + }, + { + "shortName": "IndexAsset", + "fullName": "google.cloud.visionai.v1.Warehouse.IndexAsset", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/corpora/*/assets/*}:index" + } + ] + }, { "shortName": "IngestAsset", "fullName": "google.cloud.visionai.v1.Warehouse.IngestAsset", @@ -79215,6 +94549,17 @@ } ] }, + { + "shortName": "ListCollections", + "fullName": "google.cloud.visionai.v1.Warehouse.ListCollections", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/corpora/*}/collections" + } + ] + }, { "shortName": "ListCorpora", "fullName": "google.cloud.visionai.v1.Warehouse.ListCorpora", @@ -79237,6 +94582,28 @@ } ] }, + { + "shortName": "ListIndexEndpoints", + "fullName": "google.cloud.visionai.v1.Warehouse.ListIndexEndpoints", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/indexEndpoints" + } + ] + }, + { + "shortName": "ListIndexes", + "fullName": "google.cloud.visionai.v1.Warehouse.ListIndexes", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/corpora/*}/indexes" + } + ] + }, { "shortName": "ListSearchConfigs", "fullName": "google.cloud.visionai.v1.Warehouse.ListSearchConfigs", @@ -79248,6 +94615,39 @@ } ] }, + { + "shortName": "ListSearchHypernyms", + "fullName": "google.cloud.visionai.v1.Warehouse.ListSearchHypernyms", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/corpora/*}/searchHypernyms" + } + ] + }, + { + "shortName": "RemoveCollectionItem", + "fullName": "google.cloud.visionai.v1.Warehouse.RemoveCollectionItem", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{item.collection=projects/*/locations/*/corpora/*/collections/*}:removeCollectionItem" + } + ] + }, + { + "shortName": "RemoveIndexAsset", + "fullName": "google.cloud.visionai.v1.Warehouse.RemoveIndexAsset", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/corpora/*/assets/*}:removeIndex" + } + ] + }, { "shortName": "SearchAssets", "fullName": "google.cloud.visionai.v1.Warehouse.SearchAssets", @@ -79259,6 +94659,28 @@ } ] }, + { + "shortName": "SearchIndexEndpoint", + "fullName": "google.cloud.visionai.v1.Warehouse.SearchIndexEndpoint", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{index_endpoint=projects/*/locations/*/indexEndpoints/*}:searchIndexEndpoint" + } + ] + }, + { + "shortName": "UndeployIndex", + "fullName": "google.cloud.visionai.v1.Warehouse.UndeployIndex", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{index_endpoint=projects/*/locations/*/indexEndpoints/*}:undeployIndex" + } + ] + }, { "shortName": "UpdateAnnotation", "fullName": "google.cloud.visionai.v1.Warehouse.UpdateAnnotation", @@ -79281,6 +94703,17 @@ } ] }, + { + "shortName": "UpdateCollection", + "fullName": "google.cloud.visionai.v1.Warehouse.UpdateCollection", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{collection.name=projects/*/locations/*/corpora/*/collections/*}" + } + ] + }, { "shortName": "UpdateCorpus", "fullName": "google.cloud.visionai.v1.Warehouse.UpdateCorpus", @@ -79303,6 +94736,28 @@ } ] }, + { + "shortName": "UpdateIndex", + "fullName": "google.cloud.visionai.v1.Warehouse.UpdateIndex", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{index.name=projects/*/locations/*/corpora/*/indexes/*}" + } + ] + }, + { + "shortName": "UpdateIndexEndpoint", + "fullName": "google.cloud.visionai.v1.Warehouse.UpdateIndexEndpoint", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{index_endpoint.name=projects/*/locations/*/indexEndpoints/*}" + } + ] + }, { "shortName": "UpdateSearchConfig", "fullName": "google.cloud.visionai.v1.Warehouse.UpdateSearchConfig", @@ -79313,6 +94768,50 @@ "path": "/v1/{search_config.name=projects/*/locations/*/corpora/*/searchConfigs/*}" } ] + }, + { + "shortName": "UpdateSearchHypernym", + "fullName": "google.cloud.visionai.v1.Warehouse.UpdateSearchHypernym", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{search_hypernym.name=projects/*/locations/*/corpora/*/searchHypernyms/*}" + } + ] + }, + { + "shortName": "UploadAsset", + "fullName": "google.cloud.visionai.v1.Warehouse.UploadAsset", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/corpora/*/assets/*}:upload" + } + ] + }, + { + "shortName": "ViewCollectionItems", + "fullName": "google.cloud.visionai.v1.Warehouse.ViewCollectionItems", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{collection=projects/*/locations/*/corpora/*/collections/*}:viewCollectionItems" + } + ] + }, + { + "shortName": "ViewIndexedAssets", + "fullName": "google.cloud.visionai.v1.Warehouse.ViewIndexedAssets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{index=projects/*/locations/*/corpora/*/indexes/*}:viewAssets" + } + ] } ] } @@ -79321,6 +94820,7 @@ "serviceConfigApiNames": [ "google.cloud.location.Locations", "google.cloud.visionai.v1.AppPlatform", + "google.cloud.visionai.v1.HealthCheckService", "google.cloud.visionai.v1.LiveVideoAnalytics", "google.cloud.visionai.v1.StreamingService", "google.cloud.visionai.v1.StreamsService", @@ -80998,6 +96498,28 @@ } ] }, + { + "shortName": "CreateExternalAccessRule", + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.CreateExternalAccessRule", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/networkPolicies/*}/externalAccessRules" + } + ] + }, + { + "shortName": "CreateExternalAddress", + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.CreateExternalAddress", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/privateClouds/*}/externalAddresses" + } + ] + }, { "shortName": "CreateHcxActivationKey", "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.CreateHcxActivationKey", @@ -81009,6 +96531,39 @@ } ] }, + { + "shortName": "CreateLoggingServer", + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.CreateLoggingServer", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/privateClouds/*}/loggingServers" + } + ] + }, + { + "shortName": "CreateManagementDnsZoneBinding", + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.CreateManagementDnsZoneBinding", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/privateClouds/*}/managementDnsZoneBindings" + } + ] + }, + { + "shortName": "CreateNetworkPeering", + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.CreateNetworkPeering", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/networkPeerings" + } + ] + }, { "shortName": "CreateNetworkPolicy", "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.CreateNetworkPolicy", @@ -81031,6 +96586,17 @@ } ] }, + { + "shortName": "CreatePrivateConnection", + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.CreatePrivateConnection", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/privateConnections" + } + ] + }, { "shortName": "CreateVmwareEngineNetwork", "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.CreateVmwareEngineNetwork", @@ -81053,6 +96619,61 @@ } ] }, + { + "shortName": "DeleteExternalAccessRule", + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.DeleteExternalAccessRule", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/networkPolicies/*/externalAccessRules/*}" + } + ] + }, + { + "shortName": "DeleteExternalAddress", + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.DeleteExternalAddress", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/privateClouds/*/externalAddresses/*}" + } + ] + }, + { + "shortName": "DeleteLoggingServer", + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.DeleteLoggingServer", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/privateClouds/*/loggingServers/*}" + } + ] + }, + { + "shortName": "DeleteManagementDnsZoneBinding", + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.DeleteManagementDnsZoneBinding", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/privateClouds/*/managementDnsZoneBindings/*}" + } + ] + }, + { + "shortName": "DeleteNetworkPeering", + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.DeleteNetworkPeering", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/networkPeerings/*}" + } + ] + }, { "shortName": "DeleteNetworkPolicy", "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.DeleteNetworkPolicy", @@ -81075,6 +96696,17 @@ } ] }, + { + "shortName": "DeletePrivateConnection", + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.DeletePrivateConnection", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/privateConnections/*}" + } + ] + }, { "shortName": "DeleteVmwareEngineNetwork", "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.DeleteVmwareEngineNetwork", @@ -81086,6 +96718,17 @@ } ] }, + { + "shortName": "FetchNetworkPolicyExternalAddresses", + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.FetchNetworkPolicyExternalAddresses", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{network_policy=projects/*/locations/*/networkPolicies/*}:fetchExternalAddresses" + } + ] + }, { "shortName": "GetCluster", "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetCluster", @@ -81097,6 +96740,50 @@ } ] }, + { + "shortName": "GetDnsBindPermission", + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetDnsBindPermission", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/dnsBindPermission}" + } + ] + }, + { + "shortName": "GetDnsForwarding", + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetDnsForwarding", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/privateClouds/*/dnsForwarding}" + } + ] + }, + { + "shortName": "GetExternalAccessRule", + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetExternalAccessRule", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/networkPolicies/*/externalAccessRules/*}" + } + ] + }, + { + "shortName": "GetExternalAddress", + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetExternalAddress", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/privateClouds/*/externalAddresses/*}" + } + ] + }, { "shortName": "GetHcxActivationKey", "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetHcxActivationKey", @@ -81108,6 +96795,39 @@ } ] }, + { + "shortName": "GetLoggingServer", + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetLoggingServer", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/privateClouds/*/loggingServers/*}" + } + ] + }, + { + "shortName": "GetManagementDnsZoneBinding", + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetManagementDnsZoneBinding", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/privateClouds/*/managementDnsZoneBindings/*}" + } + ] + }, + { + "shortName": "GetNetworkPeering", + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetNetworkPeering", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/networkPeerings/*}" + } + ] + }, { "shortName": "GetNetworkPolicy", "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetNetworkPolicy", @@ -81119,6 +96839,17 @@ } ] }, + { + "shortName": "GetNode", + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetNode", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/privateClouds/*/clusters/*/nodes/*}" + } + ] + }, { "shortName": "GetNodeType", "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetNodeType", @@ -81141,6 +96872,28 @@ } ] }, + { + "shortName": "GetPrivateConnection", + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetPrivateConnection", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/privateConnections/*}" + } + ] + }, + { + "shortName": "GetSubnet", + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetSubnet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/privateClouds/*/subnets/*}" + } + ] + }, { "shortName": "GetVmwareEngineNetwork", "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GetVmwareEngineNetwork", @@ -81152,6 +96905,17 @@ } ] }, + { + "shortName": "GrantDnsBindPermission", + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.GrantDnsBindPermission", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/dnsBindPermission}:grant" + } + ] + }, { "shortName": "ListClusters", "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListClusters", @@ -81163,6 +96927,28 @@ } ] }, + { + "shortName": "ListExternalAccessRules", + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListExternalAccessRules", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/networkPolicies/*}/externalAccessRules" + } + ] + }, + { + "shortName": "ListExternalAddresses", + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListExternalAddresses", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/privateClouds/*}/externalAddresses" + } + ] + }, { "shortName": "ListHcxActivationKeys", "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListHcxActivationKeys", @@ -81174,6 +96960,39 @@ } ] }, + { + "shortName": "ListLoggingServers", + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListLoggingServers", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/privateClouds/*}/loggingServers" + } + ] + }, + { + "shortName": "ListManagementDnsZoneBindings", + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListManagementDnsZoneBindings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/privateClouds/*}/managementDnsZoneBindings" + } + ] + }, + { + "shortName": "ListNetworkPeerings", + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListNetworkPeerings", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/networkPeerings" + } + ] + }, { "shortName": "ListNetworkPolicies", "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListNetworkPolicies", @@ -81196,6 +97015,28 @@ } ] }, + { + "shortName": "ListNodes", + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListNodes", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/privateClouds/*/clusters/*}/nodes" + } + ] + }, + { + "shortName": "ListPeeringRoutes", + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListPeeringRoutes", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/networkPeerings/*}/peeringRoutes" + } + ] + }, { "shortName": "ListPrivateClouds", "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListPrivateClouds", @@ -81207,6 +97048,28 @@ } ] }, + { + "shortName": "ListPrivateConnectionPeeringRoutes", + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListPrivateConnectionPeeringRoutes", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/privateConnections/*}/peeringRoutes" + } + ] + }, + { + "shortName": "ListPrivateConnections", + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListPrivateConnections", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/privateConnections" + } + ] + }, { "shortName": "ListSubnets", "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ListSubnets", @@ -81229,6 +97092,17 @@ } ] }, + { + "shortName": "RepairManagementDnsZoneBinding", + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.RepairManagementDnsZoneBinding", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/privateClouds/*/managementDnsZoneBindings/*}:repair" + } + ] + }, { "shortName": "ResetNsxCredentials", "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ResetNsxCredentials", @@ -81251,6 +97125,17 @@ } ] }, + { + "shortName": "RevokeDnsBindPermission", + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.RevokeDnsBindPermission", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/dnsBindPermission}:revoke" + } + ] + }, { "shortName": "ShowNsxCredentials", "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.ShowNsxCredentials", @@ -81295,6 +97180,72 @@ } ] }, + { + "shortName": "UpdateDnsForwarding", + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.UpdateDnsForwarding", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{dns_forwarding.name=projects/*/locations/*/privateClouds/*/dnsForwarding}" + } + ] + }, + { + "shortName": "UpdateExternalAccessRule", + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.UpdateExternalAccessRule", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{external_access_rule.name=projects/*/locations/*/networkPolicies/*/externalAccessRules/*}" + } + ] + }, + { + "shortName": "UpdateExternalAddress", + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.UpdateExternalAddress", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{external_address.name=projects/*/locations/*/privateClouds/*/externalAddresses/*}" + } + ] + }, + { + "shortName": "UpdateLoggingServer", + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.UpdateLoggingServer", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{logging_server.name=projects/*/locations/*/privateClouds/*/loggingServers/*}" + } + ] + }, + { + "shortName": "UpdateManagementDnsZoneBinding", + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.UpdateManagementDnsZoneBinding", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{management_dns_zone_binding.name=projects/*/locations/*/privateClouds/*/managementDnsZoneBindings/*}" + } + ] + }, + { + "shortName": "UpdateNetworkPeering", + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.UpdateNetworkPeering", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{network_peering.name=projects/*/locations/*/networkPeerings/*}" + } + ] + }, { "shortName": "UpdateNetworkPolicy", "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.UpdateNetworkPolicy", @@ -81317,6 +97268,28 @@ } ] }, + { + "shortName": "UpdatePrivateConnection", + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.UpdatePrivateConnection", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{private_connection.name=projects/*/locations/*/privateConnections/*}" + } + ] + }, + { + "shortName": "UpdateSubnet", + "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.UpdateSubnet", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{subnet.name=projects/*/locations/*/privateClouds/*/subnets/*}" + } + ] + }, { "shortName": "UpdateVmwareEngineNetwork", "fullName": "google.cloud.vmwareengine.v1.VmwareEngine.UpdateVmwareEngineNetwork", @@ -81455,6 +97428,7 @@ "description": "", "importDirectories": [ "google/api", + "google/longrunning", "google/protobuf" ], "options": { @@ -81542,13 +97516,25 @@ "path": "/v1/uris:search" } ] + }, + { + "shortName": "SubmitUri", + "fullName": "google.cloud.webrisk.v1.WebRiskService.SubmitUri", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}/uris:submit" + } + ] } ] } ], "configFile": "webrisk_v1.yaml", "serviceConfigApiNames": [ - "google.cloud.webrisk.v1.WebRiskService" + "google.cloud.webrisk.v1.WebRiskService", + "google.longrunning.Operations" ], "nameInServiceConfig": "webrisk.googleapis.com" }, @@ -82508,7 +98494,9 @@ ], "configFile": "workflows_v1.yaml", "serviceConfigApiNames": [ - "google.cloud.workflows.v1.Workflows" + "google.cloud.location.Locations", + "google.cloud.workflows.v1.Workflows", + "google.longrunning.Operations" ], "nameInServiceConfig": "workflows.googleapis.com" }, @@ -82611,6 +98599,274 @@ ], "nameInServiceConfig": "workflows.googleapis.com" }, + { + "id": "google.cloud.workstations.v1", + "directory": "google/cloud/workstations/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "workstations.googleapis.com", + "title": "Cloud Workstations API", + "description": "Allows administrators to create managed developer environments in the cloud.", + "importDirectories": [ + "google/api", + "google/longrunning", + "google/protobuf", + "google/rpc" + ], + "options": { + "go_package": { + "valueCounts": { + "cloud.google.com/go/workstations/apiv1/workstationspb;workstationspb": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "java_package": { + "valueCounts": { + "com.google.cloud.workstations.v1": 1 + } + } + }, + "services": [ + { + "shortName": "Workstations", + "fullName": "google.cloud.workstations.v1.Workstations", + "methods": [ + { + "shortName": "CreateWorkstation", + "fullName": "google.cloud.workstations.v1.Workstations.CreateWorkstation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/workstationClusters/*/workstationConfigs/*}/workstations" + } + ] + }, + { + "shortName": "CreateWorkstationCluster", + "fullName": "google.cloud.workstations.v1.Workstations.CreateWorkstationCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*}/workstationClusters" + } + ] + }, + { + "shortName": "CreateWorkstationConfig", + "fullName": "google.cloud.workstations.v1.Workstations.CreateWorkstationConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/workstationClusters/*}/workstationConfigs" + } + ] + }, + { + "shortName": "DeleteWorkstation", + "fullName": "google.cloud.workstations.v1.Workstations.DeleteWorkstation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/workstationClusters/*/workstationConfigs/*/workstations/*}" + } + ] + }, + { + "shortName": "DeleteWorkstationCluster", + "fullName": "google.cloud.workstations.v1.Workstations.DeleteWorkstationCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/workstationClusters/*}" + } + ] + }, + { + "shortName": "DeleteWorkstationConfig", + "fullName": "google.cloud.workstations.v1.Workstations.DeleteWorkstationConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/locations/*/workstationClusters/*/workstationConfigs/*}" + } + ] + }, + { + "shortName": "GenerateAccessToken", + "fullName": "google.cloud.workstations.v1.Workstations.GenerateAccessToken", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{workstation=projects/*/locations/*/workstationClusters/*/workstationConfigs/*/workstations/*}:generateAccessToken" + } + ] + }, + { + "shortName": "GetWorkstation", + "fullName": "google.cloud.workstations.v1.Workstations.GetWorkstation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/workstationClusters/*/workstationConfigs/*/workstations/*}" + } + ] + }, + { + "shortName": "GetWorkstationCluster", + "fullName": "google.cloud.workstations.v1.Workstations.GetWorkstationCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/workstationClusters/*}" + } + ] + }, + { + "shortName": "GetWorkstationConfig", + "fullName": "google.cloud.workstations.v1.Workstations.GetWorkstationConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/workstationClusters/*/workstationConfigs/*}" + } + ] + }, + { + "shortName": "ListUsableWorkstationConfigs", + "fullName": "google.cloud.workstations.v1.Workstations.ListUsableWorkstationConfigs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/workstationClusters/*}/workstationConfigs:listUsable" + } + ] + }, + { + "shortName": "ListUsableWorkstations", + "fullName": "google.cloud.workstations.v1.Workstations.ListUsableWorkstations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/workstationClusters/*/workstationConfigs/*}/workstations:listUsable" + } + ] + }, + { + "shortName": "ListWorkstationClusters", + "fullName": "google.cloud.workstations.v1.Workstations.ListWorkstationClusters", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*}/workstationClusters" + } + ] + }, + { + "shortName": "ListWorkstationConfigs", + "fullName": "google.cloud.workstations.v1.Workstations.ListWorkstationConfigs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/workstationClusters/*}/workstationConfigs" + } + ] + }, + { + "shortName": "ListWorkstations", + "fullName": "google.cloud.workstations.v1.Workstations.ListWorkstations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/locations/*/workstationClusters/*/workstationConfigs/*}/workstations" + } + ] + }, + { + "shortName": "StartWorkstation", + "fullName": "google.cloud.workstations.v1.Workstations.StartWorkstation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/workstationClusters/*/workstationConfigs/*/workstations/*}:start" + } + ] + }, + { + "shortName": "StopWorkstation", + "fullName": "google.cloud.workstations.v1.Workstations.StopWorkstation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/locations/*/workstationClusters/*/workstationConfigs/*/workstations/*}:stop" + } + ] + }, + { + "shortName": "UpdateWorkstation", + "fullName": "google.cloud.workstations.v1.Workstations.UpdateWorkstation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{workstation.name=projects/*/locations/*/workstationClusters/*/workstationConfigs/*/workstations/*}" + } + ] + }, + { + "shortName": "UpdateWorkstationCluster", + "fullName": "google.cloud.workstations.v1.Workstations.UpdateWorkstationCluster", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{workstation_cluster.name=projects/*/locations/*/workstationClusters/*}" + } + ] + }, + { + "shortName": "UpdateWorkstationConfig", + "fullName": "google.cloud.workstations.v1.Workstations.UpdateWorkstationConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{workstation_config.name=projects/*/locations/*/workstationClusters/*/workstationConfigs/*}" + } + ] + } + ] + } + ], + "configFile": "workstations_v1.yaml", + "serviceConfigApiNames": [ + "google.cloud.location.Locations", + "google.cloud.workstations.v1.Workstations", + "google.iam.v1.IAMPolicy", + "google.longrunning.Operations" + ], + "nameInServiceConfig": "workstations.googleapis.com" + }, { "id": "google.cloud.workstations.v1beta", "directory": "google/cloud/workstations/v1beta", @@ -82618,7 +98874,7 @@ "majorVersion": "v1", "hostName": "workstations.googleapis.com", "title": "Cloud Workstations API", - "description": "", + "description": "Allows administrators to create managed developer environments in the cloud.", "importDirectories": [ "google/api", "google/longrunning", @@ -82900,7 +99156,7 @@ }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/container/v1;container": 1 + "cloud.google.com/go/container/apiv1/containerpb;containerpb": 1 } }, "java_multiple_files": { @@ -82944,6 +99200,17 @@ } ] }, + { + "shortName": "CheckAutopilotCompatibility", + "fullName": "google.container.v1.ClusterManager.CheckAutopilotCompatibility", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/locations/*/clusters/*}:checkAutopilotCompatibility" + } + ] + }, { "shortName": "CompleteIPRotation", "fullName": "google.container.v1.ClusterManager.CompleteIPRotation", @@ -83443,7 +99710,7 @@ }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/container/v1beta1;container": 1 + "cloud.google.com/go/container/apiv1beta1/containerpb;containerpb": 1 } }, "java_multiple_files": { @@ -83487,6 +99754,17 @@ } ] }, + { + "shortName": "CheckAutopilotCompatibility", + "fullName": "google.container.v1beta1.ClusterManager.CheckAutopilotCompatibility", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1beta1/{name=projects/*/locations/*/clusters/*}:checkAutopilotCompatibility" + } + ] + }, { "shortName": "CompleteIPRotation", "fullName": "google.container.v1beta1.ClusterManager.CompleteIPRotation", @@ -83997,7 +100275,7 @@ }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/dataflow/v1beta3;dataflow": 7 + "cloud.google.com/go/dataflow/apiv1beta3/dataflowpb;dataflowpb": 7 } }, "java_multiple_files": { @@ -84340,7 +100618,7 @@ }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/datastore/admin/v1;admin": 3 + "cloud.google.com/go/datastore/admin/apiv1/adminpb;adminpb": 3 } }, "java_multiple_files": { @@ -84618,7 +100896,7 @@ }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/devtools/artifactregistry/v1;artifactregistry": 11 + "cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb;artifactregistrypb": 11 } }, "java_multiple_files": { @@ -84647,6 +100925,17 @@ "shortName": "ArtifactRegistry", "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry", "methods": [ + { + "shortName": "BatchDeleteVersions", + "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.BatchDeleteVersions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/locations/*/repositories/*/packages/*}/versions:batchDelete" + } + ] + }, { "shortName": "CreateRepository", "fullName": "google.devtools.artifactregistry.v1.ArtifactRegistry.CreateRepository", @@ -85067,7 +101356,7 @@ }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/devtools/artifactregistry/v1beta2;artifactregistry": 9 + "cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb;artifactregistrypb": 9 } }, "java_multiple_files": { @@ -85486,7 +101775,7 @@ }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/devtools/cloudbuild/v1;cloudbuild": 1 + "cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb;cloudbuildpb": 1 } }, "java_multiple_files": { @@ -85800,7 +102089,7 @@ }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/devtools/cloudbuild/v2;cloudbuild": 2 + "cloud.google.com/go/cloudbuild/apiv2/cloudbuildpb;cloudbuildpb": 2 } }, "java_multiple_files": { @@ -85810,7 +102099,7 @@ }, "java_package": { "valueCounts": { - "google.devtools.cloudbuild.v2": 2 + "com.google.cloudbuild.v2": 2 } }, "objc_class_prefix": { @@ -85889,6 +102178,17 @@ } ] }, + { + "shortName": "FetchGitRefs", + "fullName": "google.devtools.cloudbuild.v2.RepositoryManager.FetchGitRefs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{repository=projects/*/locations/*/connections/*/repositories/*}:fetchGitRefs" + } + ] + }, { "shortName": "FetchLinkableRepositories", "fullName": "google.devtools.cloudbuild.v2.RepositoryManager.FetchLinkableRepositories", @@ -86017,7 +102317,7 @@ }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/devtools/clouddebugger/v2;clouddebugger": 3 + "cloud.google.com/go/debugger/apiv2/debuggerpb;debuggerpb": 3 } }, "java_multiple_files": { @@ -86176,7 +102476,7 @@ }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1;clouderrorreporting": 4 + "cloud.google.com/go/errorreporting/apiv1beta1/errorreportingpb;errorreportingpb": 4 } }, "java_multiple_files": { @@ -86314,7 +102614,7 @@ }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/devtools/cloudprofiler/v2;cloudprofiler": 1 + "cloud.google.com/go/cloudprofiler/apiv2/cloudprofilerpb;cloudprofilerpb": 1 } }, "java_multiple_files": { @@ -86339,6 +102639,23 @@ } }, "services": [ + { + "shortName": "ExportService", + "fullName": "google.devtools.cloudprofiler.v2.ExportService", + "methods": [ + { + "shortName": "ListProfiles", + "fullName": "google.devtools.cloudprofiler.v2.ExportService.ListProfiles", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*}/profiles" + } + ] + } + ] + }, { "shortName": "ProfilerService", "fullName": "google.devtools.cloudprofiler.v2.ProfilerService", @@ -86381,6 +102698,7 @@ ], "configFile": "cloudprofiler_v2.yaml", "serviceConfigApiNames": [ + "google.devtools.cloudprofiler.v2.ExportService", "google.devtools.cloudprofiler.v2.ProfilerService" ], "nameInServiceConfig": "cloudprofiler.googleapis.com" @@ -86405,7 +102723,7 @@ }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/devtools/cloudtrace/v1;cloudtrace": 1 + "cloud.google.com/go/trace/apiv1/tracepb;tracepb": 1 } }, "java_multiple_files": { @@ -86498,7 +102816,7 @@ }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/devtools/cloudtrace/v2;cloudtrace": 2 + "cloud.google.com/go/trace/apiv2/tracepb;tracepb": 2 } }, "java_multiple_files": { @@ -86706,19 +103024,8 @@ "options": { "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/attestation;attestation": 1, - "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/build;build": 1, - "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/common;common": 1, - "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/cvss;cvss": 1, - "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/deployment;deployment": 1, - "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/discovery;discovery": 1, - "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/grafeas;grafeas": 1, - "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/image;image": 1, - "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/package": 1, - "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/provenance;provenance": 1, - "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/source;source": 1, - "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/vulnerability;vulnerability": 1, - "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1;containeranalysis": 1 + "cloud.google.com/go/containeranalysis/apiv1beta1/containeranalysispb;containeranalysispb": 12, + "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/grafeas;grafeas": 1 } }, "java_multiple_files": { @@ -86755,39 +103062,39 @@ "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1", "methods": [ { - "shortName": "GetIamPolicy", - "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.GetIamPolicy", + "shortName": "ExportSBOM", + "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.ExportSBOM", "mode": "UNARY", "bindings": [ { "httpMethod": "POST", - "path": "/v1beta1/{resource=projects/*/notes/*}:getIamPolicy" - }, - { - "httpMethod": "POST", - "path": "/v1beta1/{resource=projects/*/occurrences/*}:getIamPolicy" + "path": "/v1beta1/{name=projects/*/resources/**}:exportSBOM" } ] }, { - "shortName": "GetScanConfig", - "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.GetScanConfig", + "shortName": "GeneratePackagesSummary", + "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.GeneratePackagesSummary", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{name=projects/*/scanConfigs/*}" + "httpMethod": "POST", + "path": "/v1beta1/{name=projects/*/resources/**}:generatePackagesSummary" } ] }, { - "shortName": "ListScanConfigs", - "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.ListScanConfigs", + "shortName": "GetIamPolicy", + "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.GetIamPolicy", "mode": "UNARY", "bindings": [ { - "httpMethod": "GET", - "path": "/v1beta1/{parent=projects/*}/scanConfigs" + "httpMethod": "POST", + "path": "/v1beta1/{resource=projects/*/notes/*}:getIamPolicy" + }, + { + "httpMethod": "POST", + "path": "/v1beta1/{resource=projects/*/occurrences/*}:getIamPolicy" } ] }, @@ -86820,17 +103127,6 @@ "path": "/v1beta1/{resource=projects/*/occurrences/*}:testIamPermissions" } ] - }, - { - "shortName": "UpdateScanConfig", - "fullName": "google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.UpdateScanConfig", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "PUT", - "path": "/v1beta1/{name=projects/*/scanConfigs/*}" - } - ] } ] }, @@ -87146,7 +103442,7 @@ "mode": "UNARY", "bindings": [ { - "httpMethod": "POST", + "httpMethod": "GET", "path": "/v2/{name=invocations/*}:export" } ] @@ -87646,17 +103942,17 @@ "options": { "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/devtools/testing/v1;testing": 3 + "google.golang.org/genproto/googleapis/devtools/testing/v1;testing": 5 } }, "java_multiple_files": { "valueCounts": { - "true": 3 + "true": 5 } }, "java_package": { "valueCounts": { - "com.google.devtools.testing.v1": 3 + "com.google.devtools.testing.v1": 5 } } }, @@ -87678,6 +103974,72 @@ } ] }, + { + "shortName": "DirectAccessService", + "fullName": "google.devtools.testing.v1.DirectAccessService", + "methods": [ + { + "shortName": "AdbConnect", + "fullName": "google.devtools.testing.v1.DirectAccessService.AdbConnect", + "mode": "BIDIRECTIONAL_STREAMING" + }, + { + "shortName": "CancelDeviceSession", + "fullName": "google.devtools.testing.v1.DirectAccessService.CancelDeviceSession", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=projects/*/deviceSessions/*}:cancel" + } + ] + }, + { + "shortName": "CreateDeviceSession", + "fullName": "google.devtools.testing.v1.DirectAccessService.CreateDeviceSession", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}/deviceSessions" + } + ] + }, + { + "shortName": "GetDeviceSession", + "fullName": "google.devtools.testing.v1.DirectAccessService.GetDeviceSession", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/deviceSessions/*}" + } + ] + }, + { + "shortName": "ListDeviceSessions", + "fullName": "google.devtools.testing.v1.DirectAccessService.ListDeviceSessions", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*}/deviceSessions" + } + ] + }, + { + "shortName": "UpdateDeviceSession", + "fullName": "google.devtools.testing.v1.DirectAccessService.UpdateDeviceSession", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{device_session.name=projects/*/deviceSessions/*}" + } + ] + } + ] + }, { "shortName": "TestEnvironmentDiscoveryService", "fullName": "google.devtools.testing.v1.TestEnvironmentDiscoveryService", @@ -87738,6 +104100,7 @@ "configFile": "testing_v1.yaml", "serviceConfigApiNames": [ "google.devtools.testing.v1.ApplicationDetailService", + "google.devtools.testing.v1.DirectAccessService", "google.devtools.testing.v1.TestEnvironmentDiscoveryService", "google.devtools.testing.v1.TestExecutionService" ], @@ -87765,7 +104128,7 @@ }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/firestore/admin/v1;admin": 6 + "cloud.google.com/go/firestore/apiv1/admin/adminpb;adminpb": 6 } }, "java_multiple_files": { @@ -87799,6 +104162,17 @@ "shortName": "FirestoreAdmin", "fullName": "google.firestore.admin.v1.FirestoreAdmin", "methods": [ + { + "shortName": "CreateDatabase", + "fullName": "google.firestore.admin.v1.FirestoreAdmin.CreateDatabase", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}/databases" + } + ] + }, { "shortName": "CreateIndex", "fullName": "google.firestore.admin.v1.FirestoreAdmin.CreateIndex", @@ -87810,6 +104184,17 @@ } ] }, + { + "shortName": "DeleteDatabase", + "fullName": "google.firestore.admin.v1.FirestoreAdmin.DeleteDatabase", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/databases/*}" + } + ] + }, { "shortName": "DeleteIndex", "fullName": "google.firestore.admin.v1.FirestoreAdmin.DeleteIndex", @@ -87960,12 +104345,277 @@ "options": { "csharp_namespace": { "valueCounts": { - "Google.Cloud.Firestore.V1": 6 + "Google.Cloud.Firestore.V1": 7 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/firestore/apiv1/firestorepb;firestorepb": 7 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 7 + } + }, + "java_package": { + "valueCounts": { + "com.google.firestore.v1": 7 + } + }, + "objc_class_prefix": { + "valueCounts": { + "": 1, + "GCFS": 6 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Cloud\\Firestore\\V1": 7 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Cloud::Firestore::V1": 7 + } + } + }, + "services": [ + { + "shortName": "Firestore", + "fullName": "google.firestore.v1.Firestore", + "methods": [ + { + "shortName": "BatchGetDocuments", + "fullName": "google.firestore.v1.Firestore.BatchGetDocuments", + "mode": "SERVER_STREAMING", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{database=projects/*/databases/*}/documents:batchGet" + } + ] + }, + { + "shortName": "BatchWrite", + "fullName": "google.firestore.v1.Firestore.BatchWrite", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{database=projects/*/databases/*}/documents:batchWrite" + } + ] + }, + { + "shortName": "BeginTransaction", + "fullName": "google.firestore.v1.Firestore.BeginTransaction", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{database=projects/*/databases/*}/documents:beginTransaction" + } + ] + }, + { + "shortName": "Commit", + "fullName": "google.firestore.v1.Firestore.Commit", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{database=projects/*/databases/*}/documents:commit" + } + ] + }, + { + "shortName": "CreateDocument", + "fullName": "google.firestore.v1.Firestore.CreateDocument", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/databases/*/documents/**}/{collection_id}" + } + ] + }, + { + "shortName": "DeleteDocument", + "fullName": "google.firestore.v1.Firestore.DeleteDocument", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/databases/*/documents/*/**}" + } + ] + }, + { + "shortName": "GetDocument", + "fullName": "google.firestore.v1.Firestore.GetDocument", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/databases/*/documents/*/**}" + } + ] + }, + { + "shortName": "ListCollectionIds", + "fullName": "google.firestore.v1.Firestore.ListCollectionIds", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/databases/*/documents}:listCollectionIds" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/databases/*/documents/*/**}:listCollectionIds" + } + ] + }, + { + "shortName": "ListDocuments", + "fullName": "google.firestore.v1.Firestore.ListDocuments", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/databases/*/documents/*/**}/{collection_id}" + }, + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*/databases/*/documents}/{collection_id}" + } + ] + }, + { + "shortName": "Listen", + "fullName": "google.firestore.v1.Firestore.Listen", + "mode": "BIDIRECTIONAL_STREAMING", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{database=projects/*/databases/*}/documents:listen" + } + ] + }, + { + "shortName": "PartitionQuery", + "fullName": "google.firestore.v1.Firestore.PartitionQuery", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/databases/*/documents}:partitionQuery" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/databases/*/documents/*/**}:partitionQuery" + } + ] + }, + { + "shortName": "Rollback", + "fullName": "google.firestore.v1.Firestore.Rollback", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{database=projects/*/databases/*}/documents:rollback" + } + ] + }, + { + "shortName": "RunAggregationQuery", + "fullName": "google.firestore.v1.Firestore.RunAggregationQuery", + "mode": "SERVER_STREAMING", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/databases/*/documents}:runAggregationQuery" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/databases/*/documents/*/**}:runAggregationQuery" + } + ] + }, + { + "shortName": "RunQuery", + "fullName": "google.firestore.v1.Firestore.RunQuery", + "mode": "SERVER_STREAMING", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/databases/*/documents}:runQuery" + }, + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*/databases/*/documents/*/**}:runQuery" + } + ] + }, + { + "shortName": "UpdateDocument", + "fullName": "google.firestore.v1.Firestore.UpdateDocument", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{document.name=projects/*/databases/*/documents/*/**}" + } + ] + }, + { + "shortName": "Write", + "fullName": "google.firestore.v1.Firestore.Write", + "mode": "BIDIRECTIONAL_STREAMING", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{database=projects/*/databases/*}/documents:write" + } + ] + } + ] + } + ], + "configFile": "firestore_v1.yaml", + "serviceConfigApiNames": [ + "google.cloud.location.Locations", + "google.firestore.v1.Firestore", + "google.longrunning.Operations" + ], + "nameInServiceConfig": "firestore.googleapis.com" + }, + { + "id": "google.firestore.v1beta1", + "directory": "google/firestore/v1beta1", + "version": "v1beta1", + "majorVersion": "v1", + "hostName": "firestore.googleapis.com", + "title": "Cloud Firestore API", + "description": "Accesses the NoSQL document database built for automatic scaling, high performance, and ease of application development.", + "importDirectories": [ + "google/api", + "google/firestore/v1beta1", + "google/protobuf", + "google/rpc", + "google/type" + ], + "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Cloud.Firestore.V1Beta1": 6 } }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/firestore/v1;firestore": 6 + "cloud.google.com/go/firestore/apiv1beta1/firestorepb;firestorepb": 6 } }, "java_multiple_files": { @@ -87975,7 +104625,7 @@ }, "java_package": { "valueCounts": { - "com.google.firestore.v1": 6 + "com.google.firestore.v1beta1": 6 } }, "objc_class_prefix": { @@ -87986,276 +104636,12 @@ }, "php_namespace": { "valueCounts": { - "Google\\Cloud\\Firestore\\V1": 6 + "Google\\Cloud\\Firestore\\V1beta1": 6 } }, "ruby_package": { "valueCounts": { - "Google::Cloud::Firestore::V1": 6 - } - } - }, - "services": [ - { - "shortName": "Firestore", - "fullName": "google.firestore.v1.Firestore", - "methods": [ - { - "shortName": "BatchGetDocuments", - "fullName": "google.firestore.v1.Firestore.BatchGetDocuments", - "mode": "SERVER_STREAMING", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1/{database=projects/*/databases/*}/documents:batchGet" - } - ] - }, - { - "shortName": "BatchWrite", - "fullName": "google.firestore.v1.Firestore.BatchWrite", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1/{database=projects/*/databases/*}/documents:batchWrite" - } - ] - }, - { - "shortName": "BeginTransaction", - "fullName": "google.firestore.v1.Firestore.BeginTransaction", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1/{database=projects/*/databases/*}/documents:beginTransaction" - } - ] - }, - { - "shortName": "Commit", - "fullName": "google.firestore.v1.Firestore.Commit", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1/{database=projects/*/databases/*}/documents:commit" - } - ] - }, - { - "shortName": "CreateDocument", - "fullName": "google.firestore.v1.Firestore.CreateDocument", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/databases/*/documents/**}/{collection_id}" - } - ] - }, - { - "shortName": "DeleteDocument", - "fullName": "google.firestore.v1.Firestore.DeleteDocument", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "DELETE", - "path": "/v1/{name=projects/*/databases/*/documents/*/**}" - } - ] - }, - { - "shortName": "GetDocument", - "fullName": "google.firestore.v1.Firestore.GetDocument", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1/{name=projects/*/databases/*/documents/*/**}" - } - ] - }, - { - "shortName": "ListCollectionIds", - "fullName": "google.firestore.v1.Firestore.ListCollectionIds", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/databases/*/documents}:listCollectionIds" - }, - { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/databases/*/documents/*/**}:listCollectionIds" - } - ] - }, - { - "shortName": "ListDocuments", - "fullName": "google.firestore.v1.Firestore.ListDocuments", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/databases/*/documents/*/**}/{collection_id}" - }, - { - "httpMethod": "GET", - "path": "/v1/{parent=projects/*/databases/*/documents}/{collection_id}" - } - ] - }, - { - "shortName": "Listen", - "fullName": "google.firestore.v1.Firestore.Listen", - "mode": "BIDIRECTIONAL_STREAMING", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1/{database=projects/*/databases/*}/documents:listen" - } - ] - }, - { - "shortName": "PartitionQuery", - "fullName": "google.firestore.v1.Firestore.PartitionQuery", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/databases/*/documents}:partitionQuery" - }, - { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/databases/*/documents/*/**}:partitionQuery" - } - ] - }, - { - "shortName": "Rollback", - "fullName": "google.firestore.v1.Firestore.Rollback", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1/{database=projects/*/databases/*}/documents:rollback" - } - ] - }, - { - "shortName": "RunAggregationQuery", - "fullName": "google.firestore.v1.Firestore.RunAggregationQuery", - "mode": "SERVER_STREAMING", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/databases/*/documents}:runAggregationQuery" - }, - { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/databases/*/documents/*/**}:runAggregationQuery" - } - ] - }, - { - "shortName": "RunQuery", - "fullName": "google.firestore.v1.Firestore.RunQuery", - "mode": "SERVER_STREAMING", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/databases/*/documents}:runQuery" - }, - { - "httpMethod": "POST", - "path": "/v1/{parent=projects/*/databases/*/documents/*/**}:runQuery" - } - ] - }, - { - "shortName": "UpdateDocument", - "fullName": "google.firestore.v1.Firestore.UpdateDocument", - "mode": "UNARY", - "bindings": [ - { - "httpMethod": "PATCH", - "path": "/v1/{document.name=projects/*/databases/*/documents/*/**}" - } - ] - }, - { - "shortName": "Write", - "fullName": "google.firestore.v1.Firestore.Write", - "mode": "BIDIRECTIONAL_STREAMING", - "bindings": [ - { - "httpMethod": "POST", - "path": "/v1/{database=projects/*/databases/*}/documents:write" - } - ] - } - ] - } - ], - "configFile": "firestore_v1.yaml", - "serviceConfigApiNames": [ - "google.cloud.location.Locations", - "google.firestore.v1.Firestore", - "google.longrunning.Operations" - ], - "nameInServiceConfig": "firestore.googleapis.com" - }, - { - "id": "google.firestore.v1beta1", - "directory": "google/firestore/v1beta1", - "version": "v1beta1", - "majorVersion": "v1", - "hostName": "firestore.googleapis.com", - "title": "Cloud Firestore API", - "description": "Accesses the NoSQL document database built for automatic scaling, high performance, and ease of application development.", - "importDirectories": [ - "google/api", - "google/firestore/v1beta1", - "google/protobuf", - "google/rpc", - "google/type" - ], - "options": { - "csharp_namespace": { - "valueCounts": { - "Google.Cloud.Firestore.V1Beta1": 5 - } - }, - "go_package": { - "valueCounts": { - "google.golang.org/genproto/googleapis/firestore/v1beta1;firestore": 5 - } - }, - "java_multiple_files": { - "valueCounts": { - "true": 5 - } - }, - "java_package": { - "valueCounts": { - "com.google.firestore.v1beta1": 5 - } - }, - "objc_class_prefix": { - "valueCounts": { - "GCFS": 5 - } - }, - "php_namespace": { - "valueCounts": { - "Google\\Cloud\\Firestore\\V1beta1": 5 - } - }, - "ruby_package": { - "valueCounts": { - "Google::Cloud::Firestore::V1beta1": 5 + "Google::Cloud::Firestore::V1beta1": 6 } } }, @@ -88713,7 +105099,7 @@ }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/iam/admin/v1;admin": 2 + "cloud.google.com/go/iam/admin/apiv1/adminpb;adminpb": 2 } }, "java_multiple_files": { @@ -89145,7 +105531,7 @@ }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/iam/credentials/v1;credentials": 2 + "cloud.google.com/go/iam/credentials/apiv1/credentialspb;credentialspb": 2 } }, "java_multiple_files": { @@ -89251,8 +105637,8 @@ }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/iam/v1/logging;logging": 1, - "google.golang.org/genproto/googleapis/iam/v1;iam": 3 + "cloud.google.com/go/iam/apiv1/iampb;iampb": 3, + "cloud.google.com/go/iam/apiv1/logging/loggingpb;loggingpb": 1 } }, "java_multiple_files": { @@ -89336,7 +105722,7 @@ "options": { "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/iam/v1beta;iam": 1 + "cloud.google.com/go/iam/apiv1beta/iampb;iampb": 1 } }, "java_multiple_files": { @@ -89519,7 +105905,7 @@ }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/iam/v2;iam": 2 + "cloud.google.com/go/iam/apiv2/iampb;iampb": 2 } }, "java_multiple_files": { @@ -89631,7 +106017,7 @@ }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/iam/v2beta;iam": 2 + "cloud.google.com/go/iam/apiv2beta/iampb;iampb": 2 } }, "java_multiple_files": { @@ -89745,7 +106131,7 @@ }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/identity/accesscontextmanager/v1;accesscontextmanager": 5 + "cloud.google.com/go/accesscontextmanager/apiv1/accesscontextmanagerpb;accesscontextmanagerpb": 5 } }, "java_multiple_files": { @@ -90112,7 +106498,7 @@ }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/logging/v2;logging": 4 + "cloud.google.com/go/logging/apiv2/loggingpb;loggingpb": 4 } }, "java_multiple_files": { @@ -90179,6 +106565,33 @@ } ] }, + { + "shortName": "CreateBucketAsync", + "fullName": "google.logging.v2.ConfigServiceV2.CreateBucketAsync", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=*/*/locations/*}/buckets:createAsync" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*}/buckets:createAsync" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=organizations/*/locations/*}/buckets:createAsync" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=folders/*/locations/*}/buckets:createAsync" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=billingAccounts/*/locations/*}/buckets:createAsync" + } + ] + }, { "shortName": "CreateExclusion", "fullName": "google.logging.v2.ConfigServiceV2.CreateExclusion", @@ -90206,6 +106619,33 @@ } ] }, + { + "shortName": "CreateLink", + "fullName": "google.logging.v2.ConfigServiceV2.CreateLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=*/*/locations/*/buckets/*}/links" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*/buckets/*}/links" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=organizations/*/locations/*/buckets/*}/links" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=folders/*/locations/*/buckets/*}/links" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=billingAccounts/*/locations/*/buckets/*}/links" + } + ] + }, { "shortName": "CreateSink", "fullName": "google.logging.v2.ConfigServiceV2.CreateSink", @@ -90314,6 +106754,33 @@ } ] }, + { + "shortName": "DeleteLink", + "fullName": "google.logging.v2.ConfigServiceV2.DeleteLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=*/*/locations/*/buckets/*/links/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/locations/*/buckets/*/links/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=organizations/*/locations/*/buckets/*/links/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=folders/*/locations/*/buckets/*/links/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=billingAccounts/*/locations/*/buckets/*/links/*}" + } + ] + }, { "shortName": "DeleteSink", "fullName": "google.logging.v2.ConfigServiceV2.DeleteSink", @@ -90391,7 +106858,7 @@ }, { "httpMethod": "GET", - "path": "/v2/{name=billingAccounts/*/buckets/*}" + "path": "/v2/{name=billingAccounts/*/locations/*/buckets/*}" } ] }, @@ -90449,6 +106916,33 @@ } ] }, + { + "shortName": "GetLink", + "fullName": "google.logging.v2.ConfigServiceV2.GetLink", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=*/*/locations/*/buckets/*/links/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/locations/*/buckets/*/links/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=organizations/*/locations/*/buckets/*/links/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=folders/*/locations/*/buckets/*/links/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=billingAccounts/*/locations/*/buckets/*/links/*}" + } + ] + }, { "shortName": "GetSettings", "fullName": "google.logging.v2.ConfigServiceV2.GetSettings", @@ -90526,7 +107020,7 @@ }, { "httpMethod": "GET", - "path": "/v2/{name=billingAccounts/*/buckets/*/views/*}" + "path": "/v2/{name=billingAccounts/*/locations/*/buckets/*/views/*}" } ] }, @@ -90584,6 +107078,33 @@ } ] }, + { + "shortName": "ListLinks", + "fullName": "google.logging.v2.ConfigServiceV2.ListLinks", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=*/*/locations/*/buckets/*}/links" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*/buckets/*}/links" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=organizations/*/locations/*/buckets/*}/links" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=folders/*/locations/*/buckets/*}/links" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=billingAccounts/*/locations/*/buckets/*}/links" + } + ] + }, { "shortName": "ListSinks", "fullName": "google.logging.v2.ConfigServiceV2.ListSinks", @@ -90692,6 +107213,33 @@ } ] }, + { + "shortName": "UpdateBucketAsync", + "fullName": "google.logging.v2.ConfigServiceV2.UpdateBucketAsync", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{name=*/*/locations/*/buckets/*}:updateAsync" + }, + { + "httpMethod": "POST", + "path": "/v2/{name=projects/*/locations/*/buckets/*}:updateAsync" + }, + { + "httpMethod": "POST", + "path": "/v2/{name=organizations/*/locations/*/buckets/*}:updateAsync" + }, + { + "httpMethod": "POST", + "path": "/v2/{name=folders/*/locations/*/buckets/*}:updateAsync" + }, + { + "httpMethod": "POST", + "path": "/v2/{name=billingAccounts/*/locations/*/buckets/*}:updateAsync" + } + ] + }, { "shortName": "UpdateCmekSettings", "fullName": "google.logging.v2.ConfigServiceV2.UpdateCmekSettings", @@ -90891,6 +107439,22 @@ { "httpMethod": "GET", "path": "/v2/{parent=billingAccounts/*}/logs" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*/buckets/*/views/*}/logs" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=organizations/*/locations/*/buckets/*/views/*}/logs" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=folders/*/locations/*/buckets/*/views/*}/logs" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=billingAccounts/*/locations/*/buckets/*/views/*}/logs" } ] }, @@ -90995,10 +107559,118 @@ "serviceConfigApiNames": [ "google.logging.v2.ConfigServiceV2", "google.logging.v2.LoggingServiceV2", - "google.logging.v2.MetricsServiceV2" + "google.logging.v2.MetricsServiceV2", + "google.longrunning.Operations" ], "nameInServiceConfig": "logging.googleapis.com" }, + { + "id": "google.longrunning", + "directory": "google/longrunning", + "version": "longrunning", + "hostName": "longrunning.googleapis.com", + "title": "Long Running Operations API", + "description": "", + "importDirectories": [ + "google/api", + "google/protobuf", + "google/rpc" + ], + "options": { + "cc_enable_arenas": { + "valueCounts": { + "true": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.LongRunning": 1 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/longrunning/autogen/longrunningpb;longrunningpb": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "java_package": { + "valueCounts": { + "com.google.longrunning": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\LongRunning": 1 + } + } + }, + "services": [ + { + "shortName": "Operations", + "fullName": "google.longrunning.Operations", + "methods": [ + { + "shortName": "CancelOperation", + "fullName": "google.longrunning.Operations.CancelOperation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=operations/**}:cancel" + } + ] + }, + { + "shortName": "DeleteOperation", + "fullName": "google.longrunning.Operations.DeleteOperation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=operations/**}" + } + ] + }, + { + "shortName": "GetOperation", + "fullName": "google.longrunning.Operations.GetOperation", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=operations/**}" + } + ] + }, + { + "shortName": "ListOperations", + "fullName": "google.longrunning.Operations.ListOperations", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=operations}" + } + ] + }, + { + "shortName": "WaitOperation", + "fullName": "google.longrunning.Operations.WaitOperation", + "mode": "UNARY" + } + ] + } + ], + "configFile": "longrunning.yaml", + "serviceConfigApiNames": [ + "google.longrunning.Operations" + ], + "nameInServiceConfig": "longrunning.googleapis.com" + }, { "id": "google.maps.addressvalidation.v1", "directory": "google/maps/addressvalidation/v1", @@ -91026,7 +107698,7 @@ }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/maps/addressvalidation/v1;addressvalidation": 5 + "cloud.google.com/go/maps/addressvalidation/apiv1/addressvalidationpb;addressvalidationpb": 5 } }, "java_multiple_files": { @@ -91091,13 +107763,99 @@ ], "nameInServiceConfig": "addressvalidation.googleapis.com" }, + { + "id": "google.maps.aerialview.v1", + "directory": "google/maps/aerialview/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "aerialview.googleapis.com", + "title": "Aerial View API", + "description": "The Maps Aerial View API.", + "importDirectories": [ + "google/api", + "google/protobuf", + "google/type" + ], + "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Maps.AerialView.V1": 1 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/maps/aerialview/apiv1/aerialviewpb;aerialviewpb": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "java_package": { + "valueCounts": { + "com.google.maps.aerialview.v1": 1 + } + }, + "objc_class_prefix": { + "valueCounts": { + "GGMPV1B": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Maps\\AerialView\\V1": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Maps::AerialView::V1": 1 + } + } + }, + "services": [ + { + "shortName": "AerialView", + "fullName": "google.maps.aerialview.v1.AerialView", + "methods": [ + { + "shortName": "LookupVideo", + "fullName": "google.maps.aerialview.v1.AerialView.LookupVideo", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/videos:lookupVideo" + } + ] + }, + { + "shortName": "RenderVideo", + "fullName": "google.maps.aerialview.v1.AerialView.RenderVideo", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/videos:renderVideo" + } + ] + } + ] + } + ], + "configFile": "aerialview_v1.yaml", + "serviceConfigApiNames": [ + "google.maps.aerialview.v1.AerialView" + ], + "nameInServiceConfig": "aerialview.googleapis.com" + }, { "id": "google.maps.fleetengine.delivery.v1", "directory": "google/maps/fleetengine/delivery/v1", "version": "v1", "majorVersion": "v1", "hostName": "fleetengine.googleapis.com", - "title": "Local Rides and Deliveries API", + "title": "Last Mile Fleet Solution Delivery API", "description": "Enables Fleet Engine for access to the On Demand Rides and Deliveries and Last Mile Fleet Solution APIs. Customer's use of Google Maps Content in the Cloud Logging Services is subject to the Google Maps Platform Terms of Service located at https://cloud.google.com/maps-platform/terms.", "importDirectories": [ "google/api", @@ -91107,9 +107865,14 @@ "google/type" ], "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Maps.FleetEngine.Delivery.V1": 6 + } + }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/maps/fleetengine/delivery/v1;delivery": 6 + "cloud.google.com/go/maps/fleetengine/delivery/apiv1/deliverypb;deliverypb": 6 } }, "java_multiple_files": { @@ -91257,11 +108020,9 @@ ] } ], - "configFile": "fleetengine.yaml", + "configFile": "fleetengine_v1.yaml", "serviceConfigApiNames": [ - "maps.fleetengine.delivery.v1.DeliveryService", - "maps.fleetengine.v1.TripService", - "maps.fleetengine.v1.VehicleService" + "maps.fleetengine.delivery.v1.DeliveryService" ], "nameInServiceConfig": "fleetengine.googleapis.com" }, @@ -91272,17 +108033,23 @@ "majorVersion": "v1", "hostName": "fleetengine.googleapis.com", "title": "Local Rides and Deliveries API", - "description": "Enables Fleet Engine for access to the On Demand Rides and Deliveries and Last Mile Fleet Solution APIs.", + "description": "Enables Fleet Engine for access to the On Demand Rides and Deliveries and Last Mile Fleet Solution APIs. Customer's use of Google Maps Content in the Cloud Logging Services is subject to the Google Maps Platform Terms of Service located at https://cloud.google.com/maps-platform/terms.", "importDirectories": [ "google/api", + "google/geo/type", "google/maps/fleetengine/v1", "google/protobuf", "google/type" ], "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Maps.FleetEngine.V1": 7 + } + }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/maps/fleetengine/v1;fleetengine": 7 + "cloud.google.com/go/maps/fleetengine/apiv1/fleetenginepb;fleetenginepb": 7 } }, "java_multiple_files": { @@ -91458,13 +108225,133 @@ ] } ], - "configFile": "fleetengine.yaml", + "configFile": "fleetengine_v1.yaml", "serviceConfigApiNames": [ "maps.fleetengine.v1.TripService", "maps.fleetengine.v1.VehicleService" ], "nameInServiceConfig": "fleetengine.googleapis.com" }, + { + "id": "google.maps.mapsplatformdatasets.v1", + "directory": "google/maps/mapsplatformdatasets/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "mapsplatformdatasets.googleapis.com", + "title": "Maps Platform Datasets API", + "description": "mapsplatformdatasets.googleapis.com API.", + "importDirectories": [ + "google/api", + "google/maps/mapsplatformdatasets/v1", + "google/protobuf" + ], + "options": { + "cc_enable_arenas": { + "valueCounts": { + "": 3, + "true": 1 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Maps.MapsPlatformDatasets.V1": 4 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/maps/mapsplatformdatasets/apiv1/mapsplatformdatasetspb;mapsplatformdatasetspb": 4 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 4 + } + }, + "java_package": { + "valueCounts": { + "com.google.maps.mapsplatformdatasets.v1": 4 + } + }, + "objc_class_prefix": { + "valueCounts": { + "MDV1": 4 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Maps\\MapsPlatformDatasets\\V1": 4 + } + } + }, + "services": [ + { + "shortName": "MapsPlatformDatasets", + "fullName": "google.maps.mapsplatformdatasets.v1.MapsPlatformDatasets", + "methods": [ + { + "shortName": "CreateDataset", + "fullName": "google.maps.mapsplatformdatasets.v1.MapsPlatformDatasets.CreateDataset", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=projects/*}/datasets" + } + ] + }, + { + "shortName": "DeleteDataset", + "fullName": "google.maps.mapsplatformdatasets.v1.MapsPlatformDatasets.DeleteDataset", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=projects/*/datasets/*}" + } + ] + }, + { + "shortName": "GetDataset", + "fullName": "google.maps.mapsplatformdatasets.v1.MapsPlatformDatasets.GetDataset", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=projects/*/datasets/*}" + } + ] + }, + { + "shortName": "ListDatasets", + "fullName": "google.maps.mapsplatformdatasets.v1.MapsPlatformDatasets.ListDatasets", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=projects/*}/datasets" + } + ] + }, + { + "shortName": "UpdateDatasetMetadata", + "fullName": "google.maps.mapsplatformdatasets.v1.MapsPlatformDatasets.UpdateDatasetMetadata", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{dataset.name=projects/*/datasets/*}" + } + ] + } + ] + } + ], + "configFile": "mapsplatformdatasets_v1.yaml", + "serviceConfigApiNames": [ + "google.maps.mapsplatformdatasets.v1.MapsPlatformDatasets" + ], + "nameInServiceConfig": "mapsplatformdatasets.googleapis.com" + }, { "id": "google.maps.mapsplatformdatasets.v1alpha", "directory": "google/maps/mapsplatformdatasets/v1alpha", @@ -91492,7 +108379,7 @@ }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/maps/mapsplatformdatasets/v1alpha;mapsplatformdatasets": 4 + "cloud.google.com/go/maps/mapsplatformdatasets/apiv1alpha/mapsplatformdatasetspb;mapsplatformdatasetspb": 4 } }, "java_multiple_files": { @@ -91608,6 +108495,116 @@ ], "nameInServiceConfig": "mapsplatformdatasets.googleapis.com" }, + { + "id": "google.maps.places.v1", + "directory": "google/maps/places/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "places.googleapis.com", + "title": "Places API (New)", + "description": "The Places API allows developers to access a variety of search and retrieval endpoints for a Place.", + "importDirectories": [ + "google/api", + "google/geo/type", + "google/maps/places/v1", + "google/protobuf", + "google/type" + ], + "options": { + "cc_enable_arenas": { + "valueCounts": { + "true": 8 + } + }, + "csharp_namespace": { + "valueCounts": { + "Google.Maps.Places.V1": 8 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/maps/places/apiv1/placespb;placespb": 8 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 8 + } + }, + "java_package": { + "valueCounts": { + "com.google.maps.places.v1": 8 + } + }, + "objc_class_prefix": { + "valueCounts": { + "GMPSV1": 8 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Maps\\Places\\V1": 8 + } + } + }, + "services": [ + { + "shortName": "Places", + "fullName": "google.maps.places.v1.Places", + "methods": [ + { + "shortName": "GetPhotoMedia", + "fullName": "google.maps.places.v1.Places.GetPhotoMedia", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=places/*/photos/*/media}" + } + ] + }, + { + "shortName": "GetPlace", + "fullName": "google.maps.places.v1.Places.GetPlace", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=places/*}" + } + ] + }, + { + "shortName": "SearchNearby", + "fullName": "google.maps.places.v1.Places.SearchNearby", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/places:searchNearby" + } + ] + }, + { + "shortName": "SearchText", + "fullName": "google.maps.places.v1.Places.SearchText", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/places:searchText" + } + ] + } + ] + } + ], + "configFile": "places_v1.yaml", + "serviceConfigApiNames": [ + "google.maps.places.v1.Places" + ], + "nameInServiceConfig": "places.googleapis.com" + }, { "id": "google.maps.playablelocations.v3", "directory": "google/maps/playablelocations/v3", @@ -91633,8 +108630,8 @@ }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/maps/playablelocations/v3/sample;sample": 1, - "google.golang.org/genproto/googleapis/maps/playablelocations/v3;playablelocations": 2 + "cloud.google.com/go/maps/playablelocations/apiv3/playablelocationspb;playablelocationspb": 2, + "cloud.google.com/go/maps/playablelocations/apiv3/sample/samplepb;samplepb": 1 } }, "java_multiple_files": { @@ -91733,7 +108730,7 @@ }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/maps/regionlookup/v1alpha;regionlookup": 4 + "cloud.google.com/go/maps/regionlookup/apiv1alpha/regionlookuppb;regionlookuppb": 4 } }, "java_multiple_files": { @@ -91809,7 +108806,7 @@ "options": { "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/maps/roads/v1op;roads": 1 + "cloud.google.com/go/maps/roads/apiv1op/roadspb;roadspb": 1 } }, "java_multiple_files": { @@ -91876,7 +108873,7 @@ }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/maps/routes/v1;routes": 14 + "cloud.google.com/go/maps/routes/apiv1/routespb;routespb": 14 } }, "java_multiple_files": { @@ -91973,7 +108970,7 @@ }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/maps/routes/v1alpha;routes": 1 + "cloud.google.com/go/maps/routes/apiv1alpha/routespb;routespb": 1 } }, "java_multiple_files": { @@ -92077,42 +109074,42 @@ "options": { "cc_enable_arenas": { "valueCounts": { - "true": 18 + "true": 23 } }, "csharp_namespace": { "valueCounts": { - "Google.Maps.Routing.V2": 18 + "Google.Maps.Routing.V2": 23 } }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/maps/routing/v2;routing": 18 + "cloud.google.com/go/maps/routing/apiv2/routingpb;routingpb": 23 } }, "java_multiple_files": { "valueCounts": { - "true": 18 + "true": 23 } }, "java_package": { "valueCounts": { - "com.google.maps.routing.v2": 18 + "com.google.maps.routing.v2": 23 } }, "objc_class_prefix": { "valueCounts": { - "GMRV2": 18 + "GMRV2": 23 } }, "php_namespace": { "valueCounts": { - "Google\\Maps\\Routing\\V2": 18 + "Google\\Maps\\Routing\\V2": 23 } }, "ruby_package": { "valueCounts": { - "Google::Maps::Routing::V2": 18 + "Google::Maps::Routing::V2": 23 } } }, @@ -92152,6 +109149,102 @@ ], "nameInServiceConfig": "routes.googleapis.com" }, + { + "id": "google.maps.solar.v1", + "directory": "google/maps/solar/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "solar.googleapis.com", + "title": "Solar API", + "description": "Solar API.", + "importDirectories": [ + "google/api", + "google/type" + ], + "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Maps.Solar.V1": 1 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/maps/solar/apiv1/solarpb;solarpb": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "java_package": { + "valueCounts": { + "com.google.maps.solar.v1": 1 + } + }, + "objc_class_prefix": { + "valueCounts": { + "GGMPV1A": 1 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Maps\\Solar\\V1": 1 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Maps::Solar::V1": 1 + } + } + }, + "services": [ + { + "shortName": "Solar", + "fullName": "google.maps.solar.v1.Solar", + "methods": [ + { + "shortName": "FindClosestBuildingInsights", + "fullName": "google.maps.solar.v1.Solar.FindClosestBuildingInsights", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/buildingInsights:findClosest" + } + ] + }, + { + "shortName": "GetDataLayers", + "fullName": "google.maps.solar.v1.Solar.GetDataLayers", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/dataLayers:get" + } + ] + }, + { + "shortName": "GetGeoTiff", + "fullName": "google.maps.solar.v1.Solar.GetGeoTiff", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/geoTiff:get" + } + ] + } + ] + } + ], + "configFile": "solar_v1.yaml", + "serviceConfigApiNames": [ + "google.maps.solar.v1.Solar" + ], + "nameInServiceConfig": "solar.googleapis.com" + }, { "id": "google.monitoring.dashboard.v1", "directory": "google/monitoring/dashboard/v1", @@ -92163,37 +109256,39 @@ "importDirectories": [ "google/api", "google/monitoring/dashboard/v1", - "google/protobuf" + "google/protobuf", + "google/type" ], "options": { "csharp_namespace": { "valueCounts": { - "Google.Cloud.Monitoring.Dashboard.V1": 17 + "Google.Cloud.Monitoring.Dashboard.V1": 22 } }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/monitoring/dashboard/v1;dashboard": 17 + "cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb;dashboardpb": 22 } }, "java_multiple_files": { "valueCounts": { - "true": 17 + "true": 22 } }, "java_package": { "valueCounts": { - "com.google.monitoring.dashboard.v1": 17 + "com.google.monitoring.dashboard.v1": 22 } }, "php_namespace": { "valueCounts": { - "Google\\Cloud\\Monitoring\\Dashboard\\V1": 17 + "Google\\Cloud\\Monitoring\\Dashboard\\V1": 22 } }, "ruby_package": { "valueCounts": { - "Google::Cloud::Monitoring::Dashboard::V1": 17 + "": 1, + "Google::Cloud::Monitoring::Dashboard::V1": 21 } } }, @@ -92288,7 +109383,7 @@ }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/monitoring/metricsscope/v1;metricsscope": 2 + "cloud.google.com/go/monitoring/metricsscope/apiv1/metricsscopepb;metricsscopepb": 2 } }, "java_multiple_files": { @@ -92393,7 +109488,7 @@ }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/monitoring/v3;monitoring": 19 + "cloud.google.com/go/monitoring/apiv3/v2/monitoringpb;monitoringpb": 19 } }, "java_multiple_files": { @@ -93219,7 +110314,7 @@ "version": "v2", "majorVersion": "v2", "hostName": "dlp.googleapis.com", - "title": "Cloud Data Loss Prevention (DLP) API", + "title": "Cloud Data Loss Prevention (DLP)", "description": "Provides methods for detection, risk analysis, and de-identification of privacy-sensitive fragments in text, images, and Google Cloud Platform storage repositories.", "importDirectories": [ "google/api", @@ -93236,7 +110331,7 @@ }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/privacy/dlp/v2;dlp": 2 + "cloud.google.com/go/dlp/apiv2/dlppb;dlppb": 2 } }, "java_multiple_files": { @@ -93318,6 +110413,21 @@ } ] }, + { + "shortName": "CreateDiscoveryConfig", + "fullName": "google.privacy.dlp.v2.DlpService.CreateDiscoveryConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v2/{parent=projects/*/locations/*}/discoveryConfigs" + }, + { + "httpMethod": "POST", + "path": "/v2/{parent=organizations/*/locations/*}/discoveryConfigs" + } + ] + }, { "shortName": "CreateDlpJob", "fullName": "google.privacy.dlp.v2.DlpService.CreateDlpJob", @@ -93436,6 +110546,21 @@ } ] }, + { + "shortName": "DeleteDiscoveryConfig", + "fullName": "google.privacy.dlp.v2.DlpService.DeleteDiscoveryConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v2/{name=projects/*/locations/*/discoveryConfigs/*}" + }, + { + "httpMethod": "DELETE", + "path": "/v2/{name=organizations/*/locations/*/discoveryConfigs/*}" + } + ] + }, { "shortName": "DeleteDlpJob", "fullName": "google.privacy.dlp.v2.DlpService.DeleteDlpJob", @@ -93550,6 +110675,21 @@ } ] }, + { + "shortName": "GetDiscoveryConfig", + "fullName": "google.privacy.dlp.v2.DlpService.GetDiscoveryConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{name=projects/*/locations/*/discoveryConfigs/*}" + }, + { + "httpMethod": "GET", + "path": "/v2/{name=organizations/*/locations/*/discoveryConfigs/*}" + } + ] + }, { "shortName": "GetDlpJob", "fullName": "google.privacy.dlp.v2.DlpService.GetDlpJob", @@ -93690,6 +110830,21 @@ } ] }, + { + "shortName": "ListDiscoveryConfigs", + "fullName": "google.privacy.dlp.v2.DlpService.ListDiscoveryConfigs", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v2/{parent=projects/*/locations/*}/discoveryConfigs" + }, + { + "httpMethod": "GET", + "path": "/v2/{parent=organizations/*/locations/*}/discoveryConfigs" + } + ] + }, { "shortName": "ListDlpJobs", "fullName": "google.privacy.dlp.v2.DlpService.ListDlpJobs", @@ -93842,6 +110997,21 @@ } ] }, + { + "shortName": "UpdateDiscoveryConfig", + "fullName": "google.privacy.dlp.v2.DlpService.UpdateDiscoveryConfig", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v2/{name=projects/*/locations/*/discoveryConfigs/*}" + }, + { + "httpMethod": "PATCH", + "path": "/v2/{name=organizations/*/locations/*/discoveryConfigs/*}" + } + ] + }, { "shortName": "UpdateInspectTemplate", "fullName": "google.privacy.dlp.v2.DlpService.UpdateInspectTemplate", @@ -93943,7 +111113,7 @@ }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/pubsub/v1;pubsub": 2 + "cloud.google.com/go/pubsub/apiv1/pubsubpb;pubsubpb": 2 } }, "java_multiple_files": { @@ -94375,6 +111545,382 @@ ], "nameInServiceConfig": "pubsub.googleapis.com" }, + { + "id": "google.shopping.css.v1", + "directory": "google/shopping/css/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "css.googleapis.com", + "title": "CSS API", + "description": "Programmatically manage your Comparison Shopping Service (CSS) account data at scale.", + "importDirectories": [ + "google/api", + "google/protobuf", + "google/shopping/css/v1", + "google/shopping/type" + ], + "options": { + "csharp_namespace": { + "valueCounts": { + "Google.Shopping.Css.V1": 5 + } + }, + "go_package": { + "valueCounts": { + "cloud.google.com/go/shopping/css/apiv1/csspb;csspb": 5 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 5 + } + }, + "java_package": { + "valueCounts": { + "com.google.shopping.css.v1": 5 + } + }, + "php_namespace": { + "valueCounts": { + "Google\\Shopping\\Css\\V1": 5 + } + }, + "ruby_package": { + "valueCounts": { + "Google::Shopping::Css::V1": 5 + } + } + }, + "services": [ + { + "shortName": "AccountLabelsService", + "fullName": "google.shopping.css.v1.AccountLabelsService", + "methods": [ + { + "shortName": "CreateAccountLabel", + "fullName": "google.shopping.css.v1.AccountLabelsService.CreateAccountLabel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=accounts/*}/labels" + } + ] + }, + { + "shortName": "DeleteAccountLabel", + "fullName": "google.shopping.css.v1.AccountLabelsService.DeleteAccountLabel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=accounts/*/labels/*}" + } + ] + }, + { + "shortName": "ListAccountLabels", + "fullName": "google.shopping.css.v1.AccountLabelsService.ListAccountLabels", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=accounts/*}/labels" + } + ] + }, + { + "shortName": "UpdateAccountLabel", + "fullName": "google.shopping.css.v1.AccountLabelsService.UpdateAccountLabel", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{account_label.name=accounts/*/labels/*}" + } + ] + } + ] + }, + { + "shortName": "AccountsService", + "fullName": "google.shopping.css.v1.AccountsService", + "methods": [ + { + "shortName": "GetAccount", + "fullName": "google.shopping.css.v1.AccountsService.GetAccount", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=accounts/*}" + } + ] + }, + { + "shortName": "ListChildAccounts", + "fullName": "google.shopping.css.v1.AccountsService.ListChildAccounts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=accounts/*}:listChildAccounts" + } + ] + }, + { + "shortName": "UpdateLabels", + "fullName": "google.shopping.css.v1.AccountsService.UpdateLabels", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{name=accounts/*}:updateLabels" + } + ] + } + ] + }, + { + "shortName": "CssProductInputsService", + "fullName": "google.shopping.css.v1.CssProductInputsService", + "methods": [ + { + "shortName": "DeleteCssProductInput", + "fullName": "google.shopping.css.v1.CssProductInputsService.DeleteCssProductInput", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/v1/{name=accounts/*/cssProductInputs/*}" + } + ] + }, + { + "shortName": "InsertCssProductInput", + "fullName": "google.shopping.css.v1.CssProductInputsService.InsertCssProductInput", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{parent=accounts/*}/cssProductInputs:insert" + } + ] + } + ] + }, + { + "shortName": "CssProductsService", + "fullName": "google.shopping.css.v1.CssProductsService", + "methods": [ + { + "shortName": "GetCssProduct", + "fullName": "google.shopping.css.v1.CssProductsService.GetCssProduct", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{name=accounts/*/cssProducts/*}" + } + ] + }, + { + "shortName": "ListCssProducts", + "fullName": "google.shopping.css.v1.CssProductsService.ListCssProducts", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/v1/{parent=accounts/*}/cssProducts" + } + ] + } + ] + } + ], + "configFile": "css_v1.yaml", + "serviceConfigApiNames": [ + "google.shopping.css.v1.AccountLabelsService", + "google.shopping.css.v1.AccountsService", + "google.shopping.css.v1.CssProductInputsService", + "google.shopping.css.v1.CssProductsService" + ], + "nameInServiceConfig": "css.googleapis.com" + }, + { + "id": "google.shopping.merchant.inventories.v1beta", + "directory": "google/shopping/merchant/inventories/v1beta", + "version": "v1beta", + "majorVersion": "v1", + "hostName": "merchantapi.googleapis.com", + "title": "Merchant API", + "description": "Programmatically manage your Merchant Center accounts.", + "importDirectories": [ + "google/api", + "google/protobuf", + "google/shopping/type", + "google/type" + ], + "options": { + "go_package": { + "valueCounts": { + "cloud.google.com/go/shopping/merchant/inventories/apiv1beta/inventoriespb;inventoriespb": 2 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 2 + } + }, + "java_package": { + "valueCounts": { + "com.google.shopping.merchant.inventories.v1beta": 2 + } + } + }, + "services": [ + { + "shortName": "LocalInventoryService", + "fullName": "google.shopping.merchant.inventories.v1beta.LocalInventoryService", + "methods": [ + { + "shortName": "DeleteLocalInventory", + "fullName": "google.shopping.merchant.inventories.v1beta.LocalInventoryService.DeleteLocalInventory", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/inventories/v1beta/{name=accounts/*/products/*/localInventories/*}" + } + ] + }, + { + "shortName": "InsertLocalInventory", + "fullName": "google.shopping.merchant.inventories.v1beta.LocalInventoryService.InsertLocalInventory", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/inventories/v1beta/{parent=accounts/*/products/*}/localInventories:insert" + } + ] + }, + { + "shortName": "ListLocalInventories", + "fullName": "google.shopping.merchant.inventories.v1beta.LocalInventoryService.ListLocalInventories", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/inventories/v1beta/{parent=accounts/*/products/*}/localInventories" + } + ] + } + ] + }, + { + "shortName": "RegionalInventoryService", + "fullName": "google.shopping.merchant.inventories.v1beta.RegionalInventoryService", + "methods": [ + { + "shortName": "DeleteRegionalInventory", + "fullName": "google.shopping.merchant.inventories.v1beta.RegionalInventoryService.DeleteRegionalInventory", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "DELETE", + "path": "/inventories/v1beta/{name=accounts/*/products/*/regionalInventories/*}" + } + ] + }, + { + "shortName": "InsertRegionalInventory", + "fullName": "google.shopping.merchant.inventories.v1beta.RegionalInventoryService.InsertRegionalInventory", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/inventories/v1beta/{parent=accounts/*/products/*}/regionalInventories:insert" + } + ] + }, + { + "shortName": "ListRegionalInventories", + "fullName": "google.shopping.merchant.inventories.v1beta.RegionalInventoryService.ListRegionalInventories", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "GET", + "path": "/inventories/v1beta/{parent=accounts/*/products/*}/regionalInventories" + } + ] + } + ] + } + ], + "configFile": "merchantapi_v1beta.yaml", + "serviceConfigApiNames": [ + "google.shopping.merchant.inventories.v1beta.LocalInventoryService", + "google.shopping.merchant.inventories.v1beta.RegionalInventoryService" + ], + "nameInServiceConfig": "merchantapi.googleapis.com" + }, + { + "id": "google.shopping.merchant.reports.v1beta", + "directory": "google/shopping/merchant/reports/v1beta", + "version": "v1beta", + "majorVersion": "v1", + "hostName": "merchantapi.googleapis.com", + "title": "Merchant API", + "description": "Programmatically manage your Merchant Center accounts.", + "importDirectories": [ + "google/api", + "google/protobuf", + "google/shopping/type", + "google/type" + ], + "options": { + "go_package": { + "valueCounts": { + "cloud.google.com/go/shopping/merchant/reports/apiv1beta/reportspb;reportspb": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "java_package": { + "valueCounts": { + "com.google.shopping.merchant.reports.v1beta": 1 + } + } + }, + "services": [ + { + "shortName": "ReportService", + "fullName": "google.shopping.merchant.reports.v1beta.ReportService", + "methods": [ + { + "shortName": "Search", + "fullName": "google.shopping.merchant.reports.v1beta.ReportService.Search", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "POST", + "path": "/reports/v1beta/{parent=accounts/*}/reports:search" + } + ] + } + ] + } + ], + "configFile": "merchantapi_v1beta.yaml", + "serviceConfigApiNames": [ + "google.shopping.merchant.reports.v1beta.ReportService" + ], + "nameInServiceConfig": "merchantapi.googleapis.com" + }, { "id": "google.spanner.admin.database.v1", "directory": "google/spanner/admin/database/v1", @@ -94399,7 +111945,7 @@ }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/spanner/admin/database/v1;database": 3 + "cloud.google.com/go/spanner/admin/database/apiv1/databasepb;databasepb": 3 } }, "java_multiple_files": { @@ -94642,6 +112188,17 @@ } ] }, + { + "shortName": "UpdateDatabase", + "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase", + "mode": "UNARY", + "bindings": [ + { + "httpMethod": "PATCH", + "path": "/v1/{database.name=projects/*/instances/*/databases/*}" + } + ] + }, { "shortName": "UpdateDatabaseDdl", "fullName": "google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl", @@ -94686,7 +112243,7 @@ }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/spanner/admin/instance/v1;instance": 2 + "cloud.google.com/go/spanner/admin/instance/apiv1/instancepb;instancepb": 2 } }, "java_multiple_files": { @@ -94878,6 +112435,59 @@ ], "nameInServiceConfig": "spanner.googleapis.com" }, + { + "id": "google.spanner.executor.v1", + "directory": "google/spanner/executor/v1", + "version": "v1", + "majorVersion": "v1", + "hostName": "spanner-cloud-executor.googleapis.com", + "title": "Cloud Spanner Executor test API", + "description": "Stop. This folder is likely not what you are looking for. This folder contains protocol buffer definitions for test-only API for Cloud Spanner clients. Unless told otherwise by a Google Cloud representative, do not use any of the contents of this folder. If you would like to use Cloud Spanner, please consult our [official documentation](https://cloud.google.com/spanner/docs/apis) for details on our APIs, or else consider one of our [client libraries](https://cloud.google.com/spanner/docs/reference/libraries). This API defined in this folder is unreleased and may shut off, break, or fail at any time for any users who are not registered as a part of a private preview program.", + "importDirectories": [ + "google/api", + "google/longrunning", + "google/protobuf", + "google/rpc", + "google/spanner/admin/database/v1", + "google/spanner/admin/instance/v1", + "google/spanner/v1" + ], + "options": { + "go_package": { + "valueCounts": { + "cloud.google.com/go/spanner/executor/apiv1/executorpb;executorpb": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "java_package": { + "valueCounts": { + "com.google.spanner.executor.v1": 1 + } + } + }, + "services": [ + { + "shortName": "SpannerExecutorProxy", + "fullName": "google.spanner.executor.v1.SpannerExecutorProxy", + "methods": [ + { + "shortName": "ExecuteActionAsync", + "fullName": "google.spanner.executor.v1.SpannerExecutorProxy.ExecuteActionAsync", + "mode": "BIDIRECTIONAL_STREAMING" + } + ] + } + ], + "configFile": "spanner_cloud_executor.yaml", + "serviceConfigApiNames": [ + "google.spanner.executor.v1.SpannerExecutorProxy" + ], + "nameInServiceConfig": "spanner-cloud-executor.googleapis.com" + }, { "id": "google.spanner.v1", "directory": "google/spanner/v1", @@ -94906,7 +112516,7 @@ }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/spanner/v1;spanner": 8 + "cloud.google.com/go/spanner/apiv1/spannerpb;spannerpb": 8 } }, "java_multiple_files": { @@ -94946,6 +112556,17 @@ } ] }, + { + "shortName": "BatchWrite", + "fullName": "google.spanner.v1.Spanner.BatchWrite", + "mode": "SERVER_STREAMING", + "bindings": [ + { + "httpMethod": "POST", + "path": "/v1/{session=projects/*/instances/*/databases/*/sessions/*}:batchWrite" + } + ] + }, { "shortName": "BeginTransaction", "fullName": "google.spanner.v1.Spanner.BeginTransaction", @@ -95109,6 +112730,81 @@ ], "nameInServiceConfig": "spanner.googleapis.com" }, + { + "id": "google.storage.control.v2", + "directory": "google/storage/control/v2", + "version": "v2", + "majorVersion": "v2", + "hostName": "storage.googleapis.com", + "title": "Cloud Storage API", + "description": "Lets you store and retrieve potentially-large, immutable data objects.", + "importDirectories": [ + "google/api", + "google/longrunning", + "google/protobuf" + ], + "options": { + "go_package": { + "valueCounts": { + "cloud.google.com/go/storage/control/apiv2/storagecontrolpb;storagecontrolpb": 1 + } + }, + "java_multiple_files": { + "valueCounts": { + "true": 1 + } + }, + "java_package": { + "valueCounts": { + "com.google.storage.control.v2": 1 + } + } + }, + "services": [ + { + "shortName": "StorageControl", + "fullName": "google.storage.control.v2.StorageControl", + "methods": [ + { + "shortName": "CreateFolder", + "fullName": "google.storage.control.v2.StorageControl.CreateFolder", + "mode": "UNARY" + }, + { + "shortName": "DeleteFolder", + "fullName": "google.storage.control.v2.StorageControl.DeleteFolder", + "mode": "UNARY" + }, + { + "shortName": "GetFolder", + "fullName": "google.storage.control.v2.StorageControl.GetFolder", + "mode": "UNARY" + }, + { + "shortName": "GetStorageLayout", + "fullName": "google.storage.control.v2.StorageControl.GetStorageLayout", + "mode": "UNARY" + }, + { + "shortName": "ListFolders", + "fullName": "google.storage.control.v2.StorageControl.ListFolders", + "mode": "UNARY" + }, + { + "shortName": "RenameFolder", + "fullName": "google.storage.control.v2.StorageControl.RenameFolder", + "mode": "UNARY" + } + ] + } + ], + "configFile": "storage_v2.yaml", + "serviceConfigApiNames": [ + "google.longrunning.Operations", + "google.storage.control.v2.StorageControl" + ], + "nameInServiceConfig": "storage.googleapis.com" + }, { "id": "google.storage.v2", "directory": "google/storage/v2", @@ -95116,7 +112812,7 @@ "majorVersion": "v2", "hostName": "storage.googleapis.com", "title": "Cloud Storage API", - "description": "Lets you store and retrieve potentially-large, immutable data objects.", + "description": "Stop. This folder is likely not what you are looking for. This folder contains protocol buffer definitions for an API only accessible to select customers. Customers not participating should not depend on this file. Please contact Google Cloud sales if you are interested. Unless told otherwise by a Google Cloud representative, do not use or otherwise rely on any of the contents of this folder. If you would like to use Cloud Storage, please consult our [official documentation](https://cloud.google.com/storage/docs/apis) for details on our XML and JSON APIs, or else consider one of our [client libraries](https://cloud.google.com/storage/docs/reference/libraries). This API defined in this folder is unreleased and may shut off, break, or fail at any time for any users who are not registered as a part of a private preview program.", "importDirectories": [ "google/api", "google/iam/v1", @@ -95126,7 +112822,7 @@ "options": { "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/storage/v2;storage": 1 + "cloud.google.com/go/storage/internal/apiv2/storagepb;storagepb": 1 } }, "java_multiple_files": { @@ -95145,6 +112841,11 @@ "shortName": "Storage", "fullName": "google.storage.v2.Storage", "methods": [ + { + "shortName": "BidiWriteObject", + "fullName": "google.storage.v2.Storage.BidiWriteObject", + "mode": "BIDIRECTIONAL_STREAMING" + }, { "shortName": "CancelResumableWrite", "fullName": "google.storage.v2.Storage.CancelResumableWrite", @@ -95255,6 +112956,11 @@ "fullName": "google.storage.v2.Storage.ReadObject", "mode": "SERVER_STREAMING" }, + { + "shortName": "RestoreObject", + "fullName": "google.storage.v2.Storage.RestoreObject", + "mode": "UNARY" + }, { "shortName": "RewriteObject", "fullName": "google.storage.v2.Storage.RewriteObject", @@ -95300,6 +113006,7 @@ ], "configFile": "storage_v2.yaml", "serviceConfigApiNames": [ + "google.longrunning.Operations", "google.storage.v2.Storage" ], "nameInServiceConfig": "storage.googleapis.com" @@ -95333,7 +113040,7 @@ }, "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/storagetransfer/v1;storagetransfer": 2 + "cloud.google.com/go/storagetransfer/apiv1/storagetransferpb;storagetransferpb": 2 } }, "java_package": { @@ -95528,7 +113235,7 @@ "majorVersion": "v1", "hostName": "streetviewpublish.googleapis.com", "title": "Street View Publish API", - "description": "Publishes 360 photos to Google Maps, along with position, orientation, and connectivity metadata. Apps can offer an interface for positioning, connecting, and uploading user-generated Street View images.", + "description": "The Street View Publish API allows your application to publish 360 photos to Google Maps, along with image metadata that specifies the position, orientation, and connectivity of each photo. With this API, any app can offer an interface for positioning, connecting, and uploading user-generated Street View images.", "importDirectories": [ "google/api", "google/longrunning", @@ -95711,7 +113418,7 @@ ] } ], - "configFile": "streetviewpublish.yaml", + "configFile": "streetview_publish.yaml", "serviceConfigApiNames": [ "google.streetview.publish.v1.StreetViewPublishService" ], @@ -95788,22 +113495,22 @@ "options": { "go_package": { "valueCounts": { - "google.golang.org/genproto/googleapis/grafeas/v1;grafeas": 19 + "google.golang.org/genproto/googleapis/grafeas/v1;grafeas": 20 } }, "java_multiple_files": { "valueCounts": { - "true": 19 + "true": 20 } }, "java_package": { "valueCounts": { - "io.grafeas.v1": 19 + "io.grafeas.v1": 20 } }, "objc_class_prefix": { "valueCounts": { - "GRA": 19 + "GRA": 20 } } }, diff --git a/third_party/googleapis/gapic/metadata/BUILD.bazel b/third_party/googleapis/gapic/metadata/BUILD.bazel index caa07ce6f..e4672e968 100644 --- a/third_party/googleapis/gapic/metadata/BUILD.bazel +++ b/third_party/googleapis/gapic/metadata/BUILD.bazel @@ -87,7 +87,6 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -96,20 +95,9 @@ php_proto_library( deps = [":metadata_proto"], ) -php_grpc_library( - name = "metadata_php_grpc", - srcs = [":metadata_proto"], - deps = [":metadata_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) ############################################################################## # Ruby diff --git a/third_party/googleapis/google/actions/sdk/v2/conversation/BUILD.bazel b/third_party/googleapis/google/actions/sdk/v2/conversation/BUILD.bazel index 56560f2a8..447c4c957 100644 --- a/third_party/googleapis/google/actions/sdk/v2/conversation/BUILD.bazel +++ b/third_party/googleapis/google/actions/sdk/v2/conversation/BUILD.bazel @@ -23,8 +23,3 @@ proto_library( ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) diff --git a/third_party/googleapis/google/actions/sdk/v2/conversation/prompt/BUILD.bazel b/third_party/googleapis/google/actions/sdk/v2/conversation/prompt/BUILD.bazel index bbc997a4e..0b2730ced 100644 --- a/third_party/googleapis/google/actions/sdk/v2/conversation/prompt/BUILD.bazel +++ b/third_party/googleapis/google/actions/sdk/v2/conversation/prompt/BUILD.bazel @@ -23,8 +23,3 @@ proto_library( ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) diff --git a/third_party/googleapis/google/actions/sdk/v2/conversation/prompt/content/BUILD.bazel b/third_party/googleapis/google/actions/sdk/v2/conversation/prompt/content/BUILD.bazel index 3dc717772..9b89a8e9e 100644 --- a/third_party/googleapis/google/actions/sdk/v2/conversation/prompt/content/BUILD.bazel +++ b/third_party/googleapis/google/actions/sdk/v2/conversation/prompt/content/BUILD.bazel @@ -30,8 +30,3 @@ proto_library( ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) diff --git a/third_party/googleapis/google/actions/sdk/v2/interactionmodel/BUILD.bazel b/third_party/googleapis/google/actions/sdk/v2/interactionmodel/BUILD.bazel index 6c728656a..54d97dfe7 100644 --- a/third_party/googleapis/google/actions/sdk/v2/interactionmodel/BUILD.bazel +++ b/third_party/googleapis/google/actions/sdk/v2/interactionmodel/BUILD.bazel @@ -31,8 +31,3 @@ proto_library( ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) diff --git a/third_party/googleapis/google/actions/sdk/v2/interactionmodel/prompt/BUILD.bazel b/third_party/googleapis/google/actions/sdk/v2/interactionmodel/prompt/BUILD.bazel index c7eaf2b3e..89b78324f 100644 --- a/third_party/googleapis/google/actions/sdk/v2/interactionmodel/prompt/BUILD.bazel +++ b/third_party/googleapis/google/actions/sdk/v2/interactionmodel/prompt/BUILD.bazel @@ -25,8 +25,3 @@ proto_library( ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) diff --git a/third_party/googleapis/google/actions/sdk/v2/interactionmodel/prompt/content/BUILD.bazel b/third_party/googleapis/google/actions/sdk/v2/interactionmodel/prompt/content/BUILD.bazel index 213d25546..06dde7135 100644 --- a/third_party/googleapis/google/actions/sdk/v2/interactionmodel/prompt/content/BUILD.bazel +++ b/third_party/googleapis/google/actions/sdk/v2/interactionmodel/prompt/content/BUILD.bazel @@ -32,8 +32,3 @@ proto_library( ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) diff --git a/third_party/googleapis/google/actions/sdk/v2/interactionmodel/type/BUILD.bazel b/third_party/googleapis/google/actions/sdk/v2/interactionmodel/type/BUILD.bazel index 9d5191c1c..8f69bb779 100644 --- a/third_party/googleapis/google/actions/sdk/v2/interactionmodel/type/BUILD.bazel +++ b/third_party/googleapis/google/actions/sdk/v2/interactionmodel/type/BUILD.bazel @@ -26,8 +26,3 @@ proto_library( ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) diff --git a/third_party/googleapis/google/actions/type/BUILD.bazel b/third_party/googleapis/google/actions/type/BUILD.bazel index d865c47c4..29d50f7db 100644 --- a/third_party/googleapis/google/actions/type/BUILD.bazel +++ b/third_party/googleapis/google/actions/type/BUILD.bazel @@ -6,7 +6,6 @@ package(default_visibility = ["//visibility:public"]) ############################################################################## # Common ############################################################################## -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") proto_library( name = "date_range_proto", @@ -57,7 +56,6 @@ go_proto_library( deps = ["//google/type:date_go_proto"], ) - go_proto_library( name = "datetime_range_go_proto", importpath = "google.golang.org/genproto/googleapis/type/datetime_range", @@ -107,7 +105,6 @@ php_proto_library( # Node.js ############################################################################## - ############################################################################## # Ruby ############################################################################## diff --git a/third_party/googleapis/google/ads/admob/v1/BUILD.bazel b/third_party/googleapis/google/ads/admob/v1/BUILD.bazel index df6c85b8c..977992dd2 100644 --- a/third_party/googleapis/google/ads/admob/v1/BUILD.bazel +++ b/third_party/googleapis/google/ads/admob/v1/BUILD.bazel @@ -72,6 +72,7 @@ java_gapic_library( gapic_yaml = "admob_gapic.yaml", grpc_service_config = "//google/ads/admob:admob_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "//google/ads/admob:admob_v1.yaml", test_deps = [ ":admob_java_grpc", ], @@ -109,7 +110,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -136,18 +136,12 @@ go_gapic_library( ], ) -go_test( - name = "admob_go_gapic_test", - srcs = [":admob_go_gapic_srcjar_test"], - embed = [":admob_go_gapic"], - importpath = "google.golang.org/google/ads/admob/v1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-ads-admob-v1-go", deps = [ ":admob_go_gapic", + ":admob_go_gapic_srcjar-snippets.srcjar", ":admob_go_gapic_srcjar-test.srcjar", ":admob_go_proto", ], @@ -201,8 +195,6 @@ py_gapic_assembly_pkg( name = "ads-admob-v1-py", deps = [ ":admob_py_gapic", - ":admob_py_grpc", - ":admob_py_proto", ], ) @@ -310,6 +302,7 @@ ruby_cloud_gapic_library( grpc_service_config = None, rest_numeric_enums = True, service_yaml = "//google/ads/admob:admob_v1.yaml", + transport = "rest", deps = [ ":admob_ruby_grpc", ":admob_ruby_proto", diff --git a/third_party/googleapis/google/ads/googleads/v11/BUILD.bazel b/third_party/googleapis/google/ads/googleads/v11/BUILD.bazel deleted file mode 100644 index 7ae6c756a..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/BUILD.bazel +++ /dev/null @@ -1,269 +0,0 @@ -# Copyright 2020 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -package(default_visibility = ["//visibility:public"]) - -exports_files(["googleads_grpc_service_config.json"] + ["*.yaml"]) - -############################################################################## -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( - name = "googleads_proto", - srcs = [], - deps = [ - "//google/ads/googleads/v11/common:common_proto", - "//google/ads/googleads/v11/enums:enums_proto", - "//google/ads/googleads/v11/errors:errors_proto", - "//google/ads/googleads/v11/resources:resources_proto", - "//google/ads/googleads/v11/services:services_proto", - ], -) - -proto_library_with_info( - name = "googleads_proto_with_info", - deps = [ - ":googleads_proto", - ], -) - -############################################################################## -# Java -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "java_gapic_assembly_gradle_pkg", - "java_gapic_library", - "java_gapic_test", -) - -java_gapic_library( - name = "googleads_java_gapic", - srcs = [ - ":googleads_proto_with_info", - ], - gapic_yaml = "googleads_gapic.yaml", - grpc_service_config = ":googleads_grpc_service_config.json", - deps = [ - "//google/ads/googleads/v11/common:common_java_proto", - "//google/ads/googleads/v11/enums:enums_java_proto", - "//google/ads/googleads/v11/resources:resources_java_proto", - "//google/ads/googleads/v11/services:services_java_grpc", - "//google/ads/googleads/v11/services:services_java_proto", - ], -) - -# TODO(ohren): Add more test classes when java_gapic_test is able to run more -# than a single test. Having at least one verifies proper compilation at least. -java_gapic_test( - name = "googleads_java_gapic_suite", - test_classes = [ - "com.google.ads.googleads.v11.services.CampaignServiceClientTest", - ], - runtime_deps = [":googleads_java_gapic_test"], -) - -java_gapic_assembly_gradle_pkg( - name = "googleads-java", - deps = [ - ":googleads_java_gapic", - "//google/ads/googleads/v11:googleads_proto", - "//google/ads/googleads/v11/common:common_java_proto", - "//google/ads/googleads/v11/enums:enums_java_proto", - "//google/ads/googleads/v11/errors:errors_java_proto", - "//google/ads/googleads/v11/resources:resources_java_proto", - "//google/ads/googleads/v11/services:services_java_grpc", - "//google/ads/googleads/v11/services:services_java_proto", - ], -) - -############################################################################## -# PHP -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "php_gapic_assembly_pkg", - "php_gapic_library", - "php_grpc_library", - "php_proto_library", -) - -php_proto_library( - name = "googleads_php_proto", - plugin_args = ["aggregate_metadata=google.ads.googleads"], - deps = [":googleads_proto"], -) - -php_grpc_library( - name = "googleads_php_grpc", - srcs = [":googleads_proto"], - deps = [":googleads_php_proto"], -) - -php_gapic_library( - name = "googleads_php_gapic", - srcs = [":googleads_proto"], - gapic_yaml = "googleads_gapic.yaml", - grpc_service_config = "googleads_grpc_service_config.json", - service_yaml = "googleads_v11.yaml", - deps = [ - ":googleads_php_grpc", - ":googleads_php_proto", - ], -) - -php_gapic_assembly_pkg( - name = "googleads-php", - deps = [ - ":googleads_php_gapic", - ":googleads_php_grpc", - ":googleads_php_proto", - ], -) - -############################################################################## -# C# -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "csharp_gapic_assembly_pkg", - "csharp_gapic_library", -) - -csharp_gapic_library( - name = "googleads_csharp_gapic", - srcs = [ - ":googleads_proto_with_info", - ], - grpc_service_config = "googleads_grpc_service_config.json", - service_yaml = "googleads_v11.yaml", - deps = [ - "//google/ads/googleads/v11/services:services_csharp_grpc", - ], -) - -csharp_gapic_assembly_pkg( - name = "googleads-csharp", - deps = [ - ":googleads_csharp_gapic", - "//google/ads/googleads/v11/common:common_csharp_proto", - "//google/ads/googleads/v11/enums:enums_csharp_proto", - "//google/ads/googleads/v11/errors:errors_csharp_proto", - "//google/ads/googleads/v11/resources:resources_csharp_proto", - "//google/ads/googleads/v11/services:services_csharp_grpc", - "//google/ads/googleads/v11/services:services_csharp_proto", - ], -) - -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "ruby_ads_gapic_library", - "ruby_gapic_assembly_pkg", -) - -ruby_ads_gapic_library( - name = "googleads_ruby_gapic", - srcs = ["googleads_proto_with_info"], - extra_protoc_parameters = [ - ":gem.:name=google-ads-googleads", - ":defaults.:service.:default_host=googleads.googleapis.com", - ":overrides.:namespace.Googleads=GoogleAds", - ], - grpc_service_config = "googleads_grpc_service_config.json", - service_yaml = "googleads_v11.yaml", -) - -ruby_gapic_assembly_pkg( - name = "googleads-ruby", - deps = [ - ":googleads_ruby_gapic", - "//google/ads/googleads/v11/common:common_ruby_proto", - "//google/ads/googleads/v11/enums:enums_ruby_proto", - "//google/ads/googleads/v11/errors:errors_ruby_proto", - "//google/ads/googleads/v11/resources:resources_ruby_proto", - "//google/ads/googleads/v11/services:services_ruby_grpc", - "//google/ads/googleads/v11/services:services_ruby_proto", - ], -) - -############################################################################## -# Python -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "py_gapic_assembly_pkg", - "py_gapic_library", -) - -py_gapic_library( - name = "googleads_py_gapic", - srcs = [":googleads_proto_with_info"], - grpc_service_config = "googleads_grpc_service_config.json", - opt_args = [ - "old-naming", - "lazy-import", - "python-gapic-name=googleads", - "python-gapic-templates=ads-templates", - "warehouse-package-name=google-ads", - ], - service_yaml = "googleads_v11.yaml", -) - -py_gapic_assembly_pkg( - name = "googleads-py", - deps = [ - ":googleads_py_gapic", - "//google/ads/googleads/v11/common:common_py_proto", - "//google/ads/googleads/v11/enums:enums_py_proto", - "//google/ads/googleads/v11/errors:errors_py_proto", - "//google/ads/googleads/v11/resources:resources_py_proto", - "//google/ads/googleads/v11/services:services_py_grpc", - "//google/ads/googleads/v11/services:services_py_proto", - ], -) - -############################################################################## -# Node.js -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) - -nodejs_gapic_library( - name = "googleads_nodejs_gapic", - package_name = "google-ads", - src = ":googleads_proto_with_info", - extra_protoc_parameters = ["metadata"], - grpc_service_config = "googleads_grpc_service_config.json", - main_service = "GoogleAdsService", - package = "google.ads.googleads.v11", - service_yaml = "googleads_v11.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( - name = "googleads-nodejs", - deps = [ - ":googleads_nodejs_gapic", - ":googleads_proto", - ], -) diff --git a/third_party/googleapis/google/ads/googleads/v11/common/BUILD.bazel b/third_party/googleapis/google/ads/googleads/v11/common/BUILD.bazel deleted file mode 100644 index b6efb8634..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/common/BUILD.bazel +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 2020 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -package(default_visibility = ["//visibility:public"]) - -############################################################################## -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") - -# TODO(ohren): Change srcs to use an enumeration of each individual proto -# instead of *.proto globbing once the build file generator supports -# subpackages. -proto_library( - name = "common_proto", - srcs = glob(["*.proto"]), - deps = [ - "//google/ads/googleads/v11/enums:enums_proto", - "//google/api:annotations_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", - "@com_google_protobuf//:wrappers_proto", - ], -) - -############################################################################## -# Java -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "java_proto_library", -) - -java_proto_library( - name = "common_java_proto", - deps = [":common_proto"], -) - -############################################################################## -# PHP -############################################################################## - -# PHP targets are in the parent directory's BUILD.bazel file to facilitate -# aggregating metadata using a single underlying call to protoc. - -############################################################################## -# C# -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "csharp_proto_library", -) - -csharp_proto_library( - name = "common_csharp_proto", - deps = [":common_proto"], -) - -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "ruby_proto_library", -) - -ruby_proto_library( - name = "common_ruby_proto", - deps = [":common_proto"], -) - -############################################################################## -# Python -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "py_proto_library", -) - -py_proto_library( - name = "common_py_proto", - deps = [":common_proto"], -) diff --git a/third_party/googleapis/google/ads/googleads/v11/common/ad_asset.proto b/third_party/googleapis/google/ads/googleads/v11/common/ad_asset.proto deleted file mode 100644 index 8adb3b13a..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/common/ad_asset.proto +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.common; - -import "google/ads/googleads/v11/common/asset_policy.proto"; -import "google/ads/googleads/v11/enums/asset_performance_label.proto"; -import "google/ads/googleads/v11/enums/served_asset_field_type.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/common;common"; -option java_multiple_files = true; -option java_outer_classname = "AdAssetProto"; -option java_package = "com.google.ads.googleads.v11.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V11::Common"; - -// Proto file describing assets used inside an ad. - -// A text asset used inside an ad. -message AdTextAsset { - // Asset text. - optional string text = 4; - - // The pinned field of the asset. This restricts the asset to only serve - // within this field. Multiple assets can be pinned to the same field. An - // asset that is unpinned or pinned to a different field will not serve in a - // field where some other asset has been pinned. - google.ads.googleads.v11.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType pinned_field = 2; - - // The performance label of this text asset. - google.ads.googleads.v11.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel asset_performance_label = 5; - - // The policy summary of this text asset. - AdAssetPolicySummary policy_summary_info = 6; -} - -// An image asset used inside an ad. -message AdImageAsset { - // The Asset resource name of this image. - optional string asset = 2; -} - -// A video asset used inside an ad. -message AdVideoAsset { - // The Asset resource name of this video. - optional string asset = 2; -} - -// A media bundle asset used inside an ad. -message AdMediaBundleAsset { - // The Asset resource name of this media bundle. - optional string asset = 2; -} - -// A discovery carousel card asset used inside an ad. -message AdDiscoveryCarouselCardAsset { - // The Asset resource name of this discovery carousel card. - optional string asset = 1; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/common/ad_type_infos.proto b/third_party/googleapis/google/ads/googleads/v11/common/ad_type_infos.proto deleted file mode 100644 index c4999d87b..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/common/ad_type_infos.proto +++ /dev/null @@ -1,797 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.common; - -import "google/ads/googleads/v11/common/ad_asset.proto"; -import "google/ads/googleads/v11/enums/call_conversion_reporting_state.proto"; -import "google/ads/googleads/v11/enums/display_ad_format_setting.proto"; -import "google/ads/googleads/v11/enums/display_upload_product_type.proto"; -import "google/ads/googleads/v11/enums/legacy_app_install_ad_app_store.proto"; -import "google/ads/googleads/v11/enums/mime_type.proto"; -import "google/ads/googleads/v11/enums/video_thumbnail.proto"; -import "google/api/field_behavior.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/common;common"; -option java_multiple_files = true; -option java_outer_classname = "AdTypeInfosProto"; -option java_package = "com.google.ads.googleads.v11.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V11::Common"; - -// Proto file containing info messages for specific ad types. - -// A text ad. -message TextAdInfo { - // The headline of the ad. - optional string headline = 4; - - // The first line of the ad's description. - optional string description1 = 5; - - // The second line of the ad's description. - optional string description2 = 6; -} - -// An expanded text ad. -message ExpandedTextAdInfo { - // The first part of the ad's headline. - optional string headline_part1 = 8; - - // The second part of the ad's headline. - optional string headline_part2 = 9; - - // The third part of the ad's headline. - optional string headline_part3 = 10; - - // The description of the ad. - optional string description = 11; - - // The second description of the ad. - optional string description2 = 12; - - // The text that can appear alongside the ad's displayed URL. - optional string path1 = 13; - - // Additional text that can appear alongside the ad's displayed URL. - optional string path2 = 14; -} - -// An expanded dynamic search ad. -message ExpandedDynamicSearchAdInfo { - // The description of the ad. - optional string description = 3; - - // The second description of the ad. - optional string description2 = 4; -} - -// A hotel ad. -message HotelAdInfo { - -} - -// A Smart Shopping ad. -message ShoppingSmartAdInfo { - -} - -// A standard Shopping ad. -message ShoppingProductAdInfo { - -} - -// A Shopping Comparison Listing ad. -message ShoppingComparisonListingAdInfo { - // Headline of the ad. This field is required. Allowed length is between 25 - // and 45 characters. - optional string headline = 2; -} - -// A Gmail ad. -message GmailAdInfo { - // The Gmail teaser. - GmailTeaser teaser = 1; - - // The MediaFile resource name of the header image. Valid image types are GIF, - // JPEG and PNG. The minimum size is 300x100 pixels and the aspect ratio must - // be between 3:1 and 5:1 (+-1%). - optional string header_image = 10; - - // The MediaFile resource name of the marketing image. Valid image types are - // GIF, JPEG and PNG. The image must either be landscape with a minimum size - // of 600x314 pixels and aspect ratio of 600:314 (+-1%) or square with a - // minimum size of 300x300 pixels and aspect ratio of 1:1 (+-1%) - optional string marketing_image = 11; - - // Headline of the marketing image. - optional string marketing_image_headline = 12; - - // Description of the marketing image. - optional string marketing_image_description = 13; - - // Display-call-to-action of the marketing image. - DisplayCallToAction marketing_image_display_call_to_action = 6; - - // Product images. Up to 15 images are supported. - repeated ProductImage product_images = 7; - - // Product videos. Up to 7 videos are supported. At least one product video - // or a marketing image must be specified. - repeated ProductVideo product_videos = 8; -} - -// Gmail teaser data. The teaser is a small header that acts as an invitation -// to view the rest of the ad (the body). -message GmailTeaser { - // Headline of the teaser. - optional string headline = 5; - - // Description of the teaser. - optional string description = 6; - - // Business name of the advertiser. - optional string business_name = 7; - - // The MediaFile resource name of the logo image. Valid image types are GIF, - // JPEG and PNG. The minimum size is 144x144 pixels and the aspect ratio must - // be 1:1 (+-1%). - optional string logo_image = 8; -} - -// Data for display call to action. The call to action is a piece of the ad -// that prompts the user to do something. Like clicking a link or making a phone -// call. -message DisplayCallToAction { - // Text for the display-call-to-action. - optional string text = 5; - - // Text color for the display-call-to-action in hexadecimal, for example, - // # ffffff for white. - optional string text_color = 6; - - // Identifies the URL collection in the `ad.url_collections` field. If not - // set, the URL defaults to `final_url`. - optional string url_collection_id = 7; -} - -// Product image specific data. -message ProductImage { - // The MediaFile resource name of the product image. Valid image types are - // GIF, JPEG and PNG. The minimum size is 300x300 pixels and the aspect ratio - // must be 1:1 (+-1%). - optional string product_image = 4; - - // Description of the product. - optional string description = 5; - - // Display-call-to-action of the product image. - DisplayCallToAction display_call_to_action = 3; -} - -// Product video specific data. -message ProductVideo { - // The MediaFile resource name of a video which must be hosted on YouTube. - optional string product_video = 2; -} - -// An image ad. -message ImageAdInfo { - // Width in pixels of the full size image. - optional int64 pixel_width = 15; - - // Height in pixels of the full size image. - optional int64 pixel_height = 16; - - // URL of the full size image. - optional string image_url = 17; - - // Width in pixels of the preview size image. - optional int64 preview_pixel_width = 18; - - // Height in pixels of the preview size image. - optional int64 preview_pixel_height = 19; - - // URL of the preview size image. - optional string preview_image_url = 20; - - // The mime type of the image. - google.ads.googleads.v11.enums.MimeTypeEnum.MimeType mime_type = 10; - - // The name of the image. If the image was created from a MediaFile, this is - // the MediaFile's name. If the image was created from bytes, this is empty. - optional string name = 21; - - // The image to create the ImageAd from. This can be specified in one of - // two ways. - // 1. An existing MediaFile resource. - // 2. The raw image data as bytes. - oneof image { - // The MediaFile resource to use for the image. - string media_file = 12; - - // Raw image data as bytes. - bytes data = 13; - - // An ad ID to copy the image from. - int64 ad_id_to_copy_image_from = 14; - } -} - -// Representation of video bumper in-stream ad format (very short in-stream -// non-skippable video ad). -message VideoBumperInStreamAdInfo { - // The image assets of the companion banner used with the ad. - AdImageAsset companion_banner = 3; -} - -// Representation of video non-skippable in-stream ad format (15 second -// in-stream non-skippable video ad). -message VideoNonSkippableInStreamAdInfo { - // The image assets of the companion banner used with the ad. - AdImageAsset companion_banner = 5; - - // Label on the "Call To Action" button taking the user to the video ad's - // final URL. - string action_button_label = 3; - - // Additional text displayed with the "Call To Action" button to give - // context and encourage clicking on the button. - string action_headline = 4; -} - -// Representation of video TrueView in-stream ad format (ad shown during video -// playback, often at beginning, which displays a skip button a few seconds into -// the video). -message VideoTrueViewInStreamAdInfo { - // Label on the CTA (call-to-action) button taking the user to the video ad's - // final URL. - // Required for TrueView for action campaigns, optional otherwise. - string action_button_label = 4; - - // Additional text displayed with the CTA (call-to-action) button to give - // context and encourage clicking on the button. - string action_headline = 5; - - // The image assets of the companion banner used with the ad. - AdImageAsset companion_banner = 7; -} - -// Representation of video out-stream ad format (ad shown alongside a feed -// with automatic playback, without sound). -message VideoOutstreamAdInfo { - // The headline of the ad. - string headline = 3; - - // The description line. - string description = 4; -} - -// Representation of In-feed video ad format. -message InFeedVideoAdInfo { - // The headline of the ad. - string headline = 1; - - // First text line for the ad. - string description1 = 2; - - // Second text line for the ad. - string description2 = 3; - - // Video thumbnail image to use. - google.ads.googleads.v11.enums.VideoThumbnailEnum.VideoThumbnail thumbnail = 4; -} - -// A video ad. -message VideoAdInfo { - // The YouTube video assets used for the ad. - AdVideoAsset video = 8; - - // Format-specific schema for the different video formats. - oneof format { - // Video TrueView in-stream ad format. - VideoTrueViewInStreamAdInfo in_stream = 2; - - // Video bumper in-stream ad format. - VideoBumperInStreamAdInfo bumper = 3; - - // Video out-stream ad format. - VideoOutstreamAdInfo out_stream = 4; - - // Video non-skippable in-stream ad format. - VideoNonSkippableInStreamAdInfo non_skippable = 5; - - // In-feed video ad format. - InFeedVideoAdInfo in_feed = 9; - } -} - -// A video responsive ad. -message VideoResponsiveAdInfo { - // List of text assets used for the short headline, for example, the "Call To - // Action" banner. Currently, only a single value for the short headline is - // supported. - repeated AdTextAsset headlines = 1; - - // List of text assets used for the long headline. - // Currently, only a single value for the long headline is supported. - repeated AdTextAsset long_headlines = 2; - - // List of text assets used for the description. - // Currently, only a single value for the description is supported. - repeated AdTextAsset descriptions = 3; - - // List of text assets used for the button, for example, the "Call To Action" - // button. Currently, only a single value for the button is supported. - repeated AdTextAsset call_to_actions = 4; - - // List of YouTube video assets used for the ad. - // Currently, only a single value for the YouTube video asset is supported. - repeated AdVideoAsset videos = 5; - - // List of image assets used for the companion banner. - // Currently, only a single value for the companion banner asset is supported. - repeated AdImageAsset companion_banners = 6; - - // First part of text that appears in the ad with the displayed URL. - string breadcrumb1 = 7; - - // Second part of text that appears in the ad with the displayed URL. - string breadcrumb2 = 8; -} - -// A responsive search ad. -// -// Responsive search ads let you create an ad that adapts to show more text, and -// more relevant messages, to your customers. Enter multiple headlines and -// descriptions when creating a responsive search ad, and over time, Google Ads -// will automatically test different combinations and learn which combinations -// perform best. By adapting your ad's content to more closely match potential -// customers' search terms, responsive search ads may improve your campaign's -// performance. -// -// More information at https://support.google.com/google-ads/answer/7684791 -message ResponsiveSearchAdInfo { - // List of text assets for headlines. When the ad serves the headlines will - // be selected from this list. - repeated AdTextAsset headlines = 1; - - // List of text assets for descriptions. When the ad serves the descriptions - // will be selected from this list. - repeated AdTextAsset descriptions = 2; - - // First part of text that can be appended to the URL in the ad. - optional string path1 = 5; - - // Second part of text that can be appended to the URL in the ad. This field - // can only be set when `path1` is also set. - optional string path2 = 6; -} - -// A legacy responsive display ad. Ads of this type are labeled 'Responsive ads' -// in the Google Ads UI. -message LegacyResponsiveDisplayAdInfo { - // The short version of the ad's headline. - optional string short_headline = 16; - - // The long version of the ad's headline. - optional string long_headline = 17; - - // The description of the ad. - optional string description = 18; - - // The business name in the ad. - optional string business_name = 19; - - // Advertiser's consent to allow flexible color. When true, the ad may be - // served with different color if necessary. When false, the ad will be served - // with the specified colors or a neutral color. - // The default value is `true`. - // Must be true if `main_color` and `accent_color` are not set. - optional bool allow_flexible_color = 20; - - // The accent color of the ad in hexadecimal, for example, #ffffff for white. - // If one of `main_color` and `accent_color` is set, the other is required as - // well. - optional string accent_color = 21; - - // The main color of the ad in hexadecimal, for example, #ffffff for white. - // If one of `main_color` and `accent_color` is set, the other is required as - // well. - optional string main_color = 22; - - // The call-to-action text for the ad. - optional string call_to_action_text = 23; - - // The MediaFile resource name of the logo image used in the ad. - optional string logo_image = 24; - - // The MediaFile resource name of the square logo image used in the ad. - optional string square_logo_image = 25; - - // The MediaFile resource name of the marketing image used in the ad. - optional string marketing_image = 26; - - // The MediaFile resource name of the square marketing image used in the ad. - optional string square_marketing_image = 27; - - // Specifies which format the ad will be served in. Default is ALL_FORMATS. - google.ads.googleads.v11.enums.DisplayAdFormatSettingEnum.DisplayAdFormatSetting format_setting = 13; - - // Prefix before price. For example, 'as low as'. - optional string price_prefix = 28; - - // Promotion text used for dynamic formats of responsive ads. For example - // 'Free two-day shipping'. - optional string promo_text = 29; -} - -// An app ad. -message AppAdInfo { - // Mandatory ad text. - AdTextAsset mandatory_ad_text = 1; - - // List of text assets for headlines. When the ad serves the headlines will - // be selected from this list. - repeated AdTextAsset headlines = 2; - - // List of text assets for descriptions. When the ad serves the descriptions - // will be selected from this list. - repeated AdTextAsset descriptions = 3; - - // List of image assets that may be displayed with the ad. - repeated AdImageAsset images = 4; - - // List of YouTube video assets that may be displayed with the ad. - repeated AdVideoAsset youtube_videos = 5; - - // List of media bundle assets that may be used with the ad. - repeated AdMediaBundleAsset html5_media_bundles = 6; -} - -// App engagement ads allow you to write text encouraging a specific action in -// the app, like checking in, making a purchase, or booking a flight. -// They allow you to send users to a specific part of your app where they can -// find what they're looking for easier and faster. -message AppEngagementAdInfo { - // List of text assets for headlines. When the ad serves the headlines will - // be selected from this list. - repeated AdTextAsset headlines = 1; - - // List of text assets for descriptions. When the ad serves the descriptions - // will be selected from this list. - repeated AdTextAsset descriptions = 2; - - // List of image assets that may be displayed with the ad. - repeated AdImageAsset images = 3; - - // List of video assets that may be displayed with the ad. - repeated AdVideoAsset videos = 4; -} - -// App pre-registration ads link to your app or game listing on Google Play, and -// can run on Google Play, on YouTube (in-stream only), and within other apps -// and mobile websites on the Display Network. It will help capture people's -// interest in your app or game and generate an early install base for your app -// or game before a launch. -message AppPreRegistrationAdInfo { - // List of text assets for headlines. When the ad serves the headlines will - // be selected from this list. - repeated AdTextAsset headlines = 1; - - // List of text assets for descriptions. When the ad serves the descriptions - // will be selected from this list. - repeated AdTextAsset descriptions = 2; - - // List of image asset IDs whose images may be displayed with the ad. - repeated AdImageAsset images = 3; - - // List of YouTube video asset IDs whose videos may be displayed with the ad. - repeated AdVideoAsset youtube_videos = 4; -} - -// A legacy app install ad that only can be used by a few select customers. -message LegacyAppInstallAdInfo { - // The ID of the mobile app. - optional string app_id = 6; - - // The app store the mobile app is available in. - google.ads.googleads.v11.enums.LegacyAppInstallAdAppStoreEnum.LegacyAppInstallAdAppStore app_store = 2; - - // The headline of the ad. - optional string headline = 7; - - // The first description line of the ad. - optional string description1 = 8; - - // The second description line of the ad. - optional string description2 = 9; -} - -// A responsive display ad. -message ResponsiveDisplayAdInfo { - // Marketing images to be used in the ad. Valid image types are GIF, - // JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must - // be 1.91:1 (+-1%). At least one `marketing_image` is required. Combined - // with `square_marketing_images`, the maximum is 15. - repeated AdImageAsset marketing_images = 1; - - // Square marketing images to be used in the ad. Valid image types are GIF, - // JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must - // be 1:1 (+-1%). At least one square `marketing_image` is required. Combined - // with `marketing_images`, the maximum is 15. - repeated AdImageAsset square_marketing_images = 2; - - // Logo images to be used in the ad. Valid image types are GIF, - // JPEG, and PNG. The minimum size is 512x128 and the aspect ratio must - // be 4:1 (+-1%). Combined with `square_logo_images`, the maximum is 5. - repeated AdImageAsset logo_images = 3; - - // Square logo images to be used in the ad. Valid image types are GIF, - // JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must - // be 1:1 (+-1%). Combined with `square_logo_images`, the maximum is 5. - repeated AdImageAsset square_logo_images = 4; - - // Short format headlines for the ad. The maximum length is 30 characters. - // At least 1 and max 5 headlines can be specified. - repeated AdTextAsset headlines = 5; - - // A required long format headline. The maximum length is 90 characters. - AdTextAsset long_headline = 6; - - // Descriptive texts for the ad. The maximum length is 90 characters. At - // least 1 and max 5 headlines can be specified. - repeated AdTextAsset descriptions = 7; - - // Optional YouTube videos for the ad. A maximum of 5 videos can be specified. - repeated AdVideoAsset youtube_videos = 8; - - // The advertiser/brand name. Maximum display width is 25. - optional string business_name = 17; - - // The main color of the ad in hexadecimal, for example, #ffffff for white. - // If one of `main_color` and `accent_color` is set, the other is required as - // well. - optional string main_color = 18; - - // The accent color of the ad in hexadecimal, for example, #ffffff for white. - // If one of `main_color` and `accent_color` is set, the other is required as - // well. - optional string accent_color = 19; - - // Advertiser's consent to allow flexible color. When true, the ad may be - // served with different color if necessary. When false, the ad will be served - // with the specified colors or a neutral color. - // The default value is `true`. - // Must be true if `main_color` and `accent_color` are not set. - optional bool allow_flexible_color = 20; - - // The call-to-action text for the ad. Maximum display width is 30. - optional string call_to_action_text = 21; - - // Prefix before price. For example, 'as low as'. - optional string price_prefix = 22; - - // Promotion text used for dynamic formats of responsive ads. For example - // 'Free two-day shipping'. - optional string promo_text = 23; - - // Specifies which format the ad will be served in. Default is ALL_FORMATS. - google.ads.googleads.v11.enums.DisplayAdFormatSettingEnum.DisplayAdFormatSetting format_setting = 16; - - // Specification for various creative controls. - ResponsiveDisplayAdControlSpec control_spec = 24; -} - -// A local ad. -message LocalAdInfo { - // List of text assets for headlines. When the ad serves the headlines will - // be selected from this list. At least 1 and at most 5 headlines must be - // specified. - repeated AdTextAsset headlines = 1; - - // List of text assets for descriptions. When the ad serves the descriptions - // will be selected from this list. At least 1 and at most 5 descriptions must - // be specified. - repeated AdTextAsset descriptions = 2; - - // List of text assets for call-to-actions. When the ad serves the - // call-to-actions will be selected from this list. Call-to-actions are - // optional and at most 5 can be specified. - repeated AdTextAsset call_to_actions = 3; - - // List of marketing image assets that may be displayed with the ad. The - // images must be 314x600 pixels or 320x320 pixels. At least 1 and at most - // 20 image assets must be specified. - repeated AdImageAsset marketing_images = 4; - - // List of logo image assets that may be displayed with the ad. The images - // must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5 - // image assets must be specified. - repeated AdImageAsset logo_images = 5; - - // List of YouTube video assets that may be displayed with the ad. Videos - // are optional and at most 20 can be specified. - repeated AdVideoAsset videos = 6; - - // First part of optional text that can be appended to the URL in the ad. - optional string path1 = 9; - - // Second part of optional text that can be appended to the URL in the ad. - // This field can only be set when `path1` is also set. - optional string path2 = 10; -} - -// A generic type of display ad. The exact ad format is controlled by the -// `display_upload_product_type` field, which determines what kinds of data -// need to be included with the ad. -message DisplayUploadAdInfo { - // The product type of this ad. See comments on the enum for details. - google.ads.googleads.v11.enums.DisplayUploadProductTypeEnum.DisplayUploadProductType display_upload_product_type = 1; - - // The asset data that makes up the ad. - oneof media_asset { - // A media bundle asset to be used in the ad. For information about the - // media bundle for HTML5_UPLOAD_AD, see - // https://support.google.com/google-ads/answer/1722096 - // Media bundles that are part of dynamic product types use a special format - // that needs to be created through the Google Web Designer. See - // https://support.google.com/webdesigner/answer/7543898 for more - // information. - AdMediaBundleAsset media_bundle = 2; - } -} - -// Specification for various creative controls for a responsive display ad. -message ResponsiveDisplayAdControlSpec { - // Whether the advertiser has opted into the asset enhancements feature. - bool enable_asset_enhancements = 1; - - // Whether the advertiser has opted into auto-gen video feature. - bool enable_autogen_video = 2; -} - -// A Smart campaign ad. -message SmartCampaignAdInfo { - // List of text assets, each of which corresponds to a headline when the ad - // serves. This list consists of a minimum of 3 and up to 15 text assets. - repeated AdTextAsset headlines = 1; - - // List of text assets, each of which corresponds to a description when the ad - // serves. This list consists of a minimum of 2 and up to 4 text assets. - repeated AdTextAsset descriptions = 2; -} - -// A call ad. -message CallAdInfo { - // The country code in the ad. - string country_code = 1; - - // The phone number in the ad. - string phone_number = 2; - - // The business name in the ad. - string business_name = 3; - - // First headline in the ad. - string headline1 = 11; - - // Second headline in the ad. - string headline2 = 12; - - // The first line of the ad's description. - string description1 = 4; - - // The second line of the ad's description. - string description2 = 5; - - // Whether to enable call tracking for the creative. Enabling call - // tracking also enables call conversions. - bool call_tracked = 6; - - // Whether to disable call conversion for the creative. - // If set to `true`, disables call conversions even when `call_tracked` is - // `true`. - // If `call_tracked` is `false`, this field is ignored. - bool disable_call_conversion = 7; - - // The URL to be used for phone number verification. - string phone_number_verification_url = 8; - - // The conversion action to attribute a call conversion to. If not set a - // default conversion action is used. This field only has effect if - // `call_tracked` is set to `true`. Otherwise this field is ignored. - string conversion_action = 9; - - // The call conversion behavior of this call ad. It can use its own call - // conversion setting, inherit the account level setting, or be disabled. - google.ads.googleads.v11.enums.CallConversionReportingStateEnum.CallConversionReportingState conversion_reporting_state = 10; - - // First part of text that can be appended to the URL in the ad. Optional. - string path1 = 13; - - // Second part of text that can be appended to the URL in the ad. This field - // can only be set when `path1` is also set. Optional. - string path2 = 14; -} - -// A discovery multi asset ad. -message DiscoveryMultiAssetAdInfo { - // Marketing image assets to be used in the ad. Valid image types are GIF, - // JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must - // be 1.91:1 (+-1%). Required if square_marketing_images is - // not present. Combined with `square_marketing_images` and - // `portrait_marketing_images` the maximum is 20. - repeated AdImageAsset marketing_images = 1; - - // Square marketing image assets to be used in the ad. Valid image types are - // GIF, JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must - // be 1:1 (+-1%). Required if marketing_images is not present. Combined with - // `marketing_images` and `portrait_marketing_images` the maximum is 20. - repeated AdImageAsset square_marketing_images = 2; - - // Portrait marketing image assets to be used in the ad. Valid image types are - // GIF, JPEG, and PNG. The minimum size is 480x600 and the aspect ratio must - // be 4:5 (+-1%). Combined with `marketing_images` and - // `square_marketing_images` the maximum is 20. - repeated AdImageAsset portrait_marketing_images = 3; - - // Logo image assets to be used in the ad. Valid image types are GIF, - // JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must be - // 1:1(+-1%). At least 1 and max 5 logo images can be specified. - repeated AdImageAsset logo_images = 4; - - // Headline text asset of the ad. Maximum display width is 30. At least 1 and - // max 5 headlines can be specified. - repeated AdTextAsset headlines = 5; - - // The descriptive text of the ad. Maximum display width is 90. At least 1 and - // max 5 descriptions can be specified. - repeated AdTextAsset descriptions = 6; - - // The Advertiser/brand name. Maximum display width is 25. Required. - optional string business_name = 7; - - // Call to action text. - optional string call_to_action_text = 8; - - // Boolean option that indicates if this ad must be served with lead form. - optional bool lead_form_only = 9; -} - -// A discovery carousel ad. -message DiscoveryCarouselAdInfo { - // Required. The Advertiser/brand name. - string business_name = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. Logo image to be used in the ad. The minimum size is 128x128 and the - // aspect ratio must be 1:1(+-1%). - AdImageAsset logo_image = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. Headline of the ad. - AdTextAsset headline = 3 [(google.api.field_behavior) = REQUIRED]; - - // Required. The descriptive text of the ad. - AdTextAsset description = 4 [(google.api.field_behavior) = REQUIRED]; - - // Call to action text. - string call_to_action_text = 5; - - // Required. Carousel cards that will display with the ad. Min 2 max 10. - repeated AdDiscoveryCarouselCardAsset carousel_cards = 6 [(google.api.field_behavior) = REQUIRED]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/common/asset_policy.proto b/third_party/googleapis/google/ads/googleads/v11/common/asset_policy.proto deleted file mode 100644 index 116706312..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/common/asset_policy.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.common; - -import "google/ads/googleads/v11/common/policy.proto"; -import "google/ads/googleads/v11/enums/policy_approval_status.proto"; -import "google/ads/googleads/v11/enums/policy_review_status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/common;common"; -option java_multiple_files = true; -option java_outer_classname = "AssetPolicyProto"; -option java_package = "com.google.ads.googleads.v11.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V11::Common"; - -// Proto file describing asset policies. - -// Contains policy information for an asset inside an ad. -message AdAssetPolicySummary { - // The list of policy findings for this asset. - repeated PolicyTopicEntry policy_topic_entries = 1; - - // Where in the review process this asset. - google.ads.googleads.v11.enums.PolicyReviewStatusEnum.PolicyReviewStatus review_status = 2; - - // The overall approval status of this asset, which is calculated based on - // the status of its individual policy topic entries. - google.ads.googleads.v11.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 3; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/common/asset_types.proto b/third_party/googleapis/google/ads/googleads/v11/common/asset_types.proto deleted file mode 100644 index bc9e3ccdb..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/common/asset_types.proto +++ /dev/null @@ -1,983 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.common; - -import "google/ads/googleads/v11/common/criteria.proto"; -import "google/ads/googleads/v11/common/feed_common.proto"; -import "google/ads/googleads/v11/enums/call_conversion_reporting_state.proto"; -import "google/ads/googleads/v11/enums/call_to_action_type.proto"; -import "google/ads/googleads/v11/enums/lead_form_call_to_action_type.proto"; -import "google/ads/googleads/v11/enums/lead_form_desired_intent.proto"; -import "google/ads/googleads/v11/enums/lead_form_field_user_input_type.proto"; -import "google/ads/googleads/v11/enums/lead_form_post_submit_call_to_action_type.proto"; -import "google/ads/googleads/v11/enums/mime_type.proto"; -import "google/ads/googleads/v11/enums/mobile_app_vendor.proto"; -import "google/ads/googleads/v11/enums/price_extension_price_qualifier.proto"; -import "google/ads/googleads/v11/enums/price_extension_price_unit.proto"; -import "google/ads/googleads/v11/enums/price_extension_type.proto"; -import "google/ads/googleads/v11/enums/promotion_extension_discount_modifier.proto"; -import "google/ads/googleads/v11/enums/promotion_extension_occasion.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/common;common"; -option java_multiple_files = true; -option java_outer_classname = "AssetTypesProto"; -option java_package = "com.google.ads.googleads.v11.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V11::Common"; - -// Proto file containing info messages for specific asset types. - -// A YouTube asset. -message YoutubeVideoAsset { - // YouTube video id. This is the 11 character string value used in the - // YouTube video URL. - optional string youtube_video_id = 2; - - // YouTube video title. - string youtube_video_title = 3; -} - -// A MediaBundle asset. -message MediaBundleAsset { - // Media bundle (ZIP file) asset data. The format of the uploaded ZIP file - // depends on the ad field where it will be used. For more information on the - // format, see the documentation of the ad field where you plan on using the - // MediaBundleAsset. This field is mutate only. - optional bytes data = 2; -} - -// An Image asset. -message ImageAsset { - // The raw bytes data of an image. This field is mutate only. - optional bytes data = 5; - - // File size of the image asset in bytes. - optional int64 file_size = 6; - - // MIME type of the image asset. - google.ads.googleads.v11.enums.MimeTypeEnum.MimeType mime_type = 3; - - // Metadata for this image at its original size. - ImageDimension full_size = 4; -} - -// Metadata for an image at a certain size, either original or resized. -message ImageDimension { - // Height of the image. - optional int64 height_pixels = 4; - - // Width of the image. - optional int64 width_pixels = 5; - - // A URL that returns the image with this height and width. - optional string url = 6; -} - -// A Text asset. -message TextAsset { - // Text content of the text asset. - optional string text = 2; -} - -// A Lead Form asset. -message LeadFormAsset { - // Required. The name of the business being advertised. - string business_name = 10 [(google.api.field_behavior) = REQUIRED]; - - // Required. Pre-defined display text that encourages user to expand the form. - google.ads.googleads.v11.enums.LeadFormCallToActionTypeEnum.LeadFormCallToActionType call_to_action_type = 17 [(google.api.field_behavior) = REQUIRED]; - - // Required. Text giving a clear value proposition of what users expect once they expand - // the form. - string call_to_action_description = 18 [(google.api.field_behavior) = REQUIRED]; - - // Required. Headline of the expanded form to describe what the form is asking for or - // facilitating. - string headline = 12 [(google.api.field_behavior) = REQUIRED]; - - // Required. Detailed description of the expanded form to describe what the form is - // asking for or facilitating. - string description = 13 [(google.api.field_behavior) = REQUIRED]; - - // Required. Link to a page describing the policy on how the collected data is handled - // by the advertiser/business. - string privacy_policy_url = 14 [(google.api.field_behavior) = REQUIRED]; - - // Headline of text shown after form submission that describes how the - // advertiser will follow up with the user. - optional string post_submit_headline = 15; - - // Detailed description shown after form submission that describes how the - // advertiser will follow up with the user. - optional string post_submit_description = 16; - - // Ordered list of input fields. - repeated LeadFormField fields = 8; - - // Ordered list of custom question fields. - repeated LeadFormCustomQuestionField custom_question_fields = 23; - - // Configured methods for collected lead data to be delivered to advertiser. - // Only one method typed as WebhookDelivery can be configured. - repeated LeadFormDeliveryMethod delivery_methods = 9; - - // Pre-defined display text that encourages user action after the form is - // submitted. - google.ads.googleads.v11.enums.LeadFormPostSubmitCallToActionTypeEnum.LeadFormPostSubmitCallToActionType post_submit_call_to_action_type = 19; - - // Asset resource name of the background image. The minimum size is 600x314 - // and the aspect ratio must be 1.91:1 (+-1%). - optional string background_image_asset = 20; - - // Chosen intent for the lead form, for example, more volume or more - // qualified. - google.ads.googleads.v11.enums.LeadFormDesiredIntentEnum.LeadFormDesiredIntent desired_intent = 21; - - // Custom disclosure shown along with Google disclaimer on the lead form. - // Accessible to allowed customers only. - optional string custom_disclosure = 22; -} - -// One input field instance within a form. -message LeadFormField { - // Describes the input type, which may be a predefined type such as - // "full name" or a pre-vetted question like "Do you own a car?". - google.ads.googleads.v11.enums.LeadFormFieldUserInputTypeEnum.LeadFormFieldUserInputType input_type = 1; - - // Defines answer configuration that this form field accepts. If oneof is not - // set, this is a free-text answer. - oneof answers { - // Answer configuration for a single choice question. Can be set only for - // pre-vetted question fields. Minimum of 2 answers required and maximum of - // 12 allowed. - LeadFormSingleChoiceAnswers single_choice_answers = 2; - } -} - -// One custom question input field instance within a form. -message LeadFormCustomQuestionField { - // The exact custom question field text (for example, "Do you own a car?"). - string custom_question_text = 1; - - // Defines answer configuration that this form field accepts. If - // oneof is not set, this is a free-text answer. - oneof answers { - // Answer configuration for a single choice question. - // Minimum of 2 answers and maximum of 12 allowed. - LeadFormSingleChoiceAnswers single_choice_answers = 2; - } -} - -// Defines possible answers for a single choice question, usually presented as -// a single-choice drop-down list. -message LeadFormSingleChoiceAnswers { - // List of choices for a single question field. The order of entries defines - // UI order. Minimum of 2 answers required and maximum of 12 allowed. - repeated string answers = 1; -} - -// A configuration of how leads are delivered to the advertiser. -message LeadFormDeliveryMethod { - // Various subtypes of delivery. - oneof delivery_details { - // Webhook method of delivery. - WebhookDelivery webhook = 1; - } -} - -// Google notifies the advertiser of leads by making HTTP calls to an -// endpoint they specify. The requests contain JSON matching a schema that -// Google publishes as part of form ads documentation. -message WebhookDelivery { - // Webhook url specified by advertiser to send the lead. - optional string advertiser_webhook_url = 4; - - // Anti-spoofing secret set by the advertiser as part of the webhook payload. - optional string google_secret = 5; - - // The schema version that this delivery instance will use. - optional int64 payload_schema_version = 6; -} - -// A Book on Google asset. Used to redirect user to book through Google. -// Book on Google will change the redirect url to book directly through -// Google. -message BookOnGoogleAsset { - -} - -// A Promotion asset. -message PromotionAsset { - // Required. A freeform description of what the promotion is targeting. - string promotion_target = 1 [(google.api.field_behavior) = REQUIRED]; - - // A modifier for qualification of the discount. - google.ads.googleads.v11.enums.PromotionExtensionDiscountModifierEnum.PromotionExtensionDiscountModifier discount_modifier = 2; - - // Start date of when the promotion is eligible to be redeemed, in yyyy-MM-dd - // format. - string redemption_start_date = 7; - - // Last date of when the promotion is eligible to be redeemed, in yyyy-MM-dd - // format. - string redemption_end_date = 8; - - // The occasion the promotion was intended for. - // If an occasion is set, the redemption window will need to fall within the - // date range associated with the occasion. - google.ads.googleads.v11.enums.PromotionExtensionOccasionEnum.PromotionExtensionOccasion occasion = 9; - - // The language of the promotion. - // Represented as BCP 47 language tag. - string language_code = 10; - - // Start date of when this asset is effective and can begin serving, in - // yyyy-MM-dd format. - string start_date = 11; - - // Last date of when this asset is effective and still serving, in yyyy-MM-dd - // format. - string end_date = 12; - - // List of non-overlapping schedules specifying all time intervals for which - // the asset may serve. There can be a maximum of 6 schedules per day, 42 in - // total. - repeated AdScheduleInfo ad_schedule_targets = 13; - - // Discount type, can be percentage off or amount off. - oneof discount_type { - // Percentage off discount in the promotion. 1,000,000 = 100%. - // Either this or money_amount_off is required. - int64 percent_off = 3; - - // Money amount off for discount in the promotion. - // Either this or percent_off is required. - Money money_amount_off = 4; - } - - // Promotion trigger. Can be by promotion code or promo by eligible order - // amount. - oneof promotion_trigger { - // A code the user should use in order to be eligible for the promotion. - string promotion_code = 5; - - // The amount the total order needs to be for the user to be eligible for - // the promotion. - Money orders_over_amount = 6; - } -} - -// A Callout asset. -message CalloutAsset { - // Required. The callout text. - // The length of this string should be between 1 and 25, inclusive. - string callout_text = 1 [(google.api.field_behavior) = REQUIRED]; - - // Start date of when this asset is effective and can begin serving, in - // yyyy-MM-dd format. - string start_date = 2; - - // Last date of when this asset is effective and still serving, in yyyy-MM-dd - // format. - string end_date = 3; - - // List of non-overlapping schedules specifying all time intervals for which - // the asset may serve. There can be a maximum of 6 schedules per day, 42 in - // total. - repeated AdScheduleInfo ad_schedule_targets = 4; -} - -// A Structured Snippet asset. -message StructuredSnippetAsset { - // Required. The header of the snippet. - // This string should be one of the predefined values at - // https://developers.google.com/google-ads/api/reference/data/structured-snippet-headers - string header = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The values in the snippet. - // The size of this collection should be between 3 and 10, inclusive. - // The length of each value should be between 1 and 25 characters, inclusive. - repeated string values = 2 [(google.api.field_behavior) = REQUIRED]; -} - -// A Sitelink asset. -message SitelinkAsset { - // Required. URL display text for the sitelink. - // The length of this string should be between 1 and 25, inclusive. - string link_text = 1 [(google.api.field_behavior) = REQUIRED]; - - // First line of the description for the sitelink. - // If set, the length should be between 1 and 35, inclusive, and description2 - // must also be set. - string description1 = 2; - - // Second line of the description for the sitelink. - // If set, the length should be between 1 and 35, inclusive, and description1 - // must also be set. - string description2 = 3; - - // Start date of when this asset is effective and can begin serving, in - // yyyy-MM-dd format. - string start_date = 4; - - // Last date of when this asset is effective and still serving, in yyyy-MM-dd - // format. - string end_date = 5; - - // List of non-overlapping schedules specifying all time intervals for which - // the asset may serve. There can be a maximum of 6 schedules per day, 42 in - // total. - repeated AdScheduleInfo ad_schedule_targets = 6; -} - -// A Page Feed asset. -message PageFeedAsset { - // Required. The webpage that advertisers want to target. - string page_url = 1 [(google.api.field_behavior) = REQUIRED]; - - // Labels used to group the page urls. - repeated string labels = 2; -} - -// A Dynamic Education asset. -message DynamicEducationAsset { - // Required. Program ID which can be any sequence of letters and digits, and must be - // unique and match the values of remarketing tag. Required. - string program_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Location ID which can be any sequence of letters and digits and must be - // unique. - string location_id = 2; - - // Required. Program name, for example, Nursing. Required. - string program_name = 3 [(google.api.field_behavior) = REQUIRED]; - - // Subject of study, for example, Health. - string subject = 4; - - // Program description, for example, Nursing Certification. - string program_description = 5; - - // School name, for example, Mountain View School of Nursing. - string school_name = 6; - - // School address which can be specified in one of the following formats. - // (1) City, state, code, country, for example, Mountain View, CA, USA. - // (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - // (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403 - string address = 7; - - // Contextual keywords, for example, Nursing certification, Health, Mountain - // View. - repeated string contextual_keywords = 8; - - // Android deep link, for example, - // android-app://com.example.android/http/example.com/gizmos?1234. - string android_app_link = 9; - - // Similar program IDs. - repeated string similar_program_ids = 10; - - // iOS deep link, for example, exampleApp://content/page. - string ios_app_link = 11; - - // iOS app store ID. This is used to check if the user has the app installed - // on their device before deep linking. If this field is set, then the - // ios_app_link field must also be present. - int64 ios_app_store_id = 12; - - // Thumbnail image url, for example, http://www.example.com/thumbnail.png. The - // thumbnail image will not be uploaded as image asset. - string thumbnail_image_url = 13; - - // Image url, for example, http://www.example.com/image.png. The image will - // not be uploaded as image asset. - string image_url = 14; -} - -// An asset representing a mobile app. -message MobileAppAsset { - // Required. A string that uniquely identifies a mobile application. It should just - // contain the platform native id, like "com.android.ebay" for Android or - // "12345689" for iOS. - string app_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The application store that distributes this specific app. - google.ads.googleads.v11.enums.MobileAppVendorEnum.MobileAppVendor app_store = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. The visible text displayed when the link is rendered in an ad. - // The length of this string should be between 1 and 25, inclusive. - string link_text = 3 [(google.api.field_behavior) = REQUIRED]; - - // Start date of when this asset is effective and can begin serving, in - // yyyy-MM-dd format. - string start_date = 4; - - // Last date of when this asset is effective and still serving, in yyyy-MM-dd - // format. - string end_date = 5; -} - -// An asset representing a hotel callout. -message HotelCalloutAsset { - // Required. The text of the hotel callout asset. - // The length of this string should be between 1 and 25, inclusive. - string text = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The language of the hotel callout. - // Represented as BCP 47 language tag. - string language_code = 2 [(google.api.field_behavior) = REQUIRED]; -} - -// A Call asset. -message CallAsset { - // Required. Two-letter country code of the phone number. Examples: 'US', 'us'. - string country_code = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The advertiser's raw phone number. Examples: '1234567890', '(123)456-7890' - string phone_number = 2 [(google.api.field_behavior) = REQUIRED]; - - // Indicates whether this CallAsset should use its own call conversion - // setting, follow the account level setting, or disable call conversion. - google.ads.googleads.v11.enums.CallConversionReportingStateEnum.CallConversionReportingState call_conversion_reporting_state = 3; - - // The conversion action to attribute a call conversion to. If not set, the - // default conversion action is used. This field only has effect if - // call_conversion_reporting_state is set to - // USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION. - string call_conversion_action = 4 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionAction" - }]; - - // List of non-overlapping schedules specifying all time intervals for which - // the asset may serve. There can be a maximum of 6 schedules per day, 42 in - // total. - repeated AdScheduleInfo ad_schedule_targets = 5; -} - -// An asset representing a list of price offers. -message PriceAsset { - // Required. The type of the price asset. - google.ads.googleads.v11.enums.PriceExtensionTypeEnum.PriceExtensionType type = 1 [(google.api.field_behavior) = REQUIRED]; - - // The price qualifier of the price asset. - google.ads.googleads.v11.enums.PriceExtensionPriceQualifierEnum.PriceExtensionPriceQualifier price_qualifier = 2; - - // Required. The language of the price asset. - // Represented as BCP 47 language tag. - string language_code = 3 [(google.api.field_behavior) = REQUIRED]; - - // The price offerings of the price asset. - // The size of this collection should be between 3 and 8, inclusive. - repeated PriceOffering price_offerings = 4; -} - -// A single price offering within a PriceAsset. -message PriceOffering { - // Required. The header of the price offering. - // The length of this string should be between 1 and 25, inclusive. - string header = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The description of the price offering. - // The length of this string should be between 1 and 25, inclusive. - string description = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. The price value of the price offering. - Money price = 3 [(google.api.field_behavior) = REQUIRED]; - - // The price unit of the price offering. - google.ads.googleads.v11.enums.PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit unit = 4; - - // Required. The final URL after all cross domain redirects. - string final_url = 5 [(google.api.field_behavior) = REQUIRED]; - - // The final mobile URL after all cross domain redirects. - string final_mobile_url = 6; -} - -// A call to action asset. -message CallToActionAsset { - // Call to action. - google.ads.googleads.v11.enums.CallToActionTypeEnum.CallToActionType call_to_action = 1; -} - -// A dynamic real estate asset. -message DynamicRealEstateAsset { - // Required. Listing ID which can be any sequence of letters and digits, and must be - // unique and match the values of remarketing tag. Required. - string listing_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. Listing name, for example, Boulevard Bungalow. Required. - string listing_name = 2 [(google.api.field_behavior) = REQUIRED]; - - // City name, for example, Mountain View, California. - string city_name = 3; - - // Description, for example, 3 beds, 2 baths, 1568 sq. ft. - string description = 4; - - // Address which can be specified in one of the following formats. - // (1) City, state, code, country, for example, Mountain View, CA, USA. - // (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - // (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403 - string address = 5; - - // Price which can be number followed by the alphabetic currency code, - // ISO 4217 standard. Use '.' as the decimal mark, for example, 200,000.00 - // USD. - string price = 6; - - // Image URL, for example, http://www.example.com/image.png. The image will - // not be uploaded as image asset. - string image_url = 7; - - // Property type, for example, House. - string property_type = 8; - - // Listing type, for example, For sale. - string listing_type = 9; - - // Contextual keywords, for example, For sale; Houses for sale. - repeated string contextual_keywords = 10; - - // Formatted price which can be any characters. If set, this attribute will be - // used instead of 'price', for example, Starting at $200,000.00. - string formatted_price = 11; - - // Android deep link, for example, - // android-app://com.example.android/http/example.com/gizmos?1234. - string android_app_link = 12; - - // iOS deep link, for example, exampleApp://content/page. - string ios_app_link = 13; - - // iOS app store ID. This is used to check if the user has the app installed - // on their device before deep linking. If this field is set, then the - // ios_app_link field must also be present. - int64 ios_app_store_id = 14; - - // Similar listing IDs. - repeated string similar_listing_ids = 15; -} - -// A dynamic custom asset. -message DynamicCustomAsset { - // Required. ID which can be any sequence of letters and digits, and must be - // unique and match the values of remarketing tag, for example, sedan. - // Required. - string id = 1 [(google.api.field_behavior) = REQUIRED]; - - // ID2 which can be any sequence of letters and digits, for example, red. ID - // sequence (ID + ID2) must be unique. - string id2 = 2; - - // Required. Item title, for example, Mid-size sedan. Required. - string item_title = 3 [(google.api.field_behavior) = REQUIRED]; - - // Item subtitle, for example, At your Mountain View dealership. - string item_subtitle = 4; - - // Item description, for example, Best selling mid-size car. - string item_description = 5; - - // Item address which can be specified in one of the following formats. - // (1) City, state, code, country, for example, Mountain View, CA, USA. - // (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - // (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403 - string item_address = 6; - - // Item category, for example, Sedans. - string item_category = 7; - - // Price which can be number followed by the alphabetic currency code, - // ISO 4217 standard. Use '.' as the decimal mark, for example, 20,000.00 USD. - string price = 8; - - // Sale price which can be number followed by the alphabetic currency code, - // ISO 4217 standard. Use '.' as the decimal mark, for example, 15,000.00 USD. - // Must be less than the 'price' field. - string sale_price = 9; - - // Formatted price which can be any characters. If set, this attribute will be - // used instead of 'price', for example, Starting at $20,000.00. - string formatted_price = 10; - - // Formatted sale price which can be any characters. If set, this attribute - // will be used instead of 'sale price', for example, On sale for $15,000.00. - string formatted_sale_price = 11; - - // Image URL, for example, http://www.example.com/image.png. The image will - // not be uploaded as image asset. - string image_url = 12; - - // Contextual keywords, for example, Sedans, 4 door sedans. - repeated string contextual_keywords = 13; - - // Android deep link, for example, - // android-app://com.example.android/http/example.com/gizmos?1234. - string android_app_link = 14; - - // iOS deep link, for example, exampleApp://content/page. - string ios_app_link = 16; - - // iOS app store ID. This is used to check if the user has the app installed - // on their device before deep linking. If this field is set, then the - // ios_app_link field must also be present. - int64 ios_app_store_id = 17; - - // Similar IDs. - repeated string similar_ids = 15; -} - -// A dynamic hotels and rentals asset. -message DynamicHotelsAndRentalsAsset { - // Required. Property ID which can be any sequence of letters and digits, and must be - // unique and match the values of remarketing tag. Required. - string property_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. Property name, for example, Mountain View Hotel. Required. - string property_name = 2 [(google.api.field_behavior) = REQUIRED]; - - // Image URL, for example, http://www.example.com/image.png. The image will - // not be uploaded as image asset. - string image_url = 3; - - // Destination name, for example, Downtown Mountain View. - string destination_name = 4; - - // Description, for example, Close to SJC Airport. - string description = 5; - - // Price which can be number followed by the alphabetic currency code, - // ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD. - string price = 6; - - // ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 USD. - // Must be less than the 'price' field. - string sale_price = 7; - - // Star rating. Must be a number between 1 to 5, inclusive. - int64 star_rating = 8; - - // Category, for example, Hotel suite. - string category = 9; - - // Contextual keywords, for example, Mountain View "Hotels", South Bay hotels. - repeated string contextual_keywords = 10; - - // Address which can be specified in one of the following formats. - // (1) City, state, code, country, for example, Mountain View, CA, USA. - // (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - // (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403 - string address = 11; - - // Android deep link, for example, - // android-app://com.example.android/http/example.com/gizmos?1234. - string android_app_link = 12; - - // iOS deep link, for example, exampleApp://content/page. - string ios_app_link = 13; - - // iOS app store ID. This is used to check if the user has the app installed - // on their device before deep linking. If this field is set, then the - // ios_app_link field must also be present. - int64 ios_app_store_id = 14; - - // Formatted price which can be any characters. If set, this attribute will be - // used instead of 'price', for example, Starting at $100.00. - string formatted_price = 15; - - // Formatted sale price which can be any characters. If set, this attribute - // will be used instead of 'sale price', for example, On sale for $80.00. - string formatted_sale_price = 16; - - // Similar property IDs. - repeated string similar_property_ids = 17; -} - -// A dynamic flights asset. -message DynamicFlightsAsset { - // Required. Destination ID which can be any sequence of letters and digits, and must be - // unique and match the values of remarketing tag. Required. - string destination_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Origin ID which can be any sequence of letters and digits. The ID sequence - // (destination ID + origin ID) must be unique. - string origin_id = 2; - - // Required. Flight description, for example, Book your ticket. Required. - string flight_description = 3 [(google.api.field_behavior) = REQUIRED]; - - // Image URL, for example, http://www.example.com/image.png. The image will - // not be uploaded as image asset. - string image_url = 4; - - // Destination name, for example, Paris. - string destination_name = 5; - - // Origin name, for example, London. - string origin_name = 6; - - // Flight price which can be number followed by the alphabetic currency code, - // ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD. - string flight_price = 7; - - // Flight sale price which can be number followed by the alphabetic currency - // code, ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 - // USD. Must be less than the 'flight_price' field. - string flight_sale_price = 8; - - // Formatted price which can be any characters. If set, this attribute will be - // used instead of 'price', for example, Starting at $100.00. - string formatted_price = 9; - - // Formatted sale price which can be any characters. If set, this attribute - // will be used instead of 'sale price', for example, On sale for $80.00. - string formatted_sale_price = 10; - - // Android deep link, for example, - // android-app://com.example.android/http/example.com/gizmos?1234. - string android_app_link = 11; - - // iOS deep link, for example, exampleApp://content/page. - string ios_app_link = 12; - - // iOS app store ID. This is used to check if the user has the app installed - // on their device before deep linking. If this field is set, then the - // ios_app_link field must also be present. - int64 ios_app_store_id = 13; - - // Similar destination IDs, for example, PAR,LON. - repeated string similar_destination_ids = 14; - - // A custom field which can be multiple key to values mapping separated by - // delimiters (",", "|" and ":"), in the forms of - // ": , , ... , | : , ... - // , | ... | : , ... ," for example, wifi: - // most | aircraft: 320, 77W | flights: 42 | legroom: 32". - string custom_mapping = 15; -} - -// A Discovery Carousel Card asset. -message DiscoveryCarouselCardAsset { - // Asset resource name of the associated 1.91:1 marketing image. This and/or - // square marketing image asset is required. - string marketing_image_asset = 1; - - // Asset resource name of the associated square marketing image. This - // and/or a marketing image asset is required. - string square_marketing_image_asset = 2; - - // Asset resource name of the associated 4:5 portrait marketing image. - string portrait_marketing_image_asset = 3; - - // Required. Headline of the carousel card. - string headline = 4 [(google.api.field_behavior) = REQUIRED]; - - // Call to action text. - string call_to_action_text = 5; -} - -// A dynamic travel asset. -message DynamicTravelAsset { - // Required. Destination ID which can be any sequence of letters and digits, and must be - // unique and match the values of remarketing tag. Required. - string destination_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Origin ID which can be any sequence of letters and digits. The ID sequence - // (destination ID + origin ID) must be unique. - string origin_id = 2; - - // Required. Title, for example, Book your train ticket. Required. - string title = 3 [(google.api.field_behavior) = REQUIRED]; - - // Destination name, for example, Paris. - string destination_name = 4; - - // Destination address which can be specified in one of the following formats. - // (1) City, state, code, country, for example, Mountain View, CA, USA. - // (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - // (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403. - string destination_address = 5; - - // Origin name, for example, London. - string origin_name = 6; - - // Price which can be a number followed by the alphabetic currency code, - // ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD. - string price = 7; - - // Sale price which can be a number followed by the alphabetic currency - // code, ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 - // USD. Must be less than the 'price' field. - string sale_price = 8; - - // Formatted price which can be any characters. If set, this attribute will be - // used instead of 'price', for example, Starting at $100.00. - string formatted_price = 9; - - // Formatted sale price which can be any characters. If set, this attribute - // will be used instead of 'sale price', for example, On sale for $80.00. - string formatted_sale_price = 10; - - // Category, for example, Express. - string category = 11; - - // Contextual keywords, for example, Paris trains. - repeated string contextual_keywords = 12; - - // Similar destination IDs, for example, NYC. - repeated string similar_destination_ids = 13; - - // Image URL, for example, http://www.example.com/image.png. The image will - // not be uploaded as image asset. - string image_url = 14; - - // Android deep link, for example, - // android-app://com.example.android/http/example.com/gizmos?1234. - string android_app_link = 15; - - // iOS deep link, for example, exampleApp://content/page. - string ios_app_link = 16; - - // iOS app store ID. This is used to check if the user has the app installed - // on their device before deep linking. If this field is set, then the - // ios_app_link field must also be present. - int64 ios_app_store_id = 17; -} - -// A dynamic local asset. -message DynamicLocalAsset { - // Required. Deal ID which can be any sequence of letters and digits, and must be - // unique and match the values of remarketing tag. Required. - string deal_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. Deal name, for example, 50% off at Mountain View Grocers. Required. - string deal_name = 2 [(google.api.field_behavior) = REQUIRED]; - - // Subtitle, for example, Groceries. - string subtitle = 3; - - // Description, for example, Save on your weekly bill. - string description = 4; - - // Price which can be a number followed by the alphabetic currency code, - // ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD. - string price = 5; - - // Sale price which can be number followed by the alphabetic currency code, - // ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 USD. - // Must be less than the 'price' field. - string sale_price = 6; - - // Image URL, for example, http://www.example.com/image.png. The image will - // not be uploaded as image asset. - string image_url = 7; - - // Address which can be specified in one of the following formats. - // (1) City, state, code, country, for example, Mountain View, CA, USA. - // (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - // (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403. - string address = 8; - - // Category, for example, Food. - string category = 9; - - // Contextual keywords, for example, Save groceries coupons. - repeated string contextual_keywords = 10; - - // Formatted price which can be any characters. If set, this attribute will be - // used instead of 'price', for example, Starting at $100.00. - string formatted_price = 11; - - // Formatted sale price which can be any characters. If set, this attribute - // will be used instead of 'sale price', for example, On sale for $80.00. - string formatted_sale_price = 12; - - // Android deep link, for example, - // android-app://com.example.android/http/example.com/gizmos?1234. - string android_app_link = 13; - - // Similar deal IDs, for example, 1275. - repeated string similar_deal_ids = 14; - - // iOS deep link, for example, exampleApp://content/page. - string ios_app_link = 15; - - // iOS app store ID. This is used to check if the user has the app installed - // on their device before deep linking. If this field is set, then the - // ios_app_link field must also be present. - int64 ios_app_store_id = 16; -} - -// A dynamic jobs asset. -message DynamicJobsAsset { - // Required. Job ID which can be any sequence of letters and digits, and must be - // unique and match the values of remarketing tag. Required. - string job_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Location ID which can be any sequence of letters and digits. The ID - // sequence (job ID + location ID) must be unique. - string location_id = 2; - - // Required. Job title, for example, Software engineer. Required. - string job_title = 3 [(google.api.field_behavior) = REQUIRED]; - - // Job subtitle, for example, Level II. - string job_subtitle = 4; - - // Description, for example, Apply your technical skills. - string description = 5; - - // Image URL, for example, http://www.example.com/image.png. The image will - // not be uploaded as image asset. - string image_url = 6; - - // Job category, for example, Technical. - string job_category = 7; - - // Contextual keywords, for example, Software engineering job. - repeated string contextual_keywords = 8; - - // Address which can be specified in one of the following formats. - // (1) City, state, code, country, for example, Mountain View, CA, USA. - // (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - // (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403. - string address = 9; - - // Salary, for example, $100,000. - string salary = 10; - - // Android deep link, for example, - // android-app://com.example.android/http/example.com/gizmos?1234. - string android_app_link = 11; - - // Similar job IDs, for example, 1275. - repeated string similar_job_ids = 12; - - // iOS deep link, for example, exampleApp://content/page. - string ios_app_link = 13; - - // iOS app store ID. This is used to check if the user has the app installed - // on their device before deep linking. If this field is set, then the - // ios_app_link field must also be present. - int64 ios_app_store_id = 14; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/common/asset_usage.proto b/third_party/googleapis/google/ads/googleads/v11/common/asset_usage.proto deleted file mode 100644 index abd1a335c..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/common/asset_usage.proto +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.common; - -import "google/ads/googleads/v11/enums/served_asset_field_type.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/common;common"; -option java_multiple_files = true; -option java_outer_classname = "AssetUsageProto"; -option java_package = "com.google.ads.googleads.v11.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V11::Common"; - -// Proto file describing asset usage. - -// Contains the usage information of the asset. -message AssetUsage { - // Resource name of the asset. - string asset = 1; - - // The served field type of the asset. - google.ads.googleads.v11.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType served_asset_field_type = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/common/audiences.proto b/third_party/googleapis/google/ads/googleads/v11/common/audiences.proto deleted file mode 100644 index 709f0d001..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/common/audiences.proto +++ /dev/null @@ -1,173 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.common; - -import "google/ads/googleads/v11/enums/gender_type.proto"; -import "google/ads/googleads/v11/enums/income_range_type.proto"; -import "google/ads/googleads/v11/enums/parental_status_type.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/common;common"; -option java_multiple_files = true; -option java_outer_classname = "AudiencesProto"; -option java_package = "com.google.ads.googleads.v11.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V11::Common"; - -// Positive dimension specifying user's audience. -message AudienceDimension { - // Dimension specifying users who belong to the audience. - oneof dimension { - // Dimension specifying users by their age. - AgeDimension age = 1; - - // Dimension specifying users by their gender. - GenderDimension gender = 2; - - // Dimension specifying users by their household income. - HouseholdIncomeDimension household_income = 3; - - // Dimension specifying users by their parental status. - ParentalStatusDimension parental_status = 4; - - // Dimension specifying users by their membership in other audience - // segments. - AudienceSegmentDimension audience_segments = 5; - } -} - -// Negative dimension specifying users to exclude from the audience. -message AudienceExclusionDimension { - // Audience segment to be excluded. - repeated ExclusionSegment exclusions = 1; -} - -// An audience segment to be excluded from an audience. -message ExclusionSegment { - // Segment to be excluded. - oneof segment { - // User list segment to be excluded. - UserListSegment user_list = 1; - } -} - -// Dimension specifying users by their age. -message AgeDimension { - // Contiguous age range to be included in the dimension. - repeated AgeSegment age_ranges = 1; - - // Include users whose age is not determined. - optional bool include_undetermined = 2; -} - -// Contiguous age range. -message AgeSegment { - // Minimum age to include. A minimum age must be specified and must be at - // least 18. Allowed values are 18, 25, 35, 45, 55, and 65. - optional int32 min_age = 1; - - // Maximum age to include. A maximum age need not be specified. If specified, - // max_age must be greater than min_age, and allowed values are 24, 34, 44, - // 54, and 64. - optional int32 max_age = 2; -} - -// Dimension specifying users by their gender. -message GenderDimension { - // Included gender demographic segments. - repeated google.ads.googleads.v11.enums.GenderTypeEnum.GenderType genders = 1; - - // Include users whose gender is not determined. - optional bool include_undetermined = 2; -} - -// Dimension specifying users by their household income. -message HouseholdIncomeDimension { - // Included household income demographic segments. - repeated google.ads.googleads.v11.enums.IncomeRangeTypeEnum.IncomeRangeType income_ranges = 1; - - // Include users whose household income is not determined. - optional bool include_undetermined = 2; -} - -// Dimension specifying users by their parental status. -message ParentalStatusDimension { - // Included parental status demographic segments. - repeated google.ads.googleads.v11.enums.ParentalStatusTypeEnum.ParentalStatusType parental_statuses = 1; - - // Include users whose parental status is undetermined. - optional bool include_undetermined = 2; -} - -// Dimension specifying users by their membership in other audience segments. -message AudienceSegmentDimension { - // Included audience segments. Users are included if they belong to at least - // one segment. - repeated AudienceSegment segments = 1; -} - -// Positive audience segment. -message AudienceSegment { - // Positive segment. - oneof segment { - // User list segment. - UserListSegment user_list = 1; - - // Affinity or In-market segment. - UserInterestSegment user_interest = 2; - - // Live-event audience segment. - LifeEventSegment life_event = 3; - - // Detailed demographic segment. - DetailedDemographicSegment detailed_demographic = 4; - - // Custom audience segment. - CustomAudienceSegment custom_audience = 5; - } -} - -// User list segment. -message UserListSegment { - // The user list resource. - optional string user_list = 1; -} - -// User interest segment. -message UserInterestSegment { - // The user interest resource. - optional string user_interest_category = 1; -} - -// Live event segment. -message LifeEventSegment { - // The life event resource. - optional string life_event = 1; -} - -// Detailed demographic segment. -message DetailedDemographicSegment { - // The detailed demographic resource. - optional string detailed_demographic = 1; -} - -// Custom audience segment. -message CustomAudienceSegment { - // The custom audience resource. - optional string custom_audience = 1; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/common/bidding.proto b/third_party/googleapis/google/ads/googleads/v11/common/bidding.proto deleted file mode 100644 index 3658241fc..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/common/bidding.proto +++ /dev/null @@ -1,208 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.common; - -import "google/ads/googleads/v11/enums/target_impression_share_location.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/common;common"; -option java_multiple_files = true; -option java_outer_classname = "BiddingProto"; -option java_package = "com.google.ads.googleads.v11.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V11::Common"; - -// Proto file describing bidding schemes. - -// Commission is an automatic bidding strategy in which the advertiser pays a -// certain portion of the conversion value. -message Commission { - // Commission rate defines the portion of the conversion value that the - // advertiser will be billed. A commission rate of x should be passed into - // this field as (x * 1,000,000). For example, 106,000 represents a commission - // rate of 0.106 (10.6%). - optional int64 commission_rate_micros = 2; -} - -// An automated bidding strategy that raises bids for clicks -// that seem more likely to lead to a conversion and lowers -// them for clicks where they seem less likely. -// -// This bidding strategy is deprecated and cannot be created anymore. Use -// ManualCpc with enhanced_cpc_enabled set to true for equivalent functionality. -message EnhancedCpc { - -} - -// Manual bidding strategy that allows advertiser to set the bid per -// advertiser-specified action. -message ManualCpa { - -} - -// Manual click-based bidding where user pays per click. -message ManualCpc { - // Whether bids are to be enhanced based on conversion optimizer data. - optional bool enhanced_cpc_enabled = 2; -} - -// Manual impression-based bidding where user pays per thousand impressions. -message ManualCpm { - -} - -// View based bidding where user pays per video view. -message ManualCpv { - -} - -// An automated bidding strategy to help get the most conversions for your -// campaigns while spending your budget. -message MaximizeConversions { - // Maximum bid limit that can be set by the bid strategy. - // The limit applies to all keywords managed by the strategy. - // Mutable for portfolio bidding strategies only. - int64 cpc_bid_ceiling_micros = 2; - - // Minimum bid limit that can be set by the bid strategy. - // The limit applies to all keywords managed by the strategy. - // Mutable for portfolio bidding strategies only. - int64 cpc_bid_floor_micros = 3; - - // The target cost-per-action (CPA) option. This is the average amount that - // you would like to spend per conversion action specified in micro units of - // the bidding strategy's currency. If set, the bid strategy will get as many - // conversions as possible at or below the target cost-per-action. If the - // target CPA is not set, the bid strategy will aim to achieve the lowest - // possible CPA given the budget. - int64 target_cpa_micros = 4; -} - -// An automated bidding strategy to help get the most conversion value for your -// campaigns while spending your budget. -message MaximizeConversionValue { - // The target return on ad spend (ROAS) option. If set, the bid strategy will - // maximize revenue while averaging the target return on ad spend. If the - // target ROAS is high, the bid strategy may not be able to spend the full - // budget. If the target ROAS is not set, the bid strategy will aim to - // achieve the highest possible ROAS for the budget. - double target_roas = 2; - - // Maximum bid limit that can be set by the bid strategy. - // The limit applies to all keywords managed by the strategy. - // Mutable for portfolio bidding strategies only. - int64 cpc_bid_ceiling_micros = 3; - - // Minimum bid limit that can be set by the bid strategy. - // The limit applies to all keywords managed by the strategy. - // Mutable for portfolio bidding strategies only. - int64 cpc_bid_floor_micros = 4; -} - -// An automated bid strategy that sets bids to help get as many conversions as -// possible at the target cost-per-acquisition (CPA) you set. -message TargetCpa { - // Average CPA target. - // This target should be greater than or equal to minimum billable unit based - // on the currency for the account. - optional int64 target_cpa_micros = 4; - - // Maximum bid limit that can be set by the bid strategy. - // The limit applies to all keywords managed by the strategy. - // This should only be set for portfolio bid strategies. - optional int64 cpc_bid_ceiling_micros = 5; - - // Minimum bid limit that can be set by the bid strategy. - // The limit applies to all keywords managed by the strategy. - // This should only be set for portfolio bid strategies. - optional int64 cpc_bid_floor_micros = 6; -} - -// Target CPM (cost per thousand impressions) is an automated bidding strategy -// that sets bids to optimize performance given the target CPM you set. -message TargetCpm { - -} - -// An automated bidding strategy that sets bids so that a certain percentage of -// search ads are shown at the top of the first page (or other targeted -// location). -message TargetImpressionShare { - // The targeted location on the search results page. - google.ads.googleads.v11.enums.TargetImpressionShareLocationEnum.TargetImpressionShareLocation location = 1; - - // The chosen fraction of ads to be shown in the targeted location in micros. - // For example, 1% equals 10,000. - optional int64 location_fraction_micros = 4; - - // The highest CPC bid the automated bidding system is permitted to specify. - // This is a required field entered by the advertiser that sets the ceiling - // and specified in local micros. - optional int64 cpc_bid_ceiling_micros = 5; -} - -// An automated bidding strategy that helps you maximize revenue while -// averaging a specific target return on ad spend (ROAS). -message TargetRoas { - // Required. The chosen revenue (based on conversion data) per unit of spend. - // Value must be between 0.01 and 1000.0, inclusive. - optional double target_roas = 4; - - // Maximum bid limit that can be set by the bid strategy. - // The limit applies to all keywords managed by the strategy. - // This should only be set for portfolio bid strategies. - optional int64 cpc_bid_ceiling_micros = 5; - - // Minimum bid limit that can be set by the bid strategy. - // The limit applies to all keywords managed by the strategy. - // This should only be set for portfolio bid strategies. - optional int64 cpc_bid_floor_micros = 6; -} - -// An automated bid strategy that sets your bids to help get as many clicks -// as possible within your budget. -message TargetSpend { - // The spend target under which to maximize clicks. - // A TargetSpend bidder will attempt to spend the smaller of this value - // or the natural throttling spend amount. - // If not specified, the budget is used as the spend target. - // This field is deprecated and should no longer be used. See - // https://ads-developers.googleblog.com/2020/05/reminder-about-sunset-creation-of.html - // for details. - optional int64 target_spend_micros = 3 [deprecated = true]; - - // Maximum bid limit that can be set by the bid strategy. - // The limit applies to all keywords managed by the strategy. - optional int64 cpc_bid_ceiling_micros = 4; -} - -// A bidding strategy where bids are a fraction of the advertised price for -// some good or service. -message PercentCpc { - // Maximum bid limit that can be set by the bid strategy. This is - // an optional field entered by the advertiser and specified in local micros. - // Note: A zero value is interpreted in the same way as having bid_ceiling - // undefined. - optional int64 cpc_bid_ceiling_micros = 3; - - // Adjusts the bid for each auction upward or downward, depending on the - // likelihood of a conversion. Individual bids may exceed - // cpc_bid_ceiling_micros, but the average bid amount for a campaign should - // not. - optional bool enhanced_cpc_enabled = 4; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/common/click_location.proto b/third_party/googleapis/google/ads/googleads/v11/common/click_location.proto deleted file mode 100644 index 11147bdcf..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/common/click_location.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.common; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/common;common"; -option java_multiple_files = true; -option java_outer_classname = "ClickLocationProto"; -option java_package = "com.google.ads.googleads.v11.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V11::Common"; - -// Proto file describing a ClickLocation. - -// Location criteria associated with a click. -message ClickLocation { - // The city location criterion associated with the impression. - optional string city = 6; - - // The country location criterion associated with the impression. - optional string country = 7; - - // The metro location criterion associated with the impression. - optional string metro = 8; - - // The most specific location criterion associated with the impression. - optional string most_specific = 9; - - // The region location criterion associated with the impression. - optional string region = 10; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/common/criteria.proto b/third_party/googleapis/google/ads/googleads/v11/common/criteria.proto deleted file mode 100644 index f2b30fbeb..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/common/criteria.proto +++ /dev/null @@ -1,698 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.common; - -import "google/ads/googleads/v11/enums/age_range_type.proto"; -import "google/ads/googleads/v11/enums/app_payment_model_type.proto"; -import "google/ads/googleads/v11/enums/content_label_type.proto"; -import "google/ads/googleads/v11/enums/day_of_week.proto"; -import "google/ads/googleads/v11/enums/device.proto"; -import "google/ads/googleads/v11/enums/gender_type.proto"; -import "google/ads/googleads/v11/enums/hotel_date_selection_type.proto"; -import "google/ads/googleads/v11/enums/income_range_type.proto"; -import "google/ads/googleads/v11/enums/interaction_type.proto"; -import "google/ads/googleads/v11/enums/keyword_match_type.proto"; -import "google/ads/googleads/v11/enums/listing_group_type.proto"; -import "google/ads/googleads/v11/enums/location_group_radius_units.proto"; -import "google/ads/googleads/v11/enums/minute_of_hour.proto"; -import "google/ads/googleads/v11/enums/parental_status_type.proto"; -import "google/ads/googleads/v11/enums/preferred_content_type.proto"; -import "google/ads/googleads/v11/enums/product_bidding_category_level.proto"; -import "google/ads/googleads/v11/enums/product_channel.proto"; -import "google/ads/googleads/v11/enums/product_channel_exclusivity.proto"; -import "google/ads/googleads/v11/enums/product_condition.proto"; -import "google/ads/googleads/v11/enums/product_custom_attribute_index.proto"; -import "google/ads/googleads/v11/enums/product_type_level.proto"; -import "google/ads/googleads/v11/enums/proximity_radius_units.proto"; -import "google/ads/googleads/v11/enums/webpage_condition_operand.proto"; -import "google/ads/googleads/v11/enums/webpage_condition_operator.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/common;common"; -option java_multiple_files = true; -option java_outer_classname = "CriteriaProto"; -option java_package = "com.google.ads.googleads.v11.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V11::Common"; - -// Proto file describing criteria types. - -// A keyword criterion. -message KeywordInfo { - // The text of the keyword (at most 80 characters and 10 words). - optional string text = 3; - - // The match type of the keyword. - google.ads.googleads.v11.enums.KeywordMatchTypeEnum.KeywordMatchType match_type = 2; -} - -// A placement criterion. This can be used to modify bids for sites when -// targeting the content network. -message PlacementInfo { - // URL of the placement. - // - // For example, "http://www.domain.com". - optional string url = 2; -} - -// A mobile app category criterion. -message MobileAppCategoryInfo { - // The mobile app category constant resource name. - optional string mobile_app_category_constant = 2; -} - -// A mobile application criterion. -message MobileApplicationInfo { - // A string that uniquely identifies a mobile application to Google Ads API. - // The format of this string is "{platform}-{platform_native_id}", where - // platform is "1" for iOS apps and "2" for Android apps, and where - // platform_native_id is the mobile application identifier native to the - // corresponding platform. - // For iOS, this native identifier is the 9 digit string that appears at the - // end of an App Store URL (for example, "476943146" for "Flood-It! 2" whose - // App Store link is - // "http://itunes.apple.com/us/app/flood-it!-2/id476943146"). For Android, - // this native identifier is the application's package name (for example, - // "com.labpixies.colordrips" for "Color Drips" given Google Play link - // "https://play.google.com/store/apps/details?id=com.labpixies.colordrips"). - // A well formed app id for Google Ads API would thus be "1-476943146" for iOS - // and "2-com.labpixies.colordrips" for Android. - // This field is required and must be set in CREATE operations. - optional string app_id = 4; - - // Name of this mobile application. - optional string name = 5; -} - -// A location criterion. -message LocationInfo { - // The geo target constant resource name. - optional string geo_target_constant = 2; -} - -// A device criterion. -message DeviceInfo { - // Type of the device. - google.ads.googleads.v11.enums.DeviceEnum.Device type = 1; -} - -// A preferred content criterion. -message PreferredContentInfo { - // Type of the preferred content. - google.ads.googleads.v11.enums.PreferredContentTypeEnum.PreferredContentType type = 2; -} - -// A listing group criterion. -message ListingGroupInfo { - // Type of the listing group. - google.ads.googleads.v11.enums.ListingGroupTypeEnum.ListingGroupType type = 1; - - // Dimension value with which this listing group is refining its parent. - // Undefined for the root group. - ListingDimensionInfo case_value = 2; - - // Resource name of ad group criterion which is the parent listing group - // subdivision. Null for the root group. - optional string parent_ad_group_criterion = 4; -} - -// A listing scope criterion. -message ListingScopeInfo { - // Scope of the campaign criterion. - repeated ListingDimensionInfo dimensions = 2; -} - -// Listing dimensions for listing group criterion. -message ListingDimensionInfo { - // Dimension of one of the types below is always present. - oneof dimension { - // Advertiser-specific hotel ID. - HotelIdInfo hotel_id = 2; - - // Class of the hotel as a number of stars 1 to 5. - HotelClassInfo hotel_class = 3; - - // Country or Region the hotel is located in. - HotelCountryRegionInfo hotel_country_region = 4; - - // State the hotel is located in. - HotelStateInfo hotel_state = 5; - - // City the hotel is located in. - HotelCityInfo hotel_city = 6; - - // Bidding category of a product offer. - ProductBiddingCategoryInfo product_bidding_category = 13; - - // Brand of a product offer. - ProductBrandInfo product_brand = 15; - - // Locality of a product offer. - ProductChannelInfo product_channel = 8; - - // Availability of a product offer. - ProductChannelExclusivityInfo product_channel_exclusivity = 9; - - // Condition of a product offer. - ProductConditionInfo product_condition = 10; - - // Custom attribute of a product offer. - ProductCustomAttributeInfo product_custom_attribute = 16; - - // Item id of a product offer. - ProductItemIdInfo product_item_id = 11; - - // Type of a product offer. - ProductTypeInfo product_type = 12; - - // Grouping of a product offer. - ProductGroupingInfo product_grouping = 17; - - // Labels of a product offer. - ProductLabelsInfo product_labels = 18; - - // Legacy condition of a product offer. - ProductLegacyConditionInfo product_legacy_condition = 19; - - // Full type of a product offer. - ProductTypeFullInfo product_type_full = 20; - - // Unknown dimension. Set when no other listing dimension is set. - UnknownListingDimensionInfo unknown_listing_dimension = 14; - } -} - -// Advertiser-specific hotel ID. -message HotelIdInfo { - // String value of the hotel ID. - optional string value = 2; -} - -// Class of the hotel as a number of stars 1 to 5. -message HotelClassInfo { - // Long value of the hotel class. - optional int64 value = 2; -} - -// Country or Region the hotel is located in. -message HotelCountryRegionInfo { - // The Geo Target Constant resource name. - optional string country_region_criterion = 2; -} - -// State the hotel is located in. -message HotelStateInfo { - // The Geo Target Constant resource name. - optional string state_criterion = 2; -} - -// City the hotel is located in. -message HotelCityInfo { - // The Geo Target Constant resource name. - optional string city_criterion = 2; -} - -// Bidding category of a product offer. -message ProductBiddingCategoryInfo { - // ID of the product bidding category. - // - // This ID is equivalent to the google_product_category ID as described in - // this article: https://support.google.com/merchants/answer/6324436 - optional int64 id = 4; - - // Two-letter upper-case country code of the product bidding category. It must - // match the campaign.shopping_setting.sales_country field. - optional string country_code = 5; - - // Level of the product bidding category. - google.ads.googleads.v11.enums.ProductBiddingCategoryLevelEnum.ProductBiddingCategoryLevel level = 3; -} - -// Brand of the product. -message ProductBrandInfo { - // String value of the product brand. - optional string value = 2; -} - -// Locality of a product offer. -message ProductChannelInfo { - // Value of the locality. - google.ads.googleads.v11.enums.ProductChannelEnum.ProductChannel channel = 1; -} - -// Availability of a product offer. -message ProductChannelExclusivityInfo { - // Value of the availability. - google.ads.googleads.v11.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity channel_exclusivity = 1; -} - -// Condition of a product offer. -message ProductConditionInfo { - // Value of the condition. - google.ads.googleads.v11.enums.ProductConditionEnum.ProductCondition condition = 1; -} - -// Custom attribute of a product offer. -message ProductCustomAttributeInfo { - // String value of the product custom attribute. - optional string value = 3; - - // Indicates the index of the custom attribute. - google.ads.googleads.v11.enums.ProductCustomAttributeIndexEnum.ProductCustomAttributeIndex index = 2; -} - -// Item id of a product offer. -message ProductItemIdInfo { - // Value of the id. - optional string value = 2; -} - -// Type of a product offer. -message ProductTypeInfo { - // Value of the type. - optional string value = 3; - - // Level of the type. - google.ads.googleads.v11.enums.ProductTypeLevelEnum.ProductTypeLevel level = 2; -} - -// Grouping of a product offer. This listing dimension is deprecated and it is -// supported only in Display campaigns. -message ProductGroupingInfo { - // String value of the product grouping. - optional string value = 1; -} - -// Labels of a product offer. This listing dimension is deprecated and it is -// supported only in Display campaigns. -message ProductLabelsInfo { - // String value of the product labels. - optional string value = 1; -} - -// Legacy condition of a product offer. This listing dimension is deprecated and -// it is supported only in Display campaigns. -message ProductLegacyConditionInfo { - // String value of the product legacy condition. - optional string value = 1; -} - -// Full type of a product offer. This listing dimension is deprecated and it is -// supported only in Display campaigns. -message ProductTypeFullInfo { - // String value of the product full type. - optional string value = 1; -} - -// Unknown listing dimension. -message UnknownListingDimensionInfo { - -} - -// Criterion for hotel date selection (default dates versus user selected). -message HotelDateSelectionTypeInfo { - // Type of the hotel date selection - google.ads.googleads.v11.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType type = 1; -} - -// Criterion for number of days prior to the stay the booking is being made. -message HotelAdvanceBookingWindowInfo { - // Low end of the number of days prior to the stay. - optional int64 min_days = 3; - - // High end of the number of days prior to the stay. - optional int64 max_days = 4; -} - -// Criterion for length of hotel stay in nights. -message HotelLengthOfStayInfo { - // Low end of the number of nights in the stay. - optional int64 min_nights = 3; - - // High end of the number of nights in the stay. - optional int64 max_nights = 4; -} - -// Criterion for a check-in date range. -message HotelCheckInDateRangeInfo { - // Start date in the YYYY-MM-DD format. - string start_date = 1; - - // End date in the YYYY-MM-DD format. - string end_date = 2; -} - -// Criterion for day of the week the booking is for. -message HotelCheckInDayInfo { - // The day of the week. - google.ads.googleads.v11.enums.DayOfWeekEnum.DayOfWeek day_of_week = 1; -} - -// Criterion for Interaction Type. -message InteractionTypeInfo { - // The interaction type. - google.ads.googleads.v11.enums.InteractionTypeEnum.InteractionType type = 1; -} - -// Represents an AdSchedule criterion. -// -// AdSchedule is specified as the day of the week and a time interval -// within which ads will be shown. -// -// No more than six AdSchedules can be added for the same day. -message AdScheduleInfo { - // Minutes after the start hour at which this schedule starts. - // - // This field is required for CREATE operations and is prohibited on UPDATE - // operations. - google.ads.googleads.v11.enums.MinuteOfHourEnum.MinuteOfHour start_minute = 1; - - // Minutes after the end hour at which this schedule ends. The schedule is - // exclusive of the end minute. - // - // This field is required for CREATE operations and is prohibited on UPDATE - // operations. - google.ads.googleads.v11.enums.MinuteOfHourEnum.MinuteOfHour end_minute = 2; - - // Starting hour in 24 hour time. - // This field must be between 0 and 23, inclusive. - // - // This field is required for CREATE operations and is prohibited on UPDATE - // operations. - optional int32 start_hour = 6; - - // Ending hour in 24 hour time; 24 signifies end of the day. - // This field must be between 0 and 24, inclusive. - // - // This field is required for CREATE operations and is prohibited on UPDATE - // operations. - optional int32 end_hour = 7; - - // Day of the week the schedule applies to. - // - // This field is required for CREATE operations and is prohibited on UPDATE - // operations. - google.ads.googleads.v11.enums.DayOfWeekEnum.DayOfWeek day_of_week = 5; -} - -// An age range criterion. -message AgeRangeInfo { - // Type of the age range. - google.ads.googleads.v11.enums.AgeRangeTypeEnum.AgeRangeType type = 1; -} - -// A gender criterion. -message GenderInfo { - // Type of the gender. - google.ads.googleads.v11.enums.GenderTypeEnum.GenderType type = 1; -} - -// An income range criterion. -message IncomeRangeInfo { - // Type of the income range. - google.ads.googleads.v11.enums.IncomeRangeTypeEnum.IncomeRangeType type = 1; -} - -// A parental status criterion. -message ParentalStatusInfo { - // Type of the parental status. - google.ads.googleads.v11.enums.ParentalStatusTypeEnum.ParentalStatusType type = 1; -} - -// A YouTube Video criterion. -message YouTubeVideoInfo { - // YouTube video id as it appears on the YouTube watch page. - optional string video_id = 2; -} - -// A YouTube Channel criterion. -message YouTubeChannelInfo { - // The YouTube uploader channel id or the channel code of a YouTube channel. - optional string channel_id = 2; -} - -// A User List criterion. Represents a user list that is defined by the -// advertiser to be targeted. -message UserListInfo { - // The User List resource name. - optional string user_list = 2; -} - -// A Proximity criterion. The geo point and radius determine what geographical -// area is included. The address is a description of the geo point that does -// not affect ad serving. -// -// There are two ways to create a proximity. First, by setting an address -// and radius. The geo point will be automatically computed. Second, by -// setting a geo point and radius. The address is an optional label that won't -// be validated. -message ProximityInfo { - // Latitude and longitude. - GeoPointInfo geo_point = 1; - - // The radius of the proximity. - optional double radius = 5; - - // The unit of measurement of the radius. Default is KILOMETERS. - google.ads.googleads.v11.enums.ProximityRadiusUnitsEnum.ProximityRadiusUnits radius_units = 3; - - // Full address. - AddressInfo address = 4; -} - -// Geo point for proximity criterion. -message GeoPointInfo { - // Micro degrees for the longitude. - optional int32 longitude_in_micro_degrees = 3; - - // Micro degrees for the latitude. - optional int32 latitude_in_micro_degrees = 4; -} - -// Address for proximity criterion. -message AddressInfo { - // Postal code. - optional string postal_code = 8; - - // Province or state code. - optional string province_code = 9; - - // Country code. - optional string country_code = 10; - - // Province or state name. - optional string province_name = 11; - - // Street address line 1. - optional string street_address = 12; - - // Street address line 2. This field is write-only. It is only used for - // calculating the longitude and latitude of an address when geo_point is - // empty. - optional string street_address2 = 13; - - // Name of the city. - optional string city_name = 14; -} - -// A topic criterion. Use topics to target or exclude placements in the -// Google Display Network based on the category into which the placement falls -// (for example, "Pets & Animals/Pets/Dogs"). -message TopicInfo { - // The Topic Constant resource name. - optional string topic_constant = 3; - - // The category to target or exclude. Each subsequent element in the array - // describes a more specific sub-category. For example, - // "Pets & Animals", "Pets", "Dogs" represents the "Pets & Animals/Pets/Dogs" - // category. - repeated string path = 4; -} - -// A language criterion. -message LanguageInfo { - // The language constant resource name. - optional string language_constant = 2; -} - -// An IpBlock criterion used for IP exclusions. We allow: -// - IPv4 and IPv6 addresses -// - individual addresses (192.168.0.1) -// - masks for individual addresses (192.168.0.1/32) -// - masks for Class C networks (192.168.0.1/24) -message IpBlockInfo { - // The IP address of this IP block. - optional string ip_address = 2; -} - -// Content Label for category exclusion. -message ContentLabelInfo { - // Content label type, required for CREATE operations. - google.ads.googleads.v11.enums.ContentLabelTypeEnum.ContentLabelType type = 1; -} - -// Represents a Carrier Criterion. -message CarrierInfo { - // The Carrier constant resource name. - optional string carrier_constant = 2; -} - -// Represents a particular interest-based topic to be targeted. -message UserInterestInfo { - // The UserInterest resource name. - optional string user_interest_category = 2; -} - -// Represents a criterion for targeting webpages of an advertiser's website. -message WebpageInfo { - // The name of the criterion that is defined by this parameter. The name value - // will be used for identifying, sorting and filtering criteria with this type - // of parameters. - // - // This field is required for CREATE operations and is prohibited on UPDATE - // operations. - optional string criterion_name = 3; - - // Conditions, or logical expressions, for webpage targeting. The list of - // webpage targeting conditions are and-ed together when evaluated - // for targeting. An empty list of conditions indicates all pages of the - // campaign's website are targeted. - // - // This field is required for CREATE operations and is prohibited on UPDATE - // operations. - repeated WebpageConditionInfo conditions = 2; - - // Website criteria coverage percentage. This is the computed percentage - // of website coverage based on the website target, negative website target - // and negative keywords in the ad group and campaign. For instance, when - // coverage returns as 1, it indicates it has 100% coverage. This field is - // read-only. - double coverage_percentage = 4; - - // List of sample urls that match the website target. This field is read-only. - WebpageSampleInfo sample = 5; -} - -// Logical expression for targeting webpages of an advertiser's website. -message WebpageConditionInfo { - // Operand of webpage targeting condition. - google.ads.googleads.v11.enums.WebpageConditionOperandEnum.WebpageConditionOperand operand = 1; - - // Operator of webpage targeting condition. - google.ads.googleads.v11.enums.WebpageConditionOperatorEnum.WebpageConditionOperator operator = 2; - - // Argument of webpage targeting condition. - optional string argument = 4; -} - -// List of sample urls that match the website target -message WebpageSampleInfo { - // Webpage sample urls - repeated string sample_urls = 1; -} - -// Represents an operating system version to be targeted. -message OperatingSystemVersionInfo { - // The operating system version constant resource name. - optional string operating_system_version_constant = 2; -} - -// An app payment model criterion. -message AppPaymentModelInfo { - // Type of the app payment model. - google.ads.googleads.v11.enums.AppPaymentModelTypeEnum.AppPaymentModelType type = 1; -} - -// A mobile device criterion. -message MobileDeviceInfo { - // The mobile device constant resource name. - optional string mobile_device_constant = 2; -} - -// A custom affinity criterion. -// A criterion of this type is only targetable. -message CustomAffinityInfo { - // The CustomInterest resource name. - optional string custom_affinity = 2; -} - -// A custom intent criterion. -// A criterion of this type is only targetable. -message CustomIntentInfo { - // The CustomInterest resource name. - optional string custom_intent = 2; -} - -// A radius around a list of locations specified through a feed. -message LocationGroupInfo { - // Feed specifying locations for targeting. - // This is required and must be set in CREATE operations. - optional string feed = 5; - - // Geo target constant(s) restricting the scope of the geographic area within - // the feed. Currently only one geo target constant is allowed. - repeated string geo_target_constants = 6; - - // Distance in units specifying the radius around targeted locations. - // This is required and must be set in CREATE operations. - optional int64 radius = 7; - - // Unit of the radius. Miles and meters are supported for geo target - // constants. Milli miles and meters are supported for feed item sets. - // This is required and must be set in CREATE operations. - google.ads.googleads.v11.enums.LocationGroupRadiusUnitsEnum.LocationGroupRadiusUnits radius_units = 4; - - // FeedItemSets whose FeedItems are targeted. If multiple IDs are specified, - // then all items that appear in at least one set are targeted. This field - // cannot be used with geo_target_constants. This is optional and can only be - // set in CREATE operations. - repeated string feed_item_sets = 8; -} - -// A custom audience criterion. -message CustomAudienceInfo { - // The CustomAudience resource name. - string custom_audience = 1; -} - -// A combined audience criterion. -message CombinedAudienceInfo { - // The CombinedAudience resource name. - string combined_audience = 1; -} - -// An audience criterion. -message AudienceInfo { - // The Audience resource name. - string audience = 1; -} - -// A Smart Campaign keyword theme. -message KeywordThemeInfo { - // Either a predefined keyword theme constant or free-form text may be - // specified. - oneof keyword_theme { - // The resource name of a Smart Campaign keyword theme constant. - // `keywordThemeConstants/{keyword_theme_id}~{sub_keyword_theme_id}` - string keyword_theme_constant = 1; - - // Free-form text to be matched to a Smart Campaign keyword theme constant - // on a best-effort basis. - string free_form_keyword_theme = 2; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v11/common/criterion_category_availability.proto b/third_party/googleapis/google/ads/googleads/v11/common/criterion_category_availability.proto deleted file mode 100644 index 6b0dcff53..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/common/criterion_category_availability.proto +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.common; - -import "google/ads/googleads/v11/enums/advertising_channel_sub_type.proto"; -import "google/ads/googleads/v11/enums/advertising_channel_type.proto"; -import "google/ads/googleads/v11/enums/criterion_category_channel_availability_mode.proto"; -import "google/ads/googleads/v11/enums/criterion_category_locale_availability_mode.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/common;common"; -option java_multiple_files = true; -option java_outer_classname = "CriterionCategoryAvailabilityProto"; -option java_package = "com.google.ads.googleads.v11.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V11::Common"; - -// Proto file describing criterion category availability information. - -// Information of category availability, per advertising channel. -message CriterionCategoryAvailability { - // Channel types and subtypes that are available to the category. - CriterionCategoryChannelAvailability channel = 1; - - // Locales that are available to the category for the channel. - repeated CriterionCategoryLocaleAvailability locale = 2; -} - -// Information of advertising channel type and subtypes a category is available -// in. -message CriterionCategoryChannelAvailability { - // Format of the channel availability. Can be ALL_CHANNELS (the rest of the - // fields will not be set), CHANNEL_TYPE (only advertising_channel_type type - // will be set, the category is available to all sub types under it) or - // CHANNEL_TYPE_AND_SUBTYPES (advertising_channel_type, - // advertising_channel_sub_type, and include_default_channel_sub_type will all - // be set). - google.ads.googleads.v11.enums.CriterionCategoryChannelAvailabilityModeEnum.CriterionCategoryChannelAvailabilityMode availability_mode = 1; - - // Channel type the category is available to. - google.ads.googleads.v11.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_type = 2; - - // Channel subtypes under the channel type the category is available to. - repeated google.ads.googleads.v11.enums.AdvertisingChannelSubTypeEnum.AdvertisingChannelSubType advertising_channel_sub_type = 3; - - // Whether default channel sub type is included. For example, - // advertising_channel_type being DISPLAY and include_default_channel_sub_type - // being false means that the default display campaign where channel sub type - // is not set is not included in this availability configuration. - optional bool include_default_channel_sub_type = 5; -} - -// Information about which locales a category is available in. -message CriterionCategoryLocaleAvailability { - // Format of the locale availability. Can be LAUNCHED_TO_ALL (both country and - // language will be empty), COUNTRY (only country will be set), LANGUAGE (only - // language wil be set), COUNTRY_AND_LANGUAGE (both country and language will - // be set). - google.ads.googleads.v11.enums.CriterionCategoryLocaleAvailabilityModeEnum.CriterionCategoryLocaleAvailabilityMode availability_mode = 1; - - // Code of the country. - optional string country_code = 4; - - // Code of the language. - optional string language_code = 5; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/common/custom_parameter.proto b/third_party/googleapis/google/ads/googleads/v11/common/custom_parameter.proto deleted file mode 100644 index 7a2075927..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/common/custom_parameter.proto +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.common; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/common;common"; -option java_multiple_files = true; -option java_outer_classname = "CustomParameterProto"; -option java_package = "com.google.ads.googleads.v11.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V11::Common"; - -// Proto file describing CustomParameter and operation - -// A mapping that can be used by custom parameter tags in a -// `tracking_url_template`, `final_urls`, or `mobile_final_urls`. -message CustomParameter { - // The key matching the parameter tag name. - optional string key = 3; - - // The value to be substituted. - optional string value = 4; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/common/customizer_value.proto b/third_party/googleapis/google/ads/googleads/v11/common/customizer_value.proto deleted file mode 100644 index b8ed88a98..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/common/customizer_value.proto +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.common; - -import "google/ads/googleads/v11/enums/customizer_attribute_type.proto"; -import "google/api/field_behavior.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/common;common"; -option java_multiple_files = true; -option java_outer_classname = "CustomizerValueProto"; -option java_package = "com.google.ads.googleads.v11.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V11::Common"; - -// Proto file describing common customizer value proto messages. - -// A customizer value that is referenced in customizer linkage entities -// like CustomerCustomizer, CampaignCustomizer, etc. -message CustomizerValue { - // Required. The data type for the customizer value. It must match the attribute type. - // The string_value content must match the constraints associated with the - // type. - google.ads.googleads.v11.enums.CustomizerAttributeTypeEnum.CustomizerAttributeType type = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. Value to insert in creative text. Customizer values of all types are stored - // as string to make formatting unambiguous. - string string_value = 2 [(google.api.field_behavior) = REQUIRED]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/common/dates.proto b/third_party/googleapis/google/ads/googleads/v11/common/dates.proto deleted file mode 100644 index 33e2484ab..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/common/dates.proto +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.common; - -import "google/ads/googleads/v11/enums/month_of_year.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/common;common"; -option java_multiple_files = true; -option java_outer_classname = "DatesProto"; -option java_package = "com.google.ads.googleads.v11.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V11::Common"; - -// Proto file describing date range message. - -// A date range. -message DateRange { - // The start date, in yyyy-mm-dd format. This date is inclusive. - optional string start_date = 3; - - // The end date, in yyyy-mm-dd format. This date is inclusive. - optional string end_date = 4; -} - -// The year month range inclusive of the start and end months. -// Eg: A year month range to represent Jan 2020 would be: (Jan 2020, Jan 2020). -message YearMonthRange { - // The inclusive start year month. - YearMonth start = 1; - - // The inclusive end year month. - YearMonth end = 2; -} - -// Year month. -message YearMonth { - // The year (for example, 2020). - int64 year = 1; - - // The month of the year. (for example, FEBRUARY). - google.ads.googleads.v11.enums.MonthOfYearEnum.MonthOfYear month = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/common/explorer_auto_optimizer_setting.proto b/third_party/googleapis/google/ads/googleads/v11/common/explorer_auto_optimizer_setting.proto deleted file mode 100644 index c2c020ce5..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/common/explorer_auto_optimizer_setting.proto +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.common; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/common;common"; -option java_multiple_files = true; -option java_outer_classname = "ExplorerAutoOptimizerSettingProto"; -option java_package = "com.google.ads.googleads.v11.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V11::Common"; - -// Proto file describing ExplorerAutoOptimizerSetting - -// Settings for the Display Campaign Optimizer, initially named "Explorer". -// Learn more about -// [automatic targeting](https://support.google.com/google-ads/answer/190596). -message ExplorerAutoOptimizerSetting { - // Indicates whether the optimizer is turned on. - optional bool opt_in = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/common/extensions.proto b/third_party/googleapis/google/ads/googleads/v11/common/extensions.proto deleted file mode 100644 index 46a6d9ea3..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/common/extensions.proto +++ /dev/null @@ -1,367 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.common; - -import "google/ads/googleads/v11/common/custom_parameter.proto"; -import "google/ads/googleads/v11/common/feed_common.proto"; -import "google/ads/googleads/v11/enums/app_store.proto"; -import "google/ads/googleads/v11/enums/call_conversion_reporting_state.proto"; -import "google/ads/googleads/v11/enums/price_extension_price_qualifier.proto"; -import "google/ads/googleads/v11/enums/price_extension_price_unit.proto"; -import "google/ads/googleads/v11/enums/price_extension_type.proto"; -import "google/ads/googleads/v11/enums/promotion_extension_discount_modifier.proto"; -import "google/ads/googleads/v11/enums/promotion_extension_occasion.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/common;common"; -option java_multiple_files = true; -option java_outer_classname = "ExtensionsProto"; -option java_package = "com.google.ads.googleads.v11.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V11::Common"; - -// Proto file describing extension types. - -// Represents an App extension. -message AppFeedItem { - // The visible text displayed when the link is rendered in an ad. - // This string must not be empty, and the length of this string should - // be between 1 and 25, inclusive. - optional string link_text = 9; - - // The store-specific ID for the target application. - // This string must not be empty. - optional string app_id = 10; - - // The application store that the target application belongs to. - // This field is required. - google.ads.googleads.v11.enums.AppStoreEnum.AppStore app_store = 3; - - // A list of possible final URLs after all cross domain redirects. - // This list must not be empty. - repeated string final_urls = 11; - - // A list of possible final mobile URLs after all cross domain redirects. - repeated string final_mobile_urls = 12; - - // URL template for constructing a tracking URL. Default value is "{lpurl}". - optional string tracking_url_template = 13; - - // A list of mappings to be used for substituting URL custom parameter tags in - // the tracking_url_template, final_urls, and/or final_mobile_urls. - repeated CustomParameter url_custom_parameters = 7; - - // URL template for appending params to landing page URLs served with parallel - // tracking. - optional string final_url_suffix = 14; -} - -// Represents a Call extension. -message CallFeedItem { - // The advertiser's phone number to append to the ad. - // This string must not be empty. - optional string phone_number = 7; - - // Uppercase two-letter country code of the advertiser's phone number. - // This string must not be empty. - optional string country_code = 8; - - // Indicates whether call tracking is enabled. By default, call tracking is - // not enabled. - optional bool call_tracking_enabled = 9; - - // The conversion action to attribute a call conversion to. If not set a - // default conversion action is used. This field only has effect if - // call_tracking_enabled is set to true. Otherwise this field is ignored. - optional string call_conversion_action = 10; - - // If true, disable call conversion tracking. call_conversion_action should - // not be set if this is true. Optional. - optional bool call_conversion_tracking_disabled = 11; - - // Enum value that indicates whether this call extension uses its own call - // conversion setting (or just have call conversion disabled), or following - // the account level setting. - google.ads.googleads.v11.enums.CallConversionReportingStateEnum.CallConversionReportingState call_conversion_reporting_state = 6; -} - -// Represents a callout extension. -message CalloutFeedItem { - // The callout text. - // The length of this string should be between 1 and 25, inclusive. - optional string callout_text = 2; -} - -// Represents a location extension. -message LocationFeedItem { - // The name of the business. - optional string business_name = 9; - - // Line 1 of the business address. - optional string address_line_1 = 10; - - // Line 2 of the business address. - optional string address_line_2 = 11; - - // City of the business address. - optional string city = 12; - - // Province of the business address. - optional string province = 13; - - // Postal code of the business address. - optional string postal_code = 14; - - // Country code of the business address. - optional string country_code = 15; - - // Phone number of the business. - optional string phone_number = 16; -} - -// Represents an affiliate location extension. -message AffiliateLocationFeedItem { - // The name of the business. - optional string business_name = 11; - - // Line 1 of the business address. - optional string address_line_1 = 12; - - // Line 2 of the business address. - optional string address_line_2 = 13; - - // City of the business address. - optional string city = 14; - - // Province of the business address. - optional string province = 15; - - // Postal code of the business address. - optional string postal_code = 16; - - // Country code of the business address. - optional string country_code = 17; - - // Phone number of the business. - optional string phone_number = 18; - - // Id of the retail chain that is advertised as a seller of your product. - optional int64 chain_id = 19; - - // Name of chain. - optional string chain_name = 20; -} - -// An extension that users can click on to send a text message to the -// advertiser. -message TextMessageFeedItem { - // The business name to prepend to the message text. - // This field is required. - optional string business_name = 6; - - // Uppercase two-letter country code of the advertiser's phone number. - // This field is required. - optional string country_code = 7; - - // The advertiser's phone number the message will be sent to. Required. - optional string phone_number = 8; - - // The text to show in the ad. - // This field is required. - optional string text = 9; - - // The message extension_text populated in the messaging app. - optional string extension_text = 10; -} - -// Represents a Price extension. -message PriceFeedItem { - // Price extension type of this extension. - google.ads.googleads.v11.enums.PriceExtensionTypeEnum.PriceExtensionType type = 1; - - // Price qualifier for all offers of this price extension. - google.ads.googleads.v11.enums.PriceExtensionPriceQualifierEnum.PriceExtensionPriceQualifier price_qualifier = 2; - - // Tracking URL template for all offers of this price extension. - optional string tracking_url_template = 7; - - // The code of the language used for this price extension. - optional string language_code = 8; - - // The price offerings in this price extension. - repeated PriceOffer price_offerings = 5; - - // Tracking URL template for all offers of this price extension. - optional string final_url_suffix = 9; -} - -// Represents one price offer in a price extension. -message PriceOffer { - // Header text of this offer. - optional string header = 7; - - // Description text of this offer. - optional string description = 8; - - // Price value of this offer. - Money price = 3; - - // Price unit for this offer. - google.ads.googleads.v11.enums.PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit unit = 4; - - // A list of possible final URLs after all cross domain redirects. - repeated string final_urls = 9; - - // A list of possible final mobile URLs after all cross domain redirects. - repeated string final_mobile_urls = 10; -} - -// Represents a Promotion extension. -message PromotionFeedItem { - // A freeform description of what the promotion is targeting. - // This field is required. - optional string promotion_target = 16; - - // Enum that modifies the qualification of the discount. - google.ads.googleads.v11.enums.PromotionExtensionDiscountModifierEnum.PromotionExtensionDiscountModifier discount_modifier = 2; - - // Start date of when the promotion is eligible to be redeemed. - optional string promotion_start_date = 19; - - // Last date when the promotion is eligible to be redeemed. - optional string promotion_end_date = 20; - - // The occasion the promotion was intended for. - // If an occasion is set, the redemption window will need to fall within - // the date range associated with the occasion. - google.ads.googleads.v11.enums.PromotionExtensionOccasionEnum.PromotionExtensionOccasion occasion = 9; - - // A list of possible final URLs after all cross domain redirects. - // This field is required. - repeated string final_urls = 21; - - // A list of possible final mobile URLs after all cross domain redirects. - repeated string final_mobile_urls = 22; - - // URL template for constructing a tracking URL. - optional string tracking_url_template = 23; - - // A list of mappings to be used for substituting URL custom parameter tags in - // the tracking_url_template, final_urls, and/or final_mobile_urls. - repeated CustomParameter url_custom_parameters = 13; - - // URL template for appending params to landing page URLs served with parallel - // tracking. - optional string final_url_suffix = 24; - - // The language of the promotion. - // Represented as BCP 47 language tag. - optional string language_code = 25; - - // Discount type, can be percentage off or amount off. - oneof discount_type { - // Percentage off discount in the promotion in micros. - // One million is equivalent to one percent. - // Either this or money_off_amount is required. - int64 percent_off = 17; - - // Money amount off for discount in the promotion. - // Either this or percent_off is required. - Money money_amount_off = 4; - } - - // Promotion trigger. Can be by promotion code or promo by eligible order - // amount. - oneof promotion_trigger { - // A code the user should use in order to be eligible for the promotion. - string promotion_code = 18; - - // The amount the total order needs to be for the user to be eligible for - // the promotion. - Money orders_over_amount = 6; - } -} - -// Represents a structured snippet extension. -message StructuredSnippetFeedItem { - // The header of the snippet. - // This string must not be empty. - optional string header = 3; - - // The values in the snippet. - // The maximum size of this collection is 10. - repeated string values = 4; -} - -// Represents a sitelink extension. -message SitelinkFeedItem { - // URL display text for the sitelink. - // The length of this string should be between 1 and 25, inclusive. - optional string link_text = 9; - - // First line of the description for the sitelink. - // If this value is set, line2 must also be set. - // The length of this string should be between 0 and 35, inclusive. - optional string line1 = 10; - - // Second line of the description for the sitelink. - // If this value is set, line1 must also be set. - // The length of this string should be between 0 and 35, inclusive. - optional string line2 = 11; - - // A list of possible final URLs after all cross domain redirects. - repeated string final_urls = 12; - - // A list of possible final mobile URLs after all cross domain redirects. - repeated string final_mobile_urls = 13; - - // URL template for constructing a tracking URL. - optional string tracking_url_template = 14; - - // A list of mappings to be used for substituting URL custom parameter tags in - // the tracking_url_template, final_urls, and/or final_mobile_urls. - repeated CustomParameter url_custom_parameters = 7; - - // Final URL suffix to be appended to landing page URLs served with - // parallel tracking. - optional string final_url_suffix = 15; -} - -// Represents a hotel callout extension. -message HotelCalloutFeedItem { - // The callout text. - // The length of this string should be between 1 and 25, inclusive. - optional string text = 3; - - // The language of the hotel callout text. - // IETF BCP 47 compliant language code. - optional string language_code = 4; -} - -// Represents an advertiser provided image extension. -message ImageFeedItem { - // Required. Resource name of the image asset. - string image_asset = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Asset" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/common/feed_common.proto b/third_party/googleapis/google/ads/googleads/v11/common/feed_common.proto deleted file mode 100644 index baf39ae6a..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/common/feed_common.proto +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.common; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/common;common"; -option java_multiple_files = true; -option java_outer_classname = "FeedCommonProto"; -option java_package = "com.google.ads.googleads.v11.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V11::Common"; - -// Proto file describing common feed proto messages. - -// Represents a price in a particular currency. -message Money { - // Three-character ISO 4217 currency code. - optional string currency_code = 3; - - // Amount in micros. One million is equivalent to one unit. - optional int64 amount_micros = 4; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/common/feed_item_set_filter_type_infos.proto b/third_party/googleapis/google/ads/googleads/v11/common/feed_item_set_filter_type_infos.proto deleted file mode 100644 index 84698b589..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/common/feed_item_set_filter_type_infos.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.common; - -import "google/ads/googleads/v11/enums/feed_item_set_string_filter_type.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/common;common"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemSetFilterTypeInfosProto"; -option java_package = "com.google.ads.googleads.v11.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V11::Common"; - -// Represents a filter on locations in a feed item set. -// Only applicable if the parent Feed of the FeedItemSet is a LOCATION feed. -message DynamicLocationSetFilter { - // If multiple labels are set, then only feeditems marked with all the labels - // will be added to the FeedItemSet. - repeated string labels = 1; - - // Business name filter. - BusinessNameFilter business_name_filter = 2; -} - -// Represents a business name filter on locations in a FeedItemSet. -message BusinessNameFilter { - // Business name string to use for filtering. - string business_name = 1; - - // The type of string matching to use when filtering with business_name. - google.ads.googleads.v11.enums.FeedItemSetStringFilterTypeEnum.FeedItemSetStringFilterType filter_type = 2; -} - -// Represents a filter on affiliate locations in a FeedItemSet. -// Only applicable if the parent Feed of the FeedItemSet is an -// AFFILIATE_LOCATION feed. -message DynamicAffiliateLocationSetFilter { - // Used to filter affiliate locations by chain ids. Only affiliate locations - // that belong to the specified chain(s) will be added to the FeedItemSet. - repeated int64 chain_ids = 1; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/common/final_app_url.proto b/third_party/googleapis/google/ads/googleads/v11/common/final_app_url.proto deleted file mode 100644 index 2276867dc..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/common/final_app_url.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.common; - -import "google/ads/googleads/v11/enums/app_url_operating_system_type.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/common;common"; -option java_multiple_files = true; -option java_outer_classname = "FinalAppUrlProto"; -option java_package = "com.google.ads.googleads.v11.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V11::Common"; - -// Proto file FinalAppUrl type. - -// A URL for deep linking into an app for the given operating system. -message FinalAppUrl { - // The operating system targeted by this URL. Required. - google.ads.googleads.v11.enums.AppUrlOperatingSystemTypeEnum.AppUrlOperatingSystemType os_type = 1; - - // The app deep link URL. Deep links specify a location in an app that - // corresponds to the content you'd like to show, and should be of the form - // {scheme}://{host_path} - // The scheme identifies which app to open. For your app, you can use a custom - // scheme that starts with the app's name. The host and path specify the - // unique location in the app where your content exists. - // Example: "exampleapp://productid_1234". Required. - optional string url = 3; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/common/frequency_cap.proto b/third_party/googleapis/google/ads/googleads/v11/common/frequency_cap.proto deleted file mode 100644 index 2aa24c96e..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/common/frequency_cap.proto +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.common; - -import "google/ads/googleads/v11/enums/frequency_cap_event_type.proto"; -import "google/ads/googleads/v11/enums/frequency_cap_level.proto"; -import "google/ads/googleads/v11/enums/frequency_cap_time_unit.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/common;common"; -option java_multiple_files = true; -option java_outer_classname = "FrequencyCapProto"; -option java_package = "com.google.ads.googleads.v11.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V11::Common"; - -// Proto file describing frequency caps. - -// A rule specifying the maximum number of times an ad (or some set of ads) can -// be shown to a user over a particular time period. -message FrequencyCapEntry { - // The key of a particular frequency cap. There can be no more - // than one frequency cap with the same key. - FrequencyCapKey key = 1; - - // Maximum number of events allowed during the time range by this cap. - optional int32 cap = 3; -} - -// A group of fields used as keys for a frequency cap. -// There can be no more than one frequency cap with the same key. -message FrequencyCapKey { - // The level on which the cap is to be applied (for example, ad group ad, ad - // group). The cap is applied to all the entities of this level. - google.ads.googleads.v11.enums.FrequencyCapLevelEnum.FrequencyCapLevel level = 1; - - // The type of event that the cap applies to (for example, impression). - google.ads.googleads.v11.enums.FrequencyCapEventTypeEnum.FrequencyCapEventType event_type = 3; - - // Unit of time the cap is defined at (for example, day, week). - google.ads.googleads.v11.enums.FrequencyCapTimeUnitEnum.FrequencyCapTimeUnit time_unit = 2; - - // Number of time units the cap lasts. - optional int32 time_length = 5; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/common/keyword_plan_common.proto b/third_party/googleapis/google/ads/googleads/v11/common/keyword_plan_common.proto deleted file mode 100644 index 650932b18..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/common/keyword_plan_common.proto +++ /dev/null @@ -1,148 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.common; - -import "google/ads/googleads/v11/common/dates.proto"; -import "google/ads/googleads/v11/enums/device.proto"; -import "google/ads/googleads/v11/enums/keyword_plan_aggregate_metric_type.proto"; -import "google/ads/googleads/v11/enums/keyword_plan_competition_level.proto"; -import "google/ads/googleads/v11/enums/keyword_plan_concept_group_type.proto"; -import "google/ads/googleads/v11/enums/month_of_year.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/common;common"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanCommonProto"; -option java_package = "com.google.ads.googleads.v11.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V11::Common"; - -// Proto file describing Keyword Planner messages. - -// Historical metrics specific to the targeting options selected. -// Targeting options include geographies, network, etc. -// Refer to https://support.google.com/google-ads/answer/3022575 for more -// details. -message KeywordPlanHistoricalMetrics { - // Approximate number of monthly searches on this query averaged - // for the past 12 months. - optional int64 avg_monthly_searches = 7; - - // Approximate number of searches on this query for the past twelve months. - repeated MonthlySearchVolume monthly_search_volumes = 6; - - // The competition level for the query. - google.ads.googleads.v11.enums.KeywordPlanCompetitionLevelEnum.KeywordPlanCompetitionLevel competition = 2; - - // The competition index for the query in the range [0, 100]. - // Shows how competitive ad placement is for a keyword. - // The level of competition from 0-100 is determined by the number of ad slots - // filled divided by the total number of ad slots available. If not enough - // data is available, null is returned. - optional int64 competition_index = 8; - - // Top of page bid low range (20th percentile) in micros for the keyword. - optional int64 low_top_of_page_bid_micros = 9; - - // Top of page bid high range (80th percentile) in micros for the keyword. - optional int64 high_top_of_page_bid_micros = 10; - - // Average Cost Per Click in micros for the keyword. - optional int64 average_cpc_micros = 11; -} - -// Historical metrics options. -message HistoricalMetricsOptions { - // The year month range for historical metrics. If not specified the searches - // will be returned for past 12 months. - // Searches data is available for the past 4 years. If the search volume is - // not available for the entire year_month_range provided, the subset of the - // year month range for which search volume is available will be returned. - optional YearMonthRange year_month_range = 1; - - // Indicates whether to include average cost per click value. - // Average CPC is a legacy value that will be removed and replaced in the - // future, and as such we are including it as an optioanl value so clients - // only use it when strictly necessary and to better track clients that use - // this value. - bool include_average_cpc = 2; -} - -// Monthly search volume. -message MonthlySearchVolume { - // The year of the search volume (for example, 2020). - optional int64 year = 4; - - // The month of the search volume. - google.ads.googleads.v11.enums.MonthOfYearEnum.MonthOfYear month = 2; - - // Approximate number of searches for the month. - // A null value indicates the search volume is unavailable for - // that month. - optional int64 monthly_searches = 5; -} - -// The aggregate metrics specification of the request. -message KeywordPlanAggregateMetrics { - // The list of aggregate metrics to fetch data. - repeated google.ads.googleads.v11.enums.KeywordPlanAggregateMetricTypeEnum.KeywordPlanAggregateMetricType aggregate_metric_types = 1; -} - -// The aggregated historical metrics for keyword plan keywords. -message KeywordPlanAggregateMetricResults { - // The aggregate searches for all the keywords segmented by device - // for the specified time. - // Supports the following device types: MOBILE, TABLET, DESKTOP. - // - // This is only set when KeywordPlanAggregateMetricTypeEnum.DEVICE is set - // in the KeywordPlanAggregateMetrics field in the request. - repeated KeywordPlanDeviceSearches device_searches = 1; -} - -// The total searches for the device type during the specified time period. -message KeywordPlanDeviceSearches { - // The device type. - google.ads.googleads.v11.enums.DeviceEnum.Device device = 1; - - // The total searches for the device. - optional int64 search_count = 2; -} - -// The Annotations for the Keyword plan keywords. -message KeywordAnnotations { - // The list of concepts for the keyword. - repeated KeywordConcept concepts = 1; -} - -// The concept for the keyword. -message KeywordConcept { - // The concept name for the keyword in the concept_group. - string name = 1; - - // The concept group of the concept details. - ConceptGroup concept_group = 2; -} - -// The concept group for the keyword concept. -message ConceptGroup { - // The concept group name. - string name = 1; - - // The concept group type. - google.ads.googleads.v11.enums.KeywordPlanConceptGroupTypeEnum.KeywordPlanConceptGroupType type = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/common/matching_function.proto b/third_party/googleapis/google/ads/googleads/v11/common/matching_function.proto deleted file mode 100644 index a679cf034..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/common/matching_function.proto +++ /dev/null @@ -1,125 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.common; - -import "google/ads/googleads/v11/enums/matching_function_context_type.proto"; -import "google/ads/googleads/v11/enums/matching_function_operator.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/common;common"; -option java_multiple_files = true; -option java_outer_classname = "MatchingFunctionProto"; -option java_package = "com.google.ads.googleads.v11.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V11::Common"; - -// Proto file describing a matching function. - -// Matching function associated with a -// CustomerFeed, CampaignFeed, or AdGroupFeed. The matching function is used -// to filter the set of feed items selected. -message MatchingFunction { - // String representation of the Function. - // - // Examples: - // - // 1. IDENTITY(true) or IDENTITY(false). All or no feed items served. - // 2. EQUALS(CONTEXT.DEVICE,"Mobile") - // 3. IN(FEED_ITEM_ID,{1000001,1000002,1000003}) - // 4. CONTAINS_ANY(FeedAttribute[12345678,0],{"Mars cruise","Venus cruise"}) - // 5. AND(IN(FEED_ITEM_ID,{10001,10002}),EQUALS(CONTEXT.DEVICE,"Mobile")) - // - // For more details, visit - // https://developers.google.com/adwords/api/docs/guides/feed-matching-functions - // - // Note that because multiple strings may represent the same underlying - // function (whitespace and single versus double quotation marks, for - // example), the value returned may not be identical to the string sent in a - // mutate request. - optional string function_string = 5; - - // Operator for a function. - google.ads.googleads.v11.enums.MatchingFunctionOperatorEnum.MatchingFunctionOperator operator = 4; - - // The operands on the left hand side of the equation. This is also the - // operand to be used for single operand expressions such as NOT. - repeated Operand left_operands = 2; - - // The operands on the right hand side of the equation. - repeated Operand right_operands = 3; -} - -// An operand in a matching function. -message Operand { - // A constant operand in a matching function. - message ConstantOperand { - // Constant operand values. Required. - oneof constant_operand_value { - // String value of the operand if it is a string type. - string string_value = 5; - - // Int64 value of the operand if it is a int64 type. - int64 long_value = 6; - - // Boolean value of the operand if it is a boolean type. - bool boolean_value = 7; - - // Double value of the operand if it is a double type. - double double_value = 8; - } - } - - // A feed attribute operand in a matching function. - // Used to represent a feed attribute in feed. - message FeedAttributeOperand { - // The associated feed. Required. - optional int64 feed_id = 3; - - // Id of the referenced feed attribute. Required. - optional int64 feed_attribute_id = 4; - } - - // A function operand in a matching function. - // Used to represent nested functions. - message FunctionOperand { - // The matching function held in this operand. - MatchingFunction matching_function = 1; - } - - // An operand in a function referring to a value in the request context. - message RequestContextOperand { - // Type of value to be referred in the request context. - google.ads.googleads.v11.enums.MatchingFunctionContextTypeEnum.MatchingFunctionContextType context_type = 1; - } - - // Different operands that can be used in a matching function. Required. - oneof function_argument_operand { - // A constant operand in a matching function. - ConstantOperand constant_operand = 1; - - // This operand specifies a feed attribute in feed. - FeedAttributeOperand feed_attribute_operand = 2; - - // A function operand in a matching function. - // Used to represent nested functions. - FunctionOperand function_operand = 3; - - // An operand in a function referring to a value in the request context. - RequestContextOperand request_context_operand = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v11/common/metric_goal.proto b/third_party/googleapis/google/ads/googleads/v11/common/metric_goal.proto deleted file mode 100644 index 51dbf45a3..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/common/metric_goal.proto +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.common; - -import "google/ads/googleads/v11/enums/experiment_metric.proto"; -import "google/ads/googleads/v11/enums/experiment_metric_direction.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/common;common"; -option java_multiple_files = true; -option java_outer_classname = "MetricGoalProto"; -option java_package = "com.google.ads.googleads.v11.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V11::Common"; - -// Proto file describing experiment metric goal. - -// A metric goal for an experiment. -message MetricGoal { - // The metric of the goal. For example, clicks, impressions, cost, - // conversions, etc. - google.ads.googleads.v11.enums.ExperimentMetricEnum.ExperimentMetric metric = 1; - - // The metric direction of the goal. For example, increase, decrease, no - // change. - google.ads.googleads.v11.enums.ExperimentMetricDirectionEnum.ExperimentMetricDirection direction = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/common/metrics.proto b/third_party/googleapis/google/ads/googleads/v11/common/metrics.proto deleted file mode 100644 index fd1e0426f..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/common/metrics.proto +++ /dev/null @@ -1,674 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.common; - -import "google/ads/googleads/v11/enums/interaction_event_type.proto"; -import "google/ads/googleads/v11/enums/quality_score_bucket.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/common;common"; -option java_multiple_files = true; -option java_outer_classname = "MetricsProto"; -option java_package = "com.google.ads.googleads.v11.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V11::Common"; - -// Proto file describing metrics. - -// Metrics data. -message Metrics { - // The percent of your ad impressions that are shown as the very first ad - // above the organic search results. - optional double absolute_top_impression_percentage = 183; - - // Average cost of viewable impressions (`active_view_impressions`). - optional double active_view_cpm = 184; - - // Active view measurable clicks divided by active view viewable impressions. - // This metric is reported only for display network. - optional double active_view_ctr = 185; - - // A measurement of how often your ad has become viewable on a Display - // Network site. - optional int64 active_view_impressions = 186; - - // The ratio of impressions that could be measured by Active View over the - // number of served impressions. - optional double active_view_measurability = 187; - - // The cost of the impressions you received that were measurable by Active - // View. - optional int64 active_view_measurable_cost_micros = 188; - - // The number of times your ads are appearing on placements in positions - // where they can be seen. - optional int64 active_view_measurable_impressions = 189; - - // The percentage of time when your ad appeared on an Active View enabled site - // (measurable impressions) and was viewable (viewable impressions). - optional double active_view_viewability = 190; - - // All conversions from interactions (as oppose to view through conversions) - // divided by the number of ad interactions. - optional double all_conversions_from_interactions_rate = 191; - - // The value of all conversions. - optional double all_conversions_value = 192; - - // The value of all conversions. When this column is selected with date, the - // values in date column means the conversion date. Details for the - // by_conversion_date columns are available at - // https://support.google.com/google-ads/answer/9549009. - double all_conversions_value_by_conversion_date = 240; - - // The total number of conversions. This includes all conversions regardless - // of the value of include_in_conversions_metric. - optional double all_conversions = 193; - - // The total number of conversions. This includes all conversions regardless - // of the value of include_in_conversions_metric. When this column is selected - // with date, the values in date column means the conversion date. Details for - // the by_conversion_date columns are available at - // https://support.google.com/google-ads/answer/9549009. - double all_conversions_by_conversion_date = 241; - - // The value of all conversions divided by the total cost of ad interactions - // (such as clicks for text ads or views for video ads). - optional double all_conversions_value_per_cost = 194; - - // The number of times people clicked the "Call" button to call a store during - // or after clicking an ad. This number doesn't include whether or not calls - // were connected, or the duration of any calls. - // This metric applies to feed items only. - optional double all_conversions_from_click_to_call = 195; - - // The number of times people clicked a "Get directions" button to navigate to - // a store after clicking an ad. - // This metric applies to feed items only. - optional double all_conversions_from_directions = 196; - - // The value of all conversions from interactions divided by the total number - // of interactions. - optional double all_conversions_from_interactions_value_per_interaction = 197; - - // The number of times people clicked a link to view a store's menu after - // clicking an ad. - // This metric applies to feed items only. - optional double all_conversions_from_menu = 198; - - // The number of times people placed an order at a store after clicking an ad. - // This metric applies to feed items only. - optional double all_conversions_from_order = 199; - - // The number of other conversions (for example, posting a review or saving a - // location for a store) that occurred after people clicked an ad. - // This metric applies to feed items only. - optional double all_conversions_from_other_engagement = 200; - - // Estimated number of times people visited a store after clicking an ad. - // This metric applies to feed items only. - optional double all_conversions_from_store_visit = 201; - - // The number of times that people were taken to a store's URL after clicking - // an ad. - // This metric applies to feed items only. - optional double all_conversions_from_store_website = 202; - - // This metric is part of the Auction Insights report, and tells how often - // the ads of another participant showed as the very first ad above the - // organic search results. - // This percentage is computed only over the auctions that you appeared in - // the page. - // This metric is not publicly available. - optional double auction_insight_search_absolute_top_impression_percentage = 258; - - // This metric is part of the Auction Insights report, and tells the - // percentage of impressions that another participant obtained, over the total - // number of impressions that your ads were eligible for. - // Any value below 0.1 is reported as 0.0999. - // This metric is not publicly available. - optional double auction_insight_search_impression_share = 259; - - // This metric is part of the Auction Insights report, and tells the - // percentage of impressions that your ads outranked (showed above) - // another participant in the auction, compared to the total number of - // impressions that your ads were eligible for. - // Any value below 0.1 is reported as 0.0999. - // This metric is not publicly available. - optional double auction_insight_search_outranking_share = 260; - - // This metric is part of the Auction Insights report, and tells how often - // another participant's ad received an impression when your ad also received - // an impression. - // This metric is not publicly available. - optional double auction_insight_search_overlap_rate = 261; - - // This metric is part of the Auction Insights report, and tells how often - // another participant's ad was shown in a higher position than yours, when - // both of your ads were shown at the same page. - // This metric is not publicly available. - optional double auction_insight_search_position_above_rate = 262; - - // This metric is part of the Auction Insights report, and tells how often - // the ads of another participant showed above the organic search results. - // This percentage is computed only over the auctions that you appeared in - // the page. - // This metric is not publicly available. - optional double auction_insight_search_top_impression_percentage = 263; - - // The average amount you pay per interaction. This amount is the total cost - // of your ads divided by the total number of interactions. - optional double average_cost = 203; - - // The total cost of all clicks divided by the total number of clicks - // received. - optional double average_cpc = 204; - - // The average amount that you've been charged for an ad engagement. This - // amount is the total cost of all ad engagements divided by the total number - // of ad engagements. - optional double average_cpe = 205; - - // Average cost-per-thousand impressions (CPM). - optional double average_cpm = 206; - - // The average amount you pay each time someone views your ad. - // The average CPV is defined by the total cost of all ad views divided by - // the number of views. - optional double average_cpv = 207; - - // Average number of pages viewed per session. - optional double average_page_views = 208; - - // Total duration of all sessions (in seconds) / number of sessions. Imported - // from Google Analytics. - optional double average_time_on_site = 209; - - // An indication of how other advertisers are bidding on similar products. - optional double benchmark_average_max_cpc = 210; - - // Number of app installs. - optional double biddable_app_install_conversions = 254; - - // Number of in-app actions. - optional double biddable_app_post_install_conversions = 255; - - // An indication on how other advertisers' Shopping ads for similar products - // are performing based on how often people who see their ad click on it. - optional double benchmark_ctr = 211; - - // Percentage of clicks where the user only visited a single page on your - // site. Imported from Google Analytics. - optional double bounce_rate = 212; - - // The number of clicks. - optional int64 clicks = 131; - - // The number of times your ad or your site's listing in the unpaid - // results was clicked. See the help page at - // https://support.google.com/google-ads/answer/3097241 for details. - optional int64 combined_clicks = 156; - - // The number of times your ad or your site's listing in the unpaid - // results was clicked (combined_clicks) divided by combined_queries. See the - // help page at https://support.google.com/google-ads/answer/3097241 for - // details. - optional double combined_clicks_per_query = 157; - - // The number of searches that returned pages from your site in the unpaid - // results or showed one of your text ads. See the help page at - // https://support.google.com/google-ads/answer/3097241 for details. - optional int64 combined_queries = 158; - - // The estimated percent of times that your ad was eligible to show - // on the Display Network but didn't because your budget was too low. - // Note: Content budget lost impression share is reported in the range of 0 - // to 0.9. Any value above 0.9 is reported as 0.9001. - optional double content_budget_lost_impression_share = 159; - - // The impressions you've received on the Display Network divided - // by the estimated number of impressions you were eligible to receive. - // Note: Content impression share is reported in the range of 0.1 to 1. Any - // value below 0.1 is reported as 0.0999. - optional double content_impression_share = 160; - - // The last date/time a conversion tag for this conversion action successfully - // fired and was seen by Google Ads. This firing event may not have been the - // result of an attributable conversion (for example, because the tag was - // fired from a browser that did not previously click an ad from an - // appropriate advertiser). The date/time is in the customer's time zone. - optional string conversion_last_received_request_date_time = 161; - - // The date of the most recent conversion for this conversion action. The date - // is in the customer's time zone. - optional string conversion_last_conversion_date = 162; - - // The estimated percentage of impressions on the Display Network - // that your ads didn't receive due to poor Ad Rank. - // Note: Content rank lost impression share is reported in the range of 0 - // to 0.9. Any value above 0.9 is reported as 0.9001. - optional double content_rank_lost_impression_share = 163; - - // Conversions from interactions divided by the number of ad interactions - // (such as clicks for text ads or views for video ads). This only includes - // conversion actions which include_in_conversions_metric attribute is set to - // true. If you use conversion-based bidding, your bid strategies will - // optimize for these conversions. - optional double conversions_from_interactions_rate = 164; - - // The value of conversions. This only includes conversion actions which - // include_in_conversions_metric attribute is set to true. If you use - // conversion-based bidding, your bid strategies will optimize for these - // conversions. - optional double conversions_value = 165; - - // The value of conversions. This only includes conversion actions which - // include_in_conversions_metric attribute is set to true. If you use - // conversion-based bidding, your bid strategies will optimize for these - // conversions. When this column is selected with date, the values in date - // column means the conversion date. Details for the by_conversion_date - // columns are available at - // https://support.google.com/google-ads/answer/9549009. - double conversions_value_by_conversion_date = 242; - - // The value of conversions divided by the cost of ad interactions. This only - // includes conversion actions which include_in_conversions_metric attribute - // is set to true. If you use conversion-based bidding, your bid strategies - // will optimize for these conversions. - optional double conversions_value_per_cost = 166; - - // The value of conversions from interactions divided by the number of ad - // interactions. This only includes conversion actions which - // include_in_conversions_metric attribute is set to true. If you use - // conversion-based bidding, your bid strategies will optimize for these - // conversions. - optional double conversions_from_interactions_value_per_interaction = 167; - - // The number of conversions. This only includes conversion actions which - // include_in_conversions_metric attribute is set to true. If you use - // conversion-based bidding, your bid strategies will optimize for these - // conversions. - optional double conversions = 168; - - // The number of conversions. This only includes conversion actions which - // include_in_conversions_metric attribute is set to true. If you use - // conversion-based bidding, your bid strategies will optimize for these - // conversions. When this column is selected with date, the values in date - // column means the conversion date. Details for the by_conversion_date - // columns are available at - // https://support.google.com/google-ads/answer/9549009. - double conversions_by_conversion_date = 243; - - // The sum of your cost-per-click (CPC) and cost-per-thousand impressions - // (CPM) costs during this period. - optional int64 cost_micros = 169; - - // The cost of ad interactions divided by all conversions. - optional double cost_per_all_conversions = 170; - - // The cost of ad interactions divided by conversions. This only includes - // conversion actions which include_in_conversions_metric attribute is set to - // true. If you use conversion-based bidding, your bid strategies will - // optimize for these conversions. - optional double cost_per_conversion = 171; - - // The cost of ad interactions divided by current model attributed - // conversions. This only includes conversion actions which - // include_in_conversions_metric attribute is set to true. If you use - // conversion-based bidding, your bid strategies will optimize for these - // conversions. - optional double cost_per_current_model_attributed_conversion = 172; - - // Conversions from when a customer clicks on a Google Ads ad on one device, - // then converts on a different device or browser. - // Cross-device conversions are already included in all_conversions. - optional double cross_device_conversions = 173; - - // The number of clicks your ad receives (Clicks) divided by the number - // of times your ad is shown (Impressions). - optional double ctr = 174; - - // Shows how your historic conversions data would look under the attribution - // model you've currently selected. This only includes conversion actions - // which include_in_conversions_metric attribute is set to true. If you use - // conversion-based bidding, your bid strategies will optimize for these - // conversions. - optional double current_model_attributed_conversions = 175; - - // Current model attributed conversions from interactions divided by the - // number of ad interactions (such as clicks for text ads or views for video - // ads). This only includes conversion actions which - // include_in_conversions_metric attribute is set to true. If you use - // conversion-based bidding, your bid strategies will optimize for these - // conversions. - optional double current_model_attributed_conversions_from_interactions_rate = 176; - - // The value of current model attributed conversions from interactions divided - // by the number of ad interactions. This only includes conversion actions - // which include_in_conversions_metric attribute is set to true. If you use - // conversion-based bidding, your bid strategies will optimize for these - // conversions. - optional double current_model_attributed_conversions_from_interactions_value_per_interaction = 177; - - // The value of current model attributed conversions. This only includes - // conversion actions which include_in_conversions_metric attribute is set to - // true. If you use conversion-based bidding, your bid strategies will - // optimize for these conversions. - optional double current_model_attributed_conversions_value = 178; - - // The value of current model attributed conversions divided by the cost of ad - // interactions. This only includes conversion actions which - // include_in_conversions_metric attribute is set to true. If you use - // conversion-based bidding, your bid strategies will optimize for these - // conversions. - optional double current_model_attributed_conversions_value_per_cost = 179; - - // How often people engage with your ad after it's shown to them. This is the - // number of ad expansions divided by the number of times your ad is shown. - optional double engagement_rate = 180; - - // The number of engagements. - // An engagement occurs when a viewer expands your Lightbox ad. Also, in the - // future, other ad types may support engagement metrics. - optional int64 engagements = 181; - - // Average lead value based on clicks. - optional double hotel_average_lead_value_micros = 213; - - // Commission bid rate in micros. A 20% commission is represented as - // 200,000. - optional int64 hotel_commission_rate_micros = 256; - - // Expected commission cost. The result of multiplying the commission value - // times the hotel_commission_rate in advertiser currency. - optional double hotel_expected_commission_cost = 257; - - // The average price difference between the price offered by reporting hotel - // advertiser and the cheapest price offered by the competing advertiser. - optional double hotel_price_difference_percentage = 214; - - // The number of impressions that hotel partners could have had given their - // feed performance. - optional int64 hotel_eligible_impressions = 215; - - // The creative historical quality score. - google.ads.googleads.v11.enums.QualityScoreBucketEnum.QualityScoreBucket historical_creative_quality_score = 80; - - // The quality of historical landing page experience. - google.ads.googleads.v11.enums.QualityScoreBucketEnum.QualityScoreBucket historical_landing_page_quality_score = 81; - - // The historical quality score. - optional int64 historical_quality_score = 216; - - // The historical search predicted click through rate (CTR). - google.ads.googleads.v11.enums.QualityScoreBucketEnum.QualityScoreBucket historical_search_predicted_ctr = 83; - - // The number of times the ad was forwarded to someone else as a message. - optional int64 gmail_forwards = 217; - - // The number of times someone has saved your Gmail ad to their inbox as a - // message. - optional int64 gmail_saves = 218; - - // The number of clicks to the landing page on the expanded state of Gmail - // ads. - optional int64 gmail_secondary_clicks = 219; - - // The number of times a store's location-based ad was shown. - // This metric applies to feed items only. - optional int64 impressions_from_store_reach = 220; - - // Count of how often your ad has appeared on a search results page or - // website on the Google Network. - optional int64 impressions = 221; - - // How often people interact with your ad after it is shown to them. - // This is the number of interactions divided by the number of times your ad - // is shown. - optional double interaction_rate = 222; - - // The number of interactions. - // An interaction is the main user action associated with an ad format-clicks - // for text and shopping ads, views for video ads, and so on. - optional int64 interactions = 223; - - // The types of payable and free interactions. - repeated google.ads.googleads.v11.enums.InteractionEventTypeEnum.InteractionEventType interaction_event_types = 100; - - // The percentage of clicks filtered out of your total number of clicks - // (filtered + non-filtered clicks) during the reporting period. - optional double invalid_click_rate = 224; - - // Number of clicks Google considers illegitimate and doesn't charge you for. - optional int64 invalid_clicks = 225; - - // Number of message chats initiated for Click To Message impressions that - // were message tracking eligible. - optional int64 message_chats = 226; - - // Number of Click To Message impressions that were message tracking eligible. - optional int64 message_impressions = 227; - - // Number of message chats initiated (message_chats) divided by the number - // of message impressions (message_impressions). - // Rate at which a user initiates a message chat from an ad impression with - // a messaging option and message tracking enabled. - // Note that this rate can be more than 1.0 for a given message impression. - optional double message_chat_rate = 228; - - // The percentage of mobile clicks that go to a mobile-friendly page. - optional double mobile_friendly_clicks_percentage = 229; - - // Total optimization score uplift of all recommendations. - optional double optimization_score_uplift = 247; - - // URL for the optimization score page in the Google Ads web interface. - // This metric can be selected from `customer` or `campaign`, and can be - // segmented by `segments.recommendation_type`. For example, `SELECT - // metrics.optimization_score_url, segments.recommendation_type FROM - // customer` will return a URL for each unique (customer, recommendation_type) - // combination. - optional string optimization_score_url = 248; - - // The number of times someone clicked your site's listing in the unpaid - // results for a particular query. See the help page at - // https://support.google.com/google-ads/answer/3097241 for details. - optional int64 organic_clicks = 230; - - // The number of times someone clicked your site's listing in the unpaid - // results (organic_clicks) divided by the total number of searches that - // returned pages from your site (organic_queries). See the help page at - // https://support.google.com/google-ads/answer/3097241 for details. - optional double organic_clicks_per_query = 231; - - // The number of listings for your site in the unpaid search results. See the - // help page at https://support.google.com/google-ads/answer/3097241 for - // details. - optional int64 organic_impressions = 232; - - // The number of times a page from your site was listed in the unpaid search - // results (organic_impressions) divided by the number of searches returning - // your site's listing in the unpaid results (organic_queries). See the help - // page at https://support.google.com/google-ads/answer/3097241 for details. - optional double organic_impressions_per_query = 233; - - // The total number of searches that returned your site's listing in the - // unpaid results. See the help page at - // https://support.google.com/google-ads/answer/3097241 for details. - optional int64 organic_queries = 234; - - // Percentage of first-time sessions (from people who had never visited your - // site before). Imported from Google Analytics. - optional double percent_new_visitors = 235; - - // Number of offline phone calls. - optional int64 phone_calls = 236; - - // Number of offline phone impressions. - optional int64 phone_impressions = 237; - - // Number of phone calls received (phone_calls) divided by the number of - // times your phone number is shown (phone_impressions). - optional double phone_through_rate = 238; - - // Your clickthrough rate (Ctr) divided by the average clickthrough rate of - // all advertisers on the websites that show your ads. Measures how your ads - // perform on Display Network sites compared to other ads on the same sites. - optional double relative_ctr = 239; - - // The percentage of the customer's Shopping or Search ad impressions that are - // shown in the most prominent Shopping position. See - // https://support.google.com/google-ads/answer/7501826 - // for details. Any value below 0.1 is reported as 0.0999. - optional double search_absolute_top_impression_share = 136; - - // The number estimating how often your ad wasn't the very first ad above the - // organic search results due to a low budget. Note: Search - // budget lost absolute top impression share is reported in the range of 0 to - // 0.9. Any value above 0.9 is reported as 0.9001. - optional double search_budget_lost_absolute_top_impression_share = 137; - - // The estimated percent of times that your ad was eligible to show on the - // Search Network but didn't because your budget was too low. Note: Search - // budget lost impression share is reported in the range of 0 to 0.9. Any - // value above 0.9 is reported as 0.9001. - optional double search_budget_lost_impression_share = 138; - - // The number estimating how often your ad didn't show anywhere above the - // organic search results due to a low budget. Note: Search - // budget lost top impression share is reported in the range of 0 to 0.9. Any - // value above 0.9 is reported as 0.9001. - optional double search_budget_lost_top_impression_share = 139; - - // The number of clicks you've received on the Search Network - // divided by the estimated number of clicks you were eligible to receive. - // Note: Search click share is reported in the range of 0.1 to 1. Any value - // below 0.1 is reported as 0.0999. - optional double search_click_share = 140; - - // The impressions you've received divided by the estimated number of - // impressions you were eligible to receive on the Search Network for search - // terms that matched your keywords exactly (or were close variants of your - // keyword), regardless of your keyword match types. Note: Search exact match - // impression share is reported in the range of 0.1 to 1. Any value below 0.1 - // is reported as 0.0999. - optional double search_exact_match_impression_share = 141; - - // The impressions you've received on the Search Network divided - // by the estimated number of impressions you were eligible to receive. - // Note: Search impression share is reported in the range of 0.1 to 1. Any - // value below 0.1 is reported as 0.0999. - optional double search_impression_share = 142; - - // The number estimating how often your ad wasn't the very first ad above the - // organic search results due to poor Ad Rank. - // Note: Search rank lost absolute top impression share is reported in the - // range of 0 to 0.9. Any value above 0.9 is reported as 0.9001. - optional double search_rank_lost_absolute_top_impression_share = 143; - - // The estimated percentage of impressions on the Search Network - // that your ads didn't receive due to poor Ad Rank. - // Note: Search rank lost impression share is reported in the range of 0 to - // 0.9. Any value above 0.9 is reported as 0.9001. - optional double search_rank_lost_impression_share = 144; - - // The number estimating how often your ad didn't show anywhere above the - // organic search results due to poor Ad Rank. - // Note: Search rank lost top impression share is reported in the range of 0 - // to 0.9. Any value above 0.9 is reported as 0.9001. - optional double search_rank_lost_top_impression_share = 145; - - // The impressions you've received in the top location (anywhere above the - // organic search results) compared to the estimated number of impressions you - // were eligible to receive in the top location. - // Note: Search top impression share is reported in the range of 0.1 to 1. Any - // value below 0.1 is reported as 0.0999. - optional double search_top_impression_share = 146; - - // A measure of how quickly your page loads after clicks on your mobile ads. - // The score is a range from 1 to 10, 10 being the fastest. - optional int64 speed_score = 147; - - // The percent of your ad impressions that are shown anywhere above the - // organic search results. - optional double top_impression_percentage = 148; - - // The percentage of ad clicks to Accelerated Mobile Pages (AMP) landing pages - // that reach a valid AMP page. - optional double valid_accelerated_mobile_pages_clicks_percentage = 149; - - // The value of all conversions divided by the number of all conversions. - optional double value_per_all_conversions = 150; - - // The value of all conversions divided by the number of all conversions. When - // this column is selected with date, the values in date column means the - // conversion date. Details for the by_conversion_date columns are available - // at https://support.google.com/google-ads/answer/9549009. - optional double value_per_all_conversions_by_conversion_date = 244; - - // The value of conversions divided by the number of conversions. This only - // includes conversion actions which include_in_conversions_metric attribute - // is set to true. If you use conversion-based bidding, your bid strategies - // will optimize for these conversions. - optional double value_per_conversion = 151; - - // The value of conversions divided by the number of conversions. This only - // includes conversion actions which include_in_conversions_metric attribute - // is set to true. If you use conversion-based bidding, your bid strategies - // will optimize for these conversions. When this column is selected with - // date, the values in date column means the conversion date. Details for the - // by_conversion_date columns are available at - // https://support.google.com/google-ads/answer/9549009. - optional double value_per_conversions_by_conversion_date = 245; - - // The value of current model attributed conversions divided by the number of - // the conversions. This only includes conversion actions which - // include_in_conversions_metric attribute is set to true. If you use - // conversion-based bidding, your bid strategies will optimize for these - // conversions. - optional double value_per_current_model_attributed_conversion = 152; - - // Percentage of impressions where the viewer watched all of your video. - optional double video_quartile_p100_rate = 132; - - // Percentage of impressions where the viewer watched 25% of your video. - optional double video_quartile_p25_rate = 133; - - // Percentage of impressions where the viewer watched 50% of your video. - optional double video_quartile_p50_rate = 134; - - // Percentage of impressions where the viewer watched 75% of your video. - optional double video_quartile_p75_rate = 135; - - // The number of views your TrueView video ad receives divided by its number - // of impressions, including thumbnail impressions for TrueView in-display - // ads. - optional double video_view_rate = 153; - - // The number of times your video ads were viewed. - optional int64 video_views = 154; - - // The total number of view-through conversions. - // These happen when a customer sees an image or rich media ad, then later - // completes a conversion on your site without interacting with (for example, - // clicking on) another ad. - optional int64 view_through_conversions = 155; - - // The number of iOS Store Kit Ad Network conversions. - int64 sk_ad_network_conversions = 246; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/common/offline_user_data.proto b/third_party/googleapis/google/ads/googleads/v11/common/offline_user_data.proto deleted file mode 100644 index c31b61129..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/common/offline_user_data.proto +++ /dev/null @@ -1,333 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.common; - -import "google/ads/googleads/v11/enums/user_identifier_source.proto"; -import "google/api/field_behavior.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/common;common"; -option java_multiple_files = true; -option java_outer_classname = "OfflineUserDataProto"; -option java_package = "com.google.ads.googleads.v11.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V11::Common"; - -// Proto file describing offline user data. - -// Address identifier of offline data. -message OfflineUserAddressInfo { - // First name of the user, which is hashed as SHA-256 after normalized - // (Lowercase all characters; Remove any extra spaces before, after, and in - // between). - optional string hashed_first_name = 7; - - // Last name of the user, which is hashed as SHA-256 after normalized (lower - // case only and no punctuation). - optional string hashed_last_name = 8; - - // City of the address. Only accepted for Store Sales and - // ConversionAdjustmentUploadService. - optional string city = 9; - - // State code of the address. Only accepted for Store Sales and - // ConversionAdjustmentUploadService. - optional string state = 10; - - // 2-letter country code in ISO-3166-1 alpha-2 of the user's address. - optional string country_code = 11; - - // Postal code of the user's address. - optional string postal_code = 12; - - // The street address of the user hashed using SHA-256 hash function after - // normalization (lower case only). Only accepted for - // ConversionAdjustmentUploadService. - optional string hashed_street_address = 13; -} - -// User identifying information. -message UserIdentifier { - // Source of the user identifier when the upload is from Store Sales, - // ConversionUploadService, or ConversionAdjustmentUploadService. - google.ads.googleads.v11.enums.UserIdentifierSourceEnum.UserIdentifierSource user_identifier_source = 6; - - // Exactly one must be specified. For OfflineUserDataJobService, Customer - // Match accepts hashed_email, hashed_phone_number, mobile_id, - // third_party_user_id, and address_info; Store Sales accepts hashed_email, - // hashed_phone_number, third_party_user_id, and address_info. - // ConversionUploadService accepts hashed_email and hashed_phone_number. - // ConversionAdjustmentUploadService accepts hashed_email, - // hashed_phone_number, and address_info. - oneof identifier { - // Hashed email address using SHA-256 hash function after normalization. - // Accepted for Customer Match, Store Sales, ConversionUploadService, and - // ConversionAdjustmentUploadService. - string hashed_email = 7; - - // Hashed phone number using SHA-256 hash function after normalization - // (E164 standard). Accepted for Customer Match, Store Sales, - // ConversionUploadService, and ConversionAdjustmentUploadService. - string hashed_phone_number = 8; - - // Mobile device ID (advertising ID/IDFA). Accepted only for Customer Match. - string mobile_id = 9; - - // Advertiser-assigned user ID for Customer Match upload, or - // third-party-assigned user ID for Store Sales. Accepted only for Customer - // Match and Store Sales. - string third_party_user_id = 10; - - // Address information. Accepted only for Customer Match, Store Sales, and - // ConversionAdjustmentUploadService. - OfflineUserAddressInfo address_info = 5; - } -} - -// Attribute of the store sales transaction. -message TransactionAttribute { - // Timestamp when transaction occurred. Required. - // The format is "YYYY-MM-DD HH:MM:SS[+/-HH:MM]", where [+/-HH:MM] is an - // optional timezone offset from UTC. If the offset is absent, the API will - // use the account's timezone as default. - // Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30+03:00" - optional string transaction_date_time = 8; - - // Transaction amount in micros. Required. - // Transaction amount in micros needs to be greater than 1000. - // If item Attributes are provided, it represents the total value of the - // items, after multiplying the unit price per item by the quantity provided - // in the ItemAttributes. - optional double transaction_amount_micros = 9; - - // Transaction currency code. ISO 4217 three-letter code is used. Required. - optional string currency_code = 10; - - // The resource name of conversion action to report conversions to. - // Required. - optional string conversion_action = 11; - - // Transaction order id. - // Accessible only to customers on the allow-list. - optional string order_id = 12; - - // Store attributes of the transaction. - // Accessible only to customers on the allow-list. - StoreAttribute store_attribute = 6; - - // Value of the custom variable for each transaction. - // Accessible only to customers on the allow-list. - optional string custom_value = 13; - - // Item attributes of the transaction. - ItemAttribute item_attribute = 14; -} - -// Store attributes of the transaction. -message StoreAttribute { - // Store code from - // https://support.google.com/business/answer/3370250#storecode - optional string store_code = 2; -} - -// Item attributes of the transaction. -message ItemAttribute { - // A unique identifier of a product. It can be either the Merchant Center Item - // ID or GTIN (Global Trade Item Number). - string item_id = 1; - - // ID of the Merchant Center Account. - optional int64 merchant_id = 2; - - // Common Locale Data Repository (CLDR) territory code of the country - // associated with the feed where your items are uploaded. See - // https://developers.google.com/google-ads/api/reference/data/codes-formats#country-codes - // for more information. - string country_code = 3; - - // ISO 639-1 code of the language associated with the feed where your items - // are uploaded - string language_code = 4; - - // The number of items sold. Defaults to 1 if not set. - int64 quantity = 5; -} - -// User data holding user identifiers and attributes. -message UserData { - // User identification info. Required. - repeated UserIdentifier user_identifiers = 1; - - // Additional transactions/attributes associated with the user. - // Required when updating store sales data. - TransactionAttribute transaction_attribute = 2; - - // Additional attributes associated with the user. Required when updating - // customer match attributes. These have an expiration of 540 days. - UserAttribute user_attribute = 3; -} - -// User attribute, can only be used with CUSTOMER_MATCH_WITH_ATTRIBUTES job -// type. -message UserAttribute { - // Advertiser defined lifetime value for the user. - optional int64 lifetime_value_micros = 1; - - // Advertiser defined lifetime value bucket for the user. The valid range for - // a lifetime value bucket is from 1 (low) to 10 (high), except for remove - // operation where 0 will also be accepted. - optional int32 lifetime_value_bucket = 2; - - // Timestamp of the last purchase made by the user. - // The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an - // optional timezone offset from UTC. If the offset is absent, the API will - // use the account's timezone as default. - string last_purchase_date_time = 3; - - // Advertiser defined average number of purchases that are made by the user in - // a 30 day period. - int32 average_purchase_count = 4; - - // Advertiser defined average purchase value in micros for the user. - int64 average_purchase_value_micros = 5; - - // Timestamp when the user was acquired. - // The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an - // optional timezone offset from UTC. If the offset is absent, the API will - // use the account's timezone as default. - string acquisition_date_time = 6; - - // The shopping loyalty related data. Shopping utilizes this data to provide - // users with a better experience. Accessible only to merchants on the - // allow-list with the user's consent. - optional ShoppingLoyalty shopping_loyalty = 7; - - // Optional. Advertiser defined lifecycle stage for the user. The accepted values are - // “Lead”, “Active” and “Churned”. - string lifecycle_stage = 8 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. Timestamp of the first purchase made by the user. - // The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an - // optional timezone offset from UTC. If the offset is absent, the API will - // use the account's timezone as default. - string first_purchase_date_time = 9 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. Advertiser defined events and their attributes. All the values in the - // nested fields are required. Currently this field is in beta. - repeated EventAttribute event_attribute = 10 [(google.api.field_behavior) = OPTIONAL]; -} - -// Advertiser defined events and their attributes. All the values in the -// nested fields are required. -message EventAttribute { - // Required. Advertiser defined event to be used for remarketing. The accepted values - // are “Viewed”, “Cart”, “Purchased” and “Recommended”. - string event = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. Timestamp at which the event happened. - // The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an - // optional timezone offset from UTC. If the offset is absent, the API will - // use the account's timezone as default. - string event_date_time = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. Item attributes of the event. - repeated EventItemAttribute item_attribute = 3 [(google.api.field_behavior) = REQUIRED]; -} - -// Event Item attributes of the Customer Match. -message EventItemAttribute { - // Optional. A unique identifier of a product. It can be either the Merchant Center Item - // ID or GTIN (Global Trade Item Number). - string item_id = 1 [(google.api.field_behavior) = OPTIONAL]; -} - -// The shopping loyalty related data. Shopping utilizes this data to provide -// users with a better experience. -// Accessible only to merchants on the allow-list. -message ShoppingLoyalty { - // The membership tier. It is a free-form string as each merchant may have - // their own loyalty system. For example, it could be a number from 1 to 10, - // or a string such as "Golden" or "Silver", or even empty string "". - optional string loyalty_tier = 1; -} - -// Metadata for customer match user list. -message CustomerMatchUserListMetadata { - // The resource name of remarketing list to update data. - // Required for job of CUSTOMER_MATCH_USER_LIST type. - optional string user_list = 2; -} - -// Metadata for Store Sales Direct. -message StoreSalesMetadata { - // This is the fraction of all transactions that are identifiable (for - // example, associated with any form of customer information). Required. The - // fraction needs to be between 0 and 1 (excluding 0). - optional double loyalty_fraction = 5; - - // This is the ratio of sales being uploaded compared to the overall sales - // that can be associated with a customer. Required. - // The fraction needs to be between 0 and 1 (excluding 0). For example, if you - // upload half the sales that you are able to associate with a customer, this - // would be 0.5. - optional double transaction_upload_fraction = 6; - - // Name of the store sales custom variable key. A predefined key that - // can be applied to the transaction and then later used for custom - // segmentation in reporting. - // Accessible only to customers on the allow-list. - optional string custom_key = 7; - - // Metadata for a third party Store Sales upload. - StoreSalesThirdPartyMetadata third_party_metadata = 3; -} - -// Metadata for a third party Store Sales. -// This product is only for customers on the allow-list. Contact your -// Google business development representative for details on the upload -// configuration. -message StoreSalesThirdPartyMetadata { - // Time the advertiser uploaded the data to the partner. Required. - // The format is "YYYY-MM-DD HH:MM:SS". - // Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - optional string advertiser_upload_date_time = 7; - - // The fraction of transactions that are valid. Invalid transactions may - // include invalid formats or values. - // Required. - // The fraction needs to be between 0 and 1 (excluding 0). - optional double valid_transaction_fraction = 8; - - // The fraction of valid transactions that are matched to a third party - // assigned user ID on the partner side. - // Required. - // The fraction needs to be between 0 and 1 (excluding 0). - optional double partner_match_fraction = 9; - - // The fraction of valid transactions that are uploaded by the partner to - // Google. - // Required. - // The fraction needs to be between 0 and 1 (excluding 0). - optional double partner_upload_fraction = 10; - - // Version of partner IDs to be used for uploads. Required. - optional string bridge_map_version_id = 11; - - // ID of the third party partner updating the transaction feed. - optional int64 partner_id = 12; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/common/policy.proto b/third_party/googleapis/google/ads/googleads/v11/common/policy.proto deleted file mode 100644 index e6f0635ea..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/common/policy.proto +++ /dev/null @@ -1,219 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.common; - -import "google/ads/googleads/v11/enums/policy_topic_entry_type.proto"; -import "google/ads/googleads/v11/enums/policy_topic_evidence_destination_mismatch_url_type.proto"; -import "google/ads/googleads/v11/enums/policy_topic_evidence_destination_not_working_device.proto"; -import "google/ads/googleads/v11/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/common;common"; -option java_multiple_files = true; -option java_outer_classname = "PolicyProto"; -option java_package = "com.google.ads.googleads.v11.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V11::Common"; - -// Proto file describing policy information. - -// Key of the violation. The key is used for referring to a violation -// when filing an exemption request. -message PolicyViolationKey { - // Unique ID of the violated policy. - optional string policy_name = 3; - - // The text that violates the policy if specified. - // Otherwise, refers to the policy in general - // (for example, when requesting to be exempt from the whole policy). - // If not specified for criterion exemptions, the whole policy is implied. - // Must be specified for ad exemptions. - optional string violating_text = 4; -} - -// Parameter for controlling how policy exemption is done. -message PolicyValidationParameter { - // The list of policy topics that should not cause a PolicyFindingError to - // be reported. This field is currently only compatible with Enhanced Text Ad. - // It corresponds to the PolicyTopicEntry.topic field. - // - // Resources violating these policies will be saved, but will not be eligible - // to serve. They may begin serving at a later time due to a change in - // policies, re-review of the resource, or a change in advertiser - // certificates. - repeated string ignorable_policy_topics = 3; - - // The list of policy violation keys that should not cause a - // PolicyViolationError to be reported. Not all policy violations are - // exemptable, refer to the is_exemptible field in the returned - // PolicyViolationError. - // - // Resources violating these polices will be saved, but will not be eligible - // to serve. They may begin serving at a later time due to a change in - // policies, re-review of the resource, or a change in advertiser - // certificates. - repeated PolicyViolationKey exempt_policy_violation_keys = 2; -} - -// Policy finding attached to a resource (for example, alcohol policy associated -// with a site that sells alcohol). -// -// Each PolicyTopicEntry has a topic that indicates the specific ads policy -// the entry is about and a type to indicate the effect that the entry will have -// on serving. It may optionally have one or more evidences that indicate the -// reason for the finding. It may also optionally have one or more constraints -// that provide details about how serving may be restricted. -message PolicyTopicEntry { - // Policy topic this finding refers to. For example, "ALCOHOL", - // "TRADEMARKS_IN_AD_TEXT", or "DESTINATION_NOT_WORKING". The set of possible - // policy topics is not fixed for a particular API version and may change - // at any time. - optional string topic = 5; - - // Describes the negative or positive effect this policy will have on serving. - google.ads.googleads.v11.enums.PolicyTopicEntryTypeEnum.PolicyTopicEntryType type = 2; - - // Additional information that explains policy finding - // (for example, the brand name for a trademark finding). - repeated PolicyTopicEvidence evidences = 3; - - // Indicates how serving of this resource may be affected (for example, not - // serving in a country). - repeated PolicyTopicConstraint constraints = 4; -} - -// Additional information that explains a policy finding. -message PolicyTopicEvidence { - // A list of fragments of text that violated a policy. - message TextList { - // The fragments of text from the resource that caused the policy finding. - repeated string texts = 2; - } - - // A list of websites that caused a policy finding. Used for - // ONE_WEBSITE_PER_AD_GROUP policy topic, for example. In case there are more - // than five websites, only the top five (those that appear in resources the - // most) will be listed here. - message WebsiteList { - // Websites that caused the policy finding. - repeated string websites = 2; - } - - // A list of strings found in a destination page that caused a policy - // finding. - message DestinationTextList { - // List of text found in the resource's destination page. - repeated string destination_texts = 2; - } - - // Evidence of mismatches between the URLs of a resource. - message DestinationMismatch { - // The set of URLs that did not match each other. - repeated google.ads.googleads.v11.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType url_types = 1; - } - - // Evidence details when the destination is returning an HTTP error - // code or isn't functional in all locations for commonly used devices. - message DestinationNotWorking { - // The full URL that didn't work. - optional string expanded_url = 7; - - // The type of device that failed to load the URL. - google.ads.googleads.v11.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.PolicyTopicEvidenceDestinationNotWorkingDevice device = 4; - - // The time the URL was last checked. - // The format is "YYYY-MM-DD HH:MM:SS". - // Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - optional string last_checked_date_time = 8; - - // Indicates the reason of the DESTINATION_NOT_WORKING policy finding. - oneof reason { - // The type of DNS error. - google.ads.googleads.v11.enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.PolicyTopicEvidenceDestinationNotWorkingDnsErrorType dns_error_type = 1; - - // The HTTP error code. - int64 http_error_code = 6; - } - } - - // Specific evidence information depending on the evidence type. - oneof value { - // List of websites linked with this resource. - WebsiteList website_list = 3; - - // List of evidence found in the text of a resource. - TextList text_list = 4; - - // The language the resource was detected to be written in. - // This is an IETF language tag such as "en-US". - string language_code = 9; - - // The text in the destination of the resource that is causing a policy - // finding. - DestinationTextList destination_text_list = 6; - - // Mismatch between the destinations of a resource's URLs. - DestinationMismatch destination_mismatch = 7; - - // Details when the destination is returning an HTTP error code or isn't - // functional in all locations for commonly used devices. - DestinationNotWorking destination_not_working = 8; - } -} - -// Describes the effect on serving that a policy topic entry will have. -message PolicyTopicConstraint { - // A list of countries where a resource's serving is constrained. - message CountryConstraintList { - // Total number of countries targeted by the resource. - optional int32 total_targeted_countries = 3; - - // Countries in which serving is restricted. - repeated CountryConstraint countries = 2; - } - - // Indicates that a policy topic was constrained due to disapproval of the - // website for reseller purposes. - message ResellerConstraint { - - } - - // Indicates that a resource's ability to serve in a particular country is - // constrained. - message CountryConstraint { - // Geo target constant resource name of the country in which serving is - // constrained. - optional string country_criterion = 2; - } - - // Specific information about the constraint. - oneof value { - // Countries where the resource cannot serve. - CountryConstraintList country_constraint_list = 1; - - // Reseller constraint. - ResellerConstraint reseller_constraint = 2; - - // Countries where a certificate is required for serving. - CountryConstraintList certificate_missing_in_country_list = 3; - - // Countries where the resource's domain is not covered by the - // certificates associated with it. - CountryConstraintList certificate_domain_mismatch_in_country_list = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v11/common/policy_summary.proto b/third_party/googleapis/google/ads/googleads/v11/common/policy_summary.proto deleted file mode 100644 index 26ebbd3a6..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/common/policy_summary.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.common; - -import "google/ads/googleads/v11/common/policy.proto"; -import "google/ads/googleads/v11/enums/policy_approval_status.proto"; -import "google/ads/googleads/v11/enums/policy_review_status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/common;common"; -option java_multiple_files = true; -option java_outer_classname = "PolicySummaryProto"; -option java_package = "com.google.ads.googleads.v11.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V11::Common"; - -// Proto file describing policy summary. - -// Contains policy summary information. -message PolicySummary { - // The list of policy findings. - repeated PolicyTopicEntry policy_topic_entries = 1; - - // Where in the review process the resource is. - google.ads.googleads.v11.enums.PolicyReviewStatusEnum.PolicyReviewStatus review_status = 2; - - // The overall approval status, which is calculated based on - // the status of its individual policy topic entries. - google.ads.googleads.v11.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 3; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/common/real_time_bidding_setting.proto b/third_party/googleapis/google/ads/googleads/v11/common/real_time_bidding_setting.proto deleted file mode 100644 index 2920721eb..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/common/real_time_bidding_setting.proto +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.common; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/common;common"; -option java_multiple_files = true; -option java_outer_classname = "RealTimeBiddingSettingProto"; -option java_package = "com.google.ads.googleads.v11.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V11::Common"; - -// Proto file describing RealTimeBiddingSetting - -// Settings for Real-Time Bidding, a feature only available for campaigns -// targeting the Ad Exchange network. -message RealTimeBiddingSetting { - // Whether the campaign is opted in to real-time bidding. - optional bool opt_in = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/common/segments.proto b/third_party/googleapis/google/ads/googleads/v11/common/segments.proto deleted file mode 100644 index 96ebede4a..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/common/segments.proto +++ /dev/null @@ -1,400 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.common; - -import "google/ads/googleads/v11/common/criteria.proto"; -import "google/ads/googleads/v11/enums/ad_destination_type.proto"; -import "google/ads/googleads/v11/enums/ad_network_type.proto"; -import "google/ads/googleads/v11/enums/budget_campaign_association_status.proto"; -import "google/ads/googleads/v11/enums/click_type.proto"; -import "google/ads/googleads/v11/enums/conversion_action_category.proto"; -import "google/ads/googleads/v11/enums/conversion_attribution_event_type.proto"; -import "google/ads/googleads/v11/enums/conversion_lag_bucket.proto"; -import "google/ads/googleads/v11/enums/conversion_or_adjustment_lag_bucket.proto"; -import "google/ads/googleads/v11/enums/conversion_value_rule_primary_dimension.proto"; -import "google/ads/googleads/v11/enums/day_of_week.proto"; -import "google/ads/googleads/v11/enums/device.proto"; -import "google/ads/googleads/v11/enums/external_conversion_source.proto"; -import "google/ads/googleads/v11/enums/hotel_date_selection_type.proto"; -import "google/ads/googleads/v11/enums/hotel_price_bucket.proto"; -import "google/ads/googleads/v11/enums/hotel_rate_type.proto"; -import "google/ads/googleads/v11/enums/month_of_year.proto"; -import "google/ads/googleads/v11/enums/placeholder_type.proto"; -import "google/ads/googleads/v11/enums/product_channel.proto"; -import "google/ads/googleads/v11/enums/product_channel_exclusivity.proto"; -import "google/ads/googleads/v11/enums/product_condition.proto"; -import "google/ads/googleads/v11/enums/recommendation_type.proto"; -import "google/ads/googleads/v11/enums/search_engine_results_page_type.proto"; -import "google/ads/googleads/v11/enums/search_term_match_type.proto"; -import "google/ads/googleads/v11/enums/sk_ad_network_ad_event_type.proto"; -import "google/ads/googleads/v11/enums/sk_ad_network_attribution_credit.proto"; -import "google/ads/googleads/v11/enums/sk_ad_network_user_type.proto"; -import "google/ads/googleads/v11/enums/slot.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/common;common"; -option java_multiple_files = true; -option java_outer_classname = "SegmentsProto"; -option java_package = "com.google.ads.googleads.v11.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V11::Common"; - -// Proto file describing segment only fields. - -// Segment only fields. -message Segments { - // Ad Destination type. - google.ads.googleads.v11.enums.AdDestinationTypeEnum.AdDestinationType ad_destination_type = 136; - - // Ad network type. - google.ads.googleads.v11.enums.AdNetworkTypeEnum.AdNetworkType ad_network_type = 3; - - // Domain (visible URL) of a participant in the Auction Insights report. - optional string auction_insight_domain = 145; - - // Budget campaign association status. - BudgetCampaignAssociationStatus budget_campaign_association_status = 134; - - // Click type. - google.ads.googleads.v11.enums.ClickTypeEnum.ClickType click_type = 26; - - // Resource name of the conversion action. - optional string conversion_action = 113 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionAction" - }]; - - // Conversion action category. - google.ads.googleads.v11.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_category = 53; - - // Conversion action name. - optional string conversion_action_name = 114; - - // This segments your conversion columns by the original conversion and - // conversion value versus the delta if conversions were adjusted. False row - // has the data as originally stated; While true row has the delta between - // data now and the data as originally stated. Summing the two together - // results post-adjustment data. - optional bool conversion_adjustment = 115; - - // Conversion attribution event type. - google.ads.googleads.v11.enums.ConversionAttributionEventTypeEnum.ConversionAttributionEventType conversion_attribution_event_type = 2; - - // An enum value representing the number of days between the impression and - // the conversion. - google.ads.googleads.v11.enums.ConversionLagBucketEnum.ConversionLagBucket conversion_lag_bucket = 50; - - // An enum value representing the number of days between the impression and - // the conversion or between the impression and adjustments to the conversion. - google.ads.googleads.v11.enums.ConversionOrAdjustmentLagBucketEnum.ConversionOrAdjustmentLagBucket conversion_or_adjustment_lag_bucket = 51; - - // Date to which metrics apply. - // yyyy-MM-dd format, for example, 2018-04-17. - optional string date = 79; - - // Day of the week, for example, MONDAY. - google.ads.googleads.v11.enums.DayOfWeekEnum.DayOfWeek day_of_week = 5; - - // Device to which metrics apply. - google.ads.googleads.v11.enums.DeviceEnum.Device device = 1; - - // External conversion source. - google.ads.googleads.v11.enums.ExternalConversionSourceEnum.ExternalConversionSource external_conversion_source = 55; - - // Resource name of the geo target constant that represents an airport. - optional string geo_target_airport = 116; - - // Resource name of the geo target constant that represents a canton. - optional string geo_target_canton = 117; - - // Resource name of the geo target constant that represents a city. - optional string geo_target_city = 118; - - // Resource name of the geo target constant that represents a country. - optional string geo_target_country = 119; - - // Resource name of the geo target constant that represents a county. - optional string geo_target_county = 120; - - // Resource name of the geo target constant that represents a district. - optional string geo_target_district = 121; - - // Resource name of the geo target constant that represents a metro. - optional string geo_target_metro = 122; - - // Resource name of the geo target constant that represents the most - // specific location. - optional string geo_target_most_specific_location = 123; - - // Resource name of the geo target constant that represents a postal code. - optional string geo_target_postal_code = 124; - - // Resource name of the geo target constant that represents a province. - optional string geo_target_province = 125; - - // Resource name of the geo target constant that represents a region. - optional string geo_target_region = 126; - - // Resource name of the geo target constant that represents a state. - optional string geo_target_state = 127; - - // Hotel booking window in days. - optional int64 hotel_booking_window_days = 135; - - // Hotel center ID. - optional int64 hotel_center_id = 80; - - // Hotel check-in date. Formatted as yyyy-MM-dd. - optional string hotel_check_in_date = 81; - - // Hotel check-in day of week. - google.ads.googleads.v11.enums.DayOfWeekEnum.DayOfWeek hotel_check_in_day_of_week = 9; - - // Hotel city. - optional string hotel_city = 82; - - // Hotel class. - optional int32 hotel_class = 83; - - // Hotel country. - optional string hotel_country = 84; - - // Hotel date selection type. - google.ads.googleads.v11.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType hotel_date_selection_type = 13; - - // Hotel length of stay. - optional int32 hotel_length_of_stay = 85; - - // Hotel rate rule ID. - optional string hotel_rate_rule_id = 86; - - // Hotel rate type. - google.ads.googleads.v11.enums.HotelRateTypeEnum.HotelRateType hotel_rate_type = 74; - - // Hotel price bucket. - google.ads.googleads.v11.enums.HotelPriceBucketEnum.HotelPriceBucket hotel_price_bucket = 78; - - // Hotel state. - optional string hotel_state = 87; - - // Hour of day as a number between 0 and 23, inclusive. - optional int32 hour = 88; - - // Only used with feed item metrics. - // Indicates whether the interaction metrics occurred on the feed item itself - // or a different extension or ad unit. - optional bool interaction_on_this_extension = 89; - - // Keyword criterion. - Keyword keyword = 61; - - // Month as represented by the date of the first day of a month. Formatted as - // yyyy-MM-dd. - optional string month = 90; - - // Month of the year, for example, January. - google.ads.googleads.v11.enums.MonthOfYearEnum.MonthOfYear month_of_year = 18; - - // Partner hotel ID. - optional string partner_hotel_id = 91; - - // Placeholder type. This is only used with feed item metrics. - google.ads.googleads.v11.enums.PlaceholderTypeEnum.PlaceholderType placeholder_type = 20; - - // Aggregator ID of the product. - optional int64 product_aggregator_id = 132; - - // Bidding category (level 1) of the product. - optional string product_bidding_category_level1 = 92; - - // Bidding category (level 2) of the product. - optional string product_bidding_category_level2 = 93; - - // Bidding category (level 3) of the product. - optional string product_bidding_category_level3 = 94; - - // Bidding category (level 4) of the product. - optional string product_bidding_category_level4 = 95; - - // Bidding category (level 5) of the product. - optional string product_bidding_category_level5 = 96; - - // Brand of the product. - optional string product_brand = 97; - - // Channel of the product. - google.ads.googleads.v11.enums.ProductChannelEnum.ProductChannel product_channel = 30; - - // Channel exclusivity of the product. - google.ads.googleads.v11.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity product_channel_exclusivity = 31; - - // Condition of the product. - google.ads.googleads.v11.enums.ProductConditionEnum.ProductCondition product_condition = 32; - - // Resource name of the geo target constant for the country of sale of the - // product. - optional string product_country = 98; - - // Custom attribute 0 of the product. - optional string product_custom_attribute0 = 99; - - // Custom attribute 1 of the product. - optional string product_custom_attribute1 = 100; - - // Custom attribute 2 of the product. - optional string product_custom_attribute2 = 101; - - // Custom attribute 3 of the product. - optional string product_custom_attribute3 = 102; - - // Custom attribute 4 of the product. - optional string product_custom_attribute4 = 103; - - // Item ID of the product. - optional string product_item_id = 104; - - // Resource name of the language constant for the language of the product. - optional string product_language = 105; - - // Merchant ID of the product. - optional int64 product_merchant_id = 133; - - // Store ID of the product. - optional string product_store_id = 106; - - // Title of the product. - optional string product_title = 107; - - // Type (level 1) of the product. - optional string product_type_l1 = 108; - - // Type (level 2) of the product. - optional string product_type_l2 = 109; - - // Type (level 3) of the product. - optional string product_type_l3 = 110; - - // Type (level 4) of the product. - optional string product_type_l4 = 111; - - // Type (level 5) of the product. - optional string product_type_l5 = 112; - - // Quarter as represented by the date of the first day of a quarter. - // Uses the calendar year for quarters, for example, the second quarter of - // 2018 starts on 2018-04-01. Formatted as yyyy-MM-dd. - optional string quarter = 128; - - // Recommendation type. - google.ads.googleads.v11.enums.RecommendationTypeEnum.RecommendationType recommendation_type = 140; - - // Type of the search engine results page. - google.ads.googleads.v11.enums.SearchEngineResultsPageTypeEnum.SearchEngineResultsPageType search_engine_results_page_type = 70; - - // Match type of the keyword that triggered the ad, including variants. - google.ads.googleads.v11.enums.SearchTermMatchTypeEnum.SearchTermMatchType search_term_match_type = 22; - - // Position of the ad. - google.ads.googleads.v11.enums.SlotEnum.Slot slot = 23; - - // Primary dimension of applied conversion value rules. - // NO_RULE_APPLIED shows the total recorded value of conversions that - // do not have a value rule applied. - // ORIGINAL shows the original value of conversions to which a value rule - // has been applied. - // GEO_LOCATION, DEVICE, AUDIENCE show the net adjustment after value - // rules were applied. - google.ads.googleads.v11.enums.ConversionValueRulePrimaryDimensionEnum.ConversionValueRulePrimaryDimension conversion_value_rule_primary_dimension = 138; - - // Resource name of the ad group criterion that represents webpage criterion. - optional string webpage = 129; - - // Week as defined as Monday through Sunday, and represented by the date of - // Monday. Formatted as yyyy-MM-dd. - optional string week = 130; - - // Year, formatted as yyyy. - optional int32 year = 131; - - // iOS Store Kit Ad Network conversion value. - // Null value means this segment is not applicable, for example, non-iOS - // campaign. - optional int64 sk_ad_network_conversion_value = 137; - - // iOS Store Kit Ad Network user type. - google.ads.googleads.v11.enums.SkAdNetworkUserTypeEnum.SkAdNetworkUserType sk_ad_network_user_type = 141; - - // iOS Store Kit Ad Network ad event type. - google.ads.googleads.v11.enums.SkAdNetworkAdEventTypeEnum.SkAdNetworkAdEventType sk_ad_network_ad_event_type = 142; - - // App where the ad that drove the iOS Store Kit Ad Network install was - // shown. Null value means this segment is not applicable, for example, - // non-iOS campaign, or was not present in any postbacks sent by Apple. - optional SkAdNetworkSourceApp sk_ad_network_source_app = 143; - - // iOS Store Kit Ad Network attribution credit - google.ads.googleads.v11.enums.SkAdNetworkAttributionCreditEnum.SkAdNetworkAttributionCredit sk_ad_network_attribution_credit = 144; - - // Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. - // Indicates whether the interaction metrics occurred on the asset itself - // or a different asset or ad unit. - // Interactions (for example, clicks) are counted across all the parts of the - // served ad (for example, Ad itself and other components like Sitelinks) when - // they are served together. When interaction_on_this_asset is true, it means - // the interactions are on this specific asset and when - // interaction_on_this_asset is false, it means the interactions is not on - // this specific asset but on other parts of the served ad this asset is - // served with. - optional AssetInteractionTarget asset_interaction_target = 139; -} - -// A Keyword criterion segment. -message Keyword { - // The AdGroupCriterion resource name. - optional string ad_group_criterion = 3; - - // Keyword info. - KeywordInfo info = 2; -} - -// A BudgetCampaignAssociationStatus segment. -message BudgetCampaignAssociationStatus { - // The campaign resource name. - optional string campaign = 1; - - // Budget campaign association status. - google.ads.googleads.v11.enums.BudgetCampaignAssociationStatusEnum.BudgetCampaignAssociationStatus status = 2; -} - -// An AssetInteractionTarget segment. -message AssetInteractionTarget { - // The asset resource name. - string asset = 1; - - // Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. - // Indicates whether the interaction metrics occurred on the asset itself or a - // different asset or ad unit. - bool interaction_on_this_asset = 2; -} - -// A SkAdNetworkSourceApp segment. -message SkAdNetworkSourceApp { - // App id where the ad that drove the iOS Store Kit Ad Network install was - // shown. - optional string sk_ad_network_source_app_id = 1; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/common/simulation.proto b/third_party/googleapis/google/ads/googleads/v11/common/simulation.proto deleted file mode 100644 index af2270053..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/common/simulation.proto +++ /dev/null @@ -1,356 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.common; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/common;common"; -option java_multiple_files = true; -option java_outer_classname = "SimulationProto"; -option java_package = "com.google.ads.googleads.v11.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V11::Common"; - -// Proto file describing simulation points. - -// A container for simulation points for simulations of type BID_MODIFIER. -message BidModifierSimulationPointList { - // Projected metrics for a series of bid modifier amounts. - repeated BidModifierSimulationPoint points = 1; -} - -// A container for simulation points for simulations of type CPC_BID. -message CpcBidSimulationPointList { - // Projected metrics for a series of CPC bid amounts. - repeated CpcBidSimulationPoint points = 1; -} - -// A container for simulation points for simulations of type CPV_BID. -message CpvBidSimulationPointList { - // Projected metrics for a series of CPV bid amounts. - repeated CpvBidSimulationPoint points = 1; -} - -// A container for simulation points for simulations of type TARGET_CPA. -message TargetCpaSimulationPointList { - // Projected metrics for a series of target CPA amounts. - repeated TargetCpaSimulationPoint points = 1; -} - -// A container for simulation points for simulations of type TARGET_ROAS. -message TargetRoasSimulationPointList { - // Projected metrics for a series of target ROAS amounts. - repeated TargetRoasSimulationPoint points = 1; -} - -// A container for simulation points for simulations of type PERCENT_CPC_BID. -message PercentCpcBidSimulationPointList { - // Projected metrics for a series of percent CPC bid amounts. - repeated PercentCpcBidSimulationPoint points = 1; -} - -// A container for simulation points for simulations of type BUDGET. -message BudgetSimulationPointList { - // Projected metrics for a series of budget amounts. - repeated BudgetSimulationPoint points = 1; -} - -// A container for simulation points for simulations of type -// TARGET_IMPRESSION_SHARE. -message TargetImpressionShareSimulationPointList { - // Projected metrics for a specific target impression share value. - repeated TargetImpressionShareSimulationPoint points = 1; -} - -// Projected metrics for a specific bid modifier amount. -message BidModifierSimulationPoint { - // The simulated bid modifier upon which projected metrics are based. - optional double bid_modifier = 15; - - // Projected number of biddable conversions. - // Only search advertising channel type supports this field. - optional double biddable_conversions = 16; - - // Projected total value of biddable conversions. - // Only search advertising channel type supports this field. - optional double biddable_conversions_value = 17; - - // Projected number of clicks. - optional int64 clicks = 18; - - // Projected cost in micros. - optional int64 cost_micros = 19; - - // Projected number of impressions. - optional int64 impressions = 20; - - // Projected number of top slot impressions. - // Only search advertising channel type supports this field. - optional int64 top_slot_impressions = 21; - - // Projected number of biddable conversions for the parent resource. - // Only search advertising channel type supports this field. - optional double parent_biddable_conversions = 22; - - // Projected total value of biddable conversions for the parent resource. - // Only search advertising channel type supports this field. - optional double parent_biddable_conversions_value = 23; - - // Projected number of clicks for the parent resource. - optional int64 parent_clicks = 24; - - // Projected cost in micros for the parent resource. - optional int64 parent_cost_micros = 25; - - // Projected number of impressions for the parent resource. - optional int64 parent_impressions = 26; - - // Projected number of top slot impressions for the parent resource. - // Only search advertising channel type supports this field. - optional int64 parent_top_slot_impressions = 27; - - // Projected minimum daily budget that must be available to the parent - // resource to realize this simulation. - optional int64 parent_required_budget_micros = 28; -} - -// Projected metrics for a specific CPC bid amount. -message CpcBidSimulationPoint { - // Projected required daily budget that the advertiser must set in order to - // receive the estimated traffic, in micros of advertiser currency. - int64 required_budget_amount_micros = 17; - - // Projected number of biddable conversions. - optional double biddable_conversions = 9; - - // Projected total value of biddable conversions. - optional double biddable_conversions_value = 10; - - // Projected number of clicks. - optional int64 clicks = 11; - - // Projected cost in micros. - optional int64 cost_micros = 12; - - // Projected number of impressions. - optional int64 impressions = 13; - - // Projected number of top slot impressions. - // Only search advertising channel type supports this field. - optional int64 top_slot_impressions = 14; - - // When SimulationModificationMethod = UNIFORM or DEFAULT, - // cpc_bid_micros is set. - // When SimulationModificationMethod = SCALING, - // cpc_bid_scaling_modifier is set. - oneof cpc_simulation_key_value { - // The simulated CPC bid upon which projected metrics are based. - int64 cpc_bid_micros = 15; - - // The simulated scaling modifier upon which projected metrics are based. - // All CPC bids relevant to the simulated entity are scaled by this - // modifier. - double cpc_bid_scaling_modifier = 16; - } -} - -// Projected metrics for a specific CPV bid amount. -message CpvBidSimulationPoint { - // The simulated CPV bid upon which projected metrics are based. - optional int64 cpv_bid_micros = 5; - - // Projected cost in micros. - optional int64 cost_micros = 6; - - // Projected number of impressions. - optional int64 impressions = 7; - - // Projected number of views. - optional int64 views = 8; -} - -// Projected metrics for a specific target CPA amount. -message TargetCpaSimulationPoint { - // Projected required daily budget that the advertiser must set in order to - // receive the estimated traffic, in micros of advertiser currency. - int64 required_budget_amount_micros = 19; - - // Projected number of biddable conversions. - optional double biddable_conversions = 9; - - // Projected total value of biddable conversions. - optional double biddable_conversions_value = 10; - - // Projected number of app installs. - double app_installs = 15; - - // Projected number of in-app actions. - double in_app_actions = 16; - - // Projected number of clicks. - optional int64 clicks = 11; - - // Projected cost in micros. - optional int64 cost_micros = 12; - - // Projected number of impressions. - optional int64 impressions = 13; - - // Projected number of top slot impressions. - // Only search advertising channel type supports this field. - optional int64 top_slot_impressions = 14; - - // When SimulationModificationMethod = UNIFORM or DEFAULT, - // target_cpa_micros is set. - // When SimulationModificationMethod = SCALING, - // target_cpa_scaling_modifier is set. - oneof target_cpa_simulation_key_value { - // The simulated target CPA upon which projected metrics are based. - int64 target_cpa_micros = 17; - - // The simulated scaling modifier upon which projected metrics are based. - // All CPA targets relevant to the simulated entity are scaled by this - // modifier. - double target_cpa_scaling_modifier = 18; - } -} - -// Projected metrics for a specific target ROAS amount. -message TargetRoasSimulationPoint { - // The simulated target ROAS upon which projected metrics are based. - optional double target_roas = 8; - - // Projected required daily budget that the advertiser must set in order to - // receive the estimated traffic, in micros of advertiser currency. - int64 required_budget_amount_micros = 15; - - // Projected number of biddable conversions. - optional double biddable_conversions = 9; - - // Projected total value of biddable conversions. - optional double biddable_conversions_value = 10; - - // Projected number of clicks. - optional int64 clicks = 11; - - // Projected cost in micros. - optional int64 cost_micros = 12; - - // Projected number of impressions. - optional int64 impressions = 13; - - // Projected number of top slot impressions. - // Only Search advertising channel type supports this field. - optional int64 top_slot_impressions = 14; -} - -// Projected metrics for a specific percent CPC amount. Only Hotel advertising -// channel type supports this field. -message PercentCpcBidSimulationPoint { - // The simulated percent CPC upon which projected metrics are based. Percent - // CPC expressed as fraction of the advertised price for some good or service. - // The value stored here is 1,000,000 * [fraction]. - optional int64 percent_cpc_bid_micros = 1; - - // Projected number of biddable conversions. - optional double biddable_conversions = 2; - - // Projected total value of biddable conversions in local currency. - optional double biddable_conversions_value = 3; - - // Projected number of clicks. - optional int64 clicks = 4; - - // Projected cost in micros. - optional int64 cost_micros = 5; - - // Projected number of impressions. - optional int64 impressions = 6; - - // Projected number of top slot impressions. - optional int64 top_slot_impressions = 7; -} - -// Projected metrics for a specific budget amount. -message BudgetSimulationPoint { - // The simulated budget upon which projected metrics are based. - int64 budget_amount_micros = 1; - - // Projected required daily cpc bid ceiling that the advertiser must set to - // realize this simulation, in micros of the advertiser currency. - // Only campaigns with the Target Spend bidding strategy support this field. - int64 required_cpc_bid_ceiling_micros = 2; - - // Projected number of biddable conversions. - double biddable_conversions = 3; - - // Projected total value of biddable conversions. - double biddable_conversions_value = 4; - - // Projected number of clicks. - int64 clicks = 5; - - // Projected cost in micros. - int64 cost_micros = 6; - - // Projected number of impressions. - int64 impressions = 7; - - // Projected number of top slot impressions. - // Only search advertising channel type supports this field. - int64 top_slot_impressions = 8; -} - -// Projected metrics for a specific target impression share value. -message TargetImpressionShareSimulationPoint { - // The simulated target impression share value (in micros) upon which - // projected metrics are based. - // For example, 10% impression share, which is equal to 0.1, is stored as - // 100_000. This value is validated and will not exceed 1M (100%). - int64 target_impression_share_micros = 1; - - // Projected required daily cpc bid ceiling that the advertiser must set to - // realize this simulation, in micros of the advertiser currency. - int64 required_cpc_bid_ceiling_micros = 2; - - // Projected required daily budget that the advertiser must set in order to - // receive the estimated traffic, in micros of advertiser currency. - int64 required_budget_amount_micros = 3; - - // Projected number of biddable conversions. - double biddable_conversions = 4; - - // Projected total value of biddable conversions. - double biddable_conversions_value = 5; - - // Projected number of clicks. - int64 clicks = 6; - - // Projected cost in micros. - int64 cost_micros = 7; - - // Projected number of impressions. - int64 impressions = 8; - - // Projected number of top slot impressions. - // Only search advertising channel type supports this field. - int64 top_slot_impressions = 9; - - // Projected number of absolute top impressions. - // Only search advertising channel type supports this field. - int64 absolute_top_impressions = 10; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/common/tag_snippet.proto b/third_party/googleapis/google/ads/googleads/v11/common/tag_snippet.proto deleted file mode 100644 index 74d4363fe..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/common/tag_snippet.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.common; - -import "google/ads/googleads/v11/enums/tracking_code_page_format.proto"; -import "google/ads/googleads/v11/enums/tracking_code_type.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/common;common"; -option java_multiple_files = true; -option java_outer_classname = "TagSnippetProto"; -option java_package = "com.google.ads.googleads.v11.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V11::Common"; - -// Proto file describing TagSnippet - -// The site tag and event snippet pair for a TrackingCodeType. -message TagSnippet { - // The type of the generated tag snippets for tracking conversions. - google.ads.googleads.v11.enums.TrackingCodeTypeEnum.TrackingCodeType type = 1; - - // The format of the web page where the tracking tag and snippet will be - // installed, for example, HTML. - google.ads.googleads.v11.enums.TrackingCodePageFormatEnum.TrackingCodePageFormat page_format = 2; - - // The site tag that adds visitors to your basic remarketing lists and sets - // new cookies on your domain. - optional string global_site_tag = 5; - - // The event snippet that works with the site tag to track actions that - // should be counted as conversions. - optional string event_snippet = 6; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/common/targeting_setting.proto b/third_party/googleapis/google/ads/googleads/v11/common/targeting_setting.proto deleted file mode 100644 index b3468d2f4..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/common/targeting_setting.proto +++ /dev/null @@ -1,84 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.common; - -import "google/ads/googleads/v11/enums/targeting_dimension.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/common;common"; -option java_multiple_files = true; -option java_outer_classname = "TargetingSettingProto"; -option java_package = "com.google.ads.googleads.v11.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V11::Common"; - -// Proto file describing TargetingSetting - -// Settings for the targeting-related features, at the campaign and ad group -// levels. For more details about the targeting setting, visit -// https://support.google.com/google-ads/answer/7365594 -message TargetingSetting { - // The per-targeting-dimension setting to restrict the reach of your campaign - // or ad group. - repeated TargetRestriction target_restrictions = 1; - - // The list of operations changing the target restrictions. - // - // Adding a target restriction with a targeting dimension that already exists - // causes the existing target restriction to be replaced with the new value. - repeated TargetRestrictionOperation target_restriction_operations = 2; -} - -// The list of per-targeting-dimension targeting settings. -message TargetRestriction { - // The targeting dimension that these settings apply to. - google.ads.googleads.v11.enums.TargetingDimensionEnum.TargetingDimension targeting_dimension = 1; - - // Indicates whether to restrict your ads to show only for the criteria you - // have selected for this targeting_dimension, or to target all values for - // this targeting_dimension and show ads based on your targeting in other - // TargetingDimensions. A value of `true` means that these criteria will only - // apply bid modifiers, and not affect targeting. A value of `false` means - // that these criteria will restrict targeting as well as applying bid - // modifiers. - optional bool bid_only = 3; -} - -// Operation to be performed on a target restriction list in a mutate. -message TargetRestrictionOperation { - // The operator. - enum Operator { - // Unspecified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Add the restriction to the existing restrictions. - ADD = 2; - - // Remove the restriction from the existing restrictions. - REMOVE = 3; - } - - // Type of list operation to perform. - Operator operator = 1; - - // The target restriction being added to or removed from the list. - TargetRestriction value = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/common/text_label.proto b/third_party/googleapis/google/ads/googleads/v11/common/text_label.proto deleted file mode 100644 index 0ce104509..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/common/text_label.proto +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.common; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/common;common"; -option java_multiple_files = true; -option java_outer_classname = "TextLabelProto"; -option java_package = "com.google.ads.googleads.v11.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V11::Common"; - -// A type of label displaying text on a colored background. -message TextLabel { - // Background color of the label in RGB format. This string must match the - // regular expression '^\#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$'. - // Note: The background color may not be visible for manager accounts. - optional string background_color = 3; - - // A short description of the label. The length must be no more than 200 - // characters. - optional string description = 4; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/common/url_collection.proto b/third_party/googleapis/google/ads/googleads/v11/common/url_collection.proto deleted file mode 100644 index f1918b80f..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/common/url_collection.proto +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.common; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/common;common"; -option java_multiple_files = true; -option java_outer_classname = "UrlCollectionProto"; -option java_package = "com.google.ads.googleads.v11.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V11::Common"; - -// Proto file UrlCollection type. - -// Collection of urls that is tagged with a unique identifier. -message UrlCollection { - // Unique identifier for this UrlCollection instance. - optional string url_collection_id = 5; - - // A list of possible final URLs. - repeated string final_urls = 6; - - // A list of possible final mobile URLs. - repeated string final_mobile_urls = 7; - - // URL template for constructing a tracking URL. - optional string tracking_url_template = 8; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/common/user_lists.proto b/third_party/googleapis/google/ads/googleads/v11/common/user_lists.proto deleted file mode 100644 index 4c5ba7134..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/common/user_lists.proto +++ /dev/null @@ -1,292 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.common; - -import "google/ads/googleads/v11/enums/customer_match_upload_key_type.proto"; -import "google/ads/googleads/v11/enums/user_list_combined_rule_operator.proto"; -import "google/ads/googleads/v11/enums/user_list_crm_data_source_type.proto"; -import "google/ads/googleads/v11/enums/user_list_date_rule_item_operator.proto"; -import "google/ads/googleads/v11/enums/user_list_flexible_rule_operator.proto"; -import "google/ads/googleads/v11/enums/user_list_logical_rule_operator.proto"; -import "google/ads/googleads/v11/enums/user_list_number_rule_item_operator.proto"; -import "google/ads/googleads/v11/enums/user_list_prepopulation_status.proto"; -import "google/ads/googleads/v11/enums/user_list_rule_type.proto"; -import "google/ads/googleads/v11/enums/user_list_string_rule_item_operator.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/common;common"; -option java_multiple_files = true; -option java_outer_classname = "UserListsProto"; -option java_package = "com.google.ads.googleads.v11.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V11::Common"; - -// Proto file describing user list types. - -// SimilarUserList is a list of users which are similar to users from another -// UserList. These lists are read-only and automatically created by Google. -message SimilarUserListInfo { - // Seed UserList from which this list is derived. - optional string seed_user_list = 2; -} - -// UserList of CRM users provided by the advertiser. -message CrmBasedUserListInfo { - // A string that uniquely identifies a mobile application from which the data - // was collected. - // For iOS, the ID string is the 9 digit string that appears at the end of an - // App Store URL (for example, "476943146" for "Flood-It! 2" whose App Store - // link is http://itunes.apple.com/us/app/flood-it!-2/id476943146). For - // Android, the ID string is the application's package name (for example, - // "com.labpixies.colordrips" for "Color Drips" given Google Play link - // https://play.google.com/store/apps/details?id=com.labpixies.colordrips). - // Required when creating CrmBasedUserList for uploading mobile advertising - // IDs. - optional string app_id = 4; - - // Matching key type of the list. - // Mixed data types are not allowed on the same list. - // This field is required for an ADD operation. - google.ads.googleads.v11.enums.CustomerMatchUploadKeyTypeEnum.CustomerMatchUploadKeyType upload_key_type = 2; - - // Data source of the list. Default value is FIRST_PARTY. - // Only customers on the allow-list can create third-party sourced CRM lists. - google.ads.googleads.v11.enums.UserListCrmDataSourceTypeEnum.UserListCrmDataSourceType data_source_type = 3; -} - -// A client defined rule based on custom parameters sent by web sites or -// uploaded by the advertiser. -message UserListRuleInfo { - // Rule type is used to determine how to group rule items. - // - // The default is OR of ANDs (disjunctive normal form). - // That is, rule items will be ANDed together within rule item groups and the - // groups themselves will be ORed together. - // - // Currently AND of ORs (conjunctive normal form) is only supported for - // ExpressionRuleUserList. - google.ads.googleads.v11.enums.UserListRuleTypeEnum.UserListRuleType rule_type = 1; - - // List of rule item groups that defines this rule. - // Rule item groups are grouped together based on rule_type. - repeated UserListRuleItemGroupInfo rule_item_groups = 2; -} - -// A group of rule items. -message UserListRuleItemGroupInfo { - // Rule items that will be grouped together based on rule_type. - repeated UserListRuleItemInfo rule_items = 1; -} - -// An atomic rule item. -message UserListRuleItemInfo { - // Rule variable name. It should match the corresponding key name fired - // by the pixel. - // A name must begin with US-ascii letters or underscore or UTF8 code that is - // greater than 127 and consist of US-ascii letters or digits or underscore or - // UTF8 code that is greater than 127. - // For websites, there are two built-in variable URL (name = 'url__') and - // referrer URL (name = 'ref_url__'). - // This field must be populated when creating a new rule item. - optional string name = 5; - - // An atomic rule item. - oneof rule_item { - // An atomic rule item composed of a number operation. - UserListNumberRuleItemInfo number_rule_item = 2; - - // An atomic rule item composed of a string operation. - UserListStringRuleItemInfo string_rule_item = 3; - - // An atomic rule item composed of a date operation. - UserListDateRuleItemInfo date_rule_item = 4; - } -} - -// A rule item composed of a date operation. -message UserListDateRuleItemInfo { - // Date comparison operator. - // This field is required and must be populated when creating new date - // rule item. - google.ads.googleads.v11.enums.UserListDateRuleItemOperatorEnum.UserListDateRuleItemOperator operator = 1; - - // String representing date value to be compared with the rule variable. - // Supported date format is YYYY-MM-DD. - // Times are reported in the customer's time zone. - optional string value = 4; - - // The relative date value of the right hand side denoted by number of days - // offset from now. The value field will override this field when both are - // present. - optional int64 offset_in_days = 5; -} - -// A rule item composed of a number operation. -message UserListNumberRuleItemInfo { - // Number comparison operator. - // This field is required and must be populated when creating a new number - // rule item. - google.ads.googleads.v11.enums.UserListNumberRuleItemOperatorEnum.UserListNumberRuleItemOperator operator = 1; - - // Number value to be compared with the variable. - // This field is required and must be populated when creating a new number - // rule item. - optional double value = 3; -} - -// A rule item composed of a string operation. -message UserListStringRuleItemInfo { - // String comparison operator. - // This field is required and must be populated when creating a new string - // rule item. - google.ads.googleads.v11.enums.UserListStringRuleItemOperatorEnum.UserListStringRuleItemOperator operator = 1; - - // The right hand side of the string rule item. For URLs or referrer URLs, - // the value can not contain illegal URL chars such as newlines, quotes, - // tabs, or parentheses. This field is required and must be populated when - // creating a new string rule item. - optional string value = 3; -} - -// User lists defined by combining two rules, left operand and right operand. -// There are two operators: AND where left operand and right operand have to be -// true; AND_NOT where left operand is true but right operand is false. -message CombinedRuleUserListInfo { - // Left operand of the combined rule. - // This field is required and must be populated when creating new combined - // rule based user list. - UserListRuleInfo left_operand = 1; - - // Right operand of the combined rule. - // This field is required and must be populated when creating new combined - // rule based user list. - UserListRuleInfo right_operand = 2; - - // Operator to connect the two operands. - // - // Required for creating a combined rule user list. - google.ads.googleads.v11.enums.UserListCombinedRuleOperatorEnum.UserListCombinedRuleOperator rule_operator = 3; -} - -// Visitors of a page. The page visit is defined by one boolean rule expression. -message ExpressionRuleUserListInfo { - // Boolean rule that defines this user list. The rule consists of a list of - // rule item groups and each rule item group consists of a list of rule items. - // All the rule item groups are ORed or ANDed together for evaluation based on - // rule.rule_type. - // - // Required for creating an expression rule user list. - UserListRuleInfo rule = 1; -} - -// Flexible rule that wraps the common rule and a lookback window. -message FlexibleRuleOperandInfo { - // List of rule item groups that defines this rule. - // Rule item groups are grouped together. - UserListRuleInfo rule = 1; - - // Lookback window for this rule in days. From now until X days ago. - optional int64 lookback_window_days = 2; -} - -// Flexible rule representation of visitors with one or multiple actions. -message FlexibleRuleUserListInfo { - // Operator that defines how the inclusive operands are combined. - google.ads.googleads.v11.enums.UserListFlexibleRuleOperatorEnum.UserListFlexibleRuleOperator inclusive_rule_operator = 1; - - // Actions that are located on the inclusive side. - // These are joined together by either AND/OR as specified by the - // inclusive_rule_operator. - repeated FlexibleRuleOperandInfo inclusive_operands = 2; - - // Actions that are located on the exclusive side. - // These are joined together with OR. - repeated FlexibleRuleOperandInfo exclusive_operands = 3; -} - -// Representation of a userlist that is generated by a rule. -message RuleBasedUserListInfo { - // The status of pre-population. The field is default to NONE if not set which - // means the previous users will not be considered. If set to REQUESTED, past - // site visitors or app users who match the list definition will be included - // in the list (works on the Display Network only). This will only - // add past users from within the last 30 days, depending on the - // list's membership duration and the date when the remarketing tag is added. - // The status will be updated to FINISHED once request is processed, or FAILED - // if the request fails. - google.ads.googleads.v11.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus prepopulation_status = 1; - - // Flexible rule representation of visitors with one or multiple actions. - FlexibleRuleUserListInfo flexible_rule_user_list = 5; - - // Subtypes of rule based user lists. - oneof rule_based_user_list { - // User lists defined by combining two rules. - // There are two operators: AND, where the left and right operands have to - // be true; AND_NOT where left operand is true but right operand is false. - CombinedRuleUserListInfo combined_rule_user_list = 2; - - // Visitors of a page. The page visit is defined by one boolean rule - // expression. - ExpressionRuleUserListInfo expression_rule_user_list = 4; - } -} - -// Represents a user list that is a custom combination of user lists. -message LogicalUserListInfo { - // Logical list rules that define this user list. The rules are defined as a - // logical operator (ALL/ANY/NONE) and a list of user lists. All the rules are - // ANDed when they are evaluated. - // - // Required for creating a logical user list. - repeated UserListLogicalRuleInfo rules = 1; -} - -// A user list logical rule. A rule has a logical operator (and/or/not) and a -// list of user lists as operands. -message UserListLogicalRuleInfo { - // The logical operator of the rule. - google.ads.googleads.v11.enums.UserListLogicalRuleOperatorEnum.UserListLogicalRuleOperator operator = 1; - - // The list of operands of the rule. - repeated LogicalUserListOperandInfo rule_operands = 2; -} - -// Operand of logical user list that consists of a user list. -message LogicalUserListOperandInfo { - // Resource name of a user list as an operand. - optional string user_list = 2; -} - -// User list targeting as a collection of conversions or remarketing actions. -message BasicUserListInfo { - // Actions associated with this user list. - repeated UserListActionInfo actions = 1; -} - -// Represents an action type used for building remarketing user lists. -message UserListActionInfo { - // Subtypes of user list action. - oneof user_list_action { - // A conversion action that's not generated from remarketing. - string conversion_action = 3; - - // A remarketing action. - string remarketing_action = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v11/common/value.proto b/third_party/googleapis/google/ads/googleads/v11/common/value.proto deleted file mode 100644 index 982957a2f..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/common/value.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.common; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/common;common"; -option java_multiple_files = true; -option java_outer_classname = "ValueProto"; -option java_package = "com.google.ads.googleads.v11.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V11::Common"; - -// Proto file describing value types. - -// A generic data container. -message Value { - // A value. - oneof value { - // A boolean. - bool boolean_value = 1; - - // An int64. - int64 int64_value = 2; - - // A float. - float float_value = 3; - - // A double. - double double_value = 4; - - // A string. - string string_value = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/BUILD.bazel b/third_party/googleapis/google/ads/googleads/v11/enums/BUILD.bazel deleted file mode 100644 index 01a51ee0b..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/BUILD.bazel +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 2020 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -package(default_visibility = ["//visibility:public"]) - -############################################################################## -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") - -# TODO(ohren): Change srcs to use an enumeration of each individual proto -# instead of *.proto globbing once the build file generator supports subpackages. -proto_library( - name = "enums_proto", - srcs = glob(["*.proto"]), - deps = [ - "//google/api:annotations_proto", - ], -) - -############################################################################## -# Java -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "java_proto_library", -) - -java_proto_library( - name = "enums_java_proto", - deps = [":enums_proto"], -) - -############################################################################## -# PHP -############################################################################## - -# PHP targets are in the parent directory's BUILD.bazel file to facilitate -# aggregating metadata using a single underlying call to protoc. - -############################################################################## -# C# -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "csharp_proto_library", -) - -csharp_proto_library( - name = "enums_csharp_proto", - deps = [":enums_proto"], -) - -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "ruby_proto_library", -) - -ruby_proto_library( - name = "enums_ruby_proto", - deps = [":enums_proto"], -) - -############################################################################## -# Python -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "py_proto_library", -) - -py_proto_library( - name = "enums_py_proto", - deps = [":enums_proto"], -) diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/access_invitation_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/access_invitation_status.proto deleted file mode 100644 index 26654b662..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/access_invitation_status.proto +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AccessInvitationStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing AccessInvitationStatus enum. - -// Container for enum for identifying the status of access invitation -message AccessInvitationStatusEnum { - // Possible access invitation status of a user - enum AccessInvitationStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The initial state of an invitation, before being acted upon by anyone. - PENDING = 2; - - // Invitation process was terminated by the email recipient. No new user was - // created. - DECLINED = 3; - - // Invitation URLs expired without being acted upon. No new user can be - // created. Invitations expire 20 days after creation. - EXPIRED = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/access_reason.proto b/third_party/googleapis/google/ads/googleads/v11/enums/access_reason.proto deleted file mode 100644 index 54f1804ac..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/access_reason.proto +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AccessReasonProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Indicates the way the resource such as user list is related to a user. -message AccessReasonEnum { - // Enum describing possible access reasons. - enum AccessReason { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The resource is owned by the user. - OWNED = 2; - - // The resource is shared to the user. - SHARED = 3; - - // The resource is licensed to the user. - LICENSED = 4; - - // The user subscribed to the resource. - SUBSCRIBED = 5; - - // The resource is accessible to the user. - AFFILIATED = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/access_role.proto b/third_party/googleapis/google/ads/googleads/v11/enums/access_role.proto deleted file mode 100644 index 46bafbb11..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/access_role.proto +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AccessRoleProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Container for enum describing possible access role for user. -message AccessRoleEnum { - // Possible access role of a user. - enum AccessRole { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Owns its account and can control the addition of other users. - ADMIN = 2; - - // Can modify campaigns, but can't affect other users. - STANDARD = 3; - - // Can view campaigns and account changes, but cannot make edits. - READ_ONLY = 4; - - // Role for \"email only\" access. Represents an email recipient rather than - // a true User entity. - EMAIL_ONLY = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/account_budget_proposal_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/account_budget_proposal_status.proto deleted file mode 100644 index 678b157ec..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/account_budget_proposal_status.proto +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AccountBudgetProposalStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing AccountBudgetProposal statuses. - -// Message describing AccountBudgetProposal statuses. -message AccountBudgetProposalStatusEnum { - // The possible statuses of an AccountBudgetProposal. - enum AccountBudgetProposalStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The proposal is pending approval. - PENDING = 2; - - // The proposal has been approved but the corresponding billing setup - // has not. This can occur for proposals that set up the first budget - // when signing up for billing or when performing a change of bill-to - // operation. - APPROVED_HELD = 3; - - // The proposal has been approved. - APPROVED = 4; - - // The proposal has been cancelled by the user. - CANCELLED = 5; - - // The proposal has been rejected by the user, for example, by rejecting an - // acceptance email. - REJECTED = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/account_budget_proposal_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/account_budget_proposal_type.proto deleted file mode 100644 index 965532dea..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/account_budget_proposal_type.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AccountBudgetProposalTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing AccountBudgetProposal types. - -// Message describing AccountBudgetProposal types. -message AccountBudgetProposalTypeEnum { - // The possible types of an AccountBudgetProposal. - enum AccountBudgetProposalType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Identifies a request to create a new budget. - CREATE = 2; - - // Identifies a request to edit an existing budget. - UPDATE = 3; - - // Identifies a request to end a budget that has already started. - END = 4; - - // Identifies a request to remove a budget that hasn't started yet. - REMOVE = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/account_budget_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/account_budget_status.proto deleted file mode 100644 index e1c330733..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/account_budget_status.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AccountBudgetStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing AccountBudget statuses. - -// Message describing AccountBudget statuses. -message AccountBudgetStatusEnum { - // The possible statuses of an AccountBudget. - enum AccountBudgetStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The account budget is pending approval. - PENDING = 2; - - // The account budget has been approved. - APPROVED = 3; - - // The account budget has been cancelled by the user. - CANCELLED = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/account_link_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/account_link_status.proto deleted file mode 100644 index b1f1f7a43..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/account_link_status.proto +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AccountLinkStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Container for enum describing possible statuses of an account link. -message AccountLinkStatusEnum { - // Describes the possible statuses for a link between a Google Ads customer - // and another account. - enum AccountLinkStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The link is enabled. - ENABLED = 2; - - // The link is removed/disabled. - REMOVED = 3; - - // The link to the other account has been requested. A user on the other - // account may now approve the link by setting the status to ENABLED. - REQUESTED = 4; - - // This link has been requested by a user on the other account. It may be - // approved by a user on this account by setting the status to ENABLED. - PENDING_APPROVAL = 5; - - // The link is rejected by the approver. - REJECTED = 6; - - // The link is revoked by the user who requested the link. - REVOKED = 7; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/ad_customizer_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v11/enums/ad_customizer_placeholder_field.proto deleted file mode 100644 index 41695576f..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/ad_customizer_placeholder_field.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdCustomizerPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing Ad Customizer placeholder fields. - -// Values for Ad Customizer placeholder fields. -message AdCustomizerPlaceholderFieldEnum { - // Possible values for Ad Customizers placeholder fields. - enum AdCustomizerPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: INT64. Integer value to be inserted. - INTEGER = 2; - - // Data Type: STRING. Price value to be inserted. - PRICE = 3; - - // Data Type: DATE_TIME. Date value to be inserted. - DATE = 4; - - // Data Type: STRING. String value to be inserted. - STRING = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/ad_destination_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/ad_destination_type.proto deleted file mode 100644 index 0bb0be363..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/ad_destination_type.proto +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdDestinationTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing ad destination types. - -// Container for enumeration of Google Ads destination types. -message AdDestinationTypeEnum { - // Enumerates Google Ads destination types - enum AdDestinationType { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Ads that don't intend to drive users off from ads to other destinations - NOT_APPLICABLE = 2; - - // Website - WEBSITE = 3; - - // App Deep Link - APP_DEEP_LINK = 4; - - // iOS App Store or Play Store - APP_STORE = 5; - - // Call Dialer - PHONE_CALL = 6; - - // Map App - MAP_DIRECTIONS = 7; - - // Location Dedicated Page - LOCATION_LISTING = 8; - - // Text Message - MESSAGE = 9; - - // Lead Generation Form - LEAD_FORM = 10; - - // YouTube - YOUTUBE = 11; - - // Ad Destination for Conversions with keys unknown - UNMODELED_FOR_CONVERSIONS = 12; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/ad_group_ad_rotation_mode.proto b/third_party/googleapis/google/ads/googleads/v11/enums/ad_group_ad_rotation_mode.proto deleted file mode 100644 index 7bde29d36..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/ad_group_ad_rotation_mode.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAdRotationModeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing ad group ad rotation mode. - -// Container for enum describing possible ad rotation modes of ads within an -// ad group. -message AdGroupAdRotationModeEnum { - // The possible ad rotation modes of an ad group. - enum AdGroupAdRotationMode { - // The ad rotation mode has not been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // Optimize ad group ads based on clicks or conversions. - OPTIMIZE = 2; - - // Rotate evenly forever. - ROTATE_FOREVER = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/ad_group_ad_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/ad_group_ad_status.proto deleted file mode 100644 index b3b748f63..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/ad_group_ad_status.proto +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAdStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing ad group status. - -// Container for enum describing possible statuses of an AdGroupAd. -message AdGroupAdStatusEnum { - // The possible statuses of an AdGroupAd. - enum AdGroupAdStatus { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // The ad group ad is enabled. - ENABLED = 2; - - // The ad group ad is paused. - PAUSED = 3; - - // The ad group ad is removed. - REMOVED = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/ad_group_criterion_approval_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/ad_group_criterion_approval_status.proto deleted file mode 100644 index 952718387..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/ad_group_criterion_approval_status.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionApprovalStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing approval status for the criterion. - -// Container for enum describing possible AdGroupCriterion approval statuses. -message AdGroupCriterionApprovalStatusEnum { - // Enumerates AdGroupCriterion approval statuses. - enum AdGroupCriterionApprovalStatus { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Approved. - APPROVED = 2; - - // Disapproved. - DISAPPROVED = 3; - - // Pending Review. - PENDING_REVIEW = 4; - - // Under review. - UNDER_REVIEW = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/ad_group_criterion_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/ad_group_criterion_status.proto deleted file mode 100644 index 7bb9ba50f..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/ad_group_criterion_status.proto +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing AdGroupCriterion statuses. - -// Message describing AdGroupCriterion statuses. -message AdGroupCriterionStatusEnum { - // The possible statuses of an AdGroupCriterion. - enum AdGroupCriterionStatus { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // The ad group criterion is enabled. - ENABLED = 2; - - // The ad group criterion is paused. - PAUSED = 3; - - // The ad group criterion is removed. - REMOVED = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/ad_group_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/ad_group_status.proto deleted file mode 100644 index 7fdc79997..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/ad_group_status.proto +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing ad group status. - -// Container for enum describing possible statuses of an ad group. -message AdGroupStatusEnum { - // The possible statuses of an ad group. - enum AdGroupStatus { - // The status has not been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // The ad group is enabled. - ENABLED = 2; - - // The ad group is paused. - PAUSED = 3; - - // The ad group is removed. - REMOVED = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/ad_group_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/ad_group_type.proto deleted file mode 100644 index 661bf1711..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/ad_group_type.proto +++ /dev/null @@ -1,94 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing ad group types. - -// Defines types of an ad group, specific to a particular campaign channel -// type. This type drives validations that restrict which entities can be -// added to the ad group. -message AdGroupTypeEnum { - // Enum listing the possible types of an ad group. - enum AdGroupType { - // The type has not been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // The default ad group type for Search campaigns. - SEARCH_STANDARD = 2; - - // The default ad group type for Display campaigns. - DISPLAY_STANDARD = 3; - - // The ad group type for Shopping campaigns serving standard product ads. - SHOPPING_PRODUCT_ADS = 4; - - // The default ad group type for Hotel campaigns. - HOTEL_ADS = 6; - - // The type for ad groups in Smart Shopping campaigns. - SHOPPING_SMART_ADS = 7; - - // Short unskippable in-stream video ads. - VIDEO_BUMPER = 8; - - // TrueView (skippable) in-stream video ads. - VIDEO_TRUE_VIEW_IN_STREAM = 9; - - // TrueView in-display video ads. - VIDEO_TRUE_VIEW_IN_DISPLAY = 10; - - // Unskippable in-stream video ads. - VIDEO_NON_SKIPPABLE_IN_STREAM = 11; - - // Outstream video ads. - VIDEO_OUTSTREAM = 12; - - // Ad group type for Dynamic Search Ads ad groups. - SEARCH_DYNAMIC_ADS = 13; - - // The type for ad groups in Shopping Comparison Listing campaigns. - SHOPPING_COMPARISON_LISTING_ADS = 14; - - // The ad group type for Promoted Hotel ad groups. - PROMOTED_HOTEL_ADS = 15; - - // Video responsive ad groups. - VIDEO_RESPONSIVE = 16; - - // Video efficient reach ad groups. - VIDEO_EFFICIENT_REACH = 17; - - // Ad group type for Smart campaigns. - SMART_CAMPAIGN_ADS = 18; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/ad_network_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/ad_network_type.proto deleted file mode 100644 index 432e51ece..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/ad_network_type.proto +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdNetworkTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing ad network types. - -// Container for enumeration of Google Ads network types. -message AdNetworkTypeEnum { - // Enumerates Google Ads network types. - enum AdNetworkType { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Google search. - SEARCH = 2; - - // Search partners. - SEARCH_PARTNERS = 3; - - // Display Network. - CONTENT = 4; - - // YouTube Search. - YOUTUBE_SEARCH = 5; - - // YouTube Videos - YOUTUBE_WATCH = 6; - - // Cross-network. - MIXED = 7; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/ad_serving_optimization_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/ad_serving_optimization_status.proto deleted file mode 100644 index 982257ea0..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/ad_serving_optimization_status.proto +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdServingOptimizationStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing ad serving statuses. - -// Possible ad serving statuses of a campaign. -message AdServingOptimizationStatusEnum { - // Enum describing possible serving statuses. - enum AdServingOptimizationStatus { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // Ad serving is optimized based on CTR for the campaign. - OPTIMIZE = 2; - - // Ad serving is optimized based on CTR * Conversion for the campaign. If - // the campaign is not in the conversion optimizer bidding strategy, it will - // default to OPTIMIZED. - CONVERSION_OPTIMIZE = 3; - - // Ads are rotated evenly for 90 days, then optimized for clicks. - ROTATE = 4; - - // Show lower performing ads more evenly with higher performing ads, and do - // not optimize. - ROTATE_INDEFINITELY = 5; - - // Ad serving optimization status is not available. - UNAVAILABLE = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/ad_strength.proto b/third_party/googleapis/google/ads/googleads/v11/enums/ad_strength.proto deleted file mode 100644 index 3d11630d8..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/ad_strength.proto +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdStrengthProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing ad strengths. - -// Container for enum describing possible ad strengths. -message AdStrengthEnum { - // Enum listing the possible ad strengths. - enum AdStrength { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The ad strength is currently pending. - PENDING = 2; - - // No ads could be generated. - NO_ADS = 3; - - // Poor strength. - POOR = 4; - - // Average strength. - AVERAGE = 5; - - // Good strength. - GOOD = 6; - - // Excellent strength. - EXCELLENT = 7; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/ad_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/ad_type.proto deleted file mode 100644 index f6680d177..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/ad_type.proto +++ /dev/null @@ -1,135 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing the ad type. - -// Container for enum describing possible types of an ad. -message AdTypeEnum { - // The possible types of an ad. - enum AdType { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // The ad is a text ad. - TEXT_AD = 2; - - // The ad is an expanded text ad. - EXPANDED_TEXT_AD = 3; - - // The ad is an expanded dynamic search ad. - EXPANDED_DYNAMIC_SEARCH_AD = 7; - - // The ad is a hotel ad. - HOTEL_AD = 8; - - // The ad is a Smart Shopping ad. - SHOPPING_SMART_AD = 9; - - // The ad is a standard Shopping ad. - SHOPPING_PRODUCT_AD = 10; - - // The ad is a video ad. - VIDEO_AD = 12; - - // This ad is a Gmail ad. - GMAIL_AD = 13; - - // This ad is an Image ad. - IMAGE_AD = 14; - - // The ad is a responsive search ad. - RESPONSIVE_SEARCH_AD = 15; - - // The ad is a legacy responsive display ad. - LEGACY_RESPONSIVE_DISPLAY_AD = 16; - - // The ad is an app ad. - APP_AD = 17; - - // The ad is a legacy app install ad. - LEGACY_APP_INSTALL_AD = 18; - - // The ad is a responsive display ad. - RESPONSIVE_DISPLAY_AD = 19; - - // The ad is a local ad. - LOCAL_AD = 20; - - // The ad is a display upload ad with the HTML5_UPLOAD_AD product type. - HTML5_UPLOAD_AD = 21; - - // The ad is a display upload ad with one of the DYNAMIC_HTML5_* product - // types. - DYNAMIC_HTML5_AD = 22; - - // The ad is an app engagement ad. - APP_ENGAGEMENT_AD = 23; - - // The ad is a Shopping Comparison Listing ad. - SHOPPING_COMPARISON_LISTING_AD = 24; - - // Video bumper ad. - VIDEO_BUMPER_AD = 25; - - // Video non-skippable in-stream ad. - VIDEO_NON_SKIPPABLE_IN_STREAM_AD = 26; - - // Video outstream ad. - VIDEO_OUTSTREAM_AD = 27; - - // Video TrueView in-stream ad. - VIDEO_TRUEVIEW_IN_STREAM_AD = 29; - - // Video responsive ad. - VIDEO_RESPONSIVE_AD = 30; - - // Smart campaign ad. - SMART_CAMPAIGN_AD = 31; - - // Call ad. - CALL_AD = 32; - - // Universal app pre-registration ad. - APP_PRE_REGISTRATION_AD = 33; - - // In-feed video ad. - IN_FEED_VIDEO_AD = 34; - - // Discovery multi asset ad. - DISCOVERY_MULTI_ASSET_AD = 35; - - // Discovery carousel ad. - DISCOVERY_CAROUSEL_AD = 36; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/advertising_channel_sub_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/advertising_channel_sub_type.proto deleted file mode 100644 index 7c0e53ff1..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/advertising_channel_sub_type.proto +++ /dev/null @@ -1,100 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdvertisingChannelSubTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing advertising channel subtypes. - -// An immutable specialization of an Advertising Channel. -message AdvertisingChannelSubTypeEnum { - // Enum describing the different channel subtypes. - enum AdvertisingChannelSubType { - // Not specified. - UNSPECIFIED = 0; - - // Used as a return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Mobile app campaigns for Search. - SEARCH_MOBILE_APP = 2; - - // Mobile app campaigns for Display. - DISPLAY_MOBILE_APP = 3; - - // AdWords express campaigns for search. - SEARCH_EXPRESS = 4; - - // AdWords Express campaigns for display. - DISPLAY_EXPRESS = 5; - - // Smart Shopping campaigns. - SHOPPING_SMART_ADS = 6; - - // Gmail Ad campaigns. - DISPLAY_GMAIL_AD = 7; - - // Smart display campaigns. - DISPLAY_SMART_CAMPAIGN = 8; - - // Video Outstream campaigns. - VIDEO_OUTSTREAM = 9; - - // Video TrueView for Action campaigns. - VIDEO_ACTION = 10; - - // Video campaigns with non-skippable video ads. - VIDEO_NON_SKIPPABLE = 11; - - // App Campaign that lets you easily promote your Android or iOS app - // across Google's top properties including Search, Play, YouTube, and the - // Google Display Network. - APP_CAMPAIGN = 12; - - // App Campaign for engagement, focused on driving re-engagement with the - // app across several of Google's top properties including Search, YouTube, - // and the Google Display Network. - APP_CAMPAIGN_FOR_ENGAGEMENT = 13; - - // Campaigns specialized for local advertising. - LOCAL_CAMPAIGN = 14; - - // Shopping Comparison Listing campaigns. - SHOPPING_COMPARISON_LISTING_ADS = 15; - - // Standard Smart campaigns. - SMART_CAMPAIGN = 16; - - // Video campaigns with sequence video ads. - VIDEO_SEQUENCE = 17; - - // App Campaign for pre registration, specialized for advertising mobile - // app pre-registration, that targets multiple advertising channels across - // Google Play, YouTube and Display Network. See - // https://support.google.com/google-ads/answer/9441344 to learn more. - APP_CAMPAIGN_FOR_PRE_REGISTRATION = 18; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/advertising_channel_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/advertising_channel_type.proto deleted file mode 100644 index f9cc6e2f4..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/advertising_channel_type.proto +++ /dev/null @@ -1,77 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdvertisingChannelTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing advertising channel types - -// The channel type a campaign may target to serve on. -message AdvertisingChannelTypeEnum { - // Enum describing the various advertising channel types. - enum AdvertisingChannelType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Search Network. Includes display bundled, and Search+ campaigns. - SEARCH = 2; - - // Google Display Network only. - DISPLAY = 3; - - // Shopping campaigns serve on the shopping property - // and on google.com search results. - SHOPPING = 4; - - // Hotel Ads campaigns. - HOTEL = 5; - - // Video campaigns. - VIDEO = 6; - - // App Campaigns, and App Campaigns for Engagement, that run - // across multiple channels. - MULTI_CHANNEL = 7; - - // Local ads campaigns. - LOCAL = 8; - - // Smart campaigns. - SMART = 9; - - // Performance Max campaigns. - PERFORMANCE_MAX = 10; - - // Local services campaigns. - LOCAL_SERVICES = 11; - - // Discovery campaigns. - DISCOVERY = 12; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/affiliate_location_feed_relationship_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/affiliate_location_feed_relationship_type.proto deleted file mode 100644 index 80e327e8c..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/affiliate_location_feed_relationship_type.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AffiliateLocationFeedRelationshipTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing relation type for affiliate location feeds. - -// Container for enum describing possible values for a relationship type for -// an affiliate location feed. -message AffiliateLocationFeedRelationshipTypeEnum { - // Possible values for a relationship type for an affiliate location feed. - enum AffiliateLocationFeedRelationshipType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // General retailer relationship. - GENERAL_RETAILER = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/affiliate_location_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v11/enums/affiliate_location_placeholder_field.proto deleted file mode 100644 index acef6c23d..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/affiliate_location_placeholder_field.proto +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AffiliateLocationPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing Affiliate Location placeholder fields. - -// Values for Affiliate Location placeholder fields. -message AffiliateLocationPlaceholderFieldEnum { - // Possible values for Affiliate Location placeholder fields. - enum AffiliateLocationPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. The name of the business. - BUSINESS_NAME = 2; - - // Data Type: STRING. Line 1 of the business address. - ADDRESS_LINE_1 = 3; - - // Data Type: STRING. Line 2 of the business address. - ADDRESS_LINE_2 = 4; - - // Data Type: STRING. City of the business address. - CITY = 5; - - // Data Type: STRING. Province of the business address. - PROVINCE = 6; - - // Data Type: STRING. Postal code of the business address. - POSTAL_CODE = 7; - - // Data Type: STRING. Country code of the business address. - COUNTRY_CODE = 8; - - // Data Type: STRING. Phone number of the business. - PHONE_NUMBER = 9; - - // Data Type: STRING. Language code of the business. - LANGUAGE_CODE = 10; - - // Data Type: INT64. ID of the chain. - CHAIN_ID = 11; - - // Data Type: STRING. Name of the chain. - CHAIN_NAME = 12; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/age_range_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/age_range_type.proto deleted file mode 100644 index 84e7bdb7e..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/age_range_type.proto +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AgeRangeTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing age range types. - -// Container for enum describing the type of demographic age ranges. -message AgeRangeTypeEnum { - // The type of demographic age ranges (for example, between 18 and 24 years - // old). - enum AgeRangeType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Between 18 and 24 years old. - AGE_RANGE_18_24 = 503001; - - // Between 25 and 34 years old. - AGE_RANGE_25_34 = 503002; - - // Between 35 and 44 years old. - AGE_RANGE_35_44 = 503003; - - // Between 45 and 54 years old. - AGE_RANGE_45_54 = 503004; - - // Between 55 and 64 years old. - AGE_RANGE_55_64 = 503005; - - // 65 years old and beyond. - AGE_RANGE_65_UP = 503006; - - // Undetermined age range. - AGE_RANGE_UNDETERMINED = 503999; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/app_campaign_app_store.proto b/third_party/googleapis/google/ads/googleads/v11/enums/app_campaign_app_store.proto deleted file mode 100644 index 4862341d0..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/app_campaign_app_store.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AppCampaignAppStoreProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing App Campaign app store. - -// The application store that distributes mobile applications. -message AppCampaignAppStoreEnum { - // Enum describing app campaign app store. - enum AppCampaignAppStore { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Apple app store. - APPLE_APP_STORE = 2; - - // Google play. - GOOGLE_APP_STORE = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/app_campaign_bidding_strategy_goal_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/app_campaign_bidding_strategy_goal_type.proto deleted file mode 100644 index 0cf344f01..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/app_campaign_bidding_strategy_goal_type.proto +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AppCampaignBiddingStrategyGoalTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing App Campaign bidding strategy goal types. - -// Container for enum describing goal towards which the bidding strategy of an -// app campaign should optimize for. -message AppCampaignBiddingStrategyGoalTypeEnum { - // Goal type of App campaign BiddingStrategy. - enum AppCampaignBiddingStrategyGoalType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Aim to maximize the number of app installs. The cpa bid is the - // target cost per install. - OPTIMIZE_INSTALLS_TARGET_INSTALL_COST = 2; - - // Aim to maximize the long term number of selected in-app conversions from - // app installs. The cpa bid is the target cost per install. - OPTIMIZE_IN_APP_CONVERSIONS_TARGET_INSTALL_COST = 3; - - // Aim to maximize the long term number of selected in-app conversions from - // app installs. The cpa bid is the target cost per in-app conversion. Note - // that the actual cpa may seem higher than the target cpa at first, since - // the long term conversions haven't happened yet. - OPTIMIZE_IN_APP_CONVERSIONS_TARGET_CONVERSION_COST = 4; - - // Aim to maximize all conversions' value, for example, install + selected - // in-app conversions while achieving or exceeding target return on - // advertising spend. - OPTIMIZE_RETURN_ON_ADVERTISING_SPEND = 5; - - // Aim to maximize the pre-registration of the app. - OPTIMIZE_PRE_REGISTRATION_CONVERSION_VOLUME = 6; - - // Aim to maximize installation of the app without target cost-per-install. - OPTIMIZE_INSTALLS_WITHOUT_TARGET_INSTALL_COST = 7; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/app_payment_model_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/app_payment_model_type.proto deleted file mode 100644 index 4dfa7e463..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/app_payment_model_type.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AppPaymentModelTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing criteria types. - -// Represents a criterion for targeting paid apps. -message AppPaymentModelTypeEnum { - // Enum describing possible app payment models. - enum AppPaymentModelType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Represents paid-for apps. - PAID = 30; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/app_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v11/enums/app_placeholder_field.proto deleted file mode 100644 index bc1bfe85b..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/app_placeholder_field.proto +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AppPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing App placeholder fields. - -// Values for App placeholder fields. -message AppPlaceholderFieldEnum { - // Possible values for App placeholder fields. - enum AppPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: INT64. The application store that the target application - // belongs to. Valid values are: 1 = Apple iTunes Store; 2 = Google Play - // Store. - STORE = 2; - - // Data Type: STRING. The store-specific ID for the target application. - ID = 3; - - // Data Type: STRING. The visible text displayed when the link is rendered - // in an ad. - LINK_TEXT = 4; - - // Data Type: STRING. The destination URL of the in-app link. - URL = 5; - - // Data Type: URL_LIST. Final URLs for the in-app link when using Upgraded - // URLs. - FINAL_URLS = 6; - - // Data Type: URL_LIST. Final Mobile URLs for the in-app link when using - // Upgraded URLs. - FINAL_MOBILE_URLS = 7; - - // Data Type: URL. Tracking template for the in-app link when using Upgraded - // URLs. - TRACKING_URL = 8; - - // Data Type: STRING. Final URL suffix for the in-app link when using - // parallel tracking. - FINAL_URL_SUFFIX = 9; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/app_store.proto b/third_party/googleapis/google/ads/googleads/v11/enums/app_store.proto deleted file mode 100644 index 564dd1f0a..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/app_store.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AppStoreProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing app store types for an app extension. - -// Container for enum describing app store type in an app extension. -message AppStoreEnum { - // App store type in an app extension. - enum AppStore { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Apple iTunes. - APPLE_ITUNES = 2; - - // Google Play. - GOOGLE_PLAY = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/app_url_operating_system_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/app_url_operating_system_type.proto deleted file mode 100644 index f9a7b1331..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/app_url_operating_system_type.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AppUrlOperatingSystemTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing operating system for a deeplink app URL. - -// The possible OS types for a deeplink AppUrl. -message AppUrlOperatingSystemTypeEnum { - // Operating System - enum AppUrlOperatingSystemType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The Apple IOS operating system. - IOS = 2; - - // The Android operating system. - ANDROID = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/asset_field_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/asset_field_type.proto deleted file mode 100644 index 2976e4dea..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/asset_field_type.proto +++ /dev/null @@ -1,115 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetFieldTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing asset type. - -// Container for enum describing the possible placements of an asset. -message AssetFieldTypeEnum { - // Enum describing the possible placements of an asset. - enum AssetFieldType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The asset is linked for use as a headline. - HEADLINE = 2; - - // The asset is linked for use as a description. - DESCRIPTION = 3; - - // The asset is linked for use as mandatory ad text. - MANDATORY_AD_TEXT = 4; - - // The asset is linked for use as a marketing image. - MARKETING_IMAGE = 5; - - // The asset is linked for use as a media bundle. - MEDIA_BUNDLE = 6; - - // The asset is linked for use as a YouTube video. - YOUTUBE_VIDEO = 7; - - // The asset is linked to indicate that a hotels campaign is "Book on - // Google" enabled. - BOOK_ON_GOOGLE = 8; - - // The asset is linked for use as a Lead Form extension. - LEAD_FORM = 9; - - // The asset is linked for use as a Promotion extension. - PROMOTION = 10; - - // The asset is linked for use as a Callout extension. - CALLOUT = 11; - - // The asset is linked for use as a Structured Snippet extension. - STRUCTURED_SNIPPET = 12; - - // The asset is linked for use as a Sitelink extension. - SITELINK = 13; - - // The asset is linked for use as a Mobile App extension. - MOBILE_APP = 14; - - // The asset is linked for use as a Hotel Callout extension. - HOTEL_CALLOUT = 15; - - // The asset is linked for use as a Call extension. - CALL = 16; - - // The asset is linked for use as a Price extension. - PRICE = 24; - - // The asset is linked for use as a long headline. - LONG_HEADLINE = 17; - - // The asset is linked for use as a business name. - BUSINESS_NAME = 18; - - // The asset is linked for use as a square marketing image. - SQUARE_MARKETING_IMAGE = 19; - - // The asset is linked for use as a portrait marketing image. - PORTRAIT_MARKETING_IMAGE = 20; - - // The asset is linked for use as a logo. - LOGO = 21; - - // The asset is linked for use as a landscape logo. - LANDSCAPE_LOGO = 22; - - // The asset is linked for use as a non YouTube logo. - VIDEO = 23; - - // The asset is linked for use to select a call-to-action. - CALL_TO_ACTION_SELECTION = 25; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/asset_group_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/asset_group_status.proto deleted file mode 100644 index 03d2a5e0b..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/asset_group_status.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing asset group status. - -// Container for enum describing possible statuses of an asset group. -message AssetGroupStatusEnum { - // The possible statuses of an asset group. - enum AssetGroupStatus { - // The status has not been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - UNKNOWN = 1; - - // The asset group is enabled. - ENABLED = 2; - - // The asset group is paused. - PAUSED = 3; - - // The asset group is removed. - REMOVED = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/asset_link_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/asset_link_status.proto deleted file mode 100644 index 51ad0461e..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/asset_link_status.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetLinkStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing status of an asset link. - -// Container for enum describing possible statuses of an asset link. -message AssetLinkStatusEnum { - // Enum describing statuses of an asset link. - enum AssetLinkStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Asset link is enabled. - ENABLED = 2; - - // Asset link has been removed. - REMOVED = 3; - - // Asset link is paused. - PAUSED = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/asset_performance_label.proto b/third_party/googleapis/google/ads/googleads/v11/enums/asset_performance_label.proto deleted file mode 100644 index 90acd8457..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/asset_performance_label.proto +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetPerformanceLabelProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing the performance label of an asset. - -// Container for enum describing the performance label of an asset. -message AssetPerformanceLabelEnum { - // Enum describing the possible performance labels of an asset, usually - // computed in the context of a linkage. - enum AssetPerformanceLabel { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // This asset does not yet have any performance informantion. This may be - // because it is still under review. - PENDING = 2; - - // The asset has started getting impressions but the stats are not - // statistically significant enough to get an asset performance label. - LEARNING = 3; - - // Worst performing assets. - LOW = 4; - - // Good performing assets. - GOOD = 5; - - // Best performing assets. - BEST = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/asset_set_asset_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/asset_set_asset_status.proto deleted file mode 100644 index 8ec3785fc..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/asset_set_asset_status.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetAssetStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing asset set status. - -// Container for enum describing possible statuses of an asset set asset. -message AssetSetAssetStatusEnum { - // The possible statuses of an asset set asset. - enum AssetSetAssetStatus { - // The status has not been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // This is a response-only value. - UNKNOWN = 1; - - // The asset set asset is enabled. - ENABLED = 2; - - // The asset set asset is removed. - REMOVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/asset_set_link_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/asset_set_link_status.proto deleted file mode 100644 index b3d4c0acd..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/asset_set_link_status.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetLinkStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing asset set status. - -// Container for enum describing possible statuses of the linkage between asset -// set and its container. -message AssetSetLinkStatusEnum { - // The possible statuses of the linkage between asset set and its container. - enum AssetSetLinkStatus { - // The status has not been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // This is a response-only value. - UNKNOWN = 1; - - // The linkage between asset set and its container is enabled. - ENABLED = 2; - - // The linkage between asset set and its container is removed. - REMOVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/asset_set_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/asset_set_status.proto deleted file mode 100644 index 4adc61c0a..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/asset_set_status.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing asset set status. - -// Container for enum describing possible statuses of an asset set. -message AssetSetStatusEnum { - // The possible statuses of an asset set. - enum AssetSetStatus { - // The status has not been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // This is a response-only value. - UNKNOWN = 1; - - // The asset set is enabled. - ENABLED = 2; - - // The asset set is removed. - REMOVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/asset_set_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/asset_set_type.proto deleted file mode 100644 index e0686615c..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/asset_set_type.proto +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing asset set type. - -// Container for enum describing possible types of an asset set. -message AssetSetTypeEnum { - // Possible types of an asset set. - enum AssetSetType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Page asset set. - PAGE_FEED = 2; - - // Dynamic education asset set. - DYNAMIC_EDUCATION = 3; - - // Google Merchant Center asset set. - MERCHANT_CENTER_FEED = 4; - - // Dynamic real estate asset set. - DYNAMIC_REAL_ESTATE = 5; - - // Dynamic custom asset set. - DYNAMIC_CUSTOM = 6; - - // Dynamic hotels and rentals asset set. - DYNAMIC_HOTELS_AND_RENTALS = 7; - - // Dynamic flights asset set. - DYNAMIC_FLIGHTS = 8; - - // Dynamic travel asset set. - DYNAMIC_TRAVEL = 9; - - // Dynamic local asset set. - DYNAMIC_LOCAL = 10; - - // Dynamic jobs asset set. - DYNAMIC_JOBS = 11; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/asset_source.proto b/third_party/googleapis/google/ads/googleads/v11/enums/asset_source.proto deleted file mode 100644 index d601702ec..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/asset_source.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetSourceProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing asset source. - -// Source of the asset or asset link for who generated the entity. -// For example, advertiser or automatically created. -message AssetSourceEnum { - // Enum describing possible source of asset. - enum AssetSource { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The asset or asset link is provided by advertiser. - ADVERTISER = 2; - - // The asset or asset link is generated by Google. - AUTOMATICALLY_CREATED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/asset_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/asset_type.proto deleted file mode 100644 index 314708a8f..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/asset_type.proto +++ /dev/null @@ -1,117 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing asset type. - -// Container for enum describing the types of asset. -message AssetTypeEnum { - // Enum describing possible types of asset. - enum AssetType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // YouTube video asset. - YOUTUBE_VIDEO = 2; - - // Media bundle asset. - MEDIA_BUNDLE = 3; - - // Image asset. - IMAGE = 4; - - // Text asset. - TEXT = 5; - - // Lead form asset. - LEAD_FORM = 6; - - // Book on Google asset. - BOOK_ON_GOOGLE = 7; - - // Promotion asset. - PROMOTION = 8; - - // Callout asset. - CALLOUT = 9; - - // Structured Snippet asset. - STRUCTURED_SNIPPET = 10; - - // Sitelink asset. - SITELINK = 11; - - // Page Feed asset. - PAGE_FEED = 12; - - // Dynamic Education asset. - DYNAMIC_EDUCATION = 13; - - // Mobile app asset. - MOBILE_APP = 14; - - // Hotel callout asset. - HOTEL_CALLOUT = 15; - - // Call asset. - CALL = 16; - - // Price asset. - PRICE = 17; - - // Call to action asset. - CALL_TO_ACTION = 18; - - // Dynamic real estate asset. - DYNAMIC_REAL_ESTATE = 19; - - // Dynamic custom asset. - DYNAMIC_CUSTOM = 20; - - // Dynamic hotels and rentals asset. - DYNAMIC_HOTELS_AND_RENTALS = 21; - - // Dynamic flights asset. - DYNAMIC_FLIGHTS = 22; - - // Discovery Carousel Card asset. - DISCOVERY_CAROUSEL_CARD = 23; - - // Dynamic travel asset. - DYNAMIC_TRAVEL = 24; - - // Dynamic local asset. - DYNAMIC_LOCAL = 25; - - // Dynamic jobs asset. - DYNAMIC_JOBS = 26; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/async_action_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/async_action_status.proto deleted file mode 100644 index 7eee80e55..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/async_action_status.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AsyncActionStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing experiment async action status. - -// Container for enum describing the experiment async action status. -message AsyncActionStatusEnum { - // The async action status of the experiment. - enum AsyncActionStatus { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Action has not started. - NOT_STARTED = 2; - - // Action is in progress. - IN_PROGRESS = 3; - - // Action has completed successfully. - COMPLETED = 4; - - // Action has failed. - FAILED = 5; - - // Action has completed successfully with warnings. - COMPLETED_WITH_WARNING = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/attribution_model.proto b/third_party/googleapis/google/ads/googleads/v11/enums/attribution_model.proto deleted file mode 100644 index 7b16ed571..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/attribution_model.proto +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AttributionModelProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Container for enum representing the attribution model that describes how to -// distribute credit for a particular conversion across potentially many prior -// interactions. -message AttributionModelEnum { - // The attribution model that describes how to distribute credit for a - // particular conversion across potentially many prior interactions. - enum AttributionModel { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Uses external attribution. - EXTERNAL = 100; - - // Attributes all credit for a conversion to its last click. - GOOGLE_ADS_LAST_CLICK = 101; - - // Attributes all credit for a conversion to its first click using Google - // Search attribution. - GOOGLE_SEARCH_ATTRIBUTION_FIRST_CLICK = 102; - - // Attributes credit for a conversion equally across all of its clicks using - // Google Search attribution. - GOOGLE_SEARCH_ATTRIBUTION_LINEAR = 103; - - // Attributes exponentially more credit for a conversion to its more recent - // clicks using Google Search attribution (half-life is 1 week). - GOOGLE_SEARCH_ATTRIBUTION_TIME_DECAY = 104; - - // Attributes 40% of the credit for a conversion to its first and last - // clicks. Remaining 20% is evenly distributed across all other clicks. This - // uses Google Search attribution. - GOOGLE_SEARCH_ATTRIBUTION_POSITION_BASED = 105; - - // Flexible model that uses machine learning to determine the appropriate - // distribution of credit among clicks using Google Search attribution. - GOOGLE_SEARCH_ATTRIBUTION_DATA_DRIVEN = 106; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/audience_insights_dimension.proto b/third_party/googleapis/google/ads/googleads/v11/enums/audience_insights_dimension.proto deleted file mode 100644 index 83e27d17a..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/audience_insights_dimension.proto +++ /dev/null @@ -1,78 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AudienceInsightsDimensionProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing a plannable network. - -// Container for enum describing audience insights dimensions. -message AudienceInsightsDimensionEnum { - // Possible audience dimensions for use in generating insights. - enum AudienceInsightsDimension { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // A Product & Service category. - CATEGORY = 2; - - // A Knowledge Graph entity. - KNOWLEDGE_GRAPH = 3; - - // A country, represented by a geo target. - GEO_TARGET_COUNTRY = 4; - - // A geographic location within a country. - SUB_COUNTRY_LOCATION = 5; - - // A YouTube channel. - YOUTUBE_CHANNEL = 6; - - // A YouTube Dynamic Lineup. - YOUTUBE_DYNAMIC_LINEUP = 7; - - // An Affinity UserInterest. - AFFINITY_USER_INTEREST = 8; - - // An In-Market UserInterest. - IN_MARKET_USER_INTEREST = 9; - - // A Parental Status value (parent, or not a parent). - PARENTAL_STATUS = 10; - - // A household income percentile range. - INCOME_RANGE = 11; - - // An age range. - AGE_RANGE = 12; - - // A gender. - GENDER = 13; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/audience_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/audience_status.proto deleted file mode 100644 index bd1810a0f..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/audience_status.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AudienceStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing audience status. - -// The status of audience. -message AudienceStatusEnum { - // Enum containing possible audience status types. - enum AudienceStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Enabled status - audience is enabled and can be targeted. - ENABLED = 2; - - // Removed status - audience is removed and cannot be used for - // targeting. - REMOVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/batch_job_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/batch_job_status.proto deleted file mode 100644 index aaceec394..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/batch_job_status.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BatchJobStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing batch job statuses. - -// Container for enum describing possible batch job statuses. -message BatchJobStatusEnum { - // The batch job statuses. - enum BatchJobStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The job is not currently running. - PENDING = 2; - - // The job is running. - RUNNING = 3; - - // The job is done. - DONE = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/bid_modifier_source.proto b/third_party/googleapis/google/ads/googleads/v11/enums/bid_modifier_source.proto deleted file mode 100644 index 216237af6..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/bid_modifier_source.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BidModifierSourceProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing bid modifier source. - -// Container for enum describing possible bid modifier sources. -message BidModifierSourceEnum { - // Enum describing possible bid modifier sources. - enum BidModifierSource { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The bid modifier is specified at the campaign level, on the campaign - // level criterion. - CAMPAIGN = 2; - - // The bid modifier is specified (overridden) at the ad group level. - AD_GROUP = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/bidding_source.proto b/third_party/googleapis/google/ads/googleads/v11/enums/bidding_source.proto deleted file mode 100644 index ad9f9ed3a..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/bidding_source.proto +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BiddingSourceProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing bidding sources. - -// Container for enum describing possible bidding sources. -message BiddingSourceEnum { - // Indicates where a bid or target is defined. For example, an ad group - // criterion may define a cpc bid directly, or it can inherit its cpc bid from - // the ad group. - enum BiddingSource { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Effective bid or target is inherited from campaign bidding strategy. - CAMPAIGN_BIDDING_STRATEGY = 5; - - // The bid or target is defined on the ad group. - AD_GROUP = 6; - - // The bid or target is defined on the ad group criterion. - AD_GROUP_CRITERION = 7; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/bidding_strategy_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/bidding_strategy_status.proto deleted file mode 100644 index 7f05ea14d..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/bidding_strategy_status.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BiddingStrategyStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing BiddingStrategy statuses. - -// Message describing BiddingStrategy statuses. -message BiddingStrategyStatusEnum { - // The possible statuses of a BiddingStrategy. - enum BiddingStrategyStatus { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // The bidding strategy is enabled. - ENABLED = 2; - - // The bidding strategy is removed. - REMOVED = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/bidding_strategy_system_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/bidding_strategy_system_status.proto deleted file mode 100644 index 0627921d4..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/bidding_strategy_system_status.proto +++ /dev/null @@ -1,139 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BiddingStrategySystemStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing BiddingStrategy statuses. - -// Message describing BiddingStrategy system statuses. -message BiddingStrategySystemStatusEnum { - // The possible system statuses of a BiddingStrategy. - enum BiddingStrategySystemStatus { - // Signals that an unexpected error occurred, for example, no bidding - // strategy type was found, or no status information was found. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The bid strategy is active, and AdWords cannot find any specific issues - // with the strategy. - ENABLED = 2; - - // The bid strategy is learning because it has been recently created or - // recently reactivated. - LEARNING_NEW = 3; - - // The bid strategy is learning because of a recent setting change. - LEARNING_SETTING_CHANGE = 4; - - // The bid strategy is learning because of a recent budget change. - LEARNING_BUDGET_CHANGE = 5; - - // The bid strategy is learning because of recent change in number of - // campaigns, ad groups or keywords attached to it. - LEARNING_COMPOSITION_CHANGE = 6; - - // The bid strategy depends on conversion reporting and the customer - // recently modified conversion types that were relevant to the - // bid strategy. - LEARNING_CONVERSION_TYPE_CHANGE = 7; - - // The bid strategy depends on conversion reporting and the customer - // recently changed their conversion settings. - LEARNING_CONVERSION_SETTING_CHANGE = 8; - - // The bid strategy is limited by its bid ceiling. - LIMITED_BY_CPC_BID_CEILING = 9; - - // The bid strategy is limited by its bid floor. - LIMITED_BY_CPC_BID_FLOOR = 10; - - // The bid strategy is limited because there was not enough conversion - // traffic over the past weeks. - LIMITED_BY_DATA = 11; - - // A significant fraction of keywords in this bid strategy are limited by - // budget. - LIMITED_BY_BUDGET = 12; - - // The bid strategy cannot reach its target spend because its spend has - // been de-prioritized. - LIMITED_BY_LOW_PRIORITY_SPEND = 13; - - // A significant fraction of keywords in this bid strategy have a low - // Quality Score. - LIMITED_BY_LOW_QUALITY = 14; - - // The bid strategy cannot fully spend its budget because of narrow - // targeting. - LIMITED_BY_INVENTORY = 15; - - // Missing conversion tracking (no pings present) and/or remarketing lists - // for SSC. - MISCONFIGURED_ZERO_ELIGIBILITY = 16; - - // The bid strategy depends on conversion reporting and the customer is - // lacking conversion types that might be reported against this strategy. - MISCONFIGURED_CONVERSION_TYPES = 17; - - // The bid strategy depends on conversion reporting and the customer's - // conversion settings are misconfigured. - MISCONFIGURED_CONVERSION_SETTINGS = 18; - - // There are campaigns outside the bid strategy that share budgets with - // campaigns included in the strategy. - MISCONFIGURED_SHARED_BUDGET = 19; - - // The campaign has an invalid strategy type and is not serving. - MISCONFIGURED_STRATEGY_TYPE = 20; - - // The bid strategy is not active. Either there are no active campaigns, - // ad groups or keywords attached to the bid strategy. Or there are no - // active budgets connected to the bid strategy. - PAUSED = 21; - - // This bid strategy currently does not support status reporting. - UNAVAILABLE = 22; - - // There were multiple LEARNING_* system statuses for this bid strategy - // during the time in question. - MULTIPLE_LEARNING = 23; - - // There were multiple LIMITED_* system statuses for this bid strategy - // during the time in question. - MULTIPLE_LIMITED = 24; - - // There were multiple MISCONFIGURED_* system statuses for this bid strategy - // during the time in question. - MULTIPLE_MISCONFIGURED = 25; - - // There were multiple system statuses for this bid strategy during the - // time in question. - MULTIPLE = 26; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/bidding_strategy_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/bidding_strategy_type.proto deleted file mode 100644 index b9dcb4641..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/bidding_strategy_type.proto +++ /dev/null @@ -1,121 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BiddingStrategyTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing bidding schemes. - -// Container for enum describing possible bidding strategy types. -message BiddingStrategyTypeEnum { - // Enum describing possible bidding strategy types. - enum BiddingStrategyType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Commission is an automatic bidding strategy in which the advertiser pays - // a certain portion of the conversion value. - COMMISSION = 16; - - // Enhanced CPC is a bidding strategy that raises bids for clicks - // that seem more likely to lead to a conversion and lowers - // them for clicks where they seem less likely. - ENHANCED_CPC = 2; - - // Used for return value only. Indicates that a campaign does not have a - // bidding strategy. This prevents the campaign from serving. For example, - // a campaign may be attached to a manager bidding strategy and the serving - // account is subsequently unlinked from the manager account. In this case - // the campaign will automatically be detached from the now inaccessible - // manager bidding strategy and transition to the INVALID bidding strategy - // type. - INVALID = 17; - - // Manual bidding strategy that allows advertiser to set the bid per - // advertiser-specified action. - MANUAL_CPA = 18; - - // Manual click based bidding where user pays per click. - MANUAL_CPC = 3; - - // Manual impression based bidding - // where user pays per thousand impressions. - MANUAL_CPM = 4; - - // A bidding strategy that pays a configurable amount per video view. - MANUAL_CPV = 13; - - // A bidding strategy that automatically maximizes number of conversions - // given a daily budget. - MAXIMIZE_CONVERSIONS = 10; - - // An automated bidding strategy that automatically sets bids to maximize - // revenue while spending your budget. - MAXIMIZE_CONVERSION_VALUE = 11; - - // Page-One Promoted bidding scheme, which sets max cpc bids to - // target impressions on page one or page one promoted slots on google.com. - // This enum value is deprecated. - PAGE_ONE_PROMOTED = 5; - - // Percent Cpc is bidding strategy where bids are a fraction of the - // advertised price for some good or service. - PERCENT_CPC = 12; - - // Target CPA is an automated bid strategy that sets bids - // to help get as many conversions as possible - // at the target cost-per-acquisition (CPA) you set. - TARGET_CPA = 6; - - // Target CPM is an automated bid strategy that sets bids to help get - // as many impressions as possible at the target cost per one thousand - // impressions (CPM) you set. - TARGET_CPM = 14; - - // An automated bidding strategy that sets bids so that a certain percentage - // of search ads are shown at the top of the first page (or other targeted - // location). - TARGET_IMPRESSION_SHARE = 15; - - // Target Outrank Share is an automated bidding strategy that sets bids - // based on the target fraction of auctions where the advertiser - // should outrank a specific competitor. - // This enum value is deprecated. - TARGET_OUTRANK_SHARE = 7; - - // Target ROAS is an automated bidding strategy - // that helps you maximize revenue while averaging - // a specific target Return On Average Spend (ROAS). - TARGET_ROAS = 8; - - // Target Spend is an automated bid strategy that sets your bids - // to help get as many clicks as possible within your budget. - TARGET_SPEND = 9; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/billing_setup_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/billing_setup_status.proto deleted file mode 100644 index 35804d98c..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/billing_setup_status.proto +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BillingSetupStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing BillingSetup statuses. - -// Message describing BillingSetup statuses. -message BillingSetupStatusEnum { - // The possible statuses of a BillingSetup. - enum BillingSetupStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The billing setup is pending approval. - PENDING = 2; - - // The billing setup has been approved but the corresponding first budget - // has not. This can only occur for billing setups configured for monthly - // invoicing. - APPROVED_HELD = 3; - - // The billing setup has been approved. - APPROVED = 4; - - // The billing setup was cancelled by the user prior to approval. - CANCELLED = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/brand_safety_suitability.proto b/third_party/googleapis/google/ads/googleads/v11/enums/brand_safety_suitability.proto deleted file mode 100644 index 2da79d61d..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/brand_safety_suitability.proto +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BrandSafetySuitabilityProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing brand safety suitability settings. - -// Container for enum with 3-Tier brand safety suitability control. -message BrandSafetySuitabilityEnum { - // 3-Tier brand safety suitability control. - enum BrandSafetySuitability { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // This option lets you show ads across all inventory on YouTube and video - // partners that meet our standards for monetization. This option may be an - // appropriate choice for brands that want maximum access to the full - // breadth of videos eligible for ads, including, for example, videos that - // have strong profanity in the context of comedy or a documentary, or - // excessive violence as featured in video games. - EXPANDED_INVENTORY = 2; - - // This option lets you show ads across a wide range of content that's - // appropriate for most brands, such as popular music videos, documentaries, - // and movie trailers. The content you can show ads on is based on YouTube's - // advertiser-friendly content guidelines that take into account, for - // example, the strength or frequency of profanity, or the appropriateness - // of subject matter like sensitive events. Ads won't show, for example, on - // content with repeated strong profanity, strong sexual content, or graphic - // violence. - STANDARD_INVENTORY = 3; - - // This option lets you show ads on a reduced range of content that's - // appropriate for brands with particularly strict guidelines around - // inappropriate language and sexual suggestiveness; above and beyond what - // YouTube's advertiser-friendly content guidelines address. The videos - // accessible in this sensitive category meet heightened requirements, - // especially for inappropriate language and sexual suggestiveness. For - // example, your ads will be excluded from showing on some of YouTube's most - // popular music videos and other pop culture content across YouTube and - // Google video partners. - LIMITED_INVENTORY = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/budget_campaign_association_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/budget_campaign_association_status.proto deleted file mode 100644 index 13a9204d4..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/budget_campaign_association_status.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BudgetCampaignAssociationStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing Budget and Campaign association status. - -// Message describing the status of the association between the Budget and the -// Campaign. -message BudgetCampaignAssociationStatusEnum { - // Possible statuses of the association between the Budget and the Campaign. - enum BudgetCampaignAssociationStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The campaign is currently using the budget. - ENABLED = 2; - - // The campaign is no longer using the budget. - REMOVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/budget_delivery_method.proto b/third_party/googleapis/google/ads/googleads/v11/enums/budget_delivery_method.proto deleted file mode 100644 index 6ca5b7a47..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/budget_delivery_method.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BudgetDeliveryMethodProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing Budget delivery methods. - -// Message describing Budget delivery methods. A delivery method determines the -// rate at which the Budget is spent. -message BudgetDeliveryMethodEnum { - // Possible delivery methods of a Budget. - enum BudgetDeliveryMethod { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The budget server will throttle serving evenly across - // the entire time period. - STANDARD = 2; - - // The budget server will not throttle serving, - // and ads will serve as fast as possible. - ACCELERATED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/budget_period.proto b/third_party/googleapis/google/ads/googleads/v11/enums/budget_period.proto deleted file mode 100644 index fcada15fb..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/budget_period.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BudgetPeriodProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing Budget delivery methods. - -// Message describing Budget period. -message BudgetPeriodEnum { - // Possible period of a Budget. - enum BudgetPeriod { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Daily budget. - DAILY = 2; - - // Custom budget, added back in V5. - // Custom bugdet can be used with total_amount to specify lifetime budget - // limit. See: https://support.google.com/google-ads/answer/6385083 for more - // info. - CUSTOM_PERIOD = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/budget_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/budget_status.proto deleted file mode 100644 index 8195faf80..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/budget_status.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BudgetStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing Budget statuses - -// Message describing a Budget status -message BudgetStatusEnum { - // Possible statuses of a Budget. - enum BudgetStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Budget is enabled. - ENABLED = 2; - - // Budget is removed. - REMOVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/budget_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/budget_type.proto deleted file mode 100644 index 08f25c0f8..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/budget_type.proto +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BudgetTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing Budget types. - -// Describes Budget types. -message BudgetTypeEnum { - // Possible Budget types. - enum BudgetType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Budget type for standard Google Ads usage. - // Caps daily spend at two times the specified budget amount. - // Full details: https://support.google.com/google-ads/answer/6385083 - STANDARD = 2; - - // Budget type with a fixed cost-per-acquisition (conversion). - // Full details: https://support.google.com/google-ads/answer/7528254 - // - // This type is only supported by campaigns with - // AdvertisingChannelType.DISPLAY (excluding - // AdvertisingChannelSubType.DISPLAY_GMAIL), - // BiddingStrategyType.TARGET_CPA and PaymentMode.CONVERSIONS. - FIXED_CPA = 4; - - // Budget type for Smart Campaign. - // Full details: https://support.google.com/google-ads/answer/7653509 - // - // This type is only supported by campaigns with - // AdvertisingChannelType.SMART and - // AdvertisingChannelSubType.SMART_CAMPAIGN. - SMART_CAMPAIGN = 5; - - // Budget type for Local Services Campaign. - // Full details: https://support.google.com/localservices/answer/7434558 - // - // This type is only supported by campaigns with - // AdvertisingChannelType.LOCAL_SERVICES. - LOCAL_SERVICES = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/call_conversion_reporting_state.proto b/third_party/googleapis/google/ads/googleads/v11/enums/call_conversion_reporting_state.proto deleted file mode 100644 index c6819dd9c..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/call_conversion_reporting_state.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CallConversionReportingStateProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing call conversion reporting state. - -// Container for enum describing possible data types for call conversion -// reporting state. -message CallConversionReportingStateEnum { - // Possible data types for a call conversion action state. - enum CallConversionReportingState { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Call conversion action is disabled. - DISABLED = 2; - - // Call conversion action will use call conversion type set at the - // account level. - USE_ACCOUNT_LEVEL_CALL_CONVERSION_ACTION = 3; - - // Call conversion action will use call conversion type set at the resource - // (call only ads/call extensions) level. - USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/call_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v11/enums/call_placeholder_field.proto deleted file mode 100644 index b0b0b047d..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/call_placeholder_field.proto +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CallPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing Call placeholder fields. - -// Values for Call placeholder fields. -message CallPlaceholderFieldEnum { - // Possible values for Call placeholder fields. - enum CallPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. The advertiser's phone number to append to the ad. - PHONE_NUMBER = 2; - - // Data Type: STRING. Uppercase two-letter country code of the advertiser's - // phone number. - COUNTRY_CODE = 3; - - // Data Type: BOOLEAN. Indicates whether call tracking is enabled. Default: - // true. - TRACKED = 4; - - // Data Type: INT64. The ID of an AdCallMetricsConversion object. This - // object contains the phoneCallDurationfield which is the minimum duration - // (in seconds) of a call to be considered a conversion. - CONVERSION_TYPE_ID = 5; - - // Data Type: STRING. Indicates whether this call extension uses its own - // call conversion setting or follows the account level setting. - // Valid values are: USE_ACCOUNT_LEVEL_CALL_CONVERSION_ACTION and - // USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION. - CONVERSION_REPORTING_STATE = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/call_to_action_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/call_to_action_type.proto deleted file mode 100644 index bd86c2de3..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/call_to_action_type.proto +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CallToActionTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing call to action type. - -// Container for enum describing the call to action types. -message CallToActionTypeEnum { - // Enum describing possible types of call to action. - enum CallToActionType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The call to action type is learn more. - LEARN_MORE = 2; - - // The call to action type is get quote. - GET_QUOTE = 3; - - // The call to action type is apply now. - APPLY_NOW = 4; - - // The call to action type is sign up. - SIGN_UP = 5; - - // The call to action type is contact us. - CONTACT_US = 6; - - // The call to action type is subscribe. - SUBSCRIBE = 7; - - // The call to action type is download. - DOWNLOAD = 8; - - // The call to action type is book now. - BOOK_NOW = 9; - - // The call to action type is shop now. - SHOP_NOW = 10; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/call_tracking_display_location.proto b/third_party/googleapis/google/ads/googleads/v11/enums/call_tracking_display_location.proto deleted file mode 100644 index beb6a59c5..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/call_tracking_display_location.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CallTrackingDisplayLocationProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing call tracking display location. - -// Container for enum describing possible call tracking display locations. -message CallTrackingDisplayLocationEnum { - // Possible call tracking display locations. - enum CallTrackingDisplayLocation { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The phone call placed from the ad. - AD = 2; - - // The phone call placed from the landing page ad points to. - LANDING_PAGE = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/call_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/call_type.proto deleted file mode 100644 index 81f7f971d..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/call_type.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CallTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing call types. - -// Container for enum describing possible types of property from where the call -// was made. -message CallTypeEnum { - // Possible types of property from where the call was made. - enum CallType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The phone call was manually dialed. - MANUALLY_DIALED = 2; - - // The phone call was a mobile click-to-call. - HIGH_END_MOBILE_SEARCH = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/callout_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v11/enums/callout_placeholder_field.proto deleted file mode 100644 index 26ef3ace3..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/callout_placeholder_field.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CalloutPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing Callout placeholder fields. - -// Values for Callout placeholder fields. -message CalloutPlaceholderFieldEnum { - // Possible values for Callout placeholder fields. - enum CalloutPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. Callout text. - CALLOUT_TEXT = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/campaign_criterion_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/campaign_criterion_status.proto deleted file mode 100644 index f199d3892..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/campaign_criterion_status.proto +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CampaignCriterionStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing CampaignCriterion statuses. - -// Message describing CampaignCriterion statuses. -message CampaignCriterionStatusEnum { - // The possible statuses of a CampaignCriterion. - enum CampaignCriterionStatus { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // The campaign criterion is enabled. - ENABLED = 2; - - // The campaign criterion is paused. - PAUSED = 3; - - // The campaign criterion is removed. - REMOVED = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/campaign_draft_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/campaign_draft_status.proto deleted file mode 100644 index 81fdb8acc..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/campaign_draft_status.proto +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CampaignDraftStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing campaign draft status. - -// Container for enum describing possible statuses of a campaign draft. -message CampaignDraftStatusEnum { - // Possible statuses of a campaign draft. - enum CampaignDraftStatus { - // The status has not been specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Initial state of the draft, the advertiser can start adding changes with - // no effect on serving. - PROPOSED = 2; - - // The campaign draft is removed. - REMOVED = 3; - - // Advertiser requested to promote draft's changes back into the original - // campaign. Advertiser can poll the long running operation returned by - // the promote action to see the status of the promotion. - PROMOTING = 5; - - // The process to merge changes in the draft back to the original campaign - // has completed successfully. - PROMOTED = 4; - - // The promotion failed after it was partially applied. Promote cannot be - // attempted again safely, so the issue must be corrected in the original - // campaign. - PROMOTE_FAILED = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/campaign_experiment_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/campaign_experiment_status.proto deleted file mode 100644 index 30d39777a..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/campaign_experiment_status.proto +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CampaignExperimentStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing campaign experiment status. - -// Container for enum describing possible statuses of a campaign experiment. -message CampaignExperimentStatusEnum { - // Possible statuses of a campaign experiment. - enum CampaignExperimentStatus { - // The status has not been specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The experiment campaign is being initialized. - INITIALIZING = 2; - - // Initialization of the experiment campaign failed. - INITIALIZATION_FAILED = 8; - - // The experiment campaign is fully initialized. The experiment is currently - // running, scheduled to run in the future or has ended based on its - // end date. An experiment with the status INITIALIZING will be updated to - // ENABLED when it is fully created. - ENABLED = 3; - - // The experiment campaign was graduated to a stand-alone - // campaign, existing independently of the experiment. - GRADUATED = 4; - - // The experiment is removed. - REMOVED = 5; - - // The experiment's changes are being applied to the original campaign. - // The long running operation returned by the promote method can be polled - // to see the status of the promotion. - PROMOTING = 6; - - // Promote of the experiment campaign failed. - PROMOTION_FAILED = 9; - - // The changes of the experiment are promoted to their original campaign. - PROMOTED = 7; - - // The experiment was ended manually. It did not end based on its end date. - ENDED_MANUALLY = 10; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/campaign_experiment_traffic_split_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/campaign_experiment_traffic_split_type.proto deleted file mode 100644 index 130d00828..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/campaign_experiment_traffic_split_type.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CampaignExperimentTrafficSplitTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing campaign experiment traffic split type. - -// Container for enum describing campaign experiment traffic split type. -message CampaignExperimentTrafficSplitTypeEnum { - // Enum of strategies for splitting traffic between base and experiment - // campaigns in campaign experiment. - enum CampaignExperimentTrafficSplitType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Traffic is randomly assigned to the base or experiment arm for each - // query, independent of previous assignments for the same user. - RANDOM_QUERY = 2; - - // Traffic is split using cookies to keep users in the same arm (base or - // experiment) of the experiment. - COOKIE = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/campaign_experiment_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/campaign_experiment_type.proto deleted file mode 100644 index d459423cb..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/campaign_experiment_type.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CampaignExperimentTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing campaign experiment type. - -// Container for enum describing campaign experiment type. -message CampaignExperimentTypeEnum { - // Indicates if this campaign is a normal campaign, - // a draft campaign, or an experiment campaign. - enum CampaignExperimentType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // This is a regular campaign. - BASE = 2; - - // This is a draft version of a campaign. - // It has some modifications from a base campaign, - // but it does not serve or accrue metrics. - DRAFT = 3; - - // This is an experiment version of a campaign. - // It has some modifications from a base campaign, - // and a percentage of traffic is being diverted - // from the BASE campaign to this experiment campaign. - EXPERIMENT = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/campaign_group_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/campaign_group_status.proto deleted file mode 100644 index 97824edcb..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/campaign_group_status.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CampaignGroupStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing CampaignGroup statuses. - -// Message describing CampaignGroup statuses. -message CampaignGroupStatusEnum { - // Possible statuses of a CampaignGroup. - enum CampaignGroupStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The campaign group is active. - ENABLED = 2; - - // The campaign group has been removed. - REMOVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/campaign_serving_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/campaign_serving_status.proto deleted file mode 100644 index 1392a9c81..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/campaign_serving_status.proto +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CampaignServingStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing Campaign serving statuses. - -// Message describing Campaign serving statuses. -message CampaignServingStatusEnum { - // Possible serving statuses of a campaign. - enum CampaignServingStatus { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // Serving. - SERVING = 2; - - // None. - NONE = 3; - - // Ended. - ENDED = 4; - - // Pending. - PENDING = 5; - - // Suspended. - SUSPENDED = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/campaign_shared_set_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/campaign_shared_set_status.proto deleted file mode 100644 index 32f14fa0f..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/campaign_shared_set_status.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CampaignSharedSetStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing campaign shared set statuses. - -// Container for enum describing types of campaign shared set statuses. -message CampaignSharedSetStatusEnum { - // Enum listing the possible campaign shared set statuses. - enum CampaignSharedSetStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The campaign shared set is enabled. - ENABLED = 2; - - // The campaign shared set is removed and can no longer be used. - REMOVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/campaign_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/campaign_status.proto deleted file mode 100644 index c58c0f4c4..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/campaign_status.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CampaignStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing campaign status. - -// Container for enum describing possible statuses of a campaign. -message CampaignStatusEnum { - // Possible statuses of a campaign. - enum CampaignStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Campaign is currently serving ads depending on budget information. - ENABLED = 2; - - // Campaign has been paused by the user. - PAUSED = 3; - - // Campaign has been removed. - REMOVED = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/change_client_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/change_client_type.proto deleted file mode 100644 index 5afd53396..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/change_client_type.proto +++ /dev/null @@ -1,85 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ChangeClientTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing the sources that the change event resource was -// made through. - -// Container for enum describing the sources that the change event resource -// was made through. -message ChangeClientTypeEnum { - // The source that the change_event resource was made through. - enum ChangeClientType { - // No value has been specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents an unclassified client type - // unknown in this version. - UNKNOWN = 1; - - // Changes made through the "ads.google.com". - // For example, changes made through campaign management. - GOOGLE_ADS_WEB_CLIENT = 2; - - // Changes made through Google Ads automated rules. - GOOGLE_ADS_AUTOMATED_RULE = 3; - - // Changes made through Google Ads scripts. - GOOGLE_ADS_SCRIPTS = 4; - - // Changes made by Google Ads bulk upload. - GOOGLE_ADS_BULK_UPLOAD = 5; - - // Changes made by Google Ads API. - GOOGLE_ADS_API = 6; - - // Changes made by Google Ads Editor. - GOOGLE_ADS_EDITOR = 7; - - // Changes made by Google Ads mobile app. - GOOGLE_ADS_MOBILE_APP = 8; - - // Changes made through Google Ads recommendations. - GOOGLE_ADS_RECOMMENDATIONS = 9; - - // Changes made through Search Ads 360 Sync. - SEARCH_ADS_360_SYNC = 10; - - // Changes made through Search Ads 360 Post. - SEARCH_ADS_360_POST = 11; - - // Changes made through internal tools. - // For example, when a user sets a URL template on an entity like a - // Campaign, it's automatically wrapped with the SA360 Clickserver URL. - INTERNAL_TOOL = 12; - - // Types of changes that are not categorized, for example, - // changes made by coupon redemption through Google Ads. - OTHER = 13; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/change_event_resource_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/change_event_resource_type.proto deleted file mode 100644 index 3726de408..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/change_event_resource_type.proto +++ /dev/null @@ -1,101 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ChangeEventResourceTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing the resource types the ChangeEvent resource supports. - -// Container for enum describing supported resource types for the ChangeEvent -// resource. -message ChangeEventResourceTypeEnum { - // Enum listing the resource types support by the ChangeEvent resource. - enum ChangeEventResourceType { - // No value has been specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents an unclassified resource unknown - // in this version. - UNKNOWN = 1; - - // An Ad resource change. - AD = 2; - - // An AdGroup resource change. - AD_GROUP = 3; - - // An AdGroupCriterion resource change. - AD_GROUP_CRITERION = 4; - - // A Campaign resource change. - CAMPAIGN = 5; - - // A CampaignBudget resource change. - CAMPAIGN_BUDGET = 6; - - // An AdGroupBidModifier resource change. - AD_GROUP_BID_MODIFIER = 7; - - // A CampaignCriterion resource change. - CAMPAIGN_CRITERION = 8; - - // A Feed resource change. - FEED = 9; - - // A FeedItem resource change. - FEED_ITEM = 10; - - // A CampaignFeed resource change. - CAMPAIGN_FEED = 11; - - // An AdGroupFeed resource change. - AD_GROUP_FEED = 12; - - // An AdGroupAd resource change. - AD_GROUP_AD = 13; - - // An Asset resource change. - ASSET = 14; - - // A CustomerAsset resource change. - CUSTOMER_ASSET = 15; - - // A CampaignAsset resource change. - CAMPAIGN_ASSET = 16; - - // An AdGroupAsset resource change. - AD_GROUP_ASSET = 17; - - // An AssetSet resource change. - ASSET_SET = 18; - - // An AssetSetAsset resource change. - ASSET_SET_ASSET = 19; - - // A CampaignAssetSet resource change. - CAMPAIGN_ASSET_SET = 20; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/change_status_operation.proto b/third_party/googleapis/google/ads/googleads/v11/enums/change_status_operation.proto deleted file mode 100644 index 2b29df806..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/change_status_operation.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ChangeStatusOperationProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing the change status operations. - -// Container for enum describing operations for the ChangeStatus resource. -message ChangeStatusOperationEnum { - // Status of the changed resource - enum ChangeStatusOperation { - // No value has been specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents an unclassified resource unknown - // in this version. - UNKNOWN = 1; - - // The resource was created. - ADDED = 2; - - // The resource was modified. - CHANGED = 3; - - // The resource was removed. - REMOVED = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/change_status_resource_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/change_status_resource_type.proto deleted file mode 100644 index 35a4fbb68..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/change_status_resource_type.proto +++ /dev/null @@ -1,92 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ChangeStatusResourceTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing the resource types the ChangeStatus resource supports. - -// Container for enum describing supported resource types for the ChangeStatus -// resource. -message ChangeStatusResourceTypeEnum { - // Enum listing the resource types support by the ChangeStatus resource. - enum ChangeStatusResourceType { - // No value has been specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents an unclassified resource unknown - // in this version. - UNKNOWN = 1; - - // An AdGroup resource change. - AD_GROUP = 3; - - // An AdGroupAd resource change. - AD_GROUP_AD = 4; - - // An AdGroupCriterion resource change. - AD_GROUP_CRITERION = 5; - - // A Campaign resource change. - CAMPAIGN = 6; - - // A CampaignCriterion resource change. - CAMPAIGN_CRITERION = 7; - - // A Feed resource change. - FEED = 9; - - // A FeedItem resource change. - FEED_ITEM = 10; - - // An AdGroupFeed resource change. - AD_GROUP_FEED = 11; - - // A CampaignFeed resource change. - CAMPAIGN_FEED = 12; - - // An AdGroupBidModifier resource change. - AD_GROUP_BID_MODIFIER = 13; - - // A SharedSet resource change. - SHARED_SET = 14; - - // A CampaignSharedSet resource change. - CAMPAIGN_SHARED_SET = 15; - - // An Asset resource change. - ASSET = 16; - - // A CustomerAsset resource change. - CUSTOMER_ASSET = 17; - - // A CampaignAsset resource change. - CAMPAIGN_ASSET = 18; - - // An AdGroupAsset resource change. - AD_GROUP_ASSET = 19; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/click_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/click_type.proto deleted file mode 100644 index 7e1121e82..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/click_type.proto +++ /dev/null @@ -1,204 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ClickTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing click types. - -// Container for enumeration of Google Ads click types. -message ClickTypeEnum { - // Enumerates Google Ads click types. - enum ClickType { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // App engagement ad deep link. - APP_DEEPLINK = 2; - - // Breadcrumbs. - BREADCRUMBS = 3; - - // Broadband Plan. - BROADBAND_PLAN = 4; - - // Manually dialed phone calls. - CALL_TRACKING = 5; - - // Phone calls. - CALLS = 6; - - // Click on engagement ad. - CLICK_ON_ENGAGEMENT_AD = 7; - - // Driving direction. - GET_DIRECTIONS = 8; - - // Get location details. - LOCATION_EXPANSION = 9; - - // Call. - LOCATION_FORMAT_CALL = 10; - - // Directions. - LOCATION_FORMAT_DIRECTIONS = 11; - - // Image(s). - LOCATION_FORMAT_IMAGE = 12; - - // Go to landing page. - LOCATION_FORMAT_LANDING_PAGE = 13; - - // Map. - LOCATION_FORMAT_MAP = 14; - - // Go to store info. - LOCATION_FORMAT_STORE_INFO = 15; - - // Text. - LOCATION_FORMAT_TEXT = 16; - - // Mobile phone calls. - MOBILE_CALL_TRACKING = 17; - - // Print offer. - OFFER_PRINTS = 18; - - // Other. - OTHER = 19; - - // Product plusbox offer. - PRODUCT_EXTENSION_CLICKS = 20; - - // Shopping - Product - Online. - PRODUCT_LISTING_AD_CLICKS = 21; - - // Sitelink. - SITELINKS = 22; - - // Show nearby locations. - STORE_LOCATOR = 23; - - // Headline. - URL_CLICKS = 25; - - // App store. - VIDEO_APP_STORE_CLICKS = 26; - - // Call-to-Action overlay. - VIDEO_CALL_TO_ACTION_CLICKS = 27; - - // Cards. - VIDEO_CARD_ACTION_HEADLINE_CLICKS = 28; - - // End cap. - VIDEO_END_CAP_CLICKS = 29; - - // Website. - VIDEO_WEBSITE_CLICKS = 30; - - // Visual Sitelinks. - VISUAL_SITELINKS = 31; - - // Wireless Plan. - WIRELESS_PLAN = 32; - - // Shopping - Product - Local. - PRODUCT_LISTING_AD_LOCAL = 33; - - // Shopping - Product - MultiChannel Local. - PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL = 34; - - // Shopping - Product - MultiChannel Online. - PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE = 35; - - // Shopping - Product - Coupon. - PRODUCT_LISTING_ADS_COUPON = 36; - - // Shopping - Product - Sell on Google. - PRODUCT_LISTING_AD_TRANSACTABLE = 37; - - // Shopping - Product - App engagement ad deep link. - PRODUCT_AD_APP_DEEPLINK = 38; - - // Shopping - Showcase - Category. - SHOWCASE_AD_CATEGORY_LINK = 39; - - // Shopping - Showcase - Local storefront. - SHOWCASE_AD_LOCAL_STOREFRONT_LINK = 40; - - // Shopping - Showcase - Online product. - SHOWCASE_AD_ONLINE_PRODUCT_LINK = 42; - - // Shopping - Showcase - Local product. - SHOWCASE_AD_LOCAL_PRODUCT_LINK = 43; - - // Promotion Extension. - PROMOTION_EXTENSION = 44; - - // Ad Headline. - SWIPEABLE_GALLERY_AD_HEADLINE = 45; - - // Swipes. - SWIPEABLE_GALLERY_AD_SWIPES = 46; - - // See More. - SWIPEABLE_GALLERY_AD_SEE_MORE = 47; - - // Sitelink 1. - SWIPEABLE_GALLERY_AD_SITELINK_ONE = 48; - - // Sitelink 2. - SWIPEABLE_GALLERY_AD_SITELINK_TWO = 49; - - // Sitelink 3. - SWIPEABLE_GALLERY_AD_SITELINK_THREE = 50; - - // Sitelink 4. - SWIPEABLE_GALLERY_AD_SITELINK_FOUR = 51; - - // Sitelink 5. - SWIPEABLE_GALLERY_AD_SITELINK_FIVE = 52; - - // Hotel price. - HOTEL_PRICE = 53; - - // Price Extension. - PRICE_EXTENSION = 54; - - // Book on Google hotel room selection. - HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION = 55; - - // Shopping - Comparison Listing. - SHOPPING_COMPARISON_LISTING = 56; - - // Cross-network. From Performance Max and Discovery Campaigns. - CROSS_NETWORK = 57; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/combined_audience_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/combined_audience_status.proto deleted file mode 100644 index c487fe680..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/combined_audience_status.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CombinedAudienceStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing combined audience status. - -// The status of combined audience. -message CombinedAudienceStatusEnum { - // Enum containing possible combined audience status types. - enum CombinedAudienceStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Enabled status - combined audience is enabled and can be targeted. - ENABLED = 2; - - // Removed status - combined audience is removed and cannot be used for - // targeting. - REMOVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/content_label_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/content_label_type.proto deleted file mode 100644 index 1d58ed472..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/content_label_type.proto +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ContentLabelTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing content label types. - -// Container for enum describing content label types in ContentLabel. -message ContentLabelTypeEnum { - // Enum listing the content label types supported by ContentLabel criterion. - enum ContentLabelType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Sexually suggestive content. - SEXUALLY_SUGGESTIVE = 2; - - // Below the fold placement. - BELOW_THE_FOLD = 3; - - // Parked domain. - PARKED_DOMAIN = 4; - - // Juvenile, gross & bizarre content. - JUVENILE = 6; - - // Profanity & rough language. - PROFANITY = 7; - - // Death & tragedy. - TRAGEDY = 8; - - // Video. - VIDEO = 9; - - // Content rating: G. - VIDEO_RATING_DV_G = 10; - - // Content rating: PG. - VIDEO_RATING_DV_PG = 11; - - // Content rating: T. - VIDEO_RATING_DV_T = 12; - - // Content rating: MA. - VIDEO_RATING_DV_MA = 13; - - // Content rating: not yet rated. - VIDEO_NOT_YET_RATED = 14; - - // Embedded video. - EMBEDDED_VIDEO = 15; - - // Live streaming video. - LIVE_STREAMING_VIDEO = 16; - - // Sensitive social issues. - SOCIAL_ISSUES = 17; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/conversion_action_category.proto b/third_party/googleapis/google/ads/googleads/v11/enums/conversion_action_category.proto deleted file mode 100644 index adf167cd6..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/conversion_action_category.proto +++ /dev/null @@ -1,114 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionActionCategoryProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Container for enum describing the category of conversions that are associated -// with a ConversionAction. -message ConversionActionCategoryEnum { - // The category of conversions that are associated with a ConversionAction. - enum ConversionActionCategory { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Default category. - DEFAULT = 2; - - // User visiting a page. - PAGE_VIEW = 3; - - // Purchase, sales, or "order placed" event. - PURCHASE = 4; - - // Signup user action. - SIGNUP = 5; - - // Software download action (as for an app). - DOWNLOAD = 7; - - // The addition of items to a shopping cart or bag on an advertiser site. - ADD_TO_CART = 8; - - // When someone enters the checkout flow on an advertiser site. - BEGIN_CHECKOUT = 9; - - // The start of a paid subscription for a product or service. - SUBSCRIBE_PAID = 10; - - // A call to indicate interest in an advertiser's offering. - PHONE_CALL_LEAD = 11; - - // A lead conversion imported from an external source into Google Ads. - IMPORTED_LEAD = 12; - - // A submission of a form on an advertiser site indicating business - // interest. - SUBMIT_LEAD_FORM = 13; - - // A booking of an appointment with an advertiser's business. - BOOK_APPOINTMENT = 14; - - // A quote or price estimate request. - REQUEST_QUOTE = 15; - - // A search for an advertiser's business location with intention to visit. - GET_DIRECTIONS = 16; - - // A click to an advertiser's partner's site. - OUTBOUND_CLICK = 17; - - // A call, SMS, email, chat or other type of contact to an advertiser. - CONTACT = 18; - - // A website engagement event such as long site time or a Google Analytics - // (GA) Smart Goal. Intended to be used for GA, Firebase, GA Gold goal - // imports. - ENGAGEMENT = 19; - - // A visit to a physical store location. - STORE_VISIT = 20; - - // A sale occurring in a physical store. - STORE_SALE = 21; - - // A lead conversion imported from an external source into Google Ads, - // that has been further qualified by the advertiser (marketing/sales team). - // In the lead-to-sale journey, advertisers get leads, then act on them - // by reaching out to the consumer. If the consumer is interested and - // may end up buying their product, the advertiser marks such leads as - // "qualified leads". - QUALIFIED_LEAD = 22; - - // A lead conversion imported from an external source into Google Ads, that - // has further completed a chosen stage as defined by the lead gen - // advertiser. - CONVERTED_LEAD = 23; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/conversion_action_counting_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/conversion_action_counting_type.proto deleted file mode 100644 index 9f52baeb8..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/conversion_action_counting_type.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionActionCountingTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing conversion action counting type. - -// Container for enum describing the conversion deduplication mode for -// conversion optimizer. -message ConversionActionCountingTypeEnum { - // Indicates how conversions for this action will be counted. For more - // information, see https://support.google.com/google-ads/answer/3438531. - enum ConversionActionCountingType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Count only one conversion per click. - ONE_PER_CLICK = 2; - - // Count all conversions per click. - MANY_PER_CLICK = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/conversion_action_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/conversion_action_status.proto deleted file mode 100644 index c403283ba..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/conversion_action_status.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionActionStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing conversion action status. - -// Container for enum describing possible statuses of a conversion action. -message ConversionActionStatusEnum { - // Possible statuses of a conversion action. - enum ConversionActionStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Conversions will be recorded. - ENABLED = 2; - - // Conversions will not be recorded. - REMOVED = 3; - - // Conversions will not be recorded and the conversion action will not - // appear in the UI. - HIDDEN = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/conversion_action_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/conversion_action_type.proto deleted file mode 100644 index 5b184332c..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/conversion_action_type.proto +++ /dev/null @@ -1,173 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionActionTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing conversion action type. - -// Container for enum describing possible types of a conversion action. -message ConversionActionTypeEnum { - // Possible types of a conversion action. - enum ConversionActionType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Conversions that occur when a user clicks on an ad's call extension. - AD_CALL = 2; - - // Conversions that occur when a user on a mobile device clicks a phone - // number. - CLICK_TO_CALL = 3; - - // Conversions that occur when a user downloads a mobile app from the Google - // Play Store. - GOOGLE_PLAY_DOWNLOAD = 4; - - // Conversions that occur when a user makes a purchase in an app through - // Android billing. - GOOGLE_PLAY_IN_APP_PURCHASE = 5; - - // Call conversions that are tracked by the advertiser and uploaded. - UPLOAD_CALLS = 6; - - // Conversions that are tracked by the advertiser and uploaded with - // attributed clicks. - UPLOAD_CLICKS = 7; - - // Conversions that occur on a webpage. - WEBPAGE = 8; - - // Conversions that occur when a user calls a dynamically-generated phone - // number from an advertiser's website. - WEBSITE_CALL = 9; - - // Store Sales conversion based on first-party or third-party merchant - // data uploads. - // Only customers on the allowlist can use store sales direct upload types. - STORE_SALES_DIRECT_UPLOAD = 10; - - // Store Sales conversion based on first-party or third-party merchant - // data uploads and/or from in-store purchases using cards from payment - // networks. - // Only customers on the allowlist can use store sales types. - // Read only. - STORE_SALES = 11; - - // Android app first open conversions tracked through Firebase. - FIREBASE_ANDROID_FIRST_OPEN = 12; - - // Android app in app purchase conversions tracked through Firebase. - FIREBASE_ANDROID_IN_APP_PURCHASE = 13; - - // Android app custom conversions tracked through Firebase. - FIREBASE_ANDROID_CUSTOM = 14; - - // iOS app first open conversions tracked through Firebase. - FIREBASE_IOS_FIRST_OPEN = 15; - - // iOS app in app purchase conversions tracked through Firebase. - FIREBASE_IOS_IN_APP_PURCHASE = 16; - - // iOS app custom conversions tracked through Firebase. - FIREBASE_IOS_CUSTOM = 17; - - // Android app first open conversions tracked through Third Party App - // Analytics. - THIRD_PARTY_APP_ANALYTICS_ANDROID_FIRST_OPEN = 18; - - // Android app in app purchase conversions tracked through Third Party App - // Analytics. - THIRD_PARTY_APP_ANALYTICS_ANDROID_IN_APP_PURCHASE = 19; - - // Android app custom conversions tracked through Third Party App Analytics. - THIRD_PARTY_APP_ANALYTICS_ANDROID_CUSTOM = 20; - - // iOS app first open conversions tracked through Third Party App Analytics. - THIRD_PARTY_APP_ANALYTICS_IOS_FIRST_OPEN = 21; - - // iOS app in app purchase conversions tracked through Third Party App - // Analytics. - THIRD_PARTY_APP_ANALYTICS_IOS_IN_APP_PURCHASE = 22; - - // iOS app custom conversions tracked through Third Party App Analytics. - THIRD_PARTY_APP_ANALYTICS_IOS_CUSTOM = 23; - - // Conversions that occur when a user pre-registers a mobile app from the - // Google Play Store. Read only. - ANDROID_APP_PRE_REGISTRATION = 24; - - // Conversions that track all Google Play downloads which aren't tracked - // by an app-specific type. Read only. - ANDROID_INSTALLS_ALL_OTHER_APPS = 25; - - // Floodlight activity that counts the number of times that users have - // visited a particular webpage after seeing or clicking on one of - // an advertiser's ads. Read only. - FLOODLIGHT_ACTION = 26; - - // Floodlight activity that tracks the number of sales made or the number - // of items purchased. Can also capture the total value of each sale. - // Read only. - FLOODLIGHT_TRANSACTION = 27; - - // Conversions that track local actions from Google's products and - // services after interacting with an ad. Read only. - GOOGLE_HOSTED = 28; - - // Conversions reported when a user submits a lead form. Read only. - LEAD_FORM_SUBMIT = 29; - - // Conversions that come from Salesforce. Read only. - SALESFORCE = 30; - - // Conversions imported from Search Ads 360 Floodlight data. Read only. - SEARCH_ADS_360 = 31; - - // Call conversions that occur on Smart campaign Ads without call tracking - // setup, using Smart campaign custom criteria. Read only. - SMART_CAMPAIGN_AD_CLICKS_TO_CALL = 32; - - // The user clicks on a call element within Google Maps. Smart campaign - // only. Read only. - SMART_CAMPAIGN_MAP_CLICKS_TO_CALL = 33; - - // The user requests directions to a business location within Google Maps. - // Smart campaign only. Read only. - SMART_CAMPAIGN_MAP_DIRECTIONS = 34; - - // Call conversions that occur on Smart campaign Ads with call tracking - // setup, using Smart campaign custom criteria. Read only. - SMART_CAMPAIGN_TRACKED_CALLS = 35; - - // Conversions that occur when a user visits an advertiser's retail store. - // Read only. - STORE_VISITS = 36; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/conversion_adjustment_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/conversion_adjustment_type.proto deleted file mode 100644 index f0d8873bc..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/conversion_adjustment_type.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionAdjustmentTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing conversion adjustment type. - -// Container for enum describing conversion adjustment types. -message ConversionAdjustmentTypeEnum { - // The different actions advertisers can take to adjust the conversions that - // they already reported. Retractions negate a conversion. Restatements change - // the value of a conversion. - enum ConversionAdjustmentType { - // Not specified. - UNSPECIFIED = 0; - - // Represents value unknown in this version. - UNKNOWN = 1; - - // Negates a conversion so that its total value and count are both zero. - RETRACTION = 2; - - // Changes the value of a conversion. - RESTATEMENT = 3; - - // Supplements an existing conversion with provided user identifiers and - // user agent, which can be used by Google to enhance the conversion count. - ENHANCEMENT = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/conversion_attribution_event_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/conversion_attribution_event_type.proto deleted file mode 100644 index b78cc39a3..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/conversion_attribution_event_type.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionAttributionEventTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Container for enum indicating the event type the conversion is attributed to. -message ConversionAttributionEventTypeEnum { - // The event type of conversions that are attributed to. - enum ConversionAttributionEventType { - // Not specified. - UNSPECIFIED = 0; - - // Represents value unknown in this version. - UNKNOWN = 1; - - // The conversion is attributed to an impression. - IMPRESSION = 2; - - // The conversion is attributed to an interaction. - INTERACTION = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/conversion_custom_variable_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/conversion_custom_variable_status.proto deleted file mode 100644 index d1c2db6fe..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/conversion_custom_variable_status.proto +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionCustomVariableStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing conversion custom variable status. - -// Container for enum describing possible statuses of a conversion custom -// variable. -message ConversionCustomVariableStatusEnum { - // Possible statuses of a conversion custom variable. - enum ConversionCustomVariableStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The conversion custom variable is pending activation and will not - // accrue stats until set to ENABLED. - // - // This status can't be used in CREATE and UPDATE requests. - ACTIVATION_NEEDED = 2; - - // The conversion custom variable is enabled and will accrue stats. - ENABLED = 3; - - // The conversion custom variable is paused and will not accrue stats - // until set to ENABLED again. - PAUSED = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/conversion_environment_enum.proto b/third_party/googleapis/google/ads/googleads/v11/enums/conversion_environment_enum.proto deleted file mode 100644 index 7b8f004a9..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/conversion_environment_enum.proto +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionEnvironmentEnumProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Container for enum representing the conversion environment an uploaded -// conversion was recorded on, for example, App or Web. -message ConversionEnvironmentEnum { - // Conversion environment of the uploaded conversion. - enum ConversionEnvironment { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The conversion was recorded on an app. - APP = 2; - - // The conversion was recorded on a website. - WEB = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/conversion_lag_bucket.proto b/third_party/googleapis/google/ads/googleads/v11/enums/conversion_lag_bucket.proto deleted file mode 100644 index 9029a204a..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/conversion_lag_bucket.proto +++ /dev/null @@ -1,115 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionLagBucketProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Container for enum representing the number of days between impression and -// conversion. -message ConversionLagBucketEnum { - // Enum representing the number of days between impression and conversion. - enum ConversionLagBucket { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Conversion lag bucket from 0 to 1 day. 0 day is included, 1 day is not. - LESS_THAN_ONE_DAY = 2; - - // Conversion lag bucket from 1 to 2 days. 1 day is included, 2 days is not. - ONE_TO_TWO_DAYS = 3; - - // Conversion lag bucket from 2 to 3 days. 2 days is included, - // 3 days is not. - TWO_TO_THREE_DAYS = 4; - - // Conversion lag bucket from 3 to 4 days. 3 days is included, - // 4 days is not. - THREE_TO_FOUR_DAYS = 5; - - // Conversion lag bucket from 4 to 5 days. 4 days is included, - // 5 days is not. - FOUR_TO_FIVE_DAYS = 6; - - // Conversion lag bucket from 5 to 6 days. 5 days is included, - // 6 days is not. - FIVE_TO_SIX_DAYS = 7; - - // Conversion lag bucket from 6 to 7 days. 6 days is included, - // 7 days is not. - SIX_TO_SEVEN_DAYS = 8; - - // Conversion lag bucket from 7 to 8 days. 7 days is included, - // 8 days is not. - SEVEN_TO_EIGHT_DAYS = 9; - - // Conversion lag bucket from 8 to 9 days. 8 days is included, - // 9 days is not. - EIGHT_TO_NINE_DAYS = 10; - - // Conversion lag bucket from 9 to 10 days. 9 days is included, - // 10 days is not. - NINE_TO_TEN_DAYS = 11; - - // Conversion lag bucket from 10 to 11 days. 10 days is included, - // 11 days is not. - TEN_TO_ELEVEN_DAYS = 12; - - // Conversion lag bucket from 11 to 12 days. 11 days is included, - // 12 days is not. - ELEVEN_TO_TWELVE_DAYS = 13; - - // Conversion lag bucket from 12 to 13 days. 12 days is included, - // 13 days is not. - TWELVE_TO_THIRTEEN_DAYS = 14; - - // Conversion lag bucket from 13 to 14 days. 13 days is included, - // 14 days is not. - THIRTEEN_TO_FOURTEEN_DAYS = 15; - - // Conversion lag bucket from 14 to 21 days. 14 days is included, - // 21 days is not. - FOURTEEN_TO_TWENTY_ONE_DAYS = 16; - - // Conversion lag bucket from 21 to 30 days. 21 days is included, - // 30 days is not. - TWENTY_ONE_TO_THIRTY_DAYS = 17; - - // Conversion lag bucket from 30 to 45 days. 30 days is included, - // 45 days is not. - THIRTY_TO_FORTY_FIVE_DAYS = 18; - - // Conversion lag bucket from 45 to 60 days. 45 days is included, - // 60 days is not. - FORTY_FIVE_TO_SIXTY_DAYS = 19; - - // Conversion lag bucket from 60 to 90 days. 60 days is included, - // 90 days is not. - SIXTY_TO_NINETY_DAYS = 20; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/conversion_or_adjustment_lag_bucket.proto b/third_party/googleapis/google/ads/googleads/v11/enums/conversion_or_adjustment_lag_bucket.proto deleted file mode 100644 index 3dc1db295..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/conversion_or_adjustment_lag_bucket.proto +++ /dev/null @@ -1,204 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionOrAdjustmentLagBucketProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Container for enum representing the number of days between the impression and -// the conversion or between the impression and adjustments to the conversion. -message ConversionOrAdjustmentLagBucketEnum { - // Enum representing the number of days between the impression and the - // conversion or between the impression and adjustments to the conversion. - enum ConversionOrAdjustmentLagBucket { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Conversion lag bucket from 0 to 1 day. 0 day is included, 1 day is not. - CONVERSION_LESS_THAN_ONE_DAY = 2; - - // Conversion lag bucket from 1 to 2 days. 1 day is included, 2 days is not. - CONVERSION_ONE_TO_TWO_DAYS = 3; - - // Conversion lag bucket from 2 to 3 days. 2 days is included, - // 3 days is not. - CONVERSION_TWO_TO_THREE_DAYS = 4; - - // Conversion lag bucket from 3 to 4 days. 3 days is included, - // 4 days is not. - CONVERSION_THREE_TO_FOUR_DAYS = 5; - - // Conversion lag bucket from 4 to 5 days. 4 days is included, - // 5 days is not. - CONVERSION_FOUR_TO_FIVE_DAYS = 6; - - // Conversion lag bucket from 5 to 6 days. 5 days is included, - // 6 days is not. - CONVERSION_FIVE_TO_SIX_DAYS = 7; - - // Conversion lag bucket from 6 to 7 days. 6 days is included, - // 7 days is not. - CONVERSION_SIX_TO_SEVEN_DAYS = 8; - - // Conversion lag bucket from 7 to 8 days. 7 days is included, - // 8 days is not. - CONVERSION_SEVEN_TO_EIGHT_DAYS = 9; - - // Conversion lag bucket from 8 to 9 days. 8 days is included, - // 9 days is not. - CONVERSION_EIGHT_TO_NINE_DAYS = 10; - - // Conversion lag bucket from 9 to 10 days. 9 days is included, - // 10 days is not. - CONVERSION_NINE_TO_TEN_DAYS = 11; - - // Conversion lag bucket from 10 to 11 days. 10 days is included, - // 11 days is not. - CONVERSION_TEN_TO_ELEVEN_DAYS = 12; - - // Conversion lag bucket from 11 to 12 days. 11 days is included, - // 12 days is not. - CONVERSION_ELEVEN_TO_TWELVE_DAYS = 13; - - // Conversion lag bucket from 12 to 13 days. 12 days is included, - // 13 days is not. - CONVERSION_TWELVE_TO_THIRTEEN_DAYS = 14; - - // Conversion lag bucket from 13 to 14 days. 13 days is included, - // 14 days is not. - CONVERSION_THIRTEEN_TO_FOURTEEN_DAYS = 15; - - // Conversion lag bucket from 14 to 21 days. 14 days is included, - // 21 days is not. - CONVERSION_FOURTEEN_TO_TWENTY_ONE_DAYS = 16; - - // Conversion lag bucket from 21 to 30 days. 21 days is included, - // 30 days is not. - CONVERSION_TWENTY_ONE_TO_THIRTY_DAYS = 17; - - // Conversion lag bucket from 30 to 45 days. 30 days is included, - // 45 days is not. - CONVERSION_THIRTY_TO_FORTY_FIVE_DAYS = 18; - - // Conversion lag bucket from 45 to 60 days. 45 days is included, - // 60 days is not. - CONVERSION_FORTY_FIVE_TO_SIXTY_DAYS = 19; - - // Conversion lag bucket from 60 to 90 days. 60 days is included, - // 90 days is not. - CONVERSION_SIXTY_TO_NINETY_DAYS = 20; - - // Conversion adjustment lag bucket from 0 to 1 day. 0 day is included, - // 1 day is not. - ADJUSTMENT_LESS_THAN_ONE_DAY = 21; - - // Conversion adjustment lag bucket from 1 to 2 days. 1 day is included, - // 2 days is not. - ADJUSTMENT_ONE_TO_TWO_DAYS = 22; - - // Conversion adjustment lag bucket from 2 to 3 days. 2 days is included, - // 3 days is not. - ADJUSTMENT_TWO_TO_THREE_DAYS = 23; - - // Conversion adjustment lag bucket from 3 to 4 days. 3 days is included, - // 4 days is not. - ADJUSTMENT_THREE_TO_FOUR_DAYS = 24; - - // Conversion adjustment lag bucket from 4 to 5 days. 4 days is included, - // 5 days is not. - ADJUSTMENT_FOUR_TO_FIVE_DAYS = 25; - - // Conversion adjustment lag bucket from 5 to 6 days. 5 days is included, - // 6 days is not. - ADJUSTMENT_FIVE_TO_SIX_DAYS = 26; - - // Conversion adjustment lag bucket from 6 to 7 days. 6 days is included, - // 7 days is not. - ADJUSTMENT_SIX_TO_SEVEN_DAYS = 27; - - // Conversion adjustment lag bucket from 7 to 8 days. 7 days is included, - // 8 days is not. - ADJUSTMENT_SEVEN_TO_EIGHT_DAYS = 28; - - // Conversion adjustment lag bucket from 8 to 9 days. 8 days is included, - // 9 days is not. - ADJUSTMENT_EIGHT_TO_NINE_DAYS = 29; - - // Conversion adjustment lag bucket from 9 to 10 days. 9 days is included, - // 10 days is not. - ADJUSTMENT_NINE_TO_TEN_DAYS = 30; - - // Conversion adjustment lag bucket from 10 to 11 days. 10 days is included, - // 11 days is not. - ADJUSTMENT_TEN_TO_ELEVEN_DAYS = 31; - - // Conversion adjustment lag bucket from 11 to 12 days. 11 days is included, - // 12 days is not. - ADJUSTMENT_ELEVEN_TO_TWELVE_DAYS = 32; - - // Conversion adjustment lag bucket from 12 to 13 days. 12 days is included, - // 13 days is not. - ADJUSTMENT_TWELVE_TO_THIRTEEN_DAYS = 33; - - // Conversion adjustment lag bucket from 13 to 14 days. 13 days is included, - // 14 days is not. - ADJUSTMENT_THIRTEEN_TO_FOURTEEN_DAYS = 34; - - // Conversion adjustment lag bucket from 14 to 21 days. 14 days is included, - // 21 days is not. - ADJUSTMENT_FOURTEEN_TO_TWENTY_ONE_DAYS = 35; - - // Conversion adjustment lag bucket from 21 to 30 days. 21 days is included, - // 30 days is not. - ADJUSTMENT_TWENTY_ONE_TO_THIRTY_DAYS = 36; - - // Conversion adjustment lag bucket from 30 to 45 days. 30 days is included, - // 45 days is not. - ADJUSTMENT_THIRTY_TO_FORTY_FIVE_DAYS = 37; - - // Conversion adjustment lag bucket from 45 to 60 days. 45 days is included, - // 60 days is not. - ADJUSTMENT_FORTY_FIVE_TO_SIXTY_DAYS = 38; - - // Conversion adjustment lag bucket from 60 to 90 days. 60 days is included, - // 90 days is not. - ADJUSTMENT_SIXTY_TO_NINETY_DAYS = 39; - - // Conversion adjustment lag bucket from 90 to 145 days. 90 days is - // included, 145 days is not. - ADJUSTMENT_NINETY_TO_ONE_HUNDRED_AND_FORTY_FIVE_DAYS = 40; - - // Conversion lag bucket UNKNOWN. This is for dates before conversion lag - // bucket was available in Google Ads. - CONVERSION_UNKNOWN = 41; - - // Conversion adjustment lag bucket UNKNOWN. This is for dates before - // conversion adjustment lag bucket was available in Google Ads. - ADJUSTMENT_UNKNOWN = 42; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/conversion_origin.proto b/third_party/googleapis/google/ads/googleads/v11/enums/conversion_origin.proto deleted file mode 100644 index f924200d4..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/conversion_origin.proto +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionOriginProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing conversion origin. - -// Container for enum describing possible conversion origins. -message ConversionOriginEnum { - // The possible places where a conversion can occur. - enum ConversionOrigin { - // The conversion origin has not been specified. - UNSPECIFIED = 0; - - // The conversion origin is not known in this version. - UNKNOWN = 1; - - // Conversion that occurs when a user visits a website or takes an action - // there after viewing an ad. - WEBSITE = 2; - - // Conversions reported by an offline pipeline which collects local actions - // from Google-hosted pages (for example, Google Maps, Google Place Page, - // etc) and attributes them to relevant ad events. - GOOGLE_HOSTED = 3; - - // Conversion that occurs when a user performs an action through any app - // platforms. - APP = 4; - - // Conversion that occurs when a user makes a call from ads. - CALL_FROM_ADS = 5; - - // Conversion that occurs when a user visits or makes a purchase at a - // physical store. - STORE = 6; - - // Conversion that occurs on YouTube. - YOUTUBE_HOSTED = 7; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/conversion_tracking_status_enum.proto b/third_party/googleapis/google/ads/googleads/v11/enums/conversion_tracking_status_enum.proto deleted file mode 100644 index 6b91eeea6..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/conversion_tracking_status_enum.proto +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionTrackingStatusEnumProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Container for enum representing the conversion tracking status of the -// customer. -message ConversionTrackingStatusEnum { - // Conversion Tracking status of the customer. - enum ConversionTrackingStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Customer does not use any conversion tracking. - NOT_CONVERSION_TRACKED = 2; - - // The conversion actions are created and managed by this customer. - CONVERSION_TRACKING_MANAGED_BY_SELF = 3; - - // The conversion actions are created and managed by the manager specified - // in the request's `login-customer-id`. - CONVERSION_TRACKING_MANAGED_BY_THIS_MANAGER = 4; - - // The conversion actions are created and managed by a manager different - // from the customer or manager specified in the request's - // `login-customer-id`. - CONVERSION_TRACKING_MANAGED_BY_ANOTHER_MANAGER = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/conversion_value_rule_primary_dimension.proto b/third_party/googleapis/google/ads/googleads/v11/enums/conversion_value_rule_primary_dimension.proto deleted file mode 100644 index 70abbf3dc..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/conversion_value_rule_primary_dimension.proto +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionValueRulePrimaryDimensionProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing conversion value rule primary dimension. - -// Container for enum describing value rule primary dimension for stats. -message ConversionValueRulePrimaryDimensionEnum { - // Identifies the primary dimension for conversion value rule stats. - enum ConversionValueRulePrimaryDimension { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // For no-value-rule-applied conversions after value rule is enabled. - NO_RULE_APPLIED = 2; - - // Below are for value-rule-applied conversions: - // The original stats. - ORIGINAL = 3; - - // When a new or returning customer condition is satisfied. - NEW_VS_RETURNING_USER = 4; - - // When a query-time Geo location condition is satisfied. - GEO_LOCATION = 5; - - // When a query-time browsing device condition is satisfied. - DEVICE = 6; - - // When a query-time audience condition is satisfied. - AUDIENCE = 7; - - // When multiple rules are applied. - MULTIPLE = 8; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/conversion_value_rule_set_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/conversion_value_rule_set_status.proto deleted file mode 100644 index e5f6f400c..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/conversion_value_rule_set_status.proto +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionValueRuleSetStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing conversion value rule set status. - -// Container for enum describing possible statuses of a conversion value rule -// set. -message ConversionValueRuleSetStatusEnum { - // Possible statuses of a conversion value rule set. - enum ConversionValueRuleSetStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Conversion Value Rule Set is enabled and can be applied. - ENABLED = 2; - - // Conversion Value Rule Set is permanently deleted and can't be applied. - REMOVED = 3; - - // Conversion Value Rule Set is paused and won't be applied. It can be - // enabled again. - PAUSED = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/conversion_value_rule_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/conversion_value_rule_status.proto deleted file mode 100644 index d9d5efd2d..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/conversion_value_rule_status.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionValueRuleStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing conversion value rule status. - -// Container for enum describing possible statuses of a conversion value rule. -message ConversionValueRuleStatusEnum { - // Possible statuses of a conversion value rule. - enum ConversionValueRuleStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Conversion Value Rule is enabled and can be applied. - ENABLED = 2; - - // Conversion Value Rule is permanently deleted and can't be applied. - REMOVED = 3; - - // Conversion Value Rule is paused, but can be re-enabled. - PAUSED = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/criterion_category_channel_availability_mode.proto b/third_party/googleapis/google/ads/googleads/v11/enums/criterion_category_channel_availability_mode.proto deleted file mode 100644 index 808baaf69..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/criterion_category_channel_availability_mode.proto +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CriterionCategoryChannelAvailabilityModeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing the criterion category channel availability mode. - -// Describes channel availability mode for a criterion availability - whether -// the availability is meant to include all advertising channels, or a -// particular channel with all its channel subtypes, or a channel with a certain -// subset of channel subtypes. -message CriterionCategoryChannelAvailabilityModeEnum { - // Enum containing the possible CriterionCategoryChannelAvailabilityMode. - enum CriterionCategoryChannelAvailabilityMode { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The category is available to campaigns of all channel types and subtypes. - ALL_CHANNELS = 2; - - // The category is available to campaigns of a specific channel type, - // including all subtypes under it. - CHANNEL_TYPE_AND_ALL_SUBTYPES = 3; - - // The category is available to campaigns of a specific channel type and - // subtype(s). - CHANNEL_TYPE_AND_SUBSET_SUBTYPES = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/criterion_category_locale_availability_mode.proto b/third_party/googleapis/google/ads/googleads/v11/enums/criterion_category_locale_availability_mode.proto deleted file mode 100644 index bdcb722f4..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/criterion_category_locale_availability_mode.proto +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CriterionCategoryLocaleAvailabilityModeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing the criterion category locale availability mode. - -// Describes locale availability mode for a criterion availability - whether -// it's available globally, or a particular country with all languages, or a -// particular language with all countries, or a country-language pair. -message CriterionCategoryLocaleAvailabilityModeEnum { - // Enum containing the possible CriterionCategoryLocaleAvailabilityMode. - enum CriterionCategoryLocaleAvailabilityMode { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The category is available to campaigns of all locales. - ALL_LOCALES = 2; - - // The category is available to campaigns within a list of countries, - // regardless of language. - COUNTRY_AND_ALL_LANGUAGES = 3; - - // The category is available to campaigns within a list of languages, - // regardless of country. - LANGUAGE_AND_ALL_COUNTRIES = 4; - - // The category is available to campaigns within a list of country, language - // pairs. - COUNTRY_AND_LANGUAGE = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/criterion_system_serving_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/criterion_system_serving_status.proto deleted file mode 100644 index c44afe1c6..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/criterion_system_serving_status.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CriterionSystemServingStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing approval status for the criterion. - -// Container for enum describing possible criterion system serving statuses. -message CriterionSystemServingStatusEnum { - // Enumerates criterion system serving statuses. - enum CriterionSystemServingStatus { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Eligible. - ELIGIBLE = 2; - - // Low search volume. - RARELY_SERVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/criterion_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/criterion_type.proto deleted file mode 100644 index 7256a25df..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/criterion_type.proto +++ /dev/null @@ -1,144 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CriterionTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing criteria types. - -// The possible types of a criterion. -message CriterionTypeEnum { - // Enum describing possible criterion types. - enum CriterionType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Keyword, for example, 'mars cruise'. - KEYWORD = 2; - - // Placement, also known as Website, for example, 'www.flowers4sale.com' - PLACEMENT = 3; - - // Mobile application categories to target. - MOBILE_APP_CATEGORY = 4; - - // Mobile applications to target. - MOBILE_APPLICATION = 5; - - // Devices to target. - DEVICE = 6; - - // Locations to target. - LOCATION = 7; - - // Listing groups to target. - LISTING_GROUP = 8; - - // Ad Schedule. - AD_SCHEDULE = 9; - - // Age range. - AGE_RANGE = 10; - - // Gender. - GENDER = 11; - - // Income Range. - INCOME_RANGE = 12; - - // Parental status. - PARENTAL_STATUS = 13; - - // YouTube Video. - YOUTUBE_VIDEO = 14; - - // YouTube Channel. - YOUTUBE_CHANNEL = 15; - - // User list. - USER_LIST = 16; - - // Proximity. - PROXIMITY = 17; - - // A topic target on the display network (for example, "Pets & Animals"). - TOPIC = 18; - - // Listing scope to target. - LISTING_SCOPE = 19; - - // Language. - LANGUAGE = 20; - - // IpBlock. - IP_BLOCK = 21; - - // Content Label for category exclusion. - CONTENT_LABEL = 22; - - // Carrier. - CARRIER = 23; - - // A category the user is interested in. - USER_INTEREST = 24; - - // Webpage criterion for dynamic search ads. - WEBPAGE = 25; - - // Operating system version. - OPERATING_SYSTEM_VERSION = 26; - - // App payment model. - APP_PAYMENT_MODEL = 27; - - // Mobile device. - MOBILE_DEVICE = 28; - - // Custom affinity. - CUSTOM_AFFINITY = 29; - - // Custom intent. - CUSTOM_INTENT = 30; - - // Location group. - LOCATION_GROUP = 31; - - // Custom audience - CUSTOM_AUDIENCE = 32; - - // Combined audience - COMBINED_AUDIENCE = 33; - - // Smart Campaign keyword theme - KEYWORD_THEME = 34; - - // Audience - AUDIENCE = 35; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/custom_audience_member_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/custom_audience_member_type.proto deleted file mode 100644 index 636490490..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/custom_audience_member_type.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomAudienceMemberTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing custom audience member type. - -// The type of custom audience member. -message CustomAudienceMemberTypeEnum { - // Enum containing possible custom audience member types. - enum CustomAudienceMemberType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Users whose interests or actions are described by a keyword. - KEYWORD = 2; - - // Users who have interests related to the website's content. - URL = 3; - - // Users who visit place types described by a place category. - PLACE_CATEGORY = 4; - - // Users who have installed a mobile app. - APP = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/custom_audience_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/custom_audience_status.proto deleted file mode 100644 index 81ab15d66..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/custom_audience_status.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomAudienceStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing custom audience status. - -// The status of custom audience. -message CustomAudienceStatusEnum { - // Enum containing possible custom audience statuses. - enum CustomAudienceStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Enabled status - custom audience is enabled and can be targeted. - ENABLED = 2; - - // Removed status - custom audience is removed and cannot be used for - // targeting. - REMOVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/custom_audience_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/custom_audience_type.proto deleted file mode 100644 index 333653799..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/custom_audience_type.proto +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomAudienceTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing custom audience type. - -// The types of custom audience. -message CustomAudienceTypeEnum { - // Enum containing possible custom audience types. - enum CustomAudienceType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Google Ads will auto-select the best interpretation at serving - // time. - AUTO = 2; - - // Matches users by their interests. - INTEREST = 3; - - // Matches users by topics they are researching or products they are - // considering for purchase. - PURCHASE_INTENT = 4; - - // Matches users by what they searched on Google Search. - SEARCH = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/custom_conversion_goal_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/custom_conversion_goal_status.proto deleted file mode 100644 index 3ee66b991..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/custom_conversion_goal_status.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomConversionGoalStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing custom conversion goal status. - -// Container for enum describing possible statuses of a custom conversion goal. -message CustomConversionGoalStatusEnum { - // The possible statuses of a custom conversion goal. - enum CustomConversionGoalStatus { - // The status has not been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - UNKNOWN = 1; - - // The custom conversion goal is enabled. - ENABLED = 2; - - // The custom conversion goal is removed. - REMOVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/custom_interest_member_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/custom_interest_member_type.proto deleted file mode 100644 index fe35e9a30..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/custom_interest_member_type.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomInterestMemberTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing custom interest member type. - -// The types of custom interest member, either KEYWORD or URL. -message CustomInterestMemberTypeEnum { - // Enum containing possible custom interest member types. - enum CustomInterestMemberType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Custom interest member type KEYWORD. - KEYWORD = 2; - - // Custom interest member type URL. - URL = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/custom_interest_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/custom_interest_status.proto deleted file mode 100644 index 06836b715..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/custom_interest_status.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomInterestStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing custom interest status. - -// The status of custom interest. -message CustomInterestStatusEnum { - // Enum containing possible custom interest types. - enum CustomInterestStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Enabled status - custom interest is enabled and can be targeted to. - ENABLED = 2; - - // Removed status - custom interest is removed and cannot be used for - // targeting. - REMOVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/custom_interest_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/custom_interest_type.proto deleted file mode 100644 index ca26d37bb..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/custom_interest_type.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomInterestTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing custom interest type. - -// The types of custom interest. -message CustomInterestTypeEnum { - // Enum containing possible custom interest types. - enum CustomInterestType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Allows brand advertisers to define custom affinity audience lists. - CUSTOM_AFFINITY = 2; - - // Allows advertisers to define custom intent audience lists. - CUSTOM_INTENT = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/custom_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v11/enums/custom_placeholder_field.proto deleted file mode 100644 index 388aa0416..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/custom_placeholder_field.proto +++ /dev/null @@ -1,127 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing Custom placeholder fields. - -// Values for Custom placeholder fields. -// For more information about dynamic remarketing feeds, see -// https://support.google.com/google-ads/answer/6053288. -message CustomPlaceholderFieldEnum { - // Possible values for Custom placeholder fields. - enum CustomPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. Required. Combination ID and ID2 must be unique per - // offer. - ID = 2; - - // Data Type: STRING. Combination ID and ID2 must be unique per offer. - ID2 = 3; - - // Data Type: STRING. Required. Main headline with product name to be shown - // in dynamic ad. - ITEM_TITLE = 4; - - // Data Type: STRING. Optional text to be shown in the image ad. - ITEM_SUBTITLE = 5; - - // Data Type: STRING. Optional description of the product to be shown in the - // ad. - ITEM_DESCRIPTION = 6; - - // Data Type: STRING. Full address of your offer or service, including - // postal code. This will be used to identify the closest product to the - // user when there are multiple offers in the feed that are relevant to the - // user. - ITEM_ADDRESS = 7; - - // Data Type: STRING. Price to be shown in the ad. - // Example: "100.00 USD" - PRICE = 8; - - // Data Type: STRING. Formatted price to be shown in the ad. - // Example: "Starting at $100.00 USD", "$80 - $100" - FORMATTED_PRICE = 9; - - // Data Type: STRING. Sale price to be shown in the ad. - // Example: "80.00 USD" - SALE_PRICE = 10; - - // Data Type: STRING. Formatted sale price to be shown in the ad. - // Example: "On sale for $80.00", "$60 - $80" - FORMATTED_SALE_PRICE = 11; - - // Data Type: URL. Image to be displayed in the ad. Highly recommended for - // image ads. - IMAGE_URL = 12; - - // Data Type: STRING. Used as a recommendation engine signal to serve items - // in the same category. - ITEM_CATEGORY = 13; - - // Data Type: URL_LIST. Final URLs for the ad when using Upgraded - // URLs. User will be redirected to these URLs when they click on an ad, or - // when they click on a specific product for ads that have multiple - // products. - FINAL_URLS = 14; - - // Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - // URLs. - FINAL_MOBILE_URLS = 15; - - // Data Type: URL. Tracking template for the ad when using Upgraded URLs. - TRACKING_URL = 16; - - // Data Type: STRING_LIST. Keywords used for product retrieval. - CONTEXTUAL_KEYWORDS = 17; - - // Data Type: STRING. Android app link. Must be formatted as: - // android-app://{package_id}/{scheme}/{host_path}. - // The components are defined as follows: - // package_id: app ID as specified in Google Play. - // scheme: the scheme to pass to the application. Can be HTTP, or a custom - // scheme. - // host_path: identifies the specific content within your application. - ANDROID_APP_LINK = 18; - - // Data Type: STRING_LIST. List of recommended IDs to show together with - // this item. - SIMILAR_IDS = 19; - - // Data Type: STRING. iOS app link. - IOS_APP_LINK = 20; - - // Data Type: INT64. iOS app store ID. - IOS_APP_STORE_ID = 21; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/customer_match_upload_key_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/customer_match_upload_key_type.proto deleted file mode 100644 index 200cdb6b5..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/customer_match_upload_key_type.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomerMatchUploadKeyTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Indicates what type of data are the user list's members matched from. -message CustomerMatchUploadKeyTypeEnum { - // Enum describing possible customer match upload key types. - enum CustomerMatchUploadKeyType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Members are matched from customer info such as email address, phone - // number or physical address. - CONTACT_INFO = 2; - - // Members are matched from a user id generated and assigned by the - // advertiser. - CRM_ID = 3; - - // Members are matched from mobile advertising ids. - MOBILE_ADVERTISING_ID = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/customer_pay_per_conversion_eligibility_failure_reason.proto b/third_party/googleapis/google/ads/googleads/v11/enums/customer_pay_per_conversion_eligibility_failure_reason.proto deleted file mode 100644 index fe1c023ae..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/customer_pay_per_conversion_eligibility_failure_reason.proto +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomerPayPerConversionEligibilityFailureReasonProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing pay per conversion eligibility failure reasons. - -// Container for enum describing reasons why a customer is not eligible to use -// PaymentMode.CONVERSIONS. -message CustomerPayPerConversionEligibilityFailureReasonEnum { - // Enum describing possible reasons a customer is not eligible to use - // PaymentMode.CONVERSIONS. - enum CustomerPayPerConversionEligibilityFailureReason { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Customer does not have enough conversions. - NOT_ENOUGH_CONVERSIONS = 2; - - // Customer's conversion lag is too high. - CONVERSION_LAG_TOO_HIGH = 3; - - // Customer uses shared budgets. - HAS_CAMPAIGN_WITH_SHARED_BUDGET = 4; - - // Customer has conversions with ConversionActionType.UPLOAD_CLICKS. - HAS_UPLOAD_CLICKS_CONVERSION = 5; - - // Customer's average daily spend is too high. - AVERAGE_DAILY_SPEND_TOO_HIGH = 6; - - // Customer's eligibility has not yet been calculated by the Google Ads - // backend. Check back soon. - ANALYSIS_NOT_COMPLETE = 7; - - // Customer is not eligible due to other reasons. - OTHER = 8; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/customer_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/customer_status.proto deleted file mode 100644 index 794bde010..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/customer_status.proto +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomerStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Container for enum describing possible statuses of a customer. -message CustomerStatusEnum { - // Possible statuses of a customer. - enum CustomerStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Indicates an active account able to serve ads. - ENABLED = 2; - - // Indicates a canceled account unable to serve ads. - // Can be reactivated by an admin user. - CANCELED = 3; - - // Indicates a suspended account unable to serve ads. - // May only be activated by Google support. - SUSPENDED = 4; - - // Indicates a closed account unable to serve ads. - // Test account will also have CLOSED status. - // Status is permanent and may not be reopened. - CLOSED = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/customizer_attribute_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/customizer_attribute_status.proto deleted file mode 100644 index 6af9ad006..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/customizer_attribute_status.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomizerAttributeStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing customizer attribute status. - -// Container for enum describing possible statuses of a customizer attribute. -message CustomizerAttributeStatusEnum { - // The possible statuses of a customizer attribute. - enum CustomizerAttributeStatus { - // The status has not been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - UNKNOWN = 1; - - // The customizer attribute is enabled. - ENABLED = 2; - - // The customizer attribute is removed. - REMOVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/customizer_attribute_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/customizer_attribute_type.proto deleted file mode 100644 index 07f8cbe37..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/customizer_attribute_type.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomizerAttributeTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing customizer attribute type. - -// Container for enum describing possible types of a customizer attribute. -message CustomizerAttributeTypeEnum { - // The possible types of a customizer attribute. - enum CustomizerAttributeType { - // The status has not been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - UNKNOWN = 1; - - // Text customizer. - TEXT = 2; - - // Number customizer. - NUMBER = 3; - - // Price customizer consisting of a number and a currency. - PRICE = 4; - - // Percentage customizer consisting of a number and a '%'. - PERCENT = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/customizer_value_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/customizer_value_status.proto deleted file mode 100644 index 6ac491502..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/customizer_value_status.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomizerValueStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing customizer value status. - -// Container for enum describing possible statuses of a customizer value. -message CustomizerValueStatusEnum { - // The possible statuses of a customizer value. - enum CustomizerValueStatus { - // The status has not been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - UNKNOWN = 1; - - // The customizer value is enabled. - ENABLED = 2; - - // The customizer value is removed. - REMOVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/data_driven_model_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/data_driven_model_status.proto deleted file mode 100644 index 1d890441e..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/data_driven_model_status.proto +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "DataDrivenModelStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing data-driven model status. - -// Container for enum indicating data driven model status. -message DataDrivenModelStatusEnum { - // Enumerates data driven model statuses. - enum DataDrivenModelStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The data driven model is available. - AVAILABLE = 2; - - // The data driven model is stale. It hasn't been updated for at least 7 - // days. It is still being used, but will become expired if it does not get - // updated for 30 days. - STALE = 3; - - // The data driven model expired. It hasn't been updated for at least 30 - // days and cannot be used. Most commonly this is because there hasn't been - // the required number of events in a recent 30-day period. - EXPIRED = 4; - - // The data driven model has never been generated. Most commonly this is - // because there has never been the required number of events in any 30-day - // period. - NEVER_GENERATED = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/day_of_week.proto b/third_party/googleapis/google/ads/googleads/v11/enums/day_of_week.proto deleted file mode 100644 index ff278d864..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/day_of_week.proto +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "DayOfWeekProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing days of week. - -// Container for enumeration of days of the week, for example, "Monday". -message DayOfWeekEnum { - // Enumerates days of the week, for example, "Monday". - enum DayOfWeek { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Monday. - MONDAY = 2; - - // Tuesday. - TUESDAY = 3; - - // Wednesday. - WEDNESDAY = 4; - - // Thursday. - THURSDAY = 5; - - // Friday. - FRIDAY = 6; - - // Saturday. - SATURDAY = 7; - - // Sunday. - SUNDAY = 8; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/device.proto b/third_party/googleapis/google/ads/googleads/v11/enums/device.proto deleted file mode 100644 index 63c0c7377..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/device.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "DeviceProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing devices. - -// Container for enumeration of Google Ads devices available for targeting. -message DeviceEnum { - // Enumerates Google Ads devices available for targeting. - enum Device { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Mobile devices with full browsers. - MOBILE = 2; - - // Tablets with full browsers. - TABLET = 3; - - // Computers. - DESKTOP = 4; - - // Smart TVs and game consoles. - CONNECTED_TV = 6; - - // Other device types. - OTHER = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/display_ad_format_setting.proto b/third_party/googleapis/google/ads/googleads/v11/enums/display_ad_format_setting.proto deleted file mode 100644 index 4a67bbca4..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/display_ad_format_setting.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "DisplayAdFormatSettingProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing display ad format settings. - -// Container for display ad format settings. -message DisplayAdFormatSettingEnum { - // Enumerates display ad format settings. - enum DisplayAdFormatSetting { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Text, image and native formats. - ALL_FORMATS = 2; - - // Text and image formats. - NON_NATIVE = 3; - - // Native format, for example, the format rendering is controlled by the - // publisher and not by Google. - NATIVE = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/display_upload_product_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/display_upload_product_type.proto deleted file mode 100644 index d0107048a..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/display_upload_product_type.proto +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "DisplayUploadProductTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing display upload product types. - -// Container for display upload product types. Product types that have the word -// "DYNAMIC" in them must be associated with a campaign that has a dynamic -// remarketing feed. See https://support.google.com/google-ads/answer/6053288 -// for more info about dynamic remarketing. Other product types are regarded -// as "static" and do not have this requirement. -message DisplayUploadProductTypeEnum { - // Enumerates display upload product types. - enum DisplayUploadProductType { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // HTML5 upload ad. This product type requires the upload_media_bundle - // field in DisplayUploadAdInfo to be set. - HTML5_UPLOAD_AD = 2; - - // Dynamic HTML5 education ad. This product type requires the - // upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - // used in an education campaign. - DYNAMIC_HTML5_EDUCATION_AD = 3; - - // Dynamic HTML5 flight ad. This product type requires the - // upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - // used in a flight campaign. - DYNAMIC_HTML5_FLIGHT_AD = 4; - - // Dynamic HTML5 hotel and rental ad. This product type requires the - // upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - // used in a hotel campaign. - DYNAMIC_HTML5_HOTEL_RENTAL_AD = 5; - - // Dynamic HTML5 job ad. This product type requires the - // upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - // used in a job campaign. - DYNAMIC_HTML5_JOB_AD = 6; - - // Dynamic HTML5 local ad. This product type requires the - // upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - // used in a local campaign. - DYNAMIC_HTML5_LOCAL_AD = 7; - - // Dynamic HTML5 real estate ad. This product type requires the - // upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - // used in a real estate campaign. - DYNAMIC_HTML5_REAL_ESTATE_AD = 8; - - // Dynamic HTML5 custom ad. This product type requires the - // upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - // used in a custom campaign. - DYNAMIC_HTML5_CUSTOM_AD = 9; - - // Dynamic HTML5 travel ad. This product type requires the - // upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - // used in a travel campaign. - DYNAMIC_HTML5_TRAVEL_AD = 10; - - // Dynamic HTML5 hotel ad. This product type requires the - // upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - // used in a hotel campaign. - DYNAMIC_HTML5_HOTEL_AD = 11; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/distance_bucket.proto b/third_party/googleapis/google/ads/googleads/v11/enums/distance_bucket.proto deleted file mode 100644 index 6631afee5..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/distance_bucket.proto +++ /dev/null @@ -1,125 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "DistanceBucketProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing distance buckets. - -// Container for distance buckets of a user's distance from an advertiser's -// location extension. -message DistanceBucketEnum { - // The distance bucket for a user's distance from an advertiser's location - // extension. - enum DistanceBucket { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // User was within 700m of the location. - WITHIN_700M = 2; - - // User was within 1KM of the location. - WITHIN_1KM = 3; - - // User was within 5KM of the location. - WITHIN_5KM = 4; - - // User was within 10KM of the location. - WITHIN_10KM = 5; - - // User was within 15KM of the location. - WITHIN_15KM = 6; - - // User was within 20KM of the location. - WITHIN_20KM = 7; - - // User was within 25KM of the location. - WITHIN_25KM = 8; - - // User was within 30KM of the location. - WITHIN_30KM = 9; - - // User was within 35KM of the location. - WITHIN_35KM = 10; - - // User was within 40KM of the location. - WITHIN_40KM = 11; - - // User was within 45KM of the location. - WITHIN_45KM = 12; - - // User was within 50KM of the location. - WITHIN_50KM = 13; - - // User was within 55KM of the location. - WITHIN_55KM = 14; - - // User was within 60KM of the location. - WITHIN_60KM = 15; - - // User was within 65KM of the location. - WITHIN_65KM = 16; - - // User was beyond 65KM of the location. - BEYOND_65KM = 17; - - // User was within 0.7 miles of the location. - WITHIN_0_7MILES = 18; - - // User was within 1 mile of the location. - WITHIN_1MILE = 19; - - // User was within 5 miles of the location. - WITHIN_5MILES = 20; - - // User was within 10 miles of the location. - WITHIN_10MILES = 21; - - // User was within 15 miles of the location. - WITHIN_15MILES = 22; - - // User was within 20 miles of the location. - WITHIN_20MILES = 23; - - // User was within 25 miles of the location. - WITHIN_25MILES = 24; - - // User was within 30 miles of the location. - WITHIN_30MILES = 25; - - // User was within 35 miles of the location. - WITHIN_35MILES = 26; - - // User was within 40 miles of the location. - WITHIN_40MILES = 27; - - // User was beyond 40 miles of the location. - BEYOND_40MILES = 28; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/dsa_page_feed_criterion_field.proto b/third_party/googleapis/google/ads/googleads/v11/enums/dsa_page_feed_criterion_field.proto deleted file mode 100644 index 1c53318f9..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/dsa_page_feed_criterion_field.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "DsaPageFeedCriterionFieldProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing Dynamic Search Ad Page Feed criterion fields. - -// Values for Dynamic Search Ad Page Feed criterion fields. -message DsaPageFeedCriterionFieldEnum { - // Possible values for Dynamic Search Ad Page Feed criterion fields. - enum DsaPageFeedCriterionField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: URL or URL_LIST. URL of the web page you want to target. - PAGE_URL = 2; - - // Data Type: STRING_LIST. The labels that will help you target ads within - // your page feed. - LABEL = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/education_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v11/enums/education_placeholder_field.proto deleted file mode 100644 index 2f82ece4b..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/education_placeholder_field.proto +++ /dev/null @@ -1,109 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "EducationPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing Education placeholder fields. - -// Values for Education placeholder fields. -// For more information about dynamic remarketing feeds, see -// https://support.google.com/google-ads/answer/6053288. -message EducationPlaceholderFieldEnum { - // Possible values for Education placeholder fields. - enum EducationPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. Required. Combination of PROGRAM ID and LOCATION ID - // must be unique per offer. - PROGRAM_ID = 2; - - // Data Type: STRING. Combination of PROGRAM ID and LOCATION ID must be - // unique per offer. - LOCATION_ID = 3; - - // Data Type: STRING. Required. Main headline with program name to be shown - // in dynamic ad. - PROGRAM_NAME = 4; - - // Data Type: STRING. Area of study that can be shown in dynamic ad. - AREA_OF_STUDY = 5; - - // Data Type: STRING. Description of program that can be shown in dynamic - // ad. - PROGRAM_DESCRIPTION = 6; - - // Data Type: STRING. Name of school that can be shown in dynamic ad. - SCHOOL_NAME = 7; - - // Data Type: STRING. Complete school address, including postal code. - ADDRESS = 8; - - // Data Type: URL. Image to be displayed in ads. - THUMBNAIL_IMAGE_URL = 9; - - // Data Type: URL. Alternative hosted file of image to be used in the ad. - ALTERNATIVE_THUMBNAIL_IMAGE_URL = 10; - - // Data Type: URL_LIST. Required. Final URLs to be used in ad when using - // Upgraded URLs; the more specific the better (for example, the individual - // URL of a specific program and its location). - FINAL_URLS = 11; - - // Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - // URLs. - FINAL_MOBILE_URLS = 12; - - // Data Type: URL. Tracking template for the ad when using Upgraded URLs. - TRACKING_URL = 13; - - // Data Type: STRING_LIST. Keywords used for product retrieval. - CONTEXTUAL_KEYWORDS = 14; - - // Data Type: STRING. Android app link. Must be formatted as: - // android-app://{package_id}/{scheme}/{host_path}. - // The components are defined as follows: - // package_id: app ID as specified in Google Play. - // scheme: the scheme to pass to the application. Can be HTTP, or a custom - // scheme. - // host_path: identifies the specific content within your application. - ANDROID_APP_LINK = 15; - - // Data Type: STRING_LIST. List of recommended program IDs to show together - // with this item. - SIMILAR_PROGRAM_IDS = 16; - - // Data Type: STRING. iOS app link. - IOS_APP_LINK = 17; - - // Data Type: INT64. iOS app store ID. - IOS_APP_STORE_ID = 18; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/experiment_metric.proto b/third_party/googleapis/google/ads/googleads/v11/enums/experiment_metric.proto deleted file mode 100644 index 53b4074f1..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/experiment_metric.proto +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ExperimentMetricProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing experiment metric. - -// Container for enum describing the type of experiment metric. -message ExperimentMetricEnum { - // The type of experiment metric. - enum ExperimentMetric { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // The goal of the experiment is clicks. - CLICKS = 2; - - // The goal of the experiment is impressions. - IMPRESSIONS = 3; - - // The goal of the experiment is cost. - COST = 4; - - // The goal of the experiment is conversion rate. - CONVERSIONS_PER_INTERACTION_RATE = 5; - - // The goal of the experiment is cost per conversion. - COST_PER_CONVERSION = 6; - - // The goal of the experiment is conversion value per cost. - CONVERSIONS_VALUE_PER_COST = 7; - - // The goal of the experiment is avg cpc. - AVERAGE_CPC = 8; - - // The goal of the experiment is ctr. - CTR = 9; - - // The goal of the experiment is incremental conversions. - INCREMENTAL_CONVERSIONS = 10; - - // The goal of the experiment is completed video views. - COMPLETED_VIDEO_VIEWS = 11; - - // The goal of the experiment is custom algorithms. - CUSTOM_ALGORITHMS = 12; - - // The goal of the experiment is conversions. - CONVERSIONS = 13; - - // The goal of the experiment is conversion value. - CONVERSION_VALUE = 14; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/experiment_metric_direction.proto b/third_party/googleapis/google/ads/googleads/v11/enums/experiment_metric_direction.proto deleted file mode 100644 index df25ad0b8..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/experiment_metric_direction.proto +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ExperimentMetricDirectionProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing experiment metric direction. - -// Container for enum describing the type of experiment metric direction. -message ExperimentMetricDirectionEnum { - // The type of experiment metric direction. - enum ExperimentMetricDirection { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // The goal of the experiment is to not change the metric. - NO_CHANGE = 2; - - // The goal of the experiment is to increate the metric. - INCREASE = 3; - - // The goal of the experiment is to decrease the metric. - DECREASE = 4; - - // The goal of the experiment is to either not change or increase the - // metric. - NO_CHANGE_OR_INCREASE = 5; - - // The goal of the experiment is to either not change or decrease the - // metric. - NO_CHANGE_OR_DECREASE = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/experiment_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/experiment_status.proto deleted file mode 100644 index 6a84a881b..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/experiment_status.proto +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ExperimentStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing experiment status. - -// Container for enum describing the experiment status. -message ExperimentStatusEnum { - // The status of the experiment. - enum ExperimentStatus { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // The experiment is enabled. - ENABLED = 2; - - // The experiment has been removed. - REMOVED = 3; - - // The experiment has been halted. - // This status can be set from ENABLED status through API. - HALTED = 4; - - // The experiment will be promoted out of experimental status. - PROMOTED = 5; - - // Initial status of the experiment. - SETUP = 6; - - // The experiment's campaigns are pending materialization. - // This status can be set from SETUP status through API. - INITIATED = 7; - - // The experiment has been graduated. - GRADUATED = 8; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/experiment_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/experiment_type.proto deleted file mode 100644 index 5d9199554..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/experiment_type.proto +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ExperimentTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing experiment type. - -// Container for enum describing the type of experiment. -message ExperimentTypeEnum { - // The type of the experiment. - enum ExperimentType { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // This is a DISPLAY_AND_VIDEO_360 experiment. - DISPLAY_AND_VIDEO_360 = 2; - - // This is an ad variation experiment. - AD_VARIATION = 3; - - // A custom experiment consisting of Video campaigns. - YOUTUBE_CUSTOM = 5; - - // A custom experiment consisting of display campaigns. - DISPLAY_CUSTOM = 6; - - // A custom experiment consisting of search campaigns. - SEARCH_CUSTOM = 7; - - // An experiment that compares bidding strategies for display campaigns. - DISPLAY_AUTOMATED_BIDDING_STRATEGY = 8; - - // An experiment that compares bidding strategies for search campaigns." - SEARCH_AUTOMATED_BIDDING_STRATEGY = 9; - - // An experiment that compares bidding strategies for shopping campaigns. - SHOPPING_AUTOMATED_BIDDING_STRATEGY = 10; - - // DEPRECATED. A smart matching experiment with search campaigns. - SMART_MATCHING = 11; - - // A custom experiment consisting of hotel campaigns. - HOTEL_CUSTOM = 12; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/extension_setting_device.proto b/third_party/googleapis/google/ads/googleads/v11/enums/extension_setting_device.proto deleted file mode 100644 index 6969b51c8..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/extension_setting_device.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ExtensionSettingDeviceProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing extension setting device type. - -// Container for enum describing extension setting device types. -message ExtensionSettingDeviceEnum { - // Possible device types for an extension setting. - enum ExtensionSettingDevice { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Mobile. The extensions in the extension setting will only serve on - // mobile devices. - MOBILE = 2; - - // Desktop. The extensions in the extension setting will only serve on - // desktop devices. - DESKTOP = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/extension_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/extension_type.proto deleted file mode 100644 index 7b958b316..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/extension_type.proto +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ExtensionTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing extension type. - -// Container for enum describing possible data types for an extension in an -// extension setting. -message ExtensionTypeEnum { - // Possible data types for an extension in an extension setting. - enum ExtensionType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // None. - NONE = 2; - - // App. - APP = 3; - - // Call. - CALL = 4; - - // Callout. - CALLOUT = 5; - - // Message. - MESSAGE = 6; - - // Price. - PRICE = 7; - - // Promotion. - PROMOTION = 8; - - // Sitelink. - SITELINK = 10; - - // Structured snippet. - STRUCTURED_SNIPPET = 11; - - // Location. - LOCATION = 12; - - // Affiliate location. - AFFILIATE_LOCATION = 13; - - // Hotel callout - HOTEL_CALLOUT = 15; - - // Image. - IMAGE = 16; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/external_conversion_source.proto b/third_party/googleapis/google/ads/googleads/v11/enums/external_conversion_source.proto deleted file mode 100644 index fb905a191..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/external_conversion_source.proto +++ /dev/null @@ -1,153 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ExternalConversionSourceProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Container for enum describing the external conversion source that is -// associated with a ConversionAction. -message ExternalConversionSourceEnum { - // The external conversion source that is associated with a ConversionAction. - enum ExternalConversionSource { - // Not specified. - UNSPECIFIED = 0; - - // Represents value unknown in this version. - UNKNOWN = 1; - - // Conversion that occurs when a user navigates to a particular webpage - // after viewing an ad; Displayed in Google Ads UI as 'Website'. - WEBPAGE = 2; - - // Conversion that comes from linked Google Analytics goal or transaction; - // Displayed in Google Ads UI as 'Analytics'. - ANALYTICS = 3; - - // Website conversion that is uploaded through ConversionUploadService; - // Displayed in Google Ads UI as 'Import from clicks'. - UPLOAD = 4; - - // Conversion that occurs when a user clicks on a call extension directly on - // an ad; Displayed in Google Ads UI as 'Calls from ads'. - AD_CALL_METRICS = 5; - - // Conversion that occurs when a user calls a dynamically-generated phone - // number (by installed javascript) from an advertiser's website after - // clicking on an ad; Displayed in Google Ads UI as 'Calls from website'. - WEBSITE_CALL_METRICS = 6; - - // Conversion that occurs when a user visits an advertiser's retail store - // after clicking on a Google ad; - // Displayed in Google Ads UI as 'Store visits'. - STORE_VISITS = 7; - - // Conversion that occurs when a user takes an in-app action such as a - // purchase in an Android app; - // Displayed in Google Ads UI as 'Android in-app action'. - ANDROID_IN_APP = 8; - - // Conversion that occurs when a user takes an in-app action such as a - // purchase in an iOS app; - // Displayed in Google Ads UI as 'iOS in-app action'. - IOS_IN_APP = 9; - - // Conversion that occurs when a user opens an iOS app for the first time; - // Displayed in Google Ads UI as 'iOS app install (first open)'. - IOS_FIRST_OPEN = 10; - - // Legacy app conversions that do not have an AppPlatform provided; - // Displayed in Google Ads UI as 'Mobile app'. - APP_UNSPECIFIED = 11; - - // Conversion that occurs when a user opens an Android app for the first - // time; Displayed in Google Ads UI as 'Android app install (first open)'. - ANDROID_FIRST_OPEN = 12; - - // Call conversion that is uploaded through ConversionUploadService; - // Displayed in Google Ads UI as 'Import from calls'. - UPLOAD_CALLS = 13; - - // Conversion that comes from a linked Firebase event; - // Displayed in Google Ads UI as 'Firebase'. - FIREBASE = 14; - - // Conversion that occurs when a user clicks on a mobile phone number; - // Displayed in Google Ads UI as 'Phone number clicks'. - CLICK_TO_CALL = 15; - - // Conversion that comes from Salesforce; - // Displayed in Google Ads UI as 'Salesforce.com'. - SALESFORCE = 16; - - // Conversion that comes from in-store purchases recorded by CRM; - // Displayed in Google Ads UI as 'Store sales (data partner)'. - STORE_SALES_CRM = 17; - - // Conversion that comes from in-store purchases from payment network; - // Displayed in Google Ads UI as 'Store sales (payment network)'. - STORE_SALES_PAYMENT_NETWORK = 18; - - // Codeless Google Play conversion; - // Displayed in Google Ads UI as 'Google Play'. - GOOGLE_PLAY = 19; - - // Conversion that comes from a linked third-party app analytics event; - // Displayed in Google Ads UI as 'Third-party app analytics'. - THIRD_PARTY_APP_ANALYTICS = 20; - - // Conversion that is controlled by Google Attribution. - GOOGLE_ATTRIBUTION = 21; - - // Store Sales conversion based on first-party or third-party merchant data - // uploads. Displayed in Google Ads UI as 'Store sales (direct upload)'. - STORE_SALES_DIRECT_UPLOAD = 23; - - // Store Sales conversion based on first-party or third-party merchant - // data uploads and/or from in-store purchases using cards from payment - // networks. Displayed in Google Ads UI as 'Store sales'. - STORE_SALES = 24; - - // Conversions imported from Search Ads 360 Floodlight data. - SEARCH_ADS_360 = 25; - - // Conversions that track local actions from Google's products and services - // after interacting with an ad. - GOOGLE_HOSTED = 27; - - // Conversions reported by Floodlight tags. - FLOODLIGHT = 29; - - // Conversions that come from Google Analytics specifically for Search Ads - // 360. Displayed in Google Ads UI as Analytics (SA360). - ANALYTICS_SEARCH_ADS_360 = 31; - - // Conversion that comes from a linked Firebase event for Search Ads 360. - FIREBASE_SEARCH_ADS_360 = 33; - - // Conversion that is reported by Floodlight for DV360. - DISPLAY_AND_VIDEO_360_FLOODLIGHT = 34; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/feed_attribute_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/feed_attribute_type.proto deleted file mode 100644 index bd09313f6..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/feed_attribute_type.proto +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedAttributeTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing feed attribute type. - -// Container for enum describing possible data types for a feed attribute. -message FeedAttributeTypeEnum { - // Possible data types for a feed attribute. - enum FeedAttributeType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Int64. - INT64 = 2; - - // Double. - DOUBLE = 3; - - // String. - STRING = 4; - - // Boolean. - BOOLEAN = 5; - - // Url. - URL = 6; - - // Datetime. - DATE_TIME = 7; - - // Int64 list. - INT64_LIST = 8; - - // Double (8 bytes) list. - DOUBLE_LIST = 9; - - // String list. - STRING_LIST = 10; - - // Boolean list. - BOOLEAN_LIST = 11; - - // Url list. - URL_LIST = 12; - - // Datetime list. - DATE_TIME_LIST = 13; - - // Price. - PRICE = 14; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/feed_item_quality_approval_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/feed_item_quality_approval_status.proto deleted file mode 100644 index 321e5ffd1..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/feed_item_quality_approval_status.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemQualityApprovalStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing feed item quality evaluation approval statuses. - -// Container for enum describing possible quality evaluation approval statuses -// of a feed item. -message FeedItemQualityApprovalStatusEnum { - // The possible quality evaluation approval statuses of a feed item. - enum FeedItemQualityApprovalStatus { - // No value has been specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Meets all quality expectations. - APPROVED = 2; - - // Does not meet some quality expectations. The specific reason is found in - // the quality_disapproval_reasons field. - DISAPPROVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/feed_item_quality_disapproval_reason.proto b/third_party/googleapis/google/ads/googleads/v11/enums/feed_item_quality_disapproval_reason.proto deleted file mode 100644 index 429afe5bc..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/feed_item_quality_disapproval_reason.proto +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemQualityDisapprovalReasonProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing feed item quality disapproval reasons. - -// Container for enum describing possible quality evaluation disapproval reasons -// of a feed item. -message FeedItemQualityDisapprovalReasonEnum { - // The possible quality evaluation disapproval reasons of a feed item. - enum FeedItemQualityDisapprovalReason { - // No value has been specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Price contains repetitive headers. - PRICE_TABLE_REPETITIVE_HEADERS = 2; - - // Price contains repetitive description. - PRICE_TABLE_REPETITIVE_DESCRIPTION = 3; - - // Price contains inconsistent items. - PRICE_TABLE_INCONSISTENT_ROWS = 4; - - // Price contains qualifiers in description. - PRICE_DESCRIPTION_HAS_PRICE_QUALIFIERS = 5; - - // Price contains an unsupported language. - PRICE_UNSUPPORTED_LANGUAGE = 6; - - // Price item header is not relevant to the price type. - PRICE_TABLE_ROW_HEADER_TABLE_TYPE_MISMATCH = 7; - - // Price item header has promotional text. - PRICE_TABLE_ROW_HEADER_HAS_PROMOTIONAL_TEXT = 8; - - // Price item description is not relevant to the item header. - PRICE_TABLE_ROW_DESCRIPTION_NOT_RELEVANT = 9; - - // Price item description contains promotional text. - PRICE_TABLE_ROW_DESCRIPTION_HAS_PROMOTIONAL_TEXT = 10; - - // Price item header and description are repetitive. - PRICE_TABLE_ROW_HEADER_DESCRIPTION_REPETITIVE = 11; - - // Price item is in a foreign language, nonsense, or can't be rated. - PRICE_TABLE_ROW_UNRATEABLE = 12; - - // Price item price is invalid or inaccurate. - PRICE_TABLE_ROW_PRICE_INVALID = 13; - - // Price item URL is invalid or irrelevant. - PRICE_TABLE_ROW_URL_INVALID = 14; - - // Price item header or description has price. - PRICE_HEADER_OR_DESCRIPTION_HAS_PRICE = 15; - - // Structured snippet values do not match the header. - STRUCTURED_SNIPPETS_HEADER_POLICY_VIOLATED = 16; - - // Structured snippet values are repeated. - STRUCTURED_SNIPPETS_REPEATED_VALUES = 17; - - // Structured snippet values violate editorial guidelines like punctuation. - STRUCTURED_SNIPPETS_EDITORIAL_GUIDELINES = 18; - - // Structured snippet contain promotional text. - STRUCTURED_SNIPPETS_HAS_PROMOTIONAL_TEXT = 19; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/feed_item_set_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/feed_item_set_status.proto deleted file mode 100644 index 967c779cb..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/feed_item_set_status.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemSetStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing feed item set status. - -// Container for enum describing possible statuses of a feed item set. -message FeedItemSetStatusEnum { - // Possible statuses of a feed item set. - enum FeedItemSetStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Feed item set is enabled. - ENABLED = 2; - - // Feed item set has been removed. - REMOVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/feed_item_set_string_filter_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/feed_item_set_string_filter_type.proto deleted file mode 100644 index e1ea99018..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/feed_item_set_string_filter_type.proto +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemSetStringFilterTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// The type of string matching to be used for a dynamic FeedItemSet filter. -message FeedItemSetStringFilterTypeEnum { - // describe the possible types for a FeedItemSetStringFilter. - enum FeedItemSetStringFilterType { - // Not specified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The dynamic set filter will use exact string matching. - EXACT = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/feed_item_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/feed_item_status.proto deleted file mode 100644 index 2548dd989..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/feed_item_status.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing feed item status. - -// Container for enum describing possible statuses of a feed item. -message FeedItemStatusEnum { - // Possible statuses of a feed item. - enum FeedItemStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Feed item is enabled. - ENABLED = 2; - - // Feed item has been removed. - REMOVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/feed_item_target_device.proto b/third_party/googleapis/google/ads/googleads/v11/enums/feed_item_target_device.proto deleted file mode 100644 index 2038318bd..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/feed_item_target_device.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemTargetDeviceProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing feed item target device type. - -// Container for enum describing possible data types for a feed item target -// device. -message FeedItemTargetDeviceEnum { - // Possible data types for a feed item target device. - enum FeedItemTargetDevice { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Mobile. - MOBILE = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/feed_item_target_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/feed_item_target_status.proto deleted file mode 100644 index 2d4b34aab..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/feed_item_target_status.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemTargetStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing feed item target status. - -// Container for enum describing possible statuses of a feed item target. -message FeedItemTargetStatusEnum { - // Possible statuses of a feed item target. - enum FeedItemTargetStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Feed item target is enabled. - ENABLED = 2; - - // Feed item target has been removed. - REMOVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/feed_item_target_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/feed_item_target_type.proto deleted file mode 100644 index d643477b3..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/feed_item_target_type.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemTargetTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing feed item target type status. - -// Container for enum describing possible types of a feed item target. -message FeedItemTargetTypeEnum { - // Possible type of a feed item target. - enum FeedItemTargetType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Feed item targets a campaign. - CAMPAIGN = 2; - - // Feed item targets an ad group. - AD_GROUP = 3; - - // Feed item targets a criterion. - CRITERION = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/feed_item_validation_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/feed_item_validation_status.proto deleted file mode 100644 index 399fbbb5d..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/feed_item_validation_status.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemValidationStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing feed item validation statuses. - -// Container for enum describing possible validation statuses of a feed item. -message FeedItemValidationStatusEnum { - // The possible validation statuses of a feed item. - enum FeedItemValidationStatus { - // No value has been specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Validation pending. - PENDING = 2; - - // An error was found. - INVALID = 3; - - // Feed item is semantically well-formed. - VALID = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/feed_link_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/feed_link_status.proto deleted file mode 100644 index 715f957af..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/feed_link_status.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedLinkStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing status of a feed link. - -// Container for an enum describing possible statuses of a feed link. -message FeedLinkStatusEnum { - // Possible statuses of a feed link. - enum FeedLinkStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Feed link is enabled. - ENABLED = 2; - - // Feed link has been removed. - REMOVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/feed_mapping_criterion_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/feed_mapping_criterion_type.proto deleted file mode 100644 index 61b2d027c..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/feed_mapping_criterion_type.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedMappingCriterionTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing criterion types for feed mappings. - -// Container for enum describing possible criterion types for a feed mapping. -message FeedMappingCriterionTypeEnum { - // Possible placeholder types for a feed mapping. - enum FeedMappingCriterionType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Allows campaign targeting at locations within a location feed. - LOCATION_EXTENSION_TARGETING = 4; - - // Allows url targeting for your dynamic search ads within a page feed. - DSA_PAGE_FEED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/feed_mapping_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/feed_mapping_status.proto deleted file mode 100644 index 04366d6a2..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/feed_mapping_status.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedMappingStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing feed mapping status. - -// Container for enum describing possible statuses of a feed mapping. -message FeedMappingStatusEnum { - // Possible statuses of a feed mapping. - enum FeedMappingStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Feed mapping is enabled. - ENABLED = 2; - - // Feed mapping has been removed. - REMOVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/feed_origin.proto b/third_party/googleapis/google/ads/googleads/v11/enums/feed_origin.proto deleted file mode 100644 index 0b4f1867c..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/feed_origin.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedOriginProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing feed origin. - -// Container for enum describing possible values for a feed origin. -message FeedOriginEnum { - // Possible values for a feed origin. - enum FeedOrigin { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The FeedAttributes for this Feed are managed by the - // user. Users can add FeedAttributes to this Feed. - USER = 2; - - // The FeedAttributes for an GOOGLE Feed are created by Google. A feed of - // this type is maintained by Google and will have the correct attributes - // for the placeholder type of the feed. - GOOGLE = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/feed_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/feed_status.proto deleted file mode 100644 index ad576fb35..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/feed_status.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing feed status. - -// Container for enum describing possible statuses of a feed. -message FeedStatusEnum { - // Possible statuses of a feed. - enum FeedStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Feed is enabled. - ENABLED = 2; - - // Feed has been removed. - REMOVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/flight_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v11/enums/flight_placeholder_field.proto deleted file mode 100644 index 7465811c8..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/flight_placeholder_field.proto +++ /dev/null @@ -1,116 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FlightsPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing Flight placeholder fields. - -// Values for Flight placeholder fields. -// For more information about dynamic remarketing feeds, see -// https://support.google.com/google-ads/answer/6053288. -message FlightPlaceholderFieldEnum { - // Possible values for Flight placeholder fields. - enum FlightPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. Required. Destination id. Example: PAR, LON. - // For feed items that only have destination id, destination id must be a - // unique key. For feed items that have both destination id and origin id, - // then the combination must be a unique key. - DESTINATION_ID = 2; - - // Data Type: STRING. Origin id. Example: PAR, LON. - // Optional. Combination of destination id and origin id must be unique per - // offer. - ORIGIN_ID = 3; - - // Data Type: STRING. Required. Main headline with product name to be shown - // in dynamic ad. - FLIGHT_DESCRIPTION = 4; - - // Data Type: STRING. Shorter names are recommended. - ORIGIN_NAME = 5; - - // Data Type: STRING. Shorter names are recommended. - DESTINATION_NAME = 6; - - // Data Type: STRING. Price to be shown in the ad. - // Example: "100.00 USD" - FLIGHT_PRICE = 7; - - // Data Type: STRING. Formatted price to be shown in the ad. - // Example: "Starting at $100.00 USD", "$80 - $100" - FORMATTED_PRICE = 8; - - // Data Type: STRING. Sale price to be shown in the ad. - // Example: "80.00 USD" - FLIGHT_SALE_PRICE = 9; - - // Data Type: STRING. Formatted sale price to be shown in the ad. - // Example: "On sale for $80.00", "$60 - $80" - FORMATTED_SALE_PRICE = 10; - - // Data Type: URL. Image to be displayed in the ad. - IMAGE_URL = 11; - - // Data Type: URL_LIST. Required. Final URLs for the ad when using Upgraded - // URLs. User will be redirected to these URLs when they click on an ad, or - // when they click on a specific flight for ads that show multiple - // flights. - FINAL_URLS = 12; - - // Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - // URLs. - FINAL_MOBILE_URLS = 13; - - // Data Type: URL. Tracking template for the ad when using Upgraded URLs. - TRACKING_URL = 14; - - // Data Type: STRING. Android app link. Must be formatted as: - // android-app://{package_id}/{scheme}/{host_path}. - // The components are defined as follows: - // package_id: app ID as specified in Google Play. - // scheme: the scheme to pass to the application. Can be HTTP, or a custom - // scheme. - // host_path: identifies the specific content within your application. - ANDROID_APP_LINK = 15; - - // Data Type: STRING_LIST. List of recommended destination IDs to show - // together with this item. - SIMILAR_DESTINATION_IDS = 16; - - // Data Type: STRING. iOS app link. - IOS_APP_LINK = 17; - - // Data Type: INT64. iOS app store ID. - IOS_APP_STORE_ID = 18; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/frequency_cap_event_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/frequency_cap_event_type.proto deleted file mode 100644 index b6f0e177b..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/frequency_cap_event_type.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FrequencyCapEventTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing frequency caps. - -// Container for enum describing the type of event that the cap applies to. -message FrequencyCapEventTypeEnum { - // The type of event that the cap applies to (for example, impression). - enum FrequencyCapEventType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The cap applies on ad impressions. - IMPRESSION = 2; - - // The cap applies on video ad views. - VIDEO_VIEW = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/frequency_cap_level.proto b/third_party/googleapis/google/ads/googleads/v11/enums/frequency_cap_level.proto deleted file mode 100644 index 9a4bdf764..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/frequency_cap_level.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FrequencyCapLevelProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing frequency caps. - -// Container for enum describing the level on which the cap is to be applied. -message FrequencyCapLevelEnum { - // The level on which the cap is to be applied (e.g ad group ad, ad group). - // Cap is applied to all the resources of this level. - enum FrequencyCapLevel { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The cap is applied at the ad group ad level. - AD_GROUP_AD = 2; - - // The cap is applied at the ad group level. - AD_GROUP = 3; - - // The cap is applied at the campaign level. - CAMPAIGN = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/frequency_cap_time_unit.proto b/third_party/googleapis/google/ads/googleads/v11/enums/frequency_cap_time_unit.proto deleted file mode 100644 index c29bc7800..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/frequency_cap_time_unit.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FrequencyCapTimeUnitProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing frequency caps. - -// Container for enum describing the unit of time the cap is defined at. -message FrequencyCapTimeUnitEnum { - // Unit of time the cap is defined at (for example, day, week). - enum FrequencyCapTimeUnit { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The cap would define limit per one day. - DAY = 2; - - // The cap would define limit per one week. - WEEK = 3; - - // The cap would define limit per one month. - MONTH = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/gender_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/gender_type.proto deleted file mode 100644 index a430125c1..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/gender_type.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "GenderTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing gender types. - -// Container for enum describing the type of demographic genders. -message GenderTypeEnum { - // The type of demographic genders (for example, female). - enum GenderType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Male. - MALE = 10; - - // Female. - FEMALE = 11; - - // Undetermined gender. - UNDETERMINED = 20; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/geo_target_constant_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/geo_target_constant_status.proto deleted file mode 100644 index 3e22c3696..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/geo_target_constant_status.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "GeoTargetConstantStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing geo target constant statuses. - -// Container for describing the status of a geo target constant. -message GeoTargetConstantStatusEnum { - // The possible statuses of a geo target constant. - enum GeoTargetConstantStatus { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // The geo target constant is valid. - ENABLED = 2; - - // The geo target constant is obsolete and will be removed. - REMOVAL_PLANNED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/geo_targeting_restriction.proto b/third_party/googleapis/google/ads/googleads/v11/enums/geo_targeting_restriction.proto deleted file mode 100644 index 2f8f3f976..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/geo_targeting_restriction.proto +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "GeoTargetingRestrictionProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing GeoTargetingRestriction. - -// Message describing feed item geo targeting restriction. -message GeoTargetingRestrictionEnum { - // A restriction used to determine if the request context's - // geo should be matched. - enum GeoTargetingRestriction { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Indicates that request context should match the physical location of - // the user. - LOCATION_OF_PRESENCE = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/geo_targeting_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/geo_targeting_type.proto deleted file mode 100644 index 53474ba2a..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/geo_targeting_type.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "GeoTargetingTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing geo targeting types. - -// Container for enum describing possible geo targeting types. -message GeoTargetingTypeEnum { - // The possible geo targeting types. - enum GeoTargetingType { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Location the user is interested in while making the query. - AREA_OF_INTEREST = 2; - - // Location of the user issuing the query. - LOCATION_OF_PRESENCE = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/goal_config_level.proto b/third_party/googleapis/google/ads/googleads/v11/enums/goal_config_level.proto deleted file mode 100644 index eb5e49c0c..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/goal_config_level.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "GoalConfigLevelProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing goal config level. - -// Container for enum describing possible goal config levels. -message GoalConfigLevelEnum { - // The possible goal config levels. Campaigns automatically inherit the - // effective conversion account's customer goals unless they have been - // configured with their own set of campaign goals. - enum GoalConfigLevel { - // The goal config level has not been specified. - UNSPECIFIED = 0; - - // The goal config level is not known in this version. - UNKNOWN = 1; - - // The goal config is defined at the customer level. - CUSTOMER = 2; - - // The goal config is defined at the campaign level. - CAMPAIGN = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/google_ads_field_category.proto b/third_party/googleapis/google/ads/googleads/v11/enums/google_ads_field_category.proto deleted file mode 100644 index d21be3969..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/google_ads_field_category.proto +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "GoogleAdsFieldCategoryProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing GoogleAdsField categories. - -// Container for enum that determines if the described artifact is a resource -// or a field, and if it is a field, when it segments search queries. -message GoogleAdsFieldCategoryEnum { - // The category of the artifact. - enum GoogleAdsFieldCategory { - // Unspecified - UNSPECIFIED = 0; - - // Unknown - UNKNOWN = 1; - - // The described artifact is a resource. - RESOURCE = 2; - - // The described artifact is a field and is an attribute of a resource. - // Including a resource attribute field in a query may segment the query if - // the resource to which it is attributed segments the resource found in - // the FROM clause. - ATTRIBUTE = 3; - - // The described artifact is a field and always segments search queries. - SEGMENT = 5; - - // The described artifact is a field and is a metric. It never segments - // search queries. - METRIC = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/google_ads_field_data_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/google_ads_field_data_type.proto deleted file mode 100644 index f142b4ffd..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/google_ads_field_data_type.proto +++ /dev/null @@ -1,100 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "GoogleAdsFieldDataTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing GoogleAdsField data types. - -// Container holding the various data types. -message GoogleAdsFieldDataTypeEnum { - // These are the various types a GoogleAdsService artifact may take on. - enum GoogleAdsFieldDataType { - // Unspecified - UNSPECIFIED = 0; - - // Unknown - UNKNOWN = 1; - - // Maps to google.protobuf.BoolValue - // - // Applicable operators: =, != - BOOLEAN = 2; - - // Maps to google.protobuf.StringValue. It can be compared using the set of - // operators specific to dates however. - // - // Applicable operators: =, <, >, <=, >=, BETWEEN, DURING, and IN - DATE = 3; - - // Maps to google.protobuf.DoubleValue - // - // Applicable operators: =, !=, <, >, IN, NOT IN - DOUBLE = 4; - - // Maps to an enum. It's specific definition can be found at type_url. - // - // Applicable operators: =, !=, IN, NOT IN - ENUM = 5; - - // Maps to google.protobuf.FloatValue - // - // Applicable operators: =, !=, <, >, IN, NOT IN - FLOAT = 6; - - // Maps to google.protobuf.Int32Value - // - // Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN - INT32 = 7; - - // Maps to google.protobuf.Int64Value - // - // Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN - INT64 = 8; - - // Maps to a protocol buffer message type. The data type's details can be - // found in type_url. - // - // No operators work with MESSAGE fields. - MESSAGE = 9; - - // Maps to google.protobuf.StringValue. Represents the resource name - // (unique id) of a resource or one of its foreign keys. - // - // No operators work with RESOURCE_NAME fields. - RESOURCE_NAME = 10; - - // Maps to google.protobuf.StringValue. - // - // Applicable operators: =, !=, LIKE, NOT LIKE, IN, NOT IN - STRING = 11; - - // Maps to google.protobuf.UInt64Value - // - // Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN - UINT64 = 12; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/google_voice_call_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/google_voice_call_status.proto deleted file mode 100644 index bd724c563..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/google_voice_call_status.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "GoogleVoiceCallStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing google voice call status. - -// Container for enum describing possible statuses of a google voice call. -message GoogleVoiceCallStatusEnum { - // Possible statuses of a google voice call. - enum GoogleVoiceCallStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The call was missed. - MISSED = 2; - - // The call was received. - RECEIVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/hotel_date_selection_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/hotel_date_selection_type.proto deleted file mode 100644 index 606f525bf..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/hotel_date_selection_type.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "HotelDateSelectionTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing hotel date selection types. - -// Container for enum describing possible hotel date selection types -message HotelDateSelectionTypeEnum { - // Enum describing possible hotel date selection types. - enum HotelDateSelectionType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Dates selected by default. - DEFAULT_SELECTION = 50; - - // Dates selected by the user. - USER_SELECTED = 51; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/hotel_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v11/enums/hotel_placeholder_field.proto deleted file mode 100644 index b8d53f6c8..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/hotel_placeholder_field.proto +++ /dev/null @@ -1,122 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "HotelsPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing Hotel placeholder fields. - -// Values for Hotel placeholder fields. -// For more information about dynamic remarketing feeds, see -// https://support.google.com/google-ads/answer/6053288. -message HotelPlaceholderFieldEnum { - // Possible values for Hotel placeholder fields. - enum HotelPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. Required. Unique ID. - PROPERTY_ID = 2; - - // Data Type: STRING. Required. Main headline with property name to be shown - // in dynamic ad. - PROPERTY_NAME = 3; - - // Data Type: STRING. Name of destination to be shown in dynamic ad. - DESTINATION_NAME = 4; - - // Data Type: STRING. Description of destination to be shown in dynamic ad. - DESCRIPTION = 5; - - // Data Type: STRING. Complete property address, including postal code. - ADDRESS = 6; - - // Data Type: STRING. Price to be shown in the ad. - // Example: "100.00 USD" - PRICE = 7; - - // Data Type: STRING. Formatted price to be shown in the ad. - // Example: "Starting at $100.00 USD", "$80 - $100" - FORMATTED_PRICE = 8; - - // Data Type: STRING. Sale price to be shown in the ad. - // Example: "80.00 USD" - SALE_PRICE = 9; - - // Data Type: STRING. Formatted sale price to be shown in the ad. - // Example: "On sale for $80.00", "$60 - $80" - FORMATTED_SALE_PRICE = 10; - - // Data Type: URL. Image to be displayed in the ad. - IMAGE_URL = 11; - - // Data Type: STRING. Category of property used to group like items together - // for recommendation engine. - CATEGORY = 12; - - // Data Type: INT64. Star rating (1 to 5) used to group like items - // together for recommendation engine. - STAR_RATING = 13; - - // Data Type: STRING_LIST. Keywords used for product retrieval. - CONTEXTUAL_KEYWORDS = 14; - - // Data Type: URL_LIST. Required. Final URLs for the ad when using Upgraded - // URLs. User will be redirected to these URLs when they click on an ad, or - // when they click on a specific flight for ads that show multiple - // flights. - FINAL_URLS = 15; - - // Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - // URLs. - FINAL_MOBILE_URLS = 16; - - // Data Type: URL. Tracking template for the ad when using Upgraded URLs. - TRACKING_URL = 17; - - // Data Type: STRING. Android app link. Must be formatted as: - // android-app://{package_id}/{scheme}/{host_path}. - // The components are defined as follows: - // package_id: app ID as specified in Google Play. - // scheme: the scheme to pass to the application. Can be HTTP, or a custom - // scheme. - // host_path: identifies the specific content within your application. - ANDROID_APP_LINK = 18; - - // Data Type: STRING_LIST. List of recommended property IDs to show together - // with this item. - SIMILAR_PROPERTY_IDS = 19; - - // Data Type: STRING. iOS app link. - IOS_APP_LINK = 20; - - // Data Type: INT64. iOS app store ID. - IOS_APP_STORE_ID = 21; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/hotel_price_bucket.proto b/third_party/googleapis/google/ads/googleads/v11/enums/hotel_price_bucket.proto deleted file mode 100644 index 35de1a26a..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/hotel_price_bucket.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "HotelPriceBucketProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing hotel price buckets. - -// Container for enum describing hotel price bucket for a hotel itinerary. -message HotelPriceBucketEnum { - // Enum describing possible hotel price buckets. - enum HotelPriceBucket { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Uniquely lowest price. Partner has the lowest price, and no other - // partners are within a small variance of that price. - LOWEST_UNIQUE = 2; - - // Tied for lowest price. Partner is within a small variance of the lowest - // price. - LOWEST_TIED = 3; - - // Not lowest price. Partner is not within a small variance of the lowest - // price. - NOT_LOWEST = 4; - - // Partner was the only one shown. - ONLY_PARTNER_SHOWN = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/hotel_rate_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/hotel_rate_type.proto deleted file mode 100644 index a73d9c225..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/hotel_rate_type.proto +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "HotelRateTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing hotel rate types. - -// Container for enum describing possible hotel rate types. -message HotelRateTypeEnum { - // Enum describing possible hotel rate types. - enum HotelRateType { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Rate type information is unavailable. - UNAVAILABLE = 2; - - // Rates available to everyone. - PUBLIC_RATE = 3; - - // A membership program rate is available and satisfies basic requirements - // like having a public rate available. UI treatment will strikethrough the - // public rate and indicate that a discount is available to the user. For - // more on Qualified Rates, visit - // https://developers.google.com/hotels/hotel-ads/dev-guide/qualified-rates - QUALIFIED_RATE = 4; - - // Rates available to users that satisfy some eligibility criteria, for - // example, all signed-in users, 20% of mobile users, all mobile users in - // Canada, etc. - PRIVATE_RATE = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/hotel_reconciliation_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/hotel_reconciliation_status.proto deleted file mode 100644 index 8158baa7b..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/hotel_reconciliation_status.proto +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "HotelReconciliationStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing hotel reconciliation row status. - -// Container for HotelReconciliationStatus. -message HotelReconciliationStatusEnum { - // Status of the hotel booking reconciliation. - enum HotelReconciliationStatus { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Bookings are for a future date, or a stay is underway but the check-out - // date hasn't passed. An active reservation can't be reconciled. - RESERVATION_ENABLED = 2; - - // Check-out has already taken place, or the booked dates have passed - // without cancellation. Bookings that are not reconciled within 45 days of - // the check-out date are billed based on the original booking price. - RECONCILIATION_NEEDED = 3; - - // These bookings have been reconciled. Reconciled bookings are billed 45 - // days after the check-out date. - RECONCILED = 4; - - // This booking was marked as canceled. Canceled stays with a value greater - // than zero (due to minimum stay rules or cancellation fees) are billed 45 - // days after the check-out date. - CANCELED = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/image_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v11/enums/image_placeholder_field.proto deleted file mode 100644 index b42b4f1fb..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/image_placeholder_field.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ImagePlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing Advertiser Provided Image placeholder fields. - -// Values for Advertiser Provided Image placeholder fields. -message ImagePlaceholderFieldEnum { - // Possible values for Advertiser Provided Image placeholder fields. - enum ImagePlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: INT64. The asset ID of the image. - ASSET_ID = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/income_range_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/income_range_type.proto deleted file mode 100644 index ad400885b..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/income_range_type.proto +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "IncomeRangeTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing income range types. - -// Container for enum describing the type of demographic income ranges. -message IncomeRangeTypeEnum { - // The type of demographic income ranges (for example, between 0% to 50%). - enum IncomeRangeType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // 0%-50%. - INCOME_RANGE_0_50 = 510001; - - // 50% to 60%. - INCOME_RANGE_50_60 = 510002; - - // 60% to 70%. - INCOME_RANGE_60_70 = 510003; - - // 70% to 80%. - INCOME_RANGE_70_80 = 510004; - - // 80% to 90%. - INCOME_RANGE_80_90 = 510005; - - // Greater than 90%. - INCOME_RANGE_90_UP = 510006; - - // Undetermined income range. - INCOME_RANGE_UNDETERMINED = 510000; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/interaction_event_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/interaction_event_type.proto deleted file mode 100644 index 92b60d571..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/interaction_event_type.proto +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "InteractionEventTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing types of payable and free interactions. - -// Container for enum describing types of payable and free interactions. -message InteractionEventTypeEnum { - // Enum describing possible types of payable and free interactions. - enum InteractionEventType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Click to site. In most cases, this interaction navigates to an external - // location, usually the advertiser's landing page. This is also the default - // InteractionEventType for click events. - CLICK = 2; - - // The user's expressed intent to engage with the ad in-place. - ENGAGEMENT = 3; - - // User viewed a video ad. - VIDEO_VIEW = 4; - - // The default InteractionEventType for ad conversion events. - // This is used when an ad conversion row does NOT indicate - // that the free interactions (for example, the ad conversions) - // should be 'promoted' and reported as part of the core metrics. - // These are simply other (ad) conversions. - NONE = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/interaction_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/interaction_type.proto deleted file mode 100644 index 5e2179f60..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/interaction_type.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "InteractionTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing interaction types. - -// Container for enum describing possible interaction types. -message InteractionTypeEnum { - // Enum describing possible interaction types. - enum InteractionType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Calls. - CALLS = 8000; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/invoice_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/invoice_type.proto deleted file mode 100644 index 86b23e884..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/invoice_type.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "InvoiceTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing invoice types. - -// Container for enum describing the type of invoices. -message InvoiceTypeEnum { - // The possible type of invoices. - enum InvoiceType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // An invoice with a negative amount. The account receives a credit. - CREDIT_MEMO = 2; - - // An invoice with a positive amount. The account owes a balance. - INVOICE = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/job_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v11/enums/job_placeholder_field.proto deleted file mode 100644 index e5d43b608..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/job_placeholder_field.proto +++ /dev/null @@ -1,113 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "JobsPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing Job placeholder fields. - -// Values for Job placeholder fields. -// For more information about dynamic remarketing feeds, see -// https://support.google.com/google-ads/answer/6053288. -message JobPlaceholderFieldEnum { - // Possible values for Job placeholder fields. - enum JobPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. Required. If only JOB_ID is specified, then it must be - // unique. If both JOB_ID and LOCATION_ID are specified, then the - // pair must be unique. - // ID) pair must be unique. - JOB_ID = 2; - - // Data Type: STRING. Combination of JOB_ID and LOCATION_ID must be unique - // per offer. - LOCATION_ID = 3; - - // Data Type: STRING. Required. Main headline with job title to be shown in - // dynamic ad. - TITLE = 4; - - // Data Type: STRING. Job subtitle to be shown in dynamic ad. - SUBTITLE = 5; - - // Data Type: STRING. Description of job to be shown in dynamic ad. - DESCRIPTION = 6; - - // Data Type: URL. Image to be displayed in the ad. Highly recommended for - // image ads. - IMAGE_URL = 7; - - // Data Type: STRING. Category of property used to group like items together - // for recommendation engine. - CATEGORY = 8; - - // Data Type: STRING_LIST. Keywords used for product retrieval. - CONTEXTUAL_KEYWORDS = 9; - - // Data Type: STRING. Complete property address, including postal code. - ADDRESS = 10; - - // Data Type: STRING. Salary or salary range of job to be shown in dynamic - // ad. - SALARY = 11; - - // Data Type: URL_LIST. Required. Final URLs to be used in ad when using - // Upgraded URLs; the more specific the better (for example, the individual - // URL of a specific job and its location). - FINAL_URLS = 12; - - // Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - // URLs. - FINAL_MOBILE_URLS = 14; - - // Data Type: URL. Tracking template for the ad when using Upgraded URLs. - TRACKING_URL = 15; - - // Data Type: STRING. Android app link. Must be formatted as: - // android-app://{package_id}/{scheme}/{host_path}. - // The components are defined as follows: - // package_id: app ID as specified in Google Play. - // scheme: the scheme to pass to the application. Can be HTTP, or a custom - // scheme. - // host_path: identifies the specific content within your application. - ANDROID_APP_LINK = 16; - - // Data Type: STRING_LIST. List of recommended job IDs to show together with - // this item. - SIMILAR_JOB_IDS = 17; - - // Data Type: STRING. iOS app link. - IOS_APP_LINK = 18; - - // Data Type: INT64. iOS app store ID. - IOS_APP_STORE_ID = 19; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/keyword_match_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/keyword_match_type.proto deleted file mode 100644 index 776cdeada..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/keyword_match_type.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "KeywordMatchTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing Keyword match types. - -// Message describing Keyword match types. -message KeywordMatchTypeEnum { - // Possible Keyword match types. - enum KeywordMatchType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Exact match. - EXACT = 2; - - // Phrase match. - PHRASE = 3; - - // Broad match. - BROAD = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/keyword_plan_aggregate_metric_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/keyword_plan_aggregate_metric_type.proto deleted file mode 100644 index 96b1b07a5..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/keyword_plan_aggregate_metric_type.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanAggregateMetricTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing keyword plan aggregate metric types. - -// The enumeration of keyword plan aggregate metric types. -message KeywordPlanAggregateMetricTypeEnum { - // Aggregate fields. - enum KeywordPlanAggregateMetricType { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // The device breakdown of aggregate search volume. - DEVICE = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/keyword_plan_competition_level.proto b/third_party/googleapis/google/ads/googleads/v11/enums/keyword_plan_competition_level.proto deleted file mode 100644 index ce8d2074b..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/keyword_plan_competition_level.proto +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanCompetitionLevelProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing Keyword Planner competition levels. - -// Container for enumeration of keyword competition levels. The competition -// level indicates how competitive ad placement is for a keyword and -// is determined by the number of advertisers bidding on that keyword relative -// to all keywords across Google. The competition level can depend on the -// location and Search Network targeting options you've selected. -message KeywordPlanCompetitionLevelEnum { - // Competition level of a keyword. - enum KeywordPlanCompetitionLevel { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Low competition. The Competition Index range for this is [0, 33]. - LOW = 2; - - // Medium competition. The Competition Index range for this is [34, 66]. - MEDIUM = 3; - - // High competition. The Competition Index range for this is [67, 100]. - HIGH = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/keyword_plan_concept_group_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/keyword_plan_concept_group_type.proto deleted file mode 100644 index 39d1c7f1b..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/keyword_plan_concept_group_type.proto +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanConceptGroupTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing Keyword Planner Concept Group types. - -// Container for enumeration of keyword plan concept group types. -message KeywordPlanConceptGroupTypeEnum { - // Enumerates keyword plan concept group types. - enum KeywordPlanConceptGroupType { - // The concept group classification different from brand/non-brand. - // This is a catch all bucket for all classifications that are none of the - // below. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // The concept group classification is based on BRAND. - BRAND = 2; - - // The concept group classification based on BRAND, that didn't fit well - // with the BRAND classifications. These are generally outliers and can have - // very few keywords in this type of classification. - OTHER_BRANDS = 3; - - // These concept group classification is not based on BRAND. This is - // returned for generic keywords that don't have a brand association. - NON_BRAND = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/keyword_plan_forecast_interval.proto b/third_party/googleapis/google/ads/googleads/v11/enums/keyword_plan_forecast_interval.proto deleted file mode 100644 index 3dddaf888..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/keyword_plan_forecast_interval.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanForecastIntervalProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing keyword plan forecast intervals. - -// Container for enumeration of forecast intervals. -message KeywordPlanForecastIntervalEnum { - // Forecast intervals. - enum KeywordPlanForecastInterval { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // The next week date range for keyword plan. The next week is based - // on the default locale of the user's account and is mostly SUN-SAT or - // MON-SUN. - // This can be different from next-7 days. - NEXT_WEEK = 3; - - // The next month date range for keyword plan. - NEXT_MONTH = 4; - - // The next quarter date range for keyword plan. - NEXT_QUARTER = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/keyword_plan_keyword_annotation.proto b/third_party/googleapis/google/ads/googleads/v11/enums/keyword_plan_keyword_annotation.proto deleted file mode 100644 index d1dd8457f..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/keyword_plan_keyword_annotation.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanKeywordAnnotationProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing Keyword Planner Keyword annotation types. - -// Container for enumeration of keyword plan keyword annotations. -message KeywordPlanKeywordAnnotationEnum { - // Enumerates keyword plan annotations that can be requested. - enum KeywordPlanKeywordAnnotation { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Return the keyword concept and concept group data. - KEYWORD_CONCEPT = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/keyword_plan_network.proto b/third_party/googleapis/google/ads/googleads/v11/enums/keyword_plan_network.proto deleted file mode 100644 index 14d9b381f..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/keyword_plan_network.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanNetworkProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing Keyword Planner forecastable network types. - -// Container for enumeration of keyword plan forecastable network types. -message KeywordPlanNetworkEnum { - // Enumerates keyword plan forecastable network types. - enum KeywordPlanNetwork { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Google Search. - GOOGLE_SEARCH = 2; - - // Google Search + Search partners. - GOOGLE_SEARCH_AND_PARTNERS = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/label_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/label_status.proto deleted file mode 100644 index 8d1377804..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/label_status.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LabelStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Container for enum describing possible status of a label. -message LabelStatusEnum { - // Possible statuses of a label. - enum LabelStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Label is enabled. - ENABLED = 2; - - // Label is removed. - REMOVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/lead_form_call_to_action_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/lead_form_call_to_action_type.proto deleted file mode 100644 index e6f85fd05..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/lead_form_call_to_action_type.proto +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LeadFormCallToActionTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Describes the type of call-to-action phrases in a lead form. -message LeadFormCallToActionTypeEnum { - // Enum describing the type of call-to-action phrases in a lead form. - enum LeadFormCallToActionType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Learn more. - LEARN_MORE = 2; - - // Get quote. - GET_QUOTE = 3; - - // Apply now. - APPLY_NOW = 4; - - // Sign Up. - SIGN_UP = 5; - - // Contact us. - CONTACT_US = 6; - - // Subscribe. - SUBSCRIBE = 7; - - // Download. - DOWNLOAD = 8; - - // Book now. - BOOK_NOW = 9; - - // Get offer. - GET_OFFER = 10; - - // Register. - REGISTER = 11; - - // Get info. - GET_INFO = 12; - - // Request a demo. - REQUEST_DEMO = 13; - - // Join now. - JOIN_NOW = 14; - - // Get started. - GET_STARTED = 15; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/lead_form_desired_intent.proto b/third_party/googleapis/google/ads/googleads/v11/enums/lead_form_desired_intent.proto deleted file mode 100644 index e21f41833..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/lead_form_desired_intent.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LeadFormDesiredIntentProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Describes the chosen level of intent of generated leads. -message LeadFormDesiredIntentEnum { - // Enum describing the chosen level of intent of generated leads. - enum LeadFormDesiredIntent { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Deliver more leads at a potentially lower quality. - LOW_INTENT = 2; - - // Deliver leads that are more qualified. - HIGH_INTENT = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/lead_form_field_user_input_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/lead_form_field_user_input_type.proto deleted file mode 100644 index f5a47af8b..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/lead_form_field_user_input_type.proto +++ /dev/null @@ -1,487 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LeadFormFieldUserInputTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Describes the input type of a lead form field. -message LeadFormFieldUserInputTypeEnum { - // Enum describing the input type of a lead form field. - enum LeadFormFieldUserInputType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The user will be asked to fill in their given and family name. This field - // cannot be set at the same time as GIVEN_NAME or FAMILY_NAME. - FULL_NAME = 2; - - // The user will be asked to fill in their email address. - EMAIL = 3; - - // The user will be asked to fill in their phone number. - PHONE_NUMBER = 4; - - // The user will be asked to fill in their zip code. - POSTAL_CODE = 5; - - // The user will be asked to fill in their street address. - STREET_ADDRESS = 8; - - // The user will be asked to fill in their city. - CITY = 9; - - // The user will be asked to fill in their region part of the address (for - // example, state for US, province for Canada). - REGION = 10; - - // The user will be asked to fill in their country. - COUNTRY = 11; - - // The user will be asked to fill in their work email address. - WORK_EMAIL = 12; - - // The user will be asked to fill in their company name. - COMPANY_NAME = 13; - - // The user will be asked to fill in their work phone. - WORK_PHONE = 14; - - // The user will be asked to fill in their job title. - JOB_TITLE = 15; - - // The user will be asked to fill in their CPF for Brazil users. - GOVERNMENT_ISSUED_ID_CPF_BR = 16; - - // The user will be asked to fill in their DNI for Argentina users. - GOVERNMENT_ISSUED_ID_DNI_AR = 17; - - // The user will be asked to fill in their DNI for Peru users. - GOVERNMENT_ISSUED_ID_DNI_PE = 18; - - // The user will be asked to fill in their RUT for Chile users. - GOVERNMENT_ISSUED_ID_RUT_CL = 19; - - // The user will be asked to fill in their CC for Colombia users. - GOVERNMENT_ISSUED_ID_CC_CO = 20; - - // The user will be asked to fill in their CI for Ecuador users. - GOVERNMENT_ISSUED_ID_CI_EC = 21; - - // The user will be asked to fill in their RFC for Mexico users. - GOVERNMENT_ISSUED_ID_RFC_MX = 22; - - // The user will be asked to fill in their first name. This - // field can not be set at the same time as FULL_NAME. - FIRST_NAME = 23; - - // The user will be asked to fill in their last name. This - // field can not be set at the same time as FULL_NAME. - LAST_NAME = 24; - - // Question: "Which model are you interested in?" - // Category: "Auto" - VEHICLE_MODEL = 1001; - - // Question: "Which type of vehicle are you interested in?" - // Category: "Auto" - VEHICLE_TYPE = 1002; - - // Question: "What is your preferred dealership?" - // Category: "Auto" - PREFERRED_DEALERSHIP = 1003; - - // Question: "When do you plan on purchasing a vehicle?" - // Category: "Auto" - VEHICLE_PURCHASE_TIMELINE = 1004; - - // Question: "Do you own a vehicle?" - // Category: "Auto" - VEHICLE_OWNERSHIP = 1005; - - // Question: "What vehicle ownership option are you interested in?" - // Category: "Auto" - VEHICLE_PAYMENT_TYPE = 1009; - - // Question: "What type of vehicle condition are you interested in?" - // Category: "Auto" - VEHICLE_CONDITION = 1010; - - // Question: "What size is your company?" - // Category: "Business" - COMPANY_SIZE = 1006; - - // Question: "What is your annual sales volume?" - // Category: "Business" - ANNUAL_SALES = 1007; - - // Question: "How many years have you been in business?" - // Category: "Business" - YEARS_IN_BUSINESS = 1008; - - // Question: "What is your job department?" - // Category: "Business" - JOB_DEPARTMENT = 1011; - - // Question: "What is your job role?" - // Category: "Business" - JOB_ROLE = 1012; - - // Question: "Are you over 18 years of age?" - // Category: "Demographics" - OVER_18_AGE = 1078; - - // Question: "Are you over 19 years of age?" - // Category: "Demographics" - OVER_19_AGE = 1079; - - // Question: "Are you over 20 years of age?" - // Category: "Demographics" - OVER_20_AGE = 1080; - - // Question: "Are you over 21 years of age?" - // Category: "Demographics" - OVER_21_AGE = 1081; - - // Question: "Are you over 22 years of age?" - // Category: "Demographics" - OVER_22_AGE = 1082; - - // Question: "Are you over 23 years of age?" - // Category: "Demographics" - OVER_23_AGE = 1083; - - // Question: "Are you over 24 years of age?" - // Category: "Demographics" - OVER_24_AGE = 1084; - - // Question: "Are you over 25 years of age?" - // Category: "Demographics" - OVER_25_AGE = 1085; - - // Question: "Are you over 26 years of age?" - // Category: "Demographics" - OVER_26_AGE = 1086; - - // Question: "Are you over 27 years of age?" - // Category: "Demographics" - OVER_27_AGE = 1087; - - // Question: "Are you over 28 years of age?" - // Category: "Demographics" - OVER_28_AGE = 1088; - - // Question: "Are you over 29 years of age?" - // Category: "Demographics" - OVER_29_AGE = 1089; - - // Question: "Are you over 30 years of age?" - // Category: "Demographics" - OVER_30_AGE = 1090; - - // Question: "Are you over 31 years of age?" - // Category: "Demographics" - OVER_31_AGE = 1091; - - // Question: "Are you over 32 years of age?" - // Category: "Demographics" - OVER_32_AGE = 1092; - - // Question: "Are you over 33 years of age?" - // Category: "Demographics" - OVER_33_AGE = 1093; - - // Question: "Are you over 34 years of age?" - // Category: "Demographics" - OVER_34_AGE = 1094; - - // Question: "Are you over 35 years of age?" - // Category: "Demographics" - OVER_35_AGE = 1095; - - // Question: "Are you over 36 years of age?" - // Category: "Demographics" - OVER_36_AGE = 1096; - - // Question: "Are you over 37 years of age?" - // Category: "Demographics" - OVER_37_AGE = 1097; - - // Question: "Are you over 38 years of age?" - // Category: "Demographics" - OVER_38_AGE = 1098; - - // Question: "Are you over 39 years of age?" - // Category: "Demographics" - OVER_39_AGE = 1099; - - // Question: "Are you over 40 years of age?" - // Category: "Demographics" - OVER_40_AGE = 1100; - - // Question: "Are you over 41 years of age?" - // Category: "Demographics" - OVER_41_AGE = 1101; - - // Question: "Are you over 42 years of age?" - // Category: "Demographics" - OVER_42_AGE = 1102; - - // Question: "Are you over 43 years of age?" - // Category: "Demographics" - OVER_43_AGE = 1103; - - // Question: "Are you over 44 years of age?" - // Category: "Demographics" - OVER_44_AGE = 1104; - - // Question: "Are you over 45 years of age?" - // Category: "Demographics" - OVER_45_AGE = 1105; - - // Question: "Are you over 46 years of age?" - // Category: "Demographics" - OVER_46_AGE = 1106; - - // Question: "Are you over 47 years of age?" - // Category: "Demographics" - OVER_47_AGE = 1107; - - // Question: "Are you over 48 years of age?" - // Category: "Demographics" - OVER_48_AGE = 1108; - - // Question: "Are you over 49 years of age?" - // Category: "Demographics" - OVER_49_AGE = 1109; - - // Question: "Are you over 50 years of age?" - // Category: "Demographics" - OVER_50_AGE = 1110; - - // Question: "Are you over 51 years of age?" - // Category: "Demographics" - OVER_51_AGE = 1111; - - // Question: "Are you over 52 years of age?" - // Category: "Demographics" - OVER_52_AGE = 1112; - - // Question: "Are you over 53 years of age?" - // Category: "Demographics" - OVER_53_AGE = 1113; - - // Question: "Are you over 54 years of age?" - // Category: "Demographics" - OVER_54_AGE = 1114; - - // Question: "Are you over 55 years of age?" - // Category: "Demographics" - OVER_55_AGE = 1115; - - // Question: "Are you over 56 years of age?" - // Category: "Demographics" - OVER_56_AGE = 1116; - - // Question: "Are you over 57 years of age?" - // Category: "Demographics" - OVER_57_AGE = 1117; - - // Question: "Are you over 58 years of age?" - // Category: "Demographics" - OVER_58_AGE = 1118; - - // Question: "Are you over 59 years of age?" - // Category: "Demographics" - OVER_59_AGE = 1119; - - // Question: "Are you over 60 years of age?" - // Category: "Demographics" - OVER_60_AGE = 1120; - - // Question: "Are you over 61 years of age?" - // Category: "Demographics" - OVER_61_AGE = 1121; - - // Question: "Are you over 62 years of age?" - // Category: "Demographics" - OVER_62_AGE = 1122; - - // Question: "Are you over 63 years of age?" - // Category: "Demographics" - OVER_63_AGE = 1123; - - // Question: "Are you over 64 years of age?" - // Category: "Demographics" - OVER_64_AGE = 1124; - - // Question: "Are you over 65 years of age?" - // Category: "Demographics" - OVER_65_AGE = 1125; - - // Question: "Which program are you interested in?" - // Category: "Education" - EDUCATION_PROGRAM = 1013; - - // Question: "Which course are you interested in?" - // Category: "Education" - EDUCATION_COURSE = 1014; - - // Question: "Which product are you interested in?" - // Category: "General" - PRODUCT = 1016; - - // Question: "Which service are you interested in?" - // Category: "General" - SERVICE = 1017; - - // Question: "Which offer are you interested in?" - // Category: "General" - OFFER = 1018; - - // Question: "Which category are you interested in?" - // Category: "General" - CATEGORY = 1019; - - // Question: "What is your preferred method of contact?" - // Category: "General" - PREFERRED_CONTACT_METHOD = 1020; - - // Question: "What is your preferred location?" - // Category: "General" - PREFERRED_LOCATION = 1021; - - // Question: "What is the best time to contact you?" - // Category: "General" - PREFERRED_CONTACT_TIME = 1022; - - // Question: "When are you looking to make a purchase?" - // Category: "General" - PURCHASE_TIMELINE = 1023; - - // Question: "How many years of work experience do you have?" - // Category: "Jobs" - YEARS_OF_EXPERIENCE = 1048; - - // Question: "What industry do you work in?" - // Category: "Jobs" - JOB_INDUSTRY = 1049; - - // Question: "What is your highest level of education?" - // Category: "Jobs" - LEVEL_OF_EDUCATION = 1050; - - // Question: "What type of property are you looking for?" - // Category: "Real Estate" - PROPERTY_TYPE = 1024; - - // Question: "What do you need a realtor's help with?" - // Category: "Real Estate" - REALTOR_HELP_GOAL = 1025; - - // Question: "What neighborhood are you interested in?" - // Category: "Real Estate" - PROPERTY_COMMUNITY = 1026; - - // Question: "What price range are you looking for?" - // Category: "Real Estate" - PRICE_RANGE = 1027; - - // Question: "How many bedrooms are you looking for?" - // Category: "Real Estate" - NUMBER_OF_BEDROOMS = 1028; - - // Question: "Are you looking for a fully furnished property?" - // Category: "Real Estate" - FURNISHED_PROPERTY = 1029; - - // Question: "Are you looking for properties that allow pets?" - // Category: "Real Estate" - PETS_ALLOWED_PROPERTY = 1030; - - // Question: "What is the next product you plan to purchase?" - // Category: "Retail" - NEXT_PLANNED_PURCHASE = 1031; - - // Question: "Would you like to sign up for an event?" - // Category: "Retail" - EVENT_SIGNUP_INTEREST = 1033; - - // Question: "Where are you interested in shopping?" - // Category: "Retail" - PREFERRED_SHOPPING_PLACES = 1034; - - // Question: "What is your favorite brand?" - // Category: "Retail" - FAVORITE_BRAND = 1035; - - // Question: "Which type of valid commercial license do you have?" - // Category: "Transportation" - TRANSPORTATION_COMMERCIAL_LICENSE_TYPE = 1036; - - // Question: "Interested in booking an event?" - // Category: "Travel" - EVENT_BOOKING_INTEREST = 1038; - - // Question: "What is your destination country?" - // Category: "Travel" - DESTINATION_COUNTRY = 1039; - - // Question: "What is your destination city?" - // Category: "Travel" - DESTINATION_CITY = 1040; - - // Question: "What is your departure country?" - // Category: "Travel" - DEPARTURE_COUNTRY = 1041; - - // Question: "What is your departure city?" - // Category: "Travel" - DEPARTURE_CITY = 1042; - - // Question: "What is your departure date?" - // Category: "Travel" - DEPARTURE_DATE = 1043; - - // Question: "What is your return date?" - // Category: "Travel" - RETURN_DATE = 1044; - - // Question: "How many people are you traveling with?" - // Category: "Travel" - NUMBER_OF_TRAVELERS = 1045; - - // Question: "What is your travel budget?" - // Category: "Travel" - TRAVEL_BUDGET = 1046; - - // Question: "Where do you want to stay during your travel?" - // Category: "Travel" - TRAVEL_ACCOMMODATION = 1047; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/lead_form_post_submit_call_to_action_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/lead_form_post_submit_call_to_action_type.proto deleted file mode 100644 index cb081d194..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/lead_form_post_submit_call_to_action_type.proto +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LeadFormPostSubmitCallToActionTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Describes the type of post-submit call-to-action phrases for a lead form. -message LeadFormPostSubmitCallToActionTypeEnum { - // Enum describing the type of post-submit call-to-action phrases for a lead - // form. - enum LeadFormPostSubmitCallToActionType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Visit site. - VISIT_SITE = 2; - - // Download. - DOWNLOAD = 3; - - // Learn more. - LEARN_MORE = 4; - - // Shop now. - SHOP_NOW = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/legacy_app_install_ad_app_store.proto b/third_party/googleapis/google/ads/googleads/v11/enums/legacy_app_install_ad_app_store.proto deleted file mode 100644 index df48a2e53..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/legacy_app_install_ad_app_store.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LegacyAppInstallAdAppStoreProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing app store types for a legacy app install ad. - -// Container for enum describing app store type in a legacy app install ad. -message LegacyAppInstallAdAppStoreEnum { - // App store type in a legacy app install ad. - enum LegacyAppInstallAdAppStore { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Apple iTunes. - APPLE_APP_STORE = 2; - - // Google Play. - GOOGLE_PLAY = 3; - - // Windows Store. - WINDOWS_STORE = 4; - - // Windows Phone Store. - WINDOWS_PHONE_STORE = 5; - - // The app is hosted in a Chinese app store. - CN_APP_STORE = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/linked_account_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/linked_account_type.proto deleted file mode 100644 index b615026d7..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/linked_account_type.proto +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LinkedAccountTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Container for enum describing different types of Linked accounts. -message LinkedAccountTypeEnum { - // Describes the possible link types between a Google Ads customer - // and another account. - enum LinkedAccountType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // A link to provide third party app analytics data. - THIRD_PARTY_APP_ANALYTICS = 2; - - // A link to Data partner. - DATA_PARTNER = 3; - - // A link to Google Ads. - GOOGLE_ADS = 4; - - // A link to Hotel Center. - HOTEL_CENTER = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/listing_group_filter_bidding_category_level.proto b/third_party/googleapis/google/ads/googleads/v11/enums/listing_group_filter_bidding_category_level.proto deleted file mode 100644 index 40e82e93c..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/listing_group_filter_bidding_category_level.proto +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ListingGroupFilterBiddingCategoryLevelProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing listing groups. - -// Container for enum describing the levels of bidding category used in -// ListingGroupFilterDimension. -message ListingGroupFilterBiddingCategoryLevelEnum { - // The level of the listing group filter bidding category. - enum ListingGroupFilterBiddingCategoryLevel { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Level 1. - LEVEL1 = 2; - - // Level 2. - LEVEL2 = 3; - - // Level 3. - LEVEL3 = 4; - - // Level 4. - LEVEL4 = 5; - - // Level 5. - LEVEL5 = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/listing_group_filter_custom_attribute_index.proto b/third_party/googleapis/google/ads/googleads/v11/enums/listing_group_filter_custom_attribute_index.proto deleted file mode 100644 index f931154f7..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/listing_group_filter_custom_attribute_index.proto +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ListingGroupFilterCustomAttributeIndexProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing listing groups. - -// Container for enum describing the indexes of custom attribute used in -// ListingGroupFilterDimension. -message ListingGroupFilterCustomAttributeIndexEnum { - // The index of customer attributes. - enum ListingGroupFilterCustomAttributeIndex { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // First listing group filter custom attribute. - INDEX0 = 2; - - // Second listing group filter custom attribute. - INDEX1 = 3; - - // Third listing group filter custom attribute. - INDEX2 = 4; - - // Fourth listing group filter custom attribute. - INDEX3 = 5; - - // Fifth listing group filter custom attribute. - INDEX4 = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/listing_group_filter_product_channel.proto b/third_party/googleapis/google/ads/googleads/v11/enums/listing_group_filter_product_channel.proto deleted file mode 100644 index 901f88f75..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/listing_group_filter_product_channel.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ListingGroupFilterProductChannelProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing listing groups. - -// Locality of a product offer. -message ListingGroupFilterProductChannelEnum { - // Enum describing the locality of a product offer. - enum ListingGroupFilterProductChannel { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The item is sold online. - ONLINE = 2; - - // The item is sold in local stores. - LOCAL = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/listing_group_filter_product_condition.proto b/third_party/googleapis/google/ads/googleads/v11/enums/listing_group_filter_product_condition.proto deleted file mode 100644 index eaf1c2ae9..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/listing_group_filter_product_condition.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ListingGroupFilterProductConditionProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing listing groups. - -// Condition of a product offer. -message ListingGroupFilterProductConditionEnum { - // Enum describing the condition of a product offer. - enum ListingGroupFilterProductCondition { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The product condition is new. - NEW = 2; - - // The product condition is refurbished. - REFURBISHED = 3; - - // The product condition is used. - USED = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/listing_group_filter_product_type_level.proto b/third_party/googleapis/google/ads/googleads/v11/enums/listing_group_filter_product_type_level.proto deleted file mode 100644 index 447387e13..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/listing_group_filter_product_type_level.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ListingGroupFilterProductTypeLevelProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing listing groups. - -// Level of the type of a product offer. -message ListingGroupFilterProductTypeLevelEnum { - // Enum describing the level of the type of a product offer. - enum ListingGroupFilterProductTypeLevel { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Level 1. - LEVEL1 = 2; - - // Level 2. - LEVEL2 = 3; - - // Level 3. - LEVEL3 = 4; - - // Level 4. - LEVEL4 = 5; - - // Level 5. - LEVEL5 = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/listing_group_filter_type_enum.proto b/third_party/googleapis/google/ads/googleads/v11/enums/listing_group_filter_type_enum.proto deleted file mode 100644 index c26c723a5..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/listing_group_filter_type_enum.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ListingGroupFilterTypeEnumProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing listing groups. - -// Container for enum describing the type of the listing group filter node. -message ListingGroupFilterTypeEnum { - // The type of the listing group filter. - enum ListingGroupFilterType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Subdivision of products along some listing dimensions. - SUBDIVISION = 2; - - // An included listing group filter leaf node. - UNIT_INCLUDED = 3; - - // An excluded listing group filter leaf node. - UNIT_EXCLUDED = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/listing_group_filter_vertical.proto b/third_party/googleapis/google/ads/googleads/v11/enums/listing_group_filter_vertical.proto deleted file mode 100644 index 3140a9ad2..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/listing_group_filter_vertical.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ListingGroupFilterVerticalProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing listing groups. - -// Container for enum describing the type of the vertical a listing group filter -// tree represents. -message ListingGroupFilterVerticalEnum { - // The type of the listing group filter vertical. - enum ListingGroupFilterVertical { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Represents the shopping vertical. - SHOPPING = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/listing_group_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/listing_group_type.proto deleted file mode 100644 index 8f4e69597..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/listing_group_type.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ListingGroupTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing listing groups. - -// Container for enum describing the type of the listing group. -message ListingGroupTypeEnum { - // The type of the listing group. - enum ListingGroupType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Subdivision of products along some listing dimension. These nodes - // are not used by serving to target listing entries, but is purely - // to define the structure of the tree. - SUBDIVISION = 2; - - // Listing group unit that defines a bid. - UNIT = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/local_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v11/enums/local_placeholder_field.proto deleted file mode 100644 index 90b2cad1e..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/local_placeholder_field.proto +++ /dev/null @@ -1,117 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LocalPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing Local placeholder fields. - -// Values for Local placeholder fields. -// For more information about dynamic remarketing feeds, see -// https://support.google.com/google-ads/answer/6053288. -message LocalPlaceholderFieldEnum { - // Possible values for Local placeholder fields. - enum LocalPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. Required. Unique ID. - DEAL_ID = 2; - - // Data Type: STRING. Required. Main headline with local deal title to be - // shown in dynamic ad. - DEAL_NAME = 3; - - // Data Type: STRING. Local deal subtitle to be shown in dynamic ad. - SUBTITLE = 4; - - // Data Type: STRING. Description of local deal to be shown in dynamic ad. - DESCRIPTION = 5; - - // Data Type: STRING. Price to be shown in the ad. Highly recommended for - // dynamic ads. Example: "100.00 USD" - PRICE = 6; - - // Data Type: STRING. Formatted price to be shown in the ad. - // Example: "Starting at $100.00 USD", "$80 - $100" - FORMATTED_PRICE = 7; - - // Data Type: STRING. Sale price to be shown in the ad. - // Example: "80.00 USD" - SALE_PRICE = 8; - - // Data Type: STRING. Formatted sale price to be shown in the ad. - // Example: "On sale for $80.00", "$60 - $80" - FORMATTED_SALE_PRICE = 9; - - // Data Type: URL. Image to be displayed in the ad. - IMAGE_URL = 10; - - // Data Type: STRING. Complete property address, including postal code. - ADDRESS = 11; - - // Data Type: STRING. Category of local deal used to group like items - // together for recommendation engine. - CATEGORY = 12; - - // Data Type: STRING_LIST. Keywords used for product retrieval. - CONTEXTUAL_KEYWORDS = 13; - - // Data Type: URL_LIST. Required. Final URLs to be used in ad when using - // Upgraded URLs; the more specific the better (for example, the individual - // URL of a specific local deal and its location). - FINAL_URLS = 14; - - // Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - // URLs. - FINAL_MOBILE_URLS = 15; - - // Data Type: URL. Tracking template for the ad when using Upgraded URLs. - TRACKING_URL = 16; - - // Data Type: STRING. Android app link. Must be formatted as: - // android-app://{package_id}/{scheme}/{host_path}. - // The components are defined as follows: - // package_id: app ID as specified in Google Play. - // scheme: the scheme to pass to the application. Can be HTTP, or a custom - // scheme. - // host_path: identifies the specific content within your application. - ANDROID_APP_LINK = 17; - - // Data Type: STRING_LIST. List of recommended local deal IDs to show - // together with this item. - SIMILAR_DEAL_IDS = 18; - - // Data Type: STRING. iOS app link. - IOS_APP_LINK = 19; - - // Data Type: INT64. iOS app store ID. - IOS_APP_STORE_ID = 20; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/location_extension_targeting_criterion_field.proto b/third_party/googleapis/google/ads/googleads/v11/enums/location_extension_targeting_criterion_field.proto deleted file mode 100644 index f8ca580f0..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/location_extension_targeting_criterion_field.proto +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LocationExtensionTargetingCriterionFieldProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing Location Extension Targeting criterion fields. - -// Values for Location Extension Targeting criterion fields. -message LocationExtensionTargetingCriterionFieldEnum { - // Possible values for Location Extension Targeting criterion fields. - enum LocationExtensionTargetingCriterionField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. Line 1 of the business address. - ADDRESS_LINE_1 = 2; - - // Data Type: STRING. Line 2 of the business address. - ADDRESS_LINE_2 = 3; - - // Data Type: STRING. City of the business address. - CITY = 4; - - // Data Type: STRING. Province of the business address. - PROVINCE = 5; - - // Data Type: STRING. Postal code of the business address. - POSTAL_CODE = 6; - - // Data Type: STRING. Country code of the business address. - COUNTRY_CODE = 7; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/location_group_radius_units.proto b/third_party/googleapis/google/ads/googleads/v11/enums/location_group_radius_units.proto deleted file mode 100644 index 3d5f08c6b..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/location_group_radius_units.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LocationGroupRadiusUnitsProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing location group radius units. - -// Container for enum describing unit of radius in location group. -message LocationGroupRadiusUnitsEnum { - // The unit of radius distance in location group (for example, MILES) - enum LocationGroupRadiusUnits { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Meters - METERS = 2; - - // Miles - MILES = 3; - - // Milli Miles - MILLI_MILES = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/location_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v11/enums/location_placeholder_field.proto deleted file mode 100644 index adbdb7ff8..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/location_placeholder_field.proto +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LocationPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing Location placeholder fields. - -// Values for Location placeholder fields. -message LocationPlaceholderFieldEnum { - // Possible values for Location placeholder fields. - enum LocationPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. The name of the business. - BUSINESS_NAME = 2; - - // Data Type: STRING. Line 1 of the business address. - ADDRESS_LINE_1 = 3; - - // Data Type: STRING. Line 2 of the business address. - ADDRESS_LINE_2 = 4; - - // Data Type: STRING. City of the business address. - CITY = 5; - - // Data Type: STRING. Province of the business address. - PROVINCE = 6; - - // Data Type: STRING. Postal code of the business address. - POSTAL_CODE = 7; - - // Data Type: STRING. Country code of the business address. - COUNTRY_CODE = 8; - - // Data Type: STRING. Phone number of the business. - PHONE_NUMBER = 9; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/location_source_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/location_source_type.proto deleted file mode 100644 index dd3725d00..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/location_source_type.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LocationSourceTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing location source types. - -// Used to distinguish the location source type. -message LocationSourceTypeEnum { - // The possible types of a location source. - enum LocationSourceType { - // No value has been specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Locations associated with the customer's linked Business Profile. - GOOGLE_MY_BUSINESS = 2; - - // Affiliate (chain) store locations. For example, Best Buy store locations. - AFFILIATE = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/manager_link_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/manager_link_status.proto deleted file mode 100644 index 9d4f7a8fe..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/manager_link_status.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ManagerLinkStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Container for enum describing possible status of a manager and client link. -message ManagerLinkStatusEnum { - // Possible statuses of a link. - enum ManagerLinkStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Indicates current in-effect relationship - ACTIVE = 2; - - // Indicates terminated relationship - INACTIVE = 3; - - // Indicates relationship has been requested by manager, but the client - // hasn't accepted yet. - PENDING = 4; - - // Relationship was requested by the manager, but the client has refused. - REFUSED = 5; - - // Indicates relationship has been requested by manager, but manager - // canceled it. - CANCELED = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/matching_function_context_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/matching_function_context_type.proto deleted file mode 100644 index 8550506d2..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/matching_function_context_type.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MatchingFunctionContextTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing matching function context types. - -// Container for context types for an operand in a matching function. -message MatchingFunctionContextTypeEnum { - // Possible context types for an operand in a matching function. - enum MatchingFunctionContextType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Feed item id in the request context. - FEED_ITEM_ID = 2; - - // The device being used (possible values are 'Desktop' or 'Mobile'). - DEVICE_NAME = 3; - - // Feed item set id in the request context. - FEED_ITEM_SET_ID = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/matching_function_operator.proto b/third_party/googleapis/google/ads/googleads/v11/enums/matching_function_operator.proto deleted file mode 100644 index de2b446ac..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/matching_function_operator.proto +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MatchingFunctionOperatorProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing matching function operators. - -// Container for enum describing matching function operator. -message MatchingFunctionOperatorEnum { - // Possible operators in a matching function. - enum MatchingFunctionOperator { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The IN operator. - IN = 2; - - // The IDENTITY operator. - IDENTITY = 3; - - // The EQUALS operator - EQUALS = 4; - - // Operator that takes two or more operands that are of type - // FunctionOperand and checks that all the operands evaluate to true. - // For functions related to ad formats, all the operands must be in - // left_operands. - AND = 5; - - // Operator that returns true if the elements in left_operands contain any - // of the elements in right_operands. Otherwise, return false. The - // right_operands must contain at least 1 and no more than 3 - // ConstantOperands. - CONTAINS_ANY = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/media_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/media_type.proto deleted file mode 100644 index f6156e050..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/media_type.proto +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MediaTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing media types. - -// Container for enum describing the types of media. -message MediaTypeEnum { - // The type of media. - enum MediaType { - // The media type has not been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // Static image, used for image ad. - IMAGE = 2; - - // Small image, used for map ad. - ICON = 3; - - // ZIP file, used in fields of template ads. - MEDIA_BUNDLE = 4; - - // Audio file. - AUDIO = 5; - - // Video file. - VIDEO = 6; - - // Animated image, such as animated GIF. - DYNAMIC_IMAGE = 7; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/merchant_center_link_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/merchant_center_link_status.proto deleted file mode 100644 index 9e25f0dea..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/merchant_center_link_status.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MerchantCenterLinkStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing Merchant Center link statuses. - -// Container for enum describing possible statuses of a Google Merchant Center -// link. -message MerchantCenterLinkStatusEnum { - // Describes the possible statuses for a link between a Google Ads customer - // and a Google Merchant Center account. - enum MerchantCenterLinkStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The link is enabled. - ENABLED = 2; - - // The link has no effect. It was proposed by the Merchant Center Account - // owner and hasn't been confirmed by the customer. - PENDING = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/message_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v11/enums/message_placeholder_field.proto deleted file mode 100644 index cf54e6499..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/message_placeholder_field.proto +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MessagePlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing Message placeholder fields. - -// Values for Message placeholder fields. -message MessagePlaceholderFieldEnum { - // Possible values for Message placeholder fields. - enum MessagePlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. The name of your business. - BUSINESS_NAME = 2; - - // Data Type: STRING. Country code of phone number. - COUNTRY_CODE = 3; - - // Data Type: STRING. A phone number that's capable of sending and receiving - // text messages. - PHONE_NUMBER = 4; - - // Data Type: STRING. The text that will go in your click-to-message ad. - MESSAGE_EXTENSION_TEXT = 5; - - // Data Type: STRING. The message text automatically shows in people's - // messaging apps when they tap to send you a message. - MESSAGE_TEXT = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/mime_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/mime_type.proto deleted file mode 100644 index 53da86f9b..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/mime_type.proto +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MimeTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing mime types. - -// Container for enum describing the mime types. -message MimeTypeEnum { - // The mime type - enum MimeType { - // The mime type has not been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // MIME type of image/jpeg. - IMAGE_JPEG = 2; - - // MIME type of image/gif. - IMAGE_GIF = 3; - - // MIME type of image/png. - IMAGE_PNG = 4; - - // MIME type of application/x-shockwave-flash. - FLASH = 5; - - // MIME type of text/html. - TEXT_HTML = 6; - - // MIME type of application/pdf. - PDF = 7; - - // MIME type of application/msword. - MSWORD = 8; - - // MIME type of application/vnd.ms-excel. - MSEXCEL = 9; - - // MIME type of application/rtf. - RTF = 10; - - // MIME type of audio/wav. - AUDIO_WAV = 11; - - // MIME type of audio/mp3. - AUDIO_MP3 = 12; - - // MIME type of application/x-html5-ad-zip. - HTML5_AD_ZIP = 13; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/minute_of_hour.proto b/third_party/googleapis/google/ads/googleads/v11/enums/minute_of_hour.proto deleted file mode 100644 index 88e939778..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/minute_of_hour.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MinuteOfHourProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing days of week. - -// Container for enumeration of quarter-hours. -message MinuteOfHourEnum { - // Enumerates of quarter-hours. For example, "FIFTEEN" - enum MinuteOfHour { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Zero minutes past the hour. - ZERO = 2; - - // Fifteen minutes past the hour. - FIFTEEN = 3; - - // Thirty minutes past the hour. - THIRTY = 4; - - // Forty-five minutes past the hour. - FORTY_FIVE = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/mobile_app_vendor.proto b/third_party/googleapis/google/ads/googleads/v11/enums/mobile_app_vendor.proto deleted file mode 100644 index 9716feb96..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/mobile_app_vendor.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MobileAppVendorProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Container for enum describing different types of mobile app vendors. -message MobileAppVendorEnum { - // The type of mobile app vendor - enum MobileAppVendor { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Mobile app vendor for Apple app store. - APPLE_APP_STORE = 2; - - // Mobile app vendor for Google app store. - GOOGLE_APP_STORE = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/mobile_device_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/mobile_device_type.proto deleted file mode 100644 index d3fc065d7..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/mobile_device_type.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MobileDeviceTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing mobile device types. - -// Container for enum describing the types of mobile device. -message MobileDeviceTypeEnum { - // The type of mobile device. - enum MobileDeviceType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Mobile phones. - MOBILE = 2; - - // Tablets. - TABLET = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/month_of_year.proto b/third_party/googleapis/google/ads/googleads/v11/enums/month_of_year.proto deleted file mode 100644 index 3d7c2529e..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/month_of_year.proto +++ /dev/null @@ -1,78 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MonthOfYearProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing days of week. - -// Container for enumeration of months of the year, for example, "January". -message MonthOfYearEnum { - // Enumerates months of the year, for example, "January". - enum MonthOfYear { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // January. - JANUARY = 2; - - // February. - FEBRUARY = 3; - - // March. - MARCH = 4; - - // April. - APRIL = 5; - - // May. - MAY = 6; - - // June. - JUNE = 7; - - // July. - JULY = 8; - - // August. - AUGUST = 9; - - // September. - SEPTEMBER = 10; - - // October. - OCTOBER = 11; - - // November. - NOVEMBER = 12; - - // December. - DECEMBER = 13; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/negative_geo_target_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/negative_geo_target_type.proto deleted file mode 100644 index ac4c6ae52..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/negative_geo_target_type.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "NegativeGeoTargetTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing negative geo target types. - -// Container for enum describing possible negative geo target types. -message NegativeGeoTargetTypeEnum { - // The possible negative geo target types. - enum NegativeGeoTargetType { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Specifies that a user is excluded from seeing the ad if they - // are in, or show interest in, advertiser's excluded locations. - PRESENCE_OR_INTEREST = 4; - - // Specifies that a user is excluded from seeing the ad if they - // are in advertiser's excluded locations. - PRESENCE = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/offline_user_data_job_failure_reason.proto b/third_party/googleapis/google/ads/googleads/v11/enums/offline_user_data_job_failure_reason.proto deleted file mode 100644 index 4d885739b..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/offline_user_data_job_failure_reason.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "OfflineUserDataJobFailureReasonProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing offline user data job failure reasons. - -// Container for enum describing reasons why an offline user data job -// failed to be processed. -message OfflineUserDataJobFailureReasonEnum { - // The failure reason of an offline user data job. - enum OfflineUserDataJobFailureReason { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The matched transactions are insufficient. - INSUFFICIENT_MATCHED_TRANSACTIONS = 2; - - // The uploaded transactions are insufficient. - INSUFFICIENT_TRANSACTIONS = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/offline_user_data_job_match_rate_range.proto b/third_party/googleapis/google/ads/googleads/v11/enums/offline_user_data_job_match_rate_range.proto deleted file mode 100644 index 5b3b235a2..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/offline_user_data_job_match_rate_range.proto +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "OfflineUserDataJobMatchRateRangeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Container for enum describing reasons match rate ranges for a customer match -// list upload. -message OfflineUserDataJobMatchRateRangeEnum { - // The match rate range of an offline user data job. - enum OfflineUserDataJobMatchRateRange { - // Not specified. - UNSPECIFIED = 0; - - // Default value for match rate range. - UNKNOWN = 1; - - // Match rate range for offline data upload entity is between 0% and 19%. - MATCH_RANGE_LESS_THAN_20 = 2; - - // Match rate range for offline data upload entity is between 20% and 30%. - MATCH_RANGE_20_TO_30 = 3; - - // Match rate range for offline data upload entity is between 31% and 40%. - MATCH_RANGE_31_TO_40 = 4; - - // Match rate range for offline data upload entity is between 41% and 50%. - MATCH_RANGE_41_TO_50 = 5; - - // Match rate range for offline data upload entity is between 51% and 60%. - MATCH_RANGE_51_TO_60 = 6; - - // Match rate range for offline data upload entity is between 61% and 70%. - MATCH_RANGE_61_TO_70 = 7; - - // Match rate range for offline data upload entity is between 71% and 80%. - MATCH_RANGE_71_TO_80 = 8; - - // Match rate range for offline data upload entity is between 81% and 90%. - MATCH_RANGE_81_TO_90 = 9; - - // Match rate range for offline data upload entity more than or equal to - // 91%. - MATCH_RANGE_91_TO_100 = 10; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/offline_user_data_job_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/offline_user_data_job_status.proto deleted file mode 100644 index c1da0b6f7..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/offline_user_data_job_status.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "OfflineUserDataJobStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing offline user data job status. - -// Container for enum describing status of an offline user data job. -message OfflineUserDataJobStatusEnum { - // The status of an offline user data job. - enum OfflineUserDataJobStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The job has been successfully created and pending for uploading. - PENDING = 2; - - // Upload(s) have been accepted and data is being processed. - RUNNING = 3; - - // Uploaded data has been successfully processed. - SUCCESS = 4; - - // Uploaded data has failed to be processed. - FAILED = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/offline_user_data_job_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/offline_user_data_job_type.proto deleted file mode 100644 index b656089aa..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/offline_user_data_job_type.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "OfflineUserDataJobTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing offline user data job types. - -// Container for enum describing types of an offline user data job. -message OfflineUserDataJobTypeEnum { - // The type of an offline user data job. - enum OfflineUserDataJobType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Store Sales Direct data for self service. - STORE_SALES_UPLOAD_FIRST_PARTY = 2; - - // Store Sales Direct data for third party. - STORE_SALES_UPLOAD_THIRD_PARTY = 3; - - // Customer Match user list data. - CUSTOMER_MATCH_USER_LIST = 4; - - // Customer Match with attribute data. - CUSTOMER_MATCH_WITH_ATTRIBUTES = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/operating_system_version_operator_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/operating_system_version_operator_type.proto deleted file mode 100644 index 6e49d1846..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/operating_system_version_operator_type.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "OperatingSystemVersionOperatorTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing operating system version operator types. - -// Container for enum describing the type of OS operators. -message OperatingSystemVersionOperatorTypeEnum { - // The type of operating system version. - enum OperatingSystemVersionOperatorType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Equals to the specified version. - EQUALS_TO = 2; - - // Greater than or equals to the specified version. - GREATER_THAN_EQUALS_TO = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/optimization_goal_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/optimization_goal_type.proto deleted file mode 100644 index 6dcfc8bb6..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/optimization_goal_type.proto +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "OptimizationGoalTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing optimization goal type. - -// Container for enum describing the type of optimization goal. -message OptimizationGoalTypeEnum { - // The type of optimization goal - enum OptimizationGoalType { - // Not specified. - UNSPECIFIED = 0; - - // Used as a return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Optimize for call clicks. Call click conversions are times people - // selected 'Call' to contact a store after viewing an ad. - CALL_CLICKS = 2; - - // Optimize for driving directions. Driving directions conversions are - // times people selected 'Get directions' to navigate to a store after - // viewing an ad. - DRIVING_DIRECTIONS = 3; - - // Optimize for pre-registration. Pre-registration conversions are the - // number of pre-registration signups to receive a notification when the app - // is released. - APP_PRE_REGISTRATION = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/parental_status_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/parental_status_type.proto deleted file mode 100644 index 3dc06ed1b..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/parental_status_type.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ParentalStatusTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing parenal status types. - -// Container for enum describing the type of demographic parental statuses. -message ParentalStatusTypeEnum { - // The type of parental statuses (for example, not a parent). - enum ParentalStatusType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Parent. - PARENT = 300; - - // Not a parent. - NOT_A_PARENT = 301; - - // Undetermined parental status. - UNDETERMINED = 302; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/payment_mode.proto b/third_party/googleapis/google/ads/googleads/v11/enums/payment_mode.proto deleted file mode 100644 index 16084924e..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/payment_mode.proto +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PaymentModeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing payment modes. - -// Container for enum describing possible payment modes. -message PaymentModeEnum { - // Enum describing possible payment modes. - enum PaymentMode { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Pay per click. - CLICKS = 4; - - // Pay per conversion value. This mode is only supported by campaigns with - // AdvertisingChannelType.HOTEL, BiddingStrategyType.COMMISSION, and - // BudgetType.STANDARD. - CONVERSION_VALUE = 5; - - // Pay per conversion. This mode is only supported by campaigns with - // AdvertisingChannelType.DISPLAY (excluding - // AdvertisingChannelSubType.DISPLAY_GMAIL), BiddingStrategyType.TARGET_CPA, - // and BudgetType.FIXED_CPA. The customer must also be eligible for this - // mode. See Customer.eligibility_failure_reasons for details. - CONVERSIONS = 6; - - // Pay per guest stay value. This mode is only supported by campaigns with - // AdvertisingChannelType.HOTEL, BiddingStrategyType.COMMISSION, and - // BudgetType.STANDARD. - GUEST_STAY = 7; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/performance_max_upgrade_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/performance_max_upgrade_status.proto deleted file mode 100644 index bbbac8525..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/performance_max_upgrade_status.proto +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PerformanceMaxUpgradeStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing advertising channel types - -// Performance Max Upgrade status for campaign. -message PerformanceMaxUpgradeStatusEnum { - // Performance Max Upgrade status enum for campaign. - enum PerformanceMaxUpgradeStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The campaign is eligible for upgrade to a Performance Max campaign. - UPGRADE_ELIBIGLE = 2; - - // The upgrade to a Performance Max campaign is in progress. - UPGRADE_IN_PROGRESS = 3; - - // The upgrade to a Performance Max campaign is complete. - UPGRADE_COMPLETE = 4; - - // The upgrade to a Performance Max campaign failed. - // The campaign will still serve as it was before upgrade was attempted. - UPGRADE_FAILED = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/placeholder_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/placeholder_type.proto deleted file mode 100644 index 5094bf687..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/placeholder_type.proto +++ /dev/null @@ -1,122 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PlaceholderTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing feed placeholder types. - -// Container for enum describing possible placeholder types for a feed mapping. -message PlaceholderTypeEnum { - // Possible placeholder types for a feed mapping. - enum PlaceholderType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Lets you show links in your ad to pages from your website, including the - // main landing page. - SITELINK = 2; - - // Lets you attach a phone number to an ad, allowing customers to call - // directly from the ad. - CALL = 3; - - // Lets you provide users with a link that points to a mobile app in - // addition to a website. - APP = 4; - - // Lets you show locations of businesses from your Business Profile - // in your ad. This helps people find your locations by showing your - // ads with your address, a map to your location, or the distance to your - // business. This extension type is useful to draw customers to your - // brick-and-mortar location. - LOCATION = 5; - - // If you sell your product through retail chains, affiliate location - // extensions let you show nearby stores that carry your products. - AFFILIATE_LOCATION = 6; - - // Lets you include additional text with your search ads that provide - // detailed information about your business, including products and services - // you offer. Callouts appear in ads at the top and bottom of Google search - // results. - CALLOUT = 7; - - // Lets you add more info to your ad, specific to some predefined categories - // such as types, brands, styles, etc. A minimum of 3 text (SNIPPETS) values - // are required. - STRUCTURED_SNIPPET = 8; - - // Allows users to see your ad, click an icon, and contact you directly by - // text message. With one tap on your ad, people can contact you to book an - // appointment, get a quote, ask for information, or request a service. - MESSAGE = 9; - - // Lets you display prices for a list of items along with your ads. A price - // feed is composed of three to eight price table rows. - PRICE = 10; - - // Lets you highlight sales and other promotions that let users see how - // they can save by buying now. - PROMOTION = 11; - - // Lets you dynamically inject custom data into the title and description - // of your ads. - AD_CUSTOMIZER = 12; - - // Indicates that this feed is for education dynamic remarketing. - DYNAMIC_EDUCATION = 13; - - // Indicates that this feed is for flight dynamic remarketing. - DYNAMIC_FLIGHT = 14; - - // Indicates that this feed is for a custom dynamic remarketing type. Use - // this only if the other business types don't apply to your products or - // services. - DYNAMIC_CUSTOM = 15; - - // Indicates that this feed is for hotels and rentals dynamic remarketing. - DYNAMIC_HOTEL = 16; - - // Indicates that this feed is for real estate dynamic remarketing. - DYNAMIC_REAL_ESTATE = 17; - - // Indicates that this feed is for travel dynamic remarketing. - DYNAMIC_TRAVEL = 18; - - // Indicates that this feed is for local deals dynamic remarketing. - DYNAMIC_LOCAL = 19; - - // Indicates that this feed is for job dynamic remarketing. - DYNAMIC_JOB = 20; - - // Lets you attach an image to an ad. - IMAGE = 21; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/placement_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/placement_type.proto deleted file mode 100644 index 8d8706306..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/placement_type.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PlacementTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing placement types. - -// Container for enum describing possible placement types. -message PlacementTypeEnum { - // Possible placement types for a feed mapping. - enum PlacementType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Websites(for example, 'www.flowers4sale.com'). - WEBSITE = 2; - - // Mobile application categories(for example, 'Games'). - MOBILE_APP_CATEGORY = 3; - - // mobile applications(for example, 'mobileapp::2-com.whatsthewordanswers'). - MOBILE_APPLICATION = 4; - - // YouTube videos(for example, 'youtube.com/video/wtLJPvx7-ys'). - YOUTUBE_VIDEO = 5; - - // YouTube channels(for example, 'youtube.com::L8ZULXASCc1I_oaOT0NaOQ'). - YOUTUBE_CHANNEL = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/policy_approval_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/policy_approval_status.proto deleted file mode 100644 index b3128d153..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/policy_approval_status.proto +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PolicyApprovalStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing policy approval statuses. - -// Container for enum describing possible policy approval statuses. -message PolicyApprovalStatusEnum { - // The possible policy approval statuses. When there are several approval - // statuses available the most severe one will be used. The order of severity - // is DISAPPROVED, AREA_OF_INTEREST_ONLY, APPROVED_LIMITED and APPROVED. - enum PolicyApprovalStatus { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // Will not serve. - DISAPPROVED = 2; - - // Serves with restrictions. - APPROVED_LIMITED = 3; - - // Serves without restrictions. - APPROVED = 4; - - // Will not serve in targeted countries, but may serve for users who are - // searching for information about the targeted countries. - AREA_OF_INTEREST_ONLY = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/policy_review_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/policy_review_status.proto deleted file mode 100644 index 6e5178e81..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/policy_review_status.proto +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PolicyReviewStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing policy review statuses. - -// Container for enum describing possible policy review statuses. -message PolicyReviewStatusEnum { - // The possible policy review statuses. - enum PolicyReviewStatus { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // Currently under review. - REVIEW_IN_PROGRESS = 2; - - // Primary review complete. Other reviews may be continuing. - REVIEWED = 3; - - // The resource has been resubmitted for approval or its policy decision has - // been appealed. - UNDER_APPEAL = 4; - - // The resource is eligible and may be serving but could still undergo - // further review. - ELIGIBLE_MAY_SERVE = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/policy_topic_entry_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/policy_topic_entry_type.proto deleted file mode 100644 index c24795a0c..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/policy_topic_entry_type.proto +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PolicyTopicEntryTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing policy topic entry types. - -// Container for enum describing possible policy topic entry types. -message PolicyTopicEntryTypeEnum { - // The possible policy topic entry types. - enum PolicyTopicEntryType { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // The resource will not be served. - PROHIBITED = 2; - - // The resource will not be served under some circumstances. - LIMITED = 4; - - // The resource cannot serve at all because of the current targeting - // criteria. - FULLY_LIMITED = 8; - - // May be of interest, but does not limit how the resource is served. - DESCRIPTIVE = 5; - - // Could increase coverage beyond normal. - BROADENING = 6; - - // Constrained for all targeted countries, but may serve in other countries - // through area of interest. - AREA_OF_INTEREST_ONLY = 7; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/policy_topic_evidence_destination_mismatch_url_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/policy_topic_evidence_destination_mismatch_url_type.proto deleted file mode 100644 index 285a1b2a1..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/policy_topic_evidence_destination_mismatch_url_type.proto +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PolicyTopicEvidenceDestinationMismatchUrlTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing policy topic evidence destination mismatch url types. - -// Container for enum describing possible policy topic evidence destination -// mismatch url types. -message PolicyTopicEvidenceDestinationMismatchUrlTypeEnum { - // The possible policy topic evidence destination mismatch url types. - enum PolicyTopicEvidenceDestinationMismatchUrlType { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // The display url. - DISPLAY_URL = 2; - - // The final url. - FINAL_URL = 3; - - // The final mobile url. - FINAL_MOBILE_URL = 4; - - // The tracking url template, with substituted desktop url. - TRACKING_URL = 5; - - // The tracking url template, with substituted mobile url. - MOBILE_TRACKING_URL = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/policy_topic_evidence_destination_not_working_device.proto b/third_party/googleapis/google/ads/googleads/v11/enums/policy_topic_evidence_destination_not_working_device.proto deleted file mode 100644 index f10bdb104..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/policy_topic_evidence_destination_not_working_device.proto +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PolicyTopicEvidenceDestinationNotWorkingDeviceProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing device of destination not working policy topic -// evidence. - -// Container for enum describing possible policy topic evidence destination not -// working devices. -message PolicyTopicEvidenceDestinationNotWorkingDeviceEnum { - // The possible policy topic evidence destination not working devices. - enum PolicyTopicEvidenceDestinationNotWorkingDevice { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // Landing page doesn't work on desktop device. - DESKTOP = 2; - - // Landing page doesn't work on Android device. - ANDROID = 3; - - // Landing page doesn't work on iOS device. - IOS = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto deleted file mode 100644 index 49f9f1d07..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing DNS error types of destination not working policy topic -// evidence. - -// Container for enum describing possible policy topic evidence destination not -// working DNS error types. -message PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum { - // The possible policy topic evidence destination not working DNS error types. - enum PolicyTopicEvidenceDestinationNotWorkingDnsErrorType { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // Host name not found in DNS when fetching landing page. - HOSTNAME_NOT_FOUND = 2; - - // Google internal crawler issue when communicating with DNS. This error - // doesn't mean the landing page doesn't work. Google will recrawl the - // landing page. - GOOGLE_CRAWLER_DNS_ISSUE = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/positive_geo_target_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/positive_geo_target_type.proto deleted file mode 100644 index 810eac1d6..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/positive_geo_target_type.proto +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PositiveGeoTargetTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing positive geo target types. - -// Container for enum describing possible positive geo target types. -message PositiveGeoTargetTypeEnum { - // The possible positive geo target types. - enum PositiveGeoTargetType { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Specifies that an ad is triggered if the user is in, - // or shows interest in, advertiser's targeted locations. - PRESENCE_OR_INTEREST = 5; - - // Specifies that an ad is triggered if the user - // searches for advertiser's targeted locations. - // This can only be used with Search and standard - // Shopping campaigns. - SEARCH_INTEREST = 6; - - // Specifies that an ad is triggered if the user is in - // or regularly in advertiser's targeted locations. - PRESENCE = 7; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/preferred_content_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/preferred_content_type.proto deleted file mode 100644 index 077f015fa..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/preferred_content_type.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PreferredContentTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing preferred content criterion type. - -// Container for enumeration of preferred content criterion type. -message PreferredContentTypeEnum { - // Enumerates preferred content criterion type. - enum PreferredContentType { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Represents top content on YouTube. - YOUTUBE_TOP_CONTENT = 400; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/price_extension_price_qualifier.proto b/third_party/googleapis/google/ads/googleads/v11/enums/price_extension_price_qualifier.proto deleted file mode 100644 index 82b384bea..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/price_extension_price_qualifier.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PriceExtensionPriceQualifierProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing price extension price qualifier type. - -// Container for enum describing a price extension price qualifier. -message PriceExtensionPriceQualifierEnum { - // Enums of price extension price qualifier. - enum PriceExtensionPriceQualifier { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // 'From' qualifier for the price. - FROM = 2; - - // 'Up to' qualifier for the price. - UP_TO = 3; - - // 'Average' qualifier for the price. - AVERAGE = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/price_extension_price_unit.proto b/third_party/googleapis/google/ads/googleads/v11/enums/price_extension_price_unit.proto deleted file mode 100644 index a60014465..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/price_extension_price_unit.proto +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PriceExtensionPriceUnitProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing price extension price unit. - -// Container for enum describing price extension price unit. -message PriceExtensionPriceUnitEnum { - // Price extension price unit. - enum PriceExtensionPriceUnit { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Per hour. - PER_HOUR = 2; - - // Per day. - PER_DAY = 3; - - // Per week. - PER_WEEK = 4; - - // Per month. - PER_MONTH = 5; - - // Per year. - PER_YEAR = 6; - - // Per night. - PER_NIGHT = 7; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/price_extension_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/price_extension_type.proto deleted file mode 100644 index d935652e4..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/price_extension_type.proto +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PriceExtensionTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing price extension type. - -// Container for enum describing types for a price extension. -message PriceExtensionTypeEnum { - // Price extension type. - enum PriceExtensionType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The type for showing a list of brands. - BRANDS = 2; - - // The type for showing a list of events. - EVENTS = 3; - - // The type for showing locations relevant to your business. - LOCATIONS = 4; - - // The type for showing sub-regions or districts within a city or region. - NEIGHBORHOODS = 5; - - // The type for showing a collection of product categories. - PRODUCT_CATEGORIES = 6; - - // The type for showing a collection of related product tiers. - PRODUCT_TIERS = 7; - - // The type for showing a collection of services offered by your business. - SERVICES = 8; - - // The type for showing a collection of service categories. - SERVICE_CATEGORIES = 9; - - // The type for showing a collection of related service tiers. - SERVICE_TIERS = 10; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/price_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v11/enums/price_placeholder_field.proto deleted file mode 100644 index 42204ed6c..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/price_placeholder_field.proto +++ /dev/null @@ -1,246 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PricePlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing Price placeholder fields. - -// Values for Price placeholder fields. -message PricePlaceholderFieldEnum { - // Possible values for Price placeholder fields. - enum PricePlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. The type of your price feed. Must match one of the - // predefined price feed type exactly. - TYPE = 2; - - // Data Type: STRING. The qualifier of each price. Must match one of the - // predefined price qualifiers exactly. - PRICE_QUALIFIER = 3; - - // Data Type: URL. Tracking template for the price feed when using Upgraded - // URLs. - TRACKING_TEMPLATE = 4; - - // Data Type: STRING. Language of the price feed. Must match one of the - // available available locale codes exactly. - LANGUAGE = 5; - - // Data Type: STRING. Final URL suffix for the price feed when using - // parallel tracking. - FINAL_URL_SUFFIX = 6; - - // Data Type: STRING. The header of item 1 of the table. - ITEM_1_HEADER = 100; - - // Data Type: STRING. The description of item 1 of the table. - ITEM_1_DESCRIPTION = 101; - - // Data Type: MONEY. The price (money with currency) of item 1 of the table, - // for example, 30 USD. The currency must match one of the available - // currencies. - ITEM_1_PRICE = 102; - - // Data Type: STRING. The price unit of item 1 of the table. Must match one - // of the predefined price units. - ITEM_1_UNIT = 103; - - // Data Type: URL_LIST. The final URLs of item 1 of the table when using - // Upgraded URLs. - ITEM_1_FINAL_URLS = 104; - - // Data Type: URL_LIST. The final mobile URLs of item 1 of the table when - // using Upgraded URLs. - ITEM_1_FINAL_MOBILE_URLS = 105; - - // Data Type: STRING. The header of item 2 of the table. - ITEM_2_HEADER = 200; - - // Data Type: STRING. The description of item 2 of the table. - ITEM_2_DESCRIPTION = 201; - - // Data Type: MONEY. The price (money with currency) of item 2 of the table, - // for example, 30 USD. The currency must match one of the available - // currencies. - ITEM_2_PRICE = 202; - - // Data Type: STRING. The price unit of item 2 of the table. Must match one - // of the predefined price units. - ITEM_2_UNIT = 203; - - // Data Type: URL_LIST. The final URLs of item 2 of the table when using - // Upgraded URLs. - ITEM_2_FINAL_URLS = 204; - - // Data Type: URL_LIST. The final mobile URLs of item 2 of the table when - // using Upgraded URLs. - ITEM_2_FINAL_MOBILE_URLS = 205; - - // Data Type: STRING. The header of item 3 of the table. - ITEM_3_HEADER = 300; - - // Data Type: STRING. The description of item 3 of the table. - ITEM_3_DESCRIPTION = 301; - - // Data Type: MONEY. The price (money with currency) of item 3 of the table, - // for example, 30 USD. The currency must match one of the available - // currencies. - ITEM_3_PRICE = 302; - - // Data Type: STRING. The price unit of item 3 of the table. Must match one - // of the predefined price units. - ITEM_3_UNIT = 303; - - // Data Type: URL_LIST. The final URLs of item 3 of the table when using - // Upgraded URLs. - ITEM_3_FINAL_URLS = 304; - - // Data Type: URL_LIST. The final mobile URLs of item 3 of the table when - // using Upgraded URLs. - ITEM_3_FINAL_MOBILE_URLS = 305; - - // Data Type: STRING. The header of item 4 of the table. - ITEM_4_HEADER = 400; - - // Data Type: STRING. The description of item 4 of the table. - ITEM_4_DESCRIPTION = 401; - - // Data Type: MONEY. The price (money with currency) of item 4 of the table, - // for example, 30 USD. The currency must match one of the available - // currencies. - ITEM_4_PRICE = 402; - - // Data Type: STRING. The price unit of item 4 of the table. Must match one - // of the predefined price units. - ITEM_4_UNIT = 403; - - // Data Type: URL_LIST. The final URLs of item 4 of the table when using - // Upgraded URLs. - ITEM_4_FINAL_URLS = 404; - - // Data Type: URL_LIST. The final mobile URLs of item 4 of the table when - // using Upgraded URLs. - ITEM_4_FINAL_MOBILE_URLS = 405; - - // Data Type: STRING. The header of item 5 of the table. - ITEM_5_HEADER = 500; - - // Data Type: STRING. The description of item 5 of the table. - ITEM_5_DESCRIPTION = 501; - - // Data Type: MONEY. The price (money with currency) of item 5 of the table, - // for example, 30 USD. The currency must match one of the available - // currencies. - ITEM_5_PRICE = 502; - - // Data Type: STRING. The price unit of item 5 of the table. Must match one - // of the predefined price units. - ITEM_5_UNIT = 503; - - // Data Type: URL_LIST. The final URLs of item 5 of the table when using - // Upgraded URLs. - ITEM_5_FINAL_URLS = 504; - - // Data Type: URL_LIST. The final mobile URLs of item 5 of the table when - // using Upgraded URLs. - ITEM_5_FINAL_MOBILE_URLS = 505; - - // Data Type: STRING. The header of item 6 of the table. - ITEM_6_HEADER = 600; - - // Data Type: STRING. The description of item 6 of the table. - ITEM_6_DESCRIPTION = 601; - - // Data Type: MONEY. The price (money with currency) of item 6 of the table, - // for example, 30 USD. The currency must match one of the available - // currencies. - ITEM_6_PRICE = 602; - - // Data Type: STRING. The price unit of item 6 of the table. Must match one - // of the predefined price units. - ITEM_6_UNIT = 603; - - // Data Type: URL_LIST. The final URLs of item 6 of the table when using - // Upgraded URLs. - ITEM_6_FINAL_URLS = 604; - - // Data Type: URL_LIST. The final mobile URLs of item 6 of the table when - // using Upgraded URLs. - ITEM_6_FINAL_MOBILE_URLS = 605; - - // Data Type: STRING. The header of item 7 of the table. - ITEM_7_HEADER = 700; - - // Data Type: STRING. The description of item 7 of the table. - ITEM_7_DESCRIPTION = 701; - - // Data Type: MONEY. The price (money with currency) of item 7 of the table, - // for example, 30 USD. The currency must match one of the available - // currencies. - ITEM_7_PRICE = 702; - - // Data Type: STRING. The price unit of item 7 of the table. Must match one - // of the predefined price units. - ITEM_7_UNIT = 703; - - // Data Type: URL_LIST. The final URLs of item 7 of the table when using - // Upgraded URLs. - ITEM_7_FINAL_URLS = 704; - - // Data Type: URL_LIST. The final mobile URLs of item 7 of the table when - // using Upgraded URLs. - ITEM_7_FINAL_MOBILE_URLS = 705; - - // Data Type: STRING. The header of item 8 of the table. - ITEM_8_HEADER = 800; - - // Data Type: STRING. The description of item 8 of the table. - ITEM_8_DESCRIPTION = 801; - - // Data Type: MONEY. The price (money with currency) of item 8 of the table, - // for example, 30 USD. The currency must match one of the available - // currencies. - ITEM_8_PRICE = 802; - - // Data Type: STRING. The price unit of item 8 of the table. Must match one - // of the predefined price units. - ITEM_8_UNIT = 803; - - // Data Type: URL_LIST. The final URLs of item 8 of the table when using - // Upgraded URLs. - ITEM_8_FINAL_URLS = 804; - - // Data Type: URL_LIST. The final mobile URLs of item 8 of the table when - // using Upgraded URLs. - ITEM_8_FINAL_MOBILE_URLS = 805; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/product_bidding_category_level.proto b/third_party/googleapis/google/ads/googleads/v11/enums/product_bidding_category_level.proto deleted file mode 100644 index 64c94782b..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/product_bidding_category_level.proto +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ProductBiddingCategoryLevelProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Level of a product bidding category. -message ProductBiddingCategoryLevelEnum { - // Enum describing the level of the product bidding category. - enum ProductBiddingCategoryLevel { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Level 1. - LEVEL1 = 2; - - // Level 2. - LEVEL2 = 3; - - // Level 3. - LEVEL3 = 4; - - // Level 4. - LEVEL4 = 5; - - // Level 5. - LEVEL5 = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/product_bidding_category_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/product_bidding_category_status.proto deleted file mode 100644 index ef621f9be..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/product_bidding_category_status.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ProductBiddingCategoryStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing bidding schemes. - -// Status of the product bidding category. -message ProductBiddingCategoryStatusEnum { - // Enum describing the status of the product bidding category. - enum ProductBiddingCategoryStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The category is active and can be used for bidding. - ACTIVE = 2; - - // The category is obsolete. Used only for reporting purposes. - OBSOLETE = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/product_channel.proto b/third_party/googleapis/google/ads/googleads/v11/enums/product_channel.proto deleted file mode 100644 index fa9a24b50..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/product_channel.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ProductChannelProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing bidding schemes. - -// Locality of a product offer. -message ProductChannelEnum { - // Enum describing the locality of a product offer. - enum ProductChannel { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The item is sold online. - ONLINE = 2; - - // The item is sold in local stores. - LOCAL = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/product_channel_exclusivity.proto b/third_party/googleapis/google/ads/googleads/v11/enums/product_channel_exclusivity.proto deleted file mode 100644 index 4d2f7c54b..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/product_channel_exclusivity.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ProductChannelExclusivityProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing bidding schemes. - -// Availability of a product offer. -message ProductChannelExclusivityEnum { - // Enum describing the availability of a product offer. - enum ProductChannelExclusivity { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The item is sold through one channel only, either local stores or online - // as indicated by its ProductChannel. - SINGLE_CHANNEL = 2; - - // The item is matched to its online or local stores counterpart, indicating - // it is available for purchase in both ShoppingProductChannels. - MULTI_CHANNEL = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/product_condition.proto b/third_party/googleapis/google/ads/googleads/v11/enums/product_condition.proto deleted file mode 100644 index 29567f774..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/product_condition.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ProductConditionProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing bidding schemes. - -// Condition of a product offer. -message ProductConditionEnum { - // Enum describing the condition of a product offer. - enum ProductCondition { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The product condition is new. - NEW = 3; - - // The product condition is refurbished. - REFURBISHED = 4; - - // The product condition is used. - USED = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/product_custom_attribute_index.proto b/third_party/googleapis/google/ads/googleads/v11/enums/product_custom_attribute_index.proto deleted file mode 100644 index ec854edab..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/product_custom_attribute_index.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ProductCustomAttributeIndexProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing product custom attributes. - -// Container for enum describing the index of the product custom attribute. -message ProductCustomAttributeIndexEnum { - // The index of the product custom attribute. - enum ProductCustomAttributeIndex { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // First product custom attribute. - INDEX0 = 7; - - // Second product custom attribute. - INDEX1 = 8; - - // Third product custom attribute. - INDEX2 = 9; - - // Fourth product custom attribute. - INDEX3 = 10; - - // Fifth product custom attribute. - INDEX4 = 11; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/product_type_level.proto b/third_party/googleapis/google/ads/googleads/v11/enums/product_type_level.proto deleted file mode 100644 index 785275eca..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/product_type_level.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ProductTypeLevelProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing bidding schemes. - -// Level of the type of a product offer. -message ProductTypeLevelEnum { - // Enum describing the level of the type of a product offer. - enum ProductTypeLevel { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Level 1. - LEVEL1 = 7; - - // Level 2. - LEVEL2 = 8; - - // Level 3. - LEVEL3 = 9; - - // Level 4. - LEVEL4 = 10; - - // Level 5. - LEVEL5 = 11; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/promotion_extension_discount_modifier.proto b/third_party/googleapis/google/ads/googleads/v11/enums/promotion_extension_discount_modifier.proto deleted file mode 100644 index fd4862282..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/promotion_extension_discount_modifier.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PromotionExtensionDiscountModifierProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing promotion extension discount modifier. - -// Container for enum describing possible a promotion extension -// discount modifier. -message PromotionExtensionDiscountModifierEnum { - // A promotion extension discount modifier. - enum PromotionExtensionDiscountModifier { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // 'Up to'. - UP_TO = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/promotion_extension_occasion.proto b/third_party/googleapis/google/ads/googleads/v11/enums/promotion_extension_occasion.proto deleted file mode 100644 index f87029c36..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/promotion_extension_occasion.proto +++ /dev/null @@ -1,155 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PromotionExtensionOccasionProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing promotion extension occasion. - -// Container for enum describing a promotion extension occasion. -// For more information about the occasions check: -// https://support.google.com/google-ads/answer/7367521 -message PromotionExtensionOccasionEnum { - // A promotion extension occasion. - enum PromotionExtensionOccasion { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // New Year's. - NEW_YEARS = 2; - - // Chinese New Year. - CHINESE_NEW_YEAR = 3; - - // Valentine's Day. - VALENTINES_DAY = 4; - - // Easter. - EASTER = 5; - - // Mother's Day. - MOTHERS_DAY = 6; - - // Father's Day. - FATHERS_DAY = 7; - - // Labor Day. - LABOR_DAY = 8; - - // Back To School. - BACK_TO_SCHOOL = 9; - - // Halloween. - HALLOWEEN = 10; - - // Black Friday. - BLACK_FRIDAY = 11; - - // Cyber Monday. - CYBER_MONDAY = 12; - - // Christmas. - CHRISTMAS = 13; - - // Boxing Day. - BOXING_DAY = 14; - - // Independence Day in any country. - INDEPENDENCE_DAY = 15; - - // National Day in any country. - NATIONAL_DAY = 16; - - // End of any season. - END_OF_SEASON = 17; - - // Winter Sale. - WINTER_SALE = 18; - - // Summer sale. - SUMMER_SALE = 19; - - // Fall Sale. - FALL_SALE = 20; - - // Spring Sale. - SPRING_SALE = 21; - - // Ramadan. - RAMADAN = 22; - - // Eid al-Fitr. - EID_AL_FITR = 23; - - // Eid al-Adha. - EID_AL_ADHA = 24; - - // Singles Day. - SINGLES_DAY = 25; - - // Women's Day. - WOMENS_DAY = 26; - - // Holi. - HOLI = 27; - - // Parent's Day. - PARENTS_DAY = 28; - - // St. Nicholas Day. - ST_NICHOLAS_DAY = 29; - - // Carnival. - CARNIVAL = 30; - - // Epiphany, also known as Three Kings' Day. - EPIPHANY = 31; - - // Rosh Hashanah. - ROSH_HASHANAH = 32; - - // Passover. - PASSOVER = 33; - - // Hanukkah. - HANUKKAH = 34; - - // Diwali. - DIWALI = 35; - - // Navratri. - NAVRATRI = 36; - - // Available in Thai: Songkran. - SONGKRAN = 37; - - // Available in Japanese: Year-end Gift. - YEAR_END_GIFT = 38; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/promotion_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v11/enums/promotion_placeholder_field.proto deleted file mode 100644 index 5ef8e52eb..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/promotion_placeholder_field.proto +++ /dev/null @@ -1,93 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PromotionPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing Promotion placeholder fields. - -// Values for Promotion placeholder fields. -message PromotionPlaceholderFieldEnum { - // Possible values for Promotion placeholder fields. - enum PromotionPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. The text that appears on the ad when the extension is - // shown. - PROMOTION_TARGET = 2; - - // Data Type: STRING. Lets you add "up to" phrase to the promotion, - // in case you have variable promotion rates. - DISCOUNT_MODIFIER = 3; - - // Data Type: INT64. Takes a value in micros, where 1 million micros - // represents 1%, and is shown as a percentage when rendered. - PERCENT_OFF = 4; - - // Data Type: MONEY. Requires a currency and an amount of money. - MONEY_AMOUNT_OFF = 5; - - // Data Type: STRING. A string that the user enters to get the discount. - PROMOTION_CODE = 6; - - // Data Type: MONEY. A minimum spend before the user qualifies for the - // promotion. - ORDERS_OVER_AMOUNT = 7; - - // Data Type: DATE. The start date of the promotion. - PROMOTION_START = 8; - - // Data Type: DATE. The end date of the promotion. - PROMOTION_END = 9; - - // Data Type: STRING. Describes the associated event for the promotion using - // one of the PromotionExtensionOccasion enum values, for example NEW_YEARS. - OCCASION = 10; - - // Data Type: URL_LIST. Final URLs to be used in the ad when using Upgraded - // URLs. - FINAL_URLS = 11; - - // Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - // URLs. - FINAL_MOBILE_URLS = 12; - - // Data Type: URL. Tracking template for the ad when using Upgraded URLs. - TRACKING_URL = 13; - - // Data Type: STRING. A string represented by a language code for the - // promotion. - LANGUAGE = 14; - - // Data Type: STRING. Final URL suffix for the ad when using parallel - // tracking. - FINAL_URL_SUFFIX = 15; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/proximity_radius_units.proto b/third_party/googleapis/google/ads/googleads/v11/enums/proximity_radius_units.proto deleted file mode 100644 index 6cd50a444..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/proximity_radius_units.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ProximityRadiusUnitsProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing proximity radius units. - -// Container for enum describing unit of radius in proximity. -message ProximityRadiusUnitsEnum { - // The unit of radius distance in proximity (for example, MILES) - enum ProximityRadiusUnits { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Miles - MILES = 2; - - // Kilometers - KILOMETERS = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/quality_score_bucket.proto b/third_party/googleapis/google/ads/googleads/v11/enums/quality_score_bucket.proto deleted file mode 100644 index e2f3554d9..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/quality_score_bucket.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "QualityScoreBucketProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing quality score buckets. - -// The relative performance compared to other advertisers. -message QualityScoreBucketEnum { - // Enum listing the possible quality score buckets. - enum QualityScoreBucket { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Quality of the creative is below average. - BELOW_AVERAGE = 2; - - // Quality of the creative is average. - AVERAGE = 3; - - // Quality of the creative is above average. - ABOVE_AVERAGE = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/reach_plan_ad_length.proto b/third_party/googleapis/google/ads/googleads/v11/enums/reach_plan_ad_length.proto deleted file mode 100644 index 03b9e185a..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/reach_plan_ad_length.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ReachPlanAdLengthProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing ad lengths of a plannable video ad. - -// Message describing length of a plannable video ad. -message ReachPlanAdLengthEnum { - // Possible ad length values. - enum ReachPlanAdLength { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // 6 seconds long ad. - SIX_SECONDS = 2; - - // 15 or 20 seconds long ad. - FIFTEEN_OR_TWENTY_SECONDS = 3; - - // More than 20 seconds long ad. - TWENTY_SECONDS_OR_MORE = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/reach_plan_age_range.proto b/third_party/googleapis/google/ads/googleads/v11/enums/reach_plan_age_range.proto deleted file mode 100644 index dba2d4ddb..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/reach_plan_age_range.proto +++ /dev/null @@ -1,120 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ReachPlanAgeRangeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing a plannable age range. - -// Message describing plannable age ranges. -message ReachPlanAgeRangeEnum { - // Possible plannable age range values. - enum ReachPlanAgeRange { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Between 18 and 24 years old. - AGE_RANGE_18_24 = 503001; - - // Between 18 and 34 years old. - AGE_RANGE_18_34 = 2; - - // Between 18 and 44 years old. - AGE_RANGE_18_44 = 3; - - // Between 18 and 49 years old. - AGE_RANGE_18_49 = 4; - - // Between 18 and 54 years old. - AGE_RANGE_18_54 = 5; - - // Between 18 and 64 years old. - AGE_RANGE_18_64 = 6; - - // Between 18 and 65+ years old. - AGE_RANGE_18_65_UP = 7; - - // Between 21 and 34 years old. - AGE_RANGE_21_34 = 8; - - // Between 25 and 34 years old. - AGE_RANGE_25_34 = 503002; - - // Between 25 and 44 years old. - AGE_RANGE_25_44 = 9; - - // Between 25 and 49 years old. - AGE_RANGE_25_49 = 10; - - // Between 25 and 54 years old. - AGE_RANGE_25_54 = 11; - - // Between 25 and 64 years old. - AGE_RANGE_25_64 = 12; - - // Between 25 and 65+ years old. - AGE_RANGE_25_65_UP = 13; - - // Between 35 and 44 years old. - AGE_RANGE_35_44 = 503003; - - // Between 35 and 49 years old. - AGE_RANGE_35_49 = 14; - - // Between 35 and 54 years old. - AGE_RANGE_35_54 = 15; - - // Between 35 and 64 years old. - AGE_RANGE_35_64 = 16; - - // Between 35 and 65+ years old. - AGE_RANGE_35_65_UP = 17; - - // Between 45 and 54 years old. - AGE_RANGE_45_54 = 503004; - - // Between 45 and 64 years old. - AGE_RANGE_45_64 = 18; - - // Between 45 and 65+ years old. - AGE_RANGE_45_65_UP = 19; - - // Between 50 and 65+ years old. - AGE_RANGE_50_65_UP = 20; - - // Between 55 and 64 years old. - AGE_RANGE_55_64 = 503005; - - // Between 55 and 65+ years old. - AGE_RANGE_55_65_UP = 21; - - // 65 years old and beyond. - AGE_RANGE_65_UP = 503006; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/reach_plan_network.proto b/third_party/googleapis/google/ads/googleads/v11/enums/reach_plan_network.proto deleted file mode 100644 index 349201c3f..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/reach_plan_network.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ReachPlanNetworkProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing a plannable network. - -// Container for enum describing plannable networks. -message ReachPlanNetworkEnum { - // Possible plannable network values. - enum ReachPlanNetwork { - // Not specified. - UNSPECIFIED = 0; - - // Used as a return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // YouTube network. - YOUTUBE = 2; - - // Google Video Partners (GVP) network. - GOOGLE_VIDEO_PARTNERS = 3; - - // A combination of the YouTube network and the Google Video Partners - // network. - YOUTUBE_AND_GOOGLE_VIDEO_PARTNERS = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/real_estate_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v11/enums/real_estate_placeholder_field.proto deleted file mode 100644 index c305a8688..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/real_estate_placeholder_field.proto +++ /dev/null @@ -1,113 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "RealEstatePlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing Real Estate placeholder fields. - -// Values for Real Estate placeholder fields. -// For more information about dynamic remarketing feeds, see -// https://support.google.com/google-ads/answer/6053288. -message RealEstatePlaceholderFieldEnum { - // Possible values for Real Estate placeholder fields. - enum RealEstatePlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. Unique ID. - LISTING_ID = 2; - - // Data Type: STRING. Main headline with listing name to be shown in dynamic - // ad. - LISTING_NAME = 3; - - // Data Type: STRING. City name to be shown in dynamic ad. - CITY_NAME = 4; - - // Data Type: STRING. Description of listing to be shown in dynamic ad. - DESCRIPTION = 5; - - // Data Type: STRING. Complete listing address, including postal code. - ADDRESS = 6; - - // Data Type: STRING. Price to be shown in the ad. - // Example: "100.00 USD" - PRICE = 7; - - // Data Type: STRING. Formatted price to be shown in the ad. - // Example: "Starting at $100.00 USD", "$80 - $100" - FORMATTED_PRICE = 8; - - // Data Type: URL. Image to be displayed in the ad. - IMAGE_URL = 9; - - // Data Type: STRING. Type of property (house, condo, apartment, etc.) used - // to group like items together for recommendation engine. - PROPERTY_TYPE = 10; - - // Data Type: STRING. Type of listing (resale, rental, foreclosure, etc.) - // used to group like items together for recommendation engine. - LISTING_TYPE = 11; - - // Data Type: STRING_LIST. Keywords used for product retrieval. - CONTEXTUAL_KEYWORDS = 12; - - // Data Type: URL_LIST. Final URLs to be used in ad when using Upgraded - // URLs; the more specific the better (for example, the individual URL of a - // specific listing and its location). - FINAL_URLS = 13; - - // Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - // URLs. - FINAL_MOBILE_URLS = 14; - - // Data Type: URL. Tracking template for the ad when using Upgraded URLs. - TRACKING_URL = 15; - - // Data Type: STRING. Android app link. Must be formatted as: - // android-app://{package_id}/{scheme}/{host_path}. - // The components are defined as follows: - // package_id: app ID as specified in Google Play. - // scheme: the scheme to pass to the application. Can be HTTP, or a custom - // scheme. - // host_path: identifies the specific content within your application. - ANDROID_APP_LINK = 16; - - // Data Type: STRING_LIST. List of recommended listing IDs to show together - // with this item. - SIMILAR_LISTING_IDS = 17; - - // Data Type: STRING. iOS app link. - IOS_APP_LINK = 18; - - // Data Type: INT64. iOS app store ID. - IOS_APP_STORE_ID = 19; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/recommendation_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/recommendation_type.proto deleted file mode 100644 index 955cf2706..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/recommendation_type.proto +++ /dev/null @@ -1,131 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "RecommendationTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing Recommendation types. - -// Container for enum describing types of recommendations. -message RecommendationTypeEnum { - // Types of recommendations. - enum RecommendationType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Budget recommendation for campaigns that are currently budget-constrained - // (as opposed to the FORECASTING_CAMPAIGN_BUDGET recommendation, which - // applies to campaigns that are expected to become budget-constrained in - // the future). - CAMPAIGN_BUDGET = 2; - - // Keyword recommendation. - KEYWORD = 3; - - // Recommendation to add a new text ad. - TEXT_AD = 4; - - // Recommendation to update a campaign to use a Target CPA bidding strategy. - TARGET_CPA_OPT_IN = 5; - - // Recommendation to update a campaign to use the Maximize Conversions - // bidding strategy. - MAXIMIZE_CONVERSIONS_OPT_IN = 6; - - // Recommendation to enable Enhanced Cost Per Click for a campaign. - ENHANCED_CPC_OPT_IN = 7; - - // Recommendation to start showing your campaign's ads on Google Search - // Partners Websites. - SEARCH_PARTNERS_OPT_IN = 8; - - // Recommendation to update a campaign to use a Maximize Clicks bidding - // strategy. - MAXIMIZE_CLICKS_OPT_IN = 9; - - // Recommendation to start using the "Optimize" ad rotation setting for the - // given ad group. - OPTIMIZE_AD_ROTATION = 10; - - // Recommendation to add callout extensions to a campaign. - CALLOUT_EXTENSION = 11; - - // Recommendation to add sitelink extensions to a campaign. - SITELINK_EXTENSION = 12; - - // Recommendation to add call extensions to a campaign. - CALL_EXTENSION = 13; - - // Recommendation to change an existing keyword from one match type to a - // broader match type. - KEYWORD_MATCH_TYPE = 14; - - // Recommendation to move unused budget from one budget to a constrained - // budget. - MOVE_UNUSED_BUDGET = 15; - - // Budget recommendation for campaigns that are expected to become - // budget-constrained in the future (as opposed to the CAMPAIGN_BUDGET - // recommendation, which applies to campaigns that are currently - // budget-constrained). - FORECASTING_CAMPAIGN_BUDGET = 16; - - // Recommendation to update a campaign to use a Target ROAS bidding - // strategy. - TARGET_ROAS_OPT_IN = 17; - - // Recommendation to add a new responsive search ad. - RESPONSIVE_SEARCH_AD = 18; - - // Budget recommendation for campaigns whose ROI is predicted to increase - // with a budget adjustment. - MARGINAL_ROI_CAMPAIGN_BUDGET = 19; - - // Recommendation to expand keywords to broad match for fully automated - // conversion-based bidding campaigns. - USE_BROAD_MATCH_KEYWORD = 20; - - // Recommendation to add new responsive search ad assets. - RESPONSIVE_SEARCH_AD_ASSET = 21; - - // Recommendation to upgrade a Smart Shopping campaign to a Performance Max - // campaign. - UPGRADE_SMART_SHOPPING_CAMPAIGN_TO_PERFORMANCE_MAX = 22; - - // Recommendation to improve strength of responsive search ad. - RESPONSIVE_SEARCH_AD_IMPROVE_AD_STRENGTH = 23; - - // Recommendation to update a campaign to use Display Expansion. - DISPLAY_EXPANSION_OPT_IN = 24; - - // Recommendation to upgrade a Local campaign to a Performance Max - // campaign. - UPGRADE_LOCAL_CAMPAIGN_TO_PERFORMANCE_MAX = 25; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/resource_change_operation.proto b/third_party/googleapis/google/ads/googleads/v11/enums/resource_change_operation.proto deleted file mode 100644 index a1726407b..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/resource_change_operation.proto +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ResourceChangeOperationProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing the resource change operations in change event. - -// Container for enum describing resource change operations -// in the ChangeEvent resource. -message ResourceChangeOperationEnum { - // The operation on the changed resource in change_event resource. - enum ResourceChangeOperation { - // No value has been specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents an unclassified operation unknown - // in this version. - UNKNOWN = 1; - - // The resource was created. - CREATE = 2; - - // The resource was modified. - UPDATE = 3; - - // The resource was removed. - REMOVE = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/resource_limit_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/resource_limit_type.proto deleted file mode 100644 index 48dc770fa..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/resource_limit_type.proto +++ /dev/null @@ -1,461 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ResourceLimitTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Container for enum describing possible resource limit types. -message ResourceLimitTypeEnum { - // Resource limit type. - enum ResourceLimitType { - // No value has been specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents an unclassified operation unknown - // in this version. - UNKNOWN = 1; - - // Number of ENABLED and PAUSED campaigns per customer. - CAMPAIGNS_PER_CUSTOMER = 2; - - // Number of ENABLED and PAUSED base campaigns per customer. - BASE_CAMPAIGNS_PER_CUSTOMER = 3; - - // Number of ENABLED and PAUSED experiment campaigns per customer. - EXPERIMENT_CAMPAIGNS_PER_CUSTOMER = 105; - - // Number of ENABLED and PAUSED Hotel campaigns per customer. - HOTEL_CAMPAIGNS_PER_CUSTOMER = 4; - - // Number of ENABLED and PAUSED Smart Shopping campaigns per customer. - SMART_SHOPPING_CAMPAIGNS_PER_CUSTOMER = 5; - - // Number of ENABLED ad groups per campaign. - AD_GROUPS_PER_CAMPAIGN = 6; - - // Number of ENABLED ad groups per Shopping campaign. - AD_GROUPS_PER_SHOPPING_CAMPAIGN = 8; - - // Number of ENABLED ad groups per Hotel campaign. - AD_GROUPS_PER_HOTEL_CAMPAIGN = 9; - - // Number of ENABLED reporting ad groups per local campaign. - REPORTING_AD_GROUPS_PER_LOCAL_CAMPAIGN = 10; - - // Number of ENABLED reporting ad groups per App campaign. It includes app - // campaign and app campaign for engagement. - REPORTING_AD_GROUPS_PER_APP_CAMPAIGN = 11; - - // Number of ENABLED managed ad groups per smart campaign. - MANAGED_AD_GROUPS_PER_SMART_CAMPAIGN = 52; - - // Number of ENABLED ad group criteria per customer. - // An ad group criterion is considered as ENABLED if: - // 1. it's not REMOVED - // 2. its ad group is not REMOVED - // 3. its campaign is not REMOVED. - AD_GROUP_CRITERIA_PER_CUSTOMER = 12; - - // Number of ad group criteria across all base campaigns for a customer. - BASE_AD_GROUP_CRITERIA_PER_CUSTOMER = 13; - - // Number of ad group criteria across all experiment campaigns for a - // customer. - EXPERIMENT_AD_GROUP_CRITERIA_PER_CUSTOMER = 107; - - // Number of ENABLED ad group criteria per campaign. - // An ad group criterion is considered as ENABLED if: - // 1. it's not REMOVED - // 2. its ad group is not REMOVED. - AD_GROUP_CRITERIA_PER_CAMPAIGN = 14; - - // Number of ENABLED campaign criteria per customer. - CAMPAIGN_CRITERIA_PER_CUSTOMER = 15; - - // Number of ENABLED campaign criteria across all base campaigns for a - // customer. - BASE_CAMPAIGN_CRITERIA_PER_CUSTOMER = 16; - - // Number of ENABLED campaign criteria across all experiment campaigns for a - // customer. - EXPERIMENT_CAMPAIGN_CRITERIA_PER_CUSTOMER = 108; - - // Number of ENABLED webpage criteria per customer, including - // campaign level and ad group level. - WEBPAGE_CRITERIA_PER_CUSTOMER = 17; - - // Number of ENABLED webpage criteria across all base campaigns for - // a customer. - BASE_WEBPAGE_CRITERIA_PER_CUSTOMER = 18; - - // Meximum number of ENABLED webpage criteria across all experiment - // campaigns for a customer. - EXPERIMENT_WEBPAGE_CRITERIA_PER_CUSTOMER = 19; - - // Number of combined audience criteria per ad group. - COMBINED_AUDIENCE_CRITERIA_PER_AD_GROUP = 20; - - // Limit for placement criterion type group in customer negative criterion. - CUSTOMER_NEGATIVE_PLACEMENT_CRITERIA_PER_CUSTOMER = 21; - - // Limit for YouTube TV channels in customer negative criterion. - CUSTOMER_NEGATIVE_YOUTUBE_CHANNEL_CRITERIA_PER_CUSTOMER = 22; - - // Number of ENABLED criteria per ad group. - CRITERIA_PER_AD_GROUP = 23; - - // Number of listing group criteria per ad group. - LISTING_GROUPS_PER_AD_GROUP = 24; - - // Number of ENABLED explicitly shared budgets per customer. - EXPLICITLY_SHARED_BUDGETS_PER_CUSTOMER = 25; - - // Number of ENABLED implicitly shared budgets per customer. - IMPLICITLY_SHARED_BUDGETS_PER_CUSTOMER = 26; - - // Number of combined audience criteria per campaign. - COMBINED_AUDIENCE_CRITERIA_PER_CAMPAIGN = 27; - - // Number of negative keywords per campaign. - NEGATIVE_KEYWORDS_PER_CAMPAIGN = 28; - - // Number of excluded campaign criteria in placement dimension, for example, - // placement, mobile application, YouTube channel, etc. The API criterion - // type is NOT limited to placement only, and this does not include - // exclusions at the ad group or other levels. - NEGATIVE_PLACEMENTS_PER_CAMPAIGN = 29; - - // Number of geo targets per campaign. - GEO_TARGETS_PER_CAMPAIGN = 30; - - // Number of negative IP blocks per campaign. - NEGATIVE_IP_BLOCKS_PER_CAMPAIGN = 32; - - // Number of proximity targets per campaign. - PROXIMITIES_PER_CAMPAIGN = 33; - - // Number of listing scopes per Shopping campaign. - LISTING_SCOPES_PER_SHOPPING_CAMPAIGN = 34; - - // Number of listing scopes per non-Shopping campaign. - LISTING_SCOPES_PER_NON_SHOPPING_CAMPAIGN = 35; - - // Number of criteria per negative keyword shared set. - NEGATIVE_KEYWORDS_PER_SHARED_SET = 36; - - // Number of criteria per negative placement shared set. - NEGATIVE_PLACEMENTS_PER_SHARED_SET = 37; - - // Default number of shared sets allowed per type per customer. - SHARED_SETS_PER_CUSTOMER_FOR_TYPE_DEFAULT = 40; - - // Number of shared sets of negative placement list type for a - // manager customer. - SHARED_SETS_PER_CUSTOMER_FOR_NEGATIVE_PLACEMENT_LIST_LOWER = 41; - - // Number of hotel_advance_booking_window bid modifiers per ad group. - HOTEL_ADVANCE_BOOKING_WINDOW_BID_MODIFIERS_PER_AD_GROUP = 44; - - // Number of ENABLED shared bidding strategies per customer. - BIDDING_STRATEGIES_PER_CUSTOMER = 45; - - // Number of open basic user lists per customer. - BASIC_USER_LISTS_PER_CUSTOMER = 47; - - // Number of open logical user lists per customer. - LOGICAL_USER_LISTS_PER_CUSTOMER = 48; - - // Number of open rule based user lists per customer. - RULE_BASED_USER_LISTS_PER_CUSTOMER = 153; - - // Number of ENABLED and PAUSED ad group ads across all base campaigns for a - // customer. - BASE_AD_GROUP_ADS_PER_CUSTOMER = 53; - - // Number of ENABLED and PAUSED ad group ads across all experiment campaigns - // for a customer. - EXPERIMENT_AD_GROUP_ADS_PER_CUSTOMER = 54; - - // Number of ENABLED and PAUSED ad group ads per campaign. - AD_GROUP_ADS_PER_CAMPAIGN = 55; - - // Number of ENABLED ads per ad group that do not fall in to other buckets. - // Includes text and many other types. - TEXT_AND_OTHER_ADS_PER_AD_GROUP = 56; - - // Number of ENABLED image ads per ad group. - IMAGE_ADS_PER_AD_GROUP = 57; - - // Number of ENABLED shopping smart ads per ad group. - SHOPPING_SMART_ADS_PER_AD_GROUP = 58; - - // Number of ENABLED responsive search ads per ad group. - RESPONSIVE_SEARCH_ADS_PER_AD_GROUP = 59; - - // Number of ENABLED app ads per ad group. - APP_ADS_PER_AD_GROUP = 60; - - // Number of ENABLED app engagement ads per ad group. - APP_ENGAGEMENT_ADS_PER_AD_GROUP = 61; - - // Number of ENABLED local ads per ad group. - LOCAL_ADS_PER_AD_GROUP = 62; - - // Number of ENABLED video ads per ad group. - VIDEO_ADS_PER_AD_GROUP = 63; - - // Number of ENABLED lead form CampaignAssets per campaign. - LEAD_FORM_CAMPAIGN_ASSETS_PER_CAMPAIGN = 143; - - // Number of ENABLED promotion CustomerAssets per customer. - PROMOTION_CUSTOMER_ASSETS_PER_CUSTOMER = 79; - - // Number of ENABLED promotion CampaignAssets per campaign. - PROMOTION_CAMPAIGN_ASSETS_PER_CAMPAIGN = 80; - - // Number of ENABLED promotion AdGroupAssets per ad group. - PROMOTION_AD_GROUP_ASSETS_PER_AD_GROUP = 81; - - // Number of ENABLED callout CustomerAssets per customer. - CALLOUT_CUSTOMER_ASSETS_PER_CUSTOMER = 134; - - // Number of ENABLED callout CampaignAssets per campaign. - CALLOUT_CAMPAIGN_ASSETS_PER_CAMPAIGN = 135; - - // Number of ENABLED callout AdGroupAssets per ad group. - CALLOUT_AD_GROUP_ASSETS_PER_AD_GROUP = 136; - - // Number of ENABLED sitelink CustomerAssets per customer. - SITELINK_CUSTOMER_ASSETS_PER_CUSTOMER = 137; - - // Number of ENABLED sitelink CampaignAssets per campaign. - SITELINK_CAMPAIGN_ASSETS_PER_CAMPAIGN = 138; - - // Number of ENABLED sitelink AdGroupAssets per ad group. - SITELINK_AD_GROUP_ASSETS_PER_AD_GROUP = 139; - - // Number of ENABLED structured snippet CustomerAssets per customer. - STRUCTURED_SNIPPET_CUSTOMER_ASSETS_PER_CUSTOMER = 140; - - // Number of ENABLED structured snippet CampaignAssets per campaign. - STRUCTURED_SNIPPET_CAMPAIGN_ASSETS_PER_CAMPAIGN = 141; - - // Number of ENABLED structured snippet AdGroupAssets per ad group. - STRUCTURED_SNIPPET_AD_GROUP_ASSETS_PER_AD_GROUP = 142; - - // Number of ENABLED mobile app CustomerAssets per customer. - MOBILE_APP_CUSTOMER_ASSETS_PER_CUSTOMER = 144; - - // Number of ENABLED mobile app CampaignAssets per campaign. - MOBILE_APP_CAMPAIGN_ASSETS_PER_CAMPAIGN = 145; - - // Number of ENABLED mobile app AdGroupAssets per ad group. - MOBILE_APP_AD_GROUP_ASSETS_PER_AD_GROUP = 146; - - // Number of ENABLED hotel callout CustomerAssets per customer. - HOTEL_CALLOUT_CUSTOMER_ASSETS_PER_CUSTOMER = 147; - - // Number of ENABLED hotel callout CampaignAssets per campaign. - HOTEL_CALLOUT_CAMPAIGN_ASSETS_PER_CAMPAIGN = 148; - - // Number of ENABLED hotel callout AdGroupAssets per ad group. - HOTEL_CALLOUT_AD_GROUP_ASSETS_PER_AD_GROUP = 149; - - // Number of ENABLED call CustomerAssets per customer. - CALL_CUSTOMER_ASSETS_PER_CUSTOMER = 150; - - // Number of ENABLED call CampaignAssets per campaign. - CALL_CAMPAIGN_ASSETS_PER_CAMPAIGN = 151; - - // Number of ENABLED call AdGroupAssets per ad group. - CALL_AD_GROUP_ASSETS_PER_AD_GROUP = 152; - - // Number of ENABLED price CustomerAssets per customer. - PRICE_CUSTOMER_ASSETS_PER_CUSTOMER = 154; - - // Number of ENABLED price CampaignAssets per campaign. - PRICE_CAMPAIGN_ASSETS_PER_CAMPAIGN = 155; - - // Number of ENABLED price AdGroupAssets per ad group. - PRICE_AD_GROUP_ASSETS_PER_AD_GROUP = 156; - - // Number of ENABLED page feed asset sets per customer. - PAGE_FEED_ASSET_SETS_PER_CUSTOMER = 157; - - // Number of ENABLED dynamic education feed asset sets per customer. - DYNAMIC_EDUCATION_FEED_ASSET_SETS_PER_CUSTOMER = 158; - - // Number of ENABLED assets per page feed asset set. - ASSETS_PER_PAGE_FEED_ASSET_SET = 159; - - // Number of ENABLED assets per dynamic education asset set. - ASSETS_PER_DYNAMIC_EDUCATION_FEED_ASSET_SET = 160; - - // Number of ENABLED dynamic real estate asset sets per customer. - DYNAMIC_REAL_ESTATE_ASSET_SETS_PER_CUSTOMER = 161; - - // Number of ENABLED assets per dynamic real estate asset set. - ASSETS_PER_DYNAMIC_REAL_ESTATE_ASSET_SET = 162; - - // Number of ENABLED dynamic custom asset sets per customer. - DYNAMIC_CUSTOM_ASSET_SETS_PER_CUSTOMER = 163; - - // Number of ENABLED assets per dynamic custom asset set. - ASSETS_PER_DYNAMIC_CUSTOM_ASSET_SET = 164; - - // Number of ENABLED dynamic hotels and rentals asset sets per - // customer. - DYNAMIC_HOTELS_AND_RENTALS_ASSET_SETS_PER_CUSTOMER = 165; - - // Number of ENABLED assets per dynamic hotels and rentals asset set. - ASSETS_PER_DYNAMIC_HOTELS_AND_RENTALS_ASSET_SET = 166; - - // Number of ENABLED dynamic local asset sets per customer. - DYNAMIC_LOCAL_ASSET_SETS_PER_CUSTOMER = 167; - - // Number of ENABLED assets per dynamic local asset set. - ASSETS_PER_DYNAMIC_LOCAL_ASSET_SET = 168; - - // Number of ENABLED dynamic flights asset sets per customer. - DYNAMIC_FLIGHTS_ASSET_SETS_PER_CUSTOMER = 169; - - // Number of ENABLED assets per dynamic flights asset set. - ASSETS_PER_DYNAMIC_FLIGHTS_ASSET_SET = 170; - - // Number of ENABLED dynamic travel asset sets per customer. - DYNAMIC_TRAVEL_ASSET_SETS_PER_CUSTOMER = 171; - - // Number of ENABLED assets per dynamic travel asset set. - ASSETS_PER_DYNAMIC_TRAVEL_ASSET_SET = 172; - - // Number of ENABLED dynamic jobs asset sets per customer. - DYNAMIC_JOBS_ASSET_SETS_PER_CUSTOMER = 173; - - // Number of ENABLED assets per dynamic jobs asset set. - ASSETS_PER_DYNAMIC_JOBS_ASSET_SET = 174; - - // Number of versions per ad. - VERSIONS_PER_AD = 82; - - // Number of ENABLED user feeds per customer. - USER_FEEDS_PER_CUSTOMER = 90; - - // Number of ENABLED system feeds per customer. - SYSTEM_FEEDS_PER_CUSTOMER = 91; - - // Number of feed attributes per feed. - FEED_ATTRIBUTES_PER_FEED = 92; - - // Number of ENABLED feed items per customer. - FEED_ITEMS_PER_CUSTOMER = 94; - - // Number of ENABLED campaign feeds per customer. - CAMPAIGN_FEEDS_PER_CUSTOMER = 95; - - // Number of ENABLED campaign feeds across all base campaigns for a - // customer. - BASE_CAMPAIGN_FEEDS_PER_CUSTOMER = 96; - - // Number of ENABLED campaign feeds across all experiment campaigns for a - // customer. - EXPERIMENT_CAMPAIGN_FEEDS_PER_CUSTOMER = 109; - - // Number of ENABLED ad group feeds per customer. - AD_GROUP_FEEDS_PER_CUSTOMER = 97; - - // Number of ENABLED ad group feeds across all base campaigns for a - // customer. - BASE_AD_GROUP_FEEDS_PER_CUSTOMER = 98; - - // Number of ENABLED ad group feeds across all experiment campaigns for a - // customer. - EXPERIMENT_AD_GROUP_FEEDS_PER_CUSTOMER = 110; - - // Number of ENABLED ad group feeds per campaign. - AD_GROUP_FEEDS_PER_CAMPAIGN = 99; - - // Number of ENABLED feed items per customer. - FEED_ITEM_SETS_PER_CUSTOMER = 100; - - // Number of feed items per feed item set. - FEED_ITEMS_PER_FEED_ITEM_SET = 101; - - // Number of ENABLED campaign experiments per customer. - CAMPAIGN_EXPERIMENTS_PER_CUSTOMER = 112; - - // Number of video experiment arms per experiment. - EXPERIMENT_ARMS_PER_VIDEO_EXPERIMENT = 113; - - // Number of owned labels per customer. - OWNED_LABELS_PER_CUSTOMER = 115; - - // Number of applied labels per campaign. - LABELS_PER_CAMPAIGN = 117; - - // Number of applied labels per ad group. - LABELS_PER_AD_GROUP = 118; - - // Number of applied labels per ad group ad. - LABELS_PER_AD_GROUP_AD = 119; - - // Number of applied labels per ad group criterion. - LABELS_PER_AD_GROUP_CRITERION = 120; - - // Number of customers with a single label applied. - TARGET_CUSTOMERS_PER_LABEL = 121; - - // Number of ENABLED keyword plans per user per customer. - // The limit is applied per pair because by default a plan - // is private to a user of a customer. Each user of a customer has their own - // independent limit. - KEYWORD_PLANS_PER_USER_PER_CUSTOMER = 122; - - // Number of keyword plan ad group keywords per keyword plan. - KEYWORD_PLAN_AD_GROUP_KEYWORDS_PER_KEYWORD_PLAN = 123; - - // Number of keyword plan ad groups per keyword plan. - KEYWORD_PLAN_AD_GROUPS_PER_KEYWORD_PLAN = 124; - - // Number of keyword plan negative keywords (both campaign and ad group) per - // keyword plan. - KEYWORD_PLAN_NEGATIVE_KEYWORDS_PER_KEYWORD_PLAN = 125; - - // Number of keyword plan campaigns per keyword plan. - KEYWORD_PLAN_CAMPAIGNS_PER_KEYWORD_PLAN = 126; - - // Number of ENABLED conversion actions per customer. - CONVERSION_ACTIONS_PER_CUSTOMER = 128; - - // Number of operations in a single batch job. - BATCH_JOB_OPERATIONS_PER_JOB = 130; - - // Number of PENDING or ENABLED batch jobs per customer. - BATCH_JOBS_PER_CUSTOMER = 131; - - // Number of hotel check-in date range bid modifiers per ad agroup. - HOTEL_CHECK_IN_DATE_RANGE_BID_MODIFIERS_PER_AD_GROUP = 132; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/response_content_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/response_content_type.proto deleted file mode 100644 index 4c36b1470..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/response_content_type.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ResponseContentTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing the response content types used in mutate operations. - -// Container for possible response content types. -message ResponseContentTypeEnum { - // Possible response content types. - enum ResponseContentType { - // Not specified. Will return the resource name only in the response. - UNSPECIFIED = 0; - - // The mutate response will be the resource name. - RESOURCE_NAME_ONLY = 1; - - // The mutate response will be the resource name and the resource with - // all mutable fields. - MUTABLE_RESOURCE = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/search_engine_results_page_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/search_engine_results_page_type.proto deleted file mode 100644 index 5e55794dc..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/search_engine_results_page_type.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SearchEngineResultsPageTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing search engine results page types. - -// The type of the search engine results page. -message SearchEngineResultsPageTypeEnum { - // The type of the search engine results page. - enum SearchEngineResultsPageType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Only ads were contained in the search engine results page. - ADS_ONLY = 2; - - // Only organic results were contained in the search engine results page. - ORGANIC_ONLY = 3; - - // Both ads and organic results were contained in the search engine results - // page. - ADS_AND_ORGANIC = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/search_term_match_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/search_term_match_type.proto deleted file mode 100644 index 4f63826bf..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/search_term_match_type.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SearchTermMatchTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing search term match types. - -// Container for enum describing match types for a keyword triggering an ad. -message SearchTermMatchTypeEnum { - // Possible match types for a keyword triggering an ad, including variants. - enum SearchTermMatchType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Broad match. - BROAD = 2; - - // Exact match. - EXACT = 3; - - // Phrase match. - PHRASE = 4; - - // Exact match (close variant). - NEAR_EXACT = 5; - - // Phrase match (close variant). - NEAR_PHRASE = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/search_term_targeting_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/search_term_targeting_status.proto deleted file mode 100644 index a6e0ceed7..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/search_term_targeting_status.proto +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SearchTermTargetingStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing search term targeting statuses. - -// Container for enum indicating whether a search term is one of your targeted -// or excluded keywords. -message SearchTermTargetingStatusEnum { - // Indicates whether the search term is one of your targeted or excluded - // keywords. - enum SearchTermTargetingStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Search term is added to targeted keywords. - ADDED = 2; - - // Search term matches a negative keyword. - EXCLUDED = 3; - - // Search term has been both added and excluded. - ADDED_EXCLUDED = 4; - - // Search term is neither targeted nor excluded. - NONE = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/seasonality_event_scope.proto b/third_party/googleapis/google/ads/googleads/v11/enums/seasonality_event_scope.proto deleted file mode 100644 index 1d65abcaa..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/seasonality_event_scope.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SeasonalityEventScopeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing seasonality event status. - -// Message describing seasonality event scopes. The two types of seasonality -// events are BiddingSeasonalityAdjustments and BiddingDataExclusions. -message SeasonalityEventScopeEnum { - // The possible scopes of a Seasonality Event. - enum SeasonalityEventScope { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // The seasonality event is applied to all the customer's traffic for - // supported advertising channel types and device types. The CUSTOMER scope - // cannot be used in mutates. - CUSTOMER = 2; - - // The seasonality event is applied to all specified campaigns. - CAMPAIGN = 4; - - // The seasonality event is applied to all campaigns that belong to - // specified channel types. - CHANNEL = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/seasonality_event_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/seasonality_event_status.proto deleted file mode 100644 index 34a3d0b7f..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/seasonality_event_status.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SeasonalityEventStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing seasonality event status. - -// Message describing seasonality event statuses. The two types of seasonality -// events are BiddingSeasonalityAdjustments and BiddingDataExclusions. -message SeasonalityEventStatusEnum { - // The possible statuses of a Seasonality Event. - enum SeasonalityEventStatus { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // The seasonality event is enabled. - ENABLED = 2; - - // The seasonality event is removed. - REMOVED = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/served_asset_field_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/served_asset_field_type.proto deleted file mode 100644 index fa72cc06d..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/served_asset_field_type.proto +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ServedAssetFieldTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing policy review statuses. - -// Container for enum describing possible asset field types. -message ServedAssetFieldTypeEnum { - // The possible asset field types. - enum ServedAssetFieldType { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // The asset is used in headline 1. - HEADLINE_1 = 2; - - // The asset is used in headline 2. - HEADLINE_2 = 3; - - // The asset is used in headline 3. - HEADLINE_3 = 4; - - // The asset is used in description 1. - DESCRIPTION_1 = 5; - - // The asset is used in description 2. - DESCRIPTION_2 = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/shared_set_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/shared_set_status.proto deleted file mode 100644 index 9298aadf5..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/shared_set_status.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SharedSetStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing shared set statuses. - -// Container for enum describing types of shared set statuses. -message SharedSetStatusEnum { - // Enum listing the possible shared set statuses. - enum SharedSetStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The shared set is enabled. - ENABLED = 2; - - // The shared set is removed and can no longer be used. - REMOVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/shared_set_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/shared_set_type.proto deleted file mode 100644 index 6aeb46cdb..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/shared_set_type.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SharedSetTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing shared set types. - -// Container for enum describing types of shared sets. -message SharedSetTypeEnum { - // Enum listing the possible shared set types. - enum SharedSetType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // A set of keywords that can be excluded from targeting. - NEGATIVE_KEYWORDS = 2; - - // A set of placements that can be excluded from targeting. - NEGATIVE_PLACEMENTS = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/simulation_modification_method.proto b/third_party/googleapis/google/ads/googleads/v11/enums/simulation_modification_method.proto deleted file mode 100644 index f3614c7de..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/simulation_modification_method.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SimulationModificationMethodProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing simulation modification methods. - -// Container for enum describing the method by which a simulation modifies -// a field. -message SimulationModificationMethodEnum { - // Enum describing the method by which a simulation modifies a field. - enum SimulationModificationMethod { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The values in a simulation were applied to all children of a given - // resource uniformly. Overrides on child resources were not respected. - UNIFORM = 2; - - // The values in a simulation were applied to the given resource. - // Overrides on child resources were respected, and traffic estimates - // do not include these resources. - DEFAULT = 3; - - // The values in a simulation were all scaled by the same factor. - // For example, in a simulated TargetCpa campaign, the campaign target and - // all ad group targets were scaled by a factor of X. - SCALING = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/simulation_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/simulation_type.proto deleted file mode 100644 index 5dc793a3c..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/simulation_type.proto +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SimulationTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing simulation types. - -// Container for enum describing the field a simulation modifies. -message SimulationTypeEnum { - // Enum describing the field a simulation modifies. - enum SimulationType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The simulation is for a CPC bid. - CPC_BID = 2; - - // The simulation is for a CPV bid. - CPV_BID = 3; - - // The simulation is for a CPA target. - TARGET_CPA = 4; - - // The simulation is for a bid modifier. - BID_MODIFIER = 5; - - // The simulation is for a ROAS target. - TARGET_ROAS = 6; - - // The simulation is for a percent CPC bid. - PERCENT_CPC_BID = 7; - - // The simulation is for an impression share target. - TARGET_IMPRESSION_SHARE = 8; - - // The simulation is for a budget. - BUDGET = 9; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/sitelink_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v11/enums/sitelink_placeholder_field.proto deleted file mode 100644 index 576009ea2..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/sitelink_placeholder_field.proto +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SitelinkPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing Sitelink placeholder fields. - -// Values for Sitelink placeholder fields. -message SitelinkPlaceholderFieldEnum { - // Possible values for Sitelink placeholder fields. - enum SitelinkPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. The link text for your sitelink. - TEXT = 2; - - // Data Type: STRING. First line of the sitelink description. - LINE_1 = 3; - - // Data Type: STRING. Second line of the sitelink description. - LINE_2 = 4; - - // Data Type: URL_LIST. Final URLs for the sitelink when using Upgraded - // URLs. - FINAL_URLS = 5; - - // Data Type: URL_LIST. Final Mobile URLs for the sitelink when using - // Upgraded URLs. - FINAL_MOBILE_URLS = 6; - - // Data Type: URL. Tracking template for the sitelink when using Upgraded - // URLs. - TRACKING_URL = 7; - - // Data Type: STRING. Final URL suffix for sitelink when using parallel - // tracking. - FINAL_URL_SUFFIX = 8; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/sk_ad_network_ad_event_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/sk_ad_network_ad_event_type.proto deleted file mode 100644 index 55c7edc93..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/sk_ad_network_ad_event_type.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SkAdNetworkAdEventTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing SkAdNetwork Ad Event Types. - -// Container for enumeration of SkAdNetwork ad event types. -message SkAdNetworkAdEventTypeEnum { - // Enumerates SkAdNetwork ad event types - enum SkAdNetworkAdEventType { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // The value was not present in the postback or we do not have this data for - // other reasons. - UNAVAILABLE = 2; - - // The user interacted with the ad. - INTERACTION = 3; - - // The user viewed the ad. - VIEW = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/sk_ad_network_attribution_credit.proto b/third_party/googleapis/google/ads/googleads/v11/enums/sk_ad_network_attribution_credit.proto deleted file mode 100644 index 61e17f73a..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/sk_ad_network_attribution_credit.proto +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SkAdNetworkAttributionCreditProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing SkAdNetwork attribution credits. - -// Container for enumeration of SkAdNetwork attribution credits. -message SkAdNetworkAttributionCreditEnum { - // Enumerates SkAdNetwork attribution credits. - enum SkAdNetworkAttributionCredit { - // Default value. This value is equivalent to null. - UNSPECIFIED = 0; - - // The value is unknown in this API version. The true enum value cannot be - // returned in this API version or is not supported yet. - UNKNOWN = 1; - - // The value was not present in the postback or we do not have this data for - // other reasons. - UNAVAILABLE = 2; - - // Google was the ad network that won ad attribution. - WON = 3; - - // Google qualified for attribution, but didn't win. - CONTRIBUTED = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/sk_ad_network_user_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/sk_ad_network_user_type.proto deleted file mode 100644 index 3d92979f7..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/sk_ad_network_user_type.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SkAdNetworkUserTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing SkAdNetwork user types. - -// Container for enumeration of SkAdNetwork user types. -message SkAdNetworkUserTypeEnum { - // Enumerates SkAdNetwork user types - enum SkAdNetworkUserType { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // The value was not present in the postback or we do not have this data for - // other reasons. - UNAVAILABLE = 2; - - // The user installed the app for the first time. - NEW_INSTALLER = 3; - - // The user has previously installed the app. - REINSTALLER = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/slot.proto b/third_party/googleapis/google/ads/googleads/v11/enums/slot.proto deleted file mode 100644 index 07a785924..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/slot.proto +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SlotProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing slots. - -// Container for enumeration of possible positions of the Ad. -message SlotEnum { - // Enumerates possible positions of the Ad. - enum Slot { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Google search: Side. - SEARCH_SIDE = 2; - - // Google search: Top. - SEARCH_TOP = 3; - - // Google search: Other. - SEARCH_OTHER = 4; - - // Google Display Network. - CONTENT = 5; - - // Search partners: Top. - SEARCH_PARTNER_TOP = 6; - - // Search partners: Other. - SEARCH_PARTNER_OTHER = 7; - - // Cross-network. - MIXED = 8; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/spending_limit_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/spending_limit_type.proto deleted file mode 100644 index c9e3af18c..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/spending_limit_type.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SpendingLimitTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing SpendingLimit types. - -// Message describing spending limit types. -message SpendingLimitTypeEnum { - // The possible spending limit types used by certain resources as an - // alternative to absolute money values in micros. - enum SpendingLimitType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Infinite, indicates unlimited spending power. - INFINITE = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/structured_snippet_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v11/enums/structured_snippet_placeholder_field.proto deleted file mode 100644 index 5a1063371..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/structured_snippet_placeholder_field.proto +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "StructuredSnippetPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing Structured Snippet placeholder fields. - -// Values for Structured Snippet placeholder fields. -message StructuredSnippetPlaceholderFieldEnum { - // Possible values for Structured Snippet placeholder fields. - enum StructuredSnippetPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. The category of snippet of your products/services. - // Must match exactly one of the predefined structured snippets headers. - // For a list, visit - // https://developers.google.com/adwords/api/docs/appendix/structured-snippet-headers - HEADER = 2; - - // Data Type: STRING_LIST. Text values that describe your products/services. - // All text must be family safe. Special or non-ASCII characters are not - // permitted. A snippet can be at most 25 characters. - SNIPPETS = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/summary_row_setting.proto b/third_party/googleapis/google/ads/googleads/v11/enums/summary_row_setting.proto deleted file mode 100644 index 177a2e8cc..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/summary_row_setting.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SummaryRowSettingProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing summary row setting. - -// Indicates summary row setting in request parameter. -message SummaryRowSettingEnum { - // Enum describing return summary row settings. - enum SummaryRowSetting { - // Not specified. - UNSPECIFIED = 0; - - // Represent unknown values of return summary row. - UNKNOWN = 1; - - // Do not return summary row. - NO_SUMMARY_ROW = 2; - - // Return summary row along with results. The summary row will be returned - // in the last batch alone (last batch will contain no results). - SUMMARY_ROW_WITH_RESULTS = 3; - - // Return summary row only and return no results. - SUMMARY_ROW_ONLY = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/system_managed_entity_source.proto b/third_party/googleapis/google/ads/googleads/v11/enums/system_managed_entity_source.proto deleted file mode 100644 index 223ef53fa..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/system_managed_entity_source.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SystemManagedEntitySourceProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing system managed entity sources. - -// Container for enum describing possible system managed entity sources. -message SystemManagedResourceSourceEnum { - // Enum listing the possible system managed entity sources. - enum SystemManagedResourceSource { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Generated ad variations experiment ad. - AD_VARIATIONS = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/target_cpa_opt_in_recommendation_goal.proto b/third_party/googleapis/google/ads/googleads/v11/enums/target_cpa_opt_in_recommendation_goal.proto deleted file mode 100644 index 39d30f10d..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/target_cpa_opt_in_recommendation_goal.proto +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "TargetCpaOptInRecommendationGoalProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing TargetCpaOptIn recommendation goals. - -// Container for enum describing goals for TargetCpaOptIn recommendation. -message TargetCpaOptInRecommendationGoalEnum { - // Goal of TargetCpaOptIn recommendation. - enum TargetCpaOptInRecommendationGoal { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Recommendation to set Target CPA to maintain the same cost. - SAME_COST = 2; - - // Recommendation to set Target CPA to maintain the same conversions. - SAME_CONVERSIONS = 3; - - // Recommendation to set Target CPA to maintain the same CPA. - SAME_CPA = 4; - - // Recommendation to set Target CPA to a value that is as close as possible - // to, yet lower than, the actual CPA (computed for past 28 days). - CLOSEST_CPA = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/target_impression_share_location.proto b/third_party/googleapis/google/ads/googleads/v11/enums/target_impression_share_location.proto deleted file mode 100644 index 0188383d9..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/target_impression_share_location.proto +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "TargetImpressionShareLocationProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing target impression share goal. - -// Container for enum describing where on the first search results page the -// automated bidding system should target impressions for the -// TargetImpressionShare bidding strategy. -message TargetImpressionShareLocationEnum { - // Enum describing possible goals. - enum TargetImpressionShareLocation { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Any location on the web page. - ANYWHERE_ON_PAGE = 2; - - // Top box of ads. - TOP_OF_PAGE = 3; - - // Top slot in the top box of ads. - ABSOLUTE_TOP_OF_PAGE = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/targeting_dimension.proto b/third_party/googleapis/google/ads/googleads/v11/enums/targeting_dimension.proto deleted file mode 100644 index 54c1a71db..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/targeting_dimension.proto +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "TargetingDimensionProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing criteria types. - -// The dimensions that can be targeted. -message TargetingDimensionEnum { - // Enum describing possible targeting dimensions. - enum TargetingDimension { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Keyword criteria, for example, 'mars cruise'. KEYWORD may be used as a - // custom bid dimension. Keywords are always a targeting dimension, so may - // not be set as a target "ALL" dimension with TargetRestriction. - KEYWORD = 2; - - // Audience criteria, which include user list, user interest, custom - // affinity, and custom in market. - AUDIENCE = 3; - - // Topic criteria for targeting categories of content, for example, - // 'category::Animals>Pets' Used for Display and Video targeting. - TOPIC = 4; - - // Criteria for targeting gender. - GENDER = 5; - - // Criteria for targeting age ranges. - AGE_RANGE = 6; - - // Placement criteria, which include websites like 'www.flowers4sale.com', - // as well as mobile applications, mobile app categories, YouTube videos, - // and YouTube channels. - PLACEMENT = 7; - - // Criteria for parental status targeting. - PARENTAL_STATUS = 8; - - // Criteria for income range targeting. - INCOME_RANGE = 9; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/time_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/time_type.proto deleted file mode 100644 index d611a0229..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/time_type.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "TimeTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing TimeType types. - -// Message describing time types. -message TimeTypeEnum { - // The possible time types used by certain resources as an alternative to - // absolute timestamps. - enum TimeType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // As soon as possible. - NOW = 2; - - // An infinite point in the future. - FOREVER = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/tracking_code_page_format.proto b/third_party/googleapis/google/ads/googleads/v11/enums/tracking_code_page_format.proto deleted file mode 100644 index ab46fecc6..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/tracking_code_page_format.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "TrackingCodePageFormatProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Container for enum describing the format of the web page where the tracking -// tag and snippet will be installed. -message TrackingCodePageFormatEnum { - // The format of the web page where the tracking tag and snippet will be - // installed. - enum TrackingCodePageFormat { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Standard HTML page format. - HTML = 2; - - // Google AMP page format. - AMP = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/tracking_code_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/tracking_code_type.proto deleted file mode 100644 index 51e1b73e8..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/tracking_code_type.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "TrackingCodeTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Container for enum describing the type of the generated tag snippets for -// tracking conversions. -message TrackingCodeTypeEnum { - // The type of the generated tag snippets for tracking conversions. - enum TrackingCodeType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The snippet that is fired as a result of a website page loading. - WEBPAGE = 2; - - // The snippet contains a JavaScript function which fires the tag. This - // function is typically called from an onClick handler added to a link or - // button element on the page. - WEBPAGE_ONCLICK = 3; - - // For embedding on a mobile webpage. The snippet contains a JavaScript - // function which fires the tag. - CLICK_TO_CALL = 4; - - // The snippet that is used to replace the phone number on your website with - // a Google forwarding number for call tracking purposes. - WEBSITE_CALL = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/travel_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v11/enums/travel_placeholder_field.proto deleted file mode 100644 index 8b769108c..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/travel_placeholder_field.proto +++ /dev/null @@ -1,126 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "TravelPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing Travel placeholder fields. - -// Values for Travel placeholder fields. -// For more information about dynamic remarketing feeds, see -// https://support.google.com/google-ads/answer/6053288. -message TravelPlaceholderFieldEnum { - // Possible values for Travel placeholder fields. - enum TravelPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. Required. Destination id. Example: PAR, LON. - // For feed items that only have destination id, destination id must be a - // unique key. For feed items that have both destination id and origin id, - // then the combination must be a unique key. - DESTINATION_ID = 2; - - // Data Type: STRING. Origin id. Example: PAR, LON. - // Combination of DESTINATION_ID and ORIGIN_ID must be - // unique per offer. - ORIGIN_ID = 3; - - // Data Type: STRING. Required. Main headline with name to be shown in - // dynamic ad. - TITLE = 4; - - // Data Type: STRING. The destination name. Shorter names are recommended. - DESTINATION_NAME = 5; - - // Data Type: STRING. Origin name. Shorter names are recommended. - ORIGIN_NAME = 6; - - // Data Type: STRING. Price to be shown in the ad. Highly recommended for - // dynamic ads. - // Example: "100.00 USD" - PRICE = 7; - - // Data Type: STRING. Formatted price to be shown in the ad. - // Example: "Starting at $100.00 USD", "$80 - $100" - FORMATTED_PRICE = 8; - - // Data Type: STRING. Sale price to be shown in the ad. - // Example: "80.00 USD" - SALE_PRICE = 9; - - // Data Type: STRING. Formatted sale price to be shown in the ad. - // Example: "On sale for $80.00", "$60 - $80" - FORMATTED_SALE_PRICE = 10; - - // Data Type: URL. Image to be displayed in the ad. - IMAGE_URL = 11; - - // Data Type: STRING. Category of travel offer used to group like items - // together for recommendation engine. - CATEGORY = 12; - - // Data Type: STRING_LIST. Keywords used for product retrieval. - CONTEXTUAL_KEYWORDS = 13; - - // Data Type: STRING. Address of travel offer, including postal code. - DESTINATION_ADDRESS = 14; - - // Data Type: URL_LIST. Required. Final URLs to be used in ad, when using - // Upgraded URLs; the more specific the better (for example, the individual - // URL of a specific travel offer and its location). - FINAL_URL = 15; - - // Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - // URLs. - FINAL_MOBILE_URLS = 16; - - // Data Type: URL. Tracking template for the ad when using Upgraded URLs. - TRACKING_URL = 17; - - // Data Type: STRING. Android app link. Must be formatted as: - // android-app://{package_id}/{scheme}/{host_path}. - // The components are defined as follows: - // package_id: app ID as specified in Google Play. - // scheme: the scheme to pass to the application. Can be HTTP, or a custom - // scheme. - // host_path: identifies the specific content within your application. - ANDROID_APP_LINK = 18; - - // Data Type: STRING_LIST. List of recommended destination IDs to show - // together with this item. - SIMILAR_DESTINATION_IDS = 19; - - // Data Type: STRING. iOS app link. - IOS_APP_LINK = 20; - - // Data Type: INT64. iOS app store ID. - IOS_APP_STORE_ID = 21; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/user_identifier_source.proto b/third_party/googleapis/google/ads/googleads/v11/enums/user_identifier_source.proto deleted file mode 100644 index 4124de3d6..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/user_identifier_source.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserIdentifierSourceProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing user identifier source - -// Container for enum describing the source of the user identifier for offline -// Store Sales, click conversion, and conversion adjustment uploads. -message UserIdentifierSourceEnum { - // The type of user identifier source for offline Store Sales, click - // conversion, and conversion adjustment uploads. - enum UserIdentifierSource { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version - UNKNOWN = 1; - - // Indicates that the user identifier was provided by the first party - // (advertiser). - FIRST_PARTY = 2; - - // Indicates that the user identifier was provided by the third party - // (partner). - THIRD_PARTY = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/user_interest_taxonomy_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/user_interest_taxonomy_type.proto deleted file mode 100644 index 13dfe9771..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/user_interest_taxonomy_type.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserInterestTaxonomyTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing the UserInterest taxonomy type - -// Message describing a UserInterestTaxonomyType. -message UserInterestTaxonomyTypeEnum { - // Enum containing the possible UserInterestTaxonomyTypes. - enum UserInterestTaxonomyType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The affinity for this user interest. - AFFINITY = 2; - - // The market for this user interest. - IN_MARKET = 3; - - // Users known to have installed applications in the specified categories. - MOBILE_APP_INSTALL_USER = 4; - - // The geographical location of the interest-based vertical. - VERTICAL_GEO = 5; - - // User interest criteria for new smart phone users. - NEW_SMART_PHONE_USER = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/user_list_access_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/user_list_access_status.proto deleted file mode 100644 index 7d8c7dfc3..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/user_list_access_status.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListAccessStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing user list access status. - -// Indicates if this client still has access to the list. -message UserListAccessStatusEnum { - // Enum containing possible user list access statuses. - enum UserListAccessStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The access is enabled. - ENABLED = 2; - - // The access is disabled. - DISABLED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/user_list_closing_reason.proto b/third_party/googleapis/google/ads/googleads/v11/enums/user_list_closing_reason.proto deleted file mode 100644 index 04c770df0..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/user_list_closing_reason.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListClosingReasonProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing user list closing reason. - -// Indicates the reason why the userlist was closed. -// This enum is only used when a list is auto-closed by the system. -message UserListClosingReasonEnum { - // Enum describing possible user list closing reasons. - enum UserListClosingReason { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The userlist was closed because of not being used for over one year. - UNUSED = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/user_list_combined_rule_operator.proto b/third_party/googleapis/google/ads/googleads/v11/enums/user_list_combined_rule_operator.proto deleted file mode 100644 index bf8b18083..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/user_list_combined_rule_operator.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListCombinedRuleOperatorProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Logical operator connecting two rules. -message UserListCombinedRuleOperatorEnum { - // Enum describing possible user list combined rule operators. - enum UserListCombinedRuleOperator { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // A AND B. - AND = 2; - - // A AND NOT B. - AND_NOT = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/user_list_crm_data_source_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/user_list_crm_data_source_type.proto deleted file mode 100644 index f69f0c52e..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/user_list_crm_data_source_type.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListCrmDataSourceTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Indicates source of Crm upload data. -message UserListCrmDataSourceTypeEnum { - // Enum describing possible user list crm data source type. - enum UserListCrmDataSourceType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The uploaded data is first-party data. - FIRST_PARTY = 2; - - // The uploaded data is from a third-party credit bureau. - THIRD_PARTY_CREDIT_BUREAU = 3; - - // The uploaded data is from a third-party voter file. - THIRD_PARTY_VOTER_FILE = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/user_list_date_rule_item_operator.proto b/third_party/googleapis/google/ads/googleads/v11/enums/user_list_date_rule_item_operator.proto deleted file mode 100644 index 42fe4a500..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/user_list_date_rule_item_operator.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListDateRuleItemOperatorProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Supported rule operator for date type. -message UserListDateRuleItemOperatorEnum { - // Enum describing possible user list date rule item operators. - enum UserListDateRuleItemOperator { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Equals. - EQUALS = 2; - - // Not Equals. - NOT_EQUALS = 3; - - // Before. - BEFORE = 4; - - // After. - AFTER = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/user_list_flexible_rule_operator.proto b/third_party/googleapis/google/ads/googleads/v11/enums/user_list_flexible_rule_operator.proto deleted file mode 100644 index ae140eda3..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/user_list_flexible_rule_operator.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListFlexibleRuleOperatorProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Logical operator connecting two rules. -message UserListFlexibleRuleOperatorEnum { - // Enum describing possible user list combined rule operators. - enum UserListFlexibleRuleOperator { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // A AND B. - AND = 2; - - // A OR B. - OR = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/user_list_logical_rule_operator.proto b/third_party/googleapis/google/ads/googleads/v11/enums/user_list_logical_rule_operator.proto deleted file mode 100644 index 05edfacaf..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/user_list_logical_rule_operator.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListLogicalRuleOperatorProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// The logical operator of the rule. -message UserListLogicalRuleOperatorEnum { - // Enum describing possible user list logical rule operators. - enum UserListLogicalRuleOperator { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // And - all of the operands. - ALL = 2; - - // Or - at least one of the operands. - ANY = 3; - - // Not - none of the operands. - NONE = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/user_list_membership_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/user_list_membership_status.proto deleted file mode 100644 index 297e2d2d2..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/user_list_membership_status.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListMembershipStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing user list membership status. - -// Membership status of this user list. Indicates whether a user list is open -// or active. Only open user lists can accumulate more users and can be used for -// targeting. -message UserListMembershipStatusEnum { - // Enum containing possible user list membership statuses. - enum UserListMembershipStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Open status - List is accruing members and can be targeted to. - OPEN = 2; - - // Closed status - No new members being added. Cannot be used for targeting. - CLOSED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/user_list_number_rule_item_operator.proto b/third_party/googleapis/google/ads/googleads/v11/enums/user_list_number_rule_item_operator.proto deleted file mode 100644 index 31980f6a8..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/user_list_number_rule_item_operator.proto +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListNumberRuleItemOperatorProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Supported rule operator for number type. -message UserListNumberRuleItemOperatorEnum { - // Enum describing possible user list number rule item operators. - enum UserListNumberRuleItemOperator { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Greater than. - GREATER_THAN = 2; - - // Greater than or equal. - GREATER_THAN_OR_EQUAL = 3; - - // Equals. - EQUALS = 4; - - // Not equals. - NOT_EQUALS = 5; - - // Less than. - LESS_THAN = 6; - - // Less than or equal. - LESS_THAN_OR_EQUAL = 7; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/user_list_prepopulation_status.proto b/third_party/googleapis/google/ads/googleads/v11/enums/user_list_prepopulation_status.proto deleted file mode 100644 index 043711bed..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/user_list_prepopulation_status.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListPrepopulationStatusProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Indicates status of prepopulation based on the rule. -message UserListPrepopulationStatusEnum { - // Enum describing possible user list prepopulation status. - enum UserListPrepopulationStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Prepopoulation is being requested. - REQUESTED = 2; - - // Prepopulation is finished. - FINISHED = 3; - - // Prepopulation failed. - FAILED = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/user_list_rule_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/user_list_rule_type.proto deleted file mode 100644 index fa03eed5a..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/user_list_rule_type.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListRuleTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Rule based user list rule type. -message UserListRuleTypeEnum { - // Enum describing possible user list rule types. - enum UserListRuleType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Conjunctive normal form. - AND_OF_ORS = 2; - - // Disjunctive normal form. - OR_OF_ANDS = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/user_list_size_range.proto b/third_party/googleapis/google/ads/googleads/v11/enums/user_list_size_range.proto deleted file mode 100644 index 3e2ed6ff5..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/user_list_size_range.proto +++ /dev/null @@ -1,90 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListSizeRangeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing user list size range. - -// Size range in terms of number of users of a UserList. -message UserListSizeRangeEnum { - // Enum containing possible user list size ranges. - enum UserListSizeRange { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // User list has less than 500 users. - LESS_THAN_FIVE_HUNDRED = 2; - - // User list has number of users in range of 500 to 1000. - LESS_THAN_ONE_THOUSAND = 3; - - // User list has number of users in range of 1000 to 10000. - ONE_THOUSAND_TO_TEN_THOUSAND = 4; - - // User list has number of users in range of 10000 to 50000. - TEN_THOUSAND_TO_FIFTY_THOUSAND = 5; - - // User list has number of users in range of 50000 to 100000. - FIFTY_THOUSAND_TO_ONE_HUNDRED_THOUSAND = 6; - - // User list has number of users in range of 100000 to 300000. - ONE_HUNDRED_THOUSAND_TO_THREE_HUNDRED_THOUSAND = 7; - - // User list has number of users in range of 300000 to 500000. - THREE_HUNDRED_THOUSAND_TO_FIVE_HUNDRED_THOUSAND = 8; - - // User list has number of users in range of 500000 to 1 million. - FIVE_HUNDRED_THOUSAND_TO_ONE_MILLION = 9; - - // User list has number of users in range of 1 to 2 millions. - ONE_MILLION_TO_TWO_MILLION = 10; - - // User list has number of users in range of 2 to 3 millions. - TWO_MILLION_TO_THREE_MILLION = 11; - - // User list has number of users in range of 3 to 5 millions. - THREE_MILLION_TO_FIVE_MILLION = 12; - - // User list has number of users in range of 5 to 10 millions. - FIVE_MILLION_TO_TEN_MILLION = 13; - - // User list has number of users in range of 10 to 20 millions. - TEN_MILLION_TO_TWENTY_MILLION = 14; - - // User list has number of users in range of 20 to 30 millions. - TWENTY_MILLION_TO_THIRTY_MILLION = 15; - - // User list has number of users in range of 30 to 50 millions. - THIRTY_MILLION_TO_FIFTY_MILLION = 16; - - // User list has over 50 million users. - OVER_FIFTY_MILLION = 17; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/user_list_string_rule_item_operator.proto b/third_party/googleapis/google/ads/googleads/v11/enums/user_list_string_rule_item_operator.proto deleted file mode 100644 index 12101f74a..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/user_list_string_rule_item_operator.proto +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListStringRuleItemOperatorProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Supported rule operator for string type. -message UserListStringRuleItemOperatorEnum { - // Enum describing possible user list string rule item operators. - enum UserListStringRuleItemOperator { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Contains. - CONTAINS = 2; - - // Equals. - EQUALS = 3; - - // Starts with. - STARTS_WITH = 4; - - // Ends with. - ENDS_WITH = 5; - - // Not equals. - NOT_EQUALS = 6; - - // Not contains. - NOT_CONTAINS = 7; - - // Not starts with. - NOT_STARTS_WITH = 8; - - // Not ends with. - NOT_ENDS_WITH = 9; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/user_list_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/user_list_type.proto deleted file mode 100644 index bff521fec..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/user_list_type.proto +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing user list type. - -// The user list types. -message UserListTypeEnum { - // Enum containing possible user list types. - enum UserListType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // UserList represented as a collection of conversion types. - REMARKETING = 2; - - // UserList represented as a combination of other user lists/interests. - LOGICAL = 3; - - // UserList created in the Google Ad Manager platform. - EXTERNAL_REMARKETING = 4; - - // UserList associated with a rule. - RULE_BASED = 5; - - // UserList with users similar to users of another UserList. - SIMILAR = 6; - - // UserList of first-party CRM data provided by advertiser in the form of - // emails or other formats. - CRM_BASED = 7; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/value_rule_device_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/value_rule_device_type.proto deleted file mode 100644 index a990c8f3d..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/value_rule_device_type.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ValueRuleDeviceTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing conversion value rule device type. - -// Container for enum describing possible device types used in a conversion -// value rule. -message ValueRuleDeviceTypeEnum { - // Possible device types used in conversion value rule. - enum ValueRuleDeviceType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Mobile device. - MOBILE = 2; - - // Desktop device. - DESKTOP = 3; - - // Tablet device. - TABLET = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/value_rule_geo_location_match_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/value_rule_geo_location_match_type.proto deleted file mode 100644 index ed4c8814a..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/value_rule_geo_location_match_type.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ValueRuleGeoLocationMatchTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing conversion value rule geo location match type. - -// Container for enum describing possible geographic location matching types -// used in a conversion value rule. -message ValueRuleGeoLocationMatchTypeEnum { - // Possible geographic location matching types. - enum ValueRuleGeoLocationMatchType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Either Area of Interest or Location of Presence can be used to match. - ANY = 2; - - // Only Location of Presence can be used to match. - LOCATION_OF_PRESENCE = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/value_rule_operation.proto b/third_party/googleapis/google/ads/googleads/v11/enums/value_rule_operation.proto deleted file mode 100644 index dbe4c9dc4..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/value_rule_operation.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ValueRuleOperationProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing conversion value rule operation. - -// Container for enum describing possible operations for value rules which are -// executed when rules are triggered. -message ValueRuleOperationEnum { - // Possible operations of the action of a conversion value rule. - enum ValueRuleOperation { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Add provided value to conversion value. - ADD = 2; - - // Multiply conversion value by provided value. - MULTIPLY = 3; - - // Set conversion value to provided value. - SET = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/value_rule_set_attachment_type.proto b/third_party/googleapis/google/ads/googleads/v11/enums/value_rule_set_attachment_type.proto deleted file mode 100644 index b0454b583..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/value_rule_set_attachment_type.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ValueRuleSetAttachmentTypeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing where the conversion value rule is attached. - -// Container for enum describing where a value rule set is attached. -message ValueRuleSetAttachmentTypeEnum { - // Possible level where a value rule set is attached. - enum ValueRuleSetAttachmentType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Attached to the customer. - CUSTOMER = 2; - - // Attached to a campaign. - CAMPAIGN = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/value_rule_set_dimension.proto b/third_party/googleapis/google/ads/googleads/v11/enums/value_rule_set_dimension.proto deleted file mode 100644 index b3230946b..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/value_rule_set_dimension.proto +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ValueRuleSetDimensionProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing conversion value rule set dimension. - -// Container for enum describing possible dimensions of a conversion value rule -// set. -message ValueRuleSetDimensionEnum { - // Possible dimensions of a conversion value rule set. - enum ValueRuleSetDimension { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Dimension for geo location. - GEO_LOCATION = 2; - - // Dimension for device type. - DEVICE = 3; - - // Dimension for audience. - AUDIENCE = 4; - - // This dimension implies the rule will always apply. - NO_CONDITION = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/vanity_pharma_display_url_mode.proto b/third_party/googleapis/google/ads/googleads/v11/enums/vanity_pharma_display_url_mode.proto deleted file mode 100644 index f53da2263..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/vanity_pharma_display_url_mode.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "VanityPharmaDisplayUrlModeProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing vanity pharma display url modes. - -// The display mode for vanity pharma URLs. -message VanityPharmaDisplayUrlModeEnum { - // Enum describing possible display modes for vanity pharma URLs. - enum VanityPharmaDisplayUrlMode { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Replace vanity pharma URL with manufacturer website url. - MANUFACTURER_WEBSITE_URL = 2; - - // Replace vanity pharma URL with description of the website. - WEBSITE_DESCRIPTION = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/vanity_pharma_text.proto b/third_party/googleapis/google/ads/googleads/v11/enums/vanity_pharma_text.proto deleted file mode 100644 index 755b00fcb..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/vanity_pharma_text.proto +++ /dev/null @@ -1,85 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "VanityPharmaTextProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing vanity pharma texts. - -// The text that will be displayed in display URL of the text ad when website -// description is the selected display mode for vanity pharma URLs. -message VanityPharmaTextEnum { - // Enum describing possible text. - enum VanityPharmaText { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Prescription treatment website with website content in English. - PRESCRIPTION_TREATMENT_WEBSITE_EN = 2; - - // Prescription treatment website with website content in Spanish - // (Sitio de tratamientos con receta). - PRESCRIPTION_TREATMENT_WEBSITE_ES = 3; - - // Prescription device website with website content in English. - PRESCRIPTION_DEVICE_WEBSITE_EN = 4; - - // Prescription device website with website content in Spanish (Sitio de - // dispositivos con receta). - PRESCRIPTION_DEVICE_WEBSITE_ES = 5; - - // Medical device website with website content in English. - MEDICAL_DEVICE_WEBSITE_EN = 6; - - // Medical device website with website content in Spanish (Sitio de - // dispositivos médicos). - MEDICAL_DEVICE_WEBSITE_ES = 7; - - // Preventative treatment website with website content in English. - PREVENTATIVE_TREATMENT_WEBSITE_EN = 8; - - // Preventative treatment website with website content in Spanish (Sitio de - // tratamientos preventivos). - PREVENTATIVE_TREATMENT_WEBSITE_ES = 9; - - // Prescription contraception website with website content in English. - PRESCRIPTION_CONTRACEPTION_WEBSITE_EN = 10; - - // Prescription contraception website with website content in Spanish (Sitio - // de anticonceptivos con receta). - PRESCRIPTION_CONTRACEPTION_WEBSITE_ES = 11; - - // Prescription vaccine website with website content in English. - PRESCRIPTION_VACCINE_WEBSITE_EN = 12; - - // Prescription vaccine website with website content in Spanish (Sitio de - // vacunas con receta). - PRESCRIPTION_VACCINE_WEBSITE_ES = 13; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/video_thumbnail.proto b/third_party/googleapis/google/ads/googleads/v11/enums/video_thumbnail.proto deleted file mode 100644 index 09a4c3670..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/video_thumbnail.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "VideoThumbnailProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing video thumbnails. - -// Defines the thumbnail to use for In-Display video ads. Note that -// DEFAULT_THUMBNAIL may have been uploaded by the user while thumbnails 1-3 are -// auto-generated from the video. -message VideoThumbnailEnum { - // Enum listing the possible types of a video thumbnail. - enum VideoThumbnail { - // The type has not been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // This is a response-only value. - UNKNOWN = 1; - - // The default thumbnail. Can be auto-generated or user-uploaded. - DEFAULT_THUMBNAIL = 2; - - // Thumbnail 1, generated from the video. - THUMBNAIL_1 = 3; - - // Thumbnail 2, generated from the video. - THUMBNAIL_2 = 4; - - // Thumbnail 3, generated from the video. - THUMBNAIL_3 = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/webpage_condition_operand.proto b/third_party/googleapis/google/ads/googleads/v11/enums/webpage_condition_operand.proto deleted file mode 100644 index 9933ae6f5..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/webpage_condition_operand.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "WebpageConditionOperandProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing webpage condition operand. - -// Container for enum describing webpage condition operand in webpage criterion. -message WebpageConditionOperandEnum { - // The webpage condition operand in webpage criterion. - enum WebpageConditionOperand { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Operand denoting a webpage URL targeting condition. - URL = 2; - - // Operand denoting a webpage category targeting condition. - CATEGORY = 3; - - // Operand denoting a webpage title targeting condition. - PAGE_TITLE = 4; - - // Operand denoting a webpage content targeting condition. - PAGE_CONTENT = 5; - - // Operand denoting a webpage custom label targeting condition. - CUSTOM_LABEL = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/enums/webpage_condition_operator.proto b/third_party/googleapis/google/ads/googleads/v11/enums/webpage_condition_operator.proto deleted file mode 100644 index 00c01eab8..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/enums/webpage_condition_operator.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "WebpageConditionOperatorProto"; -option java_package = "com.google.ads.googleads.v11.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V11::Enums"; - -// Proto file describing webpage condition operator. - -// Container for enum describing webpage condition operator in webpage -// criterion. -message WebpageConditionOperatorEnum { - // The webpage condition operator in webpage criterion. - enum WebpageConditionOperator { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The argument web condition is equal to the compared web condition. - EQUALS = 2; - - // The argument web condition is part of the compared web condition. - CONTAINS = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/BUILD.bazel b/third_party/googleapis/google/ads/googleads/v11/errors/BUILD.bazel deleted file mode 100644 index 48521f2b3..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/BUILD.bazel +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 2020 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -package(default_visibility = ["//visibility:public"]) - -############################################################################## -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") - -# TODO(ohren): Change srcs to use an enumeration of each individual proto -# instead of *.proto globbing once the build file generator supports -# subpackages. -proto_library( - name = "errors_proto", - srcs = glob(["*.proto"]), - deps = [ - "//google/ads/googleads/v11/common:common_proto", - "//google/ads/googleads/v11/enums:enums_proto", - "//google/api:annotations_proto", - "@com_google_protobuf//:duration_proto", - "@com_google_protobuf//:wrappers_proto", - ], -) - -############################################################################## -# Java -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "java_proto_library", -) - -java_proto_library( - name = "errors_java_proto", - deps = [":errors_proto"], -) - -############################################################################## -# PHP -############################################################################## - -# PHP targets are in the parent directory's BUILD.bazel file to facilitate -# aggregating metadata using a single underlying call to protoc. - -############################################################################## -# C# -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "csharp_proto_library", -) - -csharp_proto_library( - name = "errors_csharp_proto", - deps = [":errors_proto"], -) - -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "ruby_proto_library", -) - -ruby_proto_library( - name = "errors_ruby_proto", - deps = [":errors_proto"], -) - -############################################################################## -# Python -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "py_proto_library", -) - -py_proto_library( - name = "errors_py_proto", - deps = [":errors_proto"], -) diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/access_invitation_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/access_invitation_error.proto deleted file mode 100644 index 275a71d96..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/access_invitation_error.proto +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AccessInvitationErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing AccessInvitation errors. - -// Container for enum describing possible AccessInvitation errors. -message AccessInvitationErrorEnum { - // Enum describing possible AccessInvitation errors. - enum AccessInvitationError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The email address is invalid for sending an invitation. - INVALID_EMAIL_ADDRESS = 2; - - // Email address already has access to this customer. - EMAIL_ADDRESS_ALREADY_HAS_ACCESS = 3; - - // Invalid invitation status for the operation. - INVALID_INVITATION_STATUS = 4; - - // Email address cannot be like abc+foo@google.com. - GOOGLE_CONSUMER_ACCOUNT_NOT_ALLOWED = 5; - - // Invalid invitation ID. - INVALID_INVITATION_ID = 6; - - // Email address already has a pending invitation. - EMAIL_ADDRESS_ALREADY_HAS_PENDING_INVITATION = 7; - - // Pending invitation limit exceeded for the customer. - PENDING_INVITATIONS_LIMIT_EXCEEDED = 8; - - // Email address doesn't conform to the email domain policy. See - // https://support.google.com/google-ads/answer/2375456 - EMAIL_DOMAIN_POLICY_VIOLATED = 9; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/account_budget_proposal_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/account_budget_proposal_error.proto deleted file mode 100644 index 4c5de106d..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/account_budget_proposal_error.proto +++ /dev/null @@ -1,120 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AccountBudgetProposalErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing account budget proposal errors. - -// Container for enum describing possible account budget proposal errors. -message AccountBudgetProposalErrorEnum { - // Enum describing possible account budget proposal errors. - enum AccountBudgetProposalError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The field mask must be empty for create/end/remove proposals. - FIELD_MASK_NOT_ALLOWED = 2; - - // The field cannot be set because of the proposal type. - IMMUTABLE_FIELD = 3; - - // The field is required because of the proposal type. - REQUIRED_FIELD_MISSING = 4; - - // Proposals that have been approved cannot be cancelled. - CANNOT_CANCEL_APPROVED_PROPOSAL = 5; - - // Budgets that haven't been approved cannot be removed. - CANNOT_REMOVE_UNAPPROVED_BUDGET = 6; - - // Budgets that are currently running cannot be removed. - CANNOT_REMOVE_RUNNING_BUDGET = 7; - - // Budgets that haven't been approved cannot be truncated. - CANNOT_END_UNAPPROVED_BUDGET = 8; - - // Only budgets that are currently running can be truncated. - CANNOT_END_INACTIVE_BUDGET = 9; - - // All budgets must have names. - BUDGET_NAME_REQUIRED = 10; - - // Expired budgets cannot be edited after a sufficient amount of time has - // passed. - CANNOT_UPDATE_OLD_BUDGET = 11; - - // It is not permissible a propose a new budget that ends in the past. - CANNOT_END_IN_PAST = 12; - - // An expired budget cannot be extended to overlap with the running budget. - CANNOT_EXTEND_END_TIME = 13; - - // A purchase order number is required. - PURCHASE_ORDER_NUMBER_REQUIRED = 14; - - // Budgets that have a pending update cannot be updated. - PENDING_UPDATE_PROPOSAL_EXISTS = 15; - - // Cannot propose more than one budget when the corresponding billing setup - // hasn't been approved. - MULTIPLE_BUDGETS_NOT_ALLOWED_FOR_UNAPPROVED_BILLING_SETUP = 16; - - // Cannot update the start time of a budget that has already started. - CANNOT_UPDATE_START_TIME_FOR_STARTED_BUDGET = 17; - - // Cannot update the spending limit of a budget with an amount lower than - // what has already been spent. - SPENDING_LIMIT_LOWER_THAN_ACCRUED_COST_NOT_ALLOWED = 18; - - // Cannot propose a budget update without actually changing any fields. - UPDATE_IS_NO_OP = 19; - - // The end time must come after the start time. - END_TIME_MUST_FOLLOW_START_TIME = 20; - - // The budget's date range must fall within the date range of its billing - // setup. - BUDGET_DATE_RANGE_INCOMPATIBLE_WITH_BILLING_SETUP = 21; - - // The user is not authorized to mutate budgets for the given billing setup. - NOT_AUTHORIZED = 22; - - // Mutates are not allowed for the given billing setup. - INVALID_BILLING_SETUP = 23; - - // Budget creation failed as it overlaps with an pending budget proposal - // or an approved budget. - OVERLAPS_EXISTING_BUDGET = 24; - - // The control setting in user's payments profile doesn't allow budget - // creation through API. Log in to Google Ads to create budget. - CANNOT_CREATE_BUDGET_THROUGH_API = 25; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/account_link_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/account_link_error.proto deleted file mode 100644 index f4236b4c5..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/account_link_error.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AccountLinkErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing AccountLink errors. - -// Container for enum describing possible account link errors. -message AccountLinkErrorEnum { - // Enum describing possible account link errors. - enum AccountLinkError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The new link status is invalid. - INVALID_STATUS = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/ad_customizer_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/ad_customizer_error.proto deleted file mode 100644 index fbf91660a..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/ad_customizer_error.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdCustomizerErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing ad customizer errors. - -// Container for enum describing possible ad customizer errors. -message AdCustomizerErrorEnum { - // Enum describing possible ad customizer errors. - enum AdCustomizerError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Invalid date argument in countdown function. - COUNTDOWN_INVALID_DATE_FORMAT = 2; - - // Countdown end date is in the past. - COUNTDOWN_DATE_IN_PAST = 3; - - // Invalid locale string in countdown function. - COUNTDOWN_INVALID_LOCALE = 4; - - // Days-before argument to countdown function is not positive. - COUNTDOWN_INVALID_START_DAYS_BEFORE = 5; - - // A user list referenced in an IF function does not exist. - UNKNOWN_USER_LIST = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/ad_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/ad_error.proto deleted file mode 100644 index d0d109fd4..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/ad_error.proto +++ /dev/null @@ -1,528 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing ad errors. - -// Container for enum describing possible ad errors. -message AdErrorEnum { - // Enum describing possible ad errors. - enum AdError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Ad customizers are not supported for ad type. - AD_CUSTOMIZERS_NOT_SUPPORTED_FOR_AD_TYPE = 2; - - // Estimating character sizes the string is too long. - APPROXIMATELY_TOO_LONG = 3; - - // Estimating character sizes the string is too short. - APPROXIMATELY_TOO_SHORT = 4; - - // There is a problem with the snippet. - BAD_SNIPPET = 5; - - // Cannot modify an ad. - CANNOT_MODIFY_AD = 6; - - // business name and url cannot be set at the same time - CANNOT_SET_BUSINESS_NAME_IF_URL_SET = 7; - - // The specified field is incompatible with this ad's type or settings. - CANNOT_SET_FIELD = 8; - - // Cannot set field when originAdId is set. - CANNOT_SET_FIELD_WITH_ORIGIN_AD_ID_SET = 9; - - // Cannot set field when an existing ad id is set for sharing. - CANNOT_SET_FIELD_WITH_AD_ID_SET_FOR_SHARING = 10; - - // Cannot set allowFlexibleColor false if no color is provided by user. - CANNOT_SET_ALLOW_FLEXIBLE_COLOR_FALSE = 11; - - // When user select native, no color control is allowed because we will - // always respect publisher color for native format serving. - CANNOT_SET_COLOR_CONTROL_WHEN_NATIVE_FORMAT_SETTING = 12; - - // Cannot specify a url for the ad type - CANNOT_SET_URL = 13; - - // Cannot specify a tracking or mobile url without also setting final urls - CANNOT_SET_WITHOUT_FINAL_URLS = 14; - - // Cannot specify a legacy url and a final url simultaneously - CANNOT_SET_WITH_FINAL_URLS = 15; - - // Cannot specify a urls in UrlData and in template fields simultaneously. - CANNOT_SET_WITH_URL_DATA = 17; - - // This operator cannot be used with a subclass of Ad. - CANNOT_USE_AD_SUBCLASS_FOR_OPERATOR = 18; - - // Customer is not approved for mobile ads. - CUSTOMER_NOT_APPROVED_MOBILEADS = 19; - - // Customer is not approved for 3PAS richmedia ads. - CUSTOMER_NOT_APPROVED_THIRDPARTY_ADS = 20; - - // Customer is not approved for 3PAS redirect richmedia (Ad Exchange) ads. - CUSTOMER_NOT_APPROVED_THIRDPARTY_REDIRECT_ADS = 21; - - // Not an eligible customer - CUSTOMER_NOT_ELIGIBLE = 22; - - // Customer is not eligible for updating beacon url - CUSTOMER_NOT_ELIGIBLE_FOR_UPDATING_BEACON_URL = 23; - - // There already exists an ad with the same dimensions in the union. - DIMENSION_ALREADY_IN_UNION = 24; - - // Ad's dimension must be set before setting union dimension. - DIMENSION_MUST_BE_SET = 25; - - // Ad's dimension must be included in the union dimensions. - DIMENSION_NOT_IN_UNION = 26; - - // Display Url cannot be specified (applies to Ad Exchange Ads) - DISPLAY_URL_CANNOT_BE_SPECIFIED = 27; - - // Telephone number contains invalid characters or invalid format. - // Re-enter your number using digits (0-9), dashes (-), and parentheses - // only. - DOMESTIC_PHONE_NUMBER_FORMAT = 28; - - // Emergency telephone numbers are not allowed. Enter a valid - // domestic phone number to connect customers to your business. - EMERGENCY_PHONE_NUMBER = 29; - - // A required field was not specified or is an empty string. - EMPTY_FIELD = 30; - - // A feed attribute referenced in an ad customizer tag is not in the ad - // customizer mapping for the feed. - FEED_ATTRIBUTE_MUST_HAVE_MAPPING_FOR_TYPE_ID = 31; - - // The ad customizer field mapping for the feed attribute does not match the - // expected field type. - FEED_ATTRIBUTE_MAPPING_TYPE_MISMATCH = 32; - - // The use of ad customizer tags in the ad text is disallowed. Details in - // trigger. - ILLEGAL_AD_CUSTOMIZER_TAG_USE = 33; - - // Tags of the form {PH_x}, where x is a number, are disallowed in ad text. - ILLEGAL_TAG_USE = 34; - - // The dimensions of the ad are specified or derived in multiple ways and - // are not consistent. - INCONSISTENT_DIMENSIONS = 35; - - // The status cannot differ among template ads of the same union. - INCONSISTENT_STATUS_IN_TEMPLATE_UNION = 36; - - // The length of the string is not valid. - INCORRECT_LENGTH = 37; - - // The ad is ineligible for upgrade. - INELIGIBLE_FOR_UPGRADE = 38; - - // User cannot create mobile ad for countries targeted in specified - // campaign. - INVALID_AD_ADDRESS_CAMPAIGN_TARGET = 39; - - // Invalid Ad type. A specific type of Ad is required. - INVALID_AD_TYPE = 40; - - // Headline, description or phone cannot be present when creating mobile - // image ad. - INVALID_ATTRIBUTES_FOR_MOBILE_IMAGE = 41; - - // Image cannot be present when creating mobile text ad. - INVALID_ATTRIBUTES_FOR_MOBILE_TEXT = 42; - - // Invalid call to action text. - INVALID_CALL_TO_ACTION_TEXT = 43; - - // Invalid character in URL. - INVALID_CHARACTER_FOR_URL = 44; - - // Creative's country code is not valid. - INVALID_COUNTRY_CODE = 45; - - // Invalid use of Expanded Dynamic Search Ads tags ({lpurl} etc.) - INVALID_EXPANDED_DYNAMIC_SEARCH_AD_TAG = 47; - - // An input error whose real reason was not properly mapped (should not - // happen). - INVALID_INPUT = 48; - - // An invalid markup language was entered. - INVALID_MARKUP_LANGUAGE = 49; - - // An invalid mobile carrier was entered. - INVALID_MOBILE_CARRIER = 50; - - // Specified mobile carriers target a country not targeted by the campaign. - INVALID_MOBILE_CARRIER_TARGET = 51; - - // Wrong number of elements for given element type - INVALID_NUMBER_OF_ELEMENTS = 52; - - // The format of the telephone number is incorrect. Re-enter the - // number using the correct format. - INVALID_PHONE_NUMBER_FORMAT = 53; - - // The certified vendor format id is incorrect. - INVALID_RICH_MEDIA_CERTIFIED_VENDOR_FORMAT_ID = 54; - - // The template ad data contains validation errors. - INVALID_TEMPLATE_DATA = 55; - - // The template field doesn't have have the correct type. - INVALID_TEMPLATE_ELEMENT_FIELD_TYPE = 56; - - // Invalid template id. - INVALID_TEMPLATE_ID = 57; - - // After substituting replacement strings, the line is too wide. - LINE_TOO_WIDE = 58; - - // The feed referenced must have ad customizer mapping to be used in a - // customizer tag. - MISSING_AD_CUSTOMIZER_MAPPING = 59; - - // Missing address component in template element address field. - MISSING_ADDRESS_COMPONENT = 60; - - // An ad name must be entered. - MISSING_ADVERTISEMENT_NAME = 61; - - // Business name must be entered. - MISSING_BUSINESS_NAME = 62; - - // Description (line 2) must be entered. - MISSING_DESCRIPTION1 = 63; - - // Description (line 3) must be entered. - MISSING_DESCRIPTION2 = 64; - - // The destination url must contain at least one tag (for example, {lpurl}) - MISSING_DESTINATION_URL_TAG = 65; - - // The tracking url template of ExpandedDynamicSearchAd must contain at - // least one tag. (for example, {lpurl}) - MISSING_LANDING_PAGE_URL_TAG = 66; - - // A valid dimension must be specified for this ad. - MISSING_DIMENSION = 67; - - // A display URL must be entered. - MISSING_DISPLAY_URL = 68; - - // Headline must be entered. - MISSING_HEADLINE = 69; - - // A height must be entered. - MISSING_HEIGHT = 70; - - // An image must be entered. - MISSING_IMAGE = 71; - - // Marketing image or product videos are required. - MISSING_MARKETING_IMAGE_OR_PRODUCT_VIDEOS = 72; - - // The markup language in which your site is written must be entered. - MISSING_MARKUP_LANGUAGES = 73; - - // A mobile carrier must be entered. - MISSING_MOBILE_CARRIER = 74; - - // Phone number must be entered. - MISSING_PHONE = 75; - - // Missing required template fields - MISSING_REQUIRED_TEMPLATE_FIELDS = 76; - - // Missing a required field value - MISSING_TEMPLATE_FIELD_VALUE = 77; - - // The ad must have text. - MISSING_TEXT = 78; - - // A visible URL must be entered. - MISSING_VISIBLE_URL = 79; - - // A width must be entered. - MISSING_WIDTH = 80; - - // Only 1 feed can be used as the source of ad customizer substitutions in a - // single ad. - MULTIPLE_DISTINCT_FEEDS_UNSUPPORTED = 81; - - // TempAdUnionId must be use when adding template ads. - MUST_USE_TEMP_AD_UNION_ID_ON_ADD = 82; - - // The string has too many characters. - TOO_LONG = 83; - - // The string has too few characters. - TOO_SHORT = 84; - - // Ad union dimensions cannot change for saved ads. - UNION_DIMENSIONS_CANNOT_CHANGE = 85; - - // Address component is not {country, lat, lng}. - UNKNOWN_ADDRESS_COMPONENT = 86; - - // Unknown unique field name - UNKNOWN_FIELD_NAME = 87; - - // Unknown unique name (template element type specifier) - UNKNOWN_UNIQUE_NAME = 88; - - // Unsupported ad dimension - UNSUPPORTED_DIMENSIONS = 89; - - // URL starts with an invalid scheme. - URL_INVALID_SCHEME = 90; - - // URL ends with an invalid top-level domain name. - URL_INVALID_TOP_LEVEL_DOMAIN = 91; - - // URL contains illegal characters. - URL_MALFORMED = 92; - - // URL must contain a host name. - URL_NO_HOST = 93; - - // URL not equivalent during upgrade. - URL_NOT_EQUIVALENT = 94; - - // URL host name too long to be stored as visible URL (applies to Ad - // Exchange ads) - URL_HOST_NAME_TOO_LONG = 95; - - // URL must start with a scheme. - URL_NO_SCHEME = 96; - - // URL should end in a valid domain extension, such as .com or .net. - URL_NO_TOP_LEVEL_DOMAIN = 97; - - // URL must not end with a path. - URL_PATH_NOT_ALLOWED = 98; - - // URL must not specify a port. - URL_PORT_NOT_ALLOWED = 99; - - // URL must not contain a query. - URL_QUERY_NOT_ALLOWED = 100; - - // A url scheme is not allowed in front of tag in tracking url template - // (for example, http://{lpurl}) - URL_SCHEME_BEFORE_EXPANDED_DYNAMIC_SEARCH_AD_TAG = 102; - - // The user does not have permissions to create a template ad for the given - // template. - USER_DOES_NOT_HAVE_ACCESS_TO_TEMPLATE = 103; - - // Expandable setting is inconsistent/wrong. For example, an AdX ad is - // invalid if it has a expandable vendor format but no expanding directions - // specified, or expanding directions is specified, but the vendor format is - // not expandable. - INCONSISTENT_EXPANDABLE_SETTINGS = 104; - - // Format is invalid - INVALID_FORMAT = 105; - - // The text of this field did not match a pattern of allowed values. - INVALID_FIELD_TEXT = 106; - - // Template element is mising - ELEMENT_NOT_PRESENT = 107; - - // Error occurred during image processing - IMAGE_ERROR = 108; - - // The value is not within the valid range - VALUE_NOT_IN_RANGE = 109; - - // Template element field is not present - FIELD_NOT_PRESENT = 110; - - // Address is incomplete - ADDRESS_NOT_COMPLETE = 111; - - // Invalid address - ADDRESS_INVALID = 112; - - // Error retrieving specified video - VIDEO_RETRIEVAL_ERROR = 113; - - // Error processing audio - AUDIO_ERROR = 114; - - // Display URL is incorrect for YouTube PYV ads - INVALID_YOUTUBE_DISPLAY_URL = 115; - - // Too many product Images in GmailAd - TOO_MANY_PRODUCT_IMAGES = 116; - - // Too many product Videos in GmailAd - TOO_MANY_PRODUCT_VIDEOS = 117; - - // The device preference is not compatible with the ad type - INCOMPATIBLE_AD_TYPE_AND_DEVICE_PREFERENCE = 118; - - // Call tracking is not supported for specified country. - CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY = 119; - - // Carrier specific short number is not allowed. - CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED = 120; - - // Specified phone number type is disallowed. - DISALLOWED_NUMBER_TYPE = 121; - - // Phone number not supported for country. - PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY = 122; - - // Phone number not supported with call tracking enabled for country. - PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY = 123; - - // Premium rate phone number is not allowed. - PREMIUM_RATE_NUMBER_NOT_ALLOWED = 124; - - // Vanity phone number is not allowed. - VANITY_PHONE_NUMBER_NOT_ALLOWED = 125; - - // Invalid call conversion type id. - INVALID_CALL_CONVERSION_TYPE_ID = 126; - - // Cannot disable call conversion and set conversion type id. - CANNOT_DISABLE_CALL_CONVERSION_AND_SET_CONVERSION_TYPE_ID = 127; - - // Cannot set path2 without path1. - CANNOT_SET_PATH2_WITHOUT_PATH1 = 128; - - // Missing domain name in campaign setting when adding expanded dynamic - // search ad. - MISSING_DYNAMIC_SEARCH_ADS_SETTING_DOMAIN_NAME = 129; - - // The associated ad is not compatible with restriction type. - INCOMPATIBLE_WITH_RESTRICTION_TYPE = 130; - - // Consent for call recording is required for creating/updating call only - // ads. See https://support.google.com/google-ads/answer/7412639. - CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED = 131; - - // Either an image or a media bundle is required in a display upload ad. - MISSING_IMAGE_OR_MEDIA_BUNDLE = 132; - - // The display upload product type is not supported in this campaign. - PRODUCT_TYPE_NOT_SUPPORTED_IN_THIS_CAMPAIGN = 133; - - // The default value of an ad placeholder can not be the empty string. - PLACEHOLDER_CANNOT_HAVE_EMPTY_DEFAULT_VALUE = 134; - - // Ad placeholders with countdown functions must not have a default value. - PLACEHOLDER_COUNTDOWN_FUNCTION_CANNOT_HAVE_DEFAULT_VALUE = 135; - - // A previous ad placeholder that had a default value was found which means - // that all (non-countdown) placeholders must have a default value. This - // ad placeholder does not have a default value. - PLACEHOLDER_DEFAULT_VALUE_MISSING = 136; - - // A previous ad placeholder that did not have a default value was found - // which means that no placeholders may have a default value. This - // ad placeholder does have a default value. - UNEXPECTED_PLACEHOLDER_DEFAULT_VALUE = 137; - - // Two ad customizers may not be directly adjacent in an ad text. They must - // be separated by at least one character. - AD_CUSTOMIZERS_MAY_NOT_BE_ADJACENT = 138; - - // The ad is not associated with any enabled AdGroupAd, and cannot be - // updated. - UPDATING_AD_WITH_NO_ENABLED_ASSOCIATION = 139; - - // Call Ad verification url and final url don't have same domain. - CALL_AD_VERIFICATION_URL_FINAL_URL_DOES_NOT_HAVE_SAME_DOMAIN = 140; - - // Final url and verification url cannot both be empty for call ads. - CALL_AD_FINAL_URL_AND_VERIFICATION_URL_CANNOT_BOTH_BE_EMPTY = 154; - - // Too many ad customizers in one asset. - TOO_MANY_AD_CUSTOMIZERS = 141; - - // The ad customizer tag is recognized, but the format is invalid. - INVALID_AD_CUSTOMIZER_FORMAT = 142; - - // Customizer tags cannot be nested. - NESTED_AD_CUSTOMIZER_SYNTAX = 143; - - // The ad customizer syntax used in the ad is not supported. - UNSUPPORTED_AD_CUSTOMIZER_SYNTAX = 144; - - // There exists unpaired brace in the ad customizer tag. - UNPAIRED_BRACE_IN_AD_CUSTOMIZER_TAG = 145; - - // More than one type of countdown tag exists among all text lines. - MORE_THAN_ONE_COUNTDOWN_TAG_TYPE_EXISTS = 146; - - // Date time in the countdown tag is invalid. - DATE_TIME_IN_COUNTDOWN_TAG_IS_INVALID = 147; - - // Date time in the countdown tag is in the past. - DATE_TIME_IN_COUNTDOWN_TAG_IS_PAST = 148; - - // Cannot recognize the ad customizer tag. - UNRECOGNIZED_AD_CUSTOMIZER_TAG_FOUND = 149; - - // Customizer type forbidden for this field. - CUSTOMIZER_TYPE_FORBIDDEN_FOR_FIELD = 150; - - // Customizer attribute name is invalid. - INVALID_CUSTOMIZER_ATTRIBUTE_NAME = 151; - - // App store value does not match the value of the app store in the app - // specified in the campaign. - STORE_MISMATCH = 152; - - // Missing required image aspect ratio. - MISSING_REQUIRED_IMAGE_ASPECT_RATIO = 153; - - // Aspect ratios mismatch between different assets. - MISMATCHED_ASPECT_RATIOS = 155; - - // Images must be unique between different carousel card assets. - DUPLICATE_IMAGE_ACROSS_CAROUSEL_CARDS = 156; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/ad_group_ad_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/ad_group_ad_error.proto deleted file mode 100644 index f9d51cdda..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/ad_group_ad_error.proto +++ /dev/null @@ -1,78 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAdErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing ad group ad errors. - -// Container for enum describing possible ad group ad errors. -message AdGroupAdErrorEnum { - // Enum describing possible ad group ad errors. - enum AdGroupAdError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // No link found between the adgroup ad and the label. - AD_GROUP_AD_LABEL_DOES_NOT_EXIST = 2; - - // The label has already been attached to the adgroup ad. - AD_GROUP_AD_LABEL_ALREADY_EXISTS = 3; - - // The specified ad was not found in the adgroup - AD_NOT_UNDER_ADGROUP = 4; - - // Removed ads may not be modified - CANNOT_OPERATE_ON_REMOVED_ADGROUPAD = 5; - - // An ad of this type is deprecated and cannot be created. Only deletions - // are permitted. - CANNOT_CREATE_DEPRECATED_ADS = 6; - - // Text ads are deprecated and cannot be created. Use expanded text ads - // instead. - CANNOT_CREATE_TEXT_ADS = 7; - - // A required field was not specified or is an empty string. - EMPTY_FIELD = 8; - - // An ad may only be modified once per call - RESOURCE_REFERENCED_IN_MULTIPLE_OPS = 9; - - // AdGroupAds with the given ad type cannot be paused. - AD_TYPE_CANNOT_BE_PAUSED = 10; - - // AdGroupAds with the given ad type cannot be removed. - AD_TYPE_CANNOT_BE_REMOVED = 11; - - // An ad of this type is deprecated and cannot be updated. Only removals - // are permitted. - CANNOT_UPDATE_DEPRECATED_ADS = 12; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/ad_group_bid_modifier_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/ad_group_bid_modifier_error.proto deleted file mode 100644 index 66e567f38..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/ad_group_bid_modifier_error.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupBidModifierErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing ad group bid modifier errors. - -// Container for enum describing possible ad group bid modifier errors. -message AdGroupBidModifierErrorEnum { - // Enum describing possible ad group bid modifier errors. - enum AdGroupBidModifierError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The criterion ID does not support bid modification. - CRITERION_ID_NOT_SUPPORTED = 2; - - // Cannot override the bid modifier for the given criterion ID if the parent - // campaign is opted out of the same criterion. - CANNOT_OVERRIDE_OPTED_OUT_CAMPAIGN_CRITERION_BID_MODIFIER = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/ad_group_criterion_customizer_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/ad_group_criterion_customizer_error.proto deleted file mode 100644 index dc33981f7..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/ad_group_criterion_customizer_error.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionCustomizerErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing ad group criterion customizer errors. - -// Container for enum describing possible ad group criterion customizer errors. -message AdGroupCriterionCustomizerErrorEnum { - // Enum describing possible ad group criterion customizer errors. - enum AdGroupCriterionCustomizerError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Only keyword type criterion is allowed to link customizer attribute. - CRITERION_IS_NOT_KEYWORD = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/ad_group_criterion_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/ad_group_criterion_error.proto deleted file mode 100644 index 812ae1869..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/ad_group_criterion_error.proto +++ /dev/null @@ -1,135 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing ad group criterion errors. - -// Container for enum describing possible ad group criterion errors. -message AdGroupCriterionErrorEnum { - // Enum describing possible ad group criterion errors. - enum AdGroupCriterionError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // No link found between the AdGroupCriterion and the label. - AD_GROUP_CRITERION_LABEL_DOES_NOT_EXIST = 2; - - // The label has already been attached to the AdGroupCriterion. - AD_GROUP_CRITERION_LABEL_ALREADY_EXISTS = 3; - - // Negative AdGroupCriterion cannot have labels. - CANNOT_ADD_LABEL_TO_NEGATIVE_CRITERION = 4; - - // Too many operations for a single call. - TOO_MANY_OPERATIONS = 5; - - // Negative ad group criteria are not updateable. - CANT_UPDATE_NEGATIVE = 6; - - // Concrete type of criterion (keyword v.s. placement) is required for ADD - // and SET operations. - CONCRETE_TYPE_REQUIRED = 7; - - // Bid is incompatible with ad group's bidding settings. - BID_INCOMPATIBLE_WITH_ADGROUP = 8; - - // Cannot target and exclude the same criterion at once. - CANNOT_TARGET_AND_EXCLUDE = 9; - - // The URL of a placement is invalid. - ILLEGAL_URL = 10; - - // Keyword text was invalid. - INVALID_KEYWORD_TEXT = 11; - - // Destination URL was invalid. - INVALID_DESTINATION_URL = 12; - - // The destination url must contain at least one tag (for example, {lpurl}) - MISSING_DESTINATION_URL_TAG = 13; - - // Keyword-level cpm bid is not supported - KEYWORD_LEVEL_BID_NOT_SUPPORTED_FOR_MANUALCPM = 14; - - // For example, cannot add a biddable ad group criterion that had been - // removed. - INVALID_USER_STATUS = 15; - - // Criteria type cannot be targeted for the ad group. Either the account is - // restricted to keywords only, the criteria type is incompatible with the - // campaign's bidding strategy, or the criteria type can only be applied to - // campaigns. - CANNOT_ADD_CRITERIA_TYPE = 16; - - // Criteria type cannot be excluded for the ad group. Refer to the - // documentation for a specific criterion to check if it is excludable. - CANNOT_EXCLUDE_CRITERIA_TYPE = 17; - - // Partial failure is not supported for shopping campaign mutate operations. - CAMPAIGN_TYPE_NOT_COMPATIBLE_WITH_PARTIAL_FAILURE = 27; - - // Operations in the mutate request changes too many shopping ad groups. - // Split requests for multiple shopping ad groups across multiple - // requests. - OPERATIONS_FOR_TOO_MANY_SHOPPING_ADGROUPS = 28; - - // Not allowed to modify url fields of an ad group criterion if there are - // duplicate elements for that ad group criterion in the request. - CANNOT_MODIFY_URL_FIELDS_WITH_DUPLICATE_ELEMENTS = 29; - - // Cannot set url fields without also setting final urls. - CANNOT_SET_WITHOUT_FINAL_URLS = 30; - - // Cannot clear final urls if final mobile urls exist. - CANNOT_CLEAR_FINAL_URLS_IF_FINAL_MOBILE_URLS_EXIST = 31; - - // Cannot clear final urls if final app urls exist. - CANNOT_CLEAR_FINAL_URLS_IF_FINAL_APP_URLS_EXIST = 32; - - // Cannot clear final urls if tracking url template exists. - CANNOT_CLEAR_FINAL_URLS_IF_TRACKING_URL_TEMPLATE_EXISTS = 33; - - // Cannot clear final urls if url custom parameters exist. - CANNOT_CLEAR_FINAL_URLS_IF_URL_CUSTOM_PARAMETERS_EXIST = 34; - - // Cannot set both destination url and final urls. - CANNOT_SET_BOTH_DESTINATION_URL_AND_FINAL_URLS = 35; - - // Cannot set both destination url and tracking url template. - CANNOT_SET_BOTH_DESTINATION_URL_AND_TRACKING_URL_TEMPLATE = 36; - - // Final urls are not supported for this criterion type. - FINAL_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE = 37; - - // Final mobile urls are not supported for this criterion type. - FINAL_MOBILE_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE = 38; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/ad_group_customizer_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/ad_group_customizer_error.proto deleted file mode 100644 index 2c819e64e..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/ad_group_customizer_error.proto +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCustomizerErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing ad group customizer errors. - -// Container for enum describing possible ad group customizer errors. -message AdGroupCustomizerErrorEnum { - // Enum describing possible ad group customizer errors. - enum AdGroupCustomizerError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/ad_group_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/ad_group_error.proto deleted file mode 100644 index 8bdd8cd5b..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/ad_group_error.proto +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing ad group errors. - -// Container for enum describing possible ad group errors. -message AdGroupErrorEnum { - // Enum describing possible ad group errors. - enum AdGroupError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // AdGroup with the same name already exists for the campaign. - DUPLICATE_ADGROUP_NAME = 2; - - // AdGroup name is not valid. - INVALID_ADGROUP_NAME = 3; - - // Advertiser is not allowed to target sites or set site bids that are not - // on the Google Search Network. - ADVERTISER_NOT_ON_CONTENT_NETWORK = 5; - - // Bid amount is too big. - BID_TOO_BIG = 6; - - // AdGroup bid does not match the campaign's bidding strategy. - BID_TYPE_AND_BIDDING_STRATEGY_MISMATCH = 7; - - // AdGroup name is required for Add. - MISSING_ADGROUP_NAME = 8; - - // No link found between the ad group and the label. - ADGROUP_LABEL_DOES_NOT_EXIST = 9; - - // The label has already been attached to the ad group. - ADGROUP_LABEL_ALREADY_EXISTS = 10; - - // The CriterionTypeGroup is not supported for the content bid dimension. - INVALID_CONTENT_BID_CRITERION_TYPE_GROUP = 11; - - // The ad group type is not compatible with the campaign channel type. - AD_GROUP_TYPE_NOT_VALID_FOR_ADVERTISING_CHANNEL_TYPE = 12; - - // The ad group type is not supported in the country of sale of the - // campaign. - ADGROUP_TYPE_NOT_SUPPORTED_FOR_CAMPAIGN_SALES_COUNTRY = 13; - - // Ad groups of AdGroupType.SEARCH_DYNAMIC_ADS can only be added to - // campaigns that have DynamicSearchAdsSetting attached. - CANNOT_ADD_ADGROUP_OF_TYPE_DSA_TO_CAMPAIGN_WITHOUT_DSA_SETTING = 14; - - // Promoted hotels ad groups are only available to customers on the - // allow-list. - PROMOTED_HOTEL_AD_GROUPS_NOT_AVAILABLE_FOR_CUSTOMER = 15; - - // The field type cannot be excluded because an active ad group-asset link - // of this type exists. - INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE = 16; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/ad_group_feed_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/ad_group_feed_error.proto deleted file mode 100644 index 656a695ed..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/ad_group_feed_error.proto +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupFeedErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing ad group feed errors. - -// Container for enum describing possible ad group feed errors. -message AdGroupFeedErrorEnum { - // Enum describing possible ad group feed errors. - enum AdGroupFeedError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // An active feed already exists for this ad group and place holder type. - FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE = 2; - - // The specified feed is removed. - CANNOT_CREATE_FOR_REMOVED_FEED = 3; - - // The AdGroupFeed already exists. UPDATE operation should be used to modify - // the existing AdGroupFeed. - ADGROUP_FEED_ALREADY_EXISTS = 4; - - // Cannot operate on removed AdGroupFeed. - CANNOT_OPERATE_ON_REMOVED_ADGROUP_FEED = 5; - - // Invalid placeholder type. - INVALID_PLACEHOLDER_TYPE = 6; - - // Feed mapping for this placeholder type does not exist. - MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE = 7; - - // Location AdGroupFeeds cannot be created unless there is a location - // CustomerFeed for the specified feed. - NO_EXISTING_LOCATION_CUSTOMER_FEED = 8; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/ad_parameter_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/ad_parameter_error.proto deleted file mode 100644 index 4b0dc08da..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/ad_parameter_error.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdParameterErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing ad parameter errors. - -// Container for enum describing possible ad parameter errors. -message AdParameterErrorEnum { - // Enum describing possible ad parameter errors. - enum AdParameterError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The ad group criterion must be a keyword criterion. - AD_GROUP_CRITERION_MUST_BE_KEYWORD = 2; - - // The insertion text is invalid. - INVALID_INSERTION_TEXT_FORMAT = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/ad_sharing_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/ad_sharing_error.proto deleted file mode 100644 index a8cb38897..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/ad_sharing_error.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdSharingErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing ad sharing errors. - -// Container for enum describing possible ad sharing errors. -message AdSharingErrorEnum { - // Enum describing possible ad sharing errors. - enum AdSharingError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Error resulting in attempting to add an Ad to an AdGroup that already - // contains the Ad. - AD_GROUP_ALREADY_CONTAINS_AD = 2; - - // Ad is not compatible with the AdGroup it is being shared with. - INCOMPATIBLE_AD_UNDER_AD_GROUP = 3; - - // Cannot add AdGroupAd on inactive Ad. - CANNOT_SHARE_INACTIVE_AD = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/adx_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/adx_error.proto deleted file mode 100644 index febcd53f1..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/adx_error.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdxErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing adx errors. - -// Container for enum describing possible adx errors. -message AdxErrorEnum { - // Enum describing possible adx errors. - enum AdxError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Attempt to use non-AdX feature by AdX customer. - UNSUPPORTED_FEATURE = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/asset_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/asset_error.proto deleted file mode 100644 index af2ad53e4..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/asset_error.proto +++ /dev/null @@ -1,154 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AssetErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing asset errors. - -// Container for enum describing possible asset errors. -message AssetErrorEnum { - // Enum describing possible asset errors. - enum AssetError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The customer is not is not on the allow-list for this asset type. - CUSTOMER_NOT_ON_ALLOWLIST_FOR_ASSET_TYPE = 13; - - // Assets are duplicated across operations. - DUPLICATE_ASSET = 3; - - // The asset name is duplicated, either across operations or with an - // existing asset. - DUPLICATE_ASSET_NAME = 4; - - // The Asset.asset_data oneof is empty. - ASSET_DATA_IS_MISSING = 5; - - // The asset has a name which is different from an existing duplicate that - // represents the same content. - CANNOT_MODIFY_ASSET_NAME = 6; - - // The field cannot be set for this asset type. - FIELD_INCOMPATIBLE_WITH_ASSET_TYPE = 7; - - // Call to action must come from the list of supported values. - INVALID_CALL_TO_ACTION_TEXT = 8; - - // A lead form asset is created with an invalid combination of input fields. - LEAD_FORM_INVALID_FIELDS_COMBINATION = 9; - - // Lead forms require that the Terms of Service have been agreed to before - // mutates can be executed. - LEAD_FORM_MISSING_AGREEMENT = 10; - - // Asset status is invalid in this operation. - INVALID_ASSET_STATUS = 11; - - // The field cannot be modified by this asset type. - FIELD_CANNOT_BE_MODIFIED_FOR_ASSET_TYPE = 12; - - // Ad schedules for the same asset cannot overlap. - SCHEDULES_CANNOT_OVERLAP = 14; - - // Cannot set both percent off and money amount off fields of promotion - // asset. - PROMOTION_CANNOT_SET_PERCENT_OFF_AND_MONEY_AMOUNT_OFF = 15; - - // Cannot set both promotion code and orders over amount fields of promotion - // asset. - PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT = 16; - - // The field has too many decimal places specified. - TOO_MANY_DECIMAL_PLACES_SPECIFIED = 17; - - // Duplicate assets across operations, which have identical Asset.asset_data - // oneof, cannot have different asset level fields for asset types which are - // deduped. - DUPLICATE_ASSETS_WITH_DIFFERENT_FIELD_VALUE = 18; - - // Carrier specific short number is not allowed. - CALL_CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED = 19; - - // Customer consent required for call recording Terms of Service. - CALL_CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED = 20; - - // The type of the specified phone number is not allowed. - CALL_DISALLOWED_NUMBER_TYPE = 21; - - // If the default call_conversion_action is not used, the customer must have - // a ConversionAction with the same id and the ConversionAction must be call - // conversion type. - CALL_INVALID_CONVERSION_ACTION = 22; - - // The country code of the phone number is invalid. - CALL_INVALID_COUNTRY_CODE = 23; - - // The format of the phone number is incorrect. - CALL_INVALID_DOMESTIC_PHONE_NUMBER_FORMAT = 24; - - // The input phone number is not a valid phone number. - CALL_INVALID_PHONE_NUMBER = 25; - - // The phone number is not supported for country. - CALL_PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY = 26; - - // Premium rate phone number is not allowed. - CALL_PREMIUM_RATE_NUMBER_NOT_ALLOWED = 27; - - // Vanity phone number is not allowed. - CALL_VANITY_PHONE_NUMBER_NOT_ALLOWED = 28; - - // PriceOffering cannot have the same value for header and description. - PRICE_HEADER_SAME_AS_DESCRIPTION = 29; - - // AppId is invalid. - MOBILE_APP_INVALID_APP_ID = 30; - - // Invalid App download URL in final URLs. - MOBILE_APP_INVALID_FINAL_URL_FOR_APP_DOWNLOAD_URL = 31; - - // Asset name is required for the asset type. - NAME_REQUIRED_FOR_ASSET_TYPE = 32; - - // Legacy qualifying questions cannot be in the same Lead Form as - // custom questions. - LEAD_FORM_LEGACY_QUALIFYING_QUESTIONS_DISALLOWED = 33; - - // Unique name is required for this asset type. - NAME_CONFLICT_FOR_ASSET_TYPE = 34; - - // Cannot modify asset source. - CANNOT_MODIFY_ASSET_SOURCE = 35; - - // User can not modify the automatically created asset. - CANNOT_MODIFY_AUTOMATICALLY_CREATED_ASSET = 36; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/asset_group_asset_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/asset_group_asset_error.proto deleted file mode 100644 index cd8928c53..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/asset_group_asset_error.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupAssetErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing asset group asset errors. - -// Container for enum describing possible asset group asset errors. -message AssetGroupAssetErrorEnum { - // Enum describing possible asset group asset errors. - enum AssetGroupAssetError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Cannot add duplicated asset group asset. - DUPLICATE_RESOURCE = 2; - - // Expandable tags are not allowed in description assets. - EXPANDABLE_TAGS_NOT_ALLOWED_IN_DESCRIPTION = 3; - - // Ad customizers are not supported in assetgroup's text assets. - AD_CUSTOMIZER_NOT_SUPPORTED = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/asset_group_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/asset_group_error.proto deleted file mode 100644 index a44428e70..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/asset_group_error.proto +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing asset group errors. - -// Container for enum describing possible asset group errors. -message AssetGroupErrorEnum { - // Enum describing possible asset group errors. - enum AssetGroupError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Each asset group in a single campaign must have a unique name. - DUPLICATE_NAME = 2; - - // Cannot add asset group for the campaign type. - CANNOT_ADD_ASSET_GROUP_FOR_CAMPAIGN_TYPE = 3; - - // Not enough headline asset for a valid asset group. - NOT_ENOUGH_HEADLINE_ASSET = 4; - - // Not enough long headline asset for a valid asset group. - NOT_ENOUGH_LONG_HEADLINE_ASSET = 5; - - // Not enough description headline asset for a valid asset group. - NOT_ENOUGH_DESCRIPTION_ASSET = 6; - - // Not enough business name asset for a valid asset group. - NOT_ENOUGH_BUSINESS_NAME_ASSET = 7; - - // Not enough marketing image asset for a valid asset group. - NOT_ENOUGH_MARKETING_IMAGE_ASSET = 8; - - // Not enough square marketing image asset for a valid asset group. - NOT_ENOUGH_SQUARE_MARKETING_IMAGE_ASSET = 9; - - // Not enough logo asset for a valid asset group. - NOT_ENOUGH_LOGO_ASSET = 10; - - // Final url and shopping merchant url does not have the same domain. - FINAL_URL_SHOPPING_MERCHANT_HOME_PAGE_URL_DOMAINS_DIFFER = 11; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/asset_group_listing_group_filter_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/asset_group_listing_group_filter_error.proto deleted file mode 100644 index 8d0c3451d..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/asset_group_listing_group_filter_error.proto +++ /dev/null @@ -1,83 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupListingGroupFilterErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing asset group asset errors. - -// Container for enum describing possible asset group listing group filter -// errors. -message AssetGroupListingGroupFilterErrorEnum { - // Enum describing possible asset group listing group filter errors. - enum AssetGroupListingGroupFilterError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Listing group tree is too deep. - TREE_TOO_DEEP = 2; - - // Listing Group UNIT node cannot have children. - UNIT_CANNOT_HAVE_CHILDREN = 3; - - // Listing Group SUBDIVISION node must have everything else child. - SUBDIVISION_MUST_HAVE_EVERYTHING_ELSE_CHILD = 4; - - // Dimension type of Listing Group must be the same as that of its siblings. - DIFFERENT_DIMENSION_TYPE_BETWEEN_SIBLINGS = 5; - - // The sibling Listing Groups target exactly the same dimension value. - SAME_DIMENSION_VALUE_BETWEEN_SIBLINGS = 6; - - // The dimension type is the same as one of the ancestor Listing Groups. - SAME_DIMENSION_TYPE_BETWEEN_ANCESTORS = 7; - - // Each Listing Group tree must have a single root. - MULTIPLE_ROOTS = 8; - - // Invalid Listing Group dimension value. - INVALID_DIMENSION_VALUE = 9; - - // Hierarchical dimension must refine a dimension of the same type. - MUST_REFINE_HIERARCHICAL_PARENT_TYPE = 10; - - // Invalid Product Bidding Category. - INVALID_PRODUCT_BIDDING_CATEGORY = 11; - - // Modifying case value is allowed only while updating the entire subtree at - // the same time. - CHANGING_CASE_VALUE_WITH_CHILDREN = 12; - - // Subdivision node has children which must be removed first. - SUBDIVISION_HAS_CHILDREN = 13; - - // Dimension can't subdivide everything-else node in its own hierarchy. - CANNOT_REFINE_HIERARCHICAL_EVERYTHING_ELSE = 14; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/asset_link_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/asset_link_error.proto deleted file mode 100644 index e671f66fc..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/asset_link_error.proto +++ /dev/null @@ -1,119 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AssetLinkErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing asset link errors. - -// Container for enum describing possible asset link errors. -message AssetLinkErrorEnum { - // Enum describing possible asset link errors. - enum AssetLinkError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Pinning is not supported for the given asset link field. - PINNING_UNSUPPORTED = 2; - - // The given field type is not supported to be added directly through asset - // links. - UNSUPPORTED_FIELD_TYPE = 3; - - // The given asset's type and the specified field type are incompatible. - FIELD_TYPE_INCOMPATIBLE_WITH_ASSET_TYPE = 4; - - // The specified field type is incompatible with the given campaign type. - FIELD_TYPE_INCOMPATIBLE_WITH_CAMPAIGN_TYPE = 5; - - // The campaign advertising channel type cannot be associated with the given - // asset due to channel-based restrictions on the asset's fields. - INCOMPATIBLE_ADVERTISING_CHANNEL_TYPE = 6; - - // The image asset provided is not within the dimension constraints - // specified for the submitted asset field. - IMAGE_NOT_WITHIN_SPECIFIED_DIMENSION_RANGE = 7; - - // The pinned field is not valid for the submitted asset field. - INVALID_PINNED_FIELD = 8; - - // The media bundle asset provided is too large for the submitted asset - // field. - MEDIA_BUNDLE_ASSET_FILE_SIZE_TOO_LARGE = 9; - - // Not enough assets are available for use with other fields since other - // assets are pinned to specific fields. - NOT_ENOUGH_AVAILABLE_ASSET_LINKS_FOR_VALID_COMBINATION = 10; - - // Not enough assets with fallback are available. When validating the - // minimum number of assets, assets without fallback (for example, assets - // that contain location tag without default value "{LOCATION(City)}") will - // not be counted. - NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK = 11; - - // This is a combination of the - // NOT_ENOUGH_AVAILABLE_ASSET_LINKS_FOR_VALID_COMBINATION and - // NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK errors. Not enough assets - // with fallback are available since some assets are pinned. - NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK_FOR_VALID_COMBINATION = 12; - - // The YouTube video referenced in the provided asset has been removed. - YOUTUBE_VIDEO_REMOVED = 13; - - // The YouTube video referenced in the provided asset is too long for the - // field submitted. - YOUTUBE_VIDEO_TOO_LONG = 14; - - // The YouTube video referenced in the provided asset is too short for the - // field submitted. - YOUTUBE_VIDEO_TOO_SHORT = 15; - - // The specified field type is excluded for given campaign or ad group. - EXCLUDED_PARENT_FIELD_TYPE = 16; - - // The status is invalid for the operation specified. - INVALID_STATUS = 17; - - // The YouTube video referenced in the provided asset has unknown duration. - // This might be the case for a livestream video or a video being currently - // uploaded to YouTube. In both cases, the video duration should eventually - // get resolved. - YOUTUBE_VIDEO_DURATION_NOT_DEFINED = 18; - - // User cannot create automatically created links. - CANNOT_CREATE_AUTOMATICALLY_CREATED_LINKS = 19; - - // Advertiser links cannot link to automatically created asset. - CANNOT_LINK_TO_AUTOMATICALLY_CREATED_ASSET = 20; - - // Automatically created links cannot be changed into adveritser links or - // the reverse. - CANNOT_MODIFY_ASSET_LINK_SOURCE = 21; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/asset_set_asset_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/asset_set_asset_error.proto deleted file mode 100644 index 7f6098126..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/asset_set_asset_error.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetAssetErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing asset set asset errors. - -// Container for enum describing possible asset set asset errors. -message AssetSetAssetErrorEnum { - // Enum describing possible asset set asset errors. - enum AssetSetAssetError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The asset type is not eligible to be linked to the specific type of asset - // set. - INVALID_ASSET_TYPE = 2; - - // The asset set type is not eligible to contain the specified type of - // assets. - INVALID_ASSET_SET_TYPE = 3; - - // The asset contains duplicate external key with another asset in the asset - // set. - DUPLICATE_EXTERNAL_KEY = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/asset_set_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/asset_set_error.proto deleted file mode 100644 index 82eeba948..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/asset_set_error.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing asset set errors. - -// Container for enum describing possible asset set errors. -message AssetSetErrorEnum { - // Enum describing possible asset set errors. - enum AssetSetError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The asset set name matches that of another enabled asset set. - DUPLICATE_ASSET_SET_NAME = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/asset_set_link_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/asset_set_link_error.proto deleted file mode 100644 index 688304466..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/asset_set_link_error.proto +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetLinkErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing asset set link errors. - -// Container for enum describing possible asset set link errors. -message AssetSetLinkErrorEnum { - // Enum describing possible asset set link errors. - enum AssetSetLinkError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Advertising channel type cannot be attached to the asset set due to - // channel-based restrictions. - INCOMPATIBLE_ADVERTISING_CHANNEL_TYPE = 2; - - // For this asset set type, only one campaign to feed linkage is allowed. - DUPLICATE_FEED_LINK = 3; - - // The asset set type and campaign type are incompatible. - INCOMPATIBLE_ASSET_SET_TYPE_WITH_CAMPAIGN_TYPE = 4; - - // Cannot link duplicate asset sets to the same campaign. - DUPLICATE_ASSET_SET_LINK = 5; - - // Cannot remove the asset set link. If a campaign is linked with only one - // asset set and you attempt to unlink them, this error will be triggered. - ASSET_SET_LINK_CANNOT_BE_REMOVED = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/audience_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/audience_error.proto deleted file mode 100644 index abe3a87f7..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/audience_error.proto +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AudienceErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing audience errors. - -// Container for enum describing possible audience errors. -message AudienceErrorEnum { - // Enum describing possible audience errors. - enum AudienceError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // An audience with this name already exists. - NAME_ALREADY_IN_USE = 2; - - // A dimension within the audience definition is not valid. - DIMENSION_INVALID = 3; - - // One of the audience segment added is not found. - AUDIENCE_SEGMENT_NOT_FOUND = 4; - - // One of the audience segment type is not supported. - AUDIENCE_SEGMENT_TYPE_NOT_SUPPORTED = 5; - - // The same segment already exists in this audience. - DUPLICATE_AUDIENCE_SEGMENT = 6; - - // Audience can't have more than allowed number segments. - TOO_MANY_SEGMENTS = 7; - - // Audience can't have multiple dimensions of same type. - TOO_MANY_DIMENSIONS_OF_SAME_TYPE = 8; - - // The audience cannot be removed, because it is currently used in an - // ad group criterion or asset group signal in an (enabled or paused) - // ad group or campaign. - IN_USE = 9; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/audience_insights_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/audience_insights_error.proto deleted file mode 100644 index 0d7a3777f..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/audience_insights_error.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AudienceInsightsErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing errors generated from AudienceInsightsService. - -// Container for enum describing possible errors returned from -// the AudienceInsightsService. -message AudienceInsightsErrorEnum { - // Enum describing possible errors from AudienceInsightsService. - enum AudienceInsightsError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The dimensions cannot be used with topic audience combinations. - DIMENSION_INCOMPATIBLE_WITH_TOPIC_AUDIENCE_COMBINATIONS = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/authentication_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/authentication_error.proto deleted file mode 100644 index d46292bcf..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/authentication_error.proto +++ /dev/null @@ -1,101 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AuthenticationErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing authentication errors. - -// Container for enum describing possible authentication errors. -message AuthenticationErrorEnum { - // Enum describing possible authentication errors. - enum AuthenticationError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Authentication of the request failed. - AUTHENTICATION_ERROR = 2; - - // Client customer ID is not a number. - CLIENT_CUSTOMER_ID_INVALID = 5; - - // No customer found for the provided customer ID. - CUSTOMER_NOT_FOUND = 8; - - // Client's Google account is deleted. - GOOGLE_ACCOUNT_DELETED = 9; - - // Google account login token in the cookie is invalid. - GOOGLE_ACCOUNT_COOKIE_INVALID = 10; - - // A problem occurred during Google account authentication. - GOOGLE_ACCOUNT_AUTHENTICATION_FAILED = 25; - - // The user in the Google account login token does not match the user ID in - // the cookie. - GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH = 12; - - // Login cookie is required for authentication. - LOGIN_COOKIE_REQUIRED = 13; - - // User in the cookie is not a valid Ads user. - NOT_ADS_USER = 14; - - // OAuth token in the header is not valid. - OAUTH_TOKEN_INVALID = 15; - - // OAuth token in the header has expired. - OAUTH_TOKEN_EXPIRED = 16; - - // OAuth token in the header has been disabled. - OAUTH_TOKEN_DISABLED = 17; - - // OAuth token in the header has been revoked. - OAUTH_TOKEN_REVOKED = 18; - - // OAuth token HTTP header is malformed. - OAUTH_TOKEN_HEADER_INVALID = 19; - - // Login cookie is not valid. - LOGIN_COOKIE_INVALID = 20; - - // User ID in the header is not a valid ID. - USER_ID_INVALID = 22; - - // An account administrator changed this account's authentication settings. - // To access this Google Ads account, enable 2-Step Verification in your - // Google account at https://www.google.com/landing/2step. - TWO_STEP_VERIFICATION_NOT_ENROLLED = 23; - - // An account administrator changed this account's authentication settings. - // To access this Google Ads account, enable Advanced Protection in your - // Google account at https://landing.google.com/advancedprotection. - ADVANCED_PROTECTION_NOT_ENROLLED = 24; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/authorization_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/authorization_error.proto deleted file mode 100644 index 815fc3d83..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/authorization_error.proto +++ /dev/null @@ -1,93 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AuthorizationErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing authorization errors. - -// Container for enum describing possible authorization errors. -message AuthorizationErrorEnum { - // Enum describing possible authorization errors. - enum AuthorizationError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // User doesn't have permission to access customer. Note: If you're - // accessing a client customer, the manager's customer ID must be set in the - // `login-customer-id` header. Learn more at - // https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid - USER_PERMISSION_DENIED = 2; - - // The developer token is not on the allow-list. - DEVELOPER_TOKEN_NOT_ON_ALLOWLIST = 13; - - // The developer token is not allowed with the project sent in the request. - DEVELOPER_TOKEN_PROHIBITED = 4; - - // The Google Cloud project sent in the request does not have permission to - // access the api. - PROJECT_DISABLED = 5; - - // Authorization of the client failed. - AUTHORIZATION_ERROR = 6; - - // The user does not have permission to perform this action - // (for example, ADD, UPDATE, REMOVE) on the resource or call a method. - ACTION_NOT_PERMITTED = 7; - - // Signup not complete. - INCOMPLETE_SIGNUP = 8; - - // The customer can't be used because it isn't enabled. - CUSTOMER_NOT_ENABLED = 24; - - // The developer must sign the terms of service. They can be found here: - // ads.google.com/aw/apicenter - MISSING_TOS = 9; - - // The developer token is not approved. Non-approved developer tokens can - // only be used with test accounts. - DEVELOPER_TOKEN_NOT_APPROVED = 10; - - // The login customer specified does not have access to the account - // specified, so the request is invalid. - INVALID_LOGIN_CUSTOMER_ID_SERVING_CUSTOMER_ID_COMBINATION = 11; - - // The developer specified does not have access to the service. - SERVICE_ACCESS_DENIED = 12; - - // The customer (or login customer) isn't in Google Ads. It belongs to - // another ads system. - ACCESS_DENIED_FOR_ACCOUNT_TYPE = 25; - - // The developer does not have access to the metrics queried. - METRIC_ACCESS_DENIED = 26; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/batch_job_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/batch_job_error.proto deleted file mode 100644 index 727f5f8df..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/batch_job_error.proto +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "BatchJobErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing batch job errors. - -// Container for enum describing possible batch job errors. -message BatchJobErrorEnum { - // Enum describing possible request errors. - enum BatchJobError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The batch job cannot add more operations or run after it has started - // running. - CANNOT_MODIFY_JOB_AFTER_JOB_STARTS_RUNNING = 2; - - // The operations for an AddBatchJobOperations request were empty. - EMPTY_OPERATIONS = 3; - - // The sequence token for an AddBatchJobOperations request was invalid. - INVALID_SEQUENCE_TOKEN = 4; - - // Batch job results can only be retrieved once the job is finished. - RESULTS_NOT_READY = 5; - - // The page size for ListBatchJobResults was invalid. - INVALID_PAGE_SIZE = 6; - - // The batch job cannot be removed because it has started running. - CAN_ONLY_REMOVE_PENDING_JOB = 7; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/bidding_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/bidding_error.proto deleted file mode 100644 index 63e8c5c49..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/bidding_error.proto +++ /dev/null @@ -1,131 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "BiddingErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing bidding errors. - -// Container for enum describing possible bidding errors. -message BiddingErrorEnum { - // Enum describing possible bidding errors. - enum BiddingError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Cannot transition to new bidding strategy. - BIDDING_STRATEGY_TRANSITION_NOT_ALLOWED = 2; - - // Cannot attach bidding strategy to campaign. - CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN = 7; - - // Bidding strategy is not supported or cannot be used as anonymous. - INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE = 10; - - // The type does not match the named strategy's type. - INVALID_BIDDING_STRATEGY_TYPE = 14; - - // The bid is invalid. - INVALID_BID = 17; - - // Bidding strategy is not available for the account type. - BIDDING_STRATEGY_NOT_AVAILABLE_FOR_ACCOUNT_TYPE = 18; - - // Conversion tracking is not enabled in the campaign that has value-based - // bidding transitions. - CONVERSION_TRACKING_NOT_ENABLED = 19; - - // Not enough conversions tracked for value-based bidding transitions. - NOT_ENOUGH_CONVERSIONS = 20; - - // Campaign can not be created with given bidding strategy. It can be - // transitioned to the strategy, once eligible. - CANNOT_CREATE_CAMPAIGN_WITH_BIDDING_STRATEGY = 21; - - // Cannot target content network only as campaign uses Page One Promoted - // bidding strategy. - CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CAMPAIGN_LEVEL_POP_BIDDING_STRATEGY = 23; - - // Budget Optimizer and Target Spend bidding strategies are not supported - // for campaigns with AdSchedule targeting. - BIDDING_STRATEGY_NOT_SUPPORTED_WITH_AD_SCHEDULE = 24; - - // Pay per conversion is not available to all the customer, only few - // customers on the allow-list can use this. - PAY_PER_CONVERSION_NOT_AVAILABLE_FOR_CUSTOMER = 25; - - // Pay per conversion is not allowed with Target CPA. - PAY_PER_CONVERSION_NOT_ALLOWED_WITH_TARGET_CPA = 26; - - // Cannot set bidding strategy to Manual CPM for search network only - // campaigns. - BIDDING_STRATEGY_NOT_ALLOWED_FOR_SEARCH_ONLY_CAMPAIGNS = 27; - - // The bidding strategy is not supported for use in drafts or experiments. - BIDDING_STRATEGY_NOT_SUPPORTED_IN_DRAFTS_OR_EXPERIMENTS = 28; - - // Bidding strategy type does not support product type ad group criterion. - BIDDING_STRATEGY_TYPE_DOES_NOT_SUPPORT_PRODUCT_TYPE_ADGROUP_CRITERION = 29; - - // Bid amount is too small. - BID_TOO_SMALL = 30; - - // Bid amount is too big. - BID_TOO_BIG = 31; - - // Bid has too many fractional digit precision. - BID_TOO_MANY_FRACTIONAL_DIGITS = 32; - - // Invalid domain name specified. - INVALID_DOMAIN_NAME = 33; - - // The field is not compatible with the payment mode. - NOT_COMPATIBLE_WITH_PAYMENT_MODE = 34; - - // The field is not compatible with the budget type. - NOT_COMPATIBLE_WITH_BUDGET_TYPE = 35; - - // The field is not compatible with the bidding strategy type. - NOT_COMPATIBLE_WITH_BIDDING_STRATEGY_TYPE = 36; - - // Bidding strategy type is incompatible with shared budget. - BIDDING_STRATEGY_TYPE_INCOMPATIBLE_WITH_SHARED_BUDGET = 37; - - // The attached bidding strategy and budget must be aligned with each other - // if alignment is specified on either entity. - BIDDING_STRATEGY_AND_BUDGET_MUST_BE_ALIGNED = 38; - - // The attached bidding strategy and budget must be attached to the same - // campaigns to become aligned. - BIDDING_STRATEGY_AND_BUDGET_MUST_BE_ATTACHED_TO_THE_SAME_CAMPAIGNS_TO_ALIGN = 39; - - // The aligned bidding strategy and budget must be removed at the same time. - BIDDING_STRATEGY_AND_BUDGET_MUST_BE_REMOVED_TOGETHER = 40; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/bidding_strategy_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/bidding_strategy_error.proto deleted file mode 100644 index 09b55324a..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/bidding_strategy_error.proto +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "BiddingStrategyErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing bidding strategy errors. - -// Container for enum describing possible bidding strategy errors. -message BiddingStrategyErrorEnum { - // Enum describing possible bidding strategy errors. - enum BiddingStrategyError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Each bidding strategy must have a unique name. - DUPLICATE_NAME = 2; - - // Bidding strategy type is immutable. - CANNOT_CHANGE_BIDDING_STRATEGY_TYPE = 3; - - // Only bidding strategies not linked to campaigns, adgroups or adgroup - // criteria can be removed. - CANNOT_REMOVE_ASSOCIATED_STRATEGY = 4; - - // The specified bidding strategy is not supported. - BIDDING_STRATEGY_NOT_SUPPORTED = 5; - - // The bidding strategy is incompatible with the campaign's bidding - // strategy goal type. - INCOMPATIBLE_BIDDING_STRATEGY_AND_BIDDING_STRATEGY_GOAL_TYPE = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/billing_setup_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/billing_setup_error.proto deleted file mode 100644 index 9567d18d1..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/billing_setup_error.proto +++ /dev/null @@ -1,107 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "BillingSetupErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing billing setup errors. - -// Container for enum describing possible billing setup errors. -message BillingSetupErrorEnum { - // Enum describing possible billing setup errors. - enum BillingSetupError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Cannot specify both an existing payments account and a new payments - // account when setting up billing. - CANNOT_USE_EXISTING_AND_NEW_ACCOUNT = 2; - - // Cannot cancel an approved billing setup whose start time has passed. - CANNOT_REMOVE_STARTED_BILLING_SETUP = 3; - - // Cannot perform a Change of Bill-To (CBT) to the same payments account. - CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT = 4; - - // Billing setups can only be used by customers with ENABLED or DRAFT - // status. - BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS = 5; - - // Billing setups must either include a correctly formatted existing - // payments account id, or a non-empty new payments account name. - INVALID_PAYMENTS_ACCOUNT = 6; - - // Only billable and third-party customers can create billing setups. - BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY = 7; - - // Billing setup creations can only use NOW for start time type. - INVALID_START_TIME_TYPE = 8; - - // Billing setups can only be created for a third-party customer if they do - // not already have a setup. - THIRD_PARTY_ALREADY_HAS_BILLING = 9; - - // Billing setups cannot be created if there is already a pending billing in - // progress. - BILLING_SETUP_IN_PROGRESS = 10; - - // Billing setups can only be created by customers who have permission to - // setup billings. Users can contact a representative for help setting up - // permissions. - NO_SIGNUP_PERMISSION = 11; - - // Billing setups cannot be created if there is already a future-approved - // billing. - CHANGE_OF_BILL_TO_IN_PROGRESS = 12; - - // Requested payments profile not found. - PAYMENTS_PROFILE_NOT_FOUND = 13; - - // Requested payments account not found. - PAYMENTS_ACCOUNT_NOT_FOUND = 14; - - // Billing setup creation failed because the payments profile is ineligible. - PAYMENTS_PROFILE_INELIGIBLE = 15; - - // Billing setup creation failed because the payments account is ineligible. - PAYMENTS_ACCOUNT_INELIGIBLE = 16; - - // Billing setup creation failed because the payments profile needs internal - // approval. - CUSTOMER_NEEDS_INTERNAL_APPROVAL = 17; - - // Payments account has different currency code than the current customer - // and hence cannot be used to setup billing. - PAYMENTS_ACCOUNT_INELIGIBLE_CURRENCY_CODE_MISMATCH = 19; - - // A start time in the future cannot be used because there is currently no - // active billing setup for this customer. - FUTURE_START_TIME_PROHIBITED = 20; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/campaign_budget_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/campaign_budget_error.proto deleted file mode 100644 index 24e3e8415..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/campaign_budget_error.proto +++ /dev/null @@ -1,98 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CampaignBudgetErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing campaign budget errors. - -// Container for enum describing possible campaign budget errors. -message CampaignBudgetErrorEnum { - // Enum describing possible campaign budget errors. - enum CampaignBudgetError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The campaign budget cannot be shared. - CAMPAIGN_BUDGET_CANNOT_BE_SHARED = 17; - - // The requested campaign budget no longer exists. - CAMPAIGN_BUDGET_REMOVED = 2; - - // The campaign budget is associated with at least one campaign, and so the - // campaign budget cannot be removed. - CAMPAIGN_BUDGET_IN_USE = 3; - - // Customer is not on the allow-list for this campaign budget period. - CAMPAIGN_BUDGET_PERIOD_NOT_AVAILABLE = 4; - - // This field is not mutable on implicitly shared campaign budgets - CANNOT_MODIFY_FIELD_OF_IMPLICITLY_SHARED_CAMPAIGN_BUDGET = 6; - - // Cannot change explicitly shared campaign budgets back to implicitly - // shared ones. - CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_IMPLICITLY_SHARED = 7; - - // An implicit campaign budget without a name cannot be changed to - // explicitly shared campaign budget. - CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED_WITHOUT_NAME = 8; - - // Cannot change an implicitly shared campaign budget to an explicitly - // shared one. - CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED = 9; - - // Only explicitly shared campaign budgets can be used with multiple - // campaigns. - CANNOT_USE_IMPLICITLY_SHARED_CAMPAIGN_BUDGET_WITH_MULTIPLE_CAMPAIGNS = 10; - - // A campaign budget with this name already exists. - DUPLICATE_NAME = 11; - - // A money amount was not in the expected currency. - MONEY_AMOUNT_IN_WRONG_CURRENCY = 12; - - // A money amount was less than the minimum CPC for currency. - MONEY_AMOUNT_LESS_THAN_CURRENCY_MINIMUM_CPC = 13; - - // A money amount was greater than the maximum allowed. - MONEY_AMOUNT_TOO_LARGE = 14; - - // A money amount was negative. - NEGATIVE_MONEY_AMOUNT = 15; - - // A money amount was not a multiple of a minimum unit. - NON_MULTIPLE_OF_MINIMUM_CURRENCY_UNIT = 16; - - // Total budget amount must be unset when BudgetPeriod is DAILY. - TOTAL_BUDGET_AMOUNT_MUST_BE_UNSET_FOR_BUDGET_PERIOD_DAILY = 18; - - // The period of the budget is not allowed. - INVALID_PERIOD = 19; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/campaign_conversion_goal_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/campaign_conversion_goal_error.proto deleted file mode 100644 index 9e18ad68d..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/campaign_conversion_goal_error.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CampaignConversionGoalErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing campaign conversion goal errors. - -// Container for enum describing possible campaign conversion goal errors. -message CampaignConversionGoalErrorEnum { - // Enum describing possible campaign conversion goal errors. - enum CampaignConversionGoalError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Campaign is managed by Search Ads 360 but uses Unified Goal. - CANNOT_USE_CAMPAIGN_GOAL_FOR_SEARCH_ADS_360_MANAGED_CAMPAIGN = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/campaign_criterion_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/campaign_criterion_error.proto deleted file mode 100644 index 6ae2e8bcd..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/campaign_criterion_error.proto +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CampaignCriterionErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing campaign criterion errors. - -// Container for enum describing possible campaign criterion errors. -message CampaignCriterionErrorEnum { - // Enum describing possible campaign criterion errors. - enum CampaignCriterionError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Concrete type of criterion (keyword v.s. placement) is required for - // CREATE and UPDATE operations. - CONCRETE_TYPE_REQUIRED = 2; - - // Invalid placement URL. - INVALID_PLACEMENT_URL = 3; - - // Criteria type can not be excluded for the campaign by the customer. like - // AOL account type cannot target site type criteria - CANNOT_EXCLUDE_CRITERIA_TYPE = 4; - - // Cannot set the campaign criterion status for this criteria type. - CANNOT_SET_STATUS_FOR_CRITERIA_TYPE = 5; - - // Cannot set the campaign criterion status for an excluded criteria. - CANNOT_SET_STATUS_FOR_EXCLUDED_CRITERIA = 6; - - // Cannot target and exclude the same criterion. - CANNOT_TARGET_AND_EXCLUDE = 7; - - // The mutate contained too many operations. - TOO_MANY_OPERATIONS = 8; - - // This operator cannot be applied to a criterion of this type. - OPERATOR_NOT_SUPPORTED_FOR_CRITERION_TYPE = 9; - - // The Shopping campaign sales country is not supported for - // ProductSalesChannel targeting. - SHOPPING_CAMPAIGN_SALES_COUNTRY_NOT_SUPPORTED_FOR_SALES_CHANNEL = 10; - - // The existing field can't be updated with CREATE operation. It can be - // updated with UPDATE operation only. - CANNOT_ADD_EXISTING_FIELD = 11; - - // Negative criteria are immutable, so updates are not allowed. - CANNOT_UPDATE_NEGATIVE_CRITERION = 12; - - // Only free form names are allowed for negative Smart campaign keyword - // theme. - CANNOT_SET_NEGATIVE_KEYWORD_THEME_CONSTANT_CRITERION = 13; - - // Invalid Smart campaign keyword theme constant criterion. - INVALID_KEYWORD_THEME_CONSTANT = 14; - - // A Smart campaign keyword theme constant or free-form Smart campaign - // keyword theme is required. - MISSING_KEYWORD_THEME_CONSTANT_OR_FREE_FORM_KEYWORD_THEME = 15; - - // A Smart campaign may not target proximity and location criteria - // simultaneously. - CANNOT_TARGET_BOTH_PROXIMITY_AND_LOCATION_CRITERIA_FOR_SMART_CAMPAIGN = 16; - - // A Smart campaign may not target multiple proximity criteria. - CANNOT_TARGET_MULTIPLE_PROXIMITY_CRITERIA_FOR_SMART_CAMPAIGN = 17; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/campaign_customizer_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/campaign_customizer_error.proto deleted file mode 100644 index 244228731..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/campaign_customizer_error.proto +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CampaignCustomizerErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing campaign customizer errors. - -// Container for enum describing possible campaign customizer errors. -message CampaignCustomizerErrorEnum { - // Enum describing possible campaign customizer errors. - enum CampaignCustomizerError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/campaign_draft_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/campaign_draft_error.proto deleted file mode 100644 index ef08cd211..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/campaign_draft_error.proto +++ /dev/null @@ -1,77 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CampaignDraftErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing campaign draft errors. - -// Container for enum describing possible campaign draft errors. -message CampaignDraftErrorEnum { - // Enum describing possible campaign draft errors. - enum CampaignDraftError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // A draft with this name already exists for this campaign. - DUPLICATE_DRAFT_NAME = 2; - - // The draft is removed and cannot be transitioned to another status. - INVALID_STATUS_TRANSITION_FROM_REMOVED = 3; - - // The draft has been promoted and cannot be transitioned to the specified - // status. - INVALID_STATUS_TRANSITION_FROM_PROMOTED = 4; - - // The draft has failed to be promoted and cannot be transitioned to the - // specified status. - INVALID_STATUS_TRANSITION_FROM_PROMOTE_FAILED = 5; - - // This customer is not allowed to create drafts. - CUSTOMER_CANNOT_CREATE_DRAFT = 6; - - // This campaign is not allowed to create drafts. - CAMPAIGN_CANNOT_CREATE_DRAFT = 7; - - // This modification cannot be made on a draft. - INVALID_DRAFT_CHANGE = 8; - - // The draft cannot be transitioned to the specified status from its - // current status. - INVALID_STATUS_TRANSITION = 9; - - // The campaign has reached the maximum number of drafts that can be created - // for a campaign throughout its lifetime. No additional drafts can be - // created for this campaign. Removed drafts also count towards this limit. - MAX_NUMBER_OF_DRAFTS_PER_CAMPAIGN_REACHED = 10; - - // ListAsyncErrors was called without first promoting the draft. - LIST_ERRORS_FOR_PROMOTED_DRAFT_ONLY = 11; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/campaign_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/campaign_error.proto deleted file mode 100644 index 16841804f..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/campaign_error.proto +++ /dev/null @@ -1,211 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CampaignErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing campaign errors. - -// Container for enum describing possible campaign errors. -message CampaignErrorEnum { - // Enum describing possible campaign errors. - enum CampaignError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Cannot target content network. - CANNOT_TARGET_CONTENT_NETWORK = 3; - - // Cannot target search network. - CANNOT_TARGET_SEARCH_NETWORK = 4; - - // Cannot cover search network without google search network. - CANNOT_TARGET_SEARCH_NETWORK_WITHOUT_GOOGLE_SEARCH = 5; - - // Cannot target Google Search network for a CPM campaign. - CANNOT_TARGET_GOOGLE_SEARCH_FOR_CPM_CAMPAIGN = 6; - - // Must target at least one network. - CAMPAIGN_MUST_TARGET_AT_LEAST_ONE_NETWORK = 7; - - // Only some Google partners are allowed to target partner search network. - CANNOT_TARGET_PARTNER_SEARCH_NETWORK = 8; - - // Cannot target content network only as campaign has criteria-level bidding - // strategy. - CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CRITERIA_LEVEL_BIDDING_STRATEGY = 9; - - // Cannot modify the start or end date such that the campaign duration would - // not contain the durations of all runnable trials. - CAMPAIGN_DURATION_MUST_CONTAIN_ALL_RUNNABLE_TRIALS = 10; - - // Cannot modify dates, budget or status of a trial campaign. - CANNOT_MODIFY_FOR_TRIAL_CAMPAIGN = 11; - - // Trying to modify the name of an active or paused campaign, where the name - // is already assigned to another active or paused campaign. - DUPLICATE_CAMPAIGN_NAME = 12; - - // Two fields are in conflicting modes. - INCOMPATIBLE_CAMPAIGN_FIELD = 13; - - // Campaign name cannot be used. - INVALID_CAMPAIGN_NAME = 14; - - // Given status is invalid. - INVALID_AD_SERVING_OPTIMIZATION_STATUS = 15; - - // Error in the campaign level tracking URL. - INVALID_TRACKING_URL = 16; - - // Cannot set both tracking URL template and tracking setting. A user has - // to clear legacy tracking setting in order to add tracking URL template. - CANNOT_SET_BOTH_TRACKING_URL_TEMPLATE_AND_TRACKING_SETTING = 17; - - // The maximum number of impressions for Frequency Cap should be an integer - // greater than 0. - MAX_IMPRESSIONS_NOT_IN_RANGE = 18; - - // Only the Day, Week and Month time units are supported. - TIME_UNIT_NOT_SUPPORTED = 19; - - // Operation not allowed on a campaign whose serving status has ended - INVALID_OPERATION_IF_SERVING_STATUS_HAS_ENDED = 20; - - // This budget is exclusively linked to a Campaign that is using experiments - // so it cannot be shared. - BUDGET_CANNOT_BE_SHARED = 21; - - // Campaigns using experiments cannot use a shared budget. - CAMPAIGN_CANNOT_USE_SHARED_BUDGET = 22; - - // A different budget cannot be assigned to a campaign when there are - // running or scheduled trials. - CANNOT_CHANGE_BUDGET_ON_CAMPAIGN_WITH_TRIALS = 23; - - // No link found between the campaign and the label. - CAMPAIGN_LABEL_DOES_NOT_EXIST = 24; - - // The label has already been attached to the campaign. - CAMPAIGN_LABEL_ALREADY_EXISTS = 25; - - // A ShoppingSetting was not found when creating a shopping campaign. - MISSING_SHOPPING_SETTING = 26; - - // The country in shopping setting is not an allowed country. - INVALID_SHOPPING_SALES_COUNTRY = 27; - - // The requested channel type is not available according to the customer's - // account setting. - ADVERTISING_CHANNEL_TYPE_NOT_AVAILABLE_FOR_ACCOUNT_TYPE = 31; - - // The AdvertisingChannelSubType is not a valid subtype of the primary - // channel type. - INVALID_ADVERTISING_CHANNEL_SUB_TYPE = 32; - - // At least one conversion must be selected. - AT_LEAST_ONE_CONVERSION_MUST_BE_SELECTED = 33; - - // Setting ad rotation mode for a campaign is not allowed. Ad rotation mode - // at campaign is deprecated. - CANNOT_SET_AD_ROTATION_MODE = 34; - - // Trying to change start date on a campaign that has started. - CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED = 35; - - // Trying to modify a date into the past. - CANNOT_SET_DATE_TO_PAST = 36; - - // Hotel center id in the hotel setting does not match any customer links. - MISSING_HOTEL_CUSTOMER_LINK = 37; - - // Hotel center id in the hotel setting must match an active customer link. - INVALID_HOTEL_CUSTOMER_LINK = 38; - - // Hotel setting was not found when creating a hotel ads campaign. - MISSING_HOTEL_SETTING = 39; - - // A Campaign cannot use shared campaign budgets and be part of a campaign - // group. - CANNOT_USE_SHARED_CAMPAIGN_BUDGET_WHILE_PART_OF_CAMPAIGN_GROUP = 40; - - // The app ID was not found. - APP_NOT_FOUND = 41; - - // Campaign.shopping_setting.enable_local is not supported for the specified - // campaign type. - SHOPPING_ENABLE_LOCAL_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE = 42; - - // The merchant does not support the creation of campaigns for Shopping - // Comparison Listing Ads. - MERCHANT_NOT_ALLOWED_FOR_COMPARISON_LISTING_ADS = 43; - - // The App campaign for engagement cannot be created because there aren't - // enough installs. - INSUFFICIENT_APP_INSTALLS_COUNT = 44; - - // The App campaign for engagement cannot be created because the app is - // sensitive. - SENSITIVE_CATEGORY_APP = 45; - - // Customers with Housing, Employment, or Credit ads must accept updated - // personalized ads policy to continue creating campaigns. - HEC_AGREEMENT_REQUIRED = 46; - - // The field is not compatible with view through conversion optimization. - NOT_COMPATIBLE_WITH_VIEW_THROUGH_CONVERSION_OPTIMIZATION = 49; - - // The field type cannot be excluded because an active campaign-asset link - // of this type exists. - INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE = 48; - - // The app pre-registration campaign cannot be created for non-Android - // applications. - CANNOT_CREATE_APP_PRE_REGISTRATION_FOR_NON_ANDROID_APP = 50; - - // The campaign cannot be created since the app is not available for - // pre-registration in any country. - APP_NOT_AVAILABLE_TO_CREATE_APP_PRE_REGISTRATION_CAMPAIGN = 51; - - // The type of the Budget is not compatible with this Campaign. - INCOMPATIBLE_BUDGET_TYPE = 52; - - // Category bid list in the local services campaign setting contains - // multiple bids for the same category ID. - LOCAL_SERVICES_DUPLICATE_CATEGORY_BID = 53; - - // Category bid list in the local services campaign setting contains - // a bid for an invalid category ID. - LOCAL_SERVICES_INVALID_CATEGORY_BID = 54; - - // Category bid list in the local services campaign setting is missing a - // bid for a category ID that must be present. - LOCAL_SERVICES_MISSING_CATEGORY_BID = 55; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/campaign_experiment_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/campaign_experiment_error.proto deleted file mode 100644 index 140a7a069..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/campaign_experiment_error.proto +++ /dev/null @@ -1,79 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CampaignExperimentErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing campaign experiment errors. - -// Container for enum describing possible campaign experiment errors. -message CampaignExperimentErrorEnum { - // Enum describing possible campaign experiment errors. - enum CampaignExperimentError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // An active campaign or experiment with this name already exists. - DUPLICATE_NAME = 2; - - // Experiment cannot be updated from the current state to the - // requested target state. For example, an experiment can only graduate - // if its status is ENABLED. - INVALID_TRANSITION = 3; - - // Cannot create an experiment from a campaign using an explicitly shared - // budget. - CANNOT_CREATE_EXPERIMENT_WITH_SHARED_BUDGET = 4; - - // Cannot create an experiment for a removed base campaign. - CANNOT_CREATE_EXPERIMENT_FOR_REMOVED_BASE_CAMPAIGN = 5; - - // Cannot create an experiment from a draft, which has a status other than - // proposed. - CANNOT_CREATE_EXPERIMENT_FOR_NON_PROPOSED_DRAFT = 6; - - // This customer is not allowed to create an experiment. - CUSTOMER_CANNOT_CREATE_EXPERIMENT = 7; - - // This campaign is not allowed to create an experiment. - CAMPAIGN_CANNOT_CREATE_EXPERIMENT = 8; - - // Trying to set an experiment duration which overlaps with another - // experiment. - EXPERIMENT_DURATIONS_MUST_NOT_OVERLAP = 9; - - // All non-removed experiments must start and end within their campaign's - // duration. - EXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATION = 10; - - // The experiment cannot be modified because its status is in a terminal - // state, such as REMOVED. - CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUS = 11; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/campaign_feed_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/campaign_feed_error.proto deleted file mode 100644 index ecc1665bf..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/campaign_feed_error.proto +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CampaignFeedErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing campaign feed errors. - -// Container for enum describing possible campaign feed errors. -message CampaignFeedErrorEnum { - // Enum describing possible campaign feed errors. - enum CampaignFeedError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // An active feed already exists for this campaign and placeholder type. - FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE = 2; - - // The specified feed is removed. - CANNOT_CREATE_FOR_REMOVED_FEED = 4; - - // The CampaignFeed already exists. UPDATE should be used to modify the - // existing CampaignFeed. - CANNOT_CREATE_ALREADY_EXISTING_CAMPAIGN_FEED = 5; - - // Cannot update removed campaign feed. - CANNOT_MODIFY_REMOVED_CAMPAIGN_FEED = 6; - - // Invalid placeholder type. - INVALID_PLACEHOLDER_TYPE = 7; - - // Feed mapping for this placeholder type does not exist. - MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE = 8; - - // Location CampaignFeeds cannot be created unless there is a location - // CustomerFeed for the specified feed. - NO_EXISTING_LOCATION_CUSTOMER_FEED = 9; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/campaign_shared_set_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/campaign_shared_set_error.proto deleted file mode 100644 index 3fce28f76..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/campaign_shared_set_error.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CampaignSharedSetErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing campaign shared set errors. - -// Container for enum describing possible campaign shared set errors. -message CampaignSharedSetErrorEnum { - // Enum describing possible campaign shared set errors. - enum CampaignSharedSetError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The shared set belongs to another customer and permission isn't granted. - SHARED_SET_ACCESS_DENIED = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/change_event_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/change_event_error.proto deleted file mode 100644 index 7bb480985..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/change_event_error.proto +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ChangeEventErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing change event errors. - -// Container for enum describing possible change event errors. -message ChangeEventErrorEnum { - // Enum describing possible change event errors. - enum ChangeEventError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The requested start date is too old. It cannot be older than 30 days. - START_DATE_TOO_OLD = 2; - - // The change_event search request must specify a finite range filter - // on change_date_time. - CHANGE_DATE_RANGE_INFINITE = 3; - - // The change event search request has specified invalid date time filters - // that can never logically produce any valid results (for example, start - // time after end time). - CHANGE_DATE_RANGE_NEGATIVE = 4; - - // The change_event search request must specify a LIMIT. - LIMIT_NOT_SPECIFIED = 5; - - // The LIMIT specified by change_event request should be less than or equal - // to 10K. - INVALID_LIMIT_CLAUSE = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/change_status_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/change_status_error.proto deleted file mode 100644 index 6a2e43dfe..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/change_status_error.proto +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ChangeStatusErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing change status errors. - -// Container for enum describing possible change status errors. -message ChangeStatusErrorEnum { - // Enum describing possible change status errors. - enum ChangeStatusError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The requested start date is too old. - START_DATE_TOO_OLD = 3; - - // The change_status search request must specify a finite range filter - // on last_change_date_time. - CHANGE_DATE_RANGE_INFINITE = 4; - - // The change status search request has specified invalid date time filters - // that can never logically produce any valid results (for example, start - // time after end time). - CHANGE_DATE_RANGE_NEGATIVE = 5; - - // The change_status search request must specify a LIMIT. - LIMIT_NOT_SPECIFIED = 6; - - // The LIMIT specified by change_status request should be less than or equal - // to 10K. - INVALID_LIMIT_CLAUSE = 7; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/collection_size_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/collection_size_error.proto deleted file mode 100644 index 8c360dec3..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/collection_size_error.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CollectionSizeErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing collection size errors. - -// Container for enum describing possible collection size errors. -message CollectionSizeErrorEnum { - // Enum describing possible collection size errors. - enum CollectionSizeError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Too few. - TOO_FEW = 2; - - // Too many. - TOO_MANY = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/context_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/context_error.proto deleted file mode 100644 index 1938123f6..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/context_error.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ContextErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing context errors. - -// Container for enum describing possible context errors. -message ContextErrorEnum { - // Enum describing possible context errors. - enum ContextError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The operation is not allowed for the given context. - OPERATION_NOT_PERMITTED_FOR_CONTEXT = 2; - - // The operation is not allowed for removed resources. - OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/conversion_action_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/conversion_action_error.proto deleted file mode 100644 index 9f503ae23..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/conversion_action_error.proto +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ConversionActionErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing conversion action errors. - -// Container for enum describing possible conversion action errors. -message ConversionActionErrorEnum { - // Enum describing possible conversion action errors. - enum ConversionActionError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The specified conversion action name already exists. - DUPLICATE_NAME = 2; - - // Another conversion action with the specified app id already exists. - DUPLICATE_APP_ID = 3; - - // Android first open action conflicts with Google play codeless download - // action tracking the same app. - TWO_CONVERSION_ACTIONS_BIDDING_ON_SAME_APP_DOWNLOAD = 4; - - // Android first open action conflicts with Google play codeless download - // action tracking the same app. - BIDDING_ON_SAME_APP_DOWNLOAD_AS_GLOBAL_ACTION = 5; - - // The attribution model cannot be set to DATA_DRIVEN because a data-driven - // model has never been generated. - DATA_DRIVEN_MODEL_WAS_NEVER_GENERATED = 6; - - // The attribution model cannot be set to DATA_DRIVEN because the - // data-driven model is expired. - DATA_DRIVEN_MODEL_EXPIRED = 7; - - // The attribution model cannot be set to DATA_DRIVEN because the - // data-driven model is stale. - DATA_DRIVEN_MODEL_STALE = 8; - - // The attribution model cannot be set to DATA_DRIVEN because the - // data-driven model is unavailable or the conversion action was newly - // added. - DATA_DRIVEN_MODEL_UNKNOWN = 9; - - // Creation of this conversion action type isn't supported by Google - // Ads API. - CREATION_NOT_SUPPORTED = 10; - - // Update of this conversion action isn't supported by Google Ads API. - UPDATE_NOT_SUPPORTED = 11; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/conversion_adjustment_upload_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/conversion_adjustment_upload_error.proto deleted file mode 100644 index 5f77d92b5..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/conversion_adjustment_upload_error.proto +++ /dev/null @@ -1,134 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ConversionAdjustmentUploadErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing conversion adjustment upload errors. - -// Container for enum describing possible conversion adjustment upload errors. -message ConversionAdjustmentUploadErrorEnum { - // Enum describing possible conversion adjustment upload errors. - enum ConversionAdjustmentUploadError { - // Not specified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The specified conversion action was created too recently. - // Try the upload again after 4-6 hours have passed since the - // conversion action was created. - TOO_RECENT_CONVERSION_ACTION = 2; - - // No conversion action of a supported ConversionActionType that matches the - // provided information can be found for the customer. - INVALID_CONVERSION_ACTION = 3; - - // A retraction was already reported for this conversion. - CONVERSION_ALREADY_RETRACTED = 4; - - // A conversion for the supplied combination of conversion - // action and conversion identifier could not be found. - CONVERSION_NOT_FOUND = 5; - - // The specified conversion has already expired. Conversions expire after 55 - // days, after which adjustments cannot be reported against them. - CONVERSION_EXPIRED = 6; - - // The supplied adjustment date time precedes that of the original - // conversion. - ADJUSTMENT_PRECEDES_CONVERSION = 7; - - // A restatement with a more recent adjustment date time was already - // reported for this conversion. - MORE_RECENT_RESTATEMENT_FOUND = 8; - - // The conversion was created too recently. - TOO_RECENT_CONVERSION = 9; - - // Restatements cannot be reported for a conversion action that always uses - // the default value. - CANNOT_RESTATE_CONVERSION_ACTION_THAT_ALWAYS_USES_DEFAULT_CONVERSION_VALUE = 10; - - // The request contained more than 2000 adjustments. - TOO_MANY_ADJUSTMENTS_IN_REQUEST = 11; - - // The conversion has been adjusted too many times. - TOO_MANY_ADJUSTMENTS = 12; - - // A restatement with this timestamp already exists for this conversion. To - // upload another adjustment, use a different timestamp. - RESTATEMENT_ALREADY_EXISTS = 13; - - // This adjustment has the same timestamp as another adjustment in the - // request for this conversion. To upload another adjustment, use a - // different timestamp. - DUPLICATE_ADJUSTMENT_IN_REQUEST = 14; - - // The customer has not accepted the customer data terms in the conversion - // settings page. - CUSTOMER_NOT_ACCEPTED_CUSTOMER_DATA_TERMS = 15; - - // The enhanced conversion settings of the conversion action supplied is - // not eligible for enhancements. - CONVERSION_ACTION_NOT_ELIGIBLE_FOR_ENHANCEMENT = 16; - - // The provided user identifier is not a SHA-256 hash. It is either unhashed - // or hashed using a different hash function. - INVALID_USER_IDENTIFIER = 17; - - // The provided user identifier is not supported. - // ConversionAdjustmentUploadService only supports hashed_email, - // hashed_phone_number, and address_info. - UNSUPPORTED_USER_IDENTIFIER = 18; - - // Cannot set both gclid_date_time_pair and order_id. - GCLID_DATE_TIME_PAIR_AND_ORDER_ID_BOTH_SET = 20; - - // An enhancement with this conversion action and order_id already exists - // for this conversion. - CONVERSION_ALREADY_ENHANCED = 21; - - // This enhancement has the same conversion action and order_id as - // another enhancement in the request. - DUPLICATE_ENHANCEMENT_IN_REQUEST = 22; - - // Per our customer data policies, enhancement has been prohibited in your - // account. If you have any questions, contact your Google - // representative. - CUSTOMER_DATA_POLICY_PROHIBITS_ENHANCEMENT = 23; - - // The conversion adjustment is for a conversion action of type WEBPAGE, but - // does not have an order_id. The order_id is required for an adjustment for - // a WEBPAGE conversion action. - MISSING_ORDER_ID_FOR_WEBPAGE = 24; - - // The order_id contains personally identifiable information (PII), such as - // an email address or phone number. - ORDER_ID_CONTAINS_PII = 25; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/conversion_custom_variable_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/conversion_custom_variable_error.proto deleted file mode 100644 index 706f1decb..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/conversion_custom_variable_error.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ConversionCustomVariableErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing conversion custom variable errors. - -// Container for enum describing possible conversion custom variable errors. -message ConversionCustomVariableErrorEnum { - // Enum describing possible conversion custom variable errors. - enum ConversionCustomVariableError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // A conversion custom variable with the specified name already exists. - DUPLICATE_NAME = 2; - - // A conversion custom variable with the specified tag already exists. - DUPLICATE_TAG = 3; - - // A conversion custom variable with the specified tag is reserved for other - // uses. - RESERVED_TAG = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/conversion_goal_campaign_config_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/conversion_goal_campaign_config_error.proto deleted file mode 100644 index 42a204124..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/conversion_goal_campaign_config_error.proto +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ConversionGoalCampaignConfigErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing conversion goal campaign config errors. - -// Container for enum describing possible conversion goal campaign config -// errors. -message ConversionGoalCampaignConfigErrorEnum { - // Enum describing possible conversion goal campaign config errors. - enum ConversionGoalCampaignConfigError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Campaign is managed by Search Ads 360 but uses Unified Goal. - CANNOT_USE_CAMPAIGN_GOAL_FOR_SEARCH_ADS_360_MANAGED_CAMPAIGN = 2; - - // The campaign is using a custom goal that does not belong to its Google - // Ads conversion customer (conversion tracking customer). - CUSTOM_GOAL_DOES_NOT_BELONG_TO_GOOGLE_ADS_CONVERSION_CUSTOMER = 3; - - // The campaign is not allowed to use unified goals. - CAMPAIGN_CANNOT_USE_UNIFIED_GOALS = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/conversion_upload_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/conversion_upload_error.proto deleted file mode 100644 index 22d961f1b..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/conversion_upload_error.proto +++ /dev/null @@ -1,209 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ConversionUploadErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing conversion upload errors. - -// Container for enum describing possible conversion upload errors. -message ConversionUploadErrorEnum { - // Enum describing possible conversion upload errors. - enum ConversionUploadError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The request contained more than 2000 conversions. - TOO_MANY_CONVERSIONS_IN_REQUEST = 2; - - // The specified gclid could not be decoded. - UNPARSEABLE_GCLID = 3; - - // The specified conversion_date_time is before the event time - // associated with the given identifier or iOS URL parameter. - CONVERSION_PRECEDES_EVENT = 42; - - // The click associated with the given identifier or iOS URL parameter is - // either too old to be imported or occurred outside of the click through - // lookback window for the specified conversion action. - EXPIRED_EVENT = 43; - - // The click associated with the given identifier or iOS URL parameter - // occurred too recently. Try uploading again after 6 hours have - // passed since the click occurred. - TOO_RECENT_EVENT = 44; - - // The click associated with the given identifier or iOS URL parameter could - // not be found in the system. This can happen if the identifier or iOS URL - // parameter are collected for non Google Ads clicks. - EVENT_NOT_FOUND = 45; - - // The click associated with the given identifier or iOS URL parameter is - // owned by a customer account that the uploading customer does not manage. - UNAUTHORIZED_CUSTOMER = 8; - - // No upload eligible conversion action that matches the provided - // information can be found for the customer. - INVALID_CONVERSION_ACTION = 9; - - // The specified conversion action was created too recently. - // Try the upload again after 4-6 hours have passed since the - // conversion action was created. - TOO_RECENT_CONVERSION_ACTION = 10; - - // The click associated with the given identifier does not contain - // conversion tracking information. - CONVERSION_TRACKING_NOT_ENABLED_AT_IMPRESSION_TIME = 11; - - // The specified conversion action does not use an external attribution - // model, but external_attribution_data was set. - EXTERNAL_ATTRIBUTION_DATA_SET_FOR_NON_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION = 12; - - // The specified conversion action uses an external attribution model, but - // external_attribution_data or one of its contained fields was not set. - // Both external_attribution_credit and external_attribution_model must be - // set for externally attributed conversion actions. - EXTERNAL_ATTRIBUTION_DATA_NOT_SET_FOR_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION = 13; - - // Order IDs are not supported for conversion actions which use an external - // attribution model. - ORDER_ID_NOT_PERMITTED_FOR_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION = 14; - - // A conversion with the same order id and conversion action combination - // already exists in our system. - ORDER_ID_ALREADY_IN_USE = 15; - - // The request contained two or more conversions with the same order id and - // conversion action combination. - DUPLICATE_ORDER_ID = 16; - - // The call occurred too recently. Try uploading again after 12 hours - // have passed since the call occurred. - TOO_RECENT_CALL = 17; - - // The click that initiated the call is too old for this conversion to be - // imported. - EXPIRED_CALL = 18; - - // The call or the click leading to the call was not found. - CALL_NOT_FOUND = 19; - - // The specified conversion_date_time is before the call_start_date_time. - CONVERSION_PRECEDES_CALL = 20; - - // The click associated with the call does not contain conversion tracking - // information. - CONVERSION_TRACKING_NOT_ENABLED_AT_CALL_TIME = 21; - - // The caller's phone number cannot be parsed. It should be formatted either - // as E.164 "+16502531234", International "+64 3-331 6005" or US national - // number "6502531234". - UNPARSEABLE_CALLERS_PHONE_NUMBER = 22; - - // A conversion with this timestamp already exists for this click. To upload - // another conversion, use a different timestamp. - CLICK_CONVERSION_ALREADY_EXISTS = 23; - - // A conversion with this timestamp already exists for this call. To upload - // another conversion, use a different timestamp. - CALL_CONVERSION_ALREADY_EXISTS = 24; - - // This conversion has the same click and timestamp as another conversion in - // the request. To upload another conversion for this click, use a - // different timestamp. - DUPLICATE_CLICK_CONVERSION_IN_REQUEST = 25; - - // This conversion has the same call and timestamp as another conversion in - // the request. To upload another conversion for this call, use a - // different timestamp. - DUPLICATE_CALL_CONVERSION_IN_REQUEST = 26; - - // The custom variable is not enabled. - CUSTOM_VARIABLE_NOT_ENABLED = 28; - - // The value of the custom variable contains personally identifiable - // information (PII), such as an email address or phone number. - CUSTOM_VARIABLE_VALUE_CONTAINS_PII = 29; - - // The click associated with the given identifier or iOS URL parameter isn't - // from the account where conversion tracking is set up. - INVALID_CUSTOMER_FOR_CLICK = 30; - - // The click associated with the given call isn't from the account where - // conversion tracking is set up. - INVALID_CUSTOMER_FOR_CALL = 31; - - // The conversion can't be uploaded because the conversion source didn't - // comply with the App Tracking Transparency (ATT) policy or the person who - // converted didn't consent to tracking. - CONVERSION_NOT_COMPLIANT_WITH_ATT_POLICY = 32; - - // No click was found for the provided user identifiers. This may be because - // the conversion did not come from a Google Ads campaign. - CLICK_NOT_FOUND = 33; - - // The provided user identifier is not a SHA-256 hash. It is either unhashed - // or hashed using a different hash function. - INVALID_USER_IDENTIFIER = 34; - - // Conversion actions which use an external attribution model cannot be used - // with UserIdentifier. - EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION_NOT_PERMITTED_WITH_USER_IDENTIFIER = 35; - - // The provided user identifier is not supported. ConversionUploadService - // only supports hashed_email and hashed_phone_number. - UNSUPPORTED_USER_IDENTIFIER = 36; - - // gbraid and wbraid are both set in the request. Only one is allowed. - GBRAID_WBRAID_BOTH_SET = 38; - - // The specified wbraid could not be decoded. - UNPARSEABLE_WBRAID = 39; - - // The specified gbraid could not be decoded. - UNPARSEABLE_GBRAID = 40; - - // Conversion actions which use the one-per-click counting type cannot be - // used with gbraid or wbraid. - ONE_PER_CLICK_CONVERSION_ACTION_NOT_PERMITTED_WITH_BRAID = 46; - - // Per our customer data policies, enhanced conversions have been prohibited - // in your account. If you have any questions, contact your Google - // representative. - CUSTOMER_DATA_POLICY_PROHIBITS_ENHANCED_CONVERSIONS = 47; - - // The customer has not accepted the customer data terms in the conversion - // settings page. - CUSTOMER_NOT_ACCEPTED_CUSTOMER_DATA_TERMS = 48; - - // The order_id contains personally identifiable information (PII), such as - // an email address or phone number. - ORDER_ID_CONTAINS_PII = 49; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/conversion_value_rule_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/conversion_value_rule_error.proto deleted file mode 100644 index b73476087..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/conversion_value_rule_error.proto +++ /dev/null @@ -1,90 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ConversionValueRuleErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing conversion value rule errors. - -// Container for enum describing possible conversion value rule errors. -message ConversionValueRuleErrorEnum { - // Enum describing possible conversion value rule errors. - enum ConversionValueRuleError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The value rule's geo location condition contains invalid geo target - // constant(s), for example, there's no matching geo target. - INVALID_GEO_TARGET_CONSTANT = 2; - - // The value rule's geo location condition contains conflicting included and - // excluded geo targets. Specifically, some of the excluded geo target(s) - // are the same as or contain some of the included geo target(s). For - // example, the geo location condition includes California but excludes U.S. - CONFLICTING_INCLUDED_AND_EXCLUDED_GEO_TARGET = 3; - - // User specified conflicting conditions for two value rules in the same - // value rule set. - CONFLICTING_CONDITIONS = 4; - - // The value rule cannot be removed because it's still included in some - // value rule set. - CANNOT_REMOVE_IF_INCLUDED_IN_VALUE_RULE_SET = 5; - - // The value rule contains a condition that's not allowed by the value rule - // set including this value rule. - CONDITION_NOT_ALLOWED = 6; - - // The value rule contains a field that should be unset. - FIELD_MUST_BE_UNSET = 7; - - // Pausing the value rule requires pausing the value rule set because the - // value rule is (one of) the last enabled in the value rule set. - CANNOT_PAUSE_UNLESS_VALUE_RULE_SET_IS_PAUSED = 8; - - // The value rule's geo location condition contains untargetable geo target - // constant(s). - UNTARGETABLE_GEO_TARGET = 9; - - // The value rule's audience condition contains invalid user list(s). In - // another word, there's no matching user list. - INVALID_AUDIENCE_USER_LIST = 10; - - // The value rule's audience condition contains inaccessible user list(s). - INACCESSIBLE_USER_LIST = 11; - - // The value rule's audience condition contains invalid user_interest(s). - // This might be because there is no matching user interest, or the user - // interest is not visible. - INVALID_AUDIENCE_USER_INTEREST = 12; - - // When a value rule is created, it shouldn't have REMOVED status. - CANNOT_ADD_RULE_WITH_STATUS_REMOVED = 13; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/conversion_value_rule_set_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/conversion_value_rule_set_error.proto deleted file mode 100644 index 4fde57972..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/conversion_value_rule_set_error.proto +++ /dev/null @@ -1,100 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ConversionValueRuleSetErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing conversion value rule set errors. - -// Container for enum describing possible conversion value rule set errors. -message ConversionValueRuleSetErrorEnum { - // Enum describing possible conversion value rule set errors. - enum ConversionValueRuleSetError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Two value rules in this value rule set contain conflicting conditions. - CONFLICTING_VALUE_RULE_CONDITIONS = 2; - - // This value rule set includes a value rule that cannot be found, has been - // permanently removed or belongs to a different customer. - INVALID_VALUE_RULE = 3; - - // An error that's thrown when a mutate operation is trying to - // replace/remove some existing elements in the dimensions field. In other - // words, ADD op is always fine and UPDATE op is fine if it's only appending - // new elements into dimensions list. - DIMENSIONS_UPDATE_ONLY_ALLOW_APPEND = 4; - - // An error that's thrown when a mutate is adding new value rule(s) into a - // value rule set and the added value rule(s) include conditions that are - // not specified in the dimensions of the value rule set. - CONDITION_TYPE_NOT_ALLOWED = 5; - - // The dimensions field contains duplicate elements. - DUPLICATE_DIMENSIONS = 6; - - // This value rule set is attached to an invalid campaign id. Either a - // campaign with this campaign id doesn't exist or it belongs to a different - // customer. - INVALID_CAMPAIGN_ID = 7; - - // When a mutate request tries to pause a value rule set, the enabled - // value rules in this set must be paused in the same command, or this error - // will be thrown. - CANNOT_PAUSE_UNLESS_ALL_VALUE_RULES_ARE_PAUSED = 8; - - // When a mutate request tries to pause all the value rules in a value rule - // set, the value rule set must be paused, or this error will be thrown. - SHOULD_PAUSE_WHEN_ALL_VALUE_RULES_ARE_PAUSED = 9; - - // This value rule set is attached to a campaign that does not support value - // rules. Currently, campaign level value rule sets can only be created on - // Search, or Display campaigns. - VALUE_RULES_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE = 10; - - // To add a value rule set that applies on Store Visits/Store Sales - // conversion action categories, the customer must have valid Store Visits/ - // Store Sales conversion actions. - INELIGIBLE_CONVERSION_ACTION_CATEGORIES = 11; - - // If NO_CONDITION is used as a dimension of a value rule set, it must be - // the only dimension. - DIMENSION_NO_CONDITION_USED_WITH_OTHER_DIMENSIONS = 12; - - // Dimension NO_CONDITION can only be used by Store Visits/Store Sales value - // rule set. - DIMENSION_NO_CONDITION_NOT_ALLOWED = 13; - - // Value rule sets defined on the specified conversion action categories are - // not supported. The list of conversion action categories must be an empty - // list, only STORE_VISIT, or only STORE_SALE. - UNSUPPORTED_CONVERSION_ACTION_CATEGORIES = 14; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/country_code_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/country_code_error.proto deleted file mode 100644 index ce2c8f108..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/country_code_error.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CountryCodeErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing country code errors. - -// Container for enum describing country code errors. -message CountryCodeErrorEnum { - // Enum describing country code errors. - enum CountryCodeError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The country code is invalid. - INVALID_COUNTRY_CODE = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/criterion_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/criterion_error.proto deleted file mode 100644 index 01aa96801..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/criterion_error.proto +++ /dev/null @@ -1,470 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CriterionErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing criterion errors. - -// Container for enum describing possible criterion errors. -message CriterionErrorEnum { - // Enum describing possible criterion errors. - enum CriterionError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Concrete type of criterion is required for CREATE and UPDATE operations. - CONCRETE_TYPE_REQUIRED = 2; - - // The category requested for exclusion is invalid. - INVALID_EXCLUDED_CATEGORY = 3; - - // Invalid keyword criteria text. - INVALID_KEYWORD_TEXT = 4; - - // Keyword text should be less than 80 chars. - KEYWORD_TEXT_TOO_LONG = 5; - - // Keyword text has too many words. - KEYWORD_HAS_TOO_MANY_WORDS = 6; - - // Keyword text has invalid characters or symbols. - KEYWORD_HAS_INVALID_CHARS = 7; - - // Invalid placement URL. - INVALID_PLACEMENT_URL = 8; - - // Invalid user list criterion. - INVALID_USER_LIST = 9; - - // Invalid user interest criterion. - INVALID_USER_INTEREST = 10; - - // Placement URL has wrong format. - INVALID_FORMAT_FOR_PLACEMENT_URL = 11; - - // Placement URL is too long. - PLACEMENT_URL_IS_TOO_LONG = 12; - - // Indicates the URL contains an illegal character. - PLACEMENT_URL_HAS_ILLEGAL_CHAR = 13; - - // Indicates the URL contains multiple comma separated URLs. - PLACEMENT_URL_HAS_MULTIPLE_SITES_IN_LINE = 14; - - // Indicates the domain is blocked. - PLACEMENT_IS_NOT_AVAILABLE_FOR_TARGETING_OR_EXCLUSION = 15; - - // Invalid topic path. - INVALID_TOPIC_PATH = 16; - - // The YouTube Channel Id is invalid. - INVALID_YOUTUBE_CHANNEL_ID = 17; - - // The YouTube Video Id is invalid. - INVALID_YOUTUBE_VIDEO_ID = 18; - - // Indicates the placement is a YouTube vertical channel, which is no longer - // supported. - YOUTUBE_VERTICAL_CHANNEL_DEPRECATED = 19; - - // Indicates the placement is a YouTube demographic channel, which is no - // longer supported. - YOUTUBE_DEMOGRAPHIC_CHANNEL_DEPRECATED = 20; - - // YouTube urls are not supported in Placement criterion. Use YouTubeChannel - // and YouTubeVideo criterion instead. - YOUTUBE_URL_UNSUPPORTED = 21; - - // Criteria type can not be excluded by the customer, like AOL account type - // cannot target site type criteria. - CANNOT_EXCLUDE_CRITERIA_TYPE = 22; - - // Criteria type can not be targeted. - CANNOT_ADD_CRITERIA_TYPE = 23; - - // Not allowed to exclude similar user list. - CANNOT_EXCLUDE_SIMILAR_USER_LIST = 26; - - // Not allowed to target a closed user list. - CANNOT_ADD_CLOSED_USER_LIST = 27; - - // Not allowed to add display only UserLists to search only campaigns. - CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_ONLY_CAMPAIGNS = 28; - - // Not allowed to add display only UserLists to search plus campaigns. - CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_CAMPAIGNS = 29; - - // Not allowed to add display only UserLists to shopping campaigns. - CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SHOPPING_CAMPAIGNS = 30; - - // Not allowed to add User interests to search only campaigns. - CANNOT_ADD_USER_INTERESTS_TO_SEARCH_CAMPAIGNS = 31; - - // Not allowed to set bids for this criterion type in search campaigns - CANNOT_SET_BIDS_ON_CRITERION_TYPE_IN_SEARCH_CAMPAIGNS = 32; - - // Final URLs, URL Templates and CustomParameters cannot be set for the - // criterion types of Gender, AgeRange, UserList, Placement, MobileApp, and - // MobileAppCategory in search campaigns and shopping campaigns. - CANNOT_ADD_URLS_TO_CRITERION_TYPE_FOR_CAMPAIGN_TYPE = 33; - - // Invalid combined audience criterion. - INVALID_COMBINED_AUDIENCE = 122; - - // Invalid custom affinity criterion. - INVALID_CUSTOM_AFFINITY = 96; - - // Invalid custom intent criterion. - INVALID_CUSTOM_INTENT = 97; - - // Invalid custom audience criterion. - INVALID_CUSTOM_AUDIENCE = 121; - - // IP address is not valid. - INVALID_IP_ADDRESS = 34; - - // IP format is not valid. - INVALID_IP_FORMAT = 35; - - // Mobile application is not valid. - INVALID_MOBILE_APP = 36; - - // Mobile application category is not valid. - INVALID_MOBILE_APP_CATEGORY = 37; - - // The CriterionId does not exist or is of the incorrect type. - INVALID_CRITERION_ID = 38; - - // The Criterion is not allowed to be targeted. - CANNOT_TARGET_CRITERION = 39; - - // The criterion is not allowed to be targeted as it is deprecated. - CANNOT_TARGET_OBSOLETE_CRITERION = 40; - - // The CriterionId is not valid for the type. - CRITERION_ID_AND_TYPE_MISMATCH = 41; - - // Distance for the radius for the proximity criterion is invalid. - INVALID_PROXIMITY_RADIUS = 42; - - // Units for the distance for the radius for the proximity criterion is - // invalid. - INVALID_PROXIMITY_RADIUS_UNITS = 43; - - // Street address in the address is not valid. - INVALID_STREETADDRESS_LENGTH = 44; - - // City name in the address is not valid. - INVALID_CITYNAME_LENGTH = 45; - - // Region code in the address is not valid. - INVALID_REGIONCODE_LENGTH = 46; - - // Region name in the address is not valid. - INVALID_REGIONNAME_LENGTH = 47; - - // Postal code in the address is not valid. - INVALID_POSTALCODE_LENGTH = 48; - - // Country code in the address is not valid. - INVALID_COUNTRY_CODE = 49; - - // Latitude for the GeoPoint is not valid. - INVALID_LATITUDE = 50; - - // Longitude for the GeoPoint is not valid. - INVALID_LONGITUDE = 51; - - // The Proximity input is not valid. Both address and geoPoint cannot be - // null. - PROXIMITY_GEOPOINT_AND_ADDRESS_BOTH_CANNOT_BE_NULL = 52; - - // The Proximity address cannot be geocoded to a valid lat/long. - INVALID_PROXIMITY_ADDRESS = 53; - - // User domain name is not valid. - INVALID_USER_DOMAIN_NAME = 54; - - // Length of serialized criterion parameter exceeded size limit. - CRITERION_PARAMETER_TOO_LONG = 55; - - // Time interval in the AdSchedule overlaps with another AdSchedule. - AD_SCHEDULE_TIME_INTERVALS_OVERLAP = 56; - - // AdSchedule time interval cannot span multiple days. - AD_SCHEDULE_INTERVAL_CANNOT_SPAN_MULTIPLE_DAYS = 57; - - // AdSchedule time interval specified is invalid, endTime cannot be earlier - // than startTime. - AD_SCHEDULE_INVALID_TIME_INTERVAL = 58; - - // The number of AdSchedule entries in a day exceeds the limit. - AD_SCHEDULE_EXCEEDED_INTERVALS_PER_DAY_LIMIT = 59; - - // CriteriaId does not match the interval of the AdSchedule specified. - AD_SCHEDULE_CRITERION_ID_MISMATCHING_FIELDS = 60; - - // Cannot set bid modifier for this criterion type. - CANNOT_BID_MODIFY_CRITERION_TYPE = 61; - - // Cannot bid modify criterion, since it is opted out of the campaign. - CANNOT_BID_MODIFY_CRITERION_CAMPAIGN_OPTED_OUT = 62; - - // Cannot set bid modifier for a negative criterion. - CANNOT_BID_MODIFY_NEGATIVE_CRITERION = 63; - - // Bid Modifier already exists. Use SET operation to update. - BID_MODIFIER_ALREADY_EXISTS = 64; - - // Feed Id is not allowed in these Location Groups. - FEED_ID_NOT_ALLOWED = 65; - - // The account may not use the requested criteria type. For example, some - // accounts are restricted to keywords only. - ACCOUNT_INELIGIBLE_FOR_CRITERIA_TYPE = 66; - - // The requested criteria type cannot be used with campaign or ad group - // bidding strategy. - CRITERIA_TYPE_INVALID_FOR_BIDDING_STRATEGY = 67; - - // The Criterion is not allowed to be excluded. - CANNOT_EXCLUDE_CRITERION = 68; - - // The criterion is not allowed to be removed. For example, we cannot remove - // any of the device criterion. - CANNOT_REMOVE_CRITERION = 69; - - // Bidding categories do not form a valid path in the Shopping bidding - // category taxonomy. - INVALID_PRODUCT_BIDDING_CATEGORY = 76; - - // ShoppingSetting must be added to the campaign before ProductScope - // criteria can be added. - MISSING_SHOPPING_SETTING = 77; - - // Matching function is invalid. - INVALID_MATCHING_FUNCTION = 78; - - // Filter parameters not allowed for location groups targeting. - LOCATION_FILTER_NOT_ALLOWED = 79; - - // Feed not found, or the feed is not an enabled location feed. - INVALID_FEED_FOR_LOCATION_FILTER = 98; - - // Given location filter parameter is invalid for location groups targeting. - LOCATION_FILTER_INVALID = 80; - - // Cannot set geo target constants and feed item sets at the same time. - CANNOT_SET_GEO_TARGET_CONSTANTS_WITH_FEED_ITEM_SETS = 123; - - // The location group radius is in the range but not at the valid increment. - INVALID_LOCATION_GROUP_RADIUS = 124; - - // The location group radius unit is invalid. - INVALID_LOCATION_GROUP_RADIUS_UNIT = 125; - - // Criteria type cannot be associated with a campaign and its ad group(s) - // simultaneously. - CANNOT_ATTACH_CRITERIA_AT_CAMPAIGN_AND_ADGROUP = 81; - - // Range represented by hotel length of stay's min nights and max nights - // overlaps with an existing criterion. - HOTEL_LENGTH_OF_STAY_OVERLAPS_WITH_EXISTING_CRITERION = 82; - - // Range represented by hotel advance booking window's min days and max days - // overlaps with an existing criterion. - HOTEL_ADVANCE_BOOKING_WINDOW_OVERLAPS_WITH_EXISTING_CRITERION = 83; - - // The field is not allowed to be set when the negative field is set to - // true, for example, we don't allow bids in negative ad group or campaign - // criteria. - FIELD_INCOMPATIBLE_WITH_NEGATIVE_TARGETING = 84; - - // The combination of operand and operator in webpage condition is invalid. - INVALID_WEBPAGE_CONDITION = 85; - - // The URL of webpage condition is invalid. - INVALID_WEBPAGE_CONDITION_URL = 86; - - // The URL of webpage condition cannot be empty or contain white space. - WEBPAGE_CONDITION_URL_CANNOT_BE_EMPTY = 87; - - // The URL of webpage condition contains an unsupported protocol. - WEBPAGE_CONDITION_URL_UNSUPPORTED_PROTOCOL = 88; - - // The URL of webpage condition cannot be an IP address. - WEBPAGE_CONDITION_URL_CANNOT_BE_IP_ADDRESS = 89; - - // The domain of the URL is not consistent with the domain in campaign - // setting. - WEBPAGE_CONDITION_URL_DOMAIN_NOT_CONSISTENT_WITH_CAMPAIGN_SETTING = 90; - - // The URL of webpage condition cannot be a public suffix itself. - WEBPAGE_CONDITION_URL_CANNOT_BE_PUBLIC_SUFFIX = 91; - - // The URL of webpage condition has an invalid public suffix. - WEBPAGE_CONDITION_URL_INVALID_PUBLIC_SUFFIX = 92; - - // Value track parameter is not supported in webpage condition URL. - WEBPAGE_CONDITION_URL_VALUE_TRACK_VALUE_NOT_SUPPORTED = 93; - - // Only one URL-EQUALS webpage condition is allowed in a webpage - // criterion and it cannot be combined with other conditions. - WEBPAGE_CRITERION_URL_EQUALS_CAN_HAVE_ONLY_ONE_CONDITION = 94; - - // A webpage criterion cannot be added to a non-DSA ad group. - WEBPAGE_CRITERION_NOT_SUPPORTED_ON_NON_DSA_AD_GROUP = 95; - - // Cannot add positive user list criteria in Smart Display campaigns. - CANNOT_TARGET_USER_LIST_FOR_SMART_DISPLAY_CAMPAIGNS = 99; - - // Cannot add positive placement criterion types in search campaigns. - CANNOT_TARGET_PLACEMENTS_FOR_SEARCH_CAMPAIGNS = 126; - - // Listing scope contains too many dimension types. - LISTING_SCOPE_TOO_MANY_DIMENSION_TYPES = 100; - - // Listing scope has too many IN operators. - LISTING_SCOPE_TOO_MANY_IN_OPERATORS = 101; - - // Listing scope contains IN operator on an unsupported dimension type. - LISTING_SCOPE_IN_OPERATOR_NOT_SUPPORTED = 102; - - // There are dimensions with duplicate dimension type. - DUPLICATE_LISTING_DIMENSION_TYPE = 103; - - // There are dimensions with duplicate dimension value. - DUPLICATE_LISTING_DIMENSION_VALUE = 104; - - // Listing group SUBDIVISION nodes cannot have bids. - CANNOT_SET_BIDS_ON_LISTING_GROUP_SUBDIVISION = 105; - - // Ad group is invalid due to the listing groups it contains. - INVALID_LISTING_GROUP_HIERARCHY = 106; - - // Listing group unit cannot have children. - LISTING_GROUP_UNIT_CANNOT_HAVE_CHILDREN = 107; - - // Subdivided listing groups must have an "others" case. - LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE = 108; - - // Dimension type of listing group must be the same as that of its siblings. - LISTING_GROUP_REQUIRES_SAME_DIMENSION_TYPE_AS_SIBLINGS = 109; - - // Listing group cannot be added to the ad group because it already exists. - LISTING_GROUP_ALREADY_EXISTS = 110; - - // Listing group referenced in the operation was not found in the ad group. - LISTING_GROUP_DOES_NOT_EXIST = 111; - - // Recursive removal failed because listing group subdivision is being - // created or modified in this request. - LISTING_GROUP_CANNOT_BE_REMOVED = 112; - - // Listing group type is not allowed for specified ad group criterion type. - INVALID_LISTING_GROUP_TYPE = 113; - - // Listing group in an ADD operation specifies a non temporary criterion id. - LISTING_GROUP_ADD_MAY_ONLY_USE_TEMP_ID = 114; - - // The combined length of dimension values of the Listing scope criterion - // is too long. - LISTING_SCOPE_TOO_LONG = 115; - - // Listing scope contains too many dimensions. - LISTING_SCOPE_TOO_MANY_DIMENSIONS = 116; - - // The combined length of dimension values of the Listing group criterion is - // too long. - LISTING_GROUP_TOO_LONG = 117; - - // Listing group tree is too deep. - LISTING_GROUP_TREE_TOO_DEEP = 118; - - // Listing dimension is invalid (for example, dimension contains illegal - // value, dimension type is represented with wrong class, etc). Listing - // dimension value can not contain "==" or "&+". - INVALID_LISTING_DIMENSION = 119; - - // Listing dimension type is either invalid for campaigns of this type or - // cannot be used in the current context. BIDDING_CATEGORY_Lx and - // PRODUCT_TYPE_Lx dimensions must be used in ascending order of their - // levels: L1, L2, L3, L4, L5... The levels must be specified sequentially - // and start from L1. Furthermore, an "others" Listing group cannot be - // subdivided with a dimension of the same type but of a higher level - // ("others" BIDDING_CATEGORY_L3 can be subdivided with BRAND but not with - // BIDDING_CATEGORY_L4). - INVALID_LISTING_DIMENSION_TYPE = 120; - - // Customer is not on allowlist for composite audience in display campaigns. - ADVERTISER_NOT_ON_ALLOWLIST_FOR_COMBINED_AUDIENCE_ON_DISPLAY = 127; - - // Cannot target on a removed combined audience. - CANNOT_TARGET_REMOVED_COMBINED_AUDIENCE = 128; - - // Combined audience ID is invalid. - INVALID_COMBINED_AUDIENCE_ID = 129; - - // Can not target removed combined audience. - CANNOT_TARGET_REMOVED_CUSTOM_AUDIENCE = 130; - - // Range represented by hotel check-in date's start date and end date - // overlaps with an existing criterion. - HOTEL_CHECK_IN_DATE_RANGE_OVERLAPS_WITH_EXISTING_CRITERION = 131; - - // Start date is earlier than earliest allowed value of yesterday UTC. - HOTEL_CHECK_IN_DATE_RANGE_START_DATE_TOO_EARLY = 132; - - // End date later is than latest allowed day of 330 days in the future UTC. - HOTEL_CHECK_IN_DATE_RANGE_END_DATE_TOO_LATE = 133; - - // Start date is after end date. - HOTEL_CHECK_IN_DATE_RANGE_REVERSED = 134; - - // Broad match modifier (BMM) keywords can no longer be created. See - // https://ads-developers.googleblog.com/2021/06/broad-match-modifier-upcoming-changes.html. - BROAD_MATCH_MODIFIER_KEYWORD_NOT_ALLOWED = 135; - - // Only one audience is allowed in an asset group. - ONE_AUDIENCE_ALLOWED_PER_ASSET_GROUP = 136; - - // Audience is not supported for the specified campaign type. - AUDIENCE_NOT_ELIGIBLE_FOR_CAMPAIGN_TYPE = 137; - - // Audience is not allowed to attach when use_audience_grouped bit is set to - // false. - AUDIENCE_NOT_ALLOWED_TO_ATTACH_WHEN_AUDIENCE_GROUPED_SET_TO_FALSE = 138; - - // Targeting is not allowed for Customer Match lists as per Customer Match - // policy. See - // https://support.google.com/google-ads/answer/6299717. - CANNOT_TARGET_CUSTOMER_MATCH_USER_LIST = 139; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/currency_code_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/currency_code_error.proto deleted file mode 100644 index d535bc5ce..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/currency_code_error.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CurrencyCodeErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing currency code errors. - -// Container for enum describing possible currency code errors. -message CurrencyCodeErrorEnum { - // Enum describing possible currency code errors. - enum CurrencyCodeError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The currency code is not supported. - UNSUPPORTED = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/custom_audience_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/custom_audience_error.proto deleted file mode 100644 index 38da30c4b..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/custom_audience_error.proto +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomAudienceErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing custom audience errors. - -// Container for enum describing possible custom audience errors. -message CustomAudienceErrorEnum { - // Enum describing possible custom audience errors. - enum CustomAudienceError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // New name in the custom audience is duplicated ignoring cases. - NAME_ALREADY_USED = 2; - - // Cannot remove a custom audience while it's still being used as targeting. - CANNOT_REMOVE_WHILE_IN_USE = 3; - - // Cannot update or remove a custom audience that is already removed. - RESOURCE_ALREADY_REMOVED = 4; - - // The pair of [type, value] already exists in members. - MEMBER_TYPE_AND_PARAMETER_ALREADY_EXISTED = 5; - - // Member type is invalid. - INVALID_MEMBER_TYPE = 6; - - // Member type does not have associated value. - MEMBER_TYPE_AND_VALUE_DOES_NOT_MATCH = 7; - - // Custom audience contains a member that violates policy. - POLICY_VIOLATION = 8; - - // Change in custom audience type is not allowed. - INVALID_TYPE_CHANGE = 9; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/custom_conversion_goal_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/custom_conversion_goal_error.proto deleted file mode 100644 index 1a25fc37f..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/custom_conversion_goal_error.proto +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomConversionGoalErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing CustomConversionGoal errors. - -// Container for enum describing possible custom conversion goal errors. -message CustomConversionGoalErrorEnum { - // Enum describing possible custom conversion goal errors. - enum CustomConversionGoalError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Cannot find a conversion action with the specified id. - INVALID_CONVERSION_ACTION = 2; - - // The conversion action is not enabled so it cannot be included in a custom - // conversion goal. - CONVERSION_ACTION_NOT_ENABLED = 3; - - // The custom conversion goal cannot be removed because it's linked to a - // campaign. - CANNOT_REMOVE_LINKED_CUSTOM_CONVERSION_GOAL = 4; - - // Custom goal with the same name already exists. - CUSTOM_GOAL_DUPLICATE_NAME = 5; - - // Custom goal with the same conversion action list already exists. - DUPLICATE_CONVERSION_ACTION_LIST = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/custom_interest_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/custom_interest_error.proto deleted file mode 100644 index b4c250686..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/custom_interest_error.proto +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomInterestErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing custom interest errors. - -// Container for enum describing possible custom interest errors. -message CustomInterestErrorEnum { - // Enum describing possible custom interest errors. - enum CustomInterestError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Duplicate custom interest name ignoring case. - NAME_ALREADY_USED = 2; - - // In the remove custom interest member operation, both member ID and - // pair [type, parameter] are not present. - CUSTOM_INTEREST_MEMBER_ID_AND_TYPE_PARAMETER_NOT_PRESENT_IN_REMOVE = 3; - - // The pair of [type, parameter] does not exist. - TYPE_AND_PARAMETER_NOT_FOUND = 4; - - // The pair of [type, parameter] already exists. - TYPE_AND_PARAMETER_ALREADY_EXISTED = 5; - - // Unsupported custom interest member type. - INVALID_CUSTOM_INTEREST_MEMBER_TYPE = 6; - - // Cannot remove a custom interest while it's still being targeted. - CANNOT_REMOVE_WHILE_IN_USE = 7; - - // Cannot mutate custom interest type. - CANNOT_CHANGE_TYPE = 8; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/customer_client_link_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/customer_client_link_error.proto deleted file mode 100644 index d64779873..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/customer_client_link_error.proto +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomerClientLinkErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing CustomerClientLink errors. - -// Container for enum describing possible CustomeClientLink errors. -message CustomerClientLinkErrorEnum { - // Enum describing possible CustomerClientLink errors. - enum CustomerClientLinkError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Trying to manage a client that already in being managed by customer. - CLIENT_ALREADY_INVITED_BY_THIS_MANAGER = 2; - - // Already managed by some other manager in the hierarchy. - CLIENT_ALREADY_MANAGED_IN_HIERARCHY = 3; - - // Attempt to create a cycle in the hierarchy. - CYCLIC_LINK_NOT_ALLOWED = 4; - - // Managed accounts has the maximum number of linked accounts. - CUSTOMER_HAS_TOO_MANY_ACCOUNTS = 5; - - // Invitor has the maximum pending invitations. - CLIENT_HAS_TOO_MANY_INVITATIONS = 6; - - // Attempt to change hidden status of a link that is not active. - CANNOT_HIDE_OR_UNHIDE_MANAGER_ACCOUNTS = 7; - - // Parent manager account has the maximum number of linked accounts. - CUSTOMER_HAS_TOO_MANY_ACCOUNTS_AT_MANAGER = 8; - - // Client has too many managers. - CLIENT_HAS_TOO_MANY_MANAGERS = 9; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/customer_customizer_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/customer_customizer_error.proto deleted file mode 100644 index b36f7d5ac..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/customer_customizer_error.proto +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomerCustomizerErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing customer customizer errors. - -// Container for enum describing possible customer customizer errors. -message CustomerCustomizerErrorEnum { - // Enum describing possible customer customizer errors. - enum CustomerCustomizerError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/customer_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/customer_error.proto deleted file mode 100644 index be4bdc50a..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/customer_error.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomerErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Container for enum describing possible customer errors. -message CustomerErrorEnum { - // Set of errors that are related to requests dealing with Customer. - enum CustomerError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Customer status is not allowed to be changed from DRAFT and CLOSED. - // Currency code and at least one of country code and time zone needs to be - // set when status is changed to ENABLED. - STATUS_CHANGE_DISALLOWED = 2; - - // CustomerService cannot get a customer that has not been fully set up. - ACCOUNT_NOT_SET_UP = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/customer_feed_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/customer_feed_error.proto deleted file mode 100644 index 87e83cec7..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/customer_feed_error.proto +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomerFeedErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing customer feed errors. - -// Container for enum describing possible customer feed errors. -message CustomerFeedErrorEnum { - // Enum describing possible customer feed errors. - enum CustomerFeedError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // An active feed already exists for this customer and place holder type. - FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE = 2; - - // The specified feed is removed. - CANNOT_CREATE_FOR_REMOVED_FEED = 3; - - // The CustomerFeed already exists. Update should be used to modify the - // existing CustomerFeed. - CANNOT_CREATE_ALREADY_EXISTING_CUSTOMER_FEED = 4; - - // Cannot update removed customer feed. - CANNOT_MODIFY_REMOVED_CUSTOMER_FEED = 5; - - // Invalid placeholder type. - INVALID_PLACEHOLDER_TYPE = 6; - - // Feed mapping for this placeholder type does not exist. - MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE = 7; - - // Placeholder not allowed at the account level. - PLACEHOLDER_TYPE_NOT_ALLOWED_ON_CUSTOMER_FEED = 8; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/customer_manager_link_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/customer_manager_link_error.proto deleted file mode 100644 index ff36f1d89..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/customer_manager_link_error.proto +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomerManagerLinkErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing CustomerManagerLink errors. - -// Container for enum describing possible CustomerManagerLink errors. -message CustomerManagerLinkErrorEnum { - // Enum describing possible CustomerManagerLink errors. - enum CustomerManagerLinkError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // No pending invitation. - NO_PENDING_INVITE = 2; - - // Attempt to operate on the same client more than once in the same call. - SAME_CLIENT_MORE_THAN_ONCE_PER_CALL = 3; - - // Manager account has the maximum number of linked accounts. - MANAGER_HAS_MAX_NUMBER_OF_LINKED_ACCOUNTS = 4; - - // If no active user on account it cannot be unlinked from its manager. - CANNOT_UNLINK_ACCOUNT_WITHOUT_ACTIVE_USER = 5; - - // Account should have at least one active owner on it before being - // unlinked. - CANNOT_REMOVE_LAST_CLIENT_ACCOUNT_OWNER = 6; - - // Only account owners may change their permission role. - CANNOT_CHANGE_ROLE_BY_NON_ACCOUNT_OWNER = 7; - - // When a client's link to its manager is not active, the link role cannot - // be changed. - CANNOT_CHANGE_ROLE_FOR_NON_ACTIVE_LINK_ACCOUNT = 8; - - // Attempt to link a child to a parent that contains or will contain - // duplicate children. - DUPLICATE_CHILD_FOUND = 9; - - // The authorized customer is a test account. It can add no more than the - // allowed number of accounts - TEST_ACCOUNT_LINKS_TOO_MANY_CHILD_ACCOUNTS = 10; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/customer_user_access_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/customer_user_access_error.proto deleted file mode 100644 index a9a67d222..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/customer_user_access_error.proto +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomerUserAccessErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing CustomerUserAccess errors. - -// Container for enum describing possible CustomerUserAccess errors. -message CustomerUserAccessErrorEnum { - // Enum describing possible customer user access errors. - enum CustomerUserAccessError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // There is no user associated with the user id specified. - INVALID_USER_ID = 2; - - // Unable to remove the access between the user and customer. - REMOVAL_DISALLOWED = 3; - - // Unable to add or update the access role as specified. - DISALLOWED_ACCESS_ROLE = 4; - - // The user can't remove itself from an active serving customer if it's the - // last admin user and the customer doesn't have any owner manager - LAST_ADMIN_USER_OF_SERVING_CUSTOMER = 5; - - // Last admin user cannot be removed from a manager. - LAST_ADMIN_USER_OF_MANAGER = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/customizer_attribute_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/customizer_attribute_error.proto deleted file mode 100644 index 5e767edc7..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/customizer_attribute_error.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomizerAttributeErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing customizer attribute errors. - -// Container for enum describing possible customizer attribute errors. -message CustomizerAttributeErrorEnum { - // Enum describing possible customizer attribute errors. - enum CustomizerAttributeError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // CustomizerAttribute name matches that of another active - // CustomizerAttribute. - DUPLICATE_CUSTOMIZER_ATTRIBUTE_NAME = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/database_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/database_error.proto deleted file mode 100644 index 44fced8ab..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/database_error.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "DatabaseErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing database errors. - -// Container for enum describing possible database errors. -message DatabaseErrorEnum { - // Enum describing possible database errors. - enum DatabaseError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Multiple requests were attempting to modify the same resource at once. - // Retry the request. - CONCURRENT_MODIFICATION = 2; - - // The request conflicted with existing data. This error will usually be - // replaced with a more specific error if the request is retried. - DATA_CONSTRAINT_VIOLATION = 3; - - // The data written is too large. Split the request into smaller - // requests. - REQUEST_TOO_LARGE = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/date_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/date_error.proto deleted file mode 100644 index 9629107a3..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/date_error.proto +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "DateErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing date errors. - -// Container for enum describing possible date errors. -message DateErrorEnum { - // Enum describing possible date errors. - enum DateError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Given field values do not correspond to a valid date. - INVALID_FIELD_VALUES_IN_DATE = 2; - - // Given field values do not correspond to a valid date time. - INVALID_FIELD_VALUES_IN_DATE_TIME = 3; - - // The string date's format should be yyyy-mm-dd. - INVALID_STRING_DATE = 4; - - // The string date time's format should be yyyy-mm-dd hh:mm:ss.ssssss. - INVALID_STRING_DATE_TIME_MICROS = 6; - - // The string date time's format should be yyyy-mm-dd hh:mm:ss. - INVALID_STRING_DATE_TIME_SECONDS = 11; - - // The string date time's format should be yyyy-mm-dd hh:mm:ss+|-hh:mm. - INVALID_STRING_DATE_TIME_SECONDS_WITH_OFFSET = 12; - - // Date is before allowed minimum. - EARLIER_THAN_MINIMUM_DATE = 7; - - // Date is after allowed maximum. - LATER_THAN_MAXIMUM_DATE = 8; - - // Date range bounds are not in order. - DATE_RANGE_MINIMUM_DATE_LATER_THAN_MAXIMUM_DATE = 9; - - // Both dates in range are null. - DATE_RANGE_MINIMUM_AND_MAXIMUM_DATES_BOTH_NULL = 10; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/date_range_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/date_range_error.proto deleted file mode 100644 index b8470c536..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/date_range_error.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "DateRangeErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing date range errors. - -// Container for enum describing possible date range errors. -message DateRangeErrorEnum { - // Enum describing possible date range errors. - enum DateRangeError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Invalid date. - INVALID_DATE = 2; - - // The start date was after the end date. - START_DATE_AFTER_END_DATE = 3; - - // Cannot set date to past time - CANNOT_SET_DATE_TO_PAST = 4; - - // A date was used that is past the system "last" date. - AFTER_MAXIMUM_ALLOWABLE_DATE = 5; - - // Trying to change start date on a resource that has started. - CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/distinct_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/distinct_error.proto deleted file mode 100644 index 967466756..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/distinct_error.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "DistinctErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing distinct errors. - -// Container for enum describing possible distinct errors. -message DistinctErrorEnum { - // Enum describing possible distinct errors. - enum DistinctError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Duplicate element. - DUPLICATE_ELEMENT = 2; - - // Duplicate type. - DUPLICATE_TYPE = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/enum_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/enum_error.proto deleted file mode 100644 index 56cfdf477..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/enum_error.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "EnumErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing enum errors. - -// Container for enum describing possible enum errors. -message EnumErrorEnum { - // Enum describing possible enum errors. - enum EnumError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The enum value is not permitted. - ENUM_VALUE_NOT_PERMITTED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/errors.proto b/third_party/googleapis/google/ads/googleads/v11/errors/errors.proto deleted file mode 100644 index ea5b914b9..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/errors.proto +++ /dev/null @@ -1,739 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -import "google/ads/googleads/v11/common/policy.proto"; -import "google/ads/googleads/v11/common/value.proto"; -import "google/ads/googleads/v11/enums/resource_limit_type.proto"; -import "google/ads/googleads/v11/errors/access_invitation_error.proto"; -import "google/ads/googleads/v11/errors/account_budget_proposal_error.proto"; -import "google/ads/googleads/v11/errors/account_link_error.proto"; -import "google/ads/googleads/v11/errors/ad_customizer_error.proto"; -import "google/ads/googleads/v11/errors/ad_error.proto"; -import "google/ads/googleads/v11/errors/ad_group_ad_error.proto"; -import "google/ads/googleads/v11/errors/ad_group_bid_modifier_error.proto"; -import "google/ads/googleads/v11/errors/ad_group_criterion_customizer_error.proto"; -import "google/ads/googleads/v11/errors/ad_group_criterion_error.proto"; -import "google/ads/googleads/v11/errors/ad_group_customizer_error.proto"; -import "google/ads/googleads/v11/errors/ad_group_error.proto"; -import "google/ads/googleads/v11/errors/ad_group_feed_error.proto"; -import "google/ads/googleads/v11/errors/ad_parameter_error.proto"; -import "google/ads/googleads/v11/errors/ad_sharing_error.proto"; -import "google/ads/googleads/v11/errors/adx_error.proto"; -import "google/ads/googleads/v11/errors/asset_error.proto"; -import "google/ads/googleads/v11/errors/asset_group_asset_error.proto"; -import "google/ads/googleads/v11/errors/asset_group_error.proto"; -import "google/ads/googleads/v11/errors/asset_group_listing_group_filter_error.proto"; -import "google/ads/googleads/v11/errors/asset_link_error.proto"; -import "google/ads/googleads/v11/errors/asset_set_asset_error.proto"; -import "google/ads/googleads/v11/errors/asset_set_error.proto"; -import "google/ads/googleads/v11/errors/asset_set_link_error.proto"; -import "google/ads/googleads/v11/errors/audience_error.proto"; -import "google/ads/googleads/v11/errors/audience_insights_error.proto"; -import "google/ads/googleads/v11/errors/authentication_error.proto"; -import "google/ads/googleads/v11/errors/authorization_error.proto"; -import "google/ads/googleads/v11/errors/batch_job_error.proto"; -import "google/ads/googleads/v11/errors/bidding_error.proto"; -import "google/ads/googleads/v11/errors/bidding_strategy_error.proto"; -import "google/ads/googleads/v11/errors/billing_setup_error.proto"; -import "google/ads/googleads/v11/errors/campaign_budget_error.proto"; -import "google/ads/googleads/v11/errors/campaign_conversion_goal_error.proto"; -import "google/ads/googleads/v11/errors/campaign_criterion_error.proto"; -import "google/ads/googleads/v11/errors/campaign_customizer_error.proto"; -import "google/ads/googleads/v11/errors/campaign_draft_error.proto"; -import "google/ads/googleads/v11/errors/campaign_error.proto"; -import "google/ads/googleads/v11/errors/campaign_experiment_error.proto"; -import "google/ads/googleads/v11/errors/campaign_feed_error.proto"; -import "google/ads/googleads/v11/errors/campaign_shared_set_error.proto"; -import "google/ads/googleads/v11/errors/change_event_error.proto"; -import "google/ads/googleads/v11/errors/change_status_error.proto"; -import "google/ads/googleads/v11/errors/collection_size_error.proto"; -import "google/ads/googleads/v11/errors/context_error.proto"; -import "google/ads/googleads/v11/errors/conversion_action_error.proto"; -import "google/ads/googleads/v11/errors/conversion_adjustment_upload_error.proto"; -import "google/ads/googleads/v11/errors/conversion_custom_variable_error.proto"; -import "google/ads/googleads/v11/errors/conversion_goal_campaign_config_error.proto"; -import "google/ads/googleads/v11/errors/conversion_upload_error.proto"; -import "google/ads/googleads/v11/errors/conversion_value_rule_error.proto"; -import "google/ads/googleads/v11/errors/conversion_value_rule_set_error.proto"; -import "google/ads/googleads/v11/errors/country_code_error.proto"; -import "google/ads/googleads/v11/errors/criterion_error.proto"; -import "google/ads/googleads/v11/errors/currency_code_error.proto"; -import "google/ads/googleads/v11/errors/custom_audience_error.proto"; -import "google/ads/googleads/v11/errors/custom_conversion_goal_error.proto"; -import "google/ads/googleads/v11/errors/custom_interest_error.proto"; -import "google/ads/googleads/v11/errors/customer_client_link_error.proto"; -import "google/ads/googleads/v11/errors/customer_customizer_error.proto"; -import "google/ads/googleads/v11/errors/customer_error.proto"; -import "google/ads/googleads/v11/errors/customer_feed_error.proto"; -import "google/ads/googleads/v11/errors/customer_manager_link_error.proto"; -import "google/ads/googleads/v11/errors/customer_user_access_error.proto"; -import "google/ads/googleads/v11/errors/customizer_attribute_error.proto"; -import "google/ads/googleads/v11/errors/database_error.proto"; -import "google/ads/googleads/v11/errors/date_error.proto"; -import "google/ads/googleads/v11/errors/date_range_error.proto"; -import "google/ads/googleads/v11/errors/distinct_error.proto"; -import "google/ads/googleads/v11/errors/enum_error.proto"; -import "google/ads/googleads/v11/errors/experiment_arm_error.proto"; -import "google/ads/googleads/v11/errors/experiment_error.proto"; -import "google/ads/googleads/v11/errors/extension_feed_item_error.proto"; -import "google/ads/googleads/v11/errors/extension_setting_error.proto"; -import "google/ads/googleads/v11/errors/feed_attribute_reference_error.proto"; -import "google/ads/googleads/v11/errors/feed_error.proto"; -import "google/ads/googleads/v11/errors/feed_item_error.proto"; -import "google/ads/googleads/v11/errors/feed_item_set_error.proto"; -import "google/ads/googleads/v11/errors/feed_item_set_link_error.proto"; -import "google/ads/googleads/v11/errors/feed_item_target_error.proto"; -import "google/ads/googleads/v11/errors/feed_item_validation_error.proto"; -import "google/ads/googleads/v11/errors/feed_mapping_error.proto"; -import "google/ads/googleads/v11/errors/field_error.proto"; -import "google/ads/googleads/v11/errors/field_mask_error.proto"; -import "google/ads/googleads/v11/errors/function_error.proto"; -import "google/ads/googleads/v11/errors/function_parsing_error.proto"; -import "google/ads/googleads/v11/errors/geo_target_constant_suggestion_error.proto"; -import "google/ads/googleads/v11/errors/header_error.proto"; -import "google/ads/googleads/v11/errors/id_error.proto"; -import "google/ads/googleads/v11/errors/image_error.proto"; -import "google/ads/googleads/v11/errors/internal_error.proto"; -import "google/ads/googleads/v11/errors/invoice_error.proto"; -import "google/ads/googleads/v11/errors/keyword_plan_ad_group_error.proto"; -import "google/ads/googleads/v11/errors/keyword_plan_ad_group_keyword_error.proto"; -import "google/ads/googleads/v11/errors/keyword_plan_campaign_error.proto"; -import "google/ads/googleads/v11/errors/keyword_plan_campaign_keyword_error.proto"; -import "google/ads/googleads/v11/errors/keyword_plan_error.proto"; -import "google/ads/googleads/v11/errors/keyword_plan_idea_error.proto"; -import "google/ads/googleads/v11/errors/label_error.proto"; -import "google/ads/googleads/v11/errors/language_code_error.proto"; -import "google/ads/googleads/v11/errors/list_operation_error.proto"; -import "google/ads/googleads/v11/errors/manager_link_error.proto"; -import "google/ads/googleads/v11/errors/media_bundle_error.proto"; -import "google/ads/googleads/v11/errors/media_file_error.proto"; -import "google/ads/googleads/v11/errors/media_upload_error.proto"; -import "google/ads/googleads/v11/errors/merchant_center_error.proto"; -import "google/ads/googleads/v11/errors/multiplier_error.proto"; -import "google/ads/googleads/v11/errors/mutate_error.proto"; -import "google/ads/googleads/v11/errors/new_resource_creation_error.proto"; -import "google/ads/googleads/v11/errors/not_allowlisted_error.proto"; -import "google/ads/googleads/v11/errors/not_empty_error.proto"; -import "google/ads/googleads/v11/errors/null_error.proto"; -import "google/ads/googleads/v11/errors/offline_user_data_job_error.proto"; -import "google/ads/googleads/v11/errors/operation_access_denied_error.proto"; -import "google/ads/googleads/v11/errors/operator_error.proto"; -import "google/ads/googleads/v11/errors/partial_failure_error.proto"; -import "google/ads/googleads/v11/errors/payments_account_error.proto"; -import "google/ads/googleads/v11/errors/policy_finding_error.proto"; -import "google/ads/googleads/v11/errors/policy_validation_parameter_error.proto"; -import "google/ads/googleads/v11/errors/policy_violation_error.proto"; -import "google/ads/googleads/v11/errors/query_error.proto"; -import "google/ads/googleads/v11/errors/quota_error.proto"; -import "google/ads/googleads/v11/errors/range_error.proto"; -import "google/ads/googleads/v11/errors/reach_plan_error.proto"; -import "google/ads/googleads/v11/errors/recommendation_error.proto"; -import "google/ads/googleads/v11/errors/region_code_error.proto"; -import "google/ads/googleads/v11/errors/request_error.proto"; -import "google/ads/googleads/v11/errors/resource_access_denied_error.proto"; -import "google/ads/googleads/v11/errors/resource_count_limit_exceeded_error.proto"; -import "google/ads/googleads/v11/errors/setting_error.proto"; -import "google/ads/googleads/v11/errors/shared_criterion_error.proto"; -import "google/ads/googleads/v11/errors/shared_set_error.proto"; -import "google/ads/googleads/v11/errors/size_limit_error.proto"; -import "google/ads/googleads/v11/errors/string_format_error.proto"; -import "google/ads/googleads/v11/errors/string_length_error.proto"; -import "google/ads/googleads/v11/errors/third_party_app_analytics_link_error.proto"; -import "google/ads/googleads/v11/errors/time_zone_error.proto"; -import "google/ads/googleads/v11/errors/url_field_error.proto"; -import "google/ads/googleads/v11/errors/user_data_error.proto"; -import "google/ads/googleads/v11/errors/user_list_error.proto"; -import "google/ads/googleads/v11/errors/youtube_video_registration_error.proto"; -import "google/protobuf/duration.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ErrorsProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing the common error protos - -// Describes how a GoogleAds API call failed. It's returned inside -// google.rpc.Status.details when a call fails. -message GoogleAdsFailure { - // The list of errors that occurred. - repeated GoogleAdsError errors = 1; - - // The unique ID of the request that is used for debugging purposes. - string request_id = 2; -} - -// GoogleAds-specific error. -message GoogleAdsError { - // An enum value that indicates which error occurred. - ErrorCode error_code = 1; - - // A human-readable description of the error. - string message = 2; - - // The value that triggered the error. - google.ads.googleads.v11.common.Value trigger = 3; - - // Describes the part of the request proto that caused the error. - ErrorLocation location = 4; - - // Additional error details, which are returned by certain error codes. Most - // error codes do not include details. - ErrorDetails details = 5; -} - -// The error reason represented by type and enum. -message ErrorCode { - // The list of error enums - oneof error_code { - // An error caused by the request - RequestErrorEnum.RequestError request_error = 1; - - // An error with a Bidding Strategy mutate. - BiddingStrategyErrorEnum.BiddingStrategyError bidding_strategy_error = 2; - - // An error with a URL field mutate. - UrlFieldErrorEnum.UrlFieldError url_field_error = 3; - - // An error with a list operation. - ListOperationErrorEnum.ListOperationError list_operation_error = 4; - - // An error with an AWQL query - QueryErrorEnum.QueryError query_error = 5; - - // An error with a mutate - MutateErrorEnum.MutateError mutate_error = 7; - - // An error with a field mask - FieldMaskErrorEnum.FieldMaskError field_mask_error = 8; - - // An error encountered when trying to authorize a user. - AuthorizationErrorEnum.AuthorizationError authorization_error = 9; - - // An unexpected server-side error. - InternalErrorEnum.InternalError internal_error = 10; - - // An error with the amonut of quota remaining. - QuotaErrorEnum.QuotaError quota_error = 11; - - // An error with an Ad Group Ad mutate. - AdErrorEnum.AdError ad_error = 12; - - // An error with an Ad Group mutate. - AdGroupErrorEnum.AdGroupError ad_group_error = 13; - - // An error with a Campaign Budget mutate. - CampaignBudgetErrorEnum.CampaignBudgetError campaign_budget_error = 14; - - // An error with a Campaign mutate. - CampaignErrorEnum.CampaignError campaign_error = 15; - - // Indicates failure to properly authenticate user. - AuthenticationErrorEnum.AuthenticationError authentication_error = 17; - - // The reasons for the ad group criterion customizer error. - AdGroupCriterionCustomizerErrorEnum.AdGroupCriterionCustomizerError ad_group_criterion_customizer_error = 161; - - // Indicates failure to properly authenticate user. - AdGroupCriterionErrorEnum.AdGroupCriterionError ad_group_criterion_error = 18; - - // The reasons for the ad group customizer error. - AdGroupCustomizerErrorEnum.AdGroupCustomizerError ad_group_customizer_error = 159; - - // The reasons for the ad customizer error - AdCustomizerErrorEnum.AdCustomizerError ad_customizer_error = 19; - - // The reasons for the ad group ad error - AdGroupAdErrorEnum.AdGroupAdError ad_group_ad_error = 21; - - // The reasons for the ad sharing error - AdSharingErrorEnum.AdSharingError ad_sharing_error = 24; - - // The reasons for the adx error - AdxErrorEnum.AdxError adx_error = 25; - - // The reasons for the asset error - AssetErrorEnum.AssetError asset_error = 107; - - // The reasons for the asset group asset error - AssetGroupAssetErrorEnum.AssetGroupAssetError asset_group_asset_error = 149; - - // The reasons for the asset group listing group filter error - AssetGroupListingGroupFilterErrorEnum.AssetGroupListingGroupFilterError asset_group_listing_group_filter_error = 155; - - // The reasons for the asset group error - AssetGroupErrorEnum.AssetGroupError asset_group_error = 148; - - // The reasons for the asset set asset error - AssetSetAssetErrorEnum.AssetSetAssetError asset_set_asset_error = 153; - - // The reasons for the asset set link error - AssetSetLinkErrorEnum.AssetSetLinkError asset_set_link_error = 154; - - // The reasons for the asset set error - AssetSetErrorEnum.AssetSetError asset_set_error = 152; - - // The reasons for the bidding errors - BiddingErrorEnum.BiddingError bidding_error = 26; - - // The reasons for the campaign criterion error - CampaignCriterionErrorEnum.CampaignCriterionError campaign_criterion_error = 29; - - // The reasons for the campaign conversion goal error - CampaignConversionGoalErrorEnum.CampaignConversionGoalError campaign_conversion_goal_error = 166; - - // The reasons for the campaign customizer error. - CampaignCustomizerErrorEnum.CampaignCustomizerError campaign_customizer_error = 160; - - // The reasons for the collection size error - CollectionSizeErrorEnum.CollectionSizeError collection_size_error = 31; - - // The reasons for the conversion goal campaign config error - ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigError conversion_goal_campaign_config_error = 165; - - // The reasons for the country code error - CountryCodeErrorEnum.CountryCodeError country_code_error = 109; - - // The reasons for the criterion error - CriterionErrorEnum.CriterionError criterion_error = 32; - - // The reasons for the custom conversion goal error - CustomConversionGoalErrorEnum.CustomConversionGoalError custom_conversion_goal_error = 150; - - // The reasons for the customer customizer error. - CustomerCustomizerErrorEnum.CustomerCustomizerError customer_customizer_error = 158; - - // The reasons for the customer error - CustomerErrorEnum.CustomerError customer_error = 90; - - // The reasons for the customizer attribute error. - CustomizerAttributeErrorEnum.CustomizerAttributeError customizer_attribute_error = 151; - - // The reasons for the date error - DateErrorEnum.DateError date_error = 33; - - // The reasons for the date range error - DateRangeErrorEnum.DateRangeError date_range_error = 34; - - // The reasons for the distinct error - DistinctErrorEnum.DistinctError distinct_error = 35; - - // The reasons for the feed attribute reference error - FeedAttributeReferenceErrorEnum.FeedAttributeReferenceError feed_attribute_reference_error = 36; - - // The reasons for the function error - FunctionErrorEnum.FunctionError function_error = 37; - - // The reasons for the function parsing error - FunctionParsingErrorEnum.FunctionParsingError function_parsing_error = 38; - - // The reasons for the id error - IdErrorEnum.IdError id_error = 39; - - // The reasons for the image error - ImageErrorEnum.ImageError image_error = 40; - - // The reasons for the language code error - LanguageCodeErrorEnum.LanguageCodeError language_code_error = 110; - - // The reasons for the media bundle error - MediaBundleErrorEnum.MediaBundleError media_bundle_error = 42; - - // The reasons for media uploading errors. - MediaUploadErrorEnum.MediaUploadError media_upload_error = 116; - - // The reasons for the media file error - MediaFileErrorEnum.MediaFileError media_file_error = 86; - - // Container for enum describing possible merchant center errors. - MerchantCenterErrorEnum.MerchantCenterError merchant_center_error = 162; - - // The reasons for the multiplier error - MultiplierErrorEnum.MultiplierError multiplier_error = 44; - - // The reasons for the new resource creation error - NewResourceCreationErrorEnum.NewResourceCreationError new_resource_creation_error = 45; - - // The reasons for the not empty error - NotEmptyErrorEnum.NotEmptyError not_empty_error = 46; - - // The reasons for the null error - NullErrorEnum.NullError null_error = 47; - - // The reasons for the operator error - OperatorErrorEnum.OperatorError operator_error = 48; - - // The reasons for the range error - RangeErrorEnum.RangeError range_error = 49; - - // The reasons for error in applying a recommendation - RecommendationErrorEnum.RecommendationError recommendation_error = 58; - - // The reasons for the region code error - RegionCodeErrorEnum.RegionCodeError region_code_error = 51; - - // The reasons for the setting error - SettingErrorEnum.SettingError setting_error = 52; - - // The reasons for the string format error - StringFormatErrorEnum.StringFormatError string_format_error = 53; - - // The reasons for the string length error - StringLengthErrorEnum.StringLengthError string_length_error = 54; - - // The reasons for the operation access denied error - OperationAccessDeniedErrorEnum.OperationAccessDeniedError operation_access_denied_error = 55; - - // The reasons for the resource access denied error - ResourceAccessDeniedErrorEnum.ResourceAccessDeniedError resource_access_denied_error = 56; - - // The reasons for the resource count limit exceeded error - ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError resource_count_limit_exceeded_error = 57; - - // The reasons for YouTube video registration errors. - YoutubeVideoRegistrationErrorEnum.YoutubeVideoRegistrationError youtube_video_registration_error = 117; - - // The reasons for the ad group bid modifier error - AdGroupBidModifierErrorEnum.AdGroupBidModifierError ad_group_bid_modifier_error = 59; - - // The reasons for the context error - ContextErrorEnum.ContextError context_error = 60; - - // The reasons for the field error - FieldErrorEnum.FieldError field_error = 61; - - // The reasons for the shared set error - SharedSetErrorEnum.SharedSetError shared_set_error = 62; - - // The reasons for the shared criterion error - SharedCriterionErrorEnum.SharedCriterionError shared_criterion_error = 63; - - // The reasons for the campaign shared set error - CampaignSharedSetErrorEnum.CampaignSharedSetError campaign_shared_set_error = 64; - - // The reasons for the conversion action error - ConversionActionErrorEnum.ConversionActionError conversion_action_error = 65; - - // The reasons for the conversion adjustment upload error - ConversionAdjustmentUploadErrorEnum.ConversionAdjustmentUploadError conversion_adjustment_upload_error = 115; - - // The reasons for the conversion custom variable error - ConversionCustomVariableErrorEnum.ConversionCustomVariableError conversion_custom_variable_error = 143; - - // The reasons for the conversion upload error - ConversionUploadErrorEnum.ConversionUploadError conversion_upload_error = 111; - - // The reasons for the conversion value rule error - ConversionValueRuleErrorEnum.ConversionValueRuleError conversion_value_rule_error = 145; - - // The reasons for the conversion value rule set error - ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError conversion_value_rule_set_error = 146; - - // The reasons for the header error. - HeaderErrorEnum.HeaderError header_error = 66; - - // The reasons for the database error. - DatabaseErrorEnum.DatabaseError database_error = 67; - - // The reasons for the policy finding error. - PolicyFindingErrorEnum.PolicyFindingError policy_finding_error = 68; - - // The reason for enum error. - EnumErrorEnum.EnumError enum_error = 70; - - // The reason for keyword plan error. - KeywordPlanErrorEnum.KeywordPlanError keyword_plan_error = 71; - - // The reason for keyword plan campaign error. - KeywordPlanCampaignErrorEnum.KeywordPlanCampaignError keyword_plan_campaign_error = 72; - - // The reason for keyword plan campaign keyword error. - KeywordPlanCampaignKeywordErrorEnum.KeywordPlanCampaignKeywordError keyword_plan_campaign_keyword_error = 132; - - // The reason for keyword plan ad group error. - KeywordPlanAdGroupErrorEnum.KeywordPlanAdGroupError keyword_plan_ad_group_error = 74; - - // The reason for keyword plan ad group keyword error. - KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError keyword_plan_ad_group_keyword_error = 133; - - // The reason for keyword idea error. - KeywordPlanIdeaErrorEnum.KeywordPlanIdeaError keyword_plan_idea_error = 76; - - // The reasons for account budget proposal errors. - AccountBudgetProposalErrorEnum.AccountBudgetProposalError account_budget_proposal_error = 77; - - // The reasons for the user list error - UserListErrorEnum.UserListError user_list_error = 78; - - // The reasons for the change event error - ChangeEventErrorEnum.ChangeEventError change_event_error = 136; - - // The reasons for the change status error - ChangeStatusErrorEnum.ChangeStatusError change_status_error = 79; - - // The reasons for the feed error - FeedErrorEnum.FeedError feed_error = 80; - - // The reasons for the geo target constant suggestion error. - GeoTargetConstantSuggestionErrorEnum.GeoTargetConstantSuggestionError geo_target_constant_suggestion_error = 81; - - // The reasons for the campaign draft error - CampaignDraftErrorEnum.CampaignDraftError campaign_draft_error = 82; - - // The reasons for the feed item error - FeedItemErrorEnum.FeedItemError feed_item_error = 83; - - // The reason for the label error. - LabelErrorEnum.LabelError label_error = 84; - - // The reasons for the billing setup error - BillingSetupErrorEnum.BillingSetupError billing_setup_error = 87; - - // The reasons for the customer client link error - CustomerClientLinkErrorEnum.CustomerClientLinkError customer_client_link_error = 88; - - // The reasons for the customer manager link error - CustomerManagerLinkErrorEnum.CustomerManagerLinkError customer_manager_link_error = 91; - - // The reasons for the feed mapping error - FeedMappingErrorEnum.FeedMappingError feed_mapping_error = 92; - - // The reasons for the customer feed error - CustomerFeedErrorEnum.CustomerFeedError customer_feed_error = 93; - - // The reasons for the ad group feed error - AdGroupFeedErrorEnum.AdGroupFeedError ad_group_feed_error = 94; - - // The reasons for the campaign feed error - CampaignFeedErrorEnum.CampaignFeedError campaign_feed_error = 96; - - // The reasons for the custom interest error - CustomInterestErrorEnum.CustomInterestError custom_interest_error = 97; - - // The reasons for the campaign experiment error - CampaignExperimentErrorEnum.CampaignExperimentError campaign_experiment_error = 98; - - // The reasons for the extension feed item error - ExtensionFeedItemErrorEnum.ExtensionFeedItemError extension_feed_item_error = 100; - - // The reasons for the ad parameter error - AdParameterErrorEnum.AdParameterError ad_parameter_error = 101; - - // The reasons for the feed item validation error - FeedItemValidationErrorEnum.FeedItemValidationError feed_item_validation_error = 102; - - // The reasons for the extension setting error - ExtensionSettingErrorEnum.ExtensionSettingError extension_setting_error = 103; - - // The reasons for the feed item set error - FeedItemSetErrorEnum.FeedItemSetError feed_item_set_error = 140; - - // The reasons for the feed item set link error - FeedItemSetLinkErrorEnum.FeedItemSetLinkError feed_item_set_link_error = 141; - - // The reasons for the feed item target error - FeedItemTargetErrorEnum.FeedItemTargetError feed_item_target_error = 104; - - // The reasons for the policy violation error - PolicyViolationErrorEnum.PolicyViolationError policy_violation_error = 105; - - // The reasons for the mutate job error - PartialFailureErrorEnum.PartialFailureError partial_failure_error = 112; - - // The reasons for the policy validation parameter error - PolicyValidationParameterErrorEnum.PolicyValidationParameterError policy_validation_parameter_error = 114; - - // The reasons for the size limit error - SizeLimitErrorEnum.SizeLimitError size_limit_error = 118; - - // The reasons for the offline user data job error. - OfflineUserDataJobErrorEnum.OfflineUserDataJobError offline_user_data_job_error = 119; - - // The reasons for the not allowlisted error - NotAllowlistedErrorEnum.NotAllowlistedError not_allowlisted_error = 137; - - // The reasons for the manager link error - ManagerLinkErrorEnum.ManagerLinkError manager_link_error = 121; - - // The reasons for the currency code error - CurrencyCodeErrorEnum.CurrencyCodeError currency_code_error = 122; - - // The reasons for the experiment error - ExperimentErrorEnum.ExperimentError experiment_error = 123; - - // The reasons for the access invitation error - AccessInvitationErrorEnum.AccessInvitationError access_invitation_error = 124; - - // The reasons for the reach plan error - ReachPlanErrorEnum.ReachPlanError reach_plan_error = 125; - - // The reasons for the invoice error - InvoiceErrorEnum.InvoiceError invoice_error = 126; - - // The reasons for errors in payments accounts service - PaymentsAccountErrorEnum.PaymentsAccountError payments_account_error = 127; - - // The reasons for the time zone error - TimeZoneErrorEnum.TimeZoneError time_zone_error = 128; - - // The reasons for the asset link error - AssetLinkErrorEnum.AssetLinkError asset_link_error = 129; - - // The reasons for the user data error. - UserDataErrorEnum.UserDataError user_data_error = 130; - - // The reasons for the batch job error - BatchJobErrorEnum.BatchJobError batch_job_error = 131; - - // The reasons for the account link status change error - AccountLinkErrorEnum.AccountLinkError account_link_error = 134; - - // The reasons for the third party app analytics link mutate error - ThirdPartyAppAnalyticsLinkErrorEnum.ThirdPartyAppAnalyticsLinkError third_party_app_analytics_link_error = 135; - - // The reasons for the customer user access mutate error - CustomerUserAccessErrorEnum.CustomerUserAccessError customer_user_access_error = 138; - - // The reasons for the custom audience error - CustomAudienceErrorEnum.CustomAudienceError custom_audience_error = 139; - - // The reasons for the audience error - AudienceErrorEnum.AudienceError audience_error = 164; - - // The reasons for the experiment arm error - ExperimentArmErrorEnum.ExperimentArmError experiment_arm_error = 156; - - // The reasons for the Audience Insights error - AudienceInsightsErrorEnum.AudienceInsightsError audience_insights_error = 167; - } -} - -// Describes the part of the request proto that caused the error. -message ErrorLocation { - // A part of a field path. - message FieldPathElement { - // The name of a field or a oneof - string field_name = 1; - - // If field_name is a repeated field, this is the element that failed - optional int32 index = 3; - } - - // A field path that indicates which field was invalid in the request. - repeated FieldPathElement field_path_elements = 2; -} - -// Additional error details. -message ErrorDetails { - // The error code that should have been returned, but wasn't. This is used - // when the error code is not published in the client specified version. - string unpublished_error_code = 1; - - // Describes an ad policy violation. - PolicyViolationDetails policy_violation_details = 2; - - // Describes policy violation findings. - PolicyFindingDetails policy_finding_details = 3; - - // Details on the quota error, including the scope (account or developer), the - // rate bucket name and the retry delay. - QuotaErrorDetails quota_error_details = 4; - - // Details for a resource count limit exceeded error. - ResourceCountDetails resource_count_details = 5; -} - -// Error returned as part of a mutate response. -// This error indicates single policy violation by some text -// in one of the fields. -message PolicyViolationDetails { - // Human readable description of policy violation. - string external_policy_description = 2; - - // Unique identifier for this violation. - // If policy is exemptible, this key may be used to request exemption. - google.ads.googleads.v11.common.PolicyViolationKey key = 4; - - // Human readable name of the policy. - string external_policy_name = 5; - - // Whether user can file an exemption request for this violation. - bool is_exemptible = 6; -} - -// Error returned as part of a mutate response. -// This error indicates one or more policy findings in the fields of a -// resource. -message PolicyFindingDetails { - // The list of policy topics for the resource. Contains the PROHIBITED or - // FULLY_LIMITED policy topic entries that prevented the resource from being - // saved (among any other entries the resource may also have). - repeated google.ads.googleads.v11.common.PolicyTopicEntry policy_topic_entries = 1; -} - -// Additional quota error details when there is QuotaError. -message QuotaErrorDetails { - // Enum of possible scopes that quota buckets belong to. - enum QuotaRateScope { - // Unspecified enum - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Per customer account quota - ACCOUNT = 2; - - // Per project or DevToken quota - DEVELOPER = 3; - } - - // The rate scope of the quota limit. - QuotaRateScope rate_scope = 1; - - // The high level description of the quota bucket. - // Examples are "Get requests for standard access" or "Requests per account". - string rate_name = 2; - - // Backoff period that customers should wait before sending next request. - google.protobuf.Duration retry_delay = 3; -} - -// Error details returned when an resource count limit was exceeded. -message ResourceCountDetails { - // The ID of the resource whose limit was exceeded. - // External customer ID if the limit is for a customer. - string enclosing_id = 1; - - // The name of the resource (Customer, Campaign etc.) whose limit was - // exceeded. - string enclosing_resource = 5; - - // The limit which was exceeded. - int32 limit = 2; - - // The resource limit type which was exceeded. - google.ads.googleads.v11.enums.ResourceLimitTypeEnum.ResourceLimitType limit_type = 3; - - // The count of existing entities. - int32 existing_count = 4; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/experiment_arm_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/experiment_arm_error.proto deleted file mode 100644 index f8b151232..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/experiment_arm_error.proto +++ /dev/null @@ -1,86 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ExperimentArmErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing experiment arm errors. - -// Container for enum describing possible experiment arm error. -message ExperimentArmErrorEnum { - // Enum describing possible experiment arm errors. - enum ExperimentArmError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Number of experiment arms is above limit. - EXPERIMENT_ARM_COUNT_LIMIT_EXCEEDED = 2; - - // Cannot add campaign with invalid status to the experiment arm. - INVALID_CAMPAIGN_STATUS = 3; - - // Cannot add duplicate experiment arm name in one experiment. - DUPLICATE_EXPERIMENT_ARM_NAME = 4; - - // Cannot set campaigns of treatment experiment arm. - CANNOT_SET_TREATMENT_ARM_CAMPAIGN = 5; - - // Cannot edit campaign ids in trial arms in non SETUP experiment. - CANNOT_MODIFY_CAMPAIGN_IDS = 6; - - // Cannot modify the campaigns in the control arm - // if there is not a suffix set in the trial. - CANNOT_MODIFY_CAMPAIGN_WITHOUT_SUFFIX_SET = 7; - - // Traffic split related settings (like traffic share bounds) can't be - // modified after the trial has started. - CANNOT_MUTATE_TRAFFIC_SPLIT_AFTER_START = 8; - - // Cannot use shared budget on experiment's control campaign. - CANNOT_ADD_CAMPAIGN_WITH_SHARED_BUDGET = 9; - - // Cannot use custom budget on experiment's control campaigns. - CANNOT_ADD_CAMPAIGN_WITH_CUSTOM_BUDGET = 10; - - // Cannot have enable_dynamic_assets turned on in experiment's campaigns. - CANNOT_ADD_CAMPAIGNS_WITH_DYNAMIC_ASSETS_ENABLED = 11; - - // Cannot use campaign's advertising channel sub type in experiment. - UNSUPPORTED_CAMPAIGN_ADVERTISING_CHANNEL_SUB_TYPE = 12; - - // Experiment date range must be within base campaign's date range. - CANNOT_ADD_BASE_CAMPAIGN_WITH_DATE_RANGE = 13; - - // Bidding strategy is not supported in experiments. - BIDDING_STRATEGY_NOT_SUPPORTED_IN_EXPERIMENTS = 14; - - // Traffic split is not supported for some channel types. - TRAFFIC_SPLIT_NOT_SUPPORTED_FOR_CHANNEL_TYPE = 15; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/experiment_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/experiment_error.proto deleted file mode 100644 index 6a4f7ed1c..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/experiment_error.proto +++ /dev/null @@ -1,120 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ExperimentErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing experiment errors. - -// Container for enum describing possible experiment error. -message ExperimentErrorEnum { - // Enum describing possible experiment errors. - enum ExperimentError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The start date of an experiment cannot be set in the past. - // Use a start date in the future. - CANNOT_SET_START_DATE_IN_PAST = 2; - - // The end date of an experiment is before its start date. - // Use an end date after the start date. - END_DATE_BEFORE_START_DATE = 3; - - // The start date of an experiment is too far in the future. - // Use a start date no more than 1 year in the future. - START_DATE_TOO_FAR_IN_FUTURE = 4; - - // The experiment has the same name as an existing active experiment. - DUPLICATE_EXPERIMENT_NAME = 5; - - // Experiments can only be modified when they are ENABLED. - CANNOT_MODIFY_REMOVED_EXPERIMENT = 6; - - // The start date of an experiment cannot be modified if the existing start - // date has already passed. - START_DATE_ALREADY_PASSED = 7; - - // The end date of an experiment cannot be set in the past. - CANNOT_SET_END_DATE_IN_PAST = 8; - - // The status of an experiment cannot be set to REMOVED. - CANNOT_SET_STATUS_TO_REMOVED = 9; - - // The end date of an expired experiment cannot be modified. - CANNOT_MODIFY_PAST_END_DATE = 10; - - // The status is invalid. - INVALID_STATUS = 11; - - // Experiment arm contains campaigns with invalid advertising channel type. - INVALID_CAMPAIGN_CHANNEL_TYPE = 12; - - // A pair of trials share members and have overlapping date ranges. - OVERLAPPING_MEMBERS_AND_DATE_RANGE = 13; - - // Experiment arm contains invalid traffic split. - INVALID_TRIAL_ARM_TRAFFIC_SPLIT = 14; - - // Experiment contains trial arms with overlapping traffic split. - TRAFFIC_SPLIT_OVERLAPPING = 15; - - // The total traffic split of trial arms is not equal to 100. - SUM_TRIAL_ARM_TRAFFIC_UNEQUALS_TO_TRIAL_TRAFFIC_SPLIT_DENOMINATOR = 16; - - // Traffic split related settings (like traffic share bounds) can't be - // modified after the experiment has started. - CANNOT_MODIFY_TRAFFIC_SPLIT_AFTER_START = 17; - - // The experiment could not be found. - EXPERIMENT_NOT_FOUND = 18; - - // Experiment has not begun. - EXPERIMENT_NOT_YET_STARTED = 19; - - // The experiment cannot have more than one control arm. - CANNOT_HAVE_MULTIPLE_CONTROL_ARMS = 20; - - // The experiment doesn't set in-design campaigns. - IN_DESIGN_CAMPAIGNS_NOT_SET = 21; - - // Clients must use the graduate action to graduate experiments and cannot - // set the status to GRADUATED directly. - CANNOT_SET_STATUS_TO_GRADUATED = 22; - - // Cannot use shared budget on base campaign when scheduling an experiment. - CANNOT_CREATE_EXPERIMENT_CAMPAIGN_WITH_SHARED_BUDGET = 23; - - // Cannot use custom budget on base campaign when scheduling an experiment. - CANNOT_CREATE_EXPERIMENT_CAMPAIGN_WITH_CUSTOM_BUDGET = 24; - - // Invalid status transition. - STATUS_TRANSITION_INVALID = 25; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/extension_feed_item_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/extension_feed_item_error.proto deleted file mode 100644 index ca46655eb..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/extension_feed_item_error.proto +++ /dev/null @@ -1,193 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ExtensionFeedItemErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing extension feed item errors. - -// Container for enum describing possible extension feed item error. -message ExtensionFeedItemErrorEnum { - // Enum describing possible extension feed item errors. - enum ExtensionFeedItemError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Value is not within the accepted range. - VALUE_OUT_OF_RANGE = 2; - - // Url list is too long. - URL_LIST_TOO_LONG = 3; - - // Cannot have a geo targeting restriction without having geo targeting. - CANNOT_HAVE_RESTRICTION_ON_EMPTY_GEO_TARGETING = 4; - - // Cannot simultaneously set sitelink field with final urls. - CANNOT_SET_WITH_FINAL_URLS = 5; - - // Must set field with final urls. - CANNOT_SET_WITHOUT_FINAL_URLS = 6; - - // Phone number for a call extension is invalid. - INVALID_PHONE_NUMBER = 7; - - // Phone number for a call extension is not supported for the given country - // code. - PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY = 8; - - // A carrier specific number in short format is not allowed for call - // extensions. - CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED = 9; - - // Premium rate numbers are not allowed for call extensions. - PREMIUM_RATE_NUMBER_NOT_ALLOWED = 10; - - // Phone number type for a call extension is not allowed. - // For example, personal number is not allowed for a call extension in - // most regions. - DISALLOWED_NUMBER_TYPE = 11; - - // Phone number for a call extension does not meet domestic format - // requirements. - INVALID_DOMESTIC_PHONE_NUMBER_FORMAT = 12; - - // Vanity phone numbers (for example, those including letters) are not - // allowed for call extensions. - VANITY_PHONE_NUMBER_NOT_ALLOWED = 13; - - // Call conversion action provided for a call extension is invalid. - INVALID_CALL_CONVERSION_ACTION = 14; - - // For a call extension, the customer is not on the allow-list for call - // tracking. - CUSTOMER_NOT_ON_ALLOWLIST_FOR_CALLTRACKING = 47; - - // Call tracking is not supported for the given country for a call - // extension. - CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY = 16; - - // Customer hasn't consented for call recording, which is required for - // creating/updating call feed items. See - // https://support.google.com/google-ads/answer/7412639. - CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED = 17; - - // App id provided for an app extension is invalid. - INVALID_APP_ID = 18; - - // Quotation marks present in the review text for a review extension. - QUOTES_IN_REVIEW_EXTENSION_SNIPPET = 19; - - // Hyphen character present in the review text for a review extension. - HYPHENS_IN_REVIEW_EXTENSION_SNIPPET = 20; - - // A denylisted review source name or url was provided for a review - // extension. - REVIEW_EXTENSION_SOURCE_INELIGIBLE = 21; - - // Review source name should not be found in the review text. - SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT = 22; - - // Inconsistent currency codes. - INCONSISTENT_CURRENCY_CODES = 23; - - // Price extension cannot have duplicated headers. - PRICE_EXTENSION_HAS_DUPLICATED_HEADERS = 24; - - // Price item cannot have duplicated header and description. - PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION = 25; - - // Price extension has too few items. - PRICE_EXTENSION_HAS_TOO_FEW_ITEMS = 26; - - // Price extension has too many items. - PRICE_EXTENSION_HAS_TOO_MANY_ITEMS = 27; - - // The input value is not currently supported. - UNSUPPORTED_VALUE = 28; - - // The input value is not currently supported in the selected language of an - // extension. - UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE = 29; - - // Unknown or unsupported device preference. - INVALID_DEVICE_PREFERENCE = 30; - - // Invalid feed item schedule end time (for example, endHour = 24 and - // endMinute != 0). - INVALID_SCHEDULE_END = 31; - - // Date time zone does not match the account's time zone. - DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE = 32; - - // Invalid structured snippet header. - INVALID_SNIPPETS_HEADER = 33; - - // Cannot operate on removed feed item. - CANNOT_OPERATE_ON_REMOVED_FEED_ITEM = 34; - - // Phone number not supported when call tracking enabled for country. - PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY = 35; - - // Cannot set call_conversion_action while call_conversion_tracking_enabled - // is set to true. - CONFLICTING_CALL_CONVERSION_SETTINGS = 36; - - // The type of the input extension feed item doesn't match the existing - // extension feed item. - EXTENSION_TYPE_MISMATCH = 37; - - // The oneof field extension for example, subtype of extension feed item is - // required. - EXTENSION_SUBTYPE_REQUIRED = 38; - - // The referenced feed item is not mapped to a supported extension type. - EXTENSION_TYPE_UNSUPPORTED = 39; - - // Cannot operate on a Feed with more than one active FeedMapping. - CANNOT_OPERATE_ON_FEED_WITH_MULTIPLE_MAPPINGS = 40; - - // Cannot operate on a Feed that has key attributes. - CANNOT_OPERATE_ON_FEED_WITH_KEY_ATTRIBUTES = 41; - - // Input price is not in a valid format. - INVALID_PRICE_FORMAT = 42; - - // The promotion time is invalid. - PROMOTION_INVALID_TIME = 43; - - // This field has too many decimal places specified. - TOO_MANY_DECIMAL_PLACES_SPECIFIED = 44; - - // Concrete sub type of ExtensionFeedItem is required for this operation. - CONCRETE_EXTENSION_TYPE_REQUIRED = 45; - - // Feed item schedule end time must be after start time. - SCHEDULE_END_NOT_AFTER_START = 46; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/extension_setting_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/extension_setting_error.proto deleted file mode 100644 index 25890d8a4..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/extension_setting_error.proto +++ /dev/null @@ -1,259 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ExtensionSettingErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing extension setting validation errors. - -// Container for enum describing validation errors of extension settings. -message ExtensionSettingErrorEnum { - // Enum describing possible extension setting errors. - enum ExtensionSettingError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // A platform restriction was provided without input extensions or existing - // extensions. - EXTENSIONS_REQUIRED = 2; - - // The provided feed type does not correspond to the provided extensions. - FEED_TYPE_EXTENSION_TYPE_MISMATCH = 3; - - // The provided feed type cannot be used. - INVALID_FEED_TYPE = 4; - - // The provided feed type cannot be used at the customer level. - INVALID_FEED_TYPE_FOR_CUSTOMER_EXTENSION_SETTING = 5; - - // Cannot change a feed item field on a CREATE operation. - CANNOT_CHANGE_FEED_ITEM_ON_CREATE = 6; - - // Cannot update an extension that is not already in this setting. - CANNOT_UPDATE_NEWLY_CREATED_EXTENSION = 7; - - // There is no existing AdGroupExtensionSetting for this type. - NO_EXISTING_AD_GROUP_EXTENSION_SETTING_FOR_TYPE = 8; - - // There is no existing CampaignExtensionSetting for this type. - NO_EXISTING_CAMPAIGN_EXTENSION_SETTING_FOR_TYPE = 9; - - // There is no existing CustomerExtensionSetting for this type. - NO_EXISTING_CUSTOMER_EXTENSION_SETTING_FOR_TYPE = 10; - - // The AdGroupExtensionSetting already exists. UPDATE should be used to - // modify the existing AdGroupExtensionSetting. - AD_GROUP_EXTENSION_SETTING_ALREADY_EXISTS = 11; - - // The CampaignExtensionSetting already exists. UPDATE should be used to - // modify the existing CampaignExtensionSetting. - CAMPAIGN_EXTENSION_SETTING_ALREADY_EXISTS = 12; - - // The CustomerExtensionSetting already exists. UPDATE should be used to - // modify the existing CustomerExtensionSetting. - CUSTOMER_EXTENSION_SETTING_ALREADY_EXISTS = 13; - - // An active ad group feed already exists for this place holder type. - AD_GROUP_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE = 14; - - // An active campaign feed already exists for this place holder type. - CAMPAIGN_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE = 15; - - // An active customer feed already exists for this place holder type. - CUSTOMER_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE = 16; - - // Value is not within the accepted range. - VALUE_OUT_OF_RANGE = 17; - - // Cannot simultaneously set specified field with final urls. - CANNOT_SET_FIELD_WITH_FINAL_URLS = 18; - - // Must set field with final urls. - FINAL_URLS_NOT_SET = 19; - - // Phone number for a call extension is invalid. - INVALID_PHONE_NUMBER = 20; - - // Phone number for a call extension is not supported for the given country - // code. - PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY = 21; - - // A carrier specific number in short format is not allowed for call - // extensions. - CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED = 22; - - // Premium rate numbers are not allowed for call extensions. - PREMIUM_RATE_NUMBER_NOT_ALLOWED = 23; - - // Phone number type for a call extension is not allowed. - DISALLOWED_NUMBER_TYPE = 24; - - // Phone number for a call extension does not meet domestic format - // requirements. - INVALID_DOMESTIC_PHONE_NUMBER_FORMAT = 25; - - // Vanity phone numbers (for example, those including letters) are not - // allowed for call extensions. - VANITY_PHONE_NUMBER_NOT_ALLOWED = 26; - - // Country code provided for a call extension is invalid. - INVALID_COUNTRY_CODE = 27; - - // Call conversion type id provided for a call extension is invalid. - INVALID_CALL_CONVERSION_TYPE_ID = 28; - - // For a call extension, the customer is not on the allow-list for call - // tracking. - CUSTOMER_NOT_IN_ALLOWLIST_FOR_CALLTRACKING = 69; - - // Call tracking is not supported for the given country for a call - // extension. - CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY = 30; - - // App id provided for an app extension is invalid. - INVALID_APP_ID = 31; - - // Quotation marks present in the review text for a review extension. - QUOTES_IN_REVIEW_EXTENSION_SNIPPET = 32; - - // Hyphen character present in the review text for a review extension. - HYPHENS_IN_REVIEW_EXTENSION_SNIPPET = 33; - - // A blocked review source name or url was provided for a review - // extension. - REVIEW_EXTENSION_SOURCE_NOT_ELIGIBLE = 34; - - // Review source name should not be found in the review text. - SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT = 35; - - // Field must be set. - MISSING_FIELD = 36; - - // Inconsistent currency codes. - INCONSISTENT_CURRENCY_CODES = 37; - - // Price extension cannot have duplicated headers. - PRICE_EXTENSION_HAS_DUPLICATED_HEADERS = 38; - - // Price item cannot have duplicated header and description. - PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION = 39; - - // Price extension has too few items - PRICE_EXTENSION_HAS_TOO_FEW_ITEMS = 40; - - // Price extension has too many items - PRICE_EXTENSION_HAS_TOO_MANY_ITEMS = 41; - - // The input value is not currently supported. - UNSUPPORTED_VALUE = 42; - - // Unknown or unsupported device preference. - INVALID_DEVICE_PREFERENCE = 43; - - // Invalid feed item schedule end time (for example, endHour = 24 and - // endMinute != 0). - INVALID_SCHEDULE_END = 45; - - // Date time zone does not match the account's time zone. - DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE = 47; - - // Overlapping feed item schedule times (for example, 7-10AM and 8-11AM) are - // not allowed. - OVERLAPPING_SCHEDULES_NOT_ALLOWED = 48; - - // Feed item schedule end time must be after start time. - SCHEDULE_END_NOT_AFTER_START = 49; - - // There are too many feed item schedules per day. - TOO_MANY_SCHEDULES_PER_DAY = 50; - - // Cannot edit the same extension feed item more than once in the same - // request. - DUPLICATE_EXTENSION_FEED_ITEM_EDIT = 51; - - // Invalid structured snippet header. - INVALID_SNIPPETS_HEADER = 52; - - // Phone number with call tracking enabled is not supported for the - // specified country. - PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY = 53; - - // The targeted adgroup must belong to the targeted campaign. - CAMPAIGN_TARGETING_MISMATCH = 54; - - // The feed used by the ExtensionSetting is removed and cannot be operated - // on. Remove the ExtensionSetting to allow a new one to be created using - // an active feed. - CANNOT_OPERATE_ON_REMOVED_FEED = 55; - - // The ExtensionFeedItem type is required for this operation. - EXTENSION_TYPE_REQUIRED = 56; - - // The matching function that links the extension feed to the customer, - // campaign, or ad group is not compatible with the ExtensionSetting - // services. - INCOMPATIBLE_UNDERLYING_MATCHING_FUNCTION = 57; - - // Start date must be before end date. - START_DATE_AFTER_END_DATE = 58; - - // Input price is not in a valid format. - INVALID_PRICE_FORMAT = 59; - - // The promotion time is invalid. - PROMOTION_INVALID_TIME = 60; - - // Cannot set both percent discount and money discount fields. - PROMOTION_CANNOT_SET_PERCENT_DISCOUNT_AND_MONEY_DISCOUNT = 61; - - // Cannot set both promotion code and orders over amount fields. - PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT = 62; - - // This field has too many decimal places specified. - TOO_MANY_DECIMAL_PLACES_SPECIFIED = 63; - - // The language code is not valid. - INVALID_LANGUAGE_CODE = 64; - - // The language is not supported. - UNSUPPORTED_LANGUAGE = 65; - - // Customer hasn't consented for call recording, which is required for - // adding/updating call extensions. See - // https://support.google.com/google-ads/answer/7412639. - CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED = 66; - - // The UPDATE operation does not specify any fields other than the resource - // name in the update mask. - EXTENSION_SETTING_UPDATE_IS_A_NOOP = 67; - - // The extension contains text which has been prohibited on policy grounds. - DISALLOWED_TEXT = 68; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/feed_attribute_reference_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/feed_attribute_reference_error.proto deleted file mode 100644 index 7e80ba9c1..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/feed_attribute_reference_error.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FeedAttributeReferenceErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing feed attribute reference errors. - -// Container for enum describing possible feed attribute reference errors. -message FeedAttributeReferenceErrorEnum { - // Enum describing possible feed attribute reference errors. - enum FeedAttributeReferenceError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // A feed referenced by ID has been removed. - CANNOT_REFERENCE_REMOVED_FEED = 2; - - // There is no enabled feed with the given name. - INVALID_FEED_NAME = 3; - - // There is no feed attribute in an enabled feed with the given name. - INVALID_FEED_ATTRIBUTE_NAME = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/feed_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/feed_error.proto deleted file mode 100644 index 5ef250e4a..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/feed_error.proto +++ /dev/null @@ -1,112 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FeedErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing feed errors. - -// Container for enum describing possible feed errors. -message FeedErrorEnum { - // Enum describing possible feed errors. - enum FeedError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The names of the FeedAttributes must be unique. - ATTRIBUTE_NAMES_NOT_UNIQUE = 2; - - // The attribute list must be an exact copy of the existing list if the - // attribute ID's are present. - ATTRIBUTES_DO_NOT_MATCH_EXISTING_ATTRIBUTES = 3; - - // Cannot specify USER origin for a system generated feed. - CANNOT_SPECIFY_USER_ORIGIN_FOR_SYSTEM_FEED = 4; - - // Cannot specify GOOGLE origin for a non-system generated feed. - CANNOT_SPECIFY_GOOGLE_ORIGIN_FOR_NON_SYSTEM_FEED = 5; - - // Cannot specify feed attributes for system feed. - CANNOT_SPECIFY_FEED_ATTRIBUTES_FOR_SYSTEM_FEED = 6; - - // Cannot update FeedAttributes on feed with origin GOOGLE. - CANNOT_UPDATE_FEED_ATTRIBUTES_WITH_ORIGIN_GOOGLE = 7; - - // The given ID refers to a removed Feed. Removed Feeds are immutable. - FEED_REMOVED = 8; - - // The origin of the feed is not valid for the client. - INVALID_ORIGIN_VALUE = 9; - - // A user can only create and modify feeds with USER origin. - FEED_ORIGIN_IS_NOT_USER = 10; - - // Invalid auth token for the given email. - INVALID_AUTH_TOKEN_FOR_EMAIL = 11; - - // Invalid email specified. - INVALID_EMAIL = 12; - - // Feed name matches that of another active Feed. - DUPLICATE_FEED_NAME = 13; - - // Name of feed is not allowed. - INVALID_FEED_NAME = 14; - - // Missing OAuthInfo. - MISSING_OAUTH_INFO = 15; - - // New FeedAttributes must not affect the unique key. - NEW_ATTRIBUTE_CANNOT_BE_PART_OF_UNIQUE_KEY = 16; - - // Too many FeedAttributes for a Feed. - TOO_MANY_ATTRIBUTES = 17; - - // The business account is not valid. - INVALID_BUSINESS_ACCOUNT = 18; - - // Business account cannot access Business Profile. - BUSINESS_ACCOUNT_CANNOT_ACCESS_LOCATION_ACCOUNT = 19; - - // Invalid chain ID provided for affiliate location feed. - INVALID_AFFILIATE_CHAIN_ID = 20; - - // There is already a feed with the given system feed generation data. - DUPLICATE_SYSTEM_FEED = 21; - - // An error occurred accessing Business Profile. - GMB_ACCESS_ERROR = 22; - - // A customer cannot have both LOCATION and AFFILIATE_LOCATION feeds. - CANNOT_HAVE_LOCATION_AND_AFFILIATE_LOCATION_FEEDS = 23; - - // Feed-based extension is read-only for this extension type. - LEGACY_EXTENSION_TYPE_READ_ONLY = 24; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/feed_item_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/feed_item_error.proto deleted file mode 100644 index d97fd32aa..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/feed_item_error.proto +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing feed item errors. - -// Container for enum describing possible feed item errors. -message FeedItemErrorEnum { - // Enum describing possible feed item errors. - enum FeedItemError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Cannot convert the feed attribute value from string to its real type. - CANNOT_CONVERT_ATTRIBUTE_VALUE_FROM_STRING = 2; - - // Cannot operate on removed feed item. - CANNOT_OPERATE_ON_REMOVED_FEED_ITEM = 3; - - // Date time zone does not match the account's time zone. - DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE = 4; - - // Feed item with the key attributes could not be found. - KEY_ATTRIBUTES_NOT_FOUND = 5; - - // Url feed attribute value is not valid. - INVALID_URL = 6; - - // Some key attributes are missing. - MISSING_KEY_ATTRIBUTES = 7; - - // Feed item has same key attributes as another feed item. - KEY_ATTRIBUTES_NOT_UNIQUE = 8; - - // Cannot modify key attributes on an existing feed item. - CANNOT_MODIFY_KEY_ATTRIBUTE_VALUE = 9; - - // The feed attribute value is too large. - SIZE_TOO_LARGE_FOR_MULTI_VALUE_ATTRIBUTE = 10; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/feed_item_set_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/feed_item_set_error.proto deleted file mode 100644 index 90e7ab817..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/feed_item_set_error.proto +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemSetErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing feed item set errors. - -// Container for enum describing possible feed item set errors. -message FeedItemSetErrorEnum { - // Enum describing possible feed item set errors. - enum FeedItemSetError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The given ID refers to a removed FeedItemSet. - FEED_ITEM_SET_REMOVED = 2; - - // The dynamic filter of a feed item set cannot be cleared on UPDATE if it - // exists. A set is either static or dynamic once added, and that cannot - // change. - CANNOT_CLEAR_DYNAMIC_FILTER = 3; - - // The dynamic filter of a feed item set cannot be created on UPDATE if it - // does not exist. A set is either static or dynamic once added, and that - // cannot change. - CANNOT_CREATE_DYNAMIC_FILTER = 4; - - // FeedItemSets can only be made for location or affiliate location feeds. - INVALID_FEED_TYPE = 5; - - // FeedItemSets duplicate name. Name should be unique within an account. - DUPLICATE_NAME = 6; - - // The feed type of the parent Feed is not compatible with the type of - // dynamic filter being set. For example, you can only set - // dynamic_location_set_filter for LOCATION feed item sets. - WRONG_DYNAMIC_FILTER_FOR_FEED_TYPE = 7; - - // Chain ID specified for AffiliateLocationFeedData is invalid. - DYNAMIC_FILTER_INVALID_CHAIN_IDS = 8; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/feed_item_set_link_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/feed_item_set_link_error.proto deleted file mode 100644 index efdcba8e1..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/feed_item_set_link_error.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemSetLinkErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing feed item set link errors. - -// Container for enum describing possible feed item set link errors. -message FeedItemSetLinkErrorEnum { - // Enum describing possible feed item set link errors. - enum FeedItemSetLinkError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The feed IDs of the FeedItemSet and FeedItem do not match. Only FeedItems - // in a given Feed can be linked to a FeedItemSet in that Feed. - FEED_ID_MISMATCH = 2; - - // Cannot add or remove links to a dynamic set. - NO_MUTATE_ALLOWED_FOR_DYNAMIC_SET = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/feed_item_target_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/feed_item_target_error.proto deleted file mode 100644 index 226a1b83e..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/feed_item_target_error.proto +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemTargetErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing feed item target errors. - -// Container for enum describing possible feed item target errors. -message FeedItemTargetErrorEnum { - // Enum describing possible feed item target errors. - enum FeedItemTargetError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // On CREATE, the FeedItemTarget must have a populated field in the oneof - // target. - MUST_SET_TARGET_ONEOF_ON_CREATE = 2; - - // The specified feed item target already exists, so it cannot be added. - FEED_ITEM_TARGET_ALREADY_EXISTS = 3; - - // The schedules for a given feed item cannot overlap. - FEED_ITEM_SCHEDULES_CANNOT_OVERLAP = 4; - - // Too many targets of a given type were added for a single feed item. - TARGET_LIMIT_EXCEEDED_FOR_GIVEN_TYPE = 5; - - // Too many AdSchedules are enabled for the feed item for the given day. - TOO_MANY_SCHEDULES_PER_DAY = 6; - - // A feed item may either have an enabled campaign target or an enabled ad - // group target. - CANNOT_HAVE_ENABLED_CAMPAIGN_AND_ENABLED_AD_GROUP_TARGETS = 7; - - // Duplicate ad schedules aren't allowed. - DUPLICATE_AD_SCHEDULE = 8; - - // Duplicate keywords aren't allowed. - DUPLICATE_KEYWORD = 9; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/feed_item_validation_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/feed_item_validation_error.proto deleted file mode 100644 index 921fd804c..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/feed_item_validation_error.proto +++ /dev/null @@ -1,375 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemValidationErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing feed item validation errors. - -// Container for enum describing possible validation errors of a feed item. -message FeedItemValidationErrorEnum { - // The possible validation errors of a feed item. - enum FeedItemValidationError { - // No value has been specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // String is too short. - STRING_TOO_SHORT = 2; - - // String is too long. - STRING_TOO_LONG = 3; - - // Value is not provided. - VALUE_NOT_SPECIFIED = 4; - - // Phone number format is invalid for region. - INVALID_DOMESTIC_PHONE_NUMBER_FORMAT = 5; - - // String does not represent a phone number. - INVALID_PHONE_NUMBER = 6; - - // Phone number format is not compatible with country code. - PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY = 7; - - // Premium rate number is not allowed. - PREMIUM_RATE_NUMBER_NOT_ALLOWED = 8; - - // Phone number type is not allowed. - DISALLOWED_NUMBER_TYPE = 9; - - // Specified value is outside of the valid range. - VALUE_OUT_OF_RANGE = 10; - - // Call tracking is not supported in the selected country. - CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY = 11; - - // Customer is not on the allow-list for call tracking. - CUSTOMER_NOT_IN_ALLOWLIST_FOR_CALLTRACKING = 99; - - // Country code is invalid. - INVALID_COUNTRY_CODE = 13; - - // The specified mobile app id is invalid. - INVALID_APP_ID = 14; - - // Some required field attributes are missing. - MISSING_ATTRIBUTES_FOR_FIELDS = 15; - - // Invalid email button type for email extension. - INVALID_TYPE_ID = 16; - - // Email address is invalid. - INVALID_EMAIL_ADDRESS = 17; - - // The HTTPS URL in email extension is invalid. - INVALID_HTTPS_URL = 18; - - // Delivery address is missing from email extension. - MISSING_DELIVERY_ADDRESS = 19; - - // FeedItem scheduling start date comes after end date. - START_DATE_AFTER_END_DATE = 20; - - // FeedItem scheduling start time is missing. - MISSING_FEED_ITEM_START_TIME = 21; - - // FeedItem scheduling end time is missing. - MISSING_FEED_ITEM_END_TIME = 22; - - // Cannot compute system attributes on a FeedItem that has no FeedItemId. - MISSING_FEED_ITEM_ID = 23; - - // Call extension vanity phone numbers are not supported. - VANITY_PHONE_NUMBER_NOT_ALLOWED = 24; - - // Invalid review text. - INVALID_REVIEW_EXTENSION_SNIPPET = 25; - - // Invalid format for numeric value in ad parameter. - INVALID_NUMBER_FORMAT = 26; - - // Invalid format for date value in ad parameter. - INVALID_DATE_FORMAT = 27; - - // Invalid format for price value in ad parameter. - INVALID_PRICE_FORMAT = 28; - - // Unrecognized type given for value in ad parameter. - UNKNOWN_PLACEHOLDER_FIELD = 29; - - // Enhanced sitelinks must have both description lines specified. - MISSING_ENHANCED_SITELINK_DESCRIPTION_LINE = 30; - - // Review source is ineligible. - REVIEW_EXTENSION_SOURCE_INELIGIBLE = 31; - - // Review text cannot contain hyphens or dashes. - HYPHENS_IN_REVIEW_EXTENSION_SNIPPET = 32; - - // Review text cannot contain double quote characters. - DOUBLE_QUOTES_IN_REVIEW_EXTENSION_SNIPPET = 33; - - // Review text cannot contain quote characters. - QUOTES_IN_REVIEW_EXTENSION_SNIPPET = 34; - - // Parameters are encoded in the wrong format. - INVALID_FORM_ENCODED_PARAMS = 35; - - // URL parameter name must contain only letters, numbers, underscores, and - // dashes. - INVALID_URL_PARAMETER_NAME = 36; - - // Cannot find address location. - NO_GEOCODING_RESULT = 37; - - // Review extension text has source name. - SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT = 38; - - // Some phone numbers can be shorter than usual. Some of these short numbers - // are carrier-specific, and we disallow those in ad extensions because they - // will not be available to all users. - CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED = 39; - - // Triggered when a request references a placeholder field id that does not - // exist. - INVALID_PLACEHOLDER_FIELD_ID = 40; - - // URL contains invalid ValueTrack tags or format. - INVALID_URL_TAG = 41; - - // Provided list exceeds acceptable size. - LIST_TOO_LONG = 42; - - // Certain combinations of attributes aren't allowed to be specified in the - // same feed item. - INVALID_ATTRIBUTES_COMBINATION = 43; - - // An attribute has the same value repeatedly. - DUPLICATE_VALUES = 44; - - // Advertisers can link a conversion action with a phone number to indicate - // that sufficiently long calls forwarded to that phone number should be - // counted as conversions of the specified type. This is an error message - // indicating that the conversion action specified is invalid (for example, - // the conversion action does not exist within the appropriate Google Ads - // account, or it is a type of conversion not appropriate to phone call - // conversions). - INVALID_CALL_CONVERSION_ACTION_ID = 45; - - // Tracking template requires final url to be set. - CANNOT_SET_WITHOUT_FINAL_URLS = 46; - - // An app id was provided that doesn't exist in the given app store. - APP_ID_DOESNT_EXIST_IN_APP_STORE = 47; - - // Invalid U2 final url. - INVALID_FINAL_URL = 48; - - // Invalid U2 tracking url. - INVALID_TRACKING_URL = 49; - - // Final URL should start from App download URL. - INVALID_FINAL_URL_FOR_APP_DOWNLOAD_URL = 50; - - // List provided is too short. - LIST_TOO_SHORT = 51; - - // User Action field has invalid value. - INVALID_USER_ACTION = 52; - - // Type field has invalid value. - INVALID_TYPE_NAME = 53; - - // Change status for event is invalid. - INVALID_EVENT_CHANGE_STATUS = 54; - - // The header of a structured snippets extension is not one of the valid - // headers. - INVALID_SNIPPETS_HEADER = 55; - - // Android app link is not formatted correctly - INVALID_ANDROID_APP_LINK = 56; - - // Phone number incompatible with call tracking for country. - NUMBER_TYPE_WITH_CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY = 57; - - // The input is identical to a reserved keyword - RESERVED_KEYWORD_OTHER = 58; - - // Each option label in the message extension must be unique. - DUPLICATE_OPTION_LABELS = 59; - - // Each option prefill in the message extension must be unique. - DUPLICATE_OPTION_PREFILLS = 60; - - // In message extensions, the number of optional labels and optional - // prefills must be the same. - UNEQUAL_LIST_LENGTHS = 61; - - // All currency codes in an ad extension must be the same. - INCONSISTENT_CURRENCY_CODES = 62; - - // Headers in price extension are not unique. - PRICE_EXTENSION_HAS_DUPLICATED_HEADERS = 63; - - // Header and description in an item are the same. - ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION = 64; - - // Price extension has too few items. - PRICE_EXTENSION_HAS_TOO_FEW_ITEMS = 65; - - // The given value is not supported. - UNSUPPORTED_VALUE = 66; - - // Invalid final mobile url. - INVALID_FINAL_MOBILE_URL = 67; - - // The given string value of Label contains invalid characters - INVALID_KEYWORDLESS_AD_RULE_LABEL = 68; - - // The given URL contains value track parameters. - VALUE_TRACK_PARAMETER_NOT_SUPPORTED = 69; - - // The given value is not supported in the selected language of an - // extension. - UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE = 70; - - // The iOS app link is not formatted correctly. - INVALID_IOS_APP_LINK = 71; - - // iOS app link or iOS app store id is missing. - MISSING_IOS_APP_LINK_OR_IOS_APP_STORE_ID = 72; - - // Promotion time is invalid. - PROMOTION_INVALID_TIME = 73; - - // Both the percent off and money amount off fields are set. - PROMOTION_CANNOT_SET_PERCENT_OFF_AND_MONEY_AMOUNT_OFF = 74; - - // Both the promotion code and orders over amount fields are set. - PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT = 75; - - // Too many decimal places are specified. - TOO_MANY_DECIMAL_PLACES_SPECIFIED = 76; - - // Ad Customizers are present and not allowed. - AD_CUSTOMIZERS_NOT_ALLOWED = 77; - - // Language code is not valid. - INVALID_LANGUAGE_CODE = 78; - - // Language is not supported. - UNSUPPORTED_LANGUAGE = 79; - - // IF Function is present and not allowed. - IF_FUNCTION_NOT_ALLOWED = 80; - - // Final url suffix is not valid. - INVALID_FINAL_URL_SUFFIX = 81; - - // Final url suffix contains an invalid tag. - INVALID_TAG_IN_FINAL_URL_SUFFIX = 82; - - // Final url suffix is formatted incorrectly. - INVALID_FINAL_URL_SUFFIX_FORMAT = 83; - - // Consent for call recording, which is required for the use of call - // extensions, was not provided by the advertiser. See - // https://support.google.com/google-ads/answer/7412639. - CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED = 84; - - // Multiple message delivery options are set. - ONLY_ONE_DELIVERY_OPTION_IS_ALLOWED = 85; - - // No message delivery option is set. - NO_DELIVERY_OPTION_IS_SET = 86; - - // String value of conversion reporting state field is not valid. - INVALID_CONVERSION_REPORTING_STATE = 87; - - // Image size is not right. - IMAGE_SIZE_WRONG = 88; - - // Email delivery is not supported in the country specified in the country - // code field. - EMAIL_DELIVERY_NOT_AVAILABLE_IN_COUNTRY = 89; - - // Auto reply is not supported in the country specified in the country code - // field. - AUTO_REPLY_NOT_AVAILABLE_IN_COUNTRY = 90; - - // Invalid value specified for latitude. - INVALID_LATITUDE_VALUE = 91; - - // Invalid value specified for longitude. - INVALID_LONGITUDE_VALUE = 92; - - // Too many label fields provided. - TOO_MANY_LABELS = 93; - - // Invalid image url. - INVALID_IMAGE_URL = 94; - - // Latitude value is missing. - MISSING_LATITUDE_VALUE = 95; - - // Longitude value is missing. - MISSING_LONGITUDE_VALUE = 96; - - // Unable to find address. - ADDRESS_NOT_FOUND = 97; - - // Cannot target provided address. - ADDRESS_NOT_TARGETABLE = 98; - - // The specified asset ID does not exist. - INVALID_ASSET_ID = 100; - - // The asset type cannot be set for the field. - INCOMPATIBLE_ASSET_TYPE = 101; - - // The image has unexpected size. - IMAGE_ERROR_UNEXPECTED_SIZE = 102; - - // The image aspect ratio is not allowed. - IMAGE_ERROR_ASPECT_RATIO_NOT_ALLOWED = 103; - - // The image file is too large. - IMAGE_ERROR_FILE_TOO_LARGE = 104; - - // The image format is unsupported. - IMAGE_ERROR_FORMAT_NOT_ALLOWED = 105; - - // Image violates constraints without more details. - IMAGE_ERROR_CONSTRAINTS_VIOLATED = 106; - - // An error occurred when validating image. - IMAGE_ERROR_SERVER_ERROR = 107; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/feed_mapping_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/feed_mapping_error.proto deleted file mode 100644 index 6ed5c13ad..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/feed_mapping_error.proto +++ /dev/null @@ -1,98 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FeedMappingErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing feed item errors. - -// Container for enum describing possible feed item errors. -message FeedMappingErrorEnum { - // Enum describing possible feed item errors. - enum FeedMappingError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The given placeholder field does not exist. - INVALID_PLACEHOLDER_FIELD = 2; - - // The given criterion field does not exist. - INVALID_CRITERION_FIELD = 3; - - // The given placeholder type does not exist. - INVALID_PLACEHOLDER_TYPE = 4; - - // The given criterion type does not exist. - INVALID_CRITERION_TYPE = 5; - - // A feed mapping must contain at least one attribute field mapping. - NO_ATTRIBUTE_FIELD_MAPPINGS = 7; - - // The type of the feed attribute referenced in the attribute field mapping - // must match the type of the placeholder field. - FEED_ATTRIBUTE_TYPE_MISMATCH = 8; - - // A feed mapping for a system generated feed cannot be operated on. - CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED = 9; - - // Only one feed mapping for a placeholder type is allowed per feed or - // customer (depending on the placeholder type). - MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE = 10; - - // Only one feed mapping for a criterion type is allowed per customer. - MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE = 11; - - // Only one feed attribute mapping for a placeholder field is allowed - // (depending on the placeholder type). - MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD = 12; - - // Only one feed attribute mapping for a criterion field is allowed - // (depending on the criterion type). - MULTIPLE_MAPPINGS_FOR_CRITERION_FIELD = 13; - - // This feed mapping may not contain any explicit attribute field mappings. - UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS = 14; - - // Location placeholder feed mappings can only be created for Places feeds. - LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS = 15; - - // Mappings for typed feeds cannot be modified. - CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED = 16; - - // The given placeholder type can only be mapped to system generated feeds. - INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED = 17; - - // The given placeholder type cannot be mapped to a system generated feed - // with the given type. - INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE = 18; - - // The "field" oneof was not set in an AttributeFieldMapping. - ATTRIBUTE_FIELD_MAPPING_MISSING_FIELD = 19; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/field_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/field_error.proto deleted file mode 100644 index 6853928e4..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/field_error.proto +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FieldErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing field errors. - -// Container for enum describing possible field errors. -message FieldErrorEnum { - // Enum describing possible field errors. - enum FieldError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The required field was not present. - REQUIRED = 2; - - // The field attempted to be mutated is immutable. - IMMUTABLE_FIELD = 3; - - // The field's value is invalid. - INVALID_VALUE = 4; - - // The field cannot be set. - VALUE_MUST_BE_UNSET = 5; - - // The required repeated field was empty. - REQUIRED_NONEMPTY_LIST = 6; - - // The field cannot be cleared. - FIELD_CANNOT_BE_CLEARED = 7; - - // The field's value is on a deny-list for this field. - BLOCKED_VALUE = 9; - - // The field's value cannot be modified, except for clearing. - FIELD_CAN_ONLY_BE_CLEARED = 10; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/field_mask_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/field_mask_error.proto deleted file mode 100644 index 7d5198d9a..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/field_mask_error.proto +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FieldMaskErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing field mask errors. - -// Container for enum describing possible field mask errors. -message FieldMaskErrorEnum { - // Enum describing possible field mask errors. - enum FieldMaskError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The field mask must be provided for update operations. - FIELD_MASK_MISSING = 5; - - // The field mask must be empty for create and remove operations. - FIELD_MASK_NOT_ALLOWED = 4; - - // The field mask contained an invalid field. - FIELD_NOT_FOUND = 2; - - // The field mask updated a field with subfields. Fields with subfields may - // be cleared, but not updated. To fix this, the field mask should select - // all the subfields of the invalid field. - FIELD_HAS_SUBFIELDS = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/function_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/function_error.proto deleted file mode 100644 index 9399c01fa..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/function_error.proto +++ /dev/null @@ -1,91 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FunctionErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing function errors. - -// Container for enum describing possible function errors. -message FunctionErrorEnum { - // Enum describing possible function errors. - enum FunctionError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The format of the function is not recognized as a supported function - // format. - INVALID_FUNCTION_FORMAT = 2; - - // Operand data types do not match. - DATA_TYPE_MISMATCH = 3; - - // The operands cannot be used together in a conjunction. - INVALID_CONJUNCTION_OPERANDS = 4; - - // Invalid numer of Operands. - INVALID_NUMBER_OF_OPERANDS = 5; - - // Operand Type not supported. - INVALID_OPERAND_TYPE = 6; - - // Operator not supported. - INVALID_OPERATOR = 7; - - // Request context type not supported. - INVALID_REQUEST_CONTEXT_TYPE = 8; - - // The matching function is not allowed for call placeholders - INVALID_FUNCTION_FOR_CALL_PLACEHOLDER = 9; - - // The matching function is not allowed for the specified placeholder - INVALID_FUNCTION_FOR_PLACEHOLDER = 10; - - // Invalid operand. - INVALID_OPERAND = 11; - - // Missing value for the constant operand. - MISSING_CONSTANT_OPERAND_VALUE = 12; - - // The value of the constant operand is invalid. - INVALID_CONSTANT_OPERAND_VALUE = 13; - - // Invalid function nesting. - INVALID_NESTING = 14; - - // The Feed ID was different from another Feed ID in the same function. - MULTIPLE_FEED_IDS_NOT_SUPPORTED = 15; - - // The matching function is invalid for use with a feed with a fixed schema. - INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA = 16; - - // Invalid attribute name. - INVALID_ATTRIBUTE_NAME = 17; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/function_parsing_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/function_parsing_error.proto deleted file mode 100644 index 75428ef73..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/function_parsing_error.proto +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FunctionParsingErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing function parsing errors. - -// Container for enum describing possible function parsing errors. -message FunctionParsingErrorEnum { - // Enum describing possible function parsing errors. - enum FunctionParsingError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Unexpected end of function string. - NO_MORE_INPUT = 2; - - // Could not find an expected character. - EXPECTED_CHARACTER = 3; - - // Unexpected separator character. - UNEXPECTED_SEPARATOR = 4; - - // Unmatched left bracket or parenthesis. - UNMATCHED_LEFT_BRACKET = 5; - - // Unmatched right bracket or parenthesis. - UNMATCHED_RIGHT_BRACKET = 6; - - // Functions are nested too deeply. - TOO_MANY_NESTED_FUNCTIONS = 7; - - // Missing right-hand-side operand. - MISSING_RIGHT_HAND_OPERAND = 8; - - // Invalid operator/function name. - INVALID_OPERATOR_NAME = 9; - - // Feed attribute operand's argument is not an integer. - FEED_ATTRIBUTE_OPERAND_ARGUMENT_NOT_INTEGER = 10; - - // Missing function operands. - NO_OPERANDS = 11; - - // Function had too many operands. - TOO_MANY_OPERANDS = 12; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/geo_target_constant_suggestion_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/geo_target_constant_suggestion_error.proto deleted file mode 100644 index 4ec391a3e..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/geo_target_constant_suggestion_error.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "GeoTargetConstantSuggestionErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Container for enum describing possible geo target constant suggestion errors. -message GeoTargetConstantSuggestionErrorEnum { - // Enum describing possible geo target constant suggestion errors. - enum GeoTargetConstantSuggestionError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // A location name cannot be greater than 300 characters. - LOCATION_NAME_SIZE_LIMIT = 2; - - // At most 25 location names can be specified in a SuggestGeoTargetConstants - // method. - LOCATION_NAME_LIMIT = 3; - - // The country code is invalid. - INVALID_COUNTRY_CODE = 4; - - // Geo target constant resource names or location names must be provided in - // the request. - REQUEST_PARAMETERS_UNSET = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/header_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/header_error.proto deleted file mode 100644 index bdc720e4f..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/header_error.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "HeaderErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing header errors. - -// Container for enum describing possible header errors. -message HeaderErrorEnum { - // Enum describing possible header errors. - enum HeaderError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The login customer ID could not be validated. - INVALID_LOGIN_CUSTOMER_ID = 3; - - // The linked customer ID could not be validated. - INVALID_LINKED_CUSTOMER_ID = 7; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/id_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/id_error.proto deleted file mode 100644 index 276d3aadd..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/id_error.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "IdErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing id errors. - -// Container for enum describing possible ID errors. -message IdErrorEnum { - // Enum describing possible ID errors. - enum IdError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // ID not found - NOT_FOUND = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/image_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/image_error.proto deleted file mode 100644 index f1579c460..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/image_error.proto +++ /dev/null @@ -1,162 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ImageErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing image errors. - -// Container for enum describing possible image errors. -message ImageErrorEnum { - // Enum describing possible image errors. - enum ImageError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The image is not valid. - INVALID_IMAGE = 2; - - // The image could not be stored. - STORAGE_ERROR = 3; - - // There was a problem with the request. - BAD_REQUEST = 4; - - // The image is not of legal dimensions. - UNEXPECTED_SIZE = 5; - - // Animated image are not permitted. - ANIMATED_NOT_ALLOWED = 6; - - // Animation is too long. - ANIMATION_TOO_LONG = 7; - - // There was an error on the server. - SERVER_ERROR = 8; - - // Image cannot be in CMYK color format. - CMYK_JPEG_NOT_ALLOWED = 9; - - // Flash images are not permitted. - FLASH_NOT_ALLOWED = 10; - - // Flash images must support clickTag. - FLASH_WITHOUT_CLICKTAG = 11; - - // A flash error has occurred after fixing the click tag. - FLASH_ERROR_AFTER_FIXING_CLICK_TAG = 12; - - // Unacceptable visual effects. - ANIMATED_VISUAL_EFFECT = 13; - - // There was a problem with the flash image. - FLASH_ERROR = 14; - - // Incorrect image layout. - LAYOUT_PROBLEM = 15; - - // There was a problem reading the image file. - PROBLEM_READING_IMAGE_FILE = 16; - - // There was an error storing the image. - ERROR_STORING_IMAGE = 17; - - // The aspect ratio of the image is not allowed. - ASPECT_RATIO_NOT_ALLOWED = 18; - - // Flash cannot have network objects. - FLASH_HAS_NETWORK_OBJECTS = 19; - - // Flash cannot have network methods. - FLASH_HAS_NETWORK_METHODS = 20; - - // Flash cannot have a Url. - FLASH_HAS_URL = 21; - - // Flash cannot use mouse tracking. - FLASH_HAS_MOUSE_TRACKING = 22; - - // Flash cannot have a random number. - FLASH_HAS_RANDOM_NUM = 23; - - // Ad click target cannot be '_self'. - FLASH_SELF_TARGETS = 24; - - // GetUrl method should only use '_blank'. - FLASH_BAD_GETURL_TARGET = 25; - - // Flash version is not supported. - FLASH_VERSION_NOT_SUPPORTED = 26; - - // Flash movies need to have hard coded click URL or clickTAG - FLASH_WITHOUT_HARD_CODED_CLICK_URL = 27; - - // Uploaded flash file is corrupted. - INVALID_FLASH_FILE = 28; - - // Uploaded flash file can be parsed, but the click tag can not be fixed - // properly. - FAILED_TO_FIX_CLICK_TAG_IN_FLASH = 29; - - // Flash movie accesses network resources - FLASH_ACCESSES_NETWORK_RESOURCES = 30; - - // Flash movie attempts to call external javascript code - FLASH_EXTERNAL_JS_CALL = 31; - - // Flash movie attempts to call flash system commands - FLASH_EXTERNAL_FS_CALL = 32; - - // Image file is too large. - FILE_TOO_LARGE = 33; - - // Image data is too large. - IMAGE_DATA_TOO_LARGE = 34; - - // Error while processing the image. - IMAGE_PROCESSING_ERROR = 35; - - // Image is too small. - IMAGE_TOO_SMALL = 36; - - // Input was invalid. - INVALID_INPUT = 37; - - // There was a problem reading the image file. - PROBLEM_READING_FILE = 38; - - // Image constraints are violated, but details like ASPECT_RATIO_NOT_ALLOWED - // can't be provided. This happens when asset spec contains more than one - // constraint and different criteria of different constraints are violated. - IMAGE_CONSTRAINTS_VIOLATED = 39; - - // Image format is not allowed. - FORMAT_NOT_ALLOWED = 40; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/internal_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/internal_error.proto deleted file mode 100644 index d52fbd80d..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/internal_error.proto +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "InternalErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing internal errors. - -// Container for enum describing possible internal errors. -message InternalErrorEnum { - // Enum describing possible internal errors. - enum InternalError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Google Ads API encountered unexpected internal error. - INTERNAL_ERROR = 2; - - // The intended error code doesn't exist in specified API version. It will - // be released in a future API version. - ERROR_CODE_NOT_PUBLISHED = 3; - - // Google Ads API encountered an unexpected transient error. The user - // should retry their request in these cases. - TRANSIENT_ERROR = 4; - - // The request took longer than a deadline. - DEADLINE_EXCEEDED = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/invoice_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/invoice_error.proto deleted file mode 100644 index 58288aebc..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/invoice_error.proto +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "InvoiceErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing invoice errors. - -// Container for enum describing possible invoice errors. -message InvoiceErrorEnum { - // Enum describing possible invoice errors. - enum InvoiceError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Cannot request invoices issued before 2019-01-01. - YEAR_MONTH_TOO_OLD = 2; - - // Cannot request invoices for customer who doesn't receive invoices. - NOT_INVOICED_CUSTOMER = 3; - - // Cannot request invoices for a non approved billing setup. - BILLING_SETUP_NOT_APPROVED = 4; - - // Cannot request invoices for a billing setup that is not on monthly - // invoicing. - BILLING_SETUP_NOT_ON_MONTHLY_INVOICING = 5; - - // Cannot request invoices for a non serving customer. - NON_SERVING_CUSTOMER = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/keyword_plan_ad_group_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/keyword_plan_ad_group_error.proto deleted file mode 100644 index 04b2b1b14..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/keyword_plan_ad_group_error.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanAdGroupErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing errors from applying a keyword plan ad group. - -// Container for enum describing possible errors from applying a keyword plan -// ad group. -message KeywordPlanAdGroupErrorEnum { - // Enum describing possible errors from applying a keyword plan ad group. - enum KeywordPlanAdGroupError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The keyword plan ad group name is missing, empty, longer than allowed - // limit or contains invalid chars. - INVALID_NAME = 2; - - // The keyword plan ad group name is duplicate to an existing keyword plan - // AdGroup name or other keyword plan AdGroup name in the request. - DUPLICATE_NAME = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/keyword_plan_ad_group_keyword_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/keyword_plan_ad_group_keyword_error.proto deleted file mode 100644 index 70d229b15..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/keyword_plan_ad_group_keyword_error.proto +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanAdGroupKeywordErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing errors from applying a keyword plan ad group keyword or -// keyword plan campaign keyword. - -// Container for enum describing possible errors from applying an ad group -// keyword or a campaign keyword from a keyword plan. -message KeywordPlanAdGroupKeywordErrorEnum { - // Enum describing possible errors from applying a keyword plan ad group - // keyword or keyword plan campaign keyword. - enum KeywordPlanAdGroupKeywordError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // A keyword or negative keyword has invalid match type. - INVALID_KEYWORD_MATCH_TYPE = 2; - - // A keyword or negative keyword with same text and match type already - // exists. - DUPLICATE_KEYWORD = 3; - - // Keyword or negative keyword text exceeds the allowed limit. - KEYWORD_TEXT_TOO_LONG = 4; - - // Keyword or negative keyword text has invalid characters or symbols. - KEYWORD_HAS_INVALID_CHARS = 5; - - // Keyword or negative keyword text has too many words. - KEYWORD_HAS_TOO_MANY_WORDS = 6; - - // Keyword or negative keyword has invalid text. - INVALID_KEYWORD_TEXT = 7; - - // Cpc Bid set for negative keyword. - NEGATIVE_KEYWORD_HAS_CPC_BID = 8; - - // New broad match modifier (BMM) KpAdGroupKeywords are not allowed. - NEW_BMM_KEYWORDS_NOT_ALLOWED = 9; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/keyword_plan_campaign_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/keyword_plan_campaign_error.proto deleted file mode 100644 index 878a7c359..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/keyword_plan_campaign_error.proto +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanCampaignErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing errors from applying a keyword plan campaign. - -// Container for enum describing possible errors from applying a keyword plan -// campaign. -message KeywordPlanCampaignErrorEnum { - // Enum describing possible errors from applying a keyword plan campaign. - enum KeywordPlanCampaignError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // A keyword plan campaign name is missing, empty, longer than allowed limit - // or contains invalid chars. - INVALID_NAME = 2; - - // A keyword plan campaign contains one or more untargetable languages. - INVALID_LANGUAGES = 3; - - // A keyword plan campaign contains one or more invalid geo targets. - INVALID_GEOS = 4; - - // The keyword plan campaign name is duplicate to an existing keyword plan - // campaign name or other keyword plan campaign name in the request. - DUPLICATE_NAME = 5; - - // The number of geo targets in the keyword plan campaign exceeds limits. - MAX_GEOS_EXCEEDED = 6; - - // The number of languages in the keyword plan campaign exceeds limits. - MAX_LANGUAGES_EXCEEDED = 7; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/keyword_plan_campaign_keyword_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/keyword_plan_campaign_keyword_error.proto deleted file mode 100644 index 379dd30b5..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/keyword_plan_campaign_keyword_error.proto +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanCampaignKeywordErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing errors from applying a keyword plan campaign keyword. - -// Container for enum describing possible errors from applying a keyword plan -// campaign keyword. -message KeywordPlanCampaignKeywordErrorEnum { - // Enum describing possible errors from applying a keyword plan campaign - // keyword. - enum KeywordPlanCampaignKeywordError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Keyword plan campaign keyword is positive. - CAMPAIGN_KEYWORD_IS_POSITIVE = 8; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/keyword_plan_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/keyword_plan_error.proto deleted file mode 100644 index 5b1377658..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/keyword_plan_error.proto +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing errors from applying keyword plan resources (keyword -// plan, keyword plan campaign, keyword plan ad group or keyword plan keyword) -// or KeywordPlanService RPC. - -// Container for enum describing possible errors from applying a keyword plan -// resource (keyword plan, keyword plan campaign, keyword plan ad group or -// keyword plan keyword) or KeywordPlanService RPC. -message KeywordPlanErrorEnum { - // Enum describing possible errors from applying a keyword plan. - enum KeywordPlanError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The plan's bid multiplier value is outside the valid range. - BID_MULTIPLIER_OUT_OF_RANGE = 2; - - // The plan's bid value is too high. - BID_TOO_HIGH = 3; - - // The plan's bid value is too low. - BID_TOO_LOW = 4; - - // The plan's cpc bid is not a multiple of the minimum billable unit. - BID_TOO_MANY_FRACTIONAL_DIGITS = 5; - - // The plan's daily budget value is too low. - DAILY_BUDGET_TOO_LOW = 6; - - // The plan's daily budget is not a multiple of the minimum billable unit. - DAILY_BUDGET_TOO_MANY_FRACTIONAL_DIGITS = 7; - - // The input has an invalid value. - INVALID_VALUE = 8; - - // The plan has no keyword. - KEYWORD_PLAN_HAS_NO_KEYWORDS = 9; - - // The plan is not enabled and API cannot provide mutation, forecast or - // stats. - KEYWORD_PLAN_NOT_ENABLED = 10; - - // The requested plan cannot be found for providing forecast or stats. - KEYWORD_PLAN_NOT_FOUND = 11; - - // The plan is missing a cpc bid. - MISSING_BID = 13; - - // The plan is missing required forecast_period field. - MISSING_FORECAST_PERIOD = 14; - - // The plan's forecast_period has invalid forecast date range. - INVALID_FORECAST_DATE_RANGE = 15; - - // The plan's name is invalid. - INVALID_NAME = 16; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/keyword_plan_idea_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/keyword_plan_idea_error.proto deleted file mode 100644 index c53bb70b8..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/keyword_plan_idea_error.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanIdeaErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing errors from KeywordPlanIdeaService. - -// Container for enum describing possible errors from KeywordPlanIdeaService. -message KeywordPlanIdeaErrorEnum { - // Enum describing possible errors from KeywordPlanIdeaService. - enum KeywordPlanIdeaError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Error when crawling the input URL. - URL_CRAWL_ERROR = 2; - - // The input has an invalid value. - INVALID_VALUE = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/label_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/label_error.proto deleted file mode 100644 index 5d36969a3..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/label_error.proto +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "LabelErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing label errors. - -// Container for enum describing possible label errors. -message LabelErrorEnum { - // Enum describing possible label errors. - enum LabelError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // An inactive label cannot be applied. - CANNOT_APPLY_INACTIVE_LABEL = 2; - - // A label cannot be applied to a disabled ad group criterion. - CANNOT_APPLY_LABEL_TO_DISABLED_AD_GROUP_CRITERION = 3; - - // A label cannot be applied to a negative ad group criterion. - CANNOT_APPLY_LABEL_TO_NEGATIVE_AD_GROUP_CRITERION = 4; - - // Cannot apply more than 50 labels per resource. - EXCEEDED_LABEL_LIMIT_PER_TYPE = 5; - - // Labels from a manager account cannot be applied to campaign, ad group, - // ad group ad, or ad group criterion resources. - INVALID_RESOURCE_FOR_MANAGER_LABEL = 6; - - // Label names must be unique. - DUPLICATE_NAME = 7; - - // Label names cannot be empty. - INVALID_LABEL_NAME = 8; - - // Labels cannot be applied to a draft. - CANNOT_ATTACH_LABEL_TO_DRAFT = 9; - - // Labels not from a manager account cannot be applied to the customer - // resource. - CANNOT_ATTACH_NON_MANAGER_LABEL_TO_CUSTOMER = 10; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/language_code_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/language_code_error.proto deleted file mode 100644 index aaf4aec6e..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/language_code_error.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "LanguageCodeErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing language code errors. - -// Container for enum describing language code errors. -message LanguageCodeErrorEnum { - // Enum describing language code errors. - enum LanguageCodeError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The input language code is not recognized. - LANGUAGE_CODE_NOT_FOUND = 2; - - // The language code is not supported. - INVALID_LANGUAGE_CODE = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/list_operation_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/list_operation_error.proto deleted file mode 100644 index 3f53256d1..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/list_operation_error.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ListOperationErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing list operation errors. - -// Container for enum describing possible list operation errors. -message ListOperationErrorEnum { - // Enum describing possible list operation errors. - enum ListOperationError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Field required in value is missing. - REQUIRED_FIELD_MISSING = 7; - - // Duplicate or identical value is sent in multiple list operations. - DUPLICATE_VALUES = 8; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/manager_link_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/manager_link_error.proto deleted file mode 100644 index a39e99843..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/manager_link_error.proto +++ /dev/null @@ -1,101 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ManagerLinkErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing ManagerLink errors. - -// Container for enum describing possible ManagerLink errors. -message ManagerLinkErrorEnum { - // Enum describing possible ManagerLink errors. - enum ManagerLinkError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The manager and client have incompatible account types. - ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING = 2; - - // Client is already linked to too many managers. - TOO_MANY_MANAGERS = 3; - - // Manager has too many pending invitations. - TOO_MANY_INVITES = 4; - - // Client is already invited by this manager. - ALREADY_INVITED_BY_THIS_MANAGER = 5; - - // The client is already managed by this manager. - ALREADY_MANAGED_BY_THIS_MANAGER = 6; - - // Client is already managed in hierarchy. - ALREADY_MANAGED_IN_HIERARCHY = 7; - - // Manager and sub-manager to be linked have duplicate client. - DUPLICATE_CHILD_FOUND = 8; - - // Client has no active user that can access the client account. - CLIENT_HAS_NO_ADMIN_USER = 9; - - // Adding this link would exceed the maximum hierarchy depth. - MAX_DEPTH_EXCEEDED = 10; - - // Adding this link will create a cycle. - CYCLE_NOT_ALLOWED = 11; - - // Manager account has the maximum number of linked clients. - TOO_MANY_ACCOUNTS = 12; - - // Parent manager account has the maximum number of linked clients. - TOO_MANY_ACCOUNTS_AT_MANAGER = 13; - - // The account is not authorized owner. - NON_OWNER_USER_CANNOT_MODIFY_LINK = 14; - - // Your manager account is suspended, and you are no longer allowed to link - // to clients. - SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS = 15; - - // You are not allowed to move a client to a manager that is not under your - // current hierarchy. - CLIENT_OUTSIDE_TREE = 16; - - // The changed status for mutate link is invalid. - INVALID_STATUS_CHANGE = 17; - - // The change for mutate link is invalid. - INVALID_CHANGE = 18; - - // You are not allowed to link a manager account to itself. - CUSTOMER_CANNOT_MANAGE_SELF = 19; - - // The link was created with status ACTIVE and not PENDING. - CREATING_ENABLED_LINK_NOT_ALLOWED = 20; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/media_bundle_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/media_bundle_error.proto deleted file mode 100644 index 542ac1d65..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/media_bundle_error.proto +++ /dev/null @@ -1,108 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "MediaBundleErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing media bundle errors. - -// Container for enum describing possible media bundle errors. -message MediaBundleErrorEnum { - // Enum describing possible media bundle errors. - enum MediaBundleError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // There was a problem with the request. - BAD_REQUEST = 3; - - // HTML5 ads using DoubleClick Studio created ZIP files are not supported. - DOUBLECLICK_BUNDLE_NOT_ALLOWED = 4; - - // Cannot reference URL external to the media bundle. - EXTERNAL_URL_NOT_ALLOWED = 5; - - // Media bundle file is too large. - FILE_TOO_LARGE = 6; - - // ZIP file from Google Web Designer is not published. - GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED = 7; - - // Input was invalid. - INVALID_INPUT = 8; - - // There was a problem with the media bundle. - INVALID_MEDIA_BUNDLE = 9; - - // There was a problem with one or more of the media bundle entries. - INVALID_MEDIA_BUNDLE_ENTRY = 10; - - // The media bundle contains a file with an unknown mime type - INVALID_MIME_TYPE = 11; - - // The media bundle contain an invalid asset path. - INVALID_PATH = 12; - - // HTML5 ad is trying to reference an asset not in .ZIP file - INVALID_URL_REFERENCE = 13; - - // Media data is too large. - MEDIA_DATA_TOO_LARGE = 14; - - // The media bundle contains no primary entry. - MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY = 15; - - // There was an error on the server. - SERVER_ERROR = 16; - - // The image could not be stored. - STORAGE_ERROR = 17; - - // Media bundle created with the Swiffy tool is not allowed. - SWIFFY_BUNDLE_NOT_ALLOWED = 18; - - // The media bundle contains too many files. - TOO_MANY_FILES = 19; - - // The media bundle is not of legal dimensions. - UNEXPECTED_SIZE = 20; - - // Google Web Designer not created for "Google Ads" environment. - UNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENT = 21; - - // Unsupported HTML5 feature in HTML5 asset. - UNSUPPORTED_HTML5_FEATURE = 22; - - // URL in HTML5 entry is not ssl compliant. - URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT = 23; - - // Custom exits not allowed in HTML5 entry. - CUSTOM_EXIT_NOT_ALLOWED = 24; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/media_file_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/media_file_error.proto deleted file mode 100644 index 8b4be3728..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/media_file_error.proto +++ /dev/null @@ -1,111 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "MediaFileErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing media file errors. - -// Container for enum describing possible media file errors. -message MediaFileErrorEnum { - // Enum describing possible media file errors. - enum MediaFileError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Cannot create a standard icon type. - CANNOT_CREATE_STANDARD_ICON = 2; - - // May only select Standard Icons alone. - CANNOT_SELECT_STANDARD_ICON_WITH_OTHER_TYPES = 3; - - // Image contains both a media file ID and data. - CANNOT_SPECIFY_MEDIA_FILE_ID_AND_DATA = 4; - - // A media file with given type and reference ID already exists. - DUPLICATE_MEDIA = 5; - - // A required field was not specified or is an empty string. - EMPTY_FIELD = 6; - - // A media file may only be modified once per call. - RESOURCE_REFERENCED_IN_MULTIPLE_OPS = 7; - - // Field is not supported for the media sub type. - FIELD_NOT_SUPPORTED_FOR_MEDIA_SUB_TYPE = 8; - - // The media file ID is invalid. - INVALID_MEDIA_FILE_ID = 9; - - // The media subtype is invalid. - INVALID_MEDIA_SUB_TYPE = 10; - - // The media file type is invalid. - INVALID_MEDIA_FILE_TYPE = 11; - - // The mimetype is invalid. - INVALID_MIME_TYPE = 12; - - // The media reference ID is invalid. - INVALID_REFERENCE_ID = 13; - - // The YouTube video ID is invalid. - INVALID_YOU_TUBE_ID = 14; - - // Media file has failed transcoding - MEDIA_FILE_FAILED_TRANSCODING = 15; - - // Media file has not been transcoded. - MEDIA_NOT_TRANSCODED = 16; - - // The media type does not match the actual media file's type. - MEDIA_TYPE_DOES_NOT_MATCH_MEDIA_FILE_TYPE = 17; - - // None of the fields have been specified. - NO_FIELDS_SPECIFIED = 18; - - // One of reference ID or media file ID must be specified. - NULL_REFERENCE_ID_AND_MEDIA_ID = 19; - - // The string has too many characters. - TOO_LONG = 20; - - // The specified type is not supported. - UNSUPPORTED_TYPE = 21; - - // YouTube is unavailable for requesting video data. - YOU_TUBE_SERVICE_UNAVAILABLE = 22; - - // The YouTube video has a non positive duration. - YOU_TUBE_VIDEO_HAS_NON_POSITIVE_DURATION = 23; - - // The YouTube video ID is syntactically valid but the video was not found. - YOU_TUBE_VIDEO_NOT_FOUND = 24; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/media_upload_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/media_upload_error.proto deleted file mode 100644 index 2ca9f75c0..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/media_upload_error.proto +++ /dev/null @@ -1,150 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "MediaUploadErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing media uploading errors. - -// Container for enum describing possible media uploading errors. -message MediaUploadErrorEnum { - // Enum describing possible media uploading errors. - enum MediaUploadError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The uploaded file is too big. - FILE_TOO_BIG = 2; - - // Image data is unparseable. - UNPARSEABLE_IMAGE = 3; - - // Animated images are not allowed. - ANIMATED_IMAGE_NOT_ALLOWED = 4; - - // The image or media bundle format is not allowed. - FORMAT_NOT_ALLOWED = 5; - - // Cannot reference URL external to the media bundle. - EXTERNAL_URL_NOT_ALLOWED = 6; - - // HTML5 ad is trying to reference an asset not in .ZIP file. - INVALID_URL_REFERENCE = 7; - - // The media bundle contains no primary entry. - MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY = 8; - - // Animation has disallowed visual effects. - ANIMATED_VISUAL_EFFECT = 9; - - // Animation longer than the allowed 30 second limit. - ANIMATION_TOO_LONG = 10; - - // The aspect ratio of the image does not match the expected aspect ratios - // provided in the asset spec. - ASPECT_RATIO_NOT_ALLOWED = 11; - - // Audio files are not allowed in bundle. - AUDIO_NOT_ALLOWED_IN_MEDIA_BUNDLE = 12; - - // CMYK jpegs are not supported. - CMYK_JPEG_NOT_ALLOWED = 13; - - // Flash movies are not allowed. - FLASH_NOT_ALLOWED = 14; - - // The frame rate of the video is higher than the allowed 5fps. - FRAME_RATE_TOO_HIGH = 15; - - // ZIP file from Google Web Designer is not published. - GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED = 16; - - // Image constraints are violated, but more details (like - // DIMENSIONS_NOT_ALLOWED or ASPECT_RATIO_NOT_ALLOWED) can not be provided. - // This happens when asset spec contains more than one constraint and - // criteria of different constraints are violated. - IMAGE_CONSTRAINTS_VIOLATED = 17; - - // Media bundle data is unrecognizable. - INVALID_MEDIA_BUNDLE = 18; - - // There was a problem with one or more of the media bundle entries. - INVALID_MEDIA_BUNDLE_ENTRY = 19; - - // The asset has an invalid mime type. - INVALID_MIME_TYPE = 20; - - // The media bundle contains an invalid asset path. - INVALID_PATH = 21; - - // Image has layout problem. - LAYOUT_PROBLEM = 22; - - // An asset had a URL reference that is malformed per RFC 1738 convention. - MALFORMED_URL = 23; - - // The uploaded media bundle format is not allowed. - MEDIA_BUNDLE_NOT_ALLOWED = 24; - - // The media bundle is not compatible with the asset spec product type. - // (For example, Gmail, dynamic remarketing, etc.) - MEDIA_BUNDLE_NOT_COMPATIBLE_TO_PRODUCT_TYPE = 25; - - // A bundle being uploaded that is incompatible with multiple assets for - // different reasons. - MEDIA_BUNDLE_REJECTED_BY_MULTIPLE_ASSET_SPECS = 26; - - // The media bundle contains too many files. - TOO_MANY_FILES_IN_MEDIA_BUNDLE = 27; - - // Google Web Designer not created for "Google Ads" environment. - UNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENT = 28; - - // Unsupported HTML5 feature in HTML5 asset. - UNSUPPORTED_HTML5_FEATURE = 29; - - // URL in HTML5 entry is not SSL compliant. - URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT = 30; - - // Video file name is longer than the 50 allowed characters. - VIDEO_FILE_NAME_TOO_LONG = 31; - - // Multiple videos with same name in a bundle. - VIDEO_MULTIPLE_FILES_WITH_SAME_NAME = 32; - - // Videos are not allowed in media bundle. - VIDEO_NOT_ALLOWED_IN_MEDIA_BUNDLE = 33; - - // This type of media cannot be uploaded through the Google Ads API. - CANNOT_UPLOAD_MEDIA_TYPE_THROUGH_API = 34; - - // The dimensions of the image are not allowed. - DIMENSIONS_NOT_ALLOWED = 35; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/merchant_center_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/merchant_center_error.proto deleted file mode 100644 index 73525b751..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/merchant_center_error.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "MerchantCenterErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing merchant center errors. - -// Container for enum describing possible merchant center errors. -message MerchantCenterErrorEnum { - // Enum describing Merchant Center errors. - enum MerchantCenterError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Merchant ID is either not found or not linked to the Google Ads customer. - MERCHANT_ID_CANNOT_BE_ACCESSED = 2; - - // Customer not allowlisted for Shopping in Performance Max Campaign. - CUSTOMER_NOT_ALLOWED_FOR_SHOPPING_PERFORMANCE_MAX = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/multiplier_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/multiplier_error.proto deleted file mode 100644 index 7ac7beb49..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/multiplier_error.proto +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "MultiplierErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing multiplier errors. - -// Container for enum describing possible multiplier errors. -message MultiplierErrorEnum { - // Enum describing possible multiplier errors. - enum MultiplierError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Multiplier value is too high - MULTIPLIER_TOO_HIGH = 2; - - // Multiplier value is too low - MULTIPLIER_TOO_LOW = 3; - - // Too many fractional digits - TOO_MANY_FRACTIONAL_DIGITS = 4; - - // A multiplier cannot be set for this bidding strategy - MULTIPLIER_NOT_ALLOWED_FOR_BIDDING_STRATEGY = 5; - - // A multiplier cannot be set when there is no base bid (for example, - // content max cpc) - MULTIPLIER_NOT_ALLOWED_WHEN_BASE_BID_IS_MISSING = 6; - - // A bid multiplier must be specified - NO_MULTIPLIER_SPECIFIED = 7; - - // Multiplier causes bid to exceed daily budget - MULTIPLIER_CAUSES_BID_TO_EXCEED_DAILY_BUDGET = 8; - - // Multiplier causes bid to exceed monthly budget - MULTIPLIER_CAUSES_BID_TO_EXCEED_MONTHLY_BUDGET = 9; - - // Multiplier causes bid to exceed custom budget - MULTIPLIER_CAUSES_BID_TO_EXCEED_CUSTOM_BUDGET = 10; - - // Multiplier causes bid to exceed maximum allowed bid - MULTIPLIER_CAUSES_BID_TO_EXCEED_MAX_ALLOWED_BID = 11; - - // Multiplier causes bid to become less than the minimum bid allowed - BID_LESS_THAN_MIN_ALLOWED_BID_WITH_MULTIPLIER = 12; - - // Multiplier type (cpc versus cpm) needs to match campaign's bidding - // strategy - MULTIPLIER_AND_BIDDING_STRATEGY_TYPE_MISMATCH = 13; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/mutate_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/mutate_error.proto deleted file mode 100644 index 24dbe8eb3..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/mutate_error.proto +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "MutateErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing mutate errors. - -// Container for enum describing possible mutate errors. -message MutateErrorEnum { - // Enum describing possible mutate errors. - enum MutateError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Requested resource was not found. - RESOURCE_NOT_FOUND = 3; - - // Cannot mutate the same resource twice in one request. - ID_EXISTS_IN_MULTIPLE_MUTATES = 7; - - // The field's contents don't match another field that represents the same - // data. - INCONSISTENT_FIELD_VALUES = 8; - - // Mutates are not allowed for the requested resource. - MUTATE_NOT_ALLOWED = 9; - - // The resource isn't in Google Ads. It belongs to another ads system. - RESOURCE_NOT_IN_GOOGLE_ADS = 10; - - // The resource being created already exists. - RESOURCE_ALREADY_EXISTS = 11; - - // This resource cannot be used with "validate_only". - RESOURCE_DOES_NOT_SUPPORT_VALIDATE_ONLY = 12; - - // This operation cannot be used with "partial_failure". - OPERATION_DOES_NOT_SUPPORT_PARTIAL_FAILURE = 16; - - // Attempt to write to read-only fields. - RESOURCE_READ_ONLY = 13; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/new_resource_creation_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/new_resource_creation_error.proto deleted file mode 100644 index f339c3a6b..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/new_resource_creation_error.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "NewResourceCreationErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing new resource creation errors. - -// Container for enum describing possible new resource creation errors. -message NewResourceCreationErrorEnum { - // Enum describing possible new resource creation errors. - enum NewResourceCreationError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Do not set the id field while creating new resources. - CANNOT_SET_ID_FOR_CREATE = 2; - - // Creating more than one resource with the same temp ID is not allowed. - DUPLICATE_TEMP_IDS = 3; - - // Parent resource with specified temp ID failed validation, so no - // validation will be done for this child resource. - TEMP_ID_RESOURCE_HAD_ERRORS = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/not_allowlisted_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/not_allowlisted_error.proto deleted file mode 100644 index 820a78710..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/not_allowlisted_error.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "NotAllowlistedErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing not allowlisted errors. - -// Container for enum describing possible not allowlisted errors. -message NotAllowlistedErrorEnum { - // Enum describing possible not allowlisted errors. - enum NotAllowlistedError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Customer is not allowlisted for accessing this feature. - CUSTOMER_NOT_ALLOWLISTED_FOR_THIS_FEATURE = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/not_empty_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/not_empty_error.proto deleted file mode 100644 index 515ff6b99..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/not_empty_error.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "NotEmptyErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing not empty errors. - -// Container for enum describing possible not empty errors. -message NotEmptyErrorEnum { - // Enum describing possible not empty errors. - enum NotEmptyError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Empty list. - EMPTY_LIST = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/null_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/null_error.proto deleted file mode 100644 index 13974405c..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/null_error.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "NullErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing null errors. - -// Container for enum describing possible null errors. -message NullErrorEnum { - // Enum describing possible null errors. - enum NullError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Specified list/container must not contain any null elements - NULL_CONTENT = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/offline_user_data_job_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/offline_user_data_job_error.proto deleted file mode 100644 index b197c7191..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/offline_user_data_job_error.proto +++ /dev/null @@ -1,173 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "OfflineUserDataJobErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing offline user data job errors. - -// Container for enum describing possible offline user data job errors. -message OfflineUserDataJobErrorEnum { - // Enum describing possible request errors. - enum OfflineUserDataJobError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The user list ID provided for the job is invalid. - INVALID_USER_LIST_ID = 3; - - // Type of the user list is not applicable for the job. - INVALID_USER_LIST_TYPE = 4; - - // Customer is not allowisted for using user ID in upload data. - NOT_ON_ALLOWLIST_FOR_USER_ID = 33; - - // Upload data is not compatible with the upload key type of the associated - // user list. - INCOMPATIBLE_UPLOAD_KEY_TYPE = 6; - - // The user identifier is missing valid data. - MISSING_USER_IDENTIFIER = 7; - - // The mobile ID is malformed. - INVALID_MOBILE_ID_FORMAT = 8; - - // Maximum number of user identifiers allowed per request is 100,000 and per - // operation is 20. - TOO_MANY_USER_IDENTIFIERS = 9; - - // Customer is not on the allow-list for store sales direct data. - NOT_ON_ALLOWLIST_FOR_STORE_SALES_DIRECT = 31; - - // Customer is not on the allow-list for unified store sales data. - NOT_ON_ALLOWLIST_FOR_UNIFIED_STORE_SALES = 32; - - // The partner ID in store sales direct metadata is invalid. - INVALID_PARTNER_ID = 11; - - // The data in user identifier should not be encoded. - INVALID_ENCODING = 12; - - // The country code is invalid. - INVALID_COUNTRY_CODE = 13; - - // Incompatible user identifier when using third_party_user_id for store - // sales direct first party data or not using third_party_user_id for store - // sales third party data. - INCOMPATIBLE_USER_IDENTIFIER = 14; - - // A transaction time in the future is not allowed. - FUTURE_TRANSACTION_TIME = 15; - - // The conversion_action specified in transaction_attributes is used to - // report conversions to a conversion action configured in Google Ads. This - // error indicates there is no such conversion action in the account. - INVALID_CONVERSION_ACTION = 16; - - // Mobile ID is not supported for store sales direct data. - MOBILE_ID_NOT_SUPPORTED = 17; - - // When a remove-all operation is provided, it has to be the first operation - // of the operation list. - INVALID_OPERATION_ORDER = 18; - - // Mixing creation and removal of offline data in the same job is not - // allowed. - CONFLICTING_OPERATION = 19; - - // The external update ID already exists. - EXTERNAL_UPDATE_ID_ALREADY_EXISTS = 21; - - // Once the upload job is started, new operations cannot be added. - JOB_ALREADY_STARTED = 22; - - // Remove operation is not allowed for store sales direct updates. - REMOVE_NOT_SUPPORTED = 23; - - // Remove-all is not supported for certain offline user data job types. - REMOVE_ALL_NOT_SUPPORTED = 24; - - // The SHA256 encoded value is malformed. - INVALID_SHA256_FORMAT = 25; - - // The custom key specified is not enabled for the unified store sales - // upload. - CUSTOM_KEY_DISABLED = 26; - - // The custom key specified is not predefined through the Google Ads UI. - CUSTOM_KEY_NOT_PREDEFINED = 27; - - // The custom key specified is not set in the upload. - CUSTOM_KEY_NOT_SET = 29; - - // The customer has not accepted the customer data terms in the conversion - // settings page. - CUSTOMER_NOT_ACCEPTED_CUSTOMER_DATA_TERMS = 30; - - // User attributes cannot be uploaded into a user list. - ATTRIBUTES_NOT_APPLICABLE_FOR_CUSTOMER_MATCH_USER_LIST = 34; - - // Lifetime bucket value must be a number from 0 to 10; 0 is only accepted - // for remove operations - LIFETIME_VALUE_BUCKET_NOT_IN_RANGE = 35; - - // Identifiers not supported for Customer Match attributes. User attributes - // can only be provided with contact info (email, phone, address) user - // identifiers. - INCOMPATIBLE_USER_IDENTIFIER_FOR_ATTRIBUTES = 36; - - // A time in the future is not allowed. - FUTURE_TIME_NOT_ALLOWED = 37; - - // Last purchase date time cannot be less than acquisition date time. - LAST_PURCHASE_TIME_LESS_THAN_ACQUISITION_TIME = 38; - - // Only emails are accepted as user identifiers for shopping loyalty match. - // {-- api.dev/not-precedent: The identifier is not limited to ids, but - // also include other user info eg. phone numbers.} - CUSTOMER_IDENTIFIER_NOT_ALLOWED = 39; - - // Provided item ID is invalid. - INVALID_ITEM_ID = 40; - - // First purchase date time cannot be greater than the last purchase date - // time. - FIRST_PURCHASE_TIME_GREATER_THAN_LAST_PURCHASE_TIME = 42; - - // Provided lifecycle stage is invalid. - INVALID_LIFECYCLE_STAGE = 43; - - // The event value of the Customer Match user attribute is invalid. - INVALID_EVENT_VALUE = 44; - - // All the fields are not present in the EventAttribute of the Customer - // Match. - EVENT_ATTRIBUTE_ALL_FIELDS_ARE_REQUIRED = 45; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/operation_access_denied_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/operation_access_denied_error.proto deleted file mode 100644 index ae19a829b..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/operation_access_denied_error.proto +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "OperationAccessDeniedErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing operation access denied errors. - -// Container for enum describing possible operation access denied errors. -message OperationAccessDeniedErrorEnum { - // Enum describing possible operation access denied errors. - enum OperationAccessDeniedError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Unauthorized invocation of a service's method (get, mutate, etc.) - ACTION_NOT_PERMITTED = 2; - - // Unauthorized CREATE operation in invoking a service's mutate method. - CREATE_OPERATION_NOT_PERMITTED = 3; - - // Unauthorized REMOVE operation in invoking a service's mutate method. - REMOVE_OPERATION_NOT_PERMITTED = 4; - - // Unauthorized UPDATE operation in invoking a service's mutate method. - UPDATE_OPERATION_NOT_PERMITTED = 5; - - // A mutate action is not allowed on this resource, from this client. - MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT = 6; - - // This operation is not permitted on this campaign type - OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE = 7; - - // A CREATE operation may not set status to REMOVED. - CREATE_AS_REMOVED_NOT_PERMITTED = 8; - - // This operation is not allowed because the resource is removed. - OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE = 9; - - // This operation is not permitted on this ad group type. - OPERATION_NOT_PERMITTED_FOR_AD_GROUP_TYPE = 10; - - // The mutate is not allowed for this customer. - MUTATE_NOT_PERMITTED_FOR_CUSTOMER = 11; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/operator_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/operator_error.proto deleted file mode 100644 index 25a3eddea..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/operator_error.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "OperatorErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing operator errors. - -// Container for enum describing possible operator errors. -message OperatorErrorEnum { - // Enum describing possible operator errors. - enum OperatorError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Operator not supported. - OPERATOR_NOT_SUPPORTED = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/partial_failure_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/partial_failure_error.proto deleted file mode 100644 index 06ff4b766..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/partial_failure_error.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "PartialFailureErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing partial failure errors. - -// Container for enum describing possible partial failure errors. -message PartialFailureErrorEnum { - // Enum describing possible partial failure errors. - enum PartialFailureError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The partial failure field was false in the request. - // This method requires this field be set to true. - PARTIAL_FAILURE_MODE_REQUIRED = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/payments_account_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/payments_account_error.proto deleted file mode 100644 index 26b0446c6..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/payments_account_error.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "PaymentsAccountErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing payments account service errors. - -// Container for enum describing possible errors in payments account service. -message PaymentsAccountErrorEnum { - // Enum describing possible errors in payments account service. - enum PaymentsAccountError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Manager customers are not supported for payments account service. - NOT_SUPPORTED_FOR_MANAGER_CUSTOMER = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/policy_finding_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/policy_finding_error.proto deleted file mode 100644 index 6d8824369..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/policy_finding_error.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "PolicyFindingErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing policy finding errors. - -// Container for enum describing possible policy finding errors. -message PolicyFindingErrorEnum { - // Enum describing possible policy finding errors. - enum PolicyFindingError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The resource has been disapproved since the policy summary includes - // policy topics of type PROHIBITED. - POLICY_FINDING = 2; - - // The given policy topic does not exist. - POLICY_TOPIC_NOT_FOUND = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/policy_validation_parameter_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/policy_validation_parameter_error.proto deleted file mode 100644 index 9da555423..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/policy_validation_parameter_error.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "PolicyValidationParameterErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing policy validation parameter errors. - -// Container for enum describing possible policy validation parameter errors. -message PolicyValidationParameterErrorEnum { - // Enum describing possible policy validation parameter errors. - enum PolicyValidationParameterError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Ignorable policy topics are not supported for the ad type. - UNSUPPORTED_AD_TYPE_FOR_IGNORABLE_POLICY_TOPICS = 2; - - // Exempt policy violation keys are not supported for the ad type. - UNSUPPORTED_AD_TYPE_FOR_EXEMPT_POLICY_VIOLATION_KEYS = 3; - - // Cannot set ignorable policy topics and exempt policy violation keys in - // the same policy violation parameter. - CANNOT_SET_BOTH_IGNORABLE_POLICY_TOPICS_AND_EXEMPT_POLICY_VIOLATION_KEYS = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/policy_violation_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/policy_violation_error.proto deleted file mode 100644 index 2bff27bd5..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/policy_violation_error.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "PolicyViolationErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing policy violation errors. - -// Container for enum describing possible policy violation errors. -message PolicyViolationErrorEnum { - // Enum describing possible policy violation errors. - enum PolicyViolationError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // A policy was violated. See PolicyViolationDetails for more detail. - POLICY_ERROR = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/query_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/query_error.proto deleted file mode 100644 index cafee01f4..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/query_error.proto +++ /dev/null @@ -1,225 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "QueryErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing query errors. - -// Container for enum describing possible query errors. -message QueryErrorEnum { - // Enum describing possible query errors. - enum QueryError { - // Name unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Returned if all other query error reasons are not applicable. - QUERY_ERROR = 50; - - // A condition used in the query references an invalid enum constant. - BAD_ENUM_CONSTANT = 18; - - // Query contains an invalid escape sequence. - BAD_ESCAPE_SEQUENCE = 7; - - // Field name is invalid. - BAD_FIELD_NAME = 12; - - // Limit value is invalid (for example, not a number) - BAD_LIMIT_VALUE = 15; - - // Encountered number can not be parsed. - BAD_NUMBER = 5; - - // Invalid operator encountered. - BAD_OPERATOR = 3; - - // Parameter unknown or not supported. - BAD_PARAMETER_NAME = 61; - - // Parameter have invalid value. - BAD_PARAMETER_VALUE = 62; - - // Invalid resource type was specified in the FROM clause. - BAD_RESOURCE_TYPE_IN_FROM_CLAUSE = 45; - - // Non-ASCII symbol encountered outside of strings. - BAD_SYMBOL = 2; - - // Value is invalid. - BAD_VALUE = 4; - - // Date filters fail to restrict date to a range smaller than 31 days. - // Applicable if the query is segmented by date. - DATE_RANGE_TOO_WIDE = 36; - - // Filters on date/week/month/quarter have a start date after - // end date. - DATE_RANGE_TOO_NARROW = 60; - - // Expected AND between values with BETWEEN operator. - EXPECTED_AND = 30; - - // Expecting ORDER BY to have BY. - EXPECTED_BY = 14; - - // There was no dimension field selected. - EXPECTED_DIMENSION_FIELD_IN_SELECT_CLAUSE = 37; - - // Missing filters on date related fields. - EXPECTED_FILTERS_ON_DATE_RANGE = 55; - - // Missing FROM clause. - EXPECTED_FROM = 44; - - // The operator used in the conditions requires the value to be a list. - EXPECTED_LIST = 41; - - // Fields used in WHERE or ORDER BY clauses are missing from the SELECT - // clause. - EXPECTED_REFERENCED_FIELD_IN_SELECT_CLAUSE = 16; - - // SELECT is missing at the beginning of query. - EXPECTED_SELECT = 13; - - // A list was passed as a value to a condition whose operator expects a - // single value. - EXPECTED_SINGLE_VALUE = 42; - - // Missing one or both values with BETWEEN operator. - EXPECTED_VALUE_WITH_BETWEEN_OPERATOR = 29; - - // Invalid date format. Expected 'YYYY-MM-DD'. - INVALID_DATE_FORMAT = 38; - - // Misaligned date value for the filter. The date should be the start of a - // week/month/quarter if the filtered field is - // segments.week/segments.month/segments.quarter. - MISALIGNED_DATE_FOR_FILTER = 64; - - // Value passed was not a string when it should have been. For example, it - // was a number or unquoted literal. - INVALID_STRING_VALUE = 57; - - // A String value passed to the BETWEEN operator does not parse as a date. - INVALID_VALUE_WITH_BETWEEN_OPERATOR = 26; - - // The value passed to the DURING operator is not a Date range literal - INVALID_VALUE_WITH_DURING_OPERATOR = 22; - - // An invalid value was passed to the LIKE operator. - INVALID_VALUE_WITH_LIKE_OPERATOR = 56; - - // An operator was provided that is inapplicable to the field being - // filtered. - OPERATOR_FIELD_MISMATCH = 35; - - // A Condition was found with an empty list. - PROHIBITED_EMPTY_LIST_IN_CONDITION = 28; - - // A condition used in the query references an unsupported enum constant. - PROHIBITED_ENUM_CONSTANT = 54; - - // Fields that are not allowed to be selected together were included in - // the SELECT clause. - PROHIBITED_FIELD_COMBINATION_IN_SELECT_CLAUSE = 31; - - // A field that is not orderable was included in the ORDER BY clause. - PROHIBITED_FIELD_IN_ORDER_BY_CLAUSE = 40; - - // A field that is not selectable was included in the SELECT clause. - PROHIBITED_FIELD_IN_SELECT_CLAUSE = 23; - - // A field that is not filterable was included in the WHERE clause. - PROHIBITED_FIELD_IN_WHERE_CLAUSE = 24; - - // Resource type specified in the FROM clause is not supported by this - // service. - PROHIBITED_RESOURCE_TYPE_IN_FROM_CLAUSE = 43; - - // A field that comes from an incompatible resource was included in the - // SELECT clause. - PROHIBITED_RESOURCE_TYPE_IN_SELECT_CLAUSE = 48; - - // A field that comes from an incompatible resource was included in the - // WHERE clause. - PROHIBITED_RESOURCE_TYPE_IN_WHERE_CLAUSE = 58; - - // A metric incompatible with the main resource or other selected - // segmenting resources was included in the SELECT or WHERE clause. - PROHIBITED_METRIC_IN_SELECT_OR_WHERE_CLAUSE = 49; - - // A segment incompatible with the main resource or other selected - // segmenting resources was included in the SELECT or WHERE clause. - PROHIBITED_SEGMENT_IN_SELECT_OR_WHERE_CLAUSE = 51; - - // A segment in the SELECT clause is incompatible with a metric in the - // SELECT or WHERE clause. - PROHIBITED_SEGMENT_WITH_METRIC_IN_SELECT_OR_WHERE_CLAUSE = 53; - - // The value passed to the limit clause is too low. - LIMIT_VALUE_TOO_LOW = 25; - - // Query has a string containing a newline character. - PROHIBITED_NEWLINE_IN_STRING = 8; - - // List contains values of different types. - PROHIBITED_VALUE_COMBINATION_IN_LIST = 10; - - // The values passed to the BETWEEN operator are not of the same type. - PROHIBITED_VALUE_COMBINATION_WITH_BETWEEN_OPERATOR = 21; - - // Query contains unterminated string. - STRING_NOT_TERMINATED = 6; - - // Too many segments are specified in SELECT clause. - TOO_MANY_SEGMENTS = 34; - - // Query is incomplete and cannot be parsed. - UNEXPECTED_END_OF_QUERY = 9; - - // FROM clause cannot be specified in this query. - UNEXPECTED_FROM_CLAUSE = 47; - - // Query contains one or more unrecognized fields. - UNRECOGNIZED_FIELD = 32; - - // Query has an unexpected extra part. - UNEXPECTED_INPUT = 11; - - // Metrics cannot be requested for a manager account. To retrieve metrics, - // issue separate requests against each client account under the manager - // account. - REQUESTED_METRICS_FOR_MANAGER = 59; - - // The number of values (right-hand-side operands) in a filter exceeds the - // limit. - FILTER_HAS_TOO_MANY_VALUES = 63; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/quota_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/quota_error.proto deleted file mode 100644 index 9a698d80a..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/quota_error.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "QuotaErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing quota errors. - -// Container for enum describing possible quota errors. -message QuotaErrorEnum { - // Enum describing possible quota errors. - enum QuotaError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Too many requests. - RESOURCE_EXHAUSTED = 2; - - // Access is prohibited. - ACCESS_PROHIBITED = 3; - - // Too many requests in a short amount of time. - RESOURCE_TEMPORARILY_EXHAUSTED = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/range_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/range_error.proto deleted file mode 100644 index 000fd1ca7..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/range_error.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "RangeErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing range errors. - -// Container for enum describing possible range errors. -message RangeErrorEnum { - // Enum describing possible range errors. - enum RangeError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Too low. - TOO_LOW = 2; - - // Too high. - TOO_HIGH = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/reach_plan_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/reach_plan_error.proto deleted file mode 100644 index c78f50ca9..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/reach_plan_error.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ReachPlanErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing errors generated from ReachPlanService. - -// Container for enum describing possible errors returned from -// the ReachPlanService. -message ReachPlanErrorEnum { - // Enum describing possible errors from ReachPlanService. - enum ReachPlanError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Not forecastable due to missing rate card data. - NOT_FORECASTABLE_MISSING_RATE = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/recommendation_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/recommendation_error.proto deleted file mode 100644 index 58f6a0562..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/recommendation_error.proto +++ /dev/null @@ -1,88 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "RecommendationErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing errors from applying a recommendation. - -// Container for enum describing possible errors from applying a recommendation. -message RecommendationErrorEnum { - // Enum describing possible errors from applying a recommendation. - enum RecommendationError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The specified budget amount is too low for example, lower than minimum - // currency unit or lower than ad group minimum cost-per-click. - BUDGET_AMOUNT_TOO_SMALL = 2; - - // The specified budget amount is too large. - BUDGET_AMOUNT_TOO_LARGE = 3; - - // The specified budget amount is not a valid amount, for example, not a - // multiple of minimum currency unit. - INVALID_BUDGET_AMOUNT = 4; - - // The specified keyword or ad violates ad policy. - POLICY_ERROR = 5; - - // The specified bid amount is not valid, for example, too many fractional - // digits, or negative amount. - INVALID_BID_AMOUNT = 6; - - // The number of keywords in ad group have reached the maximum allowed. - ADGROUP_KEYWORD_LIMIT = 7; - - // The recommendation requested to apply has already been applied. - RECOMMENDATION_ALREADY_APPLIED = 8; - - // The recommendation requested to apply has been invalidated. - RECOMMENDATION_INVALIDATED = 9; - - // The number of operations in a single request exceeds the maximum allowed. - TOO_MANY_OPERATIONS = 10; - - // There are no operations in the request. - NO_OPERATIONS = 11; - - // Operations with multiple recommendation types are not supported when - // partial failure mode is not enabled. - DIFFERENT_TYPES_NOT_SUPPORTED = 12; - - // Request contains multiple operations with the same resource_name. - DUPLICATE_RESOURCE_NAME = 13; - - // The recommendation requested to dismiss has already been dismissed. - RECOMMENDATION_ALREADY_DISMISSED = 14; - - // The recommendation apply request was malformed and invalid. - INVALID_APPLY_REQUEST = 15; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/region_code_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/region_code_error.proto deleted file mode 100644 index dbcbd1c7a..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/region_code_error.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "RegionCodeErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing region code errors. - -// Container for enum describing possible region code errors. -message RegionCodeErrorEnum { - // Enum describing possible region code errors. - enum RegionCodeError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Invalid region code. - INVALID_REGION_CODE = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/request_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/request_error.proto deleted file mode 100644 index 4c882188f..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/request_error.proto +++ /dev/null @@ -1,117 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "RequestErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing request errors. - -// Container for enum describing possible request errors. -message RequestErrorEnum { - // Enum describing possible request errors. - enum RequestError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Resource name is required for this request. - RESOURCE_NAME_MISSING = 3; - - // Resource name provided is malformed. - RESOURCE_NAME_MALFORMED = 4; - - // Resource name provided is malformed. - BAD_RESOURCE_ID = 17; - - // Customer ID is invalid. - INVALID_CUSTOMER_ID = 16; - - // Mutate operation should have either create, update, or remove specified. - OPERATION_REQUIRED = 5; - - // Requested resource not found. - RESOURCE_NOT_FOUND = 6; - - // Next page token specified in user request is invalid. - INVALID_PAGE_TOKEN = 7; - - // Next page token specified in user request has expired. - EXPIRED_PAGE_TOKEN = 8; - - // Page size specified in user request is invalid. - INVALID_PAGE_SIZE = 22; - - // Required field is missing. - REQUIRED_FIELD_MISSING = 9; - - // The field cannot be modified because it's immutable. It's also possible - // that the field can be modified using 'create' operation but not 'update'. - IMMUTABLE_FIELD = 11; - - // Received too many entries in request. - TOO_MANY_MUTATE_OPERATIONS = 13; - - // Request cannot be executed by a manager account. - CANNOT_BE_EXECUTED_BY_MANAGER_ACCOUNT = 14; - - // Mutate request was attempting to modify a readonly field. - // For instance, Budget fields can be requested for Ad Group, - // but are read-only for adGroups:mutate. - CANNOT_MODIFY_FOREIGN_FIELD = 15; - - // Enum value is not permitted. - INVALID_ENUM_VALUE = 18; - - // The developer-token parameter is required for all requests. - DEVELOPER_TOKEN_PARAMETER_MISSING = 19; - - // The login-customer-id parameter is required for this request. - LOGIN_CUSTOMER_ID_PARAMETER_MISSING = 20; - - // page_token is set in the validate only request - VALIDATE_ONLY_REQUEST_HAS_PAGE_TOKEN = 21; - - // return_summary_row cannot be enabled if request did not select any - // metrics field. - CANNOT_RETURN_SUMMARY_ROW_FOR_REQUEST_WITHOUT_METRICS = 29; - - // return_summary_row should not be enabled for validate only requests. - CANNOT_RETURN_SUMMARY_ROW_FOR_VALIDATE_ONLY_REQUESTS = 30; - - // return_summary_row parameter value should be the same between requests - // with page_token field set and their original request. - INCONSISTENT_RETURN_SUMMARY_ROW_VALUE = 31; - - // The total results count cannot be returned if it was not requested in the - // original request. - TOTAL_RESULTS_COUNT_NOT_ORIGINALLY_REQUESTED = 32; - - // Deadline specified by the client was too short. - RPC_DEADLINE_TOO_SHORT = 33; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/resource_access_denied_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/resource_access_denied_error.proto deleted file mode 100644 index f1026b3bf..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/resource_access_denied_error.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ResourceAccessDeniedErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing resource access denied errors. - -// Container for enum describing possible resource access denied errors. -message ResourceAccessDeniedErrorEnum { - // Enum describing possible resource access denied errors. - enum ResourceAccessDeniedError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // User did not have write access. - WRITE_ACCESS_DENIED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/resource_count_limit_exceeded_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/resource_count_limit_exceeded_error.proto deleted file mode 100644 index a36725e5d..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/resource_count_limit_exceeded_error.proto +++ /dev/null @@ -1,91 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ResourceCountLimitExceededErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing resource count limit exceeded errors. - -// Container for enum describing possible resource count limit exceeded errors. -message ResourceCountLimitExceededErrorEnum { - // Enum describing possible resource count limit exceeded errors. - enum ResourceCountLimitExceededError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Indicates that this request would exceed the number of allowed resources - // for the Google Ads account. The exact resource type and limit being - // checked can be inferred from accountLimitType. - ACCOUNT_LIMIT = 2; - - // Indicates that this request would exceed the number of allowed resources - // in a Campaign. The exact resource type and limit being checked can be - // inferred from accountLimitType, and the numeric id of the - // Campaign involved is given by enclosingId. - CAMPAIGN_LIMIT = 3; - - // Indicates that this request would exceed the number of allowed resources - // in an ad group. The exact resource type and limit being checked can be - // inferred from accountLimitType, and the numeric id of the - // ad group involved is given by enclosingId. - ADGROUP_LIMIT = 4; - - // Indicates that this request would exceed the number of allowed resources - // in an ad group ad. The exact resource type and limit being checked can - // be inferred from accountLimitType, and the enclosingId - // contains the ad group id followed by the ad id, separated by a single - // comma (,). - AD_GROUP_AD_LIMIT = 5; - - // Indicates that this request would exceed the number of allowed resources - // in an ad group criterion. The exact resource type and limit being checked - // can be inferred from accountLimitType, and the - // enclosingId contains the ad group id followed by the - // criterion id, separated by a single comma (,). - AD_GROUP_CRITERION_LIMIT = 6; - - // Indicates that this request would exceed the number of allowed resources - // in this shared set. The exact resource type and limit being checked can - // be inferred from accountLimitType, and the numeric id of the - // shared set involved is given by enclosingId. - SHARED_SET_LIMIT = 7; - - // Exceeds a limit related to a matching function. - MATCHING_FUNCTION_LIMIT = 8; - - // The response for this request would exceed the maximum number of rows - // that can be returned. - RESPONSE_ROW_LIMIT_EXCEEDED = 9; - - // This request would exceed a limit on the number of allowed resources. - // The details of which type of limit was exceeded will eventually be - // returned in ErrorDetails. - RESOURCE_LIMIT = 10; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/setting_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/setting_error.proto deleted file mode 100644 index e1ae6c39b..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/setting_error.proto +++ /dev/null @@ -1,88 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "SettingErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing setting errors. - -// Container for enum describing possible setting errors. -message SettingErrorEnum { - // Enum describing possible setting errors. - enum SettingError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The campaign setting is not available for this Google Ads account. - SETTING_TYPE_IS_NOT_AVAILABLE = 3; - - // The setting is not compatible with the campaign. - SETTING_TYPE_IS_NOT_COMPATIBLE_WITH_CAMPAIGN = 4; - - // The supplied TargetingSetting contains an invalid CriterionTypeGroup. See - // CriterionTypeGroup documentation for CriterionTypeGroups allowed - // in Campaign or AdGroup TargetingSettings. - TARGETING_SETTING_CONTAINS_INVALID_CRITERION_TYPE_GROUP = 5; - - // TargetingSetting must not explicitly - // set any of the Demographic CriterionTypeGroups (AGE_RANGE, GENDER, - // PARENT, INCOME_RANGE) to false (it's okay to not set them at all, in - // which case the system will set them to true automatically). - TARGETING_SETTING_DEMOGRAPHIC_CRITERION_TYPE_GROUPS_MUST_BE_SET_TO_TARGET_ALL = 6; - - // TargetingSetting cannot change any of - // the Demographic CriterionTypeGroups (AGE_RANGE, GENDER, PARENT, - // INCOME_RANGE) from true to false. - TARGETING_SETTING_CANNOT_CHANGE_TARGET_ALL_TO_FALSE_FOR_DEMOGRAPHIC_CRITERION_TYPE_GROUP = 7; - - // At least one feed id should be present. - DYNAMIC_SEARCH_ADS_SETTING_AT_LEAST_ONE_FEED_ID_MUST_BE_PRESENT = 8; - - // The supplied DynamicSearchAdsSetting contains an invalid domain name. - DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_DOMAIN_NAME = 9; - - // The supplied DynamicSearchAdsSetting contains a subdomain name. - DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_SUBDOMAIN_NAME = 10; - - // The supplied DynamicSearchAdsSetting contains an invalid language code. - DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_LANGUAGE_CODE = 11; - - // TargetingSettings in search campaigns should not have - // CriterionTypeGroup.PLACEMENT set to targetAll. - TARGET_ALL_IS_NOT_ALLOWED_FOR_PLACEMENT_IN_SEARCH_CAMPAIGN = 12; - - // The setting value is not compatible with the campaign type. - SETTING_VALUE_NOT_COMPATIBLE_WITH_CAMPAIGN = 20; - - // Switching from observation setting to targeting setting is not allowed - // for Customer Match lists. See - // https://support.google.com/google-ads/answer/6299717. - BID_ONLY_IS_NOT_ALLOWED_TO_BE_MODIFIED_WITH_CUSTOMER_MATCH_TARGETING = 21; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/shared_criterion_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/shared_criterion_error.proto deleted file mode 100644 index 5d3d79079..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/shared_criterion_error.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "SharedCriterionErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing shared criterion errors. - -// Container for enum describing possible shared criterion errors. -message SharedCriterionErrorEnum { - // Enum describing possible shared criterion errors. - enum SharedCriterionError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The criterion is not appropriate for the shared set type. - CRITERION_TYPE_NOT_ALLOWED_FOR_SHARED_SET_TYPE = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/shared_set_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/shared_set_error.proto deleted file mode 100644 index 6b8d557eb..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/shared_set_error.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "SharedSetErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing shared set errors. - -// Container for enum describing possible shared set errors. -message SharedSetErrorEnum { - // Enum describing possible shared set errors. - enum SharedSetError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The customer cannot create this type of shared set. - CUSTOMER_CANNOT_CREATE_SHARED_SET_OF_THIS_TYPE = 2; - - // A shared set with this name already exists. - DUPLICATE_NAME = 3; - - // Removed shared sets cannot be mutated. - SHARED_SET_REMOVED = 4; - - // The shared set cannot be removed because it is in use. - SHARED_SET_IN_USE = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/size_limit_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/size_limit_error.proto deleted file mode 100644 index c73e994a2..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/size_limit_error.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "SizeLimitErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing size limit errors. - -// Container for enum describing possible size limit errors. -message SizeLimitErrorEnum { - // Enum describing possible size limit errors. - enum SizeLimitError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The number of entries in the request exceeds the system limit, or the - // contents of the operations exceed transaction limits due to their size - // or complexity. Try reducing the number of entries per request. - REQUEST_SIZE_LIMIT_EXCEEDED = 2; - - // The number of entries in the response exceeds the system limit. - RESPONSE_SIZE_LIMIT_EXCEEDED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/string_format_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/string_format_error.proto deleted file mode 100644 index 5b5875f93..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/string_format_error.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "StringFormatErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing string format errors. - -// Container for enum describing possible string format errors. -message StringFormatErrorEnum { - // Enum describing possible string format errors. - enum StringFormatError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The input string value contains disallowed characters. - ILLEGAL_CHARS = 2; - - // The input string value is invalid for the associated field. - INVALID_FORMAT = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/string_length_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/string_length_error.proto deleted file mode 100644 index a60f8e2fe..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/string_length_error.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "StringLengthErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing string length errors. - -// Container for enum describing possible string length errors. -message StringLengthErrorEnum { - // Enum describing possible string length errors. - enum StringLengthError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The specified field should have a least one non-whitespace character in - // it. - EMPTY = 4; - - // Too short. - TOO_SHORT = 2; - - // Too long. - TOO_LONG = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/third_party_app_analytics_link_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/third_party_app_analytics_link_error.proto deleted file mode 100644 index 5ae8aa6d6..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/third_party_app_analytics_link_error.proto +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ThirdPartyAppAnalyticsLinkErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing ThirdPartyAppAnalyticsLink errors. - -// Container for enum describing possible third party app analytics link errors. -message ThirdPartyAppAnalyticsLinkErrorEnum { - // Enum describing possible third party app analytics link errors. - enum ThirdPartyAppAnalyticsLinkError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The provided analytics provider ID is invalid. - INVALID_ANALYTICS_PROVIDER_ID = 2; - - // The provided mobile app ID is invalid. - INVALID_MOBILE_APP_ID = 3; - - // The mobile app corresponding to the provided app ID is not - // active/enabled. - MOBILE_APP_IS_NOT_ENABLED = 4; - - // Regenerating shareable link ID is only allowed on active links - CANNOT_REGENERATE_SHAREABLE_LINK_ID_FOR_REMOVED_LINK = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/time_zone_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/time_zone_error.proto deleted file mode 100644 index 8f81419e3..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/time_zone_error.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "TimeZoneErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing time zone errors. - -// Container for enum describing possible time zone errors. -message TimeZoneErrorEnum { - // Enum describing possible currency code errors. - enum TimeZoneError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Time zone is not valid. - INVALID_TIME_ZONE = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/url_field_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/url_field_error.proto deleted file mode 100644 index adf563308..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/url_field_error.proto +++ /dev/null @@ -1,216 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "UrlFieldErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing url field errors. - -// Container for enum describing possible url field errors. -message UrlFieldErrorEnum { - // Enum describing possible url field errors. - enum UrlFieldError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The tracking url template is invalid. - INVALID_TRACKING_URL_TEMPLATE = 2; - - // The tracking url template contains invalid tag. - INVALID_TAG_IN_TRACKING_URL_TEMPLATE = 3; - - // The tracking url template must contain at least one tag (for example, - // {lpurl}), This applies only to tracking url template associated with - // website ads or product ads. - MISSING_TRACKING_URL_TEMPLATE_TAG = 4; - - // The tracking url template must start with a valid protocol (or lpurl - // tag). - MISSING_PROTOCOL_IN_TRACKING_URL_TEMPLATE = 5; - - // The tracking url template starts with an invalid protocol. - INVALID_PROTOCOL_IN_TRACKING_URL_TEMPLATE = 6; - - // The tracking url template contains illegal characters. - MALFORMED_TRACKING_URL_TEMPLATE = 7; - - // The tracking url template must contain a host name (or lpurl tag). - MISSING_HOST_IN_TRACKING_URL_TEMPLATE = 8; - - // The tracking url template has an invalid or missing top level domain - // extension. - INVALID_TLD_IN_TRACKING_URL_TEMPLATE = 9; - - // The tracking url template contains nested occurrences of the same - // conditional tag (for example, {ifmobile:{ifmobile:x}}). - REDUNDANT_NESTED_TRACKING_URL_TEMPLATE_TAG = 10; - - // The final url is invalid. - INVALID_FINAL_URL = 11; - - // The final url contains invalid tag. - INVALID_TAG_IN_FINAL_URL = 12; - - // The final url contains nested occurrences of the same conditional tag - // (for example, {ifmobile:{ifmobile:x}}). - REDUNDANT_NESTED_FINAL_URL_TAG = 13; - - // The final url must start with a valid protocol. - MISSING_PROTOCOL_IN_FINAL_URL = 14; - - // The final url starts with an invalid protocol. - INVALID_PROTOCOL_IN_FINAL_URL = 15; - - // The final url contains illegal characters. - MALFORMED_FINAL_URL = 16; - - // The final url must contain a host name. - MISSING_HOST_IN_FINAL_URL = 17; - - // The tracking url template has an invalid or missing top level domain - // extension. - INVALID_TLD_IN_FINAL_URL = 18; - - // The final mobile url is invalid. - INVALID_FINAL_MOBILE_URL = 19; - - // The final mobile url contains invalid tag. - INVALID_TAG_IN_FINAL_MOBILE_URL = 20; - - // The final mobile url contains nested occurrences of the same conditional - // tag (for example, {ifmobile:{ifmobile:x}}). - REDUNDANT_NESTED_FINAL_MOBILE_URL_TAG = 21; - - // The final mobile url must start with a valid protocol. - MISSING_PROTOCOL_IN_FINAL_MOBILE_URL = 22; - - // The final mobile url starts with an invalid protocol. - INVALID_PROTOCOL_IN_FINAL_MOBILE_URL = 23; - - // The final mobile url contains illegal characters. - MALFORMED_FINAL_MOBILE_URL = 24; - - // The final mobile url must contain a host name. - MISSING_HOST_IN_FINAL_MOBILE_URL = 25; - - // The tracking url template has an invalid or missing top level domain - // extension. - INVALID_TLD_IN_FINAL_MOBILE_URL = 26; - - // The final app url is invalid. - INVALID_FINAL_APP_URL = 27; - - // The final app url contains invalid tag. - INVALID_TAG_IN_FINAL_APP_URL = 28; - - // The final app url contains nested occurrences of the same conditional tag - // (for example, {ifmobile:{ifmobile:x}}). - REDUNDANT_NESTED_FINAL_APP_URL_TAG = 29; - - // More than one app url found for the same OS type. - MULTIPLE_APP_URLS_FOR_OSTYPE = 30; - - // The OS type given for an app url is not valid. - INVALID_OSTYPE = 31; - - // The protocol given for an app url is not valid. (For example, - // "android-app://") - INVALID_PROTOCOL_FOR_APP_URL = 32; - - // The package id (app id) given for an app url is not valid. - INVALID_PACKAGE_ID_FOR_APP_URL = 33; - - // The number of url custom parameters for an resource exceeds the maximum - // limit allowed. - URL_CUSTOM_PARAMETERS_COUNT_EXCEEDS_LIMIT = 34; - - // An invalid character appears in the parameter key. - INVALID_CHARACTERS_IN_URL_CUSTOM_PARAMETER_KEY = 39; - - // An invalid character appears in the parameter value. - INVALID_CHARACTERS_IN_URL_CUSTOM_PARAMETER_VALUE = 40; - - // The url custom parameter value fails url tag validation. - INVALID_TAG_IN_URL_CUSTOM_PARAMETER_VALUE = 41; - - // The custom parameter contains nested occurrences of the same conditional - // tag (for example, {ifmobile:{ifmobile:x}}). - REDUNDANT_NESTED_URL_CUSTOM_PARAMETER_TAG = 42; - - // The protocol (http:// or https://) is missing. - MISSING_PROTOCOL = 43; - - // Unsupported protocol in URL. Only http and https are supported. - INVALID_PROTOCOL = 52; - - // The url is invalid. - INVALID_URL = 44; - - // Destination Url is deprecated. - DESTINATION_URL_DEPRECATED = 45; - - // The url contains invalid tag. - INVALID_TAG_IN_URL = 46; - - // The url must contain at least one tag (for example, {lpurl}). - MISSING_URL_TAG = 47; - - // Duplicate url id. - DUPLICATE_URL_ID = 48; - - // Invalid url id. - INVALID_URL_ID = 49; - - // The final url suffix cannot begin with '?' or '&' characters and must be - // a valid query string. - FINAL_URL_SUFFIX_MALFORMED = 50; - - // The final url suffix cannot contain {lpurl} related or {ignore} tags. - INVALID_TAG_IN_FINAL_URL_SUFFIX = 51; - - // The top level domain is invalid, for example, not a public top level - // domain listed in publicsuffix.org. - INVALID_TOP_LEVEL_DOMAIN = 53; - - // Malformed top level domain in URL. - MALFORMED_TOP_LEVEL_DOMAIN = 54; - - // Malformed URL. - MALFORMED_URL = 55; - - // No host found in URL. - MISSING_HOST = 56; - - // Custom parameter value cannot be null. - NULL_CUSTOM_PARAMETER_VALUE = 57; - - // Track parameter is not supported. - VALUE_TRACK_PARAMETER_NOT_SUPPORTED = 58; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/user_data_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/user_data_error.proto deleted file mode 100644 index 97d84549b..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/user_data_error.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "UserDataErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing user data errors. - -// Container for enum describing possible user data errors. -message UserDataErrorEnum { - // Enum describing possible request errors. - enum UserDataError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Customer is not allowed to perform operations related to Customer Match. - OPERATIONS_FOR_CUSTOMER_MATCH_NOT_ALLOWED = 2; - - // Maximum number of user identifiers allowed for each request is 100 and - // for each operation is 20. - TOO_MANY_USER_IDENTIFIERS = 3; - - // Current user list is not applicable for the given customer. - USER_LIST_NOT_APPLICABLE = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/user_list_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/user_list_error.proto deleted file mode 100644 index bc9f17c44..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/user_list_error.proto +++ /dev/null @@ -1,127 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "UserListErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing user list errors. - -// Container for enum describing possible user list errors. -message UserListErrorEnum { - // Enum describing possible user list errors. - enum UserListError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Creating and updating external remarketing user lists is not supported. - EXTERNAL_REMARKETING_USER_LIST_MUTATE_NOT_SUPPORTED = 2; - - // Concrete type of user list is required. - CONCRETE_TYPE_REQUIRED = 3; - - // Creating/updating user list conversion types requires specifying the - // conversion type Id. - CONVERSION_TYPE_ID_REQUIRED = 4; - - // Remarketing user list cannot have duplicate conversion types. - DUPLICATE_CONVERSION_TYPES = 5; - - // Conversion type is invalid/unknown. - INVALID_CONVERSION_TYPE = 6; - - // User list description is empty or invalid. - INVALID_DESCRIPTION = 7; - - // User list name is empty or invalid. - INVALID_NAME = 8; - - // Type of the UserList does not match. - INVALID_TYPE = 9; - - // Embedded logical user lists are not allowed. - CAN_NOT_ADD_LOGICAL_LIST_AS_LOGICAL_LIST_OPERAND = 10; - - // User list rule operand is invalid. - INVALID_USER_LIST_LOGICAL_RULE_OPERAND = 11; - - // Name is already being used for another user list for the account. - NAME_ALREADY_USED = 12; - - // Name is required when creating a new conversion type. - NEW_CONVERSION_TYPE_NAME_REQUIRED = 13; - - // The given conversion type name has been used. - CONVERSION_TYPE_NAME_ALREADY_USED = 14; - - // Only an owner account may edit a user list. - OWNERSHIP_REQUIRED_FOR_SET = 15; - - // Creating user list without setting type in oneof user_list field, or - // creating/updating read-only user list types is not allowed. - USER_LIST_MUTATE_NOT_SUPPORTED = 16; - - // Rule is invalid. - INVALID_RULE = 17; - - // The specified date range is empty. - INVALID_DATE_RANGE = 27; - - // A UserList which is privacy sensitive or legal rejected cannot be mutated - // by external users. - CAN_NOT_MUTATE_SENSITIVE_USERLIST = 28; - - // Maximum number of rulebased user lists a customer can have. - MAX_NUM_RULEBASED_USERLISTS = 29; - - // BasicUserList's billable record field cannot be modified once it is set. - CANNOT_MODIFY_BILLABLE_RECORD_COUNT = 30; - - // crm_based_user_list.app_id field must be set when upload_key_type is - // MOBILE_ADVERTISING_ID. - APP_ID_NOT_SET = 31; - - // Name of the user list is reserved for system generated lists and cannot - // be used. - USERLIST_NAME_IS_RESERVED_FOR_SYSTEM_LIST = 32; - - // Advertiser needs to be on the allow-list to use remarketing lists created - // from advertiser uploaded data (for example, Customer Match lists). - ADVERTISER_NOT_ON_ALLOWLIST_FOR_USING_UPLOADED_DATA = 37; - - // The provided rule_type is not supported for the user list. - RULE_TYPE_IS_NOT_SUPPORTED = 34; - - // Similar user list cannot be used as a logical user list operand. - CAN_NOT_ADD_A_SIMILAR_USERLIST_AS_LOGICAL_LIST_OPERAND = 35; - - // Logical user list should not have a mix of CRM based user list and other - // types of lists in its rules. - CAN_NOT_MIX_CRM_BASED_IN_LOGICAL_LIST_WITH_OTHER_LISTS = 36; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/errors/youtube_video_registration_error.proto b/third_party/googleapis/google/ads/googleads/v11/errors/youtube_video_registration_error.proto deleted file mode 100644 index 4b5fd8ac6..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/errors/youtube_video_registration_error.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "YoutubeVideoRegistrationErrorProto"; -option java_package = "com.google.ads.googleads.v11.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V11::Errors"; - -// Proto file describing YouTube video registration errors. - -// Container for enum describing YouTube video registration errors. -message YoutubeVideoRegistrationErrorEnum { - // Enum describing YouTube video registration errors. - enum YoutubeVideoRegistrationError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Video to be registered wasn't found. - VIDEO_NOT_FOUND = 2; - - // Video to be registered is not accessible (for example, private). - VIDEO_NOT_ACCESSIBLE = 3; - - // Video to be registered is not eligible (for example, mature content). - VIDEO_NOT_ELIGIBLE = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/googleads_gapic.yaml b/third_party/googleapis/google/ads/googleads/v11/googleads_gapic.yaml deleted file mode 100644 index 74a7a5363..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/googleads_gapic.yaml +++ /dev/null @@ -1,26 +0,0 @@ -type: com.google.api.codegen.ConfigProto -config_schema_version: 2.0.0 -language_settings: - csharp: - package_name: Google.Ads.GoogleAds.V11.Services - go: - package_name: google.golang.org/google/ads/googleads/v11/services - java: - package_name: com.google.ads.googleads.v11.services - nodejs: - package_name: v11.services - php: - package_name: Google\Ads\GoogleAds\V11\Services - python: - package_name: google.ads.googleads_v11.gapic.services - ruby: - package_name: Google::Ads::Googleads::V11::Services -interfaces: -- name: google.ads.googleads.v11.services.OfflineUserDataJobService - methods: - - name: RunOfflineUserDataJob - long_running: - initial_poll_delay_millis: 300000 - max_poll_delay_millis: 3600000 - poll_delay_multiplier: 1.25 - total_poll_timeout_millis: 43200000 diff --git a/third_party/googleapis/google/ads/googleads/v11/googleads_grpc_service_config.json b/third_party/googleapis/google/ads/googleads/v11/googleads_grpc_service_config.json deleted file mode 100755 index 2c9b0dfec..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/googleads_grpc_service_config.json +++ /dev/null @@ -1,327 +0,0 @@ -{ - "methodConfig": [ - { - "name": [ - { - "service": "google.ads.googleads.v11.services.AccountBudgetProposalService" - }, - { - "service": "google.ads.googleads.v11.services.AccountLinkService" - }, - { - "service": "google.ads.googleads.v11.services.AdGroupAdLabelService" - }, - { - "service": "google.ads.googleads.v11.services.AdGroupAdService" - }, - { - "service": "google.ads.googleads.v11.services.AdGroupAssetService" - }, - { - "service": "google.ads.googleads.v11.services.AdGroupBidModifierService" - }, - { - "service": "google.ads.googleads.v11.services.AdGroupCriterionCustomizerService" - }, - { - "service": "google.ads.googleads.v11.services.AdGroupCriterionLabelService" - }, - { - "service": "google.ads.googleads.v11.services.AdGroupCriterionService" - }, - { - "service": "google.ads.googleads.v11.services.AdGroupCustomizerService" - }, - { - "service": "google.ads.googleads.v11.services.AdGroupExtensionSettingService" - }, - { - "service": "google.ads.googleads.v11.services.AdGroupFeedService" - }, - { - "service": "google.ads.googleads.v11.services.AdGroupLabelService" - }, - { - "service": "google.ads.googleads.v11.services.AdGroupService" - }, - { - "service": "google.ads.googleads.v11.services.AdParameterService" - }, - { - "service": "google.ads.googleads.v11.services.AdService" - }, - { - "service": "google.ads.googleads.v11.services.AssetGroupAssetService" - }, - { - "service": "google.ads.googleads.v11.services.AssetGroupListingGroupFilterService" - }, - { - "service": "google.ads.googleads.v11.services.AssetGroupService" - }, - { - "service": "google.ads.googleads.v11.services.AssetGroupSignalService" - }, - { - "service": "google.ads.googleads.v11.services.AssetService" - }, - { - "service": "google.ads.googleads.v11.services.AssetSetAssetService" - }, - { - "service": "google.ads.googleads.v11.services.AssetSetService" - }, - { - "service": "google.ads.googleads.v11.services.AudienceInsightsService" - }, - { - "service": "google.ads.googleads.v11.services.AudienceService" - }, - { - "service": "google.ads.googleads.v11.services.BatchJobService" - }, - { - "service": "google.ads.googleads.v11.services.BiddingDataExclusionService" - }, - { - "service": "google.ads.googleads.v11.services.BiddingSeasonalityAdjustmentService" - }, - { - "service": "google.ads.googleads.v11.services.BiddingStrategyService" - }, - { - "service": "google.ads.googleads.v11.services.BillingSetupService" - }, - { - "service": "google.ads.googleads.v11.services.CampaignAssetService" - }, - { - "service": "google.ads.googleads.v11.services.CampaignAssetSetService" - }, - { - "service": "google.ads.googleads.v11.services.CampaignBidModifierService" - }, - { - "service": "google.ads.googleads.v11.services.CampaignBudgetService" - }, - { - "service": "google.ads.googleads.v11.services.CampaignConversionGoalService" - }, - { - "service": "google.ads.googleads.v11.services.CampaignCriterionService" - }, - { - "service": "google.ads.googleads.v11.services.CampaignCustomizerService" - }, - { - "service": "google.ads.googleads.v11.services.CampaignDraftService" - }, - { - "service": "google.ads.googleads.v11.services.CampaignExperimentService" - }, - { - "service": "google.ads.googleads.v11.services.CampaignExtensionSettingService" - }, - { - "service": "google.ads.googleads.v11.services.CampaignFeedService" - }, - { - "service": "google.ads.googleads.v11.services.CampaignGroupService" - }, - { - "service": "google.ads.googleads.v11.services.CampaignLabelService" - }, - { - "service": "google.ads.googleads.v11.services.CampaignService" - }, - { - "service": "google.ads.googleads.v11.services.CampaignSharedSetService" - }, - { - "service": "google.ads.googleads.v11.services.ConversionActionService" - }, - { - "service": "google.ads.googleads.v11.services.ConversionAdjustmentUploadService" - }, - { - "service": "google.ads.googleads.v11.services.ConversionCustomVariableService" - }, - { - "service": "google.ads.googleads.v11.services.ConversionGoalCampaignConfigService" - }, - { - "service": "google.ads.googleads.v11.services.ConversionUploadService" - }, - { - "service": "google.ads.googleads.v11.services.ConversionValueRuleService" - }, - { - "service": "google.ads.googleads.v11.services.ConversionValueRuleSetService" - }, - { - "service": "google.ads.googleads.v11.services.CustomAudienceService" - }, - { - "service": "google.ads.googleads.v11.services.CustomConversionGoalService" - }, - { - "service": "google.ads.googleads.v11.services.CustomInterestService" - }, - { - "service": "google.ads.googleads.v11.services.CustomerAssetService" - }, - { - "service": "google.ads.googleads.v11.services.CustomerClientLinkService" - }, - { - "service": "google.ads.googleads.v11.services.CustomerConversionGoalService" - }, - { - "service": "google.ads.googleads.v11.services.CustomerCustomizerService" - }, - { - "service": "google.ads.googleads.v11.services.CustomerExtensionSettingService" - }, - { - "service": "google.ads.googleads.v11.services.CustomerFeedService" - }, - { - "service": "google.ads.googleads.v11.services.CustomerLabelService" - }, - { - "service": "google.ads.googleads.v11.services.CustomerManagerLinkService" - }, - { - "service": "google.ads.googleads.v11.services.CustomerNegativeCriterionService" - }, - { - "service": "google.ads.googleads.v11.services.CustomerService" - }, - { - "service": "google.ads.googleads.v11.services.CustomerUserAccessInvitationService" - }, - { - "service": "google.ads.googleads.v11.services.CustomerUserAccessService" - }, - { - "service": "google.ads.googleads.v11.services.CustomizerAttributeService" - }, - { - "service": "google.ads.googleads.v11.services.ExperimentArmService" - }, - { - "service": "google.ads.googleads.v11.services.ExperimentService" - }, - { - "service": "google.ads.googleads.v11.services.ExtensionFeedItemService" - }, - { - "service": "google.ads.googleads.v11.services.FeedItemService" - }, - { - "service": "google.ads.googleads.v11.services.FeedItemSetLinkService" - }, - { - "service": "google.ads.googleads.v11.services.FeedItemSetService" - }, - { - "service": "google.ads.googleads.v11.services.FeedItemTargetService" - }, - { - "service": "google.ads.googleads.v11.services.FeedMappingService" - }, - { - "service": "google.ads.googleads.v11.services.FeedService" - }, - { - "service": "google.ads.googleads.v11.services.GeoTargetConstantService" - }, - { - "service": "google.ads.googleads.v11.services.GoogleAdsFieldService" - }, - { - "service": "google.ads.googleads.v11.services.GoogleAdsService" - }, - { - "service": "google.ads.googleads.v11.services.InvoiceService" - }, - { - "service": "google.ads.googleads.v11.services.KeywordPlanAdGroupKeywordService" - }, - { - "service": "google.ads.googleads.v11.services.KeywordPlanAdGroupService" - }, - { - "service": "google.ads.googleads.v11.services.KeywordPlanCampaignKeywordService" - }, - { - "service": "google.ads.googleads.v11.services.KeywordPlanCampaignService" - }, - { - "service": "google.ads.googleads.v11.services.KeywordPlanIdeaService" - }, - { - "service": "google.ads.googleads.v11.services.KeywordPlanService" - }, - { - "service": "google.ads.googleads.v11.services.KeywordThemeConstantService" - }, - { - "service": "google.ads.googleads.v11.services.LabelService" - }, - { - "service": "google.ads.googleads.v11.services.MediaFileService" - }, - { - "service": "google.ads.googleads.v11.services.MerchantCenterLinkService" - }, - { - "service": "google.ads.googleads.v11.services.OfflineUserDataJobService" - }, - { - "service": "google.ads.googleads.v11.services.PaymentsAccountService" - }, - { - "service": "google.ads.googleads.v11.services.ReachPlanService" - }, - { - "service": "google.ads.googleads.v11.services.RecommendationService" - }, - { - "service": "google.ads.googleads.v11.services.RemarketingActionService" - }, - { - "service": "google.ads.googleads.v11.services.SharedCriterionService" - }, - { - "service": "google.ads.googleads.v11.services.SharedSetService" - }, - { - "service": "google.ads.googleads.v11.services.SmartCampaignSettingService" - }, - { - "service": "google.ads.googleads.v11.services.SmartCampaignSuggestService" - }, - { - "service": "google.ads.googleads.v11.services.ThirdPartyAppAnalyticsLinkService" - }, - { - "service": "google.ads.googleads.v11.services.UserDataService" - }, - { - "service": "google.ads.googleads.v11.services.UserListService" - } - ], - "timeout": "14400s", - "retryPolicy": { - "initialBackoff": "5s", - "maxBackoff": "60s", - "backoffMultiplier": 1.3, - "retryableStatusCodes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - } - } - ] -} diff --git a/third_party/googleapis/google/ads/googleads/v11/googleads_v11.yaml b/third_party/googleapis/google/ads/googleads/v11/googleads_v11.yaml deleted file mode 100644 index c087d39b9..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/googleads_v11.yaml +++ /dev/null @@ -1,811 +0,0 @@ -type: google.api.Service -config_version: 3 -name: googleads.googleapis.com -title: Google Ads API - -apis: -- name: google.ads.googleads.v11.services.AccountBudgetProposalService -- name: google.ads.googleads.v11.services.AccountLinkService -- name: google.ads.googleads.v11.services.AdGroupAdLabelService -- name: google.ads.googleads.v11.services.AdGroupAdService -- name: google.ads.googleads.v11.services.AdGroupAssetService -- name: google.ads.googleads.v11.services.AdGroupBidModifierService -- name: google.ads.googleads.v11.services.AdGroupCriterionCustomizerService -- name: google.ads.googleads.v11.services.AdGroupCriterionLabelService -- name: google.ads.googleads.v11.services.AdGroupCriterionService -- name: google.ads.googleads.v11.services.AdGroupCustomizerService -- name: google.ads.googleads.v11.services.AdGroupExtensionSettingService -- name: google.ads.googleads.v11.services.AdGroupFeedService -- name: google.ads.googleads.v11.services.AdGroupLabelService -- name: google.ads.googleads.v11.services.AdGroupService -- name: google.ads.googleads.v11.services.AdParameterService -- name: google.ads.googleads.v11.services.AdService -- name: google.ads.googleads.v11.services.AssetGroupAssetService -- name: google.ads.googleads.v11.services.AssetGroupListingGroupFilterService -- name: google.ads.googleads.v11.services.AssetGroupService -- name: google.ads.googleads.v11.services.AssetGroupSignalService -- name: google.ads.googleads.v11.services.AssetService -- name: google.ads.googleads.v11.services.AssetSetAssetService -- name: google.ads.googleads.v11.services.AssetSetService -- name: google.ads.googleads.v11.services.AudienceInsightsService -- name: google.ads.googleads.v11.services.AudienceService -- name: google.ads.googleads.v11.services.BatchJobService -- name: google.ads.googleads.v11.services.BiddingDataExclusionService -- name: google.ads.googleads.v11.services.BiddingSeasonalityAdjustmentService -- name: google.ads.googleads.v11.services.BiddingStrategyService -- name: google.ads.googleads.v11.services.BillingSetupService -- name: google.ads.googleads.v11.services.CampaignAssetService -- name: google.ads.googleads.v11.services.CampaignAssetSetService -- name: google.ads.googleads.v11.services.CampaignBidModifierService -- name: google.ads.googleads.v11.services.CampaignBudgetService -- name: google.ads.googleads.v11.services.CampaignConversionGoalService -- name: google.ads.googleads.v11.services.CampaignCriterionService -- name: google.ads.googleads.v11.services.CampaignCustomizerService -- name: google.ads.googleads.v11.services.CampaignDraftService -- name: google.ads.googleads.v11.services.CampaignExperimentService -- name: google.ads.googleads.v11.services.CampaignExtensionSettingService -- name: google.ads.googleads.v11.services.CampaignFeedService -- name: google.ads.googleads.v11.services.CampaignGroupService -- name: google.ads.googleads.v11.services.CampaignLabelService -- name: google.ads.googleads.v11.services.CampaignService -- name: google.ads.googleads.v11.services.CampaignSharedSetService -- name: google.ads.googleads.v11.services.ConversionActionService -- name: google.ads.googleads.v11.services.ConversionAdjustmentUploadService -- name: google.ads.googleads.v11.services.ConversionCustomVariableService -- name: google.ads.googleads.v11.services.ConversionGoalCampaignConfigService -- name: google.ads.googleads.v11.services.ConversionUploadService -- name: google.ads.googleads.v11.services.ConversionValueRuleService -- name: google.ads.googleads.v11.services.ConversionValueRuleSetService -- name: google.ads.googleads.v11.services.CustomAudienceService -- name: google.ads.googleads.v11.services.CustomConversionGoalService -- name: google.ads.googleads.v11.services.CustomInterestService -- name: google.ads.googleads.v11.services.CustomerAssetService -- name: google.ads.googleads.v11.services.CustomerClientLinkService -- name: google.ads.googleads.v11.services.CustomerConversionGoalService -- name: google.ads.googleads.v11.services.CustomerCustomizerService -- name: google.ads.googleads.v11.services.CustomerExtensionSettingService -- name: google.ads.googleads.v11.services.CustomerFeedService -- name: google.ads.googleads.v11.services.CustomerLabelService -- name: google.ads.googleads.v11.services.CustomerManagerLinkService -- name: google.ads.googleads.v11.services.CustomerNegativeCriterionService -- name: google.ads.googleads.v11.services.CustomerService -- name: google.ads.googleads.v11.services.CustomerUserAccessInvitationService -- name: google.ads.googleads.v11.services.CustomerUserAccessService -- name: google.ads.googleads.v11.services.CustomizerAttributeService -- name: google.ads.googleads.v11.services.ExperimentArmService -- name: google.ads.googleads.v11.services.ExperimentService -- name: google.ads.googleads.v11.services.ExtensionFeedItemService -- name: google.ads.googleads.v11.services.FeedItemService -- name: google.ads.googleads.v11.services.FeedItemSetLinkService -- name: google.ads.googleads.v11.services.FeedItemSetService -- name: google.ads.googleads.v11.services.FeedItemTargetService -- name: google.ads.googleads.v11.services.FeedMappingService -- name: google.ads.googleads.v11.services.FeedService -- name: google.ads.googleads.v11.services.GeoTargetConstantService -- name: google.ads.googleads.v11.services.GoogleAdsFieldService -- name: google.ads.googleads.v11.services.GoogleAdsService -- name: google.ads.googleads.v11.services.InvoiceService -- name: google.ads.googleads.v11.services.KeywordPlanAdGroupKeywordService -- name: google.ads.googleads.v11.services.KeywordPlanAdGroupService -- name: google.ads.googleads.v11.services.KeywordPlanCampaignKeywordService -- name: google.ads.googleads.v11.services.KeywordPlanCampaignService -- name: google.ads.googleads.v11.services.KeywordPlanIdeaService -- name: google.ads.googleads.v11.services.KeywordPlanService -- name: google.ads.googleads.v11.services.KeywordThemeConstantService -- name: google.ads.googleads.v11.services.LabelService -- name: google.ads.googleads.v11.services.MediaFileService -- name: google.ads.googleads.v11.services.MerchantCenterLinkService -- name: google.ads.googleads.v11.services.OfflineUserDataJobService -- name: google.ads.googleads.v11.services.PaymentsAccountService -- name: google.ads.googleads.v11.services.ReachPlanService -- name: google.ads.googleads.v11.services.RecommendationService -- name: google.ads.googleads.v11.services.RemarketingActionService -- name: google.ads.googleads.v11.services.SharedCriterionService -- name: google.ads.googleads.v11.services.SharedSetService -- name: google.ads.googleads.v11.services.SmartCampaignSettingService -- name: google.ads.googleads.v11.services.SmartCampaignSuggestService -- name: google.ads.googleads.v11.services.ThirdPartyAppAnalyticsLinkService -- name: google.ads.googleads.v11.services.UserDataService -- name: google.ads.googleads.v11.services.UserListService - -types: -- name: google.ads.googleads.v11.errors.GoogleAdsFailure -- name: google.ads.googleads.v11.resources.BatchJob.BatchJobMetadata -- name: google.ads.googleads.v11.services.CreateCampaignExperimentMetadata -- name: google.ads.googleads.v11.services.PromoteExperimentMetadata -- name: google.ads.googleads.v11.services.ScheduleExperimentMetadata - -documentation: - summary: 'Manage your Google Ads accounts, campaigns, and reports with this API.' - overview: |- - The Google Ads API enables an app to integrate with the Google Ads - platform. You can efficiently retrieve and change your Google Ads data - using the API, making it ideal for managing large or complex accounts and - campaigns. - -backend: - rules: - - selector: google.ads.googleads.v11.services.AccountBudgetProposalService.MutateAccountBudgetProposal - deadline: 60.0 - - selector: google.ads.googleads.v11.services.AccountLinkService.CreateAccountLink - deadline: 600.0 - - selector: google.ads.googleads.v11.services.AccountLinkService.MutateAccountLink - deadline: 600.0 - - selector: google.ads.googleads.v11.services.AdGroupAdLabelService.MutateAdGroupAdLabels - deadline: 60.0 - - selector: google.ads.googleads.v11.services.AdGroupAdService.MutateAdGroupAds - deadline: 60.0 - - selector: google.ads.googleads.v11.services.AdGroupAssetService.MutateAdGroupAssets - deadline: 60.0 - - selector: google.ads.googleads.v11.services.AdGroupBidModifierService.MutateAdGroupBidModifiers - deadline: 60.0 - - selector: google.ads.googleads.v11.services.AdGroupCriterionCustomizerService.MutateAdGroupCriterionCustomizers - deadline: 60.0 - - selector: google.ads.googleads.v11.services.AdGroupCriterionLabelService.MutateAdGroupCriterionLabels - deadline: 60.0 - - selector: google.ads.googleads.v11.services.AdGroupCriterionService.MutateAdGroupCriteria - deadline: 60.0 - - selector: google.ads.googleads.v11.services.AdGroupCustomizerService.MutateAdGroupCustomizers - deadline: 60.0 - - selector: google.ads.googleads.v11.services.AdGroupExtensionSettingService.MutateAdGroupExtensionSettings - deadline: 60.0 - - selector: google.ads.googleads.v11.services.AdGroupFeedService.MutateAdGroupFeeds - deadline: 60.0 - - selector: google.ads.googleads.v11.services.AdGroupLabelService.MutateAdGroupLabels - deadline: 60.0 - - selector: google.ads.googleads.v11.services.AdGroupService.MutateAdGroups - deadline: 60.0 - - selector: google.ads.googleads.v11.services.AdParameterService.MutateAdParameters - deadline: 60.0 - - selector: google.ads.googleads.v11.services.AdService.GetAd - deadline: 60.0 - - selector: google.ads.googleads.v11.services.AdService.MutateAds - deadline: 60.0 - - selector: google.ads.googleads.v11.services.AssetGroupAssetService.MutateAssetGroupAssets - deadline: 60.0 - - selector: google.ads.googleads.v11.services.AssetGroupListingGroupFilterService.MutateAssetGroupListingGroupFilters - deadline: 60.0 - - selector: google.ads.googleads.v11.services.AssetGroupService.MutateAssetGroups - deadline: 60.0 - - selector: google.ads.googleads.v11.services.AssetGroupSignalService.MutateAssetGroupSignals - deadline: 60.0 - - selector: google.ads.googleads.v11.services.AssetService.MutateAssets - deadline: 60.0 - - selector: google.ads.googleads.v11.services.AssetSetAssetService.MutateAssetSetAssets - deadline: 60.0 - - selector: google.ads.googleads.v11.services.AssetSetService.MutateAssetSets - deadline: 60.0 - - selector: 'google.ads.googleads.v11.services.AudienceInsightsService.*' - deadline: 600.0 - - selector: google.ads.googleads.v11.services.AudienceService.MutateAudiences - deadline: 600.0 - - selector: 'google.ads.googleads.v11.services.BatchJobService.*' - deadline: 60.0 - - selector: google.ads.googleads.v11.services.BiddingDataExclusionService.MutateBiddingDataExclusions - deadline: 60.0 - - selector: google.ads.googleads.v11.services.BiddingSeasonalityAdjustmentService.MutateBiddingSeasonalityAdjustments - deadline: 60.0 - - selector: google.ads.googleads.v11.services.BiddingStrategyService.MutateBiddingStrategies - deadline: 60.0 - - selector: google.ads.googleads.v11.services.BillingSetupService.MutateBillingSetup - deadline: 60.0 - - selector: google.ads.googleads.v11.services.CampaignAssetService.MutateCampaignAssets - deadline: 60.0 - - selector: google.ads.googleads.v11.services.CampaignAssetSetService.MutateCampaignAssetSets - deadline: 60.0 - - selector: google.ads.googleads.v11.services.CampaignBidModifierService.MutateCampaignBidModifiers - deadline: 60.0 - - selector: google.ads.googleads.v11.services.CampaignBudgetService.MutateCampaignBudgets - deadline: 60.0 - - selector: google.ads.googleads.v11.services.CampaignConversionGoalService.MutateCampaignConversionGoals - deadline: 60.0 - - selector: google.ads.googleads.v11.services.CampaignCriterionService.MutateCampaignCriteria - deadline: 60.0 - - selector: google.ads.googleads.v11.services.CampaignCustomizerService.MutateCampaignCustomizers - deadline: 60.0 - - selector: 'google.ads.googleads.v11.services.CampaignDraftService.*' - deadline: 60.0 - - selector: 'google.ads.googleads.v11.services.CampaignExperimentService.*' - deadline: 60.0 - - selector: google.ads.googleads.v11.services.CampaignExtensionSettingService.MutateCampaignExtensionSettings - deadline: 60.0 - - selector: google.ads.googleads.v11.services.CampaignFeedService.MutateCampaignFeeds - deadline: 60.0 - - selector: google.ads.googleads.v11.services.CampaignGroupService.MutateCampaignGroups - deadline: 60.0 - - selector: google.ads.googleads.v11.services.CampaignLabelService.MutateCampaignLabels - deadline: 60.0 - - selector: google.ads.googleads.v11.services.CampaignService.MutateCampaigns - deadline: 60.0 - - selector: google.ads.googleads.v11.services.CampaignSharedSetService.MutateCampaignSharedSets - deadline: 60.0 - - selector: google.ads.googleads.v11.services.ConversionActionService.MutateConversionActions - deadline: 60.0 - - selector: google.ads.googleads.v11.services.ConversionAdjustmentUploadService.UploadConversionAdjustments - deadline: 600.0 - - selector: google.ads.googleads.v11.services.ConversionCustomVariableService.MutateConversionCustomVariables - deadline: 60.0 - - selector: google.ads.googleads.v11.services.ConversionGoalCampaignConfigService.MutateConversionGoalCampaignConfigs - deadline: 60.0 - - selector: google.ads.googleads.v11.services.ConversionUploadService.UploadCallConversions - deadline: 600.0 - - selector: google.ads.googleads.v11.services.ConversionUploadService.UploadClickConversions - deadline: 600.0 - - selector: google.ads.googleads.v11.services.ConversionValueRuleService.MutateConversionValueRules - deadline: 60.0 - - selector: google.ads.googleads.v11.services.ConversionValueRuleSetService.MutateConversionValueRuleSets - deadline: 60.0 - - selector: google.ads.googleads.v11.services.CustomAudienceService.MutateCustomAudiences - deadline: 600.0 - - selector: google.ads.googleads.v11.services.CustomConversionGoalService.MutateCustomConversionGoals - deadline: 60.0 - - selector: google.ads.googleads.v11.services.CustomInterestService.MutateCustomInterests - deadline: 60.0 - - selector: google.ads.googleads.v11.services.CustomerAssetService.MutateCustomerAssets - deadline: 60.0 - - selector: google.ads.googleads.v11.services.CustomerClientLinkService.MutateCustomerClientLink - deadline: 60.0 - - selector: google.ads.googleads.v11.services.CustomerConversionGoalService.MutateCustomerConversionGoals - deadline: 60.0 - - selector: google.ads.googleads.v11.services.CustomerCustomizerService.MutateCustomerCustomizers - deadline: 60.0 - - selector: google.ads.googleads.v11.services.CustomerExtensionSettingService.MutateCustomerExtensionSettings - deadline: 60.0 - - selector: google.ads.googleads.v11.services.CustomerFeedService.MutateCustomerFeeds - deadline: 60.0 - - selector: google.ads.googleads.v11.services.CustomerLabelService.MutateCustomerLabels - deadline: 60.0 - - selector: google.ads.googleads.v11.services.CustomerManagerLinkService.MoveManagerLink - deadline: 60.0 - - selector: google.ads.googleads.v11.services.CustomerManagerLinkService.MutateCustomerManagerLink - deadline: 60.0 - - selector: google.ads.googleads.v11.services.CustomerNegativeCriterionService.MutateCustomerNegativeCriteria - deadline: 60.0 - - selector: 'google.ads.googleads.v11.services.CustomerService.*' - deadline: 60.0 - - selector: google.ads.googleads.v11.services.CustomerUserAccessInvitationService.MutateCustomerUserAccessInvitation - deadline: 600.0 - - selector: google.ads.googleads.v11.services.CustomerUserAccessService.MutateCustomerUserAccess - deadline: 600.0 - - selector: google.ads.googleads.v11.services.CustomizerAttributeService.MutateCustomizerAttributes - deadline: 60.0 - - selector: google.ads.googleads.v11.services.ExperimentArmService.MutateExperimentArms - deadline: 60.0 - - selector: 'google.ads.googleads.v11.services.ExperimentService.*' - deadline: 60.0 - - selector: google.ads.googleads.v11.services.ExtensionFeedItemService.MutateExtensionFeedItems - deadline: 60.0 - - selector: google.ads.googleads.v11.services.FeedItemService.MutateFeedItems - deadline: 60.0 - - selector: google.ads.googleads.v11.services.FeedItemSetLinkService.MutateFeedItemSetLinks - deadline: 60.0 - - selector: google.ads.googleads.v11.services.FeedItemSetService.MutateFeedItemSets - deadline: 60.0 - - selector: google.ads.googleads.v11.services.FeedItemTargetService.MutateFeedItemTargets - deadline: 60.0 - - selector: google.ads.googleads.v11.services.FeedMappingService.MutateFeedMappings - deadline: 60.0 - - selector: google.ads.googleads.v11.services.FeedService.MutateFeeds - deadline: 60.0 - - selector: google.ads.googleads.v11.services.GeoTargetConstantService.SuggestGeoTargetConstants - deadline: 60.0 - - selector: google.ads.googleads.v11.services.GoogleAdsFieldService.GetGoogleAdsField - deadline: 600.0 - - selector: google.ads.googleads.v11.services.GoogleAdsFieldService.SearchGoogleAdsFields - deadline: 600.0 - - selector: google.ads.googleads.v11.services.GoogleAdsService.Mutate - deadline: 600.0 - - selector: google.ads.googleads.v11.services.GoogleAdsService.Search - deadline: 14400.0 - - selector: google.ads.googleads.v11.services.GoogleAdsService.SearchStream - deadline: 14400.0 - - selector: google.ads.googleads.v11.services.InvoiceService.ListInvoices - deadline: 60.0 - - selector: google.ads.googleads.v11.services.KeywordPlanAdGroupKeywordService.MutateKeywordPlanAdGroupKeywords - deadline: 60.0 - - selector: google.ads.googleads.v11.services.KeywordPlanAdGroupService.MutateKeywordPlanAdGroups - deadline: 60.0 - - selector: google.ads.googleads.v11.services.KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords - deadline: 60.0 - - selector: google.ads.googleads.v11.services.KeywordPlanCampaignService.MutateKeywordPlanCampaigns - deadline: 60.0 - - selector: 'google.ads.googleads.v11.services.KeywordPlanIdeaService.*' - deadline: 600.0 - - selector: 'google.ads.googleads.v11.services.KeywordPlanService.*' - deadline: 600.0 - - selector: google.ads.googleads.v11.services.KeywordPlanService.MutateKeywordPlans - deadline: 60.0 - - selector: google.ads.googleads.v11.services.KeywordThemeConstantService.SuggestKeywordThemeConstants - deadline: 60.0 - - selector: google.ads.googleads.v11.services.LabelService.MutateLabels - deadline: 60.0 - - selector: google.ads.googleads.v11.services.MediaFileService.MutateMediaFiles - deadline: 60.0 - - selector: 'google.ads.googleads.v11.services.MerchantCenterLinkService.*' - deadline: 60.0 - - selector: 'google.ads.googleads.v11.services.OfflineUserDataJobService.*' - deadline: 600.0 - - selector: google.ads.googleads.v11.services.PaymentsAccountService.ListPaymentsAccounts - deadline: 60.0 - - selector: 'google.ads.googleads.v11.services.ReachPlanService.*' - deadline: 600.0 - - selector: google.ads.googleads.v11.services.RecommendationService.ApplyRecommendation - deadline: 600.0 - - selector: google.ads.googleads.v11.services.RecommendationService.DismissRecommendation - deadline: 600.0 - - selector: google.ads.googleads.v11.services.RemarketingActionService.MutateRemarketingActions - deadline: 60.0 - - selector: google.ads.googleads.v11.services.SharedCriterionService.MutateSharedCriteria - deadline: 60.0 - - selector: google.ads.googleads.v11.services.SharedSetService.MutateSharedSets - deadline: 60.0 - - selector: google.ads.googleads.v11.services.SmartCampaignSettingService.MutateSmartCampaignSettings - deadline: 60.0 - - selector: 'google.ads.googleads.v11.services.SmartCampaignSuggestService.*' - deadline: 60.0 - - selector: google.ads.googleads.v11.services.ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId - deadline: 600.0 - - selector: google.ads.googleads.v11.services.UserDataService.UploadUserData - deadline: 600.0 - - selector: google.ads.googleads.v11.services.UserListService.MutateUserLists - deadline: 60.0 - - selector: 'google.longrunning.Operations.*' - deadline: 60.0 - -http: - rules: - - selector: google.longrunning.Operations.CancelOperation - post: '/v11/{name=customers/*/operations/*}:cancel' - body: '*' - - selector: google.longrunning.Operations.DeleteOperation - delete: '/v11/{name=customers/*/operations/*}' - - selector: google.longrunning.Operations.GetOperation - get: '/v11/{name=customers/*/operations/*}' - - selector: google.longrunning.Operations.ListOperations - get: '/v11/{name=customers/*/operations}' - - selector: google.longrunning.Operations.WaitOperation - post: '/v11/{name=customers/*/operations/*}:wait' - body: '*' - -authentication: - rules: - - selector: google.ads.googleads.v11.services.AccountBudgetProposalService.MutateAccountBudgetProposal - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.AccountLinkService.CreateAccountLink - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.AccountLinkService.MutateAccountLink - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.AdGroupAdLabelService.MutateAdGroupAdLabels - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.AdGroupAdService.MutateAdGroupAds - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.AdGroupAssetService.MutateAdGroupAssets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.AdGroupBidModifierService.MutateAdGroupBidModifiers - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.AdGroupCriterionCustomizerService.MutateAdGroupCriterionCustomizers - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.AdGroupCriterionLabelService.MutateAdGroupCriterionLabels - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.AdGroupCriterionService.MutateAdGroupCriteria - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.AdGroupCustomizerService.MutateAdGroupCustomizers - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.AdGroupExtensionSettingService.MutateAdGroupExtensionSettings - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.AdGroupFeedService.MutateAdGroupFeeds - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.AdGroupLabelService.MutateAdGroupLabels - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.AdGroupService.MutateAdGroups - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.AdParameterService.MutateAdParameters - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.AdService.GetAd - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.AdService.MutateAds - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.AssetGroupAssetService.MutateAssetGroupAssets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.AssetGroupListingGroupFilterService.MutateAssetGroupListingGroupFilters - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.AssetGroupService.MutateAssetGroups - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.AssetGroupSignalService.MutateAssetGroupSignals - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.AssetService.MutateAssets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.AssetSetAssetService.MutateAssetSetAssets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.AssetSetService.MutateAssetSets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: 'google.ads.googleads.v11.services.AudienceInsightsService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.AudienceService.MutateAudiences - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: 'google.ads.googleads.v11.services.BatchJobService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.BiddingDataExclusionService.MutateBiddingDataExclusions - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.BiddingSeasonalityAdjustmentService.MutateBiddingSeasonalityAdjustments - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.BiddingStrategyService.MutateBiddingStrategies - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.BillingSetupService.MutateBillingSetup - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.CampaignAssetService.MutateCampaignAssets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.CampaignAssetSetService.MutateCampaignAssetSets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.CampaignBidModifierService.MutateCampaignBidModifiers - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.CampaignBudgetService.MutateCampaignBudgets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.CampaignConversionGoalService.MutateCampaignConversionGoals - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.CampaignCriterionService.MutateCampaignCriteria - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.CampaignCustomizerService.MutateCampaignCustomizers - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: 'google.ads.googleads.v11.services.CampaignDraftService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: 'google.ads.googleads.v11.services.CampaignExperimentService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.CampaignExtensionSettingService.MutateCampaignExtensionSettings - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.CampaignFeedService.MutateCampaignFeeds - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.CampaignGroupService.MutateCampaignGroups - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.CampaignLabelService.MutateCampaignLabels - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.CampaignService.MutateCampaigns - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.CampaignSharedSetService.MutateCampaignSharedSets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.ConversionActionService.MutateConversionActions - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.ConversionAdjustmentUploadService.UploadConversionAdjustments - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.ConversionCustomVariableService.MutateConversionCustomVariables - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.ConversionGoalCampaignConfigService.MutateConversionGoalCampaignConfigs - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.ConversionUploadService.UploadCallConversions - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.ConversionUploadService.UploadClickConversions - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.ConversionValueRuleService.MutateConversionValueRules - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.ConversionValueRuleSetService.MutateConversionValueRuleSets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.CustomAudienceService.MutateCustomAudiences - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.CustomConversionGoalService.MutateCustomConversionGoals - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.CustomInterestService.MutateCustomInterests - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.CustomerAssetService.MutateCustomerAssets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.CustomerClientLinkService.MutateCustomerClientLink - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.CustomerConversionGoalService.MutateCustomerConversionGoals - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.CustomerCustomizerService.MutateCustomerCustomizers - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.CustomerExtensionSettingService.MutateCustomerExtensionSettings - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.CustomerFeedService.MutateCustomerFeeds - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.CustomerLabelService.MutateCustomerLabels - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.CustomerManagerLinkService.MoveManagerLink - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.CustomerManagerLinkService.MutateCustomerManagerLink - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.CustomerNegativeCriterionService.MutateCustomerNegativeCriteria - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: 'google.ads.googleads.v11.services.CustomerService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.CustomerUserAccessInvitationService.MutateCustomerUserAccessInvitation - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.CustomerUserAccessService.MutateCustomerUserAccess - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.CustomizerAttributeService.MutateCustomizerAttributes - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.ExperimentArmService.MutateExperimentArms - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: 'google.ads.googleads.v11.services.ExperimentService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.ExtensionFeedItemService.MutateExtensionFeedItems - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.FeedItemService.MutateFeedItems - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.FeedItemSetLinkService.MutateFeedItemSetLinks - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.FeedItemSetService.MutateFeedItemSets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.FeedItemTargetService.MutateFeedItemTargets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.FeedMappingService.MutateFeedMappings - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.FeedService.MutateFeeds - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.GeoTargetConstantService.SuggestGeoTargetConstants - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.GoogleAdsFieldService.GetGoogleAdsField - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.GoogleAdsFieldService.SearchGoogleAdsFields - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: 'google.ads.googleads.v11.services.GoogleAdsService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.InvoiceService.ListInvoices - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.KeywordPlanAdGroupKeywordService.MutateKeywordPlanAdGroupKeywords - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.KeywordPlanAdGroupService.MutateKeywordPlanAdGroups - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.KeywordPlanCampaignService.MutateKeywordPlanCampaigns - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: 'google.ads.googleads.v11.services.KeywordPlanIdeaService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: 'google.ads.googleads.v11.services.KeywordPlanService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.KeywordThemeConstantService.SuggestKeywordThemeConstants - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.LabelService.MutateLabels - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.MediaFileService.MutateMediaFiles - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: 'google.ads.googleads.v11.services.MerchantCenterLinkService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: 'google.ads.googleads.v11.services.OfflineUserDataJobService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.PaymentsAccountService.ListPaymentsAccounts - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: 'google.ads.googleads.v11.services.ReachPlanService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.RecommendationService.ApplyRecommendation - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.RecommendationService.DismissRecommendation - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.RemarketingActionService.MutateRemarketingActions - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.SharedCriterionService.MutateSharedCriteria - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.SharedSetService.MutateSharedSets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.SmartCampaignSettingService.MutateSmartCampaignSettings - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: 'google.ads.googleads.v11.services.SmartCampaignSuggestService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.UserDataService.UploadUserData - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v11.services.UserListService.MutateUserLists - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: 'google.longrunning.Operations.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/BUILD.bazel b/third_party/googleapis/google/ads/googleads/v11/resources/BUILD.bazel deleted file mode 100644 index e0c43a51b..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/BUILD.bazel +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 2020 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -package(default_visibility = ["//visibility:public"]) - -############################################################################## -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") - -# TODO(ohren): Change srcs to use an enumeration of each individual proto -# instead of *.proto globbing once the build file generator supports -# subpackages. -proto_library( - name = "resources_proto", - srcs = glob(["*.proto"]), - deps = [ - "//google/ads/googleads/v11/common:common_proto", - "//google/ads/googleads/v11/enums:enums_proto", - "//google/ads/googleads/v11/errors:errors_proto", - "//google/api:annotations_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", - "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:wrappers_proto", - ], -) - -############################################################################## -# Java -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "java_proto_library", -) - -java_proto_library( - name = "resources_java_proto", - deps = [":resources_proto"], -) - -############################################################################## -# PHP -############################################################################## - -# PHP targets are in the parent directory's BUILD.bazel file to facilitate -# aggregating metadata using a single underlying call to protoc. - -############################################################################## -# C# -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "csharp_proto_library", -) - -csharp_proto_library( - name = "resources_csharp_proto", - deps = [":resources_proto"], -) - -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "ruby_proto_library", -) - -ruby_proto_library( - name = "resources_ruby_proto", - deps = [":resources_proto"], -) - -############################################################################## -# Python -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "py_proto_library", -) - -py_proto_library( - name = "resources_py_proto", - deps = [":resources_proto"], -) diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/accessible_bidding_strategy.proto b/third_party/googleapis/google/ads/googleads/v11/resources/accessible_bidding_strategy.proto deleted file mode 100644 index bd7892a9c..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/accessible_bidding_strategy.proto +++ /dev/null @@ -1,171 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/bidding_strategy_type.proto"; -import "google/ads/googleads/v11/enums/target_impression_share_location.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AccessibleBiddingStrategyProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Represents a view of BiddingStrategies owned by and shared with the customer. -// -// In contrast to BiddingStrategy, this resource includes strategies owned by -// managers of the customer and shared with this customer - in addition to -// strategies owned by this customer. This resource does not provide metrics and -// only exposes a limited subset of the BiddingStrategy attributes. -message AccessibleBiddingStrategy { - option (google.api.resource) = { - type: "googleads.googleapis.com/AccessibleBiddingStrategy" - pattern: "customers/{customer_id}/accessibleBiddingStrategies/{bidding_strategy_id}" - }; - - // An automated bidding strategy to help get the most conversion value for - // your campaigns while spending your budget. - message MaximizeConversionValue { - // Output only. The target return on ad spend (ROAS) option. If set, the bid strategy - // will maximize revenue while averaging the target return on ad spend. If - // the target ROAS is high, the bid strategy may not be able to spend the - // full budget. If the target ROAS is not set, the bid strategy will aim to - // achieve the highest possible ROAS for the budget. - double target_roas = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // An automated bidding strategy to help get the most conversions for your - // campaigns while spending your budget. - message MaximizeConversions { - // Output only. The target cost per acquisition (CPA) option. This is the average amount - // that you would like to spend per acquisition. - int64 target_cpa_micros = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // An automated bid strategy that sets bids to help get as many conversions as - // possible at the target cost-per-acquisition (CPA) you set. - message TargetCpa { - // Output only. Average CPA target. - // This target should be greater than or equal to minimum billable unit - // based on the currency for the account. - optional int64 target_cpa_micros = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // An automated bidding strategy that sets bids so that a certain percentage - // of search ads are shown at the top of the first page (or other targeted - // location). - message TargetImpressionShare { - // Output only. The targeted location on the search results page. - google.ads.googleads.v11.enums.TargetImpressionShareLocationEnum.TargetImpressionShareLocation location = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The chosen fraction of ads to be shown in the targeted location in - // micros. For example, 1% equals 10,000. - optional int64 location_fraction_micros = 2; - - // Output only. The highest CPC bid the automated bidding system is permitted to specify. - // This is a required field entered by the advertiser that sets the ceiling - // and specified in local micros. - optional int64 cpc_bid_ceiling_micros = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // An automated bidding strategy that helps you maximize revenue while - // averaging a specific target return on ad spend (ROAS). - message TargetRoas { - // Output only. The chosen revenue (based on conversion data) per unit of spend. - optional double target_roas = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // An automated bid strategy that sets your bids to help get as many clicks - // as possible within your budget. - message TargetSpend { - // Output only. The spend target under which to maximize clicks. - // A TargetSpend bidder will attempt to spend the smaller of this value - // or the natural throttling spend amount. - // If not specified, the budget is used as the spend target. - // This field is deprecated and should no longer be used. See - // https://ads-developers.googleblog.com/2020/05/reminder-about-sunset-creation-of.html - // for details. - optional int64 target_spend_micros = 1 [ - deprecated = true, - (google.api.field_behavior) = OUTPUT_ONLY - ]; - - // Output only. Maximum bid limit that can be set by the bid strategy. - // The limit applies to all keywords managed by the strategy. - optional int64 cpc_bid_ceiling_micros = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Output only. The resource name of the accessible bidding strategy. - // AccessibleBiddingStrategy resource names have the form: - // - // `customers/{customer_id}/accessibleBiddingStrategies/{bidding_strategy_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AccessibleBiddingStrategy" - } - ]; - - // Output only. The ID of the bidding strategy. - int64 id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The name of the bidding strategy. - string name = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The type of the bidding strategy. - google.ads.googleads.v11.enums.BiddingStrategyTypeEnum.BiddingStrategyType type = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The ID of the Customer which owns the bidding strategy. - int64 owner_customer_id = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. descriptive_name of the Customer which owns the bidding strategy. - string owner_descriptive_name = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The bidding scheme. - // - // Only one can be set. - oneof scheme { - // Output only. An automated bidding strategy to help get the most conversion value for - // your campaigns while spending your budget. - MaximizeConversionValue maximize_conversion_value = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. An automated bidding strategy to help get the most conversions for your - // campaigns while spending your budget. - MaximizeConversions maximize_conversions = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. A bidding strategy that sets bids to help get as many conversions as - // possible at the target cost-per-acquisition (CPA) you set. - TargetCpa target_cpa = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. A bidding strategy that automatically optimizes towards a chosen - // percentage of impressions. - TargetImpressionShare target_impression_share = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. A bidding strategy that helps you maximize revenue while averaging a - // specific target Return On Ad Spend (ROAS). - TargetRoas target_roas = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. A bid strategy that sets your bids to help get as many clicks as - // possible within your budget. - TargetSpend target_spend = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/account_budget.proto b/third_party/googleapis/google/ads/googleads/v11/resources/account_budget.proto deleted file mode 100644 index c9c4d173f..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/account_budget.proto +++ /dev/null @@ -1,253 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/account_budget_proposal_type.proto"; -import "google/ads/googleads/v11/enums/account_budget_status.proto"; -import "google/ads/googleads/v11/enums/spending_limit_type.proto"; -import "google/ads/googleads/v11/enums/time_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AccountBudgetProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the AccountBudget resource. - -// An account-level budget. It contains information about the budget itself, -// as well as the most recently approved changes to the budget and proposed -// changes that are pending approval. The proposed changes that are pending -// approval, if any, are found in 'pending_proposal'. Effective details about -// the budget are found in fields prefixed 'approved_', 'adjusted_' and those -// without a prefix. Since some effective details may differ from what the user -// had originally requested (for example, spending limit), these differences are -// juxtaposed through 'proposed_', 'approved_', and possibly 'adjusted_' fields. -// -// This resource is mutated using AccountBudgetProposal and cannot be mutated -// directly. A budget may have at most one pending proposal at any given time. -// It is read through pending_proposal. -// -// Once approved, a budget may be subject to adjustments, such as credit -// adjustments. Adjustments create differences between the 'approved' and -// 'adjusted' fields, which would otherwise be identical. -message AccountBudget { - option (google.api.resource) = { - type: "googleads.googleapis.com/AccountBudget" - pattern: "customers/{customer_id}/accountBudgets/{account_budget_id}" - }; - - // A pending proposal associated with the enclosing account-level budget, - // if applicable. - message PendingAccountBudgetProposal { - // Output only. The resource name of the proposal. - // AccountBudgetProposal resource names have the form: - // - // `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` - optional string account_budget_proposal = 12 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AccountBudgetProposal" - } - ]; - - // Output only. The type of this proposal, for example, END to end the budget associated - // with this proposal. - google.ads.googleads.v11.enums.AccountBudgetProposalTypeEnum.AccountBudgetProposalType proposal_type = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The name to assign to the account-level budget. - optional string name = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The start time in yyyy-MM-dd HH:mm:ss format. - optional string start_date_time = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. A purchase order number is a value that helps users reference this budget - // in their monthly invoices. - optional string purchase_order_number = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Notes associated with this budget. - optional string notes = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The time when this account-level budget proposal was created. - // Formatted as yyyy-MM-dd HH:mm:ss. - optional string creation_date_time = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The end time of the account-level budget. - oneof end_time { - // Output only. The end time in yyyy-MM-dd HH:mm:ss format. - string end_date_time = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The end time as a well-defined type, for example, FOREVER. - google.ads.googleads.v11.enums.TimeTypeEnum.TimeType end_time_type = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The spending limit. - oneof spending_limit { - // Output only. The spending limit in micros. One million is equivalent to - // one unit. - int64 spending_limit_micros = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The spending limit as a well-defined type, for example, INFINITE. - google.ads.googleads.v11.enums.SpendingLimitTypeEnum.SpendingLimitType spending_limit_type = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - } - - // Output only. The resource name of the account-level budget. - // AccountBudget resource names have the form: - // - // `customers/{customer_id}/accountBudgets/{account_budget_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AccountBudget" - } - ]; - - // Output only. The ID of the account-level budget. - optional int64 id = 23 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource name of the billing setup associated with this account-level - // budget. BillingSetup resource names have the form: - // - // `customers/{customer_id}/billingSetups/{billing_setup_id}` - optional string billing_setup = 24 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/BillingSetup" - } - ]; - - // Output only. The status of this account-level budget. - google.ads.googleads.v11.enums.AccountBudgetStatusEnum.AccountBudgetStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The name of the account-level budget. - optional string name = 25 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The proposed start time of the account-level budget in - // yyyy-MM-dd HH:mm:ss format. If a start time type of NOW was proposed, - // this is the time of request. - optional string proposed_start_date_time = 26 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The approved start time of the account-level budget in yyyy-MM-dd HH:mm:ss - // format. - // - // For example, if a new budget is approved after the proposed start time, - // the approved start time is the time of approval. - optional string approved_start_date_time = 27 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The total adjustments amount. - // - // An example of an adjustment is courtesy credits. - int64 total_adjustments_micros = 33 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The value of Ads that have been served, in micros. - // - // This includes overdelivery costs, in which case a credit might be - // automatically applied to the budget (see total_adjustments_micros). - int64 amount_served_micros = 34 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. A purchase order number is a value that helps users reference this budget - // in their monthly invoices. - optional string purchase_order_number = 35 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Notes associated with the budget. - optional string notes = 36 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The pending proposal to modify this budget, if applicable. - PendingAccountBudgetProposal pending_proposal = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The proposed end time of the account-level budget. - oneof proposed_end_time { - // Output only. The proposed end time in yyyy-MM-dd HH:mm:ss format. - string proposed_end_date_time = 28 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The proposed end time as a well-defined type, for example, FOREVER. - google.ads.googleads.v11.enums.TimeTypeEnum.TimeType proposed_end_time_type = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The approved end time of the account-level budget. - // - // For example, if a budget's end time is updated and the proposal is approved - // after the proposed end time, the approved end time is the time of approval. - oneof approved_end_time { - // Output only. The approved end time in yyyy-MM-dd HH:mm:ss format. - string approved_end_date_time = 29 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The approved end time as a well-defined type, for example, FOREVER. - google.ads.googleads.v11.enums.TimeTypeEnum.TimeType approved_end_time_type = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The proposed spending limit. - oneof proposed_spending_limit { - // Output only. The proposed spending limit in micros. One million is equivalent to - // one unit. - int64 proposed_spending_limit_micros = 30 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The proposed spending limit as a well-defined type, for example, - // INFINITE. - google.ads.googleads.v11.enums.SpendingLimitTypeEnum.SpendingLimitType proposed_spending_limit_type = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The approved spending limit. - // - // For example, if the amount already spent by the account exceeds the - // proposed spending limit at the time the proposal is approved, the approved - // spending limit is set to the amount already spent. - oneof approved_spending_limit { - // Output only. The approved spending limit in micros. One million is equivalent to - // one unit. This will only be populated if the proposed spending limit - // is finite, and will always be greater than or equal to the - // proposed spending limit. - int64 approved_spending_limit_micros = 31 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The approved spending limit as a well-defined type, for example, - // INFINITE. This will only be populated if the approved spending limit is - // INFINITE. - google.ads.googleads.v11.enums.SpendingLimitTypeEnum.SpendingLimitType approved_spending_limit_type = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The spending limit after adjustments have been applied. Adjustments are - // stored in total_adjustments_micros. - // - // This value has the final say on how much the account is allowed to spend. - oneof adjusted_spending_limit { - // Output only. The adjusted spending limit in micros. One million is equivalent to - // one unit. - // - // If the approved spending limit is finite, the adjusted - // spending limit may vary depending on the types of adjustments applied - // to this budget, if applicable. - // - // The different kinds of adjustments are described here: - // https://support.google.com/google-ads/answer/1704323 - // - // For example, a debit adjustment reduces how much the account is - // allowed to spend. - int64 adjusted_spending_limit_micros = 32 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The adjusted spending limit as a well-defined type, for example, - // INFINITE. This will only be populated if the adjusted spending limit is - // INFINITE, which is guaranteed to be true if the approved spending limit - // is INFINITE. - google.ads.googleads.v11.enums.SpendingLimitTypeEnum.SpendingLimitType adjusted_spending_limit_type = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/account_budget_proposal.proto b/third_party/googleapis/google/ads/googleads/v11/resources/account_budget_proposal.proto deleted file mode 100644 index fa8b609ac..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/account_budget_proposal.proto +++ /dev/null @@ -1,161 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/account_budget_proposal_status.proto"; -import "google/ads/googleads/v11/enums/account_budget_proposal_type.proto"; -import "google/ads/googleads/v11/enums/spending_limit_type.proto"; -import "google/ads/googleads/v11/enums/time_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AccountBudgetProposalProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the AccountBudgetProposal resource. - -// An account-level budget proposal. -// -// All fields prefixed with 'proposed' may not necessarily be applied directly. -// For example, proposed spending limits may be adjusted before their -// application. This is true if the 'proposed' field has an 'approved' -// counterpart, for example, spending limits. -// -// Note that the proposal type (proposal_type) changes which fields are -// required and which must remain empty. -message AccountBudgetProposal { - option (google.api.resource) = { - type: "googleads.googleapis.com/AccountBudgetProposal" - pattern: "customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}" - }; - - // Immutable. The resource name of the proposal. - // AccountBudgetProposal resource names have the form: - // - // `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AccountBudgetProposal" - } - ]; - - // Output only. The ID of the proposal. - optional int64 id = 25 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The resource name of the billing setup associated with this proposal. - optional string billing_setup = 26 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/BillingSetup" - } - ]; - - // Immutable. The resource name of the account-level budget associated with this - // proposal. - optional string account_budget = 27 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AccountBudget" - } - ]; - - // Immutable. The type of this proposal, for example, END to end the budget associated - // with this proposal. - google.ads.googleads.v11.enums.AccountBudgetProposalTypeEnum.AccountBudgetProposalType proposal_type = 4 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The status of this proposal. - // When a new proposal is created, the status defaults to PENDING. - google.ads.googleads.v11.enums.AccountBudgetProposalStatusEnum.AccountBudgetProposalStatus status = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The name to assign to the account-level budget. - optional string proposed_name = 28 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The approved start date time in yyyy-mm-dd hh:mm:ss format. - optional string approved_start_date_time = 30 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. A purchase order number is a value that enables the user to help them - // reference this budget in their monthly invoices. - optional string proposed_purchase_order_number = 35 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Notes associated with this budget. - optional string proposed_notes = 36 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The date time when this account-level budget proposal was created, which is - // not the same as its approval date time, if applicable. - optional string creation_date_time = 37 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The date time when this account-level budget was approved, if applicable. - optional string approval_date_time = 38 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The proposed start date time of the account-level budget, which cannot be - // in the past. - oneof proposed_start_time { - // Immutable. The proposed start date time in yyyy-mm-dd hh:mm:ss format. - string proposed_start_date_time = 29 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The proposed start date time as a well-defined type, for example, NOW. - google.ads.googleads.v11.enums.TimeTypeEnum.TimeType proposed_start_time_type = 7 [(google.api.field_behavior) = IMMUTABLE]; - } - - // The proposed end date time of the account-level budget, which cannot be in - // the past. - oneof proposed_end_time { - // Immutable. The proposed end date time in yyyy-mm-dd hh:mm:ss format. - string proposed_end_date_time = 31 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The proposed end date time as a well-defined type, for example, FOREVER. - google.ads.googleads.v11.enums.TimeTypeEnum.TimeType proposed_end_time_type = 9 [(google.api.field_behavior) = IMMUTABLE]; - } - - // The approved end date time of the account-level budget. - oneof approved_end_time { - // Output only. The approved end date time in yyyy-mm-dd hh:mm:ss format. - string approved_end_date_time = 32 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The approved end date time as a well-defined type, for example, FOREVER. - google.ads.googleads.v11.enums.TimeTypeEnum.TimeType approved_end_time_type = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The proposed spending limit. - oneof proposed_spending_limit { - // Immutable. The proposed spending limit in micros. One million is equivalent to - // one unit. - int64 proposed_spending_limit_micros = 33 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The proposed spending limit as a well-defined type, for example, - // INFINITE. - google.ads.googleads.v11.enums.SpendingLimitTypeEnum.SpendingLimitType proposed_spending_limit_type = 11 [(google.api.field_behavior) = IMMUTABLE]; - } - - // The approved spending limit. - oneof approved_spending_limit { - // Output only. The approved spending limit in micros. One million is equivalent to - // one unit. - int64 approved_spending_limit_micros = 34 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The approved spending limit as a well-defined type, for example, - // INFINITE. - google.ads.googleads.v11.enums.SpendingLimitTypeEnum.SpendingLimitType approved_spending_limit_type = 24 [(google.api.field_behavior) = OUTPUT_ONLY]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/account_link.proto b/third_party/googleapis/google/ads/googleads/v11/resources/account_link.proto deleted file mode 100644 index 6bc1690d7..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/account_link.proto +++ /dev/null @@ -1,133 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/account_link_status.proto"; -import "google/ads/googleads/v11/enums/linked_account_type.proto"; -import "google/ads/googleads/v11/enums/mobile_app_vendor.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AccountLinkProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Represents the data sharing connection between a Google Ads account and -// another account -message AccountLink { - option (google.api.resource) = { - type: "googleads.googleapis.com/AccountLink" - pattern: "customers/{customer_id}/accountLinks/{account_link_id}" - }; - - // Immutable. Resource name of the account link. - // AccountLink resource names have the form: - // `customers/{customer_id}/accountLinks/{account_link_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AccountLink" - } - ]; - - // Output only. The ID of the link. - // This field is read only. - optional int64 account_link_id = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The status of the link. - google.ads.googleads.v11.enums.AccountLinkStatusEnum.AccountLinkStatus status = 3; - - // Output only. The type of the linked account. - google.ads.googleads.v11.enums.LinkedAccountTypeEnum.LinkedAccountType type = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // An account linked to this Google Ads account. - oneof linked_account { - // Immutable. A third party app analytics link. - ThirdPartyAppAnalyticsLinkIdentifier third_party_app_analytics = 5 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. Data partner link. - DataPartnerLinkIdentifier data_partner = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Google Ads link. - GoogleAdsLinkIdentifier google_ads = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Hotel link - HotelCenterLinkIdentifier hotel_center = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - } -} - -// The identifiers of a Third Party App Analytics Link. -message ThirdPartyAppAnalyticsLinkIdentifier { - // Immutable. The ID of the app analytics provider. - // This field should not be empty when creating a new third - // party app analytics link. It is unable to be modified after the creation of - // the link. - optional int64 app_analytics_provider_id = 4 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. A string that uniquely identifies a mobile application from which the data - // was collected to the Google Ads API. For iOS, the ID string is the 9 digit - // string that appears at the end of an App Store URL (for example, - // "422689480" for "Gmail" whose App Store link is - // https://apps.apple.com/us/app/gmail-email-by-google/id422689480). For - // Android, the ID string is the application's package name (for example, - // "com.google.android.gm" for "Gmail" given Google Play link - // https://play.google.com/store/apps/details?id=com.google.android.gm) - // This field should not be empty when creating a new third - // party app analytics link. It is unable to be modified after the creation of - // the link. - optional string app_id = 5 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The vendor of the app. - // This field should not be empty when creating a new third - // party app analytics link. It is unable to be modified after the creation of - // the link. - google.ads.googleads.v11.enums.MobileAppVendorEnum.MobileAppVendor app_vendor = 3 [(google.api.field_behavior) = IMMUTABLE]; -} - -// The identifier for Data Partner account. -message DataPartnerLinkIdentifier { - // Immutable. The customer ID of the Data partner account. - // This field is required and should not be empty when creating a new - // data partner link. It is unable to be modified after the creation of - // the link. - optional int64 data_partner_id = 1 [(google.api.field_behavior) = IMMUTABLE]; -} - -// The identifier for Hotel account. -message HotelCenterLinkIdentifier { - // Output only. The hotel center id of the hotel account. - int64 hotel_center_id = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; -} - -// The identifier for Google Ads account. -message GoogleAdsLinkIdentifier { - // Immutable. The resource name of the Google Ads account. - // This field is required and should not be empty when creating a new - // Google Ads link. It is unable to be modified after the creation of - // the link. - optional string customer = 3 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Customer" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/ad.proto b/third_party/googleapis/google/ads/googleads/v11/resources/ad.proto deleted file mode 100644 index 871da04d9..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/ad.proto +++ /dev/null @@ -1,196 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/ad_type_infos.proto"; -import "google/ads/googleads/v11/common/custom_parameter.proto"; -import "google/ads/googleads/v11/common/final_app_url.proto"; -import "google/ads/googleads/v11/common/url_collection.proto"; -import "google/ads/googleads/v11/enums/ad_type.proto"; -import "google/ads/googleads/v11/enums/device.proto"; -import "google/ads/googleads/v11/enums/system_managed_entity_source.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the ad type. - -// An ad. -message Ad { - option (google.api.resource) = { - type: "googleads.googleapis.com/Ad" - pattern: "customers/{customer_id}/ads/{ad_id}" - }; - - // Immutable. The resource name of the ad. - // Ad resource names have the form: - // - // `customers/{customer_id}/ads/{ad_id}` - string resource_name = 37 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Ad" - } - ]; - - // Output only. The ID of the ad. - optional int64 id = 40 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The list of possible final URLs after all cross-domain redirects for the - // ad. - repeated string final_urls = 41; - - // A list of final app URLs that will be used on mobile if the user has the - // specific app installed. - repeated google.ads.googleads.v11.common.FinalAppUrl final_app_urls = 35; - - // The list of possible final mobile URLs after all cross-domain redirects - // for the ad. - repeated string final_mobile_urls = 42; - - // The URL template for constructing a tracking URL. - optional string tracking_url_template = 43; - - // The suffix to use when constructing a final URL. - optional string final_url_suffix = 44; - - // The list of mappings that can be used to substitute custom parameter tags - // in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`. - // For mutates, use url custom parameter operations. - repeated google.ads.googleads.v11.common.CustomParameter url_custom_parameters = 10; - - // The URL that appears in the ad description for some ad formats. - optional string display_url = 45; - - // Output only. The type of ad. - google.ads.googleads.v11.enums.AdTypeEnum.AdType type = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Indicates if this ad was automatically added by Google Ads and not by a - // user. For example, this could happen when ads are automatically created as - // suggestions for new ads based on knowledge of how existing ads are - // performing. - optional bool added_by_google_ads = 46 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The device preference for the ad. You can only specify a preference for - // mobile devices. When this preference is set the ad will be preferred over - // other ads when being displayed on a mobile device. The ad can still be - // displayed on other device types, for example, if no other ads are - // available. If unspecified (no device preference), all devices are targeted. - // This is only supported by some ad types. - google.ads.googleads.v11.enums.DeviceEnum.Device device_preference = 20; - - // Additional URLs for the ad that are tagged with a unique identifier that - // can be referenced from other fields in the ad. - repeated google.ads.googleads.v11.common.UrlCollection url_collections = 26; - - // Immutable. The name of the ad. This is only used to be able to identify the ad. It - // does not need to be unique and does not affect the served ad. The name - // field is currently only supported for DisplayUploadAd, ImageAd, - // ShoppingComparisonListingAd and VideoAd. - optional string name = 47 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. If this ad is system managed, then this field will indicate the source. - // This field is read-only. - google.ads.googleads.v11.enums.SystemManagedResourceSourceEnum.SystemManagedResourceSource system_managed_resource_source = 27 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Details pertinent to the ad type. Exactly one value must be set. - oneof ad_data { - // Immutable. Details pertaining to a text ad. - google.ads.googleads.v11.common.TextAdInfo text_ad = 6 [(google.api.field_behavior) = IMMUTABLE]; - - // Details pertaining to an expanded text ad. - google.ads.googleads.v11.common.ExpandedTextAdInfo expanded_text_ad = 7; - - // Details pertaining to a call ad. - google.ads.googleads.v11.common.CallAdInfo call_ad = 49; - - // Immutable. Details pertaining to an Expanded Dynamic Search Ad. - // This type of ad has its headline, final URLs, and display URL - // auto-generated at serving time according to domain name specific - // information provided by `dynamic_search_ads_setting` linked at the - // campaign level. - google.ads.googleads.v11.common.ExpandedDynamicSearchAdInfo expanded_dynamic_search_ad = 14 [(google.api.field_behavior) = IMMUTABLE]; - - // Details pertaining to a hotel ad. - google.ads.googleads.v11.common.HotelAdInfo hotel_ad = 15; - - // Details pertaining to a Smart Shopping ad. - google.ads.googleads.v11.common.ShoppingSmartAdInfo shopping_smart_ad = 17; - - // Details pertaining to a Shopping product ad. - google.ads.googleads.v11.common.ShoppingProductAdInfo shopping_product_ad = 18; - - // Immutable. Details pertaining to a Gmail ad. - google.ads.googleads.v11.common.GmailAdInfo gmail_ad = 21 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Details pertaining to an Image ad. - google.ads.googleads.v11.common.ImageAdInfo image_ad = 22 [(google.api.field_behavior) = IMMUTABLE]; - - // Details pertaining to a Video ad. - google.ads.googleads.v11.common.VideoAdInfo video_ad = 24; - - // Details pertaining to a Video responsive ad. - google.ads.googleads.v11.common.VideoResponsiveAdInfo video_responsive_ad = 39; - - // Details pertaining to a responsive search ad. - google.ads.googleads.v11.common.ResponsiveSearchAdInfo responsive_search_ad = 25; - - // Details pertaining to a legacy responsive display ad. - google.ads.googleads.v11.common.LegacyResponsiveDisplayAdInfo legacy_responsive_display_ad = 28; - - // Details pertaining to an app ad. - google.ads.googleads.v11.common.AppAdInfo app_ad = 29; - - // Immutable. Details pertaining to a legacy app install ad. - google.ads.googleads.v11.common.LegacyAppInstallAdInfo legacy_app_install_ad = 30 [(google.api.field_behavior) = IMMUTABLE]; - - // Details pertaining to a responsive display ad. - google.ads.googleads.v11.common.ResponsiveDisplayAdInfo responsive_display_ad = 31; - - // Details pertaining to a local ad. - google.ads.googleads.v11.common.LocalAdInfo local_ad = 32; - - // Details pertaining to a display upload ad. - google.ads.googleads.v11.common.DisplayUploadAdInfo display_upload_ad = 33; - - // Details pertaining to an app engagement ad. - google.ads.googleads.v11.common.AppEngagementAdInfo app_engagement_ad = 34; - - // Details pertaining to a Shopping Comparison Listing ad. - google.ads.googleads.v11.common.ShoppingComparisonListingAdInfo shopping_comparison_listing_ad = 36; - - // Details pertaining to a Smart campaign ad. - google.ads.googleads.v11.common.SmartCampaignAdInfo smart_campaign_ad = 48; - - // Details pertaining to an app pre-registration ad. - google.ads.googleads.v11.common.AppPreRegistrationAdInfo app_pre_registration_ad = 50; - - // Details pertaining to a discovery multi asset ad. - google.ads.googleads.v11.common.DiscoveryMultiAssetAdInfo discovery_multi_asset_ad = 51; - - // Details pertaining to a discovery carousel ad. - google.ads.googleads.v11.common.DiscoveryCarouselAdInfo discovery_carousel_ad = 52; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/ad_group.proto b/third_party/googleapis/google/ads/googleads/v11/resources/ad_group.proto deleted file mode 100644 index a4c1c77ef..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/ad_group.proto +++ /dev/null @@ -1,201 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/custom_parameter.proto"; -import "google/ads/googleads/v11/common/explorer_auto_optimizer_setting.proto"; -import "google/ads/googleads/v11/common/targeting_setting.proto"; -import "google/ads/googleads/v11/enums/ad_group_ad_rotation_mode.proto"; -import "google/ads/googleads/v11/enums/ad_group_status.proto"; -import "google/ads/googleads/v11/enums/ad_group_type.proto"; -import "google/ads/googleads/v11/enums/asset_field_type.proto"; -import "google/ads/googleads/v11/enums/bidding_source.proto"; -import "google/ads/googleads/v11/enums/targeting_dimension.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the ad group resource. - -// An ad group. -message AdGroup { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroup" - pattern: "customers/{customer_id}/adGroups/{ad_group_id}" - }; - - // Settings for the audience targeting. - message AudienceSetting { - // Immutable. If true, this ad group uses an Audience resource for audience targeting. - // If false, this ad group may use audience segment criteria instead. - bool use_audience_grouped = 1 [(google.api.field_behavior) = IMMUTABLE]; - } - - // Immutable. The resource name of the ad group. - // Ad group resource names have the form: - // - // `customers/{customer_id}/adGroups/{ad_group_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Output only. The ID of the ad group. - optional int64 id = 34 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The name of the ad group. - // - // This field is required and should not be empty when creating new ad - // groups. - // - // It must contain fewer than 255 UTF-8 full-width characters. - // - // It must not contain any null (code point 0x0), NL line feed - // (code point 0xA) or carriage return (code point 0xD) characters. - optional string name = 35; - - // The status of the ad group. - google.ads.googleads.v11.enums.AdGroupStatusEnum.AdGroupStatus status = 5; - - // Immutable. The type of the ad group. - google.ads.googleads.v11.enums.AdGroupTypeEnum.AdGroupType type = 12 [(google.api.field_behavior) = IMMUTABLE]; - - // The ad rotation mode of the ad group. - google.ads.googleads.v11.enums.AdGroupAdRotationModeEnum.AdGroupAdRotationMode ad_rotation_mode = 22; - - // Output only. For draft or experiment ad groups, this field is the resource name of the - // base ad group from which this ad group was created. If a draft or - // experiment ad group does not have a base ad group, then this field is null. - // - // For base ad groups, this field equals the ad group resource name. - // - // This field is read-only. - optional string base_ad_group = 36 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // The URL template for constructing a tracking URL. - optional string tracking_url_template = 37; - - // The list of mappings used to substitute custom parameter tags in a - // `tracking_url_template`, `final_urls`, or `mobile_final_urls`. - repeated google.ads.googleads.v11.common.CustomParameter url_custom_parameters = 6; - - // Immutable. The campaign to which the ad group belongs. - optional string campaign = 38 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // The maximum CPC (cost-per-click) bid. - optional int64 cpc_bid_micros = 39; - - // Output only. Value will be same as that of the CPC (cost-per-click) bid value when the - // bidding strategy is one of manual cpc, enhanced cpc, page one promoted or - // target outrank share, otherwise the value will be null. - optional int64 effective_cpc_bid_micros = 57 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The maximum CPM (cost-per-thousand viewable impressions) bid. - optional int64 cpm_bid_micros = 40; - - // The target CPA (cost-per-acquisition). If the ad group's campaign - // bidding strategy is TargetCpa or MaximizeConversions (with its target_cpa - // field set), then this field overrides the target CPA specified in the - // campaign's bidding strategy. - // Otherwise, this value is ignored. - optional int64 target_cpa_micros = 41; - - // Output only. The CPV (cost-per-view) bid. - optional int64 cpv_bid_micros = 42 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Average amount in micros that the advertiser is willing to pay for every - // thousand times the ad is shown. - optional int64 target_cpm_micros = 43; - - // The target ROAS (return-on-ad-spend) override. If the ad group's campaign - // bidding strategy is TargetRoas or MaximizeConversionValue (with its - // target_roas field set), then this field overrides the target ROAS specified - // in the campaign's bidding strategy. - // Otherwise, this value is ignored. - optional double target_roas = 44; - - // The percent cpc bid amount, expressed as a fraction of the advertised price - // for some good or service. The valid range for the fraction is [0,1) and the - // value stored here is 1,000,000 * [fraction]. - optional int64 percent_cpc_bid_micros = 45; - - // Settings for the Display Campaign Optimizer, initially termed "Explorer". - google.ads.googleads.v11.common.ExplorerAutoOptimizerSetting explorer_auto_optimizer_setting = 21; - - // Allows advertisers to specify a targeting dimension on which to place - // absolute bids. This is only applicable for campaigns that target only the - // display network and not search. - google.ads.googleads.v11.enums.TargetingDimensionEnum.TargetingDimension display_custom_bid_dimension = 23; - - // URL template for appending params to Final URL. - optional string final_url_suffix = 46; - - // Setting for targeting related features. - google.ads.googleads.v11.common.TargetingSetting targeting_setting = 25; - - // Immutable. Setting for audience related features. - AudienceSetting audience_setting = 56 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The effective target CPA (cost-per-acquisition). - // This field is read-only. - optional int64 effective_target_cpa_micros = 47 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Source of the effective target CPA. - // This field is read-only. - google.ads.googleads.v11.enums.BiddingSourceEnum.BiddingSource effective_target_cpa_source = 29 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The effective target ROAS (return-on-ad-spend). - // This field is read-only. - optional double effective_target_roas = 48 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Source of the effective target ROAS. - // This field is read-only. - google.ads.googleads.v11.enums.BiddingSourceEnum.BiddingSource effective_target_roas_source = 32 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource names of labels attached to this ad group. - repeated string labels = 49 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupLabel" - } - ]; - - // The asset field types that should be excluded from this ad group. Asset - // links with these field types will not be inherited by this ad group from - // the upper levels. - repeated google.ads.googleads.v11.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 54; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_ad.proto b/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_ad.proto deleted file mode 100644 index 9b4165f68..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_ad.proto +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/policy.proto"; -import "google/ads/googleads/v11/enums/ad_group_ad_status.proto"; -import "google/ads/googleads/v11/enums/ad_strength.proto"; -import "google/ads/googleads/v11/enums/policy_approval_status.proto"; -import "google/ads/googleads/v11/enums/policy_review_status.proto"; -import "google/ads/googleads/v11/resources/ad.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAdProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the ad group ad resource. - -// An ad group ad. -message AdGroupAd { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupAd" - pattern: "customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}" - }; - - // Immutable. The resource name of the ad. - // Ad group ad resource names have the form: - // - // `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAd" - } - ]; - - // The status of the ad. - google.ads.googleads.v11.enums.AdGroupAdStatusEnum.AdGroupAdStatus status = 3; - - // Immutable. The ad group to which the ad belongs. - optional string ad_group = 9 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Immutable. The ad. - Ad ad = 5 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. Policy information for the ad. - AdGroupAdPolicySummary policy_summary = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Overall ad strength for this ad group ad. - google.ads.googleads.v11.enums.AdStrengthEnum.AdStrength ad_strength = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. A list of recommendations to improve the ad strength. For example, a - // recommendation could be "Your headlines are a little too similar. - // Try adding more distinct headlines.". - repeated string action_items = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource names of labels attached to this ad group ad. - repeated string labels = 10 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAdLabel" - } - ]; -} - -// Contains policy information for an ad. -message AdGroupAdPolicySummary { - // Output only. The list of policy findings for this ad. - repeated google.ads.googleads.v11.common.PolicyTopicEntry policy_topic_entries = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Where in the review process this ad is. - google.ads.googleads.v11.enums.PolicyReviewStatusEnum.PolicyReviewStatus review_status = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The overall approval status of this ad, calculated based on the status of - // its individual policy topic entries. - google.ads.googleads.v11.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_ad_asset_combination_view.proto b/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_ad_asset_combination_view.proto deleted file mode 100644 index 1b1dfa3fd..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_ad_asset_combination_view.proto +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/asset_usage.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAdAssetCombinationViewProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the asset combination view resource. - -// A view on the usage of ad group ad asset combination. -// Now we only support AdGroupAdAssetCombinationView for Responsive Search Ads, -// with more ad types planned for the future. -message AdGroupAdAssetCombinationView { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupAdAssetCombinationView" - pattern: "customers/{customer_id}/adGroupAdAssetCombinationViews/{ad_group_id}~{ad_id}~{asset_combination_id_low}~{asset_combination_id_high}" - }; - - // Output only. The resource name of the ad group ad asset combination view. The - // combination ID is 128 bits long, where the upper 64 bits are stored in - // asset_combination_id_high, and the lower 64 bits are stored in - // asset_combination_id_low. - // AdGroupAd Asset Combination view resource names have the form: - // `customers/{customer_id}/adGroupAdAssetCombinationViews/{AdGroupAd.ad_group_id}~{AdGroupAd.ad.ad_id}~{AssetCombination.asset_combination_id_low}~{AssetCombination.asset_combination_id_high}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAdAssetCombinationView" - } - ]; - - // Output only. Served assets. - repeated google.ads.googleads.v11.common.AssetUsage served_assets = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The status between the asset combination and the latest version of the ad. - // If true, the asset combination is linked to the latest version of the ad. - // If false, it means the link once existed but has been removed and is no - // longer present in the latest version of the ad. - optional bool enabled = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_ad_asset_view.proto b/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_ad_asset_view.proto deleted file mode 100644 index c6b005cb0..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_ad_asset_view.proto +++ /dev/null @@ -1,104 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/policy.proto"; -import "google/ads/googleads/v11/enums/asset_field_type.proto"; -import "google/ads/googleads/v11/enums/asset_performance_label.proto"; -import "google/ads/googleads/v11/enums/policy_approval_status.proto"; -import "google/ads/googleads/v11/enums/policy_review_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAdAssetViewProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the ad group ad asset view resource. - -// A link between an AdGroupAd and an Asset. -// Currently we only support AdGroupAdAssetView for AppAds. -message AdGroupAdAssetView { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupAdAssetView" - pattern: "customers/{customer_id}/adGroupAdAssetViews/{ad_group_id}~{ad_id}~{asset_id}~{field_type}" - }; - - // Output only. The resource name of the ad group ad asset view. - // Ad group ad asset view resource names have the form (Before V4): - // - // `customers/{customer_id}/adGroupAdAssets/{AdGroupAdAsset.ad_group_id}~{AdGroupAdAsset.ad.ad_id}~{AdGroupAdAsset.asset_id}~{AdGroupAdAsset.field_type}` - // - // Ad group ad asset view resource names have the form (Beginning from V4): - // - // `customers/{customer_id}/adGroupAdAssetViews/{AdGroupAdAsset.ad_group_id}~{AdGroupAdAsset.ad_id}~{AdGroupAdAsset.asset_id}~{AdGroupAdAsset.field_type}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAdAssetView" - } - ]; - - // Output only. The ad group ad to which the asset is linked. - optional string ad_group_ad = 9 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAd" - } - ]; - - // Output only. The asset which is linked to the ad group ad. - optional string asset = 10 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Asset" - } - ]; - - // Output only. Role that the asset takes in the ad. - google.ads.googleads.v11.enums.AssetFieldTypeEnum.AssetFieldType field_type = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The status between the asset and the latest version of the ad. If true, the - // asset is linked to the latest version of the ad. If false, it means the - // link once existed but has been removed and is no longer present in the - // latest version of the ad. - optional bool enabled = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Policy information for the ad group ad asset. - AdGroupAdAssetPolicySummary policy_summary = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Performance of an asset linkage. - google.ads.googleads.v11.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel performance_label = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; -} - -// Contains policy information for an ad group ad asset. -message AdGroupAdAssetPolicySummary { - // Output only. The list of policy findings for the ad group ad asset. - repeated google.ads.googleads.v11.common.PolicyTopicEntry policy_topic_entries = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Where in the review process this ad group ad asset is. - google.ads.googleads.v11.enums.PolicyReviewStatusEnum.PolicyReviewStatus review_status = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The overall approval status of this ad group ad asset, calculated based on - // the status of its individual policy topic entries. - google.ads.googleads.v11.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_ad_label.proto b/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_ad_label.proto deleted file mode 100644 index b2a91e585..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_ad_label.proto +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAdLabelProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the ad group ad label resource. - -// A relationship between an ad group ad and a label. -message AdGroupAdLabel { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupAdLabel" - pattern: "customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}" - }; - - // Immutable. The resource name of the ad group ad label. - // Ad group ad label resource names have the form: - // `customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAdLabel" - } - ]; - - // Immutable. The ad group ad to which the label is attached. - optional string ad_group_ad = 4 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAd" - } - ]; - - // Immutable. The label assigned to the ad group ad. - optional string label = 5 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Label" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_asset.proto b/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_asset.proto deleted file mode 100644 index 9d9b9c9a8..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_asset.proto +++ /dev/null @@ -1,83 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/asset_field_type.proto"; -import "google/ads/googleads/v11/enums/asset_link_status.proto"; -import "google/ads/googleads/v11/enums/asset_source.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAssetProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the AdGroupAsset resource. - -// A link between an ad group and an asset. -message AdGroupAsset { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupAsset" - pattern: "customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}" - }; - - // Immutable. The resource name of the ad group asset. - // AdGroupAsset resource names have the form: - // - // `customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAsset" - } - ]; - - // Required. Immutable. The ad group to which the asset is linked. - string ad_group = 2 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Required. Immutable. The asset which is linked to the ad group. - string asset = 3 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Asset" - } - ]; - - // Required. Immutable. Role that the asset takes under the linked ad group. - google.ads.googleads.v11.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE - ]; - - // Output only. Source of the adgroup asset link. - google.ads.googleads.v11.enums.AssetSourceEnum.AssetSource source = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Status of the ad group asset. - google.ads.googleads.v11.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_audience_view.proto b/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_audience_view.proto deleted file mode 100644 index 41d2fc0cb..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_audience_view.proto +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAudienceViewProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the ad group audience view resource. - -// An ad group audience view. -// Includes performance data from interests and remarketing lists for Display -// Network and YouTube Network ads, and remarketing lists for search ads (RLSA), -// aggregated at the audience level. -message AdGroupAudienceView { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupAudienceView" - pattern: "customers/{customer_id}/adGroupAudienceViews/{ad_group_id}~{criterion_id}" - }; - - // Output only. The resource name of the ad group audience view. - // Ad group audience view resource names have the form: - // - // `customers/{customer_id}/adGroupAudienceViews/{ad_group_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAudienceView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_bid_modifier.proto b/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_bid_modifier.proto deleted file mode 100644 index 2ce917d52..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_bid_modifier.proto +++ /dev/null @@ -1,111 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/criteria.proto"; -import "google/ads/googleads/v11/enums/bid_modifier_source.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupBidModifierProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the ad group bid modifier resource. - -// Represents an ad group bid modifier. -message AdGroupBidModifier { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupBidModifier" - pattern: "customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}" - }; - - // Immutable. The resource name of the ad group bid modifier. - // Ad group bid modifier resource names have the form: - // - // `customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupBidModifier" - } - ]; - - // Immutable. The ad group to which this criterion belongs. - optional string ad_group = 13 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Output only. The ID of the criterion to bid modify. - // - // This field is ignored for mutates. - optional int64 criterion_id = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The modifier for the bid when the criterion matches. The modifier must be - // in the range: 0.1 - 10.0. The range is 1.0 - 6.0 for PreferredContent. - // Use 0 to opt out of a Device type. - optional double bid_modifier = 15; - - // Output only. The base ad group from which this draft/trial adgroup bid modifier was - // created. If ad_group is a base ad group then this field will be equal to - // ad_group. If the ad group was created in the draft or trial and has no - // corresponding base ad group, then this field will be null. - // This field is readonly. - optional string base_ad_group = 16 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Output only. Bid modifier source. - google.ads.googleads.v11.enums.BidModifierSourceEnum.BidModifierSource bid_modifier_source = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The criterion of this ad group bid modifier. - // - // Required in create operations starting in V5. - oneof criterion { - // Immutable. Criterion for hotel date selection (default dates versus user selected). - google.ads.googleads.v11.common.HotelDateSelectionTypeInfo hotel_date_selection_type = 5 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Criterion for number of days prior to the stay the booking is being made. - google.ads.googleads.v11.common.HotelAdvanceBookingWindowInfo hotel_advance_booking_window = 6 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Criterion for length of hotel stay in nights. - google.ads.googleads.v11.common.HotelLengthOfStayInfo hotel_length_of_stay = 7 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Criterion for day of the week the booking is for. - google.ads.googleads.v11.common.HotelCheckInDayInfo hotel_check_in_day = 8 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. A device criterion. - google.ads.googleads.v11.common.DeviceInfo device = 11 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. A preferred content criterion. - google.ads.googleads.v11.common.PreferredContentInfo preferred_content = 12 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Criterion for a hotel check-in date range. - google.ads.googleads.v11.common.HotelCheckInDateRangeInfo hotel_check_in_date_range = 17 [(google.api.field_behavior) = IMMUTABLE]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_criterion.proto b/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_criterion.proto deleted file mode 100644 index 8f4c65ce2..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_criterion.proto +++ /dev/null @@ -1,293 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/criteria.proto"; -import "google/ads/googleads/v11/common/custom_parameter.proto"; -import "google/ads/googleads/v11/enums/ad_group_criterion_approval_status.proto"; -import "google/ads/googleads/v11/enums/ad_group_criterion_status.proto"; -import "google/ads/googleads/v11/enums/bidding_source.proto"; -import "google/ads/googleads/v11/enums/criterion_system_serving_status.proto"; -import "google/ads/googleads/v11/enums/criterion_type.proto"; -import "google/ads/googleads/v11/enums/quality_score_bucket.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the ad group criterion resource. - -// An ad group criterion. -message AdGroupCriterion { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupCriterion" - pattern: "customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}" - }; - - // A container for ad group criterion quality information. - message QualityInfo { - // Output only. The quality score. - // - // This field may not be populated if Google does not have enough - // information to determine a value. - optional int32 quality_score = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The performance of the ad compared to other advertisers. - google.ads.googleads.v11.enums.QualityScoreBucketEnum.QualityScoreBucket creative_quality_score = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The quality score of the landing page. - google.ads.googleads.v11.enums.QualityScoreBucketEnum.QualityScoreBucket post_click_quality_score = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The click-through rate compared to that of other advertisers. - google.ads.googleads.v11.enums.QualityScoreBucketEnum.QualityScoreBucket search_predicted_ctr = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Estimates for criterion bids at various positions. - message PositionEstimates { - // Output only. The estimate of the CPC bid required for ad to be shown on first - // page of search results. - optional int64 first_page_cpc_micros = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The estimate of the CPC bid required for ad to be displayed in first - // position, at the top of the first page of search results. - optional int64 first_position_cpc_micros = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The estimate of the CPC bid required for ad to be displayed at the top - // of the first page of search results. - optional int64 top_of_page_cpc_micros = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Estimate of how many clicks per week you might get by changing your - // keyword bid to the value in first_position_cpc_micros. - optional int64 estimated_add_clicks_at_first_position_cpc = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Estimate of how your cost per week might change when changing your - // keyword bid to the value in first_position_cpc_micros. - optional int64 estimated_add_cost_at_first_position_cpc = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Immutable. The resource name of the ad group criterion. - // Ad group criterion resource names have the form: - // - // `customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterion" - } - ]; - - // Output only. The ID of the criterion. - // - // This field is ignored for mutates. - optional int64 criterion_id = 56 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The display name of the criterion. - // - // This field is ignored for mutates. - string display_name = 77 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The status of the criterion. - // - // This is the status of the ad group criterion entity, set by the client. - // Note: UI reports may incorporate additional information that affects - // whether a criterion is eligible to run. In some cases a criterion that's - // REMOVED in the API can still show as enabled in the UI. - // For example, campaigns by default show to users of all age ranges unless - // excluded. The UI will show each age range as "enabled", since they're - // eligible to see the ads; but AdGroupCriterion.status will show "removed", - // since no positive criterion was added. - google.ads.googleads.v11.enums.AdGroupCriterionStatusEnum.AdGroupCriterionStatus status = 3; - - // Output only. Information regarding the quality of the criterion. - QualityInfo quality_info = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The ad group to which the criterion belongs. - optional string ad_group = 57 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Output only. The type of the criterion. - google.ads.googleads.v11.enums.CriterionTypeEnum.CriterionType type = 25 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. Whether to target (`false`) or exclude (`true`) the criterion. - // - // This field is immutable. To switch a criterion from positive to negative, - // remove then re-add it. - optional bool negative = 58 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. Serving status of the criterion. - google.ads.googleads.v11.enums.CriterionSystemServingStatusEnum.CriterionSystemServingStatus system_serving_status = 52 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Approval status of the criterion. - google.ads.googleads.v11.enums.AdGroupCriterionApprovalStatusEnum.AdGroupCriterionApprovalStatus approval_status = 53 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. List of disapproval reasons of the criterion. - // - // The different reasons for disapproving a criterion can be found here: - // https://support.google.com/adspolicy/answer/6008942 - // - // This field is read-only. - repeated string disapproval_reasons = 59 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource names of labels attached to this ad group criterion. - repeated string labels = 60 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterionLabel" - } - ]; - - // The modifier for the bid when the criterion matches. The modifier must be - // in the range: 0.1 - 10.0. Most targetable criteria types support modifiers. - optional double bid_modifier = 61; - - // The CPC (cost-per-click) bid. - optional int64 cpc_bid_micros = 62; - - // The CPM (cost-per-thousand viewable impressions) bid. - optional int64 cpm_bid_micros = 63; - - // The CPV (cost-per-view) bid. - optional int64 cpv_bid_micros = 64; - - // The CPC bid amount, expressed as a fraction of the advertised price - // for some good or service. The valid range for the fraction is [0,1) and the - // value stored here is 1,000,000 * [fraction]. - optional int64 percent_cpc_bid_micros = 65; - - // Output only. The effective CPC (cost-per-click) bid. - optional int64 effective_cpc_bid_micros = 66 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The effective CPM (cost-per-thousand viewable impressions) bid. - optional int64 effective_cpm_bid_micros = 67 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The effective CPV (cost-per-view) bid. - optional int64 effective_cpv_bid_micros = 68 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The effective Percent CPC bid amount. - optional int64 effective_percent_cpc_bid_micros = 69 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Source of the effective CPC bid. - google.ads.googleads.v11.enums.BiddingSourceEnum.BiddingSource effective_cpc_bid_source = 21 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Source of the effective CPM bid. - google.ads.googleads.v11.enums.BiddingSourceEnum.BiddingSource effective_cpm_bid_source = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Source of the effective CPV bid. - google.ads.googleads.v11.enums.BiddingSourceEnum.BiddingSource effective_cpv_bid_source = 23 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Source of the effective Percent CPC bid. - google.ads.googleads.v11.enums.BiddingSourceEnum.BiddingSource effective_percent_cpc_bid_source = 35 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Estimates for criterion bids at various positions. - PositionEstimates position_estimates = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The list of possible final URLs after all cross-domain redirects for the - // ad. - repeated string final_urls = 70; - - // The list of possible final mobile URLs after all cross-domain redirects. - repeated string final_mobile_urls = 71; - - // URL template for appending params to final URL. - optional string final_url_suffix = 72; - - // The URL template for constructing a tracking URL. - optional string tracking_url_template = 73; - - // The list of mappings used to substitute custom parameter tags in a - // `tracking_url_template`, `final_urls`, or `mobile_final_urls`. - repeated google.ads.googleads.v11.common.CustomParameter url_custom_parameters = 14; - - // The ad group criterion. - // - // Exactly one must be set. - oneof criterion { - // Immutable. Keyword. - google.ads.googleads.v11.common.KeywordInfo keyword = 27 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Placement. - google.ads.googleads.v11.common.PlacementInfo placement = 28 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Mobile app category. - google.ads.googleads.v11.common.MobileAppCategoryInfo mobile_app_category = 29 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Mobile application. - google.ads.googleads.v11.common.MobileApplicationInfo mobile_application = 30 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Listing group. - google.ads.googleads.v11.common.ListingGroupInfo listing_group = 32 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Age range. - google.ads.googleads.v11.common.AgeRangeInfo age_range = 36 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Gender. - google.ads.googleads.v11.common.GenderInfo gender = 37 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Income range. - google.ads.googleads.v11.common.IncomeRangeInfo income_range = 38 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Parental status. - google.ads.googleads.v11.common.ParentalStatusInfo parental_status = 39 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. User List. - google.ads.googleads.v11.common.UserListInfo user_list = 42 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. YouTube Video. - google.ads.googleads.v11.common.YouTubeVideoInfo youtube_video = 40 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. YouTube Channel. - google.ads.googleads.v11.common.YouTubeChannelInfo youtube_channel = 41 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Topic. - google.ads.googleads.v11.common.TopicInfo topic = 43 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. User Interest. - google.ads.googleads.v11.common.UserInterestInfo user_interest = 45 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Webpage - google.ads.googleads.v11.common.WebpageInfo webpage = 46 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. App Payment Model. - google.ads.googleads.v11.common.AppPaymentModelInfo app_payment_model = 47 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Custom Affinity. - google.ads.googleads.v11.common.CustomAffinityInfo custom_affinity = 48 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Custom Intent. - google.ads.googleads.v11.common.CustomIntentInfo custom_intent = 49 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Custom Audience. - google.ads.googleads.v11.common.CustomAudienceInfo custom_audience = 74 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Combined Audience. - google.ads.googleads.v11.common.CombinedAudienceInfo combined_audience = 75 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Audience. - google.ads.googleads.v11.common.AudienceInfo audience = 79 [(google.api.field_behavior) = IMMUTABLE]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_criterion_customizer.proto b/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_criterion_customizer.proto deleted file mode 100644 index 40957cd31..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_criterion_customizer.proto +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/customizer_value.proto"; -import "google/ads/googleads/v11/enums/customizer_value_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionCustomizerProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// A customizer value for the associated CustomizerAttribute at the -// AdGroupCriterion level. -message AdGroupCriterionCustomizer { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupCriterionCustomizer" - pattern: "customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~{customizer_attribute_id}" - }; - - // Immutable. The resource name of the ad group criterion customizer. - // Ad group criterion customizer resource names have the form: - // - // `customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~{customizer_attribute_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterionCustomizer" - } - ]; - - // Immutable. The ad group criterion to which the customizer attribute is linked. - // It must be a keyword criterion. - optional string ad_group_criterion = 2 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterion" - } - ]; - - // Required. Immutable. The customizer attribute which is linked to the ad group criterion. - string customizer_attribute = 3 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomizerAttribute" - } - ]; - - // Output only. The status of the ad group criterion customizer. - google.ads.googleads.v11.enums.CustomizerValueStatusEnum.CustomizerValueStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Required. The value to associate with the customizer attribute at this level. The - // value must be of the type specified for the CustomizerAttribute. - google.ads.googleads.v11.common.CustomizerValue value = 5 [(google.api.field_behavior) = REQUIRED]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_criterion_label.proto b/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_criterion_label.proto deleted file mode 100644 index 823df85e2..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_criterion_label.proto +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionLabelProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the ad group criterion label resource. - -// A relationship between an ad group criterion and a label. -message AdGroupCriterionLabel { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupCriterionLabel" - pattern: "customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}" - }; - - // Immutable. The resource name of the ad group criterion label. - // Ad group criterion label resource names have the form: - // `customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterionLabel" - } - ]; - - // Immutable. The ad group criterion to which the label is attached. - optional string ad_group_criterion = 4 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterion" - } - ]; - - // Immutable. The label assigned to the ad group criterion. - optional string label = 5 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Label" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_criterion_simulation.proto b/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_criterion_simulation.proto deleted file mode 100644 index 420374a28..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_criterion_simulation.proto +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/simulation.proto"; -import "google/ads/googleads/v11/enums/simulation_modification_method.proto"; -import "google/ads/googleads/v11/enums/simulation_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionSimulationProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the ad group criterion simulation resource. - -// An ad group criterion simulation. Supported combinations of advertising -// channel type, criterion type, simulation type, and simulation modification -// method are detailed below respectively. Hotel AdGroupCriterion simulation -// operations starting in V5. -// -// 1. DISPLAY - KEYWORD - CPC_BID - UNIFORM -// 2. SEARCH - KEYWORD - CPC_BID - UNIFORM -// 3. SHOPPING - LISTING_GROUP - CPC_BID - UNIFORM -// 4. HOTEL - LISTING_GROUP - CPC_BID - UNIFORM -// 5. HOTEL - LISTING_GROUP - PERCENT_CPC_BID - UNIFORM -message AdGroupCriterionSimulation { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupCriterionSimulation" - pattern: "customers/{customer_id}/adGroupCriterionSimulations/{ad_group_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}" - }; - - // Output only. The resource name of the ad group criterion simulation. - // Ad group criterion simulation resource names have the form: - // - // `customers/{customer_id}/adGroupCriterionSimulations/{ad_group_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterionSimulation" - } - ]; - - // Output only. AdGroup ID of the simulation. - optional int64 ad_group_id = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Criterion ID of the simulation. - optional int64 criterion_id = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The field that the simulation modifies. - google.ads.googleads.v11.enums.SimulationTypeEnum.SimulationType type = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. How the simulation modifies the field. - google.ads.googleads.v11.enums.SimulationModificationMethodEnum.SimulationModificationMethod modification_method = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. First day on which the simulation is based, in YYYY-MM-DD format. - optional string start_date = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Last day on which the simulation is based, in YYYY-MM-DD format. - optional string end_date = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // List of simulation points. - oneof point_list { - // Output only. Simulation points if the simulation type is CPC_BID. - google.ads.googleads.v11.common.CpcBidSimulationPointList cpc_bid_point_list = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Simulation points if the simulation type is PERCENT_CPC_BID. - google.ads.googleads.v11.common.PercentCpcBidSimulationPointList percent_cpc_bid_point_list = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_customizer.proto b/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_customizer.proto deleted file mode 100644 index bfee1b711..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_customizer.proto +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/customizer_value.proto"; -import "google/ads/googleads/v11/enums/customizer_value_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCustomizerProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// A customizer value for the associated CustomizerAttribute at the AdGroup -// level. -message AdGroupCustomizer { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupCustomizer" - pattern: "customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id}" - }; - - // Immutable. The resource name of the ad group customizer. - // Ad group customizer resource names have the form: - // - // `customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCustomizer" - } - ]; - - // Immutable. The ad group to which the customizer attribute is linked. - string ad_group = 2 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Required. Immutable. The customizer attribute which is linked to the ad group. - string customizer_attribute = 3 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomizerAttribute" - } - ]; - - // Output only. The status of the ad group customizer. - google.ads.googleads.v11.enums.CustomizerValueStatusEnum.CustomizerValueStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Required. The value to associate with the customizer attribute at this level. The - // value must be of the type specified for the CustomizerAttribute. - google.ads.googleads.v11.common.CustomizerValue value = 5 [(google.api.field_behavior) = REQUIRED]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_extension_setting.proto b/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_extension_setting.proto deleted file mode 100644 index fab818f8a..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_extension_setting.proto +++ /dev/null @@ -1,78 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/extension_setting_device.proto"; -import "google/ads/googleads/v11/enums/extension_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupExtensionSettingProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the AdGroupExtensionSetting resource. - -// An ad group extension setting. -message AdGroupExtensionSetting { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupExtensionSetting" - pattern: "customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type}" - }; - - // Immutable. The resource name of the ad group extension setting. - // AdGroupExtensionSetting resource names have the form: - // - // `customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupExtensionSetting" - } - ]; - - // Immutable. The extension type of the ad group extension setting. - google.ads.googleads.v11.enums.ExtensionTypeEnum.ExtensionType extension_type = 2 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The resource name of the ad group. The linked extension feed items will - // serve under this ad group. - // AdGroup resource names have the form: - // - // `customers/{customer_id}/adGroups/{ad_group_id}` - optional string ad_group = 6 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // The resource names of the extension feed items to serve under the ad group. - // ExtensionFeedItem resource names have the form: - // - // `customers/{customer_id}/extensionFeedItems/{feed_item_id}` - repeated string extension_feed_items = 7 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ExtensionFeedItem" - }]; - - // The device for which the extensions will serve. Optional. - google.ads.googleads.v11.enums.ExtensionSettingDeviceEnum.ExtensionSettingDevice device = 5; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_feed.proto b/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_feed.proto deleted file mode 100644 index ece56cb2f..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_feed.proto +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/matching_function.proto"; -import "google/ads/googleads/v11/enums/feed_link_status.proto"; -import "google/ads/googleads/v11/enums/placeholder_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupFeedProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the AdGroupFeed resource. - -// An ad group feed. -message AdGroupFeed { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupFeed" - pattern: "customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id}" - }; - - // Immutable. The resource name of the ad group feed. - // Ad group feed resource names have the form: - // - // `customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id} - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupFeed" - } - ]; - - // Immutable. The feed being linked to the ad group. - optional string feed = 7 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Feed" - } - ]; - - // Immutable. The ad group being linked to the feed. - optional string ad_group = 8 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Indicates which placeholder types the feed may populate under the connected - // ad group. Required. - repeated google.ads.googleads.v11.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 4; - - // Matching function associated with the AdGroupFeed. - // The matching function is used to filter the set of feed items selected. - // Required. - google.ads.googleads.v11.common.MatchingFunction matching_function = 5; - - // Output only. Status of the ad group feed. - // This field is read-only. - google.ads.googleads.v11.enums.FeedLinkStatusEnum.FeedLinkStatus status = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_label.proto b/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_label.proto deleted file mode 100644 index d3929fe14..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_label.proto +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupLabelProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the ad group label resource. - -// A relationship between an ad group and a label. -message AdGroupLabel { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupLabel" - pattern: "customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}" - }; - - // Immutable. The resource name of the ad group label. - // Ad group label resource names have the form: - // `customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupLabel" - } - ]; - - // Immutable. The ad group to which the label is attached. - optional string ad_group = 4 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Immutable. The label assigned to the ad group. - optional string label = 5 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Label" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_simulation.proto b/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_simulation.proto deleted file mode 100644 index 8642d9fff..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/ad_group_simulation.proto +++ /dev/null @@ -1,93 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/simulation.proto"; -import "google/ads/googleads/v11/enums/simulation_modification_method.proto"; -import "google/ads/googleads/v11/enums/simulation_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupSimulationProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the ad group simulation resource. - -// An ad group simulation. Supported combinations of advertising -// channel type, simulation type and simulation modification method is -// detailed below respectively. -// -// 1. SEARCH - CPC_BID - DEFAULT -// 2. SEARCH - CPC_BID - UNIFORM -// 3. SEARCH - TARGET_CPA - UNIFORM -// 4. SEARCH - TARGET_ROAS - UNIFORM -// 5. DISPLAY - CPC_BID - DEFAULT -// 6. DISPLAY - CPC_BID - UNIFORM -// 7. DISPLAY - TARGET_CPA - UNIFORM -message AdGroupSimulation { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupSimulation" - pattern: "customers/{customer_id}/adGroupSimulations/{ad_group_id}~{type}~{modification_method}~{start_date}~{end_date}" - }; - - // Output only. The resource name of the ad group simulation. - // Ad group simulation resource names have the form: - // - // `customers/{customer_id}/adGroupSimulations/{ad_group_id}~{type}~{modification_method}~{start_date}~{end_date}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupSimulation" - } - ]; - - // Output only. Ad group id of the simulation. - optional int64 ad_group_id = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The field that the simulation modifies. - google.ads.googleads.v11.enums.SimulationTypeEnum.SimulationType type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. How the simulation modifies the field. - google.ads.googleads.v11.enums.SimulationModificationMethodEnum.SimulationModificationMethod modification_method = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. First day on which the simulation is based, in YYYY-MM-DD format. - optional string start_date = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Last day on which the simulation is based, in YYYY-MM-DD format - optional string end_date = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // List of simulation points. - oneof point_list { - // Output only. Simulation points if the simulation type is CPC_BID. - google.ads.googleads.v11.common.CpcBidSimulationPointList cpc_bid_point_list = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Simulation points if the simulation type is CPV_BID. - google.ads.googleads.v11.common.CpvBidSimulationPointList cpv_bid_point_list = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Simulation points if the simulation type is TARGET_CPA. - google.ads.googleads.v11.common.TargetCpaSimulationPointList target_cpa_point_list = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Simulation points if the simulation type is TARGET_ROAS. - google.ads.googleads.v11.common.TargetRoasSimulationPointList target_roas_point_list = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/ad_parameter.proto b/third_party/googleapis/google/ads/googleads/v11/resources/ad_parameter.proto deleted file mode 100644 index 09c520060..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/ad_parameter.proto +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdParameterProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the ad parameter resource. - -// An ad parameter that is used to update numeric values (such as prices or -// inventory levels) in any text line of an ad (including URLs). There can -// be a maximum of two AdParameters per ad group criterion. (One with -// parameter_index = 1 and one with parameter_index = 2.) -// In the ad the parameters are referenced by a placeholder of the form -// "{param#:value}". For example, "{param1:$17}" -message AdParameter { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdParameter" - pattern: "customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}" - }; - - // Immutable. The resource name of the ad parameter. - // Ad parameter resource names have the form: - // - // `customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdParameter" - } - ]; - - // Immutable. The ad group criterion that this ad parameter belongs to. - optional string ad_group_criterion = 5 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterion" - } - ]; - - // Immutable. The unique index of this ad parameter. Must be either 1 or 2. - optional int64 parameter_index = 6 [(google.api.field_behavior) = IMMUTABLE]; - - // Numeric value to insert into the ad text. The following restrictions - // apply: - // - Can use comma or period as a separator, with an optional period or - // comma (respectively) for fractional values. For example, 1,000,000.00 - // and 2.000.000,10 are valid. - // - Can be prepended or appended with a currency symbol. For example, - // $99.99 is valid. - // - Can be prepended or appended with a currency code. For example, 99.99USD - // and EUR200 are valid. - // - Can use '%'. For example, 1.0% and 1,0% are valid. - // - Can use plus or minus. For example, -10.99 and 25+ are valid. - // - Can use '/' between two numbers. For example 4/1 and 0.95/0.45 are - // valid. - optional string insertion_text = 7; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/ad_schedule_view.proto b/third_party/googleapis/google/ads/googleads/v11/resources/ad_schedule_view.proto deleted file mode 100644 index 78844cae6..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/ad_schedule_view.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdScheduleViewProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the ad schedule view resource. - -// An ad schedule view summarizes the performance of campaigns by -// AdSchedule criteria. -message AdScheduleView { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdScheduleView" - pattern: "customers/{customer_id}/adScheduleViews/{campaign_id}~{criterion_id}" - }; - - // Output only. The resource name of the ad schedule view. - // AdSchedule view resource names have the form: - // - // `customers/{customer_id}/adScheduleViews/{campaign_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdScheduleView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/age_range_view.proto b/third_party/googleapis/google/ads/googleads/v11/resources/age_range_view.proto deleted file mode 100644 index 302aa99dc..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/age_range_view.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AgeRangeViewProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the age range view resource. - -// An age range view. -message AgeRangeView { - option (google.api.resource) = { - type: "googleads.googleapis.com/AgeRangeView" - pattern: "customers/{customer_id}/ageRangeViews/{ad_group_id}~{criterion_id}" - }; - - // Output only. The resource name of the age range view. - // Age range view resource names have the form: - // - // `customers/{customer_id}/ageRangeViews/{ad_group_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AgeRangeView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/asset.proto b/third_party/googleapis/google/ads/googleads/v11/resources/asset.proto deleted file mode 100644 index bb221d3df..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/asset.proto +++ /dev/null @@ -1,183 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/asset_types.proto"; -import "google/ads/googleads/v11/common/custom_parameter.proto"; -import "google/ads/googleads/v11/common/policy.proto"; -import "google/ads/googleads/v11/enums/asset_source.proto"; -import "google/ads/googleads/v11/enums/asset_type.proto"; -import "google/ads/googleads/v11/enums/policy_approval_status.proto"; -import "google/ads/googleads/v11/enums/policy_review_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AssetProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the asset resource. - -// Asset is a part of an ad which can be shared across multiple ads. -// It can be an image (ImageAsset), a video (YoutubeVideoAsset), etc. -// Assets are immutable and cannot be removed. To stop an asset from serving, -// remove the asset from the entity that is using it. -message Asset { - option (google.api.resource) = { - type: "googleads.googleapis.com/Asset" - pattern: "customers/{customer_id}/assets/{asset_id}" - }; - - // Immutable. The resource name of the asset. - // Asset resource names have the form: - // - // `customers/{customer_id}/assets/{asset_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Asset" - } - ]; - - // Output only. The ID of the asset. - optional int64 id = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Optional name of the asset. - optional string name = 12; - - // Output only. Type of the asset. - google.ads.googleads.v11.enums.AssetTypeEnum.AssetType type = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // A list of possible final URLs after all cross domain redirects. - repeated string final_urls = 14; - - // A list of possible final mobile URLs after all cross domain redirects. - repeated string final_mobile_urls = 16; - - // URL template for constructing a tracking URL. - optional string tracking_url_template = 17; - - // A list of mappings to be used for substituting URL custom parameter tags in - // the tracking_url_template, final_urls, and/or final_mobile_urls. - repeated google.ads.googleads.v11.common.CustomParameter url_custom_parameters = 18; - - // URL template for appending params to landing page URLs served with parallel - // tracking. - optional string final_url_suffix = 19; - - // Output only. Source of the asset. - google.ads.googleads.v11.enums.AssetSourceEnum.AssetSource source = 38 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Policy information for the asset. - AssetPolicySummary policy_summary = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The specific type of the asset. - oneof asset_data { - // Immutable. A YouTube video asset. - google.ads.googleads.v11.common.YoutubeVideoAsset youtube_video_asset = 5 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. A media bundle asset. - google.ads.googleads.v11.common.MediaBundleAsset media_bundle_asset = 6 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. An image asset. - google.ads.googleads.v11.common.ImageAsset image_asset = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. A text asset. - google.ads.googleads.v11.common.TextAsset text_asset = 8 [(google.api.field_behavior) = IMMUTABLE]; - - // A lead form asset. - google.ads.googleads.v11.common.LeadFormAsset lead_form_asset = 9; - - // A book on google asset. - google.ads.googleads.v11.common.BookOnGoogleAsset book_on_google_asset = 10; - - // A promotion asset. - google.ads.googleads.v11.common.PromotionAsset promotion_asset = 15; - - // A callout asset. - google.ads.googleads.v11.common.CalloutAsset callout_asset = 20; - - // A structured snippet asset. - google.ads.googleads.v11.common.StructuredSnippetAsset structured_snippet_asset = 21; - - // A sitelink asset. - google.ads.googleads.v11.common.SitelinkAsset sitelink_asset = 22; - - // A page feed asset. - google.ads.googleads.v11.common.PageFeedAsset page_feed_asset = 23; - - // A dynamic education asset. - google.ads.googleads.v11.common.DynamicEducationAsset dynamic_education_asset = 24; - - // A mobile app asset. - google.ads.googleads.v11.common.MobileAppAsset mobile_app_asset = 25; - - // A hotel callout asset. - google.ads.googleads.v11.common.HotelCalloutAsset hotel_callout_asset = 26; - - // A call asset. - google.ads.googleads.v11.common.CallAsset call_asset = 27; - - // A price asset. - google.ads.googleads.v11.common.PriceAsset price_asset = 28; - - // Immutable. A call to action asset. - google.ads.googleads.v11.common.CallToActionAsset call_to_action_asset = 29 [(google.api.field_behavior) = IMMUTABLE]; - - // A dynamic real estate asset. - google.ads.googleads.v11.common.DynamicRealEstateAsset dynamic_real_estate_asset = 30; - - // A dynamic custom asset. - google.ads.googleads.v11.common.DynamicCustomAsset dynamic_custom_asset = 31; - - // A dynamic hotels and rentals asset. - google.ads.googleads.v11.common.DynamicHotelsAndRentalsAsset dynamic_hotels_and_rentals_asset = 32; - - // A dynamic flights asset. - google.ads.googleads.v11.common.DynamicFlightsAsset dynamic_flights_asset = 33; - - // Immutable. A discovery carousel card asset. - google.ads.googleads.v11.common.DiscoveryCarouselCardAsset discovery_carousel_card_asset = 34 [(google.api.field_behavior) = IMMUTABLE]; - - // A dynamic travel asset. - google.ads.googleads.v11.common.DynamicTravelAsset dynamic_travel_asset = 35; - - // A dynamic local asset. - google.ads.googleads.v11.common.DynamicLocalAsset dynamic_local_asset = 36; - - // A dynamic jobs asset. - google.ads.googleads.v11.common.DynamicJobsAsset dynamic_jobs_asset = 37; - } -} - -// Contains policy information for an asset. -message AssetPolicySummary { - // Output only. The list of policy findings for this asset. - repeated google.ads.googleads.v11.common.PolicyTopicEntry policy_topic_entries = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Where in the review process this asset is. - google.ads.googleads.v11.enums.PolicyReviewStatusEnum.PolicyReviewStatus review_status = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The overall approval status of this asset, calculated based on the status - // of its individual policy topic entries. - google.ads.googleads.v11.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/asset_field_type_view.proto b/third_party/googleapis/google/ads/googleads/v11/resources/asset_field_type_view.proto deleted file mode 100644 index 364ffc9c6..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/asset_field_type_view.proto +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/asset_field_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AssetFieldTypeViewProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the AssetFieldTypeView resource. - -// An asset field type view. -// This view reports non-overcounted metrics for each asset field type when the -// asset is used as extension. -message AssetFieldTypeView { - option (google.api.resource) = { - type: "googleads.googleapis.com/AssetFieldTypeView" - pattern: "customers/{customer_id}/assetFieldTypeViews/{field_type}" - }; - - // Output only. The resource name of the asset field type view. - // Asset field type view resource names have the form: - // - // `customers/{customer_id}/assetFieldTypeViews/{field_type}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetFieldTypeView" - } - ]; - - // Output only. The asset field type of the asset field type view. - google.ads.googleads.v11.enums.AssetFieldTypeEnum.AssetFieldType field_type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/asset_group.proto b/third_party/googleapis/google/ads/googleads/v11/resources/asset_group.proto deleted file mode 100644 index 19e84be79..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/asset_group.proto +++ /dev/null @@ -1,91 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/ad_strength.proto"; -import "google/ads/googleads/v11/enums/asset_group_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// An asset group. -// AssetGroupAsset is used to link an asset to the asset group. -// AssetGroupSignal is used to associate a signal to an asset group. -message AssetGroup { - option (google.api.resource) = { - type: "googleads.googleapis.com/AssetGroup" - pattern: "customers/{customer_id}/assetGroups/{asset_group_id}" - }; - - // Immutable. The resource name of the asset group. - // Asset group resource names have the form: - // - // `customers/{customer_id}/assetGroups/{asset_group_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroup" - } - ]; - - // Output only. The ID of the asset group. - int64 id = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The campaign with which this asset group is associated. - // The asset which is linked to the asset group. - string campaign = 2 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Required. Name of the asset group. Required. It must have a minimum length of 1 and - // maximum length of 128. It must be unique under a campaign. - string name = 3 [(google.api.field_behavior) = REQUIRED]; - - // A list of final URLs after all cross domain redirects. In performance max, - // by default, the urls are eligible for expansion unless opted out. - repeated string final_urls = 4; - - // A list of final mobile URLs after all cross domain redirects. In - // performance max, by default, the urls are eligible for expansion - // unless opted out. - repeated string final_mobile_urls = 5; - - // The status of the asset group. - google.ads.googleads.v11.enums.AssetGroupStatusEnum.AssetGroupStatus status = 6; - - // First part of text that may appear appended to the url displayed in - // the ad. - string path1 = 7; - - // Second part of text that may appear appended to the url displayed in - // the ad. This field can only be set when path1 is set. - string path2 = 8; - - // Output only. Overall ad strength of this asset group. - google.ads.googleads.v11.enums.AdStrengthEnum.AdStrength ad_strength = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/asset_group_asset.proto b/third_party/googleapis/google/ads/googleads/v11/resources/asset_group_asset.proto deleted file mode 100644 index a4cac5357..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/asset_group_asset.proto +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/policy_summary.proto"; -import "google/ads/googleads/v11/enums/asset_field_type.proto"; -import "google/ads/googleads/v11/enums/asset_link_status.proto"; -import "google/ads/googleads/v11/enums/asset_performance_label.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupAssetProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// AssetGroupAsset is the link between an asset and an asset group. -// Adding an AssetGroupAsset links an asset with an asset group. -message AssetGroupAsset { - option (google.api.resource) = { - type: "googleads.googleapis.com/AssetGroupAsset" - pattern: "customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type}" - }; - - // Immutable. The resource name of the asset group asset. - // Asset group asset resource name have the form: - // - // `customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroupAsset" - } - ]; - - // Immutable. The asset group which this asset group asset is linking. - string asset_group = 2 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroup" - } - ]; - - // Immutable. The asset which this asset group asset is linking. - string asset = 3 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Asset" - } - ]; - - // The description of the placement of the asset within the asset group. For - // example: HEADLINE, YOUTUBE_VIDEO etc - google.ads.googleads.v11.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4; - - // The status of the link between an asset and asset group. - google.ads.googleads.v11.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5; - - // Output only. The performance of this asset group asset. - google.ads.googleads.v11.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel performance_label = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The policy information for this asset group asset. - google.ads.googleads.v11.common.PolicySummary policy_summary = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/asset_group_listing_group_filter.proto b/third_party/googleapis/google/ads/googleads/v11/resources/asset_group_listing_group_filter.proto deleted file mode 100644 index cac87667d..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/asset_group_listing_group_filter.proto +++ /dev/null @@ -1,172 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/listing_group_filter_bidding_category_level.proto"; -import "google/ads/googleads/v11/enums/listing_group_filter_custom_attribute_index.proto"; -import "google/ads/googleads/v11/enums/listing_group_filter_product_channel.proto"; -import "google/ads/googleads/v11/enums/listing_group_filter_product_condition.proto"; -import "google/ads/googleads/v11/enums/listing_group_filter_product_type_level.proto"; -import "google/ads/googleads/v11/enums/listing_group_filter_type_enum.proto"; -import "google/ads/googleads/v11/enums/listing_group_filter_vertical.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupListingGroupFilterProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// AssetGroupListingGroupFilter represents a listing group filter tree node in -// an asset group. -message AssetGroupListingGroupFilter { - option (google.api.resource) = { - type: "googleads.googleapis.com/AssetGroupListingGroupFilter" - pattern: "customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id}" - }; - - // Immutable. The resource name of the asset group listing group filter. - // Asset group listing group filter resource name have the form: - // - // `customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroupListingGroupFilter" - } - ]; - - // Immutable. The asset group which this asset group listing group filter is part of. - string asset_group = 2 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroup" - } - ]; - - // Output only. The ID of the ListingGroupFilter. - int64 id = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. Type of a listing group filter node. - google.ads.googleads.v11.enums.ListingGroupFilterTypeEnum.ListingGroupFilterType type = 4 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The vertical the current node tree represents. All nodes in the same tree - // must belong to the same vertical. - google.ads.googleads.v11.enums.ListingGroupFilterVerticalEnum.ListingGroupFilterVertical vertical = 5 [(google.api.field_behavior) = IMMUTABLE]; - - // Dimension value with which this listing group is refining its parent. - // Undefined for the root group. - ListingGroupFilterDimension case_value = 6; - - // Immutable. Resource name of the parent listing group subdivision. Null for the root - // listing group filter node. - string parent_listing_group_filter = 7 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroupListingGroupFilter" - } - ]; -} - -// Listing dimensions for the asset group listing group filter. -message ListingGroupFilterDimension { - // One element of a bidding category at a certain level. Top-level categories - // are at level 1, their children at level 2, and so on. We currently support - // up to 5 levels. The user must specify a dimension type that indicates the - // level of the category. All cases of the same subdivision must have the same - // dimension type (category level). - message ProductBiddingCategory { - // ID of the product bidding category. - // - // This ID is equivalent to the google_product_category ID as described in - // this article: https://support.google.com/merchants/answer/6324436 - optional int64 id = 1; - - // Indicates the level of the category in the taxonomy. - google.ads.googleads.v11.enums.ListingGroupFilterBiddingCategoryLevelEnum.ListingGroupFilterBiddingCategoryLevel level = 2; - } - - // Brand of the product. - message ProductBrand { - // String value of the product brand. - optional string value = 1; - } - - // Locality of a product offer. - message ProductChannel { - // Value of the locality. - google.ads.googleads.v11.enums.ListingGroupFilterProductChannelEnum.ListingGroupFilterProductChannel channel = 1; - } - - // Condition of a product offer. - message ProductCondition { - // Value of the condition. - google.ads.googleads.v11.enums.ListingGroupFilterProductConditionEnum.ListingGroupFilterProductCondition condition = 1; - } - - // Custom attribute of a product offer. - message ProductCustomAttribute { - // String value of the product custom attribute. - optional string value = 1; - - // Indicates the index of the custom attribute. - google.ads.googleads.v11.enums.ListingGroupFilterCustomAttributeIndexEnum.ListingGroupFilterCustomAttributeIndex index = 2; - } - - // Item id of a product offer. - message ProductItemId { - // Value of the id. - optional string value = 1; - } - - // Type of a product offer. - message ProductType { - // Value of the type. - optional string value = 1; - - // Level of the type. - google.ads.googleads.v11.enums.ListingGroupFilterProductTypeLevelEnum.ListingGroupFilterProductTypeLevel level = 2; - } - - // Dimension of one of the types below is always present. - oneof dimension { - // Bidding category of a product offer. - ProductBiddingCategory product_bidding_category = 1; - - // Brand of a product offer. - ProductBrand product_brand = 2; - - // Locality of a product offer. - ProductChannel product_channel = 3; - - // Condition of a product offer. - ProductCondition product_condition = 4; - - // Custom attribute of a product offer. - ProductCustomAttribute product_custom_attribute = 5; - - // Item id of a product offer. - ProductItemId product_item_id = 6; - - // Type of a product offer. - ProductType product_type = 7; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/asset_group_product_group_view.proto b/third_party/googleapis/google/ads/googleads/v11/resources/asset_group_product_group_view.proto deleted file mode 100644 index a49301c94..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/asset_group_product_group_view.proto +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupProductGroupViewProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the AssetGroupProductGroupView resource. - -// An asset group product group view. -message AssetGroupProductGroupView { - option (google.api.resource) = { - type: "googleads.googleapis.com/AssetGroupProductGroupView" - pattern: "customers/{customer_id}/assetGroupProductGroupViews/{asset_group_id}~{listing_group_filter_id}" - }; - - // Output only. The resource name of the asset group product group view. - // Asset group product group view resource names have the form: - // - // `customers/{customer_id}/assetGroupProductGroupViews/{asset_group_id}~{listing_group_filter_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroupProductGroupView" - } - ]; - - // Output only. The asset group associated with the listing group filter. - string asset_group = 2 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroup" - } - ]; - - // Output only. The resource name of the asset group listing group filter. - string asset_group_listing_group_filter = 4 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroupListingGroupFilter" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/asset_group_signal.proto b/third_party/googleapis/google/ads/googleads/v11/resources/asset_group_signal.proto deleted file mode 100644 index c4199cb68..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/asset_group_signal.proto +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/criteria.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupSignalProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// AssetGroupSignal represents a signal in an asset group. The existence of a -// signal tells the performance max campaign who's most likely to convert. -// Performance Max uses the signal to look for new people with similar or -// stronger intent to find conversions across Search, Display, Video, and more. -message AssetGroupSignal { - option (google.api.resource) = { - type: "googleads.googleapis.com/AssetGroupSignal" - pattern: "customers/{customer_id}/assetGroupSignals/{asset_group_id}~{criterion_id}" - }; - - // Immutable. The resource name of the asset group signal. - // Asset group signal resource name have the form: - // - // `customers/{customer_id}/assetGroupSignals/{asset_group_id}~{signal_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroupSignal" - } - ]; - - // Immutable. The asset group which this asset group signal belongs to. - string asset_group = 2 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroup" - } - ]; - - // Immutable. The signal(audience criterion) to be used by the performance max campaign. - google.ads.googleads.v11.common.AudienceInfo audience = 3 [(google.api.field_behavior) = IMMUTABLE]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/asset_set.proto b/third_party/googleapis/google/ads/googleads/v11/resources/asset_set.proto deleted file mode 100644 index 785bf263f..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/asset_set.proto +++ /dev/null @@ -1,79 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/asset_set_status.proto"; -import "google/ads/googleads/v11/enums/asset_set_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// An asset set representing a collection of assets. -// Use AssetSetAsset to link an asset to the asset set. -message AssetSet { - option (google.api.resource) = { - type: "googleads.googleapis.com/AssetSet" - pattern: "customers/{customer_id}/assetSets/{asset_set_id}" - }; - - // Merchant ID and Feed Label from Google Merchant Center. - message MerchantCenterFeed { - // Required. Merchant ID from Google Merchant Center - int64 merchant_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Optional. Feed Label from Google Merchant Center. - optional string feed_label = 2 [(google.api.field_behavior) = OPTIONAL]; - } - - // Output only. The ID of the asset set. - int64 id = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The resource name of the asset set. - // Asset set resource names have the form: - // - // `customers/{customer_id}/assetSets/{asset_set_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetSet" - } - ]; - - // Required. Name of the asset set. Required. It must have a minimum length of 1 and - // maximum length of 128. - string name = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. Immutable. The type of the asset set. Required. - google.ads.googleads.v11.enums.AssetSetTypeEnum.AssetSetType type = 3 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE - ]; - - // Output only. The status of the asset set. Read-only. - google.ads.googleads.v11.enums.AssetSetStatusEnum.AssetSetStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Merchant ID and Feed Label from Google Merchant Center. - MerchantCenterFeed merchant_center_feed = 5; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/asset_set_asset.proto b/third_party/googleapis/google/ads/googleads/v11/resources/asset_set_asset.proto deleted file mode 100644 index 9a943ed04..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/asset_set_asset.proto +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/asset_set_asset_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetAssetProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// AssetSetAsset is the link between an asset and an asset set. -// Adding an AssetSetAsset links an asset with an asset set. -message AssetSetAsset { - option (google.api.resource) = { - type: "googleads.googleapis.com/AssetSetAsset" - pattern: "customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}" - }; - - // Immutable. The resource name of the asset set asset. - // Asset set asset resource names have the form: - // - // `customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetSetAsset" - } - ]; - - // Immutable. The asset set which this asset set asset is linking to. - string asset_set = 2 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetSet" - } - ]; - - // Immutable. The asset which this asset set asset is linking to. - string asset = 3 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Asset" - } - ]; - - // Output only. The status of the asset set asset. Read-only. - google.ads.googleads.v11.enums.AssetSetAssetStatusEnum.AssetSetAssetStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/audience.proto b/third_party/googleapis/google/ads/googleads/v11/resources/audience.proto deleted file mode 100644 index f3f02603d..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/audience.proto +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/audiences.proto"; -import "google/ads/googleads/v11/enums/audience_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AudienceProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the Audience resource. - -// Audience is an effective targeting option that lets you -// intersect different segment attributes, such as detailed demographics and -// affinities, to create audiences that represent sections of your target -// segments. -message Audience { - option (google.api.resource) = { - type: "googleads.googleapis.com/Audience" - pattern: "customers/{customer_id}/audiences/{audience_id}" - }; - - // Immutable. The resource name of the audience. - // Audience names have the form: - // - // `customers/{customer_id}/audiences/{audience_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Audience" - } - ]; - - // Output only. ID of the audience. - int64 id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Status of this audience. Indicates whether the audience - // is enabled or removed. - google.ads.googleads.v11.enums.AudienceStatusEnum.AudienceStatus status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Required. Name of the audience. It should be unique across all - // audiences. It must have a minimum length of 1 and - // maximum length of 255. - string name = 4 [(google.api.field_behavior) = REQUIRED]; - - // Description of this audience. - string description = 5; - - // Positive dimensions specifying the audience composition. - repeated google.ads.googleads.v11.common.AudienceDimension dimensions = 6; - - // Negative dimension specifying the audience composition. - google.ads.googleads.v11.common.AudienceExclusionDimension exclusion_dimension = 7; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/batch_job.proto b/third_party/googleapis/google/ads/googleads/v11/resources/batch_job.proto deleted file mode 100644 index be4fca17d..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/batch_job.proto +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/batch_job_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "BatchJobProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the batch job resource. - -// A list of mutates being processed asynchronously. The mutates are uploaded -// by the user. The mutates themselves aren't readable and the results of the -// job can only be read using BatchJobService.ListBatchJobResults. -message BatchJob { - option (google.api.resource) = { - type: "googleads.googleapis.com/BatchJob" - pattern: "customers/{customer_id}/batchJobs/{batch_job_id}" - }; - - // Additional information about the batch job. This message is also used as - // metadata returned in batch job Long Running Operations. - message BatchJobMetadata { - // Output only. The time when this batch job was created. - // Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 09:15:00" - optional string creation_date_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The time when this batch job started running. - // Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 09:15:30" - optional string start_date_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The time when this batch job was completed. - // Formatted as yyyy-MM-dd HH:mm:ss. Example: "2018-03-05 09:16:00" - optional string completion_date_time = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The fraction (between 0.0 and 1.0) of mutates that have been processed. - // This is empty if the job hasn't started running yet. - optional double estimated_completion_ratio = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The number of mutate operations in the batch job. - optional int64 operation_count = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The number of mutate operations executed by the batch job. - // Present only if the job has started running. - optional int64 executed_operation_count = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Immutable. The resource name of the batch job. - // Batch job resource names have the form: - // - // `customers/{customer_id}/batchJobs/{batch_job_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/BatchJob" - } - ]; - - // Output only. ID of this batch job. - optional int64 id = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The next sequence token to use when adding operations. Only set when the - // batch job status is PENDING. - optional string next_add_sequence_token = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Contains additional information about this batch job. - BatchJobMetadata metadata = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Status of this batch job. - google.ads.googleads.v11.enums.BatchJobStatusEnum.BatchJobStatus status = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource name of the long-running operation that can be used to poll - // for completion. Only set when the batch job status is RUNNING or DONE. - optional string long_running_operation = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/bidding_data_exclusion.proto b/third_party/googleapis/google/ads/googleads/v11/resources/bidding_data_exclusion.proto deleted file mode 100644 index 016899d0a..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/bidding_data_exclusion.proto +++ /dev/null @@ -1,107 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/advertising_channel_type.proto"; -import "google/ads/googleads/v11/enums/device.proto"; -import "google/ads/googleads/v11/enums/seasonality_event_scope.proto"; -import "google/ads/googleads/v11/enums/seasonality_event_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "BiddingDataExclusionProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Represents a bidding data exclusion. -// -// See "About data exclusions" at -// https://support.google.com/google-ads/answer/10370710. -message BiddingDataExclusion { - option (google.api.resource) = { - type: "googleads.googleapis.com/BiddingDataExclusion" - pattern: "customers/{customer_id}/biddingDataExclusions/{seasonality_event_id}" - }; - - // Immutable. The resource name of the data exclusion. - // Data exclusion resource names have the form: - // - // `customers/{customer_id}/biddingDataExclusions/{data_exclusion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/BiddingDataExclusion" - } - ]; - - // Output only. The ID of the data exclusion. - int64 data_exclusion_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The scope of the data exclusion. - google.ads.googleads.v11.enums.SeasonalityEventScopeEnum.SeasonalityEventScope scope = 3; - - // Output only. The status of the data exclusion. - google.ads.googleads.v11.enums.SeasonalityEventStatusEnum.SeasonalityEventStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Required. The inclusive start time of the data exclusion in yyyy-MM-dd HH:mm:ss - // format. - // - // A data exclusion is backward looking and should be used for events that - // start in the past and end either in the past or future. - string start_date_time = 5 [(google.api.field_behavior) = REQUIRED]; - - // Required. The exclusive end time of the data exclusion in yyyy-MM-dd HH:mm:ss format. - // - // The length of [start_date_time, end_date_time) interval must be - // within (0, 14 days]. - string end_date_time = 6 [(google.api.field_behavior) = REQUIRED]; - - // The name of the data exclusion. The name can be at most 255 - // characters. - string name = 7; - - // The description of the data exclusion. The description can be at - // most 2048 characters. - string description = 8; - - // If not specified, all devices will be included in this exclusion. - // Otherwise, only the specified targeted devices will be included in this - // exclusion. - repeated google.ads.googleads.v11.enums.DeviceEnum.Device devices = 9; - - // The data exclusion will apply to the campaigns listed when the scope of - // this exclusion is CAMPAIGN. The maximum number of campaigns per event is - // 2000. - // Note: a data exclusion with both advertising_channel_types and - // campaign_ids is not supported. - repeated string campaigns = 10 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - }]; - - // The data_exclusion will apply to all the campaigns under the listed - // channels retroactively as well as going forward when the scope of this - // exclusion is CHANNEL. - // The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. - // Note: a data exclusion with both advertising_channel_types and - // campaign_ids is not supported. - repeated google.ads.googleads.v11.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_types = 11; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/bidding_seasonality_adjustment.proto b/third_party/googleapis/google/ads/googleads/v11/resources/bidding_seasonality_adjustment.proto deleted file mode 100644 index b2ca0192d..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/bidding_seasonality_adjustment.proto +++ /dev/null @@ -1,113 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/advertising_channel_type.proto"; -import "google/ads/googleads/v11/enums/device.proto"; -import "google/ads/googleads/v11/enums/seasonality_event_scope.proto"; -import "google/ads/googleads/v11/enums/seasonality_event_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "BiddingSeasonalityAdjustmentProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Represents a bidding seasonality adjustment. -// -// See "About seasonality adjustments" at -// https://support.google.com/google-ads/answer/10369906. -message BiddingSeasonalityAdjustment { - option (google.api.resource) = { - type: "googleads.googleapis.com/BiddingSeasonalityAdjustment" - pattern: "customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_event_id}" - }; - - // Immutable. The resource name of the seasonality adjustment. - // Seasonality adjustment resource names have the form: - // - // `customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_adjustment_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/BiddingSeasonalityAdjustment" - } - ]; - - // Output only. The ID of the seasonality adjustment. - int64 seasonality_adjustment_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The scope of the seasonality adjustment. - google.ads.googleads.v11.enums.SeasonalityEventScopeEnum.SeasonalityEventScope scope = 3; - - // Output only. The status of the seasonality adjustment. - google.ads.googleads.v11.enums.SeasonalityEventStatusEnum.SeasonalityEventStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Required. The inclusive start time of the seasonality adjustment in yyyy-MM-dd - // HH:mm:ss format. - // - // A seasonality adjustment is forward looking and should be used for events - // that start and end in the future. - string start_date_time = 5 [(google.api.field_behavior) = REQUIRED]; - - // Required. The exclusive end time of the seasonality adjustment in yyyy-MM-dd HH:mm:ss - // format. - // - // The length of [start_date_time, end_date_time) interval must be - // within (0, 14 days]. - string end_date_time = 6 [(google.api.field_behavior) = REQUIRED]; - - // The name of the seasonality adjustment. The name can be at most 255 - // characters. - string name = 7; - - // The description of the seasonality adjustment. The description can be at - // most 2048 characters. - string description = 8; - - // If not specified, all devices will be included in this adjustment. - // Otherwise, only the specified targeted devices will be included in this - // adjustment. - repeated google.ads.googleads.v11.enums.DeviceEnum.Device devices = 9; - - // Conversion rate modifier estimated based on expected conversion rate - // changes. When this field is unset or set to 1.0 no adjustment will be - // applied to traffic. The allowed range is 0.1 to 10.0. - double conversion_rate_modifier = 10; - - // The seasonality adjustment will apply to the campaigns listed when the - // scope of this adjustment is CAMPAIGN. The maximum number of campaigns per - // event is 2000. - // Note: a seasonality adjustment with both advertising_channel_types and - // campaign_ids is not supported. - repeated string campaigns = 11 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - }]; - - // The seasonality adjustment will apply to all the campaigns under the listed - // channels retroactively as well as going forward when the scope of this - // adjustment is CHANNEL. - // The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. - // Note: a seasonality adjustment with both advertising_channel_types and - // campaign_ids is not supported. - repeated google.ads.googleads.v11.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_types = 12; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/bidding_strategy.proto b/third_party/googleapis/google/ads/googleads/v11/resources/bidding_strategy.proto deleted file mode 100644 index 8f9d8266c..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/bidding_strategy.proto +++ /dev/null @@ -1,138 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/bidding.proto"; -import "google/ads/googleads/v11/enums/bidding_strategy_status.proto"; -import "google/ads/googleads/v11/enums/bidding_strategy_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "BiddingStrategyProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the BiddingStrategy resource - -// A bidding strategy. -message BiddingStrategy { - option (google.api.resource) = { - type: "googleads.googleapis.com/BiddingStrategy" - pattern: "customers/{customer_id}/biddingStrategies/{bidding_strategy_id}" - }; - - // Immutable. The resource name of the bidding strategy. - // Bidding strategy resource names have the form: - // - // `customers/{customer_id}/biddingStrategies/{bidding_strategy_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/BiddingStrategy" - } - ]; - - // Output only. The ID of the bidding strategy. - optional int64 id = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The name of the bidding strategy. - // All bidding strategies within an account must be named distinctly. - // - // The length of this string should be between 1 and 255, inclusive, - // in UTF-8 bytes, (trimmed). - optional string name = 17; - - // Output only. The status of the bidding strategy. - // - // This field is read-only. - google.ads.googleads.v11.enums.BiddingStrategyStatusEnum.BiddingStrategyStatus status = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The type of the bidding strategy. - // Create a bidding strategy by setting the bidding scheme. - // - // This field is read-only. - google.ads.googleads.v11.enums.BiddingStrategyTypeEnum.BiddingStrategyType type = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The currency used by the bidding strategy (ISO 4217 three-letter code). - // - // For bidding strategies in manager customers, this currency can be set on - // creation and defaults to the manager customer's currency. For serving - // customers, this field cannot be set; all strategies in a serving customer - // implicitly use the serving customer's currency. In all cases the - // effective_currency_code field returns the currency used by the strategy. - string currency_code = 23 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The currency used by the bidding strategy (ISO 4217 three-letter code). - // - // For bidding strategies in manager customers, this is the currency set by - // the advertiser when creating the strategy. For serving customers, this is - // the customer's currency_code. - // - // Bidding strategy metrics are reported in this currency. - // - // This field is read-only. - optional string effective_currency_code = 20 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The number of campaigns attached to this bidding strategy. - // - // This field is read-only. - optional int64 campaign_count = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The number of non-removed campaigns attached to this bidding strategy. - // - // This field is read-only. - optional int64 non_removed_campaign_count = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The bidding scheme. - // - // Only one can be set. - oneof scheme { - // A bidding strategy that raises bids for clicks that seem more likely to - // lead to a conversion and lowers them for clicks where they seem less - // likely. - google.ads.googleads.v11.common.EnhancedCpc enhanced_cpc = 7; - - // An automated bidding strategy to help get the most conversion value for - // your campaigns while spending your budget. - google.ads.googleads.v11.common.MaximizeConversionValue maximize_conversion_value = 21; - - // An automated bidding strategy to help get the most conversions for your - // campaigns while spending your budget. - google.ads.googleads.v11.common.MaximizeConversions maximize_conversions = 22; - - // A bidding strategy that sets bids to help get as many conversions as - // possible at the target cost-per-acquisition (CPA) you set. - google.ads.googleads.v11.common.TargetCpa target_cpa = 9; - - // A bidding strategy that automatically optimizes towards a chosen - // percentage of impressions. - google.ads.googleads.v11.common.TargetImpressionShare target_impression_share = 48; - - // A bidding strategy that helps you maximize revenue while averaging a - // specific target Return On Ad Spend (ROAS). - google.ads.googleads.v11.common.TargetRoas target_roas = 11; - - // A bid strategy that sets your bids to help get as many clicks as - // possible within your budget. - google.ads.googleads.v11.common.TargetSpend target_spend = 12; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/bidding_strategy_simulation.proto b/third_party/googleapis/google/ads/googleads/v11/resources/bidding_strategy_simulation.proto deleted file mode 100644 index 2936eb93a..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/bidding_strategy_simulation.proto +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/simulation.proto"; -import "google/ads/googleads/v11/enums/simulation_modification_method.proto"; -import "google/ads/googleads/v11/enums/simulation_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "BiddingStrategySimulationProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the bidding strategy simulation resource. - -// A bidding strategy simulation. Supported combinations of simulation type -// and simulation modification method are detailed below respectively. -// -// 1. TARGET_CPA - UNIFORM -// 2. TARGET_ROAS - UNIFORM -message BiddingStrategySimulation { - option (google.api.resource) = { - type: "googleads.googleapis.com/BiddingStrategySimulation" - pattern: "customers/{customer_id}/biddingStrategySimulations/{bidding_strategy_id}~{type}~{modification_method}~{start_date}~{end_date}" - }; - - // Output only. The resource name of the bidding strategy simulation. - // Bidding strategy simulation resource names have the form: - // - // `customers/{customer_id}/biddingStrategySimulations/{bidding_strategy_id}~{type}~{modification_method}~{start_date}~{end_date}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/BiddingStrategySimulation" - } - ]; - - // Output only. Bidding strategy shared set id of the simulation. - int64 bidding_strategy_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The field that the simulation modifies. - google.ads.googleads.v11.enums.SimulationTypeEnum.SimulationType type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. How the simulation modifies the field. - google.ads.googleads.v11.enums.SimulationModificationMethodEnum.SimulationModificationMethod modification_method = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. First day on which the simulation is based, in YYYY-MM-DD format. - string start_date = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Last day on which the simulation is based, in YYYY-MM-DD format - string end_date = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // List of simulation points. - oneof point_list { - // Output only. Simulation points if the simulation type is TARGET_CPA. - google.ads.googleads.v11.common.TargetCpaSimulationPointList target_cpa_point_list = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Simulation points if the simulation type is TARGET_ROAS. - google.ads.googleads.v11.common.TargetRoasSimulationPointList target_roas_point_list = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/billing_setup.proto b/third_party/googleapis/google/ads/googleads/v11/resources/billing_setup.proto deleted file mode 100644 index 5d67e3b55..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/billing_setup.proto +++ /dev/null @@ -1,139 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/billing_setup_status.proto"; -import "google/ads/googleads/v11/enums/time_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "BillingSetupProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the BillingSetup resource. - -// A billing setup, which associates a payments account and an advertiser. A -// billing setup is specific to one advertiser. -message BillingSetup { - option (google.api.resource) = { - type: "googleads.googleapis.com/BillingSetup" - pattern: "customers/{customer_id}/billingSetups/{billing_setup_id}" - }; - - // Container of payments account information for this billing. - message PaymentsAccountInfo { - // Output only. A 16 digit id used to identify the payments account associated with the - // billing setup. - // - // This must be passed as a string with dashes, for example, - // "1234-5678-9012-3456". - optional string payments_account_id = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The name of the payments account associated with the billing setup. - // - // This enables the user to specify a meaningful name for a payments account - // to aid in reconciling monthly invoices. - // - // This name will be printed in the monthly invoices. - optional string payments_account_name = 7 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. A 12 digit id used to identify the payments profile associated with the - // billing setup. - // - // This must be passed in as a string with dashes, for example, - // "1234-5678-9012". - optional string payments_profile_id = 8 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The name of the payments profile associated with the billing setup. - optional string payments_profile_name = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. A secondary payments profile id present in uncommon situations, for - // example, when a sequential liability agreement has been arranged. - optional string secondary_payments_profile_id = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Immutable. The resource name of the billing setup. - // BillingSetup resource names have the form: - // - // `customers/{customer_id}/billingSetups/{billing_setup_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/BillingSetup" - } - ]; - - // Output only. The ID of the billing setup. - optional int64 id = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The status of the billing setup. - google.ads.googleads.v11.enums.BillingSetupStatusEnum.BillingSetupStatus status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The resource name of the payments account associated with this billing - // setup. Payments resource names have the form: - // - // `customers/{customer_id}/paymentsAccounts/{payments_account_id}` - // When setting up billing, this is used to signup with an existing payments - // account (and then payments_account_info should not be set). - // When getting a billing setup, this and payments_account_info will be - // populated. - optional string payments_account = 18 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/PaymentsAccount" - } - ]; - - // Immutable. The payments account information associated with this billing setup. - // When setting up billing, this is used to signup with a new payments account - // (and then payments_account should not be set). - // When getting a billing setup, this and payments_account will be - // populated. - PaymentsAccountInfo payments_account_info = 12 [(google.api.field_behavior) = IMMUTABLE]; - - // When creating a new billing setup, this is when the setup should take - // effect. NOW is the only acceptable start time if the customer doesn't have - // any approved setups. - // - // When fetching an existing billing setup, this is the requested start time. - // However, if the setup was approved (see status) after the requested start - // time, then this is the approval time. - oneof start_time { - // Immutable. The start date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss format. Only a - // future time is allowed. - string start_date_time = 16 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The start time as a type. Only NOW is allowed. - google.ads.googleads.v11.enums.TimeTypeEnum.TimeType start_time_type = 10 [(google.api.field_behavior) = IMMUTABLE]; - } - - // When the billing setup ends / ended. This is either FOREVER or the start - // time of the next scheduled billing setup. - oneof end_time { - // Output only. The end date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss format. - string end_date_time = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The end time as a type. The only possible value is FOREVER. - google.ads.googleads.v11.enums.TimeTypeEnum.TimeType end_time_type = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/call_view.proto b/third_party/googleapis/google/ads/googleads/v11/resources/call_view.proto deleted file mode 100644 index 6f4bab6b1..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/call_view.proto +++ /dev/null @@ -1,79 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/call_tracking_display_location.proto"; -import "google/ads/googleads/v11/enums/call_type.proto"; -import "google/ads/googleads/v11/enums/google_voice_call_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CallViewProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the call view resource. - -// A call view that includes data for call tracking of call-only ads or call -// extensions. -message CallView { - option (google.api.resource) = { - type: "googleads.googleapis.com/CallView" - pattern: "customers/{customer_id}/callViews/{call_detail_id}" - }; - - // Output only. The resource name of the call view. - // Call view resource names have the form: - // - // `customers/{customer_id}/callViews/{call_detail_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CallView" - } - ]; - - // Output only. Country code of the caller. - string caller_country_code = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Area code of the caller. Null if the call duration is shorter than 15 - // seconds. - string caller_area_code = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The advertiser-provided call duration in seconds. - int64 call_duration_seconds = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The advertiser-provided call start date time. - string start_call_date_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The advertiser-provided call end date time. - string end_call_date_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The call tracking display location. - google.ads.googleads.v11.enums.CallTrackingDisplayLocationEnum.CallTrackingDisplayLocation call_tracking_display_location = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The type of the call. - google.ads.googleads.v11.enums.CallTypeEnum.CallType type = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The status of the call. - google.ads.googleads.v11.enums.GoogleVoiceCallStatusEnum.GoogleVoiceCallStatus call_status = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/campaign.proto b/third_party/googleapis/google/ads/googleads/v11/resources/campaign.proto deleted file mode 100644 index d6e3ce7dd..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/campaign.proto +++ /dev/null @@ -1,535 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/bidding.proto"; -import "google/ads/googleads/v11/common/custom_parameter.proto"; -import "google/ads/googleads/v11/common/frequency_cap.proto"; -import "google/ads/googleads/v11/common/real_time_bidding_setting.proto"; -import "google/ads/googleads/v11/common/targeting_setting.proto"; -import "google/ads/googleads/v11/enums/ad_serving_optimization_status.proto"; -import "google/ads/googleads/v11/enums/advertising_channel_sub_type.proto"; -import "google/ads/googleads/v11/enums/advertising_channel_type.proto"; -import "google/ads/googleads/v11/enums/app_campaign_app_store.proto"; -import "google/ads/googleads/v11/enums/app_campaign_bidding_strategy_goal_type.proto"; -import "google/ads/googleads/v11/enums/asset_field_type.proto"; -import "google/ads/googleads/v11/enums/bidding_strategy_system_status.proto"; -import "google/ads/googleads/v11/enums/bidding_strategy_type.proto"; -import "google/ads/googleads/v11/enums/brand_safety_suitability.proto"; -import "google/ads/googleads/v11/enums/campaign_experiment_type.proto"; -import "google/ads/googleads/v11/enums/campaign_serving_status.proto"; -import "google/ads/googleads/v11/enums/campaign_status.proto"; -import "google/ads/googleads/v11/enums/location_source_type.proto"; -import "google/ads/googleads/v11/enums/negative_geo_target_type.proto"; -import "google/ads/googleads/v11/enums/optimization_goal_type.proto"; -import "google/ads/googleads/v11/enums/payment_mode.proto"; -import "google/ads/googleads/v11/enums/performance_max_upgrade_status.proto"; -import "google/ads/googleads/v11/enums/positive_geo_target_type.proto"; -import "google/ads/googleads/v11/enums/vanity_pharma_display_url_mode.proto"; -import "google/ads/googleads/v11/enums/vanity_pharma_text.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the Campaign resource. - -// A campaign. -message Campaign { - option (google.api.resource) = { - type: "googleads.googleapis.com/Campaign" - pattern: "customers/{customer_id}/campaigns/{campaign_id}" - }; - - // Information about a campaign being upgraded to Performance Max. - message PerformanceMaxUpgrade { - // Output only. Indicates which Performance Max campaign the campaign is upgraded to. - string performance_max_campaign = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Output only. Indicates legacy campaign upgraded to Performance Max. - string pre_upgrade_campaign = 2 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Output only. The upgrade status of a campaign requested to be upgraded to Performance - // Max. - google.ads.googleads.v11.enums.PerformanceMaxUpgradeStatusEnum.PerformanceMaxUpgradeStatus status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The network settings for the campaign. - message NetworkSettings { - // Whether ads will be served with google.com search results. - optional bool target_google_search = 5; - - // Whether ads will be served on partner sites in the Google Search Network - // (requires `target_google_search` to also be `true`). - optional bool target_search_network = 6; - - // Whether ads will be served on specified placements in the Google Display - // Network. Placements are specified using the Placement criterion. - optional bool target_content_network = 7; - - // Whether ads will be served on the Google Partner Network. - // This is available only to some select Google partner accounts. - optional bool target_partner_search_network = 8; - } - - // Campaign-level settings for hotel ads. - message HotelSettingInfo { - // Immutable. The linked Hotel Center account. - optional int64 hotel_center_id = 2 [(google.api.field_behavior) = IMMUTABLE]; - } - - // The setting for controlling Dynamic Search Ads (DSA). - message DynamicSearchAdsSetting { - // Required. The Internet domain name that this setting represents, for example, - // "google.com" or "www.google.com". - string domain_name = 6 [(google.api.field_behavior) = REQUIRED]; - - // Required. The language code specifying the language of the domain, for example, - // "en". - string language_code = 7 [(google.api.field_behavior) = REQUIRED]; - - // Whether the campaign uses advertiser supplied URLs exclusively. - optional bool use_supplied_urls_only = 8; - - // The list of page feeds associated with the campaign. - repeated string feeds = 9 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Feed" - }]; - } - - // The setting for Shopping campaigns. Defines the universe of products that - // can be advertised by the campaign, and how this campaign interacts with - // other Shopping campaigns. - message ShoppingSetting { - // Immutable. ID of the Merchant Center account. - // This field is required for create operations. This field is immutable for - // Shopping campaigns. - optional int64 merchant_id = 5 [(google.api.field_behavior) = IMMUTABLE]; - - // Sales country of products to include in the campaign. - // Only one of feed_label or sales_country can be set. - // Field is immutable except for clearing. - // Once this field is cleared, you must use feed_label if you - // want to set the sales country. - optional string sales_country = 6; - - // Feed label of products to include in the campaign. - // Only one of feed_label or sales_country can be set. - // If used instead of sales_country, the feed_label field accepts country - // codes in the same format for example: 'XX'. - // Otherwise can be any string used for feed label in Google Merchant - // Center. - string feed_label = 10; - - // Priority of the campaign. Campaigns with numerically higher priorities - // take precedence over those with lower priorities. - // This field is required for Shopping campaigns, with values between 0 and - // 2, inclusive. - // This field is optional for Smart Shopping campaigns, but must be equal to - // 3 if set. - optional int32 campaign_priority = 7; - - // Whether to include local products. - optional bool enable_local = 8; - - // Immutable. Whether to target Vehicle Listing inventory. - bool use_vehicle_inventory = 9 [(google.api.field_behavior) = IMMUTABLE]; - } - - // Campaign-level settings for tracking information. - message TrackingSetting { - // Output only. The url used for dynamic tracking. - optional string tracking_url = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Represents a collection of settings related to ads geotargeting. - message GeoTargetTypeSetting { - // The setting used for positive geotargeting in this particular campaign. - google.ads.googleads.v11.enums.PositiveGeoTargetTypeEnum.PositiveGeoTargetType positive_geo_target_type = 1; - - // The setting used for negative geotargeting in this particular campaign. - google.ads.googleads.v11.enums.NegativeGeoTargetTypeEnum.NegativeGeoTargetType negative_geo_target_type = 2; - } - - // Campaign setting for local campaigns. - message LocalCampaignSetting { - // The location source type for this local campaign. - google.ads.googleads.v11.enums.LocationSourceTypeEnum.LocationSourceType location_source_type = 1; - } - - // Campaign-level settings for App Campaigns. - message AppCampaignSetting { - // Represents the goal which the bidding strategy of this app campaign - // should optimize towards. - google.ads.googleads.v11.enums.AppCampaignBiddingStrategyGoalTypeEnum.AppCampaignBiddingStrategyGoalType bidding_strategy_goal_type = 1; - - // Immutable. A string that uniquely identifies a mobile application. - optional string app_id = 4 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The application store that distributes this specific app. - google.ads.googleads.v11.enums.AppCampaignAppStoreEnum.AppCampaignAppStore app_store = 3 [(google.api.field_behavior) = IMMUTABLE]; - } - - // Describes how unbranded pharma ads will be displayed. - message VanityPharma { - // The display mode for vanity pharma URLs. - google.ads.googleads.v11.enums.VanityPharmaDisplayUrlModeEnum.VanityPharmaDisplayUrlMode vanity_pharma_display_url_mode = 1; - - // The text that will be displayed in display URL of the text ad when - // website description is the selected display mode for vanity pharma URLs. - google.ads.googleads.v11.enums.VanityPharmaTextEnum.VanityPharmaText vanity_pharma_text = 2; - } - - // Selective optimization setting for this campaign, which includes a set of - // conversion actions to optimize this campaign towards. - message SelectiveOptimization { - // The selected set of conversion actions for optimizing this campaign. - repeated string conversion_actions = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionAction" - }]; - } - - // Optimization goal setting for this campaign, which includes a set of - // optimization goal types. - message OptimizationGoalSetting { - // The list of optimization goal types. - repeated google.ads.googleads.v11.enums.OptimizationGoalTypeEnum.OptimizationGoalType optimization_goal_types = 1; - } - - // Settings for the audience targeting. - message AudienceSetting { - // Immutable. If true, this campaign uses an Audience resource for audience targeting. - // If false, this campaign may use audience segment criteria instead. - optional bool use_audience_grouped = 1 [(google.api.field_behavior) = IMMUTABLE]; - } - - // Settings for LocalServicesCampaign subresource. - message LocalServicesCampaignSettings { - // Categorical level bids associated with MANUAL_CPA bidding strategy. - repeated CategoryBid category_bids = 1; - } - - // Category bids in LocalServicesReportingCampaignSettings. - message CategoryBid { - // Category for which the bid will be associated with. For example, - // xcat:service_area_business_plumber. - optional string category_id = 1; - - // Manual CPA bid for the category. Bid must be greater than the - // reserve price associated for that category. Value is in micros - // and in the advertiser's currency. - optional int64 manual_cpa_bid_micros = 2; - } - - // Immutable. The resource name of the campaign. - // Campaign resource names have the form: - // - // `customers/{customer_id}/campaigns/{campaign_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Output only. The ID of the campaign. - optional int64 id = 59 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The name of the campaign. - // - // This field is required and should not be empty when creating new - // campaigns. - // - // It must not contain any null (code point 0x0), NL line feed - // (code point 0xA) or carriage return (code point 0xD) characters. - optional string name = 58; - - // The status of the campaign. - // - // When a new campaign is added, the status defaults to ENABLED. - google.ads.googleads.v11.enums.CampaignStatusEnum.CampaignStatus status = 5; - - // Output only. The ad serving status of the campaign. - google.ads.googleads.v11.enums.CampaignServingStatusEnum.CampaignServingStatus serving_status = 21 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The system status of the campaign's bidding strategy. - google.ads.googleads.v11.enums.BiddingStrategySystemStatusEnum.BiddingStrategySystemStatus bidding_strategy_system_status = 78 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The ad serving optimization status of the campaign. - google.ads.googleads.v11.enums.AdServingOptimizationStatusEnum.AdServingOptimizationStatus ad_serving_optimization_status = 8; - - // Immutable. The primary serving target for ads within the campaign. - // The targeting options can be refined in `network_settings`. - // - // This field is required and should not be empty when creating new - // campaigns. - // - // Can be set only when creating campaigns. - // After the campaign is created, the field can not be changed. - google.ads.googleads.v11.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_type = 9 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Optional refinement to `advertising_channel_type`. - // Must be a valid sub-type of the parent channel type. - // - // Can be set only when creating campaigns. - // After campaign is created, the field can not be changed. - google.ads.googleads.v11.enums.AdvertisingChannelSubTypeEnum.AdvertisingChannelSubType advertising_channel_sub_type = 10 [(google.api.field_behavior) = IMMUTABLE]; - - // The URL template for constructing a tracking URL. - optional string tracking_url_template = 60; - - // The list of mappings used to substitute custom parameter tags in a - // `tracking_url_template`, `final_urls`, or `mobile_final_urls`. - repeated google.ads.googleads.v11.common.CustomParameter url_custom_parameters = 12; - - // The Local Services Campaign related settings. - LocalServicesCampaignSettings local_services_campaign_settings = 75; - - // Settings for Real-Time Bidding, a feature only available for campaigns - // targeting the Ad Exchange network. - google.ads.googleads.v11.common.RealTimeBiddingSetting real_time_bidding_setting = 39; - - // The network settings for the campaign. - NetworkSettings network_settings = 14; - - // Immutable. The hotel setting for the campaign. - HotelSettingInfo hotel_setting = 32 [(google.api.field_behavior) = IMMUTABLE]; - - // The setting for controlling Dynamic Search Ads (DSA). - DynamicSearchAdsSetting dynamic_search_ads_setting = 33; - - // The setting for controlling Shopping campaigns. - ShoppingSetting shopping_setting = 36; - - // Setting for targeting related features. - google.ads.googleads.v11.common.TargetingSetting targeting_setting = 43; - - // Immutable. Setting for audience related features. - optional AudienceSetting audience_setting = 73 [(google.api.field_behavior) = IMMUTABLE]; - - // The setting for ads geotargeting. - GeoTargetTypeSetting geo_target_type_setting = 47; - - // The setting for local campaign. - LocalCampaignSetting local_campaign_setting = 50; - - // The setting related to App Campaign. - AppCampaignSetting app_campaign_setting = 51; - - // Output only. The resource names of labels attached to this campaign. - repeated string labels = 61 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignLabel" - } - ]; - - // Output only. The type of campaign: normal, draft, or experiment. - google.ads.googleads.v11.enums.CampaignExperimentTypeEnum.CampaignExperimentType experiment_type = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource name of the base campaign of a draft or experiment campaign. - // For base campaigns, this is equal to `resource_name`. - // - // This field is read-only. - optional string base_campaign = 56 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // The budget of the campaign. - optional string campaign_budget = 62 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignBudget" - }]; - - // Output only. The type of bidding strategy. - // - // A bidding strategy can be created by setting either the bidding scheme to - // create a standard bidding strategy or the `bidding_strategy` field to - // create a portfolio bidding strategy. - // - // This field is read-only. - google.ads.googleads.v11.enums.BiddingStrategyTypeEnum.BiddingStrategyType bidding_strategy_type = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Resource name of AccessibleBiddingStrategy, a read-only view of the - // unrestricted attributes of the attached portfolio bidding - // strategy identified by 'bidding_strategy'. Empty, if the campaign does not - // use a portfolio strategy. - // Unrestricted strategy attributes are available to all customers - // with whom the strategy is shared and are read from the - // AccessibleBiddingStrategy resource. In contrast, restricted attributes are - // only available to the owner customer of the strategy and their managers. - // Restricted attributes can only be read from the BiddingStrategy resource. - string accessible_bidding_strategy = 71 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AccessibleBiddingStrategy" - } - ]; - - // The date when campaign started in serving customer's timezone in YYYY-MM-DD - // format. - optional string start_date = 63; - - // The campaign group this campaign belongs to. - optional string campaign_group = 76 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignGroup" - }]; - - // The last day of the campaign in serving customer's timezone in YYYY-MM-DD - // format. - optional string end_date = 64; - - // Suffix used to append query parameters to landing pages that are served - // with parallel tracking. - optional string final_url_suffix = 65; - - // A list that limits how often each user will see this campaign's ads. - repeated google.ads.googleads.v11.common.FrequencyCapEntry frequency_caps = 40; - - // Output only. 3-Tier Brand Safety setting for the campaign. - google.ads.googleads.v11.enums.BrandSafetySuitabilityEnum.BrandSafetySuitability video_brand_safety_suitability = 42 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Describes how unbranded pharma ads will be displayed. - VanityPharma vanity_pharma = 44; - - // Selective optimization setting for this campaign, which includes a set of - // conversion actions to optimize this campaign towards. - SelectiveOptimization selective_optimization = 45; - - // Optimization goal setting for this campaign, which includes a set of - // optimization goal types. - OptimizationGoalSetting optimization_goal_setting = 54; - - // Output only. Campaign-level settings for tracking information. - TrackingSetting tracking_setting = 46 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Payment mode for the campaign. - google.ads.googleads.v11.enums.PaymentModeEnum.PaymentMode payment_mode = 52; - - // Output only. Optimization score of the campaign. - // - // Optimization score is an estimate of how well a campaign is set to perform. - // It ranges from 0% (0.0) to 100% (1.0), with 100% indicating that the - // campaign is performing at full potential. This field is null for unscored - // campaigns. - // - // See "About optimization score" at - // https://support.google.com/google-ads/answer/9061546. - // - // This field is read-only. - optional double optimization_score = 66 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The asset field types that should be excluded from this campaign. Asset - // links with these field types will not be inherited by this campaign from - // the upper level. - repeated google.ads.googleads.v11.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 69; - - // Represents opting out of URL expansion to more targeted URLs. If opted out - // (true), only the final URLs in the asset group or URLs specified in the - // advertiser's Google Merchant Center or business data feeds are targeted. - // If opted in (false), the entire domain will be targeted. This field can - // only be set for Performance Max campaigns, where the default value is - // false. - optional bool url_expansion_opt_out = 72; - - // Output only. Information about campaigns being upgraded to Performance Max. - PerformanceMaxUpgrade performance_max_upgrade = 77 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The bidding strategy for the campaign. - // - // Must be either portfolio (created through BiddingStrategy service) or - // standard, that is embedded into the campaign. - oneof campaign_bidding_strategy { - // Portfolio bidding strategy used by campaign. - string bidding_strategy = 67 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/BiddingStrategy" - }]; - - // Commission is an automatic bidding strategy in which the advertiser pays - // a certain portion of the conversion value. - google.ads.googleads.v11.common.Commission commission = 49; - - // Standard Manual CPA bidding strategy. - // Manual bidding strategy that allows advertiser to set the bid per - // advertiser-specified action. Supported only for Local Services campaigns. - google.ads.googleads.v11.common.ManualCpa manual_cpa = 74; - - // Standard Manual CPC bidding strategy. - // Manual click-based bidding where user pays per click. - google.ads.googleads.v11.common.ManualCpc manual_cpc = 24; - - // Standard Manual CPM bidding strategy. - // Manual impression-based bidding where user pays per thousand - // impressions. - google.ads.googleads.v11.common.ManualCpm manual_cpm = 25; - - // Output only. A bidding strategy that pays a configurable amount per video view. - google.ads.googleads.v11.common.ManualCpv manual_cpv = 37 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Standard Maximize Conversions bidding strategy that automatically - // maximizes number of conversions while spending your budget. - google.ads.googleads.v11.common.MaximizeConversions maximize_conversions = 30; - - // Standard Maximize Conversion Value bidding strategy that automatically - // sets bids to maximize revenue while spending your budget. - google.ads.googleads.v11.common.MaximizeConversionValue maximize_conversion_value = 31; - - // Standard Target CPA bidding strategy that automatically sets bids to - // help get as many conversions as possible at the target - // cost-per-acquisition (CPA) you set. - google.ads.googleads.v11.common.TargetCpa target_cpa = 26; - - // Target Impression Share bidding strategy. An automated bidding strategy - // that sets bids to achieve a chosen percentage of impressions. - google.ads.googleads.v11.common.TargetImpressionShare target_impression_share = 48; - - // Standard Target ROAS bidding strategy that automatically maximizes - // revenue while averaging a specific target return on ad spend (ROAS). - google.ads.googleads.v11.common.TargetRoas target_roas = 29; - - // Standard Target Spend bidding strategy that automatically sets your bids - // to help get as many clicks as possible within your budget. - google.ads.googleads.v11.common.TargetSpend target_spend = 27; - - // Standard Percent Cpc bidding strategy where bids are a fraction of the - // advertised price for some good or service. - google.ads.googleads.v11.common.PercentCpc percent_cpc = 34; - - // A bidding strategy that automatically optimizes cost per thousand - // impressions. - google.ads.googleads.v11.common.TargetCpm target_cpm = 41; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/campaign_asset.proto b/third_party/googleapis/google/ads/googleads/v11/resources/campaign_asset.proto deleted file mode 100644 index 4998dcaee..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/campaign_asset.proto +++ /dev/null @@ -1,79 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/asset_field_type.proto"; -import "google/ads/googleads/v11/enums/asset_link_status.proto"; -import "google/ads/googleads/v11/enums/asset_source.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignAssetProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the CampaignAsset resource. - -// A link between a Campaign and an Asset. -message CampaignAsset { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignAsset" - pattern: "customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}" - }; - - // Immutable. The resource name of the campaign asset. - // CampaignAsset resource names have the form: - // - // `customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignAsset" - } - ]; - - // Immutable. The campaign to which the asset is linked. - optional string campaign = 6 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Immutable. The asset which is linked to the campaign. - optional string asset = 7 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Asset" - } - ]; - - // Immutable. Role that the asset takes under the linked campaign. - // Required. - google.ads.googleads.v11.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. Source of the campaign asset link. - google.ads.googleads.v11.enums.AssetSourceEnum.AssetSource source = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Status of the campaign asset. - google.ads.googleads.v11.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/campaign_asset_set.proto b/third_party/googleapis/google/ads/googleads/v11/resources/campaign_asset_set.proto deleted file mode 100644 index 550efd5e0..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/campaign_asset_set.proto +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/asset_set_link_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignAssetSetProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the CampaignAsset resource. - -// CampaignAssetSet is the linkage between a campaign and an asset set. -// Adding a CampaignAssetSet links an asset set with a campaign. -message CampaignAssetSet { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignAssetSet" - pattern: "customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id}" - }; - - // Immutable. The resource name of the campaign asset set. - // Asset set asset resource names have the form: - // - // `customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignAssetSet" - } - ]; - - // Immutable. The campaign to which this asset set is linked. - string campaign = 2 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Immutable. The asset set which is linked to the campaign. - string asset_set = 3 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetSet" - } - ]; - - // Output only. The status of the campaign asset set asset. Read-only. - google.ads.googleads.v11.enums.AssetSetLinkStatusEnum.AssetSetLinkStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/campaign_audience_view.proto b/third_party/googleapis/google/ads/googleads/v11/resources/campaign_audience_view.proto deleted file mode 100644 index 42e1b529e..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/campaign_audience_view.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignAudienceViewProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the campaign audience view resource. - -// A campaign audience view. -// Includes performance data from interests and remarketing lists for Display -// Network and YouTube Network ads, and remarketing lists for search ads (RLSA), -// aggregated by campaign and audience criterion. This view only includes -// audiences attached at the campaign level. -message CampaignAudienceView { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignAudienceView" - pattern: "customers/{customer_id}/campaignAudienceViews/{campaign_id}~{criterion_id}" - }; - - // Output only. The resource name of the campaign audience view. - // Campaign audience view resource names have the form: - // - // `customers/{customer_id}/campaignAudienceViews/{campaign_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignAudienceView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/campaign_bid_modifier.proto b/third_party/googleapis/google/ads/googleads/v11/resources/campaign_bid_modifier.proto deleted file mode 100644 index 60275450d..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/campaign_bid_modifier.proto +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/criteria.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignBidModifierProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the Campaign Bid Modifier resource. - -// Represents a bid-modifiable only criterion at the campaign level. -message CampaignBidModifier { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignBidModifier" - pattern: "customers/{customer_id}/campaignBidModifiers/{campaign_id}~{criterion_id}" - }; - - // Immutable. The resource name of the campaign bid modifier. - // Campaign bid modifier resource names have the form: - // - // `customers/{customer_id}/campaignBidModifiers/{campaign_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignBidModifier" - } - ]; - - // Output only. The campaign to which this criterion belongs. - optional string campaign = 6 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Output only. The ID of the criterion to bid modify. - // - // This field is ignored for mutates. - optional int64 criterion_id = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The modifier for the bid when the criterion matches. - optional double bid_modifier = 8; - - // The criterion of this campaign bid modifier. - // - // Required in create operations starting in V5. - oneof criterion { - // Immutable. Criterion for interaction type. Only supported for search campaigns. - google.ads.googleads.v11.common.InteractionTypeInfo interaction_type = 5 [(google.api.field_behavior) = IMMUTABLE]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/campaign_budget.proto b/third_party/googleapis/google/ads/googleads/v11/resources/campaign_budget.proto deleted file mode 100644 index 41dbb1d63..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/campaign_budget.proto +++ /dev/null @@ -1,155 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/budget_delivery_method.proto"; -import "google/ads/googleads/v11/enums/budget_period.proto"; -import "google/ads/googleads/v11/enums/budget_status.proto"; -import "google/ads/googleads/v11/enums/budget_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignBudgetProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the Budget resource. - -// A campaign budget. -message CampaignBudget { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignBudget" - pattern: "customers/{customer_id}/campaignBudgets/{campaign_budget_id}" - }; - - // Immutable. The resource name of the campaign budget. - // Campaign budget resource names have the form: - // - // `customers/{customer_id}/campaignBudgets/{campaign_budget_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignBudget" - } - ]; - - // Output only. The ID of the campaign budget. - // - // A campaign budget is created using the CampaignBudgetService create - // operation and is assigned a budget ID. A budget ID can be shared across - // different campaigns; the system will then allocate the campaign budget - // among different campaigns to get optimum results. - optional int64 id = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The name of the campaign budget. - // - // When creating a campaign budget through CampaignBudgetService, every - // explicitly shared campaign budget must have a non-null, non-empty name. - // Campaign budgets that are not explicitly shared derive their name from the - // attached campaign's name. - // - // The length of this string must be between 1 and 255, inclusive, - // in UTF-8 bytes, (trimmed). - optional string name = 20; - - // The amount of the budget, in the local currency for the account. - // Amount is specified in micros, where one million is equivalent to one - // currency unit. Monthly spend is capped at 30.4 times this amount. - optional int64 amount_micros = 21; - - // The lifetime amount of the budget, in the local currency for the account. - // Amount is specified in micros, where one million is equivalent to one - // currency unit. - optional int64 total_amount_micros = 22; - - // Output only. The status of this campaign budget. This field is read-only. - google.ads.googleads.v11.enums.BudgetStatusEnum.BudgetStatus status = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The delivery method that determines the rate at which the campaign budget - // is spent. - // - // Defaults to STANDARD if unspecified in a create operation. - google.ads.googleads.v11.enums.BudgetDeliveryMethodEnum.BudgetDeliveryMethod delivery_method = 7; - - // Specifies whether the budget is explicitly shared. Defaults to true if - // unspecified in a create operation. - // - // If true, the budget was created with the purpose of sharing - // across one or more campaigns. - // - // If false, the budget was created with the intention of only being used - // with a single campaign. The budget's name and status will stay in sync - // with the campaign's name and status. Attempting to share the budget with a - // second campaign will result in an error. - // - // A non-shared budget can become an explicitly shared. The same operation - // must also assign the budget a name. - // - // A shared campaign budget can never become non-shared. - optional bool explicitly_shared = 23; - - // Output only. The number of campaigns actively using the budget. - // - // This field is read-only. - optional int64 reference_count = 24 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Indicates whether there is a recommended budget for this campaign budget. - // - // This field is read-only. - optional bool has_recommended_budget = 25 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The recommended budget amount. If no recommendation is available, this will - // be set to the budget amount. - // Amount is specified in micros, where one million is equivalent to one - // currency unit. - // - // This field is read-only. - optional int64 recommended_budget_amount_micros = 26 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. Period over which to spend the budget. Defaults to DAILY if not specified. - google.ads.googleads.v11.enums.BudgetPeriodEnum.BudgetPeriod period = 13 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The estimated change in weekly clicks if the recommended budget is applied. - // - // This field is read-only. - optional int64 recommended_budget_estimated_change_weekly_clicks = 27 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The estimated change in weekly cost in micros if the recommended budget is - // applied. One million is equivalent to one currency unit. - // - // This field is read-only. - optional int64 recommended_budget_estimated_change_weekly_cost_micros = 28 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The estimated change in weekly interactions if the recommended budget is - // applied. - // - // This field is read-only. - optional int64 recommended_budget_estimated_change_weekly_interactions = 29 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The estimated change in weekly views if the recommended budget is applied. - // - // This field is read-only. - optional int64 recommended_budget_estimated_change_weekly_views = 30 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The type of the campaign budget. - google.ads.googleads.v11.enums.BudgetTypeEnum.BudgetType type = 18 [(google.api.field_behavior) = IMMUTABLE]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/campaign_conversion_goal.proto b/third_party/googleapis/google/ads/googleads/v11/resources/campaign_conversion_goal.proto deleted file mode 100644 index 31ef8f6c0..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/campaign_conversion_goal.proto +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/conversion_action_category.proto"; -import "google/ads/googleads/v11/enums/conversion_origin.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignConversionGoalProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// The biddability setting for the specified campaign only for all -// conversion actions with a matching category and origin. -message CampaignConversionGoal { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignConversionGoal" - pattern: "customers/{customer_id}/campaignConversionGoals/{campaign_id}~{category}~{source}" - }; - - // Immutable. The resource name of the campaign conversion goal. - // Campaign conversion goal resource names have the form: - // - // `customers/{customer_id}/campaignConversionGoals/{campaign_id}~{category}~{origin}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignConversionGoal" - } - ]; - - // Immutable. The campaign with which this campaign conversion goal is associated. - string campaign = 2 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // The conversion category of this campaign conversion goal. - google.ads.googleads.v11.enums.ConversionActionCategoryEnum.ConversionActionCategory category = 3; - - // The conversion origin of this campaign conversion goal. - google.ads.googleads.v11.enums.ConversionOriginEnum.ConversionOrigin origin = 4; - - // The biddability of the campaign conversion goal. - bool biddable = 5; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/campaign_criterion.proto b/third_party/googleapis/google/ads/googleads/v11/resources/campaign_criterion.proto deleted file mode 100644 index a1b226efe..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/campaign_criterion.proto +++ /dev/null @@ -1,180 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/criteria.proto"; -import "google/ads/googleads/v11/enums/campaign_criterion_status.proto"; -import "google/ads/googleads/v11/enums/criterion_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignCriterionProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the Campaign Criterion resource. - -// A campaign criterion. -message CampaignCriterion { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignCriterion" - pattern: "customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}" - }; - - // Immutable. The resource name of the campaign criterion. - // Campaign criterion resource names have the form: - // - // `customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignCriterion" - } - ]; - - // Immutable. The campaign to which the criterion belongs. - optional string campaign = 37 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Output only. The ID of the criterion. - // - // This field is ignored during mutate. - optional int64 criterion_id = 38 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The display name of the criterion. - // - // This field is ignored for mutates. - string display_name = 43 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The modifier for the bids when the criterion matches. The modifier must be - // in the range: 0.1 - 10.0. Most targetable criteria types support modifiers. - // Use 0 to opt out of a Device type. - optional float bid_modifier = 39; - - // Immutable. Whether to target (`false`) or exclude (`true`) the criterion. - optional bool negative = 40 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The type of the criterion. - google.ads.googleads.v11.enums.CriterionTypeEnum.CriterionType type = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The status of the criterion. - google.ads.googleads.v11.enums.CampaignCriterionStatusEnum.CampaignCriterionStatus status = 35; - - // The campaign criterion. - // - // Exactly one must be set. - oneof criterion { - // Immutable. Keyword. - google.ads.googleads.v11.common.KeywordInfo keyword = 8 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Placement. - google.ads.googleads.v11.common.PlacementInfo placement = 9 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Mobile app category. - google.ads.googleads.v11.common.MobileAppCategoryInfo mobile_app_category = 10 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Mobile application. - google.ads.googleads.v11.common.MobileApplicationInfo mobile_application = 11 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Location. - google.ads.googleads.v11.common.LocationInfo location = 12 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Device. - google.ads.googleads.v11.common.DeviceInfo device = 13 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Ad Schedule. - google.ads.googleads.v11.common.AdScheduleInfo ad_schedule = 15 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Age range. - google.ads.googleads.v11.common.AgeRangeInfo age_range = 16 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Gender. - google.ads.googleads.v11.common.GenderInfo gender = 17 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Income range. - google.ads.googleads.v11.common.IncomeRangeInfo income_range = 18 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Parental status. - google.ads.googleads.v11.common.ParentalStatusInfo parental_status = 19 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. User List. - google.ads.googleads.v11.common.UserListInfo user_list = 22 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. YouTube Video. - google.ads.googleads.v11.common.YouTubeVideoInfo youtube_video = 20 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. YouTube Channel. - google.ads.googleads.v11.common.YouTubeChannelInfo youtube_channel = 21 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Proximity. - google.ads.googleads.v11.common.ProximityInfo proximity = 23 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Topic. - google.ads.googleads.v11.common.TopicInfo topic = 24 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Listing scope. - google.ads.googleads.v11.common.ListingScopeInfo listing_scope = 25 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Language. - google.ads.googleads.v11.common.LanguageInfo language = 26 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. IpBlock. - google.ads.googleads.v11.common.IpBlockInfo ip_block = 27 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. ContentLabel. - google.ads.googleads.v11.common.ContentLabelInfo content_label = 28 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Carrier. - google.ads.googleads.v11.common.CarrierInfo carrier = 29 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. User Interest. - google.ads.googleads.v11.common.UserInterestInfo user_interest = 30 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Webpage. - google.ads.googleads.v11.common.WebpageInfo webpage = 31 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Operating system version. - google.ads.googleads.v11.common.OperatingSystemVersionInfo operating_system_version = 32 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Mobile Device. - google.ads.googleads.v11.common.MobileDeviceInfo mobile_device = 33 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Location Group - google.ads.googleads.v11.common.LocationGroupInfo location_group = 34 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Custom Affinity. - google.ads.googleads.v11.common.CustomAffinityInfo custom_affinity = 36 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Custom Audience - google.ads.googleads.v11.common.CustomAudienceInfo custom_audience = 41 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Combined Audience. - google.ads.googleads.v11.common.CombinedAudienceInfo combined_audience = 42 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Smart Campaign Keyword Theme. - google.ads.googleads.v11.common.KeywordThemeInfo keyword_theme = 45 [(google.api.field_behavior) = IMMUTABLE]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/campaign_criterion_simulation.proto b/third_party/googleapis/google/ads/googleads/v11/resources/campaign_criterion_simulation.proto deleted file mode 100644 index b7f66d3bf..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/campaign_criterion_simulation.proto +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/simulation.proto"; -import "google/ads/googleads/v11/enums/simulation_modification_method.proto"; -import "google/ads/googleads/v11/enums/simulation_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignCriterionSimulationProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the campaign criterion simulation resource. - -// A campaign criterion simulation. Supported combinations of advertising -// channel type, criterion ids, simulation type and simulation modification -// method is detailed below respectively. -// -// 1. SEARCH - 30000,30001,30002 - BID_MODIFIER - UNIFORM -// 2. DISPLAY - 30001 - BID_MODIFIER - UNIFORM -message CampaignCriterionSimulation { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignCriterionSimulation" - pattern: "customers/{customer_id}/campaignCriterionSimulations/{campaign_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}" - }; - - // Output only. The resource name of the campaign criterion simulation. - // Campaign criterion simulation resource names have the form: - // - // `customers/{customer_id}/campaignCriterionSimulations/{campaign_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignCriterionSimulation" - } - ]; - - // Output only. Campaign ID of the simulation. - optional int64 campaign_id = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Criterion ID of the simulation. - optional int64 criterion_id = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The field that the simulation modifies. - google.ads.googleads.v11.enums.SimulationTypeEnum.SimulationType type = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. How the simulation modifies the field. - google.ads.googleads.v11.enums.SimulationModificationMethodEnum.SimulationModificationMethod modification_method = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. First day on which the simulation is based, in YYYY-MM-DD format. - optional string start_date = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Last day on which the simulation is based, in YYYY-MM-DD format. - optional string end_date = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // List of simulation points. - oneof point_list { - // Output only. Simulation points if the simulation type is BID_MODIFIER. - google.ads.googleads.v11.common.BidModifierSimulationPointList bid_modifier_point_list = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/campaign_customizer.proto b/third_party/googleapis/google/ads/googleads/v11/resources/campaign_customizer.proto deleted file mode 100644 index 46e34f134..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/campaign_customizer.proto +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/customizer_value.proto"; -import "google/ads/googleads/v11/enums/customizer_value_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignCustomizerProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// A customizer value for the associated CustomizerAttribute at the Campaign -// level. -message CampaignCustomizer { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignCustomizer" - pattern: "customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id}" - }; - - // Immutable. The resource name of the campaign customizer. - // Campaign customizer resource names have the form: - // - // `customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignCustomizer" - } - ]; - - // Immutable. The campaign to which the customizer attribute is linked. - string campaign = 2 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Required. Immutable. The customizer attribute which is linked to the campaign. - string customizer_attribute = 3 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomizerAttribute" - } - ]; - - // Output only. The status of the campaign customizer. - google.ads.googleads.v11.enums.CustomizerValueStatusEnum.CustomizerValueStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Required. The value to associate with the customizer attribute at this level. The - // value must be of the type specified for the CustomizerAttribute. - google.ads.googleads.v11.common.CustomizerValue value = 5 [(google.api.field_behavior) = REQUIRED]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/campaign_draft.proto b/third_party/googleapis/google/ads/googleads/v11/resources/campaign_draft.proto deleted file mode 100644 index 59d0e28d4..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/campaign_draft.proto +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/campaign_draft_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignDraftProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the Campaign Draft resource. - -// A campaign draft. -message CampaignDraft { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignDraft" - pattern: "customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}" - }; - - // Immutable. The resource name of the campaign draft. - // Campaign draft resource names have the form: - // - // `customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignDraft" - } - ]; - - // Output only. The ID of the draft. - // - // This field is read-only. - optional int64 draft_id = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The base campaign to which the draft belongs. - optional string base_campaign = 10 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // The name of the campaign draft. - // - // This field is required and should not be empty when creating new - // campaign drafts. - // - // It must not contain any null (code point 0x0), NL line feed - // (code point 0xA) or carriage return (code point 0xD) characters. - optional string name = 11; - - // Output only. Resource name of the Campaign that results from overlaying the draft - // changes onto the base campaign. - // - // This field is read-only. - optional string draft_campaign = 12 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Output only. The status of the campaign draft. This field is read-only. - // - // When a new campaign draft is added, the status defaults to PROPOSED. - google.ads.googleads.v11.enums.CampaignDraftStatusEnum.CampaignDraftStatus status = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Whether there is an experiment based on this draft currently serving. - optional bool has_experiment_running = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource name of the long-running operation that can be used to poll - // for completion of draft promotion. This is only set if the draft promotion - // is in progress or finished. - optional string long_running_operation = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/campaign_experiment.proto b/third_party/googleapis/google/ads/googleads/v11/resources/campaign_experiment.proto deleted file mode 100644 index 33334031c..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/campaign_experiment.proto +++ /dev/null @@ -1,120 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/campaign_experiment_status.proto"; -import "google/ads/googleads/v11/enums/campaign_experiment_traffic_split_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignExperimentProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the Campaign Experiment resource. - -// An A/B experiment that compares the performance of the base campaign -// (the control) and a variation of that campaign (the experiment). -message CampaignExperiment { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignExperiment" - pattern: "customers/{customer_id}/campaignExperiments/{campaign_experiment_id}" - }; - - // Immutable. The resource name of the campaign experiment. - // Campaign experiment resource names have the form: - // - // `customers/{customer_id}/campaignExperiments/{campaign_experiment_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignExperiment" - } - ]; - - // Output only. The ID of the campaign experiment. - // - // This field is read-only. - optional int64 id = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The campaign draft with staged changes to the base campaign. - optional string campaign_draft = 14 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignDraft" - } - ]; - - // The name of the campaign experiment. - // - // This field is required when creating new campaign experiments - // and must not conflict with the name of another non-removed - // campaign experiment or campaign. - // - // It must not contain any null (code point 0x0), NL line feed - // (code point 0xA) or carriage return (code point 0xD) characters. - optional string name = 15; - - // The description of the experiment. - optional string description = 16; - - // Immutable. Share of traffic directed to experiment as a percent (must be between 1 and - // 99 inclusive. Base campaign receives the remainder of the traffic - // (100 - traffic_split_percent). Required for create. - optional int64 traffic_split_percent = 17 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Determines the behavior of the traffic split. - google.ads.googleads.v11.enums.CampaignExperimentTrafficSplitTypeEnum.CampaignExperimentTrafficSplitType traffic_split_type = 7 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The experiment campaign, as opposed to the base campaign. - optional string experiment_campaign = 18 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Output only. The status of the campaign experiment. This field is read-only. - google.ads.googleads.v11.enums.CampaignExperimentStatusEnum.CampaignExperimentStatus status = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource name of the long-running operation that can be used to poll - // for completion of experiment create or promote. The most recent long - // running operation is returned. - optional string long_running_operation = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Date when the campaign experiment starts. By default, the experiment starts - // now or on the campaign's start date, whichever is later. If this field is - // set, then the experiment starts at the beginning of the specified date in - // the customer's time zone. Cannot be changed once the experiment starts. - // - // Format: YYYY-MM-DD - // Example: 2019-03-14 - optional string start_date = 20; - - // The last day of the campaign experiment. By default, the experiment ends on - // the campaign's end date. If this field is set, then the experiment ends at - // the end of the specified date in the customer's time zone. - // - // Format: YYYY-MM-DD - // Example: 2019-04-18 - optional string end_date = 21; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/campaign_extension_setting.proto b/third_party/googleapis/google/ads/googleads/v11/resources/campaign_extension_setting.proto deleted file mode 100644 index 290323fd0..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/campaign_extension_setting.proto +++ /dev/null @@ -1,78 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/extension_setting_device.proto"; -import "google/ads/googleads/v11/enums/extension_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignExtensionSettingProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the CampaignExtensionSetting resource. - -// A campaign extension setting. -message CampaignExtensionSetting { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignExtensionSetting" - pattern: "customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type}" - }; - - // Immutable. The resource name of the campaign extension setting. - // CampaignExtensionSetting resource names have the form: - // - // `customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignExtensionSetting" - } - ]; - - // Immutable. The extension type of the customer extension setting. - google.ads.googleads.v11.enums.ExtensionTypeEnum.ExtensionType extension_type = 2 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The resource name of the campaign. The linked extension feed items will - // serve under this campaign. - // Campaign resource names have the form: - // - // `customers/{customer_id}/campaigns/{campaign_id}` - optional string campaign = 6 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // The resource names of the extension feed items to serve under the campaign. - // ExtensionFeedItem resource names have the form: - // - // `customers/{customer_id}/extensionFeedItems/{feed_item_id}` - repeated string extension_feed_items = 7 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ExtensionFeedItem" - }]; - - // The device for which the extensions will serve. Optional. - google.ads.googleads.v11.enums.ExtensionSettingDeviceEnum.ExtensionSettingDevice device = 5; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/campaign_feed.proto b/third_party/googleapis/google/ads/googleads/v11/resources/campaign_feed.proto deleted file mode 100644 index a37ca843c..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/campaign_feed.proto +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/matching_function.proto"; -import "google/ads/googleads/v11/enums/feed_link_status.proto"; -import "google/ads/googleads/v11/enums/placeholder_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignFeedProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the CampaignFeed resource. - -// A campaign feed. -message CampaignFeed { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignFeed" - pattern: "customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id}" - }; - - // Immutable. The resource name of the campaign feed. - // Campaign feed resource names have the form: - // - // `customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id} - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignFeed" - } - ]; - - // Immutable. The feed to which the CampaignFeed belongs. - optional string feed = 7 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Feed" - } - ]; - - // Immutable. The campaign to which the CampaignFeed belongs. - optional string campaign = 8 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Indicates which placeholder types the feed may populate under the connected - // campaign. Required. - repeated google.ads.googleads.v11.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 4; - - // Matching function associated with the CampaignFeed. - // The matching function is used to filter the set of feed items selected. - // Required. - google.ads.googleads.v11.common.MatchingFunction matching_function = 5; - - // Output only. Status of the campaign feed. - // This field is read-only. - google.ads.googleads.v11.enums.FeedLinkStatusEnum.FeedLinkStatus status = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/campaign_group.proto b/third_party/googleapis/google/ads/googleads/v11/resources/campaign_group.proto deleted file mode 100644 index b066f3501..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/campaign_group.proto +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/campaign_group_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignGroupProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the Campaign group resource. - -// A campaign group. -message CampaignGroup { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignGroup" - pattern: "customers/{customer_id}/campaignGroups/{campaign_group_id}" - }; - - // Immutable. The resource name of the campaign group. - // Campaign group resource names have the form: - // - // `customers/{customer_id}/campaignGroups/{campaign_group_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignGroup" - } - ]; - - // Output only. The ID of the campaign group. - int64 id = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The name of the campaign group. - // - // This field is required and should not be empty when creating new campaign - // groups. - // - // It must not contain any null (code point 0x0), NL line feed - // (code point 0xA) or carriage return (code point 0xD) characters. - string name = 4; - - // The status of the campaign group. - // - // When a new campaign group is added, the status defaults to ENABLED. - google.ads.googleads.v11.enums.CampaignGroupStatusEnum.CampaignGroupStatus status = 5; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/campaign_label.proto b/third_party/googleapis/google/ads/googleads/v11/resources/campaign_label.proto deleted file mode 100644 index b897c5f0b..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/campaign_label.proto +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignLabelProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the campaign label resource. - -// Represents a relationship between a campaign and a label. -message CampaignLabel { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignLabel" - pattern: "customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}" - }; - - // Immutable. Name of the resource. - // Campaign label resource names have the form: - // `customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignLabel" - } - ]; - - // Immutable. The campaign to which the label is attached. - optional string campaign = 4 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Immutable. The label assigned to the campaign. - optional string label = 5 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Label" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/campaign_shared_set.proto b/third_party/googleapis/google/ads/googleads/v11/resources/campaign_shared_set.proto deleted file mode 100644 index bfd0aa797..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/campaign_shared_set.proto +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/campaign_shared_set_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignSharedSetProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the CampaignSharedSet resource. - -// CampaignSharedSets are used for managing the shared sets associated with a -// campaign. -message CampaignSharedSet { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignSharedSet" - pattern: "customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}" - }; - - // Immutable. The resource name of the campaign shared set. - // Campaign shared set resource names have the form: - // - // `customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignSharedSet" - } - ]; - - // Immutable. The campaign to which the campaign shared set belongs. - optional string campaign = 5 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Immutable. The shared set associated with the campaign. This may be a negative keyword - // shared set of another customer. This customer should be a manager of the - // other customer, otherwise the campaign shared set will exist but have no - // serving effect. Only negative keyword shared sets can be associated with - // Shopping campaigns. Only negative placement shared sets can be associated - // with Display mobile app campaigns. - optional string shared_set = 6 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/SharedSet" - } - ]; - - // Output only. The status of this campaign shared set. Read only. - google.ads.googleads.v11.enums.CampaignSharedSetStatusEnum.CampaignSharedSetStatus status = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/campaign_simulation.proto b/third_party/googleapis/google/ads/googleads/v11/resources/campaign_simulation.proto deleted file mode 100644 index c64e27454..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/campaign_simulation.proto +++ /dev/null @@ -1,101 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/simulation.proto"; -import "google/ads/googleads/v11/enums/simulation_modification_method.proto"; -import "google/ads/googleads/v11/enums/simulation_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignSimulationProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the campaign simulation resource. - -// A campaign simulation. Supported combinations of advertising -// channel type, simulation type and simulation modification -// method is detailed below respectively. -// -// SEARCH - CPC_BID - UNIFORM -// SEARCH - CPC_BID - SCALING -// SEARCH - TARGET_CPA - UNIFORM -// SEARCH - TARGET_CPA - SCALING -// SEARCH - TARGET_ROAS - UNIFORM -// SEARCH - TARGET_IMPRESSION_SHARE - UNIFORM -// SEARCH - BUDGET - UNIFORM -// SHOPPING - BUDGET - UNIFORM -// SHOPPING - TARGET_ROAS - UNIFORM -// MULTI_CHANNEL - TARGET_CPA - UNIFORM -// DISCOVERY - TARGET_CPA - DEFAULT -// DISPLAY - TARGET_CPA - UNIFORM -message CampaignSimulation { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignSimulation" - pattern: "customers/{customer_id}/campaignSimulations/{campaign_id}~{type}~{modification_method}~{start_date}~{end_date}" - }; - - // Output only. The resource name of the campaign simulation. - // Campaign simulation resource names have the form: - // - // `customers/{customer_id}/campaignSimulations/{campaign_id}~{type}~{modification_method}~{start_date}~{end_date}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignSimulation" - } - ]; - - // Output only. Campaign id of the simulation. - int64 campaign_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The field that the simulation modifies. - google.ads.googleads.v11.enums.SimulationTypeEnum.SimulationType type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. How the simulation modifies the field. - google.ads.googleads.v11.enums.SimulationModificationMethodEnum.SimulationModificationMethod modification_method = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. First day on which the simulation is based, in YYYY-MM-DD format. - string start_date = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Last day on which the simulation is based, in YYYY-MM-DD format - string end_date = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // List of simulation points. - oneof point_list { - // Output only. Simulation points if the simulation type is CPC_BID. - google.ads.googleads.v11.common.CpcBidSimulationPointList cpc_bid_point_list = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Simulation points if the simulation type is TARGET_CPA. - google.ads.googleads.v11.common.TargetCpaSimulationPointList target_cpa_point_list = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Simulation points if the simulation type is TARGET_ROAS. - google.ads.googleads.v11.common.TargetRoasSimulationPointList target_roas_point_list = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Simulation points if the simulation type is TARGET_IMPRESSION_SHARE. - google.ads.googleads.v11.common.TargetImpressionShareSimulationPointList target_impression_share_point_list = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Simulation points if the simulation type is BUDGET. - google.ads.googleads.v11.common.BudgetSimulationPointList budget_point_list = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/carrier_constant.proto b/third_party/googleapis/google/ads/googleads/v11/resources/carrier_constant.proto deleted file mode 100644 index 1d06c1485..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/carrier_constant.proto +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CarrierConstantProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the Carrier constant resource. - -// A carrier criterion that can be used in campaign targeting. -message CarrierConstant { - option (google.api.resource) = { - type: "googleads.googleapis.com/CarrierConstant" - pattern: "carrierConstants/{criterion_id}" - }; - - // Output only. The resource name of the carrier criterion. - // Carrier criterion resource names have the form: - // - // `carrierConstants/{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CarrierConstant" - } - ]; - - // Output only. The ID of the carrier criterion. - optional int64 id = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The full name of the carrier in English. - optional string name = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The country code of the country where the carrier is located, for example, - // "AR", "FR", etc. - optional string country_code = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/change_event.proto b/third_party/googleapis/google/ads/googleads/v11/resources/change_event.proto deleted file mode 100644 index c0e166516..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/change_event.proto +++ /dev/null @@ -1,208 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/change_client_type.proto"; -import "google/ads/googleads/v11/enums/change_event_resource_type.proto"; -import "google/ads/googleads/v11/enums/resource_change_operation.proto"; -import "google/ads/googleads/v11/resources/ad.proto"; -import "google/ads/googleads/v11/resources/ad_group.proto"; -import "google/ads/googleads/v11/resources/ad_group_ad.proto"; -import "google/ads/googleads/v11/resources/ad_group_asset.proto"; -import "google/ads/googleads/v11/resources/ad_group_bid_modifier.proto"; -import "google/ads/googleads/v11/resources/ad_group_criterion.proto"; -import "google/ads/googleads/v11/resources/ad_group_feed.proto"; -import "google/ads/googleads/v11/resources/asset.proto"; -import "google/ads/googleads/v11/resources/asset_set.proto"; -import "google/ads/googleads/v11/resources/asset_set_asset.proto"; -import "google/ads/googleads/v11/resources/campaign.proto"; -import "google/ads/googleads/v11/resources/campaign_asset.proto"; -import "google/ads/googleads/v11/resources/campaign_asset_set.proto"; -import "google/ads/googleads/v11/resources/campaign_budget.proto"; -import "google/ads/googleads/v11/resources/campaign_criterion.proto"; -import "google/ads/googleads/v11/resources/campaign_feed.proto"; -import "google/ads/googleads/v11/resources/customer_asset.proto"; -import "google/ads/googleads/v11/resources/feed.proto"; -import "google/ads/googleads/v11/resources/feed_item.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ChangeEventProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the Change Event resource. - -// Describes the granular change of returned resource of certain resource types. -// Changes made through UI, API and new versions of Editor -// by external users (including external users, and internal users that can be -// shown externally) in the past 30 days will be shown. The change shows the old -// values of the changed fields before the change and the new values right after -// the change. ChangeEvent could have up to 3 minutes delay to reflect a new -// change. -message ChangeEvent { - option (google.api.resource) = { - type: "googleads.googleapis.com/ChangeEvent" - pattern: "customers/{customer_id}/changeEvents/{timestamp_micros}~{command_index}~{mutate_index}" - }; - - // A wrapper proto presenting all supported resources. - // Only the resource of the change_resource_type will be set. - message ChangedResource { - // Output only. Set if change_resource_type == AD. - Ad ad = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == AD_GROUP. - AdGroup ad_group = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == AD_GROUP_CRITERION. - AdGroupCriterion ad_group_criterion = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == CAMPAIGN. - Campaign campaign = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == CAMPAIGN_BUDGET. - CampaignBudget campaign_budget = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == AD_GROUP_BID_MODIFIER. - AdGroupBidModifier ad_group_bid_modifier = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == CAMPAIGN_CRITERION. - CampaignCriterion campaign_criterion = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == FEED. - Feed feed = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == FEED_ITEM. - FeedItem feed_item = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == CAMPAIGN_FEED. - CampaignFeed campaign_feed = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == AD_GROUP_FEED. - AdGroupFeed ad_group_feed = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == AD_GROUP_AD. - AdGroupAd ad_group_ad = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == ASSET. - Asset asset = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == CUSTOMER_ASSET. - CustomerAsset customer_asset = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == CAMPAIGN_ASSET. - CampaignAsset campaign_asset = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == AD_GROUP_ASSET. - AdGroupAsset ad_group_asset = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == ASSET_SET. - AssetSet asset_set = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == ASSET_SET_ASSET. - AssetSetAsset asset_set_asset = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == CAMPAIGN_ASSET_SET. - CampaignAssetSet campaign_asset_set = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Output only. The resource name of the change event. - // Change event resource names have the form: - // - // `customers/{customer_id}/changeEvents/{timestamp_micros}~{command_index}~{mutate_index}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ChangeEvent" - } - ]; - - // Output only. Time at which the change was committed on this resource. - string change_date_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The type of the changed resource. This dictates what resource - // will be set in old_resource and new_resource. - google.ads.googleads.v11.enums.ChangeEventResourceTypeEnum.ChangeEventResourceType change_resource_type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The Simply resource this change occurred on. - string change_resource_name = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Where the change was made through. - google.ads.googleads.v11.enums.ChangeClientTypeEnum.ChangeClientType client_type = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The email of the user who made this change. - string user_email = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The old resource before the change. Only changed fields will be populated. - ChangedResource old_resource = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The new resource after the change. Only changed fields will be populated. - ChangedResource new_resource = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The operation on the changed resource. - google.ads.googleads.v11.enums.ResourceChangeOperationEnum.ResourceChangeOperation resource_change_operation = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. A list of fields that are changed in the returned resource. - google.protobuf.FieldMask changed_fields = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The Campaign affected by this change. - string campaign = 11 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Output only. The AdGroup affected by this change. - string ad_group = 12 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Output only. The Feed affected by this change. - string feed = 13 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Feed" - } - ]; - - // Output only. The FeedItem affected by this change. - string feed_item = 14 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItem" - } - ]; - - // Output only. The Asset affected by this change. - string asset = 20 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Asset" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/change_status.proto b/third_party/googleapis/google/ads/googleads/v11/resources/change_status.proto deleted file mode 100644 index 9413af4a0..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/change_status.proto +++ /dev/null @@ -1,192 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/change_status_operation.proto"; -import "google/ads/googleads/v11/enums/change_status_resource_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ChangeStatusProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the Change Status resource. - -// Describes the status of returned resource. ChangeStatus could have up to 3 -// minutes delay to reflect a new change. -message ChangeStatus { - option (google.api.resource) = { - type: "googleads.googleapis.com/ChangeStatus" - pattern: "customers/{customer_id}/changeStatus/{change_status_id}" - }; - - // Output only. The resource name of the change status. - // Change status resource names have the form: - // - // `customers/{customer_id}/changeStatus/{change_status_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ChangeStatus" - } - ]; - - // Output only. Time at which the most recent change has occurred on this resource. - optional string last_change_date_time = 24 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Represents the type of the changed resource. This dictates what fields - // will be set. For example, for AD_GROUP, campaign and ad_group fields will - // be set. - google.ads.googleads.v11.enums.ChangeStatusResourceTypeEnum.ChangeStatusResourceType resource_type = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The Campaign affected by this change. - optional string campaign = 17 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Output only. The AdGroup affected by this change. - optional string ad_group = 18 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Output only. Represents the status of the changed resource. - google.ads.googleads.v11.enums.ChangeStatusOperationEnum.ChangeStatusOperation resource_status = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The AdGroupAd affected by this change. - optional string ad_group_ad = 25 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAd" - } - ]; - - // Output only. The AdGroupCriterion affected by this change. - optional string ad_group_criterion = 26 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterion" - } - ]; - - // Output only. The CampaignCriterion affected by this change. - optional string campaign_criterion = 27 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignCriterion" - } - ]; - - // Output only. The Feed affected by this change. - optional string feed = 28 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Feed" - } - ]; - - // Output only. The FeedItem affected by this change. - optional string feed_item = 29 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItem" - } - ]; - - // Output only. The AdGroupFeed affected by this change. - optional string ad_group_feed = 30 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupFeed" - } - ]; - - // Output only. The CampaignFeed affected by this change. - optional string campaign_feed = 31 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignFeed" - } - ]; - - // Output only. The AdGroupBidModifier affected by this change. - optional string ad_group_bid_modifier = 32 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupBidModifier" - } - ]; - - // Output only. The SharedSet affected by this change. - string shared_set = 33 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/SharedSet" - } - ]; - - // Output only. The CampaignSharedSet affected by this change. - string campaign_shared_set = 34 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignSharedSet" - } - ]; - - // Output only. The Asset affected by this change. - string asset = 35 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Asset" - } - ]; - - // Output only. The CustomerAsset affected by this change. - string customer_asset = 36 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerAsset" - } - ]; - - // Output only. The CampaignAsset affected by this change. - string campaign_asset = 37 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignAsset" - } - ]; - - // Output only. The AdGroupAsset affected by this change. - string ad_group_asset = 38 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAsset" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/click_view.proto b/third_party/googleapis/google/ads/googleads/v11/resources/click_view.proto deleted file mode 100644 index bfaf81c2b..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/click_view.proto +++ /dev/null @@ -1,107 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/click_location.proto"; -import "google/ads/googleads/v11/common/criteria.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ClickViewProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the ClickView resource. - -// A click view with metrics aggregated at each click level, including both -// valid and invalid clicks. For non-Search campaigns, metrics.clicks -// represents the number of valid and invalid interactions. -// Queries including ClickView must have a filter limiting the results to one -// day and can be requested for dates back to 90 days before the time of the -// request. -message ClickView { - option (google.api.resource) = { - type: "googleads.googleapis.com/ClickView" - pattern: "customers/{customer_id}/clickViews/{date}~{gclid}" - }; - - // Output only. The resource name of the click view. - // Click view resource names have the form: - // - // `customers/{customer_id}/clickViews/{date (yyyy-MM-dd)}~{gclid}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ClickView" - } - ]; - - // Output only. The Google Click ID. - optional string gclid = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The location criteria matching the area of interest associated with the - // impression. - google.ads.googleads.v11.common.ClickLocation area_of_interest = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The location criteria matching the location of presence associated with the - // impression. - google.ads.googleads.v11.common.ClickLocation location_of_presence = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Page number in search results where the ad was shown. - optional int64 page_number = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The associated ad. - optional string ad_group_ad = 10 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAd" - } - ]; - - // Output only. The associated campaign location target, if one exists. - optional string campaign_location_target = 11 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/GeoTargetConstant" - } - ]; - - // Output only. The associated user list, if one exists. - optional string user_list = 12 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/UserList" - } - ]; - - // Output only. The associated keyword, if one exists and the click corresponds to the - // SEARCH channel. - string keyword = 13 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterion" - } - ]; - - // Output only. Basic information about the associated keyword, if it exists. - google.ads.googleads.v11.common.KeywordInfo keyword_info = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/combined_audience.proto b/third_party/googleapis/google/ads/googleads/v11/resources/combined_audience.proto deleted file mode 100644 index cbb21e887..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/combined_audience.proto +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/combined_audience_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CombinedAudienceProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the Combined Audience resource. - -// Describe a resource for combined audiences which includes different -// audiences. -message CombinedAudience { - option (google.api.resource) = { - type: "googleads.googleapis.com/CombinedAudience" - pattern: "customers/{customer_id}/combinedAudiences/{combined_audience_id}" - }; - - // Immutable. The resource name of the combined audience. - // Combined audience names have the form: - // - // `customers/{customer_id}/combinedAudience/{combined_audience_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CombinedAudience" - } - ]; - - // Output only. ID of the combined audience. - int64 id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Status of this combined audience. Indicates whether the combined audience - // is enabled or removed. - google.ads.googleads.v11.enums.CombinedAudienceStatusEnum.CombinedAudienceStatus status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Name of the combined audience. It should be unique across all combined - // audiences. - string name = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Description of this combined audience. - string description = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/conversion_action.proto b/third_party/googleapis/google/ads/googleads/v11/resources/conversion_action.proto deleted file mode 100644 index 9fe426def..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/conversion_action.proto +++ /dev/null @@ -1,197 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/tag_snippet.proto"; -import "google/ads/googleads/v11/enums/attribution_model.proto"; -import "google/ads/googleads/v11/enums/conversion_action_category.proto"; -import "google/ads/googleads/v11/enums/conversion_action_counting_type.proto"; -import "google/ads/googleads/v11/enums/conversion_action_status.proto"; -import "google/ads/googleads/v11/enums/conversion_action_type.proto"; -import "google/ads/googleads/v11/enums/conversion_origin.proto"; -import "google/ads/googleads/v11/enums/data_driven_model_status.proto"; -import "google/ads/googleads/v11/enums/mobile_app_vendor.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ConversionActionProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the Conversion Action resource. - -// A conversion action. -message ConversionAction { - option (google.api.resource) = { - type: "googleads.googleapis.com/ConversionAction" - pattern: "customers/{customer_id}/conversionActions/{conversion_action_id}" - }; - - // Settings related to this conversion action's attribution model. - message AttributionModelSettings { - // The attribution model type of this conversion action. - google.ads.googleads.v11.enums.AttributionModelEnum.AttributionModel attribution_model = 1; - - // Output only. The status of the data-driven attribution model for the conversion - // action. - google.ads.googleads.v11.enums.DataDrivenModelStatusEnum.DataDrivenModelStatus data_driven_model_status = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Settings related to the value for conversion events associated with this - // conversion action. - message ValueSettings { - // The value to use when conversion events for this conversion action are - // sent with an invalid, disallowed or missing value, or when - // this conversion action is configured to always use the default value. - optional double default_value = 4; - - // The currency code to use when conversion events for this conversion - // action are sent with an invalid or missing currency code, or when this - // conversion action is configured to always use the default value. - optional string default_currency_code = 5; - - // Controls whether the default value and default currency code are used in - // place of the value and currency code specified in conversion events for - // this conversion action. - optional bool always_use_default_value = 6; - } - - // Settings related to a third party app analytics conversion action. - message ThirdPartyAppAnalyticsSettings { - // Output only. The event name of a third-party app analytics conversion. - optional string event_name = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Name of the third-party app analytics provider. - string provider_name = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Settings related to a Firebase conversion action. - message FirebaseSettings { - // Output only. The event name of a Firebase conversion. - optional string event_name = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The Firebase project ID of the conversion. - optional string project_id = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The GA property ID of the conversion. - int64 property_id = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The GA property name of the conversion. - string property_name = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Immutable. The resource name of the conversion action. - // Conversion action resource names have the form: - // - // `customers/{customer_id}/conversionActions/{conversion_action_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionAction" - } - ]; - - // Output only. The ID of the conversion action. - optional int64 id = 21 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The name of the conversion action. - // - // This field is required and should not be empty when creating new - // conversion actions. - optional string name = 22; - - // The status of this conversion action for conversion event accrual. - google.ads.googleads.v11.enums.ConversionActionStatusEnum.ConversionActionStatus status = 4; - - // Immutable. The type of this conversion action. - google.ads.googleads.v11.enums.ConversionActionTypeEnum.ConversionActionType type = 5 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The conversion origin of this conversion action. - google.ads.googleads.v11.enums.ConversionOriginEnum.ConversionOrigin origin = 30 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // If a conversion action's primary_for_goal bit is false, the conversion - // action is non-biddable for all campaigns regardless of their customer - // conversion goal or campaign conversion goal. - // However, custom conversion goals do not respect primary_for_goal, so if - // a campaign has a custom conversion goal configured with a - // primary_for_goal = false conversion action, that conversion action is - // still biddable. - // By default, primary_for_goal will be true if not set. In V9, - // primary_for_goal can only be set to false after creation through an - // 'update' operation because it's not declared as optional. - optional bool primary_for_goal = 31; - - // The category of conversions reported for this conversion action. - google.ads.googleads.v11.enums.ConversionActionCategoryEnum.ConversionActionCategory category = 6; - - // Output only. The resource name of the conversion action owner customer, or null if this - // is a system-defined conversion action. - optional string owner_customer = 23 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Customer" - } - ]; - - // Whether this conversion action should be included in the "conversions" - // metric. - optional bool include_in_conversions_metric = 24; - - // The maximum number of days that may elapse between an interaction - // (for example, a click) and a conversion event. - optional int64 click_through_lookback_window_days = 25; - - // The maximum number of days which may elapse between an impression and a - // conversion without an interaction. - optional int64 view_through_lookback_window_days = 26; - - // Settings related to the value for conversion events associated with this - // conversion action. - ValueSettings value_settings = 11; - - // How to count conversion events for the conversion action. - google.ads.googleads.v11.enums.ConversionActionCountingTypeEnum.ConversionActionCountingType counting_type = 12; - - // Settings related to this conversion action's attribution model. - AttributionModelSettings attribution_model_settings = 13; - - // Output only. The snippets used for tracking conversions. - repeated google.ads.googleads.v11.common.TagSnippet tag_snippets = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The phone call duration in seconds after which a conversion should be - // reported for this conversion action. - // - // The value must be between 0 and 10000, inclusive. - optional int64 phone_call_duration_seconds = 27; - - // App ID for an app conversion action. - optional string app_id = 28; - - // Output only. Mobile app vendor for an app conversion action. - google.ads.googleads.v11.enums.MobileAppVendorEnum.MobileAppVendor mobile_app_vendor = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Firebase settings for Firebase conversion types. - FirebaseSettings firebase_settings = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Third Party App Analytics settings for third party conversion types. - ThirdPartyAppAnalyticsSettings third_party_app_analytics_settings = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/conversion_custom_variable.proto b/third_party/googleapis/google/ads/googleads/v11/resources/conversion_custom_variable.proto deleted file mode 100644 index 68997b39e..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/conversion_custom_variable.proto +++ /dev/null @@ -1,85 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/conversion_custom_variable_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ConversionCustomVariableProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the Conversion Custom Variable resource. - -// A conversion custom variable -// See "About custom variables for conversions" at -// https://support.google.com/google-ads/answer/9964350 -message ConversionCustomVariable { - option (google.api.resource) = { - type: "googleads.googleapis.com/ConversionCustomVariable" - pattern: "customers/{customer_id}/conversionCustomVariables/{conversion_custom_variable_id}" - }; - - // Immutable. The resource name of the conversion custom variable. - // Conversion custom variable resource names have the form: - // - // `customers/{customer_id}/conversionCustomVariables/{conversion_custom_variable_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionCustomVariable" - } - ]; - - // Output only. The ID of the conversion custom variable. - int64 id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Required. The name of the conversion custom variable. - // Name should be unique. The maximum length of name is 100 characters. - // There should not be any extra spaces before and after. - string name = 3 [(google.api.field_behavior) = REQUIRED]; - - // Required. Immutable. The tag of the conversion custom variable. It is used in the event snippet - // and sent to Google Ads along with conversion pings. For conversion uploads - // in Google Ads API, the resource name of the conversion custom variable is - // used. - // Tag should be unique. The maximum size of tag is 100 bytes. - // There should not be any extra spaces before and after. - // Currently only lowercase letters, numbers and underscores are allowed in - // the tag. - string tag = 4 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE - ]; - - // The status of the conversion custom variable for conversion event accrual. - google.ads.googleads.v11.enums.ConversionCustomVariableStatusEnum.ConversionCustomVariableStatus status = 5; - - // Output only. The resource name of the customer that owns the conversion custom variable. - string owner_customer = 6 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Customer" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/conversion_goal_campaign_config.proto b/third_party/googleapis/google/ads/googleads/v11/resources/conversion_goal_campaign_config.proto deleted file mode 100644 index 0ffb366ad..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/conversion_goal_campaign_config.proto +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/goal_config_level.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ConversionGoalCampaignConfigProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Conversion goal settings for a Campaign. -message ConversionGoalCampaignConfig { - option (google.api.resource) = { - type: "googleads.googleapis.com/ConversionGoalCampaignConfig" - pattern: "customers/{customer_id}/conversionGoalCampaignConfigs/{campaign_id}" - }; - - // Immutable. The resource name of the conversion goal campaign config. - // Conversion goal campaign config resource names have the form: - // - // `customers/{customer_id}/conversionGoalCampaignConfigs/{campaign_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionGoalCampaignConfig" - } - ]; - - // Immutable. The campaign with which this conversion goal campaign config is associated. - string campaign = 2 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // The level of goal config the campaign is using. - google.ads.googleads.v11.enums.GoalConfigLevelEnum.GoalConfigLevel goal_config_level = 3; - - // The custom conversion goal the campaign is using for optimization. - string custom_conversion_goal = 4 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomConversionGoal" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/conversion_value_rule.proto b/third_party/googleapis/google/ads/googleads/v11/resources/conversion_value_rule.proto deleted file mode 100644 index d88396ae9..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/conversion_value_rule.proto +++ /dev/null @@ -1,134 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/conversion_value_rule_status.proto"; -import "google/ads/googleads/v11/enums/value_rule_device_type.proto"; -import "google/ads/googleads/v11/enums/value_rule_geo_location_match_type.proto"; -import "google/ads/googleads/v11/enums/value_rule_operation.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ConversionValueRuleProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the Conversion Value Rule resource. - -// A conversion value rule -message ConversionValueRule { - option (google.api.resource) = { - type: "googleads.googleapis.com/ConversionValueRule" - pattern: "customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}" - }; - - // Action applied when rule is applied. - message ValueRuleAction { - // Specifies applied operation. - google.ads.googleads.v11.enums.ValueRuleOperationEnum.ValueRuleOperation operation = 1; - - // Specifies applied value. - double value = 2; - } - - // Condition on Geo dimension. - message ValueRuleGeoLocationCondition { - // Geo locations that advertisers want to exclude. - repeated string excluded_geo_target_constants = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/GeoTargetConstant" - }]; - - // Excluded Geo location match type. - google.ads.googleads.v11.enums.ValueRuleGeoLocationMatchTypeEnum.ValueRuleGeoLocationMatchType excluded_geo_match_type = 2; - - // Geo locations that advertisers want to include. - repeated string geo_target_constants = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/GeoTargetConstant" - }]; - - // Included Geo location match type. - google.ads.googleads.v11.enums.ValueRuleGeoLocationMatchTypeEnum.ValueRuleGeoLocationMatchType geo_match_type = 4; - } - - // Condition on Device dimension. - message ValueRuleDeviceCondition { - // Value for device type condition. - repeated google.ads.googleads.v11.enums.ValueRuleDeviceTypeEnum.ValueRuleDeviceType device_types = 1; - } - - // Condition on Audience dimension. - message ValueRuleAudienceCondition { - // User Lists. - repeated string user_lists = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/UserList" - }]; - - // User Interests. - repeated string user_interests = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/UserInterest" - }]; - } - - // Immutable. The resource name of the conversion value rule. - // Conversion value rule resource names have the form: - // - // `customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionValueRule" - } - ]; - - // Output only. The ID of the conversion value rule. - int64 id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Action applied when the rule is triggered. - ValueRuleAction action = 3; - - // Condition for Geo location that must be satisfied for the value rule to - // apply. - ValueRuleGeoLocationCondition geo_location_condition = 4; - - // Condition for device type that must be satisfied for the value rule to - // apply. - ValueRuleDeviceCondition device_condition = 5; - - // Condition for audience that must be satisfied for the value rule to apply. - ValueRuleAudienceCondition audience_condition = 6; - - // Output only. The resource name of the conversion value rule's owner customer. - // When the value rule is inherited from a manager - // customer, owner_customer will be the resource name of the manager whereas - // the customer in the resource_name will be of the requesting serving - // customer. - // ** Read-only ** - string owner_customer = 7 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Customer" - } - ]; - - // The status of the conversion value rule. - google.ads.googleads.v11.enums.ConversionValueRuleStatusEnum.ConversionValueRuleStatus status = 8; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/conversion_value_rule_set.proto b/third_party/googleapis/google/ads/googleads/v11/resources/conversion_value_rule_set.proto deleted file mode 100644 index 58d694103..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/conversion_value_rule_set.proto +++ /dev/null @@ -1,99 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/conversion_action_category.proto"; -import "google/ads/googleads/v11/enums/conversion_value_rule_set_status.proto"; -import "google/ads/googleads/v11/enums/value_rule_set_attachment_type.proto"; -import "google/ads/googleads/v11/enums/value_rule_set_dimension.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ConversionValueRuleSetProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the Conversion Value Rule Set resource. - -// A conversion value rule set -message ConversionValueRuleSet { - option (google.api.resource) = { - type: "googleads.googleapis.com/ConversionValueRuleSet" - pattern: "customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}" - }; - - // Immutable. The resource name of the conversion value rule set. - // Conversion value rule set resource names have the form: - // - // `customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionValueRuleSet" - } - ]; - - // Output only. The ID of the conversion value rule set. - int64 id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Resource names of rules within the rule set. - repeated string conversion_value_rules = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionValueRule" - }]; - - // Defines dimensions for Value Rule conditions. The condition types of value - // rules within this value rule set must be of these dimensions. The first - // entry in this list is the primary dimension of the included value rules. - // When using value rule primary dimension segmentation, conversion values - // will be segmented into the values adjusted by value rules and the original - // values, if some value rules apply. - repeated google.ads.googleads.v11.enums.ValueRuleSetDimensionEnum.ValueRuleSetDimension dimensions = 4; - - // Output only. The resource name of the conversion value rule set's owner customer. - // When the value rule set is inherited from a manager - // customer, owner_customer will be the resource name of the manager whereas - // the customer in the resource_name will be of the requesting serving - // customer. - // ** Read-only ** - string owner_customer = 5 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Customer" - } - ]; - - // Immutable. Defines the scope where the conversion value rule set is attached. - google.ads.googleads.v11.enums.ValueRuleSetAttachmentTypeEnum.ValueRuleSetAttachmentType attachment_type = 6 [(google.api.field_behavior) = IMMUTABLE]; - - // The resource name of the campaign when the conversion value rule - // set is attached to a campaign. - string campaign = 7 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - }]; - - // Output only. The status of the conversion value rule set. - // ** Read-only ** - google.ads.googleads.v11.enums.ConversionValueRuleSetStatusEnum.ConversionValueRuleSetStatus status = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The conversion action categories of the conversion value rule set. - repeated google.ads.googleads.v11.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_categories = 9 [(google.api.field_behavior) = IMMUTABLE]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/currency_constant.proto b/third_party/googleapis/google/ads/googleads/v11/resources/currency_constant.proto deleted file mode 100644 index 1edc885f3..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/currency_constant.proto +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CurrencyConstantProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the Currency Constant resource. - -// A currency constant. -message CurrencyConstant { - option (google.api.resource) = { - type: "googleads.googleapis.com/CurrencyConstant" - pattern: "currencyConstants/{code}" - }; - - // Output only. The resource name of the currency constant. - // Currency constant resource names have the form: - // - // `currencyConstants/{code}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CurrencyConstant" - } - ]; - - // Output only. ISO 4217 three-letter currency code, for example, "USD" - optional string code = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Full English name of the currency. - optional string name = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Standard symbol for describing this currency, for example, '$' for US - // Dollars. - optional string symbol = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The billable unit for this currency. Billed amounts should be multiples of - // this value. - optional int64 billable_unit_micros = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/custom_audience.proto b/third_party/googleapis/google/ads/googleads/v11/resources/custom_audience.proto deleted file mode 100644 index 061bf5fe0..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/custom_audience.proto +++ /dev/null @@ -1,106 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/custom_audience_member_type.proto"; -import "google/ads/googleads/v11/enums/custom_audience_status.proto"; -import "google/ads/googleads/v11/enums/custom_audience_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomAudienceProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the Custom Audience resource. - -// A custom audience. This is a list of users by interest. -message CustomAudience { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomAudience" - pattern: "customers/{customer_id}/customAudiences/{custom_audience_id}" - }; - - // Immutable. The resource name of the custom audience. - // Custom audience resource names have the form: - // - // `customers/{customer_id}/customAudiences/{custom_audience_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomAudience" - } - ]; - - // Output only. ID of the custom audience. - int64 id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Status of this custom audience. Indicates whether the custom audience is - // enabled or removed. - google.ads.googleads.v11.enums.CustomAudienceStatusEnum.CustomAudienceStatus status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Name of the custom audience. It should be unique for all custom audiences - // created by a customer. - // This field is required for creating operations. - string name = 4; - - // Type of the custom audience. - // ("INTEREST" OR "PURCHASE_INTENT" is not allowed for newly created custom - // audience but kept for existing audiences) - google.ads.googleads.v11.enums.CustomAudienceTypeEnum.CustomAudienceType type = 5; - - // Description of this custom audience. - string description = 6; - - // List of custom audience members that this custom audience is composed of. - // Members can be added during CustomAudience creation. If members are - // presented in UPDATE operation, existing members will be overridden. - repeated CustomAudienceMember members = 7; -} - -// A member of custom audience. A member can be a KEYWORD, URL, -// PLACE_CATEGORY or APP. It can only be created or removed but not changed. -message CustomAudienceMember { - // The type of custom audience member, KEYWORD, URL, PLACE_CATEGORY or APP. - google.ads.googleads.v11.enums.CustomAudienceMemberTypeEnum.CustomAudienceMemberType member_type = 1; - - // The CustomAudienceMember value. One field is populated depending on the - // member type. - oneof value { - // A keyword or keyword phrase — at most 10 words and 80 characters. - // Languages with double-width characters such as Chinese, Japanese, - // or Korean, are allowed 40 characters, which describes the user's - // interests or actions. - string keyword = 2; - - // An HTTP URL, protocol-included — at most 2048 characters, which includes - // contents users have interests in. - string url = 3; - - // A place type described by a place category users visit. - int64 place_category = 4; - - // A package name of Android apps which users installed such as - // com.google.example. - string app = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/custom_conversion_goal.proto b/third_party/googleapis/google/ads/googleads/v11/resources/custom_conversion_goal.proto deleted file mode 100644 index c5ec6aa5e..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/custom_conversion_goal.proto +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/custom_conversion_goal_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomConversionGoalProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Custom conversion goal that can make arbitrary conversion actions biddable. -message CustomConversionGoal { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomConversionGoal" - pattern: "customers/{customer_id}/customConversionGoals/{goal_id}" - }; - - // Immutable. The resource name of the custom conversion goal. - // Custom conversion goal resource names have the form: - // - // `customers/{customer_id}/customConversionGoals/{goal_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomConversionGoal" - } - ]; - - // Immutable. The ID for this custom conversion goal. - int64 id = 2 [(google.api.field_behavior) = IMMUTABLE]; - - // The name for this custom conversion goal. - string name = 3; - - // Conversion actions that the custom conversion goal makes biddable. - repeated string conversion_actions = 4 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionAction" - }]; - - // The status of the custom conversion goal. - google.ads.googleads.v11.enums.CustomConversionGoalStatusEnum.CustomConversionGoalStatus status = 5; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/custom_interest.proto b/third_party/googleapis/google/ads/googleads/v11/resources/custom_interest.proto deleted file mode 100644 index 7740342dd..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/custom_interest.proto +++ /dev/null @@ -1,88 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/custom_interest_member_type.proto"; -import "google/ads/googleads/v11/enums/custom_interest_status.proto"; -import "google/ads/googleads/v11/enums/custom_interest_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomInterestProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the Custom Interest resource. - -// A custom interest. This is a list of users by interest. -message CustomInterest { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomInterest" - pattern: "customers/{customer_id}/customInterests/{custom_interest_id}" - }; - - // Immutable. The resource name of the custom interest. - // Custom interest resource names have the form: - // - // `customers/{customer_id}/customInterests/{custom_interest_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomInterest" - } - ]; - - // Output only. Id of the custom interest. - optional int64 id = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Status of this custom interest. Indicates whether the custom interest is - // enabled or removed. - google.ads.googleads.v11.enums.CustomInterestStatusEnum.CustomInterestStatus status = 3; - - // Name of the custom interest. It should be unique across the same custom - // affinity audience. - // This field is required for create operations. - optional string name = 9; - - // Type of the custom interest, CUSTOM_AFFINITY or CUSTOM_INTENT. - // By default the type is set to CUSTOM_AFFINITY. - google.ads.googleads.v11.enums.CustomInterestTypeEnum.CustomInterestType type = 5; - - // Description of this custom interest audience. - optional string description = 10; - - // List of custom interest members that this custom interest is composed of. - // Members can be added during CustomInterest creation. If members are - // presented in UPDATE operation, existing members will be overridden. - repeated CustomInterestMember members = 7; -} - -// A member of custom interest audience. A member can be a keyword or url. -// It is immutable, that is, it can only be created or removed but not changed. -message CustomInterestMember { - // The type of custom interest member, KEYWORD or URL. - google.ads.googleads.v11.enums.CustomInterestMemberTypeEnum.CustomInterestMemberType member_type = 1; - - // Keyword text when member_type is KEYWORD or URL string when - // member_type is URL. - optional string parameter = 3; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/customer.proto b/third_party/googleapis/google/ads/googleads/v11/resources/customer.proto deleted file mode 100644 index 123105c9d..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/customer.proto +++ /dev/null @@ -1,188 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/conversion_tracking_status_enum.proto"; -import "google/ads/googleads/v11/enums/customer_pay_per_conversion_eligibility_failure_reason.proto"; -import "google/ads/googleads/v11/enums/customer_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the Customer resource. - -// A customer. -message Customer { - option (google.api.resource) = { - type: "googleads.googleapis.com/Customer" - pattern: "customers/{customer_id}" - }; - - // Immutable. The resource name of the customer. - // Customer resource names have the form: - // - // `customers/{customer_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Customer" - } - ]; - - // Output only. The ID of the customer. - optional int64 id = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Optional, non-unique descriptive name of the customer. - optional string descriptive_name = 20; - - // Immutable. The currency in which the account operates. - // A subset of the currency codes from the ISO 4217 standard is - // supported. - optional string currency_code = 21 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The local timezone ID of the customer. - optional string time_zone = 22 [(google.api.field_behavior) = IMMUTABLE]; - - // The URL template for constructing a tracking URL out of parameters. - optional string tracking_url_template = 23; - - // The URL template for appending params to the final URL - optional string final_url_suffix = 24; - - // Whether auto-tagging is enabled for the customer. - optional bool auto_tagging_enabled = 25; - - // Output only. Whether the Customer has a Partners program badge. If the Customer is not - // associated with the Partners program, this will be false. For more - // information, see https://support.google.com/partners/answer/3125774. - optional bool has_partners_badge = 26 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Whether the customer is a manager. - optional bool manager = 27 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Whether the customer is a test account. - optional bool test_account = 28 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Call reporting setting for a customer. Only mutable in an `update` - // operation. - CallReportingSetting call_reporting_setting = 10; - - // Output only. Conversion tracking setting for a customer. - ConversionTrackingSetting conversion_tracking_setting = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Remarketing setting for a customer. - RemarketingSetting remarketing_setting = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Reasons why the customer is not eligible to use PaymentMode.CONVERSIONS. If - // the list is empty, the customer is eligible. This field is read-only. - repeated google.ads.googleads.v11.enums.CustomerPayPerConversionEligibilityFailureReasonEnum.CustomerPayPerConversionEligibilityFailureReason pay_per_conversion_eligibility_failure_reasons = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Optimization score of the customer. - // - // Optimization score is an estimate of how well a customer's campaigns are - // set to perform. It ranges from 0% (0.0) to 100% (1.0). This field is null - // for all manager customers, and for unscored non-manager customers. - // - // See "About optimization score" at - // https://support.google.com/google-ads/answer/9061546. - // - // This field is read-only. - optional double optimization_score = 29 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Optimization score weight of the customer. - // - // Optimization score weight can be used to compare/aggregate optimization - // scores across multiple non-manager customers. The aggregate optimization - // score of a manager is computed as the sum over all of their customers of - // `Customer.optimization_score * Customer.optimization_score_weight`. This - // field is 0 for all manager customers, and for unscored non-manager - // customers. - // - // This field is read-only. - double optimization_score_weight = 30 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The status of the customer. - google.ads.googleads.v11.enums.CustomerStatusEnum.CustomerStatus status = 36 [(google.api.field_behavior) = OUTPUT_ONLY]; -} - -// Call reporting setting for a customer. Only mutable in an `update` operation. -message CallReportingSetting { - // Enable reporting of phone call events by redirecting them through Google - // System. - optional bool call_reporting_enabled = 10; - - // Whether to enable call conversion reporting. - optional bool call_conversion_reporting_enabled = 11; - - // Customer-level call conversion action to attribute a call conversion to. - // If not set a default conversion action is used. Only in effect when - // call_conversion_reporting_enabled is set to true. - optional string call_conversion_action = 12 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionAction" - }]; -} - -// A collection of customer-wide settings related to Google Ads Conversion -// Tracking. -message ConversionTrackingSetting { - // Output only. The conversion tracking id used for this account. This id doesn't indicate - // whether the customer uses conversion tracking (conversion_tracking_status - // does). This field is read-only. - optional int64 conversion_tracking_id = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The conversion tracking id of the customer's manager. This is set when the - // customer is opted into cross account conversion tracking, and it overrides - // conversion_tracking_id. This field can only be managed through the Google - // Ads UI. This field is read-only. - optional int64 cross_account_conversion_tracking_id = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Whether the customer has accepted customer data terms. If using - // cross-account conversion tracking, this value is inherited from the - // manager. This field is read-only. For more - // information, see https://support.google.com/adspolicy/answer/7475709. - bool accepted_customer_data_terms = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Conversion tracking status. It indicates whether the customer is using - // conversion tracking, and who is the conversion tracking owner of this - // customer. If this customer is using cross-account conversion tracking, - // the value returned will differ based on the `login-customer-id` of the - // request. - google.ads.googleads.v11.enums.ConversionTrackingStatusEnum.ConversionTrackingStatus conversion_tracking_status = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Whether the customer is opted-in for enhanced conversions - // for leads. If using cross-account conversion tracking, this value is - // inherited from the manager. This field is read-only. - bool enhanced_conversions_for_leads_enabled = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource name of the customer where conversions are created and - // managed. This field is read-only. - string google_ads_conversion_customer = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; -} - -// Remarketing setting for a customer. -message RemarketingSetting { - // Output only. The Google tag. - optional string google_global_site_tag = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/customer_asset.proto b/third_party/googleapis/google/ads/googleads/v11/resources/customer_asset.proto deleted file mode 100644 index 59fa4908e..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/customer_asset.proto +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/asset_field_type.proto"; -import "google/ads/googleads/v11/enums/asset_link_status.proto"; -import "google/ads/googleads/v11/enums/asset_source.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerAssetProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the CustomerAsset resource. - -// A link between a customer and an asset. -message CustomerAsset { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomerAsset" - pattern: "customers/{customer_id}/customerAssets/{asset_id}~{field_type}" - }; - - // Immutable. The resource name of the customer asset. - // CustomerAsset resource names have the form: - // - // `customers/{customer_id}/customerAssets/{asset_id}~{field_type}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerAsset" - } - ]; - - // Required. Immutable. The asset which is linked to the customer. - string asset = 2 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Asset" - } - ]; - - // Required. Immutable. Role that the asset takes for the customer link. - google.ads.googleads.v11.enums.AssetFieldTypeEnum.AssetFieldType field_type = 3 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE - ]; - - // Output only. Source of the customer asset link. - google.ads.googleads.v11.enums.AssetSourceEnum.AssetSource source = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Status of the customer asset. - google.ads.googleads.v11.enums.AssetLinkStatusEnum.AssetLinkStatus status = 4; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/customer_client.proto b/third_party/googleapis/google/ads/googleads/v11/resources/customer_client.proto deleted file mode 100644 index 8db5152a0..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/customer_client.proto +++ /dev/null @@ -1,104 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/customer_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerClientProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the CustomerClient resource. - -// A link between the given customer and a client customer. CustomerClients only -// exist for manager customers. All direct and indirect client customers are -// included, as well as the manager itself. -message CustomerClient { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomerClient" - pattern: "customers/{customer_id}/customerClients/{client_customer_id}" - }; - - // Output only. The resource name of the customer client. - // CustomerClient resource names have the form: - // `customers/{customer_id}/customerClients/{client_customer_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerClient" - } - ]; - - // Output only. The resource name of the client-customer which is linked to - // the given customer. Read only. - optional string client_customer = 12 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Customer" - } - ]; - - // Output only. Specifies whether this is a - // [hidden account](https://support.google.com/google-ads/answer/7519830). - // Read only. - optional bool hidden = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Distance between given customer and client. For self link, the level value - // will be 0. Read only. - optional int64 level = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Common Locale Data Repository (CLDR) string representation of the - // time zone of the client, for example, America/Los_Angeles. Read only. - optional string time_zone = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Identifies if the client is a test account. Read only. - optional bool test_account = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Identifies if the client is a manager. Read only. - optional bool manager = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Descriptive name for the client. Read only. - optional string descriptive_name = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Currency code (for example, 'USD', 'EUR') for the client. Read only. - optional string currency_code = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The ID of the client customer. Read only. - optional int64 id = 20 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource names of the labels owned by the requesting customer that are - // applied to the client customer. - // Label resource names have the form: - // - // `customers/{customer_id}/labels/{label_id}` - repeated string applied_labels = 21 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Label" - } - ]; - - // Output only. The status of the client customer. Read only. - google.ads.googleads.v11.enums.CustomerStatusEnum.CustomerStatus status = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/customer_client_link.proto b/third_party/googleapis/google/ads/googleads/v11/resources/customer_client_link.proto deleted file mode 100644 index f19a5d9d5..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/customer_client_link.proto +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/manager_link_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerClientLinkProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the CustomerClientLink resource. - -// Represents customer client link relationship. -message CustomerClientLink { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomerClientLink" - pattern: "customers/{customer_id}/customerClientLinks/{client_customer_id}~{manager_link_id}" - }; - - // Immutable. Name of the resource. - // CustomerClientLink resource names have the form: - // `customers/{customer_id}/customerClientLinks/{client_customer_id}~{manager_link_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerClientLink" - } - ]; - - // Immutable. The client customer linked to this customer. - optional string client_customer = 7 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Customer" - } - ]; - - // Output only. This is uniquely identifies a customer client link. Read only. - optional int64 manager_link_id = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // This is the status of the link between client and manager. - google.ads.googleads.v11.enums.ManagerLinkStatusEnum.ManagerLinkStatus status = 5; - - // The visibility of the link. Users can choose whether or not to see hidden - // links in the Google Ads UI. - // Default value is false - optional bool hidden = 9; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/customer_conversion_goal.proto b/third_party/googleapis/google/ads/googleads/v11/resources/customer_conversion_goal.proto deleted file mode 100644 index 2a5c6fb1b..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/customer_conversion_goal.proto +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/conversion_action_category.proto"; -import "google/ads/googleads/v11/enums/conversion_origin.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerConversionGoalProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Biddability control for conversion actions with a matching category and -// origin. -message CustomerConversionGoal { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomerConversionGoal" - pattern: "customers/{customer_id}/customerConversionGoals/{category}~{source}" - }; - - // Immutable. The resource name of the customer conversion goal. - // Customer conversion goal resource names have the form: - // - // `customers/{customer_id}/customerConversionGoals/{category}~{origin}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerConversionGoal" - } - ]; - - // The conversion category of this customer conversion goal. Only - // conversion actions that have this category will be included in this goal. - google.ads.googleads.v11.enums.ConversionActionCategoryEnum.ConversionActionCategory category = 2; - - // The conversion origin of this customer conversion goal. Only - // conversion actions that have this conversion origin will be included in - // this goal. - google.ads.googleads.v11.enums.ConversionOriginEnum.ConversionOrigin origin = 3; - - // The biddability of the customer conversion goal. - bool biddable = 4; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/customer_customizer.proto b/third_party/googleapis/google/ads/googleads/v11/resources/customer_customizer.proto deleted file mode 100644 index 3cf188aba..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/customer_customizer.proto +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/customizer_value.proto"; -import "google/ads/googleads/v11/enums/customizer_value_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerCustomizerProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// A customizer value for the associated CustomizerAttribute at the Customer -// level. -message CustomerCustomizer { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomerCustomizer" - pattern: "customers/{customer_id}/customerCustomizers/{customizer_attribute_id}" - }; - - // Immutable. The resource name of the customer customizer. - // Customer customizer resource names have the form: - // - // `customers/{customer_id}/customerCustomizers/{customizer_attribute_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerCustomizer" - } - ]; - - // Required. Immutable. The customizer attribute which is linked to the customer. - string customizer_attribute = 2 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomizerAttribute" - } - ]; - - // Output only. The status of the customer customizer attribute. - google.ads.googleads.v11.enums.CustomizerValueStatusEnum.CustomizerValueStatus status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Required. The value to associate with the customizer attribute at this level. The - // value must be of the type specified for the CustomizerAttribute. - google.ads.googleads.v11.common.CustomizerValue value = 4 [(google.api.field_behavior) = REQUIRED]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/customer_extension_setting.proto b/third_party/googleapis/google/ads/googleads/v11/resources/customer_extension_setting.proto deleted file mode 100644 index ff3797dcb..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/customer_extension_setting.proto +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/extension_setting_device.proto"; -import "google/ads/googleads/v11/enums/extension_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerExtensionSettingProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the CustomerExtensionSetting resource. - -// A customer extension setting. -message CustomerExtensionSetting { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomerExtensionSetting" - pattern: "customers/{customer_id}/customerExtensionSettings/{extension_type}" - }; - - // Immutable. The resource name of the customer extension setting. - // CustomerExtensionSetting resource names have the form: - // - // `customers/{customer_id}/customerExtensionSettings/{extension_type}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerExtensionSetting" - } - ]; - - // Immutable. The extension type of the customer extension setting. - google.ads.googleads.v11.enums.ExtensionTypeEnum.ExtensionType extension_type = 2 [(google.api.field_behavior) = IMMUTABLE]; - - // The resource names of the extension feed items to serve under the customer. - // ExtensionFeedItem resource names have the form: - // - // `customers/{customer_id}/extensionFeedItems/{feed_item_id}` - repeated string extension_feed_items = 5 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ExtensionFeedItem" - }]; - - // The device for which the extensions will serve. Optional. - google.ads.googleads.v11.enums.ExtensionSettingDeviceEnum.ExtensionSettingDevice device = 4; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/customer_feed.proto b/third_party/googleapis/google/ads/googleads/v11/resources/customer_feed.proto deleted file mode 100644 index 02339aa75..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/customer_feed.proto +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/matching_function.proto"; -import "google/ads/googleads/v11/enums/feed_link_status.proto"; -import "google/ads/googleads/v11/enums/placeholder_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerFeedProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the CustomerFeed resource. - -// A customer feed. -message CustomerFeed { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomerFeed" - pattern: "customers/{customer_id}/customerFeeds/{feed_id}" - }; - - // Immutable. The resource name of the customer feed. - // Customer feed resource names have the form: - // - // `customers/{customer_id}/customerFeeds/{feed_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerFeed" - } - ]; - - // Immutable. The feed being linked to the customer. - optional string feed = 6 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Feed" - } - ]; - - // Indicates which placeholder types the feed may populate under the connected - // customer. Required. - repeated google.ads.googleads.v11.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 3; - - // Matching function associated with the CustomerFeed. - // The matching function is used to filter the set of feed items selected. - // Required. - google.ads.googleads.v11.common.MatchingFunction matching_function = 4; - - // Output only. Status of the customer feed. - // This field is read-only. - google.ads.googleads.v11.enums.FeedLinkStatusEnum.FeedLinkStatus status = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/customer_label.proto b/third_party/googleapis/google/ads/googleads/v11/resources/customer_label.proto deleted file mode 100644 index 202d9c238..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/customer_label.proto +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerLabelProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the customer label resource. - -// Represents a relationship between a customer and a label. This customer may -// not have access to all the labels attached to it. Additional CustomerLabels -// may be returned by increasing permissions with login-customer-id. -message CustomerLabel { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomerLabel" - pattern: "customers/{customer_id}/customerLabels/{label_id}" - }; - - // Immutable. Name of the resource. - // Customer label resource names have the form: - // `customers/{customer_id}/customerLabels/{label_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerLabel" - } - ]; - - // Output only. The resource name of the customer to which the label is attached. - // Read only. - optional string customer = 4 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Customer" - } - ]; - - // Output only. The resource name of the label assigned to the customer. - // - // Note: the Customer ID portion of the label resource name is not - // validated when creating a new CustomerLabel. - optional string label = 5 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Label" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/customer_manager_link.proto b/third_party/googleapis/google/ads/googleads/v11/resources/customer_manager_link.proto deleted file mode 100644 index 483b4a0ee..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/customer_manager_link.proto +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/manager_link_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerManagerLinkProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the CustomerManagerLink resource. - -// Represents customer-manager link relationship. -message CustomerManagerLink { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomerManagerLink" - pattern: "customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}" - }; - - // Immutable. Name of the resource. - // CustomerManagerLink resource names have the form: - // `customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerManagerLink" - } - ]; - - // Output only. The manager customer linked to the customer. - optional string manager_customer = 6 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Customer" - } - ]; - - // Output only. ID of the customer-manager link. This field is read only. - optional int64 manager_link_id = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Status of the link between the customer and the manager. - google.ads.googleads.v11.enums.ManagerLinkStatusEnum.ManagerLinkStatus status = 5; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/customer_negative_criterion.proto b/third_party/googleapis/google/ads/googleads/v11/resources/customer_negative_criterion.proto deleted file mode 100644 index 2206baaaa..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/customer_negative_criterion.proto +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/criteria.proto"; -import "google/ads/googleads/v11/enums/criterion_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerNegativeCriterionProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the Customer Negative Criterion resource. - -// A negative criterion for exclusions at the customer level. -message CustomerNegativeCriterion { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomerNegativeCriterion" - pattern: "customers/{customer_id}/customerNegativeCriteria/{criterion_id}" - }; - - // Immutable. The resource name of the customer negative criterion. - // Customer negative criterion resource names have the form: - // - // `customers/{customer_id}/customerNegativeCriteria/{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerNegativeCriterion" - } - ]; - - // Output only. The ID of the criterion. - optional int64 id = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The type of the criterion. - google.ads.googleads.v11.enums.CriterionTypeEnum.CriterionType type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The customer negative criterion. - // - // Exactly one must be set. - oneof criterion { - // Immutable. ContentLabel. - google.ads.googleads.v11.common.ContentLabelInfo content_label = 4 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. MobileApplication. - google.ads.googleads.v11.common.MobileApplicationInfo mobile_application = 5 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. MobileAppCategory. - google.ads.googleads.v11.common.MobileAppCategoryInfo mobile_app_category = 6 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Placement. - google.ads.googleads.v11.common.PlacementInfo placement = 7 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. YouTube Video. - google.ads.googleads.v11.common.YouTubeVideoInfo youtube_video = 8 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. YouTube Channel. - google.ads.googleads.v11.common.YouTubeChannelInfo youtube_channel = 9 [(google.api.field_behavior) = IMMUTABLE]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/customer_user_access.proto b/third_party/googleapis/google/ads/googleads/v11/resources/customer_user_access.proto deleted file mode 100644 index af71695cd..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/customer_user_access.proto +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/access_role.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerUserAccessProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the CustomerUserAccess resource. - -// Represents the permission of a single user onto a single customer. -message CustomerUserAccess { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomerUserAccess" - pattern: "customers/{customer_id}/customerUserAccesses/{user_id}" - }; - - // Immutable. Name of the resource. - // Resource names have the form: - // `customers/{customer_id}/customerUserAccesses/{user_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerUserAccess" - } - ]; - - // Output only. User id of the user with the customer access. - // Read only field - int64 user_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Email address of the user. - // Read only field - optional string email_address = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Access role of the user. - google.ads.googleads.v11.enums.AccessRoleEnum.AccessRole access_role = 4; - - // Output only. The customer user access creation time. - // Read only field - // The format is "YYYY-MM-DD HH:MM:SS". - // Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - optional string access_creation_date_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The email address of the inviter user. - // Read only field - optional string inviter_user_email_address = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/customer_user_access_invitation.proto b/third_party/googleapis/google/ads/googleads/v11/resources/customer_user_access_invitation.proto deleted file mode 100644 index 5c6e29fb7..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/customer_user_access_invitation.proto +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/access_invitation_status.proto"; -import "google/ads/googleads/v11/enums/access_role.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerUserAccessInvitationProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the CustomerUserAccessInvitation resource. - -// Represent an invitation to a new user on this customer account. -message CustomerUserAccessInvitation { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomerUserAccessInvitation" - pattern: "customers/{customer_id}/customerUserAccessInvitations/{invitation_id}" - }; - - // Immutable. Name of the resource. - // Resource names have the form: - // `customers/{customer_id}/customerUserAccessInvitations/{invitation_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerUserAccessInvitation" - } - ]; - - // Output only. The ID of the invitation. - // This field is read-only. - int64 invitation_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. Access role of the user. - google.ads.googleads.v11.enums.AccessRoleEnum.AccessRole access_role = 3 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Email address the invitation was sent to. - // This can differ from the email address of the account - // that accepts the invite. - string email_address = 4 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. Time invitation was created. - // This field is read-only. - // The format is "YYYY-MM-DD HH:MM:SS". - // Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - string creation_date_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Invitation status of the user. - google.ads.googleads.v11.enums.AccessInvitationStatusEnum.AccessInvitationStatus invitation_status = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/customizer_attribute.proto b/third_party/googleapis/google/ads/googleads/v11/resources/customizer_attribute.proto deleted file mode 100644 index 94fe19ca5..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/customizer_attribute.proto +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/customizer_attribute_status.proto"; -import "google/ads/googleads/v11/enums/customizer_attribute_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomizerAttributeProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// A customizer attribute. -// Use CustomerCustomizer, CampaignCustomizer, AdGroupCustomizer, or -// AdGroupCriterionCustomizer to associate a customizer attribute and -// set its value at the customer, campaign, ad group, or ad group criterion -// level, respectively. -message CustomizerAttribute { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomizerAttribute" - pattern: "customers/{customer_id}/customizerAttributes/{customizer_attribute_id}" - }; - - // Immutable. The resource name of the customizer attribute. - // Customizer Attribute resource names have the form: - // - // `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomizerAttribute" - } - ]; - - // Output only. The ID of the customizer attribute. - int64 id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Required. Immutable. Name of the customizer attribute. Required. It must have a minimum length - // of 1 and maximum length of 40. Name of an enabled customizer attribute must - // be unique (case insensitive). - string name = 3 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE - ]; - - // Immutable. The type of the customizer attribute. - google.ads.googleads.v11.enums.CustomizerAttributeTypeEnum.CustomizerAttributeType type = 4 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The status of the customizer attribute. - google.ads.googleads.v11.enums.CustomizerAttributeStatusEnum.CustomizerAttributeStatus status = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/detail_placement_view.proto b/third_party/googleapis/google/ads/googleads/v11/resources/detail_placement_view.proto deleted file mode 100644 index bbb68b3b6..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/detail_placement_view.proto +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/placement_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "DetailPlacementViewProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the detail placement view resource. - -// A view with metrics aggregated by ad group and URL or YouTube video. -message DetailPlacementView { - option (google.api.resource) = { - type: "googleads.googleapis.com/DetailPlacementView" - pattern: "customers/{customer_id}/detailPlacementViews/{ad_group_id}~{base64_placement}" - }; - - // Output only. The resource name of the detail placement view. - // Detail placement view resource names have the form: - // - // `customers/{customer_id}/detailPlacementViews/{ad_group_id}~{base64_placement}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/DetailPlacementView" - } - ]; - - // Output only. The automatic placement string at detail level, e. g. website URL, mobile - // application ID, or a YouTube video ID. - optional string placement = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The display name is URL name for websites, YouTube video name for YouTube - // videos, and translated mobile app name for mobile apps. - optional string display_name = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. URL of the group placement, for example, domain, link to the mobile - // application in app store, or a YouTube channel URL. - optional string group_placement_target_url = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. URL of the placement, for example, website, link to the mobile application - // in app store, or a YouTube video URL. - optional string target_url = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Type of the placement, for example, Website, YouTube Video, and Mobile - // Application. - google.ads.googleads.v11.enums.PlacementTypeEnum.PlacementType placement_type = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/detailed_demographic.proto b/third_party/googleapis/google/ads/googleads/v11/resources/detailed_demographic.proto deleted file mode 100644 index d987d6dd2..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/detailed_demographic.proto +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/criterion_category_availability.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "DetailedDemographicProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the Detailed Demographic resource. - -// A detailed demographic: a particular interest-based vertical to be targeted -// to reach users based on long-term life facts. -message DetailedDemographic { - option (google.api.resource) = { - type: "googleads.googleapis.com/DetailedDemographic" - pattern: "customers/{customer_id}/detailedDemographics/{detailed_demographic_id}" - }; - - // Output only. The resource name of the detailed demographic. - // Detailed demographic resource names have the form: - // - // `customers/{customer_id}/detailedDemographics/{detailed_demographic_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/DetailedDemographic" - } - ]; - - // Output only. The ID of the detailed demographic. - int64 id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The name of the detailed demographic. For example,"Highest Level of - // Educational Attainment" - string name = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The parent of the detailed_demographic. - string parent = 4 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/DetailedDemographic" - } - ]; - - // Output only. True if the detailed demographic is launched to all channels and locales. - bool launched_to_all = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Availability information of the detailed demographic. - repeated google.ads.googleads.v11.common.CriterionCategoryAvailability availabilities = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/display_keyword_view.proto b/third_party/googleapis/google/ads/googleads/v11/resources/display_keyword_view.proto deleted file mode 100644 index 5a6fae498..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/display_keyword_view.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "DisplayKeywordViewProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the display keyword view resource. - -// A display keyword view. -message DisplayKeywordView { - option (google.api.resource) = { - type: "googleads.googleapis.com/DisplayKeywordView" - pattern: "customers/{customer_id}/displayKeywordViews/{ad_group_id}~{criterion_id}" - }; - - // Output only. The resource name of the display keyword view. - // Display Keyword view resource names have the form: - // - // `customers/{customer_id}/displayKeywordViews/{ad_group_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/DisplayKeywordView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/distance_view.proto b/third_party/googleapis/google/ads/googleads/v11/resources/distance_view.proto deleted file mode 100644 index 183822ae4..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/distance_view.proto +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/distance_bucket.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "DistanceViewProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the DistanceView resource. - -// A distance view with metrics aggregated by the user's distance from an -// advertiser's location extensions. Each DistanceBucket includes all -// impressions that fall within its distance and a single impression will -// contribute to the metrics for all DistanceBuckets that include the user's -// distance. -message DistanceView { - option (google.api.resource) = { - type: "googleads.googleapis.com/DistanceView" - pattern: "customers/{customer_id}/distanceViews/{placeholder_chain_id}~{distance_bucket}" - }; - - // Output only. The resource name of the distance view. - // Distance view resource names have the form: - // - // `customers/{customer_id}/distanceViews/1~{distance_bucket}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/DistanceView" - } - ]; - - // Output only. Grouping of user distance from location extensions. - google.ads.googleads.v11.enums.DistanceBucketEnum.DistanceBucket distance_bucket = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. True if the DistanceBucket is using the metric system, false otherwise. - optional bool metric_system = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/domain_category.proto b/third_party/googleapis/google/ads/googleads/v11/resources/domain_category.proto deleted file mode 100644 index 4c59c0ef7..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/domain_category.proto +++ /dev/null @@ -1,90 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "DomainCategoryProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the Domain Category resource. - -// A category generated automatically by crawling a domain. If a campaign uses -// the DynamicSearchAdsSetting, then domain categories will be generated for -// the domain. The categories can be targeted using WebpageConditionInfo. -// See: https://support.google.com/google-ads/answer/2471185 -message DomainCategory { - option (google.api.resource) = { - type: "googleads.googleapis.com/DomainCategory" - pattern: "customers/{customer_id}/domainCategories/{campaign_id}~{base64_category}~{language_code}" - }; - - // Output only. The resource name of the domain category. - // Domain category resource names have the form: - // - // `customers/{customer_id}/domainCategories/{campaign_id}~{category_base64}~{language_code}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/DomainCategory" - } - ]; - - // Output only. The campaign this category is recommended for. - optional string campaign = 10 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Output only. Recommended category for the website domain, for example, if you have a - // website about electronics, the categories could be "cameras", - // "televisions", etc. - optional string category = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The language code specifying the language of the website, for example, "en" - // for English. The language can be specified in the DynamicSearchAdsSetting - // required for dynamic search ads. This is the language of the pages from - // your website that you want Google Ads to find, create ads for, - // and match searches with. - optional string language_code = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The domain for the website. The domain can be specified in the - // DynamicSearchAdsSetting required for dynamic search ads. - optional string domain = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Fraction of pages on your site that this category matches. - optional double coverage_fraction = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The position of this category in the set of categories. Lower numbers - // indicate a better match for the domain. null indicates not recommended. - optional int64 category_rank = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Indicates whether this category has sub-categories. - optional bool has_children = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The recommended cost per click for the category. - optional int64 recommended_cpc_bid_micros = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/dynamic_search_ads_search_term_view.proto b/third_party/googleapis/google/ads/googleads/v11/resources/dynamic_search_ads_search_term_view.proto deleted file mode 100644 index 7ad6f9b4c..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/dynamic_search_ads_search_term_view.proto +++ /dev/null @@ -1,85 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "DynamicSearchAdsSearchTermViewProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the Dynamic Search Ads Search Term View resource. - -// A dynamic search ads search term view. -message DynamicSearchAdsSearchTermView { - option (google.api.resource) = { - type: "googleads.googleapis.com/DynamicSearchAdsSearchTermView" - pattern: "customers/{customer_id}/dynamicSearchAdsSearchTermViews/{ad_group_id}~{search_term_fingerprint}~{headline_fingerprint}~{landing_page_fingerprint}~{page_url_fingerprint}" - }; - - // Output only. The resource name of the dynamic search ads search term view. - // Dynamic search ads search term view resource names have the form: - // - // `customers/{customer_id}/dynamicSearchAdsSearchTermViews/{ad_group_id}~{search_term_fingerprint}~{headline_fingerprint}~{landing_page_fingerprint}~{page_url_fingerprint}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/DynamicSearchAdsSearchTermView" - } - ]; - - // Output only. Search term - // - // This field is read-only. - optional string search_term = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The dynamically generated headline of the Dynamic Search Ad. - // - // This field is read-only. - optional string headline = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The dynamically selected landing page URL of the impression. - // - // This field is read-only. - optional string landing_page = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The URL of page feed item served for the impression. - // - // This field is read-only. - optional string page_url = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. True if query matches a negative keyword. - // - // This field is read-only. - optional bool has_negative_keyword = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. True if query is added to targeted keywords. - // - // This field is read-only. - optional bool has_matching_keyword = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. True if query matches a negative url. - // - // This field is read-only. - optional bool has_negative_url = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/expanded_landing_page_view.proto b/third_party/googleapis/google/ads/googleads/v11/resources/expanded_landing_page_view.proto deleted file mode 100644 index eaf943082..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/expanded_landing_page_view.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ExpandedLandingPageViewProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the expanded landing page view resource. - -// A landing page view with metrics aggregated at the expanded final URL -// level. -message ExpandedLandingPageView { - option (google.api.resource) = { - type: "googleads.googleapis.com/ExpandedLandingPageView" - pattern: "customers/{customer_id}/expandedLandingPageViews/{expanded_final_url_fingerprint}" - }; - - // Output only. The resource name of the expanded landing page view. - // Expanded landing page view resource names have the form: - // - // `customers/{customer_id}/expandedLandingPageViews/{expanded_final_url_fingerprint}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ExpandedLandingPageView" - } - ]; - - // Output only. The final URL that clicks are directed to. - optional string expanded_final_url = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/experiment.proto b/third_party/googleapis/google/ads/googleads/v11/resources/experiment.proto deleted file mode 100644 index 4add93ae1..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/experiment.proto +++ /dev/null @@ -1,106 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/metric_goal.proto"; -import "google/ads/googleads/v11/enums/async_action_status.proto"; -import "google/ads/googleads/v11/enums/experiment_status.proto"; -import "google/ads/googleads/v11/enums/experiment_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ExperimentProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the Experiment resource. - -// A Google ads experiment for users to experiment changes on multiple -// campaigns, compare the performance, and apply the effective changes. -message Experiment { - option (google.api.resource) = { - type: "googleads.googleapis.com/Experiment" - pattern: "customers/{customer_id}/experiments/{trial_id}" - }; - - // Immutable. The resource name of the experiment. - // Experiment resource names have the form: - // - // `customers/{customer_id}/experiments/{experiment_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Experiment" - } - ]; - - // Output only. The ID of the experiment. Read only. - optional int64 experiment_id = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Required. The name of the experiment. It must have a minimum length of 1 and - // maximum length of 1024. It must be unique under a customer. - string name = 10 [(google.api.field_behavior) = REQUIRED]; - - // The description of the experiment. It must have a minimum length of 1 and - // maximum length of 2048. - string description = 11; - - // For system managed experiments, the advertiser must provide a suffix during - // construction, in the setup stage before moving to initiated. The suffix - // will be appended to the in-design and experiment campaign names so that the - // name is base campaign name + suffix. - string suffix = 12; - - // The product/feature that uses this experiment. - google.ads.googleads.v11.enums.ExperimentTypeEnum.ExperimentType type = 13; - - // The Advertiser-chosen status of this experiment. - google.ads.googleads.v11.enums.ExperimentStatusEnum.ExperimentStatus status = 14; - - // Date when the experiment starts. By default, the experiment starts - // now or on the campaign's start date, whichever is later. If this field is - // set, then the experiment starts at the beginning of the specified date in - // the customer's time zone. - // - // Format: YYYY-MM-DD - // Example: 2019-03-14 - optional string start_date = 15; - - // Date when the experiment ends. By default, the experiment ends on - // the campaign's end date. If this field is set, then the experiment ends at - // the end of the specified date in the customer's time zone. - // - // Format: YYYY-MM-DD - // Example: 2019-04-18 - optional string end_date = 16; - - // The goals of this experiment. - repeated google.ads.googleads.v11.common.MetricGoal goals = 17; - - // Output only. The resource name of the long-running operation that can be used to poll - // for completion of experiment schedule or promote. The most recent long - // running operation is returned. - optional string long_running_operation = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The status of the experiment promotion process. - google.ads.googleads.v11.enums.AsyncActionStatusEnum.AsyncActionStatus promote_status = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/experiment_arm.proto b/third_party/googleapis/google/ads/googleads/v11/resources/experiment_arm.proto deleted file mode 100644 index cd1219a44..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/experiment_arm.proto +++ /dev/null @@ -1,84 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ExperimentArmProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the Experiment arm resource. - -// A Google ads experiment for users to experiment changes on multiple -// campaigns, compare the performance, and apply the effective changes. -message ExperimentArm { - option (google.api.resource) = { - type: "googleads.googleapis.com/ExperimentArm" - pattern: "customers/{customer_id}/experimentArms/{trial_id}~{trial_arm_id}" - }; - - // Immutable. The resource name of the experiment arm. - // Experiment arm resource names have the form: - // - // `customers/{customer_id}/experimentArms/{TrialArm.trial_id}~{TrialArm.trial_arm_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ExperimentArm" - } - ]; - - // Immutable. The experiment to which the ExperimentArm belongs. - string trial = 2 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Experiment" - } - ]; - - // Required. The name of the experiment arm. It must have a minimum length of 1 and - // maximum length of 1024. It must be unique under an experiment. - string name = 3 [(google.api.field_behavior) = REQUIRED]; - - // Whether this arm is a control arm. A control arm is the arm against - // which the other arms are compared. - bool control = 4; - - // Traffic split of the trial arm. The value should be between 1 and 100 - // and must total 100 between the two trial arms. - int64 traffic_split = 5; - - // List of campaigns in the trial arm. The max length is one. - repeated string campaigns = 6 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - }]; - - // Output only. The in design campaigns in the treatment experiment arm. - repeated string in_design_campaigns = 7 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/extension_feed_item.proto b/third_party/googleapis/google/ads/googleads/v11/resources/extension_feed_item.proto deleted file mode 100644 index 898d493e7..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/extension_feed_item.proto +++ /dev/null @@ -1,150 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/criteria.proto"; -import "google/ads/googleads/v11/common/extensions.proto"; -import "google/ads/googleads/v11/enums/extension_type.proto"; -import "google/ads/googleads/v11/enums/feed_item_status.proto"; -import "google/ads/googleads/v11/enums/feed_item_target_device.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ExtensionFeedItemProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the ExtensionFeedItem resource. - -// An extension feed item. -message ExtensionFeedItem { - option (google.api.resource) = { - type: "googleads.googleapis.com/ExtensionFeedItem" - pattern: "customers/{customer_id}/extensionFeedItems/{feed_item_id}" - }; - - // Immutable. The resource name of the extension feed item. - // Extension feed item resource names have the form: - // - // `customers/{customer_id}/extensionFeedItems/{feed_item_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ExtensionFeedItem" - } - ]; - - // Output only. The ID of this feed item. Read-only. - optional int64 id = 25 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The extension type of the extension feed item. - // This field is read-only. - google.ads.googleads.v11.enums.ExtensionTypeEnum.ExtensionType extension_type = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Start time in which this feed item is effective and can begin serving. The - // time is in the customer's time zone. - // The format is "YYYY-MM-DD HH:MM:SS". - // Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - optional string start_date_time = 26; - - // End time in which this feed item is no longer effective and will stop - // serving. The time is in the customer's time zone. - // The format is "YYYY-MM-DD HH:MM:SS". - // Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - optional string end_date_time = 27; - - // List of non-overlapping schedules specifying all time intervals - // for which the feed item may serve. There can be a maximum of 6 schedules - // per day. - repeated google.ads.googleads.v11.common.AdScheduleInfo ad_schedules = 16; - - // The targeted device. - google.ads.googleads.v11.enums.FeedItemTargetDeviceEnum.FeedItemTargetDevice device = 17; - - // The targeted geo target constant. - optional string targeted_geo_target_constant = 30 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/GeoTargetConstant" - }]; - - // The targeted keyword. - google.ads.googleads.v11.common.KeywordInfo targeted_keyword = 22; - - // Output only. Status of the feed item. - // This field is read-only. - google.ads.googleads.v11.enums.FeedItemStatusEnum.FeedItemStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Extension type. - oneof extension { - // Sitelink extension. - google.ads.googleads.v11.common.SitelinkFeedItem sitelink_feed_item = 2; - - // Structured snippet extension. - google.ads.googleads.v11.common.StructuredSnippetFeedItem structured_snippet_feed_item = 3; - - // App extension. - google.ads.googleads.v11.common.AppFeedItem app_feed_item = 7; - - // Call extension. - google.ads.googleads.v11.common.CallFeedItem call_feed_item = 8; - - // Callout extension. - google.ads.googleads.v11.common.CalloutFeedItem callout_feed_item = 9; - - // Text message extension. - google.ads.googleads.v11.common.TextMessageFeedItem text_message_feed_item = 10; - - // Price extension. - google.ads.googleads.v11.common.PriceFeedItem price_feed_item = 11; - - // Promotion extension. - google.ads.googleads.v11.common.PromotionFeedItem promotion_feed_item = 12; - - // Output only. Location extension. Locations are synced from a Business Profile into a - // feed. This field is read-only. - google.ads.googleads.v11.common.LocationFeedItem location_feed_item = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Affiliate location extension. Feed locations are populated by Google Ads - // based on a chain ID. - // This field is read-only. - google.ads.googleads.v11.common.AffiliateLocationFeedItem affiliate_location_feed_item = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Hotel Callout extension. - google.ads.googleads.v11.common.HotelCalloutFeedItem hotel_callout_feed_item = 23; - - // Immutable. Advertiser provided image extension. - google.ads.googleads.v11.common.ImageFeedItem image_feed_item = 31 [(google.api.field_behavior) = IMMUTABLE]; - } - - // Targeting at either the campaign or ad group level. Feed items that target - // a campaign or ad group will only serve with that resource. - oneof serving_resource_targeting { - // The targeted campaign. - string targeted_campaign = 28 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - }]; - - // The targeted ad group. - string targeted_ad_group = 29 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - }]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/feed.proto b/third_party/googleapis/google/ads/googleads/v11/resources/feed.proto deleted file mode 100644 index feb7d6886..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/feed.proto +++ /dev/null @@ -1,189 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/affiliate_location_feed_relationship_type.proto"; -import "google/ads/googleads/v11/enums/feed_attribute_type.proto"; -import "google/ads/googleads/v11/enums/feed_origin.proto"; -import "google/ads/googleads/v11/enums/feed_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "FeedProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the Feed resource. - -// A feed. -message Feed { - option (google.api.resource) = { - type: "googleads.googleapis.com/Feed" - pattern: "customers/{customer_id}/feeds/{feed_id}" - }; - - // Data used to configure a location feed populated from Business Profile. - message PlacesLocationFeedData { - // Data used for authorization using OAuth. - message OAuthInfo { - // The HTTP method used to obtain authorization. - optional string http_method = 4; - - // The HTTP request URL used to obtain authorization. - optional string http_request_url = 5; - - // The HTTP authorization header used to obtain authorization. - optional string http_authorization_header = 6; - } - - // Immutable. Required authentication token (from OAuth API) for the email. - // This field can only be specified in a create request. All its subfields - // are not selectable. - OAuthInfo oauth_info = 1 [(google.api.field_behavior) = IMMUTABLE]; - - // Email address of a Business Profile or email address of a - // manager of the Business Profile. Required. - optional string email_address = 7; - - // Plus page ID of the managed business whose locations should be used. If - // this field is not set, then all businesses accessible by the user - // (specified by email_address) are used. - // This field is mutate-only and is not selectable. - string business_account_id = 8; - - // Used to filter Business Profile listings by business name. If - // business_name_filter is set, only listings with a matching business name - // are candidates to be sync'd into FeedItems. - optional string business_name_filter = 9; - - // Used to filter Business Profile listings by categories. If entries - // exist in category_filters, only listings that belong to any of the - // categories are candidates to be sync'd into FeedItems. If no entries - // exist in category_filters, then all listings are candidates for syncing. - repeated string category_filters = 11; - - // Used to filter Business Profile listings by labels. If entries exist in - // label_filters, only listings that has any of the labels set are - // candidates to be synchronized into FeedItems. If no entries exist in - // label_filters, then all listings are candidates for syncing. - repeated string label_filters = 12; - } - - // Data used to configure an affiliate location feed populated with the - // specified chains. - message AffiliateLocationFeedData { - // The list of chains that the affiliate location feed will sync the - // locations from. - repeated int64 chain_ids = 3; - - // The relationship the chains have with the advertiser. - google.ads.googleads.v11.enums.AffiliateLocationFeedRelationshipTypeEnum.AffiliateLocationFeedRelationshipType relationship_type = 2; - } - - // Immutable. The resource name of the feed. - // Feed resource names have the form: - // - // `customers/{customer_id}/feeds/{feed_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Feed" - } - ]; - - // Output only. The ID of the feed. - // This field is read-only. - optional int64 id = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. Name of the feed. Required. - optional string name = 12 [(google.api.field_behavior) = IMMUTABLE]; - - // The Feed's attributes. Required on CREATE, unless - // system_feed_generation_data is provided, in which case Google Ads will - // update the feed with the correct attributes. - // Disallowed on UPDATE. Use attribute_operations to add new attributes. - repeated FeedAttribute attributes = 4; - - // The list of operations changing the feed attributes. Attributes can only - // be added, not removed. - repeated FeedAttributeOperation attribute_operations = 9; - - // Immutable. Specifies who manages the FeedAttributes for the Feed. - google.ads.googleads.v11.enums.FeedOriginEnum.FeedOrigin origin = 5 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. Status of the feed. - // This field is read-only. - google.ads.googleads.v11.enums.FeedStatusEnum.FeedStatus status = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The system data for the Feed. This data specifies information for - // generating the feed items of the system generated feed. - oneof system_feed_generation_data { - // Data used to configure a location feed populated from Business Profile. - PlacesLocationFeedData places_location_feed_data = 6; - - // Data used to configure an affiliate location feed populated with - // the specified chains. - AffiliateLocationFeedData affiliate_location_feed_data = 7; - } -} - -// FeedAttributes define the types of data expected to be present in a Feed. A -// single FeedAttribute specifies the expected type of the FeedItemAttributes -// with the same FeedAttributeId. Optionally, a FeedAttribute can be marked as -// being part of a FeedItem's unique key. -message FeedAttribute { - // ID of the attribute. - optional int64 id = 5; - - // The name of the attribute. Required. - optional string name = 6; - - // Data type for feed attribute. Required. - google.ads.googleads.v11.enums.FeedAttributeTypeEnum.FeedAttributeType type = 3; - - // Indicates that data corresponding to this attribute is part of a - // FeedItem's unique key. It defaults to false if it is unspecified. Note - // that a unique key is not required in a Feed's schema, in which case the - // FeedItems must be referenced by their feed_item_id. - optional bool is_part_of_key = 7; -} - -// Operation to be performed on a feed attribute list in a mutate. -message FeedAttributeOperation { - // The operator. - enum Operator { - // Unspecified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Add the attribute to the existing attributes. - ADD = 2; - } - - // Output only. Type of list operation to perform. - Operator operator = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The feed attribute being added to the list. - FeedAttribute value = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/feed_item.proto b/third_party/googleapis/google/ads/googleads/v11/resources/feed_item.proto deleted file mode 100644 index 2cb38de50..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/feed_item.proto +++ /dev/null @@ -1,214 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/custom_parameter.proto"; -import "google/ads/googleads/v11/common/feed_common.proto"; -import "google/ads/googleads/v11/common/policy.proto"; -import "google/ads/googleads/v11/enums/feed_item_quality_approval_status.proto"; -import "google/ads/googleads/v11/enums/feed_item_quality_disapproval_reason.proto"; -import "google/ads/googleads/v11/enums/feed_item_status.proto"; -import "google/ads/googleads/v11/enums/feed_item_validation_status.proto"; -import "google/ads/googleads/v11/enums/geo_targeting_restriction.proto"; -import "google/ads/googleads/v11/enums/placeholder_type.proto"; -import "google/ads/googleads/v11/enums/policy_approval_status.proto"; -import "google/ads/googleads/v11/enums/policy_review_status.proto"; -import "google/ads/googleads/v11/errors/feed_item_validation_error.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the FeedItem resource. - -// A feed item. -message FeedItem { - option (google.api.resource) = { - type: "googleads.googleapis.com/FeedItem" - pattern: "customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}" - }; - - // Immutable. The resource name of the feed item. - // Feed item resource names have the form: - // - // `customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItem" - } - ]; - - // Immutable. The feed to which this feed item belongs. - optional string feed = 11 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Feed" - } - ]; - - // Output only. The ID of this feed item. - optional int64 id = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Start time in which this feed item is effective and can begin serving. The - // time is in the customer's time zone. - // The format is "YYYY-MM-DD HH:MM:SS". - // Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - optional string start_date_time = 13; - - // End time in which this feed item is no longer effective and will stop - // serving. The time is in the customer's time zone. - // The format is "YYYY-MM-DD HH:MM:SS". - // Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - optional string end_date_time = 14; - - // The feed item's attribute values. - repeated FeedItemAttributeValue attribute_values = 6; - - // Geo targeting restriction specifies the type of location that can be used - // for targeting. - google.ads.googleads.v11.enums.GeoTargetingRestrictionEnum.GeoTargetingRestriction geo_targeting_restriction = 7; - - // The list of mappings used to substitute custom parameter tags in a - // `tracking_url_template`, `final_urls`, or `mobile_final_urls`. - repeated google.ads.googleads.v11.common.CustomParameter url_custom_parameters = 8; - - // Output only. Status of the feed item. - // This field is read-only. - google.ads.googleads.v11.enums.FeedItemStatusEnum.FeedItemStatus status = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. List of info about a feed item's validation and approval state for active - // feed mappings. There will be an entry in the list for each type of feed - // mapping associated with the feed, for example, a feed with a sitelink and a - // call feed mapping would cause every feed item associated with that feed to - // have an entry in this list for both sitelink and call. This field is - // read-only. - repeated FeedItemPlaceholderPolicyInfo policy_infos = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; -} - -// A feed item attribute value. -message FeedItemAttributeValue { - // Id of the feed attribute for which the value is associated with. - optional int64 feed_attribute_id = 11; - - // Int64 value. Should be set if feed_attribute_id refers to a feed attribute - // of type INT64. - optional int64 integer_value = 12; - - // Bool value. Should be set if feed_attribute_id refers to a feed attribute - // of type BOOLEAN. - optional bool boolean_value = 13; - - // String value. Should be set if feed_attribute_id refers to a feed attribute - // of type STRING, URL or DATE_TIME. - // For STRING the maximum length is 1500 characters. For URL the maximum - // length is 2076 characters. For DATE_TIME the string must be in the format - // "YYYYMMDD HHMMSS". - optional string string_value = 14; - - // Double value. Should be set if feed_attribute_id refers to a feed attribute - // of type DOUBLE. - optional double double_value = 15; - - // Price value. Should be set if feed_attribute_id refers to a feed attribute - // of type PRICE. - google.ads.googleads.v11.common.Money price_value = 6; - - // Repeated int64 value. Should be set if feed_attribute_id refers to a feed - // attribute of type INT64_LIST. - repeated int64 integer_values = 16; - - // Repeated bool value. Should be set if feed_attribute_id refers to a feed - // attribute of type BOOLEAN_LIST. - repeated bool boolean_values = 17; - - // Repeated string value. Should be set if feed_attribute_id refers to a feed - // attribute of type STRING_LIST, URL_LIST or DATE_TIME_LIST. - // For STRING_LIST and URL_LIST the total size of the list in bytes may not - // exceed 3000. For DATE_TIME_LIST the number of elements may not exceed 200. - // - // For STRING_LIST the maximum length of each string element is 1500 - // characters. For URL_LIST the maximum length is 2076 characters. For - // DATE_TIME the format of the string must be the same as start and end time - // for the feed item. - repeated string string_values = 18; - - // Repeated double value. Should be set if feed_attribute_id refers to a feed - // attribute of type DOUBLE_LIST. - repeated double double_values = 19; -} - -// Policy, validation, and quality approval info for a feed item for the -// specified placeholder type. -message FeedItemPlaceholderPolicyInfo { - // Output only. The placeholder type. - google.ads.googleads.v11.enums.PlaceholderTypeEnum.PlaceholderType placeholder_type_enum = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The FeedMapping that contains the placeholder type. - optional string feed_mapping_resource_name = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Where the placeholder type is in the review process. - google.ads.googleads.v11.enums.PolicyReviewStatusEnum.PolicyReviewStatus review_status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The overall approval status of the placeholder type, calculated based on - // the status of its individual policy topic entries. - google.ads.googleads.v11.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The list of policy findings for the placeholder type. - repeated google.ads.googleads.v11.common.PolicyTopicEntry policy_topic_entries = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The validation status of the palceholder type. - google.ads.googleads.v11.enums.FeedItemValidationStatusEnum.FeedItemValidationStatus validation_status = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. List of placeholder type validation errors. - repeated FeedItemValidationError validation_errors = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Placeholder type quality evaluation approval status. - google.ads.googleads.v11.enums.FeedItemQualityApprovalStatusEnum.FeedItemQualityApprovalStatus quality_approval_status = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. List of placeholder type quality evaluation disapproval reasons. - repeated google.ads.googleads.v11.enums.FeedItemQualityDisapprovalReasonEnum.FeedItemQualityDisapprovalReason quality_disapproval_reasons = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; -} - -// Stores a validation error and the set of offending feed attributes which -// together are responsible for causing a feed item validation error. -message FeedItemValidationError { - // Output only. Error code indicating what validation error was triggered. The description - // of the error can be found in the 'description' field. - google.ads.googleads.v11.errors.FeedItemValidationErrorEnum.FeedItemValidationError validation_error = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The description of the validation error. - optional string description = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set of feed attributes in the feed item flagged during validation. If - // empty, no specific feed attributes can be associated with the error - // (for example, error across the entire feed item). - repeated int64 feed_attribute_ids = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Any extra information related to this error which is not captured by - // validation_error and feed_attribute_id (for example, placeholder field IDs - // when feed_attribute_id is not mapped). Note that extra_info is not - // localized. - optional string extra_info = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/feed_item_set.proto b/third_party/googleapis/google/ads/googleads/v11/resources/feed_item_set.proto deleted file mode 100644 index e4eed5767..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/feed_item_set.proto +++ /dev/null @@ -1,83 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/feed_item_set_filter_type_infos.proto"; -import "google/ads/googleads/v11/enums/feed_item_set_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemSetProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Represents a set of feed items. The set can be used and shared among certain -// feed item features. For instance, the set can be referenced within the -// matching functions of CustomerFeed, CampaignFeed, and AdGroupFeed. -message FeedItemSet { - option (google.api.resource) = { - type: "googleads.googleapis.com/FeedItemSet" - pattern: "customers/{customer_id}/feedItemSets/{feed_id}~{feed_item_set_id}" - }; - - // Immutable. The resource name of the feed item set. - // Feed item set resource names have the form: - // `customers/{customer_id}/feedItemSets/{feed_id}~{feed_item_set_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItemSet" - } - ]; - - // Immutable. The resource name of the feed containing the feed items in the set. - // Immutable. Required. - string feed = 2 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Feed" - } - ]; - - // Output only. ID of the set. - int64 feed_item_set_id = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Name of the set. Must be unique within the account. - string display_name = 4; - - // Output only. Status of the feed item set. - // This field is read-only. - google.ads.googleads.v11.enums.FeedItemSetStatusEnum.FeedItemSetStatus status = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Represents a filter on locations in a feed item set. - // Only applicable if the parent Feed of the FeedItemSet is a LOCATION feed. - oneof dynamic_set_filter { - // Filter for dynamic location set. - // It is only used for sets of locations. - google.ads.googleads.v11.common.DynamicLocationSetFilter dynamic_location_set_filter = 5; - - // Filter for dynamic affiliate location set. - // This field doesn't apply generally to feed item sets. It is only used for - // sets of affiliate locations. - google.ads.googleads.v11.common.DynamicAffiliateLocationSetFilter dynamic_affiliate_location_set_filter = 6; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/feed_item_set_link.proto b/third_party/googleapis/google/ads/googleads/v11/resources/feed_item_set_link.proto deleted file mode 100644 index 79c1bcbfc..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/feed_item_set_link.proto +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemSetLinkProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the FeedItemSetLink resource. - -// Represents a link between a FeedItem and a FeedItemSet. -message FeedItemSetLink { - option (google.api.resource) = { - type: "googleads.googleapis.com/FeedItemSetLink" - pattern: "customers/{customer_id}/feedItemSetLinks/{feed_id}~{feed_item_set_id}~{feed_item_id}" - }; - - // Immutable. The resource name of the feed item set link. - // Feed item set link resource names have the form: - // `customers/{customer_id}/feedItemSetLinks/{feed_id}~{feed_item_set_id}~{feed_item_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItemSetLink" - } - ]; - - // Immutable. The linked FeedItem. - string feed_item = 2 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItem" - } - ]; - - // Immutable. The linked FeedItemSet. - string feed_item_set = 3 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItemSet" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/feed_item_target.proto b/third_party/googleapis/google/ads/googleads/v11/resources/feed_item_target.proto deleted file mode 100644 index 903cfd1d4..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/feed_item_target.proto +++ /dev/null @@ -1,107 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/criteria.proto"; -import "google/ads/googleads/v11/enums/feed_item_target_device.proto"; -import "google/ads/googleads/v11/enums/feed_item_target_status.proto"; -import "google/ads/googleads/v11/enums/feed_item_target_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemTargetProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the FeedItemTarget resource. - -// A feed item target. -message FeedItemTarget { - option (google.api.resource) = { - type: "googleads.googleapis.com/FeedItemTarget" - pattern: "customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id}" - }; - - // Immutable. The resource name of the feed item target. - // Feed item target resource names have the form: - // `customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItemTarget" - } - ]; - - // Immutable. The feed item to which this feed item target belongs. - optional string feed_item = 12 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItem" - } - ]; - - // Output only. The target type of this feed item target. This field is read-only. - google.ads.googleads.v11.enums.FeedItemTargetTypeEnum.FeedItemTargetType feed_item_target_type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The ID of the targeted resource. This field is read-only. - optional int64 feed_item_target_id = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Status of the feed item target. - // This field is read-only. - google.ads.googleads.v11.enums.FeedItemTargetStatusEnum.FeedItemTargetStatus status = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The targeted resource. - oneof target { - // Immutable. The targeted campaign. - string campaign = 14 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Immutable. The targeted ad group. - string ad_group = 15 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Immutable. The targeted keyword. - google.ads.googleads.v11.common.KeywordInfo keyword = 7 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The targeted geo target constant resource name. - string geo_target_constant = 16 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/GeoTargetConstant" - } - ]; - - // Immutable. The targeted device. - google.ads.googleads.v11.enums.FeedItemTargetDeviceEnum.FeedItemTargetDevice device = 9 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The targeted schedule. - google.ads.googleads.v11.common.AdScheduleInfo ad_schedule = 10 [(google.api.field_behavior) = IMMUTABLE]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/feed_mapping.proto b/third_party/googleapis/google/ads/googleads/v11/resources/feed_mapping.proto deleted file mode 100644 index 24d9d30cc..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/feed_mapping.proto +++ /dev/null @@ -1,188 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/ad_customizer_placeholder_field.proto"; -import "google/ads/googleads/v11/enums/affiliate_location_placeholder_field.proto"; -import "google/ads/googleads/v11/enums/app_placeholder_field.proto"; -import "google/ads/googleads/v11/enums/call_placeholder_field.proto"; -import "google/ads/googleads/v11/enums/callout_placeholder_field.proto"; -import "google/ads/googleads/v11/enums/custom_placeholder_field.proto"; -import "google/ads/googleads/v11/enums/dsa_page_feed_criterion_field.proto"; -import "google/ads/googleads/v11/enums/education_placeholder_field.proto"; -import "google/ads/googleads/v11/enums/feed_mapping_criterion_type.proto"; -import "google/ads/googleads/v11/enums/feed_mapping_status.proto"; -import "google/ads/googleads/v11/enums/flight_placeholder_field.proto"; -import "google/ads/googleads/v11/enums/hotel_placeholder_field.proto"; -import "google/ads/googleads/v11/enums/image_placeholder_field.proto"; -import "google/ads/googleads/v11/enums/job_placeholder_field.proto"; -import "google/ads/googleads/v11/enums/local_placeholder_field.proto"; -import "google/ads/googleads/v11/enums/location_extension_targeting_criterion_field.proto"; -import "google/ads/googleads/v11/enums/location_placeholder_field.proto"; -import "google/ads/googleads/v11/enums/message_placeholder_field.proto"; -import "google/ads/googleads/v11/enums/placeholder_type.proto"; -import "google/ads/googleads/v11/enums/price_placeholder_field.proto"; -import "google/ads/googleads/v11/enums/promotion_placeholder_field.proto"; -import "google/ads/googleads/v11/enums/real_estate_placeholder_field.proto"; -import "google/ads/googleads/v11/enums/sitelink_placeholder_field.proto"; -import "google/ads/googleads/v11/enums/structured_snippet_placeholder_field.proto"; -import "google/ads/googleads/v11/enums/travel_placeholder_field.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "FeedMappingProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the FeedMapping resource. - -// A feed mapping. -message FeedMapping { - option (google.api.resource) = { - type: "googleads.googleapis.com/FeedMapping" - pattern: "customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id}" - }; - - // Immutable. The resource name of the feed mapping. - // Feed mapping resource names have the form: - // - // `customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedMapping" - } - ]; - - // Immutable. The feed of this feed mapping. - optional string feed = 7 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Feed" - } - ]; - - // Immutable. Feed attributes to field mappings. These mappings are a one-to-many - // relationship meaning that 1 feed attribute can be used to populate - // multiple placeholder fields, but 1 placeholder field can only draw - // data from 1 feed attribute. Ad Customizer is an exception, 1 placeholder - // field can be mapped to multiple feed attributes. Required. - repeated AttributeFieldMapping attribute_field_mappings = 5 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. Status of the feed mapping. - // This field is read-only. - google.ads.googleads.v11.enums.FeedMappingStatusEnum.FeedMappingStatus status = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Feed mapping target. Can be either a placeholder or a criterion. For a - // given feed, the active FeedMappings must have unique targets. Required. - oneof target { - // Immutable. The placeholder type of this mapping (for example, if the mapping maps - // feed attributes to placeholder fields). - google.ads.googleads.v11.enums.PlaceholderTypeEnum.PlaceholderType placeholder_type = 3 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The criterion type of this mapping (for example, if the mapping maps feed - // attributes to criterion fields). - google.ads.googleads.v11.enums.FeedMappingCriterionTypeEnum.FeedMappingCriterionType criterion_type = 4 [(google.api.field_behavior) = IMMUTABLE]; - } -} - -// Maps from feed attribute id to a placeholder or criterion field id. -message AttributeFieldMapping { - // Immutable. Feed attribute from which to map. - optional int64 feed_attribute_id = 24 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The placeholder field ID. If a placeholder field enum is not published in - // the current API version, then this field will be populated and the field - // oneof will be empty. - // This field is read-only. - optional int64 field_id = 25 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Placeholder or criterion field to be populated using data from - // the above feed attribute. Required. - oneof field { - // Immutable. Sitelink Placeholder Fields. - google.ads.googleads.v11.enums.SitelinkPlaceholderFieldEnum.SitelinkPlaceholderField sitelink_field = 3 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Call Placeholder Fields. - google.ads.googleads.v11.enums.CallPlaceholderFieldEnum.CallPlaceholderField call_field = 4 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. App Placeholder Fields. - google.ads.googleads.v11.enums.AppPlaceholderFieldEnum.AppPlaceholderField app_field = 5 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. Location Placeholder Fields. This field is read-only. - google.ads.googleads.v11.enums.LocationPlaceholderFieldEnum.LocationPlaceholderField location_field = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Affiliate Location Placeholder Fields. This field is read-only. - google.ads.googleads.v11.enums.AffiliateLocationPlaceholderFieldEnum.AffiliateLocationPlaceholderField affiliate_location_field = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. Callout Placeholder Fields. - google.ads.googleads.v11.enums.CalloutPlaceholderFieldEnum.CalloutPlaceholderField callout_field = 8 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Structured Snippet Placeholder Fields. - google.ads.googleads.v11.enums.StructuredSnippetPlaceholderFieldEnum.StructuredSnippetPlaceholderField structured_snippet_field = 9 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Message Placeholder Fields. - google.ads.googleads.v11.enums.MessagePlaceholderFieldEnum.MessagePlaceholderField message_field = 10 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Price Placeholder Fields. - google.ads.googleads.v11.enums.PricePlaceholderFieldEnum.PricePlaceholderField price_field = 11 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Promotion Placeholder Fields. - google.ads.googleads.v11.enums.PromotionPlaceholderFieldEnum.PromotionPlaceholderField promotion_field = 12 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Ad Customizer Placeholder Fields - google.ads.googleads.v11.enums.AdCustomizerPlaceholderFieldEnum.AdCustomizerPlaceholderField ad_customizer_field = 13 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Dynamic Search Ad Page Feed Fields. - google.ads.googleads.v11.enums.DsaPageFeedCriterionFieldEnum.DsaPageFeedCriterionField dsa_page_feed_field = 14 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Location Target Fields. - google.ads.googleads.v11.enums.LocationExtensionTargetingCriterionFieldEnum.LocationExtensionTargetingCriterionField location_extension_targeting_field = 15 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Education Placeholder Fields - google.ads.googleads.v11.enums.EducationPlaceholderFieldEnum.EducationPlaceholderField education_field = 16 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Flight Placeholder Fields - google.ads.googleads.v11.enums.FlightPlaceholderFieldEnum.FlightPlaceholderField flight_field = 17 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Custom Placeholder Fields - google.ads.googleads.v11.enums.CustomPlaceholderFieldEnum.CustomPlaceholderField custom_field = 18 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Hotel Placeholder Fields - google.ads.googleads.v11.enums.HotelPlaceholderFieldEnum.HotelPlaceholderField hotel_field = 19 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Real Estate Placeholder Fields - google.ads.googleads.v11.enums.RealEstatePlaceholderFieldEnum.RealEstatePlaceholderField real_estate_field = 20 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Travel Placeholder Fields - google.ads.googleads.v11.enums.TravelPlaceholderFieldEnum.TravelPlaceholderField travel_field = 21 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Local Placeholder Fields - google.ads.googleads.v11.enums.LocalPlaceholderFieldEnum.LocalPlaceholderField local_field = 22 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Job Placeholder Fields - google.ads.googleads.v11.enums.JobPlaceholderFieldEnum.JobPlaceholderField job_field = 23 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Image Placeholder Fields - google.ads.googleads.v11.enums.ImagePlaceholderFieldEnum.ImagePlaceholderField image_field = 26 [(google.api.field_behavior) = IMMUTABLE]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/feed_placeholder_view.proto b/third_party/googleapis/google/ads/googleads/v11/resources/feed_placeholder_view.proto deleted file mode 100644 index b0ca9fd1f..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/feed_placeholder_view.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/placeholder_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "FeedPlaceholderViewProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the FeedPlaceholderView resource. - -// A feed placeholder view. -message FeedPlaceholderView { - option (google.api.resource) = { - type: "googleads.googleapis.com/FeedPlaceholderView" - pattern: "customers/{customer_id}/feedPlaceholderViews/{placeholder_type}" - }; - - // Output only. The resource name of the feed placeholder view. - // Feed placeholder view resource names have the form: - // - // `customers/{customer_id}/feedPlaceholderViews/{placeholder_type}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedPlaceholderView" - } - ]; - - // Output only. The placeholder type of the feed placeholder view. - google.ads.googleads.v11.enums.PlaceholderTypeEnum.PlaceholderType placeholder_type = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/gender_view.proto b/third_party/googleapis/google/ads/googleads/v11/resources/gender_view.proto deleted file mode 100644 index 632926e9b..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/gender_view.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "GenderViewProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the gender view resource. - -// A gender view. -message GenderView { - option (google.api.resource) = { - type: "googleads.googleapis.com/GenderView" - pattern: "customers/{customer_id}/genderViews/{ad_group_id}~{criterion_id}" - }; - - // Output only. The resource name of the gender view. - // Gender view resource names have the form: - // - // `customers/{customer_id}/genderViews/{ad_group_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/GenderView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/geo_target_constant.proto b/third_party/googleapis/google/ads/googleads/v11/resources/geo_target_constant.proto deleted file mode 100644 index ecb00a2b3..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/geo_target_constant.proto +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/geo_target_constant_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "GeoTargetConstantProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the geo target constant resource. - -// A geo target constant. -message GeoTargetConstant { - option (google.api.resource) = { - type: "googleads.googleapis.com/GeoTargetConstant" - pattern: "geoTargetConstants/{criterion_id}" - }; - - // Output only. The resource name of the geo target constant. - // Geo target constant resource names have the form: - // - // `geoTargetConstants/{geo_target_constant_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/GeoTargetConstant" - } - ]; - - // Output only. The ID of the geo target constant. - optional int64 id = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Geo target constant English name. - optional string name = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The ISO-3166-1 alpha-2 country code that is associated with the target. - optional string country_code = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Geo target constant target type. - optional string target_type = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Geo target constant status. - google.ads.googleads.v11.enums.GeoTargetConstantStatusEnum.GeoTargetConstantStatus status = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The fully qualified English name, consisting of the target's name and that - // of its parent and country. - optional string canonical_name = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource name of the parent geo target constant. - // Geo target constant resource names have the form: - // - // `geoTargetConstants/{parent_geo_target_constant_id}` - optional string parent_geo_target = 9 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/GeoTargetConstant" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/geographic_view.proto b/third_party/googleapis/google/ads/googleads/v11/resources/geographic_view.proto deleted file mode 100644 index 40191167a..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/geographic_view.proto +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/geo_targeting_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "GeographicViewProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the geographic view resource. - -// A geographic view. -// -// Geographic View includes all metrics aggregated at the country level, -// one row per country. It reports metrics at either actual physical location of -// the user or an area of interest. If other segment fields are used, you may -// get more than one row per country. -message GeographicView { - option (google.api.resource) = { - type: "googleads.googleapis.com/GeographicView" - pattern: "customers/{customer_id}/geographicViews/{country_criterion_id}~{location_type}" - }; - - // Output only. The resource name of the geographic view. - // Geographic view resource names have the form: - // - // `customers/{customer_id}/geographicViews/{country_criterion_id}~{location_type}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/GeographicView" - } - ]; - - // Output only. Type of the geo targeting of the campaign. - google.ads.googleads.v11.enums.GeoTargetingTypeEnum.GeoTargetingType location_type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Criterion Id for the country. - optional int64 country_criterion_id = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/google_ads_field.proto b/third_party/googleapis/google/ads/googleads/v11/resources/google_ads_field.proto deleted file mode 100644 index 99cc7ea88..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/google_ads_field.proto +++ /dev/null @@ -1,107 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/google_ads_field_category.proto"; -import "google/ads/googleads/v11/enums/google_ads_field_data_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "GoogleAdsFieldProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the Google Ads Field resource. - -// A field or resource (artifact) used by GoogleAdsService. -message GoogleAdsField { - option (google.api.resource) = { - type: "googleads.googleapis.com/GoogleAdsField" - pattern: "googleAdsFields/{google_ads_field}" - }; - - // Output only. The resource name of the artifact. - // Artifact resource names have the form: - // - // `googleAdsFields/{name}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/GoogleAdsField" - } - ]; - - // Output only. The name of the artifact. - optional string name = 21 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The category of the artifact. - google.ads.googleads.v11.enums.GoogleAdsFieldCategoryEnum.GoogleAdsFieldCategory category = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Whether the artifact can be used in a SELECT clause in search - // queries. - optional bool selectable = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Whether the artifact can be used in a WHERE clause in search - // queries. - optional bool filterable = 23 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Whether the artifact can be used in a ORDER BY clause in search - // queries. - optional bool sortable = 24 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The names of all resources, segments, and metrics that are selectable with - // the described artifact. - repeated string selectable_with = 25 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The names of all resources that are selectable with the described - // artifact. Fields from these resources do not segment metrics when included - // in search queries. - // - // This field is only set for artifacts whose category is RESOURCE. - repeated string attribute_resources = 26 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. This field lists the names of all metrics that are selectable with the - // described artifact when it is used in the FROM clause. - // It is only set for artifacts whose category is RESOURCE. - repeated string metrics = 27 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. This field lists the names of all artifacts, whether a segment or another - // resource, that segment metrics when included in search queries and when the - // described artifact is used in the FROM clause. It is only set for artifacts - // whose category is RESOURCE. - repeated string segments = 28 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Values the artifact can assume if it is a field of type ENUM. - // - // This field is only set for artifacts of category SEGMENT or ATTRIBUTE. - repeated string enum_values = 29 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. This field determines the operators that can be used with the artifact - // in WHERE clauses. - google.ads.googleads.v11.enums.GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType data_type = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The URL of proto describing the artifact's data type. - optional string type_url = 30 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Whether the field artifact is repeated. - optional bool is_repeated = 31 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/group_placement_view.proto b/third_party/googleapis/google/ads/googleads/v11/resources/group_placement_view.proto deleted file mode 100644 index 52864d967..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/group_placement_view.proto +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/placement_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "GroupPlacementViewProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the group placement view resource. - -// A group placement view. -message GroupPlacementView { - option (google.api.resource) = { - type: "googleads.googleapis.com/GroupPlacementView" - pattern: "customers/{customer_id}/groupPlacementViews/{ad_group_id}~{base64_placement}" - }; - - // Output only. The resource name of the group placement view. - // Group placement view resource names have the form: - // - // `customers/{customer_id}/groupPlacementViews/{ad_group_id}~{base64_placement}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/GroupPlacementView" - } - ]; - - // Output only. The automatic placement string at group level, e. g. web domain, mobile - // app ID, or a YouTube channel ID. - optional string placement = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Domain name for websites and YouTube channel name for YouTube channels. - optional string display_name = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. URL of the group placement, for example, domain, link to the mobile - // application in app store, or a YouTube channel URL. - optional string target_url = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Type of the placement, for example, Website, YouTube Channel, Mobile - // Application. - google.ads.googleads.v11.enums.PlacementTypeEnum.PlacementType placement_type = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/hotel_group_view.proto b/third_party/googleapis/google/ads/googleads/v11/resources/hotel_group_view.proto deleted file mode 100644 index 26ee59935..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/hotel_group_view.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "HotelGroupViewProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the hotel group view resource. - -// A hotel group view. -message HotelGroupView { - option (google.api.resource) = { - type: "googleads.googleapis.com/HotelGroupView" - pattern: "customers/{customer_id}/hotelGroupViews/{ad_group_id}~{criterion_id}" - }; - - // Output only. The resource name of the hotel group view. - // Hotel Group view resource names have the form: - // - // `customers/{customer_id}/hotelGroupViews/{ad_group_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/HotelGroupView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/hotel_performance_view.proto b/third_party/googleapis/google/ads/googleads/v11/resources/hotel_performance_view.proto deleted file mode 100644 index 0e3e24e74..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/hotel_performance_view.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "HotelPerformanceViewProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the hotel performance view resource. - -// A hotel performance view. -message HotelPerformanceView { - option (google.api.resource) = { - type: "googleads.googleapis.com/HotelPerformanceView" - pattern: "customers/{customer_id}/hotelPerformanceView" - }; - - // Output only. The resource name of the hotel performance view. - // Hotel performance view resource names have the form: - // - // `customers/{customer_id}/hotelPerformanceView` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/HotelPerformanceView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/hotel_reconciliation.proto b/third_party/googleapis/google/ads/googleads/v11/resources/hotel_reconciliation.proto deleted file mode 100644 index dd7f5abc0..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/hotel_reconciliation.proto +++ /dev/null @@ -1,116 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/hotel_reconciliation_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "HotelReconciliationProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the hotel reconciliation resource. - -// A hotel reconciliation. It contains conversion information from Hotel -// bookings to reconcile with advertiser records. These rows may be updated -// or canceled before billing through Bulk Uploads. -message HotelReconciliation { - option (google.api.resource) = { - type: "googleads.googleapis.com/HotelReconciliation" - pattern: "customers/{customer_id}/hotelReconciliations/{commission_id}" - }; - - // Immutable. The resource name of the hotel reconciliation. - // Hotel reconciliation resource names have the form: - // - // `customers/{customer_id}/hotelReconciliations/{commission_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/HotelReconciliation" - } - ]; - - // Required. Output only. The commission ID is Google's ID for this booking. Every booking event is - // assigned a Commission ID to help you match it to a guest stay. - string commission_id = 2 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = OUTPUT_ONLY - ]; - - // Output only. The order ID is the identifier for this booking as provided in the - // 'transaction_id' parameter of the conversion tracking tag. - string order_id = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource name for the Campaign associated with the conversion. - string campaign = 11 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Output only. Identifier for the Hotel Center account which provides the rates for the - // Hotel campaign. - int64 hotel_center_id = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Unique identifier for the booked property, as provided in the Hotel Center - // feed. The hotel ID comes from the 'ID' parameter of the conversion tracking - // tag. - string hotel_id = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Check-in date recorded when the booking is made. If the check-in date is - // modified at reconciliation, the revised date will then take the place of - // the original date in this column. Format is YYYY-MM-DD. - string check_in_date = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Check-out date recorded when the booking is made. If the check-in date is - // modified at reconciliation, the revised date will then take the place of - // the original date in this column. Format is YYYY-MM-DD. - string check_out_date = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Required. Output only. Reconciled value is the final value of a booking as paid by the guest. If - // original booking value changes for any reason, such as itinerary changes or - // room upsells, the reconciled value should be the full final amount - // collected. If a booking is canceled, the reconciled value should include - // the value of any cancellation fees or non-refundable nights charged. Value - // is in millionths of the base unit currency. For example, $12.35 would be - // represented as 12350000. Currency unit is in the default customer currency. - int64 reconciled_value_micros = 8 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = OUTPUT_ONLY - ]; - - // Output only. Whether a given booking has been billed. Once billed, a booking can't be - // modified. - bool billed = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Required. Output only. Current status of a booking with regards to reconciliation and billing. - // Bookings should be reconciled within 45 days after the check-out date. - // Any booking not reconciled within 45 days will be billed at its original - // value. - google.ads.googleads.v11.enums.HotelReconciliationStatusEnum.HotelReconciliationStatus status = 10 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = OUTPUT_ONLY - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/income_range_view.proto b/third_party/googleapis/google/ads/googleads/v11/resources/income_range_view.proto deleted file mode 100644 index 361d2b26f..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/income_range_view.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "IncomeRangeViewProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the income range view resource. - -// An income range view. -message IncomeRangeView { - option (google.api.resource) = { - type: "googleads.googleapis.com/IncomeRangeView" - pattern: "customers/{customer_id}/incomeRangeViews/{ad_group_id}~{criterion_id}" - }; - - // Output only. The resource name of the income range view. - // Income range view resource names have the form: - // - // `customers/{customer_id}/incomeRangeViews/{ad_group_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/IncomeRangeView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/invoice.proto b/third_party/googleapis/google/ads/googleads/v11/resources/invoice.proto deleted file mode 100644 index ecdfa7eea..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/invoice.proto +++ /dev/null @@ -1,202 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/dates.proto"; -import "google/ads/googleads/v11/enums/invoice_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "InvoiceProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the Invoice resource. - -// An invoice. All invoice information is snapshotted to match the PDF invoice. -// For invoices older than the launch of InvoiceService, the snapshotted -// information may not match the PDF invoice. -message Invoice { - option (google.api.resource) = { - type: "googleads.googleapis.com/Invoice" - pattern: "customers/{customer_id}/invoices/{invoice_id}" - }; - - // Represents a summarized account budget billable cost. - message AccountBudgetSummary { - // Output only. The resource name of the customer associated with this account budget. - // This contains the customer ID, which appears on the invoice PDF as - // "Account ID". - // Customer resource names have the form: - // - // `customers/{customer_id}` - optional string customer = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The descriptive name of the account budget's customer. It appears on the - // invoice PDF as "Account". - optional string customer_descriptive_name = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource name of the account budget associated with this summarized - // billable cost. - // AccountBudget resource names have the form: - // - // `customers/{customer_id}/accountBudgets/{account_budget_id}` - optional string account_budget = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The name of the account budget. It appears on the invoice PDF as "Account - // budget". - optional string account_budget_name = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The purchase order number of the account budget. It appears on the - // invoice PDF as "Purchase order". - optional string purchase_order_number = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The pretax subtotal amount attributable to this budget during the service - // period, in micros. - optional int64 subtotal_amount_micros = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The tax amount attributable to this budget during the service period, in - // micros. - optional int64 tax_amount_micros = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The total amount attributable to this budget during the service period, - // in micros. This equals the sum of the account budget subtotal amount and - // the account budget tax amount. - optional int64 total_amount_micros = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The billable activity date range of the account budget, within the - // service date range of this invoice. The end date is inclusive. This can - // be different from the account budget's start and end time. - google.ads.googleads.v11.common.DateRange billable_activity_date_range = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Output only. The resource name of the invoice. Multiple customers can share a given - // invoice, so multiple resource names may point to the same invoice. - // Invoice resource names have the form: - // - // `customers/{customer_id}/invoices/{invoice_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Invoice" - } - ]; - - // Output only. The ID of the invoice. It appears on the invoice PDF as "Invoice number". - optional string id = 25 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The type of invoice. - google.ads.googleads.v11.enums.InvoiceTypeEnum.InvoiceType type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource name of this invoice's billing setup. - // - // `customers/{customer_id}/billingSetups/{billing_setup_id}` - optional string billing_setup = 26 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. A 16 digit ID used to identify the payments account associated with the - // billing setup, for example, "1234-5678-9012-3456". It appears on the - // invoice PDF as "Billing Account Number". - optional string payments_account_id = 27 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. A 12 digit ID used to identify the payments profile associated with the - // billing setup, for example, "1234-5678-9012". It appears on the invoice PDF - // as "Billing ID". - optional string payments_profile_id = 28 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The issue date in yyyy-mm-dd format. It appears on the invoice PDF as - // either "Issue date" or "Invoice date". - optional string issue_date = 29 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The due date in yyyy-mm-dd format. - optional string due_date = 30 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The service period date range of this invoice. The end date is inclusive. - google.ads.googleads.v11.common.DateRange service_date_range = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The currency code. All costs are returned in this currency. A subset of the - // currency codes derived from the ISO 4217 standard is supported. - optional string currency_code = 31 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The pretax subtotal amount of invoice level adjustments, in micros. - int64 adjustments_subtotal_amount_micros = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The sum of taxes on the invoice level adjustments, in micros. - int64 adjustments_tax_amount_micros = 20 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The total amount of invoice level adjustments, in micros. - int64 adjustments_total_amount_micros = 21 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The pretax subtotal amount of invoice level regulatory costs, in micros. - int64 regulatory_costs_subtotal_amount_micros = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The sum of taxes on the invoice level regulatory costs, in micros. - int64 regulatory_costs_tax_amount_micros = 23 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The total amount of invoice level regulatory costs, in micros. - int64 regulatory_costs_total_amount_micros = 24 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The pretax subtotal amount, in micros. This equals the - // sum of the AccountBudgetSummary subtotal amounts, - // Invoice.adjustments_subtotal_amount_micros, and - // Invoice.regulatory_costs_subtotal_amount_micros. - // Starting with v6, the Invoice.regulatory_costs_subtotal_amount_micros is no - // longer included. - optional int64 subtotal_amount_micros = 33 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The sum of all taxes on the invoice, in micros. This equals the sum of the - // AccountBudgetSummary tax amounts, plus taxes not associated with a specific - // account budget. - optional int64 tax_amount_micros = 34 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The total amount, in micros. This equals the sum of - // Invoice.subtotal_amount_micros and Invoice.tax_amount_micros. - // Starting with v6, Invoice.regulatory_costs_subtotal_amount_micros is - // also added as it is no longer already included in - // Invoice.tax_amount_micros. - optional int64 total_amount_micros = 35 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource name of the original invoice corrected, wrote off, or canceled - // by this invoice, if applicable. If `corrected_invoice` is set, - // `replaced_invoices` will not be set. - // Invoice resource names have the form: - // - // `customers/{customer_id}/invoices/{invoice_id}` - optional string corrected_invoice = 36 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource name of the original invoice(s) being rebilled or replaced by - // this invoice, if applicable. There might be multiple replaced invoices due - // to invoice consolidation. The replaced invoices may not belong to the same - // payments account. If `replaced_invoices` is set, `corrected_invoice` will - // not be set. - // Invoice resource names have the form: - // - // `customers/{customer_id}/invoices/{invoice_id}` - repeated string replaced_invoices = 37 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The URL to a PDF copy of the invoice. Users need to pass in their OAuth - // token to request the PDF with this URL. - optional string pdf_url = 38 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The list of summarized account budget information associated with this - // invoice. - repeated AccountBudgetSummary account_budget_summaries = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/keyword_plan.proto b/third_party/googleapis/google/ads/googleads/v11/resources/keyword_plan.proto deleted file mode 100644 index 092f643d5..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/keyword_plan.proto +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/dates.proto"; -import "google/ads/googleads/v11/enums/keyword_plan_forecast_interval.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the keyword plan resource. - -// A Keyword Planner plan. -// Max number of saved keyword plans: 10000. -// It's possible to remove plans if limit is reached. -message KeywordPlan { - option (google.api.resource) = { - type: "googleads.googleapis.com/KeywordPlan" - pattern: "customers/{customer_id}/keywordPlans/{keyword_plan_id}" - }; - - // Immutable. The resource name of the Keyword Planner plan. - // KeywordPlan resource names have the form: - // - // `customers/{customer_id}/keywordPlans/{kp_plan_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlan" - } - ]; - - // Output only. The ID of the keyword plan. - optional int64 id = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The name of the keyword plan. - // - // This field is required and should not be empty when creating new keyword - // plans. - optional string name = 6; - - // The date period used for forecasting the plan. - KeywordPlanForecastPeriod forecast_period = 4; -} - -// The forecasting period associated with the keyword plan. -message KeywordPlanForecastPeriod { - // Required. The date used for forecasting the Plan. - oneof interval { - // A future date range relative to the current date used for forecasting. - google.ads.googleads.v11.enums.KeywordPlanForecastIntervalEnum.KeywordPlanForecastInterval date_interval = 1; - - // The custom date range used for forecasting. It cannot be greater than - // a year. - // The start and end dates must be in the future. Otherwise, an error will - // be returned when the forecasting action is performed. - // The start and end dates are inclusive. - google.ads.googleads.v11.common.DateRange date_range = 2; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/keyword_plan_ad_group.proto b/third_party/googleapis/google/ads/googleads/v11/resources/keyword_plan_ad_group.proto deleted file mode 100644 index 410eebc0e..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/keyword_plan_ad_group.proto +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanAdGroupProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the keyword plan ad group resource. - -// A Keyword Planner ad group. -// Max number of keyword plan ad groups per plan: 200. -message KeywordPlanAdGroup { - option (google.api.resource) = { - type: "googleads.googleapis.com/KeywordPlanAdGroup" - pattern: "customers/{customer_id}/keywordPlanAdGroups/{keyword_plan_ad_group_id}" - }; - - // Immutable. The resource name of the Keyword Planner ad group. - // KeywordPlanAdGroup resource names have the form: - // - // `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlanAdGroup" - } - ]; - - // The keyword plan campaign to which this ad group belongs. - optional string keyword_plan_campaign = 6 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlanCampaign" - }]; - - // Output only. The ID of the keyword plan ad group. - optional int64 id = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The name of the keyword plan ad group. - // - // This field is required and should not be empty when creating keyword plan - // ad group. - optional string name = 8; - - // A default ad group max cpc bid in micros in account currency for all - // biddable keywords under the keyword plan ad group. - // If not set, will inherit from parent campaign. - optional int64 cpc_bid_micros = 9; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/keyword_plan_ad_group_keyword.proto b/third_party/googleapis/google/ads/googleads/v11/resources/keyword_plan_ad_group_keyword.proto deleted file mode 100644 index ed870e967..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/keyword_plan_ad_group_keyword.proto +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/keyword_match_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanAdGroupKeywordProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the keyword plan ad group keyword resource. - -// A Keyword Plan ad group keyword. -// Max number of keyword plan keywords per plan: 10000. -message KeywordPlanAdGroupKeyword { - option (google.api.resource) = { - type: "googleads.googleapis.com/KeywordPlanAdGroupKeyword" - pattern: "customers/{customer_id}/keywordPlanAdGroupKeywords/{keyword_plan_ad_group_keyword_id}" - }; - - // Immutable. The resource name of the Keyword Plan ad group keyword. - // KeywordPlanAdGroupKeyword resource names have the form: - // - // `customers/{customer_id}/keywordPlanAdGroupKeywords/{kp_ad_group_keyword_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlanAdGroupKeyword" - } - ]; - - // The Keyword Plan ad group to which this keyword belongs. - optional string keyword_plan_ad_group = 8 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlanAdGroup" - }]; - - // Output only. The ID of the Keyword Plan keyword. - optional int64 id = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The keyword text. - optional string text = 10; - - // The keyword match type. - google.ads.googleads.v11.enums.KeywordMatchTypeEnum.KeywordMatchType match_type = 5; - - // A keyword level max cpc bid in micros (for example, $1 = 1mm). The currency - // is the same as the account currency code. This will override any CPC bid - // set at the keyword plan ad group level. Not applicable for negative - // keywords. (negative = true) This field is Optional. - optional int64 cpc_bid_micros = 11; - - // Immutable. If true, the keyword is negative. - optional bool negative = 12 [(google.api.field_behavior) = IMMUTABLE]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/keyword_plan_campaign.proto b/third_party/googleapis/google/ads/googleads/v11/resources/keyword_plan_campaign.proto deleted file mode 100644 index 26d3c7e63..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/keyword_plan_campaign.proto +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/keyword_plan_network.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanCampaignProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the keyword plan campaign resource. - -// A Keyword Plan campaign. -// Max number of keyword plan campaigns per plan allowed: 1. -message KeywordPlanCampaign { - option (google.api.resource) = { - type: "googleads.googleapis.com/KeywordPlanCampaign" - pattern: "customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}" - }; - - // Immutable. The resource name of the Keyword Plan campaign. - // KeywordPlanCampaign resource names have the form: - // - // `customers/{customer_id}/keywordPlanCampaigns/{kp_campaign_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlanCampaign" - } - ]; - - // The keyword plan this campaign belongs to. - optional string keyword_plan = 9 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlan" - }]; - - // Output only. The ID of the Keyword Plan campaign. - optional int64 id = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The name of the Keyword Plan campaign. - // - // This field is required and should not be empty when creating Keyword Plan - // campaigns. - optional string name = 11; - - // The languages targeted for the Keyword Plan campaign. - // Max allowed: 1. - repeated string language_constants = 12 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/LanguageConstant" - }]; - - // Targeting network. - // - // This field is required and should not be empty when creating Keyword Plan - // campaigns. - google.ads.googleads.v11.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork keyword_plan_network = 6; - - // A default max cpc bid in micros, and in the account currency, for all ad - // groups under the campaign. - // - // This field is required and should not be empty when creating Keyword Plan - // campaigns. - optional int64 cpc_bid_micros = 13; - - // The geo targets. - // Max number allowed: 20. - repeated KeywordPlanGeoTarget geo_targets = 8; -} - -// A geo target. -message KeywordPlanGeoTarget { - // Required. The resource name of the geo target. - optional string geo_target_constant = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/GeoTargetConstant" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/keyword_plan_campaign_keyword.proto b/third_party/googleapis/google/ads/googleads/v11/resources/keyword_plan_campaign_keyword.proto deleted file mode 100644 index c75587a68..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/keyword_plan_campaign_keyword.proto +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/keyword_match_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanCampaignKeywordProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the keyword plan negative keyword resource. - -// A Keyword Plan Campaign keyword. -// Only negative keywords are supported for Campaign Keyword. -message KeywordPlanCampaignKeyword { - option (google.api.resource) = { - type: "googleads.googleapis.com/KeywordPlanCampaignKeyword" - pattern: "customers/{customer_id}/keywordPlanCampaignKeywords/{keyword_plan_campaign_keyword_id}" - }; - - // Immutable. The resource name of the Keyword Plan Campaign keyword. - // KeywordPlanCampaignKeyword resource names have the form: - // - // `customers/{customer_id}/keywordPlanCampaignKeywords/{kp_campaign_keyword_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlanCampaignKeyword" - } - ]; - - // The Keyword Plan campaign to which this negative keyword belongs. - optional string keyword_plan_campaign = 8 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlanCampaign" - }]; - - // Output only. The ID of the Keyword Plan negative keyword. - optional int64 id = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The keyword text. - optional string text = 10; - - // The keyword match type. - google.ads.googleads.v11.enums.KeywordMatchTypeEnum.KeywordMatchType match_type = 5; - - // Immutable. If true, the keyword is negative. - // Must be set to true. Only negative campaign keywords are supported. - optional bool negative = 11 [(google.api.field_behavior) = IMMUTABLE]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/keyword_theme_constant.proto b/third_party/googleapis/google/ads/googleads/v11/resources/keyword_theme_constant.proto deleted file mode 100644 index 6f22dd97e..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/keyword_theme_constant.proto +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "KeywordThemeConstantProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the Smart Campaign keyword theme constant resource. - -// A Smart Campaign keyword theme constant. -message KeywordThemeConstant { - option (google.api.resource) = { - type: "googleads.googleapis.com/KeywordThemeConstant" - pattern: "keywordThemeConstants/{express_category_id}~{express_sub_category_id}" - }; - - // Output only. The resource name of the keyword theme constant. - // Keyword theme constant resource names have the form: - // - // `keywordThemeConstants/{keyword_theme_id}~{sub_keyword_theme_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordThemeConstant" - } - ]; - - // Output only. The ISO-3166 Alpha-2 country code of the constant, eg. "US". - // To display and query matching purpose, the keyword theme needs to be - // localized. - optional string country_code = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The ISO-639-1 language code with 2 letters of the constant, eg. "en". - // To display and query matching purpose, the keyword theme needs to be - // localized. - optional string language_code = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The display name of the keyword theme or sub keyword theme. - optional string display_name = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/keyword_view.proto b/third_party/googleapis/google/ads/googleads/v11/resources/keyword_view.proto deleted file mode 100644 index 9d2a9c74d..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/keyword_view.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "KeywordViewProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the keyword view resource. - -// A keyword view. -message KeywordView { - option (google.api.resource) = { - type: "googleads.googleapis.com/KeywordView" - pattern: "customers/{customer_id}/keywordViews/{ad_group_id}~{criterion_id}" - }; - - // Output only. The resource name of the keyword view. - // Keyword view resource names have the form: - // - // `customers/{customer_id}/keywordViews/{ad_group_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/label.proto b/third_party/googleapis/google/ads/googleads/v11/resources/label.proto deleted file mode 100644 index 79f3f59fc..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/label.proto +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/text_label.proto"; -import "google/ads/googleads/v11/enums/label_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "LabelProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// A label. -message Label { - option (google.api.resource) = { - type: "googleads.googleapis.com/Label" - pattern: "customers/{customer_id}/labels/{label_id}" - }; - - // Immutable. Name of the resource. - // Label resource names have the form: - // `customers/{customer_id}/labels/{label_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Label" - } - ]; - - // Output only. ID of the label. Read only. - optional int64 id = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The name of the label. - // - // This field is required and should not be empty when creating a new label. - // - // The length of this string should be between 1 and 80, inclusive. - optional string name = 7; - - // Output only. Status of the label. Read only. - google.ads.googleads.v11.enums.LabelStatusEnum.LabelStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // A type of label displaying text on a colored background. - google.ads.googleads.v11.common.TextLabel text_label = 5; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/landing_page_view.proto b/third_party/googleapis/google/ads/googleads/v11/resources/landing_page_view.proto deleted file mode 100644 index 606461fda..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/landing_page_view.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "LandingPageViewProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the landing page view resource. - -// A landing page view with metrics aggregated at the unexpanded final URL -// level. -message LandingPageView { - option (google.api.resource) = { - type: "googleads.googleapis.com/LandingPageView" - pattern: "customers/{customer_id}/landingPageViews/{unexpanded_final_url_fingerprint}" - }; - - // Output only. The resource name of the landing page view. - // Landing page view resource names have the form: - // - // `customers/{customer_id}/landingPageViews/{unexpanded_final_url_fingerprint}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/LandingPageView" - } - ]; - - // Output only. The advertiser-specified final URL. - optional string unexpanded_final_url = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/language_constant.proto b/third_party/googleapis/google/ads/googleads/v11/resources/language_constant.proto deleted file mode 100644 index 6c523e0ab..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/language_constant.proto +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "LanguageConstantProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the language constant resource. - -// A language. -message LanguageConstant { - option (google.api.resource) = { - type: "googleads.googleapis.com/LanguageConstant" - pattern: "languageConstants/{criterion_id}" - }; - - // Output only. The resource name of the language constant. - // Language constant resource names have the form: - // - // `languageConstants/{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/LanguageConstant" - } - ]; - - // Output only. The ID of the language constant. - optional int64 id = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The language code, for example, "en_US", "en_AU", "es", "fr", etc. - optional string code = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The full name of the language in English, for example, "English (US)", - // "Spanish", etc. - optional string name = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Whether the language is targetable. - optional bool targetable = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/lead_form_submission_data.proto b/third_party/googleapis/google/ads/googleads/v11/resources/lead_form_submission_data.proto deleted file mode 100644 index 0e6e43237..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/lead_form_submission_data.proto +++ /dev/null @@ -1,105 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/lead_form_field_user_input_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "LeadFormSubmissionDataProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the lead form submission data resource. - -// Data from lead form submissions. -message LeadFormSubmissionData { - option (google.api.resource) = { - type: "googleads.googleapis.com/LeadFormSubmissionData" - pattern: "customers/{customer_id}/leadFormSubmissionData/{lead_form_user_submission_id}" - }; - - // Output only. The resource name of the lead form submission data. - // Lead form submission data resource names have the form: - // - // `customers/{customer_id}/leadFormSubmissionData/{lead_form_submission_data_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/LeadFormSubmissionData" - } - ]; - - // Output only. ID of this lead form submission. - string id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Asset associated with the submitted lead form. - string asset = 3 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Asset" - } - ]; - - // Output only. Campaign associated with the submitted lead form. - string campaign = 4 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Output only. Submission data associated with a lead form. - repeated LeadFormSubmissionField lead_form_submission_fields = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. AdGroup associated with the submitted lead form. - string ad_group = 6 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Output only. AdGroupAd associated with the submitted lead form. - string ad_group_ad = 7 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAd" - } - ]; - - // Output only. Google Click Id associated with the submissed lead form. - string gclid = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The date and time at which the lead form was submitted. The format is - // "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - string submission_date_time = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; -} - -// Fields in the submitted lead form. -message LeadFormSubmissionField { - // Output only. Field type for lead form fields. - google.ads.googleads.v11.enums.LeadFormFieldUserInputTypeEnum.LeadFormFieldUserInputType field_type = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Field value for lead form fields. - string field_value = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/life_event.proto b/third_party/googleapis/google/ads/googleads/v11/resources/life_event.proto deleted file mode 100644 index 5b1a94228..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/life_event.proto +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/criterion_category_availability.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "LifeEventProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the Life Event resource. - -// A life event: a particular interest-based vertical to be targeted to reach -// users when they are in the midst of important life milestones. -message LifeEvent { - option (google.api.resource) = { - type: "googleads.googleapis.com/LifeEvent" - pattern: "customers/{customer_id}/lifeEvents/{life_event_id}" - }; - - // Output only. The resource name of the life event. - // Life event resource names have the form: - // - // `customers/{customer_id}/lifeEvents/{life_event_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/LifeEvent" - } - ]; - - // Output only. The ID of the life event. - int64 id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The name of the life event, for example,"Recently Moved" - string name = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The parent of the life_event. - string parent = 4 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/LifeEvent" - } - ]; - - // Output only. True if the life event is launched to all channels and locales. - bool launched_to_all = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Availability information of the life event. - repeated google.ads.googleads.v11.common.CriterionCategoryAvailability availabilities = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/location_view.proto b/third_party/googleapis/google/ads/googleads/v11/resources/location_view.proto deleted file mode 100644 index e1d7997af..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/location_view.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "LocationViewProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the location view resource. - -// A location view summarizes the performance of campaigns by -// Location criteria. -message LocationView { - option (google.api.resource) = { - type: "googleads.googleapis.com/LocationView" - pattern: "customers/{customer_id}/locationViews/{campaign_id}~{criterion_id}" - }; - - // Output only. The resource name of the location view. - // Location view resource names have the form: - // - // `customers/{customer_id}/locationViews/{campaign_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/LocationView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/managed_placement_view.proto b/third_party/googleapis/google/ads/googleads/v11/resources/managed_placement_view.proto deleted file mode 100644 index 5dbb0acc1..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/managed_placement_view.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ManagedPlacementViewProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the Managed Placement view resource. - -// A managed placement view. -message ManagedPlacementView { - option (google.api.resource) = { - type: "googleads.googleapis.com/ManagedPlacementView" - pattern: "customers/{customer_id}/managedPlacementViews/{ad_group_id}~{criterion_id}" - }; - - // Output only. The resource name of the Managed Placement view. - // Managed placement view resource names have the form: - // - // `customers/{customer_id}/managedPlacementViews/{ad_group_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ManagedPlacementView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/media_file.proto b/third_party/googleapis/google/ads/googleads/v11/resources/media_file.proto deleted file mode 100644 index d67945a36..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/media_file.proto +++ /dev/null @@ -1,136 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/media_type.proto"; -import "google/ads/googleads/v11/enums/mime_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "MediaFileProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the media file resource. - -// A media file. -message MediaFile { - option (google.api.resource) = { - type: "googleads.googleapis.com/MediaFile" - pattern: "customers/{customer_id}/mediaFiles/{media_file_id}" - }; - - // Immutable. The resource name of the media file. - // Media file resource names have the form: - // - // `customers/{customer_id}/mediaFiles/{media_file_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/MediaFile" - } - ]; - - // Output only. The ID of the media file. - optional int64 id = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. Type of the media file. - google.ads.googleads.v11.enums.MediaTypeEnum.MediaType type = 5 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The mime type of the media file. - google.ads.googleads.v11.enums.MimeTypeEnum.MimeType mime_type = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The URL of where the original media file was downloaded from (or a file - // name). Only used for media of type AUDIO and IMAGE. - optional string source_url = 13 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The name of the media file. The name can be used by clients to help - // identify previously uploaded media. - optional string name = 14 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The size of the media file in bytes. - optional int64 file_size = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The specific type of the media file. - oneof mediatype { - // Immutable. Encapsulates an Image. - MediaImage image = 3 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. A ZIP archive media the content of which contains HTML5 assets. - MediaBundle media_bundle = 4 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. Encapsulates an Audio. - MediaAudio audio = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. Encapsulates a Video. - MediaVideo video = 11 [(google.api.field_behavior) = IMMUTABLE]; - } -} - -// Encapsulates an Image. -message MediaImage { - // Immutable. Raw image data. - optional bytes data = 4 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The url to the full size version of the image. - optional string full_size_image_url = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The url to the preview size version of the image. - optional string preview_size_image_url = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; -} - -// Represents a ZIP archive media the content of which contains HTML5 assets. -message MediaBundle { - // Immutable. Raw zipped data. - optional bytes data = 3 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The url to access the uploaded zipped data. - // For example, https://tpc.googlesyndication.com/simgad/123 - // This field is read-only. - optional string url = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; -} - -// Encapsulates an Audio. -message MediaAudio { - // Output only. The duration of the Audio in milliseconds. - optional int64 ad_duration_millis = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; -} - -// Encapsulates a Video. -message MediaVideo { - // Output only. The duration of the Video in milliseconds. - optional int64 ad_duration_millis = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The YouTube video ID (as seen in YouTube URLs). Adding prefix - // "https://www.youtube.com/watch?v=" to this ID will get the YouTube - // streaming URL for this video. - optional string youtube_video_id = 6 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The Advertising Digital Identification code for this video, as defined by - // the American Association of Advertising Agencies, used mainly for - // television commercials. - optional string advertising_id_code = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The Industry Standard Commercial Identifier code for this video, used - // mainly for television commercials. - optional string isci_code = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/merchant_center_link.proto b/third_party/googleapis/google/ads/googleads/v11/resources/merchant_center_link.proto deleted file mode 100644 index c4d2ba638..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/merchant_center_link.proto +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/merchant_center_link_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "MerchantCenterLinkProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the Merchant Center link resource. - -// A data sharing connection, proposed or in use, -// between a Google Ads Customer and a Merchant Center account. -message MerchantCenterLink { - option (google.api.resource) = { - type: "googleads.googleapis.com/MerchantCenterLink" - pattern: "customers/{customer_id}/merchantCenterLinks/{merchant_center_id}" - }; - - // Immutable. The resource name of the merchant center link. - // Merchant center link resource names have the form: - // - // `customers/{customer_id}/merchantCenterLinks/{merchant_center_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/MerchantCenterLink" - } - ]; - - // Output only. The ID of the Merchant Center account. - // This field is readonly. - optional int64 id = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The name of the Merchant Center account. - // This field is readonly. - optional string merchant_center_account_name = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The status of the link. - google.ads.googleads.v11.enums.MerchantCenterLinkStatusEnum.MerchantCenterLinkStatus status = 5; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/mobile_app_category_constant.proto b/third_party/googleapis/google/ads/googleads/v11/resources/mobile_app_category_constant.proto deleted file mode 100644 index de9dfc71d..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/mobile_app_category_constant.proto +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "MobileAppCategoryConstantProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the Mobile App Category Constant resource. - -// A mobile application category constant. -message MobileAppCategoryConstant { - option (google.api.resource) = { - type: "googleads.googleapis.com/MobileAppCategoryConstant" - pattern: "mobileAppCategoryConstants/{mobile_app_category_id}" - }; - - // Output only. The resource name of the mobile app category constant. - // Mobile app category constant resource names have the form: - // - // `mobileAppCategoryConstants/{mobile_app_category_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/MobileAppCategoryConstant" - } - ]; - - // Output only. The ID of the mobile app category constant. - optional int32 id = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Mobile app category name. - optional string name = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/mobile_device_constant.proto b/third_party/googleapis/google/ads/googleads/v11/resources/mobile_device_constant.proto deleted file mode 100644 index e4b31c205..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/mobile_device_constant.proto +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/mobile_device_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "MobileDeviceConstantProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the mobile device constant resource. - -// A mobile device constant. -message MobileDeviceConstant { - option (google.api.resource) = { - type: "googleads.googleapis.com/MobileDeviceConstant" - pattern: "mobileDeviceConstants/{criterion_id}" - }; - - // Output only. The resource name of the mobile device constant. - // Mobile device constant resource names have the form: - // - // `mobileDeviceConstants/{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/MobileDeviceConstant" - } - ]; - - // Output only. The ID of the mobile device constant. - optional int64 id = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The name of the mobile device. - optional string name = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The manufacturer of the mobile device. - optional string manufacturer_name = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The operating system of the mobile device. - optional string operating_system_name = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The type of mobile device. - google.ads.googleads.v11.enums.MobileDeviceTypeEnum.MobileDeviceType type = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/offline_user_data_job.proto b/third_party/googleapis/google/ads/googleads/v11/resources/offline_user_data_job.proto deleted file mode 100644 index 5be69552f..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/offline_user_data_job.proto +++ /dev/null @@ -1,94 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/offline_user_data.proto"; -import "google/ads/googleads/v11/enums/offline_user_data_job_failure_reason.proto"; -import "google/ads/googleads/v11/enums/offline_user_data_job_match_rate_range.proto"; -import "google/ads/googleads/v11/enums/offline_user_data_job_status.proto"; -import "google/ads/googleads/v11/enums/offline_user_data_job_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "OfflineUserDataJobProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the offline user data job resource. - -// A job containing offline user data of store visitors, or user list members -// that will be processed asynchronously. The uploaded data isn't readable and -// the processing results of the job can only be read using -// GoogleAdsService.Search/SearchStream. -message OfflineUserDataJob { - option (google.api.resource) = { - type: "googleads.googleapis.com/OfflineUserDataJob" - pattern: "customers/{customer_id}/offlineUserDataJobs/{offline_user_data_update_id}" - }; - - // Immutable. The resource name of the offline user data job. - // Offline user data job resource names have the form: - // - // `customers/{customer_id}/offlineUserDataJobs/{offline_user_data_job_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/OfflineUserDataJob" - } - ]; - - // Output only. ID of this offline user data job. - optional int64 id = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. User specified job ID. - optional int64 external_id = 10 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Type of the job. - google.ads.googleads.v11.enums.OfflineUserDataJobTypeEnum.OfflineUserDataJobType type = 4 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. Status of the job. - google.ads.googleads.v11.enums.OfflineUserDataJobStatusEnum.OfflineUserDataJobStatus status = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Reason for the processing failure, if status is FAILED. - google.ads.googleads.v11.enums.OfflineUserDataJobFailureReasonEnum.OfflineUserDataJobFailureReason failure_reason = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Metadata of offline user data job depicting match rate range. - OfflineUserDataJobMetadata operation_metadata = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Metadata of the job. - oneof metadata { - // Immutable. Metadata for data updates to a CRM-based user list. - google.ads.googleads.v11.common.CustomerMatchUserListMetadata customer_match_user_list_metadata = 7 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Metadata for store sales data update. - google.ads.googleads.v11.common.StoreSalesMetadata store_sales_metadata = 8 [(google.api.field_behavior) = IMMUTABLE]; - } -} - -// Metadata of offline user data job. -message OfflineUserDataJobMetadata { - // Output only. Match rate of the Customer Match user list upload. Describes the estimated - // match rate when the status of the job is "RUNNING" and final match rate - // when the final match rate is available after the status of the job is - // "SUCCESS/FAILED". - google.ads.googleads.v11.enums.OfflineUserDataJobMatchRateRangeEnum.OfflineUserDataJobMatchRateRange match_rate_range = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/operating_system_version_constant.proto b/third_party/googleapis/google/ads/googleads/v11/resources/operating_system_version_constant.proto deleted file mode 100644 index afb8a000b..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/operating_system_version_constant.proto +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/operating_system_version_operator_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "OperatingSystemVersionConstantProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the operating system version constant resource. - -// A mobile operating system version or a range of versions, depending on -// `operator_type`. List of available mobile platforms at -// https://developers.google.com/google-ads/api/reference/data/codes-formats#mobile-platforms -message OperatingSystemVersionConstant { - option (google.api.resource) = { - type: "googleads.googleapis.com/OperatingSystemVersionConstant" - pattern: "operatingSystemVersionConstants/{criterion_id}" - }; - - // Output only. The resource name of the operating system version constant. - // Operating system version constant resource names have the form: - // - // `operatingSystemVersionConstants/{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/OperatingSystemVersionConstant" - } - ]; - - // Output only. The ID of the operating system version. - optional int64 id = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Name of the operating system. - optional string name = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The OS Major Version number. - optional int32 os_major_version = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The OS Minor Version number. - optional int32 os_minor_version = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Determines whether this constant represents a single version or a range of - // versions. - google.ads.googleads.v11.enums.OperatingSystemVersionOperatorTypeEnum.OperatingSystemVersionOperatorType operator_type = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/paid_organic_search_term_view.proto b/third_party/googleapis/google/ads/googleads/v11/resources/paid_organic_search_term_view.proto deleted file mode 100644 index 481023232..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/paid_organic_search_term_view.proto +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "PaidOrganicSearchTermViewProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the PaidOrganicSearchTermView resource. - -// A paid organic search term view providing a view of search stats across -// ads and organic listings aggregated by search term at the ad group level. -message PaidOrganicSearchTermView { - option (google.api.resource) = { - type: "googleads.googleapis.com/PaidOrganicSearchTermView" - pattern: "customers/{customer_id}/paidOrganicSearchTermViews/{campaign_id}~{ad_group_id}~{base64_search_term}" - }; - - // Output only. The resource name of the search term view. - // Search term view resource names have the form: - // - // `customers/{customer_id}/paidOrganicSearchTermViews/{campaign_id}~ - // {ad_group_id}~{URL-base64 search term}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/PaidOrganicSearchTermView" - } - ]; - - // Output only. The search term. - optional string search_term = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/parental_status_view.proto b/third_party/googleapis/google/ads/googleads/v11/resources/parental_status_view.proto deleted file mode 100644 index 6e675b608..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/parental_status_view.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ParentalStatusViewProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the parental status view resource. - -// A parental status view. -message ParentalStatusView { - option (google.api.resource) = { - type: "googleads.googleapis.com/ParentalStatusView" - pattern: "customers/{customer_id}/parentalStatusViews/{ad_group_id}~{criterion_id}" - }; - - // Output only. The resource name of the parental status view. - // Parental Status view resource names have the form: - // - // `customers/{customer_id}/parentalStatusViews/{ad_group_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ParentalStatusView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/payments_account.proto b/third_party/googleapis/google/ads/googleads/v11/resources/payments_account.proto deleted file mode 100644 index 0b3fe6404..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/payments_account.proto +++ /dev/null @@ -1,77 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "PaymentsAccountProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the PaymentsAccount resource. - -// A payments account, which can be used to set up billing for an Ads customer. -message PaymentsAccount { - option (google.api.resource) = { - type: "googleads.googleapis.com/PaymentsAccount" - pattern: "customers/{customer_id}/paymentsAccounts/{payments_account_id}" - }; - - // Output only. The resource name of the payments account. - // PaymentsAccount resource names have the form: - // - // `customers/{customer_id}/paymentsAccounts/{payments_account_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/PaymentsAccount" - } - ]; - - // Output only. A 16 digit ID used to identify a payments account. - optional string payments_account_id = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The name of the payments account. - optional string name = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The currency code of the payments account. - // A subset of the currency codes derived from the ISO 4217 standard is - // supported. - optional string currency_code = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. A 12 digit ID used to identify the payments profile associated with the - // payments account. - optional string payments_profile_id = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. A secondary payments profile ID present in uncommon situations, for - // example, when a sequential liability agreement has been arranged. - optional string secondary_payments_profile_id = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Paying manager of this payment account. - optional string paying_manager_customer = 13 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Customer" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/product_bidding_category_constant.proto b/third_party/googleapis/google/ads/googleads/v11/resources/product_bidding_category_constant.proto deleted file mode 100644 index 3e9463aa1..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/product_bidding_category_constant.proto +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/product_bidding_category_level.proto"; -import "google/ads/googleads/v11/enums/product_bidding_category_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ProductBiddingCategoryConstantProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the ProductBiddingCategoryConstant resource. - -// A Product Bidding Category. -message ProductBiddingCategoryConstant { - option (google.api.resource) = { - type: "googleads.googleapis.com/ProductBiddingCategoryConstant" - pattern: "productBiddingCategoryConstants/{country_code}~{level}~{id}" - }; - - // Output only. The resource name of the product bidding category. - // Product bidding category resource names have the form: - // - // `productBiddingCategoryConstants/{country_code}~{level}~{id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ProductBiddingCategoryConstant" - } - ]; - - // Output only. ID of the product bidding category. - // - // This ID is equivalent to the google_product_category ID as described in - // this article: https://support.google.com/merchants/answer/6324436. - optional int64 id = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Two-letter upper-case country code of the product bidding category. - optional string country_code = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Resource name of the parent product bidding category. - optional string product_bidding_category_constant_parent = 12 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ProductBiddingCategoryConstant" - } - ]; - - // Output only. Level of the product bidding category. - google.ads.googleads.v11.enums.ProductBiddingCategoryLevelEnum.ProductBiddingCategoryLevel level = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Status of the product bidding category. - google.ads.googleads.v11.enums.ProductBiddingCategoryStatusEnum.ProductBiddingCategoryStatus status = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Language code of the product bidding category. - optional string language_code = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Display value of the product bidding category localized according to - // language_code. - optional string localized_name = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/product_group_view.proto b/third_party/googleapis/google/ads/googleads/v11/resources/product_group_view.proto deleted file mode 100644 index d5243f299..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/product_group_view.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ProductGroupViewProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the ProductGroup View resource. - -// A product group view. -message ProductGroupView { - option (google.api.resource) = { - type: "googleads.googleapis.com/ProductGroupView" - pattern: "customers/{customer_id}/productGroupViews/{adgroup_id}~{criterion_id}" - }; - - // Output only. The resource name of the product group view. - // Product group view resource names have the form: - // - // `customers/{customer_id}/productGroupViews/{ad_group_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ProductGroupView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/recommendation.proto b/third_party/googleapis/google/ads/googleads/v11/resources/recommendation.proto deleted file mode 100644 index 9fc222673..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/recommendation.proto +++ /dev/null @@ -1,434 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/criteria.proto"; -import "google/ads/googleads/v11/common/extensions.proto"; -import "google/ads/googleads/v11/enums/keyword_match_type.proto"; -import "google/ads/googleads/v11/enums/recommendation_type.proto"; -import "google/ads/googleads/v11/enums/target_cpa_opt_in_recommendation_goal.proto"; -import "google/ads/googleads/v11/resources/ad.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "RecommendationProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the Recommendation resource. - -// A recommendation. -message Recommendation { - option (google.api.resource) = { - type: "googleads.googleapis.com/Recommendation" - pattern: "customers/{customer_id}/recommendations/{recommendation_id}" - }; - - // The impact of making the change as described in the recommendation. - // Some types of recommendations may not have impact information. - message RecommendationImpact { - // Output only. Base metrics at the time the recommendation was generated. - RecommendationMetrics base_metrics = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Estimated metrics if the recommendation is applied. - RecommendationMetrics potential_metrics = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Weekly account performance metrics. For some recommendation types, these - // are averaged over the past 90-day period and hence can be fractional. - message RecommendationMetrics { - // Output only. Number of ad impressions. - optional double impressions = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Number of ad clicks. - optional double clicks = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Cost (in micros) for advertising, in the local currency for the account. - optional int64 cost_micros = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Number of conversions. - optional double conversions = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Number of video views for a video ad campaign. - optional double video_views = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The budget recommendation for budget constrained campaigns. - message CampaignBudgetRecommendation { - // The impact estimates for a given budget amount. - message CampaignBudgetRecommendationOption { - // Output only. The budget amount for this option. - optional int64 budget_amount_micros = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The impact estimate if budget is changed to amount specified in this - // option. - RecommendationImpact impact = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Output only. The current budget amount in micros. - optional int64 current_budget_amount_micros = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The recommended budget amount in micros. - optional int64 recommended_budget_amount_micros = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The budget amounts and associated impact estimates for some values of - // possible budget amounts. - repeated CampaignBudgetRecommendationOption budget_options = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The keyword recommendation. - message KeywordRecommendation { - // Output only. The recommended keyword. - google.ads.googleads.v11.common.KeywordInfo keyword = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The recommended CPC (cost-per-click) bid. - optional int64 recommended_cpc_bid_micros = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The text ad recommendation. - message TextAdRecommendation { - // Output only. Recommended ad. - Ad ad = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Creation date of the recommended ad. - // YYYY-MM-DD format, for example, 2018-04-17. - optional string creation_date = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Date, if present, is the earliest when the recommendation will be auto - // applied. - // YYYY-MM-DD format, for example, 2018-04-17. - optional string auto_apply_date = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The Target CPA opt-in recommendation. - message TargetCpaOptInRecommendation { - // The Target CPA opt-in option with impact estimate. - message TargetCpaOptInRecommendationOption { - // Output only. The goal achieved by this option. - google.ads.googleads.v11.enums.TargetCpaOptInRecommendationGoalEnum.TargetCpaOptInRecommendationGoal goal = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Average CPA target. - optional int64 target_cpa_micros = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The minimum campaign budget, in local currency for the account, - // required to achieve the target CPA. - // Amount is specified in micros, where one million is equivalent to one - // currency unit. - optional int64 required_campaign_budget_amount_micros = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The impact estimate if this option is selected. - RecommendationImpact impact = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Output only. The available goals and corresponding options for Target CPA strategy. - repeated TargetCpaOptInRecommendationOption options = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The recommended average CPA target. See required budget amount and impact - // of using this recommendation in options list. - optional int64 recommended_target_cpa_micros = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The Maximize Conversions Opt-In recommendation. - message MaximizeConversionsOptInRecommendation { - // Output only. The recommended new budget amount. - optional int64 recommended_budget_amount_micros = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The Enhanced Cost-Per-Click Opt-In recommendation. - message EnhancedCpcOptInRecommendation { - - } - - // The Search Partners Opt-In recommendation. - message SearchPartnersOptInRecommendation { - - } - - // The Maximize Clicks opt-in recommendation. - message MaximizeClicksOptInRecommendation { - // Output only. The recommended new budget amount. - // Only set if the current budget is too high. - optional int64 recommended_budget_amount_micros = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The Optimize Ad Rotation recommendation. - message OptimizeAdRotationRecommendation { - - } - - // The Callout extension recommendation. - message CalloutExtensionRecommendation { - // Output only. Callout extensions recommended to be added. - repeated google.ads.googleads.v11.common.CalloutFeedItem recommended_extensions = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The Sitelink extension recommendation. - message SitelinkExtensionRecommendation { - // Output only. Sitelink extensions recommended to be added. - repeated google.ads.googleads.v11.common.SitelinkFeedItem recommended_extensions = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The Call extension recommendation. - message CallExtensionRecommendation { - // Output only. Call extensions recommended to be added. - repeated google.ads.googleads.v11.common.CallFeedItem recommended_extensions = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The keyword match type recommendation. - message KeywordMatchTypeRecommendation { - // Output only. The existing keyword where the match type should be more broad. - google.ads.googleads.v11.common.KeywordInfo keyword = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The recommended new match type. - google.ads.googleads.v11.enums.KeywordMatchTypeEnum.KeywordMatchType recommended_match_type = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The move unused budget recommendation. - message MoveUnusedBudgetRecommendation { - // Output only. The excess budget's resource_name. - optional string excess_campaign_budget = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The recommendation for the constrained budget to increase. - CampaignBudgetRecommendation budget_recommendation = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The Target ROAS opt-in recommendation. - message TargetRoasOptInRecommendation { - // Output only. The recommended target ROAS (revenue per unit of spend). - // The value is between 0.01 and 1000.0, inclusive. - optional double recommended_target_roas = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The minimum campaign budget, in local currency for the account, - // required to achieve the target ROAS. - // Amount is specified in micros, where one million is equivalent to one - // currency unit. - optional int64 required_campaign_budget_amount_micros = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The add responsive search ad asset recommendation. - message ResponsiveSearchAdAssetRecommendation { - // Output only. The current ad to be updated. - Ad current_ad = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The recommended assets. This is populated only with the new headlines - // and/or descriptions, and is otherwise empty. - Ad recommended_assets = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The responsive search ad improve ad strength recommendation. - message ResponsiveSearchAdImproveAdStrengthRecommendation { - // Output only. The current ad to be updated. - Ad current_ad = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The updated ad. - Ad recommended_ad = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The add responsive search ad recommendation. - message ResponsiveSearchAdRecommendation { - // Output only. Recommended ad. - Ad ad = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The use broad match keyword recommendation. - message UseBroadMatchKeywordRecommendation { - // Output only. Sample of keywords to be expanded to Broad Match. - repeated google.ads.googleads.v11.common.KeywordInfo keyword = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Total number of keywords to be expanded to Broad Match in the campaign. - int64 suggested_keywords_count = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Total number of keywords in the campaign. - int64 campaign_keywords_count = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Whether the associated campaign uses a shared budget. - bool campaign_uses_shared_budget = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The budget recommended to avoid becoming budget constrained after - // applying the recommendation. - int64 required_campaign_budget_amount_micros = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The upgrade a Smart Shopping campaign to a Performance Max campaign - // recommendation. - message UpgradeSmartShoppingCampaignToPerformanceMaxRecommendation { - // Output only. ID of Merchant Center account. - int64 merchant_id = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Country whose products from merchant's inventory should be included. - string sales_country_code = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The Display Expansion opt-in recommendation. - message DisplayExpansionOptInRecommendation { - - } - - // The Upgrade Local campaign to Performance Max campaign recommendation. - message UpgradeLocalCampaignToPerformanceMaxRecommendation { - - } - - // Immutable. The resource name of the recommendation. - // - // `customers/{customer_id}/recommendations/{recommendation_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Recommendation" - } - ]; - - // Output only. The type of recommendation. - google.ads.googleads.v11.enums.RecommendationTypeEnum.RecommendationType type = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The impact on account performance as a result of applying the - // recommendation. - RecommendationImpact impact = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The budget targeted by this recommendation. This will be set only when - // the recommendation affects a single campaign budget. - // - // This field will be set for the following recommendation types: - // CAMPAIGN_BUDGET, FORECASTING_CAMPAIGN_BUDGET, MARGINAL_ROI_CAMPAIGN_BUDGET, - // MOVE_UNUSED_BUDGET - optional string campaign_budget = 24 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignBudget" - } - ]; - - // Output only. The campaign targeted by this recommendation. This will be set only when - // the recommendation affects a single campaign. - // - // This field will be set for the following recommendation types: - // CALL_EXTENSION, CALLOUT_EXTENSION, ENHANCED_CPC_OPT_IN, - // USE_BROAD_MATCH_KEYWORD, KEYWORD, KEYWORD_MATCH_TYPE, - // UPGRADE_LOCAL_CAMPAIGN_TO_PERFORMANCE_MAX, MAXIMIZE_CLICKS_OPT_IN, - // MAXIMIZE_CONVERSIONS_OPT_IN, OPTIMIZE_AD_ROTATION, - // RESPONSIVE_SEARCH_AD, - // RESPONSIVE_SEARCH_AD_ASSET, - // SEARCH_PARTNERS_OPT_IN, - // DISPLAY_EXPANSION_OPT_IN, SITELINK_EXTENSION, TARGET_CPA_OPT_IN, - // TARGET_ROAS_OPT_IN, TEXT_AD, - // UPGRADE_SMART_SHOPPING_CAMPAIGN_TO_PERFORMANCE_MAX - optional string campaign = 25 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Output only. The ad group targeted by this recommendation. This will be set only when - // the recommendation affects a single ad group. - // - // This field will be set for the following recommendation types: - // KEYWORD, OPTIMIZE_AD_ROTATION, RESPONSIVE_SEARCH_AD, - // RESPONSIVE_SEARCH_AD_ASSET, TEXT_AD - optional string ad_group = 26 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Output only. Whether the recommendation is dismissed or not. - optional bool dismissed = 27 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The details of recommendation. - oneof recommendation { - // Output only. The campaign budget recommendation. - CampaignBudgetRecommendation campaign_budget_recommendation = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The forecasting campaign budget recommendation. - CampaignBudgetRecommendation forecasting_campaign_budget_recommendation = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The keyword recommendation. - KeywordRecommendation keyword_recommendation = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Add expanded text ad recommendation. - TextAdRecommendation text_ad_recommendation = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The TargetCPA opt-in recommendation. - TargetCpaOptInRecommendation target_cpa_opt_in_recommendation = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The MaximizeConversions Opt-In recommendation. - MaximizeConversionsOptInRecommendation maximize_conversions_opt_in_recommendation = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The Enhanced Cost-Per-Click Opt-In recommendation. - EnhancedCpcOptInRecommendation enhanced_cpc_opt_in_recommendation = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The Search Partners Opt-In recommendation. - SearchPartnersOptInRecommendation search_partners_opt_in_recommendation = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The MaximizeClicks Opt-In recommendation. - MaximizeClicksOptInRecommendation maximize_clicks_opt_in_recommendation = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The Optimize Ad Rotation recommendation. - OptimizeAdRotationRecommendation optimize_ad_rotation_recommendation = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The Callout extension recommendation. - CalloutExtensionRecommendation callout_extension_recommendation = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The Sitelink extension recommendation. - SitelinkExtensionRecommendation sitelink_extension_recommendation = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The Call extension recommendation. - CallExtensionRecommendation call_extension_recommendation = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The keyword match type recommendation. - KeywordMatchTypeRecommendation keyword_match_type_recommendation = 20 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The move unused budget recommendation. - MoveUnusedBudgetRecommendation move_unused_budget_recommendation = 21 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The Target ROAS opt-in recommendation. - TargetRoasOptInRecommendation target_roas_opt_in_recommendation = 23 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The add responsive search ad recommendation. - ResponsiveSearchAdRecommendation responsive_search_ad_recommendation = 28 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The marginal ROI campaign budget recommendation. - CampaignBudgetRecommendation marginal_roi_campaign_budget_recommendation = 29 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The use broad match keyword recommendation. - UseBroadMatchKeywordRecommendation use_broad_match_keyword_recommendation = 30 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The responsive search ad asset recommendation. - ResponsiveSearchAdAssetRecommendation responsive_search_ad_asset_recommendation = 31 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The upgrade a Smart Shopping campaign to a Performance Max campaign - // recommendation. - UpgradeSmartShoppingCampaignToPerformanceMaxRecommendation upgrade_smart_shopping_campaign_to_performance_max_recommendation = 32 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The responsive search ad improve ad strength recommendation. - ResponsiveSearchAdImproveAdStrengthRecommendation responsive_search_ad_improve_ad_strength_recommendation = 33 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The Display Expansion opt-in recommendation. - DisplayExpansionOptInRecommendation display_expansion_opt_in_recommendation = 34 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The upgrade a Local campaign to a Performance Max campaign - // recommendation. - UpgradeLocalCampaignToPerformanceMaxRecommendation upgrade_local_campaign_to_performance_max_recommendation = 35 [(google.api.field_behavior) = OUTPUT_ONLY]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/remarketing_action.proto b/third_party/googleapis/google/ads/googleads/v11/resources/remarketing_action.proto deleted file mode 100644 index e438219d0..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/remarketing_action.proto +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/tag_snippet.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "RemarketingActionProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the Remarketing Action resource. - -// A remarketing action. A snippet of JavaScript code that will collect the -// product id and the type of page people visited (product page, shopping cart -// page, purchase page, general site visit) on an advertiser's website. -message RemarketingAction { - option (google.api.resource) = { - type: "googleads.googleapis.com/RemarketingAction" - pattern: "customers/{customer_id}/remarketingActions/{remarketing_action_id}" - }; - - // Immutable. The resource name of the remarketing action. - // Remarketing action resource names have the form: - // - // `customers/{customer_id}/remarketingActions/{remarketing_action_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/RemarketingAction" - } - ]; - - // Output only. Id of the remarketing action. - optional int64 id = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The name of the remarketing action. - // - // This field is required and should not be empty when creating new - // remarketing actions. - optional string name = 6; - - // Output only. The snippets used for tracking remarketing actions. - repeated google.ads.googleads.v11.common.TagSnippet tag_snippets = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/search_term_view.proto b/third_party/googleapis/google/ads/googleads/v11/resources/search_term_view.proto deleted file mode 100644 index cbd565315..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/search_term_view.proto +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/search_term_targeting_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "SearchTermViewProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the SearchTermView resource. - -// A search term view with metrics aggregated by search term at the ad group -// level. -message SearchTermView { - option (google.api.resource) = { - type: "googleads.googleapis.com/SearchTermView" - pattern: "customers/{customer_id}/searchTermViews/{campaign_id}~{ad_group_id}~{query}" - }; - - // Output only. The resource name of the search term view. - // Search term view resource names have the form: - // - // `customers/{customer_id}/searchTermViews/{campaign_id}~{ad_group_id}~{URL-base64_search_term}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/SearchTermView" - } - ]; - - // Output only. The search term. - optional string search_term = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The ad group the search term served in. - optional string ad_group = 6 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Output only. Indicates whether the search term is currently one of your - // targeted or excluded keywords. - google.ads.googleads.v11.enums.SearchTermTargetingStatusEnum.SearchTermTargetingStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/shared_criterion.proto b/third_party/googleapis/google/ads/googleads/v11/resources/shared_criterion.proto deleted file mode 100644 index 3e9f7f8a3..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/shared_criterion.proto +++ /dev/null @@ -1,91 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/criteria.proto"; -import "google/ads/googleads/v11/enums/criterion_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "SharedCriterionProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the SharedCriterion resource. - -// A criterion belonging to a shared set. -message SharedCriterion { - option (google.api.resource) = { - type: "googleads.googleapis.com/SharedCriterion" - pattern: "customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}" - }; - - // Immutable. The resource name of the shared criterion. - // Shared set resource names have the form: - // - // `customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/SharedCriterion" - } - ]; - - // Immutable. The shared set to which the shared criterion belongs. - optional string shared_set = 10 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/SharedSet" - } - ]; - - // Output only. The ID of the criterion. - // - // This field is ignored for mutates. - optional int64 criterion_id = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The type of the criterion. - google.ads.googleads.v11.enums.CriterionTypeEnum.CriterionType type = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The criterion. - // - // Exactly one must be set. - oneof criterion { - // Immutable. Keyword. - google.ads.googleads.v11.common.KeywordInfo keyword = 3 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. YouTube Video. - google.ads.googleads.v11.common.YouTubeVideoInfo youtube_video = 5 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. YouTube Channel. - google.ads.googleads.v11.common.YouTubeChannelInfo youtube_channel = 6 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Placement. - google.ads.googleads.v11.common.PlacementInfo placement = 7 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Mobile App Category. - google.ads.googleads.v11.common.MobileAppCategoryInfo mobile_app_category = 8 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Mobile application. - google.ads.googleads.v11.common.MobileApplicationInfo mobile_application = 9 [(google.api.field_behavior) = IMMUTABLE]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/shared_set.proto b/third_party/googleapis/google/ads/googleads/v11/resources/shared_set.proto deleted file mode 100644 index ca1049273..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/shared_set.proto +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/enums/shared_set_status.proto"; -import "google/ads/googleads/v11/enums/shared_set_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "SharedSetProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the SharedSet resource. - -// SharedSets are used for sharing criterion exclusions across multiple -// campaigns. -message SharedSet { - option (google.api.resource) = { - type: "googleads.googleapis.com/SharedSet" - pattern: "customers/{customer_id}/sharedSets/{shared_set_id}" - }; - - // Immutable. The resource name of the shared set. - // Shared set resource names have the form: - // - // `customers/{customer_id}/sharedSets/{shared_set_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/SharedSet" - } - ]; - - // Output only. The ID of this shared set. Read only. - optional int64 id = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The type of this shared set: each shared set holds only a single kind - // of resource. Required. Immutable. - google.ads.googleads.v11.enums.SharedSetTypeEnum.SharedSetType type = 3 [(google.api.field_behavior) = IMMUTABLE]; - - // The name of this shared set. Required. - // Shared Sets must have names that are unique among active shared sets of - // the same type. - // The length of this string should be between 1 and 255 UTF-8 bytes, - // inclusive. - optional string name = 9; - - // Output only. The status of this shared set. Read only. - google.ads.googleads.v11.enums.SharedSetStatusEnum.SharedSetStatus status = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The number of shared criteria within this shared set. Read only. - optional int64 member_count = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The number of campaigns associated with this shared set. Read only. - optional int64 reference_count = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/shopping_performance_view.proto b/third_party/googleapis/google/ads/googleads/v11/resources/shopping_performance_view.proto deleted file mode 100644 index 370c1daf9..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/shopping_performance_view.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ShoppingPerformanceViewProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the ShoppingPerformanceView resource. - -// Shopping performance view. -// Provides Shopping campaign statistics aggregated at several product dimension -// levels. Product dimension values from Merchant Center such as brand, -// category, custom attributes, product condition and product type will reflect -// the state of each dimension as of the date and time when the corresponding -// event was recorded. -message ShoppingPerformanceView { - option (google.api.resource) = { - type: "googleads.googleapis.com/ShoppingPerformanceView" - pattern: "customers/{customer_id}/shoppingPerformanceView" - }; - - // Output only. The resource name of the Shopping performance view. - // Shopping performance view resource names have the form: - // `customers/{customer_id}/shoppingPerformanceView` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ShoppingPerformanceView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/smart_campaign_search_term_view.proto b/third_party/googleapis/google/ads/googleads/v11/resources/smart_campaign_search_term_view.proto deleted file mode 100644 index 7f06c8fa7..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/smart_campaign_search_term_view.proto +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "SmartCampaignSearchTermViewProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the SmartCampaignSearchTermView resource. - -// A Smart campaign search term view. -message SmartCampaignSearchTermView { - option (google.api.resource) = { - type: "googleads.googleapis.com/SmartCampaignSearchTermView" - pattern: "customers/{customer_id}/smartCampaignSearchTermViews/{campaign_id}~{query}" - }; - - // Output only. The resource name of the Smart campaign search term view. - // Smart campaign search term view resource names have the form: - // - // `customers/{customer_id}/smartCampaignSearchTermViews/{campaign_id}~{URL-base64_search_term}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/SmartCampaignSearchTermView" - } - ]; - - // Output only. The search term. - string search_term = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The Smart campaign the search term served in. - string campaign = 3 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/smart_campaign_setting.proto b/third_party/googleapis/google/ads/googleads/v11/resources/smart_campaign_setting.proto deleted file mode 100644 index ac2f08c17..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/smart_campaign_setting.proto +++ /dev/null @@ -1,110 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "SmartCampaignSettingProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the Smart campaign setting resource. - -// Settings for configuring Smart campaigns. -message SmartCampaignSetting { - option (google.api.resource) = { - type: "googleads.googleapis.com/SmartCampaignSetting" - pattern: "customers/{customer_id}/smartCampaignSettings/{campaign_id}" - }; - - // Phone number and country code in smart campaign settings. - message PhoneNumber { - // Phone number of the smart campaign. - optional string phone_number = 1; - - // Upper-case, two-letter country code as defined by ISO-3166. - optional string country_code = 2; - } - - // Settings for configuring a business profile optimized for ads as this - // campaign's landing page. - message AdOptimizedBusinessProfileSetting { - // Enabling a lead form on your business profile enables prospective - // customers to contact your business by filling out a simple form, - // and you'll receive their information through email. - bool include_lead_form = 1; - } - - // Immutable. The resource name of the Smart campaign setting. - // Smart campaign setting resource names have the form: - // - // `customers/{customer_id}/smartCampaignSettings/{campaign_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/SmartCampaignSetting" - } - ]; - - // Output only. The campaign to which these settings apply. - string campaign = 2 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Phone number and country code. - PhoneNumber phone_number = 3; - - // The ISO-639-1 language code to advertise in. - string advertising_language_code = 7; - - // The landing page of this campaign. - oneof landing_page { - // The user-provided landing page URL for this Campaign. - string final_url = 8; - - // Settings for configuring a business profile optimized for ads as this - // campaign's landing page. This campaign must be linked to a business - // profile to use this option. For more information on this feature, - // consult https://support.google.com/google-ads/answer/9827068. - AdOptimizedBusinessProfileSetting ad_optimized_business_profile_setting = 9; - } - - // The business setting of this campaign. - oneof business_setting { - // The name of the business. - string business_name = 5; - - // The resource name of a Business Profile location. - // Business Profile location resource names can be fetched through the - // Business Profile API and adhere to the following format: - // `locations/{locationId}`. - // - // See the [Business Profile API] - // (https://developers.google.com/my-business/reference/businessinformation/rest/v1/accounts.locations) - // for additional details. - string business_profile_location = 10; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/third_party_app_analytics_link.proto b/third_party/googleapis/google/ads/googleads/v11/resources/third_party_app_analytics_link.proto deleted file mode 100644 index 4fdcbca18..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/third_party_app_analytics_link.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ThirdPartyAppAnalyticsLinkProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// A data sharing connection, allowing the import of third party app analytics -// into a Google Ads Customer. -message ThirdPartyAppAnalyticsLink { - option (google.api.resource) = { - type: "googleads.googleapis.com/ThirdPartyAppAnalyticsLink" - pattern: "customers/{customer_id}/thirdPartyAppAnalyticsLinks/{customer_link_id}" - }; - - // Immutable. The resource name of the third party app analytics link. - // Third party app analytics link resource names have the form: - // - // `customers/{customer_id}/thirdPartyAppAnalyticsLinks/{account_link_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ThirdPartyAppAnalyticsLink" - } - ]; - - // Output only. The shareable link ID that should be provided to the third party when - // setting up app analytics. This is able to be regenerated using regenerate - // method in the ThirdPartyAppAnalyticsLinkService. - optional string shareable_link_id = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/topic_constant.proto b/third_party/googleapis/google/ads/googleads/v11/resources/topic_constant.proto deleted file mode 100644 index 16cf9f7da..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/topic_constant.proto +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "TopicConstantProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the Topic Constant resource. - -// Use topics to target or exclude placements in the Google Display Network -// based on the category into which the placement falls (for example, -// "Pets & Animals/Pets/Dogs"). -message TopicConstant { - option (google.api.resource) = { - type: "googleads.googleapis.com/TopicConstant" - pattern: "topicConstants/{topic_id}" - }; - - // Output only. The resource name of the topic constant. - // topic constant resource names have the form: - // - // `topicConstants/{topic_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/TopicConstant" - } - ]; - - // Output only. The ID of the topic. - optional int64 id = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Resource name of parent of the topic constant. - optional string topic_constant_parent = 6 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/TopicConstant" - } - ]; - - // Output only. The category to target or exclude. Each subsequent element in the array - // describes a more specific sub-category. For example, - // {"Pets & Animals", "Pets", "Dogs"} represents the - // "Pets & Animals/Pets/Dogs" category. List of available topic categories at - // https://developers.google.com/adwords/api/docs/appendix/verticals - repeated string path = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/topic_view.proto b/third_party/googleapis/google/ads/googleads/v11/resources/topic_view.proto deleted file mode 100644 index d6292d62e..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/topic_view.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "TopicViewProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the topic view resource. - -// A topic view. -message TopicView { - option (google.api.resource) = { - type: "googleads.googleapis.com/TopicView" - pattern: "customers/{customer_id}/topicViews/{ad_group_id}~{criterion_id}" - }; - - // Output only. The resource name of the topic view. - // Topic view resource names have the form: - // - // `customers/{customer_id}/topicViews/{ad_group_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/TopicView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/user_interest.proto b/third_party/googleapis/google/ads/googleads/v11/resources/user_interest.proto deleted file mode 100644 index a9c03f34d..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/user_interest.proto +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/criterion_category_availability.proto"; -import "google/ads/googleads/v11/enums/user_interest_taxonomy_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "UserInterestProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the User Interest resource. - -// A user interest: a particular interest-based vertical to be targeted. -message UserInterest { - option (google.api.resource) = { - type: "googleads.googleapis.com/UserInterest" - pattern: "customers/{customer_id}/userInterests/{user_interest_id}" - }; - - // Output only. The resource name of the user interest. - // User interest resource names have the form: - // - // `customers/{customer_id}/userInterests/{user_interest_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/UserInterest" - } - ]; - - // Output only. Taxonomy type of the user interest. - google.ads.googleads.v11.enums.UserInterestTaxonomyTypeEnum.UserInterestTaxonomyType taxonomy_type = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The ID of the user interest. - optional int64 user_interest_id = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The name of the user interest. - optional string name = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The parent of the user interest. - optional string user_interest_parent = 10 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/UserInterest" - } - ]; - - // Output only. True if the user interest is launched to all channels and locales. - optional bool launched_to_all = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Availability information of the user interest. - repeated google.ads.googleads.v11.common.CriterionCategoryAvailability availabilities = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/user_list.proto b/third_party/googleapis/google/ads/googleads/v11/resources/user_list.proto deleted file mode 100644 index e7bf763b7..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/user_list.proto +++ /dev/null @@ -1,173 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/ads/googleads/v11/common/user_lists.proto"; -import "google/ads/googleads/v11/enums/access_reason.proto"; -import "google/ads/googleads/v11/enums/user_list_access_status.proto"; -import "google/ads/googleads/v11/enums/user_list_closing_reason.proto"; -import "google/ads/googleads/v11/enums/user_list_membership_status.proto"; -import "google/ads/googleads/v11/enums/user_list_size_range.proto"; -import "google/ads/googleads/v11/enums/user_list_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "UserListProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the User List resource. - -// A user list. This is a list of users a customer may target. -message UserList { - option (google.api.resource) = { - type: "googleads.googleapis.com/UserList" - pattern: "customers/{customer_id}/userLists/{user_list_id}" - }; - - // Immutable. The resource name of the user list. - // User list resource names have the form: - // - // `customers/{customer_id}/userLists/{user_list_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/UserList" - } - ]; - - // Output only. Id of the user list. - optional int64 id = 25 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. An option that indicates if a user may edit a list. Depends on the list - // ownership and list type. For example, external remarketing user lists are - // not editable. - // - // This field is read-only. - optional bool read_only = 26 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Name of this user list. Depending on its access_reason, the user list name - // may not be unique (for example, if access_reason=SHARED) - optional string name = 27; - - // Description of this user list. - optional string description = 28; - - // Membership status of this user list. Indicates whether a user list is open - // or active. Only open user lists can accumulate more users and can be - // targeted to. - google.ads.googleads.v11.enums.UserListMembershipStatusEnum.UserListMembershipStatus membership_status = 6; - - // An ID from external system. It is used by user list sellers to correlate - // IDs on their systems. - optional string integration_code = 29; - - // Number of days a user's cookie stays on your list since its most recent - // addition to the list. This field must be between 0 and 540 inclusive. - // However, for CRM based userlists, this field can be set to 10000 which - // means no expiration. - // - // It'll be ignored for logical_user_list. - optional int64 membership_life_span = 30; - - // Output only. Estimated number of users in this user list, on the Google Display Network. - // This value is null if the number of users has not yet been determined. - // - // This field is read-only. - optional int64 size_for_display = 31 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Size range in terms of number of users of the UserList, on the Google - // Display Network. - // - // This field is read-only. - google.ads.googleads.v11.enums.UserListSizeRangeEnum.UserListSizeRange size_range_for_display = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Estimated number of users in this user list in the google.com domain. - // These are the users available for targeting in Search campaigns. - // This value is null if the number of users has not yet been determined. - // - // This field is read-only. - optional int64 size_for_search = 32 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Size range in terms of number of users of the UserList, for Search ads. - // - // This field is read-only. - google.ads.googleads.v11.enums.UserListSizeRangeEnum.UserListSizeRange size_range_for_search = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Type of this list. - // - // This field is read-only. - google.ads.googleads.v11.enums.UserListTypeEnum.UserListType type = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Indicating the reason why this user list membership status is closed. It is - // only populated on lists that were automatically closed due to inactivity, - // and will be cleared once the list membership status becomes open. - google.ads.googleads.v11.enums.UserListClosingReasonEnum.UserListClosingReason closing_reason = 14; - - // Output only. Indicates the reason this account has been granted access to the list. - // The reason can be SHARED, OWNED, LICENSED or SUBSCRIBED. - // - // This field is read-only. - google.ads.googleads.v11.enums.AccessReasonEnum.AccessReason access_reason = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Indicates if this share is still enabled. When a UserList is shared with - // the user this field is set to ENABLED. Later the userList owner can decide - // to revoke the share and make it DISABLED. - // The default value of this field is set to ENABLED. - google.ads.googleads.v11.enums.UserListAccessStatusEnum.UserListAccessStatus account_user_list_status = 16; - - // Indicates if this user list is eligible for Google Search Network. - optional bool eligible_for_search = 33; - - // Output only. Indicates this user list is eligible for Google Display Network. - // - // This field is read-only. - optional bool eligible_for_display = 34 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Indicates match rate for Customer Match lists. The range of this field is - // [0-100]. This will be null for other list types or when it's not possible - // to calculate the match rate. - // - // This field is read-only. - optional int32 match_rate_percentage = 24 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The user list. - // - // Exactly one must be set. - oneof user_list { - // User list of CRM users provided by the advertiser. - google.ads.googleads.v11.common.CrmBasedUserListInfo crm_based_user_list = 19; - - // Output only. User list which are similar to users from another UserList. - // These lists are readonly and automatically created by google. - google.ads.googleads.v11.common.SimilarUserListInfo similar_user_list = 20 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // User list generated by a rule. - google.ads.googleads.v11.common.RuleBasedUserListInfo rule_based_user_list = 21; - - // User list that is a custom combination of user lists and user interests. - google.ads.googleads.v11.common.LogicalUserListInfo logical_user_list = 22; - - // User list targeting as a collection of conversion or remarketing actions. - google.ads.googleads.v11.common.BasicUserListInfo basic_user_list = 23; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/user_location_view.proto b/third_party/googleapis/google/ads/googleads/v11/resources/user_location_view.proto deleted file mode 100644 index 1dd4269b1..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/user_location_view.proto +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "UserLocationViewProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the user location view resource. - -// A user location view. -// -// User Location View includes all metrics aggregated at the country level, -// one row per country. It reports metrics at the actual physical location of -// the user by targeted or not targeted location. If other segment fields are -// used, you may get more than one row per country. -message UserLocationView { - option (google.api.resource) = { - type: "googleads.googleapis.com/UserLocationView" - pattern: "customers/{customer_id}/userLocationViews/{country_criterion_id}~{is_targeting_location}" - }; - - // Output only. The resource name of the user location view. - // UserLocation view resource names have the form: - // - // `customers/{customer_id}/userLocationViews/{country_criterion_id}~{targeting_location}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/UserLocationView" - } - ]; - - // Output only. Criterion Id for the country. - optional int64 country_criterion_id = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Indicates whether location was targeted or not. - optional bool targeting_location = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/video.proto b/third_party/googleapis/google/ads/googleads/v11/resources/video.proto deleted file mode 100644 index 42b69715f..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/video.proto +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "VideoProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the video resource. - -// A video. -message Video { - option (google.api.resource) = { - type: "googleads.googleapis.com/Video" - pattern: "customers/{customer_id}/videos/{video_id}" - }; - - // Output only. The resource name of the video. - // Video resource names have the form: - // - // `customers/{customer_id}/videos/{video_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Video" - } - ]; - - // Output only. The ID of the video. - optional string id = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The owner channel id of the video. - optional string channel_id = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The duration of the video in milliseconds. - optional int64 duration_millis = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The title of the video. - optional string title = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/resources/webpage_view.proto b/third_party/googleapis/google/ads/googleads/v11/resources/webpage_view.proto deleted file mode 100644 index ccbbbdaa6..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/resources/webpage_view.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "WebpageViewProto"; -option java_package = "com.google.ads.googleads.v11.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V11::Resources"; - -// Proto file describing the webpage view resource. - -// A webpage view. -message WebpageView { - option (google.api.resource) = { - type: "googleads.googleapis.com/WebpageView" - pattern: "customers/{customer_id}/webpageViews/{ad_group_id}~{criterion_id}" - }; - - // Output only. The resource name of the webpage view. - // Webpage view resource names have the form: - // - // `customers/{customer_id}/webpageViews/{ad_group_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/WebpageView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/BUILD.bazel b/third_party/googleapis/google/ads/googleads/v11/services/BUILD.bazel deleted file mode 100644 index 2261a82c7..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/BUILD.bazel +++ /dev/null @@ -1,138 +0,0 @@ -# Copyright 2020 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -package(default_visibility = ["//visibility:public"]) - -############################################################################## -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -# TODO(ohren): Change srcs to use an enumeration of each individual proto -# instead of *.proto globbing once the build file generator supports -# subpackages. -proto_library( - name = "services_proto", - srcs = glob(["*.proto"]), - deps = [ - "//google/ads/googleads/v11/common:common_proto", - "//google/ads/googleads/v11/enums:enums_proto", - "//google/ads/googleads/v11/errors:errors_proto", - "//google/ads/googleads/v11/resources:resources_proto", - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", - "//google/longrunning:operations_proto", - "//google/rpc:status_proto", - "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:wrappers_proto", - ], -) - -proto_library_with_info( - name = "services_proto_with_info", - deps = [ - ":services_proto", - ], -) - -############################################################################## -# Java -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "java_grpc_library", - "java_proto_library", -) - -java_proto_library( - name = "services_java_proto", - deps = [":services_proto"], -) - -java_grpc_library( - name = "services_java_grpc", - srcs = [":services_proto"], - deps = [":services_java_proto"], -) - -############################################################################## -# PHP -############################################################################## - -# PHP targets are in the parent directory's BUILD.bazel file to facilitate -# aggregating metadata using a single underlying call to protoc. - -############################################################################## -# C# -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "csharp_grpc_library", - "csharp_proto_library", -) - -csharp_proto_library( - name = "services_csharp_proto", - deps = [":services_proto"], -) - -csharp_grpc_library( - name = "services_csharp_grpc", - srcs = [":services_proto"], - deps = [":services_csharp_proto"], -) - -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( - name = "services_ruby_proto", - deps = [":services_proto"], -) - -ruby_grpc_library( - name = "services_ruby_grpc", - srcs = [":services_proto"], - deps = [":services_ruby_proto"], -) - -############################################################################## -# Python -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "py_grpc_library", - "py_proto_library", -) - -py_proto_library( - name = "services_py_proto", - deps = [":services_proto"], -) - -py_grpc_library( - name = "services_py_grpc", - srcs = [":services_proto"], - deps = [":services_py_proto"], -) diff --git a/third_party/googleapis/google/ads/googleads/v11/services/account_budget_proposal_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/account_budget_proposal_service.proto deleted file mode 100644 index 7f7dad0e2..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/account_budget_proposal_service.proto +++ /dev/null @@ -1,132 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/resources/account_budget_proposal.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AccountBudgetProposalServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the AccountBudgetProposal service. - -// A service for managing account-level budgets through proposals. -// -// A proposal is a request to create a new budget or make changes to an -// existing one. -// -// Mutates: -// The CREATE operation creates a new proposal. -// UPDATE operations aren't supported. -// The REMOVE operation cancels a pending proposal. -service AccountBudgetProposalService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes account budget proposals. Operation statuses - // are returned. - // - // List of thrown errors: - // [AccountBudgetProposalError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [DateError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - // [StringLengthError]() - rpc MutateAccountBudgetProposal(MutateAccountBudgetProposalRequest) returns (MutateAccountBudgetProposalResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/accountBudgetProposals:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operation"; - } -} - -// Request message for -// [AccountBudgetProposalService.MutateAccountBudgetProposal][google.ads.googleads.v11.services.AccountBudgetProposalService.MutateAccountBudgetProposal]. -message MutateAccountBudgetProposalRequest { - // Required. The ID of the customer. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The operation to perform on an individual account-level budget proposal. - AccountBudgetProposalOperation operation = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; -} - -// A single operation to propose the creation of a new account-level budget or -// edit/end/remove an existing one. -message AccountBudgetProposalOperation { - // FieldMask that determines which budget fields are modified. While budgets - // may be modified, proposals that propose such modifications are final. - // Therefore, update operations are not supported for proposals. - // - // Proposals that modify budgets have the 'update' proposal type. Specifying - // a mask for any other proposal type is considered an error. - google.protobuf.FieldMask update_mask = 3; - - // The mutate operation. - oneof operation { - // Create operation: A new proposal to create a new budget, edit an - // existing budget, end an actively running budget, or remove an approved - // budget scheduled to start in the future. - // No resource name is expected for the new proposal. - google.ads.googleads.v11.resources.AccountBudgetProposal create = 2; - - // Remove operation: A resource name for the removed proposal is expected, - // in this format: - // - // `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` - // A request may be cancelled iff it is pending. - string remove = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AccountBudgetProposal" - }]; - } -} - -// Response message for account-level budget mutate operations. -message MutateAccountBudgetProposalResponse { - // The result of the mutate. - MutateAccountBudgetProposalResult result = 2; -} - -// The result for the account budget proposal mutate. -message MutateAccountBudgetProposalResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AccountBudgetProposal" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/account_link_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/account_link_service.proto deleted file mode 100644 index 9e667e8df..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/account_link_service.proto +++ /dev/null @@ -1,164 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/resources/account_link.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AccountLinkServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// This service allows management of links between Google Ads accounts and other -// accounts. -service AccountLinkService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates an account link. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - // [ThirdPartyAppAnalyticsLinkError]() - rpc CreateAccountLink(CreateAccountLinkRequest) returns (CreateAccountLinkResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/accountLinks:create" - body: "*" - }; - option (google.api.method_signature) = "customer_id,account_link"; - } - - // Creates or removes an account link. - // From V5, create is not supported through - // AccountLinkService.MutateAccountLink. Use - // AccountLinkService.CreateAccountLink instead. - // - // List of thrown errors: - // [AccountLinkError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [FieldMaskError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - rpc MutateAccountLink(MutateAccountLinkRequest) returns (MutateAccountLinkResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/accountLinks:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operation"; - } -} - -// Request message for -// [AccountLinkService.CreateAccountLink][google.ads.googleads.v11.services.AccountLinkService.CreateAccountLink]. -message CreateAccountLinkRequest { - // Required. The ID of the customer for which the account link is created. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The account link to be created. - google.ads.googleads.v11.resources.AccountLink account_link = 2 [(google.api.field_behavior) = REQUIRED]; -} - -// Response message for -// [AccountLinkService.CreateAccountLink][google.ads.googleads.v11.services.AccountLinkService.CreateAccountLink]. -message CreateAccountLinkResponse { - // Returned for successful operations. Resource name of the account link. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AccountLink" - }]; -} - -// Request message for [AccountLinkService.MutateAccountLink][google.ads.googleads.v11.services.AccountLinkService.MutateAccountLink]. -message MutateAccountLinkRequest { - // Required. The ID of the customer being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The operation to perform on the link. - AccountLinkOperation operation = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single update on an account link. -message AccountLinkOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The operation to perform. - oneof operation { - // Update operation: The account link is expected to have - // a valid resource name. - google.ads.googleads.v11.resources.AccountLink update = 2; - - // Remove operation: A resource name for the account link to remove is - // expected, in this format: - // - // `customers/{customer_id}/accountLinks/{account_link_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AccountLink" - }]; - } -} - -// Response message for account link mutate. -message MutateAccountLinkResponse { - // Result for the mutate. - MutateAccountLinkResult result = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the account link mutate. -message MutateAccountLinkResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AccountLink" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/ad_group_ad_label_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/ad_group_ad_label_service.proto deleted file mode 100644 index 2d8e7b377..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/ad_group_ad_label_service.proto +++ /dev/null @@ -1,120 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/resources/ad_group_ad_label.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAdLabelServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the Ad Group Ad Label service. - -// Service to manage labels on ad group ads. -service AdGroupAdLabelService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates and removes ad group ad labels. - // Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [HeaderError]() - // [InternalError]() - // [LabelError]() - // [MutateError]() - // [NewResourceCreationError]() - // [QuotaError]() - // [RequestError]() - rpc MutateAdGroupAdLabels(MutateAdGroupAdLabelsRequest) returns (MutateAdGroupAdLabelsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/adGroupAdLabels:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [AdGroupAdLabelService.MutateAdGroupAdLabels][google.ads.googleads.v11.services.AdGroupAdLabelService.MutateAdGroupAdLabels]. -message MutateAdGroupAdLabelsRequest { - // Required. ID of the customer whose ad group ad labels are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on ad group ad labels. - repeated AdGroupAdLabelOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, remove) on an ad group ad label. -message AdGroupAdLabelOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new ad group ad - // label. - google.ads.googleads.v11.resources.AdGroupAdLabel create = 1; - - // Remove operation: A resource name for the ad group ad label - // being removed, in this format: - // - // `customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}_{label_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAdLabel" - }]; - } -} - -// Response message for an ad group ad labels mutate. -message MutateAdGroupAdLabelsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateAdGroupAdLabelResult results = 2; -} - -// The result for an ad group ad label mutate. -message MutateAdGroupAdLabelResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAdLabel" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/ad_group_ad_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/ad_group_ad_service.proto deleted file mode 100644 index d0210b487..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/ad_group_ad_service.proto +++ /dev/null @@ -1,172 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/common/policy.proto"; -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/ad_group_ad.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAdServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the Ad Group Ad service. - -// Service to manage ads in an ad group. -service AdGroupAdService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes ads. Operation statuses are returned. - // - // List of thrown errors: - // [AdCustomizerError]() - // [AdError]() - // [AdGroupAdError]() - // [AdSharingError]() - // [AdxError]() - // [AssetError]() - // [AssetLinkError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [ContextError]() - // [DatabaseError]() - // [DateError]() - // [DistinctError]() - // [FeedAttributeReferenceError]() - // [FieldError]() - // [FieldMaskError]() - // [FunctionError]() - // [FunctionParsingError]() - // [HeaderError]() - // [IdError]() - // [ImageError]() - // [InternalError]() - // [ListOperationError]() - // [MediaBundleError]() - // [MediaFileError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [NullError]() - // [OperationAccessDeniedError]() - // [OperatorError]() - // [PolicyFindingError]() - // [PolicyValidationParameterError]() - // [PolicyViolationError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - // [UrlFieldError]() - rpc MutateAdGroupAds(MutateAdGroupAdsRequest) returns (MutateAdGroupAdsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/adGroupAds:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [AdGroupAdService.MutateAdGroupAds][google.ads.googleads.v11.services.AdGroupAdService.MutateAdGroupAds]. -message MutateAdGroupAdsRequest { - // Required. The ID of the customer whose ads are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual ads. - repeated AdGroupAdOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, update, remove) on an ad group ad. -message AdGroupAdOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // Configuration for how policies are validated. - google.ads.googleads.v11.common.PolicyValidationParameter policy_validation_parameter = 5; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new ad. - google.ads.googleads.v11.resources.AdGroupAd create = 1; - - // Update operation: The ad is expected to have a valid resource name. - google.ads.googleads.v11.resources.AdGroupAd update = 2; - - // Remove operation: A resource name for the removed ad is expected, - // in this format: - // - // `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAd" - }]; - } -} - -// Response message for an ad group ad mutate. -message MutateAdGroupAdsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateAdGroupAdResult results = 2; -} - -// The result for the ad mutate. -message MutateAdGroupAdResult { - // The resource name returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAd" - }]; - - // The mutated ad group ad with only mutable fields after mutate. The field - // will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.AdGroupAd ad_group_ad = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/ad_group_asset_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/ad_group_asset_service.proto deleted file mode 100644 index 71d05bcd9..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/ad_group_asset_service.proto +++ /dev/null @@ -1,139 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/ad_group_asset.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAssetServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the AdGroupAsset service. - -// Service to manage ad group assets. -service AdGroupAssetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes ad group assets. Operation statuses are - // returned. - // - // List of thrown errors: - // [AssetLinkError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [ContextError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [NotAllowlistedError]() - // [QuotaError]() - // [RequestError]() - rpc MutateAdGroupAssets(MutateAdGroupAssetsRequest) returns (MutateAdGroupAssetsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/adGroupAssets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [AdGroupAssetService.MutateAdGroupAssets][google.ads.googleads.v11.services.AdGroupAssetService.MutateAdGroupAssets]. -message MutateAdGroupAssetsRequest { - // Required. The ID of the customer whose ad group assets are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual ad group assets. - repeated AdGroupAssetOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, update, remove) on an ad group asset. -message AdGroupAssetOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new ad group - // asset. - google.ads.googleads.v11.resources.AdGroupAsset create = 1; - - // Update operation: The ad group asset is expected to have a valid resource - // name. - google.ads.googleads.v11.resources.AdGroupAsset update = 3; - - // Remove operation: A resource name for the removed ad group asset is - // expected, in this format: - // - // `customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAsset" - }]; - } -} - -// Response message for an ad group asset mutate. -message MutateAdGroupAssetsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 1; - - // All results for the mutate. - repeated MutateAdGroupAssetResult results = 2; -} - -// The result for the ad group asset mutate. -message MutateAdGroupAssetResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAsset" - }]; - - // The mutated ad group asset with only mutable fields after - // mutate. The field will only be returned when response_content_type is set - // to "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.AdGroupAsset ad_group_asset = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/ad_group_bid_modifier_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/ad_group_bid_modifier_service.proto deleted file mode 100644 index d1f04a0da..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/ad_group_bid_modifier_service.proto +++ /dev/null @@ -1,151 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/ad_group_bid_modifier.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupBidModifierServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the Ad Group Bid Modifier service. - -// Service to manage ad group bid modifiers. -service AdGroupBidModifierService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes ad group bid modifiers. - // Operation statuses are returned. - // - // List of thrown errors: - // [AdGroupBidModifierError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [ContextError]() - // [CriterionError]() - // [DatabaseError]() - // [DistinctError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - rpc MutateAdGroupBidModifiers(MutateAdGroupBidModifiersRequest) returns (MutateAdGroupBidModifiersResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/adGroupBidModifiers:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [AdGroupBidModifierService.MutateAdGroupBidModifiers][google.ads.googleads.v11.services.AdGroupBidModifierService.MutateAdGroupBidModifiers]. -message MutateAdGroupBidModifiersRequest { - // Required. ID of the customer whose ad group bid modifiers are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual ad group bid modifiers. - repeated AdGroupBidModifierOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, remove, update) on an ad group bid modifier. -message AdGroupBidModifierOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new ad group bid - // modifier. - google.ads.googleads.v11.resources.AdGroupBidModifier create = 1; - - // Update operation: The ad group bid modifier is expected to have a valid - // resource name. - google.ads.googleads.v11.resources.AdGroupBidModifier update = 2; - - // Remove operation: A resource name for the removed ad group bid modifier - // is expected, in this format: - // - // `customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupBidModifier" - }]; - } -} - -// Response message for ad group bid modifiers mutate. -message MutateAdGroupBidModifiersResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateAdGroupBidModifierResult results = 2; -} - -// The result for the criterion mutate. -message MutateAdGroupBidModifierResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupBidModifier" - }]; - - // The mutated ad group bid modifier with only mutable fields after mutate. - // The field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.AdGroupBidModifier ad_group_bid_modifier = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/ad_group_criterion_customizer_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/ad_group_criterion_customizer_service.proto deleted file mode 100644 index 01fb6f022..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/ad_group_criterion_customizer_service.proto +++ /dev/null @@ -1,121 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/ad_group_criterion_customizer.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionCustomizerServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the AdGroupCriterionCustomizer service. - -// Service to manage ad group criterion customizer -service AdGroupCriterionCustomizerService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes ad group criterion customizers. Operation - // statuses are returned. - rpc MutateAdGroupCriterionCustomizers(MutateAdGroupCriterionCustomizersRequest) returns (MutateAdGroupCriterionCustomizersResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/AdGroupCriterionCustomizers:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [AdGroupCriterionCustomizerService.MutateAdGroupCriterionCustomizers][google.ads.googleads.v11.services.AdGroupCriterionCustomizerService.MutateAdGroupCriterionCustomizers]. -message MutateAdGroupCriterionCustomizersRequest { - // Required. The ID of the customer whose ad group criterion customizers are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual ad group criterion - // customizers. - repeated AdGroupCriterionCustomizerOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, remove) on an customizer attribute. -message AdGroupCriterionCustomizerOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new ad group - // criterion customizer. - google.ads.googleads.v11.resources.AdGroupCriterionCustomizer create = 1; - - // Remove operation: A resource name for the removed ad group criterion - // customizer is expected, in this format: - // - // `customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~{customizer_attribute_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterionCustomizer" - }]; - } -} - -// Response message for an ad group criterion customizer mutate. -message MutateAdGroupCriterionCustomizersResponse { - // All results for the mutate. - repeated MutateAdGroupCriterionCustomizerResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the ad group criterion customizer mutate. -message MutateAdGroupCriterionCustomizerResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterionCustomizer" - }]; - - // The mutated AdGroupCriterionCustomizer with only mutable fields after - // mutate. The field will only be returned when response_content_type is set - // to "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.AdGroupCriterionCustomizer ad_group_criterion_customizer = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/ad_group_criterion_label_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/ad_group_criterion_label_service.proto deleted file mode 100644 index 66a852f76..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/ad_group_criterion_label_service.proto +++ /dev/null @@ -1,119 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/resources/ad_group_criterion_label.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionLabelServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the Ad Group Criterion Label service. - -// Service to manage labels on ad group criteria. -service AdGroupCriterionLabelService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates and removes ad group criterion labels. - // Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc MutateAdGroupCriterionLabels(MutateAdGroupCriterionLabelsRequest) returns (MutateAdGroupCriterionLabelsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/adGroupCriterionLabels:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [AdGroupCriterionLabelService.MutateAdGroupCriterionLabels][google.ads.googleads.v11.services.AdGroupCriterionLabelService.MutateAdGroupCriterionLabels]. -message MutateAdGroupCriterionLabelsRequest { - // Required. ID of the customer whose ad group criterion labels are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on ad group criterion labels. - repeated AdGroupCriterionLabelOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, remove) on an ad group criterion label. -message AdGroupCriterionLabelOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new ad group - // label. - google.ads.googleads.v11.resources.AdGroupCriterionLabel create = 1; - - // Remove operation: A resource name for the ad group criterion label - // being removed, in this format: - // - // `customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterionLabel" - }]; - } -} - -// Response message for an ad group criterion labels mutate. -message MutateAdGroupCriterionLabelsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateAdGroupCriterionLabelResult results = 2; -} - -// The result for an ad group criterion label mutate. -message MutateAdGroupCriterionLabelResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterionLabel" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/ad_group_criterion_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/ad_group_criterion_service.proto deleted file mode 100644 index dd5d8050d..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/ad_group_criterion_service.proto +++ /dev/null @@ -1,171 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/common/policy.proto"; -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/ad_group_criterion.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the Ad Group Criterion service. - -// Service to manage ad group criteria. -service AdGroupCriterionService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes criteria. Operation statuses are returned. - // - // List of thrown errors: - // [AdGroupCriterionError]() - // [AdxError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [BiddingError]() - // [BiddingStrategyError]() - // [CollectionSizeError]() - // [ContextError]() - // [CriterionError]() - // [DatabaseError]() - // [DateError]() - // [DistinctError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [MultiplierError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [NullError]() - // [OperationAccessDeniedError]() - // [OperatorError]() - // [PolicyViolationError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - // [UrlFieldError]() - rpc MutateAdGroupCriteria(MutateAdGroupCriteriaRequest) returns (MutateAdGroupCriteriaResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/adGroupCriteria:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [AdGroupCriterionService.MutateAdGroupCriteria][google.ads.googleads.v11.services.AdGroupCriterionService.MutateAdGroupCriteria]. -message MutateAdGroupCriteriaRequest { - // Required. ID of the customer whose criteria are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual criteria. - repeated AdGroupCriterionOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, remove, update) on an ad group criterion. -message AdGroupCriterionOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The list of policy violation keys that should not cause a - // PolicyViolationError to be reported. Not all policy violations are - // exemptable, refer to the is_exemptible field in the returned - // PolicyViolationError. - // - // Resources violating these polices will be saved, but will not be eligible - // to serve. They may begin serving at a later time due to a change in - // policies, re-review of the resource, or a change in advertiser - // certificates. - repeated google.ads.googleads.v11.common.PolicyViolationKey exempt_policy_violation_keys = 5; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new criterion. - google.ads.googleads.v11.resources.AdGroupCriterion create = 1; - - // Update operation: The criterion is expected to have a valid resource - // name. - google.ads.googleads.v11.resources.AdGroupCriterion update = 2; - - // Remove operation: A resource name for the removed criterion is expected, - // in this format: - // - // `customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterion" - }]; - } -} - -// Response message for an ad group criterion mutate. -message MutateAdGroupCriteriaResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateAdGroupCriterionResult results = 2; -} - -// The result for the criterion mutate. -message MutateAdGroupCriterionResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterion" - }]; - - // The mutated ad group criterion with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.AdGroupCriterion ad_group_criterion = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/ad_group_customizer_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/ad_group_customizer_service.proto deleted file mode 100644 index 78a6dc688..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/ad_group_customizer_service.proto +++ /dev/null @@ -1,118 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/ad_group_customizer.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCustomizerServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the AdGroupCustomizer service. - -// Service to manage ad group customizer -service AdGroupCustomizerService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes ad group customizers. Operation statuses are - // returned. - rpc MutateAdGroupCustomizers(MutateAdGroupCustomizersRequest) returns (MutateAdGroupCustomizersResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/adGroupCustomizers:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [AdGroupCustomizerService.MutateAdGroupCustomizers][google.ads.googleads.v11.services.AdGroupCustomizerService.MutateAdGroupCustomizers]. -message MutateAdGroupCustomizersRequest { - // Required. The ID of the customer whose ad group customizers are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual ad group customizers. - repeated AdGroupCustomizerOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, remove) on an customizer attribute. -message AdGroupCustomizerOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new ad group - // customizer - google.ads.googleads.v11.resources.AdGroupCustomizer create = 1; - - // Remove operation: A resource name for the removed ad group customizer is - // expected, in this format: - // `customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCustomizer" - }]; - } -} - -// Response message for an ad group customizer mutate. -message MutateAdGroupCustomizersResponse { - // All results for the mutate. - repeated MutateAdGroupCustomizerResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the ad group customizer mutate. -message MutateAdGroupCustomizerResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCustomizer" - }]; - - // The mutated AdGroupCustomizer with only mutable fields after mutate. - // The field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.AdGroupCustomizer ad_group_customizer = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/ad_group_extension_setting_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/ad_group_extension_setting_service.proto deleted file mode 100644 index 32c7d3acc..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/ad_group_extension_setting_service.proto +++ /dev/null @@ -1,159 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/ad_group_extension_setting.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupExtensionSettingServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the AdGroupExtensionSetting service. - -// Service to manage ad group extension settings. -service AdGroupExtensionSettingService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes ad group extension settings. Operation - // statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [CriterionError]() - // [DatabaseError]() - // [DateError]() - // [DistinctError]() - // [ExtensionSettingError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [ListOperationError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [NullError]() - // [OperationAccessDeniedError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - // [UrlFieldError]() - rpc MutateAdGroupExtensionSettings(MutateAdGroupExtensionSettingsRequest) returns (MutateAdGroupExtensionSettingsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/adGroupExtensionSettings:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [AdGroupExtensionSettingService.MutateAdGroupExtensionSettings][google.ads.googleads.v11.services.AdGroupExtensionSettingService.MutateAdGroupExtensionSettings]. -message MutateAdGroupExtensionSettingsRequest { - // Required. The ID of the customer whose ad group extension settings are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual ad group extension - // settings. - repeated AdGroupExtensionSettingOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, update, remove) on an ad group extension setting. -message AdGroupExtensionSettingOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new ad group - // extension setting. - google.ads.googleads.v11.resources.AdGroupExtensionSetting create = 1; - - // Update operation: The ad group extension setting is expected to have a - // valid resource name. - google.ads.googleads.v11.resources.AdGroupExtensionSetting update = 2; - - // Remove operation: A resource name for the removed ad group extension - // setting is expected, in this format: - // - // `customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupExtensionSetting" - }]; - } -} - -// Response message for an ad group extension setting mutate. -message MutateAdGroupExtensionSettingsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateAdGroupExtensionSettingResult results = 2; -} - -// The result for the ad group extension setting mutate. -message MutateAdGroupExtensionSettingResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupExtensionSetting" - }]; - - // The mutated AdGroupExtensionSetting with only mutable fields after mutate. - // The field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.AdGroupExtensionSetting ad_group_extension_setting = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/ad_group_feed_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/ad_group_feed_service.proto deleted file mode 100644 index 42010bb0a..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/ad_group_feed_service.proto +++ /dev/null @@ -1,149 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/ad_group_feed.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupFeedServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the AdGroupFeed service. - -// Service to manage ad group feeds. -service AdGroupFeedService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes ad group feeds. Operation statuses are - // returned. - // - // List of thrown errors: - // [AdGroupFeedError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [DatabaseError]() - // [DistinctError]() - // [FieldError]() - // [FunctionError]() - // [FunctionParsingError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [MutateError]() - // [NotEmptyError]() - // [NullError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - rpc MutateAdGroupFeeds(MutateAdGroupFeedsRequest) returns (MutateAdGroupFeedsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/adGroupFeeds:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [AdGroupFeedService.MutateAdGroupFeeds][google.ads.googleads.v11.services.AdGroupFeedService.MutateAdGroupFeeds]. -message MutateAdGroupFeedsRequest { - // Required. The ID of the customer whose ad group feeds are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual ad group feeds. - repeated AdGroupFeedOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, update, remove) on an ad group feed. -message AdGroupFeedOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new ad group feed. - google.ads.googleads.v11.resources.AdGroupFeed create = 1; - - // Update operation: The ad group feed is expected to have a valid resource - // name. - google.ads.googleads.v11.resources.AdGroupFeed update = 2; - - // Remove operation: A resource name for the removed ad group feed is - // expected, in this format: - // - // `customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupFeed" - }]; - } -} - -// Response message for an ad group feed mutate. -message MutateAdGroupFeedsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateAdGroupFeedResult results = 2; -} - -// The result for the ad group feed mutate. -message MutateAdGroupFeedResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupFeed" - }]; - - // The mutated ad group feed with only mutable fields after mutate. The field - // will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.AdGroupFeed ad_group_feed = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/ad_group_label_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/ad_group_label_service.proto deleted file mode 100644 index 1d1c26adf..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/ad_group_label_service.proto +++ /dev/null @@ -1,121 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/resources/ad_group_label.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupLabelServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the Ad Group Label service. - -// Service to manage labels on ad groups. -service AdGroupLabelService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates and removes ad group labels. - // Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [LabelError]() - // [MutateError]() - // [NewResourceCreationError]() - // [QuotaError]() - // [RequestError]() - rpc MutateAdGroupLabels(MutateAdGroupLabelsRequest) returns (MutateAdGroupLabelsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/adGroupLabels:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [AdGroupLabelService.MutateAdGroupLabels][google.ads.googleads.v11.services.AdGroupLabelService.MutateAdGroupLabels]. -message MutateAdGroupLabelsRequest { - // Required. ID of the customer whose ad group labels are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on ad group labels. - repeated AdGroupLabelOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, remove) on an ad group label. -message AdGroupLabelOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new ad group - // label. - google.ads.googleads.v11.resources.AdGroupLabel create = 1; - - // Remove operation: A resource name for the ad group label - // being removed, in this format: - // - // `customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupLabel" - }]; - } -} - -// Response message for an ad group labels mutate. -message MutateAdGroupLabelsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateAdGroupLabelResult results = 2; -} - -// The result for an ad group label mutate. -message MutateAdGroupLabelResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupLabel" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/ad_group_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/ad_group_service.proto deleted file mode 100644 index a59170846..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/ad_group_service.proto +++ /dev/null @@ -1,155 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/ad_group.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the Ad Group service. - -// Service to manage ad groups. -service AdGroupService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes ad groups. Operation statuses are returned. - // - // List of thrown errors: - // [AdGroupError]() - // [AdxError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [BiddingError]() - // [BiddingStrategyError]() - // [DatabaseError]() - // [DateError]() - // [DistinctError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [ListOperationError]() - // [MultiplierError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [NullError]() - // [OperationAccessDeniedError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - // [SettingError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - // [UrlFieldError]() - rpc MutateAdGroups(MutateAdGroupsRequest) returns (MutateAdGroupsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/adGroups:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [AdGroupService.MutateAdGroups][google.ads.googleads.v11.services.AdGroupService.MutateAdGroups]. -message MutateAdGroupsRequest { - // Required. The ID of the customer whose ad groups are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual ad groups. - repeated AdGroupOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, update, remove) on an ad group. -message AdGroupOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new ad group. - google.ads.googleads.v11.resources.AdGroup create = 1; - - // Update operation: The ad group is expected to have a valid resource name. - google.ads.googleads.v11.resources.AdGroup update = 2; - - // Remove operation: A resource name for the removed ad group is expected, - // in this format: - // - // `customers/{customer_id}/adGroups/{ad_group_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - }]; - } -} - -// Response message for an ad group mutate. -message MutateAdGroupsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateAdGroupResult results = 2; -} - -// The result for the ad group mutate. -message MutateAdGroupResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - }]; - - // The mutated ad group with only mutable fields after mutate. The field will - // only be returned when response_content_type is set to "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.AdGroup ad_group = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/ad_parameter_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/ad_parameter_service.proto deleted file mode 100644 index 4cfab2f6c..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/ad_parameter_service.proto +++ /dev/null @@ -1,139 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/ad_parameter.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdParameterServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the Ad Parameter service. - -// Service to manage ad parameters. -service AdParameterService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes ad parameters. Operation statuses are - // returned. - // - // List of thrown errors: - // [AdParameterError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [ContextError]() - // [DatabaseError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - rpc MutateAdParameters(MutateAdParametersRequest) returns (MutateAdParametersResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/adParameters:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [AdParameterService.MutateAdParameters][google.ads.googleads.v11.services.AdParameterService.MutateAdParameters] -message MutateAdParametersRequest { - // Required. The ID of the customer whose ad parameters are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual ad parameters. - repeated AdParameterOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, update, remove) on ad parameter. -message AdParameterOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new ad parameter. - google.ads.googleads.v11.resources.AdParameter create = 1; - - // Update operation: The ad parameter is expected to have a valid resource - // name. - google.ads.googleads.v11.resources.AdParameter update = 2; - - // Remove operation: A resource name for the ad parameter to remove is - // expected in this format: - // - // `customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdParameter" - }]; - } -} - -// Response message for an ad parameter mutate. -message MutateAdParametersResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateAdParameterResult results = 2; -} - -// The result for the ad parameter mutate. -message MutateAdParameterResult { - // The resource name returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdParameter" - }]; - - // The mutated AdParameter with only mutable fields after mutate. The field - // will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.AdParameter ad_parameter = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/ad_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/ad_service.proto deleted file mode 100644 index ae1b0a7e0..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/ad_service.proto +++ /dev/null @@ -1,186 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/common/policy.proto"; -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/ad.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the Ad service. - -// Service to manage ads. -service AdService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Returns the requested ad in full detail. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc GetAd(GetAdRequest) returns (google.ads.googleads.v11.resources.Ad) { - option (google.api.http) = { - get: "/v11/{resource_name=customers/*/ads/*}" - }; - option (google.api.method_signature) = "resource_name"; - } - - // Updates ads. Operation statuses are returned. Updating ads is not supported - // for TextAd, ExpandedDynamicSearchAd, GmailAd and ImageAd. - // - // List of thrown errors: - // [AdCustomizerError]() - // [AdError]() - // [AdSharingError]() - // [AdxError]() - // [AssetError]() - // [AssetLinkError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [DatabaseError]() - // [DateError]() - // [DistinctError]() - // [FeedAttributeReferenceError]() - // [FieldError]() - // [FieldMaskError]() - // [FunctionError]() - // [FunctionParsingError]() - // [HeaderError]() - // [IdError]() - // [ImageError]() - // [InternalError]() - // [ListOperationError]() - // [MediaBundleError]() - // [MediaFileError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [NullError]() - // [OperatorError]() - // [PolicyFindingError]() - // [PolicyViolationError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - // [UrlFieldError]() - rpc MutateAds(MutateAdsRequest) returns (MutateAdsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/ads:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [AdService.GetAd][google.ads.googleads.v11.services.AdService.GetAd]. -message GetAdRequest { - // Required. The resource name of the ad to fetch. - string resource_name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Ad" - } - ]; -} - -// Request message for [AdService.MutateAds][google.ads.googleads.v11.services.AdService.MutateAds]. -message MutateAdsRequest { - // Required. The ID of the customer whose ads are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual ads. - repeated AdOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; -} - -// A single update operation on an ad. -message AdOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 2; - - // Configuration for how policies are validated. - google.ads.googleads.v11.common.PolicyValidationParameter policy_validation_parameter = 3; - - // The mutate operation. - oneof operation { - // Update operation: The ad is expected to have a valid resource name - // in this format: - // - // `customers/{customer_id}/ads/{ad_id}` - google.ads.googleads.v11.resources.Ad update = 1; - } -} - -// Response message for an ad mutate. -message MutateAdsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateAdResult results = 2; -} - -// The result for the ad mutate. -message MutateAdResult { - // The resource name returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Ad" - }]; - - // The mutated ad with only mutable fields after mutate. The field will only - // be returned when response_content_type is set to "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.Ad ad = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/asset_group_asset_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/asset_group_asset_service.proto deleted file mode 100644 index fb3d4bf12..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/asset_group_asset_service.proto +++ /dev/null @@ -1,115 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/resources/asset_group_asset.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupAssetServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the AssetGroupAsset service. - -// Service to manage asset group asset. -service AssetGroupAssetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes asset group assets. Operation statuses are - // returned. - rpc MutateAssetGroupAssets(MutateAssetGroupAssetsRequest) returns (MutateAssetGroupAssetsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/assetGroupAssets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [AssetGroupAssetService.MutateAssetGroupAssets][google.ads.googleads.v11.services.AssetGroupAssetService.MutateAssetGroupAssets]. -message MutateAssetGroupAssetsRequest { - // Required. The ID of the customer whose asset group assets are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual asset group assets. - repeated AssetGroupAssetOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, remove) on an asset group asset. -message AssetGroupAssetOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new asset group - // asset - google.ads.googleads.v11.resources.AssetGroupAsset create = 1; - - // Update operation: The asset group asset sis expected to have a valid - // resource name. - google.ads.googleads.v11.resources.AssetGroupAsset update = 2; - - // Remove operation: A resource name for the removed asset group asset is - // expected, in this format: - // `customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroupAsset" - }]; - } -} - -// Response message for an asset group asset mutate. -message MutateAssetGroupAssetsResponse { - // All results for the mutate. - repeated MutateAssetGroupAssetResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the asset group asset mutate. -message MutateAssetGroupAssetResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroupAsset" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/asset_group_listing_group_filter_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/asset_group_listing_group_filter_service.proto deleted file mode 100644 index aca3a6689..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/asset_group_listing_group_filter_service.proto +++ /dev/null @@ -1,120 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/asset_group_listing_group_filter.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupListingGroupFilterServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the AssetGroupListingGroupFilter service. - -// Service to manage asset group listing group filter. -service AssetGroupListingGroupFilterService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes asset group listing group filters. Operation - // statuses are returned. - rpc MutateAssetGroupListingGroupFilters(MutateAssetGroupListingGroupFiltersRequest) returns (MutateAssetGroupListingGroupFiltersResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/assetGroupListingGroupFilters:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [AssetGroupListingGroupFilterService.MutateAssetGroupListingGroupFilters][google.ads.googleads.v11.services.AssetGroupListingGroupFilterService.MutateAssetGroupListingGroupFilters]. -// partial_failure is not supported because the tree needs to be validated -// together. -message MutateAssetGroupListingGroupFiltersRequest { - // Required. The ID of the customer whose asset group listing group filters are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual asset group listing group - // filters. - repeated AssetGroupListingGroupFilterOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4; -} - -// A single operation (create, remove) on an asset group listing group filter. -message AssetGroupListingGroupFilterOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new asset group - // listing group filter. - google.ads.googleads.v11.resources.AssetGroupListingGroupFilter create = 1; - - // Update operation: The asset group listing group filter is expected to - // have a valid resource name. - google.ads.googleads.v11.resources.AssetGroupListingGroupFilter update = 2; - - // Remove operation: A resource name for the removed asset group listing - // group filter is expected, in this format: - // `customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id}` - // An entity can be removed only if it's not referenced by other - // parent_listing_group_id. If multiple entities are being deleted, the - // mutates must be in the correct order. - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroupListingGroupFilter" - }]; - } -} - -// Response message for an asset group listing group filter mutate. -message MutateAssetGroupListingGroupFiltersResponse { - // All results for the mutate. - repeated MutateAssetGroupListingGroupFilterResult results = 1; -} - -// The result for the asset group listing group filter mutate. -message MutateAssetGroupListingGroupFilterResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroupListingGroupFilter" - }]; - - // The mutated AssetGroupListingGroupFilter with only mutable fields after - // mutate. The field will only be returned when response_content_type is set - // to "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.AssetGroupListingGroupFilter asset_group_listing_group_filter = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/asset_group_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/asset_group_service.proto deleted file mode 100644 index 7d73ff8d5..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/asset_group_service.proto +++ /dev/null @@ -1,108 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/resources/asset_group.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the AssetGroup service. - -// Service to manage asset group -service AssetGroupService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes asset groups. Operation statuses are - // returned. - rpc MutateAssetGroups(MutateAssetGroupsRequest) returns (MutateAssetGroupsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/assetGroups:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [AssetGroupService.MutateAssetGroups][google.ads.googleads.v11.services.AssetGroupService.MutateAssetGroups]. -message MutateAssetGroupsRequest { - // Required. The ID of the customer whose asset groups are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual asset groups. - repeated AssetGroupOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, remove) on an asset group. -message AssetGroupOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new asset group - google.ads.googleads.v11.resources.AssetGroup create = 1; - - // Update operation: The asset group is expected to have a valid resource - // name. - google.ads.googleads.v11.resources.AssetGroup update = 2; - - // Remove operation: A resource name for the removed asset group is - // expected, in this format: - // `customers/{customer_id}/assetGroups/{asset_group_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroup" - }]; - } -} - -// Response message for an asset group mutate. -message MutateAssetGroupsResponse { - // All results for the mutate. - repeated MutateAssetGroupResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the asset group mutate. -message MutateAssetGroupResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroup" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/asset_group_signal_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/asset_group_signal_service.proto deleted file mode 100644 index fda7ebc13..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/asset_group_signal_service.proto +++ /dev/null @@ -1,117 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/asset_group_signal.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupSignalServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the AssetGroupSignal service. - -// Service to manage asset group signal. -service AssetGroupSignalService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates or removes asset group signals. Operation statuses are - // returned. - rpc MutateAssetGroupSignals(MutateAssetGroupSignalsRequest) returns (MutateAssetGroupSignalsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/assetGroupSignals:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [AssetGroupSignalService.MutateAssetGroupSignals][google.ads.googleads.v11.services.AssetGroupSignalService.MutateAssetGroupSignals]. -message MutateAssetGroupSignalsRequest { - // Required. The ID of the customer whose asset group signals are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual asset group signals. - repeated AssetGroupSignalOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid operations - // will return errors. If false, all operations will be carried out in one - // transaction if and only if they are all valid. Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, remove) on an asset group signal. -message AssetGroupSignalOperation { - // The mutate operation. Update is not supported. - oneof operation { - // Create operation: No resource name is expected for the new asset group - // signal. - google.ads.googleads.v11.resources.AssetGroupSignal create = 1; - - // Remove operation: A resource name for the removed asset group signal is - // expected, in this format: - // `customers/{customer_id}/assetGroupSignals/{asset_group_id}~{criterion_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroupSignal" - }]; - } -} - -// Response message for an asset group signal mutate. -message MutateAssetGroupSignalsResponse { - // All results for the mutate. - repeated MutateAssetGroupSignalResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the asset group signal mutate. -message MutateAssetGroupSignalResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroupSignal" - }]; - - // The mutated AssetGroupSignal with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.AssetGroupSignal asset_group_signal = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/asset_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/asset_service.proto deleted file mode 100644 index f3ea8d058..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/asset_service.proto +++ /dev/null @@ -1,150 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/asset.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AssetServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the Asset service. - -// Service to manage assets. Asset types can be created with AssetService are -// YoutubeVideoAsset, MediaBundleAsset and ImageAsset. TextAsset should be -// created with Ad inline. -service AssetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates assets. Operation statuses are returned. - // - // List of thrown errors: - // [AssetError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [CurrencyCodeError]() - // [DatabaseError]() - // [DateError]() - // [DistinctError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [ListOperationError]() - // [MediaUploadError]() - // [MutateError]() - // [NotAllowlistedError]() - // [NotEmptyError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - // [UrlFieldError]() - // [YoutubeVideoRegistrationError]() - rpc MutateAssets(MutateAssetsRequest) returns (MutateAssetsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/assets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [AssetService.MutateAssets][google.ads.googleads.v11.services.AssetService.MutateAssets] -message MutateAssetsRequest { - // Required. The ID of the customer whose assets are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual assets. - repeated AssetOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 5; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation to create an asset. Supported asset types are -// YoutubeVideoAsset, MediaBundleAsset, ImageAsset, and LeadFormAsset. TextAsset -// should be created with Ad inline. -message AssetOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 3; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new asset. - google.ads.googleads.v11.resources.Asset create = 1; - - // Update operation: The asset is expected to have a valid resource name in - // this format: - // - // `customers/{customer_id}/assets/{asset_id}` - google.ads.googleads.v11.resources.Asset update = 2; - } -} - -// Response message for an asset mutate. -message MutateAssetsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateAssetResult results = 2; -} - -// The result for the asset mutate. -message MutateAssetResult { - // The resource name returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Asset" - }]; - - // The mutated asset with only mutable fields after mutate. The field will - // only be returned when response_content_type is set to "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.Asset asset = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/asset_set_asset_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/asset_set_asset_service.proto deleted file mode 100644 index b6ecc1bc6..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/asset_set_asset_service.proto +++ /dev/null @@ -1,117 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/asset_set_asset.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetAssetServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the AssetSetAsset service. - -// Service to manage asset set asset. -service AssetSetAssetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes asset set assets. Operation statuses are - // returned. - rpc MutateAssetSetAssets(MutateAssetSetAssetsRequest) returns (MutateAssetSetAssetsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/assetSetAssets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [AssetSetAssetService.MutateAssetSetAssets][google.ads.googleads.v11.services.AssetSetAssetService.MutateAssetSetAssets]. -message MutateAssetSetAssetsRequest { - // Required. The ID of the customer whose asset set assets are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual asset set assets. - repeated AssetSetAssetOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, remove) on an asset set asset. -message AssetSetAssetOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new asset set - // asset - google.ads.googleads.v11.resources.AssetSetAsset create = 1; - - // Remove operation: A resource name for the removed asset set asset is - // expected, in this format: - // `customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetSetAsset" - }]; - } -} - -// Response message for an asset set asset mutate. -message MutateAssetSetAssetsResponse { - // All results for the mutate. - repeated MutateAssetSetAssetResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the asset set asset mutate. -message MutateAssetSetAssetResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetSetAsset" - }]; - - // The mutated asset set asset with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.AssetSetAsset asset_set_asset = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/asset_set_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/asset_set_service.proto deleted file mode 100644 index d3a6ddd79..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/asset_set_service.proto +++ /dev/null @@ -1,123 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/asset_set.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the AssetSet service. - -// Service to manage asset set -service AssetSetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes asset sets. Operation statuses are - // returned. - rpc MutateAssetSets(MutateAssetSetsRequest) returns (MutateAssetSetsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/assetSets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [AssetSetService.MutateAssetSets][google.ads.googleads.v11.services.AssetSetService.MutateAssetSets]. -message MutateAssetSetsRequest { - // Required. The ID of the customer whose asset sets are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual asset sets. - repeated AssetSetOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, remove) on an asset set. -message AssetSetOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new asset set - google.ads.googleads.v11.resources.AssetSet create = 1; - - // Update operation: The asset set is expected to have a valid resource - // name. - google.ads.googleads.v11.resources.AssetSet update = 2; - - // Remove operation: A resource name for the removed asset set is - // expected, in this format: - // `customers/{customer_id}/assetSets/{asset_set_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetSet" - }]; - } -} - -// Response message for an asset set mutate. -message MutateAssetSetsResponse { - // All results for the mutate. - repeated MutateAssetSetResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the asset set mutate. -message MutateAssetSetResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetSet" - }]; - - // The mutated asset set with only mutable fields after mutate. The field will - // only be returned when response_content_type is set to "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.AssetSet asset_set = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/audience_insights_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/audience_insights_service.proto deleted file mode 100644 index 6eac8685a..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/audience_insights_service.proto +++ /dev/null @@ -1,438 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/common/criteria.proto"; -import "google/ads/googleads/v11/enums/audience_insights_dimension.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AudienceInsightsServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the audience insights service. - -// Audience Insights Service helps users find information about groups of -// people and how they can be reached with Google Ads. -service AudienceInsightsService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates a saved report that can be viewed in the Insights Finder tool. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - rpc GenerateInsightsFinderReport(GenerateInsightsFinderReportRequest) returns (GenerateInsightsFinderReportResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}:generateInsightsFinderReport" - body: "*" - }; - option (google.api.method_signature) = "customer_id,baseline_audience,specific_audience"; - } - - // Searches for audience attributes that can be used to generate insights. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - rpc ListAudienceInsightsAttributes(ListAudienceInsightsAttributesRequest) returns (ListAudienceInsightsAttributesResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}:searchAudienceInsightsAttributes" - body: "*" - }; - option (google.api.method_signature) = "customer_id,dimensions,query_text"; - } - - // Returns a collection of attributes that are represented in an audience of - // interest, with metrics that compare each attribute's share of the audience - // with its share of a baseline audience. - // - // List of thrown errors: - // [AudienceInsightsError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - rpc GenerateAudienceCompositionInsights(GenerateAudienceCompositionInsightsRequest) returns (GenerateAudienceCompositionInsightsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}:generateAudienceCompositionInsights" - body: "*" - }; - option (google.api.method_signature) = "customer_id,audience,dimensions"; - } -} - -// Request message for [AudienceInsightsService.GenerateInsightsFinderReport][google.ads.googleads.v11.services.AudienceInsightsService.GenerateInsightsFinderReport]. -message GenerateInsightsFinderReportRequest { - // Required. The ID of the customer. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. A baseline audience for this report, typically all people in a region. - BasicInsightsAudience baseline_audience = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. The specific audience of interest for this report. The insights in the - // report will be based on attributes more prevalent in this audience than - // in the report's baseline audience. - BasicInsightsAudience specific_audience = 3 [(google.api.field_behavior) = REQUIRED]; - - // The name of the customer being planned for. This is a user-defined value. - string customer_insights_group = 4; -} - -// The response message for -// [AudienceInsightsService.GenerateInsightsFinderReport][google.ads.googleads.v11.services.AudienceInsightsService.GenerateInsightsFinderReport], containing the -// shareable URL for the report. -message GenerateInsightsFinderReportResponse { - // An HTTPS URL providing a deep link into the Insights Finder UI with the - // report inputs filled in according to the request. - string saved_report_url = 1; -} - -// Request message for -// [AudienceInsightsService.GenerateAudienceCompositionInsights][google.ads.googleads.v11.services.AudienceInsightsService.GenerateAudienceCompositionInsights]. -message GenerateAudienceCompositionInsightsRequest { - // Required. The ID of the customer. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The audience of interest for which insights are being requested. - InsightsAudience audience = 2 [(google.api.field_behavior) = REQUIRED]; - - // The one-month range of historical data to use for insights, in the format - // "yyyy-mm". If unset, insights will be returned for the last thirty days of - // data. - string data_month = 3; - - // Required. The audience dimensions for which composition insights should be returned. - repeated google.ads.googleads.v11.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension dimensions = 4 [(google.api.field_behavior) = REQUIRED]; - - // The name of the customer being planned for. This is a user-defined value. - string customer_insights_group = 5; -} - -// Response message for -// [AudienceInsightsService.GenerateAudienceCompositionInsights][google.ads.googleads.v11.services.AudienceInsightsService.GenerateAudienceCompositionInsights]. -message GenerateAudienceCompositionInsightsResponse { - // The contents of the insights report, organized into sections. - // Each section is associated with one of the AudienceInsightsDimension values - // in the request. There may be more than one section per dimension. - repeated AudienceCompositionSection sections = 1; -} - -// Request message for -// [AudienceInsightsService.ListAudienceInsightsAttributes][google.ads.googleads.v11.services.AudienceInsightsService.ListAudienceInsightsAttributes]. -message ListAudienceInsightsAttributesRequest { - // Required. The ID of the customer. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The types of attributes to be returned. - repeated google.ads.googleads.v11.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension dimensions = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. A free text query. Attributes matching or related to this string will be - // returned. - string query_text = 3 [(google.api.field_behavior) = REQUIRED]; - - // The name of the customer being planned for. This is a user-defined value. - string customer_insights_group = 4; -} - -// Response message for -// [AudienceInsightsService.ListAudienceInsightsAttributes][google.ads.googleads.v11.services.AudienceInsightsService.ListAudienceInsightsAttributes]. -message ListAudienceInsightsAttributesResponse { - // The attributes matching the search query. - repeated AudienceInsightsAttributeMetadata attributes = 1; -} - -// An audience attribute that can be used to request insights about the -// audience. -message AudienceInsightsAttribute { - // An audience attribute. - oneof attribute { - // An audience attribute defined by an age range. - google.ads.googleads.v11.common.AgeRangeInfo age_range = 1; - - // An audience attribute defined by a gender. - google.ads.googleads.v11.common.GenderInfo gender = 2; - - // An audience attribute defiend by a geographic location. - google.ads.googleads.v11.common.LocationInfo location = 3; - - // An Affinity or In-Market audience. - google.ads.googleads.v11.common.UserInterestInfo user_interest = 4; - - // An audience attribute defined by interest in a topic represented by a - // Knowledge Graph entity. - AudienceInsightsEntity entity = 5; - - // An audience attribute defined by interest in a Product & Service - // category. - AudienceInsightsCategory category = 6; - - // A YouTube Dynamic Lineup - AudienceInsightsDynamicLineup dynamic_lineup = 7; - - // A Parental Status value (parent, or not a parent). - google.ads.googleads.v11.common.ParentalStatusInfo parental_status = 8; - - // A household income percentile range. - google.ads.googleads.v11.common.IncomeRangeInfo income_range = 9; - - // A YouTube channel. - google.ads.googleads.v11.common.YouTubeChannelInfo youtube_channel = 10; - } -} - -// An entity or category representing a topic that defines an audience. -message AudienceInsightsTopic { - // An entity or category attribute. - oneof topic { - // A Knowledge Graph entity - AudienceInsightsEntity entity = 1; - - // A Product & Service category - AudienceInsightsCategory category = 2; - } -} - -// A Knowledge Graph entity, represented by its machine id. -message AudienceInsightsEntity { - // Required. The machine id (mid) of the Knowledge Graph entity. - string knowledge_graph_machine_id = 1 [(google.api.field_behavior) = REQUIRED]; -} - -// A Product and Service category. -message AudienceInsightsCategory { - // Required. The criterion id of the category. - string category_id = 1 [(google.api.field_behavior) = REQUIRED]; -} - -// A YouTube Dynamic Lineup. -message AudienceInsightsDynamicLineup { - // Required. The numeric ID of the dynamic lineup. - string dynamic_lineup_id = 1 [(google.api.field_behavior) = REQUIRED]; -} - -// A description of an audience used for requesting insights. -message BasicInsightsAudience { - // Required. The countries for this audience. - repeated google.ads.googleads.v11.common.LocationInfo country_location = 1 [(google.api.field_behavior) = REQUIRED]; - - // Sub-country geographic location attributes. If present, each of these - // must be contained in one of the countries in this audience. - repeated google.ads.googleads.v11.common.LocationInfo sub_country_locations = 2; - - // Gender for the audience. If absent, the audience does not restrict by - // gender. - google.ads.googleads.v11.common.GenderInfo gender = 3; - - // Age ranges for the audience. If absent, the audience represents all people - // over 18 that match the other attributes. - repeated google.ads.googleads.v11.common.AgeRangeInfo age_ranges = 4; - - // User interests defining this audience. Affinity and In-Market audiences - // are supported. - repeated google.ads.googleads.v11.common.UserInterestInfo user_interests = 5; - - // Topics, represented by Knowledge Graph entities and/or Product & Service - // categories, that this audience is interested in. - repeated AudienceInsightsTopic topics = 6; -} - -// An audience attribute, with metadata about it, returned in response to a -// search. -message AudienceInsightsAttributeMetadata { - // The type of the attribute. - google.ads.googleads.v11.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension dimension = 1; - - // The attribute itself. - AudienceInsightsAttribute attribute = 2; - - // The human-readable name of the attribute. - string display_name = 3; - - // A relevance score for this attribute, between 0 and 1. - double score = 4; - - // A string that supplements the display_name to identify the attribute. - // If the dimension is TOPIC, this is a brief description of the - // Knowledge Graph entity, such as "American singer-songwriter". - // If the dimension is CATEGORY, this is the complete path to the category in - // The Product & Service taxonomy, for example - // "/Apparel/Clothing/Outerwear". - string display_info = 5; - - // Metadata specific to the dimension of this attribute. - oneof dimension_metadata { - // Special metadata for a YouTube channel. - YouTubeChannelAttributeMetadata youtube_channel_metadata = 6; - - // Special metadata for a YouTube Dynamic Lineup. - DynamicLineupAttributeMetadata dynamic_attribute_metadata = 7; - } -} - -// Metadata associated with a YouTube channel attribute. -message YouTubeChannelAttributeMetadata { - // The approximate number of subscribers to the YouTube channel. - int64 subscriber_count = 1; -} - -// Metadata associated with a Dynamic Lineup attribute. -message DynamicLineupAttributeMetadata { - // The national market associated with the lineup. - google.ads.googleads.v11.common.LocationInfo inventory_country = 1; - - // The median number of impressions per month on this lineup. - optional int64 median_monthly_inventory = 2; - - // The lower end of a range containing the number of channels in the lineup. - optional int64 channel_count_lower_bound = 3; - - // The upper end of a range containing the number of channels in the lineup. - optional int64 channel_count_upper_bound = 4; -} - -// A set of users, defined by various characteristics, for which insights can -// be requested in AudienceInsightsService. -message InsightsAudience { - // Required. The countries for the audience. - repeated google.ads.googleads.v11.common.LocationInfo country_locations = 1 [(google.api.field_behavior) = REQUIRED]; - - // Sub-country geographic location attributes. If present, each of these - // must be contained in one of the countries in this audience. If absent, the - // audience is geographically to the country_locations and no further. - repeated google.ads.googleads.v11.common.LocationInfo sub_country_locations = 2; - - // Gender for the audience. If absent, the audience does not restrict by - // gender. - google.ads.googleads.v11.common.GenderInfo gender = 3; - - // Age ranges for the audience. If absent, the audience represents all people - // over 18 that match the other attributes. - repeated google.ads.googleads.v11.common.AgeRangeInfo age_ranges = 4; - - // Parental status for the audience. If absent, the audience does not - // restrict by parental status. - google.ads.googleads.v11.common.ParentalStatusInfo parental_status = 5; - - // Household income percentile ranges for the audience. If absent, the - // audience does not restrict by household income range. - repeated google.ads.googleads.v11.common.IncomeRangeInfo income_ranges = 6; - - // Dynamic lineups representing the YouTube content viewed by the audience. - repeated AudienceInsightsDynamicLineup dynamic_lineups = 7; - - // A combination of entity, category and user interest attributes defining the - // audience. The combination has a logical AND-of-ORs structure: Attributes - // within each InsightsAudienceAttributeGroup are combined with OR, and - // the combinations themselves are combined together with AND. For example, - // the expression (Entity OR Affinity) AND (In-Market OR Category) can be - // formed using two InsightsAudienceAttributeGroups with two Attributes - // each. - repeated InsightsAudienceAttributeGroup topic_audience_combinations = 8; -} - -// A list of AudienceInsightsAttributes. -message InsightsAudienceAttributeGroup { - // Required. A collection of audience attributes to be combined with logical OR. - // Attributes need not all be the same dimension. Only Knowledge Graph - // entities, Product & Service Categories, and Affinity and In-Market - // audiences are supported in this context. - repeated AudienceInsightsAttribute attributes = 1 [(google.api.field_behavior) = REQUIRED]; -} - -// A collection of related attributes of the same type in an audience -// composition insights report. -message AudienceCompositionSection { - // The type of the attributes in this section. - google.ads.googleads.v11.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension dimension = 1; - - // The most relevant segments for this audience. If dimension is GENDER, - // AGE_RANGE or PARENTAL_STATUS, then this list of attributes is exhaustive. - repeated AudienceCompositionAttribute top_attributes = 3; - - // Additional attributes for this audience, grouped into clusters. Only - // populated if dimension is YOUTUBE_CHANNEL. - repeated AudienceCompositionAttributeCluster clustered_attributes = 4; -} - -// A collection of related attributes, with metadata and metrics, in an audience -// composition insights report. -message AudienceCompositionAttributeCluster { - // The name of this cluster of attributes - string cluster_display_name = 1; - - // If the dimension associated with this cluster is YOUTUBE_CHANNEL, then - // cluster_metrics are metrics associated with the cluster as a whole. - // For other dimensions, this field is unset. - AudienceCompositionMetrics cluster_metrics = 3; - - // The individual attributes that make up this cluster, with metadata and - // metrics. - repeated AudienceCompositionAttribute attributes = 4; -} - -// The share and index metrics associated with an attribute in an audience -// composition insights report. -message AudienceCompositionMetrics { - // The fraction (from 0 to 1 inclusive) of the baseline audience that match - // the attribute. - double baseline_audience_share = 1; - - // The fraction (from 0 to 1 inclusive) of the specific audience that match - // the attribute. - double audience_share = 2; - - // The ratio of audience_share to baseline_audience_share, or zero if this - // ratio is undefined or is not meaningful. - double index = 3; - - // A relevance score from 0 to 1 inclusive. - double score = 4; -} - -// An audience attribute with metadata and metrics. -message AudienceCompositionAttribute { - // The attribute with its metadata. - AudienceInsightsAttributeMetadata attribute_metadata = 1; - - // Share and index metrics for the attribute. - AudienceCompositionMetrics metrics = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/audience_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/audience_service.proto deleted file mode 100644 index f58c8d408..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/audience_service.proto +++ /dev/null @@ -1,118 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/audience.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AudienceServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the Audience service. - -// Service to manage audiences. -service AudienceService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates audiences. Operation statuses are returned. - // - // List of thrown errors: - // [AudienceError]() - rpc MutateAudiences(MutateAudiencesRequest) returns (MutateAudiencesResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/audiences:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [AudienceService.MutateAudiences][google.ads.googleads.v11.services.AudienceService.MutateAudiences]. -message MutateAudiencesRequest { - // Required. The ID of the customer whose audiences are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual audiences. - repeated AudienceOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid operations - // will return errors. If false, all operations will be carried out in one - // transaction if and only if they are all valid. Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// Response message for an audience mutate. -message MutateAudiencesResponse { - // All results for the mutate. - repeated MutateAudienceResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// A single operation (create, update) on an audience. -message AudienceOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new audience - google.ads.googleads.v11.resources.Audience create = 1; - - // Update operation: The audience is expected to have a valid resource - // name. - google.ads.googleads.v11.resources.Audience update = 2; - } -} - -// The result for the audience mutate. -message MutateAudienceResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Audience" - }]; - - // The mutated Audience with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.Audience audience = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/batch_job_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/batch_job_service.proto deleted file mode 100644 index b20d9191a..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/batch_job_service.proto +++ /dev/null @@ -1,269 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/batch_job.proto"; -import "google/ads/googleads/v11/services/google_ads_service.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/longrunning/operations.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "BatchJobServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the BatchJobService. - -// Service to manage batch jobs. -service BatchJobService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Mutates a batch job. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - rpc MutateBatchJob(MutateBatchJobRequest) returns (MutateBatchJobResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/batchJobs:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operation"; - } - - // Returns the results of the batch job. The job must be done. - // Supports standard list paging. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [BatchJobError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc ListBatchJobResults(ListBatchJobResultsRequest) returns (ListBatchJobResultsResponse) { - option (google.api.http) = { - get: "/v11/{resource_name=customers/*/batchJobs/*}:listResults" - }; - option (google.api.method_signature) = "resource_name"; - } - - // Runs the batch job. - // - // The Operation.metadata field type is BatchJobMetadata. When finished, the - // long running operation will not contain errors or a response. Instead, use - // ListBatchJobResults to get the results of the job. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [BatchJobError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc RunBatchJob(RunBatchJobRequest) returns (google.longrunning.Operation) { - option (google.api.http) = { - post: "/v11/{resource_name=customers/*/batchJobs/*}:run" - body: "*" - }; - option (google.api.method_signature) = "resource_name"; - option (google.longrunning.operation_info) = { - response_type: "google.protobuf.Empty" - metadata_type: "google.ads.googleads.v11.resources.BatchJob.BatchJobMetadata" - }; - } - - // Add operations to the batch job. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [BatchJobError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - rpc AddBatchJobOperations(AddBatchJobOperationsRequest) returns (AddBatchJobOperationsResponse) { - option (google.api.http) = { - post: "/v11/{resource_name=customers/*/batchJobs/*}:addOperations" - body: "*" - }; - option (google.api.method_signature) = "resource_name,sequence_token,mutate_operations"; - option (google.api.method_signature) = "resource_name,mutate_operations"; - } -} - -// Request message for [BatchJobService.MutateBatchJob][google.ads.googleads.v11.services.BatchJobService.MutateBatchJob]. -message MutateBatchJobRequest { - // Required. The ID of the customer for which to create a batch job. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The operation to perform on an individual batch job. - BatchJobOperation operation = 2 [(google.api.field_behavior) = REQUIRED]; -} - -// A single operation on a batch job. -message BatchJobOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new batch job. - google.ads.googleads.v11.resources.BatchJob create = 1; - - // Remove operation: The batch job must not have been run. A resource name - // for the removed batch job is expected, in this format: - // - // `customers/{customer_id}/batchJobs/{batch_job_id}` - string remove = 4 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/BatchJob" - }]; - } -} - -// Response message for [BatchJobService.MutateBatchJob][google.ads.googleads.v11.services.BatchJobService.MutateBatchJob]. -message MutateBatchJobResponse { - // The result for the mutate. - MutateBatchJobResult result = 1; -} - -// The result for the batch job mutate. -message MutateBatchJobResult { - // The resource name of the batch job. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/BatchJob" - }]; -} - -// Request message for [BatchJobService.RunBatchJob][google.ads.googleads.v11.services.BatchJobService.RunBatchJob]. -message RunBatchJobRequest { - // Required. The resource name of the BatchJob to run. - string resource_name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/BatchJob" - } - ]; -} - -// Request message for [BatchJobService.AddBatchJobOperations][google.ads.googleads.v11.services.BatchJobService.AddBatchJobOperations]. -message AddBatchJobOperationsRequest { - // Required. The resource name of the batch job. - string resource_name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/BatchJob" - } - ]; - - // A token used to enforce sequencing. - // - // The first AddBatchJobOperations request for a batch job should not set - // sequence_token. Subsequent requests must set sequence_token to the value of - // next_sequence_token received in the previous AddBatchJobOperations - // response. - string sequence_token = 2; - - // Required. The list of mutates being added. - // - // Operations can use negative integers as temp ids to signify dependencies - // between entities created in this batch job. For example, a customer with - // id = 1234 can create a campaign and an ad group in that same campaign by - // creating a campaign in the first operation with the resource name - // explicitly set to "customers/1234/campaigns/-1", and creating an ad group - // in the second operation with the campaign field also set to - // "customers/1234/campaigns/-1". - repeated MutateOperation mutate_operations = 3 [(google.api.field_behavior) = REQUIRED]; -} - -// Response message for [BatchJobService.AddBatchJobOperations][google.ads.googleads.v11.services.BatchJobService.AddBatchJobOperations]. -message AddBatchJobOperationsResponse { - // The total number of operations added so far for this batch job. - int64 total_operations = 1; - - // The sequence token to be used when calling AddBatchJobOperations again if - // more operations need to be added. The next AddBatchJobOperations request - // must set the sequence_token field to the value of this field. - string next_sequence_token = 2; -} - -// Request message for [BatchJobService.ListBatchJobResults][google.ads.googleads.v11.services.BatchJobService.ListBatchJobResults]. -message ListBatchJobResultsRequest { - // Required. The resource name of the batch job whose results are being listed. - string resource_name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/BatchJob" - } - ]; - - // Token of the page to retrieve. If not specified, the first - // page of results will be returned. Use the value obtained from - // `next_page_token` in the previous response in order to request - // the next page of results. - string page_token = 2; - - // Number of elements to retrieve in a single page. - // When a page request is too large, the server may decide to - // further limit the number of returned resources. - int32 page_size = 3; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4; -} - -// Response message for [BatchJobService.ListBatchJobResults][google.ads.googleads.v11.services.BatchJobService.ListBatchJobResults]. -message ListBatchJobResultsResponse { - // The list of rows that matched the query. - repeated BatchJobResult results = 1; - - // Pagination token used to retrieve the next page of results. - // Pass the content of this string as the `page_token` attribute of - // the next request. `next_page_token` is not returned for the last - // page. - string next_page_token = 2; -} - -// An individual batch job result. -message BatchJobResult { - // Index of the mutate operation. - int64 operation_index = 1; - - // Response for the mutate. - // May be empty if errors occurred. - MutateOperationResponse mutate_operation_response = 2; - - // Details of the errors when processing the operation. - google.rpc.Status status = 3; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/bidding_data_exclusion_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/bidding_data_exclusion_service.proto deleted file mode 100644 index e5ddf0ec0..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/bidding_data_exclusion_service.proto +++ /dev/null @@ -1,125 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/bidding_data_exclusion.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "BiddingDataExclusionServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Service to manage bidding data exclusions. -service BiddingDataExclusionService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes data exclusions. - // Operation statuses are returned. - rpc MutateBiddingDataExclusions(MutateBiddingDataExclusionsRequest) returns (MutateBiddingDataExclusionsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/biddingDataExclusions:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [BiddingDataExclusionService.MutateBiddingDataExclusions][google.ads.googleads.v11.services.BiddingDataExclusionService.MutateBiddingDataExclusions]. -message MutateBiddingDataExclusionsRequest { - // Required. ID of the customer whose data exclusions are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual data exclusions. - repeated BiddingDataExclusionOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, remove, update) on a data exclusion. -message BiddingDataExclusionOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new data - // exclusion. - google.ads.googleads.v11.resources.BiddingDataExclusion create = 1; - - // Update operation: The data exclusion is expected to have a valid - // resource name. - google.ads.googleads.v11.resources.BiddingDataExclusion update = 2; - - // Remove operation: A resource name for the removed data exclusion - // is expected, in this format: - // - // `customers/{customer_id}/biddingDataExclusions/{data_exclusion_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/BiddingDataExclusion" - }]; - } -} - -// Response message for data exlusions mutate. -message MutateBiddingDataExclusionsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateBiddingDataExclusionsResult results = 2; -} - -// The result for the data exclusion mutate. -message MutateBiddingDataExclusionsResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/BiddingDataExclusion" - }]; - - // The mutated bidding data exclusion with only mutable fields after mutate. - // The field will only be returned when response_content_type is set - // to "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.BiddingDataExclusion bidding_data_exclusion = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/bidding_seasonality_adjustment_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/bidding_seasonality_adjustment_service.proto deleted file mode 100644 index 20e4453ab..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/bidding_seasonality_adjustment_service.proto +++ /dev/null @@ -1,125 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/bidding_seasonality_adjustment.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "BiddingSeasonalityAdjustmentServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Service to manage bidding seasonality adjustments. -service BiddingSeasonalityAdjustmentService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes seasonality adjustments. - // Operation statuses are returned. - rpc MutateBiddingSeasonalityAdjustments(MutateBiddingSeasonalityAdjustmentsRequest) returns (MutateBiddingSeasonalityAdjustmentsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/biddingSeasonalityAdjustments:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [BiddingSeasonalityAdjustmentService.MutateBiddingSeasonalityAdjustments][google.ads.googleads.v11.services.BiddingSeasonalityAdjustmentService.MutateBiddingSeasonalityAdjustments]. -message MutateBiddingSeasonalityAdjustmentsRequest { - // Required. ID of the customer whose seasonality adjustments are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual seasonality adjustments. - repeated BiddingSeasonalityAdjustmentOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, remove, update) on a seasonality adjustment. -message BiddingSeasonalityAdjustmentOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new seasonality - // adjustment. - google.ads.googleads.v11.resources.BiddingSeasonalityAdjustment create = 1; - - // Update operation: The seasonality adjustment is expected to have a valid - // resource name. - google.ads.googleads.v11.resources.BiddingSeasonalityAdjustment update = 2; - - // Remove operation: A resource name for the removed seasonality adjustment - // is expected, in this format: - // - // `customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_adjustment_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/BiddingSeasonalityAdjustment" - }]; - } -} - -// Response message for seasonality adjustments mutate. -message MutateBiddingSeasonalityAdjustmentsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateBiddingSeasonalityAdjustmentsResult results = 2; -} - -// The result for the seasonality adjustment mutate. -message MutateBiddingSeasonalityAdjustmentsResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/BiddingSeasonalityAdjustment" - }]; - - // The mutated bidding seasonality adjustment with only mutable fields after - // mutate. The field will only be returned when response_content_type is set - // to "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.BiddingSeasonalityAdjustment bidding_seasonality_adjustment = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/bidding_strategy_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/bidding_strategy_service.proto deleted file mode 100644 index 0e389b934..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/bidding_strategy_service.proto +++ /dev/null @@ -1,154 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/bidding_strategy.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "BiddingStrategyServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the Bidding Strategy service. - -// Service to manage bidding strategies. -service BiddingStrategyService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes bidding strategies. Operation statuses are - // returned. - // - // List of thrown errors: - // [AdxError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [BiddingError]() - // [BiddingStrategyError]() - // [ContextError]() - // [DatabaseError]() - // [DateError]() - // [DistinctError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [NullError]() - // [OperationAccessDeniedError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - rpc MutateBiddingStrategies(MutateBiddingStrategiesRequest) returns (MutateBiddingStrategiesResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/biddingStrategies:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [BiddingStrategyService.MutateBiddingStrategies][google.ads.googleads.v11.services.BiddingStrategyService.MutateBiddingStrategies]. -message MutateBiddingStrategiesRequest { - // Required. The ID of the customer whose bidding strategies are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual bidding strategies. - repeated BiddingStrategyOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, update, remove) on a bidding strategy. -message BiddingStrategyOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new bidding - // strategy. - google.ads.googleads.v11.resources.BiddingStrategy create = 1; - - // Update operation: The bidding strategy is expected to have a valid - // resource name. - google.ads.googleads.v11.resources.BiddingStrategy update = 2; - - // Remove operation: A resource name for the removed bidding strategy is - // expected, in this format: - // - // `customers/{customer_id}/biddingStrategies/{bidding_strategy_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/BiddingStrategy" - }]; - } -} - -// Response message for bidding strategy mutate. -message MutateBiddingStrategiesResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateBiddingStrategyResult results = 2; -} - -// The result for the bidding strategy mutate. -message MutateBiddingStrategyResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/BiddingStrategy" - }]; - - // The mutated bidding strategy with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.BiddingStrategy bidding_strategy = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/billing_setup_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/billing_setup_service.proto deleted file mode 100644 index 6e40f6152..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/billing_setup_service.proto +++ /dev/null @@ -1,112 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/resources/billing_setup.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "BillingSetupServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the BillingSetup service. - -// A service for designating the business entity responsible for accrued costs. -// -// A billing setup is associated with a payments account. Billing-related -// activity for all billing setups associated with a particular payments account -// will appear on a single invoice generated monthly. -// -// Mutates: -// The REMOVE operation cancels a pending billing setup. -// The CREATE operation creates a new billing setup. -service BillingSetupService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates a billing setup, or cancels an existing billing setup. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [BillingSetupError]() - // [DateError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - rpc MutateBillingSetup(MutateBillingSetupRequest) returns (MutateBillingSetupResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/billingSetups:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operation"; - } -} - -// Request message for billing setup mutate operations. -message MutateBillingSetupRequest { - // Required. Id of the customer to apply the billing setup mutate operation to. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The operation to perform. - BillingSetupOperation operation = 2 [(google.api.field_behavior) = REQUIRED]; -} - -// A single operation on a billing setup, which describes the cancellation of an -// existing billing setup. -message BillingSetupOperation { - // Only one of these operations can be set. "Update" operations are not - // supported. - oneof operation { - // Creates a billing setup. No resource name is expected for the new billing - // setup. - google.ads.googleads.v11.resources.BillingSetup create = 2; - - // Resource name of the billing setup to remove. A setup cannot be - // removed unless it is in a pending state or its scheduled start time is in - // the future. The resource name looks like - // `customers/{customer_id}/billingSetups/{billing_id}`. - string remove = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/BillingSetup" - }]; - } -} - -// Response message for a billing setup operation. -message MutateBillingSetupResponse { - // A result that identifies the resource affected by the mutate request. - MutateBillingSetupResult result = 1; -} - -// Result for a single billing setup mutate. -message MutateBillingSetupResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/BillingSetup" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/campaign_asset_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/campaign_asset_service.proto deleted file mode 100644 index 8da30003f..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/campaign_asset_service.proto +++ /dev/null @@ -1,140 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/campaign_asset.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignAssetServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the CampaignAsset service. - -// Service to manage campaign assets. -service CampaignAssetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes campaign assets. Operation statuses are - // returned. - // - // List of thrown errors: - // [AssetLinkError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [ContextError]() - // [DatabaseError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [NotAllowlistedError]() - // [QuotaError]() - // [RequestError]() - rpc MutateCampaignAssets(MutateCampaignAssetsRequest) returns (MutateCampaignAssetsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/campaignAssets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [CampaignAssetService.MutateCampaignAssets][google.ads.googleads.v11.services.CampaignAssetService.MutateCampaignAssets]. -message MutateCampaignAssetsRequest { - // Required. The ID of the customer whose campaign assets are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual campaign assets. - repeated CampaignAssetOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, update, remove) on a campaign asset. -message CampaignAssetOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new campaign - // asset. - google.ads.googleads.v11.resources.CampaignAsset create = 1; - - // Update operation: The campaign asset is expected to have a valid resource - // name. - google.ads.googleads.v11.resources.CampaignAsset update = 3; - - // Remove operation: A resource name for the removed campaign asset is - // expected, in this format: - // - // `customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignAsset" - }]; - } -} - -// Response message for a campaign asset mutate. -message MutateCampaignAssetsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 1; - - // All results for the mutate. - repeated MutateCampaignAssetResult results = 2; -} - -// The result for the campaign asset mutate. -message MutateCampaignAssetResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignAsset" - }]; - - // The mutated campaign asset with only mutable fields after - // mutate. The field will only be returned when response_content_type is set - // to "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.CampaignAsset campaign_asset = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/campaign_asset_set_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/campaign_asset_set_service.proto deleted file mode 100644 index 985a105b1..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/campaign_asset_set_service.proto +++ /dev/null @@ -1,117 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/campaign_asset_set.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignAssetSetServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the CampaignAssetSet service. - -// Service to manage campaign asset set -service CampaignAssetSetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes campaign asset sets. Operation statuses are - // returned. - rpc MutateCampaignAssetSets(MutateCampaignAssetSetsRequest) returns (MutateCampaignAssetSetsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/campaignAssetSets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [CampaignAssetSetService.MutateCampaignAssetSets][google.ads.googleads.v11.services.CampaignAssetSetService.MutateCampaignAssetSets]. -message MutateCampaignAssetSetsRequest { - // Required. The ID of the customer whose campaign asset sets are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual campaign asset sets. - repeated CampaignAssetSetOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, remove) on a campaign asset set. -message CampaignAssetSetOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new campaign asset - // set. - google.ads.googleads.v11.resources.CampaignAssetSet create = 1; - - // Remove operation: A resource name for the removed campaign asset set is - // expected, in this format: - // `customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignAssetSet" - }]; - } -} - -// Response message for a campaign asset set mutate. -message MutateCampaignAssetSetsResponse { - // All results for the mutate. - repeated MutateCampaignAssetSetResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the campaign asset set mutate. -message MutateCampaignAssetSetResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignAssetSet" - }]; - - // The mutated campaign asset set with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.CampaignAssetSet campaign_asset_set = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/campaign_bid_modifier_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/campaign_bid_modifier_service.proto deleted file mode 100644 index 3e95bc423..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/campaign_bid_modifier_service.proto +++ /dev/null @@ -1,151 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/campaign_bid_modifier.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignBidModifierServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the Campaign Bid Modifier service. - -// Service to manage campaign bid modifiers. -service CampaignBidModifierService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes campaign bid modifiers. - // Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [ContextError]() - // [CriterionError]() - // [DatabaseError]() - // [DateError]() - // [DistinctError]() - // [FieldError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [NullError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - rpc MutateCampaignBidModifiers(MutateCampaignBidModifiersRequest) returns (MutateCampaignBidModifiersResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/campaignBidModifiers:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [CampaignBidModifierService.MutateCampaignBidModifiers][google.ads.googleads.v11.services.CampaignBidModifierService.MutateCampaignBidModifiers]. -message MutateCampaignBidModifiersRequest { - // Required. ID of the customer whose campaign bid modifiers are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual campaign bid modifiers. - repeated CampaignBidModifierOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, remove, update) on a campaign bid modifier. -message CampaignBidModifierOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new campaign bid - // modifier. - google.ads.googleads.v11.resources.CampaignBidModifier create = 1; - - // Update operation: The campaign bid modifier is expected to have a valid - // resource name. - google.ads.googleads.v11.resources.CampaignBidModifier update = 2; - - // Remove operation: A resource name for the removed campaign bid modifier - // is expected, in this format: - // - // `customers/{customer_id}/CampaignBidModifiers/{campaign_id}~{criterion_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignBidModifier" - }]; - } -} - -// Response message for campaign bid modifiers mutate. -message MutateCampaignBidModifiersResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateCampaignBidModifierResult results = 2; -} - -// The result for the criterion mutate. -message MutateCampaignBidModifierResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignBidModifier" - }]; - - // The mutated campaign bid modifier with only mutable fields after mutate. - // The field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.CampaignBidModifier campaign_bid_modifier = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/campaign_budget_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/campaign_budget_service.proto deleted file mode 100644 index a3540cd69..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/campaign_budget_service.proto +++ /dev/null @@ -1,144 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/campaign_budget.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignBudgetServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the Campaign Budget service. - -// Service to manage campaign budgets. -service CampaignBudgetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes campaign budgets. Operation statuses are - // returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CampaignBudgetError]() - // [DatabaseError]() - // [DistinctError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [NewResourceCreationError]() - // [OperationAccessDeniedError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - // [StringLengthError]() - rpc MutateCampaignBudgets(MutateCampaignBudgetsRequest) returns (MutateCampaignBudgetsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/campaignBudgets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [CampaignBudgetService.MutateCampaignBudgets][google.ads.googleads.v11.services.CampaignBudgetService.MutateCampaignBudgets]. -message MutateCampaignBudgetsRequest { - // Required. The ID of the customer whose campaign budgets are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual campaign budgets. - repeated CampaignBudgetOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, update, remove) on a campaign budget. -message CampaignBudgetOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new budget. - google.ads.googleads.v11.resources.CampaignBudget create = 1; - - // Update operation: The campaign budget is expected to have a valid - // resource name. - google.ads.googleads.v11.resources.CampaignBudget update = 2; - - // Remove operation: A resource name for the removed budget is expected, in - // this format: - // - // `customers/{customer_id}/campaignBudgets/{budget_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignBudget" - }]; - } -} - -// Response message for campaign budget mutate. -message MutateCampaignBudgetsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateCampaignBudgetResult results = 2; -} - -// The result for the campaign budget mutate. -message MutateCampaignBudgetResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignBudget" - }]; - - // The mutated campaign budget with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.CampaignBudget campaign_budget = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/campaign_conversion_goal_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/campaign_conversion_goal_service.proto deleted file mode 100644 index 6e1437bee..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/campaign_conversion_goal_service.proto +++ /dev/null @@ -1,92 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/resources/campaign_conversion_goal.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignConversionGoalServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the CampaignConversionGoal service. - -// Service to manage campaign conversion goal. -service CampaignConversionGoalService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes campaign conversion goals. Operation statuses - // are returned. - rpc MutateCampaignConversionGoals(MutateCampaignConversionGoalsRequest) returns (MutateCampaignConversionGoalsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/campaignConversionGoals:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [CampaignConversionGoalService.MutateCampaignConversionGoals][google.ads.googleads.v11.services.CampaignConversionGoalService.MutateCampaignConversionGoals]. -message MutateCampaignConversionGoalsRequest { - // Required. The ID of the customer whose campaign conversion goals are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual campaign conversion goal. - repeated CampaignConversionGoalOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; -} - -// A single operation (update) on a campaign conversion goal. -message CampaignConversionGoalOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 2; - - // The mutate operation. - oneof operation { - // Update operation: The customer conversion goal is expected to have a - // valid resource name. - google.ads.googleads.v11.resources.CampaignConversionGoal update = 1; - } -} - -// Response message for a campaign conversion goal mutate. -message MutateCampaignConversionGoalsResponse { - // All results for the mutate. - repeated MutateCampaignConversionGoalResult results = 1; -} - -// The result for the campaign conversion goal mutate. -message MutateCampaignConversionGoalResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignConversionGoal" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/campaign_criterion_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/campaign_criterion_service.proto deleted file mode 100644 index 0751be3bc..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/campaign_criterion_service.proto +++ /dev/null @@ -1,155 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/campaign_criterion.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignCriterionServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the Campaign Criterion service. - -// Service to manage campaign criteria. -service CampaignCriterionService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes criteria. Operation statuses are returned. - // - // List of thrown errors: - // [AdxError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [CampaignCriterionError]() - // [CollectionSizeError]() - // [ContextError]() - // [CriterionError]() - // [DatabaseError]() - // [DistinctError]() - // [FieldError]() - // [FieldMaskError]() - // [FunctionError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [NullError]() - // [OperationAccessDeniedError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RegionCodeError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - rpc MutateCampaignCriteria(MutateCampaignCriteriaRequest) returns (MutateCampaignCriteriaResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/campaignCriteria:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [CampaignCriterionService.MutateCampaignCriteria][google.ads.googleads.v11.services.CampaignCriterionService.MutateCampaignCriteria]. -message MutateCampaignCriteriaRequest { - // Required. The ID of the customer whose criteria are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual criteria. - repeated CampaignCriterionOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, update, remove) on a campaign criterion. -message CampaignCriterionOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new criterion. - google.ads.googleads.v11.resources.CampaignCriterion create = 1; - - // Update operation: The criterion is expected to have a valid resource - // name. - google.ads.googleads.v11.resources.CampaignCriterion update = 2; - - // Remove operation: A resource name for the removed criterion is expected, - // in this format: - // - // `customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignCriterion" - }]; - } -} - -// Response message for campaign criterion mutate. -message MutateCampaignCriteriaResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateCampaignCriterionResult results = 2; -} - -// The result for the criterion mutate. -message MutateCampaignCriterionResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignCriterion" - }]; - - // The mutated campaign criterion with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.CampaignCriterion campaign_criterion = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/campaign_customizer_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/campaign_customizer_service.proto deleted file mode 100644 index 19ad48036..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/campaign_customizer_service.proto +++ /dev/null @@ -1,118 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/campaign_customizer.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignCustomizerServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the CampaignCustomizer service. - -// Service to manage campaign customizer -service CampaignCustomizerService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes campaign customizers. Operation statuses are - // returned. - rpc MutateCampaignCustomizers(MutateCampaignCustomizersRequest) returns (MutateCampaignCustomizersResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/campaignCustomizers:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [CampaignCustomizerService.MutateCampaignCustomizers][google.ads.googleads.v11.services.CampaignCustomizerService.MutateCampaignCustomizers]. -message MutateCampaignCustomizersRequest { - // Required. The ID of the customer whose campaign customizers are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual campaign customizers. - repeated CampaignCustomizerOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, remove) on an customizer attribute. -message CampaignCustomizerOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new campaign - // customizer - google.ads.googleads.v11.resources.CampaignCustomizer create = 1; - - // Remove operation: A resource name for the removed campaign customizer is - // expected, in this format: - // `customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignCustomizer" - }]; - } -} - -// Response message for an campaign customizer mutate. -message MutateCampaignCustomizersResponse { - // All results for the mutate. - repeated MutateCampaignCustomizerResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the campaign customizer mutate. -message MutateCampaignCustomizerResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignCustomizer" - }]; - - // The mutated CampaignCustomizer with only mutable fields after mutate. - // The field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.CampaignCustomizer campaign_customizer = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/campaign_draft_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/campaign_draft_service.proto deleted file mode 100644 index a85ab966c..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/campaign_draft_service.proto +++ /dev/null @@ -1,236 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/campaign_draft.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/longrunning/operations.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignDraftServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the Campaign Draft service. - -// Service to manage campaign drafts. -service CampaignDraftService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes campaign drafts. Operation statuses are - // returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CampaignDraftError]() - // [DatabaseError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - rpc MutateCampaignDrafts(MutateCampaignDraftsRequest) returns (MutateCampaignDraftsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/campaignDrafts:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } - - // Promotes the changes in a draft back to the base campaign. - // - // This method returns a Long Running Operation (LRO) indicating if the - // Promote is done. Use [Operations.GetOperation] to poll the LRO until it - // is done. Only a done status is returned in the response. See the status - // in the Campaign Draft resource to determine if the promotion was - // successful. If the LRO failed, use - // [CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v11.services.CampaignDraftService.ListCampaignDraftAsyncErrors] to view the list of - // error reasons. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CampaignDraftError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc PromoteCampaignDraft(PromoteCampaignDraftRequest) returns (google.longrunning.Operation) { - option (google.api.http) = { - post: "/v11/{campaign_draft=customers/*/campaignDrafts/*}:promote" - body: "*" - }; - option (google.api.method_signature) = "campaign_draft"; - option (google.longrunning.operation_info) = { - response_type: "google.protobuf.Empty" - metadata_type: "google.protobuf.Empty" - }; - } - - // Returns all errors that occurred during CampaignDraft promote. Throws an - // error if called before campaign draft is promoted. - // Supports standard list paging. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc ListCampaignDraftAsyncErrors(ListCampaignDraftAsyncErrorsRequest) returns (ListCampaignDraftAsyncErrorsResponse) { - option (google.api.http) = { - get: "/v11/{resource_name=customers/*/campaignDrafts/*}:listAsyncErrors" - }; - option (google.api.method_signature) = "resource_name"; - } -} - -// Request message for [CampaignDraftService.MutateCampaignDrafts][google.ads.googleads.v11.services.CampaignDraftService.MutateCampaignDrafts]. -message MutateCampaignDraftsRequest { - // Required. The ID of the customer whose campaign drafts are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual campaign drafts. - repeated CampaignDraftOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// Request message for [CampaignDraftService.PromoteCampaignDraft][google.ads.googleads.v11.services.CampaignDraftService.PromoteCampaignDraft]. -message PromoteCampaignDraftRequest { - // Required. The resource name of the campaign draft to promote. - string campaign_draft = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignDraft" - } - ]; - - // If true, the request is validated but no Long Running Operation is created. - // Only errors are returned. - bool validate_only = 2; -} - -// A single operation (create, update, remove) on a campaign draft. -message CampaignDraftOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new campaign - // draft. - google.ads.googleads.v11.resources.CampaignDraft create = 1; - - // Update operation: The campaign draft is expected to have a valid - // resource name. - google.ads.googleads.v11.resources.CampaignDraft update = 2; - - // Remove operation: The campaign draft is expected to have a valid - // resource name, in this format: - // - // `customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignDraft" - }]; - } -} - -// Response message for campaign draft mutate. -message MutateCampaignDraftsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateCampaignDraftResult results = 2; -} - -// The result for the campaign draft mutate. -message MutateCampaignDraftResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignDraft" - }]; - - // The mutated campaign draft with only mutable fields after mutate. The field - // will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.CampaignDraft campaign_draft = 2; -} - -// Request message for [CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v11.services.CampaignDraftService.ListCampaignDraftAsyncErrors]. -message ListCampaignDraftAsyncErrorsRequest { - // Required. The name of the campaign draft from which to retrieve the async errors. - string resource_name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignDraft" - } - ]; - - // Token of the page to retrieve. If not specified, the first - // page of results will be returned. Use the value obtained from - // `next_page_token` in the previous response in order to request - // the next page of results. - string page_token = 2; - - // Number of elements to retrieve in a single page. - // When a page request is too large, the server may decide to - // further limit the number of returned resources. - int32 page_size = 3; -} - -// Response message for [CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v11.services.CampaignDraftService.ListCampaignDraftAsyncErrors]. -message ListCampaignDraftAsyncErrorsResponse { - // Details of the errors when performing the asynchronous operation. - repeated google.rpc.Status errors = 1; - - // Pagination token used to retrieve the next page of results. - // Pass the content of this string as the `page_token` attribute of - // the next request. `next_page_token` is not returned for the last - // page. - string next_page_token = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/campaign_experiment_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/campaign_experiment_service.proto deleted file mode 100644 index 2295e8f00..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/campaign_experiment_service.proto +++ /dev/null @@ -1,374 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/campaign_experiment.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/longrunning/operations.proto"; -import "google/protobuf/empty.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignExperimentServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the Campaign Experiment service. - -// CampaignExperimentService manages the life cycle of campaign experiments. -// It is used to create new experiments from drafts, modify experiment -// properties, promote changes in an experiment back to its base campaign, -// graduate experiments into new stand-alone campaigns, and to remove an -// experiment. -// -// An experiment consists of two variants or arms - the base campaign and the -// experiment campaign, directing a fixed share of traffic to each arm. -// A campaign experiment is created from a draft of changes to the base campaign -// and will be a snapshot of changes in the draft at the time of creation. -service CampaignExperimentService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates a campaign experiment based on a campaign draft. The draft campaign - // will be forked into a real campaign (called the experiment campaign) that - // will begin serving ads if successfully created. - // - // The campaign experiment is created immediately with status INITIALIZING. - // This method return a long running operation that tracks the forking of the - // draft campaign. If the forking fails, a list of errors can be retrieved - // using the ListCampaignExperimentAsyncErrors method. The operation's - // metadata will be a StringValue containing the resource name of the created - // campaign experiment. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CampaignExperimentError]() - // [DatabaseError]() - // [DateError]() - // [DateRangeError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - rpc CreateCampaignExperiment(CreateCampaignExperimentRequest) returns (google.longrunning.Operation) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/campaignExperiments:create" - body: "*" - }; - option (google.api.method_signature) = "customer_id,campaign_experiment"; - option (google.longrunning.operation_info) = { - response_type: "google.protobuf.Empty" - metadata_type: "google.ads.googleads.v11.services.CreateCampaignExperimentMetadata" - }; - } - - // Updates campaign experiments. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CampaignExperimentError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc MutateCampaignExperiments(MutateCampaignExperimentsRequest) returns (MutateCampaignExperimentsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/campaignExperiments:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } - - // Graduates a campaign experiment to a full campaign. The base and experiment - // campaigns will start running independently with their own budgets. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CampaignExperimentError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - rpc GraduateCampaignExperiment(GraduateCampaignExperimentRequest) returns (GraduateCampaignExperimentResponse) { - option (google.api.http) = { - post: "/v11/{campaign_experiment=customers/*/campaignExperiments/*}:graduate" - body: "*" - }; - option (google.api.method_signature) = "campaign_experiment,campaign_budget"; - } - - // Promotes the changes in a experiment campaign back to the base campaign. - // - // The campaign experiment is updated immediately with status PROMOTING. - // This method return a long running operation that tracks the promoting of - // the experiment campaign. If the promoting fails, a list of errors can be - // retrieved using the ListCampaignExperimentAsyncErrors method. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc PromoteCampaignExperiment(PromoteCampaignExperimentRequest) returns (google.longrunning.Operation) { - option (google.api.http) = { - post: "/v11/{campaign_experiment=customers/*/campaignExperiments/*}:promote" - body: "*" - }; - option (google.api.method_signature) = "campaign_experiment"; - option (google.longrunning.operation_info) = { - response_type: "google.protobuf.Empty" - metadata_type: "google.protobuf.Empty" - }; - } - - // Immediately ends a campaign experiment, changing the experiment's scheduled - // end date and without waiting for end of day. End date is updated to be the - // time of the request. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CampaignExperimentError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc EndCampaignExperiment(EndCampaignExperimentRequest) returns (google.protobuf.Empty) { - option (google.api.http) = { - post: "/v11/{campaign_experiment=customers/*/campaignExperiments/*}:end" - body: "*" - }; - option (google.api.method_signature) = "campaign_experiment"; - } - - // Returns all errors that occurred during CampaignExperiment create or - // promote (whichever occurred last). - // Supports standard list paging. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc ListCampaignExperimentAsyncErrors(ListCampaignExperimentAsyncErrorsRequest) returns (ListCampaignExperimentAsyncErrorsResponse) { - option (google.api.http) = { - get: "/v11/{resource_name=customers/*/campaignExperiments/*}:listAsyncErrors" - }; - option (google.api.method_signature) = "resource_name"; - } -} - -// Request message for [CampaignExperimentService.MutateCampaignExperiments][google.ads.googleads.v11.services.CampaignExperimentService.MutateCampaignExperiments]. -message MutateCampaignExperimentsRequest { - // Required. The ID of the customer whose campaign experiments are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual campaign experiments. - repeated CampaignExperimentOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single update operation on a campaign experiment. -message CampaignExperimentOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 3; - - // The mutate operation. - oneof operation { - // Update operation: The campaign experiment is expected to have a valid - // resource name. - google.ads.googleads.v11.resources.CampaignExperiment update = 1; - - // Remove operation: The campaign experiment is expected to have a valid - // resource name, in this format: - // - // `customers/{customer_id}/campaignExperiments/{campaign_experiment_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignExperiment" - }]; - } -} - -// Response message for campaign experiment mutate. -message MutateCampaignExperimentsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateCampaignExperimentResult results = 2; -} - -// The result for the campaign experiment mutate. -message MutateCampaignExperimentResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignExperiment" - }]; - - // The mutated campaign experiment with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.CampaignExperiment campaign_experiment = 2; -} - -// Request message for [CampaignExperimentService.CreateCampaignExperiment][google.ads.googleads.v11.services.CampaignExperimentService.CreateCampaignExperiment]. -message CreateCampaignExperimentRequest { - // Required. The ID of the customer whose campaign experiment is being created. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The campaign experiment to be created. - google.ads.googleads.v11.resources.CampaignExperiment campaign_experiment = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; -} - -// Message used as metadata returned in Long Running Operations for -// CreateCampaignExperimentRequest -message CreateCampaignExperimentMetadata { - // Resource name of campaign experiment created. - string campaign_experiment = 1; -} - -// Request message for [CampaignExperimentService.GraduateCampaignExperiment][google.ads.googleads.v11.services.CampaignExperimentService.GraduateCampaignExperiment]. -message GraduateCampaignExperimentRequest { - // Required. The resource name of the campaign experiment to graduate. - string campaign_experiment = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignExperiment" - } - ]; - - // Required. Resource name of the budget to attach to the campaign graduated from the - // experiment. - string campaign_budget = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; -} - -// Response message for campaign experiment graduate. -message GraduateCampaignExperimentResponse { - // The resource name of the campaign from the graduated experiment. - // This campaign is the same one as CampaignExperiment.experiment_campaign. - string graduated_campaign = 1; -} - -// Request message for [CampaignExperimentService.PromoteCampaignExperiment][google.ads.googleads.v11.services.CampaignExperimentService.PromoteCampaignExperiment]. -message PromoteCampaignExperimentRequest { - // Required. The resource name of the campaign experiment to promote. - string campaign_experiment = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignExperiment" - } - ]; - - // If true, the request is validated but no Long Running Operation is created. - // Only errors are returned. - bool validate_only = 2; -} - -// Request message for [CampaignExperimentService.EndCampaignExperiment][google.ads.googleads.v11.services.CampaignExperimentService.EndCampaignExperiment]. -message EndCampaignExperimentRequest { - // Required. The resource name of the campaign experiment to end. - string campaign_experiment = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignExperiment" - } - ]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 2; -} - -// Request message for -// [CampaignExperimentService.ListCampaignExperimentAsyncErrors][google.ads.googleads.v11.services.CampaignExperimentService.ListCampaignExperimentAsyncErrors]. -message ListCampaignExperimentAsyncErrorsRequest { - // Required. The name of the campaign experiment from which to retrieve the async - // errors. - string resource_name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignExperiment" - } - ]; - - // Token of the page to retrieve. If not specified, the first - // page of results will be returned. Use the value obtained from - // `next_page_token` in the previous response in order to request - // the next page of results. - string page_token = 2; - - // Number of elements to retrieve in a single page. - // When a page request is too large, the server may decide to - // further limit the number of returned resources. - int32 page_size = 3; -} - -// Response message for -// [CampaignExperimentService.ListCampaignExperimentAsyncErrors][google.ads.googleads.v11.services.CampaignExperimentService.ListCampaignExperimentAsyncErrors]. -message ListCampaignExperimentAsyncErrorsResponse { - // Details of the errors when performing the asynchronous operation. - repeated google.rpc.Status errors = 1; - - // Pagination token used to retrieve the next page of results. - // Pass the content of this string as the `page_token` attribute of - // the next request. `next_page_token` is not returned for the last - // page. - string next_page_token = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/campaign_extension_setting_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/campaign_extension_setting_service.proto deleted file mode 100644 index 8cdf8fc22..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/campaign_extension_setting_service.proto +++ /dev/null @@ -1,158 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/campaign_extension_setting.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignExtensionSettingServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the CampaignExtensionSetting service. - -// Service to manage campaign extension settings. -service CampaignExtensionSettingService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes campaign extension settings. Operation - // statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [CriterionError]() - // [DatabaseError]() - // [DateError]() - // [DistinctError]() - // [ExtensionSettingError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [ListOperationError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [NullError]() - // [OperationAccessDeniedError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - // [UrlFieldError]() - rpc MutateCampaignExtensionSettings(MutateCampaignExtensionSettingsRequest) returns (MutateCampaignExtensionSettingsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/campaignExtensionSettings:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [CampaignExtensionSettingService.MutateCampaignExtensionSettings][google.ads.googleads.v11.services.CampaignExtensionSettingService.MutateCampaignExtensionSettings]. -message MutateCampaignExtensionSettingsRequest { - // Required. The ID of the customer whose campaign extension settings are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual campaign extension - // settings. - repeated CampaignExtensionSettingOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, update, remove) on a campaign extension setting. -message CampaignExtensionSettingOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new campaign - // extension setting. - google.ads.googleads.v11.resources.CampaignExtensionSetting create = 1; - - // Update operation: The campaign extension setting is expected to have a - // valid resource name. - google.ads.googleads.v11.resources.CampaignExtensionSetting update = 2; - - // Remove operation: A resource name for the removed campaign extension - // setting is expected, in this format: - // - // `customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignExtensionSetting" - }]; - } -} - -// Response message for a campaign extension setting mutate. -message MutateCampaignExtensionSettingsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateCampaignExtensionSettingResult results = 2; -} - -// The result for the campaign extension setting mutate. -message MutateCampaignExtensionSettingResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignExtensionSetting" - }]; - - // The mutated campaign extension setting with only mutable fields after - // mutate. The field will only be returned when response_content_type is set - // to "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.CampaignExtensionSetting campaign_extension_setting = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/campaign_feed_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/campaign_feed_service.proto deleted file mode 100644 index 2ea76f0a3..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/campaign_feed_service.proto +++ /dev/null @@ -1,150 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/campaign_feed.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignFeedServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the CampaignFeed service. - -// Service to manage campaign feeds. -service CampaignFeedService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes campaign feeds. Operation statuses are - // returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CampaignFeedError]() - // [CollectionSizeError]() - // [DatabaseError]() - // [DistinctError]() - // [FieldError]() - // [FunctionError]() - // [FunctionParsingError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [MutateError]() - // [NotEmptyError]() - // [NullError]() - // [OperationAccessDeniedError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - rpc MutateCampaignFeeds(MutateCampaignFeedsRequest) returns (MutateCampaignFeedsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/campaignFeeds:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [CampaignFeedService.MutateCampaignFeeds][google.ads.googleads.v11.services.CampaignFeedService.MutateCampaignFeeds]. -message MutateCampaignFeedsRequest { - // Required. The ID of the customer whose campaign feeds are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual campaign feeds. - repeated CampaignFeedOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, update, remove) on a campaign feed. -message CampaignFeedOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new campaign feed. - google.ads.googleads.v11.resources.CampaignFeed create = 1; - - // Update operation: The campaign feed is expected to have a valid resource - // name. - google.ads.googleads.v11.resources.CampaignFeed update = 2; - - // Remove operation: A resource name for the removed campaign feed is - // expected, in this format: - // - // `customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignFeed" - }]; - } -} - -// Response message for a campaign feed mutate. -message MutateCampaignFeedsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateCampaignFeedResult results = 2; -} - -// The result for the campaign feed mutate. -message MutateCampaignFeedResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignFeed" - }]; - - // The mutated campaign feed with only mutable fields after mutate. The field - // will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.CampaignFeed campaign_feed = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/campaign_group_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/campaign_group_service.proto deleted file mode 100644 index f32c54fc6..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/campaign_group_service.proto +++ /dev/null @@ -1,129 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/campaign_group.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignGroupServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the Campaign group service. - -// Service to manage campaign groups. -service CampaignGroupService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes campaign groups. Operation statuses are - // returned. - rpc MutateCampaignGroups(MutateCampaignGroupsRequest) returns (MutateCampaignGroupsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/campaignGroups:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [CampaignGroupService.MutateCampaignGroups][google.ads.googleads.v11.services.CampaignGroupService.MutateCampaignGroups]. -message MutateCampaignGroupsRequest { - // Required. The ID of the customer whose campaign groups are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual campaign groups. - repeated CampaignGroupOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, update, remove) on a campaign group. -message CampaignGroupOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new campaign - // group. - google.ads.googleads.v11.resources.CampaignGroup create = 1; - - // Update operation: The campaign group is expected to have a valid - // resource name. - google.ads.googleads.v11.resources.CampaignGroup update = 2; - - // Remove operation: A resource name for the removed campaign group is - // expected, in this format: - // - // `customers/{customer_id}/campaignGroups/{campaign_group_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignGroup" - }]; - } -} - -// Response message for campaign group mutate. -message MutateCampaignGroupsResponse { - // All results for the mutate. - repeated MutateCampaignGroupResult results = 2; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; -} - -// The result for the campaign group mutate. -message MutateCampaignGroupResult { - // Required. Returned for successful operations. - string resource_name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignGroup" - } - ]; - - // The mutated campaign group with only mutable fields after mutate. The field - // will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.CampaignGroup campaign_group = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/campaign_label_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/campaign_label_service.proto deleted file mode 100644 index b905bd31d..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/campaign_label_service.proto +++ /dev/null @@ -1,121 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/resources/campaign_label.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignLabelServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the Campaign Label service. - -// Service to manage labels on campaigns. -service CampaignLabelService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates and removes campaign-label relationships. - // Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [LabelError]() - // [MutateError]() - // [NewResourceCreationError]() - // [QuotaError]() - // [RequestError]() - rpc MutateCampaignLabels(MutateCampaignLabelsRequest) returns (MutateCampaignLabelsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/campaignLabels:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [CampaignLabelService.MutateCampaignLabels][google.ads.googleads.v11.services.CampaignLabelService.MutateCampaignLabels]. -message MutateCampaignLabelsRequest { - // Required. ID of the customer whose campaign-label relationships are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on campaign-label relationships. - repeated CampaignLabelOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, remove) on a campaign-label relationship. -message CampaignLabelOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new campaign-label - // relationship. - google.ads.googleads.v11.resources.CampaignLabel create = 1; - - // Remove operation: A resource name for the campaign-label relationship - // being removed, in this format: - // - // `customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignLabel" - }]; - } -} - -// Response message for a campaign labels mutate. -message MutateCampaignLabelsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateCampaignLabelResult results = 2; -} - -// The result for a campaign label mutate. -message MutateCampaignLabelResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignLabel" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/campaign_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/campaign_service.proto deleted file mode 100644 index 185a36fc5..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/campaign_service.proto +++ /dev/null @@ -1,160 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/campaign.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the Campaign service. - -// Service to manage campaigns. -service CampaignService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes campaigns. Operation statuses are returned. - // - // List of thrown errors: - // [AdxError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [BiddingError]() - // [BiddingStrategyError]() - // [CampaignBudgetError]() - // [CampaignError]() - // [ContextError]() - // [DatabaseError]() - // [DateError]() - // [DateRangeError]() - // [DistinctError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [ListOperationError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotAllowlistedError]() - // [NotEmptyError]() - // [NullError]() - // [OperationAccessDeniedError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RegionCodeError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - // [SettingError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - // [UrlFieldError]() - rpc MutateCampaigns(MutateCampaignsRequest) returns (MutateCampaignsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/campaigns:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [CampaignService.MutateCampaigns][google.ads.googleads.v11.services.CampaignService.MutateCampaigns]. -message MutateCampaignsRequest { - // Required. The ID of the customer whose campaigns are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual campaigns. - repeated CampaignOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, update, remove) on a campaign. -message CampaignOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new campaign. - google.ads.googleads.v11.resources.Campaign create = 1; - - // Update operation: The campaign is expected to have a valid - // resource name. - google.ads.googleads.v11.resources.Campaign update = 2; - - // Remove operation: A resource name for the removed campaign is - // expected, in this format: - // - // `customers/{customer_id}/campaigns/{campaign_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - }]; - } -} - -// Response message for campaign mutate. -message MutateCampaignsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateCampaignResult results = 2; -} - -// The result for the campaign mutate. -message MutateCampaignResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - }]; - - // The mutated campaign with only mutable fields after mutate. The field will - // only be returned when response_content_type is set to "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.Campaign campaign = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/campaign_shared_set_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/campaign_shared_set_service.proto deleted file mode 100644 index f84357d16..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/campaign_shared_set_service.proto +++ /dev/null @@ -1,141 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/campaign_shared_set.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignSharedSetServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the Campaign Shared Set service. - -// Service to manage campaign shared sets. -service CampaignSharedSetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates or removes campaign shared sets. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CampaignSharedSetError]() - // [ContextError]() - // [DatabaseError]() - // [DateError]() - // [DistinctError]() - // [FieldError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [NullError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - rpc MutateCampaignSharedSets(MutateCampaignSharedSetsRequest) returns (MutateCampaignSharedSetsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/campaignSharedSets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [CampaignSharedSetService.MutateCampaignSharedSets][google.ads.googleads.v11.services.CampaignSharedSetService.MutateCampaignSharedSets]. -message MutateCampaignSharedSetsRequest { - // Required. The ID of the customer whose campaign shared sets are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual campaign shared sets. - repeated CampaignSharedSetOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, remove) on an campaign shared set. -message CampaignSharedSetOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new campaign - // shared set. - google.ads.googleads.v11.resources.CampaignSharedSet create = 1; - - // Remove operation: A resource name for the removed campaign shared set is - // expected, in this format: - // - // `customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignSharedSet" - }]; - } -} - -// Response message for a campaign shared set mutate. -message MutateCampaignSharedSetsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateCampaignSharedSetResult results = 2; -} - -// The result for the campaign shared set mutate. -message MutateCampaignSharedSetResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignSharedSet" - }]; - - // The mutated campaign shared set with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.CampaignSharedSet campaign_shared_set = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/conversion_action_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/conversion_action_service.proto deleted file mode 100644 index cce5e7524..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/conversion_action_service.proto +++ /dev/null @@ -1,144 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/conversion_action.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ConversionActionServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the Conversion Action service. - -// Service to manage conversion actions. -service ConversionActionService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes conversion actions. Operation statuses are - // returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [ConversionActionError]() - // [CurrencyCodeError]() - // [DatabaseError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [NewResourceCreationError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - // [StringLengthError]() - rpc MutateConversionActions(MutateConversionActionsRequest) returns (MutateConversionActionsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/conversionActions:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [ConversionActionService.MutateConversionActions][google.ads.googleads.v11.services.ConversionActionService.MutateConversionActions]. -message MutateConversionActionsRequest { - // Required. The ID of the customer whose conversion actions are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual conversion actions. - repeated ConversionActionOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, update, remove) on a conversion action. -message ConversionActionOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new conversion - // action. - google.ads.googleads.v11.resources.ConversionAction create = 1; - - // Update operation: The conversion action is expected to have a valid - // resource name. - google.ads.googleads.v11.resources.ConversionAction update = 2; - - // Remove operation: A resource name for the removed conversion action is - // expected, in this format: - // - // `customers/{customer_id}/conversionActions/{conversion_action_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionAction" - }]; - } -} - -// Response message for [ConversionActionService.MutateConversionActions][google.ads.googleads.v11.services.ConversionActionService.MutateConversionActions]. -message MutateConversionActionsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateConversionActionResult results = 2; -} - -// The result for the conversion action mutate. -message MutateConversionActionResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionAction" - }]; - - // The mutated conversion action with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.ConversionAction conversion_action = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/conversion_adjustment_upload_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/conversion_adjustment_upload_service.proto deleted file mode 100644 index 7fa37cda4..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/conversion_adjustment_upload_service.proto +++ /dev/null @@ -1,199 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/common/offline_user_data.proto"; -import "google/ads/googleads/v11/enums/conversion_adjustment_type.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ConversionAdjustmentUploadServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Service to upload conversion adjustments. -service ConversionAdjustmentUploadService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Processes the given conversion adjustments. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [PartialFailureError]() - // [QuotaError]() - // [RequestError]() - rpc UploadConversionAdjustments(UploadConversionAdjustmentsRequest) returns (UploadConversionAdjustmentsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}:uploadConversionAdjustments" - body: "*" - }; - option (google.api.method_signature) = "customer_id,conversion_adjustments,partial_failure"; - } -} - -// Request message for -// [ConversionAdjustmentUploadService.UploadConversionAdjustments][google.ads.googleads.v11.services.ConversionAdjustmentUploadService.UploadConversionAdjustments]. -message UploadConversionAdjustmentsRequest { - // Required. The ID of the customer performing the upload. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The conversion adjustments that are being uploaded. - repeated ConversionAdjustment conversion_adjustments = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried out - // in one transaction if and only if they are all valid. This should always be - // set to true. - // See - // https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - // for more information about partial failure. - bool partial_failure = 3 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// Response message for -// [ConversionAdjustmentUploadService.UploadConversionAdjustments][google.ads.googleads.v11.services.ConversionAdjustmentUploadService.UploadConversionAdjustments]. -message UploadConversionAdjustmentsResponse { - // Errors that pertain to conversion adjustment failures in the partial - // failure mode. Returned when all errors occur inside the adjustments. If any - // errors occur outside the adjustments (for example, auth errors), we return - // an RPC level error. See - // https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - // for more information about partial failure. - google.rpc.Status partial_failure_error = 1; - - // Returned for successfully processed conversion adjustments. Proto will be - // empty for rows that received an error. Results are not returned when - // validate_only is true. - repeated ConversionAdjustmentResult results = 2; -} - -// A conversion adjustment. -message ConversionAdjustment { - // For adjustments, uniquely identifies a conversion that was reported - // without an order ID specified. If the adjustment_type is ENHANCEMENT, this - // value is optional but may be set in addition to the order_id. - GclidDateTimePair gclid_date_time_pair = 12; - - // The order ID of the conversion to be adjusted. If the conversion was - // reported with an order ID specified, that order ID must be used as the - // identifier here. The order ID is required for enhancements. - optional string order_id = 13; - - // Resource name of the conversion action associated with this conversion - // adjustment. Note: Although this resource name consists of a customer id and - // a conversion action id, validation will ignore the customer id and use the - // conversion action id as the sole identifier of the conversion action. - optional string conversion_action = 8; - - // The date time at which the adjustment occurred. Must be after the - // conversion_date_time. The timezone must be specified. The format is - // "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - optional string adjustment_date_time = 9; - - // The adjustment type. - google.ads.googleads.v11.enums.ConversionAdjustmentTypeEnum.ConversionAdjustmentType adjustment_type = 5; - - // Information needed to restate the conversion's value. - // Required for restatements. Should not be supplied for retractions. An error - // will be returned if provided for a retraction. - // NOTE: If you want to upload a second restatement with a different adjusted - // value, it must have a new, more recent, adjustment occurrence time. - // Otherwise, it will be treated as a duplicate of the previous restatement - // and ignored. - RestatementValue restatement_value = 6; - - // The user identifiers to enhance the original conversion. - // ConversionAdjustmentUploadService only accepts user identifiers in - // enhancements. The maximum number of user identifiers for each - // enhancement is 5. - repeated google.ads.googleads.v11.common.UserIdentifier user_identifiers = 10; - - // The user agent to enhance the original conversion. This can be found in - // your user's HTTP request header when they convert on your web page. - // Example, "Mozilla/5.0 (iPhone; CPU iPhone OS 12_2 like Mac OS X)". User - // agent can only be specified in enhancements with user identifiers. This - // should match the user agent of the request that sent the original - // conversion so the conversion and its enhancement are either both attributed - // as same-device or both attributed as cross-device. - optional string user_agent = 11; -} - -// Contains information needed to restate a conversion's value. -message RestatementValue { - // The restated conversion value. This is the value of the conversion after - // restatement. For example, to change the value of a conversion from 100 to - // 70, an adjusted value of 70 should be reported. - // NOTE: If you want to upload a second restatement with a different adjusted - // value, it must have a new, more recent, adjustment occurrence time. - // Otherwise, it will be treated as a duplicate of the previous restatement - // and ignored. - optional double adjusted_value = 3; - - // The currency of the restated value. If not provided, then the default - // currency from the conversion action is used, and if that is not set then - // the account currency is used. This is the ISO 4217 3-character currency - // code for example, USD or EUR. - optional string currency_code = 4; -} - -// Uniquely identifies a conversion that was reported without an order ID -// specified. -message GclidDateTimePair { - // Google click ID (gclid) associated with the original conversion for this - // adjustment. - optional string gclid = 3; - - // The date time at which the original conversion for this adjustment - // occurred. The timezone must be specified. The format is "yyyy-mm-dd - // hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - optional string conversion_date_time = 4; -} - -// Information identifying a successfully processed ConversionAdjustment. -message ConversionAdjustmentResult { - // The gclid and conversion date time of the conversion. - GclidDateTimePair gclid_date_time_pair = 9; - - // The order ID of the conversion to be adjusted. - string order_id = 10; - - // Resource name of the conversion action associated with this conversion - // adjustment. - optional string conversion_action = 7; - - // The date time at which the adjustment occurred. The format is - // "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - optional string adjustment_date_time = 8; - - // The adjustment type. - google.ads.googleads.v11.enums.ConversionAdjustmentTypeEnum.ConversionAdjustmentType adjustment_type = 5; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/conversion_custom_variable_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/conversion_custom_variable_service.proto deleted file mode 100644 index d0197c2bb..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/conversion_custom_variable_service.proto +++ /dev/null @@ -1,132 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/conversion_custom_variable.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ConversionCustomVariableServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the Conversion Custom Variable service. - -// Service to manage conversion custom variables. -service ConversionCustomVariableService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates or updates conversion custom variables. Operation statuses are - // returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [ConversionCustomVariableError]() - // [DatabaseError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc MutateConversionCustomVariables(MutateConversionCustomVariablesRequest) returns (MutateConversionCustomVariablesResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/conversionCustomVariables:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [ConversionCustomVariableService.MutateConversionCustomVariables][google.ads.googleads.v11.services.ConversionCustomVariableService.MutateConversionCustomVariables]. -message MutateConversionCustomVariablesRequest { - // Required. The ID of the customer whose conversion custom variables are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual conversion custom - // variables. - repeated ConversionCustomVariableOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, update) on a conversion custom variable. -message ConversionCustomVariableOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 3; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new conversion - // custom variable. - google.ads.googleads.v11.resources.ConversionCustomVariable create = 1; - - // Update operation: The conversion custom variable is expected to have a - // valid resource name. - google.ads.googleads.v11.resources.ConversionCustomVariable update = 2; - } -} - -// Response message for -// [ConversionCustomVariableService.MutateConversionCustomVariables][google.ads.googleads.v11.services.ConversionCustomVariableService.MutateConversionCustomVariables]. -message MutateConversionCustomVariablesResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 1; - - // All results for the mutate. - repeated MutateConversionCustomVariableResult results = 2; -} - -// The result for the conversion custom variable mutate. -message MutateConversionCustomVariableResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionCustomVariable" - }]; - - // The mutated conversion custom variable with only mutable fields after - // mutate. The field will only be returned when response_content_type is set - // to "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.ConversionCustomVariable conversion_custom_variable = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/conversion_goal_campaign_config_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/conversion_goal_campaign_config_service.proto deleted file mode 100644 index fb1084ffe..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/conversion_goal_campaign_config_service.proto +++ /dev/null @@ -1,103 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/conversion_goal_campaign_config.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ConversionGoalCampaignConfigServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the ConversionGoalCampaignConfig service. - -// Service to manage conversion goal campaign config. -service ConversionGoalCampaignConfigService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes conversion goal campaign config. Operation - // statuses are returned. - rpc MutateConversionGoalCampaignConfigs(MutateConversionGoalCampaignConfigsRequest) returns (MutateConversionGoalCampaignConfigsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/conversionGoalCampaignConfigs:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [ConversionGoalCampaignConfigService.MutateConversionGoalCampaignConfig][]. -message MutateConversionGoalCampaignConfigsRequest { - // Required. The ID of the customer whose custom conversion goals are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual conversion goal campaign - // config. - repeated ConversionGoalCampaignConfigOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4; -} - -// A single operation (update) on a conversion goal campaign config. -message ConversionGoalCampaignConfigOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 2; - - // The mutate operation. - oneof operation { - // Update operation: The conversion goal campaign config is expected to have - // a valid resource name. - google.ads.googleads.v11.resources.ConversionGoalCampaignConfig update = 1; - } -} - -// Response message for a conversion goal campaign config mutate. -message MutateConversionGoalCampaignConfigsResponse { - // All results for the mutate. - repeated MutateConversionGoalCampaignConfigResult results = 1; -} - -// The result for the conversion goal campaign config mutate. -message MutateConversionGoalCampaignConfigResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionGoalCampaignConfig" - }]; - - // The mutated ConversionGoalCampaignConfig with only mutable fields after - // mutate. The field will only be returned when response_content_type is set - // to "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.ConversionGoalCampaignConfig conversion_goal_campaign_config = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/conversion_upload_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/conversion_upload_service.proto deleted file mode 100644 index bad4f9f06..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/conversion_upload_service.proto +++ /dev/null @@ -1,347 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/common/offline_user_data.proto"; -import "google/ads/googleads/v11/enums/conversion_environment_enum.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ConversionUploadServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Service to upload conversions. -service ConversionUploadService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Processes the given click conversions. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [ConversionUploadError]() - // [HeaderError]() - // [InternalError]() - // [PartialFailureError]() - // [QuotaError]() - // [RequestError]() - rpc UploadClickConversions(UploadClickConversionsRequest) returns (UploadClickConversionsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}:uploadClickConversions" - body: "*" - }; - option (google.api.method_signature) = "customer_id,conversions,partial_failure"; - } - - // Processes the given call conversions. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [PartialFailureError]() - // [QuotaError]() - // [RequestError]() - rpc UploadCallConversions(UploadCallConversionsRequest) returns (UploadCallConversionsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}:uploadCallConversions" - body: "*" - }; - option (google.api.method_signature) = "customer_id,conversions,partial_failure"; - } -} - -// Request message for [ConversionUploadService.UploadClickConversions][google.ads.googleads.v11.services.ConversionUploadService.UploadClickConversions]. -message UploadClickConversionsRequest { - // Required. The ID of the customer performing the upload. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The conversions that are being uploaded. - repeated ClickConversion conversions = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // This should always be set to true. - // See - // https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - // for more information about partial failure. - bool partial_failure = 3 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// Response message for [ConversionUploadService.UploadClickConversions][google.ads.googleads.v11.services.ConversionUploadService.UploadClickConversions]. -message UploadClickConversionsResponse { - // Errors that pertain to conversion failures in the partial failure mode. - // Returned when all errors occur inside the conversions. If any errors occur - // outside the conversions (for example, auth errors), we return an RPC level - // error. See - // https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - // for more information about partial failure. - google.rpc.Status partial_failure_error = 1; - - // Returned for successfully processed conversions. Proto will be empty for - // rows that received an error. Results are not returned when validate_only is - // true. - repeated ClickConversionResult results = 2; -} - -// Request message for [ConversionUploadService.UploadCallConversions][google.ads.googleads.v11.services.ConversionUploadService.UploadCallConversions]. -message UploadCallConversionsRequest { - // Required. The ID of the customer performing the upload. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The conversions that are being uploaded. - repeated CallConversion conversions = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // This should always be set to true. - // See - // https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - // for more information about partial failure. - bool partial_failure = 3 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// Response message for [ConversionUploadService.UploadCallConversions][google.ads.googleads.v11.services.ConversionUploadService.UploadCallConversions]. -message UploadCallConversionsResponse { - // Errors that pertain to conversion failures in the partial failure mode. - // Returned when all errors occur inside the conversions. If any errors occur - // outside the conversions (for example, auth errors), we return an RPC level - // error. See - // https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - // for more information about partial failure. - google.rpc.Status partial_failure_error = 1; - - // Returned for successfully processed conversions. Proto will be empty for - // rows that received an error. Results are not returned when validate_only is - // true. - repeated CallConversionResult results = 2; -} - -// A click conversion. -message ClickConversion { - // The Google click ID (gclid) associated with this conversion. - optional string gclid = 9; - - // The click identifier for clicks associated with app conversions and - // originating from iOS devices starting with iOS14. - string gbraid = 18; - - // The click identifier for clicks associated with web conversions and - // originating from iOS devices starting with iOS14. - string wbraid = 19; - - // Resource name of the conversion action associated with this conversion. - // Note: Although this resource name consists of a customer id and a - // conversion action id, validation will ignore the customer id and use the - // conversion action id as the sole identifier of the conversion action. - optional string conversion_action = 10; - - // The date time at which the conversion occurred. Must be after - // the click time. The timezone must be specified. The format is - // "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - optional string conversion_date_time = 11; - - // The value of the conversion for the advertiser. - optional double conversion_value = 12; - - // Currency associated with the conversion value. This is the ISO 4217 - // 3-character currency code. For example: USD, EUR. - optional string currency_code = 13; - - // The order ID associated with the conversion. An order id can only be used - // for one conversion per conversion action. - optional string order_id = 14; - - // Additional data about externally attributed conversions. This field - // is required for conversions with an externally attributed conversion - // action, but should not be set otherwise. - ExternalAttributionData external_attribution_data = 7; - - // The custom variables associated with this conversion. - repeated CustomVariable custom_variables = 15; - - // The cart data associated with this conversion. - CartData cart_data = 16; - - // The user identifiers associated with this conversion. Only hashed_email and - // hashed_phone_number are supported for conversion uploads. The maximum - // number of user identifiers for each conversion is 5. - repeated google.ads.googleads.v11.common.UserIdentifier user_identifiers = 17; - - // The environment this conversion was recorded on, for example, App or Web. - google.ads.googleads.v11.enums.ConversionEnvironmentEnum.ConversionEnvironment conversion_environment = 20; -} - -// A call conversion. -message CallConversion { - // The caller id from which this call was placed. Caller id is expected to be - // in E.164 format with preceding '+' sign, for example, "+16502531234". - optional string caller_id = 7; - - // The date time at which the call occurred. The timezone must be specified. - // The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", - // for example, "2019-01-01 12:32:45-08:00". - optional string call_start_date_time = 8; - - // Resource name of the conversion action associated with this conversion. - // Note: Although this resource name consists of a customer id and a - // conversion action id, validation will ignore the customer id and use the - // conversion action id as the sole identifier of the conversion action. - optional string conversion_action = 9; - - // The date time at which the conversion occurred. Must be after the call - // time. The timezone must be specified. The format is - // "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - optional string conversion_date_time = 10; - - // The value of the conversion for the advertiser. - optional double conversion_value = 11; - - // Currency associated with the conversion value. This is the ISO 4217 - // 3-character currency code. For example: USD, EUR. - optional string currency_code = 12; - - // The custom variables associated with this conversion. - repeated CustomVariable custom_variables = 13; -} - -// Contains additional information about externally attributed conversions. -message ExternalAttributionData { - // Represents the fraction of the conversion that is attributed to the - // Google Ads click. - optional double external_attribution_credit = 3; - - // Specifies the attribution model name. - optional string external_attribution_model = 4; -} - -// Identifying information for a successfully processed ClickConversion. -message ClickConversionResult { - // The Google Click ID (gclid) associated with this conversion. - optional string gclid = 4; - - // The click identifier for clicks associated with app conversions and - // originating from iOS devices starting with iOS14. - string gbraid = 8; - - // The click identifier for clicks associated with web conversions and - // originating from iOS devices starting with iOS14. - string wbraid = 9; - - // Resource name of the conversion action associated with this conversion. - optional string conversion_action = 5; - - // The date time at which the conversion occurred. The format is - // "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - optional string conversion_date_time = 6; - - // The user identifiers associated with this conversion. Only hashed_email and - // hashed_phone_number are supported for conversion uploads. The maximum - // number of user identifiers for each conversion is 5. - repeated google.ads.googleads.v11.common.UserIdentifier user_identifiers = 7; -} - -// Identifying information for a successfully processed CallConversionUpload. -message CallConversionResult { - // The caller id from which this call was placed. Caller id is expected to be - // in E.164 format with preceding '+' sign. - optional string caller_id = 5; - - // The date time at which the call occurred. The format is - // "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - optional string call_start_date_time = 6; - - // Resource name of the conversion action associated with this conversion. - optional string conversion_action = 7; - - // The date time at which the conversion occurred. The format is - // "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - optional string conversion_date_time = 8; -} - -// A custom variable. -message CustomVariable { - // Resource name of the custom variable associated with this conversion. - // Note: Although this resource name consists of a customer id and a - // conversion custom variable id, validation will ignore the customer id and - // use the conversion custom variable id as the sole identifier of the - // conversion custom variable. - string conversion_custom_variable = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionCustomVariable" - }]; - - // The value string of this custom variable. - // The value of the custom variable should not contain private customer data, - // such as email addresses or phone numbers. - string value = 2; -} - -// Contains additional information about cart data. -message CartData { - // Contains data of the items purchased. - message Item { - // The shopping id of the item. Must be equal to the Merchant Center product - // identifier. - string product_id = 1; - - // Number of items sold. - int32 quantity = 2; - - // Unit price excluding tax, shipping, and any transaction - // level discounts. The currency code is the same as that in the - // ClickConversion message. - double unit_price = 3; - } - - // The Merchant Center ID where the items are uploaded. - int64 merchant_id = 6; - - // The country code associated with the feed where the items are uploaded. - string feed_country_code = 2; - - // The language code associated with the feed where the items are uploaded. - string feed_language_code = 3; - - // Sum of all transaction level discounts, such as free shipping and - // coupon discounts for the whole cart. The currency code is the same - // as that in the ClickConversion message. - double local_transaction_cost = 4; - - // Data of the items purchased. - repeated Item items = 5; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/conversion_value_rule_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/conversion_value_rule_service.proto deleted file mode 100644 index a4fac3173..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/conversion_value_rule_service.proto +++ /dev/null @@ -1,128 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/conversion_value_rule.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ConversionValueRuleServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the Conversion Value Rule service. - -// Service to manage conversion value rules. -service ConversionValueRuleService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes conversion value rules. Operation statuses are - // returned. - rpc MutateConversionValueRules(MutateConversionValueRulesRequest) returns (MutateConversionValueRulesResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/conversionValueRules:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [ConversionValueRuleService.MutateConversionValueRules][google.ads.googleads.v11.services.ConversionValueRuleService.MutateConversionValueRules]. -message MutateConversionValueRulesRequest { - // Required. The ID of the customer whose conversion value rules are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual conversion value rules. - repeated ConversionValueRuleOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 5; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4; -} - -// A single operation (create, update, remove) on a conversion value rule. -message ConversionValueRuleOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new conversion - // value rule. - google.ads.googleads.v11.resources.ConversionValueRule create = 1; - - // Update operation: The conversion value rule is expected to have a valid - // resource name. - google.ads.googleads.v11.resources.ConversionValueRule update = 2; - - // Remove operation: A resource name for the removed conversion value rule - // is expected, in this format: - // - // `customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionValueRule" - }]; - } -} - -// Response message for -// [ConversionValueRuleService.MutateConversionValueRules][google.ads.googleads.v11.services.ConversionValueRuleService.MutateConversionValueRules]. -message MutateConversionValueRulesResponse { - // All results for the mutate. - repeated MutateConversionValueRuleResult results = 2; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; -} - -// The result for the conversion value rule mutate. -message MutateConversionValueRuleResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionValueRule" - }]; - - // The mutated conversion value rule with only mutable fields after - // mutate. The field will only be returned when response_content_type is set - // to "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.ConversionValueRule conversion_value_rule = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/conversion_value_rule_set_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/conversion_value_rule_set_service.proto deleted file mode 100644 index 1f888dbb5..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/conversion_value_rule_set_service.proto +++ /dev/null @@ -1,128 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/conversion_value_rule_set.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ConversionValueRuleSetServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the Conversion Value Rule Set service. - -// Service to manage conversion value rule sets. -service ConversionValueRuleSetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes conversion value rule sets. Operation statuses - // are returned. - rpc MutateConversionValueRuleSets(MutateConversionValueRuleSetsRequest) returns (MutateConversionValueRuleSetsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/conversionValueRuleSets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [ConversionValueRuleSetService.MutateConversionValueRuleSets][google.ads.googleads.v11.services.ConversionValueRuleSetService.MutateConversionValueRuleSets]. -message MutateConversionValueRuleSetsRequest { - // Required. The ID of the customer whose conversion value rule sets are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual conversion value rule sets. - repeated ConversionValueRuleSetOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 5; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4; -} - -// A single operation (create, update, remove) on a conversion value rule set. -message ConversionValueRuleSetOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new conversion - // value rule set. - google.ads.googleads.v11.resources.ConversionValueRuleSet create = 1; - - // Update operation: The conversion value rule set is expected to have a - // valid resource name. - google.ads.googleads.v11.resources.ConversionValueRuleSet update = 2; - - // Remove operation: A resource name for the removed conversion value rule - // set is expected, in this format: - // - // `customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionValueRuleSet" - }]; - } -} - -// Response message for -// [ConversionValueRuleSetService.MutateConversionValueRuleSets][google.ads.googleads.v11.services.ConversionValueRuleSetService.MutateConversionValueRuleSets]. -message MutateConversionValueRuleSetsResponse { - // All results for the mutate. - repeated MutateConversionValueRuleSetResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the conversion value rule set mutate. -message MutateConversionValueRuleSetResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionValueRuleSet" - }]; - - // The mutated conversion value rule set with only mutable fields after - // mutate. The field will only be returned when response_content_type is set - // to "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.ConversionValueRuleSet conversion_value_rule_set = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/custom_audience_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/custom_audience_service.proto deleted file mode 100644 index ac9ba1a0a..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/custom_audience_service.proto +++ /dev/null @@ -1,117 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/resources/custom_audience.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomAudienceServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the Custom Audience service. - -// Service to manage custom audiences. -service CustomAudienceService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates or updates custom audiences. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CustomAudienceError]() - // [CustomInterestError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [OperationAccessDeniedError]() - // [PolicyViolationError]() - // [QuotaError]() - // [RequestError]() - rpc MutateCustomAudiences(MutateCustomAudiencesRequest) returns (MutateCustomAudiencesResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/customAudiences:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [CustomAudienceService.MutateCustomAudiences][google.ads.googleads.v11.services.CustomAudienceService.MutateCustomAudiences]. -message MutateCustomAudiencesRequest { - // Required. The ID of the customer whose custom audiences are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual custom audiences. - repeated CustomAudienceOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; -} - -// A single operation (create, update) on a custom audience. -message CustomAudienceOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new custom - // audience. - google.ads.googleads.v11.resources.CustomAudience create = 1; - - // Update operation: The custom audience is expected to have a valid - // resource name. - google.ads.googleads.v11.resources.CustomAudience update = 2; - - // Remove operation: A resource name for the removed custom audience is - // expected, in this format: - // - // `customers/{customer_id}/customAudiences/{custom_audience_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomAudience" - }]; - } -} - -// Response message for custom audience mutate. -message MutateCustomAudiencesResponse { - // All results for the mutate. - repeated MutateCustomAudienceResult results = 1; -} - -// The result for the custom audience mutate. -message MutateCustomAudienceResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomAudience" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/custom_conversion_goal_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/custom_conversion_goal_service.proto deleted file mode 100644 index 64809abcf..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/custom_conversion_goal_service.proto +++ /dev/null @@ -1,114 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/custom_conversion_goal.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomConversionGoalServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the CustomConversionGoal service. - -// Service to manage custom conversion goal. -service CustomConversionGoalService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes custom conversion goals. Operation statuses - // are returned. - rpc MutateCustomConversionGoals(MutateCustomConversionGoalsRequest) returns (MutateCustomConversionGoalsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/customConversionGoals:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [CustomConversionGoalService.MutateCustomConversionGoals][google.ads.googleads.v11.services.CustomConversionGoalService.MutateCustomConversionGoals]. -message MutateCustomConversionGoalsRequest { - // Required. The ID of the customer whose custom conversion goals are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual custom conversion goal. - repeated CustomConversionGoalOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4; -} - -// A single operation (create, remove) on a custom conversion goal. -message CustomConversionGoalOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new custom - // conversion goal - google.ads.googleads.v11.resources.CustomConversionGoal create = 1; - - // Update operation: The custom conversion goal is expected to have a - // valid resource name. - google.ads.googleads.v11.resources.CustomConversionGoal update = 2; - - // Remove operation: A resource name for the removed custom conversion goal - // is expected, in this format: - // - // 'customers/{customer_id}/conversionActions/{ConversionGoal.custom_goal_config.conversion_type_ids}' - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomConversionGoal" - }]; - } -} - -// Response message for a custom conversion goal mutate. -message MutateCustomConversionGoalsResponse { - // All results for the mutate. - repeated MutateCustomConversionGoalResult results = 1; -} - -// The result for the custom conversion goal mutate. -message MutateCustomConversionGoalResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomConversionGoal" - }]; - - // The mutated CustomConversionGoal with only mutable fields after mutate. - // The field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.CustomConversionGoal custom_conversion_goal = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/custom_interest_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/custom_interest_service.proto deleted file mode 100644 index b497de7d2..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/custom_interest_service.proto +++ /dev/null @@ -1,107 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/resources/custom_interest.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomInterestServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the Custom Interest service. - -// Service to manage custom interests. -service CustomInterestService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates or updates custom interests. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CriterionError]() - // [CustomInterestError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [PolicyViolationError]() - // [QuotaError]() - // [RequestError]() - // [StringLengthError]() - rpc MutateCustomInterests(MutateCustomInterestsRequest) returns (MutateCustomInterestsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/customInterests:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [CustomInterestService.MutateCustomInterests][google.ads.googleads.v11.services.CustomInterestService.MutateCustomInterests]. -message MutateCustomInterestsRequest { - // Required. The ID of the customer whose custom interests are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual custom interests. - repeated CustomInterestOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, update) on a custom interest. -message CustomInterestOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new custom - // interest. - google.ads.googleads.v11.resources.CustomInterest create = 1; - - // Update operation: The custom interest is expected to have a valid - // resource name. - google.ads.googleads.v11.resources.CustomInterest update = 2; - } -} - -// Response message for custom interest mutate. -message MutateCustomInterestsResponse { - // All results for the mutate. - repeated MutateCustomInterestResult results = 2; -} - -// The result for the custom interest mutate. -message MutateCustomInterestResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomInterest" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/customer_asset_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/customer_asset_service.proto deleted file mode 100644 index db29fb8dd..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/customer_asset_service.proto +++ /dev/null @@ -1,137 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/customer_asset.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerAssetServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the CustomerAsset service. - -// Service to manage customer assets. -service CustomerAssetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes customer assets. Operation statuses are - // returned. - // - // List of thrown errors: - // [AssetLinkError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - rpc MutateCustomerAssets(MutateCustomerAssetsRequest) returns (MutateCustomerAssetsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/customerAssets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [CustomerAssetService.MutateCustomerAssets][google.ads.googleads.v11.services.CustomerAssetService.MutateCustomerAssets]. -message MutateCustomerAssetsRequest { - // Required. The ID of the customer whose customer assets are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual customer assets. - repeated CustomerAssetOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, update, remove) on a customer asset. -message CustomerAssetOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new customer - // asset. - google.ads.googleads.v11.resources.CustomerAsset create = 1; - - // Update operation: The customer asset is expected to have a valid resource - // name. - google.ads.googleads.v11.resources.CustomerAsset update = 3; - - // Remove operation: A resource name for the removed customer asset is - // expected, in this format: - // - // `customers/{customer_id}/customerAssets/{asset_id}~{field_type}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerAsset" - }]; - } -} - -// Response message for a customer asset mutate. -message MutateCustomerAssetsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 1; - - // All results for the mutate. - repeated MutateCustomerAssetResult results = 2; -} - -// The result for the customer asset mutate. -message MutateCustomerAssetResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerAsset" - }]; - - // The mutated customer asset with only mutable fields after - // mutate. The field will only be returned when response_content_type is set - // to "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.CustomerAsset customer_asset = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/customer_client_link_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/customer_client_link_service.proto deleted file mode 100644 index e5ac1dee5..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/customer_client_link_service.proto +++ /dev/null @@ -1,104 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/resources/customer_client_link.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerClientLinkServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Service to manage customer client links. -service CustomerClientLinkService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates or updates a customer client link. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [InternalError]() - // [ManagerLinkError]() - // [MutateError]() - // [NewResourceCreationError]() - // [QuotaError]() - // [RequestError]() - rpc MutateCustomerClientLink(MutateCustomerClientLinkRequest) returns (MutateCustomerClientLinkResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/customerClientLinks:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operation"; - } -} - -// Request message for [CustomerClientLinkService.MutateCustomerClientLink][google.ads.googleads.v11.services.CustomerClientLinkService.MutateCustomerClientLink]. -message MutateCustomerClientLinkRequest { - // Required. The ID of the customer whose customer link are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The operation to perform on the individual CustomerClientLink. - CustomerClientLinkOperation operation = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; -} - -// A single operation (create, update) on a CustomerClientLink. -message CustomerClientLinkOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new link. - google.ads.googleads.v11.resources.CustomerClientLink create = 1; - - // Update operation: The link is expected to have a valid resource name. - google.ads.googleads.v11.resources.CustomerClientLink update = 2; - } -} - -// Response message for a CustomerClientLink mutate. -message MutateCustomerClientLinkResponse { - // A result that identifies the resource affected by the mutate request. - MutateCustomerClientLinkResult result = 1; -} - -// The result for a single customer client link mutate. -message MutateCustomerClientLinkResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerClientLink" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/customer_conversion_goal_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/customer_conversion_goal_service.proto deleted file mode 100644 index 6f710ed9a..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/customer_conversion_goal_service.proto +++ /dev/null @@ -1,92 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/resources/customer_conversion_goal.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerConversionGoalServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the CustomerConversionGoal service. - -// Service to manage customer conversion goal. -service CustomerConversionGoalService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes customer conversion goals. Operation statuses - // are returned. - rpc MutateCustomerConversionGoals(MutateCustomerConversionGoalsRequest) returns (MutateCustomerConversionGoalsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/customerConversionGoals:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [CustomerConversionGoalService.MutateCustomerConversionGoals][google.ads.googleads.v11.services.CustomerConversionGoalService.MutateCustomerConversionGoals]. -message MutateCustomerConversionGoalsRequest { - // Required. The ID of the customer whose customer conversion goals are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual customer conversion goal. - repeated CustomerConversionGoalOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; -} - -// A single operation (update) on a customer conversion goal. -message CustomerConversionGoalOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 2; - - // The mutate operation. - oneof operation { - // Update operation: The customer conversion goal is expected to have a - // valid resource name. - google.ads.googleads.v11.resources.CustomerConversionGoal update = 1; - } -} - -// Response message for a customer conversion goal mutate. -message MutateCustomerConversionGoalsResponse { - // All results for the mutate. - repeated MutateCustomerConversionGoalResult results = 1; -} - -// The result for the customer conversion goal mutate. -message MutateCustomerConversionGoalResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerConversionGoal" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/customer_customizer_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/customer_customizer_service.proto deleted file mode 100644 index d4373e631..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/customer_customizer_service.proto +++ /dev/null @@ -1,118 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/customer_customizer.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerCustomizerServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the CustomerCustomizer service. - -// Service to manage customer customizer -service CustomerCustomizerService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes customer customizers. Operation statuses are - // returned. - rpc MutateCustomerCustomizers(MutateCustomerCustomizersRequest) returns (MutateCustomerCustomizersResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/CustomerCustomizers:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [CustomerCustomizerService.MutateCustomerCustomizers][google.ads.googleads.v11.services.CustomerCustomizerService.MutateCustomerCustomizers]. -message MutateCustomerCustomizersRequest { - // Required. The ID of the customer whose customer customizers are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual customer customizers. - repeated CustomerCustomizerOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, remove) on an customizer attribute. -message CustomerCustomizerOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new customer - // customizer - google.ads.googleads.v11.resources.CustomerCustomizer create = 1; - - // Remove operation: A resource name for the removed customer customizer is - // expected, in this format: - // `customers/{customer_id}/customerCustomizers/{customizer_attribute_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerCustomizer" - }]; - } -} - -// Response message for an customizer attribute mutate. -message MutateCustomerCustomizersResponse { - // All results for the mutate. - repeated MutateCustomerCustomizerResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the customizer attribute mutate. -message MutateCustomerCustomizerResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerCustomizer" - }]; - - // The mutated CustomerCustomizer with only mutable fields after mutate. - // The field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.CustomerCustomizer customer_customizer = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/customer_extension_setting_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/customer_extension_setting_service.proto deleted file mode 100644 index ee4d30272..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/customer_extension_setting_service.proto +++ /dev/null @@ -1,156 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/customer_extension_setting.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerExtensionSettingServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the CustomerExtensionSetting service. - -// Service to manage customer extension settings. -service CustomerExtensionSettingService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes customer extension settings. Operation - // statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [CriterionError]() - // [DatabaseError]() - // [DateError]() - // [DistinctError]() - // [ExtensionSettingError]() - // [FieldError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [ListOperationError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [NullError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - // [UrlFieldError]() - rpc MutateCustomerExtensionSettings(MutateCustomerExtensionSettingsRequest) returns (MutateCustomerExtensionSettingsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/customerExtensionSettings:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [CustomerExtensionSettingService.MutateCustomerExtensionSettings][google.ads.googleads.v11.services.CustomerExtensionSettingService.MutateCustomerExtensionSettings]. -message MutateCustomerExtensionSettingsRequest { - // Required. The ID of the customer whose customer extension settings are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual customer extension - // settings. - repeated CustomerExtensionSettingOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, update, remove) on a customer extension setting. -message CustomerExtensionSettingOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new customer - // extension setting. - google.ads.googleads.v11.resources.CustomerExtensionSetting create = 1; - - // Update operation: The customer extension setting is expected to have a - // valid resource name. - google.ads.googleads.v11.resources.CustomerExtensionSetting update = 2; - - // Remove operation: A resource name for the removed customer extension - // setting is expected, in this format: - // - // `customers/{customer_id}/customerExtensionSettings/{extension_type}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerExtensionSetting" - }]; - } -} - -// Response message for a customer extension setting mutate. -message MutateCustomerExtensionSettingsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateCustomerExtensionSettingResult results = 2; -} - -// The result for the customer extension setting mutate. -message MutateCustomerExtensionSettingResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerExtensionSetting" - }]; - - // The mutated CustomerExtensionSetting with only mutable fields after mutate. - // The field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.CustomerExtensionSetting customer_extension_setting = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/customer_feed_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/customer_feed_service.proto deleted file mode 100644 index 84351ea60..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/customer_feed_service.proto +++ /dev/null @@ -1,149 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/customer_feed.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerFeedServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the CustomerFeed service. - -// Service to manage customer feeds. -service CustomerFeedService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes customer feeds. Operation statuses are - // returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [CustomerFeedError]() - // [DatabaseError]() - // [DistinctError]() - // [FieldError]() - // [FieldMaskError]() - // [FunctionError]() - // [FunctionParsingError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [MutateError]() - // [NotEmptyError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - rpc MutateCustomerFeeds(MutateCustomerFeedsRequest) returns (MutateCustomerFeedsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/customerFeeds:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [CustomerFeedService.MutateCustomerFeeds][google.ads.googleads.v11.services.CustomerFeedService.MutateCustomerFeeds]. -message MutateCustomerFeedsRequest { - // Required. The ID of the customer whose customer feeds are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual customer feeds. - repeated CustomerFeedOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, update, remove) on a customer feed. -message CustomerFeedOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new customer feed. - google.ads.googleads.v11.resources.CustomerFeed create = 1; - - // Update operation: The customer feed is expected to have a valid resource - // name. - google.ads.googleads.v11.resources.CustomerFeed update = 2; - - // Remove operation: A resource name for the removed customer feed is - // expected, in this format: - // - // `customers/{customer_id}/customerFeeds/{feed_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerFeed" - }]; - } -} - -// Response message for a customer feed mutate. -message MutateCustomerFeedsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateCustomerFeedResult results = 2; -} - -// The result for the customer feed mutate. -message MutateCustomerFeedResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerFeed" - }]; - - // The mutated customer feed with only mutable fields after mutate. The field - // will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.CustomerFeed customer_feed = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/customer_label_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/customer_label_service.proto deleted file mode 100644 index 246831b57..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/customer_label_service.proto +++ /dev/null @@ -1,119 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/resources/customer_label.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerLabelServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the Customer Label service. - -// Service to manage labels on customers. -service CustomerLabelService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates and removes customer-label relationships. - // Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [HeaderError]() - // [InternalError]() - // [LabelError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - rpc MutateCustomerLabels(MutateCustomerLabelsRequest) returns (MutateCustomerLabelsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/customerLabels:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [CustomerLabelService.MutateCustomerLabels][google.ads.googleads.v11.services.CustomerLabelService.MutateCustomerLabels]. -message MutateCustomerLabelsRequest { - // Required. ID of the customer whose customer-label relationships are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on customer-label relationships. - repeated CustomerLabelOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, remove) on a customer-label relationship. -message CustomerLabelOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new customer-label - // relationship. - google.ads.googleads.v11.resources.CustomerLabel create = 1; - - // Remove operation: A resource name for the customer-label relationship - // being removed, in this format: - // - // `customers/{customer_id}/customerLabels/{label_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerLabel" - }]; - } -} - -// Response message for a customer labels mutate. -message MutateCustomerLabelsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateCustomerLabelResult results = 2; -} - -// The result for a customer label mutate. -message MutateCustomerLabelResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerLabel" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/customer_manager_link_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/customer_manager_link_service.proto deleted file mode 100644 index f11567a58..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/customer_manager_link_service.proto +++ /dev/null @@ -1,157 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/resources/customer_manager_link.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerManagerLinkServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Service to manage customer-manager links. -service CustomerManagerLinkService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Updates customer manager links. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [InternalError]() - // [ManagerLinkError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - rpc MutateCustomerManagerLink(MutateCustomerManagerLinkRequest) returns (MutateCustomerManagerLinkResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/customerManagerLinks:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } - - // Moves a client customer to a new manager customer. - // This simplifies the complex request that requires two operations to move - // a client customer to a new manager, for example: - // 1. Update operation with Status INACTIVE (previous manager) and, - // 2. Update operation with Status ACTIVE (new manager). - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - rpc MoveManagerLink(MoveManagerLinkRequest) returns (MoveManagerLinkResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/customerManagerLinks:moveManagerLink" - body: "*" - }; - option (google.api.method_signature) = "customer_id,previous_customer_manager_link,new_manager"; - } -} - -// Request message for [CustomerManagerLinkService.MutateCustomerManagerLink][google.ads.googleads.v11.services.CustomerManagerLinkService.MutateCustomerManagerLink]. -message MutateCustomerManagerLinkRequest { - // Required. The ID of the customer whose customer manager links are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual customer manager links. - repeated CustomerManagerLinkOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; -} - -// Request message for [CustomerManagerLinkService.MoveManagerLink][google.ads.googleads.v11.services.CustomerManagerLinkService.MoveManagerLink]. -message MoveManagerLinkRequest { - // Required. The ID of the client customer that is being moved. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The resource name of the previous CustomerManagerLink. - // The resource name has the form: - // `customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}` - string previous_customer_manager_link = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. The resource name of the new manager customer that the client wants to move - // to. Customer resource names have the format: "customers/{customer_id}" - string new_manager = 3 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// Updates the status of a CustomerManagerLink. -// The following actions are possible: -// 1. Update operation with status ACTIVE accepts a pending invitation. -// 2. Update operation with status REFUSED declines a pending invitation. -// 3. Update operation with status INACTIVE terminates link to manager. -message CustomerManagerLinkOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Update operation: The link is expected to have a valid resource name. - google.ads.googleads.v11.resources.CustomerManagerLink update = 2; - } -} - -// Response message for a CustomerManagerLink mutate. -message MutateCustomerManagerLinkResponse { - // A result that identifies the resource affected by the mutate request. - repeated MutateCustomerManagerLinkResult results = 1; -} - -// Response message for a CustomerManagerLink moveManagerLink. -message MoveManagerLinkResponse { - // Returned for successful operations. Represents a CustomerManagerLink - // resource of the newly created link between client customer and new manager - // customer. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerManagerLink" - }]; -} - -// The result for the customer manager link mutate. -message MutateCustomerManagerLinkResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerManagerLink" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/customer_negative_criterion_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/customer_negative_criterion_service.proto deleted file mode 100644 index 9d29a06f2..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/customer_negative_criterion_service.proto +++ /dev/null @@ -1,128 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/customer_negative_criterion.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerNegativeCriterionServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the Customer Negative Criterion service. - -// Service to manage customer negative criteria. -service CustomerNegativeCriterionService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates or removes criteria. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CriterionError]() - // [DatabaseError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - rpc MutateCustomerNegativeCriteria(MutateCustomerNegativeCriteriaRequest) returns (MutateCustomerNegativeCriteriaResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/customerNegativeCriteria:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [CustomerNegativeCriterionService.MutateCustomerNegativeCriteria][google.ads.googleads.v11.services.CustomerNegativeCriterionService.MutateCustomerNegativeCriteria]. -message MutateCustomerNegativeCriteriaRequest { - // Required. The ID of the customer whose criteria are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual criteria. - repeated CustomerNegativeCriterionOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create or remove) on a customer level negative criterion. -message CustomerNegativeCriterionOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new criterion. - google.ads.googleads.v11.resources.CustomerNegativeCriterion create = 1; - - // Remove operation: A resource name for the removed criterion is expected, - // in this format: - // - // `customers/{customer_id}/customerNegativeCriteria/{criterion_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerNegativeCriterion" - }]; - } -} - -// Response message for customer negative criterion mutate. -message MutateCustomerNegativeCriteriaResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateCustomerNegativeCriteriaResult results = 2; -} - -// The result for the criterion mutate. -message MutateCustomerNegativeCriteriaResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerNegativeCriterion" - }]; - - // The mutated criterion with only mutable fields after mutate. The field will - // only be returned when response_content_type is set to "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.CustomerNegativeCriterion customer_negative_criterion = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/customer_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/customer_service.proto deleted file mode 100644 index eccbbef13..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/customer_service.proto +++ /dev/null @@ -1,192 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/access_role.proto"; -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/customer.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the Customer service. - -// Service to manage customers. -service CustomerService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Updates a customer. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldMaskError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - // [UrlFieldError]() - rpc MutateCustomer(MutateCustomerRequest) returns (MutateCustomerResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operation"; - } - - // Returns resource names of customers directly accessible by the - // user authenticating the call. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc ListAccessibleCustomers(ListAccessibleCustomersRequest) returns (ListAccessibleCustomersResponse) { - option (google.api.http) = { - get: "/v11/customers:listAccessibleCustomers" - }; - } - - // Creates a new client under manager. The new client customer is returned. - // - // List of thrown errors: - // [AccessInvitationError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [CurrencyCodeError]() - // [HeaderError]() - // [InternalError]() - // [ManagerLinkError]() - // [QuotaError]() - // [RequestError]() - // [StringLengthError]() - // [TimeZoneError]() - rpc CreateCustomerClient(CreateCustomerClientRequest) returns (CreateCustomerClientResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}:createCustomerClient" - body: "*" - }; - option (google.api.method_signature) = "customer_id,customer_client"; - } -} - -// Request message for [CustomerService.MutateCustomer][google.ads.googleads.v11.services.CustomerService.MutateCustomer]. -message MutateCustomerRequest { - // Required. The ID of the customer being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The operation to perform on the customer - CustomerOperation operation = 4 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 5; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 6; -} - -// Request message for [CustomerService.CreateCustomerClient][google.ads.googleads.v11.services.CustomerService.CreateCustomerClient]. -message CreateCustomerClientRequest { - // Required. The ID of the Manager under whom client customer is being created. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The new client customer to create. The resource name on this customer - // will be ignored. - google.ads.googleads.v11.resources.Customer customer_client = 2 [(google.api.field_behavior) = REQUIRED]; - - // Email address of the user who should be invited on the created client - // customer. Accessible only to customers on the allow-list. - optional string email_address = 5; - - // The proposed role of user on the created client customer. - // Accessible only to customers on the allow-list. - google.ads.googleads.v11.enums.AccessRoleEnum.AccessRole access_role = 4; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 6; -} - -// A single update on a customer. -message CustomerOperation { - // Mutate operation. Only updates are supported for customer. - google.ads.googleads.v11.resources.Customer update = 1; - - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 2; -} - -// Response message for CreateCustomerClient mutate. -message CreateCustomerClientResponse { - // The resource name of the newly created customer. Customer resource names - // have the form: `customers/{customer_id}`. - string resource_name = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Customer" - }]; - - // Link for inviting user to access the created customer. Accessible to - // allowlisted customers only. - string invitation_link = 3; -} - -// Response message for customer mutate. -message MutateCustomerResponse { - // Result for the mutate. - MutateCustomerResult result = 2; -} - -// The result for the customer mutate. -message MutateCustomerResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Customer" - }]; - - // The mutated customer with only mutable fields after mutate. The fields will - // only be returned when response_content_type is set to "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.Customer customer = 2; -} - -// Request message for [CustomerService.ListAccessibleCustomers][google.ads.googleads.v11.services.CustomerService.ListAccessibleCustomers]. -message ListAccessibleCustomersRequest { - -} - -// Response message for [CustomerService.ListAccessibleCustomers][google.ads.googleads.v11.services.CustomerService.ListAccessibleCustomers]. -message ListAccessibleCustomersResponse { - // Resource name of customers directly accessible by the - // user authenticating the call. - repeated string resource_names = 1; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/customer_user_access_invitation_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/customer_user_access_invitation_service.proto deleted file mode 100644 index 9014afa53..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/customer_user_access_invitation_service.proto +++ /dev/null @@ -1,101 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/resources/customer_user_access_invitation.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerUserAccessInvitationServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the CustomerUserAccessInvitation service. - -// This service manages the access invitation extended to users for a given -// customer. -service CustomerUserAccessInvitationService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates or removes an access invitation. - // - // List of thrown errors: - // [AccessInvitationError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc MutateCustomerUserAccessInvitation(MutateCustomerUserAccessInvitationRequest) returns (MutateCustomerUserAccessInvitationResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/customerUserAccessInvitations:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operation"; - } -} - -// Request message for -// [CustomerUserAccessInvitation.MutateCustomerUserAccessInvitation][] -message MutateCustomerUserAccessInvitationRequest { - // Required. The ID of the customer whose access invitation is being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The operation to perform on the access invitation - CustomerUserAccessInvitationOperation operation = 2 [(google.api.field_behavior) = REQUIRED]; -} - -// A single operation (create or remove) on customer user access invitation. -message CustomerUserAccessInvitationOperation { - // The mutate operation - oneof operation { - // Create operation: No resource name is expected for the new access - // invitation. - google.ads.googleads.v11.resources.CustomerUserAccessInvitation create = 1; - - // Remove operation: A resource name for the revoke invitation is - // expected, in this format: - // - // `customers/{customer_id}/customerUserAccessInvitations/{invitation_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerUserAccessInvitation" - }]; - } -} - -// Response message for access invitation mutate. -message MutateCustomerUserAccessInvitationResponse { - // Result for the mutate. - MutateCustomerUserAccessInvitationResult result = 1; -} - -// The result for the access invitation mutate. -message MutateCustomerUserAccessInvitationResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerUserAccessInvitation" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/customer_user_access_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/customer_user_access_service.proto deleted file mode 100644 index 3c5cb0c97..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/customer_user_access_service.proto +++ /dev/null @@ -1,105 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/resources/customer_user_access.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerUserAccessServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// This service manages the permissions of a user on a given customer. -service CustomerUserAccessService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Updates, removes permission of a user on a given customer. Operation - // statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CustomerUserAccessError]() - // [FieldMaskError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - rpc MutateCustomerUserAccess(MutateCustomerUserAccessRequest) returns (MutateCustomerUserAccessResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/customerUserAccesses:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operation"; - } -} - -// Mutate Request for -// [CustomerUserAccessService.MutateCustomerUserAccess][google.ads.googleads.v11.services.CustomerUserAccessService.MutateCustomerUserAccess]. -message MutateCustomerUserAccessRequest { - // Required. The ID of the customer being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The operation to perform on the customer - CustomerUserAccessOperation operation = 2 [(google.api.field_behavior) = REQUIRED]; -} - -// A single operation (update, remove) on customer user access. -message CustomerUserAccessOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 3; - - // The mutate operation. - oneof operation { - // Update operation: The customer user access is expected to have a valid - // resource name. - google.ads.googleads.v11.resources.CustomerUserAccess update = 1; - - // Remove operation: A resource name for the removed access is - // expected, in this format: - // - // `customers/{customer_id}/customerUserAccesses/{CustomerUserAccess.user_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerUserAccess" - }]; - } -} - -// Response message for customer user access mutate. -message MutateCustomerUserAccessResponse { - // Result for the mutate. - MutateCustomerUserAccessResult result = 1; -} - -// The result for the customer user access mutate. -message MutateCustomerUserAccessResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerUserAccess" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/customizer_attribute_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/customizer_attribute_service.proto deleted file mode 100644 index 5c575c288..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/customizer_attribute_service.proto +++ /dev/null @@ -1,122 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/customizer_attribute.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomizerAttributeServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the CustomizerAttribute service. - -// Service to manage customizer attribute -service CustomizerAttributeService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes customizer attributes. Operation statuses are - // returned. - rpc MutateCustomizerAttributes(MutateCustomizerAttributesRequest) returns (MutateCustomizerAttributesResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/customizerAttributes:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [CustomizerAttributeService.MutateCustomizerAttributes][google.ads.googleads.v11.services.CustomizerAttributeService.MutateCustomizerAttributes]. -message MutateCustomizerAttributesRequest { - // Required. The ID of the customer whose customizer attributes are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual customizer attributes. - repeated CustomizerAttributeOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, remove) on an customizer attribute. -message CustomizerAttributeOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new customizer - // attribute - google.ads.googleads.v11.resources.CustomizerAttribute create = 1; - - // Remove operation: A resource name for the removed customizer attribute is - // expected, in this format: - // `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomizerAttribute" - }]; - } -} - -// Response message for an customizer attribute mutate. -message MutateCustomizerAttributesResponse { - // All results for the mutate. - repeated MutateCustomizerAttributeResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the customizer attribute mutate. -message MutateCustomizerAttributeResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomizerAttribute" - }]; - - // The mutated CustomizerAttribute with only mutable fields after mutate. - // The field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.CustomizerAttribute customizer_attribute = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/experiment_arm_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/experiment_arm_service.proto deleted file mode 100644 index 6d3429bac..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/experiment_arm_service.proto +++ /dev/null @@ -1,134 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/experiment_arm.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ExperimentArmServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the Experiment Arm service. - -// Service to manage experiment arms. -service ExperimentArmService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes experiment arms. Operation statuses are - // returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [ExperimentArmError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc MutateExperimentArms(MutateExperimentArmsRequest) returns (MutateExperimentArmsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/experimentArms:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [ExperimentArmService.MutateExperimentArms][google.ads.googleads.v11.services.ExperimentArmService.MutateExperimentArms]. -message MutateExperimentArmsRequest { - // Required. The ID of the customer whose experiments are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual experiment arm. - repeated ExperimentArmOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation on an experiment arm. -message ExperimentArmOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation - google.ads.googleads.v11.resources.ExperimentArm create = 1; - - // Update operation: The experiment arm is expected to have a valid - // resource name. - google.ads.googleads.v11.resources.ExperimentArm update = 2; - - // Remove operation: The experiment arm is expected to have a valid - // resource name, in this format: - // - // `customers/{customer_id}/experiments/{campaign_experiment_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ExperimentArm" - }]; - } -} - -// Response message for experiment arm mutate. -message MutateExperimentArmsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 1; - - // All results for the mutate. - repeated MutateExperimentArmResult results = 2; -} - -// The result for the experiment arm mutate. -message MutateExperimentArmResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ExperimentArm" - }]; - - // The mutated experiment arm with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.ExperimentArm experiment_arm = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/experiment_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/experiment_service.proto deleted file mode 100644 index 9700d9ed7..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/experiment_service.proto +++ /dev/null @@ -1,390 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/resources/experiment.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/longrunning/operations.proto"; -import "google/protobuf/empty.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ExperimentServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the Experiment service. - -// Service to manage experiments. -service ExperimentService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes experiments. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [ExperimentError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc MutateExperiments(MutateExperimentsRequest) returns (MutateExperimentsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/experiments:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } - - // Immediately ends an experiment, changing the experiment's scheduled - // end date and without waiting for end of day. End date is updated to be the - // time of the request. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [ExperimentError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc EndExperiment(EndExperimentRequest) returns (google.protobuf.Empty) { - option (google.api.http) = { - post: "/v11/{experiment=customers/*/experiments/*}:endExperiment" - body: "*" - }; - option (google.api.method_signature) = "experiment"; - } - - // Returns all errors that occurred during the last Experiment update (either - // scheduling or promotion). - // Supports standard list paging. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc ListExperimentAsyncErrors(ListExperimentAsyncErrorsRequest) returns (ListExperimentAsyncErrorsResponse) { - option (google.api.http) = { - get: "/v11/{resource_name=customers/*/experiments/*}:listExperimentAsyncErrors" - }; - option (google.api.method_signature) = "resource_name"; - } - - // Graduates an experiment to a full campaign. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [ExperimentError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - rpc GraduateExperiment(GraduateExperimentRequest) returns (google.protobuf.Empty) { - option (google.api.http) = { - post: "/v11/{experiment=customers/*/experiments/*}:graduateExperiment" - body: "*" - }; - option (google.api.method_signature) = "experiment,campaign_budget_mappings"; - } - - // Schedule an experiment. The in design campaign - // will be converted into a real campaign (called the experiment campaign) - // that will begin serving ads if successfully created. - // - // The experiment is scheduled immediately with status INITIALIZING. - // This method returns a long running operation that tracks the forking of the - // in design campaign. If the forking fails, a list of errors can be retrieved - // using the ListExperimentAsyncErrors method. The operation's - // metadata will be a string containing the resource name of the created - // experiment. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [ExperimentError]() - // [DatabaseError]() - // [DateError]() - // [DateRangeError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - rpc ScheduleExperiment(ScheduleExperimentRequest) returns (google.longrunning.Operation) { - option (google.api.http) = { - post: "/v11/{resource_name=customers/*/experiments/*}:scheduleExperiment" - body: "*" - }; - option (google.api.method_signature) = "resource_name"; - option (google.longrunning.operation_info) = { - response_type: "google.protobuf.Empty" - metadata_type: "google.ads.googleads.v11.services.ScheduleExperimentMetadata" - }; - } - - // Promotes the trial campaign thus applying changes in the trial campaign - // to the base campaign. - // This method returns a long running operation that tracks the promotion of - // the experiment campaign. If it fails, a list of errors can be retrieved - // using the ListExperimentAsyncErrors method. The operation's - // metadata will be a string containing the resource name of the created - // experiment. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [ExperimentError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc PromoteExperiment(PromoteExperimentRequest) returns (google.longrunning.Operation) { - option (google.api.http) = { - post: "/v11/{resource_name=customers/*/experiments/*}:promoteExperiment" - body: "*" - }; - option (google.api.method_signature) = "resource_name"; - option (google.longrunning.operation_info) = { - response_type: "google.protobuf.Empty" - metadata_type: "google.ads.googleads.v11.services.PromoteExperimentMetadata" - }; - } -} - -// Request message for [ExperimentService.MutateExperiments][google.ads.googleads.v11.services.ExperimentService.MutateExperiments]. -message MutateExperimentsRequest { - // Required. The ID of the customer whose experiments are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual experiments. - repeated ExperimentOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation on an experiment. -message ExperimentOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation - google.ads.googleads.v11.resources.Experiment create = 1; - - // Update operation: The experiment is expected to have a valid - // resource name. - google.ads.googleads.v11.resources.Experiment update = 2; - - // Remove operation: The experiment is expected to have a valid - // resource name, in this format: - // - // `customers/{customer_id}/experiments/{campaign_experiment_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Experiment" - }]; - } -} - -// Response message for experiment mutate. -message MutateExperimentsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 1; - - // All results for the mutate. - repeated MutateExperimentResult results = 2; -} - -// The result for the campaign experiment mutate. -message MutateExperimentResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Experiment" - }]; -} - -// Request message for [ExperimentService.EndExperiment][google.ads.googleads.v11.services.ExperimentService.EndExperiment]. -message EndExperimentRequest { - // Required. The resource name of the campaign experiment to end. - string experiment = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Experiment" - } - ]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 2; -} - -// Request message for -// [ExperimentService.ListExperimentAsyncErrors][google.ads.googleads.v11.services.ExperimentService.ListExperimentAsyncErrors]. -message ListExperimentAsyncErrorsRequest { - // Required. The name of the experiment from which to retrieve the async - // errors. - string resource_name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Experiment" - } - ]; - - // Token of the page to retrieve. If not specified, the first - // page of results will be returned. Use the value obtained from - // `next_page_token` in the previous response in order to request - // the next page of results. - string page_token = 2; - - // Number of elements to retrieve in a single page. - // When a page request is too large, the server may decide to - // further limit the number of returned resources. - // The maximum page size is 1000. - int32 page_size = 3; -} - -// Response message for -// [ExperimentService.ListExperimentAsyncErrors][google.ads.googleads.v11.services.ExperimentService.ListExperimentAsyncErrors]. -message ListExperimentAsyncErrorsResponse { - // details of the errors when performing the asynchronous operation. - repeated google.rpc.Status errors = 1; - - // Pagination token used to retrieve the next page of results. - // Pass the content of this string as the `page_token` attribute of - // the next request. `next_page_token` is not returned for the last - // page. - string next_page_token = 2; -} - -// Request message for [ExperimentService.GraduateExperiment][google.ads.googleads.v11.services.ExperimentService.GraduateExperiment]. -message GraduateExperimentRequest { - // Required. The experiment to be graduated. - string experiment = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Experiment" - } - ]; - - // Required. List of campaign budget mappings for graduation. Each campaign that - // appears here will graduate, and will be assigned a new budget that is - // paired with it in the mapping. The maximum size is one. - repeated CampaignBudgetMapping campaign_budget_mappings = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; -} - -// The mapping of experiment campaign and budget to be graduated. -message CampaignBudgetMapping { - // Required. The experiment campaign to graduate. - string experiment_campaign = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Required. The budget that should be attached to the graduating experiment campaign. - string campaign_budget = 2 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignBudget" - } - ]; -} - -// Request message for [ExperimentService.ScheduleExperiment][google.ads.googleads.v11.services.ExperimentService.ScheduleExperiment]. -message ScheduleExperimentRequest { - // Required. The scheduled experiment. - string resource_name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Experiment" - } - ]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 2; -} - -// The metadata of the scheduled experiment. -message ScheduleExperimentMetadata { - // Required. The scheduled experiment. - string experiment = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Experiment" - } - ]; -} - -// Request message for [ExperimentService.PromoteExperiment][google.ads.googleads.v11.services.ExperimentService.PromoteExperiment]. -message PromoteExperimentRequest { - // Required. The resource name of the experiment to promote. - string resource_name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Experiment" - } - ]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 2; -} - -// The metadata of the promoted experiment. -message PromoteExperimentMetadata { - // Required. The promoted experiment. - string experiment = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Experiment" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/extension_feed_item_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/extension_feed_item_service.proto deleted file mode 100644 index 8ed052cdb..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/extension_feed_item_service.proto +++ /dev/null @@ -1,152 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/extension_feed_item.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ExtensionFeedItemServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the ExtensionFeedItem service. - -// Service to manage extension feed items. -service ExtensionFeedItemService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes extension feed items. Operation - // statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [CountryCodeError]() - // [DatabaseError]() - // [DateError]() - // [DistinctError]() - // [ExtensionFeedItemError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [ImageError]() - // [InternalError]() - // [LanguageCodeError]() - // [MutateError]() - // [NewResourceCreationError]() - // [OperationAccessDeniedError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [SizeLimitError]() - // [StringLengthError]() - // [UrlFieldError]() - rpc MutateExtensionFeedItems(MutateExtensionFeedItemsRequest) returns (MutateExtensionFeedItemsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/extensionFeedItems:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [ExtensionFeedItemService.MutateExtensionFeedItems][google.ads.googleads.v11.services.ExtensionFeedItemService.MutateExtensionFeedItems]. -message MutateExtensionFeedItemsRequest { - // Required. The ID of the customer whose extension feed items are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual extension feed items. - repeated ExtensionFeedItemOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, update, remove) on an extension feed item. -message ExtensionFeedItemOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new extension - // feed item. - google.ads.googleads.v11.resources.ExtensionFeedItem create = 1; - - // Update operation: The extension feed item is expected to have a - // valid resource name. - google.ads.googleads.v11.resources.ExtensionFeedItem update = 2; - - // Remove operation: A resource name for the removed extension feed item - // is expected, in this format: - // - // `customers/{customer_id}/extensionFeedItems/{feed_item_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ExtensionFeedItem" - }]; - } -} - -// Response message for an extension feed item mutate. -message MutateExtensionFeedItemsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateExtensionFeedItemResult results = 2; -} - -// The result for the extension feed item mutate. -message MutateExtensionFeedItemResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ExtensionFeedItem" - }]; - - // The mutated extension feed item with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.ExtensionFeedItem extension_feed_item = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/feed_item_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/feed_item_service.proto deleted file mode 100644 index 55cb78813..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/feed_item_service.proto +++ /dev/null @@ -1,151 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/feed_item.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the FeedItem service. - -// Service to manage feed items. -service FeedItemService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes feed items. Operation statuses are - // returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [CriterionError]() - // [DatabaseError]() - // [DateError]() - // [DistinctError]() - // [FeedItemError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [ListOperationError]() - // [MutateError]() - // [NotEmptyError]() - // [NullError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - // [UrlFieldError]() - rpc MutateFeedItems(MutateFeedItemsRequest) returns (MutateFeedItemsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/feedItems:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [FeedItemService.MutateFeedItems][google.ads.googleads.v11.services.FeedItemService.MutateFeedItems]. -message MutateFeedItemsRequest { - // Required. The ID of the customer whose feed items are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual feed items. - repeated FeedItemOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, update, remove) on an feed item. -message FeedItemOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new feed item. - google.ads.googleads.v11.resources.FeedItem create = 1; - - // Update operation: The feed item is expected to have a valid resource - // name. - google.ads.googleads.v11.resources.FeedItem update = 2; - - // Remove operation: A resource name for the removed feed item is - // expected, in this format: - // - // `customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItem" - }]; - } -} - -// Response message for an feed item mutate. -message MutateFeedItemsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateFeedItemResult results = 2; -} - -// The result for the feed item mutate. -message MutateFeedItemResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItem" - }]; - - // The mutated feed item with only mutable fields after mutate. The field will - // only be returned when response_content_type is set to "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.FeedItem feed_item = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/feed_item_set_link_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/feed_item_set_link_service.proto deleted file mode 100644 index ccad262bd..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/feed_item_set_link_service.proto +++ /dev/null @@ -1,115 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/resources/feed_item_set_link.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemSetLinkServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the FeedItemSetLink service. - -// Service to manage feed item set links. -service FeedItemSetLinkService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes feed item set links. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc MutateFeedItemSetLinks(MutateFeedItemSetLinksRequest) returns (MutateFeedItemSetLinksResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/feedItemSetLinks:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [FeedItemSetLinkService.MutateFeedItemSetLinks][google.ads.googleads.v11.services.FeedItemSetLinkService.MutateFeedItemSetLinks]. -message MutateFeedItemSetLinksRequest { - // Required. The ID of the customer whose feed item set links are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual feed item set links. - repeated FeedItemSetLinkOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, update, remove) on a feed item set link. -message FeedItemSetLinkOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the - // new feed item set link. - google.ads.googleads.v11.resources.FeedItemSetLink create = 1; - - // Remove operation: A resource name for the removed feed item set link is - // expected, in this format: - // - // `customers/{customer_id}/feedItemSetLinks/{feed_id}_{feed_item_set_id}_{feed_item_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItemSetLink" - }]; - } -} - -// Response message for a feed item set link mutate. -message MutateFeedItemSetLinksResponse { - // All results for the mutate. - repeated MutateFeedItemSetLinkResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the feed item set link mutate. -message MutateFeedItemSetLinkResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItemSetLink" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/feed_item_set_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/feed_item_set_service.proto deleted file mode 100644 index 298049545..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/feed_item_set_service.proto +++ /dev/null @@ -1,123 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/resources/feed_item_set.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemSetServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the FeedItemSet service. - -// Service to manage feed Item Set -service FeedItemSetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes feed item sets. Operation statuses are - // returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - rpc MutateFeedItemSets(MutateFeedItemSetsRequest) returns (MutateFeedItemSetsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/feedItemSets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [FeedItemSetService.MutateFeedItemSets][google.ads.googleads.v11.services.FeedItemSetService.MutateFeedItemSets]. -message MutateFeedItemSetsRequest { - // Required. The ID of the customer whose feed item sets are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual feed item sets. - repeated FeedItemSetOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, remove) on an feed item set. -message FeedItemSetOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new feed item set - google.ads.googleads.v11.resources.FeedItemSet create = 1; - - // Update operation: The feed item set is expected to have a valid resource - // name. - google.ads.googleads.v11.resources.FeedItemSet update = 2; - - // Remove operation: A resource name for the removed feed item is - // expected, in this format: - // `customers/{customer_id}/feedItems/{feed_id}~{feed_item_set_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItemSet" - }]; - } -} - -// Response message for an feed item set mutate. -message MutateFeedItemSetsResponse { - // All results for the mutate. - repeated MutateFeedItemSetResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the feed item set mutate. -message MutateFeedItemSetResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItemSet" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/feed_item_target_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/feed_item_target_service.proto deleted file mode 100644 index b895d900a..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/feed_item_target_service.proto +++ /dev/null @@ -1,138 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/feed_item_target.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemTargetServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the FeedItemTarget service. - -// Service to manage feed item targets. -service FeedItemTargetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates or removes feed item targets. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CriterionError]() - // [DatabaseError]() - // [DistinctError]() - // [FeedItemTargetError]() - // [FieldError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [MutateError]() - // [NotEmptyError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - rpc MutateFeedItemTargets(MutateFeedItemTargetsRequest) returns (MutateFeedItemTargetsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/feedItemTargets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [FeedItemTargetService.MutateFeedItemTargets][google.ads.googleads.v11.services.FeedItemTargetService.MutateFeedItemTargets]. -message MutateFeedItemTargetsRequest { - // Required. The ID of the customer whose feed item targets are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual feed item targets. - repeated FeedItemTargetOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; -} - -// A single operation (create, remove) on an feed item target. -message FeedItemTargetOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new feed item - // target. - google.ads.googleads.v11.resources.FeedItemTarget create = 1; - - // Remove operation: A resource name for the removed feed item target is - // expected, in this format: - // - // `customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItemTarget" - }]; - } -} - -// Response message for an feed item target mutate. -message MutateFeedItemTargetsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateFeedItemTargetResult results = 2; -} - -// The result for the feed item target mutate. -message MutateFeedItemTargetResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItemTarget" - }]; - - // The mutated feed item target with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.FeedItemTarget feed_item_target = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/feed_mapping_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/feed_mapping_service.proto deleted file mode 100644 index f3f9b5624..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/feed_mapping_service.proto +++ /dev/null @@ -1,138 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/feed_mapping.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "FeedMappingServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the FeedMapping service. - -// Service to manage feed mappings. -service FeedMappingService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates or removes feed mappings. Operation statuses are - // returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [DistinctError]() - // [FeedMappingError]() - // [FieldError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [MutateError]() - // [NotEmptyError]() - // [OperationAccessDeniedError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - rpc MutateFeedMappings(MutateFeedMappingsRequest) returns (MutateFeedMappingsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/feedMappings:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [FeedMappingService.MutateFeedMappings][google.ads.googleads.v11.services.FeedMappingService.MutateFeedMappings]. -message MutateFeedMappingsRequest { - // Required. The ID of the customer whose feed mappings are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual feed mappings. - repeated FeedMappingOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, remove) on a feed mapping. -message FeedMappingOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new feed mapping. - google.ads.googleads.v11.resources.FeedMapping create = 1; - - // Remove operation: A resource name for the removed feed mapping is - // expected, in this format: - // - // `customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedMapping" - }]; - } -} - -// Response message for a feed mapping mutate. -message MutateFeedMappingsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateFeedMappingResult results = 2; -} - -// The result for the feed mapping mutate. -message MutateFeedMappingResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedMapping" - }]; - - // The mutated feed mapping with only mutable fields after mutate. The field - // will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.FeedMapping feed_mapping = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/feed_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/feed_service.proto deleted file mode 100644 index f15ce000c..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/feed_service.proto +++ /dev/null @@ -1,150 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/feed.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "FeedServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the Feed service. - -// Service to manage feeds. -service FeedService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes feeds. Operation statuses are - // returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [DatabaseError]() - // [DistinctError]() - // [FeedError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [ListOperationError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [NullError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - rpc MutateFeeds(MutateFeedsRequest) returns (MutateFeedsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/feeds:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [FeedService.MutateFeeds][google.ads.googleads.v11.services.FeedService.MutateFeeds]. -message MutateFeedsRequest { - // Required. The ID of the customer whose feeds are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual feeds. - repeated FeedOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, update, remove) on an feed. -message FeedOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new feed. - google.ads.googleads.v11.resources.Feed create = 1; - - // Update operation: The feed is expected to have a valid resource - // name. - google.ads.googleads.v11.resources.Feed update = 2; - - // Remove operation: A resource name for the removed feed is - // expected, in this format: - // - // `customers/{customer_id}/feeds/{feed_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Feed" - }]; - } -} - -// Response message for an feed mutate. -message MutateFeedsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateFeedResult results = 2; -} - -// The result for the feed mutate. -message MutateFeedResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Feed" - }]; - - // The mutated feed with only mutable fields after mutate. The field will only - // be returned when response_content_type is set to "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.Feed feed = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/geo_target_constant_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/geo_target_constant_service.proto deleted file mode 100644 index fd340b2ac..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/geo_target_constant_service.proto +++ /dev/null @@ -1,117 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/resources/geo_target_constant.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "GeoTargetConstantServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the Geo target constant service. - -// Service to fetch geo target constants. -service GeoTargetConstantService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Returns GeoTargetConstant suggestions by location name or by resource name. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [GeoTargetConstantSuggestionError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc SuggestGeoTargetConstants(SuggestGeoTargetConstantsRequest) returns (SuggestGeoTargetConstantsResponse) { - option (google.api.http) = { - post: "/v11/geoTargetConstants:suggest" - body: "*" - }; - } -} - -// Request message for -// [GeoTargetConstantService.SuggestGeoTargetConstants][google.ads.googleads.v11.services.GeoTargetConstantService.SuggestGeoTargetConstants]. -message SuggestGeoTargetConstantsRequest { - // A list of location names. - message LocationNames { - // A list of location names. - repeated string names = 2; - } - - // A list of geo target constant resource names. - message GeoTargets { - // A list of geo target constant resource names. - repeated string geo_target_constants = 2; - } - - // If possible, returned geo targets are translated using this locale. If not, - // en is used by default. This is also used as a hint for returned geo - // targets. - optional string locale = 6; - - // Returned geo targets are restricted to this country code. - optional string country_code = 7; - - // Required. A selector of geo target constants. - oneof query { - // The location names to search by. At most 25 names can be set. - LocationNames location_names = 1; - - // The geo target constant resource names to filter by. - GeoTargets geo_targets = 2; - } -} - -// Response message for [GeoTargetConstantService.SuggestGeoTargetConstants][google.ads.googleads.v11.services.GeoTargetConstantService.SuggestGeoTargetConstants]. -message SuggestGeoTargetConstantsResponse { - // Geo target constant suggestions. - repeated GeoTargetConstantSuggestion geo_target_constant_suggestions = 1; -} - -// A geo target constant suggestion. -message GeoTargetConstantSuggestion { - // The language this GeoTargetConstantSuggestion is currently translated to. - // It affects the name of geo target fields. For example, if locale=en, then - // name=Spain. If locale=es, then name=España. The default locale will be - // returned if no translation exists for the locale in the request. - optional string locale = 6; - - // Approximate user population that will be targeted, rounded to the - // nearest 100. - optional int64 reach = 7; - - // If the request searched by location name, this is the location name that - // matched the geo target. - optional string search_term = 8; - - // The GeoTargetConstant result. - google.ads.googleads.v11.resources.GeoTargetConstant geo_target_constant = 4; - - // The list of parents of the geo target constant. - repeated google.ads.googleads.v11.resources.GeoTargetConstant geo_target_constant_parents = 5; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/google_ads_field_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/google_ads_field_service.proto deleted file mode 100644 index 3a406dee5..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/google_ads_field_service.proto +++ /dev/null @@ -1,115 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/resources/google_ads_field.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "GoogleAdsFieldServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the GoogleAdsFieldService. - -// Service to fetch Google Ads API fields. -service GoogleAdsFieldService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Returns just the requested field. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc GetGoogleAdsField(GetGoogleAdsFieldRequest) returns (google.ads.googleads.v11.resources.GoogleAdsField) { - option (google.api.http) = { - get: "/v11/{resource_name=googleAdsFields/*}" - }; - option (google.api.method_signature) = "resource_name"; - } - - // Returns all fields that match the search query. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QueryError]() - // [QuotaError]() - // [RequestError]() - rpc SearchGoogleAdsFields(SearchGoogleAdsFieldsRequest) returns (SearchGoogleAdsFieldsResponse) { - option (google.api.http) = { - post: "/v11/googleAdsFields:search" - body: "*" - }; - option (google.api.method_signature) = "query"; - } -} - -// Request message for [GoogleAdsFieldService.GetGoogleAdsField][google.ads.googleads.v11.services.GoogleAdsFieldService.GetGoogleAdsField]. -message GetGoogleAdsFieldRequest { - // Required. The resource name of the field to get. - string resource_name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/GoogleAdsField" - } - ]; -} - -// Request message for [GoogleAdsFieldService.SearchGoogleAdsFields][google.ads.googleads.v11.services.GoogleAdsFieldService.SearchGoogleAdsFields]. -message SearchGoogleAdsFieldsRequest { - // Required. The query string. - string query = 1 [(google.api.field_behavior) = REQUIRED]; - - // Token of the page to retrieve. If not specified, the first page of - // results will be returned. Use the value obtained from `next_page_token` - // in the previous response in order to request the next page of results. - string page_token = 2; - - // Number of elements to retrieve in a single page. - // When too large a page is requested, the server may decide to further - // limit the number of returned resources. - int32 page_size = 3; -} - -// Response message for [GoogleAdsFieldService.SearchGoogleAdsFields][google.ads.googleads.v11.services.GoogleAdsFieldService.SearchGoogleAdsFields]. -message SearchGoogleAdsFieldsResponse { - // The list of fields that matched the query. - repeated google.ads.googleads.v11.resources.GoogleAdsField results = 1; - - // Pagination token used to retrieve the next page of results. Pass the - // content of this string as the `page_token` attribute of the next request. - // `next_page_token` is not returned for the last page. - string next_page_token = 2; - - // Total number of results that match the query ignoring the LIMIT clause. - int64 total_results_count = 3; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/google_ads_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/google_ads_service.proto deleted file mode 100644 index 3ff021b1f..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/google_ads_service.proto +++ /dev/null @@ -1,1488 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/common/metrics.proto"; -import "google/ads/googleads/v11/common/segments.proto"; -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/enums/summary_row_setting.proto"; -import "google/ads/googleads/v11/resources/accessible_bidding_strategy.proto"; -import "google/ads/googleads/v11/resources/account_budget.proto"; -import "google/ads/googleads/v11/resources/account_budget_proposal.proto"; -import "google/ads/googleads/v11/resources/account_link.proto"; -import "google/ads/googleads/v11/resources/ad_group.proto"; -import "google/ads/googleads/v11/resources/ad_group_ad.proto"; -import "google/ads/googleads/v11/resources/ad_group_ad_asset_combination_view.proto"; -import "google/ads/googleads/v11/resources/ad_group_ad_asset_view.proto"; -import "google/ads/googleads/v11/resources/ad_group_ad_label.proto"; -import "google/ads/googleads/v11/resources/ad_group_asset.proto"; -import "google/ads/googleads/v11/resources/ad_group_audience_view.proto"; -import "google/ads/googleads/v11/resources/ad_group_bid_modifier.proto"; -import "google/ads/googleads/v11/resources/ad_group_criterion.proto"; -import "google/ads/googleads/v11/resources/ad_group_criterion_customizer.proto"; -import "google/ads/googleads/v11/resources/ad_group_criterion_label.proto"; -import "google/ads/googleads/v11/resources/ad_group_criterion_simulation.proto"; -import "google/ads/googleads/v11/resources/ad_group_customizer.proto"; -import "google/ads/googleads/v11/resources/ad_group_extension_setting.proto"; -import "google/ads/googleads/v11/resources/ad_group_feed.proto"; -import "google/ads/googleads/v11/resources/ad_group_label.proto"; -import "google/ads/googleads/v11/resources/ad_group_simulation.proto"; -import "google/ads/googleads/v11/resources/ad_parameter.proto"; -import "google/ads/googleads/v11/resources/ad_schedule_view.proto"; -import "google/ads/googleads/v11/resources/age_range_view.proto"; -import "google/ads/googleads/v11/resources/asset.proto"; -import "google/ads/googleads/v11/resources/asset_field_type_view.proto"; -import "google/ads/googleads/v11/resources/asset_group.proto"; -import "google/ads/googleads/v11/resources/asset_group_asset.proto"; -import "google/ads/googleads/v11/resources/asset_group_listing_group_filter.proto"; -import "google/ads/googleads/v11/resources/asset_group_product_group_view.proto"; -import "google/ads/googleads/v11/resources/asset_group_signal.proto"; -import "google/ads/googleads/v11/resources/asset_set.proto"; -import "google/ads/googleads/v11/resources/asset_set_asset.proto"; -import "google/ads/googleads/v11/resources/audience.proto"; -import "google/ads/googleads/v11/resources/batch_job.proto"; -import "google/ads/googleads/v11/resources/bidding_data_exclusion.proto"; -import "google/ads/googleads/v11/resources/bidding_seasonality_adjustment.proto"; -import "google/ads/googleads/v11/resources/bidding_strategy.proto"; -import "google/ads/googleads/v11/resources/bidding_strategy_simulation.proto"; -import "google/ads/googleads/v11/resources/billing_setup.proto"; -import "google/ads/googleads/v11/resources/call_view.proto"; -import "google/ads/googleads/v11/resources/campaign.proto"; -import "google/ads/googleads/v11/resources/campaign_asset.proto"; -import "google/ads/googleads/v11/resources/campaign_asset_set.proto"; -import "google/ads/googleads/v11/resources/campaign_audience_view.proto"; -import "google/ads/googleads/v11/resources/campaign_bid_modifier.proto"; -import "google/ads/googleads/v11/resources/campaign_budget.proto"; -import "google/ads/googleads/v11/resources/campaign_conversion_goal.proto"; -import "google/ads/googleads/v11/resources/campaign_criterion.proto"; -import "google/ads/googleads/v11/resources/campaign_criterion_simulation.proto"; -import "google/ads/googleads/v11/resources/campaign_customizer.proto"; -import "google/ads/googleads/v11/resources/campaign_draft.proto"; -import "google/ads/googleads/v11/resources/campaign_experiment.proto"; -import "google/ads/googleads/v11/resources/campaign_extension_setting.proto"; -import "google/ads/googleads/v11/resources/campaign_feed.proto"; -import "google/ads/googleads/v11/resources/campaign_group.proto"; -import "google/ads/googleads/v11/resources/campaign_label.proto"; -import "google/ads/googleads/v11/resources/campaign_shared_set.proto"; -import "google/ads/googleads/v11/resources/campaign_simulation.proto"; -import "google/ads/googleads/v11/resources/carrier_constant.proto"; -import "google/ads/googleads/v11/resources/change_event.proto"; -import "google/ads/googleads/v11/resources/change_status.proto"; -import "google/ads/googleads/v11/resources/click_view.proto"; -import "google/ads/googleads/v11/resources/combined_audience.proto"; -import "google/ads/googleads/v11/resources/conversion_action.proto"; -import "google/ads/googleads/v11/resources/conversion_custom_variable.proto"; -import "google/ads/googleads/v11/resources/conversion_goal_campaign_config.proto"; -import "google/ads/googleads/v11/resources/conversion_value_rule.proto"; -import "google/ads/googleads/v11/resources/conversion_value_rule_set.proto"; -import "google/ads/googleads/v11/resources/currency_constant.proto"; -import "google/ads/googleads/v11/resources/custom_audience.proto"; -import "google/ads/googleads/v11/resources/custom_conversion_goal.proto"; -import "google/ads/googleads/v11/resources/custom_interest.proto"; -import "google/ads/googleads/v11/resources/customer.proto"; -import "google/ads/googleads/v11/resources/customer_asset.proto"; -import "google/ads/googleads/v11/resources/customer_client.proto"; -import "google/ads/googleads/v11/resources/customer_client_link.proto"; -import "google/ads/googleads/v11/resources/customer_conversion_goal.proto"; -import "google/ads/googleads/v11/resources/customer_customizer.proto"; -import "google/ads/googleads/v11/resources/customer_extension_setting.proto"; -import "google/ads/googleads/v11/resources/customer_feed.proto"; -import "google/ads/googleads/v11/resources/customer_label.proto"; -import "google/ads/googleads/v11/resources/customer_manager_link.proto"; -import "google/ads/googleads/v11/resources/customer_negative_criterion.proto"; -import "google/ads/googleads/v11/resources/customer_user_access.proto"; -import "google/ads/googleads/v11/resources/customer_user_access_invitation.proto"; -import "google/ads/googleads/v11/resources/customizer_attribute.proto"; -import "google/ads/googleads/v11/resources/detail_placement_view.proto"; -import "google/ads/googleads/v11/resources/detailed_demographic.proto"; -import "google/ads/googleads/v11/resources/display_keyword_view.proto"; -import "google/ads/googleads/v11/resources/distance_view.proto"; -import "google/ads/googleads/v11/resources/domain_category.proto"; -import "google/ads/googleads/v11/resources/dynamic_search_ads_search_term_view.proto"; -import "google/ads/googleads/v11/resources/expanded_landing_page_view.proto"; -import "google/ads/googleads/v11/resources/experiment.proto"; -import "google/ads/googleads/v11/resources/experiment_arm.proto"; -import "google/ads/googleads/v11/resources/extension_feed_item.proto"; -import "google/ads/googleads/v11/resources/feed.proto"; -import "google/ads/googleads/v11/resources/feed_item.proto"; -import "google/ads/googleads/v11/resources/feed_item_set.proto"; -import "google/ads/googleads/v11/resources/feed_item_set_link.proto"; -import "google/ads/googleads/v11/resources/feed_item_target.proto"; -import "google/ads/googleads/v11/resources/feed_mapping.proto"; -import "google/ads/googleads/v11/resources/feed_placeholder_view.proto"; -import "google/ads/googleads/v11/resources/gender_view.proto"; -import "google/ads/googleads/v11/resources/geo_target_constant.proto"; -import "google/ads/googleads/v11/resources/geographic_view.proto"; -import "google/ads/googleads/v11/resources/group_placement_view.proto"; -import "google/ads/googleads/v11/resources/hotel_group_view.proto"; -import "google/ads/googleads/v11/resources/hotel_performance_view.proto"; -import "google/ads/googleads/v11/resources/hotel_reconciliation.proto"; -import "google/ads/googleads/v11/resources/income_range_view.proto"; -import "google/ads/googleads/v11/resources/keyword_plan.proto"; -import "google/ads/googleads/v11/resources/keyword_plan_ad_group.proto"; -import "google/ads/googleads/v11/resources/keyword_plan_ad_group_keyword.proto"; -import "google/ads/googleads/v11/resources/keyword_plan_campaign.proto"; -import "google/ads/googleads/v11/resources/keyword_plan_campaign_keyword.proto"; -import "google/ads/googleads/v11/resources/keyword_theme_constant.proto"; -import "google/ads/googleads/v11/resources/keyword_view.proto"; -import "google/ads/googleads/v11/resources/label.proto"; -import "google/ads/googleads/v11/resources/landing_page_view.proto"; -import "google/ads/googleads/v11/resources/language_constant.proto"; -import "google/ads/googleads/v11/resources/lead_form_submission_data.proto"; -import "google/ads/googleads/v11/resources/life_event.proto"; -import "google/ads/googleads/v11/resources/location_view.proto"; -import "google/ads/googleads/v11/resources/managed_placement_view.proto"; -import "google/ads/googleads/v11/resources/media_file.proto"; -import "google/ads/googleads/v11/resources/mobile_app_category_constant.proto"; -import "google/ads/googleads/v11/resources/mobile_device_constant.proto"; -import "google/ads/googleads/v11/resources/offline_user_data_job.proto"; -import "google/ads/googleads/v11/resources/operating_system_version_constant.proto"; -import "google/ads/googleads/v11/resources/paid_organic_search_term_view.proto"; -import "google/ads/googleads/v11/resources/parental_status_view.proto"; -import "google/ads/googleads/v11/resources/product_bidding_category_constant.proto"; -import "google/ads/googleads/v11/resources/product_group_view.proto"; -import "google/ads/googleads/v11/resources/recommendation.proto"; -import "google/ads/googleads/v11/resources/remarketing_action.proto"; -import "google/ads/googleads/v11/resources/search_term_view.proto"; -import "google/ads/googleads/v11/resources/shared_criterion.proto"; -import "google/ads/googleads/v11/resources/shared_set.proto"; -import "google/ads/googleads/v11/resources/shopping_performance_view.proto"; -import "google/ads/googleads/v11/resources/smart_campaign_search_term_view.proto"; -import "google/ads/googleads/v11/resources/smart_campaign_setting.proto"; -import "google/ads/googleads/v11/resources/third_party_app_analytics_link.proto"; -import "google/ads/googleads/v11/resources/topic_constant.proto"; -import "google/ads/googleads/v11/resources/topic_view.proto"; -import "google/ads/googleads/v11/resources/user_interest.proto"; -import "google/ads/googleads/v11/resources/user_list.proto"; -import "google/ads/googleads/v11/resources/user_location_view.proto"; -import "google/ads/googleads/v11/resources/video.proto"; -import "google/ads/googleads/v11/resources/webpage_view.proto"; -import "google/ads/googleads/v11/services/ad_group_ad_label_service.proto"; -import "google/ads/googleads/v11/services/ad_group_ad_service.proto"; -import "google/ads/googleads/v11/services/ad_group_asset_service.proto"; -import "google/ads/googleads/v11/services/ad_group_bid_modifier_service.proto"; -import "google/ads/googleads/v11/services/ad_group_criterion_customizer_service.proto"; -import "google/ads/googleads/v11/services/ad_group_criterion_label_service.proto"; -import "google/ads/googleads/v11/services/ad_group_criterion_service.proto"; -import "google/ads/googleads/v11/services/ad_group_customizer_service.proto"; -import "google/ads/googleads/v11/services/ad_group_extension_setting_service.proto"; -import "google/ads/googleads/v11/services/ad_group_feed_service.proto"; -import "google/ads/googleads/v11/services/ad_group_label_service.proto"; -import "google/ads/googleads/v11/services/ad_group_service.proto"; -import "google/ads/googleads/v11/services/ad_parameter_service.proto"; -import "google/ads/googleads/v11/services/ad_service.proto"; -import "google/ads/googleads/v11/services/asset_group_asset_service.proto"; -import "google/ads/googleads/v11/services/asset_group_listing_group_filter_service.proto"; -import "google/ads/googleads/v11/services/asset_group_service.proto"; -import "google/ads/googleads/v11/services/asset_group_signal_service.proto"; -import "google/ads/googleads/v11/services/asset_service.proto"; -import "google/ads/googleads/v11/services/asset_set_asset_service.proto"; -import "google/ads/googleads/v11/services/asset_set_service.proto"; -import "google/ads/googleads/v11/services/audience_service.proto"; -import "google/ads/googleads/v11/services/bidding_data_exclusion_service.proto"; -import "google/ads/googleads/v11/services/bidding_seasonality_adjustment_service.proto"; -import "google/ads/googleads/v11/services/bidding_strategy_service.proto"; -import "google/ads/googleads/v11/services/campaign_asset_service.proto"; -import "google/ads/googleads/v11/services/campaign_asset_set_service.proto"; -import "google/ads/googleads/v11/services/campaign_bid_modifier_service.proto"; -import "google/ads/googleads/v11/services/campaign_budget_service.proto"; -import "google/ads/googleads/v11/services/campaign_conversion_goal_service.proto"; -import "google/ads/googleads/v11/services/campaign_criterion_service.proto"; -import "google/ads/googleads/v11/services/campaign_customizer_service.proto"; -import "google/ads/googleads/v11/services/campaign_draft_service.proto"; -import "google/ads/googleads/v11/services/campaign_experiment_service.proto"; -import "google/ads/googleads/v11/services/campaign_extension_setting_service.proto"; -import "google/ads/googleads/v11/services/campaign_feed_service.proto"; -import "google/ads/googleads/v11/services/campaign_group_service.proto"; -import "google/ads/googleads/v11/services/campaign_label_service.proto"; -import "google/ads/googleads/v11/services/campaign_service.proto"; -import "google/ads/googleads/v11/services/campaign_shared_set_service.proto"; -import "google/ads/googleads/v11/services/conversion_action_service.proto"; -import "google/ads/googleads/v11/services/conversion_custom_variable_service.proto"; -import "google/ads/googleads/v11/services/conversion_goal_campaign_config_service.proto"; -import "google/ads/googleads/v11/services/conversion_value_rule_service.proto"; -import "google/ads/googleads/v11/services/conversion_value_rule_set_service.proto"; -import "google/ads/googleads/v11/services/custom_conversion_goal_service.proto"; -import "google/ads/googleads/v11/services/customer_asset_service.proto"; -import "google/ads/googleads/v11/services/customer_conversion_goal_service.proto"; -import "google/ads/googleads/v11/services/customer_customizer_service.proto"; -import "google/ads/googleads/v11/services/customer_extension_setting_service.proto"; -import "google/ads/googleads/v11/services/customer_feed_service.proto"; -import "google/ads/googleads/v11/services/customer_label_service.proto"; -import "google/ads/googleads/v11/services/customer_negative_criterion_service.proto"; -import "google/ads/googleads/v11/services/customer_service.proto"; -import "google/ads/googleads/v11/services/customizer_attribute_service.proto"; -import "google/ads/googleads/v11/services/experiment_arm_service.proto"; -import "google/ads/googleads/v11/services/experiment_service.proto"; -import "google/ads/googleads/v11/services/extension_feed_item_service.proto"; -import "google/ads/googleads/v11/services/feed_item_service.proto"; -import "google/ads/googleads/v11/services/feed_item_set_link_service.proto"; -import "google/ads/googleads/v11/services/feed_item_set_service.proto"; -import "google/ads/googleads/v11/services/feed_item_target_service.proto"; -import "google/ads/googleads/v11/services/feed_mapping_service.proto"; -import "google/ads/googleads/v11/services/feed_service.proto"; -import "google/ads/googleads/v11/services/keyword_plan_ad_group_keyword_service.proto"; -import "google/ads/googleads/v11/services/keyword_plan_ad_group_service.proto"; -import "google/ads/googleads/v11/services/keyword_plan_campaign_keyword_service.proto"; -import "google/ads/googleads/v11/services/keyword_plan_campaign_service.proto"; -import "google/ads/googleads/v11/services/keyword_plan_service.proto"; -import "google/ads/googleads/v11/services/label_service.proto"; -import "google/ads/googleads/v11/services/media_file_service.proto"; -import "google/ads/googleads/v11/services/remarketing_action_service.proto"; -import "google/ads/googleads/v11/services/shared_criterion_service.proto"; -import "google/ads/googleads/v11/services/shared_set_service.proto"; -import "google/ads/googleads/v11/services/smart_campaign_setting_service.proto"; -import "google/ads/googleads/v11/services/user_list_service.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "GoogleAdsServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the GoogleAdsService. - -// Service to fetch data and metrics across resources. -service GoogleAdsService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Returns all rows that match the search query. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [ChangeEventError]() - // [ChangeStatusError]() - // [ClickViewError]() - // [HeaderError]() - // [InternalError]() - // [QueryError]() - // [QuotaError]() - // [RequestError]() - rpc Search(SearchGoogleAdsRequest) returns (SearchGoogleAdsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/googleAds:search" - body: "*" - }; - option (google.api.method_signature) = "customer_id,query"; - } - - // Returns all rows that match the search stream query. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [ChangeEventError]() - // [ChangeStatusError]() - // [ClickViewError]() - // [HeaderError]() - // [InternalError]() - // [QueryError]() - // [QuotaError]() - // [RequestError]() - rpc SearchStream(SearchGoogleAdsStreamRequest) returns (stream SearchGoogleAdsStreamResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/googleAds:searchStream" - body: "*" - }; - option (google.api.method_signature) = "customer_id,query"; - } - - // Creates, updates, or removes resources. This method supports atomic - // transactions with multiple types of resources. For example, you can - // atomically create a campaign and a campaign budget, or perform up to - // thousands of mutates atomically. - // - // This method is essentially a wrapper around a series of mutate methods. The - // only features it offers over calling those methods directly are: - // - // - Atomic transactions - // - Temp resource names (described below) - // - Somewhat reduced latency over making a series of mutate calls - // - // Note: Only resources that support atomic transactions are included, so this - // method can't replace all calls to individual services. - // - // ## Atomic Transaction Benefits - // - // Atomicity makes error handling much easier. If you're making a series of - // changes and one fails, it can leave your account in an inconsistent state. - // With atomicity, you either reach the chosen state directly, or the request - // fails and you can retry. - // - // ## Temp Resource Names - // - // Temp resource names are a special type of resource name used to create a - // resource and reference that resource in the same request. For example, if a - // campaign budget is created with `resource_name` equal to - // `customers/123/campaignBudgets/-1`, that resource name can be reused in - // the `Campaign.budget` field in the same request. That way, the two - // resources are created and linked atomically. - // - // To create a temp resource name, put a negative number in the part of the - // name that the server would normally allocate. - // - // Note: - // - // - Resources must be created with a temp name before the name can be reused. - // For example, the previous CampaignBudget+Campaign example would fail if - // the mutate order was reversed. - // - Temp names are not remembered across requests. - // - There's no limit to the number of temp names in a request. - // - Each temp name must use a unique negative number, even if the resource - // types differ. - // - // ## Latency - // - // It's important to group mutates by resource type or the request may time - // out and fail. Latency is roughly equal to a series of calls to individual - // mutate methods, where each change in resource type is a new call. For - // example, mutating 10 campaigns then 10 ad groups is like 2 calls, while - // mutating 1 campaign, 1 ad group, 1 campaign, 1 ad group is like 4 calls. - // - // List of thrown errors: - // [AdCustomizerError]() - // [AdError]() - // [AdGroupAdError]() - // [AdGroupCriterionError]() - // [AdGroupError]() - // [AssetError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [BiddingError]() - // [CampaignBudgetError]() - // [CampaignCriterionError]() - // [CampaignError]() - // [CampaignExperimentError]() - // [CampaignSharedSetError]() - // [CollectionSizeError]() - // [ContextError]() - // [ConversionActionError]() - // [CriterionError]() - // [CustomerFeedError]() - // [DatabaseError]() - // [DateError]() - // [DateRangeError]() - // [DistinctError]() - // [ExtensionFeedItemError]() - // [ExtensionSettingError]() - // [FeedAttributeReferenceError]() - // [FeedError]() - // [FeedItemError]() - // [FeedItemSetError]() - // [FieldError]() - // [FieldMaskError]() - // [FunctionParsingError]() - // [HeaderError]() - // [ImageError]() - // [InternalError]() - // [KeywordPlanAdGroupKeywordError]() - // [KeywordPlanCampaignError]() - // [KeywordPlanError]() - // [LabelError]() - // [ListOperationError]() - // [MediaUploadError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NullError]() - // [OperationAccessDeniedError]() - // [PolicyFindingError]() - // [PolicyViolationError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - // [SettingError]() - // [SharedSetError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - // [UrlFieldError]() - // [UserListError]() - // [YoutubeVideoRegistrationError]() - rpc Mutate(MutateGoogleAdsRequest) returns (MutateGoogleAdsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/googleAds:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,mutate_operations"; - } -} - -// Request message for [GoogleAdsService.Search][google.ads.googleads.v11.services.GoogleAdsService.Search]. -message SearchGoogleAdsRequest { - // Required. The ID of the customer being queried. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The query string. - string query = 2 [(google.api.field_behavior) = REQUIRED]; - - // Token of the page to retrieve. If not specified, the first - // page of results will be returned. Use the value obtained from - // `next_page_token` in the previous response in order to request - // the next page of results. - string page_token = 3; - - // Number of elements to retrieve in a single page. - // When too large a page is requested, the server may decide to - // further limit the number of returned resources. - int32 page_size = 4; - - // If true, the request is validated but not executed. - bool validate_only = 5; - - // If true, the total number of results that match the query ignoring the - // LIMIT clause will be included in the response. - // Default is false. - bool return_total_results_count = 7; - - // Determines whether a summary row will be returned. By default, summary row - // is not returned. If requested, the summary row will be sent in a response - // by itself after all other query results are returned. - google.ads.googleads.v11.enums.SummaryRowSettingEnum.SummaryRowSetting summary_row_setting = 8; -} - -// Response message for [GoogleAdsService.Search][google.ads.googleads.v11.services.GoogleAdsService.Search]. -message SearchGoogleAdsResponse { - // The list of rows that matched the query. - repeated GoogleAdsRow results = 1; - - // Pagination token used to retrieve the next page of results. - // Pass the content of this string as the `page_token` attribute of - // the next request. `next_page_token` is not returned for the last - // page. - string next_page_token = 2; - - // Total number of results that match the query ignoring the LIMIT - // clause. - int64 total_results_count = 3; - - // FieldMask that represents what fields were requested by the user. - google.protobuf.FieldMask field_mask = 5; - - // Summary row that contains summary of metrics in results. - // Summary of metrics means aggregation of metrics across all results, - // here aggregation could be sum, average, rate, etc. - GoogleAdsRow summary_row = 6; -} - -// Request message for [GoogleAdsService.SearchStream][google.ads.googleads.v11.services.GoogleAdsService.SearchStream]. -message SearchGoogleAdsStreamRequest { - // Required. The ID of the customer being queried. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The query string. - string query = 2 [(google.api.field_behavior) = REQUIRED]; - - // Determines whether a summary row will be returned. By default, summary row - // is not returned. If requested, the summary row will be sent in a response - // by itself after all other query results are returned. - google.ads.googleads.v11.enums.SummaryRowSettingEnum.SummaryRowSetting summary_row_setting = 3; -} - -// Response message for [GoogleAdsService.SearchStream][google.ads.googleads.v11.services.GoogleAdsService.SearchStream]. -message SearchGoogleAdsStreamResponse { - // The list of rows that matched the query. - repeated GoogleAdsRow results = 1; - - // FieldMask that represents what fields were requested by the user. - google.protobuf.FieldMask field_mask = 2; - - // Summary row that contains summary of metrics in results. - // Summary of metrics means aggregation of metrics across all results, - // here aggregation could be sum, average, rate, etc. - GoogleAdsRow summary_row = 3; - - // The unique id of the request that is used for debugging purposes. - string request_id = 4; -} - -// A returned row from the query. -message GoogleAdsRow { - // The account budget in the query. - google.ads.googleads.v11.resources.AccountBudget account_budget = 42; - - // The account budget proposal referenced in the query. - google.ads.googleads.v11.resources.AccountBudgetProposal account_budget_proposal = 43; - - // The AccountLink referenced in the query. - google.ads.googleads.v11.resources.AccountLink account_link = 143; - - // The ad group referenced in the query. - google.ads.googleads.v11.resources.AdGroup ad_group = 3; - - // The ad referenced in the query. - google.ads.googleads.v11.resources.AdGroupAd ad_group_ad = 16; - - // The ad group ad asset combination view in the query. - google.ads.googleads.v11.resources.AdGroupAdAssetCombinationView ad_group_ad_asset_combination_view = 193; - - // The ad group ad asset view in the query. - google.ads.googleads.v11.resources.AdGroupAdAssetView ad_group_ad_asset_view = 131; - - // The ad group ad label referenced in the query. - google.ads.googleads.v11.resources.AdGroupAdLabel ad_group_ad_label = 120; - - // The ad group asset referenced in the query. - google.ads.googleads.v11.resources.AdGroupAsset ad_group_asset = 154; - - // The ad group audience view referenced in the query. - google.ads.googleads.v11.resources.AdGroupAudienceView ad_group_audience_view = 57; - - // The bid modifier referenced in the query. - google.ads.googleads.v11.resources.AdGroupBidModifier ad_group_bid_modifier = 24; - - // The criterion referenced in the query. - google.ads.googleads.v11.resources.AdGroupCriterion ad_group_criterion = 17; - - // The ad group criterion customizer referenced in the query. - google.ads.googleads.v11.resources.AdGroupCriterionCustomizer ad_group_criterion_customizer = 187; - - // The ad group criterion label referenced in the query. - google.ads.googleads.v11.resources.AdGroupCriterionLabel ad_group_criterion_label = 121; - - // The ad group criterion simulation referenced in the query. - google.ads.googleads.v11.resources.AdGroupCriterionSimulation ad_group_criterion_simulation = 110; - - // The ad group customizer referenced in the query. - google.ads.googleads.v11.resources.AdGroupCustomizer ad_group_customizer = 185; - - // The ad group extension setting referenced in the query. - google.ads.googleads.v11.resources.AdGroupExtensionSetting ad_group_extension_setting = 112; - - // The ad group feed referenced in the query. - google.ads.googleads.v11.resources.AdGroupFeed ad_group_feed = 67; - - // The ad group label referenced in the query. - google.ads.googleads.v11.resources.AdGroupLabel ad_group_label = 115; - - // The ad group simulation referenced in the query. - google.ads.googleads.v11.resources.AdGroupSimulation ad_group_simulation = 107; - - // The ad parameter referenced in the query. - google.ads.googleads.v11.resources.AdParameter ad_parameter = 130; - - // The age range view referenced in the query. - google.ads.googleads.v11.resources.AgeRangeView age_range_view = 48; - - // The ad schedule view referenced in the query. - google.ads.googleads.v11.resources.AdScheduleView ad_schedule_view = 89; - - // The domain category referenced in the query. - google.ads.googleads.v11.resources.DomainCategory domain_category = 91; - - // The asset referenced in the query. - google.ads.googleads.v11.resources.Asset asset = 105; - - // The asset field type view referenced in the query. - google.ads.googleads.v11.resources.AssetFieldTypeView asset_field_type_view = 168; - - // The asset group asset referenced in the query. - google.ads.googleads.v11.resources.AssetGroupAsset asset_group_asset = 173; - - // The asset group signal referenced in the query. - google.ads.googleads.v11.resources.AssetGroupSignal asset_group_signal = 191; - - // The asset group listing group filter referenced in the query. - google.ads.googleads.v11.resources.AssetGroupListingGroupFilter asset_group_listing_group_filter = 182; - - // The asset group product group view referenced in the query. - google.ads.googleads.v11.resources.AssetGroupProductGroupView asset_group_product_group_view = 189; - - // The asset group referenced in the query. - google.ads.googleads.v11.resources.AssetGroup asset_group = 172; - - // The asset set asset referenced in the query. - google.ads.googleads.v11.resources.AssetSetAsset asset_set_asset = 180; - - // The asset set referenced in the query. - google.ads.googleads.v11.resources.AssetSet asset_set = 179; - - // The batch job referenced in the query. - google.ads.googleads.v11.resources.BatchJob batch_job = 139; - - // The bidding data exclusion referenced in the query. - google.ads.googleads.v11.resources.BiddingDataExclusion bidding_data_exclusion = 159; - - // The bidding seasonality adjustment referenced in the query. - google.ads.googleads.v11.resources.BiddingSeasonalityAdjustment bidding_seasonality_adjustment = 160; - - // The bidding strategy referenced in the query. - google.ads.googleads.v11.resources.BiddingStrategy bidding_strategy = 18; - - // The bidding strategy simulation referenced in the query. - google.ads.googleads.v11.resources.BiddingStrategySimulation bidding_strategy_simulation = 158; - - // The billing setup referenced in the query. - google.ads.googleads.v11.resources.BillingSetup billing_setup = 41; - - // The call view referenced in the query. - google.ads.googleads.v11.resources.CallView call_view = 152; - - // The campaign budget referenced in the query. - google.ads.googleads.v11.resources.CampaignBudget campaign_budget = 19; - - // The campaign referenced in the query. - google.ads.googleads.v11.resources.Campaign campaign = 2; - - // The campaign asset referenced in the query. - google.ads.googleads.v11.resources.CampaignAsset campaign_asset = 142; - - // The campaign asset set referenced in the query. - google.ads.googleads.v11.resources.CampaignAssetSet campaign_asset_set = 181; - - // The campaign audience view referenced in the query. - google.ads.googleads.v11.resources.CampaignAudienceView campaign_audience_view = 69; - - // The campaign bid modifier referenced in the query. - google.ads.googleads.v11.resources.CampaignBidModifier campaign_bid_modifier = 26; - - // The CampaignConversionGoal referenced in the query. - google.ads.googleads.v11.resources.CampaignConversionGoal campaign_conversion_goal = 175; - - // The campaign criterion referenced in the query. - google.ads.googleads.v11.resources.CampaignCriterion campaign_criterion = 20; - - // The campaign criterion simulation referenced in the query. - google.ads.googleads.v11.resources.CampaignCriterionSimulation campaign_criterion_simulation = 111; - - // The campaign customizer referenced in the query. - google.ads.googleads.v11.resources.CampaignCustomizer campaign_customizer = 186; - - // The campaign draft referenced in the query. - google.ads.googleads.v11.resources.CampaignDraft campaign_draft = 49; - - // The campaign experiment referenced in the query. - google.ads.googleads.v11.resources.CampaignExperiment campaign_experiment = 84; - - // The campaign extension setting referenced in the query. - google.ads.googleads.v11.resources.CampaignExtensionSetting campaign_extension_setting = 113; - - // The campaign feed referenced in the query. - google.ads.googleads.v11.resources.CampaignFeed campaign_feed = 63; - - // Campaign Group referenced in AWQL query. - google.ads.googleads.v11.resources.CampaignGroup campaign_group = 25; - - // The campaign label referenced in the query. - google.ads.googleads.v11.resources.CampaignLabel campaign_label = 108; - - // Campaign Shared Set referenced in AWQL query. - google.ads.googleads.v11.resources.CampaignSharedSet campaign_shared_set = 30; - - // The campaign simulation referenced in the query. - google.ads.googleads.v11.resources.CampaignSimulation campaign_simulation = 157; - - // The carrier constant referenced in the query. - google.ads.googleads.v11.resources.CarrierConstant carrier_constant = 66; - - // The ChangeEvent referenced in the query. - google.ads.googleads.v11.resources.ChangeEvent change_event = 145; - - // The ChangeStatus referenced in the query. - google.ads.googleads.v11.resources.ChangeStatus change_status = 37; - - // The CombinedAudience referenced in the query. - google.ads.googleads.v11.resources.CombinedAudience combined_audience = 148; - - // The Audience referenced in the query. - google.ads.googleads.v11.resources.Audience audience = 190; - - // The conversion action referenced in the query. - google.ads.googleads.v11.resources.ConversionAction conversion_action = 103; - - // The conversion custom variable referenced in the query. - google.ads.googleads.v11.resources.ConversionCustomVariable conversion_custom_variable = 153; - - // The ConversionGoalCampaignConfig referenced in the query. - google.ads.googleads.v11.resources.ConversionGoalCampaignConfig conversion_goal_campaign_config = 177; - - // The conversion value rule referenced in the query. - google.ads.googleads.v11.resources.ConversionValueRule conversion_value_rule = 164; - - // The conversion value rule set referenced in the query. - google.ads.googleads.v11.resources.ConversionValueRuleSet conversion_value_rule_set = 165; - - // The ClickView referenced in the query. - google.ads.googleads.v11.resources.ClickView click_view = 122; - - // The currency constant referenced in the query. - google.ads.googleads.v11.resources.CurrencyConstant currency_constant = 134; - - // The CustomAudience referenced in the query. - google.ads.googleads.v11.resources.CustomAudience custom_audience = 147; - - // The CustomConversionGoal referenced in the query. - google.ads.googleads.v11.resources.CustomConversionGoal custom_conversion_goal = 176; - - // The CustomInterest referenced in the query. - google.ads.googleads.v11.resources.CustomInterest custom_interest = 104; - - // The customer referenced in the query. - google.ads.googleads.v11.resources.Customer customer = 1; - - // The customer asset referenced in the query. - google.ads.googleads.v11.resources.CustomerAsset customer_asset = 155; - - // The accessible bidding strategy referenced in the query. - google.ads.googleads.v11.resources.AccessibleBiddingStrategy accessible_bidding_strategy = 169; - - // The customer customizer referenced in the query. - google.ads.googleads.v11.resources.CustomerCustomizer customer_customizer = 184; - - // The CustomerManagerLink referenced in the query. - google.ads.googleads.v11.resources.CustomerManagerLink customer_manager_link = 61; - - // The CustomerClientLink referenced in the query. - google.ads.googleads.v11.resources.CustomerClientLink customer_client_link = 62; - - // The CustomerClient referenced in the query. - google.ads.googleads.v11.resources.CustomerClient customer_client = 70; - - // The CustomerConversionGoal referenced in the query. - google.ads.googleads.v11.resources.CustomerConversionGoal customer_conversion_goal = 174; - - // The customer extension setting referenced in the query. - google.ads.googleads.v11.resources.CustomerExtensionSetting customer_extension_setting = 114; - - // The customer feed referenced in the query. - google.ads.googleads.v11.resources.CustomerFeed customer_feed = 64; - - // The customer label referenced in the query. - google.ads.googleads.v11.resources.CustomerLabel customer_label = 124; - - // The customer negative criterion referenced in the query. - google.ads.googleads.v11.resources.CustomerNegativeCriterion customer_negative_criterion = 88; - - // The CustomerUserAccess referenced in the query. - google.ads.googleads.v11.resources.CustomerUserAccess customer_user_access = 146; - - // The CustomerUserAccessInvitation referenced in the query. - google.ads.googleads.v11.resources.CustomerUserAccessInvitation customer_user_access_invitation = 150; - - // The customizer attribute referenced in the query. - google.ads.googleads.v11.resources.CustomizerAttribute customizer_attribute = 178; - - // The detail placement view referenced in the query. - google.ads.googleads.v11.resources.DetailPlacementView detail_placement_view = 118; - - // The detailed demographic referenced in the query. - google.ads.googleads.v11.resources.DetailedDemographic detailed_demographic = 166; - - // The display keyword view referenced in the query. - google.ads.googleads.v11.resources.DisplayKeywordView display_keyword_view = 47; - - // The distance view referenced in the query. - google.ads.googleads.v11.resources.DistanceView distance_view = 132; - - // The dynamic search ads search term view referenced in the query. - google.ads.googleads.v11.resources.DynamicSearchAdsSearchTermView dynamic_search_ads_search_term_view = 106; - - // The expanded landing page view referenced in the query. - google.ads.googleads.v11.resources.ExpandedLandingPageView expanded_landing_page_view = 128; - - // The extension feed item referenced in the query. - google.ads.googleads.v11.resources.ExtensionFeedItem extension_feed_item = 85; - - // The feed referenced in the query. - google.ads.googleads.v11.resources.Feed feed = 46; - - // The feed item referenced in the query. - google.ads.googleads.v11.resources.FeedItem feed_item = 50; - - // The feed item set referenced in the query. - google.ads.googleads.v11.resources.FeedItemSet feed_item_set = 149; - - // The feed item set link referenced in the query. - google.ads.googleads.v11.resources.FeedItemSetLink feed_item_set_link = 151; - - // The feed item target referenced in the query. - google.ads.googleads.v11.resources.FeedItemTarget feed_item_target = 116; - - // The feed mapping referenced in the query. - google.ads.googleads.v11.resources.FeedMapping feed_mapping = 58; - - // The feed placeholder view referenced in the query. - google.ads.googleads.v11.resources.FeedPlaceholderView feed_placeholder_view = 97; - - // The gender view referenced in the query. - google.ads.googleads.v11.resources.GenderView gender_view = 40; - - // The geo target constant referenced in the query. - google.ads.googleads.v11.resources.GeoTargetConstant geo_target_constant = 23; - - // The geographic view referenced in the query. - google.ads.googleads.v11.resources.GeographicView geographic_view = 125; - - // The group placement view referenced in the query. - google.ads.googleads.v11.resources.GroupPlacementView group_placement_view = 119; - - // The hotel group view referenced in the query. - google.ads.googleads.v11.resources.HotelGroupView hotel_group_view = 51; - - // The hotel performance view referenced in the query. - google.ads.googleads.v11.resources.HotelPerformanceView hotel_performance_view = 71; - - // The hotel reconciliation referenced in the query. - google.ads.googleads.v11.resources.HotelReconciliation hotel_reconciliation = 188; - - // The income range view referenced in the query. - google.ads.googleads.v11.resources.IncomeRangeView income_range_view = 138; - - // The keyword view referenced in the query. - google.ads.googleads.v11.resources.KeywordView keyword_view = 21; - - // The keyword plan referenced in the query. - google.ads.googleads.v11.resources.KeywordPlan keyword_plan = 32; - - // The keyword plan campaign referenced in the query. - google.ads.googleads.v11.resources.KeywordPlanCampaign keyword_plan_campaign = 33; - - // The keyword plan campaign keyword referenced in the query. - google.ads.googleads.v11.resources.KeywordPlanCampaignKeyword keyword_plan_campaign_keyword = 140; - - // The keyword plan ad group referenced in the query. - google.ads.googleads.v11.resources.KeywordPlanAdGroup keyword_plan_ad_group = 35; - - // The keyword plan ad group referenced in the query. - google.ads.googleads.v11.resources.KeywordPlanAdGroupKeyword keyword_plan_ad_group_keyword = 141; - - // The keyword theme constant referenced in the query. - google.ads.googleads.v11.resources.KeywordThemeConstant keyword_theme_constant = 163; - - // The label referenced in the query. - google.ads.googleads.v11.resources.Label label = 52; - - // The landing page view referenced in the query. - google.ads.googleads.v11.resources.LandingPageView landing_page_view = 126; - - // The language constant referenced in the query. - google.ads.googleads.v11.resources.LanguageConstant language_constant = 55; - - // The location view referenced in the query. - google.ads.googleads.v11.resources.LocationView location_view = 123; - - // The managed placement view referenced in the query. - google.ads.googleads.v11.resources.ManagedPlacementView managed_placement_view = 53; - - // The media file referenced in the query. - google.ads.googleads.v11.resources.MediaFile media_file = 90; - - // The mobile app category constant referenced in the query. - google.ads.googleads.v11.resources.MobileAppCategoryConstant mobile_app_category_constant = 87; - - // The mobile device constant referenced in the query. - google.ads.googleads.v11.resources.MobileDeviceConstant mobile_device_constant = 98; - - // The offline user data job referenced in the query. - google.ads.googleads.v11.resources.OfflineUserDataJob offline_user_data_job = 137; - - // The operating system version constant referenced in the query. - google.ads.googleads.v11.resources.OperatingSystemVersionConstant operating_system_version_constant = 86; - - // The paid organic search term view referenced in the query. - google.ads.googleads.v11.resources.PaidOrganicSearchTermView paid_organic_search_term_view = 129; - - // The parental status view referenced in the query. - google.ads.googleads.v11.resources.ParentalStatusView parental_status_view = 45; - - // The Product Bidding Category referenced in the query. - google.ads.googleads.v11.resources.ProductBiddingCategoryConstant product_bidding_category_constant = 109; - - // The product group view referenced in the query. - google.ads.googleads.v11.resources.ProductGroupView product_group_view = 54; - - // The recommendation referenced in the query. - google.ads.googleads.v11.resources.Recommendation recommendation = 22; - - // The search term view referenced in the query. - google.ads.googleads.v11.resources.SearchTermView search_term_view = 68; - - // The shared set referenced in the query. - google.ads.googleads.v11.resources.SharedCriterion shared_criterion = 29; - - // The shared set referenced in the query. - google.ads.googleads.v11.resources.SharedSet shared_set = 27; - - // The Smart campaign setting referenced in the query. - google.ads.googleads.v11.resources.SmartCampaignSetting smart_campaign_setting = 167; - - // The shopping performance view referenced in the query. - google.ads.googleads.v11.resources.ShoppingPerformanceView shopping_performance_view = 117; - - // The Smart campaign search term view referenced in the query. - google.ads.googleads.v11.resources.SmartCampaignSearchTermView smart_campaign_search_term_view = 170; - - // The AccountLink referenced in the query. - google.ads.googleads.v11.resources.ThirdPartyAppAnalyticsLink third_party_app_analytics_link = 144; - - // The topic view referenced in the query. - google.ads.googleads.v11.resources.TopicView topic_view = 44; - - // The experiment referenced in the query. - google.ads.googleads.v11.resources.Experiment experiment = 133; - - // The experiment arm referenced in the query. - google.ads.googleads.v11.resources.ExperimentArm experiment_arm = 183; - - // The user interest referenced in the query. - google.ads.googleads.v11.resources.UserInterest user_interest = 59; - - // The life event referenced in the query. - google.ads.googleads.v11.resources.LifeEvent life_event = 161; - - // The user list referenced in the query. - google.ads.googleads.v11.resources.UserList user_list = 38; - - // The user location view referenced in the query. - google.ads.googleads.v11.resources.UserLocationView user_location_view = 135; - - // The remarketing action referenced in the query. - google.ads.googleads.v11.resources.RemarketingAction remarketing_action = 60; - - // The topic constant referenced in the query. - google.ads.googleads.v11.resources.TopicConstant topic_constant = 31; - - // The video referenced in the query. - google.ads.googleads.v11.resources.Video video = 39; - - // The webpage view referenced in the query. - google.ads.googleads.v11.resources.WebpageView webpage_view = 162; - - // The lead form user submission referenced in the query. - google.ads.googleads.v11.resources.LeadFormSubmissionData lead_form_submission_data = 192; - - // The metrics. - google.ads.googleads.v11.common.Metrics metrics = 4; - - // The segments. - google.ads.googleads.v11.common.Segments segments = 102; -} - -// Request message for [GoogleAdsService.Mutate][google.ads.googleads.v11.services.GoogleAdsService.Mutate]. -message MutateGoogleAdsRequest { - // Required. The ID of the customer whose resources are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual resources. - repeated MutateOperation mutate_operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. The mutable - // resource will only be returned if the resource has the appropriate response - // field. For example, MutateCampaignResult.campaign. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// Response message for [GoogleAdsService.Mutate][google.ads.googleads.v11.services.GoogleAdsService.Mutate]. -message MutateGoogleAdsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All responses for the mutate. - repeated MutateOperationResponse mutate_operation_responses = 1; -} - -// A single operation (create, update, remove) on a resource. -message MutateOperation { - // The mutate operation. - oneof operation { - // An ad group ad label mutate operation. - AdGroupAdLabelOperation ad_group_ad_label_operation = 17; - - // An ad group ad mutate operation. - AdGroupAdOperation ad_group_ad_operation = 1; - - // An ad group asset mutate operation. - AdGroupAssetOperation ad_group_asset_operation = 56; - - // An ad group bid modifier mutate operation. - AdGroupBidModifierOperation ad_group_bid_modifier_operation = 2; - - // An ad group criterion customizer mutate operation. - AdGroupCriterionCustomizerOperation ad_group_criterion_customizer_operation = 77; - - // An ad group criterion label mutate operation. - AdGroupCriterionLabelOperation ad_group_criterion_label_operation = 18; - - // An ad group criterion mutate operation. - AdGroupCriterionOperation ad_group_criterion_operation = 3; - - // An ad group customizer mutate operation. - AdGroupCustomizerOperation ad_group_customizer_operation = 75; - - // An ad group extension setting mutate operation. - AdGroupExtensionSettingOperation ad_group_extension_setting_operation = 19; - - // An ad group feed mutate operation. - AdGroupFeedOperation ad_group_feed_operation = 20; - - // An ad group label mutate operation. - AdGroupLabelOperation ad_group_label_operation = 21; - - // An ad group mutate operation. - AdGroupOperation ad_group_operation = 5; - - // An ad mutate operation. - AdOperation ad_operation = 49; - - // An ad parameter mutate operation. - AdParameterOperation ad_parameter_operation = 22; - - // An asset mutate operation. - AssetOperation asset_operation = 23; - - // An asset group asset mutate operation. - AssetGroupAssetOperation asset_group_asset_operation = 65; - - // An asset group listing group filter mutate operation. - AssetGroupListingGroupFilterOperation asset_group_listing_group_filter_operation = 78; - - // An asset group signal mutate operation. - AssetGroupSignalOperation asset_group_signal_operation = 80; - - // An asset group mutate operation. - AssetGroupOperation asset_group_operation = 62; - - // An asset set asset mutate operation. - AssetSetAssetOperation asset_set_asset_operation = 71; - - // An asset set mutate operation. - AssetSetOperation asset_set_operation = 72; - - // An audience mutate operation. - AudienceOperation audience_operation = 81; - - // A bidding data exclusion mutate operation. - BiddingDataExclusionOperation bidding_data_exclusion_operation = 58; - - // A bidding seasonality adjustment mutate operation. - BiddingSeasonalityAdjustmentOperation bidding_seasonality_adjustment_operation = 59; - - // A bidding strategy mutate operation. - BiddingStrategyOperation bidding_strategy_operation = 6; - - // A campaign asset mutate operation. - CampaignAssetOperation campaign_asset_operation = 52; - - // A campaign asset mutate operation. - CampaignAssetSetOperation campaign_asset_set_operation = 73; - - // A campaign bid modifier mutate operation. - CampaignBidModifierOperation campaign_bid_modifier_operation = 7; - - // A campaign budget mutate operation. - CampaignBudgetOperation campaign_budget_operation = 8; - - // A campaign conversion goal mutate operation. - CampaignConversionGoalOperation campaign_conversion_goal_operation = 67; - - // A campaign criterion mutate operation. - CampaignCriterionOperation campaign_criterion_operation = 13; - - // An campaign customizer mutate operation. - CampaignCustomizerOperation campaign_customizer_operation = 76; - - // A campaign draft mutate operation. - CampaignDraftOperation campaign_draft_operation = 24; - - // A campaign experiment mutate operation. - CampaignExperimentOperation campaign_experiment_operation = 25; - - // A campaign extension setting mutate operation. - CampaignExtensionSettingOperation campaign_extension_setting_operation = 26; - - // A campaign feed mutate operation. - CampaignFeedOperation campaign_feed_operation = 27; - - // A campaign group mutate operation. - CampaignGroupOperation campaign_group_operation = 9; - - // A campaign label mutate operation. - CampaignLabelOperation campaign_label_operation = 28; - - // A campaign mutate operation. - CampaignOperation campaign_operation = 10; - - // A campaign shared set mutate operation. - CampaignSharedSetOperation campaign_shared_set_operation = 11; - - // A conversion action mutate operation. - ConversionActionOperation conversion_action_operation = 12; - - // A conversion custom variable mutate operation. - ConversionCustomVariableOperation conversion_custom_variable_operation = 55; - - // A conversion goal campaign config mutate operation. - ConversionGoalCampaignConfigOperation conversion_goal_campaign_config_operation = 69; - - // A conversion value rule mutate operation. - ConversionValueRuleOperation conversion_value_rule_operation = 63; - - // A conversion value rule set mutate operation. - ConversionValueRuleSetOperation conversion_value_rule_set_operation = 64; - - // A custom conversion goal mutate operation. - CustomConversionGoalOperation custom_conversion_goal_operation = 68; - - // A customer asset mutate operation. - CustomerAssetOperation customer_asset_operation = 57; - - // A customer conversion goal mutate operation. - CustomerConversionGoalOperation customer_conversion_goal_operation = 66; - - // An customer customizer mutate operation. - CustomerCustomizerOperation customer_customizer_operation = 79; - - // A customer extension setting mutate operation. - CustomerExtensionSettingOperation customer_extension_setting_operation = 30; - - // A customer feed mutate operation. - CustomerFeedOperation customer_feed_operation = 31; - - // A customer label mutate operation. - CustomerLabelOperation customer_label_operation = 32; - - // A customer negative criterion mutate operation. - CustomerNegativeCriterionOperation customer_negative_criterion_operation = 34; - - // A customer mutate operation. - CustomerOperation customer_operation = 35; - - // An customizer attribute mutate operation. - CustomizerAttributeOperation customizer_attribute_operation = 70; - - // An experiment mutate operation. - ExperimentOperation experiment_operation = 82; - - // An experiment arm mutate operation. - ExperimentArmOperation experiment_arm_operation = 83; - - // An extension feed item mutate operation. - ExtensionFeedItemOperation extension_feed_item_operation = 36; - - // A feed item mutate operation. - FeedItemOperation feed_item_operation = 37; - - // A feed item set mutate operation. - FeedItemSetOperation feed_item_set_operation = 53; - - // A feed item set link mutate operation. - FeedItemSetLinkOperation feed_item_set_link_operation = 54; - - // A feed item target mutate operation. - FeedItemTargetOperation feed_item_target_operation = 38; - - // A feed mapping mutate operation. - FeedMappingOperation feed_mapping_operation = 39; - - // A feed mutate operation. - FeedOperation feed_operation = 40; - - // A keyword plan ad group operation. - KeywordPlanAdGroupOperation keyword_plan_ad_group_operation = 44; - - // A keyword plan ad group keyword operation. - KeywordPlanAdGroupKeywordOperation keyword_plan_ad_group_keyword_operation = 50; - - // A keyword plan campaign keyword operation. - KeywordPlanCampaignKeywordOperation keyword_plan_campaign_keyword_operation = 51; - - // A keyword plan campaign operation. - KeywordPlanCampaignOperation keyword_plan_campaign_operation = 45; - - // A keyword plan operation. - KeywordPlanOperation keyword_plan_operation = 48; - - // A label mutate operation. - LabelOperation label_operation = 41; - - // A media file mutate operation. - MediaFileOperation media_file_operation = 42; - - // A remarketing action mutate operation. - RemarketingActionOperation remarketing_action_operation = 43; - - // A shared criterion mutate operation. - SharedCriterionOperation shared_criterion_operation = 14; - - // A shared set mutate operation. - SharedSetOperation shared_set_operation = 15; - - // A Smart campaign setting mutate operation. - SmartCampaignSettingOperation smart_campaign_setting_operation = 61; - - // A user list mutate operation. - UserListOperation user_list_operation = 16; - } -} - -// Response message for the resource mutate. -message MutateOperationResponse { - // The mutate response. - oneof response { - // The result for the ad group ad label mutate. - MutateAdGroupAdLabelResult ad_group_ad_label_result = 17; - - // The result for the ad group ad mutate. - MutateAdGroupAdResult ad_group_ad_result = 1; - - // The result for the ad group asset mutate. - MutateAdGroupAssetResult ad_group_asset_result = 56; - - // The result for the ad group bid modifier mutate. - MutateAdGroupBidModifierResult ad_group_bid_modifier_result = 2; - - // The result for the ad group criterion customizer mutate. - MutateAdGroupCriterionCustomizerResult ad_group_criterion_customizer_result = 77; - - // The result for the ad group criterion label mutate. - MutateAdGroupCriterionLabelResult ad_group_criterion_label_result = 18; - - // The result for the ad group criterion mutate. - MutateAdGroupCriterionResult ad_group_criterion_result = 3; - - // The result for the ad group customizer mutate. - MutateAdGroupCustomizerResult ad_group_customizer_result = 75; - - // The result for the ad group extension setting mutate. - MutateAdGroupExtensionSettingResult ad_group_extension_setting_result = 19; - - // The result for the ad group feed mutate. - MutateAdGroupFeedResult ad_group_feed_result = 20; - - // The result for the ad group label mutate. - MutateAdGroupLabelResult ad_group_label_result = 21; - - // The result for the ad group mutate. - MutateAdGroupResult ad_group_result = 5; - - // The result for the ad parameter mutate. - MutateAdParameterResult ad_parameter_result = 22; - - // The result for the ad mutate. - MutateAdResult ad_result = 49; - - // The result for the asset mutate. - MutateAssetResult asset_result = 23; - - // The result for the asset group asset mutate. - MutateAssetGroupAssetResult asset_group_asset_result = 65; - - // The result for the asset group listing group filter mutate. - MutateAssetGroupListingGroupFilterResult asset_group_listing_group_filter_result = 78; - - // The result for the asset group signal mutate. - MutateAssetGroupSignalResult asset_group_signal_result = 79; - - // The result for the asset group mutate. - MutateAssetGroupResult asset_group_result = 62; - - // The result for the asset set asset mutate. - MutateAssetSetAssetResult asset_set_asset_result = 71; - - // The result for the asset set mutate. - MutateAssetSetResult asset_set_result = 72; - - // The result for the audience mutate. - MutateAudienceResult audience_result = 80; - - // The result for the bidding data exclusion mutate. - MutateBiddingDataExclusionsResult bidding_data_exclusion_result = 58; - - // The result for the bidding seasonality adjustment mutate. - MutateBiddingSeasonalityAdjustmentsResult bidding_seasonality_adjustment_result = 59; - - // The result for the bidding strategy mutate. - MutateBiddingStrategyResult bidding_strategy_result = 6; - - // The result for the campaign asset mutate. - MutateCampaignAssetResult campaign_asset_result = 52; - - // The result for the campaign asset set mutate. - MutateCampaignAssetSetResult campaign_asset_set_result = 73; - - // The result for the campaign bid modifier mutate. - MutateCampaignBidModifierResult campaign_bid_modifier_result = 7; - - // The result for the campaign budget mutate. - MutateCampaignBudgetResult campaign_budget_result = 8; - - // The result for the campaign conversion goal mutate. - MutateCampaignConversionGoalResult campaign_conversion_goal_result = 67; - - // The result for the campaign criterion mutate. - MutateCampaignCriterionResult campaign_criterion_result = 13; - - // The result for the campaign customizer mutate. - MutateCampaignCustomizerResult campaign_customizer_result = 76; - - // The result for the campaign draft mutate. - MutateCampaignDraftResult campaign_draft_result = 24; - - // The result for the campaign experiment mutate. - MutateCampaignExperimentResult campaign_experiment_result = 25; - - // The result for the campaign extension setting mutate. - MutateCampaignExtensionSettingResult campaign_extension_setting_result = 26; - - // The result for the campaign feed mutate. - MutateCampaignFeedResult campaign_feed_result = 27; - - // The result for the campaign group mutate. - MutateCampaignGroupResult campaign_group_result = 9; - - // The result for the campaign label mutate. - MutateCampaignLabelResult campaign_label_result = 28; - - // The result for the campaign mutate. - MutateCampaignResult campaign_result = 10; - - // The result for the campaign shared set mutate. - MutateCampaignSharedSetResult campaign_shared_set_result = 11; - - // The result for the conversion action mutate. - MutateConversionActionResult conversion_action_result = 12; - - // The result for the conversion custom variable mutate. - MutateConversionCustomVariableResult conversion_custom_variable_result = 55; - - // The result for the conversion goal campaign config mutate. - MutateConversionGoalCampaignConfigResult conversion_goal_campaign_config_result = 69; - - // The result for the conversion value rule mutate. - MutateConversionValueRuleResult conversion_value_rule_result = 63; - - // The result for the conversion value rule set mutate. - MutateConversionValueRuleSetResult conversion_value_rule_set_result = 64; - - // The result for the custom conversion goal mutate. - MutateCustomConversionGoalResult custom_conversion_goal_result = 68; - - // The result for the customer asset mutate. - MutateCustomerAssetResult customer_asset_result = 57; - - // The result for the customer conversion goal mutate. - MutateCustomerConversionGoalResult customer_conversion_goal_result = 66; - - // The result for the customer customizer mutate. - MutateCustomerCustomizerResult customer_customizer_result = 74; - - // The result for the customer extension setting mutate. - MutateCustomerExtensionSettingResult customer_extension_setting_result = 30; - - // The result for the customer feed mutate. - MutateCustomerFeedResult customer_feed_result = 31; - - // The result for the customer label mutate. - MutateCustomerLabelResult customer_label_result = 32; - - // The result for the customer negative criterion mutate. - MutateCustomerNegativeCriteriaResult customer_negative_criterion_result = 34; - - // The result for the customer mutate. - MutateCustomerResult customer_result = 35; - - // The result for the customizer attribute mutate. - MutateCustomizerAttributeResult customizer_attribute_result = 70; - - // The result for the experiment mutate. - MutateExperimentResult experiment_result = 81; - - // The result for the experiment arm mutate. - MutateExperimentArmResult experiment_arm_result = 82; - - // The result for the extension feed item mutate. - MutateExtensionFeedItemResult extension_feed_item_result = 36; - - // The result for the feed item mutate. - MutateFeedItemResult feed_item_result = 37; - - // The result for the feed item set mutate. - MutateFeedItemSetResult feed_item_set_result = 53; - - // The result for the feed item set link mutate. - MutateFeedItemSetLinkResult feed_item_set_link_result = 54; - - // The result for the feed item target mutate. - MutateFeedItemTargetResult feed_item_target_result = 38; - - // The result for the feed mapping mutate. - MutateFeedMappingResult feed_mapping_result = 39; - - // The result for the feed mutate. - MutateFeedResult feed_result = 40; - - // The result for the keyword plan ad group mutate. - MutateKeywordPlanAdGroupResult keyword_plan_ad_group_result = 44; - - // The result for the keyword plan campaign mutate. - MutateKeywordPlanCampaignResult keyword_plan_campaign_result = 45; - - // The result for the keyword plan ad group keyword mutate. - MutateKeywordPlanAdGroupKeywordResult keyword_plan_ad_group_keyword_result = 50; - - // The result for the keyword plan campaign keyword mutate. - MutateKeywordPlanCampaignKeywordResult keyword_plan_campaign_keyword_result = 51; - - // The result for the keyword plan mutate. - MutateKeywordPlansResult keyword_plan_result = 48; - - // The result for the label mutate. - MutateLabelResult label_result = 41; - - // The result for the media file mutate. - MutateMediaFileResult media_file_result = 42; - - // The result for the remarketing action mutate. - MutateRemarketingActionResult remarketing_action_result = 43; - - // The result for the shared criterion mutate. - MutateSharedCriterionResult shared_criterion_result = 14; - - // The result for the shared set mutate. - MutateSharedSetResult shared_set_result = 15; - - // The result for the Smart campaign setting mutate. - MutateSmartCampaignSettingResult smart_campaign_setting_result = 61; - - // The result for the user list mutate. - MutateUserListResult user_list_result = 16; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/invoice_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/invoice_service.proto deleted file mode 100644 index d48ee2849..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/invoice_service.proto +++ /dev/null @@ -1,83 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/month_of_year.proto"; -import "google/ads/googleads/v11/resources/invoice.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "InvoiceServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the Invoice service. - -// A service to fetch invoices issued for a billing setup during a given month. -service InvoiceService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Returns all invoices associated with a billing setup, for a given month. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [InvoiceError]() - // [QuotaError]() - // [RequestError]() - rpc ListInvoices(ListInvoicesRequest) returns (ListInvoicesResponse) { - option (google.api.http) = { - get: "/v11/customers/{customer_id=*}/invoices" - }; - option (google.api.method_signature) = "customer_id,billing_setup,issue_year,issue_month"; - } -} - -// Request message for fetching the invoices of a given billing setup that were -// issued during a given month. -message ListInvoicesRequest { - // Required. The ID of the customer to fetch invoices for. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The billing setup resource name of the requested invoices. - // - // `customers/{customer_id}/billingSetups/{billing_setup_id}` - string billing_setup = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. The issue year to retrieve invoices, in yyyy format. Only - // invoices issued in 2019 or later can be retrieved. - string issue_year = 3 [(google.api.field_behavior) = REQUIRED]; - - // Required. The issue month to retrieve invoices. - google.ads.googleads.v11.enums.MonthOfYearEnum.MonthOfYear issue_month = 4 [(google.api.field_behavior) = REQUIRED]; -} - -// Response message for [InvoiceService.ListInvoices][google.ads.googleads.v11.services.InvoiceService.ListInvoices]. -message ListInvoicesResponse { - // The list of invoices that match the billing setup and time period. - repeated google.ads.googleads.v11.resources.Invoice invoices = 1; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/keyword_plan_ad_group_keyword_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/keyword_plan_ad_group_keyword_service.proto deleted file mode 100644 index bdf201767..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/keyword_plan_ad_group_keyword_service.proto +++ /dev/null @@ -1,139 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/resources/keyword_plan_ad_group_keyword.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanAdGroupKeywordServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the keyword plan ad group keyword service. - -// Service to manage Keyword Plan ad group keywords. KeywordPlanAdGroup is -// required to add ad group keywords. Positive and negative keywords are -// supported. A maximum of 10,000 positive keywords are allowed per keyword -// plan. A maximum of 1,000 negative keywords are allower per keyword plan. This -// includes campaign negative keywords and ad group negative keywords. -service KeywordPlanAdGroupKeywordService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes Keyword Plan ad group keywords. Operation - // statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [KeywordPlanAdGroupKeywordError]() - // [KeywordPlanError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - rpc MutateKeywordPlanAdGroupKeywords(MutateKeywordPlanAdGroupKeywordsRequest) returns (MutateKeywordPlanAdGroupKeywordsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/keywordPlanAdGroupKeywords:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [KeywordPlanAdGroupKeywordService.MutateKeywordPlanAdGroupKeywords][google.ads.googleads.v11.services.KeywordPlanAdGroupKeywordService.MutateKeywordPlanAdGroupKeywords]. -message MutateKeywordPlanAdGroupKeywordsRequest { - // Required. The ID of the customer whose Keyword Plan ad group keywords are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual Keyword Plan ad group - // keywords. - repeated KeywordPlanAdGroupKeywordOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, update, remove) on a Keyword Plan ad group -// keyword. -message KeywordPlanAdGroupKeywordOperation { - // The FieldMask that determines which resource fields are modified in an - // update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new Keyword Plan - // ad group keyword. - google.ads.googleads.v11.resources.KeywordPlanAdGroupKeyword create = 1; - - // Update operation: The Keyword Plan ad group keyword is expected to have a - // valid resource name. - google.ads.googleads.v11.resources.KeywordPlanAdGroupKeyword update = 2; - - // Remove operation: A resource name for the removed Keyword Plan ad group - // keyword is expected, in this format: - // - // `customers/{customer_id}/keywordPlanAdGroupKeywords/{kp_ad_group_keyword_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlanAdGroupKeyword" - }]; - } -} - -// Response message for a Keyword Plan ad group keyword mutate. -message MutateKeywordPlanAdGroupKeywordsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateKeywordPlanAdGroupKeywordResult results = 2; -} - -// The result for the Keyword Plan ad group keyword mutate. -message MutateKeywordPlanAdGroupKeywordResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlanAdGroupKeyword" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/keyword_plan_ad_group_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/keyword_plan_ad_group_service.proto deleted file mode 100644 index bd3a2d457..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/keyword_plan_ad_group_service.proto +++ /dev/null @@ -1,134 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/resources/keyword_plan_ad_group.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanAdGroupServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the keyword plan ad group service. - -// Service to manage Keyword Plan ad groups. -service KeywordPlanAdGroupService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes Keyword Plan ad groups. Operation statuses are - // returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [InternalError]() - // [KeywordPlanAdGroupError]() - // [KeywordPlanError]() - // [MutateError]() - // [NewResourceCreationError]() - // [QuotaError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - rpc MutateKeywordPlanAdGroups(MutateKeywordPlanAdGroupsRequest) returns (MutateKeywordPlanAdGroupsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/keywordPlanAdGroups:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [KeywordPlanAdGroupService.MutateKeywordPlanAdGroups][google.ads.googleads.v11.services.KeywordPlanAdGroupService.MutateKeywordPlanAdGroups]. -message MutateKeywordPlanAdGroupsRequest { - // Required. The ID of the customer whose Keyword Plan ad groups are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual Keyword Plan ad groups. - repeated KeywordPlanAdGroupOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, update, remove) on a Keyword Plan ad group. -message KeywordPlanAdGroupOperation { - // The FieldMask that determines which resource fields are modified in an - // update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new Keyword Plan - // ad group. - google.ads.googleads.v11.resources.KeywordPlanAdGroup create = 1; - - // Update operation: The Keyword Plan ad group is expected to have a valid - // resource name. - google.ads.googleads.v11.resources.KeywordPlanAdGroup update = 2; - - // Remove operation: A resource name for the removed Keyword Plan ad group - // is expected, in this format: - // - // `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlanAdGroup" - }]; - } -} - -// Response message for a Keyword Plan ad group mutate. -message MutateKeywordPlanAdGroupsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. The order of the results is determined by the - // order of the keywords in the original request. - repeated MutateKeywordPlanAdGroupResult results = 2; -} - -// The result for the Keyword Plan ad group mutate. -message MutateKeywordPlanAdGroupResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlanAdGroup" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/keyword_plan_campaign_keyword_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/keyword_plan_campaign_keyword_service.proto deleted file mode 100644 index 43757166b..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/keyword_plan_campaign_keyword_service.proto +++ /dev/null @@ -1,136 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/resources/keyword_plan_campaign_keyword.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanCampaignKeywordServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the keyword plan campaign keyword service. - -// Service to manage Keyword Plan campaign keywords. KeywordPlanCampaign is -// required to add the campaign keywords. Only negative keywords are supported. -// A maximum of 1000 negative keywords are allowed per plan. This includes both -// campaign negative keywords and ad group negative keywords. -service KeywordPlanCampaignKeywordService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes Keyword Plan campaign keywords. Operation - // statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [KeywordPlanAdGroupKeywordError]() - // [KeywordPlanCampaignKeywordError]() - // [QuotaError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - rpc MutateKeywordPlanCampaignKeywords(MutateKeywordPlanCampaignKeywordsRequest) returns (MutateKeywordPlanCampaignKeywordsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/keywordPlanCampaignKeywords:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords][google.ads.googleads.v11.services.KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords]. -message MutateKeywordPlanCampaignKeywordsRequest { - // Required. The ID of the customer whose campaign keywords are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual Keyword Plan campaign - // keywords. - repeated KeywordPlanCampaignKeywordOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, update, remove) on a Keyword Plan campaign -// keyword. -message KeywordPlanCampaignKeywordOperation { - // The FieldMask that determines which resource fields are modified in an - // update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new Keyword Plan - // campaign keyword. - google.ads.googleads.v11.resources.KeywordPlanCampaignKeyword create = 1; - - // Update operation: The Keyword Plan campaign keyword expected to have a - // valid resource name. - google.ads.googleads.v11.resources.KeywordPlanCampaignKeyword update = 2; - - // Remove operation: A resource name for the removed Keyword Plan campaign - // keywords expected in this format: - // - // `customers/{customer_id}/keywordPlanCampaignKeywords/{kp_campaign_keyword_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlanCampaignKeyword" - }]; - } -} - -// Response message for a Keyword Plan campaign keyword mutate. -message MutateKeywordPlanCampaignKeywordsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateKeywordPlanCampaignKeywordResult results = 2; -} - -// The result for the Keyword Plan campaign keyword mutate. -message MutateKeywordPlanCampaignKeywordResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlanCampaignKeyword" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/keyword_plan_campaign_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/keyword_plan_campaign_service.proto deleted file mode 100644 index 83f622263..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/keyword_plan_campaign_service.proto +++ /dev/null @@ -1,135 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/resources/keyword_plan_campaign.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanCampaignServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the keyword plan campaign service. - -// Service to manage Keyword Plan campaigns. -service KeywordPlanCampaignService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes Keyword Plan campaigns. Operation statuses are - // returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [InternalError]() - // [KeywordPlanCampaignError]() - // [KeywordPlanError]() - // [ListOperationError]() - // [MutateError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - rpc MutateKeywordPlanCampaigns(MutateKeywordPlanCampaignsRequest) returns (MutateKeywordPlanCampaignsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/keywordPlanCampaigns:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [KeywordPlanCampaignService.MutateKeywordPlanCampaigns][google.ads.googleads.v11.services.KeywordPlanCampaignService.MutateKeywordPlanCampaigns]. -message MutateKeywordPlanCampaignsRequest { - // Required. The ID of the customer whose Keyword Plan campaigns are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual Keyword Plan campaigns. - repeated KeywordPlanCampaignOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, update, remove) on a Keyword Plan campaign. -message KeywordPlanCampaignOperation { - // The FieldMask that determines which resource fields are modified in an - // update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new Keyword Plan - // campaign. - google.ads.googleads.v11.resources.KeywordPlanCampaign create = 1; - - // Update operation: The Keyword Plan campaign is expected to have a valid - // resource name. - google.ads.googleads.v11.resources.KeywordPlanCampaign update = 2; - - // Remove operation: A resource name for the removed Keyword Plan campaign - // is expected, in this format: - // - // `customers/{customer_id}/keywordPlanCampaigns/{keywordPlan_campaign_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlanCampaign" - }]; - } -} - -// Response message for a Keyword Plan campaign mutate. -message MutateKeywordPlanCampaignsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateKeywordPlanCampaignResult results = 2; -} - -// The result for the Keyword Plan campaign mutate. -message MutateKeywordPlanCampaignResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlanCampaign" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/keyword_plan_idea_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/keyword_plan_idea_service.proto deleted file mode 100644 index 9693829af..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/keyword_plan_idea_service.proto +++ /dev/null @@ -1,352 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/common/keyword_plan_common.proto"; -import "google/ads/googleads/v11/enums/keyword_match_type.proto"; -import "google/ads/googleads/v11/enums/keyword_plan_keyword_annotation.proto"; -import "google/ads/googleads/v11/enums/keyword_plan_network.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanIdeaServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the keyword plan idea service. - -// Service to generate keyword ideas. -service KeywordPlanIdeaService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Returns a list of keyword ideas. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [HeaderError]() - // [InternalError]() - // [KeywordPlanIdeaError]() - // [QuotaError]() - // [RequestError]() - rpc GenerateKeywordIdeas(GenerateKeywordIdeasRequest) returns (GenerateKeywordIdeaResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}:generateKeywordIdeas" - body: "*" - }; - } - - // Returns a list of keyword historical metrics. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc GenerateKeywordHistoricalMetrics(GenerateKeywordHistoricalMetricsRequest) returns (GenerateKeywordHistoricalMetricsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}:generateKeywordHistoricalMetrics" - body: "*" - }; - } - - // Returns a list of suggested AdGroups and suggested modifications - // (text, match type) for the given keywords. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc GenerateAdGroupThemes(GenerateAdGroupThemesRequest) returns (GenerateAdGroupThemesResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}:generateAdGroupThemes" - body: "*" - }; - } -} - -// Request message for [KeywordPlanIdeaService.GenerateKeywordIdeas][google.ads.googleads.v11.services.KeywordPlanIdeaService.GenerateKeywordIdeas]. -message GenerateKeywordIdeasRequest { - // The ID of the customer with the recommendation. - string customer_id = 1; - - // The resource name of the language to target. - // Each keyword belongs to some set of languages; a keyword is included if - // language is one of its languages. - // If not set, all keywords will be included. - optional string language = 14; - - // The resource names of the location to target. Maximum is 10. - // An empty list MAY be used to specify all targeting geos. - repeated string geo_target_constants = 15; - - // If true, adult keywords will be included in response. - // The default value is false. - bool include_adult_keywords = 10; - - // Token of the page to retrieve. If not specified, the first - // page of results will be returned. To request next page of results use the - // value obtained from `next_page_token` in the previous response. - // The request fields must match across pages. - string page_token = 12; - - // Number of results to retrieve in a single page. - // A maximum of 10,000 results may be returned, if the page_size - // exceeds this, it is ignored. - // If unspecified, at most 10,000 results will be returned. - // The server may decide to further limit the number of returned resources. - // If the response contains fewer than 10,000 results it may not be assumed - // as last page of results. - int32 page_size = 13; - - // Targeting network. - // If not set, Google Search And Partners Network will be used. - google.ads.googleads.v11.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork keyword_plan_network = 9; - - // The keyword annotations to include in response. - repeated google.ads.googleads.v11.enums.KeywordPlanKeywordAnnotationEnum.KeywordPlanKeywordAnnotation keyword_annotation = 17; - - // The aggregate fields to include in response. - google.ads.googleads.v11.common.KeywordPlanAggregateMetrics aggregate_metrics = 16; - - // The options for historical metrics data. - google.ads.googleads.v11.common.HistoricalMetricsOptions historical_metrics_options = 18; - - // The type of seed to generate keyword ideas. - oneof seed { - // A Keyword and a specific Url to generate ideas from - // for example, cars, www.example.com/cars. - KeywordAndUrlSeed keyword_and_url_seed = 2; - - // A Keyword or phrase to generate ideas from, for example, cars. - KeywordSeed keyword_seed = 3; - - // A specific url to generate ideas from, for example, www.example.com/cars. - UrlSeed url_seed = 5; - - // The site to generate ideas from, for example, www.example.com. - SiteSeed site_seed = 11; - } -} - -// Keyword And Url Seed -message KeywordAndUrlSeed { - // The URL to crawl in order to generate keyword ideas. - optional string url = 3; - - // Requires at least one keyword. - repeated string keywords = 4; -} - -// Keyword Seed -message KeywordSeed { - // Requires at least one keyword. - repeated string keywords = 2; -} - -// Site Seed -message SiteSeed { - // The domain name of the site. If the customer requesting the ideas doesn't - // own the site provided only public information is returned. - optional string site = 2; -} - -// Url Seed -message UrlSeed { - // The URL to crawl in order to generate keyword ideas. - optional string url = 2; -} - -// Response message for [KeywordPlanIdeaService.GenerateKeywordIdeas][google.ads.googleads.v11.services.KeywordPlanIdeaService.GenerateKeywordIdeas]. -message GenerateKeywordIdeaResponse { - // Results of generating keyword ideas. - repeated GenerateKeywordIdeaResult results = 1; - - // The aggregate metrics for all keyword ideas. - google.ads.googleads.v11.common.KeywordPlanAggregateMetricResults aggregate_metric_results = 4; - - // Pagination token used to retrieve the next page of results. - // Pass the content of this string as the `page_token` attribute of - // the next request. - // `next_page_token` is not returned for the last page. - string next_page_token = 2; - - // Total number of results available. - int64 total_size = 3; -} - -// The result of generating keyword ideas. -message GenerateKeywordIdeaResult { - // Text of the keyword idea. - // As in Keyword Plan historical metrics, this text may not be an actual - // keyword, but the canonical form of multiple keywords. - // See KeywordPlanKeywordHistoricalMetrics message in KeywordPlanService. - optional string text = 5; - - // The historical metrics for the keyword. - google.ads.googleads.v11.common.KeywordPlanHistoricalMetrics keyword_idea_metrics = 3; - - // The annotations for the keyword. - // The annotation data is only provided if requested. - google.ads.googleads.v11.common.KeywordAnnotations keyword_annotations = 6; - - // The list of close variants from the requested keywords that - // are combined into this GenerateKeywordIdeaResult. See - // https://support.google.com/google-ads/answer/9342105 for the - // definition of "close variants". - repeated string close_variants = 7; -} - -// Request message for -// [KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics][google.ads.googleads.v11.services.KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics]. -message GenerateKeywordHistoricalMetricsRequest { - // The ID of the customer with the recommendation. - string customer_id = 1; - - // A list of keywords to get historical metrics. - // Not all inputs will be returned as a result of near-exact deduplication. - // For example, if stats for "car" and "cars" are requested, only "car" will - // be returned. - // A maximum of 10,000 keywords can be used. - repeated string keywords = 2; - - // The resource name of the language to target. - // Each keyword belongs to some set of languages; a keyword is included if - // language is one of its languages. - // If not set, all keywords will be included. - optional string language = 4; - - // If true, adult keywords will be included in response. - // The default value is false. - bool include_adult_keywords = 5; - - // The resource names of the location to target. Maximum is 10. - // An empty list MAY be used to specify all targeting geos. - repeated string geo_target_constants = 6; - - // Targeting network. - // If not set, Google Search And Partners Network will be used. - google.ads.googleads.v11.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork keyword_plan_network = 7; - - // The aggregate fields to include in response. - google.ads.googleads.v11.common.KeywordPlanAggregateMetrics aggregate_metrics = 8; - - // The options for historical metrics data. - google.ads.googleads.v11.common.HistoricalMetricsOptions historical_metrics_options = 3; -} - -// Response message for -// [KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics][google.ads.googleads.v11.services.KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics]. -message GenerateKeywordHistoricalMetricsResponse { - // List of keywords and their historical metrics. - repeated GenerateKeywordHistoricalMetricsResult results = 1; - - // The aggregate metrics for all keywords. - google.ads.googleads.v11.common.KeywordPlanAggregateMetricResults aggregate_metric_results = 2; -} - -// The result of generating keyword historical metrics. -message GenerateKeywordHistoricalMetricsResult { - // The text of the query associated with one or more keywords. - // Note that we de-dupe your keywords list, eliminating close variants - // before returning the keywords as text. For example, if your request - // originally contained the keywords "car" and "cars", the returned search - // query will only contain "cars". The list of de-duped queries will be - // included in close_variants field. - optional string text = 1; - - // The list of close variants from the requested keywords whose stats - // are combined into this GenerateKeywordHistoricalMetricsResult. - repeated string close_variants = 3; - - // The historical metrics for text and its close variants - google.ads.googleads.v11.common.KeywordPlanHistoricalMetrics keyword_metrics = 2; -} - -// Request message for -// [KeywordPlanIdeaService.GenerateAdGroupThemes][google.ads.googleads.v11.services.KeywordPlanIdeaService.GenerateAdGroupThemes]. -message GenerateAdGroupThemesRequest { - // Required. The ID of the customer. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. A list of keywords to group into the provided AdGroups. - repeated string keywords = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. A list of resource names of AdGroups to group keywords into. - // Resource name format: `customers/{customer_id}/adGroups/{ad_group_id}` - repeated string ad_groups = 3 [(google.api.field_behavior) = REQUIRED]; -} - -// Response message for -// [KeywordPlanIdeaService.GenerateAdGroupThemes][google.ads.googleads.v11.services.KeywordPlanIdeaService.GenerateAdGroupThemes]. -message GenerateAdGroupThemesResponse { - // A list of suggested AdGroup/keyword pairings. - repeated AdGroupKeywordSuggestion ad_group_keyword_suggestions = 1; - - // A list of provided AdGroups that could not be used as suggestions. - repeated UnusableAdGroup unusable_ad_groups = 2; -} - -// The suggested text and AdGroup/Campaign pairing for a given keyword. -message AdGroupKeywordSuggestion { - // The original keyword text. - string keyword_text = 1; - - // The normalized version of keyword_text for BROAD/EXACT/PHRASE suggestions. - string suggested_keyword_text = 2; - - // The suggested keyword match type. - google.ads.googleads.v11.enums.KeywordMatchTypeEnum.KeywordMatchType suggested_match_type = 3; - - // The suggested AdGroup for the keyword. - // Resource name format: `customers/{customer_id}/adGroups/{ad_group_id}` - string suggested_ad_group = 4; - - // The suggested Campaign for the keyword. - // Resource name format: `customers/{customer_id}/campaigns/{campaign_id}` - string suggested_campaign = 5; -} - -// An AdGroup/Campaign pair that could not be used as a suggestion for keywords. -// -// AdGroups may not be usable if the AdGroup -// * belongs to Campaign that is not ENABLED or PAUSED -// * is itself not ENABLED -message UnusableAdGroup { - // The AdGroup resource name. - // Resource name format: `customers/{customer_id}/adGroups/{ad_group_id}` - string ad_group = 1; - - // The Campaign resource name. - // Resource name format: `customers/{customer_id}/campaigns/{campaign_id}` - string campaign = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/keyword_plan_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/keyword_plan_service.proto deleted file mode 100644 index 8039ed6cd..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/keyword_plan_service.proto +++ /dev/null @@ -1,421 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/common/keyword_plan_common.proto"; -import "google/ads/googleads/v11/resources/keyword_plan.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the keyword plan service. - -// Service to manage keyword plans. -service KeywordPlanService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes keyword plans. Operation statuses are - // returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [KeywordPlanError]() - // [MutateError]() - // [NewResourceCreationError]() - // [QuotaError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - // [StringLengthError]() - rpc MutateKeywordPlans(MutateKeywordPlansRequest) returns (MutateKeywordPlansResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/keywordPlans:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } - - // Returns the requested Keyword Plan forecast curve. - // Only the bidding strategy is considered for generating forecast curve. - // The bidding strategy value specified in the plan is ignored. - // - // To generate a forecast at a value specified in the plan, use - // KeywordPlanService.GenerateForecastMetrics. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [KeywordPlanError]() - // [QuotaError]() - // [RequestError]() - rpc GenerateForecastCurve(GenerateForecastCurveRequest) returns (GenerateForecastCurveResponse) { - option (google.api.http) = { - post: "/v11/{keyword_plan=customers/*/keywordPlans/*}:generateForecastCurve" - body: "*" - }; - option (google.api.method_signature) = "keyword_plan"; - } - - // Returns a forecast in the form of a time series for the Keyword Plan over - // the next 52 weeks. - // (1) Forecasts closer to the current date are generally more accurate than - // further out. - // - // (2) The forecast reflects seasonal trends using current and - // prior traffic patterns. The forecast period of the plan is ignored. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [KeywordPlanError]() - // [QuotaError]() - // [RequestError]() - rpc GenerateForecastTimeSeries(GenerateForecastTimeSeriesRequest) returns (GenerateForecastTimeSeriesResponse) { - option (google.api.http) = { - post: "/v11/{keyword_plan=customers/*/keywordPlans/*}:generateForecastTimeSeries" - body: "*" - }; - option (google.api.method_signature) = "keyword_plan"; - } - - // Returns the requested Keyword Plan forecasts. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [KeywordPlanError]() - // [QuotaError]() - // [RequestError]() - rpc GenerateForecastMetrics(GenerateForecastMetricsRequest) returns (GenerateForecastMetricsResponse) { - option (google.api.http) = { - post: "/v11/{keyword_plan=customers/*/keywordPlans/*}:generateForecastMetrics" - body: "*" - }; - option (google.api.method_signature) = "keyword_plan"; - } - - // Returns the requested Keyword Plan historical metrics. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [KeywordPlanError]() - // [QuotaError]() - // [RequestError]() - rpc GenerateHistoricalMetrics(GenerateHistoricalMetricsRequest) returns (GenerateHistoricalMetricsResponse) { - option (google.api.http) = { - post: "/v11/{keyword_plan=customers/*/keywordPlans/*}:generateHistoricalMetrics" - body: "*" - }; - option (google.api.method_signature) = "keyword_plan"; - } -} - -// Request message for [KeywordPlanService.MutateKeywordPlans][google.ads.googleads.v11.services.KeywordPlanService.MutateKeywordPlans]. -message MutateKeywordPlansRequest { - // Required. The ID of the customer whose keyword plans are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual keyword plans. - repeated KeywordPlanOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, update, remove) on a keyword plan. -message KeywordPlanOperation { - // The FieldMask that determines which resource fields are modified in an - // update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new keyword plan. - google.ads.googleads.v11.resources.KeywordPlan create = 1; - - // Update operation: The keyword plan is expected to have a valid resource - // name. - google.ads.googleads.v11.resources.KeywordPlan update = 2; - - // Remove operation: A resource name for the removed keyword plan is - // expected in this format: - // - // `customers/{customer_id}/keywordPlans/{keyword_plan_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlan" - }]; - } -} - -// Response message for a keyword plan mutate. -message MutateKeywordPlansResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateKeywordPlansResult results = 2; -} - -// The result for the keyword plan mutate. -message MutateKeywordPlansResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlan" - }]; -} - -// Request message for [KeywordPlanService.GenerateForecastCurve][google.ads.googleads.v11.services.KeywordPlanService.GenerateForecastCurve]. -message GenerateForecastCurveRequest { - // Required. The resource name of the keyword plan to be forecasted. - string keyword_plan = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlan" - } - ]; -} - -// Response message for [KeywordPlanService.GenerateForecastCurve][google.ads.googleads.v11.services.KeywordPlanService.GenerateForecastCurve]. -message GenerateForecastCurveResponse { - // List of forecast curves for the keyword plan campaign. - // One maximum. - repeated KeywordPlanCampaignForecastCurve campaign_forecast_curves = 1; -} - -// Request message for [KeywordPlanService.GenerateForecastTimeSeries][google.ads.googleads.v11.services.KeywordPlanService.GenerateForecastTimeSeries]. -message GenerateForecastTimeSeriesRequest { - // Required. The resource name of the keyword plan to be forecasted. - string keyword_plan = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlan" - } - ]; -} - -// Response message for [KeywordPlanService.GenerateForecastTimeSeries][google.ads.googleads.v11.services.KeywordPlanService.GenerateForecastTimeSeries]. -message GenerateForecastTimeSeriesResponse { - // List of weekly time series forecasts for the keyword plan campaign. - // One maximum. - repeated KeywordPlanWeeklyTimeSeriesForecast weekly_time_series_forecasts = 1; -} - -// Request message for [KeywordPlanService.GenerateForecastMetrics][google.ads.googleads.v11.services.KeywordPlanService.GenerateForecastMetrics]. -message GenerateForecastMetricsRequest { - // Required. The resource name of the keyword plan to be forecasted. - string keyword_plan = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlan" - } - ]; -} - -// Response message for [KeywordPlanService.GenerateForecastMetrics][google.ads.googleads.v11.services.KeywordPlanService.GenerateForecastMetrics]. -message GenerateForecastMetricsResponse { - // List of campaign forecasts. - // One maximum. - repeated KeywordPlanCampaignForecast campaign_forecasts = 1; - - // List of ad group forecasts. - repeated KeywordPlanAdGroupForecast ad_group_forecasts = 2; - - // List of keyword forecasts. - repeated KeywordPlanKeywordForecast keyword_forecasts = 3; -} - -// A campaign forecast. -message KeywordPlanCampaignForecast { - // The resource name of the Keyword Plan campaign related to the forecast. - // - // `customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}` - optional string keyword_plan_campaign = 3; - - // The forecast for the Keyword Plan campaign. - ForecastMetrics campaign_forecast = 2; -} - -// An ad group forecast. -message KeywordPlanAdGroupForecast { - // The resource name of the Keyword Plan ad group related to the forecast. - // - // `customers/{customer_id}/keywordPlanAdGroups/{keyword_plan_ad_group_id}` - optional string keyword_plan_ad_group = 3; - - // The forecast for the Keyword Plan ad group. - ForecastMetrics ad_group_forecast = 2; -} - -// A keyword forecast. -message KeywordPlanKeywordForecast { - // The resource name of the Keyword Plan keyword related to the forecast. - // - // `customers/{customer_id}/keywordPlanAdGroupKeywords/{keyword_plan_ad_group_keyword_id}` - optional string keyword_plan_ad_group_keyword = 3; - - // The forecast for the Keyword Plan keyword. - ForecastMetrics keyword_forecast = 2; -} - -// The forecast curve for the campaign. -message KeywordPlanCampaignForecastCurve { - // The resource name of the Keyword Plan campaign related to the forecast. - // - // `customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}` - optional string keyword_plan_campaign = 3; - - // The max cpc bid forecast curve for the campaign. - KeywordPlanMaxCpcBidForecastCurve max_cpc_bid_forecast_curve = 2; -} - -// The max cpc bid forecast curve. -message KeywordPlanMaxCpcBidForecastCurve { - // The forecasts for the Keyword Plan campaign at different max CPC bids. - repeated KeywordPlanMaxCpcBidForecast max_cpc_bid_forecasts = 1; -} - -// The forecast of the campaign at a specific bid. -message KeywordPlanMaxCpcBidForecast { - // The max cpc bid in micros. - optional int64 max_cpc_bid_micros = 3; - - // The forecast for the Keyword Plan campaign at the specific bid. - ForecastMetrics max_cpc_bid_forecast = 2; -} - -// The weekly time series forecast for the keyword plan campaign. -message KeywordPlanWeeklyTimeSeriesForecast { - // The resource name of the Keyword Plan campaign related to the forecast. - // - // `customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}` - optional string keyword_plan_campaign = 1; - - // The forecasts for the Keyword Plan campaign at different max CPC bids. - repeated KeywordPlanWeeklyForecast weekly_forecasts = 2; -} - -// The forecast of the campaign for the week starting start_date. -message KeywordPlanWeeklyForecast { - // The start date, in yyyy-mm-dd format. This date is inclusive. - optional string start_date = 1; - - // The forecast for the Keyword Plan campaign for the week. - ForecastMetrics forecast = 2; -} - -// Forecast metrics. -message ForecastMetrics { - // Impressions - optional double impressions = 7; - - // Ctr - optional double ctr = 8; - - // AVG cpc - optional int64 average_cpc = 9; - - // Clicks - optional double clicks = 10; - - // Cost - optional int64 cost_micros = 11; -} - -// Request message for [KeywordPlanService.GenerateHistoricalMetrics][google.ads.googleads.v11.services.KeywordPlanService.GenerateHistoricalMetrics]. -message GenerateHistoricalMetricsRequest { - // Required. The resource name of the keyword plan of which historical metrics are - // requested. - string keyword_plan = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlan" - } - ]; - - // The aggregate fields to include in response. - google.ads.googleads.v11.common.KeywordPlanAggregateMetrics aggregate_metrics = 2; - - // The options for historical metrics data. - google.ads.googleads.v11.common.HistoricalMetricsOptions historical_metrics_options = 3; -} - -// Response message for [KeywordPlanService.GenerateHistoricalMetrics][google.ads.googleads.v11.services.KeywordPlanService.GenerateHistoricalMetrics]. -message GenerateHistoricalMetricsResponse { - // List of keyword historical metrics. - repeated KeywordPlanKeywordHistoricalMetrics metrics = 1; - - // The aggregate metrics for all the keywords in the keyword planner plan. - google.ads.googleads.v11.common.KeywordPlanAggregateMetricResults aggregate_metric_results = 2; -} - -// A keyword historical metrics. -message KeywordPlanKeywordHistoricalMetrics { - // The text of the query associated with one or more ad_group_keywords in the - // plan. - // - // Note that we de-dupe your keywords list, eliminating close variants before - // returning the plan's keywords as text. For example, if your plan originally - // contained the keywords 'car' and 'cars', the returned search query will - // only contain 'cars'. - // Starting V5, the list of de-duped queries will be included in - // close_variants field. - optional string search_query = 4; - - // The list of close variant queries for search_query whose search results - // are combined into the search_query. - repeated string close_variants = 3; - - // The historical metrics for the query associated with one or more - // ad_group_keywords in the plan. - google.ads.googleads.v11.common.KeywordPlanHistoricalMetrics keyword_metrics = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/keyword_theme_constant_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/keyword_theme_constant_service.proto deleted file mode 100644 index ac26c79fc..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/keyword_theme_constant_service.proto +++ /dev/null @@ -1,77 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/resources/keyword_theme_constant.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "KeywordThemeConstantServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the Smart Campaign keyword theme constant service. - -// Service to fetch Smart Campaign keyword themes. -service KeywordThemeConstantService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Returns KeywordThemeConstant suggestions by keyword themes. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc SuggestKeywordThemeConstants(SuggestKeywordThemeConstantsRequest) returns (SuggestKeywordThemeConstantsResponse) { - option (google.api.http) = { - post: "/v11/keywordThemeConstants:suggest" - body: "*" - }; - } -} - -// Request message for -// [KeywordThemeConstantService.SuggestKeywordThemeConstants][google.ads.googleads.v11.services.KeywordThemeConstantService.SuggestKeywordThemeConstants]. -message SuggestKeywordThemeConstantsRequest { - // The query text of a keyword theme that will be used to map to similar - // keyword themes. For example, "plumber" or "roofer". - string query_text = 1; - - // Upper-case, two-letter country code as defined by ISO-3166. This for - // refining the scope of the query, default to 'US' if not set. - string country_code = 2; - - // The two letter language code for get corresponding keyword theme for - // refining the scope of the query, default to 'en' if not set. - string language_code = 3; -} - -// Response message for -// [KeywordThemeConstantService.SuggestKeywordThemeConstants][google.ads.googleads.v11.services.KeywordThemeConstantService.SuggestKeywordThemeConstants]. -message SuggestKeywordThemeConstantsResponse { - // Smart Campaign keyword theme suggestions. - repeated google.ads.googleads.v11.resources.KeywordThemeConstant keyword_theme_constants = 1; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/label_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/label_service.proto deleted file mode 100644 index bc2625922..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/label_service.proto +++ /dev/null @@ -1,145 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/label.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "LabelServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Service to manage labels. -service LabelService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes labels. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [DateError]() - // [DistinctError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [LabelError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [NullError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - rpc MutateLabels(MutateLabelsRequest) returns (MutateLabelsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/labels:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [LabelService.MutateLabels][google.ads.googleads.v11.services.LabelService.MutateLabels]. -message MutateLabelsRequest { - // Required. ID of the customer whose labels are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on labels. - repeated LabelOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, remove, update) on a label. -message LabelOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new label. - google.ads.googleads.v11.resources.Label create = 1; - - // Update operation: The label is expected to have a valid resource name. - google.ads.googleads.v11.resources.Label update = 2; - - // Remove operation: A resource name for the label being removed, in - // this format: - // - // `customers/{customer_id}/labels/{label_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Label" - }]; - } -} - -// Response message for a labels mutate. -message MutateLabelsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateLabelResult results = 2; -} - -// The result for a label mutate. -message MutateLabelResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Label" - }]; - - // The mutated label with only mutable fields after mutate. The field will - // only be returned when response_content_type is set to "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.Label label = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/media_file_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/media_file_service.proto deleted file mode 100644 index cdbb08852..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/media_file_service.proto +++ /dev/null @@ -1,131 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/media_file.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "MediaFileServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the Media File service. - -// Service to manage media files. -service MediaFileService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates media files. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [DistinctError]() - // [FieldError]() - // [HeaderError]() - // [IdError]() - // [ImageError]() - // [InternalError]() - // [MediaBundleError]() - // [MediaFileError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [NullError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - rpc MutateMediaFiles(MutateMediaFilesRequest) returns (MutateMediaFilesResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/mediaFiles:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [MediaFileService.MutateMediaFiles][google.ads.googleads.v11.services.MediaFileService.MutateMediaFiles] -message MutateMediaFilesRequest { - // Required. The ID of the customer whose media files are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual media file. - repeated MediaFileOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation to create media file. -message MediaFileOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new media file. - google.ads.googleads.v11.resources.MediaFile create = 1; - } -} - -// Response message for a media file mutate. -message MutateMediaFilesResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateMediaFileResult results = 2; -} - -// The result for the media file mutate. -message MutateMediaFileResult { - // The resource name returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/MediaFile" - }]; - - // The mutated media file with only mutable fields after mutate. The field - // will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.MediaFile media_file = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/merchant_center_link_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/merchant_center_link_service.proto deleted file mode 100644 index 7180a749f..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/merchant_center_link_service.proto +++ /dev/null @@ -1,164 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/resources/merchant_center_link.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "MerchantCenterLinkServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the MerchantCenterLink service. - -// This service allows management of links between Google Ads and Google -// Merchant Center. -service MerchantCenterLinkService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Returns Merchant Center links available for this customer. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc ListMerchantCenterLinks(ListMerchantCenterLinksRequest) returns (ListMerchantCenterLinksResponse) { - option (google.api.http) = { - get: "/v11/customers/{customer_id=*}/merchantCenterLinks" - }; - option (google.api.method_signature) = "customer_id"; - } - - // Returns the Merchant Center link in full detail. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc GetMerchantCenterLink(GetMerchantCenterLinkRequest) returns (google.ads.googleads.v11.resources.MerchantCenterLink) { - option (google.api.http) = { - get: "/v11/{resource_name=customers/*/merchantCenterLinks/*}" - }; - option (google.api.method_signature) = "resource_name"; - } - - // Updates status or removes a Merchant Center link. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [FieldMaskError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc MutateMerchantCenterLink(MutateMerchantCenterLinkRequest) returns (MutateMerchantCenterLinkResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/merchantCenterLinks:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operation"; - } -} - -// Request message for [MerchantCenterLinkService.ListMerchantCenterLinks][google.ads.googleads.v11.services.MerchantCenterLinkService.ListMerchantCenterLinks]. -message ListMerchantCenterLinksRequest { - // Required. The ID of the customer onto which to apply the Merchant Center link list - // operation. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; -} - -// Response message for [MerchantCenterLinkService.ListMerchantCenterLinks][google.ads.googleads.v11.services.MerchantCenterLinkService.ListMerchantCenterLinks]. -message ListMerchantCenterLinksResponse { - // Merchant Center links available for the requested customer - repeated google.ads.googleads.v11.resources.MerchantCenterLink merchant_center_links = 1; -} - -// Request message for [MerchantCenterLinkService.GetMerchantCenterLink][google.ads.googleads.v11.services.MerchantCenterLinkService.GetMerchantCenterLink]. -message GetMerchantCenterLinkRequest { - // Required. Resource name of the Merchant Center link. - string resource_name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/MerchantCenterLink" - } - ]; -} - -// Request message for [MerchantCenterLinkService.MutateMerchantCenterLink][google.ads.googleads.v11.services.MerchantCenterLinkService.MutateMerchantCenterLink]. -message MutateMerchantCenterLinkRequest { - // Required. The ID of the customer being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The operation to perform on the link - MerchantCenterLinkOperation operation = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; -} - -// A single update on a Merchant Center link. -message MerchantCenterLinkOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 3; - - // The operation to perform - oneof operation { - // Update operation: The merchant center link is expected to have a valid - // resource name. - google.ads.googleads.v11.resources.MerchantCenterLink update = 1; - - // Remove operation: A resource name for the removed merchant center link is - // expected, in this format: - // - // `customers/{customer_id}/merchantCenterLinks/{merchant_center_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/MerchantCenterLink" - }]; - } -} - -// Response message for Merchant Center link mutate. -message MutateMerchantCenterLinkResponse { - // Result for the mutate. - MutateMerchantCenterLinkResult result = 2; -} - -// The result for the Merchant Center link mutate. -message MutateMerchantCenterLinkResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/MerchantCenterLink" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/offline_user_data_job_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/offline_user_data_job_service.proto deleted file mode 100644 index 5073ce054..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/offline_user_data_job_service.proto +++ /dev/null @@ -1,212 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/common/offline_user_data.proto"; -import "google/ads/googleads/v11/resources/offline_user_data_job.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/longrunning/operations.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "OfflineUserDataJobServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the OfflineUserDataJobService. - -// Service to manage offline user data jobs. -service OfflineUserDataJobService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates an offline user data job. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [NotAllowlistedError]() - // [OfflineUserDataJobError]() - // [QuotaError]() - // [RequestError]() - rpc CreateOfflineUserDataJob(CreateOfflineUserDataJobRequest) returns (CreateOfflineUserDataJobResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/offlineUserDataJobs:create" - body: "*" - }; - option (google.api.method_signature) = "customer_id,job"; - } - - // Adds operations to the offline user data job. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [OfflineUserDataJobError]() - // [QuotaError]() - // [RequestError]() - rpc AddOfflineUserDataJobOperations(AddOfflineUserDataJobOperationsRequest) returns (AddOfflineUserDataJobOperationsResponse) { - option (google.api.http) = { - post: "/v11/{resource_name=customers/*/offlineUserDataJobs/*}:addOperations" - body: "*" - }; - option (google.api.method_signature) = "resource_name,operations"; - } - - // Runs the offline user data job. - // - // When finished, the long running operation will contain the processing - // result or failure information, if any. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [HeaderError]() - // [InternalError]() - // [OfflineUserDataJobError]() - // [QuotaError]() - // [RequestError]() - rpc RunOfflineUserDataJob(RunOfflineUserDataJobRequest) returns (google.longrunning.Operation) { - option (google.api.http) = { - post: "/v11/{resource_name=customers/*/offlineUserDataJobs/*}:run" - body: "*" - }; - option (google.api.method_signature) = "resource_name"; - option (google.longrunning.operation_info) = { - response_type: "google.protobuf.Empty" - metadata_type: "google.ads.googleads.v11.resources.OfflineUserDataJobMetadata" - }; - } -} - -// Request message for -// [OfflineUserDataJobService.CreateOfflineUserDataJob][google.ads.googleads.v11.services.OfflineUserDataJobService.CreateOfflineUserDataJob]. -message CreateOfflineUserDataJobRequest { - // Required. The ID of the customer for which to create an offline user data job. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The offline user data job to be created. - google.ads.googleads.v11.resources.OfflineUserDataJob job = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; - - // If true, match rate range for the offline user data job is calculated and - // made available in the resource. - bool enable_match_rate_range_preview = 5; -} - -// Response message for -// [OfflineUserDataJobService.CreateOfflineUserDataJob][google.ads.googleads.v11.services.OfflineUserDataJobService.CreateOfflineUserDataJob]. -message CreateOfflineUserDataJobResponse { - // The resource name of the OfflineUserDataJob. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/OfflineUserDataJob" - }]; -} - -// Request message for [OfflineUserDataJobService.RunOfflineUserDataJob][google.ads.googleads.v11.services.OfflineUserDataJobService.RunOfflineUserDataJob]. -message RunOfflineUserDataJobRequest { - // Required. The resource name of the OfflineUserDataJob to run. - string resource_name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/OfflineUserDataJob" - } - ]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 2; -} - -// Request message for -// [OfflineUserDataJobService.AddOfflineUserDataJobOperations][google.ads.googleads.v11.services.OfflineUserDataJobService.AddOfflineUserDataJobOperations]. -message AddOfflineUserDataJobOperationsRequest { - // Required. The resource name of the OfflineUserDataJob. - string resource_name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/OfflineUserDataJob" - } - ]; - - // True to enable partial failure for the offline user data job. - optional bool enable_partial_failure = 4; - - // True to enable warnings for the offline user data job. When enabled, a - // warning will not block the OfflineUserDataJobOperation, and will also - // return warning messages about malformed field values. - optional bool enable_warnings = 6; - - // Required. The list of operations to be done. - repeated OfflineUserDataJobOperation operations = 3 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 5; -} - -// Operation to be made for the AddOfflineUserDataJobOperationsRequest. -message OfflineUserDataJobOperation { - // Operation to be made for the AddOfflineUserDataJobOperationsRequest. - oneof operation { - // Add the provided data to the transaction. Data cannot be retrieved after - // being uploaded. - google.ads.googleads.v11.common.UserData create = 1; - - // Remove the provided data from the transaction. Data cannot be retrieved - // after being uploaded. - google.ads.googleads.v11.common.UserData remove = 2; - - // Remove all previously provided data. This is only supported for Customer - // Match. - bool remove_all = 3; - } -} - -// Response message for -// [OfflineUserDataJobService.AddOfflineUserDataJobOperations][google.ads.googleads.v11.services.OfflineUserDataJobService.AddOfflineUserDataJobOperations]. -message AddOfflineUserDataJobOperationsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 1; - - // Non blocking errors that pertain to operation failures in the warnings - // mode. Returned only when enable_warnings = true. - google.rpc.Status warning = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/payments_account_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/payments_account_service.proto deleted file mode 100644 index 3bf7b3ea9..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/payments_account_service.proto +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/resources/payments_account.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "PaymentsAccountServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the payments account service. - -// Service to provide payments accounts that can be used to set up consolidated -// billing. -service PaymentsAccountService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Returns all payments accounts associated with all managers - // between the login customer ID and specified serving customer in the - // hierarchy, inclusive. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [PaymentsAccountError]() - // [QuotaError]() - // [RequestError]() - rpc ListPaymentsAccounts(ListPaymentsAccountsRequest) returns (ListPaymentsAccountsResponse) { - option (google.api.http) = { - get: "/v11/customers/{customer_id=*}/paymentsAccounts" - }; - option (google.api.method_signature) = "customer_id"; - } -} - -// Request message for fetching all accessible payments accounts. -message ListPaymentsAccountsRequest { - // Required. The ID of the customer to apply the PaymentsAccount list operation to. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; -} - -// Response message for [PaymentsAccountService.ListPaymentsAccounts][google.ads.googleads.v11.services.PaymentsAccountService.ListPaymentsAccounts]. -message ListPaymentsAccountsResponse { - // The list of accessible payments accounts. - repeated google.ads.googleads.v11.resources.PaymentsAccount payments_accounts = 1; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/reach_plan_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/reach_plan_service.proto deleted file mode 100644 index a04036a65..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/reach_plan_service.proto +++ /dev/null @@ -1,665 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/common/criteria.proto"; -import "google/ads/googleads/v11/common/dates.proto"; -import "google/ads/googleads/v11/enums/frequency_cap_time_unit.proto"; -import "google/ads/googleads/v11/enums/reach_plan_ad_length.proto"; -import "google/ads/googleads/v11/enums/reach_plan_age_range.proto"; -import "google/ads/googleads/v11/enums/reach_plan_network.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ReachPlanServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the reach plan service. - -// Reach Plan Service gives users information about audience size that can -// be reached through advertisement on YouTube. In particular, -// GenerateReachForecast provides estimated number of people of specified -// demographics that can be reached by an ad in a given market by a campaign of -// certain duration with a defined budget. -service ReachPlanService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Returns the list of plannable locations (for example, countries). - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc ListPlannableLocations(ListPlannableLocationsRequest) returns (ListPlannableLocationsResponse) { - option (google.api.http) = { - post: "/v11:listPlannableLocations" - body: "*" - }; - } - - // Returns the list of per-location plannable YouTube ad formats with allowed - // targeting. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc ListPlannableProducts(ListPlannableProductsRequest) returns (ListPlannableProductsResponse) { - option (google.api.http) = { - post: "/v11:listPlannableProducts" - body: "*" - }; - option (google.api.method_signature) = "plannable_location_id"; - } - - // Generates a product mix ideas given a set of preferences. This method - // helps the advertiser to obtain a good mix of ad formats and budget - // allocations based on its preferences. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [ReachPlanError]() - // [RequestError]() - rpc GenerateProductMixIdeas(GenerateProductMixIdeasRequest) returns (GenerateProductMixIdeasResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}:generateProductMixIdeas" - body: "*" - }; - option (google.api.method_signature) = "customer_id,plannable_location_id,currency_code,budget_micros"; - } - - // Generates a reach forecast for a given targeting / product mix. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RangeError]() - // [ReachPlanError]() - // [RequestError]() - rpc GenerateReachForecast(GenerateReachForecastRequest) returns (GenerateReachForecastResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}:generateReachForecast" - body: "*" - }; - option (google.api.method_signature) = "customer_id,campaign_duration,planned_products"; - } -} - -// Request message for [ReachPlanService.ListPlannableLocations][google.ads.googleads.v11.services.ReachPlanService.ListPlannableLocations]. -message ListPlannableLocationsRequest { - -} - -// The list of plannable locations. -message ListPlannableLocationsResponse { - // The list of locations available for planning. - // See - // https://developers.google.com/google-ads/api/reference/data/geotargets - // for sample locations. - repeated PlannableLocation plannable_locations = 1; -} - -// A plannable location: country, metro region, province, etc. -message PlannableLocation { - // The location identifier. - optional string id = 4; - - // The unique location name in English. - optional string name = 5; - - // The parent country (not present if location is a country). - // If present, will always be a GeoTargetConstant ID. Additional information - // such as country name is provided by - // [ReachPlanService.ListPlannableLocations][google.ads.googleads.v11.services.ReachPlanService.ListPlannableLocations] or - // [GoogleAdsService.Search/SearchStream][]. - optional int64 parent_country_id = 6; - - // The ISO-3166-1 alpha-2 country code that is associated with the location. - optional string country_code = 7; - - // The location's type. Location types correspond to target_type returned by - // searching location type in [GoogleAdsService.Search/SearchStream][]. - optional string location_type = 8; -} - -// Request to list available products in a given location. -message ListPlannableProductsRequest { - // Required. The ID of the selected location for planning. To list the available - // plannable location IDs use [ReachPlanService.ListPlannableLocations][google.ads.googleads.v11.services.ReachPlanService.ListPlannableLocations]. - string plannable_location_id = 2 [(google.api.field_behavior) = REQUIRED]; -} - -// A response with all available products. -message ListPlannableProductsResponse { - // The list of products available for planning and related targeting metadata. - repeated ProductMetadata product_metadata = 1; -} - -// The metadata associated with an available plannable product. -message ProductMetadata { - // The code associated with the ad product (for example: BUMPER, - // TRUEVIEW_IN_STREAM). - // To list the available plannable product codes use - // [ReachPlanService.ListPlannableProducts][google.ads.googleads.v11.services.ReachPlanService.ListPlannableProducts]. - optional string plannable_product_code = 4; - - // The name associated with the ad product. - string plannable_product_name = 3; - - // The allowed plannable targeting for this product. - PlannableTargeting plannable_targeting = 2; -} - -// The targeting for which traffic metrics will be reported. -message PlannableTargeting { - // Allowed plannable age ranges for the product for which metrics will be - // reported. Actual targeting is computed by mapping this age range onto - // standard Google common.AgeRangeInfo values. - repeated google.ads.googleads.v11.enums.ReachPlanAgeRangeEnum.ReachPlanAgeRange age_ranges = 1; - - // Targetable genders for the ad product. - repeated google.ads.googleads.v11.common.GenderInfo genders = 2; - - // Targetable devices for the ad product. - // TABLET device targeting is automatically applied to reported metrics - // when MOBILE targeting is selected for CPM_MASTHEAD, - // GOOGLE_PREFERRED_BUMPER, and GOOGLE_PREFERRED_SHORT products. - repeated google.ads.googleads.v11.common.DeviceInfo devices = 3; - - // Targetable networks for the ad product. - repeated google.ads.googleads.v11.enums.ReachPlanNetworkEnum.ReachPlanNetwork networks = 4; - - // Targetable YouTube Select Lineups for the ad product. - repeated YouTubeSelectLineUp youtube_select_lineups = 5; -} - -// Request message for [ReachPlanService.GenerateProductMixIdeas][google.ads.googleads.v11.services.ReachPlanService.GenerateProductMixIdeas]. -message GenerateProductMixIdeasRequest { - // Required. The ID of the customer. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The ID of the location, this is one of the IDs returned by - // [ReachPlanService.ListPlannableLocations][google.ads.googleads.v11.services.ReachPlanService.ListPlannableLocations]. - string plannable_location_id = 6 [(google.api.field_behavior) = REQUIRED]; - - // Required. Currency code. - // Three-character ISO 4217 currency code. - string currency_code = 7 [(google.api.field_behavior) = REQUIRED]; - - // Required. Total budget. - // Amount in micros. One million is equivalent to one unit. - int64 budget_micros = 8 [(google.api.field_behavior) = REQUIRED]; - - // The preferences of the suggested product mix. - // An unset preference is interpreted as all possible values are allowed, - // unless explicitly specified. - Preferences preferences = 5; -} - -// Set of preferences about the planned mix. -message Preferences { - // True if ad skippable. - // If not set, default is any value. - optional bool is_skippable = 6; - - // True if ad start with sound. - // If not set, default is any value. - optional bool starts_with_sound = 7; - - // The length of the ad. - // If not set, default is any value. - google.ads.googleads.v11.enums.ReachPlanAdLengthEnum.ReachPlanAdLength ad_length = 3; - - // True if ad will only show on the top content. - // If not set, default is false. - optional bool top_content_only = 8; - - // True if the price is guaranteed. The cost of serving the ad is agreed - // upfront and not subject to an auction. - // If not set, default is any value. - optional bool has_guaranteed_price = 9; -} - -// The suggested product mix. -message GenerateProductMixIdeasResponse { - // A list of products (ad formats) and the associated budget allocation idea. - repeated ProductAllocation product_allocation = 1; -} - -// An allocation of a part of the budget on a given product. -message ProductAllocation { - // Selected product for planning. The product codes returned are within the - // set of the ones returned by ListPlannableProducts when using the same - // location ID. - optional string plannable_product_code = 3; - - // The value to be allocated for the suggested product in requested currency. - // Amount in micros. One million is equivalent to one unit. - optional int64 budget_micros = 4; -} - -// Request message for [ReachPlanService.GenerateReachForecast][google.ads.googleads.v11.services.ReachPlanService.GenerateReachForecast]. -message GenerateReachForecastRequest { - // Required. The ID of the customer. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // The currency code. - // Three-character ISO 4217 currency code. - optional string currency_code = 9; - - // Required. Campaign duration. - CampaignDuration campaign_duration = 3 [(google.api.field_behavior) = REQUIRED]; - - // Chosen cookie frequency cap to be applied to each planned product. - // This is equivalent to the frequency cap exposed in Google Ads when creating - // a campaign, it represents the maximum number of times an ad can be shown to - // the same user. - // If not specified, no cap is applied. - // - // This field is deprecated in v4 and will eventually be removed. - // Use cookie_frequency_cap_setting instead. - optional int32 cookie_frequency_cap = 10; - - // Chosen cookie frequency cap to be applied to each planned product. - // This is equivalent to the frequency cap exposed in Google Ads when creating - // a campaign, it represents the maximum number of times an ad can be shown to - // the same user during a specified time interval. - // If not specified, a default of 0 (no cap) is applied. - // - // This field replaces the deprecated cookie_frequency_cap field. - FrequencyCap cookie_frequency_cap_setting = 8; - - // Chosen minimum effective frequency (the number of times a person was - // exposed to the ad) for the reported reach metrics [1-10]. - // This won't affect the targeting, but just the reporting. - // If not specified, a default of 1 is applied. - // - // This field cannot be combined with the effective_frequency_limit field. - optional int32 min_effective_frequency = 11; - - // The highest minimum effective frequency (the number of times a person was - // exposed to the ad) value [1-10] to include in - // Forecast.effective_frequency_breakdowns. - // If not specified, Forecast.effective_frequency_breakdowns will not be - // provided. - // - // The effective frequency value provided here will also be used as the - // minimum effective frequency for the reported reach metrics. - // - // This field cannot be combined with the min_effective_frequency field. - optional EffectiveFrequencyLimit effective_frequency_limit = 12; - - // The targeting to be applied to all products selected in the product mix. - // - // This is planned targeting: execution details might vary based on the - // advertising product, consult an implementation specialist. - // - // See specific metrics for details on how targeting affects them. - Targeting targeting = 6; - - // Required. The products to be forecast. - // The max number of allowed planned products is 15. - repeated PlannedProduct planned_products = 7 [(google.api.field_behavior) = REQUIRED]; - - // Controls the forecast metrics returned in the response. - ForecastMetricOptions forecast_metric_options = 13; - - // The name of the customer being planned for. This is a user-defined value. - // Required if targeting.audience_targeting is set. - optional string customer_reach_group = 14; -} - -// Effective frequency limit. -message EffectiveFrequencyLimit { - // The highest effective frequency value to include in - // Forecast.effective_frequency_breakdowns. - // This field supports frequencies 1-10, inclusive. - int32 effective_frequency_breakdown_limit = 1; -} - -// A rule specifying the maximum number of times an ad can be shown to a user -// over a particular time period. -message FrequencyCap { - // Required. The number of impressions, inclusive. - int32 impressions = 3 [(google.api.field_behavior) = REQUIRED]; - - // Required. The type of time unit. - google.ads.googleads.v11.enums.FrequencyCapTimeUnitEnum.FrequencyCapTimeUnit time_unit = 2 [(google.api.field_behavior) = REQUIRED]; -} - -// The targeting for which traffic metrics will be reported. -message Targeting { - // Required. The ID of the selected location. Plannable location IDs can be - // obtained from [ReachPlanService.ListPlannableLocations][google.ads.googleads.v11.services.ReachPlanService.ListPlannableLocations]. - optional string plannable_location_id = 6; - - // Targeted age range. - // An unset value is equivalent to targeting all ages. - google.ads.googleads.v11.enums.ReachPlanAgeRangeEnum.ReachPlanAgeRange age_range = 2; - - // Targeted genders. - // An unset value is equivalent to targeting MALE and FEMALE. - repeated google.ads.googleads.v11.common.GenderInfo genders = 3; - - // Targeted devices. - // If not specified, targets all applicable devices. Applicable devices vary - // by product and region and can be obtained from - // [ReachPlanService.ListPlannableProducts][google.ads.googleads.v11.services.ReachPlanService.ListPlannableProducts]. - repeated google.ads.googleads.v11.common.DeviceInfo devices = 4; - - // Targetable network for the ad product. - // If not specified, targets all applicable networks. Applicable networks vary - // by product and region and can be obtained from - // [ReachPlanService.ListPlannableProducts][google.ads.googleads.v11.services.ReachPlanService.ListPlannableProducts]. - google.ads.googleads.v11.enums.ReachPlanNetworkEnum.ReachPlanNetwork network = 5; - - // Targeted audiences. - // If not specified, does not target any specific audience. - AudienceTargeting audience_targeting = 7; -} - -// The duration of a planned campaign. -message CampaignDuration { - // The duration value in days. - // - // This field cannot be combined with the date_range field. - optional int32 duration_in_days = 2; - - // Date range of the campaign. - // Dates are in the yyyy-mm-dd format and inclusive. - // The end date must be < 1 year in the future and the - // date range must be <= 92 days long. - // - // This field cannot be combined with the duration_in_days field. - google.ads.googleads.v11.common.DateRange date_range = 3; -} - -// A product being planned for reach. -message PlannedProduct { - // Required. Selected product for planning. - // The code associated with the ad product (for example: Trueview, Bumper). - // To list the available plannable product codes use - // [ReachPlanService.ListPlannableProducts][google.ads.googleads.v11.services.ReachPlanService.ListPlannableProducts]. - optional string plannable_product_code = 3; - - // Required. Maximum budget allocation in micros for the selected product. - // The value is specified in the selected planning currency_code. - // For example: 1 000 000$ = 1 000 000 000 000 micros. - optional int64 budget_micros = 4; - - // Targeting settings for the selected product. - // To list the available targeting for each product use - // [ReachPlanService.ListPlannableProducts][google.ads.googleads.v11.services.ReachPlanService.ListPlannableProducts]. - AdvancedProductTargeting advanced_product_targeting = 5; -} - -// Response message containing the generated reach curve. -message GenerateReachForecastResponse { - // Reference on target audiences for this curve. - OnTargetAudienceMetrics on_target_audience_metrics = 1; - - // The generated reach curve for the planned product mix. - ReachCurve reach_curve = 2; -} - -// The reach curve for the planned products. -message ReachCurve { - // All points on the reach curve. - repeated ReachForecast reach_forecasts = 1; -} - -// A point on reach curve. -message ReachForecast { - // The cost in micros. - int64 cost_micros = 5; - - // Forecasted traffic metrics for this point. - Forecast forecast = 2; - - // The forecasted allocation and traffic metrics for each planned product - // at this point on the reach curve. - repeated PlannedProductReachForecast planned_product_reach_forecasts = 4; -} - -// Forecasted traffic metrics for the planned products and targeting. -message Forecast { - // Number of unique people reached at least - // GenerateReachForecastRequest.min_effective_frequency or - // GenerateReachForecastRequest.effective_frequency_limit times that exactly - // matches the Targeting. - // - // Note that a minimum number of unique people must be reached in order for - // data to be reported. If the minimum number is not met, the on_target_reach - // value will be rounded to 0. - optional int64 on_target_reach = 5; - - // Total number of unique people reached at least - // GenerateReachForecastRequest.min_effective_frequency or - // GenerateReachForecastRequest.effective_frequency_limit times. This includes - // people that may fall outside the specified Targeting. - // - // Note that a minimum number of unique people must be reached in order for - // data to be reported. If the minimum number is not met, the total_reach - // value will be rounded to 0. - optional int64 total_reach = 6; - - // Number of ad impressions that exactly matches the Targeting. - optional int64 on_target_impressions = 7; - - // Total number of ad impressions. This includes impressions that may fall - // outside the specified Targeting, due to insufficient information on - // signed-in users. - optional int64 total_impressions = 8; - - // Number of times the ad's impressions were considered viewable. - // See https://support.google.com/google-ads/answer/7029393 for - // more information about what makes an ad viewable and how - // viewability is measured. - optional int64 viewable_impressions = 9; - - // A list of effective frequency forecasts. The list is ordered starting with - // 1+ and ending with the value set in - // GenerateReachForecastRequest.effective_frequency_limit. If no - // effective_frequency_limit was set, this list will be empty. - repeated EffectiveFrequencyBreakdown effective_frequency_breakdowns = 10; - - // Number of unique people reached that exactly matches the Targeting - // including co-viewers. - optional int64 on_target_coview_reach = 11; - - // Number of unique people reached including co-viewers. This includes - // people that may fall outside the specified Targeting. - optional int64 total_coview_reach = 12; - - // Number of ad impressions that exactly matches the Targeting including - // co-viewers. - optional int64 on_target_coview_impressions = 13; - - // Total number of ad impressions including co-viewers. This includes - // impressions that may fall outside the specified Targeting, due to - // insufficient information on signed-in users. - optional int64 total_coview_impressions = 14; -} - -// The forecasted allocation and traffic metrics for a specific product -// at a point on the reach curve. -message PlannedProductReachForecast { - // Selected product for planning. The product codes returned are within the - // set of the ones returned by ListPlannableProducts when using the same - // location ID. - string plannable_product_code = 1; - - // The cost in micros. This may differ from the product's input allocation - // if one or more planned products cannot fulfill the budget because of - // limited inventory. - int64 cost_micros = 2; - - // Forecasted traffic metrics for this product. - PlannedProductForecast planned_product_forecast = 3; -} - -// Forecasted traffic metrics for a planned product. -message PlannedProductForecast { - // Number of unique people reached that exactly matches the Targeting. - // - // Note that a minimum number of unique people must be reached in order for - // data to be reported. If the minimum number is not met, the on_target_reach - // value will be rounded to 0. - int64 on_target_reach = 1; - - // Number of unique people reached. This includes people that may fall - // outside the specified Targeting. - // - // Note that a minimum number of unique people must be reached in order for - // data to be reported. If the minimum number is not met, the total_reach - // value will be rounded to 0. - int64 total_reach = 2; - - // Number of ad impressions that exactly matches the Targeting. - int64 on_target_impressions = 3; - - // Total number of ad impressions. This includes impressions that may fall - // outside the specified Targeting, due to insufficient information on - // signed-in users. - int64 total_impressions = 4; - - // Number of times the ad's impressions were considered viewable. - // See https://support.google.com/google-ads/answer/7029393 for - // more information about what makes an ad viewable and how - // viewability is measured. - optional int64 viewable_impressions = 5; - - // Number of unique people reached that exactly matches the Targeting - // including co-viewers. - optional int64 on_target_coview_reach = 6; - - // Number of unique people reached including co-viewers. This includes - // people that may fall outside the specified Targeting. - optional int64 total_coview_reach = 7; - - // Number of ad impressions that exactly matches the Targeting including - // co-viewers. - optional int64 on_target_coview_impressions = 8; - - // Total number of ad impressions including co-viewers. This includes - // impressions that may fall outside the specified Targeting, due to - // insufficient information on signed-in users. - optional int64 total_coview_impressions = 9; -} - -// Audience metrics for the planned products. -// These metrics consider the following targeting dimensions: -// -// - Location -// - PlannableAgeRange -// - Gender -message OnTargetAudienceMetrics { - // Reference audience size matching the considered targeting for YouTube. - optional int64 youtube_audience_size = 3; - - // Reference audience size matching the considered targeting for Census. - optional int64 census_audience_size = 4; -} - -// A breakdown of the number of unique people reached at a given effective -// frequency. -message EffectiveFrequencyBreakdown { - // The effective frequency [1-10]. - int32 effective_frequency = 1; - - // The number of unique people reached at least effective_frequency times that - // exactly matches the Targeting. - // - // Note that a minimum number of unique people must be reached in order for - // data to be reported. If the minimum number is not met, the on_target_reach - // value will be rounded to 0. - int64 on_target_reach = 2; - - // Total number of unique people reached at least effective_frequency times. - // This includes people that may fall outside the specified Targeting. - // - // Note that a minimum number of unique people must be reached in order for - // data to be reported. If the minimum number is not met, the total_reach - // value will be rounded to 0. - int64 total_reach = 3; - - // The number of users (including co-viewing users) reached for the associated - // effective_frequency value. - optional int64 effective_coview_reach = 4; - - // The number of users (including co-viewing users) reached for the associated - // effective_frequency value within the specified plan demographic. - optional int64 on_target_effective_coview_reach = 5; -} - -// Controls forecast metrics to return. -message ForecastMetricOptions { - // Indicates whether to include co-view metrics in the response forecast. - bool include_coview = 1; -} - -// Audience targeting for reach forecast. -message AudienceTargeting { - // List of audiences based on user interests to be targeted. - repeated google.ads.googleads.v11.common.UserInterestInfo user_interest = 1; -} - -// Advanced targeting settings for products. -message AdvancedProductTargeting { - // Targeting options for this product. - oneof advanced_targeting { - // Settings for YouTube Select targeting. - YouTubeSelectSettings youtube_select_settings = 1; - } -} - -// Request settings for YouTube Select Lineups -message YouTubeSelectSettings { - // Lineup for YouTube Select Targeting. - int64 lineup_id = 1; -} - -// A Plannable YouTube Select Lineup for product targeting. -message YouTubeSelectLineUp { - // The ID of the YouTube Select Lineup. - int64 lineup_id = 1; - - // The unique name of the YouTube Select Lineup. - string lineup_name = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/recommendation_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/recommendation_service.proto deleted file mode 100644 index f68745ef3..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/recommendation_service.proto +++ /dev/null @@ -1,316 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/common/extensions.proto"; -import "google/ads/googleads/v11/enums/keyword_match_type.proto"; -import "google/ads/googleads/v11/resources/ad.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "RecommendationServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the Recommendation service. - -// Service to manage recommendations. -service RecommendationService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Applies given recommendations with corresponding apply parameters. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [QuotaError]() - // [RecommendationError]() - // [RequestError]() - // [UrlFieldError]() - rpc ApplyRecommendation(ApplyRecommendationRequest) returns (ApplyRecommendationResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/recommendations:apply" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } - - // Dismisses given recommendations. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RecommendationError]() - // [RequestError]() - rpc DismissRecommendation(DismissRecommendationRequest) returns (DismissRecommendationResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/recommendations:dismiss" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [RecommendationService.ApplyRecommendation][google.ads.googleads.v11.services.RecommendationService.ApplyRecommendation]. -message ApplyRecommendationRequest { - // Required. The ID of the customer with the recommendation. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to apply recommendations. - // If partial_failure=false all recommendations should be of the same type - // There is a limit of 100 operations per request. - repeated ApplyRecommendationOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, operations will be carried - // out as a transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; -} - -// Information about the operation to apply a recommendation and any parameters -// to customize it. -message ApplyRecommendationOperation { - // Parameters to use when applying a campaign budget recommendation. - message CampaignBudgetParameters { - // New budget amount to set for target budget resource. This is a required - // field. - optional int64 new_budget_amount_micros = 2; - } - - // Parameters to use when applying a text ad recommendation. - message TextAdParameters { - // New ad to add to recommended ad group. All necessary fields need to be - // set in this message. This is a required field. - google.ads.googleads.v11.resources.Ad ad = 1; - } - - // Parameters to use when applying keyword recommendation. - message KeywordParameters { - // The ad group resource to add keyword to. This is a required field. - optional string ad_group = 4; - - // The match type of the keyword. This is a required field. - google.ads.googleads.v11.enums.KeywordMatchTypeEnum.KeywordMatchType match_type = 2; - - // Optional, CPC bid to set for the keyword. If not set, keyword will use - // bid based on bidding strategy used by target ad group. - optional int64 cpc_bid_micros = 5; - } - - // Parameters to use when applying Target CPA recommendation. - message TargetCpaOptInParameters { - // Average CPA to use for Target CPA bidding strategy. This is a required - // field. - optional int64 target_cpa_micros = 3; - - // Optional, budget amount to set for the campaign. - optional int64 new_campaign_budget_amount_micros = 4; - } - - // Parameters to use when applying a Target ROAS opt-in recommendation. - message TargetRoasOptInParameters { - // Average ROAS (revenue per unit of spend) to use for Target ROAS bidding - // strategy. The value is between 0.01 and 1000.0, inclusive. This is a - // required field, unless new_campaign_budget_amount_micros is set. - optional double target_roas = 1; - - // Optional, budget amount to set for the campaign. - optional int64 new_campaign_budget_amount_micros = 2; - } - - // Parameters to use when applying callout extension recommendation. - message CalloutExtensionParameters { - // Callout extensions to be added. This is a required field. - repeated google.ads.googleads.v11.common.CalloutFeedItem callout_extensions = 1; - } - - // Parameters to use when applying call extension recommendation. - message CallExtensionParameters { - // Call extensions to be added. This is a required field. - repeated google.ads.googleads.v11.common.CallFeedItem call_extensions = 1; - } - - // Parameters to use when applying sitelink extension recommendation. - message SitelinkExtensionParameters { - // Sitelink extensions to be added. This is a required field. - repeated google.ads.googleads.v11.common.SitelinkFeedItem sitelink_extensions = 1; - } - - // Parameters to use when applying move unused budget recommendation. - message MoveUnusedBudgetParameters { - // Budget amount to move from excess budget to constrained budget. This is - // a required field. - optional int64 budget_micros_to_move = 2; - } - - // Parameters to use when applying a responsive search ad asset - // recommendation. - message ResponsiveSearchAdAssetParameters { - // Updated ad. The current ad's content will be replaced. - google.ads.googleads.v11.resources.Ad updated_ad = 1; - } - - // Parameters to use when applying a responsive search ad improve ad strength - // recommendation. - message ResponsiveSearchAdImproveAdStrengthParameters { - // Updated ad. The current ad's content will be replaced. - google.ads.googleads.v11.resources.Ad updated_ad = 1; - } - - // Parameters to use when applying a responsive search ad recommendation. - message ResponsiveSearchAdParameters { - // Required. New ad to add to recommended ad group. - google.ads.googleads.v11.resources.Ad ad = 1 [(google.api.field_behavior) = REQUIRED]; - } - - // Parameters to use when applying a use broad match keyword recommendation. - message UseBroadMatchKeywordParameters { - // New budget amount to set for target budget resource. - optional int64 new_budget_amount_micros = 1; - } - - // The resource name of the recommendation to apply. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Recommendation" - }]; - - // Parameters to use when applying the recommendation. - oneof apply_parameters { - // Optional parameters to use when applying a campaign budget - // recommendation. - CampaignBudgetParameters campaign_budget = 2; - - // Optional parameters to use when applying a text ad recommendation. - TextAdParameters text_ad = 3; - - // Optional parameters to use when applying keyword recommendation. - KeywordParameters keyword = 4; - - // Optional parameters to use when applying target CPA opt-in - // recommendation. - TargetCpaOptInParameters target_cpa_opt_in = 5; - - // Optional parameters to use when applying target ROAS opt-in - // recommendation. - TargetRoasOptInParameters target_roas_opt_in = 10; - - // Parameters to use when applying callout extension recommendation. - CalloutExtensionParameters callout_extension = 6; - - // Parameters to use when applying call extension recommendation. - CallExtensionParameters call_extension = 7; - - // Parameters to use when applying sitelink extension recommendation. - SitelinkExtensionParameters sitelink_extension = 8; - - // Parameters to use when applying move unused budget recommendation. - MoveUnusedBudgetParameters move_unused_budget = 9; - - // Parameters to use when applying a responsive search ad recommendation. - ResponsiveSearchAdParameters responsive_search_ad = 11; - - // Parameters to use when applying a use broad match keyword recommendation. - UseBroadMatchKeywordParameters use_broad_match_keyword = 12; - - // Parameters to use when applying a responsive search ad asset - // recommendation. - ResponsiveSearchAdAssetParameters responsive_search_ad_asset = 13; - - // Parameters to use when applying a responsive search ad improve ad - // strength recommendation. - ResponsiveSearchAdImproveAdStrengthParameters responsive_search_ad_improve_ad_strength = 14; - } -} - -// Response message for [RecommendationService.ApplyRecommendation][google.ads.googleads.v11.services.RecommendationService.ApplyRecommendation]. -message ApplyRecommendationResponse { - // Results of operations to apply recommendations. - repeated ApplyRecommendationResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors) we return the RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result of applying a recommendation. -message ApplyRecommendationResult { - // Returned for successful applies. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Recommendation" - }]; -} - -// Request message for [RecommendationService.DismissRecommendation][google.ads.googleads.v11.services.RecommendationService.DismissRecommendation]. -message DismissRecommendationRequest { - // Operation to dismiss a single recommendation identified by resource_name. - message DismissRecommendationOperation { - // The resource name of the recommendation to dismiss. - string resource_name = 1; - } - - // Required. The ID of the customer with the recommendation. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to dismiss recommendations. - // If partial_failure=false all recommendations should be of the same type - // There is a limit of 100 operations per request. - repeated DismissRecommendationOperation operations = 3 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, operations will be carried in a - // single transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 2; -} - -// Response message for [RecommendationService.DismissRecommendation][google.ads.googleads.v11.services.RecommendationService.DismissRecommendation]. -message DismissRecommendationResponse { - // The result of dismissing a recommendation. - message DismissRecommendationResult { - // Returned for successful dismissals. - string resource_name = 1; - } - - // Results of operations to dismiss recommendations. - repeated DismissRecommendationResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors) we return the RPC level error. - google.rpc.Status partial_failure_error = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/remarketing_action_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/remarketing_action_service.proto deleted file mode 100644 index 76a9ce849..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/remarketing_action_service.proto +++ /dev/null @@ -1,116 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/resources/remarketing_action.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "RemarketingActionServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the Remarketing Action service. - -// Service to manage remarketing actions. -service RemarketingActionService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates or updates remarketing actions. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [ConversionActionError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc MutateRemarketingActions(MutateRemarketingActionsRequest) returns (MutateRemarketingActionsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/remarketingActions:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [RemarketingActionService.MutateRemarketingActions][google.ads.googleads.v11.services.RemarketingActionService.MutateRemarketingActions]. -message MutateRemarketingActionsRequest { - // Required. The ID of the customer whose remarketing actions are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual remarketing actions. - repeated RemarketingActionOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, update) on a remarketing action. -message RemarketingActionOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new remarketing - // action. - google.ads.googleads.v11.resources.RemarketingAction create = 1; - - // Update operation: The remarketing action is expected to have a valid - // resource name. - google.ads.googleads.v11.resources.RemarketingAction update = 2; - } -} - -// Response message for remarketing action mutate. -message MutateRemarketingActionsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateRemarketingActionResult results = 2; -} - -// The result for the remarketing action mutate. -message MutateRemarketingActionResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/RemarketingAction" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/shared_criterion_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/shared_criterion_service.proto deleted file mode 100644 index 7dc8589de..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/shared_criterion_service.proto +++ /dev/null @@ -1,139 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/shared_criterion.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "SharedCriterionServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the Shared Criterion service. - -// Service to manage shared criteria. -service SharedCriterionService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates or removes shared criteria. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CriterionError]() - // [DatabaseError]() - // [DistinctError]() - // [FieldError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [MutateError]() - // [NotEmptyError]() - // [NullError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - rpc MutateSharedCriteria(MutateSharedCriteriaRequest) returns (MutateSharedCriteriaResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/sharedCriteria:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [SharedCriterionService.MutateSharedCriteria][google.ads.googleads.v11.services.SharedCriterionService.MutateSharedCriteria]. -message MutateSharedCriteriaRequest { - // Required. The ID of the customer whose shared criteria are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual shared criteria. - repeated SharedCriterionOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, remove) on an shared criterion. -message SharedCriterionOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new shared - // criterion. - google.ads.googleads.v11.resources.SharedCriterion create = 1; - - // Remove operation: A resource name for the removed shared criterion is - // expected, in this format: - // - // `customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/SharedCriterion" - }]; - } -} - -// Response message for a shared criterion mutate. -message MutateSharedCriteriaResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateSharedCriterionResult results = 2; -} - -// The result for the shared criterion mutate. -message MutateSharedCriterionResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/SharedCriterion" - }]; - - // The mutated shared criterion with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.SharedCriterion shared_criterion = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/shared_set_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/shared_set_service.proto deleted file mode 100644 index 23e15851a..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/shared_set_service.proto +++ /dev/null @@ -1,149 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/shared_set.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "SharedSetServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the Shared Set service. - -// Service to manage shared sets. -service SharedSetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes shared sets. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [DateError]() - // [DistinctError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [NullError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - // [SharedSetError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - rpc MutateSharedSets(MutateSharedSetsRequest) returns (MutateSharedSetsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/sharedSets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [SharedSetService.MutateSharedSets][google.ads.googleads.v11.services.SharedSetService.MutateSharedSets]. -message MutateSharedSetsRequest { - // Required. The ID of the customer whose shared sets are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual shared sets. - repeated SharedSetOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, update, remove) on an shared set. -message SharedSetOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new shared set. - google.ads.googleads.v11.resources.SharedSet create = 1; - - // Update operation: The shared set is expected to have a valid resource - // name. - google.ads.googleads.v11.resources.SharedSet update = 2; - - // Remove operation: A resource name for the removed shared set is expected, - // in this format: - // - // `customers/{customer_id}/sharedSets/{shared_set_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/SharedSet" - }]; - } -} - -// Response message for a shared set mutate. -message MutateSharedSetsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateSharedSetResult results = 2; -} - -// The result for the shared set mutate. -message MutateSharedSetResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/SharedSet" - }]; - - // The mutated shared set with only mutable fields after mutate. The field - // will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.SharedSet shared_set = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/smart_campaign_setting_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/smart_campaign_setting_service.proto deleted file mode 100644 index 25c481c34..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/smart_campaign_setting_service.proto +++ /dev/null @@ -1,111 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/enums/response_content_type.proto"; -import "google/ads/googleads/v11/resources/smart_campaign_setting.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "SmartCampaignSettingServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the Smart campaign setting service. - -// Service to manage Smart campaign settings. -service SmartCampaignSettingService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Updates Smart campaign settings for campaigns. - rpc MutateSmartCampaignSettings(MutateSmartCampaignSettingsRequest) returns (MutateSmartCampaignSettingsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/smartCampaignSettings:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [SmartCampaignSettingService.MutateSmartCampaignSetting][]. -message MutateSmartCampaignSettingsRequest { - // Required. The ID of the customer whose Smart campaign settings are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual Smart campaign settings. - repeated SmartCampaignSettingOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v11.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation to update Smart campaign settings for a campaign. -message SmartCampaignSettingOperation { - // Update operation: The Smart campaign setting must specify a valid - // resource name. - google.ads.googleads.v11.resources.SmartCampaignSetting update = 1; - - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 2; -} - -// Response message for campaign mutate. -message MutateSmartCampaignSettingsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 1; - - // All results for the mutate. - repeated MutateSmartCampaignSettingResult results = 2; -} - -// The result for the Smart campaign setting mutate. -message MutateSmartCampaignSettingResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/SmartCampaignSetting" - }]; - - // The mutated Smart campaign setting with only mutable fields after mutate. - // The field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v11.resources.SmartCampaignSetting smart_campaign_setting = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/smart_campaign_suggest_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/smart_campaign_suggest_service.proto deleted file mode 100644 index aef565576..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/smart_campaign_suggest_service.proto +++ /dev/null @@ -1,226 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/common/ad_type_infos.proto"; -import "google/ads/googleads/v11/common/criteria.proto"; -import "google/ads/googleads/v11/resources/keyword_theme_constant.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "SmartCampaignSuggestServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Service to get suggestions for Smart Campaigns. -service SmartCampaignSuggestService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Returns BudgetOption suggestions. - rpc SuggestSmartCampaignBudgetOptions(SuggestSmartCampaignBudgetOptionsRequest) returns (SuggestSmartCampaignBudgetOptionsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}:suggestSmartCampaignBudgetOptions" - body: "*" - }; - } - - // Suggests a Smart campaign ad compatible with the Ad family of resources, - // based on data points such as targeting and the business to advertise. - rpc SuggestSmartCampaignAd(SuggestSmartCampaignAdRequest) returns (SuggestSmartCampaignAdResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}:suggestSmartCampaignAd" - body: "*" - }; - } - - // Suggests keyword themes to advertise on. - rpc SuggestKeywordThemes(SuggestKeywordThemesRequest) returns (SuggestKeywordThemesResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}:suggestKeywordThemes" - body: "*" - }; - } -} - -// Request message for -// [SmartCampaignSuggestService.SuggestSmartCampaignBudgets][]. -message SuggestSmartCampaignBudgetOptionsRequest { - // Required. The ID of the customer whose budget options are to be suggested. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. For first time campaign creation use SuggestionInfo, for - // subsequent updates on BudgetOptions based on an already created campaign - // use that campaign. - oneof suggestion_data { - // Required. The resource name of the campaign to get suggestion for. - string campaign = 2 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Required. Information needed to get budget options - SmartCampaignSuggestionInfo suggestion_info = 3 [(google.api.field_behavior) = REQUIRED]; - } -} - -// Information needed to get suggestion for Smart Campaign. More information -// provided will help the system to derive better suggestions. -message SmartCampaignSuggestionInfo { - // A list of locations. - message LocationList { - // Required. Locations. - repeated google.ads.googleads.v11.common.LocationInfo locations = 1 [(google.api.field_behavior) = REQUIRED]; - } - - // A context that describes a business. - message BusinessContext { - // Optional. The name of the business. - string business_name = 1 [(google.api.field_behavior) = OPTIONAL]; - } - - // Optional. Landing page URL of the campaign. - string final_url = 1 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The two letter advertising language for the Smart campaign to be - // constructed, default to 'en' if not set. - string language_code = 3 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The business ad schedule. - repeated google.ads.googleads.v11.common.AdScheduleInfo ad_schedules = 6 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. Smart campaign keyword themes. This field may greatly improve suggestion - // accuracy and we recommend always setting it if possible. - repeated google.ads.googleads.v11.common.KeywordThemeInfo keyword_themes = 7 [(google.api.field_behavior) = OPTIONAL]; - - // The business settings to consider when generating suggestions. - // Settings are automatically extracted from the business when provided. - // Otherwise, these settings must be specified explicitly. - oneof business_setting { - // Optional. Context describing the business to advertise. - BusinessContext business_context = 8 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The resource name of a Business Profile location. - // Business Profile location resource names can be fetched through the - // Business Profile API and adhere to the following format: - // `locations/{locationId}`. - // - // See the [Business Profile API] - // (https://developers.google.com/my-business/reference/businessinformation/rest/v1/accounts.locations) - // for additional details. - string business_profile_location = 9 [(google.api.field_behavior) = OPTIONAL]; - } - - // The geo target of the campaign, either a list of locations or - // a single proximity shall be specified. - oneof geo_target { - // Optional. The targeting geo location by locations. - LocationList location_list = 4 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The targeting geo location by proximity. - google.ads.googleads.v11.common.ProximityInfo proximity = 5 [(google.api.field_behavior) = OPTIONAL]; - } -} - -// Response message for -// [SmartCampaignSuggestService.SuggestSmartCampaignBudgets][]. Depending on -// whether the system could suggest the options, either all of the options or -// none of them might be returned. -message SuggestSmartCampaignBudgetOptionsResponse { - // Performance metrics for a given budget option. - message Metrics { - // The estimated min daily clicks. - int64 min_daily_clicks = 1; - - // The estimated max daily clicks. - int64 max_daily_clicks = 2; - } - - // Smart Campaign budget option. - message BudgetOption { - // The amount of the budget, in the local currency for the account. - // Amount is specified in micros, where one million is equivalent to one - // currency unit. - int64 daily_amount_micros = 1; - - // Metrics pertaining to the suggested budget, could be empty if there is - // not enough information to derive the estimates. - Metrics metrics = 2; - } - - // Optional. The lowest budget option. - optional BudgetOption low = 1 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The recommended budget option. - optional BudgetOption recommended = 2 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The highest budget option. - optional BudgetOption high = 3 [(google.api.field_behavior) = OPTIONAL]; -} - -// Request message for -// [SmartCampaignSuggestService.SuggestSmartCampaignAd][google.ads.googleads.v11.services.SmartCampaignSuggestService.SuggestSmartCampaignAd]. -message SuggestSmartCampaignAdRequest { - // Required. The ID of the customer. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. Inputs used to suggest a Smart campaign ad. - // Required fields: final_url, language_code, keyword_themes. - // Optional but recommended fields to improve the quality of the suggestion: - // business_setting and geo_target. - SmartCampaignSuggestionInfo suggestion_info = 2 [(google.api.field_behavior) = REQUIRED]; -} - -// Response message for -// [SmartCampaignSuggestService.SuggestSmartCampaignAd][google.ads.googleads.v11.services.SmartCampaignSuggestService.SuggestSmartCampaignAd]. -message SuggestSmartCampaignAdResponse { - // Optional. Ad info includes 3 creative headlines and 2 creative descriptions. - google.ads.googleads.v11.common.SmartCampaignAdInfo ad_info = 1 [(google.api.field_behavior) = OPTIONAL]; -} - -// Request message for -// [SmartCampaignSuggestService.SuggestKeywordThemes][google.ads.googleads.v11.services.SmartCampaignSuggestService.SuggestKeywordThemes]. -message SuggestKeywordThemesRequest { - // Required. The ID of the customer. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. Information to get keyword theme suggestions. - // Required fields: - // * suggestion_info.final_url - // * suggestion_info.language_code - // * suggestion_info.geo_target - // - // Recommended fields: - // * suggestion_info.business_setting - SmartCampaignSuggestionInfo suggestion_info = 2 [(google.api.field_behavior) = REQUIRED]; -} - -// Response message for -// [SmartCampaignSuggestService.SuggestKeywordThemes][google.ads.googleads.v11.services.SmartCampaignSuggestService.SuggestKeywordThemes]. -message SuggestKeywordThemesResponse { - // Smart campaign keyword theme suggestions. - repeated google.ads.googleads.v11.resources.KeywordThemeConstant keyword_themes = 1; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/third_party_app_analytics_link_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/third_party_app_analytics_link_service.proto deleted file mode 100644 index 70be3b0e5..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/third_party_app_analytics_link_service.proto +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ThirdPartyAppAnalyticsLinkServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// This service allows management of links between Google Ads and third party -// app analytics. -service ThirdPartyAppAnalyticsLinkService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Regenerate ThirdPartyAppAnalyticsLink.shareable_link_id that should be - // provided to the third party when setting up app analytics. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc RegenerateShareableLinkId(RegenerateShareableLinkIdRequest) returns (RegenerateShareableLinkIdResponse) { - option (google.api.http) = { - post: "/v11/{resource_name=customers/*/thirdPartyAppAnalyticsLinks/*}:regenerateShareableLinkId" - body: "*" - }; - } -} - -// Request message for -// [ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId][google.ads.googleads.v11.services.ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId]. -message RegenerateShareableLinkIdRequest { - // Resource name of the third party app analytics link. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ThirdPartyAppAnalyticsLink" - }]; -} - -// Response message for -// [ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId][google.ads.googleads.v11.services.ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId]. -message RegenerateShareableLinkIdResponse { - -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/user_data_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/user_data_service.proto deleted file mode 100644 index 2411f08ae..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/user_data_service.proto +++ /dev/null @@ -1,104 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/common/offline_user_data.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "UserDataServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the UserDataService. - -// Service to manage user data uploads. -// Any uploads made to a Customer Match list through this service will be -// eligible for matching as per the customer matching process. See -// https://support.google.com/google-ads/answer/7474263. However, the uploads -// made through this service will not be visible under the 'Segment members' -// section for the Customer Match List in the Google Ads UI. -service UserDataService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Uploads the given user data. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [OfflineUserDataJobError]() - // [QuotaError]() - // [RequestError]() - // [UserDataError]() - rpc UploadUserData(UploadUserDataRequest) returns (UploadUserDataResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}:uploadUserData" - body: "*" - }; - } -} - -// Request message for [UserDataService.UploadUserData][google.ads.googleads.v11.services.UserDataService.UploadUserData] -message UploadUserDataRequest { - // Required. The ID of the customer for which to update the user data. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to be done. - repeated UserDataOperation operations = 3 [(google.api.field_behavior) = REQUIRED]; - - // Metadata of the request. - oneof metadata { - // Metadata for data updates to a Customer Match user list. - google.ads.googleads.v11.common.CustomerMatchUserListMetadata customer_match_user_list_metadata = 2; - } -} - -// Operation to be made for the UploadUserDataRequest. -message UserDataOperation { - // Operation to be made for the UploadUserDataRequest. - oneof operation { - // The list of user data to be appended to the user list. - google.ads.googleads.v11.common.UserData create = 1; - - // The list of user data to be removed from the user list. - google.ads.googleads.v11.common.UserData remove = 2; - } -} - -// Response message for [UserDataService.UploadUserData][google.ads.googleads.v11.services.UserDataService.UploadUserData] -// Uploads made through this service will not be visible under the 'Segment -// members' section for the Customer Match List in the Google Ads UI. -message UploadUserDataResponse { - // The date time at which the request was received by API, formatted as - // "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - optional string upload_date_time = 3; - - // Number of upload data operations received by API. - optional int32 received_operations_count = 4; -} diff --git a/third_party/googleapis/google/ads/googleads/v11/services/user_list_service.proto b/third_party/googleapis/google/ads/googleads/v11/services/user_list_service.proto deleted file mode 100644 index 7f1675ea0..000000000 --- a/third_party/googleapis/google/ads/googleads/v11/services/user_list_service.proto +++ /dev/null @@ -1,136 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v11.services; - -import "google/ads/googleads/v11/resources/user_list.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V11.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v11/services;services"; -option java_multiple_files = true; -option java_outer_classname = "UserListServiceProto"; -option java_package = "com.google.ads.googleads.v11.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V11\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V11::Services"; - -// Proto file describing the User List service. - -// Service to manage user lists. -service UserListService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates or updates user lists. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [DatabaseError]() - // [DistinctError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotAllowlistedError]() - // [NotEmptyError]() - // [OperationAccessDeniedError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [StringFormatError]() - // [StringLengthError]() - // [UserListError]() - rpc MutateUserLists(MutateUserListsRequest) returns (MutateUserListsResponse) { - option (google.api.http) = { - post: "/v11/customers/{customer_id=*}/userLists:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [UserListService.MutateUserLists][google.ads.googleads.v11.services.UserListService.MutateUserLists]. -message MutateUserListsRequest { - // Required. The ID of the customer whose user lists are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual user lists. - repeated UserListOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, update) on a user list. -message UserListOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new user list. - google.ads.googleads.v11.resources.UserList create = 1; - - // Update operation: The user list is expected to have a valid resource - // name. - google.ads.googleads.v11.resources.UserList update = 2; - - // Remove operation: A resource name for the removed user list is expected, - // in this format: - // - // `customers/{customer_id}/userLists/{user_list_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/UserList" - }]; - } -} - -// Response message for user list mutate. -message MutateUserListsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateUserListResult results = 2; -} - -// The result for the user list mutate. -message MutateUserListResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/UserList" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/BUILD.bazel b/third_party/googleapis/google/ads/googleads/v12/BUILD.bazel deleted file mode 100644 index 740bed089..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/BUILD.bazel +++ /dev/null @@ -1,269 +0,0 @@ -# Copyright 2020 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -package(default_visibility = ["//visibility:public"]) - -exports_files(["googleads_grpc_service_config.json"] + ["*.yaml"]) - -############################################################################## -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( - name = "googleads_proto", - srcs = [], - deps = [ - "//google/ads/googleads/v12/common:common_proto", - "//google/ads/googleads/v12/enums:enums_proto", - "//google/ads/googleads/v12/errors:errors_proto", - "//google/ads/googleads/v12/resources:resources_proto", - "//google/ads/googleads/v12/services:services_proto", - ], -) - -proto_library_with_info( - name = "googleads_proto_with_info", - deps = [ - ":googleads_proto", - ], -) - -############################################################################## -# Java -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "java_gapic_assembly_gradle_pkg", - "java_gapic_library", - "java_gapic_test", -) - -java_gapic_library( - name = "googleads_java_gapic", - srcs = [ - ":googleads_proto_with_info", - ], - gapic_yaml = "googleads_gapic.yaml", - grpc_service_config = ":googleads_grpc_service_config.json", - deps = [ - "//google/ads/googleads/v12/common:common_java_proto", - "//google/ads/googleads/v12/enums:enums_java_proto", - "//google/ads/googleads/v12/resources:resources_java_proto", - "//google/ads/googleads/v12/services:services_java_grpc", - "//google/ads/googleads/v12/services:services_java_proto", - ], -) - -# TODO(ohren): Add more test classes when java_gapic_test is able to run more -# than a single test. Having at least one verifies proper compilation at least. -java_gapic_test( - name = "googleads_java_gapic_suite", - test_classes = [ - "com.google.ads.googleads.v12.services.CampaignServiceClientTest", - ], - runtime_deps = [":googleads_java_gapic_test"], -) - -java_gapic_assembly_gradle_pkg( - name = "googleads-java", - deps = [ - ":googleads_java_gapic", - "//google/ads/googleads/v12:googleads_proto", - "//google/ads/googleads/v12/common:common_java_proto", - "//google/ads/googleads/v12/enums:enums_java_proto", - "//google/ads/googleads/v12/errors:errors_java_proto", - "//google/ads/googleads/v12/resources:resources_java_proto", - "//google/ads/googleads/v12/services:services_java_grpc", - "//google/ads/googleads/v12/services:services_java_proto", - ], -) - -############################################################################## -# PHP -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "php_gapic_assembly_pkg", - "php_gapic_library", - "php_grpc_library", - "php_proto_library", -) - -php_proto_library( - name = "googleads_php_proto", - plugin_args = ["aggregate_metadata=google.ads.googleads"], - deps = [":googleads_proto"], -) - -php_grpc_library( - name = "googleads_php_grpc", - srcs = [":googleads_proto"], - deps = [":googleads_php_proto"], -) - -php_gapic_library( - name = "googleads_php_gapic", - srcs = [":googleads_proto"], - gapic_yaml = "googleads_gapic.yaml", - grpc_service_config = "googleads_grpc_service_config.json", - service_yaml = "googleads_v12.yaml", - deps = [ - ":googleads_php_grpc", - ":googleads_php_proto", - ], -) - -php_gapic_assembly_pkg( - name = "googleads-php", - deps = [ - ":googleads_php_gapic", - ":googleads_php_grpc", - ":googleads_php_proto", - ], -) - -############################################################################## -# C# -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "csharp_gapic_assembly_pkg", - "csharp_gapic_library", -) - -csharp_gapic_library( - name = "googleads_csharp_gapic", - srcs = [ - ":googleads_proto_with_info", - ], - grpc_service_config = "googleads_grpc_service_config.json", - service_yaml = "googleads_v12.yaml", - deps = [ - "//google/ads/googleads/v12/services:services_csharp_grpc", - ], -) - -csharp_gapic_assembly_pkg( - name = "googleads-csharp", - deps = [ - ":googleads_csharp_gapic", - "//google/ads/googleads/v12/common:common_csharp_proto", - "//google/ads/googleads/v12/enums:enums_csharp_proto", - "//google/ads/googleads/v12/errors:errors_csharp_proto", - "//google/ads/googleads/v12/resources:resources_csharp_proto", - "//google/ads/googleads/v12/services:services_csharp_grpc", - "//google/ads/googleads/v12/services:services_csharp_proto", - ], -) - -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "ruby_ads_gapic_library", - "ruby_gapic_assembly_pkg", -) - -ruby_ads_gapic_library( - name = "googleads_ruby_gapic", - srcs = ["googleads_proto_with_info"], - extra_protoc_parameters = [ - ":gem.:name=google-ads-googleads", - ":defaults.:service.:default_host=googleads.googleapis.com", - ":overrides.:namespace.Googleads=GoogleAds", - ], - grpc_service_config = "googleads_grpc_service_config.json", - service_yaml = "googleads_v12.yaml", -) - -ruby_gapic_assembly_pkg( - name = "googleads-ruby", - deps = [ - ":googleads_ruby_gapic", - "//google/ads/googleads/v12/common:common_ruby_proto", - "//google/ads/googleads/v12/enums:enums_ruby_proto", - "//google/ads/googleads/v12/errors:errors_ruby_proto", - "//google/ads/googleads/v12/resources:resources_ruby_proto", - "//google/ads/googleads/v12/services:services_ruby_grpc", - "//google/ads/googleads/v12/services:services_ruby_proto", - ], -) - -############################################################################## -# Python -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "py_gapic_assembly_pkg", - "py_gapic_library", -) - -py_gapic_library( - name = "googleads_py_gapic", - srcs = [":googleads_proto_with_info"], - grpc_service_config = "googleads_grpc_service_config.json", - opt_args = [ - "old-naming", - "lazy-import", - "python-gapic-name=googleads", - "python-gapic-templates=ads-templates", - "warehouse-package-name=google-ads", - ], - service_yaml = "googleads_v12.yaml", -) - -py_gapic_assembly_pkg( - name = "googleads-py", - deps = [ - ":googleads_py_gapic", - "//google/ads/googleads/v12/common:common_py_proto", - "//google/ads/googleads/v12/enums:enums_py_proto", - "//google/ads/googleads/v12/errors:errors_py_proto", - "//google/ads/googleads/v12/resources:resources_py_proto", - "//google/ads/googleads/v12/services:services_py_grpc", - "//google/ads/googleads/v12/services:services_py_proto", - ], -) - -############################################################################## -# Node.js -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) - -nodejs_gapic_library( - name = "googleads_nodejs_gapic", - package_name = "google-ads", - src = ":googleads_proto_with_info", - extra_protoc_parameters = ["metadata"], - grpc_service_config = "googleads_grpc_service_config.json", - main_service = "GoogleAdsService", - package = "google.ads.googleads.v12", - service_yaml = "googleads_v12.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( - name = "googleads-nodejs", - deps = [ - ":googleads_nodejs_gapic", - ":googleads_proto", - ], -) diff --git a/third_party/googleapis/google/ads/googleads/v12/common/BUILD.bazel b/third_party/googleapis/google/ads/googleads/v12/common/BUILD.bazel deleted file mode 100644 index 72d98af27..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/common/BUILD.bazel +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 2020 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -package(default_visibility = ["//visibility:public"]) - -############################################################################## -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") - -# TODO(ohren): Change srcs to use an enumeration of each individual proto -# instead of *.proto globbing once the build file generator supports -# subpackages. -proto_library( - name = "common_proto", - srcs = glob(["*.proto"]), - deps = [ - "//google/ads/googleads/v12/enums:enums_proto", - "//google/api:annotations_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", - "@com_google_protobuf//:wrappers_proto", - ], -) - -############################################################################## -# Java -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "java_proto_library", -) - -java_proto_library( - name = "common_java_proto", - deps = [":common_proto"], -) - -############################################################################## -# PHP -############################################################################## - -# PHP targets are in the parent directory's BUILD.bazel file to facilitate -# aggregating metadata using a single underlying call to protoc. - -############################################################################## -# C# -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "csharp_proto_library", -) - -csharp_proto_library( - name = "common_csharp_proto", - deps = [":common_proto"], -) - -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "ruby_proto_library", -) - -ruby_proto_library( - name = "common_ruby_proto", - deps = [":common_proto"], -) - -############################################################################## -# Python -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "py_proto_library", -) - -py_proto_library( - name = "common_py_proto", - deps = [":common_proto"], -) diff --git a/third_party/googleapis/google/ads/googleads/v12/common/ad_asset.proto b/third_party/googleapis/google/ads/googleads/v12/common/ad_asset.proto deleted file mode 100644 index 83548f2c0..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/common/ad_asset.proto +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/common/asset_policy.proto"; -import "google/ads/googleads/v12/enums/asset_performance_label.proto"; -import "google/ads/googleads/v12/enums/served_asset_field_type.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "AdAssetProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; - -// Proto file describing assets used inside an ad. - -// A text asset used inside an ad. -message AdTextAsset { - // Asset text. - optional string text = 4; - - // The pinned field of the asset. This restricts the asset to only serve - // within this field. Multiple assets can be pinned to the same field. An - // asset that is unpinned or pinned to a different field will not serve in a - // field where some other asset has been pinned. - google.ads.googleads.v12.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType pinned_field = 2; - - // The performance label of this text asset. - google.ads.googleads.v12.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel asset_performance_label = 5; - - // The policy summary of this text asset. - AdAssetPolicySummary policy_summary_info = 6; -} - -// An image asset used inside an ad. -message AdImageAsset { - // The Asset resource name of this image. - optional string asset = 2; -} - -// A video asset used inside an ad. -message AdVideoAsset { - // The Asset resource name of this video. - optional string asset = 2; -} - -// A media bundle asset used inside an ad. -message AdMediaBundleAsset { - // The Asset resource name of this media bundle. - optional string asset = 2; -} - -// A discovery carousel card asset used inside an ad. -message AdDiscoveryCarouselCardAsset { - // The Asset resource name of this discovery carousel card. - optional string asset = 1; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/common/ad_type_infos.proto b/third_party/googleapis/google/ads/googleads/v12/common/ad_type_infos.proto deleted file mode 100644 index 4bf1efbf0..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/common/ad_type_infos.proto +++ /dev/null @@ -1,710 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/common/ad_asset.proto"; -import "google/ads/googleads/v12/enums/call_conversion_reporting_state.proto"; -import "google/ads/googleads/v12/enums/display_ad_format_setting.proto"; -import "google/ads/googleads/v12/enums/display_upload_product_type.proto"; -import "google/ads/googleads/v12/enums/legacy_app_install_ad_app_store.proto"; -import "google/ads/googleads/v12/enums/mime_type.proto"; -import "google/ads/googleads/v12/enums/video_thumbnail.proto"; -import "google/api/field_behavior.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "AdTypeInfosProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; - -// Proto file containing info messages for specific ad types. - -// A text ad. -message TextAdInfo { - // The headline of the ad. - optional string headline = 4; - - // The first line of the ad's description. - optional string description1 = 5; - - // The second line of the ad's description. - optional string description2 = 6; -} - -// An expanded text ad. -message ExpandedTextAdInfo { - // The first part of the ad's headline. - optional string headline_part1 = 8; - - // The second part of the ad's headline. - optional string headline_part2 = 9; - - // The third part of the ad's headline. - optional string headline_part3 = 10; - - // The description of the ad. - optional string description = 11; - - // The second description of the ad. - optional string description2 = 12; - - // The text that can appear alongside the ad's displayed URL. - optional string path1 = 13; - - // Additional text that can appear alongside the ad's displayed URL. - optional string path2 = 14; -} - -// An expanded dynamic search ad. -message ExpandedDynamicSearchAdInfo { - // The description of the ad. - optional string description = 3; - - // The second description of the ad. - optional string description2 = 4; -} - -// A hotel ad. -message HotelAdInfo { - -} - -// A Smart Shopping ad. -message ShoppingSmartAdInfo { - -} - -// A standard Shopping ad. -message ShoppingProductAdInfo { - -} - -// A Shopping Comparison Listing ad. -message ShoppingComparisonListingAdInfo { - // Headline of the ad. This field is required. Allowed length is between 25 - // and 45 characters. - optional string headline = 2; -} - -// An image ad. -message ImageAdInfo { - // Width in pixels of the full size image. - optional int64 pixel_width = 15; - - // Height in pixels of the full size image. - optional int64 pixel_height = 16; - - // URL of the full size image. - optional string image_url = 17; - - // Width in pixels of the preview size image. - optional int64 preview_pixel_width = 18; - - // Height in pixels of the preview size image. - optional int64 preview_pixel_height = 19; - - // URL of the preview size image. - optional string preview_image_url = 20; - - // The mime type of the image. - google.ads.googleads.v12.enums.MimeTypeEnum.MimeType mime_type = 10; - - // The name of the image. If the image was created from a MediaFile, this is - // the MediaFile's name. If the image was created from bytes, this is empty. - optional string name = 21; - - // The image to create the ImageAd from. This can be specified in one of - // two ways. - // 1. An existing MediaFile resource. - // 2. The raw image data as bytes. - oneof image { - // The MediaFile resource to use for the image. - string media_file = 12; - - // Raw image data as bytes. - bytes data = 13; - - // An ad ID to copy the image from. - int64 ad_id_to_copy_image_from = 14; - } -} - -// Representation of video bumper in-stream ad format (very short in-stream -// non-skippable video ad). -message VideoBumperInStreamAdInfo { - // The image assets of the companion banner used with the ad. - AdImageAsset companion_banner = 3; -} - -// Representation of video non-skippable in-stream ad format (15 second -// in-stream non-skippable video ad). -message VideoNonSkippableInStreamAdInfo { - // The image assets of the companion banner used with the ad. - AdImageAsset companion_banner = 5; - - // Label on the "Call To Action" button taking the user to the video ad's - // final URL. - string action_button_label = 3; - - // Additional text displayed with the "Call To Action" button to give - // context and encourage clicking on the button. - string action_headline = 4; -} - -// Representation of video TrueView in-stream ad format (ad shown during video -// playback, often at beginning, which displays a skip button a few seconds into -// the video). -message VideoTrueViewInStreamAdInfo { - // Label on the CTA (call-to-action) button taking the user to the video ad's - // final URL. - // Required for TrueView for action campaigns, optional otherwise. - string action_button_label = 4; - - // Additional text displayed with the CTA (call-to-action) button to give - // context and encourage clicking on the button. - string action_headline = 5; - - // The image assets of the companion banner used with the ad. - AdImageAsset companion_banner = 7; -} - -// Representation of video out-stream ad format (ad shown alongside a feed -// with automatic playback, without sound). -message VideoOutstreamAdInfo { - // The headline of the ad. - string headline = 3; - - // The description line. - string description = 4; -} - -// Representation of In-feed video ad format. -message InFeedVideoAdInfo { - // The headline of the ad. - string headline = 1; - - // First text line for the ad. - string description1 = 2; - - // Second text line for the ad. - string description2 = 3; - - // Video thumbnail image to use. - google.ads.googleads.v12.enums.VideoThumbnailEnum.VideoThumbnail thumbnail = 4; -} - -// A video ad. -message VideoAdInfo { - // The YouTube video assets used for the ad. - AdVideoAsset video = 8; - - // Format-specific schema for the different video formats. - oneof format { - // Video TrueView in-stream ad format. - VideoTrueViewInStreamAdInfo in_stream = 2; - - // Video bumper in-stream ad format. - VideoBumperInStreamAdInfo bumper = 3; - - // Video out-stream ad format. - VideoOutstreamAdInfo out_stream = 4; - - // Video non-skippable in-stream ad format. - VideoNonSkippableInStreamAdInfo non_skippable = 5; - - // In-feed video ad format. - InFeedVideoAdInfo in_feed = 9; - } -} - -// A video responsive ad. -message VideoResponsiveAdInfo { - // List of text assets used for the short headline, for example, the "Call To - // Action" banner. Currently, only a single value for the short headline is - // supported. - repeated AdTextAsset headlines = 1; - - // List of text assets used for the long headline. - // Currently, only a single value for the long headline is supported. - repeated AdTextAsset long_headlines = 2; - - // List of text assets used for the description. - // Currently, only a single value for the description is supported. - repeated AdTextAsset descriptions = 3; - - // List of text assets used for the button, for example, the "Call To Action" - // button. Currently, only a single value for the button is supported. - repeated AdTextAsset call_to_actions = 4; - - // List of YouTube video assets used for the ad. - // Currently, only a single value for the YouTube video asset is supported. - repeated AdVideoAsset videos = 5; - - // List of image assets used for the companion banner. - // Currently, only a single value for the companion banner asset is supported. - repeated AdImageAsset companion_banners = 6; - - // First part of text that appears in the ad with the displayed URL. - string breadcrumb1 = 7; - - // Second part of text that appears in the ad with the displayed URL. - string breadcrumb2 = 8; -} - -// A responsive search ad. -// -// Responsive search ads let you create an ad that adapts to show more text, and -// more relevant messages, to your customers. Enter multiple headlines and -// descriptions when creating a responsive search ad, and over time, Google Ads -// will automatically test different combinations and learn which combinations -// perform best. By adapting your ad's content to more closely match potential -// customers' search terms, responsive search ads may improve your campaign's -// performance. -// -// More information at https://support.google.com/google-ads/answer/7684791 -message ResponsiveSearchAdInfo { - // List of text assets for headlines. When the ad serves the headlines will - // be selected from this list. - repeated AdTextAsset headlines = 1; - - // List of text assets for descriptions. When the ad serves the descriptions - // will be selected from this list. - repeated AdTextAsset descriptions = 2; - - // First part of text that can be appended to the URL in the ad. - optional string path1 = 5; - - // Second part of text that can be appended to the URL in the ad. This field - // can only be set when `path1` is also set. - optional string path2 = 6; -} - -// A legacy responsive display ad. Ads of this type are labeled 'Responsive ads' -// in the Google Ads UI. -message LegacyResponsiveDisplayAdInfo { - // The short version of the ad's headline. - optional string short_headline = 16; - - // The long version of the ad's headline. - optional string long_headline = 17; - - // The description of the ad. - optional string description = 18; - - // The business name in the ad. - optional string business_name = 19; - - // Advertiser's consent to allow flexible color. When true, the ad may be - // served with different color if necessary. When false, the ad will be served - // with the specified colors or a neutral color. - // The default value is `true`. - // Must be true if `main_color` and `accent_color` are not set. - optional bool allow_flexible_color = 20; - - // The accent color of the ad in hexadecimal, for example, #ffffff for white. - // If one of `main_color` and `accent_color` is set, the other is required as - // well. - optional string accent_color = 21; - - // The main color of the ad in hexadecimal, for example, #ffffff for white. - // If one of `main_color` and `accent_color` is set, the other is required as - // well. - optional string main_color = 22; - - // The call-to-action text for the ad. - optional string call_to_action_text = 23; - - // The MediaFile resource name of the logo image used in the ad. - optional string logo_image = 24; - - // The MediaFile resource name of the square logo image used in the ad. - optional string square_logo_image = 25; - - // The MediaFile resource name of the marketing image used in the ad. - optional string marketing_image = 26; - - // The MediaFile resource name of the square marketing image used in the ad. - optional string square_marketing_image = 27; - - // Specifies which format the ad will be served in. Default is ALL_FORMATS. - google.ads.googleads.v12.enums.DisplayAdFormatSettingEnum.DisplayAdFormatSetting format_setting = 13; - - // Prefix before price. For example, 'as low as'. - optional string price_prefix = 28; - - // Promotion text used for dynamic formats of responsive ads. For example - // 'Free two-day shipping'. - optional string promo_text = 29; -} - -// An app ad. -message AppAdInfo { - // Mandatory ad text. - AdTextAsset mandatory_ad_text = 1; - - // List of text assets for headlines. When the ad serves the headlines will - // be selected from this list. - repeated AdTextAsset headlines = 2; - - // List of text assets for descriptions. When the ad serves the descriptions - // will be selected from this list. - repeated AdTextAsset descriptions = 3; - - // List of image assets that may be displayed with the ad. - repeated AdImageAsset images = 4; - - // List of YouTube video assets that may be displayed with the ad. - repeated AdVideoAsset youtube_videos = 5; - - // List of media bundle assets that may be used with the ad. - repeated AdMediaBundleAsset html5_media_bundles = 6; -} - -// App engagement ads allow you to write text encouraging a specific action in -// the app, like checking in, making a purchase, or booking a flight. -// They allow you to send users to a specific part of your app where they can -// find what they're looking for easier and faster. -message AppEngagementAdInfo { - // List of text assets for headlines. When the ad serves the headlines will - // be selected from this list. - repeated AdTextAsset headlines = 1; - - // List of text assets for descriptions. When the ad serves the descriptions - // will be selected from this list. - repeated AdTextAsset descriptions = 2; - - // List of image assets that may be displayed with the ad. - repeated AdImageAsset images = 3; - - // List of video assets that may be displayed with the ad. - repeated AdVideoAsset videos = 4; -} - -// App pre-registration ads link to your app or game listing on Google Play, and -// can run on Google Play, on YouTube (in-stream only), and within other apps -// and mobile websites on the Display Network. It will help capture people's -// interest in your app or game and generate an early install base for your app -// or game before a launch. -message AppPreRegistrationAdInfo { - // List of text assets for headlines. When the ad serves the headlines will - // be selected from this list. - repeated AdTextAsset headlines = 1; - - // List of text assets for descriptions. When the ad serves the descriptions - // will be selected from this list. - repeated AdTextAsset descriptions = 2; - - // List of image asset IDs whose images may be displayed with the ad. - repeated AdImageAsset images = 3; - - // List of YouTube video asset IDs whose videos may be displayed with the ad. - repeated AdVideoAsset youtube_videos = 4; -} - -// A legacy app install ad that only can be used by a few select customers. -message LegacyAppInstallAdInfo { - // The ID of the mobile app. - optional string app_id = 6; - - // The app store the mobile app is available in. - google.ads.googleads.v12.enums.LegacyAppInstallAdAppStoreEnum.LegacyAppInstallAdAppStore app_store = 2; - - // The headline of the ad. - optional string headline = 7; - - // The first description line of the ad. - optional string description1 = 8; - - // The second description line of the ad. - optional string description2 = 9; -} - -// A responsive display ad. -message ResponsiveDisplayAdInfo { - // Marketing images to be used in the ad. Valid image types are GIF, - // JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must - // be 1.91:1 (+-1%). At least one `marketing_image` is required. Combined - // with `square_marketing_images`, the maximum is 15. - repeated AdImageAsset marketing_images = 1; - - // Square marketing images to be used in the ad. Valid image types are GIF, - // JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must - // be 1:1 (+-1%). At least one square `marketing_image` is required. Combined - // with `marketing_images`, the maximum is 15. - repeated AdImageAsset square_marketing_images = 2; - - // Logo images to be used in the ad. Valid image types are GIF, - // JPEG, and PNG. The minimum size is 512x128 and the aspect ratio must - // be 4:1 (+-1%). Combined with `square_logo_images`, the maximum is 5. - repeated AdImageAsset logo_images = 3; - - // Square logo images to be used in the ad. Valid image types are GIF, - // JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must - // be 1:1 (+-1%). Combined with `square_logo_images`, the maximum is 5. - repeated AdImageAsset square_logo_images = 4; - - // Short format headlines for the ad. The maximum length is 30 characters. - // At least 1 and max 5 headlines can be specified. - repeated AdTextAsset headlines = 5; - - // A required long format headline. The maximum length is 90 characters. - AdTextAsset long_headline = 6; - - // Descriptive texts for the ad. The maximum length is 90 characters. At - // least 1 and max 5 headlines can be specified. - repeated AdTextAsset descriptions = 7; - - // Optional YouTube videos for the ad. A maximum of 5 videos can be specified. - repeated AdVideoAsset youtube_videos = 8; - - // The advertiser/brand name. Maximum display width is 25. - optional string business_name = 17; - - // The main color of the ad in hexadecimal, for example, #ffffff for white. - // If one of `main_color` and `accent_color` is set, the other is required as - // well. - optional string main_color = 18; - - // The accent color of the ad in hexadecimal, for example, #ffffff for white. - // If one of `main_color` and `accent_color` is set, the other is required as - // well. - optional string accent_color = 19; - - // Advertiser's consent to allow flexible color. When true, the ad may be - // served with different color if necessary. When false, the ad will be served - // with the specified colors or a neutral color. - // The default value is `true`. - // Must be true if `main_color` and `accent_color` are not set. - optional bool allow_flexible_color = 20; - - // The call-to-action text for the ad. Maximum display width is 30. - optional string call_to_action_text = 21; - - // Prefix before price. For example, 'as low as'. - optional string price_prefix = 22; - - // Promotion text used for dynamic formats of responsive ads. For example - // 'Free two-day shipping'. - optional string promo_text = 23; - - // Specifies which format the ad will be served in. Default is ALL_FORMATS. - google.ads.googleads.v12.enums.DisplayAdFormatSettingEnum.DisplayAdFormatSetting format_setting = 16; - - // Specification for various creative controls. - ResponsiveDisplayAdControlSpec control_spec = 24; -} - -// A local ad. -message LocalAdInfo { - // List of text assets for headlines. When the ad serves the headlines will - // be selected from this list. At least 1 and at most 5 headlines must be - // specified. - repeated AdTextAsset headlines = 1; - - // List of text assets for descriptions. When the ad serves the descriptions - // will be selected from this list. At least 1 and at most 5 descriptions must - // be specified. - repeated AdTextAsset descriptions = 2; - - // List of text assets for call-to-actions. When the ad serves the - // call-to-actions will be selected from this list. At least 1 and at most - // 5 call-to-actions must be specified. - repeated AdTextAsset call_to_actions = 3; - - // List of marketing image assets that may be displayed with the ad. The - // images must be 314x600 pixels or 320x320 pixels. At least 1 and at most - // 20 image assets must be specified. - repeated AdImageAsset marketing_images = 4; - - // List of logo image assets that may be displayed with the ad. The images - // must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5 - // image assets must be specified. - repeated AdImageAsset logo_images = 5; - - // List of YouTube video assets that may be displayed with the ad. At least 1 - // and at most 20 video assets must be specified. - repeated AdVideoAsset videos = 6; - - // First part of optional text that can be appended to the URL in the ad. - optional string path1 = 9; - - // Second part of optional text that can be appended to the URL in the ad. - // This field can only be set when `path1` is also set. - optional string path2 = 10; -} - -// A generic type of display ad. The exact ad format is controlled by the -// `display_upload_product_type` field, which determines what kinds of data -// need to be included with the ad. -message DisplayUploadAdInfo { - // The product type of this ad. See comments on the enum for details. - google.ads.googleads.v12.enums.DisplayUploadProductTypeEnum.DisplayUploadProductType display_upload_product_type = 1; - - // The asset data that makes up the ad. - oneof media_asset { - // A media bundle asset to be used in the ad. For information about the - // media bundle for HTML5_UPLOAD_AD, see - // https://support.google.com/google-ads/answer/1722096 - // Media bundles that are part of dynamic product types use a special format - // that needs to be created through the Google Web Designer. See - // https://support.google.com/webdesigner/answer/7543898 for more - // information. - AdMediaBundleAsset media_bundle = 2; - } -} - -// Specification for various creative controls for a responsive display ad. -message ResponsiveDisplayAdControlSpec { - // Whether the advertiser has opted into the asset enhancements feature. - bool enable_asset_enhancements = 1; - - // Whether the advertiser has opted into auto-gen video feature. - bool enable_autogen_video = 2; -} - -// A Smart campaign ad. -message SmartCampaignAdInfo { - // List of text assets, each of which corresponds to a headline when the ad - // serves. This list consists of a minimum of 3 and up to 15 text assets. - repeated AdTextAsset headlines = 1; - - // List of text assets, each of which corresponds to a description when the ad - // serves. This list consists of a minimum of 2 and up to 4 text assets. - repeated AdTextAsset descriptions = 2; -} - -// A call ad. -message CallAdInfo { - // The country code in the ad. - string country_code = 1; - - // The phone number in the ad. - string phone_number = 2; - - // The business name in the ad. - string business_name = 3; - - // First headline in the ad. - string headline1 = 11; - - // Second headline in the ad. - string headline2 = 12; - - // The first line of the ad's description. - string description1 = 4; - - // The second line of the ad's description. - string description2 = 5; - - // Whether to enable call tracking for the creative. Enabling call - // tracking also enables call conversions. - bool call_tracked = 6; - - // Whether to disable call conversion for the creative. - // If set to `true`, disables call conversions even when `call_tracked` is - // `true`. - // If `call_tracked` is `false`, this field is ignored. - bool disable_call_conversion = 7; - - // The URL to be used for phone number verification. - string phone_number_verification_url = 8; - - // The conversion action to attribute a call conversion to. If not set a - // default conversion action is used. This field only has effect if - // `call_tracked` is set to `true`. Otherwise this field is ignored. - string conversion_action = 9; - - // The call conversion behavior of this call ad. It can use its own call - // conversion setting, inherit the account level setting, or be disabled. - google.ads.googleads.v12.enums.CallConversionReportingStateEnum.CallConversionReportingState conversion_reporting_state = 10; - - // First part of text that can be appended to the URL in the ad. Optional. - string path1 = 13; - - // Second part of text that can be appended to the URL in the ad. This field - // can only be set when `path1` is also set. Optional. - string path2 = 14; -} - -// A discovery multi asset ad. -message DiscoveryMultiAssetAdInfo { - // Marketing image assets to be used in the ad. Valid image types are GIF, - // JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must - // be 1.91:1 (+-1%). Required if square_marketing_images is - // not present. Combined with `square_marketing_images` and - // `portrait_marketing_images` the maximum is 20. - repeated AdImageAsset marketing_images = 1; - - // Square marketing image assets to be used in the ad. Valid image types are - // GIF, JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must - // be 1:1 (+-1%). Required if marketing_images is not present. Combined with - // `marketing_images` and `portrait_marketing_images` the maximum is 20. - repeated AdImageAsset square_marketing_images = 2; - - // Portrait marketing image assets to be used in the ad. Valid image types are - // GIF, JPEG, and PNG. The minimum size is 480x600 and the aspect ratio must - // be 4:5 (+-1%). Combined with `marketing_images` and - // `square_marketing_images` the maximum is 20. - repeated AdImageAsset portrait_marketing_images = 3; - - // Logo image assets to be used in the ad. Valid image types are GIF, - // JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must be - // 1:1(+-1%). At least 1 and max 5 logo images can be specified. - repeated AdImageAsset logo_images = 4; - - // Headline text asset of the ad. Maximum display width is 30. At least 1 and - // max 5 headlines can be specified. - repeated AdTextAsset headlines = 5; - - // The descriptive text of the ad. Maximum display width is 90. At least 1 and - // max 5 descriptions can be specified. - repeated AdTextAsset descriptions = 6; - - // The Advertiser/brand name. Maximum display width is 25. Required. - optional string business_name = 7; - - // Call to action text. - optional string call_to_action_text = 8; - - // Boolean option that indicates if this ad must be served with lead form. - optional bool lead_form_only = 9; -} - -// A discovery carousel ad. -message DiscoveryCarouselAdInfo { - // Required. The Advertiser/brand name. - string business_name = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. Logo image to be used in the ad. The minimum size is 128x128 and the - // aspect ratio must be 1:1(+-1%). - AdImageAsset logo_image = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. Headline of the ad. - AdTextAsset headline = 3 [(google.api.field_behavior) = REQUIRED]; - - // Required. The descriptive text of the ad. - AdTextAsset description = 4 [(google.api.field_behavior) = REQUIRED]; - - // Call to action text. - string call_to_action_text = 5; - - // Required. Carousel cards that will display with the ad. Min 2 max 10. - repeated AdDiscoveryCarouselCardAsset carousel_cards = 6 [(google.api.field_behavior) = REQUIRED]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/common/asset_policy.proto b/third_party/googleapis/google/ads/googleads/v12/common/asset_policy.proto deleted file mode 100644 index 70ba6faf1..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/common/asset_policy.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/common/policy.proto"; -import "google/ads/googleads/v12/enums/policy_approval_status.proto"; -import "google/ads/googleads/v12/enums/policy_review_status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "AssetPolicyProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; - -// Proto file describing asset policies. - -// Contains policy information for an asset inside an ad. -message AdAssetPolicySummary { - // The list of policy findings for this asset. - repeated PolicyTopicEntry policy_topic_entries = 1; - - // Where in the review process this asset. - google.ads.googleads.v12.enums.PolicyReviewStatusEnum.PolicyReviewStatus review_status = 2; - - // The overall approval status of this asset, which is calculated based on - // the status of its individual policy topic entries. - google.ads.googleads.v12.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 3; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/common/asset_set_types.proto b/third_party/googleapis/google/ads/googleads/v12/common/asset_set_types.proto deleted file mode 100644 index 50294fdf0..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/common/asset_set_types.proto +++ /dev/null @@ -1,180 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/enums/chain_relationship_type.proto"; -import "google/ads/googleads/v12/enums/location_ownership_type.proto"; -import "google/ads/googleads/v12/enums/location_string_filter_type.proto"; -import "google/api/field_behavior.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetTypesProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; - -// Proto file containing info messages for specific asset set types. - -// Data related to location set. One of the Google Business Profile (previously -// known as Google My Business) data, Chain data, and map location data need to -// be specified. -message LocationSet { - // Required. Immutable. Location Ownership Type (owned location or affiliate location). - google.ads.googleads.v12.enums.LocationOwnershipTypeEnum.LocationOwnershipType location_ownership_type = 3 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE - ]; - - // Location data specific to each sync source. - oneof source { - // Data used to configure a location set populated from Google Business - // Profile locations. - BusinessProfileLocationSet business_profile_location_set = 1; - - // Data used to configure a location on chain set populated with the - // specified chains. - ChainSet chain_location_set = 2; - - // Only set if locations are synced based on selected maps locations - MapsLocationSet maps_location_set = 5; - } -} - -// Data used to configure a location set populated from Google Business Profile -// locations. -// Different types of filters are AND'ed together, if they are specified. -message BusinessProfileLocationSet { - // Required. Immutable. The HTTP authorization token used to obtain authorization. - string http_authorization_token = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.field_behavior) = REQUIRED - ]; - - // Required. Immutable. Email address of a Google Business Profile account or email address of a - // manager of the Google Business Profile account. - string email_address = 2 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE - ]; - - // Used to filter Google Business Profile listings by business name. If - // businessNameFilter is set, only listings with a matching business name are - // candidates to be sync'd into Assets. - string business_name_filter = 3; - - // Used to filter Google Business Profile listings by labels. If entries exist - // in labelFilters, only listings that have any of the labels set are - // candidates to be synchronized into Assets. If no entries exist in - // labelFilters, then all listings are candidates for syncing. - // Label filters are OR'ed together. - repeated string label_filters = 4; - - // Used to filter Google Business Profile listings by listing id. If entries - // exist in listingIdFilters, only listings specified by the filters are - // candidates to be synchronized into Assets. If no entries exist in - // listingIdFilters, then all listings are candidates for syncing. - // Listing ID filters are OR'ed together. - repeated int64 listing_id_filters = 5; - - // Immutable. The account ID of the managed business whose locations are to be used. - // If this field is not set, then all businesses accessible by the user - // (specified by the emailAddress) are used. - string business_account_id = 6 [(google.api.field_behavior) = IMMUTABLE]; -} - -// Data used to configure a location set populated with the specified chains. -message ChainSet { - // Required. Immutable. Relationship type the specified chains have with this advertiser. - google.ads.googleads.v12.enums.ChainRelationshipTypeEnum.ChainRelationshipType relationship_type = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE - ]; - - // Required. A list of chain level filters, all filters are OR'ed together. - repeated ChainFilter chains = 2 [(google.api.field_behavior) = REQUIRED]; -} - -// One chain level filter on location in a feed item set. -// The filtering logic among all the fields is AND. -message ChainFilter { - // Required. Used to filter chain locations by chain id. Only chain locations that - // belong to the specified chain will be in the asset set. - int64 chain_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Used to filter chain locations by location attributes. - // Only chain locations that belong to all of the specified attribute(s) will - // be in the asset set. If this field is empty, it means no filtering on this - // field. - repeated string location_attributes = 2; -} - -// Wrapper for multiple maps location sync data -message MapsLocationSet { - // Required. A list of maps location info that user manually synced in. - repeated MapsLocationInfo maps_locations = 1 [(google.api.field_behavior) = REQUIRED]; -} - -// Wrapper for place ids -message MapsLocationInfo { - // Place ID of the Maps location. - string place_id = 1; -} - -// Information about a Business Profile dynamic location group. -// Only applicable if the sync level AssetSet's type is LOCATION_SYNC and -// sync source is Business Profile. -message BusinessProfileLocationGroup { - // Filter for dynamic Business Profile location sets. - DynamicBusinessProfileLocationGroupFilter dynamic_business_profile_location_group_filter = 1; -} - -// Represents a filter on Business Profile locations in an asset set. If -// multiple filters are provided, they are AND'ed together. -message DynamicBusinessProfileLocationGroupFilter { - // Used to filter Business Profile locations by label. Only locations that - // have any of the listed labels will be in the asset set. - // Label filters are OR'ed together. - repeated string label_filters = 1; - - // Used to filter Business Profile locations by business name. - optional BusinessProfileBusinessNameFilter business_name_filter = 2; - - // Used to filter Business Profile locations by listing ids. - repeated int64 listing_id_filters = 3; -} - -// Business Profile location group business name filter. -message BusinessProfileBusinessNameFilter { - // Business name string to use for filtering. - string business_name = 1; - - // The type of string matching to use when filtering with business_name. - google.ads.googleads.v12.enums.LocationStringFilterTypeEnum.LocationStringFilterType filter_type = 2; -} - -// Represents information about a Chain dynamic location group. -// Only applicable if the sync level AssetSet's type is LOCATION_SYNC and -// sync source is chain. -message ChainLocationGroup { - // Used to filter chain locations by chain ids. - // Only Locations that belong to the specified chain(s) will be in the asset - // set. - repeated ChainFilter dynamic_chain_location_group_filters = 1; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/common/asset_types.proto b/third_party/googleapis/google/ads/googleads/v12/common/asset_types.proto deleted file mode 100644 index 3d57ba851..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/common/asset_types.proto +++ /dev/null @@ -1,1023 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/common/criteria.proto"; -import "google/ads/googleads/v12/common/feed_common.proto"; -import "google/ads/googleads/v12/enums/call_conversion_reporting_state.proto"; -import "google/ads/googleads/v12/enums/call_to_action_type.proto"; -import "google/ads/googleads/v12/enums/lead_form_call_to_action_type.proto"; -import "google/ads/googleads/v12/enums/lead_form_desired_intent.proto"; -import "google/ads/googleads/v12/enums/lead_form_field_user_input_type.proto"; -import "google/ads/googleads/v12/enums/lead_form_post_submit_call_to_action_type.proto"; -import "google/ads/googleads/v12/enums/location_ownership_type.proto"; -import "google/ads/googleads/v12/enums/mime_type.proto"; -import "google/ads/googleads/v12/enums/mobile_app_vendor.proto"; -import "google/ads/googleads/v12/enums/price_extension_price_qualifier.proto"; -import "google/ads/googleads/v12/enums/price_extension_price_unit.proto"; -import "google/ads/googleads/v12/enums/price_extension_type.proto"; -import "google/ads/googleads/v12/enums/promotion_extension_discount_modifier.proto"; -import "google/ads/googleads/v12/enums/promotion_extension_occasion.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "AssetTypesProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; - -// Proto file containing info messages for specific asset types. - -// A YouTube asset. -message YoutubeVideoAsset { - // YouTube video id. This is the 11 character string value used in the - // YouTube video URL. - optional string youtube_video_id = 2; - - // YouTube video title. - string youtube_video_title = 3; -} - -// A MediaBundle asset. -message MediaBundleAsset { - // Media bundle (ZIP file) asset data. The format of the uploaded ZIP file - // depends on the ad field where it will be used. For more information on the - // format, see the documentation of the ad field where you plan on using the - // MediaBundleAsset. This field is mutate only. - optional bytes data = 2; -} - -// An Image asset. -message ImageAsset { - // The raw bytes data of an image. This field is mutate only. - optional bytes data = 5; - - // File size of the image asset in bytes. - optional int64 file_size = 6; - - // MIME type of the image asset. - google.ads.googleads.v12.enums.MimeTypeEnum.MimeType mime_type = 3; - - // Metadata for this image at its original size. - ImageDimension full_size = 4; -} - -// Metadata for an image at a certain size, either original or resized. -message ImageDimension { - // Height of the image. - optional int64 height_pixels = 4; - - // Width of the image. - optional int64 width_pixels = 5; - - // A URL that returns the image with this height and width. - optional string url = 6; -} - -// A Text asset. -message TextAsset { - // Text content of the text asset. - optional string text = 2; -} - -// A Lead Form asset. -message LeadFormAsset { - // Required. The name of the business being advertised. - string business_name = 10 [(google.api.field_behavior) = REQUIRED]; - - // Required. Pre-defined display text that encourages user to expand the form. - google.ads.googleads.v12.enums.LeadFormCallToActionTypeEnum.LeadFormCallToActionType call_to_action_type = 17 [(google.api.field_behavior) = REQUIRED]; - - // Required. Text giving a clear value proposition of what users expect once they expand - // the form. - string call_to_action_description = 18 [(google.api.field_behavior) = REQUIRED]; - - // Required. Headline of the expanded form to describe what the form is asking for or - // facilitating. - string headline = 12 [(google.api.field_behavior) = REQUIRED]; - - // Required. Detailed description of the expanded form to describe what the form is - // asking for or facilitating. - string description = 13 [(google.api.field_behavior) = REQUIRED]; - - // Required. Link to a page describing the policy on how the collected data is handled - // by the advertiser/business. - string privacy_policy_url = 14 [(google.api.field_behavior) = REQUIRED]; - - // Headline of text shown after form submission that describes how the - // advertiser will follow up with the user. - optional string post_submit_headline = 15; - - // Detailed description shown after form submission that describes how the - // advertiser will follow up with the user. - optional string post_submit_description = 16; - - // Ordered list of input fields. This field can be updated by reordering - // questions, but not by adding or removing questions. - repeated LeadFormField fields = 8; - - // Ordered list of custom question fields. - repeated LeadFormCustomQuestionField custom_question_fields = 23; - - // Configured methods for collected lead data to be delivered to advertiser. - // Only one method typed as WebhookDelivery can be configured. - repeated LeadFormDeliveryMethod delivery_methods = 9; - - // Pre-defined display text that encourages user action after the form is - // submitted. - google.ads.googleads.v12.enums.LeadFormPostSubmitCallToActionTypeEnum.LeadFormPostSubmitCallToActionType post_submit_call_to_action_type = 19; - - // Asset resource name of the background image. The minimum size is 600x314 - // and the aspect ratio must be 1.91:1 (+-1%). - optional string background_image_asset = 20; - - // Chosen intent for the lead form, for example, more volume or more - // qualified. - google.ads.googleads.v12.enums.LeadFormDesiredIntentEnum.LeadFormDesiredIntent desired_intent = 21; - - // Custom disclosure shown along with Google disclaimer on the lead form. - // Accessible to allowed customers only. - optional string custom_disclosure = 22; -} - -// One input field instance within a form. -message LeadFormField { - // Describes the input type, which may be a predefined type such as "full - // name" or a pre-vetted question like "What kind of vehicle do you have?". - google.ads.googleads.v12.enums.LeadFormFieldUserInputTypeEnum.LeadFormFieldUserInputType input_type = 1; - - // Defines answer configuration that this form field accepts. If oneof is not - // set, this is a free-text answer. - oneof answers { - // Answer configuration for a single choice question. Can be set only for - // pre-vetted question fields. Minimum of 2 answers required and maximum of - // 12 allowed. - LeadFormSingleChoiceAnswers single_choice_answers = 2; - } -} - -// One custom question input field instance within a form. -message LeadFormCustomQuestionField { - // The exact custom question field text (for example, "What kind of vehicle - // do you have?"). - string custom_question_text = 1; - - // Defines answer configuration that this form field accepts. If - // oneof is not set, this is a free-text answer. - oneof answers { - // Answer configuration for a single choice question. - // Minimum of 2 answers and maximum of 12 allowed. - LeadFormSingleChoiceAnswers single_choice_answers = 2; - } -} - -// Defines possible answers for a single choice question, usually presented as -// a single-choice drop-down list. -message LeadFormSingleChoiceAnswers { - // List of choices for a single question field. The order of entries defines - // UI order. Minimum of 2 answers required and maximum of 12 allowed. - repeated string answers = 1; -} - -// A configuration of how leads are delivered to the advertiser. -message LeadFormDeliveryMethod { - // Various subtypes of delivery. - oneof delivery_details { - // Webhook method of delivery. - WebhookDelivery webhook = 1; - } -} - -// Google notifies the advertiser of leads by making HTTP calls to an -// endpoint they specify. The requests contain JSON matching a schema that -// Google publishes as part of form ads documentation. -message WebhookDelivery { - // Webhook url specified by advertiser to send the lead. - optional string advertiser_webhook_url = 4; - - // Anti-spoofing secret set by the advertiser as part of the webhook payload. - optional string google_secret = 5; - - // The schema version that this delivery instance will use. - optional int64 payload_schema_version = 6; -} - -// A Book on Google asset. Used to redirect user to book through Google. -// Book on Google will change the redirect url to book directly through -// Google. -message BookOnGoogleAsset { - -} - -// A Promotion asset. -message PromotionAsset { - // Required. A freeform description of what the promotion is targeting. - string promotion_target = 1 [(google.api.field_behavior) = REQUIRED]; - - // A modifier for qualification of the discount. - google.ads.googleads.v12.enums.PromotionExtensionDiscountModifierEnum.PromotionExtensionDiscountModifier discount_modifier = 2; - - // Start date of when the promotion is eligible to be redeemed, in yyyy-MM-dd - // format. - string redemption_start_date = 7; - - // Last date of when the promotion is eligible to be redeemed, in yyyy-MM-dd - // format. - string redemption_end_date = 8; - - // The occasion the promotion was intended for. - // If an occasion is set, the redemption window will need to fall within the - // date range associated with the occasion. - google.ads.googleads.v12.enums.PromotionExtensionOccasionEnum.PromotionExtensionOccasion occasion = 9; - - // The language of the promotion. - // Represented as BCP 47 language tag. - string language_code = 10; - - // Start date of when this asset is effective and can begin serving, in - // yyyy-MM-dd format. - string start_date = 11; - - // Last date of when this asset is effective and still serving, in yyyy-MM-dd - // format. - string end_date = 12; - - // List of non-overlapping schedules specifying all time intervals for which - // the asset may serve. There can be a maximum of 6 schedules per day, 42 in - // total. - repeated AdScheduleInfo ad_schedule_targets = 13; - - // Discount type, can be percentage off or amount off. - oneof discount_type { - // Percentage off discount in the promotion. 1,000,000 = 100%. - // Either this or money_amount_off is required. - int64 percent_off = 3; - - // Money amount off for discount in the promotion. - // Either this or percent_off is required. - Money money_amount_off = 4; - } - - // Promotion trigger. Can be by promotion code or promo by eligible order - // amount. - oneof promotion_trigger { - // A code the user should use in order to be eligible for the promotion. - string promotion_code = 5; - - // The amount the total order needs to be for the user to be eligible for - // the promotion. - Money orders_over_amount = 6; - } -} - -// A Callout asset. -message CalloutAsset { - // Required. The callout text. - // The length of this string should be between 1 and 25, inclusive. - string callout_text = 1 [(google.api.field_behavior) = REQUIRED]; - - // Start date of when this asset is effective and can begin serving, in - // yyyy-MM-dd format. - string start_date = 2; - - // Last date of when this asset is effective and still serving, in yyyy-MM-dd - // format. - string end_date = 3; - - // List of non-overlapping schedules specifying all time intervals for which - // the asset may serve. There can be a maximum of 6 schedules per day, 42 in - // total. - repeated AdScheduleInfo ad_schedule_targets = 4; -} - -// A Structured Snippet asset. -message StructuredSnippetAsset { - // Required. The header of the snippet. - // This string should be one of the predefined values at - // https://developers.google.com/google-ads/api/reference/data/structured-snippet-headers - string header = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The values in the snippet. - // The size of this collection should be between 3 and 10, inclusive. - // The length of each value should be between 1 and 25 characters, inclusive. - repeated string values = 2 [(google.api.field_behavior) = REQUIRED]; -} - -// A Sitelink asset. -message SitelinkAsset { - // Required. URL display text for the sitelink. - // The length of this string should be between 1 and 25, inclusive. - string link_text = 1 [(google.api.field_behavior) = REQUIRED]; - - // First line of the description for the sitelink. - // If set, the length should be between 1 and 35, inclusive, and description2 - // must also be set. - string description1 = 2; - - // Second line of the description for the sitelink. - // If set, the length should be between 1 and 35, inclusive, and description1 - // must also be set. - string description2 = 3; - - // Start date of when this asset is effective and can begin serving, in - // yyyy-MM-dd format. - string start_date = 4; - - // Last date of when this asset is effective and still serving, in yyyy-MM-dd - // format. - string end_date = 5; - - // List of non-overlapping schedules specifying all time intervals for which - // the asset may serve. There can be a maximum of 6 schedules per day, 42 in - // total. - repeated AdScheduleInfo ad_schedule_targets = 6; -} - -// A Page Feed asset. -message PageFeedAsset { - // Required. The webpage that advertisers want to target. - string page_url = 1 [(google.api.field_behavior) = REQUIRED]; - - // Labels used to group the page urls. - repeated string labels = 2; -} - -// A Dynamic Education asset. -message DynamicEducationAsset { - // Required. Program ID which can be any sequence of letters and digits, and must be - // unique and match the values of remarketing tag. Required. - string program_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Location ID which can be any sequence of letters and digits and must be - // unique. - string location_id = 2; - - // Required. Program name, for example, Nursing. Required. - string program_name = 3 [(google.api.field_behavior) = REQUIRED]; - - // Subject of study, for example, Health. - string subject = 4; - - // Program description, for example, Nursing Certification. - string program_description = 5; - - // School name, for example, Mountain View School of Nursing. - string school_name = 6; - - // School address which can be specified in one of the following formats. - // (1) City, state, code, country, for example, Mountain View, CA, USA. - // (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - // (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403 - string address = 7; - - // Contextual keywords, for example, Nursing certification, Health, Mountain - // View. - repeated string contextual_keywords = 8; - - // Android deep link, for example, - // android-app://com.example.android/http/example.com/gizmos?1234. - string android_app_link = 9; - - // Similar program IDs. - repeated string similar_program_ids = 10; - - // iOS deep link, for example, exampleApp://content/page. - string ios_app_link = 11; - - // iOS app store ID. This is used to check if the user has the app installed - // on their device before deep linking. If this field is set, then the - // ios_app_link field must also be present. - int64 ios_app_store_id = 12; - - // Thumbnail image url, for example, http://www.example.com/thumbnail.png. The - // thumbnail image will not be uploaded as image asset. - string thumbnail_image_url = 13; - - // Image url, for example, http://www.example.com/image.png. The image will - // not be uploaded as image asset. - string image_url = 14; -} - -// An asset representing a mobile app. -message MobileAppAsset { - // Required. A string that uniquely identifies a mobile application. It should just - // contain the platform native id, like "com.android.ebay" for Android or - // "12345689" for iOS. - string app_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The application store that distributes this specific app. - google.ads.googleads.v12.enums.MobileAppVendorEnum.MobileAppVendor app_store = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. The visible text displayed when the link is rendered in an ad. - // The length of this string should be between 1 and 25, inclusive. - string link_text = 3 [(google.api.field_behavior) = REQUIRED]; - - // Start date of when this asset is effective and can begin serving, in - // yyyy-MM-dd format. - string start_date = 4; - - // Last date of when this asset is effective and still serving, in yyyy-MM-dd - // format. - string end_date = 5; -} - -// An asset representing a hotel callout. -message HotelCalloutAsset { - // Required. The text of the hotel callout asset. - // The length of this string should be between 1 and 25, inclusive. - string text = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The language of the hotel callout. - // Represented as BCP 47 language tag. - string language_code = 2 [(google.api.field_behavior) = REQUIRED]; -} - -// A Call asset. -message CallAsset { - // Required. Two-letter country code of the phone number. Examples: 'US', 'us'. - string country_code = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The advertiser's raw phone number. Examples: '1234567890', '(123)456-7890' - string phone_number = 2 [(google.api.field_behavior) = REQUIRED]; - - // Indicates whether this CallAsset should use its own call conversion - // setting, follow the account level setting, or disable call conversion. - google.ads.googleads.v12.enums.CallConversionReportingStateEnum.CallConversionReportingState call_conversion_reporting_state = 3; - - // The conversion action to attribute a call conversion to. If not set, the - // default conversion action is used. This field only has effect if - // call_conversion_reporting_state is set to - // USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION. - string call_conversion_action = 4 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionAction" - }]; - - // List of non-overlapping schedules specifying all time intervals for which - // the asset may serve. There can be a maximum of 6 schedules per day, 42 in - // total. - repeated AdScheduleInfo ad_schedule_targets = 5; -} - -// An asset representing a list of price offers. -message PriceAsset { - // Required. The type of the price asset. - google.ads.googleads.v12.enums.PriceExtensionTypeEnum.PriceExtensionType type = 1 [(google.api.field_behavior) = REQUIRED]; - - // The price qualifier of the price asset. - google.ads.googleads.v12.enums.PriceExtensionPriceQualifierEnum.PriceExtensionPriceQualifier price_qualifier = 2; - - // Required. The language of the price asset. - // Represented as BCP 47 language tag. - string language_code = 3 [(google.api.field_behavior) = REQUIRED]; - - // The price offerings of the price asset. - // The size of this collection should be between 3 and 8, inclusive. - repeated PriceOffering price_offerings = 4; -} - -// A single price offering within a PriceAsset. -message PriceOffering { - // Required. The header of the price offering. - // The length of this string should be between 1 and 25, inclusive. - string header = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The description of the price offering. - // The length of this string should be between 1 and 25, inclusive. - string description = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. The price value of the price offering. - Money price = 3 [(google.api.field_behavior) = REQUIRED]; - - // The price unit of the price offering. - google.ads.googleads.v12.enums.PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit unit = 4; - - // Required. The final URL after all cross domain redirects. - string final_url = 5 [(google.api.field_behavior) = REQUIRED]; - - // The final mobile URL after all cross domain redirects. - string final_mobile_url = 6; -} - -// A call to action asset. -message CallToActionAsset { - // Call to action. - google.ads.googleads.v12.enums.CallToActionTypeEnum.CallToActionType call_to_action = 1; -} - -// A dynamic real estate asset. -message DynamicRealEstateAsset { - // Required. Listing ID which can be any sequence of letters and digits, and must be - // unique and match the values of remarketing tag. Required. - string listing_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. Listing name, for example, Boulevard Bungalow. Required. - string listing_name = 2 [(google.api.field_behavior) = REQUIRED]; - - // City name, for example, Mountain View, California. - string city_name = 3; - - // Description, for example, 3 beds, 2 baths, 1568 sq. ft. - string description = 4; - - // Address which can be specified in one of the following formats. - // (1) City, state, code, country, for example, Mountain View, CA, USA. - // (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - // (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403 - string address = 5; - - // Price which can be number followed by the alphabetic currency code, - // ISO 4217 standard. Use '.' as the decimal mark, for example, 200,000.00 - // USD. - string price = 6; - - // Image URL, for example, http://www.example.com/image.png. The image will - // not be uploaded as image asset. - string image_url = 7; - - // Property type, for example, House. - string property_type = 8; - - // Listing type, for example, For sale. - string listing_type = 9; - - // Contextual keywords, for example, For sale; Houses for sale. - repeated string contextual_keywords = 10; - - // Formatted price which can be any characters. If set, this attribute will be - // used instead of 'price', for example, Starting at $200,000.00. - string formatted_price = 11; - - // Android deep link, for example, - // android-app://com.example.android/http/example.com/gizmos?1234. - string android_app_link = 12; - - // iOS deep link, for example, exampleApp://content/page. - string ios_app_link = 13; - - // iOS app store ID. This is used to check if the user has the app installed - // on their device before deep linking. If this field is set, then the - // ios_app_link field must also be present. - int64 ios_app_store_id = 14; - - // Similar listing IDs. - repeated string similar_listing_ids = 15; -} - -// A dynamic custom asset. -message DynamicCustomAsset { - // Required. ID which can be any sequence of letters and digits, and must be - // unique and match the values of remarketing tag, for example, sedan. - // Required. - string id = 1 [(google.api.field_behavior) = REQUIRED]; - - // ID2 which can be any sequence of letters and digits, for example, red. ID - // sequence (ID + ID2) must be unique. - string id2 = 2; - - // Required. Item title, for example, Mid-size sedan. Required. - string item_title = 3 [(google.api.field_behavior) = REQUIRED]; - - // Item subtitle, for example, At your Mountain View dealership. - string item_subtitle = 4; - - // Item description, for example, Best selling mid-size car. - string item_description = 5; - - // Item address which can be specified in one of the following formats. - // (1) City, state, code, country, for example, Mountain View, CA, USA. - // (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - // (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403 - string item_address = 6; - - // Item category, for example, Sedans. - string item_category = 7; - - // Price which can be number followed by the alphabetic currency code, - // ISO 4217 standard. Use '.' as the decimal mark, for example, 20,000.00 USD. - string price = 8; - - // Sale price which can be number followed by the alphabetic currency code, - // ISO 4217 standard. Use '.' as the decimal mark, for example, 15,000.00 USD. - // Must be less than the 'price' field. - string sale_price = 9; - - // Formatted price which can be any characters. If set, this attribute will be - // used instead of 'price', for example, Starting at $20,000.00. - string formatted_price = 10; - - // Formatted sale price which can be any characters. If set, this attribute - // will be used instead of 'sale price', for example, On sale for $15,000.00. - string formatted_sale_price = 11; - - // Image URL, for example, http://www.example.com/image.png. The image will - // not be uploaded as image asset. - string image_url = 12; - - // Contextual keywords, for example, Sedans, 4 door sedans. - repeated string contextual_keywords = 13; - - // Android deep link, for example, - // android-app://com.example.android/http/example.com/gizmos?1234. - string android_app_link = 14; - - // iOS deep link, for example, exampleApp://content/page. - string ios_app_link = 16; - - // iOS app store ID. This is used to check if the user has the app installed - // on their device before deep linking. If this field is set, then the - // ios_app_link field must also be present. - int64 ios_app_store_id = 17; - - // Similar IDs. - repeated string similar_ids = 15; -} - -// A dynamic hotels and rentals asset. -message DynamicHotelsAndRentalsAsset { - // Required. Property ID which can be any sequence of letters and digits, and must be - // unique and match the values of remarketing tag. Required. - string property_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. Property name, for example, Mountain View Hotel. Required. - string property_name = 2 [(google.api.field_behavior) = REQUIRED]; - - // Image URL, for example, http://www.example.com/image.png. The image will - // not be uploaded as image asset. - string image_url = 3; - - // Destination name, for example, Downtown Mountain View. - string destination_name = 4; - - // Description, for example, Close to SJC Airport. - string description = 5; - - // Price which can be number followed by the alphabetic currency code, - // ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD. - string price = 6; - - // ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 USD. - // Must be less than the 'price' field. - string sale_price = 7; - - // Star rating. Must be a number between 1 to 5, inclusive. - int64 star_rating = 8; - - // Category, for example, Hotel suite. - string category = 9; - - // Contextual keywords, for example, Mountain View "Hotels", South Bay hotels. - repeated string contextual_keywords = 10; - - // Address which can be specified in one of the following formats. - // (1) City, state, code, country, for example, Mountain View, CA, USA. - // (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - // (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403 - string address = 11; - - // Android deep link, for example, - // android-app://com.example.android/http/example.com/gizmos?1234. - string android_app_link = 12; - - // iOS deep link, for example, exampleApp://content/page. - string ios_app_link = 13; - - // iOS app store ID. This is used to check if the user has the app installed - // on their device before deep linking. If this field is set, then the - // ios_app_link field must also be present. - int64 ios_app_store_id = 14; - - // Formatted price which can be any characters. If set, this attribute will be - // used instead of 'price', for example, Starting at $100.00. - string formatted_price = 15; - - // Formatted sale price which can be any characters. If set, this attribute - // will be used instead of 'sale price', for example, On sale for $80.00. - string formatted_sale_price = 16; - - // Similar property IDs. - repeated string similar_property_ids = 17; -} - -// A dynamic flights asset. -message DynamicFlightsAsset { - // Required. Destination ID which can be any sequence of letters and digits, and must be - // unique and match the values of remarketing tag. Required. - string destination_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Origin ID which can be any sequence of letters and digits. The ID sequence - // (destination ID + origin ID) must be unique. - string origin_id = 2; - - // Required. Flight description, for example, Book your ticket. Required. - string flight_description = 3 [(google.api.field_behavior) = REQUIRED]; - - // Image URL, for example, http://www.example.com/image.png. The image will - // not be uploaded as image asset. - string image_url = 4; - - // Destination name, for example, Paris. - string destination_name = 5; - - // Origin name, for example, London. - string origin_name = 6; - - // Flight price which can be number followed by the alphabetic currency code, - // ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD. - string flight_price = 7; - - // Flight sale price which can be number followed by the alphabetic currency - // code, ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 - // USD. Must be less than the 'flight_price' field. - string flight_sale_price = 8; - - // Formatted price which can be any characters. If set, this attribute will be - // used instead of 'price', for example, Starting at $100.00. - string formatted_price = 9; - - // Formatted sale price which can be any characters. If set, this attribute - // will be used instead of 'sale price', for example, On sale for $80.00. - string formatted_sale_price = 10; - - // Android deep link, for example, - // android-app://com.example.android/http/example.com/gizmos?1234. - string android_app_link = 11; - - // iOS deep link, for example, exampleApp://content/page. - string ios_app_link = 12; - - // iOS app store ID. This is used to check if the user has the app installed - // on their device before deep linking. If this field is set, then the - // ios_app_link field must also be present. - int64 ios_app_store_id = 13; - - // Similar destination IDs, for example, PAR,LON. - repeated string similar_destination_ids = 14; - - // A custom field which can be multiple key to values mapping separated by - // delimiters (",", "|" and ":"), in the forms of - // ": , , ... , | : , ... - // , | ... | : , ... ," for example, wifi: - // most | aircraft: 320, 77W | flights: 42 | legroom: 32". - string custom_mapping = 15; -} - -// A Discovery Carousel Card asset. -message DiscoveryCarouselCardAsset { - // Asset resource name of the associated 1.91:1 marketing image. This and/or - // square marketing image asset is required. - string marketing_image_asset = 1; - - // Asset resource name of the associated square marketing image. This - // and/or a marketing image asset is required. - string square_marketing_image_asset = 2; - - // Asset resource name of the associated 4:5 portrait marketing image. - string portrait_marketing_image_asset = 3; - - // Required. Headline of the carousel card. - string headline = 4 [(google.api.field_behavior) = REQUIRED]; - - // Call to action text. - string call_to_action_text = 5; -} - -// A dynamic travel asset. -message DynamicTravelAsset { - // Required. Destination ID which can be any sequence of letters and digits, and must be - // unique and match the values of remarketing tag. Required. - string destination_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Origin ID which can be any sequence of letters and digits. The ID sequence - // (destination ID + origin ID) must be unique. - string origin_id = 2; - - // Required. Title, for example, Book your train ticket. Required. - string title = 3 [(google.api.field_behavior) = REQUIRED]; - - // Destination name, for example, Paris. - string destination_name = 4; - - // Destination address which can be specified in one of the following formats. - // (1) City, state, code, country, for example, Mountain View, CA, USA. - // (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - // (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403. - string destination_address = 5; - - // Origin name, for example, London. - string origin_name = 6; - - // Price which can be a number followed by the alphabetic currency code, - // ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD. - string price = 7; - - // Sale price which can be a number followed by the alphabetic currency - // code, ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 - // USD. Must be less than the 'price' field. - string sale_price = 8; - - // Formatted price which can be any characters. If set, this attribute will be - // used instead of 'price', for example, Starting at $100.00. - string formatted_price = 9; - - // Formatted sale price which can be any characters. If set, this attribute - // will be used instead of 'sale price', for example, On sale for $80.00. - string formatted_sale_price = 10; - - // Category, for example, Express. - string category = 11; - - // Contextual keywords, for example, Paris trains. - repeated string contextual_keywords = 12; - - // Similar destination IDs, for example, NYC. - repeated string similar_destination_ids = 13; - - // Image URL, for example, http://www.example.com/image.png. The image will - // not be uploaded as image asset. - string image_url = 14; - - // Android deep link, for example, - // android-app://com.example.android/http/example.com/gizmos?1234. - string android_app_link = 15; - - // iOS deep link, for example, exampleApp://content/page. - string ios_app_link = 16; - - // iOS app store ID. This is used to check if the user has the app installed - // on their device before deep linking. If this field is set, then the - // ios_app_link field must also be present. - int64 ios_app_store_id = 17; -} - -// A dynamic local asset. -message DynamicLocalAsset { - // Required. Deal ID which can be any sequence of letters and digits, and must be - // unique and match the values of remarketing tag. Required. - string deal_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. Deal name, for example, 50% off at Mountain View Grocers. Required. - string deal_name = 2 [(google.api.field_behavior) = REQUIRED]; - - // Subtitle, for example, Groceries. - string subtitle = 3; - - // Description, for example, Save on your weekly bill. - string description = 4; - - // Price which can be a number followed by the alphabetic currency code, - // ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD. - string price = 5; - - // Sale price which can be number followed by the alphabetic currency code, - // ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 USD. - // Must be less than the 'price' field. - string sale_price = 6; - - // Image URL, for example, http://www.example.com/image.png. The image will - // not be uploaded as image asset. - string image_url = 7; - - // Address which can be specified in one of the following formats. - // (1) City, state, code, country, for example, Mountain View, CA, USA. - // (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - // (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403. - string address = 8; - - // Category, for example, Food. - string category = 9; - - // Contextual keywords, for example, Save groceries coupons. - repeated string contextual_keywords = 10; - - // Formatted price which can be any characters. If set, this attribute will be - // used instead of 'price', for example, Starting at $100.00. - string formatted_price = 11; - - // Formatted sale price which can be any characters. If set, this attribute - // will be used instead of 'sale price', for example, On sale for $80.00. - string formatted_sale_price = 12; - - // Android deep link, for example, - // android-app://com.example.android/http/example.com/gizmos?1234. - string android_app_link = 13; - - // Similar deal IDs, for example, 1275. - repeated string similar_deal_ids = 14; - - // iOS deep link, for example, exampleApp://content/page. - string ios_app_link = 15; - - // iOS app store ID. This is used to check if the user has the app installed - // on their device before deep linking. If this field is set, then the - // ios_app_link field must also be present. - int64 ios_app_store_id = 16; -} - -// A dynamic jobs asset. -message DynamicJobsAsset { - // Required. Job ID which can be any sequence of letters and digits, and must be - // unique and match the values of remarketing tag. Required. - string job_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Location ID which can be any sequence of letters and digits. The ID - // sequence (job ID + location ID) must be unique. - string location_id = 2; - - // Required. Job title, for example, Software engineer. Required. - string job_title = 3 [(google.api.field_behavior) = REQUIRED]; - - // Job subtitle, for example, Level II. - string job_subtitle = 4; - - // Description, for example, Apply your technical skills. - string description = 5; - - // Image URL, for example, http://www.example.com/image.png. The image will - // not be uploaded as image asset. - string image_url = 6; - - // Job category, for example, Technical. - string job_category = 7; - - // Contextual keywords, for example, Software engineering job. - repeated string contextual_keywords = 8; - - // Address which can be specified in one of the following formats. - // (1) City, state, code, country, for example, Mountain View, CA, USA. - // (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - // (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403. - string address = 9; - - // Salary, for example, $100,000. - string salary = 10; - - // Android deep link, for example, - // android-app://com.example.android/http/example.com/gizmos?1234. - string android_app_link = 11; - - // Similar job IDs, for example, 1275. - repeated string similar_job_ids = 12; - - // iOS deep link, for example, exampleApp://content/page. - string ios_app_link = 13; - - // iOS app store ID. This is used to check if the user has the app installed - // on their device before deep linking. If this field is set, then the - // ios_app_link field must also be present. - int64 ios_app_store_id = 14; -} - -// A location asset. -message LocationAsset { - // Place IDs uniquely identify a place in the Google Places database and on - // Google Maps. - // This field is unique for a given customer ID and asset type. See - // https://developers.google.com/places/web-service/place-id to learn more - // about Place ID. - string place_id = 1; - - // The list of business locations for the customer. - // This will only be returned if the Location Asset is syncing from the - // Business Profile account. It is possible to have multiple Business Profile - // listings under the same account that point to the same Place ID. - repeated BusinessProfileLocation business_profile_locations = 2; - - // The type of location ownership. - // If the type is BUSINESS_OWNER, it will be served as a location extension. - // If the type is AFFILIATE, it will be served as an affiliate location. - google.ads.googleads.v12.enums.LocationOwnershipTypeEnum.LocationOwnershipType location_ownership_type = 3; -} - -// Business Profile location data synced from the linked Business Profile -// account. -message BusinessProfileLocation { - // Advertiser specified label for the location on the Business Profile - // account. This is synced from the Business Profile account. - repeated string labels = 1; - - // Business Profile store code of this location. This is synced from the - // Business Profile account. - string store_code = 2; - - // Listing ID of this Business Profile location. This is synced from the - // linked Business Profile account. - int64 listing_id = 3; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/common/asset_usage.proto b/third_party/googleapis/google/ads/googleads/v12/common/asset_usage.proto deleted file mode 100644 index 293a3ed77..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/common/asset_usage.proto +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/enums/served_asset_field_type.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "AssetUsageProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; - -// Proto file describing asset usage. - -// Contains the usage information of the asset. -message AssetUsage { - // Resource name of the asset. - string asset = 1; - - // The served field type of the asset. - google.ads.googleads.v12.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType served_asset_field_type = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/common/audiences.proto b/third_party/googleapis/google/ads/googleads/v12/common/audiences.proto deleted file mode 100644 index 6dab1a69d..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/common/audiences.proto +++ /dev/null @@ -1,173 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/enums/gender_type.proto"; -import "google/ads/googleads/v12/enums/income_range_type.proto"; -import "google/ads/googleads/v12/enums/parental_status_type.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "AudiencesProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; - -// Positive dimension specifying user's audience. -message AudienceDimension { - // Dimension specifying users who belong to the audience. - oneof dimension { - // Dimension specifying users by their age. - AgeDimension age = 1; - - // Dimension specifying users by their gender. - GenderDimension gender = 2; - - // Dimension specifying users by their household income. - HouseholdIncomeDimension household_income = 3; - - // Dimension specifying users by their parental status. - ParentalStatusDimension parental_status = 4; - - // Dimension specifying users by their membership in other audience - // segments. - AudienceSegmentDimension audience_segments = 5; - } -} - -// Negative dimension specifying users to exclude from the audience. -message AudienceExclusionDimension { - // Audience segment to be excluded. - repeated ExclusionSegment exclusions = 1; -} - -// An audience segment to be excluded from an audience. -message ExclusionSegment { - // Segment to be excluded. - oneof segment { - // User list segment to be excluded. - UserListSegment user_list = 1; - } -} - -// Dimension specifying users by their age. -message AgeDimension { - // Contiguous age range to be included in the dimension. - repeated AgeSegment age_ranges = 1; - - // Include users whose age is not determined. - optional bool include_undetermined = 2; -} - -// Contiguous age range. -message AgeSegment { - // Minimum age to include. A minimum age must be specified and must be at - // least 18. Allowed values are 18, 25, 35, 45, 55, and 65. - optional int32 min_age = 1; - - // Maximum age to include. A maximum age need not be specified. If specified, - // max_age must be greater than min_age, and allowed values are 24, 34, 44, - // 54, and 64. - optional int32 max_age = 2; -} - -// Dimension specifying users by their gender. -message GenderDimension { - // Included gender demographic segments. - repeated google.ads.googleads.v12.enums.GenderTypeEnum.GenderType genders = 1; - - // Include users whose gender is not determined. - optional bool include_undetermined = 2; -} - -// Dimension specifying users by their household income. -message HouseholdIncomeDimension { - // Included household income demographic segments. - repeated google.ads.googleads.v12.enums.IncomeRangeTypeEnum.IncomeRangeType income_ranges = 1; - - // Include users whose household income is not determined. - optional bool include_undetermined = 2; -} - -// Dimension specifying users by their parental status. -message ParentalStatusDimension { - // Included parental status demographic segments. - repeated google.ads.googleads.v12.enums.ParentalStatusTypeEnum.ParentalStatusType parental_statuses = 1; - - // Include users whose parental status is undetermined. - optional bool include_undetermined = 2; -} - -// Dimension specifying users by their membership in other audience segments. -message AudienceSegmentDimension { - // Included audience segments. Users are included if they belong to at least - // one segment. - repeated AudienceSegment segments = 1; -} - -// Positive audience segment. -message AudienceSegment { - // Positive segment. - oneof segment { - // User list segment. - UserListSegment user_list = 1; - - // Affinity or In-market segment. - UserInterestSegment user_interest = 2; - - // Live-event audience segment. - LifeEventSegment life_event = 3; - - // Detailed demographic segment. - DetailedDemographicSegment detailed_demographic = 4; - - // Custom audience segment. - CustomAudienceSegment custom_audience = 5; - } -} - -// User list segment. -message UserListSegment { - // The user list resource. - optional string user_list = 1; -} - -// User interest segment. -message UserInterestSegment { - // The user interest resource. - optional string user_interest_category = 1; -} - -// Live event segment. -message LifeEventSegment { - // The life event resource. - optional string life_event = 1; -} - -// Detailed demographic segment. -message DetailedDemographicSegment { - // The detailed demographic resource. - optional string detailed_demographic = 1; -} - -// Custom audience segment. -message CustomAudienceSegment { - // The custom audience resource. - optional string custom_audience = 1; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/common/bidding.proto b/third_party/googleapis/google/ads/googleads/v12/common/bidding.proto deleted file mode 100644 index 15ba9c510..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/common/bidding.proto +++ /dev/null @@ -1,208 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/enums/target_impression_share_location.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "BiddingProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; - -// Proto file describing bidding schemes. - -// Commission is an automatic bidding strategy in which the advertiser pays a -// certain portion of the conversion value. -message Commission { - // Commission rate defines the portion of the conversion value that the - // advertiser will be billed. A commission rate of x should be passed into - // this field as (x * 1,000,000). For example, 106,000 represents a commission - // rate of 0.106 (10.6%). - optional int64 commission_rate_micros = 2; -} - -// An automated bidding strategy that raises bids for clicks -// that seem more likely to lead to a conversion and lowers -// them for clicks where they seem less likely. -// -// This bidding strategy is deprecated and cannot be created anymore. Use -// ManualCpc with enhanced_cpc_enabled set to true for equivalent functionality. -message EnhancedCpc { - -} - -// Manual bidding strategy that allows advertiser to set the bid per -// advertiser-specified action. -message ManualCpa { - -} - -// Manual click-based bidding where user pays per click. -message ManualCpc { - // Whether bids are to be enhanced based on conversion optimizer data. - optional bool enhanced_cpc_enabled = 2; -} - -// Manual impression-based bidding where user pays per thousand impressions. -message ManualCpm { - -} - -// View based bidding where user pays per video view. -message ManualCpv { - -} - -// An automated bidding strategy to help get the most conversions for your -// campaigns while spending your budget. -message MaximizeConversions { - // Maximum bid limit that can be set by the bid strategy. - // The limit applies to all keywords managed by the strategy. - // Mutable for portfolio bidding strategies only. - int64 cpc_bid_ceiling_micros = 2; - - // Minimum bid limit that can be set by the bid strategy. - // The limit applies to all keywords managed by the strategy. - // Mutable for portfolio bidding strategies only. - int64 cpc_bid_floor_micros = 3; - - // The target cost-per-action (CPA) option. This is the average amount that - // you would like to spend per conversion action specified in micro units of - // the bidding strategy's currency. If set, the bid strategy will get as many - // conversions as possible at or below the target cost-per-action. If the - // target CPA is not set, the bid strategy will aim to achieve the lowest - // possible CPA given the budget. - int64 target_cpa_micros = 4; -} - -// An automated bidding strategy to help get the most conversion value for your -// campaigns while spending your budget. -message MaximizeConversionValue { - // The target return on ad spend (ROAS) option. If set, the bid strategy will - // maximize revenue while averaging the target return on ad spend. If the - // target ROAS is high, the bid strategy may not be able to spend the full - // budget. If the target ROAS is not set, the bid strategy will aim to - // achieve the highest possible ROAS for the budget. - double target_roas = 2; - - // Maximum bid limit that can be set by the bid strategy. - // The limit applies to all keywords managed by the strategy. - // Mutable for portfolio bidding strategies only. - int64 cpc_bid_ceiling_micros = 3; - - // Minimum bid limit that can be set by the bid strategy. - // The limit applies to all keywords managed by the strategy. - // Mutable for portfolio bidding strategies only. - int64 cpc_bid_floor_micros = 4; -} - -// An automated bid strategy that sets bids to help get as many conversions as -// possible at the target cost-per-acquisition (CPA) you set. -message TargetCpa { - // Average CPA target. - // This target should be greater than or equal to minimum billable unit based - // on the currency for the account. - optional int64 target_cpa_micros = 4; - - // Maximum bid limit that can be set by the bid strategy. - // The limit applies to all keywords managed by the strategy. - // This should only be set for portfolio bid strategies. - optional int64 cpc_bid_ceiling_micros = 5; - - // Minimum bid limit that can be set by the bid strategy. - // The limit applies to all keywords managed by the strategy. - // This should only be set for portfolio bid strategies. - optional int64 cpc_bid_floor_micros = 6; -} - -// Target CPM (cost per thousand impressions) is an automated bidding strategy -// that sets bids to optimize performance given the target CPM you set. -message TargetCpm { - -} - -// An automated bidding strategy that sets bids so that a certain percentage of -// search ads are shown at the top of the first page (or other targeted -// location). -message TargetImpressionShare { - // The targeted location on the search results page. - google.ads.googleads.v12.enums.TargetImpressionShareLocationEnum.TargetImpressionShareLocation location = 1; - - // The chosen fraction of ads to be shown in the targeted location in micros. - // For example, 1% equals 10,000. - optional int64 location_fraction_micros = 4; - - // The highest CPC bid the automated bidding system is permitted to specify. - // This is a required field entered by the advertiser that sets the ceiling - // and specified in local micros. - optional int64 cpc_bid_ceiling_micros = 5; -} - -// An automated bidding strategy that helps you maximize revenue while -// averaging a specific target return on ad spend (ROAS). -message TargetRoas { - // Required. The chosen revenue (based on conversion data) per unit of spend. - // Value must be between 0.01 and 1000.0, inclusive. - optional double target_roas = 4; - - // Maximum bid limit that can be set by the bid strategy. - // The limit applies to all keywords managed by the strategy. - // This should only be set for portfolio bid strategies. - optional int64 cpc_bid_ceiling_micros = 5; - - // Minimum bid limit that can be set by the bid strategy. - // The limit applies to all keywords managed by the strategy. - // This should only be set for portfolio bid strategies. - optional int64 cpc_bid_floor_micros = 6; -} - -// An automated bid strategy that sets your bids to help get as many clicks -// as possible within your budget. -message TargetSpend { - // The spend target under which to maximize clicks. - // A TargetSpend bidder will attempt to spend the smaller of this value - // or the natural throttling spend amount. - // If not specified, the budget is used as the spend target. - // This field is deprecated and should no longer be used. See - // https://ads-developers.googleblog.com/2020/05/reminder-about-sunset-creation-of.html - // for details. - optional int64 target_spend_micros = 3 [deprecated = true]; - - // Maximum bid limit that can be set by the bid strategy. - // The limit applies to all keywords managed by the strategy. - optional int64 cpc_bid_ceiling_micros = 4; -} - -// A bidding strategy where bids are a fraction of the advertised price for -// some good or service. -message PercentCpc { - // Maximum bid limit that can be set by the bid strategy. This is - // an optional field entered by the advertiser and specified in local micros. - // Note: A zero value is interpreted in the same way as having bid_ceiling - // undefined. - optional int64 cpc_bid_ceiling_micros = 3; - - // Adjusts the bid for each auction upward or downward, depending on the - // likelihood of a conversion. Individual bids may exceed - // cpc_bid_ceiling_micros, but the average bid amount for a campaign should - // not. - optional bool enhanced_cpc_enabled = 4; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/common/click_location.proto b/third_party/googleapis/google/ads/googleads/v12/common/click_location.proto deleted file mode 100644 index 14b444802..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/common/click_location.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.common; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "ClickLocationProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; - -// Proto file describing a ClickLocation. - -// Location criteria associated with a click. -message ClickLocation { - // The city location criterion associated with the impression. - optional string city = 6; - - // The country location criterion associated with the impression. - optional string country = 7; - - // The metro location criterion associated with the impression. - optional string metro = 8; - - // The most specific location criterion associated with the impression. - optional string most_specific = 9; - - // The region location criterion associated with the impression. - optional string region = 10; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/common/criteria.proto b/third_party/googleapis/google/ads/googleads/v12/common/criteria.proto deleted file mode 100644 index efc776042..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/common/criteria.proto +++ /dev/null @@ -1,714 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/enums/age_range_type.proto"; -import "google/ads/googleads/v12/enums/app_payment_model_type.proto"; -import "google/ads/googleads/v12/enums/content_label_type.proto"; -import "google/ads/googleads/v12/enums/day_of_week.proto"; -import "google/ads/googleads/v12/enums/device.proto"; -import "google/ads/googleads/v12/enums/gender_type.proto"; -import "google/ads/googleads/v12/enums/hotel_date_selection_type.proto"; -import "google/ads/googleads/v12/enums/income_range_type.proto"; -import "google/ads/googleads/v12/enums/interaction_type.proto"; -import "google/ads/googleads/v12/enums/keyword_match_type.proto"; -import "google/ads/googleads/v12/enums/listing_group_type.proto"; -import "google/ads/googleads/v12/enums/location_group_radius_units.proto"; -import "google/ads/googleads/v12/enums/minute_of_hour.proto"; -import "google/ads/googleads/v12/enums/parental_status_type.proto"; -import "google/ads/googleads/v12/enums/preferred_content_type.proto"; -import "google/ads/googleads/v12/enums/product_bidding_category_level.proto"; -import "google/ads/googleads/v12/enums/product_channel.proto"; -import "google/ads/googleads/v12/enums/product_channel_exclusivity.proto"; -import "google/ads/googleads/v12/enums/product_condition.proto"; -import "google/ads/googleads/v12/enums/product_custom_attribute_index.proto"; -import "google/ads/googleads/v12/enums/product_type_level.proto"; -import "google/ads/googleads/v12/enums/proximity_radius_units.proto"; -import "google/ads/googleads/v12/enums/webpage_condition_operand.proto"; -import "google/ads/googleads/v12/enums/webpage_condition_operator.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "CriteriaProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; - -// Proto file describing criteria types. - -// A keyword criterion. -message KeywordInfo { - // The text of the keyword (at most 80 characters and 10 words). - optional string text = 3; - - // The match type of the keyword. - google.ads.googleads.v12.enums.KeywordMatchTypeEnum.KeywordMatchType match_type = 2; -} - -// A placement criterion. This can be used to modify bids for sites when -// targeting the content network. -message PlacementInfo { - // URL of the placement. - // - // For example, "http://www.domain.com". - optional string url = 2; -} - -// A mobile app category criterion. -message MobileAppCategoryInfo { - // The mobile app category constant resource name. - optional string mobile_app_category_constant = 2; -} - -// A mobile application criterion. -message MobileApplicationInfo { - // A string that uniquely identifies a mobile application to Google Ads API. - // The format of this string is "{platform}-{platform_native_id}", where - // platform is "1" for iOS apps and "2" for Android apps, and where - // platform_native_id is the mobile application identifier native to the - // corresponding platform. - // For iOS, this native identifier is the 9 digit string that appears at the - // end of an App Store URL (for example, "476943146" for "Flood-It! 2" whose - // App Store link is - // "http://itunes.apple.com/us/app/flood-it!-2/id476943146"). For Android, - // this native identifier is the application's package name (for example, - // "com.labpixies.colordrips" for "Color Drips" given Google Play link - // "https://play.google.com/store/apps/details?id=com.labpixies.colordrips"). - // A well formed app id for Google Ads API would thus be "1-476943146" for iOS - // and "2-com.labpixies.colordrips" for Android. - // This field is required and must be set in CREATE operations. - optional string app_id = 4; - - // Name of this mobile application. - optional string name = 5; -} - -// A location criterion. -message LocationInfo { - // The geo target constant resource name. - optional string geo_target_constant = 2; -} - -// A device criterion. -message DeviceInfo { - // Type of the device. - google.ads.googleads.v12.enums.DeviceEnum.Device type = 1; -} - -// A preferred content criterion. -message PreferredContentInfo { - // Type of the preferred content. - google.ads.googleads.v12.enums.PreferredContentTypeEnum.PreferredContentType type = 2; -} - -// A listing group criterion. -message ListingGroupInfo { - // Type of the listing group. - google.ads.googleads.v12.enums.ListingGroupTypeEnum.ListingGroupType type = 1; - - // Dimension value with which this listing group is refining its parent. - // Undefined for the root group. - ListingDimensionInfo case_value = 2; - - // Resource name of ad group criterion which is the parent listing group - // subdivision. Null for the root group. - optional string parent_ad_group_criterion = 4; -} - -// A listing scope criterion. -message ListingScopeInfo { - // Scope of the campaign criterion. - repeated ListingDimensionInfo dimensions = 2; -} - -// Listing dimensions for listing group criterion. -message ListingDimensionInfo { - // Dimension of one of the types below is always present. - oneof dimension { - // Advertiser-specific hotel ID. - HotelIdInfo hotel_id = 2; - - // Class of the hotel as a number of stars 1 to 5. - HotelClassInfo hotel_class = 3; - - // Country or Region the hotel is located in. - HotelCountryRegionInfo hotel_country_region = 4; - - // State the hotel is located in. - HotelStateInfo hotel_state = 5; - - // City the hotel is located in. - HotelCityInfo hotel_city = 6; - - // Bidding category of a product offer. - ProductBiddingCategoryInfo product_bidding_category = 13; - - // Brand of a product offer. - ProductBrandInfo product_brand = 15; - - // Locality of a product offer. - ProductChannelInfo product_channel = 8; - - // Availability of a product offer. - ProductChannelExclusivityInfo product_channel_exclusivity = 9; - - // Condition of a product offer. - ProductConditionInfo product_condition = 10; - - // Custom attribute of a product offer. - ProductCustomAttributeInfo product_custom_attribute = 16; - - // Item id of a product offer. - ProductItemIdInfo product_item_id = 11; - - // Type of a product offer. - ProductTypeInfo product_type = 12; - - // Grouping of a product offer. - ProductGroupingInfo product_grouping = 17; - - // Labels of a product offer. - ProductLabelsInfo product_labels = 18; - - // Legacy condition of a product offer. - ProductLegacyConditionInfo product_legacy_condition = 19; - - // Full type of a product offer. - ProductTypeFullInfo product_type_full = 20; - - // Unknown dimension. Set when no other listing dimension is set. - UnknownListingDimensionInfo unknown_listing_dimension = 14; - } -} - -// Advertiser-specific hotel ID. -message HotelIdInfo { - // String value of the hotel ID. - optional string value = 2; -} - -// Class of the hotel as a number of stars 1 to 5. -message HotelClassInfo { - // Long value of the hotel class. - optional int64 value = 2; -} - -// Country or Region the hotel is located in. -message HotelCountryRegionInfo { - // The Geo Target Constant resource name. - optional string country_region_criterion = 2; -} - -// State the hotel is located in. -message HotelStateInfo { - // The Geo Target Constant resource name. - optional string state_criterion = 2; -} - -// City the hotel is located in. -message HotelCityInfo { - // The Geo Target Constant resource name. - optional string city_criterion = 2; -} - -// Bidding category of a product offer. -message ProductBiddingCategoryInfo { - // ID of the product bidding category. - // - // This ID is equivalent to the google_product_category ID as described in - // this article: https://support.google.com/merchants/answer/6324436 - optional int64 id = 4; - - // Two-letter upper-case country code of the product bidding category. It must - // match the campaign.shopping_setting.sales_country field. - optional string country_code = 5; - - // Level of the product bidding category. - google.ads.googleads.v12.enums.ProductBiddingCategoryLevelEnum.ProductBiddingCategoryLevel level = 3; -} - -// Brand of the product. -message ProductBrandInfo { - // String value of the product brand. - optional string value = 2; -} - -// Locality of a product offer. -message ProductChannelInfo { - // Value of the locality. - google.ads.googleads.v12.enums.ProductChannelEnum.ProductChannel channel = 1; -} - -// Availability of a product offer. -message ProductChannelExclusivityInfo { - // Value of the availability. - google.ads.googleads.v12.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity channel_exclusivity = 1; -} - -// Condition of a product offer. -message ProductConditionInfo { - // Value of the condition. - google.ads.googleads.v12.enums.ProductConditionEnum.ProductCondition condition = 1; -} - -// Custom attribute of a product offer. -message ProductCustomAttributeInfo { - // String value of the product custom attribute. - optional string value = 3; - - // Indicates the index of the custom attribute. - google.ads.googleads.v12.enums.ProductCustomAttributeIndexEnum.ProductCustomAttributeIndex index = 2; -} - -// Item id of a product offer. -message ProductItemIdInfo { - // Value of the id. - optional string value = 2; -} - -// Type of a product offer. -message ProductTypeInfo { - // Value of the type. - optional string value = 3; - - // Level of the type. - google.ads.googleads.v12.enums.ProductTypeLevelEnum.ProductTypeLevel level = 2; -} - -// Grouping of a product offer. This listing dimension is deprecated and it is -// supported only in Display campaigns. -message ProductGroupingInfo { - // String value of the product grouping. - optional string value = 1; -} - -// Labels of a product offer. This listing dimension is deprecated and it is -// supported only in Display campaigns. -message ProductLabelsInfo { - // String value of the product labels. - optional string value = 1; -} - -// Legacy condition of a product offer. This listing dimension is deprecated and -// it is supported only in Display campaigns. -message ProductLegacyConditionInfo { - // String value of the product legacy condition. - optional string value = 1; -} - -// Full type of a product offer. This listing dimension is deprecated and it is -// supported only in Display campaigns. -message ProductTypeFullInfo { - // String value of the product full type. - optional string value = 1; -} - -// Unknown listing dimension. -message UnknownListingDimensionInfo { - -} - -// Criterion for hotel date selection (default dates versus user selected). -message HotelDateSelectionTypeInfo { - // Type of the hotel date selection - google.ads.googleads.v12.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType type = 1; -} - -// Criterion for number of days prior to the stay the booking is being made. -message HotelAdvanceBookingWindowInfo { - // Low end of the number of days prior to the stay. - optional int64 min_days = 3; - - // High end of the number of days prior to the stay. - optional int64 max_days = 4; -} - -// Criterion for length of hotel stay in nights. -message HotelLengthOfStayInfo { - // Low end of the number of nights in the stay. - optional int64 min_nights = 3; - - // High end of the number of nights in the stay. - optional int64 max_nights = 4; -} - -// Criterion for a check-in date range. -message HotelCheckInDateRangeInfo { - // Start date in the YYYY-MM-DD format. - string start_date = 1; - - // End date in the YYYY-MM-DD format. - string end_date = 2; -} - -// Criterion for day of the week the booking is for. -message HotelCheckInDayInfo { - // The day of the week. - google.ads.googleads.v12.enums.DayOfWeekEnum.DayOfWeek day_of_week = 1; -} - -// Criterion for Interaction Type. -message InteractionTypeInfo { - // The interaction type. - google.ads.googleads.v12.enums.InteractionTypeEnum.InteractionType type = 1; -} - -// Represents an AdSchedule criterion. -// -// AdSchedule is specified as the day of the week and a time interval -// within which ads will be shown. -// -// No more than six AdSchedules can be added for the same day. -message AdScheduleInfo { - // Minutes after the start hour at which this schedule starts. - // - // This field is required for CREATE operations and is prohibited on UPDATE - // operations. - google.ads.googleads.v12.enums.MinuteOfHourEnum.MinuteOfHour start_minute = 1; - - // Minutes after the end hour at which this schedule ends. The schedule is - // exclusive of the end minute. - // - // This field is required for CREATE operations and is prohibited on UPDATE - // operations. - google.ads.googleads.v12.enums.MinuteOfHourEnum.MinuteOfHour end_minute = 2; - - // Starting hour in 24 hour time. - // This field must be between 0 and 23, inclusive. - // - // This field is required for CREATE operations and is prohibited on UPDATE - // operations. - optional int32 start_hour = 6; - - // Ending hour in 24 hour time; 24 signifies end of the day. - // This field must be between 0 and 24, inclusive. - // - // This field is required for CREATE operations and is prohibited on UPDATE - // operations. - optional int32 end_hour = 7; - - // Day of the week the schedule applies to. - // - // This field is required for CREATE operations and is prohibited on UPDATE - // operations. - google.ads.googleads.v12.enums.DayOfWeekEnum.DayOfWeek day_of_week = 5; -} - -// An age range criterion. -message AgeRangeInfo { - // Type of the age range. - google.ads.googleads.v12.enums.AgeRangeTypeEnum.AgeRangeType type = 1; -} - -// A gender criterion. -message GenderInfo { - // Type of the gender. - google.ads.googleads.v12.enums.GenderTypeEnum.GenderType type = 1; -} - -// An income range criterion. -message IncomeRangeInfo { - // Type of the income range. - google.ads.googleads.v12.enums.IncomeRangeTypeEnum.IncomeRangeType type = 1; -} - -// A parental status criterion. -message ParentalStatusInfo { - // Type of the parental status. - google.ads.googleads.v12.enums.ParentalStatusTypeEnum.ParentalStatusType type = 1; -} - -// A YouTube Video criterion. -message YouTubeVideoInfo { - // YouTube video id as it appears on the YouTube watch page. - optional string video_id = 2; -} - -// A YouTube Channel criterion. -message YouTubeChannelInfo { - // The YouTube uploader channel id or the channel code of a YouTube channel. - optional string channel_id = 2; -} - -// A User List criterion. Represents a user list that is defined by the -// advertiser to be targeted. -message UserListInfo { - // The User List resource name. - optional string user_list = 2; -} - -// A Proximity criterion. The geo point and radius determine what geographical -// area is included. The address is a description of the geo point that does -// not affect ad serving. -// -// There are two ways to create a proximity. First, by setting an address -// and radius. The geo point will be automatically computed. Second, by -// setting a geo point and radius. The address is an optional label that won't -// be validated. -message ProximityInfo { - // Latitude and longitude. - GeoPointInfo geo_point = 1; - - // The radius of the proximity. - optional double radius = 5; - - // The unit of measurement of the radius. Default is KILOMETERS. - google.ads.googleads.v12.enums.ProximityRadiusUnitsEnum.ProximityRadiusUnits radius_units = 3; - - // Full address. - AddressInfo address = 4; -} - -// Geo point for proximity criterion. -message GeoPointInfo { - // Micro degrees for the longitude. - optional int32 longitude_in_micro_degrees = 3; - - // Micro degrees for the latitude. - optional int32 latitude_in_micro_degrees = 4; -} - -// Address for proximity criterion. -message AddressInfo { - // Postal code. - optional string postal_code = 8; - - // Province or state code. - optional string province_code = 9; - - // Country code. - optional string country_code = 10; - - // Province or state name. - optional string province_name = 11; - - // Street address line 1. - optional string street_address = 12; - - // Street address line 2. This field is write-only. It is only used for - // calculating the longitude and latitude of an address when geo_point is - // empty. - optional string street_address2 = 13; - - // Name of the city. - optional string city_name = 14; -} - -// A topic criterion. Use topics to target or exclude placements in the -// Google Display Network based on the category into which the placement falls -// (for example, "Pets & Animals/Pets/Dogs"). -message TopicInfo { - // The Topic Constant resource name. - optional string topic_constant = 3; - - // The category to target or exclude. Each subsequent element in the array - // describes a more specific sub-category. For example, - // "Pets & Animals", "Pets", "Dogs" represents the "Pets & Animals/Pets/Dogs" - // category. - repeated string path = 4; -} - -// A language criterion. -message LanguageInfo { - // The language constant resource name. - optional string language_constant = 2; -} - -// An IpBlock criterion used for IP exclusions. We allow: -// - IPv4 and IPv6 addresses -// - individual addresses (192.168.0.1) -// - masks for individual addresses (192.168.0.1/32) -// - masks for Class C networks (192.168.0.1/24) -message IpBlockInfo { - // The IP address of this IP block. - optional string ip_address = 2; -} - -// Content Label for category exclusion. -message ContentLabelInfo { - // Content label type, required for CREATE operations. - google.ads.googleads.v12.enums.ContentLabelTypeEnum.ContentLabelType type = 1; -} - -// Represents a Carrier Criterion. -message CarrierInfo { - // The Carrier constant resource name. - optional string carrier_constant = 2; -} - -// Represents a particular interest-based topic to be targeted. -message UserInterestInfo { - // The UserInterest resource name. - optional string user_interest_category = 2; -} - -// Represents a criterion for targeting webpages of an advertiser's website. -message WebpageInfo { - // The name of the criterion that is defined by this parameter. The name value - // will be used for identifying, sorting and filtering criteria with this type - // of parameters. - // - // This field is required for CREATE operations and is prohibited on UPDATE - // operations. - optional string criterion_name = 3; - - // Conditions, or logical expressions, for webpage targeting. The list of - // webpage targeting conditions are and-ed together when evaluated - // for targeting. An empty list of conditions indicates all pages of the - // campaign's website are targeted. - // - // This field is required for CREATE operations and is prohibited on UPDATE - // operations. - repeated WebpageConditionInfo conditions = 2; - - // Website criteria coverage percentage. This is the computed percentage - // of website coverage based on the website target, negative website target - // and negative keywords in the ad group and campaign. For instance, when - // coverage returns as 1, it indicates it has 100% coverage. This field is - // read-only. - double coverage_percentage = 4; - - // List of sample urls that match the website target. This field is read-only. - WebpageSampleInfo sample = 5; -} - -// Logical expression for targeting webpages of an advertiser's website. -message WebpageConditionInfo { - // Operand of webpage targeting condition. - google.ads.googleads.v12.enums.WebpageConditionOperandEnum.WebpageConditionOperand operand = 1; - - // Operator of webpage targeting condition. - google.ads.googleads.v12.enums.WebpageConditionOperatorEnum.WebpageConditionOperator operator = 2; - - // Argument of webpage targeting condition. - optional string argument = 4; -} - -// List of sample urls that match the website target -message WebpageSampleInfo { - // Webpage sample urls - repeated string sample_urls = 1; -} - -// Represents an operating system version to be targeted. -message OperatingSystemVersionInfo { - // The operating system version constant resource name. - optional string operating_system_version_constant = 2; -} - -// An app payment model criterion. -message AppPaymentModelInfo { - // Type of the app payment model. - google.ads.googleads.v12.enums.AppPaymentModelTypeEnum.AppPaymentModelType type = 1; -} - -// A mobile device criterion. -message MobileDeviceInfo { - // The mobile device constant resource name. - optional string mobile_device_constant = 2; -} - -// A custom affinity criterion. -// A criterion of this type is only targetable. -message CustomAffinityInfo { - // The CustomInterest resource name. - optional string custom_affinity = 2; -} - -// A custom intent criterion. -// A criterion of this type is only targetable. -message CustomIntentInfo { - // The CustomInterest resource name. - optional string custom_intent = 2; -} - -// A radius around a list of locations specified through a feed or assetSet. -message LocationGroupInfo { - // Feed specifying locations for targeting. Cannot be set with AssetSet - // fields. This is required and must be set in CREATE operations. - optional string feed = 5; - - // Geo target constant(s) restricting the scope of the geographic area within - // the feed. Currently only one geo target constant is allowed. Cannot be set - // with AssetSet fields. - repeated string geo_target_constants = 6; - - // Distance in units specifying the radius around targeted locations. - // This is required and must be set in CREATE operations. - optional int64 radius = 7; - - // Unit of the radius. Miles and meters are supported for geo target - // constants. Milli miles and meters are supported for feed item sets and - // asset sets. This is required and must be set in CREATE operations. - google.ads.googleads.v12.enums.LocationGroupRadiusUnitsEnum.LocationGroupRadiusUnits radius_units = 4; - - // FeedItemSets whose FeedItems are targeted. If multiple IDs are specified, - // then all items that appear in at least one set are targeted. This field - // cannot be used with geo_target_constants. This is optional and can only be - // set in CREATE operations. Cannot be set with AssetSet fields. - repeated string feed_item_sets = 8; - - // Denotes that the latest customer level asset set is used for targeting. - // Used with radius and radius_units. Cannot be used with - // feed, geo target constants or feed item sets. When using asset sets, either - // this field or location_group_asset_sets should be specified. Both cannot be - // used at the same time. This can only be set in CREATE operations. - optional bool enable_customer_level_location_asset_set = 9; - - // AssetSets whose Assets are targeted. If multiple IDs are specified, then - // all items that appear in at least one set are targeted. This field cannot - // be used with feed, geo target constants or feed item sets. When using asset - // sets, either this field or enable_customer_level_location_asset_set should - // be specified. Both cannot be used at the same time. This can only be set - // in CREATE operations. - repeated string location_group_asset_sets = 10; -} - -// A custom audience criterion. -message CustomAudienceInfo { - // The CustomAudience resource name. - string custom_audience = 1; -} - -// A combined audience criterion. -message CombinedAudienceInfo { - // The CombinedAudience resource name. - string combined_audience = 1; -} - -// An audience criterion. -message AudienceInfo { - // The Audience resource name. - string audience = 1; -} - -// A Smart Campaign keyword theme. -message KeywordThemeInfo { - // Either a predefined keyword theme constant or free-form text may be - // specified. - oneof keyword_theme { - // The resource name of a Smart Campaign keyword theme constant. - // `keywordThemeConstants/{keyword_theme_id}~{sub_keyword_theme_id}` - string keyword_theme_constant = 1; - - // Free-form text to be matched to a Smart Campaign keyword theme constant - // on a best-effort basis. - string free_form_keyword_theme = 2; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v12/common/criterion_category_availability.proto b/third_party/googleapis/google/ads/googleads/v12/common/criterion_category_availability.proto deleted file mode 100644 index d3a02443f..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/common/criterion_category_availability.proto +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/enums/advertising_channel_sub_type.proto"; -import "google/ads/googleads/v12/enums/advertising_channel_type.proto"; -import "google/ads/googleads/v12/enums/criterion_category_channel_availability_mode.proto"; -import "google/ads/googleads/v12/enums/criterion_category_locale_availability_mode.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "CriterionCategoryAvailabilityProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; - -// Proto file describing criterion category availability information. - -// Information of category availability, per advertising channel. -message CriterionCategoryAvailability { - // Channel types and subtypes that are available to the category. - CriterionCategoryChannelAvailability channel = 1; - - // Locales that are available to the category for the channel. - repeated CriterionCategoryLocaleAvailability locale = 2; -} - -// Information of advertising channel type and subtypes a category is available -// in. -message CriterionCategoryChannelAvailability { - // Format of the channel availability. Can be ALL_CHANNELS (the rest of the - // fields will not be set), CHANNEL_TYPE (only advertising_channel_type type - // will be set, the category is available to all sub types under it) or - // CHANNEL_TYPE_AND_SUBTYPES (advertising_channel_type, - // advertising_channel_sub_type, and include_default_channel_sub_type will all - // be set). - google.ads.googleads.v12.enums.CriterionCategoryChannelAvailabilityModeEnum.CriterionCategoryChannelAvailabilityMode availability_mode = 1; - - // Channel type the category is available to. - google.ads.googleads.v12.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_type = 2; - - // Channel subtypes under the channel type the category is available to. - repeated google.ads.googleads.v12.enums.AdvertisingChannelSubTypeEnum.AdvertisingChannelSubType advertising_channel_sub_type = 3; - - // Whether default channel sub type is included. For example, - // advertising_channel_type being DISPLAY and include_default_channel_sub_type - // being false means that the default display campaign where channel sub type - // is not set is not included in this availability configuration. - optional bool include_default_channel_sub_type = 5; -} - -// Information about which locales a category is available in. -message CriterionCategoryLocaleAvailability { - // Format of the locale availability. Can be LAUNCHED_TO_ALL (both country and - // language will be empty), COUNTRY (only country will be set), LANGUAGE (only - // language wil be set), COUNTRY_AND_LANGUAGE (both country and language will - // be set). - google.ads.googleads.v12.enums.CriterionCategoryLocaleAvailabilityModeEnum.CriterionCategoryLocaleAvailabilityMode availability_mode = 1; - - // Code of the country. - optional string country_code = 4; - - // Code of the language. - optional string language_code = 5; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/common/custom_parameter.proto b/third_party/googleapis/google/ads/googleads/v12/common/custom_parameter.proto deleted file mode 100644 index d8d4f601c..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/common/custom_parameter.proto +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.common; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "CustomParameterProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; - -// Proto file describing CustomParameter and operation - -// A mapping that can be used by custom parameter tags in a -// `tracking_url_template`, `final_urls`, or `mobile_final_urls`. -message CustomParameter { - // The key matching the parameter tag name. - optional string key = 3; - - // The value to be substituted. - optional string value = 4; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/common/customizer_value.proto b/third_party/googleapis/google/ads/googleads/v12/common/customizer_value.proto deleted file mode 100644 index 476892caa..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/common/customizer_value.proto +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/enums/customizer_attribute_type.proto"; -import "google/api/field_behavior.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "CustomizerValueProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; - -// Proto file describing common customizer value proto messages. - -// A customizer value that is referenced in customizer linkage entities -// like CustomerCustomizer, CampaignCustomizer, etc. -message CustomizerValue { - // Required. The data type for the customizer value. It must match the attribute type. - // The string_value content must match the constraints associated with the - // type. - google.ads.googleads.v12.enums.CustomizerAttributeTypeEnum.CustomizerAttributeType type = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. Value to insert in creative text. Customizer values of all types are stored - // as string to make formatting unambiguous. - string string_value = 2 [(google.api.field_behavior) = REQUIRED]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/common/dates.proto b/third_party/googleapis/google/ads/googleads/v12/common/dates.proto deleted file mode 100644 index 168f9bf54..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/common/dates.proto +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/enums/month_of_year.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "DatesProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; - -// Proto file describing date range message. - -// A date range. -message DateRange { - // The start date, in yyyy-mm-dd format. This date is inclusive. - optional string start_date = 3; - - // The end date, in yyyy-mm-dd format. This date is inclusive. - optional string end_date = 4; -} - -// The year month range inclusive of the start and end months. -// Eg: A year month range to represent Jan 2020 would be: (Jan 2020, Jan 2020). -message YearMonthRange { - // The inclusive start year month. - YearMonth start = 1; - - // The inclusive end year month. - YearMonth end = 2; -} - -// Year month. -message YearMonth { - // The year (for example, 2020). - int64 year = 1; - - // The month of the year. (for example, FEBRUARY). - google.ads.googleads.v12.enums.MonthOfYearEnum.MonthOfYear month = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/common/explorer_auto_optimizer_setting.proto b/third_party/googleapis/google/ads/googleads/v12/common/explorer_auto_optimizer_setting.proto deleted file mode 100644 index 97982e9e9..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/common/explorer_auto_optimizer_setting.proto +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.common; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "ExplorerAutoOptimizerSettingProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; - -// Proto file describing ExplorerAutoOptimizerSetting - -// Settings for the Display Campaign Optimizer, initially named "Explorer". -// Learn more about -// [automatic targeting](https://support.google.com/google-ads/answer/190596). -message ExplorerAutoOptimizerSetting { - // Indicates whether the optimizer is turned on. - optional bool opt_in = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/common/extensions.proto b/third_party/googleapis/google/ads/googleads/v12/common/extensions.proto deleted file mode 100644 index 62569d561..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/common/extensions.proto +++ /dev/null @@ -1,367 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/common/custom_parameter.proto"; -import "google/ads/googleads/v12/common/feed_common.proto"; -import "google/ads/googleads/v12/enums/app_store.proto"; -import "google/ads/googleads/v12/enums/call_conversion_reporting_state.proto"; -import "google/ads/googleads/v12/enums/price_extension_price_qualifier.proto"; -import "google/ads/googleads/v12/enums/price_extension_price_unit.proto"; -import "google/ads/googleads/v12/enums/price_extension_type.proto"; -import "google/ads/googleads/v12/enums/promotion_extension_discount_modifier.proto"; -import "google/ads/googleads/v12/enums/promotion_extension_occasion.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "ExtensionsProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; - -// Proto file describing extension types. - -// Represents an App extension. -message AppFeedItem { - // The visible text displayed when the link is rendered in an ad. - // This string must not be empty, and the length of this string should - // be between 1 and 25, inclusive. - optional string link_text = 9; - - // The store-specific ID for the target application. - // This string must not be empty. - optional string app_id = 10; - - // The application store that the target application belongs to. - // This field is required. - google.ads.googleads.v12.enums.AppStoreEnum.AppStore app_store = 3; - - // A list of possible final URLs after all cross domain redirects. - // This list must not be empty. - repeated string final_urls = 11; - - // A list of possible final mobile URLs after all cross domain redirects. - repeated string final_mobile_urls = 12; - - // URL template for constructing a tracking URL. Default value is "{lpurl}". - optional string tracking_url_template = 13; - - // A list of mappings to be used for substituting URL custom parameter tags in - // the tracking_url_template, final_urls, and/or final_mobile_urls. - repeated CustomParameter url_custom_parameters = 7; - - // URL template for appending params to landing page URLs served with parallel - // tracking. - optional string final_url_suffix = 14; -} - -// Represents a Call extension. -message CallFeedItem { - // The advertiser's phone number to append to the ad. - // This string must not be empty. - optional string phone_number = 7; - - // Uppercase two-letter country code of the advertiser's phone number. - // This string must not be empty. - optional string country_code = 8; - - // Indicates whether call tracking is enabled. By default, call tracking is - // not enabled. - optional bool call_tracking_enabled = 9; - - // The conversion action to attribute a call conversion to. If not set a - // default conversion action is used. This field only has effect if - // call_tracking_enabled is set to true. Otherwise this field is ignored. - optional string call_conversion_action = 10; - - // If true, disable call conversion tracking. call_conversion_action should - // not be set if this is true. Optional. - optional bool call_conversion_tracking_disabled = 11; - - // Enum value that indicates whether this call extension uses its own call - // conversion setting (or just have call conversion disabled), or following - // the account level setting. - google.ads.googleads.v12.enums.CallConversionReportingStateEnum.CallConversionReportingState call_conversion_reporting_state = 6; -} - -// Represents a callout extension. -message CalloutFeedItem { - // The callout text. - // The length of this string should be between 1 and 25, inclusive. - optional string callout_text = 2; -} - -// Represents a location extension. -message LocationFeedItem { - // The name of the business. - optional string business_name = 9; - - // Line 1 of the business address. - optional string address_line_1 = 10; - - // Line 2 of the business address. - optional string address_line_2 = 11; - - // City of the business address. - optional string city = 12; - - // Province of the business address. - optional string province = 13; - - // Postal code of the business address. - optional string postal_code = 14; - - // Country code of the business address. - optional string country_code = 15; - - // Phone number of the business. - optional string phone_number = 16; -} - -// Represents an affiliate location extension. -message AffiliateLocationFeedItem { - // The name of the business. - optional string business_name = 11; - - // Line 1 of the business address. - optional string address_line_1 = 12; - - // Line 2 of the business address. - optional string address_line_2 = 13; - - // City of the business address. - optional string city = 14; - - // Province of the business address. - optional string province = 15; - - // Postal code of the business address. - optional string postal_code = 16; - - // Country code of the business address. - optional string country_code = 17; - - // Phone number of the business. - optional string phone_number = 18; - - // Id of the retail chain that is advertised as a seller of your product. - optional int64 chain_id = 19; - - // Name of chain. - optional string chain_name = 20; -} - -// An extension that users can click on to send a text message to the -// advertiser. -message TextMessageFeedItem { - // The business name to prepend to the message text. - // This field is required. - optional string business_name = 6; - - // Uppercase two-letter country code of the advertiser's phone number. - // This field is required. - optional string country_code = 7; - - // The advertiser's phone number the message will be sent to. Required. - optional string phone_number = 8; - - // The text to show in the ad. - // This field is required. - optional string text = 9; - - // The message extension_text populated in the messaging app. - optional string extension_text = 10; -} - -// Represents a Price extension. -message PriceFeedItem { - // Price extension type of this extension. - google.ads.googleads.v12.enums.PriceExtensionTypeEnum.PriceExtensionType type = 1; - - // Price qualifier for all offers of this price extension. - google.ads.googleads.v12.enums.PriceExtensionPriceQualifierEnum.PriceExtensionPriceQualifier price_qualifier = 2; - - // Tracking URL template for all offers of this price extension. - optional string tracking_url_template = 7; - - // The code of the language used for this price extension. - optional string language_code = 8; - - // The price offerings in this price extension. - repeated PriceOffer price_offerings = 5; - - // Tracking URL template for all offers of this price extension. - optional string final_url_suffix = 9; -} - -// Represents one price offer in a price extension. -message PriceOffer { - // Header text of this offer. - optional string header = 7; - - // Description text of this offer. - optional string description = 8; - - // Price value of this offer. - Money price = 3; - - // Price unit for this offer. - google.ads.googleads.v12.enums.PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit unit = 4; - - // A list of possible final URLs after all cross domain redirects. - repeated string final_urls = 9; - - // A list of possible final mobile URLs after all cross domain redirects. - repeated string final_mobile_urls = 10; -} - -// Represents a Promotion extension. -message PromotionFeedItem { - // A freeform description of what the promotion is targeting. - // This field is required. - optional string promotion_target = 16; - - // Enum that modifies the qualification of the discount. - google.ads.googleads.v12.enums.PromotionExtensionDiscountModifierEnum.PromotionExtensionDiscountModifier discount_modifier = 2; - - // Start date of when the promotion is eligible to be redeemed. - optional string promotion_start_date = 19; - - // Last date when the promotion is eligible to be redeemed. - optional string promotion_end_date = 20; - - // The occasion the promotion was intended for. - // If an occasion is set, the redemption window will need to fall within - // the date range associated with the occasion. - google.ads.googleads.v12.enums.PromotionExtensionOccasionEnum.PromotionExtensionOccasion occasion = 9; - - // A list of possible final URLs after all cross domain redirects. - // This field is required. - repeated string final_urls = 21; - - // A list of possible final mobile URLs after all cross domain redirects. - repeated string final_mobile_urls = 22; - - // URL template for constructing a tracking URL. - optional string tracking_url_template = 23; - - // A list of mappings to be used for substituting URL custom parameter tags in - // the tracking_url_template, final_urls, and/or final_mobile_urls. - repeated CustomParameter url_custom_parameters = 13; - - // URL template for appending params to landing page URLs served with parallel - // tracking. - optional string final_url_suffix = 24; - - // The language of the promotion. - // Represented as BCP 47 language tag. - optional string language_code = 25; - - // Discount type, can be percentage off or amount off. - oneof discount_type { - // Percentage off discount in the promotion in micros. - // One million is equivalent to one percent. - // Either this or money_off_amount is required. - int64 percent_off = 17; - - // Money amount off for discount in the promotion. - // Either this or percent_off is required. - Money money_amount_off = 4; - } - - // Promotion trigger. Can be by promotion code or promo by eligible order - // amount. - oneof promotion_trigger { - // A code the user should use in order to be eligible for the promotion. - string promotion_code = 18; - - // The amount the total order needs to be for the user to be eligible for - // the promotion. - Money orders_over_amount = 6; - } -} - -// Represents a structured snippet extension. -message StructuredSnippetFeedItem { - // The header of the snippet. - // This string must not be empty. - optional string header = 3; - - // The values in the snippet. - // The maximum size of this collection is 10. - repeated string values = 4; -} - -// Represents a sitelink extension. -message SitelinkFeedItem { - // URL display text for the sitelink. - // The length of this string should be between 1 and 25, inclusive. - optional string link_text = 9; - - // First line of the description for the sitelink. - // If this value is set, line2 must also be set. - // The length of this string should be between 0 and 35, inclusive. - optional string line1 = 10; - - // Second line of the description for the sitelink. - // If this value is set, line1 must also be set. - // The length of this string should be between 0 and 35, inclusive. - optional string line2 = 11; - - // A list of possible final URLs after all cross domain redirects. - repeated string final_urls = 12; - - // A list of possible final mobile URLs after all cross domain redirects. - repeated string final_mobile_urls = 13; - - // URL template for constructing a tracking URL. - optional string tracking_url_template = 14; - - // A list of mappings to be used for substituting URL custom parameter tags in - // the tracking_url_template, final_urls, and/or final_mobile_urls. - repeated CustomParameter url_custom_parameters = 7; - - // Final URL suffix to be appended to landing page URLs served with - // parallel tracking. - optional string final_url_suffix = 15; -} - -// Represents a hotel callout extension. -message HotelCalloutFeedItem { - // The callout text. - // The length of this string should be between 1 and 25, inclusive. - optional string text = 3; - - // The language of the hotel callout text. - // IETF BCP 47 compliant language code. - optional string language_code = 4; -} - -// Represents an advertiser provided image extension. -message ImageFeedItem { - // Required. Resource name of the image asset. - string image_asset = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Asset" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/common/feed_common.proto b/third_party/googleapis/google/ads/googleads/v12/common/feed_common.proto deleted file mode 100644 index 59c070ee5..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/common/feed_common.proto +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.common; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "FeedCommonProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; - -// Proto file describing common feed proto messages. - -// Represents a price in a particular currency. -message Money { - // Three-character ISO 4217 currency code. - optional string currency_code = 3; - - // Amount in micros. One million is equivalent to one unit. - optional int64 amount_micros = 4; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/common/feed_item_set_filter_type_infos.proto b/third_party/googleapis/google/ads/googleads/v12/common/feed_item_set_filter_type_infos.proto deleted file mode 100644 index 84564e850..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/common/feed_item_set_filter_type_infos.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/enums/feed_item_set_string_filter_type.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemSetFilterTypeInfosProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; - -// Represents a filter on locations in a feed item set. -// Only applicable if the parent Feed of the FeedItemSet is a LOCATION feed. -message DynamicLocationSetFilter { - // If multiple labels are set, then only feeditems marked with all the labels - // will be added to the FeedItemSet. - repeated string labels = 1; - - // Business name filter. - BusinessNameFilter business_name_filter = 2; -} - -// Represents a business name filter on locations in a FeedItemSet. -message BusinessNameFilter { - // Business name string to use for filtering. - string business_name = 1; - - // The type of string matching to use when filtering with business_name. - google.ads.googleads.v12.enums.FeedItemSetStringFilterTypeEnum.FeedItemSetStringFilterType filter_type = 2; -} - -// Represents a filter on affiliate locations in a FeedItemSet. -// Only applicable if the parent Feed of the FeedItemSet is an -// AFFILIATE_LOCATION feed. -message DynamicAffiliateLocationSetFilter { - // Used to filter affiliate locations by chain ids. Only affiliate locations - // that belong to the specified chain(s) will be added to the FeedItemSet. - repeated int64 chain_ids = 1; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/common/final_app_url.proto b/third_party/googleapis/google/ads/googleads/v12/common/final_app_url.proto deleted file mode 100644 index 13add9296..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/common/final_app_url.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/enums/app_url_operating_system_type.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "FinalAppUrlProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; - -// Proto file FinalAppUrl type. - -// A URL for deep linking into an app for the given operating system. -message FinalAppUrl { - // The operating system targeted by this URL. Required. - google.ads.googleads.v12.enums.AppUrlOperatingSystemTypeEnum.AppUrlOperatingSystemType os_type = 1; - - // The app deep link URL. Deep links specify a location in an app that - // corresponds to the content you'd like to show, and should be of the form - // {scheme}://{host_path} - // The scheme identifies which app to open. For your app, you can use a custom - // scheme that starts with the app's name. The host and path specify the - // unique location in the app where your content exists. - // Example: "exampleapp://productid_1234". Required. - optional string url = 3; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/common/frequency_cap.proto b/third_party/googleapis/google/ads/googleads/v12/common/frequency_cap.proto deleted file mode 100644 index bb7de0cae..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/common/frequency_cap.proto +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/enums/frequency_cap_event_type.proto"; -import "google/ads/googleads/v12/enums/frequency_cap_level.proto"; -import "google/ads/googleads/v12/enums/frequency_cap_time_unit.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "FrequencyCapProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; - -// Proto file describing frequency caps. - -// A rule specifying the maximum number of times an ad (or some set of ads) can -// be shown to a user over a particular time period. -message FrequencyCapEntry { - // The key of a particular frequency cap. There can be no more - // than one frequency cap with the same key. - FrequencyCapKey key = 1; - - // Maximum number of events allowed during the time range by this cap. - optional int32 cap = 3; -} - -// A group of fields used as keys for a frequency cap. -// There can be no more than one frequency cap with the same key. -message FrequencyCapKey { - // The level on which the cap is to be applied (for example, ad group ad, ad - // group). The cap is applied to all the entities of this level. - google.ads.googleads.v12.enums.FrequencyCapLevelEnum.FrequencyCapLevel level = 1; - - // The type of event that the cap applies to (for example, impression). - google.ads.googleads.v12.enums.FrequencyCapEventTypeEnum.FrequencyCapEventType event_type = 3; - - // Unit of time the cap is defined at (for example, day, week). - google.ads.googleads.v12.enums.FrequencyCapTimeUnitEnum.FrequencyCapTimeUnit time_unit = 2; - - // Number of time units the cap lasts. - optional int32 time_length = 5; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/common/keyword_plan_common.proto b/third_party/googleapis/google/ads/googleads/v12/common/keyword_plan_common.proto deleted file mode 100644 index 31e043bd0..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/common/keyword_plan_common.proto +++ /dev/null @@ -1,148 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/common/dates.proto"; -import "google/ads/googleads/v12/enums/device.proto"; -import "google/ads/googleads/v12/enums/keyword_plan_aggregate_metric_type.proto"; -import "google/ads/googleads/v12/enums/keyword_plan_competition_level.proto"; -import "google/ads/googleads/v12/enums/keyword_plan_concept_group_type.proto"; -import "google/ads/googleads/v12/enums/month_of_year.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanCommonProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; - -// Proto file describing Keyword Planner messages. - -// Historical metrics specific to the targeting options selected. -// Targeting options include geographies, network, etc. -// Refer to https://support.google.com/google-ads/answer/3022575 for more -// details. -message KeywordPlanHistoricalMetrics { - // Approximate number of monthly searches on this query averaged - // for the past 12 months. - optional int64 avg_monthly_searches = 7; - - // Approximate number of searches on this query for the past twelve months. - repeated MonthlySearchVolume monthly_search_volumes = 6; - - // The competition level for the query. - google.ads.googleads.v12.enums.KeywordPlanCompetitionLevelEnum.KeywordPlanCompetitionLevel competition = 2; - - // The competition index for the query in the range [0, 100]. - // Shows how competitive ad placement is for a keyword. - // The level of competition from 0-100 is determined by the number of ad slots - // filled divided by the total number of ad slots available. If not enough - // data is available, null is returned. - optional int64 competition_index = 8; - - // Top of page bid low range (20th percentile) in micros for the keyword. - optional int64 low_top_of_page_bid_micros = 9; - - // Top of page bid high range (80th percentile) in micros for the keyword. - optional int64 high_top_of_page_bid_micros = 10; - - // Average Cost Per Click in micros for the keyword. - optional int64 average_cpc_micros = 11; -} - -// Historical metrics options. -message HistoricalMetricsOptions { - // The year month range for historical metrics. If not specified the searches - // will be returned for past 12 months. - // Searches data is available for the past 4 years. If the search volume is - // not available for the entire year_month_range provided, the subset of the - // year month range for which search volume is available will be returned. - optional YearMonthRange year_month_range = 1; - - // Indicates whether to include average cost per click value. - // Average CPC is a legacy value that will be removed and replaced in the - // future, and as such we are including it as an optioanl value so clients - // only use it when strictly necessary and to better track clients that use - // this value. - bool include_average_cpc = 2; -} - -// Monthly search volume. -message MonthlySearchVolume { - // The year of the search volume (for example, 2020). - optional int64 year = 4; - - // The month of the search volume. - google.ads.googleads.v12.enums.MonthOfYearEnum.MonthOfYear month = 2; - - // Approximate number of searches for the month. - // A null value indicates the search volume is unavailable for - // that month. - optional int64 monthly_searches = 5; -} - -// The aggregate metrics specification of the request. -message KeywordPlanAggregateMetrics { - // The list of aggregate metrics to fetch data. - repeated google.ads.googleads.v12.enums.KeywordPlanAggregateMetricTypeEnum.KeywordPlanAggregateMetricType aggregate_metric_types = 1; -} - -// The aggregated historical metrics for keyword plan keywords. -message KeywordPlanAggregateMetricResults { - // The aggregate searches for all the keywords segmented by device - // for the specified time. - // Supports the following device types: MOBILE, TABLET, DESKTOP. - // - // This is only set when KeywordPlanAggregateMetricTypeEnum.DEVICE is set - // in the KeywordPlanAggregateMetrics field in the request. - repeated KeywordPlanDeviceSearches device_searches = 1; -} - -// The total searches for the device type during the specified time period. -message KeywordPlanDeviceSearches { - // The device type. - google.ads.googleads.v12.enums.DeviceEnum.Device device = 1; - - // The total searches for the device. - optional int64 search_count = 2; -} - -// The Annotations for the Keyword plan keywords. -message KeywordAnnotations { - // The list of concepts for the keyword. - repeated KeywordConcept concepts = 1; -} - -// The concept for the keyword. -message KeywordConcept { - // The concept name for the keyword in the concept_group. - string name = 1; - - // The concept group of the concept details. - ConceptGroup concept_group = 2; -} - -// The concept group for the keyword concept. -message ConceptGroup { - // The concept group name. - string name = 1; - - // The concept group type. - google.ads.googleads.v12.enums.KeywordPlanConceptGroupTypeEnum.KeywordPlanConceptGroupType type = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/common/matching_function.proto b/third_party/googleapis/google/ads/googleads/v12/common/matching_function.proto deleted file mode 100644 index 749db42e1..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/common/matching_function.proto +++ /dev/null @@ -1,125 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/enums/matching_function_context_type.proto"; -import "google/ads/googleads/v12/enums/matching_function_operator.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "MatchingFunctionProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; - -// Proto file describing a matching function. - -// Matching function associated with a -// CustomerFeed, CampaignFeed, or AdGroupFeed. The matching function is used -// to filter the set of feed items selected. -message MatchingFunction { - // String representation of the Function. - // - // Examples: - // - // 1. IDENTITY(true) or IDENTITY(false). All or no feed items served. - // 2. EQUALS(CONTEXT.DEVICE,"Mobile") - // 3. IN(FEED_ITEM_ID,{1000001,1000002,1000003}) - // 4. CONTAINS_ANY(FeedAttribute[12345678,0],{"Mars cruise","Venus cruise"}) - // 5. AND(IN(FEED_ITEM_ID,{10001,10002}),EQUALS(CONTEXT.DEVICE,"Mobile")) - // - // For more details, visit - // https://developers.google.com/adwords/api/docs/guides/feed-matching-functions - // - // Note that because multiple strings may represent the same underlying - // function (whitespace and single versus double quotation marks, for - // example), the value returned may not be identical to the string sent in a - // mutate request. - optional string function_string = 5; - - // Operator for a function. - google.ads.googleads.v12.enums.MatchingFunctionOperatorEnum.MatchingFunctionOperator operator = 4; - - // The operands on the left hand side of the equation. This is also the - // operand to be used for single operand expressions such as NOT. - repeated Operand left_operands = 2; - - // The operands on the right hand side of the equation. - repeated Operand right_operands = 3; -} - -// An operand in a matching function. -message Operand { - // A constant operand in a matching function. - message ConstantOperand { - // Constant operand values. Required. - oneof constant_operand_value { - // String value of the operand if it is a string type. - string string_value = 5; - - // Int64 value of the operand if it is a int64 type. - int64 long_value = 6; - - // Boolean value of the operand if it is a boolean type. - bool boolean_value = 7; - - // Double value of the operand if it is a double type. - double double_value = 8; - } - } - - // A feed attribute operand in a matching function. - // Used to represent a feed attribute in feed. - message FeedAttributeOperand { - // The associated feed. Required. - optional int64 feed_id = 3; - - // Id of the referenced feed attribute. Required. - optional int64 feed_attribute_id = 4; - } - - // A function operand in a matching function. - // Used to represent nested functions. - message FunctionOperand { - // The matching function held in this operand. - MatchingFunction matching_function = 1; - } - - // An operand in a function referring to a value in the request context. - message RequestContextOperand { - // Type of value to be referred in the request context. - google.ads.googleads.v12.enums.MatchingFunctionContextTypeEnum.MatchingFunctionContextType context_type = 1; - } - - // Different operands that can be used in a matching function. Required. - oneof function_argument_operand { - // A constant operand in a matching function. - ConstantOperand constant_operand = 1; - - // This operand specifies a feed attribute in feed. - FeedAttributeOperand feed_attribute_operand = 2; - - // A function operand in a matching function. - // Used to represent nested functions. - FunctionOperand function_operand = 3; - - // An operand in a function referring to a value in the request context. - RequestContextOperand request_context_operand = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v12/common/metric_goal.proto b/third_party/googleapis/google/ads/googleads/v12/common/metric_goal.proto deleted file mode 100644 index d03613690..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/common/metric_goal.proto +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/enums/experiment_metric.proto"; -import "google/ads/googleads/v12/enums/experiment_metric_direction.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "MetricGoalProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; - -// Proto file describing experiment metric goal. - -// A metric goal for an experiment. -message MetricGoal { - // The metric of the goal. For example, clicks, impressions, cost, - // conversions, etc. - google.ads.googleads.v12.enums.ExperimentMetricEnum.ExperimentMetric metric = 1; - - // The metric direction of the goal. For example, increase, decrease, no - // change. - google.ads.googleads.v12.enums.ExperimentMetricDirectionEnum.ExperimentMetricDirection direction = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/common/metrics.proto b/third_party/googleapis/google/ads/googleads/v12/common/metrics.proto deleted file mode 100644 index 72933a4da..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/common/metrics.proto +++ /dev/null @@ -1,754 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/enums/interaction_event_type.proto"; -import "google/ads/googleads/v12/enums/quality_score_bucket.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "MetricsProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; - -// Proto file describing metrics. - -// Metrics data. -message Metrics { - // The percent of your ad impressions that are shown as the very first ad - // above the organic search results. - optional double absolute_top_impression_percentage = 183; - - // Average cost of viewable impressions (`active_view_impressions`). - optional double active_view_cpm = 184; - - // Active view measurable clicks divided by active view viewable impressions. - // This metric is reported only for display network. - optional double active_view_ctr = 185; - - // A measurement of how often your ad has become viewable on a Display - // Network site. - optional int64 active_view_impressions = 186; - - // The ratio of impressions that could be measured by Active View over the - // number of served impressions. - optional double active_view_measurability = 187; - - // The cost of the impressions you received that were measurable by Active - // View. - optional int64 active_view_measurable_cost_micros = 188; - - // The number of times your ads are appearing on placements in positions - // where they can be seen. - optional int64 active_view_measurable_impressions = 189; - - // The percentage of time when your ad appeared on an Active View enabled site - // (measurable impressions) and was viewable (viewable impressions). - optional double active_view_viewability = 190; - - // All conversions from interactions (as oppose to view through conversions) - // divided by the number of ad interactions. - optional double all_conversions_from_interactions_rate = 191; - - // The value of all conversions. - optional double all_conversions_value = 192; - - // The value of all conversions. When this column is selected with date, the - // values in date column means the conversion date. Details for the - // by_conversion_date columns are available at - // https://support.google.com/google-ads/answer/9549009. - double all_conversions_value_by_conversion_date = 240; - - // The total number of conversions. This includes all conversions regardless - // of the value of include_in_conversions_metric. - optional double all_conversions = 193; - - // The total number of conversions. This includes all conversions regardless - // of the value of include_in_conversions_metric. When this column is selected - // with date, the values in date column means the conversion date. Details for - // the by_conversion_date columns are available at - // https://support.google.com/google-ads/answer/9549009. - double all_conversions_by_conversion_date = 241; - - // The value of all conversions divided by the total cost of ad interactions - // (such as clicks for text ads or views for video ads). - optional double all_conversions_value_per_cost = 194; - - // The number of times people clicked the "Call" button to call a store during - // or after clicking an ad. This number doesn't include whether or not calls - // were connected, or the duration of any calls. - // This metric applies to feed items only. - optional double all_conversions_from_click_to_call = 195; - - // The number of times people clicked a "Get directions" button to navigate to - // a store after clicking an ad. - // This metric applies to feed items only. - optional double all_conversions_from_directions = 196; - - // The value of all conversions from interactions divided by the total number - // of interactions. - optional double all_conversions_from_interactions_value_per_interaction = 197; - - // The number of times people clicked a link to view a store's menu after - // clicking an ad. - // This metric applies to feed items only. - optional double all_conversions_from_menu = 198; - - // The number of times people placed an order at a store after clicking an ad. - // This metric applies to feed items only. - optional double all_conversions_from_order = 199; - - // The number of other conversions (for example, posting a review or saving a - // location for a store) that occurred after people clicked an ad. - // This metric applies to feed items only. - optional double all_conversions_from_other_engagement = 200; - - // Estimated number of times people visited a store after clicking an ad. - // This metric applies to feed items only. - optional double all_conversions_from_store_visit = 201; - - // The number of times that people were taken to a store's URL after clicking - // an ad. - // This metric applies to feed items only. - optional double all_conversions_from_store_website = 202; - - // This metric is part of the Auction Insights report, and tells how often - // the ads of another participant showed as the very first ad above the - // organic search results. - // This percentage is computed only over the auctions that you appeared in - // the page. - // This metric is not publicly available. - optional double auction_insight_search_absolute_top_impression_percentage = 258; - - // This metric is part of the Auction Insights report, and tells the - // percentage of impressions that another participant obtained, over the total - // number of impressions that your ads were eligible for. - // Any value below 0.1 is reported as 0.0999. - // This metric is not publicly available. - optional double auction_insight_search_impression_share = 259; - - // This metric is part of the Auction Insights report, and tells the - // percentage of impressions that your ads outranked (showed above) - // another participant in the auction, compared to the total number of - // impressions that your ads were eligible for. - // Any value below 0.1 is reported as 0.0999. - // This metric is not publicly available. - optional double auction_insight_search_outranking_share = 260; - - // This metric is part of the Auction Insights report, and tells how often - // another participant's ad received an impression when your ad also received - // an impression. - // This metric is not publicly available. - optional double auction_insight_search_overlap_rate = 261; - - // This metric is part of the Auction Insights report, and tells how often - // another participant's ad was shown in a higher position than yours, when - // both of your ads were shown at the same page. - // This metric is not publicly available. - optional double auction_insight_search_position_above_rate = 262; - - // This metric is part of the Auction Insights report, and tells how often - // the ads of another participant showed above the organic search results. - // This percentage is computed only over the auctions that you appeared in - // the page. - // This metric is not publicly available. - optional double auction_insight_search_top_impression_percentage = 263; - - // The average amount you pay per interaction. This amount is the total cost - // of your ads divided by the total number of interactions. - optional double average_cost = 203; - - // The total cost of all clicks divided by the total number of clicks - // received. - optional double average_cpc = 204; - - // The average amount that you've been charged for an ad engagement. This - // amount is the total cost of all ad engagements divided by the total number - // of ad engagements. - optional double average_cpe = 205; - - // Average cost-per-thousand impressions (CPM). - optional double average_cpm = 206; - - // The average amount you pay each time someone views your ad. - // The average CPV is defined by the total cost of all ad views divided by - // the number of views. - optional double average_cpv = 207; - - // Average number of pages viewed per session. - optional double average_page_views = 208; - - // Total duration of all sessions (in seconds) / number of sessions. Imported - // from Google Analytics. - optional double average_time_on_site = 209; - - // An indication of how other advertisers are bidding on similar products. - optional double benchmark_average_max_cpc = 210; - - // Number of app installs. - optional double biddable_app_install_conversions = 254; - - // Number of in-app actions. - optional double biddable_app_post_install_conversions = 255; - - // An indication on how other advertisers' Shopping ads for similar products - // are performing based on how often people who see their ad click on it. - optional double benchmark_ctr = 211; - - // Percentage of clicks where the user only visited a single page on your - // site. Imported from Google Analytics. - optional double bounce_rate = 212; - - // The number of clicks. - optional int64 clicks = 131; - - // The number of times your ad or your site's listing in the unpaid - // results was clicked. See the help page at - // https://support.google.com/google-ads/answer/3097241 for details. - optional int64 combined_clicks = 156; - - // The number of times your ad or your site's listing in the unpaid - // results was clicked (combined_clicks) divided by combined_queries. See the - // help page at https://support.google.com/google-ads/answer/3097241 for - // details. - optional double combined_clicks_per_query = 157; - - // The number of searches that returned pages from your site in the unpaid - // results or showed one of your text ads. See the help page at - // https://support.google.com/google-ads/answer/3097241 for details. - optional int64 combined_queries = 158; - - // The estimated percent of times that your ad was eligible to show - // on the Display Network but didn't because your budget was too low. - // Note: Content budget lost impression share is reported in the range of 0 - // to 0.9. Any value above 0.9 is reported as 0.9001. - optional double content_budget_lost_impression_share = 159; - - // The impressions you've received on the Display Network divided - // by the estimated number of impressions you were eligible to receive. - // Note: Content impression share is reported in the range of 0.1 to 1. Any - // value below 0.1 is reported as 0.0999. - optional double content_impression_share = 160; - - // The last date/time a conversion tag for this conversion action successfully - // fired and was seen by Google Ads. This firing event may not have been the - // result of an attributable conversion (for example, because the tag was - // fired from a browser that did not previously click an ad from an - // appropriate advertiser). The date/time is in the customer's time zone. - optional string conversion_last_received_request_date_time = 161; - - // The date of the most recent conversion for this conversion action. The date - // is in the customer's time zone. - optional string conversion_last_conversion_date = 162; - - // The estimated percentage of impressions on the Display Network - // that your ads didn't receive due to poor Ad Rank. - // Note: Content rank lost impression share is reported in the range of 0 - // to 0.9. Any value above 0.9 is reported as 0.9001. - optional double content_rank_lost_impression_share = 163; - - // Conversions from interactions divided by the number of ad interactions - // (such as clicks for text ads or views for video ads). This only includes - // conversion actions which include_in_conversions_metric attribute is set to - // true. If you use conversion-based bidding, your bid strategies will - // optimize for these conversions. - optional double conversions_from_interactions_rate = 164; - - // The value of conversions. This only includes conversion actions which - // include_in_conversions_metric attribute is set to true. If you use - // conversion-based bidding, your bid strategies will optimize for these - // conversions. - optional double conversions_value = 165; - - // The value of conversions. This only includes conversion actions which - // include_in_conversions_metric attribute is set to true. If you use - // conversion-based bidding, your bid strategies will optimize for these - // conversions. When this column is selected with date, the values in date - // column means the conversion date. Details for the by_conversion_date - // columns are available at - // https://support.google.com/google-ads/answer/9549009. - double conversions_value_by_conversion_date = 242; - - // The value of conversions divided by the cost of ad interactions. This only - // includes conversion actions which include_in_conversions_metric attribute - // is set to true. If you use conversion-based bidding, your bid strategies - // will optimize for these conversions. - optional double conversions_value_per_cost = 166; - - // The value of conversions from interactions divided by the number of ad - // interactions. This only includes conversion actions which - // include_in_conversions_metric attribute is set to true. If you use - // conversion-based bidding, your bid strategies will optimize for these - // conversions. - optional double conversions_from_interactions_value_per_interaction = 167; - - // The number of conversions. This only includes conversion actions which - // include_in_conversions_metric attribute is set to true. If you use - // conversion-based bidding, your bid strategies will optimize for these - // conversions. - optional double conversions = 168; - - // The number of conversions. This only includes conversion actions which - // include_in_conversions_metric attribute is set to true. If you use - // conversion-based bidding, your bid strategies will optimize for these - // conversions. When this column is selected with date, the values in date - // column means the conversion date. Details for the by_conversion_date - // columns are available at - // https://support.google.com/google-ads/answer/9549009. - double conversions_by_conversion_date = 243; - - // The sum of your cost-per-click (CPC) and cost-per-thousand impressions - // (CPM) costs during this period. - optional int64 cost_micros = 169; - - // The cost of ad interactions divided by all conversions. - optional double cost_per_all_conversions = 170; - - // The cost of ad interactions divided by conversions. This only includes - // conversion actions which include_in_conversions_metric attribute is set to - // true. If you use conversion-based bidding, your bid strategies will - // optimize for these conversions. - optional double cost_per_conversion = 171; - - // The cost of ad interactions divided by current model attributed - // conversions. This only includes conversion actions which - // include_in_conversions_metric attribute is set to true. If you use - // conversion-based bidding, your bid strategies will optimize for these - // conversions. - optional double cost_per_current_model_attributed_conversion = 172; - - // Conversions from when a customer clicks on a Google Ads ad on one device, - // then converts on a different device or browser. - // Cross-device conversions are already included in all_conversions. - optional double cross_device_conversions = 173; - - // The number of clicks your ad receives (Clicks) divided by the number - // of times your ad is shown (Impressions). - optional double ctr = 174; - - // Shows how your historic conversions data would look under the attribution - // model you've currently selected. This only includes conversion actions - // which include_in_conversions_metric attribute is set to true. If you use - // conversion-based bidding, your bid strategies will optimize for these - // conversions. - optional double current_model_attributed_conversions = 175; - - // Current model attributed conversions from interactions divided by the - // number of ad interactions (such as clicks for text ads or views for video - // ads). This only includes conversion actions which - // include_in_conversions_metric attribute is set to true. If you use - // conversion-based bidding, your bid strategies will optimize for these - // conversions. - optional double current_model_attributed_conversions_from_interactions_rate = 176; - - // The value of current model attributed conversions from interactions divided - // by the number of ad interactions. This only includes conversion actions - // which include_in_conversions_metric attribute is set to true. If you use - // conversion-based bidding, your bid strategies will optimize for these - // conversions. - optional double current_model_attributed_conversions_from_interactions_value_per_interaction = 177; - - // The value of current model attributed conversions. This only includes - // conversion actions which include_in_conversions_metric attribute is set to - // true. If you use conversion-based bidding, your bid strategies will - // optimize for these conversions. - optional double current_model_attributed_conversions_value = 178; - - // The value of current model attributed conversions divided by the cost of ad - // interactions. This only includes conversion actions which - // include_in_conversions_metric attribute is set to true. If you use - // conversion-based bidding, your bid strategies will optimize for these - // conversions. - optional double current_model_attributed_conversions_value_per_cost = 179; - - // How often people engage with your ad after it's shown to them. This is the - // number of ad expansions divided by the number of times your ad is shown. - optional double engagement_rate = 180; - - // The number of engagements. - // An engagement occurs when a viewer expands your Lightbox ad. Also, in the - // future, other ad types may support engagement metrics. - optional int64 engagements = 181; - - // Average lead value based on clicks. - optional double hotel_average_lead_value_micros = 213; - - // Commission bid rate in micros. A 20% commission is represented as - // 200,000. - optional int64 hotel_commission_rate_micros = 256; - - // Expected commission cost. The result of multiplying the commission value - // times the hotel_commission_rate in advertiser currency. - optional double hotel_expected_commission_cost = 257; - - // The average price difference between the price offered by reporting hotel - // advertiser and the cheapest price offered by the competing advertiser. - optional double hotel_price_difference_percentage = 214; - - // The number of impressions that hotel partners could have had given their - // feed performance. - optional int64 hotel_eligible_impressions = 215; - - // The creative historical quality score. - google.ads.googleads.v12.enums.QualityScoreBucketEnum.QualityScoreBucket historical_creative_quality_score = 80; - - // The quality of historical landing page experience. - google.ads.googleads.v12.enums.QualityScoreBucketEnum.QualityScoreBucket historical_landing_page_quality_score = 81; - - // The historical quality score. - optional int64 historical_quality_score = 216; - - // The historical search predicted click through rate (CTR). - google.ads.googleads.v12.enums.QualityScoreBucketEnum.QualityScoreBucket historical_search_predicted_ctr = 83; - - // The number of times the ad was forwarded to someone else as a message. - optional int64 gmail_forwards = 217; - - // The number of times someone has saved your Gmail ad to their inbox as a - // message. - optional int64 gmail_saves = 218; - - // The number of clicks to the landing page on the expanded state of Gmail - // ads. - optional int64 gmail_secondary_clicks = 219; - - // The number of times a store's location-based ad was shown. - // This metric applies to feed items only. - optional int64 impressions_from_store_reach = 220; - - // Count of how often your ad has appeared on a search results page or - // website on the Google Network. - optional int64 impressions = 221; - - // How often people interact with your ad after it is shown to them. - // This is the number of interactions divided by the number of times your ad - // is shown. - optional double interaction_rate = 222; - - // The number of interactions. - // An interaction is the main user action associated with an ad format-clicks - // for text and shopping ads, views for video ads, and so on. - optional int64 interactions = 223; - - // The types of payable and free interactions. - repeated google.ads.googleads.v12.enums.InteractionEventTypeEnum.InteractionEventType interaction_event_types = 100; - - // The percentage of clicks filtered out of your total number of clicks - // (filtered + non-filtered clicks) during the reporting period. - optional double invalid_click_rate = 224; - - // Number of clicks Google considers illegitimate and doesn't charge you for. - optional int64 invalid_clicks = 225; - - // Number of message chats initiated for Click To Message impressions that - // were message tracking eligible. - optional int64 message_chats = 226; - - // Number of Click To Message impressions that were message tracking eligible. - optional int64 message_impressions = 227; - - // Number of message chats initiated (message_chats) divided by the number - // of message impressions (message_impressions). - // Rate at which a user initiates a message chat from an ad impression with - // a messaging option and message tracking enabled. - // Note that this rate can be more than 1.0 for a given message impression. - optional double message_chat_rate = 228; - - // The percentage of mobile clicks that go to a mobile-friendly page. - optional double mobile_friendly_clicks_percentage = 229; - - // Total optimization score uplift of all recommendations. - optional double optimization_score_uplift = 247; - - // URL for the optimization score page in the Google Ads web interface. - // This metric can be selected from `customer` or `campaign`, and can be - // segmented by `segments.recommendation_type`. For example, `SELECT - // metrics.optimization_score_url, segments.recommendation_type FROM - // customer` will return a URL for each unique (customer, recommendation_type) - // combination. - optional string optimization_score_url = 248; - - // The number of times someone clicked your site's listing in the unpaid - // results for a particular query. See the help page at - // https://support.google.com/google-ads/answer/3097241 for details. - optional int64 organic_clicks = 230; - - // The number of times someone clicked your site's listing in the unpaid - // results (organic_clicks) divided by the total number of searches that - // returned pages from your site (organic_queries). See the help page at - // https://support.google.com/google-ads/answer/3097241 for details. - optional double organic_clicks_per_query = 231; - - // The number of listings for your site in the unpaid search results. See the - // help page at https://support.google.com/google-ads/answer/3097241 for - // details. - optional int64 organic_impressions = 232; - - // The number of times a page from your site was listed in the unpaid search - // results (organic_impressions) divided by the number of searches returning - // your site's listing in the unpaid results (organic_queries). See the help - // page at https://support.google.com/google-ads/answer/3097241 for details. - optional double organic_impressions_per_query = 233; - - // The total number of searches that returned your site's listing in the - // unpaid results. See the help page at - // https://support.google.com/google-ads/answer/3097241 for details. - optional int64 organic_queries = 234; - - // Percentage of first-time sessions (from people who had never visited your - // site before). Imported from Google Analytics. - optional double percent_new_visitors = 235; - - // Number of offline phone calls. - optional int64 phone_calls = 236; - - // Number of offline phone impressions. - optional int64 phone_impressions = 237; - - // Number of phone calls received (phone_calls) divided by the number of - // times your phone number is shown (phone_impressions). - optional double phone_through_rate = 238; - - // Your clickthrough rate (Ctr) divided by the average clickthrough rate of - // all advertisers on the websites that show your ads. Measures how your ads - // perform on Display Network sites compared to other ads on the same sites. - optional double relative_ctr = 239; - - // The percentage of the customer's Shopping or Search ad impressions that are - // shown in the most prominent Shopping position. See - // https://support.google.com/google-ads/answer/7501826 - // for details. Any value below 0.1 is reported as 0.0999. - optional double search_absolute_top_impression_share = 136; - - // The number estimating how often your ad wasn't the very first ad above the - // organic search results due to a low budget. Note: Search - // budget lost absolute top impression share is reported in the range of 0 to - // 0.9. Any value above 0.9 is reported as 0.9001. - optional double search_budget_lost_absolute_top_impression_share = 137; - - // The estimated percent of times that your ad was eligible to show on the - // Search Network but didn't because your budget was too low. Note: Search - // budget lost impression share is reported in the range of 0 to 0.9. Any - // value above 0.9 is reported as 0.9001. - optional double search_budget_lost_impression_share = 138; - - // The number estimating how often your ad didn't show anywhere above the - // organic search results due to a low budget. Note: Search - // budget lost top impression share is reported in the range of 0 to 0.9. Any - // value above 0.9 is reported as 0.9001. - optional double search_budget_lost_top_impression_share = 139; - - // The number of clicks you've received on the Search Network - // divided by the estimated number of clicks you were eligible to receive. - // Note: Search click share is reported in the range of 0.1 to 1. Any value - // below 0.1 is reported as 0.0999. - optional double search_click_share = 140; - - // The impressions you've received divided by the estimated number of - // impressions you were eligible to receive on the Search Network for search - // terms that matched your keywords exactly (or were close variants of your - // keyword), regardless of your keyword match types. Note: Search exact match - // impression share is reported in the range of 0.1 to 1. Any value below 0.1 - // is reported as 0.0999. - optional double search_exact_match_impression_share = 141; - - // The impressions you've received on the Search Network divided - // by the estimated number of impressions you were eligible to receive. - // Note: Search impression share is reported in the range of 0.1 to 1. Any - // value below 0.1 is reported as 0.0999. - optional double search_impression_share = 142; - - // The number estimating how often your ad wasn't the very first ad above the - // organic search results due to poor Ad Rank. - // Note: Search rank lost absolute top impression share is reported in the - // range of 0 to 0.9. Any value above 0.9 is reported as 0.9001. - optional double search_rank_lost_absolute_top_impression_share = 143; - - // The estimated percentage of impressions on the Search Network - // that your ads didn't receive due to poor Ad Rank. - // Note: Search rank lost impression share is reported in the range of 0 to - // 0.9. Any value above 0.9 is reported as 0.9001. - optional double search_rank_lost_impression_share = 144; - - // The number estimating how often your ad didn't show anywhere above the - // organic search results due to poor Ad Rank. - // Note: Search rank lost top impression share is reported in the range of 0 - // to 0.9. Any value above 0.9 is reported as 0.9001. - optional double search_rank_lost_top_impression_share = 145; - - // The impressions you've received in the top location (anywhere above the - // organic search results) compared to the estimated number of impressions you - // were eligible to receive in the top location. - // Note: Search top impression share is reported in the range of 0.1 to 1. Any - // value below 0.1 is reported as 0.0999. - optional double search_top_impression_share = 146; - - // A measure of how quickly your page loads after clicks on your mobile ads. - // The score is a range from 1 to 10, 10 being the fastest. - optional int64 speed_score = 147; - - // The percent of your ad impressions that are shown anywhere above the - // organic search results. - optional double top_impression_percentage = 148; - - // The percentage of ad clicks to Accelerated Mobile Pages (AMP) landing pages - // that reach a valid AMP page. - optional double valid_accelerated_mobile_pages_clicks_percentage = 149; - - // The value of all conversions divided by the number of all conversions. - optional double value_per_all_conversions = 150; - - // The value of all conversions divided by the number of all conversions. When - // this column is selected with date, the values in date column means the - // conversion date. Details for the by_conversion_date columns are available - // at https://support.google.com/google-ads/answer/9549009. - optional double value_per_all_conversions_by_conversion_date = 244; - - // The value of conversions divided by the number of conversions. This only - // includes conversion actions which include_in_conversions_metric attribute - // is set to true. If you use conversion-based bidding, your bid strategies - // will optimize for these conversions. - optional double value_per_conversion = 151; - - // The value of conversions divided by the number of conversions. This only - // includes conversion actions which include_in_conversions_metric attribute - // is set to true. If you use conversion-based bidding, your bid strategies - // will optimize for these conversions. When this column is selected with - // date, the values in date column means the conversion date. Details for the - // by_conversion_date columns are available at - // https://support.google.com/google-ads/answer/9549009. - optional double value_per_conversions_by_conversion_date = 245; - - // The value of current model attributed conversions divided by the number of - // the conversions. This only includes conversion actions which - // include_in_conversions_metric attribute is set to true. If you use - // conversion-based bidding, your bid strategies will optimize for these - // conversions. - optional double value_per_current_model_attributed_conversion = 152; - - // Percentage of impressions where the viewer watched all of your video. - optional double video_quartile_p100_rate = 132; - - // Percentage of impressions where the viewer watched 25% of your video. - optional double video_quartile_p25_rate = 133; - - // Percentage of impressions where the viewer watched 50% of your video. - optional double video_quartile_p50_rate = 134; - - // Percentage of impressions where the viewer watched 75% of your video. - optional double video_quartile_p75_rate = 135; - - // The number of views your TrueView video ad receives divided by its number - // of impressions, including thumbnail impressions for TrueView in-display - // ads. - optional double video_view_rate = 153; - - // The number of times your video ads were viewed. - optional int64 video_views = 154; - - // The total number of view-through conversions. - // These happen when a customer sees an image or rich media ad, then later - // completes a conversion on your site without interacting with (for example, - // clicking on) another ad. - optional int64 view_through_conversions = 155; - - // The number of iOS Store Kit Ad Network conversions. - int64 sk_ad_network_conversions = 246; - - // Clicks from properties not owned by the publisher for which the traffic - // the publisher has paid for or acquired through incentivized activity - int64 publisher_purchased_clicks = 264; - - // Clicks from properties for which the traffic the publisher has not paid - // for or acquired through incentivized activity - int64 publisher_organic_clicks = 265; - - // Clicks from traffic which is not identified as "Publisher Purchased" or - // "Publisher Organic" - int64 publisher_unknown_clicks = 266; - - // Number of call button clicks on any location surface after a chargeable ad - // event (click or impression). This measure is coming from Asset based - // location. - optional double all_conversions_from_location_asset_click_to_call = 267; - - // Number of driving directions clicks on any location surface after a - // chargeable ad event (click or impression). This measure is coming - // from Asset based location. - optional double all_conversions_from_location_asset_directions = 268; - - // Number of menu link clicks on any location surface after a chargeable ad - // event (click or impression). This measure is coming from Asset based - // location. - optional double all_conversions_from_location_asset_menu = 269; - - // Number of order clicks on any location surface after a chargeable ad event - // (click or impression). This measure is coming from Asset based - // location. - optional double all_conversions_from_location_asset_order = 270; - - // Number of other types of local action clicks on any location surface after - // a chargeable ad event (click or impression). This measure is coming - // from Asset based location. - optional double all_conversions_from_location_asset_other_engagement = 271; - - // Estimated number of visits to the store after a chargeable - // ad event (click or impression). This measure is coming from Asset - // based location. - optional double all_conversions_from_location_asset_store_visits = 272; - - // Number of website URL clicks on any location surface after a chargeable ad - // event (click or impression). This measure is coming from Asset based - // location. - optional double all_conversions_from_location_asset_website = 273; - - // Number of impressions in which the store location was shown or the location - // was used for targeting. This measure is coming from Asset based - // location. - optional int64 eligible_impressions_from_location_asset_store_reach = 274; - - // Number of call button clicks on any location surface after an impression. - // This measure is coming from Asset based location. - optional double view_through_conversions_from_location_asset_click_to_call = 275; - - // Number of driving directions clicks on any location surface after an - // impression. This measure is coming from Asset based location. - optional double view_through_conversions_from_location_asset_directions = 276; - - // Number of menu link clicks on any location surface after an impression. - // This measure is coming from Asset based location. - optional double view_through_conversions_from_location_asset_menu = 277; - - // Number of order clicks on any location surface after an impression. This - // measure is coming from Asset based location. - optional double view_through_conversions_from_location_asset_order = 278; - - // Number of other types of local action clicks on any location surface after - // an impression. This measure is coming from Asset based location. - optional double view_through_conversions_from_location_asset_other_engagement = 279; - - // Estimated number of visits to the store after an impression. - // This measure is coming from Asset based location. - optional double view_through_conversions_from_location_asset_store_visits = 280; - - // Number of website URL clicks on any location surface after an impression. - // This measure is coming from Asset based location. - optional double view_through_conversions_from_location_asset_website = 281; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/common/offline_user_data.proto b/third_party/googleapis/google/ads/googleads/v12/common/offline_user_data.proto deleted file mode 100644 index eac4f3705..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/common/offline_user_data.proto +++ /dev/null @@ -1,333 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/enums/user_identifier_source.proto"; -import "google/api/field_behavior.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "OfflineUserDataProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; - -// Proto file describing offline user data. - -// Address identifier of offline data. -message OfflineUserAddressInfo { - // First name of the user, which is hashed as SHA-256 after normalized - // (Lowercase all characters; Remove any extra spaces before, after, and in - // between). - optional string hashed_first_name = 7; - - // Last name of the user, which is hashed as SHA-256 after normalized (lower - // case only and no punctuation). - optional string hashed_last_name = 8; - - // City of the address. Only accepted for Store Sales and - // ConversionAdjustmentUploadService. - optional string city = 9; - - // State code of the address. Only accepted for Store Sales and - // ConversionAdjustmentUploadService. - optional string state = 10; - - // 2-letter country code in ISO-3166-1 alpha-2 of the user's address. - optional string country_code = 11; - - // Postal code of the user's address. - optional string postal_code = 12; - - // The street address of the user hashed using SHA-256 hash function after - // normalization (lower case only). Only accepted for - // ConversionAdjustmentUploadService. - optional string hashed_street_address = 13; -} - -// User identifying information. -message UserIdentifier { - // Source of the user identifier when the upload is from Store Sales, - // ConversionUploadService, or ConversionAdjustmentUploadService. - google.ads.googleads.v12.enums.UserIdentifierSourceEnum.UserIdentifierSource user_identifier_source = 6; - - // Exactly one must be specified. For OfflineUserDataJobService, Customer - // Match accepts hashed_email, hashed_phone_number, mobile_id, - // third_party_user_id, and address_info; Store Sales accepts hashed_email, - // hashed_phone_number, third_party_user_id, and address_info. - // ConversionUploadService accepts hashed_email and hashed_phone_number. - // ConversionAdjustmentUploadService accepts hashed_email, - // hashed_phone_number, and address_info. - oneof identifier { - // Hashed email address using SHA-256 hash function after normalization. - // Accepted for Customer Match, Store Sales, ConversionUploadService, and - // ConversionAdjustmentUploadService. - string hashed_email = 7; - - // Hashed phone number using SHA-256 hash function after normalization - // (E164 standard). Accepted for Customer Match, Store Sales, - // ConversionUploadService, and ConversionAdjustmentUploadService. - string hashed_phone_number = 8; - - // Mobile device ID (advertising ID/IDFA). Accepted only for Customer Match. - string mobile_id = 9; - - // Advertiser-assigned user ID for Customer Match upload, or - // third-party-assigned user ID for Store Sales. Accepted only for Customer - // Match and Store Sales. - string third_party_user_id = 10; - - // Address information. Accepted only for Customer Match, Store Sales, and - // ConversionAdjustmentUploadService. - OfflineUserAddressInfo address_info = 5; - } -} - -// Attribute of the store sales transaction. -message TransactionAttribute { - // Timestamp when transaction occurred. Required. - // The format is "YYYY-MM-DD HH:MM:SS[+/-HH:MM]", where [+/-HH:MM] is an - // optional timezone offset from UTC. If the offset is absent, the API will - // use the account's timezone as default. - // Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30+03:00" - optional string transaction_date_time = 8; - - // Transaction amount in micros. Required. - // Transaction amount in micros needs to be greater than 1000. - // If item Attributes are provided, it represents the total value of the - // items, after multiplying the unit price per item by the quantity provided - // in the ItemAttributes. - optional double transaction_amount_micros = 9; - - // Transaction currency code. ISO 4217 three-letter code is used. Required. - optional string currency_code = 10; - - // The resource name of conversion action to report conversions to. - // Required. - optional string conversion_action = 11; - - // Transaction order id. - // Accessible only to customers on the allow-list. - optional string order_id = 12; - - // Store attributes of the transaction. - // Accessible only to customers on the allow-list. - StoreAttribute store_attribute = 6; - - // Value of the custom variable for each transaction. - // Accessible only to customers on the allow-list. - optional string custom_value = 13; - - // Item attributes of the transaction. - ItemAttribute item_attribute = 14; -} - -// Store attributes of the transaction. -message StoreAttribute { - // Store code from - // https://support.google.com/business/answer/3370250#storecode - optional string store_code = 2; -} - -// Item attributes of the transaction. -message ItemAttribute { - // A unique identifier of a product. It can be either the Merchant Center Item - // ID or GTIN (Global Trade Item Number). - string item_id = 1; - - // ID of the Merchant Center Account. - optional int64 merchant_id = 2; - - // Common Locale Data Repository (CLDR) territory code of the country - // associated with the feed where your items are uploaded. See - // https://developers.google.com/google-ads/api/reference/data/codes-formats#country-codes - // for more information. - string country_code = 3; - - // ISO 639-1 code of the language associated with the feed where your items - // are uploaded - string language_code = 4; - - // The number of items sold. Defaults to 1 if not set. - int64 quantity = 5; -} - -// User data holding user identifiers and attributes. -message UserData { - // User identification info. Required. - repeated UserIdentifier user_identifiers = 1; - - // Additional transactions/attributes associated with the user. - // Required when updating store sales data. - TransactionAttribute transaction_attribute = 2; - - // Additional attributes associated with the user. Required when updating - // customer match attributes. These have an expiration of 540 days. - UserAttribute user_attribute = 3; -} - -// User attribute, can only be used with CUSTOMER_MATCH_WITH_ATTRIBUTES job -// type. -message UserAttribute { - // Advertiser defined lifetime value for the user. - optional int64 lifetime_value_micros = 1; - - // Advertiser defined lifetime value bucket for the user. The valid range for - // a lifetime value bucket is from 1 (low) to 10 (high), except for remove - // operation where 0 will also be accepted. - optional int32 lifetime_value_bucket = 2; - - // Timestamp of the last purchase made by the user. - // The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an - // optional timezone offset from UTC. If the offset is absent, the API will - // use the account's timezone as default. - string last_purchase_date_time = 3; - - // Advertiser defined average number of purchases that are made by the user in - // a 30 day period. - int32 average_purchase_count = 4; - - // Advertiser defined average purchase value in micros for the user. - int64 average_purchase_value_micros = 5; - - // Timestamp when the user was acquired. - // The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an - // optional timezone offset from UTC. If the offset is absent, the API will - // use the account's timezone as default. - string acquisition_date_time = 6; - - // The shopping loyalty related data. Shopping utilizes this data to provide - // users with a better experience. Accessible only to merchants on the - // allow-list with the user's consent. - optional ShoppingLoyalty shopping_loyalty = 7; - - // Optional. Advertiser defined lifecycle stage for the user. The accepted values are - // "Lead", "Active" and "Churned". - string lifecycle_stage = 8 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. Timestamp of the first purchase made by the user. - // The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an - // optional timezone offset from UTC. If the offset is absent, the API will - // use the account's timezone as default. - string first_purchase_date_time = 9 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. Advertiser defined events and their attributes. All the values in the - // nested fields are required. Currently this field is in beta. - repeated EventAttribute event_attribute = 10 [(google.api.field_behavior) = OPTIONAL]; -} - -// Advertiser defined events and their attributes. All the values in the -// nested fields are required. -message EventAttribute { - // Required. Advertiser defined event to be used for remarketing. The accepted values - // are "Viewed", "Cart", "Purchased" and "Recommended". - string event = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. Timestamp at which the event happened. - // The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an - // optional timezone offset from UTC. If the offset is absent, the API will - // use the account's timezone as default. - string event_date_time = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. Item attributes of the event. - repeated EventItemAttribute item_attribute = 3 [(google.api.field_behavior) = REQUIRED]; -} - -// Event Item attributes of the Customer Match. -message EventItemAttribute { - // Optional. A unique identifier of a product. It can be either the Merchant Center Item - // ID or GTIN (Global Trade Item Number). - string item_id = 1 [(google.api.field_behavior) = OPTIONAL]; -} - -// The shopping loyalty related data. Shopping utilizes this data to provide -// users with a better experience. -// Accessible only to merchants on the allow-list. -message ShoppingLoyalty { - // The membership tier. It is a free-form string as each merchant may have - // their own loyalty system. For example, it could be a number from 1 to 10, - // or a string such as "Golden" or "Silver", or even empty string "". - optional string loyalty_tier = 1; -} - -// Metadata for customer match user list. -message CustomerMatchUserListMetadata { - // The resource name of remarketing list to update data. - // Required for job of CUSTOMER_MATCH_USER_LIST type. - optional string user_list = 2; -} - -// Metadata for Store Sales Direct. -message StoreSalesMetadata { - // This is the fraction of all transactions that are identifiable (for - // example, associated with any form of customer information). Required. The - // fraction needs to be between 0 and 1 (excluding 0). - optional double loyalty_fraction = 5; - - // This is the ratio of sales being uploaded compared to the overall sales - // that can be associated with a customer. Required. - // The fraction needs to be between 0 and 1 (excluding 0). For example, if you - // upload half the sales that you are able to associate with a customer, this - // would be 0.5. - optional double transaction_upload_fraction = 6; - - // Name of the store sales custom variable key. A predefined key that - // can be applied to the transaction and then later used for custom - // segmentation in reporting. - // Accessible only to customers on the allow-list. - optional string custom_key = 7; - - // Metadata for a third party Store Sales upload. - StoreSalesThirdPartyMetadata third_party_metadata = 3; -} - -// Metadata for a third party Store Sales. -// This product is only for customers on the allow-list. Contact your -// Google business development representative for details on the upload -// configuration. -message StoreSalesThirdPartyMetadata { - // Time the advertiser uploaded the data to the partner. Required. - // The format is "YYYY-MM-DD HH:MM:SS". - // Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - optional string advertiser_upload_date_time = 7; - - // The fraction of transactions that are valid. Invalid transactions may - // include invalid formats or values. - // Required. - // The fraction needs to be between 0 and 1 (excluding 0). - optional double valid_transaction_fraction = 8; - - // The fraction of valid transactions that are matched to a third party - // assigned user ID on the partner side. - // Required. - // The fraction needs to be between 0 and 1 (excluding 0). - optional double partner_match_fraction = 9; - - // The fraction of valid transactions that are uploaded by the partner to - // Google. - // Required. - // The fraction needs to be between 0 and 1 (excluding 0). - optional double partner_upload_fraction = 10; - - // Version of partner IDs to be used for uploads. Required. - optional string bridge_map_version_id = 11; - - // ID of the third party partner updating the transaction feed. - optional int64 partner_id = 12; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/common/policy.proto b/third_party/googleapis/google/ads/googleads/v12/common/policy.proto deleted file mode 100644 index 09bfa4b19..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/common/policy.proto +++ /dev/null @@ -1,219 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/enums/policy_topic_entry_type.proto"; -import "google/ads/googleads/v12/enums/policy_topic_evidence_destination_mismatch_url_type.proto"; -import "google/ads/googleads/v12/enums/policy_topic_evidence_destination_not_working_device.proto"; -import "google/ads/googleads/v12/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "PolicyProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; - -// Proto file describing policy information. - -// Key of the violation. The key is used for referring to a violation -// when filing an exemption request. -message PolicyViolationKey { - // Unique ID of the violated policy. - optional string policy_name = 3; - - // The text that violates the policy if specified. - // Otherwise, refers to the policy in general - // (for example, when requesting to be exempt from the whole policy). - // If not specified for criterion exemptions, the whole policy is implied. - // Must be specified for ad exemptions. - optional string violating_text = 4; -} - -// Parameter for controlling how policy exemption is done. -message PolicyValidationParameter { - // The list of policy topics that should not cause a PolicyFindingError to - // be reported. This field is currently only compatible with Enhanced Text Ad. - // It corresponds to the PolicyTopicEntry.topic field. - // - // Resources violating these policies will be saved, but will not be eligible - // to serve. They may begin serving at a later time due to a change in - // policies, re-review of the resource, or a change in advertiser - // certificates. - repeated string ignorable_policy_topics = 3; - - // The list of policy violation keys that should not cause a - // PolicyViolationError to be reported. Not all policy violations are - // exemptable, refer to the is_exemptible field in the returned - // PolicyViolationError. - // - // Resources violating these polices will be saved, but will not be eligible - // to serve. They may begin serving at a later time due to a change in - // policies, re-review of the resource, or a change in advertiser - // certificates. - repeated PolicyViolationKey exempt_policy_violation_keys = 2; -} - -// Policy finding attached to a resource (for example, alcohol policy associated -// with a site that sells alcohol). -// -// Each PolicyTopicEntry has a topic that indicates the specific ads policy -// the entry is about and a type to indicate the effect that the entry will have -// on serving. It may optionally have one or more evidences that indicate the -// reason for the finding. It may also optionally have one or more constraints -// that provide details about how serving may be restricted. -message PolicyTopicEntry { - // Policy topic this finding refers to. For example, "ALCOHOL", - // "TRADEMARKS_IN_AD_TEXT", or "DESTINATION_NOT_WORKING". The set of possible - // policy topics is not fixed for a particular API version and may change - // at any time. - optional string topic = 5; - - // Describes the negative or positive effect this policy will have on serving. - google.ads.googleads.v12.enums.PolicyTopicEntryTypeEnum.PolicyTopicEntryType type = 2; - - // Additional information that explains policy finding - // (for example, the brand name for a trademark finding). - repeated PolicyTopicEvidence evidences = 3; - - // Indicates how serving of this resource may be affected (for example, not - // serving in a country). - repeated PolicyTopicConstraint constraints = 4; -} - -// Additional information that explains a policy finding. -message PolicyTopicEvidence { - // A list of fragments of text that violated a policy. - message TextList { - // The fragments of text from the resource that caused the policy finding. - repeated string texts = 2; - } - - // A list of websites that caused a policy finding. Used for - // ONE_WEBSITE_PER_AD_GROUP policy topic, for example. In case there are more - // than five websites, only the top five (those that appear in resources the - // most) will be listed here. - message WebsiteList { - // Websites that caused the policy finding. - repeated string websites = 2; - } - - // A list of strings found in a destination page that caused a policy - // finding. - message DestinationTextList { - // List of text found in the resource's destination page. - repeated string destination_texts = 2; - } - - // Evidence of mismatches between the URLs of a resource. - message DestinationMismatch { - // The set of URLs that did not match each other. - repeated google.ads.googleads.v12.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType url_types = 1; - } - - // Evidence details when the destination is returning an HTTP error - // code or isn't functional in all locations for commonly used devices. - message DestinationNotWorking { - // The full URL that didn't work. - optional string expanded_url = 7; - - // The type of device that failed to load the URL. - google.ads.googleads.v12.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.PolicyTopicEvidenceDestinationNotWorkingDevice device = 4; - - // The time the URL was last checked. - // The format is "YYYY-MM-DD HH:MM:SS". - // Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - optional string last_checked_date_time = 8; - - // Indicates the reason of the DESTINATION_NOT_WORKING policy finding. - oneof reason { - // The type of DNS error. - google.ads.googleads.v12.enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.PolicyTopicEvidenceDestinationNotWorkingDnsErrorType dns_error_type = 1; - - // The HTTP error code. - int64 http_error_code = 6; - } - } - - // Specific evidence information depending on the evidence type. - oneof value { - // List of websites linked with this resource. - WebsiteList website_list = 3; - - // List of evidence found in the text of a resource. - TextList text_list = 4; - - // The language the resource was detected to be written in. - // This is an IETF language tag such as "en-US". - string language_code = 9; - - // The text in the destination of the resource that is causing a policy - // finding. - DestinationTextList destination_text_list = 6; - - // Mismatch between the destinations of a resource's URLs. - DestinationMismatch destination_mismatch = 7; - - // Details when the destination is returning an HTTP error code or isn't - // functional in all locations for commonly used devices. - DestinationNotWorking destination_not_working = 8; - } -} - -// Describes the effect on serving that a policy topic entry will have. -message PolicyTopicConstraint { - // A list of countries where a resource's serving is constrained. - message CountryConstraintList { - // Total number of countries targeted by the resource. - optional int32 total_targeted_countries = 3; - - // Countries in which serving is restricted. - repeated CountryConstraint countries = 2; - } - - // Indicates that a policy topic was constrained due to disapproval of the - // website for reseller purposes. - message ResellerConstraint { - - } - - // Indicates that a resource's ability to serve in a particular country is - // constrained. - message CountryConstraint { - // Geo target constant resource name of the country in which serving is - // constrained. - optional string country_criterion = 2; - } - - // Specific information about the constraint. - oneof value { - // Countries where the resource cannot serve. - CountryConstraintList country_constraint_list = 1; - - // Reseller constraint. - ResellerConstraint reseller_constraint = 2; - - // Countries where a certificate is required for serving. - CountryConstraintList certificate_missing_in_country_list = 3; - - // Countries where the resource's domain is not covered by the - // certificates associated with it. - CountryConstraintList certificate_domain_mismatch_in_country_list = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v12/common/policy_summary.proto b/third_party/googleapis/google/ads/googleads/v12/common/policy_summary.proto deleted file mode 100644 index ad19b53c3..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/common/policy_summary.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/common/policy.proto"; -import "google/ads/googleads/v12/enums/policy_approval_status.proto"; -import "google/ads/googleads/v12/enums/policy_review_status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "PolicySummaryProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; - -// Proto file describing policy summary. - -// Contains policy summary information. -message PolicySummary { - // The list of policy findings. - repeated PolicyTopicEntry policy_topic_entries = 1; - - // Where in the review process the resource is. - google.ads.googleads.v12.enums.PolicyReviewStatusEnum.PolicyReviewStatus review_status = 2; - - // The overall approval status, which is calculated based on - // the status of its individual policy topic entries. - google.ads.googleads.v12.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 3; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/common/real_time_bidding_setting.proto b/third_party/googleapis/google/ads/googleads/v12/common/real_time_bidding_setting.proto deleted file mode 100644 index e296e8249..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/common/real_time_bidding_setting.proto +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.common; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "RealTimeBiddingSettingProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; - -// Proto file describing RealTimeBiddingSetting - -// Settings for Real-Time Bidding, a feature only available for campaigns -// targeting the Ad Exchange network. -message RealTimeBiddingSetting { - // Whether the campaign is opted in to real-time bidding. - optional bool opt_in = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/common/segments.proto b/third_party/googleapis/google/ads/googleads/v12/common/segments.proto deleted file mode 100644 index cb6feacf4..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/common/segments.proto +++ /dev/null @@ -1,400 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/common/criteria.proto"; -import "google/ads/googleads/v12/enums/ad_destination_type.proto"; -import "google/ads/googleads/v12/enums/ad_network_type.proto"; -import "google/ads/googleads/v12/enums/budget_campaign_association_status.proto"; -import "google/ads/googleads/v12/enums/click_type.proto"; -import "google/ads/googleads/v12/enums/conversion_action_category.proto"; -import "google/ads/googleads/v12/enums/conversion_attribution_event_type.proto"; -import "google/ads/googleads/v12/enums/conversion_lag_bucket.proto"; -import "google/ads/googleads/v12/enums/conversion_or_adjustment_lag_bucket.proto"; -import "google/ads/googleads/v12/enums/conversion_value_rule_primary_dimension.proto"; -import "google/ads/googleads/v12/enums/day_of_week.proto"; -import "google/ads/googleads/v12/enums/device.proto"; -import "google/ads/googleads/v12/enums/external_conversion_source.proto"; -import "google/ads/googleads/v12/enums/hotel_date_selection_type.proto"; -import "google/ads/googleads/v12/enums/hotel_price_bucket.proto"; -import "google/ads/googleads/v12/enums/hotel_rate_type.proto"; -import "google/ads/googleads/v12/enums/month_of_year.proto"; -import "google/ads/googleads/v12/enums/placeholder_type.proto"; -import "google/ads/googleads/v12/enums/product_channel.proto"; -import "google/ads/googleads/v12/enums/product_channel_exclusivity.proto"; -import "google/ads/googleads/v12/enums/product_condition.proto"; -import "google/ads/googleads/v12/enums/recommendation_type.proto"; -import "google/ads/googleads/v12/enums/search_engine_results_page_type.proto"; -import "google/ads/googleads/v12/enums/search_term_match_type.proto"; -import "google/ads/googleads/v12/enums/sk_ad_network_ad_event_type.proto"; -import "google/ads/googleads/v12/enums/sk_ad_network_attribution_credit.proto"; -import "google/ads/googleads/v12/enums/sk_ad_network_user_type.proto"; -import "google/ads/googleads/v12/enums/slot.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "SegmentsProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; - -// Proto file describing segment only fields. - -// Segment only fields. -message Segments { - // Ad Destination type. - google.ads.googleads.v12.enums.AdDestinationTypeEnum.AdDestinationType ad_destination_type = 136; - - // Ad network type. - google.ads.googleads.v12.enums.AdNetworkTypeEnum.AdNetworkType ad_network_type = 3; - - // Domain (visible URL) of a participant in the Auction Insights report. - optional string auction_insight_domain = 145; - - // Budget campaign association status. - BudgetCampaignAssociationStatus budget_campaign_association_status = 134; - - // Click type. - google.ads.googleads.v12.enums.ClickTypeEnum.ClickType click_type = 26; - - // Resource name of the conversion action. - optional string conversion_action = 113 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionAction" - }]; - - // Conversion action category. - google.ads.googleads.v12.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_category = 53; - - // Conversion action name. - optional string conversion_action_name = 114; - - // This segments your conversion columns by the original conversion and - // conversion value versus the delta if conversions were adjusted. False row - // has the data as originally stated; While true row has the delta between - // data now and the data as originally stated. Summing the two together - // results post-adjustment data. - optional bool conversion_adjustment = 115; - - // Conversion attribution event type. - google.ads.googleads.v12.enums.ConversionAttributionEventTypeEnum.ConversionAttributionEventType conversion_attribution_event_type = 2; - - // An enum value representing the number of days between the impression and - // the conversion. - google.ads.googleads.v12.enums.ConversionLagBucketEnum.ConversionLagBucket conversion_lag_bucket = 50; - - // An enum value representing the number of days between the impression and - // the conversion or between the impression and adjustments to the conversion. - google.ads.googleads.v12.enums.ConversionOrAdjustmentLagBucketEnum.ConversionOrAdjustmentLagBucket conversion_or_adjustment_lag_bucket = 51; - - // Date to which metrics apply. - // yyyy-MM-dd format, for example, 2018-04-17. - optional string date = 79; - - // Day of the week, for example, MONDAY. - google.ads.googleads.v12.enums.DayOfWeekEnum.DayOfWeek day_of_week = 5; - - // Device to which metrics apply. - google.ads.googleads.v12.enums.DeviceEnum.Device device = 1; - - // External conversion source. - google.ads.googleads.v12.enums.ExternalConversionSourceEnum.ExternalConversionSource external_conversion_source = 55; - - // Resource name of the geo target constant that represents an airport. - optional string geo_target_airport = 116; - - // Resource name of the geo target constant that represents a canton. - optional string geo_target_canton = 117; - - // Resource name of the geo target constant that represents a city. - optional string geo_target_city = 118; - - // Resource name of the geo target constant that represents a country. - optional string geo_target_country = 119; - - // Resource name of the geo target constant that represents a county. - optional string geo_target_county = 120; - - // Resource name of the geo target constant that represents a district. - optional string geo_target_district = 121; - - // Resource name of the geo target constant that represents a metro. - optional string geo_target_metro = 122; - - // Resource name of the geo target constant that represents the most - // specific location. - optional string geo_target_most_specific_location = 123; - - // Resource name of the geo target constant that represents a postal code. - optional string geo_target_postal_code = 124; - - // Resource name of the geo target constant that represents a province. - optional string geo_target_province = 125; - - // Resource name of the geo target constant that represents a region. - optional string geo_target_region = 126; - - // Resource name of the geo target constant that represents a state. - optional string geo_target_state = 127; - - // Hotel booking window in days. - optional int64 hotel_booking_window_days = 135; - - // Hotel center ID. - optional int64 hotel_center_id = 80; - - // Hotel check-in date. Formatted as yyyy-MM-dd. - optional string hotel_check_in_date = 81; - - // Hotel check-in day of week. - google.ads.googleads.v12.enums.DayOfWeekEnum.DayOfWeek hotel_check_in_day_of_week = 9; - - // Hotel city. - optional string hotel_city = 82; - - // Hotel class. - optional int32 hotel_class = 83; - - // Hotel country. - optional string hotel_country = 84; - - // Hotel date selection type. - google.ads.googleads.v12.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType hotel_date_selection_type = 13; - - // Hotel length of stay. - optional int32 hotel_length_of_stay = 85; - - // Hotel rate rule ID. - optional string hotel_rate_rule_id = 86; - - // Hotel rate type. - google.ads.googleads.v12.enums.HotelRateTypeEnum.HotelRateType hotel_rate_type = 74; - - // Hotel price bucket. - google.ads.googleads.v12.enums.HotelPriceBucketEnum.HotelPriceBucket hotel_price_bucket = 78; - - // Hotel state. - optional string hotel_state = 87; - - // Hour of day as a number between 0 and 23, inclusive. - optional int32 hour = 88; - - // Only used with feed item metrics. - // Indicates whether the interaction metrics occurred on the feed item itself - // or a different extension or ad unit. - optional bool interaction_on_this_extension = 89; - - // Keyword criterion. - Keyword keyword = 61; - - // Month as represented by the date of the first day of a month. Formatted as - // yyyy-MM-dd. - optional string month = 90; - - // Month of the year, for example, January. - google.ads.googleads.v12.enums.MonthOfYearEnum.MonthOfYear month_of_year = 18; - - // Partner hotel ID. - optional string partner_hotel_id = 91; - - // Placeholder type. This is only used with feed item metrics. - google.ads.googleads.v12.enums.PlaceholderTypeEnum.PlaceholderType placeholder_type = 20; - - // Aggregator ID of the product. - optional int64 product_aggregator_id = 132; - - // Bidding category (level 1) of the product. - optional string product_bidding_category_level1 = 92; - - // Bidding category (level 2) of the product. - optional string product_bidding_category_level2 = 93; - - // Bidding category (level 3) of the product. - optional string product_bidding_category_level3 = 94; - - // Bidding category (level 4) of the product. - optional string product_bidding_category_level4 = 95; - - // Bidding category (level 5) of the product. - optional string product_bidding_category_level5 = 96; - - // Brand of the product. - optional string product_brand = 97; - - // Channel of the product. - google.ads.googleads.v12.enums.ProductChannelEnum.ProductChannel product_channel = 30; - - // Channel exclusivity of the product. - google.ads.googleads.v12.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity product_channel_exclusivity = 31; - - // Condition of the product. - google.ads.googleads.v12.enums.ProductConditionEnum.ProductCondition product_condition = 32; - - // Resource name of the geo target constant for the country of sale of the - // product. - optional string product_country = 98; - - // Custom attribute 0 of the product. - optional string product_custom_attribute0 = 99; - - // Custom attribute 1 of the product. - optional string product_custom_attribute1 = 100; - - // Custom attribute 2 of the product. - optional string product_custom_attribute2 = 101; - - // Custom attribute 3 of the product. - optional string product_custom_attribute3 = 102; - - // Custom attribute 4 of the product. - optional string product_custom_attribute4 = 103; - - // Item ID of the product. - optional string product_item_id = 104; - - // Resource name of the language constant for the language of the product. - optional string product_language = 105; - - // Merchant ID of the product. - optional int64 product_merchant_id = 133; - - // Store ID of the product. - optional string product_store_id = 106; - - // Title of the product. - optional string product_title = 107; - - // Type (level 1) of the product. - optional string product_type_l1 = 108; - - // Type (level 2) of the product. - optional string product_type_l2 = 109; - - // Type (level 3) of the product. - optional string product_type_l3 = 110; - - // Type (level 4) of the product. - optional string product_type_l4 = 111; - - // Type (level 5) of the product. - optional string product_type_l5 = 112; - - // Quarter as represented by the date of the first day of a quarter. - // Uses the calendar year for quarters, for example, the second quarter of - // 2018 starts on 2018-04-01. Formatted as yyyy-MM-dd. - optional string quarter = 128; - - // Recommendation type. - google.ads.googleads.v12.enums.RecommendationTypeEnum.RecommendationType recommendation_type = 140; - - // Type of the search engine results page. - google.ads.googleads.v12.enums.SearchEngineResultsPageTypeEnum.SearchEngineResultsPageType search_engine_results_page_type = 70; - - // Match type of the keyword that triggered the ad, including variants. - google.ads.googleads.v12.enums.SearchTermMatchTypeEnum.SearchTermMatchType search_term_match_type = 22; - - // Position of the ad. - google.ads.googleads.v12.enums.SlotEnum.Slot slot = 23; - - // Primary dimension of applied conversion value rules. - // NO_RULE_APPLIED shows the total recorded value of conversions that - // do not have a value rule applied. - // ORIGINAL shows the original value of conversions to which a value rule - // has been applied. - // GEO_LOCATION, DEVICE, AUDIENCE show the net adjustment after value - // rules were applied. - google.ads.googleads.v12.enums.ConversionValueRulePrimaryDimensionEnum.ConversionValueRulePrimaryDimension conversion_value_rule_primary_dimension = 138; - - // Resource name of the ad group criterion that represents webpage criterion. - optional string webpage = 129; - - // Week as defined as Monday through Sunday, and represented by the date of - // Monday. Formatted as yyyy-MM-dd. - optional string week = 130; - - // Year, formatted as yyyy. - optional int32 year = 131; - - // iOS Store Kit Ad Network conversion value. - // Null value means this segment is not applicable, for example, non-iOS - // campaign. - optional int64 sk_ad_network_conversion_value = 137; - - // iOS Store Kit Ad Network user type. - google.ads.googleads.v12.enums.SkAdNetworkUserTypeEnum.SkAdNetworkUserType sk_ad_network_user_type = 141; - - // iOS Store Kit Ad Network ad event type. - google.ads.googleads.v12.enums.SkAdNetworkAdEventTypeEnum.SkAdNetworkAdEventType sk_ad_network_ad_event_type = 142; - - // App where the ad that drove the iOS Store Kit Ad Network install was - // shown. Null value means this segment is not applicable, for example, - // non-iOS campaign, or was not present in any postbacks sent by Apple. - optional SkAdNetworkSourceApp sk_ad_network_source_app = 143; - - // iOS Store Kit Ad Network attribution credit - google.ads.googleads.v12.enums.SkAdNetworkAttributionCreditEnum.SkAdNetworkAttributionCredit sk_ad_network_attribution_credit = 144; - - // Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. - // Indicates whether the interaction metrics occurred on the asset itself - // or a different asset or ad unit. - // Interactions (for example, clicks) are counted across all the parts of the - // served ad (for example, Ad itself and other components like Sitelinks) when - // they are served together. When interaction_on_this_asset is true, it means - // the interactions are on this specific asset and when - // interaction_on_this_asset is false, it means the interactions is not on - // this specific asset but on other parts of the served ad this asset is - // served with. - optional AssetInteractionTarget asset_interaction_target = 139; -} - -// A Keyword criterion segment. -message Keyword { - // The AdGroupCriterion resource name. - optional string ad_group_criterion = 3; - - // Keyword info. - KeywordInfo info = 2; -} - -// A BudgetCampaignAssociationStatus segment. -message BudgetCampaignAssociationStatus { - // The campaign resource name. - optional string campaign = 1; - - // Budget campaign association status. - google.ads.googleads.v12.enums.BudgetCampaignAssociationStatusEnum.BudgetCampaignAssociationStatus status = 2; -} - -// An AssetInteractionTarget segment. -message AssetInteractionTarget { - // The asset resource name. - string asset = 1; - - // Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. - // Indicates whether the interaction metrics occurred on the asset itself or a - // different asset or ad unit. - bool interaction_on_this_asset = 2; -} - -// A SkAdNetworkSourceApp segment. -message SkAdNetworkSourceApp { - // App id where the ad that drove the iOS Store Kit Ad Network install was - // shown. - optional string sk_ad_network_source_app_id = 1; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/common/simulation.proto b/third_party/googleapis/google/ads/googleads/v12/common/simulation.proto deleted file mode 100644 index 8e370ff19..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/common/simulation.proto +++ /dev/null @@ -1,356 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.common; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "SimulationProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; - -// Proto file describing simulation points. - -// A container for simulation points for simulations of type BID_MODIFIER. -message BidModifierSimulationPointList { - // Projected metrics for a series of bid modifier amounts. - repeated BidModifierSimulationPoint points = 1; -} - -// A container for simulation points for simulations of type CPC_BID. -message CpcBidSimulationPointList { - // Projected metrics for a series of CPC bid amounts. - repeated CpcBidSimulationPoint points = 1; -} - -// A container for simulation points for simulations of type CPV_BID. -message CpvBidSimulationPointList { - // Projected metrics for a series of CPV bid amounts. - repeated CpvBidSimulationPoint points = 1; -} - -// A container for simulation points for simulations of type TARGET_CPA. -message TargetCpaSimulationPointList { - // Projected metrics for a series of target CPA amounts. - repeated TargetCpaSimulationPoint points = 1; -} - -// A container for simulation points for simulations of type TARGET_ROAS. -message TargetRoasSimulationPointList { - // Projected metrics for a series of target ROAS amounts. - repeated TargetRoasSimulationPoint points = 1; -} - -// A container for simulation points for simulations of type PERCENT_CPC_BID. -message PercentCpcBidSimulationPointList { - // Projected metrics for a series of percent CPC bid amounts. - repeated PercentCpcBidSimulationPoint points = 1; -} - -// A container for simulation points for simulations of type BUDGET. -message BudgetSimulationPointList { - // Projected metrics for a series of budget amounts. - repeated BudgetSimulationPoint points = 1; -} - -// A container for simulation points for simulations of type -// TARGET_IMPRESSION_SHARE. -message TargetImpressionShareSimulationPointList { - // Projected metrics for a specific target impression share value. - repeated TargetImpressionShareSimulationPoint points = 1; -} - -// Projected metrics for a specific bid modifier amount. -message BidModifierSimulationPoint { - // The simulated bid modifier upon which projected metrics are based. - optional double bid_modifier = 15; - - // Projected number of biddable conversions. - // Only search advertising channel type supports this field. - optional double biddable_conversions = 16; - - // Projected total value of biddable conversions. - // Only search advertising channel type supports this field. - optional double biddable_conversions_value = 17; - - // Projected number of clicks. - optional int64 clicks = 18; - - // Projected cost in micros. - optional int64 cost_micros = 19; - - // Projected number of impressions. - optional int64 impressions = 20; - - // Projected number of top slot impressions. - // Only search advertising channel type supports this field. - optional int64 top_slot_impressions = 21; - - // Projected number of biddable conversions for the parent resource. - // Only search advertising channel type supports this field. - optional double parent_biddable_conversions = 22; - - // Projected total value of biddable conversions for the parent resource. - // Only search advertising channel type supports this field. - optional double parent_biddable_conversions_value = 23; - - // Projected number of clicks for the parent resource. - optional int64 parent_clicks = 24; - - // Projected cost in micros for the parent resource. - optional int64 parent_cost_micros = 25; - - // Projected number of impressions for the parent resource. - optional int64 parent_impressions = 26; - - // Projected number of top slot impressions for the parent resource. - // Only search advertising channel type supports this field. - optional int64 parent_top_slot_impressions = 27; - - // Projected minimum daily budget that must be available to the parent - // resource to realize this simulation. - optional int64 parent_required_budget_micros = 28; -} - -// Projected metrics for a specific CPC bid amount. -message CpcBidSimulationPoint { - // Projected required daily budget that the advertiser must set in order to - // receive the estimated traffic, in micros of advertiser currency. - int64 required_budget_amount_micros = 17; - - // Projected number of biddable conversions. - optional double biddable_conversions = 9; - - // Projected total value of biddable conversions. - optional double biddable_conversions_value = 10; - - // Projected number of clicks. - optional int64 clicks = 11; - - // Projected cost in micros. - optional int64 cost_micros = 12; - - // Projected number of impressions. - optional int64 impressions = 13; - - // Projected number of top slot impressions. - // Only search advertising channel type supports this field. - optional int64 top_slot_impressions = 14; - - // When SimulationModificationMethod = UNIFORM or DEFAULT, - // cpc_bid_micros is set. - // When SimulationModificationMethod = SCALING, - // cpc_bid_scaling_modifier is set. - oneof cpc_simulation_key_value { - // The simulated CPC bid upon which projected metrics are based. - int64 cpc_bid_micros = 15; - - // The simulated scaling modifier upon which projected metrics are based. - // All CPC bids relevant to the simulated entity are scaled by this - // modifier. - double cpc_bid_scaling_modifier = 16; - } -} - -// Projected metrics for a specific CPV bid amount. -message CpvBidSimulationPoint { - // The simulated CPV bid upon which projected metrics are based. - optional int64 cpv_bid_micros = 5; - - // Projected cost in micros. - optional int64 cost_micros = 6; - - // Projected number of impressions. - optional int64 impressions = 7; - - // Projected number of views. - optional int64 views = 8; -} - -// Projected metrics for a specific target CPA amount. -message TargetCpaSimulationPoint { - // Projected required daily budget that the advertiser must set in order to - // receive the estimated traffic, in micros of advertiser currency. - int64 required_budget_amount_micros = 19; - - // Projected number of biddable conversions. - optional double biddable_conversions = 9; - - // Projected total value of biddable conversions. - optional double biddable_conversions_value = 10; - - // Projected number of app installs. - double app_installs = 15; - - // Projected number of in-app actions. - double in_app_actions = 16; - - // Projected number of clicks. - optional int64 clicks = 11; - - // Projected cost in micros. - optional int64 cost_micros = 12; - - // Projected number of impressions. - optional int64 impressions = 13; - - // Projected number of top slot impressions. - // Only search advertising channel type supports this field. - optional int64 top_slot_impressions = 14; - - // When SimulationModificationMethod = UNIFORM or DEFAULT, - // target_cpa_micros is set. - // When SimulationModificationMethod = SCALING, - // target_cpa_scaling_modifier is set. - oneof target_cpa_simulation_key_value { - // The simulated target CPA upon which projected metrics are based. - int64 target_cpa_micros = 17; - - // The simulated scaling modifier upon which projected metrics are based. - // All CPA targets relevant to the simulated entity are scaled by this - // modifier. - double target_cpa_scaling_modifier = 18; - } -} - -// Projected metrics for a specific target ROAS amount. -message TargetRoasSimulationPoint { - // The simulated target ROAS upon which projected metrics are based. - optional double target_roas = 8; - - // Projected required daily budget that the advertiser must set in order to - // receive the estimated traffic, in micros of advertiser currency. - int64 required_budget_amount_micros = 15; - - // Projected number of biddable conversions. - optional double biddable_conversions = 9; - - // Projected total value of biddable conversions. - optional double biddable_conversions_value = 10; - - // Projected number of clicks. - optional int64 clicks = 11; - - // Projected cost in micros. - optional int64 cost_micros = 12; - - // Projected number of impressions. - optional int64 impressions = 13; - - // Projected number of top slot impressions. - // Only Search advertising channel type supports this field. - optional int64 top_slot_impressions = 14; -} - -// Projected metrics for a specific percent CPC amount. Only Hotel advertising -// channel type supports this field. -message PercentCpcBidSimulationPoint { - // The simulated percent CPC upon which projected metrics are based. Percent - // CPC expressed as fraction of the advertised price for some good or service. - // The value stored here is 1,000,000 * [fraction]. - optional int64 percent_cpc_bid_micros = 1; - - // Projected number of biddable conversions. - optional double biddable_conversions = 2; - - // Projected total value of biddable conversions in local currency. - optional double biddable_conversions_value = 3; - - // Projected number of clicks. - optional int64 clicks = 4; - - // Projected cost in micros. - optional int64 cost_micros = 5; - - // Projected number of impressions. - optional int64 impressions = 6; - - // Projected number of top slot impressions. - optional int64 top_slot_impressions = 7; -} - -// Projected metrics for a specific budget amount. -message BudgetSimulationPoint { - // The simulated budget upon which projected metrics are based. - int64 budget_amount_micros = 1; - - // Projected required daily cpc bid ceiling that the advertiser must set to - // realize this simulation, in micros of the advertiser currency. - // Only campaigns with the Target Spend bidding strategy support this field. - int64 required_cpc_bid_ceiling_micros = 2; - - // Projected number of biddable conversions. - double biddable_conversions = 3; - - // Projected total value of biddable conversions. - double biddable_conversions_value = 4; - - // Projected number of clicks. - int64 clicks = 5; - - // Projected cost in micros. - int64 cost_micros = 6; - - // Projected number of impressions. - int64 impressions = 7; - - // Projected number of top slot impressions. - // Only search advertising channel type supports this field. - int64 top_slot_impressions = 8; -} - -// Projected metrics for a specific target impression share value. -message TargetImpressionShareSimulationPoint { - // The simulated target impression share value (in micros) upon which - // projected metrics are based. - // For example, 10% impression share, which is equal to 0.1, is stored as - // 100_000. This value is validated and will not exceed 1M (100%). - int64 target_impression_share_micros = 1; - - // Projected required daily cpc bid ceiling that the advertiser must set to - // realize this simulation, in micros of the advertiser currency. - int64 required_cpc_bid_ceiling_micros = 2; - - // Projected required daily budget that the advertiser must set in order to - // receive the estimated traffic, in micros of advertiser currency. - int64 required_budget_amount_micros = 3; - - // Projected number of biddable conversions. - double biddable_conversions = 4; - - // Projected total value of biddable conversions. - double biddable_conversions_value = 5; - - // Projected number of clicks. - int64 clicks = 6; - - // Projected cost in micros. - int64 cost_micros = 7; - - // Projected number of impressions. - int64 impressions = 8; - - // Projected number of top slot impressions. - // Only search advertising channel type supports this field. - int64 top_slot_impressions = 9; - - // Projected number of absolute top impressions. - // Only search advertising channel type supports this field. - int64 absolute_top_impressions = 10; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/common/tag_snippet.proto b/third_party/googleapis/google/ads/googleads/v12/common/tag_snippet.proto deleted file mode 100644 index 673786d1f..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/common/tag_snippet.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/enums/tracking_code_page_format.proto"; -import "google/ads/googleads/v12/enums/tracking_code_type.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "TagSnippetProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; - -// Proto file describing TagSnippet - -// The site tag and event snippet pair for a TrackingCodeType. -message TagSnippet { - // The type of the generated tag snippets for tracking conversions. - google.ads.googleads.v12.enums.TrackingCodeTypeEnum.TrackingCodeType type = 1; - - // The format of the web page where the tracking tag and snippet will be - // installed, for example, HTML. - google.ads.googleads.v12.enums.TrackingCodePageFormatEnum.TrackingCodePageFormat page_format = 2; - - // The site tag that adds visitors to your basic remarketing lists and sets - // new cookies on your domain. - optional string global_site_tag = 5; - - // The event snippet that works with the site tag to track actions that - // should be counted as conversions. - optional string event_snippet = 6; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/common/targeting_setting.proto b/third_party/googleapis/google/ads/googleads/v12/common/targeting_setting.proto deleted file mode 100644 index 35356b2fc..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/common/targeting_setting.proto +++ /dev/null @@ -1,84 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/enums/targeting_dimension.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "TargetingSettingProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; - -// Proto file describing TargetingSetting - -// Settings for the targeting-related features, at the campaign and ad group -// levels. For more details about the targeting setting, visit -// https://support.google.com/google-ads/answer/7365594 -message TargetingSetting { - // The per-targeting-dimension setting to restrict the reach of your campaign - // or ad group. - repeated TargetRestriction target_restrictions = 1; - - // The list of operations changing the target restrictions. - // - // Adding a target restriction with a targeting dimension that already exists - // causes the existing target restriction to be replaced with the new value. - repeated TargetRestrictionOperation target_restriction_operations = 2; -} - -// The list of per-targeting-dimension targeting settings. -message TargetRestriction { - // The targeting dimension that these settings apply to. - google.ads.googleads.v12.enums.TargetingDimensionEnum.TargetingDimension targeting_dimension = 1; - - // Indicates whether to restrict your ads to show only for the criteria you - // have selected for this targeting_dimension, or to target all values for - // this targeting_dimension and show ads based on your targeting in other - // TargetingDimensions. A value of `true` means that these criteria will only - // apply bid modifiers, and not affect targeting. A value of `false` means - // that these criteria will restrict targeting as well as applying bid - // modifiers. - optional bool bid_only = 3; -} - -// Operation to be performed on a target restriction list in a mutate. -message TargetRestrictionOperation { - // The operator. - enum Operator { - // Unspecified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Add the restriction to the existing restrictions. - ADD = 2; - - // Remove the restriction from the existing restrictions. - REMOVE = 3; - } - - // Type of list operation to perform. - Operator operator = 1; - - // The target restriction being added to or removed from the list. - TargetRestriction value = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/common/text_label.proto b/third_party/googleapis/google/ads/googleads/v12/common/text_label.proto deleted file mode 100644 index 13147a277..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/common/text_label.proto +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.common; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "TextLabelProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; - -// A type of label displaying text on a colored background. -message TextLabel { - // Background color of the label in RGB format. This string must match the - // regular expression '^\#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$'. - // Note: The background color may not be visible for manager accounts. - optional string background_color = 3; - - // A short description of the label. The length must be no more than 200 - // characters. - optional string description = 4; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/common/url_collection.proto b/third_party/googleapis/google/ads/googleads/v12/common/url_collection.proto deleted file mode 100644 index 23f794812..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/common/url_collection.proto +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.common; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "UrlCollectionProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; - -// Proto file UrlCollection type. - -// Collection of urls that is tagged with a unique identifier. -message UrlCollection { - // Unique identifier for this UrlCollection instance. - optional string url_collection_id = 5; - - // A list of possible final URLs. - repeated string final_urls = 6; - - // A list of possible final mobile URLs. - repeated string final_mobile_urls = 7; - - // URL template for constructing a tracking URL. - optional string tracking_url_template = 8; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/common/user_lists.proto b/third_party/googleapis/google/ads/googleads/v12/common/user_lists.proto deleted file mode 100644 index b72576dcb..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/common/user_lists.proto +++ /dev/null @@ -1,292 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/enums/customer_match_upload_key_type.proto"; -import "google/ads/googleads/v12/enums/user_list_combined_rule_operator.proto"; -import "google/ads/googleads/v12/enums/user_list_crm_data_source_type.proto"; -import "google/ads/googleads/v12/enums/user_list_date_rule_item_operator.proto"; -import "google/ads/googleads/v12/enums/user_list_flexible_rule_operator.proto"; -import "google/ads/googleads/v12/enums/user_list_logical_rule_operator.proto"; -import "google/ads/googleads/v12/enums/user_list_number_rule_item_operator.proto"; -import "google/ads/googleads/v12/enums/user_list_prepopulation_status.proto"; -import "google/ads/googleads/v12/enums/user_list_rule_type.proto"; -import "google/ads/googleads/v12/enums/user_list_string_rule_item_operator.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "UserListsProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; - -// Proto file describing user list types. - -// SimilarUserList is a list of users which are similar to users from another -// UserList. These lists are read-only and automatically created by Google. -message SimilarUserListInfo { - // Seed UserList from which this list is derived. - optional string seed_user_list = 2; -} - -// UserList of CRM users provided by the advertiser. -message CrmBasedUserListInfo { - // A string that uniquely identifies a mobile application from which the data - // was collected. - // For iOS, the ID string is the 9 digit string that appears at the end of an - // App Store URL (for example, "476943146" for "Flood-It! 2" whose App Store - // link is http://itunes.apple.com/us/app/flood-it!-2/id476943146). For - // Android, the ID string is the application's package name (for example, - // "com.labpixies.colordrips" for "Color Drips" given Google Play link - // https://play.google.com/store/apps/details?id=com.labpixies.colordrips). - // Required when creating CrmBasedUserList for uploading mobile advertising - // IDs. - optional string app_id = 4; - - // Matching key type of the list. - // Mixed data types are not allowed on the same list. - // This field is required for an ADD operation. - google.ads.googleads.v12.enums.CustomerMatchUploadKeyTypeEnum.CustomerMatchUploadKeyType upload_key_type = 2; - - // Data source of the list. Default value is FIRST_PARTY. - // Only customers on the allow-list can create third-party sourced CRM lists. - google.ads.googleads.v12.enums.UserListCrmDataSourceTypeEnum.UserListCrmDataSourceType data_source_type = 3; -} - -// A client defined rule based on custom parameters sent by web sites or -// uploaded by the advertiser. -message UserListRuleInfo { - // Rule type is used to determine how to group rule items. - // - // The default is OR of ANDs (disjunctive normal form). - // That is, rule items will be ANDed together within rule item groups and the - // groups themselves will be ORed together. - // - // Currently AND of ORs (conjunctive normal form) is only supported for - // ExpressionRuleUserList. - google.ads.googleads.v12.enums.UserListRuleTypeEnum.UserListRuleType rule_type = 1; - - // List of rule item groups that defines this rule. - // Rule item groups are grouped together based on rule_type. - repeated UserListRuleItemGroupInfo rule_item_groups = 2; -} - -// A group of rule items. -message UserListRuleItemGroupInfo { - // Rule items that will be grouped together based on rule_type. - repeated UserListRuleItemInfo rule_items = 1; -} - -// An atomic rule item. -message UserListRuleItemInfo { - // Rule variable name. It should match the corresponding key name fired - // by the pixel. - // A name must begin with US-ascii letters or underscore or UTF8 code that is - // greater than 127 and consist of US-ascii letters or digits or underscore or - // UTF8 code that is greater than 127. - // For websites, there are two built-in variable URL (name = 'url__') and - // referrer URL (name = 'ref_url__'). - // This field must be populated when creating a new rule item. - optional string name = 5; - - // An atomic rule item. - oneof rule_item { - // An atomic rule item composed of a number operation. - UserListNumberRuleItemInfo number_rule_item = 2; - - // An atomic rule item composed of a string operation. - UserListStringRuleItemInfo string_rule_item = 3; - - // An atomic rule item composed of a date operation. - UserListDateRuleItemInfo date_rule_item = 4; - } -} - -// A rule item composed of a date operation. -message UserListDateRuleItemInfo { - // Date comparison operator. - // This field is required and must be populated when creating new date - // rule item. - google.ads.googleads.v12.enums.UserListDateRuleItemOperatorEnum.UserListDateRuleItemOperator operator = 1; - - // String representing date value to be compared with the rule variable. - // Supported date format is YYYY-MM-DD. - // Times are reported in the customer's time zone. - optional string value = 4; - - // The relative date value of the right hand side denoted by number of days - // offset from now. The value field will override this field when both are - // present. - optional int64 offset_in_days = 5; -} - -// A rule item composed of a number operation. -message UserListNumberRuleItemInfo { - // Number comparison operator. - // This field is required and must be populated when creating a new number - // rule item. - google.ads.googleads.v12.enums.UserListNumberRuleItemOperatorEnum.UserListNumberRuleItemOperator operator = 1; - - // Number value to be compared with the variable. - // This field is required and must be populated when creating a new number - // rule item. - optional double value = 3; -} - -// A rule item composed of a string operation. -message UserListStringRuleItemInfo { - // String comparison operator. - // This field is required and must be populated when creating a new string - // rule item. - google.ads.googleads.v12.enums.UserListStringRuleItemOperatorEnum.UserListStringRuleItemOperator operator = 1; - - // The right hand side of the string rule item. For URLs or referrer URLs, - // the value can not contain illegal URL chars such as newlines, quotes, - // tabs, or parentheses. This field is required and must be populated when - // creating a new string rule item. - optional string value = 3; -} - -// User lists defined by combining two rules, left operand and right operand. -// There are two operators: AND where left operand and right operand have to be -// true; AND_NOT where left operand is true but right operand is false. -message CombinedRuleUserListInfo { - // Left operand of the combined rule. - // This field is required and must be populated when creating new combined - // rule based user list. - UserListRuleInfo left_operand = 1; - - // Right operand of the combined rule. - // This field is required and must be populated when creating new combined - // rule based user list. - UserListRuleInfo right_operand = 2; - - // Operator to connect the two operands. - // - // Required for creating a combined rule user list. - google.ads.googleads.v12.enums.UserListCombinedRuleOperatorEnum.UserListCombinedRuleOperator rule_operator = 3; -} - -// Visitors of a page. The page visit is defined by one boolean rule expression. -message ExpressionRuleUserListInfo { - // Boolean rule that defines this user list. The rule consists of a list of - // rule item groups and each rule item group consists of a list of rule items. - // All the rule item groups are ORed or ANDed together for evaluation based on - // rule.rule_type. - // - // Required for creating an expression rule user list. - UserListRuleInfo rule = 1; -} - -// Flexible rule that wraps the common rule and a lookback window. -message FlexibleRuleOperandInfo { - // List of rule item groups that defines this rule. - // Rule item groups are grouped together. - UserListRuleInfo rule = 1; - - // Lookback window for this rule in days. From now until X days ago. - optional int64 lookback_window_days = 2; -} - -// Flexible rule representation of visitors with one or multiple actions. -message FlexibleRuleUserListInfo { - // Operator that defines how the inclusive operands are combined. - google.ads.googleads.v12.enums.UserListFlexibleRuleOperatorEnum.UserListFlexibleRuleOperator inclusive_rule_operator = 1; - - // Actions that are located on the inclusive side. - // These are joined together by either AND/OR as specified by the - // inclusive_rule_operator. - repeated FlexibleRuleOperandInfo inclusive_operands = 2; - - // Actions that are located on the exclusive side. - // These are joined together with OR. - repeated FlexibleRuleOperandInfo exclusive_operands = 3; -} - -// Representation of a userlist that is generated by a rule. -message RuleBasedUserListInfo { - // The status of pre-population. The field is default to NONE if not set which - // means the previous users will not be considered. If set to REQUESTED, past - // site visitors or app users who match the list definition will be included - // in the list (works on the Display Network only). This will only - // add past users from within the last 30 days, depending on the - // list's membership duration and the date when the remarketing tag is added. - // The status will be updated to FINISHED once request is processed, or FAILED - // if the request fails. - google.ads.googleads.v12.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus prepopulation_status = 1; - - // Flexible rule representation of visitors with one or multiple actions. - FlexibleRuleUserListInfo flexible_rule_user_list = 5; - - // Subtypes of rule based user lists. - oneof rule_based_user_list { - // User lists defined by combining two rules. - // There are two operators: AND, where the left and right operands have to - // be true; AND_NOT where left operand is true but right operand is false. - CombinedRuleUserListInfo combined_rule_user_list = 2; - - // Visitors of a page. The page visit is defined by one boolean rule - // expression. - ExpressionRuleUserListInfo expression_rule_user_list = 4; - } -} - -// Represents a user list that is a custom combination of user lists. -message LogicalUserListInfo { - // Logical list rules that define this user list. The rules are defined as a - // logical operator (ALL/ANY/NONE) and a list of user lists. All the rules are - // ANDed when they are evaluated. - // - // Required for creating a logical user list. - repeated UserListLogicalRuleInfo rules = 1; -} - -// A user list logical rule. A rule has a logical operator (and/or/not) and a -// list of user lists as operands. -message UserListLogicalRuleInfo { - // The logical operator of the rule. - google.ads.googleads.v12.enums.UserListLogicalRuleOperatorEnum.UserListLogicalRuleOperator operator = 1; - - // The list of operands of the rule. - repeated LogicalUserListOperandInfo rule_operands = 2; -} - -// Operand of logical user list that consists of a user list. -message LogicalUserListOperandInfo { - // Resource name of a user list as an operand. - optional string user_list = 2; -} - -// User list targeting as a collection of conversions or remarketing actions. -message BasicUserListInfo { - // Actions associated with this user list. - repeated UserListActionInfo actions = 1; -} - -// Represents an action type used for building remarketing user lists. -message UserListActionInfo { - // Subtypes of user list action. - oneof user_list_action { - // A conversion action that's not generated from remarketing. - string conversion_action = 3; - - // A remarketing action. - string remarketing_action = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v12/common/value.proto b/third_party/googleapis/google/ads/googleads/v12/common/value.proto deleted file mode 100644 index 42533a774..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/common/value.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.common; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "ValueProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; - -// Proto file describing value types. - -// A generic data container. -message Value { - // A value. - oneof value { - // A boolean. - bool boolean_value = 1; - - // An int64. - int64 int64_value = 2; - - // A float. - float float_value = 3; - - // A double. - double double_value = 4; - - // A string. - string string_value = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/BUILD.bazel b/third_party/googleapis/google/ads/googleads/v12/enums/BUILD.bazel deleted file mode 100644 index 01a51ee0b..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/BUILD.bazel +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 2020 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -package(default_visibility = ["//visibility:public"]) - -############################################################################## -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") - -# TODO(ohren): Change srcs to use an enumeration of each individual proto -# instead of *.proto globbing once the build file generator supports subpackages. -proto_library( - name = "enums_proto", - srcs = glob(["*.proto"]), - deps = [ - "//google/api:annotations_proto", - ], -) - -############################################################################## -# Java -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "java_proto_library", -) - -java_proto_library( - name = "enums_java_proto", - deps = [":enums_proto"], -) - -############################################################################## -# PHP -############################################################################## - -# PHP targets are in the parent directory's BUILD.bazel file to facilitate -# aggregating metadata using a single underlying call to protoc. - -############################################################################## -# C# -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "csharp_proto_library", -) - -csharp_proto_library( - name = "enums_csharp_proto", - deps = [":enums_proto"], -) - -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "ruby_proto_library", -) - -ruby_proto_library( - name = "enums_ruby_proto", - deps = [":enums_proto"], -) - -############################################################################## -# Python -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "py_proto_library", -) - -py_proto_library( - name = "enums_py_proto", - deps = [":enums_proto"], -) diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/access_invitation_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/access_invitation_status.proto deleted file mode 100644 index fd0e97606..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/access_invitation_status.proto +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AccessInvitationStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing AccessInvitationStatus enum. - -// Container for enum for identifying the status of access invitation -message AccessInvitationStatusEnum { - // Possible access invitation status of a user - enum AccessInvitationStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The initial state of an invitation, before being acted upon by anyone. - PENDING = 2; - - // Invitation process was terminated by the email recipient. No new user was - // created. - DECLINED = 3; - - // Invitation URLs expired without being acted upon. No new user can be - // created. Invitations expire 20 days after creation. - EXPIRED = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/access_reason.proto b/third_party/googleapis/google/ads/googleads/v12/enums/access_reason.proto deleted file mode 100644 index e16e75ed5..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/access_reason.proto +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AccessReasonProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Indicates the way the resource such as user list is related to a user. -message AccessReasonEnum { - // Enum describing possible access reasons. - enum AccessReason { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The resource is owned by the user. - OWNED = 2; - - // The resource is shared to the user. - SHARED = 3; - - // The resource is licensed to the user. - LICENSED = 4; - - // The user subscribed to the resource. - SUBSCRIBED = 5; - - // The resource is accessible to the user. - AFFILIATED = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/access_role.proto b/third_party/googleapis/google/ads/googleads/v12/enums/access_role.proto deleted file mode 100644 index 264051725..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/access_role.proto +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AccessRoleProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Container for enum describing possible access role for user. -message AccessRoleEnum { - // Possible access role of a user. - enum AccessRole { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Owns its account and can control the addition of other users. - ADMIN = 2; - - // Can modify campaigns, but can't affect other users. - STANDARD = 3; - - // Can view campaigns and account changes, but cannot make edits. - READ_ONLY = 4; - - // Role for \"email only\" access. Represents an email recipient rather than - // a true User entity. - EMAIL_ONLY = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/account_budget_proposal_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/account_budget_proposal_status.proto deleted file mode 100644 index b3dcef09a..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/account_budget_proposal_status.proto +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AccountBudgetProposalStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing AccountBudgetProposal statuses. - -// Message describing AccountBudgetProposal statuses. -message AccountBudgetProposalStatusEnum { - // The possible statuses of an AccountBudgetProposal. - enum AccountBudgetProposalStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The proposal is pending approval. - PENDING = 2; - - // The proposal has been approved but the corresponding billing setup - // has not. This can occur for proposals that set up the first budget - // when signing up for billing or when performing a change of bill-to - // operation. - APPROVED_HELD = 3; - - // The proposal has been approved. - APPROVED = 4; - - // The proposal has been cancelled by the user. - CANCELLED = 5; - - // The proposal has been rejected by the user, for example, by rejecting an - // acceptance email. - REJECTED = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/account_budget_proposal_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/account_budget_proposal_type.proto deleted file mode 100644 index 7a77b2269..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/account_budget_proposal_type.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AccountBudgetProposalTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing AccountBudgetProposal types. - -// Message describing AccountBudgetProposal types. -message AccountBudgetProposalTypeEnum { - // The possible types of an AccountBudgetProposal. - enum AccountBudgetProposalType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Identifies a request to create a new budget. - CREATE = 2; - - // Identifies a request to edit an existing budget. - UPDATE = 3; - - // Identifies a request to end a budget that has already started. - END = 4; - - // Identifies a request to remove a budget that hasn't started yet. - REMOVE = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/account_budget_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/account_budget_status.proto deleted file mode 100644 index e8b0875d8..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/account_budget_status.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AccountBudgetStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing AccountBudget statuses. - -// Message describing AccountBudget statuses. -message AccountBudgetStatusEnum { - // The possible statuses of an AccountBudget. - enum AccountBudgetStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The account budget is pending approval. - PENDING = 2; - - // The account budget has been approved. - APPROVED = 3; - - // The account budget has been cancelled by the user. - CANCELLED = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/account_link_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/account_link_status.proto deleted file mode 100644 index c81e1f5e2..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/account_link_status.proto +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AccountLinkStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Container for enum describing possible statuses of an account link. -message AccountLinkStatusEnum { - // Describes the possible statuses for a link between a Google Ads customer - // and another account. - enum AccountLinkStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The link is enabled. - ENABLED = 2; - - // The link is removed/disabled. - REMOVED = 3; - - // The link to the other account has been requested. A user on the other - // account may now approve the link by setting the status to ENABLED. - REQUESTED = 4; - - // This link has been requested by a user on the other account. It may be - // approved by a user on this account by setting the status to ENABLED. - PENDING_APPROVAL = 5; - - // The link is rejected by the approver. - REJECTED = 6; - - // The link is revoked by the user who requested the link. - REVOKED = 7; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/ad_customizer_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v12/enums/ad_customizer_placeholder_field.proto deleted file mode 100644 index ee6f0417b..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/ad_customizer_placeholder_field.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdCustomizerPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing Ad Customizer placeholder fields. - -// Values for Ad Customizer placeholder fields. -message AdCustomizerPlaceholderFieldEnum { - // Possible values for Ad Customizers placeholder fields. - enum AdCustomizerPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: INT64. Integer value to be inserted. - INTEGER = 2; - - // Data Type: STRING. Price value to be inserted. - PRICE = 3; - - // Data Type: DATE_TIME. Date value to be inserted. - DATE = 4; - - // Data Type: STRING. String value to be inserted. - STRING = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/ad_destination_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/ad_destination_type.proto deleted file mode 100644 index 47f5de4a3..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/ad_destination_type.proto +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdDestinationTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing ad destination types. - -// Container for enumeration of Google Ads destination types. -message AdDestinationTypeEnum { - // Enumerates Google Ads destination types - enum AdDestinationType { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Ads that don't intend to drive users off from ads to other destinations - NOT_APPLICABLE = 2; - - // Website - WEBSITE = 3; - - // App Deep Link - APP_DEEP_LINK = 4; - - // iOS App Store or Play Store - APP_STORE = 5; - - // Call Dialer - PHONE_CALL = 6; - - // Map App - MAP_DIRECTIONS = 7; - - // Location Dedicated Page - LOCATION_LISTING = 8; - - // Text Message - MESSAGE = 9; - - // Lead Generation Form - LEAD_FORM = 10; - - // YouTube - YOUTUBE = 11; - - // Ad Destination for Conversions with keys unknown - UNMODELED_FOR_CONVERSIONS = 12; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/ad_group_ad_rotation_mode.proto b/third_party/googleapis/google/ads/googleads/v12/enums/ad_group_ad_rotation_mode.proto deleted file mode 100644 index 4a54755eb..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/ad_group_ad_rotation_mode.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAdRotationModeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing ad group ad rotation mode. - -// Container for enum describing possible ad rotation modes of ads within an -// ad group. -message AdGroupAdRotationModeEnum { - // The possible ad rotation modes of an ad group. - enum AdGroupAdRotationMode { - // The ad rotation mode has not been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // Optimize ad group ads based on clicks or conversions. - OPTIMIZE = 2; - - // Rotate evenly forever. - ROTATE_FOREVER = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/ad_group_ad_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/ad_group_ad_status.proto deleted file mode 100644 index c882676af..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/ad_group_ad_status.proto +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAdStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing ad group status. - -// Container for enum describing possible statuses of an AdGroupAd. -message AdGroupAdStatusEnum { - // The possible statuses of an AdGroupAd. - enum AdGroupAdStatus { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // The ad group ad is enabled. - ENABLED = 2; - - // The ad group ad is paused. - PAUSED = 3; - - // The ad group ad is removed. - REMOVED = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/ad_group_criterion_approval_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/ad_group_criterion_approval_status.proto deleted file mode 100644 index d1272d4ee..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/ad_group_criterion_approval_status.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionApprovalStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing approval status for the criterion. - -// Container for enum describing possible AdGroupCriterion approval statuses. -message AdGroupCriterionApprovalStatusEnum { - // Enumerates AdGroupCriterion approval statuses. - enum AdGroupCriterionApprovalStatus { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Approved. - APPROVED = 2; - - // Disapproved. - DISAPPROVED = 3; - - // Pending Review. - PENDING_REVIEW = 4; - - // Under review. - UNDER_REVIEW = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/ad_group_criterion_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/ad_group_criterion_status.proto deleted file mode 100644 index 4b1d0500a..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/ad_group_criterion_status.proto +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing AdGroupCriterion statuses. - -// Message describing AdGroupCriterion statuses. -message AdGroupCriterionStatusEnum { - // The possible statuses of an AdGroupCriterion. - enum AdGroupCriterionStatus { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // The ad group criterion is enabled. - ENABLED = 2; - - // The ad group criterion is paused. - PAUSED = 3; - - // The ad group criterion is removed. - REMOVED = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/ad_group_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/ad_group_status.proto deleted file mode 100644 index f8ae521c2..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/ad_group_status.proto +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing ad group status. - -// Container for enum describing possible statuses of an ad group. -message AdGroupStatusEnum { - // The possible statuses of an ad group. - enum AdGroupStatus { - // The status has not been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // The ad group is enabled. - ENABLED = 2; - - // The ad group is paused. - PAUSED = 3; - - // The ad group is removed. - REMOVED = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/ad_group_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/ad_group_type.proto deleted file mode 100644 index 2d8c9c69e..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/ad_group_type.proto +++ /dev/null @@ -1,94 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing ad group types. - -// Defines types of an ad group, specific to a particular campaign channel -// type. This type drives validations that restrict which entities can be -// added to the ad group. -message AdGroupTypeEnum { - // Enum listing the possible types of an ad group. - enum AdGroupType { - // The type has not been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // The default ad group type for Search campaigns. - SEARCH_STANDARD = 2; - - // The default ad group type for Display campaigns. - DISPLAY_STANDARD = 3; - - // The ad group type for Shopping campaigns serving standard product ads. - SHOPPING_PRODUCT_ADS = 4; - - // The default ad group type for Hotel campaigns. - HOTEL_ADS = 6; - - // The type for ad groups in Smart Shopping campaigns. - SHOPPING_SMART_ADS = 7; - - // Short unskippable in-stream video ads. - VIDEO_BUMPER = 8; - - // TrueView (skippable) in-stream video ads. - VIDEO_TRUE_VIEW_IN_STREAM = 9; - - // TrueView in-display video ads. - VIDEO_TRUE_VIEW_IN_DISPLAY = 10; - - // Unskippable in-stream video ads. - VIDEO_NON_SKIPPABLE_IN_STREAM = 11; - - // Outstream video ads. - VIDEO_OUTSTREAM = 12; - - // Ad group type for Dynamic Search Ads ad groups. - SEARCH_DYNAMIC_ADS = 13; - - // The type for ad groups in Shopping Comparison Listing campaigns. - SHOPPING_COMPARISON_LISTING_ADS = 14; - - // The ad group type for Promoted Hotel ad groups. - PROMOTED_HOTEL_ADS = 15; - - // Video responsive ad groups. - VIDEO_RESPONSIVE = 16; - - // Video efficient reach ad groups. - VIDEO_EFFICIENT_REACH = 17; - - // Ad group type for Smart campaigns. - SMART_CAMPAIGN_ADS = 18; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/ad_network_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/ad_network_type.proto deleted file mode 100644 index 65a9eacd8..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/ad_network_type.proto +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdNetworkTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing ad network types. - -// Container for enumeration of Google Ads network types. -message AdNetworkTypeEnum { - // Enumerates Google Ads network types. - enum AdNetworkType { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Google search. - SEARCH = 2; - - // Search partners. - SEARCH_PARTNERS = 3; - - // Display Network. - CONTENT = 4; - - // YouTube Search. - YOUTUBE_SEARCH = 5; - - // YouTube Videos - YOUTUBE_WATCH = 6; - - // Cross-network. - MIXED = 7; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/ad_serving_optimization_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/ad_serving_optimization_status.proto deleted file mode 100644 index 976e86df7..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/ad_serving_optimization_status.proto +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdServingOptimizationStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing ad serving statuses. - -// Possible ad serving statuses of a campaign. -message AdServingOptimizationStatusEnum { - // Enum describing possible serving statuses. - enum AdServingOptimizationStatus { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // Ad serving is optimized based on CTR for the campaign. - OPTIMIZE = 2; - - // Ad serving is optimized based on CTR * Conversion for the campaign. If - // the campaign is not in the conversion optimizer bidding strategy, it will - // default to OPTIMIZED. - CONVERSION_OPTIMIZE = 3; - - // Ads are rotated evenly for 90 days, then optimized for clicks. - ROTATE = 4; - - // Show lower performing ads more evenly with higher performing ads, and do - // not optimize. - ROTATE_INDEFINITELY = 5; - - // Ad serving optimization status is not available. - UNAVAILABLE = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/ad_strength.proto b/third_party/googleapis/google/ads/googleads/v12/enums/ad_strength.proto deleted file mode 100644 index 846957e47..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/ad_strength.proto +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdStrengthProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing ad strengths. - -// Container for enum describing possible ad strengths. -message AdStrengthEnum { - // Enum listing the possible ad strengths. - enum AdStrength { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The ad strength is currently pending. - PENDING = 2; - - // No ads could be generated. - NO_ADS = 3; - - // Poor strength. - POOR = 4; - - // Average strength. - AVERAGE = 5; - - // Good strength. - GOOD = 6; - - // Excellent strength. - EXCELLENT = 7; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/ad_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/ad_type.proto deleted file mode 100644 index b11c5b8d8..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/ad_type.proto +++ /dev/null @@ -1,132 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing the ad type. - -// Container for enum describing possible types of an ad. -message AdTypeEnum { - // The possible types of an ad. - enum AdType { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // The ad is a text ad. - TEXT_AD = 2; - - // The ad is an expanded text ad. - EXPANDED_TEXT_AD = 3; - - // The ad is an expanded dynamic search ad. - EXPANDED_DYNAMIC_SEARCH_AD = 7; - - // The ad is a hotel ad. - HOTEL_AD = 8; - - // The ad is a Smart Shopping ad. - SHOPPING_SMART_AD = 9; - - // The ad is a standard Shopping ad. - SHOPPING_PRODUCT_AD = 10; - - // The ad is a video ad. - VIDEO_AD = 12; - - // This ad is an Image ad. - IMAGE_AD = 14; - - // The ad is a responsive search ad. - RESPONSIVE_SEARCH_AD = 15; - - // The ad is a legacy responsive display ad. - LEGACY_RESPONSIVE_DISPLAY_AD = 16; - - // The ad is an app ad. - APP_AD = 17; - - // The ad is a legacy app install ad. - LEGACY_APP_INSTALL_AD = 18; - - // The ad is a responsive display ad. - RESPONSIVE_DISPLAY_AD = 19; - - // The ad is a local ad. - LOCAL_AD = 20; - - // The ad is a display upload ad with the HTML5_UPLOAD_AD product type. - HTML5_UPLOAD_AD = 21; - - // The ad is a display upload ad with one of the DYNAMIC_HTML5_* product - // types. - DYNAMIC_HTML5_AD = 22; - - // The ad is an app engagement ad. - APP_ENGAGEMENT_AD = 23; - - // The ad is a Shopping Comparison Listing ad. - SHOPPING_COMPARISON_LISTING_AD = 24; - - // Video bumper ad. - VIDEO_BUMPER_AD = 25; - - // Video non-skippable in-stream ad. - VIDEO_NON_SKIPPABLE_IN_STREAM_AD = 26; - - // Video outstream ad. - VIDEO_OUTSTREAM_AD = 27; - - // Video TrueView in-stream ad. - VIDEO_TRUEVIEW_IN_STREAM_AD = 29; - - // Video responsive ad. - VIDEO_RESPONSIVE_AD = 30; - - // Smart campaign ad. - SMART_CAMPAIGN_AD = 31; - - // Call ad. - CALL_AD = 32; - - // Universal app pre-registration ad. - APP_PRE_REGISTRATION_AD = 33; - - // In-feed video ad. - IN_FEED_VIDEO_AD = 34; - - // Discovery multi asset ad. - DISCOVERY_MULTI_ASSET_AD = 35; - - // Discovery carousel ad. - DISCOVERY_CAROUSEL_AD = 36; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/advertising_channel_sub_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/advertising_channel_sub_type.proto deleted file mode 100644 index 5cf4c3093..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/advertising_channel_sub_type.proto +++ /dev/null @@ -1,101 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdvertisingChannelSubTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing advertising channel subtypes. - -// An immutable specialization of an Advertising Channel. -message AdvertisingChannelSubTypeEnum { - // Enum describing the different channel subtypes. - enum AdvertisingChannelSubType { - // Not specified. - UNSPECIFIED = 0; - - // Used as a return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Mobile app campaigns for Search. - SEARCH_MOBILE_APP = 2; - - // Mobile app campaigns for Display. - DISPLAY_MOBILE_APP = 3; - - // AdWords express campaigns for search. - SEARCH_EXPRESS = 4; - - // AdWords Express campaigns for display. - DISPLAY_EXPRESS = 5; - - // Smart Shopping campaigns. - SHOPPING_SMART_ADS = 6; - - // Gmail Ad campaigns. - DISPLAY_GMAIL_AD = 7; - - // Smart display campaigns. New campaigns of this sub type cannot be - // created. - DISPLAY_SMART_CAMPAIGN = 8; - - // Video Outstream campaigns. - VIDEO_OUTSTREAM = 9; - - // Video TrueView for Action campaigns. - VIDEO_ACTION = 10; - - // Video campaigns with non-skippable video ads. - VIDEO_NON_SKIPPABLE = 11; - - // App Campaign that lets you easily promote your Android or iOS app - // across Google's top properties including Search, Play, YouTube, and the - // Google Display Network. - APP_CAMPAIGN = 12; - - // App Campaign for engagement, focused on driving re-engagement with the - // app across several of Google's top properties including Search, YouTube, - // and the Google Display Network. - APP_CAMPAIGN_FOR_ENGAGEMENT = 13; - - // Campaigns specialized for local advertising. - LOCAL_CAMPAIGN = 14; - - // Shopping Comparison Listing campaigns. - SHOPPING_COMPARISON_LISTING_ADS = 15; - - // Standard Smart campaigns. - SMART_CAMPAIGN = 16; - - // Video campaigns with sequence video ads. - VIDEO_SEQUENCE = 17; - - // App Campaign for pre registration, specialized for advertising mobile - // app pre-registration, that targets multiple advertising channels across - // Google Play, YouTube and Display Network. See - // https://support.google.com/google-ads/answer/9441344 to learn more. - APP_CAMPAIGN_FOR_PRE_REGISTRATION = 18; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/advertising_channel_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/advertising_channel_type.proto deleted file mode 100644 index 5cc0c90d3..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/advertising_channel_type.proto +++ /dev/null @@ -1,77 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdvertisingChannelTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing advertising channel types - -// The channel type a campaign may target to serve on. -message AdvertisingChannelTypeEnum { - // Enum describing the various advertising channel types. - enum AdvertisingChannelType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Search Network. Includes display bundled, and Search+ campaigns. - SEARCH = 2; - - // Google Display Network only. - DISPLAY = 3; - - // Shopping campaigns serve on the shopping property - // and on google.com search results. - SHOPPING = 4; - - // Hotel Ads campaigns. - HOTEL = 5; - - // Video campaigns. - VIDEO = 6; - - // App Campaigns, and App Campaigns for Engagement, that run - // across multiple channels. - MULTI_CHANNEL = 7; - - // Local ads campaigns. - LOCAL = 8; - - // Smart campaigns. - SMART = 9; - - // Performance Max campaigns. - PERFORMANCE_MAX = 10; - - // Local services campaigns. - LOCAL_SERVICES = 11; - - // Discovery campaigns. - DISCOVERY = 12; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/affiliate_location_feed_relationship_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/affiliate_location_feed_relationship_type.proto deleted file mode 100644 index 1c65697fb..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/affiliate_location_feed_relationship_type.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AffiliateLocationFeedRelationshipTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing relation type for affiliate location feeds. - -// Container for enum describing possible values for a relationship type for -// an affiliate location feed. -message AffiliateLocationFeedRelationshipTypeEnum { - // Possible values for a relationship type for an affiliate location feed. - enum AffiliateLocationFeedRelationshipType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // General retailer relationship. - GENERAL_RETAILER = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/affiliate_location_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v12/enums/affiliate_location_placeholder_field.proto deleted file mode 100644 index 9956a0354..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/affiliate_location_placeholder_field.proto +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AffiliateLocationPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing Affiliate Location placeholder fields. - -// Values for Affiliate Location placeholder fields. -message AffiliateLocationPlaceholderFieldEnum { - // Possible values for Affiliate Location placeholder fields. - enum AffiliateLocationPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. The name of the business. - BUSINESS_NAME = 2; - - // Data Type: STRING. Line 1 of the business address. - ADDRESS_LINE_1 = 3; - - // Data Type: STRING. Line 2 of the business address. - ADDRESS_LINE_2 = 4; - - // Data Type: STRING. City of the business address. - CITY = 5; - - // Data Type: STRING. Province of the business address. - PROVINCE = 6; - - // Data Type: STRING. Postal code of the business address. - POSTAL_CODE = 7; - - // Data Type: STRING. Country code of the business address. - COUNTRY_CODE = 8; - - // Data Type: STRING. Phone number of the business. - PHONE_NUMBER = 9; - - // Data Type: STRING. Language code of the business. - LANGUAGE_CODE = 10; - - // Data Type: INT64. ID of the chain. - CHAIN_ID = 11; - - // Data Type: STRING. Name of the chain. - CHAIN_NAME = 12; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/age_range_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/age_range_type.proto deleted file mode 100644 index 378c03488..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/age_range_type.proto +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AgeRangeTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing age range types. - -// Container for enum describing the type of demographic age ranges. -message AgeRangeTypeEnum { - // The type of demographic age ranges (for example, between 18 and 24 years - // old). - enum AgeRangeType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Between 18 and 24 years old. - AGE_RANGE_18_24 = 503001; - - // Between 25 and 34 years old. - AGE_RANGE_25_34 = 503002; - - // Between 35 and 44 years old. - AGE_RANGE_35_44 = 503003; - - // Between 45 and 54 years old. - AGE_RANGE_45_54 = 503004; - - // Between 55 and 64 years old. - AGE_RANGE_55_64 = 503005; - - // 65 years old and beyond. - AGE_RANGE_65_UP = 503006; - - // Undetermined age range. - AGE_RANGE_UNDETERMINED = 503999; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/app_campaign_app_store.proto b/third_party/googleapis/google/ads/googleads/v12/enums/app_campaign_app_store.proto deleted file mode 100644 index 742b5851c..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/app_campaign_app_store.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AppCampaignAppStoreProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing App Campaign app store. - -// The application store that distributes mobile applications. -message AppCampaignAppStoreEnum { - // Enum describing app campaign app store. - enum AppCampaignAppStore { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Apple app store. - APPLE_APP_STORE = 2; - - // Google play. - GOOGLE_APP_STORE = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/app_campaign_bidding_strategy_goal_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/app_campaign_bidding_strategy_goal_type.proto deleted file mode 100644 index a17935226..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/app_campaign_bidding_strategy_goal_type.proto +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AppCampaignBiddingStrategyGoalTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing App Campaign bidding strategy goal types. - -// Container for enum describing goal towards which the bidding strategy of an -// app campaign should optimize for. -message AppCampaignBiddingStrategyGoalTypeEnum { - // Goal type of App campaign BiddingStrategy. - enum AppCampaignBiddingStrategyGoalType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Aim to maximize the number of app installs. The cpa bid is the - // target cost per install. - OPTIMIZE_INSTALLS_TARGET_INSTALL_COST = 2; - - // Aim to maximize the long term number of selected in-app conversions from - // app installs. The cpa bid is the target cost per install. - OPTIMIZE_IN_APP_CONVERSIONS_TARGET_INSTALL_COST = 3; - - // Aim to maximize the long term number of selected in-app conversions from - // app installs. The cpa bid is the target cost per in-app conversion. Note - // that the actual cpa may seem higher than the target cpa at first, since - // the long term conversions haven't happened yet. - OPTIMIZE_IN_APP_CONVERSIONS_TARGET_CONVERSION_COST = 4; - - // Aim to maximize all conversions' value, for example, install + selected - // in-app conversions while achieving or exceeding target return on - // advertising spend. - OPTIMIZE_RETURN_ON_ADVERTISING_SPEND = 5; - - // Aim to maximize the pre-registration of the app. - OPTIMIZE_PRE_REGISTRATION_CONVERSION_VOLUME = 6; - - // Aim to maximize installation of the app without target cost-per-install. - OPTIMIZE_INSTALLS_WITHOUT_TARGET_INSTALL_COST = 7; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/app_payment_model_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/app_payment_model_type.proto deleted file mode 100644 index e7b0416a3..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/app_payment_model_type.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AppPaymentModelTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing criteria types. - -// Represents a criterion for targeting paid apps. -message AppPaymentModelTypeEnum { - // Enum describing possible app payment models. - enum AppPaymentModelType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Represents paid-for apps. - PAID = 30; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/app_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v12/enums/app_placeholder_field.proto deleted file mode 100644 index b5be5ce59..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/app_placeholder_field.proto +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AppPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing App placeholder fields. - -// Values for App placeholder fields. -message AppPlaceholderFieldEnum { - // Possible values for App placeholder fields. - enum AppPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: INT64. The application store that the target application - // belongs to. Valid values are: 1 = Apple iTunes Store; 2 = Google Play - // Store. - STORE = 2; - - // Data Type: STRING. The store-specific ID for the target application. - ID = 3; - - // Data Type: STRING. The visible text displayed when the link is rendered - // in an ad. - LINK_TEXT = 4; - - // Data Type: STRING. The destination URL of the in-app link. - URL = 5; - - // Data Type: URL_LIST. Final URLs for the in-app link when using Upgraded - // URLs. - FINAL_URLS = 6; - - // Data Type: URL_LIST. Final Mobile URLs for the in-app link when using - // Upgraded URLs. - FINAL_MOBILE_URLS = 7; - - // Data Type: URL. Tracking template for the in-app link when using Upgraded - // URLs. - TRACKING_URL = 8; - - // Data Type: STRING. Final URL suffix for the in-app link when using - // parallel tracking. - FINAL_URL_SUFFIX = 9; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/app_store.proto b/third_party/googleapis/google/ads/googleads/v12/enums/app_store.proto deleted file mode 100644 index 236fb7818..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/app_store.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AppStoreProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing app store types for an app extension. - -// Container for enum describing app store type in an app extension. -message AppStoreEnum { - // App store type in an app extension. - enum AppStore { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Apple iTunes. - APPLE_ITUNES = 2; - - // Google Play. - GOOGLE_PLAY = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/app_url_operating_system_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/app_url_operating_system_type.proto deleted file mode 100644 index 326c2223a..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/app_url_operating_system_type.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AppUrlOperatingSystemTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing operating system for a deeplink app URL. - -// The possible OS types for a deeplink AppUrl. -message AppUrlOperatingSystemTypeEnum { - // Operating System - enum AppUrlOperatingSystemType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The Apple IOS operating system. - IOS = 2; - - // The Android operating system. - ANDROID = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/asset_field_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/asset_field_type.proto deleted file mode 100644 index 1da0c57ae..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/asset_field_type.proto +++ /dev/null @@ -1,118 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetFieldTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing asset type. - -// Container for enum describing the possible placements of an asset. -message AssetFieldTypeEnum { - // Enum describing the possible placements of an asset. - enum AssetFieldType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The asset is linked for use as a headline. - HEADLINE = 2; - - // The asset is linked for use as a description. - DESCRIPTION = 3; - - // The asset is linked for use as mandatory ad text. - MANDATORY_AD_TEXT = 4; - - // The asset is linked for use as a marketing image. - MARKETING_IMAGE = 5; - - // The asset is linked for use as a media bundle. - MEDIA_BUNDLE = 6; - - // The asset is linked for use as a YouTube video. - YOUTUBE_VIDEO = 7; - - // The asset is linked to indicate that a hotels campaign is "Book on - // Google" enabled. - BOOK_ON_GOOGLE = 8; - - // The asset is linked for use as a Lead Form extension. - LEAD_FORM = 9; - - // The asset is linked for use as a Promotion extension. - PROMOTION = 10; - - // The asset is linked for use as a Callout extension. - CALLOUT = 11; - - // The asset is linked for use as a Structured Snippet extension. - STRUCTURED_SNIPPET = 12; - - // The asset is linked for use as a Sitelink extension. - SITELINK = 13; - - // The asset is linked for use as a Mobile App extension. - MOBILE_APP = 14; - - // The asset is linked for use as a Hotel Callout extension. - HOTEL_CALLOUT = 15; - - // The asset is linked for use as a Call extension. - CALL = 16; - - // The asset is linked for use as a Price extension. - PRICE = 24; - - // The asset is linked for use as a long headline. - LONG_HEADLINE = 17; - - // The asset is linked for use as a business name. - BUSINESS_NAME = 18; - - // The asset is linked for use as a square marketing image. - SQUARE_MARKETING_IMAGE = 19; - - // The asset is linked for use as a portrait marketing image. - PORTRAIT_MARKETING_IMAGE = 20; - - // The asset is linked for use as a logo. - LOGO = 21; - - // The asset is linked for use as a landscape logo. - LANDSCAPE_LOGO = 22; - - // The asset is linked for use as a non YouTube logo. - VIDEO = 23; - - // The asset is linked for use to select a call-to-action. - CALL_TO_ACTION_SELECTION = 25; - - // The asset is linked for use to select an ad image. - AD_IMAGE = 26; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/asset_group_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/asset_group_status.proto deleted file mode 100644 index c3afa01ac..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/asset_group_status.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing asset group status. - -// Container for enum describing possible statuses of an asset group. -message AssetGroupStatusEnum { - // The possible statuses of an asset group. - enum AssetGroupStatus { - // The status has not been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - UNKNOWN = 1; - - // The asset group is enabled. - ENABLED = 2; - - // The asset group is paused. - PAUSED = 3; - - // The asset group is removed. - REMOVED = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/asset_link_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/asset_link_status.proto deleted file mode 100644 index 7b8a46a04..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/asset_link_status.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetLinkStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing status of an asset link. - -// Container for enum describing possible statuses of an asset link. -message AssetLinkStatusEnum { - // Enum describing statuses of an asset link. - enum AssetLinkStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Asset link is enabled. - ENABLED = 2; - - // Asset link has been removed. - REMOVED = 3; - - // Asset link is paused. - PAUSED = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/asset_performance_label.proto b/third_party/googleapis/google/ads/googleads/v12/enums/asset_performance_label.proto deleted file mode 100644 index d6022cb70..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/asset_performance_label.proto +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetPerformanceLabelProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing the performance label of an asset. - -// Container for enum describing the performance label of an asset. -message AssetPerformanceLabelEnum { - // Enum describing the possible performance labels of an asset, usually - // computed in the context of a linkage. - enum AssetPerformanceLabel { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // This asset does not yet have any performance informantion. This may be - // because it is still under review. - PENDING = 2; - - // The asset has started getting impressions but the stats are not - // statistically significant enough to get an asset performance label. - LEARNING = 3; - - // Worst performing assets. - LOW = 4; - - // Good performing assets. - GOOD = 5; - - // Best performing assets. - BEST = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/asset_set_asset_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/asset_set_asset_status.proto deleted file mode 100644 index b709aa5b5..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/asset_set_asset_status.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetAssetStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing asset set status. - -// Container for enum describing possible statuses of an asset set asset. -message AssetSetAssetStatusEnum { - // The possible statuses of an asset set asset. - enum AssetSetAssetStatus { - // The status has not been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // This is a response-only value. - UNKNOWN = 1; - - // The asset set asset is enabled. - ENABLED = 2; - - // The asset set asset is removed. - REMOVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/asset_set_link_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/asset_set_link_status.proto deleted file mode 100644 index a3c6333f2..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/asset_set_link_status.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetLinkStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing asset set status. - -// Container for enum describing possible statuses of the linkage between asset -// set and its container. -message AssetSetLinkStatusEnum { - // The possible statuses of the linkage between asset set and its container. - enum AssetSetLinkStatus { - // The status has not been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // This is a response-only value. - UNKNOWN = 1; - - // The linkage between asset set and its container is enabled. - ENABLED = 2; - - // The linkage between asset set and its container is removed. - REMOVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/asset_set_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/asset_set_status.proto deleted file mode 100644 index 0edd4bb36..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/asset_set_status.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing asset set status. - -// Container for enum describing possible statuses of an asset set. -message AssetSetStatusEnum { - // The possible statuses of an asset set. - enum AssetSetStatus { - // The status has not been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // This is a response-only value. - UNKNOWN = 1; - - // The asset set is enabled. - ENABLED = 2; - - // The asset set is removed. - REMOVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/asset_set_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/asset_set_type.proto deleted file mode 100644 index 93f0f697c..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/asset_set_type.proto +++ /dev/null @@ -1,86 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing asset set type. - -// Container for enum describing possible types of an asset set. -message AssetSetTypeEnum { - // Possible types of an asset set. - enum AssetSetType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Page asset set. - PAGE_FEED = 2; - - // Dynamic education asset set. - DYNAMIC_EDUCATION = 3; - - // Google Merchant Center asset set. - MERCHANT_CENTER_FEED = 4; - - // Dynamic real estate asset set. - DYNAMIC_REAL_ESTATE = 5; - - // Dynamic custom asset set. - DYNAMIC_CUSTOM = 6; - - // Dynamic hotels and rentals asset set. - DYNAMIC_HOTELS_AND_RENTALS = 7; - - // Dynamic flights asset set. - DYNAMIC_FLIGHTS = 8; - - // Dynamic travel asset set. - DYNAMIC_TRAVEL = 9; - - // Dynamic local asset set. - DYNAMIC_LOCAL = 10; - - // Dynamic jobs asset set. - DYNAMIC_JOBS = 11; - - // Location sync level asset set. - LOCATION_SYNC = 12; - - // Business Profile location group asset set. - BUSINESS_PROFILE_DYNAMIC_LOCATION_GROUP = 13; - - // Chain location group asset set which can be used for both owned - // locations and affiliate locations. - CHAIN_DYNAMIC_LOCATION_GROUP = 14; - - // Static location group asset set which can be used for both owned - // locations and affiliate locations. - STATIC_LOCATION_GROUP = 15; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/asset_source.proto b/third_party/googleapis/google/ads/googleads/v12/enums/asset_source.proto deleted file mode 100644 index 4706dbb65..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/asset_source.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetSourceProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing asset source. - -// Source of the asset or asset link for who generated the entity. -// For example, advertiser or automatically created. -message AssetSourceEnum { - // Enum describing possible source of asset. - enum AssetSource { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The asset or asset link is provided by advertiser. - ADVERTISER = 2; - - // The asset or asset link is generated by Google. - AUTOMATICALLY_CREATED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/asset_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/asset_type.proto deleted file mode 100644 index 5d684ae2b..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/asset_type.proto +++ /dev/null @@ -1,120 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing asset type. - -// Container for enum describing the types of asset. -message AssetTypeEnum { - // Enum describing possible types of asset. - enum AssetType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // YouTube video asset. - YOUTUBE_VIDEO = 2; - - // Media bundle asset. - MEDIA_BUNDLE = 3; - - // Image asset. - IMAGE = 4; - - // Text asset. - TEXT = 5; - - // Lead form asset. - LEAD_FORM = 6; - - // Book on Google asset. - BOOK_ON_GOOGLE = 7; - - // Promotion asset. - PROMOTION = 8; - - // Callout asset. - CALLOUT = 9; - - // Structured Snippet asset. - STRUCTURED_SNIPPET = 10; - - // Sitelink asset. - SITELINK = 11; - - // Page Feed asset. - PAGE_FEED = 12; - - // Dynamic Education asset. - DYNAMIC_EDUCATION = 13; - - // Mobile app asset. - MOBILE_APP = 14; - - // Hotel callout asset. - HOTEL_CALLOUT = 15; - - // Call asset. - CALL = 16; - - // Price asset. - PRICE = 17; - - // Call to action asset. - CALL_TO_ACTION = 18; - - // Dynamic real estate asset. - DYNAMIC_REAL_ESTATE = 19; - - // Dynamic custom asset. - DYNAMIC_CUSTOM = 20; - - // Dynamic hotels and rentals asset. - DYNAMIC_HOTELS_AND_RENTALS = 21; - - // Dynamic flights asset. - DYNAMIC_FLIGHTS = 22; - - // Discovery Carousel Card asset. - DISCOVERY_CAROUSEL_CARD = 23; - - // Dynamic travel asset. - DYNAMIC_TRAVEL = 24; - - // Dynamic local asset. - DYNAMIC_LOCAL = 25; - - // Dynamic jobs asset. - DYNAMIC_JOBS = 26; - - // Location asset. - LOCATION = 27; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/async_action_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/async_action_status.proto deleted file mode 100644 index 761270913..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/async_action_status.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AsyncActionStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing experiment async action status. - -// Container for enum describing the experiment async action status. -message AsyncActionStatusEnum { - // The async action status of the experiment. - enum AsyncActionStatus { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Action has not started. - NOT_STARTED = 2; - - // Action is in progress. - IN_PROGRESS = 3; - - // Action has completed successfully. - COMPLETED = 4; - - // Action has failed. - FAILED = 5; - - // Action has completed successfully with warnings. - COMPLETED_WITH_WARNING = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/attribution_model.proto b/third_party/googleapis/google/ads/googleads/v12/enums/attribution_model.proto deleted file mode 100644 index c07e3e198..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/attribution_model.proto +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AttributionModelProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Container for enum representing the attribution model that describes how to -// distribute credit for a particular conversion across potentially many prior -// interactions. -message AttributionModelEnum { - // The attribution model that describes how to distribute credit for a - // particular conversion across potentially many prior interactions. - enum AttributionModel { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Uses external attribution. - EXTERNAL = 100; - - // Attributes all credit for a conversion to its last click. - GOOGLE_ADS_LAST_CLICK = 101; - - // Attributes all credit for a conversion to its first click using Google - // Search attribution. - GOOGLE_SEARCH_ATTRIBUTION_FIRST_CLICK = 102; - - // Attributes credit for a conversion equally across all of its clicks using - // Google Search attribution. - GOOGLE_SEARCH_ATTRIBUTION_LINEAR = 103; - - // Attributes exponentially more credit for a conversion to its more recent - // clicks using Google Search attribution (half-life is 1 week). - GOOGLE_SEARCH_ATTRIBUTION_TIME_DECAY = 104; - - // Attributes 40% of the credit for a conversion to its first and last - // clicks. Remaining 20% is evenly distributed across all other clicks. This - // uses Google Search attribution. - GOOGLE_SEARCH_ATTRIBUTION_POSITION_BASED = 105; - - // Flexible model that uses machine learning to determine the appropriate - // distribution of credit among clicks using Google Search attribution. - GOOGLE_SEARCH_ATTRIBUTION_DATA_DRIVEN = 106; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/audience_insights_dimension.proto b/third_party/googleapis/google/ads/googleads/v12/enums/audience_insights_dimension.proto deleted file mode 100644 index 1d5762609..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/audience_insights_dimension.proto +++ /dev/null @@ -1,78 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AudienceInsightsDimensionProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing a plannable network. - -// Container for enum describing audience insights dimensions. -message AudienceInsightsDimensionEnum { - // Possible audience dimensions for use in generating insights. - enum AudienceInsightsDimension { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // A Product & Service category. - CATEGORY = 2; - - // A Knowledge Graph entity. - KNOWLEDGE_GRAPH = 3; - - // A country, represented by a geo target. - GEO_TARGET_COUNTRY = 4; - - // A geographic location within a country. - SUB_COUNTRY_LOCATION = 5; - - // A YouTube channel. - YOUTUBE_CHANNEL = 6; - - // A YouTube Dynamic Lineup. - YOUTUBE_DYNAMIC_LINEUP = 7; - - // An Affinity UserInterest. - AFFINITY_USER_INTEREST = 8; - - // An In-Market UserInterest. - IN_MARKET_USER_INTEREST = 9; - - // A Parental Status value (parent, or not a parent). - PARENTAL_STATUS = 10; - - // A household income percentile range. - INCOME_RANGE = 11; - - // An age range. - AGE_RANGE = 12; - - // A gender. - GENDER = 13; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/audience_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/audience_status.proto deleted file mode 100644 index 47b480869..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/audience_status.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AudienceStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing audience status. - -// The status of audience. -message AudienceStatusEnum { - // Enum containing possible audience status types. - enum AudienceStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Enabled status - audience is enabled and can be targeted. - ENABLED = 2; - - // Removed status - audience is removed and cannot be used for - // targeting. - REMOVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/batch_job_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/batch_job_status.proto deleted file mode 100644 index bf748e9ce..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/batch_job_status.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BatchJobStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing batch job statuses. - -// Container for enum describing possible batch job statuses. -message BatchJobStatusEnum { - // The batch job statuses. - enum BatchJobStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The job is not currently running. - PENDING = 2; - - // The job is running. - RUNNING = 3; - - // The job is done. - DONE = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/bid_modifier_source.proto b/third_party/googleapis/google/ads/googleads/v12/enums/bid_modifier_source.proto deleted file mode 100644 index 1b66d2b96..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/bid_modifier_source.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BidModifierSourceProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing bid modifier source. - -// Container for enum describing possible bid modifier sources. -message BidModifierSourceEnum { - // Enum describing possible bid modifier sources. - enum BidModifierSource { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The bid modifier is specified at the campaign level, on the campaign - // level criterion. - CAMPAIGN = 2; - - // The bid modifier is specified (overridden) at the ad group level. - AD_GROUP = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/bidding_source.proto b/third_party/googleapis/google/ads/googleads/v12/enums/bidding_source.proto deleted file mode 100644 index eeddf1172..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/bidding_source.proto +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BiddingSourceProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing bidding sources. - -// Container for enum describing possible bidding sources. -message BiddingSourceEnum { - // Indicates where a bid or target is defined. For example, an ad group - // criterion may define a cpc bid directly, or it can inherit its cpc bid from - // the ad group. - enum BiddingSource { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Effective bid or target is inherited from campaign bidding strategy. - CAMPAIGN_BIDDING_STRATEGY = 5; - - // The bid or target is defined on the ad group. - AD_GROUP = 6; - - // The bid or target is defined on the ad group criterion. - AD_GROUP_CRITERION = 7; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/bidding_strategy_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/bidding_strategy_status.proto deleted file mode 100644 index ec57b7667..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/bidding_strategy_status.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BiddingStrategyStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing BiddingStrategy statuses. - -// Message describing BiddingStrategy statuses. -message BiddingStrategyStatusEnum { - // The possible statuses of a BiddingStrategy. - enum BiddingStrategyStatus { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // The bidding strategy is enabled. - ENABLED = 2; - - // The bidding strategy is removed. - REMOVED = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/bidding_strategy_system_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/bidding_strategy_system_status.proto deleted file mode 100644 index da457e6fe..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/bidding_strategy_system_status.proto +++ /dev/null @@ -1,139 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BiddingStrategySystemStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing BiddingStrategy statuses. - -// Message describing BiddingStrategy system statuses. -message BiddingStrategySystemStatusEnum { - // The possible system statuses of a BiddingStrategy. - enum BiddingStrategySystemStatus { - // Signals that an unexpected error occurred, for example, no bidding - // strategy type was found, or no status information was found. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The bid strategy is active, and AdWords cannot find any specific issues - // with the strategy. - ENABLED = 2; - - // The bid strategy is learning because it has been recently created or - // recently reactivated. - LEARNING_NEW = 3; - - // The bid strategy is learning because of a recent setting change. - LEARNING_SETTING_CHANGE = 4; - - // The bid strategy is learning because of a recent budget change. - LEARNING_BUDGET_CHANGE = 5; - - // The bid strategy is learning because of recent change in number of - // campaigns, ad groups or keywords attached to it. - LEARNING_COMPOSITION_CHANGE = 6; - - // The bid strategy depends on conversion reporting and the customer - // recently modified conversion types that were relevant to the - // bid strategy. - LEARNING_CONVERSION_TYPE_CHANGE = 7; - - // The bid strategy depends on conversion reporting and the customer - // recently changed their conversion settings. - LEARNING_CONVERSION_SETTING_CHANGE = 8; - - // The bid strategy is limited by its bid ceiling. - LIMITED_BY_CPC_BID_CEILING = 9; - - // The bid strategy is limited by its bid floor. - LIMITED_BY_CPC_BID_FLOOR = 10; - - // The bid strategy is limited because there was not enough conversion - // traffic over the past weeks. - LIMITED_BY_DATA = 11; - - // A significant fraction of keywords in this bid strategy are limited by - // budget. - LIMITED_BY_BUDGET = 12; - - // The bid strategy cannot reach its target spend because its spend has - // been de-prioritized. - LIMITED_BY_LOW_PRIORITY_SPEND = 13; - - // A significant fraction of keywords in this bid strategy have a low - // Quality Score. - LIMITED_BY_LOW_QUALITY = 14; - - // The bid strategy cannot fully spend its budget because of narrow - // targeting. - LIMITED_BY_INVENTORY = 15; - - // Missing conversion tracking (no pings present) and/or remarketing lists - // for SSC. - MISCONFIGURED_ZERO_ELIGIBILITY = 16; - - // The bid strategy depends on conversion reporting and the customer is - // lacking conversion types that might be reported against this strategy. - MISCONFIGURED_CONVERSION_TYPES = 17; - - // The bid strategy depends on conversion reporting and the customer's - // conversion settings are misconfigured. - MISCONFIGURED_CONVERSION_SETTINGS = 18; - - // There are campaigns outside the bid strategy that share budgets with - // campaigns included in the strategy. - MISCONFIGURED_SHARED_BUDGET = 19; - - // The campaign has an invalid strategy type and is not serving. - MISCONFIGURED_STRATEGY_TYPE = 20; - - // The bid strategy is not active. Either there are no active campaigns, - // ad groups or keywords attached to the bid strategy. Or there are no - // active budgets connected to the bid strategy. - PAUSED = 21; - - // This bid strategy currently does not support status reporting. - UNAVAILABLE = 22; - - // There were multiple LEARNING_* system statuses for this bid strategy - // during the time in question. - MULTIPLE_LEARNING = 23; - - // There were multiple LIMITED_* system statuses for this bid strategy - // during the time in question. - MULTIPLE_LIMITED = 24; - - // There were multiple MISCONFIGURED_* system statuses for this bid strategy - // during the time in question. - MULTIPLE_MISCONFIGURED = 25; - - // There were multiple system statuses for this bid strategy during the - // time in question. - MULTIPLE = 26; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/bidding_strategy_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/bidding_strategy_type.proto deleted file mode 100644 index 955cd3727..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/bidding_strategy_type.proto +++ /dev/null @@ -1,121 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BiddingStrategyTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing bidding schemes. - -// Container for enum describing possible bidding strategy types. -message BiddingStrategyTypeEnum { - // Enum describing possible bidding strategy types. - enum BiddingStrategyType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Commission is an automatic bidding strategy in which the advertiser pays - // a certain portion of the conversion value. - COMMISSION = 16; - - // Enhanced CPC is a bidding strategy that raises bids for clicks - // that seem more likely to lead to a conversion and lowers - // them for clicks where they seem less likely. - ENHANCED_CPC = 2; - - // Used for return value only. Indicates that a campaign does not have a - // bidding strategy. This prevents the campaign from serving. For example, - // a campaign may be attached to a manager bidding strategy and the serving - // account is subsequently unlinked from the manager account. In this case - // the campaign will automatically be detached from the now inaccessible - // manager bidding strategy and transition to the INVALID bidding strategy - // type. - INVALID = 17; - - // Manual bidding strategy that allows advertiser to set the bid per - // advertiser-specified action. - MANUAL_CPA = 18; - - // Manual click based bidding where user pays per click. - MANUAL_CPC = 3; - - // Manual impression based bidding - // where user pays per thousand impressions. - MANUAL_CPM = 4; - - // A bidding strategy that pays a configurable amount per video view. - MANUAL_CPV = 13; - - // A bidding strategy that automatically maximizes number of conversions - // given a daily budget. - MAXIMIZE_CONVERSIONS = 10; - - // An automated bidding strategy that automatically sets bids to maximize - // revenue while spending your budget. - MAXIMIZE_CONVERSION_VALUE = 11; - - // Page-One Promoted bidding scheme, which sets max cpc bids to - // target impressions on page one or page one promoted slots on google.com. - // This enum value is deprecated. - PAGE_ONE_PROMOTED = 5; - - // Percent Cpc is bidding strategy where bids are a fraction of the - // advertised price for some good or service. - PERCENT_CPC = 12; - - // Target CPA is an automated bid strategy that sets bids - // to help get as many conversions as possible - // at the target cost-per-acquisition (CPA) you set. - TARGET_CPA = 6; - - // Target CPM is an automated bid strategy that sets bids to help get - // as many impressions as possible at the target cost per one thousand - // impressions (CPM) you set. - TARGET_CPM = 14; - - // An automated bidding strategy that sets bids so that a certain percentage - // of search ads are shown at the top of the first page (or other targeted - // location). - TARGET_IMPRESSION_SHARE = 15; - - // Target Outrank Share is an automated bidding strategy that sets bids - // based on the target fraction of auctions where the advertiser - // should outrank a specific competitor. - // This enum value is deprecated. - TARGET_OUTRANK_SHARE = 7; - - // Target ROAS is an automated bidding strategy - // that helps you maximize revenue while averaging - // a specific target Return On Average Spend (ROAS). - TARGET_ROAS = 8; - - // Target Spend is an automated bid strategy that sets your bids - // to help get as many clicks as possible within your budget. - TARGET_SPEND = 9; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/billing_setup_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/billing_setup_status.proto deleted file mode 100644 index 1cfb22b73..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/billing_setup_status.proto +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BillingSetupStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing BillingSetup statuses. - -// Message describing BillingSetup statuses. -message BillingSetupStatusEnum { - // The possible statuses of a BillingSetup. - enum BillingSetupStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The billing setup is pending approval. - PENDING = 2; - - // The billing setup has been approved but the corresponding first budget - // has not. This can only occur for billing setups configured for monthly - // invoicing. - APPROVED_HELD = 3; - - // The billing setup has been approved. - APPROVED = 4; - - // The billing setup was cancelled by the user prior to approval. - CANCELLED = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/brand_safety_suitability.proto b/third_party/googleapis/google/ads/googleads/v12/enums/brand_safety_suitability.proto deleted file mode 100644 index d33f89a14..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/brand_safety_suitability.proto +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BrandSafetySuitabilityProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing brand safety suitability settings. - -// Container for enum with 3-Tier brand safety suitability control. -message BrandSafetySuitabilityEnum { - // 3-Tier brand safety suitability control. - enum BrandSafetySuitability { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // This option lets you show ads across all inventory on YouTube and video - // partners that meet our standards for monetization. This option may be an - // appropriate choice for brands that want maximum access to the full - // breadth of videos eligible for ads, including, for example, videos that - // have strong profanity in the context of comedy or a documentary, or - // excessive violence as featured in video games. - EXPANDED_INVENTORY = 2; - - // This option lets you show ads across a wide range of content that's - // appropriate for most brands, such as popular music videos, documentaries, - // and movie trailers. The content you can show ads on is based on YouTube's - // advertiser-friendly content guidelines that take into account, for - // example, the strength or frequency of profanity, or the appropriateness - // of subject matter like sensitive events. Ads won't show, for example, on - // content with repeated strong profanity, strong sexual content, or graphic - // violence. - STANDARD_INVENTORY = 3; - - // This option lets you show ads on a reduced range of content that's - // appropriate for brands with particularly strict guidelines around - // inappropriate language and sexual suggestiveness; above and beyond what - // YouTube's advertiser-friendly content guidelines address. The videos - // accessible in this sensitive category meet heightened requirements, - // especially for inappropriate language and sexual suggestiveness. For - // example, your ads will be excluded from showing on some of YouTube's most - // popular music videos and other pop culture content across YouTube and - // Google video partners. - LIMITED_INVENTORY = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/budget_campaign_association_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/budget_campaign_association_status.proto deleted file mode 100644 index 1fa4a9537..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/budget_campaign_association_status.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BudgetCampaignAssociationStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing Budget and Campaign association status. - -// Message describing the status of the association between the Budget and the -// Campaign. -message BudgetCampaignAssociationStatusEnum { - // Possible statuses of the association between the Budget and the Campaign. - enum BudgetCampaignAssociationStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The campaign is currently using the budget. - ENABLED = 2; - - // The campaign is no longer using the budget. - REMOVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/budget_delivery_method.proto b/third_party/googleapis/google/ads/googleads/v12/enums/budget_delivery_method.proto deleted file mode 100644 index 0bd719d9b..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/budget_delivery_method.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BudgetDeliveryMethodProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing Budget delivery methods. - -// Message describing Budget delivery methods. A delivery method determines the -// rate at which the Budget is spent. -message BudgetDeliveryMethodEnum { - // Possible delivery methods of a Budget. - enum BudgetDeliveryMethod { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The budget server will throttle serving evenly across - // the entire time period. - STANDARD = 2; - - // The budget server will not throttle serving, - // and ads will serve as fast as possible. - ACCELERATED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/budget_period.proto b/third_party/googleapis/google/ads/googleads/v12/enums/budget_period.proto deleted file mode 100644 index 039229777..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/budget_period.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BudgetPeriodProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing Budget delivery methods. - -// Message describing Budget period. -message BudgetPeriodEnum { - // Possible period of a Budget. - enum BudgetPeriod { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Daily budget. - DAILY = 2; - - // Custom budget, added back in V5. - // Custom bugdet can be used with total_amount to specify lifetime budget - // limit. See: https://support.google.com/google-ads/answer/6385083 for more - // info. - CUSTOM_PERIOD = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/budget_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/budget_status.proto deleted file mode 100644 index f127dbf19..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/budget_status.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BudgetStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing Budget statuses - -// Message describing a Budget status -message BudgetStatusEnum { - // Possible statuses of a Budget. - enum BudgetStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Budget is enabled. - ENABLED = 2; - - // Budget is removed. - REMOVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/budget_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/budget_type.proto deleted file mode 100644 index 2df4518f7..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/budget_type.proto +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BudgetTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing Budget types. - -// Describes Budget types. -message BudgetTypeEnum { - // Possible Budget types. - enum BudgetType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Budget type for standard Google Ads usage. - // Caps daily spend at two times the specified budget amount. - // Full details: https://support.google.com/google-ads/answer/6385083 - STANDARD = 2; - - // Budget type with a fixed cost-per-acquisition (conversion). - // Full details: https://support.google.com/google-ads/answer/7528254 - // - // This type is only supported by campaigns with - // AdvertisingChannelType.DISPLAY (excluding - // AdvertisingChannelSubType.DISPLAY_GMAIL), - // BiddingStrategyType.TARGET_CPA and PaymentMode.CONVERSIONS. - FIXED_CPA = 4; - - // Budget type for Smart Campaign. - // Full details: https://support.google.com/google-ads/answer/7653509 - // - // This type is only supported by campaigns with - // AdvertisingChannelType.SMART and - // AdvertisingChannelSubType.SMART_CAMPAIGN. - SMART_CAMPAIGN = 5; - - // Budget type for Local Services Campaign. - // Full details: https://support.google.com/localservices/answer/7434558 - // - // This type is only supported by campaigns with - // AdvertisingChannelType.LOCAL_SERVICES. - LOCAL_SERVICES = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/call_conversion_reporting_state.proto b/third_party/googleapis/google/ads/googleads/v12/enums/call_conversion_reporting_state.proto deleted file mode 100644 index cad7e5bf0..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/call_conversion_reporting_state.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CallConversionReportingStateProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing call conversion reporting state. - -// Container for enum describing possible data types for call conversion -// reporting state. -message CallConversionReportingStateEnum { - // Possible data types for a call conversion action state. - enum CallConversionReportingState { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Call conversion action is disabled. - DISABLED = 2; - - // Call conversion action will use call conversion type set at the - // account level. - USE_ACCOUNT_LEVEL_CALL_CONVERSION_ACTION = 3; - - // Call conversion action will use call conversion type set at the resource - // (call only ads/call extensions) level. - USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/call_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v12/enums/call_placeholder_field.proto deleted file mode 100644 index 094b0e5a9..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/call_placeholder_field.proto +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CallPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing Call placeholder fields. - -// Values for Call placeholder fields. -message CallPlaceholderFieldEnum { - // Possible values for Call placeholder fields. - enum CallPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. The advertiser's phone number to append to the ad. - PHONE_NUMBER = 2; - - // Data Type: STRING. Uppercase two-letter country code of the advertiser's - // phone number. - COUNTRY_CODE = 3; - - // Data Type: BOOLEAN. Indicates whether call tracking is enabled. Default: - // true. - TRACKED = 4; - - // Data Type: INT64. The ID of an AdCallMetricsConversion object. This - // object contains the phoneCallDurationfield which is the minimum duration - // (in seconds) of a call to be considered a conversion. - CONVERSION_TYPE_ID = 5; - - // Data Type: STRING. Indicates whether this call extension uses its own - // call conversion setting or follows the account level setting. - // Valid values are: USE_ACCOUNT_LEVEL_CALL_CONVERSION_ACTION and - // USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION. - CONVERSION_REPORTING_STATE = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/call_to_action_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/call_to_action_type.proto deleted file mode 100644 index 85310a3ef..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/call_to_action_type.proto +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CallToActionTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing call to action type. - -// Container for enum describing the call to action types. -message CallToActionTypeEnum { - // Enum describing possible types of call to action. - enum CallToActionType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The call to action type is learn more. - LEARN_MORE = 2; - - // The call to action type is get quote. - GET_QUOTE = 3; - - // The call to action type is apply now. - APPLY_NOW = 4; - - // The call to action type is sign up. - SIGN_UP = 5; - - // The call to action type is contact us. - CONTACT_US = 6; - - // The call to action type is subscribe. - SUBSCRIBE = 7; - - // The call to action type is download. - DOWNLOAD = 8; - - // The call to action type is book now. - BOOK_NOW = 9; - - // The call to action type is shop now. - SHOP_NOW = 10; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/call_tracking_display_location.proto b/third_party/googleapis/google/ads/googleads/v12/enums/call_tracking_display_location.proto deleted file mode 100644 index 003ae8730..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/call_tracking_display_location.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CallTrackingDisplayLocationProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing call tracking display location. - -// Container for enum describing possible call tracking display locations. -message CallTrackingDisplayLocationEnum { - // Possible call tracking display locations. - enum CallTrackingDisplayLocation { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The phone call placed from the ad. - AD = 2; - - // The phone call placed from the landing page ad points to. - LANDING_PAGE = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/call_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/call_type.proto deleted file mode 100644 index 3116dbe7b..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/call_type.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CallTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing call types. - -// Container for enum describing possible types of property from where the call -// was made. -message CallTypeEnum { - // Possible types of property from where the call was made. - enum CallType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The phone call was manually dialed. - MANUALLY_DIALED = 2; - - // The phone call was a mobile click-to-call. - HIGH_END_MOBILE_SEARCH = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/callout_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v12/enums/callout_placeholder_field.proto deleted file mode 100644 index 2e6a86a01..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/callout_placeholder_field.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CalloutPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing Callout placeholder fields. - -// Values for Callout placeholder fields. -message CalloutPlaceholderFieldEnum { - // Possible values for Callout placeholder fields. - enum CalloutPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. Callout text. - CALLOUT_TEXT = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/campaign_criterion_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/campaign_criterion_status.proto deleted file mode 100644 index 492f8306c..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/campaign_criterion_status.proto +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CampaignCriterionStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing CampaignCriterion statuses. - -// Message describing CampaignCriterion statuses. -message CampaignCriterionStatusEnum { - // The possible statuses of a CampaignCriterion. - enum CampaignCriterionStatus { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // The campaign criterion is enabled. - ENABLED = 2; - - // The campaign criterion is paused. - PAUSED = 3; - - // The campaign criterion is removed. - REMOVED = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/campaign_draft_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/campaign_draft_status.proto deleted file mode 100644 index dc84a455c..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/campaign_draft_status.proto +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CampaignDraftStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing campaign draft status. - -// Container for enum describing possible statuses of a campaign draft. -message CampaignDraftStatusEnum { - // Possible statuses of a campaign draft. - enum CampaignDraftStatus { - // The status has not been specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Initial state of the draft, the advertiser can start adding changes with - // no effect on serving. - PROPOSED = 2; - - // The campaign draft is removed. - REMOVED = 3; - - // Advertiser requested to promote draft's changes back into the original - // campaign. Advertiser can poll the long running operation returned by - // the promote action to see the status of the promotion. - PROMOTING = 5; - - // The process to merge changes in the draft back to the original campaign - // has completed successfully. - PROMOTED = 4; - - // The promotion failed after it was partially applied. Promote cannot be - // attempted again safely, so the issue must be corrected in the original - // campaign. - PROMOTE_FAILED = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/campaign_experiment_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/campaign_experiment_type.proto deleted file mode 100644 index f8753e027..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/campaign_experiment_type.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CampaignExperimentTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing campaign experiment type. - -// Container for enum describing campaign experiment type. -message CampaignExperimentTypeEnum { - // Indicates if this campaign is a normal campaign, - // a draft campaign, or an experiment campaign. - enum CampaignExperimentType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // This is a regular campaign. - BASE = 2; - - // This is a draft version of a campaign. - // It has some modifications from a base campaign, - // but it does not serve or accrue metrics. - DRAFT = 3; - - // This is an experiment version of a campaign. - // It has some modifications from a base campaign, - // and a percentage of traffic is being diverted - // from the BASE campaign to this experiment campaign. - EXPERIMENT = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/campaign_group_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/campaign_group_status.proto deleted file mode 100644 index 629ef45b4..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/campaign_group_status.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CampaignGroupStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing CampaignGroup statuses. - -// Message describing CampaignGroup statuses. -message CampaignGroupStatusEnum { - // Possible statuses of a CampaignGroup. - enum CampaignGroupStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The campaign group is active. - ENABLED = 2; - - // The campaign group has been removed. - REMOVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/campaign_primary_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/campaign_primary_status.proto deleted file mode 100644 index 170101696..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/campaign_primary_status.proto +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CampaignPrimaryStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing Campaign primary statuses. - -// Container for enum describing possible campaign primary status. -message CampaignPrimaryStatusEnum { - // Enum describing the possible campaign primary status. Provides insight into - // why a campaign is not serving or not serving optimally. Modification to the - // campaign and its related entities might take a while to be reflected in - // this status. - enum CampaignPrimaryStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The campaign is eligible to serve. - ELIGIBLE = 2; - - // The user-specified campaign status is paused. - PAUSED = 3; - - // The user-specified campaign status is removed. - REMOVED = 4; - - // The user-specified time for this campaign to end has passed. - ENDED = 5; - - // The campaign may serve in the future. - PENDING = 6; - - // The campaign or its associated entities have incorrect user-specified - // settings. - MISCONFIGURED = 7; - - // The campaign or its associated entities are limited by user-specified - // settings. - LIMITED = 8; - - // The automated bidding system is adjusting to user-specified changes to - // the campaign or associated entities. - LEARNING = 9; - - // The campaign is not eligible to serve. - NOT_ELIGIBLE = 10; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/campaign_primary_status_reason.proto b/third_party/googleapis/google/ads/googleads/v12/enums/campaign_primary_status_reason.proto deleted file mode 100644 index 40de43b31..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/campaign_primary_status_reason.proto +++ /dev/null @@ -1,147 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CampaignPrimaryStatusReasonProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing CampaignPrimaryStatusReasons. - -// Container for enum describing possible campaign primary status reasons. -message CampaignPrimaryStatusReasonEnum { - // Enum describing the possible campaign primary status reasons. Provides - // insight into why a campaign is not serving or not serving optimally. These - // reasons are aggregated to determine an overall campaign primary status. - enum CampaignPrimaryStatusReason { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The user-specified campaign status is removed. - CAMPAIGN_REMOVED = 2; - - // The user-specified campaign status is paused. - CAMPAIGN_PAUSED = 3; - - // The user-specified time for this campaign to start is in the future. - CAMPAIGN_PENDING = 4; - - // The user-specified time for this campaign to end has passed. - CAMPAIGN_ENDED = 5; - - // The campaign is a draft. - CAMPAIGN_DRAFT = 6; - - // The bidding strategy has incorrect user-specified settings. - BIDDING_STRATEGY_MISCONFIGURED = 7; - - // The bidding strategy is limited by user-specified settings such as lack - // of data or similar. - BIDDING_STRATEGY_LIMITED = 8; - - // The automated bidding system is adjusting to user-specified changes to - // the bidding strategy. - BIDDING_STRATEGY_LEARNING = 9; - - // Campaign could capture more conversion value by adjusting CPA/ROAS - // targets. - BIDDING_STRATEGY_CONSTRAINED = 10; - - // The budget is limiting the campaign's ability to serve. - BUDGET_CONSTRAINED = 11; - - // The budget has incorrect user-specified settings. - BUDGET_MISCONFIGURED = 12; - - // Campaign is not targeting all relevant queries. - SEARCH_VOLUME_LIMITED = 13; - - // The user-specified ad group statuses are all paused. - AD_GROUPS_PAUSED = 14; - - // No eligible ad groups exist in this campaign. - NO_AD_GROUPS = 15; - - // The user-specified keyword statuses are all paused. - KEYWORDS_PAUSED = 16; - - // No eligible keywords exist in this campaign. - NO_KEYWORDS = 17; - - // The user-specified ad group ad statuses are all paused. - AD_GROUP_ADS_PAUSED = 18; - - // No eligible ad group ads exist in this campaign. - NO_AD_GROUP_ADS = 19; - - // At least one ad in this campaign is limited by policy. - HAS_ADS_LIMITED_BY_POLICY = 20; - - // At least one ad in this campaign is disapproved. - HAS_ADS_DISAPPROVED = 21; - - // Most ads in this campaign are pending review. - MOST_ADS_UNDER_REVIEW = 22; - - // The campaign has a lead form goal, and the lead form extension is - // missing. - MISSING_LEAD_FORM_EXTENSION = 23; - - // The campaign has a call goal, and the call extension is missing. - MISSING_CALL_EXTENSION = 24; - - // The lead form extension is under review. - LEAD_FORM_EXTENSION_UNDER_REVIEW = 25; - - // The lead extension is disapproved. - LEAD_FORM_EXTENSION_DISAPPROVED = 26; - - // The call extension is under review. - CALL_EXTENSION_UNDER_REVIEW = 27; - - // The call extension is disapproved. - CALL_EXTENSION_DISAPPROVED = 28; - - // No eligible mobile application ad group criteria exist in this campaign. - NO_MOBILE_APPLICATION_AD_GROUP_CRITERIA = 29; - - // The user-specified campaign group status is paused. - CAMPAIGN_GROUP_PAUSED = 30; - - // The user-specified times of all group budgets associated with the parent - // campaign group has passed. - CAMPAIGN_GROUP_ALL_GROUP_BUDGETS_ENDED = 31; - - // The app associated with this ACi campaign is not released in the target - // countries of the campaign. - APP_NOT_RELEASED = 32; - - // The app associated with this ACi campaign is partially released in the - // target countries of the campaign. - APP_PARTIALLY_RELEASED = 33; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/campaign_serving_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/campaign_serving_status.proto deleted file mode 100644 index dcf788442..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/campaign_serving_status.proto +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CampaignServingStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing Campaign serving statuses. - -// Message describing Campaign serving statuses. -message CampaignServingStatusEnum { - // Possible serving statuses of a campaign. - enum CampaignServingStatus { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // Serving. - SERVING = 2; - - // None. - NONE = 3; - - // Ended. - ENDED = 4; - - // Pending. - PENDING = 5; - - // Suspended. - SUSPENDED = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/campaign_shared_set_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/campaign_shared_set_status.proto deleted file mode 100644 index b4facb351..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/campaign_shared_set_status.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CampaignSharedSetStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing campaign shared set statuses. - -// Container for enum describing types of campaign shared set statuses. -message CampaignSharedSetStatusEnum { - // Enum listing the possible campaign shared set statuses. - enum CampaignSharedSetStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The campaign shared set is enabled. - ENABLED = 2; - - // The campaign shared set is removed and can no longer be used. - REMOVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/campaign_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/campaign_status.proto deleted file mode 100644 index 939d45039..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/campaign_status.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CampaignStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing campaign status. - -// Container for enum describing possible statuses of a campaign. -message CampaignStatusEnum { - // Possible statuses of a campaign. - enum CampaignStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Campaign is currently serving ads depending on budget information. - ENABLED = 2; - - // Campaign has been paused by the user. - PAUSED = 3; - - // Campaign has been removed. - REMOVED = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/chain_relationship_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/chain_relationship_type.proto deleted file mode 100644 index 9a27dc86a..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/chain_relationship_type.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ChainRelationshipTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing relationship type. - -// Container for enum describing possible types of a relationship. -message ChainRelationshipTypeEnum { - // Possible types of a relationship. - enum ChainRelationshipType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Auto dealer relationship. - AUTO_DEALERS = 2; - - // General retailer relationship. - GENERAL_RETAILERS = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/change_client_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/change_client_type.proto deleted file mode 100644 index 4c7b7a1b1..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/change_client_type.proto +++ /dev/null @@ -1,85 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ChangeClientTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing the sources that the change event resource was -// made through. - -// Container for enum describing the sources that the change event resource -// was made through. -message ChangeClientTypeEnum { - // The source that the change_event resource was made through. - enum ChangeClientType { - // No value has been specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents an unclassified client type - // unknown in this version. - UNKNOWN = 1; - - // Changes made through the "ads.google.com". - // For example, changes made through campaign management. - GOOGLE_ADS_WEB_CLIENT = 2; - - // Changes made through Google Ads automated rules. - GOOGLE_ADS_AUTOMATED_RULE = 3; - - // Changes made through Google Ads scripts. - GOOGLE_ADS_SCRIPTS = 4; - - // Changes made by Google Ads bulk upload. - GOOGLE_ADS_BULK_UPLOAD = 5; - - // Changes made by Google Ads API. - GOOGLE_ADS_API = 6; - - // Changes made by Google Ads Editor. - GOOGLE_ADS_EDITOR = 7; - - // Changes made by Google Ads mobile app. - GOOGLE_ADS_MOBILE_APP = 8; - - // Changes made through Google Ads recommendations. - GOOGLE_ADS_RECOMMENDATIONS = 9; - - // Changes made through Search Ads 360 Sync. - SEARCH_ADS_360_SYNC = 10; - - // Changes made through Search Ads 360 Post. - SEARCH_ADS_360_POST = 11; - - // Changes made through internal tools. - // For example, when a user sets a URL template on an entity like a - // Campaign, it's automatically wrapped with the SA360 Clickserver URL. - INTERNAL_TOOL = 12; - - // Types of changes that are not categorized, for example, - // changes made by coupon redemption through Google Ads. - OTHER = 13; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/change_event_resource_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/change_event_resource_type.proto deleted file mode 100644 index 8b760b429..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/change_event_resource_type.proto +++ /dev/null @@ -1,101 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ChangeEventResourceTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing the resource types the ChangeEvent resource supports. - -// Container for enum describing supported resource types for the ChangeEvent -// resource. -message ChangeEventResourceTypeEnum { - // Enum listing the resource types support by the ChangeEvent resource. - enum ChangeEventResourceType { - // No value has been specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents an unclassified resource unknown - // in this version. - UNKNOWN = 1; - - // An Ad resource change. - AD = 2; - - // An AdGroup resource change. - AD_GROUP = 3; - - // An AdGroupCriterion resource change. - AD_GROUP_CRITERION = 4; - - // A Campaign resource change. - CAMPAIGN = 5; - - // A CampaignBudget resource change. - CAMPAIGN_BUDGET = 6; - - // An AdGroupBidModifier resource change. - AD_GROUP_BID_MODIFIER = 7; - - // A CampaignCriterion resource change. - CAMPAIGN_CRITERION = 8; - - // A Feed resource change. - FEED = 9; - - // A FeedItem resource change. - FEED_ITEM = 10; - - // A CampaignFeed resource change. - CAMPAIGN_FEED = 11; - - // An AdGroupFeed resource change. - AD_GROUP_FEED = 12; - - // An AdGroupAd resource change. - AD_GROUP_AD = 13; - - // An Asset resource change. - ASSET = 14; - - // A CustomerAsset resource change. - CUSTOMER_ASSET = 15; - - // A CampaignAsset resource change. - CAMPAIGN_ASSET = 16; - - // An AdGroupAsset resource change. - AD_GROUP_ASSET = 17; - - // An AssetSet resource change. - ASSET_SET = 18; - - // An AssetSetAsset resource change. - ASSET_SET_ASSET = 19; - - // A CampaignAssetSet resource change. - CAMPAIGN_ASSET_SET = 20; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/change_status_operation.proto b/third_party/googleapis/google/ads/googleads/v12/enums/change_status_operation.proto deleted file mode 100644 index ce9c7aca8..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/change_status_operation.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ChangeStatusOperationProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing the change status operations. - -// Container for enum describing operations for the ChangeStatus resource. -message ChangeStatusOperationEnum { - // Status of the changed resource - enum ChangeStatusOperation { - // No value has been specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents an unclassified resource unknown - // in this version. - UNKNOWN = 1; - - // The resource was created. - ADDED = 2; - - // The resource was modified. - CHANGED = 3; - - // The resource was removed. - REMOVED = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/change_status_resource_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/change_status_resource_type.proto deleted file mode 100644 index d6e5e6835..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/change_status_resource_type.proto +++ /dev/null @@ -1,92 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ChangeStatusResourceTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing the resource types the ChangeStatus resource supports. - -// Container for enum describing supported resource types for the ChangeStatus -// resource. -message ChangeStatusResourceTypeEnum { - // Enum listing the resource types support by the ChangeStatus resource. - enum ChangeStatusResourceType { - // No value has been specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents an unclassified resource unknown - // in this version. - UNKNOWN = 1; - - // An AdGroup resource change. - AD_GROUP = 3; - - // An AdGroupAd resource change. - AD_GROUP_AD = 4; - - // An AdGroupCriterion resource change. - AD_GROUP_CRITERION = 5; - - // A Campaign resource change. - CAMPAIGN = 6; - - // A CampaignCriterion resource change. - CAMPAIGN_CRITERION = 7; - - // A Feed resource change. - FEED = 9; - - // A FeedItem resource change. - FEED_ITEM = 10; - - // An AdGroupFeed resource change. - AD_GROUP_FEED = 11; - - // A CampaignFeed resource change. - CAMPAIGN_FEED = 12; - - // An AdGroupBidModifier resource change. - AD_GROUP_BID_MODIFIER = 13; - - // A SharedSet resource change. - SHARED_SET = 14; - - // A CampaignSharedSet resource change. - CAMPAIGN_SHARED_SET = 15; - - // An Asset resource change. - ASSET = 16; - - // A CustomerAsset resource change. - CUSTOMER_ASSET = 17; - - // A CampaignAsset resource change. - CAMPAIGN_ASSET = 18; - - // An AdGroupAsset resource change. - AD_GROUP_ASSET = 19; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/click_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/click_type.proto deleted file mode 100644 index f5c1a689f..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/click_type.proto +++ /dev/null @@ -1,204 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ClickTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing click types. - -// Container for enumeration of Google Ads click types. -message ClickTypeEnum { - // Enumerates Google Ads click types. - enum ClickType { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // App engagement ad deep link. - APP_DEEPLINK = 2; - - // Breadcrumbs. - BREADCRUMBS = 3; - - // Broadband Plan. - BROADBAND_PLAN = 4; - - // Manually dialed phone calls. - CALL_TRACKING = 5; - - // Phone calls. - CALLS = 6; - - // Click on engagement ad. - CLICK_ON_ENGAGEMENT_AD = 7; - - // Driving direction. - GET_DIRECTIONS = 8; - - // Get location details. - LOCATION_EXPANSION = 9; - - // Call. - LOCATION_FORMAT_CALL = 10; - - // Directions. - LOCATION_FORMAT_DIRECTIONS = 11; - - // Image(s). - LOCATION_FORMAT_IMAGE = 12; - - // Go to landing page. - LOCATION_FORMAT_LANDING_PAGE = 13; - - // Map. - LOCATION_FORMAT_MAP = 14; - - // Go to store info. - LOCATION_FORMAT_STORE_INFO = 15; - - // Text. - LOCATION_FORMAT_TEXT = 16; - - // Mobile phone calls. - MOBILE_CALL_TRACKING = 17; - - // Print offer. - OFFER_PRINTS = 18; - - // Other. - OTHER = 19; - - // Product plusbox offer. - PRODUCT_EXTENSION_CLICKS = 20; - - // Shopping - Product - Online. - PRODUCT_LISTING_AD_CLICKS = 21; - - // Sitelink. - SITELINKS = 22; - - // Show nearby locations. - STORE_LOCATOR = 23; - - // Headline. - URL_CLICKS = 25; - - // App store. - VIDEO_APP_STORE_CLICKS = 26; - - // Call-to-Action overlay. - VIDEO_CALL_TO_ACTION_CLICKS = 27; - - // Cards. - VIDEO_CARD_ACTION_HEADLINE_CLICKS = 28; - - // End cap. - VIDEO_END_CAP_CLICKS = 29; - - // Website. - VIDEO_WEBSITE_CLICKS = 30; - - // Visual Sitelinks. - VISUAL_SITELINKS = 31; - - // Wireless Plan. - WIRELESS_PLAN = 32; - - // Shopping - Product - Local. - PRODUCT_LISTING_AD_LOCAL = 33; - - // Shopping - Product - MultiChannel Local. - PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL = 34; - - // Shopping - Product - MultiChannel Online. - PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE = 35; - - // Shopping - Product - Coupon. - PRODUCT_LISTING_ADS_COUPON = 36; - - // Shopping - Product - Sell on Google. - PRODUCT_LISTING_AD_TRANSACTABLE = 37; - - // Shopping - Product - App engagement ad deep link. - PRODUCT_AD_APP_DEEPLINK = 38; - - // Shopping - Showcase - Category. - SHOWCASE_AD_CATEGORY_LINK = 39; - - // Shopping - Showcase - Local storefront. - SHOWCASE_AD_LOCAL_STOREFRONT_LINK = 40; - - // Shopping - Showcase - Online product. - SHOWCASE_AD_ONLINE_PRODUCT_LINK = 42; - - // Shopping - Showcase - Local product. - SHOWCASE_AD_LOCAL_PRODUCT_LINK = 43; - - // Promotion Extension. - PROMOTION_EXTENSION = 44; - - // Ad Headline. - SWIPEABLE_GALLERY_AD_HEADLINE = 45; - - // Swipes. - SWIPEABLE_GALLERY_AD_SWIPES = 46; - - // See More. - SWIPEABLE_GALLERY_AD_SEE_MORE = 47; - - // Sitelink 1. - SWIPEABLE_GALLERY_AD_SITELINK_ONE = 48; - - // Sitelink 2. - SWIPEABLE_GALLERY_AD_SITELINK_TWO = 49; - - // Sitelink 3. - SWIPEABLE_GALLERY_AD_SITELINK_THREE = 50; - - // Sitelink 4. - SWIPEABLE_GALLERY_AD_SITELINK_FOUR = 51; - - // Sitelink 5. - SWIPEABLE_GALLERY_AD_SITELINK_FIVE = 52; - - // Hotel price. - HOTEL_PRICE = 53; - - // Price Extension. - PRICE_EXTENSION = 54; - - // Book on Google hotel room selection. - HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION = 55; - - // Shopping - Comparison Listing. - SHOPPING_COMPARISON_LISTING = 56; - - // Cross-network. From Performance Max and Discovery Campaigns. - CROSS_NETWORK = 57; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/combined_audience_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/combined_audience_status.proto deleted file mode 100644 index e82c06fc4..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/combined_audience_status.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CombinedAudienceStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing combined audience status. - -// The status of combined audience. -message CombinedAudienceStatusEnum { - // Enum containing possible combined audience status types. - enum CombinedAudienceStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Enabled status - combined audience is enabled and can be targeted. - ENABLED = 2; - - // Removed status - combined audience is removed and cannot be used for - // targeting. - REMOVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/content_label_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/content_label_type.proto deleted file mode 100644 index 8d87248eb..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/content_label_type.proto +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ContentLabelTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing content label types. - -// Container for enum describing content label types in ContentLabel. -message ContentLabelTypeEnum { - // Enum listing the content label types supported by ContentLabel criterion. - enum ContentLabelType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Sexually suggestive content. - SEXUALLY_SUGGESTIVE = 2; - - // Below the fold placement. - BELOW_THE_FOLD = 3; - - // Parked domain. - PARKED_DOMAIN = 4; - - // Juvenile, gross & bizarre content. - JUVENILE = 6; - - // Profanity & rough language. - PROFANITY = 7; - - // Death & tragedy. - TRAGEDY = 8; - - // Video. - VIDEO = 9; - - // Content rating: G. - VIDEO_RATING_DV_G = 10; - - // Content rating: PG. - VIDEO_RATING_DV_PG = 11; - - // Content rating: T. - VIDEO_RATING_DV_T = 12; - - // Content rating: MA. - VIDEO_RATING_DV_MA = 13; - - // Content rating: not yet rated. - VIDEO_NOT_YET_RATED = 14; - - // Embedded video. - EMBEDDED_VIDEO = 15; - - // Live streaming video. - LIVE_STREAMING_VIDEO = 16; - - // Sensitive social issues. - SOCIAL_ISSUES = 17; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/conversion_action_category.proto b/third_party/googleapis/google/ads/googleads/v12/enums/conversion_action_category.proto deleted file mode 100644 index 3f8d7153e..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/conversion_action_category.proto +++ /dev/null @@ -1,114 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionActionCategoryProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Container for enum describing the category of conversions that are associated -// with a ConversionAction. -message ConversionActionCategoryEnum { - // The category of conversions that are associated with a ConversionAction. - enum ConversionActionCategory { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Default category. - DEFAULT = 2; - - // User visiting a page. - PAGE_VIEW = 3; - - // Purchase, sales, or "order placed" event. - PURCHASE = 4; - - // Signup user action. - SIGNUP = 5; - - // Software download action (as for an app). - DOWNLOAD = 7; - - // The addition of items to a shopping cart or bag on an advertiser site. - ADD_TO_CART = 8; - - // When someone enters the checkout flow on an advertiser site. - BEGIN_CHECKOUT = 9; - - // The start of a paid subscription for a product or service. - SUBSCRIBE_PAID = 10; - - // A call to indicate interest in an advertiser's offering. - PHONE_CALL_LEAD = 11; - - // A lead conversion imported from an external source into Google Ads. - IMPORTED_LEAD = 12; - - // A submission of a form on an advertiser site indicating business - // interest. - SUBMIT_LEAD_FORM = 13; - - // A booking of an appointment with an advertiser's business. - BOOK_APPOINTMENT = 14; - - // A quote or price estimate request. - REQUEST_QUOTE = 15; - - // A search for an advertiser's business location with intention to visit. - GET_DIRECTIONS = 16; - - // A click to an advertiser's partner's site. - OUTBOUND_CLICK = 17; - - // A call, SMS, email, chat or other type of contact to an advertiser. - CONTACT = 18; - - // A website engagement event such as long site time or a Google Analytics - // (GA) Smart Goal. Intended to be used for GA, Firebase, GA Gold goal - // imports. - ENGAGEMENT = 19; - - // A visit to a physical store location. - STORE_VISIT = 20; - - // A sale occurring in a physical store. - STORE_SALE = 21; - - // A lead conversion imported from an external source into Google Ads, - // that has been further qualified by the advertiser (marketing/sales team). - // In the lead-to-sale journey, advertisers get leads, then act on them - // by reaching out to the consumer. If the consumer is interested and - // may end up buying their product, the advertiser marks such leads as - // "qualified leads". - QUALIFIED_LEAD = 22; - - // A lead conversion imported from an external source into Google Ads, that - // has further completed a chosen stage as defined by the lead gen - // advertiser. - CONVERTED_LEAD = 23; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/conversion_action_counting_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/conversion_action_counting_type.proto deleted file mode 100644 index a4f967399..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/conversion_action_counting_type.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionActionCountingTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing conversion action counting type. - -// Container for enum describing the conversion deduplication mode for -// conversion optimizer. -message ConversionActionCountingTypeEnum { - // Indicates how conversions for this action will be counted. For more - // information, see https://support.google.com/google-ads/answer/3438531. - enum ConversionActionCountingType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Count only one conversion per click. - ONE_PER_CLICK = 2; - - // Count all conversions per click. - MANY_PER_CLICK = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/conversion_action_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/conversion_action_status.proto deleted file mode 100644 index 80e6e0307..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/conversion_action_status.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionActionStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing conversion action status. - -// Container for enum describing possible statuses of a conversion action. -message ConversionActionStatusEnum { - // Possible statuses of a conversion action. - enum ConversionActionStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Conversions will be recorded. - ENABLED = 2; - - // Conversions will not be recorded. - REMOVED = 3; - - // Conversions will not be recorded and the conversion action will not - // appear in the UI. - HIDDEN = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/conversion_action_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/conversion_action_type.proto deleted file mode 100644 index 1c30ad516..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/conversion_action_type.proto +++ /dev/null @@ -1,173 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionActionTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing conversion action type. - -// Container for enum describing possible types of a conversion action. -message ConversionActionTypeEnum { - // Possible types of a conversion action. - enum ConversionActionType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Conversions that occur when a user clicks on an ad's call extension. - AD_CALL = 2; - - // Conversions that occur when a user on a mobile device clicks a phone - // number. - CLICK_TO_CALL = 3; - - // Conversions that occur when a user downloads a mobile app from the Google - // Play Store. - GOOGLE_PLAY_DOWNLOAD = 4; - - // Conversions that occur when a user makes a purchase in an app through - // Android billing. - GOOGLE_PLAY_IN_APP_PURCHASE = 5; - - // Call conversions that are tracked by the advertiser and uploaded. - UPLOAD_CALLS = 6; - - // Conversions that are tracked by the advertiser and uploaded with - // attributed clicks. - UPLOAD_CLICKS = 7; - - // Conversions that occur on a webpage. - WEBPAGE = 8; - - // Conversions that occur when a user calls a dynamically-generated phone - // number from an advertiser's website. - WEBSITE_CALL = 9; - - // Store Sales conversion based on first-party or third-party merchant - // data uploads. - // Only customers on the allowlist can use store sales direct upload types. - STORE_SALES_DIRECT_UPLOAD = 10; - - // Store Sales conversion based on first-party or third-party merchant - // data uploads and/or from in-store purchases using cards from payment - // networks. - // Only customers on the allowlist can use store sales types. - // Read only. - STORE_SALES = 11; - - // Android app first open conversions tracked through Firebase. - FIREBASE_ANDROID_FIRST_OPEN = 12; - - // Android app in app purchase conversions tracked through Firebase. - FIREBASE_ANDROID_IN_APP_PURCHASE = 13; - - // Android app custom conversions tracked through Firebase. - FIREBASE_ANDROID_CUSTOM = 14; - - // iOS app first open conversions tracked through Firebase. - FIREBASE_IOS_FIRST_OPEN = 15; - - // iOS app in app purchase conversions tracked through Firebase. - FIREBASE_IOS_IN_APP_PURCHASE = 16; - - // iOS app custom conversions tracked through Firebase. - FIREBASE_IOS_CUSTOM = 17; - - // Android app first open conversions tracked through Third Party App - // Analytics. - THIRD_PARTY_APP_ANALYTICS_ANDROID_FIRST_OPEN = 18; - - // Android app in app purchase conversions tracked through Third Party App - // Analytics. - THIRD_PARTY_APP_ANALYTICS_ANDROID_IN_APP_PURCHASE = 19; - - // Android app custom conversions tracked through Third Party App Analytics. - THIRD_PARTY_APP_ANALYTICS_ANDROID_CUSTOM = 20; - - // iOS app first open conversions tracked through Third Party App Analytics. - THIRD_PARTY_APP_ANALYTICS_IOS_FIRST_OPEN = 21; - - // iOS app in app purchase conversions tracked through Third Party App - // Analytics. - THIRD_PARTY_APP_ANALYTICS_IOS_IN_APP_PURCHASE = 22; - - // iOS app custom conversions tracked through Third Party App Analytics. - THIRD_PARTY_APP_ANALYTICS_IOS_CUSTOM = 23; - - // Conversions that occur when a user pre-registers a mobile app from the - // Google Play Store. Read only. - ANDROID_APP_PRE_REGISTRATION = 24; - - // Conversions that track all Google Play downloads which aren't tracked - // by an app-specific type. Read only. - ANDROID_INSTALLS_ALL_OTHER_APPS = 25; - - // Floodlight activity that counts the number of times that users have - // visited a particular webpage after seeing or clicking on one of - // an advertiser's ads. Read only. - FLOODLIGHT_ACTION = 26; - - // Floodlight activity that tracks the number of sales made or the number - // of items purchased. Can also capture the total value of each sale. - // Read only. - FLOODLIGHT_TRANSACTION = 27; - - // Conversions that track local actions from Google's products and - // services after interacting with an ad. Read only. - GOOGLE_HOSTED = 28; - - // Conversions reported when a user submits a lead form. Read only. - LEAD_FORM_SUBMIT = 29; - - // Conversions that come from Salesforce. Read only. - SALESFORCE = 30; - - // Conversions imported from Search Ads 360 Floodlight data. Read only. - SEARCH_ADS_360 = 31; - - // Call conversions that occur on Smart campaign Ads without call tracking - // setup, using Smart campaign custom criteria. Read only. - SMART_CAMPAIGN_AD_CLICKS_TO_CALL = 32; - - // The user clicks on a call element within Google Maps. Smart campaign - // only. Read only. - SMART_CAMPAIGN_MAP_CLICKS_TO_CALL = 33; - - // The user requests directions to a business location within Google Maps. - // Smart campaign only. Read only. - SMART_CAMPAIGN_MAP_DIRECTIONS = 34; - - // Call conversions that occur on Smart campaign Ads with call tracking - // setup, using Smart campaign custom criteria. Read only. - SMART_CAMPAIGN_TRACKED_CALLS = 35; - - // Conversions that occur when a user visits an advertiser's retail store. - // Read only. - STORE_VISITS = 36; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/conversion_adjustment_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/conversion_adjustment_type.proto deleted file mode 100644 index 03f2c9657..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/conversion_adjustment_type.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionAdjustmentTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing conversion adjustment type. - -// Container for enum describing conversion adjustment types. -message ConversionAdjustmentTypeEnum { - // The different actions advertisers can take to adjust the conversions that - // they already reported. Retractions negate a conversion. Restatements change - // the value of a conversion. - enum ConversionAdjustmentType { - // Not specified. - UNSPECIFIED = 0; - - // Represents value unknown in this version. - UNKNOWN = 1; - - // Negates a conversion so that its total value and count are both zero. - RETRACTION = 2; - - // Changes the value of a conversion. - RESTATEMENT = 3; - - // Supplements an existing conversion with provided user identifiers and - // user agent, which can be used by Google to enhance the conversion count. - ENHANCEMENT = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/conversion_attribution_event_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/conversion_attribution_event_type.proto deleted file mode 100644 index fe93875e8..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/conversion_attribution_event_type.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionAttributionEventTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Container for enum indicating the event type the conversion is attributed to. -message ConversionAttributionEventTypeEnum { - // The event type of conversions that are attributed to. - enum ConversionAttributionEventType { - // Not specified. - UNSPECIFIED = 0; - - // Represents value unknown in this version. - UNKNOWN = 1; - - // The conversion is attributed to an impression. - IMPRESSION = 2; - - // The conversion is attributed to an interaction. - INTERACTION = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/conversion_custom_variable_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/conversion_custom_variable_status.proto deleted file mode 100644 index 51bb59299..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/conversion_custom_variable_status.proto +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionCustomVariableStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing conversion custom variable status. - -// Container for enum describing possible statuses of a conversion custom -// variable. -message ConversionCustomVariableStatusEnum { - // Possible statuses of a conversion custom variable. - enum ConversionCustomVariableStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The conversion custom variable is pending activation and will not - // accrue stats until set to ENABLED. - // - // This status can't be used in CREATE and UPDATE requests. - ACTIVATION_NEEDED = 2; - - // The conversion custom variable is enabled and will accrue stats. - ENABLED = 3; - - // The conversion custom variable is paused and will not accrue stats - // until set to ENABLED again. - PAUSED = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/conversion_environment_enum.proto b/third_party/googleapis/google/ads/googleads/v12/enums/conversion_environment_enum.proto deleted file mode 100644 index a4e0fc4bf..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/conversion_environment_enum.proto +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionEnvironmentEnumProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Container for enum representing the conversion environment an uploaded -// conversion was recorded on, for example, App or Web. -message ConversionEnvironmentEnum { - // Conversion environment of the uploaded conversion. - enum ConversionEnvironment { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The conversion was recorded on an app. - APP = 2; - - // The conversion was recorded on a website. - WEB = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/conversion_lag_bucket.proto b/third_party/googleapis/google/ads/googleads/v12/enums/conversion_lag_bucket.proto deleted file mode 100644 index 5b6539e2c..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/conversion_lag_bucket.proto +++ /dev/null @@ -1,115 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionLagBucketProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Container for enum representing the number of days between impression and -// conversion. -message ConversionLagBucketEnum { - // Enum representing the number of days between impression and conversion. - enum ConversionLagBucket { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Conversion lag bucket from 0 to 1 day. 0 day is included, 1 day is not. - LESS_THAN_ONE_DAY = 2; - - // Conversion lag bucket from 1 to 2 days. 1 day is included, 2 days is not. - ONE_TO_TWO_DAYS = 3; - - // Conversion lag bucket from 2 to 3 days. 2 days is included, - // 3 days is not. - TWO_TO_THREE_DAYS = 4; - - // Conversion lag bucket from 3 to 4 days. 3 days is included, - // 4 days is not. - THREE_TO_FOUR_DAYS = 5; - - // Conversion lag bucket from 4 to 5 days. 4 days is included, - // 5 days is not. - FOUR_TO_FIVE_DAYS = 6; - - // Conversion lag bucket from 5 to 6 days. 5 days is included, - // 6 days is not. - FIVE_TO_SIX_DAYS = 7; - - // Conversion lag bucket from 6 to 7 days. 6 days is included, - // 7 days is not. - SIX_TO_SEVEN_DAYS = 8; - - // Conversion lag bucket from 7 to 8 days. 7 days is included, - // 8 days is not. - SEVEN_TO_EIGHT_DAYS = 9; - - // Conversion lag bucket from 8 to 9 days. 8 days is included, - // 9 days is not. - EIGHT_TO_NINE_DAYS = 10; - - // Conversion lag bucket from 9 to 10 days. 9 days is included, - // 10 days is not. - NINE_TO_TEN_DAYS = 11; - - // Conversion lag bucket from 10 to 11 days. 10 days is included, - // 11 days is not. - TEN_TO_ELEVEN_DAYS = 12; - - // Conversion lag bucket from 11 to 12 days. 11 days is included, - // 12 days is not. - ELEVEN_TO_TWELVE_DAYS = 13; - - // Conversion lag bucket from 12 to 13 days. 12 days is included, - // 13 days is not. - TWELVE_TO_THIRTEEN_DAYS = 14; - - // Conversion lag bucket from 13 to 14 days. 13 days is included, - // 14 days is not. - THIRTEEN_TO_FOURTEEN_DAYS = 15; - - // Conversion lag bucket from 14 to 21 days. 14 days is included, - // 21 days is not. - FOURTEEN_TO_TWENTY_ONE_DAYS = 16; - - // Conversion lag bucket from 21 to 30 days. 21 days is included, - // 30 days is not. - TWENTY_ONE_TO_THIRTY_DAYS = 17; - - // Conversion lag bucket from 30 to 45 days. 30 days is included, - // 45 days is not. - THIRTY_TO_FORTY_FIVE_DAYS = 18; - - // Conversion lag bucket from 45 to 60 days. 45 days is included, - // 60 days is not. - FORTY_FIVE_TO_SIXTY_DAYS = 19; - - // Conversion lag bucket from 60 to 90 days. 60 days is included, - // 90 days is not. - SIXTY_TO_NINETY_DAYS = 20; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/conversion_or_adjustment_lag_bucket.proto b/third_party/googleapis/google/ads/googleads/v12/enums/conversion_or_adjustment_lag_bucket.proto deleted file mode 100644 index ba9d3cafe..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/conversion_or_adjustment_lag_bucket.proto +++ /dev/null @@ -1,204 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionOrAdjustmentLagBucketProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Container for enum representing the number of days between the impression and -// the conversion or between the impression and adjustments to the conversion. -message ConversionOrAdjustmentLagBucketEnum { - // Enum representing the number of days between the impression and the - // conversion or between the impression and adjustments to the conversion. - enum ConversionOrAdjustmentLagBucket { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Conversion lag bucket from 0 to 1 day. 0 day is included, 1 day is not. - CONVERSION_LESS_THAN_ONE_DAY = 2; - - // Conversion lag bucket from 1 to 2 days. 1 day is included, 2 days is not. - CONVERSION_ONE_TO_TWO_DAYS = 3; - - // Conversion lag bucket from 2 to 3 days. 2 days is included, - // 3 days is not. - CONVERSION_TWO_TO_THREE_DAYS = 4; - - // Conversion lag bucket from 3 to 4 days. 3 days is included, - // 4 days is not. - CONVERSION_THREE_TO_FOUR_DAYS = 5; - - // Conversion lag bucket from 4 to 5 days. 4 days is included, - // 5 days is not. - CONVERSION_FOUR_TO_FIVE_DAYS = 6; - - // Conversion lag bucket from 5 to 6 days. 5 days is included, - // 6 days is not. - CONVERSION_FIVE_TO_SIX_DAYS = 7; - - // Conversion lag bucket from 6 to 7 days. 6 days is included, - // 7 days is not. - CONVERSION_SIX_TO_SEVEN_DAYS = 8; - - // Conversion lag bucket from 7 to 8 days. 7 days is included, - // 8 days is not. - CONVERSION_SEVEN_TO_EIGHT_DAYS = 9; - - // Conversion lag bucket from 8 to 9 days. 8 days is included, - // 9 days is not. - CONVERSION_EIGHT_TO_NINE_DAYS = 10; - - // Conversion lag bucket from 9 to 10 days. 9 days is included, - // 10 days is not. - CONVERSION_NINE_TO_TEN_DAYS = 11; - - // Conversion lag bucket from 10 to 11 days. 10 days is included, - // 11 days is not. - CONVERSION_TEN_TO_ELEVEN_DAYS = 12; - - // Conversion lag bucket from 11 to 12 days. 11 days is included, - // 12 days is not. - CONVERSION_ELEVEN_TO_TWELVE_DAYS = 13; - - // Conversion lag bucket from 12 to 13 days. 12 days is included, - // 13 days is not. - CONVERSION_TWELVE_TO_THIRTEEN_DAYS = 14; - - // Conversion lag bucket from 13 to 14 days. 13 days is included, - // 14 days is not. - CONVERSION_THIRTEEN_TO_FOURTEEN_DAYS = 15; - - // Conversion lag bucket from 14 to 21 days. 14 days is included, - // 21 days is not. - CONVERSION_FOURTEEN_TO_TWENTY_ONE_DAYS = 16; - - // Conversion lag bucket from 21 to 30 days. 21 days is included, - // 30 days is not. - CONVERSION_TWENTY_ONE_TO_THIRTY_DAYS = 17; - - // Conversion lag bucket from 30 to 45 days. 30 days is included, - // 45 days is not. - CONVERSION_THIRTY_TO_FORTY_FIVE_DAYS = 18; - - // Conversion lag bucket from 45 to 60 days. 45 days is included, - // 60 days is not. - CONVERSION_FORTY_FIVE_TO_SIXTY_DAYS = 19; - - // Conversion lag bucket from 60 to 90 days. 60 days is included, - // 90 days is not. - CONVERSION_SIXTY_TO_NINETY_DAYS = 20; - - // Conversion adjustment lag bucket from 0 to 1 day. 0 day is included, - // 1 day is not. - ADJUSTMENT_LESS_THAN_ONE_DAY = 21; - - // Conversion adjustment lag bucket from 1 to 2 days. 1 day is included, - // 2 days is not. - ADJUSTMENT_ONE_TO_TWO_DAYS = 22; - - // Conversion adjustment lag bucket from 2 to 3 days. 2 days is included, - // 3 days is not. - ADJUSTMENT_TWO_TO_THREE_DAYS = 23; - - // Conversion adjustment lag bucket from 3 to 4 days. 3 days is included, - // 4 days is not. - ADJUSTMENT_THREE_TO_FOUR_DAYS = 24; - - // Conversion adjustment lag bucket from 4 to 5 days. 4 days is included, - // 5 days is not. - ADJUSTMENT_FOUR_TO_FIVE_DAYS = 25; - - // Conversion adjustment lag bucket from 5 to 6 days. 5 days is included, - // 6 days is not. - ADJUSTMENT_FIVE_TO_SIX_DAYS = 26; - - // Conversion adjustment lag bucket from 6 to 7 days. 6 days is included, - // 7 days is not. - ADJUSTMENT_SIX_TO_SEVEN_DAYS = 27; - - // Conversion adjustment lag bucket from 7 to 8 days. 7 days is included, - // 8 days is not. - ADJUSTMENT_SEVEN_TO_EIGHT_DAYS = 28; - - // Conversion adjustment lag bucket from 8 to 9 days. 8 days is included, - // 9 days is not. - ADJUSTMENT_EIGHT_TO_NINE_DAYS = 29; - - // Conversion adjustment lag bucket from 9 to 10 days. 9 days is included, - // 10 days is not. - ADJUSTMENT_NINE_TO_TEN_DAYS = 30; - - // Conversion adjustment lag bucket from 10 to 11 days. 10 days is included, - // 11 days is not. - ADJUSTMENT_TEN_TO_ELEVEN_DAYS = 31; - - // Conversion adjustment lag bucket from 11 to 12 days. 11 days is included, - // 12 days is not. - ADJUSTMENT_ELEVEN_TO_TWELVE_DAYS = 32; - - // Conversion adjustment lag bucket from 12 to 13 days. 12 days is included, - // 13 days is not. - ADJUSTMENT_TWELVE_TO_THIRTEEN_DAYS = 33; - - // Conversion adjustment lag bucket from 13 to 14 days. 13 days is included, - // 14 days is not. - ADJUSTMENT_THIRTEEN_TO_FOURTEEN_DAYS = 34; - - // Conversion adjustment lag bucket from 14 to 21 days. 14 days is included, - // 21 days is not. - ADJUSTMENT_FOURTEEN_TO_TWENTY_ONE_DAYS = 35; - - // Conversion adjustment lag bucket from 21 to 30 days. 21 days is included, - // 30 days is not. - ADJUSTMENT_TWENTY_ONE_TO_THIRTY_DAYS = 36; - - // Conversion adjustment lag bucket from 30 to 45 days. 30 days is included, - // 45 days is not. - ADJUSTMENT_THIRTY_TO_FORTY_FIVE_DAYS = 37; - - // Conversion adjustment lag bucket from 45 to 60 days. 45 days is included, - // 60 days is not. - ADJUSTMENT_FORTY_FIVE_TO_SIXTY_DAYS = 38; - - // Conversion adjustment lag bucket from 60 to 90 days. 60 days is included, - // 90 days is not. - ADJUSTMENT_SIXTY_TO_NINETY_DAYS = 39; - - // Conversion adjustment lag bucket from 90 to 145 days. 90 days is - // included, 145 days is not. - ADJUSTMENT_NINETY_TO_ONE_HUNDRED_AND_FORTY_FIVE_DAYS = 40; - - // Conversion lag bucket UNKNOWN. This is for dates before conversion lag - // bucket was available in Google Ads. - CONVERSION_UNKNOWN = 41; - - // Conversion adjustment lag bucket UNKNOWN. This is for dates before - // conversion adjustment lag bucket was available in Google Ads. - ADJUSTMENT_UNKNOWN = 42; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/conversion_origin.proto b/third_party/googleapis/google/ads/googleads/v12/enums/conversion_origin.proto deleted file mode 100644 index fa1289f23..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/conversion_origin.proto +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionOriginProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing conversion origin. - -// Container for enum describing possible conversion origins. -message ConversionOriginEnum { - // The possible places where a conversion can occur. - enum ConversionOrigin { - // The conversion origin has not been specified. - UNSPECIFIED = 0; - - // The conversion origin is not known in this version. - UNKNOWN = 1; - - // Conversion that occurs when a user visits a website or takes an action - // there after viewing an ad. - WEBSITE = 2; - - // Conversions reported by an offline pipeline which collects local actions - // from Google-hosted pages (for example, Google Maps, Google Place Page, - // etc) and attributes them to relevant ad events. - GOOGLE_HOSTED = 3; - - // Conversion that occurs when a user performs an action through any app - // platforms. - APP = 4; - - // Conversion that occurs when a user makes a call from ads. - CALL_FROM_ADS = 5; - - // Conversion that occurs when a user visits or makes a purchase at a - // physical store. - STORE = 6; - - // Conversion that occurs on YouTube. - YOUTUBE_HOSTED = 7; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/conversion_tracking_status_enum.proto b/third_party/googleapis/google/ads/googleads/v12/enums/conversion_tracking_status_enum.proto deleted file mode 100644 index 3df80bb8d..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/conversion_tracking_status_enum.proto +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionTrackingStatusEnumProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Container for enum representing the conversion tracking status of the -// customer. -message ConversionTrackingStatusEnum { - // Conversion Tracking status of the customer. - enum ConversionTrackingStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Customer does not use any conversion tracking. - NOT_CONVERSION_TRACKED = 2; - - // The conversion actions are created and managed by this customer. - CONVERSION_TRACKING_MANAGED_BY_SELF = 3; - - // The conversion actions are created and managed by the manager specified - // in the request's `login-customer-id`. - CONVERSION_TRACKING_MANAGED_BY_THIS_MANAGER = 4; - - // The conversion actions are created and managed by a manager different - // from the customer or manager specified in the request's - // `login-customer-id`. - CONVERSION_TRACKING_MANAGED_BY_ANOTHER_MANAGER = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/conversion_value_rule_primary_dimension.proto b/third_party/googleapis/google/ads/googleads/v12/enums/conversion_value_rule_primary_dimension.proto deleted file mode 100644 index 629ed3691..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/conversion_value_rule_primary_dimension.proto +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionValueRulePrimaryDimensionProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing conversion value rule primary dimension. - -// Container for enum describing value rule primary dimension for stats. -message ConversionValueRulePrimaryDimensionEnum { - // Identifies the primary dimension for conversion value rule stats. - enum ConversionValueRulePrimaryDimension { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // For no-value-rule-applied conversions after value rule is enabled. - NO_RULE_APPLIED = 2; - - // Below are for value-rule-applied conversions: - // The original stats. - ORIGINAL = 3; - - // When a new or returning customer condition is satisfied. - NEW_VS_RETURNING_USER = 4; - - // When a query-time Geo location condition is satisfied. - GEO_LOCATION = 5; - - // When a query-time browsing device condition is satisfied. - DEVICE = 6; - - // When a query-time audience condition is satisfied. - AUDIENCE = 7; - - // When multiple rules are applied. - MULTIPLE = 8; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/conversion_value_rule_set_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/conversion_value_rule_set_status.proto deleted file mode 100644 index 6f7928a18..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/conversion_value_rule_set_status.proto +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionValueRuleSetStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing conversion value rule set status. - -// Container for enum describing possible statuses of a conversion value rule -// set. -message ConversionValueRuleSetStatusEnum { - // Possible statuses of a conversion value rule set. - enum ConversionValueRuleSetStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Conversion Value Rule Set is enabled and can be applied. - ENABLED = 2; - - // Conversion Value Rule Set is permanently deleted and can't be applied. - REMOVED = 3; - - // Conversion Value Rule Set is paused and won't be applied. It can be - // enabled again. - PAUSED = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/conversion_value_rule_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/conversion_value_rule_status.proto deleted file mode 100644 index 43243ed6c..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/conversion_value_rule_status.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionValueRuleStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing conversion value rule status. - -// Container for enum describing possible statuses of a conversion value rule. -message ConversionValueRuleStatusEnum { - // Possible statuses of a conversion value rule. - enum ConversionValueRuleStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Conversion Value Rule is enabled and can be applied. - ENABLED = 2; - - // Conversion Value Rule is permanently deleted and can't be applied. - REMOVED = 3; - - // Conversion Value Rule is paused, but can be re-enabled. - PAUSED = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/criterion_category_channel_availability_mode.proto b/third_party/googleapis/google/ads/googleads/v12/enums/criterion_category_channel_availability_mode.proto deleted file mode 100644 index 9f505b17b..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/criterion_category_channel_availability_mode.proto +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CriterionCategoryChannelAvailabilityModeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing the criterion category channel availability mode. - -// Describes channel availability mode for a criterion availability - whether -// the availability is meant to include all advertising channels, or a -// particular channel with all its channel subtypes, or a channel with a certain -// subset of channel subtypes. -message CriterionCategoryChannelAvailabilityModeEnum { - // Enum containing the possible CriterionCategoryChannelAvailabilityMode. - enum CriterionCategoryChannelAvailabilityMode { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The category is available to campaigns of all channel types and subtypes. - ALL_CHANNELS = 2; - - // The category is available to campaigns of a specific channel type, - // including all subtypes under it. - CHANNEL_TYPE_AND_ALL_SUBTYPES = 3; - - // The category is available to campaigns of a specific channel type and - // subtype(s). - CHANNEL_TYPE_AND_SUBSET_SUBTYPES = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/criterion_category_locale_availability_mode.proto b/third_party/googleapis/google/ads/googleads/v12/enums/criterion_category_locale_availability_mode.proto deleted file mode 100644 index 10d131ac0..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/criterion_category_locale_availability_mode.proto +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CriterionCategoryLocaleAvailabilityModeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing the criterion category locale availability mode. - -// Describes locale availability mode for a criterion availability - whether -// it's available globally, or a particular country with all languages, or a -// particular language with all countries, or a country-language pair. -message CriterionCategoryLocaleAvailabilityModeEnum { - // Enum containing the possible CriterionCategoryLocaleAvailabilityMode. - enum CriterionCategoryLocaleAvailabilityMode { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The category is available to campaigns of all locales. - ALL_LOCALES = 2; - - // The category is available to campaigns within a list of countries, - // regardless of language. - COUNTRY_AND_ALL_LANGUAGES = 3; - - // The category is available to campaigns within a list of languages, - // regardless of country. - LANGUAGE_AND_ALL_COUNTRIES = 4; - - // The category is available to campaigns within a list of country, language - // pairs. - COUNTRY_AND_LANGUAGE = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/criterion_system_serving_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/criterion_system_serving_status.proto deleted file mode 100644 index 3c9feb26b..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/criterion_system_serving_status.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CriterionSystemServingStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing approval status for the criterion. - -// Container for enum describing possible criterion system serving statuses. -message CriterionSystemServingStatusEnum { - // Enumerates criterion system serving statuses. - enum CriterionSystemServingStatus { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Eligible. - ELIGIBLE = 2; - - // Low search volume. - RARELY_SERVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/criterion_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/criterion_type.proto deleted file mode 100644 index 1fb9d48d2..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/criterion_type.proto +++ /dev/null @@ -1,144 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CriterionTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing criteria types. - -// The possible types of a criterion. -message CriterionTypeEnum { - // Enum describing possible criterion types. - enum CriterionType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Keyword, for example, 'mars cruise'. - KEYWORD = 2; - - // Placement, also known as Website, for example, 'www.flowers4sale.com' - PLACEMENT = 3; - - // Mobile application categories to target. - MOBILE_APP_CATEGORY = 4; - - // Mobile applications to target. - MOBILE_APPLICATION = 5; - - // Devices to target. - DEVICE = 6; - - // Locations to target. - LOCATION = 7; - - // Listing groups to target. - LISTING_GROUP = 8; - - // Ad Schedule. - AD_SCHEDULE = 9; - - // Age range. - AGE_RANGE = 10; - - // Gender. - GENDER = 11; - - // Income Range. - INCOME_RANGE = 12; - - // Parental status. - PARENTAL_STATUS = 13; - - // YouTube Video. - YOUTUBE_VIDEO = 14; - - // YouTube Channel. - YOUTUBE_CHANNEL = 15; - - // User list. - USER_LIST = 16; - - // Proximity. - PROXIMITY = 17; - - // A topic target on the display network (for example, "Pets & Animals"). - TOPIC = 18; - - // Listing scope to target. - LISTING_SCOPE = 19; - - // Language. - LANGUAGE = 20; - - // IpBlock. - IP_BLOCK = 21; - - // Content Label for category exclusion. - CONTENT_LABEL = 22; - - // Carrier. - CARRIER = 23; - - // A category the user is interested in. - USER_INTEREST = 24; - - // Webpage criterion for dynamic search ads. - WEBPAGE = 25; - - // Operating system version. - OPERATING_SYSTEM_VERSION = 26; - - // App payment model. - APP_PAYMENT_MODEL = 27; - - // Mobile device. - MOBILE_DEVICE = 28; - - // Custom affinity. - CUSTOM_AFFINITY = 29; - - // Custom intent. - CUSTOM_INTENT = 30; - - // Location group. - LOCATION_GROUP = 31; - - // Custom audience - CUSTOM_AUDIENCE = 32; - - // Combined audience - COMBINED_AUDIENCE = 33; - - // Smart Campaign keyword theme - KEYWORD_THEME = 34; - - // Audience - AUDIENCE = 35; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/custom_audience_member_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/custom_audience_member_type.proto deleted file mode 100644 index e47276f8c..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/custom_audience_member_type.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomAudienceMemberTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing custom audience member type. - -// The type of custom audience member. -message CustomAudienceMemberTypeEnum { - // Enum containing possible custom audience member types. - enum CustomAudienceMemberType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Users whose interests or actions are described by a keyword. - KEYWORD = 2; - - // Users who have interests related to the website's content. - URL = 3; - - // Users who visit place types described by a place category. - PLACE_CATEGORY = 4; - - // Users who have installed a mobile app. - APP = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/custom_audience_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/custom_audience_status.proto deleted file mode 100644 index 9bd6752f5..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/custom_audience_status.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomAudienceStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing custom audience status. - -// The status of custom audience. -message CustomAudienceStatusEnum { - // Enum containing possible custom audience statuses. - enum CustomAudienceStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Enabled status - custom audience is enabled and can be targeted. - ENABLED = 2; - - // Removed status - custom audience is removed and cannot be used for - // targeting. - REMOVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/custom_audience_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/custom_audience_type.proto deleted file mode 100644 index 1c056d5a9..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/custom_audience_type.proto +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomAudienceTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing custom audience type. - -// The types of custom audience. -message CustomAudienceTypeEnum { - // Enum containing possible custom audience types. - enum CustomAudienceType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Google Ads will auto-select the best interpretation at serving - // time. - AUTO = 2; - - // Matches users by their interests. - INTEREST = 3; - - // Matches users by topics they are researching or products they are - // considering for purchase. - PURCHASE_INTENT = 4; - - // Matches users by what they searched on Google Search. - SEARCH = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/custom_conversion_goal_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/custom_conversion_goal_status.proto deleted file mode 100644 index 89c2d1c8c..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/custom_conversion_goal_status.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomConversionGoalStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing custom conversion goal status. - -// Container for enum describing possible statuses of a custom conversion goal. -message CustomConversionGoalStatusEnum { - // The possible statuses of a custom conversion goal. - enum CustomConversionGoalStatus { - // The status has not been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - UNKNOWN = 1; - - // The custom conversion goal is enabled. - ENABLED = 2; - - // The custom conversion goal is removed. - REMOVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/custom_interest_member_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/custom_interest_member_type.proto deleted file mode 100644 index 07cec98c9..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/custom_interest_member_type.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomInterestMemberTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing custom interest member type. - -// The types of custom interest member, either KEYWORD or URL. -message CustomInterestMemberTypeEnum { - // Enum containing possible custom interest member types. - enum CustomInterestMemberType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Custom interest member type KEYWORD. - KEYWORD = 2; - - // Custom interest member type URL. - URL = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/custom_interest_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/custom_interest_status.proto deleted file mode 100644 index 5df6a5646..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/custom_interest_status.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomInterestStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing custom interest status. - -// The status of custom interest. -message CustomInterestStatusEnum { - // Enum containing possible custom interest types. - enum CustomInterestStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Enabled status - custom interest is enabled and can be targeted to. - ENABLED = 2; - - // Removed status - custom interest is removed and cannot be used for - // targeting. - REMOVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/custom_interest_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/custom_interest_type.proto deleted file mode 100644 index 4257b3ad5..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/custom_interest_type.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomInterestTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing custom interest type. - -// The types of custom interest. -message CustomInterestTypeEnum { - // Enum containing possible custom interest types. - enum CustomInterestType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Allows brand advertisers to define custom affinity audience lists. - CUSTOM_AFFINITY = 2; - - // Allows advertisers to define custom intent audience lists. - CUSTOM_INTENT = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/custom_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v12/enums/custom_placeholder_field.proto deleted file mode 100644 index a6a748eb4..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/custom_placeholder_field.proto +++ /dev/null @@ -1,127 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing Custom placeholder fields. - -// Values for Custom placeholder fields. -// For more information about dynamic remarketing feeds, see -// https://support.google.com/google-ads/answer/6053288. -message CustomPlaceholderFieldEnum { - // Possible values for Custom placeholder fields. - enum CustomPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. Required. Combination ID and ID2 must be unique per - // offer. - ID = 2; - - // Data Type: STRING. Combination ID and ID2 must be unique per offer. - ID2 = 3; - - // Data Type: STRING. Required. Main headline with product name to be shown - // in dynamic ad. - ITEM_TITLE = 4; - - // Data Type: STRING. Optional text to be shown in the image ad. - ITEM_SUBTITLE = 5; - - // Data Type: STRING. Optional description of the product to be shown in the - // ad. - ITEM_DESCRIPTION = 6; - - // Data Type: STRING. Full address of your offer or service, including - // postal code. This will be used to identify the closest product to the - // user when there are multiple offers in the feed that are relevant to the - // user. - ITEM_ADDRESS = 7; - - // Data Type: STRING. Price to be shown in the ad. - // Example: "100.00 USD" - PRICE = 8; - - // Data Type: STRING. Formatted price to be shown in the ad. - // Example: "Starting at $100.00 USD", "$80 - $100" - FORMATTED_PRICE = 9; - - // Data Type: STRING. Sale price to be shown in the ad. - // Example: "80.00 USD" - SALE_PRICE = 10; - - // Data Type: STRING. Formatted sale price to be shown in the ad. - // Example: "On sale for $80.00", "$60 - $80" - FORMATTED_SALE_PRICE = 11; - - // Data Type: URL. Image to be displayed in the ad. Highly recommended for - // image ads. - IMAGE_URL = 12; - - // Data Type: STRING. Used as a recommendation engine signal to serve items - // in the same category. - ITEM_CATEGORY = 13; - - // Data Type: URL_LIST. Final URLs for the ad when using Upgraded - // URLs. User will be redirected to these URLs when they click on an ad, or - // when they click on a specific product for ads that have multiple - // products. - FINAL_URLS = 14; - - // Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - // URLs. - FINAL_MOBILE_URLS = 15; - - // Data Type: URL. Tracking template for the ad when using Upgraded URLs. - TRACKING_URL = 16; - - // Data Type: STRING_LIST. Keywords used for product retrieval. - CONTEXTUAL_KEYWORDS = 17; - - // Data Type: STRING. Android app link. Must be formatted as: - // android-app://{package_id}/{scheme}/{host_path}. - // The components are defined as follows: - // package_id: app ID as specified in Google Play. - // scheme: the scheme to pass to the application. Can be HTTP, or a custom - // scheme. - // host_path: identifies the specific content within your application. - ANDROID_APP_LINK = 18; - - // Data Type: STRING_LIST. List of recommended IDs to show together with - // this item. - SIMILAR_IDS = 19; - - // Data Type: STRING. iOS app link. - IOS_APP_LINK = 20; - - // Data Type: INT64. iOS app store ID. - IOS_APP_STORE_ID = 21; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/customer_match_upload_key_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/customer_match_upload_key_type.proto deleted file mode 100644 index 42454b1b3..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/customer_match_upload_key_type.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomerMatchUploadKeyTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Indicates what type of data are the user list's members matched from. -message CustomerMatchUploadKeyTypeEnum { - // Enum describing possible customer match upload key types. - enum CustomerMatchUploadKeyType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Members are matched from customer info such as email address, phone - // number or physical address. - CONTACT_INFO = 2; - - // Members are matched from a user id generated and assigned by the - // advertiser. - CRM_ID = 3; - - // Members are matched from mobile advertising ids. - MOBILE_ADVERTISING_ID = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/customer_pay_per_conversion_eligibility_failure_reason.proto b/third_party/googleapis/google/ads/googleads/v12/enums/customer_pay_per_conversion_eligibility_failure_reason.proto deleted file mode 100644 index 76c990c4f..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/customer_pay_per_conversion_eligibility_failure_reason.proto +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomerPayPerConversionEligibilityFailureReasonProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing pay per conversion eligibility failure reasons. - -// Container for enum describing reasons why a customer is not eligible to use -// PaymentMode.CONVERSIONS. -message CustomerPayPerConversionEligibilityFailureReasonEnum { - // Enum describing possible reasons a customer is not eligible to use - // PaymentMode.CONVERSIONS. - enum CustomerPayPerConversionEligibilityFailureReason { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Customer does not have enough conversions. - NOT_ENOUGH_CONVERSIONS = 2; - - // Customer's conversion lag is too high. - CONVERSION_LAG_TOO_HIGH = 3; - - // Customer uses shared budgets. - HAS_CAMPAIGN_WITH_SHARED_BUDGET = 4; - - // Customer has conversions with ConversionActionType.UPLOAD_CLICKS. - HAS_UPLOAD_CLICKS_CONVERSION = 5; - - // Customer's average daily spend is too high. - AVERAGE_DAILY_SPEND_TOO_HIGH = 6; - - // Customer's eligibility has not yet been calculated by the Google Ads - // backend. Check back soon. - ANALYSIS_NOT_COMPLETE = 7; - - // Customer is not eligible due to other reasons. - OTHER = 8; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/customer_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/customer_status.proto deleted file mode 100644 index a4c62be19..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/customer_status.proto +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomerStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Container for enum describing possible statuses of a customer. -message CustomerStatusEnum { - // Possible statuses of a customer. - enum CustomerStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Indicates an active account able to serve ads. - ENABLED = 2; - - // Indicates a canceled account unable to serve ads. - // Can be reactivated by an admin user. - CANCELED = 3; - - // Indicates a suspended account unable to serve ads. - // May only be activated by Google support. - SUSPENDED = 4; - - // Indicates a closed account unable to serve ads. - // Test account will also have CLOSED status. - // Status is permanent and may not be reopened. - CLOSED = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/customizer_attribute_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/customizer_attribute_status.proto deleted file mode 100644 index 26214b99f..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/customizer_attribute_status.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomizerAttributeStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing customizer attribute status. - -// Container for enum describing possible statuses of a customizer attribute. -message CustomizerAttributeStatusEnum { - // The possible statuses of a customizer attribute. - enum CustomizerAttributeStatus { - // The status has not been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - UNKNOWN = 1; - - // The customizer attribute is enabled. - ENABLED = 2; - - // The customizer attribute is removed. - REMOVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/customizer_attribute_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/customizer_attribute_type.proto deleted file mode 100644 index 74d325a8d..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/customizer_attribute_type.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomizerAttributeTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing customizer attribute type. - -// Container for enum describing possible types of a customizer attribute. -message CustomizerAttributeTypeEnum { - // The possible types of a customizer attribute. - enum CustomizerAttributeType { - // The status has not been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - UNKNOWN = 1; - - // Text customizer. - TEXT = 2; - - // Number customizer. - NUMBER = 3; - - // Price customizer consisting of a number and a currency. - PRICE = 4; - - // Percentage customizer consisting of a number and a '%'. - PERCENT = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/customizer_value_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/customizer_value_status.proto deleted file mode 100644 index 1ebd2193d..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/customizer_value_status.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomizerValueStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing customizer value status. - -// Container for enum describing possible statuses of a customizer value. -message CustomizerValueStatusEnum { - // The possible statuses of a customizer value. - enum CustomizerValueStatus { - // The status has not been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - UNKNOWN = 1; - - // The customizer value is enabled. - ENABLED = 2; - - // The customizer value is removed. - REMOVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/data_driven_model_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/data_driven_model_status.proto deleted file mode 100644 index af0b558f8..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/data_driven_model_status.proto +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "DataDrivenModelStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing data-driven model status. - -// Container for enum indicating data driven model status. -message DataDrivenModelStatusEnum { - // Enumerates data driven model statuses. - enum DataDrivenModelStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The data driven model is available. - AVAILABLE = 2; - - // The data driven model is stale. It hasn't been updated for at least 7 - // days. It is still being used, but will become expired if it does not get - // updated for 30 days. - STALE = 3; - - // The data driven model expired. It hasn't been updated for at least 30 - // days and cannot be used. Most commonly this is because there hasn't been - // the required number of events in a recent 30-day period. - EXPIRED = 4; - - // The data driven model has never been generated. Most commonly this is - // because there has never been the required number of events in any 30-day - // period. - NEVER_GENERATED = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/day_of_week.proto b/third_party/googleapis/google/ads/googleads/v12/enums/day_of_week.proto deleted file mode 100644 index 6198f1118..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/day_of_week.proto +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "DayOfWeekProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing days of week. - -// Container for enumeration of days of the week, for example, "Monday". -message DayOfWeekEnum { - // Enumerates days of the week, for example, "Monday". - enum DayOfWeek { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Monday. - MONDAY = 2; - - // Tuesday. - TUESDAY = 3; - - // Wednesday. - WEDNESDAY = 4; - - // Thursday. - THURSDAY = 5; - - // Friday. - FRIDAY = 6; - - // Saturday. - SATURDAY = 7; - - // Sunday. - SUNDAY = 8; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/device.proto b/third_party/googleapis/google/ads/googleads/v12/enums/device.proto deleted file mode 100644 index 882c21731..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/device.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "DeviceProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing devices. - -// Container for enumeration of Google Ads devices available for targeting. -message DeviceEnum { - // Enumerates Google Ads devices available for targeting. - enum Device { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Mobile devices with full browsers. - MOBILE = 2; - - // Tablets with full browsers. - TABLET = 3; - - // Computers. - DESKTOP = 4; - - // Smart TVs and game consoles. - CONNECTED_TV = 6; - - // Other device types. - OTHER = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/display_ad_format_setting.proto b/third_party/googleapis/google/ads/googleads/v12/enums/display_ad_format_setting.proto deleted file mode 100644 index 85f0f6e92..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/display_ad_format_setting.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "DisplayAdFormatSettingProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing display ad format settings. - -// Container for display ad format settings. -message DisplayAdFormatSettingEnum { - // Enumerates display ad format settings. - enum DisplayAdFormatSetting { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Text, image and native formats. - ALL_FORMATS = 2; - - // Text and image formats. - NON_NATIVE = 3; - - // Native format, for example, the format rendering is controlled by the - // publisher and not by Google. - NATIVE = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/display_upload_product_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/display_upload_product_type.proto deleted file mode 100644 index 15ec5a79c..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/display_upload_product_type.proto +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "DisplayUploadProductTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing display upload product types. - -// Container for display upload product types. Product types that have the word -// "DYNAMIC" in them must be associated with a campaign that has a dynamic -// remarketing feed. See https://support.google.com/google-ads/answer/6053288 -// for more info about dynamic remarketing. Other product types are regarded -// as "static" and do not have this requirement. -message DisplayUploadProductTypeEnum { - // Enumerates display upload product types. - enum DisplayUploadProductType { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // HTML5 upload ad. This product type requires the upload_media_bundle - // field in DisplayUploadAdInfo to be set. - HTML5_UPLOAD_AD = 2; - - // Dynamic HTML5 education ad. This product type requires the - // upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - // used in an education campaign. - DYNAMIC_HTML5_EDUCATION_AD = 3; - - // Dynamic HTML5 flight ad. This product type requires the - // upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - // used in a flight campaign. - DYNAMIC_HTML5_FLIGHT_AD = 4; - - // Dynamic HTML5 hotel and rental ad. This product type requires the - // upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - // used in a hotel campaign. - DYNAMIC_HTML5_HOTEL_RENTAL_AD = 5; - - // Dynamic HTML5 job ad. This product type requires the - // upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - // used in a job campaign. - DYNAMIC_HTML5_JOB_AD = 6; - - // Dynamic HTML5 local ad. This product type requires the - // upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - // used in a local campaign. - DYNAMIC_HTML5_LOCAL_AD = 7; - - // Dynamic HTML5 real estate ad. This product type requires the - // upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - // used in a real estate campaign. - DYNAMIC_HTML5_REAL_ESTATE_AD = 8; - - // Dynamic HTML5 custom ad. This product type requires the - // upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - // used in a custom campaign. - DYNAMIC_HTML5_CUSTOM_AD = 9; - - // Dynamic HTML5 travel ad. This product type requires the - // upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - // used in a travel campaign. - DYNAMIC_HTML5_TRAVEL_AD = 10; - - // Dynamic HTML5 hotel ad. This product type requires the - // upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - // used in a hotel campaign. - DYNAMIC_HTML5_HOTEL_AD = 11; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/distance_bucket.proto b/third_party/googleapis/google/ads/googleads/v12/enums/distance_bucket.proto deleted file mode 100644 index 9f3ae98c2..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/distance_bucket.proto +++ /dev/null @@ -1,125 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "DistanceBucketProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing distance buckets. - -// Container for distance buckets of a user's distance from an advertiser's -// location extension. -message DistanceBucketEnum { - // The distance bucket for a user's distance from an advertiser's location - // extension. - enum DistanceBucket { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // User was within 700m of the location. - WITHIN_700M = 2; - - // User was within 1KM of the location. - WITHIN_1KM = 3; - - // User was within 5KM of the location. - WITHIN_5KM = 4; - - // User was within 10KM of the location. - WITHIN_10KM = 5; - - // User was within 15KM of the location. - WITHIN_15KM = 6; - - // User was within 20KM of the location. - WITHIN_20KM = 7; - - // User was within 25KM of the location. - WITHIN_25KM = 8; - - // User was within 30KM of the location. - WITHIN_30KM = 9; - - // User was within 35KM of the location. - WITHIN_35KM = 10; - - // User was within 40KM of the location. - WITHIN_40KM = 11; - - // User was within 45KM of the location. - WITHIN_45KM = 12; - - // User was within 50KM of the location. - WITHIN_50KM = 13; - - // User was within 55KM of the location. - WITHIN_55KM = 14; - - // User was within 60KM of the location. - WITHIN_60KM = 15; - - // User was within 65KM of the location. - WITHIN_65KM = 16; - - // User was beyond 65KM of the location. - BEYOND_65KM = 17; - - // User was within 0.7 miles of the location. - WITHIN_0_7MILES = 18; - - // User was within 1 mile of the location. - WITHIN_1MILE = 19; - - // User was within 5 miles of the location. - WITHIN_5MILES = 20; - - // User was within 10 miles of the location. - WITHIN_10MILES = 21; - - // User was within 15 miles of the location. - WITHIN_15MILES = 22; - - // User was within 20 miles of the location. - WITHIN_20MILES = 23; - - // User was within 25 miles of the location. - WITHIN_25MILES = 24; - - // User was within 30 miles of the location. - WITHIN_30MILES = 25; - - // User was within 35 miles of the location. - WITHIN_35MILES = 26; - - // User was within 40 miles of the location. - WITHIN_40MILES = 27; - - // User was beyond 40 miles of the location. - BEYOND_40MILES = 28; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/dsa_page_feed_criterion_field.proto b/third_party/googleapis/google/ads/googleads/v12/enums/dsa_page_feed_criterion_field.proto deleted file mode 100644 index e83ea466a..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/dsa_page_feed_criterion_field.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "DsaPageFeedCriterionFieldProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing Dynamic Search Ad Page Feed criterion fields. - -// Values for Dynamic Search Ad Page Feed criterion fields. -message DsaPageFeedCriterionFieldEnum { - // Possible values for Dynamic Search Ad Page Feed criterion fields. - enum DsaPageFeedCriterionField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: URL or URL_LIST. URL of the web page you want to target. - PAGE_URL = 2; - - // Data Type: STRING_LIST. The labels that will help you target ads within - // your page feed. - LABEL = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/education_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v12/enums/education_placeholder_field.proto deleted file mode 100644 index 0272f3474..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/education_placeholder_field.proto +++ /dev/null @@ -1,109 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "EducationPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing Education placeholder fields. - -// Values for Education placeholder fields. -// For more information about dynamic remarketing feeds, see -// https://support.google.com/google-ads/answer/6053288. -message EducationPlaceholderFieldEnum { - // Possible values for Education placeholder fields. - enum EducationPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. Required. Combination of PROGRAM ID and LOCATION ID - // must be unique per offer. - PROGRAM_ID = 2; - - // Data Type: STRING. Combination of PROGRAM ID and LOCATION ID must be - // unique per offer. - LOCATION_ID = 3; - - // Data Type: STRING. Required. Main headline with program name to be shown - // in dynamic ad. - PROGRAM_NAME = 4; - - // Data Type: STRING. Area of study that can be shown in dynamic ad. - AREA_OF_STUDY = 5; - - // Data Type: STRING. Description of program that can be shown in dynamic - // ad. - PROGRAM_DESCRIPTION = 6; - - // Data Type: STRING. Name of school that can be shown in dynamic ad. - SCHOOL_NAME = 7; - - // Data Type: STRING. Complete school address, including postal code. - ADDRESS = 8; - - // Data Type: URL. Image to be displayed in ads. - THUMBNAIL_IMAGE_URL = 9; - - // Data Type: URL. Alternative hosted file of image to be used in the ad. - ALTERNATIVE_THUMBNAIL_IMAGE_URL = 10; - - // Data Type: URL_LIST. Required. Final URLs to be used in ad when using - // Upgraded URLs; the more specific the better (for example, the individual - // URL of a specific program and its location). - FINAL_URLS = 11; - - // Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - // URLs. - FINAL_MOBILE_URLS = 12; - - // Data Type: URL. Tracking template for the ad when using Upgraded URLs. - TRACKING_URL = 13; - - // Data Type: STRING_LIST. Keywords used for product retrieval. - CONTEXTUAL_KEYWORDS = 14; - - // Data Type: STRING. Android app link. Must be formatted as: - // android-app://{package_id}/{scheme}/{host_path}. - // The components are defined as follows: - // package_id: app ID as specified in Google Play. - // scheme: the scheme to pass to the application. Can be HTTP, or a custom - // scheme. - // host_path: identifies the specific content within your application. - ANDROID_APP_LINK = 15; - - // Data Type: STRING_LIST. List of recommended program IDs to show together - // with this item. - SIMILAR_PROGRAM_IDS = 16; - - // Data Type: STRING. iOS app link. - IOS_APP_LINK = 17; - - // Data Type: INT64. iOS app store ID. - IOS_APP_STORE_ID = 18; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/experiment_metric.proto b/third_party/googleapis/google/ads/googleads/v12/enums/experiment_metric.proto deleted file mode 100644 index 1d0a99e84..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/experiment_metric.proto +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ExperimentMetricProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing experiment metric. - -// Container for enum describing the type of experiment metric. -message ExperimentMetricEnum { - // The type of experiment metric. - enum ExperimentMetric { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // The goal of the experiment is clicks. - CLICKS = 2; - - // The goal of the experiment is impressions. - IMPRESSIONS = 3; - - // The goal of the experiment is cost. - COST = 4; - - // The goal of the experiment is conversion rate. - CONVERSIONS_PER_INTERACTION_RATE = 5; - - // The goal of the experiment is cost per conversion. - COST_PER_CONVERSION = 6; - - // The goal of the experiment is conversion value per cost. - CONVERSIONS_VALUE_PER_COST = 7; - - // The goal of the experiment is avg cpc. - AVERAGE_CPC = 8; - - // The goal of the experiment is ctr. - CTR = 9; - - // The goal of the experiment is incremental conversions. - INCREMENTAL_CONVERSIONS = 10; - - // The goal of the experiment is completed video views. - COMPLETED_VIDEO_VIEWS = 11; - - // The goal of the experiment is custom algorithms. - CUSTOM_ALGORITHMS = 12; - - // The goal of the experiment is conversions. - CONVERSIONS = 13; - - // The goal of the experiment is conversion value. - CONVERSION_VALUE = 14; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/experiment_metric_direction.proto b/third_party/googleapis/google/ads/googleads/v12/enums/experiment_metric_direction.proto deleted file mode 100644 index 9012564e2..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/experiment_metric_direction.proto +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ExperimentMetricDirectionProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing experiment metric direction. - -// Container for enum describing the type of experiment metric direction. -message ExperimentMetricDirectionEnum { - // The type of experiment metric direction. - enum ExperimentMetricDirection { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // The goal of the experiment is to not change the metric. - NO_CHANGE = 2; - - // The goal of the experiment is to increate the metric. - INCREASE = 3; - - // The goal of the experiment is to decrease the metric. - DECREASE = 4; - - // The goal of the experiment is to either not change or increase the - // metric. - NO_CHANGE_OR_INCREASE = 5; - - // The goal of the experiment is to either not change or decrease the - // metric. - NO_CHANGE_OR_DECREASE = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/experiment_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/experiment_status.proto deleted file mode 100644 index cabb87715..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/experiment_status.proto +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ExperimentStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing experiment status. - -// Container for enum describing the experiment status. -message ExperimentStatusEnum { - // The status of the experiment. - enum ExperimentStatus { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // The experiment is enabled. - ENABLED = 2; - - // The experiment has been removed. - REMOVED = 3; - - // The experiment has been halted. - // This status can be set from ENABLED status through API. - HALTED = 4; - - // The experiment will be promoted out of experimental status. - PROMOTED = 5; - - // Initial status of the experiment. - SETUP = 6; - - // The experiment's campaigns are pending materialization. - // This status can be set from SETUP status through API. - INITIATED = 7; - - // The experiment has been graduated. - GRADUATED = 8; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/experiment_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/experiment_type.proto deleted file mode 100644 index 55f81c558..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/experiment_type.proto +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ExperimentTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing experiment type. - -// Container for enum describing the type of experiment. -message ExperimentTypeEnum { - // The type of the experiment. - enum ExperimentType { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // This is a DISPLAY_AND_VIDEO_360 experiment. - DISPLAY_AND_VIDEO_360 = 2; - - // This is an ad variation experiment. - AD_VARIATION = 3; - - // A custom experiment consisting of Video campaigns. - YOUTUBE_CUSTOM = 5; - - // A custom experiment consisting of display campaigns. - DISPLAY_CUSTOM = 6; - - // A custom experiment consisting of search campaigns. - SEARCH_CUSTOM = 7; - - // An experiment that compares bidding strategies for display campaigns. - DISPLAY_AUTOMATED_BIDDING_STRATEGY = 8; - - // An experiment that compares bidding strategies for search campaigns." - SEARCH_AUTOMATED_BIDDING_STRATEGY = 9; - - // An experiment that compares bidding strategies for shopping campaigns. - SHOPPING_AUTOMATED_BIDDING_STRATEGY = 10; - - // DEPRECATED. A smart matching experiment with search campaigns. - SMART_MATCHING = 11; - - // A custom experiment consisting of hotel campaigns. - HOTEL_CUSTOM = 12; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/extension_setting_device.proto b/third_party/googleapis/google/ads/googleads/v12/enums/extension_setting_device.proto deleted file mode 100644 index 05658215b..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/extension_setting_device.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ExtensionSettingDeviceProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing extension setting device type. - -// Container for enum describing extension setting device types. -message ExtensionSettingDeviceEnum { - // Possible device types for an extension setting. - enum ExtensionSettingDevice { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Mobile. The extensions in the extension setting will only serve on - // mobile devices. - MOBILE = 2; - - // Desktop. The extensions in the extension setting will only serve on - // desktop devices. - DESKTOP = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/extension_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/extension_type.proto deleted file mode 100644 index 0c6266a32..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/extension_type.proto +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ExtensionTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing extension type. - -// Container for enum describing possible data types for an extension in an -// extension setting. -message ExtensionTypeEnum { - // Possible data types for an extension in an extension setting. - enum ExtensionType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // None. - NONE = 2; - - // App. - APP = 3; - - // Call. - CALL = 4; - - // Callout. - CALLOUT = 5; - - // Message. - MESSAGE = 6; - - // Price. - PRICE = 7; - - // Promotion. - PROMOTION = 8; - - // Sitelink. - SITELINK = 10; - - // Structured snippet. - STRUCTURED_SNIPPET = 11; - - // Location. - LOCATION = 12; - - // Affiliate location. - AFFILIATE_LOCATION = 13; - - // Hotel callout - HOTEL_CALLOUT = 15; - - // Image. - IMAGE = 16; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/external_conversion_source.proto b/third_party/googleapis/google/ads/googleads/v12/enums/external_conversion_source.proto deleted file mode 100644 index 52c744899..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/external_conversion_source.proto +++ /dev/null @@ -1,153 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ExternalConversionSourceProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Container for enum describing the external conversion source that is -// associated with a ConversionAction. -message ExternalConversionSourceEnum { - // The external conversion source that is associated with a ConversionAction. - enum ExternalConversionSource { - // Not specified. - UNSPECIFIED = 0; - - // Represents value unknown in this version. - UNKNOWN = 1; - - // Conversion that occurs when a user navigates to a particular webpage - // after viewing an ad; Displayed in Google Ads UI as 'Website'. - WEBPAGE = 2; - - // Conversion that comes from linked Google Analytics goal or transaction; - // Displayed in Google Ads UI as 'Analytics'. - ANALYTICS = 3; - - // Website conversion that is uploaded through ConversionUploadService; - // Displayed in Google Ads UI as 'Import from clicks'. - UPLOAD = 4; - - // Conversion that occurs when a user clicks on a call extension directly on - // an ad; Displayed in Google Ads UI as 'Calls from ads'. - AD_CALL_METRICS = 5; - - // Conversion that occurs when a user calls a dynamically-generated phone - // number (by installed javascript) from an advertiser's website after - // clicking on an ad; Displayed in Google Ads UI as 'Calls from website'. - WEBSITE_CALL_METRICS = 6; - - // Conversion that occurs when a user visits an advertiser's retail store - // after clicking on a Google ad; - // Displayed in Google Ads UI as 'Store visits'. - STORE_VISITS = 7; - - // Conversion that occurs when a user takes an in-app action such as a - // purchase in an Android app; - // Displayed in Google Ads UI as 'Android in-app action'. - ANDROID_IN_APP = 8; - - // Conversion that occurs when a user takes an in-app action such as a - // purchase in an iOS app; - // Displayed in Google Ads UI as 'iOS in-app action'. - IOS_IN_APP = 9; - - // Conversion that occurs when a user opens an iOS app for the first time; - // Displayed in Google Ads UI as 'iOS app install (first open)'. - IOS_FIRST_OPEN = 10; - - // Legacy app conversions that do not have an AppPlatform provided; - // Displayed in Google Ads UI as 'Mobile app'. - APP_UNSPECIFIED = 11; - - // Conversion that occurs when a user opens an Android app for the first - // time; Displayed in Google Ads UI as 'Android app install (first open)'. - ANDROID_FIRST_OPEN = 12; - - // Call conversion that is uploaded through ConversionUploadService; - // Displayed in Google Ads UI as 'Import from calls'. - UPLOAD_CALLS = 13; - - // Conversion that comes from a linked Firebase event; - // Displayed in Google Ads UI as 'Firebase'. - FIREBASE = 14; - - // Conversion that occurs when a user clicks on a mobile phone number; - // Displayed in Google Ads UI as 'Phone number clicks'. - CLICK_TO_CALL = 15; - - // Conversion that comes from Salesforce; - // Displayed in Google Ads UI as 'Salesforce.com'. - SALESFORCE = 16; - - // Conversion that comes from in-store purchases recorded by CRM; - // Displayed in Google Ads UI as 'Store sales (data partner)'. - STORE_SALES_CRM = 17; - - // Conversion that comes from in-store purchases from payment network; - // Displayed in Google Ads UI as 'Store sales (payment network)'. - STORE_SALES_PAYMENT_NETWORK = 18; - - // Codeless Google Play conversion; - // Displayed in Google Ads UI as 'Google Play'. - GOOGLE_PLAY = 19; - - // Conversion that comes from a linked third-party app analytics event; - // Displayed in Google Ads UI as 'Third-party app analytics'. - THIRD_PARTY_APP_ANALYTICS = 20; - - // Conversion that is controlled by Google Attribution. - GOOGLE_ATTRIBUTION = 21; - - // Store Sales conversion based on first-party or third-party merchant data - // uploads. Displayed in Google Ads UI as 'Store sales (direct upload)'. - STORE_SALES_DIRECT_UPLOAD = 23; - - // Store Sales conversion based on first-party or third-party merchant - // data uploads and/or from in-store purchases using cards from payment - // networks. Displayed in Google Ads UI as 'Store sales'. - STORE_SALES = 24; - - // Conversions imported from Search Ads 360 Floodlight data. - SEARCH_ADS_360 = 25; - - // Conversions that track local actions from Google's products and services - // after interacting with an ad. - GOOGLE_HOSTED = 27; - - // Conversions reported by Floodlight tags. - FLOODLIGHT = 29; - - // Conversions that come from Google Analytics specifically for Search Ads - // 360. Displayed in Google Ads UI as Analytics (SA360). - ANALYTICS_SEARCH_ADS_360 = 31; - - // Conversion that comes from a linked Firebase event for Search Ads 360. - FIREBASE_SEARCH_ADS_360 = 33; - - // Conversion that is reported by Floodlight for DV360. - DISPLAY_AND_VIDEO_360_FLOODLIGHT = 34; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/feed_attribute_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/feed_attribute_type.proto deleted file mode 100644 index 6cb6ca953..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/feed_attribute_type.proto +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedAttributeTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing feed attribute type. - -// Container for enum describing possible data types for a feed attribute. -message FeedAttributeTypeEnum { - // Possible data types for a feed attribute. - enum FeedAttributeType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Int64. - INT64 = 2; - - // Double. - DOUBLE = 3; - - // String. - STRING = 4; - - // Boolean. - BOOLEAN = 5; - - // Url. - URL = 6; - - // Datetime. - DATE_TIME = 7; - - // Int64 list. - INT64_LIST = 8; - - // Double (8 bytes) list. - DOUBLE_LIST = 9; - - // String list. - STRING_LIST = 10; - - // Boolean list. - BOOLEAN_LIST = 11; - - // Url list. - URL_LIST = 12; - - // Datetime list. - DATE_TIME_LIST = 13; - - // Price. - PRICE = 14; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/feed_item_quality_approval_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/feed_item_quality_approval_status.proto deleted file mode 100644 index 676277031..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/feed_item_quality_approval_status.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemQualityApprovalStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing feed item quality evaluation approval statuses. - -// Container for enum describing possible quality evaluation approval statuses -// of a feed item. -message FeedItemQualityApprovalStatusEnum { - // The possible quality evaluation approval statuses of a feed item. - enum FeedItemQualityApprovalStatus { - // No value has been specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Meets all quality expectations. - APPROVED = 2; - - // Does not meet some quality expectations. The specific reason is found in - // the quality_disapproval_reasons field. - DISAPPROVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/feed_item_quality_disapproval_reason.proto b/third_party/googleapis/google/ads/googleads/v12/enums/feed_item_quality_disapproval_reason.proto deleted file mode 100644 index 734f0a64b..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/feed_item_quality_disapproval_reason.proto +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemQualityDisapprovalReasonProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing feed item quality disapproval reasons. - -// Container for enum describing possible quality evaluation disapproval reasons -// of a feed item. -message FeedItemQualityDisapprovalReasonEnum { - // The possible quality evaluation disapproval reasons of a feed item. - enum FeedItemQualityDisapprovalReason { - // No value has been specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Price contains repetitive headers. - PRICE_TABLE_REPETITIVE_HEADERS = 2; - - // Price contains repetitive description. - PRICE_TABLE_REPETITIVE_DESCRIPTION = 3; - - // Price contains inconsistent items. - PRICE_TABLE_INCONSISTENT_ROWS = 4; - - // Price contains qualifiers in description. - PRICE_DESCRIPTION_HAS_PRICE_QUALIFIERS = 5; - - // Price contains an unsupported language. - PRICE_UNSUPPORTED_LANGUAGE = 6; - - // Price item header is not relevant to the price type. - PRICE_TABLE_ROW_HEADER_TABLE_TYPE_MISMATCH = 7; - - // Price item header has promotional text. - PRICE_TABLE_ROW_HEADER_HAS_PROMOTIONAL_TEXT = 8; - - // Price item description is not relevant to the item header. - PRICE_TABLE_ROW_DESCRIPTION_NOT_RELEVANT = 9; - - // Price item description contains promotional text. - PRICE_TABLE_ROW_DESCRIPTION_HAS_PROMOTIONAL_TEXT = 10; - - // Price item header and description are repetitive. - PRICE_TABLE_ROW_HEADER_DESCRIPTION_REPETITIVE = 11; - - // Price item is in a foreign language, nonsense, or can't be rated. - PRICE_TABLE_ROW_UNRATEABLE = 12; - - // Price item price is invalid or inaccurate. - PRICE_TABLE_ROW_PRICE_INVALID = 13; - - // Price item URL is invalid or irrelevant. - PRICE_TABLE_ROW_URL_INVALID = 14; - - // Price item header or description has price. - PRICE_HEADER_OR_DESCRIPTION_HAS_PRICE = 15; - - // Structured snippet values do not match the header. - STRUCTURED_SNIPPETS_HEADER_POLICY_VIOLATED = 16; - - // Structured snippet values are repeated. - STRUCTURED_SNIPPETS_REPEATED_VALUES = 17; - - // Structured snippet values violate editorial guidelines like punctuation. - STRUCTURED_SNIPPETS_EDITORIAL_GUIDELINES = 18; - - // Structured snippet contain promotional text. - STRUCTURED_SNIPPETS_HAS_PROMOTIONAL_TEXT = 19; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/feed_item_set_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/feed_item_set_status.proto deleted file mode 100644 index 4cd37d9ef..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/feed_item_set_status.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemSetStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing feed item set status. - -// Container for enum describing possible statuses of a feed item set. -message FeedItemSetStatusEnum { - // Possible statuses of a feed item set. - enum FeedItemSetStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Feed item set is enabled. - ENABLED = 2; - - // Feed item set has been removed. - REMOVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/feed_item_set_string_filter_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/feed_item_set_string_filter_type.proto deleted file mode 100644 index bf8aca461..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/feed_item_set_string_filter_type.proto +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemSetStringFilterTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// The type of string matching to be used for a dynamic FeedItemSet filter. -message FeedItemSetStringFilterTypeEnum { - // describe the possible types for a FeedItemSetStringFilter. - enum FeedItemSetStringFilterType { - // Not specified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The dynamic set filter will use exact string matching. - EXACT = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/feed_item_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/feed_item_status.proto deleted file mode 100644 index 33c18f819..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/feed_item_status.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing feed item status. - -// Container for enum describing possible statuses of a feed item. -message FeedItemStatusEnum { - // Possible statuses of a feed item. - enum FeedItemStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Feed item is enabled. - ENABLED = 2; - - // Feed item has been removed. - REMOVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/feed_item_target_device.proto b/third_party/googleapis/google/ads/googleads/v12/enums/feed_item_target_device.proto deleted file mode 100644 index 8834aa6cb..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/feed_item_target_device.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemTargetDeviceProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing feed item target device type. - -// Container for enum describing possible data types for a feed item target -// device. -message FeedItemTargetDeviceEnum { - // Possible data types for a feed item target device. - enum FeedItemTargetDevice { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Mobile. - MOBILE = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/feed_item_target_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/feed_item_target_status.proto deleted file mode 100644 index 7d9e65e41..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/feed_item_target_status.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemTargetStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing feed item target status. - -// Container for enum describing possible statuses of a feed item target. -message FeedItemTargetStatusEnum { - // Possible statuses of a feed item target. - enum FeedItemTargetStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Feed item target is enabled. - ENABLED = 2; - - // Feed item target has been removed. - REMOVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/feed_item_target_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/feed_item_target_type.proto deleted file mode 100644 index 70c5d7200..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/feed_item_target_type.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemTargetTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing feed item target type status. - -// Container for enum describing possible types of a feed item target. -message FeedItemTargetTypeEnum { - // Possible type of a feed item target. - enum FeedItemTargetType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Feed item targets a campaign. - CAMPAIGN = 2; - - // Feed item targets an ad group. - AD_GROUP = 3; - - // Feed item targets a criterion. - CRITERION = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/feed_item_validation_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/feed_item_validation_status.proto deleted file mode 100644 index 66b80062e..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/feed_item_validation_status.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemValidationStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing feed item validation statuses. - -// Container for enum describing possible validation statuses of a feed item. -message FeedItemValidationStatusEnum { - // The possible validation statuses of a feed item. - enum FeedItemValidationStatus { - // No value has been specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Validation pending. - PENDING = 2; - - // An error was found. - INVALID = 3; - - // Feed item is semantically well-formed. - VALID = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/feed_link_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/feed_link_status.proto deleted file mode 100644 index 91c86e177..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/feed_link_status.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedLinkStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing status of a feed link. - -// Container for an enum describing possible statuses of a feed link. -message FeedLinkStatusEnum { - // Possible statuses of a feed link. - enum FeedLinkStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Feed link is enabled. - ENABLED = 2; - - // Feed link has been removed. - REMOVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/feed_mapping_criterion_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/feed_mapping_criterion_type.proto deleted file mode 100644 index ba203d779..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/feed_mapping_criterion_type.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedMappingCriterionTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing criterion types for feed mappings. - -// Container for enum describing possible criterion types for a feed mapping. -message FeedMappingCriterionTypeEnum { - // Possible placeholder types for a feed mapping. - enum FeedMappingCriterionType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Allows campaign targeting at locations within a location feed. - LOCATION_EXTENSION_TARGETING = 4; - - // Allows url targeting for your dynamic search ads within a page feed. - DSA_PAGE_FEED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/feed_mapping_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/feed_mapping_status.proto deleted file mode 100644 index d150ab237..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/feed_mapping_status.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedMappingStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing feed mapping status. - -// Container for enum describing possible statuses of a feed mapping. -message FeedMappingStatusEnum { - // Possible statuses of a feed mapping. - enum FeedMappingStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Feed mapping is enabled. - ENABLED = 2; - - // Feed mapping has been removed. - REMOVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/feed_origin.proto b/third_party/googleapis/google/ads/googleads/v12/enums/feed_origin.proto deleted file mode 100644 index 8ea5d73b8..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/feed_origin.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedOriginProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing feed origin. - -// Container for enum describing possible values for a feed origin. -message FeedOriginEnum { - // Possible values for a feed origin. - enum FeedOrigin { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The FeedAttributes for this Feed are managed by the - // user. Users can add FeedAttributes to this Feed. - USER = 2; - - // The FeedAttributes for an GOOGLE Feed are created by Google. A feed of - // this type is maintained by Google and will have the correct attributes - // for the placeholder type of the feed. - GOOGLE = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/feed_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/feed_status.proto deleted file mode 100644 index e56b4210c..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/feed_status.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing feed status. - -// Container for enum describing possible statuses of a feed. -message FeedStatusEnum { - // Possible statuses of a feed. - enum FeedStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Feed is enabled. - ENABLED = 2; - - // Feed has been removed. - REMOVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/flight_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v12/enums/flight_placeholder_field.proto deleted file mode 100644 index 5549ded33..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/flight_placeholder_field.proto +++ /dev/null @@ -1,116 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FlightsPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing Flight placeholder fields. - -// Values for Flight placeholder fields. -// For more information about dynamic remarketing feeds, see -// https://support.google.com/google-ads/answer/6053288. -message FlightPlaceholderFieldEnum { - // Possible values for Flight placeholder fields. - enum FlightPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. Required. Destination id. Example: PAR, LON. - // For feed items that only have destination id, destination id must be a - // unique key. For feed items that have both destination id and origin id, - // then the combination must be a unique key. - DESTINATION_ID = 2; - - // Data Type: STRING. Origin id. Example: PAR, LON. - // Optional. Combination of destination id and origin id must be unique per - // offer. - ORIGIN_ID = 3; - - // Data Type: STRING. Required. Main headline with product name to be shown - // in dynamic ad. - FLIGHT_DESCRIPTION = 4; - - // Data Type: STRING. Shorter names are recommended. - ORIGIN_NAME = 5; - - // Data Type: STRING. Shorter names are recommended. - DESTINATION_NAME = 6; - - // Data Type: STRING. Price to be shown in the ad. - // Example: "100.00 USD" - FLIGHT_PRICE = 7; - - // Data Type: STRING. Formatted price to be shown in the ad. - // Example: "Starting at $100.00 USD", "$80 - $100" - FORMATTED_PRICE = 8; - - // Data Type: STRING. Sale price to be shown in the ad. - // Example: "80.00 USD" - FLIGHT_SALE_PRICE = 9; - - // Data Type: STRING. Formatted sale price to be shown in the ad. - // Example: "On sale for $80.00", "$60 - $80" - FORMATTED_SALE_PRICE = 10; - - // Data Type: URL. Image to be displayed in the ad. - IMAGE_URL = 11; - - // Data Type: URL_LIST. Required. Final URLs for the ad when using Upgraded - // URLs. User will be redirected to these URLs when they click on an ad, or - // when they click on a specific flight for ads that show multiple - // flights. - FINAL_URLS = 12; - - // Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - // URLs. - FINAL_MOBILE_URLS = 13; - - // Data Type: URL. Tracking template for the ad when using Upgraded URLs. - TRACKING_URL = 14; - - // Data Type: STRING. Android app link. Must be formatted as: - // android-app://{package_id}/{scheme}/{host_path}. - // The components are defined as follows: - // package_id: app ID as specified in Google Play. - // scheme: the scheme to pass to the application. Can be HTTP, or a custom - // scheme. - // host_path: identifies the specific content within your application. - ANDROID_APP_LINK = 15; - - // Data Type: STRING_LIST. List of recommended destination IDs to show - // together with this item. - SIMILAR_DESTINATION_IDS = 16; - - // Data Type: STRING. iOS app link. - IOS_APP_LINK = 17; - - // Data Type: INT64. iOS app store ID. - IOS_APP_STORE_ID = 18; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/frequency_cap_event_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/frequency_cap_event_type.proto deleted file mode 100644 index ceded8b4d..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/frequency_cap_event_type.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FrequencyCapEventTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing frequency caps. - -// Container for enum describing the type of event that the cap applies to. -message FrequencyCapEventTypeEnum { - // The type of event that the cap applies to (for example, impression). - enum FrequencyCapEventType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The cap applies on ad impressions. - IMPRESSION = 2; - - // The cap applies on video ad views. - VIDEO_VIEW = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/frequency_cap_level.proto b/third_party/googleapis/google/ads/googleads/v12/enums/frequency_cap_level.proto deleted file mode 100644 index 42d927dd8..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/frequency_cap_level.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FrequencyCapLevelProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing frequency caps. - -// Container for enum describing the level on which the cap is to be applied. -message FrequencyCapLevelEnum { - // The level on which the cap is to be applied (e.g ad group ad, ad group). - // Cap is applied to all the resources of this level. - enum FrequencyCapLevel { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The cap is applied at the ad group ad level. - AD_GROUP_AD = 2; - - // The cap is applied at the ad group level. - AD_GROUP = 3; - - // The cap is applied at the campaign level. - CAMPAIGN = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/frequency_cap_time_unit.proto b/third_party/googleapis/google/ads/googleads/v12/enums/frequency_cap_time_unit.proto deleted file mode 100644 index b19372e44..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/frequency_cap_time_unit.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FrequencyCapTimeUnitProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing frequency caps. - -// Container for enum describing the unit of time the cap is defined at. -message FrequencyCapTimeUnitEnum { - // Unit of time the cap is defined at (for example, day, week). - enum FrequencyCapTimeUnit { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The cap would define limit per one day. - DAY = 2; - - // The cap would define limit per one week. - WEEK = 3; - - // The cap would define limit per one month. - MONTH = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/gender_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/gender_type.proto deleted file mode 100644 index e11c0f88a..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/gender_type.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "GenderTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing gender types. - -// Container for enum describing the type of demographic genders. -message GenderTypeEnum { - // The type of demographic genders (for example, female). - enum GenderType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Male. - MALE = 10; - - // Female. - FEMALE = 11; - - // Undetermined gender. - UNDETERMINED = 20; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/geo_target_constant_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/geo_target_constant_status.proto deleted file mode 100644 index bce105ee5..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/geo_target_constant_status.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "GeoTargetConstantStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing geo target constant statuses. - -// Container for describing the status of a geo target constant. -message GeoTargetConstantStatusEnum { - // The possible statuses of a geo target constant. - enum GeoTargetConstantStatus { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // The geo target constant is valid. - ENABLED = 2; - - // The geo target constant is obsolete and will be removed. - REMOVAL_PLANNED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/geo_targeting_restriction.proto b/third_party/googleapis/google/ads/googleads/v12/enums/geo_targeting_restriction.proto deleted file mode 100644 index 70c27617a..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/geo_targeting_restriction.proto +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "GeoTargetingRestrictionProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing GeoTargetingRestriction. - -// Message describing feed item geo targeting restriction. -message GeoTargetingRestrictionEnum { - // A restriction used to determine if the request context's - // geo should be matched. - enum GeoTargetingRestriction { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Indicates that request context should match the physical location of - // the user. - LOCATION_OF_PRESENCE = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/geo_targeting_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/geo_targeting_type.proto deleted file mode 100644 index 3bc9c6429..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/geo_targeting_type.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "GeoTargetingTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing geo targeting types. - -// Container for enum describing possible geo targeting types. -message GeoTargetingTypeEnum { - // The possible geo targeting types. - enum GeoTargetingType { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Location the user is interested in while making the query. - AREA_OF_INTEREST = 2; - - // Location of the user issuing the query. - LOCATION_OF_PRESENCE = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/goal_config_level.proto b/third_party/googleapis/google/ads/googleads/v12/enums/goal_config_level.proto deleted file mode 100644 index ff8068e49..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/goal_config_level.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "GoalConfigLevelProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing goal config level. - -// Container for enum describing possible goal config levels. -message GoalConfigLevelEnum { - // The possible goal config levels. Campaigns automatically inherit the - // effective conversion account's customer goals unless they have been - // configured with their own set of campaign goals. - enum GoalConfigLevel { - // The goal config level has not been specified. - UNSPECIFIED = 0; - - // The goal config level is not known in this version. - UNKNOWN = 1; - - // The goal config is defined at the customer level. - CUSTOMER = 2; - - // The goal config is defined at the campaign level. - CAMPAIGN = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/google_ads_field_category.proto b/third_party/googleapis/google/ads/googleads/v12/enums/google_ads_field_category.proto deleted file mode 100644 index d98a3429f..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/google_ads_field_category.proto +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "GoogleAdsFieldCategoryProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing GoogleAdsField categories. - -// Container for enum that determines if the described artifact is a resource -// or a field, and if it is a field, when it segments search queries. -message GoogleAdsFieldCategoryEnum { - // The category of the artifact. - enum GoogleAdsFieldCategory { - // Unspecified - UNSPECIFIED = 0; - - // Unknown - UNKNOWN = 1; - - // The described artifact is a resource. - RESOURCE = 2; - - // The described artifact is a field and is an attribute of a resource. - // Including a resource attribute field in a query may segment the query if - // the resource to which it is attributed segments the resource found in - // the FROM clause. - ATTRIBUTE = 3; - - // The described artifact is a field and always segments search queries. - SEGMENT = 5; - - // The described artifact is a field and is a metric. It never segments - // search queries. - METRIC = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/google_ads_field_data_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/google_ads_field_data_type.proto deleted file mode 100644 index 981f8acfc..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/google_ads_field_data_type.proto +++ /dev/null @@ -1,100 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "GoogleAdsFieldDataTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing GoogleAdsField data types. - -// Container holding the various data types. -message GoogleAdsFieldDataTypeEnum { - // These are the various types a GoogleAdsService artifact may take on. - enum GoogleAdsFieldDataType { - // Unspecified - UNSPECIFIED = 0; - - // Unknown - UNKNOWN = 1; - - // Maps to google.protobuf.BoolValue - // - // Applicable operators: =, != - BOOLEAN = 2; - - // Maps to google.protobuf.StringValue. It can be compared using the set of - // operators specific to dates however. - // - // Applicable operators: =, <, >, <=, >=, BETWEEN, DURING, and IN - DATE = 3; - - // Maps to google.protobuf.DoubleValue - // - // Applicable operators: =, !=, <, >, IN, NOT IN - DOUBLE = 4; - - // Maps to an enum. It's specific definition can be found at type_url. - // - // Applicable operators: =, !=, IN, NOT IN - ENUM = 5; - - // Maps to google.protobuf.FloatValue - // - // Applicable operators: =, !=, <, >, IN, NOT IN - FLOAT = 6; - - // Maps to google.protobuf.Int32Value - // - // Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN - INT32 = 7; - - // Maps to google.protobuf.Int64Value - // - // Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN - INT64 = 8; - - // Maps to a protocol buffer message type. The data type's details can be - // found in type_url. - // - // No operators work with MESSAGE fields. - MESSAGE = 9; - - // Maps to google.protobuf.StringValue. Represents the resource name - // (unique id) of a resource or one of its foreign keys. - // - // No operators work with RESOURCE_NAME fields. - RESOURCE_NAME = 10; - - // Maps to google.protobuf.StringValue. - // - // Applicable operators: =, !=, LIKE, NOT LIKE, IN, NOT IN - STRING = 11; - - // Maps to google.protobuf.UInt64Value - // - // Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN - UINT64 = 12; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/google_voice_call_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/google_voice_call_status.proto deleted file mode 100644 index d1cb4a9df..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/google_voice_call_status.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "GoogleVoiceCallStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing google voice call status. - -// Container for enum describing possible statuses of a google voice call. -message GoogleVoiceCallStatusEnum { - // Possible statuses of a google voice call. - enum GoogleVoiceCallStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The call was missed. - MISSED = 2; - - // The call was received. - RECEIVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/hotel_date_selection_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/hotel_date_selection_type.proto deleted file mode 100644 index ff874d55c..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/hotel_date_selection_type.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "HotelDateSelectionTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing hotel date selection types. - -// Container for enum describing possible hotel date selection types -message HotelDateSelectionTypeEnum { - // Enum describing possible hotel date selection types. - enum HotelDateSelectionType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Dates selected by default. - DEFAULT_SELECTION = 50; - - // Dates selected by the user. - USER_SELECTED = 51; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/hotel_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v12/enums/hotel_placeholder_field.proto deleted file mode 100644 index 972218740..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/hotel_placeholder_field.proto +++ /dev/null @@ -1,122 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "HotelsPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing Hotel placeholder fields. - -// Values for Hotel placeholder fields. -// For more information about dynamic remarketing feeds, see -// https://support.google.com/google-ads/answer/6053288. -message HotelPlaceholderFieldEnum { - // Possible values for Hotel placeholder fields. - enum HotelPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. Required. Unique ID. - PROPERTY_ID = 2; - - // Data Type: STRING. Required. Main headline with property name to be shown - // in dynamic ad. - PROPERTY_NAME = 3; - - // Data Type: STRING. Name of destination to be shown in dynamic ad. - DESTINATION_NAME = 4; - - // Data Type: STRING. Description of destination to be shown in dynamic ad. - DESCRIPTION = 5; - - // Data Type: STRING. Complete property address, including postal code. - ADDRESS = 6; - - // Data Type: STRING. Price to be shown in the ad. - // Example: "100.00 USD" - PRICE = 7; - - // Data Type: STRING. Formatted price to be shown in the ad. - // Example: "Starting at $100.00 USD", "$80 - $100" - FORMATTED_PRICE = 8; - - // Data Type: STRING. Sale price to be shown in the ad. - // Example: "80.00 USD" - SALE_PRICE = 9; - - // Data Type: STRING. Formatted sale price to be shown in the ad. - // Example: "On sale for $80.00", "$60 - $80" - FORMATTED_SALE_PRICE = 10; - - // Data Type: URL. Image to be displayed in the ad. - IMAGE_URL = 11; - - // Data Type: STRING. Category of property used to group like items together - // for recommendation engine. - CATEGORY = 12; - - // Data Type: INT64. Star rating (1 to 5) used to group like items - // together for recommendation engine. - STAR_RATING = 13; - - // Data Type: STRING_LIST. Keywords used for product retrieval. - CONTEXTUAL_KEYWORDS = 14; - - // Data Type: URL_LIST. Required. Final URLs for the ad when using Upgraded - // URLs. User will be redirected to these URLs when they click on an ad, or - // when they click on a specific flight for ads that show multiple - // flights. - FINAL_URLS = 15; - - // Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - // URLs. - FINAL_MOBILE_URLS = 16; - - // Data Type: URL. Tracking template for the ad when using Upgraded URLs. - TRACKING_URL = 17; - - // Data Type: STRING. Android app link. Must be formatted as: - // android-app://{package_id}/{scheme}/{host_path}. - // The components are defined as follows: - // package_id: app ID as specified in Google Play. - // scheme: the scheme to pass to the application. Can be HTTP, or a custom - // scheme. - // host_path: identifies the specific content within your application. - ANDROID_APP_LINK = 18; - - // Data Type: STRING_LIST. List of recommended property IDs to show together - // with this item. - SIMILAR_PROPERTY_IDS = 19; - - // Data Type: STRING. iOS app link. - IOS_APP_LINK = 20; - - // Data Type: INT64. iOS app store ID. - IOS_APP_STORE_ID = 21; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/hotel_price_bucket.proto b/third_party/googleapis/google/ads/googleads/v12/enums/hotel_price_bucket.proto deleted file mode 100644 index 4a7b879c2..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/hotel_price_bucket.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "HotelPriceBucketProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing hotel price buckets. - -// Container for enum describing hotel price bucket for a hotel itinerary. -message HotelPriceBucketEnum { - // Enum describing possible hotel price buckets. - enum HotelPriceBucket { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Uniquely lowest price. Partner has the lowest price, and no other - // partners are within a small variance of that price. - LOWEST_UNIQUE = 2; - - // Tied for lowest price. Partner is within a small variance of the lowest - // price. - LOWEST_TIED = 3; - - // Not lowest price. Partner is not within a small variance of the lowest - // price. - NOT_LOWEST = 4; - - // Partner was the only one shown. - ONLY_PARTNER_SHOWN = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/hotel_rate_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/hotel_rate_type.proto deleted file mode 100644 index 860401ff8..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/hotel_rate_type.proto +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "HotelRateTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing hotel rate types. - -// Container for enum describing possible hotel rate types. -message HotelRateTypeEnum { - // Enum describing possible hotel rate types. - enum HotelRateType { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Rate type information is unavailable. - UNAVAILABLE = 2; - - // Rates available to everyone. - PUBLIC_RATE = 3; - - // A membership program rate is available and satisfies basic requirements - // like having a public rate available. UI treatment will strikethrough the - // public rate and indicate that a discount is available to the user. For - // more on Qualified Rates, visit - // https://developers.google.com/hotels/hotel-ads/dev-guide/qualified-rates - QUALIFIED_RATE = 4; - - // Rates available to users that satisfy some eligibility criteria, for - // example, all signed-in users, 20% of mobile users, all mobile users in - // Canada, etc. - PRIVATE_RATE = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/hotel_reconciliation_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/hotel_reconciliation_status.proto deleted file mode 100644 index 2494510bf..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/hotel_reconciliation_status.proto +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "HotelReconciliationStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing hotel reconciliation row status. - -// Container for HotelReconciliationStatus. -message HotelReconciliationStatusEnum { - // Status of the hotel booking reconciliation. - enum HotelReconciliationStatus { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Bookings are for a future date, or a stay is underway but the check-out - // date hasn't passed. An active reservation can't be reconciled. - RESERVATION_ENABLED = 2; - - // Check-out has already taken place, or the booked dates have passed - // without cancellation. Bookings that are not reconciled within 45 days of - // the check-out date are billed based on the original booking price. - RECONCILIATION_NEEDED = 3; - - // These bookings have been reconciled. Reconciled bookings are billed 45 - // days after the check-out date. - RECONCILED = 4; - - // This booking was marked as canceled. Canceled stays with a value greater - // than zero (due to minimum stay rules or cancellation fees) are billed 45 - // days after the check-out date. - CANCELED = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/image_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v12/enums/image_placeholder_field.proto deleted file mode 100644 index f37bbf1f5..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/image_placeholder_field.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ImagePlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing Advertiser Provided Image placeholder fields. - -// Values for Advertiser Provided Image placeholder fields. -message ImagePlaceholderFieldEnum { - // Possible values for Advertiser Provided Image placeholder fields. - enum ImagePlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: INT64. The asset ID of the image. - ASSET_ID = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/income_range_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/income_range_type.proto deleted file mode 100644 index e91deeff6..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/income_range_type.proto +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "IncomeRangeTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing income range types. - -// Container for enum describing the type of demographic income ranges. -message IncomeRangeTypeEnum { - // The type of demographic income ranges (for example, between 0% to 50%). - enum IncomeRangeType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // 0%-50%. - INCOME_RANGE_0_50 = 510001; - - // 50% to 60%. - INCOME_RANGE_50_60 = 510002; - - // 60% to 70%. - INCOME_RANGE_60_70 = 510003; - - // 70% to 80%. - INCOME_RANGE_70_80 = 510004; - - // 80% to 90%. - INCOME_RANGE_80_90 = 510005; - - // Greater than 90%. - INCOME_RANGE_90_UP = 510006; - - // Undetermined income range. - INCOME_RANGE_UNDETERMINED = 510000; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/interaction_event_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/interaction_event_type.proto deleted file mode 100644 index a3fad24b2..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/interaction_event_type.proto +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "InteractionEventTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing types of payable and free interactions. - -// Container for enum describing types of payable and free interactions. -message InteractionEventTypeEnum { - // Enum describing possible types of payable and free interactions. - enum InteractionEventType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Click to site. In most cases, this interaction navigates to an external - // location, usually the advertiser's landing page. This is also the default - // InteractionEventType for click events. - CLICK = 2; - - // The user's expressed intent to engage with the ad in-place. - ENGAGEMENT = 3; - - // User viewed a video ad. - VIDEO_VIEW = 4; - - // The default InteractionEventType for ad conversion events. - // This is used when an ad conversion row does NOT indicate - // that the free interactions (for example, the ad conversions) - // should be 'promoted' and reported as part of the core metrics. - // These are simply other (ad) conversions. - NONE = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/interaction_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/interaction_type.proto deleted file mode 100644 index 3c5216aaa..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/interaction_type.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "InteractionTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing interaction types. - -// Container for enum describing possible interaction types. -message InteractionTypeEnum { - // Enum describing possible interaction types. - enum InteractionType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Calls. - CALLS = 8000; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/invoice_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/invoice_type.proto deleted file mode 100644 index 984e294a2..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/invoice_type.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "InvoiceTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing invoice types. - -// Container for enum describing the type of invoices. -message InvoiceTypeEnum { - // The possible type of invoices. - enum InvoiceType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // An invoice with a negative amount. The account receives a credit. - CREDIT_MEMO = 2; - - // An invoice with a positive amount. The account owes a balance. - INVOICE = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/job_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v12/enums/job_placeholder_field.proto deleted file mode 100644 index c5638d93b..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/job_placeholder_field.proto +++ /dev/null @@ -1,113 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "JobsPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing Job placeholder fields. - -// Values for Job placeholder fields. -// For more information about dynamic remarketing feeds, see -// https://support.google.com/google-ads/answer/6053288. -message JobPlaceholderFieldEnum { - // Possible values for Job placeholder fields. - enum JobPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. Required. If only JOB_ID is specified, then it must be - // unique. If both JOB_ID and LOCATION_ID are specified, then the - // pair must be unique. - // ID) pair must be unique. - JOB_ID = 2; - - // Data Type: STRING. Combination of JOB_ID and LOCATION_ID must be unique - // per offer. - LOCATION_ID = 3; - - // Data Type: STRING. Required. Main headline with job title to be shown in - // dynamic ad. - TITLE = 4; - - // Data Type: STRING. Job subtitle to be shown in dynamic ad. - SUBTITLE = 5; - - // Data Type: STRING. Description of job to be shown in dynamic ad. - DESCRIPTION = 6; - - // Data Type: URL. Image to be displayed in the ad. Highly recommended for - // image ads. - IMAGE_URL = 7; - - // Data Type: STRING. Category of property used to group like items together - // for recommendation engine. - CATEGORY = 8; - - // Data Type: STRING_LIST. Keywords used for product retrieval. - CONTEXTUAL_KEYWORDS = 9; - - // Data Type: STRING. Complete property address, including postal code. - ADDRESS = 10; - - // Data Type: STRING. Salary or salary range of job to be shown in dynamic - // ad. - SALARY = 11; - - // Data Type: URL_LIST. Required. Final URLs to be used in ad when using - // Upgraded URLs; the more specific the better (for example, the individual - // URL of a specific job and its location). - FINAL_URLS = 12; - - // Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - // URLs. - FINAL_MOBILE_URLS = 14; - - // Data Type: URL. Tracking template for the ad when using Upgraded URLs. - TRACKING_URL = 15; - - // Data Type: STRING. Android app link. Must be formatted as: - // android-app://{package_id}/{scheme}/{host_path}. - // The components are defined as follows: - // package_id: app ID as specified in Google Play. - // scheme: the scheme to pass to the application. Can be HTTP, or a custom - // scheme. - // host_path: identifies the specific content within your application. - ANDROID_APP_LINK = 16; - - // Data Type: STRING_LIST. List of recommended job IDs to show together with - // this item. - SIMILAR_JOB_IDS = 17; - - // Data Type: STRING. iOS app link. - IOS_APP_LINK = 18; - - // Data Type: INT64. iOS app store ID. - IOS_APP_STORE_ID = 19; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/keyword_match_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/keyword_match_type.proto deleted file mode 100644 index e977e433d..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/keyword_match_type.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "KeywordMatchTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing Keyword match types. - -// Message describing Keyword match types. -message KeywordMatchTypeEnum { - // Possible Keyword match types. - enum KeywordMatchType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Exact match. - EXACT = 2; - - // Phrase match. - PHRASE = 3; - - // Broad match. - BROAD = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/keyword_plan_aggregate_metric_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/keyword_plan_aggregate_metric_type.proto deleted file mode 100644 index a3556eb09..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/keyword_plan_aggregate_metric_type.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanAggregateMetricTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing keyword plan aggregate metric types. - -// The enumeration of keyword plan aggregate metric types. -message KeywordPlanAggregateMetricTypeEnum { - // Aggregate fields. - enum KeywordPlanAggregateMetricType { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // The device breakdown of aggregate search volume. - DEVICE = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/keyword_plan_competition_level.proto b/third_party/googleapis/google/ads/googleads/v12/enums/keyword_plan_competition_level.proto deleted file mode 100644 index 240b3ab50..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/keyword_plan_competition_level.proto +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanCompetitionLevelProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing Keyword Planner competition levels. - -// Container for enumeration of keyword competition levels. The competition -// level indicates how competitive ad placement is for a keyword and -// is determined by the number of advertisers bidding on that keyword relative -// to all keywords across Google. The competition level can depend on the -// location and Search Network targeting options you've selected. -message KeywordPlanCompetitionLevelEnum { - // Competition level of a keyword. - enum KeywordPlanCompetitionLevel { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Low competition. The Competition Index range for this is [0, 33]. - LOW = 2; - - // Medium competition. The Competition Index range for this is [34, 66]. - MEDIUM = 3; - - // High competition. The Competition Index range for this is [67, 100]. - HIGH = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/keyword_plan_concept_group_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/keyword_plan_concept_group_type.proto deleted file mode 100644 index 725ce6845..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/keyword_plan_concept_group_type.proto +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanConceptGroupTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing Keyword Planner Concept Group types. - -// Container for enumeration of keyword plan concept group types. -message KeywordPlanConceptGroupTypeEnum { - // Enumerates keyword plan concept group types. - enum KeywordPlanConceptGroupType { - // The concept group classification different from brand/non-brand. - // This is a catch all bucket for all classifications that are none of the - // below. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // The concept group classification is based on BRAND. - BRAND = 2; - - // The concept group classification based on BRAND, that didn't fit well - // with the BRAND classifications. These are generally outliers and can have - // very few keywords in this type of classification. - OTHER_BRANDS = 3; - - // These concept group classification is not based on BRAND. This is - // returned for generic keywords that don't have a brand association. - NON_BRAND = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/keyword_plan_forecast_interval.proto b/third_party/googleapis/google/ads/googleads/v12/enums/keyword_plan_forecast_interval.proto deleted file mode 100644 index 53a3475a4..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/keyword_plan_forecast_interval.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanForecastIntervalProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing keyword plan forecast intervals. - -// Container for enumeration of forecast intervals. -message KeywordPlanForecastIntervalEnum { - // Forecast intervals. - enum KeywordPlanForecastInterval { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // The next week date range for keyword plan. The next week is based - // on the default locale of the user's account and is mostly SUN-SAT or - // MON-SUN. - // This can be different from next-7 days. - NEXT_WEEK = 3; - - // The next month date range for keyword plan. - NEXT_MONTH = 4; - - // The next quarter date range for keyword plan. - NEXT_QUARTER = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/keyword_plan_keyword_annotation.proto b/third_party/googleapis/google/ads/googleads/v12/enums/keyword_plan_keyword_annotation.proto deleted file mode 100644 index d61ffbf1f..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/keyword_plan_keyword_annotation.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanKeywordAnnotationProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing Keyword Planner Keyword annotation types. - -// Container for enumeration of keyword plan keyword annotations. -message KeywordPlanKeywordAnnotationEnum { - // Enumerates keyword plan annotations that can be requested. - enum KeywordPlanKeywordAnnotation { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Return the keyword concept and concept group data. - KEYWORD_CONCEPT = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/keyword_plan_network.proto b/third_party/googleapis/google/ads/googleads/v12/enums/keyword_plan_network.proto deleted file mode 100644 index 06e1e748f..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/keyword_plan_network.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanNetworkProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing Keyword Planner forecastable network types. - -// Container for enumeration of keyword plan forecastable network types. -message KeywordPlanNetworkEnum { - // Enumerates keyword plan forecastable network types. - enum KeywordPlanNetwork { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Google Search. - GOOGLE_SEARCH = 2; - - // Google Search + Search partners. - GOOGLE_SEARCH_AND_PARTNERS = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/label_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/label_status.proto deleted file mode 100644 index 8ccbeb793..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/label_status.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LabelStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Container for enum describing possible status of a label. -message LabelStatusEnum { - // Possible statuses of a label. - enum LabelStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Label is enabled. - ENABLED = 2; - - // Label is removed. - REMOVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/lead_form_call_to_action_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/lead_form_call_to_action_type.proto deleted file mode 100644 index eb0cadc87..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/lead_form_call_to_action_type.proto +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LeadFormCallToActionTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Describes the type of call-to-action phrases in a lead form. -message LeadFormCallToActionTypeEnum { - // Enum describing the type of call-to-action phrases in a lead form. - enum LeadFormCallToActionType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Learn more. - LEARN_MORE = 2; - - // Get quote. - GET_QUOTE = 3; - - // Apply now. - APPLY_NOW = 4; - - // Sign Up. - SIGN_UP = 5; - - // Contact us. - CONTACT_US = 6; - - // Subscribe. - SUBSCRIBE = 7; - - // Download. - DOWNLOAD = 8; - - // Book now. - BOOK_NOW = 9; - - // Get offer. - GET_OFFER = 10; - - // Register. - REGISTER = 11; - - // Get info. - GET_INFO = 12; - - // Request a demo. - REQUEST_DEMO = 13; - - // Join now. - JOIN_NOW = 14; - - // Get started. - GET_STARTED = 15; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/lead_form_desired_intent.proto b/third_party/googleapis/google/ads/googleads/v12/enums/lead_form_desired_intent.proto deleted file mode 100644 index 231587036..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/lead_form_desired_intent.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LeadFormDesiredIntentProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Describes the chosen level of intent of generated leads. -message LeadFormDesiredIntentEnum { - // Enum describing the chosen level of intent of generated leads. - enum LeadFormDesiredIntent { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Deliver more leads at a potentially lower quality. - LOW_INTENT = 2; - - // Deliver leads that are more qualified. - HIGH_INTENT = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/lead_form_field_user_input_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/lead_form_field_user_input_type.proto deleted file mode 100644 index 00ec7835f..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/lead_form_field_user_input_type.proto +++ /dev/null @@ -1,487 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LeadFormFieldUserInputTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Describes the input type of a lead form field. -message LeadFormFieldUserInputTypeEnum { - // Enum describing the input type of a lead form field. - enum LeadFormFieldUserInputType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The user will be asked to fill in their given and family name. This field - // cannot be set at the same time as GIVEN_NAME or FAMILY_NAME. - FULL_NAME = 2; - - // The user will be asked to fill in their email address. - EMAIL = 3; - - // The user will be asked to fill in their phone number. - PHONE_NUMBER = 4; - - // The user will be asked to fill in their zip code. - POSTAL_CODE = 5; - - // The user will be asked to fill in their street address. - STREET_ADDRESS = 8; - - // The user will be asked to fill in their city. - CITY = 9; - - // The user will be asked to fill in their region part of the address (for - // example, state for US, province for Canada). - REGION = 10; - - // The user will be asked to fill in their country. - COUNTRY = 11; - - // The user will be asked to fill in their work email address. - WORK_EMAIL = 12; - - // The user will be asked to fill in their company name. - COMPANY_NAME = 13; - - // The user will be asked to fill in their work phone. - WORK_PHONE = 14; - - // The user will be asked to fill in their job title. - JOB_TITLE = 15; - - // The user will be asked to fill in their CPF for Brazil users. - GOVERNMENT_ISSUED_ID_CPF_BR = 16; - - // The user will be asked to fill in their DNI for Argentina users. - GOVERNMENT_ISSUED_ID_DNI_AR = 17; - - // The user will be asked to fill in their DNI for Peru users. - GOVERNMENT_ISSUED_ID_DNI_PE = 18; - - // The user will be asked to fill in their RUT for Chile users. - GOVERNMENT_ISSUED_ID_RUT_CL = 19; - - // The user will be asked to fill in their CC for Colombia users. - GOVERNMENT_ISSUED_ID_CC_CO = 20; - - // The user will be asked to fill in their CI for Ecuador users. - GOVERNMENT_ISSUED_ID_CI_EC = 21; - - // The user will be asked to fill in their RFC for Mexico users. - GOVERNMENT_ISSUED_ID_RFC_MX = 22; - - // The user will be asked to fill in their first name. This - // field can not be set at the same time as FULL_NAME. - FIRST_NAME = 23; - - // The user will be asked to fill in their last name. This - // field can not be set at the same time as FULL_NAME. - LAST_NAME = 24; - - // Question: "Which model are you interested in?" - // Category: "Auto" - VEHICLE_MODEL = 1001; - - // Question: "Which type of vehicle are you interested in?" - // Category: "Auto" - VEHICLE_TYPE = 1002; - - // Question: "What is your preferred dealership?" - // Category: "Auto" - PREFERRED_DEALERSHIP = 1003; - - // Question: "When do you plan on purchasing a vehicle?" - // Category: "Auto" - VEHICLE_PURCHASE_TIMELINE = 1004; - - // Question: "Do you own a vehicle?" - // Category: "Auto" - VEHICLE_OWNERSHIP = 1005; - - // Question: "What vehicle ownership option are you interested in?" - // Category: "Auto" - VEHICLE_PAYMENT_TYPE = 1009; - - // Question: "What type of vehicle condition are you interested in?" - // Category: "Auto" - VEHICLE_CONDITION = 1010; - - // Question: "What size is your company?" - // Category: "Business" - COMPANY_SIZE = 1006; - - // Question: "What is your annual sales volume?" - // Category: "Business" - ANNUAL_SALES = 1007; - - // Question: "How many years have you been in business?" - // Category: "Business" - YEARS_IN_BUSINESS = 1008; - - // Question: "What is your job department?" - // Category: "Business" - JOB_DEPARTMENT = 1011; - - // Question: "What is your job role?" - // Category: "Business" - JOB_ROLE = 1012; - - // Question: "Are you over 18 years of age?" - // Category: "Demographics" - OVER_18_AGE = 1078; - - // Question: "Are you over 19 years of age?" - // Category: "Demographics" - OVER_19_AGE = 1079; - - // Question: "Are you over 20 years of age?" - // Category: "Demographics" - OVER_20_AGE = 1080; - - // Question: "Are you over 21 years of age?" - // Category: "Demographics" - OVER_21_AGE = 1081; - - // Question: "Are you over 22 years of age?" - // Category: "Demographics" - OVER_22_AGE = 1082; - - // Question: "Are you over 23 years of age?" - // Category: "Demographics" - OVER_23_AGE = 1083; - - // Question: "Are you over 24 years of age?" - // Category: "Demographics" - OVER_24_AGE = 1084; - - // Question: "Are you over 25 years of age?" - // Category: "Demographics" - OVER_25_AGE = 1085; - - // Question: "Are you over 26 years of age?" - // Category: "Demographics" - OVER_26_AGE = 1086; - - // Question: "Are you over 27 years of age?" - // Category: "Demographics" - OVER_27_AGE = 1087; - - // Question: "Are you over 28 years of age?" - // Category: "Demographics" - OVER_28_AGE = 1088; - - // Question: "Are you over 29 years of age?" - // Category: "Demographics" - OVER_29_AGE = 1089; - - // Question: "Are you over 30 years of age?" - // Category: "Demographics" - OVER_30_AGE = 1090; - - // Question: "Are you over 31 years of age?" - // Category: "Demographics" - OVER_31_AGE = 1091; - - // Question: "Are you over 32 years of age?" - // Category: "Demographics" - OVER_32_AGE = 1092; - - // Question: "Are you over 33 years of age?" - // Category: "Demographics" - OVER_33_AGE = 1093; - - // Question: "Are you over 34 years of age?" - // Category: "Demographics" - OVER_34_AGE = 1094; - - // Question: "Are you over 35 years of age?" - // Category: "Demographics" - OVER_35_AGE = 1095; - - // Question: "Are you over 36 years of age?" - // Category: "Demographics" - OVER_36_AGE = 1096; - - // Question: "Are you over 37 years of age?" - // Category: "Demographics" - OVER_37_AGE = 1097; - - // Question: "Are you over 38 years of age?" - // Category: "Demographics" - OVER_38_AGE = 1098; - - // Question: "Are you over 39 years of age?" - // Category: "Demographics" - OVER_39_AGE = 1099; - - // Question: "Are you over 40 years of age?" - // Category: "Demographics" - OVER_40_AGE = 1100; - - // Question: "Are you over 41 years of age?" - // Category: "Demographics" - OVER_41_AGE = 1101; - - // Question: "Are you over 42 years of age?" - // Category: "Demographics" - OVER_42_AGE = 1102; - - // Question: "Are you over 43 years of age?" - // Category: "Demographics" - OVER_43_AGE = 1103; - - // Question: "Are you over 44 years of age?" - // Category: "Demographics" - OVER_44_AGE = 1104; - - // Question: "Are you over 45 years of age?" - // Category: "Demographics" - OVER_45_AGE = 1105; - - // Question: "Are you over 46 years of age?" - // Category: "Demographics" - OVER_46_AGE = 1106; - - // Question: "Are you over 47 years of age?" - // Category: "Demographics" - OVER_47_AGE = 1107; - - // Question: "Are you over 48 years of age?" - // Category: "Demographics" - OVER_48_AGE = 1108; - - // Question: "Are you over 49 years of age?" - // Category: "Demographics" - OVER_49_AGE = 1109; - - // Question: "Are you over 50 years of age?" - // Category: "Demographics" - OVER_50_AGE = 1110; - - // Question: "Are you over 51 years of age?" - // Category: "Demographics" - OVER_51_AGE = 1111; - - // Question: "Are you over 52 years of age?" - // Category: "Demographics" - OVER_52_AGE = 1112; - - // Question: "Are you over 53 years of age?" - // Category: "Demographics" - OVER_53_AGE = 1113; - - // Question: "Are you over 54 years of age?" - // Category: "Demographics" - OVER_54_AGE = 1114; - - // Question: "Are you over 55 years of age?" - // Category: "Demographics" - OVER_55_AGE = 1115; - - // Question: "Are you over 56 years of age?" - // Category: "Demographics" - OVER_56_AGE = 1116; - - // Question: "Are you over 57 years of age?" - // Category: "Demographics" - OVER_57_AGE = 1117; - - // Question: "Are you over 58 years of age?" - // Category: "Demographics" - OVER_58_AGE = 1118; - - // Question: "Are you over 59 years of age?" - // Category: "Demographics" - OVER_59_AGE = 1119; - - // Question: "Are you over 60 years of age?" - // Category: "Demographics" - OVER_60_AGE = 1120; - - // Question: "Are you over 61 years of age?" - // Category: "Demographics" - OVER_61_AGE = 1121; - - // Question: "Are you over 62 years of age?" - // Category: "Demographics" - OVER_62_AGE = 1122; - - // Question: "Are you over 63 years of age?" - // Category: "Demographics" - OVER_63_AGE = 1123; - - // Question: "Are you over 64 years of age?" - // Category: "Demographics" - OVER_64_AGE = 1124; - - // Question: "Are you over 65 years of age?" - // Category: "Demographics" - OVER_65_AGE = 1125; - - // Question: "Which program are you interested in?" - // Category: "Education" - EDUCATION_PROGRAM = 1013; - - // Question: "Which course are you interested in?" - // Category: "Education" - EDUCATION_COURSE = 1014; - - // Question: "Which product are you interested in?" - // Category: "General" - PRODUCT = 1016; - - // Question: "Which service are you interested in?" - // Category: "General" - SERVICE = 1017; - - // Question: "Which offer are you interested in?" - // Category: "General" - OFFER = 1018; - - // Question: "Which category are you interested in?" - // Category: "General" - CATEGORY = 1019; - - // Question: "What is your preferred method of contact?" - // Category: "General" - PREFERRED_CONTACT_METHOD = 1020; - - // Question: "What is your preferred location?" - // Category: "General" - PREFERRED_LOCATION = 1021; - - // Question: "What is the best time to contact you?" - // Category: "General" - PREFERRED_CONTACT_TIME = 1022; - - // Question: "When are you looking to make a purchase?" - // Category: "General" - PURCHASE_TIMELINE = 1023; - - // Question: "How many years of work experience do you have?" - // Category: "Jobs" - YEARS_OF_EXPERIENCE = 1048; - - // Question: "What industry do you work in?" - // Category: "Jobs" - JOB_INDUSTRY = 1049; - - // Question: "What is your highest level of education?" - // Category: "Jobs" - LEVEL_OF_EDUCATION = 1050; - - // Question: "What type of property are you looking for?" - // Category: "Real Estate" - PROPERTY_TYPE = 1024; - - // Question: "What do you need a realtor's help with?" - // Category: "Real Estate" - REALTOR_HELP_GOAL = 1025; - - // Question: "What neighborhood are you interested in?" - // Category: "Real Estate" - PROPERTY_COMMUNITY = 1026; - - // Question: "What price range are you looking for?" - // Category: "Real Estate" - PRICE_RANGE = 1027; - - // Question: "How many bedrooms are you looking for?" - // Category: "Real Estate" - NUMBER_OF_BEDROOMS = 1028; - - // Question: "Are you looking for a fully furnished property?" - // Category: "Real Estate" - FURNISHED_PROPERTY = 1029; - - // Question: "Are you looking for properties that allow pets?" - // Category: "Real Estate" - PETS_ALLOWED_PROPERTY = 1030; - - // Question: "What is the next product you plan to purchase?" - // Category: "Retail" - NEXT_PLANNED_PURCHASE = 1031; - - // Question: "Would you like to sign up for an event?" - // Category: "Retail" - EVENT_SIGNUP_INTEREST = 1033; - - // Question: "Where are you interested in shopping?" - // Category: "Retail" - PREFERRED_SHOPPING_PLACES = 1034; - - // Question: "What is your favorite brand?" - // Category: "Retail" - FAVORITE_BRAND = 1035; - - // Question: "Which type of valid commercial license do you have?" - // Category: "Transportation" - TRANSPORTATION_COMMERCIAL_LICENSE_TYPE = 1036; - - // Question: "Interested in booking an event?" - // Category: "Travel" - EVENT_BOOKING_INTEREST = 1038; - - // Question: "What is your destination country?" - // Category: "Travel" - DESTINATION_COUNTRY = 1039; - - // Question: "What is your destination city?" - // Category: "Travel" - DESTINATION_CITY = 1040; - - // Question: "What is your departure country?" - // Category: "Travel" - DEPARTURE_COUNTRY = 1041; - - // Question: "What is your departure city?" - // Category: "Travel" - DEPARTURE_CITY = 1042; - - // Question: "What is your departure date?" - // Category: "Travel" - DEPARTURE_DATE = 1043; - - // Question: "What is your return date?" - // Category: "Travel" - RETURN_DATE = 1044; - - // Question: "How many people are you traveling with?" - // Category: "Travel" - NUMBER_OF_TRAVELERS = 1045; - - // Question: "What is your travel budget?" - // Category: "Travel" - TRAVEL_BUDGET = 1046; - - // Question: "Where do you want to stay during your travel?" - // Category: "Travel" - TRAVEL_ACCOMMODATION = 1047; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/lead_form_post_submit_call_to_action_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/lead_form_post_submit_call_to_action_type.proto deleted file mode 100644 index e3b686209..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/lead_form_post_submit_call_to_action_type.proto +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LeadFormPostSubmitCallToActionTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Describes the type of post-submit call-to-action phrases for a lead form. -message LeadFormPostSubmitCallToActionTypeEnum { - // Enum describing the type of post-submit call-to-action phrases for a lead - // form. - enum LeadFormPostSubmitCallToActionType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Visit site. - VISIT_SITE = 2; - - // Download. - DOWNLOAD = 3; - - // Learn more. - LEARN_MORE = 4; - - // Shop now. - SHOP_NOW = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/legacy_app_install_ad_app_store.proto b/third_party/googleapis/google/ads/googleads/v12/enums/legacy_app_install_ad_app_store.proto deleted file mode 100644 index 2b959611e..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/legacy_app_install_ad_app_store.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LegacyAppInstallAdAppStoreProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing app store types for a legacy app install ad. - -// Container for enum describing app store type in a legacy app install ad. -message LegacyAppInstallAdAppStoreEnum { - // App store type in a legacy app install ad. - enum LegacyAppInstallAdAppStore { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Apple iTunes. - APPLE_APP_STORE = 2; - - // Google Play. - GOOGLE_PLAY = 3; - - // Windows Store. - WINDOWS_STORE = 4; - - // Windows Phone Store. - WINDOWS_PHONE_STORE = 5; - - // The app is hosted in a Chinese app store. - CN_APP_STORE = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/linked_account_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/linked_account_type.proto deleted file mode 100644 index 72fcfd5e8..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/linked_account_type.proto +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LinkedAccountTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Container for enum describing different types of Linked accounts. -message LinkedAccountTypeEnum { - // Describes the possible link types between a Google Ads customer - // and another account. - enum LinkedAccountType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // A link to provide third party app analytics data. - THIRD_PARTY_APP_ANALYTICS = 2; - - // A link to Data partner. - DATA_PARTNER = 3; - - // A link to Google Ads. - GOOGLE_ADS = 4; - - // A link to Hotel Center. - HOTEL_CENTER = 5; - - // A link to Google Ads account of the partner advertiser. - // Increase performance and share data by partnering with businesses that - // advertise the same items. - ADVERTISING_PARTNER = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/listing_group_filter_bidding_category_level.proto b/third_party/googleapis/google/ads/googleads/v12/enums/listing_group_filter_bidding_category_level.proto deleted file mode 100644 index 83e568d93..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/listing_group_filter_bidding_category_level.proto +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ListingGroupFilterBiddingCategoryLevelProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing listing groups. - -// Container for enum describing the levels of bidding category used in -// ListingGroupFilterDimension. -message ListingGroupFilterBiddingCategoryLevelEnum { - // The level of the listing group filter bidding category. - enum ListingGroupFilterBiddingCategoryLevel { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Level 1. - LEVEL1 = 2; - - // Level 2. - LEVEL2 = 3; - - // Level 3. - LEVEL3 = 4; - - // Level 4. - LEVEL4 = 5; - - // Level 5. - LEVEL5 = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/listing_group_filter_custom_attribute_index.proto b/third_party/googleapis/google/ads/googleads/v12/enums/listing_group_filter_custom_attribute_index.proto deleted file mode 100644 index ed42d2b2b..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/listing_group_filter_custom_attribute_index.proto +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ListingGroupFilterCustomAttributeIndexProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing listing groups. - -// Container for enum describing the indexes of custom attribute used in -// ListingGroupFilterDimension. -message ListingGroupFilterCustomAttributeIndexEnum { - // The index of customer attributes. - enum ListingGroupFilterCustomAttributeIndex { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // First listing group filter custom attribute. - INDEX0 = 2; - - // Second listing group filter custom attribute. - INDEX1 = 3; - - // Third listing group filter custom attribute. - INDEX2 = 4; - - // Fourth listing group filter custom attribute. - INDEX3 = 5; - - // Fifth listing group filter custom attribute. - INDEX4 = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/listing_group_filter_product_channel.proto b/third_party/googleapis/google/ads/googleads/v12/enums/listing_group_filter_product_channel.proto deleted file mode 100644 index 3dbc00b12..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/listing_group_filter_product_channel.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ListingGroupFilterProductChannelProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing listing groups. - -// Locality of a product offer. -message ListingGroupFilterProductChannelEnum { - // Enum describing the locality of a product offer. - enum ListingGroupFilterProductChannel { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The item is sold online. - ONLINE = 2; - - // The item is sold in local stores. - LOCAL = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/listing_group_filter_product_condition.proto b/third_party/googleapis/google/ads/googleads/v12/enums/listing_group_filter_product_condition.proto deleted file mode 100644 index 12cf27323..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/listing_group_filter_product_condition.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ListingGroupFilterProductConditionProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing listing groups. - -// Condition of a product offer. -message ListingGroupFilterProductConditionEnum { - // Enum describing the condition of a product offer. - enum ListingGroupFilterProductCondition { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The product condition is new. - NEW = 2; - - // The product condition is refurbished. - REFURBISHED = 3; - - // The product condition is used. - USED = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/listing_group_filter_product_type_level.proto b/third_party/googleapis/google/ads/googleads/v12/enums/listing_group_filter_product_type_level.proto deleted file mode 100644 index 74ff48999..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/listing_group_filter_product_type_level.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ListingGroupFilterProductTypeLevelProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing listing groups. - -// Level of the type of a product offer. -message ListingGroupFilterProductTypeLevelEnum { - // Enum describing the level of the type of a product offer. - enum ListingGroupFilterProductTypeLevel { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Level 1. - LEVEL1 = 2; - - // Level 2. - LEVEL2 = 3; - - // Level 3. - LEVEL3 = 4; - - // Level 4. - LEVEL4 = 5; - - // Level 5. - LEVEL5 = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/listing_group_filter_type_enum.proto b/third_party/googleapis/google/ads/googleads/v12/enums/listing_group_filter_type_enum.proto deleted file mode 100644 index 156ba6c6b..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/listing_group_filter_type_enum.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ListingGroupFilterTypeEnumProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing listing groups. - -// Container for enum describing the type of the listing group filter node. -message ListingGroupFilterTypeEnum { - // The type of the listing group filter. - enum ListingGroupFilterType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Subdivision of products along some listing dimensions. - SUBDIVISION = 2; - - // An included listing group filter leaf node. - UNIT_INCLUDED = 3; - - // An excluded listing group filter leaf node. - UNIT_EXCLUDED = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/listing_group_filter_vertical.proto b/third_party/googleapis/google/ads/googleads/v12/enums/listing_group_filter_vertical.proto deleted file mode 100644 index bec6986ca..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/listing_group_filter_vertical.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ListingGroupFilterVerticalProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing listing groups. - -// Container for enum describing the type of the vertical a listing group filter -// tree represents. -message ListingGroupFilterVerticalEnum { - // The type of the listing group filter vertical. - enum ListingGroupFilterVertical { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Represents the shopping vertical. - SHOPPING = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/listing_group_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/listing_group_type.proto deleted file mode 100644 index 0e644924f..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/listing_group_type.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ListingGroupTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing listing groups. - -// Container for enum describing the type of the listing group. -message ListingGroupTypeEnum { - // The type of the listing group. - enum ListingGroupType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Subdivision of products along some listing dimension. These nodes - // are not used by serving to target listing entries, but is purely - // to define the structure of the tree. - SUBDIVISION = 2; - - // Listing group unit that defines a bid. - UNIT = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/local_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v12/enums/local_placeholder_field.proto deleted file mode 100644 index f09cc438d..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/local_placeholder_field.proto +++ /dev/null @@ -1,117 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LocalPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing Local placeholder fields. - -// Values for Local placeholder fields. -// For more information about dynamic remarketing feeds, see -// https://support.google.com/google-ads/answer/6053288. -message LocalPlaceholderFieldEnum { - // Possible values for Local placeholder fields. - enum LocalPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. Required. Unique ID. - DEAL_ID = 2; - - // Data Type: STRING. Required. Main headline with local deal title to be - // shown in dynamic ad. - DEAL_NAME = 3; - - // Data Type: STRING. Local deal subtitle to be shown in dynamic ad. - SUBTITLE = 4; - - // Data Type: STRING. Description of local deal to be shown in dynamic ad. - DESCRIPTION = 5; - - // Data Type: STRING. Price to be shown in the ad. Highly recommended for - // dynamic ads. Example: "100.00 USD" - PRICE = 6; - - // Data Type: STRING. Formatted price to be shown in the ad. - // Example: "Starting at $100.00 USD", "$80 - $100" - FORMATTED_PRICE = 7; - - // Data Type: STRING. Sale price to be shown in the ad. - // Example: "80.00 USD" - SALE_PRICE = 8; - - // Data Type: STRING. Formatted sale price to be shown in the ad. - // Example: "On sale for $80.00", "$60 - $80" - FORMATTED_SALE_PRICE = 9; - - // Data Type: URL. Image to be displayed in the ad. - IMAGE_URL = 10; - - // Data Type: STRING. Complete property address, including postal code. - ADDRESS = 11; - - // Data Type: STRING. Category of local deal used to group like items - // together for recommendation engine. - CATEGORY = 12; - - // Data Type: STRING_LIST. Keywords used for product retrieval. - CONTEXTUAL_KEYWORDS = 13; - - // Data Type: URL_LIST. Required. Final URLs to be used in ad when using - // Upgraded URLs; the more specific the better (for example, the individual - // URL of a specific local deal and its location). - FINAL_URLS = 14; - - // Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - // URLs. - FINAL_MOBILE_URLS = 15; - - // Data Type: URL. Tracking template for the ad when using Upgraded URLs. - TRACKING_URL = 16; - - // Data Type: STRING. Android app link. Must be formatted as: - // android-app://{package_id}/{scheme}/{host_path}. - // The components are defined as follows: - // package_id: app ID as specified in Google Play. - // scheme: the scheme to pass to the application. Can be HTTP, or a custom - // scheme. - // host_path: identifies the specific content within your application. - ANDROID_APP_LINK = 17; - - // Data Type: STRING_LIST. List of recommended local deal IDs to show - // together with this item. - SIMILAR_DEAL_IDS = 18; - - // Data Type: STRING. iOS app link. - IOS_APP_LINK = 19; - - // Data Type: INT64. iOS app store ID. - IOS_APP_STORE_ID = 20; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/location_extension_targeting_criterion_field.proto b/third_party/googleapis/google/ads/googleads/v12/enums/location_extension_targeting_criterion_field.proto deleted file mode 100644 index 6bac1a2c9..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/location_extension_targeting_criterion_field.proto +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LocationExtensionTargetingCriterionFieldProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing Location Extension Targeting criterion fields. - -// Values for Location Extension Targeting criterion fields. -message LocationExtensionTargetingCriterionFieldEnum { - // Possible values for Location Extension Targeting criterion fields. - enum LocationExtensionTargetingCriterionField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. Line 1 of the business address. - ADDRESS_LINE_1 = 2; - - // Data Type: STRING. Line 2 of the business address. - ADDRESS_LINE_2 = 3; - - // Data Type: STRING. City of the business address. - CITY = 4; - - // Data Type: STRING. Province of the business address. - PROVINCE = 5; - - // Data Type: STRING. Postal code of the business address. - POSTAL_CODE = 6; - - // Data Type: STRING. Country code of the business address. - COUNTRY_CODE = 7; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/location_group_radius_units.proto b/third_party/googleapis/google/ads/googleads/v12/enums/location_group_radius_units.proto deleted file mode 100644 index f51c6d25d..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/location_group_radius_units.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LocationGroupRadiusUnitsProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing location group radius units. - -// Container for enum describing unit of radius in location group. -message LocationGroupRadiusUnitsEnum { - // The unit of radius distance in location group (for example, MILES) - enum LocationGroupRadiusUnits { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Meters - METERS = 2; - - // Miles - MILES = 3; - - // Milli Miles - MILLI_MILES = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/location_ownership_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/location_ownership_type.proto deleted file mode 100644 index bbb80066a..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/location_ownership_type.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LocationOwnershipTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing location ownership type. - -// Container for enum describing possible types of a location ownership. -message LocationOwnershipTypeEnum { - // Possible types of a location ownership. - enum LocationOwnershipType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Business Owner of location(legacy location extension - LE). - BUSINESS_OWNER = 2; - - // Affiliate location(Third party location extension - ALE). - AFFILIATE = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/location_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v12/enums/location_placeholder_field.proto deleted file mode 100644 index 1f7529c3f..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/location_placeholder_field.proto +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LocationPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing Location placeholder fields. - -// Values for Location placeholder fields. -message LocationPlaceholderFieldEnum { - // Possible values for Location placeholder fields. - enum LocationPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. The name of the business. - BUSINESS_NAME = 2; - - // Data Type: STRING. Line 1 of the business address. - ADDRESS_LINE_1 = 3; - - // Data Type: STRING. Line 2 of the business address. - ADDRESS_LINE_2 = 4; - - // Data Type: STRING. City of the business address. - CITY = 5; - - // Data Type: STRING. Province of the business address. - PROVINCE = 6; - - // Data Type: STRING. Postal code of the business address. - POSTAL_CODE = 7; - - // Data Type: STRING. Country code of the business address. - COUNTRY_CODE = 8; - - // Data Type: STRING. Phone number of the business. - PHONE_NUMBER = 9; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/location_source_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/location_source_type.proto deleted file mode 100644 index 266e828c6..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/location_source_type.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LocationSourceTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing location source types. - -// Used to distinguish the location source type. -message LocationSourceTypeEnum { - // The possible types of a location source. - enum LocationSourceType { - // No value has been specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Locations associated with the customer's linked Business Profile. - GOOGLE_MY_BUSINESS = 2; - - // Affiliate (chain) store locations. For example, Best Buy store locations. - AFFILIATE = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/location_string_filter_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/location_string_filter_type.proto deleted file mode 100644 index 1f9d92ec7..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/location_string_filter_type.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LocationStringFilterTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing location string filter type. - -// Container for enum describing possible types of a location string filter. -message LocationStringFilterTypeEnum { - // Possible types of a location string filter. - enum LocationStringFilterType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The filter will use exact string matching. - EXACT = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/manager_link_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/manager_link_status.proto deleted file mode 100644 index 7df2c7190..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/manager_link_status.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ManagerLinkStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Container for enum describing possible status of a manager and client link. -message ManagerLinkStatusEnum { - // Possible statuses of a link. - enum ManagerLinkStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Indicates current in-effect relationship - ACTIVE = 2; - - // Indicates terminated relationship - INACTIVE = 3; - - // Indicates relationship has been requested by manager, but the client - // hasn't accepted yet. - PENDING = 4; - - // Relationship was requested by the manager, but the client has refused. - REFUSED = 5; - - // Indicates relationship has been requested by manager, but manager - // canceled it. - CANCELED = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/matching_function_context_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/matching_function_context_type.proto deleted file mode 100644 index b7de67570..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/matching_function_context_type.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MatchingFunctionContextTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing matching function context types. - -// Container for context types for an operand in a matching function. -message MatchingFunctionContextTypeEnum { - // Possible context types for an operand in a matching function. - enum MatchingFunctionContextType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Feed item id in the request context. - FEED_ITEM_ID = 2; - - // The device being used (possible values are 'Desktop' or 'Mobile'). - DEVICE_NAME = 3; - - // Feed item set id in the request context. - FEED_ITEM_SET_ID = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/matching_function_operator.proto b/third_party/googleapis/google/ads/googleads/v12/enums/matching_function_operator.proto deleted file mode 100644 index 30113e170..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/matching_function_operator.proto +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MatchingFunctionOperatorProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing matching function operators. - -// Container for enum describing matching function operator. -message MatchingFunctionOperatorEnum { - // Possible operators in a matching function. - enum MatchingFunctionOperator { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The IN operator. - IN = 2; - - // The IDENTITY operator. - IDENTITY = 3; - - // The EQUALS operator - EQUALS = 4; - - // Operator that takes two or more operands that are of type - // FunctionOperand and checks that all the operands evaluate to true. - // For functions related to ad formats, all the operands must be in - // left_operands. - AND = 5; - - // Operator that returns true if the elements in left_operands contain any - // of the elements in right_operands. Otherwise, return false. The - // right_operands must contain at least 1 and no more than 3 - // ConstantOperands. - CONTAINS_ANY = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/media_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/media_type.proto deleted file mode 100644 index a7bbf91ef..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/media_type.proto +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MediaTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing media types. - -// Container for enum describing the types of media. -message MediaTypeEnum { - // The type of media. - enum MediaType { - // The media type has not been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // Static image, used for image ad. - IMAGE = 2; - - // Small image, used for map ad. - ICON = 3; - - // ZIP file, used in fields of template ads. - MEDIA_BUNDLE = 4; - - // Audio file. - AUDIO = 5; - - // Video file. - VIDEO = 6; - - // Animated image, such as animated GIF. - DYNAMIC_IMAGE = 7; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/merchant_center_link_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/merchant_center_link_status.proto deleted file mode 100644 index c4a6b51bd..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/merchant_center_link_status.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MerchantCenterLinkStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing Merchant Center link statuses. - -// Container for enum describing possible statuses of a Google Merchant Center -// link. -message MerchantCenterLinkStatusEnum { - // Describes the possible statuses for a link between a Google Ads customer - // and a Google Merchant Center account. - enum MerchantCenterLinkStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The link is enabled. - ENABLED = 2; - - // The link has no effect. It was proposed by the Merchant Center Account - // owner and hasn't been confirmed by the customer. - PENDING = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/message_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v12/enums/message_placeholder_field.proto deleted file mode 100644 index e62e62584..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/message_placeholder_field.proto +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MessagePlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing Message placeholder fields. - -// Values for Message placeholder fields. -message MessagePlaceholderFieldEnum { - // Possible values for Message placeholder fields. - enum MessagePlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. The name of your business. - BUSINESS_NAME = 2; - - // Data Type: STRING. Country code of phone number. - COUNTRY_CODE = 3; - - // Data Type: STRING. A phone number that's capable of sending and receiving - // text messages. - PHONE_NUMBER = 4; - - // Data Type: STRING. The text that will go in your click-to-message ad. - MESSAGE_EXTENSION_TEXT = 5; - - // Data Type: STRING. The message text automatically shows in people's - // messaging apps when they tap to send you a message. - MESSAGE_TEXT = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/mime_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/mime_type.proto deleted file mode 100644 index 400f01b9d..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/mime_type.proto +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MimeTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing mime types. - -// Container for enum describing the mime types. -message MimeTypeEnum { - // The mime type - enum MimeType { - // The mime type has not been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // MIME type of image/jpeg. - IMAGE_JPEG = 2; - - // MIME type of image/gif. - IMAGE_GIF = 3; - - // MIME type of image/png. - IMAGE_PNG = 4; - - // MIME type of application/x-shockwave-flash. - FLASH = 5; - - // MIME type of text/html. - TEXT_HTML = 6; - - // MIME type of application/pdf. - PDF = 7; - - // MIME type of application/msword. - MSWORD = 8; - - // MIME type of application/vnd.ms-excel. - MSEXCEL = 9; - - // MIME type of application/rtf. - RTF = 10; - - // MIME type of audio/wav. - AUDIO_WAV = 11; - - // MIME type of audio/mp3. - AUDIO_MP3 = 12; - - // MIME type of application/x-html5-ad-zip. - HTML5_AD_ZIP = 13; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/minute_of_hour.proto b/third_party/googleapis/google/ads/googleads/v12/enums/minute_of_hour.proto deleted file mode 100644 index 312ad40ae..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/minute_of_hour.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MinuteOfHourProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing days of week. - -// Container for enumeration of quarter-hours. -message MinuteOfHourEnum { - // Enumerates of quarter-hours. For example, "FIFTEEN" - enum MinuteOfHour { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Zero minutes past the hour. - ZERO = 2; - - // Fifteen minutes past the hour. - FIFTEEN = 3; - - // Thirty minutes past the hour. - THIRTY = 4; - - // Forty-five minutes past the hour. - FORTY_FIVE = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/mobile_app_vendor.proto b/third_party/googleapis/google/ads/googleads/v12/enums/mobile_app_vendor.proto deleted file mode 100644 index 738bbe761..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/mobile_app_vendor.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MobileAppVendorProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Container for enum describing different types of mobile app vendors. -message MobileAppVendorEnum { - // The type of mobile app vendor - enum MobileAppVendor { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Mobile app vendor for Apple app store. - APPLE_APP_STORE = 2; - - // Mobile app vendor for Google app store. - GOOGLE_APP_STORE = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/mobile_device_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/mobile_device_type.proto deleted file mode 100644 index ac01a97bd..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/mobile_device_type.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MobileDeviceTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing mobile device types. - -// Container for enum describing the types of mobile device. -message MobileDeviceTypeEnum { - // The type of mobile device. - enum MobileDeviceType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Mobile phones. - MOBILE = 2; - - // Tablets. - TABLET = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/month_of_year.proto b/third_party/googleapis/google/ads/googleads/v12/enums/month_of_year.proto deleted file mode 100644 index cdb139c8e..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/month_of_year.proto +++ /dev/null @@ -1,78 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MonthOfYearProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing days of week. - -// Container for enumeration of months of the year, for example, "January". -message MonthOfYearEnum { - // Enumerates months of the year, for example, "January". - enum MonthOfYear { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // January. - JANUARY = 2; - - // February. - FEBRUARY = 3; - - // March. - MARCH = 4; - - // April. - APRIL = 5; - - // May. - MAY = 6; - - // June. - JUNE = 7; - - // July. - JULY = 8; - - // August. - AUGUST = 9; - - // September. - SEPTEMBER = 10; - - // October. - OCTOBER = 11; - - // November. - NOVEMBER = 12; - - // December. - DECEMBER = 13; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/negative_geo_target_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/negative_geo_target_type.proto deleted file mode 100644 index 145e73584..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/negative_geo_target_type.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "NegativeGeoTargetTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing negative geo target types. - -// Container for enum describing possible negative geo target types. -message NegativeGeoTargetTypeEnum { - // The possible negative geo target types. - enum NegativeGeoTargetType { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Specifies that a user is excluded from seeing the ad if they - // are in, or show interest in, advertiser's excluded locations. - PRESENCE_OR_INTEREST = 4; - - // Specifies that a user is excluded from seeing the ad if they - // are in advertiser's excluded locations. - PRESENCE = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/offline_user_data_job_failure_reason.proto b/third_party/googleapis/google/ads/googleads/v12/enums/offline_user_data_job_failure_reason.proto deleted file mode 100644 index 67467cf6a..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/offline_user_data_job_failure_reason.proto +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "OfflineUserDataJobFailureReasonProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing offline user data job failure reasons. - -// Container for enum describing reasons why an offline user data job -// failed to be processed. -message OfflineUserDataJobFailureReasonEnum { - // The failure reason of an offline user data job. - enum OfflineUserDataJobFailureReason { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The matched transactions are insufficient. - INSUFFICIENT_MATCHED_TRANSACTIONS = 2; - - // The uploaded transactions are insufficient. - INSUFFICIENT_TRANSACTIONS = 3; - - // The average transaction value is unusually high for your account. If - // this is intended, contact support to request an exception. - HIGH_AVERAGE_TRANSACTION_VALUE = 4; - - // The average transaction value is unusually low for your account. If - // this is intended, contact support to request an exception. - LOW_AVERAGE_TRANSACTION_VALUE = 5; - - // There's a currency code that you haven't used before in your uploads. If - // this is intended, contact support to request an exception. - NEWLY_OBSERVED_CURRENCY_CODE = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/offline_user_data_job_match_rate_range.proto b/third_party/googleapis/google/ads/googleads/v12/enums/offline_user_data_job_match_rate_range.proto deleted file mode 100644 index d43d6ab63..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/offline_user_data_job_match_rate_range.proto +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "OfflineUserDataJobMatchRateRangeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Container for enum describing reasons match rate ranges for a customer match -// list upload. -message OfflineUserDataJobMatchRateRangeEnum { - // The match rate range of an offline user data job. - enum OfflineUserDataJobMatchRateRange { - // Not specified. - UNSPECIFIED = 0; - - // Default value for match rate range. - UNKNOWN = 1; - - // Match rate range for offline data upload entity is between 0% and 19%. - MATCH_RANGE_LESS_THAN_20 = 2; - - // Match rate range for offline data upload entity is between 20% and 30%. - MATCH_RANGE_20_TO_30 = 3; - - // Match rate range for offline data upload entity is between 31% and 40%. - MATCH_RANGE_31_TO_40 = 4; - - // Match rate range for offline data upload entity is between 41% and 50%. - MATCH_RANGE_41_TO_50 = 5; - - // Match rate range for offline data upload entity is between 51% and 60%. - MATCH_RANGE_51_TO_60 = 6; - - // Match rate range for offline data upload entity is between 61% and 70%. - MATCH_RANGE_61_TO_70 = 7; - - // Match rate range for offline data upload entity is between 71% and 80%. - MATCH_RANGE_71_TO_80 = 8; - - // Match rate range for offline data upload entity is between 81% and 90%. - MATCH_RANGE_81_TO_90 = 9; - - // Match rate range for offline data upload entity is more than or equal to - // 91%. - MATCH_RANGE_91_TO_100 = 10; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/offline_user_data_job_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/offline_user_data_job_status.proto deleted file mode 100644 index 250e6ca7c..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/offline_user_data_job_status.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "OfflineUserDataJobStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing offline user data job status. - -// Container for enum describing status of an offline user data job. -message OfflineUserDataJobStatusEnum { - // The status of an offline user data job. - enum OfflineUserDataJobStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The job has been successfully created and pending for uploading. - PENDING = 2; - - // Upload(s) have been accepted and data is being processed. - RUNNING = 3; - - // Uploaded data has been successfully processed. - SUCCESS = 4; - - // Uploaded data has failed to be processed. - FAILED = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/offline_user_data_job_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/offline_user_data_job_type.proto deleted file mode 100644 index a67eab334..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/offline_user_data_job_type.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "OfflineUserDataJobTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing offline user data job types. - -// Container for enum describing types of an offline user data job. -message OfflineUserDataJobTypeEnum { - // The type of an offline user data job. - enum OfflineUserDataJobType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Store Sales Direct data for self service. - STORE_SALES_UPLOAD_FIRST_PARTY = 2; - - // Store Sales Direct data for third party. - STORE_SALES_UPLOAD_THIRD_PARTY = 3; - - // Customer Match user list data. - CUSTOMER_MATCH_USER_LIST = 4; - - // Customer Match with attribute data. - CUSTOMER_MATCH_WITH_ATTRIBUTES = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/operating_system_version_operator_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/operating_system_version_operator_type.proto deleted file mode 100644 index 4b3701b48..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/operating_system_version_operator_type.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "OperatingSystemVersionOperatorTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing operating system version operator types. - -// Container for enum describing the type of OS operators. -message OperatingSystemVersionOperatorTypeEnum { - // The type of operating system version. - enum OperatingSystemVersionOperatorType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Equals to the specified version. - EQUALS_TO = 2; - - // Greater than or equals to the specified version. - GREATER_THAN_EQUALS_TO = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/optimization_goal_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/optimization_goal_type.proto deleted file mode 100644 index 78b106aa5..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/optimization_goal_type.proto +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "OptimizationGoalTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing optimization goal type. - -// Container for enum describing the type of optimization goal. -message OptimizationGoalTypeEnum { - // The type of optimization goal - enum OptimizationGoalType { - // Not specified. - UNSPECIFIED = 0; - - // Used as a return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Optimize for call clicks. Call click conversions are times people - // selected 'Call' to contact a store after viewing an ad. - CALL_CLICKS = 2; - - // Optimize for driving directions. Driving directions conversions are - // times people selected 'Get directions' to navigate to a store after - // viewing an ad. - DRIVING_DIRECTIONS = 3; - - // Optimize for pre-registration. Pre-registration conversions are the - // number of pre-registration signups to receive a notification when the app - // is released. - APP_PRE_REGISTRATION = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/parental_status_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/parental_status_type.proto deleted file mode 100644 index a7e2a163b..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/parental_status_type.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ParentalStatusTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing parenal status types. - -// Container for enum describing the type of demographic parental statuses. -message ParentalStatusTypeEnum { - // The type of parental statuses (for example, not a parent). - enum ParentalStatusType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Parent. - PARENT = 300; - - // Not a parent. - NOT_A_PARENT = 301; - - // Undetermined parental status. - UNDETERMINED = 302; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/payment_mode.proto b/third_party/googleapis/google/ads/googleads/v12/enums/payment_mode.proto deleted file mode 100644 index e35cc60d5..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/payment_mode.proto +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PaymentModeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing payment modes. - -// Container for enum describing possible payment modes. -message PaymentModeEnum { - // Enum describing possible payment modes. - enum PaymentMode { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Pay per interaction. - CLICKS = 4; - - // Pay per conversion value. This mode is only supported by campaigns with - // AdvertisingChannelType.HOTEL, BiddingStrategyType.COMMISSION, and - // BudgetType.STANDARD. - CONVERSION_VALUE = 5; - - // Pay per conversion. This mode is only supported by campaigns with - // AdvertisingChannelType.DISPLAY (excluding - // AdvertisingChannelSubType.DISPLAY_GMAIL), BiddingStrategyType.TARGET_CPA, - // and BudgetType.FIXED_CPA. The customer must also be eligible for this - // mode. See Customer.eligibility_failure_reasons for details. - CONVERSIONS = 6; - - // Pay per guest stay value. This mode is only supported by campaigns with - // AdvertisingChannelType.HOTEL, BiddingStrategyType.COMMISSION, and - // BudgetType.STANDARD. - GUEST_STAY = 7; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/performance_max_upgrade_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/performance_max_upgrade_status.proto deleted file mode 100644 index aff129d54..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/performance_max_upgrade_status.proto +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PerformanceMaxUpgradeStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing advertising channel types - -// Performance Max Upgrade status for campaign. -message PerformanceMaxUpgradeStatusEnum { - // Performance Max Upgrade status enum for campaign. - enum PerformanceMaxUpgradeStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The campaign is eligible for upgrade to a Performance Max campaign. - UPGRADE_ELIBIGLE = 2; - - // The upgrade to a Performance Max campaign is in progress. - UPGRADE_IN_PROGRESS = 3; - - // The upgrade to a Performance Max campaign is complete. - UPGRADE_COMPLETE = 4; - - // The upgrade to a Performance Max campaign failed. - // The campaign will still serve as it was before upgrade was attempted. - UPGRADE_FAILED = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/placeholder_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/placeholder_type.proto deleted file mode 100644 index b8d1694bc..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/placeholder_type.proto +++ /dev/null @@ -1,122 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PlaceholderTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing feed placeholder types. - -// Container for enum describing possible placeholder types for a feed mapping. -message PlaceholderTypeEnum { - // Possible placeholder types for a feed mapping. - enum PlaceholderType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Lets you show links in your ad to pages from your website, including the - // main landing page. - SITELINK = 2; - - // Lets you attach a phone number to an ad, allowing customers to call - // directly from the ad. - CALL = 3; - - // Lets you provide users with a link that points to a mobile app in - // addition to a website. - APP = 4; - - // Lets you show locations of businesses from your Business Profile - // in your ad. This helps people find your locations by showing your - // ads with your address, a map to your location, or the distance to your - // business. This extension type is useful to draw customers to your - // brick-and-mortar location. - LOCATION = 5; - - // If you sell your product through retail chains, affiliate location - // extensions let you show nearby stores that carry your products. - AFFILIATE_LOCATION = 6; - - // Lets you include additional text with your search ads that provide - // detailed information about your business, including products and services - // you offer. Callouts appear in ads at the top and bottom of Google search - // results. - CALLOUT = 7; - - // Lets you add more info to your ad, specific to some predefined categories - // such as types, brands, styles, etc. A minimum of 3 text (SNIPPETS) values - // are required. - STRUCTURED_SNIPPET = 8; - - // Allows users to see your ad, click an icon, and contact you directly by - // text message. With one tap on your ad, people can contact you to book an - // appointment, get a quote, ask for information, or request a service. - MESSAGE = 9; - - // Lets you display prices for a list of items along with your ads. A price - // feed is composed of three to eight price table rows. - PRICE = 10; - - // Lets you highlight sales and other promotions that let users see how - // they can save by buying now. - PROMOTION = 11; - - // Lets you dynamically inject custom data into the title and description - // of your ads. - AD_CUSTOMIZER = 12; - - // Indicates that this feed is for education dynamic remarketing. - DYNAMIC_EDUCATION = 13; - - // Indicates that this feed is for flight dynamic remarketing. - DYNAMIC_FLIGHT = 14; - - // Indicates that this feed is for a custom dynamic remarketing type. Use - // this only if the other business types don't apply to your products or - // services. - DYNAMIC_CUSTOM = 15; - - // Indicates that this feed is for hotels and rentals dynamic remarketing. - DYNAMIC_HOTEL = 16; - - // Indicates that this feed is for real estate dynamic remarketing. - DYNAMIC_REAL_ESTATE = 17; - - // Indicates that this feed is for travel dynamic remarketing. - DYNAMIC_TRAVEL = 18; - - // Indicates that this feed is for local deals dynamic remarketing. - DYNAMIC_LOCAL = 19; - - // Indicates that this feed is for job dynamic remarketing. - DYNAMIC_JOB = 20; - - // Lets you attach an image to an ad. - IMAGE = 21; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/placement_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/placement_type.proto deleted file mode 100644 index d39c6e4e4..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/placement_type.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PlacementTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing placement types. - -// Container for enum describing possible placement types. -message PlacementTypeEnum { - // Possible placement types for a feed mapping. - enum PlacementType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Websites(for example, 'www.flowers4sale.com'). - WEBSITE = 2; - - // Mobile application categories(for example, 'Games'). - MOBILE_APP_CATEGORY = 3; - - // mobile applications(for example, 'mobileapp::2-com.whatsthewordanswers'). - MOBILE_APPLICATION = 4; - - // YouTube videos(for example, 'youtube.com/video/wtLJPvx7-ys'). - YOUTUBE_VIDEO = 5; - - // YouTube channels(for example, 'youtube.com::L8ZULXASCc1I_oaOT0NaOQ'). - YOUTUBE_CHANNEL = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/policy_approval_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/policy_approval_status.proto deleted file mode 100644 index f3a1d610e..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/policy_approval_status.proto +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PolicyApprovalStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing policy approval statuses. - -// Container for enum describing possible policy approval statuses. -message PolicyApprovalStatusEnum { - // The possible policy approval statuses. When there are several approval - // statuses available the most severe one will be used. The order of severity - // is DISAPPROVED, AREA_OF_INTEREST_ONLY, APPROVED_LIMITED and APPROVED. - enum PolicyApprovalStatus { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // Will not serve. - DISAPPROVED = 2; - - // Serves with restrictions. - APPROVED_LIMITED = 3; - - // Serves without restrictions. - APPROVED = 4; - - // Will not serve in targeted countries, but may serve for users who are - // searching for information about the targeted countries. - AREA_OF_INTEREST_ONLY = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/policy_review_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/policy_review_status.proto deleted file mode 100644 index cfbaede57..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/policy_review_status.proto +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PolicyReviewStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing policy review statuses. - -// Container for enum describing possible policy review statuses. -message PolicyReviewStatusEnum { - // The possible policy review statuses. - enum PolicyReviewStatus { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // Currently under review. - REVIEW_IN_PROGRESS = 2; - - // Primary review complete. Other reviews may be continuing. - REVIEWED = 3; - - // The resource has been resubmitted for approval or its policy decision has - // been appealed. - UNDER_APPEAL = 4; - - // The resource is eligible and may be serving but could still undergo - // further review. - ELIGIBLE_MAY_SERVE = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/policy_topic_entry_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/policy_topic_entry_type.proto deleted file mode 100644 index ba523f8a9..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/policy_topic_entry_type.proto +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PolicyTopicEntryTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing policy topic entry types. - -// Container for enum describing possible policy topic entry types. -message PolicyTopicEntryTypeEnum { - // The possible policy topic entry types. - enum PolicyTopicEntryType { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // The resource will not be served. - PROHIBITED = 2; - - // The resource will not be served under some circumstances. - LIMITED = 4; - - // The resource cannot serve at all because of the current targeting - // criteria. - FULLY_LIMITED = 8; - - // May be of interest, but does not limit how the resource is served. - DESCRIPTIVE = 5; - - // Could increase coverage beyond normal. - BROADENING = 6; - - // Constrained for all targeted countries, but may serve in other countries - // through area of interest. - AREA_OF_INTEREST_ONLY = 7; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/policy_topic_evidence_destination_mismatch_url_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/policy_topic_evidence_destination_mismatch_url_type.proto deleted file mode 100644 index 2f53bdfeb..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/policy_topic_evidence_destination_mismatch_url_type.proto +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PolicyTopicEvidenceDestinationMismatchUrlTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing policy topic evidence destination mismatch url types. - -// Container for enum describing possible policy topic evidence destination -// mismatch url types. -message PolicyTopicEvidenceDestinationMismatchUrlTypeEnum { - // The possible policy topic evidence destination mismatch url types. - enum PolicyTopicEvidenceDestinationMismatchUrlType { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // The display url. - DISPLAY_URL = 2; - - // The final url. - FINAL_URL = 3; - - // The final mobile url. - FINAL_MOBILE_URL = 4; - - // The tracking url template, with substituted desktop url. - TRACKING_URL = 5; - - // The tracking url template, with substituted mobile url. - MOBILE_TRACKING_URL = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/policy_topic_evidence_destination_not_working_device.proto b/third_party/googleapis/google/ads/googleads/v12/enums/policy_topic_evidence_destination_not_working_device.proto deleted file mode 100644 index 288000182..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/policy_topic_evidence_destination_not_working_device.proto +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PolicyTopicEvidenceDestinationNotWorkingDeviceProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing device of destination not working policy topic -// evidence. - -// Container for enum describing possible policy topic evidence destination not -// working devices. -message PolicyTopicEvidenceDestinationNotWorkingDeviceEnum { - // The possible policy topic evidence destination not working devices. - enum PolicyTopicEvidenceDestinationNotWorkingDevice { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // Landing page doesn't work on desktop device. - DESKTOP = 2; - - // Landing page doesn't work on Android device. - ANDROID = 3; - - // Landing page doesn't work on iOS device. - IOS = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto deleted file mode 100644 index 5b036b551..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing DNS error types of destination not working policy topic -// evidence. - -// Container for enum describing possible policy topic evidence destination not -// working DNS error types. -message PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum { - // The possible policy topic evidence destination not working DNS error types. - enum PolicyTopicEvidenceDestinationNotWorkingDnsErrorType { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // Host name not found in DNS when fetching landing page. - HOSTNAME_NOT_FOUND = 2; - - // Google internal crawler issue when communicating with DNS. This error - // doesn't mean the landing page doesn't work. Google will recrawl the - // landing page. - GOOGLE_CRAWLER_DNS_ISSUE = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/positive_geo_target_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/positive_geo_target_type.proto deleted file mode 100644 index 1ad7911e1..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/positive_geo_target_type.proto +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PositiveGeoTargetTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing positive geo target types. - -// Container for enum describing possible positive geo target types. -message PositiveGeoTargetTypeEnum { - // The possible positive geo target types. - enum PositiveGeoTargetType { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Specifies that an ad is triggered if the user is in, - // or shows interest in, advertiser's targeted locations. - PRESENCE_OR_INTEREST = 5; - - // Specifies that an ad is triggered if the user - // searches for advertiser's targeted locations. - // This can only be used with Search and standard - // Shopping campaigns. - SEARCH_INTEREST = 6; - - // Specifies that an ad is triggered if the user is in - // or regularly in advertiser's targeted locations. - PRESENCE = 7; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/preferred_content_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/preferred_content_type.proto deleted file mode 100644 index f156aadff..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/preferred_content_type.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PreferredContentTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing preferred content criterion type. - -// Container for enumeration of preferred content criterion type. -message PreferredContentTypeEnum { - // Enumerates preferred content criterion type. - enum PreferredContentType { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Represents top content on YouTube. - YOUTUBE_TOP_CONTENT = 400; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/price_extension_price_qualifier.proto b/third_party/googleapis/google/ads/googleads/v12/enums/price_extension_price_qualifier.proto deleted file mode 100644 index 97a9f60c6..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/price_extension_price_qualifier.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PriceExtensionPriceQualifierProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing price extension price qualifier type. - -// Container for enum describing a price extension price qualifier. -message PriceExtensionPriceQualifierEnum { - // Enums of price extension price qualifier. - enum PriceExtensionPriceQualifier { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // 'From' qualifier for the price. - FROM = 2; - - // 'Up to' qualifier for the price. - UP_TO = 3; - - // 'Average' qualifier for the price. - AVERAGE = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/price_extension_price_unit.proto b/third_party/googleapis/google/ads/googleads/v12/enums/price_extension_price_unit.proto deleted file mode 100644 index c52e15d10..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/price_extension_price_unit.proto +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PriceExtensionPriceUnitProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing price extension price unit. - -// Container for enum describing price extension price unit. -message PriceExtensionPriceUnitEnum { - // Price extension price unit. - enum PriceExtensionPriceUnit { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Per hour. - PER_HOUR = 2; - - // Per day. - PER_DAY = 3; - - // Per week. - PER_WEEK = 4; - - // Per month. - PER_MONTH = 5; - - // Per year. - PER_YEAR = 6; - - // Per night. - PER_NIGHT = 7; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/price_extension_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/price_extension_type.proto deleted file mode 100644 index efef9f0f3..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/price_extension_type.proto +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PriceExtensionTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing price extension type. - -// Container for enum describing types for a price extension. -message PriceExtensionTypeEnum { - // Price extension type. - enum PriceExtensionType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The type for showing a list of brands. - BRANDS = 2; - - // The type for showing a list of events. - EVENTS = 3; - - // The type for showing locations relevant to your business. - LOCATIONS = 4; - - // The type for showing sub-regions or districts within a city or region. - NEIGHBORHOODS = 5; - - // The type for showing a collection of product categories. - PRODUCT_CATEGORIES = 6; - - // The type for showing a collection of related product tiers. - PRODUCT_TIERS = 7; - - // The type for showing a collection of services offered by your business. - SERVICES = 8; - - // The type for showing a collection of service categories. - SERVICE_CATEGORIES = 9; - - // The type for showing a collection of related service tiers. - SERVICE_TIERS = 10; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/price_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v12/enums/price_placeholder_field.proto deleted file mode 100644 index 7138dec1b..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/price_placeholder_field.proto +++ /dev/null @@ -1,246 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PricePlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing Price placeholder fields. - -// Values for Price placeholder fields. -message PricePlaceholderFieldEnum { - // Possible values for Price placeholder fields. - enum PricePlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. The type of your price feed. Must match one of the - // predefined price feed type exactly. - TYPE = 2; - - // Data Type: STRING. The qualifier of each price. Must match one of the - // predefined price qualifiers exactly. - PRICE_QUALIFIER = 3; - - // Data Type: URL. Tracking template for the price feed when using Upgraded - // URLs. - TRACKING_TEMPLATE = 4; - - // Data Type: STRING. Language of the price feed. Must match one of the - // available available locale codes exactly. - LANGUAGE = 5; - - // Data Type: STRING. Final URL suffix for the price feed when using - // parallel tracking. - FINAL_URL_SUFFIX = 6; - - // Data Type: STRING. The header of item 1 of the table. - ITEM_1_HEADER = 100; - - // Data Type: STRING. The description of item 1 of the table. - ITEM_1_DESCRIPTION = 101; - - // Data Type: MONEY. The price (money with currency) of item 1 of the table, - // for example, 30 USD. The currency must match one of the available - // currencies. - ITEM_1_PRICE = 102; - - // Data Type: STRING. The price unit of item 1 of the table. Must match one - // of the predefined price units. - ITEM_1_UNIT = 103; - - // Data Type: URL_LIST. The final URLs of item 1 of the table when using - // Upgraded URLs. - ITEM_1_FINAL_URLS = 104; - - // Data Type: URL_LIST. The final mobile URLs of item 1 of the table when - // using Upgraded URLs. - ITEM_1_FINAL_MOBILE_URLS = 105; - - // Data Type: STRING. The header of item 2 of the table. - ITEM_2_HEADER = 200; - - // Data Type: STRING. The description of item 2 of the table. - ITEM_2_DESCRIPTION = 201; - - // Data Type: MONEY. The price (money with currency) of item 2 of the table, - // for example, 30 USD. The currency must match one of the available - // currencies. - ITEM_2_PRICE = 202; - - // Data Type: STRING. The price unit of item 2 of the table. Must match one - // of the predefined price units. - ITEM_2_UNIT = 203; - - // Data Type: URL_LIST. The final URLs of item 2 of the table when using - // Upgraded URLs. - ITEM_2_FINAL_URLS = 204; - - // Data Type: URL_LIST. The final mobile URLs of item 2 of the table when - // using Upgraded URLs. - ITEM_2_FINAL_MOBILE_URLS = 205; - - // Data Type: STRING. The header of item 3 of the table. - ITEM_3_HEADER = 300; - - // Data Type: STRING. The description of item 3 of the table. - ITEM_3_DESCRIPTION = 301; - - // Data Type: MONEY. The price (money with currency) of item 3 of the table, - // for example, 30 USD. The currency must match one of the available - // currencies. - ITEM_3_PRICE = 302; - - // Data Type: STRING. The price unit of item 3 of the table. Must match one - // of the predefined price units. - ITEM_3_UNIT = 303; - - // Data Type: URL_LIST. The final URLs of item 3 of the table when using - // Upgraded URLs. - ITEM_3_FINAL_URLS = 304; - - // Data Type: URL_LIST. The final mobile URLs of item 3 of the table when - // using Upgraded URLs. - ITEM_3_FINAL_MOBILE_URLS = 305; - - // Data Type: STRING. The header of item 4 of the table. - ITEM_4_HEADER = 400; - - // Data Type: STRING. The description of item 4 of the table. - ITEM_4_DESCRIPTION = 401; - - // Data Type: MONEY. The price (money with currency) of item 4 of the table, - // for example, 30 USD. The currency must match one of the available - // currencies. - ITEM_4_PRICE = 402; - - // Data Type: STRING. The price unit of item 4 of the table. Must match one - // of the predefined price units. - ITEM_4_UNIT = 403; - - // Data Type: URL_LIST. The final URLs of item 4 of the table when using - // Upgraded URLs. - ITEM_4_FINAL_URLS = 404; - - // Data Type: URL_LIST. The final mobile URLs of item 4 of the table when - // using Upgraded URLs. - ITEM_4_FINAL_MOBILE_URLS = 405; - - // Data Type: STRING. The header of item 5 of the table. - ITEM_5_HEADER = 500; - - // Data Type: STRING. The description of item 5 of the table. - ITEM_5_DESCRIPTION = 501; - - // Data Type: MONEY. The price (money with currency) of item 5 of the table, - // for example, 30 USD. The currency must match one of the available - // currencies. - ITEM_5_PRICE = 502; - - // Data Type: STRING. The price unit of item 5 of the table. Must match one - // of the predefined price units. - ITEM_5_UNIT = 503; - - // Data Type: URL_LIST. The final URLs of item 5 of the table when using - // Upgraded URLs. - ITEM_5_FINAL_URLS = 504; - - // Data Type: URL_LIST. The final mobile URLs of item 5 of the table when - // using Upgraded URLs. - ITEM_5_FINAL_MOBILE_URLS = 505; - - // Data Type: STRING. The header of item 6 of the table. - ITEM_6_HEADER = 600; - - // Data Type: STRING. The description of item 6 of the table. - ITEM_6_DESCRIPTION = 601; - - // Data Type: MONEY. The price (money with currency) of item 6 of the table, - // for example, 30 USD. The currency must match one of the available - // currencies. - ITEM_6_PRICE = 602; - - // Data Type: STRING. The price unit of item 6 of the table. Must match one - // of the predefined price units. - ITEM_6_UNIT = 603; - - // Data Type: URL_LIST. The final URLs of item 6 of the table when using - // Upgraded URLs. - ITEM_6_FINAL_URLS = 604; - - // Data Type: URL_LIST. The final mobile URLs of item 6 of the table when - // using Upgraded URLs. - ITEM_6_FINAL_MOBILE_URLS = 605; - - // Data Type: STRING. The header of item 7 of the table. - ITEM_7_HEADER = 700; - - // Data Type: STRING. The description of item 7 of the table. - ITEM_7_DESCRIPTION = 701; - - // Data Type: MONEY. The price (money with currency) of item 7 of the table, - // for example, 30 USD. The currency must match one of the available - // currencies. - ITEM_7_PRICE = 702; - - // Data Type: STRING. The price unit of item 7 of the table. Must match one - // of the predefined price units. - ITEM_7_UNIT = 703; - - // Data Type: URL_LIST. The final URLs of item 7 of the table when using - // Upgraded URLs. - ITEM_7_FINAL_URLS = 704; - - // Data Type: URL_LIST. The final mobile URLs of item 7 of the table when - // using Upgraded URLs. - ITEM_7_FINAL_MOBILE_URLS = 705; - - // Data Type: STRING. The header of item 8 of the table. - ITEM_8_HEADER = 800; - - // Data Type: STRING. The description of item 8 of the table. - ITEM_8_DESCRIPTION = 801; - - // Data Type: MONEY. The price (money with currency) of item 8 of the table, - // for example, 30 USD. The currency must match one of the available - // currencies. - ITEM_8_PRICE = 802; - - // Data Type: STRING. The price unit of item 8 of the table. Must match one - // of the predefined price units. - ITEM_8_UNIT = 803; - - // Data Type: URL_LIST. The final URLs of item 8 of the table when using - // Upgraded URLs. - ITEM_8_FINAL_URLS = 804; - - // Data Type: URL_LIST. The final mobile URLs of item 8 of the table when - // using Upgraded URLs. - ITEM_8_FINAL_MOBILE_URLS = 805; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/product_bidding_category_level.proto b/third_party/googleapis/google/ads/googleads/v12/enums/product_bidding_category_level.proto deleted file mode 100644 index 6752fea77..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/product_bidding_category_level.proto +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ProductBiddingCategoryLevelProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Level of a product bidding category. -message ProductBiddingCategoryLevelEnum { - // Enum describing the level of the product bidding category. - enum ProductBiddingCategoryLevel { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Level 1. - LEVEL1 = 2; - - // Level 2. - LEVEL2 = 3; - - // Level 3. - LEVEL3 = 4; - - // Level 4. - LEVEL4 = 5; - - // Level 5. - LEVEL5 = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/product_bidding_category_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/product_bidding_category_status.proto deleted file mode 100644 index 93b682fd0..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/product_bidding_category_status.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ProductBiddingCategoryStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing bidding schemes. - -// Status of the product bidding category. -message ProductBiddingCategoryStatusEnum { - // Enum describing the status of the product bidding category. - enum ProductBiddingCategoryStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The category is active and can be used for bidding. - ACTIVE = 2; - - // The category is obsolete. Used only for reporting purposes. - OBSOLETE = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/product_channel.proto b/third_party/googleapis/google/ads/googleads/v12/enums/product_channel.proto deleted file mode 100644 index daefabc8d..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/product_channel.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ProductChannelProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing bidding schemes. - -// Locality of a product offer. -message ProductChannelEnum { - // Enum describing the locality of a product offer. - enum ProductChannel { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The item is sold online. - ONLINE = 2; - - // The item is sold in local stores. - LOCAL = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/product_channel_exclusivity.proto b/third_party/googleapis/google/ads/googleads/v12/enums/product_channel_exclusivity.proto deleted file mode 100644 index 47efcbf34..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/product_channel_exclusivity.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ProductChannelExclusivityProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing bidding schemes. - -// Availability of a product offer. -message ProductChannelExclusivityEnum { - // Enum describing the availability of a product offer. - enum ProductChannelExclusivity { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The item is sold through one channel only, either local stores or online - // as indicated by its ProductChannel. - SINGLE_CHANNEL = 2; - - // The item is matched to its online or local stores counterpart, indicating - // it is available for purchase in both ShoppingProductChannels. - MULTI_CHANNEL = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/product_condition.proto b/third_party/googleapis/google/ads/googleads/v12/enums/product_condition.proto deleted file mode 100644 index e6fad5153..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/product_condition.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ProductConditionProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing bidding schemes. - -// Condition of a product offer. -message ProductConditionEnum { - // Enum describing the condition of a product offer. - enum ProductCondition { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The product condition is new. - NEW = 3; - - // The product condition is refurbished. - REFURBISHED = 4; - - // The product condition is used. - USED = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/product_custom_attribute_index.proto b/third_party/googleapis/google/ads/googleads/v12/enums/product_custom_attribute_index.proto deleted file mode 100644 index 3032c62b4..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/product_custom_attribute_index.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ProductCustomAttributeIndexProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing product custom attributes. - -// Container for enum describing the index of the product custom attribute. -message ProductCustomAttributeIndexEnum { - // The index of the product custom attribute. - enum ProductCustomAttributeIndex { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // First product custom attribute. - INDEX0 = 7; - - // Second product custom attribute. - INDEX1 = 8; - - // Third product custom attribute. - INDEX2 = 9; - - // Fourth product custom attribute. - INDEX3 = 10; - - // Fifth product custom attribute. - INDEX4 = 11; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/product_type_level.proto b/third_party/googleapis/google/ads/googleads/v12/enums/product_type_level.proto deleted file mode 100644 index ee1e21b04..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/product_type_level.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ProductTypeLevelProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing bidding schemes. - -// Level of the type of a product offer. -message ProductTypeLevelEnum { - // Enum describing the level of the type of a product offer. - enum ProductTypeLevel { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Level 1. - LEVEL1 = 7; - - // Level 2. - LEVEL2 = 8; - - // Level 3. - LEVEL3 = 9; - - // Level 4. - LEVEL4 = 10; - - // Level 5. - LEVEL5 = 11; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/promotion_extension_discount_modifier.proto b/third_party/googleapis/google/ads/googleads/v12/enums/promotion_extension_discount_modifier.proto deleted file mode 100644 index c62382689..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/promotion_extension_discount_modifier.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PromotionExtensionDiscountModifierProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing promotion extension discount modifier. - -// Container for enum describing possible a promotion extension -// discount modifier. -message PromotionExtensionDiscountModifierEnum { - // A promotion extension discount modifier. - enum PromotionExtensionDiscountModifier { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // 'Up to'. - UP_TO = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/promotion_extension_occasion.proto b/third_party/googleapis/google/ads/googleads/v12/enums/promotion_extension_occasion.proto deleted file mode 100644 index 9c66e1c62..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/promotion_extension_occasion.proto +++ /dev/null @@ -1,155 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PromotionExtensionOccasionProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing promotion extension occasion. - -// Container for enum describing a promotion extension occasion. -// For more information about the occasions check: -// https://support.google.com/google-ads/answer/7367521 -message PromotionExtensionOccasionEnum { - // A promotion extension occasion. - enum PromotionExtensionOccasion { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // New Year's. - NEW_YEARS = 2; - - // Chinese New Year. - CHINESE_NEW_YEAR = 3; - - // Valentine's Day. - VALENTINES_DAY = 4; - - // Easter. - EASTER = 5; - - // Mother's Day. - MOTHERS_DAY = 6; - - // Father's Day. - FATHERS_DAY = 7; - - // Labor Day. - LABOR_DAY = 8; - - // Back To School. - BACK_TO_SCHOOL = 9; - - // Halloween. - HALLOWEEN = 10; - - // Black Friday. - BLACK_FRIDAY = 11; - - // Cyber Monday. - CYBER_MONDAY = 12; - - // Christmas. - CHRISTMAS = 13; - - // Boxing Day. - BOXING_DAY = 14; - - // Independence Day in any country. - INDEPENDENCE_DAY = 15; - - // National Day in any country. - NATIONAL_DAY = 16; - - // End of any season. - END_OF_SEASON = 17; - - // Winter Sale. - WINTER_SALE = 18; - - // Summer sale. - SUMMER_SALE = 19; - - // Fall Sale. - FALL_SALE = 20; - - // Spring Sale. - SPRING_SALE = 21; - - // Ramadan. - RAMADAN = 22; - - // Eid al-Fitr. - EID_AL_FITR = 23; - - // Eid al-Adha. - EID_AL_ADHA = 24; - - // Singles Day. - SINGLES_DAY = 25; - - // Women's Day. - WOMENS_DAY = 26; - - // Holi. - HOLI = 27; - - // Parent's Day. - PARENTS_DAY = 28; - - // St. Nicholas Day. - ST_NICHOLAS_DAY = 29; - - // Carnival. - CARNIVAL = 30; - - // Epiphany, also known as Three Kings' Day. - EPIPHANY = 31; - - // Rosh Hashanah. - ROSH_HASHANAH = 32; - - // Passover. - PASSOVER = 33; - - // Hanukkah. - HANUKKAH = 34; - - // Diwali. - DIWALI = 35; - - // Navratri. - NAVRATRI = 36; - - // Available in Thai: Songkran. - SONGKRAN = 37; - - // Available in Japanese: Year-end Gift. - YEAR_END_GIFT = 38; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/promotion_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v12/enums/promotion_placeholder_field.proto deleted file mode 100644 index feb42ef4e..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/promotion_placeholder_field.proto +++ /dev/null @@ -1,93 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PromotionPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing Promotion placeholder fields. - -// Values for Promotion placeholder fields. -message PromotionPlaceholderFieldEnum { - // Possible values for Promotion placeholder fields. - enum PromotionPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. The text that appears on the ad when the extension is - // shown. - PROMOTION_TARGET = 2; - - // Data Type: STRING. Lets you add "up to" phrase to the promotion, - // in case you have variable promotion rates. - DISCOUNT_MODIFIER = 3; - - // Data Type: INT64. Takes a value in micros, where 1 million micros - // represents 1%, and is shown as a percentage when rendered. - PERCENT_OFF = 4; - - // Data Type: MONEY. Requires a currency and an amount of money. - MONEY_AMOUNT_OFF = 5; - - // Data Type: STRING. A string that the user enters to get the discount. - PROMOTION_CODE = 6; - - // Data Type: MONEY. A minimum spend before the user qualifies for the - // promotion. - ORDERS_OVER_AMOUNT = 7; - - // Data Type: DATE. The start date of the promotion. - PROMOTION_START = 8; - - // Data Type: DATE. The end date of the promotion. - PROMOTION_END = 9; - - // Data Type: STRING. Describes the associated event for the promotion using - // one of the PromotionExtensionOccasion enum values, for example NEW_YEARS. - OCCASION = 10; - - // Data Type: URL_LIST. Final URLs to be used in the ad when using Upgraded - // URLs. - FINAL_URLS = 11; - - // Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - // URLs. - FINAL_MOBILE_URLS = 12; - - // Data Type: URL. Tracking template for the ad when using Upgraded URLs. - TRACKING_URL = 13; - - // Data Type: STRING. A string represented by a language code for the - // promotion. - LANGUAGE = 14; - - // Data Type: STRING. Final URL suffix for the ad when using parallel - // tracking. - FINAL_URL_SUFFIX = 15; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/proximity_radius_units.proto b/third_party/googleapis/google/ads/googleads/v12/enums/proximity_radius_units.proto deleted file mode 100644 index 1b655f712..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/proximity_radius_units.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ProximityRadiusUnitsProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing proximity radius units. - -// Container for enum describing unit of radius in proximity. -message ProximityRadiusUnitsEnum { - // The unit of radius distance in proximity (for example, MILES) - enum ProximityRadiusUnits { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Miles - MILES = 2; - - // Kilometers - KILOMETERS = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/quality_score_bucket.proto b/third_party/googleapis/google/ads/googleads/v12/enums/quality_score_bucket.proto deleted file mode 100644 index 11298780b..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/quality_score_bucket.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "QualityScoreBucketProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing quality score buckets. - -// The relative performance compared to other advertisers. -message QualityScoreBucketEnum { - // Enum listing the possible quality score buckets. - enum QualityScoreBucket { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Quality of the creative is below average. - BELOW_AVERAGE = 2; - - // Quality of the creative is average. - AVERAGE = 3; - - // Quality of the creative is above average. - ABOVE_AVERAGE = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/reach_plan_age_range.proto b/third_party/googleapis/google/ads/googleads/v12/enums/reach_plan_age_range.proto deleted file mode 100644 index 6728854c4..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/reach_plan_age_range.proto +++ /dev/null @@ -1,120 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ReachPlanAgeRangeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing a plannable age range. - -// Message describing plannable age ranges. -message ReachPlanAgeRangeEnum { - // Possible plannable age range values. - enum ReachPlanAgeRange { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Between 18 and 24 years old. - AGE_RANGE_18_24 = 503001; - - // Between 18 and 34 years old. - AGE_RANGE_18_34 = 2; - - // Between 18 and 44 years old. - AGE_RANGE_18_44 = 3; - - // Between 18 and 49 years old. - AGE_RANGE_18_49 = 4; - - // Between 18 and 54 years old. - AGE_RANGE_18_54 = 5; - - // Between 18 and 64 years old. - AGE_RANGE_18_64 = 6; - - // Between 18 and 65+ years old. - AGE_RANGE_18_65_UP = 7; - - // Between 21 and 34 years old. - AGE_RANGE_21_34 = 8; - - // Between 25 and 34 years old. - AGE_RANGE_25_34 = 503002; - - // Between 25 and 44 years old. - AGE_RANGE_25_44 = 9; - - // Between 25 and 49 years old. - AGE_RANGE_25_49 = 10; - - // Between 25 and 54 years old. - AGE_RANGE_25_54 = 11; - - // Between 25 and 64 years old. - AGE_RANGE_25_64 = 12; - - // Between 25 and 65+ years old. - AGE_RANGE_25_65_UP = 13; - - // Between 35 and 44 years old. - AGE_RANGE_35_44 = 503003; - - // Between 35 and 49 years old. - AGE_RANGE_35_49 = 14; - - // Between 35 and 54 years old. - AGE_RANGE_35_54 = 15; - - // Between 35 and 64 years old. - AGE_RANGE_35_64 = 16; - - // Between 35 and 65+ years old. - AGE_RANGE_35_65_UP = 17; - - // Between 45 and 54 years old. - AGE_RANGE_45_54 = 503004; - - // Between 45 and 64 years old. - AGE_RANGE_45_64 = 18; - - // Between 45 and 65+ years old. - AGE_RANGE_45_65_UP = 19; - - // Between 50 and 65+ years old. - AGE_RANGE_50_65_UP = 20; - - // Between 55 and 64 years old. - AGE_RANGE_55_64 = 503005; - - // Between 55 and 65+ years old. - AGE_RANGE_55_65_UP = 21; - - // 65 years old and beyond. - AGE_RANGE_65_UP = 503006; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/reach_plan_network.proto b/third_party/googleapis/google/ads/googleads/v12/enums/reach_plan_network.proto deleted file mode 100644 index ded3c240c..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/reach_plan_network.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ReachPlanNetworkProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing a plannable network. - -// Container for enum describing plannable networks. -message ReachPlanNetworkEnum { - // Possible plannable network values. - enum ReachPlanNetwork { - // Not specified. - UNSPECIFIED = 0; - - // Used as a return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // YouTube network. - YOUTUBE = 2; - - // Google Video Partners (GVP) network. - GOOGLE_VIDEO_PARTNERS = 3; - - // A combination of the YouTube network and the Google Video Partners - // network. - YOUTUBE_AND_GOOGLE_VIDEO_PARTNERS = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/real_estate_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v12/enums/real_estate_placeholder_field.proto deleted file mode 100644 index 824ed18d6..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/real_estate_placeholder_field.proto +++ /dev/null @@ -1,113 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "RealEstatePlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing Real Estate placeholder fields. - -// Values for Real Estate placeholder fields. -// For more information about dynamic remarketing feeds, see -// https://support.google.com/google-ads/answer/6053288. -message RealEstatePlaceholderFieldEnum { - // Possible values for Real Estate placeholder fields. - enum RealEstatePlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. Unique ID. - LISTING_ID = 2; - - // Data Type: STRING. Main headline with listing name to be shown in dynamic - // ad. - LISTING_NAME = 3; - - // Data Type: STRING. City name to be shown in dynamic ad. - CITY_NAME = 4; - - // Data Type: STRING. Description of listing to be shown in dynamic ad. - DESCRIPTION = 5; - - // Data Type: STRING. Complete listing address, including postal code. - ADDRESS = 6; - - // Data Type: STRING. Price to be shown in the ad. - // Example: "100.00 USD" - PRICE = 7; - - // Data Type: STRING. Formatted price to be shown in the ad. - // Example: "Starting at $100.00 USD", "$80 - $100" - FORMATTED_PRICE = 8; - - // Data Type: URL. Image to be displayed in the ad. - IMAGE_URL = 9; - - // Data Type: STRING. Type of property (house, condo, apartment, etc.) used - // to group like items together for recommendation engine. - PROPERTY_TYPE = 10; - - // Data Type: STRING. Type of listing (resale, rental, foreclosure, etc.) - // used to group like items together for recommendation engine. - LISTING_TYPE = 11; - - // Data Type: STRING_LIST. Keywords used for product retrieval. - CONTEXTUAL_KEYWORDS = 12; - - // Data Type: URL_LIST. Final URLs to be used in ad when using Upgraded - // URLs; the more specific the better (for example, the individual URL of a - // specific listing and its location). - FINAL_URLS = 13; - - // Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - // URLs. - FINAL_MOBILE_URLS = 14; - - // Data Type: URL. Tracking template for the ad when using Upgraded URLs. - TRACKING_URL = 15; - - // Data Type: STRING. Android app link. Must be formatted as: - // android-app://{package_id}/{scheme}/{host_path}. - // The components are defined as follows: - // package_id: app ID as specified in Google Play. - // scheme: the scheme to pass to the application. Can be HTTP, or a custom - // scheme. - // host_path: identifies the specific content within your application. - ANDROID_APP_LINK = 16; - - // Data Type: STRING_LIST. List of recommended listing IDs to show together - // with this item. - SIMILAR_LISTING_IDS = 17; - - // Data Type: STRING. iOS app link. - IOS_APP_LINK = 18; - - // Data Type: INT64. iOS app store ID. - IOS_APP_STORE_ID = 19; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/recommendation_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/recommendation_type.proto deleted file mode 100644 index ad660b530..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/recommendation_type.proto +++ /dev/null @@ -1,142 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "RecommendationTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing Recommendation types. - -// Container for enum describing types of recommendations. -message RecommendationTypeEnum { - // Types of recommendations. - enum RecommendationType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Budget recommendation for campaigns that are currently budget-constrained - // (as opposed to the FORECASTING_CAMPAIGN_BUDGET recommendation, which - // applies to campaigns that are expected to become budget-constrained in - // the future). - CAMPAIGN_BUDGET = 2; - - // Keyword recommendation. - KEYWORD = 3; - - // Recommendation to add a new text ad. - TEXT_AD = 4; - - // Recommendation to update a campaign to use a Target CPA bidding strategy. - TARGET_CPA_OPT_IN = 5; - - // Recommendation to update a campaign to use the Maximize Conversions - // bidding strategy. - MAXIMIZE_CONVERSIONS_OPT_IN = 6; - - // Recommendation to enable Enhanced Cost Per Click for a campaign. - ENHANCED_CPC_OPT_IN = 7; - - // Recommendation to start showing your campaign's ads on Google Search - // Partners Websites. - SEARCH_PARTNERS_OPT_IN = 8; - - // Recommendation to update a campaign to use a Maximize Clicks bidding - // strategy. - MAXIMIZE_CLICKS_OPT_IN = 9; - - // Recommendation to start using the "Optimize" ad rotation setting for the - // given ad group. - OPTIMIZE_AD_ROTATION = 10; - - // Recommendation to add callout extensions to a campaign. - CALLOUT_EXTENSION = 11; - - // Recommendation to add sitelink extensions to a campaign. - SITELINK_EXTENSION = 12; - - // Recommendation to add call extensions to a campaign. - CALL_EXTENSION = 13; - - // Recommendation to change an existing keyword from one match type to a - // broader match type. - KEYWORD_MATCH_TYPE = 14; - - // Recommendation to move unused budget from one budget to a constrained - // budget. - MOVE_UNUSED_BUDGET = 15; - - // Budget recommendation for campaigns that are expected to become - // budget-constrained in the future (as opposed to the CAMPAIGN_BUDGET - // recommendation, which applies to campaigns that are currently - // budget-constrained). - FORECASTING_CAMPAIGN_BUDGET = 16; - - // Recommendation to update a campaign to use a Target ROAS bidding - // strategy. - TARGET_ROAS_OPT_IN = 17; - - // Recommendation to add a new responsive search ad. - RESPONSIVE_SEARCH_AD = 18; - - // Budget recommendation for campaigns whose ROI is predicted to increase - // with a budget adjustment. - MARGINAL_ROI_CAMPAIGN_BUDGET = 19; - - // Recommendation to expand keywords to broad match for fully automated - // conversion-based bidding campaigns. - USE_BROAD_MATCH_KEYWORD = 20; - - // Recommendation to add new responsive search ad assets. - RESPONSIVE_SEARCH_AD_ASSET = 21; - - // Recommendation to upgrade a Smart Shopping campaign to a Performance Max - // campaign. - UPGRADE_SMART_SHOPPING_CAMPAIGN_TO_PERFORMANCE_MAX = 22; - - // Recommendation to improve strength of responsive search ad. - RESPONSIVE_SEARCH_AD_IMPROVE_AD_STRENGTH = 23; - - // Recommendation to update a campaign to use Display Expansion. - DISPLAY_EXPANSION_OPT_IN = 24; - - // Recommendation to upgrade a Local campaign to a Performance Max - // campaign. - UPGRADE_LOCAL_CAMPAIGN_TO_PERFORMANCE_MAX = 25; - - // Recommendation to raise target CPA when it is too low and there are very - // few or no conversions. - // It is applied asynchronously and can take minutes - // depending on the number of ad groups there is in the related campaign. - RAISE_TARGET_CPA_BID_TOO_LOW = 26; - - // Recommendation to raise the budget in advance of a seasonal event that is - // forecasted to increase traffic, and change bidding strategy from maximize - // conversion value to target ROAS. - FORECASTING_SET_TARGET_ROAS = 27; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/resource_change_operation.proto b/third_party/googleapis/google/ads/googleads/v12/enums/resource_change_operation.proto deleted file mode 100644 index a87c887df..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/resource_change_operation.proto +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ResourceChangeOperationProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing the resource change operations in change event. - -// Container for enum describing resource change operations -// in the ChangeEvent resource. -message ResourceChangeOperationEnum { - // The operation on the changed resource in change_event resource. - enum ResourceChangeOperation { - // No value has been specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents an unclassified operation unknown - // in this version. - UNKNOWN = 1; - - // The resource was created. - CREATE = 2; - - // The resource was modified. - UPDATE = 3; - - // The resource was removed. - REMOVE = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/resource_limit_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/resource_limit_type.proto deleted file mode 100644 index 13ae4f2d7..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/resource_limit_type.proto +++ /dev/null @@ -1,467 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ResourceLimitTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Container for enum describing possible resource limit types. -message ResourceLimitTypeEnum { - // Resource limit type. - enum ResourceLimitType { - // No value has been specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents an unclassified operation unknown - // in this version. - UNKNOWN = 1; - - // Number of ENABLED and PAUSED campaigns per customer. - CAMPAIGNS_PER_CUSTOMER = 2; - - // Number of ENABLED and PAUSED base campaigns per customer. - BASE_CAMPAIGNS_PER_CUSTOMER = 3; - - // Number of ENABLED and PAUSED experiment campaigns per customer. - EXPERIMENT_CAMPAIGNS_PER_CUSTOMER = 105; - - // Number of ENABLED and PAUSED Hotel campaigns per customer. - HOTEL_CAMPAIGNS_PER_CUSTOMER = 4; - - // Number of ENABLED and PAUSED Smart Shopping campaigns per customer. - SMART_SHOPPING_CAMPAIGNS_PER_CUSTOMER = 5; - - // Number of ENABLED ad groups per campaign. - AD_GROUPS_PER_CAMPAIGN = 6; - - // Number of ENABLED ad groups per Shopping campaign. - AD_GROUPS_PER_SHOPPING_CAMPAIGN = 8; - - // Number of ENABLED ad groups per Hotel campaign. - AD_GROUPS_PER_HOTEL_CAMPAIGN = 9; - - // Number of ENABLED reporting ad groups per local campaign. - REPORTING_AD_GROUPS_PER_LOCAL_CAMPAIGN = 10; - - // Number of ENABLED reporting ad groups per App campaign. It includes app - // campaign and app campaign for engagement. - REPORTING_AD_GROUPS_PER_APP_CAMPAIGN = 11; - - // Number of ENABLED managed ad groups per smart campaign. - MANAGED_AD_GROUPS_PER_SMART_CAMPAIGN = 52; - - // Number of ENABLED ad group criteria per customer. - // An ad group criterion is considered as ENABLED if: - // 1. it's not REMOVED - // 2. its ad group is not REMOVED - // 3. its campaign is not REMOVED. - AD_GROUP_CRITERIA_PER_CUSTOMER = 12; - - // Number of ad group criteria across all base campaigns for a customer. - BASE_AD_GROUP_CRITERIA_PER_CUSTOMER = 13; - - // Number of ad group criteria across all experiment campaigns for a - // customer. - EXPERIMENT_AD_GROUP_CRITERIA_PER_CUSTOMER = 107; - - // Number of ENABLED ad group criteria per campaign. - // An ad group criterion is considered as ENABLED if: - // 1. it's not REMOVED - // 2. its ad group is not REMOVED. - AD_GROUP_CRITERIA_PER_CAMPAIGN = 14; - - // Number of ENABLED campaign criteria per customer. - CAMPAIGN_CRITERIA_PER_CUSTOMER = 15; - - // Number of ENABLED campaign criteria across all base campaigns for a - // customer. - BASE_CAMPAIGN_CRITERIA_PER_CUSTOMER = 16; - - // Number of ENABLED campaign criteria across all experiment campaigns for a - // customer. - EXPERIMENT_CAMPAIGN_CRITERIA_PER_CUSTOMER = 108; - - // Number of ENABLED webpage criteria per customer, including - // campaign level and ad group level. - WEBPAGE_CRITERIA_PER_CUSTOMER = 17; - - // Number of ENABLED webpage criteria across all base campaigns for - // a customer. - BASE_WEBPAGE_CRITERIA_PER_CUSTOMER = 18; - - // Meximum number of ENABLED webpage criteria across all experiment - // campaigns for a customer. - EXPERIMENT_WEBPAGE_CRITERIA_PER_CUSTOMER = 19; - - // Number of combined audience criteria per ad group. - COMBINED_AUDIENCE_CRITERIA_PER_AD_GROUP = 20; - - // Limit for placement criterion type group in customer negative criterion. - CUSTOMER_NEGATIVE_PLACEMENT_CRITERIA_PER_CUSTOMER = 21; - - // Limit for YouTube TV channels in customer negative criterion. - CUSTOMER_NEGATIVE_YOUTUBE_CHANNEL_CRITERIA_PER_CUSTOMER = 22; - - // Number of ENABLED criteria per ad group. - CRITERIA_PER_AD_GROUP = 23; - - // Number of listing group criteria per ad group. - LISTING_GROUPS_PER_AD_GROUP = 24; - - // Number of ENABLED explicitly shared budgets per customer. - EXPLICITLY_SHARED_BUDGETS_PER_CUSTOMER = 25; - - // Number of ENABLED implicitly shared budgets per customer. - IMPLICITLY_SHARED_BUDGETS_PER_CUSTOMER = 26; - - // Number of combined audience criteria per campaign. - COMBINED_AUDIENCE_CRITERIA_PER_CAMPAIGN = 27; - - // Number of negative keywords per campaign. - NEGATIVE_KEYWORDS_PER_CAMPAIGN = 28; - - // Number of excluded campaign criteria in placement dimension, for example, - // placement, mobile application, YouTube channel, etc. The API criterion - // type is NOT limited to placement only, and this does not include - // exclusions at the ad group or other levels. - NEGATIVE_PLACEMENTS_PER_CAMPAIGN = 29; - - // Number of geo targets per campaign. - GEO_TARGETS_PER_CAMPAIGN = 30; - - // Number of negative IP blocks per campaign. - NEGATIVE_IP_BLOCKS_PER_CAMPAIGN = 32; - - // Number of proximity targets per campaign. - PROXIMITIES_PER_CAMPAIGN = 33; - - // Number of listing scopes per Shopping campaign. - LISTING_SCOPES_PER_SHOPPING_CAMPAIGN = 34; - - // Number of listing scopes per non-Shopping campaign. - LISTING_SCOPES_PER_NON_SHOPPING_CAMPAIGN = 35; - - // Number of criteria per negative keyword shared set. - NEGATIVE_KEYWORDS_PER_SHARED_SET = 36; - - // Number of criteria per negative placement shared set. - NEGATIVE_PLACEMENTS_PER_SHARED_SET = 37; - - // Default number of shared sets allowed per type per customer. - SHARED_SETS_PER_CUSTOMER_FOR_TYPE_DEFAULT = 40; - - // Number of shared sets of negative placement list type for a - // manager customer. - SHARED_SETS_PER_CUSTOMER_FOR_NEGATIVE_PLACEMENT_LIST_LOWER = 41; - - // Number of hotel_advance_booking_window bid modifiers per ad group. - HOTEL_ADVANCE_BOOKING_WINDOW_BID_MODIFIERS_PER_AD_GROUP = 44; - - // Number of ENABLED shared bidding strategies per customer. - BIDDING_STRATEGIES_PER_CUSTOMER = 45; - - // Number of open basic user lists per customer. - BASIC_USER_LISTS_PER_CUSTOMER = 47; - - // Number of open logical user lists per customer. - LOGICAL_USER_LISTS_PER_CUSTOMER = 48; - - // Number of open rule based user lists per customer. - RULE_BASED_USER_LISTS_PER_CUSTOMER = 153; - - // Number of ENABLED and PAUSED ad group ads across all base campaigns for a - // customer. - BASE_AD_GROUP_ADS_PER_CUSTOMER = 53; - - // Number of ENABLED and PAUSED ad group ads across all experiment campaigns - // for a customer. - EXPERIMENT_AD_GROUP_ADS_PER_CUSTOMER = 54; - - // Number of ENABLED and PAUSED ad group ads per campaign. - AD_GROUP_ADS_PER_CAMPAIGN = 55; - - // Number of ENABLED ads per ad group that do not fall in to other buckets. - // Includes text and many other types. - TEXT_AND_OTHER_ADS_PER_AD_GROUP = 56; - - // Number of ENABLED image ads per ad group. - IMAGE_ADS_PER_AD_GROUP = 57; - - // Number of ENABLED shopping smart ads per ad group. - SHOPPING_SMART_ADS_PER_AD_GROUP = 58; - - // Number of ENABLED responsive search ads per ad group. - RESPONSIVE_SEARCH_ADS_PER_AD_GROUP = 59; - - // Number of ENABLED app ads per ad group. - APP_ADS_PER_AD_GROUP = 60; - - // Number of ENABLED app engagement ads per ad group. - APP_ENGAGEMENT_ADS_PER_AD_GROUP = 61; - - // Number of ENABLED local ads per ad group. - LOCAL_ADS_PER_AD_GROUP = 62; - - // Number of ENABLED video ads per ad group. - VIDEO_ADS_PER_AD_GROUP = 63; - - // Number of ENABLED lead form CampaignAssets per campaign. - LEAD_FORM_CAMPAIGN_ASSETS_PER_CAMPAIGN = 143; - - // Number of ENABLED promotion CustomerAssets per customer. - PROMOTION_CUSTOMER_ASSETS_PER_CUSTOMER = 79; - - // Number of ENABLED promotion CampaignAssets per campaign. - PROMOTION_CAMPAIGN_ASSETS_PER_CAMPAIGN = 80; - - // Number of ENABLED promotion AdGroupAssets per ad group. - PROMOTION_AD_GROUP_ASSETS_PER_AD_GROUP = 81; - - // Number of ENABLED callout CustomerAssets per customer. - CALLOUT_CUSTOMER_ASSETS_PER_CUSTOMER = 134; - - // Number of ENABLED callout CampaignAssets per campaign. - CALLOUT_CAMPAIGN_ASSETS_PER_CAMPAIGN = 135; - - // Number of ENABLED callout AdGroupAssets per ad group. - CALLOUT_AD_GROUP_ASSETS_PER_AD_GROUP = 136; - - // Number of ENABLED sitelink CustomerAssets per customer. - SITELINK_CUSTOMER_ASSETS_PER_CUSTOMER = 137; - - // Number of ENABLED sitelink CampaignAssets per campaign. - SITELINK_CAMPAIGN_ASSETS_PER_CAMPAIGN = 138; - - // Number of ENABLED sitelink AdGroupAssets per ad group. - SITELINK_AD_GROUP_ASSETS_PER_AD_GROUP = 139; - - // Number of ENABLED structured snippet CustomerAssets per customer. - STRUCTURED_SNIPPET_CUSTOMER_ASSETS_PER_CUSTOMER = 140; - - // Number of ENABLED structured snippet CampaignAssets per campaign. - STRUCTURED_SNIPPET_CAMPAIGN_ASSETS_PER_CAMPAIGN = 141; - - // Number of ENABLED structured snippet AdGroupAssets per ad group. - STRUCTURED_SNIPPET_AD_GROUP_ASSETS_PER_AD_GROUP = 142; - - // Number of ENABLED mobile app CustomerAssets per customer. - MOBILE_APP_CUSTOMER_ASSETS_PER_CUSTOMER = 144; - - // Number of ENABLED mobile app CampaignAssets per campaign. - MOBILE_APP_CAMPAIGN_ASSETS_PER_CAMPAIGN = 145; - - // Number of ENABLED mobile app AdGroupAssets per ad group. - MOBILE_APP_AD_GROUP_ASSETS_PER_AD_GROUP = 146; - - // Number of ENABLED hotel callout CustomerAssets per customer. - HOTEL_CALLOUT_CUSTOMER_ASSETS_PER_CUSTOMER = 147; - - // Number of ENABLED hotel callout CampaignAssets per campaign. - HOTEL_CALLOUT_CAMPAIGN_ASSETS_PER_CAMPAIGN = 148; - - // Number of ENABLED hotel callout AdGroupAssets per ad group. - HOTEL_CALLOUT_AD_GROUP_ASSETS_PER_AD_GROUP = 149; - - // Number of ENABLED call CustomerAssets per customer. - CALL_CUSTOMER_ASSETS_PER_CUSTOMER = 150; - - // Number of ENABLED call CampaignAssets per campaign. - CALL_CAMPAIGN_ASSETS_PER_CAMPAIGN = 151; - - // Number of ENABLED call AdGroupAssets per ad group. - CALL_AD_GROUP_ASSETS_PER_AD_GROUP = 152; - - // Number of ENABLED price CustomerAssets per customer. - PRICE_CUSTOMER_ASSETS_PER_CUSTOMER = 154; - - // Number of ENABLED price CampaignAssets per campaign. - PRICE_CAMPAIGN_ASSETS_PER_CAMPAIGN = 155; - - // Number of ENABLED price AdGroupAssets per ad group. - PRICE_AD_GROUP_ASSETS_PER_AD_GROUP = 156; - - // Number of ENABLED ad image CampaignAssets per campaign. - AD_IMAGE_CAMPAIGN_ASSETS_PER_CAMPAIGN = 175; - - // Number of ENABLED ad image AdGroupAssets per ad group. - AD_IMAGE_AD_GROUP_ASSETS_PER_AD_GROUP = 176; - - // Number of ENABLED page feed asset sets per customer. - PAGE_FEED_ASSET_SETS_PER_CUSTOMER = 157; - - // Number of ENABLED dynamic education feed asset sets per customer. - DYNAMIC_EDUCATION_FEED_ASSET_SETS_PER_CUSTOMER = 158; - - // Number of ENABLED assets per page feed asset set. - ASSETS_PER_PAGE_FEED_ASSET_SET = 159; - - // Number of ENABLED assets per dynamic education asset set. - ASSETS_PER_DYNAMIC_EDUCATION_FEED_ASSET_SET = 160; - - // Number of ENABLED dynamic real estate asset sets per customer. - DYNAMIC_REAL_ESTATE_ASSET_SETS_PER_CUSTOMER = 161; - - // Number of ENABLED assets per dynamic real estate asset set. - ASSETS_PER_DYNAMIC_REAL_ESTATE_ASSET_SET = 162; - - // Number of ENABLED dynamic custom asset sets per customer. - DYNAMIC_CUSTOM_ASSET_SETS_PER_CUSTOMER = 163; - - // Number of ENABLED assets per dynamic custom asset set. - ASSETS_PER_DYNAMIC_CUSTOM_ASSET_SET = 164; - - // Number of ENABLED dynamic hotels and rentals asset sets per - // customer. - DYNAMIC_HOTELS_AND_RENTALS_ASSET_SETS_PER_CUSTOMER = 165; - - // Number of ENABLED assets per dynamic hotels and rentals asset set. - ASSETS_PER_DYNAMIC_HOTELS_AND_RENTALS_ASSET_SET = 166; - - // Number of ENABLED dynamic local asset sets per customer. - DYNAMIC_LOCAL_ASSET_SETS_PER_CUSTOMER = 167; - - // Number of ENABLED assets per dynamic local asset set. - ASSETS_PER_DYNAMIC_LOCAL_ASSET_SET = 168; - - // Number of ENABLED dynamic flights asset sets per customer. - DYNAMIC_FLIGHTS_ASSET_SETS_PER_CUSTOMER = 169; - - // Number of ENABLED assets per dynamic flights asset set. - ASSETS_PER_DYNAMIC_FLIGHTS_ASSET_SET = 170; - - // Number of ENABLED dynamic travel asset sets per customer. - DYNAMIC_TRAVEL_ASSET_SETS_PER_CUSTOMER = 171; - - // Number of ENABLED assets per dynamic travel asset set. - ASSETS_PER_DYNAMIC_TRAVEL_ASSET_SET = 172; - - // Number of ENABLED dynamic jobs asset sets per customer. - DYNAMIC_JOBS_ASSET_SETS_PER_CUSTOMER = 173; - - // Number of ENABLED assets per dynamic jobs asset set. - ASSETS_PER_DYNAMIC_JOBS_ASSET_SET = 174; - - // Number of versions per ad. - VERSIONS_PER_AD = 82; - - // Number of ENABLED user feeds per customer. - USER_FEEDS_PER_CUSTOMER = 90; - - // Number of ENABLED system feeds per customer. - SYSTEM_FEEDS_PER_CUSTOMER = 91; - - // Number of feed attributes per feed. - FEED_ATTRIBUTES_PER_FEED = 92; - - // Number of ENABLED feed items per customer. - FEED_ITEMS_PER_CUSTOMER = 94; - - // Number of ENABLED campaign feeds per customer. - CAMPAIGN_FEEDS_PER_CUSTOMER = 95; - - // Number of ENABLED campaign feeds across all base campaigns for a - // customer. - BASE_CAMPAIGN_FEEDS_PER_CUSTOMER = 96; - - // Number of ENABLED campaign feeds across all experiment campaigns for a - // customer. - EXPERIMENT_CAMPAIGN_FEEDS_PER_CUSTOMER = 109; - - // Number of ENABLED ad group feeds per customer. - AD_GROUP_FEEDS_PER_CUSTOMER = 97; - - // Number of ENABLED ad group feeds across all base campaigns for a - // customer. - BASE_AD_GROUP_FEEDS_PER_CUSTOMER = 98; - - // Number of ENABLED ad group feeds across all experiment campaigns for a - // customer. - EXPERIMENT_AD_GROUP_FEEDS_PER_CUSTOMER = 110; - - // Number of ENABLED ad group feeds per campaign. - AD_GROUP_FEEDS_PER_CAMPAIGN = 99; - - // Number of ENABLED feed items per customer. - FEED_ITEM_SETS_PER_CUSTOMER = 100; - - // Number of feed items per feed item set. - FEED_ITEMS_PER_FEED_ITEM_SET = 101; - - // Number of ENABLED campaign experiments per customer. - CAMPAIGN_EXPERIMENTS_PER_CUSTOMER = 112; - - // Number of video experiment arms per experiment. - EXPERIMENT_ARMS_PER_VIDEO_EXPERIMENT = 113; - - // Number of owned labels per customer. - OWNED_LABELS_PER_CUSTOMER = 115; - - // Number of applied labels per campaign. - LABELS_PER_CAMPAIGN = 117; - - // Number of applied labels per ad group. - LABELS_PER_AD_GROUP = 118; - - // Number of applied labels per ad group ad. - LABELS_PER_AD_GROUP_AD = 119; - - // Number of applied labels per ad group criterion. - LABELS_PER_AD_GROUP_CRITERION = 120; - - // Number of customers with a single label applied. - TARGET_CUSTOMERS_PER_LABEL = 121; - - // Number of ENABLED keyword plans per user per customer. - // The limit is applied per pair because by default a plan - // is private to a user of a customer. Each user of a customer has their own - // independent limit. - KEYWORD_PLANS_PER_USER_PER_CUSTOMER = 122; - - // Number of keyword plan ad group keywords per keyword plan. - KEYWORD_PLAN_AD_GROUP_KEYWORDS_PER_KEYWORD_PLAN = 123; - - // Number of keyword plan ad groups per keyword plan. - KEYWORD_PLAN_AD_GROUPS_PER_KEYWORD_PLAN = 124; - - // Number of keyword plan negative keywords (both campaign and ad group) per - // keyword plan. - KEYWORD_PLAN_NEGATIVE_KEYWORDS_PER_KEYWORD_PLAN = 125; - - // Number of keyword plan campaigns per keyword plan. - KEYWORD_PLAN_CAMPAIGNS_PER_KEYWORD_PLAN = 126; - - // Number of ENABLED conversion actions per customer. - CONVERSION_ACTIONS_PER_CUSTOMER = 128; - - // Number of operations in a single batch job. - BATCH_JOB_OPERATIONS_PER_JOB = 130; - - // Number of PENDING or ENABLED batch jobs per customer. - BATCH_JOBS_PER_CUSTOMER = 131; - - // Number of hotel check-in date range bid modifiers per ad agroup. - HOTEL_CHECK_IN_DATE_RANGE_BID_MODIFIERS_PER_AD_GROUP = 132; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/response_content_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/response_content_type.proto deleted file mode 100644 index 497373b0b..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/response_content_type.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ResponseContentTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing the response content types used in mutate operations. - -// Container for possible response content types. -message ResponseContentTypeEnum { - // Possible response content types. - enum ResponseContentType { - // Not specified. Will return the resource name only in the response. - UNSPECIFIED = 0; - - // The mutate response will be the resource name. - RESOURCE_NAME_ONLY = 1; - - // The mutate response will be the resource name and the resource with - // all mutable fields. - MUTABLE_RESOURCE = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/search_engine_results_page_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/search_engine_results_page_type.proto deleted file mode 100644 index 74ca42e8d..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/search_engine_results_page_type.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SearchEngineResultsPageTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing search engine results page types. - -// The type of the search engine results page. -message SearchEngineResultsPageTypeEnum { - // The type of the search engine results page. - enum SearchEngineResultsPageType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Only ads were contained in the search engine results page. - ADS_ONLY = 2; - - // Only organic results were contained in the search engine results page. - ORGANIC_ONLY = 3; - - // Both ads and organic results were contained in the search engine results - // page. - ADS_AND_ORGANIC = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/search_term_match_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/search_term_match_type.proto deleted file mode 100644 index 33b34725a..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/search_term_match_type.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SearchTermMatchTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing search term match types. - -// Container for enum describing match types for a keyword triggering an ad. -message SearchTermMatchTypeEnum { - // Possible match types for a keyword triggering an ad, including variants. - enum SearchTermMatchType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Broad match. - BROAD = 2; - - // Exact match. - EXACT = 3; - - // Phrase match. - PHRASE = 4; - - // Exact match (close variant). - NEAR_EXACT = 5; - - // Phrase match (close variant). - NEAR_PHRASE = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/search_term_targeting_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/search_term_targeting_status.proto deleted file mode 100644 index 2048a78da..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/search_term_targeting_status.proto +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SearchTermTargetingStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing search term targeting statuses. - -// Container for enum indicating whether a search term is one of your targeted -// or excluded keywords. -message SearchTermTargetingStatusEnum { - // Indicates whether the search term is one of your targeted or excluded - // keywords. - enum SearchTermTargetingStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Search term is added to targeted keywords. - ADDED = 2; - - // Search term matches a negative keyword. - EXCLUDED = 3; - - // Search term has been both added and excluded. - ADDED_EXCLUDED = 4; - - // Search term is neither targeted nor excluded. - NONE = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/seasonality_event_scope.proto b/third_party/googleapis/google/ads/googleads/v12/enums/seasonality_event_scope.proto deleted file mode 100644 index 0a04c03ed..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/seasonality_event_scope.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SeasonalityEventScopeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing seasonality event status. - -// Message describing seasonality event scopes. The two types of seasonality -// events are BiddingSeasonalityAdjustments and BiddingDataExclusions. -message SeasonalityEventScopeEnum { - // The possible scopes of a Seasonality Event. - enum SeasonalityEventScope { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // The seasonality event is applied to all the customer's traffic for - // supported advertising channel types and device types. The CUSTOMER scope - // cannot be used in mutates. - CUSTOMER = 2; - - // The seasonality event is applied to all specified campaigns. - CAMPAIGN = 4; - - // The seasonality event is applied to all campaigns that belong to - // specified channel types. - CHANNEL = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/seasonality_event_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/seasonality_event_status.proto deleted file mode 100644 index 43000af1f..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/seasonality_event_status.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SeasonalityEventStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing seasonality event status. - -// Message describing seasonality event statuses. The two types of seasonality -// events are BiddingSeasonalityAdjustments and BiddingDataExclusions. -message SeasonalityEventStatusEnum { - // The possible statuses of a Seasonality Event. - enum SeasonalityEventStatus { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // The seasonality event is enabled. - ENABLED = 2; - - // The seasonality event is removed. - REMOVED = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/served_asset_field_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/served_asset_field_type.proto deleted file mode 100644 index 6e2fa6646..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/served_asset_field_type.proto +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ServedAssetFieldTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing policy review statuses. - -// Container for enum describing possible asset field types. -message ServedAssetFieldTypeEnum { - // The possible asset field types. - enum ServedAssetFieldType { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // The asset is used in headline 1. - HEADLINE_1 = 2; - - // The asset is used in headline 2. - HEADLINE_2 = 3; - - // The asset is used in headline 3. - HEADLINE_3 = 4; - - // The asset is used in description 1. - DESCRIPTION_1 = 5; - - // The asset is used in description 2. - DESCRIPTION_2 = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/shared_set_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/shared_set_status.proto deleted file mode 100644 index 673de2a30..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/shared_set_status.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SharedSetStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing shared set statuses. - -// Container for enum describing types of shared set statuses. -message SharedSetStatusEnum { - // Enum listing the possible shared set statuses. - enum SharedSetStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The shared set is enabled. - ENABLED = 2; - - // The shared set is removed and can no longer be used. - REMOVED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/shared_set_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/shared_set_type.proto deleted file mode 100644 index c5536f953..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/shared_set_type.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SharedSetTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing shared set types. - -// Container for enum describing types of shared sets. -message SharedSetTypeEnum { - // Enum listing the possible shared set types. - enum SharedSetType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // A set of keywords that can be excluded from targeting. - NEGATIVE_KEYWORDS = 2; - - // A set of placements that can be excluded from targeting. - NEGATIVE_PLACEMENTS = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/simulation_modification_method.proto b/third_party/googleapis/google/ads/googleads/v12/enums/simulation_modification_method.proto deleted file mode 100644 index 70f3c915a..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/simulation_modification_method.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SimulationModificationMethodProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing simulation modification methods. - -// Container for enum describing the method by which a simulation modifies -// a field. -message SimulationModificationMethodEnum { - // Enum describing the method by which a simulation modifies a field. - enum SimulationModificationMethod { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The values in a simulation were applied to all children of a given - // resource uniformly. Overrides on child resources were not respected. - UNIFORM = 2; - - // The values in a simulation were applied to the given resource. - // Overrides on child resources were respected, and traffic estimates - // do not include these resources. - DEFAULT = 3; - - // The values in a simulation were all scaled by the same factor. - // For example, in a simulated TargetCpa campaign, the campaign target and - // all ad group targets were scaled by a factor of X. - SCALING = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/simulation_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/simulation_type.proto deleted file mode 100644 index 9d782266c..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/simulation_type.proto +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SimulationTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing simulation types. - -// Container for enum describing the field a simulation modifies. -message SimulationTypeEnum { - // Enum describing the field a simulation modifies. - enum SimulationType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The simulation is for a CPC bid. - CPC_BID = 2; - - // The simulation is for a CPV bid. - CPV_BID = 3; - - // The simulation is for a CPA target. - TARGET_CPA = 4; - - // The simulation is for a bid modifier. - BID_MODIFIER = 5; - - // The simulation is for a ROAS target. - TARGET_ROAS = 6; - - // The simulation is for a percent CPC bid. - PERCENT_CPC_BID = 7; - - // The simulation is for an impression share target. - TARGET_IMPRESSION_SHARE = 8; - - // The simulation is for a budget. - BUDGET = 9; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/sitelink_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v12/enums/sitelink_placeholder_field.proto deleted file mode 100644 index 90d2827cd..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/sitelink_placeholder_field.proto +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SitelinkPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing Sitelink placeholder fields. - -// Values for Sitelink placeholder fields. -message SitelinkPlaceholderFieldEnum { - // Possible values for Sitelink placeholder fields. - enum SitelinkPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. The link text for your sitelink. - TEXT = 2; - - // Data Type: STRING. First line of the sitelink description. - LINE_1 = 3; - - // Data Type: STRING. Second line of the sitelink description. - LINE_2 = 4; - - // Data Type: URL_LIST. Final URLs for the sitelink when using Upgraded - // URLs. - FINAL_URLS = 5; - - // Data Type: URL_LIST. Final Mobile URLs for the sitelink when using - // Upgraded URLs. - FINAL_MOBILE_URLS = 6; - - // Data Type: URL. Tracking template for the sitelink when using Upgraded - // URLs. - TRACKING_URL = 7; - - // Data Type: STRING. Final URL suffix for sitelink when using parallel - // tracking. - FINAL_URL_SUFFIX = 8; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/sk_ad_network_ad_event_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/sk_ad_network_ad_event_type.proto deleted file mode 100644 index 668f4984a..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/sk_ad_network_ad_event_type.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SkAdNetworkAdEventTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing SkAdNetwork Ad Event Types. - -// Container for enumeration of SkAdNetwork ad event types. -message SkAdNetworkAdEventTypeEnum { - // Enumerates SkAdNetwork ad event types - enum SkAdNetworkAdEventType { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // The value was not present in the postback or we do not have this data for - // other reasons. - UNAVAILABLE = 2; - - // The user interacted with the ad. - INTERACTION = 3; - - // The user viewed the ad. - VIEW = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/sk_ad_network_attribution_credit.proto b/third_party/googleapis/google/ads/googleads/v12/enums/sk_ad_network_attribution_credit.proto deleted file mode 100644 index 076418fc5..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/sk_ad_network_attribution_credit.proto +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SkAdNetworkAttributionCreditProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing SkAdNetwork attribution credits. - -// Container for enumeration of SkAdNetwork attribution credits. -message SkAdNetworkAttributionCreditEnum { - // Enumerates SkAdNetwork attribution credits. - enum SkAdNetworkAttributionCredit { - // Default value. This value is equivalent to null. - UNSPECIFIED = 0; - - // The value is unknown in this API version. The true enum value cannot be - // returned in this API version or is not supported yet. - UNKNOWN = 1; - - // The value was not present in the postback or we do not have this data for - // other reasons. - UNAVAILABLE = 2; - - // Google was the ad network that won ad attribution. - WON = 3; - - // Google qualified for attribution, but didn't win. - CONTRIBUTED = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/sk_ad_network_user_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/sk_ad_network_user_type.proto deleted file mode 100644 index 525abe6e9..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/sk_ad_network_user_type.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SkAdNetworkUserTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing SkAdNetwork user types. - -// Container for enumeration of SkAdNetwork user types. -message SkAdNetworkUserTypeEnum { - // Enumerates SkAdNetwork user types - enum SkAdNetworkUserType { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // The value was not present in the postback or we do not have this data for - // other reasons. - UNAVAILABLE = 2; - - // The user installed the app for the first time. - NEW_INSTALLER = 3; - - // The user has previously installed the app. - REINSTALLER = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/slot.proto b/third_party/googleapis/google/ads/googleads/v12/enums/slot.proto deleted file mode 100644 index 8684aedd6..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/slot.proto +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SlotProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing slots. - -// Container for enumeration of possible positions of the Ad. -message SlotEnum { - // Enumerates possible positions of the Ad. - enum Slot { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Google search: Side. - SEARCH_SIDE = 2; - - // Google search: Top. - SEARCH_TOP = 3; - - // Google search: Other. - SEARCH_OTHER = 4; - - // Google Display Network. - CONTENT = 5; - - // Search partners: Top. - SEARCH_PARTNER_TOP = 6; - - // Search partners: Other. - SEARCH_PARTNER_OTHER = 7; - - // Cross-network. - MIXED = 8; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/spending_limit_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/spending_limit_type.proto deleted file mode 100644 index 8c7582ce9..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/spending_limit_type.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SpendingLimitTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing SpendingLimit types. - -// Message describing spending limit types. -message SpendingLimitTypeEnum { - // The possible spending limit types used by certain resources as an - // alternative to absolute money values in micros. - enum SpendingLimitType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Infinite, indicates unlimited spending power. - INFINITE = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/structured_snippet_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v12/enums/structured_snippet_placeholder_field.proto deleted file mode 100644 index 201fd6526..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/structured_snippet_placeholder_field.proto +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "StructuredSnippetPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing Structured Snippet placeholder fields. - -// Values for Structured Snippet placeholder fields. -message StructuredSnippetPlaceholderFieldEnum { - // Possible values for Structured Snippet placeholder fields. - enum StructuredSnippetPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. The category of snippet of your products/services. - // Must match exactly one of the predefined structured snippets headers. - // For a list, visit - // https://developers.google.com/adwords/api/docs/appendix/structured-snippet-headers - HEADER = 2; - - // Data Type: STRING_LIST. Text values that describe your products/services. - // All text must be family safe. Special or non-ASCII characters are not - // permitted. A snippet can be at most 25 characters. - SNIPPETS = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/summary_row_setting.proto b/third_party/googleapis/google/ads/googleads/v12/enums/summary_row_setting.proto deleted file mode 100644 index 4a9d6a1d5..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/summary_row_setting.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SummaryRowSettingProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing summary row setting. - -// Indicates summary row setting in request parameter. -message SummaryRowSettingEnum { - // Enum describing return summary row settings. - enum SummaryRowSetting { - // Not specified. - UNSPECIFIED = 0; - - // Represent unknown values of return summary row. - UNKNOWN = 1; - - // Do not return summary row. - NO_SUMMARY_ROW = 2; - - // Return summary row along with results. The summary row will be returned - // in the last batch alone (last batch will contain no results). - SUMMARY_ROW_WITH_RESULTS = 3; - - // Return summary row only and return no results. - SUMMARY_ROW_ONLY = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/system_managed_entity_source.proto b/third_party/googleapis/google/ads/googleads/v12/enums/system_managed_entity_source.proto deleted file mode 100644 index fadb659c2..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/system_managed_entity_source.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SystemManagedEntitySourceProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing system managed entity sources. - -// Container for enum describing possible system managed entity sources. -message SystemManagedResourceSourceEnum { - // Enum listing the possible system managed entity sources. - enum SystemManagedResourceSource { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Generated ad variations experiment ad. - AD_VARIATIONS = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/target_cpa_opt_in_recommendation_goal.proto b/third_party/googleapis/google/ads/googleads/v12/enums/target_cpa_opt_in_recommendation_goal.proto deleted file mode 100644 index d6cafc478..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/target_cpa_opt_in_recommendation_goal.proto +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "TargetCpaOptInRecommendationGoalProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing TargetCpaOptIn recommendation goals. - -// Container for enum describing goals for TargetCpaOptIn recommendation. -message TargetCpaOptInRecommendationGoalEnum { - // Goal of TargetCpaOptIn recommendation. - enum TargetCpaOptInRecommendationGoal { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Recommendation to set Target CPA to maintain the same cost. - SAME_COST = 2; - - // Recommendation to set Target CPA to maintain the same conversions. - SAME_CONVERSIONS = 3; - - // Recommendation to set Target CPA to maintain the same CPA. - SAME_CPA = 4; - - // Recommendation to set Target CPA to a value that is as close as possible - // to, yet lower than, the actual CPA (computed for past 28 days). - CLOSEST_CPA = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/target_impression_share_location.proto b/third_party/googleapis/google/ads/googleads/v12/enums/target_impression_share_location.proto deleted file mode 100644 index 63229a79d..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/target_impression_share_location.proto +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "TargetImpressionShareLocationProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing target impression share goal. - -// Container for enum describing where on the first search results page the -// automated bidding system should target impressions for the -// TargetImpressionShare bidding strategy. -message TargetImpressionShareLocationEnum { - // Enum describing possible goals. - enum TargetImpressionShareLocation { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Any location on the web page. - ANYWHERE_ON_PAGE = 2; - - // Top box of ads. - TOP_OF_PAGE = 3; - - // Top slot in the top box of ads. - ABSOLUTE_TOP_OF_PAGE = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/targeting_dimension.proto b/third_party/googleapis/google/ads/googleads/v12/enums/targeting_dimension.proto deleted file mode 100644 index 06eb19d85..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/targeting_dimension.proto +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "TargetingDimensionProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing criteria types. - -// The dimensions that can be targeted. -message TargetingDimensionEnum { - // Enum describing possible targeting dimensions. - enum TargetingDimension { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Keyword criteria, for example, 'mars cruise'. KEYWORD may be used as a - // custom bid dimension. Keywords are always a targeting dimension, so may - // not be set as a target "ALL" dimension with TargetRestriction. - KEYWORD = 2; - - // Audience criteria, which include user list, user interest, custom - // affinity, and custom in market. - AUDIENCE = 3; - - // Topic criteria for targeting categories of content, for example, - // 'category::Animals>Pets' Used for Display and Video targeting. - TOPIC = 4; - - // Criteria for targeting gender. - GENDER = 5; - - // Criteria for targeting age ranges. - AGE_RANGE = 6; - - // Placement criteria, which include websites like 'www.flowers4sale.com', - // as well as mobile applications, mobile app categories, YouTube videos, - // and YouTube channels. - PLACEMENT = 7; - - // Criteria for parental status targeting. - PARENTAL_STATUS = 8; - - // Criteria for income range targeting. - INCOME_RANGE = 9; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/time_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/time_type.proto deleted file mode 100644 index 431bd8d4b..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/time_type.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "TimeTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing TimeType types. - -// Message describing time types. -message TimeTypeEnum { - // The possible time types used by certain resources as an alternative to - // absolute timestamps. - enum TimeType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // As soon as possible. - NOW = 2; - - // An infinite point in the future. - FOREVER = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/tracking_code_page_format.proto b/third_party/googleapis/google/ads/googleads/v12/enums/tracking_code_page_format.proto deleted file mode 100644 index ef86001bd..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/tracking_code_page_format.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "TrackingCodePageFormatProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Container for enum describing the format of the web page where the tracking -// tag and snippet will be installed. -message TrackingCodePageFormatEnum { - // The format of the web page where the tracking tag and snippet will be - // installed. - enum TrackingCodePageFormat { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Standard HTML page format. - HTML = 2; - - // Google AMP page format. - AMP = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/tracking_code_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/tracking_code_type.proto deleted file mode 100644 index 105a32508..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/tracking_code_type.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "TrackingCodeTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Container for enum describing the type of the generated tag snippets for -// tracking conversions. -message TrackingCodeTypeEnum { - // The type of the generated tag snippets for tracking conversions. - enum TrackingCodeType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The snippet that is fired as a result of a website page loading. - WEBPAGE = 2; - - // The snippet contains a JavaScript function which fires the tag. This - // function is typically called from an onClick handler added to a link or - // button element on the page. - WEBPAGE_ONCLICK = 3; - - // For embedding on a mobile webpage. The snippet contains a JavaScript - // function which fires the tag. - CLICK_TO_CALL = 4; - - // The snippet that is used to replace the phone number on your website with - // a Google forwarding number for call tracking purposes. - WEBSITE_CALL = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/travel_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v12/enums/travel_placeholder_field.proto deleted file mode 100644 index 6dc11e182..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/travel_placeholder_field.proto +++ /dev/null @@ -1,126 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "TravelPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing Travel placeholder fields. - -// Values for Travel placeholder fields. -// For more information about dynamic remarketing feeds, see -// https://support.google.com/google-ads/answer/6053288. -message TravelPlaceholderFieldEnum { - // Possible values for Travel placeholder fields. - enum TravelPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. Required. Destination id. Example: PAR, LON. - // For feed items that only have destination id, destination id must be a - // unique key. For feed items that have both destination id and origin id, - // then the combination must be a unique key. - DESTINATION_ID = 2; - - // Data Type: STRING. Origin id. Example: PAR, LON. - // Combination of DESTINATION_ID and ORIGIN_ID must be - // unique per offer. - ORIGIN_ID = 3; - - // Data Type: STRING. Required. Main headline with name to be shown in - // dynamic ad. - TITLE = 4; - - // Data Type: STRING. The destination name. Shorter names are recommended. - DESTINATION_NAME = 5; - - // Data Type: STRING. Origin name. Shorter names are recommended. - ORIGIN_NAME = 6; - - // Data Type: STRING. Price to be shown in the ad. Highly recommended for - // dynamic ads. - // Example: "100.00 USD" - PRICE = 7; - - // Data Type: STRING. Formatted price to be shown in the ad. - // Example: "Starting at $100.00 USD", "$80 - $100" - FORMATTED_PRICE = 8; - - // Data Type: STRING. Sale price to be shown in the ad. - // Example: "80.00 USD" - SALE_PRICE = 9; - - // Data Type: STRING. Formatted sale price to be shown in the ad. - // Example: "On sale for $80.00", "$60 - $80" - FORMATTED_SALE_PRICE = 10; - - // Data Type: URL. Image to be displayed in the ad. - IMAGE_URL = 11; - - // Data Type: STRING. Category of travel offer used to group like items - // together for recommendation engine. - CATEGORY = 12; - - // Data Type: STRING_LIST. Keywords used for product retrieval. - CONTEXTUAL_KEYWORDS = 13; - - // Data Type: STRING. Address of travel offer, including postal code. - DESTINATION_ADDRESS = 14; - - // Data Type: URL_LIST. Required. Final URLs to be used in ad, when using - // Upgraded URLs; the more specific the better (for example, the individual - // URL of a specific travel offer and its location). - FINAL_URL = 15; - - // Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - // URLs. - FINAL_MOBILE_URLS = 16; - - // Data Type: URL. Tracking template for the ad when using Upgraded URLs. - TRACKING_URL = 17; - - // Data Type: STRING. Android app link. Must be formatted as: - // android-app://{package_id}/{scheme}/{host_path}. - // The components are defined as follows: - // package_id: app ID as specified in Google Play. - // scheme: the scheme to pass to the application. Can be HTTP, or a custom - // scheme. - // host_path: identifies the specific content within your application. - ANDROID_APP_LINK = 18; - - // Data Type: STRING_LIST. List of recommended destination IDs to show - // together with this item. - SIMILAR_DESTINATION_IDS = 19; - - // Data Type: STRING. iOS app link. - IOS_APP_LINK = 20; - - // Data Type: INT64. iOS app store ID. - IOS_APP_STORE_ID = 21; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/user_identifier_source.proto b/third_party/googleapis/google/ads/googleads/v12/enums/user_identifier_source.proto deleted file mode 100644 index 4314774e4..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/user_identifier_source.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserIdentifierSourceProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing user identifier source - -// Container for enum describing the source of the user identifier for offline -// Store Sales, click conversion, and conversion adjustment uploads. -message UserIdentifierSourceEnum { - // The type of user identifier source for offline Store Sales, click - // conversion, and conversion adjustment uploads. - enum UserIdentifierSource { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version - UNKNOWN = 1; - - // Indicates that the user identifier was provided by the first party - // (advertiser). - FIRST_PARTY = 2; - - // Indicates that the user identifier was provided by the third party - // (partner). - THIRD_PARTY = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/user_interest_taxonomy_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/user_interest_taxonomy_type.proto deleted file mode 100644 index b07fe98c6..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/user_interest_taxonomy_type.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserInterestTaxonomyTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing the UserInterest taxonomy type - -// Message describing a UserInterestTaxonomyType. -message UserInterestTaxonomyTypeEnum { - // Enum containing the possible UserInterestTaxonomyTypes. - enum UserInterestTaxonomyType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The affinity for this user interest. - AFFINITY = 2; - - // The market for this user interest. - IN_MARKET = 3; - - // Users known to have installed applications in the specified categories. - MOBILE_APP_INSTALL_USER = 4; - - // The geographical location of the interest-based vertical. - VERTICAL_GEO = 5; - - // User interest criteria for new smart phone users. - NEW_SMART_PHONE_USER = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/user_list_access_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/user_list_access_status.proto deleted file mode 100644 index ac2a8d9da..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/user_list_access_status.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListAccessStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing user list access status. - -// Indicates if this client still has access to the list. -message UserListAccessStatusEnum { - // Enum containing possible user list access statuses. - enum UserListAccessStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The access is enabled. - ENABLED = 2; - - // The access is disabled. - DISABLED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/user_list_closing_reason.proto b/third_party/googleapis/google/ads/googleads/v12/enums/user_list_closing_reason.proto deleted file mode 100644 index 3c2b0c562..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/user_list_closing_reason.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListClosingReasonProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing user list closing reason. - -// Indicates the reason why the userlist was closed. -// This enum is only used when a list is auto-closed by the system. -message UserListClosingReasonEnum { - // Enum describing possible user list closing reasons. - enum UserListClosingReason { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The userlist was closed because of not being used for over one year. - UNUSED = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/user_list_combined_rule_operator.proto b/third_party/googleapis/google/ads/googleads/v12/enums/user_list_combined_rule_operator.proto deleted file mode 100644 index 357fae0b5..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/user_list_combined_rule_operator.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListCombinedRuleOperatorProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Logical operator connecting two rules. -message UserListCombinedRuleOperatorEnum { - // Enum describing possible user list combined rule operators. - enum UserListCombinedRuleOperator { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // A AND B. - AND = 2; - - // A AND NOT B. - AND_NOT = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/user_list_crm_data_source_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/user_list_crm_data_source_type.proto deleted file mode 100644 index 6eaa454b5..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/user_list_crm_data_source_type.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListCrmDataSourceTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Indicates source of Crm upload data. -message UserListCrmDataSourceTypeEnum { - // Enum describing possible user list crm data source type. - enum UserListCrmDataSourceType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The uploaded data is first-party data. - FIRST_PARTY = 2; - - // The uploaded data is from a third-party credit bureau. - THIRD_PARTY_CREDIT_BUREAU = 3; - - // The uploaded data is from a third-party voter file. - THIRD_PARTY_VOTER_FILE = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/user_list_date_rule_item_operator.proto b/third_party/googleapis/google/ads/googleads/v12/enums/user_list_date_rule_item_operator.proto deleted file mode 100644 index 9ff678196..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/user_list_date_rule_item_operator.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListDateRuleItemOperatorProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Supported rule operator for date type. -message UserListDateRuleItemOperatorEnum { - // Enum describing possible user list date rule item operators. - enum UserListDateRuleItemOperator { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Equals. - EQUALS = 2; - - // Not Equals. - NOT_EQUALS = 3; - - // Before. - BEFORE = 4; - - // After. - AFTER = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/user_list_flexible_rule_operator.proto b/third_party/googleapis/google/ads/googleads/v12/enums/user_list_flexible_rule_operator.proto deleted file mode 100644 index 4af0eda13..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/user_list_flexible_rule_operator.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListFlexibleRuleOperatorProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Logical operator connecting two rules. -message UserListFlexibleRuleOperatorEnum { - // Enum describing possible user list combined rule operators. - enum UserListFlexibleRuleOperator { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // A AND B. - AND = 2; - - // A OR B. - OR = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/user_list_logical_rule_operator.proto b/third_party/googleapis/google/ads/googleads/v12/enums/user_list_logical_rule_operator.proto deleted file mode 100644 index 195c35003..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/user_list_logical_rule_operator.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListLogicalRuleOperatorProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// The logical operator of the rule. -message UserListLogicalRuleOperatorEnum { - // Enum describing possible user list logical rule operators. - enum UserListLogicalRuleOperator { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // And - all of the operands. - ALL = 2; - - // Or - at least one of the operands. - ANY = 3; - - // Not - none of the operands. - NONE = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/user_list_membership_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/user_list_membership_status.proto deleted file mode 100644 index 88753b5a2..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/user_list_membership_status.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListMembershipStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing user list membership status. - -// Membership status of this user list. Indicates whether a user list is open -// or active. Only open user lists can accumulate more users and can be used for -// targeting. -message UserListMembershipStatusEnum { - // Enum containing possible user list membership statuses. - enum UserListMembershipStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Open status - List is accruing members and can be targeted to. - OPEN = 2; - - // Closed status - No new members being added. Cannot be used for targeting. - CLOSED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/user_list_number_rule_item_operator.proto b/third_party/googleapis/google/ads/googleads/v12/enums/user_list_number_rule_item_operator.proto deleted file mode 100644 index d397ca303..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/user_list_number_rule_item_operator.proto +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListNumberRuleItemOperatorProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Supported rule operator for number type. -message UserListNumberRuleItemOperatorEnum { - // Enum describing possible user list number rule item operators. - enum UserListNumberRuleItemOperator { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Greater than. - GREATER_THAN = 2; - - // Greater than or equal. - GREATER_THAN_OR_EQUAL = 3; - - // Equals. - EQUALS = 4; - - // Not equals. - NOT_EQUALS = 5; - - // Less than. - LESS_THAN = 6; - - // Less than or equal. - LESS_THAN_OR_EQUAL = 7; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/user_list_prepopulation_status.proto b/third_party/googleapis/google/ads/googleads/v12/enums/user_list_prepopulation_status.proto deleted file mode 100644 index 1db32aa1d..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/user_list_prepopulation_status.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListPrepopulationStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Indicates status of prepopulation based on the rule. -message UserListPrepopulationStatusEnum { - // Enum describing possible user list prepopulation status. - enum UserListPrepopulationStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Prepopoulation is being requested. - REQUESTED = 2; - - // Prepopulation is finished. - FINISHED = 3; - - // Prepopulation failed. - FAILED = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/user_list_rule_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/user_list_rule_type.proto deleted file mode 100644 index e698ae428..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/user_list_rule_type.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListRuleTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Rule based user list rule type. -message UserListRuleTypeEnum { - // Enum describing possible user list rule types. - enum UserListRuleType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Conjunctive normal form. - AND_OF_ORS = 2; - - // Disjunctive normal form. - OR_OF_ANDS = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/user_list_size_range.proto b/third_party/googleapis/google/ads/googleads/v12/enums/user_list_size_range.proto deleted file mode 100644 index f017af14c..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/user_list_size_range.proto +++ /dev/null @@ -1,90 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListSizeRangeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing user list size range. - -// Size range in terms of number of users of a UserList. -message UserListSizeRangeEnum { - // Enum containing possible user list size ranges. - enum UserListSizeRange { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // User list has less than 500 users. - LESS_THAN_FIVE_HUNDRED = 2; - - // User list has number of users in range of 500 to 1000. - LESS_THAN_ONE_THOUSAND = 3; - - // User list has number of users in range of 1000 to 10000. - ONE_THOUSAND_TO_TEN_THOUSAND = 4; - - // User list has number of users in range of 10000 to 50000. - TEN_THOUSAND_TO_FIFTY_THOUSAND = 5; - - // User list has number of users in range of 50000 to 100000. - FIFTY_THOUSAND_TO_ONE_HUNDRED_THOUSAND = 6; - - // User list has number of users in range of 100000 to 300000. - ONE_HUNDRED_THOUSAND_TO_THREE_HUNDRED_THOUSAND = 7; - - // User list has number of users in range of 300000 to 500000. - THREE_HUNDRED_THOUSAND_TO_FIVE_HUNDRED_THOUSAND = 8; - - // User list has number of users in range of 500000 to 1 million. - FIVE_HUNDRED_THOUSAND_TO_ONE_MILLION = 9; - - // User list has number of users in range of 1 to 2 millions. - ONE_MILLION_TO_TWO_MILLION = 10; - - // User list has number of users in range of 2 to 3 millions. - TWO_MILLION_TO_THREE_MILLION = 11; - - // User list has number of users in range of 3 to 5 millions. - THREE_MILLION_TO_FIVE_MILLION = 12; - - // User list has number of users in range of 5 to 10 millions. - FIVE_MILLION_TO_TEN_MILLION = 13; - - // User list has number of users in range of 10 to 20 millions. - TEN_MILLION_TO_TWENTY_MILLION = 14; - - // User list has number of users in range of 20 to 30 millions. - TWENTY_MILLION_TO_THIRTY_MILLION = 15; - - // User list has number of users in range of 30 to 50 millions. - THIRTY_MILLION_TO_FIFTY_MILLION = 16; - - // User list has over 50 million users. - OVER_FIFTY_MILLION = 17; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/user_list_string_rule_item_operator.proto b/third_party/googleapis/google/ads/googleads/v12/enums/user_list_string_rule_item_operator.proto deleted file mode 100644 index 80b24c7db..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/user_list_string_rule_item_operator.proto +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListStringRuleItemOperatorProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Supported rule operator for string type. -message UserListStringRuleItemOperatorEnum { - // Enum describing possible user list string rule item operators. - enum UserListStringRuleItemOperator { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Contains. - CONTAINS = 2; - - // Equals. - EQUALS = 3; - - // Starts with. - STARTS_WITH = 4; - - // Ends with. - ENDS_WITH = 5; - - // Not equals. - NOT_EQUALS = 6; - - // Not contains. - NOT_CONTAINS = 7; - - // Not starts with. - NOT_STARTS_WITH = 8; - - // Not ends with. - NOT_ENDS_WITH = 9; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/user_list_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/user_list_type.proto deleted file mode 100644 index d36d85565..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/user_list_type.proto +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing user list type. - -// The user list types. -message UserListTypeEnum { - // Enum containing possible user list types. - enum UserListType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // UserList represented as a collection of conversion types. - REMARKETING = 2; - - // UserList represented as a combination of other user lists/interests. - LOGICAL = 3; - - // UserList created in the Google Ad Manager platform. - EXTERNAL_REMARKETING = 4; - - // UserList associated with a rule. - RULE_BASED = 5; - - // UserList with users similar to users of another UserList. - SIMILAR = 6; - - // UserList of first-party CRM data provided by advertiser in the form of - // emails or other formats. - CRM_BASED = 7; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/value_rule_device_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/value_rule_device_type.proto deleted file mode 100644 index e89165399..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/value_rule_device_type.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ValueRuleDeviceTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing conversion value rule device type. - -// Container for enum describing possible device types used in a conversion -// value rule. -message ValueRuleDeviceTypeEnum { - // Possible device types used in conversion value rule. - enum ValueRuleDeviceType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Mobile device. - MOBILE = 2; - - // Desktop device. - DESKTOP = 3; - - // Tablet device. - TABLET = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/value_rule_geo_location_match_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/value_rule_geo_location_match_type.proto deleted file mode 100644 index 4e1e62c0c..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/value_rule_geo_location_match_type.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ValueRuleGeoLocationMatchTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing conversion value rule geo location match type. - -// Container for enum describing possible geographic location matching types -// used in a conversion value rule. -message ValueRuleGeoLocationMatchTypeEnum { - // Possible geographic location matching types. - enum ValueRuleGeoLocationMatchType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Either Area of Interest or Location of Presence can be used to match. - ANY = 2; - - // Only Location of Presence can be used to match. - LOCATION_OF_PRESENCE = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/value_rule_operation.proto b/third_party/googleapis/google/ads/googleads/v12/enums/value_rule_operation.proto deleted file mode 100644 index 414ee13c8..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/value_rule_operation.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ValueRuleOperationProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing conversion value rule operation. - -// Container for enum describing possible operations for value rules which are -// executed when rules are triggered. -message ValueRuleOperationEnum { - // Possible operations of the action of a conversion value rule. - enum ValueRuleOperation { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Add provided value to conversion value. - ADD = 2; - - // Multiply conversion value by provided value. - MULTIPLY = 3; - - // Set conversion value to provided value. - SET = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/value_rule_set_attachment_type.proto b/third_party/googleapis/google/ads/googleads/v12/enums/value_rule_set_attachment_type.proto deleted file mode 100644 index 8ed39bb87..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/value_rule_set_attachment_type.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ValueRuleSetAttachmentTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing where the conversion value rule is attached. - -// Container for enum describing where a value rule set is attached. -message ValueRuleSetAttachmentTypeEnum { - // Possible level where a value rule set is attached. - enum ValueRuleSetAttachmentType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Attached to the customer. - CUSTOMER = 2; - - // Attached to a campaign. - CAMPAIGN = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/value_rule_set_dimension.proto b/third_party/googleapis/google/ads/googleads/v12/enums/value_rule_set_dimension.proto deleted file mode 100644 index c112e60f9..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/value_rule_set_dimension.proto +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ValueRuleSetDimensionProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing conversion value rule set dimension. - -// Container for enum describing possible dimensions of a conversion value rule -// set. -message ValueRuleSetDimensionEnum { - // Possible dimensions of a conversion value rule set. - enum ValueRuleSetDimension { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Dimension for geo location. - GEO_LOCATION = 2; - - // Dimension for device type. - DEVICE = 3; - - // Dimension for audience. - AUDIENCE = 4; - - // This dimension implies the rule will always apply. - NO_CONDITION = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/vanity_pharma_display_url_mode.proto b/third_party/googleapis/google/ads/googleads/v12/enums/vanity_pharma_display_url_mode.proto deleted file mode 100644 index 1e2916d5f..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/vanity_pharma_display_url_mode.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "VanityPharmaDisplayUrlModeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing vanity pharma display url modes. - -// The display mode for vanity pharma URLs. -message VanityPharmaDisplayUrlModeEnum { - // Enum describing possible display modes for vanity pharma URLs. - enum VanityPharmaDisplayUrlMode { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Replace vanity pharma URL with manufacturer website url. - MANUFACTURER_WEBSITE_URL = 2; - - // Replace vanity pharma URL with description of the website. - WEBSITE_DESCRIPTION = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/vanity_pharma_text.proto b/third_party/googleapis/google/ads/googleads/v12/enums/vanity_pharma_text.proto deleted file mode 100644 index a0f47fa02..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/vanity_pharma_text.proto +++ /dev/null @@ -1,85 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "VanityPharmaTextProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing vanity pharma texts. - -// The text that will be displayed in display URL of the text ad when website -// description is the selected display mode for vanity pharma URLs. -message VanityPharmaTextEnum { - // Enum describing possible text. - enum VanityPharmaText { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Prescription treatment website with website content in English. - PRESCRIPTION_TREATMENT_WEBSITE_EN = 2; - - // Prescription treatment website with website content in Spanish - // (Sitio de tratamientos con receta). - PRESCRIPTION_TREATMENT_WEBSITE_ES = 3; - - // Prescription device website with website content in English. - PRESCRIPTION_DEVICE_WEBSITE_EN = 4; - - // Prescription device website with website content in Spanish (Sitio de - // dispositivos con receta). - PRESCRIPTION_DEVICE_WEBSITE_ES = 5; - - // Medical device website with website content in English. - MEDICAL_DEVICE_WEBSITE_EN = 6; - - // Medical device website with website content in Spanish (Sitio de - // dispositivos médicos). - MEDICAL_DEVICE_WEBSITE_ES = 7; - - // Preventative treatment website with website content in English. - PREVENTATIVE_TREATMENT_WEBSITE_EN = 8; - - // Preventative treatment website with website content in Spanish (Sitio de - // tratamientos preventivos). - PREVENTATIVE_TREATMENT_WEBSITE_ES = 9; - - // Prescription contraception website with website content in English. - PRESCRIPTION_CONTRACEPTION_WEBSITE_EN = 10; - - // Prescription contraception website with website content in Spanish (Sitio - // de anticonceptivos con receta). - PRESCRIPTION_CONTRACEPTION_WEBSITE_ES = 11; - - // Prescription vaccine website with website content in English. - PRESCRIPTION_VACCINE_WEBSITE_EN = 12; - - // Prescription vaccine website with website content in Spanish (Sitio de - // vacunas con receta). - PRESCRIPTION_VACCINE_WEBSITE_ES = 13; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/video_thumbnail.proto b/third_party/googleapis/google/ads/googleads/v12/enums/video_thumbnail.proto deleted file mode 100644 index a11d3f6b0..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/video_thumbnail.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "VideoThumbnailProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing video thumbnails. - -// Defines the thumbnail to use for In-Display video ads. Note that -// DEFAULT_THUMBNAIL may have been uploaded by the user while thumbnails 1-3 are -// auto-generated from the video. -message VideoThumbnailEnum { - // Enum listing the possible types of a video thumbnail. - enum VideoThumbnail { - // The type has not been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // This is a response-only value. - UNKNOWN = 1; - - // The default thumbnail. Can be auto-generated or user-uploaded. - DEFAULT_THUMBNAIL = 2; - - // Thumbnail 1, generated from the video. - THUMBNAIL_1 = 3; - - // Thumbnail 2, generated from the video. - THUMBNAIL_2 = 4; - - // Thumbnail 3, generated from the video. - THUMBNAIL_3 = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/webpage_condition_operand.proto b/third_party/googleapis/google/ads/googleads/v12/enums/webpage_condition_operand.proto deleted file mode 100644 index 7ee2244d5..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/webpage_condition_operand.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "WebpageConditionOperandProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing webpage condition operand. - -// Container for enum describing webpage condition operand in webpage criterion. -message WebpageConditionOperandEnum { - // The webpage condition operand in webpage criterion. - enum WebpageConditionOperand { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Operand denoting a webpage URL targeting condition. - URL = 2; - - // Operand denoting a webpage category targeting condition. - CATEGORY = 3; - - // Operand denoting a webpage title targeting condition. - PAGE_TITLE = 4; - - // Operand denoting a webpage content targeting condition. - PAGE_CONTENT = 5; - - // Operand denoting a webpage custom label targeting condition. - CUSTOM_LABEL = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/enums/webpage_condition_operator.proto b/third_party/googleapis/google/ads/googleads/v12/enums/webpage_condition_operator.proto deleted file mode 100644 index 1105fbb47..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/enums/webpage_condition_operator.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "WebpageConditionOperatorProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing webpage condition operator. - -// Container for enum describing webpage condition operator in webpage -// criterion. -message WebpageConditionOperatorEnum { - // The webpage condition operator in webpage criterion. - enum WebpageConditionOperator { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The argument web condition is equal to the compared web condition. - EQUALS = 2; - - // The argument web condition is part of the compared web condition. - CONTAINS = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/BUILD.bazel b/third_party/googleapis/google/ads/googleads/v12/errors/BUILD.bazel deleted file mode 100644 index 1d75069de..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/BUILD.bazel +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 2020 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -package(default_visibility = ["//visibility:public"]) - -############################################################################## -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") - -# TODO(ohren): Change srcs to use an enumeration of each individual proto -# instead of *.proto globbing once the build file generator supports -# subpackages. -proto_library( - name = "errors_proto", - srcs = glob(["*.proto"]), - deps = [ - "//google/ads/googleads/v12/common:common_proto", - "//google/ads/googleads/v12/enums:enums_proto", - "//google/api:annotations_proto", - "@com_google_protobuf//:duration_proto", - "@com_google_protobuf//:wrappers_proto", - ], -) - -############################################################################## -# Java -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "java_proto_library", -) - -java_proto_library( - name = "errors_java_proto", - deps = [":errors_proto"], -) - -############################################################################## -# PHP -############################################################################## - -# PHP targets are in the parent directory's BUILD.bazel file to facilitate -# aggregating metadata using a single underlying call to protoc. - -############################################################################## -# C# -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "csharp_proto_library", -) - -csharp_proto_library( - name = "errors_csharp_proto", - deps = [":errors_proto"], -) - -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "ruby_proto_library", -) - -ruby_proto_library( - name = "errors_ruby_proto", - deps = [":errors_proto"], -) - -############################################################################## -# Python -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "py_proto_library", -) - -py_proto_library( - name = "errors_py_proto", - deps = [":errors_proto"], -) diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/access_invitation_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/access_invitation_error.proto deleted file mode 100644 index c0f445724..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/access_invitation_error.proto +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AccessInvitationErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing AccessInvitation errors. - -// Container for enum describing possible AccessInvitation errors. -message AccessInvitationErrorEnum { - // Enum describing possible AccessInvitation errors. - enum AccessInvitationError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The email address is invalid for sending an invitation. - INVALID_EMAIL_ADDRESS = 2; - - // Email address already has access to this customer. - EMAIL_ADDRESS_ALREADY_HAS_ACCESS = 3; - - // Invalid invitation status for the operation. - INVALID_INVITATION_STATUS = 4; - - // Email address cannot be like abc+foo@google.com. - GOOGLE_CONSUMER_ACCOUNT_NOT_ALLOWED = 5; - - // Invalid invitation ID. - INVALID_INVITATION_ID = 6; - - // Email address already has a pending invitation. - EMAIL_ADDRESS_ALREADY_HAS_PENDING_INVITATION = 7; - - // Pending invitation limit exceeded for the customer. - PENDING_INVITATIONS_LIMIT_EXCEEDED = 8; - - // Email address doesn't conform to the email domain policy. See - // https://support.google.com/google-ads/answer/2375456 - EMAIL_DOMAIN_POLICY_VIOLATED = 9; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/account_budget_proposal_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/account_budget_proposal_error.proto deleted file mode 100644 index f17775305..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/account_budget_proposal_error.proto +++ /dev/null @@ -1,124 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AccountBudgetProposalErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing account budget proposal errors. - -// Container for enum describing possible account budget proposal errors. -message AccountBudgetProposalErrorEnum { - // Enum describing possible account budget proposal errors. - enum AccountBudgetProposalError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The field mask must be empty for create/end/remove proposals. - FIELD_MASK_NOT_ALLOWED = 2; - - // The field cannot be set because of the proposal type. - IMMUTABLE_FIELD = 3; - - // The field is required because of the proposal type. - REQUIRED_FIELD_MISSING = 4; - - // Proposals that have been approved cannot be cancelled. - CANNOT_CANCEL_APPROVED_PROPOSAL = 5; - - // Budgets that haven't been approved cannot be removed. - CANNOT_REMOVE_UNAPPROVED_BUDGET = 6; - - // Budgets that are currently running cannot be removed. - CANNOT_REMOVE_RUNNING_BUDGET = 7; - - // Budgets that haven't been approved cannot be truncated. - CANNOT_END_UNAPPROVED_BUDGET = 8; - - // Only budgets that are currently running can be truncated. - CANNOT_END_INACTIVE_BUDGET = 9; - - // All budgets must have names. - BUDGET_NAME_REQUIRED = 10; - - // Expired budgets cannot be edited after a sufficient amount of time has - // passed. - CANNOT_UPDATE_OLD_BUDGET = 11; - - // It is not permissible a propose a new budget that ends in the past. - CANNOT_END_IN_PAST = 12; - - // An expired budget cannot be extended to overlap with the running budget. - CANNOT_EXTEND_END_TIME = 13; - - // A purchase order number is required. - PURCHASE_ORDER_NUMBER_REQUIRED = 14; - - // Budgets that have a pending update cannot be updated. - PENDING_UPDATE_PROPOSAL_EXISTS = 15; - - // Cannot propose more than one budget when the corresponding billing setup - // hasn't been approved. - MULTIPLE_BUDGETS_NOT_ALLOWED_FOR_UNAPPROVED_BILLING_SETUP = 16; - - // Cannot update the start time of a budget that has already started. - CANNOT_UPDATE_START_TIME_FOR_STARTED_BUDGET = 17; - - // Cannot update the spending limit of a budget with an amount lower than - // what has already been spent. - SPENDING_LIMIT_LOWER_THAN_ACCRUED_COST_NOT_ALLOWED = 18; - - // Cannot propose a budget update without actually changing any fields. - UPDATE_IS_NO_OP = 19; - - // The end time must come after the start time. - END_TIME_MUST_FOLLOW_START_TIME = 20; - - // The budget's date range must fall within the date range of its billing - // setup. - BUDGET_DATE_RANGE_INCOMPATIBLE_WITH_BILLING_SETUP = 21; - - // The user is not authorized to mutate budgets for the given billing setup. - NOT_AUTHORIZED = 22; - - // Mutates are not allowed for the given billing setup. - INVALID_BILLING_SETUP = 23; - - // Budget creation failed as it overlaps with an pending budget proposal - // or an approved budget. - OVERLAPS_EXISTING_BUDGET = 24; - - // The control setting in user's payments profile doesn't allow budget - // creation through API. Log in to Google Ads to create budget. - CANNOT_CREATE_BUDGET_THROUGH_API = 25; - - // Master service agreement has not been signed yet for the Payments - // Profile. - INVALID_MASTER_SERVICE_AGREEMENT = 26; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/account_link_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/account_link_error.proto deleted file mode 100644 index 8aa6ddde5..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/account_link_error.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AccountLinkErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing AccountLink errors. - -// Container for enum describing possible account link errors. -message AccountLinkErrorEnum { - // Enum describing possible account link errors. - enum AccountLinkError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The new link status is invalid. - INVALID_STATUS = 2; - - // The authenticated user doesn't have the permission to do the change. - PERMISSION_DENIED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/ad_customizer_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/ad_customizer_error.proto deleted file mode 100644 index d445d4767..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/ad_customizer_error.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdCustomizerErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing ad customizer errors. - -// Container for enum describing possible ad customizer errors. -message AdCustomizerErrorEnum { - // Enum describing possible ad customizer errors. - enum AdCustomizerError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Invalid date argument in countdown function. - COUNTDOWN_INVALID_DATE_FORMAT = 2; - - // Countdown end date is in the past. - COUNTDOWN_DATE_IN_PAST = 3; - - // Invalid locale string in countdown function. - COUNTDOWN_INVALID_LOCALE = 4; - - // Days-before argument to countdown function is not positive. - COUNTDOWN_INVALID_START_DAYS_BEFORE = 5; - - // A user list referenced in an IF function does not exist. - UNKNOWN_USER_LIST = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/ad_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/ad_error.proto deleted file mode 100644 index 6b758de5d..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/ad_error.proto +++ /dev/null @@ -1,528 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing ad errors. - -// Container for enum describing possible ad errors. -message AdErrorEnum { - // Enum describing possible ad errors. - enum AdError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Ad customizers are not supported for ad type. - AD_CUSTOMIZERS_NOT_SUPPORTED_FOR_AD_TYPE = 2; - - // Estimating character sizes the string is too long. - APPROXIMATELY_TOO_LONG = 3; - - // Estimating character sizes the string is too short. - APPROXIMATELY_TOO_SHORT = 4; - - // There is a problem with the snippet. - BAD_SNIPPET = 5; - - // Cannot modify an ad. - CANNOT_MODIFY_AD = 6; - - // business name and url cannot be set at the same time - CANNOT_SET_BUSINESS_NAME_IF_URL_SET = 7; - - // The specified field is incompatible with this ad's type or settings. - CANNOT_SET_FIELD = 8; - - // Cannot set field when originAdId is set. - CANNOT_SET_FIELD_WITH_ORIGIN_AD_ID_SET = 9; - - // Cannot set field when an existing ad id is set for sharing. - CANNOT_SET_FIELD_WITH_AD_ID_SET_FOR_SHARING = 10; - - // Cannot set allowFlexibleColor false if no color is provided by user. - CANNOT_SET_ALLOW_FLEXIBLE_COLOR_FALSE = 11; - - // When user select native, no color control is allowed because we will - // always respect publisher color for native format serving. - CANNOT_SET_COLOR_CONTROL_WHEN_NATIVE_FORMAT_SETTING = 12; - - // Cannot specify a url for the ad type - CANNOT_SET_URL = 13; - - // Cannot specify a tracking or mobile url without also setting final urls - CANNOT_SET_WITHOUT_FINAL_URLS = 14; - - // Cannot specify a legacy url and a final url simultaneously - CANNOT_SET_WITH_FINAL_URLS = 15; - - // Cannot specify a urls in UrlData and in template fields simultaneously. - CANNOT_SET_WITH_URL_DATA = 17; - - // This operator cannot be used with a subclass of Ad. - CANNOT_USE_AD_SUBCLASS_FOR_OPERATOR = 18; - - // Customer is not approved for mobile ads. - CUSTOMER_NOT_APPROVED_MOBILEADS = 19; - - // Customer is not approved for 3PAS richmedia ads. - CUSTOMER_NOT_APPROVED_THIRDPARTY_ADS = 20; - - // Customer is not approved for 3PAS redirect richmedia (Ad Exchange) ads. - CUSTOMER_NOT_APPROVED_THIRDPARTY_REDIRECT_ADS = 21; - - // Not an eligible customer - CUSTOMER_NOT_ELIGIBLE = 22; - - // Customer is not eligible for updating beacon url - CUSTOMER_NOT_ELIGIBLE_FOR_UPDATING_BEACON_URL = 23; - - // There already exists an ad with the same dimensions in the union. - DIMENSION_ALREADY_IN_UNION = 24; - - // Ad's dimension must be set before setting union dimension. - DIMENSION_MUST_BE_SET = 25; - - // Ad's dimension must be included in the union dimensions. - DIMENSION_NOT_IN_UNION = 26; - - // Display Url cannot be specified (applies to Ad Exchange Ads) - DISPLAY_URL_CANNOT_BE_SPECIFIED = 27; - - // Telephone number contains invalid characters or invalid format. - // Re-enter your number using digits (0-9), dashes (-), and parentheses - // only. - DOMESTIC_PHONE_NUMBER_FORMAT = 28; - - // Emergency telephone numbers are not allowed. Enter a valid - // domestic phone number to connect customers to your business. - EMERGENCY_PHONE_NUMBER = 29; - - // A required field was not specified or is an empty string. - EMPTY_FIELD = 30; - - // A feed attribute referenced in an ad customizer tag is not in the ad - // customizer mapping for the feed. - FEED_ATTRIBUTE_MUST_HAVE_MAPPING_FOR_TYPE_ID = 31; - - // The ad customizer field mapping for the feed attribute does not match the - // expected field type. - FEED_ATTRIBUTE_MAPPING_TYPE_MISMATCH = 32; - - // The use of ad customizer tags in the ad text is disallowed. Details in - // trigger. - ILLEGAL_AD_CUSTOMIZER_TAG_USE = 33; - - // Tags of the form {PH_x}, where x is a number, are disallowed in ad text. - ILLEGAL_TAG_USE = 34; - - // The dimensions of the ad are specified or derived in multiple ways and - // are not consistent. - INCONSISTENT_DIMENSIONS = 35; - - // The status cannot differ among template ads of the same union. - INCONSISTENT_STATUS_IN_TEMPLATE_UNION = 36; - - // The length of the string is not valid. - INCORRECT_LENGTH = 37; - - // The ad is ineligible for upgrade. - INELIGIBLE_FOR_UPGRADE = 38; - - // User cannot create mobile ad for countries targeted in specified - // campaign. - INVALID_AD_ADDRESS_CAMPAIGN_TARGET = 39; - - // Invalid Ad type. A specific type of Ad is required. - INVALID_AD_TYPE = 40; - - // Headline, description or phone cannot be present when creating mobile - // image ad. - INVALID_ATTRIBUTES_FOR_MOBILE_IMAGE = 41; - - // Image cannot be present when creating mobile text ad. - INVALID_ATTRIBUTES_FOR_MOBILE_TEXT = 42; - - // Invalid call to action text. - INVALID_CALL_TO_ACTION_TEXT = 43; - - // Invalid character in URL. - INVALID_CHARACTER_FOR_URL = 44; - - // Creative's country code is not valid. - INVALID_COUNTRY_CODE = 45; - - // Invalid use of Expanded Dynamic Search Ads tags ({lpurl} etc.) - INVALID_EXPANDED_DYNAMIC_SEARCH_AD_TAG = 47; - - // An input error whose real reason was not properly mapped (should not - // happen). - INVALID_INPUT = 48; - - // An invalid markup language was entered. - INVALID_MARKUP_LANGUAGE = 49; - - // An invalid mobile carrier was entered. - INVALID_MOBILE_CARRIER = 50; - - // Specified mobile carriers target a country not targeted by the campaign. - INVALID_MOBILE_CARRIER_TARGET = 51; - - // Wrong number of elements for given element type - INVALID_NUMBER_OF_ELEMENTS = 52; - - // The format of the telephone number is incorrect. Re-enter the - // number using the correct format. - INVALID_PHONE_NUMBER_FORMAT = 53; - - // The certified vendor format id is incorrect. - INVALID_RICH_MEDIA_CERTIFIED_VENDOR_FORMAT_ID = 54; - - // The template ad data contains validation errors. - INVALID_TEMPLATE_DATA = 55; - - // The template field doesn't have have the correct type. - INVALID_TEMPLATE_ELEMENT_FIELD_TYPE = 56; - - // Invalid template id. - INVALID_TEMPLATE_ID = 57; - - // After substituting replacement strings, the line is too wide. - LINE_TOO_WIDE = 58; - - // The feed referenced must have ad customizer mapping to be used in a - // customizer tag. - MISSING_AD_CUSTOMIZER_MAPPING = 59; - - // Missing address component in template element address field. - MISSING_ADDRESS_COMPONENT = 60; - - // An ad name must be entered. - MISSING_ADVERTISEMENT_NAME = 61; - - // Business name must be entered. - MISSING_BUSINESS_NAME = 62; - - // Description (line 2) must be entered. - MISSING_DESCRIPTION1 = 63; - - // Description (line 3) must be entered. - MISSING_DESCRIPTION2 = 64; - - // The destination url must contain at least one tag (for example, {lpurl}) - MISSING_DESTINATION_URL_TAG = 65; - - // The tracking url template of ExpandedDynamicSearchAd must contain at - // least one tag. (for example, {lpurl}) - MISSING_LANDING_PAGE_URL_TAG = 66; - - // A valid dimension must be specified for this ad. - MISSING_DIMENSION = 67; - - // A display URL must be entered. - MISSING_DISPLAY_URL = 68; - - // Headline must be entered. - MISSING_HEADLINE = 69; - - // A height must be entered. - MISSING_HEIGHT = 70; - - // An image must be entered. - MISSING_IMAGE = 71; - - // Marketing image or product videos are required. - MISSING_MARKETING_IMAGE_OR_PRODUCT_VIDEOS = 72; - - // The markup language in which your site is written must be entered. - MISSING_MARKUP_LANGUAGES = 73; - - // A mobile carrier must be entered. - MISSING_MOBILE_CARRIER = 74; - - // Phone number must be entered. - MISSING_PHONE = 75; - - // Missing required template fields - MISSING_REQUIRED_TEMPLATE_FIELDS = 76; - - // Missing a required field value - MISSING_TEMPLATE_FIELD_VALUE = 77; - - // The ad must have text. - MISSING_TEXT = 78; - - // A visible URL must be entered. - MISSING_VISIBLE_URL = 79; - - // A width must be entered. - MISSING_WIDTH = 80; - - // Only 1 feed can be used as the source of ad customizer substitutions in a - // single ad. - MULTIPLE_DISTINCT_FEEDS_UNSUPPORTED = 81; - - // TempAdUnionId must be use when adding template ads. - MUST_USE_TEMP_AD_UNION_ID_ON_ADD = 82; - - // The string has too many characters. - TOO_LONG = 83; - - // The string has too few characters. - TOO_SHORT = 84; - - // Ad union dimensions cannot change for saved ads. - UNION_DIMENSIONS_CANNOT_CHANGE = 85; - - // Address component is not {country, lat, lng}. - UNKNOWN_ADDRESS_COMPONENT = 86; - - // Unknown unique field name - UNKNOWN_FIELD_NAME = 87; - - // Unknown unique name (template element type specifier) - UNKNOWN_UNIQUE_NAME = 88; - - // Unsupported ad dimension - UNSUPPORTED_DIMENSIONS = 89; - - // URL starts with an invalid scheme. - URL_INVALID_SCHEME = 90; - - // URL ends with an invalid top-level domain name. - URL_INVALID_TOP_LEVEL_DOMAIN = 91; - - // URL contains illegal characters. - URL_MALFORMED = 92; - - // URL must contain a host name. - URL_NO_HOST = 93; - - // URL not equivalent during upgrade. - URL_NOT_EQUIVALENT = 94; - - // URL host name too long to be stored as visible URL (applies to Ad - // Exchange ads) - URL_HOST_NAME_TOO_LONG = 95; - - // URL must start with a scheme. - URL_NO_SCHEME = 96; - - // URL should end in a valid domain extension, such as .com or .net. - URL_NO_TOP_LEVEL_DOMAIN = 97; - - // URL must not end with a path. - URL_PATH_NOT_ALLOWED = 98; - - // URL must not specify a port. - URL_PORT_NOT_ALLOWED = 99; - - // URL must not contain a query. - URL_QUERY_NOT_ALLOWED = 100; - - // A url scheme is not allowed in front of tag in tracking url template - // (for example, http://{lpurl}) - URL_SCHEME_BEFORE_EXPANDED_DYNAMIC_SEARCH_AD_TAG = 102; - - // The user does not have permissions to create a template ad for the given - // template. - USER_DOES_NOT_HAVE_ACCESS_TO_TEMPLATE = 103; - - // Expandable setting is inconsistent/wrong. For example, an AdX ad is - // invalid if it has a expandable vendor format but no expanding directions - // specified, or expanding directions is specified, but the vendor format is - // not expandable. - INCONSISTENT_EXPANDABLE_SETTINGS = 104; - - // Format is invalid - INVALID_FORMAT = 105; - - // The text of this field did not match a pattern of allowed values. - INVALID_FIELD_TEXT = 106; - - // Template element is mising - ELEMENT_NOT_PRESENT = 107; - - // Error occurred during image processing - IMAGE_ERROR = 108; - - // The value is not within the valid range - VALUE_NOT_IN_RANGE = 109; - - // Template element field is not present - FIELD_NOT_PRESENT = 110; - - // Address is incomplete - ADDRESS_NOT_COMPLETE = 111; - - // Invalid address - ADDRESS_INVALID = 112; - - // Error retrieving specified video - VIDEO_RETRIEVAL_ERROR = 113; - - // Error processing audio - AUDIO_ERROR = 114; - - // Display URL is incorrect for YouTube PYV ads - INVALID_YOUTUBE_DISPLAY_URL = 115; - - // Too many product Images in GmailAd - TOO_MANY_PRODUCT_IMAGES = 116; - - // Too many product Videos in GmailAd - TOO_MANY_PRODUCT_VIDEOS = 117; - - // The device preference is not compatible with the ad type - INCOMPATIBLE_AD_TYPE_AND_DEVICE_PREFERENCE = 118; - - // Call tracking is not supported for specified country. - CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY = 119; - - // Carrier specific short number is not allowed. - CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED = 120; - - // Specified phone number type is disallowed. - DISALLOWED_NUMBER_TYPE = 121; - - // Phone number not supported for country. - PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY = 122; - - // Phone number not supported with call tracking enabled for country. - PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY = 123; - - // Premium rate phone number is not allowed. - PREMIUM_RATE_NUMBER_NOT_ALLOWED = 124; - - // Vanity phone number is not allowed. - VANITY_PHONE_NUMBER_NOT_ALLOWED = 125; - - // Invalid call conversion type id. - INVALID_CALL_CONVERSION_TYPE_ID = 126; - - // Cannot disable call conversion and set conversion type id. - CANNOT_DISABLE_CALL_CONVERSION_AND_SET_CONVERSION_TYPE_ID = 127; - - // Cannot set path2 without path1. - CANNOT_SET_PATH2_WITHOUT_PATH1 = 128; - - // Missing domain name in campaign setting when adding expanded dynamic - // search ad. - MISSING_DYNAMIC_SEARCH_ADS_SETTING_DOMAIN_NAME = 129; - - // The associated ad is not compatible with restriction type. - INCOMPATIBLE_WITH_RESTRICTION_TYPE = 130; - - // Consent for call recording is required for creating/updating call only - // ads. See https://support.google.com/google-ads/answer/7412639. - CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED = 131; - - // Either an image or a media bundle is required in a display upload ad. - MISSING_IMAGE_OR_MEDIA_BUNDLE = 132; - - // The display upload product type is not supported in this campaign. - PRODUCT_TYPE_NOT_SUPPORTED_IN_THIS_CAMPAIGN = 133; - - // The default value of an ad placeholder can not be the empty string. - PLACEHOLDER_CANNOT_HAVE_EMPTY_DEFAULT_VALUE = 134; - - // Ad placeholders with countdown functions must not have a default value. - PLACEHOLDER_COUNTDOWN_FUNCTION_CANNOT_HAVE_DEFAULT_VALUE = 135; - - // A previous ad placeholder that had a default value was found which means - // that all (non-countdown) placeholders must have a default value. This - // ad placeholder does not have a default value. - PLACEHOLDER_DEFAULT_VALUE_MISSING = 136; - - // A previous ad placeholder that did not have a default value was found - // which means that no placeholders may have a default value. This - // ad placeholder does have a default value. - UNEXPECTED_PLACEHOLDER_DEFAULT_VALUE = 137; - - // Two ad customizers may not be directly adjacent in an ad text. They must - // be separated by at least one character. - AD_CUSTOMIZERS_MAY_NOT_BE_ADJACENT = 138; - - // The ad is not associated with any enabled AdGroupAd, and cannot be - // updated. - UPDATING_AD_WITH_NO_ENABLED_ASSOCIATION = 139; - - // Call Ad verification url and final url don't have same domain. - CALL_AD_VERIFICATION_URL_FINAL_URL_DOES_NOT_HAVE_SAME_DOMAIN = 140; - - // Final url and verification url cannot both be empty for call ads. - CALL_AD_FINAL_URL_AND_VERIFICATION_URL_CANNOT_BOTH_BE_EMPTY = 154; - - // Too many ad customizers in one asset. - TOO_MANY_AD_CUSTOMIZERS = 141; - - // The ad customizer tag is recognized, but the format is invalid. - INVALID_AD_CUSTOMIZER_FORMAT = 142; - - // Customizer tags cannot be nested. - NESTED_AD_CUSTOMIZER_SYNTAX = 143; - - // The ad customizer syntax used in the ad is not supported. - UNSUPPORTED_AD_CUSTOMIZER_SYNTAX = 144; - - // There exists unpaired brace in the ad customizer tag. - UNPAIRED_BRACE_IN_AD_CUSTOMIZER_TAG = 145; - - // More than one type of countdown tag exists among all text lines. - MORE_THAN_ONE_COUNTDOWN_TAG_TYPE_EXISTS = 146; - - // Date time in the countdown tag is invalid. - DATE_TIME_IN_COUNTDOWN_TAG_IS_INVALID = 147; - - // Date time in the countdown tag is in the past. - DATE_TIME_IN_COUNTDOWN_TAG_IS_PAST = 148; - - // Cannot recognize the ad customizer tag. - UNRECOGNIZED_AD_CUSTOMIZER_TAG_FOUND = 149; - - // Customizer type forbidden for this field. - CUSTOMIZER_TYPE_FORBIDDEN_FOR_FIELD = 150; - - // Customizer attribute name is invalid. - INVALID_CUSTOMIZER_ATTRIBUTE_NAME = 151; - - // App store value does not match the value of the app store in the app - // specified in the campaign. - STORE_MISMATCH = 152; - - // Missing required image aspect ratio. - MISSING_REQUIRED_IMAGE_ASPECT_RATIO = 153; - - // Aspect ratios mismatch between different assets. - MISMATCHED_ASPECT_RATIOS = 155; - - // Images must be unique between different carousel card assets. - DUPLICATE_IMAGE_ACROSS_CAROUSEL_CARDS = 156; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/ad_group_ad_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/ad_group_ad_error.proto deleted file mode 100644 index 46958fd0e..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/ad_group_ad_error.proto +++ /dev/null @@ -1,78 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAdErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing ad group ad errors. - -// Container for enum describing possible ad group ad errors. -message AdGroupAdErrorEnum { - // Enum describing possible ad group ad errors. - enum AdGroupAdError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // No link found between the adgroup ad and the label. - AD_GROUP_AD_LABEL_DOES_NOT_EXIST = 2; - - // The label has already been attached to the adgroup ad. - AD_GROUP_AD_LABEL_ALREADY_EXISTS = 3; - - // The specified ad was not found in the adgroup - AD_NOT_UNDER_ADGROUP = 4; - - // Removed ads may not be modified - CANNOT_OPERATE_ON_REMOVED_ADGROUPAD = 5; - - // An ad of this type is deprecated and cannot be created. Only deletions - // are permitted. - CANNOT_CREATE_DEPRECATED_ADS = 6; - - // Text ads are deprecated and cannot be created. Use expanded text ads - // instead. - CANNOT_CREATE_TEXT_ADS = 7; - - // A required field was not specified or is an empty string. - EMPTY_FIELD = 8; - - // An ad may only be modified once per call - RESOURCE_REFERENCED_IN_MULTIPLE_OPS = 9; - - // AdGroupAds with the given ad type cannot be paused. - AD_TYPE_CANNOT_BE_PAUSED = 10; - - // AdGroupAds with the given ad type cannot be removed. - AD_TYPE_CANNOT_BE_REMOVED = 11; - - // An ad of this type is deprecated and cannot be updated. Only removals - // are permitted. - CANNOT_UPDATE_DEPRECATED_ADS = 12; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/ad_group_bid_modifier_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/ad_group_bid_modifier_error.proto deleted file mode 100644 index 10a396696..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/ad_group_bid_modifier_error.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupBidModifierErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing ad group bid modifier errors. - -// Container for enum describing possible ad group bid modifier errors. -message AdGroupBidModifierErrorEnum { - // Enum describing possible ad group bid modifier errors. - enum AdGroupBidModifierError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The criterion ID does not support bid modification. - CRITERION_ID_NOT_SUPPORTED = 2; - - // Cannot override the bid modifier for the given criterion ID if the parent - // campaign is opted out of the same criterion. - CANNOT_OVERRIDE_OPTED_OUT_CAMPAIGN_CRITERION_BID_MODIFIER = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/ad_group_criterion_customizer_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/ad_group_criterion_customizer_error.proto deleted file mode 100644 index 032335c0e..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/ad_group_criterion_customizer_error.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionCustomizerErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing ad group criterion customizer errors. - -// Container for enum describing possible ad group criterion customizer errors. -message AdGroupCriterionCustomizerErrorEnum { - // Enum describing possible ad group criterion customizer errors. - enum AdGroupCriterionCustomizerError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Only keyword type criterion is allowed to link customizer attribute. - CRITERION_IS_NOT_KEYWORD = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/ad_group_criterion_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/ad_group_criterion_error.proto deleted file mode 100644 index 29eebb5b0..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/ad_group_criterion_error.proto +++ /dev/null @@ -1,135 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing ad group criterion errors. - -// Container for enum describing possible ad group criterion errors. -message AdGroupCriterionErrorEnum { - // Enum describing possible ad group criterion errors. - enum AdGroupCriterionError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // No link found between the AdGroupCriterion and the label. - AD_GROUP_CRITERION_LABEL_DOES_NOT_EXIST = 2; - - // The label has already been attached to the AdGroupCriterion. - AD_GROUP_CRITERION_LABEL_ALREADY_EXISTS = 3; - - // Negative AdGroupCriterion cannot have labels. - CANNOT_ADD_LABEL_TO_NEGATIVE_CRITERION = 4; - - // Too many operations for a single call. - TOO_MANY_OPERATIONS = 5; - - // Negative ad group criteria are not updateable. - CANT_UPDATE_NEGATIVE = 6; - - // Concrete type of criterion (keyword v.s. placement) is required for ADD - // and SET operations. - CONCRETE_TYPE_REQUIRED = 7; - - // Bid is incompatible with ad group's bidding settings. - BID_INCOMPATIBLE_WITH_ADGROUP = 8; - - // Cannot target and exclude the same criterion at once. - CANNOT_TARGET_AND_EXCLUDE = 9; - - // The URL of a placement is invalid. - ILLEGAL_URL = 10; - - // Keyword text was invalid. - INVALID_KEYWORD_TEXT = 11; - - // Destination URL was invalid. - INVALID_DESTINATION_URL = 12; - - // The destination url must contain at least one tag (for example, {lpurl}) - MISSING_DESTINATION_URL_TAG = 13; - - // Keyword-level cpm bid is not supported - KEYWORD_LEVEL_BID_NOT_SUPPORTED_FOR_MANUALCPM = 14; - - // For example, cannot add a biddable ad group criterion that had been - // removed. - INVALID_USER_STATUS = 15; - - // Criteria type cannot be targeted for the ad group. Either the account is - // restricted to keywords only, the criteria type is incompatible with the - // campaign's bidding strategy, or the criteria type can only be applied to - // campaigns. - CANNOT_ADD_CRITERIA_TYPE = 16; - - // Criteria type cannot be excluded for the ad group. Refer to the - // documentation for a specific criterion to check if it is excludable. - CANNOT_EXCLUDE_CRITERIA_TYPE = 17; - - // Partial failure is not supported for shopping campaign mutate operations. - CAMPAIGN_TYPE_NOT_COMPATIBLE_WITH_PARTIAL_FAILURE = 27; - - // Operations in the mutate request changes too many shopping ad groups. - // Split requests for multiple shopping ad groups across multiple - // requests. - OPERATIONS_FOR_TOO_MANY_SHOPPING_ADGROUPS = 28; - - // Not allowed to modify url fields of an ad group criterion if there are - // duplicate elements for that ad group criterion in the request. - CANNOT_MODIFY_URL_FIELDS_WITH_DUPLICATE_ELEMENTS = 29; - - // Cannot set url fields without also setting final urls. - CANNOT_SET_WITHOUT_FINAL_URLS = 30; - - // Cannot clear final urls if final mobile urls exist. - CANNOT_CLEAR_FINAL_URLS_IF_FINAL_MOBILE_URLS_EXIST = 31; - - // Cannot clear final urls if final app urls exist. - CANNOT_CLEAR_FINAL_URLS_IF_FINAL_APP_URLS_EXIST = 32; - - // Cannot clear final urls if tracking url template exists. - CANNOT_CLEAR_FINAL_URLS_IF_TRACKING_URL_TEMPLATE_EXISTS = 33; - - // Cannot clear final urls if url custom parameters exist. - CANNOT_CLEAR_FINAL_URLS_IF_URL_CUSTOM_PARAMETERS_EXIST = 34; - - // Cannot set both destination url and final urls. - CANNOT_SET_BOTH_DESTINATION_URL_AND_FINAL_URLS = 35; - - // Cannot set both destination url and tracking url template. - CANNOT_SET_BOTH_DESTINATION_URL_AND_TRACKING_URL_TEMPLATE = 36; - - // Final urls are not supported for this criterion type. - FINAL_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE = 37; - - // Final mobile urls are not supported for this criterion type. - FINAL_MOBILE_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE = 38; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/ad_group_customizer_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/ad_group_customizer_error.proto deleted file mode 100644 index 69b9d9a5d..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/ad_group_customizer_error.proto +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCustomizerErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing ad group customizer errors. - -// Container for enum describing possible ad group customizer errors. -message AdGroupCustomizerErrorEnum { - // Enum describing possible ad group customizer errors. - enum AdGroupCustomizerError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/ad_group_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/ad_group_error.proto deleted file mode 100644 index c3c6ba662..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/ad_group_error.proto +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing ad group errors. - -// Container for enum describing possible ad group errors. -message AdGroupErrorEnum { - // Enum describing possible ad group errors. - enum AdGroupError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // AdGroup with the same name already exists for the campaign. - DUPLICATE_ADGROUP_NAME = 2; - - // AdGroup name is not valid. - INVALID_ADGROUP_NAME = 3; - - // Advertiser is not allowed to target sites or set site bids that are not - // on the Google Search Network. - ADVERTISER_NOT_ON_CONTENT_NETWORK = 5; - - // Bid amount is too big. - BID_TOO_BIG = 6; - - // AdGroup bid does not match the campaign's bidding strategy. - BID_TYPE_AND_BIDDING_STRATEGY_MISMATCH = 7; - - // AdGroup name is required for Add. - MISSING_ADGROUP_NAME = 8; - - // No link found between the ad group and the label. - ADGROUP_LABEL_DOES_NOT_EXIST = 9; - - // The label has already been attached to the ad group. - ADGROUP_LABEL_ALREADY_EXISTS = 10; - - // The CriterionTypeGroup is not supported for the content bid dimension. - INVALID_CONTENT_BID_CRITERION_TYPE_GROUP = 11; - - // The ad group type is not compatible with the campaign channel type. - AD_GROUP_TYPE_NOT_VALID_FOR_ADVERTISING_CHANNEL_TYPE = 12; - - // The ad group type is not supported in the country of sale of the - // campaign. - ADGROUP_TYPE_NOT_SUPPORTED_FOR_CAMPAIGN_SALES_COUNTRY = 13; - - // Ad groups of AdGroupType.SEARCH_DYNAMIC_ADS can only be added to - // campaigns that have DynamicSearchAdsSetting attached. - CANNOT_ADD_ADGROUP_OF_TYPE_DSA_TO_CAMPAIGN_WITHOUT_DSA_SETTING = 14; - - // Promoted hotels ad groups are only available to customers on the - // allow-list. - PROMOTED_HOTEL_AD_GROUPS_NOT_AVAILABLE_FOR_CUSTOMER = 15; - - // The field type cannot be excluded because an active ad group-asset link - // of this type exists. - INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE = 16; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/ad_group_feed_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/ad_group_feed_error.proto deleted file mode 100644 index f4ac17d3c..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/ad_group_feed_error.proto +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupFeedErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing ad group feed errors. - -// Container for enum describing possible ad group feed errors. -message AdGroupFeedErrorEnum { - // Enum describing possible ad group feed errors. - enum AdGroupFeedError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // An active feed already exists for this ad group and place holder type. - FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE = 2; - - // The specified feed is removed. - CANNOT_CREATE_FOR_REMOVED_FEED = 3; - - // The AdGroupFeed already exists. UPDATE operation should be used to modify - // the existing AdGroupFeed. - ADGROUP_FEED_ALREADY_EXISTS = 4; - - // Cannot operate on removed AdGroupFeed. - CANNOT_OPERATE_ON_REMOVED_ADGROUP_FEED = 5; - - // Invalid placeholder type. - INVALID_PLACEHOLDER_TYPE = 6; - - // Feed mapping for this placeholder type does not exist. - MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE = 7; - - // Location AdGroupFeeds cannot be created unless there is a location - // CustomerFeed for the specified feed. - NO_EXISTING_LOCATION_CUSTOMER_FEED = 8; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/ad_parameter_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/ad_parameter_error.proto deleted file mode 100644 index e79fcae08..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/ad_parameter_error.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdParameterErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing ad parameter errors. - -// Container for enum describing possible ad parameter errors. -message AdParameterErrorEnum { - // Enum describing possible ad parameter errors. - enum AdParameterError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The ad group criterion must be a keyword criterion. - AD_GROUP_CRITERION_MUST_BE_KEYWORD = 2; - - // The insertion text is invalid. - INVALID_INSERTION_TEXT_FORMAT = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/ad_sharing_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/ad_sharing_error.proto deleted file mode 100644 index e1d088721..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/ad_sharing_error.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdSharingErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing ad sharing errors. - -// Container for enum describing possible ad sharing errors. -message AdSharingErrorEnum { - // Enum describing possible ad sharing errors. - enum AdSharingError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Error resulting in attempting to add an Ad to an AdGroup that already - // contains the Ad. - AD_GROUP_ALREADY_CONTAINS_AD = 2; - - // Ad is not compatible with the AdGroup it is being shared with. - INCOMPATIBLE_AD_UNDER_AD_GROUP = 3; - - // Cannot add AdGroupAd on inactive Ad. - CANNOT_SHARE_INACTIVE_AD = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/adx_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/adx_error.proto deleted file mode 100644 index 79073379c..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/adx_error.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdxErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing adx errors. - -// Container for enum describing possible adx errors. -message AdxErrorEnum { - // Enum describing possible adx errors. - enum AdxError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Attempt to use non-AdX feature by AdX customer. - UNSUPPORTED_FEATURE = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/asset_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/asset_error.proto deleted file mode 100644 index 53957aa9f..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/asset_error.proto +++ /dev/null @@ -1,154 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AssetErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing asset errors. - -// Container for enum describing possible asset errors. -message AssetErrorEnum { - // Enum describing possible asset errors. - enum AssetError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The customer is not is not on the allow-list for this asset type. - CUSTOMER_NOT_ON_ALLOWLIST_FOR_ASSET_TYPE = 13; - - // Assets are duplicated across operations. - DUPLICATE_ASSET = 3; - - // The asset name is duplicated, either across operations or with an - // existing asset. - DUPLICATE_ASSET_NAME = 4; - - // The Asset.asset_data oneof is empty. - ASSET_DATA_IS_MISSING = 5; - - // The asset has a name which is different from an existing duplicate that - // represents the same content. - CANNOT_MODIFY_ASSET_NAME = 6; - - // The field cannot be set for this asset type. - FIELD_INCOMPATIBLE_WITH_ASSET_TYPE = 7; - - // Call to action must come from the list of supported values. - INVALID_CALL_TO_ACTION_TEXT = 8; - - // A lead form asset is created with an invalid combination of input fields. - LEAD_FORM_INVALID_FIELDS_COMBINATION = 9; - - // Lead forms require that the Terms of Service have been agreed to before - // mutates can be executed. - LEAD_FORM_MISSING_AGREEMENT = 10; - - // Asset status is invalid in this operation. - INVALID_ASSET_STATUS = 11; - - // The field cannot be modified by this asset type. - FIELD_CANNOT_BE_MODIFIED_FOR_ASSET_TYPE = 12; - - // Ad schedules for the same asset cannot overlap. - SCHEDULES_CANNOT_OVERLAP = 14; - - // Cannot set both percent off and money amount off fields of promotion - // asset. - PROMOTION_CANNOT_SET_PERCENT_OFF_AND_MONEY_AMOUNT_OFF = 15; - - // Cannot set both promotion code and orders over amount fields of promotion - // asset. - PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT = 16; - - // The field has too many decimal places specified. - TOO_MANY_DECIMAL_PLACES_SPECIFIED = 17; - - // Duplicate assets across operations, which have identical Asset.asset_data - // oneof, cannot have different asset level fields for asset types which are - // deduped. - DUPLICATE_ASSETS_WITH_DIFFERENT_FIELD_VALUE = 18; - - // Carrier specific short number is not allowed. - CALL_CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED = 19; - - // Customer consent required for call recording Terms of Service. - CALL_CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED = 20; - - // The type of the specified phone number is not allowed. - CALL_DISALLOWED_NUMBER_TYPE = 21; - - // If the default call_conversion_action is not used, the customer must have - // a ConversionAction with the same id and the ConversionAction must be call - // conversion type. - CALL_INVALID_CONVERSION_ACTION = 22; - - // The country code of the phone number is invalid. - CALL_INVALID_COUNTRY_CODE = 23; - - // The format of the phone number is incorrect. - CALL_INVALID_DOMESTIC_PHONE_NUMBER_FORMAT = 24; - - // The input phone number is not a valid phone number. - CALL_INVALID_PHONE_NUMBER = 25; - - // The phone number is not supported for country. - CALL_PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY = 26; - - // Premium rate phone number is not allowed. - CALL_PREMIUM_RATE_NUMBER_NOT_ALLOWED = 27; - - // Vanity phone number is not allowed. - CALL_VANITY_PHONE_NUMBER_NOT_ALLOWED = 28; - - // PriceOffering cannot have the same value for header and description. - PRICE_HEADER_SAME_AS_DESCRIPTION = 29; - - // AppId is invalid. - MOBILE_APP_INVALID_APP_ID = 30; - - // Invalid App download URL in final URLs. - MOBILE_APP_INVALID_FINAL_URL_FOR_APP_DOWNLOAD_URL = 31; - - // Asset name is required for the asset type. - NAME_REQUIRED_FOR_ASSET_TYPE = 32; - - // Legacy qualifying questions cannot be in the same Lead Form as - // custom questions. - LEAD_FORM_LEGACY_QUALIFYING_QUESTIONS_DISALLOWED = 33; - - // Unique name is required for this asset type. - NAME_CONFLICT_FOR_ASSET_TYPE = 34; - - // Cannot modify asset source. - CANNOT_MODIFY_ASSET_SOURCE = 35; - - // User can not modify the automatically created asset. - CANNOT_MODIFY_AUTOMATICALLY_CREATED_ASSET = 36; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/asset_group_asset_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/asset_group_asset_error.proto deleted file mode 100644 index f77552a14..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/asset_group_asset_error.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupAssetErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing asset group asset errors. - -// Container for enum describing possible asset group asset errors. -message AssetGroupAssetErrorEnum { - // Enum describing possible asset group asset errors. - enum AssetGroupAssetError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Cannot add duplicated asset group asset. - DUPLICATE_RESOURCE = 2; - - // Expandable tags are not allowed in description assets. - EXPANDABLE_TAGS_NOT_ALLOWED_IN_DESCRIPTION = 3; - - // Ad customizers are not supported in assetgroup's text assets. - AD_CUSTOMIZER_NOT_SUPPORTED = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/asset_group_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/asset_group_error.proto deleted file mode 100644 index eb71daf88..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/asset_group_error.proto +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing asset group errors. - -// Container for enum describing possible asset group errors. -message AssetGroupErrorEnum { - // Enum describing possible asset group errors. - enum AssetGroupError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Each asset group in a single campaign must have a unique name. - DUPLICATE_NAME = 2; - - // Cannot add asset group for the campaign type. - CANNOT_ADD_ASSET_GROUP_FOR_CAMPAIGN_TYPE = 3; - - // Not enough headline asset for a valid asset group. - NOT_ENOUGH_HEADLINE_ASSET = 4; - - // Not enough long headline asset for a valid asset group. - NOT_ENOUGH_LONG_HEADLINE_ASSET = 5; - - // Not enough description headline asset for a valid asset group. - NOT_ENOUGH_DESCRIPTION_ASSET = 6; - - // Not enough business name asset for a valid asset group. - NOT_ENOUGH_BUSINESS_NAME_ASSET = 7; - - // Not enough marketing image asset for a valid asset group. - NOT_ENOUGH_MARKETING_IMAGE_ASSET = 8; - - // Not enough square marketing image asset for a valid asset group. - NOT_ENOUGH_SQUARE_MARKETING_IMAGE_ASSET = 9; - - // Not enough logo asset for a valid asset group. - NOT_ENOUGH_LOGO_ASSET = 10; - - // Final url and shopping merchant url does not have the same domain. - FINAL_URL_SHOPPING_MERCHANT_HOME_PAGE_URL_DOMAINS_DIFFER = 11; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/asset_group_listing_group_filter_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/asset_group_listing_group_filter_error.proto deleted file mode 100644 index c54f7ee43..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/asset_group_listing_group_filter_error.proto +++ /dev/null @@ -1,83 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupListingGroupFilterErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing asset group asset errors. - -// Container for enum describing possible asset group listing group filter -// errors. -message AssetGroupListingGroupFilterErrorEnum { - // Enum describing possible asset group listing group filter errors. - enum AssetGroupListingGroupFilterError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Listing group tree is too deep. - TREE_TOO_DEEP = 2; - - // Listing Group UNIT node cannot have children. - UNIT_CANNOT_HAVE_CHILDREN = 3; - - // Listing Group SUBDIVISION node must have everything else child. - SUBDIVISION_MUST_HAVE_EVERYTHING_ELSE_CHILD = 4; - - // Dimension type of Listing Group must be the same as that of its siblings. - DIFFERENT_DIMENSION_TYPE_BETWEEN_SIBLINGS = 5; - - // The sibling Listing Groups target exactly the same dimension value. - SAME_DIMENSION_VALUE_BETWEEN_SIBLINGS = 6; - - // The dimension type is the same as one of the ancestor Listing Groups. - SAME_DIMENSION_TYPE_BETWEEN_ANCESTORS = 7; - - // Each Listing Group tree must have a single root. - MULTIPLE_ROOTS = 8; - - // Invalid Listing Group dimension value. - INVALID_DIMENSION_VALUE = 9; - - // Hierarchical dimension must refine a dimension of the same type. - MUST_REFINE_HIERARCHICAL_PARENT_TYPE = 10; - - // Invalid Product Bidding Category. - INVALID_PRODUCT_BIDDING_CATEGORY = 11; - - // Modifying case value is allowed only while updating the entire subtree at - // the same time. - CHANGING_CASE_VALUE_WITH_CHILDREN = 12; - - // Subdivision node has children which must be removed first. - SUBDIVISION_HAS_CHILDREN = 13; - - // Dimension can't subdivide everything-else node in its own hierarchy. - CANNOT_REFINE_HIERARCHICAL_EVERYTHING_ELSE = 14; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/asset_link_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/asset_link_error.proto deleted file mode 100644 index 2a5d9544e..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/asset_link_error.proto +++ /dev/null @@ -1,119 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AssetLinkErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing asset link errors. - -// Container for enum describing possible asset link errors. -message AssetLinkErrorEnum { - // Enum describing possible asset link errors. - enum AssetLinkError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Pinning is not supported for the given asset link field. - PINNING_UNSUPPORTED = 2; - - // The given field type is not supported to be added directly through asset - // links. - UNSUPPORTED_FIELD_TYPE = 3; - - // The given asset's type and the specified field type are incompatible. - FIELD_TYPE_INCOMPATIBLE_WITH_ASSET_TYPE = 4; - - // The specified field type is incompatible with the given campaign type. - FIELD_TYPE_INCOMPATIBLE_WITH_CAMPAIGN_TYPE = 5; - - // The campaign advertising channel type cannot be associated with the given - // asset due to channel-based restrictions on the asset's fields. - INCOMPATIBLE_ADVERTISING_CHANNEL_TYPE = 6; - - // The image asset provided is not within the dimension constraints - // specified for the submitted asset field. - IMAGE_NOT_WITHIN_SPECIFIED_DIMENSION_RANGE = 7; - - // The pinned field is not valid for the submitted asset field. - INVALID_PINNED_FIELD = 8; - - // The media bundle asset provided is too large for the submitted asset - // field. - MEDIA_BUNDLE_ASSET_FILE_SIZE_TOO_LARGE = 9; - - // Not enough assets are available for use with other fields since other - // assets are pinned to specific fields. - NOT_ENOUGH_AVAILABLE_ASSET_LINKS_FOR_VALID_COMBINATION = 10; - - // Not enough assets with fallback are available. When validating the - // minimum number of assets, assets without fallback (for example, assets - // that contain location tag without default value "{LOCATION(City)}") will - // not be counted. - NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK = 11; - - // This is a combination of the - // NOT_ENOUGH_AVAILABLE_ASSET_LINKS_FOR_VALID_COMBINATION and - // NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK errors. Not enough assets - // with fallback are available since some assets are pinned. - NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK_FOR_VALID_COMBINATION = 12; - - // The YouTube video referenced in the provided asset has been removed. - YOUTUBE_VIDEO_REMOVED = 13; - - // The YouTube video referenced in the provided asset is too long for the - // field submitted. - YOUTUBE_VIDEO_TOO_LONG = 14; - - // The YouTube video referenced in the provided asset is too short for the - // field submitted. - YOUTUBE_VIDEO_TOO_SHORT = 15; - - // The specified field type is excluded for given campaign or ad group. - EXCLUDED_PARENT_FIELD_TYPE = 16; - - // The status is invalid for the operation specified. - INVALID_STATUS = 17; - - // The YouTube video referenced in the provided asset has unknown duration. - // This might be the case for a livestream video or a video being currently - // uploaded to YouTube. In both cases, the video duration should eventually - // get resolved. - YOUTUBE_VIDEO_DURATION_NOT_DEFINED = 18; - - // User cannot create automatically created links. - CANNOT_CREATE_AUTOMATICALLY_CREATED_LINKS = 19; - - // Advertiser links cannot link to automatically created asset. - CANNOT_LINK_TO_AUTOMATICALLY_CREATED_ASSET = 20; - - // Automatically created links cannot be changed into adveritser links or - // the reverse. - CANNOT_MODIFY_ASSET_LINK_SOURCE = 21; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/asset_set_asset_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/asset_set_asset_error.proto deleted file mode 100644 index 190239606..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/asset_set_asset_error.proto +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetAssetErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing asset set asset errors. - -// Container for enum describing possible asset set asset errors. -message AssetSetAssetErrorEnum { - // Enum describing possible asset set asset errors. - enum AssetSetAssetError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The asset type is not eligible to be linked to the specific type of asset - // set. - INVALID_ASSET_TYPE = 2; - - // The asset set type is not eligible to contain the specified type of - // assets. - INVALID_ASSET_SET_TYPE = 3; - - // The asset contains duplicate external key with another asset in the asset - // set. - DUPLICATE_EXTERNAL_KEY = 4; - - // When attaching a Location typed Asset to a LocationGroup typed AssetSet, - // the AssetSetAsset linkage between the parent LocationSync AssetSet and - // the Asset doesn't exist. - PARENT_LINKAGE_DOES_NOT_EXIST = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/asset_set_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/asset_set_error.proto deleted file mode 100644 index 645837ae6..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/asset_set_error.proto +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing asset set errors. - -// Container for enum describing possible asset set errors. -message AssetSetErrorEnum { - // Enum describing possible asset set errors. - enum AssetSetError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The asset set name matches that of another enabled asset set. - DUPLICATE_ASSET_SET_NAME = 2; - - // The type of AssetSet.asset_set_source does not match the type of - // AssetSet.location_set.source in its parent AssetSet. - INVALID_PARENT_ASSET_SET_TYPE = 3; - - // The asset set source doesn't match its parent AssetSet's data. - ASSET_SET_SOURCE_INCOMPATIBLE_WITH_PARENT_ASSET_SET = 4; - - // This AssetSet type cannot be linked to CustomerAssetSet. - ASSET_SET_TYPE_CANNOT_BE_LINKED_TO_CUSTOMER = 5; - - // The chain id(s) in ChainSet of a LOCATION_SYNC typed AssetSet is invalid. - INVALID_CHAIN_IDS = 6; - - // The relationship type in ChainSet of a LOCATION_SYNC typed AssetSet is - // not supported. - LOCATION_SYNC_ASSET_SET_DOES_NOT_SUPPORT_RELATIONSHIP_TYPE = 7; - - // There is more than one enabled LocationSync typed AssetSet under one - // customer. - NOT_UNIQUE_ENABLED_LOCATION_SYNC_TYPED_ASSET_SET = 8; - - // The place id(s) in a LocationSync typed AssetSet is invalid and can't be - // decoded. - INVALID_PLACE_IDS = 9; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/asset_set_link_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/asset_set_link_error.proto deleted file mode 100644 index 252a2b754..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/asset_set_link_error.proto +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetLinkErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing asset set link errors. - -// Container for enum describing possible asset set link errors. -message AssetSetLinkErrorEnum { - // Enum describing possible asset set link errors. - enum AssetSetLinkError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Advertising channel type cannot be attached to the asset set due to - // channel-based restrictions. - INCOMPATIBLE_ADVERTISING_CHANNEL_TYPE = 2; - - // For this asset set type, only one campaign to feed linkage is allowed. - DUPLICATE_FEED_LINK = 3; - - // The asset set type and campaign type are incompatible. - INCOMPATIBLE_ASSET_SET_TYPE_WITH_CAMPAIGN_TYPE = 4; - - // Cannot link duplicate asset sets to the same campaign. - DUPLICATE_ASSET_SET_LINK = 5; - - // Cannot remove the asset set link. If a campaign is linked with only one - // asset set and you attempt to unlink them, this error will be triggered. - ASSET_SET_LINK_CANNOT_BE_REMOVED = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/audience_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/audience_error.proto deleted file mode 100644 index ddaa2ad6c..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/audience_error.proto +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AudienceErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing audience errors. - -// Container for enum describing possible audience errors. -message AudienceErrorEnum { - // Enum describing possible audience errors. - enum AudienceError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // An audience with this name already exists. - NAME_ALREADY_IN_USE = 2; - - // A dimension within the audience definition is not valid. - DIMENSION_INVALID = 3; - - // One of the audience segment added is not found. - AUDIENCE_SEGMENT_NOT_FOUND = 4; - - // One of the audience segment type is not supported. - AUDIENCE_SEGMENT_TYPE_NOT_SUPPORTED = 5; - - // The same segment already exists in this audience. - DUPLICATE_AUDIENCE_SEGMENT = 6; - - // Audience can't have more than allowed number segments. - TOO_MANY_SEGMENTS = 7; - - // Audience can't have multiple dimensions of same type. - TOO_MANY_DIMENSIONS_OF_SAME_TYPE = 8; - - // The audience cannot be removed, because it is currently used in an - // ad group criterion or asset group signal in an (enabled or paused) - // ad group or campaign. - IN_USE = 9; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/audience_insights_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/audience_insights_error.proto deleted file mode 100644 index 543f23d9d..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/audience_insights_error.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AudienceInsightsErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing errors generated from AudienceInsightsService. - -// Container for enum describing possible errors returned from -// the AudienceInsightsService. -message AudienceInsightsErrorEnum { - // Enum describing possible errors from AudienceInsightsService. - enum AudienceInsightsError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The dimensions cannot be used with topic audience combinations. - DIMENSION_INCOMPATIBLE_WITH_TOPIC_AUDIENCE_COMBINATIONS = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/authentication_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/authentication_error.proto deleted file mode 100644 index 70adcce61..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/authentication_error.proto +++ /dev/null @@ -1,101 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AuthenticationErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing authentication errors. - -// Container for enum describing possible authentication errors. -message AuthenticationErrorEnum { - // Enum describing possible authentication errors. - enum AuthenticationError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Authentication of the request failed. - AUTHENTICATION_ERROR = 2; - - // Client customer ID is not a number. - CLIENT_CUSTOMER_ID_INVALID = 5; - - // No customer found for the provided customer ID. - CUSTOMER_NOT_FOUND = 8; - - // Client's Google account is deleted. - GOOGLE_ACCOUNT_DELETED = 9; - - // Google account login token in the cookie is invalid. - GOOGLE_ACCOUNT_COOKIE_INVALID = 10; - - // A problem occurred during Google account authentication. - GOOGLE_ACCOUNT_AUTHENTICATION_FAILED = 25; - - // The user in the Google account login token does not match the user ID in - // the cookie. - GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH = 12; - - // Login cookie is required for authentication. - LOGIN_COOKIE_REQUIRED = 13; - - // User in the cookie is not a valid Ads user. - NOT_ADS_USER = 14; - - // OAuth token in the header is not valid. - OAUTH_TOKEN_INVALID = 15; - - // OAuth token in the header has expired. - OAUTH_TOKEN_EXPIRED = 16; - - // OAuth token in the header has been disabled. - OAUTH_TOKEN_DISABLED = 17; - - // OAuth token in the header has been revoked. - OAUTH_TOKEN_REVOKED = 18; - - // OAuth token HTTP header is malformed. - OAUTH_TOKEN_HEADER_INVALID = 19; - - // Login cookie is not valid. - LOGIN_COOKIE_INVALID = 20; - - // User ID in the header is not a valid ID. - USER_ID_INVALID = 22; - - // An account administrator changed this account's authentication settings. - // To access this Google Ads account, enable 2-Step Verification in your - // Google account at https://www.google.com/landing/2step. - TWO_STEP_VERIFICATION_NOT_ENROLLED = 23; - - // An account administrator changed this account's authentication settings. - // To access this Google Ads account, enable Advanced Protection in your - // Google account at https://landing.google.com/advancedprotection. - ADVANCED_PROTECTION_NOT_ENROLLED = 24; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/authorization_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/authorization_error.proto deleted file mode 100644 index 5ea43ddc4..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/authorization_error.proto +++ /dev/null @@ -1,93 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AuthorizationErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing authorization errors. - -// Container for enum describing possible authorization errors. -message AuthorizationErrorEnum { - // Enum describing possible authorization errors. - enum AuthorizationError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // User doesn't have permission to access customer. Note: If you're - // accessing a client customer, the manager's customer ID must be set in the - // `login-customer-id` header. Learn more at - // https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid - USER_PERMISSION_DENIED = 2; - - // The developer token is not on the allow-list. - DEVELOPER_TOKEN_NOT_ON_ALLOWLIST = 13; - - // The developer token is not allowed with the project sent in the request. - DEVELOPER_TOKEN_PROHIBITED = 4; - - // The Google Cloud project sent in the request does not have permission to - // access the api. - PROJECT_DISABLED = 5; - - // Authorization of the client failed. - AUTHORIZATION_ERROR = 6; - - // The user does not have permission to perform this action - // (for example, ADD, UPDATE, REMOVE) on the resource or call a method. - ACTION_NOT_PERMITTED = 7; - - // Signup not complete. - INCOMPLETE_SIGNUP = 8; - - // The customer can't be used because it isn't enabled. - CUSTOMER_NOT_ENABLED = 24; - - // The developer must sign the terms of service. They can be found here: - // ads.google.com/aw/apicenter - MISSING_TOS = 9; - - // The developer token is not approved. Non-approved developer tokens can - // only be used with test accounts. - DEVELOPER_TOKEN_NOT_APPROVED = 10; - - // The login customer specified does not have access to the account - // specified, so the request is invalid. - INVALID_LOGIN_CUSTOMER_ID_SERVING_CUSTOMER_ID_COMBINATION = 11; - - // The developer specified does not have access to the service. - SERVICE_ACCESS_DENIED = 12; - - // The customer (or login customer) isn't in Google Ads. It belongs to - // another ads system. - ACCESS_DENIED_FOR_ACCOUNT_TYPE = 25; - - // The developer does not have access to the metrics queried. - METRIC_ACCESS_DENIED = 26; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/batch_job_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/batch_job_error.proto deleted file mode 100644 index 10bce15c0..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/batch_job_error.proto +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "BatchJobErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing batch job errors. - -// Container for enum describing possible batch job errors. -message BatchJobErrorEnum { - // Enum describing possible request errors. - enum BatchJobError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The batch job cannot add more operations or run after it has started - // running. - CANNOT_MODIFY_JOB_AFTER_JOB_STARTS_RUNNING = 2; - - // The operations for an AddBatchJobOperations request were empty. - EMPTY_OPERATIONS = 3; - - // The sequence token for an AddBatchJobOperations request was invalid. - INVALID_SEQUENCE_TOKEN = 4; - - // Batch job results can only be retrieved once the job is finished. - RESULTS_NOT_READY = 5; - - // The page size for ListBatchJobResults was invalid. - INVALID_PAGE_SIZE = 6; - - // The batch job cannot be removed because it has started running. - CAN_ONLY_REMOVE_PENDING_JOB = 7; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/bidding_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/bidding_error.proto deleted file mode 100644 index 8973eb1f9..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/bidding_error.proto +++ /dev/null @@ -1,131 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "BiddingErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing bidding errors. - -// Container for enum describing possible bidding errors. -message BiddingErrorEnum { - // Enum describing possible bidding errors. - enum BiddingError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Cannot transition to new bidding strategy. - BIDDING_STRATEGY_TRANSITION_NOT_ALLOWED = 2; - - // Cannot attach bidding strategy to campaign. - CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN = 7; - - // Bidding strategy is not supported or cannot be used as anonymous. - INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE = 10; - - // The type does not match the named strategy's type. - INVALID_BIDDING_STRATEGY_TYPE = 14; - - // The bid is invalid. - INVALID_BID = 17; - - // Bidding strategy is not available for the account type. - BIDDING_STRATEGY_NOT_AVAILABLE_FOR_ACCOUNT_TYPE = 18; - - // Conversion tracking is not enabled in the campaign that has value-based - // bidding transitions. - CONVERSION_TRACKING_NOT_ENABLED = 19; - - // Not enough conversions tracked for value-based bidding transitions. - NOT_ENOUGH_CONVERSIONS = 20; - - // Campaign can not be created with given bidding strategy. It can be - // transitioned to the strategy, once eligible. - CANNOT_CREATE_CAMPAIGN_WITH_BIDDING_STRATEGY = 21; - - // Cannot target content network only as campaign uses Page One Promoted - // bidding strategy. - CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CAMPAIGN_LEVEL_POP_BIDDING_STRATEGY = 23; - - // Budget Optimizer and Target Spend bidding strategies are not supported - // for campaigns with AdSchedule targeting. - BIDDING_STRATEGY_NOT_SUPPORTED_WITH_AD_SCHEDULE = 24; - - // Pay per conversion is not available to all the customer, only few - // customers on the allow-list can use this. - PAY_PER_CONVERSION_NOT_AVAILABLE_FOR_CUSTOMER = 25; - - // Pay per conversion is not allowed with Target CPA. - PAY_PER_CONVERSION_NOT_ALLOWED_WITH_TARGET_CPA = 26; - - // Cannot set bidding strategy to Manual CPM for search network only - // campaigns. - BIDDING_STRATEGY_NOT_ALLOWED_FOR_SEARCH_ONLY_CAMPAIGNS = 27; - - // The bidding strategy is not supported for use in drafts or experiments. - BIDDING_STRATEGY_NOT_SUPPORTED_IN_DRAFTS_OR_EXPERIMENTS = 28; - - // Bidding strategy type does not support product type ad group criterion. - BIDDING_STRATEGY_TYPE_DOES_NOT_SUPPORT_PRODUCT_TYPE_ADGROUP_CRITERION = 29; - - // Bid amount is too small. - BID_TOO_SMALL = 30; - - // Bid amount is too big. - BID_TOO_BIG = 31; - - // Bid has too many fractional digit precision. - BID_TOO_MANY_FRACTIONAL_DIGITS = 32; - - // Invalid domain name specified. - INVALID_DOMAIN_NAME = 33; - - // The field is not compatible with the payment mode. - NOT_COMPATIBLE_WITH_PAYMENT_MODE = 34; - - // The field is not compatible with the budget type. - NOT_COMPATIBLE_WITH_BUDGET_TYPE = 35; - - // The field is not compatible with the bidding strategy type. - NOT_COMPATIBLE_WITH_BIDDING_STRATEGY_TYPE = 36; - - // Bidding strategy type is incompatible with shared budget. - BIDDING_STRATEGY_TYPE_INCOMPATIBLE_WITH_SHARED_BUDGET = 37; - - // The attached bidding strategy and budget must be aligned with each other - // if alignment is specified on either entity. - BIDDING_STRATEGY_AND_BUDGET_MUST_BE_ALIGNED = 38; - - // The attached bidding strategy and budget must be attached to the same - // campaigns to become aligned. - BIDDING_STRATEGY_AND_BUDGET_MUST_BE_ATTACHED_TO_THE_SAME_CAMPAIGNS_TO_ALIGN = 39; - - // The aligned bidding strategy and budget must be removed at the same time. - BIDDING_STRATEGY_AND_BUDGET_MUST_BE_REMOVED_TOGETHER = 40; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/bidding_strategy_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/bidding_strategy_error.proto deleted file mode 100644 index 5ef1506b2..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/bidding_strategy_error.proto +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "BiddingStrategyErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing bidding strategy errors. - -// Container for enum describing possible bidding strategy errors. -message BiddingStrategyErrorEnum { - // Enum describing possible bidding strategy errors. - enum BiddingStrategyError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Each bidding strategy must have a unique name. - DUPLICATE_NAME = 2; - - // Bidding strategy type is immutable. - CANNOT_CHANGE_BIDDING_STRATEGY_TYPE = 3; - - // Only bidding strategies not linked to campaigns, adgroups or adgroup - // criteria can be removed. - CANNOT_REMOVE_ASSOCIATED_STRATEGY = 4; - - // The specified bidding strategy is not supported. - BIDDING_STRATEGY_NOT_SUPPORTED = 5; - - // The bidding strategy is incompatible with the campaign's bidding - // strategy goal type. - INCOMPATIBLE_BIDDING_STRATEGY_AND_BIDDING_STRATEGY_GOAL_TYPE = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/billing_setup_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/billing_setup_error.proto deleted file mode 100644 index c168382c6..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/billing_setup_error.proto +++ /dev/null @@ -1,110 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "BillingSetupErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing billing setup errors. - -// Container for enum describing possible billing setup errors. -message BillingSetupErrorEnum { - // Enum describing possible billing setup errors. - enum BillingSetupError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Cannot specify both an existing payments account and a new payments - // account when setting up billing. - CANNOT_USE_EXISTING_AND_NEW_ACCOUNT = 2; - - // Cannot cancel an approved billing setup whose start time has passed. - CANNOT_REMOVE_STARTED_BILLING_SETUP = 3; - - // Cannot perform a Change of Bill-To (CBT) to the same payments account. - CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT = 4; - - // Billing setups can only be used by customers with ENABLED or DRAFT - // status. - BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS = 5; - - // Billing setups must either include a correctly formatted existing - // payments account id, or a non-empty new payments account name. - INVALID_PAYMENTS_ACCOUNT = 6; - - // Only billable and third-party customers can create billing setups. - BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY = 7; - - // Billing setup creations can only use NOW for start time type. - INVALID_START_TIME_TYPE = 8; - - // Billing setups can only be created for a third-party customer if they do - // not already have a setup. - THIRD_PARTY_ALREADY_HAS_BILLING = 9; - - // Billing setups cannot be created if there is already a pending billing in - // progress. - BILLING_SETUP_IN_PROGRESS = 10; - - // Billing setups can only be created by customers who have permission to - // setup billings. Users can contact a representative for help setting up - // permissions. - NO_SIGNUP_PERMISSION = 11; - - // Billing setups cannot be created if there is already a future-approved - // billing. - CHANGE_OF_BILL_TO_IN_PROGRESS = 12; - - // Requested payments profile not found. - PAYMENTS_PROFILE_NOT_FOUND = 13; - - // Requested payments account not found. - PAYMENTS_ACCOUNT_NOT_FOUND = 14; - - // Billing setup creation failed because the payments profile is ineligible. - PAYMENTS_PROFILE_INELIGIBLE = 15; - - // Billing setup creation failed because the payments account is ineligible. - PAYMENTS_ACCOUNT_INELIGIBLE = 16; - - // Billing setup creation failed because the payments profile needs internal - // approval. - CUSTOMER_NEEDS_INTERNAL_APPROVAL = 17; - - // Payments account has different currency code than the current customer - // and hence cannot be used to setup billing. - PAYMENTS_ACCOUNT_INELIGIBLE_CURRENCY_CODE_MISMATCH = 19; - - // A start time in the future cannot be used because there is currently no - // active billing setup for this customer. - FUTURE_START_TIME_PROHIBITED = 20; - - // The payments account has maximum number of billing setups. - TOO_MANY_BILLING_SETUPS_FOR_PAYMENTS_ACCOUNT = 21; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/campaign_budget_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/campaign_budget_error.proto deleted file mode 100644 index ba03f8974..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/campaign_budget_error.proto +++ /dev/null @@ -1,98 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CampaignBudgetErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing campaign budget errors. - -// Container for enum describing possible campaign budget errors. -message CampaignBudgetErrorEnum { - // Enum describing possible campaign budget errors. - enum CampaignBudgetError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The campaign budget cannot be shared. - CAMPAIGN_BUDGET_CANNOT_BE_SHARED = 17; - - // The requested campaign budget no longer exists. - CAMPAIGN_BUDGET_REMOVED = 2; - - // The campaign budget is associated with at least one campaign, and so the - // campaign budget cannot be removed. - CAMPAIGN_BUDGET_IN_USE = 3; - - // Customer is not on the allow-list for this campaign budget period. - CAMPAIGN_BUDGET_PERIOD_NOT_AVAILABLE = 4; - - // This field is not mutable on implicitly shared campaign budgets - CANNOT_MODIFY_FIELD_OF_IMPLICITLY_SHARED_CAMPAIGN_BUDGET = 6; - - // Cannot change explicitly shared campaign budgets back to implicitly - // shared ones. - CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_IMPLICITLY_SHARED = 7; - - // An implicit campaign budget without a name cannot be changed to - // explicitly shared campaign budget. - CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED_WITHOUT_NAME = 8; - - // Cannot change an implicitly shared campaign budget to an explicitly - // shared one. - CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED = 9; - - // Only explicitly shared campaign budgets can be used with multiple - // campaigns. - CANNOT_USE_IMPLICITLY_SHARED_CAMPAIGN_BUDGET_WITH_MULTIPLE_CAMPAIGNS = 10; - - // A campaign budget with this name already exists. - DUPLICATE_NAME = 11; - - // A money amount was not in the expected currency. - MONEY_AMOUNT_IN_WRONG_CURRENCY = 12; - - // A money amount was less than the minimum CPC for currency. - MONEY_AMOUNT_LESS_THAN_CURRENCY_MINIMUM_CPC = 13; - - // A money amount was greater than the maximum allowed. - MONEY_AMOUNT_TOO_LARGE = 14; - - // A money amount was negative. - NEGATIVE_MONEY_AMOUNT = 15; - - // A money amount was not a multiple of a minimum unit. - NON_MULTIPLE_OF_MINIMUM_CURRENCY_UNIT = 16; - - // Total budget amount must be unset when BudgetPeriod is DAILY. - TOTAL_BUDGET_AMOUNT_MUST_BE_UNSET_FOR_BUDGET_PERIOD_DAILY = 18; - - // The period of the budget is not allowed. - INVALID_PERIOD = 19; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/campaign_conversion_goal_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/campaign_conversion_goal_error.proto deleted file mode 100644 index 856765584..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/campaign_conversion_goal_error.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CampaignConversionGoalErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing campaign conversion goal errors. - -// Container for enum describing possible campaign conversion goal errors. -message CampaignConversionGoalErrorEnum { - // Enum describing possible campaign conversion goal errors. - enum CampaignConversionGoalError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Campaign is managed by Search Ads 360 but uses Unified Goal. - CANNOT_USE_CAMPAIGN_GOAL_FOR_SEARCH_ADS_360_MANAGED_CAMPAIGN = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/campaign_criterion_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/campaign_criterion_error.proto deleted file mode 100644 index 113202539..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/campaign_criterion_error.proto +++ /dev/null @@ -1,116 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CampaignCriterionErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing campaign criterion errors. - -// Container for enum describing possible campaign criterion errors. -message CampaignCriterionErrorEnum { - // Enum describing possible campaign criterion errors. - enum CampaignCriterionError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Concrete type of criterion (keyword v.s. placement) is required for - // CREATE and UPDATE operations. - CONCRETE_TYPE_REQUIRED = 2; - - // Invalid placement URL. - INVALID_PLACEMENT_URL = 3; - - // Criteria type can not be excluded for the campaign by the customer. like - // AOL account type cannot target site type criteria - CANNOT_EXCLUDE_CRITERIA_TYPE = 4; - - // Cannot set the campaign criterion status for this criteria type. - CANNOT_SET_STATUS_FOR_CRITERIA_TYPE = 5; - - // Cannot set the campaign criterion status for an excluded criteria. - CANNOT_SET_STATUS_FOR_EXCLUDED_CRITERIA = 6; - - // Cannot target and exclude the same criterion. - CANNOT_TARGET_AND_EXCLUDE = 7; - - // The mutate contained too many operations. - TOO_MANY_OPERATIONS = 8; - - // This operator cannot be applied to a criterion of this type. - OPERATOR_NOT_SUPPORTED_FOR_CRITERION_TYPE = 9; - - // The Shopping campaign sales country is not supported for - // ProductSalesChannel targeting. - SHOPPING_CAMPAIGN_SALES_COUNTRY_NOT_SUPPORTED_FOR_SALES_CHANNEL = 10; - - // The existing field can't be updated with CREATE operation. It can be - // updated with UPDATE operation only. - CANNOT_ADD_EXISTING_FIELD = 11; - - // Negative criteria are immutable, so updates are not allowed. - CANNOT_UPDATE_NEGATIVE_CRITERION = 12; - - // Only free form names are allowed for negative Smart campaign keyword - // theme. - CANNOT_SET_NEGATIVE_KEYWORD_THEME_CONSTANT_CRITERION = 13; - - // Invalid Smart campaign keyword theme constant criterion. - INVALID_KEYWORD_THEME_CONSTANT = 14; - - // A Smart campaign keyword theme constant or free-form Smart campaign - // keyword theme is required. - MISSING_KEYWORD_THEME_CONSTANT_OR_FREE_FORM_KEYWORD_THEME = 15; - - // A Smart campaign may not target proximity and location criteria - // simultaneously. - CANNOT_TARGET_BOTH_PROXIMITY_AND_LOCATION_CRITERIA_FOR_SMART_CAMPAIGN = 16; - - // A Smart campaign may not target multiple proximity criteria. - CANNOT_TARGET_MULTIPLE_PROXIMITY_CRITERIA_FOR_SMART_CAMPAIGN = 17; - - // Location is not launched for Local Services Campaigns. - LOCATION_NOT_LAUNCHED_FOR_LOCAL_SERVICES_CAMPAIGN = 18; - - // A Local Services campaign may not target certain criteria types. - LOCATION_INVALID_FOR_LOCAL_SERVICES_CAMPAIGN = 19; - - // Country locations are not supported for Local Services campaign. - CANNOT_TARGET_COUNTRY_FOR_LOCAL_SERVICES_CAMPAIGN = 20; - - // Location is not within the home country of Local Services campaign. - LOCATION_NOT_IN_HOME_COUNTRY_FOR_LOCAL_SERVICES_CAMPAIGN = 21; - - // Local Services profile does not exist for a particular Local Services - // campaign. - CANNOT_ADD_OR_REMOVE_LOCATION_FOR_LOCAL_SERVICES_CAMPAIGN = 22; - - // Local Services campaign must have at least one target location. - AT_LEAST_ONE_POSITIVE_LOCATION_REQUIRED_FOR_LOCAL_SERVICES_CAMPAIGN = 23; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/campaign_customizer_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/campaign_customizer_error.proto deleted file mode 100644 index 6ca698b18..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/campaign_customizer_error.proto +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CampaignCustomizerErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing campaign customizer errors. - -// Container for enum describing possible campaign customizer errors. -message CampaignCustomizerErrorEnum { - // Enum describing possible campaign customizer errors. - enum CampaignCustomizerError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/campaign_draft_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/campaign_draft_error.proto deleted file mode 100644 index 45e2f6761..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/campaign_draft_error.proto +++ /dev/null @@ -1,77 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CampaignDraftErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing campaign draft errors. - -// Container for enum describing possible campaign draft errors. -message CampaignDraftErrorEnum { - // Enum describing possible campaign draft errors. - enum CampaignDraftError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // A draft with this name already exists for this campaign. - DUPLICATE_DRAFT_NAME = 2; - - // The draft is removed and cannot be transitioned to another status. - INVALID_STATUS_TRANSITION_FROM_REMOVED = 3; - - // The draft has been promoted and cannot be transitioned to the specified - // status. - INVALID_STATUS_TRANSITION_FROM_PROMOTED = 4; - - // The draft has failed to be promoted and cannot be transitioned to the - // specified status. - INVALID_STATUS_TRANSITION_FROM_PROMOTE_FAILED = 5; - - // This customer is not allowed to create drafts. - CUSTOMER_CANNOT_CREATE_DRAFT = 6; - - // This campaign is not allowed to create drafts. - CAMPAIGN_CANNOT_CREATE_DRAFT = 7; - - // This modification cannot be made on a draft. - INVALID_DRAFT_CHANGE = 8; - - // The draft cannot be transitioned to the specified status from its - // current status. - INVALID_STATUS_TRANSITION = 9; - - // The campaign has reached the maximum number of drafts that can be created - // for a campaign throughout its lifetime. No additional drafts can be - // created for this campaign. Removed drafts also count towards this limit. - MAX_NUMBER_OF_DRAFTS_PER_CAMPAIGN_REACHED = 10; - - // ListAsyncErrors was called without first promoting the draft. - LIST_ERRORS_FOR_PROMOTED_DRAFT_ONLY = 11; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/campaign_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/campaign_error.proto deleted file mode 100644 index db7196895..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/campaign_error.proto +++ /dev/null @@ -1,211 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CampaignErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing campaign errors. - -// Container for enum describing possible campaign errors. -message CampaignErrorEnum { - // Enum describing possible campaign errors. - enum CampaignError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Cannot target content network. - CANNOT_TARGET_CONTENT_NETWORK = 3; - - // Cannot target search network. - CANNOT_TARGET_SEARCH_NETWORK = 4; - - // Cannot cover search network without google search network. - CANNOT_TARGET_SEARCH_NETWORK_WITHOUT_GOOGLE_SEARCH = 5; - - // Cannot target Google Search network for a CPM campaign. - CANNOT_TARGET_GOOGLE_SEARCH_FOR_CPM_CAMPAIGN = 6; - - // Must target at least one network. - CAMPAIGN_MUST_TARGET_AT_LEAST_ONE_NETWORK = 7; - - // Only some Google partners are allowed to target partner search network. - CANNOT_TARGET_PARTNER_SEARCH_NETWORK = 8; - - // Cannot target content network only as campaign has criteria-level bidding - // strategy. - CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CRITERIA_LEVEL_BIDDING_STRATEGY = 9; - - // Cannot modify the start or end date such that the campaign duration would - // not contain the durations of all runnable trials. - CAMPAIGN_DURATION_MUST_CONTAIN_ALL_RUNNABLE_TRIALS = 10; - - // Cannot modify dates, budget or status of a trial campaign. - CANNOT_MODIFY_FOR_TRIAL_CAMPAIGN = 11; - - // Trying to modify the name of an active or paused campaign, where the name - // is already assigned to another active or paused campaign. - DUPLICATE_CAMPAIGN_NAME = 12; - - // Two fields are in conflicting modes. - INCOMPATIBLE_CAMPAIGN_FIELD = 13; - - // Campaign name cannot be used. - INVALID_CAMPAIGN_NAME = 14; - - // Given status is invalid. - INVALID_AD_SERVING_OPTIMIZATION_STATUS = 15; - - // Error in the campaign level tracking URL. - INVALID_TRACKING_URL = 16; - - // Cannot set both tracking URL template and tracking setting. A user has - // to clear legacy tracking setting in order to add tracking URL template. - CANNOT_SET_BOTH_TRACKING_URL_TEMPLATE_AND_TRACKING_SETTING = 17; - - // The maximum number of impressions for Frequency Cap should be an integer - // greater than 0. - MAX_IMPRESSIONS_NOT_IN_RANGE = 18; - - // Only the Day, Week and Month time units are supported. - TIME_UNIT_NOT_SUPPORTED = 19; - - // Operation not allowed on a campaign whose serving status has ended - INVALID_OPERATION_IF_SERVING_STATUS_HAS_ENDED = 20; - - // This budget is exclusively linked to a Campaign that is using experiments - // so it cannot be shared. - BUDGET_CANNOT_BE_SHARED = 21; - - // Campaigns using experiments cannot use a shared budget. - CAMPAIGN_CANNOT_USE_SHARED_BUDGET = 22; - - // A different budget cannot be assigned to a campaign when there are - // running or scheduled trials. - CANNOT_CHANGE_BUDGET_ON_CAMPAIGN_WITH_TRIALS = 23; - - // No link found between the campaign and the label. - CAMPAIGN_LABEL_DOES_NOT_EXIST = 24; - - // The label has already been attached to the campaign. - CAMPAIGN_LABEL_ALREADY_EXISTS = 25; - - // A ShoppingSetting was not found when creating a shopping campaign. - MISSING_SHOPPING_SETTING = 26; - - // The country in shopping setting is not an allowed country. - INVALID_SHOPPING_SALES_COUNTRY = 27; - - // The requested channel type is not available according to the customer's - // account setting. - ADVERTISING_CHANNEL_TYPE_NOT_AVAILABLE_FOR_ACCOUNT_TYPE = 31; - - // The AdvertisingChannelSubType is not a valid subtype of the primary - // channel type. - INVALID_ADVERTISING_CHANNEL_SUB_TYPE = 32; - - // At least one conversion must be selected. - AT_LEAST_ONE_CONVERSION_MUST_BE_SELECTED = 33; - - // Setting ad rotation mode for a campaign is not allowed. Ad rotation mode - // at campaign is deprecated. - CANNOT_SET_AD_ROTATION_MODE = 34; - - // Trying to change start date on a campaign that has started. - CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED = 35; - - // Trying to modify a date into the past. - CANNOT_SET_DATE_TO_PAST = 36; - - // Hotel center id in the hotel setting does not match any customer links. - MISSING_HOTEL_CUSTOMER_LINK = 37; - - // Hotel center id in the hotel setting must match an active customer link. - INVALID_HOTEL_CUSTOMER_LINK = 38; - - // Hotel setting was not found when creating a hotel ads campaign. - MISSING_HOTEL_SETTING = 39; - - // A Campaign cannot use shared campaign budgets and be part of a campaign - // group. - CANNOT_USE_SHARED_CAMPAIGN_BUDGET_WHILE_PART_OF_CAMPAIGN_GROUP = 40; - - // The app ID was not found. - APP_NOT_FOUND = 41; - - // Campaign.shopping_setting.enable_local is not supported for the specified - // campaign type. - SHOPPING_ENABLE_LOCAL_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE = 42; - - // The merchant does not support the creation of campaigns for Shopping - // Comparison Listing Ads. - MERCHANT_NOT_ALLOWED_FOR_COMPARISON_LISTING_ADS = 43; - - // The App campaign for engagement cannot be created because there aren't - // enough installs. - INSUFFICIENT_APP_INSTALLS_COUNT = 44; - - // The App campaign for engagement cannot be created because the app is - // sensitive. - SENSITIVE_CATEGORY_APP = 45; - - // Customers with Housing, Employment, or Credit ads must accept updated - // personalized ads policy to continue creating campaigns. - HEC_AGREEMENT_REQUIRED = 46; - - // The field is not compatible with view through conversion optimization. - NOT_COMPATIBLE_WITH_VIEW_THROUGH_CONVERSION_OPTIMIZATION = 49; - - // The field type cannot be excluded because an active campaign-asset link - // of this type exists. - INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE = 48; - - // The app pre-registration campaign cannot be created for non-Android - // applications. - CANNOT_CREATE_APP_PRE_REGISTRATION_FOR_NON_ANDROID_APP = 50; - - // The campaign cannot be created since the app is not available for - // pre-registration in any country. - APP_NOT_AVAILABLE_TO_CREATE_APP_PRE_REGISTRATION_CAMPAIGN = 51; - - // The type of the Budget is not compatible with this Campaign. - INCOMPATIBLE_BUDGET_TYPE = 52; - - // Category bid list in the local services campaign setting contains - // multiple bids for the same category ID. - LOCAL_SERVICES_DUPLICATE_CATEGORY_BID = 53; - - // Category bid list in the local services campaign setting contains - // a bid for an invalid category ID. - LOCAL_SERVICES_INVALID_CATEGORY_BID = 54; - - // Category bid list in the local services campaign setting is missing a - // bid for a category ID that must be present. - LOCAL_SERVICES_MISSING_CATEGORY_BID = 55; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/campaign_experiment_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/campaign_experiment_error.proto deleted file mode 100644 index 516627eb2..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/campaign_experiment_error.proto +++ /dev/null @@ -1,79 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CampaignExperimentErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing campaign experiment errors. - -// Container for enum describing possible campaign experiment errors. -message CampaignExperimentErrorEnum { - // Enum describing possible campaign experiment errors. - enum CampaignExperimentError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // An active campaign or experiment with this name already exists. - DUPLICATE_NAME = 2; - - // Experiment cannot be updated from the current state to the - // requested target state. For example, an experiment can only graduate - // if its status is ENABLED. - INVALID_TRANSITION = 3; - - // Cannot create an experiment from a campaign using an explicitly shared - // budget. - CANNOT_CREATE_EXPERIMENT_WITH_SHARED_BUDGET = 4; - - // Cannot create an experiment for a removed base campaign. - CANNOT_CREATE_EXPERIMENT_FOR_REMOVED_BASE_CAMPAIGN = 5; - - // Cannot create an experiment from a draft, which has a status other than - // proposed. - CANNOT_CREATE_EXPERIMENT_FOR_NON_PROPOSED_DRAFT = 6; - - // This customer is not allowed to create an experiment. - CUSTOMER_CANNOT_CREATE_EXPERIMENT = 7; - - // This campaign is not allowed to create an experiment. - CAMPAIGN_CANNOT_CREATE_EXPERIMENT = 8; - - // Trying to set an experiment duration which overlaps with another - // experiment. - EXPERIMENT_DURATIONS_MUST_NOT_OVERLAP = 9; - - // All non-removed experiments must start and end within their campaign's - // duration. - EXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATION = 10; - - // The experiment cannot be modified because its status is in a terminal - // state, such as REMOVED. - CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUS = 11; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/campaign_feed_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/campaign_feed_error.proto deleted file mode 100644 index 6b348b679..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/campaign_feed_error.proto +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CampaignFeedErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing campaign feed errors. - -// Container for enum describing possible campaign feed errors. -message CampaignFeedErrorEnum { - // Enum describing possible campaign feed errors. - enum CampaignFeedError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // An active feed already exists for this campaign and placeholder type. - FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE = 2; - - // The specified feed is removed. - CANNOT_CREATE_FOR_REMOVED_FEED = 4; - - // The CampaignFeed already exists. UPDATE should be used to modify the - // existing CampaignFeed. - CANNOT_CREATE_ALREADY_EXISTING_CAMPAIGN_FEED = 5; - - // Cannot update removed campaign feed. - CANNOT_MODIFY_REMOVED_CAMPAIGN_FEED = 6; - - // Invalid placeholder type. - INVALID_PLACEHOLDER_TYPE = 7; - - // Feed mapping for this placeholder type does not exist. - MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE = 8; - - // Location CampaignFeeds cannot be created unless there is a location - // CustomerFeed for the specified feed. - NO_EXISTING_LOCATION_CUSTOMER_FEED = 9; - - // Feed is read only. - LEGACY_FEED_TYPE_READ_ONLY = 10; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/campaign_shared_set_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/campaign_shared_set_error.proto deleted file mode 100644 index ea0af811f..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/campaign_shared_set_error.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CampaignSharedSetErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing campaign shared set errors. - -// Container for enum describing possible campaign shared set errors. -message CampaignSharedSetErrorEnum { - // Enum describing possible campaign shared set errors. - enum CampaignSharedSetError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The shared set belongs to another customer and permission isn't granted. - SHARED_SET_ACCESS_DENIED = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/change_event_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/change_event_error.proto deleted file mode 100644 index a913f4891..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/change_event_error.proto +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ChangeEventErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing change event errors. - -// Container for enum describing possible change event errors. -message ChangeEventErrorEnum { - // Enum describing possible change event errors. - enum ChangeEventError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The requested start date is too old. It cannot be older than 30 days. - START_DATE_TOO_OLD = 2; - - // The change_event search request must specify a finite range filter - // on change_date_time. - CHANGE_DATE_RANGE_INFINITE = 3; - - // The change event search request has specified invalid date time filters - // that can never logically produce any valid results (for example, start - // time after end time). - CHANGE_DATE_RANGE_NEGATIVE = 4; - - // The change_event search request must specify a LIMIT. - LIMIT_NOT_SPECIFIED = 5; - - // The LIMIT specified by change_event request should be less than or equal - // to 10K. - INVALID_LIMIT_CLAUSE = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/change_status_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/change_status_error.proto deleted file mode 100644 index b01282fcc..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/change_status_error.proto +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ChangeStatusErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing change status errors. - -// Container for enum describing possible change status errors. -message ChangeStatusErrorEnum { - // Enum describing possible change status errors. - enum ChangeStatusError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The requested start date is too old. - START_DATE_TOO_OLD = 3; - - // The change_status search request must specify a finite range filter - // on last_change_date_time. - CHANGE_DATE_RANGE_INFINITE = 4; - - // The change status search request has specified invalid date time filters - // that can never logically produce any valid results (for example, start - // time after end time). - CHANGE_DATE_RANGE_NEGATIVE = 5; - - // The change_status search request must specify a LIMIT. - LIMIT_NOT_SPECIFIED = 6; - - // The LIMIT specified by change_status request should be less than or equal - // to 10K. - INVALID_LIMIT_CLAUSE = 7; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/collection_size_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/collection_size_error.proto deleted file mode 100644 index f533a782a..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/collection_size_error.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CollectionSizeErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing collection size errors. - -// Container for enum describing possible collection size errors. -message CollectionSizeErrorEnum { - // Enum describing possible collection size errors. - enum CollectionSizeError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Too few. - TOO_FEW = 2; - - // Too many. - TOO_MANY = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/context_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/context_error.proto deleted file mode 100644 index f5a910536..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/context_error.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ContextErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing context errors. - -// Container for enum describing possible context errors. -message ContextErrorEnum { - // Enum describing possible context errors. - enum ContextError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The operation is not allowed for the given context. - OPERATION_NOT_PERMITTED_FOR_CONTEXT = 2; - - // The operation is not allowed for removed resources. - OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/conversion_action_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/conversion_action_error.proto deleted file mode 100644 index f4b1c05eb..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/conversion_action_error.proto +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ConversionActionErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing conversion action errors. - -// Container for enum describing possible conversion action errors. -message ConversionActionErrorEnum { - // Enum describing possible conversion action errors. - enum ConversionActionError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The specified conversion action name already exists. - DUPLICATE_NAME = 2; - - // Another conversion action with the specified app id already exists. - DUPLICATE_APP_ID = 3; - - // Android first open action conflicts with Google play codeless download - // action tracking the same app. - TWO_CONVERSION_ACTIONS_BIDDING_ON_SAME_APP_DOWNLOAD = 4; - - // Android first open action conflicts with Google play codeless download - // action tracking the same app. - BIDDING_ON_SAME_APP_DOWNLOAD_AS_GLOBAL_ACTION = 5; - - // The attribution model cannot be set to DATA_DRIVEN because a data-driven - // model has never been generated. - DATA_DRIVEN_MODEL_WAS_NEVER_GENERATED = 6; - - // The attribution model cannot be set to DATA_DRIVEN because the - // data-driven model is expired. - DATA_DRIVEN_MODEL_EXPIRED = 7; - - // The attribution model cannot be set to DATA_DRIVEN because the - // data-driven model is stale. - DATA_DRIVEN_MODEL_STALE = 8; - - // The attribution model cannot be set to DATA_DRIVEN because the - // data-driven model is unavailable or the conversion action was newly - // added. - DATA_DRIVEN_MODEL_UNKNOWN = 9; - - // Creation of this conversion action type isn't supported by Google - // Ads API. - CREATION_NOT_SUPPORTED = 10; - - // Update of this conversion action isn't supported by Google Ads API. - UPDATE_NOT_SUPPORTED = 11; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/conversion_adjustment_upload_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/conversion_adjustment_upload_error.proto deleted file mode 100644 index fa07d771c..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/conversion_adjustment_upload_error.proto +++ /dev/null @@ -1,134 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ConversionAdjustmentUploadErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing conversion adjustment upload errors. - -// Container for enum describing possible conversion adjustment upload errors. -message ConversionAdjustmentUploadErrorEnum { - // Enum describing possible conversion adjustment upload errors. - enum ConversionAdjustmentUploadError { - // Not specified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The specified conversion action was created too recently. - // Try the upload again after 4-6 hours have passed since the - // conversion action was created. - TOO_RECENT_CONVERSION_ACTION = 2; - - // No conversion action of a supported ConversionActionType that matches the - // provided information can be found for the customer. - INVALID_CONVERSION_ACTION = 3; - - // A retraction was already reported for this conversion. - CONVERSION_ALREADY_RETRACTED = 4; - - // A conversion for the supplied combination of conversion - // action and conversion identifier could not be found. - CONVERSION_NOT_FOUND = 5; - - // The specified conversion has already expired. Conversions expire after 55 - // days, after which adjustments cannot be reported against them. - CONVERSION_EXPIRED = 6; - - // The supplied adjustment date time precedes that of the original - // conversion. - ADJUSTMENT_PRECEDES_CONVERSION = 7; - - // A restatement with a more recent adjustment date time was already - // reported for this conversion. - MORE_RECENT_RESTATEMENT_FOUND = 8; - - // The conversion was created too recently. - TOO_RECENT_CONVERSION = 9; - - // Restatements cannot be reported for a conversion action that always uses - // the default value. - CANNOT_RESTATE_CONVERSION_ACTION_THAT_ALWAYS_USES_DEFAULT_CONVERSION_VALUE = 10; - - // The request contained more than 2000 adjustments. - TOO_MANY_ADJUSTMENTS_IN_REQUEST = 11; - - // The conversion has been adjusted too many times. - TOO_MANY_ADJUSTMENTS = 12; - - // A restatement with this timestamp already exists for this conversion. To - // upload another adjustment, use a different timestamp. - RESTATEMENT_ALREADY_EXISTS = 13; - - // This adjustment has the same timestamp as another adjustment in the - // request for this conversion. To upload another adjustment, use a - // different timestamp. - DUPLICATE_ADJUSTMENT_IN_REQUEST = 14; - - // The customer has not accepted the customer data terms in the conversion - // settings page. - CUSTOMER_NOT_ACCEPTED_CUSTOMER_DATA_TERMS = 15; - - // The enhanced conversion settings of the conversion action supplied is - // not eligible for enhancements. - CONVERSION_ACTION_NOT_ELIGIBLE_FOR_ENHANCEMENT = 16; - - // The provided user identifier is not a SHA-256 hash. It is either unhashed - // or hashed using a different hash function. - INVALID_USER_IDENTIFIER = 17; - - // The provided user identifier is not supported. - // ConversionAdjustmentUploadService only supports hashed_email, - // hashed_phone_number, and address_info. - UNSUPPORTED_USER_IDENTIFIER = 18; - - // Cannot set both gclid_date_time_pair and order_id. - GCLID_DATE_TIME_PAIR_AND_ORDER_ID_BOTH_SET = 20; - - // An enhancement with this conversion action and order_id already exists - // for this conversion. - CONVERSION_ALREADY_ENHANCED = 21; - - // This enhancement has the same conversion action and order_id as - // another enhancement in the request. - DUPLICATE_ENHANCEMENT_IN_REQUEST = 22; - - // Per our customer data policies, enhancement has been prohibited in your - // account. If you have any questions, contact your Google - // representative. - CUSTOMER_DATA_POLICY_PROHIBITS_ENHANCEMENT = 23; - - // The conversion adjustment is for a conversion action of type WEBPAGE, but - // does not have an order_id. The order_id is required for an adjustment for - // a WEBPAGE conversion action. - MISSING_ORDER_ID_FOR_WEBPAGE = 24; - - // The order_id contains personally identifiable information (PII), such as - // an email address or phone number. - ORDER_ID_CONTAINS_PII = 25; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/conversion_custom_variable_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/conversion_custom_variable_error.proto deleted file mode 100644 index e8f916e97..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/conversion_custom_variable_error.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ConversionCustomVariableErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing conversion custom variable errors. - -// Container for enum describing possible conversion custom variable errors. -message ConversionCustomVariableErrorEnum { - // Enum describing possible conversion custom variable errors. - enum ConversionCustomVariableError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // A conversion custom variable with the specified name already exists. - DUPLICATE_NAME = 2; - - // A conversion custom variable with the specified tag already exists. - DUPLICATE_TAG = 3; - - // A conversion custom variable with the specified tag is reserved for other - // uses. - RESERVED_TAG = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/conversion_goal_campaign_config_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/conversion_goal_campaign_config_error.proto deleted file mode 100644 index 9fbc0e316..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/conversion_goal_campaign_config_error.proto +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ConversionGoalCampaignConfigErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing conversion goal campaign config errors. - -// Container for enum describing possible conversion goal campaign config -// errors. -message ConversionGoalCampaignConfigErrorEnum { - // Enum describing possible conversion goal campaign config errors. - enum ConversionGoalCampaignConfigError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Campaign is managed by Search Ads 360 but uses Unified Goal. - CANNOT_USE_CAMPAIGN_GOAL_FOR_SEARCH_ADS_360_MANAGED_CAMPAIGN = 2; - - // The campaign is using a custom goal that does not belong to its Google - // Ads conversion customer (conversion tracking customer). - CUSTOM_GOAL_DOES_NOT_BELONG_TO_GOOGLE_ADS_CONVERSION_CUSTOMER = 3; - - // The campaign is not allowed to use unified goals. - CAMPAIGN_CANNOT_USE_UNIFIED_GOALS = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/conversion_upload_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/conversion_upload_error.proto deleted file mode 100644 index 5bf431db3..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/conversion_upload_error.proto +++ /dev/null @@ -1,209 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ConversionUploadErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing conversion upload errors. - -// Container for enum describing possible conversion upload errors. -message ConversionUploadErrorEnum { - // Enum describing possible conversion upload errors. - enum ConversionUploadError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The request contained more than 2000 conversions. - TOO_MANY_CONVERSIONS_IN_REQUEST = 2; - - // The specified gclid could not be decoded. - UNPARSEABLE_GCLID = 3; - - // The specified conversion_date_time is before the event time - // associated with the given identifier or iOS URL parameter. - CONVERSION_PRECEDES_EVENT = 42; - - // The click associated with the given identifier or iOS URL parameter is - // either too old to be imported or occurred outside of the click through - // lookback window for the specified conversion action. - EXPIRED_EVENT = 43; - - // The click associated with the given identifier or iOS URL parameter - // occurred too recently. Try uploading again after 6 hours have - // passed since the click occurred. - TOO_RECENT_EVENT = 44; - - // The click associated with the given identifier or iOS URL parameter could - // not be found in the system. This can happen if the identifier or iOS URL - // parameter are collected for non Google Ads clicks. - EVENT_NOT_FOUND = 45; - - // The click associated with the given identifier or iOS URL parameter is - // owned by a customer account that the uploading customer does not manage. - UNAUTHORIZED_CUSTOMER = 8; - - // No upload eligible conversion action that matches the provided - // information can be found for the customer. - INVALID_CONVERSION_ACTION = 9; - - // The specified conversion action was created too recently. - // Try the upload again after 4-6 hours have passed since the - // conversion action was created. - TOO_RECENT_CONVERSION_ACTION = 10; - - // The click associated with the given identifier does not contain - // conversion tracking information. - CONVERSION_TRACKING_NOT_ENABLED_AT_IMPRESSION_TIME = 11; - - // The specified conversion action does not use an external attribution - // model, but external_attribution_data was set. - EXTERNAL_ATTRIBUTION_DATA_SET_FOR_NON_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION = 12; - - // The specified conversion action uses an external attribution model, but - // external_attribution_data or one of its contained fields was not set. - // Both external_attribution_credit and external_attribution_model must be - // set for externally attributed conversion actions. - EXTERNAL_ATTRIBUTION_DATA_NOT_SET_FOR_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION = 13; - - // Order IDs are not supported for conversion actions which use an external - // attribution model. - ORDER_ID_NOT_PERMITTED_FOR_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION = 14; - - // A conversion with the same order id and conversion action combination - // already exists in our system. - ORDER_ID_ALREADY_IN_USE = 15; - - // The request contained two or more conversions with the same order id and - // conversion action combination. - DUPLICATE_ORDER_ID = 16; - - // The call occurred too recently. Try uploading again after 12 hours - // have passed since the call occurred. - TOO_RECENT_CALL = 17; - - // The click that initiated the call is too old for this conversion to be - // imported. - EXPIRED_CALL = 18; - - // The call or the click leading to the call was not found. - CALL_NOT_FOUND = 19; - - // The specified conversion_date_time is before the call_start_date_time. - CONVERSION_PRECEDES_CALL = 20; - - // The click associated with the call does not contain conversion tracking - // information. - CONVERSION_TRACKING_NOT_ENABLED_AT_CALL_TIME = 21; - - // The caller's phone number cannot be parsed. It should be formatted either - // as E.164 "+16502531234", International "+64 3-331 6005" or US national - // number "6502531234". - UNPARSEABLE_CALLERS_PHONE_NUMBER = 22; - - // A conversion with this timestamp already exists for this click. To upload - // another conversion, use a different timestamp. - CLICK_CONVERSION_ALREADY_EXISTS = 23; - - // A conversion with this timestamp already exists for this call. To upload - // another conversion, use a different timestamp. - CALL_CONVERSION_ALREADY_EXISTS = 24; - - // This conversion has the same click and timestamp as another conversion in - // the request. To upload another conversion for this click, use a - // different timestamp. - DUPLICATE_CLICK_CONVERSION_IN_REQUEST = 25; - - // This conversion has the same call and timestamp as another conversion in - // the request. To upload another conversion for this call, use a - // different timestamp. - DUPLICATE_CALL_CONVERSION_IN_REQUEST = 26; - - // The custom variable is not enabled. - CUSTOM_VARIABLE_NOT_ENABLED = 28; - - // The value of the custom variable contains personally identifiable - // information (PII), such as an email address or phone number. - CUSTOM_VARIABLE_VALUE_CONTAINS_PII = 29; - - // The click associated with the given identifier or iOS URL parameter isn't - // from the account where conversion tracking is set up. - INVALID_CUSTOMER_FOR_CLICK = 30; - - // The click associated with the given call isn't from the account where - // conversion tracking is set up. - INVALID_CUSTOMER_FOR_CALL = 31; - - // The conversion can't be uploaded because the conversion source didn't - // comply with the App Tracking Transparency (ATT) policy or the person who - // converted didn't consent to tracking. - CONVERSION_NOT_COMPLIANT_WITH_ATT_POLICY = 32; - - // No click was found for the provided user identifiers. This may be because - // the conversion did not come from a Google Ads campaign. - CLICK_NOT_FOUND = 33; - - // The provided user identifier is not a SHA-256 hash. It is either unhashed - // or hashed using a different hash function. - INVALID_USER_IDENTIFIER = 34; - - // Conversion actions which use an external attribution model cannot be used - // with UserIdentifier. - EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION_NOT_PERMITTED_WITH_USER_IDENTIFIER = 35; - - // The provided user identifier is not supported. ConversionUploadService - // only supports hashed_email and hashed_phone_number. - UNSUPPORTED_USER_IDENTIFIER = 36; - - // gbraid and wbraid are both set in the request. Only one is allowed. - GBRAID_WBRAID_BOTH_SET = 38; - - // The specified wbraid could not be decoded. - UNPARSEABLE_WBRAID = 39; - - // The specified gbraid could not be decoded. - UNPARSEABLE_GBRAID = 40; - - // Conversion actions which use the one-per-click counting type cannot be - // used with gbraid or wbraid. - ONE_PER_CLICK_CONVERSION_ACTION_NOT_PERMITTED_WITH_BRAID = 46; - - // Per our customer data policies, enhanced conversions have been prohibited - // in your account. If you have any questions, contact your Google - // representative. - CUSTOMER_DATA_POLICY_PROHIBITS_ENHANCED_CONVERSIONS = 47; - - // The customer has not accepted the customer data terms in the conversion - // settings page. - CUSTOMER_NOT_ACCEPTED_CUSTOMER_DATA_TERMS = 48; - - // The order_id contains personally identifiable information (PII), such as - // an email address or phone number. - ORDER_ID_CONTAINS_PII = 49; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/conversion_value_rule_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/conversion_value_rule_error.proto deleted file mode 100644 index cb1a3037e..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/conversion_value_rule_error.proto +++ /dev/null @@ -1,90 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ConversionValueRuleErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing conversion value rule errors. - -// Container for enum describing possible conversion value rule errors. -message ConversionValueRuleErrorEnum { - // Enum describing possible conversion value rule errors. - enum ConversionValueRuleError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The value rule's geo location condition contains invalid geo target - // constant(s), for example, there's no matching geo target. - INVALID_GEO_TARGET_CONSTANT = 2; - - // The value rule's geo location condition contains conflicting included and - // excluded geo targets. Specifically, some of the excluded geo target(s) - // are the same as or contain some of the included geo target(s). For - // example, the geo location condition includes California but excludes U.S. - CONFLICTING_INCLUDED_AND_EXCLUDED_GEO_TARGET = 3; - - // User specified conflicting conditions for two value rules in the same - // value rule set. - CONFLICTING_CONDITIONS = 4; - - // The value rule cannot be removed because it's still included in some - // value rule set. - CANNOT_REMOVE_IF_INCLUDED_IN_VALUE_RULE_SET = 5; - - // The value rule contains a condition that's not allowed by the value rule - // set including this value rule. - CONDITION_NOT_ALLOWED = 6; - - // The value rule contains a field that should be unset. - FIELD_MUST_BE_UNSET = 7; - - // Pausing the value rule requires pausing the value rule set because the - // value rule is (one of) the last enabled in the value rule set. - CANNOT_PAUSE_UNLESS_VALUE_RULE_SET_IS_PAUSED = 8; - - // The value rule's geo location condition contains untargetable geo target - // constant(s). - UNTARGETABLE_GEO_TARGET = 9; - - // The value rule's audience condition contains invalid user list(s). In - // another word, there's no matching user list. - INVALID_AUDIENCE_USER_LIST = 10; - - // The value rule's audience condition contains inaccessible user list(s). - INACCESSIBLE_USER_LIST = 11; - - // The value rule's audience condition contains invalid user_interest(s). - // This might be because there is no matching user interest, or the user - // interest is not visible. - INVALID_AUDIENCE_USER_INTEREST = 12; - - // When a value rule is created, it shouldn't have REMOVED status. - CANNOT_ADD_RULE_WITH_STATUS_REMOVED = 13; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/conversion_value_rule_set_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/conversion_value_rule_set_error.proto deleted file mode 100644 index 7637a24a8..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/conversion_value_rule_set_error.proto +++ /dev/null @@ -1,100 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ConversionValueRuleSetErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing conversion value rule set errors. - -// Container for enum describing possible conversion value rule set errors. -message ConversionValueRuleSetErrorEnum { - // Enum describing possible conversion value rule set errors. - enum ConversionValueRuleSetError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Two value rules in this value rule set contain conflicting conditions. - CONFLICTING_VALUE_RULE_CONDITIONS = 2; - - // This value rule set includes a value rule that cannot be found, has been - // permanently removed or belongs to a different customer. - INVALID_VALUE_RULE = 3; - - // An error that's thrown when a mutate operation is trying to - // replace/remove some existing elements in the dimensions field. In other - // words, ADD op is always fine and UPDATE op is fine if it's only appending - // new elements into dimensions list. - DIMENSIONS_UPDATE_ONLY_ALLOW_APPEND = 4; - - // An error that's thrown when a mutate is adding new value rule(s) into a - // value rule set and the added value rule(s) include conditions that are - // not specified in the dimensions of the value rule set. - CONDITION_TYPE_NOT_ALLOWED = 5; - - // The dimensions field contains duplicate elements. - DUPLICATE_DIMENSIONS = 6; - - // This value rule set is attached to an invalid campaign id. Either a - // campaign with this campaign id doesn't exist or it belongs to a different - // customer. - INVALID_CAMPAIGN_ID = 7; - - // When a mutate request tries to pause a value rule set, the enabled - // value rules in this set must be paused in the same command, or this error - // will be thrown. - CANNOT_PAUSE_UNLESS_ALL_VALUE_RULES_ARE_PAUSED = 8; - - // When a mutate request tries to pause all the value rules in a value rule - // set, the value rule set must be paused, or this error will be thrown. - SHOULD_PAUSE_WHEN_ALL_VALUE_RULES_ARE_PAUSED = 9; - - // This value rule set is attached to a campaign that does not support value - // rules. Currently, campaign level value rule sets can only be created on - // Search, or Display campaigns. - VALUE_RULES_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE = 10; - - // To add a value rule set that applies on Store Visits/Store Sales - // conversion action categories, the customer must have valid Store Visits/ - // Store Sales conversion actions. - INELIGIBLE_CONVERSION_ACTION_CATEGORIES = 11; - - // If NO_CONDITION is used as a dimension of a value rule set, it must be - // the only dimension. - DIMENSION_NO_CONDITION_USED_WITH_OTHER_DIMENSIONS = 12; - - // Dimension NO_CONDITION can only be used by Store Visits/Store Sales value - // rule set. - DIMENSION_NO_CONDITION_NOT_ALLOWED = 13; - - // Value rule sets defined on the specified conversion action categories are - // not supported. The list of conversion action categories must be an empty - // list, only STORE_VISIT, or only STORE_SALE. - UNSUPPORTED_CONVERSION_ACTION_CATEGORIES = 14; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/country_code_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/country_code_error.proto deleted file mode 100644 index 0640fd22b..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/country_code_error.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CountryCodeErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing country code errors. - -// Container for enum describing country code errors. -message CountryCodeErrorEnum { - // Enum describing country code errors. - enum CountryCodeError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The country code is invalid. - INVALID_COUNTRY_CODE = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/criterion_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/criterion_error.proto deleted file mode 100644 index 97b1f78ce..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/criterion_error.proto +++ /dev/null @@ -1,488 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CriterionErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing criterion errors. - -// Container for enum describing possible criterion errors. -message CriterionErrorEnum { - // Enum describing possible criterion errors. - enum CriterionError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Concrete type of criterion is required for CREATE and UPDATE operations. - CONCRETE_TYPE_REQUIRED = 2; - - // The category requested for exclusion is invalid. - INVALID_EXCLUDED_CATEGORY = 3; - - // Invalid keyword criteria text. - INVALID_KEYWORD_TEXT = 4; - - // Keyword text should be less than 80 chars. - KEYWORD_TEXT_TOO_LONG = 5; - - // Keyword text has too many words. - KEYWORD_HAS_TOO_MANY_WORDS = 6; - - // Keyword text has invalid characters or symbols. - KEYWORD_HAS_INVALID_CHARS = 7; - - // Invalid placement URL. - INVALID_PLACEMENT_URL = 8; - - // Invalid user list criterion. - INVALID_USER_LIST = 9; - - // Invalid user interest criterion. - INVALID_USER_INTEREST = 10; - - // Placement URL has wrong format. - INVALID_FORMAT_FOR_PLACEMENT_URL = 11; - - // Placement URL is too long. - PLACEMENT_URL_IS_TOO_LONG = 12; - - // Indicates the URL contains an illegal character. - PLACEMENT_URL_HAS_ILLEGAL_CHAR = 13; - - // Indicates the URL contains multiple comma separated URLs. - PLACEMENT_URL_HAS_MULTIPLE_SITES_IN_LINE = 14; - - // Indicates the domain is blocked. - PLACEMENT_IS_NOT_AVAILABLE_FOR_TARGETING_OR_EXCLUSION = 15; - - // Invalid topic path. - INVALID_TOPIC_PATH = 16; - - // The YouTube Channel Id is invalid. - INVALID_YOUTUBE_CHANNEL_ID = 17; - - // The YouTube Video Id is invalid. - INVALID_YOUTUBE_VIDEO_ID = 18; - - // Indicates the placement is a YouTube vertical channel, which is no longer - // supported. - YOUTUBE_VERTICAL_CHANNEL_DEPRECATED = 19; - - // Indicates the placement is a YouTube demographic channel, which is no - // longer supported. - YOUTUBE_DEMOGRAPHIC_CHANNEL_DEPRECATED = 20; - - // YouTube urls are not supported in Placement criterion. Use YouTubeChannel - // and YouTubeVideo criterion instead. - YOUTUBE_URL_UNSUPPORTED = 21; - - // Criteria type can not be excluded by the customer, like AOL account type - // cannot target site type criteria. - CANNOT_EXCLUDE_CRITERIA_TYPE = 22; - - // Criteria type can not be targeted. - CANNOT_ADD_CRITERIA_TYPE = 23; - - // Not allowed to exclude similar user list. - CANNOT_EXCLUDE_SIMILAR_USER_LIST = 26; - - // Not allowed to target a closed user list. - CANNOT_ADD_CLOSED_USER_LIST = 27; - - // Not allowed to add display only UserLists to search only campaigns. - CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_ONLY_CAMPAIGNS = 28; - - // Not allowed to add display only UserLists to search plus campaigns. - CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_CAMPAIGNS = 29; - - // Not allowed to add display only UserLists to shopping campaigns. - CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SHOPPING_CAMPAIGNS = 30; - - // Not allowed to add User interests to search only campaigns. - CANNOT_ADD_USER_INTERESTS_TO_SEARCH_CAMPAIGNS = 31; - - // Not allowed to set bids for this criterion type in search campaigns - CANNOT_SET_BIDS_ON_CRITERION_TYPE_IN_SEARCH_CAMPAIGNS = 32; - - // Final URLs, URL Templates and CustomParameters cannot be set for the - // criterion types of Gender, AgeRange, UserList, Placement, MobileApp, and - // MobileAppCategory in search campaigns and shopping campaigns. - CANNOT_ADD_URLS_TO_CRITERION_TYPE_FOR_CAMPAIGN_TYPE = 33; - - // Invalid combined audience criterion. - INVALID_COMBINED_AUDIENCE = 122; - - // Invalid custom affinity criterion. - INVALID_CUSTOM_AFFINITY = 96; - - // Invalid custom intent criterion. - INVALID_CUSTOM_INTENT = 97; - - // Invalid custom audience criterion. - INVALID_CUSTOM_AUDIENCE = 121; - - // IP address is not valid. - INVALID_IP_ADDRESS = 34; - - // IP format is not valid. - INVALID_IP_FORMAT = 35; - - // Mobile application is not valid. - INVALID_MOBILE_APP = 36; - - // Mobile application category is not valid. - INVALID_MOBILE_APP_CATEGORY = 37; - - // The CriterionId does not exist or is of the incorrect type. - INVALID_CRITERION_ID = 38; - - // The Criterion is not allowed to be targeted. - CANNOT_TARGET_CRITERION = 39; - - // The criterion is not allowed to be targeted as it is deprecated. - CANNOT_TARGET_OBSOLETE_CRITERION = 40; - - // The CriterionId is not valid for the type. - CRITERION_ID_AND_TYPE_MISMATCH = 41; - - // Distance for the radius for the proximity criterion is invalid. - INVALID_PROXIMITY_RADIUS = 42; - - // Units for the distance for the radius for the proximity criterion is - // invalid. - INVALID_PROXIMITY_RADIUS_UNITS = 43; - - // Street address in the address is not valid. - INVALID_STREETADDRESS_LENGTH = 44; - - // City name in the address is not valid. - INVALID_CITYNAME_LENGTH = 45; - - // Region code in the address is not valid. - INVALID_REGIONCODE_LENGTH = 46; - - // Region name in the address is not valid. - INVALID_REGIONNAME_LENGTH = 47; - - // Postal code in the address is not valid. - INVALID_POSTALCODE_LENGTH = 48; - - // Country code in the address is not valid. - INVALID_COUNTRY_CODE = 49; - - // Latitude for the GeoPoint is not valid. - INVALID_LATITUDE = 50; - - // Longitude for the GeoPoint is not valid. - INVALID_LONGITUDE = 51; - - // The Proximity input is not valid. Both address and geoPoint cannot be - // null. - PROXIMITY_GEOPOINT_AND_ADDRESS_BOTH_CANNOT_BE_NULL = 52; - - // The Proximity address cannot be geocoded to a valid lat/long. - INVALID_PROXIMITY_ADDRESS = 53; - - // User domain name is not valid. - INVALID_USER_DOMAIN_NAME = 54; - - // Length of serialized criterion parameter exceeded size limit. - CRITERION_PARAMETER_TOO_LONG = 55; - - // Time interval in the AdSchedule overlaps with another AdSchedule. - AD_SCHEDULE_TIME_INTERVALS_OVERLAP = 56; - - // AdSchedule time interval cannot span multiple days. - AD_SCHEDULE_INTERVAL_CANNOT_SPAN_MULTIPLE_DAYS = 57; - - // AdSchedule time interval specified is invalid, endTime cannot be earlier - // than startTime. - AD_SCHEDULE_INVALID_TIME_INTERVAL = 58; - - // The number of AdSchedule entries in a day exceeds the limit. - AD_SCHEDULE_EXCEEDED_INTERVALS_PER_DAY_LIMIT = 59; - - // CriteriaId does not match the interval of the AdSchedule specified. - AD_SCHEDULE_CRITERION_ID_MISMATCHING_FIELDS = 60; - - // Cannot set bid modifier for this criterion type. - CANNOT_BID_MODIFY_CRITERION_TYPE = 61; - - // Cannot bid modify criterion, since it is opted out of the campaign. - CANNOT_BID_MODIFY_CRITERION_CAMPAIGN_OPTED_OUT = 62; - - // Cannot set bid modifier for a negative criterion. - CANNOT_BID_MODIFY_NEGATIVE_CRITERION = 63; - - // Bid Modifier already exists. Use SET operation to update. - BID_MODIFIER_ALREADY_EXISTS = 64; - - // Feed Id is not allowed in these Location Groups. - FEED_ID_NOT_ALLOWED = 65; - - // The account may not use the requested criteria type. For example, some - // accounts are restricted to keywords only. - ACCOUNT_INELIGIBLE_FOR_CRITERIA_TYPE = 66; - - // The requested criteria type cannot be used with campaign or ad group - // bidding strategy. - CRITERIA_TYPE_INVALID_FOR_BIDDING_STRATEGY = 67; - - // The Criterion is not allowed to be excluded. - CANNOT_EXCLUDE_CRITERION = 68; - - // The criterion is not allowed to be removed. For example, we cannot remove - // any of the device criterion. - CANNOT_REMOVE_CRITERION = 69; - - // Bidding categories do not form a valid path in the Shopping bidding - // category taxonomy. - INVALID_PRODUCT_BIDDING_CATEGORY = 76; - - // ShoppingSetting must be added to the campaign before ProductScope - // criteria can be added. - MISSING_SHOPPING_SETTING = 77; - - // Matching function is invalid. - INVALID_MATCHING_FUNCTION = 78; - - // Filter parameters not allowed for location groups targeting. - LOCATION_FILTER_NOT_ALLOWED = 79; - - // Feed not found, or the feed is not an enabled location feed. - INVALID_FEED_FOR_LOCATION_FILTER = 98; - - // Given location filter parameter is invalid for location groups targeting. - LOCATION_FILTER_INVALID = 80; - - // Cannot set geo target constants and feed item sets at the same time. - CANNOT_SET_GEO_TARGET_CONSTANTS_WITH_FEED_ITEM_SETS = 123; - - // Cannot set both assetset and feed at the same time. - CANNOT_SET_BOTH_ASSET_SET_AND_FEED = 140; - - // Cannot set feed or feed item sets for Customer. - CANNOT_SET_FEED_OR_FEED_ITEM_SETS_FOR_CUSTOMER = 142; - - // Cannot set AssetSet criteria for customer. - CANNOT_SET_ASSET_SET_FIELD_FOR_CUSTOMER = 150; - - // Cannot set geo target constants and asset sets at the same time. - CANNOT_SET_GEO_TARGET_CONSTANTS_WITH_ASSET_SETS = 143; - - // Cannot set asset sets and feed item sets at the same time. - CANNOT_SET_ASSET_SETS_WITH_FEED_ITEM_SETS = 144; - - // The location group asset set id is invalid - INVALID_LOCATION_GROUP_ASSET_SET = 141; - - // The location group radius is in the range but not at the valid increment. - INVALID_LOCATION_GROUP_RADIUS = 124; - - // The location group radius unit is invalid. - INVALID_LOCATION_GROUP_RADIUS_UNIT = 125; - - // Criteria type cannot be associated with a campaign and its ad group(s) - // simultaneously. - CANNOT_ATTACH_CRITERIA_AT_CAMPAIGN_AND_ADGROUP = 81; - - // Range represented by hotel length of stay's min nights and max nights - // overlaps with an existing criterion. - HOTEL_LENGTH_OF_STAY_OVERLAPS_WITH_EXISTING_CRITERION = 82; - - // Range represented by hotel advance booking window's min days and max days - // overlaps with an existing criterion. - HOTEL_ADVANCE_BOOKING_WINDOW_OVERLAPS_WITH_EXISTING_CRITERION = 83; - - // The field is not allowed to be set when the negative field is set to - // true, for example, we don't allow bids in negative ad group or campaign - // criteria. - FIELD_INCOMPATIBLE_WITH_NEGATIVE_TARGETING = 84; - - // The combination of operand and operator in webpage condition is invalid. - INVALID_WEBPAGE_CONDITION = 85; - - // The URL of webpage condition is invalid. - INVALID_WEBPAGE_CONDITION_URL = 86; - - // The URL of webpage condition cannot be empty or contain white space. - WEBPAGE_CONDITION_URL_CANNOT_BE_EMPTY = 87; - - // The URL of webpage condition contains an unsupported protocol. - WEBPAGE_CONDITION_URL_UNSUPPORTED_PROTOCOL = 88; - - // The URL of webpage condition cannot be an IP address. - WEBPAGE_CONDITION_URL_CANNOT_BE_IP_ADDRESS = 89; - - // The domain of the URL is not consistent with the domain in campaign - // setting. - WEBPAGE_CONDITION_URL_DOMAIN_NOT_CONSISTENT_WITH_CAMPAIGN_SETTING = 90; - - // The URL of webpage condition cannot be a public suffix itself. - WEBPAGE_CONDITION_URL_CANNOT_BE_PUBLIC_SUFFIX = 91; - - // The URL of webpage condition has an invalid public suffix. - WEBPAGE_CONDITION_URL_INVALID_PUBLIC_SUFFIX = 92; - - // Value track parameter is not supported in webpage condition URL. - WEBPAGE_CONDITION_URL_VALUE_TRACK_VALUE_NOT_SUPPORTED = 93; - - // Only one URL-EQUALS webpage condition is allowed in a webpage - // criterion and it cannot be combined with other conditions. - WEBPAGE_CRITERION_URL_EQUALS_CAN_HAVE_ONLY_ONE_CONDITION = 94; - - // A webpage criterion cannot be added to a non-DSA ad group. - WEBPAGE_CRITERION_NOT_SUPPORTED_ON_NON_DSA_AD_GROUP = 95; - - // Cannot add positive user list criteria in Smart Display campaigns. - CANNOT_TARGET_USER_LIST_FOR_SMART_DISPLAY_CAMPAIGNS = 99; - - // Cannot add positive placement criterion types in search campaigns. - CANNOT_TARGET_PLACEMENTS_FOR_SEARCH_CAMPAIGNS = 126; - - // Listing scope contains too many dimension types. - LISTING_SCOPE_TOO_MANY_DIMENSION_TYPES = 100; - - // Listing scope has too many IN operators. - LISTING_SCOPE_TOO_MANY_IN_OPERATORS = 101; - - // Listing scope contains IN operator on an unsupported dimension type. - LISTING_SCOPE_IN_OPERATOR_NOT_SUPPORTED = 102; - - // There are dimensions with duplicate dimension type. - DUPLICATE_LISTING_DIMENSION_TYPE = 103; - - // There are dimensions with duplicate dimension value. - DUPLICATE_LISTING_DIMENSION_VALUE = 104; - - // Listing group SUBDIVISION nodes cannot have bids. - CANNOT_SET_BIDS_ON_LISTING_GROUP_SUBDIVISION = 105; - - // Ad group is invalid due to the listing groups it contains. - INVALID_LISTING_GROUP_HIERARCHY = 106; - - // Listing group unit cannot have children. - LISTING_GROUP_UNIT_CANNOT_HAVE_CHILDREN = 107; - - // Subdivided listing groups must have an "others" case. - LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE = 108; - - // Dimension type of listing group must be the same as that of its siblings. - LISTING_GROUP_REQUIRES_SAME_DIMENSION_TYPE_AS_SIBLINGS = 109; - - // Listing group cannot be added to the ad group because it already exists. - LISTING_GROUP_ALREADY_EXISTS = 110; - - // Listing group referenced in the operation was not found in the ad group. - LISTING_GROUP_DOES_NOT_EXIST = 111; - - // Recursive removal failed because listing group subdivision is being - // created or modified in this request. - LISTING_GROUP_CANNOT_BE_REMOVED = 112; - - // Listing group type is not allowed for specified ad group criterion type. - INVALID_LISTING_GROUP_TYPE = 113; - - // Listing group in an ADD operation specifies a non temporary criterion id. - LISTING_GROUP_ADD_MAY_ONLY_USE_TEMP_ID = 114; - - // The combined length of dimension values of the Listing scope criterion - // is too long. - LISTING_SCOPE_TOO_LONG = 115; - - // Listing scope contains too many dimensions. - LISTING_SCOPE_TOO_MANY_DIMENSIONS = 116; - - // The combined length of dimension values of the Listing group criterion is - // too long. - LISTING_GROUP_TOO_LONG = 117; - - // Listing group tree is too deep. - LISTING_GROUP_TREE_TOO_DEEP = 118; - - // Listing dimension is invalid (for example, dimension contains illegal - // value, dimension type is represented with wrong class, etc). Listing - // dimension value can not contain "==" or "&+". - INVALID_LISTING_DIMENSION = 119; - - // Listing dimension type is either invalid for campaigns of this type or - // cannot be used in the current context. BIDDING_CATEGORY_Lx and - // PRODUCT_TYPE_Lx dimensions must be used in ascending order of their - // levels: L1, L2, L3, L4, L5... The levels must be specified sequentially - // and start from L1. Furthermore, an "others" Listing group cannot be - // subdivided with a dimension of the same type but of a higher level - // ("others" BIDDING_CATEGORY_L3 can be subdivided with BRAND but not with - // BIDDING_CATEGORY_L4). - INVALID_LISTING_DIMENSION_TYPE = 120; - - // Customer is not on allowlist for composite audience in display campaigns. - ADVERTISER_NOT_ON_ALLOWLIST_FOR_COMBINED_AUDIENCE_ON_DISPLAY = 127; - - // Cannot target on a removed combined audience. - CANNOT_TARGET_REMOVED_COMBINED_AUDIENCE = 128; - - // Combined audience ID is invalid. - INVALID_COMBINED_AUDIENCE_ID = 129; - - // Can not target removed combined audience. - CANNOT_TARGET_REMOVED_CUSTOM_AUDIENCE = 130; - - // Range represented by hotel check-in date's start date and end date - // overlaps with an existing criterion. - HOTEL_CHECK_IN_DATE_RANGE_OVERLAPS_WITH_EXISTING_CRITERION = 131; - - // Start date is earlier than earliest allowed value of yesterday UTC. - HOTEL_CHECK_IN_DATE_RANGE_START_DATE_TOO_EARLY = 132; - - // End date later is than latest allowed day of 330 days in the future UTC. - HOTEL_CHECK_IN_DATE_RANGE_END_DATE_TOO_LATE = 133; - - // Start date is after end date. - HOTEL_CHECK_IN_DATE_RANGE_REVERSED = 134; - - // Broad match modifier (BMM) keywords can no longer be created. See - // https://ads-developers.googleblog.com/2021/06/broad-match-modifier-upcoming-changes.html. - BROAD_MATCH_MODIFIER_KEYWORD_NOT_ALLOWED = 135; - - // Only one audience is allowed in an asset group. - ONE_AUDIENCE_ALLOWED_PER_ASSET_GROUP = 136; - - // Audience is not supported for the specified campaign type. - AUDIENCE_NOT_ELIGIBLE_FOR_CAMPAIGN_TYPE = 137; - - // Audience is not allowed to attach when use_audience_grouped bit is set to - // false. - AUDIENCE_NOT_ALLOWED_TO_ATTACH_WHEN_AUDIENCE_GROUPED_SET_TO_FALSE = 138; - - // Targeting is not allowed for Customer Match lists as per Customer Match - // policy. See - // https://support.google.com/google-ads/answer/6299717. - CANNOT_TARGET_CUSTOMER_MATCH_USER_LIST = 139; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/currency_code_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/currency_code_error.proto deleted file mode 100644 index 1db7ab744..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/currency_code_error.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CurrencyCodeErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing currency code errors. - -// Container for enum describing possible currency code errors. -message CurrencyCodeErrorEnum { - // Enum describing possible currency code errors. - enum CurrencyCodeError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The currency code is not supported. - UNSUPPORTED = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/custom_audience_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/custom_audience_error.proto deleted file mode 100644 index 585144d2c..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/custom_audience_error.proto +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomAudienceErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing custom audience errors. - -// Container for enum describing possible custom audience errors. -message CustomAudienceErrorEnum { - // Enum describing possible custom audience errors. - enum CustomAudienceError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // New name in the custom audience is duplicated ignoring cases. - NAME_ALREADY_USED = 2; - - // Cannot remove a custom audience while it's still being used as targeting. - CANNOT_REMOVE_WHILE_IN_USE = 3; - - // Cannot update or remove a custom audience that is already removed. - RESOURCE_ALREADY_REMOVED = 4; - - // The pair of [type, value] already exists in members. - MEMBER_TYPE_AND_PARAMETER_ALREADY_EXISTED = 5; - - // Member type is invalid. - INVALID_MEMBER_TYPE = 6; - - // Member type does not have associated value. - MEMBER_TYPE_AND_VALUE_DOES_NOT_MATCH = 7; - - // Custom audience contains a member that violates policy. - POLICY_VIOLATION = 8; - - // Change in custom audience type is not allowed. - INVALID_TYPE_CHANGE = 9; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/custom_conversion_goal_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/custom_conversion_goal_error.proto deleted file mode 100644 index 4995f7cf9..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/custom_conversion_goal_error.proto +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomConversionGoalErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing CustomConversionGoal errors. - -// Container for enum describing possible custom conversion goal errors. -message CustomConversionGoalErrorEnum { - // Enum describing possible custom conversion goal errors. - enum CustomConversionGoalError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Cannot find a conversion action with the specified id. - INVALID_CONVERSION_ACTION = 2; - - // The conversion action is not enabled so it cannot be included in a custom - // conversion goal. - CONVERSION_ACTION_NOT_ENABLED = 3; - - // The custom conversion goal cannot be removed because it's linked to a - // campaign. - CANNOT_REMOVE_LINKED_CUSTOM_CONVERSION_GOAL = 4; - - // Custom goal with the same name already exists. - CUSTOM_GOAL_DUPLICATE_NAME = 5; - - // Custom goal with the same conversion action list already exists. - DUPLICATE_CONVERSION_ACTION_LIST = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/custom_interest_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/custom_interest_error.proto deleted file mode 100644 index 5c2ee1975..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/custom_interest_error.proto +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomInterestErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing custom interest errors. - -// Container for enum describing possible custom interest errors. -message CustomInterestErrorEnum { - // Enum describing possible custom interest errors. - enum CustomInterestError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Duplicate custom interest name ignoring case. - NAME_ALREADY_USED = 2; - - // In the remove custom interest member operation, both member ID and - // pair [type, parameter] are not present. - CUSTOM_INTEREST_MEMBER_ID_AND_TYPE_PARAMETER_NOT_PRESENT_IN_REMOVE = 3; - - // The pair of [type, parameter] does not exist. - TYPE_AND_PARAMETER_NOT_FOUND = 4; - - // The pair of [type, parameter] already exists. - TYPE_AND_PARAMETER_ALREADY_EXISTED = 5; - - // Unsupported custom interest member type. - INVALID_CUSTOM_INTEREST_MEMBER_TYPE = 6; - - // Cannot remove a custom interest while it's still being targeted. - CANNOT_REMOVE_WHILE_IN_USE = 7; - - // Cannot mutate custom interest type. - CANNOT_CHANGE_TYPE = 8; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/customer_client_link_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/customer_client_link_error.proto deleted file mode 100644 index 1f17bd51f..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/customer_client_link_error.proto +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomerClientLinkErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing CustomerClientLink errors. - -// Container for enum describing possible CustomeClientLink errors. -message CustomerClientLinkErrorEnum { - // Enum describing possible CustomerClientLink errors. - enum CustomerClientLinkError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Trying to manage a client that already in being managed by customer. - CLIENT_ALREADY_INVITED_BY_THIS_MANAGER = 2; - - // Already managed by some other manager in the hierarchy. - CLIENT_ALREADY_MANAGED_IN_HIERARCHY = 3; - - // Attempt to create a cycle in the hierarchy. - CYCLIC_LINK_NOT_ALLOWED = 4; - - // Managed accounts has the maximum number of linked accounts. - CUSTOMER_HAS_TOO_MANY_ACCOUNTS = 5; - - // Invitor has the maximum pending invitations. - CLIENT_HAS_TOO_MANY_INVITATIONS = 6; - - // Attempt to change hidden status of a link that is not active. - CANNOT_HIDE_OR_UNHIDE_MANAGER_ACCOUNTS = 7; - - // Parent manager account has the maximum number of linked accounts. - CUSTOMER_HAS_TOO_MANY_ACCOUNTS_AT_MANAGER = 8; - - // Client has too many managers. - CLIENT_HAS_TOO_MANY_MANAGERS = 9; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/customer_customizer_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/customer_customizer_error.proto deleted file mode 100644 index a2ccea844..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/customer_customizer_error.proto +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomerCustomizerErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing customer customizer errors. - -// Container for enum describing possible customer customizer errors. -message CustomerCustomizerErrorEnum { - // Enum describing possible customer customizer errors. - enum CustomerCustomizerError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/customer_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/customer_error.proto deleted file mode 100644 index c2c89a5f5..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/customer_error.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomerErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Container for enum describing possible customer errors. -message CustomerErrorEnum { - // Set of errors that are related to requests dealing with Customer. - enum CustomerError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Customer status is not allowed to be changed from DRAFT and CLOSED. - // Currency code and at least one of country code and time zone needs to be - // set when status is changed to ENABLED. - STATUS_CHANGE_DISALLOWED = 2; - - // CustomerService cannot get a customer that has not been fully set up. - ACCOUNT_NOT_SET_UP = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/customer_feed_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/customer_feed_error.proto deleted file mode 100644 index 9dc837eb6..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/customer_feed_error.proto +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomerFeedErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing customer feed errors. - -// Container for enum describing possible customer feed errors. -message CustomerFeedErrorEnum { - // Enum describing possible customer feed errors. - enum CustomerFeedError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // An active feed already exists for this customer and place holder type. - FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE = 2; - - // The specified feed is removed. - CANNOT_CREATE_FOR_REMOVED_FEED = 3; - - // The CustomerFeed already exists. Update should be used to modify the - // existing CustomerFeed. - CANNOT_CREATE_ALREADY_EXISTING_CUSTOMER_FEED = 4; - - // Cannot update removed customer feed. - CANNOT_MODIFY_REMOVED_CUSTOMER_FEED = 5; - - // Invalid placeholder type. - INVALID_PLACEHOLDER_TYPE = 6; - - // Feed mapping for this placeholder type does not exist. - MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE = 7; - - // Placeholder not allowed at the account level. - PLACEHOLDER_TYPE_NOT_ALLOWED_ON_CUSTOMER_FEED = 8; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/customer_manager_link_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/customer_manager_link_error.proto deleted file mode 100644 index bd97b7f45..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/customer_manager_link_error.proto +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomerManagerLinkErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing CustomerManagerLink errors. - -// Container for enum describing possible CustomerManagerLink errors. -message CustomerManagerLinkErrorEnum { - // Enum describing possible CustomerManagerLink errors. - enum CustomerManagerLinkError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // No pending invitation. - NO_PENDING_INVITE = 2; - - // Attempt to operate on the same client more than once in the same call. - SAME_CLIENT_MORE_THAN_ONCE_PER_CALL = 3; - - // Manager account has the maximum number of linked accounts. - MANAGER_HAS_MAX_NUMBER_OF_LINKED_ACCOUNTS = 4; - - // If no active user on account it cannot be unlinked from its manager. - CANNOT_UNLINK_ACCOUNT_WITHOUT_ACTIVE_USER = 5; - - // Account should have at least one active owner on it before being - // unlinked. - CANNOT_REMOVE_LAST_CLIENT_ACCOUNT_OWNER = 6; - - // Only account owners may change their permission role. - CANNOT_CHANGE_ROLE_BY_NON_ACCOUNT_OWNER = 7; - - // When a client's link to its manager is not active, the link role cannot - // be changed. - CANNOT_CHANGE_ROLE_FOR_NON_ACTIVE_LINK_ACCOUNT = 8; - - // Attempt to link a child to a parent that contains or will contain - // duplicate children. - DUPLICATE_CHILD_FOUND = 9; - - // The authorized customer is a test account. It can add no more than the - // allowed number of accounts - TEST_ACCOUNT_LINKS_TOO_MANY_CHILD_ACCOUNTS = 10; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/customer_user_access_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/customer_user_access_error.proto deleted file mode 100644 index 15aa501f8..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/customer_user_access_error.proto +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomerUserAccessErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing CustomerUserAccess errors. - -// Container for enum describing possible CustomerUserAccess errors. -message CustomerUserAccessErrorEnum { - // Enum describing possible customer user access errors. - enum CustomerUserAccessError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // There is no user associated with the user id specified. - INVALID_USER_ID = 2; - - // Unable to remove the access between the user and customer. - REMOVAL_DISALLOWED = 3; - - // Unable to add or update the access role as specified. - DISALLOWED_ACCESS_ROLE = 4; - - // The user can't remove itself from an active serving customer if it's the - // last admin user and the customer doesn't have any owner manager - LAST_ADMIN_USER_OF_SERVING_CUSTOMER = 5; - - // Last admin user cannot be removed from a manager. - LAST_ADMIN_USER_OF_MANAGER = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/customizer_attribute_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/customizer_attribute_error.proto deleted file mode 100644 index 30ee68652..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/customizer_attribute_error.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomizerAttributeErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing customizer attribute errors. - -// Container for enum describing possible customizer attribute errors. -message CustomizerAttributeErrorEnum { - // Enum describing possible customizer attribute errors. - enum CustomizerAttributeError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // CustomizerAttribute name matches that of another active - // CustomizerAttribute. - DUPLICATE_CUSTOMIZER_ATTRIBUTE_NAME = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/database_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/database_error.proto deleted file mode 100644 index 4814289e1..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/database_error.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "DatabaseErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing database errors. - -// Container for enum describing possible database errors. -message DatabaseErrorEnum { - // Enum describing possible database errors. - enum DatabaseError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Multiple requests were attempting to modify the same resource at once. - // Retry the request. - CONCURRENT_MODIFICATION = 2; - - // The request conflicted with existing data. This error will usually be - // replaced with a more specific error if the request is retried. - DATA_CONSTRAINT_VIOLATION = 3; - - // The data written is too large. Split the request into smaller - // requests. - REQUEST_TOO_LARGE = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/date_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/date_error.proto deleted file mode 100644 index 5bd9102d3..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/date_error.proto +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "DateErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing date errors. - -// Container for enum describing possible date errors. -message DateErrorEnum { - // Enum describing possible date errors. - enum DateError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Given field values do not correspond to a valid date. - INVALID_FIELD_VALUES_IN_DATE = 2; - - // Given field values do not correspond to a valid date time. - INVALID_FIELD_VALUES_IN_DATE_TIME = 3; - - // The string date's format should be yyyy-mm-dd. - INVALID_STRING_DATE = 4; - - // The string date time's format should be yyyy-mm-dd hh:mm:ss.ssssss. - INVALID_STRING_DATE_TIME_MICROS = 6; - - // The string date time's format should be yyyy-mm-dd hh:mm:ss. - INVALID_STRING_DATE_TIME_SECONDS = 11; - - // The string date time's format should be yyyy-mm-dd hh:mm:ss+|-hh:mm. - INVALID_STRING_DATE_TIME_SECONDS_WITH_OFFSET = 12; - - // Date is before allowed minimum. - EARLIER_THAN_MINIMUM_DATE = 7; - - // Date is after allowed maximum. - LATER_THAN_MAXIMUM_DATE = 8; - - // Date range bounds are not in order. - DATE_RANGE_MINIMUM_DATE_LATER_THAN_MAXIMUM_DATE = 9; - - // Both dates in range are null. - DATE_RANGE_MINIMUM_AND_MAXIMUM_DATES_BOTH_NULL = 10; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/date_range_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/date_range_error.proto deleted file mode 100644 index 2f40c4145..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/date_range_error.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "DateRangeErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing date range errors. - -// Container for enum describing possible date range errors. -message DateRangeErrorEnum { - // Enum describing possible date range errors. - enum DateRangeError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Invalid date. - INVALID_DATE = 2; - - // The start date was after the end date. - START_DATE_AFTER_END_DATE = 3; - - // Cannot set date to past time - CANNOT_SET_DATE_TO_PAST = 4; - - // A date was used that is past the system "last" date. - AFTER_MAXIMUM_ALLOWABLE_DATE = 5; - - // Trying to change start date on a resource that has started. - CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/distinct_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/distinct_error.proto deleted file mode 100644 index 36bdd9759..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/distinct_error.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "DistinctErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing distinct errors. - -// Container for enum describing possible distinct errors. -message DistinctErrorEnum { - // Enum describing possible distinct errors. - enum DistinctError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Duplicate element. - DUPLICATE_ELEMENT = 2; - - // Duplicate type. - DUPLICATE_TYPE = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/enum_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/enum_error.proto deleted file mode 100644 index 29598ccc7..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/enum_error.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "EnumErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing enum errors. - -// Container for enum describing possible enum errors. -message EnumErrorEnum { - // Enum describing possible enum errors. - enum EnumError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The enum value is not permitted. - ENUM_VALUE_NOT_PERMITTED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/errors.proto b/third_party/googleapis/google/ads/googleads/v12/errors/errors.proto deleted file mode 100644 index 2e0718506..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/errors.proto +++ /dev/null @@ -1,743 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -import "google/ads/googleads/v12/common/policy.proto"; -import "google/ads/googleads/v12/common/value.proto"; -import "google/ads/googleads/v12/enums/resource_limit_type.proto"; -import "google/ads/googleads/v12/errors/access_invitation_error.proto"; -import "google/ads/googleads/v12/errors/account_budget_proposal_error.proto"; -import "google/ads/googleads/v12/errors/account_link_error.proto"; -import "google/ads/googleads/v12/errors/ad_customizer_error.proto"; -import "google/ads/googleads/v12/errors/ad_error.proto"; -import "google/ads/googleads/v12/errors/ad_group_ad_error.proto"; -import "google/ads/googleads/v12/errors/ad_group_bid_modifier_error.proto"; -import "google/ads/googleads/v12/errors/ad_group_criterion_customizer_error.proto"; -import "google/ads/googleads/v12/errors/ad_group_criterion_error.proto"; -import "google/ads/googleads/v12/errors/ad_group_customizer_error.proto"; -import "google/ads/googleads/v12/errors/ad_group_error.proto"; -import "google/ads/googleads/v12/errors/ad_group_feed_error.proto"; -import "google/ads/googleads/v12/errors/ad_parameter_error.proto"; -import "google/ads/googleads/v12/errors/ad_sharing_error.proto"; -import "google/ads/googleads/v12/errors/adx_error.proto"; -import "google/ads/googleads/v12/errors/asset_error.proto"; -import "google/ads/googleads/v12/errors/asset_group_asset_error.proto"; -import "google/ads/googleads/v12/errors/asset_group_error.proto"; -import "google/ads/googleads/v12/errors/asset_group_listing_group_filter_error.proto"; -import "google/ads/googleads/v12/errors/asset_link_error.proto"; -import "google/ads/googleads/v12/errors/asset_set_asset_error.proto"; -import "google/ads/googleads/v12/errors/asset_set_error.proto"; -import "google/ads/googleads/v12/errors/asset_set_link_error.proto"; -import "google/ads/googleads/v12/errors/audience_error.proto"; -import "google/ads/googleads/v12/errors/audience_insights_error.proto"; -import "google/ads/googleads/v12/errors/authentication_error.proto"; -import "google/ads/googleads/v12/errors/authorization_error.proto"; -import "google/ads/googleads/v12/errors/batch_job_error.proto"; -import "google/ads/googleads/v12/errors/bidding_error.proto"; -import "google/ads/googleads/v12/errors/bidding_strategy_error.proto"; -import "google/ads/googleads/v12/errors/billing_setup_error.proto"; -import "google/ads/googleads/v12/errors/campaign_budget_error.proto"; -import "google/ads/googleads/v12/errors/campaign_conversion_goal_error.proto"; -import "google/ads/googleads/v12/errors/campaign_criterion_error.proto"; -import "google/ads/googleads/v12/errors/campaign_customizer_error.proto"; -import "google/ads/googleads/v12/errors/campaign_draft_error.proto"; -import "google/ads/googleads/v12/errors/campaign_error.proto"; -import "google/ads/googleads/v12/errors/campaign_experiment_error.proto"; -import "google/ads/googleads/v12/errors/campaign_feed_error.proto"; -import "google/ads/googleads/v12/errors/campaign_shared_set_error.proto"; -import "google/ads/googleads/v12/errors/change_event_error.proto"; -import "google/ads/googleads/v12/errors/change_status_error.proto"; -import "google/ads/googleads/v12/errors/collection_size_error.proto"; -import "google/ads/googleads/v12/errors/context_error.proto"; -import "google/ads/googleads/v12/errors/conversion_action_error.proto"; -import "google/ads/googleads/v12/errors/conversion_adjustment_upload_error.proto"; -import "google/ads/googleads/v12/errors/conversion_custom_variable_error.proto"; -import "google/ads/googleads/v12/errors/conversion_goal_campaign_config_error.proto"; -import "google/ads/googleads/v12/errors/conversion_upload_error.proto"; -import "google/ads/googleads/v12/errors/conversion_value_rule_error.proto"; -import "google/ads/googleads/v12/errors/conversion_value_rule_set_error.proto"; -import "google/ads/googleads/v12/errors/country_code_error.proto"; -import "google/ads/googleads/v12/errors/criterion_error.proto"; -import "google/ads/googleads/v12/errors/currency_code_error.proto"; -import "google/ads/googleads/v12/errors/custom_audience_error.proto"; -import "google/ads/googleads/v12/errors/custom_conversion_goal_error.proto"; -import "google/ads/googleads/v12/errors/custom_interest_error.proto"; -import "google/ads/googleads/v12/errors/customer_client_link_error.proto"; -import "google/ads/googleads/v12/errors/customer_customizer_error.proto"; -import "google/ads/googleads/v12/errors/customer_error.proto"; -import "google/ads/googleads/v12/errors/customer_feed_error.proto"; -import "google/ads/googleads/v12/errors/customer_manager_link_error.proto"; -import "google/ads/googleads/v12/errors/customer_user_access_error.proto"; -import "google/ads/googleads/v12/errors/customizer_attribute_error.proto"; -import "google/ads/googleads/v12/errors/database_error.proto"; -import "google/ads/googleads/v12/errors/date_error.proto"; -import "google/ads/googleads/v12/errors/date_range_error.proto"; -import "google/ads/googleads/v12/errors/distinct_error.proto"; -import "google/ads/googleads/v12/errors/enum_error.proto"; -import "google/ads/googleads/v12/errors/experiment_arm_error.proto"; -import "google/ads/googleads/v12/errors/experiment_error.proto"; -import "google/ads/googleads/v12/errors/extension_feed_item_error.proto"; -import "google/ads/googleads/v12/errors/extension_setting_error.proto"; -import "google/ads/googleads/v12/errors/feed_attribute_reference_error.proto"; -import "google/ads/googleads/v12/errors/feed_error.proto"; -import "google/ads/googleads/v12/errors/feed_item_error.proto"; -import "google/ads/googleads/v12/errors/feed_item_set_error.proto"; -import "google/ads/googleads/v12/errors/feed_item_set_link_error.proto"; -import "google/ads/googleads/v12/errors/feed_item_target_error.proto"; -import "google/ads/googleads/v12/errors/feed_item_validation_error.proto"; -import "google/ads/googleads/v12/errors/feed_mapping_error.proto"; -import "google/ads/googleads/v12/errors/field_error.proto"; -import "google/ads/googleads/v12/errors/field_mask_error.proto"; -import "google/ads/googleads/v12/errors/function_error.proto"; -import "google/ads/googleads/v12/errors/function_parsing_error.proto"; -import "google/ads/googleads/v12/errors/geo_target_constant_suggestion_error.proto"; -import "google/ads/googleads/v12/errors/header_error.proto"; -import "google/ads/googleads/v12/errors/id_error.proto"; -import "google/ads/googleads/v12/errors/image_error.proto"; -import "google/ads/googleads/v12/errors/internal_error.proto"; -import "google/ads/googleads/v12/errors/invoice_error.proto"; -import "google/ads/googleads/v12/errors/keyword_plan_ad_group_error.proto"; -import "google/ads/googleads/v12/errors/keyword_plan_ad_group_keyword_error.proto"; -import "google/ads/googleads/v12/errors/keyword_plan_campaign_error.proto"; -import "google/ads/googleads/v12/errors/keyword_plan_campaign_keyword_error.proto"; -import "google/ads/googleads/v12/errors/keyword_plan_error.proto"; -import "google/ads/googleads/v12/errors/keyword_plan_idea_error.proto"; -import "google/ads/googleads/v12/errors/label_error.proto"; -import "google/ads/googleads/v12/errors/language_code_error.proto"; -import "google/ads/googleads/v12/errors/list_operation_error.proto"; -import "google/ads/googleads/v12/errors/manager_link_error.proto"; -import "google/ads/googleads/v12/errors/media_bundle_error.proto"; -import "google/ads/googleads/v12/errors/media_file_error.proto"; -import "google/ads/googleads/v12/errors/media_upload_error.proto"; -import "google/ads/googleads/v12/errors/merchant_center_error.proto"; -import "google/ads/googleads/v12/errors/multiplier_error.proto"; -import "google/ads/googleads/v12/errors/mutate_error.proto"; -import "google/ads/googleads/v12/errors/new_resource_creation_error.proto"; -import "google/ads/googleads/v12/errors/not_allowlisted_error.proto"; -import "google/ads/googleads/v12/errors/not_empty_error.proto"; -import "google/ads/googleads/v12/errors/null_error.proto"; -import "google/ads/googleads/v12/errors/offline_user_data_job_error.proto"; -import "google/ads/googleads/v12/errors/operation_access_denied_error.proto"; -import "google/ads/googleads/v12/errors/operator_error.proto"; -import "google/ads/googleads/v12/errors/partial_failure_error.proto"; -import "google/ads/googleads/v12/errors/payments_account_error.proto"; -import "google/ads/googleads/v12/errors/policy_finding_error.proto"; -import "google/ads/googleads/v12/errors/policy_validation_parameter_error.proto"; -import "google/ads/googleads/v12/errors/policy_violation_error.proto"; -import "google/ads/googleads/v12/errors/query_error.proto"; -import "google/ads/googleads/v12/errors/quota_error.proto"; -import "google/ads/googleads/v12/errors/range_error.proto"; -import "google/ads/googleads/v12/errors/reach_plan_error.proto"; -import "google/ads/googleads/v12/errors/recommendation_error.proto"; -import "google/ads/googleads/v12/errors/region_code_error.proto"; -import "google/ads/googleads/v12/errors/request_error.proto"; -import "google/ads/googleads/v12/errors/resource_access_denied_error.proto"; -import "google/ads/googleads/v12/errors/resource_count_limit_exceeded_error.proto"; -import "google/ads/googleads/v12/errors/setting_error.proto"; -import "google/ads/googleads/v12/errors/shared_criterion_error.proto"; -import "google/ads/googleads/v12/errors/shared_set_error.proto"; -import "google/ads/googleads/v12/errors/size_limit_error.proto"; -import "google/ads/googleads/v12/errors/smart_campaign_error.proto"; -import "google/ads/googleads/v12/errors/string_format_error.proto"; -import "google/ads/googleads/v12/errors/string_length_error.proto"; -import "google/ads/googleads/v12/errors/third_party_app_analytics_link_error.proto"; -import "google/ads/googleads/v12/errors/time_zone_error.proto"; -import "google/ads/googleads/v12/errors/url_field_error.proto"; -import "google/ads/googleads/v12/errors/user_data_error.proto"; -import "google/ads/googleads/v12/errors/user_list_error.proto"; -import "google/ads/googleads/v12/errors/youtube_video_registration_error.proto"; -import "google/protobuf/duration.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ErrorsProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing the common error protos - -// Describes how a GoogleAds API call failed. It's returned inside -// google.rpc.Status.details when a call fails. -message GoogleAdsFailure { - // The list of errors that occurred. - repeated GoogleAdsError errors = 1; - - // The unique ID of the request that is used for debugging purposes. - string request_id = 2; -} - -// GoogleAds-specific error. -message GoogleAdsError { - // An enum value that indicates which error occurred. - ErrorCode error_code = 1; - - // A human-readable description of the error. - string message = 2; - - // The value that triggered the error. - google.ads.googleads.v12.common.Value trigger = 3; - - // Describes the part of the request proto that caused the error. - ErrorLocation location = 4; - - // Additional error details, which are returned by certain error codes. Most - // error codes do not include details. - ErrorDetails details = 5; -} - -// The error reason represented by type and enum. -message ErrorCode { - // The list of error enums - oneof error_code { - // An error caused by the request - RequestErrorEnum.RequestError request_error = 1; - - // An error with a Bidding Strategy mutate. - BiddingStrategyErrorEnum.BiddingStrategyError bidding_strategy_error = 2; - - // An error with a URL field mutate. - UrlFieldErrorEnum.UrlFieldError url_field_error = 3; - - // An error with a list operation. - ListOperationErrorEnum.ListOperationError list_operation_error = 4; - - // An error with an AWQL query - QueryErrorEnum.QueryError query_error = 5; - - // An error with a mutate - MutateErrorEnum.MutateError mutate_error = 7; - - // An error with a field mask - FieldMaskErrorEnum.FieldMaskError field_mask_error = 8; - - // An error encountered when trying to authorize a user. - AuthorizationErrorEnum.AuthorizationError authorization_error = 9; - - // An unexpected server-side error. - InternalErrorEnum.InternalError internal_error = 10; - - // An error with the amonut of quota remaining. - QuotaErrorEnum.QuotaError quota_error = 11; - - // An error with an Ad Group Ad mutate. - AdErrorEnum.AdError ad_error = 12; - - // An error with an Ad Group mutate. - AdGroupErrorEnum.AdGroupError ad_group_error = 13; - - // An error with a Campaign Budget mutate. - CampaignBudgetErrorEnum.CampaignBudgetError campaign_budget_error = 14; - - // An error with a Campaign mutate. - CampaignErrorEnum.CampaignError campaign_error = 15; - - // Indicates failure to properly authenticate user. - AuthenticationErrorEnum.AuthenticationError authentication_error = 17; - - // The reasons for the ad group criterion customizer error. - AdGroupCriterionCustomizerErrorEnum.AdGroupCriterionCustomizerError ad_group_criterion_customizer_error = 161; - - // Indicates failure to properly authenticate user. - AdGroupCriterionErrorEnum.AdGroupCriterionError ad_group_criterion_error = 18; - - // The reasons for the ad group customizer error. - AdGroupCustomizerErrorEnum.AdGroupCustomizerError ad_group_customizer_error = 159; - - // The reasons for the ad customizer error - AdCustomizerErrorEnum.AdCustomizerError ad_customizer_error = 19; - - // The reasons for the ad group ad error - AdGroupAdErrorEnum.AdGroupAdError ad_group_ad_error = 21; - - // The reasons for the ad sharing error - AdSharingErrorEnum.AdSharingError ad_sharing_error = 24; - - // The reasons for the adx error - AdxErrorEnum.AdxError adx_error = 25; - - // The reasons for the asset error - AssetErrorEnum.AssetError asset_error = 107; - - // The reasons for the asset group asset error - AssetGroupAssetErrorEnum.AssetGroupAssetError asset_group_asset_error = 149; - - // The reasons for the asset group listing group filter error - AssetGroupListingGroupFilterErrorEnum.AssetGroupListingGroupFilterError asset_group_listing_group_filter_error = 155; - - // The reasons for the asset group error - AssetGroupErrorEnum.AssetGroupError asset_group_error = 148; - - // The reasons for the asset set asset error - AssetSetAssetErrorEnum.AssetSetAssetError asset_set_asset_error = 153; - - // The reasons for the asset set link error - AssetSetLinkErrorEnum.AssetSetLinkError asset_set_link_error = 154; - - // The reasons for the asset set error - AssetSetErrorEnum.AssetSetError asset_set_error = 152; - - // The reasons for the bidding errors - BiddingErrorEnum.BiddingError bidding_error = 26; - - // The reasons for the campaign criterion error - CampaignCriterionErrorEnum.CampaignCriterionError campaign_criterion_error = 29; - - // The reasons for the campaign conversion goal error - CampaignConversionGoalErrorEnum.CampaignConversionGoalError campaign_conversion_goal_error = 166; - - // The reasons for the campaign customizer error. - CampaignCustomizerErrorEnum.CampaignCustomizerError campaign_customizer_error = 160; - - // The reasons for the collection size error - CollectionSizeErrorEnum.CollectionSizeError collection_size_error = 31; - - // The reasons for the conversion goal campaign config error - ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigError conversion_goal_campaign_config_error = 165; - - // The reasons for the country code error - CountryCodeErrorEnum.CountryCodeError country_code_error = 109; - - // The reasons for the criterion error - CriterionErrorEnum.CriterionError criterion_error = 32; - - // The reasons for the custom conversion goal error - CustomConversionGoalErrorEnum.CustomConversionGoalError custom_conversion_goal_error = 150; - - // The reasons for the customer customizer error. - CustomerCustomizerErrorEnum.CustomerCustomizerError customer_customizer_error = 158; - - // The reasons for the customer error - CustomerErrorEnum.CustomerError customer_error = 90; - - // The reasons for the customizer attribute error. - CustomizerAttributeErrorEnum.CustomizerAttributeError customizer_attribute_error = 151; - - // The reasons for the date error - DateErrorEnum.DateError date_error = 33; - - // The reasons for the date range error - DateRangeErrorEnum.DateRangeError date_range_error = 34; - - // The reasons for the distinct error - DistinctErrorEnum.DistinctError distinct_error = 35; - - // The reasons for the feed attribute reference error - FeedAttributeReferenceErrorEnum.FeedAttributeReferenceError feed_attribute_reference_error = 36; - - // The reasons for the function error - FunctionErrorEnum.FunctionError function_error = 37; - - // The reasons for the function parsing error - FunctionParsingErrorEnum.FunctionParsingError function_parsing_error = 38; - - // The reasons for the id error - IdErrorEnum.IdError id_error = 39; - - // The reasons for the image error - ImageErrorEnum.ImageError image_error = 40; - - // The reasons for the language code error - LanguageCodeErrorEnum.LanguageCodeError language_code_error = 110; - - // The reasons for the media bundle error - MediaBundleErrorEnum.MediaBundleError media_bundle_error = 42; - - // The reasons for media uploading errors. - MediaUploadErrorEnum.MediaUploadError media_upload_error = 116; - - // The reasons for the media file error - MediaFileErrorEnum.MediaFileError media_file_error = 86; - - // Container for enum describing possible merchant center errors. - MerchantCenterErrorEnum.MerchantCenterError merchant_center_error = 162; - - // The reasons for the multiplier error - MultiplierErrorEnum.MultiplierError multiplier_error = 44; - - // The reasons for the new resource creation error - NewResourceCreationErrorEnum.NewResourceCreationError new_resource_creation_error = 45; - - // The reasons for the not empty error - NotEmptyErrorEnum.NotEmptyError not_empty_error = 46; - - // The reasons for the null error - NullErrorEnum.NullError null_error = 47; - - // The reasons for the operator error - OperatorErrorEnum.OperatorError operator_error = 48; - - // The reasons for the range error - RangeErrorEnum.RangeError range_error = 49; - - // The reasons for error in applying a recommendation - RecommendationErrorEnum.RecommendationError recommendation_error = 58; - - // The reasons for the region code error - RegionCodeErrorEnum.RegionCodeError region_code_error = 51; - - // The reasons for the setting error - SettingErrorEnum.SettingError setting_error = 52; - - // The reasons for the string format error - StringFormatErrorEnum.StringFormatError string_format_error = 53; - - // The reasons for the string length error - StringLengthErrorEnum.StringLengthError string_length_error = 54; - - // The reasons for the operation access denied error - OperationAccessDeniedErrorEnum.OperationAccessDeniedError operation_access_denied_error = 55; - - // The reasons for the resource access denied error - ResourceAccessDeniedErrorEnum.ResourceAccessDeniedError resource_access_denied_error = 56; - - // The reasons for the resource count limit exceeded error - ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError resource_count_limit_exceeded_error = 57; - - // The reasons for YouTube video registration errors. - YoutubeVideoRegistrationErrorEnum.YoutubeVideoRegistrationError youtube_video_registration_error = 117; - - // The reasons for the ad group bid modifier error - AdGroupBidModifierErrorEnum.AdGroupBidModifierError ad_group_bid_modifier_error = 59; - - // The reasons for the context error - ContextErrorEnum.ContextError context_error = 60; - - // The reasons for the field error - FieldErrorEnum.FieldError field_error = 61; - - // The reasons for the shared set error - SharedSetErrorEnum.SharedSetError shared_set_error = 62; - - // The reasons for the shared criterion error - SharedCriterionErrorEnum.SharedCriterionError shared_criterion_error = 63; - - // The reasons for the campaign shared set error - CampaignSharedSetErrorEnum.CampaignSharedSetError campaign_shared_set_error = 64; - - // The reasons for the conversion action error - ConversionActionErrorEnum.ConversionActionError conversion_action_error = 65; - - // The reasons for the conversion adjustment upload error - ConversionAdjustmentUploadErrorEnum.ConversionAdjustmentUploadError conversion_adjustment_upload_error = 115; - - // The reasons for the conversion custom variable error - ConversionCustomVariableErrorEnum.ConversionCustomVariableError conversion_custom_variable_error = 143; - - // The reasons for the conversion upload error - ConversionUploadErrorEnum.ConversionUploadError conversion_upload_error = 111; - - // The reasons for the conversion value rule error - ConversionValueRuleErrorEnum.ConversionValueRuleError conversion_value_rule_error = 145; - - // The reasons for the conversion value rule set error - ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError conversion_value_rule_set_error = 146; - - // The reasons for the header error. - HeaderErrorEnum.HeaderError header_error = 66; - - // The reasons for the database error. - DatabaseErrorEnum.DatabaseError database_error = 67; - - // The reasons for the policy finding error. - PolicyFindingErrorEnum.PolicyFindingError policy_finding_error = 68; - - // The reason for enum error. - EnumErrorEnum.EnumError enum_error = 70; - - // The reason for keyword plan error. - KeywordPlanErrorEnum.KeywordPlanError keyword_plan_error = 71; - - // The reason for keyword plan campaign error. - KeywordPlanCampaignErrorEnum.KeywordPlanCampaignError keyword_plan_campaign_error = 72; - - // The reason for keyword plan campaign keyword error. - KeywordPlanCampaignKeywordErrorEnum.KeywordPlanCampaignKeywordError keyword_plan_campaign_keyword_error = 132; - - // The reason for keyword plan ad group error. - KeywordPlanAdGroupErrorEnum.KeywordPlanAdGroupError keyword_plan_ad_group_error = 74; - - // The reason for keyword plan ad group keyword error. - KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError keyword_plan_ad_group_keyword_error = 133; - - // The reason for keyword idea error. - KeywordPlanIdeaErrorEnum.KeywordPlanIdeaError keyword_plan_idea_error = 76; - - // The reasons for account budget proposal errors. - AccountBudgetProposalErrorEnum.AccountBudgetProposalError account_budget_proposal_error = 77; - - // The reasons for the user list error - UserListErrorEnum.UserListError user_list_error = 78; - - // The reasons for the change event error - ChangeEventErrorEnum.ChangeEventError change_event_error = 136; - - // The reasons for the change status error - ChangeStatusErrorEnum.ChangeStatusError change_status_error = 79; - - // The reasons for the feed error - FeedErrorEnum.FeedError feed_error = 80; - - // The reasons for the geo target constant suggestion error. - GeoTargetConstantSuggestionErrorEnum.GeoTargetConstantSuggestionError geo_target_constant_suggestion_error = 81; - - // The reasons for the campaign draft error - CampaignDraftErrorEnum.CampaignDraftError campaign_draft_error = 82; - - // The reasons for the feed item error - FeedItemErrorEnum.FeedItemError feed_item_error = 83; - - // The reason for the label error. - LabelErrorEnum.LabelError label_error = 84; - - // The reasons for the billing setup error - BillingSetupErrorEnum.BillingSetupError billing_setup_error = 87; - - // The reasons for the customer client link error - CustomerClientLinkErrorEnum.CustomerClientLinkError customer_client_link_error = 88; - - // The reasons for the customer manager link error - CustomerManagerLinkErrorEnum.CustomerManagerLinkError customer_manager_link_error = 91; - - // The reasons for the feed mapping error - FeedMappingErrorEnum.FeedMappingError feed_mapping_error = 92; - - // The reasons for the customer feed error - CustomerFeedErrorEnum.CustomerFeedError customer_feed_error = 93; - - // The reasons for the ad group feed error - AdGroupFeedErrorEnum.AdGroupFeedError ad_group_feed_error = 94; - - // The reasons for the campaign feed error - CampaignFeedErrorEnum.CampaignFeedError campaign_feed_error = 96; - - // The reasons for the custom interest error - CustomInterestErrorEnum.CustomInterestError custom_interest_error = 97; - - // The reasons for the campaign experiment error - CampaignExperimentErrorEnum.CampaignExperimentError campaign_experiment_error = 98; - - // The reasons for the extension feed item error - ExtensionFeedItemErrorEnum.ExtensionFeedItemError extension_feed_item_error = 100; - - // The reasons for the ad parameter error - AdParameterErrorEnum.AdParameterError ad_parameter_error = 101; - - // The reasons for the feed item validation error - FeedItemValidationErrorEnum.FeedItemValidationError feed_item_validation_error = 102; - - // The reasons for the extension setting error - ExtensionSettingErrorEnum.ExtensionSettingError extension_setting_error = 103; - - // The reasons for the feed item set error - FeedItemSetErrorEnum.FeedItemSetError feed_item_set_error = 140; - - // The reasons for the feed item set link error - FeedItemSetLinkErrorEnum.FeedItemSetLinkError feed_item_set_link_error = 141; - - // The reasons for the feed item target error - FeedItemTargetErrorEnum.FeedItemTargetError feed_item_target_error = 104; - - // The reasons for the policy violation error - PolicyViolationErrorEnum.PolicyViolationError policy_violation_error = 105; - - // The reasons for the mutate job error - PartialFailureErrorEnum.PartialFailureError partial_failure_error = 112; - - // The reasons for the policy validation parameter error - PolicyValidationParameterErrorEnum.PolicyValidationParameterError policy_validation_parameter_error = 114; - - // The reasons for the size limit error - SizeLimitErrorEnum.SizeLimitError size_limit_error = 118; - - // The reasons for the offline user data job error. - OfflineUserDataJobErrorEnum.OfflineUserDataJobError offline_user_data_job_error = 119; - - // The reasons for the not allowlisted error - NotAllowlistedErrorEnum.NotAllowlistedError not_allowlisted_error = 137; - - // The reasons for the manager link error - ManagerLinkErrorEnum.ManagerLinkError manager_link_error = 121; - - // The reasons for the currency code error - CurrencyCodeErrorEnum.CurrencyCodeError currency_code_error = 122; - - // The reasons for the experiment error - ExperimentErrorEnum.ExperimentError experiment_error = 123; - - // The reasons for the access invitation error - AccessInvitationErrorEnum.AccessInvitationError access_invitation_error = 124; - - // The reasons for the reach plan error - ReachPlanErrorEnum.ReachPlanError reach_plan_error = 125; - - // The reasons for the invoice error - InvoiceErrorEnum.InvoiceError invoice_error = 126; - - // The reasons for errors in payments accounts service - PaymentsAccountErrorEnum.PaymentsAccountError payments_account_error = 127; - - // The reasons for the time zone error - TimeZoneErrorEnum.TimeZoneError time_zone_error = 128; - - // The reasons for the asset link error - AssetLinkErrorEnum.AssetLinkError asset_link_error = 129; - - // The reasons for the user data error. - UserDataErrorEnum.UserDataError user_data_error = 130; - - // The reasons for the batch job error - BatchJobErrorEnum.BatchJobError batch_job_error = 131; - - // The reasons for the account link status change error - AccountLinkErrorEnum.AccountLinkError account_link_error = 134; - - // The reasons for the third party app analytics link mutate error - ThirdPartyAppAnalyticsLinkErrorEnum.ThirdPartyAppAnalyticsLinkError third_party_app_analytics_link_error = 135; - - // The reasons for the customer user access mutate error - CustomerUserAccessErrorEnum.CustomerUserAccessError customer_user_access_error = 138; - - // The reasons for the custom audience error - CustomAudienceErrorEnum.CustomAudienceError custom_audience_error = 139; - - // The reasons for the audience error - AudienceErrorEnum.AudienceError audience_error = 164; - - // The reasons for the Smart campaign error - SmartCampaignErrorEnum.SmartCampaignError smart_campaign_error = 147; - - // The reasons for the experiment arm error - ExperimentArmErrorEnum.ExperimentArmError experiment_arm_error = 156; - - // The reasons for the Audience Insights error - AudienceInsightsErrorEnum.AudienceInsightsError audience_insights_error = 167; - } -} - -// Describes the part of the request proto that caused the error. -message ErrorLocation { - // A part of a field path. - message FieldPathElement { - // The name of a field or a oneof - string field_name = 1; - - // If field_name is a repeated field, this is the element that failed - optional int32 index = 3; - } - - // A field path that indicates which field was invalid in the request. - repeated FieldPathElement field_path_elements = 2; -} - -// Additional error details. -message ErrorDetails { - // The error code that should have been returned, but wasn't. This is used - // when the error code is not published in the client specified version. - string unpublished_error_code = 1; - - // Describes an ad policy violation. - PolicyViolationDetails policy_violation_details = 2; - - // Describes policy violation findings. - PolicyFindingDetails policy_finding_details = 3; - - // Details on the quota error, including the scope (account or developer), the - // rate bucket name and the retry delay. - QuotaErrorDetails quota_error_details = 4; - - // Details for a resource count limit exceeded error. - ResourceCountDetails resource_count_details = 5; -} - -// Error returned as part of a mutate response. -// This error indicates single policy violation by some text -// in one of the fields. -message PolicyViolationDetails { - // Human readable description of policy violation. - string external_policy_description = 2; - - // Unique identifier for this violation. - // If policy is exemptible, this key may be used to request exemption. - google.ads.googleads.v12.common.PolicyViolationKey key = 4; - - // Human readable name of the policy. - string external_policy_name = 5; - - // Whether user can file an exemption request for this violation. - bool is_exemptible = 6; -} - -// Error returned as part of a mutate response. -// This error indicates one or more policy findings in the fields of a -// resource. -message PolicyFindingDetails { - // The list of policy topics for the resource. Contains the PROHIBITED or - // FULLY_LIMITED policy topic entries that prevented the resource from being - // saved (among any other entries the resource may also have). - repeated google.ads.googleads.v12.common.PolicyTopicEntry policy_topic_entries = 1; -} - -// Additional quota error details when there is QuotaError. -message QuotaErrorDetails { - // Enum of possible scopes that quota buckets belong to. - enum QuotaRateScope { - // Unspecified enum - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Per customer account quota - ACCOUNT = 2; - - // Per project or DevToken quota - DEVELOPER = 3; - } - - // The rate scope of the quota limit. - QuotaRateScope rate_scope = 1; - - // The high level description of the quota bucket. - // Examples are "Get requests for standard access" or "Requests per account". - string rate_name = 2; - - // Backoff period that customers should wait before sending next request. - google.protobuf.Duration retry_delay = 3; -} - -// Error details returned when an resource count limit was exceeded. -message ResourceCountDetails { - // The ID of the resource whose limit was exceeded. - // External customer ID if the limit is for a customer. - string enclosing_id = 1; - - // The name of the resource (Customer, Campaign etc.) whose limit was - // exceeded. - string enclosing_resource = 5; - - // The limit which was exceeded. - int32 limit = 2; - - // The resource limit type which was exceeded. - google.ads.googleads.v12.enums.ResourceLimitTypeEnum.ResourceLimitType limit_type = 3; - - // The count of existing entities. - int32 existing_count = 4; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/experiment_arm_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/experiment_arm_error.proto deleted file mode 100644 index 1e2232ad4..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/experiment_arm_error.proto +++ /dev/null @@ -1,86 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ExperimentArmErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing experiment arm errors. - -// Container for enum describing possible experiment arm error. -message ExperimentArmErrorEnum { - // Enum describing possible experiment arm errors. - enum ExperimentArmError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Number of experiment arms is above limit. - EXPERIMENT_ARM_COUNT_LIMIT_EXCEEDED = 2; - - // Cannot add campaign with invalid status to the experiment arm. - INVALID_CAMPAIGN_STATUS = 3; - - // Cannot add duplicate experiment arm name in one experiment. - DUPLICATE_EXPERIMENT_ARM_NAME = 4; - - // Cannot set campaigns of treatment experiment arm. - CANNOT_SET_TREATMENT_ARM_CAMPAIGN = 5; - - // Cannot edit campaign ids in trial arms in non SETUP experiment. - CANNOT_MODIFY_CAMPAIGN_IDS = 6; - - // Cannot modify the campaigns in the control arm - // if there is not a suffix set in the trial. - CANNOT_MODIFY_CAMPAIGN_WITHOUT_SUFFIX_SET = 7; - - // Traffic split related settings (like traffic share bounds) can't be - // modified after the trial has started. - CANNOT_MUTATE_TRAFFIC_SPLIT_AFTER_START = 8; - - // Cannot use shared budget on experiment's control campaign. - CANNOT_ADD_CAMPAIGN_WITH_SHARED_BUDGET = 9; - - // Cannot use custom budget on experiment's control campaigns. - CANNOT_ADD_CAMPAIGN_WITH_CUSTOM_BUDGET = 10; - - // Cannot have enable_dynamic_assets turned on in experiment's campaigns. - CANNOT_ADD_CAMPAIGNS_WITH_DYNAMIC_ASSETS_ENABLED = 11; - - // Cannot use campaign's advertising channel sub type in experiment. - UNSUPPORTED_CAMPAIGN_ADVERTISING_CHANNEL_SUB_TYPE = 12; - - // Experiment date range must be within base campaign's date range. - CANNOT_ADD_BASE_CAMPAIGN_WITH_DATE_RANGE = 13; - - // Bidding strategy is not supported in experiments. - BIDDING_STRATEGY_NOT_SUPPORTED_IN_EXPERIMENTS = 14; - - // Traffic split is not supported for some channel types. - TRAFFIC_SPLIT_NOT_SUPPORTED_FOR_CHANNEL_TYPE = 15; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/experiment_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/experiment_error.proto deleted file mode 100644 index 3a5b12f32..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/experiment_error.proto +++ /dev/null @@ -1,120 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ExperimentErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing experiment errors. - -// Container for enum describing possible experiment error. -message ExperimentErrorEnum { - // Enum describing possible experiment errors. - enum ExperimentError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The start date of an experiment cannot be set in the past. - // Use a start date in the future. - CANNOT_SET_START_DATE_IN_PAST = 2; - - // The end date of an experiment is before its start date. - // Use an end date after the start date. - END_DATE_BEFORE_START_DATE = 3; - - // The start date of an experiment is too far in the future. - // Use a start date no more than 1 year in the future. - START_DATE_TOO_FAR_IN_FUTURE = 4; - - // The experiment has the same name as an existing active experiment. - DUPLICATE_EXPERIMENT_NAME = 5; - - // Experiments can only be modified when they are ENABLED. - CANNOT_MODIFY_REMOVED_EXPERIMENT = 6; - - // The start date of an experiment cannot be modified if the existing start - // date has already passed. - START_DATE_ALREADY_PASSED = 7; - - // The end date of an experiment cannot be set in the past. - CANNOT_SET_END_DATE_IN_PAST = 8; - - // The status of an experiment cannot be set to REMOVED. - CANNOT_SET_STATUS_TO_REMOVED = 9; - - // The end date of an expired experiment cannot be modified. - CANNOT_MODIFY_PAST_END_DATE = 10; - - // The status is invalid. - INVALID_STATUS = 11; - - // Experiment arm contains campaigns with invalid advertising channel type. - INVALID_CAMPAIGN_CHANNEL_TYPE = 12; - - // A pair of trials share members and have overlapping date ranges. - OVERLAPPING_MEMBERS_AND_DATE_RANGE = 13; - - // Experiment arm contains invalid traffic split. - INVALID_TRIAL_ARM_TRAFFIC_SPLIT = 14; - - // Experiment contains trial arms with overlapping traffic split. - TRAFFIC_SPLIT_OVERLAPPING = 15; - - // The total traffic split of trial arms is not equal to 100. - SUM_TRIAL_ARM_TRAFFIC_UNEQUALS_TO_TRIAL_TRAFFIC_SPLIT_DENOMINATOR = 16; - - // Traffic split related settings (like traffic share bounds) can't be - // modified after the experiment has started. - CANNOT_MODIFY_TRAFFIC_SPLIT_AFTER_START = 17; - - // The experiment could not be found. - EXPERIMENT_NOT_FOUND = 18; - - // Experiment has not begun. - EXPERIMENT_NOT_YET_STARTED = 19; - - // The experiment cannot have more than one control arm. - CANNOT_HAVE_MULTIPLE_CONTROL_ARMS = 20; - - // The experiment doesn't set in-design campaigns. - IN_DESIGN_CAMPAIGNS_NOT_SET = 21; - - // Clients must use the graduate action to graduate experiments and cannot - // set the status to GRADUATED directly. - CANNOT_SET_STATUS_TO_GRADUATED = 22; - - // Cannot use shared budget on base campaign when scheduling an experiment. - CANNOT_CREATE_EXPERIMENT_CAMPAIGN_WITH_SHARED_BUDGET = 23; - - // Cannot use custom budget on base campaign when scheduling an experiment. - CANNOT_CREATE_EXPERIMENT_CAMPAIGN_WITH_CUSTOM_BUDGET = 24; - - // Invalid status transition. - STATUS_TRANSITION_INVALID = 25; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/extension_feed_item_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/extension_feed_item_error.proto deleted file mode 100644 index e6157c1a4..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/extension_feed_item_error.proto +++ /dev/null @@ -1,193 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ExtensionFeedItemErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing extension feed item errors. - -// Container for enum describing possible extension feed item error. -message ExtensionFeedItemErrorEnum { - // Enum describing possible extension feed item errors. - enum ExtensionFeedItemError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Value is not within the accepted range. - VALUE_OUT_OF_RANGE = 2; - - // Url list is too long. - URL_LIST_TOO_LONG = 3; - - // Cannot have a geo targeting restriction without having geo targeting. - CANNOT_HAVE_RESTRICTION_ON_EMPTY_GEO_TARGETING = 4; - - // Cannot simultaneously set sitelink field with final urls. - CANNOT_SET_WITH_FINAL_URLS = 5; - - // Must set field with final urls. - CANNOT_SET_WITHOUT_FINAL_URLS = 6; - - // Phone number for a call extension is invalid. - INVALID_PHONE_NUMBER = 7; - - // Phone number for a call extension is not supported for the given country - // code. - PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY = 8; - - // A carrier specific number in short format is not allowed for call - // extensions. - CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED = 9; - - // Premium rate numbers are not allowed for call extensions. - PREMIUM_RATE_NUMBER_NOT_ALLOWED = 10; - - // Phone number type for a call extension is not allowed. - // For example, personal number is not allowed for a call extension in - // most regions. - DISALLOWED_NUMBER_TYPE = 11; - - // Phone number for a call extension does not meet domestic format - // requirements. - INVALID_DOMESTIC_PHONE_NUMBER_FORMAT = 12; - - // Vanity phone numbers (for example, those including letters) are not - // allowed for call extensions. - VANITY_PHONE_NUMBER_NOT_ALLOWED = 13; - - // Call conversion action provided for a call extension is invalid. - INVALID_CALL_CONVERSION_ACTION = 14; - - // For a call extension, the customer is not on the allow-list for call - // tracking. - CUSTOMER_NOT_ON_ALLOWLIST_FOR_CALLTRACKING = 47; - - // Call tracking is not supported for the given country for a call - // extension. - CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY = 16; - - // Customer hasn't consented for call recording, which is required for - // creating/updating call feed items. See - // https://support.google.com/google-ads/answer/7412639. - CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED = 17; - - // App id provided for an app extension is invalid. - INVALID_APP_ID = 18; - - // Quotation marks present in the review text for a review extension. - QUOTES_IN_REVIEW_EXTENSION_SNIPPET = 19; - - // Hyphen character present in the review text for a review extension. - HYPHENS_IN_REVIEW_EXTENSION_SNIPPET = 20; - - // A denylisted review source name or url was provided for a review - // extension. - REVIEW_EXTENSION_SOURCE_INELIGIBLE = 21; - - // Review source name should not be found in the review text. - SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT = 22; - - // Inconsistent currency codes. - INCONSISTENT_CURRENCY_CODES = 23; - - // Price extension cannot have duplicated headers. - PRICE_EXTENSION_HAS_DUPLICATED_HEADERS = 24; - - // Price item cannot have duplicated header and description. - PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION = 25; - - // Price extension has too few items. - PRICE_EXTENSION_HAS_TOO_FEW_ITEMS = 26; - - // Price extension has too many items. - PRICE_EXTENSION_HAS_TOO_MANY_ITEMS = 27; - - // The input value is not currently supported. - UNSUPPORTED_VALUE = 28; - - // The input value is not currently supported in the selected language of an - // extension. - UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE = 29; - - // Unknown or unsupported device preference. - INVALID_DEVICE_PREFERENCE = 30; - - // Invalid feed item schedule end time (for example, endHour = 24 and - // endMinute != 0). - INVALID_SCHEDULE_END = 31; - - // Date time zone does not match the account's time zone. - DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE = 32; - - // Invalid structured snippet header. - INVALID_SNIPPETS_HEADER = 33; - - // Cannot operate on removed feed item. - CANNOT_OPERATE_ON_REMOVED_FEED_ITEM = 34; - - // Phone number not supported when call tracking enabled for country. - PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY = 35; - - // Cannot set call_conversion_action while call_conversion_tracking_enabled - // is set to true. - CONFLICTING_CALL_CONVERSION_SETTINGS = 36; - - // The type of the input extension feed item doesn't match the existing - // extension feed item. - EXTENSION_TYPE_MISMATCH = 37; - - // The oneof field extension for example, subtype of extension feed item is - // required. - EXTENSION_SUBTYPE_REQUIRED = 38; - - // The referenced feed item is not mapped to a supported extension type. - EXTENSION_TYPE_UNSUPPORTED = 39; - - // Cannot operate on a Feed with more than one active FeedMapping. - CANNOT_OPERATE_ON_FEED_WITH_MULTIPLE_MAPPINGS = 40; - - // Cannot operate on a Feed that has key attributes. - CANNOT_OPERATE_ON_FEED_WITH_KEY_ATTRIBUTES = 41; - - // Input price is not in a valid format. - INVALID_PRICE_FORMAT = 42; - - // The promotion time is invalid. - PROMOTION_INVALID_TIME = 43; - - // This field has too many decimal places specified. - TOO_MANY_DECIMAL_PLACES_SPECIFIED = 44; - - // Concrete sub type of ExtensionFeedItem is required for this operation. - CONCRETE_EXTENSION_TYPE_REQUIRED = 45; - - // Feed item schedule end time must be after start time. - SCHEDULE_END_NOT_AFTER_START = 46; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/extension_setting_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/extension_setting_error.proto deleted file mode 100644 index 4eccf7b28..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/extension_setting_error.proto +++ /dev/null @@ -1,259 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ExtensionSettingErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing extension setting validation errors. - -// Container for enum describing validation errors of extension settings. -message ExtensionSettingErrorEnum { - // Enum describing possible extension setting errors. - enum ExtensionSettingError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // A platform restriction was provided without input extensions or existing - // extensions. - EXTENSIONS_REQUIRED = 2; - - // The provided feed type does not correspond to the provided extensions. - FEED_TYPE_EXTENSION_TYPE_MISMATCH = 3; - - // The provided feed type cannot be used. - INVALID_FEED_TYPE = 4; - - // The provided feed type cannot be used at the customer level. - INVALID_FEED_TYPE_FOR_CUSTOMER_EXTENSION_SETTING = 5; - - // Cannot change a feed item field on a CREATE operation. - CANNOT_CHANGE_FEED_ITEM_ON_CREATE = 6; - - // Cannot update an extension that is not already in this setting. - CANNOT_UPDATE_NEWLY_CREATED_EXTENSION = 7; - - // There is no existing AdGroupExtensionSetting for this type. - NO_EXISTING_AD_GROUP_EXTENSION_SETTING_FOR_TYPE = 8; - - // There is no existing CampaignExtensionSetting for this type. - NO_EXISTING_CAMPAIGN_EXTENSION_SETTING_FOR_TYPE = 9; - - // There is no existing CustomerExtensionSetting for this type. - NO_EXISTING_CUSTOMER_EXTENSION_SETTING_FOR_TYPE = 10; - - // The AdGroupExtensionSetting already exists. UPDATE should be used to - // modify the existing AdGroupExtensionSetting. - AD_GROUP_EXTENSION_SETTING_ALREADY_EXISTS = 11; - - // The CampaignExtensionSetting already exists. UPDATE should be used to - // modify the existing CampaignExtensionSetting. - CAMPAIGN_EXTENSION_SETTING_ALREADY_EXISTS = 12; - - // The CustomerExtensionSetting already exists. UPDATE should be used to - // modify the existing CustomerExtensionSetting. - CUSTOMER_EXTENSION_SETTING_ALREADY_EXISTS = 13; - - // An active ad group feed already exists for this place holder type. - AD_GROUP_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE = 14; - - // An active campaign feed already exists for this place holder type. - CAMPAIGN_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE = 15; - - // An active customer feed already exists for this place holder type. - CUSTOMER_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE = 16; - - // Value is not within the accepted range. - VALUE_OUT_OF_RANGE = 17; - - // Cannot simultaneously set specified field with final urls. - CANNOT_SET_FIELD_WITH_FINAL_URLS = 18; - - // Must set field with final urls. - FINAL_URLS_NOT_SET = 19; - - // Phone number for a call extension is invalid. - INVALID_PHONE_NUMBER = 20; - - // Phone number for a call extension is not supported for the given country - // code. - PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY = 21; - - // A carrier specific number in short format is not allowed for call - // extensions. - CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED = 22; - - // Premium rate numbers are not allowed for call extensions. - PREMIUM_RATE_NUMBER_NOT_ALLOWED = 23; - - // Phone number type for a call extension is not allowed. - DISALLOWED_NUMBER_TYPE = 24; - - // Phone number for a call extension does not meet domestic format - // requirements. - INVALID_DOMESTIC_PHONE_NUMBER_FORMAT = 25; - - // Vanity phone numbers (for example, those including letters) are not - // allowed for call extensions. - VANITY_PHONE_NUMBER_NOT_ALLOWED = 26; - - // Country code provided for a call extension is invalid. - INVALID_COUNTRY_CODE = 27; - - // Call conversion type id provided for a call extension is invalid. - INVALID_CALL_CONVERSION_TYPE_ID = 28; - - // For a call extension, the customer is not on the allow-list for call - // tracking. - CUSTOMER_NOT_IN_ALLOWLIST_FOR_CALLTRACKING = 69; - - // Call tracking is not supported for the given country for a call - // extension. - CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY = 30; - - // App id provided for an app extension is invalid. - INVALID_APP_ID = 31; - - // Quotation marks present in the review text for a review extension. - QUOTES_IN_REVIEW_EXTENSION_SNIPPET = 32; - - // Hyphen character present in the review text for a review extension. - HYPHENS_IN_REVIEW_EXTENSION_SNIPPET = 33; - - // A blocked review source name or url was provided for a review - // extension. - REVIEW_EXTENSION_SOURCE_NOT_ELIGIBLE = 34; - - // Review source name should not be found in the review text. - SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT = 35; - - // Field must be set. - MISSING_FIELD = 36; - - // Inconsistent currency codes. - INCONSISTENT_CURRENCY_CODES = 37; - - // Price extension cannot have duplicated headers. - PRICE_EXTENSION_HAS_DUPLICATED_HEADERS = 38; - - // Price item cannot have duplicated header and description. - PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION = 39; - - // Price extension has too few items - PRICE_EXTENSION_HAS_TOO_FEW_ITEMS = 40; - - // Price extension has too many items - PRICE_EXTENSION_HAS_TOO_MANY_ITEMS = 41; - - // The input value is not currently supported. - UNSUPPORTED_VALUE = 42; - - // Unknown or unsupported device preference. - INVALID_DEVICE_PREFERENCE = 43; - - // Invalid feed item schedule end time (for example, endHour = 24 and - // endMinute != 0). - INVALID_SCHEDULE_END = 45; - - // Date time zone does not match the account's time zone. - DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE = 47; - - // Overlapping feed item schedule times (for example, 7-10AM and 8-11AM) are - // not allowed. - OVERLAPPING_SCHEDULES_NOT_ALLOWED = 48; - - // Feed item schedule end time must be after start time. - SCHEDULE_END_NOT_AFTER_START = 49; - - // There are too many feed item schedules per day. - TOO_MANY_SCHEDULES_PER_DAY = 50; - - // Cannot edit the same extension feed item more than once in the same - // request. - DUPLICATE_EXTENSION_FEED_ITEM_EDIT = 51; - - // Invalid structured snippet header. - INVALID_SNIPPETS_HEADER = 52; - - // Phone number with call tracking enabled is not supported for the - // specified country. - PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY = 53; - - // The targeted adgroup must belong to the targeted campaign. - CAMPAIGN_TARGETING_MISMATCH = 54; - - // The feed used by the ExtensionSetting is removed and cannot be operated - // on. Remove the ExtensionSetting to allow a new one to be created using - // an active feed. - CANNOT_OPERATE_ON_REMOVED_FEED = 55; - - // The ExtensionFeedItem type is required for this operation. - EXTENSION_TYPE_REQUIRED = 56; - - // The matching function that links the extension feed to the customer, - // campaign, or ad group is not compatible with the ExtensionSetting - // services. - INCOMPATIBLE_UNDERLYING_MATCHING_FUNCTION = 57; - - // Start date must be before end date. - START_DATE_AFTER_END_DATE = 58; - - // Input price is not in a valid format. - INVALID_PRICE_FORMAT = 59; - - // The promotion time is invalid. - PROMOTION_INVALID_TIME = 60; - - // Cannot set both percent discount and money discount fields. - PROMOTION_CANNOT_SET_PERCENT_DISCOUNT_AND_MONEY_DISCOUNT = 61; - - // Cannot set both promotion code and orders over amount fields. - PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT = 62; - - // This field has too many decimal places specified. - TOO_MANY_DECIMAL_PLACES_SPECIFIED = 63; - - // The language code is not valid. - INVALID_LANGUAGE_CODE = 64; - - // The language is not supported. - UNSUPPORTED_LANGUAGE = 65; - - // Customer hasn't consented for call recording, which is required for - // adding/updating call extensions. See - // https://support.google.com/google-ads/answer/7412639. - CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED = 66; - - // The UPDATE operation does not specify any fields other than the resource - // name in the update mask. - EXTENSION_SETTING_UPDATE_IS_A_NOOP = 67; - - // The extension contains text which has been prohibited on policy grounds. - DISALLOWED_TEXT = 68; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/feed_attribute_reference_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/feed_attribute_reference_error.proto deleted file mode 100644 index 28de97bbd..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/feed_attribute_reference_error.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FeedAttributeReferenceErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing feed attribute reference errors. - -// Container for enum describing possible feed attribute reference errors. -message FeedAttributeReferenceErrorEnum { - // Enum describing possible feed attribute reference errors. - enum FeedAttributeReferenceError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // A feed referenced by ID has been removed. - CANNOT_REFERENCE_REMOVED_FEED = 2; - - // There is no enabled feed with the given name. - INVALID_FEED_NAME = 3; - - // There is no feed attribute in an enabled feed with the given name. - INVALID_FEED_ATTRIBUTE_NAME = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/feed_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/feed_error.proto deleted file mode 100644 index 5283021b2..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/feed_error.proto +++ /dev/null @@ -1,112 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FeedErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing feed errors. - -// Container for enum describing possible feed errors. -message FeedErrorEnum { - // Enum describing possible feed errors. - enum FeedError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The names of the FeedAttributes must be unique. - ATTRIBUTE_NAMES_NOT_UNIQUE = 2; - - // The attribute list must be an exact copy of the existing list if the - // attribute ID's are present. - ATTRIBUTES_DO_NOT_MATCH_EXISTING_ATTRIBUTES = 3; - - // Cannot specify USER origin for a system generated feed. - CANNOT_SPECIFY_USER_ORIGIN_FOR_SYSTEM_FEED = 4; - - // Cannot specify GOOGLE origin for a non-system generated feed. - CANNOT_SPECIFY_GOOGLE_ORIGIN_FOR_NON_SYSTEM_FEED = 5; - - // Cannot specify feed attributes for system feed. - CANNOT_SPECIFY_FEED_ATTRIBUTES_FOR_SYSTEM_FEED = 6; - - // Cannot update FeedAttributes on feed with origin GOOGLE. - CANNOT_UPDATE_FEED_ATTRIBUTES_WITH_ORIGIN_GOOGLE = 7; - - // The given ID refers to a removed Feed. Removed Feeds are immutable. - FEED_REMOVED = 8; - - // The origin of the feed is not valid for the client. - INVALID_ORIGIN_VALUE = 9; - - // A user can only create and modify feeds with USER origin. - FEED_ORIGIN_IS_NOT_USER = 10; - - // Invalid auth token for the given email. - INVALID_AUTH_TOKEN_FOR_EMAIL = 11; - - // Invalid email specified. - INVALID_EMAIL = 12; - - // Feed name matches that of another active Feed. - DUPLICATE_FEED_NAME = 13; - - // Name of feed is not allowed. - INVALID_FEED_NAME = 14; - - // Missing OAuthInfo. - MISSING_OAUTH_INFO = 15; - - // New FeedAttributes must not affect the unique key. - NEW_ATTRIBUTE_CANNOT_BE_PART_OF_UNIQUE_KEY = 16; - - // Too many FeedAttributes for a Feed. - TOO_MANY_ATTRIBUTES = 17; - - // The business account is not valid. - INVALID_BUSINESS_ACCOUNT = 18; - - // Business account cannot access Business Profile. - BUSINESS_ACCOUNT_CANNOT_ACCESS_LOCATION_ACCOUNT = 19; - - // Invalid chain ID provided for affiliate location feed. - INVALID_AFFILIATE_CHAIN_ID = 20; - - // There is already a feed with the given system feed generation data. - DUPLICATE_SYSTEM_FEED = 21; - - // An error occurred accessing Business Profile. - GMB_ACCESS_ERROR = 22; - - // A customer cannot have both LOCATION and AFFILIATE_LOCATION feeds. - CANNOT_HAVE_LOCATION_AND_AFFILIATE_LOCATION_FEEDS = 23; - - // Feed-based extension is read-only for this extension type. - LEGACY_EXTENSION_TYPE_READ_ONLY = 24; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/feed_item_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/feed_item_error.proto deleted file mode 100644 index d0eb21043..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/feed_item_error.proto +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing feed item errors. - -// Container for enum describing possible feed item errors. -message FeedItemErrorEnum { - // Enum describing possible feed item errors. - enum FeedItemError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Cannot convert the feed attribute value from string to its real type. - CANNOT_CONVERT_ATTRIBUTE_VALUE_FROM_STRING = 2; - - // Cannot operate on removed feed item. - CANNOT_OPERATE_ON_REMOVED_FEED_ITEM = 3; - - // Date time zone does not match the account's time zone. - DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE = 4; - - // Feed item with the key attributes could not be found. - KEY_ATTRIBUTES_NOT_FOUND = 5; - - // Url feed attribute value is not valid. - INVALID_URL = 6; - - // Some key attributes are missing. - MISSING_KEY_ATTRIBUTES = 7; - - // Feed item has same key attributes as another feed item. - KEY_ATTRIBUTES_NOT_UNIQUE = 8; - - // Cannot modify key attributes on an existing feed item. - CANNOT_MODIFY_KEY_ATTRIBUTE_VALUE = 9; - - // The feed attribute value is too large. - SIZE_TOO_LARGE_FOR_MULTI_VALUE_ATTRIBUTE = 10; - - // Feed is read only. - LEGACY_FEED_TYPE_READ_ONLY = 11; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/feed_item_set_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/feed_item_set_error.proto deleted file mode 100644 index 3de5d8127..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/feed_item_set_error.proto +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemSetErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing feed item set errors. - -// Container for enum describing possible feed item set errors. -message FeedItemSetErrorEnum { - // Enum describing possible feed item set errors. - enum FeedItemSetError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The given ID refers to a removed FeedItemSet. - FEED_ITEM_SET_REMOVED = 2; - - // The dynamic filter of a feed item set cannot be cleared on UPDATE if it - // exists. A set is either static or dynamic once added, and that cannot - // change. - CANNOT_CLEAR_DYNAMIC_FILTER = 3; - - // The dynamic filter of a feed item set cannot be created on UPDATE if it - // does not exist. A set is either static or dynamic once added, and that - // cannot change. - CANNOT_CREATE_DYNAMIC_FILTER = 4; - - // FeedItemSets can only be made for location or affiliate location feeds. - INVALID_FEED_TYPE = 5; - - // FeedItemSets duplicate name. Name should be unique within an account. - DUPLICATE_NAME = 6; - - // The feed type of the parent Feed is not compatible with the type of - // dynamic filter being set. For example, you can only set - // dynamic_location_set_filter for LOCATION feed item sets. - WRONG_DYNAMIC_FILTER_FOR_FEED_TYPE = 7; - - // Chain ID specified for AffiliateLocationFeedData is invalid. - DYNAMIC_FILTER_INVALID_CHAIN_IDS = 8; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/feed_item_set_link_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/feed_item_set_link_error.proto deleted file mode 100644 index 041cfeab6..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/feed_item_set_link_error.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemSetLinkErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing feed item set link errors. - -// Container for enum describing possible feed item set link errors. -message FeedItemSetLinkErrorEnum { - // Enum describing possible feed item set link errors. - enum FeedItemSetLinkError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The feed IDs of the FeedItemSet and FeedItem do not match. Only FeedItems - // in a given Feed can be linked to a FeedItemSet in that Feed. - FEED_ID_MISMATCH = 2; - - // Cannot add or remove links to a dynamic set. - NO_MUTATE_ALLOWED_FOR_DYNAMIC_SET = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/feed_item_target_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/feed_item_target_error.proto deleted file mode 100644 index a4007b7e1..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/feed_item_target_error.proto +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemTargetErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing feed item target errors. - -// Container for enum describing possible feed item target errors. -message FeedItemTargetErrorEnum { - // Enum describing possible feed item target errors. - enum FeedItemTargetError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // On CREATE, the FeedItemTarget must have a populated field in the oneof - // target. - MUST_SET_TARGET_ONEOF_ON_CREATE = 2; - - // The specified feed item target already exists, so it cannot be added. - FEED_ITEM_TARGET_ALREADY_EXISTS = 3; - - // The schedules for a given feed item cannot overlap. - FEED_ITEM_SCHEDULES_CANNOT_OVERLAP = 4; - - // Too many targets of a given type were added for a single feed item. - TARGET_LIMIT_EXCEEDED_FOR_GIVEN_TYPE = 5; - - // Too many AdSchedules are enabled for the feed item for the given day. - TOO_MANY_SCHEDULES_PER_DAY = 6; - - // A feed item may either have an enabled campaign target or an enabled ad - // group target. - CANNOT_HAVE_ENABLED_CAMPAIGN_AND_ENABLED_AD_GROUP_TARGETS = 7; - - // Duplicate ad schedules aren't allowed. - DUPLICATE_AD_SCHEDULE = 8; - - // Duplicate keywords aren't allowed. - DUPLICATE_KEYWORD = 9; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/feed_item_validation_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/feed_item_validation_error.proto deleted file mode 100644 index a0d109171..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/feed_item_validation_error.proto +++ /dev/null @@ -1,375 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemValidationErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing feed item validation errors. - -// Container for enum describing possible validation errors of a feed item. -message FeedItemValidationErrorEnum { - // The possible validation errors of a feed item. - enum FeedItemValidationError { - // No value has been specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // String is too short. - STRING_TOO_SHORT = 2; - - // String is too long. - STRING_TOO_LONG = 3; - - // Value is not provided. - VALUE_NOT_SPECIFIED = 4; - - // Phone number format is invalid for region. - INVALID_DOMESTIC_PHONE_NUMBER_FORMAT = 5; - - // String does not represent a phone number. - INVALID_PHONE_NUMBER = 6; - - // Phone number format is not compatible with country code. - PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY = 7; - - // Premium rate number is not allowed. - PREMIUM_RATE_NUMBER_NOT_ALLOWED = 8; - - // Phone number type is not allowed. - DISALLOWED_NUMBER_TYPE = 9; - - // Specified value is outside of the valid range. - VALUE_OUT_OF_RANGE = 10; - - // Call tracking is not supported in the selected country. - CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY = 11; - - // Customer is not on the allow-list for call tracking. - CUSTOMER_NOT_IN_ALLOWLIST_FOR_CALLTRACKING = 99; - - // Country code is invalid. - INVALID_COUNTRY_CODE = 13; - - // The specified mobile app id is invalid. - INVALID_APP_ID = 14; - - // Some required field attributes are missing. - MISSING_ATTRIBUTES_FOR_FIELDS = 15; - - // Invalid email button type for email extension. - INVALID_TYPE_ID = 16; - - // Email address is invalid. - INVALID_EMAIL_ADDRESS = 17; - - // The HTTPS URL in email extension is invalid. - INVALID_HTTPS_URL = 18; - - // Delivery address is missing from email extension. - MISSING_DELIVERY_ADDRESS = 19; - - // FeedItem scheduling start date comes after end date. - START_DATE_AFTER_END_DATE = 20; - - // FeedItem scheduling start time is missing. - MISSING_FEED_ITEM_START_TIME = 21; - - // FeedItem scheduling end time is missing. - MISSING_FEED_ITEM_END_TIME = 22; - - // Cannot compute system attributes on a FeedItem that has no FeedItemId. - MISSING_FEED_ITEM_ID = 23; - - // Call extension vanity phone numbers are not supported. - VANITY_PHONE_NUMBER_NOT_ALLOWED = 24; - - // Invalid review text. - INVALID_REVIEW_EXTENSION_SNIPPET = 25; - - // Invalid format for numeric value in ad parameter. - INVALID_NUMBER_FORMAT = 26; - - // Invalid format for date value in ad parameter. - INVALID_DATE_FORMAT = 27; - - // Invalid format for price value in ad parameter. - INVALID_PRICE_FORMAT = 28; - - // Unrecognized type given for value in ad parameter. - UNKNOWN_PLACEHOLDER_FIELD = 29; - - // Enhanced sitelinks must have both description lines specified. - MISSING_ENHANCED_SITELINK_DESCRIPTION_LINE = 30; - - // Review source is ineligible. - REVIEW_EXTENSION_SOURCE_INELIGIBLE = 31; - - // Review text cannot contain hyphens or dashes. - HYPHENS_IN_REVIEW_EXTENSION_SNIPPET = 32; - - // Review text cannot contain double quote characters. - DOUBLE_QUOTES_IN_REVIEW_EXTENSION_SNIPPET = 33; - - // Review text cannot contain quote characters. - QUOTES_IN_REVIEW_EXTENSION_SNIPPET = 34; - - // Parameters are encoded in the wrong format. - INVALID_FORM_ENCODED_PARAMS = 35; - - // URL parameter name must contain only letters, numbers, underscores, and - // dashes. - INVALID_URL_PARAMETER_NAME = 36; - - // Cannot find address location. - NO_GEOCODING_RESULT = 37; - - // Review extension text has source name. - SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT = 38; - - // Some phone numbers can be shorter than usual. Some of these short numbers - // are carrier-specific, and we disallow those in ad extensions because they - // will not be available to all users. - CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED = 39; - - // Triggered when a request references a placeholder field id that does not - // exist. - INVALID_PLACEHOLDER_FIELD_ID = 40; - - // URL contains invalid ValueTrack tags or format. - INVALID_URL_TAG = 41; - - // Provided list exceeds acceptable size. - LIST_TOO_LONG = 42; - - // Certain combinations of attributes aren't allowed to be specified in the - // same feed item. - INVALID_ATTRIBUTES_COMBINATION = 43; - - // An attribute has the same value repeatedly. - DUPLICATE_VALUES = 44; - - // Advertisers can link a conversion action with a phone number to indicate - // that sufficiently long calls forwarded to that phone number should be - // counted as conversions of the specified type. This is an error message - // indicating that the conversion action specified is invalid (for example, - // the conversion action does not exist within the appropriate Google Ads - // account, or it is a type of conversion not appropriate to phone call - // conversions). - INVALID_CALL_CONVERSION_ACTION_ID = 45; - - // Tracking template requires final url to be set. - CANNOT_SET_WITHOUT_FINAL_URLS = 46; - - // An app id was provided that doesn't exist in the given app store. - APP_ID_DOESNT_EXIST_IN_APP_STORE = 47; - - // Invalid U2 final url. - INVALID_FINAL_URL = 48; - - // Invalid U2 tracking url. - INVALID_TRACKING_URL = 49; - - // Final URL should start from App download URL. - INVALID_FINAL_URL_FOR_APP_DOWNLOAD_URL = 50; - - // List provided is too short. - LIST_TOO_SHORT = 51; - - // User Action field has invalid value. - INVALID_USER_ACTION = 52; - - // Type field has invalid value. - INVALID_TYPE_NAME = 53; - - // Change status for event is invalid. - INVALID_EVENT_CHANGE_STATUS = 54; - - // The header of a structured snippets extension is not one of the valid - // headers. - INVALID_SNIPPETS_HEADER = 55; - - // Android app link is not formatted correctly - INVALID_ANDROID_APP_LINK = 56; - - // Phone number incompatible with call tracking for country. - NUMBER_TYPE_WITH_CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY = 57; - - // The input is identical to a reserved keyword - RESERVED_KEYWORD_OTHER = 58; - - // Each option label in the message extension must be unique. - DUPLICATE_OPTION_LABELS = 59; - - // Each option prefill in the message extension must be unique. - DUPLICATE_OPTION_PREFILLS = 60; - - // In message extensions, the number of optional labels and optional - // prefills must be the same. - UNEQUAL_LIST_LENGTHS = 61; - - // All currency codes in an ad extension must be the same. - INCONSISTENT_CURRENCY_CODES = 62; - - // Headers in price extension are not unique. - PRICE_EXTENSION_HAS_DUPLICATED_HEADERS = 63; - - // Header and description in an item are the same. - ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION = 64; - - // Price extension has too few items. - PRICE_EXTENSION_HAS_TOO_FEW_ITEMS = 65; - - // The given value is not supported. - UNSUPPORTED_VALUE = 66; - - // Invalid final mobile url. - INVALID_FINAL_MOBILE_URL = 67; - - // The given string value of Label contains invalid characters - INVALID_KEYWORDLESS_AD_RULE_LABEL = 68; - - // The given URL contains value track parameters. - VALUE_TRACK_PARAMETER_NOT_SUPPORTED = 69; - - // The given value is not supported in the selected language of an - // extension. - UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE = 70; - - // The iOS app link is not formatted correctly. - INVALID_IOS_APP_LINK = 71; - - // iOS app link or iOS app store id is missing. - MISSING_IOS_APP_LINK_OR_IOS_APP_STORE_ID = 72; - - // Promotion time is invalid. - PROMOTION_INVALID_TIME = 73; - - // Both the percent off and money amount off fields are set. - PROMOTION_CANNOT_SET_PERCENT_OFF_AND_MONEY_AMOUNT_OFF = 74; - - // Both the promotion code and orders over amount fields are set. - PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT = 75; - - // Too many decimal places are specified. - TOO_MANY_DECIMAL_PLACES_SPECIFIED = 76; - - // Ad Customizers are present and not allowed. - AD_CUSTOMIZERS_NOT_ALLOWED = 77; - - // Language code is not valid. - INVALID_LANGUAGE_CODE = 78; - - // Language is not supported. - UNSUPPORTED_LANGUAGE = 79; - - // IF Function is present and not allowed. - IF_FUNCTION_NOT_ALLOWED = 80; - - // Final url suffix is not valid. - INVALID_FINAL_URL_SUFFIX = 81; - - // Final url suffix contains an invalid tag. - INVALID_TAG_IN_FINAL_URL_SUFFIX = 82; - - // Final url suffix is formatted incorrectly. - INVALID_FINAL_URL_SUFFIX_FORMAT = 83; - - // Consent for call recording, which is required for the use of call - // extensions, was not provided by the advertiser. See - // https://support.google.com/google-ads/answer/7412639. - CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED = 84; - - // Multiple message delivery options are set. - ONLY_ONE_DELIVERY_OPTION_IS_ALLOWED = 85; - - // No message delivery option is set. - NO_DELIVERY_OPTION_IS_SET = 86; - - // String value of conversion reporting state field is not valid. - INVALID_CONVERSION_REPORTING_STATE = 87; - - // Image size is not right. - IMAGE_SIZE_WRONG = 88; - - // Email delivery is not supported in the country specified in the country - // code field. - EMAIL_DELIVERY_NOT_AVAILABLE_IN_COUNTRY = 89; - - // Auto reply is not supported in the country specified in the country code - // field. - AUTO_REPLY_NOT_AVAILABLE_IN_COUNTRY = 90; - - // Invalid value specified for latitude. - INVALID_LATITUDE_VALUE = 91; - - // Invalid value specified for longitude. - INVALID_LONGITUDE_VALUE = 92; - - // Too many label fields provided. - TOO_MANY_LABELS = 93; - - // Invalid image url. - INVALID_IMAGE_URL = 94; - - // Latitude value is missing. - MISSING_LATITUDE_VALUE = 95; - - // Longitude value is missing. - MISSING_LONGITUDE_VALUE = 96; - - // Unable to find address. - ADDRESS_NOT_FOUND = 97; - - // Cannot target provided address. - ADDRESS_NOT_TARGETABLE = 98; - - // The specified asset ID does not exist. - INVALID_ASSET_ID = 100; - - // The asset type cannot be set for the field. - INCOMPATIBLE_ASSET_TYPE = 101; - - // The image has unexpected size. - IMAGE_ERROR_UNEXPECTED_SIZE = 102; - - // The image aspect ratio is not allowed. - IMAGE_ERROR_ASPECT_RATIO_NOT_ALLOWED = 103; - - // The image file is too large. - IMAGE_ERROR_FILE_TOO_LARGE = 104; - - // The image format is unsupported. - IMAGE_ERROR_FORMAT_NOT_ALLOWED = 105; - - // Image violates constraints without more details. - IMAGE_ERROR_CONSTRAINTS_VIOLATED = 106; - - // An error occurred when validating image. - IMAGE_ERROR_SERVER_ERROR = 107; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/feed_mapping_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/feed_mapping_error.proto deleted file mode 100644 index 16eef41be..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/feed_mapping_error.proto +++ /dev/null @@ -1,101 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FeedMappingErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing feed item errors. - -// Container for enum describing possible feed item errors. -message FeedMappingErrorEnum { - // Enum describing possible feed item errors. - enum FeedMappingError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The given placeholder field does not exist. - INVALID_PLACEHOLDER_FIELD = 2; - - // The given criterion field does not exist. - INVALID_CRITERION_FIELD = 3; - - // The given placeholder type does not exist. - INVALID_PLACEHOLDER_TYPE = 4; - - // The given criterion type does not exist. - INVALID_CRITERION_TYPE = 5; - - // A feed mapping must contain at least one attribute field mapping. - NO_ATTRIBUTE_FIELD_MAPPINGS = 7; - - // The type of the feed attribute referenced in the attribute field mapping - // must match the type of the placeholder field. - FEED_ATTRIBUTE_TYPE_MISMATCH = 8; - - // A feed mapping for a system generated feed cannot be operated on. - CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED = 9; - - // Only one feed mapping for a placeholder type is allowed per feed or - // customer (depending on the placeholder type). - MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE = 10; - - // Only one feed mapping for a criterion type is allowed per customer. - MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE = 11; - - // Only one feed attribute mapping for a placeholder field is allowed - // (depending on the placeholder type). - MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD = 12; - - // Only one feed attribute mapping for a criterion field is allowed - // (depending on the criterion type). - MULTIPLE_MAPPINGS_FOR_CRITERION_FIELD = 13; - - // This feed mapping may not contain any explicit attribute field mappings. - UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS = 14; - - // Location placeholder feed mappings can only be created for Places feeds. - LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS = 15; - - // Mappings for typed feeds cannot be modified. - CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED = 16; - - // The given placeholder type can only be mapped to system generated feeds. - INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED = 17; - - // The given placeholder type cannot be mapped to a system generated feed - // with the given type. - INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE = 18; - - // The "field" oneof was not set in an AttributeFieldMapping. - ATTRIBUTE_FIELD_MAPPING_MISSING_FIELD = 19; - - // Feed is read only. - LEGACY_FEED_TYPE_READ_ONLY = 20; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/field_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/field_error.proto deleted file mode 100644 index 164169cbe..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/field_error.proto +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FieldErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing field errors. - -// Container for enum describing possible field errors. -message FieldErrorEnum { - // Enum describing possible field errors. - enum FieldError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The required field was not present. - REQUIRED = 2; - - // The field attempted to be mutated is immutable. - IMMUTABLE_FIELD = 3; - - // The field's value is invalid. - INVALID_VALUE = 4; - - // The field cannot be set. - VALUE_MUST_BE_UNSET = 5; - - // The required repeated field was empty. - REQUIRED_NONEMPTY_LIST = 6; - - // The field cannot be cleared. - FIELD_CANNOT_BE_CLEARED = 7; - - // The field's value is on a deny-list for this field. - BLOCKED_VALUE = 9; - - // The field's value cannot be modified, except for clearing. - FIELD_CAN_ONLY_BE_CLEARED = 10; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/field_mask_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/field_mask_error.proto deleted file mode 100644 index 23baaf26f..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/field_mask_error.proto +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FieldMaskErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing field mask errors. - -// Container for enum describing possible field mask errors. -message FieldMaskErrorEnum { - // Enum describing possible field mask errors. - enum FieldMaskError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The field mask must be provided for update operations. - FIELD_MASK_MISSING = 5; - - // The field mask must be empty for create and remove operations. - FIELD_MASK_NOT_ALLOWED = 4; - - // The field mask contained an invalid field. - FIELD_NOT_FOUND = 2; - - // The field mask updated a field with subfields. Fields with subfields may - // be cleared, but not updated. To fix this, the field mask should select - // all the subfields of the invalid field. - FIELD_HAS_SUBFIELDS = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/function_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/function_error.proto deleted file mode 100644 index b11d64c90..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/function_error.proto +++ /dev/null @@ -1,91 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FunctionErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing function errors. - -// Container for enum describing possible function errors. -message FunctionErrorEnum { - // Enum describing possible function errors. - enum FunctionError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The format of the function is not recognized as a supported function - // format. - INVALID_FUNCTION_FORMAT = 2; - - // Operand data types do not match. - DATA_TYPE_MISMATCH = 3; - - // The operands cannot be used together in a conjunction. - INVALID_CONJUNCTION_OPERANDS = 4; - - // Invalid numer of Operands. - INVALID_NUMBER_OF_OPERANDS = 5; - - // Operand Type not supported. - INVALID_OPERAND_TYPE = 6; - - // Operator not supported. - INVALID_OPERATOR = 7; - - // Request context type not supported. - INVALID_REQUEST_CONTEXT_TYPE = 8; - - // The matching function is not allowed for call placeholders - INVALID_FUNCTION_FOR_CALL_PLACEHOLDER = 9; - - // The matching function is not allowed for the specified placeholder - INVALID_FUNCTION_FOR_PLACEHOLDER = 10; - - // Invalid operand. - INVALID_OPERAND = 11; - - // Missing value for the constant operand. - MISSING_CONSTANT_OPERAND_VALUE = 12; - - // The value of the constant operand is invalid. - INVALID_CONSTANT_OPERAND_VALUE = 13; - - // Invalid function nesting. - INVALID_NESTING = 14; - - // The Feed ID was different from another Feed ID in the same function. - MULTIPLE_FEED_IDS_NOT_SUPPORTED = 15; - - // The matching function is invalid for use with a feed with a fixed schema. - INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA = 16; - - // Invalid attribute name. - INVALID_ATTRIBUTE_NAME = 17; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/function_parsing_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/function_parsing_error.proto deleted file mode 100644 index 08e141354..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/function_parsing_error.proto +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FunctionParsingErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing function parsing errors. - -// Container for enum describing possible function parsing errors. -message FunctionParsingErrorEnum { - // Enum describing possible function parsing errors. - enum FunctionParsingError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Unexpected end of function string. - NO_MORE_INPUT = 2; - - // Could not find an expected character. - EXPECTED_CHARACTER = 3; - - // Unexpected separator character. - UNEXPECTED_SEPARATOR = 4; - - // Unmatched left bracket or parenthesis. - UNMATCHED_LEFT_BRACKET = 5; - - // Unmatched right bracket or parenthesis. - UNMATCHED_RIGHT_BRACKET = 6; - - // Functions are nested too deeply. - TOO_MANY_NESTED_FUNCTIONS = 7; - - // Missing right-hand-side operand. - MISSING_RIGHT_HAND_OPERAND = 8; - - // Invalid operator/function name. - INVALID_OPERATOR_NAME = 9; - - // Feed attribute operand's argument is not an integer. - FEED_ATTRIBUTE_OPERAND_ARGUMENT_NOT_INTEGER = 10; - - // Missing function operands. - NO_OPERANDS = 11; - - // Function had too many operands. - TOO_MANY_OPERANDS = 12; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/geo_target_constant_suggestion_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/geo_target_constant_suggestion_error.proto deleted file mode 100644 index f1681cc37..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/geo_target_constant_suggestion_error.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "GeoTargetConstantSuggestionErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Container for enum describing possible geo target constant suggestion errors. -message GeoTargetConstantSuggestionErrorEnum { - // Enum describing possible geo target constant suggestion errors. - enum GeoTargetConstantSuggestionError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // A location name cannot be greater than 300 characters. - LOCATION_NAME_SIZE_LIMIT = 2; - - // At most 25 location names can be specified in a SuggestGeoTargetConstants - // method. - LOCATION_NAME_LIMIT = 3; - - // The country code is invalid. - INVALID_COUNTRY_CODE = 4; - - // Geo target constant resource names or location names must be provided in - // the request. - REQUEST_PARAMETERS_UNSET = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/header_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/header_error.proto deleted file mode 100644 index 782e55b68..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/header_error.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "HeaderErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing header errors. - -// Container for enum describing possible header errors. -message HeaderErrorEnum { - // Enum describing possible header errors. - enum HeaderError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The login customer ID could not be validated. - INVALID_LOGIN_CUSTOMER_ID = 3; - - // The linked customer ID could not be validated. - INVALID_LINKED_CUSTOMER_ID = 7; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/id_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/id_error.proto deleted file mode 100644 index c7a274ac7..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/id_error.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "IdErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing id errors. - -// Container for enum describing possible ID errors. -message IdErrorEnum { - // Enum describing possible ID errors. - enum IdError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // ID not found - NOT_FOUND = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/image_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/image_error.proto deleted file mode 100644 index a6101551e..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/image_error.proto +++ /dev/null @@ -1,162 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ImageErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing image errors. - -// Container for enum describing possible image errors. -message ImageErrorEnum { - // Enum describing possible image errors. - enum ImageError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The image is not valid. - INVALID_IMAGE = 2; - - // The image could not be stored. - STORAGE_ERROR = 3; - - // There was a problem with the request. - BAD_REQUEST = 4; - - // The image is not of legal dimensions. - UNEXPECTED_SIZE = 5; - - // Animated image are not permitted. - ANIMATED_NOT_ALLOWED = 6; - - // Animation is too long. - ANIMATION_TOO_LONG = 7; - - // There was an error on the server. - SERVER_ERROR = 8; - - // Image cannot be in CMYK color format. - CMYK_JPEG_NOT_ALLOWED = 9; - - // Flash images are not permitted. - FLASH_NOT_ALLOWED = 10; - - // Flash images must support clickTag. - FLASH_WITHOUT_CLICKTAG = 11; - - // A flash error has occurred after fixing the click tag. - FLASH_ERROR_AFTER_FIXING_CLICK_TAG = 12; - - // Unacceptable visual effects. - ANIMATED_VISUAL_EFFECT = 13; - - // There was a problem with the flash image. - FLASH_ERROR = 14; - - // Incorrect image layout. - LAYOUT_PROBLEM = 15; - - // There was a problem reading the image file. - PROBLEM_READING_IMAGE_FILE = 16; - - // There was an error storing the image. - ERROR_STORING_IMAGE = 17; - - // The aspect ratio of the image is not allowed. - ASPECT_RATIO_NOT_ALLOWED = 18; - - // Flash cannot have network objects. - FLASH_HAS_NETWORK_OBJECTS = 19; - - // Flash cannot have network methods. - FLASH_HAS_NETWORK_METHODS = 20; - - // Flash cannot have a Url. - FLASH_HAS_URL = 21; - - // Flash cannot use mouse tracking. - FLASH_HAS_MOUSE_TRACKING = 22; - - // Flash cannot have a random number. - FLASH_HAS_RANDOM_NUM = 23; - - // Ad click target cannot be '_self'. - FLASH_SELF_TARGETS = 24; - - // GetUrl method should only use '_blank'. - FLASH_BAD_GETURL_TARGET = 25; - - // Flash version is not supported. - FLASH_VERSION_NOT_SUPPORTED = 26; - - // Flash movies need to have hard coded click URL or clickTAG - FLASH_WITHOUT_HARD_CODED_CLICK_URL = 27; - - // Uploaded flash file is corrupted. - INVALID_FLASH_FILE = 28; - - // Uploaded flash file can be parsed, but the click tag can not be fixed - // properly. - FAILED_TO_FIX_CLICK_TAG_IN_FLASH = 29; - - // Flash movie accesses network resources - FLASH_ACCESSES_NETWORK_RESOURCES = 30; - - // Flash movie attempts to call external javascript code - FLASH_EXTERNAL_JS_CALL = 31; - - // Flash movie attempts to call flash system commands - FLASH_EXTERNAL_FS_CALL = 32; - - // Image file is too large. - FILE_TOO_LARGE = 33; - - // Image data is too large. - IMAGE_DATA_TOO_LARGE = 34; - - // Error while processing the image. - IMAGE_PROCESSING_ERROR = 35; - - // Image is too small. - IMAGE_TOO_SMALL = 36; - - // Input was invalid. - INVALID_INPUT = 37; - - // There was a problem reading the image file. - PROBLEM_READING_FILE = 38; - - // Image constraints are violated, but details like ASPECT_RATIO_NOT_ALLOWED - // can't be provided. This happens when asset spec contains more than one - // constraint and different criteria of different constraints are violated. - IMAGE_CONSTRAINTS_VIOLATED = 39; - - // Image format is not allowed. - FORMAT_NOT_ALLOWED = 40; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/internal_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/internal_error.proto deleted file mode 100644 index 742cdd809..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/internal_error.proto +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "InternalErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing internal errors. - -// Container for enum describing possible internal errors. -message InternalErrorEnum { - // Enum describing possible internal errors. - enum InternalError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Google Ads API encountered unexpected internal error. - INTERNAL_ERROR = 2; - - // The intended error code doesn't exist in specified API version. It will - // be released in a future API version. - ERROR_CODE_NOT_PUBLISHED = 3; - - // Google Ads API encountered an unexpected transient error. The user - // should retry their request in these cases. - TRANSIENT_ERROR = 4; - - // The request took longer than a deadline. - DEADLINE_EXCEEDED = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/invoice_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/invoice_error.proto deleted file mode 100644 index db278b33c..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/invoice_error.proto +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "InvoiceErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing invoice errors. - -// Container for enum describing possible invoice errors. -message InvoiceErrorEnum { - // Enum describing possible invoice errors. - enum InvoiceError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Cannot request invoices issued before 2019-01-01. - YEAR_MONTH_TOO_OLD = 2; - - // Cannot request invoices for customer who doesn't receive invoices. - NOT_INVOICED_CUSTOMER = 3; - - // Cannot request invoices for a non approved billing setup. - BILLING_SETUP_NOT_APPROVED = 4; - - // Cannot request invoices for a billing setup that is not on monthly - // invoicing. - BILLING_SETUP_NOT_ON_MONTHLY_INVOICING = 5; - - // Cannot request invoices for a non serving customer. - NON_SERVING_CUSTOMER = 6; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/keyword_plan_ad_group_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/keyword_plan_ad_group_error.proto deleted file mode 100644 index d877db5e2..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/keyword_plan_ad_group_error.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanAdGroupErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing errors from applying a keyword plan ad group. - -// Container for enum describing possible errors from applying a keyword plan -// ad group. -message KeywordPlanAdGroupErrorEnum { - // Enum describing possible errors from applying a keyword plan ad group. - enum KeywordPlanAdGroupError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The keyword plan ad group name is missing, empty, longer than allowed - // limit or contains invalid chars. - INVALID_NAME = 2; - - // The keyword plan ad group name is duplicate to an existing keyword plan - // AdGroup name or other keyword plan AdGroup name in the request. - DUPLICATE_NAME = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/keyword_plan_ad_group_keyword_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/keyword_plan_ad_group_keyword_error.proto deleted file mode 100644 index f5e461319..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/keyword_plan_ad_group_keyword_error.proto +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanAdGroupKeywordErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing errors from applying a keyword plan ad group keyword or -// keyword plan campaign keyword. - -// Container for enum describing possible errors from applying an ad group -// keyword or a campaign keyword from a keyword plan. -message KeywordPlanAdGroupKeywordErrorEnum { - // Enum describing possible errors from applying a keyword plan ad group - // keyword or keyword plan campaign keyword. - enum KeywordPlanAdGroupKeywordError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // A keyword or negative keyword has invalid match type. - INVALID_KEYWORD_MATCH_TYPE = 2; - - // A keyword or negative keyword with same text and match type already - // exists. - DUPLICATE_KEYWORD = 3; - - // Keyword or negative keyword text exceeds the allowed limit. - KEYWORD_TEXT_TOO_LONG = 4; - - // Keyword or negative keyword text has invalid characters or symbols. - KEYWORD_HAS_INVALID_CHARS = 5; - - // Keyword or negative keyword text has too many words. - KEYWORD_HAS_TOO_MANY_WORDS = 6; - - // Keyword or negative keyword has invalid text. - INVALID_KEYWORD_TEXT = 7; - - // Cpc Bid set for negative keyword. - NEGATIVE_KEYWORD_HAS_CPC_BID = 8; - - // New broad match modifier (BMM) KpAdGroupKeywords are not allowed. - NEW_BMM_KEYWORDS_NOT_ALLOWED = 9; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/keyword_plan_campaign_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/keyword_plan_campaign_error.proto deleted file mode 100644 index 403ee9c19..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/keyword_plan_campaign_error.proto +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanCampaignErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing errors from applying a keyword plan campaign. - -// Container for enum describing possible errors from applying a keyword plan -// campaign. -message KeywordPlanCampaignErrorEnum { - // Enum describing possible errors from applying a keyword plan campaign. - enum KeywordPlanCampaignError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // A keyword plan campaign name is missing, empty, longer than allowed limit - // or contains invalid chars. - INVALID_NAME = 2; - - // A keyword plan campaign contains one or more untargetable languages. - INVALID_LANGUAGES = 3; - - // A keyword plan campaign contains one or more invalid geo targets. - INVALID_GEOS = 4; - - // The keyword plan campaign name is duplicate to an existing keyword plan - // campaign name or other keyword plan campaign name in the request. - DUPLICATE_NAME = 5; - - // The number of geo targets in the keyword plan campaign exceeds limits. - MAX_GEOS_EXCEEDED = 6; - - // The number of languages in the keyword plan campaign exceeds limits. - MAX_LANGUAGES_EXCEEDED = 7; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/keyword_plan_campaign_keyword_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/keyword_plan_campaign_keyword_error.proto deleted file mode 100644 index 765f41891..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/keyword_plan_campaign_keyword_error.proto +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanCampaignKeywordErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing errors from applying a keyword plan campaign keyword. - -// Container for enum describing possible errors from applying a keyword plan -// campaign keyword. -message KeywordPlanCampaignKeywordErrorEnum { - // Enum describing possible errors from applying a keyword plan campaign - // keyword. - enum KeywordPlanCampaignKeywordError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Keyword plan campaign keyword is positive. - CAMPAIGN_KEYWORD_IS_POSITIVE = 8; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/keyword_plan_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/keyword_plan_error.proto deleted file mode 100644 index 1affcac38..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/keyword_plan_error.proto +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing errors from applying keyword plan resources (keyword -// plan, keyword plan campaign, keyword plan ad group or keyword plan keyword) -// or KeywordPlanService RPC. - -// Container for enum describing possible errors from applying a keyword plan -// resource (keyword plan, keyword plan campaign, keyword plan ad group or -// keyword plan keyword) or KeywordPlanService RPC. -message KeywordPlanErrorEnum { - // Enum describing possible errors from applying a keyword plan. - enum KeywordPlanError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The plan's bid multiplier value is outside the valid range. - BID_MULTIPLIER_OUT_OF_RANGE = 2; - - // The plan's bid value is too high. - BID_TOO_HIGH = 3; - - // The plan's bid value is too low. - BID_TOO_LOW = 4; - - // The plan's cpc bid is not a multiple of the minimum billable unit. - BID_TOO_MANY_FRACTIONAL_DIGITS = 5; - - // The plan's daily budget value is too low. - DAILY_BUDGET_TOO_LOW = 6; - - // The plan's daily budget is not a multiple of the minimum billable unit. - DAILY_BUDGET_TOO_MANY_FRACTIONAL_DIGITS = 7; - - // The input has an invalid value. - INVALID_VALUE = 8; - - // The plan has no keyword. - KEYWORD_PLAN_HAS_NO_KEYWORDS = 9; - - // The plan is not enabled and API cannot provide mutation, forecast or - // stats. - KEYWORD_PLAN_NOT_ENABLED = 10; - - // The requested plan cannot be found for providing forecast or stats. - KEYWORD_PLAN_NOT_FOUND = 11; - - // The plan is missing a cpc bid. - MISSING_BID = 13; - - // The plan is missing required forecast_period field. - MISSING_FORECAST_PERIOD = 14; - - // The plan's forecast_period has invalid forecast date range. - INVALID_FORECAST_DATE_RANGE = 15; - - // The plan's name is invalid. - INVALID_NAME = 16; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/keyword_plan_idea_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/keyword_plan_idea_error.proto deleted file mode 100644 index fffa56154..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/keyword_plan_idea_error.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanIdeaErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing errors from KeywordPlanIdeaService. - -// Container for enum describing possible errors from KeywordPlanIdeaService. -message KeywordPlanIdeaErrorEnum { - // Enum describing possible errors from KeywordPlanIdeaService. - enum KeywordPlanIdeaError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Error when crawling the input URL. - URL_CRAWL_ERROR = 2; - - // The input has an invalid value. - INVALID_VALUE = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/label_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/label_error.proto deleted file mode 100644 index 59a2ae445..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/label_error.proto +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "LabelErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing label errors. - -// Container for enum describing possible label errors. -message LabelErrorEnum { - // Enum describing possible label errors. - enum LabelError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // An inactive label cannot be applied. - CANNOT_APPLY_INACTIVE_LABEL = 2; - - // A label cannot be applied to a disabled ad group criterion. - CANNOT_APPLY_LABEL_TO_DISABLED_AD_GROUP_CRITERION = 3; - - // A label cannot be applied to a negative ad group criterion. - CANNOT_APPLY_LABEL_TO_NEGATIVE_AD_GROUP_CRITERION = 4; - - // Cannot apply more than 50 labels per resource. - EXCEEDED_LABEL_LIMIT_PER_TYPE = 5; - - // Labels from a manager account cannot be applied to campaign, ad group, - // ad group ad, or ad group criterion resources. - INVALID_RESOURCE_FOR_MANAGER_LABEL = 6; - - // Label names must be unique. - DUPLICATE_NAME = 7; - - // Label names cannot be empty. - INVALID_LABEL_NAME = 8; - - // Labels cannot be applied to a draft. - CANNOT_ATTACH_LABEL_TO_DRAFT = 9; - - // Labels not from a manager account cannot be applied to the customer - // resource. - CANNOT_ATTACH_NON_MANAGER_LABEL_TO_CUSTOMER = 10; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/language_code_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/language_code_error.proto deleted file mode 100644 index c097809b5..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/language_code_error.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "LanguageCodeErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing language code errors. - -// Container for enum describing language code errors. -message LanguageCodeErrorEnum { - // Enum describing language code errors. - enum LanguageCodeError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The input language code is not recognized. - LANGUAGE_CODE_NOT_FOUND = 2; - - // The language code is not supported. - INVALID_LANGUAGE_CODE = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/list_operation_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/list_operation_error.proto deleted file mode 100644 index d6510df12..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/list_operation_error.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ListOperationErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing list operation errors. - -// Container for enum describing possible list operation errors. -message ListOperationErrorEnum { - // Enum describing possible list operation errors. - enum ListOperationError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Field required in value is missing. - REQUIRED_FIELD_MISSING = 7; - - // Duplicate or identical value is sent in multiple list operations. - DUPLICATE_VALUES = 8; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/manager_link_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/manager_link_error.proto deleted file mode 100644 index c9a648f6f..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/manager_link_error.proto +++ /dev/null @@ -1,101 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ManagerLinkErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing ManagerLink errors. - -// Container for enum describing possible ManagerLink errors. -message ManagerLinkErrorEnum { - // Enum describing possible ManagerLink errors. - enum ManagerLinkError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The manager and client have incompatible account types. - ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING = 2; - - // Client is already linked to too many managers. - TOO_MANY_MANAGERS = 3; - - // Manager has too many pending invitations. - TOO_MANY_INVITES = 4; - - // Client is already invited by this manager. - ALREADY_INVITED_BY_THIS_MANAGER = 5; - - // The client is already managed by this manager. - ALREADY_MANAGED_BY_THIS_MANAGER = 6; - - // Client is already managed in hierarchy. - ALREADY_MANAGED_IN_HIERARCHY = 7; - - // Manager and sub-manager to be linked have duplicate client. - DUPLICATE_CHILD_FOUND = 8; - - // Client has no active user that can access the client account. - CLIENT_HAS_NO_ADMIN_USER = 9; - - // Adding this link would exceed the maximum hierarchy depth. - MAX_DEPTH_EXCEEDED = 10; - - // Adding this link will create a cycle. - CYCLE_NOT_ALLOWED = 11; - - // Manager account has the maximum number of linked clients. - TOO_MANY_ACCOUNTS = 12; - - // Parent manager account has the maximum number of linked clients. - TOO_MANY_ACCOUNTS_AT_MANAGER = 13; - - // The account is not authorized owner. - NON_OWNER_USER_CANNOT_MODIFY_LINK = 14; - - // Your manager account is suspended, and you are no longer allowed to link - // to clients. - SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS = 15; - - // You are not allowed to move a client to a manager that is not under your - // current hierarchy. - CLIENT_OUTSIDE_TREE = 16; - - // The changed status for mutate link is invalid. - INVALID_STATUS_CHANGE = 17; - - // The change for mutate link is invalid. - INVALID_CHANGE = 18; - - // You are not allowed to link a manager account to itself. - CUSTOMER_CANNOT_MANAGE_SELF = 19; - - // The link was created with status ACTIVE and not PENDING. - CREATING_ENABLED_LINK_NOT_ALLOWED = 20; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/media_bundle_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/media_bundle_error.proto deleted file mode 100644 index 90e8e7207..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/media_bundle_error.proto +++ /dev/null @@ -1,108 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "MediaBundleErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing media bundle errors. - -// Container for enum describing possible media bundle errors. -message MediaBundleErrorEnum { - // Enum describing possible media bundle errors. - enum MediaBundleError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // There was a problem with the request. - BAD_REQUEST = 3; - - // HTML5 ads using DoubleClick Studio created ZIP files are not supported. - DOUBLECLICK_BUNDLE_NOT_ALLOWED = 4; - - // Cannot reference URL external to the media bundle. - EXTERNAL_URL_NOT_ALLOWED = 5; - - // Media bundle file is too large. - FILE_TOO_LARGE = 6; - - // ZIP file from Google Web Designer is not published. - GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED = 7; - - // Input was invalid. - INVALID_INPUT = 8; - - // There was a problem with the media bundle. - INVALID_MEDIA_BUNDLE = 9; - - // There was a problem with one or more of the media bundle entries. - INVALID_MEDIA_BUNDLE_ENTRY = 10; - - // The media bundle contains a file with an unknown mime type - INVALID_MIME_TYPE = 11; - - // The media bundle contain an invalid asset path. - INVALID_PATH = 12; - - // HTML5 ad is trying to reference an asset not in .ZIP file - INVALID_URL_REFERENCE = 13; - - // Media data is too large. - MEDIA_DATA_TOO_LARGE = 14; - - // The media bundle contains no primary entry. - MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY = 15; - - // There was an error on the server. - SERVER_ERROR = 16; - - // The image could not be stored. - STORAGE_ERROR = 17; - - // Media bundle created with the Swiffy tool is not allowed. - SWIFFY_BUNDLE_NOT_ALLOWED = 18; - - // The media bundle contains too many files. - TOO_MANY_FILES = 19; - - // The media bundle is not of legal dimensions. - UNEXPECTED_SIZE = 20; - - // Google Web Designer not created for "Google Ads" environment. - UNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENT = 21; - - // Unsupported HTML5 feature in HTML5 asset. - UNSUPPORTED_HTML5_FEATURE = 22; - - // URL in HTML5 entry is not ssl compliant. - URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT = 23; - - // Custom exits not allowed in HTML5 entry. - CUSTOM_EXIT_NOT_ALLOWED = 24; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/media_file_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/media_file_error.proto deleted file mode 100644 index 018fd01ec..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/media_file_error.proto +++ /dev/null @@ -1,111 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "MediaFileErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing media file errors. - -// Container for enum describing possible media file errors. -message MediaFileErrorEnum { - // Enum describing possible media file errors. - enum MediaFileError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Cannot create a standard icon type. - CANNOT_CREATE_STANDARD_ICON = 2; - - // May only select Standard Icons alone. - CANNOT_SELECT_STANDARD_ICON_WITH_OTHER_TYPES = 3; - - // Image contains both a media file ID and data. - CANNOT_SPECIFY_MEDIA_FILE_ID_AND_DATA = 4; - - // A media file with given type and reference ID already exists. - DUPLICATE_MEDIA = 5; - - // A required field was not specified or is an empty string. - EMPTY_FIELD = 6; - - // A media file may only be modified once per call. - RESOURCE_REFERENCED_IN_MULTIPLE_OPS = 7; - - // Field is not supported for the media sub type. - FIELD_NOT_SUPPORTED_FOR_MEDIA_SUB_TYPE = 8; - - // The media file ID is invalid. - INVALID_MEDIA_FILE_ID = 9; - - // The media subtype is invalid. - INVALID_MEDIA_SUB_TYPE = 10; - - // The media file type is invalid. - INVALID_MEDIA_FILE_TYPE = 11; - - // The mimetype is invalid. - INVALID_MIME_TYPE = 12; - - // The media reference ID is invalid. - INVALID_REFERENCE_ID = 13; - - // The YouTube video ID is invalid. - INVALID_YOU_TUBE_ID = 14; - - // Media file has failed transcoding - MEDIA_FILE_FAILED_TRANSCODING = 15; - - // Media file has not been transcoded. - MEDIA_NOT_TRANSCODED = 16; - - // The media type does not match the actual media file's type. - MEDIA_TYPE_DOES_NOT_MATCH_MEDIA_FILE_TYPE = 17; - - // None of the fields have been specified. - NO_FIELDS_SPECIFIED = 18; - - // One of reference ID or media file ID must be specified. - NULL_REFERENCE_ID_AND_MEDIA_ID = 19; - - // The string has too many characters. - TOO_LONG = 20; - - // The specified type is not supported. - UNSUPPORTED_TYPE = 21; - - // YouTube is unavailable for requesting video data. - YOU_TUBE_SERVICE_UNAVAILABLE = 22; - - // The YouTube video has a non positive duration. - YOU_TUBE_VIDEO_HAS_NON_POSITIVE_DURATION = 23; - - // The YouTube video ID is syntactically valid but the video was not found. - YOU_TUBE_VIDEO_NOT_FOUND = 24; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/media_upload_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/media_upload_error.proto deleted file mode 100644 index aea8cbdb1..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/media_upload_error.proto +++ /dev/null @@ -1,150 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "MediaUploadErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing media uploading errors. - -// Container for enum describing possible media uploading errors. -message MediaUploadErrorEnum { - // Enum describing possible media uploading errors. - enum MediaUploadError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The uploaded file is too big. - FILE_TOO_BIG = 2; - - // Image data is unparseable. - UNPARSEABLE_IMAGE = 3; - - // Animated images are not allowed. - ANIMATED_IMAGE_NOT_ALLOWED = 4; - - // The image or media bundle format is not allowed. - FORMAT_NOT_ALLOWED = 5; - - // Cannot reference URL external to the media bundle. - EXTERNAL_URL_NOT_ALLOWED = 6; - - // HTML5 ad is trying to reference an asset not in .ZIP file. - INVALID_URL_REFERENCE = 7; - - // The media bundle contains no primary entry. - MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY = 8; - - // Animation has disallowed visual effects. - ANIMATED_VISUAL_EFFECT = 9; - - // Animation longer than the allowed 30 second limit. - ANIMATION_TOO_LONG = 10; - - // The aspect ratio of the image does not match the expected aspect ratios - // provided in the asset spec. - ASPECT_RATIO_NOT_ALLOWED = 11; - - // Audio files are not allowed in bundle. - AUDIO_NOT_ALLOWED_IN_MEDIA_BUNDLE = 12; - - // CMYK jpegs are not supported. - CMYK_JPEG_NOT_ALLOWED = 13; - - // Flash movies are not allowed. - FLASH_NOT_ALLOWED = 14; - - // The frame rate of the video is higher than the allowed 5fps. - FRAME_RATE_TOO_HIGH = 15; - - // ZIP file from Google Web Designer is not published. - GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED = 16; - - // Image constraints are violated, but more details (like - // DIMENSIONS_NOT_ALLOWED or ASPECT_RATIO_NOT_ALLOWED) can not be provided. - // This happens when asset spec contains more than one constraint and - // criteria of different constraints are violated. - IMAGE_CONSTRAINTS_VIOLATED = 17; - - // Media bundle data is unrecognizable. - INVALID_MEDIA_BUNDLE = 18; - - // There was a problem with one or more of the media bundle entries. - INVALID_MEDIA_BUNDLE_ENTRY = 19; - - // The asset has an invalid mime type. - INVALID_MIME_TYPE = 20; - - // The media bundle contains an invalid asset path. - INVALID_PATH = 21; - - // Image has layout problem. - LAYOUT_PROBLEM = 22; - - // An asset had a URL reference that is malformed per RFC 1738 convention. - MALFORMED_URL = 23; - - // The uploaded media bundle format is not allowed. - MEDIA_BUNDLE_NOT_ALLOWED = 24; - - // The media bundle is not compatible with the asset spec product type. - // (For example, Gmail, dynamic remarketing, etc.) - MEDIA_BUNDLE_NOT_COMPATIBLE_TO_PRODUCT_TYPE = 25; - - // A bundle being uploaded that is incompatible with multiple assets for - // different reasons. - MEDIA_BUNDLE_REJECTED_BY_MULTIPLE_ASSET_SPECS = 26; - - // The media bundle contains too many files. - TOO_MANY_FILES_IN_MEDIA_BUNDLE = 27; - - // Google Web Designer not created for "Google Ads" environment. - UNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENT = 28; - - // Unsupported HTML5 feature in HTML5 asset. - UNSUPPORTED_HTML5_FEATURE = 29; - - // URL in HTML5 entry is not SSL compliant. - URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT = 30; - - // Video file name is longer than the 50 allowed characters. - VIDEO_FILE_NAME_TOO_LONG = 31; - - // Multiple videos with same name in a bundle. - VIDEO_MULTIPLE_FILES_WITH_SAME_NAME = 32; - - // Videos are not allowed in media bundle. - VIDEO_NOT_ALLOWED_IN_MEDIA_BUNDLE = 33; - - // This type of media cannot be uploaded through the Google Ads API. - CANNOT_UPLOAD_MEDIA_TYPE_THROUGH_API = 34; - - // The dimensions of the image are not allowed. - DIMENSIONS_NOT_ALLOWED = 35; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/merchant_center_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/merchant_center_error.proto deleted file mode 100644 index 0c50ab844..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/merchant_center_error.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "MerchantCenterErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing merchant center errors. - -// Container for enum describing possible merchant center errors. -message MerchantCenterErrorEnum { - // Enum describing Merchant Center errors. - enum MerchantCenterError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Merchant ID is either not found or not linked to the Google Ads customer. - MERCHANT_ID_CANNOT_BE_ACCESSED = 2; - - // Customer not allowlisted for Shopping in Performance Max Campaign. - CUSTOMER_NOT_ALLOWED_FOR_SHOPPING_PERFORMANCE_MAX = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/multiplier_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/multiplier_error.proto deleted file mode 100644 index 6ca2ac8aa..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/multiplier_error.proto +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "MultiplierErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing multiplier errors. - -// Container for enum describing possible multiplier errors. -message MultiplierErrorEnum { - // Enum describing possible multiplier errors. - enum MultiplierError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Multiplier value is too high - MULTIPLIER_TOO_HIGH = 2; - - // Multiplier value is too low - MULTIPLIER_TOO_LOW = 3; - - // Too many fractional digits - TOO_MANY_FRACTIONAL_DIGITS = 4; - - // A multiplier cannot be set for this bidding strategy - MULTIPLIER_NOT_ALLOWED_FOR_BIDDING_STRATEGY = 5; - - // A multiplier cannot be set when there is no base bid (for example, - // content max cpc) - MULTIPLIER_NOT_ALLOWED_WHEN_BASE_BID_IS_MISSING = 6; - - // A bid multiplier must be specified - NO_MULTIPLIER_SPECIFIED = 7; - - // Multiplier causes bid to exceed daily budget - MULTIPLIER_CAUSES_BID_TO_EXCEED_DAILY_BUDGET = 8; - - // Multiplier causes bid to exceed monthly budget - MULTIPLIER_CAUSES_BID_TO_EXCEED_MONTHLY_BUDGET = 9; - - // Multiplier causes bid to exceed custom budget - MULTIPLIER_CAUSES_BID_TO_EXCEED_CUSTOM_BUDGET = 10; - - // Multiplier causes bid to exceed maximum allowed bid - MULTIPLIER_CAUSES_BID_TO_EXCEED_MAX_ALLOWED_BID = 11; - - // Multiplier causes bid to become less than the minimum bid allowed - BID_LESS_THAN_MIN_ALLOWED_BID_WITH_MULTIPLIER = 12; - - // Multiplier type (cpc versus cpm) needs to match campaign's bidding - // strategy - MULTIPLIER_AND_BIDDING_STRATEGY_TYPE_MISMATCH = 13; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/mutate_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/mutate_error.proto deleted file mode 100644 index a07e2d4f5..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/mutate_error.proto +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "MutateErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing mutate errors. - -// Container for enum describing possible mutate errors. -message MutateErrorEnum { - // Enum describing possible mutate errors. - enum MutateError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Requested resource was not found. - RESOURCE_NOT_FOUND = 3; - - // Cannot mutate the same resource twice in one request. - ID_EXISTS_IN_MULTIPLE_MUTATES = 7; - - // The field's contents don't match another field that represents the same - // data. - INCONSISTENT_FIELD_VALUES = 8; - - // Mutates are not allowed for the requested resource. - MUTATE_NOT_ALLOWED = 9; - - // The resource isn't in Google Ads. It belongs to another ads system. - RESOURCE_NOT_IN_GOOGLE_ADS = 10; - - // The resource being created already exists. - RESOURCE_ALREADY_EXISTS = 11; - - // This resource cannot be used with "validate_only". - RESOURCE_DOES_NOT_SUPPORT_VALIDATE_ONLY = 12; - - // This operation cannot be used with "partial_failure". - OPERATION_DOES_NOT_SUPPORT_PARTIAL_FAILURE = 16; - - // Attempt to write to read-only fields. - RESOURCE_READ_ONLY = 13; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/new_resource_creation_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/new_resource_creation_error.proto deleted file mode 100644 index 55e35eb58..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/new_resource_creation_error.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "NewResourceCreationErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing new resource creation errors. - -// Container for enum describing possible new resource creation errors. -message NewResourceCreationErrorEnum { - // Enum describing possible new resource creation errors. - enum NewResourceCreationError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Do not set the id field while creating new resources. - CANNOT_SET_ID_FOR_CREATE = 2; - - // Creating more than one resource with the same temp ID is not allowed. - DUPLICATE_TEMP_IDS = 3; - - // Parent resource with specified temp ID failed validation, so no - // validation will be done for this child resource. - TEMP_ID_RESOURCE_HAD_ERRORS = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/not_allowlisted_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/not_allowlisted_error.proto deleted file mode 100644 index c0d324787..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/not_allowlisted_error.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "NotAllowlistedErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing not allowlisted errors. - -// Container for enum describing possible not allowlisted errors. -message NotAllowlistedErrorEnum { - // Enum describing possible not allowlisted errors. - enum NotAllowlistedError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Customer is not allowlisted for accessing this feature. - CUSTOMER_NOT_ALLOWLISTED_FOR_THIS_FEATURE = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/not_empty_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/not_empty_error.proto deleted file mode 100644 index abace8283..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/not_empty_error.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "NotEmptyErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing not empty errors. - -// Container for enum describing possible not empty errors. -message NotEmptyErrorEnum { - // Enum describing possible not empty errors. - enum NotEmptyError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Empty list. - EMPTY_LIST = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/null_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/null_error.proto deleted file mode 100644 index 66e7a9bac..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/null_error.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "NullErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing null errors. - -// Container for enum describing possible null errors. -message NullErrorEnum { - // Enum describing possible null errors. - enum NullError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Specified list/container must not contain any null elements - NULL_CONTENT = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/offline_user_data_job_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/offline_user_data_job_error.proto deleted file mode 100644 index fc049a1ee..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/offline_user_data_job_error.proto +++ /dev/null @@ -1,173 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "OfflineUserDataJobErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing offline user data job errors. - -// Container for enum describing possible offline user data job errors. -message OfflineUserDataJobErrorEnum { - // Enum describing possible request errors. - enum OfflineUserDataJobError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The user list ID provided for the job is invalid. - INVALID_USER_LIST_ID = 3; - - // Type of the user list is not applicable for the job. - INVALID_USER_LIST_TYPE = 4; - - // Customer is not allowisted for using user ID in upload data. - NOT_ON_ALLOWLIST_FOR_USER_ID = 33; - - // Upload data is not compatible with the upload key type of the associated - // user list. - INCOMPATIBLE_UPLOAD_KEY_TYPE = 6; - - // The user identifier is missing valid data. - MISSING_USER_IDENTIFIER = 7; - - // The mobile ID is malformed. - INVALID_MOBILE_ID_FORMAT = 8; - - // Maximum number of user identifiers allowed per request is 100,000 and per - // operation is 20. - TOO_MANY_USER_IDENTIFIERS = 9; - - // Customer is not on the allow-list for store sales direct data. - NOT_ON_ALLOWLIST_FOR_STORE_SALES_DIRECT = 31; - - // Customer is not on the allow-list for unified store sales data. - NOT_ON_ALLOWLIST_FOR_UNIFIED_STORE_SALES = 32; - - // The partner ID in store sales direct metadata is invalid. - INVALID_PARTNER_ID = 11; - - // The data in user identifier should not be encoded. - INVALID_ENCODING = 12; - - // The country code is invalid. - INVALID_COUNTRY_CODE = 13; - - // Incompatible user identifier when using third_party_user_id for store - // sales direct first party data or not using third_party_user_id for store - // sales third party data. - INCOMPATIBLE_USER_IDENTIFIER = 14; - - // A transaction time in the future is not allowed. - FUTURE_TRANSACTION_TIME = 15; - - // The conversion_action specified in transaction_attributes is used to - // report conversions to a conversion action configured in Google Ads. This - // error indicates there is no such conversion action in the account. - INVALID_CONVERSION_ACTION = 16; - - // Mobile ID is not supported for store sales direct data. - MOBILE_ID_NOT_SUPPORTED = 17; - - // When a remove-all operation is provided, it has to be the first operation - // of the operation list. - INVALID_OPERATION_ORDER = 18; - - // Mixing creation and removal of offline data in the same job is not - // allowed. - CONFLICTING_OPERATION = 19; - - // The external update ID already exists. - EXTERNAL_UPDATE_ID_ALREADY_EXISTS = 21; - - // Once the upload job is started, new operations cannot be added. - JOB_ALREADY_STARTED = 22; - - // Remove operation is not allowed for store sales direct updates. - REMOVE_NOT_SUPPORTED = 23; - - // Remove-all is not supported for certain offline user data job types. - REMOVE_ALL_NOT_SUPPORTED = 24; - - // The SHA256 encoded value is malformed. - INVALID_SHA256_FORMAT = 25; - - // The custom key specified is not enabled for the unified store sales - // upload. - CUSTOM_KEY_DISABLED = 26; - - // The custom key specified is not predefined through the Google Ads UI. - CUSTOM_KEY_NOT_PREDEFINED = 27; - - // The custom key specified is not set in the upload. - CUSTOM_KEY_NOT_SET = 29; - - // The customer has not accepted the customer data terms in the conversion - // settings page. - CUSTOMER_NOT_ACCEPTED_CUSTOMER_DATA_TERMS = 30; - - // User attributes cannot be uploaded into a user list. - ATTRIBUTES_NOT_APPLICABLE_FOR_CUSTOMER_MATCH_USER_LIST = 34; - - // Lifetime bucket value must be a number from 0 to 10; 0 is only accepted - // for remove operations - LIFETIME_VALUE_BUCKET_NOT_IN_RANGE = 35; - - // Identifiers not supported for Customer Match attributes. User attributes - // can only be provided with contact info (email, phone, address) user - // identifiers. - INCOMPATIBLE_USER_IDENTIFIER_FOR_ATTRIBUTES = 36; - - // A time in the future is not allowed. - FUTURE_TIME_NOT_ALLOWED = 37; - - // Last purchase date time cannot be less than acquisition date time. - LAST_PURCHASE_TIME_LESS_THAN_ACQUISITION_TIME = 38; - - // Only emails are accepted as user identifiers for shopping loyalty match. - // {-- api.dev/not-precedent: The identifier is not limited to ids, but - // also include other user info eg. phone numbers.} - CUSTOMER_IDENTIFIER_NOT_ALLOWED = 39; - - // Provided item ID is invalid. - INVALID_ITEM_ID = 40; - - // First purchase date time cannot be greater than the last purchase date - // time. - FIRST_PURCHASE_TIME_GREATER_THAN_LAST_PURCHASE_TIME = 42; - - // Provided lifecycle stage is invalid. - INVALID_LIFECYCLE_STAGE = 43; - - // The event value of the Customer Match user attribute is invalid. - INVALID_EVENT_VALUE = 44; - - // All the fields are not present in the EventAttribute of the Customer - // Match. - EVENT_ATTRIBUTE_ALL_FIELDS_ARE_REQUIRED = 45; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/operation_access_denied_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/operation_access_denied_error.proto deleted file mode 100644 index b5b506e5c..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/operation_access_denied_error.proto +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "OperationAccessDeniedErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing operation access denied errors. - -// Container for enum describing possible operation access denied errors. -message OperationAccessDeniedErrorEnum { - // Enum describing possible operation access denied errors. - enum OperationAccessDeniedError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Unauthorized invocation of a service's method (get, mutate, etc.) - ACTION_NOT_PERMITTED = 2; - - // Unauthorized CREATE operation in invoking a service's mutate method. - CREATE_OPERATION_NOT_PERMITTED = 3; - - // Unauthorized REMOVE operation in invoking a service's mutate method. - REMOVE_OPERATION_NOT_PERMITTED = 4; - - // Unauthorized UPDATE operation in invoking a service's mutate method. - UPDATE_OPERATION_NOT_PERMITTED = 5; - - // A mutate action is not allowed on this resource, from this client. - MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT = 6; - - // This operation is not permitted on this campaign type - OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE = 7; - - // A CREATE operation may not set status to REMOVED. - CREATE_AS_REMOVED_NOT_PERMITTED = 8; - - // This operation is not allowed because the resource is removed. - OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE = 9; - - // This operation is not permitted on this ad group type. - OPERATION_NOT_PERMITTED_FOR_AD_GROUP_TYPE = 10; - - // The mutate is not allowed for this customer. - MUTATE_NOT_PERMITTED_FOR_CUSTOMER = 11; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/operator_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/operator_error.proto deleted file mode 100644 index 926f79866..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/operator_error.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "OperatorErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing operator errors. - -// Container for enum describing possible operator errors. -message OperatorErrorEnum { - // Enum describing possible operator errors. - enum OperatorError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Operator not supported. - OPERATOR_NOT_SUPPORTED = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/partial_failure_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/partial_failure_error.proto deleted file mode 100644 index 509345597..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/partial_failure_error.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "PartialFailureErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing partial failure errors. - -// Container for enum describing possible partial failure errors. -message PartialFailureErrorEnum { - // Enum describing possible partial failure errors. - enum PartialFailureError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The partial failure field was false in the request. - // This method requires this field be set to true. - PARTIAL_FAILURE_MODE_REQUIRED = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/payments_account_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/payments_account_error.proto deleted file mode 100644 index 5635d7e78..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/payments_account_error.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "PaymentsAccountErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing payments account service errors. - -// Container for enum describing possible errors in payments account service. -message PaymentsAccountErrorEnum { - // Enum describing possible errors in payments account service. - enum PaymentsAccountError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Manager customers are not supported for payments account service. - NOT_SUPPORTED_FOR_MANAGER_CUSTOMER = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/policy_finding_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/policy_finding_error.proto deleted file mode 100644 index 40be635a0..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/policy_finding_error.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "PolicyFindingErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing policy finding errors. - -// Container for enum describing possible policy finding errors. -message PolicyFindingErrorEnum { - // Enum describing possible policy finding errors. - enum PolicyFindingError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The resource has been disapproved since the policy summary includes - // policy topics of type PROHIBITED. - POLICY_FINDING = 2; - - // The given policy topic does not exist. - POLICY_TOPIC_NOT_FOUND = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/policy_validation_parameter_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/policy_validation_parameter_error.proto deleted file mode 100644 index 1bbc33373..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/policy_validation_parameter_error.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "PolicyValidationParameterErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing policy validation parameter errors. - -// Container for enum describing possible policy validation parameter errors. -message PolicyValidationParameterErrorEnum { - // Enum describing possible policy validation parameter errors. - enum PolicyValidationParameterError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Ignorable policy topics are not supported for the ad type. - UNSUPPORTED_AD_TYPE_FOR_IGNORABLE_POLICY_TOPICS = 2; - - // Exempt policy violation keys are not supported for the ad type. - UNSUPPORTED_AD_TYPE_FOR_EXEMPT_POLICY_VIOLATION_KEYS = 3; - - // Cannot set ignorable policy topics and exempt policy violation keys in - // the same policy violation parameter. - CANNOT_SET_BOTH_IGNORABLE_POLICY_TOPICS_AND_EXEMPT_POLICY_VIOLATION_KEYS = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/policy_violation_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/policy_violation_error.proto deleted file mode 100644 index f364ebc3f..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/policy_violation_error.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "PolicyViolationErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing policy violation errors. - -// Container for enum describing possible policy violation errors. -message PolicyViolationErrorEnum { - // Enum describing possible policy violation errors. - enum PolicyViolationError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // A policy was violated. See PolicyViolationDetails for more detail. - POLICY_ERROR = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/query_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/query_error.proto deleted file mode 100644 index 78951f802..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/query_error.proto +++ /dev/null @@ -1,225 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "QueryErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing query errors. - -// Container for enum describing possible query errors. -message QueryErrorEnum { - // Enum describing possible query errors. - enum QueryError { - // Name unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Returned if all other query error reasons are not applicable. - QUERY_ERROR = 50; - - // A condition used in the query references an invalid enum constant. - BAD_ENUM_CONSTANT = 18; - - // Query contains an invalid escape sequence. - BAD_ESCAPE_SEQUENCE = 7; - - // Field name is invalid. - BAD_FIELD_NAME = 12; - - // Limit value is invalid (for example, not a number) - BAD_LIMIT_VALUE = 15; - - // Encountered number can not be parsed. - BAD_NUMBER = 5; - - // Invalid operator encountered. - BAD_OPERATOR = 3; - - // Parameter unknown or not supported. - BAD_PARAMETER_NAME = 61; - - // Parameter have invalid value. - BAD_PARAMETER_VALUE = 62; - - // Invalid resource type was specified in the FROM clause. - BAD_RESOURCE_TYPE_IN_FROM_CLAUSE = 45; - - // Non-ASCII symbol encountered outside of strings. - BAD_SYMBOL = 2; - - // Value is invalid. - BAD_VALUE = 4; - - // Date filters fail to restrict date to a range smaller than 31 days. - // Applicable if the query is segmented by date. - DATE_RANGE_TOO_WIDE = 36; - - // Filters on date/week/month/quarter have a start date after - // end date. - DATE_RANGE_TOO_NARROW = 60; - - // Expected AND between values with BETWEEN operator. - EXPECTED_AND = 30; - - // Expecting ORDER BY to have BY. - EXPECTED_BY = 14; - - // There was no dimension field selected. - EXPECTED_DIMENSION_FIELD_IN_SELECT_CLAUSE = 37; - - // Missing filters on date related fields. - EXPECTED_FILTERS_ON_DATE_RANGE = 55; - - // Missing FROM clause. - EXPECTED_FROM = 44; - - // The operator used in the conditions requires the value to be a list. - EXPECTED_LIST = 41; - - // Fields used in WHERE or ORDER BY clauses are missing from the SELECT - // clause. - EXPECTED_REFERENCED_FIELD_IN_SELECT_CLAUSE = 16; - - // SELECT is missing at the beginning of query. - EXPECTED_SELECT = 13; - - // A list was passed as a value to a condition whose operator expects a - // single value. - EXPECTED_SINGLE_VALUE = 42; - - // Missing one or both values with BETWEEN operator. - EXPECTED_VALUE_WITH_BETWEEN_OPERATOR = 29; - - // Invalid date format. Expected 'YYYY-MM-DD'. - INVALID_DATE_FORMAT = 38; - - // Misaligned date value for the filter. The date should be the start of a - // week/month/quarter if the filtered field is - // segments.week/segments.month/segments.quarter. - MISALIGNED_DATE_FOR_FILTER = 64; - - // Value passed was not a string when it should have been. For example, it - // was a number or unquoted literal. - INVALID_STRING_VALUE = 57; - - // A String value passed to the BETWEEN operator does not parse as a date. - INVALID_VALUE_WITH_BETWEEN_OPERATOR = 26; - - // The value passed to the DURING operator is not a Date range literal - INVALID_VALUE_WITH_DURING_OPERATOR = 22; - - // An invalid value was passed to the LIKE operator. - INVALID_VALUE_WITH_LIKE_OPERATOR = 56; - - // An operator was provided that is inapplicable to the field being - // filtered. - OPERATOR_FIELD_MISMATCH = 35; - - // A Condition was found with an empty list. - PROHIBITED_EMPTY_LIST_IN_CONDITION = 28; - - // A condition used in the query references an unsupported enum constant. - PROHIBITED_ENUM_CONSTANT = 54; - - // Fields that are not allowed to be selected together were included in - // the SELECT clause. - PROHIBITED_FIELD_COMBINATION_IN_SELECT_CLAUSE = 31; - - // A field that is not orderable was included in the ORDER BY clause. - PROHIBITED_FIELD_IN_ORDER_BY_CLAUSE = 40; - - // A field that is not selectable was included in the SELECT clause. - PROHIBITED_FIELD_IN_SELECT_CLAUSE = 23; - - // A field that is not filterable was included in the WHERE clause. - PROHIBITED_FIELD_IN_WHERE_CLAUSE = 24; - - // Resource type specified in the FROM clause is not supported by this - // service. - PROHIBITED_RESOURCE_TYPE_IN_FROM_CLAUSE = 43; - - // A field that comes from an incompatible resource was included in the - // SELECT clause. - PROHIBITED_RESOURCE_TYPE_IN_SELECT_CLAUSE = 48; - - // A field that comes from an incompatible resource was included in the - // WHERE clause. - PROHIBITED_RESOURCE_TYPE_IN_WHERE_CLAUSE = 58; - - // A metric incompatible with the main resource or other selected - // segmenting resources was included in the SELECT or WHERE clause. - PROHIBITED_METRIC_IN_SELECT_OR_WHERE_CLAUSE = 49; - - // A segment incompatible with the main resource or other selected - // segmenting resources was included in the SELECT or WHERE clause. - PROHIBITED_SEGMENT_IN_SELECT_OR_WHERE_CLAUSE = 51; - - // A segment in the SELECT clause is incompatible with a metric in the - // SELECT or WHERE clause. - PROHIBITED_SEGMENT_WITH_METRIC_IN_SELECT_OR_WHERE_CLAUSE = 53; - - // The value passed to the limit clause is too low. - LIMIT_VALUE_TOO_LOW = 25; - - // Query has a string containing a newline character. - PROHIBITED_NEWLINE_IN_STRING = 8; - - // List contains values of different types. - PROHIBITED_VALUE_COMBINATION_IN_LIST = 10; - - // The values passed to the BETWEEN operator are not of the same type. - PROHIBITED_VALUE_COMBINATION_WITH_BETWEEN_OPERATOR = 21; - - // Query contains unterminated string. - STRING_NOT_TERMINATED = 6; - - // Too many segments are specified in SELECT clause. - TOO_MANY_SEGMENTS = 34; - - // Query is incomplete and cannot be parsed. - UNEXPECTED_END_OF_QUERY = 9; - - // FROM clause cannot be specified in this query. - UNEXPECTED_FROM_CLAUSE = 47; - - // Query contains one or more unrecognized fields. - UNRECOGNIZED_FIELD = 32; - - // Query has an unexpected extra part. - UNEXPECTED_INPUT = 11; - - // Metrics cannot be requested for a manager account. To retrieve metrics, - // issue separate requests against each client account under the manager - // account. - REQUESTED_METRICS_FOR_MANAGER = 59; - - // The number of values (right-hand-side operands) in a filter exceeds the - // limit. - FILTER_HAS_TOO_MANY_VALUES = 63; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/quota_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/quota_error.proto deleted file mode 100644 index afb567696..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/quota_error.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "QuotaErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing quota errors. - -// Container for enum describing possible quota errors. -message QuotaErrorEnum { - // Enum describing possible quota errors. - enum QuotaError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Too many requests. - RESOURCE_EXHAUSTED = 2; - - // Access is prohibited. - ACCESS_PROHIBITED = 3; - - // Too many requests in a short amount of time. - RESOURCE_TEMPORARILY_EXHAUSTED = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/range_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/range_error.proto deleted file mode 100644 index 13b87ec4b..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/range_error.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "RangeErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing range errors. - -// Container for enum describing possible range errors. -message RangeErrorEnum { - // Enum describing possible range errors. - enum RangeError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Too low. - TOO_LOW = 2; - - // Too high. - TOO_HIGH = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/reach_plan_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/reach_plan_error.proto deleted file mode 100644 index 795a7e0be..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/reach_plan_error.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ReachPlanErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing errors generated from ReachPlanService. - -// Container for enum describing possible errors returned from -// the ReachPlanService. -message ReachPlanErrorEnum { - // Enum describing possible errors from ReachPlanService. - enum ReachPlanError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Not forecastable due to missing rate card data. - NOT_FORECASTABLE_MISSING_RATE = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/recommendation_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/recommendation_error.proto deleted file mode 100644 index 26e959d0a..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/recommendation_error.proto +++ /dev/null @@ -1,88 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "RecommendationErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing errors from applying a recommendation. - -// Container for enum describing possible errors from applying a recommendation. -message RecommendationErrorEnum { - // Enum describing possible errors from applying a recommendation. - enum RecommendationError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The specified budget amount is too low for example, lower than minimum - // currency unit or lower than ad group minimum cost-per-click. - BUDGET_AMOUNT_TOO_SMALL = 2; - - // The specified budget amount is too large. - BUDGET_AMOUNT_TOO_LARGE = 3; - - // The specified budget amount is not a valid amount, for example, not a - // multiple of minimum currency unit. - INVALID_BUDGET_AMOUNT = 4; - - // The specified keyword or ad violates ad policy. - POLICY_ERROR = 5; - - // The specified bid amount is not valid, for example, too many fractional - // digits, or negative amount. - INVALID_BID_AMOUNT = 6; - - // The number of keywords in ad group have reached the maximum allowed. - ADGROUP_KEYWORD_LIMIT = 7; - - // The recommendation requested to apply has already been applied. - RECOMMENDATION_ALREADY_APPLIED = 8; - - // The recommendation requested to apply has been invalidated. - RECOMMENDATION_INVALIDATED = 9; - - // The number of operations in a single request exceeds the maximum allowed. - TOO_MANY_OPERATIONS = 10; - - // There are no operations in the request. - NO_OPERATIONS = 11; - - // Operations with multiple recommendation types are not supported when - // partial failure mode is not enabled. - DIFFERENT_TYPES_NOT_SUPPORTED = 12; - - // Request contains multiple operations with the same resource_name. - DUPLICATE_RESOURCE_NAME = 13; - - // The recommendation requested to dismiss has already been dismissed. - RECOMMENDATION_ALREADY_DISMISSED = 14; - - // The recommendation apply request was malformed and invalid. - INVALID_APPLY_REQUEST = 15; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/region_code_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/region_code_error.proto deleted file mode 100644 index b3ba148ab..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/region_code_error.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "RegionCodeErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing region code errors. - -// Container for enum describing possible region code errors. -message RegionCodeErrorEnum { - // Enum describing possible region code errors. - enum RegionCodeError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Invalid region code. - INVALID_REGION_CODE = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/request_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/request_error.proto deleted file mode 100644 index c9d90cd25..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/request_error.proto +++ /dev/null @@ -1,117 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "RequestErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing request errors. - -// Container for enum describing possible request errors. -message RequestErrorEnum { - // Enum describing possible request errors. - enum RequestError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Resource name is required for this request. - RESOURCE_NAME_MISSING = 3; - - // Resource name provided is malformed. - RESOURCE_NAME_MALFORMED = 4; - - // Resource name provided is malformed. - BAD_RESOURCE_ID = 17; - - // Customer ID is invalid. - INVALID_CUSTOMER_ID = 16; - - // Mutate operation should have either create, update, or remove specified. - OPERATION_REQUIRED = 5; - - // Requested resource not found. - RESOURCE_NOT_FOUND = 6; - - // Next page token specified in user request is invalid. - INVALID_PAGE_TOKEN = 7; - - // Next page token specified in user request has expired. - EXPIRED_PAGE_TOKEN = 8; - - // Page size specified in user request is invalid. - INVALID_PAGE_SIZE = 22; - - // Required field is missing. - REQUIRED_FIELD_MISSING = 9; - - // The field cannot be modified because it's immutable. It's also possible - // that the field can be modified using 'create' operation but not 'update'. - IMMUTABLE_FIELD = 11; - - // Received too many entries in request. - TOO_MANY_MUTATE_OPERATIONS = 13; - - // Request cannot be executed by a manager account. - CANNOT_BE_EXECUTED_BY_MANAGER_ACCOUNT = 14; - - // Mutate request was attempting to modify a readonly field. - // For instance, Budget fields can be requested for Ad Group, - // but are read-only for adGroups:mutate. - CANNOT_MODIFY_FOREIGN_FIELD = 15; - - // Enum value is not permitted. - INVALID_ENUM_VALUE = 18; - - // The developer-token parameter is required for all requests. - DEVELOPER_TOKEN_PARAMETER_MISSING = 19; - - // The login-customer-id parameter is required for this request. - LOGIN_CUSTOMER_ID_PARAMETER_MISSING = 20; - - // page_token is set in the validate only request - VALIDATE_ONLY_REQUEST_HAS_PAGE_TOKEN = 21; - - // return_summary_row cannot be enabled if request did not select any - // metrics field. - CANNOT_RETURN_SUMMARY_ROW_FOR_REQUEST_WITHOUT_METRICS = 29; - - // return_summary_row should not be enabled for validate only requests. - CANNOT_RETURN_SUMMARY_ROW_FOR_VALIDATE_ONLY_REQUESTS = 30; - - // return_summary_row parameter value should be the same between requests - // with page_token field set and their original request. - INCONSISTENT_RETURN_SUMMARY_ROW_VALUE = 31; - - // The total results count cannot be returned if it was not requested in the - // original request. - TOTAL_RESULTS_COUNT_NOT_ORIGINALLY_REQUESTED = 32; - - // Deadline specified by the client was too short. - RPC_DEADLINE_TOO_SHORT = 33; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/resource_access_denied_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/resource_access_denied_error.proto deleted file mode 100644 index e368738de..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/resource_access_denied_error.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ResourceAccessDeniedErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing resource access denied errors. - -// Container for enum describing possible resource access denied errors. -message ResourceAccessDeniedErrorEnum { - // Enum describing possible resource access denied errors. - enum ResourceAccessDeniedError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // User did not have write access. - WRITE_ACCESS_DENIED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/resource_count_limit_exceeded_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/resource_count_limit_exceeded_error.proto deleted file mode 100644 index 3d3efbc68..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/resource_count_limit_exceeded_error.proto +++ /dev/null @@ -1,91 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ResourceCountLimitExceededErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing resource count limit exceeded errors. - -// Container for enum describing possible resource count limit exceeded errors. -message ResourceCountLimitExceededErrorEnum { - // Enum describing possible resource count limit exceeded errors. - enum ResourceCountLimitExceededError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Indicates that this request would exceed the number of allowed resources - // for the Google Ads account. The exact resource type and limit being - // checked can be inferred from accountLimitType. - ACCOUNT_LIMIT = 2; - - // Indicates that this request would exceed the number of allowed resources - // in a Campaign. The exact resource type and limit being checked can be - // inferred from accountLimitType, and the numeric id of the - // Campaign involved is given by enclosingId. - CAMPAIGN_LIMIT = 3; - - // Indicates that this request would exceed the number of allowed resources - // in an ad group. The exact resource type and limit being checked can be - // inferred from accountLimitType, and the numeric id of the - // ad group involved is given by enclosingId. - ADGROUP_LIMIT = 4; - - // Indicates that this request would exceed the number of allowed resources - // in an ad group ad. The exact resource type and limit being checked can - // be inferred from accountLimitType, and the enclosingId - // contains the ad group id followed by the ad id, separated by a single - // comma (,). - AD_GROUP_AD_LIMIT = 5; - - // Indicates that this request would exceed the number of allowed resources - // in an ad group criterion. The exact resource type and limit being checked - // can be inferred from accountLimitType, and the - // enclosingId contains the ad group id followed by the - // criterion id, separated by a single comma (,). - AD_GROUP_CRITERION_LIMIT = 6; - - // Indicates that this request would exceed the number of allowed resources - // in this shared set. The exact resource type and limit being checked can - // be inferred from accountLimitType, and the numeric id of the - // shared set involved is given by enclosingId. - SHARED_SET_LIMIT = 7; - - // Exceeds a limit related to a matching function. - MATCHING_FUNCTION_LIMIT = 8; - - // The response for this request would exceed the maximum number of rows - // that can be returned. - RESPONSE_ROW_LIMIT_EXCEEDED = 9; - - // This request would exceed a limit on the number of allowed resources. - // The details of which type of limit was exceeded will eventually be - // returned in ErrorDetails. - RESOURCE_LIMIT = 10; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/setting_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/setting_error.proto deleted file mode 100644 index 6696a7205..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/setting_error.proto +++ /dev/null @@ -1,88 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "SettingErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing setting errors. - -// Container for enum describing possible setting errors. -message SettingErrorEnum { - // Enum describing possible setting errors. - enum SettingError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The campaign setting is not available for this Google Ads account. - SETTING_TYPE_IS_NOT_AVAILABLE = 3; - - // The setting is not compatible with the campaign. - SETTING_TYPE_IS_NOT_COMPATIBLE_WITH_CAMPAIGN = 4; - - // The supplied TargetingSetting contains an invalid CriterionTypeGroup. See - // CriterionTypeGroup documentation for CriterionTypeGroups allowed - // in Campaign or AdGroup TargetingSettings. - TARGETING_SETTING_CONTAINS_INVALID_CRITERION_TYPE_GROUP = 5; - - // TargetingSetting must not explicitly - // set any of the Demographic CriterionTypeGroups (AGE_RANGE, GENDER, - // PARENT, INCOME_RANGE) to false (it's okay to not set them at all, in - // which case the system will set them to true automatically). - TARGETING_SETTING_DEMOGRAPHIC_CRITERION_TYPE_GROUPS_MUST_BE_SET_TO_TARGET_ALL = 6; - - // TargetingSetting cannot change any of - // the Demographic CriterionTypeGroups (AGE_RANGE, GENDER, PARENT, - // INCOME_RANGE) from true to false. - TARGETING_SETTING_CANNOT_CHANGE_TARGET_ALL_TO_FALSE_FOR_DEMOGRAPHIC_CRITERION_TYPE_GROUP = 7; - - // At least one feed id should be present. - DYNAMIC_SEARCH_ADS_SETTING_AT_LEAST_ONE_FEED_ID_MUST_BE_PRESENT = 8; - - // The supplied DynamicSearchAdsSetting contains an invalid domain name. - DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_DOMAIN_NAME = 9; - - // The supplied DynamicSearchAdsSetting contains a subdomain name. - DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_SUBDOMAIN_NAME = 10; - - // The supplied DynamicSearchAdsSetting contains an invalid language code. - DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_LANGUAGE_CODE = 11; - - // TargetingSettings in search campaigns should not have - // CriterionTypeGroup.PLACEMENT set to targetAll. - TARGET_ALL_IS_NOT_ALLOWED_FOR_PLACEMENT_IN_SEARCH_CAMPAIGN = 12; - - // The setting value is not compatible with the campaign type. - SETTING_VALUE_NOT_COMPATIBLE_WITH_CAMPAIGN = 20; - - // Switching from observation setting to targeting setting is not allowed - // for Customer Match lists. See - // https://support.google.com/google-ads/answer/6299717. - BID_ONLY_IS_NOT_ALLOWED_TO_BE_MODIFIED_WITH_CUSTOMER_MATCH_TARGETING = 21; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/shared_criterion_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/shared_criterion_error.proto deleted file mode 100644 index 15d39cc5e..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/shared_criterion_error.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "SharedCriterionErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing shared criterion errors. - -// Container for enum describing possible shared criterion errors. -message SharedCriterionErrorEnum { - // Enum describing possible shared criterion errors. - enum SharedCriterionError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The criterion is not appropriate for the shared set type. - CRITERION_TYPE_NOT_ALLOWED_FOR_SHARED_SET_TYPE = 2; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/shared_set_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/shared_set_error.proto deleted file mode 100644 index 8436fe220..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/shared_set_error.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "SharedSetErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing shared set errors. - -// Container for enum describing possible shared set errors. -message SharedSetErrorEnum { - // Enum describing possible shared set errors. - enum SharedSetError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The customer cannot create this type of shared set. - CUSTOMER_CANNOT_CREATE_SHARED_SET_OF_THIS_TYPE = 2; - - // A shared set with this name already exists. - DUPLICATE_NAME = 3; - - // Removed shared sets cannot be mutated. - SHARED_SET_REMOVED = 4; - - // The shared set cannot be removed because it is in use. - SHARED_SET_IN_USE = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/size_limit_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/size_limit_error.proto deleted file mode 100644 index 7f4eb0f8b..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/size_limit_error.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "SizeLimitErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing size limit errors. - -// Container for enum describing possible size limit errors. -message SizeLimitErrorEnum { - // Enum describing possible size limit errors. - enum SizeLimitError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The number of entries in the request exceeds the system limit, or the - // contents of the operations exceed transaction limits due to their size - // or complexity. Try reducing the number of entries per request. - REQUEST_SIZE_LIMIT_EXCEEDED = 2; - - // The number of entries in the response exceeds the system limit. - RESPONSE_SIZE_LIMIT_EXCEEDED = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/smart_campaign_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/smart_campaign_error.proto deleted file mode 100644 index 46ec2f13f..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/smart_campaign_error.proto +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "SmartCampaignErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing Smart campaign errors. - -// Container for enum describing possible Smart campaign errors. -message SmartCampaignErrorEnum { - // Enum describing possible Smart campaign errors. - enum SmartCampaignError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The business location id is invalid. - INVALID_BUSINESS_LOCATION_ID = 2; - - // The SmartCampaignSetting resource is only applicable for campaigns - // with advertising channel type SMART. - INVALID_CAMPAIGN = 3; - - // The business name or business location id is required. - BUSINESS_NAME_OR_BUSINESS_LOCATION_ID_MISSING = 4; - - // A Smart campaign suggestion request field is required. - REQUIRED_SUGGESTION_FIELD_MISSING = 5; - - // A location list or proximity is required. - GEO_TARGETS_REQUIRED = 6; - - // The locale could not be determined. - CANNOT_DETERMINE_SUGGESTION_LOCALE = 7; - - // The final URL could not be crawled. - FINAL_URL_NOT_CRAWLABLE = 8; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/string_format_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/string_format_error.proto deleted file mode 100644 index 597967400..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/string_format_error.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "StringFormatErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing string format errors. - -// Container for enum describing possible string format errors. -message StringFormatErrorEnum { - // Enum describing possible string format errors. - enum StringFormatError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The input string value contains disallowed characters. - ILLEGAL_CHARS = 2; - - // The input string value is invalid for the associated field. - INVALID_FORMAT = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/string_length_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/string_length_error.proto deleted file mode 100644 index 84148b12e..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/string_length_error.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "StringLengthErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing string length errors. - -// Container for enum describing possible string length errors. -message StringLengthErrorEnum { - // Enum describing possible string length errors. - enum StringLengthError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The specified field should have a least one non-whitespace character in - // it. - EMPTY = 4; - - // Too short. - TOO_SHORT = 2; - - // Too long. - TOO_LONG = 3; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/third_party_app_analytics_link_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/third_party_app_analytics_link_error.proto deleted file mode 100644 index 4f1c0e739..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/third_party_app_analytics_link_error.proto +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ThirdPartyAppAnalyticsLinkErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing ThirdPartyAppAnalyticsLink errors. - -// Container for enum describing possible third party app analytics link errors. -message ThirdPartyAppAnalyticsLinkErrorEnum { - // Enum describing possible third party app analytics link errors. - enum ThirdPartyAppAnalyticsLinkError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The provided analytics provider ID is invalid. - INVALID_ANALYTICS_PROVIDER_ID = 2; - - // The provided mobile app ID is invalid. - INVALID_MOBILE_APP_ID = 3; - - // The mobile app corresponding to the provided app ID is not - // active/enabled. - MOBILE_APP_IS_NOT_ENABLED = 4; - - // Regenerating shareable link ID is only allowed on active links - CANNOT_REGENERATE_SHAREABLE_LINK_ID_FOR_REMOVED_LINK = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/time_zone_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/time_zone_error.proto deleted file mode 100644 index da9a04b5a..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/time_zone_error.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "TimeZoneErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing time zone errors. - -// Container for enum describing possible time zone errors. -message TimeZoneErrorEnum { - // Enum describing possible currency code errors. - enum TimeZoneError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Time zone is not valid. - INVALID_TIME_ZONE = 5; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/url_field_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/url_field_error.proto deleted file mode 100644 index a3ef5fda9..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/url_field_error.proto +++ /dev/null @@ -1,216 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "UrlFieldErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing url field errors. - -// Container for enum describing possible url field errors. -message UrlFieldErrorEnum { - // Enum describing possible url field errors. - enum UrlFieldError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The tracking url template is invalid. - INVALID_TRACKING_URL_TEMPLATE = 2; - - // The tracking url template contains invalid tag. - INVALID_TAG_IN_TRACKING_URL_TEMPLATE = 3; - - // The tracking url template must contain at least one tag (for example, - // {lpurl}), This applies only to tracking url template associated with - // website ads or product ads. - MISSING_TRACKING_URL_TEMPLATE_TAG = 4; - - // The tracking url template must start with a valid protocol (or lpurl - // tag). - MISSING_PROTOCOL_IN_TRACKING_URL_TEMPLATE = 5; - - // The tracking url template starts with an invalid protocol. - INVALID_PROTOCOL_IN_TRACKING_URL_TEMPLATE = 6; - - // The tracking url template contains illegal characters. - MALFORMED_TRACKING_URL_TEMPLATE = 7; - - // The tracking url template must contain a host name (or lpurl tag). - MISSING_HOST_IN_TRACKING_URL_TEMPLATE = 8; - - // The tracking url template has an invalid or missing top level domain - // extension. - INVALID_TLD_IN_TRACKING_URL_TEMPLATE = 9; - - // The tracking url template contains nested occurrences of the same - // conditional tag (for example, {ifmobile:{ifmobile:x}}). - REDUNDANT_NESTED_TRACKING_URL_TEMPLATE_TAG = 10; - - // The final url is invalid. - INVALID_FINAL_URL = 11; - - // The final url contains invalid tag. - INVALID_TAG_IN_FINAL_URL = 12; - - // The final url contains nested occurrences of the same conditional tag - // (for example, {ifmobile:{ifmobile:x}}). - REDUNDANT_NESTED_FINAL_URL_TAG = 13; - - // The final url must start with a valid protocol. - MISSING_PROTOCOL_IN_FINAL_URL = 14; - - // The final url starts with an invalid protocol. - INVALID_PROTOCOL_IN_FINAL_URL = 15; - - // The final url contains illegal characters. - MALFORMED_FINAL_URL = 16; - - // The final url must contain a host name. - MISSING_HOST_IN_FINAL_URL = 17; - - // The tracking url template has an invalid or missing top level domain - // extension. - INVALID_TLD_IN_FINAL_URL = 18; - - // The final mobile url is invalid. - INVALID_FINAL_MOBILE_URL = 19; - - // The final mobile url contains invalid tag. - INVALID_TAG_IN_FINAL_MOBILE_URL = 20; - - // The final mobile url contains nested occurrences of the same conditional - // tag (for example, {ifmobile:{ifmobile:x}}). - REDUNDANT_NESTED_FINAL_MOBILE_URL_TAG = 21; - - // The final mobile url must start with a valid protocol. - MISSING_PROTOCOL_IN_FINAL_MOBILE_URL = 22; - - // The final mobile url starts with an invalid protocol. - INVALID_PROTOCOL_IN_FINAL_MOBILE_URL = 23; - - // The final mobile url contains illegal characters. - MALFORMED_FINAL_MOBILE_URL = 24; - - // The final mobile url must contain a host name. - MISSING_HOST_IN_FINAL_MOBILE_URL = 25; - - // The tracking url template has an invalid or missing top level domain - // extension. - INVALID_TLD_IN_FINAL_MOBILE_URL = 26; - - // The final app url is invalid. - INVALID_FINAL_APP_URL = 27; - - // The final app url contains invalid tag. - INVALID_TAG_IN_FINAL_APP_URL = 28; - - // The final app url contains nested occurrences of the same conditional tag - // (for example, {ifmobile:{ifmobile:x}}). - REDUNDANT_NESTED_FINAL_APP_URL_TAG = 29; - - // More than one app url found for the same OS type. - MULTIPLE_APP_URLS_FOR_OSTYPE = 30; - - // The OS type given for an app url is not valid. - INVALID_OSTYPE = 31; - - // The protocol given for an app url is not valid. (For example, - // "android-app://") - INVALID_PROTOCOL_FOR_APP_URL = 32; - - // The package id (app id) given for an app url is not valid. - INVALID_PACKAGE_ID_FOR_APP_URL = 33; - - // The number of url custom parameters for an resource exceeds the maximum - // limit allowed. - URL_CUSTOM_PARAMETERS_COUNT_EXCEEDS_LIMIT = 34; - - // An invalid character appears in the parameter key. - INVALID_CHARACTERS_IN_URL_CUSTOM_PARAMETER_KEY = 39; - - // An invalid character appears in the parameter value. - INVALID_CHARACTERS_IN_URL_CUSTOM_PARAMETER_VALUE = 40; - - // The url custom parameter value fails url tag validation. - INVALID_TAG_IN_URL_CUSTOM_PARAMETER_VALUE = 41; - - // The custom parameter contains nested occurrences of the same conditional - // tag (for example, {ifmobile:{ifmobile:x}}). - REDUNDANT_NESTED_URL_CUSTOM_PARAMETER_TAG = 42; - - // The protocol (http:// or https://) is missing. - MISSING_PROTOCOL = 43; - - // Unsupported protocol in URL. Only http and https are supported. - INVALID_PROTOCOL = 52; - - // The url is invalid. - INVALID_URL = 44; - - // Destination Url is deprecated. - DESTINATION_URL_DEPRECATED = 45; - - // The url contains invalid tag. - INVALID_TAG_IN_URL = 46; - - // The url must contain at least one tag (for example, {lpurl}). - MISSING_URL_TAG = 47; - - // Duplicate url id. - DUPLICATE_URL_ID = 48; - - // Invalid url id. - INVALID_URL_ID = 49; - - // The final url suffix cannot begin with '?' or '&' characters and must be - // a valid query string. - FINAL_URL_SUFFIX_MALFORMED = 50; - - // The final url suffix cannot contain {lpurl} related or {ignore} tags. - INVALID_TAG_IN_FINAL_URL_SUFFIX = 51; - - // The top level domain is invalid, for example, not a public top level - // domain listed in publicsuffix.org. - INVALID_TOP_LEVEL_DOMAIN = 53; - - // Malformed top level domain in URL. - MALFORMED_TOP_LEVEL_DOMAIN = 54; - - // Malformed URL. - MALFORMED_URL = 55; - - // No host found in URL. - MISSING_HOST = 56; - - // Custom parameter value cannot be null. - NULL_CUSTOM_PARAMETER_VALUE = 57; - - // Track parameter is not supported. - VALUE_TRACK_PARAMETER_NOT_SUPPORTED = 58; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/user_data_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/user_data_error.proto deleted file mode 100644 index 19f501609..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/user_data_error.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "UserDataErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing user data errors. - -// Container for enum describing possible user data errors. -message UserDataErrorEnum { - // Enum describing possible request errors. - enum UserDataError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Customer is not allowed to perform operations related to Customer Match. - OPERATIONS_FOR_CUSTOMER_MATCH_NOT_ALLOWED = 2; - - // Maximum number of user identifiers allowed for each request is 100 and - // for each operation is 20. - TOO_MANY_USER_IDENTIFIERS = 3; - - // Current user list is not applicable for the given customer. - USER_LIST_NOT_APPLICABLE = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/user_list_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/user_list_error.proto deleted file mode 100644 index 2e8bc0130..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/user_list_error.proto +++ /dev/null @@ -1,127 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "UserListErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing user list errors. - -// Container for enum describing possible user list errors. -message UserListErrorEnum { - // Enum describing possible user list errors. - enum UserListError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Creating and updating external remarketing user lists is not supported. - EXTERNAL_REMARKETING_USER_LIST_MUTATE_NOT_SUPPORTED = 2; - - // Concrete type of user list is required. - CONCRETE_TYPE_REQUIRED = 3; - - // Creating/updating user list conversion types requires specifying the - // conversion type Id. - CONVERSION_TYPE_ID_REQUIRED = 4; - - // Remarketing user list cannot have duplicate conversion types. - DUPLICATE_CONVERSION_TYPES = 5; - - // Conversion type is invalid/unknown. - INVALID_CONVERSION_TYPE = 6; - - // User list description is empty or invalid. - INVALID_DESCRIPTION = 7; - - // User list name is empty or invalid. - INVALID_NAME = 8; - - // Type of the UserList does not match. - INVALID_TYPE = 9; - - // Embedded logical user lists are not allowed. - CAN_NOT_ADD_LOGICAL_LIST_AS_LOGICAL_LIST_OPERAND = 10; - - // User list rule operand is invalid. - INVALID_USER_LIST_LOGICAL_RULE_OPERAND = 11; - - // Name is already being used for another user list for the account. - NAME_ALREADY_USED = 12; - - // Name is required when creating a new conversion type. - NEW_CONVERSION_TYPE_NAME_REQUIRED = 13; - - // The given conversion type name has been used. - CONVERSION_TYPE_NAME_ALREADY_USED = 14; - - // Only an owner account may edit a user list. - OWNERSHIP_REQUIRED_FOR_SET = 15; - - // Creating user list without setting type in oneof user_list field, or - // creating/updating read-only user list types is not allowed. - USER_LIST_MUTATE_NOT_SUPPORTED = 16; - - // Rule is invalid. - INVALID_RULE = 17; - - // The specified date range is empty. - INVALID_DATE_RANGE = 27; - - // A UserList which is privacy sensitive or legal rejected cannot be mutated - // by external users. - CAN_NOT_MUTATE_SENSITIVE_USERLIST = 28; - - // Maximum number of rulebased user lists a customer can have. - MAX_NUM_RULEBASED_USERLISTS = 29; - - // BasicUserList's billable record field cannot be modified once it is set. - CANNOT_MODIFY_BILLABLE_RECORD_COUNT = 30; - - // crm_based_user_list.app_id field must be set when upload_key_type is - // MOBILE_ADVERTISING_ID. - APP_ID_NOT_SET = 31; - - // Name of the user list is reserved for system generated lists and cannot - // be used. - USERLIST_NAME_IS_RESERVED_FOR_SYSTEM_LIST = 32; - - // Advertiser needs to be on the allow-list to use remarketing lists created - // from advertiser uploaded data (for example, Customer Match lists). - ADVERTISER_NOT_ON_ALLOWLIST_FOR_USING_UPLOADED_DATA = 37; - - // The provided rule_type is not supported for the user list. - RULE_TYPE_IS_NOT_SUPPORTED = 34; - - // Similar user list cannot be used as a logical user list operand. - CAN_NOT_ADD_A_SIMILAR_USERLIST_AS_LOGICAL_LIST_OPERAND = 35; - - // Logical user list should not have a mix of CRM based user list and other - // types of lists in its rules. - CAN_NOT_MIX_CRM_BASED_IN_LOGICAL_LIST_WITH_OTHER_LISTS = 36; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/errors/youtube_video_registration_error.proto b/third_party/googleapis/google/ads/googleads/v12/errors/youtube_video_registration_error.proto deleted file mode 100644 index 80f737db0..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/errors/youtube_video_registration_error.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "YoutubeVideoRegistrationErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; - -// Proto file describing YouTube video registration errors. - -// Container for enum describing YouTube video registration errors. -message YoutubeVideoRegistrationErrorEnum { - // Enum describing YouTube video registration errors. - enum YoutubeVideoRegistrationError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Video to be registered wasn't found. - VIDEO_NOT_FOUND = 2; - - // Video to be registered is not accessible (for example, private). - VIDEO_NOT_ACCESSIBLE = 3; - - // Video to be registered is not eligible (for example, mature content). - VIDEO_NOT_ELIGIBLE = 4; - } - - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/googleads_gapic.yaml b/third_party/googleapis/google/ads/googleads/v12/googleads_gapic.yaml deleted file mode 100644 index be30ba68b..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/googleads_gapic.yaml +++ /dev/null @@ -1,26 +0,0 @@ -type: com.google.api.codegen.ConfigProto -config_schema_version: 2.0.0 -language_settings: - csharp: - package_name: Google.Ads.GoogleAds.V12.Services - go: - package_name: google.golang.org/google/ads/googleads/v12/services - java: - package_name: com.google.ads.googleads.v12.services - nodejs: - package_name: v12.services - php: - package_name: Google\Ads\GoogleAds\V12\Services - python: - package_name: google.ads.googleads_v12.gapic.services - ruby: - package_name: Google::Ads::Googleads::V12::Services -interfaces: -- name: google.ads.googleads.v12.services.OfflineUserDataJobService - methods: - - name: RunOfflineUserDataJob - long_running: - initial_poll_delay_millis: 300000 - max_poll_delay_millis: 3600000 - poll_delay_multiplier: 1.25 - total_poll_timeout_millis: 43200000 diff --git a/third_party/googleapis/google/ads/googleads/v12/googleads_grpc_service_config.json b/third_party/googleapis/google/ads/googleads/v12/googleads_grpc_service_config.json deleted file mode 100755 index 5767e0aef..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/googleads_grpc_service_config.json +++ /dev/null @@ -1,330 +0,0 @@ -{ - "methodConfig": [ - { - "name": [ - { - "service": "google.ads.googleads.v12.services.AccountBudgetProposalService" - }, - { - "service": "google.ads.googleads.v12.services.AccountLinkService" - }, - { - "service": "google.ads.googleads.v12.services.AdGroupAdLabelService" - }, - { - "service": "google.ads.googleads.v12.services.AdGroupAdService" - }, - { - "service": "google.ads.googleads.v12.services.AdGroupAssetService" - }, - { - "service": "google.ads.googleads.v12.services.AdGroupAssetSetService" - }, - { - "service": "google.ads.googleads.v12.services.AdGroupBidModifierService" - }, - { - "service": "google.ads.googleads.v12.services.AdGroupCriterionCustomizerService" - }, - { - "service": "google.ads.googleads.v12.services.AdGroupCriterionLabelService" - }, - { - "service": "google.ads.googleads.v12.services.AdGroupCriterionService" - }, - { - "service": "google.ads.googleads.v12.services.AdGroupCustomizerService" - }, - { - "service": "google.ads.googleads.v12.services.AdGroupExtensionSettingService" - }, - { - "service": "google.ads.googleads.v12.services.AdGroupFeedService" - }, - { - "service": "google.ads.googleads.v12.services.AdGroupLabelService" - }, - { - "service": "google.ads.googleads.v12.services.AdGroupService" - }, - { - "service": "google.ads.googleads.v12.services.AdParameterService" - }, - { - "service": "google.ads.googleads.v12.services.AdService" - }, - { - "service": "google.ads.googleads.v12.services.AssetGroupAssetService" - }, - { - "service": "google.ads.googleads.v12.services.AssetGroupListingGroupFilterService" - }, - { - "service": "google.ads.googleads.v12.services.AssetGroupService" - }, - { - "service": "google.ads.googleads.v12.services.AssetGroupSignalService" - }, - { - "service": "google.ads.googleads.v12.services.AssetService" - }, - { - "service": "google.ads.googleads.v12.services.AssetSetAssetService" - }, - { - "service": "google.ads.googleads.v12.services.AssetSetService" - }, - { - "service": "google.ads.googleads.v12.services.AudienceInsightsService" - }, - { - "service": "google.ads.googleads.v12.services.AudienceService" - }, - { - "service": "google.ads.googleads.v12.services.BatchJobService" - }, - { - "service": "google.ads.googleads.v12.services.BiddingDataExclusionService" - }, - { - "service": "google.ads.googleads.v12.services.BiddingSeasonalityAdjustmentService" - }, - { - "service": "google.ads.googleads.v12.services.BiddingStrategyService" - }, - { - "service": "google.ads.googleads.v12.services.BillingSetupService" - }, - { - "service": "google.ads.googleads.v12.services.CampaignAssetService" - }, - { - "service": "google.ads.googleads.v12.services.CampaignAssetSetService" - }, - { - "service": "google.ads.googleads.v12.services.CampaignBidModifierService" - }, - { - "service": "google.ads.googleads.v12.services.CampaignBudgetService" - }, - { - "service": "google.ads.googleads.v12.services.CampaignConversionGoalService" - }, - { - "service": "google.ads.googleads.v12.services.CampaignCriterionService" - }, - { - "service": "google.ads.googleads.v12.services.CampaignCustomizerService" - }, - { - "service": "google.ads.googleads.v12.services.CampaignDraftService" - }, - { - "service": "google.ads.googleads.v12.services.CampaignExtensionSettingService" - }, - { - "service": "google.ads.googleads.v12.services.CampaignFeedService" - }, - { - "service": "google.ads.googleads.v12.services.CampaignGroupService" - }, - { - "service": "google.ads.googleads.v12.services.CampaignLabelService" - }, - { - "service": "google.ads.googleads.v12.services.CampaignService" - }, - { - "service": "google.ads.googleads.v12.services.CampaignSharedSetService" - }, - { - "service": "google.ads.googleads.v12.services.ConversionActionService" - }, - { - "service": "google.ads.googleads.v12.services.ConversionAdjustmentUploadService" - }, - { - "service": "google.ads.googleads.v12.services.ConversionCustomVariableService" - }, - { - "service": "google.ads.googleads.v12.services.ConversionGoalCampaignConfigService" - }, - { - "service": "google.ads.googleads.v12.services.ConversionUploadService" - }, - { - "service": "google.ads.googleads.v12.services.ConversionValueRuleService" - }, - { - "service": "google.ads.googleads.v12.services.ConversionValueRuleSetService" - }, - { - "service": "google.ads.googleads.v12.services.CustomAudienceService" - }, - { - "service": "google.ads.googleads.v12.services.CustomConversionGoalService" - }, - { - "service": "google.ads.googleads.v12.services.CustomInterestService" - }, - { - "service": "google.ads.googleads.v12.services.CustomerAssetService" - }, - { - "service": "google.ads.googleads.v12.services.CustomerAssetSetService" - }, - { - "service": "google.ads.googleads.v12.services.CustomerClientLinkService" - }, - { - "service": "google.ads.googleads.v12.services.CustomerConversionGoalService" - }, - { - "service": "google.ads.googleads.v12.services.CustomerCustomizerService" - }, - { - "service": "google.ads.googleads.v12.services.CustomerExtensionSettingService" - }, - { - "service": "google.ads.googleads.v12.services.CustomerFeedService" - }, - { - "service": "google.ads.googleads.v12.services.CustomerLabelService" - }, - { - "service": "google.ads.googleads.v12.services.CustomerManagerLinkService" - }, - { - "service": "google.ads.googleads.v12.services.CustomerNegativeCriterionService" - }, - { - "service": "google.ads.googleads.v12.services.CustomerService" - }, - { - "service": "google.ads.googleads.v12.services.CustomerUserAccessInvitationService" - }, - { - "service": "google.ads.googleads.v12.services.CustomerUserAccessService" - }, - { - "service": "google.ads.googleads.v12.services.CustomizerAttributeService" - }, - { - "service": "google.ads.googleads.v12.services.ExperimentArmService" - }, - { - "service": "google.ads.googleads.v12.services.ExperimentService" - }, - { - "service": "google.ads.googleads.v12.services.ExtensionFeedItemService" - }, - { - "service": "google.ads.googleads.v12.services.FeedItemService" - }, - { - "service": "google.ads.googleads.v12.services.FeedItemSetLinkService" - }, - { - "service": "google.ads.googleads.v12.services.FeedItemSetService" - }, - { - "service": "google.ads.googleads.v12.services.FeedItemTargetService" - }, - { - "service": "google.ads.googleads.v12.services.FeedMappingService" - }, - { - "service": "google.ads.googleads.v12.services.FeedService" - }, - { - "service": "google.ads.googleads.v12.services.GeoTargetConstantService" - }, - { - "service": "google.ads.googleads.v12.services.GoogleAdsFieldService" - }, - { - "service": "google.ads.googleads.v12.services.GoogleAdsService" - }, - { - "service": "google.ads.googleads.v12.services.InvoiceService" - }, - { - "service": "google.ads.googleads.v12.services.KeywordPlanAdGroupKeywordService" - }, - { - "service": "google.ads.googleads.v12.services.KeywordPlanAdGroupService" - }, - { - "service": "google.ads.googleads.v12.services.KeywordPlanCampaignKeywordService" - }, - { - "service": "google.ads.googleads.v12.services.KeywordPlanCampaignService" - }, - { - "service": "google.ads.googleads.v12.services.KeywordPlanIdeaService" - }, - { - "service": "google.ads.googleads.v12.services.KeywordPlanService" - }, - { - "service": "google.ads.googleads.v12.services.KeywordThemeConstantService" - }, - { - "service": "google.ads.googleads.v12.services.LabelService" - }, - { - "service": "google.ads.googleads.v12.services.MediaFileService" - }, - { - "service": "google.ads.googleads.v12.services.MerchantCenterLinkService" - }, - { - "service": "google.ads.googleads.v12.services.OfflineUserDataJobService" - }, - { - "service": "google.ads.googleads.v12.services.PaymentsAccountService" - }, - { - "service": "google.ads.googleads.v12.services.ReachPlanService" - }, - { - "service": "google.ads.googleads.v12.services.RecommendationService" - }, - { - "service": "google.ads.googleads.v12.services.RemarketingActionService" - }, - { - "service": "google.ads.googleads.v12.services.SharedCriterionService" - }, - { - "service": "google.ads.googleads.v12.services.SharedSetService" - }, - { - "service": "google.ads.googleads.v12.services.SmartCampaignSettingService" - }, - { - "service": "google.ads.googleads.v12.services.SmartCampaignSuggestService" - }, - { - "service": "google.ads.googleads.v12.services.ThirdPartyAppAnalyticsLinkService" - }, - { - "service": "google.ads.googleads.v12.services.UserDataService" - }, - { - "service": "google.ads.googleads.v12.services.UserListService" - } - ], - "timeout": "14400s", - "retryPolicy": { - "initialBackoff": "5s", - "maxBackoff": "60s", - "backoffMultiplier": 1.3, - "retryableStatusCodes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - } - } - ] -} diff --git a/third_party/googleapis/google/ads/googleads/v12/googleads_v12.yaml b/third_party/googleapis/google/ads/googleads/v12/googleads_v12.yaml deleted file mode 100644 index b16ee2c07..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/googleads_v12.yaml +++ /dev/null @@ -1,817 +0,0 @@ -type: google.api.Service -config_version: 3 -name: googleads.googleapis.com -title: Google Ads API - -apis: -- name: google.ads.googleads.v12.services.AccountBudgetProposalService -- name: google.ads.googleads.v12.services.AccountLinkService -- name: google.ads.googleads.v12.services.AdGroupAdLabelService -- name: google.ads.googleads.v12.services.AdGroupAdService -- name: google.ads.googleads.v12.services.AdGroupAssetService -- name: google.ads.googleads.v12.services.AdGroupAssetSetService -- name: google.ads.googleads.v12.services.AdGroupBidModifierService -- name: google.ads.googleads.v12.services.AdGroupCriterionCustomizerService -- name: google.ads.googleads.v12.services.AdGroupCriterionLabelService -- name: google.ads.googleads.v12.services.AdGroupCriterionService -- name: google.ads.googleads.v12.services.AdGroupCustomizerService -- name: google.ads.googleads.v12.services.AdGroupExtensionSettingService -- name: google.ads.googleads.v12.services.AdGroupFeedService -- name: google.ads.googleads.v12.services.AdGroupLabelService -- name: google.ads.googleads.v12.services.AdGroupService -- name: google.ads.googleads.v12.services.AdParameterService -- name: google.ads.googleads.v12.services.AdService -- name: google.ads.googleads.v12.services.AssetGroupAssetService -- name: google.ads.googleads.v12.services.AssetGroupListingGroupFilterService -- name: google.ads.googleads.v12.services.AssetGroupService -- name: google.ads.googleads.v12.services.AssetGroupSignalService -- name: google.ads.googleads.v12.services.AssetService -- name: google.ads.googleads.v12.services.AssetSetAssetService -- name: google.ads.googleads.v12.services.AssetSetService -- name: google.ads.googleads.v12.services.AudienceInsightsService -- name: google.ads.googleads.v12.services.AudienceService -- name: google.ads.googleads.v12.services.BatchJobService -- name: google.ads.googleads.v12.services.BiddingDataExclusionService -- name: google.ads.googleads.v12.services.BiddingSeasonalityAdjustmentService -- name: google.ads.googleads.v12.services.BiddingStrategyService -- name: google.ads.googleads.v12.services.BillingSetupService -- name: google.ads.googleads.v12.services.CampaignAssetService -- name: google.ads.googleads.v12.services.CampaignAssetSetService -- name: google.ads.googleads.v12.services.CampaignBidModifierService -- name: google.ads.googleads.v12.services.CampaignBudgetService -- name: google.ads.googleads.v12.services.CampaignConversionGoalService -- name: google.ads.googleads.v12.services.CampaignCriterionService -- name: google.ads.googleads.v12.services.CampaignCustomizerService -- name: google.ads.googleads.v12.services.CampaignDraftService -- name: google.ads.googleads.v12.services.CampaignExtensionSettingService -- name: google.ads.googleads.v12.services.CampaignFeedService -- name: google.ads.googleads.v12.services.CampaignGroupService -- name: google.ads.googleads.v12.services.CampaignLabelService -- name: google.ads.googleads.v12.services.CampaignService -- name: google.ads.googleads.v12.services.CampaignSharedSetService -- name: google.ads.googleads.v12.services.ConversionActionService -- name: google.ads.googleads.v12.services.ConversionAdjustmentUploadService -- name: google.ads.googleads.v12.services.ConversionCustomVariableService -- name: google.ads.googleads.v12.services.ConversionGoalCampaignConfigService -- name: google.ads.googleads.v12.services.ConversionUploadService -- name: google.ads.googleads.v12.services.ConversionValueRuleService -- name: google.ads.googleads.v12.services.ConversionValueRuleSetService -- name: google.ads.googleads.v12.services.CustomAudienceService -- name: google.ads.googleads.v12.services.CustomConversionGoalService -- name: google.ads.googleads.v12.services.CustomInterestService -- name: google.ads.googleads.v12.services.CustomerAssetService -- name: google.ads.googleads.v12.services.CustomerAssetSetService -- name: google.ads.googleads.v12.services.CustomerClientLinkService -- name: google.ads.googleads.v12.services.CustomerConversionGoalService -- name: google.ads.googleads.v12.services.CustomerCustomizerService -- name: google.ads.googleads.v12.services.CustomerExtensionSettingService -- name: google.ads.googleads.v12.services.CustomerFeedService -- name: google.ads.googleads.v12.services.CustomerLabelService -- name: google.ads.googleads.v12.services.CustomerManagerLinkService -- name: google.ads.googleads.v12.services.CustomerNegativeCriterionService -- name: google.ads.googleads.v12.services.CustomerService -- name: google.ads.googleads.v12.services.CustomerUserAccessInvitationService -- name: google.ads.googleads.v12.services.CustomerUserAccessService -- name: google.ads.googleads.v12.services.CustomizerAttributeService -- name: google.ads.googleads.v12.services.ExperimentArmService -- name: google.ads.googleads.v12.services.ExperimentService -- name: google.ads.googleads.v12.services.ExtensionFeedItemService -- name: google.ads.googleads.v12.services.FeedItemService -- name: google.ads.googleads.v12.services.FeedItemSetLinkService -- name: google.ads.googleads.v12.services.FeedItemSetService -- name: google.ads.googleads.v12.services.FeedItemTargetService -- name: google.ads.googleads.v12.services.FeedMappingService -- name: google.ads.googleads.v12.services.FeedService -- name: google.ads.googleads.v12.services.GeoTargetConstantService -- name: google.ads.googleads.v12.services.GoogleAdsFieldService -- name: google.ads.googleads.v12.services.GoogleAdsService -- name: google.ads.googleads.v12.services.InvoiceService -- name: google.ads.googleads.v12.services.KeywordPlanAdGroupKeywordService -- name: google.ads.googleads.v12.services.KeywordPlanAdGroupService -- name: google.ads.googleads.v12.services.KeywordPlanCampaignKeywordService -- name: google.ads.googleads.v12.services.KeywordPlanCampaignService -- name: google.ads.googleads.v12.services.KeywordPlanIdeaService -- name: google.ads.googleads.v12.services.KeywordPlanService -- name: google.ads.googleads.v12.services.KeywordThemeConstantService -- name: google.ads.googleads.v12.services.LabelService -- name: google.ads.googleads.v12.services.MediaFileService -- name: google.ads.googleads.v12.services.MerchantCenterLinkService -- name: google.ads.googleads.v12.services.OfflineUserDataJobService -- name: google.ads.googleads.v12.services.PaymentsAccountService -- name: google.ads.googleads.v12.services.ReachPlanService -- name: google.ads.googleads.v12.services.RecommendationService -- name: google.ads.googleads.v12.services.RemarketingActionService -- name: google.ads.googleads.v12.services.SharedCriterionService -- name: google.ads.googleads.v12.services.SharedSetService -- name: google.ads.googleads.v12.services.SmartCampaignSettingService -- name: google.ads.googleads.v12.services.SmartCampaignSuggestService -- name: google.ads.googleads.v12.services.ThirdPartyAppAnalyticsLinkService -- name: google.ads.googleads.v12.services.UserDataService -- name: google.ads.googleads.v12.services.UserListService - -types: -- name: google.ads.googleads.v12.errors.GoogleAdsFailure -- name: google.ads.googleads.v12.resources.BatchJob.BatchJobMetadata -- name: google.ads.googleads.v12.services.PromoteExperimentMetadata -- name: google.ads.googleads.v12.services.ScheduleExperimentMetadata - -documentation: - summary: 'Manage your Google Ads accounts, campaigns, and reports with this API.' - overview: |- - The Google Ads API enables an app to integrate with the Google Ads - platform. You can efficiently retrieve and change your Google Ads data - using the API, making it ideal for managing large or complex accounts and - campaigns. - -backend: - rules: - - selector: google.ads.googleads.v12.services.AccountBudgetProposalService.MutateAccountBudgetProposal - deadline: 60.0 - - selector: google.ads.googleads.v12.services.AccountLinkService.CreateAccountLink - deadline: 600.0 - - selector: google.ads.googleads.v12.services.AccountLinkService.MutateAccountLink - deadline: 600.0 - - selector: google.ads.googleads.v12.services.AdGroupAdLabelService.MutateAdGroupAdLabels - deadline: 60.0 - - selector: google.ads.googleads.v12.services.AdGroupAdService.MutateAdGroupAds - deadline: 60.0 - - selector: google.ads.googleads.v12.services.AdGroupAssetService.MutateAdGroupAssets - deadline: 60.0 - - selector: google.ads.googleads.v12.services.AdGroupAssetSetService.MutateAdGroupAssetSets - deadline: 60.0 - - selector: google.ads.googleads.v12.services.AdGroupBidModifierService.MutateAdGroupBidModifiers - deadline: 60.0 - - selector: google.ads.googleads.v12.services.AdGroupCriterionCustomizerService.MutateAdGroupCriterionCustomizers - deadline: 60.0 - - selector: google.ads.googleads.v12.services.AdGroupCriterionLabelService.MutateAdGroupCriterionLabels - deadline: 60.0 - - selector: google.ads.googleads.v12.services.AdGroupCriterionService.MutateAdGroupCriteria - deadline: 60.0 - - selector: google.ads.googleads.v12.services.AdGroupCustomizerService.MutateAdGroupCustomizers - deadline: 60.0 - - selector: google.ads.googleads.v12.services.AdGroupExtensionSettingService.MutateAdGroupExtensionSettings - deadline: 60.0 - - selector: google.ads.googleads.v12.services.AdGroupFeedService.MutateAdGroupFeeds - deadline: 60.0 - - selector: google.ads.googleads.v12.services.AdGroupLabelService.MutateAdGroupLabels - deadline: 60.0 - - selector: google.ads.googleads.v12.services.AdGroupService.MutateAdGroups - deadline: 60.0 - - selector: google.ads.googleads.v12.services.AdParameterService.MutateAdParameters - deadline: 60.0 - - selector: google.ads.googleads.v12.services.AdService.GetAd - deadline: 60.0 - - selector: google.ads.googleads.v12.services.AdService.MutateAds - deadline: 60.0 - - selector: google.ads.googleads.v12.services.AssetGroupAssetService.MutateAssetGroupAssets - deadline: 60.0 - - selector: google.ads.googleads.v12.services.AssetGroupListingGroupFilterService.MutateAssetGroupListingGroupFilters - deadline: 60.0 - - selector: google.ads.googleads.v12.services.AssetGroupService.MutateAssetGroups - deadline: 60.0 - - selector: google.ads.googleads.v12.services.AssetGroupSignalService.MutateAssetGroupSignals - deadline: 60.0 - - selector: google.ads.googleads.v12.services.AssetService.MutateAssets - deadline: 60.0 - - selector: google.ads.googleads.v12.services.AssetSetAssetService.MutateAssetSetAssets - deadline: 60.0 - - selector: google.ads.googleads.v12.services.AssetSetService.MutateAssetSets - deadline: 60.0 - - selector: 'google.ads.googleads.v12.services.AudienceInsightsService.*' - deadline: 600.0 - - selector: google.ads.googleads.v12.services.AudienceService.MutateAudiences - deadline: 600.0 - - selector: 'google.ads.googleads.v12.services.BatchJobService.*' - deadline: 60.0 - - selector: google.ads.googleads.v12.services.BiddingDataExclusionService.MutateBiddingDataExclusions - deadline: 60.0 - - selector: google.ads.googleads.v12.services.BiddingSeasonalityAdjustmentService.MutateBiddingSeasonalityAdjustments - deadline: 60.0 - - selector: google.ads.googleads.v12.services.BiddingStrategyService.MutateBiddingStrategies - deadline: 60.0 - - selector: google.ads.googleads.v12.services.BillingSetupService.MutateBillingSetup - deadline: 60.0 - - selector: google.ads.googleads.v12.services.CampaignAssetService.MutateCampaignAssets - deadline: 60.0 - - selector: google.ads.googleads.v12.services.CampaignAssetSetService.MutateCampaignAssetSets - deadline: 60.0 - - selector: google.ads.googleads.v12.services.CampaignBidModifierService.MutateCampaignBidModifiers - deadline: 60.0 - - selector: google.ads.googleads.v12.services.CampaignBudgetService.MutateCampaignBudgets - deadline: 60.0 - - selector: google.ads.googleads.v12.services.CampaignConversionGoalService.MutateCampaignConversionGoals - deadline: 60.0 - - selector: google.ads.googleads.v12.services.CampaignCriterionService.MutateCampaignCriteria - deadline: 60.0 - - selector: google.ads.googleads.v12.services.CampaignCustomizerService.MutateCampaignCustomizers - deadline: 60.0 - - selector: 'google.ads.googleads.v12.services.CampaignDraftService.*' - deadline: 60.0 - - selector: google.ads.googleads.v12.services.CampaignExtensionSettingService.MutateCampaignExtensionSettings - deadline: 60.0 - - selector: google.ads.googleads.v12.services.CampaignFeedService.MutateCampaignFeeds - deadline: 60.0 - - selector: google.ads.googleads.v12.services.CampaignGroupService.MutateCampaignGroups - deadline: 60.0 - - selector: google.ads.googleads.v12.services.CampaignLabelService.MutateCampaignLabels - deadline: 60.0 - - selector: google.ads.googleads.v12.services.CampaignService.MutateCampaigns - deadline: 60.0 - - selector: google.ads.googleads.v12.services.CampaignSharedSetService.MutateCampaignSharedSets - deadline: 60.0 - - selector: google.ads.googleads.v12.services.ConversionActionService.MutateConversionActions - deadline: 60.0 - - selector: google.ads.googleads.v12.services.ConversionAdjustmentUploadService.UploadConversionAdjustments - deadline: 600.0 - - selector: google.ads.googleads.v12.services.ConversionCustomVariableService.MutateConversionCustomVariables - deadline: 60.0 - - selector: google.ads.googleads.v12.services.ConversionGoalCampaignConfigService.MutateConversionGoalCampaignConfigs - deadline: 60.0 - - selector: google.ads.googleads.v12.services.ConversionUploadService.UploadCallConversions - deadline: 600.0 - - selector: google.ads.googleads.v12.services.ConversionUploadService.UploadClickConversions - deadline: 600.0 - - selector: google.ads.googleads.v12.services.ConversionValueRuleService.MutateConversionValueRules - deadline: 60.0 - - selector: google.ads.googleads.v12.services.ConversionValueRuleSetService.MutateConversionValueRuleSets - deadline: 60.0 - - selector: google.ads.googleads.v12.services.CustomAudienceService.MutateCustomAudiences - deadline: 600.0 - - selector: google.ads.googleads.v12.services.CustomConversionGoalService.MutateCustomConversionGoals - deadline: 60.0 - - selector: google.ads.googleads.v12.services.CustomInterestService.MutateCustomInterests - deadline: 60.0 - - selector: google.ads.googleads.v12.services.CustomerAssetService.MutateCustomerAssets - deadline: 60.0 - - selector: google.ads.googleads.v12.services.CustomerAssetSetService.MutateCustomerAssetSets - deadline: 60.0 - - selector: google.ads.googleads.v12.services.CustomerClientLinkService.MutateCustomerClientLink - deadline: 60.0 - - selector: google.ads.googleads.v12.services.CustomerConversionGoalService.MutateCustomerConversionGoals - deadline: 60.0 - - selector: google.ads.googleads.v12.services.CustomerCustomizerService.MutateCustomerCustomizers - deadline: 60.0 - - selector: google.ads.googleads.v12.services.CustomerExtensionSettingService.MutateCustomerExtensionSettings - deadline: 60.0 - - selector: google.ads.googleads.v12.services.CustomerFeedService.MutateCustomerFeeds - deadline: 60.0 - - selector: google.ads.googleads.v12.services.CustomerLabelService.MutateCustomerLabels - deadline: 60.0 - - selector: google.ads.googleads.v12.services.CustomerManagerLinkService.MoveManagerLink - deadline: 60.0 - - selector: google.ads.googleads.v12.services.CustomerManagerLinkService.MutateCustomerManagerLink - deadline: 60.0 - - selector: google.ads.googleads.v12.services.CustomerNegativeCriterionService.MutateCustomerNegativeCriteria - deadline: 60.0 - - selector: 'google.ads.googleads.v12.services.CustomerService.*' - deadline: 60.0 - - selector: google.ads.googleads.v12.services.CustomerUserAccessInvitationService.MutateCustomerUserAccessInvitation - deadline: 600.0 - - selector: google.ads.googleads.v12.services.CustomerUserAccessService.MutateCustomerUserAccess - deadline: 600.0 - - selector: google.ads.googleads.v12.services.CustomizerAttributeService.MutateCustomizerAttributes - deadline: 60.0 - - selector: google.ads.googleads.v12.services.ExperimentArmService.MutateExperimentArms - deadline: 60.0 - - selector: 'google.ads.googleads.v12.services.ExperimentService.*' - deadline: 60.0 - - selector: google.ads.googleads.v12.services.ExtensionFeedItemService.MutateExtensionFeedItems - deadline: 60.0 - - selector: google.ads.googleads.v12.services.FeedItemService.MutateFeedItems - deadline: 60.0 - - selector: google.ads.googleads.v12.services.FeedItemSetLinkService.MutateFeedItemSetLinks - deadline: 60.0 - - selector: google.ads.googleads.v12.services.FeedItemSetService.MutateFeedItemSets - deadline: 60.0 - - selector: google.ads.googleads.v12.services.FeedItemTargetService.MutateFeedItemTargets - deadline: 60.0 - - selector: google.ads.googleads.v12.services.FeedMappingService.MutateFeedMappings - deadline: 60.0 - - selector: google.ads.googleads.v12.services.FeedService.MutateFeeds - deadline: 60.0 - - selector: google.ads.googleads.v12.services.GeoTargetConstantService.SuggestGeoTargetConstants - deadline: 60.0 - - selector: google.ads.googleads.v12.services.GoogleAdsFieldService.GetGoogleAdsField - deadline: 600.0 - - selector: google.ads.googleads.v12.services.GoogleAdsFieldService.SearchGoogleAdsFields - deadline: 600.0 - - selector: google.ads.googleads.v12.services.GoogleAdsService.Mutate - deadline: 600.0 - - selector: google.ads.googleads.v12.services.GoogleAdsService.Search - deadline: 14400.0 - - selector: google.ads.googleads.v12.services.GoogleAdsService.SearchStream - deadline: 14400.0 - - selector: google.ads.googleads.v12.services.InvoiceService.ListInvoices - deadline: 60.0 - - selector: google.ads.googleads.v12.services.KeywordPlanAdGroupKeywordService.MutateKeywordPlanAdGroupKeywords - deadline: 60.0 - - selector: google.ads.googleads.v12.services.KeywordPlanAdGroupService.MutateKeywordPlanAdGroups - deadline: 60.0 - - selector: google.ads.googleads.v12.services.KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords - deadline: 60.0 - - selector: google.ads.googleads.v12.services.KeywordPlanCampaignService.MutateKeywordPlanCampaigns - deadline: 60.0 - - selector: 'google.ads.googleads.v12.services.KeywordPlanIdeaService.*' - deadline: 600.0 - - selector: 'google.ads.googleads.v12.services.KeywordPlanService.*' - deadline: 600.0 - - selector: google.ads.googleads.v12.services.KeywordPlanService.MutateKeywordPlans - deadline: 60.0 - - selector: google.ads.googleads.v12.services.KeywordThemeConstantService.SuggestKeywordThemeConstants - deadline: 60.0 - - selector: google.ads.googleads.v12.services.LabelService.MutateLabels - deadline: 60.0 - - selector: google.ads.googleads.v12.services.MediaFileService.MutateMediaFiles - deadline: 60.0 - - selector: 'google.ads.googleads.v12.services.MerchantCenterLinkService.*' - deadline: 60.0 - - selector: 'google.ads.googleads.v12.services.OfflineUserDataJobService.*' - deadline: 600.0 - - selector: google.ads.googleads.v12.services.PaymentsAccountService.ListPaymentsAccounts - deadline: 60.0 - - selector: 'google.ads.googleads.v12.services.ReachPlanService.*' - deadline: 600.0 - - selector: google.ads.googleads.v12.services.RecommendationService.ApplyRecommendation - deadline: 600.0 - - selector: google.ads.googleads.v12.services.RecommendationService.DismissRecommendation - deadline: 600.0 - - selector: google.ads.googleads.v12.services.RemarketingActionService.MutateRemarketingActions - deadline: 60.0 - - selector: google.ads.googleads.v12.services.SharedCriterionService.MutateSharedCriteria - deadline: 60.0 - - selector: google.ads.googleads.v12.services.SharedSetService.MutateSharedSets - deadline: 60.0 - - selector: google.ads.googleads.v12.services.SmartCampaignSettingService.MutateSmartCampaignSettings - deadline: 60.0 - - selector: 'google.ads.googleads.v12.services.SmartCampaignSuggestService.*' - deadline: 60.0 - - selector: google.ads.googleads.v12.services.ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId - deadline: 600.0 - - selector: google.ads.googleads.v12.services.UserDataService.UploadUserData - deadline: 600.0 - - selector: google.ads.googleads.v12.services.UserListService.MutateUserLists - deadline: 60.0 - - selector: 'google.longrunning.Operations.*' - deadline: 60.0 - -http: - rules: - - selector: google.longrunning.Operations.CancelOperation - post: '/v12/{name=customers/*/operations/*}:cancel' - body: '*' - - selector: google.longrunning.Operations.DeleteOperation - delete: '/v12/{name=customers/*/operations/*}' - - selector: google.longrunning.Operations.GetOperation - get: '/v12/{name=customers/*/operations/*}' - - selector: google.longrunning.Operations.ListOperations - get: '/v12/{name=customers/*/operations}' - - selector: google.longrunning.Operations.WaitOperation - post: '/v12/{name=customers/*/operations/*}:wait' - body: '*' - -authentication: - rules: - - selector: google.ads.googleads.v12.services.AccountBudgetProposalService.MutateAccountBudgetProposal - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.AccountLinkService.CreateAccountLink - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.AccountLinkService.MutateAccountLink - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.AdGroupAdLabelService.MutateAdGroupAdLabels - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.AdGroupAdService.MutateAdGroupAds - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.AdGroupAssetService.MutateAdGroupAssets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.AdGroupAssetSetService.MutateAdGroupAssetSets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.AdGroupBidModifierService.MutateAdGroupBidModifiers - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.AdGroupCriterionCustomizerService.MutateAdGroupCriterionCustomizers - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.AdGroupCriterionLabelService.MutateAdGroupCriterionLabels - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.AdGroupCriterionService.MutateAdGroupCriteria - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.AdGroupCustomizerService.MutateAdGroupCustomizers - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.AdGroupExtensionSettingService.MutateAdGroupExtensionSettings - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.AdGroupFeedService.MutateAdGroupFeeds - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.AdGroupLabelService.MutateAdGroupLabels - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.AdGroupService.MutateAdGroups - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.AdParameterService.MutateAdParameters - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.AdService.GetAd - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.AdService.MutateAds - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.AssetGroupAssetService.MutateAssetGroupAssets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.AssetGroupListingGroupFilterService.MutateAssetGroupListingGroupFilters - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.AssetGroupService.MutateAssetGroups - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.AssetGroupSignalService.MutateAssetGroupSignals - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.AssetService.MutateAssets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.AssetSetAssetService.MutateAssetSetAssets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.AssetSetService.MutateAssetSets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: 'google.ads.googleads.v12.services.AudienceInsightsService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.AudienceService.MutateAudiences - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: 'google.ads.googleads.v12.services.BatchJobService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.BiddingDataExclusionService.MutateBiddingDataExclusions - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.BiddingSeasonalityAdjustmentService.MutateBiddingSeasonalityAdjustments - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.BiddingStrategyService.MutateBiddingStrategies - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.BillingSetupService.MutateBillingSetup - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.CampaignAssetService.MutateCampaignAssets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.CampaignAssetSetService.MutateCampaignAssetSets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.CampaignBidModifierService.MutateCampaignBidModifiers - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.CampaignBudgetService.MutateCampaignBudgets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.CampaignConversionGoalService.MutateCampaignConversionGoals - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.CampaignCriterionService.MutateCampaignCriteria - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.CampaignCustomizerService.MutateCampaignCustomizers - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: 'google.ads.googleads.v12.services.CampaignDraftService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.CampaignExtensionSettingService.MutateCampaignExtensionSettings - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.CampaignFeedService.MutateCampaignFeeds - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.CampaignGroupService.MutateCampaignGroups - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.CampaignLabelService.MutateCampaignLabels - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.CampaignService.MutateCampaigns - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.CampaignSharedSetService.MutateCampaignSharedSets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.ConversionActionService.MutateConversionActions - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.ConversionAdjustmentUploadService.UploadConversionAdjustments - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.ConversionCustomVariableService.MutateConversionCustomVariables - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.ConversionGoalCampaignConfigService.MutateConversionGoalCampaignConfigs - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.ConversionUploadService.UploadCallConversions - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.ConversionUploadService.UploadClickConversions - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.ConversionValueRuleService.MutateConversionValueRules - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.ConversionValueRuleSetService.MutateConversionValueRuleSets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.CustomAudienceService.MutateCustomAudiences - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.CustomConversionGoalService.MutateCustomConversionGoals - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.CustomInterestService.MutateCustomInterests - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.CustomerAssetService.MutateCustomerAssets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.CustomerAssetSetService.MutateCustomerAssetSets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.CustomerClientLinkService.MutateCustomerClientLink - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.CustomerConversionGoalService.MutateCustomerConversionGoals - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.CustomerCustomizerService.MutateCustomerCustomizers - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.CustomerExtensionSettingService.MutateCustomerExtensionSettings - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.CustomerFeedService.MutateCustomerFeeds - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.CustomerLabelService.MutateCustomerLabels - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.CustomerManagerLinkService.MoveManagerLink - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.CustomerManagerLinkService.MutateCustomerManagerLink - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.CustomerNegativeCriterionService.MutateCustomerNegativeCriteria - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: 'google.ads.googleads.v12.services.CustomerService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.CustomerUserAccessInvitationService.MutateCustomerUserAccessInvitation - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.CustomerUserAccessService.MutateCustomerUserAccess - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.CustomizerAttributeService.MutateCustomizerAttributes - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.ExperimentArmService.MutateExperimentArms - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: 'google.ads.googleads.v12.services.ExperimentService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.ExtensionFeedItemService.MutateExtensionFeedItems - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.FeedItemService.MutateFeedItems - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.FeedItemSetLinkService.MutateFeedItemSetLinks - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.FeedItemSetService.MutateFeedItemSets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.FeedItemTargetService.MutateFeedItemTargets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.FeedMappingService.MutateFeedMappings - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.FeedService.MutateFeeds - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.GeoTargetConstantService.SuggestGeoTargetConstants - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.GoogleAdsFieldService.GetGoogleAdsField - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.GoogleAdsFieldService.SearchGoogleAdsFields - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: 'google.ads.googleads.v12.services.GoogleAdsService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.InvoiceService.ListInvoices - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.KeywordPlanAdGroupKeywordService.MutateKeywordPlanAdGroupKeywords - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.KeywordPlanAdGroupService.MutateKeywordPlanAdGroups - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.KeywordPlanCampaignService.MutateKeywordPlanCampaigns - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: 'google.ads.googleads.v12.services.KeywordPlanIdeaService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: 'google.ads.googleads.v12.services.KeywordPlanService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.KeywordThemeConstantService.SuggestKeywordThemeConstants - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.LabelService.MutateLabels - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.MediaFileService.MutateMediaFiles - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: 'google.ads.googleads.v12.services.MerchantCenterLinkService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: 'google.ads.googleads.v12.services.OfflineUserDataJobService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.PaymentsAccountService.ListPaymentsAccounts - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: 'google.ads.googleads.v12.services.ReachPlanService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.RecommendationService.ApplyRecommendation - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.RecommendationService.DismissRecommendation - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.RemarketingActionService.MutateRemarketingActions - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.SharedCriterionService.MutateSharedCriteria - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.SharedSetService.MutateSharedSets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.SmartCampaignSettingService.MutateSmartCampaignSettings - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: 'google.ads.googleads.v12.services.SmartCampaignSuggestService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.UserDataService.UploadUserData - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v12.services.UserListService.MutateUserLists - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: 'google.longrunning.Operations.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/BUILD.bazel b/third_party/googleapis/google/ads/googleads/v12/resources/BUILD.bazel deleted file mode 100644 index 70ab3bd0b..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/BUILD.bazel +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 2020 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -package(default_visibility = ["//visibility:public"]) - -############################################################################## -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") - -# TODO(ohren): Change srcs to use an enumeration of each individual proto -# instead of *.proto globbing once the build file generator supports -# subpackages. -proto_library( - name = "resources_proto", - srcs = glob(["*.proto"]), - deps = [ - "//google/ads/googleads/v12/common:common_proto", - "//google/ads/googleads/v12/enums:enums_proto", - "//google/ads/googleads/v12/errors:errors_proto", - "//google/api:annotations_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", - "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:wrappers_proto", - ], -) - -############################################################################## -# Java -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "java_proto_library", -) - -java_proto_library( - name = "resources_java_proto", - deps = [":resources_proto"], -) - -############################################################################## -# PHP -############################################################################## - -# PHP targets are in the parent directory's BUILD.bazel file to facilitate -# aggregating metadata using a single underlying call to protoc. - -############################################################################## -# C# -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "csharp_proto_library", -) - -csharp_proto_library( - name = "resources_csharp_proto", - deps = [":resources_proto"], -) - -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "ruby_proto_library", -) - -ruby_proto_library( - name = "resources_ruby_proto", - deps = [":resources_proto"], -) - -############################################################################## -# Python -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "py_proto_library", -) - -py_proto_library( - name = "resources_py_proto", - deps = [":resources_proto"], -) diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/accessible_bidding_strategy.proto b/third_party/googleapis/google/ads/googleads/v12/resources/accessible_bidding_strategy.proto deleted file mode 100644 index e809697f1..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/accessible_bidding_strategy.proto +++ /dev/null @@ -1,171 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/bidding_strategy_type.proto"; -import "google/ads/googleads/v12/enums/target_impression_share_location.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AccessibleBiddingStrategyProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Represents a view of BiddingStrategies owned by and shared with the customer. -// -// In contrast to BiddingStrategy, this resource includes strategies owned by -// managers of the customer and shared with this customer - in addition to -// strategies owned by this customer. This resource does not provide metrics and -// only exposes a limited subset of the BiddingStrategy attributes. -message AccessibleBiddingStrategy { - option (google.api.resource) = { - type: "googleads.googleapis.com/AccessibleBiddingStrategy" - pattern: "customers/{customer_id}/accessibleBiddingStrategies/{bidding_strategy_id}" - }; - - // An automated bidding strategy to help get the most conversion value for - // your campaigns while spending your budget. - message MaximizeConversionValue { - // Output only. The target return on ad spend (ROAS) option. If set, the bid strategy - // will maximize revenue while averaging the target return on ad spend. If - // the target ROAS is high, the bid strategy may not be able to spend the - // full budget. If the target ROAS is not set, the bid strategy will aim to - // achieve the highest possible ROAS for the budget. - double target_roas = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // An automated bidding strategy to help get the most conversions for your - // campaigns while spending your budget. - message MaximizeConversions { - // Output only. The target cost per acquisition (CPA) option. This is the average amount - // that you would like to spend per acquisition. - int64 target_cpa_micros = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // An automated bid strategy that sets bids to help get as many conversions as - // possible at the target cost-per-acquisition (CPA) you set. - message TargetCpa { - // Output only. Average CPA target. - // This target should be greater than or equal to minimum billable unit - // based on the currency for the account. - optional int64 target_cpa_micros = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // An automated bidding strategy that sets bids so that a certain percentage - // of search ads are shown at the top of the first page (or other targeted - // location). - message TargetImpressionShare { - // Output only. The targeted location on the search results page. - google.ads.googleads.v12.enums.TargetImpressionShareLocationEnum.TargetImpressionShareLocation location = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The chosen fraction of ads to be shown in the targeted location in - // micros. For example, 1% equals 10,000. - optional int64 location_fraction_micros = 2; - - // Output only. The highest CPC bid the automated bidding system is permitted to specify. - // This is a required field entered by the advertiser that sets the ceiling - // and specified in local micros. - optional int64 cpc_bid_ceiling_micros = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // An automated bidding strategy that helps you maximize revenue while - // averaging a specific target return on ad spend (ROAS). - message TargetRoas { - // Output only. The chosen revenue (based on conversion data) per unit of spend. - optional double target_roas = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // An automated bid strategy that sets your bids to help get as many clicks - // as possible within your budget. - message TargetSpend { - // Output only. The spend target under which to maximize clicks. - // A TargetSpend bidder will attempt to spend the smaller of this value - // or the natural throttling spend amount. - // If not specified, the budget is used as the spend target. - // This field is deprecated and should no longer be used. See - // https://ads-developers.googleblog.com/2020/05/reminder-about-sunset-creation-of.html - // for details. - optional int64 target_spend_micros = 1 [ - deprecated = true, - (google.api.field_behavior) = OUTPUT_ONLY - ]; - - // Output only. Maximum bid limit that can be set by the bid strategy. - // The limit applies to all keywords managed by the strategy. - optional int64 cpc_bid_ceiling_micros = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Output only. The resource name of the accessible bidding strategy. - // AccessibleBiddingStrategy resource names have the form: - // - // `customers/{customer_id}/accessibleBiddingStrategies/{bidding_strategy_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AccessibleBiddingStrategy" - } - ]; - - // Output only. The ID of the bidding strategy. - int64 id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The name of the bidding strategy. - string name = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The type of the bidding strategy. - google.ads.googleads.v12.enums.BiddingStrategyTypeEnum.BiddingStrategyType type = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The ID of the Customer which owns the bidding strategy. - int64 owner_customer_id = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. descriptive_name of the Customer which owns the bidding strategy. - string owner_descriptive_name = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The bidding scheme. - // - // Only one can be set. - oneof scheme { - // Output only. An automated bidding strategy to help get the most conversion value for - // your campaigns while spending your budget. - MaximizeConversionValue maximize_conversion_value = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. An automated bidding strategy to help get the most conversions for your - // campaigns while spending your budget. - MaximizeConversions maximize_conversions = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. A bidding strategy that sets bids to help get as many conversions as - // possible at the target cost-per-acquisition (CPA) you set. - TargetCpa target_cpa = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. A bidding strategy that automatically optimizes towards a chosen - // percentage of impressions. - TargetImpressionShare target_impression_share = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. A bidding strategy that helps you maximize revenue while averaging a - // specific target Return On Ad Spend (ROAS). - TargetRoas target_roas = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. A bid strategy that sets your bids to help get as many clicks as - // possible within your budget. - TargetSpend target_spend = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/account_budget.proto b/third_party/googleapis/google/ads/googleads/v12/resources/account_budget.proto deleted file mode 100644 index 34dc11614..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/account_budget.proto +++ /dev/null @@ -1,253 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/account_budget_proposal_type.proto"; -import "google/ads/googleads/v12/enums/account_budget_status.proto"; -import "google/ads/googleads/v12/enums/spending_limit_type.proto"; -import "google/ads/googleads/v12/enums/time_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AccountBudgetProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the AccountBudget resource. - -// An account-level budget. It contains information about the budget itself, -// as well as the most recently approved changes to the budget and proposed -// changes that are pending approval. The proposed changes that are pending -// approval, if any, are found in 'pending_proposal'. Effective details about -// the budget are found in fields prefixed 'approved_', 'adjusted_' and those -// without a prefix. Since some effective details may differ from what the user -// had originally requested (for example, spending limit), these differences are -// juxtaposed through 'proposed_', 'approved_', and possibly 'adjusted_' fields. -// -// This resource is mutated using AccountBudgetProposal and cannot be mutated -// directly. A budget may have at most one pending proposal at any given time. -// It is read through pending_proposal. -// -// Once approved, a budget may be subject to adjustments, such as credit -// adjustments. Adjustments create differences between the 'approved' and -// 'adjusted' fields, which would otherwise be identical. -message AccountBudget { - option (google.api.resource) = { - type: "googleads.googleapis.com/AccountBudget" - pattern: "customers/{customer_id}/accountBudgets/{account_budget_id}" - }; - - // A pending proposal associated with the enclosing account-level budget, - // if applicable. - message PendingAccountBudgetProposal { - // Output only. The resource name of the proposal. - // AccountBudgetProposal resource names have the form: - // - // `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` - optional string account_budget_proposal = 12 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AccountBudgetProposal" - } - ]; - - // Output only. The type of this proposal, for example, END to end the budget associated - // with this proposal. - google.ads.googleads.v12.enums.AccountBudgetProposalTypeEnum.AccountBudgetProposalType proposal_type = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The name to assign to the account-level budget. - optional string name = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The start time in yyyy-MM-dd HH:mm:ss format. - optional string start_date_time = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. A purchase order number is a value that helps users reference this budget - // in their monthly invoices. - optional string purchase_order_number = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Notes associated with this budget. - optional string notes = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The time when this account-level budget proposal was created. - // Formatted as yyyy-MM-dd HH:mm:ss. - optional string creation_date_time = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The end time of the account-level budget. - oneof end_time { - // Output only. The end time in yyyy-MM-dd HH:mm:ss format. - string end_date_time = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The end time as a well-defined type, for example, FOREVER. - google.ads.googleads.v12.enums.TimeTypeEnum.TimeType end_time_type = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The spending limit. - oneof spending_limit { - // Output only. The spending limit in micros. One million is equivalent to - // one unit. - int64 spending_limit_micros = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The spending limit as a well-defined type, for example, INFINITE. - google.ads.googleads.v12.enums.SpendingLimitTypeEnum.SpendingLimitType spending_limit_type = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - } - - // Output only. The resource name of the account-level budget. - // AccountBudget resource names have the form: - // - // `customers/{customer_id}/accountBudgets/{account_budget_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AccountBudget" - } - ]; - - // Output only. The ID of the account-level budget. - optional int64 id = 23 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource name of the billing setup associated with this account-level - // budget. BillingSetup resource names have the form: - // - // `customers/{customer_id}/billingSetups/{billing_setup_id}` - optional string billing_setup = 24 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/BillingSetup" - } - ]; - - // Output only. The status of this account-level budget. - google.ads.googleads.v12.enums.AccountBudgetStatusEnum.AccountBudgetStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The name of the account-level budget. - optional string name = 25 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The proposed start time of the account-level budget in - // yyyy-MM-dd HH:mm:ss format. If a start time type of NOW was proposed, - // this is the time of request. - optional string proposed_start_date_time = 26 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The approved start time of the account-level budget in yyyy-MM-dd HH:mm:ss - // format. - // - // For example, if a new budget is approved after the proposed start time, - // the approved start time is the time of approval. - optional string approved_start_date_time = 27 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The total adjustments amount. - // - // An example of an adjustment is courtesy credits. - int64 total_adjustments_micros = 33 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The value of Ads that have been served, in micros. - // - // This includes overdelivery costs, in which case a credit might be - // automatically applied to the budget (see total_adjustments_micros). - int64 amount_served_micros = 34 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. A purchase order number is a value that helps users reference this budget - // in their monthly invoices. - optional string purchase_order_number = 35 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Notes associated with the budget. - optional string notes = 36 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The pending proposal to modify this budget, if applicable. - PendingAccountBudgetProposal pending_proposal = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The proposed end time of the account-level budget. - oneof proposed_end_time { - // Output only. The proposed end time in yyyy-MM-dd HH:mm:ss format. - string proposed_end_date_time = 28 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The proposed end time as a well-defined type, for example, FOREVER. - google.ads.googleads.v12.enums.TimeTypeEnum.TimeType proposed_end_time_type = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The approved end time of the account-level budget. - // - // For example, if a budget's end time is updated and the proposal is approved - // after the proposed end time, the approved end time is the time of approval. - oneof approved_end_time { - // Output only. The approved end time in yyyy-MM-dd HH:mm:ss format. - string approved_end_date_time = 29 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The approved end time as a well-defined type, for example, FOREVER. - google.ads.googleads.v12.enums.TimeTypeEnum.TimeType approved_end_time_type = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The proposed spending limit. - oneof proposed_spending_limit { - // Output only. The proposed spending limit in micros. One million is equivalent to - // one unit. - int64 proposed_spending_limit_micros = 30 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The proposed spending limit as a well-defined type, for example, - // INFINITE. - google.ads.googleads.v12.enums.SpendingLimitTypeEnum.SpendingLimitType proposed_spending_limit_type = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The approved spending limit. - // - // For example, if the amount already spent by the account exceeds the - // proposed spending limit at the time the proposal is approved, the approved - // spending limit is set to the amount already spent. - oneof approved_spending_limit { - // Output only. The approved spending limit in micros. One million is equivalent to - // one unit. This will only be populated if the proposed spending limit - // is finite, and will always be greater than or equal to the - // proposed spending limit. - int64 approved_spending_limit_micros = 31 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The approved spending limit as a well-defined type, for example, - // INFINITE. This will only be populated if the approved spending limit is - // INFINITE. - google.ads.googleads.v12.enums.SpendingLimitTypeEnum.SpendingLimitType approved_spending_limit_type = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The spending limit after adjustments have been applied. Adjustments are - // stored in total_adjustments_micros. - // - // This value has the final say on how much the account is allowed to spend. - oneof adjusted_spending_limit { - // Output only. The adjusted spending limit in micros. One million is equivalent to - // one unit. - // - // If the approved spending limit is finite, the adjusted - // spending limit may vary depending on the types of adjustments applied - // to this budget, if applicable. - // - // The different kinds of adjustments are described here: - // https://support.google.com/google-ads/answer/1704323 - // - // For example, a debit adjustment reduces how much the account is - // allowed to spend. - int64 adjusted_spending_limit_micros = 32 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The adjusted spending limit as a well-defined type, for example, - // INFINITE. This will only be populated if the adjusted spending limit is - // INFINITE, which is guaranteed to be true if the approved spending limit - // is INFINITE. - google.ads.googleads.v12.enums.SpendingLimitTypeEnum.SpendingLimitType adjusted_spending_limit_type = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/account_budget_proposal.proto b/third_party/googleapis/google/ads/googleads/v12/resources/account_budget_proposal.proto deleted file mode 100644 index cb97daeea..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/account_budget_proposal.proto +++ /dev/null @@ -1,161 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/account_budget_proposal_status.proto"; -import "google/ads/googleads/v12/enums/account_budget_proposal_type.proto"; -import "google/ads/googleads/v12/enums/spending_limit_type.proto"; -import "google/ads/googleads/v12/enums/time_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AccountBudgetProposalProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the AccountBudgetProposal resource. - -// An account-level budget proposal. -// -// All fields prefixed with 'proposed' may not necessarily be applied directly. -// For example, proposed spending limits may be adjusted before their -// application. This is true if the 'proposed' field has an 'approved' -// counterpart, for example, spending limits. -// -// Note that the proposal type (proposal_type) changes which fields are -// required and which must remain empty. -message AccountBudgetProposal { - option (google.api.resource) = { - type: "googleads.googleapis.com/AccountBudgetProposal" - pattern: "customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}" - }; - - // Immutable. The resource name of the proposal. - // AccountBudgetProposal resource names have the form: - // - // `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AccountBudgetProposal" - } - ]; - - // Output only. The ID of the proposal. - optional int64 id = 25 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The resource name of the billing setup associated with this proposal. - optional string billing_setup = 26 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/BillingSetup" - } - ]; - - // Immutable. The resource name of the account-level budget associated with this - // proposal. - optional string account_budget = 27 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AccountBudget" - } - ]; - - // Immutable. The type of this proposal, for example, END to end the budget associated - // with this proposal. - google.ads.googleads.v12.enums.AccountBudgetProposalTypeEnum.AccountBudgetProposalType proposal_type = 4 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The status of this proposal. - // When a new proposal is created, the status defaults to PENDING. - google.ads.googleads.v12.enums.AccountBudgetProposalStatusEnum.AccountBudgetProposalStatus status = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The name to assign to the account-level budget. - optional string proposed_name = 28 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The approved start date time in yyyy-mm-dd hh:mm:ss format. - optional string approved_start_date_time = 30 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. A purchase order number is a value that enables the user to help them - // reference this budget in their monthly invoices. - optional string proposed_purchase_order_number = 35 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Notes associated with this budget. - optional string proposed_notes = 36 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The date time when this account-level budget proposal was created, which is - // not the same as its approval date time, if applicable. - optional string creation_date_time = 37 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The date time when this account-level budget was approved, if applicable. - optional string approval_date_time = 38 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The proposed start date time of the account-level budget, which cannot be - // in the past. - oneof proposed_start_time { - // Immutable. The proposed start date time in yyyy-mm-dd hh:mm:ss format. - string proposed_start_date_time = 29 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The proposed start date time as a well-defined type, for example, NOW. - google.ads.googleads.v12.enums.TimeTypeEnum.TimeType proposed_start_time_type = 7 [(google.api.field_behavior) = IMMUTABLE]; - } - - // The proposed end date time of the account-level budget, which cannot be in - // the past. - oneof proposed_end_time { - // Immutable. The proposed end date time in yyyy-mm-dd hh:mm:ss format. - string proposed_end_date_time = 31 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The proposed end date time as a well-defined type, for example, FOREVER. - google.ads.googleads.v12.enums.TimeTypeEnum.TimeType proposed_end_time_type = 9 [(google.api.field_behavior) = IMMUTABLE]; - } - - // The approved end date time of the account-level budget. - oneof approved_end_time { - // Output only. The approved end date time in yyyy-mm-dd hh:mm:ss format. - string approved_end_date_time = 32 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The approved end date time as a well-defined type, for example, FOREVER. - google.ads.googleads.v12.enums.TimeTypeEnum.TimeType approved_end_time_type = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The proposed spending limit. - oneof proposed_spending_limit { - // Immutable. The proposed spending limit in micros. One million is equivalent to - // one unit. - int64 proposed_spending_limit_micros = 33 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The proposed spending limit as a well-defined type, for example, - // INFINITE. - google.ads.googleads.v12.enums.SpendingLimitTypeEnum.SpendingLimitType proposed_spending_limit_type = 11 [(google.api.field_behavior) = IMMUTABLE]; - } - - // The approved spending limit. - oneof approved_spending_limit { - // Output only. The approved spending limit in micros. One million is equivalent to - // one unit. - int64 approved_spending_limit_micros = 34 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The approved spending limit as a well-defined type, for example, - // INFINITE. - google.ads.googleads.v12.enums.SpendingLimitTypeEnum.SpendingLimitType approved_spending_limit_type = 24 [(google.api.field_behavior) = OUTPUT_ONLY]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/account_link.proto b/third_party/googleapis/google/ads/googleads/v12/resources/account_link.proto deleted file mode 100644 index 74f6bf1d0..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/account_link.proto +++ /dev/null @@ -1,150 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/account_link_status.proto"; -import "google/ads/googleads/v12/enums/linked_account_type.proto"; -import "google/ads/googleads/v12/enums/mobile_app_vendor.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AccountLinkProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Represents the data sharing connection between a Google Ads account and -// another account -message AccountLink { - option (google.api.resource) = { - type: "googleads.googleapis.com/AccountLink" - pattern: "customers/{customer_id}/accountLinks/{account_link_id}" - }; - - // Immutable. Resource name of the account link. - // AccountLink resource names have the form: - // `customers/{customer_id}/accountLinks/{account_link_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AccountLink" - } - ]; - - // Output only. The ID of the link. - // This field is read only. - optional int64 account_link_id = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The status of the link. - google.ads.googleads.v12.enums.AccountLinkStatusEnum.AccountLinkStatus status = 3; - - // Output only. The type of the linked account. - google.ads.googleads.v12.enums.LinkedAccountTypeEnum.LinkedAccountType type = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // An account linked to this Google Ads account. - oneof linked_account { - // Immutable. A third party app analytics link. - ThirdPartyAppAnalyticsLinkIdentifier third_party_app_analytics = 5 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. Data partner link. - DataPartnerLinkIdentifier data_partner = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Google Ads link. - GoogleAdsLinkIdentifier google_ads = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Hotel link - HotelCenterLinkIdentifier hotel_center = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Advertising Partner link - AdvertisingPartnerLinkIdentifier advertising_partner = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - } -} - -// The identifiers of a Third Party App Analytics Link. -message ThirdPartyAppAnalyticsLinkIdentifier { - // Immutable. The ID of the app analytics provider. - // This field should not be empty when creating a new third - // party app analytics link. It is unable to be modified after the creation of - // the link. - optional int64 app_analytics_provider_id = 4 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. A string that uniquely identifies a mobile application from which the data - // was collected to the Google Ads API. For iOS, the ID string is the 9 digit - // string that appears at the end of an App Store URL (for example, - // "422689480" for "Gmail" whose App Store link is - // https://apps.apple.com/us/app/gmail-email-by-google/id422689480). For - // Android, the ID string is the application's package name (for example, - // "com.google.android.gm" for "Gmail" given Google Play link - // https://play.google.com/store/apps/details?id=com.google.android.gm) - // This field should not be empty when creating a new third - // party app analytics link. It is unable to be modified after the creation of - // the link. - optional string app_id = 5 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The vendor of the app. - // This field should not be empty when creating a new third - // party app analytics link. It is unable to be modified after the creation of - // the link. - google.ads.googleads.v12.enums.MobileAppVendorEnum.MobileAppVendor app_vendor = 3 [(google.api.field_behavior) = IMMUTABLE]; -} - -// The identifier for Data Partner account. -message DataPartnerLinkIdentifier { - // Immutable. The customer ID of the Data partner account. - // This field is required and should not be empty when creating a new - // data partner link. It is unable to be modified after the creation of - // the link. - optional int64 data_partner_id = 1 [(google.api.field_behavior) = IMMUTABLE]; -} - -// The identifier for Hotel account. -message HotelCenterLinkIdentifier { - // Output only. The hotel center id of the hotel account. - int64 hotel_center_id = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; -} - -// The identifier for Google Ads account. -message GoogleAdsLinkIdentifier { - // Immutable. The resource name of the Google Ads account. - // This field is required and should not be empty when creating a new - // Google Ads link. It is unable to be modified after the creation of - // the link. - optional string customer = 3 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Customer" - } - ]; -} - -// The identifier for the Advertising Partner Google Ads account. -message AdvertisingPartnerLinkIdentifier { - // Immutable. The resource name of the advertising partner Google Ads account. - // This field is required and should not be empty when creating a new - // Advertising Partner link. It is unable to be modified after the creation of - // the link. - optional string customer = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Customer" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/ad.proto b/third_party/googleapis/google/ads/googleads/v12/resources/ad.proto deleted file mode 100644 index 4117e193b..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/ad.proto +++ /dev/null @@ -1,193 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/ad_type_infos.proto"; -import "google/ads/googleads/v12/common/custom_parameter.proto"; -import "google/ads/googleads/v12/common/final_app_url.proto"; -import "google/ads/googleads/v12/common/url_collection.proto"; -import "google/ads/googleads/v12/enums/ad_type.proto"; -import "google/ads/googleads/v12/enums/device.proto"; -import "google/ads/googleads/v12/enums/system_managed_entity_source.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the ad type. - -// An ad. -message Ad { - option (google.api.resource) = { - type: "googleads.googleapis.com/Ad" - pattern: "customers/{customer_id}/ads/{ad_id}" - }; - - // Immutable. The resource name of the ad. - // Ad resource names have the form: - // - // `customers/{customer_id}/ads/{ad_id}` - string resource_name = 37 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Ad" - } - ]; - - // Output only. The ID of the ad. - optional int64 id = 40 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The list of possible final URLs after all cross-domain redirects for the - // ad. - repeated string final_urls = 41; - - // A list of final app URLs that will be used on mobile if the user has the - // specific app installed. - repeated google.ads.googleads.v12.common.FinalAppUrl final_app_urls = 35; - - // The list of possible final mobile URLs after all cross-domain redirects - // for the ad. - repeated string final_mobile_urls = 42; - - // The URL template for constructing a tracking URL. - optional string tracking_url_template = 43; - - // The suffix to use when constructing a final URL. - optional string final_url_suffix = 44; - - // The list of mappings that can be used to substitute custom parameter tags - // in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`. - // For mutates, use url custom parameter operations. - repeated google.ads.googleads.v12.common.CustomParameter url_custom_parameters = 10; - - // The URL that appears in the ad description for some ad formats. - optional string display_url = 45; - - // Output only. The type of ad. - google.ads.googleads.v12.enums.AdTypeEnum.AdType type = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Indicates if this ad was automatically added by Google Ads and not by a - // user. For example, this could happen when ads are automatically created as - // suggestions for new ads based on knowledge of how existing ads are - // performing. - optional bool added_by_google_ads = 46 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The device preference for the ad. You can only specify a preference for - // mobile devices. When this preference is set the ad will be preferred over - // other ads when being displayed on a mobile device. The ad can still be - // displayed on other device types, for example, if no other ads are - // available. If unspecified (no device preference), all devices are targeted. - // This is only supported by some ad types. - google.ads.googleads.v12.enums.DeviceEnum.Device device_preference = 20; - - // Additional URLs for the ad that are tagged with a unique identifier that - // can be referenced from other fields in the ad. - repeated google.ads.googleads.v12.common.UrlCollection url_collections = 26; - - // Immutable. The name of the ad. This is only used to be able to identify the ad. It - // does not need to be unique and does not affect the served ad. The name - // field is currently only supported for DisplayUploadAd, ImageAd, - // ShoppingComparisonListingAd and VideoAd. - optional string name = 47 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. If this ad is system managed, then this field will indicate the source. - // This field is read-only. - google.ads.googleads.v12.enums.SystemManagedResourceSourceEnum.SystemManagedResourceSource system_managed_resource_source = 27 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Details pertinent to the ad type. Exactly one value must be set. - oneof ad_data { - // Immutable. Details pertaining to a text ad. - google.ads.googleads.v12.common.TextAdInfo text_ad = 6 [(google.api.field_behavior) = IMMUTABLE]; - - // Details pertaining to an expanded text ad. - google.ads.googleads.v12.common.ExpandedTextAdInfo expanded_text_ad = 7; - - // Details pertaining to a call ad. - google.ads.googleads.v12.common.CallAdInfo call_ad = 49; - - // Immutable. Details pertaining to an Expanded Dynamic Search Ad. - // This type of ad has its headline, final URLs, and display URL - // auto-generated at serving time according to domain name specific - // information provided by `dynamic_search_ads_setting` linked at the - // campaign level. - google.ads.googleads.v12.common.ExpandedDynamicSearchAdInfo expanded_dynamic_search_ad = 14 [(google.api.field_behavior) = IMMUTABLE]; - - // Details pertaining to a hotel ad. - google.ads.googleads.v12.common.HotelAdInfo hotel_ad = 15; - - // Details pertaining to a Smart Shopping ad. - google.ads.googleads.v12.common.ShoppingSmartAdInfo shopping_smart_ad = 17; - - // Details pertaining to a Shopping product ad. - google.ads.googleads.v12.common.ShoppingProductAdInfo shopping_product_ad = 18; - - // Immutable. Details pertaining to an Image ad. - google.ads.googleads.v12.common.ImageAdInfo image_ad = 22 [(google.api.field_behavior) = IMMUTABLE]; - - // Details pertaining to a Video ad. - google.ads.googleads.v12.common.VideoAdInfo video_ad = 24; - - // Details pertaining to a Video responsive ad. - google.ads.googleads.v12.common.VideoResponsiveAdInfo video_responsive_ad = 39; - - // Details pertaining to a responsive search ad. - google.ads.googleads.v12.common.ResponsiveSearchAdInfo responsive_search_ad = 25; - - // Details pertaining to a legacy responsive display ad. - google.ads.googleads.v12.common.LegacyResponsiveDisplayAdInfo legacy_responsive_display_ad = 28; - - // Details pertaining to an app ad. - google.ads.googleads.v12.common.AppAdInfo app_ad = 29; - - // Immutable. Details pertaining to a legacy app install ad. - google.ads.googleads.v12.common.LegacyAppInstallAdInfo legacy_app_install_ad = 30 [(google.api.field_behavior) = IMMUTABLE]; - - // Details pertaining to a responsive display ad. - google.ads.googleads.v12.common.ResponsiveDisplayAdInfo responsive_display_ad = 31; - - // Details pertaining to a local ad. - google.ads.googleads.v12.common.LocalAdInfo local_ad = 32; - - // Details pertaining to a display upload ad. - google.ads.googleads.v12.common.DisplayUploadAdInfo display_upload_ad = 33; - - // Details pertaining to an app engagement ad. - google.ads.googleads.v12.common.AppEngagementAdInfo app_engagement_ad = 34; - - // Details pertaining to a Shopping Comparison Listing ad. - google.ads.googleads.v12.common.ShoppingComparisonListingAdInfo shopping_comparison_listing_ad = 36; - - // Details pertaining to a Smart campaign ad. - google.ads.googleads.v12.common.SmartCampaignAdInfo smart_campaign_ad = 48; - - // Details pertaining to an app pre-registration ad. - google.ads.googleads.v12.common.AppPreRegistrationAdInfo app_pre_registration_ad = 50; - - // Details pertaining to a discovery multi asset ad. - google.ads.googleads.v12.common.DiscoveryMultiAssetAdInfo discovery_multi_asset_ad = 51; - - // Details pertaining to a discovery carousel ad. - google.ads.googleads.v12.common.DiscoveryCarouselAdInfo discovery_carousel_ad = 52; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/ad_group.proto b/third_party/googleapis/google/ads/googleads/v12/resources/ad_group.proto deleted file mode 100644 index 401adb596..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/ad_group.proto +++ /dev/null @@ -1,214 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/custom_parameter.proto"; -import "google/ads/googleads/v12/common/explorer_auto_optimizer_setting.proto"; -import "google/ads/googleads/v12/common/targeting_setting.proto"; -import "google/ads/googleads/v12/enums/ad_group_ad_rotation_mode.proto"; -import "google/ads/googleads/v12/enums/ad_group_status.proto"; -import "google/ads/googleads/v12/enums/ad_group_type.proto"; -import "google/ads/googleads/v12/enums/asset_field_type.proto"; -import "google/ads/googleads/v12/enums/asset_set_type.proto"; -import "google/ads/googleads/v12/enums/bidding_source.proto"; -import "google/ads/googleads/v12/enums/targeting_dimension.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the ad group resource. - -// An ad group. -message AdGroup { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroup" - pattern: "customers/{customer_id}/adGroups/{ad_group_id}" - }; - - // Settings for the audience targeting. - message AudienceSetting { - // Immutable. If true, this ad group uses an Audience resource for audience targeting. - // If false, this ad group may use audience segment criteria instead. - bool use_audience_grouped = 1 [(google.api.field_behavior) = IMMUTABLE]; - } - - // Immutable. The resource name of the ad group. - // Ad group resource names have the form: - // - // `customers/{customer_id}/adGroups/{ad_group_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Output only. The ID of the ad group. - optional int64 id = 34 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The name of the ad group. - // - // This field is required and should not be empty when creating new ad - // groups. - // - // It must contain fewer than 255 UTF-8 full-width characters. - // - // It must not contain any null (code point 0x0), NL line feed - // (code point 0xA) or carriage return (code point 0xD) characters. - optional string name = 35; - - // The status of the ad group. - google.ads.googleads.v12.enums.AdGroupStatusEnum.AdGroupStatus status = 5; - - // Immutable. The type of the ad group. - google.ads.googleads.v12.enums.AdGroupTypeEnum.AdGroupType type = 12 [(google.api.field_behavior) = IMMUTABLE]; - - // The ad rotation mode of the ad group. - google.ads.googleads.v12.enums.AdGroupAdRotationModeEnum.AdGroupAdRotationMode ad_rotation_mode = 22; - - // Output only. For draft or experiment ad groups, this field is the resource name of the - // base ad group from which this ad group was created. If a draft or - // experiment ad group does not have a base ad group, then this field is null. - // - // For base ad groups, this field equals the ad group resource name. - // - // This field is read-only. - optional string base_ad_group = 36 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // The URL template for constructing a tracking URL. - optional string tracking_url_template = 37; - - // The list of mappings used to substitute custom parameter tags in a - // `tracking_url_template`, `final_urls`, or `mobile_final_urls`. - repeated google.ads.googleads.v12.common.CustomParameter url_custom_parameters = 6; - - // Immutable. The campaign to which the ad group belongs. - optional string campaign = 38 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // The maximum CPC (cost-per-click) bid. - optional int64 cpc_bid_micros = 39; - - // Output only. Value will be same as that of the CPC (cost-per-click) bid value when the - // bidding strategy is one of manual cpc, enhanced cpc, page one promoted or - // target outrank share, otherwise the value will be null. - optional int64 effective_cpc_bid_micros = 57 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The maximum CPM (cost-per-thousand viewable impressions) bid. - optional int64 cpm_bid_micros = 40; - - // The target CPA (cost-per-acquisition). If the ad group's campaign - // bidding strategy is TargetCpa or MaximizeConversions (with its target_cpa - // field set), then this field overrides the target CPA specified in the - // campaign's bidding strategy. - // Otherwise, this value is ignored. - optional int64 target_cpa_micros = 41; - - // The CPV (cost-per-view) bid. - optional int64 cpv_bid_micros = 42; - - // Average amount in micros that the advertiser is willing to pay for every - // thousand times the ad is shown. - optional int64 target_cpm_micros = 43; - - // The target ROAS (return-on-ad-spend) override. If the ad group's campaign - // bidding strategy is TargetRoas or MaximizeConversionValue (with its - // target_roas field set), then this field overrides the target ROAS specified - // in the campaign's bidding strategy. - // Otherwise, this value is ignored. - optional double target_roas = 44; - - // The percent cpc bid amount, expressed as a fraction of the advertised price - // for some good or service. The valid range for the fraction is [0,1) and the - // value stored here is 1,000,000 * [fraction]. - optional int64 percent_cpc_bid_micros = 45; - - // Settings for the Display Campaign Optimizer, initially termed "Explorer". - google.ads.googleads.v12.common.ExplorerAutoOptimizerSetting explorer_auto_optimizer_setting = 21; - - // Allows advertisers to specify a targeting dimension on which to place - // absolute bids. This is only applicable for campaigns that target only the - // display network and not search. - google.ads.googleads.v12.enums.TargetingDimensionEnum.TargetingDimension display_custom_bid_dimension = 23; - - // URL template for appending params to Final URL. - optional string final_url_suffix = 46; - - // Setting for targeting related features. - google.ads.googleads.v12.common.TargetingSetting targeting_setting = 25; - - // Immutable. Setting for audience related features. - AudienceSetting audience_setting = 56 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The effective target CPA (cost-per-acquisition). - // This field is read-only. - optional int64 effective_target_cpa_micros = 47 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Source of the effective target CPA. - // This field is read-only. - google.ads.googleads.v12.enums.BiddingSourceEnum.BiddingSource effective_target_cpa_source = 29 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The effective target ROAS (return-on-ad-spend). - // This field is read-only. - optional double effective_target_roas = 48 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Source of the effective target ROAS. - // This field is read-only. - google.ads.googleads.v12.enums.BiddingSourceEnum.BiddingSource effective_target_roas_source = 32 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource names of labels attached to this ad group. - repeated string labels = 49 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupLabel" - } - ]; - - // The asset field types that should be excluded from this ad group. Asset - // links with these field types will not be inherited by this ad group from - // the upper levels. - repeated google.ads.googleads.v12.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 54; - - // The asset set types that should be excluded from this ad group. Asset set - // links with these types will not be inherited by this ad group from the - // upper levels. - // Location group types (GMB_DYNAMIC_LOCATION_GROUP, - // CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child types of - // LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all - // location group asset sets are not allowed to be linked to this ad group, - // and all Location Extension (LE) and Affiliate Location Extensions (ALE) - // will not be served under this ad group. - // Only LOCATION_SYNC is currently supported. - repeated google.ads.googleads.v12.enums.AssetSetTypeEnum.AssetSetType excluded_parent_asset_set_types = 58; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_ad.proto b/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_ad.proto deleted file mode 100644 index ff42f216b..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_ad.proto +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/policy.proto"; -import "google/ads/googleads/v12/enums/ad_group_ad_status.proto"; -import "google/ads/googleads/v12/enums/ad_strength.proto"; -import "google/ads/googleads/v12/enums/policy_approval_status.proto"; -import "google/ads/googleads/v12/enums/policy_review_status.proto"; -import "google/ads/googleads/v12/resources/ad.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAdProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the ad group ad resource. - -// An ad group ad. -message AdGroupAd { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupAd" - pattern: "customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}" - }; - - // Immutable. The resource name of the ad. - // Ad group ad resource names have the form: - // - // `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAd" - } - ]; - - // The status of the ad. - google.ads.googleads.v12.enums.AdGroupAdStatusEnum.AdGroupAdStatus status = 3; - - // Immutable. The ad group to which the ad belongs. - optional string ad_group = 9 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Immutable. The ad. - Ad ad = 5 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. Policy information for the ad. - AdGroupAdPolicySummary policy_summary = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Overall ad strength for this ad group ad. - google.ads.googleads.v12.enums.AdStrengthEnum.AdStrength ad_strength = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. A list of recommendations to improve the ad strength. For example, a - // recommendation could be "Your headlines are a little too similar. - // Try adding more distinct headlines.". - repeated string action_items = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource names of labels attached to this ad group ad. - repeated string labels = 10 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAdLabel" - } - ]; -} - -// Contains policy information for an ad. -message AdGroupAdPolicySummary { - // Output only. The list of policy findings for this ad. - repeated google.ads.googleads.v12.common.PolicyTopicEntry policy_topic_entries = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Where in the review process this ad is. - google.ads.googleads.v12.enums.PolicyReviewStatusEnum.PolicyReviewStatus review_status = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The overall approval status of this ad, calculated based on the status of - // its individual policy topic entries. - google.ads.googleads.v12.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_ad_asset_combination_view.proto b/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_ad_asset_combination_view.proto deleted file mode 100644 index 55eb76691..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_ad_asset_combination_view.proto +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/asset_usage.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAdAssetCombinationViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the asset combination view resource. - -// A view on the usage of ad group ad asset combination. -// Now we only support AdGroupAdAssetCombinationView for Responsive Search Ads, -// with more ad types planned for the future. -message AdGroupAdAssetCombinationView { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupAdAssetCombinationView" - pattern: "customers/{customer_id}/adGroupAdAssetCombinationViews/{ad_group_id}~{ad_id}~{asset_combination_id_low}~{asset_combination_id_high}" - }; - - // Output only. The resource name of the ad group ad asset combination view. The - // combination ID is 128 bits long, where the upper 64 bits are stored in - // asset_combination_id_high, and the lower 64 bits are stored in - // asset_combination_id_low. - // AdGroupAd Asset Combination view resource names have the form: - // `customers/{customer_id}/adGroupAdAssetCombinationViews/{AdGroupAd.ad_group_id}~{AdGroupAd.ad.ad_id}~{AssetCombination.asset_combination_id_low}~{AssetCombination.asset_combination_id_high}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAdAssetCombinationView" - } - ]; - - // Output only. Served assets. - repeated google.ads.googleads.v12.common.AssetUsage served_assets = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The status between the asset combination and the latest version of the ad. - // If true, the asset combination is linked to the latest version of the ad. - // If false, it means the link once existed but has been removed and is no - // longer present in the latest version of the ad. - optional bool enabled = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_ad_asset_view.proto b/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_ad_asset_view.proto deleted file mode 100644 index 7b39aad89..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_ad_asset_view.proto +++ /dev/null @@ -1,109 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/policy.proto"; -import "google/ads/googleads/v12/enums/asset_field_type.proto"; -import "google/ads/googleads/v12/enums/asset_performance_label.proto"; -import "google/ads/googleads/v12/enums/policy_approval_status.proto"; -import "google/ads/googleads/v12/enums/policy_review_status.proto"; -import "google/ads/googleads/v12/enums/served_asset_field_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAdAssetViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the ad group ad asset view resource. - -// A link between an AdGroupAd and an Asset. -// Currently we only support AdGroupAdAssetView for AppAds and Responsive Search -// Ads. -message AdGroupAdAssetView { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupAdAssetView" - pattern: "customers/{customer_id}/adGroupAdAssetViews/{ad_group_id}~{ad_id}~{asset_id}~{field_type}" - }; - - // Output only. The resource name of the ad group ad asset view. - // Ad group ad asset view resource names have the form (Before V4): - // - // `customers/{customer_id}/adGroupAdAssets/{AdGroupAdAsset.ad_group_id}~{AdGroupAdAsset.ad.ad_id}~{AdGroupAdAsset.asset_id}~{AdGroupAdAsset.field_type}` - // - // Ad group ad asset view resource names have the form (Beginning from V4): - // - // `customers/{customer_id}/adGroupAdAssetViews/{AdGroupAdAsset.ad_group_id}~{AdGroupAdAsset.ad_id}~{AdGroupAdAsset.asset_id}~{AdGroupAdAsset.field_type}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAdAssetView" - } - ]; - - // Output only. The ad group ad to which the asset is linked. - optional string ad_group_ad = 9 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAd" - } - ]; - - // Output only. The asset which is linked to the ad group ad. - optional string asset = 10 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Asset" - } - ]; - - // Output only. Role that the asset takes in the ad. - google.ads.googleads.v12.enums.AssetFieldTypeEnum.AssetFieldType field_type = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The status between the asset and the latest version of the ad. If true, the - // asset is linked to the latest version of the ad. If false, it means the - // link once existed but has been removed and is no longer present in the - // latest version of the ad. - optional bool enabled = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Policy information for the ad group ad asset. - AdGroupAdAssetPolicySummary policy_summary = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Performance of an asset linkage. - google.ads.googleads.v12.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel performance_label = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Pinned field. - google.ads.googleads.v12.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType pinned_field = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; -} - -// Contains policy information for an ad group ad asset. -message AdGroupAdAssetPolicySummary { - // Output only. The list of policy findings for the ad group ad asset. - repeated google.ads.googleads.v12.common.PolicyTopicEntry policy_topic_entries = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Where in the review process this ad group ad asset is. - google.ads.googleads.v12.enums.PolicyReviewStatusEnum.PolicyReviewStatus review_status = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The overall approval status of this ad group ad asset, calculated based on - // the status of its individual policy topic entries. - google.ads.googleads.v12.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_ad_label.proto b/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_ad_label.proto deleted file mode 100644 index 9ec9831d5..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_ad_label.proto +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAdLabelProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the ad group ad label resource. - -// A relationship between an ad group ad and a label. -message AdGroupAdLabel { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupAdLabel" - pattern: "customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}" - }; - - // Immutable. The resource name of the ad group ad label. - // Ad group ad label resource names have the form: - // `customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAdLabel" - } - ]; - - // Immutable. The ad group ad to which the label is attached. - optional string ad_group_ad = 4 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAd" - } - ]; - - // Immutable. The label assigned to the ad group ad. - optional string label = 5 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Label" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_asset.proto b/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_asset.proto deleted file mode 100644 index 67467bda2..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_asset.proto +++ /dev/null @@ -1,83 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/asset_field_type.proto"; -import "google/ads/googleads/v12/enums/asset_link_status.proto"; -import "google/ads/googleads/v12/enums/asset_source.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAssetProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the AdGroupAsset resource. - -// A link between an ad group and an asset. -message AdGroupAsset { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupAsset" - pattern: "customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}" - }; - - // Immutable. The resource name of the ad group asset. - // AdGroupAsset resource names have the form: - // - // `customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAsset" - } - ]; - - // Required. Immutable. The ad group to which the asset is linked. - string ad_group = 2 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Required. Immutable. The asset which is linked to the ad group. - string asset = 3 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Asset" - } - ]; - - // Required. Immutable. Role that the asset takes under the linked ad group. - google.ads.googleads.v12.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE - ]; - - // Output only. Source of the adgroup asset link. - google.ads.googleads.v12.enums.AssetSourceEnum.AssetSource source = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Status of the ad group asset. - google.ads.googleads.v12.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_asset_set.proto b/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_asset_set.proto deleted file mode 100644 index 9bd6ffa2b..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_asset_set.proto +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/asset_set_link_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAssetSetProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the AdGroupAssetSet resource. - -// AdGroupAssetSet is the linkage between an ad group and an asset set. -// Creating an AdGroupAssetSet links an asset set with an ad group. -message AdGroupAssetSet { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupAssetSet" - pattern: "customers/{customer_id}/adGroupAssetSets/{ad_group_id}~{asset_set_id}" - }; - - // Immutable. The resource name of the ad group asset set. - // Ad group asset set resource names have the form: - // - // `customers/{customer_id}/adGroupAssetSets/{ad_group_id}~{asset_set_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAssetSet" - } - ]; - - // Immutable. The ad group to which this asset set is linked. - string ad_group = 2 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Immutable. The asset set which is linked to the ad group. - string asset_set = 3 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetSet" - } - ]; - - // Output only. The status of the ad group asset set. Read-only. - google.ads.googleads.v12.enums.AssetSetLinkStatusEnum.AssetSetLinkStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_audience_view.proto b/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_audience_view.proto deleted file mode 100644 index 3bfab4a03..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_audience_view.proto +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAudienceViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the ad group audience view resource. - -// An ad group audience view. -// Includes performance data from interests and remarketing lists for Display -// Network and YouTube Network ads, and remarketing lists for search ads (RLSA), -// aggregated at the audience level. -message AdGroupAudienceView { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupAudienceView" - pattern: "customers/{customer_id}/adGroupAudienceViews/{ad_group_id}~{criterion_id}" - }; - - // Output only. The resource name of the ad group audience view. - // Ad group audience view resource names have the form: - // - // `customers/{customer_id}/adGroupAudienceViews/{ad_group_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAudienceView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_bid_modifier.proto b/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_bid_modifier.proto deleted file mode 100644 index 79665e7eb..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_bid_modifier.proto +++ /dev/null @@ -1,111 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/criteria.proto"; -import "google/ads/googleads/v12/enums/bid_modifier_source.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupBidModifierProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the ad group bid modifier resource. - -// Represents an ad group bid modifier. -message AdGroupBidModifier { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupBidModifier" - pattern: "customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}" - }; - - // Immutable. The resource name of the ad group bid modifier. - // Ad group bid modifier resource names have the form: - // - // `customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupBidModifier" - } - ]; - - // Immutable. The ad group to which this criterion belongs. - optional string ad_group = 13 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Output only. The ID of the criterion to bid modify. - // - // This field is ignored for mutates. - optional int64 criterion_id = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The modifier for the bid when the criterion matches. The modifier must be - // in the range: 0.1 - 10.0. The range is 1.0 - 6.0 for PreferredContent. - // Use 0 to opt out of a Device type. - optional double bid_modifier = 15; - - // Output only. The base ad group from which this draft/trial adgroup bid modifier was - // created. If ad_group is a base ad group then this field will be equal to - // ad_group. If the ad group was created in the draft or trial and has no - // corresponding base ad group, then this field will be null. - // This field is readonly. - optional string base_ad_group = 16 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Output only. Bid modifier source. - google.ads.googleads.v12.enums.BidModifierSourceEnum.BidModifierSource bid_modifier_source = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The criterion of this ad group bid modifier. - // - // Required in create operations starting in V5. - oneof criterion { - // Immutable. Criterion for hotel date selection (default dates versus user selected). - google.ads.googleads.v12.common.HotelDateSelectionTypeInfo hotel_date_selection_type = 5 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Criterion for number of days prior to the stay the booking is being made. - google.ads.googleads.v12.common.HotelAdvanceBookingWindowInfo hotel_advance_booking_window = 6 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Criterion for length of hotel stay in nights. - google.ads.googleads.v12.common.HotelLengthOfStayInfo hotel_length_of_stay = 7 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Criterion for day of the week the booking is for. - google.ads.googleads.v12.common.HotelCheckInDayInfo hotel_check_in_day = 8 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. A device criterion. - google.ads.googleads.v12.common.DeviceInfo device = 11 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. A preferred content criterion. - google.ads.googleads.v12.common.PreferredContentInfo preferred_content = 12 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Criterion for a hotel check-in date range. - google.ads.googleads.v12.common.HotelCheckInDateRangeInfo hotel_check_in_date_range = 17 [(google.api.field_behavior) = IMMUTABLE]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_criterion.proto b/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_criterion.proto deleted file mode 100644 index f139c45ed..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_criterion.proto +++ /dev/null @@ -1,293 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/criteria.proto"; -import "google/ads/googleads/v12/common/custom_parameter.proto"; -import "google/ads/googleads/v12/enums/ad_group_criterion_approval_status.proto"; -import "google/ads/googleads/v12/enums/ad_group_criterion_status.proto"; -import "google/ads/googleads/v12/enums/bidding_source.proto"; -import "google/ads/googleads/v12/enums/criterion_system_serving_status.proto"; -import "google/ads/googleads/v12/enums/criterion_type.proto"; -import "google/ads/googleads/v12/enums/quality_score_bucket.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the ad group criterion resource. - -// An ad group criterion. -message AdGroupCriterion { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupCriterion" - pattern: "customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}" - }; - - // A container for ad group criterion quality information. - message QualityInfo { - // Output only. The quality score. - // - // This field may not be populated if Google does not have enough - // information to determine a value. - optional int32 quality_score = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The performance of the ad compared to other advertisers. - google.ads.googleads.v12.enums.QualityScoreBucketEnum.QualityScoreBucket creative_quality_score = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The quality score of the landing page. - google.ads.googleads.v12.enums.QualityScoreBucketEnum.QualityScoreBucket post_click_quality_score = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The click-through rate compared to that of other advertisers. - google.ads.googleads.v12.enums.QualityScoreBucketEnum.QualityScoreBucket search_predicted_ctr = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Estimates for criterion bids at various positions. - message PositionEstimates { - // Output only. The estimate of the CPC bid required for ad to be shown on first - // page of search results. - optional int64 first_page_cpc_micros = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The estimate of the CPC bid required for ad to be displayed in first - // position, at the top of the first page of search results. - optional int64 first_position_cpc_micros = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The estimate of the CPC bid required for ad to be displayed at the top - // of the first page of search results. - optional int64 top_of_page_cpc_micros = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Estimate of how many clicks per week you might get by changing your - // keyword bid to the value in first_position_cpc_micros. - optional int64 estimated_add_clicks_at_first_position_cpc = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Estimate of how your cost per week might change when changing your - // keyword bid to the value in first_position_cpc_micros. - optional int64 estimated_add_cost_at_first_position_cpc = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Immutable. The resource name of the ad group criterion. - // Ad group criterion resource names have the form: - // - // `customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterion" - } - ]; - - // Output only. The ID of the criterion. - // - // This field is ignored for mutates. - optional int64 criterion_id = 56 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The display name of the criterion. - // - // This field is ignored for mutates. - string display_name = 77 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The status of the criterion. - // - // This is the status of the ad group criterion entity, set by the client. - // Note: UI reports may incorporate additional information that affects - // whether a criterion is eligible to run. In some cases a criterion that's - // REMOVED in the API can still show as enabled in the UI. - // For example, campaigns by default show to users of all age ranges unless - // excluded. The UI will show each age range as "enabled", since they're - // eligible to see the ads; but AdGroupCriterion.status will show "removed", - // since no positive criterion was added. - google.ads.googleads.v12.enums.AdGroupCriterionStatusEnum.AdGroupCriterionStatus status = 3; - - // Output only. Information regarding the quality of the criterion. - QualityInfo quality_info = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The ad group to which the criterion belongs. - optional string ad_group = 57 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Output only. The type of the criterion. - google.ads.googleads.v12.enums.CriterionTypeEnum.CriterionType type = 25 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. Whether to target (`false`) or exclude (`true`) the criterion. - // - // This field is immutable. To switch a criterion from positive to negative, - // remove then re-add it. - optional bool negative = 58 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. Serving status of the criterion. - google.ads.googleads.v12.enums.CriterionSystemServingStatusEnum.CriterionSystemServingStatus system_serving_status = 52 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Approval status of the criterion. - google.ads.googleads.v12.enums.AdGroupCriterionApprovalStatusEnum.AdGroupCriterionApprovalStatus approval_status = 53 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. List of disapproval reasons of the criterion. - // - // The different reasons for disapproving a criterion can be found here: - // https://support.google.com/adspolicy/answer/6008942 - // - // This field is read-only. - repeated string disapproval_reasons = 59 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource names of labels attached to this ad group criterion. - repeated string labels = 60 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterionLabel" - } - ]; - - // The modifier for the bid when the criterion matches. The modifier must be - // in the range: 0.1 - 10.0. Most targetable criteria types support modifiers. - optional double bid_modifier = 61; - - // The CPC (cost-per-click) bid. - optional int64 cpc_bid_micros = 62; - - // The CPM (cost-per-thousand viewable impressions) bid. - optional int64 cpm_bid_micros = 63; - - // The CPV (cost-per-view) bid. - optional int64 cpv_bid_micros = 64; - - // The CPC bid amount, expressed as a fraction of the advertised price - // for some good or service. The valid range for the fraction is [0,1) and the - // value stored here is 1,000,000 * [fraction]. - optional int64 percent_cpc_bid_micros = 65; - - // Output only. The effective CPC (cost-per-click) bid. - optional int64 effective_cpc_bid_micros = 66 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The effective CPM (cost-per-thousand viewable impressions) bid. - optional int64 effective_cpm_bid_micros = 67 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The effective CPV (cost-per-view) bid. - optional int64 effective_cpv_bid_micros = 68 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The effective Percent CPC bid amount. - optional int64 effective_percent_cpc_bid_micros = 69 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Source of the effective CPC bid. - google.ads.googleads.v12.enums.BiddingSourceEnum.BiddingSource effective_cpc_bid_source = 21 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Source of the effective CPM bid. - google.ads.googleads.v12.enums.BiddingSourceEnum.BiddingSource effective_cpm_bid_source = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Source of the effective CPV bid. - google.ads.googleads.v12.enums.BiddingSourceEnum.BiddingSource effective_cpv_bid_source = 23 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Source of the effective Percent CPC bid. - google.ads.googleads.v12.enums.BiddingSourceEnum.BiddingSource effective_percent_cpc_bid_source = 35 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Estimates for criterion bids at various positions. - PositionEstimates position_estimates = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The list of possible final URLs after all cross-domain redirects for the - // ad. - repeated string final_urls = 70; - - // The list of possible final mobile URLs after all cross-domain redirects. - repeated string final_mobile_urls = 71; - - // URL template for appending params to final URL. - optional string final_url_suffix = 72; - - // The URL template for constructing a tracking URL. - optional string tracking_url_template = 73; - - // The list of mappings used to substitute custom parameter tags in a - // `tracking_url_template`, `final_urls`, or `mobile_final_urls`. - repeated google.ads.googleads.v12.common.CustomParameter url_custom_parameters = 14; - - // The ad group criterion. - // - // Exactly one must be set. - oneof criterion { - // Immutable. Keyword. - google.ads.googleads.v12.common.KeywordInfo keyword = 27 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Placement. - google.ads.googleads.v12.common.PlacementInfo placement = 28 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Mobile app category. - google.ads.googleads.v12.common.MobileAppCategoryInfo mobile_app_category = 29 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Mobile application. - google.ads.googleads.v12.common.MobileApplicationInfo mobile_application = 30 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Listing group. - google.ads.googleads.v12.common.ListingGroupInfo listing_group = 32 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Age range. - google.ads.googleads.v12.common.AgeRangeInfo age_range = 36 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Gender. - google.ads.googleads.v12.common.GenderInfo gender = 37 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Income range. - google.ads.googleads.v12.common.IncomeRangeInfo income_range = 38 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Parental status. - google.ads.googleads.v12.common.ParentalStatusInfo parental_status = 39 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. User List. - google.ads.googleads.v12.common.UserListInfo user_list = 42 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. YouTube Video. - google.ads.googleads.v12.common.YouTubeVideoInfo youtube_video = 40 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. YouTube Channel. - google.ads.googleads.v12.common.YouTubeChannelInfo youtube_channel = 41 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Topic. - google.ads.googleads.v12.common.TopicInfo topic = 43 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. User Interest. - google.ads.googleads.v12.common.UserInterestInfo user_interest = 45 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Webpage - google.ads.googleads.v12.common.WebpageInfo webpage = 46 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. App Payment Model. - google.ads.googleads.v12.common.AppPaymentModelInfo app_payment_model = 47 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Custom Affinity. - google.ads.googleads.v12.common.CustomAffinityInfo custom_affinity = 48 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Custom Intent. - google.ads.googleads.v12.common.CustomIntentInfo custom_intent = 49 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Custom Audience. - google.ads.googleads.v12.common.CustomAudienceInfo custom_audience = 74 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Combined Audience. - google.ads.googleads.v12.common.CombinedAudienceInfo combined_audience = 75 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Audience. - google.ads.googleads.v12.common.AudienceInfo audience = 79 [(google.api.field_behavior) = IMMUTABLE]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_criterion_customizer.proto b/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_criterion_customizer.proto deleted file mode 100644 index 2b38b5f44..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_criterion_customizer.proto +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/customizer_value.proto"; -import "google/ads/googleads/v12/enums/customizer_value_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionCustomizerProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// A customizer value for the associated CustomizerAttribute at the -// AdGroupCriterion level. -message AdGroupCriterionCustomizer { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupCriterionCustomizer" - pattern: "customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~{customizer_attribute_id}" - }; - - // Immutable. The resource name of the ad group criterion customizer. - // Ad group criterion customizer resource names have the form: - // - // `customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~{customizer_attribute_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterionCustomizer" - } - ]; - - // Immutable. The ad group criterion to which the customizer attribute is linked. - // It must be a keyword criterion. - optional string ad_group_criterion = 2 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterion" - } - ]; - - // Required. Immutable. The customizer attribute which is linked to the ad group criterion. - string customizer_attribute = 3 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomizerAttribute" - } - ]; - - // Output only. The status of the ad group criterion customizer. - google.ads.googleads.v12.enums.CustomizerValueStatusEnum.CustomizerValueStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Required. The value to associate with the customizer attribute at this level. The - // value must be of the type specified for the CustomizerAttribute. - google.ads.googleads.v12.common.CustomizerValue value = 5 [(google.api.field_behavior) = REQUIRED]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_criterion_label.proto b/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_criterion_label.proto deleted file mode 100644 index 02d5e098d..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_criterion_label.proto +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionLabelProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the ad group criterion label resource. - -// A relationship between an ad group criterion and a label. -message AdGroupCriterionLabel { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupCriterionLabel" - pattern: "customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}" - }; - - // Immutable. The resource name of the ad group criterion label. - // Ad group criterion label resource names have the form: - // `customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterionLabel" - } - ]; - - // Immutable. The ad group criterion to which the label is attached. - optional string ad_group_criterion = 4 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterion" - } - ]; - - // Immutable. The label assigned to the ad group criterion. - optional string label = 5 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Label" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_criterion_simulation.proto b/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_criterion_simulation.proto deleted file mode 100644 index e2eef71fa..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_criterion_simulation.proto +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/simulation.proto"; -import "google/ads/googleads/v12/enums/simulation_modification_method.proto"; -import "google/ads/googleads/v12/enums/simulation_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionSimulationProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the ad group criterion simulation resource. - -// An ad group criterion simulation. Supported combinations of advertising -// channel type, criterion type, simulation type, and simulation modification -// method are detailed below respectively. Hotel AdGroupCriterion simulation -// operations starting in V5. -// -// 1. DISPLAY - KEYWORD - CPC_BID - UNIFORM -// 2. SEARCH - KEYWORD - CPC_BID - UNIFORM -// 3. SHOPPING - LISTING_GROUP - CPC_BID - UNIFORM -// 4. HOTEL - LISTING_GROUP - CPC_BID - UNIFORM -// 5. HOTEL - LISTING_GROUP - PERCENT_CPC_BID - UNIFORM -message AdGroupCriterionSimulation { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupCriterionSimulation" - pattern: "customers/{customer_id}/adGroupCriterionSimulations/{ad_group_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}" - }; - - // Output only. The resource name of the ad group criterion simulation. - // Ad group criterion simulation resource names have the form: - // - // `customers/{customer_id}/adGroupCriterionSimulations/{ad_group_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterionSimulation" - } - ]; - - // Output only. AdGroup ID of the simulation. - optional int64 ad_group_id = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Criterion ID of the simulation. - optional int64 criterion_id = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The field that the simulation modifies. - google.ads.googleads.v12.enums.SimulationTypeEnum.SimulationType type = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. How the simulation modifies the field. - google.ads.googleads.v12.enums.SimulationModificationMethodEnum.SimulationModificationMethod modification_method = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. First day on which the simulation is based, in YYYY-MM-DD format. - optional string start_date = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Last day on which the simulation is based, in YYYY-MM-DD format. - optional string end_date = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // List of simulation points. - oneof point_list { - // Output only. Simulation points if the simulation type is CPC_BID. - google.ads.googleads.v12.common.CpcBidSimulationPointList cpc_bid_point_list = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Simulation points if the simulation type is PERCENT_CPC_BID. - google.ads.googleads.v12.common.PercentCpcBidSimulationPointList percent_cpc_bid_point_list = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_customizer.proto b/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_customizer.proto deleted file mode 100644 index 70cb93bfe..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_customizer.proto +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/customizer_value.proto"; -import "google/ads/googleads/v12/enums/customizer_value_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCustomizerProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// A customizer value for the associated CustomizerAttribute at the AdGroup -// level. -message AdGroupCustomizer { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupCustomizer" - pattern: "customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id}" - }; - - // Immutable. The resource name of the ad group customizer. - // Ad group customizer resource names have the form: - // - // `customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCustomizer" - } - ]; - - // Immutable. The ad group to which the customizer attribute is linked. - string ad_group = 2 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Required. Immutable. The customizer attribute which is linked to the ad group. - string customizer_attribute = 3 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomizerAttribute" - } - ]; - - // Output only. The status of the ad group customizer. - google.ads.googleads.v12.enums.CustomizerValueStatusEnum.CustomizerValueStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Required. The value to associate with the customizer attribute at this level. The - // value must be of the type specified for the CustomizerAttribute. - google.ads.googleads.v12.common.CustomizerValue value = 5 [(google.api.field_behavior) = REQUIRED]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_extension_setting.proto b/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_extension_setting.proto deleted file mode 100644 index 8d7c88e49..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_extension_setting.proto +++ /dev/null @@ -1,78 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/extension_setting_device.proto"; -import "google/ads/googleads/v12/enums/extension_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupExtensionSettingProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the AdGroupExtensionSetting resource. - -// An ad group extension setting. -message AdGroupExtensionSetting { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupExtensionSetting" - pattern: "customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type}" - }; - - // Immutable. The resource name of the ad group extension setting. - // AdGroupExtensionSetting resource names have the form: - // - // `customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupExtensionSetting" - } - ]; - - // Immutable. The extension type of the ad group extension setting. - google.ads.googleads.v12.enums.ExtensionTypeEnum.ExtensionType extension_type = 2 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The resource name of the ad group. The linked extension feed items will - // serve under this ad group. - // AdGroup resource names have the form: - // - // `customers/{customer_id}/adGroups/{ad_group_id}` - optional string ad_group = 6 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // The resource names of the extension feed items to serve under the ad group. - // ExtensionFeedItem resource names have the form: - // - // `customers/{customer_id}/extensionFeedItems/{feed_item_id}` - repeated string extension_feed_items = 7 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ExtensionFeedItem" - }]; - - // The device for which the extensions will serve. Optional. - google.ads.googleads.v12.enums.ExtensionSettingDeviceEnum.ExtensionSettingDevice device = 5; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_feed.proto b/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_feed.proto deleted file mode 100644 index f236d62dc..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_feed.proto +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/matching_function.proto"; -import "google/ads/googleads/v12/enums/feed_link_status.proto"; -import "google/ads/googleads/v12/enums/placeholder_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupFeedProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the AdGroupFeed resource. - -// An ad group feed. -message AdGroupFeed { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupFeed" - pattern: "customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id}" - }; - - // Immutable. The resource name of the ad group feed. - // Ad group feed resource names have the form: - // - // `customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id} - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupFeed" - } - ]; - - // Immutable. The feed being linked to the ad group. - optional string feed = 7 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Feed" - } - ]; - - // Immutable. The ad group being linked to the feed. - optional string ad_group = 8 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Indicates which placeholder types the feed may populate under the connected - // ad group. Required. - repeated google.ads.googleads.v12.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 4; - - // Matching function associated with the AdGroupFeed. - // The matching function is used to filter the set of feed items selected. - // Required. - google.ads.googleads.v12.common.MatchingFunction matching_function = 5; - - // Output only. Status of the ad group feed. - // This field is read-only. - google.ads.googleads.v12.enums.FeedLinkStatusEnum.FeedLinkStatus status = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_label.proto b/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_label.proto deleted file mode 100644 index 46fbdedb2..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_label.proto +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupLabelProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the ad group label resource. - -// A relationship between an ad group and a label. -message AdGroupLabel { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupLabel" - pattern: "customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}" - }; - - // Immutable. The resource name of the ad group label. - // Ad group label resource names have the form: - // `customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupLabel" - } - ]; - - // Immutable. The ad group to which the label is attached. - optional string ad_group = 4 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Immutable. The label assigned to the ad group. - optional string label = 5 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Label" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_simulation.proto b/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_simulation.proto deleted file mode 100644 index 981b42456..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/ad_group_simulation.proto +++ /dev/null @@ -1,93 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/simulation.proto"; -import "google/ads/googleads/v12/enums/simulation_modification_method.proto"; -import "google/ads/googleads/v12/enums/simulation_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupSimulationProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the ad group simulation resource. - -// An ad group simulation. Supported combinations of advertising -// channel type, simulation type and simulation modification method is -// detailed below respectively. -// -// 1. SEARCH - CPC_BID - DEFAULT -// 2. SEARCH - CPC_BID - UNIFORM -// 3. SEARCH - TARGET_CPA - UNIFORM -// 4. SEARCH - TARGET_ROAS - UNIFORM -// 5. DISPLAY - CPC_BID - DEFAULT -// 6. DISPLAY - CPC_BID - UNIFORM -// 7. DISPLAY - TARGET_CPA - UNIFORM -message AdGroupSimulation { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupSimulation" - pattern: "customers/{customer_id}/adGroupSimulations/{ad_group_id}~{type}~{modification_method}~{start_date}~{end_date}" - }; - - // Output only. The resource name of the ad group simulation. - // Ad group simulation resource names have the form: - // - // `customers/{customer_id}/adGroupSimulations/{ad_group_id}~{type}~{modification_method}~{start_date}~{end_date}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupSimulation" - } - ]; - - // Output only. Ad group id of the simulation. - optional int64 ad_group_id = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The field that the simulation modifies. - google.ads.googleads.v12.enums.SimulationTypeEnum.SimulationType type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. How the simulation modifies the field. - google.ads.googleads.v12.enums.SimulationModificationMethodEnum.SimulationModificationMethod modification_method = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. First day on which the simulation is based, in YYYY-MM-DD format. - optional string start_date = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Last day on which the simulation is based, in YYYY-MM-DD format - optional string end_date = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // List of simulation points. - oneof point_list { - // Output only. Simulation points if the simulation type is CPC_BID. - google.ads.googleads.v12.common.CpcBidSimulationPointList cpc_bid_point_list = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Simulation points if the simulation type is CPV_BID. - google.ads.googleads.v12.common.CpvBidSimulationPointList cpv_bid_point_list = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Simulation points if the simulation type is TARGET_CPA. - google.ads.googleads.v12.common.TargetCpaSimulationPointList target_cpa_point_list = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Simulation points if the simulation type is TARGET_ROAS. - google.ads.googleads.v12.common.TargetRoasSimulationPointList target_roas_point_list = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/ad_parameter.proto b/third_party/googleapis/google/ads/googleads/v12/resources/ad_parameter.proto deleted file mode 100644 index 963e0363d..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/ad_parameter.proto +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdParameterProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the ad parameter resource. - -// An ad parameter that is used to update numeric values (such as prices or -// inventory levels) in any text line of an ad (including URLs). There can -// be a maximum of two AdParameters per ad group criterion. (One with -// parameter_index = 1 and one with parameter_index = 2.) -// In the ad the parameters are referenced by a placeholder of the form -// "{param#:value}". For example, "{param1:$17}" -message AdParameter { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdParameter" - pattern: "customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}" - }; - - // Immutable. The resource name of the ad parameter. - // Ad parameter resource names have the form: - // - // `customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdParameter" - } - ]; - - // Immutable. The ad group criterion that this ad parameter belongs to. - optional string ad_group_criterion = 5 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterion" - } - ]; - - // Immutable. The unique index of this ad parameter. Must be either 1 or 2. - optional int64 parameter_index = 6 [(google.api.field_behavior) = IMMUTABLE]; - - // Numeric value to insert into the ad text. The following restrictions - // apply: - // - Can use comma or period as a separator, with an optional period or - // comma (respectively) for fractional values. For example, 1,000,000.00 - // and 2.000.000,10 are valid. - // - Can be prepended or appended with a currency symbol. For example, - // $99.99 is valid. - // - Can be prepended or appended with a currency code. For example, 99.99USD - // and EUR200 are valid. - // - Can use '%'. For example, 1.0% and 1,0% are valid. - // - Can use plus or minus. For example, -10.99 and 25+ are valid. - // - Can use '/' between two numbers. For example 4/1 and 0.95/0.45 are - // valid. - optional string insertion_text = 7; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/ad_schedule_view.proto b/third_party/googleapis/google/ads/googleads/v12/resources/ad_schedule_view.proto deleted file mode 100644 index 817768929..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/ad_schedule_view.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdScheduleViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the ad schedule view resource. - -// An ad schedule view summarizes the performance of campaigns by -// AdSchedule criteria. -message AdScheduleView { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdScheduleView" - pattern: "customers/{customer_id}/adScheduleViews/{campaign_id}~{criterion_id}" - }; - - // Output only. The resource name of the ad schedule view. - // AdSchedule view resource names have the form: - // - // `customers/{customer_id}/adScheduleViews/{campaign_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdScheduleView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/age_range_view.proto b/third_party/googleapis/google/ads/googleads/v12/resources/age_range_view.proto deleted file mode 100644 index 72a729265..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/age_range_view.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AgeRangeViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the age range view resource. - -// An age range view. -message AgeRangeView { - option (google.api.resource) = { - type: "googleads.googleapis.com/AgeRangeView" - pattern: "customers/{customer_id}/ageRangeViews/{ad_group_id}~{criterion_id}" - }; - - // Output only. The resource name of the age range view. - // Age range view resource names have the form: - // - // `customers/{customer_id}/ageRangeViews/{ad_group_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AgeRangeView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/asset.proto b/third_party/googleapis/google/ads/googleads/v12/resources/asset.proto deleted file mode 100644 index 09dcf1cfb..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/asset.proto +++ /dev/null @@ -1,186 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/asset_types.proto"; -import "google/ads/googleads/v12/common/custom_parameter.proto"; -import "google/ads/googleads/v12/common/policy.proto"; -import "google/ads/googleads/v12/enums/asset_source.proto"; -import "google/ads/googleads/v12/enums/asset_type.proto"; -import "google/ads/googleads/v12/enums/policy_approval_status.proto"; -import "google/ads/googleads/v12/enums/policy_review_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AssetProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the asset resource. - -// Asset is a part of an ad which can be shared across multiple ads. -// It can be an image (ImageAsset), a video (YoutubeVideoAsset), etc. -// Assets are immutable and cannot be removed. To stop an asset from serving, -// remove the asset from the entity that is using it. -message Asset { - option (google.api.resource) = { - type: "googleads.googleapis.com/Asset" - pattern: "customers/{customer_id}/assets/{asset_id}" - }; - - // Immutable. The resource name of the asset. - // Asset resource names have the form: - // - // `customers/{customer_id}/assets/{asset_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Asset" - } - ]; - - // Output only. The ID of the asset. - optional int64 id = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Optional name of the asset. - optional string name = 12; - - // Output only. Type of the asset. - google.ads.googleads.v12.enums.AssetTypeEnum.AssetType type = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // A list of possible final URLs after all cross domain redirects. - repeated string final_urls = 14; - - // A list of possible final mobile URLs after all cross domain redirects. - repeated string final_mobile_urls = 16; - - // URL template for constructing a tracking URL. - optional string tracking_url_template = 17; - - // A list of mappings to be used for substituting URL custom parameter tags in - // the tracking_url_template, final_urls, and/or final_mobile_urls. - repeated google.ads.googleads.v12.common.CustomParameter url_custom_parameters = 18; - - // URL template for appending params to landing page URLs served with parallel - // tracking. - optional string final_url_suffix = 19; - - // Output only. Source of the asset. - google.ads.googleads.v12.enums.AssetSourceEnum.AssetSource source = 38 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Policy information for the asset. - AssetPolicySummary policy_summary = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The specific type of the asset. - oneof asset_data { - // Immutable. A YouTube video asset. - google.ads.googleads.v12.common.YoutubeVideoAsset youtube_video_asset = 5 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. A media bundle asset. - google.ads.googleads.v12.common.MediaBundleAsset media_bundle_asset = 6 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. An image asset. - google.ads.googleads.v12.common.ImageAsset image_asset = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. A text asset. - google.ads.googleads.v12.common.TextAsset text_asset = 8 [(google.api.field_behavior) = IMMUTABLE]; - - // A lead form asset. - google.ads.googleads.v12.common.LeadFormAsset lead_form_asset = 9; - - // A book on google asset. - google.ads.googleads.v12.common.BookOnGoogleAsset book_on_google_asset = 10; - - // A promotion asset. - google.ads.googleads.v12.common.PromotionAsset promotion_asset = 15; - - // A callout asset. - google.ads.googleads.v12.common.CalloutAsset callout_asset = 20; - - // A structured snippet asset. - google.ads.googleads.v12.common.StructuredSnippetAsset structured_snippet_asset = 21; - - // A sitelink asset. - google.ads.googleads.v12.common.SitelinkAsset sitelink_asset = 22; - - // A page feed asset. - google.ads.googleads.v12.common.PageFeedAsset page_feed_asset = 23; - - // A dynamic education asset. - google.ads.googleads.v12.common.DynamicEducationAsset dynamic_education_asset = 24; - - // A mobile app asset. - google.ads.googleads.v12.common.MobileAppAsset mobile_app_asset = 25; - - // A hotel callout asset. - google.ads.googleads.v12.common.HotelCalloutAsset hotel_callout_asset = 26; - - // A call asset. - google.ads.googleads.v12.common.CallAsset call_asset = 27; - - // A price asset. - google.ads.googleads.v12.common.PriceAsset price_asset = 28; - - // Immutable. A call to action asset. - google.ads.googleads.v12.common.CallToActionAsset call_to_action_asset = 29 [(google.api.field_behavior) = IMMUTABLE]; - - // A dynamic real estate asset. - google.ads.googleads.v12.common.DynamicRealEstateAsset dynamic_real_estate_asset = 30; - - // A dynamic custom asset. - google.ads.googleads.v12.common.DynamicCustomAsset dynamic_custom_asset = 31; - - // A dynamic hotels and rentals asset. - google.ads.googleads.v12.common.DynamicHotelsAndRentalsAsset dynamic_hotels_and_rentals_asset = 32; - - // A dynamic flights asset. - google.ads.googleads.v12.common.DynamicFlightsAsset dynamic_flights_asset = 33; - - // Immutable. A discovery carousel card asset. - google.ads.googleads.v12.common.DiscoveryCarouselCardAsset discovery_carousel_card_asset = 34 [(google.api.field_behavior) = IMMUTABLE]; - - // A dynamic travel asset. - google.ads.googleads.v12.common.DynamicTravelAsset dynamic_travel_asset = 35; - - // A dynamic local asset. - google.ads.googleads.v12.common.DynamicLocalAsset dynamic_local_asset = 36; - - // A dynamic jobs asset. - google.ads.googleads.v12.common.DynamicJobsAsset dynamic_jobs_asset = 37; - - // Output only. A location asset. - google.ads.googleads.v12.common.LocationAsset location_asset = 39 [(google.api.field_behavior) = OUTPUT_ONLY]; - } -} - -// Contains policy information for an asset. -message AssetPolicySummary { - // Output only. The list of policy findings for this asset. - repeated google.ads.googleads.v12.common.PolicyTopicEntry policy_topic_entries = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Where in the review process this asset is. - google.ads.googleads.v12.enums.PolicyReviewStatusEnum.PolicyReviewStatus review_status = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The overall approval status of this asset, calculated based on the status - // of its individual policy topic entries. - google.ads.googleads.v12.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/asset_field_type_view.proto b/third_party/googleapis/google/ads/googleads/v12/resources/asset_field_type_view.proto deleted file mode 100644 index 4bbc10028..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/asset_field_type_view.proto +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/asset_field_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AssetFieldTypeViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the AssetFieldTypeView resource. - -// An asset field type view. -// This view reports non-overcounted metrics for each asset field type when the -// asset is used as extension. -message AssetFieldTypeView { - option (google.api.resource) = { - type: "googleads.googleapis.com/AssetFieldTypeView" - pattern: "customers/{customer_id}/assetFieldTypeViews/{field_type}" - }; - - // Output only. The resource name of the asset field type view. - // Asset field type view resource names have the form: - // - // `customers/{customer_id}/assetFieldTypeViews/{field_type}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetFieldTypeView" - } - ]; - - // Output only. The asset field type of the asset field type view. - google.ads.googleads.v12.enums.AssetFieldTypeEnum.AssetFieldType field_type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/asset_group.proto b/third_party/googleapis/google/ads/googleads/v12/resources/asset_group.proto deleted file mode 100644 index d459120cd..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/asset_group.proto +++ /dev/null @@ -1,91 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/ad_strength.proto"; -import "google/ads/googleads/v12/enums/asset_group_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// An asset group. -// AssetGroupAsset is used to link an asset to the asset group. -// AssetGroupSignal is used to associate a signal to an asset group. -message AssetGroup { - option (google.api.resource) = { - type: "googleads.googleapis.com/AssetGroup" - pattern: "customers/{customer_id}/assetGroups/{asset_group_id}" - }; - - // Immutable. The resource name of the asset group. - // Asset group resource names have the form: - // - // `customers/{customer_id}/assetGroups/{asset_group_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroup" - } - ]; - - // Output only. The ID of the asset group. - int64 id = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The campaign with which this asset group is associated. - // The asset which is linked to the asset group. - string campaign = 2 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Required. Name of the asset group. Required. It must have a minimum length of 1 and - // maximum length of 128. It must be unique under a campaign. - string name = 3 [(google.api.field_behavior) = REQUIRED]; - - // A list of final URLs after all cross domain redirects. In performance max, - // by default, the urls are eligible for expansion unless opted out. - repeated string final_urls = 4; - - // A list of final mobile URLs after all cross domain redirects. In - // performance max, by default, the urls are eligible for expansion - // unless opted out. - repeated string final_mobile_urls = 5; - - // The status of the asset group. - google.ads.googleads.v12.enums.AssetGroupStatusEnum.AssetGroupStatus status = 6; - - // First part of text that may appear appended to the url displayed in - // the ad. - string path1 = 7; - - // Second part of text that may appear appended to the url displayed in - // the ad. This field can only be set when path1 is set. - string path2 = 8; - - // Output only. Overall ad strength of this asset group. - google.ads.googleads.v12.enums.AdStrengthEnum.AdStrength ad_strength = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/asset_group_asset.proto b/third_party/googleapis/google/ads/googleads/v12/resources/asset_group_asset.proto deleted file mode 100644 index be6688022..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/asset_group_asset.proto +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/policy_summary.proto"; -import "google/ads/googleads/v12/enums/asset_field_type.proto"; -import "google/ads/googleads/v12/enums/asset_link_status.proto"; -import "google/ads/googleads/v12/enums/asset_performance_label.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupAssetProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// AssetGroupAsset is the link between an asset and an asset group. -// Adding an AssetGroupAsset links an asset with an asset group. -message AssetGroupAsset { - option (google.api.resource) = { - type: "googleads.googleapis.com/AssetGroupAsset" - pattern: "customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type}" - }; - - // Immutable. The resource name of the asset group asset. - // Asset group asset resource name have the form: - // - // `customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroupAsset" - } - ]; - - // Immutable. The asset group which this asset group asset is linking. - string asset_group = 2 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroup" - } - ]; - - // Immutable. The asset which this asset group asset is linking. - string asset = 3 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Asset" - } - ]; - - // The description of the placement of the asset within the asset group. For - // example: HEADLINE, YOUTUBE_VIDEO etc - google.ads.googleads.v12.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4; - - // The status of the link between an asset and asset group. - google.ads.googleads.v12.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5; - - // Output only. The performance of this asset group asset. - google.ads.googleads.v12.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel performance_label = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The policy information for this asset group asset. - google.ads.googleads.v12.common.PolicySummary policy_summary = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/asset_group_listing_group_filter.proto b/third_party/googleapis/google/ads/googleads/v12/resources/asset_group_listing_group_filter.proto deleted file mode 100644 index 2bdb8b626..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/asset_group_listing_group_filter.proto +++ /dev/null @@ -1,172 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/listing_group_filter_bidding_category_level.proto"; -import "google/ads/googleads/v12/enums/listing_group_filter_custom_attribute_index.proto"; -import "google/ads/googleads/v12/enums/listing_group_filter_product_channel.proto"; -import "google/ads/googleads/v12/enums/listing_group_filter_product_condition.proto"; -import "google/ads/googleads/v12/enums/listing_group_filter_product_type_level.proto"; -import "google/ads/googleads/v12/enums/listing_group_filter_type_enum.proto"; -import "google/ads/googleads/v12/enums/listing_group_filter_vertical.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupListingGroupFilterProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// AssetGroupListingGroupFilter represents a listing group filter tree node in -// an asset group. -message AssetGroupListingGroupFilter { - option (google.api.resource) = { - type: "googleads.googleapis.com/AssetGroupListingGroupFilter" - pattern: "customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id}" - }; - - // Immutable. The resource name of the asset group listing group filter. - // Asset group listing group filter resource name have the form: - // - // `customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroupListingGroupFilter" - } - ]; - - // Immutable. The asset group which this asset group listing group filter is part of. - string asset_group = 2 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroup" - } - ]; - - // Output only. The ID of the ListingGroupFilter. - int64 id = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. Type of a listing group filter node. - google.ads.googleads.v12.enums.ListingGroupFilterTypeEnum.ListingGroupFilterType type = 4 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The vertical the current node tree represents. All nodes in the same tree - // must belong to the same vertical. - google.ads.googleads.v12.enums.ListingGroupFilterVerticalEnum.ListingGroupFilterVertical vertical = 5 [(google.api.field_behavior) = IMMUTABLE]; - - // Dimension value with which this listing group is refining its parent. - // Undefined for the root group. - ListingGroupFilterDimension case_value = 6; - - // Immutable. Resource name of the parent listing group subdivision. Null for the root - // listing group filter node. - string parent_listing_group_filter = 7 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroupListingGroupFilter" - } - ]; -} - -// Listing dimensions for the asset group listing group filter. -message ListingGroupFilterDimension { - // One element of a bidding category at a certain level. Top-level categories - // are at level 1, their children at level 2, and so on. We currently support - // up to 5 levels. The user must specify a dimension type that indicates the - // level of the category. All cases of the same subdivision must have the same - // dimension type (category level). - message ProductBiddingCategory { - // ID of the product bidding category. - // - // This ID is equivalent to the google_product_category ID as described in - // this article: https://support.google.com/merchants/answer/6324436 - optional int64 id = 1; - - // Indicates the level of the category in the taxonomy. - google.ads.googleads.v12.enums.ListingGroupFilterBiddingCategoryLevelEnum.ListingGroupFilterBiddingCategoryLevel level = 2; - } - - // Brand of the product. - message ProductBrand { - // String value of the product brand. - optional string value = 1; - } - - // Locality of a product offer. - message ProductChannel { - // Value of the locality. - google.ads.googleads.v12.enums.ListingGroupFilterProductChannelEnum.ListingGroupFilterProductChannel channel = 1; - } - - // Condition of a product offer. - message ProductCondition { - // Value of the condition. - google.ads.googleads.v12.enums.ListingGroupFilterProductConditionEnum.ListingGroupFilterProductCondition condition = 1; - } - - // Custom attribute of a product offer. - message ProductCustomAttribute { - // String value of the product custom attribute. - optional string value = 1; - - // Indicates the index of the custom attribute. - google.ads.googleads.v12.enums.ListingGroupFilterCustomAttributeIndexEnum.ListingGroupFilterCustomAttributeIndex index = 2; - } - - // Item id of a product offer. - message ProductItemId { - // Value of the id. - optional string value = 1; - } - - // Type of a product offer. - message ProductType { - // Value of the type. - optional string value = 1; - - // Level of the type. - google.ads.googleads.v12.enums.ListingGroupFilterProductTypeLevelEnum.ListingGroupFilterProductTypeLevel level = 2; - } - - // Dimension of one of the types below is always present. - oneof dimension { - // Bidding category of a product offer. - ProductBiddingCategory product_bidding_category = 1; - - // Brand of a product offer. - ProductBrand product_brand = 2; - - // Locality of a product offer. - ProductChannel product_channel = 3; - - // Condition of a product offer. - ProductCondition product_condition = 4; - - // Custom attribute of a product offer. - ProductCustomAttribute product_custom_attribute = 5; - - // Item id of a product offer. - ProductItemId product_item_id = 6; - - // Type of a product offer. - ProductType product_type = 7; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/asset_group_product_group_view.proto b/third_party/googleapis/google/ads/googleads/v12/resources/asset_group_product_group_view.proto deleted file mode 100644 index ec875e64b..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/asset_group_product_group_view.proto +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupProductGroupViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the AssetGroupProductGroupView resource. - -// An asset group product group view. -message AssetGroupProductGroupView { - option (google.api.resource) = { - type: "googleads.googleapis.com/AssetGroupProductGroupView" - pattern: "customers/{customer_id}/assetGroupProductGroupViews/{asset_group_id}~{listing_group_filter_id}" - }; - - // Output only. The resource name of the asset group product group view. - // Asset group product group view resource names have the form: - // - // `customers/{customer_id}/assetGroupProductGroupViews/{asset_group_id}~{listing_group_filter_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroupProductGroupView" - } - ]; - - // Output only. The asset group associated with the listing group filter. - string asset_group = 2 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroup" - } - ]; - - // Output only. The resource name of the asset group listing group filter. - string asset_group_listing_group_filter = 4 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroupListingGroupFilter" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/asset_group_signal.proto b/third_party/googleapis/google/ads/googleads/v12/resources/asset_group_signal.proto deleted file mode 100644 index c2f4cd812..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/asset_group_signal.proto +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/criteria.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupSignalProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// AssetGroupSignal represents a signal in an asset group. The existence of a -// signal tells the performance max campaign who's most likely to convert. -// Performance Max uses the signal to look for new people with similar or -// stronger intent to find conversions across Search, Display, Video, and more. -message AssetGroupSignal { - option (google.api.resource) = { - type: "googleads.googleapis.com/AssetGroupSignal" - pattern: "customers/{customer_id}/assetGroupSignals/{asset_group_id}~{criterion_id}" - }; - - // Immutable. The resource name of the asset group signal. - // Asset group signal resource name have the form: - // - // `customers/{customer_id}/assetGroupSignals/{asset_group_id}~{signal_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroupSignal" - } - ]; - - // Immutable. The asset group which this asset group signal belongs to. - string asset_group = 2 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroup" - } - ]; - - // Immutable. The signal(audience criterion) to be used by the performance max campaign. - google.ads.googleads.v12.common.AudienceInfo audience = 3 [(google.api.field_behavior) = IMMUTABLE]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/asset_set.proto b/third_party/googleapis/google/ads/googleads/v12/resources/asset_set.proto deleted file mode 100644 index 95aded3bf..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/asset_set.proto +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/asset_set_types.proto"; -import "google/ads/googleads/v12/enums/asset_set_status.proto"; -import "google/ads/googleads/v12/enums/asset_set_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// An asset set representing a collection of assets. -// Use AssetSetAsset to link an asset to the asset set. -message AssetSet { - option (google.api.resource) = { - type: "googleads.googleapis.com/AssetSet" - pattern: "customers/{customer_id}/assetSets/{asset_set_id}" - }; - - // Merchant ID and Feed Label from Google Merchant Center. - message MerchantCenterFeed { - // Required. Merchant ID from Google Merchant Center - int64 merchant_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Optional. Feed Label from Google Merchant Center. - optional string feed_label = 2 [(google.api.field_behavior) = OPTIONAL]; - } - - // Output only. The ID of the asset set. - int64 id = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The resource name of the asset set. - // Asset set resource names have the form: - // - // `customers/{customer_id}/assetSets/{asset_set_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetSet" - } - ]; - - // Required. Name of the asset set. Required. It must have a minimum length of 1 and - // maximum length of 128. - string name = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. Immutable. The type of the asset set. Required. - google.ads.googleads.v12.enums.AssetSetTypeEnum.AssetSetType type = 3 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE - ]; - - // Output only. The status of the asset set. Read-only. - google.ads.googleads.v12.enums.AssetSetStatusEnum.AssetSetStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Merchant ID and Feed Label from Google Merchant Center. - MerchantCenterFeed merchant_center_feed = 5; - - // Immutable. Parent asset set id for the asset set where the elements of this asset set - // come from. For example: the sync level location AssetSet id where the - // the elements in LocationGroup AssetSet come from. This field is required - // and only applicable for Location Group typed AssetSet. - int64 location_group_parent_asset_set_id = 10 [(google.api.field_behavior) = IMMUTABLE]; - - // Asset set data specific to each asset set type. Not all types have specific - // data. - oneof asset_set_source { - // Location asset set data. This will be used for sync level location - // set. This can only be set if AssetSet's type is LOCATION_SYNC. - google.ads.googleads.v12.common.LocationSet location_set = 7; - - // Business Profile location group asset set data. - google.ads.googleads.v12.common.BusinessProfileLocationGroup business_profile_location_group = 8; - - // Represents information about a Chain dynamic location group. - // Only applicable if the sync level AssetSet's type is LOCATION_SYNC and - // sync source is chain. - google.ads.googleads.v12.common.ChainLocationGroup chain_location_group = 9; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/asset_set_asset.proto b/third_party/googleapis/google/ads/googleads/v12/resources/asset_set_asset.proto deleted file mode 100644 index 9f7efd06c..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/asset_set_asset.proto +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/asset_set_asset_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetAssetProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// AssetSetAsset is the link between an asset and an asset set. -// Adding an AssetSetAsset links an asset with an asset set. -message AssetSetAsset { - option (google.api.resource) = { - type: "googleads.googleapis.com/AssetSetAsset" - pattern: "customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}" - }; - - // Immutable. The resource name of the asset set asset. - // Asset set asset resource names have the form: - // - // `customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetSetAsset" - } - ]; - - // Immutable. The asset set which this asset set asset is linking to. - string asset_set = 2 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetSet" - } - ]; - - // Immutable. The asset which this asset set asset is linking to. - string asset = 3 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Asset" - } - ]; - - // Output only. The status of the asset set asset. Read-only. - google.ads.googleads.v12.enums.AssetSetAssetStatusEnum.AssetSetAssetStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/asset_set_type_view.proto b/third_party/googleapis/google/ads/googleads/v12/resources/asset_set_type_view.proto deleted file mode 100644 index 4190667b1..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/asset_set_type_view.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/asset_set_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetTypeViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the AssetSetTypeView resource. - -// An asset set type view. -// This view reports non-overcounted metrics for each asset set type. Child -// asset set types are not included in this report. Their stats are aggregated -// under the parent asset set type. -message AssetSetTypeView { - option (google.api.resource) = { - type: "googleads.googleapis.com/AssetSetTypeView" - pattern: "customers/{customer_id}/assetSetTypeViews/{asset_set_type}" - }; - - // Output only. The resource name of the asset set type view. - // Asset set type view resource names have the form: - // - // `customers/{customer_id}/assetSetTypeViews/{asset_set_type}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetSetTypeView" - } - ]; - - // Output only. The asset set type of the asset set type view. - google.ads.googleads.v12.enums.AssetSetTypeEnum.AssetSetType asset_set_type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/audience.proto b/third_party/googleapis/google/ads/googleads/v12/resources/audience.proto deleted file mode 100644 index d4bf6dbb3..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/audience.proto +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/audiences.proto"; -import "google/ads/googleads/v12/enums/audience_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AudienceProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the Audience resource. - -// Audience is an effective targeting option that lets you -// intersect different segment attributes, such as detailed demographics and -// affinities, to create audiences that represent sections of your target -// segments. -message Audience { - option (google.api.resource) = { - type: "googleads.googleapis.com/Audience" - pattern: "customers/{customer_id}/audiences/{audience_id}" - }; - - // Immutable. The resource name of the audience. - // Audience names have the form: - // - // `customers/{customer_id}/audiences/{audience_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Audience" - } - ]; - - // Output only. ID of the audience. - int64 id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Status of this audience. Indicates whether the audience - // is enabled or removed. - google.ads.googleads.v12.enums.AudienceStatusEnum.AudienceStatus status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Required. Name of the audience. It should be unique across all - // audiences. It must have a minimum length of 1 and - // maximum length of 255. - string name = 4 [(google.api.field_behavior) = REQUIRED]; - - // Description of this audience. - string description = 5; - - // Positive dimensions specifying the audience composition. - repeated google.ads.googleads.v12.common.AudienceDimension dimensions = 6; - - // Negative dimension specifying the audience composition. - google.ads.googleads.v12.common.AudienceExclusionDimension exclusion_dimension = 7; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/batch_job.proto b/third_party/googleapis/google/ads/googleads/v12/resources/batch_job.proto deleted file mode 100644 index 75a7c9940..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/batch_job.proto +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/batch_job_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "BatchJobProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the batch job resource. - -// A list of mutates being processed asynchronously. The mutates are uploaded -// by the user. The mutates themselves aren't readable and the results of the -// job can only be read using BatchJobService.ListBatchJobResults. -message BatchJob { - option (google.api.resource) = { - type: "googleads.googleapis.com/BatchJob" - pattern: "customers/{customer_id}/batchJobs/{batch_job_id}" - }; - - // Additional information about the batch job. This message is also used as - // metadata returned in batch job Long Running Operations. - message BatchJobMetadata { - // Output only. The time when this batch job was created. - // Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 09:15:00" - optional string creation_date_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The time when this batch job started running. - // Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 09:15:30" - optional string start_date_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The time when this batch job was completed. - // Formatted as yyyy-MM-dd HH:mm:ss. Example: "2018-03-05 09:16:00" - optional string completion_date_time = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The fraction (between 0.0 and 1.0) of mutates that have been processed. - // This is empty if the job hasn't started running yet. - optional double estimated_completion_ratio = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The number of mutate operations in the batch job. - optional int64 operation_count = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The number of mutate operations executed by the batch job. - // Present only if the job has started running. - optional int64 executed_operation_count = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Immutable. The resource name of the batch job. - // Batch job resource names have the form: - // - // `customers/{customer_id}/batchJobs/{batch_job_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/BatchJob" - } - ]; - - // Output only. ID of this batch job. - optional int64 id = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The next sequence token to use when adding operations. Only set when the - // batch job status is PENDING. - optional string next_add_sequence_token = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Contains additional information about this batch job. - BatchJobMetadata metadata = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Status of this batch job. - google.ads.googleads.v12.enums.BatchJobStatusEnum.BatchJobStatus status = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource name of the long-running operation that can be used to poll - // for completion. Only set when the batch job status is RUNNING or DONE. - optional string long_running_operation = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/bidding_data_exclusion.proto b/third_party/googleapis/google/ads/googleads/v12/resources/bidding_data_exclusion.proto deleted file mode 100644 index 6835c4056..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/bidding_data_exclusion.proto +++ /dev/null @@ -1,107 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/advertising_channel_type.proto"; -import "google/ads/googleads/v12/enums/device.proto"; -import "google/ads/googleads/v12/enums/seasonality_event_scope.proto"; -import "google/ads/googleads/v12/enums/seasonality_event_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "BiddingDataExclusionProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Represents a bidding data exclusion. -// -// See "About data exclusions" at -// https://support.google.com/google-ads/answer/10370710. -message BiddingDataExclusion { - option (google.api.resource) = { - type: "googleads.googleapis.com/BiddingDataExclusion" - pattern: "customers/{customer_id}/biddingDataExclusions/{seasonality_event_id}" - }; - - // Immutable. The resource name of the data exclusion. - // Data exclusion resource names have the form: - // - // `customers/{customer_id}/biddingDataExclusions/{data_exclusion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/BiddingDataExclusion" - } - ]; - - // Output only. The ID of the data exclusion. - int64 data_exclusion_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The scope of the data exclusion. - google.ads.googleads.v12.enums.SeasonalityEventScopeEnum.SeasonalityEventScope scope = 3; - - // Output only. The status of the data exclusion. - google.ads.googleads.v12.enums.SeasonalityEventStatusEnum.SeasonalityEventStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Required. The inclusive start time of the data exclusion in yyyy-MM-dd HH:mm:ss - // format. - // - // A data exclusion is backward looking and should be used for events that - // start in the past and end either in the past or future. - string start_date_time = 5 [(google.api.field_behavior) = REQUIRED]; - - // Required. The exclusive end time of the data exclusion in yyyy-MM-dd HH:mm:ss format. - // - // The length of [start_date_time, end_date_time) interval must be - // within (0, 14 days]. - string end_date_time = 6 [(google.api.field_behavior) = REQUIRED]; - - // The name of the data exclusion. The name can be at most 255 - // characters. - string name = 7; - - // The description of the data exclusion. The description can be at - // most 2048 characters. - string description = 8; - - // If not specified, all devices will be included in this exclusion. - // Otherwise, only the specified targeted devices will be included in this - // exclusion. - repeated google.ads.googleads.v12.enums.DeviceEnum.Device devices = 9; - - // The data exclusion will apply to the campaigns listed when the scope of - // this exclusion is CAMPAIGN. The maximum number of campaigns per event is - // 2000. - // Note: a data exclusion with both advertising_channel_types and - // campaign_ids is not supported. - repeated string campaigns = 10 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - }]; - - // The data_exclusion will apply to all the campaigns under the listed - // channels retroactively as well as going forward when the scope of this - // exclusion is CHANNEL. - // The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. - // Note: a data exclusion with both advertising_channel_types and - // campaign_ids is not supported. - repeated google.ads.googleads.v12.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_types = 11; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/bidding_seasonality_adjustment.proto b/third_party/googleapis/google/ads/googleads/v12/resources/bidding_seasonality_adjustment.proto deleted file mode 100644 index a9a980bac..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/bidding_seasonality_adjustment.proto +++ /dev/null @@ -1,113 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/advertising_channel_type.proto"; -import "google/ads/googleads/v12/enums/device.proto"; -import "google/ads/googleads/v12/enums/seasonality_event_scope.proto"; -import "google/ads/googleads/v12/enums/seasonality_event_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "BiddingSeasonalityAdjustmentProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Represents a bidding seasonality adjustment. -// -// See "About seasonality adjustments" at -// https://support.google.com/google-ads/answer/10369906. -message BiddingSeasonalityAdjustment { - option (google.api.resource) = { - type: "googleads.googleapis.com/BiddingSeasonalityAdjustment" - pattern: "customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_event_id}" - }; - - // Immutable. The resource name of the seasonality adjustment. - // Seasonality adjustment resource names have the form: - // - // `customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_adjustment_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/BiddingSeasonalityAdjustment" - } - ]; - - // Output only. The ID of the seasonality adjustment. - int64 seasonality_adjustment_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The scope of the seasonality adjustment. - google.ads.googleads.v12.enums.SeasonalityEventScopeEnum.SeasonalityEventScope scope = 3; - - // Output only. The status of the seasonality adjustment. - google.ads.googleads.v12.enums.SeasonalityEventStatusEnum.SeasonalityEventStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Required. The inclusive start time of the seasonality adjustment in yyyy-MM-dd - // HH:mm:ss format. - // - // A seasonality adjustment is forward looking and should be used for events - // that start and end in the future. - string start_date_time = 5 [(google.api.field_behavior) = REQUIRED]; - - // Required. The exclusive end time of the seasonality adjustment in yyyy-MM-dd HH:mm:ss - // format. - // - // The length of [start_date_time, end_date_time) interval must be - // within (0, 14 days]. - string end_date_time = 6 [(google.api.field_behavior) = REQUIRED]; - - // The name of the seasonality adjustment. The name can be at most 255 - // characters. - string name = 7; - - // The description of the seasonality adjustment. The description can be at - // most 2048 characters. - string description = 8; - - // If not specified, all devices will be included in this adjustment. - // Otherwise, only the specified targeted devices will be included in this - // adjustment. - repeated google.ads.googleads.v12.enums.DeviceEnum.Device devices = 9; - - // Conversion rate modifier estimated based on expected conversion rate - // changes. When this field is unset or set to 1.0 no adjustment will be - // applied to traffic. The allowed range is 0.1 to 10.0. - double conversion_rate_modifier = 10; - - // The seasonality adjustment will apply to the campaigns listed when the - // scope of this adjustment is CAMPAIGN. The maximum number of campaigns per - // event is 2000. - // Note: a seasonality adjustment with both advertising_channel_types and - // campaign_ids is not supported. - repeated string campaigns = 11 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - }]; - - // The seasonality adjustment will apply to all the campaigns under the listed - // channels retroactively as well as going forward when the scope of this - // adjustment is CHANNEL. - // The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. - // Note: a seasonality adjustment with both advertising_channel_types and - // campaign_ids is not supported. - repeated google.ads.googleads.v12.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_types = 12; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/bidding_strategy.proto b/third_party/googleapis/google/ads/googleads/v12/resources/bidding_strategy.proto deleted file mode 100644 index cd0f96136..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/bidding_strategy.proto +++ /dev/null @@ -1,145 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/bidding.proto"; -import "google/ads/googleads/v12/enums/bidding_strategy_status.proto"; -import "google/ads/googleads/v12/enums/bidding_strategy_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "BiddingStrategyProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the BiddingStrategy resource - -// A bidding strategy. -message BiddingStrategy { - option (google.api.resource) = { - type: "googleads.googleapis.com/BiddingStrategy" - pattern: "customers/{customer_id}/biddingStrategies/{bidding_strategy_id}" - }; - - // Immutable. The resource name of the bidding strategy. - // Bidding strategy resource names have the form: - // - // `customers/{customer_id}/biddingStrategies/{bidding_strategy_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/BiddingStrategy" - } - ]; - - // Output only. The ID of the bidding strategy. - optional int64 id = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The name of the bidding strategy. - // All bidding strategies within an account must be named distinctly. - // - // The length of this string should be between 1 and 255, inclusive, - // in UTF-8 bytes, (trimmed). - optional string name = 17; - - // Output only. The status of the bidding strategy. - // - // This field is read-only. - google.ads.googleads.v12.enums.BiddingStrategyStatusEnum.BiddingStrategyStatus status = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The type of the bidding strategy. - // Create a bidding strategy by setting the bidding scheme. - // - // This field is read-only. - google.ads.googleads.v12.enums.BiddingStrategyTypeEnum.BiddingStrategyType type = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The currency used by the bidding strategy (ISO 4217 three-letter code). - // - // For bidding strategies in manager customers, this currency can be set on - // creation and defaults to the manager customer's currency. For serving - // customers, this field cannot be set; all strategies in a serving customer - // implicitly use the serving customer's currency. In all cases the - // effective_currency_code field returns the currency used by the strategy. - string currency_code = 23 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The currency used by the bidding strategy (ISO 4217 three-letter code). - // - // For bidding strategies in manager customers, this is the currency set by - // the advertiser when creating the strategy. For serving customers, this is - // the customer's currency_code. - // - // Bidding strategy metrics are reported in this currency. - // - // This field is read-only. - optional string effective_currency_code = 20 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // ID of the campaign budget that this portfolio bidding strategy - // is aligned with. When a portfolio and a campaign budget are aligned, that - // means that they are attached to the same set of campaigns. After a bidding - // strategy is aligned with a campaign budget, campaigns that are added to the - // bidding strategy must also use the aligned campaign budget. - int64 aligned_campaign_budget_id = 25; - - // Output only. The number of campaigns attached to this bidding strategy. - // - // This field is read-only. - optional int64 campaign_count = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The number of non-removed campaigns attached to this bidding strategy. - // - // This field is read-only. - optional int64 non_removed_campaign_count = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The bidding scheme. - // - // Only one can be set. - oneof scheme { - // A bidding strategy that raises bids for clicks that seem more likely to - // lead to a conversion and lowers them for clicks where they seem less - // likely. - google.ads.googleads.v12.common.EnhancedCpc enhanced_cpc = 7; - - // An automated bidding strategy to help get the most conversion value for - // your campaigns while spending your budget. - google.ads.googleads.v12.common.MaximizeConversionValue maximize_conversion_value = 21; - - // An automated bidding strategy to help get the most conversions for your - // campaigns while spending your budget. - google.ads.googleads.v12.common.MaximizeConversions maximize_conversions = 22; - - // A bidding strategy that sets bids to help get as many conversions as - // possible at the target cost-per-acquisition (CPA) you set. - google.ads.googleads.v12.common.TargetCpa target_cpa = 9; - - // A bidding strategy that automatically optimizes towards a chosen - // percentage of impressions. - google.ads.googleads.v12.common.TargetImpressionShare target_impression_share = 48; - - // A bidding strategy that helps you maximize revenue while averaging a - // specific target Return On Ad Spend (ROAS). - google.ads.googleads.v12.common.TargetRoas target_roas = 11; - - // A bid strategy that sets your bids to help get as many clicks as - // possible within your budget. - google.ads.googleads.v12.common.TargetSpend target_spend = 12; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/bidding_strategy_simulation.proto b/third_party/googleapis/google/ads/googleads/v12/resources/bidding_strategy_simulation.proto deleted file mode 100644 index 5fb4cf139..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/bidding_strategy_simulation.proto +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/simulation.proto"; -import "google/ads/googleads/v12/enums/simulation_modification_method.proto"; -import "google/ads/googleads/v12/enums/simulation_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "BiddingStrategySimulationProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the bidding strategy simulation resource. - -// A bidding strategy simulation. Supported combinations of simulation type -// and simulation modification method are detailed below respectively. -// -// 1. TARGET_CPA - UNIFORM -// 2. TARGET_ROAS - UNIFORM -message BiddingStrategySimulation { - option (google.api.resource) = { - type: "googleads.googleapis.com/BiddingStrategySimulation" - pattern: "customers/{customer_id}/biddingStrategySimulations/{bidding_strategy_id}~{type}~{modification_method}~{start_date}~{end_date}" - }; - - // Output only. The resource name of the bidding strategy simulation. - // Bidding strategy simulation resource names have the form: - // - // `customers/{customer_id}/biddingStrategySimulations/{bidding_strategy_id}~{type}~{modification_method}~{start_date}~{end_date}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/BiddingStrategySimulation" - } - ]; - - // Output only. Bidding strategy shared set id of the simulation. - int64 bidding_strategy_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The field that the simulation modifies. - google.ads.googleads.v12.enums.SimulationTypeEnum.SimulationType type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. How the simulation modifies the field. - google.ads.googleads.v12.enums.SimulationModificationMethodEnum.SimulationModificationMethod modification_method = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. First day on which the simulation is based, in YYYY-MM-DD format. - string start_date = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Last day on which the simulation is based, in YYYY-MM-DD format - string end_date = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // List of simulation points. - oneof point_list { - // Output only. Simulation points if the simulation type is TARGET_CPA. - google.ads.googleads.v12.common.TargetCpaSimulationPointList target_cpa_point_list = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Simulation points if the simulation type is TARGET_ROAS. - google.ads.googleads.v12.common.TargetRoasSimulationPointList target_roas_point_list = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/billing_setup.proto b/third_party/googleapis/google/ads/googleads/v12/resources/billing_setup.proto deleted file mode 100644 index 121ac998a..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/billing_setup.proto +++ /dev/null @@ -1,139 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/billing_setup_status.proto"; -import "google/ads/googleads/v12/enums/time_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "BillingSetupProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the BillingSetup resource. - -// A billing setup, which associates a payments account and an advertiser. A -// billing setup is specific to one advertiser. -message BillingSetup { - option (google.api.resource) = { - type: "googleads.googleapis.com/BillingSetup" - pattern: "customers/{customer_id}/billingSetups/{billing_setup_id}" - }; - - // Container of payments account information for this billing. - message PaymentsAccountInfo { - // Output only. A 16 digit id used to identify the payments account associated with the - // billing setup. - // - // This must be passed as a string with dashes, for example, - // "1234-5678-9012-3456". - optional string payments_account_id = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The name of the payments account associated with the billing setup. - // - // This enables the user to specify a meaningful name for a payments account - // to aid in reconciling monthly invoices. - // - // This name will be printed in the monthly invoices. - optional string payments_account_name = 7 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. A 12 digit id used to identify the payments profile associated with the - // billing setup. - // - // This must be passed in as a string with dashes, for example, - // "1234-5678-9012". - optional string payments_profile_id = 8 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The name of the payments profile associated with the billing setup. - optional string payments_profile_name = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. A secondary payments profile id present in uncommon situations, for - // example, when a sequential liability agreement has been arranged. - optional string secondary_payments_profile_id = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Immutable. The resource name of the billing setup. - // BillingSetup resource names have the form: - // - // `customers/{customer_id}/billingSetups/{billing_setup_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/BillingSetup" - } - ]; - - // Output only. The ID of the billing setup. - optional int64 id = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The status of the billing setup. - google.ads.googleads.v12.enums.BillingSetupStatusEnum.BillingSetupStatus status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The resource name of the payments account associated with this billing - // setup. Payments resource names have the form: - // - // `customers/{customer_id}/paymentsAccounts/{payments_account_id}` - // When setting up billing, this is used to signup with an existing payments - // account (and then payments_account_info should not be set). - // When getting a billing setup, this and payments_account_info will be - // populated. - optional string payments_account = 18 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/PaymentsAccount" - } - ]; - - // Immutable. The payments account information associated with this billing setup. - // When setting up billing, this is used to signup with a new payments account - // (and then payments_account should not be set). - // When getting a billing setup, this and payments_account will be - // populated. - PaymentsAccountInfo payments_account_info = 12 [(google.api.field_behavior) = IMMUTABLE]; - - // When creating a new billing setup, this is when the setup should take - // effect. NOW is the only acceptable start time if the customer doesn't have - // any approved setups. - // - // When fetching an existing billing setup, this is the requested start time. - // However, if the setup was approved (see status) after the requested start - // time, then this is the approval time. - oneof start_time { - // Immutable. The start date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss format. Only a - // future time is allowed. - string start_date_time = 16 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The start time as a type. Only NOW is allowed. - google.ads.googleads.v12.enums.TimeTypeEnum.TimeType start_time_type = 10 [(google.api.field_behavior) = IMMUTABLE]; - } - - // When the billing setup ends / ended. This is either FOREVER or the start - // time of the next scheduled billing setup. - oneof end_time { - // Output only. The end date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss format. - string end_date_time = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The end time as a type. The only possible value is FOREVER. - google.ads.googleads.v12.enums.TimeTypeEnum.TimeType end_time_type = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/call_view.proto b/third_party/googleapis/google/ads/googleads/v12/resources/call_view.proto deleted file mode 100644 index 5cce98169..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/call_view.proto +++ /dev/null @@ -1,79 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/call_tracking_display_location.proto"; -import "google/ads/googleads/v12/enums/call_type.proto"; -import "google/ads/googleads/v12/enums/google_voice_call_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CallViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the call view resource. - -// A call view that includes data for call tracking of call-only ads or call -// extensions. -message CallView { - option (google.api.resource) = { - type: "googleads.googleapis.com/CallView" - pattern: "customers/{customer_id}/callViews/{call_detail_id}" - }; - - // Output only. The resource name of the call view. - // Call view resource names have the form: - // - // `customers/{customer_id}/callViews/{call_detail_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CallView" - } - ]; - - // Output only. Country code of the caller. - string caller_country_code = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Area code of the caller. Null if the call duration is shorter than 15 - // seconds. - string caller_area_code = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The advertiser-provided call duration in seconds. - int64 call_duration_seconds = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The advertiser-provided call start date time. - string start_call_date_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The advertiser-provided call end date time. - string end_call_date_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The call tracking display location. - google.ads.googleads.v12.enums.CallTrackingDisplayLocationEnum.CallTrackingDisplayLocation call_tracking_display_location = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The type of the call. - google.ads.googleads.v12.enums.CallTypeEnum.CallType type = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The status of the call. - google.ads.googleads.v12.enums.GoogleVoiceCallStatusEnum.GoogleVoiceCallStatus call_status = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/campaign.proto b/third_party/googleapis/google/ads/googleads/v12/resources/campaign.proto deleted file mode 100644 index 5b23c14fb..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/campaign.proto +++ /dev/null @@ -1,566 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/bidding.proto"; -import "google/ads/googleads/v12/common/custom_parameter.proto"; -import "google/ads/googleads/v12/common/frequency_cap.proto"; -import "google/ads/googleads/v12/common/real_time_bidding_setting.proto"; -import "google/ads/googleads/v12/common/targeting_setting.proto"; -import "google/ads/googleads/v12/enums/ad_serving_optimization_status.proto"; -import "google/ads/googleads/v12/enums/advertising_channel_sub_type.proto"; -import "google/ads/googleads/v12/enums/advertising_channel_type.proto"; -import "google/ads/googleads/v12/enums/app_campaign_app_store.proto"; -import "google/ads/googleads/v12/enums/app_campaign_bidding_strategy_goal_type.proto"; -import "google/ads/googleads/v12/enums/asset_field_type.proto"; -import "google/ads/googleads/v12/enums/asset_set_type.proto"; -import "google/ads/googleads/v12/enums/bidding_strategy_system_status.proto"; -import "google/ads/googleads/v12/enums/bidding_strategy_type.proto"; -import "google/ads/googleads/v12/enums/brand_safety_suitability.proto"; -import "google/ads/googleads/v12/enums/campaign_experiment_type.proto"; -import "google/ads/googleads/v12/enums/campaign_primary_status.proto"; -import "google/ads/googleads/v12/enums/campaign_primary_status_reason.proto"; -import "google/ads/googleads/v12/enums/campaign_serving_status.proto"; -import "google/ads/googleads/v12/enums/campaign_status.proto"; -import "google/ads/googleads/v12/enums/location_source_type.proto"; -import "google/ads/googleads/v12/enums/negative_geo_target_type.proto"; -import "google/ads/googleads/v12/enums/optimization_goal_type.proto"; -import "google/ads/googleads/v12/enums/payment_mode.proto"; -import "google/ads/googleads/v12/enums/performance_max_upgrade_status.proto"; -import "google/ads/googleads/v12/enums/positive_geo_target_type.proto"; -import "google/ads/googleads/v12/enums/vanity_pharma_display_url_mode.proto"; -import "google/ads/googleads/v12/enums/vanity_pharma_text.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the Campaign resource. - -// A campaign. -message Campaign { - option (google.api.resource) = { - type: "googleads.googleapis.com/Campaign" - pattern: "customers/{customer_id}/campaigns/{campaign_id}" - }; - - // Information about a campaign being upgraded to Performance Max. - message PerformanceMaxUpgrade { - // Output only. Indicates which Performance Max campaign the campaign is upgraded to. - string performance_max_campaign = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Output only. Indicates legacy campaign upgraded to Performance Max. - string pre_upgrade_campaign = 2 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Output only. The upgrade status of a campaign requested to be upgraded to Performance - // Max. - google.ads.googleads.v12.enums.PerformanceMaxUpgradeStatusEnum.PerformanceMaxUpgradeStatus status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The network settings for the campaign. - message NetworkSettings { - // Whether ads will be served with google.com search results. - optional bool target_google_search = 5; - - // Whether ads will be served on partner sites in the Google Search Network - // (requires `target_google_search` to also be `true`). - optional bool target_search_network = 6; - - // Whether ads will be served on specified placements in the Google Display - // Network. Placements are specified using the Placement criterion. - optional bool target_content_network = 7; - - // Whether ads will be served on the Google Partner Network. - // This is available only to some select Google partner accounts. - optional bool target_partner_search_network = 8; - } - - // Campaign-level settings for hotel ads. - message HotelSettingInfo { - // Immutable. The linked Hotel Center account. - optional int64 hotel_center_id = 2 [(google.api.field_behavior) = IMMUTABLE]; - } - - // The setting for controlling Dynamic Search Ads (DSA). - message DynamicSearchAdsSetting { - // Required. The Internet domain name that this setting represents, for example, - // "google.com" or "www.google.com". - string domain_name = 6 [(google.api.field_behavior) = REQUIRED]; - - // Required. The language code specifying the language of the domain, for example, - // "en". - string language_code = 7 [(google.api.field_behavior) = REQUIRED]; - - // Whether the campaign uses advertiser supplied URLs exclusively. - optional bool use_supplied_urls_only = 8; - - // The list of page feeds associated with the campaign. - repeated string feeds = 9 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Feed" - }]; - } - - // The setting for Shopping campaigns. Defines the universe of products that - // can be advertised by the campaign, and how this campaign interacts with - // other Shopping campaigns. - message ShoppingSetting { - // Immutable. ID of the Merchant Center account. - // This field is required for create operations. This field is immutable for - // Shopping campaigns. - optional int64 merchant_id = 5 [(google.api.field_behavior) = IMMUTABLE]; - - // Sales country of products to include in the campaign. - // Only one of feed_label or sales_country can be set. - // Field is immutable except for clearing. - // Once this field is cleared, you must use feed_label if you - // want to set the sales country. - optional string sales_country = 6; - - // Feed label of products to include in the campaign. - // Only one of feed_label or sales_country can be set. - // If used instead of sales_country, the feed_label field accepts country - // codes in the same format for example: 'XX'. - // Otherwise can be any string used for feed label in Google Merchant - // Center. - string feed_label = 10; - - // Priority of the campaign. Campaigns with numerically higher priorities - // take precedence over those with lower priorities. - // This field is required for Shopping campaigns, with values between 0 and - // 2, inclusive. - // This field is optional for Smart Shopping campaigns, but must be equal to - // 3 if set. - optional int32 campaign_priority = 7; - - // Whether to include local products. - optional bool enable_local = 8; - - // Immutable. Whether to target Vehicle Listing inventory. - bool use_vehicle_inventory = 9 [(google.api.field_behavior) = IMMUTABLE]; - } - - // Campaign-level settings for tracking information. - message TrackingSetting { - // Output only. The url used for dynamic tracking. - optional string tracking_url = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Represents a collection of settings related to ads geotargeting. - message GeoTargetTypeSetting { - // The setting used for positive geotargeting in this particular campaign. - google.ads.googleads.v12.enums.PositiveGeoTargetTypeEnum.PositiveGeoTargetType positive_geo_target_type = 1; - - // The setting used for negative geotargeting in this particular campaign. - google.ads.googleads.v12.enums.NegativeGeoTargetTypeEnum.NegativeGeoTargetType negative_geo_target_type = 2; - } - - // Campaign setting for local campaigns. - message LocalCampaignSetting { - // The location source type for this local campaign. - google.ads.googleads.v12.enums.LocationSourceTypeEnum.LocationSourceType location_source_type = 1; - } - - // Campaign-level settings for App Campaigns. - message AppCampaignSetting { - // Represents the goal which the bidding strategy of this app campaign - // should optimize towards. - google.ads.googleads.v12.enums.AppCampaignBiddingStrategyGoalTypeEnum.AppCampaignBiddingStrategyGoalType bidding_strategy_goal_type = 1; - - // Immutable. A string that uniquely identifies a mobile application. - optional string app_id = 4 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The application store that distributes this specific app. - google.ads.googleads.v12.enums.AppCampaignAppStoreEnum.AppCampaignAppStore app_store = 3 [(google.api.field_behavior) = IMMUTABLE]; - } - - // Describes how unbranded pharma ads will be displayed. - message VanityPharma { - // The display mode for vanity pharma URLs. - google.ads.googleads.v12.enums.VanityPharmaDisplayUrlModeEnum.VanityPharmaDisplayUrlMode vanity_pharma_display_url_mode = 1; - - // The text that will be displayed in display URL of the text ad when - // website description is the selected display mode for vanity pharma URLs. - google.ads.googleads.v12.enums.VanityPharmaTextEnum.VanityPharmaText vanity_pharma_text = 2; - } - - // Selective optimization setting for this campaign, which includes a set of - // conversion actions to optimize this campaign towards. - message SelectiveOptimization { - // The selected set of conversion actions for optimizing this campaign. - repeated string conversion_actions = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionAction" - }]; - } - - // Optimization goal setting for this campaign, which includes a set of - // optimization goal types. - message OptimizationGoalSetting { - // The list of optimization goal types. - repeated google.ads.googleads.v12.enums.OptimizationGoalTypeEnum.OptimizationGoalType optimization_goal_types = 1; - } - - // Settings for the audience targeting. - message AudienceSetting { - // Immutable. If true, this campaign uses an Audience resource for audience targeting. - // If false, this campaign may use audience segment criteria instead. - optional bool use_audience_grouped = 1 [(google.api.field_behavior) = IMMUTABLE]; - } - - // Settings for LocalServicesCampaign subresource. - message LocalServicesCampaignSettings { - // Categorical level bids associated with MANUAL_CPA bidding strategy. - repeated CategoryBid category_bids = 1; - } - - // Category bids in LocalServicesReportingCampaignSettings. - message CategoryBid { - // Category for which the bid will be associated with. For example, - // xcat:service_area_business_plumber. - optional string category_id = 1; - - // Manual CPA bid for the category. Bid must be greater than the - // reserve price associated for that category. Value is in micros - // and in the advertiser's currency. - optional int64 manual_cpa_bid_micros = 2; - } - - // Immutable. The resource name of the campaign. - // Campaign resource names have the form: - // - // `customers/{customer_id}/campaigns/{campaign_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Output only. The ID of the campaign. - optional int64 id = 59 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The name of the campaign. - // - // This field is required and should not be empty when creating new - // campaigns. - // - // It must not contain any null (code point 0x0), NL line feed - // (code point 0xA) or carriage return (code point 0xD) characters. - optional string name = 58; - - // Output only. The primary status of the campaign. - // - // Provides insight into why a campaign is not serving or not serving - // optimally. Modification to the campaign and its related entities might take - // a while to be reflected in this status. - google.ads.googleads.v12.enums.CampaignPrimaryStatusEnum.CampaignPrimaryStatus primary_status = 81 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The primary status reasons of the campaign. - // - // Provides insight into why a campaign is not serving or not serving - // optimally. These reasons are aggregated to determine an overall - // CampaignPrimaryStatus. - repeated google.ads.googleads.v12.enums.CampaignPrimaryStatusReasonEnum.CampaignPrimaryStatusReason primary_status_reasons = 82 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The status of the campaign. - // - // When a new campaign is added, the status defaults to ENABLED. - google.ads.googleads.v12.enums.CampaignStatusEnum.CampaignStatus status = 5; - - // Output only. The ad serving status of the campaign. - google.ads.googleads.v12.enums.CampaignServingStatusEnum.CampaignServingStatus serving_status = 21 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The system status of the campaign's bidding strategy. - google.ads.googleads.v12.enums.BiddingStrategySystemStatusEnum.BiddingStrategySystemStatus bidding_strategy_system_status = 78 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The ad serving optimization status of the campaign. - google.ads.googleads.v12.enums.AdServingOptimizationStatusEnum.AdServingOptimizationStatus ad_serving_optimization_status = 8; - - // Immutable. The primary serving target for ads within the campaign. - // The targeting options can be refined in `network_settings`. - // - // This field is required and should not be empty when creating new - // campaigns. - // - // Can be set only when creating campaigns. - // After the campaign is created, the field can not be changed. - google.ads.googleads.v12.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_type = 9 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Optional refinement to `advertising_channel_type`. - // Must be a valid sub-type of the parent channel type. - // - // Can be set only when creating campaigns. - // After campaign is created, the field can not be changed. - google.ads.googleads.v12.enums.AdvertisingChannelSubTypeEnum.AdvertisingChannelSubType advertising_channel_sub_type = 10 [(google.api.field_behavior) = IMMUTABLE]; - - // The URL template for constructing a tracking URL. - optional string tracking_url_template = 60; - - // The list of mappings used to substitute custom parameter tags in a - // `tracking_url_template`, `final_urls`, or `mobile_final_urls`. - repeated google.ads.googleads.v12.common.CustomParameter url_custom_parameters = 12; - - // The Local Services Campaign related settings. - LocalServicesCampaignSettings local_services_campaign_settings = 75; - - // Settings for Real-Time Bidding, a feature only available for campaigns - // targeting the Ad Exchange network. - google.ads.googleads.v12.common.RealTimeBiddingSetting real_time_bidding_setting = 39; - - // The network settings for the campaign. - NetworkSettings network_settings = 14; - - // Immutable. The hotel setting for the campaign. - HotelSettingInfo hotel_setting = 32 [(google.api.field_behavior) = IMMUTABLE]; - - // The setting for controlling Dynamic Search Ads (DSA). - DynamicSearchAdsSetting dynamic_search_ads_setting = 33; - - // The setting for controlling Shopping campaigns. - ShoppingSetting shopping_setting = 36; - - // Setting for targeting related features. - google.ads.googleads.v12.common.TargetingSetting targeting_setting = 43; - - // Immutable. Setting for audience related features. - optional AudienceSetting audience_setting = 73 [(google.api.field_behavior) = IMMUTABLE]; - - // The setting for ads geotargeting. - GeoTargetTypeSetting geo_target_type_setting = 47; - - // The setting for local campaign. - LocalCampaignSetting local_campaign_setting = 50; - - // The setting related to App Campaign. - AppCampaignSetting app_campaign_setting = 51; - - // Output only. The resource names of labels attached to this campaign. - repeated string labels = 61 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignLabel" - } - ]; - - // Output only. The type of campaign: normal, draft, or experiment. - google.ads.googleads.v12.enums.CampaignExperimentTypeEnum.CampaignExperimentType experiment_type = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource name of the base campaign of a draft or experiment campaign. - // For base campaigns, this is equal to `resource_name`. - // - // This field is read-only. - optional string base_campaign = 56 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // The budget of the campaign. - optional string campaign_budget = 62 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignBudget" - }]; - - // Output only. The type of bidding strategy. - // - // A bidding strategy can be created by setting either the bidding scheme to - // create a standard bidding strategy or the `bidding_strategy` field to - // create a portfolio bidding strategy. - // - // This field is read-only. - google.ads.googleads.v12.enums.BiddingStrategyTypeEnum.BiddingStrategyType bidding_strategy_type = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Resource name of AccessibleBiddingStrategy, a read-only view of the - // unrestricted attributes of the attached portfolio bidding - // strategy identified by 'bidding_strategy'. Empty, if the campaign does not - // use a portfolio strategy. - // Unrestricted strategy attributes are available to all customers - // with whom the strategy is shared and are read from the - // AccessibleBiddingStrategy resource. In contrast, restricted attributes are - // only available to the owner customer of the strategy and their managers. - // Restricted attributes can only be read from the BiddingStrategy resource. - string accessible_bidding_strategy = 71 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AccessibleBiddingStrategy" - } - ]; - - // The date when campaign started in serving customer's timezone in YYYY-MM-DD - // format. - optional string start_date = 63; - - // The campaign group this campaign belongs to. - optional string campaign_group = 76 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignGroup" - }]; - - // The last day of the campaign in serving customer's timezone in YYYY-MM-DD - // format. On create, defaults to 2037-12-30, which means the campaign will - // run indefinitely. To set an existing campaign to run indefinitely, set this - // field to 2037-12-30. - optional string end_date = 64; - - // Suffix used to append query parameters to landing pages that are served - // with parallel tracking. - optional string final_url_suffix = 65; - - // A list that limits how often each user will see this campaign's ads. - repeated google.ads.googleads.v12.common.FrequencyCapEntry frequency_caps = 40; - - // Output only. 3-Tier Brand Safety setting for the campaign. - google.ads.googleads.v12.enums.BrandSafetySuitabilityEnum.BrandSafetySuitability video_brand_safety_suitability = 42 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Describes how unbranded pharma ads will be displayed. - VanityPharma vanity_pharma = 44; - - // Selective optimization setting for this campaign, which includes a set of - // conversion actions to optimize this campaign towards. - SelectiveOptimization selective_optimization = 45; - - // Optimization goal setting for this campaign, which includes a set of - // optimization goal types. - OptimizationGoalSetting optimization_goal_setting = 54; - - // Output only. Campaign-level settings for tracking information. - TrackingSetting tracking_setting = 46 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Payment mode for the campaign. - google.ads.googleads.v12.enums.PaymentModeEnum.PaymentMode payment_mode = 52; - - // Output only. Optimization score of the campaign. - // - // Optimization score is an estimate of how well a campaign is set to perform. - // It ranges from 0% (0.0) to 100% (1.0), with 100% indicating that the - // campaign is performing at full potential. This field is null for unscored - // campaigns. - // - // See "About optimization score" at - // https://support.google.com/google-ads/answer/9061546. - // - // This field is read-only. - optional double optimization_score = 66 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The asset field types that should be excluded from this campaign. Asset - // links with these field types will not be inherited by this campaign from - // the upper level. - repeated google.ads.googleads.v12.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 69; - - // The asset set types that should be excluded from this campaign. Asset set - // links with these types will not be inherited by this campaign from - // the upper level. - // Location group types (GMB_DYNAMIC_LOCATION_GROUP, - // CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child types of - // LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all - // location group asset sets are not allowed to be linked to this campaign, - // and all Location Extension (LE) and Affiliate Location Extensions (ALE) - // will not be served under this campaign. - // Only LOCATION_SYNC is currently supported. - repeated google.ads.googleads.v12.enums.AssetSetTypeEnum.AssetSetType excluded_parent_asset_set_types = 80; - - // Represents opting out of URL expansion to more targeted URLs. If opted out - // (true), only the final URLs in the asset group or URLs specified in the - // advertiser's Google Merchant Center or business data feeds are targeted. - // If opted in (false), the entire domain will be targeted. This field can - // only be set for Performance Max campaigns, where the default value is - // false. - optional bool url_expansion_opt_out = 72; - - // Output only. Information about campaigns being upgraded to Performance Max. - PerformanceMaxUpgrade performance_max_upgrade = 77 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The bidding strategy for the campaign. - // - // Must be either portfolio (created through BiddingStrategy service) or - // standard, that is embedded into the campaign. - oneof campaign_bidding_strategy { - // Portfolio bidding strategy used by campaign. - string bidding_strategy = 67 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/BiddingStrategy" - }]; - - // Commission is an automatic bidding strategy in which the advertiser pays - // a certain portion of the conversion value. - google.ads.googleads.v12.common.Commission commission = 49; - - // Standard Manual CPA bidding strategy. - // Manual bidding strategy that allows advertiser to set the bid per - // advertiser-specified action. Supported only for Local Services campaigns. - google.ads.googleads.v12.common.ManualCpa manual_cpa = 74; - - // Standard Manual CPC bidding strategy. - // Manual click-based bidding where user pays per click. - google.ads.googleads.v12.common.ManualCpc manual_cpc = 24; - - // Standard Manual CPM bidding strategy. - // Manual impression-based bidding where user pays per thousand - // impressions. - google.ads.googleads.v12.common.ManualCpm manual_cpm = 25; - - // Output only. A bidding strategy that pays a configurable amount per video view. - google.ads.googleads.v12.common.ManualCpv manual_cpv = 37 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Standard Maximize Conversions bidding strategy that automatically - // maximizes number of conversions while spending your budget. - google.ads.googleads.v12.common.MaximizeConversions maximize_conversions = 30; - - // Standard Maximize Conversion Value bidding strategy that automatically - // sets bids to maximize revenue while spending your budget. - google.ads.googleads.v12.common.MaximizeConversionValue maximize_conversion_value = 31; - - // Standard Target CPA bidding strategy that automatically sets bids to - // help get as many conversions as possible at the target - // cost-per-acquisition (CPA) you set. - google.ads.googleads.v12.common.TargetCpa target_cpa = 26; - - // Target Impression Share bidding strategy. An automated bidding strategy - // that sets bids to achieve a chosen percentage of impressions. - google.ads.googleads.v12.common.TargetImpressionShare target_impression_share = 48; - - // Standard Target ROAS bidding strategy that automatically maximizes - // revenue while averaging a specific target return on ad spend (ROAS). - google.ads.googleads.v12.common.TargetRoas target_roas = 29; - - // Standard Target Spend bidding strategy that automatically sets your bids - // to help get as many clicks as possible within your budget. - google.ads.googleads.v12.common.TargetSpend target_spend = 27; - - // Standard Percent Cpc bidding strategy where bids are a fraction of the - // advertised price for some good or service. - google.ads.googleads.v12.common.PercentCpc percent_cpc = 34; - - // A bidding strategy that automatically optimizes cost per thousand - // impressions. - google.ads.googleads.v12.common.TargetCpm target_cpm = 41; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/campaign_asset.proto b/third_party/googleapis/google/ads/googleads/v12/resources/campaign_asset.proto deleted file mode 100644 index b5b03b8d2..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/campaign_asset.proto +++ /dev/null @@ -1,79 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/asset_field_type.proto"; -import "google/ads/googleads/v12/enums/asset_link_status.proto"; -import "google/ads/googleads/v12/enums/asset_source.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignAssetProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the CampaignAsset resource. - -// A link between a Campaign and an Asset. -message CampaignAsset { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignAsset" - pattern: "customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}" - }; - - // Immutable. The resource name of the campaign asset. - // CampaignAsset resource names have the form: - // - // `customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignAsset" - } - ]; - - // Immutable. The campaign to which the asset is linked. - optional string campaign = 6 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Immutable. The asset which is linked to the campaign. - optional string asset = 7 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Asset" - } - ]; - - // Immutable. Role that the asset takes under the linked campaign. - // Required. - google.ads.googleads.v12.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. Source of the campaign asset link. - google.ads.googleads.v12.enums.AssetSourceEnum.AssetSource source = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Status of the campaign asset. - google.ads.googleads.v12.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/campaign_asset_set.proto b/third_party/googleapis/google/ads/googleads/v12/resources/campaign_asset_set.proto deleted file mode 100644 index 39abbe219..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/campaign_asset_set.proto +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/asset_set_link_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignAssetSetProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the CampaignAsset resource. - -// CampaignAssetSet is the linkage between a campaign and an asset set. -// Adding a CampaignAssetSet links an asset set with a campaign. -message CampaignAssetSet { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignAssetSet" - pattern: "customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id}" - }; - - // Immutable. The resource name of the campaign asset set. - // Asset set asset resource names have the form: - // - // `customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignAssetSet" - } - ]; - - // Immutable. The campaign to which this asset set is linked. - string campaign = 2 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Immutable. The asset set which is linked to the campaign. - string asset_set = 3 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetSet" - } - ]; - - // Output only. The status of the campaign asset set asset. Read-only. - google.ads.googleads.v12.enums.AssetSetLinkStatusEnum.AssetSetLinkStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/campaign_audience_view.proto b/third_party/googleapis/google/ads/googleads/v12/resources/campaign_audience_view.proto deleted file mode 100644 index 876200230..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/campaign_audience_view.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignAudienceViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the campaign audience view resource. - -// A campaign audience view. -// Includes performance data from interests and remarketing lists for Display -// Network and YouTube Network ads, and remarketing lists for search ads (RLSA), -// aggregated by campaign and audience criterion. This view only includes -// audiences attached at the campaign level. -message CampaignAudienceView { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignAudienceView" - pattern: "customers/{customer_id}/campaignAudienceViews/{campaign_id}~{criterion_id}" - }; - - // Output only. The resource name of the campaign audience view. - // Campaign audience view resource names have the form: - // - // `customers/{customer_id}/campaignAudienceViews/{campaign_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignAudienceView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/campaign_bid_modifier.proto b/third_party/googleapis/google/ads/googleads/v12/resources/campaign_bid_modifier.proto deleted file mode 100644 index cddb9015b..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/campaign_bid_modifier.proto +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/criteria.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignBidModifierProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the Campaign Bid Modifier resource. - -// Represents a bid-modifiable only criterion at the campaign level. -message CampaignBidModifier { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignBidModifier" - pattern: "customers/{customer_id}/campaignBidModifiers/{campaign_id}~{criterion_id}" - }; - - // Immutable. The resource name of the campaign bid modifier. - // Campaign bid modifier resource names have the form: - // - // `customers/{customer_id}/campaignBidModifiers/{campaign_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignBidModifier" - } - ]; - - // Output only. The campaign to which this criterion belongs. - optional string campaign = 6 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Output only. The ID of the criterion to bid modify. - // - // This field is ignored for mutates. - optional int64 criterion_id = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The modifier for the bid when the criterion matches. - optional double bid_modifier = 8; - - // The criterion of this campaign bid modifier. - // - // Required in create operations starting in V5. - oneof criterion { - // Immutable. Criterion for interaction type. Only supported for search campaigns. - google.ads.googleads.v12.common.InteractionTypeInfo interaction_type = 5 [(google.api.field_behavior) = IMMUTABLE]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/campaign_budget.proto b/third_party/googleapis/google/ads/googleads/v12/resources/campaign_budget.proto deleted file mode 100644 index b31a6b351..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/campaign_budget.proto +++ /dev/null @@ -1,162 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/budget_delivery_method.proto"; -import "google/ads/googleads/v12/enums/budget_period.proto"; -import "google/ads/googleads/v12/enums/budget_status.proto"; -import "google/ads/googleads/v12/enums/budget_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignBudgetProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the Budget resource. - -// A campaign budget. -message CampaignBudget { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignBudget" - pattern: "customers/{customer_id}/campaignBudgets/{campaign_budget_id}" - }; - - // Immutable. The resource name of the campaign budget. - // Campaign budget resource names have the form: - // - // `customers/{customer_id}/campaignBudgets/{campaign_budget_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignBudget" - } - ]; - - // Output only. The ID of the campaign budget. - // - // A campaign budget is created using the CampaignBudgetService create - // operation and is assigned a budget ID. A budget ID can be shared across - // different campaigns; the system will then allocate the campaign budget - // among different campaigns to get optimum results. - optional int64 id = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The name of the campaign budget. - // - // When creating a campaign budget through CampaignBudgetService, every - // explicitly shared campaign budget must have a non-null, non-empty name. - // Campaign budgets that are not explicitly shared derive their name from the - // attached campaign's name. - // - // The length of this string must be between 1 and 255, inclusive, - // in UTF-8 bytes, (trimmed). - optional string name = 20; - - // The amount of the budget, in the local currency for the account. - // Amount is specified in micros, where one million is equivalent to one - // currency unit. Monthly spend is capped at 30.4 times this amount. - optional int64 amount_micros = 21; - - // The lifetime amount of the budget, in the local currency for the account. - // Amount is specified in micros, where one million is equivalent to one - // currency unit. - optional int64 total_amount_micros = 22; - - // Output only. The status of this campaign budget. This field is read-only. - google.ads.googleads.v12.enums.BudgetStatusEnum.BudgetStatus status = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The delivery method that determines the rate at which the campaign budget - // is spent. - // - // Defaults to STANDARD if unspecified in a create operation. - google.ads.googleads.v12.enums.BudgetDeliveryMethodEnum.BudgetDeliveryMethod delivery_method = 7; - - // Specifies whether the budget is explicitly shared. Defaults to true if - // unspecified in a create operation. - // - // If true, the budget was created with the purpose of sharing - // across one or more campaigns. - // - // If false, the budget was created with the intention of only being used - // with a single campaign. The budget's name and status will stay in sync - // with the campaign's name and status. Attempting to share the budget with a - // second campaign will result in an error. - // - // A non-shared budget can become an explicitly shared. The same operation - // must also assign the budget a name. - // - // A shared campaign budget can never become non-shared. - optional bool explicitly_shared = 23; - - // Output only. The number of campaigns actively using the budget. - // - // This field is read-only. - optional int64 reference_count = 24 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Indicates whether there is a recommended budget for this campaign budget. - // - // This field is read-only. - optional bool has_recommended_budget = 25 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The recommended budget amount. If no recommendation is available, this will - // be set to the budget amount. - // Amount is specified in micros, where one million is equivalent to one - // currency unit. - // - // This field is read-only. - optional int64 recommended_budget_amount_micros = 26 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. Period over which to spend the budget. Defaults to DAILY if not specified. - google.ads.googleads.v12.enums.BudgetPeriodEnum.BudgetPeriod period = 13 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The estimated change in weekly clicks if the recommended budget is applied. - // - // This field is read-only. - optional int64 recommended_budget_estimated_change_weekly_clicks = 27 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The estimated change in weekly cost in micros if the recommended budget is - // applied. One million is equivalent to one currency unit. - // - // This field is read-only. - optional int64 recommended_budget_estimated_change_weekly_cost_micros = 28 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The estimated change in weekly interactions if the recommended budget is - // applied. - // - // This field is read-only. - optional int64 recommended_budget_estimated_change_weekly_interactions = 29 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The estimated change in weekly views if the recommended budget is applied. - // - // This field is read-only. - optional int64 recommended_budget_estimated_change_weekly_views = 30 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The type of the campaign budget. - google.ads.googleads.v12.enums.BudgetTypeEnum.BudgetType type = 18 [(google.api.field_behavior) = IMMUTABLE]; - - // ID of the portfolio bidding strategy that this shared campaign budget - // is aligned with. When a bidding strategy and a campaign budget are aligned, - // they are attached to the same set of campaigns. After a campaign budget is - // aligned with a bidding strategy, campaigns that are added to the campaign - // budget must also use the aligned bidding strategy. - int64 aligned_bidding_strategy_id = 31; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/campaign_conversion_goal.proto b/third_party/googleapis/google/ads/googleads/v12/resources/campaign_conversion_goal.proto deleted file mode 100644 index ff9e434e0..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/campaign_conversion_goal.proto +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/conversion_action_category.proto"; -import "google/ads/googleads/v12/enums/conversion_origin.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignConversionGoalProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// The biddability setting for the specified campaign only for all -// conversion actions with a matching category and origin. -message CampaignConversionGoal { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignConversionGoal" - pattern: "customers/{customer_id}/campaignConversionGoals/{campaign_id}~{category}~{source}" - }; - - // Immutable. The resource name of the campaign conversion goal. - // Campaign conversion goal resource names have the form: - // - // `customers/{customer_id}/campaignConversionGoals/{campaign_id}~{category}~{origin}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignConversionGoal" - } - ]; - - // Immutable. The campaign with which this campaign conversion goal is associated. - string campaign = 2 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // The conversion category of this campaign conversion goal. - google.ads.googleads.v12.enums.ConversionActionCategoryEnum.ConversionActionCategory category = 3; - - // The conversion origin of this campaign conversion goal. - google.ads.googleads.v12.enums.ConversionOriginEnum.ConversionOrigin origin = 4; - - // The biddability of the campaign conversion goal. - bool biddable = 5; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/campaign_criterion.proto b/third_party/googleapis/google/ads/googleads/v12/resources/campaign_criterion.proto deleted file mode 100644 index 2c72fd802..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/campaign_criterion.proto +++ /dev/null @@ -1,180 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/criteria.proto"; -import "google/ads/googleads/v12/enums/campaign_criterion_status.proto"; -import "google/ads/googleads/v12/enums/criterion_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignCriterionProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the Campaign Criterion resource. - -// A campaign criterion. -message CampaignCriterion { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignCriterion" - pattern: "customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}" - }; - - // Immutable. The resource name of the campaign criterion. - // Campaign criterion resource names have the form: - // - // `customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignCriterion" - } - ]; - - // Immutable. The campaign to which the criterion belongs. - optional string campaign = 37 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Output only. The ID of the criterion. - // - // This field is ignored during mutate. - optional int64 criterion_id = 38 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The display name of the criterion. - // - // This field is ignored for mutates. - string display_name = 43 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The modifier for the bids when the criterion matches. The modifier must be - // in the range: 0.1 - 10.0. Most targetable criteria types support modifiers. - // Use 0 to opt out of a Device type. - optional float bid_modifier = 39; - - // Immutable. Whether to target (`false`) or exclude (`true`) the criterion. - optional bool negative = 40 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The type of the criterion. - google.ads.googleads.v12.enums.CriterionTypeEnum.CriterionType type = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The status of the criterion. - google.ads.googleads.v12.enums.CampaignCriterionStatusEnum.CampaignCriterionStatus status = 35; - - // The campaign criterion. - // - // Exactly one must be set. - oneof criterion { - // Immutable. Keyword. - google.ads.googleads.v12.common.KeywordInfo keyword = 8 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Placement. - google.ads.googleads.v12.common.PlacementInfo placement = 9 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Mobile app category. - google.ads.googleads.v12.common.MobileAppCategoryInfo mobile_app_category = 10 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Mobile application. - google.ads.googleads.v12.common.MobileApplicationInfo mobile_application = 11 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Location. - google.ads.googleads.v12.common.LocationInfo location = 12 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Device. - google.ads.googleads.v12.common.DeviceInfo device = 13 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Ad Schedule. - google.ads.googleads.v12.common.AdScheduleInfo ad_schedule = 15 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Age range. - google.ads.googleads.v12.common.AgeRangeInfo age_range = 16 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Gender. - google.ads.googleads.v12.common.GenderInfo gender = 17 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Income range. - google.ads.googleads.v12.common.IncomeRangeInfo income_range = 18 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Parental status. - google.ads.googleads.v12.common.ParentalStatusInfo parental_status = 19 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. User List. - google.ads.googleads.v12.common.UserListInfo user_list = 22 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. YouTube Video. - google.ads.googleads.v12.common.YouTubeVideoInfo youtube_video = 20 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. YouTube Channel. - google.ads.googleads.v12.common.YouTubeChannelInfo youtube_channel = 21 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Proximity. - google.ads.googleads.v12.common.ProximityInfo proximity = 23 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Topic. - google.ads.googleads.v12.common.TopicInfo topic = 24 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Listing scope. - google.ads.googleads.v12.common.ListingScopeInfo listing_scope = 25 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Language. - google.ads.googleads.v12.common.LanguageInfo language = 26 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. IpBlock. - google.ads.googleads.v12.common.IpBlockInfo ip_block = 27 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. ContentLabel. - google.ads.googleads.v12.common.ContentLabelInfo content_label = 28 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Carrier. - google.ads.googleads.v12.common.CarrierInfo carrier = 29 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. User Interest. - google.ads.googleads.v12.common.UserInterestInfo user_interest = 30 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Webpage. - google.ads.googleads.v12.common.WebpageInfo webpage = 31 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Operating system version. - google.ads.googleads.v12.common.OperatingSystemVersionInfo operating_system_version = 32 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Mobile Device. - google.ads.googleads.v12.common.MobileDeviceInfo mobile_device = 33 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Location Group - google.ads.googleads.v12.common.LocationGroupInfo location_group = 34 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Custom Affinity. - google.ads.googleads.v12.common.CustomAffinityInfo custom_affinity = 36 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Custom Audience - google.ads.googleads.v12.common.CustomAudienceInfo custom_audience = 41 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Combined Audience. - google.ads.googleads.v12.common.CombinedAudienceInfo combined_audience = 42 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Smart Campaign Keyword Theme. - google.ads.googleads.v12.common.KeywordThemeInfo keyword_theme = 45 [(google.api.field_behavior) = IMMUTABLE]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/campaign_criterion_simulation.proto b/third_party/googleapis/google/ads/googleads/v12/resources/campaign_criterion_simulation.proto deleted file mode 100644 index f5fe9b067..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/campaign_criterion_simulation.proto +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/simulation.proto"; -import "google/ads/googleads/v12/enums/simulation_modification_method.proto"; -import "google/ads/googleads/v12/enums/simulation_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignCriterionSimulationProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the campaign criterion simulation resource. - -// A campaign criterion simulation. Supported combinations of advertising -// channel type, criterion ids, simulation type and simulation modification -// method is detailed below respectively. -// -// 1. SEARCH - 30000,30001,30002 - BID_MODIFIER - UNIFORM -// 2. DISPLAY - 30001 - BID_MODIFIER - UNIFORM -message CampaignCriterionSimulation { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignCriterionSimulation" - pattern: "customers/{customer_id}/campaignCriterionSimulations/{campaign_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}" - }; - - // Output only. The resource name of the campaign criterion simulation. - // Campaign criterion simulation resource names have the form: - // - // `customers/{customer_id}/campaignCriterionSimulations/{campaign_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignCriterionSimulation" - } - ]; - - // Output only. Campaign ID of the simulation. - optional int64 campaign_id = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Criterion ID of the simulation. - optional int64 criterion_id = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The field that the simulation modifies. - google.ads.googleads.v12.enums.SimulationTypeEnum.SimulationType type = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. How the simulation modifies the field. - google.ads.googleads.v12.enums.SimulationModificationMethodEnum.SimulationModificationMethod modification_method = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. First day on which the simulation is based, in YYYY-MM-DD format. - optional string start_date = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Last day on which the simulation is based, in YYYY-MM-DD format. - optional string end_date = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // List of simulation points. - oneof point_list { - // Output only. Simulation points if the simulation type is BID_MODIFIER. - google.ads.googleads.v12.common.BidModifierSimulationPointList bid_modifier_point_list = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/campaign_customizer.proto b/third_party/googleapis/google/ads/googleads/v12/resources/campaign_customizer.proto deleted file mode 100644 index d4c065405..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/campaign_customizer.proto +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/customizer_value.proto"; -import "google/ads/googleads/v12/enums/customizer_value_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignCustomizerProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// A customizer value for the associated CustomizerAttribute at the Campaign -// level. -message CampaignCustomizer { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignCustomizer" - pattern: "customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id}" - }; - - // Immutable. The resource name of the campaign customizer. - // Campaign customizer resource names have the form: - // - // `customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignCustomizer" - } - ]; - - // Immutable. The campaign to which the customizer attribute is linked. - string campaign = 2 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Required. Immutable. The customizer attribute which is linked to the campaign. - string customizer_attribute = 3 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomizerAttribute" - } - ]; - - // Output only. The status of the campaign customizer. - google.ads.googleads.v12.enums.CustomizerValueStatusEnum.CustomizerValueStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Required. The value to associate with the customizer attribute at this level. The - // value must be of the type specified for the CustomizerAttribute. - google.ads.googleads.v12.common.CustomizerValue value = 5 [(google.api.field_behavior) = REQUIRED]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/campaign_draft.proto b/third_party/googleapis/google/ads/googleads/v12/resources/campaign_draft.proto deleted file mode 100644 index 623ca6214..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/campaign_draft.proto +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/campaign_draft_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignDraftProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the Campaign Draft resource. - -// A campaign draft. -message CampaignDraft { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignDraft" - pattern: "customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}" - }; - - // Immutable. The resource name of the campaign draft. - // Campaign draft resource names have the form: - // - // `customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignDraft" - } - ]; - - // Output only. The ID of the draft. - // - // This field is read-only. - optional int64 draft_id = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The base campaign to which the draft belongs. - optional string base_campaign = 10 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // The name of the campaign draft. - // - // This field is required and should not be empty when creating new - // campaign drafts. - // - // It must not contain any null (code point 0x0), NL line feed - // (code point 0xA) or carriage return (code point 0xD) characters. - optional string name = 11; - - // Output only. Resource name of the Campaign that results from overlaying the draft - // changes onto the base campaign. - // - // This field is read-only. - optional string draft_campaign = 12 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Output only. The status of the campaign draft. This field is read-only. - // - // When a new campaign draft is added, the status defaults to PROPOSED. - google.ads.googleads.v12.enums.CampaignDraftStatusEnum.CampaignDraftStatus status = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Whether there is an experiment based on this draft currently serving. - optional bool has_experiment_running = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource name of the long-running operation that can be used to poll - // for completion of draft promotion. This is only set if the draft promotion - // is in progress or finished. - optional string long_running_operation = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/campaign_extension_setting.proto b/third_party/googleapis/google/ads/googleads/v12/resources/campaign_extension_setting.proto deleted file mode 100644 index c9f34fce1..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/campaign_extension_setting.proto +++ /dev/null @@ -1,78 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/extension_setting_device.proto"; -import "google/ads/googleads/v12/enums/extension_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignExtensionSettingProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the CampaignExtensionSetting resource. - -// A campaign extension setting. -message CampaignExtensionSetting { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignExtensionSetting" - pattern: "customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type}" - }; - - // Immutable. The resource name of the campaign extension setting. - // CampaignExtensionSetting resource names have the form: - // - // `customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignExtensionSetting" - } - ]; - - // Immutable. The extension type of the customer extension setting. - google.ads.googleads.v12.enums.ExtensionTypeEnum.ExtensionType extension_type = 2 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The resource name of the campaign. The linked extension feed items will - // serve under this campaign. - // Campaign resource names have the form: - // - // `customers/{customer_id}/campaigns/{campaign_id}` - optional string campaign = 6 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // The resource names of the extension feed items to serve under the campaign. - // ExtensionFeedItem resource names have the form: - // - // `customers/{customer_id}/extensionFeedItems/{feed_item_id}` - repeated string extension_feed_items = 7 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ExtensionFeedItem" - }]; - - // The device for which the extensions will serve. Optional. - google.ads.googleads.v12.enums.ExtensionSettingDeviceEnum.ExtensionSettingDevice device = 5; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/campaign_feed.proto b/third_party/googleapis/google/ads/googleads/v12/resources/campaign_feed.proto deleted file mode 100644 index 9fe27f904..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/campaign_feed.proto +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/matching_function.proto"; -import "google/ads/googleads/v12/enums/feed_link_status.proto"; -import "google/ads/googleads/v12/enums/placeholder_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignFeedProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the CampaignFeed resource. - -// A campaign feed. -message CampaignFeed { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignFeed" - pattern: "customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id}" - }; - - // Immutable. The resource name of the campaign feed. - // Campaign feed resource names have the form: - // - // `customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id} - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignFeed" - } - ]; - - // Immutable. The feed to which the CampaignFeed belongs. - optional string feed = 7 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Feed" - } - ]; - - // Immutable. The campaign to which the CampaignFeed belongs. - optional string campaign = 8 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Indicates which placeholder types the feed may populate under the connected - // campaign. Required. - repeated google.ads.googleads.v12.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 4; - - // Matching function associated with the CampaignFeed. - // The matching function is used to filter the set of feed items selected. - // Required. - google.ads.googleads.v12.common.MatchingFunction matching_function = 5; - - // Output only. Status of the campaign feed. - // This field is read-only. - google.ads.googleads.v12.enums.FeedLinkStatusEnum.FeedLinkStatus status = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/campaign_group.proto b/third_party/googleapis/google/ads/googleads/v12/resources/campaign_group.proto deleted file mode 100644 index 05375fd25..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/campaign_group.proto +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/campaign_group_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignGroupProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the Campaign group resource. - -// A campaign group. -message CampaignGroup { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignGroup" - pattern: "customers/{customer_id}/campaignGroups/{campaign_group_id}" - }; - - // Immutable. The resource name of the campaign group. - // Campaign group resource names have the form: - // - // `customers/{customer_id}/campaignGroups/{campaign_group_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignGroup" - } - ]; - - // Output only. The ID of the campaign group. - int64 id = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The name of the campaign group. - // - // This field is required and should not be empty when creating new campaign - // groups. - // - // It must not contain any null (code point 0x0), NL line feed - // (code point 0xA) or carriage return (code point 0xD) characters. - string name = 4; - - // The status of the campaign group. - // - // When a new campaign group is added, the status defaults to ENABLED. - google.ads.googleads.v12.enums.CampaignGroupStatusEnum.CampaignGroupStatus status = 5; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/campaign_label.proto b/third_party/googleapis/google/ads/googleads/v12/resources/campaign_label.proto deleted file mode 100644 index a02b34657..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/campaign_label.proto +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignLabelProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the campaign label resource. - -// Represents a relationship between a campaign and a label. -message CampaignLabel { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignLabel" - pattern: "customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}" - }; - - // Immutable. Name of the resource. - // Campaign label resource names have the form: - // `customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignLabel" - } - ]; - - // Immutable. The campaign to which the label is attached. - optional string campaign = 4 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Immutable. The label assigned to the campaign. - optional string label = 5 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Label" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/campaign_shared_set.proto b/third_party/googleapis/google/ads/googleads/v12/resources/campaign_shared_set.proto deleted file mode 100644 index ab7c392cb..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/campaign_shared_set.proto +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/campaign_shared_set_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignSharedSetProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the CampaignSharedSet resource. - -// CampaignSharedSets are used for managing the shared sets associated with a -// campaign. -message CampaignSharedSet { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignSharedSet" - pattern: "customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}" - }; - - // Immutable. The resource name of the campaign shared set. - // Campaign shared set resource names have the form: - // - // `customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignSharedSet" - } - ]; - - // Immutable. The campaign to which the campaign shared set belongs. - optional string campaign = 5 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Immutable. The shared set associated with the campaign. This may be a negative keyword - // shared set of another customer. This customer should be a manager of the - // other customer, otherwise the campaign shared set will exist but have no - // serving effect. Only negative keyword shared sets can be associated with - // Shopping campaigns. Only negative placement shared sets can be associated - // with Display mobile app campaigns. - optional string shared_set = 6 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/SharedSet" - } - ]; - - // Output only. The status of this campaign shared set. Read only. - google.ads.googleads.v12.enums.CampaignSharedSetStatusEnum.CampaignSharedSetStatus status = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/campaign_simulation.proto b/third_party/googleapis/google/ads/googleads/v12/resources/campaign_simulation.proto deleted file mode 100644 index 5781ad4fe..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/campaign_simulation.proto +++ /dev/null @@ -1,101 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/simulation.proto"; -import "google/ads/googleads/v12/enums/simulation_modification_method.proto"; -import "google/ads/googleads/v12/enums/simulation_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignSimulationProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the campaign simulation resource. - -// A campaign simulation. Supported combinations of advertising -// channel type, simulation type and simulation modification -// method is detailed below respectively. -// -// * SEARCH - CPC_BID - UNIFORM -// * SEARCH - CPC_BID - SCALING -// * SEARCH - TARGET_CPA - UNIFORM -// * SEARCH - TARGET_CPA - SCALING -// * SEARCH - TARGET_ROAS - UNIFORM -// * SEARCH - TARGET_IMPRESSION_SHARE - UNIFORM -// * SEARCH - BUDGET - UNIFORM -// * SHOPPING - BUDGET - UNIFORM -// * SHOPPING - TARGET_ROAS - UNIFORM -// * MULTI_CHANNEL - TARGET_CPA - UNIFORM -// * DISCOVERY - TARGET_CPA - DEFAULT -// * DISPLAY - TARGET_CPA - UNIFORM -message CampaignSimulation { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignSimulation" - pattern: "customers/{customer_id}/campaignSimulations/{campaign_id}~{type}~{modification_method}~{start_date}~{end_date}" - }; - - // Output only. The resource name of the campaign simulation. - // Campaign simulation resource names have the form: - // - // `customers/{customer_id}/campaignSimulations/{campaign_id}~{type}~{modification_method}~{start_date}~{end_date}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignSimulation" - } - ]; - - // Output only. Campaign id of the simulation. - int64 campaign_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The field that the simulation modifies. - google.ads.googleads.v12.enums.SimulationTypeEnum.SimulationType type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. How the simulation modifies the field. - google.ads.googleads.v12.enums.SimulationModificationMethodEnum.SimulationModificationMethod modification_method = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. First day on which the simulation is based, in YYYY-MM-DD format. - string start_date = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Last day on which the simulation is based, in YYYY-MM-DD format - string end_date = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // List of simulation points. - oneof point_list { - // Output only. Simulation points if the simulation type is CPC_BID. - google.ads.googleads.v12.common.CpcBidSimulationPointList cpc_bid_point_list = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Simulation points if the simulation type is TARGET_CPA. - google.ads.googleads.v12.common.TargetCpaSimulationPointList target_cpa_point_list = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Simulation points if the simulation type is TARGET_ROAS. - google.ads.googleads.v12.common.TargetRoasSimulationPointList target_roas_point_list = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Simulation points if the simulation type is TARGET_IMPRESSION_SHARE. - google.ads.googleads.v12.common.TargetImpressionShareSimulationPointList target_impression_share_point_list = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Simulation points if the simulation type is BUDGET. - google.ads.googleads.v12.common.BudgetSimulationPointList budget_point_list = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/carrier_constant.proto b/third_party/googleapis/google/ads/googleads/v12/resources/carrier_constant.proto deleted file mode 100644 index 929a6c5d8..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/carrier_constant.proto +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CarrierConstantProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the Carrier constant resource. - -// A carrier criterion that can be used in campaign targeting. -message CarrierConstant { - option (google.api.resource) = { - type: "googleads.googleapis.com/CarrierConstant" - pattern: "carrierConstants/{criterion_id}" - }; - - // Output only. The resource name of the carrier criterion. - // Carrier criterion resource names have the form: - // - // `carrierConstants/{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CarrierConstant" - } - ]; - - // Output only. The ID of the carrier criterion. - optional int64 id = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The full name of the carrier in English. - optional string name = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The country code of the country where the carrier is located, for example, - // "AR", "FR", etc. - optional string country_code = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/change_event.proto b/third_party/googleapis/google/ads/googleads/v12/resources/change_event.proto deleted file mode 100644 index 77373f214..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/change_event.proto +++ /dev/null @@ -1,208 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/change_client_type.proto"; -import "google/ads/googleads/v12/enums/change_event_resource_type.proto"; -import "google/ads/googleads/v12/enums/resource_change_operation.proto"; -import "google/ads/googleads/v12/resources/ad.proto"; -import "google/ads/googleads/v12/resources/ad_group.proto"; -import "google/ads/googleads/v12/resources/ad_group_ad.proto"; -import "google/ads/googleads/v12/resources/ad_group_asset.proto"; -import "google/ads/googleads/v12/resources/ad_group_bid_modifier.proto"; -import "google/ads/googleads/v12/resources/ad_group_criterion.proto"; -import "google/ads/googleads/v12/resources/ad_group_feed.proto"; -import "google/ads/googleads/v12/resources/asset.proto"; -import "google/ads/googleads/v12/resources/asset_set.proto"; -import "google/ads/googleads/v12/resources/asset_set_asset.proto"; -import "google/ads/googleads/v12/resources/campaign.proto"; -import "google/ads/googleads/v12/resources/campaign_asset.proto"; -import "google/ads/googleads/v12/resources/campaign_asset_set.proto"; -import "google/ads/googleads/v12/resources/campaign_budget.proto"; -import "google/ads/googleads/v12/resources/campaign_criterion.proto"; -import "google/ads/googleads/v12/resources/campaign_feed.proto"; -import "google/ads/googleads/v12/resources/customer_asset.proto"; -import "google/ads/googleads/v12/resources/feed.proto"; -import "google/ads/googleads/v12/resources/feed_item.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ChangeEventProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the Change Event resource. - -// Describes the granular change of returned resource of certain resource types. -// Changes made through UI, API and new versions of Editor -// by external users (including external users, and internal users that can be -// shown externally) in the past 30 days will be shown. The change shows the old -// values of the changed fields before the change and the new values right after -// the change. ChangeEvent could have up to 3 minutes delay to reflect a new -// change. -message ChangeEvent { - option (google.api.resource) = { - type: "googleads.googleapis.com/ChangeEvent" - pattern: "customers/{customer_id}/changeEvents/{timestamp_micros}~{command_index}~{mutate_index}" - }; - - // A wrapper proto presenting all supported resources. - // Only the resource of the change_resource_type will be set. - message ChangedResource { - // Output only. Set if change_resource_type == AD. - Ad ad = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == AD_GROUP. - AdGroup ad_group = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == AD_GROUP_CRITERION. - AdGroupCriterion ad_group_criterion = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == CAMPAIGN. - Campaign campaign = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == CAMPAIGN_BUDGET. - CampaignBudget campaign_budget = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == AD_GROUP_BID_MODIFIER. - AdGroupBidModifier ad_group_bid_modifier = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == CAMPAIGN_CRITERION. - CampaignCriterion campaign_criterion = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == FEED. - Feed feed = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == FEED_ITEM. - FeedItem feed_item = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == CAMPAIGN_FEED. - CampaignFeed campaign_feed = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == AD_GROUP_FEED. - AdGroupFeed ad_group_feed = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == AD_GROUP_AD. - AdGroupAd ad_group_ad = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == ASSET. - Asset asset = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == CUSTOMER_ASSET. - CustomerAsset customer_asset = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == CAMPAIGN_ASSET. - CampaignAsset campaign_asset = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == AD_GROUP_ASSET. - AdGroupAsset ad_group_asset = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == ASSET_SET. - AssetSet asset_set = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == ASSET_SET_ASSET. - AssetSetAsset asset_set_asset = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == CAMPAIGN_ASSET_SET. - CampaignAssetSet campaign_asset_set = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Output only. The resource name of the change event. - // Change event resource names have the form: - // - // `customers/{customer_id}/changeEvents/{timestamp_micros}~{command_index}~{mutate_index}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ChangeEvent" - } - ]; - - // Output only. Time at which the change was committed on this resource. - string change_date_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The type of the changed resource. This dictates what resource - // will be set in old_resource and new_resource. - google.ads.googleads.v12.enums.ChangeEventResourceTypeEnum.ChangeEventResourceType change_resource_type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The Simply resource this change occurred on. - string change_resource_name = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Where the change was made through. - google.ads.googleads.v12.enums.ChangeClientTypeEnum.ChangeClientType client_type = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The email of the user who made this change. - string user_email = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The old resource before the change. Only changed fields will be populated. - ChangedResource old_resource = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The new resource after the change. Only changed fields will be populated. - ChangedResource new_resource = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The operation on the changed resource. - google.ads.googleads.v12.enums.ResourceChangeOperationEnum.ResourceChangeOperation resource_change_operation = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. A list of fields that are changed in the returned resource. - google.protobuf.FieldMask changed_fields = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The Campaign affected by this change. - string campaign = 11 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Output only. The AdGroup affected by this change. - string ad_group = 12 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Output only. The Feed affected by this change. - string feed = 13 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Feed" - } - ]; - - // Output only. The FeedItem affected by this change. - string feed_item = 14 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItem" - } - ]; - - // Output only. The Asset affected by this change. - string asset = 20 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Asset" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/change_status.proto b/third_party/googleapis/google/ads/googleads/v12/resources/change_status.proto deleted file mode 100644 index 1fcea04f3..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/change_status.proto +++ /dev/null @@ -1,192 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/change_status_operation.proto"; -import "google/ads/googleads/v12/enums/change_status_resource_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ChangeStatusProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the Change Status resource. - -// Describes the status of returned resource. ChangeStatus could have up to 3 -// minutes delay to reflect a new change. -message ChangeStatus { - option (google.api.resource) = { - type: "googleads.googleapis.com/ChangeStatus" - pattern: "customers/{customer_id}/changeStatus/{change_status_id}" - }; - - // Output only. The resource name of the change status. - // Change status resource names have the form: - // - // `customers/{customer_id}/changeStatus/{change_status_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ChangeStatus" - } - ]; - - // Output only. Time at which the most recent change has occurred on this resource. - optional string last_change_date_time = 24 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Represents the type of the changed resource. This dictates what fields - // will be set. For example, for AD_GROUP, campaign and ad_group fields will - // be set. - google.ads.googleads.v12.enums.ChangeStatusResourceTypeEnum.ChangeStatusResourceType resource_type = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The Campaign affected by this change. - optional string campaign = 17 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Output only. The AdGroup affected by this change. - optional string ad_group = 18 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Output only. Represents the status of the changed resource. - google.ads.googleads.v12.enums.ChangeStatusOperationEnum.ChangeStatusOperation resource_status = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The AdGroupAd affected by this change. - optional string ad_group_ad = 25 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAd" - } - ]; - - // Output only. The AdGroupCriterion affected by this change. - optional string ad_group_criterion = 26 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterion" - } - ]; - - // Output only. The CampaignCriterion affected by this change. - optional string campaign_criterion = 27 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignCriterion" - } - ]; - - // Output only. The Feed affected by this change. - optional string feed = 28 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Feed" - } - ]; - - // Output only. The FeedItem affected by this change. - optional string feed_item = 29 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItem" - } - ]; - - // Output only. The AdGroupFeed affected by this change. - optional string ad_group_feed = 30 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupFeed" - } - ]; - - // Output only. The CampaignFeed affected by this change. - optional string campaign_feed = 31 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignFeed" - } - ]; - - // Output only. The AdGroupBidModifier affected by this change. - optional string ad_group_bid_modifier = 32 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupBidModifier" - } - ]; - - // Output only. The SharedSet affected by this change. - string shared_set = 33 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/SharedSet" - } - ]; - - // Output only. The CampaignSharedSet affected by this change. - string campaign_shared_set = 34 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignSharedSet" - } - ]; - - // Output only. The Asset affected by this change. - string asset = 35 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Asset" - } - ]; - - // Output only. The CustomerAsset affected by this change. - string customer_asset = 36 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerAsset" - } - ]; - - // Output only. The CampaignAsset affected by this change. - string campaign_asset = 37 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignAsset" - } - ]; - - // Output only. The AdGroupAsset affected by this change. - string ad_group_asset = 38 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAsset" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/click_view.proto b/third_party/googleapis/google/ads/googleads/v12/resources/click_view.proto deleted file mode 100644 index ab14f8f01..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/click_view.proto +++ /dev/null @@ -1,107 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/click_location.proto"; -import "google/ads/googleads/v12/common/criteria.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ClickViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the ClickView resource. - -// A click view with metrics aggregated at each click level, including both -// valid and invalid clicks. For non-Search campaigns, metrics.clicks -// represents the number of valid and invalid interactions. -// Queries including ClickView must have a filter limiting the results to one -// day and can be requested for dates back to 90 days before the time of the -// request. -message ClickView { - option (google.api.resource) = { - type: "googleads.googleapis.com/ClickView" - pattern: "customers/{customer_id}/clickViews/{date}~{gclid}" - }; - - // Output only. The resource name of the click view. - // Click view resource names have the form: - // - // `customers/{customer_id}/clickViews/{date (yyyy-MM-dd)}~{gclid}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ClickView" - } - ]; - - // Output only. The Google Click ID. - optional string gclid = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The location criteria matching the area of interest associated with the - // impression. - google.ads.googleads.v12.common.ClickLocation area_of_interest = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The location criteria matching the location of presence associated with the - // impression. - google.ads.googleads.v12.common.ClickLocation location_of_presence = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Page number in search results where the ad was shown. - optional int64 page_number = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The associated ad. - optional string ad_group_ad = 10 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAd" - } - ]; - - // Output only. The associated campaign location target, if one exists. - optional string campaign_location_target = 11 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/GeoTargetConstant" - } - ]; - - // Output only. The associated user list, if one exists. - optional string user_list = 12 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/UserList" - } - ]; - - // Output only. The associated keyword, if one exists and the click corresponds to the - // SEARCH channel. - string keyword = 13 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterion" - } - ]; - - // Output only. Basic information about the associated keyword, if it exists. - google.ads.googleads.v12.common.KeywordInfo keyword_info = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/combined_audience.proto b/third_party/googleapis/google/ads/googleads/v12/resources/combined_audience.proto deleted file mode 100644 index 65127f4e2..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/combined_audience.proto +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/combined_audience_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CombinedAudienceProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the Combined Audience resource. - -// Describe a resource for combined audiences which includes different -// audiences. -message CombinedAudience { - option (google.api.resource) = { - type: "googleads.googleapis.com/CombinedAudience" - pattern: "customers/{customer_id}/combinedAudiences/{combined_audience_id}" - }; - - // Immutable. The resource name of the combined audience. - // Combined audience names have the form: - // - // `customers/{customer_id}/combinedAudience/{combined_audience_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CombinedAudience" - } - ]; - - // Output only. ID of the combined audience. - int64 id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Status of this combined audience. Indicates whether the combined audience - // is enabled or removed. - google.ads.googleads.v12.enums.CombinedAudienceStatusEnum.CombinedAudienceStatus status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Name of the combined audience. It should be unique across all combined - // audiences. - string name = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Description of this combined audience. - string description = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/conversion_action.proto b/third_party/googleapis/google/ads/googleads/v12/resources/conversion_action.proto deleted file mode 100644 index a081af0e6..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/conversion_action.proto +++ /dev/null @@ -1,197 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/tag_snippet.proto"; -import "google/ads/googleads/v12/enums/attribution_model.proto"; -import "google/ads/googleads/v12/enums/conversion_action_category.proto"; -import "google/ads/googleads/v12/enums/conversion_action_counting_type.proto"; -import "google/ads/googleads/v12/enums/conversion_action_status.proto"; -import "google/ads/googleads/v12/enums/conversion_action_type.proto"; -import "google/ads/googleads/v12/enums/conversion_origin.proto"; -import "google/ads/googleads/v12/enums/data_driven_model_status.proto"; -import "google/ads/googleads/v12/enums/mobile_app_vendor.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ConversionActionProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the Conversion Action resource. - -// A conversion action. -message ConversionAction { - option (google.api.resource) = { - type: "googleads.googleapis.com/ConversionAction" - pattern: "customers/{customer_id}/conversionActions/{conversion_action_id}" - }; - - // Settings related to this conversion action's attribution model. - message AttributionModelSettings { - // The attribution model type of this conversion action. - google.ads.googleads.v12.enums.AttributionModelEnum.AttributionModel attribution_model = 1; - - // Output only. The status of the data-driven attribution model for the conversion - // action. - google.ads.googleads.v12.enums.DataDrivenModelStatusEnum.DataDrivenModelStatus data_driven_model_status = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Settings related to the value for conversion events associated with this - // conversion action. - message ValueSettings { - // The value to use when conversion events for this conversion action are - // sent with an invalid, disallowed or missing value, or when - // this conversion action is configured to always use the default value. - optional double default_value = 4; - - // The currency code to use when conversion events for this conversion - // action are sent with an invalid or missing currency code, or when this - // conversion action is configured to always use the default value. - optional string default_currency_code = 5; - - // Controls whether the default value and default currency code are used in - // place of the value and currency code specified in conversion events for - // this conversion action. - optional bool always_use_default_value = 6; - } - - // Settings related to a third party app analytics conversion action. - message ThirdPartyAppAnalyticsSettings { - // Output only. The event name of a third-party app analytics conversion. - optional string event_name = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Name of the third-party app analytics provider. - string provider_name = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Settings related to a Firebase conversion action. - message FirebaseSettings { - // Output only. The event name of a Firebase conversion. - optional string event_name = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The Firebase project ID of the conversion. - optional string project_id = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The GA property ID of the conversion. - int64 property_id = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The GA property name of the conversion. - string property_name = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Immutable. The resource name of the conversion action. - // Conversion action resource names have the form: - // - // `customers/{customer_id}/conversionActions/{conversion_action_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionAction" - } - ]; - - // Output only. The ID of the conversion action. - optional int64 id = 21 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The name of the conversion action. - // - // This field is required and should not be empty when creating new - // conversion actions. - optional string name = 22; - - // The status of this conversion action for conversion event accrual. - google.ads.googleads.v12.enums.ConversionActionStatusEnum.ConversionActionStatus status = 4; - - // Immutable. The type of this conversion action. - google.ads.googleads.v12.enums.ConversionActionTypeEnum.ConversionActionType type = 5 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The conversion origin of this conversion action. - google.ads.googleads.v12.enums.ConversionOriginEnum.ConversionOrigin origin = 30 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // If a conversion action's primary_for_goal bit is false, the conversion - // action is non-biddable for all campaigns regardless of their customer - // conversion goal or campaign conversion goal. - // However, custom conversion goals do not respect primary_for_goal, so if - // a campaign has a custom conversion goal configured with a - // primary_for_goal = false conversion action, that conversion action is - // still biddable. - // By default, primary_for_goal will be true if not set. In V9, - // primary_for_goal can only be set to false after creation through an - // 'update' operation because it's not declared as optional. - optional bool primary_for_goal = 31; - - // The category of conversions reported for this conversion action. - google.ads.googleads.v12.enums.ConversionActionCategoryEnum.ConversionActionCategory category = 6; - - // Output only. The resource name of the conversion action owner customer, or null if this - // is a system-defined conversion action. - optional string owner_customer = 23 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Customer" - } - ]; - - // Whether this conversion action should be included in the "conversions" - // metric. - optional bool include_in_conversions_metric = 24; - - // The maximum number of days that may elapse between an interaction - // (for example, a click) and a conversion event. - optional int64 click_through_lookback_window_days = 25; - - // The maximum number of days which may elapse between an impression and a - // conversion without an interaction. - optional int64 view_through_lookback_window_days = 26; - - // Settings related to the value for conversion events associated with this - // conversion action. - ValueSettings value_settings = 11; - - // How to count conversion events for the conversion action. - google.ads.googleads.v12.enums.ConversionActionCountingTypeEnum.ConversionActionCountingType counting_type = 12; - - // Settings related to this conversion action's attribution model. - AttributionModelSettings attribution_model_settings = 13; - - // Output only. The snippets used for tracking conversions. - repeated google.ads.googleads.v12.common.TagSnippet tag_snippets = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The phone call duration in seconds after which a conversion should be - // reported for this conversion action. - // - // The value must be between 0 and 10000, inclusive. - optional int64 phone_call_duration_seconds = 27; - - // App ID for an app conversion action. - optional string app_id = 28; - - // Output only. Mobile app vendor for an app conversion action. - google.ads.googleads.v12.enums.MobileAppVendorEnum.MobileAppVendor mobile_app_vendor = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Firebase settings for Firebase conversion types. - FirebaseSettings firebase_settings = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Third Party App Analytics settings for third party conversion types. - ThirdPartyAppAnalyticsSettings third_party_app_analytics_settings = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/conversion_custom_variable.proto b/third_party/googleapis/google/ads/googleads/v12/resources/conversion_custom_variable.proto deleted file mode 100644 index 11aaf89af..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/conversion_custom_variable.proto +++ /dev/null @@ -1,85 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/conversion_custom_variable_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ConversionCustomVariableProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the Conversion Custom Variable resource. - -// A conversion custom variable -// See "About custom variables for conversions" at -// https://support.google.com/google-ads/answer/9964350 -message ConversionCustomVariable { - option (google.api.resource) = { - type: "googleads.googleapis.com/ConversionCustomVariable" - pattern: "customers/{customer_id}/conversionCustomVariables/{conversion_custom_variable_id}" - }; - - // Immutable. The resource name of the conversion custom variable. - // Conversion custom variable resource names have the form: - // - // `customers/{customer_id}/conversionCustomVariables/{conversion_custom_variable_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionCustomVariable" - } - ]; - - // Output only. The ID of the conversion custom variable. - int64 id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Required. The name of the conversion custom variable. - // Name should be unique. The maximum length of name is 100 characters. - // There should not be any extra spaces before and after. - string name = 3 [(google.api.field_behavior) = REQUIRED]; - - // Required. Immutable. The tag of the conversion custom variable. It is used in the event snippet - // and sent to Google Ads along with conversion pings. For conversion uploads - // in Google Ads API, the resource name of the conversion custom variable is - // used. - // Tag should be unique. The maximum size of tag is 100 bytes. - // There should not be any extra spaces before and after. - // Currently only lowercase letters, numbers and underscores are allowed in - // the tag. - string tag = 4 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE - ]; - - // The status of the conversion custom variable for conversion event accrual. - google.ads.googleads.v12.enums.ConversionCustomVariableStatusEnum.ConversionCustomVariableStatus status = 5; - - // Output only. The resource name of the customer that owns the conversion custom variable. - string owner_customer = 6 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Customer" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/conversion_goal_campaign_config.proto b/third_party/googleapis/google/ads/googleads/v12/resources/conversion_goal_campaign_config.proto deleted file mode 100644 index d1d84c718..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/conversion_goal_campaign_config.proto +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/goal_config_level.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ConversionGoalCampaignConfigProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Conversion goal settings for a Campaign. -message ConversionGoalCampaignConfig { - option (google.api.resource) = { - type: "googleads.googleapis.com/ConversionGoalCampaignConfig" - pattern: "customers/{customer_id}/conversionGoalCampaignConfigs/{campaign_id}" - }; - - // Immutable. The resource name of the conversion goal campaign config. - // Conversion goal campaign config resource names have the form: - // - // `customers/{customer_id}/conversionGoalCampaignConfigs/{campaign_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionGoalCampaignConfig" - } - ]; - - // Immutable. The campaign with which this conversion goal campaign config is associated. - string campaign = 2 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // The level of goal config the campaign is using. - google.ads.googleads.v12.enums.GoalConfigLevelEnum.GoalConfigLevel goal_config_level = 3; - - // The custom conversion goal the campaign is using for optimization. - string custom_conversion_goal = 4 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomConversionGoal" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/conversion_value_rule.proto b/third_party/googleapis/google/ads/googleads/v12/resources/conversion_value_rule.proto deleted file mode 100644 index 5039b32d5..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/conversion_value_rule.proto +++ /dev/null @@ -1,134 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/conversion_value_rule_status.proto"; -import "google/ads/googleads/v12/enums/value_rule_device_type.proto"; -import "google/ads/googleads/v12/enums/value_rule_geo_location_match_type.proto"; -import "google/ads/googleads/v12/enums/value_rule_operation.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ConversionValueRuleProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the Conversion Value Rule resource. - -// A conversion value rule -message ConversionValueRule { - option (google.api.resource) = { - type: "googleads.googleapis.com/ConversionValueRule" - pattern: "customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}" - }; - - // Action applied when rule is applied. - message ValueRuleAction { - // Specifies applied operation. - google.ads.googleads.v12.enums.ValueRuleOperationEnum.ValueRuleOperation operation = 1; - - // Specifies applied value. - double value = 2; - } - - // Condition on Geo dimension. - message ValueRuleGeoLocationCondition { - // Geo locations that advertisers want to exclude. - repeated string excluded_geo_target_constants = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/GeoTargetConstant" - }]; - - // Excluded Geo location match type. - google.ads.googleads.v12.enums.ValueRuleGeoLocationMatchTypeEnum.ValueRuleGeoLocationMatchType excluded_geo_match_type = 2; - - // Geo locations that advertisers want to include. - repeated string geo_target_constants = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/GeoTargetConstant" - }]; - - // Included Geo location match type. - google.ads.googleads.v12.enums.ValueRuleGeoLocationMatchTypeEnum.ValueRuleGeoLocationMatchType geo_match_type = 4; - } - - // Condition on Device dimension. - message ValueRuleDeviceCondition { - // Value for device type condition. - repeated google.ads.googleads.v12.enums.ValueRuleDeviceTypeEnum.ValueRuleDeviceType device_types = 1; - } - - // Condition on Audience dimension. - message ValueRuleAudienceCondition { - // User Lists. - repeated string user_lists = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/UserList" - }]; - - // User Interests. - repeated string user_interests = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/UserInterest" - }]; - } - - // Immutable. The resource name of the conversion value rule. - // Conversion value rule resource names have the form: - // - // `customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionValueRule" - } - ]; - - // Output only. The ID of the conversion value rule. - int64 id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Action applied when the rule is triggered. - ValueRuleAction action = 3; - - // Condition for Geo location that must be satisfied for the value rule to - // apply. - ValueRuleGeoLocationCondition geo_location_condition = 4; - - // Condition for device type that must be satisfied for the value rule to - // apply. - ValueRuleDeviceCondition device_condition = 5; - - // Condition for audience that must be satisfied for the value rule to apply. - ValueRuleAudienceCondition audience_condition = 6; - - // Output only. The resource name of the conversion value rule's owner customer. - // When the value rule is inherited from a manager - // customer, owner_customer will be the resource name of the manager whereas - // the customer in the resource_name will be of the requesting serving - // customer. - // ** Read-only ** - string owner_customer = 7 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Customer" - } - ]; - - // The status of the conversion value rule. - google.ads.googleads.v12.enums.ConversionValueRuleStatusEnum.ConversionValueRuleStatus status = 8; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/conversion_value_rule_set.proto b/third_party/googleapis/google/ads/googleads/v12/resources/conversion_value_rule_set.proto deleted file mode 100644 index 99fb88cea..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/conversion_value_rule_set.proto +++ /dev/null @@ -1,99 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/conversion_action_category.proto"; -import "google/ads/googleads/v12/enums/conversion_value_rule_set_status.proto"; -import "google/ads/googleads/v12/enums/value_rule_set_attachment_type.proto"; -import "google/ads/googleads/v12/enums/value_rule_set_dimension.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ConversionValueRuleSetProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the Conversion Value Rule Set resource. - -// A conversion value rule set -message ConversionValueRuleSet { - option (google.api.resource) = { - type: "googleads.googleapis.com/ConversionValueRuleSet" - pattern: "customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}" - }; - - // Immutable. The resource name of the conversion value rule set. - // Conversion value rule set resource names have the form: - // - // `customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionValueRuleSet" - } - ]; - - // Output only. The ID of the conversion value rule set. - int64 id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Resource names of rules within the rule set. - repeated string conversion_value_rules = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionValueRule" - }]; - - // Defines dimensions for Value Rule conditions. The condition types of value - // rules within this value rule set must be of these dimensions. The first - // entry in this list is the primary dimension of the included value rules. - // When using value rule primary dimension segmentation, conversion values - // will be segmented into the values adjusted by value rules and the original - // values, if some value rules apply. - repeated google.ads.googleads.v12.enums.ValueRuleSetDimensionEnum.ValueRuleSetDimension dimensions = 4; - - // Output only. The resource name of the conversion value rule set's owner customer. - // When the value rule set is inherited from a manager - // customer, owner_customer will be the resource name of the manager whereas - // the customer in the resource_name will be of the requesting serving - // customer. - // ** Read-only ** - string owner_customer = 5 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Customer" - } - ]; - - // Immutable. Defines the scope where the conversion value rule set is attached. - google.ads.googleads.v12.enums.ValueRuleSetAttachmentTypeEnum.ValueRuleSetAttachmentType attachment_type = 6 [(google.api.field_behavior) = IMMUTABLE]; - - // The resource name of the campaign when the conversion value rule - // set is attached to a campaign. - string campaign = 7 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - }]; - - // Output only. The status of the conversion value rule set. - // ** Read-only ** - google.ads.googleads.v12.enums.ConversionValueRuleSetStatusEnum.ConversionValueRuleSetStatus status = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The conversion action categories of the conversion value rule set. - repeated google.ads.googleads.v12.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_categories = 9 [(google.api.field_behavior) = IMMUTABLE]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/currency_constant.proto b/third_party/googleapis/google/ads/googleads/v12/resources/currency_constant.proto deleted file mode 100644 index 140a22e77..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/currency_constant.proto +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CurrencyConstantProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the Currency Constant resource. - -// A currency constant. -message CurrencyConstant { - option (google.api.resource) = { - type: "googleads.googleapis.com/CurrencyConstant" - pattern: "currencyConstants/{code}" - }; - - // Output only. The resource name of the currency constant. - // Currency constant resource names have the form: - // - // `currencyConstants/{code}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CurrencyConstant" - } - ]; - - // Output only. ISO 4217 three-letter currency code, for example, "USD" - optional string code = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Full English name of the currency. - optional string name = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Standard symbol for describing this currency, for example, '$' for US - // Dollars. - optional string symbol = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The billable unit for this currency. Billed amounts should be multiples of - // this value. - optional int64 billable_unit_micros = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/custom_audience.proto b/third_party/googleapis/google/ads/googleads/v12/resources/custom_audience.proto deleted file mode 100644 index 77e3ea4e4..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/custom_audience.proto +++ /dev/null @@ -1,106 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/custom_audience_member_type.proto"; -import "google/ads/googleads/v12/enums/custom_audience_status.proto"; -import "google/ads/googleads/v12/enums/custom_audience_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomAudienceProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the Custom Audience resource. - -// A custom audience. This is a list of users by interest. -message CustomAudience { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomAudience" - pattern: "customers/{customer_id}/customAudiences/{custom_audience_id}" - }; - - // Immutable. The resource name of the custom audience. - // Custom audience resource names have the form: - // - // `customers/{customer_id}/customAudiences/{custom_audience_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomAudience" - } - ]; - - // Output only. ID of the custom audience. - int64 id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Status of this custom audience. Indicates whether the custom audience is - // enabled or removed. - google.ads.googleads.v12.enums.CustomAudienceStatusEnum.CustomAudienceStatus status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Name of the custom audience. It should be unique for all custom audiences - // created by a customer. - // This field is required for creating operations. - string name = 4; - - // Type of the custom audience. - // ("INTEREST" OR "PURCHASE_INTENT" is not allowed for newly created custom - // audience but kept for existing audiences) - google.ads.googleads.v12.enums.CustomAudienceTypeEnum.CustomAudienceType type = 5; - - // Description of this custom audience. - string description = 6; - - // List of custom audience members that this custom audience is composed of. - // Members can be added during CustomAudience creation. If members are - // presented in UPDATE operation, existing members will be overridden. - repeated CustomAudienceMember members = 7; -} - -// A member of custom audience. A member can be a KEYWORD, URL, -// PLACE_CATEGORY or APP. It can only be created or removed but not changed. -message CustomAudienceMember { - // The type of custom audience member, KEYWORD, URL, PLACE_CATEGORY or APP. - google.ads.googleads.v12.enums.CustomAudienceMemberTypeEnum.CustomAudienceMemberType member_type = 1; - - // The CustomAudienceMember value. One field is populated depending on the - // member type. - oneof value { - // A keyword or keyword phrase — at most 10 words and 80 characters. - // Languages with double-width characters such as Chinese, Japanese, - // or Korean, are allowed 40 characters, which describes the user's - // interests or actions. - string keyword = 2; - - // An HTTP URL, protocol-included — at most 2048 characters, which includes - // contents users have interests in. - string url = 3; - - // A place type described by a place category users visit. - int64 place_category = 4; - - // A package name of Android apps which users installed such as - // com.google.example. - string app = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/custom_conversion_goal.proto b/third_party/googleapis/google/ads/googleads/v12/resources/custom_conversion_goal.proto deleted file mode 100644 index 8e4f38312..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/custom_conversion_goal.proto +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/custom_conversion_goal_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomConversionGoalProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Custom conversion goal that can make arbitrary conversion actions biddable. -message CustomConversionGoal { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomConversionGoal" - pattern: "customers/{customer_id}/customConversionGoals/{goal_id}" - }; - - // Immutable. The resource name of the custom conversion goal. - // Custom conversion goal resource names have the form: - // - // `customers/{customer_id}/customConversionGoals/{goal_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomConversionGoal" - } - ]; - - // Immutable. The ID for this custom conversion goal. - int64 id = 2 [(google.api.field_behavior) = IMMUTABLE]; - - // The name for this custom conversion goal. - string name = 3; - - // Conversion actions that the custom conversion goal makes biddable. - repeated string conversion_actions = 4 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionAction" - }]; - - // The status of the custom conversion goal. - google.ads.googleads.v12.enums.CustomConversionGoalStatusEnum.CustomConversionGoalStatus status = 5; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/custom_interest.proto b/third_party/googleapis/google/ads/googleads/v12/resources/custom_interest.proto deleted file mode 100644 index daa481f5c..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/custom_interest.proto +++ /dev/null @@ -1,88 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/custom_interest_member_type.proto"; -import "google/ads/googleads/v12/enums/custom_interest_status.proto"; -import "google/ads/googleads/v12/enums/custom_interest_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomInterestProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the Custom Interest resource. - -// A custom interest. This is a list of users by interest. -message CustomInterest { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomInterest" - pattern: "customers/{customer_id}/customInterests/{custom_interest_id}" - }; - - // Immutable. The resource name of the custom interest. - // Custom interest resource names have the form: - // - // `customers/{customer_id}/customInterests/{custom_interest_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomInterest" - } - ]; - - // Output only. Id of the custom interest. - optional int64 id = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Status of this custom interest. Indicates whether the custom interest is - // enabled or removed. - google.ads.googleads.v12.enums.CustomInterestStatusEnum.CustomInterestStatus status = 3; - - // Name of the custom interest. It should be unique across the same custom - // affinity audience. - // This field is required for create operations. - optional string name = 9; - - // Type of the custom interest, CUSTOM_AFFINITY or CUSTOM_INTENT. - // By default the type is set to CUSTOM_AFFINITY. - google.ads.googleads.v12.enums.CustomInterestTypeEnum.CustomInterestType type = 5; - - // Description of this custom interest audience. - optional string description = 10; - - // List of custom interest members that this custom interest is composed of. - // Members can be added during CustomInterest creation. If members are - // presented in UPDATE operation, existing members will be overridden. - repeated CustomInterestMember members = 7; -} - -// A member of custom interest audience. A member can be a keyword or url. -// It is immutable, that is, it can only be created or removed but not changed. -message CustomInterestMember { - // The type of custom interest member, KEYWORD or URL. - google.ads.googleads.v12.enums.CustomInterestMemberTypeEnum.CustomInterestMemberType member_type = 1; - - // Keyword text when member_type is KEYWORD or URL string when - // member_type is URL. - optional string parameter = 3; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/customer.proto b/third_party/googleapis/google/ads/googleads/v12/resources/customer.proto deleted file mode 100644 index cf0042432..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/customer.proto +++ /dev/null @@ -1,188 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/conversion_tracking_status_enum.proto"; -import "google/ads/googleads/v12/enums/customer_pay_per_conversion_eligibility_failure_reason.proto"; -import "google/ads/googleads/v12/enums/customer_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the Customer resource. - -// A customer. -message Customer { - option (google.api.resource) = { - type: "googleads.googleapis.com/Customer" - pattern: "customers/{customer_id}" - }; - - // Immutable. The resource name of the customer. - // Customer resource names have the form: - // - // `customers/{customer_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Customer" - } - ]; - - // Output only. The ID of the customer. - optional int64 id = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Optional, non-unique descriptive name of the customer. - optional string descriptive_name = 20; - - // Immutable. The currency in which the account operates. - // A subset of the currency codes from the ISO 4217 standard is - // supported. - optional string currency_code = 21 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The local timezone ID of the customer. - optional string time_zone = 22 [(google.api.field_behavior) = IMMUTABLE]; - - // The URL template for constructing a tracking URL out of parameters. - optional string tracking_url_template = 23; - - // The URL template for appending params to the final URL - optional string final_url_suffix = 24; - - // Whether auto-tagging is enabled for the customer. - optional bool auto_tagging_enabled = 25; - - // Output only. Whether the Customer has a Partners program badge. If the Customer is not - // associated with the Partners program, this will be false. For more - // information, see https://support.google.com/partners/answer/3125774. - optional bool has_partners_badge = 26 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Whether the customer is a manager. - optional bool manager = 27 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Whether the customer is a test account. - optional bool test_account = 28 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Call reporting setting for a customer. Only mutable in an `update` - // operation. - CallReportingSetting call_reporting_setting = 10; - - // Output only. Conversion tracking setting for a customer. - ConversionTrackingSetting conversion_tracking_setting = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Remarketing setting for a customer. - RemarketingSetting remarketing_setting = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Reasons why the customer is not eligible to use PaymentMode.CONVERSIONS. If - // the list is empty, the customer is eligible. This field is read-only. - repeated google.ads.googleads.v12.enums.CustomerPayPerConversionEligibilityFailureReasonEnum.CustomerPayPerConversionEligibilityFailureReason pay_per_conversion_eligibility_failure_reasons = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Optimization score of the customer. - // - // Optimization score is an estimate of how well a customer's campaigns are - // set to perform. It ranges from 0% (0.0) to 100% (1.0). This field is null - // for all manager customers, and for unscored non-manager customers. - // - // See "About optimization score" at - // https://support.google.com/google-ads/answer/9061546. - // - // This field is read-only. - optional double optimization_score = 29 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Optimization score weight of the customer. - // - // Optimization score weight can be used to compare/aggregate optimization - // scores across multiple non-manager customers. The aggregate optimization - // score of a manager is computed as the sum over all of their customers of - // `Customer.optimization_score * Customer.optimization_score_weight`. This - // field is 0 for all manager customers, and for unscored non-manager - // customers. - // - // This field is read-only. - double optimization_score_weight = 30 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The status of the customer. - google.ads.googleads.v12.enums.CustomerStatusEnum.CustomerStatus status = 36 [(google.api.field_behavior) = OUTPUT_ONLY]; -} - -// Call reporting setting for a customer. Only mutable in an `update` operation. -message CallReportingSetting { - // Enable reporting of phone call events by redirecting them through Google - // System. - optional bool call_reporting_enabled = 10; - - // Whether to enable call conversion reporting. - optional bool call_conversion_reporting_enabled = 11; - - // Customer-level call conversion action to attribute a call conversion to. - // If not set a default conversion action is used. Only in effect when - // call_conversion_reporting_enabled is set to true. - optional string call_conversion_action = 12 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionAction" - }]; -} - -// A collection of customer-wide settings related to Google Ads Conversion -// Tracking. -message ConversionTrackingSetting { - // Output only. The conversion tracking id used for this account. This id doesn't indicate - // whether the customer uses conversion tracking (conversion_tracking_status - // does). This field is read-only. - optional int64 conversion_tracking_id = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The conversion tracking id of the customer's manager. This is set when the - // customer is opted into cross account conversion tracking, and it overrides - // conversion_tracking_id. This field can only be managed through the Google - // Ads UI. This field is read-only. - optional int64 cross_account_conversion_tracking_id = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Whether the customer has accepted customer data terms. If using - // cross-account conversion tracking, this value is inherited from the - // manager. This field is read-only. For more - // information, see https://support.google.com/adspolicy/answer/7475709. - bool accepted_customer_data_terms = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Conversion tracking status. It indicates whether the customer is using - // conversion tracking, and who is the conversion tracking owner of this - // customer. If this customer is using cross-account conversion tracking, - // the value returned will differ based on the `login-customer-id` of the - // request. - google.ads.googleads.v12.enums.ConversionTrackingStatusEnum.ConversionTrackingStatus conversion_tracking_status = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Whether the customer is opted-in for enhanced conversions - // for leads. If using cross-account conversion tracking, this value is - // inherited from the manager. This field is read-only. - bool enhanced_conversions_for_leads_enabled = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource name of the customer where conversions are created and - // managed. This field is read-only. - string google_ads_conversion_customer = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; -} - -// Remarketing setting for a customer. -message RemarketingSetting { - // Output only. The Google tag. - optional string google_global_site_tag = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/customer_asset.proto b/third_party/googleapis/google/ads/googleads/v12/resources/customer_asset.proto deleted file mode 100644 index 7a756101d..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/customer_asset.proto +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/asset_field_type.proto"; -import "google/ads/googleads/v12/enums/asset_link_status.proto"; -import "google/ads/googleads/v12/enums/asset_source.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerAssetProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the CustomerAsset resource. - -// A link between a customer and an asset. -message CustomerAsset { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomerAsset" - pattern: "customers/{customer_id}/customerAssets/{asset_id}~{field_type}" - }; - - // Immutable. The resource name of the customer asset. - // CustomerAsset resource names have the form: - // - // `customers/{customer_id}/customerAssets/{asset_id}~{field_type}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerAsset" - } - ]; - - // Required. Immutable. The asset which is linked to the customer. - string asset = 2 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Asset" - } - ]; - - // Required. Immutable. Role that the asset takes for the customer link. - google.ads.googleads.v12.enums.AssetFieldTypeEnum.AssetFieldType field_type = 3 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE - ]; - - // Output only. Source of the customer asset link. - google.ads.googleads.v12.enums.AssetSourceEnum.AssetSource source = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Status of the customer asset. - google.ads.googleads.v12.enums.AssetLinkStatusEnum.AssetLinkStatus status = 4; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/customer_asset_set.proto b/third_party/googleapis/google/ads/googleads/v12/resources/customer_asset_set.proto deleted file mode 100644 index 569c32043..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/customer_asset_set.proto +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/asset_set_link_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerAssetSetProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the CustomerAssetSet resource. - -// CustomerAssetSet is the linkage between a customer and an asset set. -// Adding a CustomerAssetSet links an asset set with a customer. -message CustomerAssetSet { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomerAssetSet" - pattern: "customers/{customer_id}/customerAssetSets/{asset_set_id}" - }; - - // Immutable. The resource name of the customer asset set. - // Asset set asset resource names have the form: - // - // `customers/{customer_id}/customerAssetSets/{asset_set_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerAssetSet" - } - ]; - - // Immutable. The asset set which is linked to the customer. - string asset_set = 2 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetSet" - } - ]; - - // Immutable. The customer to which this asset set is linked. - string customer = 3 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Customer" - } - ]; - - // Output only. The status of the customer asset set asset. Read-only. - google.ads.googleads.v12.enums.AssetSetLinkStatusEnum.AssetSetLinkStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/customer_client.proto b/third_party/googleapis/google/ads/googleads/v12/resources/customer_client.proto deleted file mode 100644 index bc672449b..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/customer_client.proto +++ /dev/null @@ -1,104 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/customer_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerClientProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the CustomerClient resource. - -// A link between the given customer and a client customer. CustomerClients only -// exist for manager customers. All direct and indirect client customers are -// included, as well as the manager itself. -message CustomerClient { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomerClient" - pattern: "customers/{customer_id}/customerClients/{client_customer_id}" - }; - - // Output only. The resource name of the customer client. - // CustomerClient resource names have the form: - // `customers/{customer_id}/customerClients/{client_customer_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerClient" - } - ]; - - // Output only. The resource name of the client-customer which is linked to - // the given customer. Read only. - optional string client_customer = 12 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Customer" - } - ]; - - // Output only. Specifies whether this is a - // [hidden account](https://support.google.com/google-ads/answer/7519830). - // Read only. - optional bool hidden = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Distance between given customer and client. For self link, the level value - // will be 0. Read only. - optional int64 level = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Common Locale Data Repository (CLDR) string representation of the - // time zone of the client, for example, America/Los_Angeles. Read only. - optional string time_zone = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Identifies if the client is a test account. Read only. - optional bool test_account = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Identifies if the client is a manager. Read only. - optional bool manager = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Descriptive name for the client. Read only. - optional string descriptive_name = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Currency code (for example, 'USD', 'EUR') for the client. Read only. - optional string currency_code = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The ID of the client customer. Read only. - optional int64 id = 20 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource names of the labels owned by the requesting customer that are - // applied to the client customer. - // Label resource names have the form: - // - // `customers/{customer_id}/labels/{label_id}` - repeated string applied_labels = 21 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Label" - } - ]; - - // Output only. The status of the client customer. Read only. - google.ads.googleads.v12.enums.CustomerStatusEnum.CustomerStatus status = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/customer_client_link.proto b/third_party/googleapis/google/ads/googleads/v12/resources/customer_client_link.proto deleted file mode 100644 index 15ecaae43..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/customer_client_link.proto +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/manager_link_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerClientLinkProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the CustomerClientLink resource. - -// Represents customer client link relationship. -message CustomerClientLink { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomerClientLink" - pattern: "customers/{customer_id}/customerClientLinks/{client_customer_id}~{manager_link_id}" - }; - - // Immutable. Name of the resource. - // CustomerClientLink resource names have the form: - // `customers/{customer_id}/customerClientLinks/{client_customer_id}~{manager_link_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerClientLink" - } - ]; - - // Immutable. The client customer linked to this customer. - optional string client_customer = 7 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Customer" - } - ]; - - // Output only. This is uniquely identifies a customer client link. Read only. - optional int64 manager_link_id = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // This is the status of the link between client and manager. - google.ads.googleads.v12.enums.ManagerLinkStatusEnum.ManagerLinkStatus status = 5; - - // The visibility of the link. Users can choose whether or not to see hidden - // links in the Google Ads UI. - // Default value is false - optional bool hidden = 9; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/customer_conversion_goal.proto b/third_party/googleapis/google/ads/googleads/v12/resources/customer_conversion_goal.proto deleted file mode 100644 index 795dd8d69..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/customer_conversion_goal.proto +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/conversion_action_category.proto"; -import "google/ads/googleads/v12/enums/conversion_origin.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerConversionGoalProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Biddability control for conversion actions with a matching category and -// origin. -message CustomerConversionGoal { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomerConversionGoal" - pattern: "customers/{customer_id}/customerConversionGoals/{category}~{source}" - }; - - // Immutable. The resource name of the customer conversion goal. - // Customer conversion goal resource names have the form: - // - // `customers/{customer_id}/customerConversionGoals/{category}~{origin}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerConversionGoal" - } - ]; - - // The conversion category of this customer conversion goal. Only - // conversion actions that have this category will be included in this goal. - google.ads.googleads.v12.enums.ConversionActionCategoryEnum.ConversionActionCategory category = 2; - - // The conversion origin of this customer conversion goal. Only - // conversion actions that have this conversion origin will be included in - // this goal. - google.ads.googleads.v12.enums.ConversionOriginEnum.ConversionOrigin origin = 3; - - // The biddability of the customer conversion goal. - bool biddable = 4; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/customer_customizer.proto b/third_party/googleapis/google/ads/googleads/v12/resources/customer_customizer.proto deleted file mode 100644 index b8c1b8d03..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/customer_customizer.proto +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/customizer_value.proto"; -import "google/ads/googleads/v12/enums/customizer_value_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerCustomizerProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// A customizer value for the associated CustomizerAttribute at the Customer -// level. -message CustomerCustomizer { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomerCustomizer" - pattern: "customers/{customer_id}/customerCustomizers/{customizer_attribute_id}" - }; - - // Immutable. The resource name of the customer customizer. - // Customer customizer resource names have the form: - // - // `customers/{customer_id}/customerCustomizers/{customizer_attribute_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerCustomizer" - } - ]; - - // Required. Immutable. The customizer attribute which is linked to the customer. - string customizer_attribute = 2 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomizerAttribute" - } - ]; - - // Output only. The status of the customer customizer attribute. - google.ads.googleads.v12.enums.CustomizerValueStatusEnum.CustomizerValueStatus status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Required. The value to associate with the customizer attribute at this level. The - // value must be of the type specified for the CustomizerAttribute. - google.ads.googleads.v12.common.CustomizerValue value = 4 [(google.api.field_behavior) = REQUIRED]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/customer_extension_setting.proto b/third_party/googleapis/google/ads/googleads/v12/resources/customer_extension_setting.proto deleted file mode 100644 index 50f2affa9..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/customer_extension_setting.proto +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/extension_setting_device.proto"; -import "google/ads/googleads/v12/enums/extension_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerExtensionSettingProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the CustomerExtensionSetting resource. - -// A customer extension setting. -message CustomerExtensionSetting { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomerExtensionSetting" - pattern: "customers/{customer_id}/customerExtensionSettings/{extension_type}" - }; - - // Immutable. The resource name of the customer extension setting. - // CustomerExtensionSetting resource names have the form: - // - // `customers/{customer_id}/customerExtensionSettings/{extension_type}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerExtensionSetting" - } - ]; - - // Immutable. The extension type of the customer extension setting. - google.ads.googleads.v12.enums.ExtensionTypeEnum.ExtensionType extension_type = 2 [(google.api.field_behavior) = IMMUTABLE]; - - // The resource names of the extension feed items to serve under the customer. - // ExtensionFeedItem resource names have the form: - // - // `customers/{customer_id}/extensionFeedItems/{feed_item_id}` - repeated string extension_feed_items = 5 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ExtensionFeedItem" - }]; - - // The device for which the extensions will serve. Optional. - google.ads.googleads.v12.enums.ExtensionSettingDeviceEnum.ExtensionSettingDevice device = 4; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/customer_feed.proto b/third_party/googleapis/google/ads/googleads/v12/resources/customer_feed.proto deleted file mode 100644 index ac48f8bb6..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/customer_feed.proto +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/matching_function.proto"; -import "google/ads/googleads/v12/enums/feed_link_status.proto"; -import "google/ads/googleads/v12/enums/placeholder_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerFeedProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the CustomerFeed resource. - -// A customer feed. -message CustomerFeed { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomerFeed" - pattern: "customers/{customer_id}/customerFeeds/{feed_id}" - }; - - // Immutable. The resource name of the customer feed. - // Customer feed resource names have the form: - // - // `customers/{customer_id}/customerFeeds/{feed_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerFeed" - } - ]; - - // Immutable. The feed being linked to the customer. - optional string feed = 6 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Feed" - } - ]; - - // Indicates which placeholder types the feed may populate under the connected - // customer. Required. - repeated google.ads.googleads.v12.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 3; - - // Matching function associated with the CustomerFeed. - // The matching function is used to filter the set of feed items selected. - // Required. - google.ads.googleads.v12.common.MatchingFunction matching_function = 4; - - // Output only. Status of the customer feed. - // This field is read-only. - google.ads.googleads.v12.enums.FeedLinkStatusEnum.FeedLinkStatus status = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/customer_label.proto b/third_party/googleapis/google/ads/googleads/v12/resources/customer_label.proto deleted file mode 100644 index 96d987621..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/customer_label.proto +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerLabelProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the customer label resource. - -// Represents a relationship between a customer and a label. This customer may -// not have access to all the labels attached to it. Additional CustomerLabels -// may be returned by increasing permissions with login-customer-id. -message CustomerLabel { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomerLabel" - pattern: "customers/{customer_id}/customerLabels/{label_id}" - }; - - // Immutable. Name of the resource. - // Customer label resource names have the form: - // `customers/{customer_id}/customerLabels/{label_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerLabel" - } - ]; - - // Output only. The resource name of the customer to which the label is attached. - // Read only. - optional string customer = 4 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Customer" - } - ]; - - // Output only. The resource name of the label assigned to the customer. - // - // Note: the Customer ID portion of the label resource name is not - // validated when creating a new CustomerLabel. - optional string label = 5 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Label" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/customer_manager_link.proto b/third_party/googleapis/google/ads/googleads/v12/resources/customer_manager_link.proto deleted file mode 100644 index ebad815a7..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/customer_manager_link.proto +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/manager_link_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerManagerLinkProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the CustomerManagerLink resource. - -// Represents customer-manager link relationship. -message CustomerManagerLink { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomerManagerLink" - pattern: "customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}" - }; - - // Immutable. Name of the resource. - // CustomerManagerLink resource names have the form: - // `customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerManagerLink" - } - ]; - - // Output only. The manager customer linked to the customer. - optional string manager_customer = 6 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Customer" - } - ]; - - // Output only. ID of the customer-manager link. This field is read only. - optional int64 manager_link_id = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Status of the link between the customer and the manager. - google.ads.googleads.v12.enums.ManagerLinkStatusEnum.ManagerLinkStatus status = 5; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/customer_negative_criterion.proto b/third_party/googleapis/google/ads/googleads/v12/resources/customer_negative_criterion.proto deleted file mode 100644 index 060cb5221..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/customer_negative_criterion.proto +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/criteria.proto"; -import "google/ads/googleads/v12/enums/criterion_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerNegativeCriterionProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the Customer Negative Criterion resource. - -// A negative criterion for exclusions at the customer level. -message CustomerNegativeCriterion { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomerNegativeCriterion" - pattern: "customers/{customer_id}/customerNegativeCriteria/{criterion_id}" - }; - - // Immutable. The resource name of the customer negative criterion. - // Customer negative criterion resource names have the form: - // - // `customers/{customer_id}/customerNegativeCriteria/{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerNegativeCriterion" - } - ]; - - // Output only. The ID of the criterion. - optional int64 id = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The type of the criterion. - google.ads.googleads.v12.enums.CriterionTypeEnum.CriterionType type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The customer negative criterion. - // - // Exactly one must be set. - oneof criterion { - // Immutable. ContentLabel. - google.ads.googleads.v12.common.ContentLabelInfo content_label = 4 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. MobileApplication. - google.ads.googleads.v12.common.MobileApplicationInfo mobile_application = 5 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. MobileAppCategory. - google.ads.googleads.v12.common.MobileAppCategoryInfo mobile_app_category = 6 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Placement. - google.ads.googleads.v12.common.PlacementInfo placement = 7 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. YouTube Video. - google.ads.googleads.v12.common.YouTubeVideoInfo youtube_video = 8 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. YouTube Channel. - google.ads.googleads.v12.common.YouTubeChannelInfo youtube_channel = 9 [(google.api.field_behavior) = IMMUTABLE]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/customer_user_access.proto b/third_party/googleapis/google/ads/googleads/v12/resources/customer_user_access.proto deleted file mode 100644 index e89e20f35..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/customer_user_access.proto +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/access_role.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerUserAccessProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the CustomerUserAccess resource. - -// Represents the permission of a single user onto a single customer. -message CustomerUserAccess { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomerUserAccess" - pattern: "customers/{customer_id}/customerUserAccesses/{user_id}" - }; - - // Immutable. Name of the resource. - // Resource names have the form: - // `customers/{customer_id}/customerUserAccesses/{user_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerUserAccess" - } - ]; - - // Output only. User id of the user with the customer access. - // Read only field - int64 user_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Email address of the user. - // Read only field - optional string email_address = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Access role of the user. - google.ads.googleads.v12.enums.AccessRoleEnum.AccessRole access_role = 4; - - // Output only. The customer user access creation time. - // Read only field - // The format is "YYYY-MM-DD HH:MM:SS". - // Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - optional string access_creation_date_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The email address of the inviter user. - // Read only field - optional string inviter_user_email_address = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/customer_user_access_invitation.proto b/third_party/googleapis/google/ads/googleads/v12/resources/customer_user_access_invitation.proto deleted file mode 100644 index f5cf3663d..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/customer_user_access_invitation.proto +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/access_invitation_status.proto"; -import "google/ads/googleads/v12/enums/access_role.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerUserAccessInvitationProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the CustomerUserAccessInvitation resource. - -// Represent an invitation to a new user on this customer account. -message CustomerUserAccessInvitation { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomerUserAccessInvitation" - pattern: "customers/{customer_id}/customerUserAccessInvitations/{invitation_id}" - }; - - // Immutable. Name of the resource. - // Resource names have the form: - // `customers/{customer_id}/customerUserAccessInvitations/{invitation_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerUserAccessInvitation" - } - ]; - - // Output only. The ID of the invitation. - // This field is read-only. - int64 invitation_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. Access role of the user. - google.ads.googleads.v12.enums.AccessRoleEnum.AccessRole access_role = 3 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Email address the invitation was sent to. - // This can differ from the email address of the account - // that accepts the invite. - string email_address = 4 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. Time invitation was created. - // This field is read-only. - // The format is "YYYY-MM-DD HH:MM:SS". - // Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - string creation_date_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Invitation status of the user. - google.ads.googleads.v12.enums.AccessInvitationStatusEnum.AccessInvitationStatus invitation_status = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/customizer_attribute.proto b/third_party/googleapis/google/ads/googleads/v12/resources/customizer_attribute.proto deleted file mode 100644 index ca5cf433d..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/customizer_attribute.proto +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/customizer_attribute_status.proto"; -import "google/ads/googleads/v12/enums/customizer_attribute_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomizerAttributeProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// A customizer attribute. -// Use CustomerCustomizer, CampaignCustomizer, AdGroupCustomizer, or -// AdGroupCriterionCustomizer to associate a customizer attribute and -// set its value at the customer, campaign, ad group, or ad group criterion -// level, respectively. -message CustomizerAttribute { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomizerAttribute" - pattern: "customers/{customer_id}/customizerAttributes/{customizer_attribute_id}" - }; - - // Immutable. The resource name of the customizer attribute. - // Customizer Attribute resource names have the form: - // - // `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomizerAttribute" - } - ]; - - // Output only. The ID of the customizer attribute. - int64 id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Required. Immutable. Name of the customizer attribute. Required. It must have a minimum length - // of 1 and maximum length of 40. Name of an enabled customizer attribute must - // be unique (case insensitive). - string name = 3 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE - ]; - - // Immutable. The type of the customizer attribute. - google.ads.googleads.v12.enums.CustomizerAttributeTypeEnum.CustomizerAttributeType type = 4 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The status of the customizer attribute. - google.ads.googleads.v12.enums.CustomizerAttributeStatusEnum.CustomizerAttributeStatus status = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/detail_placement_view.proto b/third_party/googleapis/google/ads/googleads/v12/resources/detail_placement_view.proto deleted file mode 100644 index 0e7141503..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/detail_placement_view.proto +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/placement_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "DetailPlacementViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the detail placement view resource. - -// A view with metrics aggregated by ad group and URL or YouTube video. -message DetailPlacementView { - option (google.api.resource) = { - type: "googleads.googleapis.com/DetailPlacementView" - pattern: "customers/{customer_id}/detailPlacementViews/{ad_group_id}~{base64_placement}" - }; - - // Output only. The resource name of the detail placement view. - // Detail placement view resource names have the form: - // - // `customers/{customer_id}/detailPlacementViews/{ad_group_id}~{base64_placement}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/DetailPlacementView" - } - ]; - - // Output only. The automatic placement string at detail level, e. g. website URL, mobile - // application ID, or a YouTube video ID. - optional string placement = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The display name is URL name for websites, YouTube video name for YouTube - // videos, and translated mobile app name for mobile apps. - optional string display_name = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. URL of the group placement, for example, domain, link to the mobile - // application in app store, or a YouTube channel URL. - optional string group_placement_target_url = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. URL of the placement, for example, website, link to the mobile application - // in app store, or a YouTube video URL. - optional string target_url = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Type of the placement, for example, Website, YouTube Video, and Mobile - // Application. - google.ads.googleads.v12.enums.PlacementTypeEnum.PlacementType placement_type = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/detailed_demographic.proto b/third_party/googleapis/google/ads/googleads/v12/resources/detailed_demographic.proto deleted file mode 100644 index e01ca420e..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/detailed_demographic.proto +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/criterion_category_availability.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "DetailedDemographicProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the Detailed Demographic resource. - -// A detailed demographic: a particular interest-based vertical to be targeted -// to reach users based on long-term life facts. -message DetailedDemographic { - option (google.api.resource) = { - type: "googleads.googleapis.com/DetailedDemographic" - pattern: "customers/{customer_id}/detailedDemographics/{detailed_demographic_id}" - }; - - // Output only. The resource name of the detailed demographic. - // Detailed demographic resource names have the form: - // - // `customers/{customer_id}/detailedDemographics/{detailed_demographic_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/DetailedDemographic" - } - ]; - - // Output only. The ID of the detailed demographic. - int64 id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The name of the detailed demographic. For example,"Highest Level of - // Educational Attainment" - string name = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The parent of the detailed_demographic. - string parent = 4 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/DetailedDemographic" - } - ]; - - // Output only. True if the detailed demographic is launched to all channels and locales. - bool launched_to_all = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Availability information of the detailed demographic. - repeated google.ads.googleads.v12.common.CriterionCategoryAvailability availabilities = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/display_keyword_view.proto b/third_party/googleapis/google/ads/googleads/v12/resources/display_keyword_view.proto deleted file mode 100644 index 26c8c7da9..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/display_keyword_view.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "DisplayKeywordViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the display keyword view resource. - -// A display keyword view. -message DisplayKeywordView { - option (google.api.resource) = { - type: "googleads.googleapis.com/DisplayKeywordView" - pattern: "customers/{customer_id}/displayKeywordViews/{ad_group_id}~{criterion_id}" - }; - - // Output only. The resource name of the display keyword view. - // Display Keyword view resource names have the form: - // - // `customers/{customer_id}/displayKeywordViews/{ad_group_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/DisplayKeywordView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/distance_view.proto b/third_party/googleapis/google/ads/googleads/v12/resources/distance_view.proto deleted file mode 100644 index f17916876..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/distance_view.proto +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/distance_bucket.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "DistanceViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the DistanceView resource. - -// A distance view with metrics aggregated by the user's distance from an -// advertiser's location extensions. Each DistanceBucket includes all -// impressions that fall within its distance and a single impression will -// contribute to the metrics for all DistanceBuckets that include the user's -// distance. -message DistanceView { - option (google.api.resource) = { - type: "googleads.googleapis.com/DistanceView" - pattern: "customers/{customer_id}/distanceViews/{placeholder_chain_id}~{distance_bucket}" - }; - - // Output only. The resource name of the distance view. - // Distance view resource names have the form: - // - // `customers/{customer_id}/distanceViews/1~{distance_bucket}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/DistanceView" - } - ]; - - // Output only. Grouping of user distance from location extensions. - google.ads.googleads.v12.enums.DistanceBucketEnum.DistanceBucket distance_bucket = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. True if the DistanceBucket is using the metric system, false otherwise. - optional bool metric_system = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/domain_category.proto b/third_party/googleapis/google/ads/googleads/v12/resources/domain_category.proto deleted file mode 100644 index c41a717f0..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/domain_category.proto +++ /dev/null @@ -1,90 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "DomainCategoryProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the Domain Category resource. - -// A category generated automatically by crawling a domain. If a campaign uses -// the DynamicSearchAdsSetting, then domain categories will be generated for -// the domain. The categories can be targeted using WebpageConditionInfo. -// See: https://support.google.com/google-ads/answer/2471185 -message DomainCategory { - option (google.api.resource) = { - type: "googleads.googleapis.com/DomainCategory" - pattern: "customers/{customer_id}/domainCategories/{campaign_id}~{base64_category}~{language_code}" - }; - - // Output only. The resource name of the domain category. - // Domain category resource names have the form: - // - // `customers/{customer_id}/domainCategories/{campaign_id}~{category_base64}~{language_code}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/DomainCategory" - } - ]; - - // Output only. The campaign this category is recommended for. - optional string campaign = 10 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Output only. Recommended category for the website domain, for example, if you have a - // website about electronics, the categories could be "cameras", - // "televisions", etc. - optional string category = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The language code specifying the language of the website, for example, "en" - // for English. The language can be specified in the DynamicSearchAdsSetting - // required for dynamic search ads. This is the language of the pages from - // your website that you want Google Ads to find, create ads for, - // and match searches with. - optional string language_code = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The domain for the website. The domain can be specified in the - // DynamicSearchAdsSetting required for dynamic search ads. - optional string domain = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Fraction of pages on your site that this category matches. - optional double coverage_fraction = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The position of this category in the set of categories. Lower numbers - // indicate a better match for the domain. null indicates not recommended. - optional int64 category_rank = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Indicates whether this category has sub-categories. - optional bool has_children = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The recommended cost per click for the category. - optional int64 recommended_cpc_bid_micros = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/dynamic_search_ads_search_term_view.proto b/third_party/googleapis/google/ads/googleads/v12/resources/dynamic_search_ads_search_term_view.proto deleted file mode 100644 index 742a67518..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/dynamic_search_ads_search_term_view.proto +++ /dev/null @@ -1,85 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "DynamicSearchAdsSearchTermViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the Dynamic Search Ads Search Term View resource. - -// A dynamic search ads search term view. -message DynamicSearchAdsSearchTermView { - option (google.api.resource) = { - type: "googleads.googleapis.com/DynamicSearchAdsSearchTermView" - pattern: "customers/{customer_id}/dynamicSearchAdsSearchTermViews/{ad_group_id}~{search_term_fingerprint}~{headline_fingerprint}~{landing_page_fingerprint}~{page_url_fingerprint}" - }; - - // Output only. The resource name of the dynamic search ads search term view. - // Dynamic search ads search term view resource names have the form: - // - // `customers/{customer_id}/dynamicSearchAdsSearchTermViews/{ad_group_id}~{search_term_fingerprint}~{headline_fingerprint}~{landing_page_fingerprint}~{page_url_fingerprint}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/DynamicSearchAdsSearchTermView" - } - ]; - - // Output only. Search term - // - // This field is read-only. - optional string search_term = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The dynamically generated headline of the Dynamic Search Ad. - // - // This field is read-only. - optional string headline = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The dynamically selected landing page URL of the impression. - // - // This field is read-only. - optional string landing_page = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The URL of page feed item served for the impression. - // - // This field is read-only. - optional string page_url = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. True if query matches a negative keyword. - // - // This field is read-only. - optional bool has_negative_keyword = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. True if query is added to targeted keywords. - // - // This field is read-only. - optional bool has_matching_keyword = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. True if query matches a negative url. - // - // This field is read-only. - optional bool has_negative_url = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/expanded_landing_page_view.proto b/third_party/googleapis/google/ads/googleads/v12/resources/expanded_landing_page_view.proto deleted file mode 100644 index 5e0ab62a9..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/expanded_landing_page_view.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ExpandedLandingPageViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the expanded landing page view resource. - -// A landing page view with metrics aggregated at the expanded final URL -// level. -message ExpandedLandingPageView { - option (google.api.resource) = { - type: "googleads.googleapis.com/ExpandedLandingPageView" - pattern: "customers/{customer_id}/expandedLandingPageViews/{expanded_final_url_fingerprint}" - }; - - // Output only. The resource name of the expanded landing page view. - // Expanded landing page view resource names have the form: - // - // `customers/{customer_id}/expandedLandingPageViews/{expanded_final_url_fingerprint}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ExpandedLandingPageView" - } - ]; - - // Output only. The final URL that clicks are directed to. - optional string expanded_final_url = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/experiment.proto b/third_party/googleapis/google/ads/googleads/v12/resources/experiment.proto deleted file mode 100644 index d00bcfe3d..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/experiment.proto +++ /dev/null @@ -1,106 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/metric_goal.proto"; -import "google/ads/googleads/v12/enums/async_action_status.proto"; -import "google/ads/googleads/v12/enums/experiment_status.proto"; -import "google/ads/googleads/v12/enums/experiment_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ExperimentProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the Experiment resource. - -// A Google ads experiment for users to experiment changes on multiple -// campaigns, compare the performance, and apply the effective changes. -message Experiment { - option (google.api.resource) = { - type: "googleads.googleapis.com/Experiment" - pattern: "customers/{customer_id}/experiments/{trial_id}" - }; - - // Immutable. The resource name of the experiment. - // Experiment resource names have the form: - // - // `customers/{customer_id}/experiments/{experiment_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Experiment" - } - ]; - - // Output only. The ID of the experiment. Read only. - optional int64 experiment_id = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Required. The name of the experiment. It must have a minimum length of 1 and - // maximum length of 1024. It must be unique under a customer. - string name = 10 [(google.api.field_behavior) = REQUIRED]; - - // The description of the experiment. It must have a minimum length of 1 and - // maximum length of 2048. - string description = 11; - - // For system managed experiments, the advertiser must provide a suffix during - // construction, in the setup stage before moving to initiated. The suffix - // will be appended to the in-design and experiment campaign names so that the - // name is base campaign name + suffix. - string suffix = 12; - - // Required. The product/feature that uses this experiment. - google.ads.googleads.v12.enums.ExperimentTypeEnum.ExperimentType type = 13 [(google.api.field_behavior) = REQUIRED]; - - // The Advertiser-chosen status of this experiment. - google.ads.googleads.v12.enums.ExperimentStatusEnum.ExperimentStatus status = 14; - - // Date when the experiment starts. By default, the experiment starts - // now or on the campaign's start date, whichever is later. If this field is - // set, then the experiment starts at the beginning of the specified date in - // the customer's time zone. - // - // Format: YYYY-MM-DD - // Example: 2019-03-14 - optional string start_date = 15; - - // Date when the experiment ends. By default, the experiment ends on - // the campaign's end date. If this field is set, then the experiment ends at - // the end of the specified date in the customer's time zone. - // - // Format: YYYY-MM-DD - // Example: 2019-04-18 - optional string end_date = 16; - - // The goals of this experiment. - repeated google.ads.googleads.v12.common.MetricGoal goals = 17; - - // Output only. The resource name of the long-running operation that can be used to poll - // for completion of experiment schedule or promote. The most recent long - // running operation is returned. - optional string long_running_operation = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The status of the experiment promotion process. - google.ads.googleads.v12.enums.AsyncActionStatusEnum.AsyncActionStatus promote_status = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/experiment_arm.proto b/third_party/googleapis/google/ads/googleads/v12/resources/experiment_arm.proto deleted file mode 100644 index 329691a73..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/experiment_arm.proto +++ /dev/null @@ -1,84 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ExperimentArmProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the Experiment arm resource. - -// A Google ads experiment for users to experiment changes on multiple -// campaigns, compare the performance, and apply the effective changes. -message ExperimentArm { - option (google.api.resource) = { - type: "googleads.googleapis.com/ExperimentArm" - pattern: "customers/{customer_id}/experimentArms/{trial_id}~{trial_arm_id}" - }; - - // Immutable. The resource name of the experiment arm. - // Experiment arm resource names have the form: - // - // `customers/{customer_id}/experimentArms/{TrialArm.trial_id}~{TrialArm.trial_arm_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ExperimentArm" - } - ]; - - // Immutable. The experiment to which the ExperimentArm belongs. - string experiment = 8 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Experiment" - } - ]; - - // Required. The name of the experiment arm. It must have a minimum length of 1 and - // maximum length of 1024. It must be unique under an experiment. - string name = 3 [(google.api.field_behavior) = REQUIRED]; - - // Whether this arm is a control arm. A control arm is the arm against - // which the other arms are compared. - bool control = 4; - - // Traffic split of the trial arm. The value should be between 1 and 100 - // and must total 100 between the two trial arms. - int64 traffic_split = 5; - - // List of campaigns in the trial arm. The max length is one. - repeated string campaigns = 6 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - }]; - - // Output only. The in design campaigns in the treatment experiment arm. - repeated string in_design_campaigns = 7 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/extension_feed_item.proto b/third_party/googleapis/google/ads/googleads/v12/resources/extension_feed_item.proto deleted file mode 100644 index 7717e7a28..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/extension_feed_item.proto +++ /dev/null @@ -1,150 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/criteria.proto"; -import "google/ads/googleads/v12/common/extensions.proto"; -import "google/ads/googleads/v12/enums/extension_type.proto"; -import "google/ads/googleads/v12/enums/feed_item_status.proto"; -import "google/ads/googleads/v12/enums/feed_item_target_device.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ExtensionFeedItemProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the ExtensionFeedItem resource. - -// An extension feed item. -message ExtensionFeedItem { - option (google.api.resource) = { - type: "googleads.googleapis.com/ExtensionFeedItem" - pattern: "customers/{customer_id}/extensionFeedItems/{feed_item_id}" - }; - - // Immutable. The resource name of the extension feed item. - // Extension feed item resource names have the form: - // - // `customers/{customer_id}/extensionFeedItems/{feed_item_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ExtensionFeedItem" - } - ]; - - // Output only. The ID of this feed item. Read-only. - optional int64 id = 25 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The extension type of the extension feed item. - // This field is read-only. - google.ads.googleads.v12.enums.ExtensionTypeEnum.ExtensionType extension_type = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Start time in which this feed item is effective and can begin serving. The - // time is in the customer's time zone. - // The format is "YYYY-MM-DD HH:MM:SS". - // Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - optional string start_date_time = 26; - - // End time in which this feed item is no longer effective and will stop - // serving. The time is in the customer's time zone. - // The format is "YYYY-MM-DD HH:MM:SS". - // Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - optional string end_date_time = 27; - - // List of non-overlapping schedules specifying all time intervals - // for which the feed item may serve. There can be a maximum of 6 schedules - // per day. - repeated google.ads.googleads.v12.common.AdScheduleInfo ad_schedules = 16; - - // The targeted device. - google.ads.googleads.v12.enums.FeedItemTargetDeviceEnum.FeedItemTargetDevice device = 17; - - // The targeted geo target constant. - optional string targeted_geo_target_constant = 30 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/GeoTargetConstant" - }]; - - // The targeted keyword. - google.ads.googleads.v12.common.KeywordInfo targeted_keyword = 22; - - // Output only. Status of the feed item. - // This field is read-only. - google.ads.googleads.v12.enums.FeedItemStatusEnum.FeedItemStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Extension type. - oneof extension { - // Sitelink extension. - google.ads.googleads.v12.common.SitelinkFeedItem sitelink_feed_item = 2; - - // Structured snippet extension. - google.ads.googleads.v12.common.StructuredSnippetFeedItem structured_snippet_feed_item = 3; - - // App extension. - google.ads.googleads.v12.common.AppFeedItem app_feed_item = 7; - - // Call extension. - google.ads.googleads.v12.common.CallFeedItem call_feed_item = 8; - - // Callout extension. - google.ads.googleads.v12.common.CalloutFeedItem callout_feed_item = 9; - - // Text message extension. - google.ads.googleads.v12.common.TextMessageFeedItem text_message_feed_item = 10; - - // Price extension. - google.ads.googleads.v12.common.PriceFeedItem price_feed_item = 11; - - // Promotion extension. - google.ads.googleads.v12.common.PromotionFeedItem promotion_feed_item = 12; - - // Output only. Location extension. Locations are synced from a Business Profile into a - // feed. This field is read-only. - google.ads.googleads.v12.common.LocationFeedItem location_feed_item = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Affiliate location extension. Feed locations are populated by Google Ads - // based on a chain ID. - // This field is read-only. - google.ads.googleads.v12.common.AffiliateLocationFeedItem affiliate_location_feed_item = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Hotel Callout extension. - google.ads.googleads.v12.common.HotelCalloutFeedItem hotel_callout_feed_item = 23; - - // Immutable. Advertiser provided image extension. - google.ads.googleads.v12.common.ImageFeedItem image_feed_item = 31 [(google.api.field_behavior) = IMMUTABLE]; - } - - // Targeting at either the campaign or ad group level. Feed items that target - // a campaign or ad group will only serve with that resource. - oneof serving_resource_targeting { - // The targeted campaign. - string targeted_campaign = 28 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - }]; - - // The targeted ad group. - string targeted_ad_group = 29 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - }]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/feed.proto b/third_party/googleapis/google/ads/googleads/v12/resources/feed.proto deleted file mode 100644 index d5dbcfa1f..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/feed.proto +++ /dev/null @@ -1,189 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/affiliate_location_feed_relationship_type.proto"; -import "google/ads/googleads/v12/enums/feed_attribute_type.proto"; -import "google/ads/googleads/v12/enums/feed_origin.proto"; -import "google/ads/googleads/v12/enums/feed_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "FeedProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the Feed resource. - -// A feed. -message Feed { - option (google.api.resource) = { - type: "googleads.googleapis.com/Feed" - pattern: "customers/{customer_id}/feeds/{feed_id}" - }; - - // Data used to configure a location feed populated from Business Profile. - message PlacesLocationFeedData { - // Data used for authorization using OAuth. - message OAuthInfo { - // The HTTP method used to obtain authorization. - optional string http_method = 4; - - // The HTTP request URL used to obtain authorization. - optional string http_request_url = 5; - - // The HTTP authorization header used to obtain authorization. - optional string http_authorization_header = 6; - } - - // Immutable. Required authentication token (from OAuth API) for the email. - // This field can only be specified in a create request. All its subfields - // are not selectable. - OAuthInfo oauth_info = 1 [(google.api.field_behavior) = IMMUTABLE]; - - // Email address of a Business Profile or email address of a - // manager of the Business Profile. Required. - optional string email_address = 7; - - // Plus page ID of the managed business whose locations should be used. If - // this field is not set, then all businesses accessible by the user - // (specified by email_address) are used. - // This field is mutate-only and is not selectable. - string business_account_id = 8; - - // Used to filter Business Profile listings by business name. If - // business_name_filter is set, only listings with a matching business name - // are candidates to be sync'd into FeedItems. - optional string business_name_filter = 9; - - // Used to filter Business Profile listings by categories. If entries - // exist in category_filters, only listings that belong to any of the - // categories are candidates to be sync'd into FeedItems. If no entries - // exist in category_filters, then all listings are candidates for syncing. - repeated string category_filters = 11; - - // Used to filter Business Profile listings by labels. If entries exist in - // label_filters, only listings that has any of the labels set are - // candidates to be synchronized into FeedItems. If no entries exist in - // label_filters, then all listings are candidates for syncing. - repeated string label_filters = 12; - } - - // Data used to configure an affiliate location feed populated with the - // specified chains. - message AffiliateLocationFeedData { - // The list of chains that the affiliate location feed will sync the - // locations from. - repeated int64 chain_ids = 3; - - // The relationship the chains have with the advertiser. - google.ads.googleads.v12.enums.AffiliateLocationFeedRelationshipTypeEnum.AffiliateLocationFeedRelationshipType relationship_type = 2; - } - - // Immutable. The resource name of the feed. - // Feed resource names have the form: - // - // `customers/{customer_id}/feeds/{feed_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Feed" - } - ]; - - // Output only. The ID of the feed. - // This field is read-only. - optional int64 id = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. Name of the feed. Required. - optional string name = 12 [(google.api.field_behavior) = IMMUTABLE]; - - // The Feed's attributes. Required on CREATE, unless - // system_feed_generation_data is provided, in which case Google Ads will - // update the feed with the correct attributes. - // Disallowed on UPDATE. Use attribute_operations to add new attributes. - repeated FeedAttribute attributes = 4; - - // The list of operations changing the feed attributes. Attributes can only - // be added, not removed. - repeated FeedAttributeOperation attribute_operations = 9; - - // Immutable. Specifies who manages the FeedAttributes for the Feed. - google.ads.googleads.v12.enums.FeedOriginEnum.FeedOrigin origin = 5 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. Status of the feed. - // This field is read-only. - google.ads.googleads.v12.enums.FeedStatusEnum.FeedStatus status = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The system data for the Feed. This data specifies information for - // generating the feed items of the system generated feed. - oneof system_feed_generation_data { - // Data used to configure a location feed populated from Business Profile. - PlacesLocationFeedData places_location_feed_data = 6; - - // Data used to configure an affiliate location feed populated with - // the specified chains. - AffiliateLocationFeedData affiliate_location_feed_data = 7; - } -} - -// FeedAttributes define the types of data expected to be present in a Feed. A -// single FeedAttribute specifies the expected type of the FeedItemAttributes -// with the same FeedAttributeId. Optionally, a FeedAttribute can be marked as -// being part of a FeedItem's unique key. -message FeedAttribute { - // ID of the attribute. - optional int64 id = 5; - - // The name of the attribute. Required. - optional string name = 6; - - // Data type for feed attribute. Required. - google.ads.googleads.v12.enums.FeedAttributeTypeEnum.FeedAttributeType type = 3; - - // Indicates that data corresponding to this attribute is part of a - // FeedItem's unique key. It defaults to false if it is unspecified. Note - // that a unique key is not required in a Feed's schema, in which case the - // FeedItems must be referenced by their feed_item_id. - optional bool is_part_of_key = 7; -} - -// Operation to be performed on a feed attribute list in a mutate. -message FeedAttributeOperation { - // The operator. - enum Operator { - // Unspecified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Add the attribute to the existing attributes. - ADD = 2; - } - - // Output only. Type of list operation to perform. - Operator operator = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The feed attribute being added to the list. - FeedAttribute value = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/feed_item.proto b/third_party/googleapis/google/ads/googleads/v12/resources/feed_item.proto deleted file mode 100644 index d82900125..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/feed_item.proto +++ /dev/null @@ -1,214 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/custom_parameter.proto"; -import "google/ads/googleads/v12/common/feed_common.proto"; -import "google/ads/googleads/v12/common/policy.proto"; -import "google/ads/googleads/v12/enums/feed_item_quality_approval_status.proto"; -import "google/ads/googleads/v12/enums/feed_item_quality_disapproval_reason.proto"; -import "google/ads/googleads/v12/enums/feed_item_status.proto"; -import "google/ads/googleads/v12/enums/feed_item_validation_status.proto"; -import "google/ads/googleads/v12/enums/geo_targeting_restriction.proto"; -import "google/ads/googleads/v12/enums/placeholder_type.proto"; -import "google/ads/googleads/v12/enums/policy_approval_status.proto"; -import "google/ads/googleads/v12/enums/policy_review_status.proto"; -import "google/ads/googleads/v12/errors/feed_item_validation_error.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the FeedItem resource. - -// A feed item. -message FeedItem { - option (google.api.resource) = { - type: "googleads.googleapis.com/FeedItem" - pattern: "customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}" - }; - - // Immutable. The resource name of the feed item. - // Feed item resource names have the form: - // - // `customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItem" - } - ]; - - // Immutable. The feed to which this feed item belongs. - optional string feed = 11 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Feed" - } - ]; - - // Output only. The ID of this feed item. - optional int64 id = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Start time in which this feed item is effective and can begin serving. The - // time is in the customer's time zone. - // The format is "YYYY-MM-DD HH:MM:SS". - // Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - optional string start_date_time = 13; - - // End time in which this feed item is no longer effective and will stop - // serving. The time is in the customer's time zone. - // The format is "YYYY-MM-DD HH:MM:SS". - // Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - optional string end_date_time = 14; - - // The feed item's attribute values. - repeated FeedItemAttributeValue attribute_values = 6; - - // Geo targeting restriction specifies the type of location that can be used - // for targeting. - google.ads.googleads.v12.enums.GeoTargetingRestrictionEnum.GeoTargetingRestriction geo_targeting_restriction = 7; - - // The list of mappings used to substitute custom parameter tags in a - // `tracking_url_template`, `final_urls`, or `mobile_final_urls`. - repeated google.ads.googleads.v12.common.CustomParameter url_custom_parameters = 8; - - // Output only. Status of the feed item. - // This field is read-only. - google.ads.googleads.v12.enums.FeedItemStatusEnum.FeedItemStatus status = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. List of info about a feed item's validation and approval state for active - // feed mappings. There will be an entry in the list for each type of feed - // mapping associated with the feed, for example, a feed with a sitelink and a - // call feed mapping would cause every feed item associated with that feed to - // have an entry in this list for both sitelink and call. This field is - // read-only. - repeated FeedItemPlaceholderPolicyInfo policy_infos = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; -} - -// A feed item attribute value. -message FeedItemAttributeValue { - // Id of the feed attribute for which the value is associated with. - optional int64 feed_attribute_id = 11; - - // Int64 value. Should be set if feed_attribute_id refers to a feed attribute - // of type INT64. - optional int64 integer_value = 12; - - // Bool value. Should be set if feed_attribute_id refers to a feed attribute - // of type BOOLEAN. - optional bool boolean_value = 13; - - // String value. Should be set if feed_attribute_id refers to a feed attribute - // of type STRING, URL or DATE_TIME. - // For STRING the maximum length is 1500 characters. For URL the maximum - // length is 2076 characters. For DATE_TIME the string must be in the format - // "YYYYMMDD HHMMSS". - optional string string_value = 14; - - // Double value. Should be set if feed_attribute_id refers to a feed attribute - // of type DOUBLE. - optional double double_value = 15; - - // Price value. Should be set if feed_attribute_id refers to a feed attribute - // of type PRICE. - google.ads.googleads.v12.common.Money price_value = 6; - - // Repeated int64 value. Should be set if feed_attribute_id refers to a feed - // attribute of type INT64_LIST. - repeated int64 integer_values = 16; - - // Repeated bool value. Should be set if feed_attribute_id refers to a feed - // attribute of type BOOLEAN_LIST. - repeated bool boolean_values = 17; - - // Repeated string value. Should be set if feed_attribute_id refers to a feed - // attribute of type STRING_LIST, URL_LIST or DATE_TIME_LIST. - // For STRING_LIST and URL_LIST the total size of the list in bytes may not - // exceed 3000. For DATE_TIME_LIST the number of elements may not exceed 200. - // - // For STRING_LIST the maximum length of each string element is 1500 - // characters. For URL_LIST the maximum length is 2076 characters. For - // DATE_TIME the format of the string must be the same as start and end time - // for the feed item. - repeated string string_values = 18; - - // Repeated double value. Should be set if feed_attribute_id refers to a feed - // attribute of type DOUBLE_LIST. - repeated double double_values = 19; -} - -// Policy, validation, and quality approval info for a feed item for the -// specified placeholder type. -message FeedItemPlaceholderPolicyInfo { - // Output only. The placeholder type. - google.ads.googleads.v12.enums.PlaceholderTypeEnum.PlaceholderType placeholder_type_enum = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The FeedMapping that contains the placeholder type. - optional string feed_mapping_resource_name = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Where the placeholder type is in the review process. - google.ads.googleads.v12.enums.PolicyReviewStatusEnum.PolicyReviewStatus review_status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The overall approval status of the placeholder type, calculated based on - // the status of its individual policy topic entries. - google.ads.googleads.v12.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The list of policy findings for the placeholder type. - repeated google.ads.googleads.v12.common.PolicyTopicEntry policy_topic_entries = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The validation status of the palceholder type. - google.ads.googleads.v12.enums.FeedItemValidationStatusEnum.FeedItemValidationStatus validation_status = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. List of placeholder type validation errors. - repeated FeedItemValidationError validation_errors = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Placeholder type quality evaluation approval status. - google.ads.googleads.v12.enums.FeedItemQualityApprovalStatusEnum.FeedItemQualityApprovalStatus quality_approval_status = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. List of placeholder type quality evaluation disapproval reasons. - repeated google.ads.googleads.v12.enums.FeedItemQualityDisapprovalReasonEnum.FeedItemQualityDisapprovalReason quality_disapproval_reasons = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; -} - -// Stores a validation error and the set of offending feed attributes which -// together are responsible for causing a feed item validation error. -message FeedItemValidationError { - // Output only. Error code indicating what validation error was triggered. The description - // of the error can be found in the 'description' field. - google.ads.googleads.v12.errors.FeedItemValidationErrorEnum.FeedItemValidationError validation_error = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The description of the validation error. - optional string description = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set of feed attributes in the feed item flagged during validation. If - // empty, no specific feed attributes can be associated with the error - // (for example, error across the entire feed item). - repeated int64 feed_attribute_ids = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Any extra information related to this error which is not captured by - // validation_error and feed_attribute_id (for example, placeholder field IDs - // when feed_attribute_id is not mapped). Note that extra_info is not - // localized. - optional string extra_info = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/feed_item_set.proto b/third_party/googleapis/google/ads/googleads/v12/resources/feed_item_set.proto deleted file mode 100644 index ac77d1586..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/feed_item_set.proto +++ /dev/null @@ -1,83 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/feed_item_set_filter_type_infos.proto"; -import "google/ads/googleads/v12/enums/feed_item_set_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemSetProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Represents a set of feed items. The set can be used and shared among certain -// feed item features. For instance, the set can be referenced within the -// matching functions of CustomerFeed, CampaignFeed, and AdGroupFeed. -message FeedItemSet { - option (google.api.resource) = { - type: "googleads.googleapis.com/FeedItemSet" - pattern: "customers/{customer_id}/feedItemSets/{feed_id}~{feed_item_set_id}" - }; - - // Immutable. The resource name of the feed item set. - // Feed item set resource names have the form: - // `customers/{customer_id}/feedItemSets/{feed_id}~{feed_item_set_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItemSet" - } - ]; - - // Immutable. The resource name of the feed containing the feed items in the set. - // Immutable. Required. - string feed = 2 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Feed" - } - ]; - - // Output only. ID of the set. - int64 feed_item_set_id = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Name of the set. Must be unique within the account. - string display_name = 4; - - // Output only. Status of the feed item set. - // This field is read-only. - google.ads.googleads.v12.enums.FeedItemSetStatusEnum.FeedItemSetStatus status = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Represents a filter on locations in a feed item set. - // Only applicable if the parent Feed of the FeedItemSet is a LOCATION feed. - oneof dynamic_set_filter { - // Filter for dynamic location set. - // It is only used for sets of locations. - google.ads.googleads.v12.common.DynamicLocationSetFilter dynamic_location_set_filter = 5; - - // Filter for dynamic affiliate location set. - // This field doesn't apply generally to feed item sets. It is only used for - // sets of affiliate locations. - google.ads.googleads.v12.common.DynamicAffiliateLocationSetFilter dynamic_affiliate_location_set_filter = 6; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/feed_item_set_link.proto b/third_party/googleapis/google/ads/googleads/v12/resources/feed_item_set_link.proto deleted file mode 100644 index 3090493b7..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/feed_item_set_link.proto +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemSetLinkProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the FeedItemSetLink resource. - -// Represents a link between a FeedItem and a FeedItemSet. -message FeedItemSetLink { - option (google.api.resource) = { - type: "googleads.googleapis.com/FeedItemSetLink" - pattern: "customers/{customer_id}/feedItemSetLinks/{feed_id}~{feed_item_set_id}~{feed_item_id}" - }; - - // Immutable. The resource name of the feed item set link. - // Feed item set link resource names have the form: - // `customers/{customer_id}/feedItemSetLinks/{feed_id}~{feed_item_set_id}~{feed_item_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItemSetLink" - } - ]; - - // Immutable. The linked FeedItem. - string feed_item = 2 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItem" - } - ]; - - // Immutable. The linked FeedItemSet. - string feed_item_set = 3 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItemSet" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/feed_item_target.proto b/third_party/googleapis/google/ads/googleads/v12/resources/feed_item_target.proto deleted file mode 100644 index 6cb10da1b..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/feed_item_target.proto +++ /dev/null @@ -1,107 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/criteria.proto"; -import "google/ads/googleads/v12/enums/feed_item_target_device.proto"; -import "google/ads/googleads/v12/enums/feed_item_target_status.proto"; -import "google/ads/googleads/v12/enums/feed_item_target_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemTargetProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the FeedItemTarget resource. - -// A feed item target. -message FeedItemTarget { - option (google.api.resource) = { - type: "googleads.googleapis.com/FeedItemTarget" - pattern: "customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id}" - }; - - // Immutable. The resource name of the feed item target. - // Feed item target resource names have the form: - // `customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItemTarget" - } - ]; - - // Immutable. The feed item to which this feed item target belongs. - optional string feed_item = 12 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItem" - } - ]; - - // Output only. The target type of this feed item target. This field is read-only. - google.ads.googleads.v12.enums.FeedItemTargetTypeEnum.FeedItemTargetType feed_item_target_type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The ID of the targeted resource. This field is read-only. - optional int64 feed_item_target_id = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Status of the feed item target. - // This field is read-only. - google.ads.googleads.v12.enums.FeedItemTargetStatusEnum.FeedItemTargetStatus status = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The targeted resource. - oneof target { - // Immutable. The targeted campaign. - string campaign = 14 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Immutable. The targeted ad group. - string ad_group = 15 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Immutable. The targeted keyword. - google.ads.googleads.v12.common.KeywordInfo keyword = 7 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The targeted geo target constant resource name. - string geo_target_constant = 16 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/GeoTargetConstant" - } - ]; - - // Immutable. The targeted device. - google.ads.googleads.v12.enums.FeedItemTargetDeviceEnum.FeedItemTargetDevice device = 9 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The targeted schedule. - google.ads.googleads.v12.common.AdScheduleInfo ad_schedule = 10 [(google.api.field_behavior) = IMMUTABLE]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/feed_mapping.proto b/third_party/googleapis/google/ads/googleads/v12/resources/feed_mapping.proto deleted file mode 100644 index e06b1e5c1..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/feed_mapping.proto +++ /dev/null @@ -1,188 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/ad_customizer_placeholder_field.proto"; -import "google/ads/googleads/v12/enums/affiliate_location_placeholder_field.proto"; -import "google/ads/googleads/v12/enums/app_placeholder_field.proto"; -import "google/ads/googleads/v12/enums/call_placeholder_field.proto"; -import "google/ads/googleads/v12/enums/callout_placeholder_field.proto"; -import "google/ads/googleads/v12/enums/custom_placeholder_field.proto"; -import "google/ads/googleads/v12/enums/dsa_page_feed_criterion_field.proto"; -import "google/ads/googleads/v12/enums/education_placeholder_field.proto"; -import "google/ads/googleads/v12/enums/feed_mapping_criterion_type.proto"; -import "google/ads/googleads/v12/enums/feed_mapping_status.proto"; -import "google/ads/googleads/v12/enums/flight_placeholder_field.proto"; -import "google/ads/googleads/v12/enums/hotel_placeholder_field.proto"; -import "google/ads/googleads/v12/enums/image_placeholder_field.proto"; -import "google/ads/googleads/v12/enums/job_placeholder_field.proto"; -import "google/ads/googleads/v12/enums/local_placeholder_field.proto"; -import "google/ads/googleads/v12/enums/location_extension_targeting_criterion_field.proto"; -import "google/ads/googleads/v12/enums/location_placeholder_field.proto"; -import "google/ads/googleads/v12/enums/message_placeholder_field.proto"; -import "google/ads/googleads/v12/enums/placeholder_type.proto"; -import "google/ads/googleads/v12/enums/price_placeholder_field.proto"; -import "google/ads/googleads/v12/enums/promotion_placeholder_field.proto"; -import "google/ads/googleads/v12/enums/real_estate_placeholder_field.proto"; -import "google/ads/googleads/v12/enums/sitelink_placeholder_field.proto"; -import "google/ads/googleads/v12/enums/structured_snippet_placeholder_field.proto"; -import "google/ads/googleads/v12/enums/travel_placeholder_field.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "FeedMappingProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the FeedMapping resource. - -// A feed mapping. -message FeedMapping { - option (google.api.resource) = { - type: "googleads.googleapis.com/FeedMapping" - pattern: "customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id}" - }; - - // Immutable. The resource name of the feed mapping. - // Feed mapping resource names have the form: - // - // `customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedMapping" - } - ]; - - // Immutable. The feed of this feed mapping. - optional string feed = 7 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Feed" - } - ]; - - // Immutable. Feed attributes to field mappings. These mappings are a one-to-many - // relationship meaning that 1 feed attribute can be used to populate - // multiple placeholder fields, but 1 placeholder field can only draw - // data from 1 feed attribute. Ad Customizer is an exception, 1 placeholder - // field can be mapped to multiple feed attributes. Required. - repeated AttributeFieldMapping attribute_field_mappings = 5 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. Status of the feed mapping. - // This field is read-only. - google.ads.googleads.v12.enums.FeedMappingStatusEnum.FeedMappingStatus status = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Feed mapping target. Can be either a placeholder or a criterion. For a - // given feed, the active FeedMappings must have unique targets. Required. - oneof target { - // Immutable. The placeholder type of this mapping (for example, if the mapping maps - // feed attributes to placeholder fields). - google.ads.googleads.v12.enums.PlaceholderTypeEnum.PlaceholderType placeholder_type = 3 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The criterion type of this mapping (for example, if the mapping maps feed - // attributes to criterion fields). - google.ads.googleads.v12.enums.FeedMappingCriterionTypeEnum.FeedMappingCriterionType criterion_type = 4 [(google.api.field_behavior) = IMMUTABLE]; - } -} - -// Maps from feed attribute id to a placeholder or criterion field id. -message AttributeFieldMapping { - // Immutable. Feed attribute from which to map. - optional int64 feed_attribute_id = 24 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The placeholder field ID. If a placeholder field enum is not published in - // the current API version, then this field will be populated and the field - // oneof will be empty. - // This field is read-only. - optional int64 field_id = 25 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Placeholder or criterion field to be populated using data from - // the above feed attribute. Required. - oneof field { - // Immutable. Sitelink Placeholder Fields. - google.ads.googleads.v12.enums.SitelinkPlaceholderFieldEnum.SitelinkPlaceholderField sitelink_field = 3 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Call Placeholder Fields. - google.ads.googleads.v12.enums.CallPlaceholderFieldEnum.CallPlaceholderField call_field = 4 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. App Placeholder Fields. - google.ads.googleads.v12.enums.AppPlaceholderFieldEnum.AppPlaceholderField app_field = 5 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. Location Placeholder Fields. This field is read-only. - google.ads.googleads.v12.enums.LocationPlaceholderFieldEnum.LocationPlaceholderField location_field = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Affiliate Location Placeholder Fields. This field is read-only. - google.ads.googleads.v12.enums.AffiliateLocationPlaceholderFieldEnum.AffiliateLocationPlaceholderField affiliate_location_field = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. Callout Placeholder Fields. - google.ads.googleads.v12.enums.CalloutPlaceholderFieldEnum.CalloutPlaceholderField callout_field = 8 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Structured Snippet Placeholder Fields. - google.ads.googleads.v12.enums.StructuredSnippetPlaceholderFieldEnum.StructuredSnippetPlaceholderField structured_snippet_field = 9 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Message Placeholder Fields. - google.ads.googleads.v12.enums.MessagePlaceholderFieldEnum.MessagePlaceholderField message_field = 10 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Price Placeholder Fields. - google.ads.googleads.v12.enums.PricePlaceholderFieldEnum.PricePlaceholderField price_field = 11 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Promotion Placeholder Fields. - google.ads.googleads.v12.enums.PromotionPlaceholderFieldEnum.PromotionPlaceholderField promotion_field = 12 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Ad Customizer Placeholder Fields - google.ads.googleads.v12.enums.AdCustomizerPlaceholderFieldEnum.AdCustomizerPlaceholderField ad_customizer_field = 13 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Dynamic Search Ad Page Feed Fields. - google.ads.googleads.v12.enums.DsaPageFeedCriterionFieldEnum.DsaPageFeedCriterionField dsa_page_feed_field = 14 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Location Target Fields. - google.ads.googleads.v12.enums.LocationExtensionTargetingCriterionFieldEnum.LocationExtensionTargetingCriterionField location_extension_targeting_field = 15 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Education Placeholder Fields - google.ads.googleads.v12.enums.EducationPlaceholderFieldEnum.EducationPlaceholderField education_field = 16 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Flight Placeholder Fields - google.ads.googleads.v12.enums.FlightPlaceholderFieldEnum.FlightPlaceholderField flight_field = 17 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Custom Placeholder Fields - google.ads.googleads.v12.enums.CustomPlaceholderFieldEnum.CustomPlaceholderField custom_field = 18 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Hotel Placeholder Fields - google.ads.googleads.v12.enums.HotelPlaceholderFieldEnum.HotelPlaceholderField hotel_field = 19 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Real Estate Placeholder Fields - google.ads.googleads.v12.enums.RealEstatePlaceholderFieldEnum.RealEstatePlaceholderField real_estate_field = 20 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Travel Placeholder Fields - google.ads.googleads.v12.enums.TravelPlaceholderFieldEnum.TravelPlaceholderField travel_field = 21 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Local Placeholder Fields - google.ads.googleads.v12.enums.LocalPlaceholderFieldEnum.LocalPlaceholderField local_field = 22 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Job Placeholder Fields - google.ads.googleads.v12.enums.JobPlaceholderFieldEnum.JobPlaceholderField job_field = 23 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Image Placeholder Fields - google.ads.googleads.v12.enums.ImagePlaceholderFieldEnum.ImagePlaceholderField image_field = 26 [(google.api.field_behavior) = IMMUTABLE]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/feed_placeholder_view.proto b/third_party/googleapis/google/ads/googleads/v12/resources/feed_placeholder_view.proto deleted file mode 100644 index 35184cbaf..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/feed_placeholder_view.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/placeholder_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "FeedPlaceholderViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the FeedPlaceholderView resource. - -// A feed placeholder view. -message FeedPlaceholderView { - option (google.api.resource) = { - type: "googleads.googleapis.com/FeedPlaceholderView" - pattern: "customers/{customer_id}/feedPlaceholderViews/{placeholder_type}" - }; - - // Output only. The resource name of the feed placeholder view. - // Feed placeholder view resource names have the form: - // - // `customers/{customer_id}/feedPlaceholderViews/{placeholder_type}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedPlaceholderView" - } - ]; - - // Output only. The placeholder type of the feed placeholder view. - google.ads.googleads.v12.enums.PlaceholderTypeEnum.PlaceholderType placeholder_type = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/gender_view.proto b/third_party/googleapis/google/ads/googleads/v12/resources/gender_view.proto deleted file mode 100644 index 4e4a34a78..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/gender_view.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "GenderViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the gender view resource. - -// A gender view. -message GenderView { - option (google.api.resource) = { - type: "googleads.googleapis.com/GenderView" - pattern: "customers/{customer_id}/genderViews/{ad_group_id}~{criterion_id}" - }; - - // Output only. The resource name of the gender view. - // Gender view resource names have the form: - // - // `customers/{customer_id}/genderViews/{ad_group_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/GenderView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/geo_target_constant.proto b/third_party/googleapis/google/ads/googleads/v12/resources/geo_target_constant.proto deleted file mode 100644 index fdbfc4542..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/geo_target_constant.proto +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/geo_target_constant_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "GeoTargetConstantProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the geo target constant resource. - -// A geo target constant. -message GeoTargetConstant { - option (google.api.resource) = { - type: "googleads.googleapis.com/GeoTargetConstant" - pattern: "geoTargetConstants/{criterion_id}" - }; - - // Output only. The resource name of the geo target constant. - // Geo target constant resource names have the form: - // - // `geoTargetConstants/{geo_target_constant_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/GeoTargetConstant" - } - ]; - - // Output only. The ID of the geo target constant. - optional int64 id = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Geo target constant English name. - optional string name = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The ISO-3166-1 alpha-2 country code that is associated with the target. - optional string country_code = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Geo target constant target type. - optional string target_type = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Geo target constant status. - google.ads.googleads.v12.enums.GeoTargetConstantStatusEnum.GeoTargetConstantStatus status = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The fully qualified English name, consisting of the target's name and that - // of its parent and country. - optional string canonical_name = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource name of the parent geo target constant. - // Geo target constant resource names have the form: - // - // `geoTargetConstants/{parent_geo_target_constant_id}` - optional string parent_geo_target = 9 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/GeoTargetConstant" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/geographic_view.proto b/third_party/googleapis/google/ads/googleads/v12/resources/geographic_view.proto deleted file mode 100644 index 4863e7de7..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/geographic_view.proto +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/geo_targeting_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "GeographicViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the geographic view resource. - -// A geographic view. -// -// Geographic View includes all metrics aggregated at the country level, -// one row per country. It reports metrics at either actual physical location of -// the user or an area of interest. If other segment fields are used, you may -// get more than one row per country. -message GeographicView { - option (google.api.resource) = { - type: "googleads.googleapis.com/GeographicView" - pattern: "customers/{customer_id}/geographicViews/{country_criterion_id}~{location_type}" - }; - - // Output only. The resource name of the geographic view. - // Geographic view resource names have the form: - // - // `customers/{customer_id}/geographicViews/{country_criterion_id}~{location_type}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/GeographicView" - } - ]; - - // Output only. Type of the geo targeting of the campaign. - google.ads.googleads.v12.enums.GeoTargetingTypeEnum.GeoTargetingType location_type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Criterion Id for the country. - optional int64 country_criterion_id = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/google_ads_field.proto b/third_party/googleapis/google/ads/googleads/v12/resources/google_ads_field.proto deleted file mode 100644 index f80557e76..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/google_ads_field.proto +++ /dev/null @@ -1,107 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/google_ads_field_category.proto"; -import "google/ads/googleads/v12/enums/google_ads_field_data_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "GoogleAdsFieldProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the Google Ads Field resource. - -// A field or resource (artifact) used by GoogleAdsService. -message GoogleAdsField { - option (google.api.resource) = { - type: "googleads.googleapis.com/GoogleAdsField" - pattern: "googleAdsFields/{google_ads_field}" - }; - - // Output only. The resource name of the artifact. - // Artifact resource names have the form: - // - // `googleAdsFields/{name}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/GoogleAdsField" - } - ]; - - // Output only. The name of the artifact. - optional string name = 21 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The category of the artifact. - google.ads.googleads.v12.enums.GoogleAdsFieldCategoryEnum.GoogleAdsFieldCategory category = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Whether the artifact can be used in a SELECT clause in search - // queries. - optional bool selectable = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Whether the artifact can be used in a WHERE clause in search - // queries. - optional bool filterable = 23 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Whether the artifact can be used in a ORDER BY clause in search - // queries. - optional bool sortable = 24 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The names of all resources, segments, and metrics that are selectable with - // the described artifact. - repeated string selectable_with = 25 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The names of all resources that are selectable with the described - // artifact. Fields from these resources do not segment metrics when included - // in search queries. - // - // This field is only set for artifacts whose category is RESOURCE. - repeated string attribute_resources = 26 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. This field lists the names of all metrics that are selectable with the - // described artifact when it is used in the FROM clause. - // It is only set for artifacts whose category is RESOURCE. - repeated string metrics = 27 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. This field lists the names of all artifacts, whether a segment or another - // resource, that segment metrics when included in search queries and when the - // described artifact is used in the FROM clause. It is only set for artifacts - // whose category is RESOURCE. - repeated string segments = 28 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Values the artifact can assume if it is a field of type ENUM. - // - // This field is only set for artifacts of category SEGMENT or ATTRIBUTE. - repeated string enum_values = 29 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. This field determines the operators that can be used with the artifact - // in WHERE clauses. - google.ads.googleads.v12.enums.GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType data_type = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The URL of proto describing the artifact's data type. - optional string type_url = 30 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Whether the field artifact is repeated. - optional bool is_repeated = 31 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/group_placement_view.proto b/third_party/googleapis/google/ads/googleads/v12/resources/group_placement_view.proto deleted file mode 100644 index dd28fea9a..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/group_placement_view.proto +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/placement_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "GroupPlacementViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the group placement view resource. - -// A group placement view. -message GroupPlacementView { - option (google.api.resource) = { - type: "googleads.googleapis.com/GroupPlacementView" - pattern: "customers/{customer_id}/groupPlacementViews/{ad_group_id}~{base64_placement}" - }; - - // Output only. The resource name of the group placement view. - // Group placement view resource names have the form: - // - // `customers/{customer_id}/groupPlacementViews/{ad_group_id}~{base64_placement}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/GroupPlacementView" - } - ]; - - // Output only. The automatic placement string at group level, e. g. web domain, mobile - // app ID, or a YouTube channel ID. - optional string placement = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Domain name for websites and YouTube channel name for YouTube channels. - optional string display_name = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. URL of the group placement, for example, domain, link to the mobile - // application in app store, or a YouTube channel URL. - optional string target_url = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Type of the placement, for example, Website, YouTube Channel, Mobile - // Application. - google.ads.googleads.v12.enums.PlacementTypeEnum.PlacementType placement_type = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/hotel_group_view.proto b/third_party/googleapis/google/ads/googleads/v12/resources/hotel_group_view.proto deleted file mode 100644 index b41a5d885..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/hotel_group_view.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "HotelGroupViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the hotel group view resource. - -// A hotel group view. -message HotelGroupView { - option (google.api.resource) = { - type: "googleads.googleapis.com/HotelGroupView" - pattern: "customers/{customer_id}/hotelGroupViews/{ad_group_id}~{criterion_id}" - }; - - // Output only. The resource name of the hotel group view. - // Hotel Group view resource names have the form: - // - // `customers/{customer_id}/hotelGroupViews/{ad_group_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/HotelGroupView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/hotel_performance_view.proto b/third_party/googleapis/google/ads/googleads/v12/resources/hotel_performance_view.proto deleted file mode 100644 index d27f87a91..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/hotel_performance_view.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "HotelPerformanceViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the hotel performance view resource. - -// A hotel performance view. -message HotelPerformanceView { - option (google.api.resource) = { - type: "googleads.googleapis.com/HotelPerformanceView" - pattern: "customers/{customer_id}/hotelPerformanceView" - }; - - // Output only. The resource name of the hotel performance view. - // Hotel performance view resource names have the form: - // - // `customers/{customer_id}/hotelPerformanceView` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/HotelPerformanceView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/hotel_reconciliation.proto b/third_party/googleapis/google/ads/googleads/v12/resources/hotel_reconciliation.proto deleted file mode 100644 index 649c2143c..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/hotel_reconciliation.proto +++ /dev/null @@ -1,116 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/hotel_reconciliation_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "HotelReconciliationProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the hotel reconciliation resource. - -// A hotel reconciliation. It contains conversion information from Hotel -// bookings to reconcile with advertiser records. These rows may be updated -// or canceled before billing through Bulk Uploads. -message HotelReconciliation { - option (google.api.resource) = { - type: "googleads.googleapis.com/HotelReconciliation" - pattern: "customers/{customer_id}/hotelReconciliations/{commission_id}" - }; - - // Immutable. The resource name of the hotel reconciliation. - // Hotel reconciliation resource names have the form: - // - // `customers/{customer_id}/hotelReconciliations/{commission_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/HotelReconciliation" - } - ]; - - // Required. Output only. The commission ID is Google's ID for this booking. Every booking event is - // assigned a Commission ID to help you match it to a guest stay. - string commission_id = 2 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = OUTPUT_ONLY - ]; - - // Output only. The order ID is the identifier for this booking as provided in the - // 'transaction_id' parameter of the conversion tracking tag. - string order_id = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource name for the Campaign associated with the conversion. - string campaign = 11 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Output only. Identifier for the Hotel Center account which provides the rates for the - // Hotel campaign. - int64 hotel_center_id = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Unique identifier for the booked property, as provided in the Hotel Center - // feed. The hotel ID comes from the 'ID' parameter of the conversion tracking - // tag. - string hotel_id = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Check-in date recorded when the booking is made. If the check-in date is - // modified at reconciliation, the revised date will then take the place of - // the original date in this column. Format is YYYY-MM-DD. - string check_in_date = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Check-out date recorded when the booking is made. If the check-in date is - // modified at reconciliation, the revised date will then take the place of - // the original date in this column. Format is YYYY-MM-DD. - string check_out_date = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Required. Output only. Reconciled value is the final value of a booking as paid by the guest. If - // original booking value changes for any reason, such as itinerary changes or - // room upsells, the reconciled value should be the full final amount - // collected. If a booking is canceled, the reconciled value should include - // the value of any cancellation fees or non-refundable nights charged. Value - // is in millionths of the base unit currency. For example, $12.35 would be - // represented as 12350000. Currency unit is in the default customer currency. - int64 reconciled_value_micros = 8 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = OUTPUT_ONLY - ]; - - // Output only. Whether a given booking has been billed. Once billed, a booking can't be - // modified. - bool billed = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Required. Output only. Current status of a booking with regards to reconciliation and billing. - // Bookings should be reconciled within 45 days after the check-out date. - // Any booking not reconciled within 45 days will be billed at its original - // value. - google.ads.googleads.v12.enums.HotelReconciliationStatusEnum.HotelReconciliationStatus status = 10 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = OUTPUT_ONLY - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/income_range_view.proto b/third_party/googleapis/google/ads/googleads/v12/resources/income_range_view.proto deleted file mode 100644 index bdddaaba6..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/income_range_view.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "IncomeRangeViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the income range view resource. - -// An income range view. -message IncomeRangeView { - option (google.api.resource) = { - type: "googleads.googleapis.com/IncomeRangeView" - pattern: "customers/{customer_id}/incomeRangeViews/{ad_group_id}~{criterion_id}" - }; - - // Output only. The resource name of the income range view. - // Income range view resource names have the form: - // - // `customers/{customer_id}/incomeRangeViews/{ad_group_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/IncomeRangeView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/invoice.proto b/third_party/googleapis/google/ads/googleads/v12/resources/invoice.proto deleted file mode 100644 index 6c3dd7e22..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/invoice.proto +++ /dev/null @@ -1,282 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/dates.proto"; -import "google/ads/googleads/v12/enums/invoice_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "InvoiceProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the Invoice resource. - -// An invoice. All invoice information is snapshotted to match the PDF invoice. -// For invoices older than the launch of InvoiceService, the snapshotted -// information may not match the PDF invoice. -message Invoice { - option (google.api.resource) = { - type: "googleads.googleapis.com/Invoice" - pattern: "customers/{customer_id}/invoices/{invoice_id}" - }; - - // Represents a summarized view at account level. - // AccountSummary fields are accessible only to customers on the allow-list. - message AccountSummary { - // Output only. The account associated with the account summary. - optional string customer = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Pretax billing correction subtotal amount, in micros. - optional int64 billing_correction_subtotal_amount_micros = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Tax on billing correction, in micros. - optional int64 billing_correction_tax_amount_micros = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Total billing correction amount, in micros. - optional int64 billing_correction_total_amount_micros = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Pretax coupon adjustment subtotal amount, in micros. - optional int64 coupon_adjustment_subtotal_amount_micros = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Tax on coupon adjustment, in micros. - optional int64 coupon_adjustment_tax_amount_micros = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Total coupon adjustment amount, in micros. - optional int64 coupon_adjustment_total_amount_micros = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Pretax excess credit adjustment subtotal amount, in micros. - optional int64 excess_credit_adjustment_subtotal_amount_micros = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Tax on excess credit adjustment, in micros. - optional int64 excess_credit_adjustment_tax_amount_micros = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Total excess credit adjustment amount, in micros. - optional int64 excess_credit_adjustment_total_amount_micros = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Pretax regulatory costs subtotal amount, in micros. - optional int64 regulatory_costs_subtotal_amount_micros = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Tax on regulatory costs, in micros. - optional int64 regulatory_costs_tax_amount_micros = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Total regulatory costs amount, in micros. - optional int64 regulatory_costs_total_amount_micros = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Total pretax subtotal amount attributable to the account during the - // service period, in micros. - optional int64 subtotal_amount_micros = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Total tax amount attributable to the account during the service period, - // in micros. - optional int64 tax_amount_micros = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Total amount attributable to the account during the service period, in - // micros. This equals the sum of the subtotal_amount_micros and - // tax_amount_micros. - optional int64 total_amount_micros = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Represents a summarized account budget billable cost. - message AccountBudgetSummary { - // Output only. The resource name of the customer associated with this account budget. - // This contains the customer ID, which appears on the invoice PDF as - // "Account ID". - // Customer resource names have the form: - // - // `customers/{customer_id}` - optional string customer = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The descriptive name of the account budget's customer. It appears on the - // invoice PDF as "Account". - optional string customer_descriptive_name = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource name of the account budget associated with this summarized - // billable cost. - // AccountBudget resource names have the form: - // - // `customers/{customer_id}/accountBudgets/{account_budget_id}` - optional string account_budget = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The name of the account budget. It appears on the invoice PDF as "Account - // budget". - optional string account_budget_name = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The purchase order number of the account budget. It appears on the - // invoice PDF as "Purchase order". - optional string purchase_order_number = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The pretax subtotal amount attributable to this budget during the service - // period, in micros. - optional int64 subtotal_amount_micros = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The tax amount attributable to this budget during the service period, in - // micros. - optional int64 tax_amount_micros = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The total amount attributable to this budget during the service period, - // in micros. This equals the sum of the account budget subtotal amount and - // the account budget tax amount. - optional int64 total_amount_micros = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The billable activity date range of the account budget, within the - // service date range of this invoice. The end date is inclusive. This can - // be different from the account budget's start and end time. - google.ads.googleads.v12.common.DateRange billable_activity_date_range = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Accessible only to customers on the allow-list. - // The pretax served amount attributable to this budget during the service - // period, in micros. This is only useful to reconcile invoice and delivery - // data. - optional int64 served_amount_micros = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Accessible only to customers on the allow-list. - // The pretax billed amount attributable to this budget during the - // service period, in micros. This does not account for any adjustments. - optional int64 billed_amount_micros = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Accessible only to customers on the allow-list. - // The pretax overdelivery amount attributable to this budget during the - // service period, in micros (negative value). - optional int64 overdelivery_amount_micros = 20 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Accessible only to customers on the allow-list. - // The pretax invalid activity amount attributable to this budget in - // previous months, in micros (negative value). - optional int64 invalid_activity_amount_micros = 21 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Output only. The resource name of the invoice. Multiple customers can share a given - // invoice, so multiple resource names may point to the same invoice. - // Invoice resource names have the form: - // - // `customers/{customer_id}/invoices/{invoice_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Invoice" - } - ]; - - // Output only. The ID of the invoice. It appears on the invoice PDF as "Invoice number". - optional string id = 25 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The type of invoice. - google.ads.googleads.v12.enums.InvoiceTypeEnum.InvoiceType type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource name of this invoice's billing setup. - // - // `customers/{customer_id}/billingSetups/{billing_setup_id}` - optional string billing_setup = 26 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. A 16 digit ID used to identify the payments account associated with the - // billing setup, for example, "1234-5678-9012-3456". It appears on the - // invoice PDF as "Billing Account Number". - optional string payments_account_id = 27 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. A 12 digit ID used to identify the payments profile associated with the - // billing setup, for example, "1234-5678-9012". It appears on the invoice PDF - // as "Billing ID". - optional string payments_profile_id = 28 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The issue date in yyyy-mm-dd format. It appears on the invoice PDF as - // either "Issue date" or "Invoice date". - optional string issue_date = 29 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The due date in yyyy-mm-dd format. - optional string due_date = 30 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The service period date range of this invoice. The end date is inclusive. - google.ads.googleads.v12.common.DateRange service_date_range = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The currency code. All costs are returned in this currency. A subset of the - // currency codes derived from the ISO 4217 standard is supported. - optional string currency_code = 31 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The pretax subtotal amount of invoice level adjustments, in micros. - int64 adjustments_subtotal_amount_micros = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The sum of taxes on the invoice level adjustments, in micros. - int64 adjustments_tax_amount_micros = 20 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The total amount of invoice level adjustments, in micros. - int64 adjustments_total_amount_micros = 21 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The pretax subtotal amount of invoice level regulatory costs, in micros. - int64 regulatory_costs_subtotal_amount_micros = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The sum of taxes on the invoice level regulatory costs, in micros. - int64 regulatory_costs_tax_amount_micros = 23 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The total amount of invoice level regulatory costs, in micros. - int64 regulatory_costs_total_amount_micros = 24 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The pretax subtotal amount, in micros. This equals the - // sum of the AccountBudgetSummary subtotal amounts, - // Invoice.adjustments_subtotal_amount_micros, and - // Invoice.regulatory_costs_subtotal_amount_micros. - // Starting with v6, the Invoice.regulatory_costs_subtotal_amount_micros is no - // longer included. - optional int64 subtotal_amount_micros = 33 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The sum of all taxes on the invoice, in micros. This equals the sum of the - // AccountBudgetSummary tax amounts, plus taxes not associated with a specific - // account budget. - optional int64 tax_amount_micros = 34 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The total amount, in micros. This equals the sum of - // Invoice.subtotal_amount_micros and Invoice.tax_amount_micros. - // Starting with v6, Invoice.regulatory_costs_subtotal_amount_micros is - // also added as it is no longer already included in - // Invoice.tax_amount_micros. - optional int64 total_amount_micros = 35 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource name of the original invoice corrected, wrote off, or canceled - // by this invoice, if applicable. If `corrected_invoice` is set, - // `replaced_invoices` will not be set. - // Invoice resource names have the form: - // - // `customers/{customer_id}/invoices/{invoice_id}` - optional string corrected_invoice = 36 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource name of the original invoice(s) being rebilled or replaced by - // this invoice, if applicable. There might be multiple replaced invoices due - // to invoice consolidation. The replaced invoices may not belong to the same - // payments account. If `replaced_invoices` is set, `corrected_invoice` will - // not be set. - // Invoice resource names have the form: - // - // `customers/{customer_id}/invoices/{invoice_id}` - repeated string replaced_invoices = 37 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The URL to a PDF copy of the invoice. Users need to pass in their OAuth - // token to request the PDF with this URL. - optional string pdf_url = 38 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The list of summarized account budget information associated with this - // invoice. - repeated AccountBudgetSummary account_budget_summaries = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The list of summarized account information associated with this invoice. - repeated AccountSummary account_summaries = 39 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/keyword_plan.proto b/third_party/googleapis/google/ads/googleads/v12/resources/keyword_plan.proto deleted file mode 100644 index d0232bf65..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/keyword_plan.proto +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/dates.proto"; -import "google/ads/googleads/v12/enums/keyword_plan_forecast_interval.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the keyword plan resource. - -// A Keyword Planner plan. -// Max number of saved keyword plans: 10000. -// It's possible to remove plans if limit is reached. -message KeywordPlan { - option (google.api.resource) = { - type: "googleads.googleapis.com/KeywordPlan" - pattern: "customers/{customer_id}/keywordPlans/{keyword_plan_id}" - }; - - // Immutable. The resource name of the Keyword Planner plan. - // KeywordPlan resource names have the form: - // - // `customers/{customer_id}/keywordPlans/{kp_plan_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlan" - } - ]; - - // Output only. The ID of the keyword plan. - optional int64 id = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The name of the keyword plan. - // - // This field is required and should not be empty when creating new keyword - // plans. - optional string name = 6; - - // The date period used for forecasting the plan. - KeywordPlanForecastPeriod forecast_period = 4; -} - -// The forecasting period associated with the keyword plan. -message KeywordPlanForecastPeriod { - // Required. The date used for forecasting the Plan. - oneof interval { - // A future date range relative to the current date used for forecasting. - google.ads.googleads.v12.enums.KeywordPlanForecastIntervalEnum.KeywordPlanForecastInterval date_interval = 1; - - // The custom date range used for forecasting. It cannot be greater than - // a year. - // The start and end dates must be in the future. Otherwise, an error will - // be returned when the forecasting action is performed. - // The start and end dates are inclusive. - google.ads.googleads.v12.common.DateRange date_range = 2; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/keyword_plan_ad_group.proto b/third_party/googleapis/google/ads/googleads/v12/resources/keyword_plan_ad_group.proto deleted file mode 100644 index 980c12240..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/keyword_plan_ad_group.proto +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanAdGroupProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the keyword plan ad group resource. - -// A Keyword Planner ad group. -// Max number of keyword plan ad groups per plan: 200. -message KeywordPlanAdGroup { - option (google.api.resource) = { - type: "googleads.googleapis.com/KeywordPlanAdGroup" - pattern: "customers/{customer_id}/keywordPlanAdGroups/{keyword_plan_ad_group_id}" - }; - - // Immutable. The resource name of the Keyword Planner ad group. - // KeywordPlanAdGroup resource names have the form: - // - // `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlanAdGroup" - } - ]; - - // The keyword plan campaign to which this ad group belongs. - optional string keyword_plan_campaign = 6 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlanCampaign" - }]; - - // Output only. The ID of the keyword plan ad group. - optional int64 id = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The name of the keyword plan ad group. - // - // This field is required and should not be empty when creating keyword plan - // ad group. - optional string name = 8; - - // A default ad group max cpc bid in micros in account currency for all - // biddable keywords under the keyword plan ad group. - // If not set, will inherit from parent campaign. - optional int64 cpc_bid_micros = 9; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/keyword_plan_ad_group_keyword.proto b/third_party/googleapis/google/ads/googleads/v12/resources/keyword_plan_ad_group_keyword.proto deleted file mode 100644 index 9ef059b3a..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/keyword_plan_ad_group_keyword.proto +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/keyword_match_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanAdGroupKeywordProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the keyword plan ad group keyword resource. - -// A Keyword Plan ad group keyword. -// Max number of keyword plan keywords per plan: 10000. -message KeywordPlanAdGroupKeyword { - option (google.api.resource) = { - type: "googleads.googleapis.com/KeywordPlanAdGroupKeyword" - pattern: "customers/{customer_id}/keywordPlanAdGroupKeywords/{keyword_plan_ad_group_keyword_id}" - }; - - // Immutable. The resource name of the Keyword Plan ad group keyword. - // KeywordPlanAdGroupKeyword resource names have the form: - // - // `customers/{customer_id}/keywordPlanAdGroupKeywords/{kp_ad_group_keyword_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlanAdGroupKeyword" - } - ]; - - // The Keyword Plan ad group to which this keyword belongs. - optional string keyword_plan_ad_group = 8 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlanAdGroup" - }]; - - // Output only. The ID of the Keyword Plan keyword. - optional int64 id = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The keyword text. - optional string text = 10; - - // The keyword match type. - google.ads.googleads.v12.enums.KeywordMatchTypeEnum.KeywordMatchType match_type = 5; - - // A keyword level max cpc bid in micros (for example, $1 = 1mm). The currency - // is the same as the account currency code. This will override any CPC bid - // set at the keyword plan ad group level. Not applicable for negative - // keywords. (negative = true) This field is Optional. - optional int64 cpc_bid_micros = 11; - - // Immutable. If true, the keyword is negative. - optional bool negative = 12 [(google.api.field_behavior) = IMMUTABLE]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/keyword_plan_campaign.proto b/third_party/googleapis/google/ads/googleads/v12/resources/keyword_plan_campaign.proto deleted file mode 100644 index e6a0de516..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/keyword_plan_campaign.proto +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/keyword_plan_network.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanCampaignProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the keyword plan campaign resource. - -// A Keyword Plan campaign. -// Max number of keyword plan campaigns per plan allowed: 1. -message KeywordPlanCampaign { - option (google.api.resource) = { - type: "googleads.googleapis.com/KeywordPlanCampaign" - pattern: "customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}" - }; - - // Immutable. The resource name of the Keyword Plan campaign. - // KeywordPlanCampaign resource names have the form: - // - // `customers/{customer_id}/keywordPlanCampaigns/{kp_campaign_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlanCampaign" - } - ]; - - // The keyword plan this campaign belongs to. - optional string keyword_plan = 9 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlan" - }]; - - // Output only. The ID of the Keyword Plan campaign. - optional int64 id = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The name of the Keyword Plan campaign. - // - // This field is required and should not be empty when creating Keyword Plan - // campaigns. - optional string name = 11; - - // The languages targeted for the Keyword Plan campaign. - // Max allowed: 1. - repeated string language_constants = 12 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/LanguageConstant" - }]; - - // Targeting network. - // - // This field is required and should not be empty when creating Keyword Plan - // campaigns. - google.ads.googleads.v12.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork keyword_plan_network = 6; - - // A default max cpc bid in micros, and in the account currency, for all ad - // groups under the campaign. - // - // This field is required and should not be empty when creating Keyword Plan - // campaigns. - optional int64 cpc_bid_micros = 13; - - // The geo targets. - // Max number allowed: 20. - repeated KeywordPlanGeoTarget geo_targets = 8; -} - -// A geo target. -message KeywordPlanGeoTarget { - // Required. The resource name of the geo target. - optional string geo_target_constant = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/GeoTargetConstant" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/keyword_plan_campaign_keyword.proto b/third_party/googleapis/google/ads/googleads/v12/resources/keyword_plan_campaign_keyword.proto deleted file mode 100644 index 31af4212c..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/keyword_plan_campaign_keyword.proto +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/keyword_match_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanCampaignKeywordProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the keyword plan negative keyword resource. - -// A Keyword Plan Campaign keyword. -// Only negative keywords are supported for Campaign Keyword. -message KeywordPlanCampaignKeyword { - option (google.api.resource) = { - type: "googleads.googleapis.com/KeywordPlanCampaignKeyword" - pattern: "customers/{customer_id}/keywordPlanCampaignKeywords/{keyword_plan_campaign_keyword_id}" - }; - - // Immutable. The resource name of the Keyword Plan Campaign keyword. - // KeywordPlanCampaignKeyword resource names have the form: - // - // `customers/{customer_id}/keywordPlanCampaignKeywords/{kp_campaign_keyword_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlanCampaignKeyword" - } - ]; - - // The Keyword Plan campaign to which this negative keyword belongs. - optional string keyword_plan_campaign = 8 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlanCampaign" - }]; - - // Output only. The ID of the Keyword Plan negative keyword. - optional int64 id = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The keyword text. - optional string text = 10; - - // The keyword match type. - google.ads.googleads.v12.enums.KeywordMatchTypeEnum.KeywordMatchType match_type = 5; - - // Immutable. If true, the keyword is negative. - // Must be set to true. Only negative campaign keywords are supported. - optional bool negative = 11 [(google.api.field_behavior) = IMMUTABLE]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/keyword_theme_constant.proto b/third_party/googleapis/google/ads/googleads/v12/resources/keyword_theme_constant.proto deleted file mode 100644 index 94e73f890..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/keyword_theme_constant.proto +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "KeywordThemeConstantProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the Smart Campaign keyword theme constant resource. - -// A Smart Campaign keyword theme constant. -message KeywordThemeConstant { - option (google.api.resource) = { - type: "googleads.googleapis.com/KeywordThemeConstant" - pattern: "keywordThemeConstants/{express_category_id}~{express_sub_category_id}" - }; - - // Output only. The resource name of the keyword theme constant. - // Keyword theme constant resource names have the form: - // - // `keywordThemeConstants/{keyword_theme_id}~{sub_keyword_theme_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordThemeConstant" - } - ]; - - // Output only. The ISO-3166 Alpha-2 country code of the constant, eg. "US". - // To display and query matching purpose, the keyword theme needs to be - // localized. - optional string country_code = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The ISO-639-1 language code with 2 letters of the constant, eg. "en". - // To display and query matching purpose, the keyword theme needs to be - // localized. - optional string language_code = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The display name of the keyword theme or sub keyword theme. - optional string display_name = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/keyword_view.proto b/third_party/googleapis/google/ads/googleads/v12/resources/keyword_view.proto deleted file mode 100644 index 43ecb6037..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/keyword_view.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "KeywordViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the keyword view resource. - -// A keyword view. -message KeywordView { - option (google.api.resource) = { - type: "googleads.googleapis.com/KeywordView" - pattern: "customers/{customer_id}/keywordViews/{ad_group_id}~{criterion_id}" - }; - - // Output only. The resource name of the keyword view. - // Keyword view resource names have the form: - // - // `customers/{customer_id}/keywordViews/{ad_group_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/label.proto b/third_party/googleapis/google/ads/googleads/v12/resources/label.proto deleted file mode 100644 index 722dd912e..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/label.proto +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/text_label.proto"; -import "google/ads/googleads/v12/enums/label_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "LabelProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// A label. -message Label { - option (google.api.resource) = { - type: "googleads.googleapis.com/Label" - pattern: "customers/{customer_id}/labels/{label_id}" - }; - - // Immutable. Name of the resource. - // Label resource names have the form: - // `customers/{customer_id}/labels/{label_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Label" - } - ]; - - // Output only. ID of the label. Read only. - optional int64 id = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The name of the label. - // - // This field is required and should not be empty when creating a new label. - // - // The length of this string should be between 1 and 80, inclusive. - optional string name = 7; - - // Output only. Status of the label. Read only. - google.ads.googleads.v12.enums.LabelStatusEnum.LabelStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // A type of label displaying text on a colored background. - google.ads.googleads.v12.common.TextLabel text_label = 5; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/landing_page_view.proto b/third_party/googleapis/google/ads/googleads/v12/resources/landing_page_view.proto deleted file mode 100644 index 30a823309..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/landing_page_view.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "LandingPageViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the landing page view resource. - -// A landing page view with metrics aggregated at the unexpanded final URL -// level. -message LandingPageView { - option (google.api.resource) = { - type: "googleads.googleapis.com/LandingPageView" - pattern: "customers/{customer_id}/landingPageViews/{unexpanded_final_url_fingerprint}" - }; - - // Output only. The resource name of the landing page view. - // Landing page view resource names have the form: - // - // `customers/{customer_id}/landingPageViews/{unexpanded_final_url_fingerprint}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/LandingPageView" - } - ]; - - // Output only. The advertiser-specified final URL. - optional string unexpanded_final_url = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/language_constant.proto b/third_party/googleapis/google/ads/googleads/v12/resources/language_constant.proto deleted file mode 100644 index 1ee3a0f6d..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/language_constant.proto +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "LanguageConstantProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the language constant resource. - -// A language. -message LanguageConstant { - option (google.api.resource) = { - type: "googleads.googleapis.com/LanguageConstant" - pattern: "languageConstants/{criterion_id}" - }; - - // Output only. The resource name of the language constant. - // Language constant resource names have the form: - // - // `languageConstants/{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/LanguageConstant" - } - ]; - - // Output only. The ID of the language constant. - optional int64 id = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The language code, for example, "en_US", "en_AU", "es", "fr", etc. - optional string code = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The full name of the language in English, for example, "English (US)", - // "Spanish", etc. - optional string name = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Whether the language is targetable. - optional bool targetable = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/lead_form_submission_data.proto b/third_party/googleapis/google/ads/googleads/v12/resources/lead_form_submission_data.proto deleted file mode 100644 index 93b8a3a3e..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/lead_form_submission_data.proto +++ /dev/null @@ -1,118 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/lead_form_field_user_input_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "LeadFormSubmissionDataProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the lead form submission data resource. - -// Data from lead form submissions. -message LeadFormSubmissionData { - option (google.api.resource) = { - type: "googleads.googleapis.com/LeadFormSubmissionData" - pattern: "customers/{customer_id}/leadFormSubmissionData/{lead_form_user_submission_id}" - }; - - // Output only. The resource name of the lead form submission data. - // Lead form submission data resource names have the form: - // - // `customers/{customer_id}/leadFormSubmissionData/{lead_form_submission_data_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/LeadFormSubmissionData" - } - ]; - - // Output only. ID of this lead form submission. - string id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Asset associated with the submitted lead form. - string asset = 3 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Asset" - } - ]; - - // Output only. Campaign associated with the submitted lead form. - string campaign = 4 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Output only. Submission data associated with a lead form. - repeated LeadFormSubmissionField lead_form_submission_fields = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Submission data associated with a custom lead form. - repeated CustomLeadFormSubmissionField custom_lead_form_submission_fields = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. AdGroup associated with the submitted lead form. - string ad_group = 6 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Output only. AdGroupAd associated with the submitted lead form. - string ad_group_ad = 7 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAd" - } - ]; - - // Output only. Google Click Id associated with the submissed lead form. - string gclid = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The date and time at which the lead form was submitted. The format is - // "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - string submission_date_time = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; -} - -// Fields in the submitted lead form. -message LeadFormSubmissionField { - // Output only. Field type for lead form fields. - google.ads.googleads.v12.enums.LeadFormFieldUserInputTypeEnum.LeadFormFieldUserInputType field_type = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Field value for lead form fields. - string field_value = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; -} - -// Fields in the submitted custom question -message CustomLeadFormSubmissionField { - // Output only. Question text for custom question, maximum number of characters is 300. - string question_text = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Field value for custom question response, maximum number of characters - // is 70. - string field_value = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/life_event.proto b/third_party/googleapis/google/ads/googleads/v12/resources/life_event.proto deleted file mode 100644 index bc44a9c31..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/life_event.proto +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/criterion_category_availability.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "LifeEventProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the Life Event resource. - -// A life event: a particular interest-based vertical to be targeted to reach -// users when they are in the midst of important life milestones. -message LifeEvent { - option (google.api.resource) = { - type: "googleads.googleapis.com/LifeEvent" - pattern: "customers/{customer_id}/lifeEvents/{life_event_id}" - }; - - // Output only. The resource name of the life event. - // Life event resource names have the form: - // - // `customers/{customer_id}/lifeEvents/{life_event_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/LifeEvent" - } - ]; - - // Output only. The ID of the life event. - int64 id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The name of the life event, for example,"Recently Moved" - string name = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The parent of the life_event. - string parent = 4 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/LifeEvent" - } - ]; - - // Output only. True if the life event is launched to all channels and locales. - bool launched_to_all = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Availability information of the life event. - repeated google.ads.googleads.v12.common.CriterionCategoryAvailability availabilities = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/location_view.proto b/third_party/googleapis/google/ads/googleads/v12/resources/location_view.proto deleted file mode 100644 index fcb33e026..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/location_view.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "LocationViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the location view resource. - -// A location view summarizes the performance of campaigns by -// Location criteria. -message LocationView { - option (google.api.resource) = { - type: "googleads.googleapis.com/LocationView" - pattern: "customers/{customer_id}/locationViews/{campaign_id}~{criterion_id}" - }; - - // Output only. The resource name of the location view. - // Location view resource names have the form: - // - // `customers/{customer_id}/locationViews/{campaign_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/LocationView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/managed_placement_view.proto b/third_party/googleapis/google/ads/googleads/v12/resources/managed_placement_view.proto deleted file mode 100644 index 1ad726214..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/managed_placement_view.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ManagedPlacementViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the Managed Placement view resource. - -// A managed placement view. -message ManagedPlacementView { - option (google.api.resource) = { - type: "googleads.googleapis.com/ManagedPlacementView" - pattern: "customers/{customer_id}/managedPlacementViews/{ad_group_id}~{criterion_id}" - }; - - // Output only. The resource name of the Managed Placement view. - // Managed placement view resource names have the form: - // - // `customers/{customer_id}/managedPlacementViews/{ad_group_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ManagedPlacementView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/media_file.proto b/third_party/googleapis/google/ads/googleads/v12/resources/media_file.proto deleted file mode 100644 index d62ffcce4..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/media_file.proto +++ /dev/null @@ -1,136 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/media_type.proto"; -import "google/ads/googleads/v12/enums/mime_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "MediaFileProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the media file resource. - -// A media file. -message MediaFile { - option (google.api.resource) = { - type: "googleads.googleapis.com/MediaFile" - pattern: "customers/{customer_id}/mediaFiles/{media_file_id}" - }; - - // Immutable. The resource name of the media file. - // Media file resource names have the form: - // - // `customers/{customer_id}/mediaFiles/{media_file_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/MediaFile" - } - ]; - - // Output only. The ID of the media file. - optional int64 id = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. Type of the media file. - google.ads.googleads.v12.enums.MediaTypeEnum.MediaType type = 5 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The mime type of the media file. - google.ads.googleads.v12.enums.MimeTypeEnum.MimeType mime_type = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The URL of where the original media file was downloaded from (or a file - // name). Only used for media of type AUDIO and IMAGE. - optional string source_url = 13 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The name of the media file. The name can be used by clients to help - // identify previously uploaded media. - optional string name = 14 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The size of the media file in bytes. - optional int64 file_size = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The specific type of the media file. - oneof mediatype { - // Immutable. Encapsulates an Image. - MediaImage image = 3 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. A ZIP archive media the content of which contains HTML5 assets. - MediaBundle media_bundle = 4 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. Encapsulates an Audio. - MediaAudio audio = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. Encapsulates a Video. - MediaVideo video = 11 [(google.api.field_behavior) = IMMUTABLE]; - } -} - -// Encapsulates an Image. -message MediaImage { - // Immutable. Raw image data. - optional bytes data = 4 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The url to the full size version of the image. - optional string full_size_image_url = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The url to the preview size version of the image. - optional string preview_size_image_url = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; -} - -// Represents a ZIP archive media the content of which contains HTML5 assets. -message MediaBundle { - // Immutable. Raw zipped data. - optional bytes data = 3 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The url to access the uploaded zipped data. - // For example, https://tpc.googlesyndication.com/simgad/123 - // This field is read-only. - optional string url = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; -} - -// Encapsulates an Audio. -message MediaAudio { - // Output only. The duration of the Audio in milliseconds. - optional int64 ad_duration_millis = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; -} - -// Encapsulates a Video. -message MediaVideo { - // Output only. The duration of the Video in milliseconds. - optional int64 ad_duration_millis = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The YouTube video ID (as seen in YouTube URLs). Adding prefix - // "https://www.youtube.com/watch?v=" to this ID will get the YouTube - // streaming URL for this video. - optional string youtube_video_id = 6 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The Advertising Digital Identification code for this video, as defined by - // the American Association of Advertising Agencies, used mainly for - // television commercials. - optional string advertising_id_code = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The Industry Standard Commercial Identifier code for this video, used - // mainly for television commercials. - optional string isci_code = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/merchant_center_link.proto b/third_party/googleapis/google/ads/googleads/v12/resources/merchant_center_link.proto deleted file mode 100644 index 2b79b4b56..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/merchant_center_link.proto +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/merchant_center_link_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "MerchantCenterLinkProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the Merchant Center link resource. - -// A data sharing connection, proposed or in use, -// between a Google Ads Customer and a Merchant Center account. -message MerchantCenterLink { - option (google.api.resource) = { - type: "googleads.googleapis.com/MerchantCenterLink" - pattern: "customers/{customer_id}/merchantCenterLinks/{merchant_center_id}" - }; - - // Immutable. The resource name of the merchant center link. - // Merchant center link resource names have the form: - // - // `customers/{customer_id}/merchantCenterLinks/{merchant_center_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/MerchantCenterLink" - } - ]; - - // Output only. The ID of the Merchant Center account. - // This field is readonly. - optional int64 id = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The name of the Merchant Center account. - // This field is readonly. - optional string merchant_center_account_name = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The status of the link. - google.ads.googleads.v12.enums.MerchantCenterLinkStatusEnum.MerchantCenterLinkStatus status = 5; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/mobile_app_category_constant.proto b/third_party/googleapis/google/ads/googleads/v12/resources/mobile_app_category_constant.proto deleted file mode 100644 index 3f6098c5d..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/mobile_app_category_constant.proto +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "MobileAppCategoryConstantProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the Mobile App Category Constant resource. - -// A mobile application category constant. -message MobileAppCategoryConstant { - option (google.api.resource) = { - type: "googleads.googleapis.com/MobileAppCategoryConstant" - pattern: "mobileAppCategoryConstants/{mobile_app_category_id}" - }; - - // Output only. The resource name of the mobile app category constant. - // Mobile app category constant resource names have the form: - // - // `mobileAppCategoryConstants/{mobile_app_category_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/MobileAppCategoryConstant" - } - ]; - - // Output only. The ID of the mobile app category constant. - optional int32 id = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Mobile app category name. - optional string name = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/mobile_device_constant.proto b/third_party/googleapis/google/ads/googleads/v12/resources/mobile_device_constant.proto deleted file mode 100644 index 87c280958..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/mobile_device_constant.proto +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/mobile_device_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "MobileDeviceConstantProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the mobile device constant resource. - -// A mobile device constant. -message MobileDeviceConstant { - option (google.api.resource) = { - type: "googleads.googleapis.com/MobileDeviceConstant" - pattern: "mobileDeviceConstants/{criterion_id}" - }; - - // Output only. The resource name of the mobile device constant. - // Mobile device constant resource names have the form: - // - // `mobileDeviceConstants/{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/MobileDeviceConstant" - } - ]; - - // Output only. The ID of the mobile device constant. - optional int64 id = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The name of the mobile device. - optional string name = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The manufacturer of the mobile device. - optional string manufacturer_name = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The operating system of the mobile device. - optional string operating_system_name = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The type of mobile device. - google.ads.googleads.v12.enums.MobileDeviceTypeEnum.MobileDeviceType type = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/offline_user_data_job.proto b/third_party/googleapis/google/ads/googleads/v12/resources/offline_user_data_job.proto deleted file mode 100644 index c61e2d9ba..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/offline_user_data_job.proto +++ /dev/null @@ -1,94 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/offline_user_data.proto"; -import "google/ads/googleads/v12/enums/offline_user_data_job_failure_reason.proto"; -import "google/ads/googleads/v12/enums/offline_user_data_job_match_rate_range.proto"; -import "google/ads/googleads/v12/enums/offline_user_data_job_status.proto"; -import "google/ads/googleads/v12/enums/offline_user_data_job_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "OfflineUserDataJobProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the offline user data job resource. - -// A job containing offline user data of store visitors, or user list members -// that will be processed asynchronously. The uploaded data isn't readable and -// the processing results of the job can only be read using -// GoogleAdsService.Search/SearchStream. -message OfflineUserDataJob { - option (google.api.resource) = { - type: "googleads.googleapis.com/OfflineUserDataJob" - pattern: "customers/{customer_id}/offlineUserDataJobs/{offline_user_data_update_id}" - }; - - // Immutable. The resource name of the offline user data job. - // Offline user data job resource names have the form: - // - // `customers/{customer_id}/offlineUserDataJobs/{offline_user_data_job_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/OfflineUserDataJob" - } - ]; - - // Output only. ID of this offline user data job. - optional int64 id = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. User specified job ID. - optional int64 external_id = 10 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Type of the job. - google.ads.googleads.v12.enums.OfflineUserDataJobTypeEnum.OfflineUserDataJobType type = 4 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. Status of the job. - google.ads.googleads.v12.enums.OfflineUserDataJobStatusEnum.OfflineUserDataJobStatus status = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Reason for the processing failure, if status is FAILED. - google.ads.googleads.v12.enums.OfflineUserDataJobFailureReasonEnum.OfflineUserDataJobFailureReason failure_reason = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Metadata of offline user data job depicting match rate range. - OfflineUserDataJobMetadata operation_metadata = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Metadata of the job. - oneof metadata { - // Immutable. Metadata for data updates to a CRM-based user list. - google.ads.googleads.v12.common.CustomerMatchUserListMetadata customer_match_user_list_metadata = 7 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Metadata for store sales data update. - google.ads.googleads.v12.common.StoreSalesMetadata store_sales_metadata = 8 [(google.api.field_behavior) = IMMUTABLE]; - } -} - -// Metadata of offline user data job. -message OfflineUserDataJobMetadata { - // Output only. Match rate of the Customer Match user list upload. Describes the estimated - // match rate when the status of the job is "RUNNING" and final match rate - // when the final match rate is available after the status of the job is - // "SUCCESS/FAILED". - google.ads.googleads.v12.enums.OfflineUserDataJobMatchRateRangeEnum.OfflineUserDataJobMatchRateRange match_rate_range = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/operating_system_version_constant.proto b/third_party/googleapis/google/ads/googleads/v12/resources/operating_system_version_constant.proto deleted file mode 100644 index 0fca27fe1..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/operating_system_version_constant.proto +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/operating_system_version_operator_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "OperatingSystemVersionConstantProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the operating system version constant resource. - -// A mobile operating system version or a range of versions, depending on -// `operator_type`. List of available mobile platforms at -// https://developers.google.com/google-ads/api/reference/data/codes-formats#mobile-platforms -message OperatingSystemVersionConstant { - option (google.api.resource) = { - type: "googleads.googleapis.com/OperatingSystemVersionConstant" - pattern: "operatingSystemVersionConstants/{criterion_id}" - }; - - // Output only. The resource name of the operating system version constant. - // Operating system version constant resource names have the form: - // - // `operatingSystemVersionConstants/{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/OperatingSystemVersionConstant" - } - ]; - - // Output only. The ID of the operating system version. - optional int64 id = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Name of the operating system. - optional string name = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The OS Major Version number. - optional int32 os_major_version = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The OS Minor Version number. - optional int32 os_minor_version = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Determines whether this constant represents a single version or a range of - // versions. - google.ads.googleads.v12.enums.OperatingSystemVersionOperatorTypeEnum.OperatingSystemVersionOperatorType operator_type = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/paid_organic_search_term_view.proto b/third_party/googleapis/google/ads/googleads/v12/resources/paid_organic_search_term_view.proto deleted file mode 100644 index e51055f38..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/paid_organic_search_term_view.proto +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "PaidOrganicSearchTermViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the PaidOrganicSearchTermView resource. - -// A paid organic search term view providing a view of search stats across -// ads and organic listings aggregated by search term at the ad group level. -message PaidOrganicSearchTermView { - option (google.api.resource) = { - type: "googleads.googleapis.com/PaidOrganicSearchTermView" - pattern: "customers/{customer_id}/paidOrganicSearchTermViews/{campaign_id}~{ad_group_id}~{base64_search_term}" - }; - - // Output only. The resource name of the search term view. - // Search term view resource names have the form: - // - // `customers/{customer_id}/paidOrganicSearchTermViews/{campaign_id}~ - // {ad_group_id}~{URL-base64 search term}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/PaidOrganicSearchTermView" - } - ]; - - // Output only. The search term. - optional string search_term = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/parental_status_view.proto b/third_party/googleapis/google/ads/googleads/v12/resources/parental_status_view.proto deleted file mode 100644 index cb7781b1a..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/parental_status_view.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ParentalStatusViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the parental status view resource. - -// A parental status view. -message ParentalStatusView { - option (google.api.resource) = { - type: "googleads.googleapis.com/ParentalStatusView" - pattern: "customers/{customer_id}/parentalStatusViews/{ad_group_id}~{criterion_id}" - }; - - // Output only. The resource name of the parental status view. - // Parental Status view resource names have the form: - // - // `customers/{customer_id}/parentalStatusViews/{ad_group_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ParentalStatusView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/payments_account.proto b/third_party/googleapis/google/ads/googleads/v12/resources/payments_account.proto deleted file mode 100644 index 2bcc1d007..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/payments_account.proto +++ /dev/null @@ -1,77 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "PaymentsAccountProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the PaymentsAccount resource. - -// A payments account, which can be used to set up billing for an Ads customer. -message PaymentsAccount { - option (google.api.resource) = { - type: "googleads.googleapis.com/PaymentsAccount" - pattern: "customers/{customer_id}/paymentsAccounts/{payments_account_id}" - }; - - // Output only. The resource name of the payments account. - // PaymentsAccount resource names have the form: - // - // `customers/{customer_id}/paymentsAccounts/{payments_account_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/PaymentsAccount" - } - ]; - - // Output only. A 16 digit ID used to identify a payments account. - optional string payments_account_id = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The name of the payments account. - optional string name = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The currency code of the payments account. - // A subset of the currency codes derived from the ISO 4217 standard is - // supported. - optional string currency_code = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. A 12 digit ID used to identify the payments profile associated with the - // payments account. - optional string payments_profile_id = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. A secondary payments profile ID present in uncommon situations, for - // example, when a sequential liability agreement has been arranged. - optional string secondary_payments_profile_id = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Paying manager of this payment account. - optional string paying_manager_customer = 13 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Customer" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/per_store_view.proto b/third_party/googleapis/google/ads/googleads/v12/resources/per_store_view.proto deleted file mode 100644 index a79c5a0a4..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/per_store_view.proto +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "PerStoreViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the PerStoreView resource. - -// An per store view. -// This view provides per store impression reach and local action conversion -// stats for advertisers. -message PerStoreView { - option (google.api.resource) = { - type: "googleads.googleapis.com/PerStoreView" - pattern: "customers/{customer_id}/perStoreViews/{place_id}" - }; - - // Output only. The resource name of the per store view. - // Per Store view resource names have the form: - // - // `customers/{customer_id}/perStoreViews/{place_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/PerStoreView" - } - ]; - - // Output only. The place ID of the per store view. - string place_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/product_bidding_category_constant.proto b/third_party/googleapis/google/ads/googleads/v12/resources/product_bidding_category_constant.proto deleted file mode 100644 index b6635f5d5..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/product_bidding_category_constant.proto +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/product_bidding_category_level.proto"; -import "google/ads/googleads/v12/enums/product_bidding_category_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ProductBiddingCategoryConstantProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the ProductBiddingCategoryConstant resource. - -// A Product Bidding Category. -message ProductBiddingCategoryConstant { - option (google.api.resource) = { - type: "googleads.googleapis.com/ProductBiddingCategoryConstant" - pattern: "productBiddingCategoryConstants/{country_code}~{level}~{id}" - }; - - // Output only. The resource name of the product bidding category. - // Product bidding category resource names have the form: - // - // `productBiddingCategoryConstants/{country_code}~{level}~{id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ProductBiddingCategoryConstant" - } - ]; - - // Output only. ID of the product bidding category. - // - // This ID is equivalent to the google_product_category ID as described in - // this article: https://support.google.com/merchants/answer/6324436. - optional int64 id = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Two-letter upper-case country code of the product bidding category. - optional string country_code = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Resource name of the parent product bidding category. - optional string product_bidding_category_constant_parent = 12 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ProductBiddingCategoryConstant" - } - ]; - - // Output only. Level of the product bidding category. - google.ads.googleads.v12.enums.ProductBiddingCategoryLevelEnum.ProductBiddingCategoryLevel level = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Status of the product bidding category. - google.ads.googleads.v12.enums.ProductBiddingCategoryStatusEnum.ProductBiddingCategoryStatus status = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Language code of the product bidding category. - optional string language_code = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Display value of the product bidding category localized according to - // language_code. - optional string localized_name = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/product_group_view.proto b/third_party/googleapis/google/ads/googleads/v12/resources/product_group_view.proto deleted file mode 100644 index 31e69b08e..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/product_group_view.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ProductGroupViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the ProductGroup View resource. - -// A product group view. -message ProductGroupView { - option (google.api.resource) = { - type: "googleads.googleapis.com/ProductGroupView" - pattern: "customers/{customer_id}/productGroupViews/{adgroup_id}~{criterion_id}" - }; - - // Output only. The resource name of the product group view. - // Product group view resource names have the form: - // - // `customers/{customer_id}/productGroupViews/{ad_group_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ProductGroupView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/recommendation.proto b/third_party/googleapis/google/ads/googleads/v12/resources/recommendation.proto deleted file mode 100644 index 213b6ffe6..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/recommendation.proto +++ /dev/null @@ -1,476 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/criteria.proto"; -import "google/ads/googleads/v12/common/extensions.proto"; -import "google/ads/googleads/v12/enums/keyword_match_type.proto"; -import "google/ads/googleads/v12/enums/recommendation_type.proto"; -import "google/ads/googleads/v12/enums/target_cpa_opt_in_recommendation_goal.proto"; -import "google/ads/googleads/v12/resources/ad.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "RecommendationProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the Recommendation resource. - -// A recommendation. -message Recommendation { - option (google.api.resource) = { - type: "googleads.googleapis.com/Recommendation" - pattern: "customers/{customer_id}/recommendations/{recommendation_id}" - }; - - // The impact of making the change as described in the recommendation. - // Some types of recommendations may not have impact information. - message RecommendationImpact { - // Output only. Base metrics at the time the recommendation was generated. - RecommendationMetrics base_metrics = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Estimated metrics if the recommendation is applied. - RecommendationMetrics potential_metrics = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Weekly account performance metrics. For some recommendation types, these - // are averaged over the past 90-day period and hence can be fractional. - message RecommendationMetrics { - // Output only. Number of ad impressions. - optional double impressions = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Number of ad clicks. - optional double clicks = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Cost (in micros) for advertising, in the local currency for the account. - optional int64 cost_micros = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Number of conversions. - optional double conversions = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Number of video views for a video ad campaign. - optional double video_views = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The budget recommendation for budget constrained campaigns. - message CampaignBudgetRecommendation { - // The impact estimates for a given budget amount. - message CampaignBudgetRecommendationOption { - // Output only. The budget amount for this option. - optional int64 budget_amount_micros = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The impact estimate if budget is changed to amount specified in this - // option. - RecommendationImpact impact = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Output only. The current budget amount in micros. - optional int64 current_budget_amount_micros = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The recommended budget amount in micros. - optional int64 recommended_budget_amount_micros = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The budget amounts and associated impact estimates for some values of - // possible budget amounts. - repeated CampaignBudgetRecommendationOption budget_options = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The keyword recommendation. - message KeywordRecommendation { - // Output only. The recommended keyword. - google.ads.googleads.v12.common.KeywordInfo keyword = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The recommended CPC (cost-per-click) bid. - optional int64 recommended_cpc_bid_micros = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The text ad recommendation. - message TextAdRecommendation { - // Output only. Recommended ad. - Ad ad = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Creation date of the recommended ad. - // YYYY-MM-DD format, for example, 2018-04-17. - optional string creation_date = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Date, if present, is the earliest when the recommendation will be auto - // applied. - // YYYY-MM-DD format, for example, 2018-04-17. - optional string auto_apply_date = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The Target CPA opt-in recommendation. - message TargetCpaOptInRecommendation { - // The Target CPA opt-in option with impact estimate. - message TargetCpaOptInRecommendationOption { - // Output only. The goal achieved by this option. - google.ads.googleads.v12.enums.TargetCpaOptInRecommendationGoalEnum.TargetCpaOptInRecommendationGoal goal = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Average CPA target. - optional int64 target_cpa_micros = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The minimum campaign budget, in local currency for the account, - // required to achieve the target CPA. - // Amount is specified in micros, where one million is equivalent to one - // currency unit. - optional int64 required_campaign_budget_amount_micros = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The impact estimate if this option is selected. - RecommendationImpact impact = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Output only. The available goals and corresponding options for Target CPA strategy. - repeated TargetCpaOptInRecommendationOption options = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The recommended average CPA target. See required budget amount and impact - // of using this recommendation in options list. - optional int64 recommended_target_cpa_micros = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The Maximize Conversions Opt-In recommendation. - message MaximizeConversionsOptInRecommendation { - // Output only. The recommended new budget amount. - optional int64 recommended_budget_amount_micros = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The Enhanced Cost-Per-Click Opt-In recommendation. - message EnhancedCpcOptInRecommendation { - - } - - // The Search Partners Opt-In recommendation. - message SearchPartnersOptInRecommendation { - - } - - // The Maximize Clicks opt-in recommendation. - message MaximizeClicksOptInRecommendation { - // Output only. The recommended new budget amount. - // Only set if the current budget is too high. - optional int64 recommended_budget_amount_micros = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The Optimize Ad Rotation recommendation. - message OptimizeAdRotationRecommendation { - - } - - // The Callout extension recommendation. - message CalloutExtensionRecommendation { - // Output only. Callout extensions recommended to be added. - repeated google.ads.googleads.v12.common.CalloutFeedItem recommended_extensions = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The Sitelink extension recommendation. - message SitelinkExtensionRecommendation { - // Output only. Sitelink extensions recommended to be added. - repeated google.ads.googleads.v12.common.SitelinkFeedItem recommended_extensions = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The Call extension recommendation. - message CallExtensionRecommendation { - // Output only. Call extensions recommended to be added. - repeated google.ads.googleads.v12.common.CallFeedItem recommended_extensions = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The keyword match type recommendation. - message KeywordMatchTypeRecommendation { - // Output only. The existing keyword where the match type should be more broad. - google.ads.googleads.v12.common.KeywordInfo keyword = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The recommended new match type. - google.ads.googleads.v12.enums.KeywordMatchTypeEnum.KeywordMatchType recommended_match_type = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The move unused budget recommendation. - message MoveUnusedBudgetRecommendation { - // Output only. The excess budget's resource_name. - optional string excess_campaign_budget = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The recommendation for the constrained budget to increase. - CampaignBudgetRecommendation budget_recommendation = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The Target ROAS opt-in recommendation. - message TargetRoasOptInRecommendation { - // Output only. The recommended target ROAS (revenue per unit of spend). - // The value is between 0.01 and 1000.0, inclusive. - optional double recommended_target_roas = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The minimum campaign budget, in local currency for the account, - // required to achieve the target ROAS. - // Amount is specified in micros, where one million is equivalent to one - // currency unit. - optional int64 required_campaign_budget_amount_micros = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The add responsive search ad asset recommendation. - message ResponsiveSearchAdAssetRecommendation { - // Output only. The current ad to be updated. - Ad current_ad = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The recommended assets. This is populated only with the new headlines - // and/or descriptions, and is otherwise empty. - Ad recommended_assets = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The responsive search ad improve ad strength recommendation. - message ResponsiveSearchAdImproveAdStrengthRecommendation { - // Output only. The current ad to be updated. - Ad current_ad = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The updated ad. - Ad recommended_ad = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The add responsive search ad recommendation. - message ResponsiveSearchAdRecommendation { - // Output only. Recommended ad. - Ad ad = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The use broad match keyword recommendation. - message UseBroadMatchKeywordRecommendation { - // Output only. Sample of keywords to be expanded to Broad Match. - repeated google.ads.googleads.v12.common.KeywordInfo keyword = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Total number of keywords to be expanded to Broad Match in the campaign. - int64 suggested_keywords_count = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Total number of keywords in the campaign. - int64 campaign_keywords_count = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Whether the associated campaign uses a shared budget. - bool campaign_uses_shared_budget = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The budget recommended to avoid becoming budget constrained after - // applying the recommendation. - int64 required_campaign_budget_amount_micros = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The upgrade a Smart Shopping campaign to a Performance Max campaign - // recommendation. - message UpgradeSmartShoppingCampaignToPerformanceMaxRecommendation { - // Output only. ID of Merchant Center account. - int64 merchant_id = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Country whose products from merchant's inventory should be included. - string sales_country_code = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The raise target CPA bid too low recommendation. - message RaiseTargetCpaBidTooLowRecommendation { - // Output only. A number greater than 1.0 indicating the factor by which we recommend the - // target CPA should be increased. - optional double recommended_target_multiplier = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The current average target CPA of the campaign, in micros of customer - // local currency. - optional int64 average_target_cpa_micros = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The Display Expansion opt-in recommendation. - message DisplayExpansionOptInRecommendation { - - } - - // The Upgrade Local campaign to Performance Max campaign recommendation. - message UpgradeLocalCampaignToPerformanceMaxRecommendation { - - } - - // The forecasting set target ROAS recommendation. - message ForecastingSetTargetRoasRecommendation { - // Output only. The recommended target ROAS (revenue per unit of spend). - // The value is between 0.01 and 1000.0, inclusive. - double recommended_target_roas = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The campaign budget. - CampaignBudget campaign_budget = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // A campaign budget shared amongst various budget recommendation types. - message CampaignBudget { - // Output only. Current budget amount. - int64 current_amount_micros = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Recommended budget amount. - int64 recommended_new_amount_micros = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The date when the new budget would start being used. - // This field will be set for the following recommendation types: - // FORECASTING_SET_TARGET_ROAS. YYYY-MM-DD format, for example, 2018-04-17. - string new_start_date = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Immutable. The resource name of the recommendation. - // - // `customers/{customer_id}/recommendations/{recommendation_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Recommendation" - } - ]; - - // Output only. The type of recommendation. - google.ads.googleads.v12.enums.RecommendationTypeEnum.RecommendationType type = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The impact on account performance as a result of applying the - // recommendation. - RecommendationImpact impact = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The budget targeted by this recommendation. This will be set only when - // the recommendation affects a single campaign budget. - // - // This field will be set for the following recommendation types: - // CAMPAIGN_BUDGET, FORECASTING_CAMPAIGN_BUDGET, MARGINAL_ROI_CAMPAIGN_BUDGET, - // MOVE_UNUSED_BUDGET - optional string campaign_budget = 24 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignBudget" - } - ]; - - // Output only. The campaign targeted by this recommendation. This will be set only when - // the recommendation affects a single campaign. - // - // This field will be set for the following recommendation types: - // CALL_EXTENSION, CALLOUT_EXTENSION, ENHANCED_CPC_OPT_IN, - // USE_BROAD_MATCH_KEYWORD, KEYWORD, KEYWORD_MATCH_TYPE, - // UPGRADE_LOCAL_CAMPAIGN_TO_PERFORMANCE_MAX, MAXIMIZE_CLICKS_OPT_IN, - // MAXIMIZE_CONVERSIONS_OPT_IN, OPTIMIZE_AD_ROTATION, - // RESPONSIVE_SEARCH_AD, - // RESPONSIVE_SEARCH_AD_ASSET, - // SEARCH_PARTNERS_OPT_IN, - // DISPLAY_EXPANSION_OPT_IN, SITELINK_EXTENSION, TARGET_CPA_OPT_IN, - // TARGET_ROAS_OPT_IN, TEXT_AD, - // UPGRADE_SMART_SHOPPING_CAMPAIGN_TO_PERFORMANCE_MAX , - // RAISE_TARGET_CPA_BID_TOO_LOW, FORECASTING_SET_TARGET_ROAS - optional string campaign = 25 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Output only. The ad group targeted by this recommendation. This will be set only when - // the recommendation affects a single ad group. - // - // This field will be set for the following recommendation types: - // KEYWORD, OPTIMIZE_AD_ROTATION, RESPONSIVE_SEARCH_AD, - // RESPONSIVE_SEARCH_AD_ASSET, TEXT_AD - optional string ad_group = 26 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Output only. Whether the recommendation is dismissed or not. - optional bool dismissed = 27 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The details of recommendation. - oneof recommendation { - // Output only. The campaign budget recommendation. - CampaignBudgetRecommendation campaign_budget_recommendation = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The forecasting campaign budget recommendation. - CampaignBudgetRecommendation forecasting_campaign_budget_recommendation = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The keyword recommendation. - KeywordRecommendation keyword_recommendation = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Add expanded text ad recommendation. - TextAdRecommendation text_ad_recommendation = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The TargetCPA opt-in recommendation. - TargetCpaOptInRecommendation target_cpa_opt_in_recommendation = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The MaximizeConversions Opt-In recommendation. - MaximizeConversionsOptInRecommendation maximize_conversions_opt_in_recommendation = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The Enhanced Cost-Per-Click Opt-In recommendation. - EnhancedCpcOptInRecommendation enhanced_cpc_opt_in_recommendation = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The Search Partners Opt-In recommendation. - SearchPartnersOptInRecommendation search_partners_opt_in_recommendation = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The MaximizeClicks Opt-In recommendation. - MaximizeClicksOptInRecommendation maximize_clicks_opt_in_recommendation = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The Optimize Ad Rotation recommendation. - OptimizeAdRotationRecommendation optimize_ad_rotation_recommendation = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The Callout extension recommendation. - CalloutExtensionRecommendation callout_extension_recommendation = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The Sitelink extension recommendation. - SitelinkExtensionRecommendation sitelink_extension_recommendation = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The Call extension recommendation. - CallExtensionRecommendation call_extension_recommendation = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The keyword match type recommendation. - KeywordMatchTypeRecommendation keyword_match_type_recommendation = 20 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The move unused budget recommendation. - MoveUnusedBudgetRecommendation move_unused_budget_recommendation = 21 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The Target ROAS opt-in recommendation. - TargetRoasOptInRecommendation target_roas_opt_in_recommendation = 23 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The add responsive search ad recommendation. - ResponsiveSearchAdRecommendation responsive_search_ad_recommendation = 28 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The marginal ROI campaign budget recommendation. - CampaignBudgetRecommendation marginal_roi_campaign_budget_recommendation = 29 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The use broad match keyword recommendation. - UseBroadMatchKeywordRecommendation use_broad_match_keyword_recommendation = 30 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The responsive search ad asset recommendation. - ResponsiveSearchAdAssetRecommendation responsive_search_ad_asset_recommendation = 31 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The upgrade a Smart Shopping campaign to a Performance Max campaign - // recommendation. - UpgradeSmartShoppingCampaignToPerformanceMaxRecommendation upgrade_smart_shopping_campaign_to_performance_max_recommendation = 32 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The responsive search ad improve ad strength recommendation. - ResponsiveSearchAdImproveAdStrengthRecommendation responsive_search_ad_improve_ad_strength_recommendation = 33 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The Display Expansion opt-in recommendation. - DisplayExpansionOptInRecommendation display_expansion_opt_in_recommendation = 34 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The upgrade a Local campaign to a Performance Max campaign - // recommendation. - UpgradeLocalCampaignToPerformanceMaxRecommendation upgrade_local_campaign_to_performance_max_recommendation = 35 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The raise target CPA bid too low recommendation. - RaiseTargetCpaBidTooLowRecommendation raise_target_cpa_bid_too_low_recommendation = 36 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The forecasting set target ROAS recommendation. - ForecastingSetTargetRoasRecommendation forecasting_set_target_roas_recommendation = 37 [(google.api.field_behavior) = OUTPUT_ONLY]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/remarketing_action.proto b/third_party/googleapis/google/ads/googleads/v12/resources/remarketing_action.proto deleted file mode 100644 index f8c7e3845..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/remarketing_action.proto +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/tag_snippet.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "RemarketingActionProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the Remarketing Action resource. - -// A remarketing action. A snippet of JavaScript code that will collect the -// product id and the type of page people visited (product page, shopping cart -// page, purchase page, general site visit) on an advertiser's website. -message RemarketingAction { - option (google.api.resource) = { - type: "googleads.googleapis.com/RemarketingAction" - pattern: "customers/{customer_id}/remarketingActions/{remarketing_action_id}" - }; - - // Immutable. The resource name of the remarketing action. - // Remarketing action resource names have the form: - // - // `customers/{customer_id}/remarketingActions/{remarketing_action_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/RemarketingAction" - } - ]; - - // Output only. Id of the remarketing action. - optional int64 id = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The name of the remarketing action. - // - // This field is required and should not be empty when creating new - // remarketing actions. - optional string name = 6; - - // Output only. The snippets used for tracking remarketing actions. - repeated google.ads.googleads.v12.common.TagSnippet tag_snippets = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/search_term_view.proto b/third_party/googleapis/google/ads/googleads/v12/resources/search_term_view.proto deleted file mode 100644 index c95afd4fd..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/search_term_view.proto +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/search_term_targeting_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "SearchTermViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the SearchTermView resource. - -// A search term view with metrics aggregated by search term at the ad group -// level. -message SearchTermView { - option (google.api.resource) = { - type: "googleads.googleapis.com/SearchTermView" - pattern: "customers/{customer_id}/searchTermViews/{campaign_id}~{ad_group_id}~{query}" - }; - - // Output only. The resource name of the search term view. - // Search term view resource names have the form: - // - // `customers/{customer_id}/searchTermViews/{campaign_id}~{ad_group_id}~{URL-base64_search_term}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/SearchTermView" - } - ]; - - // Output only. The search term. - optional string search_term = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The ad group the search term served in. - optional string ad_group = 6 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Output only. Indicates whether the search term is currently one of your - // targeted or excluded keywords. - google.ads.googleads.v12.enums.SearchTermTargetingStatusEnum.SearchTermTargetingStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/shared_criterion.proto b/third_party/googleapis/google/ads/googleads/v12/resources/shared_criterion.proto deleted file mode 100644 index 7aa235588..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/shared_criterion.proto +++ /dev/null @@ -1,91 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/criteria.proto"; -import "google/ads/googleads/v12/enums/criterion_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "SharedCriterionProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the SharedCriterion resource. - -// A criterion belonging to a shared set. -message SharedCriterion { - option (google.api.resource) = { - type: "googleads.googleapis.com/SharedCriterion" - pattern: "customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}" - }; - - // Immutable. The resource name of the shared criterion. - // Shared set resource names have the form: - // - // `customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/SharedCriterion" - } - ]; - - // Immutable. The shared set to which the shared criterion belongs. - optional string shared_set = 10 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/SharedSet" - } - ]; - - // Output only. The ID of the criterion. - // - // This field is ignored for mutates. - optional int64 criterion_id = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The type of the criterion. - google.ads.googleads.v12.enums.CriterionTypeEnum.CriterionType type = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The criterion. - // - // Exactly one must be set. - oneof criterion { - // Immutable. Keyword. - google.ads.googleads.v12.common.KeywordInfo keyword = 3 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. YouTube Video. - google.ads.googleads.v12.common.YouTubeVideoInfo youtube_video = 5 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. YouTube Channel. - google.ads.googleads.v12.common.YouTubeChannelInfo youtube_channel = 6 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Placement. - google.ads.googleads.v12.common.PlacementInfo placement = 7 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Mobile App Category. - google.ads.googleads.v12.common.MobileAppCategoryInfo mobile_app_category = 8 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Mobile application. - google.ads.googleads.v12.common.MobileApplicationInfo mobile_application = 9 [(google.api.field_behavior) = IMMUTABLE]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/shared_set.proto b/third_party/googleapis/google/ads/googleads/v12/resources/shared_set.proto deleted file mode 100644 index eacc9faaf..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/shared_set.proto +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/shared_set_status.proto"; -import "google/ads/googleads/v12/enums/shared_set_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "SharedSetProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the SharedSet resource. - -// SharedSets are used for sharing criterion exclusions across multiple -// campaigns. -message SharedSet { - option (google.api.resource) = { - type: "googleads.googleapis.com/SharedSet" - pattern: "customers/{customer_id}/sharedSets/{shared_set_id}" - }; - - // Immutable. The resource name of the shared set. - // Shared set resource names have the form: - // - // `customers/{customer_id}/sharedSets/{shared_set_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/SharedSet" - } - ]; - - // Output only. The ID of this shared set. Read only. - optional int64 id = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The type of this shared set: each shared set holds only a single kind - // of resource. Required. Immutable. - google.ads.googleads.v12.enums.SharedSetTypeEnum.SharedSetType type = 3 [(google.api.field_behavior) = IMMUTABLE]; - - // The name of this shared set. Required. - // Shared Sets must have names that are unique among active shared sets of - // the same type. - // The length of this string should be between 1 and 255 UTF-8 bytes, - // inclusive. - optional string name = 9; - - // Output only. The status of this shared set. Read only. - google.ads.googleads.v12.enums.SharedSetStatusEnum.SharedSetStatus status = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The number of shared criteria within this shared set. Read only. - optional int64 member_count = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The number of campaigns associated with this shared set. Read only. - optional int64 reference_count = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/shopping_performance_view.proto b/third_party/googleapis/google/ads/googleads/v12/resources/shopping_performance_view.proto deleted file mode 100644 index 6015c0b28..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/shopping_performance_view.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ShoppingPerformanceViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the ShoppingPerformanceView resource. - -// Shopping performance view. -// Provides Shopping campaign statistics aggregated at several product dimension -// levels. Product dimension values from Merchant Center such as brand, -// category, custom attributes, product condition and product type will reflect -// the state of each dimension as of the date and time when the corresponding -// event was recorded. -message ShoppingPerformanceView { - option (google.api.resource) = { - type: "googleads.googleapis.com/ShoppingPerformanceView" - pattern: "customers/{customer_id}/shoppingPerformanceView" - }; - - // Output only. The resource name of the Shopping performance view. - // Shopping performance view resource names have the form: - // `customers/{customer_id}/shoppingPerformanceView` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ShoppingPerformanceView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/smart_campaign_search_term_view.proto b/third_party/googleapis/google/ads/googleads/v12/resources/smart_campaign_search_term_view.proto deleted file mode 100644 index 4e466fd83..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/smart_campaign_search_term_view.proto +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "SmartCampaignSearchTermViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the SmartCampaignSearchTermView resource. - -// A Smart campaign search term view. -message SmartCampaignSearchTermView { - option (google.api.resource) = { - type: "googleads.googleapis.com/SmartCampaignSearchTermView" - pattern: "customers/{customer_id}/smartCampaignSearchTermViews/{campaign_id}~{query}" - }; - - // Output only. The resource name of the Smart campaign search term view. - // Smart campaign search term view resource names have the form: - // - // `customers/{customer_id}/smartCampaignSearchTermViews/{campaign_id}~{URL-base64_search_term}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/SmartCampaignSearchTermView" - } - ]; - - // Output only. The search term. - string search_term = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The Smart campaign the search term served in. - string campaign = 3 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/smart_campaign_setting.proto b/third_party/googleapis/google/ads/googleads/v12/resources/smart_campaign_setting.proto deleted file mode 100644 index 6c38f7521..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/smart_campaign_setting.proto +++ /dev/null @@ -1,110 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "SmartCampaignSettingProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the Smart campaign setting resource. - -// Settings for configuring Smart campaigns. -message SmartCampaignSetting { - option (google.api.resource) = { - type: "googleads.googleapis.com/SmartCampaignSetting" - pattern: "customers/{customer_id}/smartCampaignSettings/{campaign_id}" - }; - - // Phone number and country code in smart campaign settings. - message PhoneNumber { - // Phone number of the smart campaign. - optional string phone_number = 1; - - // Upper-case, two-letter country code as defined by ISO-3166. - optional string country_code = 2; - } - - // Settings for configuring a business profile optimized for ads as this - // campaign's landing page. - message AdOptimizedBusinessProfileSetting { - // Enabling a lead form on your business profile enables prospective - // customers to contact your business by filling out a simple form, - // and you'll receive their information through email. - optional bool include_lead_form = 1; - } - - // Immutable. The resource name of the Smart campaign setting. - // Smart campaign setting resource names have the form: - // - // `customers/{customer_id}/smartCampaignSettings/{campaign_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/SmartCampaignSetting" - } - ]; - - // Output only. The campaign to which these settings apply. - string campaign = 2 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Phone number and country code. - PhoneNumber phone_number = 3; - - // The ISO-639-1 language code to advertise in. - string advertising_language_code = 7; - - // The landing page of this campaign. - oneof landing_page { - // The user-provided landing page URL for this Campaign. - string final_url = 8; - - // Settings for configuring a business profile optimized for ads as this - // campaign's landing page. This campaign must be linked to a business - // profile to use this option. For more information on this feature, - // consult https://support.google.com/google-ads/answer/9827068. - AdOptimizedBusinessProfileSetting ad_optimized_business_profile_setting = 9; - } - - // The business setting of this campaign. - oneof business_setting { - // The name of the business. - string business_name = 5; - - // The resource name of a Business Profile location. - // Business Profile location resource names can be fetched through the - // Business Profile API and adhere to the following format: - // `locations/{locationId}`. - // - // See the [Business Profile API] - // (https://developers.google.com/my-business/reference/businessinformation/rest/v1/accounts.locations) - // for additional details. - string business_profile_location = 10; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/third_party_app_analytics_link.proto b/third_party/googleapis/google/ads/googleads/v12/resources/third_party_app_analytics_link.proto deleted file mode 100644 index f042ed90e..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/third_party_app_analytics_link.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ThirdPartyAppAnalyticsLinkProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// A data sharing connection, allowing the import of third party app analytics -// into a Google Ads Customer. -message ThirdPartyAppAnalyticsLink { - option (google.api.resource) = { - type: "googleads.googleapis.com/ThirdPartyAppAnalyticsLink" - pattern: "customers/{customer_id}/thirdPartyAppAnalyticsLinks/{customer_link_id}" - }; - - // Immutable. The resource name of the third party app analytics link. - // Third party app analytics link resource names have the form: - // - // `customers/{customer_id}/thirdPartyAppAnalyticsLinks/{account_link_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ThirdPartyAppAnalyticsLink" - } - ]; - - // Output only. The shareable link ID that should be provided to the third party when - // setting up app analytics. This is able to be regenerated using regenerate - // method in the ThirdPartyAppAnalyticsLinkService. - optional string shareable_link_id = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/topic_constant.proto b/third_party/googleapis/google/ads/googleads/v12/resources/topic_constant.proto deleted file mode 100644 index 4b6a12115..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/topic_constant.proto +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "TopicConstantProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the Topic Constant resource. - -// Use topics to target or exclude placements in the Google Display Network -// based on the category into which the placement falls (for example, -// "Pets & Animals/Pets/Dogs"). -message TopicConstant { - option (google.api.resource) = { - type: "googleads.googleapis.com/TopicConstant" - pattern: "topicConstants/{topic_id}" - }; - - // Output only. The resource name of the topic constant. - // topic constant resource names have the form: - // - // `topicConstants/{topic_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/TopicConstant" - } - ]; - - // Output only. The ID of the topic. - optional int64 id = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Resource name of parent of the topic constant. - optional string topic_constant_parent = 6 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/TopicConstant" - } - ]; - - // Output only. The category to target or exclude. Each subsequent element in the array - // describes a more specific sub-category. For example, - // {"Pets & Animals", "Pets", "Dogs"} represents the - // "Pets & Animals/Pets/Dogs" category. List of available topic categories at - // https://developers.google.com/adwords/api/docs/appendix/verticals - repeated string path = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/topic_view.proto b/third_party/googleapis/google/ads/googleads/v12/resources/topic_view.proto deleted file mode 100644 index 5c20bfabf..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/topic_view.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "TopicViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the topic view resource. - -// A topic view. -message TopicView { - option (google.api.resource) = { - type: "googleads.googleapis.com/TopicView" - pattern: "customers/{customer_id}/topicViews/{ad_group_id}~{criterion_id}" - }; - - // Output only. The resource name of the topic view. - // Topic view resource names have the form: - // - // `customers/{customer_id}/topicViews/{ad_group_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/TopicView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/user_interest.proto b/third_party/googleapis/google/ads/googleads/v12/resources/user_interest.proto deleted file mode 100644 index 459b42a4a..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/user_interest.proto +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/criterion_category_availability.proto"; -import "google/ads/googleads/v12/enums/user_interest_taxonomy_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "UserInterestProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the User Interest resource. - -// A user interest: a particular interest-based vertical to be targeted. -message UserInterest { - option (google.api.resource) = { - type: "googleads.googleapis.com/UserInterest" - pattern: "customers/{customer_id}/userInterests/{user_interest_id}" - }; - - // Output only. The resource name of the user interest. - // User interest resource names have the form: - // - // `customers/{customer_id}/userInterests/{user_interest_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/UserInterest" - } - ]; - - // Output only. Taxonomy type of the user interest. - google.ads.googleads.v12.enums.UserInterestTaxonomyTypeEnum.UserInterestTaxonomyType taxonomy_type = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The ID of the user interest. - optional int64 user_interest_id = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The name of the user interest. - optional string name = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The parent of the user interest. - optional string user_interest_parent = 10 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/UserInterest" - } - ]; - - // Output only. True if the user interest is launched to all channels and locales. - optional bool launched_to_all = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Availability information of the user interest. - repeated google.ads.googleads.v12.common.CriterionCategoryAvailability availabilities = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/user_list.proto b/third_party/googleapis/google/ads/googleads/v12/resources/user_list.proto deleted file mode 100644 index c93df2564..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/user_list.proto +++ /dev/null @@ -1,173 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/user_lists.proto"; -import "google/ads/googleads/v12/enums/access_reason.proto"; -import "google/ads/googleads/v12/enums/user_list_access_status.proto"; -import "google/ads/googleads/v12/enums/user_list_closing_reason.proto"; -import "google/ads/googleads/v12/enums/user_list_membership_status.proto"; -import "google/ads/googleads/v12/enums/user_list_size_range.proto"; -import "google/ads/googleads/v12/enums/user_list_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "UserListProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the User List resource. - -// A user list. This is a list of users a customer may target. -message UserList { - option (google.api.resource) = { - type: "googleads.googleapis.com/UserList" - pattern: "customers/{customer_id}/userLists/{user_list_id}" - }; - - // Immutable. The resource name of the user list. - // User list resource names have the form: - // - // `customers/{customer_id}/userLists/{user_list_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/UserList" - } - ]; - - // Output only. Id of the user list. - optional int64 id = 25 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. An option that indicates if a user may edit a list. Depends on the list - // ownership and list type. For example, external remarketing user lists are - // not editable. - // - // This field is read-only. - optional bool read_only = 26 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Name of this user list. Depending on its access_reason, the user list name - // may not be unique (for example, if access_reason=SHARED) - optional string name = 27; - - // Description of this user list. - optional string description = 28; - - // Membership status of this user list. Indicates whether a user list is open - // or active. Only open user lists can accumulate more users and can be - // targeted to. - google.ads.googleads.v12.enums.UserListMembershipStatusEnum.UserListMembershipStatus membership_status = 6; - - // An ID from external system. It is used by user list sellers to correlate - // IDs on their systems. - optional string integration_code = 29; - - // Number of days a user's cookie stays on your list since its most recent - // addition to the list. This field must be between 0 and 540 inclusive. - // However, for CRM based userlists, this field can be set to 10000 which - // means no expiration. - // - // It'll be ignored for logical_user_list. - optional int64 membership_life_span = 30; - - // Output only. Estimated number of users in this user list, on the Google Display Network. - // This value is null if the number of users has not yet been determined. - // - // This field is read-only. - optional int64 size_for_display = 31 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Size range in terms of number of users of the UserList, on the Google - // Display Network. - // - // This field is read-only. - google.ads.googleads.v12.enums.UserListSizeRangeEnum.UserListSizeRange size_range_for_display = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Estimated number of users in this user list in the google.com domain. - // These are the users available for targeting in Search campaigns. - // This value is null if the number of users has not yet been determined. - // - // This field is read-only. - optional int64 size_for_search = 32 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Size range in terms of number of users of the UserList, for Search ads. - // - // This field is read-only. - google.ads.googleads.v12.enums.UserListSizeRangeEnum.UserListSizeRange size_range_for_search = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Type of this list. - // - // This field is read-only. - google.ads.googleads.v12.enums.UserListTypeEnum.UserListType type = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Indicating the reason why this user list membership status is closed. It is - // only populated on lists that were automatically closed due to inactivity, - // and will be cleared once the list membership status becomes open. - google.ads.googleads.v12.enums.UserListClosingReasonEnum.UserListClosingReason closing_reason = 14; - - // Output only. Indicates the reason this account has been granted access to the list. - // The reason can be SHARED, OWNED, LICENSED or SUBSCRIBED. - // - // This field is read-only. - google.ads.googleads.v12.enums.AccessReasonEnum.AccessReason access_reason = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Indicates if this share is still enabled. When a UserList is shared with - // the user this field is set to ENABLED. Later the userList owner can decide - // to revoke the share and make it DISABLED. - // The default value of this field is set to ENABLED. - google.ads.googleads.v12.enums.UserListAccessStatusEnum.UserListAccessStatus account_user_list_status = 16; - - // Indicates if this user list is eligible for Google Search Network. - optional bool eligible_for_search = 33; - - // Output only. Indicates this user list is eligible for Google Display Network. - // - // This field is read-only. - optional bool eligible_for_display = 34 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Indicates match rate for Customer Match lists. The range of this field is - // [0-100]. This will be null for other list types or when it's not possible - // to calculate the match rate. - // - // This field is read-only. - optional int32 match_rate_percentage = 24 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The user list. - // - // Exactly one must be set. - oneof user_list { - // User list of CRM users provided by the advertiser. - google.ads.googleads.v12.common.CrmBasedUserListInfo crm_based_user_list = 19; - - // Output only. User list which are similar to users from another UserList. - // These lists are readonly and automatically created by google. - google.ads.googleads.v12.common.SimilarUserListInfo similar_user_list = 20 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // User list generated by a rule. - google.ads.googleads.v12.common.RuleBasedUserListInfo rule_based_user_list = 21; - - // User list that is a custom combination of user lists and user interests. - google.ads.googleads.v12.common.LogicalUserListInfo logical_user_list = 22; - - // User list targeting as a collection of conversion or remarketing actions. - google.ads.googleads.v12.common.BasicUserListInfo basic_user_list = 23; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/user_location_view.proto b/third_party/googleapis/google/ads/googleads/v12/resources/user_location_view.proto deleted file mode 100644 index 624056a54..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/user_location_view.proto +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "UserLocationViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the user location view resource. - -// A user location view. -// -// User Location View includes all metrics aggregated at the country level, -// one row per country. It reports metrics at the actual physical location of -// the user by targeted or not targeted location. If other segment fields are -// used, you may get more than one row per country. -message UserLocationView { - option (google.api.resource) = { - type: "googleads.googleapis.com/UserLocationView" - pattern: "customers/{customer_id}/userLocationViews/{country_criterion_id}~{is_targeting_location}" - }; - - // Output only. The resource name of the user location view. - // UserLocation view resource names have the form: - // - // `customers/{customer_id}/userLocationViews/{country_criterion_id}~{targeting_location}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/UserLocationView" - } - ]; - - // Output only. Criterion Id for the country. - optional int64 country_criterion_id = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Indicates whether location was targeted or not. - optional bool targeting_location = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/video.proto b/third_party/googleapis/google/ads/googleads/v12/resources/video.proto deleted file mode 100644 index 73e3a91d9..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/video.proto +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "VideoProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the video resource. - -// A video. -message Video { - option (google.api.resource) = { - type: "googleads.googleapis.com/Video" - pattern: "customers/{customer_id}/videos/{video_id}" - }; - - // Output only. The resource name of the video. - // Video resource names have the form: - // - // `customers/{customer_id}/videos/{video_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Video" - } - ]; - - // Output only. The ID of the video. - optional string id = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The owner channel id of the video. - optional string channel_id = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The duration of the video in milliseconds. - optional int64 duration_millis = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The title of the video. - optional string title = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/resources/webpage_view.proto b/third_party/googleapis/google/ads/googleads/v12/resources/webpage_view.proto deleted file mode 100644 index 82aaeeacc..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/resources/webpage_view.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "WebpageViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; - -// Proto file describing the webpage view resource. - -// A webpage view. -message WebpageView { - option (google.api.resource) = { - type: "googleads.googleapis.com/WebpageView" - pattern: "customers/{customer_id}/webpageViews/{ad_group_id}~{criterion_id}" - }; - - // Output only. The resource name of the webpage view. - // Webpage view resource names have the form: - // - // `customers/{customer_id}/webpageViews/{ad_group_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/WebpageView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/BUILD.bazel b/third_party/googleapis/google/ads/googleads/v12/services/BUILD.bazel deleted file mode 100644 index 358291a40..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/BUILD.bazel +++ /dev/null @@ -1,138 +0,0 @@ -# Copyright 2020 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -package(default_visibility = ["//visibility:public"]) - -############################################################################## -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -# TODO(ohren): Change srcs to use an enumeration of each individual proto -# instead of *.proto globbing once the build file generator supports -# subpackages. -proto_library( - name = "services_proto", - srcs = glob(["*.proto"]), - deps = [ - "//google/ads/googleads/v12/common:common_proto", - "//google/ads/googleads/v12/enums:enums_proto", - "//google/ads/googleads/v12/errors:errors_proto", - "//google/ads/googleads/v12/resources:resources_proto", - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", - "//google/longrunning:operations_proto", - "//google/rpc:status_proto", - "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:wrappers_proto", - ], -) - -proto_library_with_info( - name = "services_proto_with_info", - deps = [ - ":services_proto", - ], -) - -############################################################################## -# Java -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "java_grpc_library", - "java_proto_library", -) - -java_proto_library( - name = "services_java_proto", - deps = [":services_proto"], -) - -java_grpc_library( - name = "services_java_grpc", - srcs = [":services_proto"], - deps = [":services_java_proto"], -) - -############################################################################## -# PHP -############################################################################## - -# PHP targets are in the parent directory's BUILD.bazel file to facilitate -# aggregating metadata using a single underlying call to protoc. - -############################################################################## -# C# -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "csharp_grpc_library", - "csharp_proto_library", -) - -csharp_proto_library( - name = "services_csharp_proto", - deps = [":services_proto"], -) - -csharp_grpc_library( - name = "services_csharp_grpc", - srcs = [":services_proto"], - deps = [":services_csharp_proto"], -) - -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( - name = "services_ruby_proto", - deps = [":services_proto"], -) - -ruby_grpc_library( - name = "services_ruby_grpc", - srcs = [":services_proto"], - deps = [":services_ruby_proto"], -) - -############################################################################## -# Python -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "py_grpc_library", - "py_proto_library", -) - -py_proto_library( - name = "services_py_proto", - deps = [":services_proto"], -) - -py_grpc_library( - name = "services_py_grpc", - srcs = [":services_proto"], - deps = [":services_py_proto"], -) diff --git a/third_party/googleapis/google/ads/googleads/v12/services/account_budget_proposal_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/account_budget_proposal_service.proto deleted file mode 100644 index 38e673747..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/account_budget_proposal_service.proto +++ /dev/null @@ -1,132 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/account_budget_proposal.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AccountBudgetProposalServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the AccountBudgetProposal service. - -// A service for managing account-level budgets through proposals. -// -// A proposal is a request to create a new budget or make changes to an -// existing one. -// -// Mutates: -// The CREATE operation creates a new proposal. -// UPDATE operations aren't supported. -// The REMOVE operation cancels a pending proposal. -service AccountBudgetProposalService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes account budget proposals. Operation statuses - // are returned. - // - // List of thrown errors: - // [AccountBudgetProposalError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [DateError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - // [StringLengthError]() - rpc MutateAccountBudgetProposal(MutateAccountBudgetProposalRequest) returns (MutateAccountBudgetProposalResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/accountBudgetProposals:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operation"; - } -} - -// Request message for -// [AccountBudgetProposalService.MutateAccountBudgetProposal][google.ads.googleads.v12.services.AccountBudgetProposalService.MutateAccountBudgetProposal]. -message MutateAccountBudgetProposalRequest { - // Required. The ID of the customer. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The operation to perform on an individual account-level budget proposal. - AccountBudgetProposalOperation operation = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; -} - -// A single operation to propose the creation of a new account-level budget or -// edit/end/remove an existing one. -message AccountBudgetProposalOperation { - // FieldMask that determines which budget fields are modified. While budgets - // may be modified, proposals that propose such modifications are final. - // Therefore, update operations are not supported for proposals. - // - // Proposals that modify budgets have the 'update' proposal type. Specifying - // a mask for any other proposal type is considered an error. - google.protobuf.FieldMask update_mask = 3; - - // The mutate operation. - oneof operation { - // Create operation: A new proposal to create a new budget, edit an - // existing budget, end an actively running budget, or remove an approved - // budget scheduled to start in the future. - // No resource name is expected for the new proposal. - google.ads.googleads.v12.resources.AccountBudgetProposal create = 2; - - // Remove operation: A resource name for the removed proposal is expected, - // in this format: - // - // `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` - // A request may be cancelled iff it is pending. - string remove = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AccountBudgetProposal" - }]; - } -} - -// Response message for account-level budget mutate operations. -message MutateAccountBudgetProposalResponse { - // The result of the mutate. - MutateAccountBudgetProposalResult result = 2; -} - -// The result for the account budget proposal mutate. -message MutateAccountBudgetProposalResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AccountBudgetProposal" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/account_link_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/account_link_service.proto deleted file mode 100644 index 3bda47f9b..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/account_link_service.proto +++ /dev/null @@ -1,164 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/account_link.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AccountLinkServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// This service allows management of links between Google Ads accounts and other -// accounts. -service AccountLinkService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates an account link. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - // [ThirdPartyAppAnalyticsLinkError]() - rpc CreateAccountLink(CreateAccountLinkRequest) returns (CreateAccountLinkResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/accountLinks:create" - body: "*" - }; - option (google.api.method_signature) = "customer_id,account_link"; - } - - // Creates or removes an account link. - // From V5, create is not supported through - // AccountLinkService.MutateAccountLink. Use - // AccountLinkService.CreateAccountLink instead. - // - // List of thrown errors: - // [AccountLinkError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [FieldMaskError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - rpc MutateAccountLink(MutateAccountLinkRequest) returns (MutateAccountLinkResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/accountLinks:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operation"; - } -} - -// Request message for -// [AccountLinkService.CreateAccountLink][google.ads.googleads.v12.services.AccountLinkService.CreateAccountLink]. -message CreateAccountLinkRequest { - // Required. The ID of the customer for which the account link is created. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The account link to be created. - google.ads.googleads.v12.resources.AccountLink account_link = 2 [(google.api.field_behavior) = REQUIRED]; -} - -// Response message for -// [AccountLinkService.CreateAccountLink][google.ads.googleads.v12.services.AccountLinkService.CreateAccountLink]. -message CreateAccountLinkResponse { - // Returned for successful operations. Resource name of the account link. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AccountLink" - }]; -} - -// Request message for [AccountLinkService.MutateAccountLink][google.ads.googleads.v12.services.AccountLinkService.MutateAccountLink]. -message MutateAccountLinkRequest { - // Required. The ID of the customer being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The operation to perform on the link. - AccountLinkOperation operation = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single update on an account link. -message AccountLinkOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The operation to perform. - oneof operation { - // Update operation: The account link is expected to have - // a valid resource name. - google.ads.googleads.v12.resources.AccountLink update = 2; - - // Remove operation: A resource name for the account link to remove is - // expected, in this format: - // - // `customers/{customer_id}/accountLinks/{account_link_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AccountLink" - }]; - } -} - -// Response message for account link mutate. -message MutateAccountLinkResponse { - // Result for the mutate. - MutateAccountLinkResult result = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the account link mutate. -message MutateAccountLinkResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AccountLink" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/ad_group_ad_label_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/ad_group_ad_label_service.proto deleted file mode 100644 index 7611743ab..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/ad_group_ad_label_service.proto +++ /dev/null @@ -1,120 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/ad_group_ad_label.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAdLabelServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the Ad Group Ad Label service. - -// Service to manage labels on ad group ads. -service AdGroupAdLabelService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates and removes ad group ad labels. - // Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [HeaderError]() - // [InternalError]() - // [LabelError]() - // [MutateError]() - // [NewResourceCreationError]() - // [QuotaError]() - // [RequestError]() - rpc MutateAdGroupAdLabels(MutateAdGroupAdLabelsRequest) returns (MutateAdGroupAdLabelsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/adGroupAdLabels:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [AdGroupAdLabelService.MutateAdGroupAdLabels][google.ads.googleads.v12.services.AdGroupAdLabelService.MutateAdGroupAdLabels]. -message MutateAdGroupAdLabelsRequest { - // Required. ID of the customer whose ad group ad labels are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on ad group ad labels. - repeated AdGroupAdLabelOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, remove) on an ad group ad label. -message AdGroupAdLabelOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new ad group ad - // label. - google.ads.googleads.v12.resources.AdGroupAdLabel create = 1; - - // Remove operation: A resource name for the ad group ad label - // being removed, in this format: - // - // `customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAdLabel" - }]; - } -} - -// Response message for an ad group ad labels mutate. -message MutateAdGroupAdLabelsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateAdGroupAdLabelResult results = 2; -} - -// The result for an ad group ad label mutate. -message MutateAdGroupAdLabelResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAdLabel" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/ad_group_ad_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/ad_group_ad_service.proto deleted file mode 100644 index f2d5acf5b..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/ad_group_ad_service.proto +++ /dev/null @@ -1,172 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/common/policy.proto"; -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/ad_group_ad.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAdServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the Ad Group Ad service. - -// Service to manage ads in an ad group. -service AdGroupAdService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes ads. Operation statuses are returned. - // - // List of thrown errors: - // [AdCustomizerError]() - // [AdError]() - // [AdGroupAdError]() - // [AdSharingError]() - // [AdxError]() - // [AssetError]() - // [AssetLinkError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [ContextError]() - // [DatabaseError]() - // [DateError]() - // [DistinctError]() - // [FeedAttributeReferenceError]() - // [FieldError]() - // [FieldMaskError]() - // [FunctionError]() - // [FunctionParsingError]() - // [HeaderError]() - // [IdError]() - // [ImageError]() - // [InternalError]() - // [ListOperationError]() - // [MediaBundleError]() - // [MediaFileError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [NullError]() - // [OperationAccessDeniedError]() - // [OperatorError]() - // [PolicyFindingError]() - // [PolicyValidationParameterError]() - // [PolicyViolationError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - // [UrlFieldError]() - rpc MutateAdGroupAds(MutateAdGroupAdsRequest) returns (MutateAdGroupAdsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/adGroupAds:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [AdGroupAdService.MutateAdGroupAds][google.ads.googleads.v12.services.AdGroupAdService.MutateAdGroupAds]. -message MutateAdGroupAdsRequest { - // Required. The ID of the customer whose ads are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual ads. - repeated AdGroupAdOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, update, remove) on an ad group ad. -message AdGroupAdOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // Configuration for how policies are validated. - google.ads.googleads.v12.common.PolicyValidationParameter policy_validation_parameter = 5; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new ad. - google.ads.googleads.v12.resources.AdGroupAd create = 1; - - // Update operation: The ad is expected to have a valid resource name. - google.ads.googleads.v12.resources.AdGroupAd update = 2; - - // Remove operation: A resource name for the removed ad is expected, - // in this format: - // - // `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAd" - }]; - } -} - -// Response message for an ad group ad mutate. -message MutateAdGroupAdsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateAdGroupAdResult results = 2; -} - -// The result for the ad mutate. -message MutateAdGroupAdResult { - // The resource name returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAd" - }]; - - // The mutated ad group ad with only mutable fields after mutate. The field - // will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.AdGroupAd ad_group_ad = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/ad_group_asset_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/ad_group_asset_service.proto deleted file mode 100644 index a78fc0bf9..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/ad_group_asset_service.proto +++ /dev/null @@ -1,139 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/ad_group_asset.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAssetServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the AdGroupAsset service. - -// Service to manage ad group assets. -service AdGroupAssetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes ad group assets. Operation statuses are - // returned. - // - // List of thrown errors: - // [AssetLinkError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [ContextError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [NotAllowlistedError]() - // [QuotaError]() - // [RequestError]() - rpc MutateAdGroupAssets(MutateAdGroupAssetsRequest) returns (MutateAdGroupAssetsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/adGroupAssets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [AdGroupAssetService.MutateAdGroupAssets][google.ads.googleads.v12.services.AdGroupAssetService.MutateAdGroupAssets]. -message MutateAdGroupAssetsRequest { - // Required. The ID of the customer whose ad group assets are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual ad group assets. - repeated AdGroupAssetOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, update, remove) on an ad group asset. -message AdGroupAssetOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new ad group - // asset. - google.ads.googleads.v12.resources.AdGroupAsset create = 1; - - // Update operation: The ad group asset is expected to have a valid resource - // name. - google.ads.googleads.v12.resources.AdGroupAsset update = 3; - - // Remove operation: A resource name for the removed ad group asset is - // expected, in this format: - // - // `customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAsset" - }]; - } -} - -// Response message for an ad group asset mutate. -message MutateAdGroupAssetsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 1; - - // All results for the mutate. - repeated MutateAdGroupAssetResult results = 2; -} - -// The result for the ad group asset mutate. -message MutateAdGroupAssetResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAsset" - }]; - - // The mutated ad group asset with only mutable fields after - // mutate. The field will only be returned when response_content_type is set - // to "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.AdGroupAsset ad_group_asset = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/ad_group_asset_set_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/ad_group_asset_set_service.proto deleted file mode 100644 index 988447a58..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/ad_group_asset_set_service.proto +++ /dev/null @@ -1,117 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/ad_group_asset_set.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAssetSetServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the AdGroupAssetSet service. - -// Service to manage ad group asset set -service AdGroupAssetSetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, or removes ad group asset sets. Operation statuses are - // returned. - rpc MutateAdGroupAssetSets(MutateAdGroupAssetSetsRequest) returns (MutateAdGroupAssetSetsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/adGroupAssetSets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [AdGroupAssetSetService.MutateAdGroupAssetSets][google.ads.googleads.v12.services.AdGroupAssetSetService.MutateAdGroupAssetSets]. -message MutateAdGroupAssetSetsRequest { - // Required. The ID of the customer whose ad group asset sets are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual ad group asset sets. - repeated AdGroupAssetSetOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, remove) on an ad group asset set. -message AdGroupAssetSetOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new ad group asset - // set. - google.ads.googleads.v12.resources.AdGroupAssetSet create = 1; - - // Remove operation: A resource name for the removed ad group asset set is - // expected, in this format: - // `customers/{customer_id}/adGroupAssetSets/{ad_group_id}~{asset_set_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAssetSet" - }]; - } -} - -// Response message for an ad group asset set mutate. -message MutateAdGroupAssetSetsResponse { - // All results for the mutate. - repeated MutateAdGroupAssetSetResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (e.g. auth errors), - // we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the ad group asset set mutate. -message MutateAdGroupAssetSetResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAssetSet" - }]; - - // The mutated ad group asset set with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.AdGroupAssetSet ad_group_asset_set = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/ad_group_bid_modifier_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/ad_group_bid_modifier_service.proto deleted file mode 100644 index 0d1f74e14..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/ad_group_bid_modifier_service.proto +++ /dev/null @@ -1,151 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/ad_group_bid_modifier.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupBidModifierServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the Ad Group Bid Modifier service. - -// Service to manage ad group bid modifiers. -service AdGroupBidModifierService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes ad group bid modifiers. - // Operation statuses are returned. - // - // List of thrown errors: - // [AdGroupBidModifierError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [ContextError]() - // [CriterionError]() - // [DatabaseError]() - // [DistinctError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - rpc MutateAdGroupBidModifiers(MutateAdGroupBidModifiersRequest) returns (MutateAdGroupBidModifiersResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/adGroupBidModifiers:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [AdGroupBidModifierService.MutateAdGroupBidModifiers][google.ads.googleads.v12.services.AdGroupBidModifierService.MutateAdGroupBidModifiers]. -message MutateAdGroupBidModifiersRequest { - // Required. ID of the customer whose ad group bid modifiers are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual ad group bid modifiers. - repeated AdGroupBidModifierOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, remove, update) on an ad group bid modifier. -message AdGroupBidModifierOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new ad group bid - // modifier. - google.ads.googleads.v12.resources.AdGroupBidModifier create = 1; - - // Update operation: The ad group bid modifier is expected to have a valid - // resource name. - google.ads.googleads.v12.resources.AdGroupBidModifier update = 2; - - // Remove operation: A resource name for the removed ad group bid modifier - // is expected, in this format: - // - // `customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupBidModifier" - }]; - } -} - -// Response message for ad group bid modifiers mutate. -message MutateAdGroupBidModifiersResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateAdGroupBidModifierResult results = 2; -} - -// The result for the criterion mutate. -message MutateAdGroupBidModifierResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupBidModifier" - }]; - - // The mutated ad group bid modifier with only mutable fields after mutate. - // The field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.AdGroupBidModifier ad_group_bid_modifier = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/ad_group_criterion_customizer_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/ad_group_criterion_customizer_service.proto deleted file mode 100644 index e05327346..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/ad_group_criterion_customizer_service.proto +++ /dev/null @@ -1,121 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/ad_group_criterion_customizer.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionCustomizerServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the AdGroupCriterionCustomizer service. - -// Service to manage ad group criterion customizer -service AdGroupCriterionCustomizerService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes ad group criterion customizers. Operation - // statuses are returned. - rpc MutateAdGroupCriterionCustomizers(MutateAdGroupCriterionCustomizersRequest) returns (MutateAdGroupCriterionCustomizersResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/AdGroupCriterionCustomizers:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [AdGroupCriterionCustomizerService.MutateAdGroupCriterionCustomizers][google.ads.googleads.v12.services.AdGroupCriterionCustomizerService.MutateAdGroupCriterionCustomizers]. -message MutateAdGroupCriterionCustomizersRequest { - // Required. The ID of the customer whose ad group criterion customizers are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual ad group criterion - // customizers. - repeated AdGroupCriterionCustomizerOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, remove) on an customizer attribute. -message AdGroupCriterionCustomizerOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new ad group - // criterion customizer. - google.ads.googleads.v12.resources.AdGroupCriterionCustomizer create = 1; - - // Remove operation: A resource name for the removed ad group criterion - // customizer is expected, in this format: - // - // `customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~{customizer_attribute_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterionCustomizer" - }]; - } -} - -// Response message for an ad group criterion customizer mutate. -message MutateAdGroupCriterionCustomizersResponse { - // All results for the mutate. - repeated MutateAdGroupCriterionCustomizerResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the ad group criterion customizer mutate. -message MutateAdGroupCriterionCustomizerResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterionCustomizer" - }]; - - // The mutated AdGroupCriterionCustomizer with only mutable fields after - // mutate. The field will only be returned when response_content_type is set - // to "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.AdGroupCriterionCustomizer ad_group_criterion_customizer = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/ad_group_criterion_label_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/ad_group_criterion_label_service.proto deleted file mode 100644 index c3285ad9c..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/ad_group_criterion_label_service.proto +++ /dev/null @@ -1,119 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/ad_group_criterion_label.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionLabelServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the Ad Group Criterion Label service. - -// Service to manage labels on ad group criteria. -service AdGroupCriterionLabelService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates and removes ad group criterion labels. - // Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc MutateAdGroupCriterionLabels(MutateAdGroupCriterionLabelsRequest) returns (MutateAdGroupCriterionLabelsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/adGroupCriterionLabels:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [AdGroupCriterionLabelService.MutateAdGroupCriterionLabels][google.ads.googleads.v12.services.AdGroupCriterionLabelService.MutateAdGroupCriterionLabels]. -message MutateAdGroupCriterionLabelsRequest { - // Required. ID of the customer whose ad group criterion labels are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on ad group criterion labels. - repeated AdGroupCriterionLabelOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, remove) on an ad group criterion label. -message AdGroupCriterionLabelOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new ad group - // label. - google.ads.googleads.v12.resources.AdGroupCriterionLabel create = 1; - - // Remove operation: A resource name for the ad group criterion label - // being removed, in this format: - // - // `customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterionLabel" - }]; - } -} - -// Response message for an ad group criterion labels mutate. -message MutateAdGroupCriterionLabelsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateAdGroupCriterionLabelResult results = 2; -} - -// The result for an ad group criterion label mutate. -message MutateAdGroupCriterionLabelResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterionLabel" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/ad_group_criterion_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/ad_group_criterion_service.proto deleted file mode 100644 index 11907eac9..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/ad_group_criterion_service.proto +++ /dev/null @@ -1,171 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/common/policy.proto"; -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/ad_group_criterion.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the Ad Group Criterion service. - -// Service to manage ad group criteria. -service AdGroupCriterionService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes criteria. Operation statuses are returned. - // - // List of thrown errors: - // [AdGroupCriterionError]() - // [AdxError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [BiddingError]() - // [BiddingStrategyError]() - // [CollectionSizeError]() - // [ContextError]() - // [CriterionError]() - // [DatabaseError]() - // [DateError]() - // [DistinctError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [MultiplierError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [NullError]() - // [OperationAccessDeniedError]() - // [OperatorError]() - // [PolicyViolationError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - // [UrlFieldError]() - rpc MutateAdGroupCriteria(MutateAdGroupCriteriaRequest) returns (MutateAdGroupCriteriaResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/adGroupCriteria:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [AdGroupCriterionService.MutateAdGroupCriteria][google.ads.googleads.v12.services.AdGroupCriterionService.MutateAdGroupCriteria]. -message MutateAdGroupCriteriaRequest { - // Required. ID of the customer whose criteria are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual criteria. - repeated AdGroupCriterionOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, remove, update) on an ad group criterion. -message AdGroupCriterionOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The list of policy violation keys that should not cause a - // PolicyViolationError to be reported. Not all policy violations are - // exemptable, refer to the is_exemptible field in the returned - // PolicyViolationError. - // - // Resources violating these polices will be saved, but will not be eligible - // to serve. They may begin serving at a later time due to a change in - // policies, re-review of the resource, or a change in advertiser - // certificates. - repeated google.ads.googleads.v12.common.PolicyViolationKey exempt_policy_violation_keys = 5; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new criterion. - google.ads.googleads.v12.resources.AdGroupCriterion create = 1; - - // Update operation: The criterion is expected to have a valid resource - // name. - google.ads.googleads.v12.resources.AdGroupCriterion update = 2; - - // Remove operation: A resource name for the removed criterion is expected, - // in this format: - // - // `customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterion" - }]; - } -} - -// Response message for an ad group criterion mutate. -message MutateAdGroupCriteriaResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateAdGroupCriterionResult results = 2; -} - -// The result for the criterion mutate. -message MutateAdGroupCriterionResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterion" - }]; - - // The mutated ad group criterion with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.AdGroupCriterion ad_group_criterion = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/ad_group_customizer_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/ad_group_customizer_service.proto deleted file mode 100644 index 4098daca2..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/ad_group_customizer_service.proto +++ /dev/null @@ -1,118 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/ad_group_customizer.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCustomizerServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the AdGroupCustomizer service. - -// Service to manage ad group customizer -service AdGroupCustomizerService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes ad group customizers. Operation statuses are - // returned. - rpc MutateAdGroupCustomizers(MutateAdGroupCustomizersRequest) returns (MutateAdGroupCustomizersResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/adGroupCustomizers:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [AdGroupCustomizerService.MutateAdGroupCustomizers][google.ads.googleads.v12.services.AdGroupCustomizerService.MutateAdGroupCustomizers]. -message MutateAdGroupCustomizersRequest { - // Required. The ID of the customer whose ad group customizers are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual ad group customizers. - repeated AdGroupCustomizerOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, remove) on an customizer attribute. -message AdGroupCustomizerOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new ad group - // customizer - google.ads.googleads.v12.resources.AdGroupCustomizer create = 1; - - // Remove operation: A resource name for the removed ad group customizer is - // expected, in this format: - // `customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCustomizer" - }]; - } -} - -// Response message for an ad group customizer mutate. -message MutateAdGroupCustomizersResponse { - // All results for the mutate. - repeated MutateAdGroupCustomizerResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the ad group customizer mutate. -message MutateAdGroupCustomizerResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCustomizer" - }]; - - // The mutated AdGroupCustomizer with only mutable fields after mutate. - // The field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.AdGroupCustomizer ad_group_customizer = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/ad_group_extension_setting_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/ad_group_extension_setting_service.proto deleted file mode 100644 index 0b6a1afc5..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/ad_group_extension_setting_service.proto +++ /dev/null @@ -1,159 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/ad_group_extension_setting.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupExtensionSettingServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the AdGroupExtensionSetting service. - -// Service to manage ad group extension settings. -service AdGroupExtensionSettingService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes ad group extension settings. Operation - // statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [CriterionError]() - // [DatabaseError]() - // [DateError]() - // [DistinctError]() - // [ExtensionSettingError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [ListOperationError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [NullError]() - // [OperationAccessDeniedError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - // [UrlFieldError]() - rpc MutateAdGroupExtensionSettings(MutateAdGroupExtensionSettingsRequest) returns (MutateAdGroupExtensionSettingsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/adGroupExtensionSettings:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [AdGroupExtensionSettingService.MutateAdGroupExtensionSettings][google.ads.googleads.v12.services.AdGroupExtensionSettingService.MutateAdGroupExtensionSettings]. -message MutateAdGroupExtensionSettingsRequest { - // Required. The ID of the customer whose ad group extension settings are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual ad group extension - // settings. - repeated AdGroupExtensionSettingOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, update, remove) on an ad group extension setting. -message AdGroupExtensionSettingOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new ad group - // extension setting. - google.ads.googleads.v12.resources.AdGroupExtensionSetting create = 1; - - // Update operation: The ad group extension setting is expected to have a - // valid resource name. - google.ads.googleads.v12.resources.AdGroupExtensionSetting update = 2; - - // Remove operation: A resource name for the removed ad group extension - // setting is expected, in this format: - // - // `customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupExtensionSetting" - }]; - } -} - -// Response message for an ad group extension setting mutate. -message MutateAdGroupExtensionSettingsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateAdGroupExtensionSettingResult results = 2; -} - -// The result for the ad group extension setting mutate. -message MutateAdGroupExtensionSettingResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupExtensionSetting" - }]; - - // The mutated AdGroupExtensionSetting with only mutable fields after mutate. - // The field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.AdGroupExtensionSetting ad_group_extension_setting = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/ad_group_feed_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/ad_group_feed_service.proto deleted file mode 100644 index 71c3e27ac..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/ad_group_feed_service.proto +++ /dev/null @@ -1,149 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/ad_group_feed.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupFeedServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the AdGroupFeed service. - -// Service to manage ad group feeds. -service AdGroupFeedService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes ad group feeds. Operation statuses are - // returned. - // - // List of thrown errors: - // [AdGroupFeedError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [DatabaseError]() - // [DistinctError]() - // [FieldError]() - // [FunctionError]() - // [FunctionParsingError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [MutateError]() - // [NotEmptyError]() - // [NullError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - rpc MutateAdGroupFeeds(MutateAdGroupFeedsRequest) returns (MutateAdGroupFeedsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/adGroupFeeds:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [AdGroupFeedService.MutateAdGroupFeeds][google.ads.googleads.v12.services.AdGroupFeedService.MutateAdGroupFeeds]. -message MutateAdGroupFeedsRequest { - // Required. The ID of the customer whose ad group feeds are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual ad group feeds. - repeated AdGroupFeedOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, update, remove) on an ad group feed. -message AdGroupFeedOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new ad group feed. - google.ads.googleads.v12.resources.AdGroupFeed create = 1; - - // Update operation: The ad group feed is expected to have a valid resource - // name. - google.ads.googleads.v12.resources.AdGroupFeed update = 2; - - // Remove operation: A resource name for the removed ad group feed is - // expected, in this format: - // - // `customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupFeed" - }]; - } -} - -// Response message for an ad group feed mutate. -message MutateAdGroupFeedsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateAdGroupFeedResult results = 2; -} - -// The result for the ad group feed mutate. -message MutateAdGroupFeedResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupFeed" - }]; - - // The mutated ad group feed with only mutable fields after mutate. The field - // will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.AdGroupFeed ad_group_feed = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/ad_group_label_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/ad_group_label_service.proto deleted file mode 100644 index f3ce0f890..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/ad_group_label_service.proto +++ /dev/null @@ -1,121 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/ad_group_label.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupLabelServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the Ad Group Label service. - -// Service to manage labels on ad groups. -service AdGroupLabelService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates and removes ad group labels. - // Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [LabelError]() - // [MutateError]() - // [NewResourceCreationError]() - // [QuotaError]() - // [RequestError]() - rpc MutateAdGroupLabels(MutateAdGroupLabelsRequest) returns (MutateAdGroupLabelsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/adGroupLabels:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [AdGroupLabelService.MutateAdGroupLabels][google.ads.googleads.v12.services.AdGroupLabelService.MutateAdGroupLabels]. -message MutateAdGroupLabelsRequest { - // Required. ID of the customer whose ad group labels are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on ad group labels. - repeated AdGroupLabelOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, remove) on an ad group label. -message AdGroupLabelOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new ad group - // label. - google.ads.googleads.v12.resources.AdGroupLabel create = 1; - - // Remove operation: A resource name for the ad group label - // being removed, in this format: - // - // `customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupLabel" - }]; - } -} - -// Response message for an ad group labels mutate. -message MutateAdGroupLabelsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateAdGroupLabelResult results = 2; -} - -// The result for an ad group label mutate. -message MutateAdGroupLabelResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupLabel" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/ad_group_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/ad_group_service.proto deleted file mode 100644 index 7bafa7ead..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/ad_group_service.proto +++ /dev/null @@ -1,155 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/ad_group.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the Ad Group service. - -// Service to manage ad groups. -service AdGroupService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes ad groups. Operation statuses are returned. - // - // List of thrown errors: - // [AdGroupError]() - // [AdxError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [BiddingError]() - // [BiddingStrategyError]() - // [DatabaseError]() - // [DateError]() - // [DistinctError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [ListOperationError]() - // [MultiplierError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [NullError]() - // [OperationAccessDeniedError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - // [SettingError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - // [UrlFieldError]() - rpc MutateAdGroups(MutateAdGroupsRequest) returns (MutateAdGroupsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/adGroups:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [AdGroupService.MutateAdGroups][google.ads.googleads.v12.services.AdGroupService.MutateAdGroups]. -message MutateAdGroupsRequest { - // Required. The ID of the customer whose ad groups are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual ad groups. - repeated AdGroupOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, update, remove) on an ad group. -message AdGroupOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new ad group. - google.ads.googleads.v12.resources.AdGroup create = 1; - - // Update operation: The ad group is expected to have a valid resource name. - google.ads.googleads.v12.resources.AdGroup update = 2; - - // Remove operation: A resource name for the removed ad group is expected, - // in this format: - // - // `customers/{customer_id}/adGroups/{ad_group_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - }]; - } -} - -// Response message for an ad group mutate. -message MutateAdGroupsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateAdGroupResult results = 2; -} - -// The result for the ad group mutate. -message MutateAdGroupResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - }]; - - // The mutated ad group with only mutable fields after mutate. The field will - // only be returned when response_content_type is set to "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.AdGroup ad_group = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/ad_parameter_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/ad_parameter_service.proto deleted file mode 100644 index b6932ba24..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/ad_parameter_service.proto +++ /dev/null @@ -1,139 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/ad_parameter.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdParameterServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the Ad Parameter service. - -// Service to manage ad parameters. -service AdParameterService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes ad parameters. Operation statuses are - // returned. - // - // List of thrown errors: - // [AdParameterError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [ContextError]() - // [DatabaseError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - rpc MutateAdParameters(MutateAdParametersRequest) returns (MutateAdParametersResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/adParameters:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [AdParameterService.MutateAdParameters][google.ads.googleads.v12.services.AdParameterService.MutateAdParameters] -message MutateAdParametersRequest { - // Required. The ID of the customer whose ad parameters are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual ad parameters. - repeated AdParameterOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, update, remove) on ad parameter. -message AdParameterOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new ad parameter. - google.ads.googleads.v12.resources.AdParameter create = 1; - - // Update operation: The ad parameter is expected to have a valid resource - // name. - google.ads.googleads.v12.resources.AdParameter update = 2; - - // Remove operation: A resource name for the ad parameter to remove is - // expected in this format: - // - // `customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdParameter" - }]; - } -} - -// Response message for an ad parameter mutate. -message MutateAdParametersResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateAdParameterResult results = 2; -} - -// The result for the ad parameter mutate. -message MutateAdParameterResult { - // The resource name returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdParameter" - }]; - - // The mutated AdParameter with only mutable fields after mutate. The field - // will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.AdParameter ad_parameter = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/ad_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/ad_service.proto deleted file mode 100644 index 1c1809f1a..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/ad_service.proto +++ /dev/null @@ -1,186 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/common/policy.proto"; -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/ad.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the Ad service. - -// Service to manage ads. -service AdService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Returns the requested ad in full detail. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc GetAd(GetAdRequest) returns (google.ads.googleads.v12.resources.Ad) { - option (google.api.http) = { - get: "/v12/{resource_name=customers/*/ads/*}" - }; - option (google.api.method_signature) = "resource_name"; - } - - // Updates ads. Operation statuses are returned. Updating ads is not supported - // for TextAd, ExpandedDynamicSearchAd, GmailAd and ImageAd. - // - // List of thrown errors: - // [AdCustomizerError]() - // [AdError]() - // [AdSharingError]() - // [AdxError]() - // [AssetError]() - // [AssetLinkError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [DatabaseError]() - // [DateError]() - // [DistinctError]() - // [FeedAttributeReferenceError]() - // [FieldError]() - // [FieldMaskError]() - // [FunctionError]() - // [FunctionParsingError]() - // [HeaderError]() - // [IdError]() - // [ImageError]() - // [InternalError]() - // [ListOperationError]() - // [MediaBundleError]() - // [MediaFileError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [NullError]() - // [OperatorError]() - // [PolicyFindingError]() - // [PolicyViolationError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - // [UrlFieldError]() - rpc MutateAds(MutateAdsRequest) returns (MutateAdsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/ads:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [AdService.GetAd][google.ads.googleads.v12.services.AdService.GetAd]. -message GetAdRequest { - // Required. The resource name of the ad to fetch. - string resource_name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Ad" - } - ]; -} - -// Request message for [AdService.MutateAds][google.ads.googleads.v12.services.AdService.MutateAds]. -message MutateAdsRequest { - // Required. The ID of the customer whose ads are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual ads. - repeated AdOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; -} - -// A single update operation on an ad. -message AdOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 2; - - // Configuration for how policies are validated. - google.ads.googleads.v12.common.PolicyValidationParameter policy_validation_parameter = 3; - - // The mutate operation. - oneof operation { - // Update operation: The ad is expected to have a valid resource name - // in this format: - // - // `customers/{customer_id}/ads/{ad_id}` - google.ads.googleads.v12.resources.Ad update = 1; - } -} - -// Response message for an ad mutate. -message MutateAdsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateAdResult results = 2; -} - -// The result for the ad mutate. -message MutateAdResult { - // The resource name returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Ad" - }]; - - // The mutated ad with only mutable fields after mutate. The field will only - // be returned when response_content_type is set to "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.Ad ad = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/asset_group_asset_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/asset_group_asset_service.proto deleted file mode 100644 index b6aea52ef..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/asset_group_asset_service.proto +++ /dev/null @@ -1,115 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/asset_group_asset.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupAssetServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the AssetGroupAsset service. - -// Service to manage asset group asset. -service AssetGroupAssetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes asset group assets. Operation statuses are - // returned. - rpc MutateAssetGroupAssets(MutateAssetGroupAssetsRequest) returns (MutateAssetGroupAssetsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/assetGroupAssets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [AssetGroupAssetService.MutateAssetGroupAssets][google.ads.googleads.v12.services.AssetGroupAssetService.MutateAssetGroupAssets]. -message MutateAssetGroupAssetsRequest { - // Required. The ID of the customer whose asset group assets are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual asset group assets. - repeated AssetGroupAssetOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, remove) on an asset group asset. -message AssetGroupAssetOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new asset group - // asset. - google.ads.googleads.v12.resources.AssetGroupAsset create = 1; - - // Update operation: The asset group asset is expected to have a valid - // resource name. - google.ads.googleads.v12.resources.AssetGroupAsset update = 2; - - // Remove operation: A resource name for the removed asset group asset is - // expected, in this format: - // `customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroupAsset" - }]; - } -} - -// Response message for an asset group asset mutate. -message MutateAssetGroupAssetsResponse { - // All results for the mutate. - repeated MutateAssetGroupAssetResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the asset group asset mutate. -message MutateAssetGroupAssetResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroupAsset" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/asset_group_listing_group_filter_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/asset_group_listing_group_filter_service.proto deleted file mode 100644 index aa111106f..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/asset_group_listing_group_filter_service.proto +++ /dev/null @@ -1,120 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/asset_group_listing_group_filter.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupListingGroupFilterServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the AssetGroupListingGroupFilter service. - -// Service to manage asset group listing group filter. -service AssetGroupListingGroupFilterService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes asset group listing group filters. Operation - // statuses are returned. - rpc MutateAssetGroupListingGroupFilters(MutateAssetGroupListingGroupFiltersRequest) returns (MutateAssetGroupListingGroupFiltersResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/assetGroupListingGroupFilters:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [AssetGroupListingGroupFilterService.MutateAssetGroupListingGroupFilters][google.ads.googleads.v12.services.AssetGroupListingGroupFilterService.MutateAssetGroupListingGroupFilters]. -// partial_failure is not supported because the tree needs to be validated -// together. -message MutateAssetGroupListingGroupFiltersRequest { - // Required. The ID of the customer whose asset group listing group filters are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual asset group listing group - // filters. - repeated AssetGroupListingGroupFilterOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4; -} - -// A single operation (create, remove) on an asset group listing group filter. -message AssetGroupListingGroupFilterOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new asset group - // listing group filter. - google.ads.googleads.v12.resources.AssetGroupListingGroupFilter create = 1; - - // Update operation: The asset group listing group filter is expected to - // have a valid resource name. - google.ads.googleads.v12.resources.AssetGroupListingGroupFilter update = 2; - - // Remove operation: A resource name for the removed asset group listing - // group filter is expected, in this format: - // `customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id}` - // An entity can be removed only if it's not referenced by other - // parent_listing_group_id. If multiple entities are being deleted, the - // mutates must be in the correct order. - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroupListingGroupFilter" - }]; - } -} - -// Response message for an asset group listing group filter mutate. -message MutateAssetGroupListingGroupFiltersResponse { - // All results for the mutate. - repeated MutateAssetGroupListingGroupFilterResult results = 1; -} - -// The result for the asset group listing group filter mutate. -message MutateAssetGroupListingGroupFilterResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroupListingGroupFilter" - }]; - - // The mutated AssetGroupListingGroupFilter with only mutable fields after - // mutate. The field will only be returned when response_content_type is set - // to "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.AssetGroupListingGroupFilter asset_group_listing_group_filter = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/asset_group_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/asset_group_service.proto deleted file mode 100644 index f331010f6..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/asset_group_service.proto +++ /dev/null @@ -1,108 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/asset_group.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the AssetGroup service. - -// Service to manage asset group -service AssetGroupService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes asset groups. Operation statuses are - // returned. - rpc MutateAssetGroups(MutateAssetGroupsRequest) returns (MutateAssetGroupsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/assetGroups:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [AssetGroupService.MutateAssetGroups][google.ads.googleads.v12.services.AssetGroupService.MutateAssetGroups]. -message MutateAssetGroupsRequest { - // Required. The ID of the customer whose asset groups are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual asset groups. - repeated AssetGroupOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, remove) on an asset group. -message AssetGroupOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new asset group - google.ads.googleads.v12.resources.AssetGroup create = 1; - - // Update operation: The asset group is expected to have a valid resource - // name. - google.ads.googleads.v12.resources.AssetGroup update = 2; - - // Remove operation: A resource name for the removed asset group is - // expected, in this format: - // `customers/{customer_id}/assetGroups/{asset_group_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroup" - }]; - } -} - -// Response message for an asset group mutate. -message MutateAssetGroupsResponse { - // All results for the mutate. - repeated MutateAssetGroupResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the asset group mutate. -message MutateAssetGroupResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroup" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/asset_group_signal_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/asset_group_signal_service.proto deleted file mode 100644 index 33d302a6e..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/asset_group_signal_service.proto +++ /dev/null @@ -1,117 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/asset_group_signal.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupSignalServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the AssetGroupSignal service. - -// Service to manage asset group signal. -service AssetGroupSignalService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates or removes asset group signals. Operation statuses are - // returned. - rpc MutateAssetGroupSignals(MutateAssetGroupSignalsRequest) returns (MutateAssetGroupSignalsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/assetGroupSignals:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [AssetGroupSignalService.MutateAssetGroupSignals][google.ads.googleads.v12.services.AssetGroupSignalService.MutateAssetGroupSignals]. -message MutateAssetGroupSignalsRequest { - // Required. The ID of the customer whose asset group signals are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual asset group signals. - repeated AssetGroupSignalOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid operations - // will return errors. If false, all operations will be carried out in one - // transaction if and only if they are all valid. Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, remove) on an asset group signal. -message AssetGroupSignalOperation { - // The mutate operation. Update is not supported. - oneof operation { - // Create operation: No resource name is expected for the new asset group - // signal. - google.ads.googleads.v12.resources.AssetGroupSignal create = 1; - - // Remove operation: A resource name for the removed asset group signal is - // expected, in this format: - // `customers/{customer_id}/assetGroupSignals/{asset_group_id}~{criterion_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroupSignal" - }]; - } -} - -// Response message for an asset group signal mutate. -message MutateAssetGroupSignalsResponse { - // All results for the mutate. - repeated MutateAssetGroupSignalResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the asset group signal mutate. -message MutateAssetGroupSignalResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroupSignal" - }]; - - // The mutated AssetGroupSignal with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.AssetGroupSignal asset_group_signal = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/asset_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/asset_service.proto deleted file mode 100644 index 46267015f..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/asset_service.proto +++ /dev/null @@ -1,150 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/asset.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AssetServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the Asset service. - -// Service to manage assets. Asset types can be created with AssetService are -// YoutubeVideoAsset, MediaBundleAsset and ImageAsset. TextAsset should be -// created with Ad inline. -service AssetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates assets. Operation statuses are returned. - // - // List of thrown errors: - // [AssetError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [CurrencyCodeError]() - // [DatabaseError]() - // [DateError]() - // [DistinctError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [ListOperationError]() - // [MediaUploadError]() - // [MutateError]() - // [NotAllowlistedError]() - // [NotEmptyError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - // [UrlFieldError]() - // [YoutubeVideoRegistrationError]() - rpc MutateAssets(MutateAssetsRequest) returns (MutateAssetsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/assets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [AssetService.MutateAssets][google.ads.googleads.v12.services.AssetService.MutateAssets] -message MutateAssetsRequest { - // Required. The ID of the customer whose assets are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual assets. - repeated AssetOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 5; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation to create an asset. Supported asset types are -// YoutubeVideoAsset, MediaBundleAsset, ImageAsset, and LeadFormAsset. TextAsset -// should be created with Ad inline. -message AssetOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 3; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new asset. - google.ads.googleads.v12.resources.Asset create = 1; - - // Update operation: The asset is expected to have a valid resource name in - // this format: - // - // `customers/{customer_id}/assets/{asset_id}` - google.ads.googleads.v12.resources.Asset update = 2; - } -} - -// Response message for an asset mutate. -message MutateAssetsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateAssetResult results = 2; -} - -// The result for the asset mutate. -message MutateAssetResult { - // The resource name returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Asset" - }]; - - // The mutated asset with only mutable fields after mutate. The field will - // only be returned when response_content_type is set to "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.Asset asset = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/asset_set_asset_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/asset_set_asset_service.proto deleted file mode 100644 index 4d8b0ca76..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/asset_set_asset_service.proto +++ /dev/null @@ -1,117 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/asset_set_asset.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetAssetServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the AssetSetAsset service. - -// Service to manage asset set asset. -service AssetSetAssetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes asset set assets. Operation statuses are - // returned. - rpc MutateAssetSetAssets(MutateAssetSetAssetsRequest) returns (MutateAssetSetAssetsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/assetSetAssets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [AssetSetAssetService.MutateAssetSetAssets][google.ads.googleads.v12.services.AssetSetAssetService.MutateAssetSetAssets]. -message MutateAssetSetAssetsRequest { - // Required. The ID of the customer whose asset set assets are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual asset set assets. - repeated AssetSetAssetOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, remove) on an asset set asset. -message AssetSetAssetOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new asset set - // asset - google.ads.googleads.v12.resources.AssetSetAsset create = 1; - - // Remove operation: A resource name for the removed asset set asset is - // expected, in this format: - // `customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetSetAsset" - }]; - } -} - -// Response message for an asset set asset mutate. -message MutateAssetSetAssetsResponse { - // All results for the mutate. - repeated MutateAssetSetAssetResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the asset set asset mutate. -message MutateAssetSetAssetResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetSetAsset" - }]; - - // The mutated asset set asset with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.AssetSetAsset asset_set_asset = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/asset_set_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/asset_set_service.proto deleted file mode 100644 index 2cba7da56..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/asset_set_service.proto +++ /dev/null @@ -1,123 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/asset_set.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the AssetSet service. - -// Service to manage asset set -service AssetSetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes asset sets. Operation statuses are - // returned. - rpc MutateAssetSets(MutateAssetSetsRequest) returns (MutateAssetSetsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/assetSets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [AssetSetService.MutateAssetSets][google.ads.googleads.v12.services.AssetSetService.MutateAssetSets]. -message MutateAssetSetsRequest { - // Required. The ID of the customer whose asset sets are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual asset sets. - repeated AssetSetOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, remove) on an asset set. -message AssetSetOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new asset set - google.ads.googleads.v12.resources.AssetSet create = 1; - - // Update operation: The asset set is expected to have a valid resource - // name. - google.ads.googleads.v12.resources.AssetSet update = 2; - - // Remove operation: A resource name for the removed asset set is - // expected, in this format: - // `customers/{customer_id}/assetSets/{asset_set_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetSet" - }]; - } -} - -// Response message for an asset set mutate. -message MutateAssetSetsResponse { - // All results for the mutate. - repeated MutateAssetSetResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the asset set mutate. -message MutateAssetSetResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetSet" - }]; - - // The mutated asset set with only mutable fields after mutate. The field will - // only be returned when response_content_type is set to "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.AssetSet asset_set = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/audience_insights_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/audience_insights_service.proto deleted file mode 100644 index 92c562335..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/audience_insights_service.proto +++ /dev/null @@ -1,484 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/common/criteria.proto"; -import "google/ads/googleads/v12/enums/audience_insights_dimension.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AudienceInsightsServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the audience insights service. - -// Audience Insights Service helps users find information about groups of -// people and how they can be reached with Google Ads. -service AudienceInsightsService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates a saved report that can be viewed in the Insights Finder tool. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - rpc GenerateInsightsFinderReport(GenerateInsightsFinderReportRequest) returns (GenerateInsightsFinderReportResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}:generateInsightsFinderReport" - body: "*" - }; - option (google.api.method_signature) = "customer_id,baseline_audience,specific_audience"; - } - - // Searches for audience attributes that can be used to generate insights. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - rpc ListAudienceInsightsAttributes(ListAudienceInsightsAttributesRequest) returns (ListAudienceInsightsAttributesResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}:searchAudienceInsightsAttributes" - body: "*" - }; - option (google.api.method_signature) = "customer_id,dimensions,query_text"; - } - - // Lists date ranges for which audience insights data can be requested. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - rpc ListInsightsEligibleDates(ListInsightsEligibleDatesRequest) returns (ListInsightsEligibleDatesResponse) { - option (google.api.http) = { - post: "/v12/audienceInsights:listInsightsEligibleDates" - body: "*" - }; - } - - // Returns a collection of attributes that are represented in an audience of - // interest, with metrics that compare each attribute's share of the audience - // with its share of a baseline audience. - // - // List of thrown errors: - // [AudienceInsightsError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - rpc GenerateAudienceCompositionInsights(GenerateAudienceCompositionInsightsRequest) returns (GenerateAudienceCompositionInsightsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}:generateAudienceCompositionInsights" - body: "*" - }; - option (google.api.method_signature) = "customer_id,audience,dimensions"; - } -} - -// Request message for [AudienceInsightsService.GenerateInsightsFinderReport][google.ads.googleads.v12.services.AudienceInsightsService.GenerateInsightsFinderReport]. -message GenerateInsightsFinderReportRequest { - // Required. The ID of the customer. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. A baseline audience for this report, typically all people in a region. - BasicInsightsAudience baseline_audience = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. The specific audience of interest for this report. The insights in the - // report will be based on attributes more prevalent in this audience than - // in the report's baseline audience. - BasicInsightsAudience specific_audience = 3 [(google.api.field_behavior) = REQUIRED]; - - // The name of the customer being planned for. This is a user-defined value. - string customer_insights_group = 4; -} - -// The response message for -// [AudienceInsightsService.GenerateInsightsFinderReport][google.ads.googleads.v12.services.AudienceInsightsService.GenerateInsightsFinderReport], containing the -// shareable URL for the report. -message GenerateInsightsFinderReportResponse { - // An HTTPS URL providing a deep link into the Insights Finder UI with the - // report inputs filled in according to the request. - string saved_report_url = 1; -} - -// Request message for -// [AudienceInsightsService.GenerateAudienceCompositionInsights][google.ads.googleads.v12.services.AudienceInsightsService.GenerateAudienceCompositionInsights]. -message GenerateAudienceCompositionInsightsRequest { - // Required. The ID of the customer. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The audience of interest for which insights are being requested. - InsightsAudience audience = 2 [(google.api.field_behavior) = REQUIRED]; - - // The one-month range of historical data to use for insights, in the format - // "yyyy-mm". If unset, insights will be returned for the last thirty days of - // data. - string data_month = 3; - - // Required. The audience dimensions for which composition insights should be returned. - repeated google.ads.googleads.v12.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension dimensions = 4 [(google.api.field_behavior) = REQUIRED]; - - // The name of the customer being planned for. This is a user-defined value. - string customer_insights_group = 5; -} - -// Response message for -// [AudienceInsightsService.GenerateAudienceCompositionInsights][google.ads.googleads.v12.services.AudienceInsightsService.GenerateAudienceCompositionInsights]. -message GenerateAudienceCompositionInsightsResponse { - // The contents of the insights report, organized into sections. - // Each section is associated with one of the AudienceInsightsDimension values - // in the request. There may be more than one section per dimension. - repeated AudienceCompositionSection sections = 1; -} - -// Request message for -// [AudienceInsightsService.ListAudienceInsightsAttributes][google.ads.googleads.v12.services.AudienceInsightsService.ListAudienceInsightsAttributes]. -message ListAudienceInsightsAttributesRequest { - // Required. The ID of the customer. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The types of attributes to be returned. - repeated google.ads.googleads.v12.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension dimensions = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. A free text query. Attributes matching or related to this string will be - // returned. - string query_text = 3 [(google.api.field_behavior) = REQUIRED]; - - // The name of the customer being planned for. This is a user-defined value. - string customer_insights_group = 4; - - // If SUB_COUNTRY_LOCATION attributes are one of the requested dimensions and - // this field is present, then the SUB_COUNTRY_LOCATION attributes returned - // will be located in these countries. If this field is absent, then location - // attributes are not filtered by country. Setting this field when - // SUB_COUNTRY_LOCATION attributes are not requested will return an error. - repeated google.ads.googleads.v12.common.LocationInfo location_country_filters = 5; -} - -// Response message for -// [AudienceInsightsService.ListAudienceInsightsAttributes][google.ads.googleads.v12.services.AudienceInsightsService.ListAudienceInsightsAttributes]. -message ListAudienceInsightsAttributesResponse { - // The attributes matching the search query. - repeated AudienceInsightsAttributeMetadata attributes = 1; -} - -// Request message for [AudienceInsightsService.ListAudienceInsightsDates][]. -message ListInsightsEligibleDatesRequest { - -} - -// Response message for [AudienceInsightsService.ListAudienceInsightsDates][]. -message ListInsightsEligibleDatesResponse { - // The months for which AudienceInsights data is currently - // available, each represented as a string in the form "YYYY-MM". - repeated string data_months = 1; -} - -// An audience attribute that can be used to request insights about the -// audience. -message AudienceInsightsAttribute { - // An audience attribute. - oneof attribute { - // An audience attribute defined by an age range. - google.ads.googleads.v12.common.AgeRangeInfo age_range = 1; - - // An audience attribute defined by a gender. - google.ads.googleads.v12.common.GenderInfo gender = 2; - - // An audience attribute defined by a geographic location. - google.ads.googleads.v12.common.LocationInfo location = 3; - - // An Affinity or In-Market audience. - google.ads.googleads.v12.common.UserInterestInfo user_interest = 4; - - // An audience attribute defined by interest in a topic represented by a - // Knowledge Graph entity. - AudienceInsightsEntity entity = 5; - - // An audience attribute defined by interest in a Product & Service - // category. - AudienceInsightsCategory category = 6; - - // A YouTube Dynamic Lineup - AudienceInsightsDynamicLineup dynamic_lineup = 7; - - // A Parental Status value (parent, or not a parent). - google.ads.googleads.v12.common.ParentalStatusInfo parental_status = 8; - - // A household income percentile range. - google.ads.googleads.v12.common.IncomeRangeInfo income_range = 9; - - // A YouTube channel. - google.ads.googleads.v12.common.YouTubeChannelInfo youtube_channel = 10; - } -} - -// An entity or category representing a topic that defines an audience. -message AudienceInsightsTopic { - // An entity or category attribute. - oneof topic { - // A Knowledge Graph entity - AudienceInsightsEntity entity = 1; - - // A Product & Service category - AudienceInsightsCategory category = 2; - } -} - -// A Knowledge Graph entity, represented by its machine id. -message AudienceInsightsEntity { - // Required. The machine id (mid) of the Knowledge Graph entity. - string knowledge_graph_machine_id = 1 [(google.api.field_behavior) = REQUIRED]; -} - -// A Product and Service category. -message AudienceInsightsCategory { - // Required. The criterion id of the category. - string category_id = 1 [(google.api.field_behavior) = REQUIRED]; -} - -// A YouTube Dynamic Lineup. -message AudienceInsightsDynamicLineup { - // Required. The numeric ID of the dynamic lineup. - string dynamic_lineup_id = 1 [(google.api.field_behavior) = REQUIRED]; -} - -// A description of an audience used for requesting insights. -message BasicInsightsAudience { - // Required. The countries for this audience. - repeated google.ads.googleads.v12.common.LocationInfo country_location = 1 [(google.api.field_behavior) = REQUIRED]; - - // Sub-country geographic location attributes. If present, each of these - // must be contained in one of the countries in this audience. - repeated google.ads.googleads.v12.common.LocationInfo sub_country_locations = 2; - - // Gender for the audience. If absent, the audience does not restrict by - // gender. - google.ads.googleads.v12.common.GenderInfo gender = 3; - - // Age ranges for the audience. If absent, the audience represents all people - // over 18 that match the other attributes. - repeated google.ads.googleads.v12.common.AgeRangeInfo age_ranges = 4; - - // User interests defining this audience. Affinity and In-Market audiences - // are supported. - repeated google.ads.googleads.v12.common.UserInterestInfo user_interests = 5; - - // Topics, represented by Knowledge Graph entities and/or Product & Service - // categories, that this audience is interested in. - repeated AudienceInsightsTopic topics = 6; -} - -// An audience attribute, with metadata about it, returned in response to a -// search. -message AudienceInsightsAttributeMetadata { - // The type of the attribute. - google.ads.googleads.v12.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension dimension = 1; - - // The attribute itself. - AudienceInsightsAttribute attribute = 2; - - // The human-readable name of the attribute. - string display_name = 3; - - // A relevance score for this attribute, between 0 and 1. - double score = 4; - - // A string that supplements the display_name to identify the attribute. - // If the dimension is TOPIC, this is a brief description of the - // Knowledge Graph entity, such as "American singer-songwriter". - // If the dimension is CATEGORY, this is the complete path to the category in - // The Product & Service taxonomy, for example - // "/Apparel/Clothing/Outerwear". - string display_info = 5; - - // Metadata specific to the dimension of this attribute. - oneof dimension_metadata { - // Special metadata for a YouTube channel. - YouTubeChannelAttributeMetadata youtube_channel_metadata = 6; - - // Special metadata for a YouTube Dynamic Lineup. - DynamicLineupAttributeMetadata dynamic_attribute_metadata = 7; - - // Special metadata for a Location. - LocationAttributeMetadata location_attribute_metadata = 8; - } -} - -// Metadata associated with a YouTube channel attribute. -message YouTubeChannelAttributeMetadata { - // The approximate number of subscribers to the YouTube channel. - int64 subscriber_count = 1; -} - -// Metadata associated with a Dynamic Lineup attribute. -message DynamicLineupAttributeMetadata { - // The national market associated with the lineup. - google.ads.googleads.v12.common.LocationInfo inventory_country = 1; - - // The median number of impressions per month on this lineup. - optional int64 median_monthly_inventory = 2; - - // The lower end of a range containing the number of channels in the lineup. - optional int64 channel_count_lower_bound = 3; - - // The upper end of a range containing the number of channels in the lineup. - optional int64 channel_count_upper_bound = 4; -} - -// Metadata associated with a Location attribute. -message LocationAttributeMetadata { - // The country location of the sub country location. - google.ads.googleads.v12.common.LocationInfo country_location = 1; -} - -// A set of users, defined by various characteristics, for which insights can -// be requested in AudienceInsightsService. -message InsightsAudience { - // Required. The countries for the audience. - repeated google.ads.googleads.v12.common.LocationInfo country_locations = 1 [(google.api.field_behavior) = REQUIRED]; - - // Sub-country geographic location attributes. If present, each of these - // must be contained in one of the countries in this audience. If absent, the - // audience is geographically to the country_locations and no further. - repeated google.ads.googleads.v12.common.LocationInfo sub_country_locations = 2; - - // Gender for the audience. If absent, the audience does not restrict by - // gender. - google.ads.googleads.v12.common.GenderInfo gender = 3; - - // Age ranges for the audience. If absent, the audience represents all people - // over 18 that match the other attributes. - repeated google.ads.googleads.v12.common.AgeRangeInfo age_ranges = 4; - - // Parental status for the audience. If absent, the audience does not - // restrict by parental status. - google.ads.googleads.v12.common.ParentalStatusInfo parental_status = 5; - - // Household income percentile ranges for the audience. If absent, the - // audience does not restrict by household income range. - repeated google.ads.googleads.v12.common.IncomeRangeInfo income_ranges = 6; - - // Dynamic lineups representing the YouTube content viewed by the audience. - repeated AudienceInsightsDynamicLineup dynamic_lineups = 7; - - // A combination of entity, category and user interest attributes defining the - // audience. The combination has a logical AND-of-ORs structure: Attributes - // within each InsightsAudienceAttributeGroup are combined with OR, and - // the combinations themselves are combined together with AND. For example, - // the expression (Entity OR Affinity) AND (In-Market OR Category) can be - // formed using two InsightsAudienceAttributeGroups with two Attributes - // each. - repeated InsightsAudienceAttributeGroup topic_audience_combinations = 8; -} - -// A list of AudienceInsightsAttributes. -message InsightsAudienceAttributeGroup { - // Required. A collection of audience attributes to be combined with logical OR. - // Attributes need not all be the same dimension. Only Knowledge Graph - // entities, Product & Service Categories, and Affinity and In-Market - // audiences are supported in this context. - repeated AudienceInsightsAttribute attributes = 1 [(google.api.field_behavior) = REQUIRED]; -} - -// A collection of related attributes of the same type in an audience -// composition insights report. -message AudienceCompositionSection { - // The type of the attributes in this section. - google.ads.googleads.v12.enums.AudienceInsightsDimensionEnum.AudienceInsightsDimension dimension = 1; - - // The most relevant segments for this audience. If dimension is GENDER, - // AGE_RANGE or PARENTAL_STATUS, then this list of attributes is exhaustive. - repeated AudienceCompositionAttribute top_attributes = 3; - - // Additional attributes for this audience, grouped into clusters. Only - // populated if dimension is YOUTUBE_CHANNEL. - repeated AudienceCompositionAttributeCluster clustered_attributes = 4; -} - -// A collection of related attributes, with metadata and metrics, in an audience -// composition insights report. -message AudienceCompositionAttributeCluster { - // The name of this cluster of attributes - string cluster_display_name = 1; - - // If the dimension associated with this cluster is YOUTUBE_CHANNEL, then - // cluster_metrics are metrics associated with the cluster as a whole. - // For other dimensions, this field is unset. - AudienceCompositionMetrics cluster_metrics = 3; - - // The individual attributes that make up this cluster, with metadata and - // metrics. - repeated AudienceCompositionAttribute attributes = 4; -} - -// The share and index metrics associated with an attribute in an audience -// composition insights report. -message AudienceCompositionMetrics { - // The fraction (from 0 to 1 inclusive) of the baseline audience that match - // the attribute. - double baseline_audience_share = 1; - - // The fraction (from 0 to 1 inclusive) of the specific audience that match - // the attribute. - double audience_share = 2; - - // The ratio of audience_share to baseline_audience_share, or zero if this - // ratio is undefined or is not meaningful. - double index = 3; - - // A relevance score from 0 to 1 inclusive. - double score = 4; -} - -// An audience attribute with metadata and metrics. -message AudienceCompositionAttribute { - // The attribute with its metadata. - AudienceInsightsAttributeMetadata attribute_metadata = 1; - - // Share and index metrics for the attribute. - AudienceCompositionMetrics metrics = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/audience_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/audience_service.proto deleted file mode 100644 index 7e0240075..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/audience_service.proto +++ /dev/null @@ -1,118 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/audience.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AudienceServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the Audience service. - -// Service to manage audiences. -service AudienceService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates audiences. Operation statuses are returned. - // - // List of thrown errors: - // [AudienceError]() - rpc MutateAudiences(MutateAudiencesRequest) returns (MutateAudiencesResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/audiences:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [AudienceService.MutateAudiences][google.ads.googleads.v12.services.AudienceService.MutateAudiences]. -message MutateAudiencesRequest { - // Required. The ID of the customer whose audiences are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual audiences. - repeated AudienceOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid operations - // will return errors. If false, all operations will be carried out in one - // transaction if and only if they are all valid. Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// Response message for an audience mutate. -message MutateAudiencesResponse { - // All results for the mutate. - repeated MutateAudienceResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// A single operation (create, update) on an audience. -message AudienceOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new audience - google.ads.googleads.v12.resources.Audience create = 1; - - // Update operation: The audience is expected to have a valid resource - // name. - google.ads.googleads.v12.resources.Audience update = 2; - } -} - -// The result for the audience mutate. -message MutateAudienceResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Audience" - }]; - - // The mutated Audience with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.Audience audience = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/batch_job_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/batch_job_service.proto deleted file mode 100644 index 9ad9381d5..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/batch_job_service.proto +++ /dev/null @@ -1,269 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/batch_job.proto"; -import "google/ads/googleads/v12/services/google_ads_service.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/longrunning/operations.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "BatchJobServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the BatchJobService. - -// Service to manage batch jobs. -service BatchJobService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Mutates a batch job. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - rpc MutateBatchJob(MutateBatchJobRequest) returns (MutateBatchJobResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/batchJobs:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operation"; - } - - // Returns the results of the batch job. The job must be done. - // Supports standard list paging. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [BatchJobError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc ListBatchJobResults(ListBatchJobResultsRequest) returns (ListBatchJobResultsResponse) { - option (google.api.http) = { - get: "/v12/{resource_name=customers/*/batchJobs/*}:listResults" - }; - option (google.api.method_signature) = "resource_name"; - } - - // Runs the batch job. - // - // The Operation.metadata field type is BatchJobMetadata. When finished, the - // long running operation will not contain errors or a response. Instead, use - // ListBatchJobResults to get the results of the job. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [BatchJobError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc RunBatchJob(RunBatchJobRequest) returns (google.longrunning.Operation) { - option (google.api.http) = { - post: "/v12/{resource_name=customers/*/batchJobs/*}:run" - body: "*" - }; - option (google.api.method_signature) = "resource_name"; - option (google.longrunning.operation_info) = { - response_type: "google.protobuf.Empty" - metadata_type: "google.ads.googleads.v12.resources.BatchJob.BatchJobMetadata" - }; - } - - // Add operations to the batch job. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [BatchJobError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - rpc AddBatchJobOperations(AddBatchJobOperationsRequest) returns (AddBatchJobOperationsResponse) { - option (google.api.http) = { - post: "/v12/{resource_name=customers/*/batchJobs/*}:addOperations" - body: "*" - }; - option (google.api.method_signature) = "resource_name,sequence_token,mutate_operations"; - option (google.api.method_signature) = "resource_name,mutate_operations"; - } -} - -// Request message for [BatchJobService.MutateBatchJob][google.ads.googleads.v12.services.BatchJobService.MutateBatchJob]. -message MutateBatchJobRequest { - // Required. The ID of the customer for which to create a batch job. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The operation to perform on an individual batch job. - BatchJobOperation operation = 2 [(google.api.field_behavior) = REQUIRED]; -} - -// A single operation on a batch job. -message BatchJobOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new batch job. - google.ads.googleads.v12.resources.BatchJob create = 1; - - // Remove operation: The batch job must not have been run. A resource name - // for the removed batch job is expected, in this format: - // - // `customers/{customer_id}/batchJobs/{batch_job_id}` - string remove = 4 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/BatchJob" - }]; - } -} - -// Response message for [BatchJobService.MutateBatchJob][google.ads.googleads.v12.services.BatchJobService.MutateBatchJob]. -message MutateBatchJobResponse { - // The result for the mutate. - MutateBatchJobResult result = 1; -} - -// The result for the batch job mutate. -message MutateBatchJobResult { - // The resource name of the batch job. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/BatchJob" - }]; -} - -// Request message for [BatchJobService.RunBatchJob][google.ads.googleads.v12.services.BatchJobService.RunBatchJob]. -message RunBatchJobRequest { - // Required. The resource name of the BatchJob to run. - string resource_name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/BatchJob" - } - ]; -} - -// Request message for [BatchJobService.AddBatchJobOperations][google.ads.googleads.v12.services.BatchJobService.AddBatchJobOperations]. -message AddBatchJobOperationsRequest { - // Required. The resource name of the batch job. - string resource_name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/BatchJob" - } - ]; - - // A token used to enforce sequencing. - // - // The first AddBatchJobOperations request for a batch job should not set - // sequence_token. Subsequent requests must set sequence_token to the value of - // next_sequence_token received in the previous AddBatchJobOperations - // response. - string sequence_token = 2; - - // Required. The list of mutates being added. - // - // Operations can use negative integers as temp ids to signify dependencies - // between entities created in this batch job. For example, a customer with - // id = 1234 can create a campaign and an ad group in that same campaign by - // creating a campaign in the first operation with the resource name - // explicitly set to "customers/1234/campaigns/-1", and creating an ad group - // in the second operation with the campaign field also set to - // "customers/1234/campaigns/-1". - repeated MutateOperation mutate_operations = 3 [(google.api.field_behavior) = REQUIRED]; -} - -// Response message for [BatchJobService.AddBatchJobOperations][google.ads.googleads.v12.services.BatchJobService.AddBatchJobOperations]. -message AddBatchJobOperationsResponse { - // The total number of operations added so far for this batch job. - int64 total_operations = 1; - - // The sequence token to be used when calling AddBatchJobOperations again if - // more operations need to be added. The next AddBatchJobOperations request - // must set the sequence_token field to the value of this field. - string next_sequence_token = 2; -} - -// Request message for [BatchJobService.ListBatchJobResults][google.ads.googleads.v12.services.BatchJobService.ListBatchJobResults]. -message ListBatchJobResultsRequest { - // Required. The resource name of the batch job whose results are being listed. - string resource_name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/BatchJob" - } - ]; - - // Token of the page to retrieve. If not specified, the first - // page of results will be returned. Use the value obtained from - // `next_page_token` in the previous response in order to request - // the next page of results. - string page_token = 2; - - // Number of elements to retrieve in a single page. - // When a page request is too large, the server may decide to - // further limit the number of returned resources. - int32 page_size = 3; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4; -} - -// Response message for [BatchJobService.ListBatchJobResults][google.ads.googleads.v12.services.BatchJobService.ListBatchJobResults]. -message ListBatchJobResultsResponse { - // The list of rows that matched the query. - repeated BatchJobResult results = 1; - - // Pagination token used to retrieve the next page of results. - // Pass the content of this string as the `page_token` attribute of - // the next request. `next_page_token` is not returned for the last - // page. - string next_page_token = 2; -} - -// An individual batch job result. -message BatchJobResult { - // Index of the mutate operation. - int64 operation_index = 1; - - // Response for the mutate. - // May be empty if errors occurred. - MutateOperationResponse mutate_operation_response = 2; - - // Details of the errors when processing the operation. - google.rpc.Status status = 3; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/bidding_data_exclusion_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/bidding_data_exclusion_service.proto deleted file mode 100644 index d50f1eb28..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/bidding_data_exclusion_service.proto +++ /dev/null @@ -1,125 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/bidding_data_exclusion.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "BiddingDataExclusionServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Service to manage bidding data exclusions. -service BiddingDataExclusionService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes data exclusions. - // Operation statuses are returned. - rpc MutateBiddingDataExclusions(MutateBiddingDataExclusionsRequest) returns (MutateBiddingDataExclusionsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/biddingDataExclusions:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [BiddingDataExclusionService.MutateBiddingDataExclusions][google.ads.googleads.v12.services.BiddingDataExclusionService.MutateBiddingDataExclusions]. -message MutateBiddingDataExclusionsRequest { - // Required. ID of the customer whose data exclusions are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual data exclusions. - repeated BiddingDataExclusionOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, remove, update) on a data exclusion. -message BiddingDataExclusionOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new data - // exclusion. - google.ads.googleads.v12.resources.BiddingDataExclusion create = 1; - - // Update operation: The data exclusion is expected to have a valid - // resource name. - google.ads.googleads.v12.resources.BiddingDataExclusion update = 2; - - // Remove operation: A resource name for the removed data exclusion - // is expected, in this format: - // - // `customers/{customer_id}/biddingDataExclusions/{data_exclusion_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/BiddingDataExclusion" - }]; - } -} - -// Response message for data exlusions mutate. -message MutateBiddingDataExclusionsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateBiddingDataExclusionsResult results = 2; -} - -// The result for the data exclusion mutate. -message MutateBiddingDataExclusionsResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/BiddingDataExclusion" - }]; - - // The mutated bidding data exclusion with only mutable fields after mutate. - // The field will only be returned when response_content_type is set - // to "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.BiddingDataExclusion bidding_data_exclusion = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/bidding_seasonality_adjustment_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/bidding_seasonality_adjustment_service.proto deleted file mode 100644 index cf023c250..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/bidding_seasonality_adjustment_service.proto +++ /dev/null @@ -1,125 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/bidding_seasonality_adjustment.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "BiddingSeasonalityAdjustmentServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Service to manage bidding seasonality adjustments. -service BiddingSeasonalityAdjustmentService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes seasonality adjustments. - // Operation statuses are returned. - rpc MutateBiddingSeasonalityAdjustments(MutateBiddingSeasonalityAdjustmentsRequest) returns (MutateBiddingSeasonalityAdjustmentsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/biddingSeasonalityAdjustments:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [BiddingSeasonalityAdjustmentService.MutateBiddingSeasonalityAdjustments][google.ads.googleads.v12.services.BiddingSeasonalityAdjustmentService.MutateBiddingSeasonalityAdjustments]. -message MutateBiddingSeasonalityAdjustmentsRequest { - // Required. ID of the customer whose seasonality adjustments are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual seasonality adjustments. - repeated BiddingSeasonalityAdjustmentOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, remove, update) on a seasonality adjustment. -message BiddingSeasonalityAdjustmentOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new seasonality - // adjustment. - google.ads.googleads.v12.resources.BiddingSeasonalityAdjustment create = 1; - - // Update operation: The seasonality adjustment is expected to have a valid - // resource name. - google.ads.googleads.v12.resources.BiddingSeasonalityAdjustment update = 2; - - // Remove operation: A resource name for the removed seasonality adjustment - // is expected, in this format: - // - // `customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_adjustment_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/BiddingSeasonalityAdjustment" - }]; - } -} - -// Response message for seasonality adjustments mutate. -message MutateBiddingSeasonalityAdjustmentsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateBiddingSeasonalityAdjustmentsResult results = 2; -} - -// The result for the seasonality adjustment mutate. -message MutateBiddingSeasonalityAdjustmentsResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/BiddingSeasonalityAdjustment" - }]; - - // The mutated bidding seasonality adjustment with only mutable fields after - // mutate. The field will only be returned when response_content_type is set - // to "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.BiddingSeasonalityAdjustment bidding_seasonality_adjustment = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/bidding_strategy_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/bidding_strategy_service.proto deleted file mode 100644 index f24a6c9f3..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/bidding_strategy_service.proto +++ /dev/null @@ -1,154 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/bidding_strategy.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "BiddingStrategyServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the Bidding Strategy service. - -// Service to manage bidding strategies. -service BiddingStrategyService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes bidding strategies. Operation statuses are - // returned. - // - // List of thrown errors: - // [AdxError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [BiddingError]() - // [BiddingStrategyError]() - // [ContextError]() - // [DatabaseError]() - // [DateError]() - // [DistinctError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [NullError]() - // [OperationAccessDeniedError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - rpc MutateBiddingStrategies(MutateBiddingStrategiesRequest) returns (MutateBiddingStrategiesResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/biddingStrategies:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [BiddingStrategyService.MutateBiddingStrategies][google.ads.googleads.v12.services.BiddingStrategyService.MutateBiddingStrategies]. -message MutateBiddingStrategiesRequest { - // Required. The ID of the customer whose bidding strategies are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual bidding strategies. - repeated BiddingStrategyOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, update, remove) on a bidding strategy. -message BiddingStrategyOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new bidding - // strategy. - google.ads.googleads.v12.resources.BiddingStrategy create = 1; - - // Update operation: The bidding strategy is expected to have a valid - // resource name. - google.ads.googleads.v12.resources.BiddingStrategy update = 2; - - // Remove operation: A resource name for the removed bidding strategy is - // expected, in this format: - // - // `customers/{customer_id}/biddingStrategies/{bidding_strategy_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/BiddingStrategy" - }]; - } -} - -// Response message for bidding strategy mutate. -message MutateBiddingStrategiesResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateBiddingStrategyResult results = 2; -} - -// The result for the bidding strategy mutate. -message MutateBiddingStrategyResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/BiddingStrategy" - }]; - - // The mutated bidding strategy with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.BiddingStrategy bidding_strategy = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/billing_setup_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/billing_setup_service.proto deleted file mode 100644 index ec74f432f..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/billing_setup_service.proto +++ /dev/null @@ -1,112 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/billing_setup.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "BillingSetupServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the BillingSetup service. - -// A service for designating the business entity responsible for accrued costs. -// -// A billing setup is associated with a payments account. Billing-related -// activity for all billing setups associated with a particular payments account -// will appear on a single invoice generated monthly. -// -// Mutates: -// The REMOVE operation cancels a pending billing setup. -// The CREATE operation creates a new billing setup. -service BillingSetupService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates a billing setup, or cancels an existing billing setup. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [BillingSetupError]() - // [DateError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - rpc MutateBillingSetup(MutateBillingSetupRequest) returns (MutateBillingSetupResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/billingSetups:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operation"; - } -} - -// Request message for billing setup mutate operations. -message MutateBillingSetupRequest { - // Required. Id of the customer to apply the billing setup mutate operation to. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The operation to perform. - BillingSetupOperation operation = 2 [(google.api.field_behavior) = REQUIRED]; -} - -// A single operation on a billing setup, which describes the cancellation of an -// existing billing setup. -message BillingSetupOperation { - // Only one of these operations can be set. "Update" operations are not - // supported. - oneof operation { - // Creates a billing setup. No resource name is expected for the new billing - // setup. - google.ads.googleads.v12.resources.BillingSetup create = 2; - - // Resource name of the billing setup to remove. A setup cannot be - // removed unless it is in a pending state or its scheduled start time is in - // the future. The resource name looks like - // `customers/{customer_id}/billingSetups/{billing_id}`. - string remove = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/BillingSetup" - }]; - } -} - -// Response message for a billing setup operation. -message MutateBillingSetupResponse { - // A result that identifies the resource affected by the mutate request. - MutateBillingSetupResult result = 1; -} - -// Result for a single billing setup mutate. -message MutateBillingSetupResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/BillingSetup" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/campaign_asset_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/campaign_asset_service.proto deleted file mode 100644 index 10e723c54..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/campaign_asset_service.proto +++ /dev/null @@ -1,140 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/campaign_asset.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignAssetServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the CampaignAsset service. - -// Service to manage campaign assets. -service CampaignAssetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes campaign assets. Operation statuses are - // returned. - // - // List of thrown errors: - // [AssetLinkError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [ContextError]() - // [DatabaseError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [NotAllowlistedError]() - // [QuotaError]() - // [RequestError]() - rpc MutateCampaignAssets(MutateCampaignAssetsRequest) returns (MutateCampaignAssetsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/campaignAssets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [CampaignAssetService.MutateCampaignAssets][google.ads.googleads.v12.services.CampaignAssetService.MutateCampaignAssets]. -message MutateCampaignAssetsRequest { - // Required. The ID of the customer whose campaign assets are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual campaign assets. - repeated CampaignAssetOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, update, remove) on a campaign asset. -message CampaignAssetOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new campaign - // asset. - google.ads.googleads.v12.resources.CampaignAsset create = 1; - - // Update operation: The campaign asset is expected to have a valid resource - // name. - google.ads.googleads.v12.resources.CampaignAsset update = 3; - - // Remove operation: A resource name for the removed campaign asset is - // expected, in this format: - // - // `customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignAsset" - }]; - } -} - -// Response message for a campaign asset mutate. -message MutateCampaignAssetsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 1; - - // All results for the mutate. - repeated MutateCampaignAssetResult results = 2; -} - -// The result for the campaign asset mutate. -message MutateCampaignAssetResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignAsset" - }]; - - // The mutated campaign asset with only mutable fields after - // mutate. The field will only be returned when response_content_type is set - // to "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.CampaignAsset campaign_asset = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/campaign_asset_set_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/campaign_asset_set_service.proto deleted file mode 100644 index 842623679..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/campaign_asset_set_service.proto +++ /dev/null @@ -1,117 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/campaign_asset_set.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignAssetSetServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the CampaignAssetSet service. - -// Service to manage campaign asset set -service CampaignAssetSetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes campaign asset sets. Operation statuses are - // returned. - rpc MutateCampaignAssetSets(MutateCampaignAssetSetsRequest) returns (MutateCampaignAssetSetsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/campaignAssetSets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [CampaignAssetSetService.MutateCampaignAssetSets][google.ads.googleads.v12.services.CampaignAssetSetService.MutateCampaignAssetSets]. -message MutateCampaignAssetSetsRequest { - // Required. The ID of the customer whose campaign asset sets are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual campaign asset sets. - repeated CampaignAssetSetOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, remove) on a campaign asset set. -message CampaignAssetSetOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new campaign asset - // set. - google.ads.googleads.v12.resources.CampaignAssetSet create = 1; - - // Remove operation: A resource name for the removed campaign asset set is - // expected, in this format: - // `customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignAssetSet" - }]; - } -} - -// Response message for a campaign asset set mutate. -message MutateCampaignAssetSetsResponse { - // All results for the mutate. - repeated MutateCampaignAssetSetResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the campaign asset set mutate. -message MutateCampaignAssetSetResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignAssetSet" - }]; - - // The mutated campaign asset set with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.CampaignAssetSet campaign_asset_set = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/campaign_bid_modifier_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/campaign_bid_modifier_service.proto deleted file mode 100644 index b2d341c08..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/campaign_bid_modifier_service.proto +++ /dev/null @@ -1,151 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/campaign_bid_modifier.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignBidModifierServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the Campaign Bid Modifier service. - -// Service to manage campaign bid modifiers. -service CampaignBidModifierService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes campaign bid modifiers. - // Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [ContextError]() - // [CriterionError]() - // [DatabaseError]() - // [DateError]() - // [DistinctError]() - // [FieldError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [NullError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - rpc MutateCampaignBidModifiers(MutateCampaignBidModifiersRequest) returns (MutateCampaignBidModifiersResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/campaignBidModifiers:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [CampaignBidModifierService.MutateCampaignBidModifiers][google.ads.googleads.v12.services.CampaignBidModifierService.MutateCampaignBidModifiers]. -message MutateCampaignBidModifiersRequest { - // Required. ID of the customer whose campaign bid modifiers are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual campaign bid modifiers. - repeated CampaignBidModifierOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, remove, update) on a campaign bid modifier. -message CampaignBidModifierOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new campaign bid - // modifier. - google.ads.googleads.v12.resources.CampaignBidModifier create = 1; - - // Update operation: The campaign bid modifier is expected to have a valid - // resource name. - google.ads.googleads.v12.resources.CampaignBidModifier update = 2; - - // Remove operation: A resource name for the removed campaign bid modifier - // is expected, in this format: - // - // `customers/{customer_id}/CampaignBidModifiers/{campaign_id}~{criterion_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignBidModifier" - }]; - } -} - -// Response message for campaign bid modifiers mutate. -message MutateCampaignBidModifiersResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateCampaignBidModifierResult results = 2; -} - -// The result for the criterion mutate. -message MutateCampaignBidModifierResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignBidModifier" - }]; - - // The mutated campaign bid modifier with only mutable fields after mutate. - // The field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.CampaignBidModifier campaign_bid_modifier = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/campaign_budget_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/campaign_budget_service.proto deleted file mode 100644 index e6301118a..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/campaign_budget_service.proto +++ /dev/null @@ -1,144 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/campaign_budget.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignBudgetServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the Campaign Budget service. - -// Service to manage campaign budgets. -service CampaignBudgetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes campaign budgets. Operation statuses are - // returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CampaignBudgetError]() - // [DatabaseError]() - // [DistinctError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [NewResourceCreationError]() - // [OperationAccessDeniedError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - // [StringLengthError]() - rpc MutateCampaignBudgets(MutateCampaignBudgetsRequest) returns (MutateCampaignBudgetsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/campaignBudgets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [CampaignBudgetService.MutateCampaignBudgets][google.ads.googleads.v12.services.CampaignBudgetService.MutateCampaignBudgets]. -message MutateCampaignBudgetsRequest { - // Required. The ID of the customer whose campaign budgets are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual campaign budgets. - repeated CampaignBudgetOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, update, remove) on a campaign budget. -message CampaignBudgetOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new budget. - google.ads.googleads.v12.resources.CampaignBudget create = 1; - - // Update operation: The campaign budget is expected to have a valid - // resource name. - google.ads.googleads.v12.resources.CampaignBudget update = 2; - - // Remove operation: A resource name for the removed budget is expected, in - // this format: - // - // `customers/{customer_id}/campaignBudgets/{budget_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignBudget" - }]; - } -} - -// Response message for campaign budget mutate. -message MutateCampaignBudgetsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateCampaignBudgetResult results = 2; -} - -// The result for the campaign budget mutate. -message MutateCampaignBudgetResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignBudget" - }]; - - // The mutated campaign budget with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.CampaignBudget campaign_budget = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/campaign_conversion_goal_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/campaign_conversion_goal_service.proto deleted file mode 100644 index 355ec7d01..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/campaign_conversion_goal_service.proto +++ /dev/null @@ -1,92 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/campaign_conversion_goal.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignConversionGoalServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the CampaignConversionGoal service. - -// Service to manage campaign conversion goal. -service CampaignConversionGoalService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes campaign conversion goals. Operation statuses - // are returned. - rpc MutateCampaignConversionGoals(MutateCampaignConversionGoalsRequest) returns (MutateCampaignConversionGoalsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/campaignConversionGoals:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [CampaignConversionGoalService.MutateCampaignConversionGoals][google.ads.googleads.v12.services.CampaignConversionGoalService.MutateCampaignConversionGoals]. -message MutateCampaignConversionGoalsRequest { - // Required. The ID of the customer whose campaign conversion goals are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual campaign conversion goal. - repeated CampaignConversionGoalOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; -} - -// A single operation (update) on a campaign conversion goal. -message CampaignConversionGoalOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 2; - - // The mutate operation. - oneof operation { - // Update operation: The customer conversion goal is expected to have a - // valid resource name. - google.ads.googleads.v12.resources.CampaignConversionGoal update = 1; - } -} - -// Response message for a campaign conversion goal mutate. -message MutateCampaignConversionGoalsResponse { - // All results for the mutate. - repeated MutateCampaignConversionGoalResult results = 1; -} - -// The result for the campaign conversion goal mutate. -message MutateCampaignConversionGoalResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignConversionGoal" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/campaign_criterion_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/campaign_criterion_service.proto deleted file mode 100644 index 16f7683bb..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/campaign_criterion_service.proto +++ /dev/null @@ -1,155 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/campaign_criterion.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignCriterionServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the Campaign Criterion service. - -// Service to manage campaign criteria. -service CampaignCriterionService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes criteria. Operation statuses are returned. - // - // List of thrown errors: - // [AdxError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [CampaignCriterionError]() - // [CollectionSizeError]() - // [ContextError]() - // [CriterionError]() - // [DatabaseError]() - // [DistinctError]() - // [FieldError]() - // [FieldMaskError]() - // [FunctionError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [NullError]() - // [OperationAccessDeniedError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RegionCodeError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - rpc MutateCampaignCriteria(MutateCampaignCriteriaRequest) returns (MutateCampaignCriteriaResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/campaignCriteria:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [CampaignCriterionService.MutateCampaignCriteria][google.ads.googleads.v12.services.CampaignCriterionService.MutateCampaignCriteria]. -message MutateCampaignCriteriaRequest { - // Required. The ID of the customer whose criteria are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual criteria. - repeated CampaignCriterionOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, update, remove) on a campaign criterion. -message CampaignCriterionOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new criterion. - google.ads.googleads.v12.resources.CampaignCriterion create = 1; - - // Update operation: The criterion is expected to have a valid resource - // name. - google.ads.googleads.v12.resources.CampaignCriterion update = 2; - - // Remove operation: A resource name for the removed criterion is expected, - // in this format: - // - // `customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignCriterion" - }]; - } -} - -// Response message for campaign criterion mutate. -message MutateCampaignCriteriaResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateCampaignCriterionResult results = 2; -} - -// The result for the criterion mutate. -message MutateCampaignCriterionResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignCriterion" - }]; - - // The mutated campaign criterion with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.CampaignCriterion campaign_criterion = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/campaign_customizer_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/campaign_customizer_service.proto deleted file mode 100644 index f2ba5e857..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/campaign_customizer_service.proto +++ /dev/null @@ -1,118 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/campaign_customizer.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignCustomizerServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the CampaignCustomizer service. - -// Service to manage campaign customizer -service CampaignCustomizerService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes campaign customizers. Operation statuses are - // returned. - rpc MutateCampaignCustomizers(MutateCampaignCustomizersRequest) returns (MutateCampaignCustomizersResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/campaignCustomizers:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [CampaignCustomizerService.MutateCampaignCustomizers][google.ads.googleads.v12.services.CampaignCustomizerService.MutateCampaignCustomizers]. -message MutateCampaignCustomizersRequest { - // Required. The ID of the customer whose campaign customizers are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual campaign customizers. - repeated CampaignCustomizerOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, remove) on an customizer attribute. -message CampaignCustomizerOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new campaign - // customizer - google.ads.googleads.v12.resources.CampaignCustomizer create = 1; - - // Remove operation: A resource name for the removed campaign customizer is - // expected, in this format: - // `customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignCustomizer" - }]; - } -} - -// Response message for an campaign customizer mutate. -message MutateCampaignCustomizersResponse { - // All results for the mutate. - repeated MutateCampaignCustomizerResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the campaign customizer mutate. -message MutateCampaignCustomizerResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignCustomizer" - }]; - - // The mutated CampaignCustomizer with only mutable fields after mutate. - // The field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.CampaignCustomizer campaign_customizer = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/campaign_draft_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/campaign_draft_service.proto deleted file mode 100644 index 140cb1794..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/campaign_draft_service.proto +++ /dev/null @@ -1,236 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/campaign_draft.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/longrunning/operations.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignDraftServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the Campaign Draft service. - -// Service to manage campaign drafts. -service CampaignDraftService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes campaign drafts. Operation statuses are - // returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CampaignDraftError]() - // [DatabaseError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - rpc MutateCampaignDrafts(MutateCampaignDraftsRequest) returns (MutateCampaignDraftsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/campaignDrafts:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } - - // Promotes the changes in a draft back to the base campaign. - // - // This method returns a Long Running Operation (LRO) indicating if the - // Promote is done. Use [Operations.GetOperation] to poll the LRO until it - // is done. Only a done status is returned in the response. See the status - // in the Campaign Draft resource to determine if the promotion was - // successful. If the LRO failed, use - // [CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v12.services.CampaignDraftService.ListCampaignDraftAsyncErrors] to view the list of - // error reasons. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CampaignDraftError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc PromoteCampaignDraft(PromoteCampaignDraftRequest) returns (google.longrunning.Operation) { - option (google.api.http) = { - post: "/v12/{campaign_draft=customers/*/campaignDrafts/*}:promote" - body: "*" - }; - option (google.api.method_signature) = "campaign_draft"; - option (google.longrunning.operation_info) = { - response_type: "google.protobuf.Empty" - metadata_type: "google.protobuf.Empty" - }; - } - - // Returns all errors that occurred during CampaignDraft promote. Throws an - // error if called before campaign draft is promoted. - // Supports standard list paging. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc ListCampaignDraftAsyncErrors(ListCampaignDraftAsyncErrorsRequest) returns (ListCampaignDraftAsyncErrorsResponse) { - option (google.api.http) = { - get: "/v12/{resource_name=customers/*/campaignDrafts/*}:listAsyncErrors" - }; - option (google.api.method_signature) = "resource_name"; - } -} - -// Request message for [CampaignDraftService.MutateCampaignDrafts][google.ads.googleads.v12.services.CampaignDraftService.MutateCampaignDrafts]. -message MutateCampaignDraftsRequest { - // Required. The ID of the customer whose campaign drafts are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual campaign drafts. - repeated CampaignDraftOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// Request message for [CampaignDraftService.PromoteCampaignDraft][google.ads.googleads.v12.services.CampaignDraftService.PromoteCampaignDraft]. -message PromoteCampaignDraftRequest { - // Required. The resource name of the campaign draft to promote. - string campaign_draft = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignDraft" - } - ]; - - // If true, the request is validated but no Long Running Operation is created. - // Only errors are returned. - bool validate_only = 2; -} - -// A single operation (create, update, remove) on a campaign draft. -message CampaignDraftOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new campaign - // draft. - google.ads.googleads.v12.resources.CampaignDraft create = 1; - - // Update operation: The campaign draft is expected to have a valid - // resource name. - google.ads.googleads.v12.resources.CampaignDraft update = 2; - - // Remove operation: The campaign draft is expected to have a valid - // resource name, in this format: - // - // `customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignDraft" - }]; - } -} - -// Response message for campaign draft mutate. -message MutateCampaignDraftsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateCampaignDraftResult results = 2; -} - -// The result for the campaign draft mutate. -message MutateCampaignDraftResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignDraft" - }]; - - // The mutated campaign draft with only mutable fields after mutate. The field - // will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.CampaignDraft campaign_draft = 2; -} - -// Request message for [CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v12.services.CampaignDraftService.ListCampaignDraftAsyncErrors]. -message ListCampaignDraftAsyncErrorsRequest { - // Required. The name of the campaign draft from which to retrieve the async errors. - string resource_name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignDraft" - } - ]; - - // Token of the page to retrieve. If not specified, the first - // page of results will be returned. Use the value obtained from - // `next_page_token` in the previous response in order to request - // the next page of results. - string page_token = 2; - - // Number of elements to retrieve in a single page. - // When a page request is too large, the server may decide to - // further limit the number of returned resources. - int32 page_size = 3; -} - -// Response message for [CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v12.services.CampaignDraftService.ListCampaignDraftAsyncErrors]. -message ListCampaignDraftAsyncErrorsResponse { - // Details of the errors when performing the asynchronous operation. - repeated google.rpc.Status errors = 1; - - // Pagination token used to retrieve the next page of results. - // Pass the content of this string as the `page_token` attribute of - // the next request. `next_page_token` is not returned for the last - // page. - string next_page_token = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/campaign_extension_setting_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/campaign_extension_setting_service.proto deleted file mode 100644 index f7032b8ca..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/campaign_extension_setting_service.proto +++ /dev/null @@ -1,158 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/campaign_extension_setting.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignExtensionSettingServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the CampaignExtensionSetting service. - -// Service to manage campaign extension settings. -service CampaignExtensionSettingService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes campaign extension settings. Operation - // statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [CriterionError]() - // [DatabaseError]() - // [DateError]() - // [DistinctError]() - // [ExtensionSettingError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [ListOperationError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [NullError]() - // [OperationAccessDeniedError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - // [UrlFieldError]() - rpc MutateCampaignExtensionSettings(MutateCampaignExtensionSettingsRequest) returns (MutateCampaignExtensionSettingsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/campaignExtensionSettings:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [CampaignExtensionSettingService.MutateCampaignExtensionSettings][google.ads.googleads.v12.services.CampaignExtensionSettingService.MutateCampaignExtensionSettings]. -message MutateCampaignExtensionSettingsRequest { - // Required. The ID of the customer whose campaign extension settings are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual campaign extension - // settings. - repeated CampaignExtensionSettingOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, update, remove) on a campaign extension setting. -message CampaignExtensionSettingOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new campaign - // extension setting. - google.ads.googleads.v12.resources.CampaignExtensionSetting create = 1; - - // Update operation: The campaign extension setting is expected to have a - // valid resource name. - google.ads.googleads.v12.resources.CampaignExtensionSetting update = 2; - - // Remove operation: A resource name for the removed campaign extension - // setting is expected, in this format: - // - // `customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignExtensionSetting" - }]; - } -} - -// Response message for a campaign extension setting mutate. -message MutateCampaignExtensionSettingsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateCampaignExtensionSettingResult results = 2; -} - -// The result for the campaign extension setting mutate. -message MutateCampaignExtensionSettingResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignExtensionSetting" - }]; - - // The mutated campaign extension setting with only mutable fields after - // mutate. The field will only be returned when response_content_type is set - // to "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.CampaignExtensionSetting campaign_extension_setting = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/campaign_feed_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/campaign_feed_service.proto deleted file mode 100644 index 8aa4186e3..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/campaign_feed_service.proto +++ /dev/null @@ -1,150 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/campaign_feed.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignFeedServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the CampaignFeed service. - -// Service to manage campaign feeds. -service CampaignFeedService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes campaign feeds. Operation statuses are - // returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CampaignFeedError]() - // [CollectionSizeError]() - // [DatabaseError]() - // [DistinctError]() - // [FieldError]() - // [FunctionError]() - // [FunctionParsingError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [MutateError]() - // [NotEmptyError]() - // [NullError]() - // [OperationAccessDeniedError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - rpc MutateCampaignFeeds(MutateCampaignFeedsRequest) returns (MutateCampaignFeedsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/campaignFeeds:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [CampaignFeedService.MutateCampaignFeeds][google.ads.googleads.v12.services.CampaignFeedService.MutateCampaignFeeds]. -message MutateCampaignFeedsRequest { - // Required. The ID of the customer whose campaign feeds are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual campaign feeds. - repeated CampaignFeedOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, update, remove) on a campaign feed. -message CampaignFeedOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new campaign feed. - google.ads.googleads.v12.resources.CampaignFeed create = 1; - - // Update operation: The campaign feed is expected to have a valid resource - // name. - google.ads.googleads.v12.resources.CampaignFeed update = 2; - - // Remove operation: A resource name for the removed campaign feed is - // expected, in this format: - // - // `customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignFeed" - }]; - } -} - -// Response message for a campaign feed mutate. -message MutateCampaignFeedsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateCampaignFeedResult results = 2; -} - -// The result for the campaign feed mutate. -message MutateCampaignFeedResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignFeed" - }]; - - // The mutated campaign feed with only mutable fields after mutate. The field - // will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.CampaignFeed campaign_feed = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/campaign_group_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/campaign_group_service.proto deleted file mode 100644 index 30e294598..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/campaign_group_service.proto +++ /dev/null @@ -1,129 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/campaign_group.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignGroupServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the Campaign group service. - -// Service to manage campaign groups. -service CampaignGroupService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes campaign groups. Operation statuses are - // returned. - rpc MutateCampaignGroups(MutateCampaignGroupsRequest) returns (MutateCampaignGroupsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/campaignGroups:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [CampaignGroupService.MutateCampaignGroups][google.ads.googleads.v12.services.CampaignGroupService.MutateCampaignGroups]. -message MutateCampaignGroupsRequest { - // Required. The ID of the customer whose campaign groups are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual campaign groups. - repeated CampaignGroupOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, update, remove) on a campaign group. -message CampaignGroupOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new campaign - // group. - google.ads.googleads.v12.resources.CampaignGroup create = 1; - - // Update operation: The campaign group is expected to have a valid - // resource name. - google.ads.googleads.v12.resources.CampaignGroup update = 2; - - // Remove operation: A resource name for the removed campaign group is - // expected, in this format: - // - // `customers/{customer_id}/campaignGroups/{campaign_group_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignGroup" - }]; - } -} - -// Response message for campaign group mutate. -message MutateCampaignGroupsResponse { - // All results for the mutate. - repeated MutateCampaignGroupResult results = 2; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; -} - -// The result for the campaign group mutate. -message MutateCampaignGroupResult { - // Required. Returned for successful operations. - string resource_name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignGroup" - } - ]; - - // The mutated campaign group with only mutable fields after mutate. The field - // will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.CampaignGroup campaign_group = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/campaign_label_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/campaign_label_service.proto deleted file mode 100644 index 1a3598b76..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/campaign_label_service.proto +++ /dev/null @@ -1,121 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/campaign_label.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignLabelServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the Campaign Label service. - -// Service to manage labels on campaigns. -service CampaignLabelService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates and removes campaign-label relationships. - // Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [LabelError]() - // [MutateError]() - // [NewResourceCreationError]() - // [QuotaError]() - // [RequestError]() - rpc MutateCampaignLabels(MutateCampaignLabelsRequest) returns (MutateCampaignLabelsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/campaignLabels:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [CampaignLabelService.MutateCampaignLabels][google.ads.googleads.v12.services.CampaignLabelService.MutateCampaignLabels]. -message MutateCampaignLabelsRequest { - // Required. ID of the customer whose campaign-label relationships are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on campaign-label relationships. - repeated CampaignLabelOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, remove) on a campaign-label relationship. -message CampaignLabelOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new campaign-label - // relationship. - google.ads.googleads.v12.resources.CampaignLabel create = 1; - - // Remove operation: A resource name for the campaign-label relationship - // being removed, in this format: - // - // `customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignLabel" - }]; - } -} - -// Response message for a campaign labels mutate. -message MutateCampaignLabelsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateCampaignLabelResult results = 2; -} - -// The result for a campaign label mutate. -message MutateCampaignLabelResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignLabel" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/campaign_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/campaign_service.proto deleted file mode 100644 index c65f18489..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/campaign_service.proto +++ /dev/null @@ -1,160 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/campaign.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the Campaign service. - -// Service to manage campaigns. -service CampaignService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes campaigns. Operation statuses are returned. - // - // List of thrown errors: - // [AdxError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [BiddingError]() - // [BiddingStrategyError]() - // [CampaignBudgetError]() - // [CampaignError]() - // [ContextError]() - // [DatabaseError]() - // [DateError]() - // [DateRangeError]() - // [DistinctError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [ListOperationError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotAllowlistedError]() - // [NotEmptyError]() - // [NullError]() - // [OperationAccessDeniedError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RegionCodeError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - // [SettingError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - // [UrlFieldError]() - rpc MutateCampaigns(MutateCampaignsRequest) returns (MutateCampaignsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/campaigns:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [CampaignService.MutateCampaigns][google.ads.googleads.v12.services.CampaignService.MutateCampaigns]. -message MutateCampaignsRequest { - // Required. The ID of the customer whose campaigns are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual campaigns. - repeated CampaignOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, update, remove) on a campaign. -message CampaignOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new campaign. - google.ads.googleads.v12.resources.Campaign create = 1; - - // Update operation: The campaign is expected to have a valid - // resource name. - google.ads.googleads.v12.resources.Campaign update = 2; - - // Remove operation: A resource name for the removed campaign is - // expected, in this format: - // - // `customers/{customer_id}/campaigns/{campaign_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - }]; - } -} - -// Response message for campaign mutate. -message MutateCampaignsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateCampaignResult results = 2; -} - -// The result for the campaign mutate. -message MutateCampaignResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - }]; - - // The mutated campaign with only mutable fields after mutate. The field will - // only be returned when response_content_type is set to "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.Campaign campaign = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/campaign_shared_set_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/campaign_shared_set_service.proto deleted file mode 100644 index e1a441fc4..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/campaign_shared_set_service.proto +++ /dev/null @@ -1,141 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/campaign_shared_set.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignSharedSetServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the Campaign Shared Set service. - -// Service to manage campaign shared sets. -service CampaignSharedSetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates or removes campaign shared sets. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CampaignSharedSetError]() - // [ContextError]() - // [DatabaseError]() - // [DateError]() - // [DistinctError]() - // [FieldError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [NullError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - rpc MutateCampaignSharedSets(MutateCampaignSharedSetsRequest) returns (MutateCampaignSharedSetsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/campaignSharedSets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [CampaignSharedSetService.MutateCampaignSharedSets][google.ads.googleads.v12.services.CampaignSharedSetService.MutateCampaignSharedSets]. -message MutateCampaignSharedSetsRequest { - // Required. The ID of the customer whose campaign shared sets are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual campaign shared sets. - repeated CampaignSharedSetOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, remove) on an campaign shared set. -message CampaignSharedSetOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new campaign - // shared set. - google.ads.googleads.v12.resources.CampaignSharedSet create = 1; - - // Remove operation: A resource name for the removed campaign shared set is - // expected, in this format: - // - // `customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignSharedSet" - }]; - } -} - -// Response message for a campaign shared set mutate. -message MutateCampaignSharedSetsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateCampaignSharedSetResult results = 2; -} - -// The result for the campaign shared set mutate. -message MutateCampaignSharedSetResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignSharedSet" - }]; - - // The mutated campaign shared set with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.CampaignSharedSet campaign_shared_set = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/conversion_action_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/conversion_action_service.proto deleted file mode 100644 index 5f53abb2c..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/conversion_action_service.proto +++ /dev/null @@ -1,144 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/conversion_action.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ConversionActionServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the Conversion Action service. - -// Service to manage conversion actions. -service ConversionActionService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes conversion actions. Operation statuses are - // returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [ConversionActionError]() - // [CurrencyCodeError]() - // [DatabaseError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [NewResourceCreationError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - // [StringLengthError]() - rpc MutateConversionActions(MutateConversionActionsRequest) returns (MutateConversionActionsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/conversionActions:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [ConversionActionService.MutateConversionActions][google.ads.googleads.v12.services.ConversionActionService.MutateConversionActions]. -message MutateConversionActionsRequest { - // Required. The ID of the customer whose conversion actions are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual conversion actions. - repeated ConversionActionOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, update, remove) on a conversion action. -message ConversionActionOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new conversion - // action. - google.ads.googleads.v12.resources.ConversionAction create = 1; - - // Update operation: The conversion action is expected to have a valid - // resource name. - google.ads.googleads.v12.resources.ConversionAction update = 2; - - // Remove operation: A resource name for the removed conversion action is - // expected, in this format: - // - // `customers/{customer_id}/conversionActions/{conversion_action_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionAction" - }]; - } -} - -// Response message for [ConversionActionService.MutateConversionActions][google.ads.googleads.v12.services.ConversionActionService.MutateConversionActions]. -message MutateConversionActionsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateConversionActionResult results = 2; -} - -// The result for the conversion action mutate. -message MutateConversionActionResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionAction" - }]; - - // The mutated conversion action with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.ConversionAction conversion_action = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/conversion_adjustment_upload_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/conversion_adjustment_upload_service.proto deleted file mode 100644 index dfe8c247e..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/conversion_adjustment_upload_service.proto +++ /dev/null @@ -1,199 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/common/offline_user_data.proto"; -import "google/ads/googleads/v12/enums/conversion_adjustment_type.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ConversionAdjustmentUploadServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Service to upload conversion adjustments. -service ConversionAdjustmentUploadService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Processes the given conversion adjustments. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [PartialFailureError]() - // [QuotaError]() - // [RequestError]() - rpc UploadConversionAdjustments(UploadConversionAdjustmentsRequest) returns (UploadConversionAdjustmentsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}:uploadConversionAdjustments" - body: "*" - }; - option (google.api.method_signature) = "customer_id,conversion_adjustments,partial_failure"; - } -} - -// Request message for -// [ConversionAdjustmentUploadService.UploadConversionAdjustments][google.ads.googleads.v12.services.ConversionAdjustmentUploadService.UploadConversionAdjustments]. -message UploadConversionAdjustmentsRequest { - // Required. The ID of the customer performing the upload. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The conversion adjustments that are being uploaded. - repeated ConversionAdjustment conversion_adjustments = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried out - // in one transaction if and only if they are all valid. This should always be - // set to true. - // See - // https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - // for more information about partial failure. - bool partial_failure = 3 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// Response message for -// [ConversionAdjustmentUploadService.UploadConversionAdjustments][google.ads.googleads.v12.services.ConversionAdjustmentUploadService.UploadConversionAdjustments]. -message UploadConversionAdjustmentsResponse { - // Errors that pertain to conversion adjustment failures in the partial - // failure mode. Returned when all errors occur inside the adjustments. If any - // errors occur outside the adjustments (for example, auth errors), we return - // an RPC level error. See - // https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - // for more information about partial failure. - google.rpc.Status partial_failure_error = 1; - - // Returned for successfully processed conversion adjustments. Proto will be - // empty for rows that received an error. Results are not returned when - // validate_only is true. - repeated ConversionAdjustmentResult results = 2; -} - -// A conversion adjustment. -message ConversionAdjustment { - // For adjustments, uniquely identifies a conversion that was reported - // without an order ID specified. If the adjustment_type is ENHANCEMENT, this - // value is optional but may be set in addition to the order_id. - GclidDateTimePair gclid_date_time_pair = 12; - - // The order ID of the conversion to be adjusted. If the conversion was - // reported with an order ID specified, that order ID must be used as the - // identifier here. The order ID is required for enhancements. - optional string order_id = 13; - - // Resource name of the conversion action associated with this conversion - // adjustment. Note: Although this resource name consists of a customer id and - // a conversion action id, validation will ignore the customer id and use the - // conversion action id as the sole identifier of the conversion action. - optional string conversion_action = 8; - - // The date time at which the adjustment occurred. Must be after the - // conversion_date_time. The timezone must be specified. The format is - // "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - optional string adjustment_date_time = 9; - - // The adjustment type. - google.ads.googleads.v12.enums.ConversionAdjustmentTypeEnum.ConversionAdjustmentType adjustment_type = 5; - - // Information needed to restate the conversion's value. - // Required for restatements. Should not be supplied for retractions. An error - // will be returned if provided for a retraction. - // NOTE: If you want to upload a second restatement with a different adjusted - // value, it must have a new, more recent, adjustment occurrence time. - // Otherwise, it will be treated as a duplicate of the previous restatement - // and ignored. - RestatementValue restatement_value = 6; - - // The user identifiers to enhance the original conversion. - // ConversionAdjustmentUploadService only accepts user identifiers in - // enhancements. The maximum number of user identifiers for each - // enhancement is 5. - repeated google.ads.googleads.v12.common.UserIdentifier user_identifiers = 10; - - // The user agent to enhance the original conversion. This can be found in - // your user's HTTP request header when they convert on your web page. - // Example, "Mozilla/5.0 (iPhone; CPU iPhone OS 12_2 like Mac OS X)". User - // agent can only be specified in enhancements with user identifiers. This - // should match the user agent of the request that sent the original - // conversion so the conversion and its enhancement are either both attributed - // as same-device or both attributed as cross-device. - optional string user_agent = 11; -} - -// Contains information needed to restate a conversion's value. -message RestatementValue { - // The restated conversion value. This is the value of the conversion after - // restatement. For example, to change the value of a conversion from 100 to - // 70, an adjusted value of 70 should be reported. - // NOTE: If you want to upload a second restatement with a different adjusted - // value, it must have a new, more recent, adjustment occurrence time. - // Otherwise, it will be treated as a duplicate of the previous restatement - // and ignored. - optional double adjusted_value = 3; - - // The currency of the restated value. If not provided, then the default - // currency from the conversion action is used, and if that is not set then - // the account currency is used. This is the ISO 4217 3-character currency - // code for example, USD or EUR. - optional string currency_code = 4; -} - -// Uniquely identifies a conversion that was reported without an order ID -// specified. -message GclidDateTimePair { - // Google click ID (gclid) associated with the original conversion for this - // adjustment. - optional string gclid = 3; - - // The date time at which the original conversion for this adjustment - // occurred. The timezone must be specified. The format is "yyyy-mm-dd - // hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - optional string conversion_date_time = 4; -} - -// Information identifying a successfully processed ConversionAdjustment. -message ConversionAdjustmentResult { - // The gclid and conversion date time of the conversion. - GclidDateTimePair gclid_date_time_pair = 9; - - // The order ID of the conversion to be adjusted. - string order_id = 10; - - // Resource name of the conversion action associated with this conversion - // adjustment. - optional string conversion_action = 7; - - // The date time at which the adjustment occurred. The format is - // "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - optional string adjustment_date_time = 8; - - // The adjustment type. - google.ads.googleads.v12.enums.ConversionAdjustmentTypeEnum.ConversionAdjustmentType adjustment_type = 5; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/conversion_custom_variable_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/conversion_custom_variable_service.proto deleted file mode 100644 index 0017703f9..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/conversion_custom_variable_service.proto +++ /dev/null @@ -1,132 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/conversion_custom_variable.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ConversionCustomVariableServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the Conversion Custom Variable service. - -// Service to manage conversion custom variables. -service ConversionCustomVariableService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates or updates conversion custom variables. Operation statuses are - // returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [ConversionCustomVariableError]() - // [DatabaseError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc MutateConversionCustomVariables(MutateConversionCustomVariablesRequest) returns (MutateConversionCustomVariablesResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/conversionCustomVariables:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [ConversionCustomVariableService.MutateConversionCustomVariables][google.ads.googleads.v12.services.ConversionCustomVariableService.MutateConversionCustomVariables]. -message MutateConversionCustomVariablesRequest { - // Required. The ID of the customer whose conversion custom variables are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual conversion custom - // variables. - repeated ConversionCustomVariableOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, update) on a conversion custom variable. -message ConversionCustomVariableOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 3; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new conversion - // custom variable. - google.ads.googleads.v12.resources.ConversionCustomVariable create = 1; - - // Update operation: The conversion custom variable is expected to have a - // valid resource name. - google.ads.googleads.v12.resources.ConversionCustomVariable update = 2; - } -} - -// Response message for -// [ConversionCustomVariableService.MutateConversionCustomVariables][google.ads.googleads.v12.services.ConversionCustomVariableService.MutateConversionCustomVariables]. -message MutateConversionCustomVariablesResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 1; - - // All results for the mutate. - repeated MutateConversionCustomVariableResult results = 2; -} - -// The result for the conversion custom variable mutate. -message MutateConversionCustomVariableResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionCustomVariable" - }]; - - // The mutated conversion custom variable with only mutable fields after - // mutate. The field will only be returned when response_content_type is set - // to "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.ConversionCustomVariable conversion_custom_variable = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/conversion_goal_campaign_config_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/conversion_goal_campaign_config_service.proto deleted file mode 100644 index ac3b112c0..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/conversion_goal_campaign_config_service.proto +++ /dev/null @@ -1,103 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/conversion_goal_campaign_config.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ConversionGoalCampaignConfigServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the ConversionGoalCampaignConfig service. - -// Service to manage conversion goal campaign config. -service ConversionGoalCampaignConfigService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes conversion goal campaign config. Operation - // statuses are returned. - rpc MutateConversionGoalCampaignConfigs(MutateConversionGoalCampaignConfigsRequest) returns (MutateConversionGoalCampaignConfigsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/conversionGoalCampaignConfigs:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [ConversionGoalCampaignConfigService.MutateConversionGoalCampaignConfig][]. -message MutateConversionGoalCampaignConfigsRequest { - // Required. The ID of the customer whose custom conversion goals are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual conversion goal campaign - // config. - repeated ConversionGoalCampaignConfigOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4; -} - -// A single operation (update) on a conversion goal campaign config. -message ConversionGoalCampaignConfigOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 2; - - // The mutate operation. - oneof operation { - // Update operation: The conversion goal campaign config is expected to have - // a valid resource name. - google.ads.googleads.v12.resources.ConversionGoalCampaignConfig update = 1; - } -} - -// Response message for a conversion goal campaign config mutate. -message MutateConversionGoalCampaignConfigsResponse { - // All results for the mutate. - repeated MutateConversionGoalCampaignConfigResult results = 1; -} - -// The result for the conversion goal campaign config mutate. -message MutateConversionGoalCampaignConfigResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionGoalCampaignConfig" - }]; - - // The mutated ConversionGoalCampaignConfig with only mutable fields after - // mutate. The field will only be returned when response_content_type is set - // to "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.ConversionGoalCampaignConfig conversion_goal_campaign_config = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/conversion_upload_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/conversion_upload_service.proto deleted file mode 100644 index 3c6b4c22d..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/conversion_upload_service.proto +++ /dev/null @@ -1,367 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/common/offline_user_data.proto"; -import "google/ads/googleads/v12/enums/conversion_environment_enum.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ConversionUploadServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Service to upload conversions. -service ConversionUploadService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Processes the given click conversions. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [ConversionUploadError]() - // [HeaderError]() - // [InternalError]() - // [PartialFailureError]() - // [QuotaError]() - // [RequestError]() - rpc UploadClickConversions(UploadClickConversionsRequest) returns (UploadClickConversionsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}:uploadClickConversions" - body: "*" - }; - option (google.api.method_signature) = "customer_id,conversions,partial_failure"; - } - - // Processes the given call conversions. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [PartialFailureError]() - // [QuotaError]() - // [RequestError]() - rpc UploadCallConversions(UploadCallConversionsRequest) returns (UploadCallConversionsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}:uploadCallConversions" - body: "*" - }; - option (google.api.method_signature) = "customer_id,conversions,partial_failure"; - } -} - -// Request message for [ConversionUploadService.UploadClickConversions][google.ads.googleads.v12.services.ConversionUploadService.UploadClickConversions]. -message UploadClickConversionsRequest { - // Required. The ID of the customer performing the upload. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The conversions that are being uploaded. - repeated ClickConversion conversions = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // This should always be set to true. - // See - // https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - // for more information about partial failure. - bool partial_failure = 3 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // If true, the API will perform all upload checks and return errors if - // any are found. If false, it will perform only basic input validation, - // skip subsequent upload checks, and return success even if no click - // was found for the provided `user_identifiers`. - // - // This setting only affects Enhanced conversions for leads uploads that use - // `user_identifiers` instead of `GCLID`, `GBRAID`, or `WBRAID`. When - // uploading enhanced conversions for leads, you should upload all conversion - // events to the API, including those that may not come from Google Ads - // campaigns. The upload of an event that is not from a Google Ads campaign - // will result in a `CLICK_NOT_FOUND` error if this field is set to `true`. - // Since these errors are expected for such events, set this field to `false` - // so you can confirm your uploads are properly formatted but ignore - // `CLICK_NOT_FOUND` errors from all of the conversions that are not from a - // Google Ads campaign. This will allow you to focus only on errors that you - // can address. - // - // Default is false. - bool debug_enabled = 5; -} - -// Response message for [ConversionUploadService.UploadClickConversions][google.ads.googleads.v12.services.ConversionUploadService.UploadClickConversions]. -message UploadClickConversionsResponse { - // Errors that pertain to conversion failures in the partial failure mode. - // Returned when all errors occur inside the conversions. If any errors occur - // outside the conversions (for example, auth errors), we return an RPC level - // error. See - // https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - // for more information about partial failure. - google.rpc.Status partial_failure_error = 1; - - // Returned for successfully processed conversions. Proto will be empty for - // rows that received an error. Results are not returned when validate_only is - // true. - repeated ClickConversionResult results = 2; -} - -// Request message for [ConversionUploadService.UploadCallConversions][google.ads.googleads.v12.services.ConversionUploadService.UploadCallConversions]. -message UploadCallConversionsRequest { - // Required. The ID of the customer performing the upload. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The conversions that are being uploaded. - repeated CallConversion conversions = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // This should always be set to true. - // See - // https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - // for more information about partial failure. - bool partial_failure = 3 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// Response message for [ConversionUploadService.UploadCallConversions][google.ads.googleads.v12.services.ConversionUploadService.UploadCallConversions]. -message UploadCallConversionsResponse { - // Errors that pertain to conversion failures in the partial failure mode. - // Returned when all errors occur inside the conversions. If any errors occur - // outside the conversions (for example, auth errors), we return an RPC level - // error. See - // https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - // for more information about partial failure. - google.rpc.Status partial_failure_error = 1; - - // Returned for successfully processed conversions. Proto will be empty for - // rows that received an error. Results are not returned when validate_only is - // true. - repeated CallConversionResult results = 2; -} - -// A click conversion. -message ClickConversion { - // The Google click ID (gclid) associated with this conversion. - optional string gclid = 9; - - // The click identifier for clicks associated with app conversions and - // originating from iOS devices starting with iOS14. - string gbraid = 18; - - // The click identifier for clicks associated with web conversions and - // originating from iOS devices starting with iOS14. - string wbraid = 19; - - // Resource name of the conversion action associated with this conversion. - // Note: Although this resource name consists of a customer id and a - // conversion action id, validation will ignore the customer id and use the - // conversion action id as the sole identifier of the conversion action. - optional string conversion_action = 10; - - // The date time at which the conversion occurred. Must be after - // the click time. The timezone must be specified. The format is - // "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - optional string conversion_date_time = 11; - - // The value of the conversion for the advertiser. - optional double conversion_value = 12; - - // Currency associated with the conversion value. This is the ISO 4217 - // 3-character currency code. For example: USD, EUR. - optional string currency_code = 13; - - // The order ID associated with the conversion. An order id can only be used - // for one conversion per conversion action. - optional string order_id = 14; - - // Additional data about externally attributed conversions. This field - // is required for conversions with an externally attributed conversion - // action, but should not be set otherwise. - ExternalAttributionData external_attribution_data = 7; - - // The custom variables associated with this conversion. - repeated CustomVariable custom_variables = 15; - - // The cart data associated with this conversion. - CartData cart_data = 16; - - // The user identifiers associated with this conversion. Only hashed_email and - // hashed_phone_number are supported for conversion uploads. The maximum - // number of user identifiers for each conversion is 5. - repeated google.ads.googleads.v12.common.UserIdentifier user_identifiers = 17; - - // The environment this conversion was recorded on, for example, App or Web. - google.ads.googleads.v12.enums.ConversionEnvironmentEnum.ConversionEnvironment conversion_environment = 20; -} - -// A call conversion. -message CallConversion { - // The caller id from which this call was placed. Caller id is expected to be - // in E.164 format with preceding '+' sign, for example, "+16502531234". - optional string caller_id = 7; - - // The date time at which the call occurred. The timezone must be specified. - // The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", - // for example, "2019-01-01 12:32:45-08:00". - optional string call_start_date_time = 8; - - // Resource name of the conversion action associated with this conversion. - // Note: Although this resource name consists of a customer id and a - // conversion action id, validation will ignore the customer id and use the - // conversion action id as the sole identifier of the conversion action. - optional string conversion_action = 9; - - // The date time at which the conversion occurred. Must be after the call - // time. The timezone must be specified. The format is - // "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - optional string conversion_date_time = 10; - - // The value of the conversion for the advertiser. - optional double conversion_value = 11; - - // Currency associated with the conversion value. This is the ISO 4217 - // 3-character currency code. For example: USD, EUR. - optional string currency_code = 12; - - // The custom variables associated with this conversion. - repeated CustomVariable custom_variables = 13; -} - -// Contains additional information about externally attributed conversions. -message ExternalAttributionData { - // Represents the fraction of the conversion that is attributed to the - // Google Ads click. - optional double external_attribution_credit = 3; - - // Specifies the attribution model name. - optional string external_attribution_model = 4; -} - -// Identifying information for a successfully processed ClickConversion. -message ClickConversionResult { - // The Google Click ID (gclid) associated with this conversion. - optional string gclid = 4; - - // The click identifier for clicks associated with app conversions and - // originating from iOS devices starting with iOS14. - string gbraid = 8; - - // The click identifier for clicks associated with web conversions and - // originating from iOS devices starting with iOS14. - string wbraid = 9; - - // Resource name of the conversion action associated with this conversion. - optional string conversion_action = 5; - - // The date time at which the conversion occurred. The format is - // "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - optional string conversion_date_time = 6; - - // The user identifiers associated with this conversion. Only hashed_email and - // hashed_phone_number are supported for conversion uploads. The maximum - // number of user identifiers for each conversion is 5. - repeated google.ads.googleads.v12.common.UserIdentifier user_identifiers = 7; -} - -// Identifying information for a successfully processed CallConversionUpload. -message CallConversionResult { - // The caller id from which this call was placed. Caller id is expected to be - // in E.164 format with preceding '+' sign. - optional string caller_id = 5; - - // The date time at which the call occurred. The format is - // "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - optional string call_start_date_time = 6; - - // Resource name of the conversion action associated with this conversion. - optional string conversion_action = 7; - - // The date time at which the conversion occurred. The format is - // "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - optional string conversion_date_time = 8; -} - -// A custom variable. -message CustomVariable { - // Resource name of the custom variable associated with this conversion. - // Note: Although this resource name consists of a customer id and a - // conversion custom variable id, validation will ignore the customer id and - // use the conversion custom variable id as the sole identifier of the - // conversion custom variable. - string conversion_custom_variable = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionCustomVariable" - }]; - - // The value string of this custom variable. - // The value of the custom variable should not contain private customer data, - // such as email addresses or phone numbers. - string value = 2; -} - -// Contains additional information about cart data. -message CartData { - // Contains data of the items purchased. - message Item { - // The shopping id of the item. Must be equal to the Merchant Center product - // identifier. - string product_id = 1; - - // Number of items sold. - int32 quantity = 2; - - // Unit price excluding tax, shipping, and any transaction - // level discounts. The currency code is the same as that in the - // ClickConversion message. - double unit_price = 3; - } - - // The Merchant Center ID where the items are uploaded. - int64 merchant_id = 6; - - // The country code associated with the feed where the items are uploaded. - string feed_country_code = 2; - - // The language code associated with the feed where the items are uploaded. - string feed_language_code = 3; - - // Sum of all transaction level discounts, such as free shipping and - // coupon discounts for the whole cart. The currency code is the same - // as that in the ClickConversion message. - double local_transaction_cost = 4; - - // Data of the items purchased. - repeated Item items = 5; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/conversion_value_rule_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/conversion_value_rule_service.proto deleted file mode 100644 index 52780c595..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/conversion_value_rule_service.proto +++ /dev/null @@ -1,128 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/conversion_value_rule.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ConversionValueRuleServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the Conversion Value Rule service. - -// Service to manage conversion value rules. -service ConversionValueRuleService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes conversion value rules. Operation statuses are - // returned. - rpc MutateConversionValueRules(MutateConversionValueRulesRequest) returns (MutateConversionValueRulesResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/conversionValueRules:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [ConversionValueRuleService.MutateConversionValueRules][google.ads.googleads.v12.services.ConversionValueRuleService.MutateConversionValueRules]. -message MutateConversionValueRulesRequest { - // Required. The ID of the customer whose conversion value rules are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual conversion value rules. - repeated ConversionValueRuleOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 5; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4; -} - -// A single operation (create, update, remove) on a conversion value rule. -message ConversionValueRuleOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new conversion - // value rule. - google.ads.googleads.v12.resources.ConversionValueRule create = 1; - - // Update operation: The conversion value rule is expected to have a valid - // resource name. - google.ads.googleads.v12.resources.ConversionValueRule update = 2; - - // Remove operation: A resource name for the removed conversion value rule - // is expected, in this format: - // - // `customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionValueRule" - }]; - } -} - -// Response message for -// [ConversionValueRuleService.MutateConversionValueRules][google.ads.googleads.v12.services.ConversionValueRuleService.MutateConversionValueRules]. -message MutateConversionValueRulesResponse { - // All results for the mutate. - repeated MutateConversionValueRuleResult results = 2; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; -} - -// The result for the conversion value rule mutate. -message MutateConversionValueRuleResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionValueRule" - }]; - - // The mutated conversion value rule with only mutable fields after - // mutate. The field will only be returned when response_content_type is set - // to "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.ConversionValueRule conversion_value_rule = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/conversion_value_rule_set_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/conversion_value_rule_set_service.proto deleted file mode 100644 index 80f61519c..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/conversion_value_rule_set_service.proto +++ /dev/null @@ -1,128 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/conversion_value_rule_set.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ConversionValueRuleSetServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the Conversion Value Rule Set service. - -// Service to manage conversion value rule sets. -service ConversionValueRuleSetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes conversion value rule sets. Operation statuses - // are returned. - rpc MutateConversionValueRuleSets(MutateConversionValueRuleSetsRequest) returns (MutateConversionValueRuleSetsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/conversionValueRuleSets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [ConversionValueRuleSetService.MutateConversionValueRuleSets][google.ads.googleads.v12.services.ConversionValueRuleSetService.MutateConversionValueRuleSets]. -message MutateConversionValueRuleSetsRequest { - // Required. The ID of the customer whose conversion value rule sets are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual conversion value rule sets. - repeated ConversionValueRuleSetOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 5; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4; -} - -// A single operation (create, update, remove) on a conversion value rule set. -message ConversionValueRuleSetOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new conversion - // value rule set. - google.ads.googleads.v12.resources.ConversionValueRuleSet create = 1; - - // Update operation: The conversion value rule set is expected to have a - // valid resource name. - google.ads.googleads.v12.resources.ConversionValueRuleSet update = 2; - - // Remove operation: A resource name for the removed conversion value rule - // set is expected, in this format: - // - // `customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionValueRuleSet" - }]; - } -} - -// Response message for -// [ConversionValueRuleSetService.MutateConversionValueRuleSets][google.ads.googleads.v12.services.ConversionValueRuleSetService.MutateConversionValueRuleSets]. -message MutateConversionValueRuleSetsResponse { - // All results for the mutate. - repeated MutateConversionValueRuleSetResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the conversion value rule set mutate. -message MutateConversionValueRuleSetResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionValueRuleSet" - }]; - - // The mutated conversion value rule set with only mutable fields after - // mutate. The field will only be returned when response_content_type is set - // to "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.ConversionValueRuleSet conversion_value_rule_set = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/custom_audience_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/custom_audience_service.proto deleted file mode 100644 index a062eeaae..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/custom_audience_service.proto +++ /dev/null @@ -1,117 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/custom_audience.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomAudienceServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the Custom Audience service. - -// Service to manage custom audiences. -service CustomAudienceService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates or updates custom audiences. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CustomAudienceError]() - // [CustomInterestError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [OperationAccessDeniedError]() - // [PolicyViolationError]() - // [QuotaError]() - // [RequestError]() - rpc MutateCustomAudiences(MutateCustomAudiencesRequest) returns (MutateCustomAudiencesResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/customAudiences:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [CustomAudienceService.MutateCustomAudiences][google.ads.googleads.v12.services.CustomAudienceService.MutateCustomAudiences]. -message MutateCustomAudiencesRequest { - // Required. The ID of the customer whose custom audiences are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual custom audiences. - repeated CustomAudienceOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; -} - -// A single operation (create, update) on a custom audience. -message CustomAudienceOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new custom - // audience. - google.ads.googleads.v12.resources.CustomAudience create = 1; - - // Update operation: The custom audience is expected to have a valid - // resource name. - google.ads.googleads.v12.resources.CustomAudience update = 2; - - // Remove operation: A resource name for the removed custom audience is - // expected, in this format: - // - // `customers/{customer_id}/customAudiences/{custom_audience_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomAudience" - }]; - } -} - -// Response message for custom audience mutate. -message MutateCustomAudiencesResponse { - // All results for the mutate. - repeated MutateCustomAudienceResult results = 1; -} - -// The result for the custom audience mutate. -message MutateCustomAudienceResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomAudience" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/custom_conversion_goal_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/custom_conversion_goal_service.proto deleted file mode 100644 index 9772b2501..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/custom_conversion_goal_service.proto +++ /dev/null @@ -1,114 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/custom_conversion_goal.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomConversionGoalServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the CustomConversionGoal service. - -// Service to manage custom conversion goal. -service CustomConversionGoalService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes custom conversion goals. Operation statuses - // are returned. - rpc MutateCustomConversionGoals(MutateCustomConversionGoalsRequest) returns (MutateCustomConversionGoalsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/customConversionGoals:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [CustomConversionGoalService.MutateCustomConversionGoals][google.ads.googleads.v12.services.CustomConversionGoalService.MutateCustomConversionGoals]. -message MutateCustomConversionGoalsRequest { - // Required. The ID of the customer whose custom conversion goals are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual custom conversion goal. - repeated CustomConversionGoalOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4; -} - -// A single operation (create, remove) on a custom conversion goal. -message CustomConversionGoalOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new custom - // conversion goal - google.ads.googleads.v12.resources.CustomConversionGoal create = 1; - - // Update operation: The custom conversion goal is expected to have a - // valid resource name. - google.ads.googleads.v12.resources.CustomConversionGoal update = 2; - - // Remove operation: A resource name for the removed custom conversion goal - // is expected, in this format: - // - // 'customers/{customer_id}/conversionActions/{ConversionGoal.custom_goal_config.conversion_type_ids}' - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomConversionGoal" - }]; - } -} - -// Response message for a custom conversion goal mutate. -message MutateCustomConversionGoalsResponse { - // All results for the mutate. - repeated MutateCustomConversionGoalResult results = 1; -} - -// The result for the custom conversion goal mutate. -message MutateCustomConversionGoalResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomConversionGoal" - }]; - - // The mutated CustomConversionGoal with only mutable fields after mutate. - // The field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.CustomConversionGoal custom_conversion_goal = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/custom_interest_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/custom_interest_service.proto deleted file mode 100644 index 686e58ac2..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/custom_interest_service.proto +++ /dev/null @@ -1,107 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/custom_interest.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomInterestServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the Custom Interest service. - -// Service to manage custom interests. -service CustomInterestService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates or updates custom interests. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CriterionError]() - // [CustomInterestError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [PolicyViolationError]() - // [QuotaError]() - // [RequestError]() - // [StringLengthError]() - rpc MutateCustomInterests(MutateCustomInterestsRequest) returns (MutateCustomInterestsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/customInterests:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [CustomInterestService.MutateCustomInterests][google.ads.googleads.v12.services.CustomInterestService.MutateCustomInterests]. -message MutateCustomInterestsRequest { - // Required. The ID of the customer whose custom interests are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual custom interests. - repeated CustomInterestOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, update) on a custom interest. -message CustomInterestOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new custom - // interest. - google.ads.googleads.v12.resources.CustomInterest create = 1; - - // Update operation: The custom interest is expected to have a valid - // resource name. - google.ads.googleads.v12.resources.CustomInterest update = 2; - } -} - -// Response message for custom interest mutate. -message MutateCustomInterestsResponse { - // All results for the mutate. - repeated MutateCustomInterestResult results = 2; -} - -// The result for the custom interest mutate. -message MutateCustomInterestResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomInterest" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/customer_asset_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/customer_asset_service.proto deleted file mode 100644 index c00bf60d3..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/customer_asset_service.proto +++ /dev/null @@ -1,137 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/customer_asset.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerAssetServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the CustomerAsset service. - -// Service to manage customer assets. -service CustomerAssetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes customer assets. Operation statuses are - // returned. - // - // List of thrown errors: - // [AssetLinkError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - rpc MutateCustomerAssets(MutateCustomerAssetsRequest) returns (MutateCustomerAssetsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/customerAssets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [CustomerAssetService.MutateCustomerAssets][google.ads.googleads.v12.services.CustomerAssetService.MutateCustomerAssets]. -message MutateCustomerAssetsRequest { - // Required. The ID of the customer whose customer assets are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual customer assets. - repeated CustomerAssetOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, update, remove) on a customer asset. -message CustomerAssetOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new customer - // asset. - google.ads.googleads.v12.resources.CustomerAsset create = 1; - - // Update operation: The customer asset is expected to have a valid resource - // name. - google.ads.googleads.v12.resources.CustomerAsset update = 3; - - // Remove operation: A resource name for the removed customer asset is - // expected, in this format: - // - // `customers/{customer_id}/customerAssets/{asset_id}~{field_type}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerAsset" - }]; - } -} - -// Response message for a customer asset mutate. -message MutateCustomerAssetsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 1; - - // All results for the mutate. - repeated MutateCustomerAssetResult results = 2; -} - -// The result for the customer asset mutate. -message MutateCustomerAssetResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerAsset" - }]; - - // The mutated customer asset with only mutable fields after - // mutate. The field will only be returned when response_content_type is set - // to "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.CustomerAsset customer_asset = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/customer_asset_set_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/customer_asset_set_service.proto deleted file mode 100644 index 8afb43f0c..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/customer_asset_set_service.proto +++ /dev/null @@ -1,117 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/customer_asset_set.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerAssetSetServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the CustomerAssetSet service. - -// Service to manage customer asset set -service CustomerAssetSetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, or removes customer asset sets. Operation statuses are - // returned. - rpc MutateCustomerAssetSets(MutateCustomerAssetSetsRequest) returns (MutateCustomerAssetSetsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/customerAssetSets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [CustomerAssetSetService.MutateCustomerAssetSets][google.ads.googleads.v12.services.CustomerAssetSetService.MutateCustomerAssetSets]. -message MutateCustomerAssetSetsRequest { - // Required. The ID of the customer whose customer asset sets are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual customer asset sets. - repeated CustomerAssetSetOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, remove) on a customer asset set. -message CustomerAssetSetOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new customer asset - // set. - google.ads.googleads.v12.resources.CustomerAssetSet create = 1; - - // Remove operation: A resource name for the removed customer asset set is - // expected, in this format: - // `customers/{customer_id}/customerAssetSets/{asset_set_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerAssetSet" - }]; - } -} - -// Response message for a customer asset set mutate. -message MutateCustomerAssetSetsResponse { - // All results for the mutate. - repeated MutateCustomerAssetSetResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (e.g. auth errors), - // we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the customer asset set mutate. -message MutateCustomerAssetSetResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerAssetSet" - }]; - - // The mutated customer asset set with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.CustomerAssetSet customer_asset_set = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/customer_client_link_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/customer_client_link_service.proto deleted file mode 100644 index 1eac2d10d..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/customer_client_link_service.proto +++ /dev/null @@ -1,104 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/customer_client_link.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerClientLinkServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Service to manage customer client links. -service CustomerClientLinkService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates or updates a customer client link. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [InternalError]() - // [ManagerLinkError]() - // [MutateError]() - // [NewResourceCreationError]() - // [QuotaError]() - // [RequestError]() - rpc MutateCustomerClientLink(MutateCustomerClientLinkRequest) returns (MutateCustomerClientLinkResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/customerClientLinks:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operation"; - } -} - -// Request message for [CustomerClientLinkService.MutateCustomerClientLink][google.ads.googleads.v12.services.CustomerClientLinkService.MutateCustomerClientLink]. -message MutateCustomerClientLinkRequest { - // Required. The ID of the customer whose customer link are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The operation to perform on the individual CustomerClientLink. - CustomerClientLinkOperation operation = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; -} - -// A single operation (create, update) on a CustomerClientLink. -message CustomerClientLinkOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new link. - google.ads.googleads.v12.resources.CustomerClientLink create = 1; - - // Update operation: The link is expected to have a valid resource name. - google.ads.googleads.v12.resources.CustomerClientLink update = 2; - } -} - -// Response message for a CustomerClientLink mutate. -message MutateCustomerClientLinkResponse { - // A result that identifies the resource affected by the mutate request. - MutateCustomerClientLinkResult result = 1; -} - -// The result for a single customer client link mutate. -message MutateCustomerClientLinkResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerClientLink" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/customer_conversion_goal_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/customer_conversion_goal_service.proto deleted file mode 100644 index 790085ab4..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/customer_conversion_goal_service.proto +++ /dev/null @@ -1,92 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/customer_conversion_goal.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerConversionGoalServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the CustomerConversionGoal service. - -// Service to manage customer conversion goal. -service CustomerConversionGoalService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes customer conversion goals. Operation statuses - // are returned. - rpc MutateCustomerConversionGoals(MutateCustomerConversionGoalsRequest) returns (MutateCustomerConversionGoalsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/customerConversionGoals:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [CustomerConversionGoalService.MutateCustomerConversionGoals][google.ads.googleads.v12.services.CustomerConversionGoalService.MutateCustomerConversionGoals]. -message MutateCustomerConversionGoalsRequest { - // Required. The ID of the customer whose customer conversion goals are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual customer conversion goal. - repeated CustomerConversionGoalOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; -} - -// A single operation (update) on a customer conversion goal. -message CustomerConversionGoalOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 2; - - // The mutate operation. - oneof operation { - // Update operation: The customer conversion goal is expected to have a - // valid resource name. - google.ads.googleads.v12.resources.CustomerConversionGoal update = 1; - } -} - -// Response message for a customer conversion goal mutate. -message MutateCustomerConversionGoalsResponse { - // All results for the mutate. - repeated MutateCustomerConversionGoalResult results = 1; -} - -// The result for the customer conversion goal mutate. -message MutateCustomerConversionGoalResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerConversionGoal" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/customer_customizer_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/customer_customizer_service.proto deleted file mode 100644 index f1b3eb200..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/customer_customizer_service.proto +++ /dev/null @@ -1,118 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/customer_customizer.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerCustomizerServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the CustomerCustomizer service. - -// Service to manage customer customizer -service CustomerCustomizerService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes customer customizers. Operation statuses are - // returned. - rpc MutateCustomerCustomizers(MutateCustomerCustomizersRequest) returns (MutateCustomerCustomizersResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/CustomerCustomizers:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [CustomerCustomizerService.MutateCustomerCustomizers][google.ads.googleads.v12.services.CustomerCustomizerService.MutateCustomerCustomizers]. -message MutateCustomerCustomizersRequest { - // Required. The ID of the customer whose customer customizers are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual customer customizers. - repeated CustomerCustomizerOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, remove) on an customizer attribute. -message CustomerCustomizerOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new customer - // customizer - google.ads.googleads.v12.resources.CustomerCustomizer create = 1; - - // Remove operation: A resource name for the removed customer customizer is - // expected, in this format: - // `customers/{customer_id}/customerCustomizers/{customizer_attribute_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerCustomizer" - }]; - } -} - -// Response message for an customizer attribute mutate. -message MutateCustomerCustomizersResponse { - // All results for the mutate. - repeated MutateCustomerCustomizerResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the customizer attribute mutate. -message MutateCustomerCustomizerResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerCustomizer" - }]; - - // The mutated CustomerCustomizer with only mutable fields after mutate. - // The field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.CustomerCustomizer customer_customizer = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/customer_extension_setting_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/customer_extension_setting_service.proto deleted file mode 100644 index 3345b82b4..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/customer_extension_setting_service.proto +++ /dev/null @@ -1,156 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/customer_extension_setting.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerExtensionSettingServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the CustomerExtensionSetting service. - -// Service to manage customer extension settings. -service CustomerExtensionSettingService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes customer extension settings. Operation - // statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [CriterionError]() - // [DatabaseError]() - // [DateError]() - // [DistinctError]() - // [ExtensionSettingError]() - // [FieldError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [ListOperationError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [NullError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - // [UrlFieldError]() - rpc MutateCustomerExtensionSettings(MutateCustomerExtensionSettingsRequest) returns (MutateCustomerExtensionSettingsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/customerExtensionSettings:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [CustomerExtensionSettingService.MutateCustomerExtensionSettings][google.ads.googleads.v12.services.CustomerExtensionSettingService.MutateCustomerExtensionSettings]. -message MutateCustomerExtensionSettingsRequest { - // Required. The ID of the customer whose customer extension settings are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual customer extension - // settings. - repeated CustomerExtensionSettingOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, update, remove) on a customer extension setting. -message CustomerExtensionSettingOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new customer - // extension setting. - google.ads.googleads.v12.resources.CustomerExtensionSetting create = 1; - - // Update operation: The customer extension setting is expected to have a - // valid resource name. - google.ads.googleads.v12.resources.CustomerExtensionSetting update = 2; - - // Remove operation: A resource name for the removed customer extension - // setting is expected, in this format: - // - // `customers/{customer_id}/customerExtensionSettings/{extension_type}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerExtensionSetting" - }]; - } -} - -// Response message for a customer extension setting mutate. -message MutateCustomerExtensionSettingsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateCustomerExtensionSettingResult results = 2; -} - -// The result for the customer extension setting mutate. -message MutateCustomerExtensionSettingResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerExtensionSetting" - }]; - - // The mutated CustomerExtensionSetting with only mutable fields after mutate. - // The field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.CustomerExtensionSetting customer_extension_setting = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/customer_feed_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/customer_feed_service.proto deleted file mode 100644 index 7160157d9..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/customer_feed_service.proto +++ /dev/null @@ -1,149 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/customer_feed.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerFeedServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the CustomerFeed service. - -// Service to manage customer feeds. -service CustomerFeedService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes customer feeds. Operation statuses are - // returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [CustomerFeedError]() - // [DatabaseError]() - // [DistinctError]() - // [FieldError]() - // [FieldMaskError]() - // [FunctionError]() - // [FunctionParsingError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [MutateError]() - // [NotEmptyError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - rpc MutateCustomerFeeds(MutateCustomerFeedsRequest) returns (MutateCustomerFeedsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/customerFeeds:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [CustomerFeedService.MutateCustomerFeeds][google.ads.googleads.v12.services.CustomerFeedService.MutateCustomerFeeds]. -message MutateCustomerFeedsRequest { - // Required. The ID of the customer whose customer feeds are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual customer feeds. - repeated CustomerFeedOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, update, remove) on a customer feed. -message CustomerFeedOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new customer feed. - google.ads.googleads.v12.resources.CustomerFeed create = 1; - - // Update operation: The customer feed is expected to have a valid resource - // name. - google.ads.googleads.v12.resources.CustomerFeed update = 2; - - // Remove operation: A resource name for the removed customer feed is - // expected, in this format: - // - // `customers/{customer_id}/customerFeeds/{feed_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerFeed" - }]; - } -} - -// Response message for a customer feed mutate. -message MutateCustomerFeedsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateCustomerFeedResult results = 2; -} - -// The result for the customer feed mutate. -message MutateCustomerFeedResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerFeed" - }]; - - // The mutated customer feed with only mutable fields after mutate. The field - // will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.CustomerFeed customer_feed = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/customer_label_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/customer_label_service.proto deleted file mode 100644 index 1fb87f008..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/customer_label_service.proto +++ /dev/null @@ -1,119 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/customer_label.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerLabelServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the Customer Label service. - -// Service to manage labels on customers. -service CustomerLabelService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates and removes customer-label relationships. - // Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [HeaderError]() - // [InternalError]() - // [LabelError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - rpc MutateCustomerLabels(MutateCustomerLabelsRequest) returns (MutateCustomerLabelsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/customerLabels:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [CustomerLabelService.MutateCustomerLabels][google.ads.googleads.v12.services.CustomerLabelService.MutateCustomerLabels]. -message MutateCustomerLabelsRequest { - // Required. ID of the customer whose customer-label relationships are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on customer-label relationships. - repeated CustomerLabelOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, remove) on a customer-label relationship. -message CustomerLabelOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new customer-label - // relationship. - google.ads.googleads.v12.resources.CustomerLabel create = 1; - - // Remove operation: A resource name for the customer-label relationship - // being removed, in this format: - // - // `customers/{customer_id}/customerLabels/{label_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerLabel" - }]; - } -} - -// Response message for a customer labels mutate. -message MutateCustomerLabelsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateCustomerLabelResult results = 2; -} - -// The result for a customer label mutate. -message MutateCustomerLabelResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerLabel" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/customer_manager_link_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/customer_manager_link_service.proto deleted file mode 100644 index f9481dddc..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/customer_manager_link_service.proto +++ /dev/null @@ -1,157 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/customer_manager_link.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerManagerLinkServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Service to manage customer-manager links. -service CustomerManagerLinkService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Updates customer manager links. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [InternalError]() - // [ManagerLinkError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - rpc MutateCustomerManagerLink(MutateCustomerManagerLinkRequest) returns (MutateCustomerManagerLinkResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/customerManagerLinks:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } - - // Moves a client customer to a new manager customer. - // This simplifies the complex request that requires two operations to move - // a client customer to a new manager, for example: - // 1. Update operation with Status INACTIVE (previous manager) and, - // 2. Update operation with Status ACTIVE (new manager). - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - rpc MoveManagerLink(MoveManagerLinkRequest) returns (MoveManagerLinkResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/customerManagerLinks:moveManagerLink" - body: "*" - }; - option (google.api.method_signature) = "customer_id,previous_customer_manager_link,new_manager"; - } -} - -// Request message for [CustomerManagerLinkService.MutateCustomerManagerLink][google.ads.googleads.v12.services.CustomerManagerLinkService.MutateCustomerManagerLink]. -message MutateCustomerManagerLinkRequest { - // Required. The ID of the customer whose customer manager links are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual customer manager links. - repeated CustomerManagerLinkOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; -} - -// Request message for [CustomerManagerLinkService.MoveManagerLink][google.ads.googleads.v12.services.CustomerManagerLinkService.MoveManagerLink]. -message MoveManagerLinkRequest { - // Required. The ID of the client customer that is being moved. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The resource name of the previous CustomerManagerLink. - // The resource name has the form: - // `customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}` - string previous_customer_manager_link = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. The resource name of the new manager customer that the client wants to move - // to. Customer resource names have the format: "customers/{customer_id}" - string new_manager = 3 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// Updates the status of a CustomerManagerLink. -// The following actions are possible: -// 1. Update operation with status ACTIVE accepts a pending invitation. -// 2. Update operation with status REFUSED declines a pending invitation. -// 3. Update operation with status INACTIVE terminates link to manager. -message CustomerManagerLinkOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Update operation: The link is expected to have a valid resource name. - google.ads.googleads.v12.resources.CustomerManagerLink update = 2; - } -} - -// Response message for a CustomerManagerLink mutate. -message MutateCustomerManagerLinkResponse { - // A result that identifies the resource affected by the mutate request. - repeated MutateCustomerManagerLinkResult results = 1; -} - -// Response message for a CustomerManagerLink moveManagerLink. -message MoveManagerLinkResponse { - // Returned for successful operations. Represents a CustomerManagerLink - // resource of the newly created link between client customer and new manager - // customer. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerManagerLink" - }]; -} - -// The result for the customer manager link mutate. -message MutateCustomerManagerLinkResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerManagerLink" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/customer_negative_criterion_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/customer_negative_criterion_service.proto deleted file mode 100644 index 2261e442b..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/customer_negative_criterion_service.proto +++ /dev/null @@ -1,128 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/customer_negative_criterion.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerNegativeCriterionServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the Customer Negative Criterion service. - -// Service to manage customer negative criteria. -service CustomerNegativeCriterionService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates or removes criteria. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CriterionError]() - // [DatabaseError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - rpc MutateCustomerNegativeCriteria(MutateCustomerNegativeCriteriaRequest) returns (MutateCustomerNegativeCriteriaResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/customerNegativeCriteria:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [CustomerNegativeCriterionService.MutateCustomerNegativeCriteria][google.ads.googleads.v12.services.CustomerNegativeCriterionService.MutateCustomerNegativeCriteria]. -message MutateCustomerNegativeCriteriaRequest { - // Required. The ID of the customer whose criteria are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual criteria. - repeated CustomerNegativeCriterionOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create or remove) on a customer level negative criterion. -message CustomerNegativeCriterionOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new criterion. - google.ads.googleads.v12.resources.CustomerNegativeCriterion create = 1; - - // Remove operation: A resource name for the removed criterion is expected, - // in this format: - // - // `customers/{customer_id}/customerNegativeCriteria/{criterion_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerNegativeCriterion" - }]; - } -} - -// Response message for customer negative criterion mutate. -message MutateCustomerNegativeCriteriaResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateCustomerNegativeCriteriaResult results = 2; -} - -// The result for the criterion mutate. -message MutateCustomerNegativeCriteriaResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerNegativeCriterion" - }]; - - // The mutated criterion with only mutable fields after mutate. The field will - // only be returned when response_content_type is set to "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.CustomerNegativeCriterion customer_negative_criterion = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/customer_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/customer_service.proto deleted file mode 100644 index 2d3bbbc47..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/customer_service.proto +++ /dev/null @@ -1,192 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/access_role.proto"; -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/customer.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the Customer service. - -// Service to manage customers. -service CustomerService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Updates a customer. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldMaskError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - // [UrlFieldError]() - rpc MutateCustomer(MutateCustomerRequest) returns (MutateCustomerResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operation"; - } - - // Returns resource names of customers directly accessible by the - // user authenticating the call. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc ListAccessibleCustomers(ListAccessibleCustomersRequest) returns (ListAccessibleCustomersResponse) { - option (google.api.http) = { - get: "/v12/customers:listAccessibleCustomers" - }; - } - - // Creates a new client under manager. The new client customer is returned. - // - // List of thrown errors: - // [AccessInvitationError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [CurrencyCodeError]() - // [HeaderError]() - // [InternalError]() - // [ManagerLinkError]() - // [QuotaError]() - // [RequestError]() - // [StringLengthError]() - // [TimeZoneError]() - rpc CreateCustomerClient(CreateCustomerClientRequest) returns (CreateCustomerClientResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}:createCustomerClient" - body: "*" - }; - option (google.api.method_signature) = "customer_id,customer_client"; - } -} - -// Request message for [CustomerService.MutateCustomer][google.ads.googleads.v12.services.CustomerService.MutateCustomer]. -message MutateCustomerRequest { - // Required. The ID of the customer being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The operation to perform on the customer - CustomerOperation operation = 4 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 5; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 6; -} - -// Request message for [CustomerService.CreateCustomerClient][google.ads.googleads.v12.services.CustomerService.CreateCustomerClient]. -message CreateCustomerClientRequest { - // Required. The ID of the Manager under whom client customer is being created. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The new client customer to create. The resource name on this customer - // will be ignored. - google.ads.googleads.v12.resources.Customer customer_client = 2 [(google.api.field_behavior) = REQUIRED]; - - // Email address of the user who should be invited on the created client - // customer. Accessible only to customers on the allow-list. - optional string email_address = 5; - - // The proposed role of user on the created client customer. - // Accessible only to customers on the allow-list. - google.ads.googleads.v12.enums.AccessRoleEnum.AccessRole access_role = 4; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 6; -} - -// A single update on a customer. -message CustomerOperation { - // Mutate operation. Only updates are supported for customer. - google.ads.googleads.v12.resources.Customer update = 1; - - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 2; -} - -// Response message for CreateCustomerClient mutate. -message CreateCustomerClientResponse { - // The resource name of the newly created customer. Customer resource names - // have the form: `customers/{customer_id}`. - string resource_name = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Customer" - }]; - - // Link for inviting user to access the created customer. Accessible to - // allowlisted customers only. - string invitation_link = 3; -} - -// Response message for customer mutate. -message MutateCustomerResponse { - // Result for the mutate. - MutateCustomerResult result = 2; -} - -// The result for the customer mutate. -message MutateCustomerResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Customer" - }]; - - // The mutated customer with only mutable fields after mutate. The fields will - // only be returned when response_content_type is set to "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.Customer customer = 2; -} - -// Request message for [CustomerService.ListAccessibleCustomers][google.ads.googleads.v12.services.CustomerService.ListAccessibleCustomers]. -message ListAccessibleCustomersRequest { - -} - -// Response message for [CustomerService.ListAccessibleCustomers][google.ads.googleads.v12.services.CustomerService.ListAccessibleCustomers]. -message ListAccessibleCustomersResponse { - // Resource name of customers directly accessible by the - // user authenticating the call. - repeated string resource_names = 1; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/customer_user_access_invitation_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/customer_user_access_invitation_service.proto deleted file mode 100644 index 9e0e96c72..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/customer_user_access_invitation_service.proto +++ /dev/null @@ -1,101 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/customer_user_access_invitation.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerUserAccessInvitationServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the CustomerUserAccessInvitation service. - -// This service manages the access invitation extended to users for a given -// customer. -service CustomerUserAccessInvitationService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates or removes an access invitation. - // - // List of thrown errors: - // [AccessInvitationError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc MutateCustomerUserAccessInvitation(MutateCustomerUserAccessInvitationRequest) returns (MutateCustomerUserAccessInvitationResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/customerUserAccessInvitations:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operation"; - } -} - -// Request message for -// [CustomerUserAccessInvitation.MutateCustomerUserAccessInvitation][] -message MutateCustomerUserAccessInvitationRequest { - // Required. The ID of the customer whose access invitation is being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The operation to perform on the access invitation - CustomerUserAccessInvitationOperation operation = 2 [(google.api.field_behavior) = REQUIRED]; -} - -// A single operation (create or remove) on customer user access invitation. -message CustomerUserAccessInvitationOperation { - // The mutate operation - oneof operation { - // Create operation: No resource name is expected for the new access - // invitation. - google.ads.googleads.v12.resources.CustomerUserAccessInvitation create = 1; - - // Remove operation: A resource name for the revoke invitation is - // expected, in this format: - // - // `customers/{customer_id}/customerUserAccessInvitations/{invitation_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerUserAccessInvitation" - }]; - } -} - -// Response message for access invitation mutate. -message MutateCustomerUserAccessInvitationResponse { - // Result for the mutate. - MutateCustomerUserAccessInvitationResult result = 1; -} - -// The result for the access invitation mutate. -message MutateCustomerUserAccessInvitationResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerUserAccessInvitation" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/customer_user_access_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/customer_user_access_service.proto deleted file mode 100644 index 637787fe0..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/customer_user_access_service.proto +++ /dev/null @@ -1,105 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/customer_user_access.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerUserAccessServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// This service manages the permissions of a user on a given customer. -service CustomerUserAccessService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Updates, removes permission of a user on a given customer. Operation - // statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CustomerUserAccessError]() - // [FieldMaskError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - rpc MutateCustomerUserAccess(MutateCustomerUserAccessRequest) returns (MutateCustomerUserAccessResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/customerUserAccesses:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operation"; - } -} - -// Mutate Request for -// [CustomerUserAccessService.MutateCustomerUserAccess][google.ads.googleads.v12.services.CustomerUserAccessService.MutateCustomerUserAccess]. -message MutateCustomerUserAccessRequest { - // Required. The ID of the customer being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The operation to perform on the customer - CustomerUserAccessOperation operation = 2 [(google.api.field_behavior) = REQUIRED]; -} - -// A single operation (update, remove) on customer user access. -message CustomerUserAccessOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 3; - - // The mutate operation. - oneof operation { - // Update operation: The customer user access is expected to have a valid - // resource name. - google.ads.googleads.v12.resources.CustomerUserAccess update = 1; - - // Remove operation: A resource name for the removed access is - // expected, in this format: - // - // `customers/{customer_id}/customerUserAccesses/{CustomerUserAccess.user_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerUserAccess" - }]; - } -} - -// Response message for customer user access mutate. -message MutateCustomerUserAccessResponse { - // Result for the mutate. - MutateCustomerUserAccessResult result = 1; -} - -// The result for the customer user access mutate. -message MutateCustomerUserAccessResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerUserAccess" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/customizer_attribute_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/customizer_attribute_service.proto deleted file mode 100644 index 8f30e993d..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/customizer_attribute_service.proto +++ /dev/null @@ -1,122 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/customizer_attribute.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomizerAttributeServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the CustomizerAttribute service. - -// Service to manage customizer attribute -service CustomizerAttributeService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes customizer attributes. Operation statuses are - // returned. - rpc MutateCustomizerAttributes(MutateCustomizerAttributesRequest) returns (MutateCustomizerAttributesResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/customizerAttributes:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [CustomizerAttributeService.MutateCustomizerAttributes][google.ads.googleads.v12.services.CustomizerAttributeService.MutateCustomizerAttributes]. -message MutateCustomizerAttributesRequest { - // Required. The ID of the customer whose customizer attributes are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual customizer attributes. - repeated CustomizerAttributeOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, remove) on an customizer attribute. -message CustomizerAttributeOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new customizer - // attribute - google.ads.googleads.v12.resources.CustomizerAttribute create = 1; - - // Remove operation: A resource name for the removed customizer attribute is - // expected, in this format: - // `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomizerAttribute" - }]; - } -} - -// Response message for an customizer attribute mutate. -message MutateCustomizerAttributesResponse { - // All results for the mutate. - repeated MutateCustomizerAttributeResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the customizer attribute mutate. -message MutateCustomizerAttributeResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomizerAttribute" - }]; - - // The mutated CustomizerAttribute with only mutable fields after mutate. - // The field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.CustomizerAttribute customizer_attribute = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/experiment_arm_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/experiment_arm_service.proto deleted file mode 100644 index 7fd0b4b67..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/experiment_arm_service.proto +++ /dev/null @@ -1,134 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/experiment_arm.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ExperimentArmServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the Experiment Arm service. - -// Service to manage experiment arms. -service ExperimentArmService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes experiment arms. Operation statuses are - // returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [ExperimentArmError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc MutateExperimentArms(MutateExperimentArmsRequest) returns (MutateExperimentArmsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/experimentArms:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [ExperimentArmService.MutateExperimentArms][google.ads.googleads.v12.services.ExperimentArmService.MutateExperimentArms]. -message MutateExperimentArmsRequest { - // Required. The ID of the customer whose experiments are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual experiment arm. - repeated ExperimentArmOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation on an experiment arm. -message ExperimentArmOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation - google.ads.googleads.v12.resources.ExperimentArm create = 1; - - // Update operation: The experiment arm is expected to have a valid - // resource name. - google.ads.googleads.v12.resources.ExperimentArm update = 2; - - // Remove operation: The experiment arm is expected to have a valid - // resource name, in this format: - // - // `customers/{customer_id}/experiments/{campaign_experiment_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ExperimentArm" - }]; - } -} - -// Response message for experiment arm mutate. -message MutateExperimentArmsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 1; - - // All results for the mutate. - repeated MutateExperimentArmResult results = 2; -} - -// The result for the experiment arm mutate. -message MutateExperimentArmResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ExperimentArm" - }]; - - // The mutated experiment arm with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.ExperimentArm experiment_arm = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/experiment_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/experiment_service.proto deleted file mode 100644 index d68ab0001..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/experiment_service.proto +++ /dev/null @@ -1,390 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/experiment.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/longrunning/operations.proto"; -import "google/protobuf/empty.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ExperimentServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the Experiment service. - -// Service to manage experiments. -service ExperimentService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes experiments. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [ExperimentError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc MutateExperiments(MutateExperimentsRequest) returns (MutateExperimentsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/experiments:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } - - // Immediately ends an experiment, changing the experiment's scheduled - // end date and without waiting for end of day. End date is updated to be the - // time of the request. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [ExperimentError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc EndExperiment(EndExperimentRequest) returns (google.protobuf.Empty) { - option (google.api.http) = { - post: "/v12/{experiment=customers/*/experiments/*}:endExperiment" - body: "*" - }; - option (google.api.method_signature) = "experiment"; - } - - // Returns all errors that occurred during the last Experiment update (either - // scheduling or promotion). - // Supports standard list paging. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc ListExperimentAsyncErrors(ListExperimentAsyncErrorsRequest) returns (ListExperimentAsyncErrorsResponse) { - option (google.api.http) = { - get: "/v12/{resource_name=customers/*/experiments/*}:listExperimentAsyncErrors" - }; - option (google.api.method_signature) = "resource_name"; - } - - // Graduates an experiment to a full campaign. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [ExperimentError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - rpc GraduateExperiment(GraduateExperimentRequest) returns (google.protobuf.Empty) { - option (google.api.http) = { - post: "/v12/{experiment=customers/*/experiments/*}:graduateExperiment" - body: "*" - }; - option (google.api.method_signature) = "experiment,campaign_budget_mappings"; - } - - // Schedule an experiment. The in design campaign - // will be converted into a real campaign (called the experiment campaign) - // that will begin serving ads if successfully created. - // - // The experiment is scheduled immediately with status INITIALIZING. - // This method returns a long running operation that tracks the forking of the - // in design campaign. If the forking fails, a list of errors can be retrieved - // using the ListExperimentAsyncErrors method. The operation's - // metadata will be a string containing the resource name of the created - // experiment. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [ExperimentError]() - // [DatabaseError]() - // [DateError]() - // [DateRangeError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - rpc ScheduleExperiment(ScheduleExperimentRequest) returns (google.longrunning.Operation) { - option (google.api.http) = { - post: "/v12/{resource_name=customers/*/experiments/*}:scheduleExperiment" - body: "*" - }; - option (google.api.method_signature) = "resource_name"; - option (google.longrunning.operation_info) = { - response_type: "google.protobuf.Empty" - metadata_type: "google.ads.googleads.v12.services.ScheduleExperimentMetadata" - }; - } - - // Promotes the trial campaign thus applying changes in the trial campaign - // to the base campaign. - // This method returns a long running operation that tracks the promotion of - // the experiment campaign. If it fails, a list of errors can be retrieved - // using the ListExperimentAsyncErrors method. The operation's - // metadata will be a string containing the resource name of the created - // experiment. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [ExperimentError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc PromoteExperiment(PromoteExperimentRequest) returns (google.longrunning.Operation) { - option (google.api.http) = { - post: "/v12/{resource_name=customers/*/experiments/*}:promoteExperiment" - body: "*" - }; - option (google.api.method_signature) = "resource_name"; - option (google.longrunning.operation_info) = { - response_type: "google.protobuf.Empty" - metadata_type: "google.ads.googleads.v12.services.PromoteExperimentMetadata" - }; - } -} - -// Request message for [ExperimentService.MutateExperiments][google.ads.googleads.v12.services.ExperimentService.MutateExperiments]. -message MutateExperimentsRequest { - // Required. The ID of the customer whose experiments are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual experiments. - repeated ExperimentOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation on an experiment. -message ExperimentOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation - google.ads.googleads.v12.resources.Experiment create = 1; - - // Update operation: The experiment is expected to have a valid - // resource name. - google.ads.googleads.v12.resources.Experiment update = 2; - - // Remove operation: The experiment is expected to have a valid - // resource name, in this format: - // - // `customers/{customer_id}/experiments/{campaign_experiment_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Experiment" - }]; - } -} - -// Response message for experiment mutate. -message MutateExperimentsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 1; - - // All results for the mutate. - repeated MutateExperimentResult results = 2; -} - -// The result for the campaign experiment mutate. -message MutateExperimentResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Experiment" - }]; -} - -// Request message for [ExperimentService.EndExperiment][google.ads.googleads.v12.services.ExperimentService.EndExperiment]. -message EndExperimentRequest { - // Required. The resource name of the campaign experiment to end. - string experiment = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Experiment" - } - ]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 2; -} - -// Request message for -// [ExperimentService.ListExperimentAsyncErrors][google.ads.googleads.v12.services.ExperimentService.ListExperimentAsyncErrors]. -message ListExperimentAsyncErrorsRequest { - // Required. The name of the experiment from which to retrieve the async - // errors. - string resource_name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Experiment" - } - ]; - - // Token of the page to retrieve. If not specified, the first - // page of results will be returned. Use the value obtained from - // `next_page_token` in the previous response in order to request - // the next page of results. - string page_token = 2; - - // Number of elements to retrieve in a single page. - // When a page request is too large, the server may decide to - // further limit the number of returned resources. - // The maximum page size is 1000. - int32 page_size = 3; -} - -// Response message for -// [ExperimentService.ListExperimentAsyncErrors][google.ads.googleads.v12.services.ExperimentService.ListExperimentAsyncErrors]. -message ListExperimentAsyncErrorsResponse { - // details of the errors when performing the asynchronous operation. - repeated google.rpc.Status errors = 1; - - // Pagination token used to retrieve the next page of results. - // Pass the content of this string as the `page_token` attribute of - // the next request. `next_page_token` is not returned for the last - // page. - string next_page_token = 2; -} - -// Request message for [ExperimentService.GraduateExperiment][google.ads.googleads.v12.services.ExperimentService.GraduateExperiment]. -message GraduateExperimentRequest { - // Required. The experiment to be graduated. - string experiment = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Experiment" - } - ]; - - // Required. List of campaign budget mappings for graduation. Each campaign that - // appears here will graduate, and will be assigned a new budget that is - // paired with it in the mapping. The maximum size is one. - repeated CampaignBudgetMapping campaign_budget_mappings = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; -} - -// The mapping of experiment campaign and budget to be graduated. -message CampaignBudgetMapping { - // Required. The experiment campaign to graduate. - string experiment_campaign = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Required. The budget that should be attached to the graduating experiment campaign. - string campaign_budget = 2 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignBudget" - } - ]; -} - -// Request message for [ExperimentService.ScheduleExperiment][google.ads.googleads.v12.services.ExperimentService.ScheduleExperiment]. -message ScheduleExperimentRequest { - // Required. The scheduled experiment. - string resource_name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Experiment" - } - ]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 2; -} - -// The metadata of the scheduled experiment. -message ScheduleExperimentMetadata { - // Required. The scheduled experiment. - string experiment = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Experiment" - } - ]; -} - -// Request message for [ExperimentService.PromoteExperiment][google.ads.googleads.v12.services.ExperimentService.PromoteExperiment]. -message PromoteExperimentRequest { - // Required. The resource name of the experiment to promote. - string resource_name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Experiment" - } - ]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 2; -} - -// The metadata of the promoted experiment. -message PromoteExperimentMetadata { - // Required. The promoted experiment. - string experiment = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Experiment" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/extension_feed_item_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/extension_feed_item_service.proto deleted file mode 100644 index 8bb8b73c3..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/extension_feed_item_service.proto +++ /dev/null @@ -1,152 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/extension_feed_item.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ExtensionFeedItemServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the ExtensionFeedItem service. - -// Service to manage extension feed items. -service ExtensionFeedItemService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes extension feed items. Operation - // statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [CountryCodeError]() - // [DatabaseError]() - // [DateError]() - // [DistinctError]() - // [ExtensionFeedItemError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [ImageError]() - // [InternalError]() - // [LanguageCodeError]() - // [MutateError]() - // [NewResourceCreationError]() - // [OperationAccessDeniedError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [SizeLimitError]() - // [StringLengthError]() - // [UrlFieldError]() - rpc MutateExtensionFeedItems(MutateExtensionFeedItemsRequest) returns (MutateExtensionFeedItemsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/extensionFeedItems:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [ExtensionFeedItemService.MutateExtensionFeedItems][google.ads.googleads.v12.services.ExtensionFeedItemService.MutateExtensionFeedItems]. -message MutateExtensionFeedItemsRequest { - // Required. The ID of the customer whose extension feed items are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual extension feed items. - repeated ExtensionFeedItemOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, update, remove) on an extension feed item. -message ExtensionFeedItemOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new extension - // feed item. - google.ads.googleads.v12.resources.ExtensionFeedItem create = 1; - - // Update operation: The extension feed item is expected to have a - // valid resource name. - google.ads.googleads.v12.resources.ExtensionFeedItem update = 2; - - // Remove operation: A resource name for the removed extension feed item - // is expected, in this format: - // - // `customers/{customer_id}/extensionFeedItems/{feed_item_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ExtensionFeedItem" - }]; - } -} - -// Response message for an extension feed item mutate. -message MutateExtensionFeedItemsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateExtensionFeedItemResult results = 2; -} - -// The result for the extension feed item mutate. -message MutateExtensionFeedItemResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ExtensionFeedItem" - }]; - - // The mutated extension feed item with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.ExtensionFeedItem extension_feed_item = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/feed_item_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/feed_item_service.proto deleted file mode 100644 index 495205210..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/feed_item_service.proto +++ /dev/null @@ -1,151 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/feed_item.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the FeedItem service. - -// Service to manage feed items. -service FeedItemService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes feed items. Operation statuses are - // returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [CriterionError]() - // [DatabaseError]() - // [DateError]() - // [DistinctError]() - // [FeedItemError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [ListOperationError]() - // [MutateError]() - // [NotEmptyError]() - // [NullError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - // [UrlFieldError]() - rpc MutateFeedItems(MutateFeedItemsRequest) returns (MutateFeedItemsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/feedItems:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [FeedItemService.MutateFeedItems][google.ads.googleads.v12.services.FeedItemService.MutateFeedItems]. -message MutateFeedItemsRequest { - // Required. The ID of the customer whose feed items are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual feed items. - repeated FeedItemOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, update, remove) on an feed item. -message FeedItemOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new feed item. - google.ads.googleads.v12.resources.FeedItem create = 1; - - // Update operation: The feed item is expected to have a valid resource - // name. - google.ads.googleads.v12.resources.FeedItem update = 2; - - // Remove operation: A resource name for the removed feed item is - // expected, in this format: - // - // `customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItem" - }]; - } -} - -// Response message for an feed item mutate. -message MutateFeedItemsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateFeedItemResult results = 2; -} - -// The result for the feed item mutate. -message MutateFeedItemResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItem" - }]; - - // The mutated feed item with only mutable fields after mutate. The field will - // only be returned when response_content_type is set to "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.FeedItem feed_item = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/feed_item_set_link_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/feed_item_set_link_service.proto deleted file mode 100644 index e18415a24..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/feed_item_set_link_service.proto +++ /dev/null @@ -1,115 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/feed_item_set_link.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemSetLinkServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the FeedItemSetLink service. - -// Service to manage feed item set links. -service FeedItemSetLinkService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes feed item set links. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc MutateFeedItemSetLinks(MutateFeedItemSetLinksRequest) returns (MutateFeedItemSetLinksResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/feedItemSetLinks:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [FeedItemSetLinkService.MutateFeedItemSetLinks][google.ads.googleads.v12.services.FeedItemSetLinkService.MutateFeedItemSetLinks]. -message MutateFeedItemSetLinksRequest { - // Required. The ID of the customer whose feed item set links are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual feed item set links. - repeated FeedItemSetLinkOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, update, remove) on a feed item set link. -message FeedItemSetLinkOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the - // new feed item set link. - google.ads.googleads.v12.resources.FeedItemSetLink create = 1; - - // Remove operation: A resource name for the removed feed item set link is - // expected, in this format: - // - // `customers/{customer_id}/feedItemSetLinks/{feed_id}_{feed_item_set_id}_{feed_item_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItemSetLink" - }]; - } -} - -// Response message for a feed item set link mutate. -message MutateFeedItemSetLinksResponse { - // All results for the mutate. - repeated MutateFeedItemSetLinkResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the feed item set link mutate. -message MutateFeedItemSetLinkResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItemSetLink" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/feed_item_set_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/feed_item_set_service.proto deleted file mode 100644 index 897968b24..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/feed_item_set_service.proto +++ /dev/null @@ -1,123 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/feed_item_set.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemSetServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the FeedItemSet service. - -// Service to manage feed Item Set -service FeedItemSetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes feed item sets. Operation statuses are - // returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - rpc MutateFeedItemSets(MutateFeedItemSetsRequest) returns (MutateFeedItemSetsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/feedItemSets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [FeedItemSetService.MutateFeedItemSets][google.ads.googleads.v12.services.FeedItemSetService.MutateFeedItemSets]. -message MutateFeedItemSetsRequest { - // Required. The ID of the customer whose feed item sets are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual feed item sets. - repeated FeedItemSetOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, remove) on an feed item set. -message FeedItemSetOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new feed item set - google.ads.googleads.v12.resources.FeedItemSet create = 1; - - // Update operation: The feed item set is expected to have a valid resource - // name. - google.ads.googleads.v12.resources.FeedItemSet update = 2; - - // Remove operation: A resource name for the removed feed item is - // expected, in this format: - // `customers/{customer_id}/feedItems/{feed_id}~{feed_item_set_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItemSet" - }]; - } -} - -// Response message for an feed item set mutate. -message MutateFeedItemSetsResponse { - // All results for the mutate. - repeated MutateFeedItemSetResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the feed item set mutate. -message MutateFeedItemSetResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItemSet" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/feed_item_target_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/feed_item_target_service.proto deleted file mode 100644 index c5e714568..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/feed_item_target_service.proto +++ /dev/null @@ -1,138 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/feed_item_target.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemTargetServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the FeedItemTarget service. - -// Service to manage feed item targets. -service FeedItemTargetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates or removes feed item targets. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CriterionError]() - // [DatabaseError]() - // [DistinctError]() - // [FeedItemTargetError]() - // [FieldError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [MutateError]() - // [NotEmptyError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - rpc MutateFeedItemTargets(MutateFeedItemTargetsRequest) returns (MutateFeedItemTargetsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/feedItemTargets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [FeedItemTargetService.MutateFeedItemTargets][google.ads.googleads.v12.services.FeedItemTargetService.MutateFeedItemTargets]. -message MutateFeedItemTargetsRequest { - // Required. The ID of the customer whose feed item targets are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual feed item targets. - repeated FeedItemTargetOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; -} - -// A single operation (create, remove) on an feed item target. -message FeedItemTargetOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new feed item - // target. - google.ads.googleads.v12.resources.FeedItemTarget create = 1; - - // Remove operation: A resource name for the removed feed item target is - // expected, in this format: - // - // `customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItemTarget" - }]; - } -} - -// Response message for an feed item target mutate. -message MutateFeedItemTargetsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateFeedItemTargetResult results = 2; -} - -// The result for the feed item target mutate. -message MutateFeedItemTargetResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItemTarget" - }]; - - // The mutated feed item target with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.FeedItemTarget feed_item_target = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/feed_mapping_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/feed_mapping_service.proto deleted file mode 100644 index 379d3794a..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/feed_mapping_service.proto +++ /dev/null @@ -1,138 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/feed_mapping.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "FeedMappingServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the FeedMapping service. - -// Service to manage feed mappings. -service FeedMappingService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates or removes feed mappings. Operation statuses are - // returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [DistinctError]() - // [FeedMappingError]() - // [FieldError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [MutateError]() - // [NotEmptyError]() - // [OperationAccessDeniedError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - rpc MutateFeedMappings(MutateFeedMappingsRequest) returns (MutateFeedMappingsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/feedMappings:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [FeedMappingService.MutateFeedMappings][google.ads.googleads.v12.services.FeedMappingService.MutateFeedMappings]. -message MutateFeedMappingsRequest { - // Required. The ID of the customer whose feed mappings are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual feed mappings. - repeated FeedMappingOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, remove) on a feed mapping. -message FeedMappingOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new feed mapping. - google.ads.googleads.v12.resources.FeedMapping create = 1; - - // Remove operation: A resource name for the removed feed mapping is - // expected, in this format: - // - // `customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedMapping" - }]; - } -} - -// Response message for a feed mapping mutate. -message MutateFeedMappingsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateFeedMappingResult results = 2; -} - -// The result for the feed mapping mutate. -message MutateFeedMappingResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedMapping" - }]; - - // The mutated feed mapping with only mutable fields after mutate. The field - // will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.FeedMapping feed_mapping = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/feed_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/feed_service.proto deleted file mode 100644 index c83fb7665..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/feed_service.proto +++ /dev/null @@ -1,150 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/feed.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "FeedServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the Feed service. - -// Service to manage feeds. -service FeedService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes feeds. Operation statuses are - // returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [DatabaseError]() - // [DistinctError]() - // [FeedError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [ListOperationError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [NullError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - rpc MutateFeeds(MutateFeedsRequest) returns (MutateFeedsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/feeds:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [FeedService.MutateFeeds][google.ads.googleads.v12.services.FeedService.MutateFeeds]. -message MutateFeedsRequest { - // Required. The ID of the customer whose feeds are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual feeds. - repeated FeedOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, update, remove) on an feed. -message FeedOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new feed. - google.ads.googleads.v12.resources.Feed create = 1; - - // Update operation: The feed is expected to have a valid resource - // name. - google.ads.googleads.v12.resources.Feed update = 2; - - // Remove operation: A resource name for the removed feed is - // expected, in this format: - // - // `customers/{customer_id}/feeds/{feed_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Feed" - }]; - } -} - -// Response message for an feed mutate. -message MutateFeedsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateFeedResult results = 2; -} - -// The result for the feed mutate. -message MutateFeedResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Feed" - }]; - - // The mutated feed with only mutable fields after mutate. The field will only - // be returned when response_content_type is set to "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.Feed feed = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/geo_target_constant_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/geo_target_constant_service.proto deleted file mode 100644 index c3cb5cbca..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/geo_target_constant_service.proto +++ /dev/null @@ -1,117 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/geo_target_constant.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "GeoTargetConstantServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the Geo target constant service. - -// Service to fetch geo target constants. -service GeoTargetConstantService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Returns GeoTargetConstant suggestions by location name or by resource name. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [GeoTargetConstantSuggestionError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc SuggestGeoTargetConstants(SuggestGeoTargetConstantsRequest) returns (SuggestGeoTargetConstantsResponse) { - option (google.api.http) = { - post: "/v12/geoTargetConstants:suggest" - body: "*" - }; - } -} - -// Request message for -// [GeoTargetConstantService.SuggestGeoTargetConstants][google.ads.googleads.v12.services.GeoTargetConstantService.SuggestGeoTargetConstants]. -message SuggestGeoTargetConstantsRequest { - // A list of location names. - message LocationNames { - // A list of location names. - repeated string names = 2; - } - - // A list of geo target constant resource names. - message GeoTargets { - // A list of geo target constant resource names. - repeated string geo_target_constants = 2; - } - - // If possible, returned geo targets are translated using this locale. If not, - // en is used by default. This is also used as a hint for returned geo - // targets. - optional string locale = 6; - - // Returned geo targets are restricted to this country code. - optional string country_code = 7; - - // Required. A selector of geo target constants. - oneof query { - // The location names to search by. At most 25 names can be set. - LocationNames location_names = 1; - - // The geo target constant resource names to filter by. - GeoTargets geo_targets = 2; - } -} - -// Response message for [GeoTargetConstantService.SuggestGeoTargetConstants][google.ads.googleads.v12.services.GeoTargetConstantService.SuggestGeoTargetConstants]. -message SuggestGeoTargetConstantsResponse { - // Geo target constant suggestions. - repeated GeoTargetConstantSuggestion geo_target_constant_suggestions = 1; -} - -// A geo target constant suggestion. -message GeoTargetConstantSuggestion { - // The language this GeoTargetConstantSuggestion is currently translated to. - // It affects the name of geo target fields. For example, if locale=en, then - // name=Spain. If locale=es, then name=España. The default locale will be - // returned if no translation exists for the locale in the request. - optional string locale = 6; - - // Approximate user population that will be targeted, rounded to the - // nearest 100. - optional int64 reach = 7; - - // If the request searched by location name, this is the location name that - // matched the geo target. - optional string search_term = 8; - - // The GeoTargetConstant result. - google.ads.googleads.v12.resources.GeoTargetConstant geo_target_constant = 4; - - // The list of parents of the geo target constant. - repeated google.ads.googleads.v12.resources.GeoTargetConstant geo_target_constant_parents = 5; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/google_ads_field_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/google_ads_field_service.proto deleted file mode 100644 index 45ece6708..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/google_ads_field_service.proto +++ /dev/null @@ -1,115 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/google_ads_field.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "GoogleAdsFieldServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the GoogleAdsFieldService. - -// Service to fetch Google Ads API fields. -service GoogleAdsFieldService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Returns just the requested field. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc GetGoogleAdsField(GetGoogleAdsFieldRequest) returns (google.ads.googleads.v12.resources.GoogleAdsField) { - option (google.api.http) = { - get: "/v12/{resource_name=googleAdsFields/*}" - }; - option (google.api.method_signature) = "resource_name"; - } - - // Returns all fields that match the search query. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QueryError]() - // [QuotaError]() - // [RequestError]() - rpc SearchGoogleAdsFields(SearchGoogleAdsFieldsRequest) returns (SearchGoogleAdsFieldsResponse) { - option (google.api.http) = { - post: "/v12/googleAdsFields:search" - body: "*" - }; - option (google.api.method_signature) = "query"; - } -} - -// Request message for [GoogleAdsFieldService.GetGoogleAdsField][google.ads.googleads.v12.services.GoogleAdsFieldService.GetGoogleAdsField]. -message GetGoogleAdsFieldRequest { - // Required. The resource name of the field to get. - string resource_name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/GoogleAdsField" - } - ]; -} - -// Request message for [GoogleAdsFieldService.SearchGoogleAdsFields][google.ads.googleads.v12.services.GoogleAdsFieldService.SearchGoogleAdsFields]. -message SearchGoogleAdsFieldsRequest { - // Required. The query string. - string query = 1 [(google.api.field_behavior) = REQUIRED]; - - // Token of the page to retrieve. If not specified, the first page of - // results will be returned. Use the value obtained from `next_page_token` - // in the previous response in order to request the next page of results. - string page_token = 2; - - // Number of elements to retrieve in a single page. - // When too large a page is requested, the server may decide to further - // limit the number of returned resources. - int32 page_size = 3; -} - -// Response message for [GoogleAdsFieldService.SearchGoogleAdsFields][google.ads.googleads.v12.services.GoogleAdsFieldService.SearchGoogleAdsFields]. -message SearchGoogleAdsFieldsResponse { - // The list of fields that matched the query. - repeated google.ads.googleads.v12.resources.GoogleAdsField results = 1; - - // Pagination token used to retrieve the next page of results. Pass the - // content of this string as the `page_token` attribute of the next request. - // `next_page_token` is not returned for the last page. - string next_page_token = 2; - - // Total number of results that match the query ignoring the LIMIT clause. - int64 total_results_count = 3; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/google_ads_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/google_ads_service.proto deleted file mode 100644 index 400ae6b43..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/google_ads_service.proto +++ /dev/null @@ -1,1493 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/common/metrics.proto"; -import "google/ads/googleads/v12/common/segments.proto"; -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/enums/summary_row_setting.proto"; -import "google/ads/googleads/v12/resources/accessible_bidding_strategy.proto"; -import "google/ads/googleads/v12/resources/account_budget.proto"; -import "google/ads/googleads/v12/resources/account_budget_proposal.proto"; -import "google/ads/googleads/v12/resources/account_link.proto"; -import "google/ads/googleads/v12/resources/ad_group.proto"; -import "google/ads/googleads/v12/resources/ad_group_ad.proto"; -import "google/ads/googleads/v12/resources/ad_group_ad_asset_combination_view.proto"; -import "google/ads/googleads/v12/resources/ad_group_ad_asset_view.proto"; -import "google/ads/googleads/v12/resources/ad_group_ad_label.proto"; -import "google/ads/googleads/v12/resources/ad_group_asset.proto"; -import "google/ads/googleads/v12/resources/ad_group_asset_set.proto"; -import "google/ads/googleads/v12/resources/ad_group_audience_view.proto"; -import "google/ads/googleads/v12/resources/ad_group_bid_modifier.proto"; -import "google/ads/googleads/v12/resources/ad_group_criterion.proto"; -import "google/ads/googleads/v12/resources/ad_group_criterion_customizer.proto"; -import "google/ads/googleads/v12/resources/ad_group_criterion_label.proto"; -import "google/ads/googleads/v12/resources/ad_group_criterion_simulation.proto"; -import "google/ads/googleads/v12/resources/ad_group_customizer.proto"; -import "google/ads/googleads/v12/resources/ad_group_extension_setting.proto"; -import "google/ads/googleads/v12/resources/ad_group_feed.proto"; -import "google/ads/googleads/v12/resources/ad_group_label.proto"; -import "google/ads/googleads/v12/resources/ad_group_simulation.proto"; -import "google/ads/googleads/v12/resources/ad_parameter.proto"; -import "google/ads/googleads/v12/resources/ad_schedule_view.proto"; -import "google/ads/googleads/v12/resources/age_range_view.proto"; -import "google/ads/googleads/v12/resources/asset.proto"; -import "google/ads/googleads/v12/resources/asset_field_type_view.proto"; -import "google/ads/googleads/v12/resources/asset_group.proto"; -import "google/ads/googleads/v12/resources/asset_group_asset.proto"; -import "google/ads/googleads/v12/resources/asset_group_listing_group_filter.proto"; -import "google/ads/googleads/v12/resources/asset_group_product_group_view.proto"; -import "google/ads/googleads/v12/resources/asset_group_signal.proto"; -import "google/ads/googleads/v12/resources/asset_set.proto"; -import "google/ads/googleads/v12/resources/asset_set_asset.proto"; -import "google/ads/googleads/v12/resources/asset_set_type_view.proto"; -import "google/ads/googleads/v12/resources/audience.proto"; -import "google/ads/googleads/v12/resources/batch_job.proto"; -import "google/ads/googleads/v12/resources/bidding_data_exclusion.proto"; -import "google/ads/googleads/v12/resources/bidding_seasonality_adjustment.proto"; -import "google/ads/googleads/v12/resources/bidding_strategy.proto"; -import "google/ads/googleads/v12/resources/bidding_strategy_simulation.proto"; -import "google/ads/googleads/v12/resources/billing_setup.proto"; -import "google/ads/googleads/v12/resources/call_view.proto"; -import "google/ads/googleads/v12/resources/campaign.proto"; -import "google/ads/googleads/v12/resources/campaign_asset.proto"; -import "google/ads/googleads/v12/resources/campaign_asset_set.proto"; -import "google/ads/googleads/v12/resources/campaign_audience_view.proto"; -import "google/ads/googleads/v12/resources/campaign_bid_modifier.proto"; -import "google/ads/googleads/v12/resources/campaign_budget.proto"; -import "google/ads/googleads/v12/resources/campaign_conversion_goal.proto"; -import "google/ads/googleads/v12/resources/campaign_criterion.proto"; -import "google/ads/googleads/v12/resources/campaign_criterion_simulation.proto"; -import "google/ads/googleads/v12/resources/campaign_customizer.proto"; -import "google/ads/googleads/v12/resources/campaign_draft.proto"; -import "google/ads/googleads/v12/resources/campaign_extension_setting.proto"; -import "google/ads/googleads/v12/resources/campaign_feed.proto"; -import "google/ads/googleads/v12/resources/campaign_group.proto"; -import "google/ads/googleads/v12/resources/campaign_label.proto"; -import "google/ads/googleads/v12/resources/campaign_shared_set.proto"; -import "google/ads/googleads/v12/resources/campaign_simulation.proto"; -import "google/ads/googleads/v12/resources/carrier_constant.proto"; -import "google/ads/googleads/v12/resources/change_event.proto"; -import "google/ads/googleads/v12/resources/change_status.proto"; -import "google/ads/googleads/v12/resources/click_view.proto"; -import "google/ads/googleads/v12/resources/combined_audience.proto"; -import "google/ads/googleads/v12/resources/conversion_action.proto"; -import "google/ads/googleads/v12/resources/conversion_custom_variable.proto"; -import "google/ads/googleads/v12/resources/conversion_goal_campaign_config.proto"; -import "google/ads/googleads/v12/resources/conversion_value_rule.proto"; -import "google/ads/googleads/v12/resources/conversion_value_rule_set.proto"; -import "google/ads/googleads/v12/resources/currency_constant.proto"; -import "google/ads/googleads/v12/resources/custom_audience.proto"; -import "google/ads/googleads/v12/resources/custom_conversion_goal.proto"; -import "google/ads/googleads/v12/resources/custom_interest.proto"; -import "google/ads/googleads/v12/resources/customer.proto"; -import "google/ads/googleads/v12/resources/customer_asset.proto"; -import "google/ads/googleads/v12/resources/customer_asset_set.proto"; -import "google/ads/googleads/v12/resources/customer_client.proto"; -import "google/ads/googleads/v12/resources/customer_client_link.proto"; -import "google/ads/googleads/v12/resources/customer_conversion_goal.proto"; -import "google/ads/googleads/v12/resources/customer_customizer.proto"; -import "google/ads/googleads/v12/resources/customer_extension_setting.proto"; -import "google/ads/googleads/v12/resources/customer_feed.proto"; -import "google/ads/googleads/v12/resources/customer_label.proto"; -import "google/ads/googleads/v12/resources/customer_manager_link.proto"; -import "google/ads/googleads/v12/resources/customer_negative_criterion.proto"; -import "google/ads/googleads/v12/resources/customer_user_access.proto"; -import "google/ads/googleads/v12/resources/customer_user_access_invitation.proto"; -import "google/ads/googleads/v12/resources/customizer_attribute.proto"; -import "google/ads/googleads/v12/resources/detail_placement_view.proto"; -import "google/ads/googleads/v12/resources/detailed_demographic.proto"; -import "google/ads/googleads/v12/resources/display_keyword_view.proto"; -import "google/ads/googleads/v12/resources/distance_view.proto"; -import "google/ads/googleads/v12/resources/domain_category.proto"; -import "google/ads/googleads/v12/resources/dynamic_search_ads_search_term_view.proto"; -import "google/ads/googleads/v12/resources/expanded_landing_page_view.proto"; -import "google/ads/googleads/v12/resources/experiment.proto"; -import "google/ads/googleads/v12/resources/experiment_arm.proto"; -import "google/ads/googleads/v12/resources/extension_feed_item.proto"; -import "google/ads/googleads/v12/resources/feed.proto"; -import "google/ads/googleads/v12/resources/feed_item.proto"; -import "google/ads/googleads/v12/resources/feed_item_set.proto"; -import "google/ads/googleads/v12/resources/feed_item_set_link.proto"; -import "google/ads/googleads/v12/resources/feed_item_target.proto"; -import "google/ads/googleads/v12/resources/feed_mapping.proto"; -import "google/ads/googleads/v12/resources/feed_placeholder_view.proto"; -import "google/ads/googleads/v12/resources/gender_view.proto"; -import "google/ads/googleads/v12/resources/geo_target_constant.proto"; -import "google/ads/googleads/v12/resources/geographic_view.proto"; -import "google/ads/googleads/v12/resources/group_placement_view.proto"; -import "google/ads/googleads/v12/resources/hotel_group_view.proto"; -import "google/ads/googleads/v12/resources/hotel_performance_view.proto"; -import "google/ads/googleads/v12/resources/hotel_reconciliation.proto"; -import "google/ads/googleads/v12/resources/income_range_view.proto"; -import "google/ads/googleads/v12/resources/keyword_plan.proto"; -import "google/ads/googleads/v12/resources/keyword_plan_ad_group.proto"; -import "google/ads/googleads/v12/resources/keyword_plan_ad_group_keyword.proto"; -import "google/ads/googleads/v12/resources/keyword_plan_campaign.proto"; -import "google/ads/googleads/v12/resources/keyword_plan_campaign_keyword.proto"; -import "google/ads/googleads/v12/resources/keyword_theme_constant.proto"; -import "google/ads/googleads/v12/resources/keyword_view.proto"; -import "google/ads/googleads/v12/resources/label.proto"; -import "google/ads/googleads/v12/resources/landing_page_view.proto"; -import "google/ads/googleads/v12/resources/language_constant.proto"; -import "google/ads/googleads/v12/resources/lead_form_submission_data.proto"; -import "google/ads/googleads/v12/resources/life_event.proto"; -import "google/ads/googleads/v12/resources/location_view.proto"; -import "google/ads/googleads/v12/resources/managed_placement_view.proto"; -import "google/ads/googleads/v12/resources/media_file.proto"; -import "google/ads/googleads/v12/resources/mobile_app_category_constant.proto"; -import "google/ads/googleads/v12/resources/mobile_device_constant.proto"; -import "google/ads/googleads/v12/resources/offline_user_data_job.proto"; -import "google/ads/googleads/v12/resources/operating_system_version_constant.proto"; -import "google/ads/googleads/v12/resources/paid_organic_search_term_view.proto"; -import "google/ads/googleads/v12/resources/parental_status_view.proto"; -import "google/ads/googleads/v12/resources/per_store_view.proto"; -import "google/ads/googleads/v12/resources/product_bidding_category_constant.proto"; -import "google/ads/googleads/v12/resources/product_group_view.proto"; -import "google/ads/googleads/v12/resources/recommendation.proto"; -import "google/ads/googleads/v12/resources/remarketing_action.proto"; -import "google/ads/googleads/v12/resources/search_term_view.proto"; -import "google/ads/googleads/v12/resources/shared_criterion.proto"; -import "google/ads/googleads/v12/resources/shared_set.proto"; -import "google/ads/googleads/v12/resources/shopping_performance_view.proto"; -import "google/ads/googleads/v12/resources/smart_campaign_search_term_view.proto"; -import "google/ads/googleads/v12/resources/smart_campaign_setting.proto"; -import "google/ads/googleads/v12/resources/third_party_app_analytics_link.proto"; -import "google/ads/googleads/v12/resources/topic_constant.proto"; -import "google/ads/googleads/v12/resources/topic_view.proto"; -import "google/ads/googleads/v12/resources/user_interest.proto"; -import "google/ads/googleads/v12/resources/user_list.proto"; -import "google/ads/googleads/v12/resources/user_location_view.proto"; -import "google/ads/googleads/v12/resources/video.proto"; -import "google/ads/googleads/v12/resources/webpage_view.proto"; -import "google/ads/googleads/v12/services/ad_group_ad_label_service.proto"; -import "google/ads/googleads/v12/services/ad_group_ad_service.proto"; -import "google/ads/googleads/v12/services/ad_group_asset_service.proto"; -import "google/ads/googleads/v12/services/ad_group_bid_modifier_service.proto"; -import "google/ads/googleads/v12/services/ad_group_criterion_customizer_service.proto"; -import "google/ads/googleads/v12/services/ad_group_criterion_label_service.proto"; -import "google/ads/googleads/v12/services/ad_group_criterion_service.proto"; -import "google/ads/googleads/v12/services/ad_group_customizer_service.proto"; -import "google/ads/googleads/v12/services/ad_group_extension_setting_service.proto"; -import "google/ads/googleads/v12/services/ad_group_feed_service.proto"; -import "google/ads/googleads/v12/services/ad_group_label_service.proto"; -import "google/ads/googleads/v12/services/ad_group_service.proto"; -import "google/ads/googleads/v12/services/ad_parameter_service.proto"; -import "google/ads/googleads/v12/services/ad_service.proto"; -import "google/ads/googleads/v12/services/asset_group_asset_service.proto"; -import "google/ads/googleads/v12/services/asset_group_listing_group_filter_service.proto"; -import "google/ads/googleads/v12/services/asset_group_service.proto"; -import "google/ads/googleads/v12/services/asset_group_signal_service.proto"; -import "google/ads/googleads/v12/services/asset_service.proto"; -import "google/ads/googleads/v12/services/asset_set_asset_service.proto"; -import "google/ads/googleads/v12/services/asset_set_service.proto"; -import "google/ads/googleads/v12/services/audience_service.proto"; -import "google/ads/googleads/v12/services/bidding_data_exclusion_service.proto"; -import "google/ads/googleads/v12/services/bidding_seasonality_adjustment_service.proto"; -import "google/ads/googleads/v12/services/bidding_strategy_service.proto"; -import "google/ads/googleads/v12/services/campaign_asset_service.proto"; -import "google/ads/googleads/v12/services/campaign_asset_set_service.proto"; -import "google/ads/googleads/v12/services/campaign_bid_modifier_service.proto"; -import "google/ads/googleads/v12/services/campaign_budget_service.proto"; -import "google/ads/googleads/v12/services/campaign_conversion_goal_service.proto"; -import "google/ads/googleads/v12/services/campaign_criterion_service.proto"; -import "google/ads/googleads/v12/services/campaign_customizer_service.proto"; -import "google/ads/googleads/v12/services/campaign_draft_service.proto"; -import "google/ads/googleads/v12/services/campaign_extension_setting_service.proto"; -import "google/ads/googleads/v12/services/campaign_feed_service.proto"; -import "google/ads/googleads/v12/services/campaign_group_service.proto"; -import "google/ads/googleads/v12/services/campaign_label_service.proto"; -import "google/ads/googleads/v12/services/campaign_service.proto"; -import "google/ads/googleads/v12/services/campaign_shared_set_service.proto"; -import "google/ads/googleads/v12/services/conversion_action_service.proto"; -import "google/ads/googleads/v12/services/conversion_custom_variable_service.proto"; -import "google/ads/googleads/v12/services/conversion_goal_campaign_config_service.proto"; -import "google/ads/googleads/v12/services/conversion_value_rule_service.proto"; -import "google/ads/googleads/v12/services/conversion_value_rule_set_service.proto"; -import "google/ads/googleads/v12/services/custom_conversion_goal_service.proto"; -import "google/ads/googleads/v12/services/customer_asset_service.proto"; -import "google/ads/googleads/v12/services/customer_conversion_goal_service.proto"; -import "google/ads/googleads/v12/services/customer_customizer_service.proto"; -import "google/ads/googleads/v12/services/customer_extension_setting_service.proto"; -import "google/ads/googleads/v12/services/customer_feed_service.proto"; -import "google/ads/googleads/v12/services/customer_label_service.proto"; -import "google/ads/googleads/v12/services/customer_negative_criterion_service.proto"; -import "google/ads/googleads/v12/services/customer_service.proto"; -import "google/ads/googleads/v12/services/customizer_attribute_service.proto"; -import "google/ads/googleads/v12/services/experiment_arm_service.proto"; -import "google/ads/googleads/v12/services/experiment_service.proto"; -import "google/ads/googleads/v12/services/extension_feed_item_service.proto"; -import "google/ads/googleads/v12/services/feed_item_service.proto"; -import "google/ads/googleads/v12/services/feed_item_set_link_service.proto"; -import "google/ads/googleads/v12/services/feed_item_set_service.proto"; -import "google/ads/googleads/v12/services/feed_item_target_service.proto"; -import "google/ads/googleads/v12/services/feed_mapping_service.proto"; -import "google/ads/googleads/v12/services/feed_service.proto"; -import "google/ads/googleads/v12/services/keyword_plan_ad_group_keyword_service.proto"; -import "google/ads/googleads/v12/services/keyword_plan_ad_group_service.proto"; -import "google/ads/googleads/v12/services/keyword_plan_campaign_keyword_service.proto"; -import "google/ads/googleads/v12/services/keyword_plan_campaign_service.proto"; -import "google/ads/googleads/v12/services/keyword_plan_service.proto"; -import "google/ads/googleads/v12/services/label_service.proto"; -import "google/ads/googleads/v12/services/media_file_service.proto"; -import "google/ads/googleads/v12/services/remarketing_action_service.proto"; -import "google/ads/googleads/v12/services/shared_criterion_service.proto"; -import "google/ads/googleads/v12/services/shared_set_service.proto"; -import "google/ads/googleads/v12/services/smart_campaign_setting_service.proto"; -import "google/ads/googleads/v12/services/user_list_service.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "GoogleAdsServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the GoogleAdsService. - -// Service to fetch data and metrics across resources. -service GoogleAdsService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Returns all rows that match the search query. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [ChangeEventError]() - // [ChangeStatusError]() - // [ClickViewError]() - // [HeaderError]() - // [InternalError]() - // [QueryError]() - // [QuotaError]() - // [RequestError]() - rpc Search(SearchGoogleAdsRequest) returns (SearchGoogleAdsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/googleAds:search" - body: "*" - }; - option (google.api.method_signature) = "customer_id,query"; - } - - // Returns all rows that match the search stream query. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [ChangeEventError]() - // [ChangeStatusError]() - // [ClickViewError]() - // [HeaderError]() - // [InternalError]() - // [QueryError]() - // [QuotaError]() - // [RequestError]() - rpc SearchStream(SearchGoogleAdsStreamRequest) returns (stream SearchGoogleAdsStreamResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/googleAds:searchStream" - body: "*" - }; - option (google.api.method_signature) = "customer_id,query"; - } - - // Creates, updates, or removes resources. This method supports atomic - // transactions with multiple types of resources. For example, you can - // atomically create a campaign and a campaign budget, or perform up to - // thousands of mutates atomically. - // - // This method is essentially a wrapper around a series of mutate methods. The - // only features it offers over calling those methods directly are: - // - // - Atomic transactions - // - Temp resource names (described below) - // - Somewhat reduced latency over making a series of mutate calls - // - // Note: Only resources that support atomic transactions are included, so this - // method can't replace all calls to individual services. - // - // ## Atomic Transaction Benefits - // - // Atomicity makes error handling much easier. If you're making a series of - // changes and one fails, it can leave your account in an inconsistent state. - // With atomicity, you either reach the chosen state directly, or the request - // fails and you can retry. - // - // ## Temp Resource Names - // - // Temp resource names are a special type of resource name used to create a - // resource and reference that resource in the same request. For example, if a - // campaign budget is created with `resource_name` equal to - // `customers/123/campaignBudgets/-1`, that resource name can be reused in - // the `Campaign.budget` field in the same request. That way, the two - // resources are created and linked atomically. - // - // To create a temp resource name, put a negative number in the part of the - // name that the server would normally allocate. - // - // Note: - // - // - Resources must be created with a temp name before the name can be reused. - // For example, the previous CampaignBudget+Campaign example would fail if - // the mutate order was reversed. - // - Temp names are not remembered across requests. - // - There's no limit to the number of temp names in a request. - // - Each temp name must use a unique negative number, even if the resource - // types differ. - // - // ## Latency - // - // It's important to group mutates by resource type or the request may time - // out and fail. Latency is roughly equal to a series of calls to individual - // mutate methods, where each change in resource type is a new call. For - // example, mutating 10 campaigns then 10 ad groups is like 2 calls, while - // mutating 1 campaign, 1 ad group, 1 campaign, 1 ad group is like 4 calls. - // - // List of thrown errors: - // [AdCustomizerError]() - // [AdError]() - // [AdGroupAdError]() - // [AdGroupCriterionError]() - // [AdGroupError]() - // [AssetError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [BiddingError]() - // [CampaignBudgetError]() - // [CampaignCriterionError]() - // [CampaignError]() - // [CampaignExperimentError]() - // [CampaignSharedSetError]() - // [CollectionSizeError]() - // [ContextError]() - // [ConversionActionError]() - // [CriterionError]() - // [CustomerFeedError]() - // [DatabaseError]() - // [DateError]() - // [DateRangeError]() - // [DistinctError]() - // [ExtensionFeedItemError]() - // [ExtensionSettingError]() - // [FeedAttributeReferenceError]() - // [FeedError]() - // [FeedItemError]() - // [FeedItemSetError]() - // [FieldError]() - // [FieldMaskError]() - // [FunctionParsingError]() - // [HeaderError]() - // [ImageError]() - // [InternalError]() - // [KeywordPlanAdGroupKeywordError]() - // [KeywordPlanCampaignError]() - // [KeywordPlanError]() - // [LabelError]() - // [ListOperationError]() - // [MediaUploadError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NullError]() - // [OperationAccessDeniedError]() - // [PolicyFindingError]() - // [PolicyViolationError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - // [SettingError]() - // [SharedSetError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - // [UrlFieldError]() - // [UserListError]() - // [YoutubeVideoRegistrationError]() - rpc Mutate(MutateGoogleAdsRequest) returns (MutateGoogleAdsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/googleAds:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,mutate_operations"; - } -} - -// Request message for [GoogleAdsService.Search][google.ads.googleads.v12.services.GoogleAdsService.Search]. -message SearchGoogleAdsRequest { - // Required. The ID of the customer being queried. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The query string. - string query = 2 [(google.api.field_behavior) = REQUIRED]; - - // Token of the page to retrieve. If not specified, the first - // page of results will be returned. Use the value obtained from - // `next_page_token` in the previous response in order to request - // the next page of results. - string page_token = 3; - - // Number of elements to retrieve in a single page. - // When too large a page is requested, the server may decide to - // further limit the number of returned resources. - int32 page_size = 4; - - // If true, the request is validated but not executed. - bool validate_only = 5; - - // If true, the total number of results that match the query ignoring the - // LIMIT clause will be included in the response. - // Default is false. - bool return_total_results_count = 7; - - // Determines whether a summary row will be returned. By default, summary row - // is not returned. If requested, the summary row will be sent in a response - // by itself after all other query results are returned. - google.ads.googleads.v12.enums.SummaryRowSettingEnum.SummaryRowSetting summary_row_setting = 8; -} - -// Response message for [GoogleAdsService.Search][google.ads.googleads.v12.services.GoogleAdsService.Search]. -message SearchGoogleAdsResponse { - // The list of rows that matched the query. - repeated GoogleAdsRow results = 1; - - // Pagination token used to retrieve the next page of results. - // Pass the content of this string as the `page_token` attribute of - // the next request. `next_page_token` is not returned for the last - // page. - string next_page_token = 2; - - // Total number of results that match the query ignoring the LIMIT - // clause. - int64 total_results_count = 3; - - // FieldMask that represents what fields were requested by the user. - google.protobuf.FieldMask field_mask = 5; - - // Summary row that contains summary of metrics in results. - // Summary of metrics means aggregation of metrics across all results, - // here aggregation could be sum, average, rate, etc. - GoogleAdsRow summary_row = 6; -} - -// Request message for [GoogleAdsService.SearchStream][google.ads.googleads.v12.services.GoogleAdsService.SearchStream]. -message SearchGoogleAdsStreamRequest { - // Required. The ID of the customer being queried. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The query string. - string query = 2 [(google.api.field_behavior) = REQUIRED]; - - // Determines whether a summary row will be returned. By default, summary row - // is not returned. If requested, the summary row will be sent in a response - // by itself after all other query results are returned. - google.ads.googleads.v12.enums.SummaryRowSettingEnum.SummaryRowSetting summary_row_setting = 3; -} - -// Response message for [GoogleAdsService.SearchStream][google.ads.googleads.v12.services.GoogleAdsService.SearchStream]. -message SearchGoogleAdsStreamResponse { - // The list of rows that matched the query. - repeated GoogleAdsRow results = 1; - - // FieldMask that represents what fields were requested by the user. - google.protobuf.FieldMask field_mask = 2; - - // Summary row that contains summary of metrics in results. - // Summary of metrics means aggregation of metrics across all results, - // here aggregation could be sum, average, rate, etc. - GoogleAdsRow summary_row = 3; - - // The unique id of the request that is used for debugging purposes. - string request_id = 4; -} - -// A returned row from the query. -message GoogleAdsRow { - // The account budget in the query. - google.ads.googleads.v12.resources.AccountBudget account_budget = 42; - - // The account budget proposal referenced in the query. - google.ads.googleads.v12.resources.AccountBudgetProposal account_budget_proposal = 43; - - // The AccountLink referenced in the query. - google.ads.googleads.v12.resources.AccountLink account_link = 143; - - // The ad group referenced in the query. - google.ads.googleads.v12.resources.AdGroup ad_group = 3; - - // The ad referenced in the query. - google.ads.googleads.v12.resources.AdGroupAd ad_group_ad = 16; - - // The ad group ad asset combination view in the query. - google.ads.googleads.v12.resources.AdGroupAdAssetCombinationView ad_group_ad_asset_combination_view = 193; - - // The ad group ad asset view in the query. - google.ads.googleads.v12.resources.AdGroupAdAssetView ad_group_ad_asset_view = 131; - - // The ad group ad label referenced in the query. - google.ads.googleads.v12.resources.AdGroupAdLabel ad_group_ad_label = 120; - - // The ad group asset referenced in the query. - google.ads.googleads.v12.resources.AdGroupAsset ad_group_asset = 154; - - // The ad group asset set referenced in the query. - google.ads.googleads.v12.resources.AdGroupAssetSet ad_group_asset_set = 196; - - // The ad group audience view referenced in the query. - google.ads.googleads.v12.resources.AdGroupAudienceView ad_group_audience_view = 57; - - // The bid modifier referenced in the query. - google.ads.googleads.v12.resources.AdGroupBidModifier ad_group_bid_modifier = 24; - - // The criterion referenced in the query. - google.ads.googleads.v12.resources.AdGroupCriterion ad_group_criterion = 17; - - // The ad group criterion customizer referenced in the query. - google.ads.googleads.v12.resources.AdGroupCriterionCustomizer ad_group_criterion_customizer = 187; - - // The ad group criterion label referenced in the query. - google.ads.googleads.v12.resources.AdGroupCriterionLabel ad_group_criterion_label = 121; - - // The ad group criterion simulation referenced in the query. - google.ads.googleads.v12.resources.AdGroupCriterionSimulation ad_group_criterion_simulation = 110; - - // The ad group customizer referenced in the query. - google.ads.googleads.v12.resources.AdGroupCustomizer ad_group_customizer = 185; - - // The ad group extension setting referenced in the query. - google.ads.googleads.v12.resources.AdGroupExtensionSetting ad_group_extension_setting = 112; - - // The ad group feed referenced in the query. - google.ads.googleads.v12.resources.AdGroupFeed ad_group_feed = 67; - - // The ad group label referenced in the query. - google.ads.googleads.v12.resources.AdGroupLabel ad_group_label = 115; - - // The ad group simulation referenced in the query. - google.ads.googleads.v12.resources.AdGroupSimulation ad_group_simulation = 107; - - // The ad parameter referenced in the query. - google.ads.googleads.v12.resources.AdParameter ad_parameter = 130; - - // The age range view referenced in the query. - google.ads.googleads.v12.resources.AgeRangeView age_range_view = 48; - - // The ad schedule view referenced in the query. - google.ads.googleads.v12.resources.AdScheduleView ad_schedule_view = 89; - - // The domain category referenced in the query. - google.ads.googleads.v12.resources.DomainCategory domain_category = 91; - - // The asset referenced in the query. - google.ads.googleads.v12.resources.Asset asset = 105; - - // The asset field type view referenced in the query. - google.ads.googleads.v12.resources.AssetFieldTypeView asset_field_type_view = 168; - - // The asset group asset referenced in the query. - google.ads.googleads.v12.resources.AssetGroupAsset asset_group_asset = 173; - - // The asset group signal referenced in the query. - google.ads.googleads.v12.resources.AssetGroupSignal asset_group_signal = 191; - - // The asset group listing group filter referenced in the query. - google.ads.googleads.v12.resources.AssetGroupListingGroupFilter asset_group_listing_group_filter = 182; - - // The asset group product group view referenced in the query. - google.ads.googleads.v12.resources.AssetGroupProductGroupView asset_group_product_group_view = 189; - - // The asset group referenced in the query. - google.ads.googleads.v12.resources.AssetGroup asset_group = 172; - - // The asset set asset referenced in the query. - google.ads.googleads.v12.resources.AssetSetAsset asset_set_asset = 180; - - // The asset set referenced in the query. - google.ads.googleads.v12.resources.AssetSet asset_set = 179; - - // The asset set type view referenced in the query. - google.ads.googleads.v12.resources.AssetSetTypeView asset_set_type_view = 197; - - // The batch job referenced in the query. - google.ads.googleads.v12.resources.BatchJob batch_job = 139; - - // The bidding data exclusion referenced in the query. - google.ads.googleads.v12.resources.BiddingDataExclusion bidding_data_exclusion = 159; - - // The bidding seasonality adjustment referenced in the query. - google.ads.googleads.v12.resources.BiddingSeasonalityAdjustment bidding_seasonality_adjustment = 160; - - // The bidding strategy referenced in the query. - google.ads.googleads.v12.resources.BiddingStrategy bidding_strategy = 18; - - // The bidding strategy simulation referenced in the query. - google.ads.googleads.v12.resources.BiddingStrategySimulation bidding_strategy_simulation = 158; - - // The billing setup referenced in the query. - google.ads.googleads.v12.resources.BillingSetup billing_setup = 41; - - // The call view referenced in the query. - google.ads.googleads.v12.resources.CallView call_view = 152; - - // The campaign budget referenced in the query. - google.ads.googleads.v12.resources.CampaignBudget campaign_budget = 19; - - // The campaign referenced in the query. - google.ads.googleads.v12.resources.Campaign campaign = 2; - - // The campaign asset referenced in the query. - google.ads.googleads.v12.resources.CampaignAsset campaign_asset = 142; - - // The campaign asset set referenced in the query. - google.ads.googleads.v12.resources.CampaignAssetSet campaign_asset_set = 181; - - // The campaign audience view referenced in the query. - google.ads.googleads.v12.resources.CampaignAudienceView campaign_audience_view = 69; - - // The campaign bid modifier referenced in the query. - google.ads.googleads.v12.resources.CampaignBidModifier campaign_bid_modifier = 26; - - // The CampaignConversionGoal referenced in the query. - google.ads.googleads.v12.resources.CampaignConversionGoal campaign_conversion_goal = 175; - - // The campaign criterion referenced in the query. - google.ads.googleads.v12.resources.CampaignCriterion campaign_criterion = 20; - - // The campaign criterion simulation referenced in the query. - google.ads.googleads.v12.resources.CampaignCriterionSimulation campaign_criterion_simulation = 111; - - // The campaign customizer referenced in the query. - google.ads.googleads.v12.resources.CampaignCustomizer campaign_customizer = 186; - - // The campaign draft referenced in the query. - google.ads.googleads.v12.resources.CampaignDraft campaign_draft = 49; - - // The campaign extension setting referenced in the query. - google.ads.googleads.v12.resources.CampaignExtensionSetting campaign_extension_setting = 113; - - // The campaign feed referenced in the query. - google.ads.googleads.v12.resources.CampaignFeed campaign_feed = 63; - - // Campaign Group referenced in AWQL query. - google.ads.googleads.v12.resources.CampaignGroup campaign_group = 25; - - // The campaign label referenced in the query. - google.ads.googleads.v12.resources.CampaignLabel campaign_label = 108; - - // Campaign Shared Set referenced in AWQL query. - google.ads.googleads.v12.resources.CampaignSharedSet campaign_shared_set = 30; - - // The campaign simulation referenced in the query. - google.ads.googleads.v12.resources.CampaignSimulation campaign_simulation = 157; - - // The carrier constant referenced in the query. - google.ads.googleads.v12.resources.CarrierConstant carrier_constant = 66; - - // The ChangeEvent referenced in the query. - google.ads.googleads.v12.resources.ChangeEvent change_event = 145; - - // The ChangeStatus referenced in the query. - google.ads.googleads.v12.resources.ChangeStatus change_status = 37; - - // The CombinedAudience referenced in the query. - google.ads.googleads.v12.resources.CombinedAudience combined_audience = 148; - - // The Audience referenced in the query. - google.ads.googleads.v12.resources.Audience audience = 190; - - // The conversion action referenced in the query. - google.ads.googleads.v12.resources.ConversionAction conversion_action = 103; - - // The conversion custom variable referenced in the query. - google.ads.googleads.v12.resources.ConversionCustomVariable conversion_custom_variable = 153; - - // The ConversionGoalCampaignConfig referenced in the query. - google.ads.googleads.v12.resources.ConversionGoalCampaignConfig conversion_goal_campaign_config = 177; - - // The conversion value rule referenced in the query. - google.ads.googleads.v12.resources.ConversionValueRule conversion_value_rule = 164; - - // The conversion value rule set referenced in the query. - google.ads.googleads.v12.resources.ConversionValueRuleSet conversion_value_rule_set = 165; - - // The ClickView referenced in the query. - google.ads.googleads.v12.resources.ClickView click_view = 122; - - // The currency constant referenced in the query. - google.ads.googleads.v12.resources.CurrencyConstant currency_constant = 134; - - // The CustomAudience referenced in the query. - google.ads.googleads.v12.resources.CustomAudience custom_audience = 147; - - // The CustomConversionGoal referenced in the query. - google.ads.googleads.v12.resources.CustomConversionGoal custom_conversion_goal = 176; - - // The CustomInterest referenced in the query. - google.ads.googleads.v12.resources.CustomInterest custom_interest = 104; - - // The customer referenced in the query. - google.ads.googleads.v12.resources.Customer customer = 1; - - // The customer asset referenced in the query. - google.ads.googleads.v12.resources.CustomerAsset customer_asset = 155; - - // The customer asset set referenced in the query. - google.ads.googleads.v12.resources.CustomerAssetSet customer_asset_set = 195; - - // The accessible bidding strategy referenced in the query. - google.ads.googleads.v12.resources.AccessibleBiddingStrategy accessible_bidding_strategy = 169; - - // The customer customizer referenced in the query. - google.ads.googleads.v12.resources.CustomerCustomizer customer_customizer = 184; - - // The CustomerManagerLink referenced in the query. - google.ads.googleads.v12.resources.CustomerManagerLink customer_manager_link = 61; - - // The CustomerClientLink referenced in the query. - google.ads.googleads.v12.resources.CustomerClientLink customer_client_link = 62; - - // The CustomerClient referenced in the query. - google.ads.googleads.v12.resources.CustomerClient customer_client = 70; - - // The CustomerConversionGoal referenced in the query. - google.ads.googleads.v12.resources.CustomerConversionGoal customer_conversion_goal = 174; - - // The customer extension setting referenced in the query. - google.ads.googleads.v12.resources.CustomerExtensionSetting customer_extension_setting = 114; - - // The customer feed referenced in the query. - google.ads.googleads.v12.resources.CustomerFeed customer_feed = 64; - - // The customer label referenced in the query. - google.ads.googleads.v12.resources.CustomerLabel customer_label = 124; - - // The customer negative criterion referenced in the query. - google.ads.googleads.v12.resources.CustomerNegativeCriterion customer_negative_criterion = 88; - - // The CustomerUserAccess referenced in the query. - google.ads.googleads.v12.resources.CustomerUserAccess customer_user_access = 146; - - // The CustomerUserAccessInvitation referenced in the query. - google.ads.googleads.v12.resources.CustomerUserAccessInvitation customer_user_access_invitation = 150; - - // The customizer attribute referenced in the query. - google.ads.googleads.v12.resources.CustomizerAttribute customizer_attribute = 178; - - // The detail placement view referenced in the query. - google.ads.googleads.v12.resources.DetailPlacementView detail_placement_view = 118; - - // The detailed demographic referenced in the query. - google.ads.googleads.v12.resources.DetailedDemographic detailed_demographic = 166; - - // The display keyword view referenced in the query. - google.ads.googleads.v12.resources.DisplayKeywordView display_keyword_view = 47; - - // The distance view referenced in the query. - google.ads.googleads.v12.resources.DistanceView distance_view = 132; - - // The dynamic search ads search term view referenced in the query. - google.ads.googleads.v12.resources.DynamicSearchAdsSearchTermView dynamic_search_ads_search_term_view = 106; - - // The expanded landing page view referenced in the query. - google.ads.googleads.v12.resources.ExpandedLandingPageView expanded_landing_page_view = 128; - - // The extension feed item referenced in the query. - google.ads.googleads.v12.resources.ExtensionFeedItem extension_feed_item = 85; - - // The feed referenced in the query. - google.ads.googleads.v12.resources.Feed feed = 46; - - // The feed item referenced in the query. - google.ads.googleads.v12.resources.FeedItem feed_item = 50; - - // The feed item set referenced in the query. - google.ads.googleads.v12.resources.FeedItemSet feed_item_set = 149; - - // The feed item set link referenced in the query. - google.ads.googleads.v12.resources.FeedItemSetLink feed_item_set_link = 151; - - // The feed item target referenced in the query. - google.ads.googleads.v12.resources.FeedItemTarget feed_item_target = 116; - - // The feed mapping referenced in the query. - google.ads.googleads.v12.resources.FeedMapping feed_mapping = 58; - - // The feed placeholder view referenced in the query. - google.ads.googleads.v12.resources.FeedPlaceholderView feed_placeholder_view = 97; - - // The gender view referenced in the query. - google.ads.googleads.v12.resources.GenderView gender_view = 40; - - // The geo target constant referenced in the query. - google.ads.googleads.v12.resources.GeoTargetConstant geo_target_constant = 23; - - // The geographic view referenced in the query. - google.ads.googleads.v12.resources.GeographicView geographic_view = 125; - - // The group placement view referenced in the query. - google.ads.googleads.v12.resources.GroupPlacementView group_placement_view = 119; - - // The hotel group view referenced in the query. - google.ads.googleads.v12.resources.HotelGroupView hotel_group_view = 51; - - // The hotel performance view referenced in the query. - google.ads.googleads.v12.resources.HotelPerformanceView hotel_performance_view = 71; - - // The hotel reconciliation referenced in the query. - google.ads.googleads.v12.resources.HotelReconciliation hotel_reconciliation = 188; - - // The income range view referenced in the query. - google.ads.googleads.v12.resources.IncomeRangeView income_range_view = 138; - - // The keyword view referenced in the query. - google.ads.googleads.v12.resources.KeywordView keyword_view = 21; - - // The keyword plan referenced in the query. - google.ads.googleads.v12.resources.KeywordPlan keyword_plan = 32; - - // The keyword plan campaign referenced in the query. - google.ads.googleads.v12.resources.KeywordPlanCampaign keyword_plan_campaign = 33; - - // The keyword plan campaign keyword referenced in the query. - google.ads.googleads.v12.resources.KeywordPlanCampaignKeyword keyword_plan_campaign_keyword = 140; - - // The keyword plan ad group referenced in the query. - google.ads.googleads.v12.resources.KeywordPlanAdGroup keyword_plan_ad_group = 35; - - // The keyword plan ad group referenced in the query. - google.ads.googleads.v12.resources.KeywordPlanAdGroupKeyword keyword_plan_ad_group_keyword = 141; - - // The keyword theme constant referenced in the query. - google.ads.googleads.v12.resources.KeywordThemeConstant keyword_theme_constant = 163; - - // The label referenced in the query. - google.ads.googleads.v12.resources.Label label = 52; - - // The landing page view referenced in the query. - google.ads.googleads.v12.resources.LandingPageView landing_page_view = 126; - - // The language constant referenced in the query. - google.ads.googleads.v12.resources.LanguageConstant language_constant = 55; - - // The location view referenced in the query. - google.ads.googleads.v12.resources.LocationView location_view = 123; - - // The managed placement view referenced in the query. - google.ads.googleads.v12.resources.ManagedPlacementView managed_placement_view = 53; - - // The media file referenced in the query. - google.ads.googleads.v12.resources.MediaFile media_file = 90; - - // The mobile app category constant referenced in the query. - google.ads.googleads.v12.resources.MobileAppCategoryConstant mobile_app_category_constant = 87; - - // The mobile device constant referenced in the query. - google.ads.googleads.v12.resources.MobileDeviceConstant mobile_device_constant = 98; - - // The offline user data job referenced in the query. - google.ads.googleads.v12.resources.OfflineUserDataJob offline_user_data_job = 137; - - // The operating system version constant referenced in the query. - google.ads.googleads.v12.resources.OperatingSystemVersionConstant operating_system_version_constant = 86; - - // The paid organic search term view referenced in the query. - google.ads.googleads.v12.resources.PaidOrganicSearchTermView paid_organic_search_term_view = 129; - - // The parental status view referenced in the query. - google.ads.googleads.v12.resources.ParentalStatusView parental_status_view = 45; - - // The per store view referenced in the query. - google.ads.googleads.v12.resources.PerStoreView per_store_view = 198; - - // The Product Bidding Category referenced in the query. - google.ads.googleads.v12.resources.ProductBiddingCategoryConstant product_bidding_category_constant = 109; - - // The product group view referenced in the query. - google.ads.googleads.v12.resources.ProductGroupView product_group_view = 54; - - // The recommendation referenced in the query. - google.ads.googleads.v12.resources.Recommendation recommendation = 22; - - // The search term view referenced in the query. - google.ads.googleads.v12.resources.SearchTermView search_term_view = 68; - - // The shared set referenced in the query. - google.ads.googleads.v12.resources.SharedCriterion shared_criterion = 29; - - // The shared set referenced in the query. - google.ads.googleads.v12.resources.SharedSet shared_set = 27; - - // The Smart campaign setting referenced in the query. - google.ads.googleads.v12.resources.SmartCampaignSetting smart_campaign_setting = 167; - - // The shopping performance view referenced in the query. - google.ads.googleads.v12.resources.ShoppingPerformanceView shopping_performance_view = 117; - - // The Smart campaign search term view referenced in the query. - google.ads.googleads.v12.resources.SmartCampaignSearchTermView smart_campaign_search_term_view = 170; - - // The AccountLink referenced in the query. - google.ads.googleads.v12.resources.ThirdPartyAppAnalyticsLink third_party_app_analytics_link = 144; - - // The topic view referenced in the query. - google.ads.googleads.v12.resources.TopicView topic_view = 44; - - // The experiment referenced in the query. - google.ads.googleads.v12.resources.Experiment experiment = 133; - - // The experiment arm referenced in the query. - google.ads.googleads.v12.resources.ExperimentArm experiment_arm = 183; - - // The user interest referenced in the query. - google.ads.googleads.v12.resources.UserInterest user_interest = 59; - - // The life event referenced in the query. - google.ads.googleads.v12.resources.LifeEvent life_event = 161; - - // The user list referenced in the query. - google.ads.googleads.v12.resources.UserList user_list = 38; - - // The user location view referenced in the query. - google.ads.googleads.v12.resources.UserLocationView user_location_view = 135; - - // The remarketing action referenced in the query. - google.ads.googleads.v12.resources.RemarketingAction remarketing_action = 60; - - // The topic constant referenced in the query. - google.ads.googleads.v12.resources.TopicConstant topic_constant = 31; - - // The video referenced in the query. - google.ads.googleads.v12.resources.Video video = 39; - - // The webpage view referenced in the query. - google.ads.googleads.v12.resources.WebpageView webpage_view = 162; - - // The lead form user submission referenced in the query. - google.ads.googleads.v12.resources.LeadFormSubmissionData lead_form_submission_data = 192; - - // The metrics. - google.ads.googleads.v12.common.Metrics metrics = 4; - - // The segments. - google.ads.googleads.v12.common.Segments segments = 102; -} - -// Request message for [GoogleAdsService.Mutate][google.ads.googleads.v12.services.GoogleAdsService.Mutate]. -message MutateGoogleAdsRequest { - // Required. The ID of the customer whose resources are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual resources. - repeated MutateOperation mutate_operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. The mutable - // resource will only be returned if the resource has the appropriate response - // field. For example, MutateCampaignResult.campaign. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// Response message for [GoogleAdsService.Mutate][google.ads.googleads.v12.services.GoogleAdsService.Mutate]. -message MutateGoogleAdsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All responses for the mutate. - repeated MutateOperationResponse mutate_operation_responses = 1; -} - -// A single operation (create, update, remove) on a resource. -message MutateOperation { - // The mutate operation. - oneof operation { - // An ad group ad label mutate operation. - AdGroupAdLabelOperation ad_group_ad_label_operation = 17; - - // An ad group ad mutate operation. - AdGroupAdOperation ad_group_ad_operation = 1; - - // An ad group asset mutate operation. - AdGroupAssetOperation ad_group_asset_operation = 56; - - // An ad group bid modifier mutate operation. - AdGroupBidModifierOperation ad_group_bid_modifier_operation = 2; - - // An ad group criterion customizer mutate operation. - AdGroupCriterionCustomizerOperation ad_group_criterion_customizer_operation = 77; - - // An ad group criterion label mutate operation. - AdGroupCriterionLabelOperation ad_group_criterion_label_operation = 18; - - // An ad group criterion mutate operation. - AdGroupCriterionOperation ad_group_criterion_operation = 3; - - // An ad group customizer mutate operation. - AdGroupCustomizerOperation ad_group_customizer_operation = 75; - - // An ad group extension setting mutate operation. - AdGroupExtensionSettingOperation ad_group_extension_setting_operation = 19; - - // An ad group feed mutate operation. - AdGroupFeedOperation ad_group_feed_operation = 20; - - // An ad group label mutate operation. - AdGroupLabelOperation ad_group_label_operation = 21; - - // An ad group mutate operation. - AdGroupOperation ad_group_operation = 5; - - // An ad mutate operation. - AdOperation ad_operation = 49; - - // An ad parameter mutate operation. - AdParameterOperation ad_parameter_operation = 22; - - // An asset mutate operation. - AssetOperation asset_operation = 23; - - // An asset group asset mutate operation. - AssetGroupAssetOperation asset_group_asset_operation = 65; - - // An asset group listing group filter mutate operation. - AssetGroupListingGroupFilterOperation asset_group_listing_group_filter_operation = 78; - - // An asset group signal mutate operation. - AssetGroupSignalOperation asset_group_signal_operation = 80; - - // An asset group mutate operation. - AssetGroupOperation asset_group_operation = 62; - - // An asset set asset mutate operation. - AssetSetAssetOperation asset_set_asset_operation = 71; - - // An asset set mutate operation. - AssetSetOperation asset_set_operation = 72; - - // An audience mutate operation. - AudienceOperation audience_operation = 81; - - // A bidding data exclusion mutate operation. - BiddingDataExclusionOperation bidding_data_exclusion_operation = 58; - - // A bidding seasonality adjustment mutate operation. - BiddingSeasonalityAdjustmentOperation bidding_seasonality_adjustment_operation = 59; - - // A bidding strategy mutate operation. - BiddingStrategyOperation bidding_strategy_operation = 6; - - // A campaign asset mutate operation. - CampaignAssetOperation campaign_asset_operation = 52; - - // A campaign asset mutate operation. - CampaignAssetSetOperation campaign_asset_set_operation = 73; - - // A campaign bid modifier mutate operation. - CampaignBidModifierOperation campaign_bid_modifier_operation = 7; - - // A campaign budget mutate operation. - CampaignBudgetOperation campaign_budget_operation = 8; - - // A campaign conversion goal mutate operation. - CampaignConversionGoalOperation campaign_conversion_goal_operation = 67; - - // A campaign criterion mutate operation. - CampaignCriterionOperation campaign_criterion_operation = 13; - - // An campaign customizer mutate operation. - CampaignCustomizerOperation campaign_customizer_operation = 76; - - // A campaign draft mutate operation. - CampaignDraftOperation campaign_draft_operation = 24; - - // A campaign extension setting mutate operation. - CampaignExtensionSettingOperation campaign_extension_setting_operation = 26; - - // A campaign feed mutate operation. - CampaignFeedOperation campaign_feed_operation = 27; - - // A campaign group mutate operation. - CampaignGroupOperation campaign_group_operation = 9; - - // A campaign label mutate operation. - CampaignLabelOperation campaign_label_operation = 28; - - // A campaign mutate operation. - CampaignOperation campaign_operation = 10; - - // A campaign shared set mutate operation. - CampaignSharedSetOperation campaign_shared_set_operation = 11; - - // A conversion action mutate operation. - ConversionActionOperation conversion_action_operation = 12; - - // A conversion custom variable mutate operation. - ConversionCustomVariableOperation conversion_custom_variable_operation = 55; - - // A conversion goal campaign config mutate operation. - ConversionGoalCampaignConfigOperation conversion_goal_campaign_config_operation = 69; - - // A conversion value rule mutate operation. - ConversionValueRuleOperation conversion_value_rule_operation = 63; - - // A conversion value rule set mutate operation. - ConversionValueRuleSetOperation conversion_value_rule_set_operation = 64; - - // A custom conversion goal mutate operation. - CustomConversionGoalOperation custom_conversion_goal_operation = 68; - - // A customer asset mutate operation. - CustomerAssetOperation customer_asset_operation = 57; - - // A customer conversion goal mutate operation. - CustomerConversionGoalOperation customer_conversion_goal_operation = 66; - - // An customer customizer mutate operation. - CustomerCustomizerOperation customer_customizer_operation = 79; - - // A customer extension setting mutate operation. - CustomerExtensionSettingOperation customer_extension_setting_operation = 30; - - // A customer feed mutate operation. - CustomerFeedOperation customer_feed_operation = 31; - - // A customer label mutate operation. - CustomerLabelOperation customer_label_operation = 32; - - // A customer negative criterion mutate operation. - CustomerNegativeCriterionOperation customer_negative_criterion_operation = 34; - - // A customer mutate operation. - CustomerOperation customer_operation = 35; - - // An customizer attribute mutate operation. - CustomizerAttributeOperation customizer_attribute_operation = 70; - - // An experiment mutate operation. - ExperimentOperation experiment_operation = 82; - - // An experiment arm mutate operation. - ExperimentArmOperation experiment_arm_operation = 83; - - // An extension feed item mutate operation. - ExtensionFeedItemOperation extension_feed_item_operation = 36; - - // A feed item mutate operation. - FeedItemOperation feed_item_operation = 37; - - // A feed item set mutate operation. - FeedItemSetOperation feed_item_set_operation = 53; - - // A feed item set link mutate operation. - FeedItemSetLinkOperation feed_item_set_link_operation = 54; - - // A feed item target mutate operation. - FeedItemTargetOperation feed_item_target_operation = 38; - - // A feed mapping mutate operation. - FeedMappingOperation feed_mapping_operation = 39; - - // A feed mutate operation. - FeedOperation feed_operation = 40; - - // A keyword plan ad group operation. - KeywordPlanAdGroupOperation keyword_plan_ad_group_operation = 44; - - // A keyword plan ad group keyword operation. - KeywordPlanAdGroupKeywordOperation keyword_plan_ad_group_keyword_operation = 50; - - // A keyword plan campaign keyword operation. - KeywordPlanCampaignKeywordOperation keyword_plan_campaign_keyword_operation = 51; - - // A keyword plan campaign operation. - KeywordPlanCampaignOperation keyword_plan_campaign_operation = 45; - - // A keyword plan operation. - KeywordPlanOperation keyword_plan_operation = 48; - - // A label mutate operation. - LabelOperation label_operation = 41; - - // A media file mutate operation. - MediaFileOperation media_file_operation = 42; - - // A remarketing action mutate operation. - RemarketingActionOperation remarketing_action_operation = 43; - - // A shared criterion mutate operation. - SharedCriterionOperation shared_criterion_operation = 14; - - // A shared set mutate operation. - SharedSetOperation shared_set_operation = 15; - - // A Smart campaign setting mutate operation. - SmartCampaignSettingOperation smart_campaign_setting_operation = 61; - - // A user list mutate operation. - UserListOperation user_list_operation = 16; - } -} - -// Response message for the resource mutate. -message MutateOperationResponse { - // The mutate response. - oneof response { - // The result for the ad group ad label mutate. - MutateAdGroupAdLabelResult ad_group_ad_label_result = 17; - - // The result for the ad group ad mutate. - MutateAdGroupAdResult ad_group_ad_result = 1; - - // The result for the ad group asset mutate. - MutateAdGroupAssetResult ad_group_asset_result = 56; - - // The result for the ad group bid modifier mutate. - MutateAdGroupBidModifierResult ad_group_bid_modifier_result = 2; - - // The result for the ad group criterion customizer mutate. - MutateAdGroupCriterionCustomizerResult ad_group_criterion_customizer_result = 77; - - // The result for the ad group criterion label mutate. - MutateAdGroupCriterionLabelResult ad_group_criterion_label_result = 18; - - // The result for the ad group criterion mutate. - MutateAdGroupCriterionResult ad_group_criterion_result = 3; - - // The result for the ad group customizer mutate. - MutateAdGroupCustomizerResult ad_group_customizer_result = 75; - - // The result for the ad group extension setting mutate. - MutateAdGroupExtensionSettingResult ad_group_extension_setting_result = 19; - - // The result for the ad group feed mutate. - MutateAdGroupFeedResult ad_group_feed_result = 20; - - // The result for the ad group label mutate. - MutateAdGroupLabelResult ad_group_label_result = 21; - - // The result for the ad group mutate. - MutateAdGroupResult ad_group_result = 5; - - // The result for the ad parameter mutate. - MutateAdParameterResult ad_parameter_result = 22; - - // The result for the ad mutate. - MutateAdResult ad_result = 49; - - // The result for the asset mutate. - MutateAssetResult asset_result = 23; - - // The result for the asset group asset mutate. - MutateAssetGroupAssetResult asset_group_asset_result = 65; - - // The result for the asset group listing group filter mutate. - MutateAssetGroupListingGroupFilterResult asset_group_listing_group_filter_result = 78; - - // The result for the asset group signal mutate. - MutateAssetGroupSignalResult asset_group_signal_result = 79; - - // The result for the asset group mutate. - MutateAssetGroupResult asset_group_result = 62; - - // The result for the asset set asset mutate. - MutateAssetSetAssetResult asset_set_asset_result = 71; - - // The result for the asset set mutate. - MutateAssetSetResult asset_set_result = 72; - - // The result for the audience mutate. - MutateAudienceResult audience_result = 80; - - // The result for the bidding data exclusion mutate. - MutateBiddingDataExclusionsResult bidding_data_exclusion_result = 58; - - // The result for the bidding seasonality adjustment mutate. - MutateBiddingSeasonalityAdjustmentsResult bidding_seasonality_adjustment_result = 59; - - // The result for the bidding strategy mutate. - MutateBiddingStrategyResult bidding_strategy_result = 6; - - // The result for the campaign asset mutate. - MutateCampaignAssetResult campaign_asset_result = 52; - - // The result for the campaign asset set mutate. - MutateCampaignAssetSetResult campaign_asset_set_result = 73; - - // The result for the campaign bid modifier mutate. - MutateCampaignBidModifierResult campaign_bid_modifier_result = 7; - - // The result for the campaign budget mutate. - MutateCampaignBudgetResult campaign_budget_result = 8; - - // The result for the campaign conversion goal mutate. - MutateCampaignConversionGoalResult campaign_conversion_goal_result = 67; - - // The result for the campaign criterion mutate. - MutateCampaignCriterionResult campaign_criterion_result = 13; - - // The result for the campaign customizer mutate. - MutateCampaignCustomizerResult campaign_customizer_result = 76; - - // The result for the campaign draft mutate. - MutateCampaignDraftResult campaign_draft_result = 24; - - // The result for the campaign extension setting mutate. - MutateCampaignExtensionSettingResult campaign_extension_setting_result = 26; - - // The result for the campaign feed mutate. - MutateCampaignFeedResult campaign_feed_result = 27; - - // The result for the campaign group mutate. - MutateCampaignGroupResult campaign_group_result = 9; - - // The result for the campaign label mutate. - MutateCampaignLabelResult campaign_label_result = 28; - - // The result for the campaign mutate. - MutateCampaignResult campaign_result = 10; - - // The result for the campaign shared set mutate. - MutateCampaignSharedSetResult campaign_shared_set_result = 11; - - // The result for the conversion action mutate. - MutateConversionActionResult conversion_action_result = 12; - - // The result for the conversion custom variable mutate. - MutateConversionCustomVariableResult conversion_custom_variable_result = 55; - - // The result for the conversion goal campaign config mutate. - MutateConversionGoalCampaignConfigResult conversion_goal_campaign_config_result = 69; - - // The result for the conversion value rule mutate. - MutateConversionValueRuleResult conversion_value_rule_result = 63; - - // The result for the conversion value rule set mutate. - MutateConversionValueRuleSetResult conversion_value_rule_set_result = 64; - - // The result for the custom conversion goal mutate. - MutateCustomConversionGoalResult custom_conversion_goal_result = 68; - - // The result for the customer asset mutate. - MutateCustomerAssetResult customer_asset_result = 57; - - // The result for the customer conversion goal mutate. - MutateCustomerConversionGoalResult customer_conversion_goal_result = 66; - - // The result for the customer customizer mutate. - MutateCustomerCustomizerResult customer_customizer_result = 74; - - // The result for the customer extension setting mutate. - MutateCustomerExtensionSettingResult customer_extension_setting_result = 30; - - // The result for the customer feed mutate. - MutateCustomerFeedResult customer_feed_result = 31; - - // The result for the customer label mutate. - MutateCustomerLabelResult customer_label_result = 32; - - // The result for the customer negative criterion mutate. - MutateCustomerNegativeCriteriaResult customer_negative_criterion_result = 34; - - // The result for the customer mutate. - MutateCustomerResult customer_result = 35; - - // The result for the customizer attribute mutate. - MutateCustomizerAttributeResult customizer_attribute_result = 70; - - // The result for the experiment mutate. - MutateExperimentResult experiment_result = 81; - - // The result for the experiment arm mutate. - MutateExperimentArmResult experiment_arm_result = 82; - - // The result for the extension feed item mutate. - MutateExtensionFeedItemResult extension_feed_item_result = 36; - - // The result for the feed item mutate. - MutateFeedItemResult feed_item_result = 37; - - // The result for the feed item set mutate. - MutateFeedItemSetResult feed_item_set_result = 53; - - // The result for the feed item set link mutate. - MutateFeedItemSetLinkResult feed_item_set_link_result = 54; - - // The result for the feed item target mutate. - MutateFeedItemTargetResult feed_item_target_result = 38; - - // The result for the feed mapping mutate. - MutateFeedMappingResult feed_mapping_result = 39; - - // The result for the feed mutate. - MutateFeedResult feed_result = 40; - - // The result for the keyword plan ad group mutate. - MutateKeywordPlanAdGroupResult keyword_plan_ad_group_result = 44; - - // The result for the keyword plan campaign mutate. - MutateKeywordPlanCampaignResult keyword_plan_campaign_result = 45; - - // The result for the keyword plan ad group keyword mutate. - MutateKeywordPlanAdGroupKeywordResult keyword_plan_ad_group_keyword_result = 50; - - // The result for the keyword plan campaign keyword mutate. - MutateKeywordPlanCampaignKeywordResult keyword_plan_campaign_keyword_result = 51; - - // The result for the keyword plan mutate. - MutateKeywordPlansResult keyword_plan_result = 48; - - // The result for the label mutate. - MutateLabelResult label_result = 41; - - // The result for the media file mutate. - MutateMediaFileResult media_file_result = 42; - - // The result for the remarketing action mutate. - MutateRemarketingActionResult remarketing_action_result = 43; - - // The result for the shared criterion mutate. - MutateSharedCriterionResult shared_criterion_result = 14; - - // The result for the shared set mutate. - MutateSharedSetResult shared_set_result = 15; - - // The result for the Smart campaign setting mutate. - MutateSmartCampaignSettingResult smart_campaign_setting_result = 61; - - // The result for the user list mutate. - MutateUserListResult user_list_result = 16; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/invoice_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/invoice_service.proto deleted file mode 100644 index 93854872f..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/invoice_service.proto +++ /dev/null @@ -1,83 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/month_of_year.proto"; -import "google/ads/googleads/v12/resources/invoice.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "InvoiceServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the Invoice service. - -// A service to fetch invoices issued for a billing setup during a given month. -service InvoiceService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Returns all invoices associated with a billing setup, for a given month. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [InvoiceError]() - // [QuotaError]() - // [RequestError]() - rpc ListInvoices(ListInvoicesRequest) returns (ListInvoicesResponse) { - option (google.api.http) = { - get: "/v12/customers/{customer_id=*}/invoices" - }; - option (google.api.method_signature) = "customer_id,billing_setup,issue_year,issue_month"; - } -} - -// Request message for fetching the invoices of a given billing setup that were -// issued during a given month. -message ListInvoicesRequest { - // Required. The ID of the customer to fetch invoices for. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The billing setup resource name of the requested invoices. - // - // `customers/{customer_id}/billingSetups/{billing_setup_id}` - string billing_setup = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. The issue year to retrieve invoices, in yyyy format. Only - // invoices issued in 2019 or later can be retrieved. - string issue_year = 3 [(google.api.field_behavior) = REQUIRED]; - - // Required. The issue month to retrieve invoices. - google.ads.googleads.v12.enums.MonthOfYearEnum.MonthOfYear issue_month = 4 [(google.api.field_behavior) = REQUIRED]; -} - -// Response message for [InvoiceService.ListInvoices][google.ads.googleads.v12.services.InvoiceService.ListInvoices]. -message ListInvoicesResponse { - // The list of invoices that match the billing setup and time period. - repeated google.ads.googleads.v12.resources.Invoice invoices = 1; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/keyword_plan_ad_group_keyword_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/keyword_plan_ad_group_keyword_service.proto deleted file mode 100644 index 0a9014de9..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/keyword_plan_ad_group_keyword_service.proto +++ /dev/null @@ -1,139 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/keyword_plan_ad_group_keyword.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanAdGroupKeywordServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the keyword plan ad group keyword service. - -// Service to manage Keyword Plan ad group keywords. KeywordPlanAdGroup is -// required to add ad group keywords. Positive and negative keywords are -// supported. A maximum of 10,000 positive keywords are allowed per keyword -// plan. A maximum of 1,000 negative keywords are allower per keyword plan. This -// includes campaign negative keywords and ad group negative keywords. -service KeywordPlanAdGroupKeywordService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes Keyword Plan ad group keywords. Operation - // statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [KeywordPlanAdGroupKeywordError]() - // [KeywordPlanError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - rpc MutateKeywordPlanAdGroupKeywords(MutateKeywordPlanAdGroupKeywordsRequest) returns (MutateKeywordPlanAdGroupKeywordsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/keywordPlanAdGroupKeywords:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [KeywordPlanAdGroupKeywordService.MutateKeywordPlanAdGroupKeywords][google.ads.googleads.v12.services.KeywordPlanAdGroupKeywordService.MutateKeywordPlanAdGroupKeywords]. -message MutateKeywordPlanAdGroupKeywordsRequest { - // Required. The ID of the customer whose Keyword Plan ad group keywords are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual Keyword Plan ad group - // keywords. - repeated KeywordPlanAdGroupKeywordOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, update, remove) on a Keyword Plan ad group -// keyword. -message KeywordPlanAdGroupKeywordOperation { - // The FieldMask that determines which resource fields are modified in an - // update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new Keyword Plan - // ad group keyword. - google.ads.googleads.v12.resources.KeywordPlanAdGroupKeyword create = 1; - - // Update operation: The Keyword Plan ad group keyword is expected to have a - // valid resource name. - google.ads.googleads.v12.resources.KeywordPlanAdGroupKeyword update = 2; - - // Remove operation: A resource name for the removed Keyword Plan ad group - // keyword is expected, in this format: - // - // `customers/{customer_id}/keywordPlanAdGroupKeywords/{kp_ad_group_keyword_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlanAdGroupKeyword" - }]; - } -} - -// Response message for a Keyword Plan ad group keyword mutate. -message MutateKeywordPlanAdGroupKeywordsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateKeywordPlanAdGroupKeywordResult results = 2; -} - -// The result for the Keyword Plan ad group keyword mutate. -message MutateKeywordPlanAdGroupKeywordResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlanAdGroupKeyword" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/keyword_plan_ad_group_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/keyword_plan_ad_group_service.proto deleted file mode 100644 index 869c5ef62..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/keyword_plan_ad_group_service.proto +++ /dev/null @@ -1,134 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/keyword_plan_ad_group.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanAdGroupServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the keyword plan ad group service. - -// Service to manage Keyword Plan ad groups. -service KeywordPlanAdGroupService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes Keyword Plan ad groups. Operation statuses are - // returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [InternalError]() - // [KeywordPlanAdGroupError]() - // [KeywordPlanError]() - // [MutateError]() - // [NewResourceCreationError]() - // [QuotaError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - rpc MutateKeywordPlanAdGroups(MutateKeywordPlanAdGroupsRequest) returns (MutateKeywordPlanAdGroupsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/keywordPlanAdGroups:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [KeywordPlanAdGroupService.MutateKeywordPlanAdGroups][google.ads.googleads.v12.services.KeywordPlanAdGroupService.MutateKeywordPlanAdGroups]. -message MutateKeywordPlanAdGroupsRequest { - // Required. The ID of the customer whose Keyword Plan ad groups are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual Keyword Plan ad groups. - repeated KeywordPlanAdGroupOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, update, remove) on a Keyword Plan ad group. -message KeywordPlanAdGroupOperation { - // The FieldMask that determines which resource fields are modified in an - // update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new Keyword Plan - // ad group. - google.ads.googleads.v12.resources.KeywordPlanAdGroup create = 1; - - // Update operation: The Keyword Plan ad group is expected to have a valid - // resource name. - google.ads.googleads.v12.resources.KeywordPlanAdGroup update = 2; - - // Remove operation: A resource name for the removed Keyword Plan ad group - // is expected, in this format: - // - // `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlanAdGroup" - }]; - } -} - -// Response message for a Keyword Plan ad group mutate. -message MutateKeywordPlanAdGroupsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. The order of the results is determined by the - // order of the keywords in the original request. - repeated MutateKeywordPlanAdGroupResult results = 2; -} - -// The result for the Keyword Plan ad group mutate. -message MutateKeywordPlanAdGroupResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlanAdGroup" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/keyword_plan_campaign_keyword_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/keyword_plan_campaign_keyword_service.proto deleted file mode 100644 index 26ac9c565..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/keyword_plan_campaign_keyword_service.proto +++ /dev/null @@ -1,136 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/keyword_plan_campaign_keyword.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanCampaignKeywordServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the keyword plan campaign keyword service. - -// Service to manage Keyword Plan campaign keywords. KeywordPlanCampaign is -// required to add the campaign keywords. Only negative keywords are supported. -// A maximum of 1000 negative keywords are allowed per plan. This includes both -// campaign negative keywords and ad group negative keywords. -service KeywordPlanCampaignKeywordService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes Keyword Plan campaign keywords. Operation - // statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [KeywordPlanAdGroupKeywordError]() - // [KeywordPlanCampaignKeywordError]() - // [QuotaError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - rpc MutateKeywordPlanCampaignKeywords(MutateKeywordPlanCampaignKeywordsRequest) returns (MutateKeywordPlanCampaignKeywordsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/keywordPlanCampaignKeywords:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords][google.ads.googleads.v12.services.KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords]. -message MutateKeywordPlanCampaignKeywordsRequest { - // Required. The ID of the customer whose campaign keywords are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual Keyword Plan campaign - // keywords. - repeated KeywordPlanCampaignKeywordOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, update, remove) on a Keyword Plan campaign -// keyword. -message KeywordPlanCampaignKeywordOperation { - // The FieldMask that determines which resource fields are modified in an - // update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new Keyword Plan - // campaign keyword. - google.ads.googleads.v12.resources.KeywordPlanCampaignKeyword create = 1; - - // Update operation: The Keyword Plan campaign keyword expected to have a - // valid resource name. - google.ads.googleads.v12.resources.KeywordPlanCampaignKeyword update = 2; - - // Remove operation: A resource name for the removed Keyword Plan campaign - // keywords expected in this format: - // - // `customers/{customer_id}/keywordPlanCampaignKeywords/{kp_campaign_keyword_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlanCampaignKeyword" - }]; - } -} - -// Response message for a Keyword Plan campaign keyword mutate. -message MutateKeywordPlanCampaignKeywordsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateKeywordPlanCampaignKeywordResult results = 2; -} - -// The result for the Keyword Plan campaign keyword mutate. -message MutateKeywordPlanCampaignKeywordResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlanCampaignKeyword" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/keyword_plan_campaign_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/keyword_plan_campaign_service.proto deleted file mode 100644 index 3e38b7adb..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/keyword_plan_campaign_service.proto +++ /dev/null @@ -1,135 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/keyword_plan_campaign.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanCampaignServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the keyword plan campaign service. - -// Service to manage Keyword Plan campaigns. -service KeywordPlanCampaignService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes Keyword Plan campaigns. Operation statuses are - // returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [InternalError]() - // [KeywordPlanCampaignError]() - // [KeywordPlanError]() - // [ListOperationError]() - // [MutateError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - rpc MutateKeywordPlanCampaigns(MutateKeywordPlanCampaignsRequest) returns (MutateKeywordPlanCampaignsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/keywordPlanCampaigns:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [KeywordPlanCampaignService.MutateKeywordPlanCampaigns][google.ads.googleads.v12.services.KeywordPlanCampaignService.MutateKeywordPlanCampaigns]. -message MutateKeywordPlanCampaignsRequest { - // Required. The ID of the customer whose Keyword Plan campaigns are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual Keyword Plan campaigns. - repeated KeywordPlanCampaignOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, update, remove) on a Keyword Plan campaign. -message KeywordPlanCampaignOperation { - // The FieldMask that determines which resource fields are modified in an - // update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new Keyword Plan - // campaign. - google.ads.googleads.v12.resources.KeywordPlanCampaign create = 1; - - // Update operation: The Keyword Plan campaign is expected to have a valid - // resource name. - google.ads.googleads.v12.resources.KeywordPlanCampaign update = 2; - - // Remove operation: A resource name for the removed Keyword Plan campaign - // is expected, in this format: - // - // `customers/{customer_id}/keywordPlanCampaigns/{keywordPlan_campaign_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlanCampaign" - }]; - } -} - -// Response message for a Keyword Plan campaign mutate. -message MutateKeywordPlanCampaignsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateKeywordPlanCampaignResult results = 2; -} - -// The result for the Keyword Plan campaign mutate. -message MutateKeywordPlanCampaignResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlanCampaign" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/keyword_plan_idea_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/keyword_plan_idea_service.proto deleted file mode 100644 index 0d502fa2c..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/keyword_plan_idea_service.proto +++ /dev/null @@ -1,353 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/common/keyword_plan_common.proto"; -import "google/ads/googleads/v12/enums/keyword_match_type.proto"; -import "google/ads/googleads/v12/enums/keyword_plan_keyword_annotation.proto"; -import "google/ads/googleads/v12/enums/keyword_plan_network.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanIdeaServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the keyword plan idea service. - -// Service to generate keyword ideas. -service KeywordPlanIdeaService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Returns a list of keyword ideas. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [HeaderError]() - // [InternalError]() - // [KeywordPlanIdeaError]() - // [QuotaError]() - // [RequestError]() - rpc GenerateKeywordIdeas(GenerateKeywordIdeasRequest) returns (GenerateKeywordIdeaResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}:generateKeywordIdeas" - body: "*" - }; - } - - // Returns a list of keyword historical metrics. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc GenerateKeywordHistoricalMetrics(GenerateKeywordHistoricalMetricsRequest) returns (GenerateKeywordHistoricalMetricsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}:generateKeywordHistoricalMetrics" - body: "*" - }; - } - - // Returns a list of suggested AdGroups and suggested modifications - // (text, match type) for the given keywords. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc GenerateAdGroupThemes(GenerateAdGroupThemesRequest) returns (GenerateAdGroupThemesResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}:generateAdGroupThemes" - body: "*" - }; - } -} - -// Request message for [KeywordPlanIdeaService.GenerateKeywordIdeas][google.ads.googleads.v12.services.KeywordPlanIdeaService.GenerateKeywordIdeas]. -message GenerateKeywordIdeasRequest { - // The ID of the customer with the recommendation. - string customer_id = 1; - - // The resource name of the language to target. - // Each keyword belongs to some set of languages; a keyword is included if - // language is one of its languages. - // If not set, all keywords will be included. - optional string language = 14; - - // The resource names of the location to target. Maximum is 10. - // An empty list MAY be used to specify all targeting geos. - repeated string geo_target_constants = 15; - - // If true, adult keywords will be included in response. - // The default value is false. - bool include_adult_keywords = 10; - - // Token of the page to retrieve. If not specified, the first - // page of results will be returned. To request next page of results use the - // value obtained from `next_page_token` in the previous response. - // The request fields must match across pages. - string page_token = 12; - - // Number of results to retrieve in a single page. - // A maximum of 10,000 results may be returned, if the page_size - // exceeds this, it is ignored. - // If unspecified, at most 10,000 results will be returned. - // The server may decide to further limit the number of returned resources. - // If the response contains fewer than 10,000 results it may not be assumed - // as last page of results. - int32 page_size = 13; - - // Targeting network. - // If not set, Google Search And Partners Network will be used. - google.ads.googleads.v12.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork keyword_plan_network = 9; - - // The keyword annotations to include in response. - repeated google.ads.googleads.v12.enums.KeywordPlanKeywordAnnotationEnum.KeywordPlanKeywordAnnotation keyword_annotation = 17; - - // The aggregate fields to include in response. - google.ads.googleads.v12.common.KeywordPlanAggregateMetrics aggregate_metrics = 16; - - // The options for historical metrics data. - google.ads.googleads.v12.common.HistoricalMetricsOptions historical_metrics_options = 18; - - // The type of seed to generate keyword ideas. - oneof seed { - // A Keyword and a specific Url to generate ideas from - // for example, cars, www.example.com/cars. - KeywordAndUrlSeed keyword_and_url_seed = 2; - - // A Keyword or phrase to generate ideas from, for example, cars. - KeywordSeed keyword_seed = 3; - - // A specific url to generate ideas from, for example, www.example.com/cars. - UrlSeed url_seed = 5; - - // The site to generate ideas from, for example, www.example.com. - SiteSeed site_seed = 11; - } -} - -// Keyword And Url Seed -message KeywordAndUrlSeed { - // The URL to crawl in order to generate keyword ideas. - optional string url = 3; - - // Requires at least one keyword. - repeated string keywords = 4; -} - -// Keyword Seed -message KeywordSeed { - // Requires at least one keyword. - repeated string keywords = 2; -} - -// Site Seed -message SiteSeed { - // The domain name of the site. If the customer requesting the ideas doesn't - // own the site provided only public information is returned. - optional string site = 2; -} - -// Url Seed -message UrlSeed { - // The URL to crawl in order to generate keyword ideas. - optional string url = 2; -} - -// Response message for [KeywordPlanIdeaService.GenerateKeywordIdeas][google.ads.googleads.v12.services.KeywordPlanIdeaService.GenerateKeywordIdeas]. -message GenerateKeywordIdeaResponse { - // Results of generating keyword ideas. - repeated GenerateKeywordIdeaResult results = 1; - - // The aggregate metrics for all keyword ideas. - google.ads.googleads.v12.common.KeywordPlanAggregateMetricResults aggregate_metric_results = 4; - - // Pagination token used to retrieve the next page of results. - // Pass the content of this string as the `page_token` attribute of - // the next request. - // `next_page_token` is not returned for the last page. - string next_page_token = 2; - - // Total number of results available. - int64 total_size = 3; -} - -// The result of generating keyword ideas. -message GenerateKeywordIdeaResult { - // Text of the keyword idea. - // As in Keyword Plan historical metrics, this text may not be an actual - // keyword, but the canonical form of multiple keywords. - // See KeywordPlanKeywordHistoricalMetrics message in KeywordPlanService. - optional string text = 5; - - // The historical metrics for the keyword. - google.ads.googleads.v12.common.KeywordPlanHistoricalMetrics keyword_idea_metrics = 3; - - // The annotations for the keyword. - // The annotation data is only provided if requested. - google.ads.googleads.v12.common.KeywordAnnotations keyword_annotations = 6; - - // The list of close variants from the requested keywords that - // are combined into this GenerateKeywordIdeaResult. See - // https://support.google.com/google-ads/answer/9342105 for the - // definition of "close variants". - repeated string close_variants = 7; -} - -// Request message for -// [KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics][google.ads.googleads.v12.services.KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics]. -message GenerateKeywordHistoricalMetricsRequest { - // The ID of the customer with the recommendation. - string customer_id = 1; - - // A list of keywords to get historical metrics. - // Not all inputs will be returned as a result of near-exact deduplication. - // For example, if stats for "car" and "cars" are requested, only "car" will - // be returned. - // A maximum of 10,000 keywords can be used. - repeated string keywords = 2; - - // The resource name of the language to target. - // Each keyword belongs to some set of languages; a keyword is included if - // language is one of its languages. - // If not set, all keywords will be included. - optional string language = 4; - - // If true, adult keywords will be included in response. - // The default value is false. - bool include_adult_keywords = 5; - - // The resource names of the location to target. Maximum is 10. - // An empty list MAY be used to specify all targeting geos. - repeated string geo_target_constants = 6; - - // Targeting network. - // If not set, Google Search And Partners Network will be used. - google.ads.googleads.v12.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork keyword_plan_network = 7; - - // The aggregate fields to include in response. - google.ads.googleads.v12.common.KeywordPlanAggregateMetrics aggregate_metrics = 8; - - // The options for historical metrics data. - google.ads.googleads.v12.common.HistoricalMetricsOptions historical_metrics_options = 3; -} - -// Response message for -// [KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics][google.ads.googleads.v12.services.KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics]. -message GenerateKeywordHistoricalMetricsResponse { - // List of keywords and their historical metrics. - repeated GenerateKeywordHistoricalMetricsResult results = 1; - - // The aggregate metrics for all keywords. - google.ads.googleads.v12.common.KeywordPlanAggregateMetricResults aggregate_metric_results = 2; -} - -// The result of generating keyword historical metrics. -message GenerateKeywordHistoricalMetricsResult { - // The text of the query associated with one or more keywords. - // Note that we de-dupe your keywords list, eliminating close variants - // before returning the keywords as text. For example, if your request - // originally contained the keywords "car" and "cars", the returned search - // query will only contain "cars". The list of de-duped queries will be - // included in close_variants field. - optional string text = 1; - - // The list of close variants from the requested keywords whose stats - // are combined into this GenerateKeywordHistoricalMetricsResult. - repeated string close_variants = 3; - - // The historical metrics for text and its close variants - google.ads.googleads.v12.common.KeywordPlanHistoricalMetrics keyword_metrics = 2; -} - -// Request message for -// [KeywordPlanIdeaService.GenerateAdGroupThemes][google.ads.googleads.v12.services.KeywordPlanIdeaService.GenerateAdGroupThemes]. -message GenerateAdGroupThemesRequest { - // Required. The ID of the customer. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. A list of keywords to group into the provided AdGroups. - repeated string keywords = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. A list of resource names of AdGroups to group keywords into. - // Resource name format: `customers/{customer_id}/adGroups/{ad_group_id}` - repeated string ad_groups = 3 [(google.api.field_behavior) = REQUIRED]; -} - -// Response message for -// [KeywordPlanIdeaService.GenerateAdGroupThemes][google.ads.googleads.v12.services.KeywordPlanIdeaService.GenerateAdGroupThemes]. -message GenerateAdGroupThemesResponse { - // A list of suggested AdGroup/keyword pairings. - repeated AdGroupKeywordSuggestion ad_group_keyword_suggestions = 1; - - // A list of provided AdGroups that could not be used as suggestions. - repeated UnusableAdGroup unusable_ad_groups = 2; -} - -// The suggested text and AdGroup/Campaign pairing for a given keyword. -message AdGroupKeywordSuggestion { - // The original keyword text. - string keyword_text = 1; - - // The normalized version of keyword_text for BROAD/EXACT/PHRASE suggestions. - string suggested_keyword_text = 2; - - // The suggested keyword match type. - google.ads.googleads.v12.enums.KeywordMatchTypeEnum.KeywordMatchType suggested_match_type = 3; - - // The suggested AdGroup for the keyword. - // Resource name format: `customers/{customer_id}/adGroups/{ad_group_id}` - string suggested_ad_group = 4; - - // The suggested Campaign for the keyword. - // Resource name format: `customers/{customer_id}/campaigns/{campaign_id}` - string suggested_campaign = 5; -} - -// An AdGroup/Campaign pair that could not be used as a suggestion for keywords. -// -// AdGroups may not be usable if the AdGroup -// -// * belongs to a Campaign that is not ENABLED or PAUSED -// * is itself not ENABLED -message UnusableAdGroup { - // The AdGroup resource name. - // Resource name format: `customers/{customer_id}/adGroups/{ad_group_id}` - string ad_group = 1; - - // The Campaign resource name. - // Resource name format: `customers/{customer_id}/campaigns/{campaign_id}` - string campaign = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/keyword_plan_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/keyword_plan_service.proto deleted file mode 100644 index 2961ca07b..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/keyword_plan_service.proto +++ /dev/null @@ -1,421 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/common/keyword_plan_common.proto"; -import "google/ads/googleads/v12/resources/keyword_plan.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the keyword plan service. - -// Service to manage keyword plans. -service KeywordPlanService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes keyword plans. Operation statuses are - // returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [KeywordPlanError]() - // [MutateError]() - // [NewResourceCreationError]() - // [QuotaError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - // [StringLengthError]() - rpc MutateKeywordPlans(MutateKeywordPlansRequest) returns (MutateKeywordPlansResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/keywordPlans:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } - - // Returns the requested Keyword Plan forecast curve. - // Only the bidding strategy is considered for generating forecast curve. - // The bidding strategy value specified in the plan is ignored. - // - // To generate a forecast at a value specified in the plan, use - // KeywordPlanService.GenerateForecastMetrics. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [KeywordPlanError]() - // [QuotaError]() - // [RequestError]() - rpc GenerateForecastCurve(GenerateForecastCurveRequest) returns (GenerateForecastCurveResponse) { - option (google.api.http) = { - post: "/v12/{keyword_plan=customers/*/keywordPlans/*}:generateForecastCurve" - body: "*" - }; - option (google.api.method_signature) = "keyword_plan"; - } - - // Returns a forecast in the form of a time series for the Keyword Plan over - // the next 52 weeks. - // (1) Forecasts closer to the current date are generally more accurate than - // further out. - // - // (2) The forecast reflects seasonal trends using current and - // prior traffic patterns. The forecast period of the plan is ignored. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [KeywordPlanError]() - // [QuotaError]() - // [RequestError]() - rpc GenerateForecastTimeSeries(GenerateForecastTimeSeriesRequest) returns (GenerateForecastTimeSeriesResponse) { - option (google.api.http) = { - post: "/v12/{keyword_plan=customers/*/keywordPlans/*}:generateForecastTimeSeries" - body: "*" - }; - option (google.api.method_signature) = "keyword_plan"; - } - - // Returns the requested Keyword Plan forecasts. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [KeywordPlanError]() - // [QuotaError]() - // [RequestError]() - rpc GenerateForecastMetrics(GenerateForecastMetricsRequest) returns (GenerateForecastMetricsResponse) { - option (google.api.http) = { - post: "/v12/{keyword_plan=customers/*/keywordPlans/*}:generateForecastMetrics" - body: "*" - }; - option (google.api.method_signature) = "keyword_plan"; - } - - // Returns the requested Keyword Plan historical metrics. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [KeywordPlanError]() - // [QuotaError]() - // [RequestError]() - rpc GenerateHistoricalMetrics(GenerateHistoricalMetricsRequest) returns (GenerateHistoricalMetricsResponse) { - option (google.api.http) = { - post: "/v12/{keyword_plan=customers/*/keywordPlans/*}:generateHistoricalMetrics" - body: "*" - }; - option (google.api.method_signature) = "keyword_plan"; - } -} - -// Request message for [KeywordPlanService.MutateKeywordPlans][google.ads.googleads.v12.services.KeywordPlanService.MutateKeywordPlans]. -message MutateKeywordPlansRequest { - // Required. The ID of the customer whose keyword plans are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual keyword plans. - repeated KeywordPlanOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, update, remove) on a keyword plan. -message KeywordPlanOperation { - // The FieldMask that determines which resource fields are modified in an - // update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new keyword plan. - google.ads.googleads.v12.resources.KeywordPlan create = 1; - - // Update operation: The keyword plan is expected to have a valid resource - // name. - google.ads.googleads.v12.resources.KeywordPlan update = 2; - - // Remove operation: A resource name for the removed keyword plan is - // expected in this format: - // - // `customers/{customer_id}/keywordPlans/{keyword_plan_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlan" - }]; - } -} - -// Response message for a keyword plan mutate. -message MutateKeywordPlansResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateKeywordPlansResult results = 2; -} - -// The result for the keyword plan mutate. -message MutateKeywordPlansResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlan" - }]; -} - -// Request message for [KeywordPlanService.GenerateForecastCurve][google.ads.googleads.v12.services.KeywordPlanService.GenerateForecastCurve]. -message GenerateForecastCurveRequest { - // Required. The resource name of the keyword plan to be forecasted. - string keyword_plan = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlan" - } - ]; -} - -// Response message for [KeywordPlanService.GenerateForecastCurve][google.ads.googleads.v12.services.KeywordPlanService.GenerateForecastCurve]. -message GenerateForecastCurveResponse { - // List of forecast curves for the keyword plan campaign. - // One maximum. - repeated KeywordPlanCampaignForecastCurve campaign_forecast_curves = 1; -} - -// Request message for [KeywordPlanService.GenerateForecastTimeSeries][google.ads.googleads.v12.services.KeywordPlanService.GenerateForecastTimeSeries]. -message GenerateForecastTimeSeriesRequest { - // Required. The resource name of the keyword plan to be forecasted. - string keyword_plan = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlan" - } - ]; -} - -// Response message for [KeywordPlanService.GenerateForecastTimeSeries][google.ads.googleads.v12.services.KeywordPlanService.GenerateForecastTimeSeries]. -message GenerateForecastTimeSeriesResponse { - // List of weekly time series forecasts for the keyword plan campaign. - // One maximum. - repeated KeywordPlanWeeklyTimeSeriesForecast weekly_time_series_forecasts = 1; -} - -// Request message for [KeywordPlanService.GenerateForecastMetrics][google.ads.googleads.v12.services.KeywordPlanService.GenerateForecastMetrics]. -message GenerateForecastMetricsRequest { - // Required. The resource name of the keyword plan to be forecasted. - string keyword_plan = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlan" - } - ]; -} - -// Response message for [KeywordPlanService.GenerateForecastMetrics][google.ads.googleads.v12.services.KeywordPlanService.GenerateForecastMetrics]. -message GenerateForecastMetricsResponse { - // List of campaign forecasts. - // One maximum. - repeated KeywordPlanCampaignForecast campaign_forecasts = 1; - - // List of ad group forecasts. - repeated KeywordPlanAdGroupForecast ad_group_forecasts = 2; - - // List of keyword forecasts. - repeated KeywordPlanKeywordForecast keyword_forecasts = 3; -} - -// A campaign forecast. -message KeywordPlanCampaignForecast { - // The resource name of the Keyword Plan campaign related to the forecast. - // - // `customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}` - optional string keyword_plan_campaign = 3; - - // The forecast for the Keyword Plan campaign. - ForecastMetrics campaign_forecast = 2; -} - -// An ad group forecast. -message KeywordPlanAdGroupForecast { - // The resource name of the Keyword Plan ad group related to the forecast. - // - // `customers/{customer_id}/keywordPlanAdGroups/{keyword_plan_ad_group_id}` - optional string keyword_plan_ad_group = 3; - - // The forecast for the Keyword Plan ad group. - ForecastMetrics ad_group_forecast = 2; -} - -// A keyword forecast. -message KeywordPlanKeywordForecast { - // The resource name of the Keyword Plan keyword related to the forecast. - // - // `customers/{customer_id}/keywordPlanAdGroupKeywords/{keyword_plan_ad_group_keyword_id}` - optional string keyword_plan_ad_group_keyword = 3; - - // The forecast for the Keyword Plan keyword. - ForecastMetrics keyword_forecast = 2; -} - -// The forecast curve for the campaign. -message KeywordPlanCampaignForecastCurve { - // The resource name of the Keyword Plan campaign related to the forecast. - // - // `customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}` - optional string keyword_plan_campaign = 3; - - // The max cpc bid forecast curve for the campaign. - KeywordPlanMaxCpcBidForecastCurve max_cpc_bid_forecast_curve = 2; -} - -// The max cpc bid forecast curve. -message KeywordPlanMaxCpcBidForecastCurve { - // The forecasts for the Keyword Plan campaign at different max CPC bids. - repeated KeywordPlanMaxCpcBidForecast max_cpc_bid_forecasts = 1; -} - -// The forecast of the campaign at a specific bid. -message KeywordPlanMaxCpcBidForecast { - // The max cpc bid in micros. - optional int64 max_cpc_bid_micros = 3; - - // The forecast for the Keyword Plan campaign at the specific bid. - ForecastMetrics max_cpc_bid_forecast = 2; -} - -// The weekly time series forecast for the keyword plan campaign. -message KeywordPlanWeeklyTimeSeriesForecast { - // The resource name of the Keyword Plan campaign related to the forecast. - // - // `customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}` - optional string keyword_plan_campaign = 1; - - // The forecasts for the Keyword Plan campaign at different max CPC bids. - repeated KeywordPlanWeeklyForecast weekly_forecasts = 2; -} - -// The forecast of the campaign for the week starting start_date. -message KeywordPlanWeeklyForecast { - // The start date, in yyyy-mm-dd format. This date is inclusive. - optional string start_date = 1; - - // The forecast for the Keyword Plan campaign for the week. - ForecastMetrics forecast = 2; -} - -// Forecast metrics. -message ForecastMetrics { - // Impressions - optional double impressions = 7; - - // Ctr - optional double ctr = 8; - - // AVG cpc - optional int64 average_cpc = 9; - - // Clicks - optional double clicks = 10; - - // Cost - optional int64 cost_micros = 11; -} - -// Request message for [KeywordPlanService.GenerateHistoricalMetrics][google.ads.googleads.v12.services.KeywordPlanService.GenerateHistoricalMetrics]. -message GenerateHistoricalMetricsRequest { - // Required. The resource name of the keyword plan of which historical metrics are - // requested. - string keyword_plan = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlan" - } - ]; - - // The aggregate fields to include in response. - google.ads.googleads.v12.common.KeywordPlanAggregateMetrics aggregate_metrics = 2; - - // The options for historical metrics data. - google.ads.googleads.v12.common.HistoricalMetricsOptions historical_metrics_options = 3; -} - -// Response message for [KeywordPlanService.GenerateHistoricalMetrics][google.ads.googleads.v12.services.KeywordPlanService.GenerateHistoricalMetrics]. -message GenerateHistoricalMetricsResponse { - // List of keyword historical metrics. - repeated KeywordPlanKeywordHistoricalMetrics metrics = 1; - - // The aggregate metrics for all the keywords in the keyword planner plan. - google.ads.googleads.v12.common.KeywordPlanAggregateMetricResults aggregate_metric_results = 2; -} - -// A keyword historical metrics. -message KeywordPlanKeywordHistoricalMetrics { - // The text of the query associated with one or more ad_group_keywords in the - // plan. - // - // Note that we de-dupe your keywords list, eliminating close variants before - // returning the plan's keywords as text. For example, if your plan originally - // contained the keywords 'car' and 'cars', the returned search query will - // only contain 'cars'. - // Starting V5, the list of de-duped queries will be included in - // close_variants field. - optional string search_query = 4; - - // The list of close variant queries for search_query whose search results - // are combined into the search_query. - repeated string close_variants = 3; - - // The historical metrics for the query associated with one or more - // ad_group_keywords in the plan. - google.ads.googleads.v12.common.KeywordPlanHistoricalMetrics keyword_metrics = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/keyword_theme_constant_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/keyword_theme_constant_service.proto deleted file mode 100644 index d85388eb3..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/keyword_theme_constant_service.proto +++ /dev/null @@ -1,77 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/keyword_theme_constant.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "KeywordThemeConstantServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the Smart Campaign keyword theme constant service. - -// Service to fetch Smart Campaign keyword themes. -service KeywordThemeConstantService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Returns KeywordThemeConstant suggestions by keyword themes. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc SuggestKeywordThemeConstants(SuggestKeywordThemeConstantsRequest) returns (SuggestKeywordThemeConstantsResponse) { - option (google.api.http) = { - post: "/v12/keywordThemeConstants:suggest" - body: "*" - }; - } -} - -// Request message for -// [KeywordThemeConstantService.SuggestKeywordThemeConstants][google.ads.googleads.v12.services.KeywordThemeConstantService.SuggestKeywordThemeConstants]. -message SuggestKeywordThemeConstantsRequest { - // The query text of a keyword theme that will be used to map to similar - // keyword themes. For example, "plumber" or "roofer". - string query_text = 1; - - // Upper-case, two-letter country code as defined by ISO-3166. This for - // refining the scope of the query, default to 'US' if not set. - string country_code = 2; - - // The two letter language code for get corresponding keyword theme for - // refining the scope of the query, default to 'en' if not set. - string language_code = 3; -} - -// Response message for -// [KeywordThemeConstantService.SuggestKeywordThemeConstants][google.ads.googleads.v12.services.KeywordThemeConstantService.SuggestKeywordThemeConstants]. -message SuggestKeywordThemeConstantsResponse { - // Smart Campaign keyword theme suggestions. - repeated google.ads.googleads.v12.resources.KeywordThemeConstant keyword_theme_constants = 1; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/label_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/label_service.proto deleted file mode 100644 index 6b6bfe427..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/label_service.proto +++ /dev/null @@ -1,145 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/label.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "LabelServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Service to manage labels. -service LabelService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes labels. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [DateError]() - // [DistinctError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [LabelError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [NullError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - rpc MutateLabels(MutateLabelsRequest) returns (MutateLabelsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/labels:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [LabelService.MutateLabels][google.ads.googleads.v12.services.LabelService.MutateLabels]. -message MutateLabelsRequest { - // Required. ID of the customer whose labels are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on labels. - repeated LabelOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, remove, update) on a label. -message LabelOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new label. - google.ads.googleads.v12.resources.Label create = 1; - - // Update operation: The label is expected to have a valid resource name. - google.ads.googleads.v12.resources.Label update = 2; - - // Remove operation: A resource name for the label being removed, in - // this format: - // - // `customers/{customer_id}/labels/{label_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Label" - }]; - } -} - -// Response message for a labels mutate. -message MutateLabelsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateLabelResult results = 2; -} - -// The result for a label mutate. -message MutateLabelResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Label" - }]; - - // The mutated label with only mutable fields after mutate. The field will - // only be returned when response_content_type is set to "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.Label label = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/media_file_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/media_file_service.proto deleted file mode 100644 index c052705e3..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/media_file_service.proto +++ /dev/null @@ -1,131 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/media_file.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "MediaFileServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the Media File service. - -// Service to manage media files. -service MediaFileService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates media files. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [DistinctError]() - // [FieldError]() - // [HeaderError]() - // [IdError]() - // [ImageError]() - // [InternalError]() - // [MediaBundleError]() - // [MediaFileError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [NullError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - rpc MutateMediaFiles(MutateMediaFilesRequest) returns (MutateMediaFilesResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/mediaFiles:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [MediaFileService.MutateMediaFiles][google.ads.googleads.v12.services.MediaFileService.MutateMediaFiles] -message MutateMediaFilesRequest { - // Required. The ID of the customer whose media files are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual media file. - repeated MediaFileOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation to create media file. -message MediaFileOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new media file. - google.ads.googleads.v12.resources.MediaFile create = 1; - } -} - -// Response message for a media file mutate. -message MutateMediaFilesResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateMediaFileResult results = 2; -} - -// The result for the media file mutate. -message MutateMediaFileResult { - // The resource name returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/MediaFile" - }]; - - // The mutated media file with only mutable fields after mutate. The field - // will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.MediaFile media_file = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/merchant_center_link_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/merchant_center_link_service.proto deleted file mode 100644 index a5d5aec9b..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/merchant_center_link_service.proto +++ /dev/null @@ -1,164 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/merchant_center_link.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "MerchantCenterLinkServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the MerchantCenterLink service. - -// This service allows management of links between Google Ads and Google -// Merchant Center. -service MerchantCenterLinkService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Returns Merchant Center links available for this customer. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc ListMerchantCenterLinks(ListMerchantCenterLinksRequest) returns (ListMerchantCenterLinksResponse) { - option (google.api.http) = { - get: "/v12/customers/{customer_id=*}/merchantCenterLinks" - }; - option (google.api.method_signature) = "customer_id"; - } - - // Returns the Merchant Center link in full detail. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc GetMerchantCenterLink(GetMerchantCenterLinkRequest) returns (google.ads.googleads.v12.resources.MerchantCenterLink) { - option (google.api.http) = { - get: "/v12/{resource_name=customers/*/merchantCenterLinks/*}" - }; - option (google.api.method_signature) = "resource_name"; - } - - // Updates status or removes a Merchant Center link. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [FieldMaskError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc MutateMerchantCenterLink(MutateMerchantCenterLinkRequest) returns (MutateMerchantCenterLinkResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/merchantCenterLinks:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operation"; - } -} - -// Request message for [MerchantCenterLinkService.ListMerchantCenterLinks][google.ads.googleads.v12.services.MerchantCenterLinkService.ListMerchantCenterLinks]. -message ListMerchantCenterLinksRequest { - // Required. The ID of the customer onto which to apply the Merchant Center link list - // operation. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; -} - -// Response message for [MerchantCenterLinkService.ListMerchantCenterLinks][google.ads.googleads.v12.services.MerchantCenterLinkService.ListMerchantCenterLinks]. -message ListMerchantCenterLinksResponse { - // Merchant Center links available for the requested customer - repeated google.ads.googleads.v12.resources.MerchantCenterLink merchant_center_links = 1; -} - -// Request message for [MerchantCenterLinkService.GetMerchantCenterLink][google.ads.googleads.v12.services.MerchantCenterLinkService.GetMerchantCenterLink]. -message GetMerchantCenterLinkRequest { - // Required. Resource name of the Merchant Center link. - string resource_name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/MerchantCenterLink" - } - ]; -} - -// Request message for [MerchantCenterLinkService.MutateMerchantCenterLink][google.ads.googleads.v12.services.MerchantCenterLinkService.MutateMerchantCenterLink]. -message MutateMerchantCenterLinkRequest { - // Required. The ID of the customer being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The operation to perform on the link - MerchantCenterLinkOperation operation = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; -} - -// A single update on a Merchant Center link. -message MerchantCenterLinkOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 3; - - // The operation to perform - oneof operation { - // Update operation: The merchant center link is expected to have a valid - // resource name. - google.ads.googleads.v12.resources.MerchantCenterLink update = 1; - - // Remove operation: A resource name for the removed merchant center link is - // expected, in this format: - // - // `customers/{customer_id}/merchantCenterLinks/{merchant_center_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/MerchantCenterLink" - }]; - } -} - -// Response message for Merchant Center link mutate. -message MutateMerchantCenterLinkResponse { - // Result for the mutate. - MutateMerchantCenterLinkResult result = 2; -} - -// The result for the Merchant Center link mutate. -message MutateMerchantCenterLinkResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/MerchantCenterLink" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/offline_user_data_job_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/offline_user_data_job_service.proto deleted file mode 100644 index efb48522b..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/offline_user_data_job_service.proto +++ /dev/null @@ -1,212 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/common/offline_user_data.proto"; -import "google/ads/googleads/v12/resources/offline_user_data_job.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/longrunning/operations.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "OfflineUserDataJobServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the OfflineUserDataJobService. - -// Service to manage offline user data jobs. -service OfflineUserDataJobService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates an offline user data job. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [NotAllowlistedError]() - // [OfflineUserDataJobError]() - // [QuotaError]() - // [RequestError]() - rpc CreateOfflineUserDataJob(CreateOfflineUserDataJobRequest) returns (CreateOfflineUserDataJobResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/offlineUserDataJobs:create" - body: "*" - }; - option (google.api.method_signature) = "customer_id,job"; - } - - // Adds operations to the offline user data job. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [OfflineUserDataJobError]() - // [QuotaError]() - // [RequestError]() - rpc AddOfflineUserDataJobOperations(AddOfflineUserDataJobOperationsRequest) returns (AddOfflineUserDataJobOperationsResponse) { - option (google.api.http) = { - post: "/v12/{resource_name=customers/*/offlineUserDataJobs/*}:addOperations" - body: "*" - }; - option (google.api.method_signature) = "resource_name,operations"; - } - - // Runs the offline user data job. - // - // When finished, the long running operation will contain the processing - // result or failure information, if any. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [HeaderError]() - // [InternalError]() - // [OfflineUserDataJobError]() - // [QuotaError]() - // [RequestError]() - rpc RunOfflineUserDataJob(RunOfflineUserDataJobRequest) returns (google.longrunning.Operation) { - option (google.api.http) = { - post: "/v12/{resource_name=customers/*/offlineUserDataJobs/*}:run" - body: "*" - }; - option (google.api.method_signature) = "resource_name"; - option (google.longrunning.operation_info) = { - response_type: "google.protobuf.Empty" - metadata_type: "google.ads.googleads.v12.resources.OfflineUserDataJobMetadata" - }; - } -} - -// Request message for -// [OfflineUserDataJobService.CreateOfflineUserDataJob][google.ads.googleads.v12.services.OfflineUserDataJobService.CreateOfflineUserDataJob]. -message CreateOfflineUserDataJobRequest { - // Required. The ID of the customer for which to create an offline user data job. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The offline user data job to be created. - google.ads.googleads.v12.resources.OfflineUserDataJob job = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; - - // If true, match rate range for the offline user data job is calculated and - // made available in the resource. - bool enable_match_rate_range_preview = 5; -} - -// Response message for -// [OfflineUserDataJobService.CreateOfflineUserDataJob][google.ads.googleads.v12.services.OfflineUserDataJobService.CreateOfflineUserDataJob]. -message CreateOfflineUserDataJobResponse { - // The resource name of the OfflineUserDataJob. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/OfflineUserDataJob" - }]; -} - -// Request message for [OfflineUserDataJobService.RunOfflineUserDataJob][google.ads.googleads.v12.services.OfflineUserDataJobService.RunOfflineUserDataJob]. -message RunOfflineUserDataJobRequest { - // Required. The resource name of the OfflineUserDataJob to run. - string resource_name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/OfflineUserDataJob" - } - ]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 2; -} - -// Request message for -// [OfflineUserDataJobService.AddOfflineUserDataJobOperations][google.ads.googleads.v12.services.OfflineUserDataJobService.AddOfflineUserDataJobOperations]. -message AddOfflineUserDataJobOperationsRequest { - // Required. The resource name of the OfflineUserDataJob. - string resource_name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/OfflineUserDataJob" - } - ]; - - // True to enable partial failure for the offline user data job. - optional bool enable_partial_failure = 4; - - // True to enable warnings for the offline user data job. When enabled, a - // warning will not block the OfflineUserDataJobOperation, and will also - // return warning messages about malformed field values. - optional bool enable_warnings = 6; - - // Required. The list of operations to be done. - repeated OfflineUserDataJobOperation operations = 3 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 5; -} - -// Operation to be made for the AddOfflineUserDataJobOperationsRequest. -message OfflineUserDataJobOperation { - // Operation to be made for the AddOfflineUserDataJobOperationsRequest. - oneof operation { - // Add the provided data to the transaction. Data cannot be retrieved after - // being uploaded. - google.ads.googleads.v12.common.UserData create = 1; - - // Remove the provided data from the transaction. Data cannot be retrieved - // after being uploaded. - google.ads.googleads.v12.common.UserData remove = 2; - - // Remove all previously provided data. This is only supported for Customer - // Match. - bool remove_all = 3; - } -} - -// Response message for -// [OfflineUserDataJobService.AddOfflineUserDataJobOperations][google.ads.googleads.v12.services.OfflineUserDataJobService.AddOfflineUserDataJobOperations]. -message AddOfflineUserDataJobOperationsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 1; - - // Non blocking errors that pertain to operation failures in the warnings - // mode. Returned only when enable_warnings = true. - google.rpc.Status warning = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/payments_account_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/payments_account_service.proto deleted file mode 100644 index b758400d9..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/payments_account_service.proto +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/payments_account.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "PaymentsAccountServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the payments account service. - -// Service to provide payments accounts that can be used to set up consolidated -// billing. -service PaymentsAccountService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Returns all payments accounts associated with all managers - // between the login customer ID and specified serving customer in the - // hierarchy, inclusive. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [PaymentsAccountError]() - // [QuotaError]() - // [RequestError]() - rpc ListPaymentsAccounts(ListPaymentsAccountsRequest) returns (ListPaymentsAccountsResponse) { - option (google.api.http) = { - get: "/v12/customers/{customer_id=*}/paymentsAccounts" - }; - option (google.api.method_signature) = "customer_id"; - } -} - -// Request message for fetching all accessible payments accounts. -message ListPaymentsAccountsRequest { - // Required. The ID of the customer to apply the PaymentsAccount list operation to. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; -} - -// Response message for [PaymentsAccountService.ListPaymentsAccounts][google.ads.googleads.v12.services.PaymentsAccountService.ListPaymentsAccounts]. -message ListPaymentsAccountsResponse { - // The list of accessible payments accounts. - repeated google.ads.googleads.v12.resources.PaymentsAccount payments_accounts = 1; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/reach_plan_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/reach_plan_service.proto deleted file mode 100644 index ca0e2016b..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/reach_plan_service.proto +++ /dev/null @@ -1,594 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/common/criteria.proto"; -import "google/ads/googleads/v12/common/dates.proto"; -import "google/ads/googleads/v12/enums/frequency_cap_time_unit.proto"; -import "google/ads/googleads/v12/enums/reach_plan_age_range.proto"; -import "google/ads/googleads/v12/enums/reach_plan_network.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ReachPlanServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the reach plan service. - -// Reach Plan Service gives users information about audience size that can -// be reached through advertisement on YouTube. In particular, -// GenerateReachForecast provides estimated number of people of specified -// demographics that can be reached by an ad in a given market by a campaign of -// certain duration with a defined budget. -service ReachPlanService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Returns the list of plannable locations (for example, countries). - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc ListPlannableLocations(ListPlannableLocationsRequest) returns (ListPlannableLocationsResponse) { - option (google.api.http) = { - post: "/v12:listPlannableLocations" - body: "*" - }; - } - - // Returns the list of per-location plannable YouTube ad formats with allowed - // targeting. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc ListPlannableProducts(ListPlannableProductsRequest) returns (ListPlannableProductsResponse) { - option (google.api.http) = { - post: "/v12:listPlannableProducts" - body: "*" - }; - option (google.api.method_signature) = "plannable_location_id"; - } - - // Generates a reach forecast for a given targeting / product mix. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RangeError]() - // [ReachPlanError]() - // [RequestError]() - rpc GenerateReachForecast(GenerateReachForecastRequest) returns (GenerateReachForecastResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}:generateReachForecast" - body: "*" - }; - option (google.api.method_signature) = "customer_id,campaign_duration,planned_products"; - } -} - -// Request message for [ReachPlanService.ListPlannableLocations][google.ads.googleads.v12.services.ReachPlanService.ListPlannableLocations]. -message ListPlannableLocationsRequest { - -} - -// The list of plannable locations. -message ListPlannableLocationsResponse { - // The list of locations available for planning. - // See - // https://developers.google.com/google-ads/api/reference/data/geotargets - // for sample locations. - repeated PlannableLocation plannable_locations = 1; -} - -// A plannable location: country, metro region, province, etc. -message PlannableLocation { - // The location identifier. - optional string id = 4; - - // The unique location name in English. - optional string name = 5; - - // The parent country (not present if location is a country). - // If present, will always be a GeoTargetConstant ID. Additional information - // such as country name is provided by - // [ReachPlanService.ListPlannableLocations][google.ads.googleads.v12.services.ReachPlanService.ListPlannableLocations] or - // [GoogleAdsService.Search/SearchStream][]. - optional int64 parent_country_id = 6; - - // The ISO-3166-1 alpha-2 country code that is associated with the location. - optional string country_code = 7; - - // The location's type. Location types correspond to target_type returned by - // searching location type in [GoogleAdsService.Search/SearchStream][]. - optional string location_type = 8; -} - -// Request to list available products in a given location. -message ListPlannableProductsRequest { - // Required. The ID of the selected location for planning. To list the available - // plannable location IDs use [ReachPlanService.ListPlannableLocations][google.ads.googleads.v12.services.ReachPlanService.ListPlannableLocations]. - string plannable_location_id = 2 [(google.api.field_behavior) = REQUIRED]; -} - -// A response with all available products. -message ListPlannableProductsResponse { - // The list of products available for planning and related targeting metadata. - repeated ProductMetadata product_metadata = 1; -} - -// The metadata associated with an available plannable product. -message ProductMetadata { - // The code associated with the ad product (for example: BUMPER, - // TRUEVIEW_IN_STREAM). - // To list the available plannable product codes use - // [ReachPlanService.ListPlannableProducts][google.ads.googleads.v12.services.ReachPlanService.ListPlannableProducts]. - optional string plannable_product_code = 4; - - // The name associated with the ad product. - string plannable_product_name = 3; - - // The allowed plannable targeting for this product. - PlannableTargeting plannable_targeting = 2; -} - -// The targeting for which traffic metrics will be reported. -message PlannableTargeting { - // Allowed plannable age ranges for the product for which metrics will be - // reported. Actual targeting is computed by mapping this age range onto - // standard Google common.AgeRangeInfo values. - repeated google.ads.googleads.v12.enums.ReachPlanAgeRangeEnum.ReachPlanAgeRange age_ranges = 1; - - // Targetable genders for the ad product. - repeated google.ads.googleads.v12.common.GenderInfo genders = 2; - - // Targetable devices for the ad product. - // TABLET device targeting is automatically applied to reported metrics - // when MOBILE targeting is selected for CPM_MASTHEAD, - // GOOGLE_PREFERRED_BUMPER, and GOOGLE_PREFERRED_SHORT products. - repeated google.ads.googleads.v12.common.DeviceInfo devices = 3; - - // Targetable networks for the ad product. - repeated google.ads.googleads.v12.enums.ReachPlanNetworkEnum.ReachPlanNetwork networks = 4; - - // Targetable YouTube Select Lineups for the ad product. - repeated YouTubeSelectLineUp youtube_select_lineups = 5; -} - -// Request message for [ReachPlanService.GenerateReachForecast][google.ads.googleads.v12.services.ReachPlanService.GenerateReachForecast]. -message GenerateReachForecastRequest { - // Required. The ID of the customer. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // The currency code. - // Three-character ISO 4217 currency code. - optional string currency_code = 9; - - // Required. Campaign duration. - CampaignDuration campaign_duration = 3 [(google.api.field_behavior) = REQUIRED]; - - // Chosen cookie frequency cap to be applied to each planned product. - // This is equivalent to the frequency cap exposed in Google Ads when creating - // a campaign, it represents the maximum number of times an ad can be shown to - // the same user. - // If not specified, no cap is applied. - // - // This field is deprecated in v4 and will eventually be removed. - // Use cookie_frequency_cap_setting instead. - optional int32 cookie_frequency_cap = 10; - - // Chosen cookie frequency cap to be applied to each planned product. - // This is equivalent to the frequency cap exposed in Google Ads when creating - // a campaign, it represents the maximum number of times an ad can be shown to - // the same user during a specified time interval. - // If not specified, a default of 0 (no cap) is applied. - // - // This field replaces the deprecated cookie_frequency_cap field. - FrequencyCap cookie_frequency_cap_setting = 8; - - // Chosen minimum effective frequency (the number of times a person was - // exposed to the ad) for the reported reach metrics [1-10]. - // This won't affect the targeting, but just the reporting. - // If not specified, a default of 1 is applied. - // - // This field cannot be combined with the effective_frequency_limit field. - optional int32 min_effective_frequency = 11; - - // The highest minimum effective frequency (the number of times a person was - // exposed to the ad) value [1-10] to include in - // Forecast.effective_frequency_breakdowns. - // If not specified, Forecast.effective_frequency_breakdowns will not be - // provided. - // - // The effective frequency value provided here will also be used as the - // minimum effective frequency for the reported reach metrics. - // - // This field cannot be combined with the min_effective_frequency field. - optional EffectiveFrequencyLimit effective_frequency_limit = 12; - - // The targeting to be applied to all products selected in the product mix. - // - // This is planned targeting: execution details might vary based on the - // advertising product, consult an implementation specialist. - // - // See specific metrics for details on how targeting affects them. - Targeting targeting = 6; - - // Required. The products to be forecast. - // The max number of allowed planned products is 15. - repeated PlannedProduct planned_products = 7 [(google.api.field_behavior) = REQUIRED]; - - // Controls the forecast metrics returned in the response. - ForecastMetricOptions forecast_metric_options = 13; - - // The name of the customer being planned for. This is a user-defined value. - // Required if targeting.audience_targeting is set. - optional string customer_reach_group = 14; -} - -// Effective frequency limit. -message EffectiveFrequencyLimit { - // The highest effective frequency value to include in - // Forecast.effective_frequency_breakdowns. - // This field supports frequencies 1-10, inclusive. - int32 effective_frequency_breakdown_limit = 1; -} - -// A rule specifying the maximum number of times an ad can be shown to a user -// over a particular time period. -message FrequencyCap { - // Required. The number of impressions, inclusive. - int32 impressions = 3 [(google.api.field_behavior) = REQUIRED]; - - // Required. The type of time unit. - google.ads.googleads.v12.enums.FrequencyCapTimeUnitEnum.FrequencyCapTimeUnit time_unit = 2 [(google.api.field_behavior) = REQUIRED]; -} - -// The targeting for which traffic metrics will be reported. -message Targeting { - // The ID of the selected location. Plannable location IDs can be - // obtained from [ReachPlanService.ListPlannableLocations][google.ads.googleads.v12.services.ReachPlanService.ListPlannableLocations]. - // - // Requests must set either this field or `plannable_location_ids`. - // - // This field is deprecated as of V12 and will be removed in a future release. - // Use `plannable_location_ids` instead. - optional string plannable_location_id = 6; - - // The list of plannable location IDs to target with this forecast. - // - // If more than one ID is provided, all IDs must have the same - // `parent_country_id`. Planning for more than `parent_county` is not - // supported. Plannable location IDs and their `parent_country_id` can be - // obtained from [ReachPlanService.ListPlannableLocations][google.ads.googleads.v12.services.ReachPlanService.ListPlannableLocations]. - // - // Requests must set either this field or `plannable_location_id`. - repeated string plannable_location_ids = 8; - - // Targeted age range. - // An unset value is equivalent to targeting all ages. - google.ads.googleads.v12.enums.ReachPlanAgeRangeEnum.ReachPlanAgeRange age_range = 2; - - // Targeted genders. - // An unset value is equivalent to targeting MALE and FEMALE. - repeated google.ads.googleads.v12.common.GenderInfo genders = 3; - - // Targeted devices. - // If not specified, targets all applicable devices. Applicable devices vary - // by product and region and can be obtained from - // [ReachPlanService.ListPlannableProducts][google.ads.googleads.v12.services.ReachPlanService.ListPlannableProducts]. - repeated google.ads.googleads.v12.common.DeviceInfo devices = 4; - - // Targetable network for the ad product. - // If not specified, targets all applicable networks. Applicable networks vary - // by product and region and can be obtained from - // [ReachPlanService.ListPlannableProducts][google.ads.googleads.v12.services.ReachPlanService.ListPlannableProducts]. - google.ads.googleads.v12.enums.ReachPlanNetworkEnum.ReachPlanNetwork network = 5; - - // Targeted audiences. - // If not specified, does not target any specific audience. - AudienceTargeting audience_targeting = 7; -} - -// The duration of a planned campaign. -message CampaignDuration { - // The duration value in days. - // - // This field cannot be combined with the date_range field. - optional int32 duration_in_days = 2; - - // Date range of the campaign. - // Dates are in the yyyy-mm-dd format and inclusive. - // The end date must be < 1 year in the future and the - // date range must be <= 92 days long. - // - // This field cannot be combined with the duration_in_days field. - google.ads.googleads.v12.common.DateRange date_range = 3; -} - -// A product being planned for reach. -message PlannedProduct { - // Required. Selected product for planning. - // The code associated with the ad product (for example: Trueview, Bumper). - // To list the available plannable product codes use - // [ReachPlanService.ListPlannableProducts][google.ads.googleads.v12.services.ReachPlanService.ListPlannableProducts]. - optional string plannable_product_code = 3; - - // Required. Maximum budget allocation in micros for the selected product. - // The value is specified in the selected planning currency_code. - // For example: 1 000 000$ = 1 000 000 000 000 micros. - optional int64 budget_micros = 4; - - // Targeting settings for the selected product. - // To list the available targeting for each product use - // [ReachPlanService.ListPlannableProducts][google.ads.googleads.v12.services.ReachPlanService.ListPlannableProducts]. - AdvancedProductTargeting advanced_product_targeting = 5; -} - -// Response message containing the generated reach curve. -message GenerateReachForecastResponse { - // Reference on target audiences for this curve. - OnTargetAudienceMetrics on_target_audience_metrics = 1; - - // The generated reach curve for the planned product mix. - ReachCurve reach_curve = 2; -} - -// The reach curve for the planned products. -message ReachCurve { - // All points on the reach curve. - repeated ReachForecast reach_forecasts = 1; -} - -// A point on reach curve. -message ReachForecast { - // The cost in micros. - int64 cost_micros = 5; - - // Forecasted traffic metrics for this point. - Forecast forecast = 2; - - // The forecasted allocation and traffic metrics for each planned product - // at this point on the reach curve. - repeated PlannedProductReachForecast planned_product_reach_forecasts = 4; -} - -// Forecasted traffic metrics for the planned products and targeting. -message Forecast { - // Number of unique people reached at least - // GenerateReachForecastRequest.min_effective_frequency or - // GenerateReachForecastRequest.effective_frequency_limit times that exactly - // matches the Targeting. - // - // Note that a minimum number of unique people must be reached in order for - // data to be reported. If the minimum number is not met, the on_target_reach - // value will be rounded to 0. - optional int64 on_target_reach = 5; - - // Total number of unique people reached at least - // GenerateReachForecastRequest.min_effective_frequency or - // GenerateReachForecastRequest.effective_frequency_limit times. This includes - // people that may fall outside the specified Targeting. - // - // Note that a minimum number of unique people must be reached in order for - // data to be reported. If the minimum number is not met, the total_reach - // value will be rounded to 0. - optional int64 total_reach = 6; - - // Number of ad impressions that exactly matches the Targeting. - optional int64 on_target_impressions = 7; - - // Total number of ad impressions. This includes impressions that may fall - // outside the specified Targeting, due to insufficient information on - // signed-in users. - optional int64 total_impressions = 8; - - // Number of times the ad's impressions were considered viewable. - // See https://support.google.com/google-ads/answer/7029393 for - // more information about what makes an ad viewable and how - // viewability is measured. - optional int64 viewable_impressions = 9; - - // A list of effective frequency forecasts. The list is ordered starting with - // 1+ and ending with the value set in - // GenerateReachForecastRequest.effective_frequency_limit. If no - // effective_frequency_limit was set, this list will be empty. - repeated EffectiveFrequencyBreakdown effective_frequency_breakdowns = 10; - - // Number of unique people reached that exactly matches the Targeting - // including co-viewers. - optional int64 on_target_coview_reach = 11; - - // Number of unique people reached including co-viewers. This includes - // people that may fall outside the specified Targeting. - optional int64 total_coview_reach = 12; - - // Number of ad impressions that exactly matches the Targeting including - // co-viewers. - optional int64 on_target_coview_impressions = 13; - - // Total number of ad impressions including co-viewers. This includes - // impressions that may fall outside the specified Targeting, due to - // insufficient information on signed-in users. - optional int64 total_coview_impressions = 14; -} - -// The forecasted allocation and traffic metrics for a specific product -// at a point on the reach curve. -message PlannedProductReachForecast { - // Selected product for planning. The product codes returned are within the - // set of the ones returned by ListPlannableProducts when using the same - // location ID. - string plannable_product_code = 1; - - // The cost in micros. This may differ from the product's input allocation - // if one or more planned products cannot fulfill the budget because of - // limited inventory. - int64 cost_micros = 2; - - // Forecasted traffic metrics for this product. - PlannedProductForecast planned_product_forecast = 3; -} - -// Forecasted traffic metrics for a planned product. -message PlannedProductForecast { - // Number of unique people reached that exactly matches the Targeting. - // - // Note that a minimum number of unique people must be reached in order for - // data to be reported. If the minimum number is not met, the on_target_reach - // value will be rounded to 0. - int64 on_target_reach = 1; - - // Number of unique people reached. This includes people that may fall - // outside the specified Targeting. - // - // Note that a minimum number of unique people must be reached in order for - // data to be reported. If the minimum number is not met, the total_reach - // value will be rounded to 0. - int64 total_reach = 2; - - // Number of ad impressions that exactly matches the Targeting. - int64 on_target_impressions = 3; - - // Total number of ad impressions. This includes impressions that may fall - // outside the specified Targeting, due to insufficient information on - // signed-in users. - int64 total_impressions = 4; - - // Number of times the ad's impressions were considered viewable. - // See https://support.google.com/google-ads/answer/7029393 for - // more information about what makes an ad viewable and how - // viewability is measured. - optional int64 viewable_impressions = 5; - - // Number of unique people reached that exactly matches the Targeting - // including co-viewers. - optional int64 on_target_coview_reach = 6; - - // Number of unique people reached including co-viewers. This includes - // people that may fall outside the specified Targeting. - optional int64 total_coview_reach = 7; - - // Number of ad impressions that exactly matches the Targeting including - // co-viewers. - optional int64 on_target_coview_impressions = 8; - - // Total number of ad impressions including co-viewers. This includes - // impressions that may fall outside the specified Targeting, due to - // insufficient information on signed-in users. - optional int64 total_coview_impressions = 9; -} - -// Audience metrics for the planned products. -// These metrics consider the following targeting dimensions: -// -// - Location -// - PlannableAgeRange -// - Gender -message OnTargetAudienceMetrics { - // Reference audience size matching the considered targeting for YouTube. - optional int64 youtube_audience_size = 3; - - // Reference audience size matching the considered targeting for Census. - optional int64 census_audience_size = 4; -} - -// A breakdown of the number of unique people reached at a given effective -// frequency. -message EffectiveFrequencyBreakdown { - // The effective frequency [1-10]. - int32 effective_frequency = 1; - - // The number of unique people reached at least effective_frequency times that - // exactly matches the Targeting. - // - // Note that a minimum number of unique people must be reached in order for - // data to be reported. If the minimum number is not met, the on_target_reach - // value will be rounded to 0. - int64 on_target_reach = 2; - - // Total number of unique people reached at least effective_frequency times. - // This includes people that may fall outside the specified Targeting. - // - // Note that a minimum number of unique people must be reached in order for - // data to be reported. If the minimum number is not met, the total_reach - // value will be rounded to 0. - int64 total_reach = 3; - - // The number of users (including co-viewing users) reached for the associated - // effective_frequency value. - optional int64 effective_coview_reach = 4; - - // The number of users (including co-viewing users) reached for the associated - // effective_frequency value within the specified plan demographic. - optional int64 on_target_effective_coview_reach = 5; -} - -// Controls forecast metrics to return. -message ForecastMetricOptions { - // Indicates whether to include co-view metrics in the response forecast. - bool include_coview = 1; -} - -// Audience targeting for reach forecast. -message AudienceTargeting { - // List of audiences based on user interests to be targeted. - repeated google.ads.googleads.v12.common.UserInterestInfo user_interest = 1; -} - -// Advanced targeting settings for products. -message AdvancedProductTargeting { - // Targeting options for this product. - oneof advanced_targeting { - // Settings for YouTube Select targeting. - YouTubeSelectSettings youtube_select_settings = 1; - } -} - -// Request settings for YouTube Select Lineups -message YouTubeSelectSettings { - // Lineup for YouTube Select Targeting. - int64 lineup_id = 1; -} - -// A Plannable YouTube Select Lineup for product targeting. -message YouTubeSelectLineUp { - // The ID of the YouTube Select Lineup. - int64 lineup_id = 1; - - // The unique name of the YouTube Select Lineup. - string lineup_name = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/recommendation_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/recommendation_service.proto deleted file mode 100644 index f18da77bd..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/recommendation_service.proto +++ /dev/null @@ -1,346 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/common/extensions.proto"; -import "google/ads/googleads/v12/enums/keyword_match_type.proto"; -import "google/ads/googleads/v12/resources/ad.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "RecommendationServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the Recommendation service. - -// Service to manage recommendations. -service RecommendationService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Applies given recommendations with corresponding apply parameters. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [QuotaError]() - // [RecommendationError]() - // [RequestError]() - // [UrlFieldError]() - rpc ApplyRecommendation(ApplyRecommendationRequest) returns (ApplyRecommendationResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/recommendations:apply" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } - - // Dismisses given recommendations. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RecommendationError]() - // [RequestError]() - rpc DismissRecommendation(DismissRecommendationRequest) returns (DismissRecommendationResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/recommendations:dismiss" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [RecommendationService.ApplyRecommendation][google.ads.googleads.v12.services.RecommendationService.ApplyRecommendation]. -message ApplyRecommendationRequest { - // Required. The ID of the customer with the recommendation. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to apply recommendations. - // If partial_failure=false all recommendations should be of the same type - // There is a limit of 100 operations per request. - repeated ApplyRecommendationOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, operations will be carried - // out as a transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; -} - -// Information about the operation to apply a recommendation and any parameters -// to customize it. -message ApplyRecommendationOperation { - // Parameters to use when applying a campaign budget recommendation. - message CampaignBudgetParameters { - // New budget amount to set for target budget resource. This is a required - // field. - optional int64 new_budget_amount_micros = 2; - } - - // Parameters to use when applying a forecasting set target roas - // recommendation. - message ForecastingSetTargetRoasParameters { - // New target ROAS (revenue per unit of spend) to set for a campaign - // resource. - // The value is between 0.01 and 1000.0, inclusive. - optional double target_roas = 1; - - // New campaign budget amount to set for a campaign resource. - optional int64 campaign_budget_amount_micros = 2; - } - - // Parameters to use when applying a text ad recommendation. - message TextAdParameters { - // New ad to add to recommended ad group. All necessary fields need to be - // set in this message. This is a required field. - google.ads.googleads.v12.resources.Ad ad = 1; - } - - // Parameters to use when applying keyword recommendation. - message KeywordParameters { - // The ad group resource to add keyword to. This is a required field. - optional string ad_group = 4; - - // The match type of the keyword. This is a required field. - google.ads.googleads.v12.enums.KeywordMatchTypeEnum.KeywordMatchType match_type = 2; - - // Optional, CPC bid to set for the keyword. If not set, keyword will use - // bid based on bidding strategy used by target ad group. - optional int64 cpc_bid_micros = 5; - } - - // Parameters to use when applying Target CPA recommendation. - message TargetCpaOptInParameters { - // Average CPA to use for Target CPA bidding strategy. This is a required - // field. - optional int64 target_cpa_micros = 3; - - // Optional, budget amount to set for the campaign. - optional int64 new_campaign_budget_amount_micros = 4; - } - - // Parameters to use when applying a Target ROAS opt-in recommendation. - message TargetRoasOptInParameters { - // Average ROAS (revenue per unit of spend) to use for Target ROAS bidding - // strategy. The value is between 0.01 and 1000.0, inclusive. This is a - // required field, unless new_campaign_budget_amount_micros is set. - optional double target_roas = 1; - - // Optional, budget amount to set for the campaign. - optional int64 new_campaign_budget_amount_micros = 2; - } - - // Parameters to use when applying callout extension recommendation. - message CalloutExtensionParameters { - // Callout extensions to be added. This is a required field. - repeated google.ads.googleads.v12.common.CalloutFeedItem callout_extensions = 1; - } - - // Parameters to use when applying call extension recommendation. - message CallExtensionParameters { - // Call extensions to be added. This is a required field. - repeated google.ads.googleads.v12.common.CallFeedItem call_extensions = 1; - } - - // Parameters to use when applying sitelink extension recommendation. - message SitelinkExtensionParameters { - // Sitelink extensions to be added. This is a required field. - repeated google.ads.googleads.v12.common.SitelinkFeedItem sitelink_extensions = 1; - } - - // Parameters to use when applying move unused budget recommendation. - message MoveUnusedBudgetParameters { - // Budget amount to move from excess budget to constrained budget. This is - // a required field. - optional int64 budget_micros_to_move = 2; - } - - // Parameters to use when applying a responsive search ad asset - // recommendation. - message ResponsiveSearchAdAssetParameters { - // Updated ad. The current ad's content will be replaced. - google.ads.googleads.v12.resources.Ad updated_ad = 1; - } - - // Parameters to use when applying a responsive search ad improve ad strength - // recommendation. - message ResponsiveSearchAdImproveAdStrengthParameters { - // Updated ad. The current ad's content will be replaced. - google.ads.googleads.v12.resources.Ad updated_ad = 1; - } - - // Parameters to use when applying a responsive search ad recommendation. - message ResponsiveSearchAdParameters { - // Required. New ad to add to recommended ad group. - google.ads.googleads.v12.resources.Ad ad = 1 [(google.api.field_behavior) = REQUIRED]; - } - - // Parameters to use when applying a raise target CPA bid too low - // recommendation. The apply is asynchronous and can take minutes depending on - // the number of ad groups there is in the related campaign.. - message RaiseTargetCpaBidTooLowParameters { - // Required. A number greater than 1.0 indicating the factor by which to increase the - // target CPA. This is a required field. - double target_multiplier = 1 [(google.api.field_behavior) = REQUIRED]; - } - - // Parameters to use when applying a use broad match keyword recommendation. - message UseBroadMatchKeywordParameters { - // New budget amount to set for target budget resource. - optional int64 new_budget_amount_micros = 1; - } - - // The resource name of the recommendation to apply. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Recommendation" - }]; - - // Parameters to use when applying the recommendation. - oneof apply_parameters { - // Optional parameters to use when applying a campaign budget - // recommendation. - CampaignBudgetParameters campaign_budget = 2; - - // Optional parameters to use when applying a text ad recommendation. - TextAdParameters text_ad = 3; - - // Optional parameters to use when applying keyword recommendation. - KeywordParameters keyword = 4; - - // Optional parameters to use when applying target CPA opt-in - // recommendation. - TargetCpaOptInParameters target_cpa_opt_in = 5; - - // Optional parameters to use when applying target ROAS opt-in - // recommendation. - TargetRoasOptInParameters target_roas_opt_in = 10; - - // Parameters to use when applying callout extension recommendation. - CalloutExtensionParameters callout_extension = 6; - - // Parameters to use when applying call extension recommendation. - CallExtensionParameters call_extension = 7; - - // Parameters to use when applying sitelink extension recommendation. - SitelinkExtensionParameters sitelink_extension = 8; - - // Parameters to use when applying move unused budget recommendation. - MoveUnusedBudgetParameters move_unused_budget = 9; - - // Parameters to use when applying a responsive search ad recommendation. - ResponsiveSearchAdParameters responsive_search_ad = 11; - - // Parameters to use when applying a use broad match keyword recommendation. - UseBroadMatchKeywordParameters use_broad_match_keyword = 12; - - // Parameters to use when applying a responsive search ad asset - // recommendation. - ResponsiveSearchAdAssetParameters responsive_search_ad_asset = 13; - - // Parameters to use when applying a responsive search ad improve ad - // strength recommendation. - ResponsiveSearchAdImproveAdStrengthParameters responsive_search_ad_improve_ad_strength = 14; - - // Parameters to use when applying a raise target CPA bid too low - // recommendation. The apply is asynchronous and can take minutes depending - // on the number of ad groups there is in the related campaign. - RaiseTargetCpaBidTooLowParameters raise_target_cpa_bid_too_low = 15; - - // Parameters to use when applying a forecasting set target ROAS - // recommendation. - ForecastingSetTargetRoasParameters forecasting_set_target_roas = 16; - } -} - -// Response message for [RecommendationService.ApplyRecommendation][google.ads.googleads.v12.services.RecommendationService.ApplyRecommendation]. -message ApplyRecommendationResponse { - // Results of operations to apply recommendations. - repeated ApplyRecommendationResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors) we return the RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result of applying a recommendation. -message ApplyRecommendationResult { - // Returned for successful applies. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Recommendation" - }]; -} - -// Request message for [RecommendationService.DismissRecommendation][google.ads.googleads.v12.services.RecommendationService.DismissRecommendation]. -message DismissRecommendationRequest { - // Operation to dismiss a single recommendation identified by resource_name. - message DismissRecommendationOperation { - // The resource name of the recommendation to dismiss. - string resource_name = 1; - } - - // Required. The ID of the customer with the recommendation. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to dismiss recommendations. - // If partial_failure=false all recommendations should be of the same type - // There is a limit of 100 operations per request. - repeated DismissRecommendationOperation operations = 3 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, operations will be carried in a - // single transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 2; -} - -// Response message for [RecommendationService.DismissRecommendation][google.ads.googleads.v12.services.RecommendationService.DismissRecommendation]. -message DismissRecommendationResponse { - // The result of dismissing a recommendation. - message DismissRecommendationResult { - // Returned for successful dismissals. - string resource_name = 1; - } - - // Results of operations to dismiss recommendations. - repeated DismissRecommendationResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors) we return the RPC level error. - google.rpc.Status partial_failure_error = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/remarketing_action_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/remarketing_action_service.proto deleted file mode 100644 index b769dd9ee..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/remarketing_action_service.proto +++ /dev/null @@ -1,116 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/remarketing_action.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "RemarketingActionServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the Remarketing Action service. - -// Service to manage remarketing actions. -service RemarketingActionService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates or updates remarketing actions. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [ConversionActionError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc MutateRemarketingActions(MutateRemarketingActionsRequest) returns (MutateRemarketingActionsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/remarketingActions:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [RemarketingActionService.MutateRemarketingActions][google.ads.googleads.v12.services.RemarketingActionService.MutateRemarketingActions]. -message MutateRemarketingActionsRequest { - // Required. The ID of the customer whose remarketing actions are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual remarketing actions. - repeated RemarketingActionOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, update) on a remarketing action. -message RemarketingActionOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new remarketing - // action. - google.ads.googleads.v12.resources.RemarketingAction create = 1; - - // Update operation: The remarketing action is expected to have a valid - // resource name. - google.ads.googleads.v12.resources.RemarketingAction update = 2; - } -} - -// Response message for remarketing action mutate. -message MutateRemarketingActionsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateRemarketingActionResult results = 2; -} - -// The result for the remarketing action mutate. -message MutateRemarketingActionResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/RemarketingAction" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/shared_criterion_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/shared_criterion_service.proto deleted file mode 100644 index 88a7c1736..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/shared_criterion_service.proto +++ /dev/null @@ -1,139 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/shared_criterion.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "SharedCriterionServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the Shared Criterion service. - -// Service to manage shared criteria. -service SharedCriterionService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates or removes shared criteria. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CriterionError]() - // [DatabaseError]() - // [DistinctError]() - // [FieldError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [MutateError]() - // [NotEmptyError]() - // [NullError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - rpc MutateSharedCriteria(MutateSharedCriteriaRequest) returns (MutateSharedCriteriaResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/sharedCriteria:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [SharedCriterionService.MutateSharedCriteria][google.ads.googleads.v12.services.SharedCriterionService.MutateSharedCriteria]. -message MutateSharedCriteriaRequest { - // Required. The ID of the customer whose shared criteria are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual shared criteria. - repeated SharedCriterionOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, remove) on an shared criterion. -message SharedCriterionOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new shared - // criterion. - google.ads.googleads.v12.resources.SharedCriterion create = 1; - - // Remove operation: A resource name for the removed shared criterion is - // expected, in this format: - // - // `customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/SharedCriterion" - }]; - } -} - -// Response message for a shared criterion mutate. -message MutateSharedCriteriaResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateSharedCriterionResult results = 2; -} - -// The result for the shared criterion mutate. -message MutateSharedCriterionResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/SharedCriterion" - }]; - - // The mutated shared criterion with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.SharedCriterion shared_criterion = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/shared_set_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/shared_set_service.proto deleted file mode 100644 index 5400ad239..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/shared_set_service.proto +++ /dev/null @@ -1,149 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/shared_set.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "SharedSetServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the Shared Set service. - -// Service to manage shared sets. -service SharedSetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes shared sets. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [DateError]() - // [DistinctError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [NullError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - // [SharedSetError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - rpc MutateSharedSets(MutateSharedSetsRequest) returns (MutateSharedSetsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/sharedSets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [SharedSetService.MutateSharedSets][google.ads.googleads.v12.services.SharedSetService.MutateSharedSets]. -message MutateSharedSetsRequest { - // Required. The ID of the customer whose shared sets are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual shared sets. - repeated SharedSetOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation (create, update, remove) on an shared set. -message SharedSetOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new shared set. - google.ads.googleads.v12.resources.SharedSet create = 1; - - // Update operation: The shared set is expected to have a valid resource - // name. - google.ads.googleads.v12.resources.SharedSet update = 2; - - // Remove operation: A resource name for the removed shared set is expected, - // in this format: - // - // `customers/{customer_id}/sharedSets/{shared_set_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/SharedSet" - }]; - } -} - -// Response message for a shared set mutate. -message MutateSharedSetsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateSharedSetResult results = 2; -} - -// The result for the shared set mutate. -message MutateSharedSetResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/SharedSet" - }]; - - // The mutated shared set with only mutable fields after mutate. The field - // will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.SharedSet shared_set = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/smart_campaign_setting_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/smart_campaign_setting_service.proto deleted file mode 100644 index 3d242b1ea..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/smart_campaign_setting_service.proto +++ /dev/null @@ -1,111 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/smart_campaign_setting.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "SmartCampaignSettingServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the Smart campaign setting service. - -// Service to manage Smart campaign settings. -service SmartCampaignSettingService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Updates Smart campaign settings for campaigns. - rpc MutateSmartCampaignSettings(MutateSmartCampaignSettingsRequest) returns (MutateSmartCampaignSettingsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/smartCampaignSettings:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [SmartCampaignSettingService.MutateSmartCampaignSetting][]. -message MutateSmartCampaignSettingsRequest { - // Required. The ID of the customer whose Smart campaign settings are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual Smart campaign settings. - repeated SmartCampaignSettingOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// A single operation to update Smart campaign settings for a campaign. -message SmartCampaignSettingOperation { - // Update operation: The Smart campaign setting must specify a valid - // resource name. - google.ads.googleads.v12.resources.SmartCampaignSetting update = 1; - - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 2; -} - -// Response message for campaign mutate. -message MutateSmartCampaignSettingsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 1; - - // All results for the mutate. - repeated MutateSmartCampaignSettingResult results = 2; -} - -// The result for the Smart campaign setting mutate. -message MutateSmartCampaignSettingResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/SmartCampaignSetting" - }]; - - // The mutated Smart campaign setting with only mutable fields after mutate. - // The field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v12.resources.SmartCampaignSetting smart_campaign_setting = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/smart_campaign_suggest_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/smart_campaign_suggest_service.proto deleted file mode 100644 index 7a42f52f6..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/smart_campaign_suggest_service.proto +++ /dev/null @@ -1,240 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/common/ad_type_infos.proto"; -import "google/ads/googleads/v12/common/criteria.proto"; -import "google/ads/googleads/v12/resources/keyword_theme_constant.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "SmartCampaignSuggestServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Service to get suggestions for Smart Campaigns. -service SmartCampaignSuggestService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Returns BudgetOption suggestions. - rpc SuggestSmartCampaignBudgetOptions(SuggestSmartCampaignBudgetOptionsRequest) returns (SuggestSmartCampaignBudgetOptionsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}:suggestSmartCampaignBudgetOptions" - body: "*" - }; - } - - // Suggests a Smart campaign ad compatible with the Ad family of resources, - // based on data points such as targeting and the business to advertise. - rpc SuggestSmartCampaignAd(SuggestSmartCampaignAdRequest) returns (SuggestSmartCampaignAdResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}:suggestSmartCampaignAd" - body: "*" - }; - } - - // Suggests keyword themes to advertise on. - rpc SuggestKeywordThemes(SuggestKeywordThemesRequest) returns (SuggestKeywordThemesResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}:suggestKeywordThemes" - body: "*" - }; - } -} - -// Request message for -// [SmartCampaignSuggestService.SuggestSmartCampaignBudgets][]. -message SuggestSmartCampaignBudgetOptionsRequest { - // Required. The ID of the customer whose budget options are to be suggested. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. For first time campaign creation use SuggestionInfo, for - // subsequent updates on BudgetOptions based on an already created campaign - // use that campaign. - oneof suggestion_data { - // Required. The resource name of the campaign to get suggestion for. - string campaign = 2 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Required. Information needed to get budget options - SmartCampaignSuggestionInfo suggestion_info = 3 [(google.api.field_behavior) = REQUIRED]; - } -} - -// Information needed to get suggestion for Smart Campaign. More information -// provided will help the system to derive better suggestions. -message SmartCampaignSuggestionInfo { - // A list of locations. - message LocationList { - // Required. Locations. - repeated google.ads.googleads.v12.common.LocationInfo locations = 1 [(google.api.field_behavior) = REQUIRED]; - } - - // A context that describes a business. - message BusinessContext { - // Optional. The name of the business. - string business_name = 1 [(google.api.field_behavior) = OPTIONAL]; - } - - // Optional. Landing page URL of the campaign. - string final_url = 1 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The two letter advertising language for the Smart campaign to be - // constructed, default to 'en' if not set. - string language_code = 3 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The business ad schedule. - repeated google.ads.googleads.v12.common.AdScheduleInfo ad_schedules = 6 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. Smart campaign keyword themes. This field may greatly improve suggestion - // accuracy and we recommend always setting it if possible. - repeated google.ads.googleads.v12.common.KeywordThemeInfo keyword_themes = 7 [(google.api.field_behavior) = OPTIONAL]; - - // The business settings to consider when generating suggestions. - // Settings are automatically extracted from the business when provided. - // Otherwise, these settings must be specified explicitly. - oneof business_setting { - // Optional. Context describing the business to advertise. - BusinessContext business_context = 8 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The resource name of a Business Profile location. - // Business Profile location resource names can be fetched through the - // Business Profile API and adhere to the following format: - // `locations/{locationId}`. - // - // See the [Business Profile API] - // (https://developers.google.com/my-business/reference/businessinformation/rest/v1/accounts.locations) - // for additional details. - string business_profile_location = 9 [(google.api.field_behavior) = OPTIONAL]; - } - - // The geo target of the campaign, either a list of locations or - // a single proximity shall be specified. - oneof geo_target { - // Optional. The targeting geo location by locations. - LocationList location_list = 4 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The targeting geo location by proximity. - google.ads.googleads.v12.common.ProximityInfo proximity = 5 [(google.api.field_behavior) = OPTIONAL]; - } -} - -// Response message for -// [SmartCampaignSuggestService.SuggestSmartCampaignBudgets][]. Depending on -// whether the system could suggest the options, either all of the options or -// none of them might be returned. -message SuggestSmartCampaignBudgetOptionsResponse { - // Performance metrics for a given budget option. - message Metrics { - // The estimated min daily clicks. - int64 min_daily_clicks = 1; - - // The estimated max daily clicks. - int64 max_daily_clicks = 2; - } - - // Smart Campaign budget option. - message BudgetOption { - // The amount of the budget, in the local currency for the account. - // Amount is specified in micros, where one million is equivalent to one - // currency unit. - int64 daily_amount_micros = 1; - - // Metrics pertaining to the suggested budget, could be empty if there is - // not enough information to derive the estimates. - Metrics metrics = 2; - } - - // Optional. The lowest budget option. - optional BudgetOption low = 1 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The recommended budget option. - optional BudgetOption recommended = 2 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The highest budget option. - optional BudgetOption high = 3 [(google.api.field_behavior) = OPTIONAL]; -} - -// Request message for -// [SmartCampaignSuggestService.SuggestSmartCampaignAd][google.ads.googleads.v12.services.SmartCampaignSuggestService.SuggestSmartCampaignAd]. -message SuggestSmartCampaignAdRequest { - // Required. The ID of the customer. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. Inputs used to suggest a Smart campaign ad. - // Required fields: final_url, language_code, keyword_themes. - // Optional but recommended fields to improve the quality of the suggestion: - // business_setting and geo_target. - SmartCampaignSuggestionInfo suggestion_info = 2 [(google.api.field_behavior) = REQUIRED]; -} - -// Response message for -// [SmartCampaignSuggestService.SuggestSmartCampaignAd][google.ads.googleads.v12.services.SmartCampaignSuggestService.SuggestSmartCampaignAd]. -message SuggestSmartCampaignAdResponse { - // Optional. Ad info includes 3 creative headlines and 2 creative descriptions. - google.ads.googleads.v12.common.SmartCampaignAdInfo ad_info = 1 [(google.api.field_behavior) = OPTIONAL]; -} - -// Request message for -// [SmartCampaignSuggestService.SuggestKeywordThemes][google.ads.googleads.v12.services.SmartCampaignSuggestService.SuggestKeywordThemes]. -message SuggestKeywordThemesRequest { - // Required. The ID of the customer. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. Information to get keyword theme suggestions. - // Required fields: - // - // * suggestion_info.final_url - // * suggestion_info.language_code - // * suggestion_info.geo_target - // - // Recommended fields: - // - // * suggestion_info.business_setting - SmartCampaignSuggestionInfo suggestion_info = 2 [(google.api.field_behavior) = REQUIRED]; -} - -// Response message for -// [SmartCampaignSuggestService.SuggestKeywordThemes][google.ads.googleads.v12.services.SmartCampaignSuggestService.SuggestKeywordThemes]. -message SuggestKeywordThemesResponse { - // A Smart campaign keyword theme suggestion. - message KeywordTheme { - // A keyword theme. - oneof keyword_theme { - // A Smart campaign keyword theme constant. - google.ads.googleads.v12.resources.KeywordThemeConstant keyword_theme_constant = 1; - - // A free-form text keyword theme. - string free_form_keyword_theme = 2; - } - } - - // Smart campaign keyword theme suggestions. - repeated KeywordTheme keyword_themes = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/third_party_app_analytics_link_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/third_party_app_analytics_link_service.proto deleted file mode 100644 index 8fc326333..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/third_party_app_analytics_link_service.proto +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ThirdPartyAppAnalyticsLinkServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// This service allows management of links between Google Ads and third party -// app analytics. -service ThirdPartyAppAnalyticsLinkService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Regenerate ThirdPartyAppAnalyticsLink.shareable_link_id that should be - // provided to the third party when setting up app analytics. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc RegenerateShareableLinkId(RegenerateShareableLinkIdRequest) returns (RegenerateShareableLinkIdResponse) { - option (google.api.http) = { - post: "/v12/{resource_name=customers/*/thirdPartyAppAnalyticsLinks/*}:regenerateShareableLinkId" - body: "*" - }; - } -} - -// Request message for -// [ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId][google.ads.googleads.v12.services.ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId]. -message RegenerateShareableLinkIdRequest { - // Resource name of the third party app analytics link. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ThirdPartyAppAnalyticsLink" - }]; -} - -// Response message for -// [ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId][google.ads.googleads.v12.services.ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId]. -message RegenerateShareableLinkIdResponse { - -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/user_data_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/user_data_service.proto deleted file mode 100644 index 0b336493a..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/user_data_service.proto +++ /dev/null @@ -1,104 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/common/offline_user_data.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "UserDataServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the UserDataService. - -// Service to manage user data uploads. -// Any uploads made to a Customer Match list through this service will be -// eligible for matching as per the customer matching process. See -// https://support.google.com/google-ads/answer/7474263. However, the uploads -// made through this service will not be visible under the 'Segment members' -// section for the Customer Match List in the Google Ads UI. -service UserDataService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Uploads the given user data. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [OfflineUserDataJobError]() - // [QuotaError]() - // [RequestError]() - // [UserDataError]() - rpc UploadUserData(UploadUserDataRequest) returns (UploadUserDataResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}:uploadUserData" - body: "*" - }; - } -} - -// Request message for [UserDataService.UploadUserData][google.ads.googleads.v12.services.UserDataService.UploadUserData] -message UploadUserDataRequest { - // Required. The ID of the customer for which to update the user data. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to be done. - repeated UserDataOperation operations = 3 [(google.api.field_behavior) = REQUIRED]; - - // Metadata of the request. - oneof metadata { - // Metadata for data updates to a Customer Match user list. - google.ads.googleads.v12.common.CustomerMatchUserListMetadata customer_match_user_list_metadata = 2; - } -} - -// Operation to be made for the UploadUserDataRequest. -message UserDataOperation { - // Operation to be made for the UploadUserDataRequest. - oneof operation { - // The list of user data to be appended to the user list. - google.ads.googleads.v12.common.UserData create = 1; - - // The list of user data to be removed from the user list. - google.ads.googleads.v12.common.UserData remove = 2; - } -} - -// Response message for [UserDataService.UploadUserData][google.ads.googleads.v12.services.UserDataService.UploadUserData] -// Uploads made through this service will not be visible under the 'Segment -// members' section for the Customer Match List in the Google Ads UI. -message UploadUserDataResponse { - // The date time at which the request was received by API, formatted as - // "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - optional string upload_date_time = 3; - - // Number of upload data operations received by API. - optional int32 received_operations_count = 4; -} diff --git a/third_party/googleapis/google/ads/googleads/v12/services/user_list_service.proto b/third_party/googleapis/google/ads/googleads/v12/services/user_list_service.proto deleted file mode 100644 index 15aa300d3..000000000 --- a/third_party/googleapis/google/ads/googleads/v12/services/user_list_service.proto +++ /dev/null @@ -1,136 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/user_list.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "UserListServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; - -// Proto file describing the User List service. - -// Service to manage user lists. -service UserListService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates or updates user lists. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [DatabaseError]() - // [DistinctError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotAllowlistedError]() - // [NotEmptyError]() - // [OperationAccessDeniedError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [StringFormatError]() - // [StringLengthError]() - // [UserListError]() - rpc MutateUserLists(MutateUserListsRequest) returns (MutateUserListsResponse) { - option (google.api.http) = { - post: "/v12/customers/{customer_id=*}/userLists:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for [UserListService.MutateUserLists][google.ads.googleads.v12.services.UserListService.MutateUserLists]. -message MutateUserListsRequest { - // Required. The ID of the customer whose user lists are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual user lists. - repeated UserListOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, update) on a user list. -message UserListOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new user list. - google.ads.googleads.v12.resources.UserList create = 1; - - // Update operation: The user list is expected to have a valid resource - // name. - google.ads.googleads.v12.resources.UserList update = 2; - - // Remove operation: A resource name for the removed user list is expected, - // in this format: - // - // `customers/{customer_id}/userLists/{user_list_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/UserList" - }]; - } -} - -// Response message for user list mutate. -message MutateUserListsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateUserListResult results = 2; -} - -// The result for the user list mutate. -message MutateUserListResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/UserList" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/BUILD.bazel b/third_party/googleapis/google/ads/googleads/v13/BUILD.bazel deleted file mode 100644 index a1292ea55..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/BUILD.bazel +++ /dev/null @@ -1,270 +0,0 @@ -# Copyright 2020 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -package(default_visibility = ["//visibility:public"]) - -exports_files(["googleads_grpc_service_config.json"] + ["*.yaml"]) - -############################################################################## -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( - name = "googleads_proto", - srcs = [], - deps = [ - "//google/ads/googleads/v13/common:common_proto", - "//google/ads/googleads/v13/enums:enums_proto", - "//google/ads/googleads/v13/errors:errors_proto", - "//google/ads/googleads/v13/resources:resources_proto", - "//google/ads/googleads/v13/services:services_proto", - ], -) - -proto_library_with_info( - name = "googleads_proto_with_info", - deps = [ - ":googleads_proto", - ], -) - -############################################################################## -# Java -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "java_gapic_assembly_gradle_pkg", - "java_gapic_library", - "java_gapic_test", -) - -java_gapic_library( - name = "googleads_java_gapic", - srcs = [ - ":googleads_proto_with_info", - ], - gapic_yaml = "googleads_gapic.yaml", - grpc_service_config = ":googleads_grpc_service_config.json", - deps = [ - "//google/ads/googleads/v13/common:common_java_proto", - "//google/ads/googleads/v13/enums:enums_java_proto", - "//google/ads/googleads/v13/resources:resources_java_proto", - "//google/ads/googleads/v13/services:services_java_grpc", - "//google/ads/googleads/v13/services:services_java_proto", - ], -) - -# TODO(ohren): Add more test classes when java_gapic_test is able to run more -# than a single test. Having at least one verifies proper compilation at least. -java_gapic_test( - name = "googleads_java_gapic_suite", - test_classes = [ - "com.google.ads.googleads.v13.services.CampaignServiceClientTest", - ], - runtime_deps = [":googleads_java_gapic_test"], -) - -java_gapic_assembly_gradle_pkg( - name = "googleads-java", - deps = [ - ":googleads_java_gapic", - "//google/ads/googleads/v13:googleads_proto", - "//google/ads/googleads/v13/common:common_java_proto", - "//google/ads/googleads/v13/enums:enums_java_proto", - "//google/ads/googleads/v13/errors:errors_java_proto", - "//google/ads/googleads/v13/resources:resources_java_proto", - "//google/ads/googleads/v13/services:services_java_grpc", - "//google/ads/googleads/v13/services:services_java_proto", - ], -) - -############################################################################## -# PHP -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "php_gapic_assembly_pkg", - "php_gapic_library", - "php_grpc_library", - "php_proto_library", -) - -php_proto_library( - name = "googleads_php_proto", - plugin_args = ["aggregate_metadata=google.ads.googleads"], - deps = [":googleads_proto"], -) - -php_grpc_library( - name = "googleads_php_grpc", - srcs = [":googleads_proto"], - deps = [":googleads_php_proto"], -) - -php_gapic_library( - name = "googleads_php_gapic", - srcs = [":googleads_proto"], - gapic_yaml = "googleads_gapic.yaml", - grpc_service_config = "googleads_grpc_service_config.json", - service_yaml = "googleads_v13.yaml", - generate_snippets = False, - deps = [ - ":googleads_php_grpc", - ":googleads_php_proto", - ], -) - -php_gapic_assembly_pkg( - name = "googleads-php", - deps = [ - ":googleads_php_gapic", - ":googleads_php_grpc", - ":googleads_php_proto", - ], -) - -############################################################################## -# C# -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "csharp_gapic_assembly_pkg", - "csharp_gapic_library", -) - -csharp_gapic_library( - name = "googleads_csharp_gapic", - srcs = [ - ":googleads_proto_with_info", - ], - grpc_service_config = "googleads_grpc_service_config.json", - service_yaml = "googleads_v13.yaml", - deps = [ - "//google/ads/googleads/v13/services:services_csharp_grpc", - ], -) - -csharp_gapic_assembly_pkg( - name = "googleads-csharp", - deps = [ - ":googleads_csharp_gapic", - "//google/ads/googleads/v13/common:common_csharp_proto", - "//google/ads/googleads/v13/enums:enums_csharp_proto", - "//google/ads/googleads/v13/errors:errors_csharp_proto", - "//google/ads/googleads/v13/resources:resources_csharp_proto", - "//google/ads/googleads/v13/services:services_csharp_grpc", - "//google/ads/googleads/v13/services:services_csharp_proto", - ], -) - -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "ruby_ads_gapic_library", - "ruby_gapic_assembly_pkg", -) - -ruby_ads_gapic_library( - name = "googleads_ruby_gapic", - srcs = ["googleads_proto_with_info"], - extra_protoc_parameters = [ - ":gem.:name=google-ads-googleads", - ":defaults.:service.:default_host=googleads.googleapis.com", - ":overrides.:namespace.Googleads=GoogleAds", - ], - grpc_service_config = "googleads_grpc_service_config.json", - service_yaml = "googleads_v13.yaml", -) - -ruby_gapic_assembly_pkg( - name = "googleads-ruby", - deps = [ - ":googleads_ruby_gapic", - "//google/ads/googleads/v13/common:common_ruby_proto", - "//google/ads/googleads/v13/enums:enums_ruby_proto", - "//google/ads/googleads/v13/errors:errors_ruby_proto", - "//google/ads/googleads/v13/resources:resources_ruby_proto", - "//google/ads/googleads/v13/services:services_ruby_grpc", - "//google/ads/googleads/v13/services:services_ruby_proto", - ], -) - -############################################################################## -# Python -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "py_gapic_assembly_pkg", - "py_gapic_library", -) - -py_gapic_library( - name = "googleads_py_gapic", - srcs = [":googleads_proto_with_info"], - grpc_service_config = "googleads_grpc_service_config.json", - opt_args = [ - "old-naming", - "lazy-import", - "python-gapic-name=googleads", - "python-gapic-templates=ads-templates", - "warehouse-package-name=google-ads", - ], - service_yaml = "googleads_v13.yaml", -) - -py_gapic_assembly_pkg( - name = "googleads-py", - deps = [ - ":googleads_py_gapic", - "//google/ads/googleads/v13/common:common_py_proto", - "//google/ads/googleads/v13/enums:enums_py_proto", - "//google/ads/googleads/v13/errors:errors_py_proto", - "//google/ads/googleads/v13/resources:resources_py_proto", - "//google/ads/googleads/v13/services:services_py_grpc", - "//google/ads/googleads/v13/services:services_py_proto", - ], -) - -############################################################################## -# Node.js -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) - -nodejs_gapic_library( - name = "googleads_nodejs_gapic", - package_name = "google-ads", - src = ":googleads_proto_with_info", - extra_protoc_parameters = ["metadata"], - grpc_service_config = "googleads_grpc_service_config.json", - main_service = "GoogleAdsService", - package = "google.ads.googleads.v13", - service_yaml = "googleads_v13.yaml", - deps = [], -) - -nodejs_gapic_assembly_pkg( - name = "googleads-nodejs", - deps = [ - ":googleads_nodejs_gapic", - ":googleads_proto", - ], -) diff --git a/third_party/googleapis/google/ads/googleads/v13/common/BUILD.bazel b/third_party/googleapis/google/ads/googleads/v13/common/BUILD.bazel deleted file mode 100644 index 780d303b9..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/common/BUILD.bazel +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 2020 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -package(default_visibility = ["//visibility:public"]) - -############################################################################## -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") - -# TODO(ohren): Change srcs to use an enumeration of each individual proto -# instead of *.proto globbing once the build file generator supports -# subpackages. -proto_library( - name = "common_proto", - srcs = glob(["*.proto"]), - deps = [ - "//google/ads/googleads/v13/enums:enums_proto", - "//google/api:annotations_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", - "@com_google_protobuf//:wrappers_proto", - ], -) - -############################################################################## -# Java -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "java_proto_library", -) - -java_proto_library( - name = "common_java_proto", - deps = [":common_proto"], -) - -############################################################################## -# PHP -############################################################################## - -# PHP targets are in the parent directory's BUILD.bazel file to facilitate -# aggregating metadata using a single underlying call to protoc. - -############################################################################## -# C# -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "csharp_proto_library", -) - -csharp_proto_library( - name = "common_csharp_proto", - deps = [":common_proto"], -) - -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "ruby_proto_library", -) - -ruby_proto_library( - name = "common_ruby_proto", - deps = [":common_proto"], -) - -############################################################################## -# Python -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "py_proto_library", -) - -py_proto_library( - name = "common_py_proto", - deps = [":common_proto"], -) diff --git a/third_party/googleapis/google/ads/googleads/v13/common/ad_asset.proto b/third_party/googleapis/google/ads/googleads/v13/common/ad_asset.proto deleted file mode 100644 index e1819bd5a..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/common/ad_asset.proto +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/common/asset_policy.proto"; -import "google/ads/googleads/v13/enums/asset_performance_label.proto"; -import "google/ads/googleads/v13/enums/served_asset_field_type.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "AdAssetProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; - -// Proto file describing assets used inside an ad. - -// A text asset used inside an ad. -message AdTextAsset { - // Asset text. - optional string text = 4; - - // The pinned field of the asset. This restricts the asset to only serve - // within this field. Multiple assets can be pinned to the same field. An - // asset that is unpinned or pinned to a different field will not serve in a - // field where some other asset has been pinned. - google.ads.googleads.v13.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType - pinned_field = 2; - - // The performance label of this text asset. - google.ads.googleads.v13.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel - asset_performance_label = 5; - - // The policy summary of this text asset. - AdAssetPolicySummary policy_summary_info = 6; -} - -// An image asset used inside an ad. -message AdImageAsset { - // The Asset resource name of this image. - optional string asset = 2; -} - -// A video asset used inside an ad. -message AdVideoAsset { - // The Asset resource name of this video. - optional string asset = 2; -} - -// A media bundle asset used inside an ad. -message AdMediaBundleAsset { - // The Asset resource name of this media bundle. - optional string asset = 2; -} - -// A discovery carousel card asset used inside an ad. -message AdDiscoveryCarouselCardAsset { - // The Asset resource name of this discovery carousel card. - optional string asset = 1; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/common/ad_type_infos.proto b/third_party/googleapis/google/ads/googleads/v13/common/ad_type_infos.proto deleted file mode 100644 index 6b6f989ff..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/common/ad_type_infos.proto +++ /dev/null @@ -1,722 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/common/ad_asset.proto"; -import "google/ads/googleads/v13/enums/call_conversion_reporting_state.proto"; -import "google/ads/googleads/v13/enums/display_ad_format_setting.proto"; -import "google/ads/googleads/v13/enums/display_upload_product_type.proto"; -import "google/ads/googleads/v13/enums/legacy_app_install_ad_app_store.proto"; -import "google/ads/googleads/v13/enums/mime_type.proto"; -import "google/ads/googleads/v13/enums/video_thumbnail.proto"; -import "google/api/field_behavior.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "AdTypeInfosProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; - -// Proto file containing info messages for specific ad types. - -// A text ad. -message TextAdInfo { - // The headline of the ad. - optional string headline = 4; - - // The first line of the ad's description. - optional string description1 = 5; - - // The second line of the ad's description. - optional string description2 = 6; -} - -// An expanded text ad. -message ExpandedTextAdInfo { - // The first part of the ad's headline. - optional string headline_part1 = 8; - - // The second part of the ad's headline. - optional string headline_part2 = 9; - - // The third part of the ad's headline. - optional string headline_part3 = 10; - - // The description of the ad. - optional string description = 11; - - // The second description of the ad. - optional string description2 = 12; - - // The text that can appear alongside the ad's displayed URL. - optional string path1 = 13; - - // Additional text that can appear alongside the ad's displayed URL. - optional string path2 = 14; -} - -// An expanded dynamic search ad. -message ExpandedDynamicSearchAdInfo { - // The description of the ad. - optional string description = 3; - - // The second description of the ad. - optional string description2 = 4; -} - -// A hotel ad. -message HotelAdInfo {} - -// A travel ad. -message TravelAdInfo {} - -// A Smart Shopping ad. -message ShoppingSmartAdInfo {} - -// A standard Shopping ad. -message ShoppingProductAdInfo {} - -// A Shopping Comparison Listing ad. -message ShoppingComparisonListingAdInfo { - // Headline of the ad. This field is required. Allowed length is between 25 - // and 45 characters. - optional string headline = 2; -} - -// An image ad. -message ImageAdInfo { - // Width in pixels of the full size image. - optional int64 pixel_width = 15; - - // Height in pixels of the full size image. - optional int64 pixel_height = 16; - - // URL of the full size image. - optional string image_url = 17; - - // Width in pixels of the preview size image. - optional int64 preview_pixel_width = 18; - - // Height in pixels of the preview size image. - optional int64 preview_pixel_height = 19; - - // URL of the preview size image. - optional string preview_image_url = 20; - - // The mime type of the image. - google.ads.googleads.v13.enums.MimeTypeEnum.MimeType mime_type = 10; - - // The name of the image. If the image was created from a MediaFile, this is - // the MediaFile's name. If the image was created from bytes, this is empty. - optional string name = 21; - - // The image to create the ImageAd from. This can be specified in one of - // two ways. - // 1. An existing MediaFile resource. - // 2. The raw image data as bytes. - oneof image { - // The MediaFile resource to use for the image. - string media_file = 12; - - // Raw image data as bytes. - bytes data = 13; - - // An ad ID to copy the image from. - int64 ad_id_to_copy_image_from = 14; - } -} - -// Representation of video bumper in-stream ad format (very short in-stream -// non-skippable video ad). -message VideoBumperInStreamAdInfo { - // The image assets of the companion banner used with the ad. - AdImageAsset companion_banner = 3; - - // Label on the "Call To Action" button taking the user to the video ad's - // final URL. - string action_button_label = 4; - - // Additional text displayed with the CTA (call-to-action) button to give - // context and encourage clicking on the button. - string action_headline = 5; -} - -// Representation of video non-skippable in-stream ad format (15 second -// in-stream non-skippable video ad). -message VideoNonSkippableInStreamAdInfo { - // The image assets of the companion banner used with the ad. - AdImageAsset companion_banner = 5; - - // Label on the "Call To Action" button taking the user to the video ad's - // final URL. - string action_button_label = 3; - - // Additional text displayed with the "Call To Action" button to give - // context and encourage clicking on the button. - string action_headline = 4; -} - -// Representation of video TrueView in-stream ad format (ad shown during video -// playback, often at beginning, which displays a skip button a few seconds into -// the video). -message VideoTrueViewInStreamAdInfo { - // Label on the CTA (call-to-action) button taking the user to the video ad's - // final URL. - // Required for TrueView for action campaigns, optional otherwise. - string action_button_label = 4; - - // Additional text displayed with the CTA (call-to-action) button to give - // context and encourage clicking on the button. - string action_headline = 5; - - // The image assets of the companion banner used with the ad. - AdImageAsset companion_banner = 7; -} - -// Representation of video out-stream ad format (ad shown alongside a feed -// with automatic playback, without sound). -message VideoOutstreamAdInfo { - // The headline of the ad. - string headline = 3; - - // The description line. - string description = 4; -} - -// Representation of In-feed video ad format. -message InFeedVideoAdInfo { - // The headline of the ad. - string headline = 1; - - // First text line for the ad. - string description1 = 2; - - // Second text line for the ad. - string description2 = 3; - - // Video thumbnail image to use. - google.ads.googleads.v13.enums.VideoThumbnailEnum.VideoThumbnail thumbnail = - 4; -} - -// A video ad. -message VideoAdInfo { - // The YouTube video assets used for the ad. - AdVideoAsset video = 8; - - // Format-specific schema for the different video formats. - oneof format { - // Video TrueView in-stream ad format. - VideoTrueViewInStreamAdInfo in_stream = 2; - - // Video bumper in-stream ad format. - VideoBumperInStreamAdInfo bumper = 3; - - // Video out-stream ad format. - VideoOutstreamAdInfo out_stream = 4; - - // Video non-skippable in-stream ad format. - VideoNonSkippableInStreamAdInfo non_skippable = 5; - - // In-feed video ad format. - InFeedVideoAdInfo in_feed = 9; - } -} - -// A video responsive ad. -message VideoResponsiveAdInfo { - // List of text assets used for the short headline, for example, the "Call To - // Action" banner. Currently, only a single value for the short headline is - // supported. - repeated AdTextAsset headlines = 1; - - // List of text assets used for the long headline. - // Currently, only a single value for the long headline is supported. - repeated AdTextAsset long_headlines = 2; - - // List of text assets used for the description. - // Currently, only a single value for the description is supported. - repeated AdTextAsset descriptions = 3; - - // List of text assets used for the button, for example, the "Call To Action" - // button. Currently, only a single value for the button is supported. - repeated AdTextAsset call_to_actions = 4; - - // List of YouTube video assets used for the ad. - // Currently, only a single value for the YouTube video asset is supported. - repeated AdVideoAsset videos = 5; - - // List of image assets used for the companion banner. - // Currently, only a single value for the companion banner asset is supported. - repeated AdImageAsset companion_banners = 6; - - // First part of text that appears in the ad with the displayed URL. - string breadcrumb1 = 7; - - // Second part of text that appears in the ad with the displayed URL. - string breadcrumb2 = 8; -} - -// A responsive search ad. -// -// Responsive search ads let you create an ad that adapts to show more text, and -// more relevant messages, to your customers. Enter multiple headlines and -// descriptions when creating a responsive search ad, and over time, Google Ads -// will automatically test different combinations and learn which combinations -// perform best. By adapting your ad's content to more closely match potential -// customers' search terms, responsive search ads may improve your campaign's -// performance. -// -// More information at https://support.google.com/google-ads/answer/7684791 -message ResponsiveSearchAdInfo { - // List of text assets for headlines. When the ad serves the headlines will - // be selected from this list. - repeated AdTextAsset headlines = 1; - - // List of text assets for descriptions. When the ad serves the descriptions - // will be selected from this list. - repeated AdTextAsset descriptions = 2; - - // First part of text that can be appended to the URL in the ad. - optional string path1 = 5; - - // Second part of text that can be appended to the URL in the ad. This field - // can only be set when `path1` is also set. - optional string path2 = 6; -} - -// A legacy responsive display ad. Ads of this type are labeled 'Responsive ads' -// in the Google Ads UI. -message LegacyResponsiveDisplayAdInfo { - // The short version of the ad's headline. - optional string short_headline = 16; - - // The long version of the ad's headline. - optional string long_headline = 17; - - // The description of the ad. - optional string description = 18; - - // The business name in the ad. - optional string business_name = 19; - - // Advertiser's consent to allow flexible color. When true, the ad may be - // served with different color if necessary. When false, the ad will be served - // with the specified colors or a neutral color. - // The default value is `true`. - // Must be true if `main_color` and `accent_color` are not set. - optional bool allow_flexible_color = 20; - - // The accent color of the ad in hexadecimal, for example, #ffffff for white. - // If one of `main_color` and `accent_color` is set, the other is required as - // well. - optional string accent_color = 21; - - // The main color of the ad in hexadecimal, for example, #ffffff for white. - // If one of `main_color` and `accent_color` is set, the other is required as - // well. - optional string main_color = 22; - - // The call-to-action text for the ad. - optional string call_to_action_text = 23; - - // The MediaFile resource name of the logo image used in the ad. - optional string logo_image = 24; - - // The MediaFile resource name of the square logo image used in the ad. - optional string square_logo_image = 25; - - // The MediaFile resource name of the marketing image used in the ad. - optional string marketing_image = 26; - - // The MediaFile resource name of the square marketing image used in the ad. - optional string square_marketing_image = 27; - - // Specifies which format the ad will be served in. Default is ALL_FORMATS. - google.ads.googleads.v13.enums.DisplayAdFormatSettingEnum - .DisplayAdFormatSetting format_setting = 13; - - // Prefix before price. For example, 'as low as'. - optional string price_prefix = 28; - - // Promotion text used for dynamic formats of responsive ads. For example - // 'Free two-day shipping'. - optional string promo_text = 29; -} - -// An app ad. -message AppAdInfo { - // Mandatory ad text. - AdTextAsset mandatory_ad_text = 1; - - // List of text assets for headlines. When the ad serves the headlines will - // be selected from this list. - repeated AdTextAsset headlines = 2; - - // List of text assets for descriptions. When the ad serves the descriptions - // will be selected from this list. - repeated AdTextAsset descriptions = 3; - - // List of image assets that may be displayed with the ad. - repeated AdImageAsset images = 4; - - // List of YouTube video assets that may be displayed with the ad. - repeated AdVideoAsset youtube_videos = 5; - - // List of media bundle assets that may be used with the ad. - repeated AdMediaBundleAsset html5_media_bundles = 6; -} - -// App engagement ads allow you to write text encouraging a specific action in -// the app, like checking in, making a purchase, or booking a flight. -// They allow you to send users to a specific part of your app where they can -// find what they're looking for easier and faster. -message AppEngagementAdInfo { - // List of text assets for headlines. When the ad serves the headlines will - // be selected from this list. - repeated AdTextAsset headlines = 1; - - // List of text assets for descriptions. When the ad serves the descriptions - // will be selected from this list. - repeated AdTextAsset descriptions = 2; - - // List of image assets that may be displayed with the ad. - repeated AdImageAsset images = 3; - - // List of video assets that may be displayed with the ad. - repeated AdVideoAsset videos = 4; -} - -// App pre-registration ads link to your app or game listing on Google Play, and -// can run on Google Play, on YouTube (in-stream only), and within other apps -// and mobile websites on the Display Network. It will help capture people's -// interest in your app or game and generate an early install base for your app -// or game before a launch. -message AppPreRegistrationAdInfo { - // List of text assets for headlines. When the ad serves the headlines will - // be selected from this list. - repeated AdTextAsset headlines = 1; - - // List of text assets for descriptions. When the ad serves the descriptions - // will be selected from this list. - repeated AdTextAsset descriptions = 2; - - // List of image asset IDs whose images may be displayed with the ad. - repeated AdImageAsset images = 3; - - // List of YouTube video asset IDs whose videos may be displayed with the ad. - repeated AdVideoAsset youtube_videos = 4; -} - -// A legacy app install ad that only can be used by a few select customers. -message LegacyAppInstallAdInfo { - // The ID of the mobile app. - optional string app_id = 6; - - // The app store the mobile app is available in. - google.ads.googleads.v13.enums.LegacyAppInstallAdAppStoreEnum - .LegacyAppInstallAdAppStore app_store = 2; - - // The headline of the ad. - optional string headline = 7; - - // The first description line of the ad. - optional string description1 = 8; - - // The second description line of the ad. - optional string description2 = 9; -} - -// A responsive display ad. -message ResponsiveDisplayAdInfo { - // Marketing images to be used in the ad. Valid image types are GIF, - // JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must - // be 1.91:1 (+-1%). At least one `marketing_image` is required. Combined - // with `square_marketing_images`, the maximum is 15. - repeated AdImageAsset marketing_images = 1; - - // Square marketing images to be used in the ad. Valid image types are GIF, - // JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must - // be 1:1 (+-1%). At least one square `marketing_image` is required. Combined - // with `marketing_images`, the maximum is 15. - repeated AdImageAsset square_marketing_images = 2; - - // Logo images to be used in the ad. Valid image types are GIF, - // JPEG, and PNG. The minimum size is 512x128 and the aspect ratio must - // be 4:1 (+-1%). Combined with `square_logo_images`, the maximum is 5. - repeated AdImageAsset logo_images = 3; - - // Square logo images to be used in the ad. Valid image types are GIF, - // JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must - // be 1:1 (+-1%). Combined with `square_logo_images`, the maximum is 5. - repeated AdImageAsset square_logo_images = 4; - - // Short format headlines for the ad. The maximum length is 30 characters. - // At least 1 and max 5 headlines can be specified. - repeated AdTextAsset headlines = 5; - - // A required long format headline. The maximum length is 90 characters. - AdTextAsset long_headline = 6; - - // Descriptive texts for the ad. The maximum length is 90 characters. At - // least 1 and max 5 headlines can be specified. - repeated AdTextAsset descriptions = 7; - - // Optional YouTube videos for the ad. A maximum of 5 videos can be specified. - repeated AdVideoAsset youtube_videos = 8; - - // The advertiser/brand name. Maximum display width is 25. - optional string business_name = 17; - - // The main color of the ad in hexadecimal, for example, #ffffff for white. - // If one of `main_color` and `accent_color` is set, the other is required as - // well. - optional string main_color = 18; - - // The accent color of the ad in hexadecimal, for example, #ffffff for white. - // If one of `main_color` and `accent_color` is set, the other is required as - // well. - optional string accent_color = 19; - - // Advertiser's consent to allow flexible color. When true, the ad may be - // served with different color if necessary. When false, the ad will be served - // with the specified colors or a neutral color. - // The default value is `true`. - // Must be true if `main_color` and `accent_color` are not set. - optional bool allow_flexible_color = 20; - - // The call-to-action text for the ad. Maximum display width is 30. - optional string call_to_action_text = 21; - - // Prefix before price. For example, 'as low as'. - optional string price_prefix = 22; - - // Promotion text used for dynamic formats of responsive ads. For example - // 'Free two-day shipping'. - optional string promo_text = 23; - - // Specifies which format the ad will be served in. Default is ALL_FORMATS. - google.ads.googleads.v13.enums.DisplayAdFormatSettingEnum - .DisplayAdFormatSetting format_setting = 16; - - // Specification for various creative controls. - ResponsiveDisplayAdControlSpec control_spec = 24; -} - -// A local ad. -message LocalAdInfo { - // List of text assets for headlines. When the ad serves the headlines will - // be selected from this list. At least 1 and at most 5 headlines must be - // specified. - repeated AdTextAsset headlines = 1; - - // List of text assets for descriptions. When the ad serves the descriptions - // will be selected from this list. At least 1 and at most 5 descriptions must - // be specified. - repeated AdTextAsset descriptions = 2; - - // List of text assets for call-to-actions. When the ad serves the - // call-to-actions will be selected from this list. At least 1 and at most - // 5 call-to-actions must be specified. - repeated AdTextAsset call_to_actions = 3; - - // List of marketing image assets that may be displayed with the ad. The - // images must be 314x600 pixels or 320x320 pixels. At least 1 and at most - // 20 image assets must be specified. - repeated AdImageAsset marketing_images = 4; - - // List of logo image assets that may be displayed with the ad. The images - // must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5 - // image assets must be specified. - repeated AdImageAsset logo_images = 5; - - // List of YouTube video assets that may be displayed with the ad. At least 1 - // and at most 20 video assets must be specified. - repeated AdVideoAsset videos = 6; - - // First part of optional text that can be appended to the URL in the ad. - optional string path1 = 9; - - // Second part of optional text that can be appended to the URL in the ad. - // This field can only be set when `path1` is also set. - optional string path2 = 10; -} - -// A generic type of display ad. The exact ad format is controlled by the -// `display_upload_product_type` field, which determines what kinds of data -// need to be included with the ad. -message DisplayUploadAdInfo { - // The product type of this ad. See comments on the enum for details. - google.ads.googleads.v13.enums.DisplayUploadProductTypeEnum - .DisplayUploadProductType display_upload_product_type = 1; - - // The asset data that makes up the ad. - oneof media_asset { - // A media bundle asset to be used in the ad. For information about the - // media bundle for HTML5_UPLOAD_AD, see - // https://support.google.com/google-ads/answer/1722096 - // Media bundles that are part of dynamic product types use a special format - // that needs to be created through the Google Web Designer. See - // https://support.google.com/webdesigner/answer/7543898 for more - // information. - AdMediaBundleAsset media_bundle = 2; - } -} - -// Specification for various creative controls for a responsive display ad. -message ResponsiveDisplayAdControlSpec { - // Whether the advertiser has opted into the asset enhancements feature. - bool enable_asset_enhancements = 1; - - // Whether the advertiser has opted into auto-gen video feature. - bool enable_autogen_video = 2; -} - -// A Smart campaign ad. -message SmartCampaignAdInfo { - // List of text assets, each of which corresponds to a headline when the ad - // serves. This list consists of a minimum of 3 and up to 15 text assets. - repeated AdTextAsset headlines = 1; - - // List of text assets, each of which corresponds to a description when the ad - // serves. This list consists of a minimum of 2 and up to 4 text assets. - repeated AdTextAsset descriptions = 2; -} - -// A call ad. -message CallAdInfo { - // The country code in the ad. - string country_code = 1; - - // The phone number in the ad. - string phone_number = 2; - - // The business name in the ad. - string business_name = 3; - - // First headline in the ad. - string headline1 = 11; - - // Second headline in the ad. - string headline2 = 12; - - // The first line of the ad's description. - string description1 = 4; - - // The second line of the ad's description. - string description2 = 5; - - // Whether to enable call tracking for the creative. Enabling call - // tracking also enables call conversions. - bool call_tracked = 6; - - // Whether to disable call conversion for the creative. - // If set to `true`, disables call conversions even when `call_tracked` is - // `true`. - // If `call_tracked` is `false`, this field is ignored. - bool disable_call_conversion = 7; - - // The URL to be used for phone number verification. - string phone_number_verification_url = 8; - - // The conversion action to attribute a call conversion to. If not set a - // default conversion action is used. This field only has effect if - // `call_tracked` is set to `true`. Otherwise this field is ignored. - string conversion_action = 9; - - // The call conversion behavior of this call ad. It can use its own call - // conversion setting, inherit the account level setting, or be disabled. - google.ads.googleads.v13.enums.CallConversionReportingStateEnum - .CallConversionReportingState conversion_reporting_state = 10; - - // First part of text that can be appended to the URL in the ad. Optional. - string path1 = 13; - - // Second part of text that can be appended to the URL in the ad. This field - // can only be set when `path1` is also set. Optional. - string path2 = 14; -} - -// A discovery multi asset ad. -message DiscoveryMultiAssetAdInfo { - // Marketing image assets to be used in the ad. Valid image types are GIF, - // JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must - // be 1.91:1 (+-1%). Required if square_marketing_images is - // not present. Combined with `square_marketing_images` and - // `portrait_marketing_images` the maximum is 20. - repeated AdImageAsset marketing_images = 1; - - // Square marketing image assets to be used in the ad. Valid image types are - // GIF, JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must - // be 1:1 (+-1%). Required if marketing_images is not present. Combined with - // `marketing_images` and `portrait_marketing_images` the maximum is 20. - repeated AdImageAsset square_marketing_images = 2; - - // Portrait marketing image assets to be used in the ad. Valid image types are - // GIF, JPEG, and PNG. The minimum size is 480x600 and the aspect ratio must - // be 4:5 (+-1%). Combined with `marketing_images` and - // `square_marketing_images` the maximum is 20. - repeated AdImageAsset portrait_marketing_images = 3; - - // Logo image assets to be used in the ad. Valid image types are GIF, - // JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must be - // 1:1(+-1%). At least 1 and max 5 logo images can be specified. - repeated AdImageAsset logo_images = 4; - - // Headline text asset of the ad. Maximum display width is 30. At least 1 and - // max 5 headlines can be specified. - repeated AdTextAsset headlines = 5; - - // The descriptive text of the ad. Maximum display width is 90. At least 1 and - // max 5 descriptions can be specified. - repeated AdTextAsset descriptions = 6; - - // The Advertiser/brand name. Maximum display width is 25. Required. - optional string business_name = 7; - - // Call to action text. - optional string call_to_action_text = 8; - - // Boolean option that indicates if this ad must be served with lead form. - optional bool lead_form_only = 9; -} - -// A discovery carousel ad. -message DiscoveryCarouselAdInfo { - // Required. The Advertiser/brand name. - string business_name = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. Logo image to be used in the ad. The minimum size is 128x128 and - // the aspect ratio must be 1:1(+-1%). - AdImageAsset logo_image = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. Headline of the ad. - AdTextAsset headline = 3 [(google.api.field_behavior) = REQUIRED]; - - // Required. The descriptive text of the ad. - AdTextAsset description = 4 [(google.api.field_behavior) = REQUIRED]; - - // Call to action text. - string call_to_action_text = 5; - - // Required. Carousel cards that will display with the ad. Min 2 max 10. - repeated AdDiscoveryCarouselCardAsset carousel_cards = 6 - [(google.api.field_behavior) = REQUIRED]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/common/asset_policy.proto b/third_party/googleapis/google/ads/googleads/v13/common/asset_policy.proto deleted file mode 100644 index 8fc1980ff..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/common/asset_policy.proto +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/common/policy.proto"; -import "google/ads/googleads/v13/enums/asset_link_primary_status.proto"; -import "google/ads/googleads/v13/enums/asset_link_primary_status_reason.proto"; -import "google/ads/googleads/v13/enums/asset_offline_evaluation_error_reasons.proto"; -import "google/ads/googleads/v13/enums/policy_approval_status.proto"; -import "google/ads/googleads/v13/enums/policy_review_status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "AssetPolicyProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; - -// Proto file describing asset policies. - -// Contains policy information for an asset inside an ad. -message AdAssetPolicySummary { - // The list of policy findings for this asset. - repeated PolicyTopicEntry policy_topic_entries = 1; - - // Where in the review process this asset. - google.ads.googleads.v13.enums.PolicyReviewStatusEnum.PolicyReviewStatus - review_status = 2; - - // The overall approval status of this asset, which is calculated based on - // the status of its individual policy topic entries. - google.ads.googleads.v13.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus - approval_status = 3; -} - -// Provides the detail of a PrimaryStatus. -// Each asset link has a PrimaryStatus value (e.g. NOT_ELIGIBLE, meaning not -// serving), and list of corroborating PrimaryStatusReasons (e.g. -// [ASSET_DISAPPROVED]). Each reason may have some additional details -// annotated with it. For instance, when the reason is ASSET_DISAPPROVED, the -// details field will contain additional information about the offline -// evaluation errors which led to the asset being disapproved. -// Next Id: 4 -message AssetLinkPrimaryStatusDetails { - // Provides the reason of this PrimaryStatus. - optional google.ads.googleads.v13.enums.AssetLinkPrimaryStatusReasonEnum - .AssetLinkPrimaryStatusReason reason = 1; - - // Provides the PrimaryStatus of this status detail. - optional google.ads.googleads.v13.enums.AssetLinkPrimaryStatusEnum - .AssetLinkPrimaryStatus status = 2; - - // Provides the details associated with the asset link primary status. - oneof details { - // Provides the details for AssetLinkPrimaryStatusReason.ASSET_DISAPPROVED - AssetDisapproved asset_disapproved = 3; - } -} - -// Details related to AssetLinkPrimaryStatusReasonPB.ASSET_DISAPPROVED -// Next Id: 2 -message AssetDisapproved { - // Provides the quality evaluation disapproval reason of an asset. - repeated google.ads.googleads.v13.enums.AssetOfflineEvaluationErrorReasonsEnum - .AssetOfflineEvaluationErrorReasons offline_evaluation_error_reasons = 1; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/common/asset_set_types.proto b/third_party/googleapis/google/ads/googleads/v13/common/asset_set_types.proto deleted file mode 100644 index 2814a351f..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/common/asset_set_types.proto +++ /dev/null @@ -1,188 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/enums/chain_relationship_type.proto"; -import "google/ads/googleads/v13/enums/location_ownership_type.proto"; -import "google/ads/googleads/v13/enums/location_string_filter_type.proto"; -import "google/api/field_behavior.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetTypesProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; - -// Proto file containing info messages for specific asset set types. - -// Data related to location set. One of the Google Business Profile (previously -// known as Google My Business) data, Chain data, and map location data need to -// be specified. -message LocationSet { - // Required. Immutable. Location Ownership Type (owned location or affiliate - // location). - google.ads.googleads.v13.enums.LocationOwnershipTypeEnum.LocationOwnershipType - location_ownership_type = 3 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE - ]; - - // Location data specific to each sync source. - oneof source { - // Data used to configure a location set populated from Google Business - // Profile locations. - BusinessProfileLocationSet business_profile_location_set = 1; - - // Data used to configure a location on chain set populated with the - // specified chains. - ChainSet chain_location_set = 2; - - // Only set if locations are synced based on selected maps locations - MapsLocationSet maps_location_set = 5; - } -} - -// Data used to configure a location set populated from Google Business Profile -// locations. -// Different types of filters are AND'ed together, if they are specified. -message BusinessProfileLocationSet { - // Required. Immutable. The HTTP authorization token used to obtain - // authorization. - string http_authorization_token = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.field_behavior) = REQUIRED - ]; - - // Required. Immutable. Email address of a Google Business Profile account or - // email address of a manager of the Google Business Profile account. - string email_address = 2 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE - ]; - - // Used to filter Google Business Profile listings by business name. If - // businessNameFilter is set, only listings with a matching business name are - // candidates to be sync'd into Assets. - string business_name_filter = 3; - - // Used to filter Google Business Profile listings by labels. If entries exist - // in labelFilters, only listings that have any of the labels set are - // candidates to be synchronized into Assets. If no entries exist in - // labelFilters, then all listings are candidates for syncing. - // Label filters are OR'ed together. - repeated string label_filters = 4; - - // Used to filter Google Business Profile listings by listing id. If entries - // exist in listingIdFilters, only listings specified by the filters are - // candidates to be synchronized into Assets. If no entries exist in - // listingIdFilters, then all listings are candidates for syncing. - // Listing ID filters are OR'ed together. - repeated int64 listing_id_filters = 5; - - // Immutable. The account ID of the managed business whose locations are to be - // used. If this field is not set, then all businesses accessible by the user - // (specified by the emailAddress) are used. - string business_account_id = 6 [(google.api.field_behavior) = IMMUTABLE]; -} - -// Data used to configure a location set populated with the specified chains. -message ChainSet { - // Required. Immutable. Relationship type the specified chains have with this - // advertiser. - google.ads.googleads.v13.enums.ChainRelationshipTypeEnum.ChainRelationshipType - relationship_type = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE - ]; - - // Required. A list of chain level filters, all filters are OR'ed together. - repeated ChainFilter chains = 2 [(google.api.field_behavior) = REQUIRED]; -} - -// One chain level filter on location in a feed item set. -// The filtering logic among all the fields is AND. -message ChainFilter { - // Required. Used to filter chain locations by chain id. Only chain locations - // that belong to the specified chain will be in the asset set. - int64 chain_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Used to filter chain locations by location attributes. - // Only chain locations that belong to all of the specified attribute(s) will - // be in the asset set. If this field is empty, it means no filtering on this - // field. - repeated string location_attributes = 2; -} - -// Wrapper for multiple maps location sync data -message MapsLocationSet { - // Required. A list of maps location info that user manually synced in. - repeated MapsLocationInfo maps_locations = 1 - [(google.api.field_behavior) = REQUIRED]; -} - -// Wrapper for place ids -message MapsLocationInfo { - // Place ID of the Maps location. - string place_id = 1; -} - -// Information about a Business Profile dynamic location group. -// Only applicable if the sync level AssetSet's type is LOCATION_SYNC and -// sync source is Business Profile. -message BusinessProfileLocationGroup { - // Filter for dynamic Business Profile location sets. - DynamicBusinessProfileLocationGroupFilter - dynamic_business_profile_location_group_filter = 1; -} - -// Represents a filter on Business Profile locations in an asset set. If -// multiple filters are provided, they are AND'ed together. -message DynamicBusinessProfileLocationGroupFilter { - // Used to filter Business Profile locations by label. Only locations that - // have any of the listed labels will be in the asset set. - // Label filters are OR'ed together. - repeated string label_filters = 1; - - // Used to filter Business Profile locations by business name. - optional BusinessProfileBusinessNameFilter business_name_filter = 2; - - // Used to filter Business Profile locations by listing ids. - repeated int64 listing_id_filters = 3; -} - -// Business Profile location group business name filter. -message BusinessProfileBusinessNameFilter { - // Business name string to use for filtering. - string business_name = 1; - - // The type of string matching to use when filtering with business_name. - google.ads.googleads.v13.enums.LocationStringFilterTypeEnum - .LocationStringFilterType filter_type = 2; -} - -// Represents information about a Chain dynamic location group. -// Only applicable if the sync level AssetSet's type is LOCATION_SYNC and -// sync source is chain. -message ChainLocationGroup { - // Used to filter chain locations by chain ids. - // Only Locations that belong to the specified chain(s) will be in the asset - // set. - repeated ChainFilter dynamic_chain_location_group_filters = 1; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/common/asset_types.proto b/third_party/googleapis/google/ads/googleads/v13/common/asset_types.proto deleted file mode 100644 index a2ffc1251..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/common/asset_types.proto +++ /dev/null @@ -1,1054 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/common/criteria.proto"; -import "google/ads/googleads/v13/common/feed_common.proto"; -import "google/ads/googleads/v13/enums/call_conversion_reporting_state.proto"; -import "google/ads/googleads/v13/enums/call_to_action_type.proto"; -import "google/ads/googleads/v13/enums/lead_form_call_to_action_type.proto"; -import "google/ads/googleads/v13/enums/lead_form_desired_intent.proto"; -import "google/ads/googleads/v13/enums/lead_form_field_user_input_type.proto"; -import "google/ads/googleads/v13/enums/lead_form_post_submit_call_to_action_type.proto"; -import "google/ads/googleads/v13/enums/location_ownership_type.proto"; -import "google/ads/googleads/v13/enums/mime_type.proto"; -import "google/ads/googleads/v13/enums/mobile_app_vendor.proto"; -import "google/ads/googleads/v13/enums/price_extension_price_qualifier.proto"; -import "google/ads/googleads/v13/enums/price_extension_price_unit.proto"; -import "google/ads/googleads/v13/enums/price_extension_type.proto"; -import "google/ads/googleads/v13/enums/promotion_extension_discount_modifier.proto"; -import "google/ads/googleads/v13/enums/promotion_extension_occasion.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "AssetTypesProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; - -// Proto file containing info messages for specific asset types. - -// A YouTube asset. -message YoutubeVideoAsset { - // YouTube video id. This is the 11 character string value used in the - // YouTube video URL. - optional string youtube_video_id = 2; - - // YouTube video title. - string youtube_video_title = 3; -} - -// A MediaBundle asset. -message MediaBundleAsset { - // Media bundle (ZIP file) asset data. The format of the uploaded ZIP file - // depends on the ad field where it will be used. For more information on the - // format, see the documentation of the ad field where you plan on using the - // MediaBundleAsset. This field is mutate only. - optional bytes data = 2; -} - -// An Image asset. -message ImageAsset { - // The raw bytes data of an image. This field is mutate only. - optional bytes data = 5; - - // File size of the image asset in bytes. - optional int64 file_size = 6; - - // MIME type of the image asset. - google.ads.googleads.v13.enums.MimeTypeEnum.MimeType mime_type = 3; - - // Metadata for this image at its original size. - ImageDimension full_size = 4; -} - -// Metadata for an image at a certain size, either original or resized. -message ImageDimension { - // Height of the image. - optional int64 height_pixels = 4; - - // Width of the image. - optional int64 width_pixels = 5; - - // A URL that returns the image with this height and width. - optional string url = 6; -} - -// A Text asset. -message TextAsset { - // Text content of the text asset. - optional string text = 2; -} - -// A Lead Form asset. -message LeadFormAsset { - // Required. The name of the business being advertised. - string business_name = 10 [(google.api.field_behavior) = REQUIRED]; - - // Required. Pre-defined display text that encourages user to expand the form. - google.ads.googleads.v13.enums.LeadFormCallToActionTypeEnum - .LeadFormCallToActionType call_to_action_type = 17 - [(google.api.field_behavior) = REQUIRED]; - - // Required. Text giving a clear value proposition of what users expect once - // they expand the form. - string call_to_action_description = 18 - [(google.api.field_behavior) = REQUIRED]; - - // Required. Headline of the expanded form to describe what the form is asking - // for or facilitating. - string headline = 12 [(google.api.field_behavior) = REQUIRED]; - - // Required. Detailed description of the expanded form to describe what the - // form is asking for or facilitating. - string description = 13 [(google.api.field_behavior) = REQUIRED]; - - // Required. Link to a page describing the policy on how the collected data is - // handled by the advertiser/business. - string privacy_policy_url = 14 [(google.api.field_behavior) = REQUIRED]; - - // Headline of text shown after form submission that describes how the - // advertiser will follow up with the user. - optional string post_submit_headline = 15; - - // Detailed description shown after form submission that describes how the - // advertiser will follow up with the user. - optional string post_submit_description = 16; - - // Ordered list of input fields. This field can be updated by reordering - // questions, but not by adding or removing questions. - repeated LeadFormField fields = 8; - - // Ordered list of custom question fields. This field is subject to a limit of - // 5 qualifying questions per form. - repeated LeadFormCustomQuestionField custom_question_fields = 23; - - // Configured methods for collected lead data to be delivered to advertiser. - // Only one method typed as WebhookDelivery can be configured. - repeated LeadFormDeliveryMethod delivery_methods = 9; - - // Pre-defined display text that encourages user action after the form is - // submitted. - google.ads.googleads.v13.enums.LeadFormPostSubmitCallToActionTypeEnum - .LeadFormPostSubmitCallToActionType post_submit_call_to_action_type = 19; - - // Asset resource name of the background image. The minimum size is 600x314 - // and the aspect ratio must be 1.91:1 (+-1%). - optional string background_image_asset = 20; - - // Chosen intent for the lead form, for example, more volume or more - // qualified. - google.ads.googleads.v13.enums.LeadFormDesiredIntentEnum.LeadFormDesiredIntent - desired_intent = 21; - - // Custom disclosure shown along with Google disclaimer on the lead form. - // Accessible to allowed customers only. - optional string custom_disclosure = 22; -} - -// One input field instance within a form. -message LeadFormField { - // Describes the input type, which may be a predefined type such as "full - // name" or a pre-vetted question like "What kind of vehicle do you have?". - google.ads.googleads.v13.enums.LeadFormFieldUserInputTypeEnum - .LeadFormFieldUserInputType input_type = 1; - - // Defines answer configuration that this form field accepts. If oneof is not - // set, this is a free-text answer. - oneof answers { - // Answer configuration for a single choice question. Can be set only for - // pre-vetted question fields. Minimum of 2 answers required and maximum of - // 12 allowed. - LeadFormSingleChoiceAnswers single_choice_answers = 2; - } -} - -// One custom question input field instance within a form. -message LeadFormCustomQuestionField { - // The exact custom question field text (for example, "What kind of vehicle - // do you have?"). - string custom_question_text = 1; - - // Defines answer configuration that this form field accepts. If - // oneof is not set, this is a free-text answer. - oneof answers { - // Answer configuration for a single choice question. - // Minimum of 2 answers and maximum of 12 allowed. - LeadFormSingleChoiceAnswers single_choice_answers = 2; - } -} - -// Defines possible answers for a single choice question, usually presented as -// a single-choice drop-down list. -message LeadFormSingleChoiceAnswers { - // List of choices for a single question field. The order of entries defines - // UI order. Minimum of 2 answers required and maximum of 12 allowed. - repeated string answers = 1; -} - -// A configuration of how leads are delivered to the advertiser. -message LeadFormDeliveryMethod { - // Various subtypes of delivery. - oneof delivery_details { - // Webhook method of delivery. - WebhookDelivery webhook = 1; - } -} - -// Google notifies the advertiser of leads by making HTTP calls to an -// endpoint they specify. The requests contain JSON matching a schema that -// Google publishes as part of form ads documentation. -message WebhookDelivery { - // Webhook url specified by advertiser to send the lead. - optional string advertiser_webhook_url = 4; - - // Anti-spoofing secret set by the advertiser as part of the webhook payload. - optional string google_secret = 5; - - // The schema version that this delivery instance will use. - optional int64 payload_schema_version = 6; -} - -// A Book on Google asset. Used to redirect user to book through Google. -// Book on Google will change the redirect url to book directly through -// Google. -message BookOnGoogleAsset {} - -// A Promotion asset. -message PromotionAsset { - // Required. A freeform description of what the promotion is targeting. - string promotion_target = 1 [(google.api.field_behavior) = REQUIRED]; - - // A modifier for qualification of the discount. - google.ads.googleads.v13.enums.PromotionExtensionDiscountModifierEnum - .PromotionExtensionDiscountModifier discount_modifier = 2; - - // Start date of when the promotion is eligible to be redeemed, in yyyy-MM-dd - // format. - string redemption_start_date = 7; - - // Last date of when the promotion is eligible to be redeemed, in yyyy-MM-dd - // format. - string redemption_end_date = 8; - - // The occasion the promotion was intended for. - // If an occasion is set, the redemption window will need to fall within the - // date range associated with the occasion. - google.ads.googleads.v13.enums.PromotionExtensionOccasionEnum - .PromotionExtensionOccasion occasion = 9; - - // The language of the promotion. - // Represented as BCP 47 language tag. - string language_code = 10; - - // Start date of when this asset is effective and can begin serving, in - // yyyy-MM-dd format. - string start_date = 11; - - // Last date of when this asset is effective and still serving, in yyyy-MM-dd - // format. - string end_date = 12; - - // List of non-overlapping schedules specifying all time intervals for which - // the asset may serve. There can be a maximum of 6 schedules per day, 42 in - // total. - repeated AdScheduleInfo ad_schedule_targets = 13; - - // Discount type, can be percentage off or amount off. - oneof discount_type { - // Percentage off discount in the promotion. 1,000,000 = 100%. - // Either this or money_amount_off is required. - int64 percent_off = 3; - - // Money amount off for discount in the promotion. - // Either this or percent_off is required. - Money money_amount_off = 4; - } - - // Promotion trigger. Can be by promotion code or promo by eligible order - // amount. - oneof promotion_trigger { - // A code the user should use in order to be eligible for the promotion. - string promotion_code = 5; - - // The amount the total order needs to be for the user to be eligible for - // the promotion. - Money orders_over_amount = 6; - } -} - -// A Callout asset. -message CalloutAsset { - // Required. The callout text. - // The length of this string should be between 1 and 25, inclusive. - string callout_text = 1 [(google.api.field_behavior) = REQUIRED]; - - // Start date of when this asset is effective and can begin serving, in - // yyyy-MM-dd format. - string start_date = 2; - - // Last date of when this asset is effective and still serving, in yyyy-MM-dd - // format. - string end_date = 3; - - // List of non-overlapping schedules specifying all time intervals for which - // the asset may serve. There can be a maximum of 6 schedules per day, 42 in - // total. - repeated AdScheduleInfo ad_schedule_targets = 4; -} - -// A Structured Snippet asset. -message StructuredSnippetAsset { - // Required. The header of the snippet. - // This string should be one of the predefined values at - // https://developers.google.com/google-ads/api/reference/data/structured-snippet-headers - string header = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The values in the snippet. - // The size of this collection should be between 3 and 10, inclusive. - // The length of each value should be between 1 and 25 characters, inclusive. - repeated string values = 2 [(google.api.field_behavior) = REQUIRED]; -} - -// A Sitelink asset. -message SitelinkAsset { - // Required. URL display text for the sitelink. - // The length of this string should be between 1 and 25, inclusive. - string link_text = 1 [(google.api.field_behavior) = REQUIRED]; - - // First line of the description for the sitelink. - // If set, the length should be between 1 and 35, inclusive, and description2 - // must also be set. - string description1 = 2; - - // Second line of the description for the sitelink. - // If set, the length should be between 1 and 35, inclusive, and description1 - // must also be set. - string description2 = 3; - - // Start date of when this asset is effective and can begin serving, in - // yyyy-MM-dd format. - string start_date = 4; - - // Last date of when this asset is effective and still serving, in yyyy-MM-dd - // format. - string end_date = 5; - - // List of non-overlapping schedules specifying all time intervals for which - // the asset may serve. There can be a maximum of 6 schedules per day, 42 in - // total. - repeated AdScheduleInfo ad_schedule_targets = 6; -} - -// A Page Feed asset. -message PageFeedAsset { - // Required. The webpage that advertisers want to target. - string page_url = 1 [(google.api.field_behavior) = REQUIRED]; - - // Labels used to group the page urls. - repeated string labels = 2; -} - -// A Dynamic Education asset. -message DynamicEducationAsset { - // Required. Program ID which can be any sequence of letters and digits, and - // must be unique and match the values of remarketing tag. Required. - string program_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Location ID which can be any sequence of letters and digits and must be - // unique. - string location_id = 2; - - // Required. Program name, for example, Nursing. Required. - string program_name = 3 [(google.api.field_behavior) = REQUIRED]; - - // Subject of study, for example, Health. - string subject = 4; - - // Program description, for example, Nursing Certification. - string program_description = 5; - - // School name, for example, Mountain View School of Nursing. - string school_name = 6; - - // School address which can be specified in one of the following formats. - // (1) City, state, code, country, for example, Mountain View, CA, USA. - // (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - // (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403 - string address = 7; - - // Contextual keywords, for example, Nursing certification, Health, Mountain - // View. - repeated string contextual_keywords = 8; - - // Android deep link, for example, - // android-app://com.example.android/http/example.com/gizmos?1234. - string android_app_link = 9; - - // Similar program IDs. - repeated string similar_program_ids = 10; - - // iOS deep link, for example, exampleApp://content/page. - string ios_app_link = 11; - - // iOS app store ID. This is used to check if the user has the app installed - // on their device before deep linking. If this field is set, then the - // ios_app_link field must also be present. - int64 ios_app_store_id = 12; - - // Thumbnail image url, for example, http://www.example.com/thumbnail.png. The - // thumbnail image will not be uploaded as image asset. - string thumbnail_image_url = 13; - - // Image url, for example, http://www.example.com/image.png. The image will - // not be uploaded as image asset. - string image_url = 14; -} - -// An asset representing a mobile app. -message MobileAppAsset { - // Required. A string that uniquely identifies a mobile application. It should - // just contain the platform native id, like "com.android.ebay" for Android or - // "12345689" for iOS. - string app_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The application store that distributes this specific app. - google.ads.googleads.v13.enums.MobileAppVendorEnum.MobileAppVendor app_store = - 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. The visible text displayed when the link is rendered in an ad. - // The length of this string should be between 1 and 25, inclusive. - string link_text = 3 [(google.api.field_behavior) = REQUIRED]; - - // Start date of when this asset is effective and can begin serving, in - // yyyy-MM-dd format. - string start_date = 4; - - // Last date of when this asset is effective and still serving, in yyyy-MM-dd - // format. - string end_date = 5; -} - -// An asset representing a hotel callout. -message HotelCalloutAsset { - // Required. The text of the hotel callout asset. - // The length of this string should be between 1 and 25, inclusive. - string text = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The language of the hotel callout. - // Represented as BCP 47 language tag. - string language_code = 2 [(google.api.field_behavior) = REQUIRED]; -} - -// A Call asset. -message CallAsset { - // Required. Two-letter country code of the phone number. Examples: 'US', - // 'us'. - string country_code = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The advertiser's raw phone number. Examples: '1234567890', - // '(123)456-7890' - string phone_number = 2 [(google.api.field_behavior) = REQUIRED]; - - // Indicates whether this CallAsset should use its own call conversion - // setting, follow the account level setting, or disable call conversion. - google.ads.googleads.v13.enums.CallConversionReportingStateEnum - .CallConversionReportingState call_conversion_reporting_state = 3; - - // The conversion action to attribute a call conversion to. If not set, the - // default conversion action is used. This field only has effect if - // call_conversion_reporting_state is set to - // USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION. - string call_conversion_action = 4 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionAction" - }]; - - // List of non-overlapping schedules specifying all time intervals for which - // the asset may serve. There can be a maximum of 6 schedules per day, 42 in - // total. - repeated AdScheduleInfo ad_schedule_targets = 5; -} - -// An asset representing a list of price offers. -message PriceAsset { - // Required. The type of the price asset. - google.ads.googleads.v13.enums.PriceExtensionTypeEnum.PriceExtensionType - type = 1 [(google.api.field_behavior) = REQUIRED]; - - // The price qualifier of the price asset. - google.ads.googleads.v13.enums.PriceExtensionPriceQualifierEnum - .PriceExtensionPriceQualifier price_qualifier = 2; - - // Required. The language of the price asset. - // Represented as BCP 47 language tag. - string language_code = 3 [(google.api.field_behavior) = REQUIRED]; - - // The price offerings of the price asset. - // The size of this collection should be between 3 and 8, inclusive. - repeated PriceOffering price_offerings = 4; -} - -// A single price offering within a PriceAsset. -message PriceOffering { - // Required. The header of the price offering. - // The length of this string should be between 1 and 25, inclusive. - string header = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The description of the price offering. - // The length of this string should be between 1 and 25, inclusive. - string description = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. The price value of the price offering. - Money price = 3 [(google.api.field_behavior) = REQUIRED]; - - // The price unit of the price offering. - google.ads.googleads.v13.enums.PriceExtensionPriceUnitEnum - .PriceExtensionPriceUnit unit = 4; - - // Required. The final URL after all cross domain redirects. - string final_url = 5 [(google.api.field_behavior) = REQUIRED]; - - // The final mobile URL after all cross domain redirects. - string final_mobile_url = 6; -} - -// A call to action asset. -message CallToActionAsset { - // Call to action. - google.ads.googleads.v13.enums.CallToActionTypeEnum.CallToActionType - call_to_action = 1; -} - -// A dynamic real estate asset. -message DynamicRealEstateAsset { - // Required. Listing ID which can be any sequence of letters and digits, and - // must be unique and match the values of remarketing tag. Required. - string listing_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. Listing name, for example, Boulevard Bungalow. Required. - string listing_name = 2 [(google.api.field_behavior) = REQUIRED]; - - // City name, for example, Mountain View, California. - string city_name = 3; - - // Description, for example, 3 beds, 2 baths, 1568 sq. ft. - string description = 4; - - // Address which can be specified in one of the following formats. - // (1) City, state, code, country, for example, Mountain View, CA, USA. - // (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - // (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403 - string address = 5; - - // Price which can be number followed by the alphabetic currency code, - // ISO 4217 standard. Use '.' as the decimal mark, for example, 200,000.00 - // USD. - string price = 6; - - // Image URL, for example, http://www.example.com/image.png. The image will - // not be uploaded as image asset. - string image_url = 7; - - // Property type, for example, House. - string property_type = 8; - - // Listing type, for example, For sale. - string listing_type = 9; - - // Contextual keywords, for example, For sale; Houses for sale. - repeated string contextual_keywords = 10; - - // Formatted price which can be any characters. If set, this attribute will be - // used instead of 'price', for example, Starting at $200,000.00. - string formatted_price = 11; - - // Android deep link, for example, - // android-app://com.example.android/http/example.com/gizmos?1234. - string android_app_link = 12; - - // iOS deep link, for example, exampleApp://content/page. - string ios_app_link = 13; - - // iOS app store ID. This is used to check if the user has the app installed - // on their device before deep linking. If this field is set, then the - // ios_app_link field must also be present. - int64 ios_app_store_id = 14; - - // Similar listing IDs. - repeated string similar_listing_ids = 15; -} - -// A dynamic custom asset. -message DynamicCustomAsset { - // Required. ID which can be any sequence of letters and digits, and must be - // unique and match the values of remarketing tag, for example, sedan. - // Required. - string id = 1 [(google.api.field_behavior) = REQUIRED]; - - // ID2 which can be any sequence of letters and digits, for example, red. ID - // sequence (ID + ID2) must be unique. - string id2 = 2; - - // Required. Item title, for example, Mid-size sedan. Required. - string item_title = 3 [(google.api.field_behavior) = REQUIRED]; - - // Item subtitle, for example, At your Mountain View dealership. - string item_subtitle = 4; - - // Item description, for example, Best selling mid-size car. - string item_description = 5; - - // Item address which can be specified in one of the following formats. - // (1) City, state, code, country, for example, Mountain View, CA, USA. - // (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - // (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403 - string item_address = 6; - - // Item category, for example, Sedans. - string item_category = 7; - - // Price which can be number followed by the alphabetic currency code, - // ISO 4217 standard. Use '.' as the decimal mark, for example, 20,000.00 USD. - string price = 8; - - // Sale price which can be number followed by the alphabetic currency code, - // ISO 4217 standard. Use '.' as the decimal mark, for example, 15,000.00 USD. - // Must be less than the 'price' field. - string sale_price = 9; - - // Formatted price which can be any characters. If set, this attribute will be - // used instead of 'price', for example, Starting at $20,000.00. - string formatted_price = 10; - - // Formatted sale price which can be any characters. If set, this attribute - // will be used instead of 'sale price', for example, On sale for $15,000.00. - string formatted_sale_price = 11; - - // Image URL, for example, http://www.example.com/image.png. The image will - // not be uploaded as image asset. - string image_url = 12; - - // Contextual keywords, for example, Sedans, 4 door sedans. - repeated string contextual_keywords = 13; - - // Android deep link, for example, - // android-app://com.example.android/http/example.com/gizmos?1234. - string android_app_link = 14; - - // iOS deep link, for example, exampleApp://content/page. - string ios_app_link = 16; - - // iOS app store ID. This is used to check if the user has the app installed - // on their device before deep linking. If this field is set, then the - // ios_app_link field must also be present. - int64 ios_app_store_id = 17; - - // Similar IDs. - repeated string similar_ids = 15; -} - -// A dynamic hotels and rentals asset. -message DynamicHotelsAndRentalsAsset { - // Required. Property ID which can be any sequence of letters and digits, and - // must be unique and match the values of remarketing tag. Required. - string property_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. Property name, for example, Mountain View Hotel. Required. - string property_name = 2 [(google.api.field_behavior) = REQUIRED]; - - // Image URL, for example, http://www.example.com/image.png. The image will - // not be uploaded as image asset. - string image_url = 3; - - // Destination name, for example, Downtown Mountain View. - string destination_name = 4; - - // Description, for example, Close to SJC Airport. - string description = 5; - - // Price which can be number followed by the alphabetic currency code, - // ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD. - string price = 6; - - // ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 USD. - // Must be less than the 'price' field. - string sale_price = 7; - - // Star rating. Must be a number between 1 to 5, inclusive. - int64 star_rating = 8; - - // Category, for example, Hotel suite. - string category = 9; - - // Contextual keywords, for example, Mountain View "Hotels", South Bay hotels. - repeated string contextual_keywords = 10; - - // Address which can be specified in one of the following formats. - // (1) City, state, code, country, for example, Mountain View, CA, USA. - // (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - // (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403 - string address = 11; - - // Android deep link, for example, - // android-app://com.example.android/http/example.com/gizmos?1234. - string android_app_link = 12; - - // iOS deep link, for example, exampleApp://content/page. - string ios_app_link = 13; - - // iOS app store ID. This is used to check if the user has the app installed - // on their device before deep linking. If this field is set, then the - // ios_app_link field must also be present. - int64 ios_app_store_id = 14; - - // Formatted price which can be any characters. If set, this attribute will be - // used instead of 'price', for example, Starting at $100.00. - string formatted_price = 15; - - // Formatted sale price which can be any characters. If set, this attribute - // will be used instead of 'sale price', for example, On sale for $80.00. - string formatted_sale_price = 16; - - // Similar property IDs. - repeated string similar_property_ids = 17; -} - -// A dynamic flights asset. -message DynamicFlightsAsset { - // Required. Destination ID which can be any sequence of letters and digits, - // and must be unique and match the values of remarketing tag. Required. - string destination_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Origin ID which can be any sequence of letters and digits. The ID sequence - // (destination ID + origin ID) must be unique. - string origin_id = 2; - - // Required. Flight description, for example, Book your ticket. Required. - string flight_description = 3 [(google.api.field_behavior) = REQUIRED]; - - // Image URL, for example, http://www.example.com/image.png. The image will - // not be uploaded as image asset. - string image_url = 4; - - // Destination name, for example, Paris. - string destination_name = 5; - - // Origin name, for example, London. - string origin_name = 6; - - // Flight price which can be number followed by the alphabetic currency code, - // ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD. - string flight_price = 7; - - // Flight sale price which can be number followed by the alphabetic currency - // code, ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 - // USD. Must be less than the 'flight_price' field. - string flight_sale_price = 8; - - // Formatted price which can be any characters. If set, this attribute will be - // used instead of 'price', for example, Starting at $100.00. - string formatted_price = 9; - - // Formatted sale price which can be any characters. If set, this attribute - // will be used instead of 'sale price', for example, On sale for $80.00. - string formatted_sale_price = 10; - - // Android deep link, for example, - // android-app://com.example.android/http/example.com/gizmos?1234. - string android_app_link = 11; - - // iOS deep link, for example, exampleApp://content/page. - string ios_app_link = 12; - - // iOS app store ID. This is used to check if the user has the app installed - // on their device before deep linking. If this field is set, then the - // ios_app_link field must also be present. - int64 ios_app_store_id = 13; - - // Similar destination IDs, for example, PAR,LON. - repeated string similar_destination_ids = 14; - - // A custom field which can be multiple key to values mapping separated by - // delimiters (",", "|" and ":"), in the forms of - // ": , , ... , | : , ... - // , | ... | : , ... ," for example, wifi: - // most | aircraft: 320, 77W | flights: 42 | legroom: 32". - string custom_mapping = 15; -} - -// A Discovery Carousel Card asset. -message DiscoveryCarouselCardAsset { - // Asset resource name of the associated 1.91:1 marketing image. This and/or - // square marketing image asset is required. - string marketing_image_asset = 1; - - // Asset resource name of the associated square marketing image. This - // and/or a marketing image asset is required. - string square_marketing_image_asset = 2; - - // Asset resource name of the associated 4:5 portrait marketing image. - string portrait_marketing_image_asset = 3; - - // Required. Headline of the carousel card. - string headline = 4 [(google.api.field_behavior) = REQUIRED]; - - // Call to action text. - string call_to_action_text = 5; -} - -// A dynamic travel asset. -message DynamicTravelAsset { - // Required. Destination ID which can be any sequence of letters and digits, - // and must be unique and match the values of remarketing tag. Required. - string destination_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Origin ID which can be any sequence of letters and digits. The ID sequence - // (destination ID + origin ID) must be unique. - string origin_id = 2; - - // Required. Title, for example, Book your train ticket. Required. - string title = 3 [(google.api.field_behavior) = REQUIRED]; - - // Destination name, for example, Paris. - string destination_name = 4; - - // Destination address which can be specified in one of the following formats. - // (1) City, state, code, country, for example, Mountain View, CA, USA. - // (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - // (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403. - string destination_address = 5; - - // Origin name, for example, London. - string origin_name = 6; - - // Price which can be a number followed by the alphabetic currency code, - // ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD. - string price = 7; - - // Sale price which can be a number followed by the alphabetic currency - // code, ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 - // USD. Must be less than the 'price' field. - string sale_price = 8; - - // Formatted price which can be any characters. If set, this attribute will be - // used instead of 'price', for example, Starting at $100.00. - string formatted_price = 9; - - // Formatted sale price which can be any characters. If set, this attribute - // will be used instead of 'sale price', for example, On sale for $80.00. - string formatted_sale_price = 10; - - // Category, for example, Express. - string category = 11; - - // Contextual keywords, for example, Paris trains. - repeated string contextual_keywords = 12; - - // Similar destination IDs, for example, NYC. - repeated string similar_destination_ids = 13; - - // Image URL, for example, http://www.example.com/image.png. The image will - // not be uploaded as image asset. - string image_url = 14; - - // Android deep link, for example, - // android-app://com.example.android/http/example.com/gizmos?1234. - string android_app_link = 15; - - // iOS deep link, for example, exampleApp://content/page. - string ios_app_link = 16; - - // iOS app store ID. This is used to check if the user has the app installed - // on their device before deep linking. If this field is set, then the - // ios_app_link field must also be present. - int64 ios_app_store_id = 17; -} - -// A dynamic local asset. -message DynamicLocalAsset { - // Required. Deal ID which can be any sequence of letters and digits, and must - // be unique and match the values of remarketing tag. Required. - string deal_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. Deal name, for example, 50% off at Mountain View Grocers. - // Required. - string deal_name = 2 [(google.api.field_behavior) = REQUIRED]; - - // Subtitle, for example, Groceries. - string subtitle = 3; - - // Description, for example, Save on your weekly bill. - string description = 4; - - // Price which can be a number followed by the alphabetic currency code, - // ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD. - string price = 5; - - // Sale price which can be number followed by the alphabetic currency code, - // ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 USD. - // Must be less than the 'price' field. - string sale_price = 6; - - // Image URL, for example, http://www.example.com/image.png. The image will - // not be uploaded as image asset. - string image_url = 7; - - // Address which can be specified in one of the following formats. - // (1) City, state, code, country, for example, Mountain View, CA, USA. - // (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - // (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403. - string address = 8; - - // Category, for example, Food. - string category = 9; - - // Contextual keywords, for example, Save groceries coupons. - repeated string contextual_keywords = 10; - - // Formatted price which can be any characters. If set, this attribute will be - // used instead of 'price', for example, Starting at $100.00. - string formatted_price = 11; - - // Formatted sale price which can be any characters. If set, this attribute - // will be used instead of 'sale price', for example, On sale for $80.00. - string formatted_sale_price = 12; - - // Android deep link, for example, - // android-app://com.example.android/http/example.com/gizmos?1234. - string android_app_link = 13; - - // Similar deal IDs, for example, 1275. - repeated string similar_deal_ids = 14; - - // iOS deep link, for example, exampleApp://content/page. - string ios_app_link = 15; - - // iOS app store ID. This is used to check if the user has the app installed - // on their device before deep linking. If this field is set, then the - // ios_app_link field must also be present. - int64 ios_app_store_id = 16; -} - -// A dynamic jobs asset. -message DynamicJobsAsset { - // Required. Job ID which can be any sequence of letters and digits, and must - // be unique and match the values of remarketing tag. Required. - string job_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Location ID which can be any sequence of letters and digits. The ID - // sequence (job ID + location ID) must be unique. - string location_id = 2; - - // Required. Job title, for example, Software engineer. Required. - string job_title = 3 [(google.api.field_behavior) = REQUIRED]; - - // Job subtitle, for example, Level II. - string job_subtitle = 4; - - // Description, for example, Apply your technical skills. - string description = 5; - - // Image URL, for example, http://www.example.com/image.png. The image will - // not be uploaded as image asset. - string image_url = 6; - - // Job category, for example, Technical. - string job_category = 7; - - // Contextual keywords, for example, Software engineering job. - repeated string contextual_keywords = 8; - - // Address which can be specified in one of the following formats. - // (1) City, state, code, country, for example, Mountain View, CA, USA. - // (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - // (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403. - string address = 9; - - // Salary, for example, $100,000. - string salary = 10; - - // Android deep link, for example, - // android-app://com.example.android/http/example.com/gizmos?1234. - string android_app_link = 11; - - // Similar job IDs, for example, 1275. - repeated string similar_job_ids = 12; - - // iOS deep link, for example, exampleApp://content/page. - string ios_app_link = 13; - - // iOS app store ID. This is used to check if the user has the app installed - // on their device before deep linking. If this field is set, then the - // ios_app_link field must also be present. - int64 ios_app_store_id = 14; -} - -// A location asset. -message LocationAsset { - // Place IDs uniquely identify a place in the Google Places database and on - // Google Maps. - // This field is unique for a given customer ID and asset type. See - // https://developers.google.com/places/web-service/place-id to learn more - // about Place ID. - string place_id = 1; - - // The list of business locations for the customer. - // This will only be returned if the Location Asset is syncing from the - // Business Profile account. It is possible to have multiple Business Profile - // listings under the same account that point to the same Place ID. - repeated BusinessProfileLocation business_profile_locations = 2; - - // The type of location ownership. - // If the type is BUSINESS_OWNER, it will be served as a location extension. - // If the type is AFFILIATE, it will be served as an affiliate location. - google.ads.googleads.v13.enums.LocationOwnershipTypeEnum.LocationOwnershipType - location_ownership_type = 3; -} - -// Business Profile location data synced from the linked Business Profile -// account. -message BusinessProfileLocation { - // Advertiser specified label for the location on the Business Profile - // account. This is synced from the Business Profile account. - repeated string labels = 1; - - // Business Profile store code of this location. This is synced from the - // Business Profile account. - string store_code = 2; - - // Listing ID of this Business Profile location. This is synced from the - // linked Business Profile account. - int64 listing_id = 3; -} - -// A hotel property asset. -message HotelPropertyAsset { - // Place IDs uniquely identify a place in the Google Places database and on - // Google Maps. See https://developers.google.com/places/web-service/place-id - // to learn more. - string place_id = 1; - - // Address of the hotel. Read-only. - string hotel_address = 2; - - // Name of the hotel. Read-only. - string hotel_name = 3; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/common/asset_usage.proto b/third_party/googleapis/google/ads/googleads/v13/common/asset_usage.proto deleted file mode 100644 index 2e58adabc..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/common/asset_usage.proto +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/enums/served_asset_field_type.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "AssetUsageProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; - -// Proto file describing asset usage. - -// Contains the usage information of the asset. -message AssetUsage { - // Resource name of the asset. - string asset = 1; - - // The served field type of the asset. - google.ads.googleads.v13.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType - served_asset_field_type = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/common/audiences.proto b/third_party/googleapis/google/ads/googleads/v13/common/audiences.proto deleted file mode 100644 index c343d204e..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/common/audiences.proto +++ /dev/null @@ -1,179 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/enums/gender_type.proto"; -import "google/ads/googleads/v13/enums/income_range_type.proto"; -import "google/ads/googleads/v13/enums/parental_status_type.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "AudiencesProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; - -// Positive dimension specifying user's audience. -message AudienceDimension { - // Dimension specifying users who belong to the audience. - oneof dimension { - // Dimension specifying users by their age. - AgeDimension age = 1; - - // Dimension specifying users by their gender. - GenderDimension gender = 2; - - // Dimension specifying users by their household income. - HouseholdIncomeDimension household_income = 3; - - // Dimension specifying users by their parental status. - ParentalStatusDimension parental_status = 4; - - // Dimension specifying users by their membership in other audience - // segments. - AudienceSegmentDimension audience_segments = 5; - } -} - -// Negative dimension specifying users to exclude from the audience. -message AudienceExclusionDimension { - // Audience segment to be excluded. - repeated ExclusionSegment exclusions = 1; -} - -// An audience segment to be excluded from an audience. -message ExclusionSegment { - // Segment to be excluded. - oneof segment { - // User list segment to be excluded. - UserListSegment user_list = 1; - } -} - -// Dimension specifying users by their age. -message AgeDimension { - // Contiguous age range to be included in the dimension. - repeated AgeSegment age_ranges = 1; - - // Include users whose age is not determined. - optional bool include_undetermined = 2; -} - -// Contiguous age range. -message AgeSegment { - // Minimum age to include. A minimum age must be specified and must be at - // least 18. Allowed values are 18, 25, 35, 45, 55, and 65. - optional int32 min_age = 1; - - // Maximum age to include. A maximum age need not be specified. If specified, - // max_age must be greater than min_age, and allowed values are 24, 34, 44, - // 54, and 64. - optional int32 max_age = 2; -} - -// Dimension specifying users by their gender. -message GenderDimension { - // Included gender demographic segments. - repeated google.ads.googleads.v13.enums.GenderTypeEnum.GenderType genders = 1; - - // Include users whose gender is not determined. - optional bool include_undetermined = 2; -} - -// Dimension specifying users by their household income. -message HouseholdIncomeDimension { - // Included household income demographic segments. - repeated google.ads.googleads.v13.enums.IncomeRangeTypeEnum.IncomeRangeType - income_ranges = 1; - - // Include users whose household income is not determined. - optional bool include_undetermined = 2; -} - -// Dimension specifying users by their parental status. -message ParentalStatusDimension { - // Included parental status demographic segments. - repeated - google.ads.googleads.v13.enums.ParentalStatusTypeEnum.ParentalStatusType - parental_statuses = 1; - - // Include users whose parental status is undetermined. - optional bool include_undetermined = 2; -} - -// Dimension specifying users by their membership in other audience segments. -message AudienceSegmentDimension { - // Included audience segments. Users are included if they belong to at least - // one segment. - repeated AudienceSegment segments = 1; -} - -// Positive audience segment. -message AudienceSegment { - // Positive segment. - oneof segment { - // User list segment. - UserListSegment user_list = 1; - - // Affinity or In-market segment. - UserInterestSegment user_interest = 2; - - // Live-event audience segment. - LifeEventSegment life_event = 3; - - // Detailed demographic segment. - DetailedDemographicSegment detailed_demographic = 4; - - // Custom audience segment. - CustomAudienceSegment custom_audience = 5; - } -} - -// User list segment. -// The Similar Audiences sunset starts May 2023. Refer to -// https://ads-developers.googleblog.com/2022/11/announcing-deprecation-and-sunset-of.html -// for other options. -message UserListSegment { - // The user list resource. - optional string user_list = 1; -} - -// User interest segment. -message UserInterestSegment { - // The user interest resource. - optional string user_interest_category = 1; -} - -// Live event segment. -message LifeEventSegment { - // The life event resource. - optional string life_event = 1; -} - -// Detailed demographic segment. -message DetailedDemographicSegment { - // The detailed demographic resource. - optional string detailed_demographic = 1; -} - -// Custom audience segment. -message CustomAudienceSegment { - // The custom audience resource. - optional string custom_audience = 1; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/common/bidding.proto b/third_party/googleapis/google/ads/googleads/v13/common/bidding.proto deleted file mode 100644 index b2c42f60a..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/common/bidding.proto +++ /dev/null @@ -1,218 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/enums/target_frequency_time_unit.proto"; -import "google/ads/googleads/v13/enums/target_impression_share_location.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "BiddingProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; - -// Proto file describing bidding schemes. - -// Commission is an automatic bidding strategy in which the advertiser pays a -// certain portion of the conversion value. -message Commission { - // Commission rate defines the portion of the conversion value that the - // advertiser will be billed. A commission rate of x should be passed into - // this field as (x * 1,000,000). For example, 106,000 represents a commission - // rate of 0.106 (10.6%). - optional int64 commission_rate_micros = 2; -} - -// An automated bidding strategy that raises bids for clicks -// that seem more likely to lead to a conversion and lowers -// them for clicks where they seem less likely. -// -// This bidding strategy is deprecated and cannot be created anymore. Use -// ManualCpc with enhanced_cpc_enabled set to true for equivalent functionality. -message EnhancedCpc {} - -// Manual bidding strategy that allows advertiser to set the bid per -// advertiser-specified action. -message ManualCpa {} - -// Manual click-based bidding where user pays per click. -message ManualCpc { - // Whether bids are to be enhanced based on conversion optimizer data. - optional bool enhanced_cpc_enabled = 2; -} - -// Manual impression-based bidding where user pays per thousand impressions. -message ManualCpm {} - -// View based bidding where user pays per video view. -message ManualCpv {} - -// An automated bidding strategy to help get the most conversions for your -// campaigns while spending your budget. -message MaximizeConversions { - // Maximum bid limit that can be set by the bid strategy. - // The limit applies to all keywords managed by the strategy. - // Mutable for portfolio bidding strategies only. - int64 cpc_bid_ceiling_micros = 2; - - // Minimum bid limit that can be set by the bid strategy. - // The limit applies to all keywords managed by the strategy. - // Mutable for portfolio bidding strategies only. - int64 cpc_bid_floor_micros = 3; - - // The target cost-per-action (CPA) option. This is the average amount that - // you would like to spend per conversion action specified in micro units of - // the bidding strategy's currency. If set, the bid strategy will get as many - // conversions as possible at or below the target cost-per-action. If the - // target CPA is not set, the bid strategy will aim to achieve the lowest - // possible CPA given the budget. - int64 target_cpa_micros = 4; -} - -// An automated bidding strategy to help get the most conversion value for your -// campaigns while spending your budget. -message MaximizeConversionValue { - // The target return on ad spend (ROAS) option. If set, the bid strategy will - // maximize revenue while averaging the target return on ad spend. If the - // target ROAS is high, the bid strategy may not be able to spend the full - // budget. If the target ROAS is not set, the bid strategy will aim to - // achieve the highest possible ROAS for the budget. - double target_roas = 2; - - // Maximum bid limit that can be set by the bid strategy. - // The limit applies to all keywords managed by the strategy. - // Mutable for portfolio bidding strategies only. - int64 cpc_bid_ceiling_micros = 3; - - // Minimum bid limit that can be set by the bid strategy. - // The limit applies to all keywords managed by the strategy. - // Mutable for portfolio bidding strategies only. - int64 cpc_bid_floor_micros = 4; -} - -// An automated bid strategy that sets bids to help get as many conversions as -// possible at the target cost-per-acquisition (CPA) you set. -message TargetCpa { - // Average CPA target. - // This target should be greater than or equal to minimum billable unit based - // on the currency for the account. - optional int64 target_cpa_micros = 4; - - // Maximum bid limit that can be set by the bid strategy. - // The limit applies to all keywords managed by the strategy. - // This should only be set for portfolio bid strategies. - optional int64 cpc_bid_ceiling_micros = 5; - - // Minimum bid limit that can be set by the bid strategy. - // The limit applies to all keywords managed by the strategy. - // This should only be set for portfolio bid strategies. - optional int64 cpc_bid_floor_micros = 6; -} - -// Target CPM (cost per thousand impressions) is an automated bidding strategy -// that sets bids to optimize performance given the target CPM you set. -message TargetCpm { - // Additional information related to bidding goal. - oneof goal { - // Target Frequency bidding goal details. - TargetCpmTargetFrequencyGoal target_frequency_goal = 1; - } -} - -// Target Frequency bidding goal details. -message TargetCpmTargetFrequencyGoal { - // Target Frequency count representing how many times you want to reach - // a single user. - int64 target_count = 1; - - // Time window expressing the period over which you want to reach - // the specified target_count. - google.ads.googleads.v13.enums.TargetFrequencyTimeUnitEnum - .TargetFrequencyTimeUnit time_unit = 2; -} - -// An automated bidding strategy that sets bids so that a certain percentage of -// search ads are shown at the top of the first page (or other targeted -// location). -message TargetImpressionShare { - // The targeted location on the search results page. - google.ads.googleads.v13.enums.TargetImpressionShareLocationEnum - .TargetImpressionShareLocation location = 1; - - // The chosen fraction of ads to be shown in the targeted location in micros. - // For example, 1% equals 10,000. - optional int64 location_fraction_micros = 4; - - // The highest CPC bid the automated bidding system is permitted to specify. - // This is a required field entered by the advertiser that sets the ceiling - // and specified in local micros. - optional int64 cpc_bid_ceiling_micros = 5; -} - -// An automated bidding strategy that helps you maximize revenue while -// averaging a specific target return on ad spend (ROAS). -message TargetRoas { - // Required. The chosen revenue (based on conversion data) per unit of spend. - // Value must be between 0.01 and 1000.0, inclusive. - optional double target_roas = 4; - - // Maximum bid limit that can be set by the bid strategy. - // The limit applies to all keywords managed by the strategy. - // This should only be set for portfolio bid strategies. - optional int64 cpc_bid_ceiling_micros = 5; - - // Minimum bid limit that can be set by the bid strategy. - // The limit applies to all keywords managed by the strategy. - // This should only be set for portfolio bid strategies. - optional int64 cpc_bid_floor_micros = 6; -} - -// An automated bid strategy that sets your bids to help get as many clicks -// as possible within your budget. -message TargetSpend { - // The spend target under which to maximize clicks. - // A TargetSpend bidder will attempt to spend the smaller of this value - // or the natural throttling spend amount. - // If not specified, the budget is used as the spend target. - // This field is deprecated and should no longer be used. See - // https://ads-developers.googleblog.com/2020/05/reminder-about-sunset-creation-of.html - // for details. - optional int64 target_spend_micros = 3 [deprecated = true]; - - // Maximum bid limit that can be set by the bid strategy. - // The limit applies to all keywords managed by the strategy. - optional int64 cpc_bid_ceiling_micros = 4; -} - -// A bidding strategy where bids are a fraction of the advertised price for -// some good or service. -message PercentCpc { - // Maximum bid limit that can be set by the bid strategy. This is - // an optional field entered by the advertiser and specified in local micros. - // Note: A zero value is interpreted in the same way as having bid_ceiling - // undefined. - optional int64 cpc_bid_ceiling_micros = 3; - - // Adjusts the bid for each auction upward or downward, depending on the - // likelihood of a conversion. Individual bids may exceed - // cpc_bid_ceiling_micros, but the average bid amount for a campaign should - // not. - optional bool enhanced_cpc_enabled = 4; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/common/click_location.proto b/third_party/googleapis/google/ads/googleads/v13/common/click_location.proto deleted file mode 100644 index 51c6be39a..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/common/click_location.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.common; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "ClickLocationProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; - -// Proto file describing a ClickLocation. - -// Location criteria associated with a click. -message ClickLocation { - // The city location criterion associated with the impression. - optional string city = 6; - - // The country location criterion associated with the impression. - optional string country = 7; - - // The metro location criterion associated with the impression. - optional string metro = 8; - - // The most specific location criterion associated with the impression. - optional string most_specific = 9; - - // The region location criterion associated with the impression. - optional string region = 10; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/common/criteria.proto b/third_party/googleapis/google/ads/googleads/v13/common/criteria.proto deleted file mode 100644 index 68d5bb571..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/common/criteria.proto +++ /dev/null @@ -1,754 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/enums/age_range_type.proto"; -import "google/ads/googleads/v13/enums/app_payment_model_type.proto"; -import "google/ads/googleads/v13/enums/content_label_type.proto"; -import "google/ads/googleads/v13/enums/day_of_week.proto"; -import "google/ads/googleads/v13/enums/device.proto"; -import "google/ads/googleads/v13/enums/gender_type.proto"; -import "google/ads/googleads/v13/enums/hotel_date_selection_type.proto"; -import "google/ads/googleads/v13/enums/income_range_type.proto"; -import "google/ads/googleads/v13/enums/interaction_type.proto"; -import "google/ads/googleads/v13/enums/keyword_match_type.proto"; -import "google/ads/googleads/v13/enums/listing_group_type.proto"; -import "google/ads/googleads/v13/enums/location_group_radius_units.proto"; -import "google/ads/googleads/v13/enums/minute_of_hour.proto"; -import "google/ads/googleads/v13/enums/parental_status_type.proto"; -import "google/ads/googleads/v13/enums/product_bidding_category_level.proto"; -import "google/ads/googleads/v13/enums/product_channel.proto"; -import "google/ads/googleads/v13/enums/product_channel_exclusivity.proto"; -import "google/ads/googleads/v13/enums/product_condition.proto"; -import "google/ads/googleads/v13/enums/product_custom_attribute_index.proto"; -import "google/ads/googleads/v13/enums/product_type_level.proto"; -import "google/ads/googleads/v13/enums/proximity_radius_units.proto"; -import "google/ads/googleads/v13/enums/webpage_condition_operand.proto"; -import "google/ads/googleads/v13/enums/webpage_condition_operator.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "CriteriaProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; - -// Proto file describing criteria types. - -// A keyword criterion. -message KeywordInfo { - // The text of the keyword (at most 80 characters and 10 words). - optional string text = 3; - - // The match type of the keyword. - google.ads.googleads.v13.enums.KeywordMatchTypeEnum.KeywordMatchType - match_type = 2; -} - -// A placement criterion. This can be used to modify bids for sites when -// targeting the content network. -message PlacementInfo { - // URL of the placement. - // - // For example, "http://www.domain.com". - optional string url = 2; -} - -// A mobile app category criterion. -message MobileAppCategoryInfo { - // The mobile app category constant resource name. - optional string mobile_app_category_constant = 2; -} - -// A mobile application criterion. -message MobileApplicationInfo { - // A string that uniquely identifies a mobile application to Google Ads API. - // The format of this string is "{platform}-{platform_native_id}", where - // platform is "1" for iOS apps and "2" for Android apps, and where - // platform_native_id is the mobile application identifier native to the - // corresponding platform. - // For iOS, this native identifier is the 9 digit string that appears at the - // end of an App Store URL (for example, "476943146" for "Flood-It! 2" whose - // App Store link is - // "http://itunes.apple.com/us/app/flood-it!-2/id476943146"). For Android, - // this native identifier is the application's package name (for example, - // "com.labpixies.colordrips" for "Color Drips" given Google Play link - // "https://play.google.com/store/apps/details?id=com.labpixies.colordrips"). - // A well formed app id for Google Ads API would thus be "1-476943146" for iOS - // and "2-com.labpixies.colordrips" for Android. - // This field is required and must be set in CREATE operations. - optional string app_id = 4; - - // Name of this mobile application. - optional string name = 5; -} - -// A location criterion. -message LocationInfo { - // The geo target constant resource name. - optional string geo_target_constant = 2; -} - -// A device criterion. -message DeviceInfo { - // Type of the device. - google.ads.googleads.v13.enums.DeviceEnum.Device type = 1; -} - -// A listing group criterion. -message ListingGroupInfo { - // Type of the listing group. - google.ads.googleads.v13.enums.ListingGroupTypeEnum.ListingGroupType type = 1; - - // Dimension value with which this listing group is refining its parent. - // Undefined for the root group. - ListingDimensionInfo case_value = 2; - - // Resource name of ad group criterion which is the parent listing group - // subdivision. Null for the root group. - optional string parent_ad_group_criterion = 4; -} - -// A listing scope criterion. -message ListingScopeInfo { - // Scope of the campaign criterion. - repeated ListingDimensionInfo dimensions = 2; -} - -// Listing dimensions for listing group criterion. -message ListingDimensionInfo { - // Dimension of one of the types below is always present. - oneof dimension { - // Advertiser-specific hotel ID. - HotelIdInfo hotel_id = 2; - - // Class of the hotel as a number of stars 1 to 5. - HotelClassInfo hotel_class = 3; - - // Country or Region the hotel is located in. - HotelCountryRegionInfo hotel_country_region = 4; - - // State the hotel is located in. - HotelStateInfo hotel_state = 5; - - // City the hotel is located in. - HotelCityInfo hotel_city = 6; - - // Bidding category of a product offer. - ProductBiddingCategoryInfo product_bidding_category = 13; - - // Brand of a product offer. - ProductBrandInfo product_brand = 15; - - // Locality of a product offer. - ProductChannelInfo product_channel = 8; - - // Availability of a product offer. - ProductChannelExclusivityInfo product_channel_exclusivity = 9; - - // Condition of a product offer. - ProductConditionInfo product_condition = 10; - - // Custom attribute of a product offer. - ProductCustomAttributeInfo product_custom_attribute = 16; - - // Item id of a product offer. - ProductItemIdInfo product_item_id = 11; - - // Type of a product offer. - ProductTypeInfo product_type = 12; - - // Grouping of a product offer. This listing dimension is deprecated and it - // is supported only in Display campaigns. - ProductGroupingInfo product_grouping = 17; - - // Labels of a product offer. This listing dimension is deprecated and it is - // supported only in Display campaigns. - ProductLabelsInfo product_labels = 18; - - // Legacy condition of a product offer. This listing dimension is deprecated - // and it is supported only in Display campaigns. - ProductLegacyConditionInfo product_legacy_condition = 19; - - // Full type of a product offer. This listing dimension is deprecated and it - // is supported only in Display campaigns. - ProductTypeFullInfo product_type_full = 20; - - // Advertiser-specific activity ID. - ActivityIdInfo activity_id = 21; - - // Rating of the activity as a number 1 to 5, where 5 is the best. - ActivityRatingInfo activity_rating = 22; - - // Country the activity is in. - ActivityCountryInfo activity_country = 23; - - // Unknown dimension. Set when no other listing dimension is set. - UnknownListingDimensionInfo unknown_listing_dimension = 14; - } -} - -// Advertiser-specific hotel ID. -message HotelIdInfo { - // String value of the hotel ID. - optional string value = 2; -} - -// Class of the hotel as a number of stars 1 to 5. -message HotelClassInfo { - // Long value of the hotel class. - optional int64 value = 2; -} - -// Country or Region the hotel is located in. -message HotelCountryRegionInfo { - // The Geo Target Constant resource name. - optional string country_region_criterion = 2; -} - -// State the hotel is located in. -message HotelStateInfo { - // The Geo Target Constant resource name. - optional string state_criterion = 2; -} - -// City the hotel is located in. -message HotelCityInfo { - // The Geo Target Constant resource name. - optional string city_criterion = 2; -} - -// Bidding category of a product offer. -message ProductBiddingCategoryInfo { - // ID of the product bidding category. - // - // This ID is equivalent to the google_product_category ID as described in - // this article: https://support.google.com/merchants/answer/6324436 - optional int64 id = 4; - - // Level of the product bidding category. - google.ads.googleads.v13.enums.ProductBiddingCategoryLevelEnum - .ProductBiddingCategoryLevel level = 3; -} - -// Brand of the product. -message ProductBrandInfo { - // String value of the product brand. - optional string value = 2; -} - -// Locality of a product offer. -message ProductChannelInfo { - // Value of the locality. - google.ads.googleads.v13.enums.ProductChannelEnum.ProductChannel channel = 1; -} - -// Availability of a product offer. -message ProductChannelExclusivityInfo { - // Value of the availability. - google.ads.googleads.v13.enums.ProductChannelExclusivityEnum - .ProductChannelExclusivity channel_exclusivity = 1; -} - -// Condition of a product offer. -message ProductConditionInfo { - // Value of the condition. - google.ads.googleads.v13.enums.ProductConditionEnum.ProductCondition - condition = 1; -} - -// Custom attribute of a product offer. -message ProductCustomAttributeInfo { - // String value of the product custom attribute. - optional string value = 3; - - // Indicates the index of the custom attribute. - google.ads.googleads.v13.enums.ProductCustomAttributeIndexEnum - .ProductCustomAttributeIndex index = 2; -} - -// Item id of a product offer. -message ProductItemIdInfo { - // Value of the id. - optional string value = 2; -} - -// Type of a product offer. -message ProductTypeInfo { - // Value of the type. - optional string value = 3; - - // Level of the type. - google.ads.googleads.v13.enums.ProductTypeLevelEnum.ProductTypeLevel level = - 2; -} - -// Grouping of a product offer. This listing dimension is deprecated and it is -// supported only in Display campaigns. -message ProductGroupingInfo { - // String value of the product grouping. - optional string value = 1; -} - -// Labels of a product offer. This listing dimension is deprecated and it is -// supported only in Display campaigns. -message ProductLabelsInfo { - // String value of the product labels. - optional string value = 1; -} - -// Legacy condition of a product offer. This listing dimension is deprecated and -// it is supported only in Display campaigns. -message ProductLegacyConditionInfo { - // String value of the product legacy condition. - optional string value = 1; -} - -// Full type of a product offer. This listing dimension is deprecated and it is -// supported only in Display campaigns. -message ProductTypeFullInfo { - // String value of the product full type. - optional string value = 1; -} - -// Unknown listing dimension. -message UnknownListingDimensionInfo {} - -// Criterion for hotel date selection (default dates versus user selected). -message HotelDateSelectionTypeInfo { - // Type of the hotel date selection - google.ads.googleads.v13.enums.HotelDateSelectionTypeEnum - .HotelDateSelectionType type = 1; -} - -// Criterion for number of days prior to the stay the booking is being made. -message HotelAdvanceBookingWindowInfo { - // Low end of the number of days prior to the stay. - optional int64 min_days = 3; - - // High end of the number of days prior to the stay. - optional int64 max_days = 4; -} - -// Criterion for length of hotel stay in nights. -message HotelLengthOfStayInfo { - // Low end of the number of nights in the stay. - optional int64 min_nights = 3; - - // High end of the number of nights in the stay. - optional int64 max_nights = 4; -} - -// Criterion for a check-in date range. -message HotelCheckInDateRangeInfo { - // Start date in the YYYY-MM-DD format. - string start_date = 1; - - // End date in the YYYY-MM-DD format. - string end_date = 2; -} - -// Criterion for day of the week the booking is for. -message HotelCheckInDayInfo { - // The day of the week. - google.ads.googleads.v13.enums.DayOfWeekEnum.DayOfWeek day_of_week = 1; -} - -// Advertiser-specific activity ID. -message ActivityIdInfo { - // String value of the activity ID. - optional string value = 1; -} - -// Rating of the activity as a number 1 to 5, where 5 is the best. -message ActivityRatingInfo { - // Long value of the activity rating. - optional int64 value = 1; -} - -// Country the activity is in. -message ActivityCountryInfo { - // String value of the activity country. The Geo Target Constant resource - // name. - optional string value = 1; -} - -// Criterion for Interaction Type. -message InteractionTypeInfo { - // The interaction type. - google.ads.googleads.v13.enums.InteractionTypeEnum.InteractionType type = 1; -} - -// Represents an AdSchedule criterion. -// -// AdSchedule is specified as the day of the week and a time interval -// within which ads will be shown. -// -// No more than six AdSchedules can be added for the same day. -message AdScheduleInfo { - // Minutes after the start hour at which this schedule starts. - // - // This field is required for CREATE operations and is prohibited on UPDATE - // operations. - google.ads.googleads.v13.enums.MinuteOfHourEnum.MinuteOfHour start_minute = 1; - - // Minutes after the end hour at which this schedule ends. The schedule is - // exclusive of the end minute. - // - // This field is required for CREATE operations and is prohibited on UPDATE - // operations. - google.ads.googleads.v13.enums.MinuteOfHourEnum.MinuteOfHour end_minute = 2; - - // Starting hour in 24 hour time. - // This field must be between 0 and 23, inclusive. - // - // This field is required for CREATE operations and is prohibited on UPDATE - // operations. - optional int32 start_hour = 6; - - // Ending hour in 24 hour time; 24 signifies end of the day. - // This field must be between 0 and 24, inclusive. - // - // This field is required for CREATE operations and is prohibited on UPDATE - // operations. - optional int32 end_hour = 7; - - // Day of the week the schedule applies to. - // - // This field is required for CREATE operations and is prohibited on UPDATE - // operations. - google.ads.googleads.v13.enums.DayOfWeekEnum.DayOfWeek day_of_week = 5; -} - -// An age range criterion. -message AgeRangeInfo { - // Type of the age range. - google.ads.googleads.v13.enums.AgeRangeTypeEnum.AgeRangeType type = 1; -} - -// A gender criterion. -message GenderInfo { - // Type of the gender. - google.ads.googleads.v13.enums.GenderTypeEnum.GenderType type = 1; -} - -// An income range criterion. -message IncomeRangeInfo { - // Type of the income range. - google.ads.googleads.v13.enums.IncomeRangeTypeEnum.IncomeRangeType type = 1; -} - -// A parental status criterion. -message ParentalStatusInfo { - // Type of the parental status. - google.ads.googleads.v13.enums.ParentalStatusTypeEnum.ParentalStatusType - type = 1; -} - -// A YouTube Video criterion. -message YouTubeVideoInfo { - // YouTube video id as it appears on the YouTube watch page. - optional string video_id = 2; -} - -// A YouTube Channel criterion. -message YouTubeChannelInfo { - // The YouTube uploader channel id or the channel code of a YouTube channel. - optional string channel_id = 2; -} - -// A User List criterion. Represents a user list that is defined by the -// advertiser to be targeted. -message UserListInfo { - // The User List resource name. - optional string user_list = 2; -} - -// A Proximity criterion. The geo point and radius determine what geographical -// area is included. The address is a description of the geo point that does -// not affect ad serving. -// -// There are two ways to create a proximity. First, by setting an address -// and radius. The geo point will be automatically computed. Second, by -// setting a geo point and radius. The address is an optional label that won't -// be validated. -message ProximityInfo { - // Latitude and longitude. - GeoPointInfo geo_point = 1; - - // The radius of the proximity. - optional double radius = 5; - - // The unit of measurement of the radius. Default is KILOMETERS. - google.ads.googleads.v13.enums.ProximityRadiusUnitsEnum.ProximityRadiusUnits - radius_units = 3; - - // Full address. - AddressInfo address = 4; -} - -// Geo point for proximity criterion. -message GeoPointInfo { - // Micro degrees for the longitude. - optional int32 longitude_in_micro_degrees = 3; - - // Micro degrees for the latitude. - optional int32 latitude_in_micro_degrees = 4; -} - -// Address for proximity criterion. -message AddressInfo { - // Postal code. - optional string postal_code = 8; - - // Province or state code. - optional string province_code = 9; - - // Country code. - optional string country_code = 10; - - // Province or state name. - optional string province_name = 11; - - // Street address line 1. - optional string street_address = 12; - - // Street address line 2. This field is write-only. It is only used for - // calculating the longitude and latitude of an address when geo_point is - // empty. - optional string street_address2 = 13; - - // Name of the city. - optional string city_name = 14; -} - -// A topic criterion. Use topics to target or exclude placements in the -// Google Display Network based on the category into which the placement falls -// (for example, "Pets & Animals/Pets/Dogs"). -message TopicInfo { - // The Topic Constant resource name. - optional string topic_constant = 3; - - // The category to target or exclude. Each subsequent element in the array - // describes a more specific sub-category. For example, - // "Pets & Animals", "Pets", "Dogs" represents the "Pets & Animals/Pets/Dogs" - // category. - repeated string path = 4; -} - -// A language criterion. -message LanguageInfo { - // The language constant resource name. - optional string language_constant = 2; -} - -// An IpBlock criterion used for IP exclusions. We allow: -// - IPv4 and IPv6 addresses -// - individual addresses (192.168.0.1) -// - masks for individual addresses (192.168.0.1/32) -// - masks for Class C networks (192.168.0.1/24) -message IpBlockInfo { - // The IP address of this IP block. - optional string ip_address = 2; -} - -// Content Label for category exclusion. -message ContentLabelInfo { - // Content label type, required for CREATE operations. - google.ads.googleads.v13.enums.ContentLabelTypeEnum.ContentLabelType type = 1; -} - -// Represents a Carrier Criterion. -message CarrierInfo { - // The Carrier constant resource name. - optional string carrier_constant = 2; -} - -// Represents a particular interest-based topic to be targeted. -message UserInterestInfo { - // The UserInterest resource name. - optional string user_interest_category = 2; -} - -// Represents a criterion for targeting webpages of an advertiser's website. -message WebpageInfo { - // The name of the criterion that is defined by this parameter. The name value - // will be used for identifying, sorting and filtering criteria with this type - // of parameters. - // - // This field is required for CREATE operations and is prohibited on UPDATE - // operations. - optional string criterion_name = 3; - - // Conditions, or logical expressions, for webpage targeting. The list of - // webpage targeting conditions are and-ed together when evaluated - // for targeting. An empty list of conditions indicates all pages of the - // campaign's website are targeted. - // - // This field is required for CREATE operations and is prohibited on UPDATE - // operations. - repeated WebpageConditionInfo conditions = 2; - - // Website criteria coverage percentage. This is the computed percentage - // of website coverage based on the website target, negative website target - // and negative keywords in the ad group and campaign. For instance, when - // coverage returns as 1, it indicates it has 100% coverage. This field is - // read-only. - double coverage_percentage = 4; - - // List of sample urls that match the website target. This field is read-only. - WebpageSampleInfo sample = 5; -} - -// Logical expression for targeting webpages of an advertiser's website. -message WebpageConditionInfo { - // Operand of webpage targeting condition. - google.ads.googleads.v13.enums.WebpageConditionOperandEnum - .WebpageConditionOperand operand = 1; - - // Operator of webpage targeting condition. - google.ads.googleads.v13.enums.WebpageConditionOperatorEnum - .WebpageConditionOperator - operator = 2; - - // Argument of webpage targeting condition. - optional string argument = 4; -} - -// List of sample urls that match the website target -message WebpageSampleInfo { - // Webpage sample urls - repeated string sample_urls = 1; -} - -// Represents an operating system version to be targeted. -message OperatingSystemVersionInfo { - // The operating system version constant resource name. - optional string operating_system_version_constant = 2; -} - -// An app payment model criterion. -message AppPaymentModelInfo { - // Type of the app payment model. - google.ads.googleads.v13.enums.AppPaymentModelTypeEnum.AppPaymentModelType - type = 1; -} - -// A mobile device criterion. -message MobileDeviceInfo { - // The mobile device constant resource name. - optional string mobile_device_constant = 2; -} - -// A custom affinity criterion. -// A criterion of this type is only targetable. -message CustomAffinityInfo { - // The CustomInterest resource name. - optional string custom_affinity = 2; -} - -// A custom intent criterion. -// A criterion of this type is only targetable. -message CustomIntentInfo { - // The CustomInterest resource name. - optional string custom_intent = 2; -} - -// A radius around a list of locations specified through a feed or assetSet. -message LocationGroupInfo { - // Feed specifying locations for targeting. Cannot be set with AssetSet - // fields. This is required and must be set in CREATE operations. - optional string feed = 5; - - // Geo target constant(s) restricting the scope of the geographic area within - // the feed. Currently only one geo target constant is allowed. Cannot be set - // with AssetSet fields. - repeated string geo_target_constants = 6; - - // Distance in units specifying the radius around targeted locations. - // This is required and must be set in CREATE operations. - optional int64 radius = 7; - - // Unit of the radius. Miles and meters are supported for geo target - // constants. Milli miles and meters are supported for feed item sets and - // asset sets. This is required and must be set in CREATE operations. - google.ads.googleads.v13.enums.LocationGroupRadiusUnitsEnum - .LocationGroupRadiusUnits radius_units = 4; - - // FeedItemSets whose FeedItems are targeted. If multiple IDs are specified, - // then all items that appear in at least one set are targeted. This field - // cannot be used with geo_target_constants. This is optional and can only be - // set in CREATE operations. Cannot be set with AssetSet fields. - repeated string feed_item_sets = 8; - - // Denotes that the latest customer level asset set is used for targeting. - // Used with radius and radius_units. Cannot be used with - // feed, geo target constants or feed item sets. When using asset sets, either - // this field or location_group_asset_sets should be specified. Both cannot be - // used at the same time. This can only be set in CREATE operations. - optional bool enable_customer_level_location_asset_set = 9; - - // AssetSets whose Assets are targeted. If multiple IDs are specified, then - // all items that appear in at least one set are targeted. This field cannot - // be used with feed, geo target constants or feed item sets. When using asset - // sets, either this field or enable_customer_level_location_asset_set should - // be specified. Both cannot be used at the same time. This can only be set - // in CREATE operations. - repeated string location_group_asset_sets = 10; -} - -// A custom audience criterion. -message CustomAudienceInfo { - // The CustomAudience resource name. - string custom_audience = 1; -} - -// A combined audience criterion. -message CombinedAudienceInfo { - // The CombinedAudience resource name. - string combined_audience = 1; -} - -// An audience criterion. -message AudienceInfo { - // The Audience resource name. - string audience = 1; -} - -// A Smart Campaign keyword theme. -message KeywordThemeInfo { - // Either a predefined keyword theme constant or free-form text may be - // specified. - oneof keyword_theme { - // The resource name of a Smart Campaign keyword theme constant. - // `keywordThemeConstants/{keyword_theme_id}~{sub_keyword_theme_id}` - string keyword_theme_constant = 1; - - // Free-form text to be matched to a Smart Campaign keyword theme constant - // on a best-effort basis. - string free_form_keyword_theme = 2; - } -} - -// A Local Services Ads service ID. Represents a service type -// (such as install_faucet) that a Local Services Campaign can target. -message LocalServiceIdInfo { - // The criterion resource name. - string service_id = 1; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/common/criterion_category_availability.proto b/third_party/googleapis/google/ads/googleads/v13/common/criterion_category_availability.proto deleted file mode 100644 index e7da44621..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/common/criterion_category_availability.proto +++ /dev/null @@ -1,85 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/enums/advertising_channel_sub_type.proto"; -import "google/ads/googleads/v13/enums/advertising_channel_type.proto"; -import "google/ads/googleads/v13/enums/criterion_category_channel_availability_mode.proto"; -import "google/ads/googleads/v13/enums/criterion_category_locale_availability_mode.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "CriterionCategoryAvailabilityProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; - -// Proto file describing criterion category availability information. - -// Information of category availability, per advertising channel. -message CriterionCategoryAvailability { - // Channel types and subtypes that are available to the category. - CriterionCategoryChannelAvailability channel = 1; - - // Locales that are available to the category for the channel. - repeated CriterionCategoryLocaleAvailability locale = 2; -} - -// Information of advertising channel type and subtypes a category is available -// in. -message CriterionCategoryChannelAvailability { - // Format of the channel availability. Can be ALL_CHANNELS (the rest of the - // fields will not be set), CHANNEL_TYPE (only advertising_channel_type type - // will be set, the category is available to all sub types under it) or - // CHANNEL_TYPE_AND_SUBTYPES (advertising_channel_type, - // advertising_channel_sub_type, and include_default_channel_sub_type will all - // be set). - google.ads.googleads.v13.enums.CriterionCategoryChannelAvailabilityModeEnum - .CriterionCategoryChannelAvailabilityMode availability_mode = 1; - - // Channel type the category is available to. - google.ads.googleads.v13.enums.AdvertisingChannelTypeEnum - .AdvertisingChannelType advertising_channel_type = 2; - - // Channel subtypes under the channel type the category is available to. - repeated google.ads.googleads.v13.enums.AdvertisingChannelSubTypeEnum - .AdvertisingChannelSubType advertising_channel_sub_type = 3; - - // Whether default channel sub type is included. For example, - // advertising_channel_type being DISPLAY and include_default_channel_sub_type - // being false means that the default display campaign where channel sub type - // is not set is not included in this availability configuration. - optional bool include_default_channel_sub_type = 5; -} - -// Information about which locales a category is available in. -message CriterionCategoryLocaleAvailability { - // Format of the locale availability. Can be LAUNCHED_TO_ALL (both country and - // language will be empty), COUNTRY (only country will be set), LANGUAGE (only - // language wil be set), COUNTRY_AND_LANGUAGE (both country and language will - // be set). - google.ads.googleads.v13.enums.CriterionCategoryLocaleAvailabilityModeEnum - .CriterionCategoryLocaleAvailabilityMode availability_mode = 1; - - // Code of the country. - optional string country_code = 4; - - // Code of the language. - optional string language_code = 5; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/common/custom_parameter.proto b/third_party/googleapis/google/ads/googleads/v13/common/custom_parameter.proto deleted file mode 100644 index dc595a159..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/common/custom_parameter.proto +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.common; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "CustomParameterProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; - -// Proto file describing CustomParameter and operation - -// A mapping that can be used by custom parameter tags in a -// `tracking_url_template`, `final_urls`, or `mobile_final_urls`. -message CustomParameter { - // The key matching the parameter tag name. - optional string key = 3; - - // The value to be substituted. - optional string value = 4; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/common/customizer_value.proto b/third_party/googleapis/google/ads/googleads/v13/common/customizer_value.proto deleted file mode 100644 index 753715f16..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/common/customizer_value.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/enums/customizer_attribute_type.proto"; -import "google/api/field_behavior.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "CustomizerValueProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; - -// Proto file describing common customizer value proto messages. - -// A customizer value that is referenced in customizer linkage entities -// like CustomerCustomizer, CampaignCustomizer, etc. -message CustomizerValue { - // Required. The data type for the customizer value. It must match the - // attribute type. The string_value content must match the constraints - // associated with the type. - google.ads.googleads.v13.enums.CustomizerAttributeTypeEnum - .CustomizerAttributeType type = 1 - [(google.api.field_behavior) = REQUIRED]; - - // Required. Value to insert in creative text. Customizer values of all types - // are stored as string to make formatting unambiguous. - string string_value = 2 [(google.api.field_behavior) = REQUIRED]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/common/dates.proto b/third_party/googleapis/google/ads/googleads/v13/common/dates.proto deleted file mode 100644 index 10c2e6687..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/common/dates.proto +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/enums/month_of_year.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "DatesProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; - -// Proto file describing date range message. - -// A date range. -message DateRange { - // The start date, in yyyy-mm-dd format. This date is inclusive. - optional string start_date = 3; - - // The end date, in yyyy-mm-dd format. This date is inclusive. - optional string end_date = 4; -} - -// The year month range inclusive of the start and end months. -// Eg: A year month range to represent Jan 2020 would be: (Jan 2020, Jan 2020). -message YearMonthRange { - // The inclusive start year month. - YearMonth start = 1; - - // The inclusive end year month. - YearMonth end = 2; -} - -// Year month. -message YearMonth { - // The year (for example, 2020). - int64 year = 1; - - // The month of the year. (for example, FEBRUARY). - google.ads.googleads.v13.enums.MonthOfYearEnum.MonthOfYear month = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/common/extensions.proto b/third_party/googleapis/google/ads/googleads/v13/common/extensions.proto deleted file mode 100644 index 8964ee08b..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/common/extensions.proto +++ /dev/null @@ -1,371 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/common/custom_parameter.proto"; -import "google/ads/googleads/v13/common/feed_common.proto"; -import "google/ads/googleads/v13/enums/app_store.proto"; -import "google/ads/googleads/v13/enums/call_conversion_reporting_state.proto"; -import "google/ads/googleads/v13/enums/price_extension_price_qualifier.proto"; -import "google/ads/googleads/v13/enums/price_extension_price_unit.proto"; -import "google/ads/googleads/v13/enums/price_extension_type.proto"; -import "google/ads/googleads/v13/enums/promotion_extension_discount_modifier.proto"; -import "google/ads/googleads/v13/enums/promotion_extension_occasion.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "ExtensionsProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; - -// Proto file describing extension types. - -// Represents an App extension. -message AppFeedItem { - // The visible text displayed when the link is rendered in an ad. - // This string must not be empty, and the length of this string should - // be between 1 and 25, inclusive. - optional string link_text = 9; - - // The store-specific ID for the target application. - // This string must not be empty. - optional string app_id = 10; - - // The application store that the target application belongs to. - // This field is required. - google.ads.googleads.v13.enums.AppStoreEnum.AppStore app_store = 3; - - // A list of possible final URLs after all cross domain redirects. - // This list must not be empty. - repeated string final_urls = 11; - - // A list of possible final mobile URLs after all cross domain redirects. - repeated string final_mobile_urls = 12; - - // URL template for constructing a tracking URL. Default value is "{lpurl}". - optional string tracking_url_template = 13; - - // A list of mappings to be used for substituting URL custom parameter tags in - // the tracking_url_template, final_urls, and/or final_mobile_urls. - repeated CustomParameter url_custom_parameters = 7; - - // URL template for appending params to landing page URLs served with parallel - // tracking. - optional string final_url_suffix = 14; -} - -// Represents a Call extension. -message CallFeedItem { - // The advertiser's phone number to append to the ad. - // This string must not be empty. - optional string phone_number = 7; - - // Uppercase two-letter country code of the advertiser's phone number. - // This string must not be empty. - optional string country_code = 8; - - // Indicates whether call tracking is enabled. By default, call tracking is - // not enabled. - optional bool call_tracking_enabled = 9; - - // The conversion action to attribute a call conversion to. If not set a - // default conversion action is used. This field only has effect if - // call_tracking_enabled is set to true. Otherwise this field is ignored. - optional string call_conversion_action = 10; - - // If true, disable call conversion tracking. call_conversion_action should - // not be set if this is true. Optional. - optional bool call_conversion_tracking_disabled = 11; - - // Enum value that indicates whether this call extension uses its own call - // conversion setting (or just have call conversion disabled), or following - // the account level setting. - google.ads.googleads.v13.enums.CallConversionReportingStateEnum - .CallConversionReportingState call_conversion_reporting_state = 6; -} - -// Represents a callout extension. -message CalloutFeedItem { - // The callout text. - // The length of this string should be between 1 and 25, inclusive. - optional string callout_text = 2; -} - -// Represents a location extension. -message LocationFeedItem { - // The name of the business. - optional string business_name = 9; - - // Line 1 of the business address. - optional string address_line_1 = 10; - - // Line 2 of the business address. - optional string address_line_2 = 11; - - // City of the business address. - optional string city = 12; - - // Province of the business address. - optional string province = 13; - - // Postal code of the business address. - optional string postal_code = 14; - - // Country code of the business address. - optional string country_code = 15; - - // Phone number of the business. - optional string phone_number = 16; -} - -// Represents an affiliate location extension. -message AffiliateLocationFeedItem { - // The name of the business. - optional string business_name = 11; - - // Line 1 of the business address. - optional string address_line_1 = 12; - - // Line 2 of the business address. - optional string address_line_2 = 13; - - // City of the business address. - optional string city = 14; - - // Province of the business address. - optional string province = 15; - - // Postal code of the business address. - optional string postal_code = 16; - - // Country code of the business address. - optional string country_code = 17; - - // Phone number of the business. - optional string phone_number = 18; - - // Id of the retail chain that is advertised as a seller of your product. - optional int64 chain_id = 19; - - // Name of chain. - optional string chain_name = 20; -} - -// An extension that users can click on to send a text message to the -// advertiser. -message TextMessageFeedItem { - // The business name to prepend to the message text. - // This field is required. - optional string business_name = 6; - - // Uppercase two-letter country code of the advertiser's phone number. - // This field is required. - optional string country_code = 7; - - // The advertiser's phone number the message will be sent to. Required. - optional string phone_number = 8; - - // The text to show in the ad. - // This field is required. - optional string text = 9; - - // The message extension_text populated in the messaging app. - optional string extension_text = 10; -} - -// Represents a Price extension. -message PriceFeedItem { - // Price extension type of this extension. - google.ads.googleads.v13.enums.PriceExtensionTypeEnum.PriceExtensionType - type = 1; - - // Price qualifier for all offers of this price extension. - google.ads.googleads.v13.enums.PriceExtensionPriceQualifierEnum - .PriceExtensionPriceQualifier price_qualifier = 2; - - // Tracking URL template for all offers of this price extension. - optional string tracking_url_template = 7; - - // The code of the language used for this price extension. - optional string language_code = 8; - - // The price offerings in this price extension. - repeated PriceOffer price_offerings = 5; - - // Tracking URL template for all offers of this price extension. - optional string final_url_suffix = 9; -} - -// Represents one price offer in a price extension. -message PriceOffer { - // Header text of this offer. - optional string header = 7; - - // Description text of this offer. - optional string description = 8; - - // Price value of this offer. - Money price = 3; - - // Price unit for this offer. - google.ads.googleads.v13.enums.PriceExtensionPriceUnitEnum - .PriceExtensionPriceUnit unit = 4; - - // A list of possible final URLs after all cross domain redirects. - repeated string final_urls = 9; - - // A list of possible final mobile URLs after all cross domain redirects. - repeated string final_mobile_urls = 10; -} - -// Represents a Promotion extension. -message PromotionFeedItem { - // A freeform description of what the promotion is targeting. - // This field is required. - optional string promotion_target = 16; - - // Enum that modifies the qualification of the discount. - google.ads.googleads.v13.enums.PromotionExtensionDiscountModifierEnum - .PromotionExtensionDiscountModifier discount_modifier = 2; - - // Start date of when the promotion is eligible to be redeemed. - optional string promotion_start_date = 19; - - // Last date when the promotion is eligible to be redeemed. - optional string promotion_end_date = 20; - - // The occasion the promotion was intended for. - // If an occasion is set, the redemption window will need to fall within - // the date range associated with the occasion. - google.ads.googleads.v13.enums.PromotionExtensionOccasionEnum - .PromotionExtensionOccasion occasion = 9; - - // A list of possible final URLs after all cross domain redirects. - // This field is required. - repeated string final_urls = 21; - - // A list of possible final mobile URLs after all cross domain redirects. - repeated string final_mobile_urls = 22; - - // URL template for constructing a tracking URL. - optional string tracking_url_template = 23; - - // A list of mappings to be used for substituting URL custom parameter tags in - // the tracking_url_template, final_urls, and/or final_mobile_urls. - repeated CustomParameter url_custom_parameters = 13; - - // URL template for appending params to landing page URLs served with parallel - // tracking. - optional string final_url_suffix = 24; - - // The language of the promotion. - // Represented as BCP 47 language tag. - optional string language_code = 25; - - // Discount type, can be percentage off or amount off. - oneof discount_type { - // Percentage off discount in the promotion in micros. - // One million is equivalent to one percent. - // Either this or money_off_amount is required. - int64 percent_off = 17; - - // Money amount off for discount in the promotion. - // Either this or percent_off is required. - Money money_amount_off = 4; - } - - // Promotion trigger. Can be by promotion code or promo by eligible order - // amount. - oneof promotion_trigger { - // A code the user should use in order to be eligible for the promotion. - string promotion_code = 18; - - // The amount the total order needs to be for the user to be eligible for - // the promotion. - Money orders_over_amount = 6; - } -} - -// Represents a structured snippet extension. -message StructuredSnippetFeedItem { - // The header of the snippet. - // This string must not be empty. - optional string header = 3; - - // The values in the snippet. - // The maximum size of this collection is 10. - repeated string values = 4; -} - -// Represents a sitelink extension. -message SitelinkFeedItem { - // URL display text for the sitelink. - // The length of this string should be between 1 and 25, inclusive. - optional string link_text = 9; - - // First line of the description for the sitelink. - // If this value is set, line2 must also be set. - // The length of this string should be between 0 and 35, inclusive. - optional string line1 = 10; - - // Second line of the description for the sitelink. - // If this value is set, line1 must also be set. - // The length of this string should be between 0 and 35, inclusive. - optional string line2 = 11; - - // A list of possible final URLs after all cross domain redirects. - repeated string final_urls = 12; - - // A list of possible final mobile URLs after all cross domain redirects. - repeated string final_mobile_urls = 13; - - // URL template for constructing a tracking URL. - optional string tracking_url_template = 14; - - // A list of mappings to be used for substituting URL custom parameter tags in - // the tracking_url_template, final_urls, and/or final_mobile_urls. - repeated CustomParameter url_custom_parameters = 7; - - // Final URL suffix to be appended to landing page URLs served with - // parallel tracking. - optional string final_url_suffix = 15; -} - -// Represents a hotel callout extension. -message HotelCalloutFeedItem { - // The callout text. - // The length of this string should be between 1 and 25, inclusive. - optional string text = 3; - - // The language of the hotel callout text. - // IETF BCP 47 compliant language code. - optional string language_code = 4; -} - -// Represents an advertiser provided image extension. -message ImageFeedItem { - // Required. Resource name of the image asset. - string image_asset = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { type: "googleads.googleapis.com/Asset" } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/common/feed_common.proto b/third_party/googleapis/google/ads/googleads/v13/common/feed_common.proto deleted file mode 100644 index 361dad842..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/common/feed_common.proto +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.common; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "FeedCommonProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; - -// Proto file describing common feed proto messages. - -// Represents a price in a particular currency. -message Money { - // Three-character ISO 4217 currency code. - optional string currency_code = 3; - - // Amount in micros. One million is equivalent to one unit. - optional int64 amount_micros = 4; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/common/feed_item_set_filter_type_infos.proto b/third_party/googleapis/google/ads/googleads/v13/common/feed_item_set_filter_type_infos.proto deleted file mode 100644 index fc2cc8bd7..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/common/feed_item_set_filter_type_infos.proto +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/enums/feed_item_set_string_filter_type.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemSetFilterTypeInfosProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; - -// Represents a filter on locations in a feed item set. -// Only applicable if the parent Feed of the FeedItemSet is a LOCATION feed. -message DynamicLocationSetFilter { - // If multiple labels are set, then only feeditems marked with all the labels - // will be added to the FeedItemSet. - repeated string labels = 1; - - // Business name filter. - BusinessNameFilter business_name_filter = 2; -} - -// Represents a business name filter on locations in a FeedItemSet. -message BusinessNameFilter { - // Business name string to use for filtering. - string business_name = 1; - - // The type of string matching to use when filtering with business_name. - google.ads.googleads.v13.enums.FeedItemSetStringFilterTypeEnum - .FeedItemSetStringFilterType filter_type = 2; -} - -// Represents a filter on affiliate locations in a FeedItemSet. -// Only applicable if the parent Feed of the FeedItemSet is an -// AFFILIATE_LOCATION feed. -message DynamicAffiliateLocationSetFilter { - // Used to filter affiliate locations by chain ids. Only affiliate locations - // that belong to the specified chain(s) will be added to the FeedItemSet. - repeated int64 chain_ids = 1; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/common/final_app_url.proto b/third_party/googleapis/google/ads/googleads/v13/common/final_app_url.proto deleted file mode 100644 index 0c78caa33..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/common/final_app_url.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/enums/app_url_operating_system_type.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "FinalAppUrlProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; - -// Proto file FinalAppUrl type. - -// A URL for deep linking into an app for the given operating system. -message FinalAppUrl { - // The operating system targeted by this URL. Required. - google.ads.googleads.v13.enums.AppUrlOperatingSystemTypeEnum - .AppUrlOperatingSystemType os_type = 1; - - // The app deep link URL. Deep links specify a location in an app that - // corresponds to the content you'd like to show, and should be of the form - // {scheme}://{host_path} - // The scheme identifies which app to open. For your app, you can use a custom - // scheme that starts with the app's name. The host and path specify the - // unique location in the app where your content exists. - // Example: "exampleapp://productid_1234". Required. - optional string url = 3; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/common/frequency_cap.proto b/third_party/googleapis/google/ads/googleads/v13/common/frequency_cap.proto deleted file mode 100644 index 7ad339eaf..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/common/frequency_cap.proto +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/enums/frequency_cap_event_type.proto"; -import "google/ads/googleads/v13/enums/frequency_cap_level.proto"; -import "google/ads/googleads/v13/enums/frequency_cap_time_unit.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "FrequencyCapProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; - -// Proto file describing frequency caps. - -// A rule specifying the maximum number of times an ad (or some set of ads) can -// be shown to a user over a particular time period. -message FrequencyCapEntry { - // The key of a particular frequency cap. There can be no more - // than one frequency cap with the same key. - FrequencyCapKey key = 1; - - // Maximum number of events allowed during the time range by this cap. - optional int32 cap = 3; -} - -// A group of fields used as keys for a frequency cap. -// There can be no more than one frequency cap with the same key. -message FrequencyCapKey { - // The level on which the cap is to be applied (for example, ad group ad, ad - // group). The cap is applied to all the entities of this level. - google.ads.googleads.v13.enums.FrequencyCapLevelEnum.FrequencyCapLevel level = - 1; - - // The type of event that the cap applies to (for example, impression). - google.ads.googleads.v13.enums.FrequencyCapEventTypeEnum.FrequencyCapEventType - event_type = 3; - - // Unit of time the cap is defined at (for example, day, week). - google.ads.googleads.v13.enums.FrequencyCapTimeUnitEnum.FrequencyCapTimeUnit - time_unit = 2; - - // Number of time units the cap lasts. - optional int32 time_length = 5; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/common/keyword_plan_common.proto b/third_party/googleapis/google/ads/googleads/v13/common/keyword_plan_common.proto deleted file mode 100644 index eb85a499d..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/common/keyword_plan_common.proto +++ /dev/null @@ -1,151 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/common/dates.proto"; -import "google/ads/googleads/v13/enums/device.proto"; -import "google/ads/googleads/v13/enums/keyword_plan_aggregate_metric_type.proto"; -import "google/ads/googleads/v13/enums/keyword_plan_competition_level.proto"; -import "google/ads/googleads/v13/enums/keyword_plan_concept_group_type.proto"; -import "google/ads/googleads/v13/enums/month_of_year.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanCommonProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; - -// Proto file describing Keyword Planner messages. - -// Historical metrics specific to the targeting options selected. -// Targeting options include geographies, network, etc. -// Refer to https://support.google.com/google-ads/answer/3022575 for more -// details. -message KeywordPlanHistoricalMetrics { - // Approximate number of monthly searches on this query averaged - // for the past 12 months. - optional int64 avg_monthly_searches = 7; - - // Approximate number of searches on this query for the past twelve months. - repeated MonthlySearchVolume monthly_search_volumes = 6; - - // The competition level for the query. - google.ads.googleads.v13.enums.KeywordPlanCompetitionLevelEnum - .KeywordPlanCompetitionLevel competition = 2; - - // The competition index for the query in the range [0, 100]. - // Shows how competitive ad placement is for a keyword. - // The level of competition from 0-100 is determined by the number of ad slots - // filled divided by the total number of ad slots available. If not enough - // data is available, null is returned. - optional int64 competition_index = 8; - - // Top of page bid low range (20th percentile) in micros for the keyword. - optional int64 low_top_of_page_bid_micros = 9; - - // Top of page bid high range (80th percentile) in micros for the keyword. - optional int64 high_top_of_page_bid_micros = 10; - - // Average Cost Per Click in micros for the keyword. - optional int64 average_cpc_micros = 11; -} - -// Historical metrics options. -message HistoricalMetricsOptions { - // The year month range for historical metrics. If not specified the searches - // will be returned for past 12 months. - // Searches data is available for the past 4 years. If the search volume is - // not available for the entire year_month_range provided, the subset of the - // year month range for which search volume is available will be returned. - optional YearMonthRange year_month_range = 1; - - // Indicates whether to include average cost per click value. - // Average CPC is a legacy value that will be removed and replaced in the - // future, and as such we are including it as an optioanl value so clients - // only use it when strictly necessary and to better track clients that use - // this value. - bool include_average_cpc = 2; -} - -// Monthly search volume. -message MonthlySearchVolume { - // The year of the search volume (for example, 2020). - optional int64 year = 4; - - // The month of the search volume. - google.ads.googleads.v13.enums.MonthOfYearEnum.MonthOfYear month = 2; - - // Approximate number of searches for the month. - // A null value indicates the search volume is unavailable for - // that month. - optional int64 monthly_searches = 5; -} - -// The aggregate metrics specification of the request. -message KeywordPlanAggregateMetrics { - // The list of aggregate metrics to fetch data. - repeated google.ads.googleads.v13.enums.KeywordPlanAggregateMetricTypeEnum - .KeywordPlanAggregateMetricType aggregate_metric_types = 1; -} - -// The aggregated historical metrics for keyword plan keywords. -message KeywordPlanAggregateMetricResults { - // The aggregate searches for all the keywords segmented by device - // for the specified time. - // Supports the following device types: MOBILE, TABLET, DESKTOP. - // - // This is only set when KeywordPlanAggregateMetricTypeEnum.DEVICE is set - // in the KeywordPlanAggregateMetrics field in the request. - repeated KeywordPlanDeviceSearches device_searches = 1; -} - -// The total searches for the device type during the specified time period. -message KeywordPlanDeviceSearches { - // The device type. - google.ads.googleads.v13.enums.DeviceEnum.Device device = 1; - - // The total searches for the device. - optional int64 search_count = 2; -} - -// The Annotations for the Keyword plan keywords. -message KeywordAnnotations { - // The list of concepts for the keyword. - repeated KeywordConcept concepts = 1; -} - -// The concept for the keyword. -message KeywordConcept { - // The concept name for the keyword in the concept_group. - string name = 1; - - // The concept group of the concept details. - ConceptGroup concept_group = 2; -} - -// The concept group for the keyword concept. -message ConceptGroup { - // The concept group name. - string name = 1; - - // The concept group type. - google.ads.googleads.v13.enums.KeywordPlanConceptGroupTypeEnum - .KeywordPlanConceptGroupType type = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/common/matching_function.proto b/third_party/googleapis/google/ads/googleads/v13/common/matching_function.proto deleted file mode 100644 index 481b37096..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/common/matching_function.proto +++ /dev/null @@ -1,128 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/enums/matching_function_context_type.proto"; -import "google/ads/googleads/v13/enums/matching_function_operator.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "MatchingFunctionProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; - -// Proto file describing a matching function. - -// Matching function associated with a -// CustomerFeed, CampaignFeed, or AdGroupFeed. The matching function is used -// to filter the set of feed items selected. -message MatchingFunction { - // String representation of the Function. - // - // Examples: - // - // 1. IDENTITY(true) or IDENTITY(false). All or no feed items served. - // 2. EQUALS(CONTEXT.DEVICE,"Mobile") - // 3. IN(FEED_ITEM_ID,{1000001,1000002,1000003}) - // 4. CONTAINS_ANY(FeedAttribute[12345678,0],{"Mars cruise","Venus cruise"}) - // 5. AND(IN(FEED_ITEM_ID,{10001,10002}),EQUALS(CONTEXT.DEVICE,"Mobile")) - // - // For more details, visit - // https://developers.google.com/google-ads/api/docs/extensions/feeds/matching-functions - // - // Note that because multiple strings may represent the same underlying - // function (whitespace and single versus double quotation marks, for - // example), the value returned may not be identical to the string sent in a - // mutate request. - optional string function_string = 5; - - // Operator for a function. - google.ads.googleads.v13.enums.MatchingFunctionOperatorEnum - .MatchingFunctionOperator - operator = 4; - - // The operands on the left hand side of the equation. This is also the - // operand to be used for single operand expressions such as NOT. - repeated Operand left_operands = 2; - - // The operands on the right hand side of the equation. - repeated Operand right_operands = 3; -} - -// An operand in a matching function. -message Operand { - // A constant operand in a matching function. - message ConstantOperand { - // Constant operand values. Required. - oneof constant_operand_value { - // String value of the operand if it is a string type. - string string_value = 5; - - // Int64 value of the operand if it is a int64 type. - int64 long_value = 6; - - // Boolean value of the operand if it is a boolean type. - bool boolean_value = 7; - - // Double value of the operand if it is a double type. - double double_value = 8; - } - } - - // A feed attribute operand in a matching function. - // Used to represent a feed attribute in feed. - message FeedAttributeOperand { - // The associated feed. Required. - optional int64 feed_id = 3; - - // Id of the referenced feed attribute. Required. - optional int64 feed_attribute_id = 4; - } - - // A function operand in a matching function. - // Used to represent nested functions. - message FunctionOperand { - // The matching function held in this operand. - MatchingFunction matching_function = 1; - } - - // An operand in a function referring to a value in the request context. - message RequestContextOperand { - // Type of value to be referred in the request context. - google.ads.googleads.v13.enums.MatchingFunctionContextTypeEnum - .MatchingFunctionContextType context_type = 1; - } - - // Different operands that can be used in a matching function. Required. - oneof function_argument_operand { - // A constant operand in a matching function. - ConstantOperand constant_operand = 1; - - // This operand specifies a feed attribute in feed. - FeedAttributeOperand feed_attribute_operand = 2; - - // A function operand in a matching function. - // Used to represent nested functions. - FunctionOperand function_operand = 3; - - // An operand in a function referring to a value in the request context. - RequestContextOperand request_context_operand = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/common/metric_goal.proto b/third_party/googleapis/google/ads/googleads/v13/common/metric_goal.proto deleted file mode 100644 index 20aecc783..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/common/metric_goal.proto +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/enums/experiment_metric.proto"; -import "google/ads/googleads/v13/enums/experiment_metric_direction.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "MetricGoalProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; - -// Proto file describing experiment metric goal. - -// A metric goal for an experiment. -message MetricGoal { - // The metric of the goal. For example, clicks, impressions, cost, - // conversions, etc. - google.ads.googleads.v13.enums.ExperimentMetricEnum.ExperimentMetric metric = - 1; - - // The metric direction of the goal. For example, increase, decrease, no - // change. - google.ads.googleads.v13.enums.ExperimentMetricDirectionEnum - .ExperimentMetricDirection direction = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/common/metrics.proto b/third_party/googleapis/google/ads/googleads/v13/common/metrics.proto deleted file mode 100644 index fe1906cb3..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/common/metrics.proto +++ /dev/null @@ -1,780 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/enums/interaction_event_type.proto"; -import "google/ads/googleads/v13/enums/quality_score_bucket.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "MetricsProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; - -// Proto file describing metrics. - -// Metrics data. -message Metrics { - // The percent of your ad impressions that are shown as the very first ad - // above the organic search results. - optional double absolute_top_impression_percentage = 183; - - // Average cost of viewable impressions (`active_view_impressions`). - optional double active_view_cpm = 184; - - // Active view measurable clicks divided by active view viewable impressions. - // - // This metric is reported only for the Display Network. - optional double active_view_ctr = 185; - - // A measurement of how often your ad has become viewable on a Display - // Network site. - optional int64 active_view_impressions = 186; - - // The ratio of impressions that could be measured by Active View over the - // number of served impressions. - optional double active_view_measurability = 187; - - // The cost of the impressions you received that were measurable by Active - // View. - optional int64 active_view_measurable_cost_micros = 188; - - // The number of times your ads are appearing on placements in positions - // where they can be seen. - optional int64 active_view_measurable_impressions = 189; - - // The percentage of time when your ad appeared on an Active View enabled site - // (measurable impressions) and was viewable (viewable impressions). - optional double active_view_viewability = 190; - - // All conversions from interactions (as oppose to view through conversions) - // divided by the number of ad interactions. - optional double all_conversions_from_interactions_rate = 191; - - // The value of all conversions. - optional double all_conversions_value = 192; - - // The value of all conversions. When this column is selected with date, the - // values in date column means the conversion date. Details for the - // by_conversion_date columns are available at - // https://support.google.com/google-ads/answer/9549009. - double all_conversions_value_by_conversion_date = 240; - - // The total number of conversions. This includes all conversions regardless - // of the value of include_in_conversions_metric. - optional double all_conversions = 193; - - // The total number of conversions. This includes all conversions regardless - // of the value of include_in_conversions_metric. When this column is selected - // with date, the values in date column means the conversion date. Details for - // the by_conversion_date columns are available at - // https://support.google.com/google-ads/answer/9549009. - double all_conversions_by_conversion_date = 241; - - // The value of all conversions divided by the total cost of ad interactions - // (such as clicks for text ads or views for video ads). - optional double all_conversions_value_per_cost = 194; - - // The number of times people clicked the "Call" button to call a store during - // or after clicking an ad. This number doesn't include whether or not calls - // were connected, or the duration of any calls. - // - // This metric applies to feed items only. - optional double all_conversions_from_click_to_call = 195; - - // The number of times people clicked a "Get directions" button to navigate to - // a store after clicking an ad. - // - // This metric applies to feed items only. - optional double all_conversions_from_directions = 196; - - // The value of all conversions from interactions divided by the total number - // of interactions. - optional double all_conversions_from_interactions_value_per_interaction = 197; - - // The number of times people clicked a link to view a store's menu after - // clicking an ad. - // - // This metric applies to feed items only. - optional double all_conversions_from_menu = 198; - - // The number of times people placed an order at a store after clicking an ad. - // - // This metric applies to feed items only. - optional double all_conversions_from_order = 199; - - // The number of other conversions (for example, posting a review or saving a - // location for a store) that occurred after people clicked an ad. - // - // This metric applies to feed items only. - optional double all_conversions_from_other_engagement = 200; - - // Estimated number of times people visited a store after clicking an ad. - // - // This metric applies to feed items only. - optional double all_conversions_from_store_visit = 201; - - // The number of times that people were taken to a store's URL after clicking - // an ad. - // - // This metric applies to feed items only. - optional double all_conversions_from_store_website = 202; - - // This metric is part of the Auction Insights report, and tells how often - // the ads of another participant showed as the very first ad above the - // organic search results. - // This percentage is computed only over the auctions that you appeared in - // the page. - // - // This metric is not publicly available. - optional double auction_insight_search_absolute_top_impression_percentage = - 258; - - // This metric is part of the Auction Insights report, and tells the - // percentage of impressions that another participant obtained, over the total - // number of impressions that your ads were eligible for. - // Any value below 0.1 is reported as 0.0999. - // - // This metric is not publicly available. - optional double auction_insight_search_impression_share = 259; - - // This metric is part of the Auction Insights report, and tells the - // percentage of impressions that your ads outranked (showed above) - // another participant in the auction, compared to the total number of - // impressions that your ads were eligible for. - // Any value below 0.1 is reported as 0.0999. - // - // This metric is not publicly available. - optional double auction_insight_search_outranking_share = 260; - - // This metric is part of the Auction Insights report, and tells how often - // another participant's ad received an impression when your ad also received - // an impression. - // - // This metric is not publicly available. - optional double auction_insight_search_overlap_rate = 261; - - // This metric is part of the Auction Insights report, and tells how often - // another participant's ad was shown in a higher position than yours, when - // both of your ads were shown at the same page. - // - // This metric is not publicly available. - optional double auction_insight_search_position_above_rate = 262; - - // This metric is part of the Auction Insights report, and tells how often - // the ads of another participant showed above the organic search results. - // This percentage is computed only over the auctions that you appeared in - // the page. - // - // This metric is not publicly available. - optional double auction_insight_search_top_impression_percentage = 263; - - // The average amount you pay per interaction. This amount is the total cost - // of your ads divided by the total number of interactions. - optional double average_cost = 203; - - // The total cost of all clicks divided by the total number of clicks - // received. - optional double average_cpc = 204; - - // The average amount that you've been charged for an ad engagement. This - // amount is the total cost of all ad engagements divided by the total number - // of ad engagements. - optional double average_cpe = 205; - - // Average cost-per-thousand impressions (CPM). - optional double average_cpm = 206; - - // The average amount you pay each time someone views your ad. - // The average CPV is defined by the total cost of all ad views divided by - // the number of views. - optional double average_cpv = 207; - - // Average number of pages viewed per session. - optional double average_page_views = 208; - - // Total duration of all sessions (in seconds) / number of sessions. Imported - // from Google Analytics. - optional double average_time_on_site = 209; - - // An indication of how other advertisers are bidding on similar products. - optional double benchmark_average_max_cpc = 210; - - // Number of app installs. - optional double biddable_app_install_conversions = 254; - - // Number of in-app actions. - optional double biddable_app_post_install_conversions = 255; - - // An indication on how other advertisers' Shopping ads for similar products - // are performing based on how often people who see their ad click on it. - optional double benchmark_ctr = 211; - - // Percentage of clicks where the user only visited a single page on your - // site. Imported from Google Analytics. - optional double bounce_rate = 212; - - // The number of clicks. - optional int64 clicks = 131; - - // The number of times your ad or your site's listing in the unpaid - // results was clicked. See the help page at - // https://support.google.com/google-ads/answer/3097241 for details. - optional int64 combined_clicks = 156; - - // The number of times your ad or your site's listing in the unpaid - // results was clicked (combined_clicks) divided by combined_queries. See the - // help page at https://support.google.com/google-ads/answer/3097241 for - // details. - optional double combined_clicks_per_query = 157; - - // The number of searches that returned pages from your site in the unpaid - // results or showed one of your text ads. See the help page at - // https://support.google.com/google-ads/answer/3097241 for details. - optional int64 combined_queries = 158; - - // The estimated percent of times that your ad was eligible to show - // on the Display Network but didn't because your budget was too low. - // Note: Content budget lost impression share is reported in the range of 0 - // to 0.9. Any value above 0.9 is reported as 0.9001. - optional double content_budget_lost_impression_share = 159; - - // The impressions you've received on the Display Network divided - // by the estimated number of impressions you were eligible to receive. - // Note: Content impression share is reported in the range of 0.1 to 1. Any - // value below 0.1 is reported as 0.0999. - optional double content_impression_share = 160; - - // The last date/time a conversion tag for this conversion action successfully - // fired and was seen by Google Ads. This firing event may not have been the - // result of an attributable conversion (for example, because the tag was - // fired from a browser that did not previously click an ad from an - // appropriate advertiser). The date/time is in the customer's time zone. - optional string conversion_last_received_request_date_time = 161; - - // The date of the most recent conversion for this conversion action. The date - // is in the customer's time zone. - optional string conversion_last_conversion_date = 162; - - // The estimated percentage of impressions on the Display Network - // that your ads didn't receive due to poor Ad Rank. - // Note: Content rank lost impression share is reported in the range of 0 - // to 0.9. Any value above 0.9 is reported as 0.9001. - optional double content_rank_lost_impression_share = 163; - - // Conversions from interactions divided by the number of ad interactions - // (such as clicks for text ads or views for video ads). This only includes - // conversion actions which include_in_conversions_metric attribute is set to - // true. If you use conversion-based bidding, your bid strategies will - // optimize for these conversions. - optional double conversions_from_interactions_rate = 164; - - // The value of conversions. This only includes conversion actions which - // include_in_conversions_metric attribute is set to true. If you use - // conversion-based bidding, your bid strategies will optimize for these - // conversions. - optional double conversions_value = 165; - - // The value of conversions. This only includes conversion actions which - // include_in_conversions_metric attribute is set to true. If you use - // conversion-based bidding, your bid strategies will optimize for these - // conversions. When this column is selected with date, the values in date - // column means the conversion date. Details for the by_conversion_date - // columns are available at - // https://support.google.com/google-ads/answer/9549009. - double conversions_value_by_conversion_date = 242; - - // The value of conversions divided by the cost of ad interactions. This only - // includes conversion actions which include_in_conversions_metric attribute - // is set to true. If you use conversion-based bidding, your bid strategies - // will optimize for these conversions. - optional double conversions_value_per_cost = 166; - - // The value of conversions from interactions divided by the number of ad - // interactions. This only includes conversion actions which - // include_in_conversions_metric attribute is set to true. If you use - // conversion-based bidding, your bid strategies will optimize for these - // conversions. - optional double conversions_from_interactions_value_per_interaction = 167; - - // The number of conversions. This only includes conversion actions which - // include_in_conversions_metric attribute is set to true. If you use - // conversion-based bidding, your bid strategies will optimize for these - // conversions. - optional double conversions = 168; - - // The number of conversions. This only includes conversion actions which - // include_in_conversions_metric attribute is set to true. If you use - // conversion-based bidding, your bid strategies will optimize for these - // conversions. When this column is selected with date, the values in date - // column means the conversion date. Details for the by_conversion_date - // columns are available at - // https://support.google.com/google-ads/answer/9549009. - double conversions_by_conversion_date = 243; - - // The sum of your cost-per-click (CPC) and cost-per-thousand impressions - // (CPM) costs during this period. - optional int64 cost_micros = 169; - - // The cost of ad interactions divided by all conversions. - optional double cost_per_all_conversions = 170; - - // The cost of ad interactions divided by conversions. This only includes - // conversion actions which include_in_conversions_metric attribute is set to - // true. If you use conversion-based bidding, your bid strategies will - // optimize for these conversions. - optional double cost_per_conversion = 171; - - // The cost of ad interactions divided by current model attributed - // conversions. This only includes conversion actions which - // include_in_conversions_metric attribute is set to true. If you use - // conversion-based bidding, your bid strategies will optimize for these - // conversions. - optional double cost_per_current_model_attributed_conversion = 172; - - // Conversions from when a customer clicks on a Google Ads ad on one device, - // then converts on a different device or browser. - // Cross-device conversions are already included in all_conversions. - optional double cross_device_conversions = 173; - - // The number of clicks your ad receives (Clicks) divided by the number - // of times your ad is shown (Impressions). - optional double ctr = 174; - - // Shows how your historic conversions data would look under the attribution - // model you've currently selected. This only includes conversion actions - // which include_in_conversions_metric attribute is set to true. If you use - // conversion-based bidding, your bid strategies will optimize for these - // conversions. - optional double current_model_attributed_conversions = 175; - - // Current model attributed conversions from interactions divided by the - // number of ad interactions (such as clicks for text ads or views for video - // ads). This only includes conversion actions which - // include_in_conversions_metric attribute is set to true. If you use - // conversion-based bidding, your bid strategies will optimize for these - // conversions. - optional double current_model_attributed_conversions_from_interactions_rate = - 176; - - // The value of current model attributed conversions from interactions divided - // by the number of ad interactions. This only includes conversion actions - // which include_in_conversions_metric attribute is set to true. If you use - // conversion-based bidding, your bid strategies will optimize for these - // conversions. - optional double - current_model_attributed_conversions_from_interactions_value_per_interaction = - 177; - - // The value of current model attributed conversions. This only includes - // conversion actions which include_in_conversions_metric attribute is set to - // true. If you use conversion-based bidding, your bid strategies will - // optimize for these conversions. - optional double current_model_attributed_conversions_value = 178; - - // The value of current model attributed conversions divided by the cost of ad - // interactions. This only includes conversion actions which - // include_in_conversions_metric attribute is set to true. If you use - // conversion-based bidding, your bid strategies will optimize for these - // conversions. - optional double current_model_attributed_conversions_value_per_cost = 179; - - // How often people engage with your ad after it's shown to them. This is the - // number of ad expansions divided by the number of times your ad is shown. - optional double engagement_rate = 180; - - // The number of engagements. - // An engagement occurs when a viewer expands your Lightbox ad. Also, in the - // future, other ad types may support engagement metrics. - optional int64 engagements = 181; - - // Average lead value based on clicks. - optional double hotel_average_lead_value_micros = 213; - - // Commission bid rate in micros. A 20% commission is represented as - // 200,000. - optional int64 hotel_commission_rate_micros = 256; - - // Expected commission cost. The result of multiplying the commission value - // times the hotel_commission_rate in advertiser currency. - optional double hotel_expected_commission_cost = 257; - - // The average price difference between the price offered by reporting hotel - // advertiser and the cheapest price offered by the competing advertiser. - optional double hotel_price_difference_percentage = 214; - - // The number of impressions that hotel partners could have had given their - // feed performance. - optional int64 hotel_eligible_impressions = 215; - - // The creative historical quality score. - google.ads.googleads.v13.enums.QualityScoreBucketEnum.QualityScoreBucket - historical_creative_quality_score = 80; - - // The quality of historical landing page experience. - google.ads.googleads.v13.enums.QualityScoreBucketEnum.QualityScoreBucket - historical_landing_page_quality_score = 81; - - // The historical quality score. - optional int64 historical_quality_score = 216; - - // The historical search predicted click through rate (CTR). - google.ads.googleads.v13.enums.QualityScoreBucketEnum.QualityScoreBucket - historical_search_predicted_ctr = 83; - - // The number of times the ad was forwarded to someone else as a message. - optional int64 gmail_forwards = 217; - - // The number of times someone has saved your Gmail ad to their inbox as a - // message. - optional int64 gmail_saves = 218; - - // The number of clicks to the landing page on the expanded state of Gmail - // ads. - optional int64 gmail_secondary_clicks = 219; - - // The number of times a store's location-based ad was shown. - // - // This metric applies to feed items only. - optional int64 impressions_from_store_reach = 220; - - // Count of how often your ad has appeared on a search results page or - // website on the Google Network. - optional int64 impressions = 221; - - // How often people interact with your ad after it is shown to them. - // This is the number of interactions divided by the number of times your ad - // is shown. - optional double interaction_rate = 222; - - // The number of interactions. - // An interaction is the main user action associated with an ad format-clicks - // for text and shopping ads, views for video ads, and so on. - optional int64 interactions = 223; - - // The types of payable and free interactions. - repeated google.ads.googleads.v13.enums.InteractionEventTypeEnum - .InteractionEventType interaction_event_types = 100; - - // The percentage of clicks filtered out of your total number of clicks - // (filtered + non-filtered clicks) during the reporting period. - optional double invalid_click_rate = 224; - - // Number of clicks Google considers illegitimate and doesn't charge you for. - optional int64 invalid_clicks = 225; - - // Number of message chats initiated for Click To Message impressions that - // were message tracking eligible. - optional int64 message_chats = 226; - - // Number of Click To Message impressions that were message tracking eligible. - optional int64 message_impressions = 227; - - // Number of message chats initiated (message_chats) divided by the number - // of message impressions (message_impressions). - // Rate at which a user initiates a message chat from an ad impression with - // a messaging option and message tracking enabled. - // Note that this rate can be more than 1.0 for a given message impression. - optional double message_chat_rate = 228; - - // The percentage of mobile clicks that go to a mobile-friendly page. - optional double mobile_friendly_clicks_percentage = 229; - - // Total optimization score uplift of all recommendations. - optional double optimization_score_uplift = 247; - - // URL for the optimization score page in the Google Ads web interface. - // This metric can be selected from `customer` or `campaign`, and can be - // segmented by `segments.recommendation_type`. For example, `SELECT - // metrics.optimization_score_url, segments.recommendation_type FROM - // customer` will return a URL for each unique (customer, recommendation_type) - // combination. - optional string optimization_score_url = 248; - - // The number of times someone clicked your site's listing in the unpaid - // results for a particular query. See the help page at - // https://support.google.com/google-ads/answer/3097241 for details. - optional int64 organic_clicks = 230; - - // The number of times someone clicked your site's listing in the unpaid - // results (organic_clicks) divided by the total number of searches that - // returned pages from your site (organic_queries). See the help page at - // https://support.google.com/google-ads/answer/3097241 for details. - optional double organic_clicks_per_query = 231; - - // The number of listings for your site in the unpaid search results. See the - // help page at https://support.google.com/google-ads/answer/3097241 for - // details. - optional int64 organic_impressions = 232; - - // The number of times a page from your site was listed in the unpaid search - // results (organic_impressions) divided by the number of searches returning - // your site's listing in the unpaid results (organic_queries). See the help - // page at https://support.google.com/google-ads/answer/3097241 for details. - optional double organic_impressions_per_query = 233; - - // The total number of searches that returned your site's listing in the - // unpaid results. See the help page at - // https://support.google.com/google-ads/answer/3097241 for details. - optional int64 organic_queries = 234; - - // Percentage of first-time sessions (from people who had never visited your - // site before). Imported from Google Analytics. - optional double percent_new_visitors = 235; - - // Number of offline phone calls. - optional int64 phone_calls = 236; - - // Number of offline phone impressions. - optional int64 phone_impressions = 237; - - // Number of phone calls received (phone_calls) divided by the number of - // times your phone number is shown (phone_impressions). - optional double phone_through_rate = 238; - - // Your clickthrough rate (Ctr) divided by the average clickthrough rate of - // all advertisers on the websites that show your ads. Measures how your ads - // perform on Display Network sites compared to other ads on the same sites. - optional double relative_ctr = 239; - - // The percentage of the customer's Shopping or Search ad impressions that are - // shown in the most prominent Shopping position. See - // https://support.google.com/google-ads/answer/7501826 - // for details. Any value below 0.1 is reported as 0.0999. - optional double search_absolute_top_impression_share = 136; - - // The number estimating how often your ad wasn't the very first ad above the - // organic search results due to a low budget. Note: Search - // budget lost absolute top impression share is reported in the range of 0 to - // 0.9. Any value above 0.9 is reported as 0.9001. - optional double search_budget_lost_absolute_top_impression_share = 137; - - // The estimated percent of times that your ad was eligible to show on the - // Search Network but didn't because your budget was too low. Note: Search - // budget lost impression share is reported in the range of 0 to 0.9. Any - // value above 0.9 is reported as 0.9001. - optional double search_budget_lost_impression_share = 138; - - // The number estimating how often your ad didn't show anywhere above the - // organic search results due to a low budget. Note: Search - // budget lost top impression share is reported in the range of 0 to 0.9. Any - // value above 0.9 is reported as 0.9001. - optional double search_budget_lost_top_impression_share = 139; - - // The number of clicks you've received on the Search Network - // divided by the estimated number of clicks you were eligible to receive. - // Note: Search click share is reported in the range of 0.1 to 1. Any value - // below 0.1 is reported as 0.0999. - optional double search_click_share = 140; - - // The impressions you've received divided by the estimated number of - // impressions you were eligible to receive on the Search Network for search - // terms that matched your keywords exactly (or were close variants of your - // keyword), regardless of your keyword match types. Note: Search exact match - // impression share is reported in the range of 0.1 to 1. Any value below 0.1 - // is reported as 0.0999. - optional double search_exact_match_impression_share = 141; - - // The impressions you've received on the Search Network divided - // by the estimated number of impressions you were eligible to receive. - // Note: Search impression share is reported in the range of 0.1 to 1. Any - // value below 0.1 is reported as 0.0999. - optional double search_impression_share = 142; - - // The number estimating how often your ad wasn't the very first ad above the - // organic search results due to poor Ad Rank. - // Note: Search rank lost absolute top impression share is reported in the - // range of 0 to 0.9. Any value above 0.9 is reported as 0.9001. - optional double search_rank_lost_absolute_top_impression_share = 143; - - // The estimated percentage of impressions on the Search Network - // that your ads didn't receive due to poor Ad Rank. - // Note: Search rank lost impression share is reported in the range of 0 to - // 0.9. Any value above 0.9 is reported as 0.9001. - optional double search_rank_lost_impression_share = 144; - - // The number estimating how often your ad didn't show anywhere above the - // organic search results due to poor Ad Rank. - // Note: Search rank lost top impression share is reported in the range of 0 - // to 0.9. Any value above 0.9 is reported as 0.9001. - optional double search_rank_lost_top_impression_share = 145; - - // The impressions you've received in the top location (anywhere above the - // organic search results) compared to the estimated number of impressions you - // were eligible to receive in the top location. - // Note: Search top impression share is reported in the range of 0.1 to 1. Any - // value below 0.1 is reported as 0.0999. - optional double search_top_impression_share = 146; - - // A measure of how quickly your page loads after clicks on your mobile ads. - // The score is a range from 1 to 10, 10 being the fastest. - optional int64 speed_score = 147; - - // The percent of your ad impressions that are shown anywhere above the - // organic search results. - optional double top_impression_percentage = 148; - - // The percentage of ad clicks to Accelerated Mobile Pages (AMP) landing pages - // that reach a valid AMP page. - optional double valid_accelerated_mobile_pages_clicks_percentage = 149; - - // The value of all conversions divided by the number of all conversions. - optional double value_per_all_conversions = 150; - - // The value of all conversions divided by the number of all conversions. When - // this column is selected with date, the values in date column means the - // conversion date. Details for the by_conversion_date columns are available - // at https://support.google.com/google-ads/answer/9549009. - optional double value_per_all_conversions_by_conversion_date = 244; - - // The value of conversions divided by the number of conversions. This only - // includes conversion actions which include_in_conversions_metric attribute - // is set to true. If you use conversion-based bidding, your bid strategies - // will optimize for these conversions. - optional double value_per_conversion = 151; - - // The value of conversions divided by the number of conversions. This only - // includes conversion actions which include_in_conversions_metric attribute - // is set to true. If you use conversion-based bidding, your bid strategies - // will optimize for these conversions. When this column is selected with - // date, the values in date column means the conversion date. Details for the - // by_conversion_date columns are available at - // https://support.google.com/google-ads/answer/9549009. - optional double value_per_conversions_by_conversion_date = 245; - - // The value of current model attributed conversions divided by the number of - // the conversions. This only includes conversion actions which - // include_in_conversions_metric attribute is set to true. If you use - // conversion-based bidding, your bid strategies will optimize for these - // conversions. - optional double value_per_current_model_attributed_conversion = 152; - - // Percentage of impressions where the viewer watched all of your video. - optional double video_quartile_p100_rate = 132; - - // Percentage of impressions where the viewer watched 25% of your video. - optional double video_quartile_p25_rate = 133; - - // Percentage of impressions where the viewer watched 50% of your video. - optional double video_quartile_p50_rate = 134; - - // Percentage of impressions where the viewer watched 75% of your video. - optional double video_quartile_p75_rate = 135; - - // The number of views your TrueView video ad receives divided by its number - // of impressions, including thumbnail impressions for TrueView in-display - // ads. - optional double video_view_rate = 153; - - // The number of times your video ads were viewed. - optional int64 video_views = 154; - - // The total number of view-through conversions. - // These happen when a customer sees an image or rich media ad, then later - // completes a conversion on your site without interacting with (for example, - // clicking on) another ad. - optional int64 view_through_conversions = 155; - - // The number of iOS Store Kit Ad Network conversions. - int64 sk_ad_network_conversions = 246; - - // Clicks from properties not owned by the publisher for which the traffic - // the publisher has paid for or acquired through incentivized activity - int64 publisher_purchased_clicks = 264; - - // Clicks from properties for which the traffic the publisher has not paid - // for or acquired through incentivized activity - int64 publisher_organic_clicks = 265; - - // Clicks from traffic which is not identified as "Publisher Purchased" or - // "Publisher Organic" - int64 publisher_unknown_clicks = 266; - - // Number of call button clicks on any location surface after a chargeable ad - // event (click or impression). This measure is coming from Asset based - // location. - optional double all_conversions_from_location_asset_click_to_call = 267; - - // Number of driving directions clicks on any location surface after a - // chargeable ad event (click or impression). This measure is coming - // from Asset based location. - optional double all_conversions_from_location_asset_directions = 268; - - // Number of menu link clicks on any location surface after a chargeable ad - // event (click or impression). This measure is coming from Asset based - // location. - optional double all_conversions_from_location_asset_menu = 269; - - // Number of order clicks on any location surface after a chargeable ad event - // (click or impression). This measure is coming from Asset based - // location. - optional double all_conversions_from_location_asset_order = 270; - - // Number of other types of local action clicks on any location surface after - // a chargeable ad event (click or impression). This measure is coming - // from Asset based location. - optional double all_conversions_from_location_asset_other_engagement = 271; - - // Estimated number of visits to the store after a chargeable - // ad event (click or impression). This measure is coming from Asset - // based location. - optional double all_conversions_from_location_asset_store_visits = 272; - - // Number of website URL clicks on any location surface after a chargeable ad - // event (click or impression). This measure is coming from Asset based - // location. - optional double all_conversions_from_location_asset_website = 273; - - // Number of impressions in which the store location was shown or the location - // was used for targeting. This measure is coming from Asset based - // location. - optional int64 eligible_impressions_from_location_asset_store_reach = 274; - - // Number of call button clicks on any location surface after an impression. - // This measure is coming from Asset based location. - optional double view_through_conversions_from_location_asset_click_to_call = - 275; - - // Number of driving directions clicks on any location surface after an - // impression. This measure is coming from Asset based location. - optional double view_through_conversions_from_location_asset_directions = 276; - - // Number of menu link clicks on any location surface after an impression. - // This measure is coming from Asset based location. - optional double view_through_conversions_from_location_asset_menu = 277; - - // Number of order clicks on any location surface after an impression. This - // measure is coming from Asset based location. - optional double view_through_conversions_from_location_asset_order = 278; - - // Number of other types of local action clicks on any location surface after - // an impression. This measure is coming from Asset based location. - optional double - view_through_conversions_from_location_asset_other_engagement = 279; - - // Estimated number of visits to the store after an impression. - // This measure is coming from Asset based location. - optional double view_through_conversions_from_location_asset_store_visits = - 280; - - // Number of website URL clicks on any location surface after an impression. - // This measure is coming from Asset based location. - optional double view_through_conversions_from_location_asset_website = 281; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/common/offline_user_data.proto b/third_party/googleapis/google/ads/googleads/v13/common/offline_user_data.proto deleted file mode 100644 index 153e14901..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/common/offline_user_data.proto +++ /dev/null @@ -1,336 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/enums/user_identifier_source.proto"; -import "google/api/field_behavior.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "OfflineUserDataProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; - -// Proto file describing offline user data. - -// Address identifier of offline data. -message OfflineUserAddressInfo { - // First name of the user, which is hashed as SHA-256 after normalized - // (Lowercase all characters; Remove any extra spaces before, after, and in - // between). - optional string hashed_first_name = 7; - - // Last name of the user, which is hashed as SHA-256 after normalized (lower - // case only and no punctuation). - optional string hashed_last_name = 8; - - // City of the address. Only accepted for Store Sales and - // ConversionAdjustmentUploadService. - optional string city = 9; - - // State code of the address. Only accepted for Store Sales and - // ConversionAdjustmentUploadService. - optional string state = 10; - - // 2-letter country code in ISO-3166-1 alpha-2 of the user's address. - optional string country_code = 11; - - // Postal code of the user's address. - optional string postal_code = 12; - - // The street address of the user hashed using SHA-256 hash function after - // normalization (lower case only). Only accepted for - // ConversionAdjustmentUploadService. - optional string hashed_street_address = 13; -} - -// User identifying information. -message UserIdentifier { - // Source of the user identifier when the upload is from Store Sales, - // ConversionUploadService, or ConversionAdjustmentUploadService. - google.ads.googleads.v13.enums.UserIdentifierSourceEnum.UserIdentifierSource - user_identifier_source = 6; - - // Exactly one must be specified. For OfflineUserDataJobService, Customer - // Match accepts hashed_email, hashed_phone_number, mobile_id, - // third_party_user_id, and address_info; Store Sales accepts hashed_email, - // hashed_phone_number, third_party_user_id, and address_info. - // ConversionUploadService accepts hashed_email and hashed_phone_number. - // ConversionAdjustmentUploadService accepts hashed_email, - // hashed_phone_number, and address_info. - oneof identifier { - // Hashed email address using SHA-256 hash function after normalization. - // Accepted for Customer Match, Store Sales, ConversionUploadService, and - // ConversionAdjustmentUploadService. - string hashed_email = 7; - - // Hashed phone number using SHA-256 hash function after normalization - // (E164 standard). Accepted for Customer Match, Store Sales, - // ConversionUploadService, and ConversionAdjustmentUploadService. - string hashed_phone_number = 8; - - // Mobile device ID (advertising ID/IDFA). Accepted only for Customer Match. - string mobile_id = 9; - - // Advertiser-assigned user ID for Customer Match upload, or - // third-party-assigned user ID for Store Sales. Accepted only for Customer - // Match and Store Sales. - string third_party_user_id = 10; - - // Address information. Accepted only for Customer Match, Store Sales, and - // ConversionAdjustmentUploadService. - OfflineUserAddressInfo address_info = 5; - } -} - -// Attribute of the store sales transaction. -message TransactionAttribute { - // Timestamp when transaction occurred. Required. - // The format is "YYYY-MM-DD HH:MM:SS[+/-HH:MM]", where [+/-HH:MM] is an - // optional timezone offset from UTC. If the offset is absent, the API will - // use the account's timezone as default. - // Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30+03:00" - optional string transaction_date_time = 8; - - // Transaction amount in micros. Required. - // Transaction amount in micros needs to be greater than 1000. - // If item Attributes are provided, it represents the total value of the - // items, after multiplying the unit price per item by the quantity provided - // in the ItemAttributes. - optional double transaction_amount_micros = 9; - - // Transaction currency code. ISO 4217 three-letter code is used. Required. - optional string currency_code = 10; - - // The resource name of conversion action to report conversions to. - // Required. - optional string conversion_action = 11; - - // Transaction order id. - // Accessible only to customers on the allow-list. - optional string order_id = 12; - - // Store attributes of the transaction. - // Accessible only to customers on the allow-list. - StoreAttribute store_attribute = 6; - - // Value of the custom variable for each transaction. - // Accessible only to customers on the allow-list. - optional string custom_value = 13; - - // Item attributes of the transaction. - ItemAttribute item_attribute = 14; -} - -// Store attributes of the transaction. -message StoreAttribute { - // Store code from - // https://support.google.com/business/answer/3370250#storecode - optional string store_code = 2; -} - -// Item attributes of the transaction. -message ItemAttribute { - // A unique identifier of a product. It can be either the Merchant Center Item - // ID or GTIN (Global Trade Item Number). - string item_id = 1; - - // ID of the Merchant Center Account. - optional int64 merchant_id = 2; - - // Common Locale Data Repository (CLDR) territory code of the country - // associated with the feed where your items are uploaded. See - // https://developers.google.com/google-ads/api/reference/data/codes-formats#country-codes - // for more information. - string country_code = 3; - - // ISO 639-1 code of the language associated with the feed where your items - // are uploaded - string language_code = 4; - - // The number of items sold. Defaults to 1 if not set. - int64 quantity = 5; -} - -// User data holding user identifiers and attributes. -message UserData { - // User identification info. Required. - repeated UserIdentifier user_identifiers = 1; - - // Additional transactions/attributes associated with the user. - // Required when updating store sales data. - TransactionAttribute transaction_attribute = 2; - - // Additional attributes associated with the user. Required when updating - // customer match attributes. These have an expiration of 540 days. - UserAttribute user_attribute = 3; -} - -// User attribute, can only be used with CUSTOMER_MATCH_WITH_ATTRIBUTES job -// type. -message UserAttribute { - // Advertiser defined lifetime value for the user. - optional int64 lifetime_value_micros = 1; - - // Advertiser defined lifetime value bucket for the user. The valid range for - // a lifetime value bucket is from 1 (low) to 10 (high), except for remove - // operation where 0 will also be accepted. - optional int32 lifetime_value_bucket = 2; - - // Timestamp of the last purchase made by the user. - // The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an - // optional timezone offset from UTC. If the offset is absent, the API will - // use the account's timezone as default. - string last_purchase_date_time = 3; - - // Advertiser defined average number of purchases that are made by the user in - // a 30 day period. - int32 average_purchase_count = 4; - - // Advertiser defined average purchase value in micros for the user. - int64 average_purchase_value_micros = 5; - - // Timestamp when the user was acquired. - // The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an - // optional timezone offset from UTC. If the offset is absent, the API will - // use the account's timezone as default. - string acquisition_date_time = 6; - - // The shopping loyalty related data. Shopping utilizes this data to provide - // users with a better experience. Accessible only to merchants on the - // allow-list with the user's consent. - optional ShoppingLoyalty shopping_loyalty = 7; - - // Optional. Advertiser defined lifecycle stage for the user. The accepted - // values are "Lead", "Active" and "Churned". - string lifecycle_stage = 8 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. Timestamp of the first purchase made by the user. - // The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an - // optional timezone offset from UTC. If the offset is absent, the API will - // use the account's timezone as default. - string first_purchase_date_time = 9 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. Advertiser defined events and their attributes. All the values in - // the nested fields are required. Currently this field is in beta. - repeated EventAttribute event_attribute = 10 - [(google.api.field_behavior) = OPTIONAL]; -} - -// Advertiser defined events and their attributes. All the values in the -// nested fields are required. -message EventAttribute { - // Required. Advertiser defined event to be used for remarketing. The accepted - // values are "Viewed", "Cart", "Purchased" and "Recommended". - string event = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. Timestamp at which the event happened. - // The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an - // optional timezone offset from UTC. If the offset is absent, the API will - // use the account's timezone as default. - string event_date_time = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. Item attributes of the event. - repeated EventItemAttribute item_attribute = 3 - [(google.api.field_behavior) = REQUIRED]; -} - -// Event Item attributes of the Customer Match. -message EventItemAttribute { - // Optional. A unique identifier of a product. It can be either the Merchant - // Center Item ID or GTIN (Global Trade Item Number). - string item_id = 1 [(google.api.field_behavior) = OPTIONAL]; -} - -// The shopping loyalty related data. Shopping utilizes this data to provide -// users with a better experience. -// Accessible only to merchants on the allow-list. -message ShoppingLoyalty { - // The membership tier. It is a free-form string as each merchant may have - // their own loyalty system. For example, it could be a number from 1 to 10, - // or a string such as "Golden" or "Silver", or even empty string "". - optional string loyalty_tier = 1; -} - -// Metadata for customer match user list. -message CustomerMatchUserListMetadata { - // The resource name of remarketing list to update data. - // Required for job of CUSTOMER_MATCH_USER_LIST type. - optional string user_list = 2; -} - -// Metadata for Store Sales Direct. -message StoreSalesMetadata { - // This is the fraction of all transactions that are identifiable (for - // example, associated with any form of customer information). Required. The - // fraction needs to be between 0 and 1 (excluding 0). - optional double loyalty_fraction = 5; - - // This is the ratio of sales being uploaded compared to the overall sales - // that can be associated with a customer. Required. - // The fraction needs to be between 0 and 1 (excluding 0). For example, if you - // upload half the sales that you are able to associate with a customer, this - // would be 0.5. - optional double transaction_upload_fraction = 6; - - // Name of the store sales custom variable key. A predefined key that - // can be applied to the transaction and then later used for custom - // segmentation in reporting. - // Accessible only to customers on the allow-list. - optional string custom_key = 7; - - // Metadata for a third party Store Sales upload. - StoreSalesThirdPartyMetadata third_party_metadata = 3; -} - -// Metadata for a third party Store Sales. -// This product is only for customers on the allow-list. Contact your -// Google business development representative for details on the upload -// configuration. -message StoreSalesThirdPartyMetadata { - // Time the advertiser uploaded the data to the partner. Required. - // The format is "YYYY-MM-DD HH:MM:SS". - // Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - optional string advertiser_upload_date_time = 7; - - // The fraction of transactions that are valid. Invalid transactions may - // include invalid formats or values. - // Required. - // The fraction needs to be between 0 and 1 (excluding 0). - optional double valid_transaction_fraction = 8; - - // The fraction of valid transactions that are matched to a third party - // assigned user ID on the partner side. - // Required. - // The fraction needs to be between 0 and 1 (excluding 0). - optional double partner_match_fraction = 9; - - // The fraction of valid transactions that are uploaded by the partner to - // Google. - // Required. - // The fraction needs to be between 0 and 1 (excluding 0). - optional double partner_upload_fraction = 10; - - // Version of partner IDs to be used for uploads. Required. - optional string bridge_map_version_id = 11; - - // ID of the third party partner updating the transaction feed. - optional int64 partner_id = 12; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/common/policy.proto b/third_party/googleapis/google/ads/googleads/v13/common/policy.proto deleted file mode 100644 index 740ad72f0..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/common/policy.proto +++ /dev/null @@ -1,225 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/enums/policy_topic_entry_type.proto"; -import "google/ads/googleads/v13/enums/policy_topic_evidence_destination_mismatch_url_type.proto"; -import "google/ads/googleads/v13/enums/policy_topic_evidence_destination_not_working_device.proto"; -import "google/ads/googleads/v13/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "PolicyProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; - -// Proto file describing policy information. - -// Key of the violation. The key is used for referring to a violation -// when filing an exemption request. -message PolicyViolationKey { - // Unique ID of the violated policy. - optional string policy_name = 3; - - // The text that violates the policy if specified. - // Otherwise, refers to the policy in general - // (for example, when requesting to be exempt from the whole policy). - // If not specified for criterion exemptions, the whole policy is implied. - // Must be specified for ad exemptions. - optional string violating_text = 4; -} - -// Parameter for controlling how policy exemption is done. -message PolicyValidationParameter { - // The list of policy topics that should not cause a PolicyFindingError to - // be reported. This field is currently only compatible with Enhanced Text Ad. - // It corresponds to the PolicyTopicEntry.topic field. - // - // Resources violating these policies will be saved, but will not be eligible - // to serve. They may begin serving at a later time due to a change in - // policies, re-review of the resource, or a change in advertiser - // certificates. - repeated string ignorable_policy_topics = 3; - - // The list of policy violation keys that should not cause a - // PolicyViolationError to be reported. Not all policy violations are - // exemptable, refer to the is_exemptible field in the returned - // PolicyViolationError. - // - // Resources violating these polices will be saved, but will not be eligible - // to serve. They may begin serving at a later time due to a change in - // policies, re-review of the resource, or a change in advertiser - // certificates. - repeated PolicyViolationKey exempt_policy_violation_keys = 2; -} - -// Policy finding attached to a resource (for example, alcohol policy associated -// with a site that sells alcohol). -// -// Each PolicyTopicEntry has a topic that indicates the specific ads policy -// the entry is about and a type to indicate the effect that the entry will have -// on serving. It may optionally have one or more evidences that indicate the -// reason for the finding. It may also optionally have one or more constraints -// that provide details about how serving may be restricted. -message PolicyTopicEntry { - // Policy topic this finding refers to. For example, "ALCOHOL", - // "TRADEMARKS_IN_AD_TEXT", or "DESTINATION_NOT_WORKING". The set of possible - // policy topics is not fixed for a particular API version and may change - // at any time. - optional string topic = 5; - - // Describes the negative or positive effect this policy will have on serving. - google.ads.googleads.v13.enums.PolicyTopicEntryTypeEnum.PolicyTopicEntryType - type = 2; - - // Additional information that explains policy finding - // (for example, the brand name for a trademark finding). - repeated PolicyTopicEvidence evidences = 3; - - // Indicates how serving of this resource may be affected (for example, not - // serving in a country). - repeated PolicyTopicConstraint constraints = 4; -} - -// Additional information that explains a policy finding. -message PolicyTopicEvidence { - // A list of fragments of text that violated a policy. - message TextList { - // The fragments of text from the resource that caused the policy finding. - repeated string texts = 2; - } - - // A list of websites that caused a policy finding. Used for - // ONE_WEBSITE_PER_AD_GROUP policy topic, for example. In case there are more - // than five websites, only the top five (those that appear in resources the - // most) will be listed here. - message WebsiteList { - // Websites that caused the policy finding. - repeated string websites = 2; - } - - // A list of strings found in a destination page that caused a policy - // finding. - message DestinationTextList { - // List of text found in the resource's destination page. - repeated string destination_texts = 2; - } - - // Evidence of mismatches between the URLs of a resource. - message DestinationMismatch { - // The set of URLs that did not match each other. - repeated google.ads.googleads.v13.enums - .PolicyTopicEvidenceDestinationMismatchUrlTypeEnum - .PolicyTopicEvidenceDestinationMismatchUrlType url_types = 1; - } - - // Evidence details when the destination is returning an HTTP error - // code or isn't functional in all locations for commonly used devices. - message DestinationNotWorking { - // The full URL that didn't work. - optional string expanded_url = 7; - - // The type of device that failed to load the URL. - google.ads.googleads.v13.enums - .PolicyTopicEvidenceDestinationNotWorkingDeviceEnum - .PolicyTopicEvidenceDestinationNotWorkingDevice device = 4; - - // The time the URL was last checked. - // The format is "YYYY-MM-DD HH:MM:SS". - // Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - optional string last_checked_date_time = 8; - - // Indicates the reason of the DESTINATION_NOT_WORKING policy finding. - oneof reason { - // The type of DNS error. - google.ads.googleads.v13.enums - .PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum - .PolicyTopicEvidenceDestinationNotWorkingDnsErrorType dns_error_type = - 1; - - // The HTTP error code. - int64 http_error_code = 6; - } - } - - // Specific evidence information depending on the evidence type. - oneof value { - // List of websites linked with this resource. - WebsiteList website_list = 3; - - // List of evidence found in the text of a resource. - TextList text_list = 4; - - // The language the resource was detected to be written in. - // This is an IETF language tag such as "en-US". - string language_code = 9; - - // The text in the destination of the resource that is causing a policy - // finding. - DestinationTextList destination_text_list = 6; - - // Mismatch between the destinations of a resource's URLs. - DestinationMismatch destination_mismatch = 7; - - // Details when the destination is returning an HTTP error code or isn't - // functional in all locations for commonly used devices. - DestinationNotWorking destination_not_working = 8; - } -} - -// Describes the effect on serving that a policy topic entry will have. -message PolicyTopicConstraint { - // A list of countries where a resource's serving is constrained. - message CountryConstraintList { - // Total number of countries targeted by the resource. - optional int32 total_targeted_countries = 3; - - // Countries in which serving is restricted. - repeated CountryConstraint countries = 2; - } - - // Indicates that a policy topic was constrained due to disapproval of the - // website for reseller purposes. - message ResellerConstraint {} - - // Indicates that a resource's ability to serve in a particular country is - // constrained. - message CountryConstraint { - // Geo target constant resource name of the country in which serving is - // constrained. - optional string country_criterion = 2; - } - - // Specific information about the constraint. - oneof value { - // Countries where the resource cannot serve. - CountryConstraintList country_constraint_list = 1; - - // Reseller constraint. - ResellerConstraint reseller_constraint = 2; - - // Countries where a certificate is required for serving. - CountryConstraintList certificate_missing_in_country_list = 3; - - // Countries where the resource's domain is not covered by the - // certificates associated with it. - CountryConstraintList certificate_domain_mismatch_in_country_list = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/common/policy_summary.proto b/third_party/googleapis/google/ads/googleads/v13/common/policy_summary.proto deleted file mode 100644 index 5f0edc9c0..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/common/policy_summary.proto +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/common/policy.proto"; -import "google/ads/googleads/v13/enums/policy_approval_status.proto"; -import "google/ads/googleads/v13/enums/policy_review_status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "PolicySummaryProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; - -// Proto file describing policy summary. - -// Contains policy summary information. -message PolicySummary { - // The list of policy findings. - repeated PolicyTopicEntry policy_topic_entries = 1; - - // Where in the review process the resource is. - google.ads.googleads.v13.enums.PolicyReviewStatusEnum.PolicyReviewStatus - review_status = 2; - - // The overall approval status, which is calculated based on - // the status of its individual policy topic entries. - google.ads.googleads.v13.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus - approval_status = 3; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/common/real_time_bidding_setting.proto b/third_party/googleapis/google/ads/googleads/v13/common/real_time_bidding_setting.proto deleted file mode 100644 index 9c90f7edd..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/common/real_time_bidding_setting.proto +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.common; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "RealTimeBiddingSettingProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; - -// Proto file describing RealTimeBiddingSetting - -// Settings for Real-Time Bidding, a feature only available for campaigns -// targeting the Ad Exchange network. -message RealTimeBiddingSetting { - // Whether the campaign is opted in to real-time bidding. - optional bool opt_in = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/common/segments.proto b/third_party/googleapis/google/ads/googleads/v13/common/segments.proto deleted file mode 100644 index 64a38f61f..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/common/segments.proto +++ /dev/null @@ -1,436 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/common/criteria.proto"; -import "google/ads/googleads/v13/enums/ad_destination_type.proto"; -import "google/ads/googleads/v13/enums/ad_network_type.proto"; -import "google/ads/googleads/v13/enums/budget_campaign_association_status.proto"; -import "google/ads/googleads/v13/enums/click_type.proto"; -import "google/ads/googleads/v13/enums/conversion_action_category.proto"; -import "google/ads/googleads/v13/enums/conversion_attribution_event_type.proto"; -import "google/ads/googleads/v13/enums/conversion_lag_bucket.proto"; -import "google/ads/googleads/v13/enums/conversion_or_adjustment_lag_bucket.proto"; -import "google/ads/googleads/v13/enums/conversion_value_rule_primary_dimension.proto"; -import "google/ads/googleads/v13/enums/day_of_week.proto"; -import "google/ads/googleads/v13/enums/device.proto"; -import "google/ads/googleads/v13/enums/external_conversion_source.proto"; -import "google/ads/googleads/v13/enums/hotel_date_selection_type.proto"; -import "google/ads/googleads/v13/enums/hotel_price_bucket.proto"; -import "google/ads/googleads/v13/enums/hotel_rate_type.proto"; -import "google/ads/googleads/v13/enums/month_of_year.proto"; -import "google/ads/googleads/v13/enums/placeholder_type.proto"; -import "google/ads/googleads/v13/enums/product_channel.proto"; -import "google/ads/googleads/v13/enums/product_channel_exclusivity.proto"; -import "google/ads/googleads/v13/enums/product_condition.proto"; -import "google/ads/googleads/v13/enums/recommendation_type.proto"; -import "google/ads/googleads/v13/enums/search_engine_results_page_type.proto"; -import "google/ads/googleads/v13/enums/search_term_match_type.proto"; -import "google/ads/googleads/v13/enums/sk_ad_network_ad_event_type.proto"; -import "google/ads/googleads/v13/enums/sk_ad_network_attribution_credit.proto"; -import "google/ads/googleads/v13/enums/sk_ad_network_user_type.proto"; -import "google/ads/googleads/v13/enums/slot.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "SegmentsProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; - -// Proto file describing segment only fields. - -// Segment only fields. -message Segments { - // Activity account ID. - optional int64 activity_account_id = 148; - - // Activity rating. - optional int64 activity_rating = 149; - - // Advertiser supplied activity ID. - optional string external_activity_id = 150; - - // Ad Destination type. - google.ads.googleads.v13.enums.AdDestinationTypeEnum.AdDestinationType - ad_destination_type = 136; - - // Ad network type. - google.ads.googleads.v13.enums.AdNetworkTypeEnum.AdNetworkType - ad_network_type = 3; - - // Domain (visible URL) of a participant in the Auction Insights report. - optional string auction_insight_domain = 145; - - // Budget campaign association status. - BudgetCampaignAssociationStatus budget_campaign_association_status = 134; - - // Click type. - google.ads.googleads.v13.enums.ClickTypeEnum.ClickType click_type = 26; - - // Resource name of the conversion action. - optional string conversion_action = 113 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionAction" - }]; - - // Conversion action category. - google.ads.googleads.v13.enums.ConversionActionCategoryEnum - .ConversionActionCategory conversion_action_category = 53; - - // Conversion action name. - optional string conversion_action_name = 114; - - // This segments your conversion columns by the original conversion and - // conversion value versus the delta if conversions were adjusted. False row - // has the data as originally stated; While true row has the delta between - // data now and the data as originally stated. Summing the two together - // results post-adjustment data. - optional bool conversion_adjustment = 115; - - // Conversion attribution event type. - google.ads.googleads.v13.enums.ConversionAttributionEventTypeEnum - .ConversionAttributionEventType conversion_attribution_event_type = 2; - - // An enum value representing the number of days between the impression and - // the conversion. - google.ads.googleads.v13.enums.ConversionLagBucketEnum.ConversionLagBucket - conversion_lag_bucket = 50; - - // An enum value representing the number of days between the impression and - // the conversion or between the impression and adjustments to the conversion. - google.ads.googleads.v13.enums.ConversionOrAdjustmentLagBucketEnum - .ConversionOrAdjustmentLagBucket conversion_or_adjustment_lag_bucket = 51; - - // Date to which metrics apply. - // yyyy-MM-dd format, for example, 2018-04-17. - optional string date = 79; - - // Day of the week, for example, MONDAY. - google.ads.googleads.v13.enums.DayOfWeekEnum.DayOfWeek day_of_week = 5; - - // Device to which metrics apply. - google.ads.googleads.v13.enums.DeviceEnum.Device device = 1; - - // External conversion source. - google.ads.googleads.v13.enums.ExternalConversionSourceEnum - .ExternalConversionSource external_conversion_source = 55; - - // Resource name of the geo target constant that represents an airport. - optional string geo_target_airport = 116; - - // Resource name of the geo target constant that represents a canton. - optional string geo_target_canton = 117; - - // Resource name of the geo target constant that represents a city. - optional string geo_target_city = 118; - - // Resource name of the geo target constant that represents a country. - optional string geo_target_country = 119; - - // Resource name of the geo target constant that represents a county. - optional string geo_target_county = 120; - - // Resource name of the geo target constant that represents a district. - optional string geo_target_district = 121; - - // Resource name of the geo target constant that represents a metro. - optional string geo_target_metro = 122; - - // Resource name of the geo target constant that represents the most - // specific location. - optional string geo_target_most_specific_location = 123; - - // Resource name of the geo target constant that represents a postal code. - optional string geo_target_postal_code = 124; - - // Resource name of the geo target constant that represents a province. - optional string geo_target_province = 125; - - // Resource name of the geo target constant that represents a region. - optional string geo_target_region = 126; - - // Resource name of the geo target constant that represents a state. - optional string geo_target_state = 127; - - // Hotel booking window in days. - optional int64 hotel_booking_window_days = 135; - - // Hotel center ID. - optional int64 hotel_center_id = 80; - - // Hotel check-in date. Formatted as yyyy-MM-dd. - optional string hotel_check_in_date = 81; - - // Hotel check-in day of week. - google.ads.googleads.v13.enums.DayOfWeekEnum.DayOfWeek - hotel_check_in_day_of_week = 9; - - // Hotel city. - optional string hotel_city = 82; - - // Hotel class. - optional int32 hotel_class = 83; - - // Hotel country. - optional string hotel_country = 84; - - // Hotel date selection type. - google.ads.googleads.v13.enums.HotelDateSelectionTypeEnum - .HotelDateSelectionType hotel_date_selection_type = 13; - - // Hotel length of stay. - optional int32 hotel_length_of_stay = 85; - - // Hotel rate rule ID. - optional string hotel_rate_rule_id = 86; - - // Hotel rate type. - google.ads.googleads.v13.enums.HotelRateTypeEnum.HotelRateType - hotel_rate_type = 74; - - // Hotel price bucket. - google.ads.googleads.v13.enums.HotelPriceBucketEnum.HotelPriceBucket - hotel_price_bucket = 78; - - // Hotel state. - optional string hotel_state = 87; - - // Hour of day as a number between 0 and 23, inclusive. - optional int32 hour = 88; - - // Only used with feed item metrics. - // Indicates whether the interaction metrics occurred on the feed item itself - // or a different extension or ad unit. - optional bool interaction_on_this_extension = 89; - - // Keyword criterion. - Keyword keyword = 61; - - // Month as represented by the date of the first day of a month. Formatted as - // yyyy-MM-dd. - optional string month = 90; - - // Month of the year, for example, January. - google.ads.googleads.v13.enums.MonthOfYearEnum.MonthOfYear month_of_year = 18; - - // Partner hotel ID. - optional string partner_hotel_id = 91; - - // Placeholder type. This is only used with feed item metrics. - google.ads.googleads.v13.enums.PlaceholderTypeEnum.PlaceholderType - placeholder_type = 20; - - // Aggregator ID of the product. - optional int64 product_aggregator_id = 132; - - // Bidding category (level 1) of the product. - optional string product_bidding_category_level1 = 92; - - // Bidding category (level 2) of the product. - optional string product_bidding_category_level2 = 93; - - // Bidding category (level 3) of the product. - optional string product_bidding_category_level3 = 94; - - // Bidding category (level 4) of the product. - optional string product_bidding_category_level4 = 95; - - // Bidding category (level 5) of the product. - optional string product_bidding_category_level5 = 96; - - // Brand of the product. - optional string product_brand = 97; - - // Channel of the product. - google.ads.googleads.v13.enums.ProductChannelEnum.ProductChannel - product_channel = 30; - - // Channel exclusivity of the product. - google.ads.googleads.v13.enums.ProductChannelExclusivityEnum - .ProductChannelExclusivity product_channel_exclusivity = 31; - - // Condition of the product. - google.ads.googleads.v13.enums.ProductConditionEnum.ProductCondition - product_condition = 32; - - // Resource name of the geo target constant for the country of sale of the - // product. - optional string product_country = 98; - - // Custom attribute 0 of the product. - optional string product_custom_attribute0 = 99; - - // Custom attribute 1 of the product. - optional string product_custom_attribute1 = 100; - - // Custom attribute 2 of the product. - optional string product_custom_attribute2 = 101; - - // Custom attribute 3 of the product. - optional string product_custom_attribute3 = 102; - - // Custom attribute 4 of the product. - optional string product_custom_attribute4 = 103; - - // Feed label of the product. - optional string product_feed_label = 147; - - // Item ID of the product. - optional string product_item_id = 104; - - // Resource name of the language constant for the language of the product. - optional string product_language = 105; - - // Merchant ID of the product. - optional int64 product_merchant_id = 133; - - // Store ID of the product. - optional string product_store_id = 106; - - // Title of the product. - optional string product_title = 107; - - // Type (level 1) of the product. - optional string product_type_l1 = 108; - - // Type (level 2) of the product. - optional string product_type_l2 = 109; - - // Type (level 3) of the product. - optional string product_type_l3 = 110; - - // Type (level 4) of the product. - optional string product_type_l4 = 111; - - // Type (level 5) of the product. - optional string product_type_l5 = 112; - - // Quarter as represented by the date of the first day of a quarter. - // Uses the calendar year for quarters, for example, the second quarter of - // 2018 starts on 2018-04-01. Formatted as yyyy-MM-dd. - optional string quarter = 128; - - // Recommendation type. - google.ads.googleads.v13.enums.RecommendationTypeEnum.RecommendationType - recommendation_type = 140; - - // Type of the search engine results page. - google.ads.googleads.v13.enums.SearchEngineResultsPageTypeEnum - .SearchEngineResultsPageType search_engine_results_page_type = 70; - - // Match type of the keyword that triggered the ad, including variants. - google.ads.googleads.v13.enums.SearchTermMatchTypeEnum.SearchTermMatchType - search_term_match_type = 22; - - // Position of the ad. - google.ads.googleads.v13.enums.SlotEnum.Slot slot = 23; - - // Primary dimension of applied conversion value rules. - // NO_RULE_APPLIED shows the total recorded value of conversions that - // do not have a value rule applied. - // ORIGINAL shows the original value of conversions to which a value rule - // has been applied. - // GEO_LOCATION, DEVICE, AUDIENCE show the net adjustment after value - // rules were applied. - google.ads.googleads.v13.enums.ConversionValueRulePrimaryDimensionEnum - .ConversionValueRulePrimaryDimension - conversion_value_rule_primary_dimension = 138; - - // Resource name of the ad group criterion that represents webpage criterion. - optional string webpage = 129; - - // Week as defined as Monday through Sunday, and represented by the date of - // Monday. Formatted as yyyy-MM-dd. - optional string week = 130; - - // Year, formatted as yyyy. - optional int32 year = 131; - - // iOS Store Kit Ad Network conversion value. - // Null value means this segment is not applicable, for example, non-iOS - // campaign. - optional int64 sk_ad_network_conversion_value = 137; - - // iOS Store Kit Ad Network user type. - google.ads.googleads.v13.enums.SkAdNetworkUserTypeEnum.SkAdNetworkUserType - sk_ad_network_user_type = 141; - - // iOS Store Kit Ad Network ad event type. - google.ads.googleads.v13.enums.SkAdNetworkAdEventTypeEnum - .SkAdNetworkAdEventType sk_ad_network_ad_event_type = 142; - - // App where the ad that drove the iOS Store Kit Ad Network install was - // shown. Null value means this segment is not applicable, for example, - // non-iOS campaign, or was not present in any postbacks sent by Apple. - optional SkAdNetworkSourceApp sk_ad_network_source_app = 143; - - // iOS Store Kit Ad Network attribution credit - google.ads.googleads.v13.enums.SkAdNetworkAttributionCreditEnum - .SkAdNetworkAttributionCredit sk_ad_network_attribution_credit = 144; - - // Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. - // Indicates whether the interaction metrics occurred on the asset itself - // or a different asset or ad unit. - // Interactions (for example, clicks) are counted across all the parts of the - // served ad (for example, Ad itself and other components like Sitelinks) when - // they are served together. When interaction_on_this_asset is true, it means - // the interactions are on this specific asset and when - // interaction_on_this_asset is false, it means the interactions is not on - // this specific asset but on other parts of the served ad this asset is - // served with. - optional AssetInteractionTarget asset_interaction_target = 139; -} - -// A Keyword criterion segment. -message Keyword { - // The AdGroupCriterion resource name. - optional string ad_group_criterion = 3; - - // Keyword info. - KeywordInfo info = 2; -} - -// A BudgetCampaignAssociationStatus segment. -message BudgetCampaignAssociationStatus { - // The campaign resource name. - optional string campaign = 1; - - // Budget campaign association status. - google.ads.googleads.v13.enums.BudgetCampaignAssociationStatusEnum - .BudgetCampaignAssociationStatus status = 2; -} - -// An AssetInteractionTarget segment. -message AssetInteractionTarget { - // The asset resource name. - string asset = 1; - - // Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. - // Indicates whether the interaction metrics occurred on the asset itself or a - // different asset or ad unit. - bool interaction_on_this_asset = 2; -} - -// A SkAdNetworkSourceApp segment. -message SkAdNetworkSourceApp { - // App id where the ad that drove the iOS Store Kit Ad Network install was - // shown. - optional string sk_ad_network_source_app_id = 1; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/common/simulation.proto b/third_party/googleapis/google/ads/googleads/v13/common/simulation.proto deleted file mode 100644 index 9a1e3fb96..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/common/simulation.proto +++ /dev/null @@ -1,356 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.common; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "SimulationProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; - -// Proto file describing simulation points. - -// A container for simulation points for simulations of type BID_MODIFIER. -message BidModifierSimulationPointList { - // Projected metrics for a series of bid modifier amounts. - repeated BidModifierSimulationPoint points = 1; -} - -// A container for simulation points for simulations of type CPC_BID. -message CpcBidSimulationPointList { - // Projected metrics for a series of CPC bid amounts. - repeated CpcBidSimulationPoint points = 1; -} - -// A container for simulation points for simulations of type CPV_BID. -message CpvBidSimulationPointList { - // Projected metrics for a series of CPV bid amounts. - repeated CpvBidSimulationPoint points = 1; -} - -// A container for simulation points for simulations of type TARGET_CPA. -message TargetCpaSimulationPointList { - // Projected metrics for a series of target CPA amounts. - repeated TargetCpaSimulationPoint points = 1; -} - -// A container for simulation points for simulations of type TARGET_ROAS. -message TargetRoasSimulationPointList { - // Projected metrics for a series of target ROAS amounts. - repeated TargetRoasSimulationPoint points = 1; -} - -// A container for simulation points for simulations of type PERCENT_CPC_BID. -message PercentCpcBidSimulationPointList { - // Projected metrics for a series of percent CPC bid amounts. - repeated PercentCpcBidSimulationPoint points = 1; -} - -// A container for simulation points for simulations of type BUDGET. -message BudgetSimulationPointList { - // Projected metrics for a series of budget amounts. - repeated BudgetSimulationPoint points = 1; -} - -// A container for simulation points for simulations of type -// TARGET_IMPRESSION_SHARE. -message TargetImpressionShareSimulationPointList { - // Projected metrics for a specific target impression share value. - repeated TargetImpressionShareSimulationPoint points = 1; -} - -// Projected metrics for a specific bid modifier amount. -message BidModifierSimulationPoint { - // The simulated bid modifier upon which projected metrics are based. - optional double bid_modifier = 15; - - // Projected number of biddable conversions. - // Only search advertising channel type supports this field. - optional double biddable_conversions = 16; - - // Projected total value of biddable conversions. - // Only search advertising channel type supports this field. - optional double biddable_conversions_value = 17; - - // Projected number of clicks. - optional int64 clicks = 18; - - // Projected cost in micros. - optional int64 cost_micros = 19; - - // Projected number of impressions. - optional int64 impressions = 20; - - // Projected number of top slot impressions. - // Only search advertising channel type supports this field. - optional int64 top_slot_impressions = 21; - - // Projected number of biddable conversions for the parent resource. - // Only search advertising channel type supports this field. - optional double parent_biddable_conversions = 22; - - // Projected total value of biddable conversions for the parent resource. - // Only search advertising channel type supports this field. - optional double parent_biddable_conversions_value = 23; - - // Projected number of clicks for the parent resource. - optional int64 parent_clicks = 24; - - // Projected cost in micros for the parent resource. - optional int64 parent_cost_micros = 25; - - // Projected number of impressions for the parent resource. - optional int64 parent_impressions = 26; - - // Projected number of top slot impressions for the parent resource. - // Only search advertising channel type supports this field. - optional int64 parent_top_slot_impressions = 27; - - // Projected minimum daily budget that must be available to the parent - // resource to realize this simulation. - optional int64 parent_required_budget_micros = 28; -} - -// Projected metrics for a specific CPC bid amount. -message CpcBidSimulationPoint { - // Projected required daily budget that the advertiser must set in order to - // receive the estimated traffic, in micros of advertiser currency. - int64 required_budget_amount_micros = 17; - - // Projected number of biddable conversions. - optional double biddable_conversions = 9; - - // Projected total value of biddable conversions. - optional double biddable_conversions_value = 10; - - // Projected number of clicks. - optional int64 clicks = 11; - - // Projected cost in micros. - optional int64 cost_micros = 12; - - // Projected number of impressions. - optional int64 impressions = 13; - - // Projected number of top slot impressions. - // Only search advertising channel type supports this field. - optional int64 top_slot_impressions = 14; - - // When SimulationModificationMethod = UNIFORM or DEFAULT, - // cpc_bid_micros is set. - // When SimulationModificationMethod = SCALING, - // cpc_bid_scaling_modifier is set. - oneof cpc_simulation_key_value { - // The simulated CPC bid upon which projected metrics are based. - int64 cpc_bid_micros = 15; - - // The simulated scaling modifier upon which projected metrics are based. - // All CPC bids relevant to the simulated entity are scaled by this - // modifier. - double cpc_bid_scaling_modifier = 16; - } -} - -// Projected metrics for a specific CPV bid amount. -message CpvBidSimulationPoint { - // The simulated CPV bid upon which projected metrics are based. - optional int64 cpv_bid_micros = 5; - - // Projected cost in micros. - optional int64 cost_micros = 6; - - // Projected number of impressions. - optional int64 impressions = 7; - - // Projected number of views. - optional int64 views = 8; -} - -// Projected metrics for a specific target CPA amount. -message TargetCpaSimulationPoint { - // Projected required daily budget that the advertiser must set in order to - // receive the estimated traffic, in micros of advertiser currency. - int64 required_budget_amount_micros = 19; - - // Projected number of biddable conversions. - optional double biddable_conversions = 9; - - // Projected total value of biddable conversions. - optional double biddable_conversions_value = 10; - - // Projected number of app installs. - double app_installs = 15; - - // Projected number of in-app actions. - double in_app_actions = 16; - - // Projected number of clicks. - optional int64 clicks = 11; - - // Projected cost in micros. - optional int64 cost_micros = 12; - - // Projected number of impressions. - optional int64 impressions = 13; - - // Projected number of top slot impressions. - // Only search advertising channel type supports this field. - optional int64 top_slot_impressions = 14; - - // When SimulationModificationMethod = UNIFORM or DEFAULT, - // target_cpa_micros is set. - // When SimulationModificationMethod = SCALING, - // target_cpa_scaling_modifier is set. - oneof target_cpa_simulation_key_value { - // The simulated target CPA upon which projected metrics are based. - int64 target_cpa_micros = 17; - - // The simulated scaling modifier upon which projected metrics are based. - // All CPA targets relevant to the simulated entity are scaled by this - // modifier. - double target_cpa_scaling_modifier = 18; - } -} - -// Projected metrics for a specific target ROAS amount. -message TargetRoasSimulationPoint { - // The simulated target ROAS upon which projected metrics are based. - optional double target_roas = 8; - - // Projected required daily budget that the advertiser must set in order to - // receive the estimated traffic, in micros of advertiser currency. - int64 required_budget_amount_micros = 15; - - // Projected number of biddable conversions. - optional double biddable_conversions = 9; - - // Projected total value of biddable conversions. - optional double biddable_conversions_value = 10; - - // Projected number of clicks. - optional int64 clicks = 11; - - // Projected cost in micros. - optional int64 cost_micros = 12; - - // Projected number of impressions. - optional int64 impressions = 13; - - // Projected number of top slot impressions. - // Only Search advertising channel type supports this field. - optional int64 top_slot_impressions = 14; -} - -// Projected metrics for a specific percent CPC amount. Only Hotel advertising -// channel type supports this field. -message PercentCpcBidSimulationPoint { - // The simulated percent CPC upon which projected metrics are based. Percent - // CPC expressed as fraction of the advertised price for some good or service. - // The value stored here is 1,000,000 * [fraction]. - optional int64 percent_cpc_bid_micros = 1; - - // Projected number of biddable conversions. - optional double biddable_conversions = 2; - - // Projected total value of biddable conversions in local currency. - optional double biddable_conversions_value = 3; - - // Projected number of clicks. - optional int64 clicks = 4; - - // Projected cost in micros. - optional int64 cost_micros = 5; - - // Projected number of impressions. - optional int64 impressions = 6; - - // Projected number of top slot impressions. - optional int64 top_slot_impressions = 7; -} - -// Projected metrics for a specific budget amount. -message BudgetSimulationPoint { - // The simulated budget upon which projected metrics are based. - int64 budget_amount_micros = 1; - - // Projected required daily cpc bid ceiling that the advertiser must set to - // realize this simulation, in micros of the advertiser currency. - // Only campaigns with the Target Spend bidding strategy support this field. - int64 required_cpc_bid_ceiling_micros = 2; - - // Projected number of biddable conversions. - double biddable_conversions = 3; - - // Projected total value of biddable conversions. - double biddable_conversions_value = 4; - - // Projected number of clicks. - int64 clicks = 5; - - // Projected cost in micros. - int64 cost_micros = 6; - - // Projected number of impressions. - int64 impressions = 7; - - // Projected number of top slot impressions. - // Only search advertising channel type supports this field. - int64 top_slot_impressions = 8; -} - -// Projected metrics for a specific target impression share value. -message TargetImpressionShareSimulationPoint { - // The simulated target impression share value (in micros) upon which - // projected metrics are based. - // For example, 10% impression share, which is equal to 0.1, is stored as - // 100_000. This value is validated and will not exceed 1M (100%). - int64 target_impression_share_micros = 1; - - // Projected required daily cpc bid ceiling that the advertiser must set to - // realize this simulation, in micros of the advertiser currency. - int64 required_cpc_bid_ceiling_micros = 2; - - // Projected required daily budget that the advertiser must set in order to - // receive the estimated traffic, in micros of advertiser currency. - int64 required_budget_amount_micros = 3; - - // Projected number of biddable conversions. - double biddable_conversions = 4; - - // Projected total value of biddable conversions. - double biddable_conversions_value = 5; - - // Projected number of clicks. - int64 clicks = 6; - - // Projected cost in micros. - int64 cost_micros = 7; - - // Projected number of impressions. - int64 impressions = 8; - - // Projected number of top slot impressions. - // Only search advertising channel type supports this field. - int64 top_slot_impressions = 9; - - // Projected number of absolute top impressions. - // Only search advertising channel type supports this field. - int64 absolute_top_impressions = 10; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/common/tag_snippet.proto b/third_party/googleapis/google/ads/googleads/v13/common/tag_snippet.proto deleted file mode 100644 index 262c39ca3..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/common/tag_snippet.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/enums/tracking_code_page_format.proto"; -import "google/ads/googleads/v13/enums/tracking_code_type.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "TagSnippetProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; - -// Proto file describing TagSnippet - -// The site tag and event snippet pair for a TrackingCodeType. -message TagSnippet { - // The type of the generated tag snippets for tracking conversions. - google.ads.googleads.v13.enums.TrackingCodeTypeEnum.TrackingCodeType type = 1; - - // The format of the web page where the tracking tag and snippet will be - // installed, for example, HTML. - google.ads.googleads.v13.enums.TrackingCodePageFormatEnum - .TrackingCodePageFormat page_format = 2; - - // The site tag that adds visitors to your basic remarketing lists and sets - // new cookies on your domain. - optional string global_site_tag = 5; - - // The event snippet that works with the site tag to track actions that - // should be counted as conversions. - optional string event_snippet = 6; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/common/targeting_setting.proto b/third_party/googleapis/google/ads/googleads/v13/common/targeting_setting.proto deleted file mode 100644 index 66ccc6ba5..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/common/targeting_setting.proto +++ /dev/null @@ -1,85 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/enums/targeting_dimension.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "TargetingSettingProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; - -// Proto file describing TargetingSetting - -// Settings for the targeting-related features, at the campaign and ad group -// levels. For more details about the targeting setting, visit -// https://support.google.com/google-ads/answer/7365594 -message TargetingSetting { - // The per-targeting-dimension setting to restrict the reach of your campaign - // or ad group. - repeated TargetRestriction target_restrictions = 1; - - // The list of operations changing the target restrictions. - // - // Adding a target restriction with a targeting dimension that already exists - // causes the existing target restriction to be replaced with the new value. - repeated TargetRestrictionOperation target_restriction_operations = 2; -} - -// The list of per-targeting-dimension targeting settings. -message TargetRestriction { - // The targeting dimension that these settings apply to. - google.ads.googleads.v13.enums.TargetingDimensionEnum.TargetingDimension - targeting_dimension = 1; - - // Indicates whether to restrict your ads to show only for the criteria you - // have selected for this targeting_dimension, or to target all values for - // this targeting_dimension and show ads based on your targeting in other - // TargetingDimensions. A value of `true` means that these criteria will only - // apply bid modifiers, and not affect targeting. A value of `false` means - // that these criteria will restrict targeting as well as applying bid - // modifiers. - optional bool bid_only = 3; -} - -// Operation to be performed on a target restriction list in a mutate. -message TargetRestrictionOperation { - // The operator. - enum Operator { - // Unspecified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Add the restriction to the existing restrictions. - ADD = 2; - - // Remove the restriction from the existing restrictions. - REMOVE = 3; - } - - // Type of list operation to perform. - Operator operator = 1; - - // The target restriction being added to or removed from the list. - TargetRestriction value = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/common/text_label.proto b/third_party/googleapis/google/ads/googleads/v13/common/text_label.proto deleted file mode 100644 index 4ba07787b..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/common/text_label.proto +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.common; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "TextLabelProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; - -// A type of label displaying text on a colored background. -message TextLabel { - // Background color of the label in RGB format. This string must match the - // regular expression '^\#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$'. - // Note: The background color may not be visible for manager accounts. - optional string background_color = 3; - - // A short description of the label. The length must be no more than 200 - // characters. - optional string description = 4; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/common/url_collection.proto b/third_party/googleapis/google/ads/googleads/v13/common/url_collection.proto deleted file mode 100644 index 2c75098fa..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/common/url_collection.proto +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.common; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "UrlCollectionProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; - -// Proto file UrlCollection type. - -// Collection of urls that is tagged with a unique identifier. -message UrlCollection { - // Unique identifier for this UrlCollection instance. - optional string url_collection_id = 5; - - // A list of possible final URLs. - repeated string final_urls = 6; - - // A list of possible final mobile URLs. - repeated string final_mobile_urls = 7; - - // URL template for constructing a tracking URL. - optional string tracking_url_template = 8; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/common/user_lists.proto b/third_party/googleapis/google/ads/googleads/v13/common/user_lists.proto deleted file mode 100644 index 57fbcdba7..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/common/user_lists.proto +++ /dev/null @@ -1,273 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/enums/customer_match_upload_key_type.proto"; -import "google/ads/googleads/v13/enums/user_list_crm_data_source_type.proto"; -import "google/ads/googleads/v13/enums/user_list_date_rule_item_operator.proto"; -import "google/ads/googleads/v13/enums/user_list_flexible_rule_operator.proto"; -import "google/ads/googleads/v13/enums/user_list_logical_rule_operator.proto"; -import "google/ads/googleads/v13/enums/user_list_number_rule_item_operator.proto"; -import "google/ads/googleads/v13/enums/user_list_prepopulation_status.proto"; -import "google/ads/googleads/v13/enums/user_list_rule_type.proto"; -import "google/ads/googleads/v13/enums/user_list_string_rule_item_operator.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "UserListsProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; - -// Proto file describing user list types. - -// SimilarUserList is a list of users which are similar to users from another -// UserList. These lists are read-only and automatically created by Google. -message SimilarUserListInfo { - // Seed UserList from which this list is derived. - optional string seed_user_list = 2; -} - -// UserList of CRM users provided by the advertiser. -message CrmBasedUserListInfo { - // A string that uniquely identifies a mobile application from which the data - // was collected. - // For iOS, the ID string is the 9 digit string that appears at the end of an - // App Store URL (for example, "476943146" for "Flood-It! 2" whose App Store - // link is http://itunes.apple.com/us/app/flood-it!-2/id476943146). For - // Android, the ID string is the application's package name (for example, - // "com.labpixies.colordrips" for "Color Drips" given Google Play link - // https://play.google.com/store/apps/details?id=com.labpixies.colordrips). - // Required when creating CrmBasedUserList for uploading mobile advertising - // IDs. - optional string app_id = 4; - - // Matching key type of the list. - // Mixed data types are not allowed on the same list. - // This field is required for an ADD operation. - google.ads.googleads.v13.enums.CustomerMatchUploadKeyTypeEnum - .CustomerMatchUploadKeyType upload_key_type = 2; - - // Data source of the list. Default value is FIRST_PARTY. - // Only customers on the allow-list can create third-party sourced CRM lists. - google.ads.googleads.v13.enums.UserListCrmDataSourceTypeEnum - .UserListCrmDataSourceType data_source_type = 3; -} - -// A client defined rule based on custom parameters sent by web sites or -// uploaded by the advertiser. -message UserListRuleInfo { - // Rule type is used to determine how to group rule items. - // - // The default is OR of ANDs (disjunctive normal form). - // That is, rule items will be ANDed together within rule item groups and the - // groups themselves will be ORed together. - // - // OR of ANDs is the only supported type for FlexibleRuleUserList. - google.ads.googleads.v13.enums.UserListRuleTypeEnum.UserListRuleType - rule_type = 1; - - // List of rule item groups that defines this rule. - // Rule item groups are grouped together based on rule_type. - repeated UserListRuleItemGroupInfo rule_item_groups = 2; -} - -// A group of rule items. -message UserListRuleItemGroupInfo { - // Rule items that will be grouped together based on rule_type. - repeated UserListRuleItemInfo rule_items = 1; -} - -// An atomic rule item. -message UserListRuleItemInfo { - // Rule variable name. It should match the corresponding key name fired - // by the pixel. - // A name must begin with US-ascii letters or underscore or UTF8 code that is - // greater than 127 and consist of US-ascii letters or digits or underscore or - // UTF8 code that is greater than 127. - // For websites, there are two built-in variable URL (name = 'url__') and - // referrer URL (name = 'ref_url__'). - // This field must be populated when creating a new rule item. - optional string name = 5; - - // An atomic rule item. - oneof rule_item { - // An atomic rule item composed of a number operation. - UserListNumberRuleItemInfo number_rule_item = 2; - - // An atomic rule item composed of a string operation. - UserListStringRuleItemInfo string_rule_item = 3; - - // An atomic rule item composed of a date operation. - UserListDateRuleItemInfo date_rule_item = 4; - } -} - -// A rule item composed of a date operation. -message UserListDateRuleItemInfo { - // Date comparison operator. - // This field is required and must be populated when creating new date - // rule item. - google.ads.googleads.v13.enums.UserListDateRuleItemOperatorEnum - .UserListDateRuleItemOperator - operator = 1; - - // String representing date value to be compared with the rule variable. - // Supported date format is YYYY-MM-DD. - // Times are reported in the customer's time zone. - optional string value = 4; - - // The relative date value of the right hand side denoted by number of days - // offset from now. The value field will override this field when both are - // present. - optional int64 offset_in_days = 5; -} - -// A rule item composed of a number operation. -message UserListNumberRuleItemInfo { - // Number comparison operator. - // This field is required and must be populated when creating a new number - // rule item. - google.ads.googleads.v13.enums.UserListNumberRuleItemOperatorEnum - .UserListNumberRuleItemOperator - operator = 1; - - // Number value to be compared with the variable. - // This field is required and must be populated when creating a new number - // rule item. - optional double value = 3; -} - -// A rule item composed of a string operation. -message UserListStringRuleItemInfo { - // String comparison operator. - // This field is required and must be populated when creating a new string - // rule item. - google.ads.googleads.v13.enums.UserListStringRuleItemOperatorEnum - .UserListStringRuleItemOperator - operator = 1; - - // The right hand side of the string rule item. For URLs or referrer URLs, - // the value can not contain illegal URL chars such as newlines, quotes, - // tabs, or parentheses. This field is required and must be populated when - // creating a new string rule item. - optional string value = 3; -} - -// Flexible rule that wraps the common rule and a lookback window. -message FlexibleRuleOperandInfo { - // List of rule item groups that defines this rule. - // Rule item groups are grouped together. - UserListRuleInfo rule = 1; - - // Lookback window for this rule in days. From now until X days ago. - optional int64 lookback_window_days = 2; -} - -// Flexible rule representation of visitors with one or multiple actions. The -// flexible user list is defined by two lists of operands – inclusive_operands -// and exclusive_operands; each operand represents a set of users based on -// actions they took in a given timeframe. These lists of operands are combined -// with the AND_NOT operator, so that users represented by the inclusive -// operands are included in the user list, minus the users represented by the -// exclusive operands. -message FlexibleRuleUserListInfo { - // Operator that defines how the inclusive operands are combined. - google.ads.googleads.v13.enums.UserListFlexibleRuleOperatorEnum - .UserListFlexibleRuleOperator inclusive_rule_operator = 1; - - // Rules representing users that should be included in the user list. These - // are located on the left side of the AND_NOT operator, and joined together - // by either AND/OR as specified by the inclusive_rule_operator. - repeated FlexibleRuleOperandInfo inclusive_operands = 2; - - // Rules representing users that should be excluded from the user list. These - // are located on the right side of the AND_NOT operator, and joined together - // by OR. - repeated FlexibleRuleOperandInfo exclusive_operands = 3; -} - -// Representation of a userlist that is generated by a rule. -message RuleBasedUserListInfo { - // The status of pre-population. The field is default to NONE if not set which - // means the previous users will not be considered. If set to REQUESTED, past - // site visitors or app users who match the list definition will be included - // in the list (works on the Display Network only). This will only - // add past users from within the last 30 days, depending on the - // list's membership duration and the date when the remarketing tag is added. - // The status will be updated to FINISHED once request is processed, or FAILED - // if the request fails. - google.ads.googleads.v13.enums.UserListPrepopulationStatusEnum - .UserListPrepopulationStatus prepopulation_status = 1; - - // Flexible rule representation of visitors with one or multiple actions. The - // flexible user list is defined by two lists of operands – inclusive_operands - // and exclusive_operands; each operand represents a set of users based on - // actions they took in a given timeframe. These lists of operands are - // combined with the AND_NOT operator, so that users represented by the - // inclusive operands are included in the user list, minus the users - // represented by the exclusive operands. - FlexibleRuleUserListInfo flexible_rule_user_list = 5; -} - -// Represents a user list that is a custom combination of user lists. -message LogicalUserListInfo { - // Logical list rules that define this user list. The rules are defined as a - // logical operator (ALL/ANY/NONE) and a list of user lists. All the rules are - // ANDed when they are evaluated. - // - // Required for creating a logical user list. - repeated UserListLogicalRuleInfo rules = 1; -} - -// A user list logical rule. A rule has a logical operator (and/or/not) and a -// list of user lists as operands. -message UserListLogicalRuleInfo { - // The logical operator of the rule. - google.ads.googleads.v13.enums.UserListLogicalRuleOperatorEnum - .UserListLogicalRuleOperator - operator = 1; - - // The list of operands of the rule. - repeated LogicalUserListOperandInfo rule_operands = 2; -} - -// Operand of logical user list that consists of a user list. -message LogicalUserListOperandInfo { - // Resource name of a user list as an operand. - optional string user_list = 2; -} - -// User list targeting as a collection of conversions or remarketing actions. -message BasicUserListInfo { - // Actions associated with this user list. - repeated UserListActionInfo actions = 1; -} - -// Represents an action type used for building remarketing user lists. -message UserListActionInfo { - // Subtypes of user list action. - oneof user_list_action { - // A conversion action that's not generated from remarketing. - string conversion_action = 3; - - // A remarketing action. - string remarketing_action = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/common/value.proto b/third_party/googleapis/google/ads/googleads/v13/common/value.proto deleted file mode 100644 index 47a969383..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/common/value.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.common; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "ValueProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; - -// Proto file describing value types. - -// A generic data container. -message Value { - // A value. - oneof value { - // A boolean. - bool boolean_value = 1; - - // An int64. - int64 int64_value = 2; - - // A float. - float float_value = 3; - - // A double. - double double_value = 4; - - // A string. - string string_value = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/BUILD.bazel b/third_party/googleapis/google/ads/googleads/v13/enums/BUILD.bazel deleted file mode 100644 index 01a51ee0b..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/BUILD.bazel +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 2020 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -package(default_visibility = ["//visibility:public"]) - -############################################################################## -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") - -# TODO(ohren): Change srcs to use an enumeration of each individual proto -# instead of *.proto globbing once the build file generator supports subpackages. -proto_library( - name = "enums_proto", - srcs = glob(["*.proto"]), - deps = [ - "//google/api:annotations_proto", - ], -) - -############################################################################## -# Java -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "java_proto_library", -) - -java_proto_library( - name = "enums_java_proto", - deps = [":enums_proto"], -) - -############################################################################## -# PHP -############################################################################## - -# PHP targets are in the parent directory's BUILD.bazel file to facilitate -# aggregating metadata using a single underlying call to protoc. - -############################################################################## -# C# -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "csharp_proto_library", -) - -csharp_proto_library( - name = "enums_csharp_proto", - deps = [":enums_proto"], -) - -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "ruby_proto_library", -) - -ruby_proto_library( - name = "enums_ruby_proto", - deps = [":enums_proto"], -) - -############################################################################## -# Python -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "py_proto_library", -) - -py_proto_library( - name = "enums_py_proto", - deps = [":enums_proto"], -) diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/access_invitation_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/access_invitation_status.proto deleted file mode 100644 index 11805102a..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/access_invitation_status.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AccessInvitationStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing AccessInvitationStatus enum. - -// Container for enum for identifying the status of access invitation -message AccessInvitationStatusEnum { - // Possible access invitation status of a user - enum AccessInvitationStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The initial state of an invitation, before being acted upon by anyone. - PENDING = 2; - - // Invitation process was terminated by the email recipient. No new user was - // created. - DECLINED = 3; - - // Invitation URLs expired without being acted upon. No new user can be - // created. Invitations expire 20 days after creation. - EXPIRED = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/access_reason.proto b/third_party/googleapis/google/ads/googleads/v13/enums/access_reason.proto deleted file mode 100644 index 82c714e01..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/access_reason.proto +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AccessReasonProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Indicates the way the resource such as user list is related to a user. -message AccessReasonEnum { - // Enum describing possible access reasons. - enum AccessReason { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The resource is owned by the user. - OWNED = 2; - - // The resource is shared to the user. - SHARED = 3; - - // The resource is licensed to the user. - LICENSED = 4; - - // The user subscribed to the resource. - SUBSCRIBED = 5; - - // The resource is accessible to the user. - AFFILIATED = 6; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/access_role.proto b/third_party/googleapis/google/ads/googleads/v13/enums/access_role.proto deleted file mode 100644 index 16dc7b1ab..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/access_role.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AccessRoleProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Container for enum describing possible access role for user. -message AccessRoleEnum { - // Possible access role of a user. - enum AccessRole { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Owns its account and can control the addition of other users. - ADMIN = 2; - - // Can modify campaigns, but can't affect other users. - STANDARD = 3; - - // Can view campaigns and account changes, but cannot make edits. - READ_ONLY = 4; - - // Role for \"email only\" access. Represents an email recipient rather than - // a true User entity. - EMAIL_ONLY = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/account_budget_proposal_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/account_budget_proposal_status.proto deleted file mode 100644 index 52ea0b31b..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/account_budget_proposal_status.proto +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AccountBudgetProposalStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing AccountBudgetProposal statuses. - -// Message describing AccountBudgetProposal statuses. -message AccountBudgetProposalStatusEnum { - // The possible statuses of an AccountBudgetProposal. - enum AccountBudgetProposalStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The proposal is pending approval. - PENDING = 2; - - // The proposal has been approved but the corresponding billing setup - // has not. This can occur for proposals that set up the first budget - // when signing up for billing or when performing a change of bill-to - // operation. - APPROVED_HELD = 3; - - // The proposal has been approved. - APPROVED = 4; - - // The proposal has been cancelled by the user. - CANCELLED = 5; - - // The proposal has been rejected by the user, for example, by rejecting an - // acceptance email. - REJECTED = 6; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/account_budget_proposal_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/account_budget_proposal_type.proto deleted file mode 100644 index 34d1d260e..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/account_budget_proposal_type.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AccountBudgetProposalTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing AccountBudgetProposal types. - -// Message describing AccountBudgetProposal types. -message AccountBudgetProposalTypeEnum { - // The possible types of an AccountBudgetProposal. - enum AccountBudgetProposalType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Identifies a request to create a new budget. - CREATE = 2; - - // Identifies a request to edit an existing budget. - UPDATE = 3; - - // Identifies a request to end a budget that has already started. - END = 4; - - // Identifies a request to remove a budget that hasn't started yet. - REMOVE = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/account_budget_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/account_budget_status.proto deleted file mode 100644 index 5b556ce2b..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/account_budget_status.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AccountBudgetStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing AccountBudget statuses. - -// Message describing AccountBudget statuses. -message AccountBudgetStatusEnum { - // The possible statuses of an AccountBudget. - enum AccountBudgetStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The account budget is pending approval. - PENDING = 2; - - // The account budget has been approved. - APPROVED = 3; - - // The account budget has been cancelled by the user. - CANCELLED = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/account_link_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/account_link_status.proto deleted file mode 100644 index aa9f28c3e..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/account_link_status.proto +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AccountLinkStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Container for enum describing possible statuses of an account link. -message AccountLinkStatusEnum { - // Describes the possible statuses for a link between a Google Ads customer - // and another account. - enum AccountLinkStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The link is enabled. - ENABLED = 2; - - // The link is removed/disabled. - REMOVED = 3; - - // The link to the other account has been requested. A user on the other - // account may now approve the link by setting the status to ENABLED. - REQUESTED = 4; - - // This link has been requested by a user on the other account. It may be - // approved by a user on this account by setting the status to ENABLED. - PENDING_APPROVAL = 5; - - // The link is rejected by the approver. - REJECTED = 6; - - // The link is revoked by the user who requested the link. - REVOKED = 7; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/ad_customizer_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v13/enums/ad_customizer_placeholder_field.proto deleted file mode 100644 index fb1c77197..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/ad_customizer_placeholder_field.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdCustomizerPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing Ad Customizer placeholder fields. - -// Values for Ad Customizer placeholder fields. -message AdCustomizerPlaceholderFieldEnum { - // Possible values for Ad Customizers placeholder fields. - enum AdCustomizerPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: INT64. Integer value to be inserted. - INTEGER = 2; - - // Data Type: STRING. Price value to be inserted. - PRICE = 3; - - // Data Type: DATE_TIME. Date value to be inserted. - DATE = 4; - - // Data Type: STRING. String value to be inserted. - STRING = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/ad_destination_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/ad_destination_type.proto deleted file mode 100644 index c1182164a..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/ad_destination_type.proto +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdDestinationTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing ad destination types. - -// Container for enumeration of Google Ads destination types. -message AdDestinationTypeEnum { - // Enumerates Google Ads destination types - enum AdDestinationType { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Ads that don't intend to drive users off from ads to other destinations - NOT_APPLICABLE = 2; - - // Website - WEBSITE = 3; - - // App Deep Link - APP_DEEP_LINK = 4; - - // iOS App Store or Play Store - APP_STORE = 5; - - // Call Dialer - PHONE_CALL = 6; - - // Map App - MAP_DIRECTIONS = 7; - - // Location Dedicated Page - LOCATION_LISTING = 8; - - // Text Message - MESSAGE = 9; - - // Lead Generation Form - LEAD_FORM = 10; - - // YouTube - YOUTUBE = 11; - - // Ad Destination for Conversions with keys unknown - UNMODELED_FOR_CONVERSIONS = 12; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/ad_group_ad_rotation_mode.proto b/third_party/googleapis/google/ads/googleads/v13/enums/ad_group_ad_rotation_mode.proto deleted file mode 100644 index bb703e2ab..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/ad_group_ad_rotation_mode.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAdRotationModeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing ad group ad rotation mode. - -// Container for enum describing possible ad rotation modes of ads within an -// ad group. -message AdGroupAdRotationModeEnum { - // The possible ad rotation modes of an ad group. - enum AdGroupAdRotationMode { - // The ad rotation mode has not been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // Optimize ad group ads based on clicks or conversions. - OPTIMIZE = 2; - - // Rotate evenly forever. - ROTATE_FOREVER = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/ad_group_ad_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/ad_group_ad_status.proto deleted file mode 100644 index e27f7a178..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/ad_group_ad_status.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAdStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing ad group status. - -// Container for enum describing possible statuses of an AdGroupAd. -message AdGroupAdStatusEnum { - // The possible statuses of an AdGroupAd. - enum AdGroupAdStatus { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // The ad group ad is enabled. - ENABLED = 2; - - // The ad group ad is paused. - PAUSED = 3; - - // The ad group ad is removed. - REMOVED = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/ad_group_criterion_approval_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/ad_group_criterion_approval_status.proto deleted file mode 100644 index 59497678b..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/ad_group_criterion_approval_status.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionApprovalStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing approval status for the criterion. - -// Container for enum describing possible AdGroupCriterion approval statuses. -message AdGroupCriterionApprovalStatusEnum { - // Enumerates AdGroupCriterion approval statuses. - enum AdGroupCriterionApprovalStatus { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Approved. - APPROVED = 2; - - // Disapproved. - DISAPPROVED = 3; - - // Pending Review. - PENDING_REVIEW = 4; - - // Under review. - UNDER_REVIEW = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/ad_group_criterion_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/ad_group_criterion_status.proto deleted file mode 100644 index 48c657b0d..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/ad_group_criterion_status.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing AdGroupCriterion statuses. - -// Message describing AdGroupCriterion statuses. -message AdGroupCriterionStatusEnum { - // The possible statuses of an AdGroupCriterion. - enum AdGroupCriterionStatus { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // The ad group criterion is enabled. - ENABLED = 2; - - // The ad group criterion is paused. - PAUSED = 3; - - // The ad group criterion is removed. - REMOVED = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/ad_group_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/ad_group_status.proto deleted file mode 100644 index f4ca37dfe..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/ad_group_status.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing ad group status. - -// Container for enum describing possible statuses of an ad group. -message AdGroupStatusEnum { - // The possible statuses of an ad group. - enum AdGroupStatus { - // The status has not been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // The ad group is enabled. - ENABLED = 2; - - // The ad group is paused. - PAUSED = 3; - - // The ad group is removed. - REMOVED = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/ad_group_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/ad_group_type.proto deleted file mode 100644 index efd3cc123..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/ad_group_type.proto +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing ad group types. - -// Defines types of an ad group, specific to a particular campaign channel -// type. This type drives validations that restrict which entities can be -// added to the ad group. -message AdGroupTypeEnum { - // Enum listing the possible types of an ad group. - enum AdGroupType { - // The type has not been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // The default ad group type for Search campaigns. - SEARCH_STANDARD = 2; - - // The default ad group type for Display campaigns. - DISPLAY_STANDARD = 3; - - // The ad group type for Shopping campaigns serving standard product ads. - SHOPPING_PRODUCT_ADS = 4; - - // The default ad group type for Hotel campaigns. - HOTEL_ADS = 6; - - // The type for ad groups in Smart Shopping campaigns. - SHOPPING_SMART_ADS = 7; - - // Short unskippable in-stream video ads. - VIDEO_BUMPER = 8; - - // TrueView (skippable) in-stream video ads. - VIDEO_TRUE_VIEW_IN_STREAM = 9; - - // TrueView in-display video ads. - VIDEO_TRUE_VIEW_IN_DISPLAY = 10; - - // Unskippable in-stream video ads. - VIDEO_NON_SKIPPABLE_IN_STREAM = 11; - - // Outstream video ads. - VIDEO_OUTSTREAM = 12; - - // Ad group type for Dynamic Search Ads ad groups. - SEARCH_DYNAMIC_ADS = 13; - - // The type for ad groups in Shopping Comparison Listing campaigns. - SHOPPING_COMPARISON_LISTING_ADS = 14; - - // The ad group type for Promoted Hotel ad groups. - PROMOTED_HOTEL_ADS = 15; - - // Video responsive ad groups. - VIDEO_RESPONSIVE = 16; - - // Video efficient reach ad groups. - VIDEO_EFFICIENT_REACH = 17; - - // Ad group type for Smart campaigns. - SMART_CAMPAIGN_ADS = 18; - - // Ad group type for Travel campaigns. - TRAVEL_ADS = 19; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/ad_network_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/ad_network_type.proto deleted file mode 100644 index 754070ba9..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/ad_network_type.proto +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdNetworkTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing ad network types. - -// Container for enumeration of Google Ads network types. -message AdNetworkTypeEnum { - // Enumerates Google Ads network types. - enum AdNetworkType { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Google search. - SEARCH = 2; - - // Search partners. - SEARCH_PARTNERS = 3; - - // Display Network. - CONTENT = 4; - - // YouTube Search. - YOUTUBE_SEARCH = 5; - - // YouTube Videos - YOUTUBE_WATCH = 6; - - // Cross-network. - MIXED = 7; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/ad_serving_optimization_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/ad_serving_optimization_status.proto deleted file mode 100644 index 6bfd48362..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/ad_serving_optimization_status.proto +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdServingOptimizationStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing ad serving statuses. - -// Possible ad serving statuses of a campaign. -message AdServingOptimizationStatusEnum { - // Enum describing possible serving statuses. - enum AdServingOptimizationStatus { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // Ad serving is optimized based on CTR for the campaign. - OPTIMIZE = 2; - - // Ad serving is optimized based on CTR * Conversion for the campaign. If - // the campaign is not in the conversion optimizer bidding strategy, it will - // default to OPTIMIZED. - CONVERSION_OPTIMIZE = 3; - - // Ads are rotated evenly for 90 days, then optimized for clicks. - ROTATE = 4; - - // Show lower performing ads more evenly with higher performing ads, and do - // not optimize. - ROTATE_INDEFINITELY = 5; - - // Ad serving optimization status is not available. - UNAVAILABLE = 6; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/ad_strength.proto b/third_party/googleapis/google/ads/googleads/v13/enums/ad_strength.proto deleted file mode 100644 index 128a4a788..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/ad_strength.proto +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdStrengthProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing ad strengths. - -// Container for enum describing possible ad strengths. -message AdStrengthEnum { - // Enum listing the possible ad strengths. - enum AdStrength { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The ad strength is currently pending. - PENDING = 2; - - // No ads could be generated. - NO_ADS = 3; - - // Poor strength. - POOR = 4; - - // Average strength. - AVERAGE = 5; - - // Good strength. - GOOD = 6; - - // Excellent strength. - EXCELLENT = 7; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/ad_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/ad_type.proto deleted file mode 100644 index 4cecb3b33..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/ad_type.proto +++ /dev/null @@ -1,133 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing the ad type. - -// Container for enum describing possible types of an ad. -message AdTypeEnum { - // The possible types of an ad. - enum AdType { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // The ad is a text ad. - TEXT_AD = 2; - - // The ad is an expanded text ad. - EXPANDED_TEXT_AD = 3; - - // The ad is an expanded dynamic search ad. - EXPANDED_DYNAMIC_SEARCH_AD = 7; - - // The ad is a hotel ad. - HOTEL_AD = 8; - - // The ad is a Smart Shopping ad. - SHOPPING_SMART_AD = 9; - - // The ad is a standard Shopping ad. - SHOPPING_PRODUCT_AD = 10; - - // The ad is a video ad. - VIDEO_AD = 12; - - // This ad is an Image ad. - IMAGE_AD = 14; - - // The ad is a responsive search ad. - RESPONSIVE_SEARCH_AD = 15; - - // The ad is a legacy responsive display ad. - LEGACY_RESPONSIVE_DISPLAY_AD = 16; - - // The ad is an app ad. - APP_AD = 17; - - // The ad is a legacy app install ad. - LEGACY_APP_INSTALL_AD = 18; - - // The ad is a responsive display ad. - RESPONSIVE_DISPLAY_AD = 19; - - // The ad is a local ad. - LOCAL_AD = 20; - - // The ad is a display upload ad with the HTML5_UPLOAD_AD product type. - HTML5_UPLOAD_AD = 21; - - // The ad is a display upload ad with one of the DYNAMIC_HTML5_* product - // types. - DYNAMIC_HTML5_AD = 22; - - // The ad is an app engagement ad. - APP_ENGAGEMENT_AD = 23; - - // The ad is a Shopping Comparison Listing ad. - SHOPPING_COMPARISON_LISTING_AD = 24; - - // Video bumper ad. - VIDEO_BUMPER_AD = 25; - - // Video non-skippable in-stream ad. - VIDEO_NON_SKIPPABLE_IN_STREAM_AD = 26; - - // Video outstream ad. - VIDEO_OUTSTREAM_AD = 27; - - // Video TrueView in-stream ad. - VIDEO_TRUEVIEW_IN_STREAM_AD = 29; - - // Video responsive ad. - VIDEO_RESPONSIVE_AD = 30; - - // Smart campaign ad. - SMART_CAMPAIGN_AD = 31; - - // Call ad. - CALL_AD = 32; - - // Universal app pre-registration ad. - APP_PRE_REGISTRATION_AD = 33; - - // In-feed video ad. - IN_FEED_VIDEO_AD = 34; - - // Discovery multi asset ad. - DISCOVERY_MULTI_ASSET_AD = 35; - - // Discovery carousel ad. - DISCOVERY_CAROUSEL_AD = 36; - - // Travel ad. - TRAVEL_AD = 37; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/advertising_channel_sub_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/advertising_channel_sub_type.proto deleted file mode 100644 index 22ddcd0f3..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/advertising_channel_sub_type.proto +++ /dev/null @@ -1,105 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdvertisingChannelSubTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing advertising channel subtypes. - -// An immutable specialization of an Advertising Channel. -message AdvertisingChannelSubTypeEnum { - // Enum describing the different channel subtypes. - enum AdvertisingChannelSubType { - // Not specified. - UNSPECIFIED = 0; - - // Used as a return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Mobile app campaigns for Search. - SEARCH_MOBILE_APP = 2; - - // Mobile app campaigns for Display. - DISPLAY_MOBILE_APP = 3; - - // AdWords express campaigns for search. - SEARCH_EXPRESS = 4; - - // AdWords Express campaigns for display. - DISPLAY_EXPRESS = 5; - - // Smart Shopping campaigns. - SHOPPING_SMART_ADS = 6; - - // Gmail Ad campaigns. - DISPLAY_GMAIL_AD = 7; - - // Smart display campaigns. New campaigns of this sub type cannot be - // created. - DISPLAY_SMART_CAMPAIGN = 8; - - // Video Outstream campaigns. - VIDEO_OUTSTREAM = 9; - - // Video TrueView for Action campaigns. - VIDEO_ACTION = 10; - - // Video campaigns with non-skippable video ads. - VIDEO_NON_SKIPPABLE = 11; - - // App Campaign that lets you easily promote your Android or iOS app - // across Google's top properties including Search, Play, YouTube, and the - // Google Display Network. - APP_CAMPAIGN = 12; - - // App Campaign for engagement, focused on driving re-engagement with the - // app across several of Google's top properties including Search, YouTube, - // and the Google Display Network. - APP_CAMPAIGN_FOR_ENGAGEMENT = 13; - - // Campaigns specialized for local advertising. - LOCAL_CAMPAIGN = 14; - - // Shopping Comparison Listing campaigns. - SHOPPING_COMPARISON_LISTING_ADS = 15; - - // Standard Smart campaigns. - SMART_CAMPAIGN = 16; - - // Video campaigns with sequence video ads. - VIDEO_SEQUENCE = 17; - - // App Campaign for pre registration, specialized for advertising mobile - // app pre-registration, that targets multiple advertising channels across - // Google Play, YouTube and Display Network. See - // https://support.google.com/google-ads/answer/9441344 to learn more. - APP_CAMPAIGN_FOR_PRE_REGISTRATION = 18; - - // Video reach campaign with Target Frequency bidding strategy. - VIDEO_REACH_TARGET_FREQUENCY = 19; - - // Travel Activities campaigns. - TRAVEL_ACTIVITIES = 20; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/advertising_channel_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/advertising_channel_type.proto deleted file mode 100644 index 7b6e85b05..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/advertising_channel_type.proto +++ /dev/null @@ -1,78 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdvertisingChannelTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing advertising channel types - -// The channel type a campaign may target to serve on. -message AdvertisingChannelTypeEnum { - // Enum describing the various advertising channel types. - enum AdvertisingChannelType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Search Network. Includes display bundled, and Search+ campaigns. - SEARCH = 2; - - // Google Display Network only. - DISPLAY = 3; - - // Shopping campaigns serve on the shopping property - // and on google.com search results. - SHOPPING = 4; - - // Hotel Ads campaigns. - HOTEL = 5; - - // Video campaigns. - VIDEO = 6; - - // App Campaigns, and App Campaigns for Engagement, that run - // across multiple channels. - MULTI_CHANNEL = 7; - - // Local ads campaigns. - LOCAL = 8; - - // Smart campaigns. - SMART = 9; - - // Performance Max campaigns. - PERFORMANCE_MAX = 10; - - // Local services campaigns. - LOCAL_SERVICES = 11; - - // Discovery campaigns. - DISCOVERY = 12; - - // Travel campaigns. - TRAVEL = 13; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/affiliate_location_feed_relationship_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/affiliate_location_feed_relationship_type.proto deleted file mode 100644 index 25e247db2..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/affiliate_location_feed_relationship_type.proto +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AffiliateLocationFeedRelationshipTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing relation type for affiliate location feeds. - -// Container for enum describing possible values for a relationship type for -// an affiliate location feed. -message AffiliateLocationFeedRelationshipTypeEnum { - // Possible values for a relationship type for an affiliate location feed. - enum AffiliateLocationFeedRelationshipType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // General retailer relationship. - GENERAL_RETAILER = 2; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/affiliate_location_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v13/enums/affiliate_location_placeholder_field.proto deleted file mode 100644 index 7d304370b..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/affiliate_location_placeholder_field.proto +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AffiliateLocationPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing Affiliate Location placeholder fields. - -// Values for Affiliate Location placeholder fields. -message AffiliateLocationPlaceholderFieldEnum { - // Possible values for Affiliate Location placeholder fields. - enum AffiliateLocationPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. The name of the business. - BUSINESS_NAME = 2; - - // Data Type: STRING. Line 1 of the business address. - ADDRESS_LINE_1 = 3; - - // Data Type: STRING. Line 2 of the business address. - ADDRESS_LINE_2 = 4; - - // Data Type: STRING. City of the business address. - CITY = 5; - - // Data Type: STRING. Province of the business address. - PROVINCE = 6; - - // Data Type: STRING. Postal code of the business address. - POSTAL_CODE = 7; - - // Data Type: STRING. Country code of the business address. - COUNTRY_CODE = 8; - - // Data Type: STRING. Phone number of the business. - PHONE_NUMBER = 9; - - // Data Type: STRING. Language code of the business. - LANGUAGE_CODE = 10; - - // Data Type: INT64. ID of the chain. - CHAIN_ID = 11; - - // Data Type: STRING. Name of the chain. - CHAIN_NAME = 12; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/age_range_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/age_range_type.proto deleted file mode 100644 index 58b3d492c..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/age_range_type.proto +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AgeRangeTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing age range types. - -// Container for enum describing the type of demographic age ranges. -message AgeRangeTypeEnum { - // The type of demographic age ranges (for example, between 18 and 24 years - // old). - enum AgeRangeType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Between 18 and 24 years old. - AGE_RANGE_18_24 = 503001; - - // Between 25 and 34 years old. - AGE_RANGE_25_34 = 503002; - - // Between 35 and 44 years old. - AGE_RANGE_35_44 = 503003; - - // Between 45 and 54 years old. - AGE_RANGE_45_54 = 503004; - - // Between 55 and 64 years old. - AGE_RANGE_55_64 = 503005; - - // 65 years old and beyond. - AGE_RANGE_65_UP = 503006; - - // Undetermined age range. - AGE_RANGE_UNDETERMINED = 503999; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/app_campaign_app_store.proto b/third_party/googleapis/google/ads/googleads/v13/enums/app_campaign_app_store.proto deleted file mode 100644 index a9c471a56..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/app_campaign_app_store.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AppCampaignAppStoreProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing App Campaign app store. - -// The application store that distributes mobile applications. -message AppCampaignAppStoreEnum { - // Enum describing app campaign app store. - enum AppCampaignAppStore { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Apple app store. - APPLE_APP_STORE = 2; - - // Google play. - GOOGLE_APP_STORE = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/app_campaign_bidding_strategy_goal_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/app_campaign_bidding_strategy_goal_type.proto deleted file mode 100644 index 17d900ac5..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/app_campaign_bidding_strategy_goal_type.proto +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AppCampaignBiddingStrategyGoalTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing App Campaign bidding strategy goal types. - -// Container for enum describing goal towards which the bidding strategy of an -// app campaign should optimize for. -message AppCampaignBiddingStrategyGoalTypeEnum { - // Goal type of App campaign BiddingStrategy. - enum AppCampaignBiddingStrategyGoalType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Aim to maximize the number of app installs. The cpa bid is the - // target cost per install. - OPTIMIZE_INSTALLS_TARGET_INSTALL_COST = 2; - - // Aim to maximize the long term number of selected in-app conversions from - // app installs. The cpa bid is the target cost per install. - OPTIMIZE_IN_APP_CONVERSIONS_TARGET_INSTALL_COST = 3; - - // Aim to maximize the long term number of selected in-app conversions from - // app installs. The cpa bid is the target cost per in-app conversion. Note - // that the actual cpa may seem higher than the target cpa at first, since - // the long term conversions haven't happened yet. - OPTIMIZE_IN_APP_CONVERSIONS_TARGET_CONVERSION_COST = 4; - - // Aim to maximize all conversions' value, for example, install + selected - // in-app conversions while achieving or exceeding target return on - // advertising spend. - OPTIMIZE_RETURN_ON_ADVERTISING_SPEND = 5; - - // Aim to maximize the pre-registration of the app. - OPTIMIZE_PRE_REGISTRATION_CONVERSION_VOLUME = 6; - - // Aim to maximize installation of the app without target cost-per-install. - OPTIMIZE_INSTALLS_WITHOUT_TARGET_INSTALL_COST = 7; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/app_payment_model_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/app_payment_model_type.proto deleted file mode 100644 index 089bd5c9b..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/app_payment_model_type.proto +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AppPaymentModelTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing criteria types. - -// Represents a criterion for targeting paid apps. -message AppPaymentModelTypeEnum { - // Enum describing possible app payment models. - enum AppPaymentModelType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Represents paid-for apps. - PAID = 30; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/app_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v13/enums/app_placeholder_field.proto deleted file mode 100644 index f15926d84..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/app_placeholder_field.proto +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AppPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing App placeholder fields. - -// Values for App placeholder fields. -message AppPlaceholderFieldEnum { - // Possible values for App placeholder fields. - enum AppPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: INT64. The application store that the target application - // belongs to. Valid values are: 1 = Apple iTunes Store; 2 = Google Play - // Store. - STORE = 2; - - // Data Type: STRING. The store-specific ID for the target application. - ID = 3; - - // Data Type: STRING. The visible text displayed when the link is rendered - // in an ad. - LINK_TEXT = 4; - - // Data Type: STRING. The destination URL of the in-app link. - URL = 5; - - // Data Type: URL_LIST. Final URLs for the in-app link when using Upgraded - // URLs. - FINAL_URLS = 6; - - // Data Type: URL_LIST. Final Mobile URLs for the in-app link when using - // Upgraded URLs. - FINAL_MOBILE_URLS = 7; - - // Data Type: URL. Tracking template for the in-app link when using Upgraded - // URLs. - TRACKING_URL = 8; - - // Data Type: STRING. Final URL suffix for the in-app link when using - // parallel tracking. - FINAL_URL_SUFFIX = 9; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/app_store.proto b/third_party/googleapis/google/ads/googleads/v13/enums/app_store.proto deleted file mode 100644 index 4a7077e04..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/app_store.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AppStoreProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing app store types for an app extension. - -// Container for enum describing app store type in an app extension. -message AppStoreEnum { - // App store type in an app extension. - enum AppStore { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Apple iTunes. - APPLE_ITUNES = 2; - - // Google Play. - GOOGLE_PLAY = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/app_url_operating_system_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/app_url_operating_system_type.proto deleted file mode 100644 index 9245dcefe..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/app_url_operating_system_type.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AppUrlOperatingSystemTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing operating system for a deeplink app URL. - -// The possible OS types for a deeplink AppUrl. -message AppUrlOperatingSystemTypeEnum { - // Operating System - enum AppUrlOperatingSystemType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The Apple IOS operating system. - IOS = 2; - - // The Android operating system. - ANDROID = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/asset_field_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/asset_field_type.proto deleted file mode 100644 index bafa665ff..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/asset_field_type.proto +++ /dev/null @@ -1,123 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetFieldTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing asset type. - -// Container for enum describing the possible placements of an asset. -message AssetFieldTypeEnum { - // Enum describing the possible placements of an asset. - enum AssetFieldType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The asset is linked for use as a headline. - HEADLINE = 2; - - // The asset is linked for use as a description. - DESCRIPTION = 3; - - // The asset is linked for use as mandatory ad text. - MANDATORY_AD_TEXT = 4; - - // The asset is linked for use as a marketing image. - MARKETING_IMAGE = 5; - - // The asset is linked for use as a media bundle. - MEDIA_BUNDLE = 6; - - // The asset is linked for use as a YouTube video. - YOUTUBE_VIDEO = 7; - - // The asset is linked to indicate that a hotels campaign is "Book on - // Google" enabled. - BOOK_ON_GOOGLE = 8; - - // The asset is linked for use as a Lead Form extension. - LEAD_FORM = 9; - - // The asset is linked for use as a Promotion extension. - PROMOTION = 10; - - // The asset is linked for use as a Callout extension. - CALLOUT = 11; - - // The asset is linked for use as a Structured Snippet extension. - STRUCTURED_SNIPPET = 12; - - // The asset is linked for use as a Sitelink extension. - SITELINK = 13; - - // The asset is linked for use as a Mobile App extension. - MOBILE_APP = 14; - - // The asset is linked for use as a Hotel Callout extension. - HOTEL_CALLOUT = 15; - - // The asset is linked for use as a Call extension. - CALL = 16; - - // The asset is linked for use as a Price extension. - PRICE = 24; - - // The asset is linked for use as a long headline. - LONG_HEADLINE = 17; - - // The asset is linked for use as a business name. - BUSINESS_NAME = 18; - - // The asset is linked for use as a square marketing image. - SQUARE_MARKETING_IMAGE = 19; - - // The asset is linked for use as a portrait marketing image. - PORTRAIT_MARKETING_IMAGE = 20; - - // The asset is linked for use as a logo. - LOGO = 21; - - // The asset is linked for use as a landscape logo. - LANDSCAPE_LOGO = 22; - - // The asset is linked for use as a non YouTube logo. - VIDEO = 23; - - // The asset is linked for use to select a call-to-action. - CALL_TO_ACTION_SELECTION = 25; - - // The asset is linked for use to select an ad image. - AD_IMAGE = 26; - - // The asset is linked for use as a business logo. - BUSINESS_LOGO = 27; - - // The asset is linked for use as a hotel property in a Performance Max for - // travel goals campaign. - HOTEL_PROPERTY = 28; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/asset_group_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/asset_group_status.proto deleted file mode 100644 index 09bc86373..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/asset_group_status.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing asset group status. - -// Container for enum describing possible statuses of an asset group. -message AssetGroupStatusEnum { - // The possible statuses of an asset group. - enum AssetGroupStatus { - // The status has not been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - UNKNOWN = 1; - - // The asset group is enabled. - ENABLED = 2; - - // The asset group is paused. - PAUSED = 3; - - // The asset group is removed. - REMOVED = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/asset_link_primary_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/asset_link_primary_status.proto deleted file mode 100644 index 36f2e00c2..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/asset_link_primary_status.proto +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetLinkPrimaryStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing asset source. - -// Provides the primary status of an asset link. -// For example: a sitelink may be paused for a particular campaign. -message AssetLinkPrimaryStatusEnum { - // Enum Provides insight into why an asset is not serving or not serving - // at full capacity for a particular link level. There could be one status - // with multiple reasons. For example, a sitelink might be paused by the user, - // but also limited in serving due to violation of an alcohol policy. In - // this case, the PrimaryStatus will be returned as PAUSED, since the asset's - // effective status is determined by its paused state. - enum AssetLinkPrimaryStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The asset is eligible to serve. - ELIGIBLE = 2; - - // The user-specified asset link status is paused. - PAUSED = 3; - - // The user-specified asset link status is removed. - REMOVED = 4; - - // The asset may serve in the future. - PENDING = 5; - - // The asset is serving in a partial capacity. - LIMITED = 6; - - // The asset is not eligible to serve. - NOT_ELIGIBLE = 7; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/asset_link_primary_status_reason.proto b/third_party/googleapis/google/ads/googleads/v13/enums/asset_link_primary_status_reason.proto deleted file mode 100644 index c18d3d28d..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/asset_link_primary_status_reason.proto +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetLinkPrimaryStatusReasonProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing asset source. - -// Provides the reason of a primary status. -// For example: a sitelink may be paused for a particular campaign. -message AssetLinkPrimaryStatusReasonEnum { - // Enum Provides insight into why an asset is not serving or not serving - // at full capacity for a particular link level. These reasons are - // aggregated to determine a final PrimaryStatus. - // For example, a sitelink might be paused by the user, - // but also limited in serving due to violation of an alcohol policy. In - // this case, the PrimaryStatus will be returned as PAUSED, since the asset's - // effective status is determined by its paused state. - enum AssetLinkPrimaryStatusReason { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The asset is paused for its linked rollup level. Contributes to a - // PrimaryStatus of PAUSED. - ASSET_LINK_PAUSED = 2; - - // The asset is removed for its linked rollup level. Contributes to a - // PrimaryStatus of REMOVED. - ASSET_LINK_REMOVED = 3; - - // The asset has been marked as disapproved. Contributes to a PrimaryStatus - // of NOT_ELIGIBLE - ASSET_DISAPPROVED = 4; - - // The asset has not completed policy review. Contributes to a PrimaryStatus - // of PENDING. - ASSET_UNDER_REVIEW = 5; - - // The asset is approved with policies applied. Contributes to a - // PrimaryStatus of LIMITED. - ASSET_APPROVED_LABELED = 6; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/asset_link_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/asset_link_status.proto deleted file mode 100644 index bd730280f..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/asset_link_status.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetLinkStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing status of an asset link. - -// Container for enum describing possible statuses of an asset link. -message AssetLinkStatusEnum { - // Enum describing statuses of an asset link. - enum AssetLinkStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Asset link is enabled. - ENABLED = 2; - - // Asset link has been removed. - REMOVED = 3; - - // Asset link is paused. - PAUSED = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/asset_offline_evaluation_error_reasons.proto b/third_party/googleapis/google/ads/googleads/v13/enums/asset_offline_evaluation_error_reasons.proto deleted file mode 100644 index 6521c79f7..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/asset_offline_evaluation_error_reasons.proto +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetOfflineEvaluationErrorReasonsProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing asset source. - -// Provides the quality evaluation disapproval reason of an asset. -message AssetOfflineEvaluationErrorReasonsEnum { - // Enum describing the quality evaluation disapproval reason of an asset. - enum AssetOfflineEvaluationErrorReasons { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // One or more descriptions repeats its corresponding row header. - PRICE_ASSET_DESCRIPTION_REPEATS_ROW_HEADER = 2; - - // Price asset contains repetitive headers. - PRICE_ASSET_REPETITIVE_HEADERS = 3; - - // Price item header is not relevant to the price type. - PRICE_ASSET_HEADER_INCOMPATIBLE_WITH_PRICE_TYPE = 4; - - // Price item description is not relevant to the item header. - PRICE_ASSET_DESCRIPTION_INCOMPATIBLE_WITH_ITEM_HEADER = 5; - - // Price asset has a price qualifier in a description. - PRICE_ASSET_DESCRIPTION_HAS_PRICE_QUALIFIER = 6; - - // Unsupported language for price assets - PRICE_ASSET_UNSUPPORTED_LANGUAGE = 7; - - // Human raters identified an issue with the price asset that isn't captured - // by other error reasons. The primary purpose of this value is to represent - // legacy FeedItem disapprovals that are no longer produced. - PRICE_ASSET_OTHER_ERROR = 8; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/asset_performance_label.proto b/third_party/googleapis/google/ads/googleads/v13/enums/asset_performance_label.proto deleted file mode 100644 index dc676f346..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/asset_performance_label.proto +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetPerformanceLabelProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing the performance label of an asset. - -// Container for enum describing the performance label of an asset. -message AssetPerformanceLabelEnum { - // Enum describing the possible performance labels of an asset, usually - // computed in the context of a linkage. - enum AssetPerformanceLabel { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // This asset does not yet have any performance informantion. This may be - // because it is still under review. - PENDING = 2; - - // The asset has started getting impressions but the stats are not - // statistically significant enough to get an asset performance label. - LEARNING = 3; - - // Worst performing assets. - LOW = 4; - - // Good performing assets. - GOOD = 5; - - // Best performing assets. - BEST = 6; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/asset_set_asset_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/asset_set_asset_status.proto deleted file mode 100644 index 6a61370c0..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/asset_set_asset_status.proto +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetAssetStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing asset set status. - -// Container for enum describing possible statuses of an asset set asset. -message AssetSetAssetStatusEnum { - // The possible statuses of an asset set asset. - enum AssetSetAssetStatus { - // The status has not been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // This is a response-only value. - UNKNOWN = 1; - - // The asset set asset is enabled. - ENABLED = 2; - - // The asset set asset is removed. - REMOVED = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/asset_set_link_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/asset_set_link_status.proto deleted file mode 100644 index 1c1d6a3ba..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/asset_set_link_status.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetLinkStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing asset set status. - -// Container for enum describing possible statuses of the linkage between asset -// set and its container. -message AssetSetLinkStatusEnum { - // The possible statuses of the linkage between asset set and its container. - enum AssetSetLinkStatus { - // The status has not been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // This is a response-only value. - UNKNOWN = 1; - - // The linkage between asset set and its container is enabled. - ENABLED = 2; - - // The linkage between asset set and its container is removed. - REMOVED = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/asset_set_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/asset_set_status.proto deleted file mode 100644 index 6ed12ebf6..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/asset_set_status.proto +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing asset set status. - -// Container for enum describing possible statuses of an asset set. -message AssetSetStatusEnum { - // The possible statuses of an asset set. - enum AssetSetStatus { - // The status has not been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // This is a response-only value. - UNKNOWN = 1; - - // The asset set is enabled. - ENABLED = 2; - - // The asset set is removed. - REMOVED = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/asset_set_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/asset_set_type.proto deleted file mode 100644 index 261fdfd3d..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/asset_set_type.proto +++ /dev/null @@ -1,88 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing asset set type. - -// Container for enum describing possible types of an asset set. -message AssetSetTypeEnum { - // Possible types of an asset set. - enum AssetSetType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Page asset set. - PAGE_FEED = 2; - - // Dynamic education asset set. - DYNAMIC_EDUCATION = 3; - - // Google Merchant Center asset set. - MERCHANT_CENTER_FEED = 4; - - // Dynamic real estate asset set. - DYNAMIC_REAL_ESTATE = 5; - - // Dynamic custom asset set. - DYNAMIC_CUSTOM = 6; - - // Dynamic hotels and rentals asset set. - DYNAMIC_HOTELS_AND_RENTALS = 7; - - // Dynamic flights asset set. - DYNAMIC_FLIGHTS = 8; - - // Dynamic travel asset set. - DYNAMIC_TRAVEL = 9; - - // Dynamic local asset set. - DYNAMIC_LOCAL = 10; - - // Dynamic jobs asset set. - DYNAMIC_JOBS = 11; - - // Location sync level asset set. - LOCATION_SYNC = 12; - - // Business Profile location group asset set. - BUSINESS_PROFILE_DYNAMIC_LOCATION_GROUP = 13; - - // Chain location group asset set which can be used for both owned - // locations and affiliate locations. - CHAIN_DYNAMIC_LOCATION_GROUP = 14; - - // Static location group asset set which can be used for both owned - // locations and affiliate locations. - STATIC_LOCATION_GROUP = 15; - - // Hotel Property asset set which is used to link a hotel property feed to - // Performance Max for travel goals campaigns. - HOTEL_PROPERTY = 16; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/asset_source.proto b/third_party/googleapis/google/ads/googleads/v13/enums/asset_source.proto deleted file mode 100644 index fb914686d..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/asset_source.proto +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetSourceProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing asset source. - -// Source of the asset or asset link for who generated the entity. -// For example, advertiser or automatically created. -message AssetSourceEnum { - // Enum describing possible source of asset. - enum AssetSource { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The asset or asset link is provided by advertiser. - ADVERTISER = 2; - - // The asset or asset link is generated by Google. - AUTOMATICALLY_CREATED = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/asset_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/asset_type.proto deleted file mode 100644 index e28becf7b..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/asset_type.proto +++ /dev/null @@ -1,121 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing asset type. - -// Container for enum describing the types of asset. -message AssetTypeEnum { - // Enum describing possible types of asset. - enum AssetType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // YouTube video asset. - YOUTUBE_VIDEO = 2; - - // Media bundle asset. - MEDIA_BUNDLE = 3; - - // Image asset. - IMAGE = 4; - - // Text asset. - TEXT = 5; - - // Lead form asset. - LEAD_FORM = 6; - - // Book on Google asset. - BOOK_ON_GOOGLE = 7; - - // Promotion asset. - PROMOTION = 8; - - // Callout asset. - CALLOUT = 9; - - // Structured Snippet asset. - STRUCTURED_SNIPPET = 10; - - // Sitelink asset. - SITELINK = 11; - - // Page Feed asset. - PAGE_FEED = 12; - - // Dynamic Education asset. - DYNAMIC_EDUCATION = 13; - - // Mobile app asset. - MOBILE_APP = 14; - - // Hotel callout asset. - HOTEL_CALLOUT = 15; - - // Call asset. - CALL = 16; - - // Price asset. - PRICE = 17; - - // Call to action asset. - CALL_TO_ACTION = 18; - - // Dynamic real estate asset. - DYNAMIC_REAL_ESTATE = 19; - - // Dynamic custom asset. - DYNAMIC_CUSTOM = 20; - - // Dynamic hotels and rentals asset. - DYNAMIC_HOTELS_AND_RENTALS = 21; - - // Dynamic flights asset. - DYNAMIC_FLIGHTS = 22; - - // Discovery Carousel Card asset. - DISCOVERY_CAROUSEL_CARD = 23; - - // Dynamic travel asset. - DYNAMIC_TRAVEL = 24; - - // Dynamic local asset. - DYNAMIC_LOCAL = 25; - - // Dynamic jobs asset. - DYNAMIC_JOBS = 26; - - // Location asset. - LOCATION = 27; - - // Hotel property asset. - HOTEL_PROPERTY = 28; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/async_action_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/async_action_status.proto deleted file mode 100644 index be4ed0980..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/async_action_status.proto +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AsyncActionStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing experiment async action status. - -// Container for enum describing the experiment async action status. -message AsyncActionStatusEnum { - // The async action status of the experiment. - enum AsyncActionStatus { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Action has not started. - NOT_STARTED = 2; - - // Action is in progress. - IN_PROGRESS = 3; - - // Action has completed successfully. - COMPLETED = 4; - - // Action has failed. - FAILED = 5; - - // Action has completed successfully with warnings. - COMPLETED_WITH_WARNING = 6; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/attribution_model.proto b/third_party/googleapis/google/ads/googleads/v13/enums/attribution_model.proto deleted file mode 100644 index 05436e295..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/attribution_model.proto +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AttributionModelProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Container for enum representing the attribution model that describes how to -// distribute credit for a particular conversion across potentially many prior -// interactions. -message AttributionModelEnum { - // The attribution model that describes how to distribute credit for a - // particular conversion across potentially many prior interactions. - enum AttributionModel { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Uses external attribution. - EXTERNAL = 100; - - // Attributes all credit for a conversion to its last click. - GOOGLE_ADS_LAST_CLICK = 101; - - // Attributes all credit for a conversion to its first click using Google - // Search attribution. - GOOGLE_SEARCH_ATTRIBUTION_FIRST_CLICK = 102; - - // Attributes credit for a conversion equally across all of its clicks using - // Google Search attribution. - GOOGLE_SEARCH_ATTRIBUTION_LINEAR = 103; - - // Attributes exponentially more credit for a conversion to its more recent - // clicks using Google Search attribution (half-life is 1 week). - GOOGLE_SEARCH_ATTRIBUTION_TIME_DECAY = 104; - - // Attributes 40% of the credit for a conversion to its first and last - // clicks. Remaining 20% is evenly distributed across all other clicks. This - // uses Google Search attribution. - GOOGLE_SEARCH_ATTRIBUTION_POSITION_BASED = 105; - - // Flexible model that uses machine learning to determine the appropriate - // distribution of credit among clicks using Google Search attribution. - GOOGLE_SEARCH_ATTRIBUTION_DATA_DRIVEN = 106; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/audience_insights_dimension.proto b/third_party/googleapis/google/ads/googleads/v13/enums/audience_insights_dimension.proto deleted file mode 100644 index f76024bab..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/audience_insights_dimension.proto +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AudienceInsightsDimensionProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing a plannable network. - -// Container for enum describing audience insights dimensions. -message AudienceInsightsDimensionEnum { - // Possible audience dimensions for use in generating insights. - enum AudienceInsightsDimension { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // A Product & Service category. - CATEGORY = 2; - - // A Knowledge Graph entity. - KNOWLEDGE_GRAPH = 3; - - // A country, represented by a geo target. - GEO_TARGET_COUNTRY = 4; - - // A geographic location within a country. - SUB_COUNTRY_LOCATION = 5; - - // A YouTube channel. - YOUTUBE_CHANNEL = 6; - - // A YouTube Dynamic Lineup. - YOUTUBE_DYNAMIC_LINEUP = 7; - - // An Affinity UserInterest. - AFFINITY_USER_INTEREST = 8; - - // An In-Market UserInterest. - IN_MARKET_USER_INTEREST = 9; - - // A Parental Status value (parent, or not a parent). - PARENTAL_STATUS = 10; - - // A household income percentile range. - INCOME_RANGE = 11; - - // An age range. - AGE_RANGE = 12; - - // A gender. - GENDER = 13; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/audience_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/audience_status.proto deleted file mode 100644 index 0b69b713b..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/audience_status.proto +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AudienceStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing audience status. - -// The status of audience. -message AudienceStatusEnum { - // Enum containing possible audience status types. - enum AudienceStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Enabled status - audience is enabled and can be targeted. - ENABLED = 2; - - // Removed status - audience is removed and cannot be used for - // targeting. - REMOVED = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/batch_job_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/batch_job_status.proto deleted file mode 100644 index 0c216a1ba..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/batch_job_status.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BatchJobStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing batch job statuses. - -// Container for enum describing possible batch job statuses. -message BatchJobStatusEnum { - // The batch job statuses. - enum BatchJobStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The job is not currently running. - PENDING = 2; - - // The job is running. - RUNNING = 3; - - // The job is done. - DONE = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/bid_modifier_source.proto b/third_party/googleapis/google/ads/googleads/v13/enums/bid_modifier_source.proto deleted file mode 100644 index 3c598f910..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/bid_modifier_source.proto +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BidModifierSourceProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing bid modifier source. - -// Container for enum describing possible bid modifier sources. -message BidModifierSourceEnum { - // Enum describing possible bid modifier sources. - enum BidModifierSource { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The bid modifier is specified at the campaign level, on the campaign - // level criterion. - CAMPAIGN = 2; - - // The bid modifier is specified (overridden) at the ad group level. - AD_GROUP = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/bidding_source.proto b/third_party/googleapis/google/ads/googleads/v13/enums/bidding_source.proto deleted file mode 100644 index e4cecdf42..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/bidding_source.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BiddingSourceProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing bidding sources. - -// Container for enum describing possible bidding sources. -message BiddingSourceEnum { - // Indicates where a bid or target is defined. For example, an ad group - // criterion may define a cpc bid directly, or it can inherit its cpc bid from - // the ad group. - enum BiddingSource { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Effective bid or target is inherited from campaign bidding strategy. - CAMPAIGN_BIDDING_STRATEGY = 5; - - // The bid or target is defined on the ad group. - AD_GROUP = 6; - - // The bid or target is defined on the ad group criterion. - AD_GROUP_CRITERION = 7; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/bidding_strategy_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/bidding_strategy_status.proto deleted file mode 100644 index 84f9eb82e..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/bidding_strategy_status.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BiddingStrategyStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing BiddingStrategy statuses. - -// Message describing BiddingStrategy statuses. -message BiddingStrategyStatusEnum { - // The possible statuses of a BiddingStrategy. - enum BiddingStrategyStatus { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // The bidding strategy is enabled. - ENABLED = 2; - - // The bidding strategy is removed. - REMOVED = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/bidding_strategy_system_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/bidding_strategy_system_status.proto deleted file mode 100644 index ab34ef433..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/bidding_strategy_system_status.proto +++ /dev/null @@ -1,137 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BiddingStrategySystemStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing BiddingStrategy statuses. - -// Message describing BiddingStrategy system statuses. -message BiddingStrategySystemStatusEnum { - // The possible system statuses of a BiddingStrategy. - enum BiddingStrategySystemStatus { - // Signals that an unexpected error occurred, for example, no bidding - // strategy type was found, or no status information was found. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The bid strategy is active, and AdWords cannot find any specific issues - // with the strategy. - ENABLED = 2; - - // The bid strategy is learning because it has been recently created or - // recently reactivated. - LEARNING_NEW = 3; - - // The bid strategy is learning because of a recent setting change. - LEARNING_SETTING_CHANGE = 4; - - // The bid strategy is learning because of a recent budget change. - LEARNING_BUDGET_CHANGE = 5; - - // The bid strategy is learning because of recent change in number of - // campaigns, ad groups or keywords attached to it. - LEARNING_COMPOSITION_CHANGE = 6; - - // The bid strategy depends on conversion reporting and the customer - // recently modified conversion types that were relevant to the - // bid strategy. - LEARNING_CONVERSION_TYPE_CHANGE = 7; - - // The bid strategy depends on conversion reporting and the customer - // recently changed their conversion settings. - LEARNING_CONVERSION_SETTING_CHANGE = 8; - - // The bid strategy is limited by its bid ceiling. - LIMITED_BY_CPC_BID_CEILING = 9; - - // The bid strategy is limited by its bid floor. - LIMITED_BY_CPC_BID_FLOOR = 10; - - // The bid strategy is limited because there was not enough conversion - // traffic over the past weeks. - LIMITED_BY_DATA = 11; - - // A significant fraction of keywords in this bid strategy are limited by - // budget. - LIMITED_BY_BUDGET = 12; - - // The bid strategy cannot reach its target spend because its spend has - // been de-prioritized. - LIMITED_BY_LOW_PRIORITY_SPEND = 13; - - // A significant fraction of keywords in this bid strategy have a low - // Quality Score. - LIMITED_BY_LOW_QUALITY = 14; - - // The bid strategy cannot fully spend its budget because of narrow - // targeting. - LIMITED_BY_INVENTORY = 15; - - // Missing conversion tracking (no pings present) and/or remarketing lists - // for SSC. - MISCONFIGURED_ZERO_ELIGIBILITY = 16; - - // The bid strategy depends on conversion reporting and the customer is - // lacking conversion types that might be reported against this strategy. - MISCONFIGURED_CONVERSION_TYPES = 17; - - // The bid strategy depends on conversion reporting and the customer's - // conversion settings are misconfigured. - MISCONFIGURED_CONVERSION_SETTINGS = 18; - - // There are campaigns outside the bid strategy that share budgets with - // campaigns included in the strategy. - MISCONFIGURED_SHARED_BUDGET = 19; - - // The campaign has an invalid strategy type and is not serving. - MISCONFIGURED_STRATEGY_TYPE = 20; - - // The bid strategy is not active. Either there are no active campaigns, - // ad groups or keywords attached to the bid strategy. Or there are no - // active budgets connected to the bid strategy. - PAUSED = 21; - - // This bid strategy currently does not support status reporting. - UNAVAILABLE = 22; - - // There were multiple LEARNING_* system statuses for this bid strategy - // during the time in question. - MULTIPLE_LEARNING = 23; - - // There were multiple LIMITED_* system statuses for this bid strategy - // during the time in question. - MULTIPLE_LIMITED = 24; - - // There were multiple MISCONFIGURED_* system statuses for this bid strategy - // during the time in question. - MULTIPLE_MISCONFIGURED = 25; - - // There were multiple system statuses for this bid strategy during the - // time in question. - MULTIPLE = 26; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/bidding_strategy_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/bidding_strategy_type.proto deleted file mode 100644 index 9c3bda713..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/bidding_strategy_type.proto +++ /dev/null @@ -1,119 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BiddingStrategyTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing bidding schemes. - -// Container for enum describing possible bidding strategy types. -message BiddingStrategyTypeEnum { - // Enum describing possible bidding strategy types. - enum BiddingStrategyType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Commission is an automatic bidding strategy in which the advertiser pays - // a certain portion of the conversion value. - COMMISSION = 16; - - // Enhanced CPC is a bidding strategy that raises bids for clicks - // that seem more likely to lead to a conversion and lowers - // them for clicks where they seem less likely. - ENHANCED_CPC = 2; - - // Used for return value only. Indicates that a campaign does not have a - // bidding strategy. This prevents the campaign from serving. For example, - // a campaign may be attached to a manager bidding strategy and the serving - // account is subsequently unlinked from the manager account. In this case - // the campaign will automatically be detached from the now inaccessible - // manager bidding strategy and transition to the INVALID bidding strategy - // type. - INVALID = 17; - - // Manual bidding strategy that allows advertiser to set the bid per - // advertiser-specified action. - MANUAL_CPA = 18; - - // Manual click based bidding where user pays per click. - MANUAL_CPC = 3; - - // Manual impression based bidding - // where user pays per thousand impressions. - MANUAL_CPM = 4; - - // A bidding strategy that pays a configurable amount per video view. - MANUAL_CPV = 13; - - // A bidding strategy that automatically maximizes number of conversions - // given a daily budget. - MAXIMIZE_CONVERSIONS = 10; - - // An automated bidding strategy that automatically sets bids to maximize - // revenue while spending your budget. - MAXIMIZE_CONVERSION_VALUE = 11; - - // Page-One Promoted bidding scheme, which sets max cpc bids to - // target impressions on page one or page one promoted slots on google.com. - // This enum value is deprecated. - PAGE_ONE_PROMOTED = 5; - - // Percent Cpc is bidding strategy where bids are a fraction of the - // advertised price for some good or service. - PERCENT_CPC = 12; - - // Target CPA is an automated bid strategy that sets bids - // to help get as many conversions as possible - // at the target cost-per-acquisition (CPA) you set. - TARGET_CPA = 6; - - // Target CPM is an automated bid strategy that sets bids to help get - // as many impressions as possible at the target cost per one thousand - // impressions (CPM) you set. - TARGET_CPM = 14; - - // An automated bidding strategy that sets bids so that a certain percentage - // of search ads are shown at the top of the first page (or other targeted - // location). - TARGET_IMPRESSION_SHARE = 15; - - // Target Outrank Share is an automated bidding strategy that sets bids - // based on the target fraction of auctions where the advertiser - // should outrank a specific competitor. - // This enum value is deprecated. - TARGET_OUTRANK_SHARE = 7; - - // Target ROAS is an automated bidding strategy - // that helps you maximize revenue while averaging - // a specific target Return On Average Spend (ROAS). - TARGET_ROAS = 8; - - // Target Spend is an automated bid strategy that sets your bids - // to help get as many clicks as possible within your budget. - TARGET_SPEND = 9; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/billing_setup_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/billing_setup_status.proto deleted file mode 100644 index 5ac1d5b58..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/billing_setup_status.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BillingSetupStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing BillingSetup statuses. - -// Message describing BillingSetup statuses. -message BillingSetupStatusEnum { - // The possible statuses of a BillingSetup. - enum BillingSetupStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The billing setup is pending approval. - PENDING = 2; - - // The billing setup has been approved but the corresponding first budget - // has not. This can only occur for billing setups configured for monthly - // invoicing. - APPROVED_HELD = 3; - - // The billing setup has been approved. - APPROVED = 4; - - // The billing setup was cancelled by the user prior to approval. - CANCELLED = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/brand_safety_suitability.proto b/third_party/googleapis/google/ads/googleads/v13/enums/brand_safety_suitability.proto deleted file mode 100644 index 79cb6b41b..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/brand_safety_suitability.proto +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BrandSafetySuitabilityProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing brand safety suitability settings. - -// Container for enum with 3-Tier brand safety suitability control. -message BrandSafetySuitabilityEnum { - // 3-Tier brand safety suitability control. - enum BrandSafetySuitability { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // This option lets you show ads across all inventory on YouTube and video - // partners that meet our standards for monetization. This option may be an - // appropriate choice for brands that want maximum access to the full - // breadth of videos eligible for ads, including, for example, videos that - // have strong profanity in the context of comedy or a documentary, or - // excessive violence as featured in video games. - EXPANDED_INVENTORY = 2; - - // This option lets you show ads across a wide range of content that's - // appropriate for most brands, such as popular music videos, documentaries, - // and movie trailers. The content you can show ads on is based on YouTube's - // advertiser-friendly content guidelines that take into account, for - // example, the strength or frequency of profanity, or the appropriateness - // of subject matter like sensitive events. Ads won't show, for example, on - // content with repeated strong profanity, strong sexual content, or graphic - // violence. - STANDARD_INVENTORY = 3; - - // This option lets you show ads on a reduced range of content that's - // appropriate for brands with particularly strict guidelines around - // inappropriate language and sexual suggestiveness; above and beyond what - // YouTube's advertiser-friendly content guidelines address. The videos - // accessible in this sensitive category meet heightened requirements, - // especially for inappropriate language and sexual suggestiveness. For - // example, your ads will be excluded from showing on some of YouTube's most - // popular music videos and other pop culture content across YouTube and - // Google video partners. - LIMITED_INVENTORY = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/budget_campaign_association_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/budget_campaign_association_status.proto deleted file mode 100644 index b62a544af..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/budget_campaign_association_status.proto +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BudgetCampaignAssociationStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing Budget and Campaign association status. - -// Message describing the status of the association between the Budget and the -// Campaign. -message BudgetCampaignAssociationStatusEnum { - // Possible statuses of the association between the Budget and the Campaign. - enum BudgetCampaignAssociationStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The campaign is currently using the budget. - ENABLED = 2; - - // The campaign is no longer using the budget. - REMOVED = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/budget_delivery_method.proto b/third_party/googleapis/google/ads/googleads/v13/enums/budget_delivery_method.proto deleted file mode 100644 index 7dddbc77c..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/budget_delivery_method.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BudgetDeliveryMethodProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing Budget delivery methods. - -// Message describing Budget delivery methods. A delivery method determines the -// rate at which the Budget is spent. -message BudgetDeliveryMethodEnum { - // Possible delivery methods of a Budget. - enum BudgetDeliveryMethod { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The budget server will throttle serving evenly across - // the entire time period. - STANDARD = 2; - - // The budget server will not throttle serving, - // and ads will serve as fast as possible. - ACCELERATED = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/budget_period.proto b/third_party/googleapis/google/ads/googleads/v13/enums/budget_period.proto deleted file mode 100644 index 52e6770d9..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/budget_period.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BudgetPeriodProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing Budget delivery methods. - -// Message describing Budget period. -message BudgetPeriodEnum { - // Possible period of a Budget. - enum BudgetPeriod { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Daily budget. - DAILY = 2; - - // Custom budget, added back in V5. - // Custom bugdet can be used with total_amount to specify lifetime budget - // limit. See: https://support.google.com/google-ads/answer/6385083 for more - // info. - CUSTOM_PERIOD = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/budget_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/budget_status.proto deleted file mode 100644 index af49a1e2c..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/budget_status.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BudgetStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing Budget statuses - -// Message describing a Budget status -message BudgetStatusEnum { - // Possible statuses of a Budget. - enum BudgetStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Budget is enabled. - ENABLED = 2; - - // Budget is removed. - REMOVED = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/budget_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/budget_type.proto deleted file mode 100644 index fabe82f1e..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/budget_type.proto +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BudgetTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing Budget types. - -// Describes Budget types. -message BudgetTypeEnum { - // Possible Budget types. - enum BudgetType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Budget type for standard Google Ads usage. - // Caps daily spend at two times the specified budget amount. - // Full details: https://support.google.com/google-ads/answer/6385083 - STANDARD = 2; - - // Budget type with a fixed cost-per-acquisition (conversion). - // Full details: https://support.google.com/google-ads/answer/7528254 - // - // This type is only supported by campaigns with - // AdvertisingChannelType.DISPLAY (excluding - // AdvertisingChannelSubType.DISPLAY_GMAIL), - // BiddingStrategyType.TARGET_CPA and PaymentMode.CONVERSIONS. - FIXED_CPA = 4; - - // Budget type for Smart Campaign. - // Full details: https://support.google.com/google-ads/answer/7653509 - // - // This type is only supported by campaigns with - // AdvertisingChannelType.SMART and - // AdvertisingChannelSubType.SMART_CAMPAIGN. - SMART_CAMPAIGN = 5; - - // Budget type for Local Services Campaign. - // Full details: https://support.google.com/localservices/answer/7434558 - // - // This type is only supported by campaigns with - // AdvertisingChannelType.LOCAL_SERVICES. - LOCAL_SERVICES = 6; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/call_conversion_reporting_state.proto b/third_party/googleapis/google/ads/googleads/v13/enums/call_conversion_reporting_state.proto deleted file mode 100644 index 8fa1a4a63..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/call_conversion_reporting_state.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CallConversionReportingStateProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing call conversion reporting state. - -// Container for enum describing possible data types for call conversion -// reporting state. -message CallConversionReportingStateEnum { - // Possible data types for a call conversion action state. - enum CallConversionReportingState { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Call conversion action is disabled. - DISABLED = 2; - - // Call conversion action will use call conversion type set at the - // account level. - USE_ACCOUNT_LEVEL_CALL_CONVERSION_ACTION = 3; - - // Call conversion action will use call conversion type set at the resource - // (call only ads/call extensions) level. - USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/call_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v13/enums/call_placeholder_field.proto deleted file mode 100644 index 06504b135..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/call_placeholder_field.proto +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CallPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing Call placeholder fields. - -// Values for Call placeholder fields. -message CallPlaceholderFieldEnum { - // Possible values for Call placeholder fields. - enum CallPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. The advertiser's phone number to append to the ad. - PHONE_NUMBER = 2; - - // Data Type: STRING. Uppercase two-letter country code of the advertiser's - // phone number. - COUNTRY_CODE = 3; - - // Data Type: BOOLEAN. Indicates whether call tracking is enabled. Default: - // true. - TRACKED = 4; - - // Data Type: INT64. The ID of an AdCallMetricsConversion object. This - // object contains the phoneCallDurationfield which is the minimum duration - // (in seconds) of a call to be considered a conversion. - CONVERSION_TYPE_ID = 5; - - // Data Type: STRING. Indicates whether this call extension uses its own - // call conversion setting or follows the account level setting. - // Valid values are: USE_ACCOUNT_LEVEL_CALL_CONVERSION_ACTION and - // USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION. - CONVERSION_REPORTING_STATE = 6; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/call_to_action_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/call_to_action_type.proto deleted file mode 100644 index 60aa9e4f6..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/call_to_action_type.proto +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CallToActionTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing call to action type. - -// Container for enum describing the call to action types. -message CallToActionTypeEnum { - // Enum describing possible types of call to action. - enum CallToActionType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The call to action type is learn more. - LEARN_MORE = 2; - - // The call to action type is get quote. - GET_QUOTE = 3; - - // The call to action type is apply now. - APPLY_NOW = 4; - - // The call to action type is sign up. - SIGN_UP = 5; - - // The call to action type is contact us. - CONTACT_US = 6; - - // The call to action type is subscribe. - SUBSCRIBE = 7; - - // The call to action type is download. - DOWNLOAD = 8; - - // The call to action type is book now. - BOOK_NOW = 9; - - // The call to action type is shop now. - SHOP_NOW = 10; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/call_tracking_display_location.proto b/third_party/googleapis/google/ads/googleads/v13/enums/call_tracking_display_location.proto deleted file mode 100644 index 9b76b3f52..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/call_tracking_display_location.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CallTrackingDisplayLocationProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing call tracking display location. - -// Container for enum describing possible call tracking display locations. -message CallTrackingDisplayLocationEnum { - // Possible call tracking display locations. - enum CallTrackingDisplayLocation { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The phone call placed from the ad. - AD = 2; - - // The phone call placed from the landing page ad points to. - LANDING_PAGE = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/call_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/call_type.proto deleted file mode 100644 index 75d79a7fe..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/call_type.proto +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CallTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing call types. - -// Container for enum describing possible types of property from where the call -// was made. -message CallTypeEnum { - // Possible types of property from where the call was made. - enum CallType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The phone call was manually dialed. - MANUALLY_DIALED = 2; - - // The phone call was a mobile click-to-call. - HIGH_END_MOBILE_SEARCH = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/callout_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v13/enums/callout_placeholder_field.proto deleted file mode 100644 index 697530b97..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/callout_placeholder_field.proto +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CalloutPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing Callout placeholder fields. - -// Values for Callout placeholder fields. -message CalloutPlaceholderFieldEnum { - // Possible values for Callout placeholder fields. - enum CalloutPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. Callout text. - CALLOUT_TEXT = 2; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/campaign_criterion_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/campaign_criterion_status.proto deleted file mode 100644 index 9d9f7f28d..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/campaign_criterion_status.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CampaignCriterionStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing CampaignCriterion statuses. - -// Message describing CampaignCriterion statuses. -message CampaignCriterionStatusEnum { - // The possible statuses of a CampaignCriterion. - enum CampaignCriterionStatus { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // The campaign criterion is enabled. - ENABLED = 2; - - // The campaign criterion is paused. - PAUSED = 3; - - // The campaign criterion is removed. - REMOVED = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/campaign_draft_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/campaign_draft_status.proto deleted file mode 100644 index c8c812faa..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/campaign_draft_status.proto +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CampaignDraftStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing campaign draft status. - -// Container for enum describing possible statuses of a campaign draft. -message CampaignDraftStatusEnum { - // Possible statuses of a campaign draft. - enum CampaignDraftStatus { - // The status has not been specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Initial state of the draft, the advertiser can start adding changes with - // no effect on serving. - PROPOSED = 2; - - // The campaign draft is removed. - REMOVED = 3; - - // Advertiser requested to promote draft's changes back into the original - // campaign. Advertiser can poll the long running operation returned by - // the promote action to see the status of the promotion. - PROMOTING = 5; - - // The process to merge changes in the draft back to the original campaign - // has completed successfully. - PROMOTED = 4; - - // The promotion failed after it was partially applied. Promote cannot be - // attempted again safely, so the issue must be corrected in the original - // campaign. - PROMOTE_FAILED = 6; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/campaign_experiment_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/campaign_experiment_type.proto deleted file mode 100644 index bbd57e52b..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/campaign_experiment_type.proto +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CampaignExperimentTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing campaign experiment type. - -// Container for enum describing campaign experiment type. -message CampaignExperimentTypeEnum { - // Indicates if this campaign is a normal campaign, - // a draft campaign, or an experiment campaign. - enum CampaignExperimentType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // This is a regular campaign. - BASE = 2; - - // This is a draft version of a campaign. - // It has some modifications from a base campaign, - // but it does not serve or accrue metrics. - DRAFT = 3; - - // This is an experiment version of a campaign. - // It has some modifications from a base campaign, - // and a percentage of traffic is being diverted - // from the BASE campaign to this experiment campaign. - EXPERIMENT = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/campaign_group_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/campaign_group_status.proto deleted file mode 100644 index 275a94c65..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/campaign_group_status.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CampaignGroupStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing CampaignGroup statuses. - -// Message describing CampaignGroup statuses. -message CampaignGroupStatusEnum { - // Possible statuses of a CampaignGroup. - enum CampaignGroupStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The campaign group is active. - ENABLED = 2; - - // The campaign group has been removed. - REMOVED = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/campaign_primary_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/campaign_primary_status.proto deleted file mode 100644 index a45804d30..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/campaign_primary_status.proto +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CampaignPrimaryStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing Campaign primary statuses. - -// Container for enum describing possible campaign primary status. -message CampaignPrimaryStatusEnum { - // Enum describing the possible campaign primary status. Provides insight into - // why a campaign is not serving or not serving optimally. Modification to the - // campaign and its related entities might take a while to be reflected in - // this status. - enum CampaignPrimaryStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The campaign is eligible to serve. - ELIGIBLE = 2; - - // The user-specified campaign status is paused. - PAUSED = 3; - - // The user-specified campaign status is removed. - REMOVED = 4; - - // The user-specified time for this campaign to end has passed. - ENDED = 5; - - // The campaign may serve in the future. - PENDING = 6; - - // The campaign or its associated entities have incorrect user-specified - // settings. - MISCONFIGURED = 7; - - // The campaign or its associated entities are limited by user-specified - // settings. - LIMITED = 8; - - // The automated bidding system is adjusting to user-specified changes to - // the campaign or associated entities. - LEARNING = 9; - - // The campaign is not eligible to serve. - NOT_ELIGIBLE = 10; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/campaign_primary_status_reason.proto b/third_party/googleapis/google/ads/googleads/v13/enums/campaign_primary_status_reason.proto deleted file mode 100644 index 63a8d335a..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/campaign_primary_status_reason.proto +++ /dev/null @@ -1,145 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CampaignPrimaryStatusReasonProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing CampaignPrimaryStatusReasons. - -// Container for enum describing possible campaign primary status reasons. -message CampaignPrimaryStatusReasonEnum { - // Enum describing the possible campaign primary status reasons. Provides - // insight into why a campaign is not serving or not serving optimally. These - // reasons are aggregated to determine an overall campaign primary status. - enum CampaignPrimaryStatusReason { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The user-specified campaign status is removed. - CAMPAIGN_REMOVED = 2; - - // The user-specified campaign status is paused. - CAMPAIGN_PAUSED = 3; - - // The user-specified time for this campaign to start is in the future. - CAMPAIGN_PENDING = 4; - - // The user-specified time for this campaign to end has passed. - CAMPAIGN_ENDED = 5; - - // The campaign is a draft. - CAMPAIGN_DRAFT = 6; - - // The bidding strategy has incorrect user-specified settings. - BIDDING_STRATEGY_MISCONFIGURED = 7; - - // The bidding strategy is limited by user-specified settings such as lack - // of data or similar. - BIDDING_STRATEGY_LIMITED = 8; - - // The automated bidding system is adjusting to user-specified changes to - // the bidding strategy. - BIDDING_STRATEGY_LEARNING = 9; - - // Campaign could capture more conversion value by adjusting CPA/ROAS - // targets. - BIDDING_STRATEGY_CONSTRAINED = 10; - - // The budget is limiting the campaign's ability to serve. - BUDGET_CONSTRAINED = 11; - - // The budget has incorrect user-specified settings. - BUDGET_MISCONFIGURED = 12; - - // Campaign is not targeting all relevant queries. - SEARCH_VOLUME_LIMITED = 13; - - // The user-specified ad group statuses are all paused. - AD_GROUPS_PAUSED = 14; - - // No eligible ad groups exist in this campaign. - NO_AD_GROUPS = 15; - - // The user-specified keyword statuses are all paused. - KEYWORDS_PAUSED = 16; - - // No eligible keywords exist in this campaign. - NO_KEYWORDS = 17; - - // The user-specified ad group ad statuses are all paused. - AD_GROUP_ADS_PAUSED = 18; - - // No eligible ad group ads exist in this campaign. - NO_AD_GROUP_ADS = 19; - - // At least one ad in this campaign is limited by policy. - HAS_ADS_LIMITED_BY_POLICY = 20; - - // At least one ad in this campaign is disapproved. - HAS_ADS_DISAPPROVED = 21; - - // Most ads in this campaign are pending review. - MOST_ADS_UNDER_REVIEW = 22; - - // The campaign has a lead form goal, and the lead form extension is - // missing. - MISSING_LEAD_FORM_EXTENSION = 23; - - // The campaign has a call goal, and the call extension is missing. - MISSING_CALL_EXTENSION = 24; - - // The lead form extension is under review. - LEAD_FORM_EXTENSION_UNDER_REVIEW = 25; - - // The lead extension is disapproved. - LEAD_FORM_EXTENSION_DISAPPROVED = 26; - - // The call extension is under review. - CALL_EXTENSION_UNDER_REVIEW = 27; - - // The call extension is disapproved. - CALL_EXTENSION_DISAPPROVED = 28; - - // No eligible mobile application ad group criteria exist in this campaign. - NO_MOBILE_APPLICATION_AD_GROUP_CRITERIA = 29; - - // The user-specified campaign group status is paused. - CAMPAIGN_GROUP_PAUSED = 30; - - // The user-specified times of all group budgets associated with the parent - // campaign group has passed. - CAMPAIGN_GROUP_ALL_GROUP_BUDGETS_ENDED = 31; - - // The app associated with this ACi campaign is not released in the target - // countries of the campaign. - APP_NOT_RELEASED = 32; - - // The app associated with this ACi campaign is partially released in the - // target countries of the campaign. - APP_PARTIALLY_RELEASED = 33; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/campaign_serving_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/campaign_serving_status.proto deleted file mode 100644 index 1a6663aa9..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/campaign_serving_status.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CampaignServingStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing Campaign serving statuses. - -// Message describing Campaign serving statuses. -message CampaignServingStatusEnum { - // Possible serving statuses of a campaign. - enum CampaignServingStatus { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // Serving. - SERVING = 2; - - // None. - NONE = 3; - - // Ended. - ENDED = 4; - - // Pending. - PENDING = 5; - - // Suspended. - SUSPENDED = 6; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/campaign_shared_set_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/campaign_shared_set_status.proto deleted file mode 100644 index fb28d6098..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/campaign_shared_set_status.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CampaignSharedSetStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing campaign shared set statuses. - -// Container for enum describing types of campaign shared set statuses. -message CampaignSharedSetStatusEnum { - // Enum listing the possible campaign shared set statuses. - enum CampaignSharedSetStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The campaign shared set is enabled. - ENABLED = 2; - - // The campaign shared set is removed and can no longer be used. - REMOVED = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/campaign_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/campaign_status.proto deleted file mode 100644 index 9f198de49..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/campaign_status.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CampaignStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing campaign status. - -// Container for enum describing possible statuses of a campaign. -message CampaignStatusEnum { - // Possible statuses of a campaign. - enum CampaignStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Campaign is active and can show ads. - ENABLED = 2; - - // Campaign has been paused by the user. - PAUSED = 3; - - // Campaign has been removed. - REMOVED = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/chain_relationship_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/chain_relationship_type.proto deleted file mode 100644 index c084ca75f..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/chain_relationship_type.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ChainRelationshipTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing relationship type. - -// Container for enum describing possible types of a relationship. -message ChainRelationshipTypeEnum { - // Possible types of a relationship. - enum ChainRelationshipType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Auto dealer relationship. - AUTO_DEALERS = 2; - - // General retailer relationship. - GENERAL_RETAILERS = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/change_client_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/change_client_type.proto deleted file mode 100644 index 152eea6d1..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/change_client_type.proto +++ /dev/null @@ -1,84 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ChangeClientTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing the sources that the change event resource was -// made through. - -// Container for enum describing the sources that the change event resource -// was made through. -message ChangeClientTypeEnum { - // The source that the change_event resource was made through. - enum ChangeClientType { - // No value has been specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents an unclassified client type - // unknown in this version. - UNKNOWN = 1; - - // Changes made through the "ads.google.com". - // For example, changes made through campaign management. - GOOGLE_ADS_WEB_CLIENT = 2; - - // Changes made through Google Ads automated rules. - GOOGLE_ADS_AUTOMATED_RULE = 3; - - // Changes made through Google Ads scripts. - GOOGLE_ADS_SCRIPTS = 4; - - // Changes made by Google Ads bulk upload. - GOOGLE_ADS_BULK_UPLOAD = 5; - - // Changes made by Google Ads API. - GOOGLE_ADS_API = 6; - - // Changes made by Google Ads Editor. This value is a placeholder. - // The API does not return these changes. - GOOGLE_ADS_EDITOR = 7; - - // Changes made by Google Ads mobile app. - GOOGLE_ADS_MOBILE_APP = 8; - - // Changes made through Google Ads recommendations. - GOOGLE_ADS_RECOMMENDATIONS = 9; - - // Changes made through Search Ads 360 Sync. - SEARCH_ADS_360_SYNC = 10; - - // Changes made through Search Ads 360 Post. - SEARCH_ADS_360_POST = 11; - - // Changes made through internal tools. - // For example, when a user sets a URL template on an entity like a - // Campaign, it's automatically wrapped with the SA360 Clickserver URL. - INTERNAL_TOOL = 12; - - // Types of changes that are not categorized, for example, - // changes made by coupon redemption through Google Ads. - OTHER = 13; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/change_event_resource_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/change_event_resource_type.proto deleted file mode 100644 index adc0b4b01..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/change_event_resource_type.proto +++ /dev/null @@ -1,99 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ChangeEventResourceTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing the resource types the ChangeEvent resource supports. - -// Container for enum describing supported resource types for the ChangeEvent -// resource. -message ChangeEventResourceTypeEnum { - // Enum listing the resource types support by the ChangeEvent resource. - enum ChangeEventResourceType { - // No value has been specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents an unclassified resource unknown - // in this version. - UNKNOWN = 1; - - // An Ad resource change. - AD = 2; - - // An AdGroup resource change. - AD_GROUP = 3; - - // An AdGroupCriterion resource change. - AD_GROUP_CRITERION = 4; - - // A Campaign resource change. - CAMPAIGN = 5; - - // A CampaignBudget resource change. - CAMPAIGN_BUDGET = 6; - - // An AdGroupBidModifier resource change. - AD_GROUP_BID_MODIFIER = 7; - - // A CampaignCriterion resource change. - CAMPAIGN_CRITERION = 8; - - // A Feed resource change. - FEED = 9; - - // A FeedItem resource change. - FEED_ITEM = 10; - - // A CampaignFeed resource change. - CAMPAIGN_FEED = 11; - - // An AdGroupFeed resource change. - AD_GROUP_FEED = 12; - - // An AdGroupAd resource change. - AD_GROUP_AD = 13; - - // An Asset resource change. - ASSET = 14; - - // A CustomerAsset resource change. - CUSTOMER_ASSET = 15; - - // A CampaignAsset resource change. - CAMPAIGN_ASSET = 16; - - // An AdGroupAsset resource change. - AD_GROUP_ASSET = 17; - - // An AssetSet resource change. - ASSET_SET = 18; - - // An AssetSetAsset resource change. - ASSET_SET_ASSET = 19; - - // A CampaignAssetSet resource change. - CAMPAIGN_ASSET_SET = 20; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/change_status_operation.proto b/third_party/googleapis/google/ads/googleads/v13/enums/change_status_operation.proto deleted file mode 100644 index dab2cbfdc..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/change_status_operation.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ChangeStatusOperationProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing the change status operations. - -// Container for enum describing operations for the ChangeStatus resource. -message ChangeStatusOperationEnum { - // Status of the changed resource - enum ChangeStatusOperation { - // No value has been specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents an unclassified resource unknown - // in this version. - UNKNOWN = 1; - - // The resource was created. - ADDED = 2; - - // The resource was modified. - CHANGED = 3; - - // The resource was removed. - REMOVED = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/change_status_resource_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/change_status_resource_type.proto deleted file mode 100644 index 94c928ab0..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/change_status_resource_type.proto +++ /dev/null @@ -1,93 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ChangeStatusResourceTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing the resource types the ChangeStatus resource supports. - -// Container for enum describing supported resource types for the ChangeStatus -// resource. -message ChangeStatusResourceTypeEnum { - // Enum listing the resource types support by the ChangeStatus resource. - enum ChangeStatusResourceType { - // No value has been specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents an unclassified resource unknown - // in this version. - UNKNOWN = 1; - - // An AdGroup resource change. - AD_GROUP = 3; - - // An AdGroupAd resource change. - AD_GROUP_AD = 4; - - // An AdGroupCriterion resource change. - AD_GROUP_CRITERION = 5; - - // A Campaign resource change. - CAMPAIGN = 6; - - // A CampaignCriterion resource change. - CAMPAIGN_CRITERION = 7; - - // A Feed resource change. - FEED = 9; - - // A FeedItem resource change. - FEED_ITEM = 10; - - // An AdGroupFeed resource change. - AD_GROUP_FEED = 11; - - // A CampaignFeed resource change. - CAMPAIGN_FEED = 12; - - // An AdGroupBidModifier resource change. - AD_GROUP_BID_MODIFIER = 13; - - // A SharedSet resource change. - SHARED_SET = 14; - - // A CampaignSharedSet resource change. - CAMPAIGN_SHARED_SET = 15; - - // An Asset resource change. - ASSET = 16; - - // A CustomerAsset resource change. - CUSTOMER_ASSET = 17; - - // A CampaignAsset resource change. - CAMPAIGN_ASSET = 18; - - // An AdGroupAsset resource change. - AD_GROUP_ASSET = 19; - - // A CombinedAudience resource change. - COMBINED_AUDIENCE = 20; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/click_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/click_type.proto deleted file mode 100644 index 6983ea76d..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/click_type.proto +++ /dev/null @@ -1,202 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ClickTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing click types. - -// Container for enumeration of Google Ads click types. -message ClickTypeEnum { - // Enumerates Google Ads click types. - enum ClickType { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // App engagement ad deep link. - APP_DEEPLINK = 2; - - // Breadcrumbs. - BREADCRUMBS = 3; - - // Broadband Plan. - BROADBAND_PLAN = 4; - - // Manually dialed phone calls. - CALL_TRACKING = 5; - - // Phone calls. - CALLS = 6; - - // Click on engagement ad. - CLICK_ON_ENGAGEMENT_AD = 7; - - // Driving direction. - GET_DIRECTIONS = 8; - - // Get location details. - LOCATION_EXPANSION = 9; - - // Call. - LOCATION_FORMAT_CALL = 10; - - // Directions. - LOCATION_FORMAT_DIRECTIONS = 11; - - // Image(s). - LOCATION_FORMAT_IMAGE = 12; - - // Go to landing page. - LOCATION_FORMAT_LANDING_PAGE = 13; - - // Map. - LOCATION_FORMAT_MAP = 14; - - // Go to store info. - LOCATION_FORMAT_STORE_INFO = 15; - - // Text. - LOCATION_FORMAT_TEXT = 16; - - // Mobile phone calls. - MOBILE_CALL_TRACKING = 17; - - // Print offer. - OFFER_PRINTS = 18; - - // Other. - OTHER = 19; - - // Product plusbox offer. - PRODUCT_EXTENSION_CLICKS = 20; - - // Shopping - Product - Online. - PRODUCT_LISTING_AD_CLICKS = 21; - - // Sitelink. - SITELINKS = 22; - - // Show nearby locations. - STORE_LOCATOR = 23; - - // Headline. - URL_CLICKS = 25; - - // App store. - VIDEO_APP_STORE_CLICKS = 26; - - // Call-to-Action overlay. - VIDEO_CALL_TO_ACTION_CLICKS = 27; - - // Cards. - VIDEO_CARD_ACTION_HEADLINE_CLICKS = 28; - - // End cap. - VIDEO_END_CAP_CLICKS = 29; - - // Website. - VIDEO_WEBSITE_CLICKS = 30; - - // Visual Sitelinks. - VISUAL_SITELINKS = 31; - - // Wireless Plan. - WIRELESS_PLAN = 32; - - // Shopping - Product - Local. - PRODUCT_LISTING_AD_LOCAL = 33; - - // Shopping - Product - MultiChannel Local. - PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL = 34; - - // Shopping - Product - MultiChannel Online. - PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE = 35; - - // Shopping - Product - Coupon. - PRODUCT_LISTING_ADS_COUPON = 36; - - // Shopping - Product - Sell on Google. - PRODUCT_LISTING_AD_TRANSACTABLE = 37; - - // Shopping - Product - App engagement ad deep link. - PRODUCT_AD_APP_DEEPLINK = 38; - - // Shopping - Showcase - Category. - SHOWCASE_AD_CATEGORY_LINK = 39; - - // Shopping - Showcase - Local storefront. - SHOWCASE_AD_LOCAL_STOREFRONT_LINK = 40; - - // Shopping - Showcase - Online product. - SHOWCASE_AD_ONLINE_PRODUCT_LINK = 42; - - // Shopping - Showcase - Local product. - SHOWCASE_AD_LOCAL_PRODUCT_LINK = 43; - - // Promotion Extension. - PROMOTION_EXTENSION = 44; - - // Ad Headline. - SWIPEABLE_GALLERY_AD_HEADLINE = 45; - - // Swipes. - SWIPEABLE_GALLERY_AD_SWIPES = 46; - - // See More. - SWIPEABLE_GALLERY_AD_SEE_MORE = 47; - - // Sitelink 1. - SWIPEABLE_GALLERY_AD_SITELINK_ONE = 48; - - // Sitelink 2. - SWIPEABLE_GALLERY_AD_SITELINK_TWO = 49; - - // Sitelink 3. - SWIPEABLE_GALLERY_AD_SITELINK_THREE = 50; - - // Sitelink 4. - SWIPEABLE_GALLERY_AD_SITELINK_FOUR = 51; - - // Sitelink 5. - SWIPEABLE_GALLERY_AD_SITELINK_FIVE = 52; - - // Hotel price. - HOTEL_PRICE = 53; - - // Price Extension. - PRICE_EXTENSION = 54; - - // Book on Google hotel room selection. - HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION = 55; - - // Shopping - Comparison Listing. - SHOPPING_COMPARISON_LISTING = 56; - - // Cross-network. From Performance Max and Discovery Campaigns. - CROSS_NETWORK = 57; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/combined_audience_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/combined_audience_status.proto deleted file mode 100644 index 6b242e870..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/combined_audience_status.proto +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CombinedAudienceStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing combined audience status. - -// The status of combined audience. -message CombinedAudienceStatusEnum { - // Enum containing possible combined audience status types. - enum CombinedAudienceStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Enabled status - combined audience is enabled and can be targeted. - ENABLED = 2; - - // Removed status - combined audience is removed and cannot be used for - // targeting. - REMOVED = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/content_label_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/content_label_type.proto deleted file mode 100644 index fc1b38a4f..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/content_label_type.proto +++ /dev/null @@ -1,85 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ContentLabelTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing content label types. - -// Container for enum describing content label types in ContentLabel. -message ContentLabelTypeEnum { - // Enum listing the content label types supported by ContentLabel criterion. - enum ContentLabelType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Sexually suggestive content. - SEXUALLY_SUGGESTIVE = 2; - - // Below the fold placement. - BELOW_THE_FOLD = 3; - - // Parked domain. - PARKED_DOMAIN = 4; - - // Juvenile, gross & bizarre content. - JUVENILE = 6; - - // Profanity & rough language. - PROFANITY = 7; - - // Death & tragedy. - TRAGEDY = 8; - - // Video. - VIDEO = 9; - - // Content rating: G. - VIDEO_RATING_DV_G = 10; - - // Content rating: PG. - VIDEO_RATING_DV_PG = 11; - - // Content rating: T. - VIDEO_RATING_DV_T = 12; - - // Content rating: MA. - VIDEO_RATING_DV_MA = 13; - - // Content rating: not yet rated. - VIDEO_NOT_YET_RATED = 14; - - // Embedded video. - EMBEDDED_VIDEO = 15; - - // Live streaming video. - LIVE_STREAMING_VIDEO = 16; - - // Sensitive social issues. - SOCIAL_ISSUES = 17; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/conversion_action_category.proto b/third_party/googleapis/google/ads/googleads/v13/enums/conversion_action_category.proto deleted file mode 100644 index d84d61911..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/conversion_action_category.proto +++ /dev/null @@ -1,112 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionActionCategoryProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Container for enum describing the category of conversions that are associated -// with a ConversionAction. -message ConversionActionCategoryEnum { - // The category of conversions that are associated with a ConversionAction. - enum ConversionActionCategory { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Default category. - DEFAULT = 2; - - // User visiting a page. - PAGE_VIEW = 3; - - // Purchase, sales, or "order placed" event. - PURCHASE = 4; - - // Signup user action. - SIGNUP = 5; - - // Software download action (as for an app). - DOWNLOAD = 7; - - // The addition of items to a shopping cart or bag on an advertiser site. - ADD_TO_CART = 8; - - // When someone enters the checkout flow on an advertiser site. - BEGIN_CHECKOUT = 9; - - // The start of a paid subscription for a product or service. - SUBSCRIBE_PAID = 10; - - // A call to indicate interest in an advertiser's offering. - PHONE_CALL_LEAD = 11; - - // A lead conversion imported from an external source into Google Ads. - IMPORTED_LEAD = 12; - - // A submission of a form on an advertiser site indicating business - // interest. - SUBMIT_LEAD_FORM = 13; - - // A booking of an appointment with an advertiser's business. - BOOK_APPOINTMENT = 14; - - // A quote or price estimate request. - REQUEST_QUOTE = 15; - - // A search for an advertiser's business location with intention to visit. - GET_DIRECTIONS = 16; - - // A click to an advertiser's partner's site. - OUTBOUND_CLICK = 17; - - // A call, SMS, email, chat or other type of contact to an advertiser. - CONTACT = 18; - - // A website engagement event such as long site time or a Google Analytics - // (GA) Smart Goal. Intended to be used for GA, Firebase, GA Gold goal - // imports. - ENGAGEMENT = 19; - - // A visit to a physical store location. - STORE_VISIT = 20; - - // A sale occurring in a physical store. - STORE_SALE = 21; - - // A lead conversion imported from an external source into Google Ads, - // that has been further qualified by the advertiser (marketing/sales team). - // In the lead-to-sale journey, advertisers get leads, then act on them - // by reaching out to the consumer. If the consumer is interested and - // may end up buying their product, the advertiser marks such leads as - // "qualified leads". - QUALIFIED_LEAD = 22; - - // A lead conversion imported from an external source into Google Ads, that - // has further completed a chosen stage as defined by the lead gen - // advertiser. - CONVERTED_LEAD = 23; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/conversion_action_counting_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/conversion_action_counting_type.proto deleted file mode 100644 index e71e0dca4..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/conversion_action_counting_type.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionActionCountingTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing conversion action counting type. - -// Container for enum describing the conversion deduplication mode for -// conversion optimizer. -message ConversionActionCountingTypeEnum { - // Indicates how conversions for this action will be counted. For more - // information, see https://support.google.com/google-ads/answer/3438531. - enum ConversionActionCountingType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Count only one conversion per click. - ONE_PER_CLICK = 2; - - // Count all conversions per click. - MANY_PER_CLICK = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/conversion_action_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/conversion_action_status.proto deleted file mode 100644 index 4e23c2f03..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/conversion_action_status.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionActionStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing conversion action status. - -// Container for enum describing possible statuses of a conversion action. -message ConversionActionStatusEnum { - // Possible statuses of a conversion action. - enum ConversionActionStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Conversions will be recorded. - ENABLED = 2; - - // Conversions will not be recorded. - REMOVED = 3; - - // Conversions will not be recorded and the conversion action will not - // appear in the UI. - HIDDEN = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/conversion_action_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/conversion_action_type.proto deleted file mode 100644 index 606be6bcf..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/conversion_action_type.proto +++ /dev/null @@ -1,175 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionActionTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing conversion action type. - -// Container for enum describing possible types of a conversion action. -message ConversionActionTypeEnum { - // Possible types of a conversion action. - enum ConversionActionType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Conversions that occur when a user clicks on an ad's call extension. - AD_CALL = 2; - - // Conversions that occur when a user on a mobile device clicks a phone - // number. - CLICK_TO_CALL = 3; - - // Conversions that occur when a user downloads a mobile app from the Google - // Play Store. - GOOGLE_PLAY_DOWNLOAD = 4; - - // Conversions that occur when a user makes a purchase in an app through - // Android billing. - GOOGLE_PLAY_IN_APP_PURCHASE = 5; - - // Call conversions that are tracked by the advertiser and uploaded. - UPLOAD_CALLS = 6; - - // Conversions that are tracked by the advertiser and uploaded with - // attributed clicks. - UPLOAD_CLICKS = 7; - - // Conversions that occur on a webpage. - WEBPAGE = 8; - - // Conversions that occur when a user calls a dynamically-generated phone - // number from an advertiser's website. - WEBSITE_CALL = 9; - - // Store Sales conversion based on first-party or third-party merchant - // data uploads. - // Only customers on the allowlist can use store sales direct upload types. - STORE_SALES_DIRECT_UPLOAD = 10; - - // Store Sales conversion based on first-party or third-party merchant - // data uploads and/or from in-store purchases using cards from payment - // networks. - // Only customers on the allowlist can use store sales types. - // Read only. - STORE_SALES = 11; - - // Android app first open conversions tracked through Firebase. - FIREBASE_ANDROID_FIRST_OPEN = 12; - - // Android app in app purchase conversions tracked through Firebase. - FIREBASE_ANDROID_IN_APP_PURCHASE = 13; - - // Android app custom conversions tracked through Firebase. - FIREBASE_ANDROID_CUSTOM = 14; - - // iOS app first open conversions tracked through Firebase. - FIREBASE_IOS_FIRST_OPEN = 15; - - // iOS app in app purchase conversions tracked through Firebase. - FIREBASE_IOS_IN_APP_PURCHASE = 16; - - // iOS app custom conversions tracked through Firebase. - FIREBASE_IOS_CUSTOM = 17; - - // Android app first open conversions tracked through Third Party App - // Analytics. - THIRD_PARTY_APP_ANALYTICS_ANDROID_FIRST_OPEN = 18; - - // Android app in app purchase conversions tracked through Third Party App - // Analytics. - THIRD_PARTY_APP_ANALYTICS_ANDROID_IN_APP_PURCHASE = 19; - - // Android app custom conversions tracked through Third Party App Analytics. - THIRD_PARTY_APP_ANALYTICS_ANDROID_CUSTOM = 20; - - // iOS app first open conversions tracked through Third Party App Analytics. - THIRD_PARTY_APP_ANALYTICS_IOS_FIRST_OPEN = 21; - - // iOS app in app purchase conversions tracked through Third Party App - // Analytics. - THIRD_PARTY_APP_ANALYTICS_IOS_IN_APP_PURCHASE = 22; - - // iOS app custom conversions tracked through Third Party App Analytics. - THIRD_PARTY_APP_ANALYTICS_IOS_CUSTOM = 23; - - // Conversions that occur when a user pre-registers a mobile app from the - // Google Play Store. Read only. - ANDROID_APP_PRE_REGISTRATION = 24; - - // Conversions that track all Google Play downloads which aren't tracked - // by an app-specific type. Read only. - ANDROID_INSTALLS_ALL_OTHER_APPS = 25; - - // Floodlight activity that counts the number of times that users have - // visited a particular webpage after seeing or clicking on one of - // an advertiser's ads. Read only. - FLOODLIGHT_ACTION = 26; - - // Floodlight activity that tracks the number of sales made or the number - // of items purchased. Can also capture the total value of each sale. - // Read only. - FLOODLIGHT_TRANSACTION = 27; - - // Conversions that track local actions from Google's products and - // services after interacting with an ad. Read only. - GOOGLE_HOSTED = 28; - - // Conversions reported when a user submits a lead form. Read only. - LEAD_FORM_SUBMIT = 29; - - // Conversions that come from Salesforce. Read only. - SALESFORCE = 30; - - // Conversions imported from Search Ads 360 Floodlight data. Read only. - SEARCH_ADS_360 = 31; - - // Call conversions that occur on Smart campaign Ads without call tracking - // setup, using Smart campaign custom criteria. Read only. - SMART_CAMPAIGN_AD_CLICKS_TO_CALL = 32; - - // The user clicks on a call element within Google Maps. Smart campaign - // only. Read only. - SMART_CAMPAIGN_MAP_CLICKS_TO_CALL = 33; - - // The user requests directions to a business location within Google Maps. - // Smart campaign only. Read only. - SMART_CAMPAIGN_MAP_DIRECTIONS = 34; - - // Call conversions that occur on Smart campaign Ads with call tracking - // setup, using Smart campaign custom criteria. Read only. - SMART_CAMPAIGN_TRACKED_CALLS = 35; - - // Conversions that occur when a user visits an advertiser's retail store. - // Read only. - STORE_VISITS = 36; - - // Conversions created from website events (such as form submissions or page - // loads), that don't use individually coded event snippets. - WEBPAGE_CODELESS = 37; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/conversion_adjustment_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/conversion_adjustment_type.proto deleted file mode 100644 index 9ca36bced..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/conversion_adjustment_type.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionAdjustmentTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing conversion adjustment type. - -// Container for enum describing conversion adjustment types. -message ConversionAdjustmentTypeEnum { - // The different actions advertisers can take to adjust the conversions that - // they already reported. Retractions negate a conversion. Restatements change - // the value of a conversion. - enum ConversionAdjustmentType { - // Not specified. - UNSPECIFIED = 0; - - // Represents value unknown in this version. - UNKNOWN = 1; - - // Negates a conversion so that its total value and count are both zero. - RETRACTION = 2; - - // Changes the value of a conversion. - RESTATEMENT = 3; - - // Supplements an existing conversion with provided user identifiers and - // user agent, which can be used by Google to enhance the conversion count. - ENHANCEMENT = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/conversion_attribution_event_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/conversion_attribution_event_type.proto deleted file mode 100644 index 5c1c9f5c9..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/conversion_attribution_event_type.proto +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionAttributionEventTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Container for enum indicating the event type the conversion is attributed to. -message ConversionAttributionEventTypeEnum { - // The event type of conversions that are attributed to. - enum ConversionAttributionEventType { - // Not specified. - UNSPECIFIED = 0; - - // Represents value unknown in this version. - UNKNOWN = 1; - - // The conversion is attributed to an impression. - IMPRESSION = 2; - - // The conversion is attributed to an interaction. - INTERACTION = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/conversion_custom_variable_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/conversion_custom_variable_status.proto deleted file mode 100644 index 0bd1ebd2a..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/conversion_custom_variable_status.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionCustomVariableStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing conversion custom variable status. - -// Container for enum describing possible statuses of a conversion custom -// variable. -message ConversionCustomVariableStatusEnum { - // Possible statuses of a conversion custom variable. - enum ConversionCustomVariableStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The conversion custom variable is pending activation and will not - // accrue stats until set to ENABLED. - // - // This status can't be used in CREATE and UPDATE requests. - ACTIVATION_NEEDED = 2; - - // The conversion custom variable is enabled and will accrue stats. - ENABLED = 3; - - // The conversion custom variable is paused and will not accrue stats - // until set to ENABLED again. - PAUSED = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/conversion_environment_enum.proto b/third_party/googleapis/google/ads/googleads/v13/enums/conversion_environment_enum.proto deleted file mode 100644 index 9cdecb906..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/conversion_environment_enum.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionEnvironmentEnumProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Container for enum representing the conversion environment an uploaded -// conversion was recorded on, for example, App or Web. -message ConversionEnvironmentEnum { - // Conversion environment of the uploaded conversion. - enum ConversionEnvironment { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The conversion was recorded on an app. - APP = 2; - - // The conversion was recorded on a website. - WEB = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/conversion_lag_bucket.proto b/third_party/googleapis/google/ads/googleads/v13/enums/conversion_lag_bucket.proto deleted file mode 100644 index 5a22dd5e6..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/conversion_lag_bucket.proto +++ /dev/null @@ -1,113 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionLagBucketProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Container for enum representing the number of days between impression and -// conversion. -message ConversionLagBucketEnum { - // Enum representing the number of days between impression and conversion. - enum ConversionLagBucket { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Conversion lag bucket from 0 to 1 day. 0 day is included, 1 day is not. - LESS_THAN_ONE_DAY = 2; - - // Conversion lag bucket from 1 to 2 days. 1 day is included, 2 days is not. - ONE_TO_TWO_DAYS = 3; - - // Conversion lag bucket from 2 to 3 days. 2 days is included, - // 3 days is not. - TWO_TO_THREE_DAYS = 4; - - // Conversion lag bucket from 3 to 4 days. 3 days is included, - // 4 days is not. - THREE_TO_FOUR_DAYS = 5; - - // Conversion lag bucket from 4 to 5 days. 4 days is included, - // 5 days is not. - FOUR_TO_FIVE_DAYS = 6; - - // Conversion lag bucket from 5 to 6 days. 5 days is included, - // 6 days is not. - FIVE_TO_SIX_DAYS = 7; - - // Conversion lag bucket from 6 to 7 days. 6 days is included, - // 7 days is not. - SIX_TO_SEVEN_DAYS = 8; - - // Conversion lag bucket from 7 to 8 days. 7 days is included, - // 8 days is not. - SEVEN_TO_EIGHT_DAYS = 9; - - // Conversion lag bucket from 8 to 9 days. 8 days is included, - // 9 days is not. - EIGHT_TO_NINE_DAYS = 10; - - // Conversion lag bucket from 9 to 10 days. 9 days is included, - // 10 days is not. - NINE_TO_TEN_DAYS = 11; - - // Conversion lag bucket from 10 to 11 days. 10 days is included, - // 11 days is not. - TEN_TO_ELEVEN_DAYS = 12; - - // Conversion lag bucket from 11 to 12 days. 11 days is included, - // 12 days is not. - ELEVEN_TO_TWELVE_DAYS = 13; - - // Conversion lag bucket from 12 to 13 days. 12 days is included, - // 13 days is not. - TWELVE_TO_THIRTEEN_DAYS = 14; - - // Conversion lag bucket from 13 to 14 days. 13 days is included, - // 14 days is not. - THIRTEEN_TO_FOURTEEN_DAYS = 15; - - // Conversion lag bucket from 14 to 21 days. 14 days is included, - // 21 days is not. - FOURTEEN_TO_TWENTY_ONE_DAYS = 16; - - // Conversion lag bucket from 21 to 30 days. 21 days is included, - // 30 days is not. - TWENTY_ONE_TO_THIRTY_DAYS = 17; - - // Conversion lag bucket from 30 to 45 days. 30 days is included, - // 45 days is not. - THIRTY_TO_FORTY_FIVE_DAYS = 18; - - // Conversion lag bucket from 45 to 60 days. 45 days is included, - // 60 days is not. - FORTY_FIVE_TO_SIXTY_DAYS = 19; - - // Conversion lag bucket from 60 to 90 days. 60 days is included, - // 90 days is not. - SIXTY_TO_NINETY_DAYS = 20; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/conversion_or_adjustment_lag_bucket.proto b/third_party/googleapis/google/ads/googleads/v13/enums/conversion_or_adjustment_lag_bucket.proto deleted file mode 100644 index 4dc8524ce..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/conversion_or_adjustment_lag_bucket.proto +++ /dev/null @@ -1,202 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionOrAdjustmentLagBucketProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Container for enum representing the number of days between the impression and -// the conversion or between the impression and adjustments to the conversion. -message ConversionOrAdjustmentLagBucketEnum { - // Enum representing the number of days between the impression and the - // conversion or between the impression and adjustments to the conversion. - enum ConversionOrAdjustmentLagBucket { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Conversion lag bucket from 0 to 1 day. 0 day is included, 1 day is not. - CONVERSION_LESS_THAN_ONE_DAY = 2; - - // Conversion lag bucket from 1 to 2 days. 1 day is included, 2 days is not. - CONVERSION_ONE_TO_TWO_DAYS = 3; - - // Conversion lag bucket from 2 to 3 days. 2 days is included, - // 3 days is not. - CONVERSION_TWO_TO_THREE_DAYS = 4; - - // Conversion lag bucket from 3 to 4 days. 3 days is included, - // 4 days is not. - CONVERSION_THREE_TO_FOUR_DAYS = 5; - - // Conversion lag bucket from 4 to 5 days. 4 days is included, - // 5 days is not. - CONVERSION_FOUR_TO_FIVE_DAYS = 6; - - // Conversion lag bucket from 5 to 6 days. 5 days is included, - // 6 days is not. - CONVERSION_FIVE_TO_SIX_DAYS = 7; - - // Conversion lag bucket from 6 to 7 days. 6 days is included, - // 7 days is not. - CONVERSION_SIX_TO_SEVEN_DAYS = 8; - - // Conversion lag bucket from 7 to 8 days. 7 days is included, - // 8 days is not. - CONVERSION_SEVEN_TO_EIGHT_DAYS = 9; - - // Conversion lag bucket from 8 to 9 days. 8 days is included, - // 9 days is not. - CONVERSION_EIGHT_TO_NINE_DAYS = 10; - - // Conversion lag bucket from 9 to 10 days. 9 days is included, - // 10 days is not. - CONVERSION_NINE_TO_TEN_DAYS = 11; - - // Conversion lag bucket from 10 to 11 days. 10 days is included, - // 11 days is not. - CONVERSION_TEN_TO_ELEVEN_DAYS = 12; - - // Conversion lag bucket from 11 to 12 days. 11 days is included, - // 12 days is not. - CONVERSION_ELEVEN_TO_TWELVE_DAYS = 13; - - // Conversion lag bucket from 12 to 13 days. 12 days is included, - // 13 days is not. - CONVERSION_TWELVE_TO_THIRTEEN_DAYS = 14; - - // Conversion lag bucket from 13 to 14 days. 13 days is included, - // 14 days is not. - CONVERSION_THIRTEEN_TO_FOURTEEN_DAYS = 15; - - // Conversion lag bucket from 14 to 21 days. 14 days is included, - // 21 days is not. - CONVERSION_FOURTEEN_TO_TWENTY_ONE_DAYS = 16; - - // Conversion lag bucket from 21 to 30 days. 21 days is included, - // 30 days is not. - CONVERSION_TWENTY_ONE_TO_THIRTY_DAYS = 17; - - // Conversion lag bucket from 30 to 45 days. 30 days is included, - // 45 days is not. - CONVERSION_THIRTY_TO_FORTY_FIVE_DAYS = 18; - - // Conversion lag bucket from 45 to 60 days. 45 days is included, - // 60 days is not. - CONVERSION_FORTY_FIVE_TO_SIXTY_DAYS = 19; - - // Conversion lag bucket from 60 to 90 days. 60 days is included, - // 90 days is not. - CONVERSION_SIXTY_TO_NINETY_DAYS = 20; - - // Conversion adjustment lag bucket from 0 to 1 day. 0 day is included, - // 1 day is not. - ADJUSTMENT_LESS_THAN_ONE_DAY = 21; - - // Conversion adjustment lag bucket from 1 to 2 days. 1 day is included, - // 2 days is not. - ADJUSTMENT_ONE_TO_TWO_DAYS = 22; - - // Conversion adjustment lag bucket from 2 to 3 days. 2 days is included, - // 3 days is not. - ADJUSTMENT_TWO_TO_THREE_DAYS = 23; - - // Conversion adjustment lag bucket from 3 to 4 days. 3 days is included, - // 4 days is not. - ADJUSTMENT_THREE_TO_FOUR_DAYS = 24; - - // Conversion adjustment lag bucket from 4 to 5 days. 4 days is included, - // 5 days is not. - ADJUSTMENT_FOUR_TO_FIVE_DAYS = 25; - - // Conversion adjustment lag bucket from 5 to 6 days. 5 days is included, - // 6 days is not. - ADJUSTMENT_FIVE_TO_SIX_DAYS = 26; - - // Conversion adjustment lag bucket from 6 to 7 days. 6 days is included, - // 7 days is not. - ADJUSTMENT_SIX_TO_SEVEN_DAYS = 27; - - // Conversion adjustment lag bucket from 7 to 8 days. 7 days is included, - // 8 days is not. - ADJUSTMENT_SEVEN_TO_EIGHT_DAYS = 28; - - // Conversion adjustment lag bucket from 8 to 9 days. 8 days is included, - // 9 days is not. - ADJUSTMENT_EIGHT_TO_NINE_DAYS = 29; - - // Conversion adjustment lag bucket from 9 to 10 days. 9 days is included, - // 10 days is not. - ADJUSTMENT_NINE_TO_TEN_DAYS = 30; - - // Conversion adjustment lag bucket from 10 to 11 days. 10 days is included, - // 11 days is not. - ADJUSTMENT_TEN_TO_ELEVEN_DAYS = 31; - - // Conversion adjustment lag bucket from 11 to 12 days. 11 days is included, - // 12 days is not. - ADJUSTMENT_ELEVEN_TO_TWELVE_DAYS = 32; - - // Conversion adjustment lag bucket from 12 to 13 days. 12 days is included, - // 13 days is not. - ADJUSTMENT_TWELVE_TO_THIRTEEN_DAYS = 33; - - // Conversion adjustment lag bucket from 13 to 14 days. 13 days is included, - // 14 days is not. - ADJUSTMENT_THIRTEEN_TO_FOURTEEN_DAYS = 34; - - // Conversion adjustment lag bucket from 14 to 21 days. 14 days is included, - // 21 days is not. - ADJUSTMENT_FOURTEEN_TO_TWENTY_ONE_DAYS = 35; - - // Conversion adjustment lag bucket from 21 to 30 days. 21 days is included, - // 30 days is not. - ADJUSTMENT_TWENTY_ONE_TO_THIRTY_DAYS = 36; - - // Conversion adjustment lag bucket from 30 to 45 days. 30 days is included, - // 45 days is not. - ADJUSTMENT_THIRTY_TO_FORTY_FIVE_DAYS = 37; - - // Conversion adjustment lag bucket from 45 to 60 days. 45 days is included, - // 60 days is not. - ADJUSTMENT_FORTY_FIVE_TO_SIXTY_DAYS = 38; - - // Conversion adjustment lag bucket from 60 to 90 days. 60 days is included, - // 90 days is not. - ADJUSTMENT_SIXTY_TO_NINETY_DAYS = 39; - - // Conversion adjustment lag bucket from 90 to 145 days. 90 days is - // included, 145 days is not. - ADJUSTMENT_NINETY_TO_ONE_HUNDRED_AND_FORTY_FIVE_DAYS = 40; - - // Conversion lag bucket UNKNOWN. This is for dates before conversion lag - // bucket was available in Google Ads. - CONVERSION_UNKNOWN = 41; - - // Conversion adjustment lag bucket UNKNOWN. This is for dates before - // conversion adjustment lag bucket was available in Google Ads. - ADJUSTMENT_UNKNOWN = 42; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/conversion_origin.proto b/third_party/googleapis/google/ads/googleads/v13/enums/conversion_origin.proto deleted file mode 100644 index 90c72e3aa..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/conversion_origin.proto +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionOriginProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing conversion origin. - -// Container for enum describing possible conversion origins. -message ConversionOriginEnum { - // The possible places where a conversion can occur. - enum ConversionOrigin { - // The conversion origin has not been specified. - UNSPECIFIED = 0; - - // The conversion origin is not known in this version. - UNKNOWN = 1; - - // Conversion that occurs when a user visits a website or takes an action - // there after viewing an ad. - WEBSITE = 2; - - // Conversions reported by an offline pipeline which collects local actions - // from Google-hosted pages (for example, Google Maps, Google Place Page, - // etc) and attributes them to relevant ad events. - GOOGLE_HOSTED = 3; - - // Conversion that occurs when a user performs an action through any app - // platforms. - APP = 4; - - // Conversion that occurs when a user makes a call from ads. - CALL_FROM_ADS = 5; - - // Conversion that occurs when a user visits or makes a purchase at a - // physical store. - STORE = 6; - - // Conversion that occurs on YouTube. - YOUTUBE_HOSTED = 7; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/conversion_tracking_status_enum.proto b/third_party/googleapis/google/ads/googleads/v13/enums/conversion_tracking_status_enum.proto deleted file mode 100644 index 0e092c4fd..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/conversion_tracking_status_enum.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionTrackingStatusEnumProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Container for enum representing the conversion tracking status of the -// customer. -message ConversionTrackingStatusEnum { - // Conversion Tracking status of the customer. - enum ConversionTrackingStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Customer does not use any conversion tracking. - NOT_CONVERSION_TRACKED = 2; - - // The conversion actions are created and managed by this customer. - CONVERSION_TRACKING_MANAGED_BY_SELF = 3; - - // The conversion actions are created and managed by the manager specified - // in the request's `login-customer-id`. - CONVERSION_TRACKING_MANAGED_BY_THIS_MANAGER = 4; - - // The conversion actions are created and managed by a manager different - // from the customer or manager specified in the request's - // `login-customer-id`. - CONVERSION_TRACKING_MANAGED_BY_ANOTHER_MANAGER = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/conversion_value_rule_primary_dimension.proto b/third_party/googleapis/google/ads/googleads/v13/enums/conversion_value_rule_primary_dimension.proto deleted file mode 100644 index ef48b2be3..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/conversion_value_rule_primary_dimension.proto +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionValueRulePrimaryDimensionProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing conversion value rule primary dimension. - -// Container for enum describing value rule primary dimension for stats. -message ConversionValueRulePrimaryDimensionEnum { - // Identifies the primary dimension for conversion value rule stats. - enum ConversionValueRulePrimaryDimension { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // For no-value-rule-applied conversions after value rule is enabled. - NO_RULE_APPLIED = 2; - - // Below are for value-rule-applied conversions: - // The original stats. - ORIGINAL = 3; - - // When a new or returning customer condition is satisfied. - NEW_VS_RETURNING_USER = 4; - - // When a query-time Geo location condition is satisfied. - GEO_LOCATION = 5; - - // When a query-time browsing device condition is satisfied. - DEVICE = 6; - - // When a query-time audience condition is satisfied. - AUDIENCE = 7; - - // When multiple rules are applied. - MULTIPLE = 8; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/conversion_value_rule_set_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/conversion_value_rule_set_status.proto deleted file mode 100644 index bd46ac2a1..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/conversion_value_rule_set_status.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionValueRuleSetStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing conversion value rule set status. - -// Container for enum describing possible statuses of a conversion value rule -// set. -message ConversionValueRuleSetStatusEnum { - // Possible statuses of a conversion value rule set. - enum ConversionValueRuleSetStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Conversion Value Rule Set is enabled and can be applied. - ENABLED = 2; - - // Conversion Value Rule Set is permanently deleted and can't be applied. - REMOVED = 3; - - // Conversion Value Rule Set is paused and won't be applied. It can be - // enabled again. - PAUSED = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/conversion_value_rule_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/conversion_value_rule_status.proto deleted file mode 100644 index 747a9c964..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/conversion_value_rule_status.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionValueRuleStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing conversion value rule status. - -// Container for enum describing possible statuses of a conversion value rule. -message ConversionValueRuleStatusEnum { - // Possible statuses of a conversion value rule. - enum ConversionValueRuleStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Conversion Value Rule is enabled and can be applied. - ENABLED = 2; - - // Conversion Value Rule is permanently deleted and can't be applied. - REMOVED = 3; - - // Conversion Value Rule is paused, but can be re-enabled. - PAUSED = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/criterion_category_channel_availability_mode.proto b/third_party/googleapis/google/ads/googleads/v13/enums/criterion_category_channel_availability_mode.proto deleted file mode 100644 index 7898c57de..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/criterion_category_channel_availability_mode.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CriterionCategoryChannelAvailabilityModeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing the criterion category channel availability mode. - -// Describes channel availability mode for a criterion availability - whether -// the availability is meant to include all advertising channels, or a -// particular channel with all its channel subtypes, or a channel with a certain -// subset of channel subtypes. -message CriterionCategoryChannelAvailabilityModeEnum { - // Enum containing the possible CriterionCategoryChannelAvailabilityMode. - enum CriterionCategoryChannelAvailabilityMode { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The category is available to campaigns of all channel types and subtypes. - ALL_CHANNELS = 2; - - // The category is available to campaigns of a specific channel type, - // including all subtypes under it. - CHANNEL_TYPE_AND_ALL_SUBTYPES = 3; - - // The category is available to campaigns of a specific channel type and - // subtype(s). - CHANNEL_TYPE_AND_SUBSET_SUBTYPES = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/criterion_category_locale_availability_mode.proto b/third_party/googleapis/google/ads/googleads/v13/enums/criterion_category_locale_availability_mode.proto deleted file mode 100644 index 567886261..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/criterion_category_locale_availability_mode.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CriterionCategoryLocaleAvailabilityModeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing the criterion category locale availability mode. - -// Describes locale availability mode for a criterion availability - whether -// it's available globally, or a particular country with all languages, or a -// particular language with all countries, or a country-language pair. -message CriterionCategoryLocaleAvailabilityModeEnum { - // Enum containing the possible CriterionCategoryLocaleAvailabilityMode. - enum CriterionCategoryLocaleAvailabilityMode { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The category is available to campaigns of all locales. - ALL_LOCALES = 2; - - // The category is available to campaigns within a list of countries, - // regardless of language. - COUNTRY_AND_ALL_LANGUAGES = 3; - - // The category is available to campaigns within a list of languages, - // regardless of country. - LANGUAGE_AND_ALL_COUNTRIES = 4; - - // The category is available to campaigns within a list of country, language - // pairs. - COUNTRY_AND_LANGUAGE = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/criterion_system_serving_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/criterion_system_serving_status.proto deleted file mode 100644 index 2f1373b87..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/criterion_system_serving_status.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CriterionSystemServingStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing approval status for the criterion. - -// Container for enum describing possible criterion system serving statuses. -message CriterionSystemServingStatusEnum { - // Enumerates criterion system serving statuses. - enum CriterionSystemServingStatus { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Eligible. - ELIGIBLE = 2; - - // Low search volume. - RARELY_SERVED = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/criterion_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/criterion_type.proto deleted file mode 100644 index 6d3ee4ea3..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/criterion_type.proto +++ /dev/null @@ -1,145 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CriterionTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing criteria types. - -// The possible types of a criterion. -message CriterionTypeEnum { - // Enum describing possible criterion types. - enum CriterionType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Keyword, for example, 'mars cruise'. - KEYWORD = 2; - - // Placement, also known as Website, for example, 'www.flowers4sale.com' - PLACEMENT = 3; - - // Mobile application categories to target. - MOBILE_APP_CATEGORY = 4; - - // Mobile applications to target. - MOBILE_APPLICATION = 5; - - // Devices to target. - DEVICE = 6; - - // Locations to target. - LOCATION = 7; - - // Listing groups to target. - LISTING_GROUP = 8; - - // Ad Schedule. - AD_SCHEDULE = 9; - - // Age range. - AGE_RANGE = 10; - - // Gender. - GENDER = 11; - - // Income Range. - INCOME_RANGE = 12; - - // Parental status. - PARENTAL_STATUS = 13; - - // YouTube Video. - YOUTUBE_VIDEO = 14; - - // YouTube Channel. - YOUTUBE_CHANNEL = 15; - - // User list. - USER_LIST = 16; - - // Proximity. - PROXIMITY = 17; - - // A topic target on the display network (for example, "Pets & Animals"). - TOPIC = 18; - - // Listing scope to target. - LISTING_SCOPE = 19; - - // Language. - LANGUAGE = 20; - - // IpBlock. - IP_BLOCK = 21; - - // Content Label for category exclusion. - CONTENT_LABEL = 22; - - // Carrier. - CARRIER = 23; - - // A category the user is interested in. - USER_INTEREST = 24; - - // Webpage criterion for dynamic search ads. - WEBPAGE = 25; - - // Operating system version. - OPERATING_SYSTEM_VERSION = 26; - - // App payment model. - APP_PAYMENT_MODEL = 27; - - // Mobile device. - MOBILE_DEVICE = 28; - - // Custom affinity. - CUSTOM_AFFINITY = 29; - - // Custom intent. - CUSTOM_INTENT = 30; - - // Location group. - LOCATION_GROUP = 31; - - // Custom audience - CUSTOM_AUDIENCE = 32; - - // Combined audience - COMBINED_AUDIENCE = 33; - - // Smart Campaign keyword theme - KEYWORD_THEME = 34; - - // Audience - AUDIENCE = 35; - - // Local Services Ads Service ID. - LOCAL_SERVICE_ID = 37; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/custom_audience_member_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/custom_audience_member_type.proto deleted file mode 100644 index f84c5a23b..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/custom_audience_member_type.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomAudienceMemberTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing custom audience member type. - -// The type of custom audience member. -message CustomAudienceMemberTypeEnum { - // Enum containing possible custom audience member types. - enum CustomAudienceMemberType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Users whose interests or actions are described by a keyword. - KEYWORD = 2; - - // Users who have interests related to the website's content. - URL = 3; - - // Users who visit place types described by a place category. - PLACE_CATEGORY = 4; - - // Users who have installed a mobile app. - APP = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/custom_audience_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/custom_audience_status.proto deleted file mode 100644 index f469a08ea..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/custom_audience_status.proto +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomAudienceStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing custom audience status. - -// The status of custom audience. -message CustomAudienceStatusEnum { - // Enum containing possible custom audience statuses. - enum CustomAudienceStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Enabled status - custom audience is enabled and can be targeted. - ENABLED = 2; - - // Removed status - custom audience is removed and cannot be used for - // targeting. - REMOVED = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/custom_audience_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/custom_audience_type.proto deleted file mode 100644 index 52b0387ca..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/custom_audience_type.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomAudienceTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing custom audience type. - -// The types of custom audience. -message CustomAudienceTypeEnum { - // Enum containing possible custom audience types. - enum CustomAudienceType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Google Ads will auto-select the best interpretation at serving - // time. - AUTO = 2; - - // Matches users by their interests. - INTEREST = 3; - - // Matches users by topics they are researching or products they are - // considering for purchase. - PURCHASE_INTENT = 4; - - // Matches users by what they searched on Google Search. - SEARCH = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/custom_conversion_goal_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/custom_conversion_goal_status.proto deleted file mode 100644 index d3d731837..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/custom_conversion_goal_status.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomConversionGoalStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing custom conversion goal status. - -// Container for enum describing possible statuses of a custom conversion goal. -message CustomConversionGoalStatusEnum { - // The possible statuses of a custom conversion goal. - enum CustomConversionGoalStatus { - // The status has not been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - UNKNOWN = 1; - - // The custom conversion goal is enabled. - ENABLED = 2; - - // The custom conversion goal is removed. - REMOVED = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/custom_interest_member_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/custom_interest_member_type.proto deleted file mode 100644 index f1ef34400..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/custom_interest_member_type.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomInterestMemberTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing custom interest member type. - -// The types of custom interest member, either KEYWORD or URL. -message CustomInterestMemberTypeEnum { - // Enum containing possible custom interest member types. - enum CustomInterestMemberType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Custom interest member type KEYWORD. - KEYWORD = 2; - - // Custom interest member type URL. - URL = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/custom_interest_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/custom_interest_status.proto deleted file mode 100644 index a178d11f3..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/custom_interest_status.proto +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomInterestStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing custom interest status. - -// The status of custom interest. -message CustomInterestStatusEnum { - // Enum containing possible custom interest types. - enum CustomInterestStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Enabled status - custom interest is enabled and can be targeted to. - ENABLED = 2; - - // Removed status - custom interest is removed and cannot be used for - // targeting. - REMOVED = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/custom_interest_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/custom_interest_type.proto deleted file mode 100644 index b38d0fd85..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/custom_interest_type.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomInterestTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing custom interest type. - -// The types of custom interest. -message CustomInterestTypeEnum { - // Enum containing possible custom interest types. - enum CustomInterestType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Allows brand advertisers to define custom affinity audience lists. - CUSTOM_AFFINITY = 2; - - // Allows advertisers to define custom intent audience lists. - CUSTOM_INTENT = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/custom_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v13/enums/custom_placeholder_field.proto deleted file mode 100644 index 5a45d5e3c..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/custom_placeholder_field.proto +++ /dev/null @@ -1,125 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing Custom placeholder fields. - -// Values for Custom placeholder fields. -// For more information about dynamic remarketing feeds, see -// https://support.google.com/google-ads/answer/6053288. -message CustomPlaceholderFieldEnum { - // Possible values for Custom placeholder fields. - enum CustomPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. Required. Combination ID and ID2 must be unique per - // offer. - ID = 2; - - // Data Type: STRING. Combination ID and ID2 must be unique per offer. - ID2 = 3; - - // Data Type: STRING. Required. Main headline with product name to be shown - // in dynamic ad. - ITEM_TITLE = 4; - - // Data Type: STRING. Optional text to be shown in the image ad. - ITEM_SUBTITLE = 5; - - // Data Type: STRING. Optional description of the product to be shown in the - // ad. - ITEM_DESCRIPTION = 6; - - // Data Type: STRING. Full address of your offer or service, including - // postal code. This will be used to identify the closest product to the - // user when there are multiple offers in the feed that are relevant to the - // user. - ITEM_ADDRESS = 7; - - // Data Type: STRING. Price to be shown in the ad. - // Example: "100.00 USD" - PRICE = 8; - - // Data Type: STRING. Formatted price to be shown in the ad. - // Example: "Starting at $100.00 USD", "$80 - $100" - FORMATTED_PRICE = 9; - - // Data Type: STRING. Sale price to be shown in the ad. - // Example: "80.00 USD" - SALE_PRICE = 10; - - // Data Type: STRING. Formatted sale price to be shown in the ad. - // Example: "On sale for $80.00", "$60 - $80" - FORMATTED_SALE_PRICE = 11; - - // Data Type: URL. Image to be displayed in the ad. Highly recommended for - // image ads. - IMAGE_URL = 12; - - // Data Type: STRING. Used as a recommendation engine signal to serve items - // in the same category. - ITEM_CATEGORY = 13; - - // Data Type: URL_LIST. Final URLs for the ad when using Upgraded - // URLs. User will be redirected to these URLs when they click on an ad, or - // when they click on a specific product for ads that have multiple - // products. - FINAL_URLS = 14; - - // Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - // URLs. - FINAL_MOBILE_URLS = 15; - - // Data Type: URL. Tracking template for the ad when using Upgraded URLs. - TRACKING_URL = 16; - - // Data Type: STRING_LIST. Keywords used for product retrieval. - CONTEXTUAL_KEYWORDS = 17; - - // Data Type: STRING. Android app link. Must be formatted as: - // android-app://{package_id}/{scheme}/{host_path}. - // The components are defined as follows: - // package_id: app ID as specified in Google Play. - // scheme: the scheme to pass to the application. Can be HTTP, or a custom - // scheme. - // host_path: identifies the specific content within your application. - ANDROID_APP_LINK = 18; - - // Data Type: STRING_LIST. List of recommended IDs to show together with - // this item. - SIMILAR_IDS = 19; - - // Data Type: STRING. iOS app link. - IOS_APP_LINK = 20; - - // Data Type: INT64. iOS app store ID. - IOS_APP_STORE_ID = 21; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/customer_match_upload_key_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/customer_match_upload_key_type.proto deleted file mode 100644 index a69031d32..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/customer_match_upload_key_type.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomerMatchUploadKeyTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Indicates what type of data are the user list's members matched from. -message CustomerMatchUploadKeyTypeEnum { - // Enum describing possible customer match upload key types. - enum CustomerMatchUploadKeyType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Members are matched from customer info such as email address, phone - // number or physical address. - CONTACT_INFO = 2; - - // Members are matched from a user id generated and assigned by the - // advertiser. - CRM_ID = 3; - - // Members are matched from mobile advertising ids. - MOBILE_ADVERTISING_ID = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/customer_pay_per_conversion_eligibility_failure_reason.proto b/third_party/googleapis/google/ads/googleads/v13/enums/customer_pay_per_conversion_eligibility_failure_reason.proto deleted file mode 100644 index 9ec8047f5..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/customer_pay_per_conversion_eligibility_failure_reason.proto +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomerPayPerConversionEligibilityFailureReasonProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing pay per conversion eligibility failure reasons. - -// Container for enum describing reasons why a customer is not eligible to use -// PaymentMode.CONVERSIONS. -message CustomerPayPerConversionEligibilityFailureReasonEnum { - // Enum describing possible reasons a customer is not eligible to use - // PaymentMode.CONVERSIONS. - enum CustomerPayPerConversionEligibilityFailureReason { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Customer does not have enough conversions. - NOT_ENOUGH_CONVERSIONS = 2; - - // Customer's conversion lag is too high. - CONVERSION_LAG_TOO_HIGH = 3; - - // Customer uses shared budgets. - HAS_CAMPAIGN_WITH_SHARED_BUDGET = 4; - - // Customer has conversions with ConversionActionType.UPLOAD_CLICKS. - HAS_UPLOAD_CLICKS_CONVERSION = 5; - - // Customer's average daily spend is too high. - AVERAGE_DAILY_SPEND_TOO_HIGH = 6; - - // Customer's eligibility has not yet been calculated by the Google Ads - // backend. Check back soon. - ANALYSIS_NOT_COMPLETE = 7; - - // Customer is not eligible due to other reasons. - OTHER = 8; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/customer_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/customer_status.proto deleted file mode 100644 index 7184bdc23..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/customer_status.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomerStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Container for enum describing possible statuses of a customer. -message CustomerStatusEnum { - // Possible statuses of a customer. - enum CustomerStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Indicates an active account able to serve ads. - ENABLED = 2; - - // Indicates a canceled account unable to serve ads. - // Can be reactivated by an admin user. - CANCELED = 3; - - // Indicates a suspended account unable to serve ads. - // May only be activated by Google support. - SUSPENDED = 4; - - // Indicates a closed account unable to serve ads. - // Test account will also have CLOSED status. - // Status is permanent and may not be reopened. - CLOSED = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/customizer_attribute_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/customizer_attribute_status.proto deleted file mode 100644 index 0a3d6c20f..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/customizer_attribute_status.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomizerAttributeStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing customizer attribute status. - -// Container for enum describing possible statuses of a customizer attribute. -message CustomizerAttributeStatusEnum { - // The possible statuses of a customizer attribute. - enum CustomizerAttributeStatus { - // The status has not been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - UNKNOWN = 1; - - // The customizer attribute is enabled. - ENABLED = 2; - - // The customizer attribute is removed. - REMOVED = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/customizer_attribute_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/customizer_attribute_type.proto deleted file mode 100644 index 2bee0946f..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/customizer_attribute_type.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomizerAttributeTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing customizer attribute type. - -// Container for enum describing possible types of a customizer attribute. -message CustomizerAttributeTypeEnum { - // The possible types of a customizer attribute. - enum CustomizerAttributeType { - // The status has not been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - UNKNOWN = 1; - - // Text customizer. - TEXT = 2; - - // Number customizer. - NUMBER = 3; - - // Price customizer consisting of a number and a currency. - PRICE = 4; - - // Percentage customizer consisting of a number and a '%'. - PERCENT = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/customizer_value_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/customizer_value_status.proto deleted file mode 100644 index babdeb6de..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/customizer_value_status.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomizerValueStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing customizer value status. - -// Container for enum describing possible statuses of a customizer value. -message CustomizerValueStatusEnum { - // The possible statuses of a customizer value. - enum CustomizerValueStatus { - // The status has not been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - UNKNOWN = 1; - - // The customizer value is enabled. - ENABLED = 2; - - // The customizer value is removed. - REMOVED = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/data_driven_model_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/data_driven_model_status.proto deleted file mode 100644 index cc490df0b..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/data_driven_model_status.proto +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "DataDrivenModelStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing data-driven model status. - -// Container for enum indicating data driven model status. -message DataDrivenModelStatusEnum { - // Enumerates data driven model statuses. - enum DataDrivenModelStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The data driven model is available. - AVAILABLE = 2; - - // The data driven model is stale. It hasn't been updated for at least 7 - // days. It is still being used, but will become expired if it does not get - // updated for 30 days. - STALE = 3; - - // The data driven model expired. It hasn't been updated for at least 30 - // days and cannot be used. Most commonly this is because there hasn't been - // the required number of events in a recent 30-day period. - EXPIRED = 4; - - // The data driven model has never been generated. Most commonly this is - // because there has never been the required number of events in any 30-day - // period. - NEVER_GENERATED = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/day_of_week.proto b/third_party/googleapis/google/ads/googleads/v13/enums/day_of_week.proto deleted file mode 100644 index 7951c9960..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/day_of_week.proto +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "DayOfWeekProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing days of week. - -// Container for enumeration of days of the week, for example, "Monday". -message DayOfWeekEnum { - // Enumerates days of the week, for example, "Monday". - enum DayOfWeek { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Monday. - MONDAY = 2; - - // Tuesday. - TUESDAY = 3; - - // Wednesday. - WEDNESDAY = 4; - - // Thursday. - THURSDAY = 5; - - // Friday. - FRIDAY = 6; - - // Saturday. - SATURDAY = 7; - - // Sunday. - SUNDAY = 8; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/device.proto b/third_party/googleapis/google/ads/googleads/v13/enums/device.proto deleted file mode 100644 index 47ed4a128..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/device.proto +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "DeviceProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing devices. - -// Container for enumeration of Google Ads devices available for targeting. -message DeviceEnum { - // Enumerates Google Ads devices available for targeting. - enum Device { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Mobile devices with full browsers. - MOBILE = 2; - - // Tablets with full browsers. - TABLET = 3; - - // Computers. - DESKTOP = 4; - - // Smart TVs and game consoles. - CONNECTED_TV = 6; - - // Other device types. - OTHER = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/display_ad_format_setting.proto b/third_party/googleapis/google/ads/googleads/v13/enums/display_ad_format_setting.proto deleted file mode 100644 index 52397bd37..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/display_ad_format_setting.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "DisplayAdFormatSettingProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing display ad format settings. - -// Container for display ad format settings. -message DisplayAdFormatSettingEnum { - // Enumerates display ad format settings. - enum DisplayAdFormatSetting { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Text, image and native formats. - ALL_FORMATS = 2; - - // Text and image formats. - NON_NATIVE = 3; - - // Native format, for example, the format rendering is controlled by the - // publisher and not by Google. - NATIVE = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/display_upload_product_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/display_upload_product_type.proto deleted file mode 100644 index 98f55a0d7..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/display_upload_product_type.proto +++ /dev/null @@ -1,93 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "DisplayUploadProductTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing display upload product types. - -// Container for display upload product types. Product types that have the word -// "DYNAMIC" in them must be associated with a campaign that has a dynamic -// remarketing feed. See https://support.google.com/google-ads/answer/6053288 -// for more info about dynamic remarketing. Other product types are regarded -// as "static" and do not have this requirement. -message DisplayUploadProductTypeEnum { - // Enumerates display upload product types. - enum DisplayUploadProductType { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // HTML5 upload ad. This product type requires the upload_media_bundle - // field in DisplayUploadAdInfo to be set. - HTML5_UPLOAD_AD = 2; - - // Dynamic HTML5 education ad. This product type requires the - // upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - // used in an education campaign. - DYNAMIC_HTML5_EDUCATION_AD = 3; - - // Dynamic HTML5 flight ad. This product type requires the - // upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - // used in a flight campaign. - DYNAMIC_HTML5_FLIGHT_AD = 4; - - // Dynamic HTML5 hotel and rental ad. This product type requires the - // upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - // used in a hotel campaign. - DYNAMIC_HTML5_HOTEL_RENTAL_AD = 5; - - // Dynamic HTML5 job ad. This product type requires the - // upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - // used in a job campaign. - DYNAMIC_HTML5_JOB_AD = 6; - - // Dynamic HTML5 local ad. This product type requires the - // upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - // used in a local campaign. - DYNAMIC_HTML5_LOCAL_AD = 7; - - // Dynamic HTML5 real estate ad. This product type requires the - // upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - // used in a real estate campaign. - DYNAMIC_HTML5_REAL_ESTATE_AD = 8; - - // Dynamic HTML5 custom ad. This product type requires the - // upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - // used in a custom campaign. - DYNAMIC_HTML5_CUSTOM_AD = 9; - - // Dynamic HTML5 travel ad. This product type requires the - // upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - // used in a travel campaign. - DYNAMIC_HTML5_TRAVEL_AD = 10; - - // Dynamic HTML5 hotel ad. This product type requires the - // upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - // used in a hotel campaign. - DYNAMIC_HTML5_HOTEL_AD = 11; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/distance_bucket.proto b/third_party/googleapis/google/ads/googleads/v13/enums/distance_bucket.proto deleted file mode 100644 index 0731adcc6..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/distance_bucket.proto +++ /dev/null @@ -1,123 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "DistanceBucketProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing distance buckets. - -// Container for distance buckets of a user's distance from an advertiser's -// location extension. -message DistanceBucketEnum { - // The distance bucket for a user's distance from an advertiser's location - // extension. - enum DistanceBucket { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // User was within 700m of the location. - WITHIN_700M = 2; - - // User was within 1KM of the location. - WITHIN_1KM = 3; - - // User was within 5KM of the location. - WITHIN_5KM = 4; - - // User was within 10KM of the location. - WITHIN_10KM = 5; - - // User was within 15KM of the location. - WITHIN_15KM = 6; - - // User was within 20KM of the location. - WITHIN_20KM = 7; - - // User was within 25KM of the location. - WITHIN_25KM = 8; - - // User was within 30KM of the location. - WITHIN_30KM = 9; - - // User was within 35KM of the location. - WITHIN_35KM = 10; - - // User was within 40KM of the location. - WITHIN_40KM = 11; - - // User was within 45KM of the location. - WITHIN_45KM = 12; - - // User was within 50KM of the location. - WITHIN_50KM = 13; - - // User was within 55KM of the location. - WITHIN_55KM = 14; - - // User was within 60KM of the location. - WITHIN_60KM = 15; - - // User was within 65KM of the location. - WITHIN_65KM = 16; - - // User was beyond 65KM of the location. - BEYOND_65KM = 17; - - // User was within 0.7 miles of the location. - WITHIN_0_7MILES = 18; - - // User was within 1 mile of the location. - WITHIN_1MILE = 19; - - // User was within 5 miles of the location. - WITHIN_5MILES = 20; - - // User was within 10 miles of the location. - WITHIN_10MILES = 21; - - // User was within 15 miles of the location. - WITHIN_15MILES = 22; - - // User was within 20 miles of the location. - WITHIN_20MILES = 23; - - // User was within 25 miles of the location. - WITHIN_25MILES = 24; - - // User was within 30 miles of the location. - WITHIN_30MILES = 25; - - // User was within 35 miles of the location. - WITHIN_35MILES = 26; - - // User was within 40 miles of the location. - WITHIN_40MILES = 27; - - // User was beyond 40 miles of the location. - BEYOND_40MILES = 28; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/dsa_page_feed_criterion_field.proto b/third_party/googleapis/google/ads/googleads/v13/enums/dsa_page_feed_criterion_field.proto deleted file mode 100644 index d56258c1c..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/dsa_page_feed_criterion_field.proto +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "DsaPageFeedCriterionFieldProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing Dynamic Search Ad Page Feed criterion fields. - -// Values for Dynamic Search Ad Page Feed criterion fields. -message DsaPageFeedCriterionFieldEnum { - // Possible values for Dynamic Search Ad Page Feed criterion fields. - enum DsaPageFeedCriterionField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: URL or URL_LIST. URL of the web page you want to target. - PAGE_URL = 2; - - // Data Type: STRING_LIST. The labels that will help you target ads within - // your page feed. - LABEL = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/education_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v13/enums/education_placeholder_field.proto deleted file mode 100644 index e35647f6c..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/education_placeholder_field.proto +++ /dev/null @@ -1,107 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "EducationPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing Education placeholder fields. - -// Values for Education placeholder fields. -// For more information about dynamic remarketing feeds, see -// https://support.google.com/google-ads/answer/6053288. -message EducationPlaceholderFieldEnum { - // Possible values for Education placeholder fields. - enum EducationPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. Required. Combination of PROGRAM ID and LOCATION ID - // must be unique per offer. - PROGRAM_ID = 2; - - // Data Type: STRING. Combination of PROGRAM ID and LOCATION ID must be - // unique per offer. - LOCATION_ID = 3; - - // Data Type: STRING. Required. Main headline with program name to be shown - // in dynamic ad. - PROGRAM_NAME = 4; - - // Data Type: STRING. Area of study that can be shown in dynamic ad. - AREA_OF_STUDY = 5; - - // Data Type: STRING. Description of program that can be shown in dynamic - // ad. - PROGRAM_DESCRIPTION = 6; - - // Data Type: STRING. Name of school that can be shown in dynamic ad. - SCHOOL_NAME = 7; - - // Data Type: STRING. Complete school address, including postal code. - ADDRESS = 8; - - // Data Type: URL. Image to be displayed in ads. - THUMBNAIL_IMAGE_URL = 9; - - // Data Type: URL. Alternative hosted file of image to be used in the ad. - ALTERNATIVE_THUMBNAIL_IMAGE_URL = 10; - - // Data Type: URL_LIST. Required. Final URLs to be used in ad when using - // Upgraded URLs; the more specific the better (for example, the individual - // URL of a specific program and its location). - FINAL_URLS = 11; - - // Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - // URLs. - FINAL_MOBILE_URLS = 12; - - // Data Type: URL. Tracking template for the ad when using Upgraded URLs. - TRACKING_URL = 13; - - // Data Type: STRING_LIST. Keywords used for product retrieval. - CONTEXTUAL_KEYWORDS = 14; - - // Data Type: STRING. Android app link. Must be formatted as: - // android-app://{package_id}/{scheme}/{host_path}. - // The components are defined as follows: - // package_id: app ID as specified in Google Play. - // scheme: the scheme to pass to the application. Can be HTTP, or a custom - // scheme. - // host_path: identifies the specific content within your application. - ANDROID_APP_LINK = 15; - - // Data Type: STRING_LIST. List of recommended program IDs to show together - // with this item. - SIMILAR_PROGRAM_IDS = 16; - - // Data Type: STRING. iOS app link. - IOS_APP_LINK = 17; - - // Data Type: INT64. iOS app store ID. - IOS_APP_STORE_ID = 18; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/experiment_metric.proto b/third_party/googleapis/google/ads/googleads/v13/enums/experiment_metric.proto deleted file mode 100644 index c4a37d544..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/experiment_metric.proto +++ /dev/null @@ -1,79 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ExperimentMetricProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing experiment metric. - -// Container for enum describing the type of experiment metric. -message ExperimentMetricEnum { - // The type of experiment metric. - enum ExperimentMetric { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // The goal of the experiment is clicks. - CLICKS = 2; - - // The goal of the experiment is impressions. - IMPRESSIONS = 3; - - // The goal of the experiment is cost. - COST = 4; - - // The goal of the experiment is conversion rate. - CONVERSIONS_PER_INTERACTION_RATE = 5; - - // The goal of the experiment is cost per conversion. - COST_PER_CONVERSION = 6; - - // The goal of the experiment is conversion value per cost. - CONVERSIONS_VALUE_PER_COST = 7; - - // The goal of the experiment is avg cpc. - AVERAGE_CPC = 8; - - // The goal of the experiment is ctr. - CTR = 9; - - // The goal of the experiment is incremental conversions. - INCREMENTAL_CONVERSIONS = 10; - - // The goal of the experiment is completed video views. - COMPLETED_VIDEO_VIEWS = 11; - - // The goal of the experiment is custom algorithms. - CUSTOM_ALGORITHMS = 12; - - // The goal of the experiment is conversions. - CONVERSIONS = 13; - - // The goal of the experiment is conversion value. - CONVERSION_VALUE = 14; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/experiment_metric_direction.proto b/third_party/googleapis/google/ads/googleads/v13/enums/experiment_metric_direction.proto deleted file mode 100644 index b2282c2a1..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/experiment_metric_direction.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ExperimentMetricDirectionProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing experiment metric direction. - -// Container for enum describing the type of experiment metric direction. -message ExperimentMetricDirectionEnum { - // The type of experiment metric direction. - enum ExperimentMetricDirection { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // The goal of the experiment is to not change the metric. - NO_CHANGE = 2; - - // The goal of the experiment is to increate the metric. - INCREASE = 3; - - // The goal of the experiment is to decrease the metric. - DECREASE = 4; - - // The goal of the experiment is to either not change or increase the - // metric. - NO_CHANGE_OR_INCREASE = 5; - - // The goal of the experiment is to either not change or decrease the - // metric. - NO_CHANGE_OR_DECREASE = 6; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/experiment_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/experiment_status.proto deleted file mode 100644 index 5e67bfcc7..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/experiment_status.proto +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ExperimentStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing experiment status. - -// Container for enum describing the experiment status. -message ExperimentStatusEnum { - // The status of the experiment. - enum ExperimentStatus { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // The experiment is enabled. - ENABLED = 2; - - // The experiment has been removed. - REMOVED = 3; - - // The experiment has been halted. - // This status can be set from ENABLED status through API. - HALTED = 4; - - // The experiment will be promoted out of experimental status. - PROMOTED = 5; - - // Initial status of the experiment. - SETUP = 6; - - // The experiment's campaigns are pending materialization. - // This status can be set from SETUP status through API. - INITIATED = 7; - - // The experiment has been graduated. - GRADUATED = 8; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/experiment_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/experiment_type.proto deleted file mode 100644 index 5bc6c7cd3..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/experiment_type.proto +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ExperimentTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing experiment type. - -// Container for enum describing the type of experiment. -message ExperimentTypeEnum { - // The type of the experiment. - enum ExperimentType { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // This is a DISPLAY_AND_VIDEO_360 experiment. - DISPLAY_AND_VIDEO_360 = 2; - - // This is an ad variation experiment. - AD_VARIATION = 3; - - // A custom experiment consisting of Video campaigns. - YOUTUBE_CUSTOM = 5; - - // A custom experiment consisting of display campaigns. - DISPLAY_CUSTOM = 6; - - // A custom experiment consisting of search campaigns. - SEARCH_CUSTOM = 7; - - // An experiment that compares bidding strategies for display campaigns. - DISPLAY_AUTOMATED_BIDDING_STRATEGY = 8; - - // An experiment that compares bidding strategies for search campaigns." - SEARCH_AUTOMATED_BIDDING_STRATEGY = 9; - - // An experiment that compares bidding strategies for shopping campaigns. - SHOPPING_AUTOMATED_BIDDING_STRATEGY = 10; - - // DEPRECATED. A smart matching experiment with search campaigns. - SMART_MATCHING = 11; - - // A custom experiment consisting of hotel campaigns. - HOTEL_CUSTOM = 12; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/extension_setting_device.proto b/third_party/googleapis/google/ads/googleads/v13/enums/extension_setting_device.proto deleted file mode 100644 index d585dde50..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/extension_setting_device.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ExtensionSettingDeviceProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing extension setting device type. - -// Container for enum describing extension setting device types. -message ExtensionSettingDeviceEnum { - // Possible device types for an extension setting. - enum ExtensionSettingDevice { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Mobile. The extensions in the extension setting will only serve on - // mobile devices. - MOBILE = 2; - - // Desktop. The extensions in the extension setting will only serve on - // desktop devices. - DESKTOP = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/extension_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/extension_type.proto deleted file mode 100644 index 8e4a82c4c..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/extension_type.proto +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ExtensionTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing extension type. - -// Container for enum describing possible data types for an extension in an -// extension setting. -message ExtensionTypeEnum { - // Possible data types for an extension in an extension setting. - enum ExtensionType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // None. - NONE = 2; - - // App. - APP = 3; - - // Call. - CALL = 4; - - // Callout. - CALLOUT = 5; - - // Message. - MESSAGE = 6; - - // Price. - PRICE = 7; - - // Promotion. - PROMOTION = 8; - - // Sitelink. - SITELINK = 10; - - // Structured snippet. - STRUCTURED_SNIPPET = 11; - - // Location. - LOCATION = 12; - - // Affiliate location. - AFFILIATE_LOCATION = 13; - - // Hotel callout - HOTEL_CALLOUT = 15; - - // Image. - IMAGE = 16; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/external_conversion_source.proto b/third_party/googleapis/google/ads/googleads/v13/enums/external_conversion_source.proto deleted file mode 100644 index 00454db9e..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/external_conversion_source.proto +++ /dev/null @@ -1,151 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ExternalConversionSourceProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Container for enum describing the external conversion source that is -// associated with a ConversionAction. -message ExternalConversionSourceEnum { - // The external conversion source that is associated with a ConversionAction. - enum ExternalConversionSource { - // Not specified. - UNSPECIFIED = 0; - - // Represents value unknown in this version. - UNKNOWN = 1; - - // Conversion that occurs when a user navigates to a particular webpage - // after viewing an ad; Displayed in Google Ads UI as 'Website'. - WEBPAGE = 2; - - // Conversion that comes from linked Google Analytics goal or transaction; - // Displayed in Google Ads UI as 'Analytics'. - ANALYTICS = 3; - - // Website conversion that is uploaded through ConversionUploadService; - // Displayed in Google Ads UI as 'Import from clicks'. - UPLOAD = 4; - - // Conversion that occurs when a user clicks on a call extension directly on - // an ad; Displayed in Google Ads UI as 'Calls from ads'. - AD_CALL_METRICS = 5; - - // Conversion that occurs when a user calls a dynamically-generated phone - // number (by installed javascript) from an advertiser's website after - // clicking on an ad; Displayed in Google Ads UI as 'Calls from website'. - WEBSITE_CALL_METRICS = 6; - - // Conversion that occurs when a user visits an advertiser's retail store - // after clicking on a Google ad; - // Displayed in Google Ads UI as 'Store visits'. - STORE_VISITS = 7; - - // Conversion that occurs when a user takes an in-app action such as a - // purchase in an Android app; - // Displayed in Google Ads UI as 'Android in-app action'. - ANDROID_IN_APP = 8; - - // Conversion that occurs when a user takes an in-app action such as a - // purchase in an iOS app; - // Displayed in Google Ads UI as 'iOS in-app action'. - IOS_IN_APP = 9; - - // Conversion that occurs when a user opens an iOS app for the first time; - // Displayed in Google Ads UI as 'iOS app install (first open)'. - IOS_FIRST_OPEN = 10; - - // Legacy app conversions that do not have an AppPlatform provided; - // Displayed in Google Ads UI as 'Mobile app'. - APP_UNSPECIFIED = 11; - - // Conversion that occurs when a user opens an Android app for the first - // time; Displayed in Google Ads UI as 'Android app install (first open)'. - ANDROID_FIRST_OPEN = 12; - - // Call conversion that is uploaded through ConversionUploadService; - // Displayed in Google Ads UI as 'Import from calls'. - UPLOAD_CALLS = 13; - - // Conversion that comes from a linked Firebase event; - // Displayed in Google Ads UI as 'Firebase'. - FIREBASE = 14; - - // Conversion that occurs when a user clicks on a mobile phone number; - // Displayed in Google Ads UI as 'Phone number clicks'. - CLICK_TO_CALL = 15; - - // Conversion that comes from Salesforce; - // Displayed in Google Ads UI as 'Salesforce.com'. - SALESFORCE = 16; - - // Conversion that comes from in-store purchases recorded by CRM; - // Displayed in Google Ads UI as 'Store sales (data partner)'. - STORE_SALES_CRM = 17; - - // Conversion that comes from in-store purchases from payment network; - // Displayed in Google Ads UI as 'Store sales (payment network)'. - STORE_SALES_PAYMENT_NETWORK = 18; - - // Codeless Google Play conversion; - // Displayed in Google Ads UI as 'Google Play'. - GOOGLE_PLAY = 19; - - // Conversion that comes from a linked third-party app analytics event; - // Displayed in Google Ads UI as 'Third-party app analytics'. - THIRD_PARTY_APP_ANALYTICS = 20; - - // Conversion that is controlled by Google Attribution. - GOOGLE_ATTRIBUTION = 21; - - // Store Sales conversion based on first-party or third-party merchant data - // uploads. Displayed in Google Ads UI as 'Store sales (direct upload)'. - STORE_SALES_DIRECT_UPLOAD = 23; - - // Store Sales conversion based on first-party or third-party merchant - // data uploads and/or from in-store purchases using cards from payment - // networks. Displayed in Google Ads UI as 'Store sales'. - STORE_SALES = 24; - - // Conversions imported from Search Ads 360 Floodlight data. - SEARCH_ADS_360 = 25; - - // Conversions that track local actions from Google's products and services - // after interacting with an ad. - GOOGLE_HOSTED = 27; - - // Conversions reported by Floodlight tags. - FLOODLIGHT = 29; - - // Conversions that come from Google Analytics specifically for Search Ads - // 360. Displayed in Google Ads UI as Analytics (SA360). - ANALYTICS_SEARCH_ADS_360 = 31; - - // Conversion that comes from a linked Firebase event for Search Ads 360. - FIREBASE_SEARCH_ADS_360 = 33; - - // Conversion that is reported by Floodlight for DV360. - DISPLAY_AND_VIDEO_360_FLOODLIGHT = 34; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/feed_attribute_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/feed_attribute_type.proto deleted file mode 100644 index 46b048a1a..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/feed_attribute_type.proto +++ /dev/null @@ -1,79 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedAttributeTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing feed attribute type. - -// Container for enum describing possible data types for a feed attribute. -message FeedAttributeTypeEnum { - // Possible data types for a feed attribute. - enum FeedAttributeType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Int64. - INT64 = 2; - - // Double. - DOUBLE = 3; - - // String. - STRING = 4; - - // Boolean. - BOOLEAN = 5; - - // Url. - URL = 6; - - // Datetime. - DATE_TIME = 7; - - // Int64 list. - INT64_LIST = 8; - - // Double (8 bytes) list. - DOUBLE_LIST = 9; - - // String list. - STRING_LIST = 10; - - // Boolean list. - BOOLEAN_LIST = 11; - - // Url list. - URL_LIST = 12; - - // Datetime list. - DATE_TIME_LIST = 13; - - // Price. - PRICE = 14; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/feed_item_quality_approval_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/feed_item_quality_approval_status.proto deleted file mode 100644 index bf43bbb3d..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/feed_item_quality_approval_status.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemQualityApprovalStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing feed item quality evaluation approval statuses. - -// Container for enum describing possible quality evaluation approval statuses -// of a feed item. -message FeedItemQualityApprovalStatusEnum { - // The possible quality evaluation approval statuses of a feed item. - enum FeedItemQualityApprovalStatus { - // No value has been specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Meets all quality expectations. - APPROVED = 2; - - // Does not meet some quality expectations. The specific reason is found in - // the quality_disapproval_reasons field. - DISAPPROVED = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/feed_item_quality_disapproval_reason.proto b/third_party/googleapis/google/ads/googleads/v13/enums/feed_item_quality_disapproval_reason.proto deleted file mode 100644 index a124c573a..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/feed_item_quality_disapproval_reason.proto +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemQualityDisapprovalReasonProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing feed item quality disapproval reasons. - -// Container for enum describing possible quality evaluation disapproval reasons -// of a feed item. -message FeedItemQualityDisapprovalReasonEnum { - // The possible quality evaluation disapproval reasons of a feed item. - enum FeedItemQualityDisapprovalReason { - // No value has been specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Price contains repetitive headers. - PRICE_TABLE_REPETITIVE_HEADERS = 2; - - // Price contains repetitive description. - PRICE_TABLE_REPETITIVE_DESCRIPTION = 3; - - // Price contains inconsistent items. - PRICE_TABLE_INCONSISTENT_ROWS = 4; - - // Price contains qualifiers in description. - PRICE_DESCRIPTION_HAS_PRICE_QUALIFIERS = 5; - - // Price contains an unsupported language. - PRICE_UNSUPPORTED_LANGUAGE = 6; - - // Price item header is not relevant to the price type. - PRICE_TABLE_ROW_HEADER_TABLE_TYPE_MISMATCH = 7; - - // Price item header has promotional text. - PRICE_TABLE_ROW_HEADER_HAS_PROMOTIONAL_TEXT = 8; - - // Price item description is not relevant to the item header. - PRICE_TABLE_ROW_DESCRIPTION_NOT_RELEVANT = 9; - - // Price item description contains promotional text. - PRICE_TABLE_ROW_DESCRIPTION_HAS_PROMOTIONAL_TEXT = 10; - - // Price item header and description are repetitive. - PRICE_TABLE_ROW_HEADER_DESCRIPTION_REPETITIVE = 11; - - // Price item is in a foreign language, nonsense, or can't be rated. - PRICE_TABLE_ROW_UNRATEABLE = 12; - - // Price item price is invalid or inaccurate. - PRICE_TABLE_ROW_PRICE_INVALID = 13; - - // Price item URL is invalid or irrelevant. - PRICE_TABLE_ROW_URL_INVALID = 14; - - // Price item header or description has price. - PRICE_HEADER_OR_DESCRIPTION_HAS_PRICE = 15; - - // Structured snippet values do not match the header. - STRUCTURED_SNIPPETS_HEADER_POLICY_VIOLATED = 16; - - // Structured snippet values are repeated. - STRUCTURED_SNIPPETS_REPEATED_VALUES = 17; - - // Structured snippet values violate editorial guidelines like punctuation. - STRUCTURED_SNIPPETS_EDITORIAL_GUIDELINES = 18; - - // Structured snippet contain promotional text. - STRUCTURED_SNIPPETS_HAS_PROMOTIONAL_TEXT = 19; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/feed_item_set_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/feed_item_set_status.proto deleted file mode 100644 index 53925eea3..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/feed_item_set_status.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemSetStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing feed item set status. - -// Container for enum describing possible statuses of a feed item set. -message FeedItemSetStatusEnum { - // Possible statuses of a feed item set. - enum FeedItemSetStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Feed item set is enabled. - ENABLED = 2; - - // Feed item set has been removed. - REMOVED = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/feed_item_set_string_filter_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/feed_item_set_string_filter_type.proto deleted file mode 100644 index de3f9098a..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/feed_item_set_string_filter_type.proto +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemSetStringFilterTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// The type of string matching to be used for a dynamic FeedItemSet filter. -message FeedItemSetStringFilterTypeEnum { - // describe the possible types for a FeedItemSetStringFilter. - enum FeedItemSetStringFilterType { - // Not specified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The dynamic set filter will use exact string matching. - EXACT = 2; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/feed_item_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/feed_item_status.proto deleted file mode 100644 index a5509de29..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/feed_item_status.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing feed item status. - -// Container for enum describing possible statuses of a feed item. -message FeedItemStatusEnum { - // Possible statuses of a feed item. - enum FeedItemStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Feed item is enabled. - ENABLED = 2; - - // Feed item has been removed. - REMOVED = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/feed_item_target_device.proto b/third_party/googleapis/google/ads/googleads/v13/enums/feed_item_target_device.proto deleted file mode 100644 index 6edf1a7a9..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/feed_item_target_device.proto +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemTargetDeviceProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing feed item target device type. - -// Container for enum describing possible data types for a feed item target -// device. -message FeedItemTargetDeviceEnum { - // Possible data types for a feed item target device. - enum FeedItemTargetDevice { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Mobile. - MOBILE = 2; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/feed_item_target_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/feed_item_target_status.proto deleted file mode 100644 index 436213d78..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/feed_item_target_status.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemTargetStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing feed item target status. - -// Container for enum describing possible statuses of a feed item target. -message FeedItemTargetStatusEnum { - // Possible statuses of a feed item target. - enum FeedItemTargetStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Feed item target is enabled. - ENABLED = 2; - - // Feed item target has been removed. - REMOVED = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/feed_item_target_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/feed_item_target_type.proto deleted file mode 100644 index b9359a295..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/feed_item_target_type.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemTargetTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing feed item target type status. - -// Container for enum describing possible types of a feed item target. -message FeedItemTargetTypeEnum { - // Possible type of a feed item target. - enum FeedItemTargetType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Feed item targets a campaign. - CAMPAIGN = 2; - - // Feed item targets an ad group. - AD_GROUP = 3; - - // Feed item targets a criterion. - CRITERION = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/feed_item_validation_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/feed_item_validation_status.proto deleted file mode 100644 index e91700cbe..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/feed_item_validation_status.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemValidationStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing feed item validation statuses. - -// Container for enum describing possible validation statuses of a feed item. -message FeedItemValidationStatusEnum { - // The possible validation statuses of a feed item. - enum FeedItemValidationStatus { - // No value has been specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Validation pending. - PENDING = 2; - - // An error was found. - INVALID = 3; - - // Feed item is semantically well-formed. - VALID = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/feed_link_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/feed_link_status.proto deleted file mode 100644 index a94550cab..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/feed_link_status.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedLinkStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing status of a feed link. - -// Container for an enum describing possible statuses of a feed link. -message FeedLinkStatusEnum { - // Possible statuses of a feed link. - enum FeedLinkStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Feed link is enabled. - ENABLED = 2; - - // Feed link has been removed. - REMOVED = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/feed_mapping_criterion_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/feed_mapping_criterion_type.proto deleted file mode 100644 index 41a47a968..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/feed_mapping_criterion_type.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedMappingCriterionTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing criterion types for feed mappings. - -// Container for enum describing possible criterion types for a feed mapping. -message FeedMappingCriterionTypeEnum { - // Possible placeholder types for a feed mapping. - enum FeedMappingCriterionType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Allows campaign targeting at locations within a location feed. - LOCATION_EXTENSION_TARGETING = 4; - - // Allows url targeting for your dynamic search ads within a page feed. - DSA_PAGE_FEED = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/feed_mapping_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/feed_mapping_status.proto deleted file mode 100644 index 1efc0c385..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/feed_mapping_status.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedMappingStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing feed mapping status. - -// Container for enum describing possible statuses of a feed mapping. -message FeedMappingStatusEnum { - // Possible statuses of a feed mapping. - enum FeedMappingStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Feed mapping is enabled. - ENABLED = 2; - - // Feed mapping has been removed. - REMOVED = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/feed_origin.proto b/third_party/googleapis/google/ads/googleads/v13/enums/feed_origin.proto deleted file mode 100644 index c31054a51..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/feed_origin.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedOriginProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing feed origin. - -// Container for enum describing possible values for a feed origin. -message FeedOriginEnum { - // Possible values for a feed origin. - enum FeedOrigin { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The FeedAttributes for this Feed are managed by the - // user. Users can add FeedAttributes to this Feed. - USER = 2; - - // The FeedAttributes for an GOOGLE Feed are created by Google. A feed of - // this type is maintained by Google and will have the correct attributes - // for the placeholder type of the feed. - GOOGLE = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/feed_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/feed_status.proto deleted file mode 100644 index 76ba301d8..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/feed_status.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing feed status. - -// Container for enum describing possible statuses of a feed. -message FeedStatusEnum { - // Possible statuses of a feed. - enum FeedStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Feed is enabled. - ENABLED = 2; - - // Feed has been removed. - REMOVED = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/flight_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v13/enums/flight_placeholder_field.proto deleted file mode 100644 index 9f5561412..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/flight_placeholder_field.proto +++ /dev/null @@ -1,114 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FlightsPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing Flight placeholder fields. - -// Values for Flight placeholder fields. -// For more information about dynamic remarketing feeds, see -// https://support.google.com/google-ads/answer/6053288. -message FlightPlaceholderFieldEnum { - // Possible values for Flight placeholder fields. - enum FlightPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. Required. Destination id. Example: PAR, LON. - // For feed items that only have destination id, destination id must be a - // unique key. For feed items that have both destination id and origin id, - // then the combination must be a unique key. - DESTINATION_ID = 2; - - // Data Type: STRING. Origin id. Example: PAR, LON. - // Optional. Combination of destination id and origin id must be unique per - // offer. - ORIGIN_ID = 3; - - // Data Type: STRING. Required. Main headline with product name to be shown - // in dynamic ad. - FLIGHT_DESCRIPTION = 4; - - // Data Type: STRING. Shorter names are recommended. - ORIGIN_NAME = 5; - - // Data Type: STRING. Shorter names are recommended. - DESTINATION_NAME = 6; - - // Data Type: STRING. Price to be shown in the ad. - // Example: "100.00 USD" - FLIGHT_PRICE = 7; - - // Data Type: STRING. Formatted price to be shown in the ad. - // Example: "Starting at $100.00 USD", "$80 - $100" - FORMATTED_PRICE = 8; - - // Data Type: STRING. Sale price to be shown in the ad. - // Example: "80.00 USD" - FLIGHT_SALE_PRICE = 9; - - // Data Type: STRING. Formatted sale price to be shown in the ad. - // Example: "On sale for $80.00", "$60 - $80" - FORMATTED_SALE_PRICE = 10; - - // Data Type: URL. Image to be displayed in the ad. - IMAGE_URL = 11; - - // Data Type: URL_LIST. Required. Final URLs for the ad when using Upgraded - // URLs. User will be redirected to these URLs when they click on an ad, or - // when they click on a specific flight for ads that show multiple - // flights. - FINAL_URLS = 12; - - // Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - // URLs. - FINAL_MOBILE_URLS = 13; - - // Data Type: URL. Tracking template for the ad when using Upgraded URLs. - TRACKING_URL = 14; - - // Data Type: STRING. Android app link. Must be formatted as: - // android-app://{package_id}/{scheme}/{host_path}. - // The components are defined as follows: - // package_id: app ID as specified in Google Play. - // scheme: the scheme to pass to the application. Can be HTTP, or a custom - // scheme. - // host_path: identifies the specific content within your application. - ANDROID_APP_LINK = 15; - - // Data Type: STRING_LIST. List of recommended destination IDs to show - // together with this item. - SIMILAR_DESTINATION_IDS = 16; - - // Data Type: STRING. iOS app link. - IOS_APP_LINK = 17; - - // Data Type: INT64. iOS app store ID. - IOS_APP_STORE_ID = 18; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/frequency_cap_event_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/frequency_cap_event_type.proto deleted file mode 100644 index 6e15f5b25..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/frequency_cap_event_type.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FrequencyCapEventTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing frequency caps. - -// Container for enum describing the type of event that the cap applies to. -message FrequencyCapEventTypeEnum { - // The type of event that the cap applies to (for example, impression). - enum FrequencyCapEventType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The cap applies on ad impressions. - IMPRESSION = 2; - - // The cap applies on video ad views. - VIDEO_VIEW = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/frequency_cap_level.proto b/third_party/googleapis/google/ads/googleads/v13/enums/frequency_cap_level.proto deleted file mode 100644 index eefb70972..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/frequency_cap_level.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FrequencyCapLevelProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing frequency caps. - -// Container for enum describing the level on which the cap is to be applied. -message FrequencyCapLevelEnum { - // The level on which the cap is to be applied (e.g ad group ad, ad group). - // Cap is applied to all the resources of this level. - enum FrequencyCapLevel { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The cap is applied at the ad group ad level. - AD_GROUP_AD = 2; - - // The cap is applied at the ad group level. - AD_GROUP = 3; - - // The cap is applied at the campaign level. - CAMPAIGN = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/frequency_cap_time_unit.proto b/third_party/googleapis/google/ads/googleads/v13/enums/frequency_cap_time_unit.proto deleted file mode 100644 index d0be269a1..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/frequency_cap_time_unit.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FrequencyCapTimeUnitProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing frequency caps. - -// Container for enum describing the unit of time the cap is defined at. -message FrequencyCapTimeUnitEnum { - // Unit of time the cap is defined at (for example, day, week). - enum FrequencyCapTimeUnit { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The cap would define limit per one day. - DAY = 2; - - // The cap would define limit per one week. - WEEK = 3; - - // The cap would define limit per one month. - MONTH = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/gender_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/gender_type.proto deleted file mode 100644 index 022a1338d..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/gender_type.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "GenderTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing gender types. - -// Container for enum describing the type of demographic genders. -message GenderTypeEnum { - // The type of demographic genders (for example, female). - enum GenderType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Male. - MALE = 10; - - // Female. - FEMALE = 11; - - // Undetermined gender. - UNDETERMINED = 20; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/geo_target_constant_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/geo_target_constant_status.proto deleted file mode 100644 index 8f7128f77..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/geo_target_constant_status.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "GeoTargetConstantStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing geo target constant statuses. - -// Container for describing the status of a geo target constant. -message GeoTargetConstantStatusEnum { - // The possible statuses of a geo target constant. - enum GeoTargetConstantStatus { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // The geo target constant is valid. - ENABLED = 2; - - // The geo target constant is obsolete and will be removed. - REMOVAL_PLANNED = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/geo_targeting_restriction.proto b/third_party/googleapis/google/ads/googleads/v13/enums/geo_targeting_restriction.proto deleted file mode 100644 index bbe20226b..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/geo_targeting_restriction.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "GeoTargetingRestrictionProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing GeoTargetingRestriction. - -// Message describing feed item geo targeting restriction. -message GeoTargetingRestrictionEnum { - // A restriction used to determine if the request context's - // geo should be matched. - enum GeoTargetingRestriction { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Indicates that request context should match the physical location of - // the user. - LOCATION_OF_PRESENCE = 2; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/geo_targeting_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/geo_targeting_type.proto deleted file mode 100644 index 604b9e648..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/geo_targeting_type.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "GeoTargetingTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing geo targeting types. - -// Container for enum describing possible geo targeting types. -message GeoTargetingTypeEnum { - // The possible geo targeting types. - enum GeoTargetingType { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Location the user is interested in while making the query. - AREA_OF_INTEREST = 2; - - // Location of the user issuing the query. - LOCATION_OF_PRESENCE = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/goal_config_level.proto b/third_party/googleapis/google/ads/googleads/v13/enums/goal_config_level.proto deleted file mode 100644 index 964a54db9..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/goal_config_level.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "GoalConfigLevelProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing goal config level. - -// Container for enum describing possible goal config levels. -message GoalConfigLevelEnum { - // The possible goal config levels. Campaigns automatically inherit the - // effective conversion account's customer goals unless they have been - // configured with their own set of campaign goals. - enum GoalConfigLevel { - // The goal config level has not been specified. - UNSPECIFIED = 0; - - // The goal config level is not known in this version. - UNKNOWN = 1; - - // The goal config is defined at the customer level. - CUSTOMER = 2; - - // The goal config is defined at the campaign level. - CAMPAIGN = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/google_ads_field_category.proto b/third_party/googleapis/google/ads/googleads/v13/enums/google_ads_field_category.proto deleted file mode 100644 index 7010d81c0..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/google_ads_field_category.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "GoogleAdsFieldCategoryProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing GoogleAdsField categories. - -// Container for enum that determines if the described artifact is a resource -// or a field, and if it is a field, when it segments search queries. -message GoogleAdsFieldCategoryEnum { - // The category of the artifact. - enum GoogleAdsFieldCategory { - // Unspecified - UNSPECIFIED = 0; - - // Unknown - UNKNOWN = 1; - - // The described artifact is a resource. - RESOURCE = 2; - - // The described artifact is a field and is an attribute of a resource. - // Including a resource attribute field in a query may segment the query if - // the resource to which it is attributed segments the resource found in - // the FROM clause. - ATTRIBUTE = 3; - - // The described artifact is a field and always segments search queries. - SEGMENT = 5; - - // The described artifact is a field and is a metric. It never segments - // search queries. - METRIC = 6; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/google_ads_field_data_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/google_ads_field_data_type.proto deleted file mode 100644 index 5a8985876..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/google_ads_field_data_type.proto +++ /dev/null @@ -1,98 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "GoogleAdsFieldDataTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing GoogleAdsField data types. - -// Container holding the various data types. -message GoogleAdsFieldDataTypeEnum { - // These are the various types a GoogleAdsService artifact may take on. - enum GoogleAdsFieldDataType { - // Unspecified - UNSPECIFIED = 0; - - // Unknown - UNKNOWN = 1; - - // Maps to google.protobuf.BoolValue - // - // Applicable operators: =, != - BOOLEAN = 2; - - // Maps to google.protobuf.StringValue. It can be compared using the set of - // operators specific to dates however. - // - // Applicable operators: =, <, >, <=, >=, BETWEEN, DURING, and IN - DATE = 3; - - // Maps to google.protobuf.DoubleValue - // - // Applicable operators: =, !=, <, >, IN, NOT IN - DOUBLE = 4; - - // Maps to an enum. It's specific definition can be found at type_url. - // - // Applicable operators: =, !=, IN, NOT IN - ENUM = 5; - - // Maps to google.protobuf.FloatValue - // - // Applicable operators: =, !=, <, >, IN, NOT IN - FLOAT = 6; - - // Maps to google.protobuf.Int32Value - // - // Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN - INT32 = 7; - - // Maps to google.protobuf.Int64Value - // - // Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN - INT64 = 8; - - // Maps to a protocol buffer message type. The data type's details can be - // found in type_url. - // - // No operators work with MESSAGE fields. - MESSAGE = 9; - - // Maps to google.protobuf.StringValue. Represents the resource name - // (unique id) of a resource or one of its foreign keys. - // - // No operators work with RESOURCE_NAME fields. - RESOURCE_NAME = 10; - - // Maps to google.protobuf.StringValue. - // - // Applicable operators: =, !=, LIKE, NOT LIKE, IN, NOT IN - STRING = 11; - - // Maps to google.protobuf.UInt64Value - // - // Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN - UINT64 = 12; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/google_voice_call_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/google_voice_call_status.proto deleted file mode 100644 index ebb1384ee..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/google_voice_call_status.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "GoogleVoiceCallStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing google voice call status. - -// Container for enum describing possible statuses of a google voice call. -message GoogleVoiceCallStatusEnum { - // Possible statuses of a google voice call. - enum GoogleVoiceCallStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The call was missed. - MISSED = 2; - - // The call was received. - RECEIVED = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/hotel_asset_suggestion_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/hotel_asset_suggestion_status.proto deleted file mode 100644 index 1d606d826..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/hotel_asset_suggestion_status.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "HotelAssetSuggestionStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing hotel asset suggestion status. - -// Container for enum describing possible statuses of a hotel asset suggestion. -message HotelAssetSuggestionStatusEnum { - // Possible statuses of a hotel asset suggestion. - enum HotelAssetSuggestionStatus { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The hotel asset suggestion was successfully retrieved. - SUCCESS = 2; - - // A hotel look up returns nothing. - HOTEL_NOT_FOUND = 3; - - // A Google Places ID is invalid and cannot be decoded. - INVALID_PLACE_ID = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/hotel_date_selection_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/hotel_date_selection_type.proto deleted file mode 100644 index 49fa601e6..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/hotel_date_selection_type.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "HotelDateSelectionTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing hotel date selection types. - -// Container for enum describing possible hotel date selection types -message HotelDateSelectionTypeEnum { - // Enum describing possible hotel date selection types. - enum HotelDateSelectionType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Dates selected by default. - DEFAULT_SELECTION = 50; - - // Dates selected by the user. - USER_SELECTED = 51; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/hotel_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v13/enums/hotel_placeholder_field.proto deleted file mode 100644 index 96f5ce836..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/hotel_placeholder_field.proto +++ /dev/null @@ -1,120 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "HotelsPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing Hotel placeholder fields. - -// Values for Hotel placeholder fields. -// For more information about dynamic remarketing feeds, see -// https://support.google.com/google-ads/answer/6053288. -message HotelPlaceholderFieldEnum { - // Possible values for Hotel placeholder fields. - enum HotelPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. Required. Unique ID. - PROPERTY_ID = 2; - - // Data Type: STRING. Required. Main headline with property name to be shown - // in dynamic ad. - PROPERTY_NAME = 3; - - // Data Type: STRING. Name of destination to be shown in dynamic ad. - DESTINATION_NAME = 4; - - // Data Type: STRING. Description of destination to be shown in dynamic ad. - DESCRIPTION = 5; - - // Data Type: STRING. Complete property address, including postal code. - ADDRESS = 6; - - // Data Type: STRING. Price to be shown in the ad. - // Example: "100.00 USD" - PRICE = 7; - - // Data Type: STRING. Formatted price to be shown in the ad. - // Example: "Starting at $100.00 USD", "$80 - $100" - FORMATTED_PRICE = 8; - - // Data Type: STRING. Sale price to be shown in the ad. - // Example: "80.00 USD" - SALE_PRICE = 9; - - // Data Type: STRING. Formatted sale price to be shown in the ad. - // Example: "On sale for $80.00", "$60 - $80" - FORMATTED_SALE_PRICE = 10; - - // Data Type: URL. Image to be displayed in the ad. - IMAGE_URL = 11; - - // Data Type: STRING. Category of property used to group like items together - // for recommendation engine. - CATEGORY = 12; - - // Data Type: INT64. Star rating (1 to 5) used to group like items - // together for recommendation engine. - STAR_RATING = 13; - - // Data Type: STRING_LIST. Keywords used for product retrieval. - CONTEXTUAL_KEYWORDS = 14; - - // Data Type: URL_LIST. Required. Final URLs for the ad when using Upgraded - // URLs. User will be redirected to these URLs when they click on an ad, or - // when they click on a specific flight for ads that show multiple - // flights. - FINAL_URLS = 15; - - // Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - // URLs. - FINAL_MOBILE_URLS = 16; - - // Data Type: URL. Tracking template for the ad when using Upgraded URLs. - TRACKING_URL = 17; - - // Data Type: STRING. Android app link. Must be formatted as: - // android-app://{package_id}/{scheme}/{host_path}. - // The components are defined as follows: - // package_id: app ID as specified in Google Play. - // scheme: the scheme to pass to the application. Can be HTTP, or a custom - // scheme. - // host_path: identifies the specific content within your application. - ANDROID_APP_LINK = 18; - - // Data Type: STRING_LIST. List of recommended property IDs to show together - // with this item. - SIMILAR_PROPERTY_IDS = 19; - - // Data Type: STRING. iOS app link. - IOS_APP_LINK = 20; - - // Data Type: INT64. iOS app store ID. - IOS_APP_STORE_ID = 21; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/hotel_price_bucket.proto b/third_party/googleapis/google/ads/googleads/v13/enums/hotel_price_bucket.proto deleted file mode 100644 index 42e617397..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/hotel_price_bucket.proto +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "HotelPriceBucketProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing hotel price buckets. - -// Container for enum describing hotel price bucket for a hotel itinerary. -message HotelPriceBucketEnum { - // Enum describing possible hotel price buckets. - enum HotelPriceBucket { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Uniquely lowest price. Partner has the lowest price, and no other - // partners are within a small variance of that price. - LOWEST_UNIQUE = 2; - - // Tied for lowest price. Partner is within a small variance of the lowest - // price. - LOWEST_TIED = 3; - - // Not lowest price. Partner is not within a small variance of the lowest - // price. - NOT_LOWEST = 4; - - // Partner was the only one shown. - ONLY_PARTNER_SHOWN = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/hotel_rate_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/hotel_rate_type.proto deleted file mode 100644 index bfc166fd5..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/hotel_rate_type.proto +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "HotelRateTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing hotel rate types. - -// Container for enum describing possible hotel rate types. -message HotelRateTypeEnum { - // Enum describing possible hotel rate types. - enum HotelRateType { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Rate type information is unavailable. - UNAVAILABLE = 2; - - // Rates available to everyone. - PUBLIC_RATE = 3; - - // A membership program rate is available and satisfies basic requirements - // like having a public rate available. UI treatment will strikethrough the - // public rate and indicate that a discount is available to the user. For - // more on Qualified Rates, visit - // https://developers.google.com/hotels/hotel-ads/dev-guide/qualified-rates - QUALIFIED_RATE = 4; - - // Rates available to users that satisfy some eligibility criteria, for - // example, all signed-in users, 20% of mobile users, all mobile users in - // Canada, etc. - PRIVATE_RATE = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/hotel_reconciliation_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/hotel_reconciliation_status.proto deleted file mode 100644 index 25de334ec..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/hotel_reconciliation_status.proto +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "HotelReconciliationStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing hotel reconciliation row status. - -// Container for HotelReconciliationStatus. -message HotelReconciliationStatusEnum { - // Status of the hotel booking reconciliation. - enum HotelReconciliationStatus { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Bookings are for a future date, or a stay is underway but the check-out - // date hasn't passed. An active reservation can't be reconciled. - RESERVATION_ENABLED = 2; - - // Check-out has already taken place, or the booked dates have passed - // without cancellation. Bookings that are not reconciled within 45 days of - // the check-out date are billed based on the original booking price. - RECONCILIATION_NEEDED = 3; - - // These bookings have been reconciled. Reconciled bookings are billed 45 - // days after the check-out date. - RECONCILED = 4; - - // This booking was marked as canceled. Canceled stays with a value greater - // than zero (due to minimum stay rules or cancellation fees) are billed 45 - // days after the check-out date. - CANCELED = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/image_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v13/enums/image_placeholder_field.proto deleted file mode 100644 index fd2233687..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/image_placeholder_field.proto +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ImagePlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing Advertiser Provided Image placeholder fields. - -// Values for Advertiser Provided Image placeholder fields. -message ImagePlaceholderFieldEnum { - // Possible values for Advertiser Provided Image placeholder fields. - enum ImagePlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: INT64. The asset ID of the image. - ASSET_ID = 2; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/income_range_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/income_range_type.proto deleted file mode 100644 index 38ce1fb59..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/income_range_type.proto +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "IncomeRangeTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing income range types. - -// Container for enum describing the type of demographic income ranges. -message IncomeRangeTypeEnum { - // The type of demographic income ranges (for example, between 0% to 50%). - enum IncomeRangeType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // 0%-50%. - INCOME_RANGE_0_50 = 510001; - - // 50% to 60%. - INCOME_RANGE_50_60 = 510002; - - // 60% to 70%. - INCOME_RANGE_60_70 = 510003; - - // 70% to 80%. - INCOME_RANGE_70_80 = 510004; - - // 80% to 90%. - INCOME_RANGE_80_90 = 510005; - - // Greater than 90%. - INCOME_RANGE_90_UP = 510006; - - // Undetermined income range. - INCOME_RANGE_UNDETERMINED = 510000; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/interaction_event_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/interaction_event_type.proto deleted file mode 100644 index 7d381aea2..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/interaction_event_type.proto +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "InteractionEventTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing types of payable and free interactions. - -// Container for enum describing types of payable and free interactions. -message InteractionEventTypeEnum { - // Enum describing possible types of payable and free interactions. - enum InteractionEventType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Click to site. In most cases, this interaction navigates to an external - // location, usually the advertiser's landing page. This is also the default - // InteractionEventType for click events. - CLICK = 2; - - // The user's expressed intent to engage with the ad in-place. - ENGAGEMENT = 3; - - // User viewed a video ad. - VIDEO_VIEW = 4; - - // The default InteractionEventType for ad conversion events. - // This is used when an ad conversion row does NOT indicate - // that the free interactions (for example, the ad conversions) - // should be 'promoted' and reported as part of the core metrics. - // These are simply other (ad) conversions. - NONE = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/interaction_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/interaction_type.proto deleted file mode 100644 index 5c1b24724..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/interaction_type.proto +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "InteractionTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing interaction types. - -// Container for enum describing possible interaction types. -message InteractionTypeEnum { - // Enum describing possible interaction types. - enum InteractionType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Calls. - CALLS = 8000; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/invoice_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/invoice_type.proto deleted file mode 100644 index d29e7a2f1..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/invoice_type.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "InvoiceTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing invoice types. - -// Container for enum describing the type of invoices. -message InvoiceTypeEnum { - // The possible type of invoices. - enum InvoiceType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // An invoice with a negative amount. The account receives a credit. - CREDIT_MEMO = 2; - - // An invoice with a positive amount. The account owes a balance. - INVOICE = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/job_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v13/enums/job_placeholder_field.proto deleted file mode 100644 index a05f44912..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/job_placeholder_field.proto +++ /dev/null @@ -1,111 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "JobsPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing Job placeholder fields. - -// Values for Job placeholder fields. -// For more information about dynamic remarketing feeds, see -// https://support.google.com/google-ads/answer/6053288. -message JobPlaceholderFieldEnum { - // Possible values for Job placeholder fields. - enum JobPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. Required. If only JOB_ID is specified, then it must be - // unique. If both JOB_ID and LOCATION_ID are specified, then the - // pair must be unique. - // ID) pair must be unique. - JOB_ID = 2; - - // Data Type: STRING. Combination of JOB_ID and LOCATION_ID must be unique - // per offer. - LOCATION_ID = 3; - - // Data Type: STRING. Required. Main headline with job title to be shown in - // dynamic ad. - TITLE = 4; - - // Data Type: STRING. Job subtitle to be shown in dynamic ad. - SUBTITLE = 5; - - // Data Type: STRING. Description of job to be shown in dynamic ad. - DESCRIPTION = 6; - - // Data Type: URL. Image to be displayed in the ad. Highly recommended for - // image ads. - IMAGE_URL = 7; - - // Data Type: STRING. Category of property used to group like items together - // for recommendation engine. - CATEGORY = 8; - - // Data Type: STRING_LIST. Keywords used for product retrieval. - CONTEXTUAL_KEYWORDS = 9; - - // Data Type: STRING. Complete property address, including postal code. - ADDRESS = 10; - - // Data Type: STRING. Salary or salary range of job to be shown in dynamic - // ad. - SALARY = 11; - - // Data Type: URL_LIST. Required. Final URLs to be used in ad when using - // Upgraded URLs; the more specific the better (for example, the individual - // URL of a specific job and its location). - FINAL_URLS = 12; - - // Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - // URLs. - FINAL_MOBILE_URLS = 14; - - // Data Type: URL. Tracking template for the ad when using Upgraded URLs. - TRACKING_URL = 15; - - // Data Type: STRING. Android app link. Must be formatted as: - // android-app://{package_id}/{scheme}/{host_path}. - // The components are defined as follows: - // package_id: app ID as specified in Google Play. - // scheme: the scheme to pass to the application. Can be HTTP, or a custom - // scheme. - // host_path: identifies the specific content within your application. - ANDROID_APP_LINK = 16; - - // Data Type: STRING_LIST. List of recommended job IDs to show together with - // this item. - SIMILAR_JOB_IDS = 17; - - // Data Type: STRING. iOS app link. - IOS_APP_LINK = 18; - - // Data Type: INT64. iOS app store ID. - IOS_APP_STORE_ID = 19; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/keyword_match_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/keyword_match_type.proto deleted file mode 100644 index ff90f699a..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/keyword_match_type.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "KeywordMatchTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing Keyword match types. - -// Message describing Keyword match types. -message KeywordMatchTypeEnum { - // Possible Keyword match types. - enum KeywordMatchType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Exact match. - EXACT = 2; - - // Phrase match. - PHRASE = 3; - - // Broad match. - BROAD = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/keyword_plan_aggregate_metric_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/keyword_plan_aggregate_metric_type.proto deleted file mode 100644 index 1b07b6619..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/keyword_plan_aggregate_metric_type.proto +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanAggregateMetricTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing keyword plan aggregate metric types. - -// The enumeration of keyword plan aggregate metric types. -message KeywordPlanAggregateMetricTypeEnum { - // Aggregate fields. - enum KeywordPlanAggregateMetricType { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // The device breakdown of aggregate search volume. - DEVICE = 2; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/keyword_plan_competition_level.proto b/third_party/googleapis/google/ads/googleads/v13/enums/keyword_plan_competition_level.proto deleted file mode 100644 index 71b3313af..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/keyword_plan_competition_level.proto +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanCompetitionLevelProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing Keyword Planner competition levels. - -// Container for enumeration of keyword competition levels. The competition -// level indicates how competitive ad placement is for a keyword and -// is determined by the number of advertisers bidding on that keyword relative -// to all keywords across Google. The competition level can depend on the -// location and Search Network targeting options you've selected. -message KeywordPlanCompetitionLevelEnum { - // Competition level of a keyword. - enum KeywordPlanCompetitionLevel { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Low competition. The Competition Index range for this is [0, 33]. - LOW = 2; - - // Medium competition. The Competition Index range for this is [34, 66]. - MEDIUM = 3; - - // High competition. The Competition Index range for this is [67, 100]. - HIGH = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/keyword_plan_concept_group_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/keyword_plan_concept_group_type.proto deleted file mode 100644 index e22ff6c84..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/keyword_plan_concept_group_type.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanConceptGroupTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing Keyword Planner Concept Group types. - -// Container for enumeration of keyword plan concept group types. -message KeywordPlanConceptGroupTypeEnum { - // Enumerates keyword plan concept group types. - enum KeywordPlanConceptGroupType { - // The concept group classification different from brand/non-brand. - // This is a catch all bucket for all classifications that are none of the - // below. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // The concept group classification is based on BRAND. - BRAND = 2; - - // The concept group classification based on BRAND, that didn't fit well - // with the BRAND classifications. These are generally outliers and can have - // very few keywords in this type of classification. - OTHER_BRANDS = 3; - - // These concept group classification is not based on BRAND. This is - // returned for generic keywords that don't have a brand association. - NON_BRAND = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/keyword_plan_forecast_interval.proto b/third_party/googleapis/google/ads/googleads/v13/enums/keyword_plan_forecast_interval.proto deleted file mode 100644 index 466260658..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/keyword_plan_forecast_interval.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanForecastIntervalProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing keyword plan forecast intervals. - -// Container for enumeration of forecast intervals. -message KeywordPlanForecastIntervalEnum { - // Forecast intervals. - enum KeywordPlanForecastInterval { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // The next week date range for keyword plan. The next week is based - // on the default locale of the user's account and is mostly SUN-SAT or - // MON-SUN. - // This can be different from next-7 days. - NEXT_WEEK = 3; - - // The next month date range for keyword plan. - NEXT_MONTH = 4; - - // The next quarter date range for keyword plan. - NEXT_QUARTER = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/keyword_plan_keyword_annotation.proto b/third_party/googleapis/google/ads/googleads/v13/enums/keyword_plan_keyword_annotation.proto deleted file mode 100644 index bfdd93316..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/keyword_plan_keyword_annotation.proto +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanKeywordAnnotationProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing Keyword Planner Keyword annotation types. - -// Container for enumeration of keyword plan keyword annotations. -message KeywordPlanKeywordAnnotationEnum { - // Enumerates keyword plan annotations that can be requested. - enum KeywordPlanKeywordAnnotation { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Return the keyword concept and concept group data. - KEYWORD_CONCEPT = 2; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/keyword_plan_network.proto b/third_party/googleapis/google/ads/googleads/v13/enums/keyword_plan_network.proto deleted file mode 100644 index c474f3c67..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/keyword_plan_network.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanNetworkProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing Keyword Planner forecastable network types. - -// Container for enumeration of keyword plan forecastable network types. -message KeywordPlanNetworkEnum { - // Enumerates keyword plan forecastable network types. - enum KeywordPlanNetwork { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Google Search. - GOOGLE_SEARCH = 2; - - // Google Search + Search partners. - GOOGLE_SEARCH_AND_PARTNERS = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/label_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/label_status.proto deleted file mode 100644 index 9d84a99e6..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/label_status.proto +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LabelStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Container for enum describing possible status of a label. -message LabelStatusEnum { - // Possible statuses of a label. - enum LabelStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Label is enabled. - ENABLED = 2; - - // Label is removed. - REMOVED = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/lead_form_call_to_action_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/lead_form_call_to_action_type.proto deleted file mode 100644 index 3e6c3b2a2..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/lead_form_call_to_action_type.proto +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LeadFormCallToActionTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Describes the type of call-to-action phrases in a lead form. -message LeadFormCallToActionTypeEnum { - // Enum describing the type of call-to-action phrases in a lead form. - enum LeadFormCallToActionType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Learn more. - LEARN_MORE = 2; - - // Get quote. - GET_QUOTE = 3; - - // Apply now. - APPLY_NOW = 4; - - // Sign Up. - SIGN_UP = 5; - - // Contact us. - CONTACT_US = 6; - - // Subscribe. - SUBSCRIBE = 7; - - // Download. - DOWNLOAD = 8; - - // Book now. - BOOK_NOW = 9; - - // Get offer. - GET_OFFER = 10; - - // Register. - REGISTER = 11; - - // Get info. - GET_INFO = 12; - - // Request a demo. - REQUEST_DEMO = 13; - - // Join now. - JOIN_NOW = 14; - - // Get started. - GET_STARTED = 15; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/lead_form_desired_intent.proto b/third_party/googleapis/google/ads/googleads/v13/enums/lead_form_desired_intent.proto deleted file mode 100644 index b44be7267..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/lead_form_desired_intent.proto +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LeadFormDesiredIntentProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Describes the chosen level of intent of generated leads. -message LeadFormDesiredIntentEnum { - // Enum describing the chosen level of intent of generated leads. - enum LeadFormDesiredIntent { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Deliver more leads at a potentially lower quality. - LOW_INTENT = 2; - - // Deliver leads that are more qualified. - HIGH_INTENT = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/lead_form_field_user_input_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/lead_form_field_user_input_type.proto deleted file mode 100644 index bbad4bcbd..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/lead_form_field_user_input_type.proto +++ /dev/null @@ -1,675 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LeadFormFieldUserInputTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Describes the input type of a lead form field. -message LeadFormFieldUserInputTypeEnum { - // Enum describing the input type of a lead form field. - enum LeadFormFieldUserInputType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The user will be asked to fill in their given and family name. This field - // cannot be set at the same time as GIVEN_NAME or FAMILY_NAME. - FULL_NAME = 2; - - // The user will be asked to fill in their email address. - EMAIL = 3; - - // The user will be asked to fill in their phone number. - PHONE_NUMBER = 4; - - // The user will be asked to fill in their zip code. - POSTAL_CODE = 5; - - // The user will be asked to fill in their street address. - STREET_ADDRESS = 8; - - // The user will be asked to fill in their city. - CITY = 9; - - // The user will be asked to fill in their region part of the address (for - // example, state for US, province for Canada). - REGION = 10; - - // The user will be asked to fill in their country. - COUNTRY = 11; - - // The user will be asked to fill in their work email address. - WORK_EMAIL = 12; - - // The user will be asked to fill in their company name. - COMPANY_NAME = 13; - - // The user will be asked to fill in their work phone. - WORK_PHONE = 14; - - // The user will be asked to fill in their job title. - JOB_TITLE = 15; - - // The user will be asked to fill in their CPF for Brazil users. - GOVERNMENT_ISSUED_ID_CPF_BR = 16; - - // The user will be asked to fill in their DNI for Argentina users. - GOVERNMENT_ISSUED_ID_DNI_AR = 17; - - // The user will be asked to fill in their DNI for Peru users. - GOVERNMENT_ISSUED_ID_DNI_PE = 18; - - // The user will be asked to fill in their RUT for Chile users. - GOVERNMENT_ISSUED_ID_RUT_CL = 19; - - // The user will be asked to fill in their CC for Colombia users. - GOVERNMENT_ISSUED_ID_CC_CO = 20; - - // The user will be asked to fill in their CI for Ecuador users. - GOVERNMENT_ISSUED_ID_CI_EC = 21; - - // The user will be asked to fill in their RFC for Mexico users. - GOVERNMENT_ISSUED_ID_RFC_MX = 22; - - // The user will be asked to fill in their first name. This - // field can not be set at the same time as FULL_NAME. - FIRST_NAME = 23; - - // The user will be asked to fill in their last name. This - // field can not be set at the same time as FULL_NAME. - LAST_NAME = 24; - - // Question: "Which model are you interested in?" - // Category: "Auto" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - VEHICLE_MODEL = 1001; - - // Question: "Which type of vehicle are you interested in?" - // Category: "Auto" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - VEHICLE_TYPE = 1002; - - // Question: "What is your preferred dealership?" - // Category: "Auto" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - PREFERRED_DEALERSHIP = 1003; - - // Question: "When do you plan on purchasing a vehicle?" - // Category: "Auto" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - VEHICLE_PURCHASE_TIMELINE = 1004; - - // Question: "Do you own a vehicle?" - // Category: "Auto" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - VEHICLE_OWNERSHIP = 1005; - - // Question: "What vehicle ownership option are you interested in?" - // Category: "Auto" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - VEHICLE_PAYMENT_TYPE = 1009; - - // Question: "What type of vehicle condition are you interested in?" - // Category: "Auto" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - VEHICLE_CONDITION = 1010; - - // Question: "What size is your company?" - // Category: "Business" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - COMPANY_SIZE = 1006; - - // Question: "What is your annual sales volume?" - // Category: "Business" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - ANNUAL_SALES = 1007; - - // Question: "How many years have you been in business?" - // Category: "Business" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - YEARS_IN_BUSINESS = 1008; - - // Question: "What is your job department?" - // Category: "Business" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - JOB_DEPARTMENT = 1011; - - // Question: "What is your job role?" - // Category: "Business" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - JOB_ROLE = 1012; - - // Question: "Are you over 18 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_18_AGE = 1078; - - // Question: "Are you over 19 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_19_AGE = 1079; - - // Question: "Are you over 20 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_20_AGE = 1080; - - // Question: "Are you over 21 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_21_AGE = 1081; - - // Question: "Are you over 22 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_22_AGE = 1082; - - // Question: "Are you over 23 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_23_AGE = 1083; - - // Question: "Are you over 24 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_24_AGE = 1084; - - // Question: "Are you over 25 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_25_AGE = 1085; - - // Question: "Are you over 26 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_26_AGE = 1086; - - // Question: "Are you over 27 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_27_AGE = 1087; - - // Question: "Are you over 28 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_28_AGE = 1088; - - // Question: "Are you over 29 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_29_AGE = 1089; - - // Question: "Are you over 30 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_30_AGE = 1090; - - // Question: "Are you over 31 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_31_AGE = 1091; - - // Question: "Are you over 32 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_32_AGE = 1092; - - // Question: "Are you over 33 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_33_AGE = 1093; - - // Question: "Are you over 34 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_34_AGE = 1094; - - // Question: "Are you over 35 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_35_AGE = 1095; - - // Question: "Are you over 36 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_36_AGE = 1096; - - // Question: "Are you over 37 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_37_AGE = 1097; - - // Question: "Are you over 38 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_38_AGE = 1098; - - // Question: "Are you over 39 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_39_AGE = 1099; - - // Question: "Are you over 40 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_40_AGE = 1100; - - // Question: "Are you over 41 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_41_AGE = 1101; - - // Question: "Are you over 42 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_42_AGE = 1102; - - // Question: "Are you over 43 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_43_AGE = 1103; - - // Question: "Are you over 44 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_44_AGE = 1104; - - // Question: "Are you over 45 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_45_AGE = 1105; - - // Question: "Are you over 46 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_46_AGE = 1106; - - // Question: "Are you over 47 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_47_AGE = 1107; - - // Question: "Are you over 48 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_48_AGE = 1108; - - // Question: "Are you over 49 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_49_AGE = 1109; - - // Question: "Are you over 50 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_50_AGE = 1110; - - // Question: "Are you over 51 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_51_AGE = 1111; - - // Question: "Are you over 52 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_52_AGE = 1112; - - // Question: "Are you over 53 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_53_AGE = 1113; - - // Question: "Are you over 54 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_54_AGE = 1114; - - // Question: "Are you over 55 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_55_AGE = 1115; - - // Question: "Are you over 56 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_56_AGE = 1116; - - // Question: "Are you over 57 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_57_AGE = 1117; - - // Question: "Are you over 58 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_58_AGE = 1118; - - // Question: "Are you over 59 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_59_AGE = 1119; - - // Question: "Are you over 60 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_60_AGE = 1120; - - // Question: "Are you over 61 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_61_AGE = 1121; - - // Question: "Are you over 62 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_62_AGE = 1122; - - // Question: "Are you over 63 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_63_AGE = 1123; - - // Question: "Are you over 64 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_64_AGE = 1124; - - // Question: "Are you over 65 years of age?" - // Category: "Demographics" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OVER_65_AGE = 1125; - - // Question: "Which program are you interested in?" - // Category: "Education" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - EDUCATION_PROGRAM = 1013; - - // Question: "Which course are you interested in?" - // Category: "Education" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - EDUCATION_COURSE = 1014; - - // Question: "Which product are you interested in?" - // Category: "General" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - PRODUCT = 1016; - - // Question: "Which service are you interested in?" - // Category: "General" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - SERVICE = 1017; - - // Question: "Which offer are you interested in?" - // Category: "General" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - OFFER = 1018; - - // Question: "Which category are you interested in?" - // Category: "General" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - CATEGORY = 1019; - - // Question: "What is your preferred method of contact?" - // Category: "General" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - PREFERRED_CONTACT_METHOD = 1020; - - // Question: "What is your preferred location?" - // Category: "General" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - PREFERRED_LOCATION = 1021; - - // Question: "What is the best time to contact you?" - // Category: "General" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - PREFERRED_CONTACT_TIME = 1022; - - // Question: "When are you looking to make a purchase?" - // Category: "General" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - PURCHASE_TIMELINE = 1023; - - // Question: "How many years of work experience do you have?" - // Category: "Jobs" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - YEARS_OF_EXPERIENCE = 1048; - - // Question: "What industry do you work in?" - // Category: "Jobs" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - JOB_INDUSTRY = 1049; - - // Question: "What is your highest level of education?" - // Category: "Jobs" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - LEVEL_OF_EDUCATION = 1050; - - // Question: "What type of property are you looking for?" - // Category: "Real Estate" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - PROPERTY_TYPE = 1024; - - // Question: "What do you need a realtor's help with?" - // Category: "Real Estate" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - REALTOR_HELP_GOAL = 1025; - - // Question: "What neighborhood are you interested in?" - // Category: "Real Estate" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - PROPERTY_COMMUNITY = 1026; - - // Question: "What price range are you looking for?" - // Category: "Real Estate" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - PRICE_RANGE = 1027; - - // Question: "How many bedrooms are you looking for?" - // Category: "Real Estate" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - NUMBER_OF_BEDROOMS = 1028; - - // Question: "Are you looking for a fully furnished property?" - // Category: "Real Estate" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - FURNISHED_PROPERTY = 1029; - - // Question: "Are you looking for properties that allow pets?" - // Category: "Real Estate" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - PETS_ALLOWED_PROPERTY = 1030; - - // Question: "What is the next product you plan to purchase?" - // Category: "Retail" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - NEXT_PLANNED_PURCHASE = 1031; - - // Question: "Would you like to sign up for an event?" - // Category: "Retail" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - EVENT_SIGNUP_INTEREST = 1033; - - // Question: "Where are you interested in shopping?" - // Category: "Retail" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - PREFERRED_SHOPPING_PLACES = 1034; - - // Question: "What is your favorite brand?" - // Category: "Retail" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - FAVORITE_BRAND = 1035; - - // Question: "Which type of valid commercial license do you have?" - // Category: "Transportation" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - TRANSPORTATION_COMMERCIAL_LICENSE_TYPE = 1036; - - // Question: "Interested in booking an event?" - // Category: "Travel" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - EVENT_BOOKING_INTEREST = 1038; - - // Question: "What is your destination country?" - // Category: "Travel" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - DESTINATION_COUNTRY = 1039; - - // Question: "What is your destination city?" - // Category: "Travel" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - DESTINATION_CITY = 1040; - - // Question: "What is your departure country?" - // Category: "Travel" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - DEPARTURE_COUNTRY = 1041; - - // Question: "What is your departure city?" - // Category: "Travel" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - DEPARTURE_CITY = 1042; - - // Question: "What is your departure date?" - // Category: "Travel" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - DEPARTURE_DATE = 1043; - - // Question: "What is your return date?" - // Category: "Travel" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - RETURN_DATE = 1044; - - // Question: "How many people are you traveling with?" - // Category: "Travel" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - NUMBER_OF_TRAVELERS = 1045; - - // Question: "What is your travel budget?" - // Category: "Travel" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - TRAVEL_BUDGET = 1046; - - // Question: "Where do you want to stay during your travel?" - // Category: "Travel" - // This field is subject to a limit of 5 qualifying questions per form and - // cannot be used if values are set using custom_question_fields. - TRAVEL_ACCOMMODATION = 1047; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/lead_form_post_submit_call_to_action_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/lead_form_post_submit_call_to_action_type.proto deleted file mode 100644 index 79e5f80ac..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/lead_form_post_submit_call_to_action_type.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LeadFormPostSubmitCallToActionTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Describes the type of post-submit call-to-action phrases for a lead form. -message LeadFormPostSubmitCallToActionTypeEnum { - // Enum describing the type of post-submit call-to-action phrases for a lead - // form. - enum LeadFormPostSubmitCallToActionType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Visit site. - VISIT_SITE = 2; - - // Download. - DOWNLOAD = 3; - - // Learn more. - LEARN_MORE = 4; - - // Shop now. - SHOP_NOW = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/legacy_app_install_ad_app_store.proto b/third_party/googleapis/google/ads/googleads/v13/enums/legacy_app_install_ad_app_store.proto deleted file mode 100644 index 7e83ab10a..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/legacy_app_install_ad_app_store.proto +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LegacyAppInstallAdAppStoreProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing app store types for a legacy app install ad. - -// Container for enum describing app store type in a legacy app install ad. -message LegacyAppInstallAdAppStoreEnum { - // App store type in a legacy app install ad. - enum LegacyAppInstallAdAppStore { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Apple iTunes. - APPLE_APP_STORE = 2; - - // Google Play. - GOOGLE_PLAY = 3; - - // Windows Store. - WINDOWS_STORE = 4; - - // Windows Phone Store. - WINDOWS_PHONE_STORE = 5; - - // The app is hosted in a Chinese app store. - CN_APP_STORE = 6; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/linked_account_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/linked_account_type.proto deleted file mode 100644 index a56f24077..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/linked_account_type.proto +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LinkedAccountTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Container for enum describing different types of Linked accounts. -message LinkedAccountTypeEnum { - // Describes the possible link types between a Google Ads customer - // and another account. - enum LinkedAccountType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // A link to provide third party app analytics data. - THIRD_PARTY_APP_ANALYTICS = 2; - - // A link to Data partner. - DATA_PARTNER = 3; - - // A link to Google Ads. - GOOGLE_ADS = 4; - - // A link to Hotel Center. - HOTEL_CENTER = 5; - - // A link to Google Ads account of the partner advertiser. - // Increase performance and share data by partnering with businesses that - // advertise the same items. - ADVERTISING_PARTNER = 6; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/linked_product_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/linked_product_type.proto deleted file mode 100644 index 7a3a63d13..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/linked_product_type.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LinkedProductTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Container for enum describing different types of linked products. -message LinkedProductTypeEnum { - // Describes the possible link types for a link between a Google - // Ads customer and another product. - enum LinkedProductType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // A link to Data partner. - DATA_PARTNER = 2; - - // A link to Google Ads. - GOOGLE_ADS = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/listing_group_filter_bidding_category_level.proto b/third_party/googleapis/google/ads/googleads/v13/enums/listing_group_filter_bidding_category_level.proto deleted file mode 100644 index 96fc77776..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/listing_group_filter_bidding_category_level.proto +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ListingGroupFilterBiddingCategoryLevelProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing listing groups. - -// Container for enum describing the levels of bidding category used in -// ListingGroupFilterDimension. -message ListingGroupFilterBiddingCategoryLevelEnum { - // The level of the listing group filter bidding category. - enum ListingGroupFilterBiddingCategoryLevel { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Level 1. - LEVEL1 = 2; - - // Level 2. - LEVEL2 = 3; - - // Level 3. - LEVEL3 = 4; - - // Level 4. - LEVEL4 = 5; - - // Level 5. - LEVEL5 = 6; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/listing_group_filter_custom_attribute_index.proto b/third_party/googleapis/google/ads/googleads/v13/enums/listing_group_filter_custom_attribute_index.proto deleted file mode 100644 index 0ff519aa1..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/listing_group_filter_custom_attribute_index.proto +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ListingGroupFilterCustomAttributeIndexProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing listing groups. - -// Container for enum describing the indexes of custom attribute used in -// ListingGroupFilterDimension. -message ListingGroupFilterCustomAttributeIndexEnum { - // The index of customer attributes. - enum ListingGroupFilterCustomAttributeIndex { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // First listing group filter custom attribute. - INDEX0 = 2; - - // Second listing group filter custom attribute. - INDEX1 = 3; - - // Third listing group filter custom attribute. - INDEX2 = 4; - - // Fourth listing group filter custom attribute. - INDEX3 = 5; - - // Fifth listing group filter custom attribute. - INDEX4 = 6; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/listing_group_filter_product_channel.proto b/third_party/googleapis/google/ads/googleads/v13/enums/listing_group_filter_product_channel.proto deleted file mode 100644 index 9971aa6d6..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/listing_group_filter_product_channel.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ListingGroupFilterProductChannelProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing listing groups. - -// Locality of a product offer. -message ListingGroupFilterProductChannelEnum { - // Enum describing the locality of a product offer. - enum ListingGroupFilterProductChannel { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The item is sold online. - ONLINE = 2; - - // The item is sold in local stores. - LOCAL = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/listing_group_filter_product_condition.proto b/third_party/googleapis/google/ads/googleads/v13/enums/listing_group_filter_product_condition.proto deleted file mode 100644 index bd0aea416..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/listing_group_filter_product_condition.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ListingGroupFilterProductConditionProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing listing groups. - -// Condition of a product offer. -message ListingGroupFilterProductConditionEnum { - // Enum describing the condition of a product offer. - enum ListingGroupFilterProductCondition { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The product condition is new. - NEW = 2; - - // The product condition is refurbished. - REFURBISHED = 3; - - // The product condition is used. - USED = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/listing_group_filter_product_type_level.proto b/third_party/googleapis/google/ads/googleads/v13/enums/listing_group_filter_product_type_level.proto deleted file mode 100644 index 7e6a29ead..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/listing_group_filter_product_type_level.proto +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ListingGroupFilterProductTypeLevelProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing listing groups. - -// Level of the type of a product offer. -message ListingGroupFilterProductTypeLevelEnum { - // Enum describing the level of the type of a product offer. - enum ListingGroupFilterProductTypeLevel { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Level 1. - LEVEL1 = 2; - - // Level 2. - LEVEL2 = 3; - - // Level 3. - LEVEL3 = 4; - - // Level 4. - LEVEL4 = 5; - - // Level 5. - LEVEL5 = 6; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/listing_group_filter_type_enum.proto b/third_party/googleapis/google/ads/googleads/v13/enums/listing_group_filter_type_enum.proto deleted file mode 100644 index a7db4ae61..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/listing_group_filter_type_enum.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ListingGroupFilterTypeEnumProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing listing groups. - -// Container for enum describing the type of the listing group filter node. -message ListingGroupFilterTypeEnum { - // The type of the listing group filter. - enum ListingGroupFilterType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Subdivision of products along some listing dimensions. - SUBDIVISION = 2; - - // An included listing group filter leaf node. - UNIT_INCLUDED = 3; - - // An excluded listing group filter leaf node. - UNIT_EXCLUDED = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/listing_group_filter_vertical.proto b/third_party/googleapis/google/ads/googleads/v13/enums/listing_group_filter_vertical.proto deleted file mode 100644 index 953193960..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/listing_group_filter_vertical.proto +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ListingGroupFilterVerticalProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing listing groups. - -// Container for enum describing the type of the vertical a listing group filter -// tree represents. -message ListingGroupFilterVerticalEnum { - // The type of the listing group filter vertical. - enum ListingGroupFilterVertical { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Represents the shopping vertical. - SHOPPING = 2; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/listing_group_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/listing_group_type.proto deleted file mode 100644 index d78084636..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/listing_group_type.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ListingGroupTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing listing groups. - -// Container for enum describing the type of the listing group. -message ListingGroupTypeEnum { - // The type of the listing group. - enum ListingGroupType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Subdivision of products along some listing dimension. These nodes - // are not used by serving to target listing entries, but is purely - // to define the structure of the tree. - SUBDIVISION = 2; - - // Listing group unit that defines a bid. - UNIT = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/local_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v13/enums/local_placeholder_field.proto deleted file mode 100644 index c865671a3..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/local_placeholder_field.proto +++ /dev/null @@ -1,115 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LocalPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing Local placeholder fields. - -// Values for Local placeholder fields. -// For more information about dynamic remarketing feeds, see -// https://support.google.com/google-ads/answer/6053288. -message LocalPlaceholderFieldEnum { - // Possible values for Local placeholder fields. - enum LocalPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. Required. Unique ID. - DEAL_ID = 2; - - // Data Type: STRING. Required. Main headline with local deal title to be - // shown in dynamic ad. - DEAL_NAME = 3; - - // Data Type: STRING. Local deal subtitle to be shown in dynamic ad. - SUBTITLE = 4; - - // Data Type: STRING. Description of local deal to be shown in dynamic ad. - DESCRIPTION = 5; - - // Data Type: STRING. Price to be shown in the ad. Highly recommended for - // dynamic ads. Example: "100.00 USD" - PRICE = 6; - - // Data Type: STRING. Formatted price to be shown in the ad. - // Example: "Starting at $100.00 USD", "$80 - $100" - FORMATTED_PRICE = 7; - - // Data Type: STRING. Sale price to be shown in the ad. - // Example: "80.00 USD" - SALE_PRICE = 8; - - // Data Type: STRING. Formatted sale price to be shown in the ad. - // Example: "On sale for $80.00", "$60 - $80" - FORMATTED_SALE_PRICE = 9; - - // Data Type: URL. Image to be displayed in the ad. - IMAGE_URL = 10; - - // Data Type: STRING. Complete property address, including postal code. - ADDRESS = 11; - - // Data Type: STRING. Category of local deal used to group like items - // together for recommendation engine. - CATEGORY = 12; - - // Data Type: STRING_LIST. Keywords used for product retrieval. - CONTEXTUAL_KEYWORDS = 13; - - // Data Type: URL_LIST. Required. Final URLs to be used in ad when using - // Upgraded URLs; the more specific the better (for example, the individual - // URL of a specific local deal and its location). - FINAL_URLS = 14; - - // Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - // URLs. - FINAL_MOBILE_URLS = 15; - - // Data Type: URL. Tracking template for the ad when using Upgraded URLs. - TRACKING_URL = 16; - - // Data Type: STRING. Android app link. Must be formatted as: - // android-app://{package_id}/{scheme}/{host_path}. - // The components are defined as follows: - // package_id: app ID as specified in Google Play. - // scheme: the scheme to pass to the application. Can be HTTP, or a custom - // scheme. - // host_path: identifies the specific content within your application. - ANDROID_APP_LINK = 17; - - // Data Type: STRING_LIST. List of recommended local deal IDs to show - // together with this item. - SIMILAR_DEAL_IDS = 18; - - // Data Type: STRING. iOS app link. - IOS_APP_LINK = 19; - - // Data Type: INT64. iOS app store ID. - IOS_APP_STORE_ID = 20; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/location_extension_targeting_criterion_field.proto b/third_party/googleapis/google/ads/googleads/v13/enums/location_extension_targeting_criterion_field.proto deleted file mode 100644 index 34afb2d4e..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/location_extension_targeting_criterion_field.proto +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LocationExtensionTargetingCriterionFieldProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing Location Extension Targeting criterion fields. - -// Values for Location Extension Targeting criterion fields. -message LocationExtensionTargetingCriterionFieldEnum { - // Possible values for Location Extension Targeting criterion fields. - enum LocationExtensionTargetingCriterionField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. Line 1 of the business address. - ADDRESS_LINE_1 = 2; - - // Data Type: STRING. Line 2 of the business address. - ADDRESS_LINE_2 = 3; - - // Data Type: STRING. City of the business address. - CITY = 4; - - // Data Type: STRING. Province of the business address. - PROVINCE = 5; - - // Data Type: STRING. Postal code of the business address. - POSTAL_CODE = 6; - - // Data Type: STRING. Country code of the business address. - COUNTRY_CODE = 7; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/location_group_radius_units.proto b/third_party/googleapis/google/ads/googleads/v13/enums/location_group_radius_units.proto deleted file mode 100644 index 059785052..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/location_group_radius_units.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LocationGroupRadiusUnitsProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing location group radius units. - -// Container for enum describing unit of radius in location group. -message LocationGroupRadiusUnitsEnum { - // The unit of radius distance in location group (for example, MILES) - enum LocationGroupRadiusUnits { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Meters - METERS = 2; - - // Miles - MILES = 3; - - // Milli Miles - MILLI_MILES = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/location_ownership_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/location_ownership_type.proto deleted file mode 100644 index 54e8254eb..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/location_ownership_type.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LocationOwnershipTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing location ownership type. - -// Container for enum describing possible types of a location ownership. -message LocationOwnershipTypeEnum { - // Possible types of a location ownership. - enum LocationOwnershipType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Business Owner of location(legacy location extension - LE). - BUSINESS_OWNER = 2; - - // Affiliate location(Third party location extension - ALE). - AFFILIATE = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/location_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v13/enums/location_placeholder_field.proto deleted file mode 100644 index 08f6e935e..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/location_placeholder_field.proto +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LocationPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing Location placeholder fields. - -// Values for Location placeholder fields. -message LocationPlaceholderFieldEnum { - // Possible values for Location placeholder fields. - enum LocationPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. The name of the business. - BUSINESS_NAME = 2; - - // Data Type: STRING. Line 1 of the business address. - ADDRESS_LINE_1 = 3; - - // Data Type: STRING. Line 2 of the business address. - ADDRESS_LINE_2 = 4; - - // Data Type: STRING. City of the business address. - CITY = 5; - - // Data Type: STRING. Province of the business address. - PROVINCE = 6; - - // Data Type: STRING. Postal code of the business address. - POSTAL_CODE = 7; - - // Data Type: STRING. Country code of the business address. - COUNTRY_CODE = 8; - - // Data Type: STRING. Phone number of the business. - PHONE_NUMBER = 9; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/location_source_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/location_source_type.proto deleted file mode 100644 index 1f1ba5a48..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/location_source_type.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LocationSourceTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing location source types. - -// Used to distinguish the location source type. -message LocationSourceTypeEnum { - // The possible types of a location source. - enum LocationSourceType { - // No value has been specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Locations associated with the customer's linked Business Profile. - GOOGLE_MY_BUSINESS = 2; - - // Affiliate (chain) store locations. For example, Best Buy store locations. - AFFILIATE = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/location_string_filter_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/location_string_filter_type.proto deleted file mode 100644 index 86a9921d7..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/location_string_filter_type.proto +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LocationStringFilterTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing location string filter type. - -// Container for enum describing possible types of a location string filter. -message LocationStringFilterTypeEnum { - // Possible types of a location string filter. - enum LocationStringFilterType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The filter will use exact string matching. - EXACT = 2; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/manager_link_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/manager_link_status.proto deleted file mode 100644 index fb58de29a..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/manager_link_status.proto +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ManagerLinkStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Container for enum describing possible status of a manager and client link. -message ManagerLinkStatusEnum { - // Possible statuses of a link. - enum ManagerLinkStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Indicates current in-effect relationship - ACTIVE = 2; - - // Indicates terminated relationship - INACTIVE = 3; - - // Indicates relationship has been requested by manager, but the client - // hasn't accepted yet. - PENDING = 4; - - // Relationship was requested by the manager, but the client has refused. - REFUSED = 5; - - // Indicates relationship has been requested by manager, but manager - // canceled it. - CANCELED = 6; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/matching_function_context_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/matching_function_context_type.proto deleted file mode 100644 index 79f52555c..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/matching_function_context_type.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MatchingFunctionContextTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing matching function context types. - -// Container for context types for an operand in a matching function. -message MatchingFunctionContextTypeEnum { - // Possible context types for an operand in a matching function. - enum MatchingFunctionContextType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Feed item id in the request context. - FEED_ITEM_ID = 2; - - // The device being used (possible values are 'Desktop' or 'Mobile'). - DEVICE_NAME = 3; - - // Feed item set id in the request context. - FEED_ITEM_SET_ID = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/matching_function_operator.proto b/third_party/googleapis/google/ads/googleads/v13/enums/matching_function_operator.proto deleted file mode 100644 index 127e6b764..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/matching_function_operator.proto +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MatchingFunctionOperatorProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing matching function operators. - -// Container for enum describing matching function operator. -message MatchingFunctionOperatorEnum { - // Possible operators in a matching function. - enum MatchingFunctionOperator { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The IN operator. - IN = 2; - - // The IDENTITY operator. - IDENTITY = 3; - - // The EQUALS operator - EQUALS = 4; - - // Operator that takes two or more operands that are of type - // FunctionOperand and checks that all the operands evaluate to true. - // For functions related to ad formats, all the operands must be in - // left_operands. - AND = 5; - - // Operator that returns true if the elements in left_operands contain any - // of the elements in right_operands. Otherwise, return false. The - // right_operands must contain at least 1 and no more than 3 - // ConstantOperands. - CONTAINS_ANY = 6; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/media_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/media_type.proto deleted file mode 100644 index bdebda025..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/media_type.proto +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MediaTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing media types. - -// Container for enum describing the types of media. -message MediaTypeEnum { - // The type of media. - enum MediaType { - // The media type has not been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // Static image, used for image ad. - IMAGE = 2; - - // Small image, used for map ad. - ICON = 3; - - // ZIP file, used in fields of template ads. - MEDIA_BUNDLE = 4; - - // Audio file. - AUDIO = 5; - - // Video file. - VIDEO = 6; - - // Animated image, such as animated GIF. - DYNAMIC_IMAGE = 7; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/merchant_center_link_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/merchant_center_link_status.proto deleted file mode 100644 index 3fd77501e..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/merchant_center_link_status.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MerchantCenterLinkStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing Merchant Center link statuses. - -// Container for enum describing possible statuses of a Google Merchant Center -// link. -message MerchantCenterLinkStatusEnum { - // Describes the possible statuses for a link between a Google Ads customer - // and a Google Merchant Center account. - enum MerchantCenterLinkStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The link is enabled. - ENABLED = 2; - - // The link has no effect. It was proposed by the Merchant Center Account - // owner and hasn't been confirmed by the customer. - PENDING = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/message_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v13/enums/message_placeholder_field.proto deleted file mode 100644 index 22d2e889a..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/message_placeholder_field.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MessagePlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing Message placeholder fields. - -// Values for Message placeholder fields. -message MessagePlaceholderFieldEnum { - // Possible values for Message placeholder fields. - enum MessagePlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. The name of your business. - BUSINESS_NAME = 2; - - // Data Type: STRING. Country code of phone number. - COUNTRY_CODE = 3; - - // Data Type: STRING. A phone number that's capable of sending and receiving - // text messages. - PHONE_NUMBER = 4; - - // Data Type: STRING. The text that will go in your click-to-message ad. - MESSAGE_EXTENSION_TEXT = 5; - - // Data Type: STRING. The message text automatically shows in people's - // messaging apps when they tap to send you a message. - MESSAGE_TEXT = 6; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/mime_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/mime_type.proto deleted file mode 100644 index 0d3283b89..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/mime_type.proto +++ /dev/null @@ -1,78 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MimeTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing mime types. - -// Container for enum describing the mime types. -message MimeTypeEnum { - // The mime type - enum MimeType { - // The mime type has not been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // MIME type of image/jpeg. - IMAGE_JPEG = 2; - - // MIME type of image/gif. - IMAGE_GIF = 3; - - // MIME type of image/png. - IMAGE_PNG = 4; - - // MIME type of application/x-shockwave-flash. - FLASH = 5; - - // MIME type of text/html. - TEXT_HTML = 6; - - // MIME type of application/pdf. - PDF = 7; - - // MIME type of application/msword. - MSWORD = 8; - - // MIME type of application/vnd.ms-excel. - MSEXCEL = 9; - - // MIME type of application/rtf. - RTF = 10; - - // MIME type of audio/wav. - AUDIO_WAV = 11; - - // MIME type of audio/mp3. - AUDIO_MP3 = 12; - - // MIME type of application/x-html5-ad-zip. - HTML5_AD_ZIP = 13; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/minute_of_hour.proto b/third_party/googleapis/google/ads/googleads/v13/enums/minute_of_hour.proto deleted file mode 100644 index da475f398..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/minute_of_hour.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MinuteOfHourProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing days of week. - -// Container for enumeration of quarter-hours. -message MinuteOfHourEnum { - // Enumerates of quarter-hours. For example, "FIFTEEN" - enum MinuteOfHour { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Zero minutes past the hour. - ZERO = 2; - - // Fifteen minutes past the hour. - FIFTEEN = 3; - - // Thirty minutes past the hour. - THIRTY = 4; - - // Forty-five minutes past the hour. - FORTY_FIVE = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/mobile_app_vendor.proto b/third_party/googleapis/google/ads/googleads/v13/enums/mobile_app_vendor.proto deleted file mode 100644 index 5e4b12957..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/mobile_app_vendor.proto +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MobileAppVendorProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Container for enum describing different types of mobile app vendors. -message MobileAppVendorEnum { - // The type of mobile app vendor - enum MobileAppVendor { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Mobile app vendor for Apple app store. - APPLE_APP_STORE = 2; - - // Mobile app vendor for Google app store. - GOOGLE_APP_STORE = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/mobile_device_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/mobile_device_type.proto deleted file mode 100644 index 0496050f2..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/mobile_device_type.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MobileDeviceTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing mobile device types. - -// Container for enum describing the types of mobile device. -message MobileDeviceTypeEnum { - // The type of mobile device. - enum MobileDeviceType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Mobile phones. - MOBILE = 2; - - // Tablets. - TABLET = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/month_of_year.proto b/third_party/googleapis/google/ads/googleads/v13/enums/month_of_year.proto deleted file mode 100644 index 28a697776..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/month_of_year.proto +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MonthOfYearProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing days of week. - -// Container for enumeration of months of the year, for example, "January". -message MonthOfYearEnum { - // Enumerates months of the year, for example, "January". - enum MonthOfYear { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // January. - JANUARY = 2; - - // February. - FEBRUARY = 3; - - // March. - MARCH = 4; - - // April. - APRIL = 5; - - // May. - MAY = 6; - - // June. - JUNE = 7; - - // July. - JULY = 8; - - // August. - AUGUST = 9; - - // September. - SEPTEMBER = 10; - - // October. - OCTOBER = 11; - - // November. - NOVEMBER = 12; - - // December. - DECEMBER = 13; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/negative_geo_target_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/negative_geo_target_type.proto deleted file mode 100644 index 72ffe75da..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/negative_geo_target_type.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "NegativeGeoTargetTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing negative geo target types. - -// Container for enum describing possible negative geo target types. -message NegativeGeoTargetTypeEnum { - // The possible negative geo target types. - enum NegativeGeoTargetType { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Specifies that a user is excluded from seeing the ad if they - // are in, or show interest in, advertiser's excluded locations. - PRESENCE_OR_INTEREST = 4; - - // Specifies that a user is excluded from seeing the ad if they - // are in advertiser's excluded locations. - PRESENCE = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/offline_user_data_job_failure_reason.proto b/third_party/googleapis/google/ads/googleads/v13/enums/offline_user_data_job_failure_reason.proto deleted file mode 100644 index c3b30d1c4..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/offline_user_data_job_failure_reason.proto +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "OfflineUserDataJobFailureReasonProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing offline user data job failure reasons. - -// Container for enum describing reasons why an offline user data job -// failed to be processed. -message OfflineUserDataJobFailureReasonEnum { - // The failure reason of an offline user data job. - enum OfflineUserDataJobFailureReason { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The matched transactions are insufficient. - INSUFFICIENT_MATCHED_TRANSACTIONS = 2; - - // The uploaded transactions are insufficient. - INSUFFICIENT_TRANSACTIONS = 3; - - // The average transaction value is unusually high for your account. If this - // is intended, contact support to request an exception. Learn more at - // https://support.google.com/google-ads/answer/10018944#transaction_value - HIGH_AVERAGE_TRANSACTION_VALUE = 4; - - // The average transaction value is unusually low for your account. If this - // is intended, contact support to request an exception. Learn more at - // https://support.google.com/google-ads/answer/10018944#transaction_value - LOW_AVERAGE_TRANSACTION_VALUE = 5; - - // There's a currency code that you haven't used before in your uploads. If - // this is intended, contact support to request an exception. Learn more at - // https://support.google.com/google-ads/answer/10018944#Unrecognized_currency - NEWLY_OBSERVED_CURRENCY_CODE = 6; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/offline_user_data_job_match_rate_range.proto b/third_party/googleapis/google/ads/googleads/v13/enums/offline_user_data_job_match_rate_range.proto deleted file mode 100644 index 73635d7a3..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/offline_user_data_job_match_rate_range.proto +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "OfflineUserDataJobMatchRateRangeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Container for enum describing reasons match rate ranges for a customer match -// list upload. -message OfflineUserDataJobMatchRateRangeEnum { - // The match rate range of an offline user data job. - enum OfflineUserDataJobMatchRateRange { - // Not specified. - UNSPECIFIED = 0; - - // Default value for match rate range. - UNKNOWN = 1; - - // Match rate range for offline data upload entity is between 0% and 19%. - MATCH_RANGE_LESS_THAN_20 = 2; - - // Match rate range for offline data upload entity is between 20% and 30%. - MATCH_RANGE_20_TO_30 = 3; - - // Match rate range for offline data upload entity is between 31% and 40%. - MATCH_RANGE_31_TO_40 = 4; - - // Match rate range for offline data upload entity is between 41% and 50%. - MATCH_RANGE_41_TO_50 = 5; - - // Match rate range for offline data upload entity is between 51% and 60%. - MATCH_RANGE_51_TO_60 = 6; - - // Match rate range for offline data upload entity is between 61% and 70%. - MATCH_RANGE_61_TO_70 = 7; - - // Match rate range for offline data upload entity is between 71% and 80%. - MATCH_RANGE_71_TO_80 = 8; - - // Match rate range for offline data upload entity is between 81% and 90%. - MATCH_RANGE_81_TO_90 = 9; - - // Match rate range for offline data upload entity is more than or equal to - // 91%. - MATCH_RANGE_91_TO_100 = 10; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/offline_user_data_job_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/offline_user_data_job_status.proto deleted file mode 100644 index 83180ae32..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/offline_user_data_job_status.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "OfflineUserDataJobStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing offline user data job status. - -// Container for enum describing status of an offline user data job. -message OfflineUserDataJobStatusEnum { - // The status of an offline user data job. - enum OfflineUserDataJobStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The job has been successfully created and pending for uploading. - PENDING = 2; - - // Upload(s) have been accepted and data is being processed. - RUNNING = 3; - - // Uploaded data has been successfully processed. - SUCCESS = 4; - - // Uploaded data has failed to be processed. - FAILED = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/offline_user_data_job_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/offline_user_data_job_type.proto deleted file mode 100644 index 8095ec9c4..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/offline_user_data_job_type.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "OfflineUserDataJobTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing offline user data job types. - -// Container for enum describing types of an offline user data job. -message OfflineUserDataJobTypeEnum { - // The type of an offline user data job. - enum OfflineUserDataJobType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Store Sales Direct data for self service. - STORE_SALES_UPLOAD_FIRST_PARTY = 2; - - // Store Sales Direct data for third party. - STORE_SALES_UPLOAD_THIRD_PARTY = 3; - - // Customer Match user list data. - CUSTOMER_MATCH_USER_LIST = 4; - - // Customer Match with attribute data. - CUSTOMER_MATCH_WITH_ATTRIBUTES = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/operating_system_version_operator_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/operating_system_version_operator_type.proto deleted file mode 100644 index 125a6b77a..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/operating_system_version_operator_type.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "OperatingSystemVersionOperatorTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing operating system version operator types. - -// Container for enum describing the type of OS operators. -message OperatingSystemVersionOperatorTypeEnum { - // The type of operating system version. - enum OperatingSystemVersionOperatorType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Equals to the specified version. - EQUALS_TO = 2; - - // Greater than or equals to the specified version. - GREATER_THAN_EQUALS_TO = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/optimization_goal_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/optimization_goal_type.proto deleted file mode 100644 index fa590c058..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/optimization_goal_type.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "OptimizationGoalTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing optimization goal type. - -// Container for enum describing the type of optimization goal. -message OptimizationGoalTypeEnum { - // The type of optimization goal - enum OptimizationGoalType { - // Not specified. - UNSPECIFIED = 0; - - // Used as a return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Optimize for call clicks. Call click conversions are times people - // selected 'Call' to contact a store after viewing an ad. - CALL_CLICKS = 2; - - // Optimize for driving directions. Driving directions conversions are - // times people selected 'Get directions' to navigate to a store after - // viewing an ad. - DRIVING_DIRECTIONS = 3; - - // Optimize for pre-registration. Pre-registration conversions are the - // number of pre-registration signups to receive a notification when the app - // is released. - APP_PRE_REGISTRATION = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/parental_status_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/parental_status_type.proto deleted file mode 100644 index 1fca82854..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/parental_status_type.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ParentalStatusTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing parenal status types. - -// Container for enum describing the type of demographic parental statuses. -message ParentalStatusTypeEnum { - // The type of parental statuses (for example, not a parent). - enum ParentalStatusType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Parent. - PARENT = 300; - - // Not a parent. - NOT_A_PARENT = 301; - - // Undetermined parental status. - UNDETERMINED = 302; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/payment_mode.proto b/third_party/googleapis/google/ads/googleads/v13/enums/payment_mode.proto deleted file mode 100644 index abebaa0c0..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/payment_mode.proto +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PaymentModeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing payment modes. - -// Container for enum describing possible payment modes. -message PaymentModeEnum { - // Enum describing possible payment modes. - enum PaymentMode { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Pay per interaction. - CLICKS = 4; - - // Pay per conversion value. This mode is only supported by campaigns with - // AdvertisingChannelType.HOTEL, BiddingStrategyType.COMMISSION, and - // BudgetType.STANDARD. - CONVERSION_VALUE = 5; - - // Pay per conversion. This mode is only supported by campaigns with - // AdvertisingChannelType.DISPLAY (excluding - // AdvertisingChannelSubType.DISPLAY_GMAIL), BiddingStrategyType.TARGET_CPA, - // and BudgetType.FIXED_CPA. The customer must also be eligible for this - // mode. See Customer.eligibility_failure_reasons for details. - CONVERSIONS = 6; - - // Pay per guest stay value. This mode is only supported by campaigns with - // AdvertisingChannelType.HOTEL, BiddingStrategyType.COMMISSION, and - // BudgetType.STANDARD. - GUEST_STAY = 7; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/performance_max_upgrade_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/performance_max_upgrade_status.proto deleted file mode 100644 index 2116e10c8..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/performance_max_upgrade_status.proto +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PerformanceMaxUpgradeStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing advertising channel types - -// Performance Max Upgrade status for campaign. -message PerformanceMaxUpgradeStatusEnum { - // Performance Max Upgrade status enum for campaign. - enum PerformanceMaxUpgradeStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The campaign is eligible for upgrade to a Performance Max campaign. - UPGRADE_ELIBIGLE = 2; - - // The upgrade to a Performance Max campaign is in progress. - UPGRADE_IN_PROGRESS = 3; - - // The upgrade to a Performance Max campaign is complete. - UPGRADE_COMPLETE = 4; - - // The upgrade to a Performance Max campaign failed. - // The campaign will still serve as it was before upgrade was attempted. - UPGRADE_FAILED = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/placeholder_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/placeholder_type.proto deleted file mode 100644 index 0880cb4e0..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/placeholder_type.proto +++ /dev/null @@ -1,120 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PlaceholderTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing feed placeholder types. - -// Container for enum describing possible placeholder types for a feed mapping. -message PlaceholderTypeEnum { - // Possible placeholder types for a feed mapping. - enum PlaceholderType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Lets you show links in your ad to pages from your website, including the - // main landing page. - SITELINK = 2; - - // Lets you attach a phone number to an ad, allowing customers to call - // directly from the ad. - CALL = 3; - - // Lets you provide users with a link that points to a mobile app in - // addition to a website. - APP = 4; - - // Lets you show locations of businesses from your Business Profile - // in your ad. This helps people find your locations by showing your - // ads with your address, a map to your location, or the distance to your - // business. This extension type is useful to draw customers to your - // brick-and-mortar location. - LOCATION = 5; - - // If you sell your product through retail chains, affiliate location - // extensions let you show nearby stores that carry your products. - AFFILIATE_LOCATION = 6; - - // Lets you include additional text with your search ads that provide - // detailed information about your business, including products and services - // you offer. Callouts appear in ads at the top and bottom of Google search - // results. - CALLOUT = 7; - - // Lets you add more info to your ad, specific to some predefined categories - // such as types, brands, styles, etc. A minimum of 3 text (SNIPPETS) values - // are required. - STRUCTURED_SNIPPET = 8; - - // Allows users to see your ad, click an icon, and contact you directly by - // text message. With one tap on your ad, people can contact you to book an - // appointment, get a quote, ask for information, or request a service. - MESSAGE = 9; - - // Lets you display prices for a list of items along with your ads. A price - // feed is composed of three to eight price table rows. - PRICE = 10; - - // Lets you highlight sales and other promotions that let users see how - // they can save by buying now. - PROMOTION = 11; - - // Lets you dynamically inject custom data into the title and description - // of your ads. - AD_CUSTOMIZER = 12; - - // Indicates that this feed is for education dynamic remarketing. - DYNAMIC_EDUCATION = 13; - - // Indicates that this feed is for flight dynamic remarketing. - DYNAMIC_FLIGHT = 14; - - // Indicates that this feed is for a custom dynamic remarketing type. Use - // this only if the other business types don't apply to your products or - // services. - DYNAMIC_CUSTOM = 15; - - // Indicates that this feed is for hotels and rentals dynamic remarketing. - DYNAMIC_HOTEL = 16; - - // Indicates that this feed is for real estate dynamic remarketing. - DYNAMIC_REAL_ESTATE = 17; - - // Indicates that this feed is for travel dynamic remarketing. - DYNAMIC_TRAVEL = 18; - - // Indicates that this feed is for local deals dynamic remarketing. - DYNAMIC_LOCAL = 19; - - // Indicates that this feed is for job dynamic remarketing. - DYNAMIC_JOB = 20; - - // Lets you attach an image to an ad. - IMAGE = 21; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/placement_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/placement_type.proto deleted file mode 100644 index 71b958db4..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/placement_type.proto +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PlacementTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing placement types. - -// Container for enum describing possible placement types. -message PlacementTypeEnum { - // Possible placement types for a feed mapping. - enum PlacementType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Websites(for example, 'www.flowers4sale.com'). - WEBSITE = 2; - - // Mobile application categories(for example, 'Games'). - MOBILE_APP_CATEGORY = 3; - - // mobile applications(for example, 'mobileapp::2-com.whatsthewordanswers'). - MOBILE_APPLICATION = 4; - - // YouTube videos(for example, 'youtube.com/video/wtLJPvx7-ys'). - YOUTUBE_VIDEO = 5; - - // YouTube channels(for example, 'youtube.com::L8ZULXASCc1I_oaOT0NaOQ'). - YOUTUBE_CHANNEL = 6; - - // Surfaces owned and operated by Google(for example, 'tv.google.com'). - GOOGLE_PRODUCTS = 7; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/policy_approval_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/policy_approval_status.proto deleted file mode 100644 index 816cba128..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/policy_approval_status.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PolicyApprovalStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing policy approval statuses. - -// Container for enum describing possible policy approval statuses. -message PolicyApprovalStatusEnum { - // The possible policy approval statuses. When there are several approval - // statuses available the most severe one will be used. The order of severity - // is DISAPPROVED, AREA_OF_INTEREST_ONLY, APPROVED_LIMITED and APPROVED. - enum PolicyApprovalStatus { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // Will not serve. - DISAPPROVED = 2; - - // Serves with restrictions. - APPROVED_LIMITED = 3; - - // Serves without restrictions. - APPROVED = 4; - - // Will not serve in targeted countries, but may serve for users who are - // searching for information about the targeted countries. - AREA_OF_INTEREST_ONLY = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/policy_review_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/policy_review_status.proto deleted file mode 100644 index 8ae69c2d6..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/policy_review_status.proto +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PolicyReviewStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing policy review statuses. - -// Container for enum describing possible policy review statuses. -message PolicyReviewStatusEnum { - // The possible policy review statuses. - enum PolicyReviewStatus { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // Currently under review. - REVIEW_IN_PROGRESS = 2; - - // Primary review complete. Other reviews may be continuing. - REVIEWED = 3; - - // The resource has been resubmitted for approval or its policy decision has - // been appealed. - UNDER_APPEAL = 4; - - // The resource is eligible and may be serving but could still undergo - // further review. - ELIGIBLE_MAY_SERVE = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/policy_topic_entry_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/policy_topic_entry_type.proto deleted file mode 100644 index 42e6f22e3..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/policy_topic_entry_type.proto +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PolicyTopicEntryTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing policy topic entry types. - -// Container for enum describing possible policy topic entry types. -message PolicyTopicEntryTypeEnum { - // The possible policy topic entry types. - enum PolicyTopicEntryType { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // The resource will not be served. - PROHIBITED = 2; - - // The resource will not be served under some circumstances. - LIMITED = 4; - - // The resource cannot serve at all because of the current targeting - // criteria. - FULLY_LIMITED = 8; - - // May be of interest, but does not limit how the resource is served. - DESCRIPTIVE = 5; - - // Could increase coverage beyond normal. - BROADENING = 6; - - // Constrained for all targeted countries, but may serve in other countries - // through area of interest. - AREA_OF_INTEREST_ONLY = 7; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/policy_topic_evidence_destination_mismatch_url_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/policy_topic_evidence_destination_mismatch_url_type.proto deleted file mode 100644 index 7285cb119..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/policy_topic_evidence_destination_mismatch_url_type.proto +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PolicyTopicEvidenceDestinationMismatchUrlTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing policy topic evidence destination mismatch url types. - -// Container for enum describing possible policy topic evidence destination -// mismatch url types. -message PolicyTopicEvidenceDestinationMismatchUrlTypeEnum { - // The possible policy topic evidence destination mismatch url types. - enum PolicyTopicEvidenceDestinationMismatchUrlType { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // The display url. - DISPLAY_URL = 2; - - // The final url. - FINAL_URL = 3; - - // The final mobile url. - FINAL_MOBILE_URL = 4; - - // The tracking url template, with substituted desktop url. - TRACKING_URL = 5; - - // The tracking url template, with substituted mobile url. - MOBILE_TRACKING_URL = 6; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/policy_topic_evidence_destination_not_working_device.proto b/third_party/googleapis/google/ads/googleads/v13/enums/policy_topic_evidence_destination_not_working_device.proto deleted file mode 100644 index 945bee4ac..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/policy_topic_evidence_destination_not_working_device.proto +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PolicyTopicEvidenceDestinationNotWorkingDeviceProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing device of destination not working policy topic -// evidence. - -// Container for enum describing possible policy topic evidence destination not -// working devices. -message PolicyTopicEvidenceDestinationNotWorkingDeviceEnum { - // The possible policy topic evidence destination not working devices. - enum PolicyTopicEvidenceDestinationNotWorkingDevice { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // Landing page doesn't work on desktop device. - DESKTOP = 2; - - // Landing page doesn't work on Android device. - ANDROID = 3; - - // Landing page doesn't work on iOS device. - IOS = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto deleted file mode 100644 index c1fcea8e9..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing DNS error types of destination not working policy topic -// evidence. - -// Container for enum describing possible policy topic evidence destination not -// working DNS error types. -message PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum { - // The possible policy topic evidence destination not working DNS error types. - enum PolicyTopicEvidenceDestinationNotWorkingDnsErrorType { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // Host name not found in DNS when fetching landing page. - HOSTNAME_NOT_FOUND = 2; - - // Google internal crawler issue when communicating with DNS. This error - // doesn't mean the landing page doesn't work. Google will recrawl the - // landing page. - GOOGLE_CRAWLER_DNS_ISSUE = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/positive_geo_target_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/positive_geo_target_type.proto deleted file mode 100644 index 9123355e9..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/positive_geo_target_type.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PositiveGeoTargetTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing positive geo target types. - -// Container for enum describing possible positive geo target types. -message PositiveGeoTargetTypeEnum { - // The possible positive geo target types. - enum PositiveGeoTargetType { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Specifies that an ad is triggered if the user is in, - // or shows interest in, advertiser's targeted locations. - PRESENCE_OR_INTEREST = 5; - - // Specifies that an ad is triggered if the user - // searches for advertiser's targeted locations. - // This can only be used with Search and standard - // Shopping campaigns. - SEARCH_INTEREST = 6; - - // Specifies that an ad is triggered if the user is in - // or regularly in advertiser's targeted locations. - PRESENCE = 7; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/price_extension_price_qualifier.proto b/third_party/googleapis/google/ads/googleads/v13/enums/price_extension_price_qualifier.proto deleted file mode 100644 index dd01b26f7..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/price_extension_price_qualifier.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PriceExtensionPriceQualifierProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing price extension price qualifier type. - -// Container for enum describing a price extension price qualifier. -message PriceExtensionPriceQualifierEnum { - // Enums of price extension price qualifier. - enum PriceExtensionPriceQualifier { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // 'From' qualifier for the price. - FROM = 2; - - // 'Up to' qualifier for the price. - UP_TO = 3; - - // 'Average' qualifier for the price. - AVERAGE = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/price_extension_price_unit.proto b/third_party/googleapis/google/ads/googleads/v13/enums/price_extension_price_unit.proto deleted file mode 100644 index 5e4f78081..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/price_extension_price_unit.proto +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PriceExtensionPriceUnitProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing price extension price unit. - -// Container for enum describing price extension price unit. -message PriceExtensionPriceUnitEnum { - // Price extension price unit. - enum PriceExtensionPriceUnit { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Per hour. - PER_HOUR = 2; - - // Per day. - PER_DAY = 3; - - // Per week. - PER_WEEK = 4; - - // Per month. - PER_MONTH = 5; - - // Per year. - PER_YEAR = 6; - - // Per night. - PER_NIGHT = 7; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/price_extension_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/price_extension_type.proto deleted file mode 100644 index a1b88cf67..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/price_extension_type.proto +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PriceExtensionTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing price extension type. - -// Container for enum describing types for a price extension. -message PriceExtensionTypeEnum { - // Price extension type. - enum PriceExtensionType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The type for showing a list of brands. - BRANDS = 2; - - // The type for showing a list of events. - EVENTS = 3; - - // The type for showing locations relevant to your business. - LOCATIONS = 4; - - // The type for showing sub-regions or districts within a city or region. - NEIGHBORHOODS = 5; - - // The type for showing a collection of product categories. - PRODUCT_CATEGORIES = 6; - - // The type for showing a collection of related product tiers. - PRODUCT_TIERS = 7; - - // The type for showing a collection of services offered by your business. - SERVICES = 8; - - // The type for showing a collection of service categories. - SERVICE_CATEGORIES = 9; - - // The type for showing a collection of related service tiers. - SERVICE_TIERS = 10; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/price_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v13/enums/price_placeholder_field.proto deleted file mode 100644 index 80b030c31..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/price_placeholder_field.proto +++ /dev/null @@ -1,244 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PricePlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing Price placeholder fields. - -// Values for Price placeholder fields. -message PricePlaceholderFieldEnum { - // Possible values for Price placeholder fields. - enum PricePlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. The type of your price feed. Must match one of the - // predefined price feed type exactly. - TYPE = 2; - - // Data Type: STRING. The qualifier of each price. Must match one of the - // predefined price qualifiers exactly. - PRICE_QUALIFIER = 3; - - // Data Type: URL. Tracking template for the price feed when using Upgraded - // URLs. - TRACKING_TEMPLATE = 4; - - // Data Type: STRING. Language of the price feed. Must match one of the - // available available locale codes exactly. - LANGUAGE = 5; - - // Data Type: STRING. Final URL suffix for the price feed when using - // parallel tracking. - FINAL_URL_SUFFIX = 6; - - // Data Type: STRING. The header of item 1 of the table. - ITEM_1_HEADER = 100; - - // Data Type: STRING. The description of item 1 of the table. - ITEM_1_DESCRIPTION = 101; - - // Data Type: MONEY. The price (money with currency) of item 1 of the table, - // for example, 30 USD. The currency must match one of the available - // currencies. - ITEM_1_PRICE = 102; - - // Data Type: STRING. The price unit of item 1 of the table. Must match one - // of the predefined price units. - ITEM_1_UNIT = 103; - - // Data Type: URL_LIST. The final URLs of item 1 of the table when using - // Upgraded URLs. - ITEM_1_FINAL_URLS = 104; - - // Data Type: URL_LIST. The final mobile URLs of item 1 of the table when - // using Upgraded URLs. - ITEM_1_FINAL_MOBILE_URLS = 105; - - // Data Type: STRING. The header of item 2 of the table. - ITEM_2_HEADER = 200; - - // Data Type: STRING. The description of item 2 of the table. - ITEM_2_DESCRIPTION = 201; - - // Data Type: MONEY. The price (money with currency) of item 2 of the table, - // for example, 30 USD. The currency must match one of the available - // currencies. - ITEM_2_PRICE = 202; - - // Data Type: STRING. The price unit of item 2 of the table. Must match one - // of the predefined price units. - ITEM_2_UNIT = 203; - - // Data Type: URL_LIST. The final URLs of item 2 of the table when using - // Upgraded URLs. - ITEM_2_FINAL_URLS = 204; - - // Data Type: URL_LIST. The final mobile URLs of item 2 of the table when - // using Upgraded URLs. - ITEM_2_FINAL_MOBILE_URLS = 205; - - // Data Type: STRING. The header of item 3 of the table. - ITEM_3_HEADER = 300; - - // Data Type: STRING. The description of item 3 of the table. - ITEM_3_DESCRIPTION = 301; - - // Data Type: MONEY. The price (money with currency) of item 3 of the table, - // for example, 30 USD. The currency must match one of the available - // currencies. - ITEM_3_PRICE = 302; - - // Data Type: STRING. The price unit of item 3 of the table. Must match one - // of the predefined price units. - ITEM_3_UNIT = 303; - - // Data Type: URL_LIST. The final URLs of item 3 of the table when using - // Upgraded URLs. - ITEM_3_FINAL_URLS = 304; - - // Data Type: URL_LIST. The final mobile URLs of item 3 of the table when - // using Upgraded URLs. - ITEM_3_FINAL_MOBILE_URLS = 305; - - // Data Type: STRING. The header of item 4 of the table. - ITEM_4_HEADER = 400; - - // Data Type: STRING. The description of item 4 of the table. - ITEM_4_DESCRIPTION = 401; - - // Data Type: MONEY. The price (money with currency) of item 4 of the table, - // for example, 30 USD. The currency must match one of the available - // currencies. - ITEM_4_PRICE = 402; - - // Data Type: STRING. The price unit of item 4 of the table. Must match one - // of the predefined price units. - ITEM_4_UNIT = 403; - - // Data Type: URL_LIST. The final URLs of item 4 of the table when using - // Upgraded URLs. - ITEM_4_FINAL_URLS = 404; - - // Data Type: URL_LIST. The final mobile URLs of item 4 of the table when - // using Upgraded URLs. - ITEM_4_FINAL_MOBILE_URLS = 405; - - // Data Type: STRING. The header of item 5 of the table. - ITEM_5_HEADER = 500; - - // Data Type: STRING. The description of item 5 of the table. - ITEM_5_DESCRIPTION = 501; - - // Data Type: MONEY. The price (money with currency) of item 5 of the table, - // for example, 30 USD. The currency must match one of the available - // currencies. - ITEM_5_PRICE = 502; - - // Data Type: STRING. The price unit of item 5 of the table. Must match one - // of the predefined price units. - ITEM_5_UNIT = 503; - - // Data Type: URL_LIST. The final URLs of item 5 of the table when using - // Upgraded URLs. - ITEM_5_FINAL_URLS = 504; - - // Data Type: URL_LIST. The final mobile URLs of item 5 of the table when - // using Upgraded URLs. - ITEM_5_FINAL_MOBILE_URLS = 505; - - // Data Type: STRING. The header of item 6 of the table. - ITEM_6_HEADER = 600; - - // Data Type: STRING. The description of item 6 of the table. - ITEM_6_DESCRIPTION = 601; - - // Data Type: MONEY. The price (money with currency) of item 6 of the table, - // for example, 30 USD. The currency must match one of the available - // currencies. - ITEM_6_PRICE = 602; - - // Data Type: STRING. The price unit of item 6 of the table. Must match one - // of the predefined price units. - ITEM_6_UNIT = 603; - - // Data Type: URL_LIST. The final URLs of item 6 of the table when using - // Upgraded URLs. - ITEM_6_FINAL_URLS = 604; - - // Data Type: URL_LIST. The final mobile URLs of item 6 of the table when - // using Upgraded URLs. - ITEM_6_FINAL_MOBILE_URLS = 605; - - // Data Type: STRING. The header of item 7 of the table. - ITEM_7_HEADER = 700; - - // Data Type: STRING. The description of item 7 of the table. - ITEM_7_DESCRIPTION = 701; - - // Data Type: MONEY. The price (money with currency) of item 7 of the table, - // for example, 30 USD. The currency must match one of the available - // currencies. - ITEM_7_PRICE = 702; - - // Data Type: STRING. The price unit of item 7 of the table. Must match one - // of the predefined price units. - ITEM_7_UNIT = 703; - - // Data Type: URL_LIST. The final URLs of item 7 of the table when using - // Upgraded URLs. - ITEM_7_FINAL_URLS = 704; - - // Data Type: URL_LIST. The final mobile URLs of item 7 of the table when - // using Upgraded URLs. - ITEM_7_FINAL_MOBILE_URLS = 705; - - // Data Type: STRING. The header of item 8 of the table. - ITEM_8_HEADER = 800; - - // Data Type: STRING. The description of item 8 of the table. - ITEM_8_DESCRIPTION = 801; - - // Data Type: MONEY. The price (money with currency) of item 8 of the table, - // for example, 30 USD. The currency must match one of the available - // currencies. - ITEM_8_PRICE = 802; - - // Data Type: STRING. The price unit of item 8 of the table. Must match one - // of the predefined price units. - ITEM_8_UNIT = 803; - - // Data Type: URL_LIST. The final URLs of item 8 of the table when using - // Upgraded URLs. - ITEM_8_FINAL_URLS = 804; - - // Data Type: URL_LIST. The final mobile URLs of item 8 of the table when - // using Upgraded URLs. - ITEM_8_FINAL_MOBILE_URLS = 805; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/product_bidding_category_level.proto b/third_party/googleapis/google/ads/googleads/v13/enums/product_bidding_category_level.proto deleted file mode 100644 index 8dc28986e..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/product_bidding_category_level.proto +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ProductBiddingCategoryLevelProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Level of a product bidding category. -message ProductBiddingCategoryLevelEnum { - // Enum describing the level of the product bidding category. - enum ProductBiddingCategoryLevel { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Level 1. - LEVEL1 = 2; - - // Level 2. - LEVEL2 = 3; - - // Level 3. - LEVEL3 = 4; - - // Level 4. - LEVEL4 = 5; - - // Level 5. - LEVEL5 = 6; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/product_bidding_category_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/product_bidding_category_status.proto deleted file mode 100644 index 3e70bb9de..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/product_bidding_category_status.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ProductBiddingCategoryStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing bidding schemes. - -// Status of the product bidding category. -message ProductBiddingCategoryStatusEnum { - // Enum describing the status of the product bidding category. - enum ProductBiddingCategoryStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The category is active and can be used for bidding. - ACTIVE = 2; - - // The category is obsolete. Used only for reporting purposes. - OBSOLETE = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/product_channel.proto b/third_party/googleapis/google/ads/googleads/v13/enums/product_channel.proto deleted file mode 100644 index 851d8fe81..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/product_channel.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ProductChannelProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing bidding schemes. - -// Locality of a product offer. -message ProductChannelEnum { - // Enum describing the locality of a product offer. - enum ProductChannel { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The item is sold online. - ONLINE = 2; - - // The item is sold in local stores. - LOCAL = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/product_channel_exclusivity.proto b/third_party/googleapis/google/ads/googleads/v13/enums/product_channel_exclusivity.proto deleted file mode 100644 index 345a9d929..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/product_channel_exclusivity.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ProductChannelExclusivityProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing bidding schemes. - -// Availability of a product offer. -message ProductChannelExclusivityEnum { - // Enum describing the availability of a product offer. - enum ProductChannelExclusivity { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The item is sold through one channel only, either local stores or online - // as indicated by its ProductChannel. - SINGLE_CHANNEL = 2; - - // The item is matched to its online or local stores counterpart, indicating - // it is available for purchase in both ShoppingProductChannels. - MULTI_CHANNEL = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/product_condition.proto b/third_party/googleapis/google/ads/googleads/v13/enums/product_condition.proto deleted file mode 100644 index e91577319..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/product_condition.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ProductConditionProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing bidding schemes. - -// Condition of a product offer. -message ProductConditionEnum { - // Enum describing the condition of a product offer. - enum ProductCondition { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The product condition is new. - NEW = 3; - - // The product condition is refurbished. - REFURBISHED = 4; - - // The product condition is used. - USED = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/product_custom_attribute_index.proto b/third_party/googleapis/google/ads/googleads/v13/enums/product_custom_attribute_index.proto deleted file mode 100644 index 99c2d7f9c..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/product_custom_attribute_index.proto +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ProductCustomAttributeIndexProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing product custom attributes. - -// Container for enum describing the index of the product custom attribute. -message ProductCustomAttributeIndexEnum { - // The index of the product custom attribute. - enum ProductCustomAttributeIndex { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // First product custom attribute. - INDEX0 = 7; - - // Second product custom attribute. - INDEX1 = 8; - - // Third product custom attribute. - INDEX2 = 9; - - // Fourth product custom attribute. - INDEX3 = 10; - - // Fifth product custom attribute. - INDEX4 = 11; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/product_type_level.proto b/third_party/googleapis/google/ads/googleads/v13/enums/product_type_level.proto deleted file mode 100644 index d479a4d55..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/product_type_level.proto +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ProductTypeLevelProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing bidding schemes. - -// Level of the type of a product offer. -message ProductTypeLevelEnum { - // Enum describing the level of the type of a product offer. - enum ProductTypeLevel { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Level 1. - LEVEL1 = 7; - - // Level 2. - LEVEL2 = 8; - - // Level 3. - LEVEL3 = 9; - - // Level 4. - LEVEL4 = 10; - - // Level 5. - LEVEL5 = 11; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/promotion_extension_discount_modifier.proto b/third_party/googleapis/google/ads/googleads/v13/enums/promotion_extension_discount_modifier.proto deleted file mode 100644 index 6f849bb16..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/promotion_extension_discount_modifier.proto +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PromotionExtensionDiscountModifierProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing promotion extension discount modifier. - -// Container for enum describing possible a promotion extension -// discount modifier. -message PromotionExtensionDiscountModifierEnum { - // A promotion extension discount modifier. - enum PromotionExtensionDiscountModifier { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // 'Up to'. - UP_TO = 2; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/promotion_extension_occasion.proto b/third_party/googleapis/google/ads/googleads/v13/enums/promotion_extension_occasion.proto deleted file mode 100644 index 7c46b574d..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/promotion_extension_occasion.proto +++ /dev/null @@ -1,153 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PromotionExtensionOccasionProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing promotion extension occasion. - -// Container for enum describing a promotion extension occasion. -// For more information about the occasions check: -// https://support.google.com/google-ads/answer/7367521 -message PromotionExtensionOccasionEnum { - // A promotion extension occasion. - enum PromotionExtensionOccasion { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // New Year's. - NEW_YEARS = 2; - - // Chinese New Year. - CHINESE_NEW_YEAR = 3; - - // Valentine's Day. - VALENTINES_DAY = 4; - - // Easter. - EASTER = 5; - - // Mother's Day. - MOTHERS_DAY = 6; - - // Father's Day. - FATHERS_DAY = 7; - - // Labor Day. - LABOR_DAY = 8; - - // Back To School. - BACK_TO_SCHOOL = 9; - - // Halloween. - HALLOWEEN = 10; - - // Black Friday. - BLACK_FRIDAY = 11; - - // Cyber Monday. - CYBER_MONDAY = 12; - - // Christmas. - CHRISTMAS = 13; - - // Boxing Day. - BOXING_DAY = 14; - - // Independence Day in any country. - INDEPENDENCE_DAY = 15; - - // National Day in any country. - NATIONAL_DAY = 16; - - // End of any season. - END_OF_SEASON = 17; - - // Winter Sale. - WINTER_SALE = 18; - - // Summer sale. - SUMMER_SALE = 19; - - // Fall Sale. - FALL_SALE = 20; - - // Spring Sale. - SPRING_SALE = 21; - - // Ramadan. - RAMADAN = 22; - - // Eid al-Fitr. - EID_AL_FITR = 23; - - // Eid al-Adha. - EID_AL_ADHA = 24; - - // Singles Day. - SINGLES_DAY = 25; - - // Women's Day. - WOMENS_DAY = 26; - - // Holi. - HOLI = 27; - - // Parent's Day. - PARENTS_DAY = 28; - - // St. Nicholas Day. - ST_NICHOLAS_DAY = 29; - - // Carnival. - CARNIVAL = 30; - - // Epiphany, also known as Three Kings' Day. - EPIPHANY = 31; - - // Rosh Hashanah. - ROSH_HASHANAH = 32; - - // Passover. - PASSOVER = 33; - - // Hanukkah. - HANUKKAH = 34; - - // Diwali. - DIWALI = 35; - - // Navratri. - NAVRATRI = 36; - - // Available in Thai: Songkran. - SONGKRAN = 37; - - // Available in Japanese: Year-end Gift. - YEAR_END_GIFT = 38; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/promotion_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v13/enums/promotion_placeholder_field.proto deleted file mode 100644 index ad011b77e..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/promotion_placeholder_field.proto +++ /dev/null @@ -1,91 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PromotionPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing Promotion placeholder fields. - -// Values for Promotion placeholder fields. -message PromotionPlaceholderFieldEnum { - // Possible values for Promotion placeholder fields. - enum PromotionPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. The text that appears on the ad when the extension is - // shown. - PROMOTION_TARGET = 2; - - // Data Type: STRING. Lets you add "up to" phrase to the promotion, - // in case you have variable promotion rates. - DISCOUNT_MODIFIER = 3; - - // Data Type: INT64. Takes a value in micros, where 1 million micros - // represents 1%, and is shown as a percentage when rendered. - PERCENT_OFF = 4; - - // Data Type: MONEY. Requires a currency and an amount of money. - MONEY_AMOUNT_OFF = 5; - - // Data Type: STRING. A string that the user enters to get the discount. - PROMOTION_CODE = 6; - - // Data Type: MONEY. A minimum spend before the user qualifies for the - // promotion. - ORDERS_OVER_AMOUNT = 7; - - // Data Type: DATE. The start date of the promotion. - PROMOTION_START = 8; - - // Data Type: DATE. The end date of the promotion. - PROMOTION_END = 9; - - // Data Type: STRING. Describes the associated event for the promotion using - // one of the PromotionExtensionOccasion enum values, for example NEW_YEARS. - OCCASION = 10; - - // Data Type: URL_LIST. Final URLs to be used in the ad when using Upgraded - // URLs. - FINAL_URLS = 11; - - // Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - // URLs. - FINAL_MOBILE_URLS = 12; - - // Data Type: URL. Tracking template for the ad when using Upgraded URLs. - TRACKING_URL = 13; - - // Data Type: STRING. A string represented by a language code for the - // promotion. - LANGUAGE = 14; - - // Data Type: STRING. Final URL suffix for the ad when using parallel - // tracking. - FINAL_URL_SUFFIX = 15; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/proximity_radius_units.proto b/third_party/googleapis/google/ads/googleads/v13/enums/proximity_radius_units.proto deleted file mode 100644 index 3fa2720bf..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/proximity_radius_units.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ProximityRadiusUnitsProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing proximity radius units. - -// Container for enum describing unit of radius in proximity. -message ProximityRadiusUnitsEnum { - // The unit of radius distance in proximity (for example, MILES) - enum ProximityRadiusUnits { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Miles - MILES = 2; - - // Kilometers - KILOMETERS = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/quality_score_bucket.proto b/third_party/googleapis/google/ads/googleads/v13/enums/quality_score_bucket.proto deleted file mode 100644 index 431c5e88b..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/quality_score_bucket.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "QualityScoreBucketProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing quality score buckets. - -// The relative performance compared to other advertisers. -message QualityScoreBucketEnum { - // Enum listing the possible quality score buckets. - enum QualityScoreBucket { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Quality of the creative is below average. - BELOW_AVERAGE = 2; - - // Quality of the creative is average. - AVERAGE = 3; - - // Quality of the creative is above average. - ABOVE_AVERAGE = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/reach_plan_age_range.proto b/third_party/googleapis/google/ads/googleads/v13/enums/reach_plan_age_range.proto deleted file mode 100644 index e165c7d31..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/reach_plan_age_range.proto +++ /dev/null @@ -1,118 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ReachPlanAgeRangeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing a plannable age range. - -// Message describing plannable age ranges. -message ReachPlanAgeRangeEnum { - // Possible plannable age range values. - enum ReachPlanAgeRange { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Between 18 and 24 years old. - AGE_RANGE_18_24 = 503001; - - // Between 18 and 34 years old. - AGE_RANGE_18_34 = 2; - - // Between 18 and 44 years old. - AGE_RANGE_18_44 = 3; - - // Between 18 and 49 years old. - AGE_RANGE_18_49 = 4; - - // Between 18 and 54 years old. - AGE_RANGE_18_54 = 5; - - // Between 18 and 64 years old. - AGE_RANGE_18_64 = 6; - - // Between 18 and 65+ years old. - AGE_RANGE_18_65_UP = 7; - - // Between 21 and 34 years old. - AGE_RANGE_21_34 = 8; - - // Between 25 and 34 years old. - AGE_RANGE_25_34 = 503002; - - // Between 25 and 44 years old. - AGE_RANGE_25_44 = 9; - - // Between 25 and 49 years old. - AGE_RANGE_25_49 = 10; - - // Between 25 and 54 years old. - AGE_RANGE_25_54 = 11; - - // Between 25 and 64 years old. - AGE_RANGE_25_64 = 12; - - // Between 25 and 65+ years old. - AGE_RANGE_25_65_UP = 13; - - // Between 35 and 44 years old. - AGE_RANGE_35_44 = 503003; - - // Between 35 and 49 years old. - AGE_RANGE_35_49 = 14; - - // Between 35 and 54 years old. - AGE_RANGE_35_54 = 15; - - // Between 35 and 64 years old. - AGE_RANGE_35_64 = 16; - - // Between 35 and 65+ years old. - AGE_RANGE_35_65_UP = 17; - - // Between 45 and 54 years old. - AGE_RANGE_45_54 = 503004; - - // Between 45 and 64 years old. - AGE_RANGE_45_64 = 18; - - // Between 45 and 65+ years old. - AGE_RANGE_45_65_UP = 19; - - // Between 50 and 65+ years old. - AGE_RANGE_50_65_UP = 20; - - // Between 55 and 64 years old. - AGE_RANGE_55_64 = 503005; - - // Between 55 and 65+ years old. - AGE_RANGE_55_65_UP = 21; - - // 65 years old and beyond. - AGE_RANGE_65_UP = 503006; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/reach_plan_network.proto b/third_party/googleapis/google/ads/googleads/v13/enums/reach_plan_network.proto deleted file mode 100644 index 35d1331e6..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/reach_plan_network.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ReachPlanNetworkProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing a plannable network. - -// Container for enum describing plannable networks. -message ReachPlanNetworkEnum { - // Possible plannable network values. - enum ReachPlanNetwork { - // Not specified. - UNSPECIFIED = 0; - - // Used as a return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // YouTube network. - YOUTUBE = 2; - - // Google Video Partners (GVP) network. - GOOGLE_VIDEO_PARTNERS = 3; - - // A combination of the YouTube network and the Google Video Partners - // network. - YOUTUBE_AND_GOOGLE_VIDEO_PARTNERS = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/real_estate_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v13/enums/real_estate_placeholder_field.proto deleted file mode 100644 index f0da410ba..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/real_estate_placeholder_field.proto +++ /dev/null @@ -1,111 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "RealEstatePlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing Real Estate placeholder fields. - -// Values for Real Estate placeholder fields. -// For more information about dynamic remarketing feeds, see -// https://support.google.com/google-ads/answer/6053288. -message RealEstatePlaceholderFieldEnum { - // Possible values for Real Estate placeholder fields. - enum RealEstatePlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. Unique ID. - LISTING_ID = 2; - - // Data Type: STRING. Main headline with listing name to be shown in dynamic - // ad. - LISTING_NAME = 3; - - // Data Type: STRING. City name to be shown in dynamic ad. - CITY_NAME = 4; - - // Data Type: STRING. Description of listing to be shown in dynamic ad. - DESCRIPTION = 5; - - // Data Type: STRING. Complete listing address, including postal code. - ADDRESS = 6; - - // Data Type: STRING. Price to be shown in the ad. - // Example: "100.00 USD" - PRICE = 7; - - // Data Type: STRING. Formatted price to be shown in the ad. - // Example: "Starting at $100.00 USD", "$80 - $100" - FORMATTED_PRICE = 8; - - // Data Type: URL. Image to be displayed in the ad. - IMAGE_URL = 9; - - // Data Type: STRING. Type of property (house, condo, apartment, etc.) used - // to group like items together for recommendation engine. - PROPERTY_TYPE = 10; - - // Data Type: STRING. Type of listing (resale, rental, foreclosure, etc.) - // used to group like items together for recommendation engine. - LISTING_TYPE = 11; - - // Data Type: STRING_LIST. Keywords used for product retrieval. - CONTEXTUAL_KEYWORDS = 12; - - // Data Type: URL_LIST. Final URLs to be used in ad when using Upgraded - // URLs; the more specific the better (for example, the individual URL of a - // specific listing and its location). - FINAL_URLS = 13; - - // Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - // URLs. - FINAL_MOBILE_URLS = 14; - - // Data Type: URL. Tracking template for the ad when using Upgraded URLs. - TRACKING_URL = 15; - - // Data Type: STRING. Android app link. Must be formatted as: - // android-app://{package_id}/{scheme}/{host_path}. - // The components are defined as follows: - // package_id: app ID as specified in Google Play. - // scheme: the scheme to pass to the application. Can be HTTP, or a custom - // scheme. - // host_path: identifies the specific content within your application. - ANDROID_APP_LINK = 16; - - // Data Type: STRING_LIST. List of recommended listing IDs to show together - // with this item. - SIMILAR_LISTING_IDS = 17; - - // Data Type: STRING. iOS app link. - IOS_APP_LINK = 18; - - // Data Type: INT64. iOS app store ID. - IOS_APP_STORE_ID = 19; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/recommendation_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/recommendation_type.proto deleted file mode 100644 index 94bec8f3a..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/recommendation_type.proto +++ /dev/null @@ -1,140 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "RecommendationTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing Recommendation types. - -// Container for enum describing types of recommendations. -message RecommendationTypeEnum { - // Types of recommendations. - enum RecommendationType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Budget recommendation for campaigns that are currently budget-constrained - // (as opposed to the FORECASTING_CAMPAIGN_BUDGET recommendation, which - // applies to campaigns that are expected to become budget-constrained in - // the future). - CAMPAIGN_BUDGET = 2; - - // Keyword recommendation. - KEYWORD = 3; - - // Recommendation to add a new text ad. - TEXT_AD = 4; - - // Recommendation to update a campaign to use a Target CPA bidding strategy. - TARGET_CPA_OPT_IN = 5; - - // Recommendation to update a campaign to use the Maximize Conversions - // bidding strategy. - MAXIMIZE_CONVERSIONS_OPT_IN = 6; - - // Recommendation to enable Enhanced Cost Per Click for a campaign. - ENHANCED_CPC_OPT_IN = 7; - - // Recommendation to start showing your campaign's ads on Google Search - // Partners Websites. - SEARCH_PARTNERS_OPT_IN = 8; - - // Recommendation to update a campaign to use a Maximize Clicks bidding - // strategy. - MAXIMIZE_CLICKS_OPT_IN = 9; - - // Recommendation to start using the "Optimize" ad rotation setting for the - // given ad group. - OPTIMIZE_AD_ROTATION = 10; - - // Recommendation to change an existing keyword from one match type to a - // broader match type. - KEYWORD_MATCH_TYPE = 14; - - // Recommendation to move unused budget from one budget to a constrained - // budget. - MOVE_UNUSED_BUDGET = 15; - - // Budget recommendation for campaigns that are expected to become - // budget-constrained in the future (as opposed to the CAMPAIGN_BUDGET - // recommendation, which applies to campaigns that are currently - // budget-constrained). - FORECASTING_CAMPAIGN_BUDGET = 16; - - // Recommendation to update a campaign to use a Target ROAS bidding - // strategy. - TARGET_ROAS_OPT_IN = 17; - - // Recommendation to add a new responsive search ad. - RESPONSIVE_SEARCH_AD = 18; - - // Budget recommendation for campaigns whose ROI is predicted to increase - // with a budget adjustment. - MARGINAL_ROI_CAMPAIGN_BUDGET = 19; - - // Recommendation to expand keywords to broad match for fully automated - // conversion-based bidding campaigns. - USE_BROAD_MATCH_KEYWORD = 20; - - // Recommendation to add new responsive search ad assets. - RESPONSIVE_SEARCH_AD_ASSET = 21; - - // Recommendation to upgrade a Smart Shopping campaign to a Performance Max - // campaign. - UPGRADE_SMART_SHOPPING_CAMPAIGN_TO_PERFORMANCE_MAX = 22; - - // Recommendation to improve strength of responsive search ad. - RESPONSIVE_SEARCH_AD_IMPROVE_AD_STRENGTH = 23; - - // Recommendation to update a campaign to use Display Expansion. - DISPLAY_EXPANSION_OPT_IN = 24; - - // Recommendation to upgrade a Local campaign to a Performance Max - // campaign. - UPGRADE_LOCAL_CAMPAIGN_TO_PERFORMANCE_MAX = 25; - - // Recommendation to raise target CPA when it is too low and there are very - // few or no conversions. - // It is applied asynchronously and can take minutes - // depending on the number of ad groups there is in the related campaign. - RAISE_TARGET_CPA_BID_TOO_LOW = 26; - - // Recommendation to raise the budget in advance of a seasonal event that is - // forecasted to increase traffic, and change bidding strategy from maximize - // conversion value to target ROAS. - FORECASTING_SET_TARGET_ROAS = 27; - - // Recommendation to add callout assets to campaign or customer level. - CALLOUT_ASSET = 28; - - // Recommendation to add sitelink assets to campaign or customer level. - SITELINK_ASSET = 29; - - // Recommendation to add call assets to campaign or customer level. - CALL_ASSET = 30; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/resource_change_operation.proto b/third_party/googleapis/google/ads/googleads/v13/enums/resource_change_operation.proto deleted file mode 100644 index 0d3dbcb06..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/resource_change_operation.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ResourceChangeOperationProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing the resource change operations in change event. - -// Container for enum describing resource change operations -// in the ChangeEvent resource. -message ResourceChangeOperationEnum { - // The operation on the changed resource in change_event resource. - enum ResourceChangeOperation { - // No value has been specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents an unclassified operation unknown - // in this version. - UNKNOWN = 1; - - // The resource was created. - CREATE = 2; - - // The resource was modified. - UPDATE = 3; - - // The resource was removed. - REMOVE = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/resource_limit_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/resource_limit_type.proto deleted file mode 100644 index 3af980207..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/resource_limit_type.proto +++ /dev/null @@ -1,477 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ResourceLimitTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Container for enum describing possible resource limit types. -message ResourceLimitTypeEnum { - // Resource limit type. - enum ResourceLimitType { - // No value has been specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents an unclassified operation unknown - // in this version. - UNKNOWN = 1; - - // Number of ENABLED and PAUSED campaigns per customer. - CAMPAIGNS_PER_CUSTOMER = 2; - - // Number of ENABLED and PAUSED base campaigns per customer. - BASE_CAMPAIGNS_PER_CUSTOMER = 3; - - // Number of ENABLED and PAUSED experiment campaigns per customer. - EXPERIMENT_CAMPAIGNS_PER_CUSTOMER = 105; - - // Number of ENABLED and PAUSED Hotel campaigns per customer. - HOTEL_CAMPAIGNS_PER_CUSTOMER = 4; - - // Number of ENABLED and PAUSED Smart Shopping campaigns per customer. - SMART_SHOPPING_CAMPAIGNS_PER_CUSTOMER = 5; - - // Number of ENABLED ad groups per campaign. - AD_GROUPS_PER_CAMPAIGN = 6; - - // Number of ENABLED ad groups per Shopping campaign. - AD_GROUPS_PER_SHOPPING_CAMPAIGN = 8; - - // Number of ENABLED ad groups per Hotel campaign. - AD_GROUPS_PER_HOTEL_CAMPAIGN = 9; - - // Number of ENABLED reporting ad groups per local campaign. - REPORTING_AD_GROUPS_PER_LOCAL_CAMPAIGN = 10; - - // Number of ENABLED reporting ad groups per App campaign. It includes app - // campaign and app campaign for engagement. - REPORTING_AD_GROUPS_PER_APP_CAMPAIGN = 11; - - // Number of ENABLED managed ad groups per smart campaign. - MANAGED_AD_GROUPS_PER_SMART_CAMPAIGN = 52; - - // Number of ENABLED ad group criteria per customer. - // An ad group criterion is considered as ENABLED if: - // 1. it's not REMOVED - // 2. its ad group is not REMOVED - // 3. its campaign is not REMOVED. - AD_GROUP_CRITERIA_PER_CUSTOMER = 12; - - // Number of ad group criteria across all base campaigns for a customer. - BASE_AD_GROUP_CRITERIA_PER_CUSTOMER = 13; - - // Number of ad group criteria across all experiment campaigns for a - // customer. - EXPERIMENT_AD_GROUP_CRITERIA_PER_CUSTOMER = 107; - - // Number of ENABLED ad group criteria per campaign. - // An ad group criterion is considered as ENABLED if: - // 1. it's not REMOVED - // 2. its ad group is not REMOVED. - AD_GROUP_CRITERIA_PER_CAMPAIGN = 14; - - // Number of ENABLED campaign criteria per customer. - CAMPAIGN_CRITERIA_PER_CUSTOMER = 15; - - // Number of ENABLED campaign criteria across all base campaigns for a - // customer. - BASE_CAMPAIGN_CRITERIA_PER_CUSTOMER = 16; - - // Number of ENABLED campaign criteria across all experiment campaigns for a - // customer. - EXPERIMENT_CAMPAIGN_CRITERIA_PER_CUSTOMER = 108; - - // Number of ENABLED webpage criteria per customer, including - // campaign level and ad group level. - WEBPAGE_CRITERIA_PER_CUSTOMER = 17; - - // Number of ENABLED webpage criteria across all base campaigns for - // a customer. - BASE_WEBPAGE_CRITERIA_PER_CUSTOMER = 18; - - // Meximum number of ENABLED webpage criteria across all experiment - // campaigns for a customer. - EXPERIMENT_WEBPAGE_CRITERIA_PER_CUSTOMER = 19; - - // Number of combined audience criteria per ad group. - COMBINED_AUDIENCE_CRITERIA_PER_AD_GROUP = 20; - - // Limit for placement criterion type group in customer negative criterion. - CUSTOMER_NEGATIVE_PLACEMENT_CRITERIA_PER_CUSTOMER = 21; - - // Limit for YouTube TV channels in customer negative criterion. - CUSTOMER_NEGATIVE_YOUTUBE_CHANNEL_CRITERIA_PER_CUSTOMER = 22; - - // Number of ENABLED criteria per ad group. - CRITERIA_PER_AD_GROUP = 23; - - // Number of listing group criteria per ad group. - LISTING_GROUPS_PER_AD_GROUP = 24; - - // Number of ENABLED explicitly shared budgets per customer. - EXPLICITLY_SHARED_BUDGETS_PER_CUSTOMER = 25; - - // Number of ENABLED implicitly shared budgets per customer. - IMPLICITLY_SHARED_BUDGETS_PER_CUSTOMER = 26; - - // Number of combined audience criteria per campaign. - COMBINED_AUDIENCE_CRITERIA_PER_CAMPAIGN = 27; - - // Number of negative keywords per campaign. - NEGATIVE_KEYWORDS_PER_CAMPAIGN = 28; - - // Number of excluded campaign criteria in placement dimension, for example, - // placement, mobile application, YouTube channel, etc. The API criterion - // type is NOT limited to placement only, and this does not include - // exclusions at the ad group or other levels. - NEGATIVE_PLACEMENTS_PER_CAMPAIGN = 29; - - // Number of geo targets per campaign. - GEO_TARGETS_PER_CAMPAIGN = 30; - - // Number of negative IP blocks per campaign. - NEGATIVE_IP_BLOCKS_PER_CAMPAIGN = 32; - - // Number of proximity targets per campaign. - PROXIMITIES_PER_CAMPAIGN = 33; - - // Number of listing scopes per Shopping campaign. - LISTING_SCOPES_PER_SHOPPING_CAMPAIGN = 34; - - // Number of listing scopes per non-Shopping campaign. - LISTING_SCOPES_PER_NON_SHOPPING_CAMPAIGN = 35; - - // Number of criteria per negative keyword shared set. - NEGATIVE_KEYWORDS_PER_SHARED_SET = 36; - - // Number of criteria per negative placement shared set. - NEGATIVE_PLACEMENTS_PER_SHARED_SET = 37; - - // Default number of shared sets allowed per type per customer. - SHARED_SETS_PER_CUSTOMER_FOR_TYPE_DEFAULT = 40; - - // Number of shared sets of negative placement list type for a - // manager customer. - SHARED_SETS_PER_CUSTOMER_FOR_NEGATIVE_PLACEMENT_LIST_LOWER = 41; - - // Number of hotel_advance_booking_window bid modifiers per ad group. - HOTEL_ADVANCE_BOOKING_WINDOW_BID_MODIFIERS_PER_AD_GROUP = 44; - - // Number of ENABLED shared bidding strategies per customer. - BIDDING_STRATEGIES_PER_CUSTOMER = 45; - - // Number of open basic user lists per customer. - BASIC_USER_LISTS_PER_CUSTOMER = 47; - - // Number of open logical user lists per customer. - LOGICAL_USER_LISTS_PER_CUSTOMER = 48; - - // Number of open rule based user lists per customer. - RULE_BASED_USER_LISTS_PER_CUSTOMER = 153; - - // Number of ENABLED and PAUSED ad group ads across all base campaigns for a - // customer. - BASE_AD_GROUP_ADS_PER_CUSTOMER = 53; - - // Number of ENABLED and PAUSED ad group ads across all experiment campaigns - // for a customer. - EXPERIMENT_AD_GROUP_ADS_PER_CUSTOMER = 54; - - // Number of ENABLED and PAUSED ad group ads per campaign. - AD_GROUP_ADS_PER_CAMPAIGN = 55; - - // Number of ENABLED ads per ad group that do not fall in to other buckets. - // Includes text and many other types. - TEXT_AND_OTHER_ADS_PER_AD_GROUP = 56; - - // Number of ENABLED image ads per ad group. - IMAGE_ADS_PER_AD_GROUP = 57; - - // Number of ENABLED shopping smart ads per ad group. - SHOPPING_SMART_ADS_PER_AD_GROUP = 58; - - // Number of ENABLED responsive search ads per ad group. - RESPONSIVE_SEARCH_ADS_PER_AD_GROUP = 59; - - // Number of ENABLED app ads per ad group. - APP_ADS_PER_AD_GROUP = 60; - - // Number of ENABLED app engagement ads per ad group. - APP_ENGAGEMENT_ADS_PER_AD_GROUP = 61; - - // Number of ENABLED local ads per ad group. - LOCAL_ADS_PER_AD_GROUP = 62; - - // Number of ENABLED video ads per ad group. - VIDEO_ADS_PER_AD_GROUP = 63; - - // Number of ENABLED lead form CampaignAssets per campaign. - LEAD_FORM_CAMPAIGN_ASSETS_PER_CAMPAIGN = 143; - - // Number of ENABLED promotion CustomerAssets per customer. - PROMOTION_CUSTOMER_ASSETS_PER_CUSTOMER = 79; - - // Number of ENABLED promotion CampaignAssets per campaign. - PROMOTION_CAMPAIGN_ASSETS_PER_CAMPAIGN = 80; - - // Number of ENABLED promotion AdGroupAssets per ad group. - PROMOTION_AD_GROUP_ASSETS_PER_AD_GROUP = 81; - - // Number of ENABLED callout CustomerAssets per customer. - CALLOUT_CUSTOMER_ASSETS_PER_CUSTOMER = 134; - - // Number of ENABLED callout CampaignAssets per campaign. - CALLOUT_CAMPAIGN_ASSETS_PER_CAMPAIGN = 135; - - // Number of ENABLED callout AdGroupAssets per ad group. - CALLOUT_AD_GROUP_ASSETS_PER_AD_GROUP = 136; - - // Number of ENABLED sitelink CustomerAssets per customer. - SITELINK_CUSTOMER_ASSETS_PER_CUSTOMER = 137; - - // Number of ENABLED sitelink CampaignAssets per campaign. - SITELINK_CAMPAIGN_ASSETS_PER_CAMPAIGN = 138; - - // Number of ENABLED sitelink AdGroupAssets per ad group. - SITELINK_AD_GROUP_ASSETS_PER_AD_GROUP = 139; - - // Number of ENABLED structured snippet CustomerAssets per customer. - STRUCTURED_SNIPPET_CUSTOMER_ASSETS_PER_CUSTOMER = 140; - - // Number of ENABLED structured snippet CampaignAssets per campaign. - STRUCTURED_SNIPPET_CAMPAIGN_ASSETS_PER_CAMPAIGN = 141; - - // Number of ENABLED structured snippet AdGroupAssets per ad group. - STRUCTURED_SNIPPET_AD_GROUP_ASSETS_PER_AD_GROUP = 142; - - // Number of ENABLED mobile app CustomerAssets per customer. - MOBILE_APP_CUSTOMER_ASSETS_PER_CUSTOMER = 144; - - // Number of ENABLED mobile app CampaignAssets per campaign. - MOBILE_APP_CAMPAIGN_ASSETS_PER_CAMPAIGN = 145; - - // Number of ENABLED mobile app AdGroupAssets per ad group. - MOBILE_APP_AD_GROUP_ASSETS_PER_AD_GROUP = 146; - - // Number of ENABLED hotel callout CustomerAssets per customer. - HOTEL_CALLOUT_CUSTOMER_ASSETS_PER_CUSTOMER = 147; - - // Number of ENABLED hotel callout CampaignAssets per campaign. - HOTEL_CALLOUT_CAMPAIGN_ASSETS_PER_CAMPAIGN = 148; - - // Number of ENABLED hotel callout AdGroupAssets per ad group. - HOTEL_CALLOUT_AD_GROUP_ASSETS_PER_AD_GROUP = 149; - - // Number of ENABLED call CustomerAssets per customer. - CALL_CUSTOMER_ASSETS_PER_CUSTOMER = 150; - - // Number of ENABLED call CampaignAssets per campaign. - CALL_CAMPAIGN_ASSETS_PER_CAMPAIGN = 151; - - // Number of ENABLED call AdGroupAssets per ad group. - CALL_AD_GROUP_ASSETS_PER_AD_GROUP = 152; - - // Number of ENABLED price CustomerAssets per customer. - PRICE_CUSTOMER_ASSETS_PER_CUSTOMER = 154; - - // Number of ENABLED price CampaignAssets per campaign. - PRICE_CAMPAIGN_ASSETS_PER_CAMPAIGN = 155; - - // Number of ENABLED price AdGroupAssets per ad group. - PRICE_AD_GROUP_ASSETS_PER_AD_GROUP = 156; - - // Number of ENABLED ad image CampaignAssets per campaign. - AD_IMAGE_CAMPAIGN_ASSETS_PER_CAMPAIGN = 175; - - // Number of ENABLED ad image AdGroupAssets per ad group. - AD_IMAGE_AD_GROUP_ASSETS_PER_AD_GROUP = 176; - - // Number of ENABLED page feed asset sets per customer. - PAGE_FEED_ASSET_SETS_PER_CUSTOMER = 157; - - // Number of ENABLED dynamic education feed asset sets per customer. - DYNAMIC_EDUCATION_FEED_ASSET_SETS_PER_CUSTOMER = 158; - - // Number of ENABLED assets per page feed asset set. - ASSETS_PER_PAGE_FEED_ASSET_SET = 159; - - // Number of ENABLED assets per dynamic education asset set. - ASSETS_PER_DYNAMIC_EDUCATION_FEED_ASSET_SET = 160; - - // Number of ENABLED dynamic real estate asset sets per customer. - DYNAMIC_REAL_ESTATE_ASSET_SETS_PER_CUSTOMER = 161; - - // Number of ENABLED assets per dynamic real estate asset set. - ASSETS_PER_DYNAMIC_REAL_ESTATE_ASSET_SET = 162; - - // Number of ENABLED dynamic custom asset sets per customer. - DYNAMIC_CUSTOM_ASSET_SETS_PER_CUSTOMER = 163; - - // Number of ENABLED assets per dynamic custom asset set. - ASSETS_PER_DYNAMIC_CUSTOM_ASSET_SET = 164; - - // Number of ENABLED dynamic hotels and rentals asset sets per - // customer. - DYNAMIC_HOTELS_AND_RENTALS_ASSET_SETS_PER_CUSTOMER = 165; - - // Number of ENABLED assets per dynamic hotels and rentals asset set. - ASSETS_PER_DYNAMIC_HOTELS_AND_RENTALS_ASSET_SET = 166; - - // Number of ENABLED dynamic local asset sets per customer. - DYNAMIC_LOCAL_ASSET_SETS_PER_CUSTOMER = 167; - - // Number of ENABLED assets per dynamic local asset set. - ASSETS_PER_DYNAMIC_LOCAL_ASSET_SET = 168; - - // Number of ENABLED dynamic flights asset sets per customer. - DYNAMIC_FLIGHTS_ASSET_SETS_PER_CUSTOMER = 169; - - // Number of ENABLED assets per dynamic flights asset set. - ASSETS_PER_DYNAMIC_FLIGHTS_ASSET_SET = 170; - - // Number of ENABLED dynamic travel asset sets per customer. - DYNAMIC_TRAVEL_ASSET_SETS_PER_CUSTOMER = 171; - - // Number of ENABLED assets per dynamic travel asset set. - ASSETS_PER_DYNAMIC_TRAVEL_ASSET_SET = 172; - - // Number of ENABLED dynamic jobs asset sets per customer. - DYNAMIC_JOBS_ASSET_SETS_PER_CUSTOMER = 173; - - // Number of ENABLED assets per dynamic jobs asset set. - ASSETS_PER_DYNAMIC_JOBS_ASSET_SET = 174; - - // Number of ENABLED business name CampaignAssets per campaign. - BUSINESS_NAME_CAMPAIGN_ASSETS_PER_CAMPAIGN = 179; - - // Number of ENABLED business logo CampaignAssets per campaign. - BUSINESS_LOGO_CAMPAIGN_ASSETS_PER_CAMPAIGN = 180; - - // Number of versions per ad. - VERSIONS_PER_AD = 82; - - // Number of ENABLED user feeds per customer. - USER_FEEDS_PER_CUSTOMER = 90; - - // Number of ENABLED system feeds per customer. - SYSTEM_FEEDS_PER_CUSTOMER = 91; - - // Number of feed attributes per feed. - FEED_ATTRIBUTES_PER_FEED = 92; - - // Number of ENABLED feed items per customer. - FEED_ITEMS_PER_CUSTOMER = 94; - - // Number of ENABLED campaign feeds per customer. - CAMPAIGN_FEEDS_PER_CUSTOMER = 95; - - // Number of ENABLED campaign feeds across all base campaigns for a - // customer. - BASE_CAMPAIGN_FEEDS_PER_CUSTOMER = 96; - - // Number of ENABLED campaign feeds across all experiment campaigns for a - // customer. - EXPERIMENT_CAMPAIGN_FEEDS_PER_CUSTOMER = 109; - - // Number of ENABLED ad group feeds per customer. - AD_GROUP_FEEDS_PER_CUSTOMER = 97; - - // Number of ENABLED ad group feeds across all base campaigns for a - // customer. - BASE_AD_GROUP_FEEDS_PER_CUSTOMER = 98; - - // Number of ENABLED ad group feeds across all experiment campaigns for a - // customer. - EXPERIMENT_AD_GROUP_FEEDS_PER_CUSTOMER = 110; - - // Number of ENABLED ad group feeds per campaign. - AD_GROUP_FEEDS_PER_CAMPAIGN = 99; - - // Number of ENABLED feed items per customer. - FEED_ITEM_SETS_PER_CUSTOMER = 100; - - // Number of feed items per feed item set. - FEED_ITEMS_PER_FEED_ITEM_SET = 101; - - // Number of ENABLED campaign experiments per customer. - CAMPAIGN_EXPERIMENTS_PER_CUSTOMER = 112; - - // Number of video experiment arms per experiment. - EXPERIMENT_ARMS_PER_VIDEO_EXPERIMENT = 113; - - // Number of owned labels per customer. - OWNED_LABELS_PER_CUSTOMER = 115; - - // Number of applied labels per campaign. - LABELS_PER_CAMPAIGN = 117; - - // Number of applied labels per ad group. - LABELS_PER_AD_GROUP = 118; - - // Number of applied labels per ad group ad. - LABELS_PER_AD_GROUP_AD = 119; - - // Number of applied labels per ad group criterion. - LABELS_PER_AD_GROUP_CRITERION = 120; - - // Number of customers with a single label applied. - TARGET_CUSTOMERS_PER_LABEL = 121; - - // Number of ENABLED keyword plans per user per customer. - // The limit is applied per pair because by default a plan - // is private to a user of a customer. Each user of a customer has their own - // independent limit. - KEYWORD_PLANS_PER_USER_PER_CUSTOMER = 122; - - // Number of keyword plan ad group keywords per keyword plan. - KEYWORD_PLAN_AD_GROUP_KEYWORDS_PER_KEYWORD_PLAN = 123; - - // Number of keyword plan ad groups per keyword plan. - KEYWORD_PLAN_AD_GROUPS_PER_KEYWORD_PLAN = 124; - - // Number of keyword plan negative keywords (both campaign and ad group) per - // keyword plan. - KEYWORD_PLAN_NEGATIVE_KEYWORDS_PER_KEYWORD_PLAN = 125; - - // Number of keyword plan campaigns per keyword plan. - KEYWORD_PLAN_CAMPAIGNS_PER_KEYWORD_PLAN = 126; - - // Number of ENABLED conversion actions per customer. - CONVERSION_ACTIONS_PER_CUSTOMER = 128; - - // Number of operations in a single batch job. - BATCH_JOB_OPERATIONS_PER_JOB = 130; - - // Number of PENDING or ENABLED batch jobs per customer. - BATCH_JOBS_PER_CUSTOMER = 131; - - // Number of hotel check-in date range bid modifiers per ad agroup. - HOTEL_CHECK_IN_DATE_RANGE_BID_MODIFIERS_PER_AD_GROUP = 132; - - // Maximum number of asset per hotel property asset set. - ENABLED_ASSET_PER_HOTEL_PROPERTY_ASSET_SET = 181; - - // Maximum number of enabled hotel property assets per asset group. - ENABLED_HOTEL_PROPERTY_ASSET_LINKS_PER_ASSET_GROUP = 182; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/response_content_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/response_content_type.proto deleted file mode 100644 index ca43b1f5b..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/response_content_type.proto +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ResponseContentTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing the response content types used in mutate operations. - -// Container for possible response content types. -message ResponseContentTypeEnum { - // Possible response content types. - enum ResponseContentType { - // Not specified. Will return the resource name only in the response. - UNSPECIFIED = 0; - - // The mutate response will be the resource name. - RESOURCE_NAME_ONLY = 1; - - // The mutate response will be the resource name and the resource with - // all mutable fields. - MUTABLE_RESOURCE = 2; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/search_engine_results_page_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/search_engine_results_page_type.proto deleted file mode 100644 index f2c3ca7bf..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/search_engine_results_page_type.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SearchEngineResultsPageTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing search engine results page types. - -// The type of the search engine results page. -message SearchEngineResultsPageTypeEnum { - // The type of the search engine results page. - enum SearchEngineResultsPageType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Only ads were contained in the search engine results page. - ADS_ONLY = 2; - - // Only organic results were contained in the search engine results page. - ORGANIC_ONLY = 3; - - // Both ads and organic results were contained in the search engine results - // page. - ADS_AND_ORGANIC = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/search_term_match_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/search_term_match_type.proto deleted file mode 100644 index 128107744..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/search_term_match_type.proto +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SearchTermMatchTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing search term match types. - -// Container for enum describing match types for a keyword triggering an ad. -message SearchTermMatchTypeEnum { - // Possible match types for a keyword triggering an ad, including variants. - enum SearchTermMatchType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Broad match. - BROAD = 2; - - // Exact match. - EXACT = 3; - - // Phrase match. - PHRASE = 4; - - // Exact match (close variant). - NEAR_EXACT = 5; - - // Phrase match (close variant). - NEAR_PHRASE = 6; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/search_term_targeting_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/search_term_targeting_status.proto deleted file mode 100644 index e2a43d92b..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/search_term_targeting_status.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SearchTermTargetingStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing search term targeting statuses. - -// Container for enum indicating whether a search term is one of your targeted -// or excluded keywords. -message SearchTermTargetingStatusEnum { - // Indicates whether the search term is one of your targeted or excluded - // keywords. - enum SearchTermTargetingStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Search term is added to targeted keywords. - ADDED = 2; - - // Search term matches a negative keyword. - EXCLUDED = 3; - - // Search term has been both added and excluded. - ADDED_EXCLUDED = 4; - - // Search term is neither targeted nor excluded. - NONE = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/seasonality_event_scope.proto b/third_party/googleapis/google/ads/googleads/v13/enums/seasonality_event_scope.proto deleted file mode 100644 index 8e786797a..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/seasonality_event_scope.proto +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SeasonalityEventScopeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing seasonality event status. - -// Message describing seasonality event scopes. The two types of seasonality -// events are BiddingSeasonalityAdjustments and BiddingDataExclusions. -message SeasonalityEventScopeEnum { - // The possible scopes of a Seasonality Event. - enum SeasonalityEventScope { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // The seasonality event is applied to all the customer's traffic for - // supported advertising channel types and device types. The CUSTOMER scope - // cannot be used in mutates. - CUSTOMER = 2; - - // The seasonality event is applied to all specified campaigns. - CAMPAIGN = 4; - - // The seasonality event is applied to all campaigns that belong to - // specified channel types. - CHANNEL = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/seasonality_event_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/seasonality_event_status.proto deleted file mode 100644 index 2bfd686a2..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/seasonality_event_status.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SeasonalityEventStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing seasonality event status. - -// Message describing seasonality event statuses. The two types of seasonality -// events are BiddingSeasonalityAdjustments and BiddingDataExclusions. -message SeasonalityEventStatusEnum { - // The possible statuses of a Seasonality Event. - enum SeasonalityEventStatus { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // The seasonality event is enabled. - ENABLED = 2; - - // The seasonality event is removed. - REMOVED = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/served_asset_field_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/served_asset_field_type.proto deleted file mode 100644 index def423201..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/served_asset_field_type.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ServedAssetFieldTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing policy review statuses. - -// Container for enum describing possible asset field types. -message ServedAssetFieldTypeEnum { - // The possible asset field types. - enum ServedAssetFieldType { - // No value has been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // The asset is used in headline 1. - HEADLINE_1 = 2; - - // The asset is used in headline 2. - HEADLINE_2 = 3; - - // The asset is used in headline 3. - HEADLINE_3 = 4; - - // The asset is used in description 1. - DESCRIPTION_1 = 5; - - // The asset is used in description 2. - DESCRIPTION_2 = 6; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/shared_set_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/shared_set_status.proto deleted file mode 100644 index d7989e251..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/shared_set_status.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SharedSetStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing shared set statuses. - -// Container for enum describing types of shared set statuses. -message SharedSetStatusEnum { - // Enum listing the possible shared set statuses. - enum SharedSetStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The shared set is enabled. - ENABLED = 2; - - // The shared set is removed and can no longer be used. - REMOVED = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/shared_set_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/shared_set_type.proto deleted file mode 100644 index c38db4016..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/shared_set_type.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SharedSetTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing shared set types. - -// Container for enum describing types of shared sets. -message SharedSetTypeEnum { - // Enum listing the possible shared set types. - enum SharedSetType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // A set of keywords that can be excluded from targeting. - NEGATIVE_KEYWORDS = 2; - - // A set of placements that can be excluded from targeting. - NEGATIVE_PLACEMENTS = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/simulation_modification_method.proto b/third_party/googleapis/google/ads/googleads/v13/enums/simulation_modification_method.proto deleted file mode 100644 index 019130ece..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/simulation_modification_method.proto +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SimulationModificationMethodProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing simulation modification methods. - -// Container for enum describing the method by which a simulation modifies -// a field. -message SimulationModificationMethodEnum { - // Enum describing the method by which a simulation modifies a field. - enum SimulationModificationMethod { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The values in a simulation were applied to all children of a given - // resource uniformly. Overrides on child resources were not respected. - UNIFORM = 2; - - // The values in a simulation were applied to the given resource. - // Overrides on child resources were respected, and traffic estimates - // do not include these resources. - DEFAULT = 3; - - // The values in a simulation were all scaled by the same factor. - // For example, in a simulated TargetCpa campaign, the campaign target and - // all ad group targets were scaled by a factor of X. - SCALING = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/simulation_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/simulation_type.proto deleted file mode 100644 index 0684e46d3..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/simulation_type.proto +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SimulationTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing simulation types. - -// Container for enum describing the field a simulation modifies. -message SimulationTypeEnum { - // Enum describing the field a simulation modifies. - enum SimulationType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The simulation is for a CPC bid. - CPC_BID = 2; - - // The simulation is for a CPV bid. - CPV_BID = 3; - - // The simulation is for a CPA target. - TARGET_CPA = 4; - - // The simulation is for a bid modifier. - BID_MODIFIER = 5; - - // The simulation is for a ROAS target. - TARGET_ROAS = 6; - - // The simulation is for a percent CPC bid. - PERCENT_CPC_BID = 7; - - // The simulation is for an impression share target. - TARGET_IMPRESSION_SHARE = 8; - - // The simulation is for a budget. - BUDGET = 9; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/sitelink_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v13/enums/sitelink_placeholder_field.proto deleted file mode 100644 index ae3b2814e..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/sitelink_placeholder_field.proto +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SitelinkPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing Sitelink placeholder fields. - -// Values for Sitelink placeholder fields. -message SitelinkPlaceholderFieldEnum { - // Possible values for Sitelink placeholder fields. - enum SitelinkPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. The link text for your sitelink. - TEXT = 2; - - // Data Type: STRING. First line of the sitelink description. - LINE_1 = 3; - - // Data Type: STRING. Second line of the sitelink description. - LINE_2 = 4; - - // Data Type: URL_LIST. Final URLs for the sitelink when using Upgraded - // URLs. - FINAL_URLS = 5; - - // Data Type: URL_LIST. Final Mobile URLs for the sitelink when using - // Upgraded URLs. - FINAL_MOBILE_URLS = 6; - - // Data Type: URL. Tracking template for the sitelink when using Upgraded - // URLs. - TRACKING_URL = 7; - - // Data Type: STRING. Final URL suffix for sitelink when using parallel - // tracking. - FINAL_URL_SUFFIX = 8; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/sk_ad_network_ad_event_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/sk_ad_network_ad_event_type.proto deleted file mode 100644 index 8de6b21c2..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/sk_ad_network_ad_event_type.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SkAdNetworkAdEventTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing SkAdNetwork Ad Event Types. - -// Container for enumeration of SkAdNetwork ad event types. -message SkAdNetworkAdEventTypeEnum { - // Enumerates SkAdNetwork ad event types - enum SkAdNetworkAdEventType { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // The value was not present in the postback or we do not have this data for - // other reasons. - UNAVAILABLE = 2; - - // The user interacted with the ad. - INTERACTION = 3; - - // The user viewed the ad. - VIEW = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/sk_ad_network_attribution_credit.proto b/third_party/googleapis/google/ads/googleads/v13/enums/sk_ad_network_attribution_credit.proto deleted file mode 100644 index 31804c2de..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/sk_ad_network_attribution_credit.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SkAdNetworkAttributionCreditProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing SkAdNetwork attribution credits. - -// Container for enumeration of SkAdNetwork attribution credits. -message SkAdNetworkAttributionCreditEnum { - // Enumerates SkAdNetwork attribution credits. - enum SkAdNetworkAttributionCredit { - // Default value. This value is equivalent to null. - UNSPECIFIED = 0; - - // The value is unknown in this API version. The true enum value cannot be - // returned in this API version or is not supported yet. - UNKNOWN = 1; - - // The value was not present in the postback or we do not have this data for - // other reasons. - UNAVAILABLE = 2; - - // Google was the ad network that won ad attribution. - WON = 3; - - // Google qualified for attribution, but didn't win. - CONTRIBUTED = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/sk_ad_network_user_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/sk_ad_network_user_type.proto deleted file mode 100644 index 48fffabdb..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/sk_ad_network_user_type.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SkAdNetworkUserTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing SkAdNetwork user types. - -// Container for enumeration of SkAdNetwork user types. -message SkAdNetworkUserTypeEnum { - // Enumerates SkAdNetwork user types - enum SkAdNetworkUserType { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // The value was not present in the postback or we do not have this data for - // other reasons. - UNAVAILABLE = 2; - - // The user installed the app for the first time. - NEW_INSTALLER = 3; - - // The user has previously installed the app. - REINSTALLER = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/slot.proto b/third_party/googleapis/google/ads/googleads/v13/enums/slot.proto deleted file mode 100644 index 78786a8b9..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/slot.proto +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SlotProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing slots. - -// Container for enumeration of possible positions of the Ad. -message SlotEnum { - // Enumerates possible positions of the Ad. - enum Slot { - // Not specified. - UNSPECIFIED = 0; - - // The value is unknown in this version. - UNKNOWN = 1; - - // Google search: Side. - SEARCH_SIDE = 2; - - // Google search: Top. - SEARCH_TOP = 3; - - // Google search: Other. - SEARCH_OTHER = 4; - - // Google Display Network. - CONTENT = 5; - - // Search partners: Top. - SEARCH_PARTNER_TOP = 6; - - // Search partners: Other. - SEARCH_PARTNER_OTHER = 7; - - // Cross-network. - MIXED = 8; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/smart_campaign_not_eligible_reason.proto b/third_party/googleapis/google/ads/googleads/v13/enums/smart_campaign_not_eligible_reason.proto deleted file mode 100644 index 9e17b4b3c..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/smart_campaign_not_eligible_reason.proto +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SmartCampaignNotEligibleReasonProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing reasons for why a Smart campaign is not eligible to -// serve. - -// A container for an enum that describes reasons for why a Smart campaign -// is not eligible to serve. -message SmartCampaignNotEligibleReasonEnum { - // Reasons for why a Smart campaign is not eligible to serve. - enum SmartCampaignNotEligibleReason { - // The status has not been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // The campaign is not eligible to serve because of an issue with the - // account. - ACCOUNT_ISSUE = 2; - - // The campaign is not eligible to serve because of a payment issue. - BILLING_ISSUE = 3; - - // The business profile location associated with the campaign has been - // removed. - BUSINESS_PROFILE_LOCATION_REMOVED = 4; - - // All system-generated ads have been disapproved. Consult the - // policy_summary field in the AdGroupAd resource for more details. - ALL_ADS_DISAPPROVED = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/smart_campaign_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/smart_campaign_status.proto deleted file mode 100644 index dc151bd3e..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/smart_campaign_status.proto +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SmartCampaignStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing Smart campaign statuses. - -// A container for an enum that describes Smart campaign statuses. -message SmartCampaignStatusEnum { - // Smart campaign statuses. - enum SmartCampaignStatus { - // The status has not been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // - // This is a response-only value. - UNKNOWN = 1; - - // The campaign was paused. - PAUSED = 2; - - // The campaign is not eligible to serve and has issues that may require - // intervention. - NOT_ELIGIBLE = 3; - - // The campaign is pending the approval of at least one ad. - PENDING = 4; - - // The campaign is eligible to serve. - ELIGIBLE = 5; - - // The campaign has been removed. - REMOVED = 6; - - // The campaign has ended. - ENDED = 7; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/spending_limit_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/spending_limit_type.proto deleted file mode 100644 index e16954f2a..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/spending_limit_type.proto +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SpendingLimitTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing SpendingLimit types. - -// Message describing spending limit types. -message SpendingLimitTypeEnum { - // The possible spending limit types used by certain resources as an - // alternative to absolute money values in micros. - enum SpendingLimitType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Infinite, indicates unlimited spending power. - INFINITE = 2; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/structured_snippet_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v13/enums/structured_snippet_placeholder_field.proto deleted file mode 100644 index 0cf81900b..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/structured_snippet_placeholder_field.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "StructuredSnippetPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing Structured Snippet placeholder fields. - -// Values for Structured Snippet placeholder fields. -message StructuredSnippetPlaceholderFieldEnum { - // Possible values for Structured Snippet placeholder fields. - enum StructuredSnippetPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. The category of snippet of your products/services. - // Must match exactly one of the predefined structured snippets headers. - // For a list, visit - // https://developers.google.com/google-ads/api/reference/data/structured-snippet-headers - HEADER = 2; - - // Data Type: STRING_LIST. Text values that describe your products/services. - // All text must be family safe. Special or non-ASCII characters are not - // permitted. A snippet can be at most 25 characters. - SNIPPETS = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/summary_row_setting.proto b/third_party/googleapis/google/ads/googleads/v13/enums/summary_row_setting.proto deleted file mode 100644 index d69377c57..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/summary_row_setting.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SummaryRowSettingProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing summary row setting. - -// Indicates summary row setting in request parameter. -message SummaryRowSettingEnum { - // Enum describing return summary row settings. - enum SummaryRowSetting { - // Not specified. - UNSPECIFIED = 0; - - // Represent unknown values of return summary row. - UNKNOWN = 1; - - // Do not return summary row. - NO_SUMMARY_ROW = 2; - - // Return summary row along with results. The summary row will be returned - // in the last batch alone (last batch will contain no results). - SUMMARY_ROW_WITH_RESULTS = 3; - - // Return summary row only and return no results. - SUMMARY_ROW_ONLY = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/system_managed_entity_source.proto b/third_party/googleapis/google/ads/googleads/v13/enums/system_managed_entity_source.proto deleted file mode 100644 index ddccf6ee0..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/system_managed_entity_source.proto +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SystemManagedEntitySourceProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing system managed entity sources. - -// Container for enum describing possible system managed entity sources. -message SystemManagedResourceSourceEnum { - // Enum listing the possible system managed entity sources. - enum SystemManagedResourceSource { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Generated ad variations experiment ad. - AD_VARIATIONS = 2; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/target_cpa_opt_in_recommendation_goal.proto b/third_party/googleapis/google/ads/googleads/v13/enums/target_cpa_opt_in_recommendation_goal.proto deleted file mode 100644 index c7f0f04b9..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/target_cpa_opt_in_recommendation_goal.proto +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "TargetCpaOptInRecommendationGoalProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing TargetCpaOptIn recommendation goals. - -// Container for enum describing goals for TargetCpaOptIn recommendation. -message TargetCpaOptInRecommendationGoalEnum { - // Goal of TargetCpaOptIn recommendation. - enum TargetCpaOptInRecommendationGoal { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Recommendation to set Target CPA to maintain the same cost. - SAME_COST = 2; - - // Recommendation to set Target CPA to maintain the same conversions. - SAME_CONVERSIONS = 3; - - // Recommendation to set Target CPA to maintain the same CPA. - SAME_CPA = 4; - - // Recommendation to set Target CPA to a value that is as close as possible - // to, yet lower than, the actual CPA (computed for past 28 days). - CLOSEST_CPA = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/target_frequency_time_unit.proto b/third_party/googleapis/google/ads/googleads/v13/enums/target_frequency_time_unit.proto deleted file mode 100644 index 27515bc3c..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/target_frequency_time_unit.proto +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "TargetFrequencyTimeUnitProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing bidding goal Target Frequency time units. - -// Container for enum describing bidding goal Target Frequency time units. -message TargetFrequencyTimeUnitEnum { - // Enum describing time window over which we want to reach Target Frequency. - enum TargetFrequencyTimeUnit { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Optimize bidding to reach Target Frequency in a week. - WEEKLY = 2; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/target_impression_share_location.proto b/third_party/googleapis/google/ads/googleads/v13/enums/target_impression_share_location.proto deleted file mode 100644 index 5b4615fcc..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/target_impression_share_location.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "TargetImpressionShareLocationProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing target impression share goal. - -// Container for enum describing where on the first search results page the -// automated bidding system should target impressions for the -// TargetImpressionShare bidding strategy. -message TargetImpressionShareLocationEnum { - // Enum describing possible goals. - enum TargetImpressionShareLocation { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Any location on the web page. - ANYWHERE_ON_PAGE = 2; - - // Top box of ads. - TOP_OF_PAGE = 3; - - // Top slot in the top box of ads. - ABSOLUTE_TOP_OF_PAGE = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/targeting_dimension.proto b/third_party/googleapis/google/ads/googleads/v13/enums/targeting_dimension.proto deleted file mode 100644 index c834f9641..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/targeting_dimension.proto +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "TargetingDimensionProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing criteria types. - -// The dimensions that can be targeted. -message TargetingDimensionEnum { - // Enum describing possible targeting dimensions. - enum TargetingDimension { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Keyword criteria, for example, 'mars cruise'. KEYWORD may be used as a - // custom bid dimension. Keywords are always a targeting dimension, so may - // not be set as a target "ALL" dimension with TargetRestriction. - KEYWORD = 2; - - // Audience criteria, which include user list, user interest, custom - // affinity, and custom in market. - AUDIENCE = 3; - - // Topic criteria for targeting categories of content, for example, - // 'category::Animals>Pets' Used for Display and Video targeting. - TOPIC = 4; - - // Criteria for targeting gender. - GENDER = 5; - - // Criteria for targeting age ranges. - AGE_RANGE = 6; - - // Placement criteria, which include websites like 'www.flowers4sale.com', - // as well as mobile applications, mobile app categories, YouTube videos, - // and YouTube channels. - PLACEMENT = 7; - - // Criteria for parental status targeting. - PARENTAL_STATUS = 8; - - // Criteria for income range targeting. - INCOME_RANGE = 9; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/time_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/time_type.proto deleted file mode 100644 index 6665b6a7e..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/time_type.proto +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "TimeTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing TimeType types. - -// Message describing time types. -message TimeTypeEnum { - // The possible time types used by certain resources as an alternative to - // absolute timestamps. - enum TimeType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // As soon as possible. - NOW = 2; - - // An infinite point in the future. - FOREVER = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/tracking_code_page_format.proto b/third_party/googleapis/google/ads/googleads/v13/enums/tracking_code_page_format.proto deleted file mode 100644 index dc216bb79..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/tracking_code_page_format.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "TrackingCodePageFormatProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Container for enum describing the format of the web page where the tracking -// tag and snippet will be installed. -message TrackingCodePageFormatEnum { - // The format of the web page where the tracking tag and snippet will be - // installed. - enum TrackingCodePageFormat { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Standard HTML page format. - HTML = 2; - - // Google AMP page format. - AMP = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/tracking_code_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/tracking_code_type.proto deleted file mode 100644 index 436ca1dd1..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/tracking_code_type.proto +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "TrackingCodeTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Container for enum describing the type of the generated tag snippets for -// tracking conversions. -message TrackingCodeTypeEnum { - // The type of the generated tag snippets for tracking conversions. - enum TrackingCodeType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The snippet that is fired as a result of a website page loading. - WEBPAGE = 2; - - // The snippet contains a JavaScript function which fires the tag. This - // function is typically called from an onClick handler added to a link or - // button element on the page. - WEBPAGE_ONCLICK = 3; - - // For embedding on a mobile webpage. The snippet contains a JavaScript - // function which fires the tag. - CLICK_TO_CALL = 4; - - // The snippet that is used to replace the phone number on your website with - // a Google forwarding number for call tracking purposes. - WEBSITE_CALL = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/travel_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v13/enums/travel_placeholder_field.proto deleted file mode 100644 index 1713bf7a7..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/travel_placeholder_field.proto +++ /dev/null @@ -1,124 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "TravelPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing Travel placeholder fields. - -// Values for Travel placeholder fields. -// For more information about dynamic remarketing feeds, see -// https://support.google.com/google-ads/answer/6053288. -message TravelPlaceholderFieldEnum { - // Possible values for Travel placeholder fields. - enum TravelPlaceholderField { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Data Type: STRING. Required. Destination id. Example: PAR, LON. - // For feed items that only have destination id, destination id must be a - // unique key. For feed items that have both destination id and origin id, - // then the combination must be a unique key. - DESTINATION_ID = 2; - - // Data Type: STRING. Origin id. Example: PAR, LON. - // Combination of DESTINATION_ID and ORIGIN_ID must be - // unique per offer. - ORIGIN_ID = 3; - - // Data Type: STRING. Required. Main headline with name to be shown in - // dynamic ad. - TITLE = 4; - - // Data Type: STRING. The destination name. Shorter names are recommended. - DESTINATION_NAME = 5; - - // Data Type: STRING. Origin name. Shorter names are recommended. - ORIGIN_NAME = 6; - - // Data Type: STRING. Price to be shown in the ad. Highly recommended for - // dynamic ads. - // Example: "100.00 USD" - PRICE = 7; - - // Data Type: STRING. Formatted price to be shown in the ad. - // Example: "Starting at $100.00 USD", "$80 - $100" - FORMATTED_PRICE = 8; - - // Data Type: STRING. Sale price to be shown in the ad. - // Example: "80.00 USD" - SALE_PRICE = 9; - - // Data Type: STRING. Formatted sale price to be shown in the ad. - // Example: "On sale for $80.00", "$60 - $80" - FORMATTED_SALE_PRICE = 10; - - // Data Type: URL. Image to be displayed in the ad. - IMAGE_URL = 11; - - // Data Type: STRING. Category of travel offer used to group like items - // together for recommendation engine. - CATEGORY = 12; - - // Data Type: STRING_LIST. Keywords used for product retrieval. - CONTEXTUAL_KEYWORDS = 13; - - // Data Type: STRING. Address of travel offer, including postal code. - DESTINATION_ADDRESS = 14; - - // Data Type: URL_LIST. Required. Final URLs to be used in ad, when using - // Upgraded URLs; the more specific the better (for example, the individual - // URL of a specific travel offer and its location). - FINAL_URL = 15; - - // Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - // URLs. - FINAL_MOBILE_URLS = 16; - - // Data Type: URL. Tracking template for the ad when using Upgraded URLs. - TRACKING_URL = 17; - - // Data Type: STRING. Android app link. Must be formatted as: - // android-app://{package_id}/{scheme}/{host_path}. - // The components are defined as follows: - // package_id: app ID as specified in Google Play. - // scheme: the scheme to pass to the application. Can be HTTP, or a custom - // scheme. - // host_path: identifies the specific content within your application. - ANDROID_APP_LINK = 18; - - // Data Type: STRING_LIST. List of recommended destination IDs to show - // together with this item. - SIMILAR_DESTINATION_IDS = 19; - - // Data Type: STRING. iOS app link. - IOS_APP_LINK = 20; - - // Data Type: INT64. iOS app store ID. - IOS_APP_STORE_ID = 21; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/user_identifier_source.proto b/third_party/googleapis/google/ads/googleads/v13/enums/user_identifier_source.proto deleted file mode 100644 index 0af0f1fca..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/user_identifier_source.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserIdentifierSourceProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing user identifier source - -// Container for enum describing the source of the user identifier for offline -// Store Sales, click conversion, and conversion adjustment uploads. -message UserIdentifierSourceEnum { - // The type of user identifier source for offline Store Sales, click - // conversion, and conversion adjustment uploads. - enum UserIdentifierSource { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version - UNKNOWN = 1; - - // Indicates that the user identifier was provided by the first party - // (advertiser). - FIRST_PARTY = 2; - - // Indicates that the user identifier was provided by the third party - // (partner). - THIRD_PARTY = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/user_interest_taxonomy_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/user_interest_taxonomy_type.proto deleted file mode 100644 index 2f4f0dee7..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/user_interest_taxonomy_type.proto +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserInterestTaxonomyTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing the UserInterest taxonomy type - -// Message describing a UserInterestTaxonomyType. -message UserInterestTaxonomyTypeEnum { - // Enum containing the possible UserInterestTaxonomyTypes. - enum UserInterestTaxonomyType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The affinity for this user interest. - AFFINITY = 2; - - // The market for this user interest. - IN_MARKET = 3; - - // Users known to have installed applications in the specified categories. - MOBILE_APP_INSTALL_USER = 4; - - // The geographical location of the interest-based vertical. - VERTICAL_GEO = 5; - - // User interest criteria for new smart phone users. - NEW_SMART_PHONE_USER = 6; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/user_list_access_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/user_list_access_status.proto deleted file mode 100644 index 4433955d5..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/user_list_access_status.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListAccessStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing user list access status. - -// Indicates if this client still has access to the list. -message UserListAccessStatusEnum { - // Enum containing possible user list access statuses. - enum UserListAccessStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The access is enabled. - ENABLED = 2; - - // The access is disabled. - DISABLED = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/user_list_closing_reason.proto b/third_party/googleapis/google/ads/googleads/v13/enums/user_list_closing_reason.proto deleted file mode 100644 index 54b5b1933..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/user_list_closing_reason.proto +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListClosingReasonProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing user list closing reason. - -// Indicates the reason why the userlist was closed. -// This enum is only used when a list is auto-closed by the system. -message UserListClosingReasonEnum { - // Enum describing possible user list closing reasons. - enum UserListClosingReason { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The userlist was closed because of not being used for over one year. - UNUSED = 2; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/user_list_crm_data_source_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/user_list_crm_data_source_type.proto deleted file mode 100644 index e688510cf..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/user_list_crm_data_source_type.proto +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListCrmDataSourceTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Indicates source of Crm upload data. -message UserListCrmDataSourceTypeEnum { - // Enum describing possible user list crm data source type. - enum UserListCrmDataSourceType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The uploaded data is first-party data. - FIRST_PARTY = 2; - - // The uploaded data is from a third-party credit bureau. - THIRD_PARTY_CREDIT_BUREAU = 3; - - // The uploaded data is from a third-party voter file. - THIRD_PARTY_VOTER_FILE = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/user_list_date_rule_item_operator.proto b/third_party/googleapis/google/ads/googleads/v13/enums/user_list_date_rule_item_operator.proto deleted file mode 100644 index f04652f3a..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/user_list_date_rule_item_operator.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListDateRuleItemOperatorProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Supported rule operator for date type. -message UserListDateRuleItemOperatorEnum { - // Enum describing possible user list date rule item operators. - enum UserListDateRuleItemOperator { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Equals. - EQUALS = 2; - - // Not Equals. - NOT_EQUALS = 3; - - // Before. - BEFORE = 4; - - // After. - AFTER = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/user_list_flexible_rule_operator.proto b/third_party/googleapis/google/ads/googleads/v13/enums/user_list_flexible_rule_operator.proto deleted file mode 100644 index 3f28022b8..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/user_list_flexible_rule_operator.proto +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListFlexibleRuleOperatorProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Logical operator connecting two rules. -message UserListFlexibleRuleOperatorEnum { - // Enum describing possible user list combined rule operators. - enum UserListFlexibleRuleOperator { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // A AND B. - AND = 2; - - // A OR B. - OR = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/user_list_logical_rule_operator.proto b/third_party/googleapis/google/ads/googleads/v13/enums/user_list_logical_rule_operator.proto deleted file mode 100644 index 9a214f08b..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/user_list_logical_rule_operator.proto +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListLogicalRuleOperatorProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// The logical operator of the rule. -message UserListLogicalRuleOperatorEnum { - // Enum describing possible user list logical rule operators. - enum UserListLogicalRuleOperator { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // And - all of the operands. - ALL = 2; - - // Or - at least one of the operands. - ANY = 3; - - // Not - none of the operands. - NONE = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/user_list_membership_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/user_list_membership_status.proto deleted file mode 100644 index c3c236b89..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/user_list_membership_status.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListMembershipStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing user list membership status. - -// Membership status of this user list. Indicates whether a user list is open -// or active. Only open user lists can accumulate more users and can be used for -// targeting. -message UserListMembershipStatusEnum { - // Enum containing possible user list membership statuses. - enum UserListMembershipStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Open status - List is accruing members and can be targeted to. - OPEN = 2; - - // Closed status - No new members being added. Cannot be used for targeting. - CLOSED = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/user_list_number_rule_item_operator.proto b/third_party/googleapis/google/ads/googleads/v13/enums/user_list_number_rule_item_operator.proto deleted file mode 100644 index 12b4d58ca..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/user_list_number_rule_item_operator.proto +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListNumberRuleItemOperatorProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Supported rule operator for number type. -message UserListNumberRuleItemOperatorEnum { - // Enum describing possible user list number rule item operators. - enum UserListNumberRuleItemOperator { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Greater than. - GREATER_THAN = 2; - - // Greater than or equal. - GREATER_THAN_OR_EQUAL = 3; - - // Equals. - EQUALS = 4; - - // Not equals. - NOT_EQUALS = 5; - - // Less than. - LESS_THAN = 6; - - // Less than or equal. - LESS_THAN_OR_EQUAL = 7; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/user_list_prepopulation_status.proto b/third_party/googleapis/google/ads/googleads/v13/enums/user_list_prepopulation_status.proto deleted file mode 100644 index 0510ee3c3..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/user_list_prepopulation_status.proto +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListPrepopulationStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Indicates status of prepopulation based on the rule. -message UserListPrepopulationStatusEnum { - // Enum describing possible user list prepopulation status. - enum UserListPrepopulationStatus { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Prepopoulation is being requested. - REQUESTED = 2; - - // Prepopulation is finished. - FINISHED = 3; - - // Prepopulation failed. - FAILED = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/user_list_rule_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/user_list_rule_type.proto deleted file mode 100644 index 8368131e0..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/user_list_rule_type.proto +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListRuleTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Rule based user list rule type. -message UserListRuleTypeEnum { - // Enum describing possible user list rule types. - enum UserListRuleType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Conjunctive normal form. - AND_OF_ORS = 2; - - // Disjunctive normal form. - OR_OF_ANDS = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/user_list_size_range.proto b/third_party/googleapis/google/ads/googleads/v13/enums/user_list_size_range.proto deleted file mode 100644 index bc0dda953..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/user_list_size_range.proto +++ /dev/null @@ -1,88 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListSizeRangeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing user list size range. - -// Size range in terms of number of users of a UserList. -message UserListSizeRangeEnum { - // Enum containing possible user list size ranges. - enum UserListSizeRange { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // User list has less than 500 users. - LESS_THAN_FIVE_HUNDRED = 2; - - // User list has number of users in range of 500 to 1000. - LESS_THAN_ONE_THOUSAND = 3; - - // User list has number of users in range of 1000 to 10000. - ONE_THOUSAND_TO_TEN_THOUSAND = 4; - - // User list has number of users in range of 10000 to 50000. - TEN_THOUSAND_TO_FIFTY_THOUSAND = 5; - - // User list has number of users in range of 50000 to 100000. - FIFTY_THOUSAND_TO_ONE_HUNDRED_THOUSAND = 6; - - // User list has number of users in range of 100000 to 300000. - ONE_HUNDRED_THOUSAND_TO_THREE_HUNDRED_THOUSAND = 7; - - // User list has number of users in range of 300000 to 500000. - THREE_HUNDRED_THOUSAND_TO_FIVE_HUNDRED_THOUSAND = 8; - - // User list has number of users in range of 500000 to 1 million. - FIVE_HUNDRED_THOUSAND_TO_ONE_MILLION = 9; - - // User list has number of users in range of 1 to 2 millions. - ONE_MILLION_TO_TWO_MILLION = 10; - - // User list has number of users in range of 2 to 3 millions. - TWO_MILLION_TO_THREE_MILLION = 11; - - // User list has number of users in range of 3 to 5 millions. - THREE_MILLION_TO_FIVE_MILLION = 12; - - // User list has number of users in range of 5 to 10 millions. - FIVE_MILLION_TO_TEN_MILLION = 13; - - // User list has number of users in range of 10 to 20 millions. - TEN_MILLION_TO_TWENTY_MILLION = 14; - - // User list has number of users in range of 20 to 30 millions. - TWENTY_MILLION_TO_THIRTY_MILLION = 15; - - // User list has number of users in range of 30 to 50 millions. - THIRTY_MILLION_TO_FIFTY_MILLION = 16; - - // User list has over 50 million users. - OVER_FIFTY_MILLION = 17; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/user_list_string_rule_item_operator.proto b/third_party/googleapis/google/ads/googleads/v13/enums/user_list_string_rule_item_operator.proto deleted file mode 100644 index 17cb970e8..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/user_list_string_rule_item_operator.proto +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListStringRuleItemOperatorProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Supported rule operator for string type. -message UserListStringRuleItemOperatorEnum { - // Enum describing possible user list string rule item operators. - enum UserListStringRuleItemOperator { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Contains. - CONTAINS = 2; - - // Equals. - EQUALS = 3; - - // Starts with. - STARTS_WITH = 4; - - // Ends with. - ENDS_WITH = 5; - - // Not equals. - NOT_EQUALS = 6; - - // Not contains. - NOT_CONTAINS = 7; - - // Not starts with. - NOT_STARTS_WITH = 8; - - // Not ends with. - NOT_ENDS_WITH = 9; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/user_list_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/user_list_type.proto deleted file mode 100644 index 1d721179e..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/user_list_type.proto +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing user list type. - -// The user list types. -message UserListTypeEnum { - // Enum containing possible user list types. - enum UserListType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // UserList represented as a collection of conversion types. - REMARKETING = 2; - - // UserList represented as a combination of other user lists/interests. - LOGICAL = 3; - - // UserList created in the Google Ad Manager platform. - EXTERNAL_REMARKETING = 4; - - // UserList associated with a rule. - RULE_BASED = 5; - - // UserList with users similar to users of another UserList. - SIMILAR = 6; - - // UserList of first-party CRM data provided by advertiser in the form of - // emails or other formats. - CRM_BASED = 7; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/value_rule_device_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/value_rule_device_type.proto deleted file mode 100644 index 56e9ce775..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/value_rule_device_type.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ValueRuleDeviceTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing conversion value rule device type. - -// Container for enum describing possible device types used in a conversion -// value rule. -message ValueRuleDeviceTypeEnum { - // Possible device types used in conversion value rule. - enum ValueRuleDeviceType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Mobile device. - MOBILE = 2; - - // Desktop device. - DESKTOP = 3; - - // Tablet device. - TABLET = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/value_rule_geo_location_match_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/value_rule_geo_location_match_type.proto deleted file mode 100644 index 020157649..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/value_rule_geo_location_match_type.proto +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ValueRuleGeoLocationMatchTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing conversion value rule geo location match type. - -// Container for enum describing possible geographic location matching types -// used in a conversion value rule. -message ValueRuleGeoLocationMatchTypeEnum { - // Possible geographic location matching types. - enum ValueRuleGeoLocationMatchType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Either Area of Interest or Location of Presence can be used to match. - ANY = 2; - - // Only Location of Presence can be used to match. - LOCATION_OF_PRESENCE = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/value_rule_operation.proto b/third_party/googleapis/google/ads/googleads/v13/enums/value_rule_operation.proto deleted file mode 100644 index f5e7aedd0..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/value_rule_operation.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ValueRuleOperationProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing conversion value rule operation. - -// Container for enum describing possible operations for value rules which are -// executed when rules are triggered. -message ValueRuleOperationEnum { - // Possible operations of the action of a conversion value rule. - enum ValueRuleOperation { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Add provided value to conversion value. - ADD = 2; - - // Multiply conversion value by provided value. - MULTIPLY = 3; - - // Set conversion value to provided value. - SET = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/value_rule_set_attachment_type.proto b/third_party/googleapis/google/ads/googleads/v13/enums/value_rule_set_attachment_type.proto deleted file mode 100644 index 07042a9cf..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/value_rule_set_attachment_type.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ValueRuleSetAttachmentTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing where the conversion value rule is attached. - -// Container for enum describing where a value rule set is attached. -message ValueRuleSetAttachmentTypeEnum { - // Possible level where a value rule set is attached. - enum ValueRuleSetAttachmentType { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Attached to the customer. - CUSTOMER = 2; - - // Attached to a campaign. - CAMPAIGN = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/value_rule_set_dimension.proto b/third_party/googleapis/google/ads/googleads/v13/enums/value_rule_set_dimension.proto deleted file mode 100644 index 3627074b4..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/value_rule_set_dimension.proto +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ValueRuleSetDimensionProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing conversion value rule set dimension. - -// Container for enum describing possible dimensions of a conversion value rule -// set. -message ValueRuleSetDimensionEnum { - // Possible dimensions of a conversion value rule set. - enum ValueRuleSetDimension { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Dimension for geo location. - GEO_LOCATION = 2; - - // Dimension for device type. - DEVICE = 3; - - // Dimension for audience. - AUDIENCE = 4; - - // This dimension implies the rule will always apply. - NO_CONDITION = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/vanity_pharma_display_url_mode.proto b/third_party/googleapis/google/ads/googleads/v13/enums/vanity_pharma_display_url_mode.proto deleted file mode 100644 index b1c2871f6..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/vanity_pharma_display_url_mode.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "VanityPharmaDisplayUrlModeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing vanity pharma display url modes. - -// The display mode for vanity pharma URLs. -message VanityPharmaDisplayUrlModeEnum { - // Enum describing possible display modes for vanity pharma URLs. - enum VanityPharmaDisplayUrlMode { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Replace vanity pharma URL with manufacturer website url. - MANUFACTURER_WEBSITE_URL = 2; - - // Replace vanity pharma URL with description of the website. - WEBSITE_DESCRIPTION = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/vanity_pharma_text.proto b/third_party/googleapis/google/ads/googleads/v13/enums/vanity_pharma_text.proto deleted file mode 100644 index efa2cefbe..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/vanity_pharma_text.proto +++ /dev/null @@ -1,83 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "VanityPharmaTextProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing vanity pharma texts. - -// The text that will be displayed in display URL of the text ad when website -// description is the selected display mode for vanity pharma URLs. -message VanityPharmaTextEnum { - // Enum describing possible text. - enum VanityPharmaText { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Prescription treatment website with website content in English. - PRESCRIPTION_TREATMENT_WEBSITE_EN = 2; - - // Prescription treatment website with website content in Spanish - // (Sitio de tratamientos con receta). - PRESCRIPTION_TREATMENT_WEBSITE_ES = 3; - - // Prescription device website with website content in English. - PRESCRIPTION_DEVICE_WEBSITE_EN = 4; - - // Prescription device website with website content in Spanish (Sitio de - // dispositivos con receta). - PRESCRIPTION_DEVICE_WEBSITE_ES = 5; - - // Medical device website with website content in English. - MEDICAL_DEVICE_WEBSITE_EN = 6; - - // Medical device website with website content in Spanish (Sitio de - // dispositivos médicos). - MEDICAL_DEVICE_WEBSITE_ES = 7; - - // Preventative treatment website with website content in English. - PREVENTATIVE_TREATMENT_WEBSITE_EN = 8; - - // Preventative treatment website with website content in Spanish (Sitio de - // tratamientos preventivos). - PREVENTATIVE_TREATMENT_WEBSITE_ES = 9; - - // Prescription contraception website with website content in English. - PRESCRIPTION_CONTRACEPTION_WEBSITE_EN = 10; - - // Prescription contraception website with website content in Spanish (Sitio - // de anticonceptivos con receta). - PRESCRIPTION_CONTRACEPTION_WEBSITE_ES = 11; - - // Prescription vaccine website with website content in English. - PRESCRIPTION_VACCINE_WEBSITE_EN = 12; - - // Prescription vaccine website with website content in Spanish (Sitio de - // vacunas con receta). - PRESCRIPTION_VACCINE_WEBSITE_ES = 13; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/video_thumbnail.proto b/third_party/googleapis/google/ads/googleads/v13/enums/video_thumbnail.proto deleted file mode 100644 index 9a3c650c1..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/video_thumbnail.proto +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "VideoThumbnailProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing video thumbnails. - -// Defines the thumbnail to use for In-Display video ads. Note that -// DEFAULT_THUMBNAIL may have been uploaded by the user while thumbnails 1-3 are -// auto-generated from the video. -message VideoThumbnailEnum { - // Enum listing the possible types of a video thumbnail. - enum VideoThumbnail { - // The type has not been specified. - UNSPECIFIED = 0; - - // The received value is not known in this version. - // This is a response-only value. - UNKNOWN = 1; - - // The default thumbnail. Can be auto-generated or user-uploaded. - DEFAULT_THUMBNAIL = 2; - - // Thumbnail 1, generated from the video. - THUMBNAIL_1 = 3; - - // Thumbnail 2, generated from the video. - THUMBNAIL_2 = 4; - - // Thumbnail 3, generated from the video. - THUMBNAIL_3 = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/webpage_condition_operand.proto b/third_party/googleapis/google/ads/googleads/v13/enums/webpage_condition_operand.proto deleted file mode 100644 index 534262b79..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/webpage_condition_operand.proto +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "WebpageConditionOperandProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing webpage condition operand. - -// Container for enum describing webpage condition operand in webpage criterion. -message WebpageConditionOperandEnum { - // The webpage condition operand in webpage criterion. - enum WebpageConditionOperand { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Operand denoting a webpage URL targeting condition. - URL = 2; - - // Operand denoting a webpage category targeting condition. - CATEGORY = 3; - - // Operand denoting a webpage title targeting condition. - PAGE_TITLE = 4; - - // Operand denoting a webpage content targeting condition. - PAGE_CONTENT = 5; - - // Operand denoting a webpage custom label targeting condition. - CUSTOM_LABEL = 6; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/enums/webpage_condition_operator.proto b/third_party/googleapis/google/ads/googleads/v13/enums/webpage_condition_operator.proto deleted file mode 100644 index 25a0ba31c..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/enums/webpage_condition_operator.proto +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "WebpageConditionOperatorProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; - -// Proto file describing webpage condition operator. - -// Container for enum describing webpage condition operator in webpage -// criterion. -message WebpageConditionOperatorEnum { - // The webpage condition operator in webpage criterion. - enum WebpageConditionOperator { - // Not specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // The argument web condition is equal to the compared web condition. - EQUALS = 2; - - // The argument web condition is part of the compared web condition. - CONTAINS = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/BUILD.bazel b/third_party/googleapis/google/ads/googleads/v13/errors/BUILD.bazel deleted file mode 100644 index 3076a9c48..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/BUILD.bazel +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 2020 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -package(default_visibility = ["//visibility:public"]) - -############################################################################## -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") - -# TODO(ohren): Change srcs to use an enumeration of each individual proto -# instead of *.proto globbing once the build file generator supports -# subpackages. -proto_library( - name = "errors_proto", - srcs = glob(["*.proto"]), - deps = [ - "//google/ads/googleads/v13/common:common_proto", - "//google/ads/googleads/v13/enums:enums_proto", - "//google/api:annotations_proto", - "@com_google_protobuf//:duration_proto", - "@com_google_protobuf//:wrappers_proto", - ], -) - -############################################################################## -# Java -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "java_proto_library", -) - -java_proto_library( - name = "errors_java_proto", - deps = [":errors_proto"], -) - -############################################################################## -# PHP -############################################################################## - -# PHP targets are in the parent directory's BUILD.bazel file to facilitate -# aggregating metadata using a single underlying call to protoc. - -############################################################################## -# C# -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "csharp_proto_library", -) - -csharp_proto_library( - name = "errors_csharp_proto", - deps = [":errors_proto"], -) - -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "ruby_proto_library", -) - -ruby_proto_library( - name = "errors_ruby_proto", - deps = [":errors_proto"], -) - -############################################################################## -# Python -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "py_proto_library", -) - -py_proto_library( - name = "errors_py_proto", - deps = [":errors_proto"], -) diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/access_invitation_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/access_invitation_error.proto deleted file mode 100644 index 5099ee25f..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/access_invitation_error.proto +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AccessInvitationErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing AccessInvitation errors. - -// Container for enum describing possible AccessInvitation errors. -message AccessInvitationErrorEnum { - // Enum describing possible AccessInvitation errors. - enum AccessInvitationError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The email address is invalid for sending an invitation. - INVALID_EMAIL_ADDRESS = 2; - - // Email address already has access to this customer. - EMAIL_ADDRESS_ALREADY_HAS_ACCESS = 3; - - // Invalid invitation status for the operation. - INVALID_INVITATION_STATUS = 4; - - // Email address cannot be like abc+foo@google.com. - GOOGLE_CONSUMER_ACCOUNT_NOT_ALLOWED = 5; - - // Invalid invitation ID. - INVALID_INVITATION_ID = 6; - - // Email address already has a pending invitation. - EMAIL_ADDRESS_ALREADY_HAS_PENDING_INVITATION = 7; - - // Pending invitation limit exceeded for the customer. - PENDING_INVITATIONS_LIMIT_EXCEEDED = 8; - - // Email address doesn't conform to the email domain policy. See - // https://support.google.com/google-ads/answer/2375456 - EMAIL_DOMAIN_POLICY_VIOLATED = 9; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/account_budget_proposal_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/account_budget_proposal_error.proto deleted file mode 100644 index d7a40a497..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/account_budget_proposal_error.proto +++ /dev/null @@ -1,126 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AccountBudgetProposalErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing account budget proposal errors. - -// Container for enum describing possible account budget proposal errors. -message AccountBudgetProposalErrorEnum { - // Enum describing possible account budget proposal errors. - enum AccountBudgetProposalError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The field mask must be empty for create/end/remove proposals. - FIELD_MASK_NOT_ALLOWED = 2; - - // The field cannot be set because of the proposal type. - IMMUTABLE_FIELD = 3; - - // The field is required because of the proposal type. - REQUIRED_FIELD_MISSING = 4; - - // Proposals that have been approved cannot be cancelled. - CANNOT_CANCEL_APPROVED_PROPOSAL = 5; - - // Budgets that haven't been approved cannot be removed. - CANNOT_REMOVE_UNAPPROVED_BUDGET = 6; - - // Budgets that are currently running cannot be removed. - CANNOT_REMOVE_RUNNING_BUDGET = 7; - - // Budgets that haven't been approved cannot be truncated. - CANNOT_END_UNAPPROVED_BUDGET = 8; - - // Only budgets that are currently running can be truncated. - CANNOT_END_INACTIVE_BUDGET = 9; - - // All budgets must have names. - BUDGET_NAME_REQUIRED = 10; - - // Expired budgets cannot be edited after a sufficient amount of time has - // passed. - CANNOT_UPDATE_OLD_BUDGET = 11; - - // It is not permissible a propose a new budget that ends in the past. - CANNOT_END_IN_PAST = 12; - - // An expired budget cannot be extended to overlap with the running budget. - CANNOT_EXTEND_END_TIME = 13; - - // A purchase order number is required. - PURCHASE_ORDER_NUMBER_REQUIRED = 14; - - // Budgets that have a pending update cannot be updated. - PENDING_UPDATE_PROPOSAL_EXISTS = 15; - - // Cannot propose more than one budget when the corresponding billing setup - // hasn't been approved. - MULTIPLE_BUDGETS_NOT_ALLOWED_FOR_UNAPPROVED_BILLING_SETUP = 16; - - // Cannot update the start time of a budget that has already started. - CANNOT_UPDATE_START_TIME_FOR_STARTED_BUDGET = 17; - - // Cannot update the spending limit of a budget with an amount lower than - // what has already been spent. - SPENDING_LIMIT_LOWER_THAN_ACCRUED_COST_NOT_ALLOWED = 18; - - // Cannot propose a budget update without actually changing any fields. - UPDATE_IS_NO_OP = 19; - - // The end time must come after the start time. - END_TIME_MUST_FOLLOW_START_TIME = 20; - - // The budget's date range must fall within the date range of its billing - // setup. - BUDGET_DATE_RANGE_INCOMPATIBLE_WITH_BILLING_SETUP = 21; - - // The user is not authorized to mutate budgets for the given billing setup. - NOT_AUTHORIZED = 22; - - // Mutates are not allowed for the given billing setup. - INVALID_BILLING_SETUP = 23; - - // Budget creation failed as it overlaps with a pending budget proposal - // or an approved budget. - OVERLAPS_EXISTING_BUDGET = 24; - - // The control setting in user's payments profile doesn't allow budget - // creation through API. Log in to Google Ads to create budget. - CANNOT_CREATE_BUDGET_THROUGH_API = 25; - - // Master service agreement has not been signed yet for the Payments - // Profile. - INVALID_MASTER_SERVICE_AGREEMENT = 26; - - // Budget mutates are not allowed because the given billing setup is - // canceled. - CANCELED_BILLING_SETUP = 27; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/account_link_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/account_link_error.proto deleted file mode 100644 index 18a9b186f..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/account_link_error.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AccountLinkErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing AccountLink errors. - -// Container for enum describing possible account link errors. -message AccountLinkErrorEnum { - // Enum describing possible account link errors. - enum AccountLinkError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The new link status is invalid. - INVALID_STATUS = 2; - - // The authenticated user doesn't have the permission to do the change. - PERMISSION_DENIED = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/ad_customizer_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/ad_customizer_error.proto deleted file mode 100644 index 7c1caaa9f..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/ad_customizer_error.proto +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdCustomizerErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing ad customizer errors. - -// Container for enum describing possible ad customizer errors. -message AdCustomizerErrorEnum { - // Enum describing possible ad customizer errors. - enum AdCustomizerError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Invalid date argument in countdown function. - COUNTDOWN_INVALID_DATE_FORMAT = 2; - - // Countdown end date is in the past. - COUNTDOWN_DATE_IN_PAST = 3; - - // Invalid locale string in countdown function. - COUNTDOWN_INVALID_LOCALE = 4; - - // Days-before argument to countdown function is not positive. - COUNTDOWN_INVALID_START_DAYS_BEFORE = 5; - - // A user list referenced in an IF function does not exist. - UNKNOWN_USER_LIST = 6; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/ad_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/ad_error.proto deleted file mode 100644 index 23954488b..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/ad_error.proto +++ /dev/null @@ -1,526 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing ad errors. - -// Container for enum describing possible ad errors. -message AdErrorEnum { - // Enum describing possible ad errors. - enum AdError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Ad customizers are not supported for ad type. - AD_CUSTOMIZERS_NOT_SUPPORTED_FOR_AD_TYPE = 2; - - // Estimating character sizes the string is too long. - APPROXIMATELY_TOO_LONG = 3; - - // Estimating character sizes the string is too short. - APPROXIMATELY_TOO_SHORT = 4; - - // There is a problem with the snippet. - BAD_SNIPPET = 5; - - // Cannot modify an ad. - CANNOT_MODIFY_AD = 6; - - // business name and url cannot be set at the same time - CANNOT_SET_BUSINESS_NAME_IF_URL_SET = 7; - - // The specified field is incompatible with this ad's type or settings. - CANNOT_SET_FIELD = 8; - - // Cannot set field when originAdId is set. - CANNOT_SET_FIELD_WITH_ORIGIN_AD_ID_SET = 9; - - // Cannot set field when an existing ad id is set for sharing. - CANNOT_SET_FIELD_WITH_AD_ID_SET_FOR_SHARING = 10; - - // Cannot set allowFlexibleColor false if no color is provided by user. - CANNOT_SET_ALLOW_FLEXIBLE_COLOR_FALSE = 11; - - // When user select native, no color control is allowed because we will - // always respect publisher color for native format serving. - CANNOT_SET_COLOR_CONTROL_WHEN_NATIVE_FORMAT_SETTING = 12; - - // Cannot specify a url for the ad type - CANNOT_SET_URL = 13; - - // Cannot specify a tracking or mobile url without also setting final urls - CANNOT_SET_WITHOUT_FINAL_URLS = 14; - - // Cannot specify a legacy url and a final url simultaneously - CANNOT_SET_WITH_FINAL_URLS = 15; - - // Cannot specify a urls in UrlData and in template fields simultaneously. - CANNOT_SET_WITH_URL_DATA = 17; - - // This operator cannot be used with a subclass of Ad. - CANNOT_USE_AD_SUBCLASS_FOR_OPERATOR = 18; - - // Customer is not approved for mobile ads. - CUSTOMER_NOT_APPROVED_MOBILEADS = 19; - - // Customer is not approved for 3PAS richmedia ads. - CUSTOMER_NOT_APPROVED_THIRDPARTY_ADS = 20; - - // Customer is not approved for 3PAS redirect richmedia (Ad Exchange) ads. - CUSTOMER_NOT_APPROVED_THIRDPARTY_REDIRECT_ADS = 21; - - // Not an eligible customer - CUSTOMER_NOT_ELIGIBLE = 22; - - // Customer is not eligible for updating beacon url - CUSTOMER_NOT_ELIGIBLE_FOR_UPDATING_BEACON_URL = 23; - - // There already exists an ad with the same dimensions in the union. - DIMENSION_ALREADY_IN_UNION = 24; - - // Ad's dimension must be set before setting union dimension. - DIMENSION_MUST_BE_SET = 25; - - // Ad's dimension must be included in the union dimensions. - DIMENSION_NOT_IN_UNION = 26; - - // Display Url cannot be specified (applies to Ad Exchange Ads) - DISPLAY_URL_CANNOT_BE_SPECIFIED = 27; - - // Telephone number contains invalid characters or invalid format. - // Re-enter your number using digits (0-9), dashes (-), and parentheses - // only. - DOMESTIC_PHONE_NUMBER_FORMAT = 28; - - // Emergency telephone numbers are not allowed. Enter a valid - // domestic phone number to connect customers to your business. - EMERGENCY_PHONE_NUMBER = 29; - - // A required field was not specified or is an empty string. - EMPTY_FIELD = 30; - - // A feed attribute referenced in an ad customizer tag is not in the ad - // customizer mapping for the feed. - FEED_ATTRIBUTE_MUST_HAVE_MAPPING_FOR_TYPE_ID = 31; - - // The ad customizer field mapping for the feed attribute does not match the - // expected field type. - FEED_ATTRIBUTE_MAPPING_TYPE_MISMATCH = 32; - - // The use of ad customizer tags in the ad text is disallowed. Details in - // trigger. - ILLEGAL_AD_CUSTOMIZER_TAG_USE = 33; - - // Tags of the form {PH_x}, where x is a number, are disallowed in ad text. - ILLEGAL_TAG_USE = 34; - - // The dimensions of the ad are specified or derived in multiple ways and - // are not consistent. - INCONSISTENT_DIMENSIONS = 35; - - // The status cannot differ among template ads of the same union. - INCONSISTENT_STATUS_IN_TEMPLATE_UNION = 36; - - // The length of the string is not valid. - INCORRECT_LENGTH = 37; - - // The ad is ineligible for upgrade. - INELIGIBLE_FOR_UPGRADE = 38; - - // User cannot create mobile ad for countries targeted in specified - // campaign. - INVALID_AD_ADDRESS_CAMPAIGN_TARGET = 39; - - // Invalid Ad type. A specific type of Ad is required. - INVALID_AD_TYPE = 40; - - // Headline, description or phone cannot be present when creating mobile - // image ad. - INVALID_ATTRIBUTES_FOR_MOBILE_IMAGE = 41; - - // Image cannot be present when creating mobile text ad. - INVALID_ATTRIBUTES_FOR_MOBILE_TEXT = 42; - - // Invalid call to action text. - INVALID_CALL_TO_ACTION_TEXT = 43; - - // Invalid character in URL. - INVALID_CHARACTER_FOR_URL = 44; - - // Creative's country code is not valid. - INVALID_COUNTRY_CODE = 45; - - // Invalid use of Expanded Dynamic Search Ads tags ({lpurl} etc.) - INVALID_EXPANDED_DYNAMIC_SEARCH_AD_TAG = 47; - - // An input error whose real reason was not properly mapped (should not - // happen). - INVALID_INPUT = 48; - - // An invalid markup language was entered. - INVALID_MARKUP_LANGUAGE = 49; - - // An invalid mobile carrier was entered. - INVALID_MOBILE_CARRIER = 50; - - // Specified mobile carriers target a country not targeted by the campaign. - INVALID_MOBILE_CARRIER_TARGET = 51; - - // Wrong number of elements for given element type - INVALID_NUMBER_OF_ELEMENTS = 52; - - // The format of the telephone number is incorrect. Re-enter the - // number using the correct format. - INVALID_PHONE_NUMBER_FORMAT = 53; - - // The certified vendor format id is incorrect. - INVALID_RICH_MEDIA_CERTIFIED_VENDOR_FORMAT_ID = 54; - - // The template ad data contains validation errors. - INVALID_TEMPLATE_DATA = 55; - - // The template field doesn't have have the correct type. - INVALID_TEMPLATE_ELEMENT_FIELD_TYPE = 56; - - // Invalid template id. - INVALID_TEMPLATE_ID = 57; - - // After substituting replacement strings, the line is too wide. - LINE_TOO_WIDE = 58; - - // The feed referenced must have ad customizer mapping to be used in a - // customizer tag. - MISSING_AD_CUSTOMIZER_MAPPING = 59; - - // Missing address component in template element address field. - MISSING_ADDRESS_COMPONENT = 60; - - // An ad name must be entered. - MISSING_ADVERTISEMENT_NAME = 61; - - // Business name must be entered. - MISSING_BUSINESS_NAME = 62; - - // Description (line 2) must be entered. - MISSING_DESCRIPTION1 = 63; - - // Description (line 3) must be entered. - MISSING_DESCRIPTION2 = 64; - - // The destination url must contain at least one tag (for example, {lpurl}) - MISSING_DESTINATION_URL_TAG = 65; - - // The tracking url template of ExpandedDynamicSearchAd must contain at - // least one tag. (for example, {lpurl}) - MISSING_LANDING_PAGE_URL_TAG = 66; - - // A valid dimension must be specified for this ad. - MISSING_DIMENSION = 67; - - // A display URL must be entered. - MISSING_DISPLAY_URL = 68; - - // Headline must be entered. - MISSING_HEADLINE = 69; - - // A height must be entered. - MISSING_HEIGHT = 70; - - // An image must be entered. - MISSING_IMAGE = 71; - - // Marketing image or product videos are required. - MISSING_MARKETING_IMAGE_OR_PRODUCT_VIDEOS = 72; - - // The markup language in which your site is written must be entered. - MISSING_MARKUP_LANGUAGES = 73; - - // A mobile carrier must be entered. - MISSING_MOBILE_CARRIER = 74; - - // Phone number must be entered. - MISSING_PHONE = 75; - - // Missing required template fields - MISSING_REQUIRED_TEMPLATE_FIELDS = 76; - - // Missing a required field value - MISSING_TEMPLATE_FIELD_VALUE = 77; - - // The ad must have text. - MISSING_TEXT = 78; - - // A visible URL must be entered. - MISSING_VISIBLE_URL = 79; - - // A width must be entered. - MISSING_WIDTH = 80; - - // Only 1 feed can be used as the source of ad customizer substitutions in a - // single ad. - MULTIPLE_DISTINCT_FEEDS_UNSUPPORTED = 81; - - // TempAdUnionId must be use when adding template ads. - MUST_USE_TEMP_AD_UNION_ID_ON_ADD = 82; - - // The string has too many characters. - TOO_LONG = 83; - - // The string has too few characters. - TOO_SHORT = 84; - - // Ad union dimensions cannot change for saved ads. - UNION_DIMENSIONS_CANNOT_CHANGE = 85; - - // Address component is not {country, lat, lng}. - UNKNOWN_ADDRESS_COMPONENT = 86; - - // Unknown unique field name - UNKNOWN_FIELD_NAME = 87; - - // Unknown unique name (template element type specifier) - UNKNOWN_UNIQUE_NAME = 88; - - // Unsupported ad dimension - UNSUPPORTED_DIMENSIONS = 89; - - // URL starts with an invalid scheme. - URL_INVALID_SCHEME = 90; - - // URL ends with an invalid top-level domain name. - URL_INVALID_TOP_LEVEL_DOMAIN = 91; - - // URL contains illegal characters. - URL_MALFORMED = 92; - - // URL must contain a host name. - URL_NO_HOST = 93; - - // URL not equivalent during upgrade. - URL_NOT_EQUIVALENT = 94; - - // URL host name too long to be stored as visible URL (applies to Ad - // Exchange ads) - URL_HOST_NAME_TOO_LONG = 95; - - // URL must start with a scheme. - URL_NO_SCHEME = 96; - - // URL should end in a valid domain extension, such as .com or .net. - URL_NO_TOP_LEVEL_DOMAIN = 97; - - // URL must not end with a path. - URL_PATH_NOT_ALLOWED = 98; - - // URL must not specify a port. - URL_PORT_NOT_ALLOWED = 99; - - // URL must not contain a query. - URL_QUERY_NOT_ALLOWED = 100; - - // A url scheme is not allowed in front of tag in tracking url template - // (for example, http://{lpurl}) - URL_SCHEME_BEFORE_EXPANDED_DYNAMIC_SEARCH_AD_TAG = 102; - - // The user does not have permissions to create a template ad for the given - // template. - USER_DOES_NOT_HAVE_ACCESS_TO_TEMPLATE = 103; - - // Expandable setting is inconsistent/wrong. For example, an AdX ad is - // invalid if it has a expandable vendor format but no expanding directions - // specified, or expanding directions is specified, but the vendor format is - // not expandable. - INCONSISTENT_EXPANDABLE_SETTINGS = 104; - - // Format is invalid - INVALID_FORMAT = 105; - - // The text of this field did not match a pattern of allowed values. - INVALID_FIELD_TEXT = 106; - - // Template element is mising - ELEMENT_NOT_PRESENT = 107; - - // Error occurred during image processing - IMAGE_ERROR = 108; - - // The value is not within the valid range - VALUE_NOT_IN_RANGE = 109; - - // Template element field is not present - FIELD_NOT_PRESENT = 110; - - // Address is incomplete - ADDRESS_NOT_COMPLETE = 111; - - // Invalid address - ADDRESS_INVALID = 112; - - // Error retrieving specified video - VIDEO_RETRIEVAL_ERROR = 113; - - // Error processing audio - AUDIO_ERROR = 114; - - // Display URL is incorrect for YouTube PYV ads - INVALID_YOUTUBE_DISPLAY_URL = 115; - - // Too many product Images in GmailAd - TOO_MANY_PRODUCT_IMAGES = 116; - - // Too many product Videos in GmailAd - TOO_MANY_PRODUCT_VIDEOS = 117; - - // The device preference is not compatible with the ad type - INCOMPATIBLE_AD_TYPE_AND_DEVICE_PREFERENCE = 118; - - // Call tracking is not supported for specified country. - CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY = 119; - - // Carrier specific short number is not allowed. - CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED = 120; - - // Specified phone number type is disallowed. - DISALLOWED_NUMBER_TYPE = 121; - - // Phone number not supported for country. - PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY = 122; - - // Phone number not supported with call tracking enabled for country. - PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY = 123; - - // Premium rate phone number is not allowed. - PREMIUM_RATE_NUMBER_NOT_ALLOWED = 124; - - // Vanity phone number is not allowed. - VANITY_PHONE_NUMBER_NOT_ALLOWED = 125; - - // Invalid call conversion type id. - INVALID_CALL_CONVERSION_TYPE_ID = 126; - - // Cannot disable call conversion and set conversion type id. - CANNOT_DISABLE_CALL_CONVERSION_AND_SET_CONVERSION_TYPE_ID = 127; - - // Cannot set path2 without path1. - CANNOT_SET_PATH2_WITHOUT_PATH1 = 128; - - // Missing domain name in campaign setting when adding expanded dynamic - // search ad. - MISSING_DYNAMIC_SEARCH_ADS_SETTING_DOMAIN_NAME = 129; - - // The associated ad is not compatible with restriction type. - INCOMPATIBLE_WITH_RESTRICTION_TYPE = 130; - - // Consent for call recording is required for creating/updating call only - // ads. See https://support.google.com/google-ads/answer/7412639. - CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED = 131; - - // Either an image or a media bundle is required in a display upload ad. - MISSING_IMAGE_OR_MEDIA_BUNDLE = 132; - - // The display upload product type is not supported in this campaign. - PRODUCT_TYPE_NOT_SUPPORTED_IN_THIS_CAMPAIGN = 133; - - // The default value of an ad placeholder can not be the empty string. - PLACEHOLDER_CANNOT_HAVE_EMPTY_DEFAULT_VALUE = 134; - - // Ad placeholders with countdown functions must not have a default value. - PLACEHOLDER_COUNTDOWN_FUNCTION_CANNOT_HAVE_DEFAULT_VALUE = 135; - - // A previous ad placeholder that had a default value was found which means - // that all (non-countdown) placeholders must have a default value. This - // ad placeholder does not have a default value. - PLACEHOLDER_DEFAULT_VALUE_MISSING = 136; - - // A previous ad placeholder that did not have a default value was found - // which means that no placeholders may have a default value. This - // ad placeholder does have a default value. - UNEXPECTED_PLACEHOLDER_DEFAULT_VALUE = 137; - - // Two ad customizers may not be directly adjacent in an ad text. They must - // be separated by at least one character. - AD_CUSTOMIZERS_MAY_NOT_BE_ADJACENT = 138; - - // The ad is not associated with any enabled AdGroupAd, and cannot be - // updated. - UPDATING_AD_WITH_NO_ENABLED_ASSOCIATION = 139; - - // Call Ad verification url and final url don't have same domain. - CALL_AD_VERIFICATION_URL_FINAL_URL_DOES_NOT_HAVE_SAME_DOMAIN = 140; - - // Final url and verification url cannot both be empty for call ads. - CALL_AD_FINAL_URL_AND_VERIFICATION_URL_CANNOT_BOTH_BE_EMPTY = 154; - - // Too many ad customizers in one asset. - TOO_MANY_AD_CUSTOMIZERS = 141; - - // The ad customizer tag is recognized, but the format is invalid. - INVALID_AD_CUSTOMIZER_FORMAT = 142; - - // Customizer tags cannot be nested. - NESTED_AD_CUSTOMIZER_SYNTAX = 143; - - // The ad customizer syntax used in the ad is not supported. - UNSUPPORTED_AD_CUSTOMIZER_SYNTAX = 144; - - // There exists unpaired brace in the ad customizer tag. - UNPAIRED_BRACE_IN_AD_CUSTOMIZER_TAG = 145; - - // More than one type of countdown tag exists among all text lines. - MORE_THAN_ONE_COUNTDOWN_TAG_TYPE_EXISTS = 146; - - // Date time in the countdown tag is invalid. - DATE_TIME_IN_COUNTDOWN_TAG_IS_INVALID = 147; - - // Date time in the countdown tag is in the past. - DATE_TIME_IN_COUNTDOWN_TAG_IS_PAST = 148; - - // Cannot recognize the ad customizer tag. - UNRECOGNIZED_AD_CUSTOMIZER_TAG_FOUND = 149; - - // Customizer type forbidden for this field. - CUSTOMIZER_TYPE_FORBIDDEN_FOR_FIELD = 150; - - // Customizer attribute name is invalid. - INVALID_CUSTOMIZER_ATTRIBUTE_NAME = 151; - - // App store value does not match the value of the app store in the app - // specified in the campaign. - STORE_MISMATCH = 152; - - // Missing required image aspect ratio. - MISSING_REQUIRED_IMAGE_ASPECT_RATIO = 153; - - // Aspect ratios mismatch between different assets. - MISMATCHED_ASPECT_RATIOS = 155; - - // Images must be unique between different carousel card assets. - DUPLICATE_IMAGE_ACROSS_CAROUSEL_CARDS = 156; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/ad_group_ad_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/ad_group_ad_error.proto deleted file mode 100644 index 8de5c34da..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/ad_group_ad_error.proto +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAdErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing ad group ad errors. - -// Container for enum describing possible ad group ad errors. -message AdGroupAdErrorEnum { - // Enum describing possible ad group ad errors. - enum AdGroupAdError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // No link found between the adgroup ad and the label. - AD_GROUP_AD_LABEL_DOES_NOT_EXIST = 2; - - // The label has already been attached to the adgroup ad. - AD_GROUP_AD_LABEL_ALREADY_EXISTS = 3; - - // The specified ad was not found in the adgroup - AD_NOT_UNDER_ADGROUP = 4; - - // Removed ads may not be modified - CANNOT_OPERATE_ON_REMOVED_ADGROUPAD = 5; - - // An ad of this type is deprecated and cannot be created. Only deletions - // are permitted. - CANNOT_CREATE_DEPRECATED_ADS = 6; - - // Text ads are deprecated and cannot be created. Use expanded text ads - // instead. - CANNOT_CREATE_TEXT_ADS = 7; - - // A required field was not specified or is an empty string. - EMPTY_FIELD = 8; - - // An ad may only be modified once per call - RESOURCE_REFERENCED_IN_MULTIPLE_OPS = 9; - - // AdGroupAds with the given ad type cannot be paused. - AD_TYPE_CANNOT_BE_PAUSED = 10; - - // AdGroupAds with the given ad type cannot be removed. - AD_TYPE_CANNOT_BE_REMOVED = 11; - - // An ad of this type is deprecated and cannot be updated. Only removals - // are permitted. - CANNOT_UPDATE_DEPRECATED_ADS = 12; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/ad_group_bid_modifier_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/ad_group_bid_modifier_error.proto deleted file mode 100644 index ec2d7348e..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/ad_group_bid_modifier_error.proto +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupBidModifierErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing ad group bid modifier errors. - -// Container for enum describing possible ad group bid modifier errors. -message AdGroupBidModifierErrorEnum { - // Enum describing possible ad group bid modifier errors. - enum AdGroupBidModifierError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The criterion ID does not support bid modification. - CRITERION_ID_NOT_SUPPORTED = 2; - - // Cannot override the bid modifier for the given criterion ID if the parent - // campaign is opted out of the same criterion. - CANNOT_OVERRIDE_OPTED_OUT_CAMPAIGN_CRITERION_BID_MODIFIER = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/ad_group_criterion_customizer_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/ad_group_criterion_customizer_error.proto deleted file mode 100644 index f2810affd..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/ad_group_criterion_customizer_error.proto +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionCustomizerErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing ad group criterion customizer errors. - -// Container for enum describing possible ad group criterion customizer errors. -message AdGroupCriterionCustomizerErrorEnum { - // Enum describing possible ad group criterion customizer errors. - enum AdGroupCriterionCustomizerError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Only keyword type criterion is allowed to link customizer attribute. - CRITERION_IS_NOT_KEYWORD = 2; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/ad_group_criterion_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/ad_group_criterion_error.proto deleted file mode 100644 index 97f2e0b3a..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/ad_group_criterion_error.proto +++ /dev/null @@ -1,133 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing ad group criterion errors. - -// Container for enum describing possible ad group criterion errors. -message AdGroupCriterionErrorEnum { - // Enum describing possible ad group criterion errors. - enum AdGroupCriterionError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // No link found between the AdGroupCriterion and the label. - AD_GROUP_CRITERION_LABEL_DOES_NOT_EXIST = 2; - - // The label has already been attached to the AdGroupCriterion. - AD_GROUP_CRITERION_LABEL_ALREADY_EXISTS = 3; - - // Negative AdGroupCriterion cannot have labels. - CANNOT_ADD_LABEL_TO_NEGATIVE_CRITERION = 4; - - // Too many operations for a single call. - TOO_MANY_OPERATIONS = 5; - - // Negative ad group criteria are not updateable. - CANT_UPDATE_NEGATIVE = 6; - - // Concrete type of criterion (keyword v.s. placement) is required for ADD - // and SET operations. - CONCRETE_TYPE_REQUIRED = 7; - - // Bid is incompatible with ad group's bidding settings. - BID_INCOMPATIBLE_WITH_ADGROUP = 8; - - // Cannot target and exclude the same criterion at once. - CANNOT_TARGET_AND_EXCLUDE = 9; - - // The URL of a placement is invalid. - ILLEGAL_URL = 10; - - // Keyword text was invalid. - INVALID_KEYWORD_TEXT = 11; - - // Destination URL was invalid. - INVALID_DESTINATION_URL = 12; - - // The destination url must contain at least one tag (for example, {lpurl}) - MISSING_DESTINATION_URL_TAG = 13; - - // Keyword-level cpm bid is not supported - KEYWORD_LEVEL_BID_NOT_SUPPORTED_FOR_MANUALCPM = 14; - - // For example, cannot add a biddable ad group criterion that had been - // removed. - INVALID_USER_STATUS = 15; - - // Criteria type cannot be targeted for the ad group. Either the account is - // restricted to keywords only, the criteria type is incompatible with the - // campaign's bidding strategy, or the criteria type can only be applied to - // campaigns. - CANNOT_ADD_CRITERIA_TYPE = 16; - - // Criteria type cannot be excluded for the ad group. Refer to the - // documentation for a specific criterion to check if it is excludable. - CANNOT_EXCLUDE_CRITERIA_TYPE = 17; - - // Partial failure is not supported for shopping campaign mutate operations. - CAMPAIGN_TYPE_NOT_COMPATIBLE_WITH_PARTIAL_FAILURE = 27; - - // Operations in the mutate request changes too many shopping ad groups. - // Split requests for multiple shopping ad groups across multiple - // requests. - OPERATIONS_FOR_TOO_MANY_SHOPPING_ADGROUPS = 28; - - // Not allowed to modify url fields of an ad group criterion if there are - // duplicate elements for that ad group criterion in the request. - CANNOT_MODIFY_URL_FIELDS_WITH_DUPLICATE_ELEMENTS = 29; - - // Cannot set url fields without also setting final urls. - CANNOT_SET_WITHOUT_FINAL_URLS = 30; - - // Cannot clear final urls if final mobile urls exist. - CANNOT_CLEAR_FINAL_URLS_IF_FINAL_MOBILE_URLS_EXIST = 31; - - // Cannot clear final urls if final app urls exist. - CANNOT_CLEAR_FINAL_URLS_IF_FINAL_APP_URLS_EXIST = 32; - - // Cannot clear final urls if tracking url template exists. - CANNOT_CLEAR_FINAL_URLS_IF_TRACKING_URL_TEMPLATE_EXISTS = 33; - - // Cannot clear final urls if url custom parameters exist. - CANNOT_CLEAR_FINAL_URLS_IF_URL_CUSTOM_PARAMETERS_EXIST = 34; - - // Cannot set both destination url and final urls. - CANNOT_SET_BOTH_DESTINATION_URL_AND_FINAL_URLS = 35; - - // Cannot set both destination url and tracking url template. - CANNOT_SET_BOTH_DESTINATION_URL_AND_TRACKING_URL_TEMPLATE = 36; - - // Final urls are not supported for this criterion type. - FINAL_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE = 37; - - // Final mobile urls are not supported for this criterion type. - FINAL_MOBILE_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE = 38; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/ad_group_customizer_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/ad_group_customizer_error.proto deleted file mode 100644 index d59044507..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/ad_group_customizer_error.proto +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCustomizerErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing ad group customizer errors. - -// Container for enum describing possible ad group customizer errors. -message AdGroupCustomizerErrorEnum { - // Enum describing possible ad group customizer errors. - enum AdGroupCustomizerError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/ad_group_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/ad_group_error.proto deleted file mode 100644 index 60121e824..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/ad_group_error.proto +++ /dev/null @@ -1,91 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing ad group errors. - -// Container for enum describing possible ad group errors. -message AdGroupErrorEnum { - // Enum describing possible ad group errors. - enum AdGroupError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // AdGroup with the same name already exists for the campaign. - DUPLICATE_ADGROUP_NAME = 2; - - // AdGroup name is not valid. - INVALID_ADGROUP_NAME = 3; - - // Advertiser is not allowed to target sites or set site bids that are not - // on the Google Search Network. - ADVERTISER_NOT_ON_CONTENT_NETWORK = 5; - - // Bid amount is too big. - BID_TOO_BIG = 6; - - // AdGroup bid does not match the campaign's bidding strategy. - BID_TYPE_AND_BIDDING_STRATEGY_MISMATCH = 7; - - // AdGroup name is required for Add. - MISSING_ADGROUP_NAME = 8; - - // No link found between the ad group and the label. - ADGROUP_LABEL_DOES_NOT_EXIST = 9; - - // The label has already been attached to the ad group. - ADGROUP_LABEL_ALREADY_EXISTS = 10; - - // The CriterionTypeGroup is not supported for the content bid dimension. - INVALID_CONTENT_BID_CRITERION_TYPE_GROUP = 11; - - // The ad group type is not compatible with the campaign channel type. - AD_GROUP_TYPE_NOT_VALID_FOR_ADVERTISING_CHANNEL_TYPE = 12; - - // The ad group type is not supported in the country of sale of the - // campaign. - ADGROUP_TYPE_NOT_SUPPORTED_FOR_CAMPAIGN_SALES_COUNTRY = 13; - - // Ad groups of AdGroupType.SEARCH_DYNAMIC_ADS can only be added to - // campaigns that have DynamicSearchAdsSetting attached. - CANNOT_ADD_ADGROUP_OF_TYPE_DSA_TO_CAMPAIGN_WITHOUT_DSA_SETTING = 14; - - // Promoted hotels ad groups are only available to customers on the - // allow-list. - PROMOTED_HOTEL_AD_GROUPS_NOT_AVAILABLE_FOR_CUSTOMER = 15; - - // The field type cannot be excluded because an active ad group-asset link - // of this type exists. - INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE = 16; - - // The asset set type is invalid for setting the - // excluded_parent_asset_set_types field. - INVALID_EXCLUDED_PARENT_ASSET_SET_TYPE = 17; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/ad_group_feed_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/ad_group_feed_error.proto deleted file mode 100644 index 8c7c7247b..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/ad_group_feed_error.proto +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupFeedErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing ad group feed errors. - -// Container for enum describing possible ad group feed errors. -message AdGroupFeedErrorEnum { - // Enum describing possible ad group feed errors. - enum AdGroupFeedError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // An active feed already exists for this ad group and place holder type. - FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE = 2; - - // The specified feed is removed. - CANNOT_CREATE_FOR_REMOVED_FEED = 3; - - // The AdGroupFeed already exists. UPDATE operation should be used to modify - // the existing AdGroupFeed. - ADGROUP_FEED_ALREADY_EXISTS = 4; - - // Cannot operate on removed AdGroupFeed. - CANNOT_OPERATE_ON_REMOVED_ADGROUP_FEED = 5; - - // Invalid placeholder type. - INVALID_PLACEHOLDER_TYPE = 6; - - // Feed mapping for this placeholder type does not exist. - MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE = 7; - - // Location AdGroupFeeds cannot be created unless there is a location - // CustomerFeed for the specified feed. - NO_EXISTING_LOCATION_CUSTOMER_FEED = 8; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/ad_parameter_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/ad_parameter_error.proto deleted file mode 100644 index ca790cdaf..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/ad_parameter_error.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdParameterErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing ad parameter errors. - -// Container for enum describing possible ad parameter errors. -message AdParameterErrorEnum { - // Enum describing possible ad parameter errors. - enum AdParameterError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The ad group criterion must be a keyword criterion. - AD_GROUP_CRITERION_MUST_BE_KEYWORD = 2; - - // The insertion text is invalid. - INVALID_INSERTION_TEXT_FORMAT = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/ad_sharing_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/ad_sharing_error.proto deleted file mode 100644 index d66dd7cc0..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/ad_sharing_error.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdSharingErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing ad sharing errors. - -// Container for enum describing possible ad sharing errors. -message AdSharingErrorEnum { - // Enum describing possible ad sharing errors. - enum AdSharingError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Error resulting in attempting to add an Ad to an AdGroup that already - // contains the Ad. - AD_GROUP_ALREADY_CONTAINS_AD = 2; - - // Ad is not compatible with the AdGroup it is being shared with. - INCOMPATIBLE_AD_UNDER_AD_GROUP = 3; - - // Cannot add AdGroupAd on inactive Ad. - CANNOT_SHARE_INACTIVE_AD = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/adx_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/adx_error.proto deleted file mode 100644 index 5ab4488b7..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/adx_error.proto +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdxErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing adx errors. - -// Container for enum describing possible adx errors. -message AdxErrorEnum { - // Enum describing possible adx errors. - enum AdxError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Attempt to use non-AdX feature by AdX customer. - UNSUPPORTED_FEATURE = 2; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/asset_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/asset_error.proto deleted file mode 100644 index c8b90d8fd..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/asset_error.proto +++ /dev/null @@ -1,152 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AssetErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing asset errors. - -// Container for enum describing possible asset errors. -message AssetErrorEnum { - // Enum describing possible asset errors. - enum AssetError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The customer is not is not on the allow-list for this asset type. - CUSTOMER_NOT_ON_ALLOWLIST_FOR_ASSET_TYPE = 13; - - // Assets are duplicated across operations. - DUPLICATE_ASSET = 3; - - // The asset name is duplicated, either across operations or with an - // existing asset. - DUPLICATE_ASSET_NAME = 4; - - // The Asset.asset_data oneof is empty. - ASSET_DATA_IS_MISSING = 5; - - // The asset has a name which is different from an existing duplicate that - // represents the same content. - CANNOT_MODIFY_ASSET_NAME = 6; - - // The field cannot be set for this asset type. - FIELD_INCOMPATIBLE_WITH_ASSET_TYPE = 7; - - // Call to action must come from the list of supported values. - INVALID_CALL_TO_ACTION_TEXT = 8; - - // A lead form asset is created with an invalid combination of input fields. - LEAD_FORM_INVALID_FIELDS_COMBINATION = 9; - - // Lead forms require that the Terms of Service have been agreed to before - // mutates can be executed. - LEAD_FORM_MISSING_AGREEMENT = 10; - - // Asset status is invalid in this operation. - INVALID_ASSET_STATUS = 11; - - // The field cannot be modified by this asset type. - FIELD_CANNOT_BE_MODIFIED_FOR_ASSET_TYPE = 12; - - // Ad schedules for the same asset cannot overlap. - SCHEDULES_CANNOT_OVERLAP = 14; - - // Cannot set both percent off and money amount off fields of promotion - // asset. - PROMOTION_CANNOT_SET_PERCENT_OFF_AND_MONEY_AMOUNT_OFF = 15; - - // Cannot set both promotion code and orders over amount fields of promotion - // asset. - PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT = 16; - - // The field has too many decimal places specified. - TOO_MANY_DECIMAL_PLACES_SPECIFIED = 17; - - // Duplicate assets across operations, which have identical Asset.asset_data - // oneof, cannot have different asset level fields for asset types which are - // deduped. - DUPLICATE_ASSETS_WITH_DIFFERENT_FIELD_VALUE = 18; - - // Carrier specific short number is not allowed. - CALL_CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED = 19; - - // Customer consent required for call recording Terms of Service. - CALL_CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED = 20; - - // The type of the specified phone number is not allowed. - CALL_DISALLOWED_NUMBER_TYPE = 21; - - // If the default call_conversion_action is not used, the customer must have - // a ConversionAction with the same id and the ConversionAction must be call - // conversion type. - CALL_INVALID_CONVERSION_ACTION = 22; - - // The country code of the phone number is invalid. - CALL_INVALID_COUNTRY_CODE = 23; - - // The format of the phone number is incorrect. - CALL_INVALID_DOMESTIC_PHONE_NUMBER_FORMAT = 24; - - // The input phone number is not a valid phone number. - CALL_INVALID_PHONE_NUMBER = 25; - - // The phone number is not supported for country. - CALL_PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY = 26; - - // Premium rate phone number is not allowed. - CALL_PREMIUM_RATE_NUMBER_NOT_ALLOWED = 27; - - // Vanity phone number is not allowed. - CALL_VANITY_PHONE_NUMBER_NOT_ALLOWED = 28; - - // PriceOffering cannot have the same value for header and description. - PRICE_HEADER_SAME_AS_DESCRIPTION = 29; - - // AppId is invalid. - MOBILE_APP_INVALID_APP_ID = 30; - - // Invalid App download URL in final URLs. - MOBILE_APP_INVALID_FINAL_URL_FOR_APP_DOWNLOAD_URL = 31; - - // Asset name is required for the asset type. - NAME_REQUIRED_FOR_ASSET_TYPE = 32; - - // Legacy qualifying questions cannot be in the same Lead Form as - // custom questions. - LEAD_FORM_LEGACY_QUALIFYING_QUESTIONS_DISALLOWED = 33; - - // Unique name is required for this asset type. - NAME_CONFLICT_FOR_ASSET_TYPE = 34; - - // Cannot modify asset source. - CANNOT_MODIFY_ASSET_SOURCE = 35; - - // User can not modify the automatically created asset. - CANNOT_MODIFY_AUTOMATICALLY_CREATED_ASSET = 36; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/asset_group_asset_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/asset_group_asset_error.proto deleted file mode 100644 index 10ec7a619..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/asset_group_asset_error.proto +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupAssetErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing asset group asset errors. - -// Container for enum describing possible asset group asset errors. -message AssetGroupAssetErrorEnum { - // Enum describing possible asset group asset errors. - enum AssetGroupAssetError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Cannot add duplicated asset group asset. - DUPLICATE_RESOURCE = 2; - - // Expandable tags are not allowed in description assets. - EXPANDABLE_TAGS_NOT_ALLOWED_IN_DESCRIPTION = 3; - - // Ad customizers are not supported in assetgroup's text assets. - AD_CUSTOMIZER_NOT_SUPPORTED = 4; - - // Cannot add a HotelPropertyAsset to an AssetGroup that isn't linked - // to the parent campaign's hotel_property_asset_set field. - HOTEL_PROPERTY_ASSET_NOT_LINKED_TO_CAMPAIGN = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/asset_group_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/asset_group_error.proto deleted file mode 100644 index 365b3f830..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/asset_group_error.proto +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing asset group errors. - -// Container for enum describing possible asset group errors. -message AssetGroupErrorEnum { - // Enum describing possible asset group errors. - enum AssetGroupError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Each asset group in a single campaign must have a unique name. - DUPLICATE_NAME = 2; - - // Cannot add asset group for the campaign type. - CANNOT_ADD_ASSET_GROUP_FOR_CAMPAIGN_TYPE = 3; - - // Not enough headline asset for a valid asset group. - NOT_ENOUGH_HEADLINE_ASSET = 4; - - // Not enough long headline asset for a valid asset group. - NOT_ENOUGH_LONG_HEADLINE_ASSET = 5; - - // Not enough description headline asset for a valid asset group. - NOT_ENOUGH_DESCRIPTION_ASSET = 6; - - // Not enough business name asset for a valid asset group. - NOT_ENOUGH_BUSINESS_NAME_ASSET = 7; - - // Not enough marketing image asset for a valid asset group. - NOT_ENOUGH_MARKETING_IMAGE_ASSET = 8; - - // Not enough square marketing image asset for a valid asset group. - NOT_ENOUGH_SQUARE_MARKETING_IMAGE_ASSET = 9; - - // Not enough logo asset for a valid asset group. - NOT_ENOUGH_LOGO_ASSET = 10; - - // Final url and shopping merchant url does not have the same domain. - FINAL_URL_SHOPPING_MERCHANT_HOME_PAGE_URL_DOMAINS_DIFFER = 11; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/asset_group_listing_group_filter_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/asset_group_listing_group_filter_error.proto deleted file mode 100644 index 40e799530..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/asset_group_listing_group_filter_error.proto +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupListingGroupFilterErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing asset group asset errors. - -// Container for enum describing possible asset group listing group filter -// errors. -message AssetGroupListingGroupFilterErrorEnum { - // Enum describing possible asset group listing group filter errors. - enum AssetGroupListingGroupFilterError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Listing group tree is too deep. - TREE_TOO_DEEP = 2; - - // Listing Group UNIT node cannot have children. - UNIT_CANNOT_HAVE_CHILDREN = 3; - - // Listing Group SUBDIVISION node must have everything else child. - SUBDIVISION_MUST_HAVE_EVERYTHING_ELSE_CHILD = 4; - - // Dimension type of Listing Group must be the same as that of its siblings. - DIFFERENT_DIMENSION_TYPE_BETWEEN_SIBLINGS = 5; - - // The sibling Listing Groups target exactly the same dimension value. - SAME_DIMENSION_VALUE_BETWEEN_SIBLINGS = 6; - - // The dimension type is the same as one of the ancestor Listing Groups. - SAME_DIMENSION_TYPE_BETWEEN_ANCESTORS = 7; - - // Each Listing Group tree must have a single root. - MULTIPLE_ROOTS = 8; - - // Invalid Listing Group dimension value. - INVALID_DIMENSION_VALUE = 9; - - // Hierarchical dimension must refine a dimension of the same type. - MUST_REFINE_HIERARCHICAL_PARENT_TYPE = 10; - - // Invalid Product Bidding Category. - INVALID_PRODUCT_BIDDING_CATEGORY = 11; - - // Modifying case value is allowed only while updating the entire subtree at - // the same time. - CHANGING_CASE_VALUE_WITH_CHILDREN = 12; - - // Subdivision node has children which must be removed first. - SUBDIVISION_HAS_CHILDREN = 13; - - // Dimension can't subdivide everything-else node in its own hierarchy. - CANNOT_REFINE_HIERARCHICAL_EVERYTHING_ELSE = 14; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/asset_link_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/asset_link_error.proto deleted file mode 100644 index 87aa5bebd..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/asset_link_error.proto +++ /dev/null @@ -1,117 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AssetLinkErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing asset link errors. - -// Container for enum describing possible asset link errors. -message AssetLinkErrorEnum { - // Enum describing possible asset link errors. - enum AssetLinkError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Pinning is not supported for the given asset link field. - PINNING_UNSUPPORTED = 2; - - // The given field type is not supported to be added directly through asset - // links. - UNSUPPORTED_FIELD_TYPE = 3; - - // The given asset's type and the specified field type are incompatible. - FIELD_TYPE_INCOMPATIBLE_WITH_ASSET_TYPE = 4; - - // The specified field type is incompatible with the given campaign type. - FIELD_TYPE_INCOMPATIBLE_WITH_CAMPAIGN_TYPE = 5; - - // The campaign advertising channel type cannot be associated with the given - // asset due to channel-based restrictions on the asset's fields. - INCOMPATIBLE_ADVERTISING_CHANNEL_TYPE = 6; - - // The image asset provided is not within the dimension constraints - // specified for the submitted asset field. - IMAGE_NOT_WITHIN_SPECIFIED_DIMENSION_RANGE = 7; - - // The pinned field is not valid for the submitted asset field. - INVALID_PINNED_FIELD = 8; - - // The media bundle asset provided is too large for the submitted asset - // field. - MEDIA_BUNDLE_ASSET_FILE_SIZE_TOO_LARGE = 9; - - // Not enough assets are available for use with other fields since other - // assets are pinned to specific fields. - NOT_ENOUGH_AVAILABLE_ASSET_LINKS_FOR_VALID_COMBINATION = 10; - - // Not enough assets with fallback are available. When validating the - // minimum number of assets, assets without fallback (for example, assets - // that contain location tag without default value "{LOCATION(City)}") will - // not be counted. - NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK = 11; - - // This is a combination of the - // NOT_ENOUGH_AVAILABLE_ASSET_LINKS_FOR_VALID_COMBINATION and - // NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK errors. Not enough assets - // with fallback are available since some assets are pinned. - NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK_FOR_VALID_COMBINATION = 12; - - // The YouTube video referenced in the provided asset has been removed. - YOUTUBE_VIDEO_REMOVED = 13; - - // The YouTube video referenced in the provided asset is too long for the - // field submitted. - YOUTUBE_VIDEO_TOO_LONG = 14; - - // The YouTube video referenced in the provided asset is too short for the - // field submitted. - YOUTUBE_VIDEO_TOO_SHORT = 15; - - // The specified field type is excluded for given campaign or ad group. - EXCLUDED_PARENT_FIELD_TYPE = 16; - - // The status is invalid for the operation specified. - INVALID_STATUS = 17; - - // The YouTube video referenced in the provided asset has unknown duration. - // This might be the case for a livestream video or a video being currently - // uploaded to YouTube. In both cases, the video duration should eventually - // get resolved. - YOUTUBE_VIDEO_DURATION_NOT_DEFINED = 18; - - // User cannot create automatically created links. - CANNOT_CREATE_AUTOMATICALLY_CREATED_LINKS = 19; - - // Advertiser links cannot link to automatically created asset. - CANNOT_LINK_TO_AUTOMATICALLY_CREATED_ASSET = 20; - - // Automatically created links cannot be changed into adveritser links or - // the reverse. - CANNOT_MODIFY_ASSET_LINK_SOURCE = 21; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/asset_set_asset_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/asset_set_asset_error.proto deleted file mode 100644 index f3dd6fba1..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/asset_set_asset_error.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetAssetErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing asset set asset errors. - -// Container for enum describing possible asset set asset errors. -message AssetSetAssetErrorEnum { - // Enum describing possible asset set asset errors. - enum AssetSetAssetError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The asset type is not eligible to be linked to the specific type of asset - // set. - INVALID_ASSET_TYPE = 2; - - // The asset set type is not eligible to contain the specified type of - // assets. - INVALID_ASSET_SET_TYPE = 3; - - // The asset contains duplicate external key with another asset in the asset - // set. - DUPLICATE_EXTERNAL_KEY = 4; - - // When attaching a Location typed Asset to a LocationGroup typed AssetSet, - // the AssetSetAsset linkage between the parent LocationSync AssetSet and - // the Asset doesn't exist. - PARENT_LINKAGE_DOES_NOT_EXIST = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/asset_set_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/asset_set_error.proto deleted file mode 100644 index 7ff8632a8..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/asset_set_error.proto +++ /dev/null @@ -1,79 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing asset set errors. - -// Container for enum describing possible asset set errors. -message AssetSetErrorEnum { - // Enum describing possible asset set errors. - enum AssetSetError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The asset set name matches that of another enabled asset set. - DUPLICATE_ASSET_SET_NAME = 2; - - // The type of AssetSet.asset_set_source does not match the type of - // AssetSet.location_set.source in its parent AssetSet. - INVALID_PARENT_ASSET_SET_TYPE = 3; - - // The asset set source doesn't match its parent AssetSet's data. - ASSET_SET_SOURCE_INCOMPATIBLE_WITH_PARENT_ASSET_SET = 4; - - // This AssetSet type cannot be linked to CustomerAssetSet. - ASSET_SET_TYPE_CANNOT_BE_LINKED_TO_CUSTOMER = 5; - - // The chain id(s) in ChainSet of a LOCATION_SYNC typed AssetSet is invalid. - INVALID_CHAIN_IDS = 6; - - // The relationship type in ChainSet of a LOCATION_SYNC typed AssetSet is - // not supported. - LOCATION_SYNC_ASSET_SET_DOES_NOT_SUPPORT_RELATIONSHIP_TYPE = 7; - - // There is more than one enabled LocationSync typed AssetSet under one - // customer. - NOT_UNIQUE_ENABLED_LOCATION_SYNC_TYPED_ASSET_SET = 8; - - // The place id(s) in a LocationSync typed AssetSet is invalid and can't be - // decoded. - INVALID_PLACE_IDS = 9; - - // The Google Business Profile OAuth info is invalid. - OAUTH_INFO_INVALID = 11; - - // The Google Business Profile OAuth info is missing. - OAUTH_INFO_MISSING = 12; - - // Can't delete an AssetSet if it has any enabled linkages (e.g. - // CustomerAssetSet), or AssetSet is a parent AssetSet and has enabled child - // AssetSet associated. - CANNOT_DELETE_AS_ENABLED_LINKAGES_EXIST = 10; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/asset_set_link_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/asset_set_link_error.proto deleted file mode 100644 index 1bdc7fdef..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/asset_set_link_error.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetLinkErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing asset set link errors. - -// Container for enum describing possible asset set link errors. -message AssetSetLinkErrorEnum { - // Enum describing possible asset set link errors. - enum AssetSetLinkError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Advertising channel type cannot be attached to the asset set due to - // channel-based restrictions. - INCOMPATIBLE_ADVERTISING_CHANNEL_TYPE = 2; - - // For this asset set type, only one campaign to feed linkage is allowed. - DUPLICATE_FEED_LINK = 3; - - // The asset set type and campaign type are incompatible. - INCOMPATIBLE_ASSET_SET_TYPE_WITH_CAMPAIGN_TYPE = 4; - - // Cannot link duplicate asset sets to the same campaign. - DUPLICATE_ASSET_SET_LINK = 5; - - // Cannot remove the asset set link. If a campaign is linked with only one - // asset set and you attempt to unlink them, this error will be triggered. - ASSET_SET_LINK_CANNOT_BE_REMOVED = 6; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/audience_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/audience_error.proto deleted file mode 100644 index 770a636c3..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/audience_error.proto +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AudienceErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing audience errors. - -// Container for enum describing possible audience errors. -message AudienceErrorEnum { - // Enum describing possible audience errors. - enum AudienceError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // An audience with this name already exists. - NAME_ALREADY_IN_USE = 2; - - // A dimension within the audience definition is not valid. - DIMENSION_INVALID = 3; - - // One of the audience segment added is not found. - AUDIENCE_SEGMENT_NOT_FOUND = 4; - - // One of the audience segment type is not supported. - AUDIENCE_SEGMENT_TYPE_NOT_SUPPORTED = 5; - - // The same segment already exists in this audience. - DUPLICATE_AUDIENCE_SEGMENT = 6; - - // Audience can't have more than allowed number segments. - TOO_MANY_SEGMENTS = 7; - - // Audience can't have multiple dimensions of same type. - TOO_MANY_DIMENSIONS_OF_SAME_TYPE = 8; - - // The audience cannot be removed, because it is currently used in an - // ad group criterion or asset group signal in an (enabled or paused) - // ad group or campaign. - IN_USE = 9; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/audience_insights_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/audience_insights_error.proto deleted file mode 100644 index 98ef924fa..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/audience_insights_error.proto +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AudienceInsightsErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing errors generated from AudienceInsightsService. - -// Container for enum describing possible errors returned from -// the AudienceInsightsService. -message AudienceInsightsErrorEnum { - // Enum describing possible errors from AudienceInsightsService. - enum AudienceInsightsError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The dimensions cannot be used with topic audience combinations. - DIMENSION_INCOMPATIBLE_WITH_TOPIC_AUDIENCE_COMBINATIONS = 2; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/authentication_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/authentication_error.proto deleted file mode 100644 index 87e254765..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/authentication_error.proto +++ /dev/null @@ -1,99 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AuthenticationErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing authentication errors. - -// Container for enum describing possible authentication errors. -message AuthenticationErrorEnum { - // Enum describing possible authentication errors. - enum AuthenticationError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Authentication of the request failed. - AUTHENTICATION_ERROR = 2; - - // Client customer ID is not a number. - CLIENT_CUSTOMER_ID_INVALID = 5; - - // No customer found for the provided customer ID. - CUSTOMER_NOT_FOUND = 8; - - // Client's Google account is deleted. - GOOGLE_ACCOUNT_DELETED = 9; - - // Google account login token in the cookie is invalid. - GOOGLE_ACCOUNT_COOKIE_INVALID = 10; - - // A problem occurred during Google account authentication. - GOOGLE_ACCOUNT_AUTHENTICATION_FAILED = 25; - - // The user in the Google account login token does not match the user ID in - // the cookie. - GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH = 12; - - // Login cookie is required for authentication. - LOGIN_COOKIE_REQUIRED = 13; - - // User in the cookie is not a valid Ads user. - NOT_ADS_USER = 14; - - // OAuth token in the header is not valid. - OAUTH_TOKEN_INVALID = 15; - - // OAuth token in the header has expired. - OAUTH_TOKEN_EXPIRED = 16; - - // OAuth token in the header has been disabled. - OAUTH_TOKEN_DISABLED = 17; - - // OAuth token in the header has been revoked. - OAUTH_TOKEN_REVOKED = 18; - - // OAuth token HTTP header is malformed. - OAUTH_TOKEN_HEADER_INVALID = 19; - - // Login cookie is not valid. - LOGIN_COOKIE_INVALID = 20; - - // User ID in the header is not a valid ID. - USER_ID_INVALID = 22; - - // An account administrator changed this account's authentication settings. - // To access this Google Ads account, enable 2-Step Verification in your - // Google account at https://www.google.com/landing/2step. - TWO_STEP_VERIFICATION_NOT_ENROLLED = 23; - - // An account administrator changed this account's authentication settings. - // To access this Google Ads account, enable Advanced Protection in your - // Google account at https://landing.google.com/advancedprotection. - ADVANCED_PROTECTION_NOT_ENROLLED = 24; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/authorization_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/authorization_error.proto deleted file mode 100644 index 8fe5dbbcc..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/authorization_error.proto +++ /dev/null @@ -1,92 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AuthorizationErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing authorization errors. - -// Container for enum describing possible authorization errors. -message AuthorizationErrorEnum { - // Enum describing possible authorization errors. - enum AuthorizationError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // User doesn't have permission to access customer. Note: If you're - // accessing a client customer, the manager's customer ID must be set in the - // `login-customer-id` header. Learn more at - // https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid - USER_PERMISSION_DENIED = 2; - - // The developer token is not on the allow-list. - DEVELOPER_TOKEN_NOT_ON_ALLOWLIST = 13; - - // The developer token is not allowed with the project sent in the request. - DEVELOPER_TOKEN_PROHIBITED = 4; - - // The Google Cloud project sent in the request does not have permission to - // access the api. - PROJECT_DISABLED = 5; - - // Authorization of the client failed. - AUTHORIZATION_ERROR = 6; - - // The user does not have permission to perform this action - // (for example, ADD, UPDATE, REMOVE) on the resource or call a method. - ACTION_NOT_PERMITTED = 7; - - // Signup not complete. - INCOMPLETE_SIGNUP = 8; - - // The customer account can't be accessed because it is not yet enabled or - // has been deactivated. - CUSTOMER_NOT_ENABLED = 24; - - // The developer must sign the terms of service. They can be found here: - // ads.google.com/aw/apicenter - MISSING_TOS = 9; - - // The developer token is only approved for use with test accounts. To - // access non-test accounts, apply for Basic or Standard access. - DEVELOPER_TOKEN_NOT_APPROVED = 10; - - // The login customer specified does not have access to the account - // specified, so the request is invalid. - INVALID_LOGIN_CUSTOMER_ID_SERVING_CUSTOMER_ID_COMBINATION = 11; - - // The developer specified does not have access to the service. - SERVICE_ACCESS_DENIED = 12; - - // The customer (or login customer) isn't in Google Ads. It belongs to - // another ads system. - ACCESS_DENIED_FOR_ACCOUNT_TYPE = 25; - - // The developer does not have access to the metrics queried. - METRIC_ACCESS_DENIED = 26; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/batch_job_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/batch_job_error.proto deleted file mode 100644 index 798048432..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/batch_job_error.proto +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "BatchJobErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing batch job errors. - -// Container for enum describing possible batch job errors. -message BatchJobErrorEnum { - // Enum describing possible request errors. - enum BatchJobError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The batch job cannot add more operations or run after it has started - // running. - CANNOT_MODIFY_JOB_AFTER_JOB_STARTS_RUNNING = 2; - - // The operations for an AddBatchJobOperations request were empty. - EMPTY_OPERATIONS = 3; - - // The sequence token for an AddBatchJobOperations request was invalid. - INVALID_SEQUENCE_TOKEN = 4; - - // Batch job results can only be retrieved once the job is finished. - RESULTS_NOT_READY = 5; - - // The page size for ListBatchJobResults was invalid. - INVALID_PAGE_SIZE = 6; - - // The batch job cannot be removed because it has started running. - CAN_ONLY_REMOVE_PENDING_JOB = 7; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/bidding_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/bidding_error.proto deleted file mode 100644 index 9d8d856b0..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/bidding_error.proto +++ /dev/null @@ -1,121 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "BiddingErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing bidding errors. - -// Container for enum describing possible bidding errors. -message BiddingErrorEnum { - // Enum describing possible bidding errors. - enum BiddingError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Cannot transition to new bidding strategy. - BIDDING_STRATEGY_TRANSITION_NOT_ALLOWED = 2; - - // Cannot attach bidding strategy to campaign. - CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN = 7; - - // Bidding strategy is not supported or cannot be used as anonymous. - INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE = 10; - - // The type does not match the named strategy's type. - INVALID_BIDDING_STRATEGY_TYPE = 14; - - // The bid is invalid. - INVALID_BID = 17; - - // Bidding strategy is not available for the account type. - BIDDING_STRATEGY_NOT_AVAILABLE_FOR_ACCOUNT_TYPE = 18; - - // Campaign can not be created with given bidding strategy. It can be - // transitioned to the strategy, once eligible. - CANNOT_CREATE_CAMPAIGN_WITH_BIDDING_STRATEGY = 21; - - // Cannot target content network only as campaign uses Page One Promoted - // bidding strategy. - CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CAMPAIGN_LEVEL_POP_BIDDING_STRATEGY = - 23; - - // Budget Optimizer and Target Spend bidding strategies are not supported - // for campaigns with AdSchedule targeting. - BIDDING_STRATEGY_NOT_SUPPORTED_WITH_AD_SCHEDULE = 24; - - // Pay per conversion is not available to all the customer, only few - // customers on the allow-list can use this. - PAY_PER_CONVERSION_NOT_AVAILABLE_FOR_CUSTOMER = 25; - - // Pay per conversion is not allowed with Target CPA. - PAY_PER_CONVERSION_NOT_ALLOWED_WITH_TARGET_CPA = 26; - - // Cannot set bidding strategy to Manual CPM for search network only - // campaigns. - BIDDING_STRATEGY_NOT_ALLOWED_FOR_SEARCH_ONLY_CAMPAIGNS = 27; - - // The bidding strategy is not supported for use in drafts or experiments. - BIDDING_STRATEGY_NOT_SUPPORTED_IN_DRAFTS_OR_EXPERIMENTS = 28; - - // Bidding strategy type does not support product type ad group criterion. - BIDDING_STRATEGY_TYPE_DOES_NOT_SUPPORT_PRODUCT_TYPE_ADGROUP_CRITERION = 29; - - // Bid amount is too small. - BID_TOO_SMALL = 30; - - // Bid amount is too big. - BID_TOO_BIG = 31; - - // Bid has too many fractional digit precision. - BID_TOO_MANY_FRACTIONAL_DIGITS = 32; - - // Invalid domain name specified. - INVALID_DOMAIN_NAME = 33; - - // The field is not compatible with the payment mode. - NOT_COMPATIBLE_WITH_PAYMENT_MODE = 34; - - // Bidding strategy type is incompatible with shared budget. - BIDDING_STRATEGY_TYPE_INCOMPATIBLE_WITH_SHARED_BUDGET = 37; - - // The attached bidding strategy and budget must be aligned with each other - // if alignment is specified on either entity. - BIDDING_STRATEGY_AND_BUDGET_MUST_BE_ALIGNED = 38; - - // The attached bidding strategy and budget must be attached to the same - // campaigns to become aligned. - BIDDING_STRATEGY_AND_BUDGET_MUST_BE_ATTACHED_TO_THE_SAME_CAMPAIGNS_TO_ALIGN = - 39; - - // The aligned bidding strategy and budget must be removed at the same time. - BIDDING_STRATEGY_AND_BUDGET_MUST_BE_REMOVED_TOGETHER = 40; - - // cpc_bid_floor_micros is greater than cpc_bid_ceiling_micros. - CPC_BID_FLOOR_MICROS_GREATER_THAN_CPC_BID_CEILING_MICROS = 41; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/bidding_strategy_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/bidding_strategy_error.proto deleted file mode 100644 index 66360af76..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/bidding_strategy_error.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "BiddingStrategyErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing bidding strategy errors. - -// Container for enum describing possible bidding strategy errors. -message BiddingStrategyErrorEnum { - // Enum describing possible bidding strategy errors. - enum BiddingStrategyError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Each bidding strategy must have a unique name. - DUPLICATE_NAME = 2; - - // Bidding strategy type is immutable. - CANNOT_CHANGE_BIDDING_STRATEGY_TYPE = 3; - - // Only bidding strategies not linked to campaigns, adgroups or adgroup - // criteria can be removed. - CANNOT_REMOVE_ASSOCIATED_STRATEGY = 4; - - // The specified bidding strategy is not supported. - BIDDING_STRATEGY_NOT_SUPPORTED = 5; - - // The bidding strategy is incompatible with the campaign's bidding - // strategy goal type. - INCOMPATIBLE_BIDDING_STRATEGY_AND_BIDDING_STRATEGY_GOAL_TYPE = 6; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/billing_setup_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/billing_setup_error.proto deleted file mode 100644 index f98c36e16..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/billing_setup_error.proto +++ /dev/null @@ -1,112 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "BillingSetupErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing billing setup errors. - -// Container for enum describing possible billing setup errors. -message BillingSetupErrorEnum { - // Enum describing possible billing setup errors. - enum BillingSetupError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Cannot specify both an existing payments account and a new payments - // account when setting up billing. - CANNOT_USE_EXISTING_AND_NEW_ACCOUNT = 2; - - // Cannot cancel an approved billing setup whose start time has passed. - CANNOT_REMOVE_STARTED_BILLING_SETUP = 3; - - // Cannot perform a Change of Bill-To (CBT) to the same payments account. - CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT = 4; - - // Billing setups can only be used by customers with ENABLED or DRAFT - // status. - BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS = 5; - - // Billing setups must either include a correctly formatted existing - // payments account id, or a non-empty new payments account name. - INVALID_PAYMENTS_ACCOUNT = 6; - - // Only billable and third-party customers can create billing setups. - BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY = 7; - - // Billing setup creations can only use NOW for start time type. - INVALID_START_TIME_TYPE = 8; - - // Billing setups can only be created for a third-party customer if they do - // not already have a setup. - THIRD_PARTY_ALREADY_HAS_BILLING = 9; - - // Billing setups cannot be created if there is already a pending billing in - // progress. - BILLING_SETUP_IN_PROGRESS = 10; - - // Billing setups can only be created by customers who have permission to - // setup billings. Users can contact a representative for help setting up - // permissions. - NO_SIGNUP_PERMISSION = 11; - - // Billing setups cannot be created if there is already a future-approved - // billing. - CHANGE_OF_BILL_TO_IN_PROGRESS = 12; - - // Requested payments profile not found. - PAYMENTS_PROFILE_NOT_FOUND = 13; - - // Requested payments account not found. - PAYMENTS_ACCOUNT_NOT_FOUND = 14; - - // Billing setup creation failed because the payments profile is ineligible. - PAYMENTS_PROFILE_INELIGIBLE = 15; - - // Billing setup creation failed because the payments account is ineligible. - PAYMENTS_ACCOUNT_INELIGIBLE = 16; - - // Billing setup creation failed because the payments profile needs internal - // approval. - CUSTOMER_NEEDS_INTERNAL_APPROVAL = 17; - - // Billing setup creation failed because the user needs to accept master - // service agreement on the payments profile. - PAYMENTS_PROFILE_NEEDS_SERVICE_AGREEMENT_ACCEPTANCE = 18; - - // Payments account has different currency code than the current customer - // and hence cannot be used to setup billing. - PAYMENTS_ACCOUNT_INELIGIBLE_CURRENCY_CODE_MISMATCH = 19; - - // A start time in the future cannot be used because there is currently no - // active billing setup for this customer. - FUTURE_START_TIME_PROHIBITED = 20; - - // The payments account has maximum number of billing setups. - TOO_MANY_BILLING_SETUPS_FOR_PAYMENTS_ACCOUNT = 21; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/campaign_budget_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/campaign_budget_error.proto deleted file mode 100644 index 9ca9ee2ff..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/campaign_budget_error.proto +++ /dev/null @@ -1,99 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CampaignBudgetErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing campaign budget errors. - -// Container for enum describing possible campaign budget errors. -message CampaignBudgetErrorEnum { - // Enum describing possible campaign budget errors. - enum CampaignBudgetError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The campaign budget cannot be shared. - CAMPAIGN_BUDGET_CANNOT_BE_SHARED = 17; - - // The requested campaign budget no longer exists. - CAMPAIGN_BUDGET_REMOVED = 2; - - // The campaign budget is associated with at least one campaign, and so the - // campaign budget cannot be removed. - CAMPAIGN_BUDGET_IN_USE = 3; - - // Customer is not on the allow-list for this campaign budget period. - CAMPAIGN_BUDGET_PERIOD_NOT_AVAILABLE = 4; - - // This field is not mutable on implicitly shared campaign budgets - CANNOT_MODIFY_FIELD_OF_IMPLICITLY_SHARED_CAMPAIGN_BUDGET = 6; - - // Cannot change explicitly shared campaign budgets back to implicitly - // shared ones. - CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_IMPLICITLY_SHARED = 7; - - // An implicit campaign budget without a name cannot be changed to - // explicitly shared campaign budget. - CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED_WITHOUT_NAME = 8; - - // Cannot change an implicitly shared campaign budget to an explicitly - // shared one. - CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED = 9; - - // Only explicitly shared campaign budgets can be used with multiple - // campaigns. - CANNOT_USE_IMPLICITLY_SHARED_CAMPAIGN_BUDGET_WITH_MULTIPLE_CAMPAIGNS = 10; - - // A campaign budget with this name already exists. - DUPLICATE_NAME = 11; - - // A money amount was not in the expected currency. - MONEY_AMOUNT_IN_WRONG_CURRENCY = 12; - - // A money amount was less than the minimum CPC for currency. - MONEY_AMOUNT_LESS_THAN_CURRENCY_MINIMUM_CPC = 13; - - // A money amount was greater than the maximum allowed. - MONEY_AMOUNT_TOO_LARGE = 14; - - // A money amount was negative. - NEGATIVE_MONEY_AMOUNT = 15; - - // A money amount was not a multiple of a minimum unit. - NON_MULTIPLE_OF_MINIMUM_CURRENCY_UNIT = 16; - - // Total budget amount must be unset when BudgetPeriod is DAILY. - TOTAL_BUDGET_AMOUNT_MUST_BE_UNSET_FOR_BUDGET_PERIOD_DAILY = 18; - - // The period of the budget is not allowed. - INVALID_PERIOD = 19; - - // Cannot use accelerated delivery method on this budget. - CANNOT_USE_ACCELERATED_DELIVERY_MODE = 20; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/campaign_conversion_goal_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/campaign_conversion_goal_error.proto deleted file mode 100644 index ec35f0a5a..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/campaign_conversion_goal_error.proto +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CampaignConversionGoalErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing campaign conversion goal errors. - -// Container for enum describing possible campaign conversion goal errors. -message CampaignConversionGoalErrorEnum { - // Enum describing possible campaign conversion goal errors. - enum CampaignConversionGoalError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Campaign is managed by Search Ads 360 but uses Unified Goal. - CANNOT_USE_CAMPAIGN_GOAL_FOR_SEARCH_ADS_360_MANAGED_CAMPAIGN = 2; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/campaign_criterion_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/campaign_criterion_error.proto deleted file mode 100644 index 0758a9029..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/campaign_criterion_error.proto +++ /dev/null @@ -1,123 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CampaignCriterionErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing campaign criterion errors. - -// Container for enum describing possible campaign criterion errors. -message CampaignCriterionErrorEnum { - // Enum describing possible campaign criterion errors. - enum CampaignCriterionError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Concrete type of criterion (keyword v.s. placement) is required for - // CREATE and UPDATE operations. - CONCRETE_TYPE_REQUIRED = 2; - - // Invalid placement URL. - INVALID_PLACEMENT_URL = 3; - - // Criteria type can not be excluded for the campaign by the customer. like - // AOL account type cannot target site type criteria - CANNOT_EXCLUDE_CRITERIA_TYPE = 4; - - // Cannot set the campaign criterion status for this criteria type. - CANNOT_SET_STATUS_FOR_CRITERIA_TYPE = 5; - - // Cannot set the campaign criterion status for an excluded criteria. - CANNOT_SET_STATUS_FOR_EXCLUDED_CRITERIA = 6; - - // Cannot target and exclude the same criterion. - CANNOT_TARGET_AND_EXCLUDE = 7; - - // The mutate contained too many operations. - TOO_MANY_OPERATIONS = 8; - - // This operator cannot be applied to a criterion of this type. - OPERATOR_NOT_SUPPORTED_FOR_CRITERION_TYPE = 9; - - // The Shopping campaign sales country is not supported for - // ProductSalesChannel targeting. - SHOPPING_CAMPAIGN_SALES_COUNTRY_NOT_SUPPORTED_FOR_SALES_CHANNEL = 10; - - // The existing field can't be updated with CREATE operation. It can be - // updated with UPDATE operation only. - CANNOT_ADD_EXISTING_FIELD = 11; - - // Negative criteria are immutable, so updates are not allowed. - CANNOT_UPDATE_NEGATIVE_CRITERION = 12; - - // Only free form names are allowed for negative Smart campaign keyword - // theme. - CANNOT_SET_NEGATIVE_KEYWORD_THEME_CONSTANT_CRITERION = 13; - - // Invalid Smart campaign keyword theme constant criterion. - INVALID_KEYWORD_THEME_CONSTANT = 14; - - // A Smart campaign keyword theme constant or free-form Smart campaign - // keyword theme is required. - MISSING_KEYWORD_THEME_CONSTANT_OR_FREE_FORM_KEYWORD_THEME = 15; - - // A Smart campaign may not target proximity and location criteria - // simultaneously. - CANNOT_TARGET_BOTH_PROXIMITY_AND_LOCATION_CRITERIA_FOR_SMART_CAMPAIGN = 16; - - // A Smart campaign may not target multiple proximity criteria. - CANNOT_TARGET_MULTIPLE_PROXIMITY_CRITERIA_FOR_SMART_CAMPAIGN = 17; - - // Location is not launched for Local Services Campaigns. - LOCATION_NOT_LAUNCHED_FOR_LOCAL_SERVICES_CAMPAIGN = 18; - - // A Local Services campaign may not target certain criteria types. - LOCATION_INVALID_FOR_LOCAL_SERVICES_CAMPAIGN = 19; - - // Country locations are not supported for Local Services campaign. - CANNOT_TARGET_COUNTRY_FOR_LOCAL_SERVICES_CAMPAIGN = 20; - - // Location is not within the home country of Local Services campaign. - LOCATION_NOT_IN_HOME_COUNTRY_FOR_LOCAL_SERVICES_CAMPAIGN = 21; - - // Local Services profile does not exist for a particular Local Services - // campaign. - CANNOT_ADD_OR_REMOVE_LOCATION_FOR_LOCAL_SERVICES_CAMPAIGN = 22; - - // Local Services campaign must have at least one target location. - AT_LEAST_ONE_POSITIVE_LOCATION_REQUIRED_FOR_LOCAL_SERVICES_CAMPAIGN = 23; - - // At least one positive local service ID criterion is required for a Local - // Services campaign. - AT_LEAST_ONE_LOCAL_SERVICE_ID_CRITERION_REQUIRED_FOR_LOCAL_SERVICES_CAMPAIGN = - 24; - - // Local service ID is not found under selected categories in local - // services campaign setting. - LOCAL_SERVICE_ID_NOT_FOUND_FOR_CATEGORY = 25; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/campaign_customizer_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/campaign_customizer_error.proto deleted file mode 100644 index 66ec10ef9..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/campaign_customizer_error.proto +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CampaignCustomizerErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing campaign customizer errors. - -// Container for enum describing possible campaign customizer errors. -message CampaignCustomizerErrorEnum { - // Enum describing possible campaign customizer errors. - enum CampaignCustomizerError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/campaign_draft_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/campaign_draft_error.proto deleted file mode 100644 index 95d842ae6..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/campaign_draft_error.proto +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CampaignDraftErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing campaign draft errors. - -// Container for enum describing possible campaign draft errors. -message CampaignDraftErrorEnum { - // Enum describing possible campaign draft errors. - enum CampaignDraftError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // A draft with this name already exists for this campaign. - DUPLICATE_DRAFT_NAME = 2; - - // The draft is removed and cannot be transitioned to another status. - INVALID_STATUS_TRANSITION_FROM_REMOVED = 3; - - // The draft has been promoted and cannot be transitioned to the specified - // status. - INVALID_STATUS_TRANSITION_FROM_PROMOTED = 4; - - // The draft has failed to be promoted and cannot be transitioned to the - // specified status. - INVALID_STATUS_TRANSITION_FROM_PROMOTE_FAILED = 5; - - // This customer is not allowed to create drafts. - CUSTOMER_CANNOT_CREATE_DRAFT = 6; - - // This campaign is not allowed to create drafts. - CAMPAIGN_CANNOT_CREATE_DRAFT = 7; - - // This modification cannot be made on a draft. - INVALID_DRAFT_CHANGE = 8; - - // The draft cannot be transitioned to the specified status from its - // current status. - INVALID_STATUS_TRANSITION = 9; - - // The campaign has reached the maximum number of drafts that can be created - // for a campaign throughout its lifetime. No additional drafts can be - // created for this campaign. Removed drafts also count towards this limit. - MAX_NUMBER_OF_DRAFTS_PER_CAMPAIGN_REACHED = 10; - - // ListAsyncErrors was called without first promoting the draft. - LIST_ERRORS_FOR_PROMOTED_DRAFT_ONLY = 11; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/campaign_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/campaign_error.proto deleted file mode 100644 index c817849ba..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/campaign_error.proto +++ /dev/null @@ -1,280 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CampaignErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing campaign errors. - -// Container for enum describing possible campaign errors. -message CampaignErrorEnum { - // Enum describing possible campaign errors. - enum CampaignError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Cannot target content network. - CANNOT_TARGET_CONTENT_NETWORK = 3; - - // Cannot target search network. - CANNOT_TARGET_SEARCH_NETWORK = 4; - - // Cannot cover search network without google search network. - CANNOT_TARGET_SEARCH_NETWORK_WITHOUT_GOOGLE_SEARCH = 5; - - // Cannot target Google Search network for a CPM campaign. - CANNOT_TARGET_GOOGLE_SEARCH_FOR_CPM_CAMPAIGN = 6; - - // Must target at least one network. - CAMPAIGN_MUST_TARGET_AT_LEAST_ONE_NETWORK = 7; - - // Only some Google partners are allowed to target partner search network. - CANNOT_TARGET_PARTNER_SEARCH_NETWORK = 8; - - // Cannot target content network only as campaign has criteria-level bidding - // strategy. - CANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CRITERIA_LEVEL_BIDDING_STRATEGY = 9; - - // Cannot modify the start or end date such that the campaign duration would - // not contain the durations of all runnable trials. - CAMPAIGN_DURATION_MUST_CONTAIN_ALL_RUNNABLE_TRIALS = 10; - - // Cannot modify dates, budget or status of a trial campaign. - CANNOT_MODIFY_FOR_TRIAL_CAMPAIGN = 11; - - // Trying to modify the name of an active or paused campaign, where the name - // is already assigned to another active or paused campaign. - DUPLICATE_CAMPAIGN_NAME = 12; - - // Two fields are in conflicting modes. - INCOMPATIBLE_CAMPAIGN_FIELD = 13; - - // Campaign name cannot be used. - INVALID_CAMPAIGN_NAME = 14; - - // Given status is invalid. - INVALID_AD_SERVING_OPTIMIZATION_STATUS = 15; - - // Error in the campaign level tracking URL. - INVALID_TRACKING_URL = 16; - - // Cannot set both tracking URL template and tracking setting. A user has - // to clear legacy tracking setting in order to add tracking URL template. - CANNOT_SET_BOTH_TRACKING_URL_TEMPLATE_AND_TRACKING_SETTING = 17; - - // The maximum number of impressions for Frequency Cap should be an integer - // greater than 0. - MAX_IMPRESSIONS_NOT_IN_RANGE = 18; - - // Only the Day, Week and Month time units are supported. - TIME_UNIT_NOT_SUPPORTED = 19; - - // Operation not allowed on a campaign whose serving status has ended - INVALID_OPERATION_IF_SERVING_STATUS_HAS_ENDED = 20; - - // This budget is exclusively linked to a Campaign that is using experiments - // so it cannot be shared. - BUDGET_CANNOT_BE_SHARED = 21; - - // Campaigns using experiments cannot use a shared budget. - CAMPAIGN_CANNOT_USE_SHARED_BUDGET = 22; - - // A different budget cannot be assigned to a campaign when there are - // running or scheduled trials. - CANNOT_CHANGE_BUDGET_ON_CAMPAIGN_WITH_TRIALS = 23; - - // No link found between the campaign and the label. - CAMPAIGN_LABEL_DOES_NOT_EXIST = 24; - - // The label has already been attached to the campaign. - CAMPAIGN_LABEL_ALREADY_EXISTS = 25; - - // A ShoppingSetting was not found when creating a shopping campaign. - MISSING_SHOPPING_SETTING = 26; - - // The country in shopping setting is not an allowed country. - INVALID_SHOPPING_SALES_COUNTRY = 27; - - // The requested channel type is not available according to the customer's - // account setting. - ADVERTISING_CHANNEL_TYPE_NOT_AVAILABLE_FOR_ACCOUNT_TYPE = 31; - - // The AdvertisingChannelSubType is not a valid subtype of the primary - // channel type. - INVALID_ADVERTISING_CHANNEL_SUB_TYPE = 32; - - // At least one conversion must be selected. - AT_LEAST_ONE_CONVERSION_MUST_BE_SELECTED = 33; - - // Setting ad rotation mode for a campaign is not allowed. Ad rotation mode - // at campaign is deprecated. - CANNOT_SET_AD_ROTATION_MODE = 34; - - // Trying to change start date on a campaign that has started. - CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED = 35; - - // Trying to modify a date into the past. - CANNOT_SET_DATE_TO_PAST = 36; - - // Hotel center id in the hotel setting does not match any customer links. - MISSING_HOTEL_CUSTOMER_LINK = 37; - - // Hotel center id in the hotel setting must match an active customer link. - INVALID_HOTEL_CUSTOMER_LINK = 38; - - // Hotel setting was not found when creating a hotel ads campaign. - MISSING_HOTEL_SETTING = 39; - - // A Campaign cannot use shared campaign budgets and be part of a campaign - // group. - CANNOT_USE_SHARED_CAMPAIGN_BUDGET_WHILE_PART_OF_CAMPAIGN_GROUP = 40; - - // The app ID was not found. - APP_NOT_FOUND = 41; - - // Campaign.shopping_setting.enable_local is not supported for the specified - // campaign type. - SHOPPING_ENABLE_LOCAL_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE = 42; - - // The merchant does not support the creation of campaigns for Shopping - // Comparison Listing Ads. - MERCHANT_NOT_ALLOWED_FOR_COMPARISON_LISTING_ADS = 43; - - // The App campaign for engagement cannot be created because there aren't - // enough installs. - INSUFFICIENT_APP_INSTALLS_COUNT = 44; - - // The App campaign for engagement cannot be created because the app is - // sensitive. - SENSITIVE_CATEGORY_APP = 45; - - // Customers with Housing, Employment, or Credit ads must accept updated - // personalized ads policy to continue creating campaigns. - HEC_AGREEMENT_REQUIRED = 46; - - // The field is not compatible with view through conversion optimization. - NOT_COMPATIBLE_WITH_VIEW_THROUGH_CONVERSION_OPTIMIZATION = 49; - - // The field type cannot be excluded because an active campaign-asset link - // of this type exists. - INVALID_EXCLUDED_PARENT_ASSET_FIELD_TYPE = 48; - - // The app pre-registration campaign cannot be created for non-Android - // applications. - CANNOT_CREATE_APP_PRE_REGISTRATION_FOR_NON_ANDROID_APP = 50; - - // The campaign cannot be created since the app is not available for - // pre-registration in any country. - APP_NOT_AVAILABLE_TO_CREATE_APP_PRE_REGISTRATION_CAMPAIGN = 51; - - // The type of the Budget is not compatible with this Campaign. - INCOMPATIBLE_BUDGET_TYPE = 52; - - // Category bid list in the local services campaign setting contains - // multiple bids for the same category ID. - LOCAL_SERVICES_DUPLICATE_CATEGORY_BID = 53; - - // Category bid list in the local services campaign setting contains - // a bid for an invalid category ID. - LOCAL_SERVICES_INVALID_CATEGORY_BID = 54; - - // Category bid list in the local services campaign setting is missing a - // bid for a category ID that must be present. - LOCAL_SERVICES_MISSING_CATEGORY_BID = 55; - - // The requested change in status is not supported. - INVALID_STATUS_CHANGE = 57; - - // Travel Campaign's travel_account_id does not match any customer links. - MISSING_TRAVEL_CUSTOMER_LINK = 58; - - // Travel Campaign's travel_account_id matches an existing customer link - // but the customer link is not active. - INVALID_TRAVEL_CUSTOMER_LINK = 59; - - // The asset set type is invalid to be set in - // excluded_parent_asset_set_types field. - INVALID_EXCLUDED_PARENT_ASSET_SET_TYPE = 62; - - // Campaign.hotel_property_asset_set must point to an asset set of type - // HOTEL_PROPERTY. - ASSET_SET_NOT_A_HOTEL_PROPERTY_ASSET_SET = 63; - - // The hotel property asset set can only be set on Performance Max for - // travel goals campaigns. - HOTEL_PROPERTY_ASSET_SET_ONLY_FOR_PERFORMANCE_MAX_FOR_TRAVEL_GOALS = 64; - - // Customer's average daily spend is too high to enable this feature. - AVERAGE_DAILY_SPEND_TOO_HIGH = 65; - - // Cannot attach the campaign to a deleted campaign group. - CANNOT_ATTACH_TO_REMOVED_CAMPAIGN_GROUP = 66; - - // Cannot attach the campaign to this bidding strategy. - CANNOT_ATTACH_TO_BIDDING_STRATEGY = 67; - - // A budget with a different period cannot be assigned to the campaign. - CANNOT_CHANGE_BUDGET_PERIOD = 68; - - // Customer does not have enough conversions to enable this feature. - NOT_ENOUGH_CONVERSIONS = 71; - - // This campaign type can only have one conversion action. - CANNOT_SET_MORE_THAN_ONE_CONVERSION_ACTION = 72; - - // The field is not compatible with the budget type. - NOT_COMPATIBLE_WITH_BUDGET_TYPE = 73; - - // The feature is incompatible with ConversionActionType.UPLOAD_CLICKS. - NOT_COMPATIBLE_WITH_UPLOAD_CLICKS_CONVERSION = 74; - - // App campaign setting app ID must match selective optimization conversion - // action app ID. - APP_ID_MUST_MATCH_CONVERSION_ACTION_APP_ID = 76; - - // Selective optimization conversion action with Download category is not - // allowed. - CONVERSION_ACTION_WITH_DOWNLOAD_CATEGORY_NOT_ALLOWED = 77; - - // One software download for selective optimization conversion action is - // required for this campaign conversion action. - CONVERSION_ACTION_WITH_DOWNLOAD_CATEGORY_REQUIRED = 78; - - // Conversion tracking is not enabled and is required for this feature. - CONVERSION_TRACKING_NOT_ENABLED = 79; - - // The field is not compatible with the bidding strategy type. - NOT_COMPATIBLE_WITH_BIDDING_STRATEGY_TYPE = 80; - - // Campaign is not compatible with a conversion tracker that has Google - // attribution enabled. - NOT_COMPATIBLE_WITH_GOOGLE_ATTRIBUTION_CONVERSIONS = 81; - - // Customer level conversion lag is too high. - CONVERSION_LAG_TOO_HIGH = 82; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/campaign_experiment_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/campaign_experiment_error.proto deleted file mode 100644 index 424f08693..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/campaign_experiment_error.proto +++ /dev/null @@ -1,77 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CampaignExperimentErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing campaign experiment errors. - -// Container for enum describing possible campaign experiment errors. -message CampaignExperimentErrorEnum { - // Enum describing possible campaign experiment errors. - enum CampaignExperimentError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // An active campaign or experiment with this name already exists. - DUPLICATE_NAME = 2; - - // Experiment cannot be updated from the current state to the - // requested target state. For example, an experiment can only graduate - // if its status is ENABLED. - INVALID_TRANSITION = 3; - - // Cannot create an experiment from a campaign using an explicitly shared - // budget. - CANNOT_CREATE_EXPERIMENT_WITH_SHARED_BUDGET = 4; - - // Cannot create an experiment for a removed base campaign. - CANNOT_CREATE_EXPERIMENT_FOR_REMOVED_BASE_CAMPAIGN = 5; - - // Cannot create an experiment from a draft, which has a status other than - // proposed. - CANNOT_CREATE_EXPERIMENT_FOR_NON_PROPOSED_DRAFT = 6; - - // This customer is not allowed to create an experiment. - CUSTOMER_CANNOT_CREATE_EXPERIMENT = 7; - - // This campaign is not allowed to create an experiment. - CAMPAIGN_CANNOT_CREATE_EXPERIMENT = 8; - - // Trying to set an experiment duration which overlaps with another - // experiment. - EXPERIMENT_DURATIONS_MUST_NOT_OVERLAP = 9; - - // All non-removed experiments must start and end within their campaign's - // duration. - EXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATION = 10; - - // The experiment cannot be modified because its status is in a terminal - // state, such as REMOVED. - CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUS = 11; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/campaign_feed_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/campaign_feed_error.proto deleted file mode 100644 index 5d9167070..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/campaign_feed_error.proto +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CampaignFeedErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing campaign feed errors. - -// Container for enum describing possible campaign feed errors. -message CampaignFeedErrorEnum { - // Enum describing possible campaign feed errors. - enum CampaignFeedError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // An active feed already exists for this campaign and placeholder type. - FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE = 2; - - // The specified feed is removed. - CANNOT_CREATE_FOR_REMOVED_FEED = 4; - - // The CampaignFeed already exists. UPDATE should be used to modify the - // existing CampaignFeed. - CANNOT_CREATE_ALREADY_EXISTING_CAMPAIGN_FEED = 5; - - // Cannot update removed campaign feed. - CANNOT_MODIFY_REMOVED_CAMPAIGN_FEED = 6; - - // Invalid placeholder type. - INVALID_PLACEHOLDER_TYPE = 7; - - // Feed mapping for this placeholder type does not exist. - MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE = 8; - - // Location CampaignFeeds cannot be created unless there is a location - // CustomerFeed for the specified feed. - NO_EXISTING_LOCATION_CUSTOMER_FEED = 9; - - // Feed is read only. - LEGACY_FEED_TYPE_READ_ONLY = 10; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/campaign_shared_set_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/campaign_shared_set_error.proto deleted file mode 100644 index 148062baf..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/campaign_shared_set_error.proto +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CampaignSharedSetErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing campaign shared set errors. - -// Container for enum describing possible campaign shared set errors. -message CampaignSharedSetErrorEnum { - // Enum describing possible campaign shared set errors. - enum CampaignSharedSetError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The shared set belongs to another customer and permission isn't granted. - SHARED_SET_ACCESS_DENIED = 2; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/change_event_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/change_event_error.proto deleted file mode 100644 index 7e2427179..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/change_event_error.proto +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ChangeEventErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing change event errors. - -// Container for enum describing possible change event errors. -message ChangeEventErrorEnum { - // Enum describing possible change event errors. - enum ChangeEventError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The requested start date is too old. It cannot be older than 30 days. - START_DATE_TOO_OLD = 2; - - // The change_event search request must specify a finite range filter - // on change_date_time. - CHANGE_DATE_RANGE_INFINITE = 3; - - // The change event search request has specified invalid date time filters - // that can never logically produce any valid results (for example, start - // time after end time). - CHANGE_DATE_RANGE_NEGATIVE = 4; - - // The change_event search request must specify a LIMIT. - LIMIT_NOT_SPECIFIED = 5; - - // The LIMIT specified by change_event request should be less than or equal - // to 10K. - INVALID_LIMIT_CLAUSE = 6; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/change_status_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/change_status_error.proto deleted file mode 100644 index ea06d89e0..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/change_status_error.proto +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ChangeStatusErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing change status errors. - -// Container for enum describing possible change status errors. -message ChangeStatusErrorEnum { - // Enum describing possible change status errors. - enum ChangeStatusError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The requested start date is too old. - START_DATE_TOO_OLD = 3; - - // The change_status search request must specify a finite range filter - // on last_change_date_time. - CHANGE_DATE_RANGE_INFINITE = 4; - - // The change status search request has specified invalid date time filters - // that can never logically produce any valid results (for example, start - // time after end time). - CHANGE_DATE_RANGE_NEGATIVE = 5; - - // The change_status search request must specify a LIMIT. - LIMIT_NOT_SPECIFIED = 6; - - // The LIMIT specified by change_status request should be less than or equal - // to 10K. - INVALID_LIMIT_CLAUSE = 7; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/collection_size_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/collection_size_error.proto deleted file mode 100644 index 0d889818d..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/collection_size_error.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CollectionSizeErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing collection size errors. - -// Container for enum describing possible collection size errors. -message CollectionSizeErrorEnum { - // Enum describing possible collection size errors. - enum CollectionSizeError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Too few. - TOO_FEW = 2; - - // Too many. - TOO_MANY = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/context_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/context_error.proto deleted file mode 100644 index b9d11ccf9..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/context_error.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ContextErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing context errors. - -// Container for enum describing possible context errors. -message ContextErrorEnum { - // Enum describing possible context errors. - enum ContextError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The operation is not allowed for the given context. - OPERATION_NOT_PERMITTED_FOR_CONTEXT = 2; - - // The operation is not allowed for removed resources. - OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/conversion_action_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/conversion_action_error.proto deleted file mode 100644 index 408e23605..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/conversion_action_error.proto +++ /dev/null @@ -1,78 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ConversionActionErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing conversion action errors. - -// Container for enum describing possible conversion action errors. -message ConversionActionErrorEnum { - // Enum describing possible conversion action errors. - enum ConversionActionError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The specified conversion action name already exists. - DUPLICATE_NAME = 2; - - // Another conversion action with the specified app id already exists. - DUPLICATE_APP_ID = 3; - - // Android first open action conflicts with Google play codeless download - // action tracking the same app. - TWO_CONVERSION_ACTIONS_BIDDING_ON_SAME_APP_DOWNLOAD = 4; - - // Android first open action conflicts with Google play codeless download - // action tracking the same app. - BIDDING_ON_SAME_APP_DOWNLOAD_AS_GLOBAL_ACTION = 5; - - // The attribution model cannot be set to DATA_DRIVEN because a data-driven - // model has never been generated. - DATA_DRIVEN_MODEL_WAS_NEVER_GENERATED = 6; - - // The attribution model cannot be set to DATA_DRIVEN because the - // data-driven model is expired. - DATA_DRIVEN_MODEL_EXPIRED = 7; - - // The attribution model cannot be set to DATA_DRIVEN because the - // data-driven model is stale. - DATA_DRIVEN_MODEL_STALE = 8; - - // The attribution model cannot be set to DATA_DRIVEN because the - // data-driven model is unavailable or the conversion action was newly - // added. - DATA_DRIVEN_MODEL_UNKNOWN = 9; - - // Creation of this conversion action type isn't supported by Google - // Ads API. - CREATION_NOT_SUPPORTED = 10; - - // Update of this conversion action isn't supported by Google Ads API. - UPDATE_NOT_SUPPORTED = 11; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/conversion_adjustment_upload_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/conversion_adjustment_upload_error.proto deleted file mode 100644 index 886354736..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/conversion_adjustment_upload_error.proto +++ /dev/null @@ -1,133 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ConversionAdjustmentUploadErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing conversion adjustment upload errors. - -// Container for enum describing possible conversion adjustment upload errors. -message ConversionAdjustmentUploadErrorEnum { - // Enum describing possible conversion adjustment upload errors. - enum ConversionAdjustmentUploadError { - // Not specified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The specified conversion action was created too recently. - // Try the upload again after 4-6 hours have passed since the - // conversion action was created. - TOO_RECENT_CONVERSION_ACTION = 2; - - // No conversion action of a supported ConversionActionType that matches the - // provided information can be found for the customer. - INVALID_CONVERSION_ACTION = 3; - - // A retraction was already reported for this conversion. - CONVERSION_ALREADY_RETRACTED = 4; - - // A conversion for the supplied combination of conversion - // action and conversion identifier could not be found. - CONVERSION_NOT_FOUND = 5; - - // The specified conversion has already expired. Conversions expire after 55 - // days, after which adjustments cannot be reported against them. - CONVERSION_EXPIRED = 6; - - // The supplied adjustment date time precedes that of the original - // conversion. - ADJUSTMENT_PRECEDES_CONVERSION = 7; - - // A restatement with a more recent adjustment date time was already - // reported for this conversion. - MORE_RECENT_RESTATEMENT_FOUND = 8; - - // The conversion was created too recently. - TOO_RECENT_CONVERSION = 9; - - // Restatements cannot be reported for a conversion action that always uses - // the default value. - CANNOT_RESTATE_CONVERSION_ACTION_THAT_ALWAYS_USES_DEFAULT_CONVERSION_VALUE = - 10; - - // The request contained more than 2000 adjustments. - TOO_MANY_ADJUSTMENTS_IN_REQUEST = 11; - - // The conversion has been adjusted too many times. - TOO_MANY_ADJUSTMENTS = 12; - - // A restatement with this timestamp already exists for this conversion. To - // upload another adjustment, use a different timestamp. - RESTATEMENT_ALREADY_EXISTS = 13; - - // This adjustment has the same timestamp as another adjustment in the - // request for this conversion. To upload another adjustment, use a - // different timestamp. - DUPLICATE_ADJUSTMENT_IN_REQUEST = 14; - - // The customer has not accepted the customer data terms in the conversion - // settings page. - CUSTOMER_NOT_ACCEPTED_CUSTOMER_DATA_TERMS = 15; - - // The enhanced conversion settings of the conversion action supplied is - // not eligible for enhancements. - CONVERSION_ACTION_NOT_ELIGIBLE_FOR_ENHANCEMENT = 16; - - // The provided user identifier is not a SHA-256 hash. It is either unhashed - // or hashed using a different hash function. - INVALID_USER_IDENTIFIER = 17; - - // The provided user identifier is not supported. - // ConversionAdjustmentUploadService only supports hashed_email, - // hashed_phone_number, and address_info. - UNSUPPORTED_USER_IDENTIFIER = 18; - - // Cannot set both gclid_date_time_pair and order_id. - GCLID_DATE_TIME_PAIR_AND_ORDER_ID_BOTH_SET = 20; - - // An enhancement with this conversion action and order_id already exists - // for this conversion. - CONVERSION_ALREADY_ENHANCED = 21; - - // This enhancement has the same conversion action and order_id as - // another enhancement in the request. - DUPLICATE_ENHANCEMENT_IN_REQUEST = 22; - - // Per our customer data policies, enhancement has been prohibited in your - // account. If you have any questions, contact your Google - // representative. - CUSTOMER_DATA_POLICY_PROHIBITS_ENHANCEMENT = 23; - - // The conversion adjustment is for a conversion action of type WEBPAGE, but - // does not have an order_id. The order_id is required for an adjustment for - // a WEBPAGE conversion action. - MISSING_ORDER_ID_FOR_WEBPAGE = 24; - - // The order_id contains personally identifiable information (PII), such as - // an email address or phone number. - ORDER_ID_CONTAINS_PII = 25; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/conversion_custom_variable_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/conversion_custom_variable_error.proto deleted file mode 100644 index e64a965ff..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/conversion_custom_variable_error.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ConversionCustomVariableErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing conversion custom variable errors. - -// Container for enum describing possible conversion custom variable errors. -message ConversionCustomVariableErrorEnum { - // Enum describing possible conversion custom variable errors. - enum ConversionCustomVariableError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // A conversion custom variable with the specified name already exists. - DUPLICATE_NAME = 2; - - // A conversion custom variable with the specified tag already exists. - DUPLICATE_TAG = 3; - - // A conversion custom variable with the specified tag is reserved for other - // uses. - RESERVED_TAG = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/conversion_goal_campaign_config_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/conversion_goal_campaign_config_error.proto deleted file mode 100644 index db03f7cb2..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/conversion_goal_campaign_config_error.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ConversionGoalCampaignConfigErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing conversion goal campaign config errors. - -// Container for enum describing possible conversion goal campaign config -// errors. -message ConversionGoalCampaignConfigErrorEnum { - // Enum describing possible conversion goal campaign config errors. - enum ConversionGoalCampaignConfigError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Campaign is managed by Search Ads 360 but uses Unified Goal. - CANNOT_USE_CAMPAIGN_GOAL_FOR_SEARCH_ADS_360_MANAGED_CAMPAIGN = 2; - - // The campaign is using a custom goal that does not belong to its Google - // Ads conversion customer (conversion tracking customer). - CUSTOM_GOAL_DOES_NOT_BELONG_TO_GOOGLE_ADS_CONVERSION_CUSTOMER = 3; - - // The campaign is not allowed to use unified goals. - CAMPAIGN_CANNOT_USE_UNIFIED_GOALS = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/conversion_upload_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/conversion_upload_error.proto deleted file mode 100644 index bdabcf04c..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/conversion_upload_error.proto +++ /dev/null @@ -1,214 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ConversionUploadErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing conversion upload errors. - -// Container for enum describing possible conversion upload errors. -message ConversionUploadErrorEnum { - // Enum describing possible conversion upload errors. - enum ConversionUploadError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The request contained more than 2000 conversions. - TOO_MANY_CONVERSIONS_IN_REQUEST = 2; - - // The specified gclid could not be decoded. - UNPARSEABLE_GCLID = 3; - - // The specified conversion_date_time is before the event time - // associated with the given identifier or iOS URL parameter. - CONVERSION_PRECEDES_EVENT = 42; - - // The click associated with the given identifier or iOS URL parameter is - // either too old to be imported or occurred outside of the click through - // lookback window for the specified conversion action. - EXPIRED_EVENT = 43; - - // The click associated with the given identifier or iOS URL parameter - // occurred too recently. Try uploading again after 6 hours have - // passed since the click occurred. - TOO_RECENT_EVENT = 44; - - // The click associated with the given identifier or iOS URL parameter could - // not be found in the system. This can happen if the identifier or iOS URL - // parameter are collected for non Google Ads clicks. - EVENT_NOT_FOUND = 45; - - // The click associated with the given identifier or iOS URL parameter is - // owned by a customer account that the uploading customer does not manage. - UNAUTHORIZED_CUSTOMER = 8; - - // No upload eligible conversion action that matches the provided - // information can be found for the customer. - INVALID_CONVERSION_ACTION = 9; - - // The specified conversion action was created too recently. - // Try the upload again after 4-6 hours have passed since the - // conversion action was created. - TOO_RECENT_CONVERSION_ACTION = 10; - - // The click associated with the given identifier does not contain - // conversion tracking information. - CONVERSION_TRACKING_NOT_ENABLED_AT_IMPRESSION_TIME = 11; - - // The specified conversion action does not use an external attribution - // model, but external_attribution_data was set. - EXTERNAL_ATTRIBUTION_DATA_SET_FOR_NON_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION = - 12; - - // The specified conversion action uses an external attribution model, but - // external_attribution_data or one of its contained fields was not set. - // Both external_attribution_credit and external_attribution_model must be - // set for externally attributed conversion actions. - EXTERNAL_ATTRIBUTION_DATA_NOT_SET_FOR_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION = - 13; - - // Order IDs are not supported for conversion actions which use an external - // attribution model. - ORDER_ID_NOT_PERMITTED_FOR_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION = 14; - - // A conversion with the same order id and conversion action combination - // already exists in our system. - ORDER_ID_ALREADY_IN_USE = 15; - - // The request contained two or more conversions with the same order id and - // conversion action combination. - DUPLICATE_ORDER_ID = 16; - - // The call occurred too recently. Try uploading again after 12 hours - // have passed since the call occurred. - TOO_RECENT_CALL = 17; - - // The click that initiated the call is too old for this conversion to be - // imported. - EXPIRED_CALL = 18; - - // The call or the click leading to the call was not found. - CALL_NOT_FOUND = 19; - - // The specified conversion_date_time is before the call_start_date_time. - CONVERSION_PRECEDES_CALL = 20; - - // The click associated with the call does not contain conversion tracking - // information. - CONVERSION_TRACKING_NOT_ENABLED_AT_CALL_TIME = 21; - - // The caller's phone number cannot be parsed. It should be formatted either - // as E.164 "+16502531234", International "+64 3-331 6005" or US national - // number "6502531234". - UNPARSEABLE_CALLERS_PHONE_NUMBER = 22; - - // A conversion with this timestamp already exists for this click. To upload - // another conversion, use a different timestamp. - CLICK_CONVERSION_ALREADY_EXISTS = 23; - - // A conversion with this timestamp already exists for this call. To upload - // another conversion, use a different timestamp. - CALL_CONVERSION_ALREADY_EXISTS = 24; - - // This conversion has the same click and timestamp as another conversion in - // the request. To upload another conversion for this click, use a - // different timestamp. - DUPLICATE_CLICK_CONVERSION_IN_REQUEST = 25; - - // This conversion has the same call and timestamp as another conversion in - // the request. To upload another conversion for this call, use a - // different timestamp. - DUPLICATE_CALL_CONVERSION_IN_REQUEST = 26; - - // The custom variable is not enabled. - CUSTOM_VARIABLE_NOT_ENABLED = 28; - - // The value of the custom variable contains personally identifiable - // information (PII), such as an email address or phone number. - CUSTOM_VARIABLE_VALUE_CONTAINS_PII = 29; - - // The click associated with the given identifier or iOS URL parameter isn't - // from the account where conversion tracking is set up. - INVALID_CUSTOMER_FOR_CLICK = 30; - - // The click associated with the given call isn't from the account where - // conversion tracking is set up. - INVALID_CUSTOMER_FOR_CALL = 31; - - // The conversion can't be uploaded because the conversion source didn't - // comply with the App Tracking Transparency (ATT) policy or the person who - // converted didn't consent to tracking. - CONVERSION_NOT_COMPLIANT_WITH_ATT_POLICY = 32; - - // No click was found for the provided user identifiers. This may be because - // the conversion did not come from a Google Ads campaign. - CLICK_NOT_FOUND = 33; - - // The provided user identifier is not a SHA-256 hash. It is either unhashed - // or hashed using a different hash function. - INVALID_USER_IDENTIFIER = 34; - - // Conversion actions which use an external attribution model cannot be used - // with UserIdentifier. - EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION_NOT_PERMITTED_WITH_USER_IDENTIFIER = - 35; - - // The provided user identifier is not supported. ConversionUploadService - // only supports hashed_email and hashed_phone_number. - UNSUPPORTED_USER_IDENTIFIER = 36; - - // gbraid and wbraid are both set in the request. Only one is allowed. - GBRAID_WBRAID_BOTH_SET = 38; - - // The specified wbraid could not be decoded. - UNPARSEABLE_WBRAID = 39; - - // The specified gbraid could not be decoded. - UNPARSEABLE_GBRAID = 40; - - // Conversion actions which use the one-per-click counting type cannot be - // used with gbraid or wbraid. - ONE_PER_CLICK_CONVERSION_ACTION_NOT_PERMITTED_WITH_BRAID = 46; - - // Per our customer data policies, enhanced conversions have been prohibited - // in your account. If you have any questions, contact your Google - // representative. - CUSTOMER_DATA_POLICY_PROHIBITS_ENHANCED_CONVERSIONS = 47; - - // The customer has not accepted the customer data terms in the conversion - // settings page. - CUSTOMER_NOT_ACCEPTED_CUSTOMER_DATA_TERMS = 48; - - // The order_id contains personally identifiable information (PII), such as - // an email address or phone number. - ORDER_ID_CONTAINS_PII = 49; - - // The customer has not enabled enhanced conversions for leads in the - // conversion settings page. - CUSTOMER_NOT_ENABLED_ENHANCED_CONVERSIONS_FOR_LEADS = 50; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/conversion_value_rule_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/conversion_value_rule_error.proto deleted file mode 100644 index cc4287b3c..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/conversion_value_rule_error.proto +++ /dev/null @@ -1,88 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ConversionValueRuleErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing conversion value rule errors. - -// Container for enum describing possible conversion value rule errors. -message ConversionValueRuleErrorEnum { - // Enum describing possible conversion value rule errors. - enum ConversionValueRuleError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The value rule's geo location condition contains invalid geo target - // constant(s), for example, there's no matching geo target. - INVALID_GEO_TARGET_CONSTANT = 2; - - // The value rule's geo location condition contains conflicting included and - // excluded geo targets. Specifically, some of the excluded geo target(s) - // are the same as or contain some of the included geo target(s). For - // example, the geo location condition includes California but excludes U.S. - CONFLICTING_INCLUDED_AND_EXCLUDED_GEO_TARGET = 3; - - // User specified conflicting conditions for two value rules in the same - // value rule set. - CONFLICTING_CONDITIONS = 4; - - // The value rule cannot be removed because it's still included in some - // value rule set. - CANNOT_REMOVE_IF_INCLUDED_IN_VALUE_RULE_SET = 5; - - // The value rule contains a condition that's not allowed by the value rule - // set including this value rule. - CONDITION_NOT_ALLOWED = 6; - - // The value rule contains a field that should be unset. - FIELD_MUST_BE_UNSET = 7; - - // Pausing the value rule requires pausing the value rule set because the - // value rule is (one of) the last enabled in the value rule set. - CANNOT_PAUSE_UNLESS_VALUE_RULE_SET_IS_PAUSED = 8; - - // The value rule's geo location condition contains untargetable geo target - // constant(s). - UNTARGETABLE_GEO_TARGET = 9; - - // The value rule's audience condition contains invalid user list(s). In - // another word, there's no matching user list. - INVALID_AUDIENCE_USER_LIST = 10; - - // The value rule's audience condition contains inaccessible user list(s). - INACCESSIBLE_USER_LIST = 11; - - // The value rule's audience condition contains invalid user_interest(s). - // This might be because there is no matching user interest, or the user - // interest is not visible. - INVALID_AUDIENCE_USER_INTEREST = 12; - - // When a value rule is created, it shouldn't have REMOVED status. - CANNOT_ADD_RULE_WITH_STATUS_REMOVED = 13; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/conversion_value_rule_set_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/conversion_value_rule_set_error.proto deleted file mode 100644 index 470093f66..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/conversion_value_rule_set_error.proto +++ /dev/null @@ -1,98 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ConversionValueRuleSetErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing conversion value rule set errors. - -// Container for enum describing possible conversion value rule set errors. -message ConversionValueRuleSetErrorEnum { - // Enum describing possible conversion value rule set errors. - enum ConversionValueRuleSetError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Two value rules in this value rule set contain conflicting conditions. - CONFLICTING_VALUE_RULE_CONDITIONS = 2; - - // This value rule set includes a value rule that cannot be found, has been - // permanently removed or belongs to a different customer. - INVALID_VALUE_RULE = 3; - - // An error that's thrown when a mutate operation is trying to - // replace/remove some existing elements in the dimensions field. In other - // words, ADD op is always fine and UPDATE op is fine if it's only appending - // new elements into dimensions list. - DIMENSIONS_UPDATE_ONLY_ALLOW_APPEND = 4; - - // An error that's thrown when a mutate is adding new value rule(s) into a - // value rule set and the added value rule(s) include conditions that are - // not specified in the dimensions of the value rule set. - CONDITION_TYPE_NOT_ALLOWED = 5; - - // The dimensions field contains duplicate elements. - DUPLICATE_DIMENSIONS = 6; - - // This value rule set is attached to an invalid campaign id. Either a - // campaign with this campaign id doesn't exist or it belongs to a different - // customer. - INVALID_CAMPAIGN_ID = 7; - - // When a mutate request tries to pause a value rule set, the enabled - // value rules in this set must be paused in the same command, or this error - // will be thrown. - CANNOT_PAUSE_UNLESS_ALL_VALUE_RULES_ARE_PAUSED = 8; - - // When a mutate request tries to pause all the value rules in a value rule - // set, the value rule set must be paused, or this error will be thrown. - SHOULD_PAUSE_WHEN_ALL_VALUE_RULES_ARE_PAUSED = 9; - - // This value rule set is attached to a campaign that does not support value - // rules. Currently, campaign level value rule sets can only be created on - // Search, or Display campaigns. - VALUE_RULES_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE = 10; - - // To add a value rule set that applies on Store Visits/Store Sales - // conversion action categories, the customer must have valid Store Visits/ - // Store Sales conversion actions. - INELIGIBLE_CONVERSION_ACTION_CATEGORIES = 11; - - // If NO_CONDITION is used as a dimension of a value rule set, it must be - // the only dimension. - DIMENSION_NO_CONDITION_USED_WITH_OTHER_DIMENSIONS = 12; - - // Dimension NO_CONDITION can only be used by Store Visits/Store Sales value - // rule set. - DIMENSION_NO_CONDITION_NOT_ALLOWED = 13; - - // Value rule sets defined on the specified conversion action categories are - // not supported. The list of conversion action categories must be an empty - // list, only STORE_VISIT, or only STORE_SALE. - UNSUPPORTED_CONVERSION_ACTION_CATEGORIES = 14; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/country_code_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/country_code_error.proto deleted file mode 100644 index bf77eeac8..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/country_code_error.proto +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CountryCodeErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing country code errors. - -// Container for enum describing country code errors. -message CountryCodeErrorEnum { - // Enum describing country code errors. - enum CountryCodeError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The country code is invalid. - INVALID_COUNTRY_CODE = 2; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/criterion_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/criterion_error.proto deleted file mode 100644 index 8cd517bce..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/criterion_error.proto +++ /dev/null @@ -1,486 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CriterionErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing criterion errors. - -// Container for enum describing possible criterion errors. -message CriterionErrorEnum { - // Enum describing possible criterion errors. - enum CriterionError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Concrete type of criterion is required for CREATE and UPDATE operations. - CONCRETE_TYPE_REQUIRED = 2; - - // The category requested for exclusion is invalid. - INVALID_EXCLUDED_CATEGORY = 3; - - // Invalid keyword criteria text. - INVALID_KEYWORD_TEXT = 4; - - // Keyword text should be less than 80 chars. - KEYWORD_TEXT_TOO_LONG = 5; - - // Keyword text has too many words. - KEYWORD_HAS_TOO_MANY_WORDS = 6; - - // Keyword text has invalid characters or symbols. - KEYWORD_HAS_INVALID_CHARS = 7; - - // Invalid placement URL. - INVALID_PLACEMENT_URL = 8; - - // Invalid user list criterion. - INVALID_USER_LIST = 9; - - // Invalid user interest criterion. - INVALID_USER_INTEREST = 10; - - // Placement URL has wrong format. - INVALID_FORMAT_FOR_PLACEMENT_URL = 11; - - // Placement URL is too long. - PLACEMENT_URL_IS_TOO_LONG = 12; - - // Indicates the URL contains an illegal character. - PLACEMENT_URL_HAS_ILLEGAL_CHAR = 13; - - // Indicates the URL contains multiple comma separated URLs. - PLACEMENT_URL_HAS_MULTIPLE_SITES_IN_LINE = 14; - - // Indicates the domain is blocked. - PLACEMENT_IS_NOT_AVAILABLE_FOR_TARGETING_OR_EXCLUSION = 15; - - // Invalid topic path. - INVALID_TOPIC_PATH = 16; - - // The YouTube Channel Id is invalid. - INVALID_YOUTUBE_CHANNEL_ID = 17; - - // The YouTube Video Id is invalid. - INVALID_YOUTUBE_VIDEO_ID = 18; - - // Indicates the placement is a YouTube vertical channel, which is no longer - // supported. - YOUTUBE_VERTICAL_CHANNEL_DEPRECATED = 19; - - // Indicates the placement is a YouTube demographic channel, which is no - // longer supported. - YOUTUBE_DEMOGRAPHIC_CHANNEL_DEPRECATED = 20; - - // YouTube urls are not supported in Placement criterion. Use YouTubeChannel - // and YouTubeVideo criterion instead. - YOUTUBE_URL_UNSUPPORTED = 21; - - // Criteria type can not be excluded by the customer, like AOL account type - // cannot target site type criteria. - CANNOT_EXCLUDE_CRITERIA_TYPE = 22; - - // Criteria type can not be targeted. - CANNOT_ADD_CRITERIA_TYPE = 23; - - // Not allowed to exclude similar user list. - CANNOT_EXCLUDE_SIMILAR_USER_LIST = 26; - - // Not allowed to target a closed user list. - CANNOT_ADD_CLOSED_USER_LIST = 27; - - // Not allowed to add display only UserLists to search only campaigns. - CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_ONLY_CAMPAIGNS = 28; - - // Not allowed to add display only UserLists to search plus campaigns. - CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_CAMPAIGNS = 29; - - // Not allowed to add display only UserLists to shopping campaigns. - CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SHOPPING_CAMPAIGNS = 30; - - // Not allowed to add User interests to search only campaigns. - CANNOT_ADD_USER_INTERESTS_TO_SEARCH_CAMPAIGNS = 31; - - // Not allowed to set bids for this criterion type in search campaigns - CANNOT_SET_BIDS_ON_CRITERION_TYPE_IN_SEARCH_CAMPAIGNS = 32; - - // Final URLs, URL Templates and CustomParameters cannot be set for the - // criterion types of Gender, AgeRange, UserList, Placement, MobileApp, and - // MobileAppCategory in search campaigns and shopping campaigns. - CANNOT_ADD_URLS_TO_CRITERION_TYPE_FOR_CAMPAIGN_TYPE = 33; - - // Invalid combined audience criterion. - INVALID_COMBINED_AUDIENCE = 122; - - // Invalid custom affinity criterion. - INVALID_CUSTOM_AFFINITY = 96; - - // Invalid custom intent criterion. - INVALID_CUSTOM_INTENT = 97; - - // Invalid custom audience criterion. - INVALID_CUSTOM_AUDIENCE = 121; - - // IP address is not valid. - INVALID_IP_ADDRESS = 34; - - // IP format is not valid. - INVALID_IP_FORMAT = 35; - - // Mobile application is not valid. - INVALID_MOBILE_APP = 36; - - // Mobile application category is not valid. - INVALID_MOBILE_APP_CATEGORY = 37; - - // The CriterionId does not exist or is of the incorrect type. - INVALID_CRITERION_ID = 38; - - // The Criterion is not allowed to be targeted. - CANNOT_TARGET_CRITERION = 39; - - // The criterion is not allowed to be targeted as it is deprecated. - CANNOT_TARGET_OBSOLETE_CRITERION = 40; - - // The CriterionId is not valid for the type. - CRITERION_ID_AND_TYPE_MISMATCH = 41; - - // Distance for the radius for the proximity criterion is invalid. - INVALID_PROXIMITY_RADIUS = 42; - - // Units for the distance for the radius for the proximity criterion is - // invalid. - INVALID_PROXIMITY_RADIUS_UNITS = 43; - - // Street address in the address is not valid. - INVALID_STREETADDRESS_LENGTH = 44; - - // City name in the address is not valid. - INVALID_CITYNAME_LENGTH = 45; - - // Region code in the address is not valid. - INVALID_REGIONCODE_LENGTH = 46; - - // Region name in the address is not valid. - INVALID_REGIONNAME_LENGTH = 47; - - // Postal code in the address is not valid. - INVALID_POSTALCODE_LENGTH = 48; - - // Country code in the address is not valid. - INVALID_COUNTRY_CODE = 49; - - // Latitude for the GeoPoint is not valid. - INVALID_LATITUDE = 50; - - // Longitude for the GeoPoint is not valid. - INVALID_LONGITUDE = 51; - - // The Proximity input is not valid. Both address and geoPoint cannot be - // null. - PROXIMITY_GEOPOINT_AND_ADDRESS_BOTH_CANNOT_BE_NULL = 52; - - // The Proximity address cannot be geocoded to a valid lat/long. - INVALID_PROXIMITY_ADDRESS = 53; - - // User domain name is not valid. - INVALID_USER_DOMAIN_NAME = 54; - - // Length of serialized criterion parameter exceeded size limit. - CRITERION_PARAMETER_TOO_LONG = 55; - - // Time interval in the AdSchedule overlaps with another AdSchedule. - AD_SCHEDULE_TIME_INTERVALS_OVERLAP = 56; - - // AdSchedule time interval cannot span multiple days. - AD_SCHEDULE_INTERVAL_CANNOT_SPAN_MULTIPLE_DAYS = 57; - - // AdSchedule time interval specified is invalid, endTime cannot be earlier - // than startTime. - AD_SCHEDULE_INVALID_TIME_INTERVAL = 58; - - // The number of AdSchedule entries in a day exceeds the limit. - AD_SCHEDULE_EXCEEDED_INTERVALS_PER_DAY_LIMIT = 59; - - // CriteriaId does not match the interval of the AdSchedule specified. - AD_SCHEDULE_CRITERION_ID_MISMATCHING_FIELDS = 60; - - // Cannot set bid modifier for this criterion type. - CANNOT_BID_MODIFY_CRITERION_TYPE = 61; - - // Cannot bid modify criterion, since it is opted out of the campaign. - CANNOT_BID_MODIFY_CRITERION_CAMPAIGN_OPTED_OUT = 62; - - // Cannot set bid modifier for a negative criterion. - CANNOT_BID_MODIFY_NEGATIVE_CRITERION = 63; - - // Bid Modifier already exists. Use SET operation to update. - BID_MODIFIER_ALREADY_EXISTS = 64; - - // Feed Id is not allowed in these Location Groups. - FEED_ID_NOT_ALLOWED = 65; - - // The account may not use the requested criteria type. For example, some - // accounts are restricted to keywords only. - ACCOUNT_INELIGIBLE_FOR_CRITERIA_TYPE = 66; - - // The requested criteria type cannot be used with campaign or ad group - // bidding strategy. - CRITERIA_TYPE_INVALID_FOR_BIDDING_STRATEGY = 67; - - // The Criterion is not allowed to be excluded. - CANNOT_EXCLUDE_CRITERION = 68; - - // The criterion is not allowed to be removed. For example, we cannot remove - // any of the device criterion. - CANNOT_REMOVE_CRITERION = 69; - - // Bidding categories do not form a valid path in the Shopping bidding - // category taxonomy. - INVALID_PRODUCT_BIDDING_CATEGORY = 76; - - // ShoppingSetting must be added to the campaign before ProductScope - // criteria can be added. - MISSING_SHOPPING_SETTING = 77; - - // Matching function is invalid. - INVALID_MATCHING_FUNCTION = 78; - - // Filter parameters not allowed for location groups targeting. - LOCATION_FILTER_NOT_ALLOWED = 79; - - // Feed not found, or the feed is not an enabled location feed. - INVALID_FEED_FOR_LOCATION_FILTER = 98; - - // Given location filter parameter is invalid for location groups targeting. - LOCATION_FILTER_INVALID = 80; - - // Cannot set geo target constants and feed item sets at the same time. - CANNOT_SET_GEO_TARGET_CONSTANTS_WITH_FEED_ITEM_SETS = 123; - - // Cannot set both assetset and feed at the same time. - CANNOT_SET_BOTH_ASSET_SET_AND_FEED = 140; - - // Cannot set feed or feed item sets for Customer. - CANNOT_SET_FEED_OR_FEED_ITEM_SETS_FOR_CUSTOMER = 142; - - // Cannot set AssetSet criteria for customer. - CANNOT_SET_ASSET_SET_FIELD_FOR_CUSTOMER = 150; - - // Cannot set geo target constants and asset sets at the same time. - CANNOT_SET_GEO_TARGET_CONSTANTS_WITH_ASSET_SETS = 143; - - // Cannot set asset sets and feed item sets at the same time. - CANNOT_SET_ASSET_SETS_WITH_FEED_ITEM_SETS = 144; - - // The location group asset set id is invalid - INVALID_LOCATION_GROUP_ASSET_SET = 141; - - // The location group radius is in the range but not at the valid increment. - INVALID_LOCATION_GROUP_RADIUS = 124; - - // The location group radius unit is invalid. - INVALID_LOCATION_GROUP_RADIUS_UNIT = 125; - - // Criteria type cannot be associated with a campaign and its ad group(s) - // simultaneously. - CANNOT_ATTACH_CRITERIA_AT_CAMPAIGN_AND_ADGROUP = 81; - - // Range represented by hotel length of stay's min nights and max nights - // overlaps with an existing criterion. - HOTEL_LENGTH_OF_STAY_OVERLAPS_WITH_EXISTING_CRITERION = 82; - - // Range represented by hotel advance booking window's min days and max days - // overlaps with an existing criterion. - HOTEL_ADVANCE_BOOKING_WINDOW_OVERLAPS_WITH_EXISTING_CRITERION = 83; - - // The field is not allowed to be set when the negative field is set to - // true, for example, we don't allow bids in negative ad group or campaign - // criteria. - FIELD_INCOMPATIBLE_WITH_NEGATIVE_TARGETING = 84; - - // The combination of operand and operator in webpage condition is invalid. - INVALID_WEBPAGE_CONDITION = 85; - - // The URL of webpage condition is invalid. - INVALID_WEBPAGE_CONDITION_URL = 86; - - // The URL of webpage condition cannot be empty or contain white space. - WEBPAGE_CONDITION_URL_CANNOT_BE_EMPTY = 87; - - // The URL of webpage condition contains an unsupported protocol. - WEBPAGE_CONDITION_URL_UNSUPPORTED_PROTOCOL = 88; - - // The URL of webpage condition cannot be an IP address. - WEBPAGE_CONDITION_URL_CANNOT_BE_IP_ADDRESS = 89; - - // The domain of the URL is not consistent with the domain in campaign - // setting. - WEBPAGE_CONDITION_URL_DOMAIN_NOT_CONSISTENT_WITH_CAMPAIGN_SETTING = 90; - - // The URL of webpage condition cannot be a public suffix itself. - WEBPAGE_CONDITION_URL_CANNOT_BE_PUBLIC_SUFFIX = 91; - - // The URL of webpage condition has an invalid public suffix. - WEBPAGE_CONDITION_URL_INVALID_PUBLIC_SUFFIX = 92; - - // Value track parameter is not supported in webpage condition URL. - WEBPAGE_CONDITION_URL_VALUE_TRACK_VALUE_NOT_SUPPORTED = 93; - - // Only one URL-EQUALS webpage condition is allowed in a webpage - // criterion and it cannot be combined with other conditions. - WEBPAGE_CRITERION_URL_EQUALS_CAN_HAVE_ONLY_ONE_CONDITION = 94; - - // A webpage criterion cannot be added to a non-DSA ad group. - WEBPAGE_CRITERION_NOT_SUPPORTED_ON_NON_DSA_AD_GROUP = 95; - - // Cannot add positive user list criteria in Smart Display campaigns. - CANNOT_TARGET_USER_LIST_FOR_SMART_DISPLAY_CAMPAIGNS = 99; - - // Cannot add positive placement criterion types in search campaigns. - CANNOT_TARGET_PLACEMENTS_FOR_SEARCH_CAMPAIGNS = 126; - - // Listing scope contains too many dimension types. - LISTING_SCOPE_TOO_MANY_DIMENSION_TYPES = 100; - - // Listing scope has too many IN operators. - LISTING_SCOPE_TOO_MANY_IN_OPERATORS = 101; - - // Listing scope contains IN operator on an unsupported dimension type. - LISTING_SCOPE_IN_OPERATOR_NOT_SUPPORTED = 102; - - // There are dimensions with duplicate dimension type. - DUPLICATE_LISTING_DIMENSION_TYPE = 103; - - // There are dimensions with duplicate dimension value. - DUPLICATE_LISTING_DIMENSION_VALUE = 104; - - // Listing group SUBDIVISION nodes cannot have bids. - CANNOT_SET_BIDS_ON_LISTING_GROUP_SUBDIVISION = 105; - - // Ad group is invalid due to the listing groups it contains. - INVALID_LISTING_GROUP_HIERARCHY = 106; - - // Listing group unit cannot have children. - LISTING_GROUP_UNIT_CANNOT_HAVE_CHILDREN = 107; - - // Subdivided listing groups must have an "others" case. - LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE = 108; - - // Dimension type of listing group must be the same as that of its siblings. - LISTING_GROUP_REQUIRES_SAME_DIMENSION_TYPE_AS_SIBLINGS = 109; - - // Listing group cannot be added to the ad group because it already exists. - LISTING_GROUP_ALREADY_EXISTS = 110; - - // Listing group referenced in the operation was not found in the ad group. - LISTING_GROUP_DOES_NOT_EXIST = 111; - - // Recursive removal failed because listing group subdivision is being - // created or modified in this request. - LISTING_GROUP_CANNOT_BE_REMOVED = 112; - - // Listing group type is not allowed for specified ad group criterion type. - INVALID_LISTING_GROUP_TYPE = 113; - - // Listing group in an ADD operation specifies a non temporary criterion id. - LISTING_GROUP_ADD_MAY_ONLY_USE_TEMP_ID = 114; - - // The combined length of dimension values of the Listing scope criterion - // is too long. - LISTING_SCOPE_TOO_LONG = 115; - - // Listing scope contains too many dimensions. - LISTING_SCOPE_TOO_MANY_DIMENSIONS = 116; - - // The combined length of dimension values of the Listing group criterion is - // too long. - LISTING_GROUP_TOO_LONG = 117; - - // Listing group tree is too deep. - LISTING_GROUP_TREE_TOO_DEEP = 118; - - // Listing dimension is invalid (for example, dimension contains illegal - // value, dimension type is represented with wrong class, etc). Listing - // dimension value can not contain "==" or "&+". - INVALID_LISTING_DIMENSION = 119; - - // Listing dimension type is either invalid for campaigns of this type or - // cannot be used in the current context. BIDDING_CATEGORY_Lx and - // PRODUCT_TYPE_Lx dimensions must be used in ascending order of their - // levels: L1, L2, L3, L4, L5... The levels must be specified sequentially - // and start from L1. Furthermore, an "others" Listing group cannot be - // subdivided with a dimension of the same type but of a higher level - // ("others" BIDDING_CATEGORY_L3 can be subdivided with BRAND but not with - // BIDDING_CATEGORY_L4). - INVALID_LISTING_DIMENSION_TYPE = 120; - - // Customer is not on allowlist for composite audience in display campaigns. - ADVERTISER_NOT_ON_ALLOWLIST_FOR_COMBINED_AUDIENCE_ON_DISPLAY = 127; - - // Cannot target on a removed combined audience. - CANNOT_TARGET_REMOVED_COMBINED_AUDIENCE = 128; - - // Combined audience ID is invalid. - INVALID_COMBINED_AUDIENCE_ID = 129; - - // Can not target removed combined audience. - CANNOT_TARGET_REMOVED_CUSTOM_AUDIENCE = 130; - - // Range represented by hotel check-in date's start date and end date - // overlaps with an existing criterion. - HOTEL_CHECK_IN_DATE_RANGE_OVERLAPS_WITH_EXISTING_CRITERION = 131; - - // Start date is earlier than earliest allowed value of yesterday UTC. - HOTEL_CHECK_IN_DATE_RANGE_START_DATE_TOO_EARLY = 132; - - // End date later is than latest allowed day of 330 days in the future UTC. - HOTEL_CHECK_IN_DATE_RANGE_END_DATE_TOO_LATE = 133; - - // Start date is after end date. - HOTEL_CHECK_IN_DATE_RANGE_REVERSED = 134; - - // Broad match modifier (BMM) keywords can no longer be created. See - // https://ads-developers.googleblog.com/2021/06/broad-match-modifier-upcoming-changes.html. - BROAD_MATCH_MODIFIER_KEYWORD_NOT_ALLOWED = 135; - - // Only one audience is allowed in an asset group. - ONE_AUDIENCE_ALLOWED_PER_ASSET_GROUP = 136; - - // Audience is not supported for the specified campaign type. - AUDIENCE_NOT_ELIGIBLE_FOR_CAMPAIGN_TYPE = 137; - - // Audience is not allowed to attach when use_audience_grouped bit is set to - // false. - AUDIENCE_NOT_ALLOWED_TO_ATTACH_WHEN_AUDIENCE_GROUPED_SET_TO_FALSE = 138; - - // Targeting is not allowed for Customer Match lists as per Customer Match - // policy. See - // https://support.google.com/google-ads/answer/6299717. - CANNOT_TARGET_CUSTOMER_MATCH_USER_LIST = 139; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/currency_code_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/currency_code_error.proto deleted file mode 100644 index 39817e938..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/currency_code_error.proto +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CurrencyCodeErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing currency code errors. - -// Container for enum describing possible currency code errors. -message CurrencyCodeErrorEnum { - // Enum describing possible currency code errors. - enum CurrencyCodeError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The currency code is not supported. - UNSUPPORTED = 2; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/currency_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/currency_error.proto deleted file mode 100644 index ca37ab26f..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/currency_error.proto +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CurrencyErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing currency errors. - -// Container for enum describing possible currency errors. -message CurrencyErrorEnum { - // Enum describing possible currency errors. - enum CurrencyError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Bid must be a multiple of billable unit. - VALUE_NOT_MULTIPLE_OF_BILLABLE_UNIT = 2; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/custom_audience_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/custom_audience_error.proto deleted file mode 100644 index 09cbda7da..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/custom_audience_error.proto +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomAudienceErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing custom audience errors. - -// Container for enum describing possible custom audience errors. -message CustomAudienceErrorEnum { - // Enum describing possible custom audience errors. - enum CustomAudienceError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // New name in the custom audience is duplicated ignoring cases. - NAME_ALREADY_USED = 2; - - // Cannot remove a custom audience while it's still being used as targeting. - CANNOT_REMOVE_WHILE_IN_USE = 3; - - // Cannot update or remove a custom audience that is already removed. - RESOURCE_ALREADY_REMOVED = 4; - - // The pair of [type, value] already exists in members. - MEMBER_TYPE_AND_PARAMETER_ALREADY_EXISTED = 5; - - // Member type is invalid. - INVALID_MEMBER_TYPE = 6; - - // Member type does not have associated value. - MEMBER_TYPE_AND_VALUE_DOES_NOT_MATCH = 7; - - // Custom audience contains a member that violates policy. - POLICY_VIOLATION = 8; - - // Change in custom audience type is not allowed. - INVALID_TYPE_CHANGE = 9; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/custom_conversion_goal_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/custom_conversion_goal_error.proto deleted file mode 100644 index 8fe8e501c..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/custom_conversion_goal_error.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomConversionGoalErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing CustomConversionGoal errors. - -// Container for enum describing possible custom conversion goal errors. -message CustomConversionGoalErrorEnum { - // Enum describing possible custom conversion goal errors. - enum CustomConversionGoalError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Cannot find a conversion action with the specified id. - INVALID_CONVERSION_ACTION = 2; - - // The conversion action is not enabled so it cannot be included in a custom - // conversion goal. - CONVERSION_ACTION_NOT_ENABLED = 3; - - // The custom conversion goal cannot be removed because it's linked to a - // campaign. - CANNOT_REMOVE_LINKED_CUSTOM_CONVERSION_GOAL = 4; - - // Custom goal with the same name already exists. - CUSTOM_GOAL_DUPLICATE_NAME = 5; - - // Custom goal with the same conversion action list already exists. - DUPLICATE_CONVERSION_ACTION_LIST = 6; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/custom_interest_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/custom_interest_error.proto deleted file mode 100644 index fe3e58174..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/custom_interest_error.proto +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomInterestErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing custom interest errors. - -// Container for enum describing possible custom interest errors. -message CustomInterestErrorEnum { - // Enum describing possible custom interest errors. - enum CustomInterestError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Duplicate custom interest name ignoring case. - NAME_ALREADY_USED = 2; - - // In the remove custom interest member operation, both member ID and - // pair [type, parameter] are not present. - CUSTOM_INTEREST_MEMBER_ID_AND_TYPE_PARAMETER_NOT_PRESENT_IN_REMOVE = 3; - - // The pair of [type, parameter] does not exist. - TYPE_AND_PARAMETER_NOT_FOUND = 4; - - // The pair of [type, parameter] already exists. - TYPE_AND_PARAMETER_ALREADY_EXISTED = 5; - - // Unsupported custom interest member type. - INVALID_CUSTOM_INTEREST_MEMBER_TYPE = 6; - - // Cannot remove a custom interest while it's still being targeted. - CANNOT_REMOVE_WHILE_IN_USE = 7; - - // Cannot mutate custom interest type. - CANNOT_CHANGE_TYPE = 8; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/customer_client_link_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/customer_client_link_error.proto deleted file mode 100644 index 0f4c7f4de..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/customer_client_link_error.proto +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomerClientLinkErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing CustomerClientLink errors. - -// Container for enum describing possible CustomeClientLink errors. -message CustomerClientLinkErrorEnum { - // Enum describing possible CustomerClientLink errors. - enum CustomerClientLinkError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Trying to manage a client that already in being managed by customer. - CLIENT_ALREADY_INVITED_BY_THIS_MANAGER = 2; - - // Already managed by some other manager in the hierarchy. - CLIENT_ALREADY_MANAGED_IN_HIERARCHY = 3; - - // Attempt to create a cycle in the hierarchy. - CYCLIC_LINK_NOT_ALLOWED = 4; - - // Managed accounts has the maximum number of linked accounts. - CUSTOMER_HAS_TOO_MANY_ACCOUNTS = 5; - - // Invitor has the maximum pending invitations. - CLIENT_HAS_TOO_MANY_INVITATIONS = 6; - - // Attempt to change hidden status of a link that is not active. - CANNOT_HIDE_OR_UNHIDE_MANAGER_ACCOUNTS = 7; - - // Parent manager account has the maximum number of linked accounts. - CUSTOMER_HAS_TOO_MANY_ACCOUNTS_AT_MANAGER = 8; - - // Client has too many managers. - CLIENT_HAS_TOO_MANY_MANAGERS = 9; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/customer_customizer_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/customer_customizer_error.proto deleted file mode 100644 index 656366ea0..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/customer_customizer_error.proto +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomerCustomizerErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing customer customizer errors. - -// Container for enum describing possible customer customizer errors. -message CustomerCustomizerErrorEnum { - // Enum describing possible customer customizer errors. - enum CustomerCustomizerError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/customer_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/customer_error.proto deleted file mode 100644 index 64780945a..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/customer_error.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomerErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Container for enum describing possible customer errors. -message CustomerErrorEnum { - // Set of errors that are related to requests dealing with Customer. - enum CustomerError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Customer status is not allowed to be changed from DRAFT and CLOSED. - // Currency code and at least one of country code and time zone needs to be - // set when status is changed to ENABLED. - STATUS_CHANGE_DISALLOWED = 2; - - // CustomerService cannot get a customer that has not been fully set up. - ACCOUNT_NOT_SET_UP = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/customer_feed_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/customer_feed_error.proto deleted file mode 100644 index 234799a87..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/customer_feed_error.proto +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomerFeedErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing customer feed errors. - -// Container for enum describing possible customer feed errors. -message CustomerFeedErrorEnum { - // Enum describing possible customer feed errors. - enum CustomerFeedError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // An active feed already exists for this customer and place holder type. - FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE = 2; - - // The specified feed is removed. - CANNOT_CREATE_FOR_REMOVED_FEED = 3; - - // The CustomerFeed already exists. Update should be used to modify the - // existing CustomerFeed. - CANNOT_CREATE_ALREADY_EXISTING_CUSTOMER_FEED = 4; - - // Cannot update removed customer feed. - CANNOT_MODIFY_REMOVED_CUSTOMER_FEED = 5; - - // Invalid placeholder type. - INVALID_PLACEHOLDER_TYPE = 6; - - // Feed mapping for this placeholder type does not exist. - MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE = 7; - - // Placeholder not allowed at the account level. - PLACEHOLDER_TYPE_NOT_ALLOWED_ON_CUSTOMER_FEED = 8; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/customer_manager_link_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/customer_manager_link_error.proto deleted file mode 100644 index cb9173abc..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/customer_manager_link_error.proto +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomerManagerLinkErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing CustomerManagerLink errors. - -// Container for enum describing possible CustomerManagerLink errors. -message CustomerManagerLinkErrorEnum { - // Enum describing possible CustomerManagerLink errors. - enum CustomerManagerLinkError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // No pending invitation. - NO_PENDING_INVITE = 2; - - // Attempt to operate on the same client more than once in the same call. - SAME_CLIENT_MORE_THAN_ONCE_PER_CALL = 3; - - // Manager account has the maximum number of linked accounts. - MANAGER_HAS_MAX_NUMBER_OF_LINKED_ACCOUNTS = 4; - - // If no active user on account it cannot be unlinked from its manager. - CANNOT_UNLINK_ACCOUNT_WITHOUT_ACTIVE_USER = 5; - - // Account should have at least one active owner on it before being - // unlinked. - CANNOT_REMOVE_LAST_CLIENT_ACCOUNT_OWNER = 6; - - // Only account owners may change their permission role. - CANNOT_CHANGE_ROLE_BY_NON_ACCOUNT_OWNER = 7; - - // When a client's link to its manager is not active, the link role cannot - // be changed. - CANNOT_CHANGE_ROLE_FOR_NON_ACTIVE_LINK_ACCOUNT = 8; - - // Attempt to link a child to a parent that contains or will contain - // duplicate children. - DUPLICATE_CHILD_FOUND = 9; - - // The authorized customer is a test account. It can add no more than the - // allowed number of accounts - TEST_ACCOUNT_LINKS_TOO_MANY_CHILD_ACCOUNTS = 10; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/customer_user_access_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/customer_user_access_error.proto deleted file mode 100644 index 962060935..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/customer_user_access_error.proto +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomerUserAccessErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing CustomerUserAccess errors. - -// Container for enum describing possible CustomerUserAccess errors. -message CustomerUserAccessErrorEnum { - // Enum describing possible customer user access errors. - enum CustomerUserAccessError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // There is no user associated with the user id specified. - INVALID_USER_ID = 2; - - // Unable to remove the access between the user and customer. - REMOVAL_DISALLOWED = 3; - - // Unable to add or update the access role as specified. - DISALLOWED_ACCESS_ROLE = 4; - - // The user can't remove itself from an active serving customer if it's the - // last admin user and the customer doesn't have any owner manager - LAST_ADMIN_USER_OF_SERVING_CUSTOMER = 5; - - // Last admin user cannot be removed from a manager. - LAST_ADMIN_USER_OF_MANAGER = 6; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/customizer_attribute_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/customizer_attribute_error.proto deleted file mode 100644 index eb326646b..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/customizer_attribute_error.proto +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomizerAttributeErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing customizer attribute errors. - -// Container for enum describing possible customizer attribute errors. -message CustomizerAttributeErrorEnum { - // Enum describing possible customizer attribute errors. - enum CustomizerAttributeError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // CustomizerAttribute name matches that of another active - // CustomizerAttribute. - DUPLICATE_CUSTOMIZER_ATTRIBUTE_NAME = 2; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/database_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/database_error.proto deleted file mode 100644 index 12c3fff2e..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/database_error.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "DatabaseErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing database errors. - -// Container for enum describing possible database errors. -message DatabaseErrorEnum { - // Enum describing possible database errors. - enum DatabaseError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Multiple requests were attempting to modify the same resource at once. - // Retry the request. - CONCURRENT_MODIFICATION = 2; - - // The request conflicted with existing data. This error will usually be - // replaced with a more specific error if the request is retried. - DATA_CONSTRAINT_VIOLATION = 3; - - // The data written is too large. Split the request into smaller - // requests. - REQUEST_TOO_LARGE = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/date_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/date_error.proto deleted file mode 100644 index cf9bb0c47..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/date_error.proto +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "DateErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing date errors. - -// Container for enum describing possible date errors. -message DateErrorEnum { - // Enum describing possible date errors. - enum DateError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Given field values do not correspond to a valid date. - INVALID_FIELD_VALUES_IN_DATE = 2; - - // Given field values do not correspond to a valid date time. - INVALID_FIELD_VALUES_IN_DATE_TIME = 3; - - // The string date's format should be yyyy-mm-dd. - INVALID_STRING_DATE = 4; - - // The string date time's format should be yyyy-mm-dd hh:mm:ss.ssssss. - INVALID_STRING_DATE_TIME_MICROS = 6; - - // The string date time's format should be yyyy-mm-dd hh:mm:ss. - INVALID_STRING_DATE_TIME_SECONDS = 11; - - // The string date time's format should be yyyy-mm-dd hh:mm:ss+|-hh:mm. - INVALID_STRING_DATE_TIME_SECONDS_WITH_OFFSET = 12; - - // Date is before allowed minimum. - EARLIER_THAN_MINIMUM_DATE = 7; - - // Date is after allowed maximum. - LATER_THAN_MAXIMUM_DATE = 8; - - // Date range bounds are not in order. - DATE_RANGE_MINIMUM_DATE_LATER_THAN_MAXIMUM_DATE = 9; - - // Both dates in range are null. - DATE_RANGE_MINIMUM_AND_MAXIMUM_DATES_BOTH_NULL = 10; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/date_range_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/date_range_error.proto deleted file mode 100644 index 9f5bba9be..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/date_range_error.proto +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "DateRangeErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing date range errors. - -// Container for enum describing possible date range errors. -message DateRangeErrorEnum { - // Enum describing possible date range errors. - enum DateRangeError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Invalid date. - INVALID_DATE = 2; - - // The start date was after the end date. - START_DATE_AFTER_END_DATE = 3; - - // Cannot set date to past time - CANNOT_SET_DATE_TO_PAST = 4; - - // A date was used that is past the system "last" date. - AFTER_MAXIMUM_ALLOWABLE_DATE = 5; - - // Trying to change start date on a resource that has started. - CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED = 6; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/distinct_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/distinct_error.proto deleted file mode 100644 index be1c40fe3..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/distinct_error.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "DistinctErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing distinct errors. - -// Container for enum describing possible distinct errors. -message DistinctErrorEnum { - // Enum describing possible distinct errors. - enum DistinctError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Duplicate element. - DUPLICATE_ELEMENT = 2; - - // Duplicate type. - DUPLICATE_TYPE = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/enum_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/enum_error.proto deleted file mode 100644 index 27c565666..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/enum_error.proto +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "EnumErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing enum errors. - -// Container for enum describing possible enum errors. -message EnumErrorEnum { - // Enum describing possible enum errors. - enum EnumError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The enum value is not permitted. - ENUM_VALUE_NOT_PERMITTED = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/errors.proto b/third_party/googleapis/google/ads/googleads/v13/errors/errors.proto deleted file mode 100644 index 4ef71a01b..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/errors.proto +++ /dev/null @@ -1,793 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -import "google/ads/googleads/v13/common/policy.proto"; -import "google/ads/googleads/v13/common/value.proto"; -import "google/ads/googleads/v13/enums/resource_limit_type.proto"; -import "google/ads/googleads/v13/errors/access_invitation_error.proto"; -import "google/ads/googleads/v13/errors/account_budget_proposal_error.proto"; -import "google/ads/googleads/v13/errors/account_link_error.proto"; -import "google/ads/googleads/v13/errors/ad_customizer_error.proto"; -import "google/ads/googleads/v13/errors/ad_error.proto"; -import "google/ads/googleads/v13/errors/ad_group_ad_error.proto"; -import "google/ads/googleads/v13/errors/ad_group_bid_modifier_error.proto"; -import "google/ads/googleads/v13/errors/ad_group_criterion_customizer_error.proto"; -import "google/ads/googleads/v13/errors/ad_group_criterion_error.proto"; -import "google/ads/googleads/v13/errors/ad_group_customizer_error.proto"; -import "google/ads/googleads/v13/errors/ad_group_error.proto"; -import "google/ads/googleads/v13/errors/ad_group_feed_error.proto"; -import "google/ads/googleads/v13/errors/ad_parameter_error.proto"; -import "google/ads/googleads/v13/errors/ad_sharing_error.proto"; -import "google/ads/googleads/v13/errors/adx_error.proto"; -import "google/ads/googleads/v13/errors/asset_error.proto"; -import "google/ads/googleads/v13/errors/asset_group_asset_error.proto"; -import "google/ads/googleads/v13/errors/asset_group_error.proto"; -import "google/ads/googleads/v13/errors/asset_group_listing_group_filter_error.proto"; -import "google/ads/googleads/v13/errors/asset_link_error.proto"; -import "google/ads/googleads/v13/errors/asset_set_asset_error.proto"; -import "google/ads/googleads/v13/errors/asset_set_error.proto"; -import "google/ads/googleads/v13/errors/asset_set_link_error.proto"; -import "google/ads/googleads/v13/errors/audience_error.proto"; -import "google/ads/googleads/v13/errors/audience_insights_error.proto"; -import "google/ads/googleads/v13/errors/authentication_error.proto"; -import "google/ads/googleads/v13/errors/authorization_error.proto"; -import "google/ads/googleads/v13/errors/batch_job_error.proto"; -import "google/ads/googleads/v13/errors/bidding_error.proto"; -import "google/ads/googleads/v13/errors/bidding_strategy_error.proto"; -import "google/ads/googleads/v13/errors/billing_setup_error.proto"; -import "google/ads/googleads/v13/errors/campaign_budget_error.proto"; -import "google/ads/googleads/v13/errors/campaign_conversion_goal_error.proto"; -import "google/ads/googleads/v13/errors/campaign_criterion_error.proto"; -import "google/ads/googleads/v13/errors/campaign_customizer_error.proto"; -import "google/ads/googleads/v13/errors/campaign_draft_error.proto"; -import "google/ads/googleads/v13/errors/campaign_error.proto"; -import "google/ads/googleads/v13/errors/campaign_experiment_error.proto"; -import "google/ads/googleads/v13/errors/campaign_feed_error.proto"; -import "google/ads/googleads/v13/errors/campaign_shared_set_error.proto"; -import "google/ads/googleads/v13/errors/change_event_error.proto"; -import "google/ads/googleads/v13/errors/change_status_error.proto"; -import "google/ads/googleads/v13/errors/collection_size_error.proto"; -import "google/ads/googleads/v13/errors/context_error.proto"; -import "google/ads/googleads/v13/errors/conversion_action_error.proto"; -import "google/ads/googleads/v13/errors/conversion_adjustment_upload_error.proto"; -import "google/ads/googleads/v13/errors/conversion_custom_variable_error.proto"; -import "google/ads/googleads/v13/errors/conversion_goal_campaign_config_error.proto"; -import "google/ads/googleads/v13/errors/conversion_upload_error.proto"; -import "google/ads/googleads/v13/errors/conversion_value_rule_error.proto"; -import "google/ads/googleads/v13/errors/conversion_value_rule_set_error.proto"; -import "google/ads/googleads/v13/errors/country_code_error.proto"; -import "google/ads/googleads/v13/errors/criterion_error.proto"; -import "google/ads/googleads/v13/errors/currency_code_error.proto"; -import "google/ads/googleads/v13/errors/currency_error.proto"; -import "google/ads/googleads/v13/errors/custom_audience_error.proto"; -import "google/ads/googleads/v13/errors/custom_conversion_goal_error.proto"; -import "google/ads/googleads/v13/errors/custom_interest_error.proto"; -import "google/ads/googleads/v13/errors/customer_client_link_error.proto"; -import "google/ads/googleads/v13/errors/customer_customizer_error.proto"; -import "google/ads/googleads/v13/errors/customer_error.proto"; -import "google/ads/googleads/v13/errors/customer_feed_error.proto"; -import "google/ads/googleads/v13/errors/customer_manager_link_error.proto"; -import "google/ads/googleads/v13/errors/customer_user_access_error.proto"; -import "google/ads/googleads/v13/errors/customizer_attribute_error.proto"; -import "google/ads/googleads/v13/errors/database_error.proto"; -import "google/ads/googleads/v13/errors/date_error.proto"; -import "google/ads/googleads/v13/errors/date_range_error.proto"; -import "google/ads/googleads/v13/errors/distinct_error.proto"; -import "google/ads/googleads/v13/errors/enum_error.proto"; -import "google/ads/googleads/v13/errors/experiment_arm_error.proto"; -import "google/ads/googleads/v13/errors/experiment_error.proto"; -import "google/ads/googleads/v13/errors/extension_feed_item_error.proto"; -import "google/ads/googleads/v13/errors/extension_setting_error.proto"; -import "google/ads/googleads/v13/errors/feed_attribute_reference_error.proto"; -import "google/ads/googleads/v13/errors/feed_error.proto"; -import "google/ads/googleads/v13/errors/feed_item_error.proto"; -import "google/ads/googleads/v13/errors/feed_item_set_error.proto"; -import "google/ads/googleads/v13/errors/feed_item_set_link_error.proto"; -import "google/ads/googleads/v13/errors/feed_item_target_error.proto"; -import "google/ads/googleads/v13/errors/feed_item_validation_error.proto"; -import "google/ads/googleads/v13/errors/feed_mapping_error.proto"; -import "google/ads/googleads/v13/errors/field_error.proto"; -import "google/ads/googleads/v13/errors/field_mask_error.proto"; -import "google/ads/googleads/v13/errors/function_error.proto"; -import "google/ads/googleads/v13/errors/function_parsing_error.proto"; -import "google/ads/googleads/v13/errors/geo_target_constant_suggestion_error.proto"; -import "google/ads/googleads/v13/errors/header_error.proto"; -import "google/ads/googleads/v13/errors/id_error.proto"; -import "google/ads/googleads/v13/errors/image_error.proto"; -import "google/ads/googleads/v13/errors/internal_error.proto"; -import "google/ads/googleads/v13/errors/invoice_error.proto"; -import "google/ads/googleads/v13/errors/keyword_plan_ad_group_error.proto"; -import "google/ads/googleads/v13/errors/keyword_plan_ad_group_keyword_error.proto"; -import "google/ads/googleads/v13/errors/keyword_plan_campaign_error.proto"; -import "google/ads/googleads/v13/errors/keyword_plan_campaign_keyword_error.proto"; -import "google/ads/googleads/v13/errors/keyword_plan_error.proto"; -import "google/ads/googleads/v13/errors/keyword_plan_idea_error.proto"; -import "google/ads/googleads/v13/errors/label_error.proto"; -import "google/ads/googleads/v13/errors/language_code_error.proto"; -import "google/ads/googleads/v13/errors/list_operation_error.proto"; -import "google/ads/googleads/v13/errors/manager_link_error.proto"; -import "google/ads/googleads/v13/errors/media_bundle_error.proto"; -import "google/ads/googleads/v13/errors/media_file_error.proto"; -import "google/ads/googleads/v13/errors/media_upload_error.proto"; -import "google/ads/googleads/v13/errors/merchant_center_error.proto"; -import "google/ads/googleads/v13/errors/multiplier_error.proto"; -import "google/ads/googleads/v13/errors/mutate_error.proto"; -import "google/ads/googleads/v13/errors/new_resource_creation_error.proto"; -import "google/ads/googleads/v13/errors/not_allowlisted_error.proto"; -import "google/ads/googleads/v13/errors/not_empty_error.proto"; -import "google/ads/googleads/v13/errors/null_error.proto"; -import "google/ads/googleads/v13/errors/offline_user_data_job_error.proto"; -import "google/ads/googleads/v13/errors/operation_access_denied_error.proto"; -import "google/ads/googleads/v13/errors/operator_error.proto"; -import "google/ads/googleads/v13/errors/partial_failure_error.proto"; -import "google/ads/googleads/v13/errors/payments_account_error.proto"; -import "google/ads/googleads/v13/errors/policy_finding_error.proto"; -import "google/ads/googleads/v13/errors/policy_validation_parameter_error.proto"; -import "google/ads/googleads/v13/errors/policy_violation_error.proto"; -import "google/ads/googleads/v13/errors/query_error.proto"; -import "google/ads/googleads/v13/errors/quota_error.proto"; -import "google/ads/googleads/v13/errors/range_error.proto"; -import "google/ads/googleads/v13/errors/reach_plan_error.proto"; -import "google/ads/googleads/v13/errors/recommendation_error.proto"; -import "google/ads/googleads/v13/errors/region_code_error.proto"; -import "google/ads/googleads/v13/errors/request_error.proto"; -import "google/ads/googleads/v13/errors/resource_access_denied_error.proto"; -import "google/ads/googleads/v13/errors/resource_count_limit_exceeded_error.proto"; -import "google/ads/googleads/v13/errors/setting_error.proto"; -import "google/ads/googleads/v13/errors/shared_criterion_error.proto"; -import "google/ads/googleads/v13/errors/shared_set_error.proto"; -import "google/ads/googleads/v13/errors/size_limit_error.proto"; -import "google/ads/googleads/v13/errors/smart_campaign_error.proto"; -import "google/ads/googleads/v13/errors/string_format_error.proto"; -import "google/ads/googleads/v13/errors/string_length_error.proto"; -import "google/ads/googleads/v13/errors/third_party_app_analytics_link_error.proto"; -import "google/ads/googleads/v13/errors/time_zone_error.proto"; -import "google/ads/googleads/v13/errors/url_field_error.proto"; -import "google/ads/googleads/v13/errors/user_data_error.proto"; -import "google/ads/googleads/v13/errors/user_list_error.proto"; -import "google/ads/googleads/v13/errors/youtube_video_registration_error.proto"; -import "google/protobuf/duration.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ErrorsProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing the common error protos - -// Describes how a GoogleAds API call failed. It's returned inside -// google.rpc.Status.details when a call fails. -message GoogleAdsFailure { - // The list of errors that occurred. - repeated GoogleAdsError errors = 1; - - // The unique ID of the request that is used for debugging purposes. - string request_id = 2; -} - -// GoogleAds-specific error. -message GoogleAdsError { - // An enum value that indicates which error occurred. - ErrorCode error_code = 1; - - // A human-readable description of the error. - string message = 2; - - // The value that triggered the error. - google.ads.googleads.v13.common.Value trigger = 3; - - // Describes the part of the request proto that caused the error. - ErrorLocation location = 4; - - // Additional error details, which are returned by certain error codes. Most - // error codes do not include details. - ErrorDetails details = 5; -} - -// The error reason represented by type and enum. -message ErrorCode { - // The list of error enums - oneof error_code { - // An error caused by the request - RequestErrorEnum.RequestError request_error = 1; - - // An error with a Bidding Strategy mutate. - BiddingStrategyErrorEnum.BiddingStrategyError bidding_strategy_error = 2; - - // An error with a URL field mutate. - UrlFieldErrorEnum.UrlFieldError url_field_error = 3; - - // An error with a list operation. - ListOperationErrorEnum.ListOperationError list_operation_error = 4; - - // An error with an AWQL query - QueryErrorEnum.QueryError query_error = 5; - - // An error with a mutate - MutateErrorEnum.MutateError mutate_error = 7; - - // An error with a field mask - FieldMaskErrorEnum.FieldMaskError field_mask_error = 8; - - // An error encountered when trying to authorize a user. - AuthorizationErrorEnum.AuthorizationError authorization_error = 9; - - // An unexpected server-side error. - InternalErrorEnum.InternalError internal_error = 10; - - // An error with the amonut of quota remaining. - QuotaErrorEnum.QuotaError quota_error = 11; - - // An error with an Ad Group Ad mutate. - AdErrorEnum.AdError ad_error = 12; - - // An error with an Ad Group mutate. - AdGroupErrorEnum.AdGroupError ad_group_error = 13; - - // An error with a Campaign Budget mutate. - CampaignBudgetErrorEnum.CampaignBudgetError campaign_budget_error = 14; - - // An error with a Campaign mutate. - CampaignErrorEnum.CampaignError campaign_error = 15; - - // Indicates failure to properly authenticate user. - AuthenticationErrorEnum.AuthenticationError authentication_error = 17; - - // The reasons for the ad group criterion customizer error. - AdGroupCriterionCustomizerErrorEnum.AdGroupCriterionCustomizerError - ad_group_criterion_customizer_error = 161; - - // Indicates failure to properly authenticate user. - AdGroupCriterionErrorEnum.AdGroupCriterionError ad_group_criterion_error = - 18; - - // The reasons for the ad group customizer error. - AdGroupCustomizerErrorEnum.AdGroupCustomizerError - ad_group_customizer_error = 159; - - // The reasons for the ad customizer error - AdCustomizerErrorEnum.AdCustomizerError ad_customizer_error = 19; - - // The reasons for the ad group ad error - AdGroupAdErrorEnum.AdGroupAdError ad_group_ad_error = 21; - - // The reasons for the ad sharing error - AdSharingErrorEnum.AdSharingError ad_sharing_error = 24; - - // The reasons for the adx error - AdxErrorEnum.AdxError adx_error = 25; - - // The reasons for the asset error - AssetErrorEnum.AssetError asset_error = 107; - - // The reasons for the asset group asset error - AssetGroupAssetErrorEnum.AssetGroupAssetError asset_group_asset_error = 149; - - // The reasons for the asset group listing group filter error - AssetGroupListingGroupFilterErrorEnum.AssetGroupListingGroupFilterError - asset_group_listing_group_filter_error = 155; - - // The reasons for the asset group error - AssetGroupErrorEnum.AssetGroupError asset_group_error = 148; - - // The reasons for the asset set asset error - AssetSetAssetErrorEnum.AssetSetAssetError asset_set_asset_error = 153; - - // The reasons for the asset set link error - AssetSetLinkErrorEnum.AssetSetLinkError asset_set_link_error = 154; - - // The reasons for the asset set error - AssetSetErrorEnum.AssetSetError asset_set_error = 152; - - // The reasons for the bidding errors - BiddingErrorEnum.BiddingError bidding_error = 26; - - // The reasons for the campaign criterion error - CampaignCriterionErrorEnum.CampaignCriterionError campaign_criterion_error = - 29; - - // The reasons for the campaign conversion goal error - CampaignConversionGoalErrorEnum.CampaignConversionGoalError - campaign_conversion_goal_error = 166; - - // The reasons for the campaign customizer error. - CampaignCustomizerErrorEnum.CampaignCustomizerError - campaign_customizer_error = 160; - - // The reasons for the collection size error - CollectionSizeErrorEnum.CollectionSizeError collection_size_error = 31; - - // The reasons for the conversion goal campaign config error - ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigError - conversion_goal_campaign_config_error = 165; - - // The reasons for the country code error - CountryCodeErrorEnum.CountryCodeError country_code_error = 109; - - // The reasons for the criterion error - CriterionErrorEnum.CriterionError criterion_error = 32; - - // The reasons for the custom conversion goal error - CustomConversionGoalErrorEnum.CustomConversionGoalError - custom_conversion_goal_error = 150; - - // The reasons for the customer customizer error. - CustomerCustomizerErrorEnum.CustomerCustomizerError - customer_customizer_error = 158; - - // The reasons for the customer error - CustomerErrorEnum.CustomerError customer_error = 90; - - // The reasons for the customizer attribute error. - CustomizerAttributeErrorEnum.CustomizerAttributeError - customizer_attribute_error = 151; - - // The reasons for the date error - DateErrorEnum.DateError date_error = 33; - - // The reasons for the date range error - DateRangeErrorEnum.DateRangeError date_range_error = 34; - - // The reasons for the distinct error - DistinctErrorEnum.DistinctError distinct_error = 35; - - // The reasons for the feed attribute reference error - FeedAttributeReferenceErrorEnum.FeedAttributeReferenceError - feed_attribute_reference_error = 36; - - // The reasons for the function error - FunctionErrorEnum.FunctionError function_error = 37; - - // The reasons for the function parsing error - FunctionParsingErrorEnum.FunctionParsingError function_parsing_error = 38; - - // The reasons for the id error - IdErrorEnum.IdError id_error = 39; - - // The reasons for the image error - ImageErrorEnum.ImageError image_error = 40; - - // The reasons for the language code error - LanguageCodeErrorEnum.LanguageCodeError language_code_error = 110; - - // The reasons for the media bundle error - MediaBundleErrorEnum.MediaBundleError media_bundle_error = 42; - - // The reasons for media uploading errors. - MediaUploadErrorEnum.MediaUploadError media_upload_error = 116; - - // The reasons for the media file error - MediaFileErrorEnum.MediaFileError media_file_error = 86; - - // Container for enum describing possible merchant center errors. - MerchantCenterErrorEnum.MerchantCenterError merchant_center_error = 162; - - // The reasons for the multiplier error - MultiplierErrorEnum.MultiplierError multiplier_error = 44; - - // The reasons for the new resource creation error - NewResourceCreationErrorEnum.NewResourceCreationError - new_resource_creation_error = 45; - - // The reasons for the not empty error - NotEmptyErrorEnum.NotEmptyError not_empty_error = 46; - - // The reasons for the null error - NullErrorEnum.NullError null_error = 47; - - // The reasons for the operator error - OperatorErrorEnum.OperatorError operator_error = 48; - - // The reasons for the range error - RangeErrorEnum.RangeError range_error = 49; - - // The reasons for error in applying a recommendation - RecommendationErrorEnum.RecommendationError recommendation_error = 58; - - // The reasons for the region code error - RegionCodeErrorEnum.RegionCodeError region_code_error = 51; - - // The reasons for the setting error - SettingErrorEnum.SettingError setting_error = 52; - - // The reasons for the string format error - StringFormatErrorEnum.StringFormatError string_format_error = 53; - - // The reasons for the string length error - StringLengthErrorEnum.StringLengthError string_length_error = 54; - - // The reasons for the operation access denied error - OperationAccessDeniedErrorEnum.OperationAccessDeniedError - operation_access_denied_error = 55; - - // The reasons for the resource access denied error - ResourceAccessDeniedErrorEnum.ResourceAccessDeniedError - resource_access_denied_error = 56; - - // The reasons for the resource count limit exceeded error - ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededError - resource_count_limit_exceeded_error = 57; - - // The reasons for YouTube video registration errors. - YoutubeVideoRegistrationErrorEnum.YoutubeVideoRegistrationError - youtube_video_registration_error = 117; - - // The reasons for the ad group bid modifier error - AdGroupBidModifierErrorEnum.AdGroupBidModifierError - ad_group_bid_modifier_error = 59; - - // The reasons for the context error - ContextErrorEnum.ContextError context_error = 60; - - // The reasons for the field error - FieldErrorEnum.FieldError field_error = 61; - - // The reasons for the shared set error - SharedSetErrorEnum.SharedSetError shared_set_error = 62; - - // The reasons for the shared criterion error - SharedCriterionErrorEnum.SharedCriterionError shared_criterion_error = 63; - - // The reasons for the campaign shared set error - CampaignSharedSetErrorEnum.CampaignSharedSetError - campaign_shared_set_error = 64; - - // The reasons for the conversion action error - ConversionActionErrorEnum.ConversionActionError conversion_action_error = - 65; - - // The reasons for the conversion adjustment upload error - ConversionAdjustmentUploadErrorEnum.ConversionAdjustmentUploadError - conversion_adjustment_upload_error = 115; - - // The reasons for the conversion custom variable error - ConversionCustomVariableErrorEnum.ConversionCustomVariableError - conversion_custom_variable_error = 143; - - // The reasons for the conversion upload error - ConversionUploadErrorEnum.ConversionUploadError conversion_upload_error = - 111; - - // The reasons for the conversion value rule error - ConversionValueRuleErrorEnum.ConversionValueRuleError - conversion_value_rule_error = 145; - - // The reasons for the conversion value rule set error - ConversionValueRuleSetErrorEnum.ConversionValueRuleSetError - conversion_value_rule_set_error = 146; - - // The reasons for the header error. - HeaderErrorEnum.HeaderError header_error = 66; - - // The reasons for the database error. - DatabaseErrorEnum.DatabaseError database_error = 67; - - // The reasons for the policy finding error. - PolicyFindingErrorEnum.PolicyFindingError policy_finding_error = 68; - - // The reason for enum error. - EnumErrorEnum.EnumError enum_error = 70; - - // The reason for keyword plan error. - KeywordPlanErrorEnum.KeywordPlanError keyword_plan_error = 71; - - // The reason for keyword plan campaign error. - KeywordPlanCampaignErrorEnum.KeywordPlanCampaignError - keyword_plan_campaign_error = 72; - - // The reason for keyword plan campaign keyword error. - KeywordPlanCampaignKeywordErrorEnum.KeywordPlanCampaignKeywordError - keyword_plan_campaign_keyword_error = 132; - - // The reason for keyword plan ad group error. - KeywordPlanAdGroupErrorEnum.KeywordPlanAdGroupError - keyword_plan_ad_group_error = 74; - - // The reason for keyword plan ad group keyword error. - KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError - keyword_plan_ad_group_keyword_error = 133; - - // The reason for keyword idea error. - KeywordPlanIdeaErrorEnum.KeywordPlanIdeaError keyword_plan_idea_error = 76; - - // The reasons for account budget proposal errors. - AccountBudgetProposalErrorEnum.AccountBudgetProposalError - account_budget_proposal_error = 77; - - // The reasons for the user list error - UserListErrorEnum.UserListError user_list_error = 78; - - // The reasons for the change event error - ChangeEventErrorEnum.ChangeEventError change_event_error = 136; - - // The reasons for the change status error - ChangeStatusErrorEnum.ChangeStatusError change_status_error = 79; - - // The reasons for the feed error - FeedErrorEnum.FeedError feed_error = 80; - - // The reasons for the geo target constant suggestion error. - GeoTargetConstantSuggestionErrorEnum.GeoTargetConstantSuggestionError - geo_target_constant_suggestion_error = 81; - - // The reasons for the campaign draft error - CampaignDraftErrorEnum.CampaignDraftError campaign_draft_error = 82; - - // The reasons for the feed item error - FeedItemErrorEnum.FeedItemError feed_item_error = 83; - - // The reason for the label error. - LabelErrorEnum.LabelError label_error = 84; - - // The reasons for the billing setup error - BillingSetupErrorEnum.BillingSetupError billing_setup_error = 87; - - // The reasons for the customer client link error - CustomerClientLinkErrorEnum.CustomerClientLinkError - customer_client_link_error = 88; - - // The reasons for the customer manager link error - CustomerManagerLinkErrorEnum.CustomerManagerLinkError - customer_manager_link_error = 91; - - // The reasons for the feed mapping error - FeedMappingErrorEnum.FeedMappingError feed_mapping_error = 92; - - // The reasons for the customer feed error - CustomerFeedErrorEnum.CustomerFeedError customer_feed_error = 93; - - // The reasons for the ad group feed error - AdGroupFeedErrorEnum.AdGroupFeedError ad_group_feed_error = 94; - - // The reasons for the campaign feed error - CampaignFeedErrorEnum.CampaignFeedError campaign_feed_error = 96; - - // The reasons for the custom interest error - CustomInterestErrorEnum.CustomInterestError custom_interest_error = 97; - - // The reasons for the campaign experiment error - CampaignExperimentErrorEnum.CampaignExperimentError - campaign_experiment_error = 98; - - // The reasons for the extension feed item error - ExtensionFeedItemErrorEnum.ExtensionFeedItemError - extension_feed_item_error = 100; - - // The reasons for the ad parameter error - AdParameterErrorEnum.AdParameterError ad_parameter_error = 101; - - // The reasons for the feed item validation error - FeedItemValidationErrorEnum.FeedItemValidationError - feed_item_validation_error = 102; - - // The reasons for the extension setting error - ExtensionSettingErrorEnum.ExtensionSettingError extension_setting_error = - 103; - - // The reasons for the feed item set error - FeedItemSetErrorEnum.FeedItemSetError feed_item_set_error = 140; - - // The reasons for the feed item set link error - FeedItemSetLinkErrorEnum.FeedItemSetLinkError feed_item_set_link_error = - 141; - - // The reasons for the feed item target error - FeedItemTargetErrorEnum.FeedItemTargetError feed_item_target_error = 104; - - // The reasons for the policy violation error - PolicyViolationErrorEnum.PolicyViolationError policy_violation_error = 105; - - // The reasons for the mutate job error - PartialFailureErrorEnum.PartialFailureError partial_failure_error = 112; - - // The reasons for the policy validation parameter error - PolicyValidationParameterErrorEnum.PolicyValidationParameterError - policy_validation_parameter_error = 114; - - // The reasons for the size limit error - SizeLimitErrorEnum.SizeLimitError size_limit_error = 118; - - // The reasons for the offline user data job error. - OfflineUserDataJobErrorEnum.OfflineUserDataJobError - offline_user_data_job_error = 119; - - // The reasons for the not allowlisted error - NotAllowlistedErrorEnum.NotAllowlistedError not_allowlisted_error = 137; - - // The reasons for the manager link error - ManagerLinkErrorEnum.ManagerLinkError manager_link_error = 121; - - // The reasons for the currency code error - CurrencyCodeErrorEnum.CurrencyCodeError currency_code_error = 122; - - // The reasons for the experiment error - ExperimentErrorEnum.ExperimentError experiment_error = 123; - - // The reasons for the access invitation error - AccessInvitationErrorEnum.AccessInvitationError access_invitation_error = - 124; - - // The reasons for the reach plan error - ReachPlanErrorEnum.ReachPlanError reach_plan_error = 125; - - // The reasons for the invoice error - InvoiceErrorEnum.InvoiceError invoice_error = 126; - - // The reasons for errors in payments accounts service - PaymentsAccountErrorEnum.PaymentsAccountError payments_account_error = 127; - - // The reasons for the time zone error - TimeZoneErrorEnum.TimeZoneError time_zone_error = 128; - - // The reasons for the asset link error - AssetLinkErrorEnum.AssetLinkError asset_link_error = 129; - - // The reasons for the user data error. - UserDataErrorEnum.UserDataError user_data_error = 130; - - // The reasons for the batch job error - BatchJobErrorEnum.BatchJobError batch_job_error = 131; - - // The reasons for the account link status change error - AccountLinkErrorEnum.AccountLinkError account_link_error = 134; - - // The reasons for the third party app analytics link mutate error - ThirdPartyAppAnalyticsLinkErrorEnum.ThirdPartyAppAnalyticsLinkError - third_party_app_analytics_link_error = 135; - - // The reasons for the customer user access mutate error - CustomerUserAccessErrorEnum.CustomerUserAccessError - customer_user_access_error = 138; - - // The reasons for the custom audience error - CustomAudienceErrorEnum.CustomAudienceError custom_audience_error = 139; - - // The reasons for the audience error - AudienceErrorEnum.AudienceError audience_error = 164; - - // The reasons for the Smart campaign error - SmartCampaignErrorEnum.SmartCampaignError smart_campaign_error = 147; - - // The reasons for the experiment arm error - ExperimentArmErrorEnum.ExperimentArmError experiment_arm_error = 156; - - // The reasons for the Audience Insights error - AudienceInsightsErrorEnum.AudienceInsightsError audience_insights_error = - 167; - - // The reasons for the currency errors. - CurrencyErrorEnum.CurrencyError currency_error = 171; - } -} - -// Describes the part of the request proto that caused the error. -message ErrorLocation { - // A part of a field path. - message FieldPathElement { - // The name of a field or a oneof - string field_name = 1; - - // If field_name is a repeated field, this is the element that failed - optional int32 index = 3; - } - - // A field path that indicates which field was invalid in the request. - repeated FieldPathElement field_path_elements = 2; -} - -// Additional error details. -message ErrorDetails { - // The error code that should have been returned, but wasn't. This is used - // when the error code is not published in the client specified version. - string unpublished_error_code = 1; - - // Describes an ad policy violation. - PolicyViolationDetails policy_violation_details = 2; - - // Describes policy violation findings. - PolicyFindingDetails policy_finding_details = 3; - - // Details on the quota error, including the scope (account or developer), the - // rate bucket name and the retry delay. - QuotaErrorDetails quota_error_details = 4; - - // Details for a resource count limit exceeded error. - ResourceCountDetails resource_count_details = 5; -} - -// Error returned as part of a mutate response. -// This error indicates single policy violation by some text -// in one of the fields. -message PolicyViolationDetails { - // Human readable description of policy violation. - string external_policy_description = 2; - - // Unique identifier for this violation. - // If policy is exemptible, this key may be used to request exemption. - google.ads.googleads.v13.common.PolicyViolationKey key = 4; - - // Human readable name of the policy. - string external_policy_name = 5; - - // Whether user can file an exemption request for this violation. - bool is_exemptible = 6; -} - -// Error returned as part of a mutate response. -// This error indicates one or more policy findings in the fields of a -// resource. -message PolicyFindingDetails { - // The list of policy topics for the resource. Contains the PROHIBITED or - // FULLY_LIMITED policy topic entries that prevented the resource from being - // saved (among any other entries the resource may also have). - repeated google.ads.googleads.v13.common.PolicyTopicEntry - policy_topic_entries = 1; -} - -// Additional quota error details when there is QuotaError. -message QuotaErrorDetails { - // Enum of possible scopes that quota buckets belong to. - enum QuotaRateScope { - // Unspecified enum - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Per customer account quota - ACCOUNT = 2; - - // Per project or DevToken quota - DEVELOPER = 3; - } - - // The rate scope of the quota limit. - QuotaRateScope rate_scope = 1; - - // The high level description of the quota bucket. - // Examples are "Get requests for standard access" or "Requests per account". - string rate_name = 2; - - // Backoff period that customers should wait before sending next request. - google.protobuf.Duration retry_delay = 3; -} - -// Error details returned when an resource count limit was exceeded. -message ResourceCountDetails { - // The ID of the resource whose limit was exceeded. - // External customer ID if the limit is for a customer. - string enclosing_id = 1; - - // The name of the resource (Customer, Campaign etc.) whose limit was - // exceeded. - string enclosing_resource = 5; - - // The limit which was exceeded. - int32 limit = 2; - - // The resource limit type which was exceeded. - google.ads.googleads.v13.enums.ResourceLimitTypeEnum.ResourceLimitType - limit_type = 3; - - // The count of existing entities. - int32 existing_count = 4; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/experiment_arm_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/experiment_arm_error.proto deleted file mode 100644 index 93acef70a..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/experiment_arm_error.proto +++ /dev/null @@ -1,84 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ExperimentArmErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing experiment arm errors. - -// Container for enum describing possible experiment arm error. -message ExperimentArmErrorEnum { - // Enum describing possible experiment arm errors. - enum ExperimentArmError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Number of experiment arms is above limit. - EXPERIMENT_ARM_COUNT_LIMIT_EXCEEDED = 2; - - // Cannot add campaign with invalid status to the experiment arm. - INVALID_CAMPAIGN_STATUS = 3; - - // Cannot add duplicate experiment arm name in one experiment. - DUPLICATE_EXPERIMENT_ARM_NAME = 4; - - // Cannot set campaigns of treatment experiment arm. - CANNOT_SET_TREATMENT_ARM_CAMPAIGN = 5; - - // Cannot edit campaign ids in trial arms in non SETUP experiment. - CANNOT_MODIFY_CAMPAIGN_IDS = 6; - - // Cannot modify the campaigns in the control arm - // if there is not a suffix set in the trial. - CANNOT_MODIFY_CAMPAIGN_WITHOUT_SUFFIX_SET = 7; - - // Traffic split related settings (like traffic share bounds) can't be - // modified after the trial has started. - CANNOT_MUTATE_TRAFFIC_SPLIT_AFTER_START = 8; - - // Cannot use shared budget on experiment's control campaign. - CANNOT_ADD_CAMPAIGN_WITH_SHARED_BUDGET = 9; - - // Cannot use custom budget on experiment's control campaigns. - CANNOT_ADD_CAMPAIGN_WITH_CUSTOM_BUDGET = 10; - - // Cannot have enable_dynamic_assets turned on in experiment's campaigns. - CANNOT_ADD_CAMPAIGNS_WITH_DYNAMIC_ASSETS_ENABLED = 11; - - // Cannot use campaign's advertising channel sub type in experiment. - UNSUPPORTED_CAMPAIGN_ADVERTISING_CHANNEL_SUB_TYPE = 12; - - // Experiment date range must be within base campaign's date range. - CANNOT_ADD_BASE_CAMPAIGN_WITH_DATE_RANGE = 13; - - // Bidding strategy is not supported in experiments. - BIDDING_STRATEGY_NOT_SUPPORTED_IN_EXPERIMENTS = 14; - - // Traffic split is not supported for some channel types. - TRAFFIC_SPLIT_NOT_SUPPORTED_FOR_CHANNEL_TYPE = 15; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/experiment_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/experiment_error.proto deleted file mode 100644 index ccb4f218d..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/experiment_error.proto +++ /dev/null @@ -1,118 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ExperimentErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing experiment errors. - -// Container for enum describing possible experiment error. -message ExperimentErrorEnum { - // Enum describing possible experiment errors. - enum ExperimentError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The start date of an experiment cannot be set in the past. - // Use a start date in the future. - CANNOT_SET_START_DATE_IN_PAST = 2; - - // The end date of an experiment is before its start date. - // Use an end date after the start date. - END_DATE_BEFORE_START_DATE = 3; - - // The start date of an experiment is too far in the future. - // Use a start date no more than 1 year in the future. - START_DATE_TOO_FAR_IN_FUTURE = 4; - - // The experiment has the same name as an existing active experiment. - DUPLICATE_EXPERIMENT_NAME = 5; - - // Experiments can only be modified when they are ENABLED. - CANNOT_MODIFY_REMOVED_EXPERIMENT = 6; - - // The start date of an experiment cannot be modified if the existing start - // date has already passed. - START_DATE_ALREADY_PASSED = 7; - - // The end date of an experiment cannot be set in the past. - CANNOT_SET_END_DATE_IN_PAST = 8; - - // The status of an experiment cannot be set to REMOVED. - CANNOT_SET_STATUS_TO_REMOVED = 9; - - // The end date of an expired experiment cannot be modified. - CANNOT_MODIFY_PAST_END_DATE = 10; - - // The status is invalid. - INVALID_STATUS = 11; - - // Experiment arm contains campaigns with invalid advertising channel type. - INVALID_CAMPAIGN_CHANNEL_TYPE = 12; - - // A pair of trials share members and have overlapping date ranges. - OVERLAPPING_MEMBERS_AND_DATE_RANGE = 13; - - // Experiment arm contains invalid traffic split. - INVALID_TRIAL_ARM_TRAFFIC_SPLIT = 14; - - // Experiment contains trial arms with overlapping traffic split. - TRAFFIC_SPLIT_OVERLAPPING = 15; - - // The total traffic split of trial arms is not equal to 100. - SUM_TRIAL_ARM_TRAFFIC_UNEQUALS_TO_TRIAL_TRAFFIC_SPLIT_DENOMINATOR = 16; - - // Traffic split related settings (like traffic share bounds) can't be - // modified after the experiment has started. - CANNOT_MODIFY_TRAFFIC_SPLIT_AFTER_START = 17; - - // The experiment could not be found. - EXPERIMENT_NOT_FOUND = 18; - - // Experiment has not begun. - EXPERIMENT_NOT_YET_STARTED = 19; - - // The experiment cannot have more than one control arm. - CANNOT_HAVE_MULTIPLE_CONTROL_ARMS = 20; - - // The experiment doesn't set in-design campaigns. - IN_DESIGN_CAMPAIGNS_NOT_SET = 21; - - // Clients must use the graduate action to graduate experiments and cannot - // set the status to GRADUATED directly. - CANNOT_SET_STATUS_TO_GRADUATED = 22; - - // Cannot use shared budget on base campaign when scheduling an experiment. - CANNOT_CREATE_EXPERIMENT_CAMPAIGN_WITH_SHARED_BUDGET = 23; - - // Cannot use custom budget on base campaign when scheduling an experiment. - CANNOT_CREATE_EXPERIMENT_CAMPAIGN_WITH_CUSTOM_BUDGET = 24; - - // Invalid status transition. - STATUS_TRANSITION_INVALID = 25; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/extension_feed_item_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/extension_feed_item_error.proto deleted file mode 100644 index da4581ec7..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/extension_feed_item_error.proto +++ /dev/null @@ -1,191 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ExtensionFeedItemErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing extension feed item errors. - -// Container for enum describing possible extension feed item error. -message ExtensionFeedItemErrorEnum { - // Enum describing possible extension feed item errors. - enum ExtensionFeedItemError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Value is not within the accepted range. - VALUE_OUT_OF_RANGE = 2; - - // Url list is too long. - URL_LIST_TOO_LONG = 3; - - // Cannot have a geo targeting restriction without having geo targeting. - CANNOT_HAVE_RESTRICTION_ON_EMPTY_GEO_TARGETING = 4; - - // Cannot simultaneously set sitelink field with final urls. - CANNOT_SET_WITH_FINAL_URLS = 5; - - // Must set field with final urls. - CANNOT_SET_WITHOUT_FINAL_URLS = 6; - - // Phone number for a call extension is invalid. - INVALID_PHONE_NUMBER = 7; - - // Phone number for a call extension is not supported for the given country - // code. - PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY = 8; - - // A carrier specific number in short format is not allowed for call - // extensions. - CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED = 9; - - // Premium rate numbers are not allowed for call extensions. - PREMIUM_RATE_NUMBER_NOT_ALLOWED = 10; - - // Phone number type for a call extension is not allowed. - // For example, personal number is not allowed for a call extension in - // most regions. - DISALLOWED_NUMBER_TYPE = 11; - - // Phone number for a call extension does not meet domestic format - // requirements. - INVALID_DOMESTIC_PHONE_NUMBER_FORMAT = 12; - - // Vanity phone numbers (for example, those including letters) are not - // allowed for call extensions. - VANITY_PHONE_NUMBER_NOT_ALLOWED = 13; - - // Call conversion action provided for a call extension is invalid. - INVALID_CALL_CONVERSION_ACTION = 14; - - // For a call extension, the customer is not on the allow-list for call - // tracking. - CUSTOMER_NOT_ON_ALLOWLIST_FOR_CALLTRACKING = 47; - - // Call tracking is not supported for the given country for a call - // extension. - CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY = 16; - - // Customer hasn't consented for call recording, which is required for - // creating/updating call feed items. See - // https://support.google.com/google-ads/answer/7412639. - CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED = 17; - - // App id provided for an app extension is invalid. - INVALID_APP_ID = 18; - - // Quotation marks present in the review text for a review extension. - QUOTES_IN_REVIEW_EXTENSION_SNIPPET = 19; - - // Hyphen character present in the review text for a review extension. - HYPHENS_IN_REVIEW_EXTENSION_SNIPPET = 20; - - // A denylisted review source name or url was provided for a review - // extension. - REVIEW_EXTENSION_SOURCE_INELIGIBLE = 21; - - // Review source name should not be found in the review text. - SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT = 22; - - // Inconsistent currency codes. - INCONSISTENT_CURRENCY_CODES = 23; - - // Price extension cannot have duplicated headers. - PRICE_EXTENSION_HAS_DUPLICATED_HEADERS = 24; - - // Price item cannot have duplicated header and description. - PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION = 25; - - // Price extension has too few items. - PRICE_EXTENSION_HAS_TOO_FEW_ITEMS = 26; - - // Price extension has too many items. - PRICE_EXTENSION_HAS_TOO_MANY_ITEMS = 27; - - // The input value is not currently supported. - UNSUPPORTED_VALUE = 28; - - // The input value is not currently supported in the selected language of an - // extension. - UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE = 29; - - // Unknown or unsupported device preference. - INVALID_DEVICE_PREFERENCE = 30; - - // Invalid feed item schedule end time (for example, endHour = 24 and - // endMinute != 0). - INVALID_SCHEDULE_END = 31; - - // Date time zone does not match the account's time zone. - DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE = 32; - - // Invalid structured snippet header. - INVALID_SNIPPETS_HEADER = 33; - - // Cannot operate on removed feed item. - CANNOT_OPERATE_ON_REMOVED_FEED_ITEM = 34; - - // Phone number not supported when call tracking enabled for country. - PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY = 35; - - // Cannot set call_conversion_action while call_conversion_tracking_enabled - // is set to true. - CONFLICTING_CALL_CONVERSION_SETTINGS = 36; - - // The type of the input extension feed item doesn't match the existing - // extension feed item. - EXTENSION_TYPE_MISMATCH = 37; - - // The oneof field extension for example, subtype of extension feed item is - // required. - EXTENSION_SUBTYPE_REQUIRED = 38; - - // The referenced feed item is not mapped to a supported extension type. - EXTENSION_TYPE_UNSUPPORTED = 39; - - // Cannot operate on a Feed with more than one active FeedMapping. - CANNOT_OPERATE_ON_FEED_WITH_MULTIPLE_MAPPINGS = 40; - - // Cannot operate on a Feed that has key attributes. - CANNOT_OPERATE_ON_FEED_WITH_KEY_ATTRIBUTES = 41; - - // Input price is not in a valid format. - INVALID_PRICE_FORMAT = 42; - - // The promotion time is invalid. - PROMOTION_INVALID_TIME = 43; - - // This field has too many decimal places specified. - TOO_MANY_DECIMAL_PLACES_SPECIFIED = 44; - - // Concrete sub type of ExtensionFeedItem is required for this operation. - CONCRETE_EXTENSION_TYPE_REQUIRED = 45; - - // Feed item schedule end time must be after start time. - SCHEDULE_END_NOT_AFTER_START = 46; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/extension_setting_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/extension_setting_error.proto deleted file mode 100644 index ab3db9517..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/extension_setting_error.proto +++ /dev/null @@ -1,257 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ExtensionSettingErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing extension setting validation errors. - -// Container for enum describing validation errors of extension settings. -message ExtensionSettingErrorEnum { - // Enum describing possible extension setting errors. - enum ExtensionSettingError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // A platform restriction was provided without input extensions or existing - // extensions. - EXTENSIONS_REQUIRED = 2; - - // The provided feed type does not correspond to the provided extensions. - FEED_TYPE_EXTENSION_TYPE_MISMATCH = 3; - - // The provided feed type cannot be used. - INVALID_FEED_TYPE = 4; - - // The provided feed type cannot be used at the customer level. - INVALID_FEED_TYPE_FOR_CUSTOMER_EXTENSION_SETTING = 5; - - // Cannot change a feed item field on a CREATE operation. - CANNOT_CHANGE_FEED_ITEM_ON_CREATE = 6; - - // Cannot update an extension that is not already in this setting. - CANNOT_UPDATE_NEWLY_CREATED_EXTENSION = 7; - - // There is no existing AdGroupExtensionSetting for this type. - NO_EXISTING_AD_GROUP_EXTENSION_SETTING_FOR_TYPE = 8; - - // There is no existing CampaignExtensionSetting for this type. - NO_EXISTING_CAMPAIGN_EXTENSION_SETTING_FOR_TYPE = 9; - - // There is no existing CustomerExtensionSetting for this type. - NO_EXISTING_CUSTOMER_EXTENSION_SETTING_FOR_TYPE = 10; - - // The AdGroupExtensionSetting already exists. UPDATE should be used to - // modify the existing AdGroupExtensionSetting. - AD_GROUP_EXTENSION_SETTING_ALREADY_EXISTS = 11; - - // The CampaignExtensionSetting already exists. UPDATE should be used to - // modify the existing CampaignExtensionSetting. - CAMPAIGN_EXTENSION_SETTING_ALREADY_EXISTS = 12; - - // The CustomerExtensionSetting already exists. UPDATE should be used to - // modify the existing CustomerExtensionSetting. - CUSTOMER_EXTENSION_SETTING_ALREADY_EXISTS = 13; - - // An active ad group feed already exists for this place holder type. - AD_GROUP_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE = 14; - - // An active campaign feed already exists for this place holder type. - CAMPAIGN_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE = 15; - - // An active customer feed already exists for this place holder type. - CUSTOMER_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE = 16; - - // Value is not within the accepted range. - VALUE_OUT_OF_RANGE = 17; - - // Cannot simultaneously set specified field with final urls. - CANNOT_SET_FIELD_WITH_FINAL_URLS = 18; - - // Must set field with final urls. - FINAL_URLS_NOT_SET = 19; - - // Phone number for a call extension is invalid. - INVALID_PHONE_NUMBER = 20; - - // Phone number for a call extension is not supported for the given country - // code. - PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY = 21; - - // A carrier specific number in short format is not allowed for call - // extensions. - CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED = 22; - - // Premium rate numbers are not allowed for call extensions. - PREMIUM_RATE_NUMBER_NOT_ALLOWED = 23; - - // Phone number type for a call extension is not allowed. - DISALLOWED_NUMBER_TYPE = 24; - - // Phone number for a call extension does not meet domestic format - // requirements. - INVALID_DOMESTIC_PHONE_NUMBER_FORMAT = 25; - - // Vanity phone numbers (for example, those including letters) are not - // allowed for call extensions. - VANITY_PHONE_NUMBER_NOT_ALLOWED = 26; - - // Country code provided for a call extension is invalid. - INVALID_COUNTRY_CODE = 27; - - // Call conversion type id provided for a call extension is invalid. - INVALID_CALL_CONVERSION_TYPE_ID = 28; - - // For a call extension, the customer is not on the allow-list for call - // tracking. - CUSTOMER_NOT_IN_ALLOWLIST_FOR_CALLTRACKING = 69; - - // Call tracking is not supported for the given country for a call - // extension. - CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY = 30; - - // App id provided for an app extension is invalid. - INVALID_APP_ID = 31; - - // Quotation marks present in the review text for a review extension. - QUOTES_IN_REVIEW_EXTENSION_SNIPPET = 32; - - // Hyphen character present in the review text for a review extension. - HYPHENS_IN_REVIEW_EXTENSION_SNIPPET = 33; - - // A blocked review source name or url was provided for a review - // extension. - REVIEW_EXTENSION_SOURCE_NOT_ELIGIBLE = 34; - - // Review source name should not be found in the review text. - SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT = 35; - - // Field must be set. - MISSING_FIELD = 36; - - // Inconsistent currency codes. - INCONSISTENT_CURRENCY_CODES = 37; - - // Price extension cannot have duplicated headers. - PRICE_EXTENSION_HAS_DUPLICATED_HEADERS = 38; - - // Price item cannot have duplicated header and description. - PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION = 39; - - // Price extension has too few items - PRICE_EXTENSION_HAS_TOO_FEW_ITEMS = 40; - - // Price extension has too many items - PRICE_EXTENSION_HAS_TOO_MANY_ITEMS = 41; - - // The input value is not currently supported. - UNSUPPORTED_VALUE = 42; - - // Unknown or unsupported device preference. - INVALID_DEVICE_PREFERENCE = 43; - - // Invalid feed item schedule end time (for example, endHour = 24 and - // endMinute != 0). - INVALID_SCHEDULE_END = 45; - - // Date time zone does not match the account's time zone. - DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE = 47; - - // Overlapping feed item schedule times (for example, 7-10AM and 8-11AM) are - // not allowed. - OVERLAPPING_SCHEDULES_NOT_ALLOWED = 48; - - // Feed item schedule end time must be after start time. - SCHEDULE_END_NOT_AFTER_START = 49; - - // There are too many feed item schedules per day. - TOO_MANY_SCHEDULES_PER_DAY = 50; - - // Cannot edit the same extension feed item more than once in the same - // request. - DUPLICATE_EXTENSION_FEED_ITEM_EDIT = 51; - - // Invalid structured snippet header. - INVALID_SNIPPETS_HEADER = 52; - - // Phone number with call tracking enabled is not supported for the - // specified country. - PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY = 53; - - // The targeted adgroup must belong to the targeted campaign. - CAMPAIGN_TARGETING_MISMATCH = 54; - - // The feed used by the ExtensionSetting is removed and cannot be operated - // on. Remove the ExtensionSetting to allow a new one to be created using - // an active feed. - CANNOT_OPERATE_ON_REMOVED_FEED = 55; - - // The ExtensionFeedItem type is required for this operation. - EXTENSION_TYPE_REQUIRED = 56; - - // The matching function that links the extension feed to the customer, - // campaign, or ad group is not compatible with the ExtensionSetting - // services. - INCOMPATIBLE_UNDERLYING_MATCHING_FUNCTION = 57; - - // Start date must be before end date. - START_DATE_AFTER_END_DATE = 58; - - // Input price is not in a valid format. - INVALID_PRICE_FORMAT = 59; - - // The promotion time is invalid. - PROMOTION_INVALID_TIME = 60; - - // Cannot set both percent discount and money discount fields. - PROMOTION_CANNOT_SET_PERCENT_DISCOUNT_AND_MONEY_DISCOUNT = 61; - - // Cannot set both promotion code and orders over amount fields. - PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT = 62; - - // This field has too many decimal places specified. - TOO_MANY_DECIMAL_PLACES_SPECIFIED = 63; - - // The language code is not valid. - INVALID_LANGUAGE_CODE = 64; - - // The language is not supported. - UNSUPPORTED_LANGUAGE = 65; - - // Customer hasn't consented for call recording, which is required for - // adding/updating call extensions. See - // https://support.google.com/google-ads/answer/7412639. - CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED = 66; - - // The UPDATE operation does not specify any fields other than the resource - // name in the update mask. - EXTENSION_SETTING_UPDATE_IS_A_NOOP = 67; - - // The extension contains text which has been prohibited on policy grounds. - DISALLOWED_TEXT = 68; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/feed_attribute_reference_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/feed_attribute_reference_error.proto deleted file mode 100644 index b6ea55357..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/feed_attribute_reference_error.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FeedAttributeReferenceErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing feed attribute reference errors. - -// Container for enum describing possible feed attribute reference errors. -message FeedAttributeReferenceErrorEnum { - // Enum describing possible feed attribute reference errors. - enum FeedAttributeReferenceError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // A feed referenced by ID has been removed. - CANNOT_REFERENCE_REMOVED_FEED = 2; - - // There is no enabled feed with the given name. - INVALID_FEED_NAME = 3; - - // There is no feed attribute in an enabled feed with the given name. - INVALID_FEED_ATTRIBUTE_NAME = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/feed_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/feed_error.proto deleted file mode 100644 index aa1aad314..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/feed_error.proto +++ /dev/null @@ -1,110 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FeedErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing feed errors. - -// Container for enum describing possible feed errors. -message FeedErrorEnum { - // Enum describing possible feed errors. - enum FeedError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The names of the FeedAttributes must be unique. - ATTRIBUTE_NAMES_NOT_UNIQUE = 2; - - // The attribute list must be an exact copy of the existing list if the - // attribute ID's are present. - ATTRIBUTES_DO_NOT_MATCH_EXISTING_ATTRIBUTES = 3; - - // Cannot specify USER origin for a system generated feed. - CANNOT_SPECIFY_USER_ORIGIN_FOR_SYSTEM_FEED = 4; - - // Cannot specify GOOGLE origin for a non-system generated feed. - CANNOT_SPECIFY_GOOGLE_ORIGIN_FOR_NON_SYSTEM_FEED = 5; - - // Cannot specify feed attributes for system feed. - CANNOT_SPECIFY_FEED_ATTRIBUTES_FOR_SYSTEM_FEED = 6; - - // Cannot update FeedAttributes on feed with origin GOOGLE. - CANNOT_UPDATE_FEED_ATTRIBUTES_WITH_ORIGIN_GOOGLE = 7; - - // The given ID refers to a removed Feed. Removed Feeds are immutable. - FEED_REMOVED = 8; - - // The origin of the feed is not valid for the client. - INVALID_ORIGIN_VALUE = 9; - - // A user can only create and modify feeds with USER origin. - FEED_ORIGIN_IS_NOT_USER = 10; - - // Invalid auth token for the given email. - INVALID_AUTH_TOKEN_FOR_EMAIL = 11; - - // Invalid email specified. - INVALID_EMAIL = 12; - - // Feed name matches that of another active Feed. - DUPLICATE_FEED_NAME = 13; - - // Name of feed is not allowed. - INVALID_FEED_NAME = 14; - - // Missing OAuthInfo. - MISSING_OAUTH_INFO = 15; - - // New FeedAttributes must not affect the unique key. - NEW_ATTRIBUTE_CANNOT_BE_PART_OF_UNIQUE_KEY = 16; - - // Too many FeedAttributes for a Feed. - TOO_MANY_ATTRIBUTES = 17; - - // The business account is not valid. - INVALID_BUSINESS_ACCOUNT = 18; - - // Business account cannot access Business Profile. - BUSINESS_ACCOUNT_CANNOT_ACCESS_LOCATION_ACCOUNT = 19; - - // Invalid chain ID provided for affiliate location feed. - INVALID_AFFILIATE_CHAIN_ID = 20; - - // There is already a feed with the given system feed generation data. - DUPLICATE_SYSTEM_FEED = 21; - - // An error occurred accessing Business Profile. - GMB_ACCESS_ERROR = 22; - - // A customer cannot have both LOCATION and AFFILIATE_LOCATION feeds. - CANNOT_HAVE_LOCATION_AND_AFFILIATE_LOCATION_FEEDS = 23; - - // Feed-based extension is read-only for this extension type. - LEGACY_EXTENSION_TYPE_READ_ONLY = 24; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/feed_item_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/feed_item_error.proto deleted file mode 100644 index e3cef1987..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/feed_item_error.proto +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing feed item errors. - -// Container for enum describing possible feed item errors. -message FeedItemErrorEnum { - // Enum describing possible feed item errors. - enum FeedItemError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Cannot convert the feed attribute value from string to its real type. - CANNOT_CONVERT_ATTRIBUTE_VALUE_FROM_STRING = 2; - - // Cannot operate on removed feed item. - CANNOT_OPERATE_ON_REMOVED_FEED_ITEM = 3; - - // Date time zone does not match the account's time zone. - DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE = 4; - - // Feed item with the key attributes could not be found. - KEY_ATTRIBUTES_NOT_FOUND = 5; - - // Url feed attribute value is not valid. - INVALID_URL = 6; - - // Some key attributes are missing. - MISSING_KEY_ATTRIBUTES = 7; - - // Feed item has same key attributes as another feed item. - KEY_ATTRIBUTES_NOT_UNIQUE = 8; - - // Cannot modify key attributes on an existing feed item. - CANNOT_MODIFY_KEY_ATTRIBUTE_VALUE = 9; - - // The feed attribute value is too large. - SIZE_TOO_LARGE_FOR_MULTI_VALUE_ATTRIBUTE = 10; - - // Feed is read only. - LEGACY_FEED_TYPE_READ_ONLY = 11; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/feed_item_set_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/feed_item_set_error.proto deleted file mode 100644 index dcb14de7c..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/feed_item_set_error.proto +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemSetErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing feed item set errors. - -// Container for enum describing possible feed item set errors. -message FeedItemSetErrorEnum { - // Enum describing possible feed item set errors. - enum FeedItemSetError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The given ID refers to a removed FeedItemSet. - FEED_ITEM_SET_REMOVED = 2; - - // The dynamic filter of a feed item set cannot be cleared on UPDATE if it - // exists. A set is either static or dynamic once added, and that cannot - // change. - CANNOT_CLEAR_DYNAMIC_FILTER = 3; - - // The dynamic filter of a feed item set cannot be created on UPDATE if it - // does not exist. A set is either static or dynamic once added, and that - // cannot change. - CANNOT_CREATE_DYNAMIC_FILTER = 4; - - // FeedItemSets can only be made for location or affiliate location feeds. - INVALID_FEED_TYPE = 5; - - // FeedItemSets duplicate name. Name should be unique within an account. - DUPLICATE_NAME = 6; - - // The feed type of the parent Feed is not compatible with the type of - // dynamic filter being set. For example, you can only set - // dynamic_location_set_filter for LOCATION feed item sets. - WRONG_DYNAMIC_FILTER_FOR_FEED_TYPE = 7; - - // Chain ID specified for AffiliateLocationFeedData is invalid. - DYNAMIC_FILTER_INVALID_CHAIN_IDS = 8; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/feed_item_set_link_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/feed_item_set_link_error.proto deleted file mode 100644 index ef76e7412..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/feed_item_set_link_error.proto +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemSetLinkErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing feed item set link errors. - -// Container for enum describing possible feed item set link errors. -message FeedItemSetLinkErrorEnum { - // Enum describing possible feed item set link errors. - enum FeedItemSetLinkError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The feed IDs of the FeedItemSet and FeedItem do not match. Only FeedItems - // in a given Feed can be linked to a FeedItemSet in that Feed. - FEED_ID_MISMATCH = 2; - - // Cannot add or remove links to a dynamic set. - NO_MUTATE_ALLOWED_FOR_DYNAMIC_SET = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/feed_item_target_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/feed_item_target_error.proto deleted file mode 100644 index 3b94fc9a1..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/feed_item_target_error.proto +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemTargetErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing feed item target errors. - -// Container for enum describing possible feed item target errors. -message FeedItemTargetErrorEnum { - // Enum describing possible feed item target errors. - enum FeedItemTargetError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // On CREATE, the FeedItemTarget must have a populated field in the oneof - // target. - MUST_SET_TARGET_ONEOF_ON_CREATE = 2; - - // The specified feed item target already exists, so it cannot be added. - FEED_ITEM_TARGET_ALREADY_EXISTS = 3; - - // The schedules for a given feed item cannot overlap. - FEED_ITEM_SCHEDULES_CANNOT_OVERLAP = 4; - - // Too many targets of a given type were added for a single feed item. - TARGET_LIMIT_EXCEEDED_FOR_GIVEN_TYPE = 5; - - // Too many AdSchedules are enabled for the feed item for the given day. - TOO_MANY_SCHEDULES_PER_DAY = 6; - - // A feed item may either have an enabled campaign target or an enabled ad - // group target. - CANNOT_HAVE_ENABLED_CAMPAIGN_AND_ENABLED_AD_GROUP_TARGETS = 7; - - // Duplicate ad schedules aren't allowed. - DUPLICATE_AD_SCHEDULE = 8; - - // Duplicate keywords aren't allowed. - DUPLICATE_KEYWORD = 9; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/feed_item_validation_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/feed_item_validation_error.proto deleted file mode 100644 index 27cc0a041..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/feed_item_validation_error.proto +++ /dev/null @@ -1,373 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemValidationErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing feed item validation errors. - -// Container for enum describing possible validation errors of a feed item. -message FeedItemValidationErrorEnum { - // The possible validation errors of a feed item. - enum FeedItemValidationError { - // No value has been specified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // String is too short. - STRING_TOO_SHORT = 2; - - // String is too long. - STRING_TOO_LONG = 3; - - // Value is not provided. - VALUE_NOT_SPECIFIED = 4; - - // Phone number format is invalid for region. - INVALID_DOMESTIC_PHONE_NUMBER_FORMAT = 5; - - // String does not represent a phone number. - INVALID_PHONE_NUMBER = 6; - - // Phone number format is not compatible with country code. - PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY = 7; - - // Premium rate number is not allowed. - PREMIUM_RATE_NUMBER_NOT_ALLOWED = 8; - - // Phone number type is not allowed. - DISALLOWED_NUMBER_TYPE = 9; - - // Specified value is outside of the valid range. - VALUE_OUT_OF_RANGE = 10; - - // Call tracking is not supported in the selected country. - CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY = 11; - - // Customer is not on the allow-list for call tracking. - CUSTOMER_NOT_IN_ALLOWLIST_FOR_CALLTRACKING = 99; - - // Country code is invalid. - INVALID_COUNTRY_CODE = 13; - - // The specified mobile app id is invalid. - INVALID_APP_ID = 14; - - // Some required field attributes are missing. - MISSING_ATTRIBUTES_FOR_FIELDS = 15; - - // Invalid email button type for email extension. - INVALID_TYPE_ID = 16; - - // Email address is invalid. - INVALID_EMAIL_ADDRESS = 17; - - // The HTTPS URL in email extension is invalid. - INVALID_HTTPS_URL = 18; - - // Delivery address is missing from email extension. - MISSING_DELIVERY_ADDRESS = 19; - - // FeedItem scheduling start date comes after end date. - START_DATE_AFTER_END_DATE = 20; - - // FeedItem scheduling start time is missing. - MISSING_FEED_ITEM_START_TIME = 21; - - // FeedItem scheduling end time is missing. - MISSING_FEED_ITEM_END_TIME = 22; - - // Cannot compute system attributes on a FeedItem that has no FeedItemId. - MISSING_FEED_ITEM_ID = 23; - - // Call extension vanity phone numbers are not supported. - VANITY_PHONE_NUMBER_NOT_ALLOWED = 24; - - // Invalid review text. - INVALID_REVIEW_EXTENSION_SNIPPET = 25; - - // Invalid format for numeric value in ad parameter. - INVALID_NUMBER_FORMAT = 26; - - // Invalid format for date value in ad parameter. - INVALID_DATE_FORMAT = 27; - - // Invalid format for price value in ad parameter. - INVALID_PRICE_FORMAT = 28; - - // Unrecognized type given for value in ad parameter. - UNKNOWN_PLACEHOLDER_FIELD = 29; - - // Enhanced sitelinks must have both description lines specified. - MISSING_ENHANCED_SITELINK_DESCRIPTION_LINE = 30; - - // Review source is ineligible. - REVIEW_EXTENSION_SOURCE_INELIGIBLE = 31; - - // Review text cannot contain hyphens or dashes. - HYPHENS_IN_REVIEW_EXTENSION_SNIPPET = 32; - - // Review text cannot contain double quote characters. - DOUBLE_QUOTES_IN_REVIEW_EXTENSION_SNIPPET = 33; - - // Review text cannot contain quote characters. - QUOTES_IN_REVIEW_EXTENSION_SNIPPET = 34; - - // Parameters are encoded in the wrong format. - INVALID_FORM_ENCODED_PARAMS = 35; - - // URL parameter name must contain only letters, numbers, underscores, and - // dashes. - INVALID_URL_PARAMETER_NAME = 36; - - // Cannot find address location. - NO_GEOCODING_RESULT = 37; - - // Review extension text has source name. - SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT = 38; - - // Some phone numbers can be shorter than usual. Some of these short numbers - // are carrier-specific, and we disallow those in ad extensions because they - // will not be available to all users. - CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED = 39; - - // Triggered when a request references a placeholder field id that does not - // exist. - INVALID_PLACEHOLDER_FIELD_ID = 40; - - // URL contains invalid ValueTrack tags or format. - INVALID_URL_TAG = 41; - - // Provided list exceeds acceptable size. - LIST_TOO_LONG = 42; - - // Certain combinations of attributes aren't allowed to be specified in the - // same feed item. - INVALID_ATTRIBUTES_COMBINATION = 43; - - // An attribute has the same value repeatedly. - DUPLICATE_VALUES = 44; - - // Advertisers can link a conversion action with a phone number to indicate - // that sufficiently long calls forwarded to that phone number should be - // counted as conversions of the specified type. This is an error message - // indicating that the conversion action specified is invalid (for example, - // the conversion action does not exist within the appropriate Google Ads - // account, or it is a type of conversion not appropriate to phone call - // conversions). - INVALID_CALL_CONVERSION_ACTION_ID = 45; - - // Tracking template requires final url to be set. - CANNOT_SET_WITHOUT_FINAL_URLS = 46; - - // An app id was provided that doesn't exist in the given app store. - APP_ID_DOESNT_EXIST_IN_APP_STORE = 47; - - // Invalid U2 final url. - INVALID_FINAL_URL = 48; - - // Invalid U2 tracking url. - INVALID_TRACKING_URL = 49; - - // Final URL should start from App download URL. - INVALID_FINAL_URL_FOR_APP_DOWNLOAD_URL = 50; - - // List provided is too short. - LIST_TOO_SHORT = 51; - - // User Action field has invalid value. - INVALID_USER_ACTION = 52; - - // Type field has invalid value. - INVALID_TYPE_NAME = 53; - - // Change status for event is invalid. - INVALID_EVENT_CHANGE_STATUS = 54; - - // The header of a structured snippets extension is not one of the valid - // headers. - INVALID_SNIPPETS_HEADER = 55; - - // Android app link is not formatted correctly - INVALID_ANDROID_APP_LINK = 56; - - // Phone number incompatible with call tracking for country. - NUMBER_TYPE_WITH_CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY = 57; - - // The input is identical to a reserved keyword - RESERVED_KEYWORD_OTHER = 58; - - // Each option label in the message extension must be unique. - DUPLICATE_OPTION_LABELS = 59; - - // Each option prefill in the message extension must be unique. - DUPLICATE_OPTION_PREFILLS = 60; - - // In message extensions, the number of optional labels and optional - // prefills must be the same. - UNEQUAL_LIST_LENGTHS = 61; - - // All currency codes in an ad extension must be the same. - INCONSISTENT_CURRENCY_CODES = 62; - - // Headers in price extension are not unique. - PRICE_EXTENSION_HAS_DUPLICATED_HEADERS = 63; - - // Header and description in an item are the same. - ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION = 64; - - // Price extension has too few items. - PRICE_EXTENSION_HAS_TOO_FEW_ITEMS = 65; - - // The given value is not supported. - UNSUPPORTED_VALUE = 66; - - // Invalid final mobile url. - INVALID_FINAL_MOBILE_URL = 67; - - // The given string value of Label contains invalid characters - INVALID_KEYWORDLESS_AD_RULE_LABEL = 68; - - // The given URL contains value track parameters. - VALUE_TRACK_PARAMETER_NOT_SUPPORTED = 69; - - // The given value is not supported in the selected language of an - // extension. - UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE = 70; - - // The iOS app link is not formatted correctly. - INVALID_IOS_APP_LINK = 71; - - // iOS app link or iOS app store id is missing. - MISSING_IOS_APP_LINK_OR_IOS_APP_STORE_ID = 72; - - // Promotion time is invalid. - PROMOTION_INVALID_TIME = 73; - - // Both the percent off and money amount off fields are set. - PROMOTION_CANNOT_SET_PERCENT_OFF_AND_MONEY_AMOUNT_OFF = 74; - - // Both the promotion code and orders over amount fields are set. - PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT = 75; - - // Too many decimal places are specified. - TOO_MANY_DECIMAL_PLACES_SPECIFIED = 76; - - // Ad Customizers are present and not allowed. - AD_CUSTOMIZERS_NOT_ALLOWED = 77; - - // Language code is not valid. - INVALID_LANGUAGE_CODE = 78; - - // Language is not supported. - UNSUPPORTED_LANGUAGE = 79; - - // IF Function is present and not allowed. - IF_FUNCTION_NOT_ALLOWED = 80; - - // Final url suffix is not valid. - INVALID_FINAL_URL_SUFFIX = 81; - - // Final url suffix contains an invalid tag. - INVALID_TAG_IN_FINAL_URL_SUFFIX = 82; - - // Final url suffix is formatted incorrectly. - INVALID_FINAL_URL_SUFFIX_FORMAT = 83; - - // Consent for call recording, which is required for the use of call - // extensions, was not provided by the advertiser. See - // https://support.google.com/google-ads/answer/7412639. - CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED = 84; - - // Multiple message delivery options are set. - ONLY_ONE_DELIVERY_OPTION_IS_ALLOWED = 85; - - // No message delivery option is set. - NO_DELIVERY_OPTION_IS_SET = 86; - - // String value of conversion reporting state field is not valid. - INVALID_CONVERSION_REPORTING_STATE = 87; - - // Image size is not right. - IMAGE_SIZE_WRONG = 88; - - // Email delivery is not supported in the country specified in the country - // code field. - EMAIL_DELIVERY_NOT_AVAILABLE_IN_COUNTRY = 89; - - // Auto reply is not supported in the country specified in the country code - // field. - AUTO_REPLY_NOT_AVAILABLE_IN_COUNTRY = 90; - - // Invalid value specified for latitude. - INVALID_LATITUDE_VALUE = 91; - - // Invalid value specified for longitude. - INVALID_LONGITUDE_VALUE = 92; - - // Too many label fields provided. - TOO_MANY_LABELS = 93; - - // Invalid image url. - INVALID_IMAGE_URL = 94; - - // Latitude value is missing. - MISSING_LATITUDE_VALUE = 95; - - // Longitude value is missing. - MISSING_LONGITUDE_VALUE = 96; - - // Unable to find address. - ADDRESS_NOT_FOUND = 97; - - // Cannot target provided address. - ADDRESS_NOT_TARGETABLE = 98; - - // The specified asset ID does not exist. - INVALID_ASSET_ID = 100; - - // The asset type cannot be set for the field. - INCOMPATIBLE_ASSET_TYPE = 101; - - // The image has unexpected size. - IMAGE_ERROR_UNEXPECTED_SIZE = 102; - - // The image aspect ratio is not allowed. - IMAGE_ERROR_ASPECT_RATIO_NOT_ALLOWED = 103; - - // The image file is too large. - IMAGE_ERROR_FILE_TOO_LARGE = 104; - - // The image format is unsupported. - IMAGE_ERROR_FORMAT_NOT_ALLOWED = 105; - - // Image violates constraints without more details. - IMAGE_ERROR_CONSTRAINTS_VIOLATED = 106; - - // An error occurred when validating image. - IMAGE_ERROR_SERVER_ERROR = 107; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/feed_mapping_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/feed_mapping_error.proto deleted file mode 100644 index c2ed3ee26..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/feed_mapping_error.proto +++ /dev/null @@ -1,99 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FeedMappingErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing feed item errors. - -// Container for enum describing possible feed item errors. -message FeedMappingErrorEnum { - // Enum describing possible feed item errors. - enum FeedMappingError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The given placeholder field does not exist. - INVALID_PLACEHOLDER_FIELD = 2; - - // The given criterion field does not exist. - INVALID_CRITERION_FIELD = 3; - - // The given placeholder type does not exist. - INVALID_PLACEHOLDER_TYPE = 4; - - // The given criterion type does not exist. - INVALID_CRITERION_TYPE = 5; - - // A feed mapping must contain at least one attribute field mapping. - NO_ATTRIBUTE_FIELD_MAPPINGS = 7; - - // The type of the feed attribute referenced in the attribute field mapping - // must match the type of the placeholder field. - FEED_ATTRIBUTE_TYPE_MISMATCH = 8; - - // A feed mapping for a system generated feed cannot be operated on. - CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED = 9; - - // Only one feed mapping for a placeholder type is allowed per feed or - // customer (depending on the placeholder type). - MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE = 10; - - // Only one feed mapping for a criterion type is allowed per customer. - MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE = 11; - - // Only one feed attribute mapping for a placeholder field is allowed - // (depending on the placeholder type). - MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD = 12; - - // Only one feed attribute mapping for a criterion field is allowed - // (depending on the criterion type). - MULTIPLE_MAPPINGS_FOR_CRITERION_FIELD = 13; - - // This feed mapping may not contain any explicit attribute field mappings. - UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS = 14; - - // Location placeholder feed mappings can only be created for Places feeds. - LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS = 15; - - // Mappings for typed feeds cannot be modified. - CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED = 16; - - // The given placeholder type can only be mapped to system generated feeds. - INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED = 17; - - // The given placeholder type cannot be mapped to a system generated feed - // with the given type. - INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE = 18; - - // The "field" oneof was not set in an AttributeFieldMapping. - ATTRIBUTE_FIELD_MAPPING_MISSING_FIELD = 19; - - // Feed is read only. - LEGACY_FEED_TYPE_READ_ONLY = 20; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/field_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/field_error.proto deleted file mode 100644 index ee328af83..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/field_error.proto +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FieldErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing field errors. - -// Container for enum describing possible field errors. -message FieldErrorEnum { - // Enum describing possible field errors. - enum FieldError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The required field was not present. - REQUIRED = 2; - - // The field attempted to be mutated is immutable. - IMMUTABLE_FIELD = 3; - - // The field's value is invalid. - INVALID_VALUE = 4; - - // The field cannot be set. - VALUE_MUST_BE_UNSET = 5; - - // The required repeated field was empty. - REQUIRED_NONEMPTY_LIST = 6; - - // The field cannot be cleared. - FIELD_CANNOT_BE_CLEARED = 7; - - // The field's value is on a deny-list for this field. - BLOCKED_VALUE = 9; - - // The field's value cannot be modified, except for clearing. - FIELD_CAN_ONLY_BE_CLEARED = 10; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/field_mask_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/field_mask_error.proto deleted file mode 100644 index 42a9542ea..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/field_mask_error.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FieldMaskErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing field mask errors. - -// Container for enum describing possible field mask errors. -message FieldMaskErrorEnum { - // Enum describing possible field mask errors. - enum FieldMaskError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The field mask must be provided for update operations. - FIELD_MASK_MISSING = 5; - - // The field mask must be empty for create and remove operations. - FIELD_MASK_NOT_ALLOWED = 4; - - // The field mask contained an invalid field. - FIELD_NOT_FOUND = 2; - - // The field mask updated a field with subfields. Fields with subfields may - // be cleared, but not updated. To fix this, the field mask should select - // all the subfields of the invalid field. - FIELD_HAS_SUBFIELDS = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/function_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/function_error.proto deleted file mode 100644 index 8b2a3e049..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/function_error.proto +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FunctionErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing function errors. - -// Container for enum describing possible function errors. -message FunctionErrorEnum { - // Enum describing possible function errors. - enum FunctionError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The format of the function is not recognized as a supported function - // format. - INVALID_FUNCTION_FORMAT = 2; - - // Operand data types do not match. - DATA_TYPE_MISMATCH = 3; - - // The operands cannot be used together in a conjunction. - INVALID_CONJUNCTION_OPERANDS = 4; - - // Invalid numer of Operands. - INVALID_NUMBER_OF_OPERANDS = 5; - - // Operand Type not supported. - INVALID_OPERAND_TYPE = 6; - - // Operator not supported. - INVALID_OPERATOR = 7; - - // Request context type not supported. - INVALID_REQUEST_CONTEXT_TYPE = 8; - - // The matching function is not allowed for call placeholders - INVALID_FUNCTION_FOR_CALL_PLACEHOLDER = 9; - - // The matching function is not allowed for the specified placeholder - INVALID_FUNCTION_FOR_PLACEHOLDER = 10; - - // Invalid operand. - INVALID_OPERAND = 11; - - // Missing value for the constant operand. - MISSING_CONSTANT_OPERAND_VALUE = 12; - - // The value of the constant operand is invalid. - INVALID_CONSTANT_OPERAND_VALUE = 13; - - // Invalid function nesting. - INVALID_NESTING = 14; - - // The Feed ID was different from another Feed ID in the same function. - MULTIPLE_FEED_IDS_NOT_SUPPORTED = 15; - - // The matching function is invalid for use with a feed with a fixed schema. - INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA = 16; - - // Invalid attribute name. - INVALID_ATTRIBUTE_NAME = 17; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/function_parsing_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/function_parsing_error.proto deleted file mode 100644 index e5dd9786f..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/function_parsing_error.proto +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FunctionParsingErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing function parsing errors. - -// Container for enum describing possible function parsing errors. -message FunctionParsingErrorEnum { - // Enum describing possible function parsing errors. - enum FunctionParsingError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Unexpected end of function string. - NO_MORE_INPUT = 2; - - // Could not find an expected character. - EXPECTED_CHARACTER = 3; - - // Unexpected separator character. - UNEXPECTED_SEPARATOR = 4; - - // Unmatched left bracket or parenthesis. - UNMATCHED_LEFT_BRACKET = 5; - - // Unmatched right bracket or parenthesis. - UNMATCHED_RIGHT_BRACKET = 6; - - // Functions are nested too deeply. - TOO_MANY_NESTED_FUNCTIONS = 7; - - // Missing right-hand-side operand. - MISSING_RIGHT_HAND_OPERAND = 8; - - // Invalid operator/function name. - INVALID_OPERATOR_NAME = 9; - - // Feed attribute operand's argument is not an integer. - FEED_ATTRIBUTE_OPERAND_ARGUMENT_NOT_INTEGER = 10; - - // Missing function operands. - NO_OPERANDS = 11; - - // Function had too many operands. - TOO_MANY_OPERANDS = 12; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/geo_target_constant_suggestion_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/geo_target_constant_suggestion_error.proto deleted file mode 100644 index 1bc05b17e..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/geo_target_constant_suggestion_error.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "GeoTargetConstantSuggestionErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Container for enum describing possible geo target constant suggestion errors. -message GeoTargetConstantSuggestionErrorEnum { - // Enum describing possible geo target constant suggestion errors. - enum GeoTargetConstantSuggestionError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // A location name cannot be greater than 300 characters. - LOCATION_NAME_SIZE_LIMIT = 2; - - // At most 25 location names can be specified in a SuggestGeoTargetConstants - // method. - LOCATION_NAME_LIMIT = 3; - - // The country code is invalid. - INVALID_COUNTRY_CODE = 4; - - // Geo target constant resource names or location names must be provided in - // the request. - REQUEST_PARAMETERS_UNSET = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/header_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/header_error.proto deleted file mode 100644 index f6fc6f91e..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/header_error.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "HeaderErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing header errors. - -// Container for enum describing possible header errors. -message HeaderErrorEnum { - // Enum describing possible header errors. - enum HeaderError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The login customer ID could not be validated. - INVALID_LOGIN_CUSTOMER_ID = 3; - - // The linked customer ID could not be validated. - INVALID_LINKED_CUSTOMER_ID = 7; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/id_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/id_error.proto deleted file mode 100644 index 514f4297f..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/id_error.proto +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "IdErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing id errors. - -// Container for enum describing possible ID errors. -message IdErrorEnum { - // Enum describing possible ID errors. - enum IdError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // ID not found - NOT_FOUND = 2; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/image_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/image_error.proto deleted file mode 100644 index 87e080443..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/image_error.proto +++ /dev/null @@ -1,160 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ImageErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing image errors. - -// Container for enum describing possible image errors. -message ImageErrorEnum { - // Enum describing possible image errors. - enum ImageError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The image is not valid. - INVALID_IMAGE = 2; - - // The image could not be stored. - STORAGE_ERROR = 3; - - // There was a problem with the request. - BAD_REQUEST = 4; - - // The image is not of legal dimensions. - UNEXPECTED_SIZE = 5; - - // Animated image are not permitted. - ANIMATED_NOT_ALLOWED = 6; - - // Animation is too long. - ANIMATION_TOO_LONG = 7; - - // There was an error on the server. - SERVER_ERROR = 8; - - // Image cannot be in CMYK color format. - CMYK_JPEG_NOT_ALLOWED = 9; - - // Flash images are not permitted. - FLASH_NOT_ALLOWED = 10; - - // Flash images must support clickTag. - FLASH_WITHOUT_CLICKTAG = 11; - - // A flash error has occurred after fixing the click tag. - FLASH_ERROR_AFTER_FIXING_CLICK_TAG = 12; - - // Unacceptable visual effects. - ANIMATED_VISUAL_EFFECT = 13; - - // There was a problem with the flash image. - FLASH_ERROR = 14; - - // Incorrect image layout. - LAYOUT_PROBLEM = 15; - - // There was a problem reading the image file. - PROBLEM_READING_IMAGE_FILE = 16; - - // There was an error storing the image. - ERROR_STORING_IMAGE = 17; - - // The aspect ratio of the image is not allowed. - ASPECT_RATIO_NOT_ALLOWED = 18; - - // Flash cannot have network objects. - FLASH_HAS_NETWORK_OBJECTS = 19; - - // Flash cannot have network methods. - FLASH_HAS_NETWORK_METHODS = 20; - - // Flash cannot have a Url. - FLASH_HAS_URL = 21; - - // Flash cannot use mouse tracking. - FLASH_HAS_MOUSE_TRACKING = 22; - - // Flash cannot have a random number. - FLASH_HAS_RANDOM_NUM = 23; - - // Ad click target cannot be '_self'. - FLASH_SELF_TARGETS = 24; - - // GetUrl method should only use '_blank'. - FLASH_BAD_GETURL_TARGET = 25; - - // Flash version is not supported. - FLASH_VERSION_NOT_SUPPORTED = 26; - - // Flash movies need to have hard coded click URL or clickTAG - FLASH_WITHOUT_HARD_CODED_CLICK_URL = 27; - - // Uploaded flash file is corrupted. - INVALID_FLASH_FILE = 28; - - // Uploaded flash file can be parsed, but the click tag can not be fixed - // properly. - FAILED_TO_FIX_CLICK_TAG_IN_FLASH = 29; - - // Flash movie accesses network resources - FLASH_ACCESSES_NETWORK_RESOURCES = 30; - - // Flash movie attempts to call external javascript code - FLASH_EXTERNAL_JS_CALL = 31; - - // Flash movie attempts to call flash system commands - FLASH_EXTERNAL_FS_CALL = 32; - - // Image file is too large. - FILE_TOO_LARGE = 33; - - // Image data is too large. - IMAGE_DATA_TOO_LARGE = 34; - - // Error while processing the image. - IMAGE_PROCESSING_ERROR = 35; - - // Image is too small. - IMAGE_TOO_SMALL = 36; - - // Input was invalid. - INVALID_INPUT = 37; - - // There was a problem reading the image file. - PROBLEM_READING_FILE = 38; - - // Image constraints are violated, but details like ASPECT_RATIO_NOT_ALLOWED - // can't be provided. This happens when asset spec contains more than one - // constraint and different criteria of different constraints are violated. - IMAGE_CONSTRAINTS_VIOLATED = 39; - - // Image format is not allowed. - FORMAT_NOT_ALLOWED = 40; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/internal_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/internal_error.proto deleted file mode 100644 index 779ebffd3..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/internal_error.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "InternalErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing internal errors. - -// Container for enum describing possible internal errors. -message InternalErrorEnum { - // Enum describing possible internal errors. - enum InternalError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Google Ads API encountered unexpected internal error. - INTERNAL_ERROR = 2; - - // The intended error code doesn't exist in specified API version. It will - // be released in a future API version. - ERROR_CODE_NOT_PUBLISHED = 3; - - // Google Ads API encountered an unexpected transient error. The user - // should retry their request in these cases. - TRANSIENT_ERROR = 4; - - // The request took longer than a deadline. - DEADLINE_EXCEEDED = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/invoice_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/invoice_error.proto deleted file mode 100644 index 654f0f77a..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/invoice_error.proto +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "InvoiceErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing invoice errors. - -// Container for enum describing possible invoice errors. -message InvoiceErrorEnum { - // Enum describing possible invoice errors. - enum InvoiceError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Cannot request invoices issued before 2019-01-01. - YEAR_MONTH_TOO_OLD = 2; - - // Cannot request invoices for customer who doesn't receive invoices. - NOT_INVOICED_CUSTOMER = 3; - - // Cannot request invoices for a non approved billing setup. - BILLING_SETUP_NOT_APPROVED = 4; - - // Cannot request invoices for a billing setup that is not on monthly - // invoicing. - BILLING_SETUP_NOT_ON_MONTHLY_INVOICING = 5; - - // Cannot request invoices for a non serving customer. - NON_SERVING_CUSTOMER = 6; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/keyword_plan_ad_group_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/keyword_plan_ad_group_error.proto deleted file mode 100644 index 3dde846e9..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/keyword_plan_ad_group_error.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanAdGroupErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing errors from applying a keyword plan ad group. - -// Container for enum describing possible errors from applying a keyword plan -// ad group. -message KeywordPlanAdGroupErrorEnum { - // Enum describing possible errors from applying a keyword plan ad group. - enum KeywordPlanAdGroupError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The keyword plan ad group name is missing, empty, longer than allowed - // limit or contains invalid chars. - INVALID_NAME = 2; - - // The keyword plan ad group name is duplicate to an existing keyword plan - // AdGroup name or other keyword plan AdGroup name in the request. - DUPLICATE_NAME = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/keyword_plan_ad_group_keyword_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/keyword_plan_ad_group_keyword_error.proto deleted file mode 100644 index a1255725c..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/keyword_plan_ad_group_keyword_error.proto +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanAdGroupKeywordErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing errors from applying a keyword plan ad group keyword or -// keyword plan campaign keyword. - -// Container for enum describing possible errors from applying an ad group -// keyword or a campaign keyword from a keyword plan. -message KeywordPlanAdGroupKeywordErrorEnum { - // Enum describing possible errors from applying a keyword plan ad group - // keyword or keyword plan campaign keyword. - enum KeywordPlanAdGroupKeywordError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // A keyword or negative keyword has invalid match type. - INVALID_KEYWORD_MATCH_TYPE = 2; - - // A keyword or negative keyword with same text and match type already - // exists. - DUPLICATE_KEYWORD = 3; - - // Keyword or negative keyword text exceeds the allowed limit. - KEYWORD_TEXT_TOO_LONG = 4; - - // Keyword or negative keyword text has invalid characters or symbols. - KEYWORD_HAS_INVALID_CHARS = 5; - - // Keyword or negative keyword text has too many words. - KEYWORD_HAS_TOO_MANY_WORDS = 6; - - // Keyword or negative keyword has invalid text. - INVALID_KEYWORD_TEXT = 7; - - // Cpc Bid set for negative keyword. - NEGATIVE_KEYWORD_HAS_CPC_BID = 8; - - // New broad match modifier (BMM) KpAdGroupKeywords are not allowed. - NEW_BMM_KEYWORDS_NOT_ALLOWED = 9; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/keyword_plan_campaign_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/keyword_plan_campaign_error.proto deleted file mode 100644 index 7189710fa..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/keyword_plan_campaign_error.proto +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanCampaignErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing errors from applying a keyword plan campaign. - -// Container for enum describing possible errors from applying a keyword plan -// campaign. -message KeywordPlanCampaignErrorEnum { - // Enum describing possible errors from applying a keyword plan campaign. - enum KeywordPlanCampaignError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // A keyword plan campaign name is missing, empty, longer than allowed limit - // or contains invalid chars. - INVALID_NAME = 2; - - // A keyword plan campaign contains one or more untargetable languages. - INVALID_LANGUAGES = 3; - - // A keyword plan campaign contains one or more invalid geo targets. - INVALID_GEOS = 4; - - // The keyword plan campaign name is duplicate to an existing keyword plan - // campaign name or other keyword plan campaign name in the request. - DUPLICATE_NAME = 5; - - // The number of geo targets in the keyword plan campaign exceeds limits. - MAX_GEOS_EXCEEDED = 6; - - // The number of languages in the keyword plan campaign exceeds limits. - MAX_LANGUAGES_EXCEEDED = 7; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/keyword_plan_campaign_keyword_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/keyword_plan_campaign_keyword_error.proto deleted file mode 100644 index d635a05a2..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/keyword_plan_campaign_keyword_error.proto +++ /dev/null @@ -1,45 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanCampaignKeywordErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing errors from applying a keyword plan campaign keyword. - -// Container for enum describing possible errors from applying a keyword plan -// campaign keyword. -message KeywordPlanCampaignKeywordErrorEnum { - // Enum describing possible errors from applying a keyword plan campaign - // keyword. - enum KeywordPlanCampaignKeywordError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Keyword plan campaign keyword is positive. - CAMPAIGN_KEYWORD_IS_POSITIVE = 8; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/keyword_plan_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/keyword_plan_error.proto deleted file mode 100644 index 8703be3cc..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/keyword_plan_error.proto +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing errors from applying keyword plan resources (keyword -// plan, keyword plan campaign, keyword plan ad group or keyword plan keyword) -// or KeywordPlanService RPC. - -// Container for enum describing possible errors from applying a keyword plan -// resource (keyword plan, keyword plan campaign, keyword plan ad group or -// keyword plan keyword) or KeywordPlanService RPC. -message KeywordPlanErrorEnum { - // Enum describing possible errors from applying a keyword plan. - enum KeywordPlanError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The plan's bid multiplier value is outside the valid range. - BID_MULTIPLIER_OUT_OF_RANGE = 2; - - // The plan's bid value is too high. - BID_TOO_HIGH = 3; - - // The plan's bid value is too low. - BID_TOO_LOW = 4; - - // The plan's cpc bid is not a multiple of the minimum billable unit. - BID_TOO_MANY_FRACTIONAL_DIGITS = 5; - - // The plan's daily budget value is too low. - DAILY_BUDGET_TOO_LOW = 6; - - // The plan's daily budget is not a multiple of the minimum billable unit. - DAILY_BUDGET_TOO_MANY_FRACTIONAL_DIGITS = 7; - - // The input has an invalid value. - INVALID_VALUE = 8; - - // The plan has no keyword. - KEYWORD_PLAN_HAS_NO_KEYWORDS = 9; - - // The plan is not enabled and API cannot provide mutation, forecast or - // stats. - KEYWORD_PLAN_NOT_ENABLED = 10; - - // The requested plan cannot be found for providing forecast or stats. - KEYWORD_PLAN_NOT_FOUND = 11; - - // The plan is missing a cpc bid. - MISSING_BID = 13; - - // The plan is missing required forecast_period field. - MISSING_FORECAST_PERIOD = 14; - - // The plan's forecast_period has invalid forecast date range. - INVALID_FORECAST_DATE_RANGE = 15; - - // The plan's name is invalid. - INVALID_NAME = 16; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/keyword_plan_idea_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/keyword_plan_idea_error.proto deleted file mode 100644 index cba848e52..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/keyword_plan_idea_error.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanIdeaErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing errors from KeywordPlanIdeaService. - -// Container for enum describing possible errors from KeywordPlanIdeaService. -message KeywordPlanIdeaErrorEnum { - // Enum describing possible errors from KeywordPlanIdeaService. - enum KeywordPlanIdeaError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Error when crawling the input URL. - URL_CRAWL_ERROR = 2; - - // The input has an invalid value. - INVALID_VALUE = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/label_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/label_error.proto deleted file mode 100644 index 5f76aa869..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/label_error.proto +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "LabelErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing label errors. - -// Container for enum describing possible label errors. -message LabelErrorEnum { - // Enum describing possible label errors. - enum LabelError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // An inactive label cannot be applied. - CANNOT_APPLY_INACTIVE_LABEL = 2; - - // A label cannot be applied to a disabled ad group criterion. - CANNOT_APPLY_LABEL_TO_DISABLED_AD_GROUP_CRITERION = 3; - - // A label cannot be applied to a negative ad group criterion. - CANNOT_APPLY_LABEL_TO_NEGATIVE_AD_GROUP_CRITERION = 4; - - // Cannot apply more than 50 labels per resource. - EXCEEDED_LABEL_LIMIT_PER_TYPE = 5; - - // Labels from a manager account cannot be applied to campaign, ad group, - // ad group ad, or ad group criterion resources. - INVALID_RESOURCE_FOR_MANAGER_LABEL = 6; - - // Label names must be unique. - DUPLICATE_NAME = 7; - - // Label names cannot be empty. - INVALID_LABEL_NAME = 8; - - // Labels cannot be applied to a draft. - CANNOT_ATTACH_LABEL_TO_DRAFT = 9; - - // Labels not from a manager account cannot be applied to the customer - // resource. - CANNOT_ATTACH_NON_MANAGER_LABEL_TO_CUSTOMER = 10; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/language_code_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/language_code_error.proto deleted file mode 100644 index 59a0dd60e..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/language_code_error.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "LanguageCodeErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing language code errors. - -// Container for enum describing language code errors. -message LanguageCodeErrorEnum { - // Enum describing language code errors. - enum LanguageCodeError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The input language code is not recognized. - LANGUAGE_CODE_NOT_FOUND = 2; - - // The language code is not supported. - INVALID_LANGUAGE_CODE = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/list_operation_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/list_operation_error.proto deleted file mode 100644 index b135e1cff..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/list_operation_error.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ListOperationErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing list operation errors. - -// Container for enum describing possible list operation errors. -message ListOperationErrorEnum { - // Enum describing possible list operation errors. - enum ListOperationError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Field required in value is missing. - REQUIRED_FIELD_MISSING = 7; - - // Duplicate or identical value is sent in multiple list operations. - DUPLICATE_VALUES = 8; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/manager_link_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/manager_link_error.proto deleted file mode 100644 index 91f3b8bcf..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/manager_link_error.proto +++ /dev/null @@ -1,99 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ManagerLinkErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing ManagerLink errors. - -// Container for enum describing possible ManagerLink errors. -message ManagerLinkErrorEnum { - // Enum describing possible ManagerLink errors. - enum ManagerLinkError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The manager and client have incompatible account types. - ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING = 2; - - // Client is already linked to too many managers. - TOO_MANY_MANAGERS = 3; - - // Manager has too many pending invitations. - TOO_MANY_INVITES = 4; - - // Client is already invited by this manager. - ALREADY_INVITED_BY_THIS_MANAGER = 5; - - // The client is already managed by this manager. - ALREADY_MANAGED_BY_THIS_MANAGER = 6; - - // Client is already managed in hierarchy. - ALREADY_MANAGED_IN_HIERARCHY = 7; - - // Manager and sub-manager to be linked have duplicate client. - DUPLICATE_CHILD_FOUND = 8; - - // Client has no active user that can access the client account. - CLIENT_HAS_NO_ADMIN_USER = 9; - - // Adding this link would exceed the maximum hierarchy depth. - MAX_DEPTH_EXCEEDED = 10; - - // Adding this link will create a cycle. - CYCLE_NOT_ALLOWED = 11; - - // Manager account has the maximum number of linked clients. - TOO_MANY_ACCOUNTS = 12; - - // Parent manager account has the maximum number of linked clients. - TOO_MANY_ACCOUNTS_AT_MANAGER = 13; - - // The account is not authorized owner. - NON_OWNER_USER_CANNOT_MODIFY_LINK = 14; - - // Your manager account is suspended, and you are no longer allowed to link - // to clients. - SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS = 15; - - // You are not allowed to move a client to a manager that is not under your - // current hierarchy. - CLIENT_OUTSIDE_TREE = 16; - - // The changed status for mutate link is invalid. - INVALID_STATUS_CHANGE = 17; - - // The change for mutate link is invalid. - INVALID_CHANGE = 18; - - // You are not allowed to link a manager account to itself. - CUSTOMER_CANNOT_MANAGE_SELF = 19; - - // The link was created with status ACTIVE and not PENDING. - CREATING_ENABLED_LINK_NOT_ALLOWED = 20; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/media_bundle_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/media_bundle_error.proto deleted file mode 100644 index 840c97f35..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/media_bundle_error.proto +++ /dev/null @@ -1,106 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "MediaBundleErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing media bundle errors. - -// Container for enum describing possible media bundle errors. -message MediaBundleErrorEnum { - // Enum describing possible media bundle errors. - enum MediaBundleError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // There was a problem with the request. - BAD_REQUEST = 3; - - // HTML5 ads using DoubleClick Studio created ZIP files are not supported. - DOUBLECLICK_BUNDLE_NOT_ALLOWED = 4; - - // Cannot reference URL external to the media bundle. - EXTERNAL_URL_NOT_ALLOWED = 5; - - // Media bundle file is too large. - FILE_TOO_LARGE = 6; - - // ZIP file from Google Web Designer is not published. - GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED = 7; - - // Input was invalid. - INVALID_INPUT = 8; - - // There was a problem with the media bundle. - INVALID_MEDIA_BUNDLE = 9; - - // There was a problem with one or more of the media bundle entries. - INVALID_MEDIA_BUNDLE_ENTRY = 10; - - // The media bundle contains a file with an unknown mime type - INVALID_MIME_TYPE = 11; - - // The media bundle contain an invalid asset path. - INVALID_PATH = 12; - - // HTML5 ad is trying to reference an asset not in .ZIP file - INVALID_URL_REFERENCE = 13; - - // Media data is too large. - MEDIA_DATA_TOO_LARGE = 14; - - // The media bundle contains no primary entry. - MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY = 15; - - // There was an error on the server. - SERVER_ERROR = 16; - - // The image could not be stored. - STORAGE_ERROR = 17; - - // Media bundle created with the Swiffy tool is not allowed. - SWIFFY_BUNDLE_NOT_ALLOWED = 18; - - // The media bundle contains too many files. - TOO_MANY_FILES = 19; - - // The media bundle is not of legal dimensions. - UNEXPECTED_SIZE = 20; - - // Google Web Designer not created for "Google Ads" environment. - UNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENT = 21; - - // Unsupported HTML5 feature in HTML5 asset. - UNSUPPORTED_HTML5_FEATURE = 22; - - // URL in HTML5 entry is not ssl compliant. - URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT = 23; - - // Custom exits not allowed in HTML5 entry. - CUSTOM_EXIT_NOT_ALLOWED = 24; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/media_file_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/media_file_error.proto deleted file mode 100644 index 81ae4031b..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/media_file_error.proto +++ /dev/null @@ -1,109 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "MediaFileErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing media file errors. - -// Container for enum describing possible media file errors. -message MediaFileErrorEnum { - // Enum describing possible media file errors. - enum MediaFileError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Cannot create a standard icon type. - CANNOT_CREATE_STANDARD_ICON = 2; - - // May only select Standard Icons alone. - CANNOT_SELECT_STANDARD_ICON_WITH_OTHER_TYPES = 3; - - // Image contains both a media file ID and data. - CANNOT_SPECIFY_MEDIA_FILE_ID_AND_DATA = 4; - - // A media file with given type and reference ID already exists. - DUPLICATE_MEDIA = 5; - - // A required field was not specified or is an empty string. - EMPTY_FIELD = 6; - - // A media file may only be modified once per call. - RESOURCE_REFERENCED_IN_MULTIPLE_OPS = 7; - - // Field is not supported for the media sub type. - FIELD_NOT_SUPPORTED_FOR_MEDIA_SUB_TYPE = 8; - - // The media file ID is invalid. - INVALID_MEDIA_FILE_ID = 9; - - // The media subtype is invalid. - INVALID_MEDIA_SUB_TYPE = 10; - - // The media file type is invalid. - INVALID_MEDIA_FILE_TYPE = 11; - - // The mimetype is invalid. - INVALID_MIME_TYPE = 12; - - // The media reference ID is invalid. - INVALID_REFERENCE_ID = 13; - - // The YouTube video ID is invalid. - INVALID_YOU_TUBE_ID = 14; - - // Media file has failed transcoding - MEDIA_FILE_FAILED_TRANSCODING = 15; - - // Media file has not been transcoded. - MEDIA_NOT_TRANSCODED = 16; - - // The media type does not match the actual media file's type. - MEDIA_TYPE_DOES_NOT_MATCH_MEDIA_FILE_TYPE = 17; - - // None of the fields have been specified. - NO_FIELDS_SPECIFIED = 18; - - // One of reference ID or media file ID must be specified. - NULL_REFERENCE_ID_AND_MEDIA_ID = 19; - - // The string has too many characters. - TOO_LONG = 20; - - // The specified type is not supported. - UNSUPPORTED_TYPE = 21; - - // YouTube is unavailable for requesting video data. - YOU_TUBE_SERVICE_UNAVAILABLE = 22; - - // The YouTube video has a non positive duration. - YOU_TUBE_VIDEO_HAS_NON_POSITIVE_DURATION = 23; - - // The YouTube video ID is syntactically valid but the video was not found. - YOU_TUBE_VIDEO_NOT_FOUND = 24; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/media_upload_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/media_upload_error.proto deleted file mode 100644 index 591b7dffe..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/media_upload_error.proto +++ /dev/null @@ -1,148 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "MediaUploadErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing media uploading errors. - -// Container for enum describing possible media uploading errors. -message MediaUploadErrorEnum { - // Enum describing possible media uploading errors. - enum MediaUploadError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The uploaded file is too big. - FILE_TOO_BIG = 2; - - // Image data is unparseable. - UNPARSEABLE_IMAGE = 3; - - // Animated images are not allowed. - ANIMATED_IMAGE_NOT_ALLOWED = 4; - - // The image or media bundle format is not allowed. - FORMAT_NOT_ALLOWED = 5; - - // Cannot reference URL external to the media bundle. - EXTERNAL_URL_NOT_ALLOWED = 6; - - // HTML5 ad is trying to reference an asset not in .ZIP file. - INVALID_URL_REFERENCE = 7; - - // The media bundle contains no primary entry. - MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY = 8; - - // Animation has disallowed visual effects. - ANIMATED_VISUAL_EFFECT = 9; - - // Animation longer than the allowed 30 second limit. - ANIMATION_TOO_LONG = 10; - - // The aspect ratio of the image does not match the expected aspect ratios - // provided in the asset spec. - ASPECT_RATIO_NOT_ALLOWED = 11; - - // Audio files are not allowed in bundle. - AUDIO_NOT_ALLOWED_IN_MEDIA_BUNDLE = 12; - - // CMYK jpegs are not supported. - CMYK_JPEG_NOT_ALLOWED = 13; - - // Flash movies are not allowed. - FLASH_NOT_ALLOWED = 14; - - // The frame rate of the video is higher than the allowed 5fps. - FRAME_RATE_TOO_HIGH = 15; - - // ZIP file from Google Web Designer is not published. - GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED = 16; - - // Image constraints are violated, but more details (like - // DIMENSIONS_NOT_ALLOWED or ASPECT_RATIO_NOT_ALLOWED) can not be provided. - // This happens when asset spec contains more than one constraint and - // criteria of different constraints are violated. - IMAGE_CONSTRAINTS_VIOLATED = 17; - - // Media bundle data is unrecognizable. - INVALID_MEDIA_BUNDLE = 18; - - // There was a problem with one or more of the media bundle entries. - INVALID_MEDIA_BUNDLE_ENTRY = 19; - - // The asset has an invalid mime type. - INVALID_MIME_TYPE = 20; - - // The media bundle contains an invalid asset path. - INVALID_PATH = 21; - - // Image has layout problem. - LAYOUT_PROBLEM = 22; - - // An asset had a URL reference that is malformed per RFC 1738 convention. - MALFORMED_URL = 23; - - // The uploaded media bundle format is not allowed. - MEDIA_BUNDLE_NOT_ALLOWED = 24; - - // The media bundle is not compatible with the asset spec product type. - // (For example, Gmail, dynamic remarketing, etc.) - MEDIA_BUNDLE_NOT_COMPATIBLE_TO_PRODUCT_TYPE = 25; - - // A bundle being uploaded that is incompatible with multiple assets for - // different reasons. - MEDIA_BUNDLE_REJECTED_BY_MULTIPLE_ASSET_SPECS = 26; - - // The media bundle contains too many files. - TOO_MANY_FILES_IN_MEDIA_BUNDLE = 27; - - // Google Web Designer not created for "Google Ads" environment. - UNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENT = 28; - - // Unsupported HTML5 feature in HTML5 asset. - UNSUPPORTED_HTML5_FEATURE = 29; - - // URL in HTML5 entry is not SSL compliant. - URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT = 30; - - // Video file name is longer than the 50 allowed characters. - VIDEO_FILE_NAME_TOO_LONG = 31; - - // Multiple videos with same name in a bundle. - VIDEO_MULTIPLE_FILES_WITH_SAME_NAME = 32; - - // Videos are not allowed in media bundle. - VIDEO_NOT_ALLOWED_IN_MEDIA_BUNDLE = 33; - - // This type of media cannot be uploaded through the Google Ads API. - CANNOT_UPLOAD_MEDIA_TYPE_THROUGH_API = 34; - - // The dimensions of the image are not allowed. - DIMENSIONS_NOT_ALLOWED = 35; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/merchant_center_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/merchant_center_error.proto deleted file mode 100644 index f67933604..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/merchant_center_error.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "MerchantCenterErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing merchant center errors. - -// Container for enum describing possible merchant center errors. -message MerchantCenterErrorEnum { - // Enum describing Merchant Center errors. - enum MerchantCenterError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Merchant ID is either not found or not linked to the Google Ads customer. - MERCHANT_ID_CANNOT_BE_ACCESSED = 2; - - // Customer not allowlisted for Shopping in Performance Max Campaign. - CUSTOMER_NOT_ALLOWED_FOR_SHOPPING_PERFORMANCE_MAX = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/multiplier_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/multiplier_error.proto deleted file mode 100644 index 22d7cb92e..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/multiplier_error.proto +++ /dev/null @@ -1,78 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "MultiplierErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing multiplier errors. - -// Container for enum describing possible multiplier errors. -message MultiplierErrorEnum { - // Enum describing possible multiplier errors. - enum MultiplierError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Multiplier value is too high - MULTIPLIER_TOO_HIGH = 2; - - // Multiplier value is too low - MULTIPLIER_TOO_LOW = 3; - - // Too many fractional digits - TOO_MANY_FRACTIONAL_DIGITS = 4; - - // A multiplier cannot be set for this bidding strategy - MULTIPLIER_NOT_ALLOWED_FOR_BIDDING_STRATEGY = 5; - - // A multiplier cannot be set when there is no base bid (for example, - // content max cpc) - MULTIPLIER_NOT_ALLOWED_WHEN_BASE_BID_IS_MISSING = 6; - - // A bid multiplier must be specified - NO_MULTIPLIER_SPECIFIED = 7; - - // Multiplier causes bid to exceed daily budget - MULTIPLIER_CAUSES_BID_TO_EXCEED_DAILY_BUDGET = 8; - - // Multiplier causes bid to exceed monthly budget - MULTIPLIER_CAUSES_BID_TO_EXCEED_MONTHLY_BUDGET = 9; - - // Multiplier causes bid to exceed custom budget - MULTIPLIER_CAUSES_BID_TO_EXCEED_CUSTOM_BUDGET = 10; - - // Multiplier causes bid to exceed maximum allowed bid - MULTIPLIER_CAUSES_BID_TO_EXCEED_MAX_ALLOWED_BID = 11; - - // Multiplier causes bid to become less than the minimum bid allowed - BID_LESS_THAN_MIN_ALLOWED_BID_WITH_MULTIPLIER = 12; - - // Multiplier type (cpc versus cpm) needs to match campaign's bidding - // strategy - MULTIPLIER_AND_BIDDING_STRATEGY_TYPE_MISMATCH = 13; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/mutate_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/mutate_error.proto deleted file mode 100644 index 4c830835b..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/mutate_error.proto +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "MutateErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing mutate errors. - -// Container for enum describing possible mutate errors. -message MutateErrorEnum { - // Enum describing possible mutate errors. - enum MutateError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Requested resource was not found. - RESOURCE_NOT_FOUND = 3; - - // Cannot mutate the same resource twice in one request. - ID_EXISTS_IN_MULTIPLE_MUTATES = 7; - - // The field's contents don't match another field that represents the same - // data. - INCONSISTENT_FIELD_VALUES = 8; - - // Mutates are not allowed for the requested resource. - MUTATE_NOT_ALLOWED = 9; - - // The resource isn't in Google Ads. It belongs to another ads system. - RESOURCE_NOT_IN_GOOGLE_ADS = 10; - - // The resource being created already exists. - RESOURCE_ALREADY_EXISTS = 11; - - // This resource cannot be used with "validate_only". - RESOURCE_DOES_NOT_SUPPORT_VALIDATE_ONLY = 12; - - // This operation cannot be used with "partial_failure". - OPERATION_DOES_NOT_SUPPORT_PARTIAL_FAILURE = 16; - - // Attempt to write to read-only fields. - RESOURCE_READ_ONLY = 13; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/new_resource_creation_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/new_resource_creation_error.proto deleted file mode 100644 index 911ab52b4..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/new_resource_creation_error.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "NewResourceCreationErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing new resource creation errors. - -// Container for enum describing possible new resource creation errors. -message NewResourceCreationErrorEnum { - // Enum describing possible new resource creation errors. - enum NewResourceCreationError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Do not set the id field while creating new resources. - CANNOT_SET_ID_FOR_CREATE = 2; - - // Creating more than one resource with the same temp ID is not allowed. - DUPLICATE_TEMP_IDS = 3; - - // Parent resource with specified temp ID failed validation, so no - // validation will be done for this child resource. - TEMP_ID_RESOURCE_HAD_ERRORS = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/not_allowlisted_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/not_allowlisted_error.proto deleted file mode 100644 index 2813f53f0..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/not_allowlisted_error.proto +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "NotAllowlistedErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing not allowlisted errors. - -// Container for enum describing possible not allowlisted errors. -message NotAllowlistedErrorEnum { - // Enum describing possible not allowlisted errors. - enum NotAllowlistedError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Customer is not allowlisted for accessing this feature. - CUSTOMER_NOT_ALLOWLISTED_FOR_THIS_FEATURE = 2; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/not_empty_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/not_empty_error.proto deleted file mode 100644 index 850e52633..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/not_empty_error.proto +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "NotEmptyErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing not empty errors. - -// Container for enum describing possible not empty errors. -message NotEmptyErrorEnum { - // Enum describing possible not empty errors. - enum NotEmptyError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Empty list. - EMPTY_LIST = 2; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/null_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/null_error.proto deleted file mode 100644 index 852408f7b..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/null_error.proto +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "NullErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing null errors. - -// Container for enum describing possible null errors. -message NullErrorEnum { - // Enum describing possible null errors. - enum NullError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Specified list/container must not contain any null elements - NULL_CONTENT = 2; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/offline_user_data_job_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/offline_user_data_job_error.proto deleted file mode 100644 index 7f8b59d84..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/offline_user_data_job_error.proto +++ /dev/null @@ -1,171 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "OfflineUserDataJobErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing offline user data job errors. - -// Container for enum describing possible offline user data job errors. -message OfflineUserDataJobErrorEnum { - // Enum describing possible request errors. - enum OfflineUserDataJobError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The user list ID provided for the job is invalid. - INVALID_USER_LIST_ID = 3; - - // Type of the user list is not applicable for the job. - INVALID_USER_LIST_TYPE = 4; - - // Customer is not allowisted for using user ID in upload data. - NOT_ON_ALLOWLIST_FOR_USER_ID = 33; - - // Upload data is not compatible with the upload key type of the associated - // user list. - INCOMPATIBLE_UPLOAD_KEY_TYPE = 6; - - // The user identifier is missing valid data. - MISSING_USER_IDENTIFIER = 7; - - // The mobile ID is malformed. - INVALID_MOBILE_ID_FORMAT = 8; - - // Maximum number of user identifiers allowed per request is 100,000 and per - // operation is 20. - TOO_MANY_USER_IDENTIFIERS = 9; - - // Customer is not on the allow-list for store sales direct data. - NOT_ON_ALLOWLIST_FOR_STORE_SALES_DIRECT = 31; - - // Customer is not on the allow-list for unified store sales data. - NOT_ON_ALLOWLIST_FOR_UNIFIED_STORE_SALES = 32; - - // The partner ID in store sales direct metadata is invalid. - INVALID_PARTNER_ID = 11; - - // The data in user identifier should not be encoded. - INVALID_ENCODING = 12; - - // The country code is invalid. - INVALID_COUNTRY_CODE = 13; - - // Incompatible user identifier when using third_party_user_id for store - // sales direct first party data or not using third_party_user_id for store - // sales third party data. - INCOMPATIBLE_USER_IDENTIFIER = 14; - - // A transaction time in the future is not allowed. - FUTURE_TRANSACTION_TIME = 15; - - // The conversion_action specified in transaction_attributes is used to - // report conversions to a conversion action configured in Google Ads. This - // error indicates there is no such conversion action in the account. - INVALID_CONVERSION_ACTION = 16; - - // Mobile ID is not supported for store sales direct data. - MOBILE_ID_NOT_SUPPORTED = 17; - - // When a remove-all operation is provided, it has to be the first operation - // of the operation list. - INVALID_OPERATION_ORDER = 18; - - // Mixing creation and removal of offline data in the same job is not - // allowed. - CONFLICTING_OPERATION = 19; - - // The external update ID already exists. - EXTERNAL_UPDATE_ID_ALREADY_EXISTS = 21; - - // Once the upload job is started, new operations cannot be added. - JOB_ALREADY_STARTED = 22; - - // Remove operation is not allowed for store sales direct updates. - REMOVE_NOT_SUPPORTED = 23; - - // Remove-all is not supported for certain offline user data job types. - REMOVE_ALL_NOT_SUPPORTED = 24; - - // The SHA256 encoded value is malformed. - INVALID_SHA256_FORMAT = 25; - - // The custom key specified is not enabled for the unified store sales - // upload. - CUSTOM_KEY_DISABLED = 26; - - // The custom key specified is not predefined through the Google Ads UI. - CUSTOM_KEY_NOT_PREDEFINED = 27; - - // The custom key specified is not set in the upload. - CUSTOM_KEY_NOT_SET = 29; - - // The customer has not accepted the customer data terms in the conversion - // settings page. - CUSTOMER_NOT_ACCEPTED_CUSTOMER_DATA_TERMS = 30; - - // User attributes cannot be uploaded into a user list. - ATTRIBUTES_NOT_APPLICABLE_FOR_CUSTOMER_MATCH_USER_LIST = 34; - - // Lifetime bucket value must be a number from 0 to 10; 0 is only accepted - // for remove operations - LIFETIME_VALUE_BUCKET_NOT_IN_RANGE = 35; - - // Identifiers not supported for Customer Match attributes. User attributes - // can only be provided with contact info (email, phone, address) user - // identifiers. - INCOMPATIBLE_USER_IDENTIFIER_FOR_ATTRIBUTES = 36; - - // A time in the future is not allowed. - FUTURE_TIME_NOT_ALLOWED = 37; - - // Last purchase date time cannot be less than acquisition date time. - LAST_PURCHASE_TIME_LESS_THAN_ACQUISITION_TIME = 38; - - // Only emails are accepted as user identifiers for shopping loyalty match. - // {-- api.dev/not-precedent: The identifier is not limited to ids, but - // also include other user info eg. phone numbers.} - CUSTOMER_IDENTIFIER_NOT_ALLOWED = 39; - - // Provided item ID is invalid. - INVALID_ITEM_ID = 40; - - // First purchase date time cannot be greater than the last purchase date - // time. - FIRST_PURCHASE_TIME_GREATER_THAN_LAST_PURCHASE_TIME = 42; - - // Provided lifecycle stage is invalid. - INVALID_LIFECYCLE_STAGE = 43; - - // The event value of the Customer Match user attribute is invalid. - INVALID_EVENT_VALUE = 44; - - // All the fields are not present in the EventAttribute of the Customer - // Match. - EVENT_ATTRIBUTE_ALL_FIELDS_ARE_REQUIRED = 45; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/operation_access_denied_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/operation_access_denied_error.proto deleted file mode 100644 index e42584197..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/operation_access_denied_error.proto +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "OperationAccessDeniedErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing operation access denied errors. - -// Container for enum describing possible operation access denied errors. -message OperationAccessDeniedErrorEnum { - // Enum describing possible operation access denied errors. - enum OperationAccessDeniedError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Unauthorized invocation of a service's method (get, mutate, etc.) - ACTION_NOT_PERMITTED = 2; - - // Unauthorized CREATE operation in invoking a service's mutate method. - CREATE_OPERATION_NOT_PERMITTED = 3; - - // Unauthorized REMOVE operation in invoking a service's mutate method. - REMOVE_OPERATION_NOT_PERMITTED = 4; - - // Unauthorized UPDATE operation in invoking a service's mutate method. - UPDATE_OPERATION_NOT_PERMITTED = 5; - - // A mutate action is not allowed on this resource, from this client. - MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT = 6; - - // This operation is not permitted on this campaign type - OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE = 7; - - // A CREATE operation may not set status to REMOVED. - CREATE_AS_REMOVED_NOT_PERMITTED = 8; - - // This operation is not allowed because the resource is removed. - OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE = 9; - - // This operation is not permitted on this ad group type. - OPERATION_NOT_PERMITTED_FOR_AD_GROUP_TYPE = 10; - - // The mutate is not allowed for this customer. - MUTATE_NOT_PERMITTED_FOR_CUSTOMER = 11; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/operator_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/operator_error.proto deleted file mode 100644 index 9cf0f86be..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/operator_error.proto +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "OperatorErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing operator errors. - -// Container for enum describing possible operator errors. -message OperatorErrorEnum { - // Enum describing possible operator errors. - enum OperatorError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Operator not supported. - OPERATOR_NOT_SUPPORTED = 2; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/partial_failure_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/partial_failure_error.proto deleted file mode 100644 index 1c9d9c8e3..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/partial_failure_error.proto +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "PartialFailureErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing partial failure errors. - -// Container for enum describing possible partial failure errors. -message PartialFailureErrorEnum { - // Enum describing possible partial failure errors. - enum PartialFailureError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The partial failure field was false in the request. - // This method requires this field be set to true. - PARTIAL_FAILURE_MODE_REQUIRED = 2; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/payments_account_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/payments_account_error.proto deleted file mode 100644 index f498786de..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/payments_account_error.proto +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "PaymentsAccountErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing payments account service errors. - -// Container for enum describing possible errors in payments account service. -message PaymentsAccountErrorEnum { - // Enum describing possible errors in payments account service. - enum PaymentsAccountError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Manager customers are not supported for payments account service. - NOT_SUPPORTED_FOR_MANAGER_CUSTOMER = 2; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/policy_finding_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/policy_finding_error.proto deleted file mode 100644 index 4252085ac..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/policy_finding_error.proto +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "PolicyFindingErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing policy finding errors. - -// Container for enum describing possible policy finding errors. -message PolicyFindingErrorEnum { - // Enum describing possible policy finding errors. - enum PolicyFindingError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The resource has been disapproved since the policy summary includes - // policy topics of type PROHIBITED. - POLICY_FINDING = 2; - - // The given policy topic does not exist. - POLICY_TOPIC_NOT_FOUND = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/policy_validation_parameter_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/policy_validation_parameter_error.proto deleted file mode 100644 index 40aa7468b..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/policy_validation_parameter_error.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "PolicyValidationParameterErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing policy validation parameter errors. - -// Container for enum describing possible policy validation parameter errors. -message PolicyValidationParameterErrorEnum { - // Enum describing possible policy validation parameter errors. - enum PolicyValidationParameterError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Ignorable policy topics are not supported for the ad type. - UNSUPPORTED_AD_TYPE_FOR_IGNORABLE_POLICY_TOPICS = 2; - - // Exempt policy violation keys are not supported for the ad type. - UNSUPPORTED_AD_TYPE_FOR_EXEMPT_POLICY_VIOLATION_KEYS = 3; - - // Cannot set ignorable policy topics and exempt policy violation keys in - // the same policy violation parameter. - CANNOT_SET_BOTH_IGNORABLE_POLICY_TOPICS_AND_EXEMPT_POLICY_VIOLATION_KEYS = - 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/policy_violation_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/policy_violation_error.proto deleted file mode 100644 index fa3d3fefa..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/policy_violation_error.proto +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "PolicyViolationErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing policy violation errors. - -// Container for enum describing possible policy violation errors. -message PolicyViolationErrorEnum { - // Enum describing possible policy violation errors. - enum PolicyViolationError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // A policy was violated. See PolicyViolationDetails for more detail. - POLICY_ERROR = 2; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/query_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/query_error.proto deleted file mode 100644 index 33e2c4176..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/query_error.proto +++ /dev/null @@ -1,223 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "QueryErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing query errors. - -// Container for enum describing possible query errors. -message QueryErrorEnum { - // Enum describing possible query errors. - enum QueryError { - // Name unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Returned if all other query error reasons are not applicable. - QUERY_ERROR = 50; - - // A condition used in the query references an invalid enum constant. - BAD_ENUM_CONSTANT = 18; - - // Query contains an invalid escape sequence. - BAD_ESCAPE_SEQUENCE = 7; - - // Field name is invalid. - BAD_FIELD_NAME = 12; - - // Limit value is invalid (for example, not a number) - BAD_LIMIT_VALUE = 15; - - // Encountered number can not be parsed. - BAD_NUMBER = 5; - - // Invalid operator encountered. - BAD_OPERATOR = 3; - - // Parameter unknown or not supported. - BAD_PARAMETER_NAME = 61; - - // Parameter have invalid value. - BAD_PARAMETER_VALUE = 62; - - // Invalid resource type was specified in the FROM clause. - BAD_RESOURCE_TYPE_IN_FROM_CLAUSE = 45; - - // Non-ASCII symbol encountered outside of strings. - BAD_SYMBOL = 2; - - // Value is invalid. - BAD_VALUE = 4; - - // Date filters fail to restrict date to a range smaller than 31 days. - // Applicable if the query is segmented by date. - DATE_RANGE_TOO_WIDE = 36; - - // Filters on date/week/month/quarter have a start date after - // end date. - DATE_RANGE_TOO_NARROW = 60; - - // Expected AND between values with BETWEEN operator. - EXPECTED_AND = 30; - - // Expecting ORDER BY to have BY. - EXPECTED_BY = 14; - - // There was no dimension field selected. - EXPECTED_DIMENSION_FIELD_IN_SELECT_CLAUSE = 37; - - // Missing filters on date related fields. - EXPECTED_FILTERS_ON_DATE_RANGE = 55; - - // Missing FROM clause. - EXPECTED_FROM = 44; - - // The operator used in the conditions requires the value to be a list. - EXPECTED_LIST = 41; - - // Fields used in WHERE or ORDER BY clauses are missing from the SELECT - // clause. - EXPECTED_REFERENCED_FIELD_IN_SELECT_CLAUSE = 16; - - // SELECT is missing at the beginning of query. - EXPECTED_SELECT = 13; - - // A list was passed as a value to a condition whose operator expects a - // single value. - EXPECTED_SINGLE_VALUE = 42; - - // Missing one or both values with BETWEEN operator. - EXPECTED_VALUE_WITH_BETWEEN_OPERATOR = 29; - - // Invalid date format. Expected 'YYYY-MM-DD'. - INVALID_DATE_FORMAT = 38; - - // Misaligned date value for the filter. The date should be the start of a - // week/month/quarter if the filtered field is - // segments.week/segments.month/segments.quarter. - MISALIGNED_DATE_FOR_FILTER = 64; - - // Value passed was not a string when it should have been. For example, it - // was a number or unquoted literal. - INVALID_STRING_VALUE = 57; - - // A String value passed to the BETWEEN operator does not parse as a date. - INVALID_VALUE_WITH_BETWEEN_OPERATOR = 26; - - // The value passed to the DURING operator is not a Date range literal - INVALID_VALUE_WITH_DURING_OPERATOR = 22; - - // An invalid value was passed to the LIKE operator. - INVALID_VALUE_WITH_LIKE_OPERATOR = 56; - - // An operator was provided that is inapplicable to the field being - // filtered. - OPERATOR_FIELD_MISMATCH = 35; - - // A Condition was found with an empty list. - PROHIBITED_EMPTY_LIST_IN_CONDITION = 28; - - // A condition used in the query references an unsupported enum constant. - PROHIBITED_ENUM_CONSTANT = 54; - - // Fields that are not allowed to be selected together were included in - // the SELECT clause. - PROHIBITED_FIELD_COMBINATION_IN_SELECT_CLAUSE = 31; - - // A field that is not orderable was included in the ORDER BY clause. - PROHIBITED_FIELD_IN_ORDER_BY_CLAUSE = 40; - - // A field that is not selectable was included in the SELECT clause. - PROHIBITED_FIELD_IN_SELECT_CLAUSE = 23; - - // A field that is not filterable was included in the WHERE clause. - PROHIBITED_FIELD_IN_WHERE_CLAUSE = 24; - - // Resource type specified in the FROM clause is not supported by this - // service. - PROHIBITED_RESOURCE_TYPE_IN_FROM_CLAUSE = 43; - - // A field that comes from an incompatible resource was included in the - // SELECT clause. - PROHIBITED_RESOURCE_TYPE_IN_SELECT_CLAUSE = 48; - - // A field that comes from an incompatible resource was included in the - // WHERE clause. - PROHIBITED_RESOURCE_TYPE_IN_WHERE_CLAUSE = 58; - - // A metric incompatible with the main resource or other selected - // segmenting resources was included in the SELECT or WHERE clause. - PROHIBITED_METRIC_IN_SELECT_OR_WHERE_CLAUSE = 49; - - // A segment incompatible with the main resource or other selected - // segmenting resources was included in the SELECT or WHERE clause. - PROHIBITED_SEGMENT_IN_SELECT_OR_WHERE_CLAUSE = 51; - - // A segment in the SELECT clause is incompatible with a metric in the - // SELECT or WHERE clause. - PROHIBITED_SEGMENT_WITH_METRIC_IN_SELECT_OR_WHERE_CLAUSE = 53; - - // The value passed to the limit clause is too low. - LIMIT_VALUE_TOO_LOW = 25; - - // Query has a string containing a newline character. - PROHIBITED_NEWLINE_IN_STRING = 8; - - // List contains values of different types. - PROHIBITED_VALUE_COMBINATION_IN_LIST = 10; - - // The values passed to the BETWEEN operator are not of the same type. - PROHIBITED_VALUE_COMBINATION_WITH_BETWEEN_OPERATOR = 21; - - // Query contains unterminated string. - STRING_NOT_TERMINATED = 6; - - // Too many segments are specified in SELECT clause. - TOO_MANY_SEGMENTS = 34; - - // Query is incomplete and cannot be parsed. - UNEXPECTED_END_OF_QUERY = 9; - - // FROM clause cannot be specified in this query. - UNEXPECTED_FROM_CLAUSE = 47; - - // Query contains one or more unrecognized fields. - UNRECOGNIZED_FIELD = 32; - - // Query has an unexpected extra part. - UNEXPECTED_INPUT = 11; - - // Metrics cannot be requested for a manager account. To retrieve metrics, - // issue separate requests against each client account under the manager - // account. - REQUESTED_METRICS_FOR_MANAGER = 59; - - // The number of values (right-hand-side operands) in a filter exceeds the - // limit. - FILTER_HAS_TOO_MANY_VALUES = 63; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/quota_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/quota_error.proto deleted file mode 100644 index afc66d862..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/quota_error.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "QuotaErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing quota errors. - -// Container for enum describing possible quota errors. -message QuotaErrorEnum { - // Enum describing possible quota errors. - enum QuotaError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Too many requests. - RESOURCE_EXHAUSTED = 2; - - // Access is prohibited. - ACCESS_PROHIBITED = 3; - - // Too many requests in a short amount of time. - RESOURCE_TEMPORARILY_EXHAUSTED = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/range_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/range_error.proto deleted file mode 100644 index a160ab7bd..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/range_error.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "RangeErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing range errors. - -// Container for enum describing possible range errors. -message RangeErrorEnum { - // Enum describing possible range errors. - enum RangeError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Too low. - TOO_LOW = 2; - - // Too high. - TOO_HIGH = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/reach_plan_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/reach_plan_error.proto deleted file mode 100644 index 21f762517..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/reach_plan_error.proto +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ReachPlanErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing errors generated from ReachPlanService. - -// Container for enum describing possible errors returned from -// the ReachPlanService. -message ReachPlanErrorEnum { - // Enum describing possible errors from ReachPlanService. - enum ReachPlanError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Not forecastable due to missing rate card data. - NOT_FORECASTABLE_MISSING_RATE = 2; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/recommendation_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/recommendation_error.proto deleted file mode 100644 index 8f3432c8c..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/recommendation_error.proto +++ /dev/null @@ -1,86 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "RecommendationErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing errors from applying a recommendation. - -// Container for enum describing possible errors from applying a recommendation. -message RecommendationErrorEnum { - // Enum describing possible errors from applying a recommendation. - enum RecommendationError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The specified budget amount is too low for example, lower than minimum - // currency unit or lower than ad group minimum cost-per-click. - BUDGET_AMOUNT_TOO_SMALL = 2; - - // The specified budget amount is too large. - BUDGET_AMOUNT_TOO_LARGE = 3; - - // The specified budget amount is not a valid amount, for example, not a - // multiple of minimum currency unit. - INVALID_BUDGET_AMOUNT = 4; - - // The specified keyword or ad violates ad policy. - POLICY_ERROR = 5; - - // The specified bid amount is not valid, for example, too many fractional - // digits, or negative amount. - INVALID_BID_AMOUNT = 6; - - // The number of keywords in ad group have reached the maximum allowed. - ADGROUP_KEYWORD_LIMIT = 7; - - // The recommendation requested to apply has already been applied. - RECOMMENDATION_ALREADY_APPLIED = 8; - - // The recommendation requested to apply has been invalidated. - RECOMMENDATION_INVALIDATED = 9; - - // The number of operations in a single request exceeds the maximum allowed. - TOO_MANY_OPERATIONS = 10; - - // There are no operations in the request. - NO_OPERATIONS = 11; - - // Operations with multiple recommendation types are not supported when - // partial failure mode is not enabled. - DIFFERENT_TYPES_NOT_SUPPORTED = 12; - - // Request contains multiple operations with the same resource_name. - DUPLICATE_RESOURCE_NAME = 13; - - // The recommendation requested to dismiss has already been dismissed. - RECOMMENDATION_ALREADY_DISMISSED = 14; - - // The recommendation apply request was malformed and invalid. - INVALID_APPLY_REQUEST = 15; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/region_code_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/region_code_error.proto deleted file mode 100644 index 92157dd6e..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/region_code_error.proto +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "RegionCodeErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing region code errors. - -// Container for enum describing possible region code errors. -message RegionCodeErrorEnum { - // Enum describing possible region code errors. - enum RegionCodeError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Invalid region code. - INVALID_REGION_CODE = 2; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/request_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/request_error.proto deleted file mode 100644 index d75f3b28b..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/request_error.proto +++ /dev/null @@ -1,115 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "RequestErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing request errors. - -// Container for enum describing possible request errors. -message RequestErrorEnum { - // Enum describing possible request errors. - enum RequestError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Resource name is required for this request. - RESOURCE_NAME_MISSING = 3; - - // Resource name provided is malformed. - RESOURCE_NAME_MALFORMED = 4; - - // Resource name provided is malformed. - BAD_RESOURCE_ID = 17; - - // Customer ID is invalid. - INVALID_CUSTOMER_ID = 16; - - // Mutate operation should have either create, update, or remove specified. - OPERATION_REQUIRED = 5; - - // Requested resource not found. - RESOURCE_NOT_FOUND = 6; - - // Next page token specified in user request is invalid. - INVALID_PAGE_TOKEN = 7; - - // Next page token specified in user request has expired. - EXPIRED_PAGE_TOKEN = 8; - - // Page size specified in user request is invalid. - INVALID_PAGE_SIZE = 22; - - // Required field is missing. - REQUIRED_FIELD_MISSING = 9; - - // The field cannot be modified because it's immutable. It's also possible - // that the field can be modified using 'create' operation but not 'update'. - IMMUTABLE_FIELD = 11; - - // Received too many entries in request. - TOO_MANY_MUTATE_OPERATIONS = 13; - - // Request cannot be executed by a manager account. - CANNOT_BE_EXECUTED_BY_MANAGER_ACCOUNT = 14; - - // Mutate request was attempting to modify a readonly field. - // For instance, Budget fields can be requested for Ad Group, - // but are read-only for adGroups:mutate. - CANNOT_MODIFY_FOREIGN_FIELD = 15; - - // Enum value is not permitted. - INVALID_ENUM_VALUE = 18; - - // The developer-token parameter is required for all requests. - DEVELOPER_TOKEN_PARAMETER_MISSING = 19; - - // The login-customer-id parameter is required for this request. - LOGIN_CUSTOMER_ID_PARAMETER_MISSING = 20; - - // page_token is set in the validate only request - VALIDATE_ONLY_REQUEST_HAS_PAGE_TOKEN = 21; - - // return_summary_row cannot be enabled if request did not select any - // metrics field. - CANNOT_RETURN_SUMMARY_ROW_FOR_REQUEST_WITHOUT_METRICS = 29; - - // return_summary_row should not be enabled for validate only requests. - CANNOT_RETURN_SUMMARY_ROW_FOR_VALIDATE_ONLY_REQUESTS = 30; - - // return_summary_row parameter value should be the same between requests - // with page_token field set and their original request. - INCONSISTENT_RETURN_SUMMARY_ROW_VALUE = 31; - - // The total results count cannot be returned if it was not requested in the - // original request. - TOTAL_RESULTS_COUNT_NOT_ORIGINALLY_REQUESTED = 32; - - // Deadline specified by the client was too short. - RPC_DEADLINE_TOO_SHORT = 33; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/resource_access_denied_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/resource_access_denied_error.proto deleted file mode 100644 index 45b3d5039..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/resource_access_denied_error.proto +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ResourceAccessDeniedErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing resource access denied errors. - -// Container for enum describing possible resource access denied errors. -message ResourceAccessDeniedErrorEnum { - // Enum describing possible resource access denied errors. - enum ResourceAccessDeniedError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // User did not have write access. - WRITE_ACCESS_DENIED = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/resource_count_limit_exceeded_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/resource_count_limit_exceeded_error.proto deleted file mode 100644 index 57fc97a76..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/resource_count_limit_exceeded_error.proto +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ResourceCountLimitExceededErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing resource count limit exceeded errors. - -// Container for enum describing possible resource count limit exceeded errors. -message ResourceCountLimitExceededErrorEnum { - // Enum describing possible resource count limit exceeded errors. - enum ResourceCountLimitExceededError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Indicates that this request would exceed the number of allowed resources - // for the Google Ads account. The exact resource type and limit being - // checked can be inferred from accountLimitType. - ACCOUNT_LIMIT = 2; - - // Indicates that this request would exceed the number of allowed resources - // in a Campaign. The exact resource type and limit being checked can be - // inferred from accountLimitType, and the numeric id of the - // Campaign involved is given by enclosingId. - CAMPAIGN_LIMIT = 3; - - // Indicates that this request would exceed the number of allowed resources - // in an ad group. The exact resource type and limit being checked can be - // inferred from accountLimitType, and the numeric id of the - // ad group involved is given by enclosingId. - ADGROUP_LIMIT = 4; - - // Indicates that this request would exceed the number of allowed resources - // in an ad group ad. The exact resource type and limit being checked can - // be inferred from accountLimitType, and the enclosingId - // contains the ad group id followed by the ad id, separated by a single - // comma (,). - AD_GROUP_AD_LIMIT = 5; - - // Indicates that this request would exceed the number of allowed resources - // in an ad group criterion. The exact resource type and limit being checked - // can be inferred from accountLimitType, and the - // enclosingId contains the ad group id followed by the - // criterion id, separated by a single comma (,). - AD_GROUP_CRITERION_LIMIT = 6; - - // Indicates that this request would exceed the number of allowed resources - // in this shared set. The exact resource type and limit being checked can - // be inferred from accountLimitType, and the numeric id of the - // shared set involved is given by enclosingId. - SHARED_SET_LIMIT = 7; - - // Exceeds a limit related to a matching function. - MATCHING_FUNCTION_LIMIT = 8; - - // The response for this request would exceed the maximum number of rows - // that can be returned. - RESPONSE_ROW_LIMIT_EXCEEDED = 9; - - // This request would exceed a limit on the number of allowed resources. - // The details of which type of limit was exceeded will eventually be - // returned in ErrorDetails. - RESOURCE_LIMIT = 10; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/setting_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/setting_error.proto deleted file mode 100644 index 469394287..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/setting_error.proto +++ /dev/null @@ -1,88 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "SettingErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing setting errors. - -// Container for enum describing possible setting errors. -message SettingErrorEnum { - // Enum describing possible setting errors. - enum SettingError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The campaign setting is not available for this Google Ads account. - SETTING_TYPE_IS_NOT_AVAILABLE = 3; - - // The setting is not compatible with the campaign. - SETTING_TYPE_IS_NOT_COMPATIBLE_WITH_CAMPAIGN = 4; - - // The supplied TargetingSetting contains an invalid CriterionTypeGroup. See - // CriterionTypeGroup documentation for CriterionTypeGroups allowed - // in Campaign or AdGroup TargetingSettings. - TARGETING_SETTING_CONTAINS_INVALID_CRITERION_TYPE_GROUP = 5; - - // TargetingSetting must not explicitly - // set any of the Demographic CriterionTypeGroups (AGE_RANGE, GENDER, - // PARENT, INCOME_RANGE) to false (it's okay to not set them at all, in - // which case the system will set them to true automatically). - TARGETING_SETTING_DEMOGRAPHIC_CRITERION_TYPE_GROUPS_MUST_BE_SET_TO_TARGET_ALL = - 6; - - // TargetingSetting cannot change any of - // the Demographic CriterionTypeGroups (AGE_RANGE, GENDER, PARENT, - // INCOME_RANGE) from true to false. - TARGETING_SETTING_CANNOT_CHANGE_TARGET_ALL_TO_FALSE_FOR_DEMOGRAPHIC_CRITERION_TYPE_GROUP = - 7; - - // At least one feed id should be present. - DYNAMIC_SEARCH_ADS_SETTING_AT_LEAST_ONE_FEED_ID_MUST_BE_PRESENT = 8; - - // The supplied DynamicSearchAdsSetting contains an invalid domain name. - DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_DOMAIN_NAME = 9; - - // The supplied DynamicSearchAdsSetting contains a subdomain name. - DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_SUBDOMAIN_NAME = 10; - - // The supplied DynamicSearchAdsSetting contains an invalid language code. - DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_LANGUAGE_CODE = 11; - - // TargetingSettings in search campaigns should not have - // CriterionTypeGroup.PLACEMENT set to targetAll. - TARGET_ALL_IS_NOT_ALLOWED_FOR_PLACEMENT_IN_SEARCH_CAMPAIGN = 12; - - // The setting value is not compatible with the campaign type. - SETTING_VALUE_NOT_COMPATIBLE_WITH_CAMPAIGN = 20; - - // Switching from observation setting to targeting setting is not allowed - // for Customer Match lists. See - // https://support.google.com/google-ads/answer/6299717. - BID_ONLY_IS_NOT_ALLOWED_TO_BE_MODIFIED_WITH_CUSTOMER_MATCH_TARGETING = 21; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/shared_criterion_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/shared_criterion_error.proto deleted file mode 100644 index ef2bf45d7..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/shared_criterion_error.proto +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "SharedCriterionErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing shared criterion errors. - -// Container for enum describing possible shared criterion errors. -message SharedCriterionErrorEnum { - // Enum describing possible shared criterion errors. - enum SharedCriterionError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The criterion is not appropriate for the shared set type. - CRITERION_TYPE_NOT_ALLOWED_FOR_SHARED_SET_TYPE = 2; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/shared_set_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/shared_set_error.proto deleted file mode 100644 index 3266cd8d4..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/shared_set_error.proto +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "SharedSetErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing shared set errors. - -// Container for enum describing possible shared set errors. -message SharedSetErrorEnum { - // Enum describing possible shared set errors. - enum SharedSetError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The customer cannot create this type of shared set. - CUSTOMER_CANNOT_CREATE_SHARED_SET_OF_THIS_TYPE = 2; - - // A shared set with this name already exists. - DUPLICATE_NAME = 3; - - // Removed shared sets cannot be mutated. - SHARED_SET_REMOVED = 4; - - // The shared set cannot be removed because it is in use. - SHARED_SET_IN_USE = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/size_limit_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/size_limit_error.proto deleted file mode 100644 index 28dd036a8..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/size_limit_error.proto +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "SizeLimitErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing size limit errors. - -// Container for enum describing possible size limit errors. -message SizeLimitErrorEnum { - // Enum describing possible size limit errors. - enum SizeLimitError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The number of entries in the request exceeds the system limit, or the - // contents of the operations exceed transaction limits due to their size - // or complexity. Try reducing the number of entries per request. - REQUEST_SIZE_LIMIT_EXCEEDED = 2; - - // The number of entries in the response exceeds the system limit. - RESPONSE_SIZE_LIMIT_EXCEEDED = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/smart_campaign_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/smart_campaign_error.proto deleted file mode 100644 index a723be08e..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/smart_campaign_error.proto +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "SmartCampaignErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing Smart campaign errors. - -// Container for enum describing possible Smart campaign errors. -message SmartCampaignErrorEnum { - // Enum describing possible Smart campaign errors. - enum SmartCampaignError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The business location id is invalid. - INVALID_BUSINESS_LOCATION_ID = 2; - - // The SmartCampaignSetting resource is only applicable for campaigns - // with advertising channel type SMART. - INVALID_CAMPAIGN = 3; - - // The business name or business location id is required. - BUSINESS_NAME_OR_BUSINESS_LOCATION_ID_MISSING = 4; - - // A Smart campaign suggestion request field is required. - REQUIRED_SUGGESTION_FIELD_MISSING = 5; - - // A location list or proximity is required. - GEO_TARGETS_REQUIRED = 6; - - // The locale could not be determined. - CANNOT_DETERMINE_SUGGESTION_LOCALE = 7; - - // The final URL could not be crawled. - FINAL_URL_NOT_CRAWLABLE = 8; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/string_format_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/string_format_error.proto deleted file mode 100644 index be5cd6730..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/string_format_error.proto +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "StringFormatErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing string format errors. - -// Container for enum describing possible string format errors. -message StringFormatErrorEnum { - // Enum describing possible string format errors. - enum StringFormatError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The input string value contains disallowed characters. - ILLEGAL_CHARS = 2; - - // The input string value is invalid for the associated field. - INVALID_FORMAT = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/string_length_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/string_length_error.proto deleted file mode 100644 index 63e68334c..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/string_length_error.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "StringLengthErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing string length errors. - -// Container for enum describing possible string length errors. -message StringLengthErrorEnum { - // Enum describing possible string length errors. - enum StringLengthError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The specified field should have a least one non-whitespace character in - // it. - EMPTY = 4; - - // Too short. - TOO_SHORT = 2; - - // Too long. - TOO_LONG = 3; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/third_party_app_analytics_link_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/third_party_app_analytics_link_error.proto deleted file mode 100644 index 2de43d4c6..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/third_party_app_analytics_link_error.proto +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ThirdPartyAppAnalyticsLinkErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing ThirdPartyAppAnalyticsLink errors. - -// Container for enum describing possible third party app analytics link errors. -message ThirdPartyAppAnalyticsLinkErrorEnum { - // Enum describing possible third party app analytics link errors. - enum ThirdPartyAppAnalyticsLinkError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The provided analytics provider ID is invalid. - INVALID_ANALYTICS_PROVIDER_ID = 2; - - // The provided mobile app ID is invalid. - INVALID_MOBILE_APP_ID = 3; - - // The mobile app corresponding to the provided app ID is not - // active/enabled. - MOBILE_APP_IS_NOT_ENABLED = 4; - - // Regenerating shareable link ID is only allowed on active links - CANNOT_REGENERATE_SHAREABLE_LINK_ID_FOR_REMOVED_LINK = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/time_zone_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/time_zone_error.proto deleted file mode 100644 index 02c0251a0..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/time_zone_error.proto +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "TimeZoneErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing time zone errors. - -// Container for enum describing possible time zone errors. -message TimeZoneErrorEnum { - // Enum describing possible currency code errors. - enum TimeZoneError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Time zone is not valid. - INVALID_TIME_ZONE = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/url_field_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/url_field_error.proto deleted file mode 100644 index 0602a6ab6..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/url_field_error.proto +++ /dev/null @@ -1,214 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "UrlFieldErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing url field errors. - -// Container for enum describing possible url field errors. -message UrlFieldErrorEnum { - // Enum describing possible url field errors. - enum UrlFieldError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // The tracking url template is invalid. - INVALID_TRACKING_URL_TEMPLATE = 2; - - // The tracking url template contains invalid tag. - INVALID_TAG_IN_TRACKING_URL_TEMPLATE = 3; - - // The tracking url template must contain at least one tag (for example, - // {lpurl}), This applies only to tracking url template associated with - // website ads or product ads. - MISSING_TRACKING_URL_TEMPLATE_TAG = 4; - - // The tracking url template must start with a valid protocol (or lpurl - // tag). - MISSING_PROTOCOL_IN_TRACKING_URL_TEMPLATE = 5; - - // The tracking url template starts with an invalid protocol. - INVALID_PROTOCOL_IN_TRACKING_URL_TEMPLATE = 6; - - // The tracking url template contains illegal characters. - MALFORMED_TRACKING_URL_TEMPLATE = 7; - - // The tracking url template must contain a host name (or lpurl tag). - MISSING_HOST_IN_TRACKING_URL_TEMPLATE = 8; - - // The tracking url template has an invalid or missing top level domain - // extension. - INVALID_TLD_IN_TRACKING_URL_TEMPLATE = 9; - - // The tracking url template contains nested occurrences of the same - // conditional tag (for example, {ifmobile:{ifmobile:x}}). - REDUNDANT_NESTED_TRACKING_URL_TEMPLATE_TAG = 10; - - // The final url is invalid. - INVALID_FINAL_URL = 11; - - // The final url contains invalid tag. - INVALID_TAG_IN_FINAL_URL = 12; - - // The final url contains nested occurrences of the same conditional tag - // (for example, {ifmobile:{ifmobile:x}}). - REDUNDANT_NESTED_FINAL_URL_TAG = 13; - - // The final url must start with a valid protocol. - MISSING_PROTOCOL_IN_FINAL_URL = 14; - - // The final url starts with an invalid protocol. - INVALID_PROTOCOL_IN_FINAL_URL = 15; - - // The final url contains illegal characters. - MALFORMED_FINAL_URL = 16; - - // The final url must contain a host name. - MISSING_HOST_IN_FINAL_URL = 17; - - // The tracking url template has an invalid or missing top level domain - // extension. - INVALID_TLD_IN_FINAL_URL = 18; - - // The final mobile url is invalid. - INVALID_FINAL_MOBILE_URL = 19; - - // The final mobile url contains invalid tag. - INVALID_TAG_IN_FINAL_MOBILE_URL = 20; - - // The final mobile url contains nested occurrences of the same conditional - // tag (for example, {ifmobile:{ifmobile:x}}). - REDUNDANT_NESTED_FINAL_MOBILE_URL_TAG = 21; - - // The final mobile url must start with a valid protocol. - MISSING_PROTOCOL_IN_FINAL_MOBILE_URL = 22; - - // The final mobile url starts with an invalid protocol. - INVALID_PROTOCOL_IN_FINAL_MOBILE_URL = 23; - - // The final mobile url contains illegal characters. - MALFORMED_FINAL_MOBILE_URL = 24; - - // The final mobile url must contain a host name. - MISSING_HOST_IN_FINAL_MOBILE_URL = 25; - - // The tracking url template has an invalid or missing top level domain - // extension. - INVALID_TLD_IN_FINAL_MOBILE_URL = 26; - - // The final app url is invalid. - INVALID_FINAL_APP_URL = 27; - - // The final app url contains invalid tag. - INVALID_TAG_IN_FINAL_APP_URL = 28; - - // The final app url contains nested occurrences of the same conditional tag - // (for example, {ifmobile:{ifmobile:x}}). - REDUNDANT_NESTED_FINAL_APP_URL_TAG = 29; - - // More than one app url found for the same OS type. - MULTIPLE_APP_URLS_FOR_OSTYPE = 30; - - // The OS type given for an app url is not valid. - INVALID_OSTYPE = 31; - - // The protocol given for an app url is not valid. (For example, - // "android-app://") - INVALID_PROTOCOL_FOR_APP_URL = 32; - - // The package id (app id) given for an app url is not valid. - INVALID_PACKAGE_ID_FOR_APP_URL = 33; - - // The number of url custom parameters for an resource exceeds the maximum - // limit allowed. - URL_CUSTOM_PARAMETERS_COUNT_EXCEEDS_LIMIT = 34; - - // An invalid character appears in the parameter key. - INVALID_CHARACTERS_IN_URL_CUSTOM_PARAMETER_KEY = 39; - - // An invalid character appears in the parameter value. - INVALID_CHARACTERS_IN_URL_CUSTOM_PARAMETER_VALUE = 40; - - // The url custom parameter value fails url tag validation. - INVALID_TAG_IN_URL_CUSTOM_PARAMETER_VALUE = 41; - - // The custom parameter contains nested occurrences of the same conditional - // tag (for example, {ifmobile:{ifmobile:x}}). - REDUNDANT_NESTED_URL_CUSTOM_PARAMETER_TAG = 42; - - // The protocol (http:// or https://) is missing. - MISSING_PROTOCOL = 43; - - // Unsupported protocol in URL. Only http and https are supported. - INVALID_PROTOCOL = 52; - - // The url is invalid. - INVALID_URL = 44; - - // Destination Url is deprecated. - DESTINATION_URL_DEPRECATED = 45; - - // The url contains invalid tag. - INVALID_TAG_IN_URL = 46; - - // The url must contain at least one tag (for example, {lpurl}). - MISSING_URL_TAG = 47; - - // Duplicate url id. - DUPLICATE_URL_ID = 48; - - // Invalid url id. - INVALID_URL_ID = 49; - - // The final url suffix cannot begin with '?' or '&' characters and must be - // a valid query string. - FINAL_URL_SUFFIX_MALFORMED = 50; - - // The final url suffix cannot contain {lpurl} related or {ignore} tags. - INVALID_TAG_IN_FINAL_URL_SUFFIX = 51; - - // The top level domain is invalid, for example, not a public top level - // domain listed in publicsuffix.org. - INVALID_TOP_LEVEL_DOMAIN = 53; - - // Malformed top level domain in URL. - MALFORMED_TOP_LEVEL_DOMAIN = 54; - - // Malformed URL. - MALFORMED_URL = 55; - - // No host found in URL. - MISSING_HOST = 56; - - // Custom parameter value cannot be null. - NULL_CUSTOM_PARAMETER_VALUE = 57; - - // Track parameter is not supported. - VALUE_TRACK_PARAMETER_NOT_SUPPORTED = 58; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/user_data_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/user_data_error.proto deleted file mode 100644 index 1b2969cc5..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/user_data_error.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "UserDataErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing user data errors. - -// Container for enum describing possible user data errors. -message UserDataErrorEnum { - // Enum describing possible request errors. - enum UserDataError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Customer is not allowed to perform operations related to Customer Match. - OPERATIONS_FOR_CUSTOMER_MATCH_NOT_ALLOWED = 2; - - // Maximum number of user identifiers allowed for each request is 100 and - // for each operation is 20. - TOO_MANY_USER_IDENTIFIERS = 3; - - // Current user list is not applicable for the given customer. - USER_LIST_NOT_APPLICABLE = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/user_list_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/user_list_error.proto deleted file mode 100644 index 9ff8903ed..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/user_list_error.proto +++ /dev/null @@ -1,125 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "UserListErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing user list errors. - -// Container for enum describing possible user list errors. -message UserListErrorEnum { - // Enum describing possible user list errors. - enum UserListError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Creating and updating external remarketing user lists is not supported. - EXTERNAL_REMARKETING_USER_LIST_MUTATE_NOT_SUPPORTED = 2; - - // Concrete type of user list is required. - CONCRETE_TYPE_REQUIRED = 3; - - // Creating/updating user list conversion types requires specifying the - // conversion type Id. - CONVERSION_TYPE_ID_REQUIRED = 4; - - // Remarketing user list cannot have duplicate conversion types. - DUPLICATE_CONVERSION_TYPES = 5; - - // Conversion type is invalid/unknown. - INVALID_CONVERSION_TYPE = 6; - - // User list description is empty or invalid. - INVALID_DESCRIPTION = 7; - - // User list name is empty or invalid. - INVALID_NAME = 8; - - // Type of the UserList does not match. - INVALID_TYPE = 9; - - // Embedded logical user lists are not allowed. - CAN_NOT_ADD_LOGICAL_LIST_AS_LOGICAL_LIST_OPERAND = 10; - - // User list rule operand is invalid. - INVALID_USER_LIST_LOGICAL_RULE_OPERAND = 11; - - // Name is already being used for another user list for the account. - NAME_ALREADY_USED = 12; - - // Name is required when creating a new conversion type. - NEW_CONVERSION_TYPE_NAME_REQUIRED = 13; - - // The given conversion type name has been used. - CONVERSION_TYPE_NAME_ALREADY_USED = 14; - - // Only an owner account may edit a user list. - OWNERSHIP_REQUIRED_FOR_SET = 15; - - // Creating user list without setting type in oneof user_list field, or - // creating/updating read-only user list types is not allowed. - USER_LIST_MUTATE_NOT_SUPPORTED = 16; - - // Rule is invalid. - INVALID_RULE = 17; - - // The specified date range is empty. - INVALID_DATE_RANGE = 27; - - // A UserList which is privacy sensitive or legal rejected cannot be mutated - // by external users. - CAN_NOT_MUTATE_SENSITIVE_USERLIST = 28; - - // Maximum number of rulebased user lists a customer can have. - MAX_NUM_RULEBASED_USERLISTS = 29; - - // BasicUserList's billable record field cannot be modified once it is set. - CANNOT_MODIFY_BILLABLE_RECORD_COUNT = 30; - - // crm_based_user_list.app_id field must be set when upload_key_type is - // MOBILE_ADVERTISING_ID. - APP_ID_NOT_SET = 31; - - // Name of the user list is reserved for system generated lists and cannot - // be used. - USERLIST_NAME_IS_RESERVED_FOR_SYSTEM_LIST = 32; - - // Advertiser needs to be on the allow-list to use remarketing lists created - // from advertiser uploaded data (for example, Customer Match lists). - ADVERTISER_NOT_ON_ALLOWLIST_FOR_USING_UPLOADED_DATA = 37; - - // The provided rule_type is not supported for the user list. - RULE_TYPE_IS_NOT_SUPPORTED = 34; - - // Similar user list cannot be used as a logical user list operand. - CAN_NOT_ADD_A_SIMILAR_USERLIST_AS_LOGICAL_LIST_OPERAND = 35; - - // Logical user list should not have a mix of CRM based user list and other - // types of lists in its rules. - CAN_NOT_MIX_CRM_BASED_IN_LOGICAL_LIST_WITH_OTHER_LISTS = 36; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/errors/youtube_video_registration_error.proto b/third_party/googleapis/google/ads/googleads/v13/errors/youtube_video_registration_error.proto deleted file mode 100644 index 2b65f3ec3..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/errors/youtube_video_registration_error.proto +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "YoutubeVideoRegistrationErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; - -// Proto file describing YouTube video registration errors. - -// Container for enum describing YouTube video registration errors. -message YoutubeVideoRegistrationErrorEnum { - // Enum describing YouTube video registration errors. - enum YoutubeVideoRegistrationError { - // Enum unspecified. - UNSPECIFIED = 0; - - // The received error code is not known in this version. - UNKNOWN = 1; - - // Video to be registered wasn't found. - VIDEO_NOT_FOUND = 2; - - // Video to be registered is not accessible (for example, private). - VIDEO_NOT_ACCESSIBLE = 3; - - // Video to be registered is not eligible (for example, mature content). - VIDEO_NOT_ELIGIBLE = 4; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/googleads_gapic.yaml b/third_party/googleapis/google/ads/googleads/v13/googleads_gapic.yaml deleted file mode 100644 index 5acd2be90..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/googleads_gapic.yaml +++ /dev/null @@ -1,26 +0,0 @@ -type: com.google.api.codegen.ConfigProto -config_schema_version: 2.0.0 -language_settings: - csharp: - package_name: Google.Ads.GoogleAds.V13.Services - go: - package_name: google.golang.org/google/ads/googleads/v13/services - java: - package_name: com.google.ads.googleads.v13.services - nodejs: - package_name: v13.services - php: - package_name: Google\Ads\GoogleAds\V13\Services - python: - package_name: google.ads.googleads_v13.gapic.services - ruby: - package_name: Google::Ads::Googleads::V13::Services -interfaces: -- name: google.ads.googleads.v13.services.OfflineUserDataJobService - methods: - - name: RunOfflineUserDataJob - long_running: - initial_poll_delay_millis: 300000 - max_poll_delay_millis: 3600000 - poll_delay_multiplier: 1.25 - total_poll_timeout_millis: 43200000 diff --git a/third_party/googleapis/google/ads/googleads/v13/googleads_grpc_service_config.json b/third_party/googleapis/google/ads/googleads/v13/googleads_grpc_service_config.json deleted file mode 100755 index b8b9f2a18..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/googleads_grpc_service_config.json +++ /dev/null @@ -1,336 +0,0 @@ -{ - "methodConfig": [ - { - "name": [ - { - "service": "google.ads.googleads.v13.services.AccountBudgetProposalService" - }, - { - "service": "google.ads.googleads.v13.services.AccountLinkService" - }, - { - "service": "google.ads.googleads.v13.services.AdGroupAdLabelService" - }, - { - "service": "google.ads.googleads.v13.services.AdGroupAdService" - }, - { - "service": "google.ads.googleads.v13.services.AdGroupAssetService" - }, - { - "service": "google.ads.googleads.v13.services.AdGroupAssetSetService" - }, - { - "service": "google.ads.googleads.v13.services.AdGroupBidModifierService" - }, - { - "service": "google.ads.googleads.v13.services.AdGroupCriterionCustomizerService" - }, - { - "service": "google.ads.googleads.v13.services.AdGroupCriterionLabelService" - }, - { - "service": "google.ads.googleads.v13.services.AdGroupCriterionService" - }, - { - "service": "google.ads.googleads.v13.services.AdGroupCustomizerService" - }, - { - "service": "google.ads.googleads.v13.services.AdGroupExtensionSettingService" - }, - { - "service": "google.ads.googleads.v13.services.AdGroupFeedService" - }, - { - "service": "google.ads.googleads.v13.services.AdGroupLabelService" - }, - { - "service": "google.ads.googleads.v13.services.AdGroupService" - }, - { - "service": "google.ads.googleads.v13.services.AdParameterService" - }, - { - "service": "google.ads.googleads.v13.services.AdService" - }, - { - "service": "google.ads.googleads.v13.services.AssetGroupAssetService" - }, - { - "service": "google.ads.googleads.v13.services.AssetGroupListingGroupFilterService" - }, - { - "service": "google.ads.googleads.v13.services.AssetGroupService" - }, - { - "service": "google.ads.googleads.v13.services.AssetGroupSignalService" - }, - { - "service": "google.ads.googleads.v13.services.AssetService" - }, - { - "service": "google.ads.googleads.v13.services.AssetSetAssetService" - }, - { - "service": "google.ads.googleads.v13.services.AssetSetService" - }, - { - "service": "google.ads.googleads.v13.services.AudienceInsightsService" - }, - { - "service": "google.ads.googleads.v13.services.AudienceService" - }, - { - "service": "google.ads.googleads.v13.services.BatchJobService" - }, - { - "service": "google.ads.googleads.v13.services.BiddingDataExclusionService" - }, - { - "service": "google.ads.googleads.v13.services.BiddingSeasonalityAdjustmentService" - }, - { - "service": "google.ads.googleads.v13.services.BiddingStrategyService" - }, - { - "service": "google.ads.googleads.v13.services.BillingSetupService" - }, - { - "service": "google.ads.googleads.v13.services.CampaignAssetService" - }, - { - "service": "google.ads.googleads.v13.services.CampaignAssetSetService" - }, - { - "service": "google.ads.googleads.v13.services.CampaignBidModifierService" - }, - { - "service": "google.ads.googleads.v13.services.CampaignBudgetService" - }, - { - "service": "google.ads.googleads.v13.services.CampaignConversionGoalService" - }, - { - "service": "google.ads.googleads.v13.services.CampaignCriterionService" - }, - { - "service": "google.ads.googleads.v13.services.CampaignCustomizerService" - }, - { - "service": "google.ads.googleads.v13.services.CampaignDraftService" - }, - { - "service": "google.ads.googleads.v13.services.CampaignExtensionSettingService" - }, - { - "service": "google.ads.googleads.v13.services.CampaignFeedService" - }, - { - "service": "google.ads.googleads.v13.services.CampaignGroupService" - }, - { - "service": "google.ads.googleads.v13.services.CampaignLabelService" - }, - { - "service": "google.ads.googleads.v13.services.CampaignService" - }, - { - "service": "google.ads.googleads.v13.services.CampaignSharedSetService" - }, - { - "service": "google.ads.googleads.v13.services.ConversionActionService" - }, - { - "service": "google.ads.googleads.v13.services.ConversionAdjustmentUploadService" - }, - { - "service": "google.ads.googleads.v13.services.ConversionCustomVariableService" - }, - { - "service": "google.ads.googleads.v13.services.ConversionGoalCampaignConfigService" - }, - { - "service": "google.ads.googleads.v13.services.ConversionUploadService" - }, - { - "service": "google.ads.googleads.v13.services.ConversionValueRuleService" - }, - { - "service": "google.ads.googleads.v13.services.ConversionValueRuleSetService" - }, - { - "service": "google.ads.googleads.v13.services.CustomAudienceService" - }, - { - "service": "google.ads.googleads.v13.services.CustomConversionGoalService" - }, - { - "service": "google.ads.googleads.v13.services.CustomInterestService" - }, - { - "service": "google.ads.googleads.v13.services.CustomerAssetService" - }, - { - "service": "google.ads.googleads.v13.services.CustomerAssetSetService" - }, - { - "service": "google.ads.googleads.v13.services.CustomerClientLinkService" - }, - { - "service": "google.ads.googleads.v13.services.CustomerConversionGoalService" - }, - { - "service": "google.ads.googleads.v13.services.CustomerCustomizerService" - }, - { - "service": "google.ads.googleads.v13.services.CustomerExtensionSettingService" - }, - { - "service": "google.ads.googleads.v13.services.CustomerFeedService" - }, - { - "service": "google.ads.googleads.v13.services.CustomerLabelService" - }, - { - "service": "google.ads.googleads.v13.services.CustomerManagerLinkService" - }, - { - "service": "google.ads.googleads.v13.services.CustomerNegativeCriterionService" - }, - { - "service": "google.ads.googleads.v13.services.CustomerService" - }, - { - "service": "google.ads.googleads.v13.services.CustomerUserAccessInvitationService" - }, - { - "service": "google.ads.googleads.v13.services.CustomerUserAccessService" - }, - { - "service": "google.ads.googleads.v13.services.CustomizerAttributeService" - }, - { - "service": "google.ads.googleads.v13.services.ExperimentArmService" - }, - { - "service": "google.ads.googleads.v13.services.ExperimentService" - }, - { - "service": "google.ads.googleads.v13.services.ExtensionFeedItemService" - }, - { - "service": "google.ads.googleads.v13.services.FeedItemService" - }, - { - "service": "google.ads.googleads.v13.services.FeedItemSetLinkService" - }, - { - "service": "google.ads.googleads.v13.services.FeedItemSetService" - }, - { - "service": "google.ads.googleads.v13.services.FeedItemTargetService" - }, - { - "service": "google.ads.googleads.v13.services.FeedMappingService" - }, - { - "service": "google.ads.googleads.v13.services.FeedService" - }, - { - "service": "google.ads.googleads.v13.services.GeoTargetConstantService" - }, - { - "service": "google.ads.googleads.v13.services.GoogleAdsFieldService" - }, - { - "service": "google.ads.googleads.v13.services.GoogleAdsService" - }, - { - "service": "google.ads.googleads.v13.services.InvoiceService" - }, - { - "service": "google.ads.googleads.v13.services.KeywordPlanAdGroupKeywordService" - }, - { - "service": "google.ads.googleads.v13.services.KeywordPlanAdGroupService" - }, - { - "service": "google.ads.googleads.v13.services.KeywordPlanCampaignKeywordService" - }, - { - "service": "google.ads.googleads.v13.services.KeywordPlanCampaignService" - }, - { - "service": "google.ads.googleads.v13.services.KeywordPlanIdeaService" - }, - { - "service": "google.ads.googleads.v13.services.KeywordPlanService" - }, - { - "service": "google.ads.googleads.v13.services.KeywordThemeConstantService" - }, - { - "service": "google.ads.googleads.v13.services.LabelService" - }, - { - "service": "google.ads.googleads.v13.services.MediaFileService" - }, - { - "service": "google.ads.googleads.v13.services.MerchantCenterLinkService" - }, - { - "service": "google.ads.googleads.v13.services.OfflineUserDataJobService" - }, - { - "service": "google.ads.googleads.v13.services.PaymentsAccountService" - }, - { - "service": "google.ads.googleads.v13.services.ProductLinkService" - }, - { - "service": "google.ads.googleads.v13.services.ReachPlanService" - }, - { - "service": "google.ads.googleads.v13.services.RecommendationService" - }, - { - "service": "google.ads.googleads.v13.services.RemarketingActionService" - }, - { - "service": "google.ads.googleads.v13.services.SharedCriterionService" - }, - { - "service": "google.ads.googleads.v13.services.SharedSetService" - }, - { - "service": "google.ads.googleads.v13.services.SmartCampaignSettingService" - }, - { - "service": "google.ads.googleads.v13.services.SmartCampaignSuggestService" - }, - { - "service": "google.ads.googleads.v13.services.ThirdPartyAppAnalyticsLinkService" - }, - { - "service": "google.ads.googleads.v13.services.TravelAssetSuggestionService" - }, - { - "service": "google.ads.googleads.v13.services.UserDataService" - }, - { - "service": "google.ads.googleads.v13.services.UserListService" - } - ], - "timeout": "14400s", - "retryPolicy": { - "initialBackoff": "5s", - "maxBackoff": "60s", - "backoffMultiplier": 1.3, - "retryableStatusCodes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - } - } - ] -} diff --git a/third_party/googleapis/google/ads/googleads/v13/googleads_v13.yaml b/third_party/googleapis/google/ads/googleads/v13/googleads_v13.yaml deleted file mode 100644 index ac4dd3402..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/googleads_v13.yaml +++ /dev/null @@ -1,843 +0,0 @@ -type: google.api.Service -config_version: 3 -name: googleads.googleapis.com -title: Google Ads API - -apis: -- name: google.ads.googleads.v13.services.AccountBudgetProposalService -- name: google.ads.googleads.v13.services.AccountLinkService -- name: google.ads.googleads.v13.services.AdGroupAdLabelService -- name: google.ads.googleads.v13.services.AdGroupAdService -- name: google.ads.googleads.v13.services.AdGroupAssetService -- name: google.ads.googleads.v13.services.AdGroupAssetSetService -- name: google.ads.googleads.v13.services.AdGroupBidModifierService -- name: google.ads.googleads.v13.services.AdGroupCriterionCustomizerService -- name: google.ads.googleads.v13.services.AdGroupCriterionLabelService -- name: google.ads.googleads.v13.services.AdGroupCriterionService -- name: google.ads.googleads.v13.services.AdGroupCustomizerService -- name: google.ads.googleads.v13.services.AdGroupExtensionSettingService -- name: google.ads.googleads.v13.services.AdGroupFeedService -- name: google.ads.googleads.v13.services.AdGroupLabelService -- name: google.ads.googleads.v13.services.AdGroupService -- name: google.ads.googleads.v13.services.AdParameterService -- name: google.ads.googleads.v13.services.AdService -- name: google.ads.googleads.v13.services.AssetGroupAssetService -- name: google.ads.googleads.v13.services.AssetGroupListingGroupFilterService -- name: google.ads.googleads.v13.services.AssetGroupService -- name: google.ads.googleads.v13.services.AssetGroupSignalService -- name: google.ads.googleads.v13.services.AssetService -- name: google.ads.googleads.v13.services.AssetSetAssetService -- name: google.ads.googleads.v13.services.AssetSetService -- name: google.ads.googleads.v13.services.AudienceInsightsService -- name: google.ads.googleads.v13.services.AudienceService -- name: google.ads.googleads.v13.services.BatchJobService -- name: google.ads.googleads.v13.services.BiddingDataExclusionService -- name: google.ads.googleads.v13.services.BiddingSeasonalityAdjustmentService -- name: google.ads.googleads.v13.services.BiddingStrategyService -- name: google.ads.googleads.v13.services.BillingSetupService -- name: google.ads.googleads.v13.services.CampaignAssetService -- name: google.ads.googleads.v13.services.CampaignAssetSetService -- name: google.ads.googleads.v13.services.CampaignBidModifierService -- name: google.ads.googleads.v13.services.CampaignBudgetService -- name: google.ads.googleads.v13.services.CampaignConversionGoalService -- name: google.ads.googleads.v13.services.CampaignCriterionService -- name: google.ads.googleads.v13.services.CampaignCustomizerService -- name: google.ads.googleads.v13.services.CampaignDraftService -- name: google.ads.googleads.v13.services.CampaignExtensionSettingService -- name: google.ads.googleads.v13.services.CampaignFeedService -- name: google.ads.googleads.v13.services.CampaignGroupService -- name: google.ads.googleads.v13.services.CampaignLabelService -- name: google.ads.googleads.v13.services.CampaignService -- name: google.ads.googleads.v13.services.CampaignSharedSetService -- name: google.ads.googleads.v13.services.ConversionActionService -- name: google.ads.googleads.v13.services.ConversionAdjustmentUploadService -- name: google.ads.googleads.v13.services.ConversionCustomVariableService -- name: google.ads.googleads.v13.services.ConversionGoalCampaignConfigService -- name: google.ads.googleads.v13.services.ConversionUploadService -- name: google.ads.googleads.v13.services.ConversionValueRuleService -- name: google.ads.googleads.v13.services.ConversionValueRuleSetService -- name: google.ads.googleads.v13.services.CustomAudienceService -- name: google.ads.googleads.v13.services.CustomConversionGoalService -- name: google.ads.googleads.v13.services.CustomInterestService -- name: google.ads.googleads.v13.services.CustomerAssetService -- name: google.ads.googleads.v13.services.CustomerAssetSetService -- name: google.ads.googleads.v13.services.CustomerClientLinkService -- name: google.ads.googleads.v13.services.CustomerConversionGoalService -- name: google.ads.googleads.v13.services.CustomerCustomizerService -- name: google.ads.googleads.v13.services.CustomerExtensionSettingService -- name: google.ads.googleads.v13.services.CustomerFeedService -- name: google.ads.googleads.v13.services.CustomerLabelService -- name: google.ads.googleads.v13.services.CustomerManagerLinkService -- name: google.ads.googleads.v13.services.CustomerNegativeCriterionService -- name: google.ads.googleads.v13.services.CustomerService -- name: google.ads.googleads.v13.services.CustomerUserAccessInvitationService -- name: google.ads.googleads.v13.services.CustomerUserAccessService -- name: google.ads.googleads.v13.services.CustomizerAttributeService -- name: google.ads.googleads.v13.services.ExperimentArmService -- name: google.ads.googleads.v13.services.ExperimentService -- name: google.ads.googleads.v13.services.ExtensionFeedItemService -- name: google.ads.googleads.v13.services.FeedItemService -- name: google.ads.googleads.v13.services.FeedItemSetLinkService -- name: google.ads.googleads.v13.services.FeedItemSetService -- name: google.ads.googleads.v13.services.FeedItemTargetService -- name: google.ads.googleads.v13.services.FeedMappingService -- name: google.ads.googleads.v13.services.FeedService -- name: google.ads.googleads.v13.services.GeoTargetConstantService -- name: google.ads.googleads.v13.services.GoogleAdsFieldService -- name: google.ads.googleads.v13.services.GoogleAdsService -- name: google.ads.googleads.v13.services.InvoiceService -- name: google.ads.googleads.v13.services.KeywordPlanAdGroupKeywordService -- name: google.ads.googleads.v13.services.KeywordPlanAdGroupService -- name: google.ads.googleads.v13.services.KeywordPlanCampaignKeywordService -- name: google.ads.googleads.v13.services.KeywordPlanCampaignService -- name: google.ads.googleads.v13.services.KeywordPlanIdeaService -- name: google.ads.googleads.v13.services.KeywordPlanService -- name: google.ads.googleads.v13.services.KeywordThemeConstantService -- name: google.ads.googleads.v13.services.LabelService -- name: google.ads.googleads.v13.services.MediaFileService -- name: google.ads.googleads.v13.services.MerchantCenterLinkService -- name: google.ads.googleads.v13.services.OfflineUserDataJobService -- name: google.ads.googleads.v13.services.PaymentsAccountService -- name: google.ads.googleads.v13.services.ProductLinkService -- name: google.ads.googleads.v13.services.ReachPlanService -- name: google.ads.googleads.v13.services.RecommendationService -- name: google.ads.googleads.v13.services.RemarketingActionService -- name: google.ads.googleads.v13.services.SharedCriterionService -- name: google.ads.googleads.v13.services.SharedSetService -- name: google.ads.googleads.v13.services.SmartCampaignSettingService -- name: google.ads.googleads.v13.services.SmartCampaignSuggestService -- name: google.ads.googleads.v13.services.ThirdPartyAppAnalyticsLinkService -- name: google.ads.googleads.v13.services.TravelAssetSuggestionService -- name: google.ads.googleads.v13.services.UserDataService -- name: google.ads.googleads.v13.services.UserListService - -types: -- name: google.ads.googleads.v13.errors.GoogleAdsFailure -- name: google.ads.googleads.v13.resources.BatchJob.BatchJobMetadata -- name: google.ads.googleads.v13.services.PromoteExperimentMetadata -- name: google.ads.googleads.v13.services.ScheduleExperimentMetadata - -documentation: - summary: 'Manage your Google Ads accounts, campaigns, and reports with this API.' - overview: |- - The Google Ads API enables an app to integrate with the Google Ads - platform. You can efficiently retrieve and change your Google Ads data - using the API, making it ideal for managing large or complex accounts and - campaigns. - -backend: - rules: - - selector: google.ads.googleads.v13.services.AccountBudgetProposalService.MutateAccountBudgetProposal - deadline: 60.0 - - selector: google.ads.googleads.v13.services.AccountLinkService.CreateAccountLink - deadline: 600.0 - - selector: google.ads.googleads.v13.services.AccountLinkService.MutateAccountLink - deadline: 600.0 - - selector: google.ads.googleads.v13.services.AdGroupAdLabelService.MutateAdGroupAdLabels - deadline: 60.0 - - selector: google.ads.googleads.v13.services.AdGroupAdService.MutateAdGroupAds - deadline: 60.0 - - selector: google.ads.googleads.v13.services.AdGroupAssetService.MutateAdGroupAssets - deadline: 60.0 - - selector: google.ads.googleads.v13.services.AdGroupAssetSetService.MutateAdGroupAssetSets - deadline: 60.0 - - selector: google.ads.googleads.v13.services.AdGroupBidModifierService.MutateAdGroupBidModifiers - deadline: 60.0 - - selector: google.ads.googleads.v13.services.AdGroupCriterionCustomizerService.MutateAdGroupCriterionCustomizers - deadline: 60.0 - - selector: google.ads.googleads.v13.services.AdGroupCriterionLabelService.MutateAdGroupCriterionLabels - deadline: 60.0 - - selector: google.ads.googleads.v13.services.AdGroupCriterionService.MutateAdGroupCriteria - deadline: 60.0 - - selector: google.ads.googleads.v13.services.AdGroupCustomizerService.MutateAdGroupCustomizers - deadline: 60.0 - - selector: google.ads.googleads.v13.services.AdGroupExtensionSettingService.MutateAdGroupExtensionSettings - deadline: 60.0 - - selector: google.ads.googleads.v13.services.AdGroupFeedService.MutateAdGroupFeeds - deadline: 60.0 - - selector: google.ads.googleads.v13.services.AdGroupLabelService.MutateAdGroupLabels - deadline: 60.0 - - selector: google.ads.googleads.v13.services.AdGroupService.MutateAdGroups - deadline: 60.0 - - selector: google.ads.googleads.v13.services.AdParameterService.MutateAdParameters - deadline: 60.0 - - selector: google.ads.googleads.v13.services.AdService.GetAd - deadline: 60.0 - - selector: google.ads.googleads.v13.services.AdService.MutateAds - deadline: 60.0 - - selector: google.ads.googleads.v13.services.AssetGroupAssetService.MutateAssetGroupAssets - deadline: 60.0 - - selector: google.ads.googleads.v13.services.AssetGroupListingGroupFilterService.MutateAssetGroupListingGroupFilters - deadline: 60.0 - - selector: google.ads.googleads.v13.services.AssetGroupService.MutateAssetGroups - deadline: 60.0 - - selector: google.ads.googleads.v13.services.AssetGroupSignalService.MutateAssetGroupSignals - deadline: 60.0 - - selector: google.ads.googleads.v13.services.AssetService.MutateAssets - deadline: 60.0 - - selector: google.ads.googleads.v13.services.AssetSetAssetService.MutateAssetSetAssets - deadline: 60.0 - - selector: google.ads.googleads.v13.services.AssetSetService.MutateAssetSets - deadline: 60.0 - - selector: 'google.ads.googleads.v13.services.AudienceInsightsService.*' - deadline: 600.0 - - selector: google.ads.googleads.v13.services.AudienceService.MutateAudiences - deadline: 600.0 - - selector: 'google.ads.googleads.v13.services.BatchJobService.*' - deadline: 60.0 - - selector: google.ads.googleads.v13.services.BiddingDataExclusionService.MutateBiddingDataExclusions - deadline: 60.0 - - selector: google.ads.googleads.v13.services.BiddingSeasonalityAdjustmentService.MutateBiddingSeasonalityAdjustments - deadline: 60.0 - - selector: google.ads.googleads.v13.services.BiddingStrategyService.MutateBiddingStrategies - deadline: 60.0 - - selector: google.ads.googleads.v13.services.BillingSetupService.MutateBillingSetup - deadline: 60.0 - - selector: google.ads.googleads.v13.services.CampaignAssetService.MutateCampaignAssets - deadline: 60.0 - - selector: google.ads.googleads.v13.services.CampaignAssetSetService.MutateCampaignAssetSets - deadline: 60.0 - - selector: google.ads.googleads.v13.services.CampaignBidModifierService.MutateCampaignBidModifiers - deadline: 60.0 - - selector: google.ads.googleads.v13.services.CampaignBudgetService.MutateCampaignBudgets - deadline: 60.0 - - selector: google.ads.googleads.v13.services.CampaignConversionGoalService.MutateCampaignConversionGoals - deadline: 60.0 - - selector: google.ads.googleads.v13.services.CampaignCriterionService.MutateCampaignCriteria - deadline: 60.0 - - selector: google.ads.googleads.v13.services.CampaignCustomizerService.MutateCampaignCustomizers - deadline: 60.0 - - selector: 'google.ads.googleads.v13.services.CampaignDraftService.*' - deadline: 60.0 - - selector: google.ads.googleads.v13.services.CampaignExtensionSettingService.MutateCampaignExtensionSettings - deadline: 60.0 - - selector: google.ads.googleads.v13.services.CampaignFeedService.MutateCampaignFeeds - deadline: 60.0 - - selector: google.ads.googleads.v13.services.CampaignGroupService.MutateCampaignGroups - deadline: 60.0 - - selector: google.ads.googleads.v13.services.CampaignLabelService.MutateCampaignLabels - deadline: 60.0 - - selector: google.ads.googleads.v13.services.CampaignService.MutateCampaigns - deadline: 60.0 - - selector: google.ads.googleads.v13.services.CampaignSharedSetService.MutateCampaignSharedSets - deadline: 60.0 - - selector: google.ads.googleads.v13.services.ConversionActionService.MutateConversionActions - deadline: 60.0 - - selector: google.ads.googleads.v13.services.ConversionAdjustmentUploadService.UploadConversionAdjustments - deadline: 600.0 - - selector: google.ads.googleads.v13.services.ConversionCustomVariableService.MutateConversionCustomVariables - deadline: 60.0 - - selector: google.ads.googleads.v13.services.ConversionGoalCampaignConfigService.MutateConversionGoalCampaignConfigs - deadline: 60.0 - - selector: google.ads.googleads.v13.services.ConversionUploadService.UploadCallConversions - deadline: 600.0 - - selector: google.ads.googleads.v13.services.ConversionUploadService.UploadClickConversions - deadline: 600.0 - - selector: google.ads.googleads.v13.services.ConversionValueRuleService.MutateConversionValueRules - deadline: 60.0 - - selector: google.ads.googleads.v13.services.ConversionValueRuleSetService.MutateConversionValueRuleSets - deadline: 60.0 - - selector: google.ads.googleads.v13.services.CustomAudienceService.MutateCustomAudiences - deadline: 600.0 - - selector: google.ads.googleads.v13.services.CustomConversionGoalService.MutateCustomConversionGoals - deadline: 60.0 - - selector: google.ads.googleads.v13.services.CustomInterestService.MutateCustomInterests - deadline: 60.0 - - selector: google.ads.googleads.v13.services.CustomerAssetService.MutateCustomerAssets - deadline: 60.0 - - selector: google.ads.googleads.v13.services.CustomerAssetSetService.MutateCustomerAssetSets - deadline: 60.0 - - selector: google.ads.googleads.v13.services.CustomerClientLinkService.MutateCustomerClientLink - deadline: 60.0 - - selector: google.ads.googleads.v13.services.CustomerConversionGoalService.MutateCustomerConversionGoals - deadline: 60.0 - - selector: google.ads.googleads.v13.services.CustomerCustomizerService.MutateCustomerCustomizers - deadline: 60.0 - - selector: google.ads.googleads.v13.services.CustomerExtensionSettingService.MutateCustomerExtensionSettings - deadline: 60.0 - - selector: google.ads.googleads.v13.services.CustomerFeedService.MutateCustomerFeeds - deadline: 60.0 - - selector: google.ads.googleads.v13.services.CustomerLabelService.MutateCustomerLabels - deadline: 60.0 - - selector: google.ads.googleads.v13.services.CustomerManagerLinkService.MoveManagerLink - deadline: 60.0 - - selector: google.ads.googleads.v13.services.CustomerManagerLinkService.MutateCustomerManagerLink - deadline: 60.0 - - selector: google.ads.googleads.v13.services.CustomerNegativeCriterionService.MutateCustomerNegativeCriteria - deadline: 60.0 - - selector: 'google.ads.googleads.v13.services.CustomerService.*' - deadline: 60.0 - - selector: google.ads.googleads.v13.services.CustomerUserAccessInvitationService.MutateCustomerUserAccessInvitation - deadline: 600.0 - - selector: google.ads.googleads.v13.services.CustomerUserAccessService.MutateCustomerUserAccess - deadline: 600.0 - - selector: google.ads.googleads.v13.services.CustomizerAttributeService.MutateCustomizerAttributes - deadline: 60.0 - - selector: google.ads.googleads.v13.services.ExperimentArmService.MutateExperimentArms - deadline: 60.0 - - selector: 'google.ads.googleads.v13.services.ExperimentService.*' - deadline: 60.0 - - selector: google.ads.googleads.v13.services.ExtensionFeedItemService.MutateExtensionFeedItems - deadline: 60.0 - - selector: google.ads.googleads.v13.services.FeedItemService.MutateFeedItems - deadline: 60.0 - - selector: google.ads.googleads.v13.services.FeedItemSetLinkService.MutateFeedItemSetLinks - deadline: 60.0 - - selector: google.ads.googleads.v13.services.FeedItemSetService.MutateFeedItemSets - deadline: 60.0 - - selector: google.ads.googleads.v13.services.FeedItemTargetService.MutateFeedItemTargets - deadline: 60.0 - - selector: google.ads.googleads.v13.services.FeedMappingService.MutateFeedMappings - deadline: 60.0 - - selector: google.ads.googleads.v13.services.FeedService.MutateFeeds - deadline: 60.0 - - selector: google.ads.googleads.v13.services.GeoTargetConstantService.SuggestGeoTargetConstants - deadline: 60.0 - - selector: google.ads.googleads.v13.services.GoogleAdsFieldService.GetGoogleAdsField - deadline: 600.0 - - selector: google.ads.googleads.v13.services.GoogleAdsFieldService.SearchGoogleAdsFields - deadline: 600.0 - - selector: google.ads.googleads.v13.services.GoogleAdsService.Mutate - deadline: 600.0 - - selector: google.ads.googleads.v13.services.GoogleAdsService.Search - deadline: 14400.0 - - selector: google.ads.googleads.v13.services.GoogleAdsService.SearchStream - deadline: 14400.0 - - selector: google.ads.googleads.v13.services.InvoiceService.ListInvoices - deadline: 60.0 - - selector: google.ads.googleads.v13.services.KeywordPlanAdGroupKeywordService.MutateKeywordPlanAdGroupKeywords - deadline: 60.0 - - selector: google.ads.googleads.v13.services.KeywordPlanAdGroupService.MutateKeywordPlanAdGroups - deadline: 60.0 - - selector: google.ads.googleads.v13.services.KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords - deadline: 60.0 - - selector: google.ads.googleads.v13.services.KeywordPlanCampaignService.MutateKeywordPlanCampaigns - deadline: 60.0 - - selector: 'google.ads.googleads.v13.services.KeywordPlanIdeaService.*' - deadline: 600.0 - - selector: 'google.ads.googleads.v13.services.KeywordPlanService.*' - deadline: 600.0 - - selector: google.ads.googleads.v13.services.KeywordPlanService.MutateKeywordPlans - deadline: 60.0 - - selector: google.ads.googleads.v13.services.KeywordThemeConstantService.SuggestKeywordThemeConstants - deadline: 60.0 - - selector: google.ads.googleads.v13.services.LabelService.MutateLabels - deadline: 60.0 - - selector: google.ads.googleads.v13.services.MediaFileService.MutateMediaFiles - deadline: 60.0 - - selector: 'google.ads.googleads.v13.services.MerchantCenterLinkService.*' - deadline: 60.0 - - selector: 'google.ads.googleads.v13.services.OfflineUserDataJobService.*' - deadline: 600.0 - - selector: google.ads.googleads.v13.services.PaymentsAccountService.ListPaymentsAccounts - deadline: 60.0 - - selector: google.ads.googleads.v13.services.ProductLinkService.CreateProductLink - deadline: 600.0 - - selector: google.ads.googleads.v13.services.ProductLinkService.RemoveProductLink - deadline: 600.0 - - selector: 'google.ads.googleads.v13.services.ReachPlanService.*' - deadline: 600.0 - - selector: google.ads.googleads.v13.services.RecommendationService.ApplyRecommendation - deadline: 600.0 - - selector: google.ads.googleads.v13.services.RecommendationService.DismissRecommendation - deadline: 600.0 - - selector: google.ads.googleads.v13.services.RemarketingActionService.MutateRemarketingActions - deadline: 60.0 - - selector: google.ads.googleads.v13.services.SharedCriterionService.MutateSharedCriteria - deadline: 60.0 - - selector: google.ads.googleads.v13.services.SharedSetService.MutateSharedSets - deadline: 60.0 - - selector: google.ads.googleads.v13.services.SmartCampaignSettingService.GetSmartCampaignStatus - deadline: 60.0 - - selector: google.ads.googleads.v13.services.SmartCampaignSettingService.MutateSmartCampaignSettings - deadline: 60.0 - - selector: 'google.ads.googleads.v13.services.SmartCampaignSuggestService.*' - deadline: 60.0 - - selector: google.ads.googleads.v13.services.ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId - deadline: 600.0 - - selector: google.ads.googleads.v13.services.TravelAssetSuggestionService.SuggestTravelAssets - deadline: 60.0 - - selector: google.ads.googleads.v13.services.UserDataService.UploadUserData - deadline: 600.0 - - selector: google.ads.googleads.v13.services.UserListService.MutateUserLists - deadline: 60.0 - - selector: 'google.longrunning.Operations.*' - deadline: 60.0 - -http: - rules: - - selector: google.longrunning.Operations.CancelOperation - post: '/v13/{name=customers/*/operations/*}:cancel' - body: '*' - - selector: google.longrunning.Operations.DeleteOperation - delete: '/v13/{name=customers/*/operations/*}' - - selector: google.longrunning.Operations.GetOperation - get: '/v13/{name=customers/*/operations/*}' - - selector: google.longrunning.Operations.ListOperations - get: '/v13/{name=customers/*/operations}' - - selector: google.longrunning.Operations.WaitOperation - post: '/v13/{name=customers/*/operations/*}:wait' - body: '*' - -authentication: - rules: - - selector: google.ads.googleads.v13.services.AccountBudgetProposalService.MutateAccountBudgetProposal - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.AccountLinkService.CreateAccountLink - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.AccountLinkService.MutateAccountLink - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.AdGroupAdLabelService.MutateAdGroupAdLabels - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.AdGroupAdService.MutateAdGroupAds - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.AdGroupAssetService.MutateAdGroupAssets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.AdGroupAssetSetService.MutateAdGroupAssetSets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.AdGroupBidModifierService.MutateAdGroupBidModifiers - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.AdGroupCriterionCustomizerService.MutateAdGroupCriterionCustomizers - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.AdGroupCriterionLabelService.MutateAdGroupCriterionLabels - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.AdGroupCriterionService.MutateAdGroupCriteria - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.AdGroupCustomizerService.MutateAdGroupCustomizers - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.AdGroupExtensionSettingService.MutateAdGroupExtensionSettings - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.AdGroupFeedService.MutateAdGroupFeeds - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.AdGroupLabelService.MutateAdGroupLabels - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.AdGroupService.MutateAdGroups - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.AdParameterService.MutateAdParameters - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.AdService.GetAd - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.AdService.MutateAds - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.AssetGroupAssetService.MutateAssetGroupAssets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.AssetGroupListingGroupFilterService.MutateAssetGroupListingGroupFilters - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.AssetGroupService.MutateAssetGroups - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.AssetGroupSignalService.MutateAssetGroupSignals - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.AssetService.MutateAssets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.AssetSetAssetService.MutateAssetSetAssets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.AssetSetService.MutateAssetSets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: 'google.ads.googleads.v13.services.AudienceInsightsService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.AudienceService.MutateAudiences - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: 'google.ads.googleads.v13.services.BatchJobService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.BiddingDataExclusionService.MutateBiddingDataExclusions - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.BiddingSeasonalityAdjustmentService.MutateBiddingSeasonalityAdjustments - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.BiddingStrategyService.MutateBiddingStrategies - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.BillingSetupService.MutateBillingSetup - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.CampaignAssetService.MutateCampaignAssets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.CampaignAssetSetService.MutateCampaignAssetSets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.CampaignBidModifierService.MutateCampaignBidModifiers - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.CampaignBudgetService.MutateCampaignBudgets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.CampaignConversionGoalService.MutateCampaignConversionGoals - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.CampaignCriterionService.MutateCampaignCriteria - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.CampaignCustomizerService.MutateCampaignCustomizers - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: 'google.ads.googleads.v13.services.CampaignDraftService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.CampaignExtensionSettingService.MutateCampaignExtensionSettings - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.CampaignFeedService.MutateCampaignFeeds - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.CampaignGroupService.MutateCampaignGroups - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.CampaignLabelService.MutateCampaignLabels - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.CampaignService.MutateCampaigns - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.CampaignSharedSetService.MutateCampaignSharedSets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.ConversionActionService.MutateConversionActions - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.ConversionAdjustmentUploadService.UploadConversionAdjustments - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.ConversionCustomVariableService.MutateConversionCustomVariables - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.ConversionGoalCampaignConfigService.MutateConversionGoalCampaignConfigs - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.ConversionUploadService.UploadCallConversions - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.ConversionUploadService.UploadClickConversions - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.ConversionValueRuleService.MutateConversionValueRules - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.ConversionValueRuleSetService.MutateConversionValueRuleSets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.CustomAudienceService.MutateCustomAudiences - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.CustomConversionGoalService.MutateCustomConversionGoals - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.CustomInterestService.MutateCustomInterests - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.CustomerAssetService.MutateCustomerAssets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.CustomerAssetSetService.MutateCustomerAssetSets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.CustomerClientLinkService.MutateCustomerClientLink - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.CustomerConversionGoalService.MutateCustomerConversionGoals - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.CustomerCustomizerService.MutateCustomerCustomizers - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.CustomerExtensionSettingService.MutateCustomerExtensionSettings - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.CustomerFeedService.MutateCustomerFeeds - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.CustomerLabelService.MutateCustomerLabels - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.CustomerManagerLinkService.MoveManagerLink - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.CustomerManagerLinkService.MutateCustomerManagerLink - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.CustomerNegativeCriterionService.MutateCustomerNegativeCriteria - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: 'google.ads.googleads.v13.services.CustomerService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.CustomerUserAccessInvitationService.MutateCustomerUserAccessInvitation - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.CustomerUserAccessService.MutateCustomerUserAccess - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.CustomizerAttributeService.MutateCustomizerAttributes - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.ExperimentArmService.MutateExperimentArms - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: 'google.ads.googleads.v13.services.ExperimentService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.ExtensionFeedItemService.MutateExtensionFeedItems - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.FeedItemService.MutateFeedItems - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.FeedItemSetLinkService.MutateFeedItemSetLinks - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.FeedItemSetService.MutateFeedItemSets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.FeedItemTargetService.MutateFeedItemTargets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.FeedMappingService.MutateFeedMappings - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.FeedService.MutateFeeds - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.GeoTargetConstantService.SuggestGeoTargetConstants - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.GoogleAdsFieldService.GetGoogleAdsField - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.GoogleAdsFieldService.SearchGoogleAdsFields - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: 'google.ads.googleads.v13.services.GoogleAdsService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.InvoiceService.ListInvoices - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.KeywordPlanAdGroupKeywordService.MutateKeywordPlanAdGroupKeywords - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.KeywordPlanAdGroupService.MutateKeywordPlanAdGroups - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.KeywordPlanCampaignService.MutateKeywordPlanCampaigns - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: 'google.ads.googleads.v13.services.KeywordPlanIdeaService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: 'google.ads.googleads.v13.services.KeywordPlanService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.KeywordThemeConstantService.SuggestKeywordThemeConstants - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.LabelService.MutateLabels - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.MediaFileService.MutateMediaFiles - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: 'google.ads.googleads.v13.services.MerchantCenterLinkService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: 'google.ads.googleads.v13.services.OfflineUserDataJobService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.PaymentsAccountService.ListPaymentsAccounts - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.ProductLinkService.CreateProductLink - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.ProductLinkService.RemoveProductLink - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: 'google.ads.googleads.v13.services.ReachPlanService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.RecommendationService.ApplyRecommendation - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.RecommendationService.DismissRecommendation - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.RemarketingActionService.MutateRemarketingActions - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.SharedCriterionService.MutateSharedCriteria - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.SharedSetService.MutateSharedSets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.SmartCampaignSettingService.GetSmartCampaignStatus - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.SmartCampaignSettingService.MutateSmartCampaignSettings - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: 'google.ads.googleads.v13.services.SmartCampaignSuggestService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.TravelAssetSuggestionService.SuggestTravelAssets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.UserDataService.UploadUserData - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: google.ads.googleads.v13.services.UserListService.MutateUserLists - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords - - selector: 'google.longrunning.Operations.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/adwords diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/BUILD.bazel b/third_party/googleapis/google/ads/googleads/v13/resources/BUILD.bazel deleted file mode 100644 index e38f21b01..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/BUILD.bazel +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 2020 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -package(default_visibility = ["//visibility:public"]) - -############################################################################## -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") - -# TODO(ohren): Change srcs to use an enumeration of each individual proto -# instead of *.proto globbing once the build file generator supports -# subpackages. -proto_library( - name = "resources_proto", - srcs = glob(["*.proto"]), - deps = [ - "//google/ads/googleads/v13/common:common_proto", - "//google/ads/googleads/v13/enums:enums_proto", - "//google/ads/googleads/v13/errors:errors_proto", - "//google/api:annotations_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", - "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:wrappers_proto", - ], -) - -############################################################################## -# Java -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "java_proto_library", -) - -java_proto_library( - name = "resources_java_proto", - deps = [":resources_proto"], -) - -############################################################################## -# PHP -############################################################################## - -# PHP targets are in the parent directory's BUILD.bazel file to facilitate -# aggregating metadata using a single underlying call to protoc. - -############################################################################## -# C# -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "csharp_proto_library", -) - -csharp_proto_library( - name = "resources_csharp_proto", - deps = [":resources_proto"], -) - -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "ruby_proto_library", -) - -ruby_proto_library( - name = "resources_ruby_proto", - deps = [":resources_proto"], -) - -############################################################################## -# Python -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "py_proto_library", -) - -py_proto_library( - name = "resources_py_proto", - deps = [":resources_proto"], -) diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/accessible_bidding_strategy.proto b/third_party/googleapis/google/ads/googleads/v13/resources/accessible_bidding_strategy.proto deleted file mode 100644 index 75d23d0fb..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/accessible_bidding_strategy.proto +++ /dev/null @@ -1,180 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/bidding_strategy_type.proto"; -import "google/ads/googleads/v13/enums/target_impression_share_location.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AccessibleBiddingStrategyProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Represents a view of BiddingStrategies owned by and shared with the customer. -// -// In contrast to BiddingStrategy, this resource includes strategies owned by -// managers of the customer and shared with this customer - in addition to -// strategies owned by this customer. This resource does not provide metrics and -// only exposes a limited subset of the BiddingStrategy attributes. -message AccessibleBiddingStrategy { - option (google.api.resource) = { - type: "googleads.googleapis.com/AccessibleBiddingStrategy" - pattern: "customers/{customer_id}/accessibleBiddingStrategies/{bidding_strategy_id}" - }; - - // An automated bidding strategy to help get the most conversion value for - // your campaigns while spending your budget. - message MaximizeConversionValue { - // Output only. The target return on ad spend (ROAS) option. If set, the bid - // strategy will maximize revenue while averaging the target return on ad - // spend. If the target ROAS is high, the bid strategy may not be able to - // spend the full budget. If the target ROAS is not set, the bid strategy - // will aim to achieve the highest possible ROAS for the budget. - double target_roas = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // An automated bidding strategy to help get the most conversions for your - // campaigns while spending your budget. - message MaximizeConversions { - // Output only. The target cost per acquisition (CPA) option. This is the - // average amount that you would like to spend per acquisition. - int64 target_cpa_micros = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // An automated bid strategy that sets bids to help get as many conversions as - // possible at the target cost-per-acquisition (CPA) you set. - message TargetCpa { - // Output only. Average CPA target. - // This target should be greater than or equal to minimum billable unit - // based on the currency for the account. - optional int64 target_cpa_micros = 1 - [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // An automated bidding strategy that sets bids so that a certain percentage - // of search ads are shown at the top of the first page (or other targeted - // location). - message TargetImpressionShare { - // Output only. The targeted location on the search results page. - google.ads.googleads.v13.enums.TargetImpressionShareLocationEnum - .TargetImpressionShareLocation location = 1 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The chosen fraction of ads to be shown in the targeted location in - // micros. For example, 1% equals 10,000. - optional int64 location_fraction_micros = 2; - - // Output only. The highest CPC bid the automated bidding system is - // permitted to specify. This is a required field entered by the advertiser - // that sets the ceiling and specified in local micros. - optional int64 cpc_bid_ceiling_micros = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // An automated bidding strategy that helps you maximize revenue while - // averaging a specific target return on ad spend (ROAS). - message TargetRoas { - // Output only. The chosen revenue (based on conversion data) per unit of - // spend. - optional double target_roas = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // An automated bid strategy that sets your bids to help get as many clicks - // as possible within your budget. - message TargetSpend { - // Output only. The spend target under which to maximize clicks. - // A TargetSpend bidder will attempt to spend the smaller of this value - // or the natural throttling spend amount. - // If not specified, the budget is used as the spend target. - // This field is deprecated and should no longer be used. See - // https://ads-developers.googleblog.com/2020/05/reminder-about-sunset-creation-of.html - // for details. - optional int64 target_spend_micros = 1 - [deprecated = true, (google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Maximum bid limit that can be set by the bid strategy. - // The limit applies to all keywords managed by the strategy. - optional int64 cpc_bid_ceiling_micros = 2 - [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Output only. The resource name of the accessible bidding strategy. - // AccessibleBiddingStrategy resource names have the form: - // - // `customers/{customer_id}/accessibleBiddingStrategies/{bidding_strategy_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AccessibleBiddingStrategy" - } - ]; - - // Output only. The ID of the bidding strategy. - int64 id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The name of the bidding strategy. - string name = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The type of the bidding strategy. - google.ads.googleads.v13.enums.BiddingStrategyTypeEnum.BiddingStrategyType - type = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The ID of the Customer which owns the bidding strategy. - int64 owner_customer_id = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. descriptive_name of the Customer which owns the bidding - // strategy. - string owner_descriptive_name = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The bidding scheme. - // - // Only one can be set. - oneof scheme { - // Output only. An automated bidding strategy to help get the most - // conversion value for your campaigns while spending your budget. - MaximizeConversionValue maximize_conversion_value = 7 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. An automated bidding strategy to help get the most - // conversions for your campaigns while spending your budget. - MaximizeConversions maximize_conversions = 8 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. A bidding strategy that sets bids to help get as many - // conversions as possible at the target cost-per-acquisition (CPA) you set. - TargetCpa target_cpa = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. A bidding strategy that automatically optimizes towards a - // chosen percentage of impressions. - TargetImpressionShare target_impression_share = 10 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. A bidding strategy that helps you maximize revenue while - // averaging a specific target Return On Ad Spend (ROAS). - TargetRoas target_roas = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. A bid strategy that sets your bids to help get as many - // clicks as possible within your budget. - TargetSpend target_spend = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/account_budget.proto b/third_party/googleapis/google/ads/googleads/v13/resources/account_budget.proto deleted file mode 100644 index bfa411b73..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/account_budget.proto +++ /dev/null @@ -1,283 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/account_budget_proposal_type.proto"; -import "google/ads/googleads/v13/enums/account_budget_status.proto"; -import "google/ads/googleads/v13/enums/spending_limit_type.proto"; -import "google/ads/googleads/v13/enums/time_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AccountBudgetProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the AccountBudget resource. - -// An account-level budget. It contains information about the budget itself, -// as well as the most recently approved changes to the budget and proposed -// changes that are pending approval. The proposed changes that are pending -// approval, if any, are found in 'pending_proposal'. Effective details about -// the budget are found in fields prefixed 'approved_', 'adjusted_' and those -// without a prefix. Since some effective details may differ from what the user -// had originally requested (for example, spending limit), these differences are -// juxtaposed through 'proposed_', 'approved_', and possibly 'adjusted_' fields. -// -// This resource is mutated using AccountBudgetProposal and cannot be mutated -// directly. A budget may have at most one pending proposal at any given time. -// It is read through pending_proposal. -// -// Once approved, a budget may be subject to adjustments, such as credit -// adjustments. Adjustments create differences between the 'approved' and -// 'adjusted' fields, which would otherwise be identical. -message AccountBudget { - option (google.api.resource) = { - type: "googleads.googleapis.com/AccountBudget" - pattern: "customers/{customer_id}/accountBudgets/{account_budget_id}" - }; - - // A pending proposal associated with the enclosing account-level budget, - // if applicable. - message PendingAccountBudgetProposal { - // Output only. The resource name of the proposal. - // AccountBudgetProposal resource names have the form: - // - // `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` - optional string account_budget_proposal = 12 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AccountBudgetProposal" - } - ]; - - // Output only. The type of this proposal, for example, END to end the - // budget associated with this proposal. - google.ads.googleads.v13.enums.AccountBudgetProposalTypeEnum - .AccountBudgetProposalType proposal_type = 2 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The name to assign to the account-level budget. - optional string name = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The start time in yyyy-MM-dd HH:mm:ss format. - optional string start_date_time = 14 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. A purchase order number is a value that helps users - // reference this budget in their monthly invoices. - optional string purchase_order_number = 17 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Notes associated with this budget. - optional string notes = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The time when this account-level budget proposal was - // created. Formatted as yyyy-MM-dd HH:mm:ss. - optional string creation_date_time = 19 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The end time of the account-level budget. - oneof end_time { - // Output only. The end time in yyyy-MM-dd HH:mm:ss format. - string end_date_time = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The end time as a well-defined type, for example, FOREVER. - google.ads.googleads.v13.enums.TimeTypeEnum.TimeType end_time_type = 6 - [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The spending limit. - oneof spending_limit { - // Output only. The spending limit in micros. One million is equivalent - // to one unit. - int64 spending_limit_micros = 16 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The spending limit as a well-defined type, for example, - // INFINITE. - google.ads.googleads.v13.enums.SpendingLimitTypeEnum.SpendingLimitType - spending_limit_type = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - } - - // Output only. The resource name of the account-level budget. - // AccountBudget resource names have the form: - // - // `customers/{customer_id}/accountBudgets/{account_budget_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AccountBudget" - } - ]; - - // Output only. The ID of the account-level budget. - optional int64 id = 23 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource name of the billing setup associated with this - // account-level budget. BillingSetup resource names have the form: - // - // `customers/{customer_id}/billingSetups/{billing_setup_id}` - optional string billing_setup = 24 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/BillingSetup" - } - ]; - - // Output only. The status of this account-level budget. - google.ads.googleads.v13.enums.AccountBudgetStatusEnum.AccountBudgetStatus - status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The name of the account-level budget. - optional string name = 25 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The proposed start time of the account-level budget in - // yyyy-MM-dd HH:mm:ss format. If a start time type of NOW was proposed, - // this is the time of request. - optional string proposed_start_date_time = 26 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The approved start time of the account-level budget in - // yyyy-MM-dd HH:mm:ss format. - // - // For example, if a new budget is approved after the proposed start time, - // the approved start time is the time of approval. - optional string approved_start_date_time = 27 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The total adjustments amount. - // - // An example of an adjustment is courtesy credits. - int64 total_adjustments_micros = 33 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The value of Ads that have been served, in micros. - // - // This includes overdelivery costs, in which case a credit might be - // automatically applied to the budget (see total_adjustments_micros). - int64 amount_served_micros = 34 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. A purchase order number is a value that helps users reference - // this budget in their monthly invoices. - optional string purchase_order_number = 35 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Notes associated with the budget. - optional string notes = 36 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The pending proposal to modify this budget, if applicable. - PendingAccountBudgetProposal pending_proposal = 22 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The proposed end time of the account-level budget. - oneof proposed_end_time { - // Output only. The proposed end time in yyyy-MM-dd HH:mm:ss format. - string proposed_end_date_time = 28 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The proposed end time as a well-defined type, for example, - // FOREVER. - google.ads.googleads.v13.enums.TimeTypeEnum.TimeType - proposed_end_time_type = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The approved end time of the account-level budget. - // - // For example, if a budget's end time is updated and the proposal is approved - // after the proposed end time, the approved end time is the time of approval. - oneof approved_end_time { - // Output only. The approved end time in yyyy-MM-dd HH:mm:ss format. - string approved_end_date_time = 29 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The approved end time as a well-defined type, for example, - // FOREVER. - google.ads.googleads.v13.enums.TimeTypeEnum.TimeType - approved_end_time_type = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The proposed spending limit. - oneof proposed_spending_limit { - // Output only. The proposed spending limit in micros. One million is - // equivalent to one unit. - int64 proposed_spending_limit_micros = 30 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The proposed spending limit as a well-defined type, for - // example, INFINITE. - google.ads.googleads.v13.enums.SpendingLimitTypeEnum.SpendingLimitType - proposed_spending_limit_type = 13 - [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The approved spending limit. - // - // For example, if the amount already spent by the account exceeds the - // proposed spending limit at the time the proposal is approved, the approved - // spending limit is set to the amount already spent. - oneof approved_spending_limit { - // Output only. The approved spending limit in micros. One million is - // equivalent to one unit. This will only be populated if the proposed - // spending limit is finite, and will always be greater than or equal to the - // proposed spending limit. - int64 approved_spending_limit_micros = 31 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The approved spending limit as a well-defined type, for - // example, INFINITE. This will only be populated if the approved spending - // limit is INFINITE. - google.ads.googleads.v13.enums.SpendingLimitTypeEnum.SpendingLimitType - approved_spending_limit_type = 15 - [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The spending limit after adjustments have been applied. Adjustments are - // stored in total_adjustments_micros. - // - // This value has the final say on how much the account is allowed to spend. - oneof adjusted_spending_limit { - // Output only. The adjusted spending limit in micros. One million is - // equivalent to one unit. - // - // If the approved spending limit is finite, the adjusted - // spending limit may vary depending on the types of adjustments applied - // to this budget, if applicable. - // - // The different kinds of adjustments are described here: - // https://support.google.com/google-ads/answer/1704323 - // - // For example, a debit adjustment reduces how much the account is - // allowed to spend. - int64 adjusted_spending_limit_micros = 32 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The adjusted spending limit as a well-defined type, for - // example, INFINITE. This will only be populated if the adjusted spending - // limit is INFINITE, which is guaranteed to be true if the approved - // spending limit is INFINITE. - google.ads.googleads.v13.enums.SpendingLimitTypeEnum.SpendingLimitType - adjusted_spending_limit_type = 17 - [(google.api.field_behavior) = OUTPUT_ONLY]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/account_budget_proposal.proto b/third_party/googleapis/google/ads/googleads/v13/resources/account_budget_proposal.proto deleted file mode 100644 index 9142d6378..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/account_budget_proposal.proto +++ /dev/null @@ -1,186 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/account_budget_proposal_status.proto"; -import "google/ads/googleads/v13/enums/account_budget_proposal_type.proto"; -import "google/ads/googleads/v13/enums/spending_limit_type.proto"; -import "google/ads/googleads/v13/enums/time_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AccountBudgetProposalProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the AccountBudgetProposal resource. - -// An account-level budget proposal. -// -// All fields prefixed with 'proposed' may not necessarily be applied directly. -// For example, proposed spending limits may be adjusted before their -// application. This is true if the 'proposed' field has an 'approved' -// counterpart, for example, spending limits. -// -// Note that the proposal type (proposal_type) changes which fields are -// required and which must remain empty. -message AccountBudgetProposal { - option (google.api.resource) = { - type: "googleads.googleapis.com/AccountBudgetProposal" - pattern: "customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}" - }; - - // Immutable. The resource name of the proposal. - // AccountBudgetProposal resource names have the form: - // - // `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AccountBudgetProposal" - } - ]; - - // Output only. The ID of the proposal. - optional int64 id = 25 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The resource name of the billing setup associated with this - // proposal. - optional string billing_setup = 26 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/BillingSetup" - } - ]; - - // Immutable. The resource name of the account-level budget associated with - // this proposal. - optional string account_budget = 27 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AccountBudget" - } - ]; - - // Immutable. The type of this proposal, for example, END to end the budget - // associated with this proposal. - google.ads.googleads.v13.enums.AccountBudgetProposalTypeEnum - .AccountBudgetProposalType proposal_type = 4 - [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The status of this proposal. - // When a new proposal is created, the status defaults to PENDING. - google.ads.googleads.v13.enums.AccountBudgetProposalStatusEnum - .AccountBudgetProposalStatus status = 15 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The name to assign to the account-level budget. - optional string proposed_name = 28 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The approved start date time in yyyy-mm-dd hh:mm:ss format. - optional string approved_start_date_time = 30 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. A purchase order number is a value that enables the user to help - // them reference this budget in their monthly invoices. - optional string proposed_purchase_order_number = 35 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Notes associated with this budget. - optional string proposed_notes = 36 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The date time when this account-level budget proposal was - // created, which is not the same as its approval date time, if applicable. - optional string creation_date_time = 37 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The date time when this account-level budget was approved, if - // applicable. - optional string approval_date_time = 38 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The proposed start date time of the account-level budget, which cannot be - // in the past. - oneof proposed_start_time { - // Immutable. The proposed start date time in yyyy-mm-dd hh:mm:ss format. - string proposed_start_date_time = 29 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The proposed start date time as a well-defined type, for - // example, NOW. - google.ads.googleads.v13.enums.TimeTypeEnum.TimeType - proposed_start_time_type = 7 [(google.api.field_behavior) = IMMUTABLE]; - } - - // The proposed end date time of the account-level budget, which cannot be in - // the past. - oneof proposed_end_time { - // Immutable. The proposed end date time in yyyy-mm-dd hh:mm:ss format. - string proposed_end_date_time = 31 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The proposed end date time as a well-defined type, for - // example, FOREVER. - google.ads.googleads.v13.enums.TimeTypeEnum.TimeType - proposed_end_time_type = 9 [(google.api.field_behavior) = IMMUTABLE]; - } - - // The approved end date time of the account-level budget. - oneof approved_end_time { - // Output only. The approved end date time in yyyy-mm-dd hh:mm:ss format. - string approved_end_date_time = 32 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The approved end date time as a well-defined type, for - // example, FOREVER. - google.ads.googleads.v13.enums.TimeTypeEnum.TimeType - approved_end_time_type = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The proposed spending limit. - oneof proposed_spending_limit { - // Immutable. The proposed spending limit in micros. One million is - // equivalent to one unit. - int64 proposed_spending_limit_micros = 33 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The proposed spending limit as a well-defined type, for - // example, INFINITE. - google.ads.googleads.v13.enums.SpendingLimitTypeEnum.SpendingLimitType - proposed_spending_limit_type = 11 - [(google.api.field_behavior) = IMMUTABLE]; - } - - // The approved spending limit. - oneof approved_spending_limit { - // Output only. The approved spending limit in micros. One million is - // equivalent to one unit. - int64 approved_spending_limit_micros = 34 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The approved spending limit as a well-defined type, for - // example, INFINITE. - google.ads.googleads.v13.enums.SpendingLimitTypeEnum.SpendingLimitType - approved_spending_limit_type = 24 - [(google.api.field_behavior) = OUTPUT_ONLY]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/account_link.proto b/third_party/googleapis/google/ads/googleads/v13/resources/account_link.proto deleted file mode 100644 index 6f8ed0824..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/account_link.proto +++ /dev/null @@ -1,160 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/account_link_status.proto"; -import "google/ads/googleads/v13/enums/linked_account_type.proto"; -import "google/ads/googleads/v13/enums/mobile_app_vendor.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AccountLinkProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Represents the data sharing connection between a Google Ads account and -// another account -message AccountLink { - option (google.api.resource) = { - type: "googleads.googleapis.com/AccountLink" - pattern: "customers/{customer_id}/accountLinks/{account_link_id}" - }; - - // Immutable. Resource name of the account link. - // AccountLink resource names have the form: - // `customers/{customer_id}/accountLinks/{account_link_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AccountLink" - } - ]; - - // Output only. The ID of the link. - // This field is read only. - optional int64 account_link_id = 8 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The status of the link. - google.ads.googleads.v13.enums.AccountLinkStatusEnum.AccountLinkStatus - status = 3; - - // Output only. The type of the linked account. - google.ads.googleads.v13.enums.LinkedAccountTypeEnum.LinkedAccountType type = - 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // An account linked to this Google Ads account. - oneof linked_account { - // Immutable. A third party app analytics link. - ThirdPartyAppAnalyticsLinkIdentifier third_party_app_analytics = 5 - [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. Data partner link. - DataPartnerLinkIdentifier data_partner = 6 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Google Ads link. - GoogleAdsLinkIdentifier google_ads = 7 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Hotel link - HotelCenterLinkIdentifier hotel_center = 9 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Advertising Partner link - AdvertisingPartnerLinkIdentifier advertising_partner = 10 - [(google.api.field_behavior) = OUTPUT_ONLY]; - } -} - -// The identifiers of a Third Party App Analytics Link. -message ThirdPartyAppAnalyticsLinkIdentifier { - // Immutable. The ID of the app analytics provider. - // This field should not be empty when creating a new third - // party app analytics link. It is unable to be modified after the creation of - // the link. - optional int64 app_analytics_provider_id = 4 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. A string that uniquely identifies a mobile application from - // which the data was collected to the Google Ads API. For iOS, the ID string - // is the 9 digit string that appears at the end of an App Store URL (for - // example, "422689480" for "Gmail" whose App Store link is - // https://apps.apple.com/us/app/gmail-email-by-google/id422689480). For - // Android, the ID string is the application's package name (for example, - // "com.google.android.gm" for "Gmail" given Google Play link - // https://play.google.com/store/apps/details?id=com.google.android.gm) - // This field should not be empty when creating a new third - // party app analytics link. It is unable to be modified after the creation of - // the link. - optional string app_id = 5 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The vendor of the app. - // This field should not be empty when creating a new third - // party app analytics link. It is unable to be modified after the creation of - // the link. - google.ads.googleads.v13.enums.MobileAppVendorEnum.MobileAppVendor - app_vendor = 3 [(google.api.field_behavior) = IMMUTABLE]; -} - -// The identifier for Data Partner account. -message DataPartnerLinkIdentifier { - // Immutable. The customer ID of the Data partner account. - // This field is required and should not be empty when creating a new - // data partner link. It is unable to be modified after the creation of - // the link. - optional int64 data_partner_id = 1 [(google.api.field_behavior) = IMMUTABLE]; -} - -// The identifier for Hotel account. -message HotelCenterLinkIdentifier { - // Output only. The hotel center id of the hotel account. - int64 hotel_center_id = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; -} - -// The identifier for Google Ads account. -message GoogleAdsLinkIdentifier { - // Immutable. The resource name of the Google Ads account. - // This field is required and should not be empty when creating a new - // Google Ads link. It is unable to be modified after the creation of - // the link. - optional string customer = 3 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Customer" - } - ]; -} - -// The identifier for the Advertising Partner Google Ads account. -message AdvertisingPartnerLinkIdentifier { - // Immutable. The resource name of the advertising partner Google Ads account. - // This field is required and should not be empty when creating a new - // Advertising Partner link. It is unable to be modified after the creation of - // the link. - optional string customer = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Customer" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/ad.proto b/third_party/googleapis/google/ads/googleads/v13/resources/ad.proto deleted file mode 100644 index 374e3550f..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/ad.proto +++ /dev/null @@ -1,213 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/ad_type_infos.proto"; -import "google/ads/googleads/v13/common/custom_parameter.proto"; -import "google/ads/googleads/v13/common/final_app_url.proto"; -import "google/ads/googleads/v13/common/url_collection.proto"; -import "google/ads/googleads/v13/enums/ad_type.proto"; -import "google/ads/googleads/v13/enums/device.proto"; -import "google/ads/googleads/v13/enums/system_managed_entity_source.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the ad type. - -// An ad. -message Ad { - option (google.api.resource) = { - type: "googleads.googleapis.com/Ad" - pattern: "customers/{customer_id}/ads/{ad_id}" - }; - - // Immutable. The resource name of the ad. - // Ad resource names have the form: - // - // `customers/{customer_id}/ads/{ad_id}` - string resource_name = 37 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { type: "googleads.googleapis.com/Ad" } - ]; - - // Output only. The ID of the ad. - optional int64 id = 40 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The list of possible final URLs after all cross-domain redirects for the - // ad. - repeated string final_urls = 41; - - // A list of final app URLs that will be used on mobile if the user has the - // specific app installed. - repeated google.ads.googleads.v13.common.FinalAppUrl final_app_urls = 35; - - // The list of possible final mobile URLs after all cross-domain redirects - // for the ad. - repeated string final_mobile_urls = 42; - - // The URL template for constructing a tracking URL. - optional string tracking_url_template = 43; - - // The suffix to use when constructing a final URL. - optional string final_url_suffix = 44; - - // The list of mappings that can be used to substitute custom parameter tags - // in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`. - // For mutates, use url custom parameter operations. - repeated google.ads.googleads.v13.common.CustomParameter - url_custom_parameters = 10; - - // The URL that appears in the ad description for some ad formats. - optional string display_url = 45; - - // Output only. The type of ad. - google.ads.googleads.v13.enums.AdTypeEnum.AdType type = 5 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Indicates if this ad was automatically added by Google Ads and - // not by a user. For example, this could happen when ads are automatically - // created as suggestions for new ads based on knowledge of how existing ads - // are performing. - optional bool added_by_google_ads = 46 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The device preference for the ad. You can only specify a preference for - // mobile devices. When this preference is set the ad will be preferred over - // other ads when being displayed on a mobile device. The ad can still be - // displayed on other device types, for example, if no other ads are - // available. If unspecified (no device preference), all devices are targeted. - // This is only supported by some ad types. - google.ads.googleads.v13.enums.DeviceEnum.Device device_preference = 20; - - // Additional URLs for the ad that are tagged with a unique identifier that - // can be referenced from other fields in the ad. - repeated google.ads.googleads.v13.common.UrlCollection url_collections = 26; - - // Immutable. The name of the ad. This is only used to be able to identify the - // ad. It does not need to be unique and does not affect the served ad. The - // name field is currently only supported for DisplayUploadAd, ImageAd, - // ShoppingComparisonListingAd and VideoAd. - optional string name = 47 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. If this ad is system managed, then this field will indicate - // the source. This field is read-only. - google.ads.googleads.v13.enums.SystemManagedResourceSourceEnum - .SystemManagedResourceSource system_managed_resource_source = 27 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Details pertinent to the ad type. Exactly one value must be set. - oneof ad_data { - // Immutable. Details pertaining to a text ad. - google.ads.googleads.v13.common.TextAdInfo text_ad = 6 - [(google.api.field_behavior) = IMMUTABLE]; - - // Details pertaining to an expanded text ad. - google.ads.googleads.v13.common.ExpandedTextAdInfo expanded_text_ad = 7; - - // Details pertaining to a call ad. - google.ads.googleads.v13.common.CallAdInfo call_ad = 49; - - // Immutable. Details pertaining to an Expanded Dynamic Search Ad. - // This type of ad has its headline, final URLs, and display URL - // auto-generated at serving time according to domain name specific - // information provided by `dynamic_search_ads_setting` linked at the - // campaign level. - google.ads.googleads.v13.common.ExpandedDynamicSearchAdInfo - expanded_dynamic_search_ad = 14 - [(google.api.field_behavior) = IMMUTABLE]; - - // Details pertaining to a hotel ad. - google.ads.googleads.v13.common.HotelAdInfo hotel_ad = 15; - - // Details pertaining to a Smart Shopping ad. - google.ads.googleads.v13.common.ShoppingSmartAdInfo shopping_smart_ad = 17; - - // Details pertaining to a Shopping product ad. - google.ads.googleads.v13.common.ShoppingProductAdInfo shopping_product_ad = - 18; - - // Immutable. Details pertaining to an Image ad. - google.ads.googleads.v13.common.ImageAdInfo image_ad = 22 - [(google.api.field_behavior) = IMMUTABLE]; - - // Details pertaining to a Video ad. - google.ads.googleads.v13.common.VideoAdInfo video_ad = 24; - - // Details pertaining to a Video responsive ad. - google.ads.googleads.v13.common.VideoResponsiveAdInfo video_responsive_ad = - 39; - - // Details pertaining to a responsive search ad. - google.ads.googleads.v13.common.ResponsiveSearchAdInfo - responsive_search_ad = 25; - - // Details pertaining to a legacy responsive display ad. - google.ads.googleads.v13.common.LegacyResponsiveDisplayAdInfo - legacy_responsive_display_ad = 28; - - // Details pertaining to an app ad. - google.ads.googleads.v13.common.AppAdInfo app_ad = 29; - - // Immutable. Details pertaining to a legacy app install ad. - google.ads.googleads.v13.common.LegacyAppInstallAdInfo - legacy_app_install_ad = 30 [(google.api.field_behavior) = IMMUTABLE]; - - // Details pertaining to a responsive display ad. - google.ads.googleads.v13.common.ResponsiveDisplayAdInfo - responsive_display_ad = 31; - - // Details pertaining to a local ad. - google.ads.googleads.v13.common.LocalAdInfo local_ad = 32; - - // Details pertaining to a display upload ad. - google.ads.googleads.v13.common.DisplayUploadAdInfo display_upload_ad = 33; - - // Details pertaining to an app engagement ad. - google.ads.googleads.v13.common.AppEngagementAdInfo app_engagement_ad = 34; - - // Details pertaining to a Shopping Comparison Listing ad. - google.ads.googleads.v13.common.ShoppingComparisonListingAdInfo - shopping_comparison_listing_ad = 36; - - // Details pertaining to a Smart campaign ad. - google.ads.googleads.v13.common.SmartCampaignAdInfo smart_campaign_ad = 48; - - // Details pertaining to an app pre-registration ad. - google.ads.googleads.v13.common.AppPreRegistrationAdInfo - app_pre_registration_ad = 50; - - // Details pertaining to a discovery multi asset ad. - google.ads.googleads.v13.common.DiscoveryMultiAssetAdInfo - discovery_multi_asset_ad = 51; - - // Details pertaining to a discovery carousel ad. - google.ads.googleads.v13.common.DiscoveryCarouselAdInfo - discovery_carousel_ad = 52; - - // Details pertaining to a travel ad. - google.ads.googleads.v13.common.TravelAdInfo travel_ad = 54; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/ad_group.proto b/third_party/googleapis/google/ads/googleads/v13/resources/ad_group.proto deleted file mode 100644 index 997258bc8..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/ad_group.proto +++ /dev/null @@ -1,230 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/custom_parameter.proto"; -import "google/ads/googleads/v13/common/targeting_setting.proto"; -import "google/ads/googleads/v13/enums/ad_group_ad_rotation_mode.proto"; -import "google/ads/googleads/v13/enums/ad_group_status.proto"; -import "google/ads/googleads/v13/enums/ad_group_type.proto"; -import "google/ads/googleads/v13/enums/asset_field_type.proto"; -import "google/ads/googleads/v13/enums/asset_set_type.proto"; -import "google/ads/googleads/v13/enums/bidding_source.proto"; -import "google/ads/googleads/v13/enums/targeting_dimension.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the ad group resource. - -// An ad group. -message AdGroup { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroup" - pattern: "customers/{customer_id}/adGroups/{ad_group_id}" - }; - - // Settings for the audience targeting. - message AudienceSetting { - // Immutable. If true, this ad group uses an Audience resource for audience - // targeting. If false, this ad group may use audience segment criteria - // instead. - bool use_audience_grouped = 1 [(google.api.field_behavior) = IMMUTABLE]; - } - - // Immutable. The resource name of the ad group. - // Ad group resource names have the form: - // - // `customers/{customer_id}/adGroups/{ad_group_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Output only. The ID of the ad group. - optional int64 id = 34 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The name of the ad group. - // - // This field is required and should not be empty when creating new ad - // groups. - // - // It must contain fewer than 255 UTF-8 full-width characters. - // - // It must not contain any null (code point 0x0), NL line feed - // (code point 0xA) or carriage return (code point 0xD) characters. - optional string name = 35; - - // The status of the ad group. - google.ads.googleads.v13.enums.AdGroupStatusEnum.AdGroupStatus status = 5; - - // Immutable. The type of the ad group. - google.ads.googleads.v13.enums.AdGroupTypeEnum.AdGroupType type = 12 - [(google.api.field_behavior) = IMMUTABLE]; - - // The ad rotation mode of the ad group. - google.ads.googleads.v13.enums.AdGroupAdRotationModeEnum.AdGroupAdRotationMode - ad_rotation_mode = 22; - - // Output only. For draft or experiment ad groups, this field is the resource - // name of the base ad group from which this ad group was created. If a draft - // or experiment ad group does not have a base ad group, then this field is - // null. - // - // For base ad groups, this field equals the ad group resource name. - // - // This field is read-only. - optional string base_ad_group = 36 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // The URL template for constructing a tracking URL. - optional string tracking_url_template = 37; - - // The list of mappings used to substitute custom parameter tags in a - // `tracking_url_template`, `final_urls`, or `mobile_final_urls`. - repeated google.ads.googleads.v13.common.CustomParameter - url_custom_parameters = 6; - - // Immutable. The campaign to which the ad group belongs. - optional string campaign = 38 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // The maximum CPC (cost-per-click) bid. - optional int64 cpc_bid_micros = 39; - - // Output only. Value will be same as that of the CPC (cost-per-click) bid - // value when the bidding strategy is one of manual cpc, enhanced cpc, page - // one promoted or target outrank share, otherwise the value will be null. - optional int64 effective_cpc_bid_micros = 57 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The maximum CPM (cost-per-thousand viewable impressions) bid. - optional int64 cpm_bid_micros = 40; - - // The target CPA (cost-per-acquisition). If the ad group's campaign - // bidding strategy is TargetCpa or MaximizeConversions (with its target_cpa - // field set), then this field overrides the target CPA specified in the - // campaign's bidding strategy. - // Otherwise, this value is ignored. - optional int64 target_cpa_micros = 41; - - // The CPV (cost-per-view) bid. - optional int64 cpv_bid_micros = 42; - - // Average amount in micros that the advertiser is willing to pay for every - // thousand times the ad is shown. - optional int64 target_cpm_micros = 43; - - // The target ROAS (return-on-ad-spend) override. If the ad group's campaign - // bidding strategy is TargetRoas or MaximizeConversionValue (with its - // target_roas field set), then this field overrides the target ROAS specified - // in the campaign's bidding strategy. - // Otherwise, this value is ignored. - optional double target_roas = 44; - - // The percent cpc bid amount, expressed as a fraction of the advertised price - // for some good or service. The valid range for the fraction is [0,1) and the - // value stored here is 1,000,000 * [fraction]. - optional int64 percent_cpc_bid_micros = 45; - - // True if optimized targeting is enabled. Optimized Targeting is the - // replacement for Audience Expansion. - bool optimized_targeting_enabled = 59; - - // Allows advertisers to specify a targeting dimension on which to place - // absolute bids. This is only applicable for campaigns that target only the - // display network and not search. - google.ads.googleads.v13.enums.TargetingDimensionEnum.TargetingDimension - display_custom_bid_dimension = 23; - - // URL template for appending params to Final URL. - optional string final_url_suffix = 46; - - // Setting for targeting related features. - google.ads.googleads.v13.common.TargetingSetting targeting_setting = 25; - - // Immutable. Setting for audience related features. - AudienceSetting audience_setting = 56 - [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The effective target CPA (cost-per-acquisition). - // This field is read-only. - optional int64 effective_target_cpa_micros = 47 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Source of the effective target CPA. - // This field is read-only. - google.ads.googleads.v13.enums.BiddingSourceEnum.BiddingSource - effective_target_cpa_source = 29 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The effective target ROAS (return-on-ad-spend). - // This field is read-only. - optional double effective_target_roas = 48 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Source of the effective target ROAS. - // This field is read-only. - google.ads.googleads.v13.enums.BiddingSourceEnum.BiddingSource - effective_target_roas_source = 32 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource names of labels attached to this ad group. - repeated string labels = 49 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupLabel" - } - ]; - - // The asset field types that should be excluded from this ad group. Asset - // links with these field types will not be inherited by this ad group from - // the upper levels. - repeated google.ads.googleads.v13.enums.AssetFieldTypeEnum.AssetFieldType - excluded_parent_asset_field_types = 54; - - // The asset set types that should be excluded from this ad group. Asset set - // links with these types will not be inherited by this ad group from the - // upper levels. - // Location group types (GMB_DYNAMIC_LOCATION_GROUP, - // CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child types of - // LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all - // location group asset sets are not allowed to be linked to this ad group, - // and all Location Extension (LE) and Affiliate Location Extensions (ALE) - // will not be served under this ad group. - // Only LOCATION_SYNC is currently supported. - repeated google.ads.googleads.v13.enums.AssetSetTypeEnum.AssetSetType - excluded_parent_asset_set_types = 58; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_ad.proto b/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_ad.proto deleted file mode 100644 index fafbe9dfe..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_ad.proto +++ /dev/null @@ -1,107 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/policy.proto"; -import "google/ads/googleads/v13/enums/ad_group_ad_status.proto"; -import "google/ads/googleads/v13/enums/ad_strength.proto"; -import "google/ads/googleads/v13/enums/policy_approval_status.proto"; -import "google/ads/googleads/v13/enums/policy_review_status.proto"; -import "google/ads/googleads/v13/resources/ad.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAdProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the ad group ad resource. - -// An ad group ad. -message AdGroupAd { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupAd" - pattern: "customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}" - }; - - // Immutable. The resource name of the ad. - // Ad group ad resource names have the form: - // - // `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAd" - } - ]; - - // The status of the ad. - google.ads.googleads.v13.enums.AdGroupAdStatusEnum.AdGroupAdStatus status = 3; - - // Immutable. The ad group to which the ad belongs. - optional string ad_group = 9 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Immutable. The ad. - Ad ad = 5 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. Policy information for the ad. - AdGroupAdPolicySummary policy_summary = 6 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Overall ad strength for this ad group ad. - google.ads.googleads.v13.enums.AdStrengthEnum.AdStrength ad_strength = 7 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. A list of recommendations to improve the ad strength. For - // example, a recommendation could be "Your headlines are a little too - // similar. Try adding more distinct headlines.". - repeated string action_items = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource names of labels attached to this ad group ad. - repeated string labels = 10 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAdLabel" - } - ]; -} - -// Contains policy information for an ad. -message AdGroupAdPolicySummary { - // Output only. The list of policy findings for this ad. - repeated google.ads.googleads.v13.common.PolicyTopicEntry - policy_topic_entries = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Where in the review process this ad is. - google.ads.googleads.v13.enums.PolicyReviewStatusEnum.PolicyReviewStatus - review_status = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The overall approval status of this ad, calculated based on - // the status of its individual policy topic entries. - google.ads.googleads.v13.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus - approval_status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_ad_asset_combination_view.proto b/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_ad_asset_combination_view.proto deleted file mode 100644 index 8e5fb4579..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_ad_asset_combination_view.proto +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/asset_usage.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAdAssetCombinationViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the asset combination view resource. - -// A view on the usage of ad group ad asset combination. -// Now we only support AdGroupAdAssetCombinationView for Responsive Search Ads, -// with more ad types planned for the future. -message AdGroupAdAssetCombinationView { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupAdAssetCombinationView" - pattern: "customers/{customer_id}/adGroupAdAssetCombinationViews/{ad_group_id}~{ad_id}~{asset_combination_id_low}~{asset_combination_id_high}" - }; - - // Output only. The resource name of the ad group ad asset combination view. - // The combination ID is 128 bits long, where the upper 64 bits are stored in - // asset_combination_id_high, and the lower 64 bits are stored in - // asset_combination_id_low. - // AdGroupAd Asset Combination view resource names have the form: - // `customers/{customer_id}/adGroupAdAssetCombinationViews/{AdGroupAd.ad_group_id}~{AdGroupAd.ad.ad_id}~{AssetCombination.asset_combination_id_low}~{AssetCombination.asset_combination_id_high}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAdAssetCombinationView" - } - ]; - - // Output only. Served assets. - repeated google.ads.googleads.v13.common.AssetUsage served_assets = 2 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The status between the asset combination and the latest - // version of the ad. If true, the asset combination is linked to the latest - // version of the ad. If false, it means the link once existed but has been - // removed and is no longer present in the latest version of the ad. - optional bool enabled = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_ad_asset_view.proto b/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_ad_asset_view.proto deleted file mode 100644 index dd69d4d22..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_ad_asset_view.proto +++ /dev/null @@ -1,114 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/policy.proto"; -import "google/ads/googleads/v13/enums/asset_field_type.proto"; -import "google/ads/googleads/v13/enums/asset_performance_label.proto"; -import "google/ads/googleads/v13/enums/policy_approval_status.proto"; -import "google/ads/googleads/v13/enums/policy_review_status.proto"; -import "google/ads/googleads/v13/enums/served_asset_field_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAdAssetViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the ad group ad asset view resource. - -// A link between an AdGroupAd and an Asset. -// Currently we only support AdGroupAdAssetView for AppAds and Responsive Search -// Ads. -message AdGroupAdAssetView { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupAdAssetView" - pattern: "customers/{customer_id}/adGroupAdAssetViews/{ad_group_id}~{ad_id}~{asset_id}~{field_type}" - }; - - // Output only. The resource name of the ad group ad asset view. - // Ad group ad asset view resource names have the form (Before V4): - // - // `customers/{customer_id}/adGroupAdAssets/{AdGroupAdAsset.ad_group_id}~{AdGroupAdAsset.ad.ad_id}~{AdGroupAdAsset.asset_id}~{AdGroupAdAsset.field_type}` - // - // Ad group ad asset view resource names have the form (Beginning from V4): - // - // `customers/{customer_id}/adGroupAdAssetViews/{AdGroupAdAsset.ad_group_id}~{AdGroupAdAsset.ad_id}~{AdGroupAdAsset.asset_id}~{AdGroupAdAsset.field_type}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAdAssetView" - } - ]; - - // Output only. The ad group ad to which the asset is linked. - optional string ad_group_ad = 9 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAd" - } - ]; - - // Output only. The asset which is linked to the ad group ad. - optional string asset = 10 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { type: "googleads.googleapis.com/Asset" } - ]; - - // Output only. Role that the asset takes in the ad. - google.ads.googleads.v13.enums.AssetFieldTypeEnum.AssetFieldType field_type = - 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The status between the asset and the latest version of the ad. - // If true, the asset is linked to the latest version of the ad. If false, it - // means the link once existed but has been removed and is no longer present - // in the latest version of the ad. - optional bool enabled = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Policy information for the ad group ad asset. - AdGroupAdAssetPolicySummary policy_summary = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Performance of an asset linkage. - google.ads.googleads.v13.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel - performance_label = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Pinned field. - google.ads.googleads.v13.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType - pinned_field = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; -} - -// Contains policy information for an ad group ad asset. -message AdGroupAdAssetPolicySummary { - // Output only. The list of policy findings for the ad group ad asset. - repeated google.ads.googleads.v13.common.PolicyTopicEntry - policy_topic_entries = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Where in the review process this ad group ad asset is. - google.ads.googleads.v13.enums.PolicyReviewStatusEnum.PolicyReviewStatus - review_status = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The overall approval status of this ad group ad asset, - // calculated based on the status of its individual policy topic entries. - google.ads.googleads.v13.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus - approval_status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_ad_label.proto b/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_ad_label.proto deleted file mode 100644 index 9f232988c..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_ad_label.proto +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAdLabelProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the ad group ad label resource. - -// A relationship between an ad group ad and a label. -message AdGroupAdLabel { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupAdLabel" - pattern: "customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}" - }; - - // Immutable. The resource name of the ad group ad label. - // Ad group ad label resource names have the form: - // `customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAdLabel" - } - ]; - - // Immutable. The ad group ad to which the label is attached. - optional string ad_group_ad = 4 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAd" - } - ]; - - // Immutable. The label assigned to the ad group ad. - optional string label = 5 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { type: "googleads.googleapis.com/Label" } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_asset.proto b/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_asset.proto deleted file mode 100644 index 2501d1ae2..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_asset.proto +++ /dev/null @@ -1,107 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/asset_policy.proto"; -import "google/ads/googleads/v13/enums/asset_field_type.proto"; -import "google/ads/googleads/v13/enums/asset_link_primary_status.proto"; -import "google/ads/googleads/v13/enums/asset_link_primary_status_reason.proto"; -import "google/ads/googleads/v13/enums/asset_link_status.proto"; -import "google/ads/googleads/v13/enums/asset_source.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAssetProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the AdGroupAsset resource. - -// A link between an ad group and an asset. -message AdGroupAsset { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupAsset" - pattern: "customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}" - }; - - // Immutable. The resource name of the ad group asset. - // AdGroupAsset resource names have the form: - // - // `customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAsset" - } - ]; - - // Required. Immutable. The ad group to which the asset is linked. - string ad_group = 2 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Required. Immutable. The asset which is linked to the ad group. - string asset = 3 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { type: "googleads.googleapis.com/Asset" } - ]; - - // Required. Immutable. Role that the asset takes under the linked ad group. - google.ads.googleads.v13.enums.AssetFieldTypeEnum.AssetFieldType field_type = - 4 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE - ]; - - // Output only. Source of the adgroup asset link. - google.ads.googleads.v13.enums.AssetSourceEnum.AssetSource source = 6 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Status of the ad group asset. - google.ads.googleads.v13.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5; - - // Output only. Provides the PrimaryStatus of this asset link. - // Primary status is meant essentially to differentiate between the plain - // "status" field, which has advertiser set values of enabled, paused, or - // removed. The primary status takes into account other signals (for assets - // its mainly policy and quality approvals) to come up with a more - // comprehensive status to indicate its serving state. - google.ads.googleads.v13.enums.AssetLinkPrimaryStatusEnum - .AssetLinkPrimaryStatus primary_status = 7 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Provides the details of the primary status and its associated - // reasons. - repeated google.ads.googleads.v13.common.AssetLinkPrimaryStatusDetails - primary_status_details = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Provides a list of reasons for why an asset is not serving or - // not serving at full capacity. - repeated google.ads.googleads.v13.enums.AssetLinkPrimaryStatusReasonEnum - .AssetLinkPrimaryStatusReason primary_status_reasons = 9 - [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_asset_set.proto b/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_asset_set.proto deleted file mode 100644 index 6763c979e..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_asset_set.proto +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/asset_set_link_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAssetSetProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the AdGroupAssetSet resource. - -// AdGroupAssetSet is the linkage between an ad group and an asset set. -// Creating an AdGroupAssetSet links an asset set with an ad group. -message AdGroupAssetSet { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupAssetSet" - pattern: "customers/{customer_id}/adGroupAssetSets/{ad_group_id}~{asset_set_id}" - }; - - // Immutable. The resource name of the ad group asset set. - // Ad group asset set resource names have the form: - // - // `customers/{customer_id}/adGroupAssetSets/{ad_group_id}~{asset_set_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAssetSet" - } - ]; - - // Immutable. The ad group to which this asset set is linked. - string ad_group = 2 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Immutable. The asset set which is linked to the ad group. - string asset_set = 3 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetSet" - } - ]; - - // Output only. The status of the ad group asset set. Read-only. - google.ads.googleads.v13.enums.AssetSetLinkStatusEnum.AssetSetLinkStatus - status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_audience_view.proto b/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_audience_view.proto deleted file mode 100644 index e78ad0fc1..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_audience_view.proto +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAudienceViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the ad group audience view resource. - -// An ad group audience view. -// Includes performance data from interests and remarketing lists for Display -// Network and YouTube Network ads, and remarketing lists for search ads (RLSA), -// aggregated at the audience level. -message AdGroupAudienceView { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupAudienceView" - pattern: "customers/{customer_id}/adGroupAudienceViews/{ad_group_id}~{criterion_id}" - }; - - // Output only. The resource name of the ad group audience view. - // Ad group audience view resource names have the form: - // - // `customers/{customer_id}/adGroupAudienceViews/{ad_group_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAudienceView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_bid_modifier.proto b/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_bid_modifier.proto deleted file mode 100644 index 52f887118..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_bid_modifier.proto +++ /dev/null @@ -1,119 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/criteria.proto"; -import "google/ads/googleads/v13/enums/bid_modifier_source.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupBidModifierProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the ad group bid modifier resource. - -// Represents an ad group bid modifier. -message AdGroupBidModifier { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupBidModifier" - pattern: "customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}" - }; - - // Immutable. The resource name of the ad group bid modifier. - // Ad group bid modifier resource names have the form: - // - // `customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupBidModifier" - } - ]; - - // Immutable. The ad group to which this criterion belongs. - optional string ad_group = 13 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Output only. The ID of the criterion to bid modify. - // - // This field is ignored for mutates. - optional int64 criterion_id = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The modifier for the bid when the criterion matches. The modifier must be - // in the range: 0.1 - 10.0. The range is 1.0 - 6.0 for PreferredContent. - // Use 0 to opt out of a Device type. - optional double bid_modifier = 15; - - // Output only. The base ad group from which this draft/trial adgroup bid - // modifier was created. If ad_group is a base ad group then this field will - // be equal to ad_group. If the ad group was created in the draft or trial and - // has no corresponding base ad group, then this field will be null. This - // field is readonly. - optional string base_ad_group = 16 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Output only. Bid modifier source. - google.ads.googleads.v13.enums.BidModifierSourceEnum.BidModifierSource - bid_modifier_source = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The criterion of this ad group bid modifier. - // - // Required in create operations starting in V5. - oneof criterion { - // Immutable. Criterion for hotel date selection (default dates versus user - // selected). - google.ads.googleads.v13.common.HotelDateSelectionTypeInfo - hotel_date_selection_type = 5 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Criterion for number of days prior to the stay the booking is - // being made. - google.ads.googleads.v13.common.HotelAdvanceBookingWindowInfo - hotel_advance_booking_window = 6 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Criterion for length of hotel stay in nights. - google.ads.googleads.v13.common.HotelLengthOfStayInfo hotel_length_of_stay = - 7 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Criterion for day of the week the booking is for. - google.ads.googleads.v13.common.HotelCheckInDayInfo hotel_check_in_day = 8 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. A device criterion. - google.ads.googleads.v13.common.DeviceInfo device = 11 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Criterion for a hotel check-in date range. - google.ads.googleads.v13.common.HotelCheckInDateRangeInfo - hotel_check_in_date_range = 17 - [(google.api.field_behavior) = IMMUTABLE]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_criterion.proto b/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_criterion.proto deleted file mode 100644 index 05a60f711..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_criterion.proto +++ /dev/null @@ -1,348 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/criteria.proto"; -import "google/ads/googleads/v13/common/custom_parameter.proto"; -import "google/ads/googleads/v13/enums/ad_group_criterion_approval_status.proto"; -import "google/ads/googleads/v13/enums/ad_group_criterion_status.proto"; -import "google/ads/googleads/v13/enums/bidding_source.proto"; -import "google/ads/googleads/v13/enums/criterion_system_serving_status.proto"; -import "google/ads/googleads/v13/enums/criterion_type.proto"; -import "google/ads/googleads/v13/enums/quality_score_bucket.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the ad group criterion resource. - -// An ad group criterion. -message AdGroupCriterion { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupCriterion" - pattern: "customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}" - }; - - // A container for ad group criterion quality information. - message QualityInfo { - // Output only. The quality score. - // - // This field may not be populated if Google does not have enough - // information to determine a value. - optional int32 quality_score = 5 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The performance of the ad compared to other advertisers. - google.ads.googleads.v13.enums.QualityScoreBucketEnum.QualityScoreBucket - creative_quality_score = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The quality score of the landing page. - google.ads.googleads.v13.enums.QualityScoreBucketEnum.QualityScoreBucket - post_click_quality_score = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The click-through rate compared to that of other - // advertisers. - google.ads.googleads.v13.enums.QualityScoreBucketEnum.QualityScoreBucket - search_predicted_ctr = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Estimates for criterion bids at various positions. - message PositionEstimates { - // Output only. The estimate of the CPC bid required for ad to be shown on - // first page of search results. - optional int64 first_page_cpc_micros = 6 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The estimate of the CPC bid required for ad to be displayed - // in first position, at the top of the first page of search results. - optional int64 first_position_cpc_micros = 7 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The estimate of the CPC bid required for ad to be displayed - // at the top of the first page of search results. - optional int64 top_of_page_cpc_micros = 8 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Estimate of how many clicks per week you might get by - // changing your keyword bid to the value in first_position_cpc_micros. - optional int64 estimated_add_clicks_at_first_position_cpc = 9 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Estimate of how your cost per week might change when - // changing your keyword bid to the value in first_position_cpc_micros. - optional int64 estimated_add_cost_at_first_position_cpc = 10 - [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Immutable. The resource name of the ad group criterion. - // Ad group criterion resource names have the form: - // - // `customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterion" - } - ]; - - // Output only. The ID of the criterion. - // - // This field is ignored for mutates. - optional int64 criterion_id = 56 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The display name of the criterion. - // - // This field is ignored for mutates. - string display_name = 77 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The status of the criterion. - // - // This is the status of the ad group criterion entity, set by the client. - // Note: UI reports may incorporate additional information that affects - // whether a criterion is eligible to run. In some cases a criterion that's - // REMOVED in the API can still show as enabled in the UI. - // For example, campaigns by default show to users of all age ranges unless - // excluded. The UI will show each age range as "enabled", since they're - // eligible to see the ads; but AdGroupCriterion.status will show "removed", - // since no positive criterion was added. - google.ads.googleads.v13.enums.AdGroupCriterionStatusEnum - .AdGroupCriterionStatus status = 3; - - // Output only. Information regarding the quality of the criterion. - QualityInfo quality_info = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The ad group to which the criterion belongs. - optional string ad_group = 57 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Output only. The type of the criterion. - google.ads.googleads.v13.enums.CriterionTypeEnum.CriterionType type = 25 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. Whether to target (`false`) or exclude (`true`) the criterion. - // - // This field is immutable. To switch a criterion from positive to negative, - // remove then re-add it. - optional bool negative = 58 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. Serving status of the criterion. - google.ads.googleads.v13.enums.CriterionSystemServingStatusEnum - .CriterionSystemServingStatus system_serving_status = 52 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Approval status of the criterion. - google.ads.googleads.v13.enums.AdGroupCriterionApprovalStatusEnum - .AdGroupCriterionApprovalStatus approval_status = 53 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. List of disapproval reasons of the criterion. - // - // The different reasons for disapproving a criterion can be found here: - // https://support.google.com/adspolicy/answer/6008942 - // - // This field is read-only. - repeated string disapproval_reasons = 59 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource names of labels attached to this ad group - // criterion. - repeated string labels = 60 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterionLabel" - } - ]; - - // The modifier for the bid when the criterion matches. The modifier must be - // in the range: 0.1 - 10.0. Most targetable criteria types support modifiers. - optional double bid_modifier = 61; - - // The CPC (cost-per-click) bid. - optional int64 cpc_bid_micros = 62; - - // The CPM (cost-per-thousand viewable impressions) bid. - optional int64 cpm_bid_micros = 63; - - // The CPV (cost-per-view) bid. - optional int64 cpv_bid_micros = 64; - - // The CPC bid amount, expressed as a fraction of the advertised price - // for some good or service. The valid range for the fraction is [0,1) and the - // value stored here is 1,000,000 * [fraction]. - optional int64 percent_cpc_bid_micros = 65; - - // Output only. The effective CPC (cost-per-click) bid. - optional int64 effective_cpc_bid_micros = 66 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The effective CPM (cost-per-thousand viewable impressions) - // bid. - optional int64 effective_cpm_bid_micros = 67 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The effective CPV (cost-per-view) bid. - optional int64 effective_cpv_bid_micros = 68 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The effective Percent CPC bid amount. - optional int64 effective_percent_cpc_bid_micros = 69 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Source of the effective CPC bid. - google.ads.googleads.v13.enums.BiddingSourceEnum.BiddingSource - effective_cpc_bid_source = 21 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Source of the effective CPM bid. - google.ads.googleads.v13.enums.BiddingSourceEnum.BiddingSource - effective_cpm_bid_source = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Source of the effective CPV bid. - google.ads.googleads.v13.enums.BiddingSourceEnum.BiddingSource - effective_cpv_bid_source = 23 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Source of the effective Percent CPC bid. - google.ads.googleads.v13.enums.BiddingSourceEnum.BiddingSource - effective_percent_cpc_bid_source = 35 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Estimates for criterion bids at various positions. - PositionEstimates position_estimates = 10 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The list of possible final URLs after all cross-domain redirects for the - // ad. - repeated string final_urls = 70; - - // The list of possible final mobile URLs after all cross-domain redirects. - repeated string final_mobile_urls = 71; - - // URL template for appending params to final URL. - optional string final_url_suffix = 72; - - // The URL template for constructing a tracking URL. - optional string tracking_url_template = 73; - - // The list of mappings used to substitute custom parameter tags in a - // `tracking_url_template`, `final_urls`, or `mobile_final_urls`. - repeated google.ads.googleads.v13.common.CustomParameter - url_custom_parameters = 14; - - // The ad group criterion. - // - // Exactly one must be set. - oneof criterion { - // Immutable. Keyword. - google.ads.googleads.v13.common.KeywordInfo keyword = 27 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Placement. - google.ads.googleads.v13.common.PlacementInfo placement = 28 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Mobile app category. - google.ads.googleads.v13.common.MobileAppCategoryInfo mobile_app_category = - 29 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Mobile application. - google.ads.googleads.v13.common.MobileApplicationInfo mobile_application = - 30 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Listing group. - google.ads.googleads.v13.common.ListingGroupInfo listing_group = 32 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Age range. - google.ads.googleads.v13.common.AgeRangeInfo age_range = 36 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Gender. - google.ads.googleads.v13.common.GenderInfo gender = 37 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Income range. - google.ads.googleads.v13.common.IncomeRangeInfo income_range = 38 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Parental status. - google.ads.googleads.v13.common.ParentalStatusInfo parental_status = 39 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. User List. - // The Similar Audiences sunset starts May 2023. Refer to - // https://ads-developers.googleblog.com/2022/11/announcing-deprecation-and-sunset-of.html - // for other options. - google.ads.googleads.v13.common.UserListInfo user_list = 42 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. YouTube Video. - google.ads.googleads.v13.common.YouTubeVideoInfo youtube_video = 40 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. YouTube Channel. - google.ads.googleads.v13.common.YouTubeChannelInfo youtube_channel = 41 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Topic. - google.ads.googleads.v13.common.TopicInfo topic = 43 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. User Interest. - google.ads.googleads.v13.common.UserInterestInfo user_interest = 45 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Webpage - google.ads.googleads.v13.common.WebpageInfo webpage = 46 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. App Payment Model. - google.ads.googleads.v13.common.AppPaymentModelInfo app_payment_model = 47 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Custom Affinity. - google.ads.googleads.v13.common.CustomAffinityInfo custom_affinity = 48 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Custom Intent. - google.ads.googleads.v13.common.CustomIntentInfo custom_intent = 49 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Custom Audience. - google.ads.googleads.v13.common.CustomAudienceInfo custom_audience = 74 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Combined Audience. - google.ads.googleads.v13.common.CombinedAudienceInfo combined_audience = 75 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Audience. - google.ads.googleads.v13.common.AudienceInfo audience = 79 - [(google.api.field_behavior) = IMMUTABLE]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_criterion_customizer.proto b/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_criterion_customizer.proto deleted file mode 100644 index 2b2166f75..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_criterion_customizer.proto +++ /dev/null @@ -1,79 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/customizer_value.proto"; -import "google/ads/googleads/v13/enums/customizer_value_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionCustomizerProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// A customizer value for the associated CustomizerAttribute at the -// AdGroupCriterion level. -message AdGroupCriterionCustomizer { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupCriterionCustomizer" - pattern: "customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~{customizer_attribute_id}" - }; - - // Immutable. The resource name of the ad group criterion customizer. - // Ad group criterion customizer resource names have the form: - // - // `customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~{customizer_attribute_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterionCustomizer" - } - ]; - - // Immutable. The ad group criterion to which the customizer attribute is - // linked. It must be a keyword criterion. - optional string ad_group_criterion = 2 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterion" - } - ]; - - // Required. Immutable. The customizer attribute which is linked to the ad - // group criterion. - string customizer_attribute = 3 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomizerAttribute" - } - ]; - - // Output only. The status of the ad group criterion customizer. - google.ads.googleads.v13.enums.CustomizerValueStatusEnum.CustomizerValueStatus - status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Required. The value to associate with the customizer attribute at this - // level. The value must be of the type specified for the CustomizerAttribute. - google.ads.googleads.v13.common.CustomizerValue value = 5 - [(google.api.field_behavior) = REQUIRED]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_criterion_label.proto b/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_criterion_label.proto deleted file mode 100644 index 84fdc5c68..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_criterion_label.proto +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionLabelProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the ad group criterion label resource. - -// A relationship between an ad group criterion and a label. -message AdGroupCriterionLabel { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupCriterionLabel" - pattern: "customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}" - }; - - // Immutable. The resource name of the ad group criterion label. - // Ad group criterion label resource names have the form: - // `customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterionLabel" - } - ]; - - // Immutable. The ad group criterion to which the label is attached. - optional string ad_group_criterion = 4 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterion" - } - ]; - - // Immutable. The label assigned to the ad group criterion. - optional string label = 5 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { type: "googleads.googleapis.com/Label" } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_criterion_simulation.proto b/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_criterion_simulation.proto deleted file mode 100644 index 6a548b706..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_criterion_simulation.proto +++ /dev/null @@ -1,97 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/simulation.proto"; -import "google/ads/googleads/v13/enums/simulation_modification_method.proto"; -import "google/ads/googleads/v13/enums/simulation_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionSimulationProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the ad group criterion simulation resource. - -// An ad group criterion simulation. Supported combinations of advertising -// channel type, criterion type, simulation type, and simulation modification -// method are detailed below respectively. Hotel AdGroupCriterion simulation -// operations starting in V5. -// -// 1. DISPLAY - KEYWORD - CPC_BID - UNIFORM -// 2. SEARCH - KEYWORD - CPC_BID - UNIFORM -// 3. SHOPPING - LISTING_GROUP - CPC_BID - UNIFORM -// 4. HOTEL - LISTING_GROUP - CPC_BID - UNIFORM -// 5. HOTEL - LISTING_GROUP - PERCENT_CPC_BID - UNIFORM -message AdGroupCriterionSimulation { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupCriterionSimulation" - pattern: "customers/{customer_id}/adGroupCriterionSimulations/{ad_group_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}" - }; - - // Output only. The resource name of the ad group criterion simulation. - // Ad group criterion simulation resource names have the form: - // - // `customers/{customer_id}/adGroupCriterionSimulations/{ad_group_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterionSimulation" - } - ]; - - // Output only. AdGroup ID of the simulation. - optional int64 ad_group_id = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Criterion ID of the simulation. - optional int64 criterion_id = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The field that the simulation modifies. - google.ads.googleads.v13.enums.SimulationTypeEnum.SimulationType type = 4 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. How the simulation modifies the field. - google.ads.googleads.v13.enums.SimulationModificationMethodEnum - .SimulationModificationMethod modification_method = 5 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. First day on which the simulation is based, in YYYY-MM-DD - // format. - optional string start_date = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Last day on which the simulation is based, in YYYY-MM-DD - // format. - optional string end_date = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // List of simulation points. - oneof point_list { - // Output only. Simulation points if the simulation type is CPC_BID. - google.ads.googleads.v13.common.CpcBidSimulationPointList - cpc_bid_point_list = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Simulation points if the simulation type is PERCENT_CPC_BID. - google.ads.googleads.v13.common.PercentCpcBidSimulationPointList - percent_cpc_bid_point_list = 13 - [(google.api.field_behavior) = OUTPUT_ONLY]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_customizer.proto b/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_customizer.proto deleted file mode 100644 index a9192d055..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_customizer.proto +++ /dev/null @@ -1,78 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/customizer_value.proto"; -import "google/ads/googleads/v13/enums/customizer_value_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCustomizerProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// A customizer value for the associated CustomizerAttribute at the AdGroup -// level. -message AdGroupCustomizer { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupCustomizer" - pattern: "customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id}" - }; - - // Immutable. The resource name of the ad group customizer. - // Ad group customizer resource names have the form: - // - // `customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCustomizer" - } - ]; - - // Immutable. The ad group to which the customizer attribute is linked. - string ad_group = 2 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Required. Immutable. The customizer attribute which is linked to the ad - // group. - string customizer_attribute = 3 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomizerAttribute" - } - ]; - - // Output only. The status of the ad group customizer. - google.ads.googleads.v13.enums.CustomizerValueStatusEnum.CustomizerValueStatus - status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Required. The value to associate with the customizer attribute at this - // level. The value must be of the type specified for the CustomizerAttribute. - google.ads.googleads.v13.common.CustomizerValue value = 5 - [(google.api.field_behavior) = REQUIRED]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_extension_setting.proto b/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_extension_setting.proto deleted file mode 100644 index d6e0885a8..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_extension_setting.proto +++ /dev/null @@ -1,79 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/extension_setting_device.proto"; -import "google/ads/googleads/v13/enums/extension_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupExtensionSettingProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the AdGroupExtensionSetting resource. - -// An ad group extension setting. -message AdGroupExtensionSetting { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupExtensionSetting" - pattern: "customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type}" - }; - - // Immutable. The resource name of the ad group extension setting. - // AdGroupExtensionSetting resource names have the form: - // - // `customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupExtensionSetting" - } - ]; - - // Immutable. The extension type of the ad group extension setting. - google.ads.googleads.v13.enums.ExtensionTypeEnum.ExtensionType - extension_type = 2 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The resource name of the ad group. The linked extension feed - // items will serve under this ad group. AdGroup resource names have the form: - // - // `customers/{customer_id}/adGroups/{ad_group_id}` - optional string ad_group = 6 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // The resource names of the extension feed items to serve under the ad group. - // ExtensionFeedItem resource names have the form: - // - // `customers/{customer_id}/extensionFeedItems/{feed_item_id}` - repeated string extension_feed_items = 7 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ExtensionFeedItem" - }]; - - // The device for which the extensions will serve. Optional. - google.ads.googleads.v13.enums.ExtensionSettingDeviceEnum - .ExtensionSettingDevice device = 5; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_feed.proto b/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_feed.proto deleted file mode 100644 index 912ea3747..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_feed.proto +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/matching_function.proto"; -import "google/ads/googleads/v13/enums/feed_link_status.proto"; -import "google/ads/googleads/v13/enums/placeholder_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupFeedProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the AdGroupFeed resource. - -// An ad group feed. -message AdGroupFeed { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupFeed" - pattern: "customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id}" - }; - - // Immutable. The resource name of the ad group feed. - // Ad group feed resource names have the form: - // - // `customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id} - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupFeed" - } - ]; - - // Immutable. The feed being linked to the ad group. - optional string feed = 7 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { type: "googleads.googleapis.com/Feed" } - ]; - - // Immutable. The ad group being linked to the feed. - optional string ad_group = 8 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Indicates which placeholder types the feed may populate under the connected - // ad group. Required. - repeated google.ads.googleads.v13.enums.PlaceholderTypeEnum.PlaceholderType - placeholder_types = 4; - - // Matching function associated with the AdGroupFeed. - // The matching function is used to filter the set of feed items selected. - // Required. - google.ads.googleads.v13.common.MatchingFunction matching_function = 5; - - // Output only. Status of the ad group feed. - // This field is read-only. - google.ads.googleads.v13.enums.FeedLinkStatusEnum.FeedLinkStatus status = 6 - [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_label.proto b/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_label.proto deleted file mode 100644 index a2b9c66b7..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_label.proto +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupLabelProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the ad group label resource. - -// A relationship between an ad group and a label. -message AdGroupLabel { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupLabel" - pattern: "customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}" - }; - - // Immutable. The resource name of the ad group label. - // Ad group label resource names have the form: - // `customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupLabel" - } - ]; - - // Immutable. The ad group to which the label is attached. - optional string ad_group = 4 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Immutable. The label assigned to the ad group. - optional string label = 5 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { type: "googleads.googleapis.com/Label" } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_simulation.proto b/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_simulation.proto deleted file mode 100644 index 17e73bc66..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/ad_group_simulation.proto +++ /dev/null @@ -1,102 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/simulation.proto"; -import "google/ads/googleads/v13/enums/simulation_modification_method.proto"; -import "google/ads/googleads/v13/enums/simulation_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupSimulationProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the ad group simulation resource. - -// An ad group simulation. Supported combinations of advertising -// channel type, simulation type and simulation modification method is -// detailed below respectively. -// -// 1. SEARCH - CPC_BID - DEFAULT -// 2. SEARCH - CPC_BID - UNIFORM -// 3. SEARCH - TARGET_CPA - UNIFORM -// 4. SEARCH - TARGET_ROAS - UNIFORM -// 5. DISPLAY - CPC_BID - DEFAULT -// 6. DISPLAY - CPC_BID - UNIFORM -// 7. DISPLAY - TARGET_CPA - UNIFORM -message AdGroupSimulation { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdGroupSimulation" - pattern: "customers/{customer_id}/adGroupSimulations/{ad_group_id}~{type}~{modification_method}~{start_date}~{end_date}" - }; - - // Output only. The resource name of the ad group simulation. - // Ad group simulation resource names have the form: - // - // `customers/{customer_id}/adGroupSimulations/{ad_group_id}~{type}~{modification_method}~{start_date}~{end_date}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupSimulation" - } - ]; - - // Output only. Ad group id of the simulation. - optional int64 ad_group_id = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The field that the simulation modifies. - google.ads.googleads.v13.enums.SimulationTypeEnum.SimulationType type = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. How the simulation modifies the field. - google.ads.googleads.v13.enums.SimulationModificationMethodEnum - .SimulationModificationMethod modification_method = 4 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. First day on which the simulation is based, in YYYY-MM-DD - // format. - optional string start_date = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Last day on which the simulation is based, in YYYY-MM-DD - // format - optional string end_date = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // List of simulation points. - oneof point_list { - // Output only. Simulation points if the simulation type is CPC_BID. - google.ads.googleads.v13.common.CpcBidSimulationPointList - cpc_bid_point_list = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Simulation points if the simulation type is CPV_BID. - google.ads.googleads.v13.common.CpvBidSimulationPointList - cpv_bid_point_list = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Simulation points if the simulation type is TARGET_CPA. - google.ads.googleads.v13.common.TargetCpaSimulationPointList - target_cpa_point_list = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Simulation points if the simulation type is TARGET_ROAS. - google.ads.googleads.v13.common.TargetRoasSimulationPointList - target_roas_point_list = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/ad_parameter.proto b/third_party/googleapis/google/ads/googleads/v13/resources/ad_parameter.proto deleted file mode 100644 index b4996018d..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/ad_parameter.proto +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdParameterProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the ad parameter resource. - -// An ad parameter that is used to update numeric values (such as prices or -// inventory levels) in any text line of an ad (including URLs). There can -// be a maximum of two AdParameters per ad group criterion. (One with -// parameter_index = 1 and one with parameter_index = 2.) -// In the ad the parameters are referenced by a placeholder of the form -// "{param#:value}". For example, "{param1:$17}" -message AdParameter { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdParameter" - pattern: "customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}" - }; - - // Immutable. The resource name of the ad parameter. - // Ad parameter resource names have the form: - // - // `customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdParameter" - } - ]; - - // Immutable. The ad group criterion that this ad parameter belongs to. - optional string ad_group_criterion = 5 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterion" - } - ]; - - // Immutable. The unique index of this ad parameter. Must be either 1 or 2. - optional int64 parameter_index = 6 [(google.api.field_behavior) = IMMUTABLE]; - - // Numeric value to insert into the ad text. The following restrictions - // apply: - // - Can use comma or period as a separator, with an optional period or - // comma (respectively) for fractional values. For example, 1,000,000.00 - // and 2.000.000,10 are valid. - // - Can be prepended or appended with a currency symbol. For example, - // $99.99 is valid. - // - Can be prepended or appended with a currency code. For example, 99.99USD - // and EUR200 are valid. - // - Can use '%'. For example, 1.0% and 1,0% are valid. - // - Can use plus or minus. For example, -10.99 and 25+ are valid. - // - Can use '/' between two numbers. For example 4/1 and 0.95/0.45 are - // valid. - optional string insertion_text = 7; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/ad_schedule_view.proto b/third_party/googleapis/google/ads/googleads/v13/resources/ad_schedule_view.proto deleted file mode 100644 index de9782240..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/ad_schedule_view.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdScheduleViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the ad schedule view resource. - -// An ad schedule view summarizes the performance of campaigns by -// AdSchedule criteria. -message AdScheduleView { - option (google.api.resource) = { - type: "googleads.googleapis.com/AdScheduleView" - pattern: "customers/{customer_id}/adScheduleViews/{campaign_id}~{criterion_id}" - }; - - // Output only. The resource name of the ad schedule view. - // AdSchedule view resource names have the form: - // - // `customers/{customer_id}/adScheduleViews/{campaign_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdScheduleView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/age_range_view.proto b/third_party/googleapis/google/ads/googleads/v13/resources/age_range_view.proto deleted file mode 100644 index 3943b15be..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/age_range_view.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AgeRangeViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the age range view resource. - -// An age range view. -message AgeRangeView { - option (google.api.resource) = { - type: "googleads.googleapis.com/AgeRangeView" - pattern: "customers/{customer_id}/ageRangeViews/{ad_group_id}~{criterion_id}" - }; - - // Output only. The resource name of the age range view. - // Age range view resource names have the form: - // - // `customers/{customer_id}/ageRangeViews/{ad_group_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AgeRangeView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/asset.proto b/third_party/googleapis/google/ads/googleads/v13/resources/asset.proto deleted file mode 100644 index 6f9cece0f..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/asset.proto +++ /dev/null @@ -1,230 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/asset_types.proto"; -import "google/ads/googleads/v13/common/custom_parameter.proto"; -import "google/ads/googleads/v13/common/policy.proto"; -import "google/ads/googleads/v13/enums/asset_field_type.proto"; -import "google/ads/googleads/v13/enums/asset_source.proto"; -import "google/ads/googleads/v13/enums/asset_type.proto"; -import "google/ads/googleads/v13/enums/policy_approval_status.proto"; -import "google/ads/googleads/v13/enums/policy_review_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AssetProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the asset resource. - -// Asset is a part of an ad which can be shared across multiple ads. -// It can be an image (ImageAsset), a video (YoutubeVideoAsset), etc. -// Assets are immutable and cannot be removed. To stop an asset from serving, -// remove the asset from the entity that is using it. -message Asset { - option (google.api.resource) = { - type: "googleads.googleapis.com/Asset" - pattern: "customers/{customer_id}/assets/{asset_id}" - }; - - // Immutable. The resource name of the asset. - // Asset resource names have the form: - // - // `customers/{customer_id}/assets/{asset_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { type: "googleads.googleapis.com/Asset" } - ]; - - // Output only. The ID of the asset. - optional int64 id = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Optional name of the asset. - optional string name = 12; - - // Output only. Type of the asset. - google.ads.googleads.v13.enums.AssetTypeEnum.AssetType type = 4 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // A list of possible final URLs after all cross domain redirects. - repeated string final_urls = 14; - - // A list of possible final mobile URLs after all cross domain redirects. - repeated string final_mobile_urls = 16; - - // URL template for constructing a tracking URL. - optional string tracking_url_template = 17; - - // A list of mappings to be used for substituting URL custom parameter tags in - // the tracking_url_template, final_urls, and/or final_mobile_urls. - repeated google.ads.googleads.v13.common.CustomParameter - url_custom_parameters = 18; - - // URL template for appending params to landing page URLs served with parallel - // tracking. - optional string final_url_suffix = 19; - - // Output only. Source of the asset. - google.ads.googleads.v13.enums.AssetSourceEnum.AssetSource source = 38 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Policy information for the asset. - AssetPolicySummary policy_summary = 13 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Policy information for the asset for each FieldType. - repeated AssetFieldTypePolicySummary field_type_policy_summaries = 40 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The specific type of the asset. - oneof asset_data { - // Immutable. A YouTube video asset. - google.ads.googleads.v13.common.YoutubeVideoAsset youtube_video_asset = 5 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. A media bundle asset. - google.ads.googleads.v13.common.MediaBundleAsset media_bundle_asset = 6 - [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. An image asset. - google.ads.googleads.v13.common.ImageAsset image_asset = 7 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. A text asset. - google.ads.googleads.v13.common.TextAsset text_asset = 8 - [(google.api.field_behavior) = IMMUTABLE]; - - // A lead form asset. - google.ads.googleads.v13.common.LeadFormAsset lead_form_asset = 9; - - // A book on google asset. - google.ads.googleads.v13.common.BookOnGoogleAsset book_on_google_asset = 10; - - // A promotion asset. - google.ads.googleads.v13.common.PromotionAsset promotion_asset = 15; - - // A callout asset. - google.ads.googleads.v13.common.CalloutAsset callout_asset = 20; - - // A structured snippet asset. - google.ads.googleads.v13.common.StructuredSnippetAsset - structured_snippet_asset = 21; - - // A sitelink asset. - google.ads.googleads.v13.common.SitelinkAsset sitelink_asset = 22; - - // A page feed asset. - google.ads.googleads.v13.common.PageFeedAsset page_feed_asset = 23; - - // A dynamic education asset. - google.ads.googleads.v13.common.DynamicEducationAsset - dynamic_education_asset = 24; - - // A mobile app asset. - google.ads.googleads.v13.common.MobileAppAsset mobile_app_asset = 25; - - // A hotel callout asset. - google.ads.googleads.v13.common.HotelCalloutAsset hotel_callout_asset = 26; - - // A call asset. - google.ads.googleads.v13.common.CallAsset call_asset = 27; - - // A price asset. - google.ads.googleads.v13.common.PriceAsset price_asset = 28; - - // Immutable. A call to action asset. - google.ads.googleads.v13.common.CallToActionAsset call_to_action_asset = 29 - [(google.api.field_behavior) = IMMUTABLE]; - - // A dynamic real estate asset. - google.ads.googleads.v13.common.DynamicRealEstateAsset - dynamic_real_estate_asset = 30; - - // A dynamic custom asset. - google.ads.googleads.v13.common.DynamicCustomAsset dynamic_custom_asset = - 31; - - // A dynamic hotels and rentals asset. - google.ads.googleads.v13.common.DynamicHotelsAndRentalsAsset - dynamic_hotels_and_rentals_asset = 32; - - // A dynamic flights asset. - google.ads.googleads.v13.common.DynamicFlightsAsset dynamic_flights_asset = - 33; - - // Immutable. A discovery carousel card asset. - google.ads.googleads.v13.common.DiscoveryCarouselCardAsset - discovery_carousel_card_asset = 34 - [(google.api.field_behavior) = IMMUTABLE]; - - // A dynamic travel asset. - google.ads.googleads.v13.common.DynamicTravelAsset dynamic_travel_asset = - 35; - - // A dynamic local asset. - google.ads.googleads.v13.common.DynamicLocalAsset dynamic_local_asset = 36; - - // A dynamic jobs asset. - google.ads.googleads.v13.common.DynamicJobsAsset dynamic_jobs_asset = 37; - - // Output only. A location asset. - google.ads.googleads.v13.common.LocationAsset location_asset = 39 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. A hotel property asset. - google.ads.googleads.v13.common.HotelPropertyAsset hotel_property_asset = 41 - [(google.api.field_behavior) = IMMUTABLE]; - } -} - -// Contains policy information for an asset under AssetFieldType context. -message AssetFieldTypePolicySummary { - // Output only. FieldType of this asset. - optional google.ads.googleads.v13.enums.AssetFieldTypeEnum.AssetFieldType - asset_field_type = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Source of this asset. - optional google.ads.googleads.v13.enums.AssetSourceEnum.AssetSource - asset_source = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Policy summary. - optional AssetPolicySummary policy_summary_info = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; -} - -// Contains policy information for an asset. -message AssetPolicySummary { - // Output only. The list of policy findings for this asset. - repeated google.ads.googleads.v13.common.PolicyTopicEntry - policy_topic_entries = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Where in the review process this asset is. - google.ads.googleads.v13.enums.PolicyReviewStatusEnum.PolicyReviewStatus - review_status = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The overall approval status of this asset, calculated based on - // the status of its individual policy topic entries. - google.ads.googleads.v13.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus - approval_status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/asset_field_type_view.proto b/third_party/googleapis/google/ads/googleads/v13/resources/asset_field_type_view.proto deleted file mode 100644 index 9e5cc04f9..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/asset_field_type_view.proto +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/asset_field_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AssetFieldTypeViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the AssetFieldTypeView resource. - -// An asset field type view. -// This view reports non-overcounted metrics for each asset field type when the -// asset is used as extension. -message AssetFieldTypeView { - option (google.api.resource) = { - type: "googleads.googleapis.com/AssetFieldTypeView" - pattern: "customers/{customer_id}/assetFieldTypeViews/{field_type}" - }; - - // Output only. The resource name of the asset field type view. - // Asset field type view resource names have the form: - // - // `customers/{customer_id}/assetFieldTypeViews/{field_type}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetFieldTypeView" - } - ]; - - // Output only. The asset field type of the asset field type view. - google.ads.googleads.v13.enums.AssetFieldTypeEnum.AssetFieldType field_type = - 3 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/asset_group.proto b/third_party/googleapis/google/ads/googleads/v13/resources/asset_group.proto deleted file mode 100644 index ca8005b85..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/asset_group.proto +++ /dev/null @@ -1,93 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/ad_strength.proto"; -import "google/ads/googleads/v13/enums/asset_group_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// An asset group. -// AssetGroupAsset is used to link an asset to the asset group. -// AssetGroupSignal is used to associate a signal to an asset group. -message AssetGroup { - option (google.api.resource) = { - type: "googleads.googleapis.com/AssetGroup" - pattern: "customers/{customer_id}/assetGroups/{asset_group_id}" - }; - - // Immutable. The resource name of the asset group. - // Asset group resource names have the form: - // - // `customers/{customer_id}/assetGroups/{asset_group_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroup" - } - ]; - - // Output only. The ID of the asset group. - int64 id = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The campaign with which this asset group is associated. - // The asset which is linked to the asset group. - string campaign = 2 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Required. Name of the asset group. Required. It must have a minimum length - // of 1 and maximum length of 128. It must be unique under a campaign. - string name = 3 [(google.api.field_behavior) = REQUIRED]; - - // A list of final URLs after all cross domain redirects. In performance max, - // by default, the urls are eligible for expansion unless opted out. - repeated string final_urls = 4; - - // A list of final mobile URLs after all cross domain redirects. In - // performance max, by default, the urls are eligible for expansion - // unless opted out. - repeated string final_mobile_urls = 5; - - // The status of the asset group. - google.ads.googleads.v13.enums.AssetGroupStatusEnum.AssetGroupStatus status = - 6; - - // First part of text that may appear appended to the url displayed in - // the ad. - string path1 = 7; - - // Second part of text that may appear appended to the url displayed in - // the ad. This field can only be set when path1 is set. - string path2 = 8; - - // Output only. Overall ad strength of this asset group. - google.ads.googleads.v13.enums.AdStrengthEnum.AdStrength ad_strength = 10 - [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/asset_group_asset.proto b/third_party/googleapis/google/ads/googleads/v13/resources/asset_group_asset.proto deleted file mode 100644 index c5d88dd60..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/asset_group_asset.proto +++ /dev/null @@ -1,83 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/policy_summary.proto"; -import "google/ads/googleads/v13/enums/asset_field_type.proto"; -import "google/ads/googleads/v13/enums/asset_link_status.proto"; -import "google/ads/googleads/v13/enums/asset_performance_label.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupAssetProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// AssetGroupAsset is the link between an asset and an asset group. -// Adding an AssetGroupAsset links an asset with an asset group. -message AssetGroupAsset { - option (google.api.resource) = { - type: "googleads.googleapis.com/AssetGroupAsset" - pattern: "customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type}" - }; - - // Immutable. The resource name of the asset group asset. - // Asset group asset resource name have the form: - // - // `customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroupAsset" - } - ]; - - // Immutable. The asset group which this asset group asset is linking. - string asset_group = 2 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroup" - } - ]; - - // Immutable. The asset which this asset group asset is linking. - string asset = 3 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { type: "googleads.googleapis.com/Asset" } - ]; - - // The description of the placement of the asset within the asset group. For - // example: HEADLINE, YOUTUBE_VIDEO etc - google.ads.googleads.v13.enums.AssetFieldTypeEnum.AssetFieldType field_type = - 4; - - // The status of the link between an asset and asset group. - google.ads.googleads.v13.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5; - - // Output only. The performance of this asset group asset. - google.ads.googleads.v13.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel - performance_label = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The policy information for this asset group asset. - google.ads.googleads.v13.common.PolicySummary policy_summary = 7 - [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/asset_group_listing_group_filter.proto b/third_party/googleapis/google/ads/googleads/v13/resources/asset_group_listing_group_filter.proto deleted file mode 100644 index 611e09f94..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/asset_group_listing_group_filter.proto +++ /dev/null @@ -1,182 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/listing_group_filter_bidding_category_level.proto"; -import "google/ads/googleads/v13/enums/listing_group_filter_custom_attribute_index.proto"; -import "google/ads/googleads/v13/enums/listing_group_filter_product_channel.proto"; -import "google/ads/googleads/v13/enums/listing_group_filter_product_condition.proto"; -import "google/ads/googleads/v13/enums/listing_group_filter_product_type_level.proto"; -import "google/ads/googleads/v13/enums/listing_group_filter_type_enum.proto"; -import "google/ads/googleads/v13/enums/listing_group_filter_vertical.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupListingGroupFilterProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// AssetGroupListingGroupFilter represents a listing group filter tree node in -// an asset group. -message AssetGroupListingGroupFilter { - option (google.api.resource) = { - type: "googleads.googleapis.com/AssetGroupListingGroupFilter" - pattern: "customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id}" - }; - - // Immutable. The resource name of the asset group listing group filter. - // Asset group listing group filter resource name have the form: - // - // `customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroupListingGroupFilter" - } - ]; - - // Immutable. The asset group which this asset group listing group filter is - // part of. - string asset_group = 2 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroup" - } - ]; - - // Output only. The ID of the ListingGroupFilter. - int64 id = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. Type of a listing group filter node. - google.ads.googleads.v13.enums.ListingGroupFilterTypeEnum - .ListingGroupFilterType type = 4 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The vertical the current node tree represents. All nodes in the - // same tree must belong to the same vertical. - google.ads.googleads.v13.enums.ListingGroupFilterVerticalEnum - .ListingGroupFilterVertical vertical = 5 - [(google.api.field_behavior) = IMMUTABLE]; - - // Dimension value with which this listing group is refining its parent. - // Undefined for the root group. - ListingGroupFilterDimension case_value = 6; - - // Immutable. Resource name of the parent listing group subdivision. Null for - // the root listing group filter node. - string parent_listing_group_filter = 7 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroupListingGroupFilter" - } - ]; -} - -// Listing dimensions for the asset group listing group filter. -message ListingGroupFilterDimension { - // One element of a bidding category at a certain level. Top-level categories - // are at level 1, their children at level 2, and so on. We currently support - // up to 5 levels. The user must specify a dimension type that indicates the - // level of the category. All cases of the same subdivision must have the same - // dimension type (category level). - message ProductBiddingCategory { - // ID of the product bidding category. - // - // This ID is equivalent to the google_product_category ID as described in - // this article: https://support.google.com/merchants/answer/6324436 - optional int64 id = 1; - - // Indicates the level of the category in the taxonomy. - google.ads.googleads.v13.enums.ListingGroupFilterBiddingCategoryLevelEnum - .ListingGroupFilterBiddingCategoryLevel level = 2; - } - - // Brand of the product. - message ProductBrand { - // String value of the product brand. - optional string value = 1; - } - - // Locality of a product offer. - message ProductChannel { - // Value of the locality. - google.ads.googleads.v13.enums.ListingGroupFilterProductChannelEnum - .ListingGroupFilterProductChannel channel = 1; - } - - // Condition of a product offer. - message ProductCondition { - // Value of the condition. - google.ads.googleads.v13.enums.ListingGroupFilterProductConditionEnum - .ListingGroupFilterProductCondition condition = 1; - } - - // Custom attribute of a product offer. - message ProductCustomAttribute { - // String value of the product custom attribute. - optional string value = 1; - - // Indicates the index of the custom attribute. - google.ads.googleads.v13.enums.ListingGroupFilterCustomAttributeIndexEnum - .ListingGroupFilterCustomAttributeIndex index = 2; - } - - // Item id of a product offer. - message ProductItemId { - // Value of the id. - optional string value = 1; - } - - // Type of a product offer. - message ProductType { - // Value of the type. - optional string value = 1; - - // Level of the type. - google.ads.googleads.v13.enums.ListingGroupFilterProductTypeLevelEnum - .ListingGroupFilterProductTypeLevel level = 2; - } - - // Dimension of one of the types below is always present. - oneof dimension { - // Bidding category of a product offer. - ProductBiddingCategory product_bidding_category = 1; - - // Brand of a product offer. - ProductBrand product_brand = 2; - - // Locality of a product offer. - ProductChannel product_channel = 3; - - // Condition of a product offer. - ProductCondition product_condition = 4; - - // Custom attribute of a product offer. - ProductCustomAttribute product_custom_attribute = 5; - - // Item id of a product offer. - ProductItemId product_item_id = 6; - - // Type of a product offer. - ProductType product_type = 7; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/asset_group_product_group_view.proto b/third_party/googleapis/google/ads/googleads/v13/resources/asset_group_product_group_view.proto deleted file mode 100644 index 3d77de910..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/asset_group_product_group_view.proto +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupProductGroupViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the AssetGroupProductGroupView resource. - -// An asset group product group view. -message AssetGroupProductGroupView { - option (google.api.resource) = { - type: "googleads.googleapis.com/AssetGroupProductGroupView" - pattern: "customers/{customer_id}/assetGroupProductGroupViews/{asset_group_id}~{listing_group_filter_id}" - }; - - // Output only. The resource name of the asset group product group view. - // Asset group product group view resource names have the form: - // - // `customers/{customer_id}/assetGroupProductGroupViews/{asset_group_id}~{listing_group_filter_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroupProductGroupView" - } - ]; - - // Output only. The asset group associated with the listing group filter. - string asset_group = 2 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroup" - } - ]; - - // Output only. The resource name of the asset group listing group filter. - string asset_group_listing_group_filter = 4 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroupListingGroupFilter" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/asset_group_signal.proto b/third_party/googleapis/google/ads/googleads/v13/resources/asset_group_signal.proto deleted file mode 100644 index 63255ec97..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/asset_group_signal.proto +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/criteria.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupSignalProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// AssetGroupSignal represents a signal in an asset group. The existence of a -// signal tells the performance max campaign who's most likely to convert. -// Performance Max uses the signal to look for new people with similar or -// stronger intent to find conversions across Search, Display, Video, and more. -message AssetGroupSignal { - option (google.api.resource) = { - type: "googleads.googleapis.com/AssetGroupSignal" - pattern: "customers/{customer_id}/assetGroupSignals/{asset_group_id}~{criterion_id}" - }; - - // Immutable. The resource name of the asset group signal. - // Asset group signal resource name have the form: - // - // `customers/{customer_id}/assetGroupSignals/{asset_group_id}~{signal_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroupSignal" - } - ]; - - // Immutable. The asset group which this asset group signal belongs to. - string asset_group = 2 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroup" - } - ]; - - // Immutable. The signal(audience criterion) to be used by the performance max - // campaign. - google.ads.googleads.v13.common.AudienceInfo audience = 3 - [(google.api.field_behavior) = IMMUTABLE]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/asset_set.proto b/third_party/googleapis/google/ads/googleads/v13/resources/asset_set.proto deleted file mode 100644 index 80b04f813..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/asset_set.proto +++ /dev/null @@ -1,122 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/asset_set_types.proto"; -import "google/ads/googleads/v13/enums/asset_set_status.proto"; -import "google/ads/googleads/v13/enums/asset_set_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// An asset set representing a collection of assets. -// Use AssetSetAsset to link an asset to the asset set. -message AssetSet { - option (google.api.resource) = { - type: "googleads.googleapis.com/AssetSet" - pattern: "customers/{customer_id}/assetSets/{asset_set_id}" - }; - - // Merchant ID and Feed Label from Google Merchant Center. - message MerchantCenterFeed { - // Required. Merchant ID from Google Merchant Center - int64 merchant_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Optional. Feed Label from Google Merchant Center. - optional string feed_label = 2 [(google.api.field_behavior) = OPTIONAL]; - } - - // For Performance Max for travel goals campaigns with a Hotel - // Center account link. Read-only. - message HotelPropertyData { - // Output only. The hotel center ID of the partner. - optional int64 hotel_center_id = 1 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Name of the hotel partner. - optional string partner_name = 2 - [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Output only. The ID of the asset set. - int64 id = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The resource name of the asset set. - // Asset set resource names have the form: - // - // `customers/{customer_id}/assetSets/{asset_set_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetSet" - } - ]; - - // Required. Name of the asset set. Required. It must have a minimum length of - // 1 and maximum length of 128. - string name = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. Immutable. The type of the asset set. Required. - google.ads.googleads.v13.enums.AssetSetTypeEnum.AssetSetType type = 3 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE - ]; - - // Output only. The status of the asset set. Read-only. - google.ads.googleads.v13.enums.AssetSetStatusEnum.AssetSetStatus status = 4 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Merchant ID and Feed Label from Google Merchant Center. - MerchantCenterFeed merchant_center_feed = 5; - - // Immutable. Parent asset set id for the asset set where the elements of this - // asset set come from. For example: the sync level location AssetSet id where - // the the elements in LocationGroup AssetSet come from. This field is - // required and only applicable for Location Group typed AssetSet. - int64 location_group_parent_asset_set_id = 10 - [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. For Performance Max for travel goals campaigns with a Hotel - // Center account link. Read-only. - HotelPropertyData hotel_property_data = 11 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Asset set data specific to each asset set type. Not all types have specific - // data. - oneof asset_set_source { - // Location asset set data. This will be used for sync level location - // set. This can only be set if AssetSet's type is LOCATION_SYNC. - google.ads.googleads.v13.common.LocationSet location_set = 7; - - // Business Profile location group asset set data. - google.ads.googleads.v13.common.BusinessProfileLocationGroup - business_profile_location_group = 8; - - // Represents information about a Chain dynamic location group. - // Only applicable if the sync level AssetSet's type is LOCATION_SYNC and - // sync source is chain. - google.ads.googleads.v13.common.ChainLocationGroup chain_location_group = 9; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/asset_set_asset.proto b/third_party/googleapis/google/ads/googleads/v13/resources/asset_set_asset.proto deleted file mode 100644 index 25f54e8c7..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/asset_set_asset.proto +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/asset_set_asset_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetAssetProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// AssetSetAsset is the link between an asset and an asset set. -// Adding an AssetSetAsset links an asset with an asset set. -message AssetSetAsset { - option (google.api.resource) = { - type: "googleads.googleapis.com/AssetSetAsset" - pattern: "customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}" - }; - - // Immutable. The resource name of the asset set asset. - // Asset set asset resource names have the form: - // - // `customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetSetAsset" - } - ]; - - // Immutable. The asset set which this asset set asset is linking to. - string asset_set = 2 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetSet" - } - ]; - - // Immutable. The asset which this asset set asset is linking to. - string asset = 3 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { type: "googleads.googleapis.com/Asset" } - ]; - - // Output only. The status of the asset set asset. Read-only. - google.ads.googleads.v13.enums.AssetSetAssetStatusEnum.AssetSetAssetStatus - status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/asset_set_type_view.proto b/third_party/googleapis/google/ads/googleads/v13/resources/asset_set_type_view.proto deleted file mode 100644 index 724d2dbe8..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/asset_set_type_view.proto +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/asset_set_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetTypeViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the AssetSetTypeView resource. - -// An asset set type view. -// This view reports non-overcounted metrics for each asset set type. Child -// asset set types are not included in this report. Their stats are aggregated -// under the parent asset set type. -message AssetSetTypeView { - option (google.api.resource) = { - type: "googleads.googleapis.com/AssetSetTypeView" - pattern: "customers/{customer_id}/assetSetTypeViews/{asset_set_type}" - }; - - // Output only. The resource name of the asset set type view. - // Asset set type view resource names have the form: - // - // `customers/{customer_id}/assetSetTypeViews/{asset_set_type}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetSetTypeView" - } - ]; - - // Output only. The asset set type of the asset set type view. - google.ads.googleads.v13.enums.AssetSetTypeEnum.AssetSetType asset_set_type = - 3 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/audience.proto b/third_party/googleapis/google/ads/googleads/v13/resources/audience.proto deleted file mode 100644 index d86d4be7b..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/audience.proto +++ /dev/null @@ -1,78 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/audiences.proto"; -import "google/ads/googleads/v13/enums/audience_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AudienceProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the Audience resource. - -// Audience is an effective targeting option that lets you -// intersect different segment attributes, such as detailed demographics and -// affinities, to create audiences that represent sections of your target -// segments. -message Audience { - option (google.api.resource) = { - type: "googleads.googleapis.com/Audience" - pattern: "customers/{customer_id}/audiences/{audience_id}" - }; - - // Immutable. The resource name of the audience. - // Audience names have the form: - // - // `customers/{customer_id}/audiences/{audience_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Audience" - } - ]; - - // Output only. ID of the audience. - int64 id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Status of this audience. Indicates whether the audience - // is enabled or removed. - google.ads.googleads.v13.enums.AudienceStatusEnum.AudienceStatus status = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Required. Name of the audience. It should be unique across all - // audiences. It must have a minimum length of 1 and - // maximum length of 255. - string name = 4 [(google.api.field_behavior) = REQUIRED]; - - // Description of this audience. - string description = 5; - - // Positive dimensions specifying the audience composition. - repeated google.ads.googleads.v13.common.AudienceDimension dimensions = 6; - - // Negative dimension specifying the audience composition. - google.ads.googleads.v13.common.AudienceExclusionDimension - exclusion_dimension = 7; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/batch_job.proto b/third_party/googleapis/google/ads/googleads/v13/resources/batch_job.proto deleted file mode 100644 index 1a5227f4f..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/batch_job.proto +++ /dev/null @@ -1,113 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/batch_job_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "BatchJobProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the batch job resource. - -// A list of mutates being processed asynchronously. The mutates are uploaded -// by the user. The mutates themselves aren't readable and the results of the -// job can only be read using BatchJobService.ListBatchJobResults. -message BatchJob { - option (google.api.resource) = { - type: "googleads.googleapis.com/BatchJob" - pattern: "customers/{customer_id}/batchJobs/{batch_job_id}" - }; - - // Additional information about the batch job. This message is also used as - // metadata returned in batch job Long Running Operations. - message BatchJobMetadata { - // Output only. The time when this batch job was created. - // Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 09:15:00" - optional string creation_date_time = 8 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The time when this batch job started running. - // Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 09:15:30" - optional string start_date_time = 7 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The time when this batch job was completed. - // Formatted as yyyy-MM-dd HH:mm:ss. Example: "2018-03-05 09:16:00" - optional string completion_date_time = 9 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The fraction (between 0.0 and 1.0) of mutates that have been - // processed. This is empty if the job hasn't started running yet. - optional double estimated_completion_ratio = 10 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The number of mutate operations in the batch job. - optional int64 operation_count = 11 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The number of mutate operations executed by the batch job. - // Present only if the job has started running. - optional int64 executed_operation_count = 12 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The approximate upper bound for how long a batch job can be - // executed, in seconds. If the job runs more than the given upper bound, - // the job will be canceled. - optional int32 execution_limit_seconds = 13 - [(google.api.field_behavior) = IMMUTABLE]; - } - - // Immutable. The resource name of the batch job. - // Batch job resource names have the form: - // - // `customers/{customer_id}/batchJobs/{batch_job_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/BatchJob" - } - ]; - - // Output only. ID of this batch job. - optional int64 id = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The next sequence token to use when adding operations. Only - // set when the batch job status is PENDING. - optional string next_add_sequence_token = 8 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Contains additional information about this batch job. - BatchJobMetadata metadata = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Status of this batch job. - google.ads.googleads.v13.enums.BatchJobStatusEnum.BatchJobStatus status = 5 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource name of the long-running operation that can be - // used to poll for completion. Only set when the batch job status is RUNNING - // or DONE. - optional string long_running_operation = 9 - [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/bidding_data_exclusion.proto b/third_party/googleapis/google/ads/googleads/v13/resources/bidding_data_exclusion.proto deleted file mode 100644 index 9b3d4f9b6..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/bidding_data_exclusion.proto +++ /dev/null @@ -1,112 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/advertising_channel_type.proto"; -import "google/ads/googleads/v13/enums/device.proto"; -import "google/ads/googleads/v13/enums/seasonality_event_scope.proto"; -import "google/ads/googleads/v13/enums/seasonality_event_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "BiddingDataExclusionProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Represents a bidding data exclusion. -// -// See "About data exclusions" at -// https://support.google.com/google-ads/answer/10370710. -message BiddingDataExclusion { - option (google.api.resource) = { - type: "googleads.googleapis.com/BiddingDataExclusion" - pattern: "customers/{customer_id}/biddingDataExclusions/{seasonality_event_id}" - }; - - // Immutable. The resource name of the data exclusion. - // Data exclusion resource names have the form: - // - // `customers/{customer_id}/biddingDataExclusions/{data_exclusion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/BiddingDataExclusion" - } - ]; - - // Output only. The ID of the data exclusion. - int64 data_exclusion_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The scope of the data exclusion. - google.ads.googleads.v13.enums.SeasonalityEventScopeEnum.SeasonalityEventScope - scope = 3; - - // Output only. The status of the data exclusion. - google.ads.googleads.v13.enums.SeasonalityEventStatusEnum - .SeasonalityEventStatus status = 4 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Required. The inclusive start time of the data exclusion in yyyy-MM-dd - // HH:mm:ss format. - // - // A data exclusion is backward looking and should be used for events that - // start in the past and end either in the past or future. - string start_date_time = 5 [(google.api.field_behavior) = REQUIRED]; - - // Required. The exclusive end time of the data exclusion in yyyy-MM-dd - // HH:mm:ss format. - // - // The length of [start_date_time, end_date_time) interval must be - // within (0, 14 days]. - string end_date_time = 6 [(google.api.field_behavior) = REQUIRED]; - - // The name of the data exclusion. The name can be at most 255 - // characters. - string name = 7; - - // The description of the data exclusion. The description can be at - // most 2048 characters. - string description = 8; - - // If not specified, all devices will be included in this exclusion. - // Otherwise, only the specified targeted devices will be included in this - // exclusion. - repeated google.ads.googleads.v13.enums.DeviceEnum.Device devices = 9; - - // The data exclusion will apply to the campaigns listed when the scope of - // this exclusion is CAMPAIGN. The maximum number of campaigns per event is - // 2000. - // Note: a data exclusion with both advertising_channel_types and - // campaign_ids is not supported. - repeated string campaigns = 10 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - }]; - - // The data_exclusion will apply to all the campaigns under the listed - // channels retroactively as well as going forward when the scope of this - // exclusion is CHANNEL. - // The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. - // Note: a data exclusion with both advertising_channel_types and - // campaign_ids is not supported. - repeated google.ads.googleads.v13.enums.AdvertisingChannelTypeEnum - .AdvertisingChannelType advertising_channel_types = 11; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/bidding_seasonality_adjustment.proto b/third_party/googleapis/google/ads/googleads/v13/resources/bidding_seasonality_adjustment.proto deleted file mode 100644 index ab43750b2..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/bidding_seasonality_adjustment.proto +++ /dev/null @@ -1,118 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/advertising_channel_type.proto"; -import "google/ads/googleads/v13/enums/device.proto"; -import "google/ads/googleads/v13/enums/seasonality_event_scope.proto"; -import "google/ads/googleads/v13/enums/seasonality_event_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "BiddingSeasonalityAdjustmentProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Represents a bidding seasonality adjustment. -// -// See "About seasonality adjustments" at -// https://support.google.com/google-ads/answer/10369906. -message BiddingSeasonalityAdjustment { - option (google.api.resource) = { - type: "googleads.googleapis.com/BiddingSeasonalityAdjustment" - pattern: "customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_event_id}" - }; - - // Immutable. The resource name of the seasonality adjustment. - // Seasonality adjustment resource names have the form: - // - // `customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_adjustment_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/BiddingSeasonalityAdjustment" - } - ]; - - // Output only. The ID of the seasonality adjustment. - int64 seasonality_adjustment_id = 2 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The scope of the seasonality adjustment. - google.ads.googleads.v13.enums.SeasonalityEventScopeEnum.SeasonalityEventScope - scope = 3; - - // Output only. The status of the seasonality adjustment. - google.ads.googleads.v13.enums.SeasonalityEventStatusEnum - .SeasonalityEventStatus status = 4 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Required. The inclusive start time of the seasonality adjustment in - // yyyy-MM-dd HH:mm:ss format. - // - // A seasonality adjustment is forward looking and should be used for events - // that start and end in the future. - string start_date_time = 5 [(google.api.field_behavior) = REQUIRED]; - - // Required. The exclusive end time of the seasonality adjustment in - // yyyy-MM-dd HH:mm:ss format. - // - // The length of [start_date_time, end_date_time) interval must be - // within (0, 14 days]. - string end_date_time = 6 [(google.api.field_behavior) = REQUIRED]; - - // The name of the seasonality adjustment. The name can be at most 255 - // characters. - string name = 7; - - // The description of the seasonality adjustment. The description can be at - // most 2048 characters. - string description = 8; - - // If not specified, all devices will be included in this adjustment. - // Otherwise, only the specified targeted devices will be included in this - // adjustment. - repeated google.ads.googleads.v13.enums.DeviceEnum.Device devices = 9; - - // Conversion rate modifier estimated based on expected conversion rate - // changes. When this field is unset or set to 1.0 no adjustment will be - // applied to traffic. The allowed range is 0.1 to 10.0. - double conversion_rate_modifier = 10; - - // The seasonality adjustment will apply to the campaigns listed when the - // scope of this adjustment is CAMPAIGN. The maximum number of campaigns per - // event is 2000. - // Note: a seasonality adjustment with both advertising_channel_types and - // campaign_ids is not supported. - repeated string campaigns = 11 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - }]; - - // The seasonality adjustment will apply to all the campaigns under the listed - // channels retroactively as well as going forward when the scope of this - // adjustment is CHANNEL. - // The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. - // Note: a seasonality adjustment with both advertising_channel_types and - // campaign_ids is not supported. - repeated google.ads.googleads.v13.enums.AdvertisingChannelTypeEnum - .AdvertisingChannelType advertising_channel_types = 12; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/bidding_strategy.proto b/third_party/googleapis/google/ads/googleads/v13/resources/bidding_strategy.proto deleted file mode 100644 index 2a374fbec..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/bidding_strategy.proto +++ /dev/null @@ -1,156 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/bidding.proto"; -import "google/ads/googleads/v13/enums/bidding_strategy_status.proto"; -import "google/ads/googleads/v13/enums/bidding_strategy_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "BiddingStrategyProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the BiddingStrategy resource - -// A bidding strategy. -message BiddingStrategy { - option (google.api.resource) = { - type: "googleads.googleapis.com/BiddingStrategy" - pattern: "customers/{customer_id}/biddingStrategies/{bidding_strategy_id}" - }; - - // Immutable. The resource name of the bidding strategy. - // Bidding strategy resource names have the form: - // - // `customers/{customer_id}/biddingStrategies/{bidding_strategy_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/BiddingStrategy" - } - ]; - - // Output only. The ID of the bidding strategy. - optional int64 id = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The name of the bidding strategy. - // All bidding strategies within an account must be named distinctly. - // - // The length of this string should be between 1 and 255, inclusive, - // in UTF-8 bytes, (trimmed). - optional string name = 17; - - // Output only. The status of the bidding strategy. - // - // This field is read-only. - google.ads.googleads.v13.enums.BiddingStrategyStatusEnum.BiddingStrategyStatus - status = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The type of the bidding strategy. - // Create a bidding strategy by setting the bidding scheme. - // - // This field is read-only. - google.ads.googleads.v13.enums.BiddingStrategyTypeEnum.BiddingStrategyType - type = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The currency used by the bidding strategy (ISO 4217 three-letter - // code). - // - // For bidding strategies in manager customers, this currency can be set on - // creation and defaults to the manager customer's currency. For serving - // customers, this field cannot be set; all strategies in a serving customer - // implicitly use the serving customer's currency. In all cases the - // effective_currency_code field returns the currency used by the strategy. - string currency_code = 23 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The currency used by the bidding strategy (ISO 4217 - // three-letter code). - // - // For bidding strategies in manager customers, this is the currency set by - // the advertiser when creating the strategy. For serving customers, this is - // the customer's currency_code. - // - // Bidding strategy metrics are reported in this currency. - // - // This field is read-only. - optional string effective_currency_code = 20 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // ID of the campaign budget that this portfolio bidding strategy - // is aligned with. When a portfolio and a campaign budget are aligned, that - // means that they are attached to the same set of campaigns. After a bidding - // strategy is aligned with a campaign budget, campaigns that are added to the - // bidding strategy must also use the aligned campaign budget. - int64 aligned_campaign_budget_id = 25; - - // Output only. The number of campaigns attached to this bidding strategy. - // - // This field is read-only. - optional int64 campaign_count = 18 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The number of non-removed campaigns attached to this bidding - // strategy. - // - // This field is read-only. - optional int64 non_removed_campaign_count = 19 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The bidding scheme. - // - // Only one can be set. - oneof scheme { - // A bidding strategy that raises bids for clicks that seem more likely to - // lead to a conversion and lowers them for clicks where they seem less - // likely. - google.ads.googleads.v13.common.EnhancedCpc enhanced_cpc = 7; - - // An automated bidding strategy to help get the most conversion value for - // your campaigns while spending your budget. - google.ads.googleads.v13.common.MaximizeConversionValue - maximize_conversion_value = 21; - - // An automated bidding strategy to help get the most conversions for your - // campaigns while spending your budget. - google.ads.googleads.v13.common.MaximizeConversions maximize_conversions = - 22; - - // A bidding strategy that sets bids to help get as many conversions as - // possible at the target cost-per-acquisition (CPA) you set. - google.ads.googleads.v13.common.TargetCpa target_cpa = 9; - - // A bidding strategy that automatically optimizes towards a chosen - // percentage of impressions. - google.ads.googleads.v13.common.TargetImpressionShare - target_impression_share = 48; - - // A bidding strategy that helps you maximize revenue while averaging a - // specific target Return On Ad Spend (ROAS). - google.ads.googleads.v13.common.TargetRoas target_roas = 11; - - // A bid strategy that sets your bids to help get as many clicks as - // possible within your budget. - google.ads.googleads.v13.common.TargetSpend target_spend = 12; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/bidding_strategy_simulation.proto b/third_party/googleapis/google/ads/googleads/v13/resources/bidding_strategy_simulation.proto deleted file mode 100644 index 290636d7d..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/bidding_strategy_simulation.proto +++ /dev/null @@ -1,88 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/simulation.proto"; -import "google/ads/googleads/v13/enums/simulation_modification_method.proto"; -import "google/ads/googleads/v13/enums/simulation_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "BiddingStrategySimulationProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the bidding strategy simulation resource. - -// A bidding strategy simulation. Supported combinations of simulation type -// and simulation modification method are detailed below respectively. -// -// 1. TARGET_CPA - UNIFORM -// 2. TARGET_ROAS - UNIFORM -message BiddingStrategySimulation { - option (google.api.resource) = { - type: "googleads.googleapis.com/BiddingStrategySimulation" - pattern: "customers/{customer_id}/biddingStrategySimulations/{bidding_strategy_id}~{type}~{modification_method}~{start_date}~{end_date}" - }; - - // Output only. The resource name of the bidding strategy simulation. - // Bidding strategy simulation resource names have the form: - // - // `customers/{customer_id}/biddingStrategySimulations/{bidding_strategy_id}~{type}~{modification_method}~{start_date}~{end_date}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/BiddingStrategySimulation" - } - ]; - - // Output only. Bidding strategy shared set id of the simulation. - int64 bidding_strategy_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The field that the simulation modifies. - google.ads.googleads.v13.enums.SimulationTypeEnum.SimulationType type = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. How the simulation modifies the field. - google.ads.googleads.v13.enums.SimulationModificationMethodEnum - .SimulationModificationMethod modification_method = 4 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. First day on which the simulation is based, in YYYY-MM-DD - // format. - string start_date = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Last day on which the simulation is based, in YYYY-MM-DD - // format - string end_date = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // List of simulation points. - oneof point_list { - // Output only. Simulation points if the simulation type is TARGET_CPA. - google.ads.googleads.v13.common.TargetCpaSimulationPointList - target_cpa_point_list = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Simulation points if the simulation type is TARGET_ROAS. - google.ads.googleads.v13.common.TargetRoasSimulationPointList - target_roas_point_list = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/billing_setup.proto b/third_party/googleapis/google/ads/googleads/v13/resources/billing_setup.proto deleted file mode 100644 index ba95c9314..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/billing_setup.proto +++ /dev/null @@ -1,151 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/billing_setup_status.proto"; -import "google/ads/googleads/v13/enums/time_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "BillingSetupProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the BillingSetup resource. - -// A billing setup, which associates a payments account and an advertiser. A -// billing setup is specific to one advertiser. -message BillingSetup { - option (google.api.resource) = { - type: "googleads.googleapis.com/BillingSetup" - pattern: "customers/{customer_id}/billingSetups/{billing_setup_id}" - }; - - // Container of payments account information for this billing. - message PaymentsAccountInfo { - // Output only. A 16 digit id used to identify the payments account - // associated with the billing setup. - // - // This must be passed as a string with dashes, for example, - // "1234-5678-9012-3456". - optional string payments_account_id = 6 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The name of the payments account associated with the billing - // setup. - // - // This enables the user to specify a meaningful name for a payments account - // to aid in reconciling monthly invoices. - // - // This name will be printed in the monthly invoices. - optional string payments_account_name = 7 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. A 12 digit id used to identify the payments profile associated - // with the billing setup. - // - // This must be passed in as a string with dashes, for example, - // "1234-5678-9012". - optional string payments_profile_id = 8 - [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The name of the payments profile associated with the billing - // setup. - optional string payments_profile_name = 9 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. A secondary payments profile id present in uncommon - // situations, for example, when a sequential liability agreement has been - // arranged. - optional string secondary_payments_profile_id = 10 - [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Immutable. The resource name of the billing setup. - // BillingSetup resource names have the form: - // - // `customers/{customer_id}/billingSetups/{billing_setup_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/BillingSetup" - } - ]; - - // Output only. The ID of the billing setup. - optional int64 id = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The status of the billing setup. - google.ads.googleads.v13.enums.BillingSetupStatusEnum.BillingSetupStatus - status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The resource name of the payments account associated with this - // billing setup. Payments resource names have the form: - // - // `customers/{customer_id}/paymentsAccounts/{payments_account_id}` - // When setting up billing, this is used to signup with an existing payments - // account (and then payments_account_info should not be set). - // When getting a billing setup, this and payments_account_info will be - // populated. - optional string payments_account = 18 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/PaymentsAccount" - } - ]; - - // Immutable. The payments account information associated with this billing - // setup. When setting up billing, this is used to signup with a new payments - // account (and then payments_account should not be set). When getting a - // billing setup, this and payments_account will be populated. - PaymentsAccountInfo payments_account_info = 12 - [(google.api.field_behavior) = IMMUTABLE]; - - // When creating a new billing setup, this is when the setup should take - // effect. NOW is the only acceptable start time if the customer doesn't have - // any approved setups. - // - // When fetching an existing billing setup, this is the requested start time. - // However, if the setup was approved (see status) after the requested start - // time, then this is the approval time. - oneof start_time { - // Immutable. The start date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss - // format. Only a future time is allowed. - string start_date_time = 16 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The start time as a type. Only NOW is allowed. - google.ads.googleads.v13.enums.TimeTypeEnum.TimeType start_time_type = 10 - [(google.api.field_behavior) = IMMUTABLE]; - } - - // When the billing setup ends / ended. This is either FOREVER or the start - // time of the next scheduled billing setup. - oneof end_time { - // Output only. The end date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss - // format. - string end_date_time = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The end time as a type. The only possible value is FOREVER. - google.ads.googleads.v13.enums.TimeTypeEnum.TimeType end_time_type = 14 - [(google.api.field_behavior) = OUTPUT_ONLY]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/call_view.proto b/third_party/googleapis/google/ads/googleads/v13/resources/call_view.proto deleted file mode 100644 index 378b3e88c..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/call_view.proto +++ /dev/null @@ -1,83 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/call_tracking_display_location.proto"; -import "google/ads/googleads/v13/enums/call_type.proto"; -import "google/ads/googleads/v13/enums/google_voice_call_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CallViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the call view resource. - -// A call view that includes data for call tracking of call-only ads or call -// extensions. -message CallView { - option (google.api.resource) = { - type: "googleads.googleapis.com/CallView" - pattern: "customers/{customer_id}/callViews/{call_detail_id}" - }; - - // Output only. The resource name of the call view. - // Call view resource names have the form: - // - // `customers/{customer_id}/callViews/{call_detail_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CallView" - } - ]; - - // Output only. Country code of the caller. - string caller_country_code = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Area code of the caller. Null if the call duration is shorter - // than 15 seconds. - string caller_area_code = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The advertiser-provided call duration in seconds. - int64 call_duration_seconds = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The advertiser-provided call start date time. - string start_call_date_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The advertiser-provided call end date time. - string end_call_date_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The call tracking display location. - google.ads.googleads.v13.enums.CallTrackingDisplayLocationEnum - .CallTrackingDisplayLocation call_tracking_display_location = 7 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The type of the call. - google.ads.googleads.v13.enums.CallTypeEnum.CallType type = 8 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The status of the call. - google.ads.googleads.v13.enums.GoogleVoiceCallStatusEnum.GoogleVoiceCallStatus - call_status = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/campaign.proto b/third_party/googleapis/google/ads/googleads/v13/resources/campaign.proto deleted file mode 100644 index 79e1ef734..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/campaign.proto +++ /dev/null @@ -1,629 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/bidding.proto"; -import "google/ads/googleads/v13/common/custom_parameter.proto"; -import "google/ads/googleads/v13/common/frequency_cap.proto"; -import "google/ads/googleads/v13/common/real_time_bidding_setting.proto"; -import "google/ads/googleads/v13/common/targeting_setting.proto"; -import "google/ads/googleads/v13/enums/ad_serving_optimization_status.proto"; -import "google/ads/googleads/v13/enums/advertising_channel_sub_type.proto"; -import "google/ads/googleads/v13/enums/advertising_channel_type.proto"; -import "google/ads/googleads/v13/enums/app_campaign_app_store.proto"; -import "google/ads/googleads/v13/enums/app_campaign_bidding_strategy_goal_type.proto"; -import "google/ads/googleads/v13/enums/asset_field_type.proto"; -import "google/ads/googleads/v13/enums/asset_set_type.proto"; -import "google/ads/googleads/v13/enums/bidding_strategy_system_status.proto"; -import "google/ads/googleads/v13/enums/bidding_strategy_type.proto"; -import "google/ads/googleads/v13/enums/brand_safety_suitability.proto"; -import "google/ads/googleads/v13/enums/campaign_experiment_type.proto"; -import "google/ads/googleads/v13/enums/campaign_primary_status.proto"; -import "google/ads/googleads/v13/enums/campaign_primary_status_reason.proto"; -import "google/ads/googleads/v13/enums/campaign_serving_status.proto"; -import "google/ads/googleads/v13/enums/campaign_status.proto"; -import "google/ads/googleads/v13/enums/location_source_type.proto"; -import "google/ads/googleads/v13/enums/negative_geo_target_type.proto"; -import "google/ads/googleads/v13/enums/optimization_goal_type.proto"; -import "google/ads/googleads/v13/enums/payment_mode.proto"; -import "google/ads/googleads/v13/enums/performance_max_upgrade_status.proto"; -import "google/ads/googleads/v13/enums/positive_geo_target_type.proto"; -import "google/ads/googleads/v13/enums/vanity_pharma_display_url_mode.proto"; -import "google/ads/googleads/v13/enums/vanity_pharma_text.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the Campaign resource. - -// A campaign. -message Campaign { - option (google.api.resource) = { - type: "googleads.googleapis.com/Campaign" - pattern: "customers/{customer_id}/campaigns/{campaign_id}" - }; - - // Information about a campaign being upgraded to Performance Max. - message PerformanceMaxUpgrade { - // Output only. Indicates which Performance Max campaign the campaign is - // upgraded to. - string performance_max_campaign = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Output only. Indicates legacy campaign upgraded to Performance Max. - string pre_upgrade_campaign = 2 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Output only. The upgrade status of a campaign requested to be upgraded to - // Performance Max. - google.ads.googleads.v13.enums.PerformanceMaxUpgradeStatusEnum - .PerformanceMaxUpgradeStatus status = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The network settings for the campaign. - message NetworkSettings { - // Whether ads will be served with google.com search results. - optional bool target_google_search = 5; - - // Whether ads will be served on partner sites in the Google Search Network - // (requires `target_google_search` to also be `true`). - optional bool target_search_network = 6; - - // Whether ads will be served on specified placements in the Google Display - // Network. Placements are specified using the Placement criterion. - optional bool target_content_network = 7; - - // Whether ads will be served on the Google Partner Network. - // This is available only to some select Google partner accounts. - optional bool target_partner_search_network = 8; - } - - // Campaign-level settings for hotel ads. - message HotelSettingInfo { - // Immutable. The linked Hotel Center account. - optional int64 hotel_center_id = 2 - [(google.api.field_behavior) = IMMUTABLE]; - } - - // The setting for controlling Dynamic Search Ads (DSA). - message DynamicSearchAdsSetting { - // Required. The Internet domain name that this setting represents, for - // example, "google.com" or "www.google.com". - string domain_name = 6 [(google.api.field_behavior) = REQUIRED]; - - // Required. The language code specifying the language of the domain, for - // example, "en". - string language_code = 7 [(google.api.field_behavior) = REQUIRED]; - - // Whether the campaign uses advertiser supplied URLs exclusively. - optional bool use_supplied_urls_only = 8; - - // The list of page feeds associated with the campaign. - repeated string feeds = 9 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Feed" - }]; - } - - // The setting for Shopping campaigns. Defines the universe of products that - // can be advertised by the campaign, and how this campaign interacts with - // other Shopping campaigns. - message ShoppingSetting { - // Immutable. ID of the Merchant Center account. - // This field is required for create operations. This field is immutable for - // Shopping campaigns. - optional int64 merchant_id = 5 [(google.api.field_behavior) = IMMUTABLE]; - - // Sales country of products to include in the campaign. - // Only one of feed_label or sales_country can be set. - // Field is immutable except for clearing. - // Once this field is cleared, you must use feed_label if you - // want to set the sales country. - optional string sales_country = 6; - - // Feed label of products to include in the campaign. - // Only one of feed_label or sales_country can be set. - // If used instead of sales_country, the feed_label field accepts country - // codes in the same format for example: 'XX'. - // Otherwise can be any string used for feed label in Google Merchant - // Center. - string feed_label = 10; - - // Priority of the campaign. Campaigns with numerically higher priorities - // take precedence over those with lower priorities. - // This field is required for Shopping campaigns, with values between 0 and - // 2, inclusive. - // This field is optional for Smart Shopping campaigns, but must be equal to - // 3 if set. - optional int32 campaign_priority = 7; - - // Whether to include local products. - optional bool enable_local = 8; - - // Immutable. Whether to target Vehicle Listing inventory. - bool use_vehicle_inventory = 9 [(google.api.field_behavior) = IMMUTABLE]; - } - - // Campaign-level settings for tracking information. - message TrackingSetting { - // Output only. The url used for dynamic tracking. - optional string tracking_url = 2 - [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Represents a collection of settings related to ads geotargeting. - message GeoTargetTypeSetting { - // The setting used for positive geotargeting in this particular campaign. - google.ads.googleads.v13.enums.PositiveGeoTargetTypeEnum - .PositiveGeoTargetType positive_geo_target_type = 1; - - // The setting used for negative geotargeting in this particular campaign. - google.ads.googleads.v13.enums.NegativeGeoTargetTypeEnum - .NegativeGeoTargetType negative_geo_target_type = 2; - } - - // Campaign setting for local campaigns. - message LocalCampaignSetting { - // The location source type for this local campaign. - google.ads.googleads.v13.enums.LocationSourceTypeEnum.LocationSourceType - location_source_type = 1; - } - - // Campaign-level settings for App Campaigns. - message AppCampaignSetting { - // Represents the goal which the bidding strategy of this app campaign - // should optimize towards. - google.ads.googleads.v13.enums.AppCampaignBiddingStrategyGoalTypeEnum - .AppCampaignBiddingStrategyGoalType bidding_strategy_goal_type = 1; - - // Immutable. A string that uniquely identifies a mobile application. - optional string app_id = 4 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The application store that distributes this specific app. - google.ads.googleads.v13.enums.AppCampaignAppStoreEnum.AppCampaignAppStore - app_store = 3 [(google.api.field_behavior) = IMMUTABLE]; - } - - // Describes how unbranded pharma ads will be displayed. - message VanityPharma { - // The display mode for vanity pharma URLs. - google.ads.googleads.v13.enums.VanityPharmaDisplayUrlModeEnum - .VanityPharmaDisplayUrlMode vanity_pharma_display_url_mode = 1; - - // The text that will be displayed in display URL of the text ad when - // website description is the selected display mode for vanity pharma URLs. - google.ads.googleads.v13.enums.VanityPharmaTextEnum.VanityPharmaText - vanity_pharma_text = 2; - } - - // Selective optimization setting for this campaign, which includes a set of - // conversion actions to optimize this campaign towards. - message SelectiveOptimization { - // The selected set of conversion actions for optimizing this campaign. - repeated string conversion_actions = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionAction" - }]; - } - - // Optimization goal setting for this campaign, which includes a set of - // optimization goal types. - message OptimizationGoalSetting { - // The list of optimization goal types. - repeated google.ads.googleads.v13.enums.OptimizationGoalTypeEnum - .OptimizationGoalType optimization_goal_types = 1; - } - - // Settings for the audience targeting. - message AudienceSetting { - // Immutable. If true, this campaign uses an Audience resource for audience - // targeting. If false, this campaign may use audience segment criteria - // instead. - optional bool use_audience_grouped = 1 - [(google.api.field_behavior) = IMMUTABLE]; - } - - // Settings for LocalServicesCampaign subresource. - message LocalServicesCampaignSettings { - // Categorical level bids associated with MANUAL_CPA bidding strategy. - repeated CategoryBid category_bids = 1; - } - - // Category bids in LocalServicesReportingCampaignSettings. - message CategoryBid { - // Category for which the bid will be associated with. For example, - // xcat:service_area_business_plumber. - optional string category_id = 1; - - // Manual CPA bid for the category. Bid must be greater than the - // reserve price associated for that category. Value is in micros - // and in the advertiser's currency. - optional int64 manual_cpa_bid_micros = 2; - } - - // Settings for Travel campaign. - message TravelCampaignSettings { - // Immutable. The Travel account ID associated with the Travel campaign. - optional int64 travel_account_id = 1 - [(google.api.field_behavior) = IMMUTABLE]; - } - - // Immutable. The resource name of the campaign. - // Campaign resource names have the form: - // - // `customers/{customer_id}/campaigns/{campaign_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Output only. The ID of the campaign. - optional int64 id = 59 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The name of the campaign. - // - // This field is required and should not be empty when creating new - // campaigns. - // - // It must not contain any null (code point 0x0), NL line feed - // (code point 0xA) or carriage return (code point 0xD) characters. - optional string name = 58; - - // Output only. The primary status of the campaign. - // - // Provides insight into why a campaign is not serving or not serving - // optimally. Modification to the campaign and its related entities might take - // a while to be reflected in this status. - google.ads.googleads.v13.enums.CampaignPrimaryStatusEnum.CampaignPrimaryStatus - primary_status = 81 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The primary status reasons of the campaign. - // - // Provides insight into why a campaign is not serving or not serving - // optimally. These reasons are aggregated to determine an overall - // CampaignPrimaryStatus. - repeated google.ads.googleads.v13.enums.CampaignPrimaryStatusReasonEnum - .CampaignPrimaryStatusReason primary_status_reasons = 82 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The status of the campaign. - // - // When a new campaign is added, the status defaults to ENABLED. - google.ads.googleads.v13.enums.CampaignStatusEnum.CampaignStatus status = 5; - - // Output only. The ad serving status of the campaign. - google.ads.googleads.v13.enums.CampaignServingStatusEnum.CampaignServingStatus - serving_status = 21 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The system status of the campaign's bidding strategy. - google.ads.googleads.v13.enums.BiddingStrategySystemStatusEnum - .BiddingStrategySystemStatus bidding_strategy_system_status = 78 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The ad serving optimization status of the campaign. - google.ads.googleads.v13.enums.AdServingOptimizationStatusEnum - .AdServingOptimizationStatus ad_serving_optimization_status = 8; - - // Immutable. The primary serving target for ads within the campaign. - // The targeting options can be refined in `network_settings`. - // - // This field is required and should not be empty when creating new - // campaigns. - // - // Can be set only when creating campaigns. - // After the campaign is created, the field can not be changed. - google.ads.googleads.v13.enums.AdvertisingChannelTypeEnum - .AdvertisingChannelType advertising_channel_type = 9 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Optional refinement to `advertising_channel_type`. - // Must be a valid sub-type of the parent channel type. - // - // Can be set only when creating campaigns. - // After campaign is created, the field can not be changed. - google.ads.googleads.v13.enums.AdvertisingChannelSubTypeEnum - .AdvertisingChannelSubType advertising_channel_sub_type = 10 - [(google.api.field_behavior) = IMMUTABLE]; - - // The URL template for constructing a tracking URL. - optional string tracking_url_template = 60; - - // The list of mappings used to substitute custom parameter tags in a - // `tracking_url_template`, `final_urls`, or `mobile_final_urls`. - repeated google.ads.googleads.v13.common.CustomParameter - url_custom_parameters = 12; - - // The Local Services Campaign related settings. - LocalServicesCampaignSettings local_services_campaign_settings = 75; - - // Settings for Travel campaign. - TravelCampaignSettings travel_campaign_settings = 85; - - // Settings for Real-Time Bidding, a feature only available for campaigns - // targeting the Ad Exchange network. - google.ads.googleads.v13.common.RealTimeBiddingSetting - real_time_bidding_setting = 39; - - // The network settings for the campaign. - NetworkSettings network_settings = 14; - - // Immutable. The hotel setting for the campaign. - HotelSettingInfo hotel_setting = 32 [(google.api.field_behavior) = IMMUTABLE]; - - // The setting for controlling Dynamic Search Ads (DSA). - DynamicSearchAdsSetting dynamic_search_ads_setting = 33; - - // The setting for controlling Shopping campaigns. - ShoppingSetting shopping_setting = 36; - - // Setting for targeting related features. - google.ads.googleads.v13.common.TargetingSetting targeting_setting = 43; - - // Immutable. Setting for audience related features. - optional AudienceSetting audience_setting = 73 - [(google.api.field_behavior) = IMMUTABLE]; - - // The setting for ads geotargeting. - GeoTargetTypeSetting geo_target_type_setting = 47; - - // The setting for local campaign. - LocalCampaignSetting local_campaign_setting = 50; - - // The setting related to App Campaign. - AppCampaignSetting app_campaign_setting = 51; - - // Output only. The resource names of labels attached to this campaign. - repeated string labels = 61 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignLabel" - } - ]; - - // Output only. The type of campaign: normal, draft, or experiment. - google.ads.googleads.v13.enums.CampaignExperimentTypeEnum - .CampaignExperimentType experiment_type = 17 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource name of the base campaign of a draft or - // experiment campaign. For base campaigns, this is equal to `resource_name`. - // - // This field is read-only. - optional string base_campaign = 56 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // The budget of the campaign. - optional string campaign_budget = 62 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignBudget" - }]; - - // Output only. The type of bidding strategy. - // - // A bidding strategy can be created by setting either the bidding scheme to - // create a standard bidding strategy or the `bidding_strategy` field to - // create a portfolio bidding strategy. - // - // This field is read-only. - google.ads.googleads.v13.enums.BiddingStrategyTypeEnum.BiddingStrategyType - bidding_strategy_type = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Resource name of AccessibleBiddingStrategy, a read-only view - // of the unrestricted attributes of the attached portfolio bidding strategy - // identified by 'bidding_strategy'. Empty, if the campaign does not use a - // portfolio strategy. Unrestricted strategy attributes are available to all - // customers with whom the strategy is shared and are read from the - // AccessibleBiddingStrategy resource. In contrast, restricted attributes are - // only available to the owner customer of the strategy and their managers. - // Restricted attributes can only be read from the BiddingStrategy resource. - string accessible_bidding_strategy = 71 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AccessibleBiddingStrategy" - } - ]; - - // The date when campaign started in serving customer's timezone in YYYY-MM-DD - // format. - optional string start_date = 63; - - // The campaign group this campaign belongs to. - optional string campaign_group = 76 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignGroup" - }]; - - // The last day of the campaign in serving customer's timezone in YYYY-MM-DD - // format. On create, defaults to 2037-12-30, which means the campaign will - // run indefinitely. To set an existing campaign to run indefinitely, set this - // field to 2037-12-30. - optional string end_date = 64; - - // Suffix used to append query parameters to landing pages that are served - // with parallel tracking. - optional string final_url_suffix = 65; - - // A list that limits how often each user will see this campaign's ads. - repeated google.ads.googleads.v13.common.FrequencyCapEntry frequency_caps = - 40; - - // Output only. 3-Tier Brand Safety setting for the campaign. - google.ads.googleads.v13.enums.BrandSafetySuitabilityEnum - .BrandSafetySuitability video_brand_safety_suitability = 42 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Describes how unbranded pharma ads will be displayed. - VanityPharma vanity_pharma = 44; - - // Selective optimization setting for this campaign, which includes a set of - // conversion actions to optimize this campaign towards. - SelectiveOptimization selective_optimization = 45; - - // Optimization goal setting for this campaign, which includes a set of - // optimization goal types. - OptimizationGoalSetting optimization_goal_setting = 54; - - // Output only. Campaign-level settings for tracking information. - TrackingSetting tracking_setting = 46 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Payment mode for the campaign. - google.ads.googleads.v13.enums.PaymentModeEnum.PaymentMode payment_mode = 52; - - // Output only. Optimization score of the campaign. - // - // Optimization score is an estimate of how well a campaign is set to perform. - // It ranges from 0% (0.0) to 100% (1.0), with 100% indicating that the - // campaign is performing at full potential. This field is null for unscored - // campaigns. - // - // See "About optimization score" at - // https://support.google.com/google-ads/answer/9061546. - // - // This field is read-only. - optional double optimization_score = 66 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The asset field types that should be excluded from this campaign. Asset - // links with these field types will not be inherited by this campaign from - // the upper level. - repeated google.ads.googleads.v13.enums.AssetFieldTypeEnum.AssetFieldType - excluded_parent_asset_field_types = 69; - - // The asset set types that should be excluded from this campaign. Asset set - // links with these types will not be inherited by this campaign from - // the upper level. - // Location group types (GMB_DYNAMIC_LOCATION_GROUP, - // CHAIN_DYNAMIC_LOCATION_GROUP, and STATIC_LOCATION_GROUP) are child types of - // LOCATION_SYNC. Therefore, if LOCATION_SYNC is set for this field, all - // location group asset sets are not allowed to be linked to this campaign, - // and all Location Extension (LE) and Affiliate Location Extensions (ALE) - // will not be served under this campaign. - // Only LOCATION_SYNC is currently supported. - repeated google.ads.googleads.v13.enums.AssetSetTypeEnum.AssetSetType - excluded_parent_asset_set_types = 80; - - // Represents opting out of URL expansion to more targeted URLs. If opted out - // (true), only the final URLs in the asset group or URLs specified in the - // advertiser's Google Merchant Center or business data feeds are targeted. - // If opted in (false), the entire domain will be targeted. This field can - // only be set for Performance Max campaigns, where the default value is - // false. - optional bool url_expansion_opt_out = 72; - - // Output only. Information about campaigns being upgraded to Performance Max. - PerformanceMaxUpgrade performance_max_upgrade = 77 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The set of hotel properties for Performance Max for travel goals - // campaigns. - optional string hotel_property_asset_set = 83 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetSet" - } - ]; - - // The bidding strategy for the campaign. - // - // Must be either portfolio (created through BiddingStrategy service) or - // standard, that is embedded into the campaign. - oneof campaign_bidding_strategy { - // Portfolio bidding strategy used by campaign. - string bidding_strategy = 67 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/BiddingStrategy" - }]; - - // Commission is an automatic bidding strategy in which the advertiser pays - // a certain portion of the conversion value. - google.ads.googleads.v13.common.Commission commission = 49; - - // Standard Manual CPA bidding strategy. - // Manual bidding strategy that allows advertiser to set the bid per - // advertiser-specified action. Supported only for Local Services campaigns. - google.ads.googleads.v13.common.ManualCpa manual_cpa = 74; - - // Standard Manual CPC bidding strategy. - // Manual click-based bidding where user pays per click. - google.ads.googleads.v13.common.ManualCpc manual_cpc = 24; - - // Standard Manual CPM bidding strategy. - // Manual impression-based bidding where user pays per thousand - // impressions. - google.ads.googleads.v13.common.ManualCpm manual_cpm = 25; - - // Output only. A bidding strategy that pays a configurable amount per video - // view. - google.ads.googleads.v13.common.ManualCpv manual_cpv = 37 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Standard Maximize Conversions bidding strategy that automatically - // maximizes number of conversions while spending your budget. - google.ads.googleads.v13.common.MaximizeConversions maximize_conversions = - 30; - - // Standard Maximize Conversion Value bidding strategy that automatically - // sets bids to maximize revenue while spending your budget. - google.ads.googleads.v13.common.MaximizeConversionValue - maximize_conversion_value = 31; - - // Standard Target CPA bidding strategy that automatically sets bids to - // help get as many conversions as possible at the target - // cost-per-acquisition (CPA) you set. - google.ads.googleads.v13.common.TargetCpa target_cpa = 26; - - // Target Impression Share bidding strategy. An automated bidding strategy - // that sets bids to achieve a chosen percentage of impressions. - google.ads.googleads.v13.common.TargetImpressionShare - target_impression_share = 48; - - // Standard Target ROAS bidding strategy that automatically maximizes - // revenue while averaging a specific target return on ad spend (ROAS). - google.ads.googleads.v13.common.TargetRoas target_roas = 29; - - // Standard Target Spend bidding strategy that automatically sets your bids - // to help get as many clicks as possible within your budget. - google.ads.googleads.v13.common.TargetSpend target_spend = 27; - - // Standard Percent Cpc bidding strategy where bids are a fraction of the - // advertised price for some good or service. - google.ads.googleads.v13.common.PercentCpc percent_cpc = 34; - - // A bidding strategy that automatically optimizes cost per thousand - // impressions. - google.ads.googleads.v13.common.TargetCpm target_cpm = 41; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/campaign_asset.proto b/third_party/googleapis/google/ads/googleads/v13/resources/campaign_asset.proto deleted file mode 100644 index 2418ea412..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/campaign_asset.proto +++ /dev/null @@ -1,103 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/asset_policy.proto"; -import "google/ads/googleads/v13/enums/asset_field_type.proto"; -import "google/ads/googleads/v13/enums/asset_link_primary_status.proto"; -import "google/ads/googleads/v13/enums/asset_link_primary_status_reason.proto"; -import "google/ads/googleads/v13/enums/asset_link_status.proto"; -import "google/ads/googleads/v13/enums/asset_source.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignAssetProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the CampaignAsset resource. - -// A link between a Campaign and an Asset. -message CampaignAsset { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignAsset" - pattern: "customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}" - }; - - // Immutable. The resource name of the campaign asset. - // CampaignAsset resource names have the form: - // - // `customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignAsset" - } - ]; - - // Immutable. The campaign to which the asset is linked. - optional string campaign = 6 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Immutable. The asset which is linked to the campaign. - optional string asset = 7 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { type: "googleads.googleapis.com/Asset" } - ]; - - // Immutable. Role that the asset takes under the linked campaign. - // Required. - google.ads.googleads.v13.enums.AssetFieldTypeEnum.AssetFieldType field_type = - 4 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. Source of the campaign asset link. - google.ads.googleads.v13.enums.AssetSourceEnum.AssetSource source = 8 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Status of the campaign asset. - google.ads.googleads.v13.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5; - - // Output only. Provides the PrimaryStatus of this asset link. - // Primary status is meant essentially to differentiate between the plain - // "status" field, which has advertiser set values of enabled, paused, or - // removed. The primary status takes into account other signals (for assets - // its mainly policy and quality approvals) to come up with a more - // comprehensive status to indicate its serving state. - google.ads.googleads.v13.enums.AssetLinkPrimaryStatusEnum - .AssetLinkPrimaryStatus primary_status = 9 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Provides the details of the primary status and its associated - // reasons. - repeated google.ads.googleads.v13.common.AssetLinkPrimaryStatusDetails - primary_status_details = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Provides a list of reasons for why an asset is not serving or - // not serving at full capacity. - repeated google.ads.googleads.v13.enums.AssetLinkPrimaryStatusReasonEnum - .AssetLinkPrimaryStatusReason primary_status_reasons = 11 - [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/campaign_asset_set.proto b/third_party/googleapis/google/ads/googleads/v13/resources/campaign_asset_set.proto deleted file mode 100644 index 5dac8fe43..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/campaign_asset_set.proto +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/asset_set_link_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignAssetSetProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the CampaignAsset resource. - -// CampaignAssetSet is the linkage between a campaign and an asset set. -// Adding a CampaignAssetSet links an asset set with a campaign. -message CampaignAssetSet { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignAssetSet" - pattern: "customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id}" - }; - - // Immutable. The resource name of the campaign asset set. - // Asset set asset resource names have the form: - // - // `customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignAssetSet" - } - ]; - - // Immutable. The campaign to which this asset set is linked. - string campaign = 2 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Immutable. The asset set which is linked to the campaign. - string asset_set = 3 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetSet" - } - ]; - - // Output only. The status of the campaign asset set asset. Read-only. - google.ads.googleads.v13.enums.AssetSetLinkStatusEnum.AssetSetLinkStatus - status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/campaign_audience_view.proto b/third_party/googleapis/google/ads/googleads/v13/resources/campaign_audience_view.proto deleted file mode 100644 index 9be59a733..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/campaign_audience_view.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignAudienceViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the campaign audience view resource. - -// A campaign audience view. -// Includes performance data from interests and remarketing lists for Display -// Network and YouTube Network ads, and remarketing lists for search ads (RLSA), -// aggregated by campaign and audience criterion. This view only includes -// audiences attached at the campaign level. -message CampaignAudienceView { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignAudienceView" - pattern: "customers/{customer_id}/campaignAudienceViews/{campaign_id}~{criterion_id}" - }; - - // Output only. The resource name of the campaign audience view. - // Campaign audience view resource names have the form: - // - // `customers/{customer_id}/campaignAudienceViews/{campaign_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignAudienceView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/campaign_bid_modifier.proto b/third_party/googleapis/google/ads/googleads/v13/resources/campaign_bid_modifier.proto deleted file mode 100644 index e4277c089..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/campaign_bid_modifier.proto +++ /dev/null @@ -1,77 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/criteria.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignBidModifierProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the Campaign Bid Modifier resource. - -// Represents a bid-modifiable only criterion at the campaign level. -message CampaignBidModifier { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignBidModifier" - pattern: "customers/{customer_id}/campaignBidModifiers/{campaign_id}~{criterion_id}" - }; - - // Immutable. The resource name of the campaign bid modifier. - // Campaign bid modifier resource names have the form: - // - // `customers/{customer_id}/campaignBidModifiers/{campaign_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignBidModifier" - } - ]; - - // Output only. The campaign to which this criterion belongs. - optional string campaign = 6 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Output only. The ID of the criterion to bid modify. - // - // This field is ignored for mutates. - optional int64 criterion_id = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The modifier for the bid when the criterion matches. - optional double bid_modifier = 8; - - // The criterion of this campaign bid modifier. - // - // Required in create operations starting in V5. - oneof criterion { - // Immutable. Criterion for interaction type. Only supported for search - // campaigns. - google.ads.googleads.v13.common.InteractionTypeInfo interaction_type = 5 - [(google.api.field_behavior) = IMMUTABLE]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/campaign_budget.proto b/third_party/googleapis/google/ads/googleads/v13/resources/campaign_budget.proto deleted file mode 100644 index bff0bdbe8..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/campaign_budget.proto +++ /dev/null @@ -1,177 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/budget_delivery_method.proto"; -import "google/ads/googleads/v13/enums/budget_period.proto"; -import "google/ads/googleads/v13/enums/budget_status.proto"; -import "google/ads/googleads/v13/enums/budget_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignBudgetProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the Budget resource. - -// A campaign budget. -message CampaignBudget { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignBudget" - pattern: "customers/{customer_id}/campaignBudgets/{campaign_budget_id}" - }; - - // Immutable. The resource name of the campaign budget. - // Campaign budget resource names have the form: - // - // `customers/{customer_id}/campaignBudgets/{campaign_budget_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignBudget" - } - ]; - - // Output only. The ID of the campaign budget. - // - // A campaign budget is created using the CampaignBudgetService create - // operation and is assigned a budget ID. A budget ID can be shared across - // different campaigns; the system will then allocate the campaign budget - // among different campaigns to get optimum results. - optional int64 id = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The name of the campaign budget. - // - // When creating a campaign budget through CampaignBudgetService, every - // explicitly shared campaign budget must have a non-null, non-empty name. - // Campaign budgets that are not explicitly shared derive their name from the - // attached campaign's name. - // - // The length of this string must be between 1 and 255, inclusive, - // in UTF-8 bytes, (trimmed). - optional string name = 20; - - // The amount of the budget, in the local currency for the account. - // Amount is specified in micros, where one million is equivalent to one - // currency unit. Monthly spend is capped at 30.4 times this amount. - optional int64 amount_micros = 21; - - // The lifetime amount of the budget, in the local currency for the account. - // Amount is specified in micros, where one million is equivalent to one - // currency unit. - optional int64 total_amount_micros = 22; - - // Output only. The status of this campaign budget. This field is read-only. - google.ads.googleads.v13.enums.BudgetStatusEnum.BudgetStatus status = 6 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The delivery method that determines the rate at which the campaign budget - // is spent. - // - // Defaults to STANDARD if unspecified in a create operation. - google.ads.googleads.v13.enums.BudgetDeliveryMethodEnum.BudgetDeliveryMethod - delivery_method = 7; - - // Specifies whether the budget is explicitly shared. Defaults to true if - // unspecified in a create operation. - // - // If true, the budget was created with the purpose of sharing - // across one or more campaigns. - // - // If false, the budget was created with the intention of only being used - // with a single campaign. The budget's name and status will stay in sync - // with the campaign's name and status. Attempting to share the budget with a - // second campaign will result in an error. - // - // A non-shared budget can become an explicitly shared. The same operation - // must also assign the budget a name. - // - // A shared campaign budget can never become non-shared. - optional bool explicitly_shared = 23; - - // Output only. The number of campaigns actively using the budget. - // - // This field is read-only. - optional int64 reference_count = 24 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Indicates whether there is a recommended budget for this - // campaign budget. - // - // This field is read-only. - optional bool has_recommended_budget = 25 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The recommended budget amount. If no recommendation is - // available, this will be set to the budget amount. Amount is specified in - // micros, where one million is equivalent to one currency unit. - // - // This field is read-only. - optional int64 recommended_budget_amount_micros = 26 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. Period over which to spend the budget. Defaults to DAILY if not - // specified. - google.ads.googleads.v13.enums.BudgetPeriodEnum.BudgetPeriod period = 13 - [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The estimated change in weekly clicks if the recommended - // budget is applied. - // - // This field is read-only. - optional int64 recommended_budget_estimated_change_weekly_clicks = 27 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The estimated change in weekly cost in micros if the - // recommended budget is applied. One million is equivalent to one currency - // unit. - // - // This field is read-only. - optional int64 recommended_budget_estimated_change_weekly_cost_micros = 28 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The estimated change in weekly interactions if the recommended - // budget is applied. - // - // This field is read-only. - optional int64 recommended_budget_estimated_change_weekly_interactions = 29 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The estimated change in weekly views if the recommended budget - // is applied. - // - // This field is read-only. - optional int64 recommended_budget_estimated_change_weekly_views = 30 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The type of the campaign budget. - google.ads.googleads.v13.enums.BudgetTypeEnum.BudgetType type = 18 - [(google.api.field_behavior) = IMMUTABLE]; - - // ID of the portfolio bidding strategy that this shared campaign budget - // is aligned with. When a bidding strategy and a campaign budget are aligned, - // they are attached to the same set of campaigns. After a campaign budget is - // aligned with a bidding strategy, campaigns that are added to the campaign - // budget must also use the aligned bidding strategy. - int64 aligned_bidding_strategy_id = 31; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/campaign_conversion_goal.proto b/third_party/googleapis/google/ads/googleads/v13/resources/campaign_conversion_goal.proto deleted file mode 100644 index 60b90421b..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/campaign_conversion_goal.proto +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/conversion_action_category.proto"; -import "google/ads/googleads/v13/enums/conversion_origin.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignConversionGoalProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// The biddability setting for the specified campaign only for all -// conversion actions with a matching category and origin. -message CampaignConversionGoal { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignConversionGoal" - pattern: "customers/{customer_id}/campaignConversionGoals/{campaign_id}~{category}~{source}" - }; - - // Immutable. The resource name of the campaign conversion goal. - // Campaign conversion goal resource names have the form: - // - // `customers/{customer_id}/campaignConversionGoals/{campaign_id}~{category}~{origin}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignConversionGoal" - } - ]; - - // Immutable. The campaign with which this campaign conversion goal is - // associated. - string campaign = 2 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // The conversion category of this campaign conversion goal. - google.ads.googleads.v13.enums.ConversionActionCategoryEnum - .ConversionActionCategory category = 3; - - // The conversion origin of this campaign conversion goal. - google.ads.googleads.v13.enums.ConversionOriginEnum.ConversionOrigin origin = - 4; - - // The biddability of the campaign conversion goal. - bool biddable = 5; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/campaign_criterion.proto b/third_party/googleapis/google/ads/googleads/v13/resources/campaign_criterion.proto deleted file mode 100644 index ccb1b0434..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/campaign_criterion.proto +++ /dev/null @@ -1,219 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/criteria.proto"; -import "google/ads/googleads/v13/enums/campaign_criterion_status.proto"; -import "google/ads/googleads/v13/enums/criterion_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignCriterionProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the Campaign Criterion resource. - -// A campaign criterion. -message CampaignCriterion { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignCriterion" - pattern: "customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}" - }; - - // Immutable. The resource name of the campaign criterion. - // Campaign criterion resource names have the form: - // - // `customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignCriterion" - } - ]; - - // Immutable. The campaign to which the criterion belongs. - optional string campaign = 37 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Output only. The ID of the criterion. - // - // This field is ignored during mutate. - optional int64 criterion_id = 38 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The display name of the criterion. - // - // This field is ignored for mutates. - string display_name = 43 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The modifier for the bids when the criterion matches. The modifier must be - // in the range: 0.1 - 10.0. Most targetable criteria types support modifiers. - // Use 0 to opt out of a Device type. - optional float bid_modifier = 39; - - // Immutable. Whether to target (`false`) or exclude (`true`) the criterion. - optional bool negative = 40 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The type of the criterion. - google.ads.googleads.v13.enums.CriterionTypeEnum.CriterionType type = 6 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The status of the criterion. - google.ads.googleads.v13.enums.CampaignCriterionStatusEnum - .CampaignCriterionStatus status = 35; - - // The campaign criterion. - // - // Exactly one must be set. - oneof criterion { - // Immutable. Keyword. - google.ads.googleads.v13.common.KeywordInfo keyword = 8 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Placement. - google.ads.googleads.v13.common.PlacementInfo placement = 9 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Mobile app category. - google.ads.googleads.v13.common.MobileAppCategoryInfo mobile_app_category = - 10 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Mobile application. - google.ads.googleads.v13.common.MobileApplicationInfo mobile_application = - 11 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Location. - google.ads.googleads.v13.common.LocationInfo location = 12 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Device. - google.ads.googleads.v13.common.DeviceInfo device = 13 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Ad Schedule. - google.ads.googleads.v13.common.AdScheduleInfo ad_schedule = 15 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Age range. - google.ads.googleads.v13.common.AgeRangeInfo age_range = 16 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Gender. - google.ads.googleads.v13.common.GenderInfo gender = 17 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Income range. - google.ads.googleads.v13.common.IncomeRangeInfo income_range = 18 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Parental status. - google.ads.googleads.v13.common.ParentalStatusInfo parental_status = 19 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. User List. - // The Similar Audiences sunset starts May 2023. Refer to - // https://ads-developers.googleblog.com/2022/11/announcing-deprecation-and-sunset-of.html - // for other options. - google.ads.googleads.v13.common.UserListInfo user_list = 22 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. YouTube Video. - google.ads.googleads.v13.common.YouTubeVideoInfo youtube_video = 20 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. YouTube Channel. - google.ads.googleads.v13.common.YouTubeChannelInfo youtube_channel = 21 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Proximity. - google.ads.googleads.v13.common.ProximityInfo proximity = 23 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Topic. - google.ads.googleads.v13.common.TopicInfo topic = 24 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Listing scope. - google.ads.googleads.v13.common.ListingScopeInfo listing_scope = 25 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Language. - google.ads.googleads.v13.common.LanguageInfo language = 26 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. IpBlock. - google.ads.googleads.v13.common.IpBlockInfo ip_block = 27 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. ContentLabel. - google.ads.googleads.v13.common.ContentLabelInfo content_label = 28 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Carrier. - google.ads.googleads.v13.common.CarrierInfo carrier = 29 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. User Interest. - google.ads.googleads.v13.common.UserInterestInfo user_interest = 30 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Webpage. - google.ads.googleads.v13.common.WebpageInfo webpage = 31 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Operating system version. - google.ads.googleads.v13.common.OperatingSystemVersionInfo - operating_system_version = 32 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Mobile Device. - google.ads.googleads.v13.common.MobileDeviceInfo mobile_device = 33 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Location Group - google.ads.googleads.v13.common.LocationGroupInfo location_group = 34 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Custom Affinity. - google.ads.googleads.v13.common.CustomAffinityInfo custom_affinity = 36 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Custom Audience - google.ads.googleads.v13.common.CustomAudienceInfo custom_audience = 41 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Combined Audience. - google.ads.googleads.v13.common.CombinedAudienceInfo combined_audience = 42 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Smart Campaign Keyword Theme. - google.ads.googleads.v13.common.KeywordThemeInfo keyword_theme = 45 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. GLS service campaign criterion. - google.ads.googleads.v13.common.LocalServiceIdInfo local_service_id = 46 - [(google.api.field_behavior) = IMMUTABLE]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/campaign_criterion_simulation.proto b/third_party/googleapis/google/ads/googleads/v13/resources/campaign_criterion_simulation.proto deleted file mode 100644 index 9c5d82b84..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/campaign_criterion_simulation.proto +++ /dev/null @@ -1,88 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/simulation.proto"; -import "google/ads/googleads/v13/enums/simulation_modification_method.proto"; -import "google/ads/googleads/v13/enums/simulation_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignCriterionSimulationProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the campaign criterion simulation resource. - -// A campaign criterion simulation. Supported combinations of advertising -// channel type, criterion ids, simulation type and simulation modification -// method is detailed below respectively. -// -// 1. SEARCH - 30000,30001,30002 - BID_MODIFIER - UNIFORM -// 2. DISPLAY - 30001 - BID_MODIFIER - UNIFORM -message CampaignCriterionSimulation { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignCriterionSimulation" - pattern: "customers/{customer_id}/campaignCriterionSimulations/{campaign_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}" - }; - - // Output only. The resource name of the campaign criterion simulation. - // Campaign criterion simulation resource names have the form: - // - // `customers/{customer_id}/campaignCriterionSimulations/{campaign_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignCriterionSimulation" - } - ]; - - // Output only. Campaign ID of the simulation. - optional int64 campaign_id = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Criterion ID of the simulation. - optional int64 criterion_id = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The field that the simulation modifies. - google.ads.googleads.v13.enums.SimulationTypeEnum.SimulationType type = 4 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. How the simulation modifies the field. - google.ads.googleads.v13.enums.SimulationModificationMethodEnum - .SimulationModificationMethod modification_method = 5 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. First day on which the simulation is based, in YYYY-MM-DD - // format. - optional string start_date = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Last day on which the simulation is based, in YYYY-MM-DD - // format. - optional string end_date = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // List of simulation points. - oneof point_list { - // Output only. Simulation points if the simulation type is BID_MODIFIER. - google.ads.googleads.v13.common.BidModifierSimulationPointList - bid_modifier_point_list = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/campaign_customizer.proto b/third_party/googleapis/google/ads/googleads/v13/resources/campaign_customizer.proto deleted file mode 100644 index 57a395b7b..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/campaign_customizer.proto +++ /dev/null @@ -1,78 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/customizer_value.proto"; -import "google/ads/googleads/v13/enums/customizer_value_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignCustomizerProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// A customizer value for the associated CustomizerAttribute at the Campaign -// level. -message CampaignCustomizer { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignCustomizer" - pattern: "customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id}" - }; - - // Immutable. The resource name of the campaign customizer. - // Campaign customizer resource names have the form: - // - // `customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignCustomizer" - } - ]; - - // Immutable. The campaign to which the customizer attribute is linked. - string campaign = 2 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Required. Immutable. The customizer attribute which is linked to the - // campaign. - string customizer_attribute = 3 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomizerAttribute" - } - ]; - - // Output only. The status of the campaign customizer. - google.ads.googleads.v13.enums.CustomizerValueStatusEnum.CustomizerValueStatus - status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Required. The value to associate with the customizer attribute at this - // level. The value must be of the type specified for the CustomizerAttribute. - google.ads.googleads.v13.common.CustomizerValue value = 5 - [(google.api.field_behavior) = REQUIRED]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/campaign_draft.proto b/third_party/googleapis/google/ads/googleads/v13/resources/campaign_draft.proto deleted file mode 100644 index d952be03c..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/campaign_draft.proto +++ /dev/null @@ -1,101 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/campaign_draft_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignDraftProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the Campaign Draft resource. - -// A campaign draft. -message CampaignDraft { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignDraft" - pattern: "customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}" - }; - - // Immutable. The resource name of the campaign draft. - // Campaign draft resource names have the form: - // - // `customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignDraft" - } - ]; - - // Output only. The ID of the draft. - // - // This field is read-only. - optional int64 draft_id = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The base campaign to which the draft belongs. - optional string base_campaign = 10 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // The name of the campaign draft. - // - // This field is required and should not be empty when creating new - // campaign drafts. - // - // It must not contain any null (code point 0x0), NL line feed - // (code point 0xA) or carriage return (code point 0xD) characters. - optional string name = 11; - - // Output only. Resource name of the Campaign that results from overlaying the - // draft changes onto the base campaign. - // - // This field is read-only. - optional string draft_campaign = 12 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Output only. The status of the campaign draft. This field is read-only. - // - // When a new campaign draft is added, the status defaults to PROPOSED. - google.ads.googleads.v13.enums.CampaignDraftStatusEnum.CampaignDraftStatus - status = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Whether there is an experiment based on this draft currently - // serving. - optional bool has_experiment_running = 13 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource name of the long-running operation that can be - // used to poll for completion of draft promotion. This is only set if the - // draft promotion is in progress or finished. - optional string long_running_operation = 14 - [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/campaign_extension_setting.proto b/third_party/googleapis/google/ads/googleads/v13/resources/campaign_extension_setting.proto deleted file mode 100644 index 6f7b5ffed..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/campaign_extension_setting.proto +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/extension_setting_device.proto"; -import "google/ads/googleads/v13/enums/extension_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignExtensionSettingProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the CampaignExtensionSetting resource. - -// A campaign extension setting. -message CampaignExtensionSetting { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignExtensionSetting" - pattern: "customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type}" - }; - - // Immutable. The resource name of the campaign extension setting. - // CampaignExtensionSetting resource names have the form: - // - // `customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignExtensionSetting" - } - ]; - - // Immutable. The extension type of the customer extension setting. - google.ads.googleads.v13.enums.ExtensionTypeEnum.ExtensionType - extension_type = 2 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The resource name of the campaign. The linked extension feed - // items will serve under this campaign. Campaign resource names have the - // form: - // - // `customers/{customer_id}/campaigns/{campaign_id}` - optional string campaign = 6 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // The resource names of the extension feed items to serve under the campaign. - // ExtensionFeedItem resource names have the form: - // - // `customers/{customer_id}/extensionFeedItems/{feed_item_id}` - repeated string extension_feed_items = 7 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ExtensionFeedItem" - }]; - - // The device for which the extensions will serve. Optional. - google.ads.googleads.v13.enums.ExtensionSettingDeviceEnum - .ExtensionSettingDevice device = 5; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/campaign_feed.proto b/third_party/googleapis/google/ads/googleads/v13/resources/campaign_feed.proto deleted file mode 100644 index 2d94fa527..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/campaign_feed.proto +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/matching_function.proto"; -import "google/ads/googleads/v13/enums/feed_link_status.proto"; -import "google/ads/googleads/v13/enums/placeholder_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignFeedProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the CampaignFeed resource. - -// A campaign feed. -message CampaignFeed { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignFeed" - pattern: "customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id}" - }; - - // Immutable. The resource name of the campaign feed. - // Campaign feed resource names have the form: - // - // `customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id} - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignFeed" - } - ]; - - // Immutable. The feed to which the CampaignFeed belongs. - optional string feed = 7 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { type: "googleads.googleapis.com/Feed" } - ]; - - // Immutable. The campaign to which the CampaignFeed belongs. - optional string campaign = 8 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Indicates which placeholder types the feed may populate under the connected - // campaign. Required. - repeated google.ads.googleads.v13.enums.PlaceholderTypeEnum.PlaceholderType - placeholder_types = 4; - - // Matching function associated with the CampaignFeed. - // The matching function is used to filter the set of feed items selected. - // Required. - google.ads.googleads.v13.common.MatchingFunction matching_function = 5; - - // Output only. Status of the campaign feed. - // This field is read-only. - google.ads.googleads.v13.enums.FeedLinkStatusEnum.FeedLinkStatus status = 6 - [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/campaign_group.proto b/third_party/googleapis/google/ads/googleads/v13/resources/campaign_group.proto deleted file mode 100644 index baae2cd3a..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/campaign_group.proto +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/campaign_group_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignGroupProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the Campaign group resource. - -// A campaign group. -message CampaignGroup { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignGroup" - pattern: "customers/{customer_id}/campaignGroups/{campaign_group_id}" - }; - - // Immutable. The resource name of the campaign group. - // Campaign group resource names have the form: - // - // `customers/{customer_id}/campaignGroups/{campaign_group_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignGroup" - } - ]; - - // Output only. The ID of the campaign group. - int64 id = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The name of the campaign group. - // - // This field is required and should not be empty when creating new campaign - // groups. - // - // It must not contain any null (code point 0x0), NL line feed - // (code point 0xA) or carriage return (code point 0xD) characters. - string name = 4; - - // The status of the campaign group. - // - // When a new campaign group is added, the status defaults to ENABLED. - google.ads.googleads.v13.enums.CampaignGroupStatusEnum.CampaignGroupStatus - status = 5; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/campaign_label.proto b/third_party/googleapis/google/ads/googleads/v13/resources/campaign_label.proto deleted file mode 100644 index 322b1c9a4..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/campaign_label.proto +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignLabelProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the campaign label resource. - -// Represents a relationship between a campaign and a label. -message CampaignLabel { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignLabel" - pattern: "customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}" - }; - - // Immutable. Name of the resource. - // Campaign label resource names have the form: - // `customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignLabel" - } - ]; - - // Immutable. The campaign to which the label is attached. - optional string campaign = 4 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Immutable. The label assigned to the campaign. - optional string label = 5 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { type: "googleads.googleapis.com/Label" } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/campaign_shared_set.proto b/third_party/googleapis/google/ads/googleads/v13/resources/campaign_shared_set.proto deleted file mode 100644 index 2f6b21bcd..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/campaign_shared_set.proto +++ /dev/null @@ -1,78 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/campaign_shared_set_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignSharedSetProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the CampaignSharedSet resource. - -// CampaignSharedSets are used for managing the shared sets associated with a -// campaign. -message CampaignSharedSet { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignSharedSet" - pattern: "customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}" - }; - - // Immutable. The resource name of the campaign shared set. - // Campaign shared set resource names have the form: - // - // `customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignSharedSet" - } - ]; - - // Immutable. The campaign to which the campaign shared set belongs. - optional string campaign = 5 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Immutable. The shared set associated with the campaign. This may be a - // negative keyword shared set of another customer. This customer should be a - // manager of the other customer, otherwise the campaign shared set will exist - // but have no serving effect. Only negative keyword shared sets can be - // associated with Shopping campaigns. Only negative placement shared sets can - // be associated with Display mobile app campaigns. - optional string shared_set = 6 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/SharedSet" - } - ]; - - // Output only. The status of this campaign shared set. Read only. - google.ads.googleads.v13.enums.CampaignSharedSetStatusEnum - .CampaignSharedSetStatus status = 2 - [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/campaign_simulation.proto b/third_party/googleapis/google/ads/googleads/v13/resources/campaign_simulation.proto deleted file mode 100644 index 51bd5d471..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/campaign_simulation.proto +++ /dev/null @@ -1,113 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/simulation.proto"; -import "google/ads/googleads/v13/enums/simulation_modification_method.proto"; -import "google/ads/googleads/v13/enums/simulation_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignSimulationProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the campaign simulation resource. - -// A campaign simulation. Supported combinations of advertising -// channel type, simulation type and simulation modification -// method is detailed below respectively. -// -// * SEARCH - CPC_BID - UNIFORM -// * SEARCH - CPC_BID - SCALING -// * SEARCH - TARGET_CPA - UNIFORM -// * SEARCH - TARGET_CPA - SCALING -// * SEARCH - TARGET_ROAS - UNIFORM -// * SEARCH - TARGET_IMPRESSION_SHARE - UNIFORM -// * SEARCH - BUDGET - UNIFORM -// * SHOPPING - BUDGET - UNIFORM -// * SHOPPING - TARGET_ROAS - UNIFORM -// * MULTI_CHANNEL - TARGET_CPA - UNIFORM -// * DISCOVERY - TARGET_CPA - DEFAULT -// * DISPLAY - TARGET_CPA - UNIFORM -message CampaignSimulation { - option (google.api.resource) = { - type: "googleads.googleapis.com/CampaignSimulation" - pattern: "customers/{customer_id}/campaignSimulations/{campaign_id}~{type}~{modification_method}~{start_date}~{end_date}" - }; - - // Output only. The resource name of the campaign simulation. - // Campaign simulation resource names have the form: - // - // `customers/{customer_id}/campaignSimulations/{campaign_id}~{type}~{modification_method}~{start_date}~{end_date}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignSimulation" - } - ]; - - // Output only. Campaign id of the simulation. - int64 campaign_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The field that the simulation modifies. - google.ads.googleads.v13.enums.SimulationTypeEnum.SimulationType type = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. How the simulation modifies the field. - google.ads.googleads.v13.enums.SimulationModificationMethodEnum - .SimulationModificationMethod modification_method = 4 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. First day on which the simulation is based, in YYYY-MM-DD - // format. - string start_date = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Last day on which the simulation is based, in YYYY-MM-DD - // format - string end_date = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // List of simulation points. - oneof point_list { - // Output only. Simulation points if the simulation type is CPC_BID. - google.ads.googleads.v13.common.CpcBidSimulationPointList - cpc_bid_point_list = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Simulation points if the simulation type is TARGET_CPA. - google.ads.googleads.v13.common.TargetCpaSimulationPointList - target_cpa_point_list = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Simulation points if the simulation type is TARGET_ROAS. - google.ads.googleads.v13.common.TargetRoasSimulationPointList - target_roas_point_list = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Simulation points if the simulation type is - // TARGET_IMPRESSION_SHARE. - google.ads.googleads.v13.common.TargetImpressionShareSimulationPointList - target_impression_share_point_list = 10 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Simulation points if the simulation type is BUDGET. - google.ads.googleads.v13.common.BudgetSimulationPointList - budget_point_list = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/carrier_constant.proto b/third_party/googleapis/google/ads/googleads/v13/resources/carrier_constant.proto deleted file mode 100644 index 1c164a39b..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/carrier_constant.proto +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CarrierConstantProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the Carrier constant resource. - -// A carrier criterion that can be used in campaign targeting. -message CarrierConstant { - option (google.api.resource) = { - type: "googleads.googleapis.com/CarrierConstant" - pattern: "carrierConstants/{criterion_id}" - }; - - // Output only. The resource name of the carrier criterion. - // Carrier criterion resource names have the form: - // - // `carrierConstants/{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CarrierConstant" - } - ]; - - // Output only. The ID of the carrier criterion. - optional int64 id = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The full name of the carrier in English. - optional string name = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The country code of the country where the carrier is located, - // for example, "AR", "FR", etc. - optional string country_code = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/change_event.proto b/third_party/googleapis/google/ads/googleads/v13/resources/change_event.proto deleted file mode 100644 index f849ac219..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/change_event.proto +++ /dev/null @@ -1,218 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/change_client_type.proto"; -import "google/ads/googleads/v13/enums/change_event_resource_type.proto"; -import "google/ads/googleads/v13/enums/resource_change_operation.proto"; -import "google/ads/googleads/v13/resources/ad.proto"; -import "google/ads/googleads/v13/resources/ad_group.proto"; -import "google/ads/googleads/v13/resources/ad_group_ad.proto"; -import "google/ads/googleads/v13/resources/ad_group_asset.proto"; -import "google/ads/googleads/v13/resources/ad_group_bid_modifier.proto"; -import "google/ads/googleads/v13/resources/ad_group_criterion.proto"; -import "google/ads/googleads/v13/resources/ad_group_feed.proto"; -import "google/ads/googleads/v13/resources/asset.proto"; -import "google/ads/googleads/v13/resources/asset_set.proto"; -import "google/ads/googleads/v13/resources/asset_set_asset.proto"; -import "google/ads/googleads/v13/resources/campaign.proto"; -import "google/ads/googleads/v13/resources/campaign_asset.proto"; -import "google/ads/googleads/v13/resources/campaign_asset_set.proto"; -import "google/ads/googleads/v13/resources/campaign_budget.proto"; -import "google/ads/googleads/v13/resources/campaign_criterion.proto"; -import "google/ads/googleads/v13/resources/campaign_feed.proto"; -import "google/ads/googleads/v13/resources/customer_asset.proto"; -import "google/ads/googleads/v13/resources/feed.proto"; -import "google/ads/googleads/v13/resources/feed_item.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ChangeEventProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the Change Event resource. - -// Describes the granular change of returned resources of certain resource -// types. Changes made through the UI or API in the past 30 days are included. -// Previous and new values of the changed fields are shown. ChangeEvent could -// have up to 3 minutes delay to reflect a new change. -message ChangeEvent { - option (google.api.resource) = { - type: "googleads.googleapis.com/ChangeEvent" - pattern: "customers/{customer_id}/changeEvents/{timestamp_micros}~{command_index}~{mutate_index}" - }; - - // A wrapper proto presenting all supported resources. - // Only the resource of the change_resource_type will be set. - message ChangedResource { - // Output only. Set if change_resource_type == AD. - Ad ad = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == AD_GROUP. - AdGroup ad_group = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == AD_GROUP_CRITERION. - AdGroupCriterion ad_group_criterion = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == CAMPAIGN. - Campaign campaign = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == CAMPAIGN_BUDGET. - CampaignBudget campaign_budget = 5 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == AD_GROUP_BID_MODIFIER. - AdGroupBidModifier ad_group_bid_modifier = 6 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == CAMPAIGN_CRITERION. - CampaignCriterion campaign_criterion = 7 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == FEED. - Feed feed = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == FEED_ITEM. - FeedItem feed_item = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == CAMPAIGN_FEED. - CampaignFeed campaign_feed = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == AD_GROUP_FEED. - AdGroupFeed ad_group_feed = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == AD_GROUP_AD. - AdGroupAd ad_group_ad = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == ASSET. - Asset asset = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == CUSTOMER_ASSET. - CustomerAsset customer_asset = 14 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == CAMPAIGN_ASSET. - CampaignAsset campaign_asset = 15 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == AD_GROUP_ASSET. - AdGroupAsset ad_group_asset = 16 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == ASSET_SET. - AssetSet asset_set = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == ASSET_SET_ASSET. - AssetSetAsset asset_set_asset = 18 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set if change_resource_type == CAMPAIGN_ASSET_SET. - CampaignAssetSet campaign_asset_set = 19 - [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Output only. The resource name of the change event. - // Change event resource names have the form: - // - // `customers/{customer_id}/changeEvents/{timestamp_micros}~{command_index}~{mutate_index}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ChangeEvent" - } - ]; - - // Output only. Time at which the change was committed on this resource. - string change_date_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The type of the changed resource. This dictates what resource - // will be set in old_resource and new_resource. - google.ads.googleads.v13.enums.ChangeEventResourceTypeEnum - .ChangeEventResourceType change_resource_type = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The Simply resource this change occurred on. - string change_resource_name = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Where the change was made through. - google.ads.googleads.v13.enums.ChangeClientTypeEnum.ChangeClientType - client_type = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The email of the user who made this change. - string user_email = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The old resource before the change. Only changed fields will - // be populated. - ChangedResource old_resource = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The new resource after the change. Only changed fields will be - // populated. - ChangedResource new_resource = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The operation on the changed resource. - google.ads.googleads.v13.enums.ResourceChangeOperationEnum - .ResourceChangeOperation resource_change_operation = 9 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. A list of fields that are changed in the returned resource. - google.protobuf.FieldMask changed_fields = 10 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The Campaign affected by this change. - string campaign = 11 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Output only. The AdGroup affected by this change. - string ad_group = 12 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Output only. The Feed affected by this change. - string feed = 13 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { type: "googleads.googleapis.com/Feed" } - ]; - - // Output only. The FeedItem affected by this change. - string feed_item = 14 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItem" - } - ]; - - // Output only. The Asset affected by this change. - string asset = 20 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { type: "googleads.googleapis.com/Asset" } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/change_status.proto b/third_party/googleapis/google/ads/googleads/v13/resources/change_status.proto deleted file mode 100644 index e98026e46..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/change_status.proto +++ /dev/null @@ -1,201 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/change_status_operation.proto"; -import "google/ads/googleads/v13/enums/change_status_resource_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ChangeStatusProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the Change Status resource. - -// Describes the status of returned resource. ChangeStatus could have up to 3 -// minutes delay to reflect a new change. -message ChangeStatus { - option (google.api.resource) = { - type: "googleads.googleapis.com/ChangeStatus" - pattern: "customers/{customer_id}/changeStatus/{change_status_id}" - }; - - // Output only. The resource name of the change status. - // Change status resource names have the form: - // - // `customers/{customer_id}/changeStatus/{change_status_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ChangeStatus" - } - ]; - - // Output only. Time at which the most recent change has occurred on this - // resource. - optional string last_change_date_time = 24 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Represents the type of the changed resource. This dictates - // what fields will be set. For example, for AD_GROUP, campaign and ad_group - // fields will be set. - google.ads.googleads.v13.enums.ChangeStatusResourceTypeEnum - .ChangeStatusResourceType resource_type = 4 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The Campaign affected by this change. - optional string campaign = 17 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Output only. The AdGroup affected by this change. - optional string ad_group = 18 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Output only. Represents the status of the changed resource. - google.ads.googleads.v13.enums.ChangeStatusOperationEnum.ChangeStatusOperation - resource_status = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The AdGroupAd affected by this change. - optional string ad_group_ad = 25 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAd" - } - ]; - - // Output only. The AdGroupCriterion affected by this change. - optional string ad_group_criterion = 26 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterion" - } - ]; - - // Output only. The CampaignCriterion affected by this change. - optional string campaign_criterion = 27 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignCriterion" - } - ]; - - // Output only. The Feed affected by this change. - optional string feed = 28 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { type: "googleads.googleapis.com/Feed" } - ]; - - // Output only. The FeedItem affected by this change. - optional string feed_item = 29 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItem" - } - ]; - - // Output only. The AdGroupFeed affected by this change. - optional string ad_group_feed = 30 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupFeed" - } - ]; - - // Output only. The CampaignFeed affected by this change. - optional string campaign_feed = 31 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignFeed" - } - ]; - - // Output only. The AdGroupBidModifier affected by this change. - optional string ad_group_bid_modifier = 32 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupBidModifier" - } - ]; - - // Output only. The SharedSet affected by this change. - string shared_set = 33 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/SharedSet" - } - ]; - - // Output only. The CampaignSharedSet affected by this change. - string campaign_shared_set = 34 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignSharedSet" - } - ]; - - // Output only. The Asset affected by this change. - string asset = 35 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { type: "googleads.googleapis.com/Asset" } - ]; - - // Output only. The CustomerAsset affected by this change. - string customer_asset = 36 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerAsset" - } - ]; - - // Output only. The CampaignAsset affected by this change. - string campaign_asset = 37 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignAsset" - } - ]; - - // Output only. The AdGroupAsset affected by this change. - string ad_group_asset = 38 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAsset" - } - ]; - - // Output only. The CombinedAudience affected by this change. - string combined_audience = 40 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CombinedAudience" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/click_view.proto b/third_party/googleapis/google/ads/googleads/v13/resources/click_view.proto deleted file mode 100644 index ba91bb0e5..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/click_view.proto +++ /dev/null @@ -1,110 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/click_location.proto"; -import "google/ads/googleads/v13/common/criteria.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ClickViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the ClickView resource. - -// A click view with metrics aggregated at each click level, including both -// valid and invalid clicks. For non-Search campaigns, metrics.clicks -// represents the number of valid and invalid interactions. -// Queries including ClickView must have a filter limiting the results to one -// day and can be requested for dates back to 90 days before the time of the -// request. -message ClickView { - option (google.api.resource) = { - type: "googleads.googleapis.com/ClickView" - pattern: "customers/{customer_id}/clickViews/{date}~{gclid}" - }; - - // Output only. The resource name of the click view. - // Click view resource names have the form: - // - // `customers/{customer_id}/clickViews/{date (yyyy-MM-dd)}~{gclid}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ClickView" - } - ]; - - // Output only. The Google Click ID. - optional string gclid = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The location criteria matching the area of interest associated - // with the impression. - google.ads.googleads.v13.common.ClickLocation area_of_interest = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The location criteria matching the location of presence - // associated with the impression. - google.ads.googleads.v13.common.ClickLocation location_of_presence = 4 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Page number in search results where the ad was shown. - optional int64 page_number = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The associated ad. - optional string ad_group_ad = 10 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAd" - } - ]; - - // Output only. The associated campaign location target, if one exists. - optional string campaign_location_target = 11 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/GeoTargetConstant" - } - ]; - - // Output only. The associated user list, if one exists. - optional string user_list = 12 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/UserList" - } - ]; - - // Output only. The associated keyword, if one exists and the click - // corresponds to the SEARCH channel. - string keyword = 13 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterion" - } - ]; - - // Output only. Basic information about the associated keyword, if it exists. - google.ads.googleads.v13.common.KeywordInfo keyword_info = 14 - [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/combined_audience.proto b/third_party/googleapis/google/ads/googleads/v13/resources/combined_audience.proto deleted file mode 100644 index 1b0a7962e..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/combined_audience.proto +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/combined_audience_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CombinedAudienceProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the Combined Audience resource. - -// Describe a resource for combined audiences which includes different -// audiences. -message CombinedAudience { - option (google.api.resource) = { - type: "googleads.googleapis.com/CombinedAudience" - pattern: "customers/{customer_id}/combinedAudiences/{combined_audience_id}" - }; - - // Immutable. The resource name of the combined audience. - // Combined audience names have the form: - // - // `customers/{customer_id}/combinedAudience/{combined_audience_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CombinedAudience" - } - ]; - - // Output only. ID of the combined audience. - int64 id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Status of this combined audience. Indicates whether the - // combined audience is enabled or removed. - google.ads.googleads.v13.enums.CombinedAudienceStatusEnum - .CombinedAudienceStatus status = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Name of the combined audience. It should be unique across all - // combined audiences. - string name = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Description of this combined audience. - string description = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/conversion_action.proto b/third_party/googleapis/google/ads/googleads/v13/resources/conversion_action.proto deleted file mode 100644 index e8fa5621d..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/conversion_action.proto +++ /dev/null @@ -1,210 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/tag_snippet.proto"; -import "google/ads/googleads/v13/enums/attribution_model.proto"; -import "google/ads/googleads/v13/enums/conversion_action_category.proto"; -import "google/ads/googleads/v13/enums/conversion_action_counting_type.proto"; -import "google/ads/googleads/v13/enums/conversion_action_status.proto"; -import "google/ads/googleads/v13/enums/conversion_action_type.proto"; -import "google/ads/googleads/v13/enums/conversion_origin.proto"; -import "google/ads/googleads/v13/enums/data_driven_model_status.proto"; -import "google/ads/googleads/v13/enums/mobile_app_vendor.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ConversionActionProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the Conversion Action resource. - -// A conversion action. -message ConversionAction { - option (google.api.resource) = { - type: "googleads.googleapis.com/ConversionAction" - pattern: "customers/{customer_id}/conversionActions/{conversion_action_id}" - }; - - // Settings related to this conversion action's attribution model. - message AttributionModelSettings { - // The attribution model type of this conversion action. - google.ads.googleads.v13.enums.AttributionModelEnum.AttributionModel - attribution_model = 1; - - // Output only. The status of the data-driven attribution model for the - // conversion action. - google.ads.googleads.v13.enums.DataDrivenModelStatusEnum - .DataDrivenModelStatus data_driven_model_status = 2 - [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Settings related to the value for conversion events associated with this - // conversion action. - message ValueSettings { - // The value to use when conversion events for this conversion action are - // sent with an invalid, disallowed or missing value, or when - // this conversion action is configured to always use the default value. - optional double default_value = 4; - - // The currency code to use when conversion events for this conversion - // action are sent with an invalid or missing currency code, or when this - // conversion action is configured to always use the default value. - optional string default_currency_code = 5; - - // Controls whether the default value and default currency code are used in - // place of the value and currency code specified in conversion events for - // this conversion action. - optional bool always_use_default_value = 6; - } - - // Settings related to a third party app analytics conversion action. - message ThirdPartyAppAnalyticsSettings { - // Output only. The event name of a third-party app analytics conversion. - optional string event_name = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Name of the third-party app analytics provider. - string provider_name = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Settings related to a Firebase conversion action. - message FirebaseSettings { - // Output only. The event name of a Firebase conversion. - optional string event_name = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The Firebase project ID of the conversion. - optional string project_id = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The GA property ID of the conversion. - int64 property_id = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The GA property name of the conversion. - string property_name = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Immutable. The resource name of the conversion action. - // Conversion action resource names have the form: - // - // `customers/{customer_id}/conversionActions/{conversion_action_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionAction" - } - ]; - - // Output only. The ID of the conversion action. - optional int64 id = 21 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The name of the conversion action. - // - // This field is required and should not be empty when creating new - // conversion actions. - optional string name = 22; - - // The status of this conversion action for conversion event accrual. - google.ads.googleads.v13.enums.ConversionActionStatusEnum - .ConversionActionStatus status = 4; - - // Immutable. The type of this conversion action. - google.ads.googleads.v13.enums.ConversionActionTypeEnum.ConversionActionType - type = 5 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The conversion origin of this conversion action. - google.ads.googleads.v13.enums.ConversionOriginEnum.ConversionOrigin origin = - 30 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // If a conversion action's primary_for_goal bit is false, the conversion - // action is non-biddable for all campaigns regardless of their customer - // conversion goal or campaign conversion goal. - // However, custom conversion goals do not respect primary_for_goal, so if - // a campaign has a custom conversion goal configured with a - // primary_for_goal = false conversion action, that conversion action is - // still biddable. - // By default, primary_for_goal will be true if not set. In V9, - // primary_for_goal can only be set to false after creation through an - // 'update' operation because it's not declared as optional. - optional bool primary_for_goal = 31; - - // The category of conversions reported for this conversion action. - google.ads.googleads.v13.enums.ConversionActionCategoryEnum - .ConversionActionCategory category = 6; - - // Output only. The resource name of the conversion action owner customer, or - // null if this is a system-defined conversion action. - optional string owner_customer = 23 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Customer" - } - ]; - - // Whether this conversion action should be included in the "conversions" - // metric. - optional bool include_in_conversions_metric = 24; - - // The maximum number of days that may elapse between an interaction - // (for example, a click) and a conversion event. - optional int64 click_through_lookback_window_days = 25; - - // The maximum number of days which may elapse between an impression and a - // conversion without an interaction. - optional int64 view_through_lookback_window_days = 26; - - // Settings related to the value for conversion events associated with this - // conversion action. - ValueSettings value_settings = 11; - - // How to count conversion events for the conversion action. - google.ads.googleads.v13.enums.ConversionActionCountingTypeEnum - .ConversionActionCountingType counting_type = 12; - - // Settings related to this conversion action's attribution model. - AttributionModelSettings attribution_model_settings = 13; - - // Output only. The snippets used for tracking conversions. - repeated google.ads.googleads.v13.common.TagSnippet tag_snippets = 14 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The phone call duration in seconds after which a conversion should be - // reported for this conversion action. - // - // The value must be between 0 and 10000, inclusive. - optional int64 phone_call_duration_seconds = 27; - - // App ID for an app conversion action. - optional string app_id = 28; - - // Output only. Mobile app vendor for an app conversion action. - google.ads.googleads.v13.enums.MobileAppVendorEnum.MobileAppVendor - mobile_app_vendor = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Firebase settings for Firebase conversion types. - FirebaseSettings firebase_settings = 18 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Third Party App Analytics settings for third party conversion - // types. - ThirdPartyAppAnalyticsSettings third_party_app_analytics_settings = 19 - [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/conversion_custom_variable.proto b/third_party/googleapis/google/ads/googleads/v13/resources/conversion_custom_variable.proto deleted file mode 100644 index 43605a4da..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/conversion_custom_variable.proto +++ /dev/null @@ -1,86 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/conversion_custom_variable_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ConversionCustomVariableProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the Conversion Custom Variable resource. - -// A conversion custom variable -// See "About custom variables for conversions" at -// https://support.google.com/google-ads/answer/9964350 -message ConversionCustomVariable { - option (google.api.resource) = { - type: "googleads.googleapis.com/ConversionCustomVariable" - pattern: "customers/{customer_id}/conversionCustomVariables/{conversion_custom_variable_id}" - }; - - // Immutable. The resource name of the conversion custom variable. - // Conversion custom variable resource names have the form: - // - // `customers/{customer_id}/conversionCustomVariables/{conversion_custom_variable_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionCustomVariable" - } - ]; - - // Output only. The ID of the conversion custom variable. - int64 id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Required. The name of the conversion custom variable. - // Name should be unique. The maximum length of name is 100 characters. - // There should not be any extra spaces before and after. - string name = 3 [(google.api.field_behavior) = REQUIRED]; - - // Required. Immutable. The tag of the conversion custom variable. It is used - // in the event snippet and sent to Google Ads along with conversion pings. - // For conversion uploads in Google Ads API, the resource name of the - // conversion custom variable is used. Tag should be unique. The maximum size - // of tag is 100 bytes. There should not be any extra spaces before and after. - // Currently only lowercase letters, numbers and underscores are allowed in - // the tag. - string tag = 4 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE - ]; - - // The status of the conversion custom variable for conversion event accrual. - google.ads.googleads.v13.enums.ConversionCustomVariableStatusEnum - .ConversionCustomVariableStatus status = 5; - - // Output only. The resource name of the customer that owns the conversion - // custom variable. - string owner_customer = 6 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Customer" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/conversion_goal_campaign_config.proto b/third_party/googleapis/google/ads/googleads/v13/resources/conversion_goal_campaign_config.proto deleted file mode 100644 index c8686ff67..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/conversion_goal_campaign_config.proto +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/goal_config_level.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ConversionGoalCampaignConfigProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Conversion goal settings for a Campaign. -message ConversionGoalCampaignConfig { - option (google.api.resource) = { - type: "googleads.googleapis.com/ConversionGoalCampaignConfig" - pattern: "customers/{customer_id}/conversionGoalCampaignConfigs/{campaign_id}" - }; - - // Immutable. The resource name of the conversion goal campaign config. - // Conversion goal campaign config resource names have the form: - // - // `customers/{customer_id}/conversionGoalCampaignConfigs/{campaign_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionGoalCampaignConfig" - } - ]; - - // Immutable. The campaign with which this conversion goal campaign config is - // associated. - string campaign = 2 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // The level of goal config the campaign is using. - google.ads.googleads.v13.enums.GoalConfigLevelEnum.GoalConfigLevel - goal_config_level = 3; - - // The custom conversion goal the campaign is using for optimization. - string custom_conversion_goal = 4 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomConversionGoal" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/conversion_value_rule.proto b/third_party/googleapis/google/ads/googleads/v13/resources/conversion_value_rule.proto deleted file mode 100644 index a44ffc2d1..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/conversion_value_rule.proto +++ /dev/null @@ -1,143 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/conversion_value_rule_status.proto"; -import "google/ads/googleads/v13/enums/value_rule_device_type.proto"; -import "google/ads/googleads/v13/enums/value_rule_geo_location_match_type.proto"; -import "google/ads/googleads/v13/enums/value_rule_operation.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ConversionValueRuleProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the Conversion Value Rule resource. - -// A conversion value rule -message ConversionValueRule { - option (google.api.resource) = { - type: "googleads.googleapis.com/ConversionValueRule" - pattern: "customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}" - }; - - // Action applied when rule is applied. - message ValueRuleAction { - // Specifies applied operation. - google.ads.googleads.v13.enums.ValueRuleOperationEnum.ValueRuleOperation - operation = 1; - - // Specifies applied value. - double value = 2; - } - - // Condition on Geo dimension. - message ValueRuleGeoLocationCondition { - // Geo locations that advertisers want to exclude. - repeated string excluded_geo_target_constants = 1 - [(google.api.resource_reference) = { - type: "googleads.googleapis.com/GeoTargetConstant" - }]; - - // Excluded Geo location match type. - google.ads.googleads.v13.enums.ValueRuleGeoLocationMatchTypeEnum - .ValueRuleGeoLocationMatchType excluded_geo_match_type = 2; - - // Geo locations that advertisers want to include. - repeated string geo_target_constants = 3 - [(google.api.resource_reference) = { - type: "googleads.googleapis.com/GeoTargetConstant" - }]; - - // Included Geo location match type. - google.ads.googleads.v13.enums.ValueRuleGeoLocationMatchTypeEnum - .ValueRuleGeoLocationMatchType geo_match_type = 4; - } - - // Condition on Device dimension. - message ValueRuleDeviceCondition { - // Value for device type condition. - repeated google.ads.googleads.v13.enums.ValueRuleDeviceTypeEnum - .ValueRuleDeviceType device_types = 1; - } - - // Condition on Audience dimension. - message ValueRuleAudienceCondition { - // User Lists. - // The Similar Audiences sunset starts May 2023. Refer to - // https://ads-developers.googleblog.com/2022/11/announcing-deprecation-and-sunset-of.html - // for other options. - repeated string user_lists = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/UserList" - }]; - - // User Interests. - repeated string user_interests = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/UserInterest" - }]; - } - - // Immutable. The resource name of the conversion value rule. - // Conversion value rule resource names have the form: - // - // `customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionValueRule" - } - ]; - - // Output only. The ID of the conversion value rule. - int64 id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Action applied when the rule is triggered. - ValueRuleAction action = 3; - - // Condition for Geo location that must be satisfied for the value rule to - // apply. - ValueRuleGeoLocationCondition geo_location_condition = 4; - - // Condition for device type that must be satisfied for the value rule to - // apply. - ValueRuleDeviceCondition device_condition = 5; - - // Condition for audience that must be satisfied for the value rule to apply. - ValueRuleAudienceCondition audience_condition = 6; - - // Output only. The resource name of the conversion value rule's owner - // customer. When the value rule is inherited from a manager customer, - // owner_customer will be the resource name of the manager whereas the - // customer in the resource_name will be of the requesting serving customer. - // ** Read-only ** - string owner_customer = 7 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Customer" - } - ]; - - // The status of the conversion value rule. - google.ads.googleads.v13.enums.ConversionValueRuleStatusEnum - .ConversionValueRuleStatus status = 8; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/conversion_value_rule_set.proto b/third_party/googleapis/google/ads/googleads/v13/resources/conversion_value_rule_set.proto deleted file mode 100644 index 960bbbe59..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/conversion_value_rule_set.proto +++ /dev/null @@ -1,108 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/conversion_action_category.proto"; -import "google/ads/googleads/v13/enums/conversion_value_rule_set_status.proto"; -import "google/ads/googleads/v13/enums/value_rule_set_attachment_type.proto"; -import "google/ads/googleads/v13/enums/value_rule_set_dimension.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ConversionValueRuleSetProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the Conversion Value Rule Set resource. - -// A conversion value rule set -message ConversionValueRuleSet { - option (google.api.resource) = { - type: "googleads.googleapis.com/ConversionValueRuleSet" - pattern: "customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}" - }; - - // Immutable. The resource name of the conversion value rule set. - // Conversion value rule set resource names have the form: - // - // `customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionValueRuleSet" - } - ]; - - // Output only. The ID of the conversion value rule set. - int64 id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Resource names of rules within the rule set. - repeated string conversion_value_rules = 3 - [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionValueRule" - }]; - - // Defines dimensions for Value Rule conditions. The condition types of value - // rules within this value rule set must be of these dimensions. The first - // entry in this list is the primary dimension of the included value rules. - // When using value rule primary dimension segmentation, conversion values - // will be segmented into the values adjusted by value rules and the original - // values, if some value rules apply. - repeated google.ads.googleads.v13.enums.ValueRuleSetDimensionEnum - .ValueRuleSetDimension dimensions = 4; - - // Output only. The resource name of the conversion value rule set's owner - // customer. When the value rule set is inherited from a manager customer, - // owner_customer will be the resource name of the manager whereas the - // customer in the resource_name will be of the requesting serving customer. - // ** Read-only ** - string owner_customer = 5 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Customer" - } - ]; - - // Immutable. Defines the scope where the conversion value rule set is - // attached. - google.ads.googleads.v13.enums.ValueRuleSetAttachmentTypeEnum - .ValueRuleSetAttachmentType attachment_type = 6 - [(google.api.field_behavior) = IMMUTABLE]; - - // The resource name of the campaign when the conversion value rule - // set is attached to a campaign. - string campaign = 7 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - }]; - - // Output only. The status of the conversion value rule set. - // ** Read-only ** - google.ads.googleads.v13.enums.ConversionValueRuleSetStatusEnum - .ConversionValueRuleSetStatus status = 8 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The conversion action categories of the conversion value rule - // set. - repeated google.ads.googleads.v13.enums.ConversionActionCategoryEnum - .ConversionActionCategory conversion_action_categories = 9 - [(google.api.field_behavior) = IMMUTABLE]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/currency_constant.proto b/third_party/googleapis/google/ads/googleads/v13/resources/currency_constant.proto deleted file mode 100644 index 9c09cf973..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/currency_constant.proto +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CurrencyConstantProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the Currency Constant resource. - -// A currency constant. -message CurrencyConstant { - option (google.api.resource) = { - type: "googleads.googleapis.com/CurrencyConstant" - pattern: "currencyConstants/{code}" - }; - - // Output only. The resource name of the currency constant. - // Currency constant resource names have the form: - // - // `currencyConstants/{code}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CurrencyConstant" - } - ]; - - // Output only. ISO 4217 three-letter currency code, for example, "USD" - optional string code = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Full English name of the currency. - optional string name = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Standard symbol for describing this currency, for example, '$' - // for US Dollars. - optional string symbol = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The billable unit for this currency. Billed amounts should be - // multiples of this value. - optional int64 billable_unit_micros = 9 - [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/custom_audience.proto b/third_party/googleapis/google/ads/googleads/v13/resources/custom_audience.proto deleted file mode 100644 index ad84596a2..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/custom_audience.proto +++ /dev/null @@ -1,109 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/custom_audience_member_type.proto"; -import "google/ads/googleads/v13/enums/custom_audience_status.proto"; -import "google/ads/googleads/v13/enums/custom_audience_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomAudienceProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the Custom Audience resource. - -// A custom audience. This is a list of users by interest. -message CustomAudience { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomAudience" - pattern: "customers/{customer_id}/customAudiences/{custom_audience_id}" - }; - - // Immutable. The resource name of the custom audience. - // Custom audience resource names have the form: - // - // `customers/{customer_id}/customAudiences/{custom_audience_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomAudience" - } - ]; - - // Output only. ID of the custom audience. - int64 id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Status of this custom audience. Indicates whether the custom - // audience is enabled or removed. - google.ads.googleads.v13.enums.CustomAudienceStatusEnum.CustomAudienceStatus - status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Name of the custom audience. It should be unique for all custom audiences - // created by a customer. - // This field is required for creating operations. - string name = 4; - - // Type of the custom audience. - // ("INTEREST" OR "PURCHASE_INTENT" is not allowed for newly created custom - // audience but kept for existing audiences) - google.ads.googleads.v13.enums.CustomAudienceTypeEnum.CustomAudienceType - type = 5; - - // Description of this custom audience. - string description = 6; - - // List of custom audience members that this custom audience is composed of. - // Members can be added during CustomAudience creation. If members are - // presented in UPDATE operation, existing members will be overridden. - repeated CustomAudienceMember members = 7; -} - -// A member of custom audience. A member can be a KEYWORD, URL, -// PLACE_CATEGORY or APP. It can only be created or removed but not changed. -message CustomAudienceMember { - // The type of custom audience member, KEYWORD, URL, PLACE_CATEGORY or APP. - google.ads.googleads.v13.enums.CustomAudienceMemberTypeEnum - .CustomAudienceMemberType member_type = 1; - - // The CustomAudienceMember value. One field is populated depending on the - // member type. - oneof value { - // A keyword or keyword phrase — at most 10 words and 80 characters. - // Languages with double-width characters such as Chinese, Japanese, - // or Korean, are allowed 40 characters, which describes the user's - // interests or actions. - string keyword = 2; - - // An HTTP URL, protocol-included — at most 2048 characters, which includes - // contents users have interests in. - string url = 3; - - // A place type described by a place category users visit. - int64 place_category = 4; - - // A package name of Android apps which users installed such as - // com.google.example. - string app = 5; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/custom_conversion_goal.proto b/third_party/googleapis/google/ads/googleads/v13/resources/custom_conversion_goal.proto deleted file mode 100644 index 74b6d43f6..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/custom_conversion_goal.proto +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/custom_conversion_goal_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomConversionGoalProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Custom conversion goal that can make arbitrary conversion actions biddable. -message CustomConversionGoal { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomConversionGoal" - pattern: "customers/{customer_id}/customConversionGoals/{goal_id}" - }; - - // Immutable. The resource name of the custom conversion goal. - // Custom conversion goal resource names have the form: - // - // `customers/{customer_id}/customConversionGoals/{goal_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomConversionGoal" - } - ]; - - // Immutable. The ID for this custom conversion goal. - int64 id = 2 [(google.api.field_behavior) = IMMUTABLE]; - - // The name for this custom conversion goal. - string name = 3; - - // Conversion actions that the custom conversion goal makes biddable. - repeated string conversion_actions = 4 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionAction" - }]; - - // The status of the custom conversion goal. - google.ads.googleads.v13.enums.CustomConversionGoalStatusEnum - .CustomConversionGoalStatus status = 5; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/custom_interest.proto b/third_party/googleapis/google/ads/googleads/v13/resources/custom_interest.proto deleted file mode 100644 index 8589ddbd6..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/custom_interest.proto +++ /dev/null @@ -1,91 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/custom_interest_member_type.proto"; -import "google/ads/googleads/v13/enums/custom_interest_status.proto"; -import "google/ads/googleads/v13/enums/custom_interest_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomInterestProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the Custom Interest resource. - -// A custom interest. This is a list of users by interest. -message CustomInterest { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomInterest" - pattern: "customers/{customer_id}/customInterests/{custom_interest_id}" - }; - - // Immutable. The resource name of the custom interest. - // Custom interest resource names have the form: - // - // `customers/{customer_id}/customInterests/{custom_interest_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomInterest" - } - ]; - - // Output only. Id of the custom interest. - optional int64 id = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Status of this custom interest. Indicates whether the custom interest is - // enabled or removed. - google.ads.googleads.v13.enums.CustomInterestStatusEnum.CustomInterestStatus - status = 3; - - // Name of the custom interest. It should be unique across the same custom - // affinity audience. - // This field is required for create operations. - optional string name = 9; - - // Type of the custom interest, CUSTOM_AFFINITY or CUSTOM_INTENT. - // By default the type is set to CUSTOM_AFFINITY. - google.ads.googleads.v13.enums.CustomInterestTypeEnum.CustomInterestType - type = 5; - - // Description of this custom interest audience. - optional string description = 10; - - // List of custom interest members that this custom interest is composed of. - // Members can be added during CustomInterest creation. If members are - // presented in UPDATE operation, existing members will be overridden. - repeated CustomInterestMember members = 7; -} - -// A member of custom interest audience. A member can be a keyword or url. -// It is immutable, that is, it can only be created or removed but not changed. -message CustomInterestMember { - // The type of custom interest member, KEYWORD or URL. - google.ads.googleads.v13.enums.CustomInterestMemberTypeEnum - .CustomInterestMemberType member_type = 1; - - // Keyword text when member_type is KEYWORD or URL string when - // member_type is URL. - optional string parameter = 3; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/customer.proto b/third_party/googleapis/google/ads/googleads/v13/resources/customer.proto deleted file mode 100644 index 2402506fd..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/customer.proto +++ /dev/null @@ -1,231 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/conversion_tracking_status_enum.proto"; -import "google/ads/googleads/v13/enums/customer_pay_per_conversion_eligibility_failure_reason.proto"; -import "google/ads/googleads/v13/enums/customer_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the Customer resource. - -// A customer. -message Customer { - option (google.api.resource) = { - type: "googleads.googleapis.com/Customer" - pattern: "customers/{customer_id}" - }; - - // Immutable. The resource name of the customer. - // Customer resource names have the form: - // - // `customers/{customer_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Customer" - } - ]; - - // Output only. The ID of the customer. - optional int64 id = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Optional, non-unique descriptive name of the customer. - optional string descriptive_name = 20; - - // Immutable. The currency in which the account operates. - // A subset of the currency codes from the ISO 4217 standard is - // supported. - optional string currency_code = 21 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The local timezone ID of the customer. - optional string time_zone = 22 [(google.api.field_behavior) = IMMUTABLE]; - - // The URL template for constructing a tracking URL out of parameters. - // Only mutable in an `update` operation. - optional string tracking_url_template = 23; - - // The URL template for appending params to the final URL. - // Only mutable in an `update` operation. - optional string final_url_suffix = 24; - - // Whether auto-tagging is enabled for the customer. - optional bool auto_tagging_enabled = 25; - - // Output only. Whether the Customer has a Partners program badge. If the - // Customer is not associated with the Partners program, this will be false. - // For more information, see - // https://support.google.com/partners/answer/3125774. - optional bool has_partners_badge = 26 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Whether the customer is a manager. - optional bool manager = 27 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Whether the customer is a test account. - optional bool test_account = 28 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Call reporting setting for a customer. Only mutable in an `update` - // operation. - CallReportingSetting call_reporting_setting = 10; - - // Output only. Conversion tracking setting for a customer. - ConversionTrackingSetting conversion_tracking_setting = 14 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Remarketing setting for a customer. - RemarketingSetting remarketing_setting = 15 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Reasons why the customer is not eligible to use - // PaymentMode.CONVERSIONS. If the list is empty, the customer is eligible. - // This field is read-only. - repeated google.ads.googleads.v13.enums - .CustomerPayPerConversionEligibilityFailureReasonEnum - .CustomerPayPerConversionEligibilityFailureReason - pay_per_conversion_eligibility_failure_reasons = 16 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Optimization score of the customer. - // - // Optimization score is an estimate of how well a customer's campaigns are - // set to perform. It ranges from 0% (0.0) to 100% (1.0). This field is null - // for all manager customers, and for unscored non-manager customers. - // - // See "About optimization score" at - // https://support.google.com/google-ads/answer/9061546. - // - // This field is read-only. - optional double optimization_score = 29 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Optimization score weight of the customer. - // - // Optimization score weight can be used to compare/aggregate optimization - // scores across multiple non-manager customers. The aggregate optimization - // score of a manager is computed as the sum over all of their customers of - // `Customer.optimization_score * Customer.optimization_score_weight`. This - // field is 0 for all manager customers, and for unscored non-manager - // customers. - // - // This field is read-only. - double optimization_score_weight = 30 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The status of the customer. - google.ads.googleads.v13.enums.CustomerStatusEnum.CustomerStatus status = 36 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. True if feed based location has been migrated to asset based - // location. - optional bool location_asset_auto_migration_done = 38 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. True if feed based image has been migrated to asset based - // image. - optional bool image_asset_auto_migration_done = 39 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Timestamp of migration from feed based location to asset base - // location in yyyy-MM-dd HH:mm:ss format. - optional string location_asset_auto_migration_done_date_time = 40 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Timestamp of migration from feed based image to asset base - // image in yyyy-MM-dd HH:mm:ss format. - optional string image_asset_auto_migration_done_date_time = 41 - [(google.api.field_behavior) = OUTPUT_ONLY]; -} - -// Call reporting setting for a customer. Only mutable in an `update` operation. -message CallReportingSetting { - // Enable reporting of phone call events by redirecting them through Google - // System. - optional bool call_reporting_enabled = 10; - - // Whether to enable call conversion reporting. - optional bool call_conversion_reporting_enabled = 11; - - // Customer-level call conversion action to attribute a call conversion to. - // If not set a default conversion action is used. Only in effect when - // call_conversion_reporting_enabled is set to true. - optional string call_conversion_action = 12 - [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionAction" - }]; -} - -// A collection of customer-wide settings related to Google Ads Conversion -// Tracking. -message ConversionTrackingSetting { - // Output only. The conversion tracking id used for this account. This id - // doesn't indicate whether the customer uses conversion tracking - // (conversion_tracking_status does). This field is read-only. - optional int64 conversion_tracking_id = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The conversion tracking id of the customer's manager. This is - // set when the customer is opted into cross account conversion tracking, and - // it overrides conversion_tracking_id. This field can only be managed through - // the Google Ads UI. This field is read-only. - optional int64 cross_account_conversion_tracking_id = 4 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Whether the customer has accepted customer data terms. If - // using cross-account conversion tracking, this value is inherited from the - // manager. This field is read-only. For more - // information, see https://support.google.com/adspolicy/answer/7475709. - bool accepted_customer_data_terms = 5 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Conversion tracking status. It indicates whether the customer - // is using conversion tracking, and who is the conversion tracking owner of - // this customer. If this customer is using cross-account conversion tracking, - // the value returned will differ based on the `login-customer-id` of the - // request. - google.ads.googleads.v13.enums.ConversionTrackingStatusEnum - .ConversionTrackingStatus conversion_tracking_status = 6 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Whether the customer is opted-in for enhanced conversions - // for leads. If using cross-account conversion tracking, this value is - // inherited from the manager. This field is read-only. - bool enhanced_conversions_for_leads_enabled = 7 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource name of the customer where conversions are - // created and managed. This field is read-only. - string google_ads_conversion_customer = 8 - [(google.api.field_behavior) = OUTPUT_ONLY]; -} - -// Remarketing setting for a customer. -message RemarketingSetting { - // Output only. The Google tag. - optional string google_global_site_tag = 2 - [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/customer_asset.proto b/third_party/googleapis/google/ads/googleads/v13/resources/customer_asset.proto deleted file mode 100644 index e08b5e282..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/customer_asset.proto +++ /dev/null @@ -1,98 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/asset_policy.proto"; -import "google/ads/googleads/v13/enums/asset_field_type.proto"; -import "google/ads/googleads/v13/enums/asset_link_primary_status.proto"; -import "google/ads/googleads/v13/enums/asset_link_primary_status_reason.proto"; -import "google/ads/googleads/v13/enums/asset_link_status.proto"; -import "google/ads/googleads/v13/enums/asset_source.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerAssetProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the CustomerAsset resource. - -// A link between a customer and an asset. -message CustomerAsset { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomerAsset" - pattern: "customers/{customer_id}/customerAssets/{asset_id}~{field_type}" - }; - - // Immutable. The resource name of the customer asset. - // CustomerAsset resource names have the form: - // - // `customers/{customer_id}/customerAssets/{asset_id}~{field_type}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerAsset" - } - ]; - - // Required. Immutable. The asset which is linked to the customer. - string asset = 2 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { type: "googleads.googleapis.com/Asset" } - ]; - - // Required. Immutable. Role that the asset takes for the customer link. - google.ads.googleads.v13.enums.AssetFieldTypeEnum.AssetFieldType field_type = - 3 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE - ]; - - // Output only. Source of the customer asset link. - google.ads.googleads.v13.enums.AssetSourceEnum.AssetSource source = 5 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Status of the customer asset. - google.ads.googleads.v13.enums.AssetLinkStatusEnum.AssetLinkStatus status = 4; - - // Output only. Provides the PrimaryStatus of this asset link. - // Primary status is meant essentially to differentiate between the plain - // "status" field, which has advertiser set values of enabled, paused, or - // removed. The primary status takes into account other signals (for assets - // its mainly policy and quality approvals) to come up with a more - // comprehensive status to indicate its serving state. - google.ads.googleads.v13.enums.AssetLinkPrimaryStatusEnum - .AssetLinkPrimaryStatus primary_status = 6 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Provides the details of the primary status and its associated - // reasons. - repeated google.ads.googleads.v13.common.AssetLinkPrimaryStatusDetails - primary_status_details = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Provides a list of reasons for why an asset is not serving or - // not serving at full capacity. - repeated google.ads.googleads.v13.enums.AssetLinkPrimaryStatusReasonEnum - .AssetLinkPrimaryStatusReason primary_status_reasons = 8 - [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/customer_asset_set.proto b/third_party/googleapis/google/ads/googleads/v13/resources/customer_asset_set.proto deleted file mode 100644 index c60ae79b2..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/customer_asset_set.proto +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/asset_set_link_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerAssetSetProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the CustomerAssetSet resource. - -// CustomerAssetSet is the linkage between a customer and an asset set. -// Adding a CustomerAssetSet links an asset set with a customer. -message CustomerAssetSet { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomerAssetSet" - pattern: "customers/{customer_id}/customerAssetSets/{asset_set_id}" - }; - - // Immutable. The resource name of the customer asset set. - // Asset set asset resource names have the form: - // - // `customers/{customer_id}/customerAssetSets/{asset_set_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerAssetSet" - } - ]; - - // Immutable. The asset set which is linked to the customer. - string asset_set = 2 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetSet" - } - ]; - - // Immutable. The customer to which this asset set is linked. - string customer = 3 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Customer" - } - ]; - - // Output only. The status of the customer asset set asset. Read-only. - google.ads.googleads.v13.enums.AssetSetLinkStatusEnum.AssetSetLinkStatus - status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/customer_client.proto b/third_party/googleapis/google/ads/googleads/v13/resources/customer_client.proto deleted file mode 100644 index 6bab27520..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/customer_client.proto +++ /dev/null @@ -1,106 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/customer_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerClientProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the CustomerClient resource. - -// A link between the given customer and a client customer. CustomerClients only -// exist for manager customers. All direct and indirect client customers are -// included, as well as the manager itself. -message CustomerClient { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomerClient" - pattern: "customers/{customer_id}/customerClients/{client_customer_id}" - }; - - // Output only. The resource name of the customer client. - // CustomerClient resource names have the form: - // `customers/{customer_id}/customerClients/{client_customer_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerClient" - } - ]; - - // Output only. The resource name of the client-customer which is linked to - // the given customer. Read only. - optional string client_customer = 12 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Customer" - } - ]; - - // Output only. Specifies whether this is a - // [hidden account](https://support.google.com/google-ads/answer/7519830). - // Read only. - optional bool hidden = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Distance between given customer and client. For self link, the - // level value will be 0. Read only. - optional int64 level = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Common Locale Data Repository (CLDR) string representation of - // the time zone of the client, for example, America/Los_Angeles. Read only. - optional string time_zone = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Identifies if the client is a test account. Read only. - optional bool test_account = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Identifies if the client is a manager. Read only. - optional bool manager = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Descriptive name for the client. Read only. - optional string descriptive_name = 18 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Currency code (for example, 'USD', 'EUR') for the client. Read - // only. - optional string currency_code = 19 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The ID of the client customer. Read only. - optional int64 id = 20 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource names of the labels owned by the requesting - // customer that are applied to the client customer. Label resource names have - // the form: - // - // `customers/{customer_id}/labels/{label_id}` - repeated string applied_labels = 21 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { type: "googleads.googleapis.com/Label" } - ]; - - // Output only. The status of the client customer. Read only. - google.ads.googleads.v13.enums.CustomerStatusEnum.CustomerStatus status = 22 - [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/customer_client_link.proto b/third_party/googleapis/google/ads/googleads/v13/resources/customer_client_link.proto deleted file mode 100644 index ae4b554d7..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/customer_client_link.proto +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/manager_link_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerClientLinkProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the CustomerClientLink resource. - -// Represents customer client link relationship. -message CustomerClientLink { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomerClientLink" - pattern: "customers/{customer_id}/customerClientLinks/{client_customer_id}~{manager_link_id}" - }; - - // Immutable. Name of the resource. - // CustomerClientLink resource names have the form: - // `customers/{customer_id}/customerClientLinks/{client_customer_id}~{manager_link_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerClientLink" - } - ]; - - // Immutable. The client customer linked to this customer. - optional string client_customer = 7 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Customer" - } - ]; - - // Output only. This is uniquely identifies a customer client link. Read only. - optional int64 manager_link_id = 8 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // This is the status of the link between client and manager. - google.ads.googleads.v13.enums.ManagerLinkStatusEnum.ManagerLinkStatus - status = 5; - - // The visibility of the link. Users can choose whether or not to see hidden - // links in the Google Ads UI. - // Default value is false - optional bool hidden = 9; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/customer_conversion_goal.proto b/third_party/googleapis/google/ads/googleads/v13/resources/customer_conversion_goal.proto deleted file mode 100644 index b89f7e41f..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/customer_conversion_goal.proto +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/conversion_action_category.proto"; -import "google/ads/googleads/v13/enums/conversion_origin.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerConversionGoalProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Biddability control for conversion actions with a matching category and -// origin. -message CustomerConversionGoal { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomerConversionGoal" - pattern: "customers/{customer_id}/customerConversionGoals/{category}~{source}" - }; - - // Immutable. The resource name of the customer conversion goal. - // Customer conversion goal resource names have the form: - // - // `customers/{customer_id}/customerConversionGoals/{category}~{origin}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerConversionGoal" - } - ]; - - // The conversion category of this customer conversion goal. Only - // conversion actions that have this category will be included in this goal. - google.ads.googleads.v13.enums.ConversionActionCategoryEnum - .ConversionActionCategory category = 2; - - // The conversion origin of this customer conversion goal. Only - // conversion actions that have this conversion origin will be included in - // this goal. - google.ads.googleads.v13.enums.ConversionOriginEnum.ConversionOrigin origin = - 3; - - // The biddability of the customer conversion goal. - bool biddable = 4; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/customer_customizer.proto b/third_party/googleapis/google/ads/googleads/v13/resources/customer_customizer.proto deleted file mode 100644 index b51cc95d1..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/customer_customizer.proto +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/customizer_value.proto"; -import "google/ads/googleads/v13/enums/customizer_value_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerCustomizerProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// A customizer value for the associated CustomizerAttribute at the Customer -// level. -message CustomerCustomizer { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomerCustomizer" - pattern: "customers/{customer_id}/customerCustomizers/{customizer_attribute_id}" - }; - - // Immutable. The resource name of the customer customizer. - // Customer customizer resource names have the form: - // - // `customers/{customer_id}/customerCustomizers/{customizer_attribute_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerCustomizer" - } - ]; - - // Required. Immutable. The customizer attribute which is linked to the - // customer. - string customizer_attribute = 2 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomizerAttribute" - } - ]; - - // Output only. The status of the customer customizer attribute. - google.ads.googleads.v13.enums.CustomizerValueStatusEnum.CustomizerValueStatus - status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Required. The value to associate with the customizer attribute at this - // level. The value must be of the type specified for the CustomizerAttribute. - google.ads.googleads.v13.common.CustomizerValue value = 4 - [(google.api.field_behavior) = REQUIRED]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/customer_extension_setting.proto b/third_party/googleapis/google/ads/googleads/v13/resources/customer_extension_setting.proto deleted file mode 100644 index c94b99028..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/customer_extension_setting.proto +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/extension_setting_device.proto"; -import "google/ads/googleads/v13/enums/extension_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerExtensionSettingProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the CustomerExtensionSetting resource. - -// A customer extension setting. -message CustomerExtensionSetting { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomerExtensionSetting" - pattern: "customers/{customer_id}/customerExtensionSettings/{extension_type}" - }; - - // Immutable. The resource name of the customer extension setting. - // CustomerExtensionSetting resource names have the form: - // - // `customers/{customer_id}/customerExtensionSettings/{extension_type}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerExtensionSetting" - } - ]; - - // Immutable. The extension type of the customer extension setting. - google.ads.googleads.v13.enums.ExtensionTypeEnum.ExtensionType - extension_type = 2 [(google.api.field_behavior) = IMMUTABLE]; - - // The resource names of the extension feed items to serve under the customer. - // ExtensionFeedItem resource names have the form: - // - // `customers/{customer_id}/extensionFeedItems/{feed_item_id}` - repeated string extension_feed_items = 5 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ExtensionFeedItem" - }]; - - // The device for which the extensions will serve. Optional. - google.ads.googleads.v13.enums.ExtensionSettingDeviceEnum - .ExtensionSettingDevice device = 4; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/customer_feed.proto b/third_party/googleapis/google/ads/googleads/v13/resources/customer_feed.proto deleted file mode 100644 index 627cbf886..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/customer_feed.proto +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/matching_function.proto"; -import "google/ads/googleads/v13/enums/feed_link_status.proto"; -import "google/ads/googleads/v13/enums/placeholder_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerFeedProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the CustomerFeed resource. - -// A customer feed. -message CustomerFeed { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomerFeed" - pattern: "customers/{customer_id}/customerFeeds/{feed_id}" - }; - - // Immutable. The resource name of the customer feed. - // Customer feed resource names have the form: - // - // `customers/{customer_id}/customerFeeds/{feed_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerFeed" - } - ]; - - // Immutable. The feed being linked to the customer. - optional string feed = 6 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { type: "googleads.googleapis.com/Feed" } - ]; - - // Indicates which placeholder types the feed may populate under the connected - // customer. Required. - repeated google.ads.googleads.v13.enums.PlaceholderTypeEnum.PlaceholderType - placeholder_types = 3; - - // Matching function associated with the CustomerFeed. - // The matching function is used to filter the set of feed items selected. - // Required. - google.ads.googleads.v13.common.MatchingFunction matching_function = 4; - - // Output only. Status of the customer feed. - // This field is read-only. - google.ads.googleads.v13.enums.FeedLinkStatusEnum.FeedLinkStatus status = 5 - [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/customer_label.proto b/third_party/googleapis/google/ads/googleads/v13/resources/customer_label.proto deleted file mode 100644 index 9ae985cd8..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/customer_label.proto +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerLabelProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the customer label resource. - -// Represents a relationship between a customer and a label. This customer may -// not have access to all the labels attached to it. Additional CustomerLabels -// may be returned by increasing permissions with login-customer-id. -message CustomerLabel { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomerLabel" - pattern: "customers/{customer_id}/customerLabels/{label_id}" - }; - - // Immutable. Name of the resource. - // Customer label resource names have the form: - // `customers/{customer_id}/customerLabels/{label_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerLabel" - } - ]; - - // Output only. The resource name of the customer to which the label is - // attached. Read only. - optional string customer = 4 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Customer" - } - ]; - - // Output only. The resource name of the label assigned to the customer. - // - // Note: the Customer ID portion of the label resource name is not - // validated when creating a new CustomerLabel. - optional string label = 5 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { type: "googleads.googleapis.com/Label" } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/customer_manager_link.proto b/third_party/googleapis/google/ads/googleads/v13/resources/customer_manager_link.proto deleted file mode 100644 index 5aafbf04d..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/customer_manager_link.proto +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/manager_link_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerManagerLinkProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the CustomerManagerLink resource. - -// Represents customer-manager link relationship. -message CustomerManagerLink { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomerManagerLink" - pattern: "customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}" - }; - - // Immutable. Name of the resource. - // CustomerManagerLink resource names have the form: - // `customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerManagerLink" - } - ]; - - // Output only. The manager customer linked to the customer. - optional string manager_customer = 6 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Customer" - } - ]; - - // Output only. ID of the customer-manager link. This field is read only. - optional int64 manager_link_id = 7 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Status of the link between the customer and the manager. - google.ads.googleads.v13.enums.ManagerLinkStatusEnum.ManagerLinkStatus - status = 5; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/customer_negative_criterion.proto b/third_party/googleapis/google/ads/googleads/v13/resources/customer_negative_criterion.proto deleted file mode 100644 index 2bbc1a326..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/customer_negative_criterion.proto +++ /dev/null @@ -1,88 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/criteria.proto"; -import "google/ads/googleads/v13/enums/criterion_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerNegativeCriterionProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the Customer Negative Criterion resource. - -// A negative criterion for exclusions at the customer level. -message CustomerNegativeCriterion { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomerNegativeCriterion" - pattern: "customers/{customer_id}/customerNegativeCriteria/{criterion_id}" - }; - - // Immutable. The resource name of the customer negative criterion. - // Customer negative criterion resource names have the form: - // - // `customers/{customer_id}/customerNegativeCriteria/{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerNegativeCriterion" - } - ]; - - // Output only. The ID of the criterion. - optional int64 id = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The type of the criterion. - google.ads.googleads.v13.enums.CriterionTypeEnum.CriterionType type = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The customer negative criterion. - // - // Exactly one must be set. - oneof criterion { - // Immutable. ContentLabel. - google.ads.googleads.v13.common.ContentLabelInfo content_label = 4 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. MobileApplication. - google.ads.googleads.v13.common.MobileApplicationInfo mobile_application = 5 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. MobileAppCategory. - google.ads.googleads.v13.common.MobileAppCategoryInfo mobile_app_category = - 6 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Placement. - google.ads.googleads.v13.common.PlacementInfo placement = 7 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. YouTube Video. - google.ads.googleads.v13.common.YouTubeVideoInfo youtube_video = 8 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. YouTube Channel. - google.ads.googleads.v13.common.YouTubeChannelInfo youtube_channel = 9 - [(google.api.field_behavior) = IMMUTABLE]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/customer_user_access.proto b/third_party/googleapis/google/ads/googleads/v13/resources/customer_user_access.proto deleted file mode 100644 index fb805434c..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/customer_user_access.proto +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/access_role.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerUserAccessProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the CustomerUserAccess resource. - -// Represents the permission of a single user onto a single customer. -message CustomerUserAccess { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomerUserAccess" - pattern: "customers/{customer_id}/customerUserAccesses/{user_id}" - }; - - // Immutable. Name of the resource. - // Resource names have the form: - // `customers/{customer_id}/customerUserAccesses/{user_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerUserAccess" - } - ]; - - // Output only. User id of the user with the customer access. - // Read only field - int64 user_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Email address of the user. - // Read only field - optional string email_address = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Access role of the user. - google.ads.googleads.v13.enums.AccessRoleEnum.AccessRole access_role = 4; - - // Output only. The customer user access creation time. - // Read only field - // The format is "YYYY-MM-DD HH:MM:SS". - // Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - optional string access_creation_date_time = 6 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The email address of the inviter user. - // Read only field - optional string inviter_user_email_address = 7 - [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/customer_user_access_invitation.proto b/third_party/googleapis/google/ads/googleads/v13/resources/customer_user_access_invitation.proto deleted file mode 100644 index da9ab7b73..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/customer_user_access_invitation.proto +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/access_invitation_status.proto"; -import "google/ads/googleads/v13/enums/access_role.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerUserAccessInvitationProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the CustomerUserAccessInvitation resource. - -// Represent an invitation to a new user on this customer account. -message CustomerUserAccessInvitation { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomerUserAccessInvitation" - pattern: "customers/{customer_id}/customerUserAccessInvitations/{invitation_id}" - }; - - // Immutable. Name of the resource. - // Resource names have the form: - // `customers/{customer_id}/customerUserAccessInvitations/{invitation_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerUserAccessInvitation" - } - ]; - - // Output only. The ID of the invitation. - // This field is read-only. - int64 invitation_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. Access role of the user. - google.ads.googleads.v13.enums.AccessRoleEnum.AccessRole access_role = 3 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Email address the invitation was sent to. - // This can differ from the email address of the account - // that accepts the invite. - string email_address = 4 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. Time invitation was created. - // This field is read-only. - // The format is "YYYY-MM-DD HH:MM:SS". - // Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - string creation_date_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Invitation status of the user. - google.ads.googleads.v13.enums.AccessInvitationStatusEnum - .AccessInvitationStatus invitation_status = 6 - [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/customizer_attribute.proto b/third_party/googleapis/google/ads/googleads/v13/resources/customizer_attribute.proto deleted file mode 100644 index 2cbf76591..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/customizer_attribute.proto +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/customizer_attribute_status.proto"; -import "google/ads/googleads/v13/enums/customizer_attribute_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomizerAttributeProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// A customizer attribute. -// Use CustomerCustomizer, CampaignCustomizer, AdGroupCustomizer, or -// AdGroupCriterionCustomizer to associate a customizer attribute and -// set its value at the customer, campaign, ad group, or ad group criterion -// level, respectively. -message CustomizerAttribute { - option (google.api.resource) = { - type: "googleads.googleapis.com/CustomizerAttribute" - pattern: "customers/{customer_id}/customizerAttributes/{customizer_attribute_id}" - }; - - // Immutable. The resource name of the customizer attribute. - // Customizer Attribute resource names have the form: - // - // `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomizerAttribute" - } - ]; - - // Output only. The ID of the customizer attribute. - int64 id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Required. Immutable. Name of the customizer attribute. Required. It must - // have a minimum length of 1 and maximum length of 40. Name of an enabled - // customizer attribute must be unique (case insensitive). - string name = 3 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE - ]; - - // Immutable. The type of the customizer attribute. - google.ads.googleads.v13.enums.CustomizerAttributeTypeEnum - .CustomizerAttributeType type = 4 - [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The status of the customizer attribute. - google.ads.googleads.v13.enums.CustomizerAttributeStatusEnum - .CustomizerAttributeStatus status = 5 - [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/detail_placement_view.proto b/third_party/googleapis/google/ads/googleads/v13/resources/detail_placement_view.proto deleted file mode 100644 index 39a3662b2..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/detail_placement_view.proto +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/placement_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "DetailPlacementViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the detail placement view resource. - -// A view with metrics aggregated by ad group and URL or YouTube video. -message DetailPlacementView { - option (google.api.resource) = { - type: "googleads.googleapis.com/DetailPlacementView" - pattern: "customers/{customer_id}/detailPlacementViews/{ad_group_id}~{base64_placement}" - }; - - // Output only. The resource name of the detail placement view. - // Detail placement view resource names have the form: - // - // `customers/{customer_id}/detailPlacementViews/{ad_group_id}~{base64_placement}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/DetailPlacementView" - } - ]; - - // Output only. The automatic placement string at detail level, e. g. website - // URL, mobile application ID, or a YouTube video ID. - optional string placement = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The display name is URL name for websites, YouTube video name - // for YouTube videos, and translated mobile app name for mobile apps. - optional string display_name = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. URL of the group placement, for example, domain, link to the - // mobile application in app store, or a YouTube channel URL. - optional string group_placement_target_url = 9 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. URL of the placement, for example, website, link to the mobile - // application in app store, or a YouTube video URL. - optional string target_url = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Type of the placement, for example, Website, YouTube Video, - // and Mobile Application. - google.ads.googleads.v13.enums.PlacementTypeEnum.PlacementType - placement_type = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/detailed_demographic.proto b/third_party/googleapis/google/ads/googleads/v13/resources/detailed_demographic.proto deleted file mode 100644 index 98b412bc8..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/detailed_demographic.proto +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/criterion_category_availability.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "DetailedDemographicProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the Detailed Demographic resource. - -// A detailed demographic: a particular interest-based vertical to be targeted -// to reach users based on long-term life facts. -message DetailedDemographic { - option (google.api.resource) = { - type: "googleads.googleapis.com/DetailedDemographic" - pattern: "customers/{customer_id}/detailedDemographics/{detailed_demographic_id}" - }; - - // Output only. The resource name of the detailed demographic. - // Detailed demographic resource names have the form: - // - // `customers/{customer_id}/detailedDemographics/{detailed_demographic_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/DetailedDemographic" - } - ]; - - // Output only. The ID of the detailed demographic. - int64 id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The name of the detailed demographic. For example,"Highest - // Level of Educational Attainment" - string name = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The parent of the detailed_demographic. - string parent = 4 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/DetailedDemographic" - } - ]; - - // Output only. True if the detailed demographic is launched to all channels - // and locales. - bool launched_to_all = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Availability information of the detailed demographic. - repeated google.ads.googleads.v13.common.CriterionCategoryAvailability - availabilities = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/display_keyword_view.proto b/third_party/googleapis/google/ads/googleads/v13/resources/display_keyword_view.proto deleted file mode 100644 index 910d46d2f..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/display_keyword_view.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "DisplayKeywordViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the display keyword view resource. - -// A display keyword view. -message DisplayKeywordView { - option (google.api.resource) = { - type: "googleads.googleapis.com/DisplayKeywordView" - pattern: "customers/{customer_id}/displayKeywordViews/{ad_group_id}~{criterion_id}" - }; - - // Output only. The resource name of the display keyword view. - // Display Keyword view resource names have the form: - // - // `customers/{customer_id}/displayKeywordViews/{ad_group_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/DisplayKeywordView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/distance_view.proto b/third_party/googleapis/google/ads/googleads/v13/resources/distance_view.proto deleted file mode 100644 index 4d7b6c698..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/distance_view.proto +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/distance_bucket.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "DistanceViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the DistanceView resource. - -// A distance view with metrics aggregated by the user's distance from an -// advertiser's location extensions. Each DistanceBucket includes all -// impressions that fall within its distance and a single impression will -// contribute to the metrics for all DistanceBuckets that include the user's -// distance. -message DistanceView { - option (google.api.resource) = { - type: "googleads.googleapis.com/DistanceView" - pattern: "customers/{customer_id}/distanceViews/{placeholder_chain_id}~{distance_bucket}" - }; - - // Output only. The resource name of the distance view. - // Distance view resource names have the form: - // - // `customers/{customer_id}/distanceViews/1~{distance_bucket}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/DistanceView" - } - ]; - - // Output only. Grouping of user distance from location extensions. - google.ads.googleads.v13.enums.DistanceBucketEnum.DistanceBucket - distance_bucket = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. True if the DistanceBucket is using the metric system, false - // otherwise. - optional bool metric_system = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/domain_category.proto b/third_party/googleapis/google/ads/googleads/v13/resources/domain_category.proto deleted file mode 100644 index 4c131f8ff..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/domain_category.proto +++ /dev/null @@ -1,94 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "DomainCategoryProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the Domain Category resource. - -// A category generated automatically by crawling a domain. If a campaign uses -// the DynamicSearchAdsSetting, then domain categories will be generated for -// the domain. The categories can be targeted using WebpageConditionInfo. -// See: https://support.google.com/google-ads/answer/2471185 -message DomainCategory { - option (google.api.resource) = { - type: "googleads.googleapis.com/DomainCategory" - pattern: "customers/{customer_id}/domainCategories/{campaign_id}~{base64_category}~{language_code}" - }; - - // Output only. The resource name of the domain category. - // Domain category resource names have the form: - // - // `customers/{customer_id}/domainCategories/{campaign_id}~{category_base64}~{language_code}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/DomainCategory" - } - ]; - - // Output only. The campaign this category is recommended for. - optional string campaign = 10 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Output only. Recommended category for the website domain, for example, if - // you have a website about electronics, the categories could be "cameras", - // "televisions", etc. - optional string category = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The language code specifying the language of the website, for - // example, "en" for English. The language can be specified in the - // DynamicSearchAdsSetting required for dynamic search ads. This is the - // language of the pages from your website that you want Google Ads to find, - // create ads for, and match searches with. - optional string language_code = 12 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The domain for the website. The domain can be specified in the - // DynamicSearchAdsSetting required for dynamic search ads. - optional string domain = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Fraction of pages on your site that this category matches. - optional double coverage_fraction = 14 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The position of this category in the set of categories. Lower - // numbers indicate a better match for the domain. null indicates not - // recommended. - optional int64 category_rank = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Indicates whether this category has sub-categories. - optional bool has_children = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The recommended cost per click for the category. - optional int64 recommended_cpc_bid_micros = 17 - [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/dynamic_search_ads_search_term_view.proto b/third_party/googleapis/google/ads/googleads/v13/resources/dynamic_search_ads_search_term_view.proto deleted file mode 100644 index b0373046e..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/dynamic_search_ads_search_term_view.proto +++ /dev/null @@ -1,88 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "DynamicSearchAdsSearchTermViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the Dynamic Search Ads Search Term View resource. - -// A dynamic search ads search term view. -message DynamicSearchAdsSearchTermView { - option (google.api.resource) = { - type: "googleads.googleapis.com/DynamicSearchAdsSearchTermView" - pattern: "customers/{customer_id}/dynamicSearchAdsSearchTermViews/{ad_group_id}~{search_term_fingerprint}~{headline_fingerprint}~{landing_page_fingerprint}~{page_url_fingerprint}" - }; - - // Output only. The resource name of the dynamic search ads search term view. - // Dynamic search ads search term view resource names have the form: - // - // `customers/{customer_id}/dynamicSearchAdsSearchTermViews/{ad_group_id}~{search_term_fingerprint}~{headline_fingerprint}~{landing_page_fingerprint}~{page_url_fingerprint}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/DynamicSearchAdsSearchTermView" - } - ]; - - // Output only. Search term - // - // This field is read-only. - optional string search_term = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The dynamically generated headline of the Dynamic Search Ad. - // - // This field is read-only. - optional string headline = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The dynamically selected landing page URL of the impression. - // - // This field is read-only. - optional string landing_page = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The URL of page feed item served for the impression. - // - // This field is read-only. - optional string page_url = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. True if query matches a negative keyword. - // - // This field is read-only. - optional bool has_negative_keyword = 13 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. True if query is added to targeted keywords. - // - // This field is read-only. - optional bool has_matching_keyword = 14 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. True if query matches a negative url. - // - // This field is read-only. - optional bool has_negative_url = 15 - [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/expanded_landing_page_view.proto b/third_party/googleapis/google/ads/googleads/v13/resources/expanded_landing_page_view.proto deleted file mode 100644 index 9489c105a..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/expanded_landing_page_view.proto +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ExpandedLandingPageViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the expanded landing page view resource. - -// A landing page view with metrics aggregated at the expanded final URL -// level. -message ExpandedLandingPageView { - option (google.api.resource) = { - type: "googleads.googleapis.com/ExpandedLandingPageView" - pattern: "customers/{customer_id}/expandedLandingPageViews/{expanded_final_url_fingerprint}" - }; - - // Output only. The resource name of the expanded landing page view. - // Expanded landing page view resource names have the form: - // - // `customers/{customer_id}/expandedLandingPageViews/{expanded_final_url_fingerprint}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ExpandedLandingPageView" - } - ]; - - // Output only. The final URL that clicks are directed to. - optional string expanded_final_url = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/experiment.proto b/third_party/googleapis/google/ads/googleads/v13/resources/experiment.proto deleted file mode 100644 index fe8e05cd1..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/experiment.proto +++ /dev/null @@ -1,110 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/metric_goal.proto"; -import "google/ads/googleads/v13/enums/async_action_status.proto"; -import "google/ads/googleads/v13/enums/experiment_status.proto"; -import "google/ads/googleads/v13/enums/experiment_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ExperimentProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the Experiment resource. - -// A Google ads experiment for users to experiment changes on multiple -// campaigns, compare the performance, and apply the effective changes. -message Experiment { - option (google.api.resource) = { - type: "googleads.googleapis.com/Experiment" - pattern: "customers/{customer_id}/experiments/{trial_id}" - }; - - // Immutable. The resource name of the experiment. - // Experiment resource names have the form: - // - // `customers/{customer_id}/experiments/{experiment_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Experiment" - } - ]; - - // Output only. The ID of the experiment. Read only. - optional int64 experiment_id = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Required. The name of the experiment. It must have a minimum length of 1 - // and maximum length of 1024. It must be unique under a customer. - string name = 10 [(google.api.field_behavior) = REQUIRED]; - - // The description of the experiment. It must have a minimum length of 1 and - // maximum length of 2048. - string description = 11; - - // For system managed experiments, the advertiser must provide a suffix during - // construction, in the setup stage before moving to initiated. The suffix - // will be appended to the in-design and experiment campaign names so that the - // name is base campaign name + suffix. - string suffix = 12; - - // Required. The product/feature that uses this experiment. - google.ads.googleads.v13.enums.ExperimentTypeEnum.ExperimentType type = 13 - [(google.api.field_behavior) = REQUIRED]; - - // The Advertiser-chosen status of this experiment. - google.ads.googleads.v13.enums.ExperimentStatusEnum.ExperimentStatus status = - 14; - - // Date when the experiment starts. By default, the experiment starts - // now or on the campaign's start date, whichever is later. If this field is - // set, then the experiment starts at the beginning of the specified date in - // the customer's time zone. - // - // Format: YYYY-MM-DD - // Example: 2019-03-14 - optional string start_date = 15; - - // Date when the experiment ends. By default, the experiment ends on - // the campaign's end date. If this field is set, then the experiment ends at - // the end of the specified date in the customer's time zone. - // - // Format: YYYY-MM-DD - // Example: 2019-04-18 - optional string end_date = 16; - - // The goals of this experiment. - repeated google.ads.googleads.v13.common.MetricGoal goals = 17; - - // Output only. The resource name of the long-running operation that can be - // used to poll for completion of experiment schedule or promote. The most - // recent long running operation is returned. - optional string long_running_operation = 18 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The status of the experiment promotion process. - google.ads.googleads.v13.enums.AsyncActionStatusEnum.AsyncActionStatus - promote_status = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/experiment_arm.proto b/third_party/googleapis/google/ads/googleads/v13/resources/experiment_arm.proto deleted file mode 100644 index 9028d42c9..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/experiment_arm.proto +++ /dev/null @@ -1,84 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ExperimentArmProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the Experiment arm resource. - -// A Google ads experiment for users to experiment changes on multiple -// campaigns, compare the performance, and apply the effective changes. -message ExperimentArm { - option (google.api.resource) = { - type: "googleads.googleapis.com/ExperimentArm" - pattern: "customers/{customer_id}/experimentArms/{trial_id}~{trial_arm_id}" - }; - - // Immutable. The resource name of the experiment arm. - // Experiment arm resource names have the form: - // - // `customers/{customer_id}/experimentArms/{TrialArm.trial_id}~{TrialArm.trial_arm_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ExperimentArm" - } - ]; - - // Immutable. The experiment to which the ExperimentArm belongs. - string experiment = 8 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Experiment" - } - ]; - - // Required. The name of the experiment arm. It must have a minimum length of - // 1 and maximum length of 1024. It must be unique under an experiment. - string name = 3 [(google.api.field_behavior) = REQUIRED]; - - // Whether this arm is a control arm. A control arm is the arm against - // which the other arms are compared. - bool control = 4; - - // Traffic split of the trial arm. The value should be between 1 and 100 - // and must total 100 between the two trial arms. - int64 traffic_split = 5; - - // List of campaigns in the trial arm. The max length is one. - repeated string campaigns = 6 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - }]; - - // Output only. The in design campaigns in the treatment experiment arm. - repeated string in_design_campaigns = 7 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/extension_feed_item.proto b/third_party/googleapis/google/ads/googleads/v13/resources/extension_feed_item.proto deleted file mode 100644 index 4ce3964f7..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/extension_feed_item.proto +++ /dev/null @@ -1,160 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/criteria.proto"; -import "google/ads/googleads/v13/common/extensions.proto"; -import "google/ads/googleads/v13/enums/extension_type.proto"; -import "google/ads/googleads/v13/enums/feed_item_status.proto"; -import "google/ads/googleads/v13/enums/feed_item_target_device.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ExtensionFeedItemProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the ExtensionFeedItem resource. - -// An extension feed item. -message ExtensionFeedItem { - option (google.api.resource) = { - type: "googleads.googleapis.com/ExtensionFeedItem" - pattern: "customers/{customer_id}/extensionFeedItems/{feed_item_id}" - }; - - // Immutable. The resource name of the extension feed item. - // Extension feed item resource names have the form: - // - // `customers/{customer_id}/extensionFeedItems/{feed_item_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ExtensionFeedItem" - } - ]; - - // Output only. The ID of this feed item. Read-only. - optional int64 id = 25 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The extension type of the extension feed item. - // This field is read-only. - google.ads.googleads.v13.enums.ExtensionTypeEnum.ExtensionType - extension_type = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Start time in which this feed item is effective and can begin serving. The - // time is in the customer's time zone. - // The format is "YYYY-MM-DD HH:MM:SS". - // Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - optional string start_date_time = 26; - - // End time in which this feed item is no longer effective and will stop - // serving. The time is in the customer's time zone. - // The format is "YYYY-MM-DD HH:MM:SS". - // Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - optional string end_date_time = 27; - - // List of non-overlapping schedules specifying all time intervals - // for which the feed item may serve. There can be a maximum of 6 schedules - // per day. - repeated google.ads.googleads.v13.common.AdScheduleInfo ad_schedules = 16; - - // The targeted device. - google.ads.googleads.v13.enums.FeedItemTargetDeviceEnum.FeedItemTargetDevice - device = 17; - - // The targeted geo target constant. - optional string targeted_geo_target_constant = 30 - [(google.api.resource_reference) = { - type: "googleads.googleapis.com/GeoTargetConstant" - }]; - - // The targeted keyword. - google.ads.googleads.v13.common.KeywordInfo targeted_keyword = 22; - - // Output only. Status of the feed item. - // This field is read-only. - google.ads.googleads.v13.enums.FeedItemStatusEnum.FeedItemStatus status = 4 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Extension type. - oneof extension { - // Sitelink extension. - google.ads.googleads.v13.common.SitelinkFeedItem sitelink_feed_item = 2; - - // Structured snippet extension. - google.ads.googleads.v13.common.StructuredSnippetFeedItem - structured_snippet_feed_item = 3; - - // App extension. - google.ads.googleads.v13.common.AppFeedItem app_feed_item = 7; - - // Call extension. - google.ads.googleads.v13.common.CallFeedItem call_feed_item = 8; - - // Callout extension. - google.ads.googleads.v13.common.CalloutFeedItem callout_feed_item = 9; - - // Text message extension. - google.ads.googleads.v13.common.TextMessageFeedItem text_message_feed_item = - 10; - - // Price extension. - google.ads.googleads.v13.common.PriceFeedItem price_feed_item = 11; - - // Promotion extension. - google.ads.googleads.v13.common.PromotionFeedItem promotion_feed_item = 12; - - // Output only. Location extension. Locations are synced from a Business - // Profile into a feed. This field is read-only. - google.ads.googleads.v13.common.LocationFeedItem location_feed_item = 14 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Affiliate location extension. Feed locations are populated - // by Google Ads based on a chain ID. This field is read-only. - google.ads.googleads.v13.common.AffiliateLocationFeedItem - affiliate_location_feed_item = 15 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Hotel Callout extension. - google.ads.googleads.v13.common.HotelCalloutFeedItem - hotel_callout_feed_item = 23; - - // Immutable. Advertiser provided image extension. - google.ads.googleads.v13.common.ImageFeedItem image_feed_item = 31 - [(google.api.field_behavior) = IMMUTABLE]; - } - - // Targeting at either the campaign or ad group level. Feed items that target - // a campaign or ad group will only serve with that resource. - oneof serving_resource_targeting { - // The targeted campaign. - string targeted_campaign = 28 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - }]; - - // The targeted ad group. - string targeted_ad_group = 29 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - }]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/feed.proto b/third_party/googleapis/google/ads/googleads/v13/resources/feed.proto deleted file mode 100644 index 334b59112..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/feed.proto +++ /dev/null @@ -1,191 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/affiliate_location_feed_relationship_type.proto"; -import "google/ads/googleads/v13/enums/feed_attribute_type.proto"; -import "google/ads/googleads/v13/enums/feed_origin.proto"; -import "google/ads/googleads/v13/enums/feed_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "FeedProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the Feed resource. - -// A feed. -message Feed { - option (google.api.resource) = { - type: "googleads.googleapis.com/Feed" - pattern: "customers/{customer_id}/feeds/{feed_id}" - }; - - // Data used to configure a location feed populated from Business Profile. - message PlacesLocationFeedData { - // Data used for authorization using OAuth. - message OAuthInfo { - // The HTTP method used to obtain authorization. - optional string http_method = 4; - - // The HTTP request URL used to obtain authorization. - optional string http_request_url = 5; - - // The HTTP authorization header used to obtain authorization. - optional string http_authorization_header = 6; - } - - // Immutable. Required authentication token (from OAuth API) for the email. - // This field can only be specified in a create request. All its subfields - // are not selectable. - OAuthInfo oauth_info = 1 [(google.api.field_behavior) = IMMUTABLE]; - - // Email address of a Business Profile or email address of a - // manager of the Business Profile. Required. - optional string email_address = 7; - - // Plus page ID of the managed business whose locations should be used. If - // this field is not set, then all businesses accessible by the user - // (specified by email_address) are used. - // This field is mutate-only and is not selectable. - string business_account_id = 8; - - // Used to filter Business Profile listings by business name. If - // business_name_filter is set, only listings with a matching business name - // are candidates to be sync'd into FeedItems. - optional string business_name_filter = 9; - - // Used to filter Business Profile listings by categories. If entries - // exist in category_filters, only listings that belong to any of the - // categories are candidates to be sync'd into FeedItems. If no entries - // exist in category_filters, then all listings are candidates for syncing. - repeated string category_filters = 11; - - // Used to filter Business Profile listings by labels. If entries exist in - // label_filters, only listings that has any of the labels set are - // candidates to be synchronized into FeedItems. If no entries exist in - // label_filters, then all listings are candidates for syncing. - repeated string label_filters = 12; - } - - // Data used to configure an affiliate location feed populated with the - // specified chains. - message AffiliateLocationFeedData { - // The list of chains that the affiliate location feed will sync the - // locations from. - repeated int64 chain_ids = 3; - - // The relationship the chains have with the advertiser. - google.ads.googleads.v13.enums.AffiliateLocationFeedRelationshipTypeEnum - .AffiliateLocationFeedRelationshipType relationship_type = 2; - } - - // Immutable. The resource name of the feed. - // Feed resource names have the form: - // - // `customers/{customer_id}/feeds/{feed_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { type: "googleads.googleapis.com/Feed" } - ]; - - // Output only. The ID of the feed. - // This field is read-only. - optional int64 id = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. Name of the feed. Required. - optional string name = 12 [(google.api.field_behavior) = IMMUTABLE]; - - // The Feed's attributes. Required on CREATE, unless - // system_feed_generation_data is provided, in which case Google Ads will - // update the feed with the correct attributes. - // Disallowed on UPDATE. Use attribute_operations to add new attributes. - repeated FeedAttribute attributes = 4; - - // The list of operations changing the feed attributes. Attributes can only - // be added, not removed. - repeated FeedAttributeOperation attribute_operations = 9; - - // Immutable. Specifies who manages the FeedAttributes for the Feed. - google.ads.googleads.v13.enums.FeedOriginEnum.FeedOrigin origin = 5 - [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. Status of the feed. - // This field is read-only. - google.ads.googleads.v13.enums.FeedStatusEnum.FeedStatus status = 8 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The system data for the Feed. This data specifies information for - // generating the feed items of the system generated feed. - oneof system_feed_generation_data { - // Data used to configure a location feed populated from Business Profile. - PlacesLocationFeedData places_location_feed_data = 6; - - // Data used to configure an affiliate location feed populated with - // the specified chains. - AffiliateLocationFeedData affiliate_location_feed_data = 7; - } -} - -// FeedAttributes define the types of data expected to be present in a Feed. A -// single FeedAttribute specifies the expected type of the FeedItemAttributes -// with the same FeedAttributeId. Optionally, a FeedAttribute can be marked as -// being part of a FeedItem's unique key. -message FeedAttribute { - // ID of the attribute. - optional int64 id = 5; - - // The name of the attribute. Required. - optional string name = 6; - - // Data type for feed attribute. Required. - google.ads.googleads.v13.enums.FeedAttributeTypeEnum.FeedAttributeType type = - 3; - - // Indicates that data corresponding to this attribute is part of a - // FeedItem's unique key. It defaults to false if it is unspecified. Note - // that a unique key is not required in a Feed's schema, in which case the - // FeedItems must be referenced by their feed_item_id. - optional bool is_part_of_key = 7; -} - -// Operation to be performed on a feed attribute list in a mutate. -message FeedAttributeOperation { - // The operator. - enum Operator { - // Unspecified. - UNSPECIFIED = 0; - - // Used for return value only. Represents value unknown in this version. - UNKNOWN = 1; - - // Add the attribute to the existing attributes. - ADD = 2; - } - - // Output only. Type of list operation to perform. - Operator operator = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The feed attribute being added to the list. - FeedAttribute value = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/feed_item.proto b/third_party/googleapis/google/ads/googleads/v13/resources/feed_item.proto deleted file mode 100644 index 8f87abcb7..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/feed_item.proto +++ /dev/null @@ -1,232 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/custom_parameter.proto"; -import "google/ads/googleads/v13/common/feed_common.proto"; -import "google/ads/googleads/v13/common/policy.proto"; -import "google/ads/googleads/v13/enums/feed_item_quality_approval_status.proto"; -import "google/ads/googleads/v13/enums/feed_item_quality_disapproval_reason.proto"; -import "google/ads/googleads/v13/enums/feed_item_status.proto"; -import "google/ads/googleads/v13/enums/feed_item_validation_status.proto"; -import "google/ads/googleads/v13/enums/geo_targeting_restriction.proto"; -import "google/ads/googleads/v13/enums/placeholder_type.proto"; -import "google/ads/googleads/v13/enums/policy_approval_status.proto"; -import "google/ads/googleads/v13/enums/policy_review_status.proto"; -import "google/ads/googleads/v13/errors/feed_item_validation_error.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the FeedItem resource. - -// A feed item. -message FeedItem { - option (google.api.resource) = { - type: "googleads.googleapis.com/FeedItem" - pattern: "customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}" - }; - - // Immutable. The resource name of the feed item. - // Feed item resource names have the form: - // - // `customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItem" - } - ]; - - // Immutable. The feed to which this feed item belongs. - optional string feed = 11 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { type: "googleads.googleapis.com/Feed" } - ]; - - // Output only. The ID of this feed item. - optional int64 id = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Start time in which this feed item is effective and can begin serving. The - // time is in the customer's time zone. - // The format is "YYYY-MM-DD HH:MM:SS". - // Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - optional string start_date_time = 13; - - // End time in which this feed item is no longer effective and will stop - // serving. The time is in the customer's time zone. - // The format is "YYYY-MM-DD HH:MM:SS". - // Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" - optional string end_date_time = 14; - - // The feed item's attribute values. - repeated FeedItemAttributeValue attribute_values = 6; - - // Geo targeting restriction specifies the type of location that can be used - // for targeting. - google.ads.googleads.v13.enums.GeoTargetingRestrictionEnum - .GeoTargetingRestriction geo_targeting_restriction = 7; - - // The list of mappings used to substitute custom parameter tags in a - // `tracking_url_template`, `final_urls`, or `mobile_final_urls`. - repeated google.ads.googleads.v13.common.CustomParameter - url_custom_parameters = 8; - - // Output only. Status of the feed item. - // This field is read-only. - google.ads.googleads.v13.enums.FeedItemStatusEnum.FeedItemStatus status = 9 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. List of info about a feed item's validation and approval state - // for active feed mappings. There will be an entry in the list for each type - // of feed mapping associated with the feed, for example, a feed with a - // sitelink and a call feed mapping would cause every feed item associated - // with that feed to have an entry in this list for both sitelink and call. - // This field is read-only. - repeated FeedItemPlaceholderPolicyInfo policy_infos = 10 - [(google.api.field_behavior) = OUTPUT_ONLY]; -} - -// A feed item attribute value. -message FeedItemAttributeValue { - // Id of the feed attribute for which the value is associated with. - optional int64 feed_attribute_id = 11; - - // Int64 value. Should be set if feed_attribute_id refers to a feed attribute - // of type INT64. - optional int64 integer_value = 12; - - // Bool value. Should be set if feed_attribute_id refers to a feed attribute - // of type BOOLEAN. - optional bool boolean_value = 13; - - // String value. Should be set if feed_attribute_id refers to a feed attribute - // of type STRING, URL or DATE_TIME. - // For STRING the maximum length is 1500 characters. For URL the maximum - // length is 2076 characters. For DATE_TIME the string must be in the format - // "YYYYMMDD HHMMSS". - optional string string_value = 14; - - // Double value. Should be set if feed_attribute_id refers to a feed attribute - // of type DOUBLE. - optional double double_value = 15; - - // Price value. Should be set if feed_attribute_id refers to a feed attribute - // of type PRICE. - google.ads.googleads.v13.common.Money price_value = 6; - - // Repeated int64 value. Should be set if feed_attribute_id refers to a feed - // attribute of type INT64_LIST. - repeated int64 integer_values = 16; - - // Repeated bool value. Should be set if feed_attribute_id refers to a feed - // attribute of type BOOLEAN_LIST. - repeated bool boolean_values = 17; - - // Repeated string value. Should be set if feed_attribute_id refers to a feed - // attribute of type STRING_LIST, URL_LIST or DATE_TIME_LIST. - // For STRING_LIST and URL_LIST the total size of the list in bytes may not - // exceed 3000. For DATE_TIME_LIST the number of elements may not exceed 200. - // - // For STRING_LIST the maximum length of each string element is 1500 - // characters. For URL_LIST the maximum length is 2076 characters. For - // DATE_TIME the format of the string must be the same as start and end time - // for the feed item. - repeated string string_values = 18; - - // Repeated double value. Should be set if feed_attribute_id refers to a feed - // attribute of type DOUBLE_LIST. - repeated double double_values = 19; -} - -// Policy, validation, and quality approval info for a feed item for the -// specified placeholder type. -message FeedItemPlaceholderPolicyInfo { - // Output only. The placeholder type. - google.ads.googleads.v13.enums.PlaceholderTypeEnum.PlaceholderType - placeholder_type_enum = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The FeedMapping that contains the placeholder type. - optional string feed_mapping_resource_name = 11 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Where the placeholder type is in the review process. - google.ads.googleads.v13.enums.PolicyReviewStatusEnum.PolicyReviewStatus - review_status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The overall approval status of the placeholder type, - // calculated based on the status of its individual policy topic entries. - google.ads.googleads.v13.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus - approval_status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The list of policy findings for the placeholder type. - repeated google.ads.googleads.v13.common.PolicyTopicEntry - policy_topic_entries = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The validation status of the palceholder type. - google.ads.googleads.v13.enums.FeedItemValidationStatusEnum - .FeedItemValidationStatus validation_status = 6 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. List of placeholder type validation errors. - repeated FeedItemValidationError validation_errors = 7 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Placeholder type quality evaluation approval status. - google.ads.googleads.v13.enums.FeedItemQualityApprovalStatusEnum - .FeedItemQualityApprovalStatus quality_approval_status = 8 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. List of placeholder type quality evaluation disapproval - // reasons. - repeated google.ads.googleads.v13.enums.FeedItemQualityDisapprovalReasonEnum - .FeedItemQualityDisapprovalReason quality_disapproval_reasons = 9 - [(google.api.field_behavior) = OUTPUT_ONLY]; -} - -// Stores a validation error and the set of offending feed attributes which -// together are responsible for causing a feed item validation error. -message FeedItemValidationError { - // Output only. Error code indicating what validation error was triggered. The - // description of the error can be found in the 'description' field. - google.ads.googleads.v13.errors.FeedItemValidationErrorEnum - .FeedItemValidationError validation_error = 1 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The description of the validation error. - optional string description = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Set of feed attributes in the feed item flagged during - // validation. If empty, no specific feed attributes can be associated with - // the error (for example, error across the entire feed item). - repeated int64 feed_attribute_ids = 7 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Any extra information related to this error which is not - // captured by validation_error and feed_attribute_id (for example, - // placeholder field IDs when feed_attribute_id is not mapped). Note that - // extra_info is not localized. - optional string extra_info = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/feed_item_set.proto b/third_party/googleapis/google/ads/googleads/v13/resources/feed_item_set.proto deleted file mode 100644 index 2e40e8b2d..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/feed_item_set.proto +++ /dev/null @@ -1,84 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/feed_item_set_filter_type_infos.proto"; -import "google/ads/googleads/v13/enums/feed_item_set_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemSetProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Represents a set of feed items. The set can be used and shared among certain -// feed item features. For instance, the set can be referenced within the -// matching functions of CustomerFeed, CampaignFeed, and AdGroupFeed. -message FeedItemSet { - option (google.api.resource) = { - type: "googleads.googleapis.com/FeedItemSet" - pattern: "customers/{customer_id}/feedItemSets/{feed_id}~{feed_item_set_id}" - }; - - // Immutable. The resource name of the feed item set. - // Feed item set resource names have the form: - // `customers/{customer_id}/feedItemSets/{feed_id}~{feed_item_set_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItemSet" - } - ]; - - // Immutable. The resource name of the feed containing the feed items in the - // set. Immutable. Required. - string feed = 2 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { type: "googleads.googleapis.com/Feed" } - ]; - - // Output only. ID of the set. - int64 feed_item_set_id = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Name of the set. Must be unique within the account. - string display_name = 4; - - // Output only. Status of the feed item set. - // This field is read-only. - google.ads.googleads.v13.enums.FeedItemSetStatusEnum.FeedItemSetStatus - status = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Represents a filter on locations in a feed item set. - // Only applicable if the parent Feed of the FeedItemSet is a LOCATION feed. - oneof dynamic_set_filter { - // Filter for dynamic location set. - // It is only used for sets of locations. - google.ads.googleads.v13.common.DynamicLocationSetFilter - dynamic_location_set_filter = 5; - - // Filter for dynamic affiliate location set. - // This field doesn't apply generally to feed item sets. It is only used for - // sets of affiliate locations. - google.ads.googleads.v13.common.DynamicAffiliateLocationSetFilter - dynamic_affiliate_location_set_filter = 6; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/feed_item_set_link.proto b/third_party/googleapis/google/ads/googleads/v13/resources/feed_item_set_link.proto deleted file mode 100644 index 2a8c04cb5..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/feed_item_set_link.proto +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemSetLinkProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the FeedItemSetLink resource. - -// Represents a link between a FeedItem and a FeedItemSet. -message FeedItemSetLink { - option (google.api.resource) = { - type: "googleads.googleapis.com/FeedItemSetLink" - pattern: "customers/{customer_id}/feedItemSetLinks/{feed_id}~{feed_item_set_id}~{feed_item_id}" - }; - - // Immutable. The resource name of the feed item set link. - // Feed item set link resource names have the form: - // `customers/{customer_id}/feedItemSetLinks/{feed_id}~{feed_item_set_id}~{feed_item_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItemSetLink" - } - ]; - - // Immutable. The linked FeedItem. - string feed_item = 2 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItem" - } - ]; - - // Immutable. The linked FeedItemSet. - string feed_item_set = 3 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItemSet" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/feed_item_target.proto b/third_party/googleapis/google/ads/googleads/v13/resources/feed_item_target.proto deleted file mode 100644 index e05b31c90..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/feed_item_target.proto +++ /dev/null @@ -1,114 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/criteria.proto"; -import "google/ads/googleads/v13/enums/feed_item_target_device.proto"; -import "google/ads/googleads/v13/enums/feed_item_target_status.proto"; -import "google/ads/googleads/v13/enums/feed_item_target_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemTargetProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the FeedItemTarget resource. - -// A feed item target. -message FeedItemTarget { - option (google.api.resource) = { - type: "googleads.googleapis.com/FeedItemTarget" - pattern: "customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id}" - }; - - // Immutable. The resource name of the feed item target. - // Feed item target resource names have the form: - // `customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItemTarget" - } - ]; - - // Immutable. The feed item to which this feed item target belongs. - optional string feed_item = 12 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItem" - } - ]; - - // Output only. The target type of this feed item target. This field is - // read-only. - google.ads.googleads.v13.enums.FeedItemTargetTypeEnum.FeedItemTargetType - feed_item_target_type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The ID of the targeted resource. This field is read-only. - optional int64 feed_item_target_id = 13 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Status of the feed item target. - // This field is read-only. - google.ads.googleads.v13.enums.FeedItemTargetStatusEnum.FeedItemTargetStatus - status = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The targeted resource. - oneof target { - // Immutable. The targeted campaign. - string campaign = 14 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Immutable. The targeted ad group. - string ad_group = 15 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Immutable. The targeted keyword. - google.ads.googleads.v13.common.KeywordInfo keyword = 7 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The targeted geo target constant resource name. - string geo_target_constant = 16 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/GeoTargetConstant" - } - ]; - - // Immutable. The targeted device. - google.ads.googleads.v13.enums.FeedItemTargetDeviceEnum.FeedItemTargetDevice - device = 9 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The targeted schedule. - google.ads.googleads.v13.common.AdScheduleInfo ad_schedule = 10 - [(google.api.field_behavior) = IMMUTABLE]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/feed_mapping.proto b/third_party/googleapis/google/ads/googleads/v13/resources/feed_mapping.proto deleted file mode 100644 index 5b1d596ca..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/feed_mapping.proto +++ /dev/null @@ -1,234 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/ad_customizer_placeholder_field.proto"; -import "google/ads/googleads/v13/enums/affiliate_location_placeholder_field.proto"; -import "google/ads/googleads/v13/enums/app_placeholder_field.proto"; -import "google/ads/googleads/v13/enums/call_placeholder_field.proto"; -import "google/ads/googleads/v13/enums/callout_placeholder_field.proto"; -import "google/ads/googleads/v13/enums/custom_placeholder_field.proto"; -import "google/ads/googleads/v13/enums/dsa_page_feed_criterion_field.proto"; -import "google/ads/googleads/v13/enums/education_placeholder_field.proto"; -import "google/ads/googleads/v13/enums/feed_mapping_criterion_type.proto"; -import "google/ads/googleads/v13/enums/feed_mapping_status.proto"; -import "google/ads/googleads/v13/enums/flight_placeholder_field.proto"; -import "google/ads/googleads/v13/enums/hotel_placeholder_field.proto"; -import "google/ads/googleads/v13/enums/image_placeholder_field.proto"; -import "google/ads/googleads/v13/enums/job_placeholder_field.proto"; -import "google/ads/googleads/v13/enums/local_placeholder_field.proto"; -import "google/ads/googleads/v13/enums/location_extension_targeting_criterion_field.proto"; -import "google/ads/googleads/v13/enums/location_placeholder_field.proto"; -import "google/ads/googleads/v13/enums/message_placeholder_field.proto"; -import "google/ads/googleads/v13/enums/placeholder_type.proto"; -import "google/ads/googleads/v13/enums/price_placeholder_field.proto"; -import "google/ads/googleads/v13/enums/promotion_placeholder_field.proto"; -import "google/ads/googleads/v13/enums/real_estate_placeholder_field.proto"; -import "google/ads/googleads/v13/enums/sitelink_placeholder_field.proto"; -import "google/ads/googleads/v13/enums/structured_snippet_placeholder_field.proto"; -import "google/ads/googleads/v13/enums/travel_placeholder_field.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "FeedMappingProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the FeedMapping resource. - -// A feed mapping. -message FeedMapping { - option (google.api.resource) = { - type: "googleads.googleapis.com/FeedMapping" - pattern: "customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id}" - }; - - // Immutable. The resource name of the feed mapping. - // Feed mapping resource names have the form: - // - // `customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedMapping" - } - ]; - - // Immutable. The feed of this feed mapping. - optional string feed = 7 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { type: "googleads.googleapis.com/Feed" } - ]; - - // Immutable. Feed attributes to field mappings. These mappings are a - // one-to-many relationship meaning that 1 feed attribute can be used to - // populate multiple placeholder fields, but 1 placeholder field can only draw - // data from 1 feed attribute. Ad Customizer is an exception, 1 placeholder - // field can be mapped to multiple feed attributes. Required. - repeated AttributeFieldMapping attribute_field_mappings = 5 - [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. Status of the feed mapping. - // This field is read-only. - google.ads.googleads.v13.enums.FeedMappingStatusEnum.FeedMappingStatus - status = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Feed mapping target. Can be either a placeholder or a criterion. For a - // given feed, the active FeedMappings must have unique targets. Required. - oneof target { - // Immutable. The placeholder type of this mapping (for example, if the - // mapping maps feed attributes to placeholder fields). - google.ads.googleads.v13.enums.PlaceholderTypeEnum.PlaceholderType - placeholder_type = 3 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The criterion type of this mapping (for example, if the - // mapping maps feed attributes to criterion fields). - google.ads.googleads.v13.enums.FeedMappingCriterionTypeEnum - .FeedMappingCriterionType criterion_type = 4 - [(google.api.field_behavior) = IMMUTABLE]; - } -} - -// Maps from feed attribute id to a placeholder or criterion field id. -message AttributeFieldMapping { - // Immutable. Feed attribute from which to map. - optional int64 feed_attribute_id = 24 - [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The placeholder field ID. If a placeholder field enum is not - // published in the current API version, then this field will be populated and - // the field oneof will be empty. This field is read-only. - optional int64 field_id = 25 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Placeholder or criterion field to be populated using data from - // the above feed attribute. Required. - oneof field { - // Immutable. Sitelink Placeholder Fields. - google.ads.googleads.v13.enums.SitelinkPlaceholderFieldEnum - .SitelinkPlaceholderField sitelink_field = 3 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Call Placeholder Fields. - google.ads.googleads.v13.enums.CallPlaceholderFieldEnum.CallPlaceholderField - call_field = 4 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. App Placeholder Fields. - google.ads.googleads.v13.enums.AppPlaceholderFieldEnum.AppPlaceholderField - app_field = 5 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. Location Placeholder Fields. This field is read-only. - google.ads.googleads.v13.enums.LocationPlaceholderFieldEnum - .LocationPlaceholderField location_field = 6 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Affiliate Location Placeholder Fields. This field is - // read-only. - google.ads.googleads.v13.enums.AffiliateLocationPlaceholderFieldEnum - .AffiliateLocationPlaceholderField affiliate_location_field = 7 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. Callout Placeholder Fields. - google.ads.googleads.v13.enums.CalloutPlaceholderFieldEnum - .CalloutPlaceholderField callout_field = 8 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Structured Snippet Placeholder Fields. - google.ads.googleads.v13.enums.StructuredSnippetPlaceholderFieldEnum - .StructuredSnippetPlaceholderField structured_snippet_field = 9 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Message Placeholder Fields. - google.ads.googleads.v13.enums.MessagePlaceholderFieldEnum - .MessagePlaceholderField message_field = 10 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Price Placeholder Fields. - google.ads.googleads.v13.enums.PricePlaceholderFieldEnum - .PricePlaceholderField price_field = 11 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Promotion Placeholder Fields. - google.ads.googleads.v13.enums.PromotionPlaceholderFieldEnum - .PromotionPlaceholderField promotion_field = 12 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Ad Customizer Placeholder Fields - google.ads.googleads.v13.enums.AdCustomizerPlaceholderFieldEnum - .AdCustomizerPlaceholderField ad_customizer_field = 13 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Dynamic Search Ad Page Feed Fields. - google.ads.googleads.v13.enums.DsaPageFeedCriterionFieldEnum - .DsaPageFeedCriterionField dsa_page_feed_field = 14 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Location Target Fields. - google.ads.googleads.v13.enums.LocationExtensionTargetingCriterionFieldEnum - .LocationExtensionTargetingCriterionField - location_extension_targeting_field = 15 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Education Placeholder Fields - google.ads.googleads.v13.enums.EducationPlaceholderFieldEnum - .EducationPlaceholderField education_field = 16 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Flight Placeholder Fields - google.ads.googleads.v13.enums.FlightPlaceholderFieldEnum - .FlightPlaceholderField flight_field = 17 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Custom Placeholder Fields - google.ads.googleads.v13.enums.CustomPlaceholderFieldEnum - .CustomPlaceholderField custom_field = 18 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Hotel Placeholder Fields - google.ads.googleads.v13.enums.HotelPlaceholderFieldEnum - .HotelPlaceholderField hotel_field = 19 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Real Estate Placeholder Fields - google.ads.googleads.v13.enums.RealEstatePlaceholderFieldEnum - .RealEstatePlaceholderField real_estate_field = 20 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Travel Placeholder Fields - google.ads.googleads.v13.enums.TravelPlaceholderFieldEnum - .TravelPlaceholderField travel_field = 21 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Local Placeholder Fields - google.ads.googleads.v13.enums.LocalPlaceholderFieldEnum - .LocalPlaceholderField local_field = 22 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Job Placeholder Fields - google.ads.googleads.v13.enums.JobPlaceholderFieldEnum.JobPlaceholderField - job_field = 23 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Image Placeholder Fields - google.ads.googleads.v13.enums.ImagePlaceholderFieldEnum - .ImagePlaceholderField image_field = 26 - [(google.api.field_behavior) = IMMUTABLE]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/feed_placeholder_view.proto b/third_party/googleapis/google/ads/googleads/v13/resources/feed_placeholder_view.proto deleted file mode 100644 index 312341ccb..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/feed_placeholder_view.proto +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/placeholder_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "FeedPlaceholderViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the FeedPlaceholderView resource. - -// A feed placeholder view. -message FeedPlaceholderView { - option (google.api.resource) = { - type: "googleads.googleapis.com/FeedPlaceholderView" - pattern: "customers/{customer_id}/feedPlaceholderViews/{placeholder_type}" - }; - - // Output only. The resource name of the feed placeholder view. - // Feed placeholder view resource names have the form: - // - // `customers/{customer_id}/feedPlaceholderViews/{placeholder_type}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedPlaceholderView" - } - ]; - - // Output only. The placeholder type of the feed placeholder view. - google.ads.googleads.v13.enums.PlaceholderTypeEnum.PlaceholderType - placeholder_type = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/gender_view.proto b/third_party/googleapis/google/ads/googleads/v13/resources/gender_view.proto deleted file mode 100644 index 3d81544cb..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/gender_view.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "GenderViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the gender view resource. - -// A gender view. -message GenderView { - option (google.api.resource) = { - type: "googleads.googleapis.com/GenderView" - pattern: "customers/{customer_id}/genderViews/{ad_group_id}~{criterion_id}" - }; - - // Output only. The resource name of the gender view. - // Gender view resource names have the form: - // - // `customers/{customer_id}/genderViews/{ad_group_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/GenderView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/geo_target_constant.proto b/third_party/googleapis/google/ads/googleads/v13/resources/geo_target_constant.proto deleted file mode 100644 index a4e5f0765..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/geo_target_constant.proto +++ /dev/null @@ -1,85 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/geo_target_constant_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "GeoTargetConstantProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the geo target constant resource. - -// A geo target constant. -message GeoTargetConstant { - option (google.api.resource) = { - type: "googleads.googleapis.com/GeoTargetConstant" - pattern: "geoTargetConstants/{criterion_id}" - }; - - // Output only. The resource name of the geo target constant. - // Geo target constant resource names have the form: - // - // `geoTargetConstants/{geo_target_constant_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/GeoTargetConstant" - } - ]; - - // Output only. The ID of the geo target constant. - optional int64 id = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Geo target constant English name. - optional string name = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The ISO-3166-1 alpha-2 country code that is associated with - // the target. - optional string country_code = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Geo target constant target type. - optional string target_type = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Geo target constant status. - google.ads.googleads.v13.enums.GeoTargetConstantStatusEnum - .GeoTargetConstantStatus status = 7 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The fully qualified English name, consisting of the target's - // name and that of its parent and country. - optional string canonical_name = 14 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource name of the parent geo target constant. - // Geo target constant resource names have the form: - // - // `geoTargetConstants/{parent_geo_target_constant_id}` - optional string parent_geo_target = 9 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/GeoTargetConstant" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/geographic_view.proto b/third_party/googleapis/google/ads/googleads/v13/resources/geographic_view.proto deleted file mode 100644 index 215f2660e..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/geographic_view.proto +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/geo_targeting_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "GeographicViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the geographic view resource. - -// A geographic view. -// -// Geographic View includes all metrics aggregated at the country level, -// one row per country. It reports metrics at either actual physical location of -// the user or an area of interest. If other segment fields are used, you may -// get more than one row per country. -message GeographicView { - option (google.api.resource) = { - type: "googleads.googleapis.com/GeographicView" - pattern: "customers/{customer_id}/geographicViews/{country_criterion_id}~{location_type}" - }; - - // Output only. The resource name of the geographic view. - // Geographic view resource names have the form: - // - // `customers/{customer_id}/geographicViews/{country_criterion_id}~{location_type}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/GeographicView" - } - ]; - - // Output only. Type of the geo targeting of the campaign. - google.ads.googleads.v13.enums.GeoTargetingTypeEnum.GeoTargetingType - location_type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Criterion Id for the country. - optional int64 country_criterion_id = 5 - [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/google_ads_field.proto b/third_party/googleapis/google/ads/googleads/v13/resources/google_ads_field.proto deleted file mode 100644 index 3371a1598..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/google_ads_field.proto +++ /dev/null @@ -1,113 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/google_ads_field_category.proto"; -import "google/ads/googleads/v13/enums/google_ads_field_data_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "GoogleAdsFieldProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the Google Ads Field resource. - -// A field or resource (artifact) used by GoogleAdsService. -message GoogleAdsField { - option (google.api.resource) = { - type: "googleads.googleapis.com/GoogleAdsField" - pattern: "googleAdsFields/{google_ads_field}" - }; - - // Output only. The resource name of the artifact. - // Artifact resource names have the form: - // - // `googleAdsFields/{name}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/GoogleAdsField" - } - ]; - - // Output only. The name of the artifact. - optional string name = 21 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The category of the artifact. - google.ads.googleads.v13.enums.GoogleAdsFieldCategoryEnum - .GoogleAdsFieldCategory category = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Whether the artifact can be used in a SELECT clause in search - // queries. - optional bool selectable = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Whether the artifact can be used in a WHERE clause in search - // queries. - optional bool filterable = 23 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Whether the artifact can be used in a ORDER BY clause in - // search queries. - optional bool sortable = 24 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The names of all resources, segments, and metrics that are - // selectable with the described artifact. - repeated string selectable_with = 25 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The names of all resources that are selectable with the - // described artifact. Fields from these resources do not segment metrics when - // included in search queries. - // - // This field is only set for artifacts whose category is RESOURCE. - repeated string attribute_resources = 26 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. This field lists the names of all metrics that are selectable - // with the described artifact when it is used in the FROM clause. It is only - // set for artifacts whose category is RESOURCE. - repeated string metrics = 27 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. This field lists the names of all artifacts, whether a segment - // or another resource, that segment metrics when included in search queries - // and when the described artifact is used in the FROM clause. It is only set - // for artifacts whose category is RESOURCE. - repeated string segments = 28 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Values the artifact can assume if it is a field of type ENUM. - // - // This field is only set for artifacts of category SEGMENT or ATTRIBUTE. - repeated string enum_values = 29 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. This field determines the operators that can be used with the - // artifact in WHERE clauses. - google.ads.googleads.v13.enums.GoogleAdsFieldDataTypeEnum - .GoogleAdsFieldDataType data_type = 12 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The URL of proto describing the artifact's data type. - optional string type_url = 30 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Whether the field artifact is repeated. - optional bool is_repeated = 31 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/group_placement_view.proto b/third_party/googleapis/google/ads/googleads/v13/resources/group_placement_view.proto deleted file mode 100644 index 3498b9ff3..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/group_placement_view.proto +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/placement_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "GroupPlacementViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the group placement view resource. - -// A group placement view. -message GroupPlacementView { - option (google.api.resource) = { - type: "googleads.googleapis.com/GroupPlacementView" - pattern: "customers/{customer_id}/groupPlacementViews/{ad_group_id}~{base64_placement}" - }; - - // Output only. The resource name of the group placement view. - // Group placement view resource names have the form: - // - // `customers/{customer_id}/groupPlacementViews/{ad_group_id}~{base64_placement}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/GroupPlacementView" - } - ]; - - // Output only. The automatic placement string at group level, e. g. web - // domain, mobile app ID, or a YouTube channel ID. - optional string placement = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Domain name for websites and YouTube channel name for YouTube - // channels. - optional string display_name = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. URL of the group placement, for example, domain, link to the - // mobile application in app store, or a YouTube channel URL. - optional string target_url = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Type of the placement, for example, Website, YouTube Channel, - // Mobile Application. - google.ads.googleads.v13.enums.PlacementTypeEnum.PlacementType - placement_type = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/hotel_group_view.proto b/third_party/googleapis/google/ads/googleads/v13/resources/hotel_group_view.proto deleted file mode 100644 index 1f45a1b8d..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/hotel_group_view.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "HotelGroupViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the hotel group view resource. - -// A hotel group view. -message HotelGroupView { - option (google.api.resource) = { - type: "googleads.googleapis.com/HotelGroupView" - pattern: "customers/{customer_id}/hotelGroupViews/{ad_group_id}~{criterion_id}" - }; - - // Output only. The resource name of the hotel group view. - // Hotel Group view resource names have the form: - // - // `customers/{customer_id}/hotelGroupViews/{ad_group_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/HotelGroupView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/hotel_performance_view.proto b/third_party/googleapis/google/ads/googleads/v13/resources/hotel_performance_view.proto deleted file mode 100644 index 57b3925a6..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/hotel_performance_view.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "HotelPerformanceViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the hotel performance view resource. - -// A hotel performance view. -message HotelPerformanceView { - option (google.api.resource) = { - type: "googleads.googleapis.com/HotelPerformanceView" - pattern: "customers/{customer_id}/hotelPerformanceView" - }; - - // Output only. The resource name of the hotel performance view. - // Hotel performance view resource names have the form: - // - // `customers/{customer_id}/hotelPerformanceView` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/HotelPerformanceView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/hotel_reconciliation.proto b/third_party/googleapis/google/ads/googleads/v13/resources/hotel_reconciliation.proto deleted file mode 100644 index 140f4cf39..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/hotel_reconciliation.proto +++ /dev/null @@ -1,120 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/hotel_reconciliation_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "HotelReconciliationProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the hotel reconciliation resource. - -// A hotel reconciliation. It contains conversion information from Hotel -// bookings to reconcile with advertiser records. These rows may be updated -// or canceled before billing through Bulk Uploads. -message HotelReconciliation { - option (google.api.resource) = { - type: "googleads.googleapis.com/HotelReconciliation" - pattern: "customers/{customer_id}/hotelReconciliations/{commission_id}" - }; - - // Immutable. The resource name of the hotel reconciliation. - // Hotel reconciliation resource names have the form: - // - // `customers/{customer_id}/hotelReconciliations/{commission_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/HotelReconciliation" - } - ]; - - // Required. Output only. The commission ID is Google's ID for this booking. - // Every booking event is assigned a Commission ID to help you match it to a - // guest stay. - string commission_id = 2 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = OUTPUT_ONLY - ]; - - // Output only. The order ID is the identifier for this booking as provided in - // the 'transaction_id' parameter of the conversion tracking tag. - string order_id = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource name for the Campaign associated with the - // conversion. - string campaign = 11 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Output only. Identifier for the Hotel Center account which provides the - // rates for the Hotel campaign. - int64 hotel_center_id = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Unique identifier for the booked property, as provided in the - // Hotel Center feed. The hotel ID comes from the 'ID' parameter of the - // conversion tracking tag. - string hotel_id = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Check-in date recorded when the booking is made. If the - // check-in date is modified at reconciliation, the revised date will then - // take the place of the original date in this column. Format is YYYY-MM-DD. - string check_in_date = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Check-out date recorded when the booking is made. If the - // check-in date is modified at reconciliation, the revised date will then - // take the place of the original date in this column. Format is YYYY-MM-DD. - string check_out_date = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Required. Output only. Reconciled value is the final value of a booking as - // paid by the guest. If original booking value changes for any reason, such - // as itinerary changes or room upsells, the reconciled value should be the - // full final amount collected. If a booking is canceled, the reconciled value - // should include the value of any cancellation fees or non-refundable nights - // charged. Value is in millionths of the base unit currency. For example, - // $12.35 would be represented as 12350000. Currency unit is in the default - // customer currency. - int64 reconciled_value_micros = 8 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = OUTPUT_ONLY - ]; - - // Output only. Whether a given booking has been billed. Once billed, a - // booking can't be modified. - bool billed = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Required. Output only. Current status of a booking with regards to - // reconciliation and billing. Bookings should be reconciled within 45 days - // after the check-out date. Any booking not reconciled within 45 days will be - // billed at its original value. - google.ads.googleads.v13.enums.HotelReconciliationStatusEnum - .HotelReconciliationStatus status = 10 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = OUTPUT_ONLY - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/income_range_view.proto b/third_party/googleapis/google/ads/googleads/v13/resources/income_range_view.proto deleted file mode 100644 index e61a18119..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/income_range_view.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "IncomeRangeViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the income range view resource. - -// An income range view. -message IncomeRangeView { - option (google.api.resource) = { - type: "googleads.googleapis.com/IncomeRangeView" - pattern: "customers/{customer_id}/incomeRangeViews/{ad_group_id}~{criterion_id}" - }; - - // Output only. The resource name of the income range view. - // Income range view resource names have the form: - // - // `customers/{customer_id}/incomeRangeViews/{ad_group_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/IncomeRangeView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/invoice.proto b/third_party/googleapis/google/ads/googleads/v13/resources/invoice.proto deleted file mode 100644 index 539e553b0..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/invoice.proto +++ /dev/null @@ -1,372 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/dates.proto"; -import "google/ads/googleads/v13/enums/invoice_type.proto"; -import "google/ads/googleads/v13/enums/month_of_year.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "InvoiceProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the Invoice resource. - -// An invoice. All invoice information is snapshotted to match the PDF invoice. -// For invoices older than the launch of InvoiceService, the snapshotted -// information may not match the PDF invoice. -message Invoice { - option (google.api.resource) = { - type: "googleads.googleapis.com/Invoice" - pattern: "customers/{customer_id}/invoices/{invoice_id}" - }; - - // Represents a summarized view at account level. - // AccountSummary fields are accessible only to customers on the allow-list. - message AccountSummary { - // Output only. The account associated with the account summary. - optional string customer = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Pretax billing correction subtotal amount, in micros. - optional int64 billing_correction_subtotal_amount_micros = 2 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Tax on billing correction, in micros. - optional int64 billing_correction_tax_amount_micros = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Total billing correction amount, in micros. - optional int64 billing_correction_total_amount_micros = 4 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Pretax coupon adjustment subtotal amount, in micros. - optional int64 coupon_adjustment_subtotal_amount_micros = 5 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Tax on coupon adjustment, in micros. - optional int64 coupon_adjustment_tax_amount_micros = 6 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Total coupon adjustment amount, in micros. - optional int64 coupon_adjustment_total_amount_micros = 7 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Pretax excess credit adjustment subtotal amount, in micros. - optional int64 excess_credit_adjustment_subtotal_amount_micros = 8 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Tax on excess credit adjustment, in micros. - optional int64 excess_credit_adjustment_tax_amount_micros = 9 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Total excess credit adjustment amount, in micros. - optional int64 excess_credit_adjustment_total_amount_micros = 10 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Pretax regulatory costs subtotal amount, in micros. - optional int64 regulatory_costs_subtotal_amount_micros = 11 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Tax on regulatory costs, in micros. - optional int64 regulatory_costs_tax_amount_micros = 12 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Total regulatory costs amount, in micros. - optional int64 regulatory_costs_total_amount_micros = 13 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Total pretax subtotal amount attributable to the account - // during the service period, in micros. - optional int64 subtotal_amount_micros = 14 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Total tax amount attributable to the account during the - // service period, in micros. - optional int64 tax_amount_micros = 15 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Total amount attributable to the account during the service - // period, in micros. This equals the sum of the subtotal_amount_micros and - // tax_amount_micros. - optional int64 total_amount_micros = 16 - [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Represents a summarized account budget billable cost. - message AccountBudgetSummary { - // Output only. The resource name of the customer associated with this - // account budget. This contains the customer ID, which appears on the - // invoice PDF as "Account ID". Customer resource names have the form: - // - // `customers/{customer_id}` - optional string customer = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The descriptive name of the account budget's customer. It - // appears on the invoice PDF as "Account". - optional string customer_descriptive_name = 11 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource name of the account budget associated with this - // summarized billable cost. AccountBudget resource names have the form: - // - // `customers/{customer_id}/accountBudgets/{account_budget_id}` - optional string account_budget = 12 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The name of the account budget. It appears on the invoice - // PDF as "Account budget". - optional string account_budget_name = 13 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The purchase order number of the account budget. It appears - // on the invoice PDF as "Purchase order". - optional string purchase_order_number = 14 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The pretax subtotal amount attributable to this budget - // during the service period, in micros. - optional int64 subtotal_amount_micros = 15 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The tax amount attributable to this budget during the - // service period, in micros. - optional int64 tax_amount_micros = 16 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The total amount attributable to this budget during the - // service period, in micros. This equals the sum of the account budget - // subtotal amount and the account budget tax amount. - optional int64 total_amount_micros = 17 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The billable activity date range of the account budget, - // within the service date range of this invoice. The end date is inclusive. - // This can be different from the account budget's start and end time. - google.ads.googleads.v13.common.DateRange billable_activity_date_range = 9 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Accessible only to customers on the allow-list. - // The pretax served amount attributable to this budget during the service - // period, in micros. This is only useful to reconcile invoice and delivery - // data. - optional int64 served_amount_micros = 18 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Accessible only to customers on the allow-list. - // The pretax billed amount attributable to this budget during the - // service period, in micros. This does not account for any adjustments. - optional int64 billed_amount_micros = 19 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Accessible only to customers on the allow-list. - // The pretax overdelivery amount attributable to this budget during the - // service period, in micros (negative value). - optional int64 overdelivery_amount_micros = 20 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Accessible only to customers on the allow-list. - // The pretax invalid activity amount attributable to this budget in - // previous months, in micros (negative value). - optional int64 invalid_activity_amount_micros = 21 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The list of summarized invalid activity credits with - // original linkages. - repeated InvalidActivitySummary invalid_activity_summaries = 22 - [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Details about the invalid activity for the invoice that contain - // additional details about invoice against which corrections are made. - message InvalidActivitySummary { - // Output only. Original month of service related to this invalid activity - // credit. - optional google.ads.googleads.v13.enums.MonthOfYearEnum.MonthOfYear - original_month_of_service = 1 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Original year of service related to this invalid activity - // credit. - optional string original_year_of_service = 2 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Original invoice number related to this invalid activity - // credit. - optional string original_invoice_id = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Original account budget name related to this invalid - // activity credit. - optional string original_account_budget_name = 4 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Original purchase order number related to this invalid - // activity credit. - optional string original_purchase_order_number = 5 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Invalid activity amount in micros. - optional int64 amount_micros = 6 - [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Output only. The resource name of the invoice. Multiple customers can share - // a given invoice, so multiple resource names may point to the same invoice. - // Invoice resource names have the form: - // - // `customers/{customer_id}/invoices/{invoice_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Invoice" - } - ]; - - // Output only. The ID of the invoice. It appears on the invoice PDF as - // "Invoice number". - optional string id = 25 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The type of invoice. - google.ads.googleads.v13.enums.InvoiceTypeEnum.InvoiceType type = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource name of this invoice's billing setup. - // - // `customers/{customer_id}/billingSetups/{billing_setup_id}` - optional string billing_setup = 26 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. A 16 digit ID used to identify the payments account associated - // with the billing setup, for example, "1234-5678-9012-3456". It appears on - // the invoice PDF as "Billing Account Number". - optional string payments_account_id = 27 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. A 12 digit ID used to identify the payments profile associated - // with the billing setup, for example, "1234-5678-9012". It appears on the - // invoice PDF as "Billing ID". - optional string payments_profile_id = 28 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The issue date in yyyy-mm-dd format. It appears on the invoice - // PDF as either "Issue date" or "Invoice date". - optional string issue_date = 29 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The due date in yyyy-mm-dd format. - optional string due_date = 30 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The service period date range of this invoice. The end date is - // inclusive. - google.ads.googleads.v13.common.DateRange service_date_range = 9 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The currency code. All costs are returned in this currency. A - // subset of the currency codes derived from the ISO 4217 standard is - // supported. - optional string currency_code = 31 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The pretax subtotal amount of invoice level adjustments, in - // micros. - int64 adjustments_subtotal_amount_micros = 19 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The sum of taxes on the invoice level adjustments, in micros. - int64 adjustments_tax_amount_micros = 20 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The total amount of invoice level adjustments, in micros. - int64 adjustments_total_amount_micros = 21 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The pretax subtotal amount of invoice level regulatory costs, - // in micros. - int64 regulatory_costs_subtotal_amount_micros = 22 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The sum of taxes on the invoice level regulatory costs, in - // micros. - int64 regulatory_costs_tax_amount_micros = 23 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The total amount of invoice level regulatory costs, in micros. - int64 regulatory_costs_total_amount_micros = 24 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The pretax subtotal amount, in micros. This equals the - // sum of the AccountBudgetSummary subtotal amounts, - // Invoice.adjustments_subtotal_amount_micros, and - // Invoice.regulatory_costs_subtotal_amount_micros. - // Starting with v6, the Invoice.regulatory_costs_subtotal_amount_micros is no - // longer included. - optional int64 subtotal_amount_micros = 33 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The sum of all taxes on the invoice, in micros. This equals - // the sum of the AccountBudgetSummary tax amounts, plus taxes not associated - // with a specific account budget. - optional int64 tax_amount_micros = 34 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The total amount, in micros. This equals the sum of - // Invoice.subtotal_amount_micros and Invoice.tax_amount_micros. - // Starting with v6, Invoice.regulatory_costs_subtotal_amount_micros is - // also added as it is no longer already included in - // Invoice.tax_amount_micros. - optional int64 total_amount_micros = 35 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource name of the original invoice corrected, wrote - // off, or canceled by this invoice, if applicable. If `corrected_invoice` is - // set, `replaced_invoices` will not be set. Invoice resource names have the - // form: - // - // `customers/{customer_id}/invoices/{invoice_id}` - optional string corrected_invoice = 36 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The resource name of the original invoice(s) being rebilled or - // replaced by this invoice, if applicable. There might be multiple replaced - // invoices due to invoice consolidation. The replaced invoices may not belong - // to the same payments account. If `replaced_invoices` is set, - // `corrected_invoice` will not be set. Invoice resource names have the form: - // - // `customers/{customer_id}/invoices/{invoice_id}` - repeated string replaced_invoices = 37 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The URL to a PDF copy of the invoice. Users need to pass in - // their OAuth token to request the PDF with this URL. - optional string pdf_url = 38 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The list of summarized account budget information associated - // with this invoice. - repeated AccountBudgetSummary account_budget_summaries = 18 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The list of summarized account information associated with - // this invoice. - repeated AccountSummary account_summaries = 39 - [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/keyword_plan.proto b/third_party/googleapis/google/ads/googleads/v13/resources/keyword_plan.proto deleted file mode 100644 index f78d4bc15..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/keyword_plan.proto +++ /dev/null @@ -1,83 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/dates.proto"; -import "google/ads/googleads/v13/enums/keyword_plan_forecast_interval.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the keyword plan resource. - -// A Keyword Planner plan. -// Max number of saved keyword plans: 10000. -// It's possible to remove plans if limit is reached. -message KeywordPlan { - option (google.api.resource) = { - type: "googleads.googleapis.com/KeywordPlan" - pattern: "customers/{customer_id}/keywordPlans/{keyword_plan_id}" - }; - - // Immutable. The resource name of the Keyword Planner plan. - // KeywordPlan resource names have the form: - // - // `customers/{customer_id}/keywordPlans/{kp_plan_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlan" - } - ]; - - // Output only. The ID of the keyword plan. - optional int64 id = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The name of the keyword plan. - // - // This field is required and should not be empty when creating new keyword - // plans. - optional string name = 6; - - // The date period used for forecasting the plan. - KeywordPlanForecastPeriod forecast_period = 4; -} - -// The forecasting period associated with the keyword plan. -message KeywordPlanForecastPeriod { - // Required. The date used for forecasting the Plan. - oneof interval { - // A future date range relative to the current date used for forecasting. - google.ads.googleads.v13.enums.KeywordPlanForecastIntervalEnum - .KeywordPlanForecastInterval date_interval = 1; - - // The custom date range used for forecasting. It cannot be greater than - // a year. - // The start and end dates must be in the future. Otherwise, an error will - // be returned when the forecasting action is performed. - // The start and end dates are inclusive. - google.ads.googleads.v13.common.DateRange date_range = 2; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/keyword_plan_ad_group.proto b/third_party/googleapis/google/ads/googleads/v13/resources/keyword_plan_ad_group.proto deleted file mode 100644 index c19ea6eeb..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/keyword_plan_ad_group.proto +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanAdGroupProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the keyword plan ad group resource. - -// A Keyword Planner ad group. -// Max number of keyword plan ad groups per plan: 200. -message KeywordPlanAdGroup { - option (google.api.resource) = { - type: "googleads.googleapis.com/KeywordPlanAdGroup" - pattern: "customers/{customer_id}/keywordPlanAdGroups/{keyword_plan_ad_group_id}" - }; - - // Immutable. The resource name of the Keyword Planner ad group. - // KeywordPlanAdGroup resource names have the form: - // - // `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlanAdGroup" - } - ]; - - // The keyword plan campaign to which this ad group belongs. - optional string keyword_plan_campaign = 6 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlanCampaign" - }]; - - // Output only. The ID of the keyword plan ad group. - optional int64 id = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The name of the keyword plan ad group. - // - // This field is required and should not be empty when creating keyword plan - // ad group. - optional string name = 8; - - // A default ad group max cpc bid in micros in account currency for all - // biddable keywords under the keyword plan ad group. - // If not set, will inherit from parent campaign. - optional int64 cpc_bid_micros = 9; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/keyword_plan_ad_group_keyword.proto b/third_party/googleapis/google/ads/googleads/v13/resources/keyword_plan_ad_group_keyword.proto deleted file mode 100644 index 3ebceaa18..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/keyword_plan_ad_group_keyword.proto +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/keyword_match_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanAdGroupKeywordProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the keyword plan ad group keyword resource. - -// A Keyword Plan ad group keyword. -// Max number of keyword plan keywords per plan: 10000. -message KeywordPlanAdGroupKeyword { - option (google.api.resource) = { - type: "googleads.googleapis.com/KeywordPlanAdGroupKeyword" - pattern: "customers/{customer_id}/keywordPlanAdGroupKeywords/{keyword_plan_ad_group_keyword_id}" - }; - - // Immutable. The resource name of the Keyword Plan ad group keyword. - // KeywordPlanAdGroupKeyword resource names have the form: - // - // `customers/{customer_id}/keywordPlanAdGroupKeywords/{kp_ad_group_keyword_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlanAdGroupKeyword" - } - ]; - - // The Keyword Plan ad group to which this keyword belongs. - optional string keyword_plan_ad_group = 8 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlanAdGroup" - }]; - - // Output only. The ID of the Keyword Plan keyword. - optional int64 id = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The keyword text. - optional string text = 10; - - // The keyword match type. - google.ads.googleads.v13.enums.KeywordMatchTypeEnum.KeywordMatchType - match_type = 5; - - // A keyword level max cpc bid in micros (for example, $1 = 1mm). The currency - // is the same as the account currency code. This will override any CPC bid - // set at the keyword plan ad group level. Not applicable for negative - // keywords. (negative = true) This field is Optional. - optional int64 cpc_bid_micros = 11; - - // Immutable. If true, the keyword is negative. - optional bool negative = 12 [(google.api.field_behavior) = IMMUTABLE]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/keyword_plan_campaign.proto b/third_party/googleapis/google/ads/googleads/v13/resources/keyword_plan_campaign.proto deleted file mode 100644 index e39a0b9ae..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/keyword_plan_campaign.proto +++ /dev/null @@ -1,98 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/keyword_plan_network.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanCampaignProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the keyword plan campaign resource. - -// A Keyword Plan campaign. -// Max number of keyword plan campaigns per plan allowed: 1. -message KeywordPlanCampaign { - option (google.api.resource) = { - type: "googleads.googleapis.com/KeywordPlanCampaign" - pattern: "customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}" - }; - - // Immutable. The resource name of the Keyword Plan campaign. - // KeywordPlanCampaign resource names have the form: - // - // `customers/{customer_id}/keywordPlanCampaigns/{kp_campaign_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlanCampaign" - } - ]; - - // The keyword plan this campaign belongs to. - optional string keyword_plan = 9 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlan" - }]; - - // Output only. The ID of the Keyword Plan campaign. - optional int64 id = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The name of the Keyword Plan campaign. - // - // This field is required and should not be empty when creating Keyword Plan - // campaigns. - optional string name = 11; - - // The languages targeted for the Keyword Plan campaign. - // Max allowed: 1. - repeated string language_constants = 12 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/LanguageConstant" - }]; - - // Targeting network. - // - // This field is required and should not be empty when creating Keyword Plan - // campaigns. - google.ads.googleads.v13.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork - keyword_plan_network = 6; - - // A default max cpc bid in micros, and in the account currency, for all ad - // groups under the campaign. - // - // This field is required and should not be empty when creating Keyword Plan - // campaigns. - optional int64 cpc_bid_micros = 13; - - // The geo targets. - // Max number allowed: 20. - repeated KeywordPlanGeoTarget geo_targets = 8; -} - -// A geo target. -message KeywordPlanGeoTarget { - // Required. The resource name of the geo target. - optional string geo_target_constant = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/GeoTargetConstant" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/keyword_plan_campaign_keyword.proto b/third_party/googleapis/google/ads/googleads/v13/resources/keyword_plan_campaign_keyword.proto deleted file mode 100644 index 27eaa6acd..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/keyword_plan_campaign_keyword.proto +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/keyword_match_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanCampaignKeywordProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the keyword plan negative keyword resource. - -// A Keyword Plan Campaign keyword. -// Only negative keywords are supported for Campaign Keyword. -message KeywordPlanCampaignKeyword { - option (google.api.resource) = { - type: "googleads.googleapis.com/KeywordPlanCampaignKeyword" - pattern: "customers/{customer_id}/keywordPlanCampaignKeywords/{keyword_plan_campaign_keyword_id}" - }; - - // Immutable. The resource name of the Keyword Plan Campaign keyword. - // KeywordPlanCampaignKeyword resource names have the form: - // - // `customers/{customer_id}/keywordPlanCampaignKeywords/{kp_campaign_keyword_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlanCampaignKeyword" - } - ]; - - // The Keyword Plan campaign to which this negative keyword belongs. - optional string keyword_plan_campaign = 8 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlanCampaign" - }]; - - // Output only. The ID of the Keyword Plan negative keyword. - optional int64 id = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The keyword text. - optional string text = 10; - - // The keyword match type. - google.ads.googleads.v13.enums.KeywordMatchTypeEnum.KeywordMatchType - match_type = 5; - - // Immutable. If true, the keyword is negative. - // Must be set to true. Only negative campaign keywords are supported. - optional bool negative = 11 [(google.api.field_behavior) = IMMUTABLE]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/keyword_theme_constant.proto b/third_party/googleapis/google/ads/googleads/v13/resources/keyword_theme_constant.proto deleted file mode 100644 index 793a54bc8..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/keyword_theme_constant.proto +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "KeywordThemeConstantProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the Smart Campaign keyword theme constant resource. - -// A Smart Campaign keyword theme constant. -message KeywordThemeConstant { - option (google.api.resource) = { - type: "googleads.googleapis.com/KeywordThemeConstant" - pattern: "keywordThemeConstants/{express_category_id}~{express_sub_category_id}" - }; - - // Output only. The resource name of the keyword theme constant. - // Keyword theme constant resource names have the form: - // - // `keywordThemeConstants/{keyword_theme_id}~{sub_keyword_theme_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordThemeConstant" - } - ]; - - // Output only. The ISO-3166 Alpha-2 country code of the constant, eg. "US". - // To display and query matching purpose, the keyword theme needs to be - // localized. - optional string country_code = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The ISO-639-1 language code with 2 letters of the constant, - // eg. "en". To display and query matching purpose, the keyword theme needs to - // be localized. - optional string language_code = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The display name of the keyword theme or sub keyword theme. - optional string display_name = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/keyword_view.proto b/third_party/googleapis/google/ads/googleads/v13/resources/keyword_view.proto deleted file mode 100644 index b9bd60469..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/keyword_view.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "KeywordViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the keyword view resource. - -// A keyword view. -message KeywordView { - option (google.api.resource) = { - type: "googleads.googleapis.com/KeywordView" - pattern: "customers/{customer_id}/keywordViews/{ad_group_id}~{criterion_id}" - }; - - // Output only. The resource name of the keyword view. - // Keyword view resource names have the form: - // - // `customers/{customer_id}/keywordViews/{ad_group_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/label.proto b/third_party/googleapis/google/ads/googleads/v13/resources/label.proto deleted file mode 100644 index 1f43226c8..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/label.proto +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/text_label.proto"; -import "google/ads/googleads/v13/enums/label_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "LabelProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// A label. -message Label { - option (google.api.resource) = { - type: "googleads.googleapis.com/Label" - pattern: "customers/{customer_id}/labels/{label_id}" - }; - - // Immutable. Name of the resource. - // Label resource names have the form: - // `customers/{customer_id}/labels/{label_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { type: "googleads.googleapis.com/Label" } - ]; - - // Output only. ID of the label. Read only. - optional int64 id = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The name of the label. - // - // This field is required and should not be empty when creating a new label. - // - // The length of this string should be between 1 and 80, inclusive. - optional string name = 7; - - // Output only. Status of the label. Read only. - google.ads.googleads.v13.enums.LabelStatusEnum.LabelStatus status = 4 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // A type of label displaying text on a colored background. - google.ads.googleads.v13.common.TextLabel text_label = 5; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/landing_page_view.proto b/third_party/googleapis/google/ads/googleads/v13/resources/landing_page_view.proto deleted file mode 100644 index 3627436e3..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/landing_page_view.proto +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "LandingPageViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the landing page view resource. - -// A landing page view with metrics aggregated at the unexpanded final URL -// level. -message LandingPageView { - option (google.api.resource) = { - type: "googleads.googleapis.com/LandingPageView" - pattern: "customers/{customer_id}/landingPageViews/{unexpanded_final_url_fingerprint}" - }; - - // Output only. The resource name of the landing page view. - // Landing page view resource names have the form: - // - // `customers/{customer_id}/landingPageViews/{unexpanded_final_url_fingerprint}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/LandingPageView" - } - ]; - - // Output only. The advertiser-specified final URL. - optional string unexpanded_final_url = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/language_constant.proto b/third_party/googleapis/google/ads/googleads/v13/resources/language_constant.proto deleted file mode 100644 index 907e51750..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/language_constant.proto +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "LanguageConstantProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the language constant resource. - -// A language. -message LanguageConstant { - option (google.api.resource) = { - type: "googleads.googleapis.com/LanguageConstant" - pattern: "languageConstants/{criterion_id}" - }; - - // Output only. The resource name of the language constant. - // Language constant resource names have the form: - // - // `languageConstants/{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/LanguageConstant" - } - ]; - - // Output only. The ID of the language constant. - optional int64 id = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The language code, for example, "en_US", "en_AU", "es", "fr", - // etc. - optional string code = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The full name of the language in English, for example, - // "English (US)", "Spanish", etc. - optional string name = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Whether the language is targetable. - optional bool targetable = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/lead_form_submission_data.proto b/third_party/googleapis/google/ads/googleads/v13/resources/lead_form_submission_data.proto deleted file mode 100644 index 2a2066906..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/lead_form_submission_data.proto +++ /dev/null @@ -1,122 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/lead_form_field_user_input_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "LeadFormSubmissionDataProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the lead form submission data resource. - -// Data from lead form submissions. -message LeadFormSubmissionData { - option (google.api.resource) = { - type: "googleads.googleapis.com/LeadFormSubmissionData" - pattern: "customers/{customer_id}/leadFormSubmissionData/{lead_form_user_submission_id}" - }; - - // Output only. The resource name of the lead form submission data. - // Lead form submission data resource names have the form: - // - // `customers/{customer_id}/leadFormSubmissionData/{lead_form_submission_data_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/LeadFormSubmissionData" - } - ]; - - // Output only. ID of this lead form submission. - string id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Asset associated with the submitted lead form. - string asset = 3 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { type: "googleads.googleapis.com/Asset" } - ]; - - // Output only. Campaign associated with the submitted lead form. - string campaign = 4 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Output only. Submission data associated with a lead form. - repeated LeadFormSubmissionField lead_form_submission_fields = 5 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Submission data associated with a custom lead form. - repeated CustomLeadFormSubmissionField custom_lead_form_submission_fields = 10 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. AdGroup associated with the submitted lead form. - string ad_group = 6 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Output only. AdGroupAd associated with the submitted lead form. - string ad_group_ad = 7 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAd" - } - ]; - - // Output only. Google Click Id associated with the submissed lead form. - string gclid = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The date and time at which the lead form was submitted. The - // format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 - // 12:32:45-08:00". - string submission_date_time = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; -} - -// Fields in the submitted lead form. -message LeadFormSubmissionField { - // Output only. Field type for lead form fields. - google.ads.googleads.v13.enums.LeadFormFieldUserInputTypeEnum - .LeadFormFieldUserInputType field_type = 1 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Field value for lead form fields. - string field_value = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; -} - -// Fields in the submitted custom question -message CustomLeadFormSubmissionField { - // Output only. Question text for custom question, maximum number of - // characters is 300. - string question_text = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Field value for custom question response, maximum number of - // characters is 70. - string field_value = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/life_event.proto b/third_party/googleapis/google/ads/googleads/v13/resources/life_event.proto deleted file mode 100644 index 0787a7807..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/life_event.proto +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/criterion_category_availability.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "LifeEventProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the Life Event resource. - -// A life event: a particular interest-based vertical to be targeted to reach -// users when they are in the midst of important life milestones. -message LifeEvent { - option (google.api.resource) = { - type: "googleads.googleapis.com/LifeEvent" - pattern: "customers/{customer_id}/lifeEvents/{life_event_id}" - }; - - // Output only. The resource name of the life event. - // Life event resource names have the form: - // - // `customers/{customer_id}/lifeEvents/{life_event_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/LifeEvent" - } - ]; - - // Output only. The ID of the life event. - int64 id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The name of the life event, for example,"Recently Moved" - string name = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The parent of the life_event. - string parent = 4 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/LifeEvent" - } - ]; - - // Output only. True if the life event is launched to all channels and - // locales. - bool launched_to_all = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Availability information of the life event. - repeated google.ads.googleads.v13.common.CriterionCategoryAvailability - availabilities = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/location_view.proto b/third_party/googleapis/google/ads/googleads/v13/resources/location_view.proto deleted file mode 100644 index c1a31a63e..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/location_view.proto +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "LocationViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the location view resource. - -// A location view summarizes the performance of campaigns by -// Location criteria. -message LocationView { - option (google.api.resource) = { - type: "googleads.googleapis.com/LocationView" - pattern: "customers/{customer_id}/locationViews/{campaign_id}~{criterion_id}" - }; - - // Output only. The resource name of the location view. - // Location view resource names have the form: - // - // `customers/{customer_id}/locationViews/{campaign_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/LocationView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/managed_placement_view.proto b/third_party/googleapis/google/ads/googleads/v13/resources/managed_placement_view.proto deleted file mode 100644 index b0aebac4e..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/managed_placement_view.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ManagedPlacementViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the Managed Placement view resource. - -// A managed placement view. -message ManagedPlacementView { - option (google.api.resource) = { - type: "googleads.googleapis.com/ManagedPlacementView" - pattern: "customers/{customer_id}/managedPlacementViews/{ad_group_id}~{criterion_id}" - }; - - // Output only. The resource name of the Managed Placement view. - // Managed placement view resource names have the form: - // - // `customers/{customer_id}/managedPlacementViews/{ad_group_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ManagedPlacementView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/media_file.proto b/third_party/googleapis/google/ads/googleads/v13/resources/media_file.proto deleted file mode 100644 index 0eaf7ce69..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/media_file.proto +++ /dev/null @@ -1,145 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/media_type.proto"; -import "google/ads/googleads/v13/enums/mime_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "MediaFileProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the media file resource. - -// A media file. -message MediaFile { - option (google.api.resource) = { - type: "googleads.googleapis.com/MediaFile" - pattern: "customers/{customer_id}/mediaFiles/{media_file_id}" - }; - - // Immutable. The resource name of the media file. - // Media file resource names have the form: - // - // `customers/{customer_id}/mediaFiles/{media_file_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/MediaFile" - } - ]; - - // Output only. The ID of the media file. - optional int64 id = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. Type of the media file. - google.ads.googleads.v13.enums.MediaTypeEnum.MediaType type = 5 - [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The mime type of the media file. - google.ads.googleads.v13.enums.MimeTypeEnum.MimeType mime_type = 6 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The URL of where the original media file was downloaded from (or - // a file name). Only used for media of type AUDIO and IMAGE. - optional string source_url = 13 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The name of the media file. The name can be used by clients to - // help identify previously uploaded media. - optional string name = 14 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The size of the media file in bytes. - optional int64 file_size = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The specific type of the media file. - oneof mediatype { - // Immutable. Encapsulates an Image. - MediaImage image = 3 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. A ZIP archive media the content of which contains HTML5 - // assets. - MediaBundle media_bundle = 4 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. Encapsulates an Audio. - MediaAudio audio = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. Encapsulates a Video. - MediaVideo video = 11 [(google.api.field_behavior) = IMMUTABLE]; - } -} - -// Encapsulates an Image. -message MediaImage { - // Immutable. Raw image data. - optional bytes data = 4 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The url to the full size version of the image. - optional string full_size_image_url = 2 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The url to the preview size version of the image. - optional string preview_size_image_url = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; -} - -// Represents a ZIP archive media the content of which contains HTML5 assets. -message MediaBundle { - // Immutable. Raw zipped data. - optional bytes data = 3 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The url to access the uploaded zipped data. - // For example, https://tpc.googlesyndication.com/simgad/123 - // This field is read-only. - optional string url = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; -} - -// Encapsulates an Audio. -message MediaAudio { - // Output only. The duration of the Audio in milliseconds. - optional int64 ad_duration_millis = 2 - [(google.api.field_behavior) = OUTPUT_ONLY]; -} - -// Encapsulates a Video. -message MediaVideo { - // Output only. The duration of the Video in milliseconds. - optional int64 ad_duration_millis = 5 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The YouTube video ID (as seen in YouTube URLs). Adding prefix - // "https://www.youtube.com/watch?v=" to this ID will get the YouTube - // streaming URL for this video. - optional string youtube_video_id = 6 - [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The Advertising Digital Identification code for this video, as - // defined by the American Association of Advertising Agencies, used mainly - // for television commercials. - optional string advertising_id_code = 7 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The Industry Standard Commercial Identifier code for this - // video, used mainly for television commercials. - optional string isci_code = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/merchant_center_link.proto b/third_party/googleapis/google/ads/googleads/v13/resources/merchant_center_link.proto deleted file mode 100644 index 05af4b919..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/merchant_center_link.proto +++ /dev/null @@ -1,65 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/merchant_center_link_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "MerchantCenterLinkProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the Merchant Center link resource. - -// A data sharing connection, proposed or in use, -// between a Google Ads Customer and a Merchant Center account. -message MerchantCenterLink { - option (google.api.resource) = { - type: "googleads.googleapis.com/MerchantCenterLink" - pattern: "customers/{customer_id}/merchantCenterLinks/{merchant_center_id}" - }; - - // Immutable. The resource name of the merchant center link. - // Merchant center link resource names have the form: - // - // `customers/{customer_id}/merchantCenterLinks/{merchant_center_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/MerchantCenterLink" - } - ]; - - // Output only. The ID of the Merchant Center account. - // This field is readonly. - optional int64 id = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The name of the Merchant Center account. - // This field is readonly. - optional string merchant_center_account_name = 7 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The status of the link. - google.ads.googleads.v13.enums.MerchantCenterLinkStatusEnum - .MerchantCenterLinkStatus status = 5; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/mobile_app_category_constant.proto b/third_party/googleapis/google/ads/googleads/v13/resources/mobile_app_category_constant.proto deleted file mode 100644 index 98779e495..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/mobile_app_category_constant.proto +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "MobileAppCategoryConstantProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the Mobile App Category Constant resource. - -// A mobile application category constant. -message MobileAppCategoryConstant { - option (google.api.resource) = { - type: "googleads.googleapis.com/MobileAppCategoryConstant" - pattern: "mobileAppCategoryConstants/{mobile_app_category_id}" - }; - - // Output only. The resource name of the mobile app category constant. - // Mobile app category constant resource names have the form: - // - // `mobileAppCategoryConstants/{mobile_app_category_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/MobileAppCategoryConstant" - } - ]; - - // Output only. The ID of the mobile app category constant. - optional int32 id = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Mobile app category name. - optional string name = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/mobile_device_constant.proto b/third_party/googleapis/google/ads/googleads/v13/resources/mobile_device_constant.proto deleted file mode 100644 index 5cff27305..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/mobile_device_constant.proto +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/mobile_device_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "MobileDeviceConstantProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the mobile device constant resource. - -// A mobile device constant. -message MobileDeviceConstant { - option (google.api.resource) = { - type: "googleads.googleapis.com/MobileDeviceConstant" - pattern: "mobileDeviceConstants/{criterion_id}" - }; - - // Output only. The resource name of the mobile device constant. - // Mobile device constant resource names have the form: - // - // `mobileDeviceConstants/{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/MobileDeviceConstant" - } - ]; - - // Output only. The ID of the mobile device constant. - optional int64 id = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The name of the mobile device. - optional string name = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The manufacturer of the mobile device. - optional string manufacturer_name = 9 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The operating system of the mobile device. - optional string operating_system_name = 10 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The type of mobile device. - google.ads.googleads.v13.enums.MobileDeviceTypeEnum.MobileDeviceType type = 6 - [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/offline_user_data_job.proto b/third_party/googleapis/google/ads/googleads/v13/resources/offline_user_data_job.proto deleted file mode 100644 index 4e00a4ecc..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/offline_user_data_job.proto +++ /dev/null @@ -1,106 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/offline_user_data.proto"; -import "google/ads/googleads/v13/enums/offline_user_data_job_failure_reason.proto"; -import "google/ads/googleads/v13/enums/offline_user_data_job_match_rate_range.proto"; -import "google/ads/googleads/v13/enums/offline_user_data_job_status.proto"; -import "google/ads/googleads/v13/enums/offline_user_data_job_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "OfflineUserDataJobProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the offline user data job resource. - -// A job containing offline user data of store visitors, or user list members -// that will be processed asynchronously. The uploaded data isn't readable and -// the processing results of the job can only be read using -// GoogleAdsService.Search/SearchStream. -message OfflineUserDataJob { - option (google.api.resource) = { - type: "googleads.googleapis.com/OfflineUserDataJob" - pattern: "customers/{customer_id}/offlineUserDataJobs/{offline_user_data_update_id}" - }; - - // Immutable. The resource name of the offline user data job. - // Offline user data job resource names have the form: - // - // `customers/{customer_id}/offlineUserDataJobs/{offline_user_data_job_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/OfflineUserDataJob" - } - ]; - - // Output only. ID of this offline user data job. - optional int64 id = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. User specified job ID. - optional int64 external_id = 10 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Type of the job. - google.ads.googleads.v13.enums.OfflineUserDataJobTypeEnum - .OfflineUserDataJobType type = 4 - [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. Status of the job. - google.ads.googleads.v13.enums.OfflineUserDataJobStatusEnum - .OfflineUserDataJobStatus status = 5 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Reason for the processing failure, if status is FAILED. - google.ads.googleads.v13.enums.OfflineUserDataJobFailureReasonEnum - .OfflineUserDataJobFailureReason failure_reason = 6 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Metadata of offline user data job depicting match rate range. - OfflineUserDataJobMetadata operation_metadata = 11 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Metadata of the job. - oneof metadata { - // Immutable. Metadata for data updates to a CRM-based user list. - google.ads.googleads.v13.common.CustomerMatchUserListMetadata - customer_match_user_list_metadata = 7 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Metadata for store sales data update. - google.ads.googleads.v13.common.StoreSalesMetadata store_sales_metadata = 8 - [(google.api.field_behavior) = IMMUTABLE]; - } -} - -// Metadata of offline user data job. -message OfflineUserDataJobMetadata { - // Output only. Match rate of the Customer Match user list upload. Describes - // the estimated match rate when the status of the job is "RUNNING" and final - // match rate when the final match rate is available after the status of the - // job is "SUCCESS/FAILED". - google.ads.googleads.v13.enums.OfflineUserDataJobMatchRateRangeEnum - .OfflineUserDataJobMatchRateRange match_rate_range = 1 - [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/operating_system_version_constant.proto b/third_party/googleapis/google/ads/googleads/v13/resources/operating_system_version_constant.proto deleted file mode 100644 index ee91d4ecf..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/operating_system_version_constant.proto +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/operating_system_version_operator_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "OperatingSystemVersionConstantProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the operating system version constant resource. - -// A mobile operating system version or a range of versions, depending on -// `operator_type`. List of available mobile platforms at -// https://developers.google.com/google-ads/api/reference/data/codes-formats#mobile-platforms -message OperatingSystemVersionConstant { - option (google.api.resource) = { - type: "googleads.googleapis.com/OperatingSystemVersionConstant" - pattern: "operatingSystemVersionConstants/{criterion_id}" - }; - - // Output only. The resource name of the operating system version constant. - // Operating system version constant resource names have the form: - // - // `operatingSystemVersionConstants/{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/OperatingSystemVersionConstant" - } - ]; - - // Output only. The ID of the operating system version. - optional int64 id = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Name of the operating system. - optional string name = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The OS Major Version number. - optional int32 os_major_version = 9 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The OS Minor Version number. - optional int32 os_minor_version = 10 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Determines whether this constant represents a single version - // or a range of versions. - google.ads.googleads.v13.enums.OperatingSystemVersionOperatorTypeEnum - .OperatingSystemVersionOperatorType operator_type = 6 - [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/paid_organic_search_term_view.proto b/third_party/googleapis/google/ads/googleads/v13/resources/paid_organic_search_term_view.proto deleted file mode 100644 index c90a6a0a6..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/paid_organic_search_term_view.proto +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "PaidOrganicSearchTermViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the PaidOrganicSearchTermView resource. - -// A paid organic search term view providing a view of search stats across -// ads and organic listings aggregated by search term at the ad group level. -message PaidOrganicSearchTermView { - option (google.api.resource) = { - type: "googleads.googleapis.com/PaidOrganicSearchTermView" - pattern: "customers/{customer_id}/paidOrganicSearchTermViews/{campaign_id}~{ad_group_id}~{base64_search_term}" - }; - - // Output only. The resource name of the search term view. - // Search term view resource names have the form: - // - // `customers/{customer_id}/paidOrganicSearchTermViews/{campaign_id}~ - // {ad_group_id}~{URL-base64 search term}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/PaidOrganicSearchTermView" - } - ]; - - // Output only. The search term. - optional string search_term = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/parental_status_view.proto b/third_party/googleapis/google/ads/googleads/v13/resources/parental_status_view.proto deleted file mode 100644 index f8cf8fad3..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/parental_status_view.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ParentalStatusViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the parental status view resource. - -// A parental status view. -message ParentalStatusView { - option (google.api.resource) = { - type: "googleads.googleapis.com/ParentalStatusView" - pattern: "customers/{customer_id}/parentalStatusViews/{ad_group_id}~{criterion_id}" - }; - - // Output only. The resource name of the parental status view. - // Parental Status view resource names have the form: - // - // `customers/{customer_id}/parentalStatusViews/{ad_group_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ParentalStatusView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/payments_account.proto b/third_party/googleapis/google/ads/googleads/v13/resources/payments_account.proto deleted file mode 100644 index 666deb710..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/payments_account.proto +++ /dev/null @@ -1,82 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "PaymentsAccountProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the PaymentsAccount resource. - -// A payments account, which can be used to set up billing for an Ads customer. -message PaymentsAccount { - option (google.api.resource) = { - type: "googleads.googleapis.com/PaymentsAccount" - pattern: "customers/{customer_id}/paymentsAccounts/{payments_account_id}" - }; - - // Output only. The resource name of the payments account. - // PaymentsAccount resource names have the form: - // - // `customers/{customer_id}/paymentsAccounts/{payments_account_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/PaymentsAccount" - } - ]; - - // Output only. A 16 digit ID used to identify a payments account. - optional string payments_account_id = 8 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The name of the payments account. - optional string name = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The currency code of the payments account. - // A subset of the currency codes derived from the ISO 4217 standard is - // supported. - optional string currency_code = 10 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. A 12 digit ID used to identify the payments profile associated - // with the payments account. - optional string payments_profile_id = 11 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. A secondary payments profile ID present in uncommon - // situations, for example, when a sequential liability agreement has been - // arranged. - optional string secondary_payments_profile_id = 12 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Paying manager of this payment account. - optional string paying_manager_customer = 13 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Customer" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/per_store_view.proto b/third_party/googleapis/google/ads/googleads/v13/resources/per_store_view.proto deleted file mode 100644 index 432bc25ff..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/per_store_view.proto +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "PerStoreViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the PerStoreView resource. - -// A per store view. -// This view provides per store impression reach and local action conversion -// stats for advertisers. -message PerStoreView { - option (google.api.resource) = { - type: "googleads.googleapis.com/PerStoreView" - pattern: "customers/{customer_id}/perStoreViews/{place_id}" - }; - - // Output only. The resource name of the per store view. - // Per Store view resource names have the form: - // - // `customers/{customer_id}/perStoreViews/{place_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/PerStoreView" - } - ]; - - // Output only. The place ID of the per store view. - string place_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/product_bidding_category_constant.proto b/third_party/googleapis/google/ads/googleads/v13/resources/product_bidding_category_constant.proto deleted file mode 100644 index 6d77d529b..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/product_bidding_category_constant.proto +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/product_bidding_category_level.proto"; -import "google/ads/googleads/v13/enums/product_bidding_category_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ProductBiddingCategoryConstantProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the ProductBiddingCategoryConstant resource. - -// A Product Bidding Category. -message ProductBiddingCategoryConstant { - option (google.api.resource) = { - type: "googleads.googleapis.com/ProductBiddingCategoryConstant" - pattern: "productBiddingCategoryConstants/{country_code}~{level}~{id}" - }; - - // Output only. The resource name of the product bidding category. - // Product bidding category resource names have the form: - // - // `productBiddingCategoryConstants/{country_code}~{level}~{id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ProductBiddingCategoryConstant" - } - ]; - - // Output only. ID of the product bidding category. - // - // This ID is equivalent to the google_product_category ID as described in - // this article: https://support.google.com/merchants/answer/6324436. - optional int64 id = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Two-letter upper-case country code of the product bidding - // category. - optional string country_code = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Resource name of the parent product bidding category. - optional string product_bidding_category_constant_parent = 12 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ProductBiddingCategoryConstant" - } - ]; - - // Output only. Level of the product bidding category. - google.ads.googleads.v13.enums.ProductBiddingCategoryLevelEnum - .ProductBiddingCategoryLevel level = 5 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Status of the product bidding category. - google.ads.googleads.v13.enums.ProductBiddingCategoryStatusEnum - .ProductBiddingCategoryStatus status = 6 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Language code of the product bidding category. - optional string language_code = 13 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Display value of the product bidding category localized - // according to language_code. - optional string localized_name = 14 - [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/product_group_view.proto b/third_party/googleapis/google/ads/googleads/v13/resources/product_group_view.proto deleted file mode 100644 index 3d5137150..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/product_group_view.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ProductGroupViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the ProductGroup View resource. - -// A product group view. -message ProductGroupView { - option (google.api.resource) = { - type: "googleads.googleapis.com/ProductGroupView" - pattern: "customers/{customer_id}/productGroupViews/{adgroup_id}~{criterion_id}" - }; - - // Output only. The resource name of the product group view. - // Product group view resource names have the form: - // - // `customers/{customer_id}/productGroupViews/{ad_group_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ProductGroupView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/product_link.proto b/third_party/googleapis/google/ads/googleads/v13/resources/product_link.proto deleted file mode 100644 index 280eabf91..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/product_link.proto +++ /dev/null @@ -1,93 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/linked_product_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ProductLinkProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Represents the data sharing connection between a Google -// Ads customer and another product. -message ProductLink { - option (google.api.resource) = { - type: "googleads.googleapis.com/ProductLink" - pattern: "customers/{customer_id}/productLinks/{product_link_id}" - }; - - // Immutable. Resource name of the product link. - // ProductLink resource names have the form: - // - // `customers/{customer_id}/productLinks/{product_link_id} ` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ProductLink" - } - ]; - - // Output only. The ID of the link. - // This field is read only. - optional int64 product_link_id = 2 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The type of the linked product. - google.ads.googleads.v13.enums.LinkedProductTypeEnum.LinkedProductType type = - 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // A product linked to this account. - oneof linked_product { - // Immutable. Data partner link. - DataPartnerIdentifier data_partner = 4 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Google Ads link. - GoogleAdsIdentifier google_ads = 5 - [(google.api.field_behavior) = IMMUTABLE]; - } -} - -// The identifier for Data Partner account. -message DataPartnerIdentifier { - // Immutable. The customer ID of the Data partner account. - // This field is required and should not be empty when creating a new - // data partner link. It is unable to be modified after the creation of - // the link. - optional int64 data_partner_id = 1 [(google.api.field_behavior) = IMMUTABLE]; -} - -// The identifier for Google Ads account. -message GoogleAdsIdentifier { - // Immutable. The resource name of the Google Ads account. - // This field is required and should not be empty when creating a new - // Google Ads link. It is unable to be modified after the creation of - // the link. - optional string customer = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Customer" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/qualifying_question.proto b/third_party/googleapis/google/ads/googleads/v13/resources/qualifying_question.proto deleted file mode 100644 index 04bead0d1..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/qualifying_question.proto +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "QualifyingQuestionProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the PerStoreView resource. - -// Qualifying Questions for Lead Form. -message QualifyingQuestion { - option (google.api.resource) = { - type: "googleads.googleapis.com/QualifyingQuestion" - pattern: "qualifyingQuestions/{qualifying_question_id}" - }; - - // Output only. The resource name of the qualifying question. - // - // 'qualifyingQuestions/{qualifyingQuestionId}' - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/QualifyingQuestion" - } - ]; - - // Output only. The id of the qualifying question. - int64 qualifying_question_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The locale of the qualifying question. - string locale = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The qualifying question. - string text = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/recommendation.proto b/third_party/googleapis/google/ads/googleads/v13/resources/recommendation.proto deleted file mode 100644 index afed550d3..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/recommendation.proto +++ /dev/null @@ -1,559 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/criteria.proto"; -import "google/ads/googleads/v13/enums/keyword_match_type.proto"; -import "google/ads/googleads/v13/enums/recommendation_type.proto"; -import "google/ads/googleads/v13/enums/target_cpa_opt_in_recommendation_goal.proto"; -import "google/ads/googleads/v13/resources/ad.proto"; -import "google/ads/googleads/v13/resources/asset.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "RecommendationProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the Recommendation resource. - -// A recommendation. -message Recommendation { - option (google.api.resource) = { - type: "googleads.googleapis.com/Recommendation" - pattern: "customers/{customer_id}/recommendations/{recommendation_id}" - }; - - // The impact of making the change as described in the recommendation. - // Some types of recommendations may not have impact information. - message RecommendationImpact { - // Output only. Base metrics at the time the recommendation was generated. - RecommendationMetrics base_metrics = 1 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Estimated metrics if the recommendation is applied. - RecommendationMetrics potential_metrics = 2 - [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Weekly account performance metrics. For some recommendation types, these - // are averaged over the past 90-day period and hence can be fractional. - message RecommendationMetrics { - // Output only. Number of ad impressions. - optional double impressions = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Number of ad clicks. - optional double clicks = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Cost (in micros) for advertising, in the local currency for - // the account. - optional int64 cost_micros = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Number of conversions. - optional double conversions = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Number of video views for a video ad campaign. - optional double video_views = 10 - [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The budget recommendation for budget constrained campaigns. - message CampaignBudgetRecommendation { - // The impact estimates for a given budget amount. - message CampaignBudgetRecommendationOption { - // Output only. The budget amount for this option. - optional int64 budget_amount_micros = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The impact estimate if budget is changed to amount - // specified in this option. - RecommendationImpact impact = 2 - [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Output only. The current budget amount in micros. - optional int64 current_budget_amount_micros = 7 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The recommended budget amount in micros. - optional int64 recommended_budget_amount_micros = 8 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The budget amounts and associated impact estimates for some - // values of possible budget amounts. - repeated CampaignBudgetRecommendationOption budget_options = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The keyword recommendation. - message KeywordRecommendation { - // Output only. The recommended keyword. - google.ads.googleads.v13.common.KeywordInfo keyword = 1 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The recommended CPC (cost-per-click) bid. - optional int64 recommended_cpc_bid_micros = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The text ad recommendation. - message TextAdRecommendation { - // Output only. Recommended ad. - Ad ad = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Creation date of the recommended ad. - // YYYY-MM-DD format, for example, 2018-04-17. - optional string creation_date = 4 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Date, if present, is the earliest when the recommendation - // will be auto applied. YYYY-MM-DD format, for example, 2018-04-17. - optional string auto_apply_date = 5 - [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The Target CPA opt-in recommendation. - message TargetCpaOptInRecommendation { - // The Target CPA opt-in option with impact estimate. - message TargetCpaOptInRecommendationOption { - // Output only. The goal achieved by this option. - google.ads.googleads.v13.enums.TargetCpaOptInRecommendationGoalEnum - .TargetCpaOptInRecommendationGoal goal = 1 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Average CPA target. - optional int64 target_cpa_micros = 5 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The minimum campaign budget, in local currency for the - // account, required to achieve the target CPA. Amount is specified in - // micros, where one million is equivalent to one currency unit. - optional int64 required_campaign_budget_amount_micros = 6 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The impact estimate if this option is selected. - RecommendationImpact impact = 4 - [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Output only. The available goals and corresponding options for Target CPA - // strategy. - repeated TargetCpaOptInRecommendationOption options = 1 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The recommended average CPA target. See required budget - // amount and impact of using this recommendation in options list. - optional int64 recommended_target_cpa_micros = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The Maximize Conversions Opt-In recommendation. - message MaximizeConversionsOptInRecommendation { - // Output only. The recommended new budget amount. - optional int64 recommended_budget_amount_micros = 2 - [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The Enhanced Cost-Per-Click Opt-In recommendation. - message EnhancedCpcOptInRecommendation {} - - // The Search Partners Opt-In recommendation. - message SearchPartnersOptInRecommendation {} - - // The Maximize Clicks opt-in recommendation. - message MaximizeClicksOptInRecommendation { - // Output only. The recommended new budget amount. - // Only set if the current budget is too high. - optional int64 recommended_budget_amount_micros = 2 - [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The Optimize Ad Rotation recommendation. - message OptimizeAdRotationRecommendation {} - - // The callout asset recommendation. - message CalloutAssetRecommendation { - // Output only. New callout extension assets recommended at the campaign - // level. - repeated Asset recommended_campaign_callout_assets = 1 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. New callout extension assets recommended at the customer - // level. - repeated Asset recommended_customer_callout_assets = 2 - [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The sitelink asset recommendation. - message SitelinkAssetRecommendation { - // Output only. New sitelink extension assets recommended at the campaign - // level. - repeated Asset recommended_campaign_sitelink_assets = 1 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. New sitelink extension assets recommended at the customer - // level. - repeated Asset recommended_customer_sitelink_assets = 2 - [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The call asset recommendation. - message CallAssetRecommendation {} - - // The keyword match type recommendation. - message KeywordMatchTypeRecommendation { - // Output only. The existing keyword where the match type should be more - // broad. - google.ads.googleads.v13.common.KeywordInfo keyword = 1 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The recommended new match type. - google.ads.googleads.v13.enums.KeywordMatchTypeEnum.KeywordMatchType - recommended_match_type = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The move unused budget recommendation. - message MoveUnusedBudgetRecommendation { - // Output only. The excess budget's resource_name. - optional string excess_campaign_budget = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The recommendation for the constrained budget to increase. - CampaignBudgetRecommendation budget_recommendation = 2 - [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The Target ROAS opt-in recommendation. - message TargetRoasOptInRecommendation { - // Output only. The recommended target ROAS (revenue per unit of spend). - // The value is between 0.01 and 1000.0, inclusive. - optional double recommended_target_roas = 1 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The minimum campaign budget, in local currency for the - // account, required to achieve the target ROAS. Amount is specified in - // micros, where one million is equivalent to one currency unit. - optional int64 required_campaign_budget_amount_micros = 2 - [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The add responsive search ad asset recommendation. - message ResponsiveSearchAdAssetRecommendation { - // Output only. The recommended assets. This is populated only with the new - // headlines and/or descriptions, and is otherwise empty. - Ad recommended_assets = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The responsive search ad improve ad strength recommendation. - message ResponsiveSearchAdImproveAdStrengthRecommendation { - // Output only. The current ad to be updated. - Ad current_ad = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The updated ad. - Ad recommended_ad = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The add responsive search ad recommendation. - message ResponsiveSearchAdRecommendation { - // Output only. Recommended ad. - Ad ad = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The use broad match keyword recommendation. - message UseBroadMatchKeywordRecommendation { - // Output only. Sample of keywords to be expanded to Broad Match. - repeated google.ads.googleads.v13.common.KeywordInfo keyword = 1 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Total number of keywords to be expanded to Broad Match in - // the campaign. - int64 suggested_keywords_count = 2 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Total number of keywords in the campaign. - int64 campaign_keywords_count = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Whether the associated campaign uses a shared budget. - bool campaign_uses_shared_budget = 4 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The budget recommended to avoid becoming budget constrained - // after applying the recommendation. - int64 required_campaign_budget_amount_micros = 5 - [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The upgrade a Smart Shopping campaign to a Performance Max campaign - // recommendation. - message UpgradeSmartShoppingCampaignToPerformanceMaxRecommendation { - // Output only. ID of Merchant Center account. - int64 merchant_id = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Country whose products from merchant's inventory should be - // included. - string sales_country_code = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The raise target CPA bid too low recommendation. - message RaiseTargetCpaBidTooLowRecommendation { - // Output only. A number greater than 1.0 indicating the factor by which we - // recommend the target CPA should be increased. - optional double recommended_target_multiplier = 1 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The current average target CPA of the campaign, in micros of - // customer local currency. - optional int64 average_target_cpa_micros = 2 - [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // The Display Expansion opt-in recommendation. - message DisplayExpansionOptInRecommendation {} - - // The Upgrade Local campaign to Performance Max campaign recommendation. - message UpgradeLocalCampaignToPerformanceMaxRecommendation {} - - // The forecasting set target ROAS recommendation. - message ForecastingSetTargetRoasRecommendation { - // Output only. The recommended target ROAS (revenue per unit of spend). - // The value is between 0.01 and 1000.0, inclusive. - double recommended_target_roas = 1 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The campaign budget. - CampaignBudget campaign_budget = 2 - [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // A campaign budget shared amongst various budget recommendation types. - message CampaignBudget { - // Output only. Current budget amount. - int64 current_amount_micros = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Recommended budget amount. - int64 recommended_new_amount_micros = 2 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The date when the new budget would start being used. - // This field will be set for the following recommendation types: - // FORECASTING_SET_TARGET_ROAS. YYYY-MM-DD format, for example, 2018-04-17. - string new_start_date = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - - // Immutable. The resource name of the recommendation. - // - // `customers/{customer_id}/recommendations/{recommendation_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Recommendation" - } - ]; - - // Output only. The type of recommendation. - google.ads.googleads.v13.enums.RecommendationTypeEnum.RecommendationType - type = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The impact on account performance as a result of applying the - // recommendation. - RecommendationImpact impact = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The budget targeted by this recommendation. This will be set - // only when the recommendation affects a single campaign budget. - // - // This field will be set for the following recommendation types: - // CAMPAIGN_BUDGET, FORECASTING_CAMPAIGN_BUDGET, MARGINAL_ROI_CAMPAIGN_BUDGET, - // MOVE_UNUSED_BUDGET - optional string campaign_budget = 24 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignBudget" - } - ]; - - // Output only. The campaign targeted by this recommendation. - // - // This field will be set for the following recommendation types: - // CALL_EXTENSION, CALLOUT_EXTENSION, ENHANCED_CPC_OPT_IN, - // USE_BROAD_MATCH_KEYWORD, KEYWORD, KEYWORD_MATCH_TYPE, - // UPGRADE_LOCAL_CAMPAIGN_TO_PERFORMANCE_MAX, MAXIMIZE_CLICKS_OPT_IN, - // MAXIMIZE_CONVERSIONS_OPT_IN, OPTIMIZE_AD_ROTATION, - // RESPONSIVE_SEARCH_AD, - // RESPONSIVE_SEARCH_AD_ASSET, - // SEARCH_PARTNERS_OPT_IN, - // DISPLAY_EXPANSION_OPT_IN, SITELINK_EXTENSION, TARGET_CPA_OPT_IN, - // TARGET_ROAS_OPT_IN, TEXT_AD, - // UPGRADE_SMART_SHOPPING_CAMPAIGN_TO_PERFORMANCE_MAX , - // RAISE_TARGET_CPA_BID_TOO_LOW, FORECASTING_SET_TARGET_ROAS - optional string campaign = 25 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Output only. The ad group targeted by this recommendation. This will be set - // only when the recommendation affects a single ad group. - // - // This field will be set for the following recommendation types: - // KEYWORD, OPTIMIZE_AD_ROTATION, RESPONSIVE_SEARCH_AD, - // RESPONSIVE_SEARCH_AD_ASSET, TEXT_AD - optional string ad_group = 26 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Output only. Whether the recommendation is dismissed or not. - optional bool dismissed = 27 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The campaigns targeted by this recommendation. - // - // This field will be set for the following recommendation types: - // CAMPAIGN_BUDGET, FORECASTING_CAMPAIGN_BUDGET, - // MARGINAL_ROI_CAMPAIGN_BUDGET and MOVE_UNUSED_BUDGET - repeated string campaigns = 38 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // The details of recommendation. - oneof recommendation { - // Output only. The campaign budget recommendation. - CampaignBudgetRecommendation campaign_budget_recommendation = 4 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The forecasting campaign budget recommendation. - CampaignBudgetRecommendation forecasting_campaign_budget_recommendation = 22 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The keyword recommendation. - KeywordRecommendation keyword_recommendation = 8 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Add expanded text ad recommendation. - TextAdRecommendation text_ad_recommendation = 9 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The TargetCPA opt-in recommendation. - TargetCpaOptInRecommendation target_cpa_opt_in_recommendation = 10 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The MaximizeConversions Opt-In recommendation. - MaximizeConversionsOptInRecommendation - maximize_conversions_opt_in_recommendation = 11 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The Enhanced Cost-Per-Click Opt-In recommendation. - EnhancedCpcOptInRecommendation enhanced_cpc_opt_in_recommendation = 12 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The Search Partners Opt-In recommendation. - SearchPartnersOptInRecommendation search_partners_opt_in_recommendation = 14 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The MaximizeClicks Opt-In recommendation. - MaximizeClicksOptInRecommendation maximize_clicks_opt_in_recommendation = 15 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The Optimize Ad Rotation recommendation. - OptimizeAdRotationRecommendation optimize_ad_rotation_recommendation = 16 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The keyword match type recommendation. - KeywordMatchTypeRecommendation keyword_match_type_recommendation = 20 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The move unused budget recommendation. - MoveUnusedBudgetRecommendation move_unused_budget_recommendation = 21 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The Target ROAS opt-in recommendation. - TargetRoasOptInRecommendation target_roas_opt_in_recommendation = 23 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The add responsive search ad recommendation. - ResponsiveSearchAdRecommendation responsive_search_ad_recommendation = 28 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The marginal ROI campaign budget recommendation. - CampaignBudgetRecommendation marginal_roi_campaign_budget_recommendation = - 29 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The use broad match keyword recommendation. - UseBroadMatchKeywordRecommendation use_broad_match_keyword_recommendation = - 30 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The responsive search ad asset recommendation. - ResponsiveSearchAdAssetRecommendation - responsive_search_ad_asset_recommendation = 31 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The upgrade a Smart Shopping campaign to a Performance Max - // campaign recommendation. - UpgradeSmartShoppingCampaignToPerformanceMaxRecommendation - upgrade_smart_shopping_campaign_to_performance_max_recommendation = 32 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The responsive search ad improve ad strength recommendation. - ResponsiveSearchAdImproveAdStrengthRecommendation - responsive_search_ad_improve_ad_strength_recommendation = 33 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The Display Expansion opt-in recommendation. - DisplayExpansionOptInRecommendation - display_expansion_opt_in_recommendation = 34 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The upgrade a Local campaign to a Performance Max campaign - // recommendation. - UpgradeLocalCampaignToPerformanceMaxRecommendation - upgrade_local_campaign_to_performance_max_recommendation = 35 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The raise target CPA bid too low recommendation. - RaiseTargetCpaBidTooLowRecommendation - raise_target_cpa_bid_too_low_recommendation = 36 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The forecasting set target ROAS recommendation. - ForecastingSetTargetRoasRecommendation - forecasting_set_target_roas_recommendation = 37 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The callout asset recommendation. - CalloutAssetRecommendation callout_asset_recommendation = 39 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The sitelink asset recommendation. - SitelinkAssetRecommendation sitelink_asset_recommendation = 40 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The call asset recommendation. - CallAssetRecommendation call_asset_recommendation = 41 - [(google.api.field_behavior) = OUTPUT_ONLY]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/remarketing_action.proto b/third_party/googleapis/google/ads/googleads/v13/resources/remarketing_action.proto deleted file mode 100644 index 2d908b8d2..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/remarketing_action.proto +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/tag_snippet.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "RemarketingActionProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the Remarketing Action resource. - -// A remarketing action. A snippet of JavaScript code that will collect the -// product id and the type of page people visited (product page, shopping cart -// page, purchase page, general site visit) on an advertiser's website. -message RemarketingAction { - option (google.api.resource) = { - type: "googleads.googleapis.com/RemarketingAction" - pattern: "customers/{customer_id}/remarketingActions/{remarketing_action_id}" - }; - - // Immutable. The resource name of the remarketing action. - // Remarketing action resource names have the form: - // - // `customers/{customer_id}/remarketingActions/{remarketing_action_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/RemarketingAction" - } - ]; - - // Output only. Id of the remarketing action. - optional int64 id = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The name of the remarketing action. - // - // This field is required and should not be empty when creating new - // remarketing actions. - optional string name = 6; - - // Output only. The snippets used for tracking remarketing actions. - repeated google.ads.googleads.v13.common.TagSnippet tag_snippets = 4 - [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/search_term_view.proto b/third_party/googleapis/google/ads/googleads/v13/resources/search_term_view.proto deleted file mode 100644 index 7c7e28e84..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/search_term_view.proto +++ /dev/null @@ -1,69 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/search_term_targeting_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "SearchTermViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the SearchTermView resource. - -// A search term view with metrics aggregated by search term at the ad group -// level. -message SearchTermView { - option (google.api.resource) = { - type: "googleads.googleapis.com/SearchTermView" - pattern: "customers/{customer_id}/searchTermViews/{campaign_id}~{ad_group_id}~{query}" - }; - - // Output only. The resource name of the search term view. - // Search term view resource names have the form: - // - // `customers/{customer_id}/searchTermViews/{campaign_id}~{ad_group_id}~{URL-base64_search_term}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/SearchTermView" - } - ]; - - // Output only. The search term. - optional string search_term = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The ad group the search term served in. - optional string ad_group = 6 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - } - ]; - - // Output only. Indicates whether the search term is currently one of your - // targeted or excluded keywords. - google.ads.googleads.v13.enums.SearchTermTargetingStatusEnum - .SearchTermTargetingStatus status = 4 - [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/shared_criterion.proto b/third_party/googleapis/google/ads/googleads/v13/resources/shared_criterion.proto deleted file mode 100644 index 51844e531..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/shared_criterion.proto +++ /dev/null @@ -1,98 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/criteria.proto"; -import "google/ads/googleads/v13/enums/criterion_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "SharedCriterionProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the SharedCriterion resource. - -// A criterion belonging to a shared set. -message SharedCriterion { - option (google.api.resource) = { - type: "googleads.googleapis.com/SharedCriterion" - pattern: "customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}" - }; - - // Immutable. The resource name of the shared criterion. - // Shared set resource names have the form: - // - // `customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/SharedCriterion" - } - ]; - - // Immutable. The shared set to which the shared criterion belongs. - optional string shared_set = 10 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/SharedSet" - } - ]; - - // Output only. The ID of the criterion. - // - // This field is ignored for mutates. - optional int64 criterion_id = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The type of the criterion. - google.ads.googleads.v13.enums.CriterionTypeEnum.CriterionType type = 4 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The criterion. - // - // Exactly one must be set. - oneof criterion { - // Immutable. Keyword. - google.ads.googleads.v13.common.KeywordInfo keyword = 3 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. YouTube Video. - google.ads.googleads.v13.common.YouTubeVideoInfo youtube_video = 5 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. YouTube Channel. - google.ads.googleads.v13.common.YouTubeChannelInfo youtube_channel = 6 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Placement. - google.ads.googleads.v13.common.PlacementInfo placement = 7 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Mobile App Category. - google.ads.googleads.v13.common.MobileAppCategoryInfo mobile_app_category = - 8 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Mobile application. - google.ads.googleads.v13.common.MobileApplicationInfo mobile_application = 9 - [(google.api.field_behavior) = IMMUTABLE]; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/shared_set.proto b/third_party/googleapis/google/ads/googleads/v13/resources/shared_set.proto deleted file mode 100644 index ceeb94b01..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/shared_set.proto +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/shared_set_status.proto"; -import "google/ads/googleads/v13/enums/shared_set_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "SharedSetProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the SharedSet resource. - -// SharedSets are used for sharing criterion exclusions across multiple -// campaigns. -message SharedSet { - option (google.api.resource) = { - type: "googleads.googleapis.com/SharedSet" - pattern: "customers/{customer_id}/sharedSets/{shared_set_id}" - }; - - // Immutable. The resource name of the shared set. - // Shared set resource names have the form: - // - // `customers/{customer_id}/sharedSets/{shared_set_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/SharedSet" - } - ]; - - // Output only. The ID of this shared set. Read only. - optional int64 id = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The type of this shared set: each shared set holds only a single - // kind of resource. Required. Immutable. - google.ads.googleads.v13.enums.SharedSetTypeEnum.SharedSetType type = 3 - [(google.api.field_behavior) = IMMUTABLE]; - - // The name of this shared set. Required. - // Shared Sets must have names that are unique among active shared sets of - // the same type. - // The length of this string should be between 1 and 255 UTF-8 bytes, - // inclusive. - optional string name = 9; - - // Output only. The status of this shared set. Read only. - google.ads.googleads.v13.enums.SharedSetStatusEnum.SharedSetStatus status = 5 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The number of shared criteria within this shared set. Read - // only. - optional int64 member_count = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The number of campaigns associated with this shared set. Read - // only. - optional int64 reference_count = 11 - [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/shopping_performance_view.proto b/third_party/googleapis/google/ads/googleads/v13/resources/shopping_performance_view.proto deleted file mode 100644 index 8dd4b8427..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/shopping_performance_view.proto +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ShoppingPerformanceViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the ShoppingPerformanceView resource. - -// Shopping performance view. -// Provides Shopping campaign statistics aggregated at several product dimension -// levels. Product dimension values from Merchant Center such as brand, -// category, custom attributes, product condition and product type will reflect -// the state of each dimension as of the date and time when the corresponding -// event was recorded. -message ShoppingPerformanceView { - option (google.api.resource) = { - type: "googleads.googleapis.com/ShoppingPerformanceView" - pattern: "customers/{customer_id}/shoppingPerformanceView" - }; - - // Output only. The resource name of the Shopping performance view. - // Shopping performance view resource names have the form: - // `customers/{customer_id}/shoppingPerformanceView` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ShoppingPerformanceView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/smart_campaign_search_term_view.proto b/third_party/googleapis/google/ads/googleads/v13/resources/smart_campaign_search_term_view.proto deleted file mode 100644 index f44c6dfcf..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/smart_campaign_search_term_view.proto +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "SmartCampaignSearchTermViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the SmartCampaignSearchTermView resource. - -// A Smart campaign search term view. -message SmartCampaignSearchTermView { - option (google.api.resource) = { - type: "googleads.googleapis.com/SmartCampaignSearchTermView" - pattern: "customers/{customer_id}/smartCampaignSearchTermViews/{campaign_id}~{query}" - }; - - // Output only. The resource name of the Smart campaign search term view. - // Smart campaign search term view resource names have the form: - // - // `customers/{customer_id}/smartCampaignSearchTermViews/{campaign_id}~{URL-base64_search_term}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/SmartCampaignSearchTermView" - } - ]; - - // Output only. The search term. - string search_term = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The Smart campaign the search term served in. - string campaign = 3 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/smart_campaign_setting.proto b/third_party/googleapis/google/ads/googleads/v13/resources/smart_campaign_setting.proto deleted file mode 100644 index 6bee0ff48..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/smart_campaign_setting.proto +++ /dev/null @@ -1,112 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "SmartCampaignSettingProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the Smart campaign setting resource. - -// Settings for configuring Smart campaigns. -message SmartCampaignSetting { - option (google.api.resource) = { - type: "googleads.googleapis.com/SmartCampaignSetting" - pattern: "customers/{customer_id}/smartCampaignSettings/{campaign_id}" - }; - - // Phone number and country code in smart campaign settings. - message PhoneNumber { - // Phone number of the smart campaign. - optional string phone_number = 1; - - // Upper-case, two-letter country code as defined by ISO-3166. - optional string country_code = 2; - } - - // Settings for configuring a business profile optimized for ads as this - // campaign's landing page. - message AdOptimizedBusinessProfileSetting { - // Enabling a lead form on your business profile enables prospective - // customers to contact your business by filling out a simple form, - // and you'll receive their information through email. - optional bool include_lead_form = 1; - } - - // Immutable. The resource name of the Smart campaign setting. - // Smart campaign setting resource names have the form: - // - // `customers/{customer_id}/smartCampaignSettings/{campaign_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/SmartCampaignSetting" - } - ]; - - // Output only. The campaign to which these settings apply. - string campaign = 2 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Phone number and country code. - PhoneNumber phone_number = 3; - - // The language code to advertise in from the set of - // [supported language codes] - // (https://developers.google.com/google-ads/api/reference/data/codes-formats#languages). - string advertising_language_code = 7; - - // The landing page of this campaign. - oneof landing_page { - // The user-provided landing page URL for this Campaign. - string final_url = 8; - - // Settings for configuring a business profile optimized for ads as this - // campaign's landing page. This campaign must be linked to a business - // profile to use this option. For more information on this feature, - // consult https://support.google.com/google-ads/answer/9827068. - AdOptimizedBusinessProfileSetting ad_optimized_business_profile_setting = 9; - } - - // The business setting of this campaign. - oneof business_setting { - // The name of the business. - string business_name = 5; - - // The resource name of a Business Profile location. - // Business Profile location resource names can be fetched through the - // Business Profile API and adhere to the following format: - // `locations/{locationId}`. - // - // See the [Business Profile API] - // (https://developers.google.com/my-business/reference/businessinformation/rest/v1/accounts.locations) - // for additional details. - string business_profile_location = 10; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/third_party_app_analytics_link.proto b/third_party/googleapis/google/ads/googleads/v13/resources/third_party_app_analytics_link.proto deleted file mode 100644 index e063f2bc0..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/third_party_app_analytics_link.proto +++ /dev/null @@ -1,55 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ThirdPartyAppAnalyticsLinkProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// A data sharing connection, allowing the import of third party app analytics -// into a Google Ads Customer. -message ThirdPartyAppAnalyticsLink { - option (google.api.resource) = { - type: "googleads.googleapis.com/ThirdPartyAppAnalyticsLink" - pattern: "customers/{customer_id}/thirdPartyAppAnalyticsLinks/{customer_link_id}" - }; - - // Immutable. The resource name of the third party app analytics link. - // Third party app analytics link resource names have the form: - // - // `customers/{customer_id}/thirdPartyAppAnalyticsLinks/{account_link_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ThirdPartyAppAnalyticsLink" - } - ]; - - // Output only. The shareable link ID that should be provided to the third - // party when setting up app analytics. This is able to be regenerated using - // regenerate method in the ThirdPartyAppAnalyticsLinkService. - optional string shareable_link_id = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/topic_constant.proto b/third_party/googleapis/google/ads/googleads/v13/resources/topic_constant.proto deleted file mode 100644 index c906212d3..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/topic_constant.proto +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "TopicConstantProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the Topic Constant resource. - -// Use topics to target or exclude placements in the Google Display Network -// based on the category into which the placement falls (for example, -// "Pets & Animals/Pets/Dogs"). -message TopicConstant { - option (google.api.resource) = { - type: "googleads.googleapis.com/TopicConstant" - pattern: "topicConstants/{topic_id}" - }; - - // Output only. The resource name of the topic constant. - // topic constant resource names have the form: - // - // `topicConstants/{topic_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/TopicConstant" - } - ]; - - // Output only. The ID of the topic. - optional int64 id = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Resource name of parent of the topic constant. - optional string topic_constant_parent = 6 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/TopicConstant" - } - ]; - - // Output only. The category to target or exclude. Each subsequent element in - // the array describes a more specific sub-category. For example, - // {"Pets & Animals", "Pets", "Dogs"} represents the - // "Pets & Animals/Pets/Dogs" category. List of available topic categories at - // https://developers.google.com/google-ads/api/reference/data/verticals - repeated string path = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/topic_view.proto b/third_party/googleapis/google/ads/googleads/v13/resources/topic_view.proto deleted file mode 100644 index d66975b96..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/topic_view.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "TopicViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the topic view resource. - -// A topic view. -message TopicView { - option (google.api.resource) = { - type: "googleads.googleapis.com/TopicView" - pattern: "customers/{customer_id}/topicViews/{ad_group_id}~{criterion_id}" - }; - - // Output only. The resource name of the topic view. - // Topic view resource names have the form: - // - // `customers/{customer_id}/topicViews/{ad_group_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/TopicView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/travel_activity_group_view.proto b/third_party/googleapis/google/ads/googleads/v13/resources/travel_activity_group_view.proto deleted file mode 100644 index 99586d66f..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/travel_activity_group_view.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "TravelActivityGroupViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the travel activity group view resource. - -// A travel activity group view. -message TravelActivityGroupView { - option (google.api.resource) = { - type: "googleads.googleapis.com/TravelActivityGroupView" - pattern: "customers/{customer_id}/travelActivityGroupViews/{ad_group_id}~{criterion_id}" - }; - - // Output only. The resource name of the travel activity group view. - // Travel Activity Group view resource names have the form: - // - // `customers/{customer_id}/travelActivityGroupViews/{ad_group_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/TravelActivityGroupView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/travel_activity_performance_view.proto b/third_party/googleapis/google/ads/googleads/v13/resources/travel_activity_performance_view.proto deleted file mode 100644 index 68f49cce6..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/travel_activity_performance_view.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "TravelActivityPerformanceViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the travel activity performance view resource. - -// A travel activity performance view. -message TravelActivityPerformanceView { - option (google.api.resource) = { - type: "googleads.googleapis.com/TravelActivityPerformanceView" - pattern: "customers/{customer_id}/travelActivityPerformanceViews" - }; - - // Output only. The resource name of the travel activity performance view. - // Travel Activity performance view resource names have the form: - // - // `customers/{customer_id}/travelActivityPerformanceView` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/TravelActivityPerformanceView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/user_interest.proto b/third_party/googleapis/google/ads/googleads/v13/resources/user_interest.proto deleted file mode 100644 index 9117d9496..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/user_interest.proto +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/criterion_category_availability.proto"; -import "google/ads/googleads/v13/enums/user_interest_taxonomy_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "UserInterestProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the User Interest resource. - -// A user interest: a particular interest-based vertical to be targeted. -message UserInterest { - option (google.api.resource) = { - type: "googleads.googleapis.com/UserInterest" - pattern: "customers/{customer_id}/userInterests/{user_interest_id}" - }; - - // Output only. The resource name of the user interest. - // User interest resource names have the form: - // - // `customers/{customer_id}/userInterests/{user_interest_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/UserInterest" - } - ]; - - // Output only. Taxonomy type of the user interest. - google.ads.googleads.v13.enums.UserInterestTaxonomyTypeEnum - .UserInterestTaxonomyType taxonomy_type = 2 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The ID of the user interest. - optional int64 user_interest_id = 8 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The name of the user interest. - optional string name = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The parent of the user interest. - optional string user_interest_parent = 10 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/UserInterest" - } - ]; - - // Output only. True if the user interest is launched to all channels and - // locales. - optional bool launched_to_all = 11 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Availability information of the user interest. - repeated google.ads.googleads.v13.common.CriterionCategoryAvailability - availabilities = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/user_list.proto b/third_party/googleapis/google/ads/googleads/v13/resources/user_list.proto deleted file mode 100644 index 0c8160689..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/user_list.proto +++ /dev/null @@ -1,190 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/user_lists.proto"; -import "google/ads/googleads/v13/enums/access_reason.proto"; -import "google/ads/googleads/v13/enums/user_list_access_status.proto"; -import "google/ads/googleads/v13/enums/user_list_closing_reason.proto"; -import "google/ads/googleads/v13/enums/user_list_membership_status.proto"; -import "google/ads/googleads/v13/enums/user_list_size_range.proto"; -import "google/ads/googleads/v13/enums/user_list_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "UserListProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the User List resource. - -// A user list. This is a list of users a customer may target. -message UserList { - option (google.api.resource) = { - type: "googleads.googleapis.com/UserList" - pattern: "customers/{customer_id}/userLists/{user_list_id}" - }; - - // Immutable. The resource name of the user list. - // User list resource names have the form: - // - // `customers/{customer_id}/userLists/{user_list_id}` - string resource_name = 1 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/UserList" - } - ]; - - // Output only. Id of the user list. - optional int64 id = 25 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. An option that indicates if a user may edit a list. Depends on - // the list ownership and list type. For example, external remarketing user - // lists are not editable. - // - // This field is read-only. - optional bool read_only = 26 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Name of this user list. Depending on its access_reason, the user list name - // may not be unique (for example, if access_reason=SHARED) - optional string name = 27; - - // Description of this user list. - optional string description = 28; - - // Membership status of this user list. Indicates whether a user list is open - // or active. Only open user lists can accumulate more users and can be - // targeted to. - google.ads.googleads.v13.enums.UserListMembershipStatusEnum - .UserListMembershipStatus membership_status = 6; - - // An ID from external system. It is used by user list sellers to correlate - // IDs on their systems. - optional string integration_code = 29; - - // Number of days a user's cookie stays on your list since its most recent - // addition to the list. This field must be between 0 and 540 inclusive. - // However, for CRM based userlists, this field can be set to 10000 which - // means no expiration. - // - // It'll be ignored for logical_user_list. - optional int64 membership_life_span = 30; - - // Output only. Estimated number of users in this user list, on the Google - // Display Network. This value is null if the number of users has not yet been - // determined. - // - // This field is read-only. - optional int64 size_for_display = 31 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Size range in terms of number of users of the UserList, on the - // Google Display Network. - // - // This field is read-only. - google.ads.googleads.v13.enums.UserListSizeRangeEnum.UserListSizeRange - size_range_for_display = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Estimated number of users in this user list in the google.com - // domain. These are the users available for targeting in Search campaigns. - // This value is null if the number of users has not yet been determined. - // - // This field is read-only. - optional int64 size_for_search = 32 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Size range in terms of number of users of the UserList, for - // Search ads. - // - // This field is read-only. - google.ads.googleads.v13.enums.UserListSizeRangeEnum.UserListSizeRange - size_range_for_search = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Type of this list. - // - // This field is read-only. - google.ads.googleads.v13.enums.UserListTypeEnum.UserListType type = 13 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Indicating the reason why this user list membership status is closed. It is - // only populated on lists that were automatically closed due to inactivity, - // and will be cleared once the list membership status becomes open. - google.ads.googleads.v13.enums.UserListClosingReasonEnum.UserListClosingReason - closing_reason = 14; - - // Output only. Indicates the reason this account has been granted access to - // the list. The reason can be SHARED, OWNED, LICENSED or SUBSCRIBED. - // - // This field is read-only. - google.ads.googleads.v13.enums.AccessReasonEnum.AccessReason access_reason = - 15 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Indicates if this share is still enabled. When a UserList is shared with - // the user this field is set to ENABLED. Later the userList owner can decide - // to revoke the share and make it DISABLED. - // The default value of this field is set to ENABLED. - google.ads.googleads.v13.enums.UserListAccessStatusEnum.UserListAccessStatus - account_user_list_status = 16; - - // Indicates if this user list is eligible for Google Search Network. - optional bool eligible_for_search = 33; - - // Output only. Indicates this user list is eligible for Google Display - // Network. - // - // This field is read-only. - optional bool eligible_for_display = 34 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Indicates match rate for Customer Match lists. The range of - // this field is [0-100]. This will be null for other list types or when it's - // not possible to calculate the match rate. - // - // This field is read-only. - optional int32 match_rate_percentage = 24 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The user list. - // - // Exactly one must be set. - oneof user_list { - // User list of CRM users provided by the advertiser. - google.ads.googleads.v13.common.CrmBasedUserListInfo crm_based_user_list = - 19; - - // Output only. User list which are similar to users from another UserList. - // These lists are readonly and automatically created by google. - google.ads.googleads.v13.common.SimilarUserListInfo similar_user_list = 20 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // User list generated by a rule. - google.ads.googleads.v13.common.RuleBasedUserListInfo rule_based_user_list = - 21; - - // User list that is a custom combination of user lists and user interests. - google.ads.googleads.v13.common.LogicalUserListInfo logical_user_list = 22; - - // User list targeting as a collection of conversion or remarketing actions. - google.ads.googleads.v13.common.BasicUserListInfo basic_user_list = 23; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/user_location_view.proto b/third_party/googleapis/google/ads/googleads/v13/resources/user_location_view.proto deleted file mode 100644 index 5973cc04a..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/user_location_view.proto +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "UserLocationViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the user location view resource. - -// A user location view. -// -// User Location View includes all metrics aggregated at the country level, -// one row per country. It reports metrics at the actual physical location of -// the user by targeted or not targeted location. If other segment fields are -// used, you may get more than one row per country. -message UserLocationView { - option (google.api.resource) = { - type: "googleads.googleapis.com/UserLocationView" - pattern: "customers/{customer_id}/userLocationViews/{country_criterion_id}~{is_targeting_location}" - }; - - // Output only. The resource name of the user location view. - // UserLocation view resource names have the form: - // - // `customers/{customer_id}/userLocationViews/{country_criterion_id}~{targeting_location}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/UserLocationView" - } - ]; - - // Output only. Criterion Id for the country. - optional int64 country_criterion_id = 4 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Indicates whether location was targeted or not. - optional bool targeting_location = 5 - [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/video.proto b/third_party/googleapis/google/ads/googleads/v13/resources/video.proto deleted file mode 100644 index 588cf13af..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/video.proto +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "VideoProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the video resource. - -// A video. -message Video { - option (google.api.resource) = { - type: "googleads.googleapis.com/Video" - pattern: "customers/{customer_id}/videos/{video_id}" - }; - - // Output only. The resource name of the video. - // Video resource names have the form: - // - // `customers/{customer_id}/videos/{video_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { type: "googleads.googleapis.com/Video" } - ]; - - // Output only. The ID of the video. - optional string id = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The owner channel id of the video. - optional string channel_id = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The duration of the video in milliseconds. - optional int64 duration_millis = 8 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The title of the video. - optional string title = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/resources/webpage_view.proto b/third_party/googleapis/google/ads/googleads/v13/resources/webpage_view.proto deleted file mode 100644 index 89b0036e7..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/resources/webpage_view.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.resources; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "WebpageViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; - -// Proto file describing the webpage view resource. - -// A webpage view. -message WebpageView { - option (google.api.resource) = { - type: "googleads.googleapis.com/WebpageView" - pattern: "customers/{customer_id}/webpageViews/{ad_group_id}~{criterion_id}" - }; - - // Output only. The resource name of the webpage view. - // Webpage view resource names have the form: - // - // `customers/{customer_id}/webpageViews/{ad_group_id}~{criterion_id}` - string resource_name = 1 [ - (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/WebpageView" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/BUILD.bazel b/third_party/googleapis/google/ads/googleads/v13/services/BUILD.bazel deleted file mode 100644 index 1555f6f8c..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/BUILD.bazel +++ /dev/null @@ -1,138 +0,0 @@ -# Copyright 2020 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -package(default_visibility = ["//visibility:public"]) - -############################################################################## -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -# TODO(ohren): Change srcs to use an enumeration of each individual proto -# instead of *.proto globbing once the build file generator supports -# subpackages. -proto_library( - name = "services_proto", - srcs = glob(["*.proto"]), - deps = [ - "//google/ads/googleads/v13/common:common_proto", - "//google/ads/googleads/v13/enums:enums_proto", - "//google/ads/googleads/v13/errors:errors_proto", - "//google/ads/googleads/v13/resources:resources_proto", - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", - "//google/longrunning:operations_proto", - "//google/rpc:status_proto", - "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:wrappers_proto", - ], -) - -proto_library_with_info( - name = "services_proto_with_info", - deps = [ - ":services_proto", - ], -) - -############################################################################## -# Java -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "java_grpc_library", - "java_proto_library", -) - -java_proto_library( - name = "services_java_proto", - deps = [":services_proto"], -) - -java_grpc_library( - name = "services_java_grpc", - srcs = [":services_proto"], - deps = [":services_java_proto"], -) - -############################################################################## -# PHP -############################################################################## - -# PHP targets are in the parent directory's BUILD.bazel file to facilitate -# aggregating metadata using a single underlying call to protoc. - -############################################################################## -# C# -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "csharp_grpc_library", - "csharp_proto_library", -) - -csharp_proto_library( - name = "services_csharp_proto", - deps = [":services_proto"], -) - -csharp_grpc_library( - name = "services_csharp_grpc", - srcs = [":services_proto"], - deps = [":services_csharp_proto"], -) - -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( - name = "services_ruby_proto", - deps = [":services_proto"], -) - -ruby_grpc_library( - name = "services_ruby_grpc", - srcs = [":services_proto"], - deps = [":services_ruby_proto"], -) - -############################################################################## -# Python -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "py_grpc_library", - "py_proto_library", -) - -py_proto_library( - name = "services_py_proto", - deps = [":services_proto"], -) - -py_grpc_library( - name = "services_py_grpc", - srcs = [":services_proto"], - deps = [":services_py_proto"], -) diff --git a/third_party/googleapis/google/ads/googleads/v13/services/account_budget_proposal_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/account_budget_proposal_service.proto deleted file mode 100644 index 682c283b0..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/account_budget_proposal_service.proto +++ /dev/null @@ -1,135 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/account_budget_proposal.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AccountBudgetProposalServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the AccountBudgetProposal service. - -// A service for managing account-level budgets through proposals. -// -// A proposal is a request to create a new budget or make changes to an -// existing one. -// -// Mutates: -// The CREATE operation creates a new proposal. -// UPDATE operations aren't supported. -// The REMOVE operation cancels a pending proposal. -service AccountBudgetProposalService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes account budget proposals. Operation statuses - // are returned. - // - // List of thrown errors: - // [AccountBudgetProposalError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [DateError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - // [StringLengthError]() - rpc MutateAccountBudgetProposal(MutateAccountBudgetProposalRequest) - returns (MutateAccountBudgetProposalResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/accountBudgetProposals:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operation"; - } -} - -// Request message for -// [AccountBudgetProposalService.MutateAccountBudgetProposal][google.ads.googleads.v13.services.AccountBudgetProposalService.MutateAccountBudgetProposal]. -message MutateAccountBudgetProposalRequest { - // Required. The ID of the customer. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The operation to perform on an individual account-level budget - // proposal. - AccountBudgetProposalOperation operation = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; -} - -// A single operation to propose the creation of a new account-level budget or -// edit/end/remove an existing one. -message AccountBudgetProposalOperation { - // FieldMask that determines which budget fields are modified. While budgets - // may be modified, proposals that propose such modifications are final. - // Therefore, update operations are not supported for proposals. - // - // Proposals that modify budgets have the 'update' proposal type. Specifying - // a mask for any other proposal type is considered an error. - google.protobuf.FieldMask update_mask = 3; - - // The mutate operation. - oneof operation { - // Create operation: A new proposal to create a new budget, edit an - // existing budget, end an actively running budget, or remove an approved - // budget scheduled to start in the future. - // No resource name is expected for the new proposal. - google.ads.googleads.v13.resources.AccountBudgetProposal create = 2; - - // Remove operation: A resource name for the removed proposal is expected, - // in this format: - // - // `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` - // A request may be cancelled iff it is pending. - string remove = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AccountBudgetProposal" - }]; - } -} - -// Response message for account-level budget mutate operations. -message MutateAccountBudgetProposalResponse { - // The result of the mutate. - MutateAccountBudgetProposalResult result = 2; -} - -// The result for the account budget proposal mutate. -message MutateAccountBudgetProposalResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AccountBudgetProposal" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/account_link_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/account_link_service.proto deleted file mode 100644 index 24d065c59..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/account_link_service.proto +++ /dev/null @@ -1,168 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/account_link.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AccountLinkServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// This service allows management of links between Google Ads accounts and other -// accounts. -service AccountLinkService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates an account link. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - // [ThirdPartyAppAnalyticsLinkError]() - rpc CreateAccountLink(CreateAccountLinkRequest) - returns (CreateAccountLinkResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/accountLinks:create" - body: "*" - }; - option (google.api.method_signature) = "customer_id,account_link"; - } - - // Creates or removes an account link. - // From V5, create is not supported through - // AccountLinkService.MutateAccountLink. Use - // AccountLinkService.CreateAccountLink instead. - // - // List of thrown errors: - // [AccountLinkError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [FieldMaskError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - rpc MutateAccountLink(MutateAccountLinkRequest) - returns (MutateAccountLinkResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/accountLinks:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operation"; - } -} - -// Request message for -// [AccountLinkService.CreateAccountLink][google.ads.googleads.v13.services.AccountLinkService.CreateAccountLink]. -message CreateAccountLinkRequest { - // Required. The ID of the customer for which the account link is created. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The account link to be created. - google.ads.googleads.v13.resources.AccountLink account_link = 2 - [(google.api.field_behavior) = REQUIRED]; -} - -// Response message for -// [AccountLinkService.CreateAccountLink][google.ads.googleads.v13.services.AccountLinkService.CreateAccountLink]. -message CreateAccountLinkResponse { - // Returned for successful operations. Resource name of the account link. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AccountLink" - }]; -} - -// Request message for -// [AccountLinkService.MutateAccountLink][google.ads.googleads.v13.services.AccountLinkService.MutateAccountLink]. -message MutateAccountLinkRequest { - // Required. The ID of the customer being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The operation to perform on the link. - AccountLinkOperation operation = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single update on an account link. -message AccountLinkOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The operation to perform. - oneof operation { - // Update operation: The account link is expected to have - // a valid resource name. - google.ads.googleads.v13.resources.AccountLink update = 2; - - // Remove operation: A resource name for the account link to remove is - // expected, in this format: - // - // `customers/{customer_id}/accountLinks/{account_link_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AccountLink" - }]; - } -} - -// Response message for account link mutate. -message MutateAccountLinkResponse { - // Result for the mutate. - MutateAccountLinkResult result = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the account link mutate. -message MutateAccountLinkResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AccountLink" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/ad_group_ad_label_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/ad_group_ad_label_service.proto deleted file mode 100644 index f1e8b1d2c..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/ad_group_ad_label_service.proto +++ /dev/null @@ -1,123 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/ad_group_ad_label.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAdLabelServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the Ad Group Ad Label service. - -// Service to manage labels on ad group ads. -service AdGroupAdLabelService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates and removes ad group ad labels. - // Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [HeaderError]() - // [InternalError]() - // [LabelError]() - // [MutateError]() - // [NewResourceCreationError]() - // [QuotaError]() - // [RequestError]() - rpc MutateAdGroupAdLabels(MutateAdGroupAdLabelsRequest) - returns (MutateAdGroupAdLabelsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/adGroupAdLabels:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [AdGroupAdLabelService.MutateAdGroupAdLabels][google.ads.googleads.v13.services.AdGroupAdLabelService.MutateAdGroupAdLabels]. -message MutateAdGroupAdLabelsRequest { - // Required. ID of the customer whose ad group ad labels are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on ad group ad labels. - repeated AdGroupAdLabelOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, remove) on an ad group ad label. -message AdGroupAdLabelOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new ad group ad - // label. - google.ads.googleads.v13.resources.AdGroupAdLabel create = 1; - - // Remove operation: A resource name for the ad group ad label - // being removed, in this format: - // - // `customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAdLabel" - }]; - } -} - -// Response message for an ad group ad labels mutate. -message MutateAdGroupAdLabelsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateAdGroupAdLabelResult results = 2; -} - -// The result for an ad group ad label mutate. -message MutateAdGroupAdLabelResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAdLabel" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/ad_group_ad_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/ad_group_ad_service.proto deleted file mode 100644 index b2dd4e6f5..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/ad_group_ad_service.proto +++ /dev/null @@ -1,177 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/common/policy.proto"; -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/ad_group_ad.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAdServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the Ad Group Ad service. - -// Service to manage ads in an ad group. -service AdGroupAdService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes ads. Operation statuses are returned. - // - // List of thrown errors: - // [AdCustomizerError]() - // [AdError]() - // [AdGroupAdError]() - // [AdSharingError]() - // [AdxError]() - // [AssetError]() - // [AssetLinkError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [ContextError]() - // [DatabaseError]() - // [DateError]() - // [DistinctError]() - // [FeedAttributeReferenceError]() - // [FieldError]() - // [FieldMaskError]() - // [FunctionError]() - // [FunctionParsingError]() - // [HeaderError]() - // [IdError]() - // [ImageError]() - // [InternalError]() - // [ListOperationError]() - // [MediaBundleError]() - // [MediaFileError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [NullError]() - // [OperationAccessDeniedError]() - // [OperatorError]() - // [PolicyFindingError]() - // [PolicyValidationParameterError]() - // [PolicyViolationError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - // [UrlFieldError]() - rpc MutateAdGroupAds(MutateAdGroupAdsRequest) - returns (MutateAdGroupAdsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/adGroupAds:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [AdGroupAdService.MutateAdGroupAds][google.ads.googleads.v13.services.AdGroupAdService.MutateAdGroupAds]. -message MutateAdGroupAdsRequest { - // Required. The ID of the customer whose ads are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual ads. - repeated AdGroupAdOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation (create, update, remove) on an ad group ad. -message AdGroupAdOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // Configuration for how policies are validated. - google.ads.googleads.v13.common.PolicyValidationParameter - policy_validation_parameter = 5; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new ad. - google.ads.googleads.v13.resources.AdGroupAd create = 1; - - // Update operation: The ad is expected to have a valid resource name. - google.ads.googleads.v13.resources.AdGroupAd update = 2; - - // Remove operation: A resource name for the removed ad is expected, - // in this format: - // - // `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAd" - }]; - } -} - -// Response message for an ad group ad mutate. -message MutateAdGroupAdsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateAdGroupAdResult results = 2; -} - -// The result for the ad mutate. -message MutateAdGroupAdResult { - // The resource name returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAd" - }]; - - // The mutated ad group ad with only mutable fields after mutate. The field - // will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.AdGroupAd ad_group_ad = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/ad_group_asset_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/ad_group_asset_service.proto deleted file mode 100644 index 596995f42..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/ad_group_asset_service.proto +++ /dev/null @@ -1,143 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/ad_group_asset.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAssetServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the AdGroupAsset service. - -// Service to manage ad group assets. -service AdGroupAssetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes ad group assets. Operation statuses are - // returned. - // - // List of thrown errors: - // [AssetLinkError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [ContextError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [NotAllowlistedError]() - // [QuotaError]() - // [RequestError]() - rpc MutateAdGroupAssets(MutateAdGroupAssetsRequest) - returns (MutateAdGroupAssetsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/adGroupAssets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [AdGroupAssetService.MutateAdGroupAssets][google.ads.googleads.v13.services.AdGroupAssetService.MutateAdGroupAssets]. -message MutateAdGroupAssetsRequest { - // Required. The ID of the customer whose ad group assets are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual ad group assets. - repeated AdGroupAssetOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation (create, update, remove) on an ad group asset. -message AdGroupAssetOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new ad group - // asset. - google.ads.googleads.v13.resources.AdGroupAsset create = 1; - - // Update operation: The ad group asset is expected to have a valid resource - // name. - google.ads.googleads.v13.resources.AdGroupAsset update = 3; - - // Remove operation: A resource name for the removed ad group asset is - // expected, in this format: - // - // `customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAsset" - }]; - } -} - -// Response message for an ad group asset mutate. -message MutateAdGroupAssetsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 1; - - // All results for the mutate. - repeated MutateAdGroupAssetResult results = 2; -} - -// The result for the ad group asset mutate. -message MutateAdGroupAssetResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAsset" - }]; - - // The mutated ad group asset with only mutable fields after - // mutate. The field will only be returned when response_content_type is set - // to "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.AdGroupAsset ad_group_asset = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/ad_group_asset_set_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/ad_group_asset_set_service.proto deleted file mode 100644 index 0ae2b5133..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/ad_group_asset_set_service.proto +++ /dev/null @@ -1,123 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/ad_group_asset_set.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAssetSetServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the AdGroupAssetSet service. - -// Service to manage ad group asset set -service AdGroupAssetSetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, or removes ad group asset sets. Operation statuses are - // returned. - rpc MutateAdGroupAssetSets(MutateAdGroupAssetSetsRequest) - returns (MutateAdGroupAssetSetsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/adGroupAssetSets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [AdGroupAssetSetService.MutateAdGroupAssetSets][google.ads.googleads.v13.services.AdGroupAssetSetService.MutateAdGroupAssetSets]. -message MutateAdGroupAssetSetsRequest { - // Required. The ID of the customer whose ad group asset sets are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual ad group asset - // sets. - repeated AdGroupAssetSetOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation (create, remove) on an ad group asset set. -message AdGroupAssetSetOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new ad group asset - // set. - google.ads.googleads.v13.resources.AdGroupAssetSet create = 1; - - // Remove operation: A resource name for the removed ad group asset set is - // expected, in this format: - // `customers/{customer_id}/adGroupAssetSets/{ad_group_id}~{asset_set_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAssetSet" - }]; - } -} - -// Response message for an ad group asset set mutate. -message MutateAdGroupAssetSetsResponse { - // All results for the mutate. - repeated MutateAdGroupAssetSetResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (e.g. auth errors), - // we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the ad group asset set mutate. -message MutateAdGroupAssetSetResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupAssetSet" - }]; - - // The mutated ad group asset set with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.AdGroupAssetSet ad_group_asset_set = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/ad_group_bid_modifier_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/ad_group_bid_modifier_service.proto deleted file mode 100644 index a6d2283ef..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/ad_group_bid_modifier_service.proto +++ /dev/null @@ -1,158 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/ad_group_bid_modifier.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupBidModifierServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the Ad Group Bid Modifier service. - -// Service to manage ad group bid modifiers. -service AdGroupBidModifierService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes ad group bid modifiers. - // Operation statuses are returned. - // - // List of thrown errors: - // [AdGroupBidModifierError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [ContextError]() - // [CriterionError]() - // [DatabaseError]() - // [DistinctError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - rpc MutateAdGroupBidModifiers(MutateAdGroupBidModifiersRequest) - returns (MutateAdGroupBidModifiersResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/adGroupBidModifiers:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [AdGroupBidModifierService.MutateAdGroupBidModifiers][google.ads.googleads.v13.services.AdGroupBidModifierService.MutateAdGroupBidModifiers]. -message MutateAdGroupBidModifiersRequest { - // Required. ID of the customer whose ad group bid modifiers are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual ad group bid - // modifiers. - repeated AdGroupBidModifierOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation (create, remove, update) on an ad group bid modifier. -message AdGroupBidModifierOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new ad group bid - // modifier. - google.ads.googleads.v13.resources.AdGroupBidModifier create = 1; - - // Update operation: The ad group bid modifier is expected to have a valid - // resource name. - google.ads.googleads.v13.resources.AdGroupBidModifier update = 2; - - // Remove operation: A resource name for the removed ad group bid modifier - // is expected, in this format: - // - // `customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupBidModifier" - }]; - } -} - -// Response message for ad group bid modifiers mutate. -message MutateAdGroupBidModifiersResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateAdGroupBidModifierResult results = 2; -} - -// The result for the criterion mutate. -message MutateAdGroupBidModifierResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupBidModifier" - }]; - - // The mutated ad group bid modifier with only mutable fields after mutate. - // The field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.AdGroupBidModifier ad_group_bid_modifier = - 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/ad_group_criterion_customizer_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/ad_group_criterion_customizer_service.proto deleted file mode 100644 index dee236874..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/ad_group_criterion_customizer_service.proto +++ /dev/null @@ -1,126 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/ad_group_criterion_customizer.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionCustomizerServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the AdGroupCriterionCustomizer service. - -// Service to manage ad group criterion customizer -service AdGroupCriterionCustomizerService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes ad group criterion customizers. Operation - // statuses are returned. - rpc MutateAdGroupCriterionCustomizers( - MutateAdGroupCriterionCustomizersRequest) - returns (MutateAdGroupCriterionCustomizersResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/AdGroupCriterionCustomizers:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [AdGroupCriterionCustomizerService.MutateAdGroupCriterionCustomizers][google.ads.googleads.v13.services.AdGroupCriterionCustomizerService.MutateAdGroupCriterionCustomizers]. -message MutateAdGroupCriterionCustomizersRequest { - // Required. The ID of the customer whose ad group criterion customizers are - // being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual ad group - // criterion customizers. - repeated AdGroupCriterionCustomizerOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation (create, remove) on a customizer attribute. -message AdGroupCriterionCustomizerOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new ad group - // criterion customizer. - google.ads.googleads.v13.resources.AdGroupCriterionCustomizer create = 1; - - // Remove operation: A resource name for the removed ad group criterion - // customizer is expected, in this format: - // - // `customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~{customizer_attribute_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterionCustomizer" - }]; - } -} - -// Response message for an ad group criterion customizer mutate. -message MutateAdGroupCriterionCustomizersResponse { - // All results for the mutate. - repeated MutateAdGroupCriterionCustomizerResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the ad group criterion customizer mutate. -message MutateAdGroupCriterionCustomizerResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterionCustomizer" - }]; - - // The mutated AdGroupCriterionCustomizer with only mutable fields after - // mutate. The field will only be returned when response_content_type is set - // to "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.AdGroupCriterionCustomizer - ad_group_criterion_customizer = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/ad_group_criterion_label_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/ad_group_criterion_label_service.proto deleted file mode 100644 index 215279922..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/ad_group_criterion_label_service.proto +++ /dev/null @@ -1,122 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/ad_group_criterion_label.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionLabelServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the Ad Group Criterion Label service. - -// Service to manage labels on ad group criteria. -service AdGroupCriterionLabelService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates and removes ad group criterion labels. - // Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc MutateAdGroupCriterionLabels(MutateAdGroupCriterionLabelsRequest) - returns (MutateAdGroupCriterionLabelsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/adGroupCriterionLabels:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [AdGroupCriterionLabelService.MutateAdGroupCriterionLabels][google.ads.googleads.v13.services.AdGroupCriterionLabelService.MutateAdGroupCriterionLabels]. -message MutateAdGroupCriterionLabelsRequest { - // Required. ID of the customer whose ad group criterion labels are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on ad group criterion labels. - repeated AdGroupCriterionLabelOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, remove) on an ad group criterion label. -message AdGroupCriterionLabelOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new ad group - // label. - google.ads.googleads.v13.resources.AdGroupCriterionLabel create = 1; - - // Remove operation: A resource name for the ad group criterion label - // being removed, in this format: - // - // `customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterionLabel" - }]; - } -} - -// Response message for an ad group criterion labels mutate. -message MutateAdGroupCriterionLabelsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateAdGroupCriterionLabelResult results = 2; -} - -// The result for an ad group criterion label mutate. -message MutateAdGroupCriterionLabelResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterionLabel" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/ad_group_criterion_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/ad_group_criterion_service.proto deleted file mode 100644 index 938763c05..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/ad_group_criterion_service.proto +++ /dev/null @@ -1,176 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/common/policy.proto"; -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/ad_group_criterion.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the Ad Group Criterion service. - -// Service to manage ad group criteria. -service AdGroupCriterionService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes criteria. Operation statuses are returned. - // - // List of thrown errors: - // [AdGroupCriterionError]() - // [AdxError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [BiddingError]() - // [BiddingStrategyError]() - // [CollectionSizeError]() - // [ContextError]() - // [CriterionError]() - // [DatabaseError]() - // [DateError]() - // [DistinctError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [MultiplierError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [NullError]() - // [OperationAccessDeniedError]() - // [OperatorError]() - // [PolicyViolationError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - // [UrlFieldError]() - rpc MutateAdGroupCriteria(MutateAdGroupCriteriaRequest) - returns (MutateAdGroupCriteriaResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/adGroupCriteria:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [AdGroupCriterionService.MutateAdGroupCriteria][google.ads.googleads.v13.services.AdGroupCriterionService.MutateAdGroupCriteria]. -message MutateAdGroupCriteriaRequest { - // Required. ID of the customer whose criteria are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual criteria. - repeated AdGroupCriterionOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation (create, remove, update) on an ad group criterion. -message AdGroupCriterionOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The list of policy violation keys that should not cause a - // PolicyViolationError to be reported. Not all policy violations are - // exemptable, refer to the is_exemptible field in the returned - // PolicyViolationError. - // - // Resources violating these polices will be saved, but will not be eligible - // to serve. They may begin serving at a later time due to a change in - // policies, re-review of the resource, or a change in advertiser - // certificates. - repeated google.ads.googleads.v13.common.PolicyViolationKey - exempt_policy_violation_keys = 5; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new criterion. - google.ads.googleads.v13.resources.AdGroupCriterion create = 1; - - // Update operation: The criterion is expected to have a valid resource - // name. - google.ads.googleads.v13.resources.AdGroupCriterion update = 2; - - // Remove operation: A resource name for the removed criterion is expected, - // in this format: - // - // `customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterion" - }]; - } -} - -// Response message for an ad group criterion mutate. -message MutateAdGroupCriteriaResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateAdGroupCriterionResult results = 2; -} - -// The result for the criterion mutate. -message MutateAdGroupCriterionResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCriterion" - }]; - - // The mutated ad group criterion with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.AdGroupCriterion ad_group_criterion = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/ad_group_customizer_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/ad_group_customizer_service.proto deleted file mode 100644 index e936dcd4e..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/ad_group_customizer_service.proto +++ /dev/null @@ -1,123 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/ad_group_customizer.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCustomizerServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the AdGroupCustomizer service. - -// Service to manage ad group customizer -service AdGroupCustomizerService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes ad group customizers. Operation statuses are - // returned. - rpc MutateAdGroupCustomizers(MutateAdGroupCustomizersRequest) - returns (MutateAdGroupCustomizersResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/adGroupCustomizers:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [AdGroupCustomizerService.MutateAdGroupCustomizers][google.ads.googleads.v13.services.AdGroupCustomizerService.MutateAdGroupCustomizers]. -message MutateAdGroupCustomizersRequest { - // Required. The ID of the customer whose ad group customizers are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual ad group - // customizers. - repeated AdGroupCustomizerOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation (create, remove) on a customizer attribute. -message AdGroupCustomizerOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new ad group - // customizer - google.ads.googleads.v13.resources.AdGroupCustomizer create = 1; - - // Remove operation: A resource name for the removed ad group customizer is - // expected, in this format: - // `customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCustomizer" - }]; - } -} - -// Response message for an ad group customizer mutate. -message MutateAdGroupCustomizersResponse { - // All results for the mutate. - repeated MutateAdGroupCustomizerResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the ad group customizer mutate. -message MutateAdGroupCustomizerResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupCustomizer" - }]; - - // The mutated AdGroupCustomizer with only mutable fields after mutate. - // The field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.AdGroupCustomizer ad_group_customizer = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/ad_group_extension_setting_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/ad_group_extension_setting_service.proto deleted file mode 100644 index b4278d4f4..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/ad_group_extension_setting_service.proto +++ /dev/null @@ -1,163 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/ad_group_extension_setting.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupExtensionSettingServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the AdGroupExtensionSetting service. - -// Service to manage ad group extension settings. -service AdGroupExtensionSettingService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes ad group extension settings. Operation - // statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [CriterionError]() - // [DatabaseError]() - // [DateError]() - // [DistinctError]() - // [ExtensionSettingError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [ListOperationError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [NullError]() - // [OperationAccessDeniedError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - // [UrlFieldError]() - rpc MutateAdGroupExtensionSettings(MutateAdGroupExtensionSettingsRequest) - returns (MutateAdGroupExtensionSettingsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/adGroupExtensionSettings:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [AdGroupExtensionSettingService.MutateAdGroupExtensionSettings][google.ads.googleads.v13.services.AdGroupExtensionSettingService.MutateAdGroupExtensionSettings]. -message MutateAdGroupExtensionSettingsRequest { - // Required. The ID of the customer whose ad group extension settings are - // being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual ad group - // extension settings. - repeated AdGroupExtensionSettingOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, update, remove) on an ad group extension setting. -message AdGroupExtensionSettingOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new ad group - // extension setting. - google.ads.googleads.v13.resources.AdGroupExtensionSetting create = 1; - - // Update operation: The ad group extension setting is expected to have a - // valid resource name. - google.ads.googleads.v13.resources.AdGroupExtensionSetting update = 2; - - // Remove operation: A resource name for the removed ad group extension - // setting is expected, in this format: - // - // `customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupExtensionSetting" - }]; - } -} - -// Response message for an ad group extension setting mutate. -message MutateAdGroupExtensionSettingsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateAdGroupExtensionSettingResult results = 2; -} - -// The result for the ad group extension setting mutate. -message MutateAdGroupExtensionSettingResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupExtensionSetting" - }]; - - // The mutated AdGroupExtensionSetting with only mutable fields after mutate. - // The field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.AdGroupExtensionSetting - ad_group_extension_setting = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/ad_group_feed_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/ad_group_feed_service.proto deleted file mode 100644 index 68a671dfc..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/ad_group_feed_service.proto +++ /dev/null @@ -1,153 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/ad_group_feed.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupFeedServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the AdGroupFeed service. - -// Service to manage ad group feeds. -service AdGroupFeedService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes ad group feeds. Operation statuses are - // returned. - // - // List of thrown errors: - // [AdGroupFeedError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [DatabaseError]() - // [DistinctError]() - // [FieldError]() - // [FunctionError]() - // [FunctionParsingError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [MutateError]() - // [NotEmptyError]() - // [NullError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - rpc MutateAdGroupFeeds(MutateAdGroupFeedsRequest) - returns (MutateAdGroupFeedsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/adGroupFeeds:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [AdGroupFeedService.MutateAdGroupFeeds][google.ads.googleads.v13.services.AdGroupFeedService.MutateAdGroupFeeds]. -message MutateAdGroupFeedsRequest { - // Required. The ID of the customer whose ad group feeds are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual ad group feeds. - repeated AdGroupFeedOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation (create, update, remove) on an ad group feed. -message AdGroupFeedOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new ad group feed. - google.ads.googleads.v13.resources.AdGroupFeed create = 1; - - // Update operation: The ad group feed is expected to have a valid resource - // name. - google.ads.googleads.v13.resources.AdGroupFeed update = 2; - - // Remove operation: A resource name for the removed ad group feed is - // expected, in this format: - // - // `customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupFeed" - }]; - } -} - -// Response message for an ad group feed mutate. -message MutateAdGroupFeedsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateAdGroupFeedResult results = 2; -} - -// The result for the ad group feed mutate. -message MutateAdGroupFeedResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupFeed" - }]; - - // The mutated ad group feed with only mutable fields after mutate. The field - // will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.AdGroupFeed ad_group_feed = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/ad_group_label_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/ad_group_label_service.proto deleted file mode 100644 index 42e6c5998..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/ad_group_label_service.proto +++ /dev/null @@ -1,124 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/ad_group_label.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupLabelServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the Ad Group Label service. - -// Service to manage labels on ad groups. -service AdGroupLabelService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates and removes ad group labels. - // Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [LabelError]() - // [MutateError]() - // [NewResourceCreationError]() - // [QuotaError]() - // [RequestError]() - rpc MutateAdGroupLabels(MutateAdGroupLabelsRequest) - returns (MutateAdGroupLabelsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/adGroupLabels:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [AdGroupLabelService.MutateAdGroupLabels][google.ads.googleads.v13.services.AdGroupLabelService.MutateAdGroupLabels]. -message MutateAdGroupLabelsRequest { - // Required. ID of the customer whose ad group labels are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on ad group labels. - repeated AdGroupLabelOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, remove) on an ad group label. -message AdGroupLabelOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new ad group - // label. - google.ads.googleads.v13.resources.AdGroupLabel create = 1; - - // Remove operation: A resource name for the ad group label - // being removed, in this format: - // - // `customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupLabel" - }]; - } -} - -// Response message for an ad group labels mutate. -message MutateAdGroupLabelsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateAdGroupLabelResult results = 2; -} - -// The result for an ad group label mutate. -message MutateAdGroupLabelResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroupLabel" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/ad_group_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/ad_group_service.proto deleted file mode 100644 index e15bfc80a..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/ad_group_service.proto +++ /dev/null @@ -1,158 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/ad_group.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the Ad Group service. - -// Service to manage ad groups. -service AdGroupService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes ad groups. Operation statuses are returned. - // - // List of thrown errors: - // [AdGroupError]() - // [AdxError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [BiddingError]() - // [BiddingStrategyError]() - // [DatabaseError]() - // [DateError]() - // [DistinctError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [ListOperationError]() - // [MultiplierError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [NullError]() - // [OperationAccessDeniedError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - // [SettingError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - // [UrlFieldError]() - rpc MutateAdGroups(MutateAdGroupsRequest) returns (MutateAdGroupsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/adGroups:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [AdGroupService.MutateAdGroups][google.ads.googleads.v13.services.AdGroupService.MutateAdGroups]. -message MutateAdGroupsRequest { - // Required. The ID of the customer whose ad groups are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual ad groups. - repeated AdGroupOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation (create, update, remove) on an ad group. -message AdGroupOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new ad group. - google.ads.googleads.v13.resources.AdGroup create = 1; - - // Update operation: The ad group is expected to have a valid resource name. - google.ads.googleads.v13.resources.AdGroup update = 2; - - // Remove operation: A resource name for the removed ad group is expected, - // in this format: - // - // `customers/{customer_id}/adGroups/{ad_group_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - }]; - } -} - -// Response message for an ad group mutate. -message MutateAdGroupsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateAdGroupResult results = 2; -} - -// The result for the ad group mutate. -message MutateAdGroupResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdGroup" - }]; - - // The mutated ad group with only mutable fields after mutate. The field will - // only be returned when response_content_type is set to "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.AdGroup ad_group = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/ad_parameter_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/ad_parameter_service.proto deleted file mode 100644 index d4581c8cf..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/ad_parameter_service.proto +++ /dev/null @@ -1,143 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/ad_parameter.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdParameterServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the Ad Parameter service. - -// Service to manage ad parameters. -service AdParameterService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes ad parameters. Operation statuses are - // returned. - // - // List of thrown errors: - // [AdParameterError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [ContextError]() - // [DatabaseError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - rpc MutateAdParameters(MutateAdParametersRequest) - returns (MutateAdParametersResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/adParameters:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [AdParameterService.MutateAdParameters][google.ads.googleads.v13.services.AdParameterService.MutateAdParameters] -message MutateAdParametersRequest { - // Required. The ID of the customer whose ad parameters are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual ad parameters. - repeated AdParameterOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation (create, update, remove) on ad parameter. -message AdParameterOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new ad parameter. - google.ads.googleads.v13.resources.AdParameter create = 1; - - // Update operation: The ad parameter is expected to have a valid resource - // name. - google.ads.googleads.v13.resources.AdParameter update = 2; - - // Remove operation: A resource name for the ad parameter to remove is - // expected in this format: - // - // `customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdParameter" - }]; - } -} - -// Response message for an ad parameter mutate. -message MutateAdParametersResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateAdParameterResult results = 2; -} - -// The result for the ad parameter mutate. -message MutateAdParameterResult { - // The resource name returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AdParameter" - }]; - - // The mutated AdParameter with only mutable fields after mutate. The field - // will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.AdParameter ad_parameter = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/ad_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/ad_service.proto deleted file mode 100644 index 79d1fabea..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/ad_service.proto +++ /dev/null @@ -1,188 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/common/policy.proto"; -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/ad.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the Ad service. - -// Service to manage ads. -service AdService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Returns the requested ad in full detail. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc GetAd(GetAdRequest) returns (google.ads.googleads.v13.resources.Ad) { - option (google.api.http) = { - get: "/v13/{resource_name=customers/*/ads/*}" - }; - option (google.api.method_signature) = "resource_name"; - } - - // Updates ads. Operation statuses are returned. Updating ads is not supported - // for TextAd, ExpandedDynamicSearchAd, GmailAd and ImageAd. - // - // List of thrown errors: - // [AdCustomizerError]() - // [AdError]() - // [AdSharingError]() - // [AdxError]() - // [AssetError]() - // [AssetLinkError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [DatabaseError]() - // [DateError]() - // [DistinctError]() - // [FeedAttributeReferenceError]() - // [FieldError]() - // [FieldMaskError]() - // [FunctionError]() - // [FunctionParsingError]() - // [HeaderError]() - // [IdError]() - // [ImageError]() - // [InternalError]() - // [ListOperationError]() - // [MediaBundleError]() - // [MediaFileError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [NullError]() - // [OperatorError]() - // [PolicyFindingError]() - // [PolicyViolationError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - // [UrlFieldError]() - rpc MutateAds(MutateAdsRequest) returns (MutateAdsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/ads:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [AdService.GetAd][google.ads.googleads.v13.services.AdService.GetAd]. -message GetAdRequest { - // Required. The resource name of the ad to fetch. - string resource_name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { type: "googleads.googleapis.com/Ad" } - ]; -} - -// Request message for -// [AdService.MutateAds][google.ads.googleads.v13.services.AdService.MutateAds]. -message MutateAdsRequest { - // Required. The ID of the customer whose ads are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual ads. - repeated AdOperation operations = 2 [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; -} - -// A single update operation on an ad. -message AdOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 2; - - // Configuration for how policies are validated. - google.ads.googleads.v13.common.PolicyValidationParameter - policy_validation_parameter = 3; - - // The mutate operation. - oneof operation { - // Update operation: The ad is expected to have a valid resource name - // in this format: - // - // `customers/{customer_id}/ads/{ad_id}` - google.ads.googleads.v13.resources.Ad update = 1; - } -} - -// Response message for an ad mutate. -message MutateAdsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateAdResult results = 2; -} - -// The result for the ad mutate. -message MutateAdResult { - // The resource name returned for successful operations. - string resource_name = 1 [ - (google.api.resource_reference) = { type: "googleads.googleapis.com/Ad" } - ]; - - // The mutated ad with only mutable fields after mutate. The field will only - // be returned when response_content_type is set to "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.Ad ad = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/asset_group_asset_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/asset_group_asset_service.proto deleted file mode 100644 index 066964286..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/asset_group_asset_service.proto +++ /dev/null @@ -1,120 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/asset_group_asset.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupAssetServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the AssetGroupAsset service. - -// Service to manage asset group asset. -service AssetGroupAssetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes asset group assets. Operation statuses are - // returned. - rpc MutateAssetGroupAssets(MutateAssetGroupAssetsRequest) - returns (MutateAssetGroupAssetsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/assetGroupAssets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [AssetGroupAssetService.MutateAssetGroupAssets][google.ads.googleads.v13.services.AssetGroupAssetService.MutateAssetGroupAssets]. -message MutateAssetGroupAssetsRequest { - // Required. The ID of the customer whose asset group assets are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual asset group - // assets. - repeated AssetGroupAssetOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, remove) on an asset group asset. -message AssetGroupAssetOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new asset group - // asset. - google.ads.googleads.v13.resources.AssetGroupAsset create = 1; - - // Update operation: The asset group asset is expected to have a valid - // resource name. - google.ads.googleads.v13.resources.AssetGroupAsset update = 2; - - // Remove operation: A resource name for the removed asset group asset is - // expected, in this format: - // `customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroupAsset" - }]; - } -} - -// Response message for an asset group asset mutate. -message MutateAssetGroupAssetsResponse { - // All results for the mutate. - repeated MutateAssetGroupAssetResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the asset group asset mutate. -message MutateAssetGroupAssetResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroupAsset" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/asset_group_listing_group_filter_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/asset_group_listing_group_filter_service.proto deleted file mode 100644 index 06b0a17ca..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/asset_group_listing_group_filter_service.proto +++ /dev/null @@ -1,125 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/asset_group_listing_group_filter.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupListingGroupFilterServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the AssetGroupListingGroupFilter service. - -// Service to manage asset group listing group filter. -service AssetGroupListingGroupFilterService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes asset group listing group filters. Operation - // statuses are returned. - rpc MutateAssetGroupListingGroupFilters( - MutateAssetGroupListingGroupFiltersRequest) - returns (MutateAssetGroupListingGroupFiltersResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/assetGroupListingGroupFilters:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [AssetGroupListingGroupFilterService.MutateAssetGroupListingGroupFilters][google.ads.googleads.v13.services.AssetGroupListingGroupFilterService.MutateAssetGroupListingGroupFilters]. -// partial_failure is not supported because the tree needs to be validated -// together. -message MutateAssetGroupListingGroupFiltersRequest { - // Required. The ID of the customer whose asset group listing group filters - // are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual asset group - // listing group filters. - repeated AssetGroupListingGroupFilterOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 4; -} - -// A single operation (create, remove) on an asset group listing group filter. -message AssetGroupListingGroupFilterOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new asset group - // listing group filter. - google.ads.googleads.v13.resources.AssetGroupListingGroupFilter create = 1; - - // Update operation: The asset group listing group filter is expected to - // have a valid resource name. - google.ads.googleads.v13.resources.AssetGroupListingGroupFilter update = 2; - - // Remove operation: A resource name for the removed asset group listing - // group filter is expected, in this format: - // `customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id}` - // An entity can be removed only if it's not referenced by other - // parent_listing_group_id. If multiple entities are being deleted, the - // mutates must be in the correct order. - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroupListingGroupFilter" - }]; - } -} - -// Response message for an asset group listing group filter mutate. -message MutateAssetGroupListingGroupFiltersResponse { - // All results for the mutate. - repeated MutateAssetGroupListingGroupFilterResult results = 1; -} - -// The result for the asset group listing group filter mutate. -message MutateAssetGroupListingGroupFilterResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroupListingGroupFilter" - }]; - - // The mutated AssetGroupListingGroupFilter with only mutable fields after - // mutate. The field will only be returned when response_content_type is set - // to "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.AssetGroupListingGroupFilter - asset_group_listing_group_filter = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/asset_group_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/asset_group_service.proto deleted file mode 100644 index ee2118bb3..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/asset_group_service.proto +++ /dev/null @@ -1,111 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/asset_group.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the AssetGroup service. - -// Service to manage asset group -service AssetGroupService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes asset groups. Operation statuses are - // returned. - rpc MutateAssetGroups(MutateAssetGroupsRequest) - returns (MutateAssetGroupsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/assetGroups:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [AssetGroupService.MutateAssetGroups][google.ads.googleads.v13.services.AssetGroupService.MutateAssetGroups]. -message MutateAssetGroupsRequest { - // Required. The ID of the customer whose asset groups are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual asset groups. - repeated AssetGroupOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, remove) on an asset group. -message AssetGroupOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new asset group - google.ads.googleads.v13.resources.AssetGroup create = 1; - - // Update operation: The asset group is expected to have a valid resource - // name. - google.ads.googleads.v13.resources.AssetGroup update = 2; - - // Remove operation: A resource name for the removed asset group is - // expected, in this format: - // `customers/{customer_id}/assetGroups/{asset_group_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroup" - }]; - } -} - -// Response message for an asset group mutate. -message MutateAssetGroupsResponse { - // All results for the mutate. - repeated MutateAssetGroupResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the asset group mutate. -message MutateAssetGroupResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroup" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/asset_group_signal_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/asset_group_signal_service.proto deleted file mode 100644 index 50227e425..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/asset_group_signal_service.proto +++ /dev/null @@ -1,122 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/asset_group_signal.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupSignalServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the AssetGroupSignal service. - -// Service to manage asset group signal. -service AssetGroupSignalService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates or removes asset group signals. Operation statuses are - // returned. - rpc MutateAssetGroupSignals(MutateAssetGroupSignalsRequest) - returns (MutateAssetGroupSignalsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/assetGroupSignals:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [AssetGroupSignalService.MutateAssetGroupSignals][google.ads.googleads.v13.services.AssetGroupSignalService.MutateAssetGroupSignals]. -message MutateAssetGroupSignalsRequest { - // Required. The ID of the customer whose asset group signals are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual asset group - // signals. - repeated AssetGroupSignalOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid operations - // will return errors. If false, all operations will be carried out in one - // transaction if and only if they are all valid. Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation (create, remove) on an asset group signal. -message AssetGroupSignalOperation { - // The mutate operation. Update is not supported. - oneof operation { - // Create operation: No resource name is expected for the new asset group - // signal. - google.ads.googleads.v13.resources.AssetGroupSignal create = 1; - - // Remove operation: A resource name for the removed asset group signal is - // expected, in this format: - // `customers/{customer_id}/assetGroupSignals/{asset_group_id}~{criterion_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroupSignal" - }]; - } -} - -// Response message for an asset group signal mutate. -message MutateAssetGroupSignalsResponse { - // All results for the mutate. - repeated MutateAssetGroupSignalResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the asset group signal mutate. -message MutateAssetGroupSignalResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetGroupSignal" - }]; - - // The mutated AssetGroupSignal with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.AssetGroupSignal asset_group_signal = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/asset_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/asset_service.proto deleted file mode 100644 index 05e0449fc..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/asset_service.proto +++ /dev/null @@ -1,154 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/asset.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AssetServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the Asset service. - -// Service to manage assets. Asset types can be created with AssetService are -// YoutubeVideoAsset, MediaBundleAsset and ImageAsset. TextAsset should be -// created with Ad inline. -service AssetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates assets. Operation statuses are returned. - // - // List of thrown errors: - // [AssetError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [CurrencyCodeError]() - // [DatabaseError]() - // [DateError]() - // [DistinctError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [ListOperationError]() - // [MediaUploadError]() - // [MutateError]() - // [NotAllowlistedError]() - // [NotEmptyError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - // [UrlFieldError]() - // [YoutubeVideoRegistrationError]() - rpc MutateAssets(MutateAssetsRequest) returns (MutateAssetsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/assets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [AssetService.MutateAssets][google.ads.googleads.v13.services.AssetService.MutateAssets] -message MutateAssetsRequest { - // Required. The ID of the customer whose assets are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual assets. - repeated AssetOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 5; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation to create an asset. Supported asset types are -// YoutubeVideoAsset, MediaBundleAsset, ImageAsset, LeadFormAsset, -// LocationAsset, and ImageAsset. TextAsset can be created with an Ad inline, -// but it can also be created apart from an Ad like other assets. -message AssetOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 3; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new asset. - google.ads.googleads.v13.resources.Asset create = 1; - - // Update operation: The asset is expected to have a valid resource name in - // this format: - // - // `customers/{customer_id}/assets/{asset_id}` - google.ads.googleads.v13.resources.Asset update = 2; - } -} - -// Response message for an asset mutate. -message MutateAssetsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateAssetResult results = 2; -} - -// The result for the asset mutate. -message MutateAssetResult { - // The resource name returned for successful operations. - string resource_name = 1 [ - (google.api.resource_reference) = { type: "googleads.googleapis.com/Asset" } - ]; - - // The mutated asset with only mutable fields after mutate. The field will - // only be returned when response_content_type is set to "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.Asset asset = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/asset_set_asset_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/asset_set_asset_service.proto deleted file mode 100644 index d77aa8fe9..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/asset_set_asset_service.proto +++ /dev/null @@ -1,121 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/asset_set_asset.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetAssetServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the AssetSetAsset service. - -// Service to manage asset set asset. -service AssetSetAssetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes asset set assets. Operation statuses are - // returned. - rpc MutateAssetSetAssets(MutateAssetSetAssetsRequest) - returns (MutateAssetSetAssetsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/assetSetAssets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [AssetSetAssetService.MutateAssetSetAssets][google.ads.googleads.v13.services.AssetSetAssetService.MutateAssetSetAssets]. -message MutateAssetSetAssetsRequest { - // Required. The ID of the customer whose asset set assets are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual asset set assets. - repeated AssetSetAssetOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation (create, remove) on an asset set asset. -message AssetSetAssetOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new asset set - // asset - google.ads.googleads.v13.resources.AssetSetAsset create = 1; - - // Remove operation: A resource name for the removed asset set asset is - // expected, in this format: - // `customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetSetAsset" - }]; - } -} - -// Response message for an asset set asset mutate. -message MutateAssetSetAssetsResponse { - // All results for the mutate. - repeated MutateAssetSetAssetResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the asset set asset mutate. -message MutateAssetSetAssetResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetSetAsset" - }]; - - // The mutated asset set asset with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.AssetSetAsset asset_set_asset = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/asset_set_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/asset_set_service.proto deleted file mode 100644 index ed8ad15ae..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/asset_set_service.proto +++ /dev/null @@ -1,127 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/asset_set.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the AssetSet service. - -// Service to manage asset set -service AssetSetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes asset sets. Operation statuses are - // returned. - rpc MutateAssetSets(MutateAssetSetsRequest) - returns (MutateAssetSetsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/assetSets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [AssetSetService.MutateAssetSets][google.ads.googleads.v13.services.AssetSetService.MutateAssetSets]. -message MutateAssetSetsRequest { - // Required. The ID of the customer whose asset sets are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual asset sets. - repeated AssetSetOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation (create, remove) on an asset set. -message AssetSetOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new asset set - google.ads.googleads.v13.resources.AssetSet create = 1; - - // Update operation: The asset set is expected to have a valid resource - // name. - google.ads.googleads.v13.resources.AssetSet update = 2; - - // Remove operation: A resource name for the removed asset set is - // expected, in this format: - // `customers/{customer_id}/assetSets/{asset_set_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetSet" - }]; - } -} - -// Response message for an asset set mutate. -message MutateAssetSetsResponse { - // All results for the mutate. - repeated MutateAssetSetResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the asset set mutate. -message MutateAssetSetResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/AssetSet" - }]; - - // The mutated asset set with only mutable fields after mutate. The field will - // only be returned when response_content_type is set to "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.AssetSet asset_set = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/audience_insights_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/audience_insights_service.proto deleted file mode 100644 index 07fc0a039..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/audience_insights_service.proto +++ /dev/null @@ -1,507 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/common/criteria.proto"; -import "google/ads/googleads/v13/enums/audience_insights_dimension.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AudienceInsightsServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the audience insights service. - -// Audience Insights Service helps users find information about groups of -// people and how they can be reached with Google Ads. Accessible to -// allowlisted customers only. -service AudienceInsightsService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates a saved report that can be viewed in the Insights Finder tool. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - rpc GenerateInsightsFinderReport(GenerateInsightsFinderReportRequest) - returns (GenerateInsightsFinderReportResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}:generateInsightsFinderReport" - body: "*" - }; - option (google.api.method_signature) = - "customer_id,baseline_audience,specific_audience"; - } - - // Searches for audience attributes that can be used to generate insights. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - rpc ListAudienceInsightsAttributes(ListAudienceInsightsAttributesRequest) - returns (ListAudienceInsightsAttributesResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}:searchAudienceInsightsAttributes" - body: "*" - }; - option (google.api.method_signature) = "customer_id,dimensions,query_text"; - } - - // Lists date ranges for which audience insights data can be requested. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - rpc ListInsightsEligibleDates(ListInsightsEligibleDatesRequest) - returns (ListInsightsEligibleDatesResponse) { - option (google.api.http) = { - post: "/v13/audienceInsights:listInsightsEligibleDates" - body: "*" - }; - } - - // Returns a collection of attributes that are represented in an audience of - // interest, with metrics that compare each attribute's share of the audience - // with its share of a baseline audience. - // - // List of thrown errors: - // [AudienceInsightsError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - rpc GenerateAudienceCompositionInsights( - GenerateAudienceCompositionInsightsRequest) - returns (GenerateAudienceCompositionInsightsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}:generateAudienceCompositionInsights" - body: "*" - }; - option (google.api.method_signature) = "customer_id,audience,dimensions"; - } -} - -// Request message for -// [AudienceInsightsService.GenerateInsightsFinderReport][google.ads.googleads.v13.services.AudienceInsightsService.GenerateInsightsFinderReport]. -message GenerateInsightsFinderReportRequest { - // Required. The ID of the customer. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. A baseline audience for this report, typically all people in a - // region. - BasicInsightsAudience baseline_audience = 2 - [(google.api.field_behavior) = REQUIRED]; - - // Required. The specific audience of interest for this report. The insights - // in the report will be based on attributes more prevalent in this audience - // than in the report's baseline audience. - BasicInsightsAudience specific_audience = 3 - [(google.api.field_behavior) = REQUIRED]; - - // The name of the customer being planned for. This is a user-defined value. - string customer_insights_group = 4; -} - -// The response message for -// [AudienceInsightsService.GenerateInsightsFinderReport][google.ads.googleads.v13.services.AudienceInsightsService.GenerateInsightsFinderReport], -// containing the shareable URL for the report. -message GenerateInsightsFinderReportResponse { - // An HTTPS URL providing a deep link into the Insights Finder UI with the - // report inputs filled in according to the request. - string saved_report_url = 1; -} - -// Request message for -// [AudienceInsightsService.GenerateAudienceCompositionInsights][google.ads.googleads.v13.services.AudienceInsightsService.GenerateAudienceCompositionInsights]. -message GenerateAudienceCompositionInsightsRequest { - // Required. The ID of the customer. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The audience of interest for which insights are being requested. - InsightsAudience audience = 2 [(google.api.field_behavior) = REQUIRED]; - - // The one-month range of historical data to use for insights, in the format - // "yyyy-mm". If unset, insights will be returned for the last thirty days of - // data. - string data_month = 3; - - // Required. The audience dimensions for which composition insights should be - // returned. - repeated google.ads.googleads.v13.enums.AudienceInsightsDimensionEnum - .AudienceInsightsDimension dimensions = 4 - [(google.api.field_behavior) = REQUIRED]; - - // The name of the customer being planned for. This is a user-defined value. - string customer_insights_group = 5; -} - -// Response message for -// [AudienceInsightsService.GenerateAudienceCompositionInsights][google.ads.googleads.v13.services.AudienceInsightsService.GenerateAudienceCompositionInsights]. -message GenerateAudienceCompositionInsightsResponse { - // The contents of the insights report, organized into sections. - // Each section is associated with one of the AudienceInsightsDimension values - // in the request. There may be more than one section per dimension. - repeated AudienceCompositionSection sections = 1; -} - -// Request message for -// [AudienceInsightsService.ListAudienceInsightsAttributes][google.ads.googleads.v13.services.AudienceInsightsService.ListAudienceInsightsAttributes]. -message ListAudienceInsightsAttributesRequest { - // Required. The ID of the customer. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The types of attributes to be returned. - repeated google.ads.googleads.v13.enums.AudienceInsightsDimensionEnum - .AudienceInsightsDimension dimensions = 2 - [(google.api.field_behavior) = REQUIRED]; - - // Required. A free text query. Attributes matching or related to this string - // will be returned. - string query_text = 3 [(google.api.field_behavior) = REQUIRED]; - - // The name of the customer being planned for. This is a user-defined value. - string customer_insights_group = 4; - - // If SUB_COUNTRY_LOCATION attributes are one of the requested dimensions and - // this field is present, then the SUB_COUNTRY_LOCATION attributes returned - // will be located in these countries. If this field is absent, then location - // attributes are not filtered by country. Setting this field when - // SUB_COUNTRY_LOCATION attributes are not requested will return an error. - repeated google.ads.googleads.v13.common.LocationInfo - location_country_filters = 5; -} - -// Response message for -// [AudienceInsightsService.ListAudienceInsightsAttributes][google.ads.googleads.v13.services.AudienceInsightsService.ListAudienceInsightsAttributes]. -message ListAudienceInsightsAttributesResponse { - // The attributes matching the search query. - repeated AudienceInsightsAttributeMetadata attributes = 1; -} - -// Request message for [AudienceInsightsService.ListAudienceInsightsDates][]. -message ListInsightsEligibleDatesRequest {} - -// Response message for [AudienceInsightsService.ListAudienceInsightsDates][]. -message ListInsightsEligibleDatesResponse { - // The months for which AudienceInsights data is currently - // available, each represented as a string in the form "YYYY-MM". - repeated string data_months = 1; -} - -// An audience attribute that can be used to request insights about the -// audience. -message AudienceInsightsAttribute { - // An audience attribute. - oneof attribute { - // An audience attribute defined by an age range. - google.ads.googleads.v13.common.AgeRangeInfo age_range = 1; - - // An audience attribute defined by a gender. - google.ads.googleads.v13.common.GenderInfo gender = 2; - - // An audience attribute defined by a geographic location. - google.ads.googleads.v13.common.LocationInfo location = 3; - - // An Affinity or In-Market audience. - google.ads.googleads.v13.common.UserInterestInfo user_interest = 4; - - // An audience attribute defined by interest in a topic represented by a - // Knowledge Graph entity. - AudienceInsightsEntity entity = 5; - - // An audience attribute defined by interest in a Product & Service - // category. - AudienceInsightsCategory category = 6; - - // A YouTube Dynamic Lineup - AudienceInsightsDynamicLineup dynamic_lineup = 7; - - // A Parental Status value (parent, or not a parent). - google.ads.googleads.v13.common.ParentalStatusInfo parental_status = 8; - - // A household income percentile range. - google.ads.googleads.v13.common.IncomeRangeInfo income_range = 9; - - // A YouTube channel. - google.ads.googleads.v13.common.YouTubeChannelInfo youtube_channel = 10; - } -} - -// An entity or category representing a topic that defines an audience. -message AudienceInsightsTopic { - // An entity or category attribute. - oneof topic { - // A Knowledge Graph entity - AudienceInsightsEntity entity = 1; - - // A Product & Service category - AudienceInsightsCategory category = 2; - } -} - -// A Knowledge Graph entity, represented by its machine id. -message AudienceInsightsEntity { - // Required. The machine id (mid) of the Knowledge Graph entity. - string knowledge_graph_machine_id = 1 - [(google.api.field_behavior) = REQUIRED]; -} - -// A Product and Service category. -message AudienceInsightsCategory { - // Required. The criterion id of the category. - string category_id = 1 [(google.api.field_behavior) = REQUIRED]; -} - -// A YouTube Dynamic Lineup. -message AudienceInsightsDynamicLineup { - // Required. The numeric ID of the dynamic lineup. - string dynamic_lineup_id = 1 [(google.api.field_behavior) = REQUIRED]; -} - -// A description of an audience used for requesting insights. -message BasicInsightsAudience { - // Required. The countries for this audience. - repeated google.ads.googleads.v13.common.LocationInfo country_location = 1 - [(google.api.field_behavior) = REQUIRED]; - - // Sub-country geographic location attributes. If present, each of these - // must be contained in one of the countries in this audience. - repeated google.ads.googleads.v13.common.LocationInfo sub_country_locations = - 2; - - // Gender for the audience. If absent, the audience does not restrict by - // gender. - google.ads.googleads.v13.common.GenderInfo gender = 3; - - // Age ranges for the audience. If absent, the audience represents all people - // over 18 that match the other attributes. - repeated google.ads.googleads.v13.common.AgeRangeInfo age_ranges = 4; - - // User interests defining this audience. Affinity and In-Market audiences - // are supported. - repeated google.ads.googleads.v13.common.UserInterestInfo user_interests = 5; - - // Topics, represented by Knowledge Graph entities and/or Product & Service - // categories, that this audience is interested in. - repeated AudienceInsightsTopic topics = 6; -} - -// An audience attribute, with metadata about it, returned in response to a -// search. -message AudienceInsightsAttributeMetadata { - // The type of the attribute. - google.ads.googleads.v13.enums.AudienceInsightsDimensionEnum - .AudienceInsightsDimension dimension = 1; - - // The attribute itself. - AudienceInsightsAttribute attribute = 2; - - // The human-readable name of the attribute. - string display_name = 3; - - // A relevance score for this attribute, between 0 and 1. - double score = 4; - - // A string that supplements the display_name to identify the attribute. - // If the dimension is TOPIC, this is a brief description of the - // Knowledge Graph entity, such as "American singer-songwriter". - // If the dimension is CATEGORY, this is the complete path to the category in - // The Product & Service taxonomy, for example - // "/Apparel/Clothing/Outerwear". - string display_info = 5; - - // Metadata specific to the dimension of this attribute. - oneof dimension_metadata { - // Special metadata for a YouTube channel. - YouTubeChannelAttributeMetadata youtube_channel_metadata = 6; - - // Special metadata for a YouTube Dynamic Lineup. - DynamicLineupAttributeMetadata dynamic_attribute_metadata = 7; - - // Special metadata for a Location. - LocationAttributeMetadata location_attribute_metadata = 8; - } -} - -// Metadata associated with a YouTube channel attribute. -message YouTubeChannelAttributeMetadata { - // The approximate number of subscribers to the YouTube channel. - int64 subscriber_count = 1; -} - -// Metadata associated with a Dynamic Lineup attribute. -message DynamicLineupAttributeMetadata { - // The national market associated with the lineup. - google.ads.googleads.v13.common.LocationInfo inventory_country = 1; - - // The median number of impressions per month on this lineup. - optional int64 median_monthly_inventory = 2; - - // The lower end of a range containing the number of channels in the lineup. - optional int64 channel_count_lower_bound = 3; - - // The upper end of a range containing the number of channels in the lineup. - optional int64 channel_count_upper_bound = 4; -} - -// Metadata associated with a Location attribute. -message LocationAttributeMetadata { - // The country location of the sub country location. - google.ads.googleads.v13.common.LocationInfo country_location = 1; -} - -// A set of users, defined by various characteristics, for which insights can -// be requested in AudienceInsightsService. -message InsightsAudience { - // Required. The countries for the audience. - repeated google.ads.googleads.v13.common.LocationInfo country_locations = 1 - [(google.api.field_behavior) = REQUIRED]; - - // Sub-country geographic location attributes. If present, each of these - // must be contained in one of the countries in this audience. If absent, the - // audience is geographically to the country_locations and no further. - repeated google.ads.googleads.v13.common.LocationInfo sub_country_locations = - 2; - - // Gender for the audience. If absent, the audience does not restrict by - // gender. - google.ads.googleads.v13.common.GenderInfo gender = 3; - - // Age ranges for the audience. If absent, the audience represents all people - // over 18 that match the other attributes. - repeated google.ads.googleads.v13.common.AgeRangeInfo age_ranges = 4; - - // Parental status for the audience. If absent, the audience does not - // restrict by parental status. - google.ads.googleads.v13.common.ParentalStatusInfo parental_status = 5; - - // Household income percentile ranges for the audience. If absent, the - // audience does not restrict by household income range. - repeated google.ads.googleads.v13.common.IncomeRangeInfo income_ranges = 6; - - // Dynamic lineups representing the YouTube content viewed by the audience. - repeated AudienceInsightsDynamicLineup dynamic_lineups = 7; - - // A combination of entity, category and user interest attributes defining the - // audience. The combination has a logical AND-of-ORs structure: Attributes - // within each InsightsAudienceAttributeGroup are combined with OR, and - // the combinations themselves are combined together with AND. For example, - // the expression (Entity OR Affinity) AND (In-Market OR Category) can be - // formed using two InsightsAudienceAttributeGroups with two Attributes - // each. - repeated InsightsAudienceAttributeGroup topic_audience_combinations = 8; -} - -// A list of AudienceInsightsAttributes. -message InsightsAudienceAttributeGroup { - // Required. A collection of audience attributes to be combined with logical - // OR. Attributes need not all be the same dimension. Only Knowledge Graph - // entities, Product & Service Categories, and Affinity and In-Market - // audiences are supported in this context. - repeated AudienceInsightsAttribute attributes = 1 - [(google.api.field_behavior) = REQUIRED]; -} - -// A collection of related attributes of the same type in an audience -// composition insights report. -message AudienceCompositionSection { - // The type of the attributes in this section. - google.ads.googleads.v13.enums.AudienceInsightsDimensionEnum - .AudienceInsightsDimension dimension = 1; - - // The most relevant segments for this audience. If dimension is GENDER, - // AGE_RANGE or PARENTAL_STATUS, then this list of attributes is exhaustive. - repeated AudienceCompositionAttribute top_attributes = 3; - - // Additional attributes for this audience, grouped into clusters. Only - // populated if dimension is YOUTUBE_CHANNEL. - repeated AudienceCompositionAttributeCluster clustered_attributes = 4; -} - -// A collection of related attributes, with metadata and metrics, in an audience -// composition insights report. -message AudienceCompositionAttributeCluster { - // The name of this cluster of attributes - string cluster_display_name = 1; - - // If the dimension associated with this cluster is YOUTUBE_CHANNEL, then - // cluster_metrics are metrics associated with the cluster as a whole. - // For other dimensions, this field is unset. - AudienceCompositionMetrics cluster_metrics = 3; - - // The individual attributes that make up this cluster, with metadata and - // metrics. - repeated AudienceCompositionAttribute attributes = 4; -} - -// The share and index metrics associated with an attribute in an audience -// composition insights report. -message AudienceCompositionMetrics { - // The fraction (from 0 to 1 inclusive) of the baseline audience that match - // the attribute. - double baseline_audience_share = 1; - - // The fraction (from 0 to 1 inclusive) of the specific audience that match - // the attribute. - double audience_share = 2; - - // The ratio of audience_share to baseline_audience_share, or zero if this - // ratio is undefined or is not meaningful. - double index = 3; - - // A relevance score from 0 to 1 inclusive. - double score = 4; -} - -// An audience attribute with metadata and metrics. -message AudienceCompositionAttribute { - // The attribute with its metadata. - AudienceInsightsAttributeMetadata attribute_metadata = 1; - - // Share and index metrics for the attribute. - AudienceCompositionMetrics metrics = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/audience_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/audience_service.proto deleted file mode 100644 index 381597b9f..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/audience_service.proto +++ /dev/null @@ -1,122 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/audience.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AudienceServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the Audience service. - -// Service to manage audiences. -service AudienceService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates audiences. Operation statuses are returned. - // - // List of thrown errors: - // [AudienceError]() - rpc MutateAudiences(MutateAudiencesRequest) - returns (MutateAudiencesResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/audiences:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [AudienceService.MutateAudiences][google.ads.googleads.v13.services.AudienceService.MutateAudiences]. -message MutateAudiencesRequest { - // Required. The ID of the customer whose audiences are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual audiences. - repeated AudienceOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid operations - // will return errors. If false, all operations will be carried out in one - // transaction if and only if they are all valid. Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// Response message for an audience mutate. -message MutateAudiencesResponse { - // All results for the mutate. - repeated MutateAudienceResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// A single operation (create, update) on an audience. -message AudienceOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new audience - google.ads.googleads.v13.resources.Audience create = 1; - - // Update operation: The audience is expected to have a valid resource - // name. - google.ads.googleads.v13.resources.Audience update = 2; - } -} - -// The result for the audience mutate. -message MutateAudienceResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Audience" - }]; - - // The mutated Audience with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.Audience audience = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/batch_job_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/batch_job_service.proto deleted file mode 100644 index c9a367e5b..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/batch_job_service.proto +++ /dev/null @@ -1,283 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/batch_job.proto"; -import "google/ads/googleads/v13/services/google_ads_service.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/longrunning/operations.proto"; -import "google/protobuf/empty.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "BatchJobServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the BatchJobService. - -// Service to manage batch jobs. -service BatchJobService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Mutates a batch job. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - rpc MutateBatchJob(MutateBatchJobRequest) returns (MutateBatchJobResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/batchJobs:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operation"; - } - - // Returns the results of the batch job. The job must be done. - // Supports standard list paging. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [BatchJobError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc ListBatchJobResults(ListBatchJobResultsRequest) - returns (ListBatchJobResultsResponse) { - option (google.api.http) = { - get: "/v13/{resource_name=customers/*/batchJobs/*}:listResults" - }; - option (google.api.method_signature) = "resource_name"; - } - - // Runs the batch job. - // - // The Operation.metadata field type is BatchJobMetadata. When finished, the - // long running operation will not contain errors or a response. Instead, use - // ListBatchJobResults to get the results of the job. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [BatchJobError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc RunBatchJob(RunBatchJobRequest) returns (google.longrunning.Operation) { - option (google.api.http) = { - post: "/v13/{resource_name=customers/*/batchJobs/*}:run" - body: "*" - }; - option (google.api.method_signature) = "resource_name"; - option (google.longrunning.operation_info) = { - response_type: "google.protobuf.Empty" - metadata_type: "google.ads.googleads.v13.resources.BatchJob.BatchJobMetadata" - }; - } - - // Add operations to the batch job. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [BatchJobError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - rpc AddBatchJobOperations(AddBatchJobOperationsRequest) - returns (AddBatchJobOperationsResponse) { - option (google.api.http) = { - post: "/v13/{resource_name=customers/*/batchJobs/*}:addOperations" - body: "*" - }; - option (google.api.method_signature) = - "resource_name,sequence_token,mutate_operations"; - option (google.api.method_signature) = "resource_name,mutate_operations"; - } -} - -// Request message for -// [BatchJobService.MutateBatchJob][google.ads.googleads.v13.services.BatchJobService.MutateBatchJob]. -message MutateBatchJobRequest { - // Required. The ID of the customer for which to create a batch job. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The operation to perform on an individual batch job. - BatchJobOperation operation = 2 [(google.api.field_behavior) = REQUIRED]; -} - -// A single operation on a batch job. -message BatchJobOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new batch job. - google.ads.googleads.v13.resources.BatchJob create = 1; - - // Remove operation: The batch job must not have been run. A resource name - // for the removed batch job is expected, in this format: - // - // `customers/{customer_id}/batchJobs/{batch_job_id}` - string remove = 4 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/BatchJob" - }]; - } -} - -// Response message for -// [BatchJobService.MutateBatchJob][google.ads.googleads.v13.services.BatchJobService.MutateBatchJob]. -message MutateBatchJobResponse { - // The result for the mutate. - MutateBatchJobResult result = 1; -} - -// The result for the batch job mutate. -message MutateBatchJobResult { - // The resource name of the batch job. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/BatchJob" - }]; -} - -// Request message for -// [BatchJobService.RunBatchJob][google.ads.googleads.v13.services.BatchJobService.RunBatchJob]. -message RunBatchJobRequest { - // Required. The resource name of the BatchJob to run. - string resource_name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/BatchJob" - } - ]; -} - -// Request message for -// [BatchJobService.AddBatchJobOperations][google.ads.googleads.v13.services.BatchJobService.AddBatchJobOperations]. -message AddBatchJobOperationsRequest { - // Required. The resource name of the batch job. - string resource_name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/BatchJob" - } - ]; - - // A token used to enforce sequencing. - // - // The first AddBatchJobOperations request for a batch job should not set - // sequence_token. Subsequent requests must set sequence_token to the value of - // next_sequence_token received in the previous AddBatchJobOperations - // response. - string sequence_token = 2; - - // Required. The list of mutates being added. - // - // Operations can use negative integers as temp ids to signify dependencies - // between entities created in this batch job. For example, a customer with - // id = 1234 can create a campaign and an ad group in that same campaign by - // creating a campaign in the first operation with the resource name - // explicitly set to "customers/1234/campaigns/-1", and creating an ad group - // in the second operation with the campaign field also set to - // "customers/1234/campaigns/-1". - repeated MutateOperation mutate_operations = 3 - [(google.api.field_behavior) = REQUIRED]; -} - -// Response message for -// [BatchJobService.AddBatchJobOperations][google.ads.googleads.v13.services.BatchJobService.AddBatchJobOperations]. -message AddBatchJobOperationsResponse { - // The total number of operations added so far for this batch job. - int64 total_operations = 1; - - // The sequence token to be used when calling AddBatchJobOperations again if - // more operations need to be added. The next AddBatchJobOperations request - // must set the sequence_token field to the value of this field. - string next_sequence_token = 2; -} - -// Request message for -// [BatchJobService.ListBatchJobResults][google.ads.googleads.v13.services.BatchJobService.ListBatchJobResults]. -message ListBatchJobResultsRequest { - // Required. The resource name of the batch job whose results are being - // listed. - string resource_name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/BatchJob" - } - ]; - - // Token of the page to retrieve. If not specified, the first - // page of results will be returned. Use the value obtained from - // `next_page_token` in the previous response in order to request - // the next page of results. - string page_token = 2; - - // Number of elements to retrieve in a single page. - // When a page request is too large, the server may decide to - // further limit the number of returned resources. - int32 page_size = 3; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 4; -} - -// Response message for -// [BatchJobService.ListBatchJobResults][google.ads.googleads.v13.services.BatchJobService.ListBatchJobResults]. -message ListBatchJobResultsResponse { - // The list of rows that matched the query. - repeated BatchJobResult results = 1; - - // Pagination token used to retrieve the next page of results. - // Pass the content of this string as the `page_token` attribute of - // the next request. `next_page_token` is not returned for the last - // page. - string next_page_token = 2; -} - -// An individual batch job result. -message BatchJobResult { - // Index of the mutate operation. - int64 operation_index = 1; - - // Response for the mutate. - // May be empty if errors occurred. - MutateOperationResponse mutate_operation_response = 2; - - // Details of the errors when processing the operation. - google.rpc.Status status = 3; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/bidding_data_exclusion_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/bidding_data_exclusion_service.proto deleted file mode 100644 index 05c49dd79..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/bidding_data_exclusion_service.proto +++ /dev/null @@ -1,129 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/bidding_data_exclusion.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "BiddingDataExclusionServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Service to manage bidding data exclusions. -service BiddingDataExclusionService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes data exclusions. - // Operation statuses are returned. - rpc MutateBiddingDataExclusions(MutateBiddingDataExclusionsRequest) - returns (MutateBiddingDataExclusionsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/biddingDataExclusions:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [BiddingDataExclusionService.MutateBiddingDataExclusions][google.ads.googleads.v13.services.BiddingDataExclusionService.MutateBiddingDataExclusions]. -message MutateBiddingDataExclusionsRequest { - // Required. ID of the customer whose data exclusions are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual data exclusions. - repeated BiddingDataExclusionOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation (create, remove, update) on a data exclusion. -message BiddingDataExclusionOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new data - // exclusion. - google.ads.googleads.v13.resources.BiddingDataExclusion create = 1; - - // Update operation: The data exclusion is expected to have a valid - // resource name. - google.ads.googleads.v13.resources.BiddingDataExclusion update = 2; - - // Remove operation: A resource name for the removed data exclusion - // is expected, in this format: - // - // `customers/{customer_id}/biddingDataExclusions/{data_exclusion_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/BiddingDataExclusion" - }]; - } -} - -// Response message for data exlusions mutate. -message MutateBiddingDataExclusionsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateBiddingDataExclusionsResult results = 2; -} - -// The result for the data exclusion mutate. -message MutateBiddingDataExclusionsResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/BiddingDataExclusion" - }]; - - // The mutated bidding data exclusion with only mutable fields after mutate. - // The field will only be returned when response_content_type is set - // to "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.BiddingDataExclusion - bidding_data_exclusion = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/bidding_seasonality_adjustment_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/bidding_seasonality_adjustment_service.proto deleted file mode 100644 index f625c48eb..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/bidding_seasonality_adjustment_service.proto +++ /dev/null @@ -1,132 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/bidding_seasonality_adjustment.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "BiddingSeasonalityAdjustmentServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Service to manage bidding seasonality adjustments. -service BiddingSeasonalityAdjustmentService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes seasonality adjustments. - // Operation statuses are returned. - rpc MutateBiddingSeasonalityAdjustments( - MutateBiddingSeasonalityAdjustmentsRequest) - returns (MutateBiddingSeasonalityAdjustmentsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/biddingSeasonalityAdjustments:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [BiddingSeasonalityAdjustmentService.MutateBiddingSeasonalityAdjustments][google.ads.googleads.v13.services.BiddingSeasonalityAdjustmentService.MutateBiddingSeasonalityAdjustments]. -message MutateBiddingSeasonalityAdjustmentsRequest { - // Required. ID of the customer whose seasonality adjustments are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual seasonality - // adjustments. - repeated BiddingSeasonalityAdjustmentOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation (create, remove, update) on a seasonality adjustment. -message BiddingSeasonalityAdjustmentOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new seasonality - // adjustment. - google.ads.googleads.v13.resources.BiddingSeasonalityAdjustment create = 1; - - // Update operation: The seasonality adjustment is expected to have a valid - // resource name. - google.ads.googleads.v13.resources.BiddingSeasonalityAdjustment update = 2; - - // Remove operation: A resource name for the removed seasonality adjustment - // is expected, in this format: - // - // `customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_adjustment_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/BiddingSeasonalityAdjustment" - }]; - } -} - -// Response message for seasonality adjustments mutate. -message MutateBiddingSeasonalityAdjustmentsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateBiddingSeasonalityAdjustmentsResult results = 2; -} - -// The result for the seasonality adjustment mutate. -message MutateBiddingSeasonalityAdjustmentsResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/BiddingSeasonalityAdjustment" - }]; - - // The mutated bidding seasonality adjustment with only mutable fields after - // mutate. The field will only be returned when response_content_type is set - // to "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.BiddingSeasonalityAdjustment - bidding_seasonality_adjustment = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/bidding_strategy_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/bidding_strategy_service.proto deleted file mode 100644 index 7bd0fed85..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/bidding_strategy_service.proto +++ /dev/null @@ -1,160 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/bidding_strategy.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "BiddingStrategyServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the Bidding Strategy service. - -// Service to manage bidding strategies. -service BiddingStrategyService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes bidding strategies. Operation statuses are - // returned. - // - // List of thrown errors: - // [AdxError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [BiddingError]() - // [BiddingStrategyError]() - // [ContextError]() - // [DatabaseError]() - // [DateError]() - // [DistinctError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [NullError]() - // [OperationAccessDeniedError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - rpc MutateBiddingStrategies(MutateBiddingStrategiesRequest) - returns (MutateBiddingStrategiesResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/biddingStrategies:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [BiddingStrategyService.MutateBiddingStrategies][google.ads.googleads.v13.services.BiddingStrategyService.MutateBiddingStrategies]. -message MutateBiddingStrategiesRequest { - // Required. The ID of the customer whose bidding strategies are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual bidding - // strategies. - repeated BiddingStrategyOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation (create, update, remove) on a bidding strategy. -message BiddingStrategyOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new bidding - // strategy. - google.ads.googleads.v13.resources.BiddingStrategy create = 1; - - // Update operation: The bidding strategy is expected to have a valid - // resource name. - google.ads.googleads.v13.resources.BiddingStrategy update = 2; - - // Remove operation: A resource name for the removed bidding strategy is - // expected, in this format: - // - // `customers/{customer_id}/biddingStrategies/{bidding_strategy_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/BiddingStrategy" - }]; - } -} - -// Response message for bidding strategy mutate. -message MutateBiddingStrategiesResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateBiddingStrategyResult results = 2; -} - -// The result for the bidding strategy mutate. -message MutateBiddingStrategyResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/BiddingStrategy" - }]; - - // The mutated bidding strategy with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.BiddingStrategy bidding_strategy = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/billing_setup_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/billing_setup_service.proto deleted file mode 100644 index 2168ceb50..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/billing_setup_service.proto +++ /dev/null @@ -1,114 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/billing_setup.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "BillingSetupServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the BillingSetup service. - -// A service for designating the business entity responsible for accrued costs. -// -// A billing setup is associated with a payments account. Billing-related -// activity for all billing setups associated with a particular payments account -// will appear on a single invoice generated monthly. -// -// Mutates: -// The REMOVE operation cancels a pending billing setup. -// The CREATE operation creates a new billing setup. -service BillingSetupService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates a billing setup, or cancels an existing billing setup. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [BillingSetupError]() - // [DateError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - rpc MutateBillingSetup(MutateBillingSetupRequest) - returns (MutateBillingSetupResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/billingSetups:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operation"; - } -} - -// Request message for billing setup mutate operations. -message MutateBillingSetupRequest { - // Required. Id of the customer to apply the billing setup mutate operation - // to. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The operation to perform. - BillingSetupOperation operation = 2 [(google.api.field_behavior) = REQUIRED]; -} - -// A single operation on a billing setup, which describes the cancellation of an -// existing billing setup. -message BillingSetupOperation { - // Only one of these operations can be set. "Update" operations are not - // supported. - oneof operation { - // Creates a billing setup. No resource name is expected for the new billing - // setup. - google.ads.googleads.v13.resources.BillingSetup create = 2; - - // Resource name of the billing setup to remove. A setup cannot be - // removed unless it is in a pending state or its scheduled start time is in - // the future. The resource name looks like - // `customers/{customer_id}/billingSetups/{billing_id}`. - string remove = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/BillingSetup" - }]; - } -} - -// Response message for a billing setup operation. -message MutateBillingSetupResponse { - // A result that identifies the resource affected by the mutate request. - MutateBillingSetupResult result = 1; -} - -// Result for a single billing setup mutate. -message MutateBillingSetupResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/BillingSetup" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/campaign_asset_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/campaign_asset_service.proto deleted file mode 100644 index 1161d98c3..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/campaign_asset_service.proto +++ /dev/null @@ -1,144 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/campaign_asset.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignAssetServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the CampaignAsset service. - -// Service to manage campaign assets. -service CampaignAssetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes campaign assets. Operation statuses are - // returned. - // - // List of thrown errors: - // [AssetLinkError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [ContextError]() - // [DatabaseError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [NotAllowlistedError]() - // [QuotaError]() - // [RequestError]() - rpc MutateCampaignAssets(MutateCampaignAssetsRequest) - returns (MutateCampaignAssetsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/campaignAssets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [CampaignAssetService.MutateCampaignAssets][google.ads.googleads.v13.services.CampaignAssetService.MutateCampaignAssets]. -message MutateCampaignAssetsRequest { - // Required. The ID of the customer whose campaign assets are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual campaign assets. - repeated CampaignAssetOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation (create, update, remove) on a campaign asset. -message CampaignAssetOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new campaign - // asset. - google.ads.googleads.v13.resources.CampaignAsset create = 1; - - // Update operation: The campaign asset is expected to have a valid resource - // name. - google.ads.googleads.v13.resources.CampaignAsset update = 3; - - // Remove operation: A resource name for the removed campaign asset is - // expected, in this format: - // - // `customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignAsset" - }]; - } -} - -// Response message for a campaign asset mutate. -message MutateCampaignAssetsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 1; - - // All results for the mutate. - repeated MutateCampaignAssetResult results = 2; -} - -// The result for the campaign asset mutate. -message MutateCampaignAssetResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignAsset" - }]; - - // The mutated campaign asset with only mutable fields after - // mutate. The field will only be returned when response_content_type is set - // to "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.CampaignAsset campaign_asset = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/campaign_asset_set_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/campaign_asset_set_service.proto deleted file mode 100644 index 463da9571..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/campaign_asset_set_service.proto +++ /dev/null @@ -1,123 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/campaign_asset_set.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignAssetSetServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the CampaignAssetSet service. - -// Service to manage campaign asset set -service CampaignAssetSetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes campaign asset sets. Operation statuses are - // returned. - rpc MutateCampaignAssetSets(MutateCampaignAssetSetsRequest) - returns (MutateCampaignAssetSetsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/campaignAssetSets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [CampaignAssetSetService.MutateCampaignAssetSets][google.ads.googleads.v13.services.CampaignAssetSetService.MutateCampaignAssetSets]. -message MutateCampaignAssetSetsRequest { - // Required. The ID of the customer whose campaign asset sets are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual campaign asset - // sets. - repeated CampaignAssetSetOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation (create, remove) on a campaign asset set. -message CampaignAssetSetOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new campaign asset - // set. - google.ads.googleads.v13.resources.CampaignAssetSet create = 1; - - // Remove operation: A resource name for the removed campaign asset set is - // expected, in this format: - // `customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignAssetSet" - }]; - } -} - -// Response message for a campaign asset set mutate. -message MutateCampaignAssetSetsResponse { - // All results for the mutate. - repeated MutateCampaignAssetSetResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the campaign asset set mutate. -message MutateCampaignAssetSetResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignAssetSet" - }]; - - // The mutated campaign asset set with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.CampaignAssetSet campaign_asset_set = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/campaign_bid_modifier_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/campaign_bid_modifier_service.proto deleted file mode 100644 index 70b3fd4b6..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/campaign_bid_modifier_service.proto +++ /dev/null @@ -1,157 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/campaign_bid_modifier.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignBidModifierServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the Campaign Bid Modifier service. - -// Service to manage campaign bid modifiers. -service CampaignBidModifierService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes campaign bid modifiers. - // Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [ContextError]() - // [CriterionError]() - // [DatabaseError]() - // [DateError]() - // [DistinctError]() - // [FieldError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [NullError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - rpc MutateCampaignBidModifiers(MutateCampaignBidModifiersRequest) - returns (MutateCampaignBidModifiersResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/campaignBidModifiers:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [CampaignBidModifierService.MutateCampaignBidModifiers][google.ads.googleads.v13.services.CampaignBidModifierService.MutateCampaignBidModifiers]. -message MutateCampaignBidModifiersRequest { - // Required. ID of the customer whose campaign bid modifiers are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual campaign bid - // modifiers. - repeated CampaignBidModifierOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation (create, remove, update) on a campaign bid modifier. -message CampaignBidModifierOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new campaign bid - // modifier. - google.ads.googleads.v13.resources.CampaignBidModifier create = 1; - - // Update operation: The campaign bid modifier is expected to have a valid - // resource name. - google.ads.googleads.v13.resources.CampaignBidModifier update = 2; - - // Remove operation: A resource name for the removed campaign bid modifier - // is expected, in this format: - // - // `customers/{customer_id}/CampaignBidModifiers/{campaign_id}~{criterion_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignBidModifier" - }]; - } -} - -// Response message for campaign bid modifiers mutate. -message MutateCampaignBidModifiersResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateCampaignBidModifierResult results = 2; -} - -// The result for the criterion mutate. -message MutateCampaignBidModifierResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignBidModifier" - }]; - - // The mutated campaign bid modifier with only mutable fields after mutate. - // The field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.CampaignBidModifier campaign_bid_modifier = - 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/campaign_budget_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/campaign_budget_service.proto deleted file mode 100644 index b6abf5070..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/campaign_budget_service.proto +++ /dev/null @@ -1,148 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/campaign_budget.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignBudgetServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the Campaign Budget service. - -// Service to manage campaign budgets. -service CampaignBudgetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes campaign budgets. Operation statuses are - // returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CampaignBudgetError]() - // [DatabaseError]() - // [DistinctError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [NewResourceCreationError]() - // [OperationAccessDeniedError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - // [StringLengthError]() - rpc MutateCampaignBudgets(MutateCampaignBudgetsRequest) - returns (MutateCampaignBudgetsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/campaignBudgets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [CampaignBudgetService.MutateCampaignBudgets][google.ads.googleads.v13.services.CampaignBudgetService.MutateCampaignBudgets]. -message MutateCampaignBudgetsRequest { - // Required. The ID of the customer whose campaign budgets are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual campaign budgets. - repeated CampaignBudgetOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation (create, update, remove) on a campaign budget. -message CampaignBudgetOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new budget. - google.ads.googleads.v13.resources.CampaignBudget create = 1; - - // Update operation: The campaign budget is expected to have a valid - // resource name. - google.ads.googleads.v13.resources.CampaignBudget update = 2; - - // Remove operation: A resource name for the removed budget is expected, in - // this format: - // - // `customers/{customer_id}/campaignBudgets/{budget_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignBudget" - }]; - } -} - -// Response message for campaign budget mutate. -message MutateCampaignBudgetsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateCampaignBudgetResult results = 2; -} - -// The result for the campaign budget mutate. -message MutateCampaignBudgetResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignBudget" - }]; - - // The mutated campaign budget with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.CampaignBudget campaign_budget = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/campaign_conversion_goal_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/campaign_conversion_goal_service.proto deleted file mode 100644 index 764edee14..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/campaign_conversion_goal_service.proto +++ /dev/null @@ -1,96 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/campaign_conversion_goal.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignConversionGoalServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the CampaignConversionGoal service. - -// Service to manage campaign conversion goal. -service CampaignConversionGoalService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes campaign conversion goals. Operation statuses - // are returned. - rpc MutateCampaignConversionGoals(MutateCampaignConversionGoalsRequest) - returns (MutateCampaignConversionGoalsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/campaignConversionGoals:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [CampaignConversionGoalService.MutateCampaignConversionGoals][google.ads.googleads.v13.services.CampaignConversionGoalService.MutateCampaignConversionGoals]. -message MutateCampaignConversionGoalsRequest { - // Required. The ID of the customer whose campaign conversion goals are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual campaign - // conversion goal. - repeated CampaignConversionGoalOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; -} - -// A single operation (update) on a campaign conversion goal. -message CampaignConversionGoalOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 2; - - // The mutate operation. - oneof operation { - // Update operation: The customer conversion goal is expected to have a - // valid resource name. - google.ads.googleads.v13.resources.CampaignConversionGoal update = 1; - } -} - -// Response message for a campaign conversion goal mutate. -message MutateCampaignConversionGoalsResponse { - // All results for the mutate. - repeated MutateCampaignConversionGoalResult results = 1; -} - -// The result for the campaign conversion goal mutate. -message MutateCampaignConversionGoalResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignConversionGoal" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/campaign_criterion_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/campaign_criterion_service.proto deleted file mode 100644 index 79394eaf4..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/campaign_criterion_service.proto +++ /dev/null @@ -1,159 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/campaign_criterion.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignCriterionServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the Campaign Criterion service. - -// Service to manage campaign criteria. -service CampaignCriterionService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes criteria. Operation statuses are returned. - // - // List of thrown errors: - // [AdxError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [CampaignCriterionError]() - // [CollectionSizeError]() - // [ContextError]() - // [CriterionError]() - // [DatabaseError]() - // [DistinctError]() - // [FieldError]() - // [FieldMaskError]() - // [FunctionError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [NullError]() - // [OperationAccessDeniedError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RegionCodeError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - rpc MutateCampaignCriteria(MutateCampaignCriteriaRequest) - returns (MutateCampaignCriteriaResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/campaignCriteria:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [CampaignCriterionService.MutateCampaignCriteria][google.ads.googleads.v13.services.CampaignCriterionService.MutateCampaignCriteria]. -message MutateCampaignCriteriaRequest { - // Required. The ID of the customer whose criteria are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual criteria. - repeated CampaignCriterionOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation (create, update, remove) on a campaign criterion. -message CampaignCriterionOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new criterion. - google.ads.googleads.v13.resources.CampaignCriterion create = 1; - - // Update operation: The criterion is expected to have a valid resource - // name. - google.ads.googleads.v13.resources.CampaignCriterion update = 2; - - // Remove operation: A resource name for the removed criterion is expected, - // in this format: - // - // `customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignCriterion" - }]; - } -} - -// Response message for campaign criterion mutate. -message MutateCampaignCriteriaResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateCampaignCriterionResult results = 2; -} - -// The result for the criterion mutate. -message MutateCampaignCriterionResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignCriterion" - }]; - - // The mutated campaign criterion with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.CampaignCriterion campaign_criterion = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/campaign_customizer_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/campaign_customizer_service.proto deleted file mode 100644 index c934281cd..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/campaign_customizer_service.proto +++ /dev/null @@ -1,123 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/campaign_customizer.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignCustomizerServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the CampaignCustomizer service. - -// Service to manage campaign customizer -service CampaignCustomizerService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes campaign customizers. Operation statuses are - // returned. - rpc MutateCampaignCustomizers(MutateCampaignCustomizersRequest) - returns (MutateCampaignCustomizersResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/campaignCustomizers:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [CampaignCustomizerService.MutateCampaignCustomizers][google.ads.googleads.v13.services.CampaignCustomizerService.MutateCampaignCustomizers]. -message MutateCampaignCustomizersRequest { - // Required. The ID of the customer whose campaign customizers are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual campaign - // customizers. - repeated CampaignCustomizerOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation (create, remove) on a customizer attribute. -message CampaignCustomizerOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new campaign - // customizer - google.ads.googleads.v13.resources.CampaignCustomizer create = 1; - - // Remove operation: A resource name for the removed campaign customizer is - // expected, in this format: - // `customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignCustomizer" - }]; - } -} - -// Response message for a campaign customizer mutate. -message MutateCampaignCustomizersResponse { - // All results for the mutate. - repeated MutateCampaignCustomizerResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the campaign customizer mutate. -message MutateCampaignCustomizerResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignCustomizer" - }]; - - // The mutated CampaignCustomizer with only mutable fields after mutate. - // The field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.CampaignCustomizer campaign_customizer = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/campaign_draft_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/campaign_draft_service.proto deleted file mode 100644 index 4024c9fb7..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/campaign_draft_service.proto +++ /dev/null @@ -1,247 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/campaign_draft.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/longrunning/operations.proto"; -import "google/protobuf/empty.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignDraftServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the Campaign Draft service. - -// Service to manage campaign drafts. -service CampaignDraftService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes campaign drafts. Operation statuses are - // returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CampaignDraftError]() - // [DatabaseError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - rpc MutateCampaignDrafts(MutateCampaignDraftsRequest) - returns (MutateCampaignDraftsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/campaignDrafts:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } - - // Promotes the changes in a draft back to the base campaign. - // - // This method returns a Long Running Operation (LRO) indicating if the - // Promote is done. Use [Operations.GetOperation] to poll the LRO until it - // is done. Only a done status is returned in the response. See the status - // in the Campaign Draft resource to determine if the promotion was - // successful. If the LRO failed, use - // [CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v13.services.CampaignDraftService.ListCampaignDraftAsyncErrors] - // to view the list of error reasons. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CampaignDraftError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc PromoteCampaignDraft(PromoteCampaignDraftRequest) - returns (google.longrunning.Operation) { - option (google.api.http) = { - post: "/v13/{campaign_draft=customers/*/campaignDrafts/*}:promote" - body: "*" - }; - option (google.api.method_signature) = "campaign_draft"; - option (google.longrunning.operation_info) = { - response_type: "google.protobuf.Empty" - metadata_type: "google.protobuf.Empty" - }; - } - - // Returns all errors that occurred during CampaignDraft promote. Throws an - // error if called before campaign draft is promoted. - // Supports standard list paging. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc ListCampaignDraftAsyncErrors(ListCampaignDraftAsyncErrorsRequest) - returns (ListCampaignDraftAsyncErrorsResponse) { - option (google.api.http) = { - get: "/v13/{resource_name=customers/*/campaignDrafts/*}:listAsyncErrors" - }; - option (google.api.method_signature) = "resource_name"; - } -} - -// Request message for -// [CampaignDraftService.MutateCampaignDrafts][google.ads.googleads.v13.services.CampaignDraftService.MutateCampaignDrafts]. -message MutateCampaignDraftsRequest { - // Required. The ID of the customer whose campaign drafts are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual campaign drafts. - repeated CampaignDraftOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// Request message for -// [CampaignDraftService.PromoteCampaignDraft][google.ads.googleads.v13.services.CampaignDraftService.PromoteCampaignDraft]. -message PromoteCampaignDraftRequest { - // Required. The resource name of the campaign draft to promote. - string campaign_draft = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignDraft" - } - ]; - - // If true, the request is validated but no Long Running Operation is created. - // Only errors are returned. - bool validate_only = 2; -} - -// A single operation (create, update, remove) on a campaign draft. -message CampaignDraftOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new campaign - // draft. - google.ads.googleads.v13.resources.CampaignDraft create = 1; - - // Update operation: The campaign draft is expected to have a valid - // resource name. - google.ads.googleads.v13.resources.CampaignDraft update = 2; - - // Remove operation: The campaign draft is expected to have a valid - // resource name, in this format: - // - // `customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignDraft" - }]; - } -} - -// Response message for campaign draft mutate. -message MutateCampaignDraftsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateCampaignDraftResult results = 2; -} - -// The result for the campaign draft mutate. -message MutateCampaignDraftResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignDraft" - }]; - - // The mutated campaign draft with only mutable fields after mutate. The field - // will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.CampaignDraft campaign_draft = 2; -} - -// Request message for -// [CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v13.services.CampaignDraftService.ListCampaignDraftAsyncErrors]. -message ListCampaignDraftAsyncErrorsRequest { - // Required. The name of the campaign draft from which to retrieve the async - // errors. - string resource_name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignDraft" - } - ]; - - // Token of the page to retrieve. If not specified, the first - // page of results will be returned. Use the value obtained from - // `next_page_token` in the previous response in order to request - // the next page of results. - string page_token = 2; - - // Number of elements to retrieve in a single page. - // When a page request is too large, the server may decide to - // further limit the number of returned resources. - int32 page_size = 3; -} - -// Response message for -// [CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v13.services.CampaignDraftService.ListCampaignDraftAsyncErrors]. -message ListCampaignDraftAsyncErrorsResponse { - // Details of the errors when performing the asynchronous operation. - repeated google.rpc.Status errors = 1; - - // Pagination token used to retrieve the next page of results. - // Pass the content of this string as the `page_token` attribute of - // the next request. `next_page_token` is not returned for the last - // page. - string next_page_token = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/campaign_extension_setting_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/campaign_extension_setting_service.proto deleted file mode 100644 index 0bfe6840b..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/campaign_extension_setting_service.proto +++ /dev/null @@ -1,162 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/campaign_extension_setting.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignExtensionSettingServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the CampaignExtensionSetting service. - -// Service to manage campaign extension settings. -service CampaignExtensionSettingService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes campaign extension settings. Operation - // statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [CriterionError]() - // [DatabaseError]() - // [DateError]() - // [DistinctError]() - // [ExtensionSettingError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [ListOperationError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [NullError]() - // [OperationAccessDeniedError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - // [UrlFieldError]() - rpc MutateCampaignExtensionSettings(MutateCampaignExtensionSettingsRequest) - returns (MutateCampaignExtensionSettingsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/campaignExtensionSettings:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [CampaignExtensionSettingService.MutateCampaignExtensionSettings][google.ads.googleads.v13.services.CampaignExtensionSettingService.MutateCampaignExtensionSettings]. -message MutateCampaignExtensionSettingsRequest { - // Required. The ID of the customer whose campaign extension settings are - // being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual campaign - // extension settings. - repeated CampaignExtensionSettingOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation (create, update, remove) on a campaign extension setting. -message CampaignExtensionSettingOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new campaign - // extension setting. - google.ads.googleads.v13.resources.CampaignExtensionSetting create = 1; - - // Update operation: The campaign extension setting is expected to have a - // valid resource name. - google.ads.googleads.v13.resources.CampaignExtensionSetting update = 2; - - // Remove operation: A resource name for the removed campaign extension - // setting is expected, in this format: - // - // `customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignExtensionSetting" - }]; - } -} - -// Response message for a campaign extension setting mutate. -message MutateCampaignExtensionSettingsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateCampaignExtensionSettingResult results = 2; -} - -// The result for the campaign extension setting mutate. -message MutateCampaignExtensionSettingResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignExtensionSetting" - }]; - - // The mutated campaign extension setting with only mutable fields after - // mutate. The field will only be returned when response_content_type is set - // to "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.CampaignExtensionSetting - campaign_extension_setting = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/campaign_feed_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/campaign_feed_service.proto deleted file mode 100644 index eab730c12..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/campaign_feed_service.proto +++ /dev/null @@ -1,154 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/campaign_feed.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignFeedServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the CampaignFeed service. - -// Service to manage campaign feeds. -service CampaignFeedService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes campaign feeds. Operation statuses are - // returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CampaignFeedError]() - // [CollectionSizeError]() - // [DatabaseError]() - // [DistinctError]() - // [FieldError]() - // [FunctionError]() - // [FunctionParsingError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [MutateError]() - // [NotEmptyError]() - // [NullError]() - // [OperationAccessDeniedError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - rpc MutateCampaignFeeds(MutateCampaignFeedsRequest) - returns (MutateCampaignFeedsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/campaignFeeds:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [CampaignFeedService.MutateCampaignFeeds][google.ads.googleads.v13.services.CampaignFeedService.MutateCampaignFeeds]. -message MutateCampaignFeedsRequest { - // Required. The ID of the customer whose campaign feeds are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual campaign feeds. - repeated CampaignFeedOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation (create, update, remove) on a campaign feed. -message CampaignFeedOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new campaign feed. - google.ads.googleads.v13.resources.CampaignFeed create = 1; - - // Update operation: The campaign feed is expected to have a valid resource - // name. - google.ads.googleads.v13.resources.CampaignFeed update = 2; - - // Remove operation: A resource name for the removed campaign feed is - // expected, in this format: - // - // `customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignFeed" - }]; - } -} - -// Response message for a campaign feed mutate. -message MutateCampaignFeedsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateCampaignFeedResult results = 2; -} - -// The result for the campaign feed mutate. -message MutateCampaignFeedResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignFeed" - }]; - - // The mutated campaign feed with only mutable fields after mutate. The field - // will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.CampaignFeed campaign_feed = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/campaign_group_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/campaign_group_service.proto deleted file mode 100644 index b2ab73bfc..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/campaign_group_service.proto +++ /dev/null @@ -1,133 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/campaign_group.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignGroupServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the Campaign group service. - -// Service to manage campaign groups. -service CampaignGroupService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes campaign groups. Operation statuses are - // returned. - rpc MutateCampaignGroups(MutateCampaignGroupsRequest) - returns (MutateCampaignGroupsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/campaignGroups:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [CampaignGroupService.MutateCampaignGroups][google.ads.googleads.v13.services.CampaignGroupService.MutateCampaignGroups]. -message MutateCampaignGroupsRequest { - // Required. The ID of the customer whose campaign groups are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual campaign groups. - repeated CampaignGroupOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation (create, update, remove) on a campaign group. -message CampaignGroupOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new campaign - // group. - google.ads.googleads.v13.resources.CampaignGroup create = 1; - - // Update operation: The campaign group is expected to have a valid - // resource name. - google.ads.googleads.v13.resources.CampaignGroup update = 2; - - // Remove operation: A resource name for the removed campaign group is - // expected, in this format: - // - // `customers/{customer_id}/campaignGroups/{campaign_group_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignGroup" - }]; - } -} - -// Response message for campaign group mutate. -message MutateCampaignGroupsResponse { - // All results for the mutate. - repeated MutateCampaignGroupResult results = 2; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; -} - -// The result for the campaign group mutate. -message MutateCampaignGroupResult { - // Required. Returned for successful operations. - string resource_name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignGroup" - } - ]; - - // The mutated campaign group with only mutable fields after mutate. The field - // will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.CampaignGroup campaign_group = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/campaign_label_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/campaign_label_service.proto deleted file mode 100644 index e5f859de1..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/campaign_label_service.proto +++ /dev/null @@ -1,126 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/campaign_label.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignLabelServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the Campaign Label service. - -// Service to manage labels on campaigns. -service CampaignLabelService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates and removes campaign-label relationships. - // Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [LabelError]() - // [MutateError]() - // [NewResourceCreationError]() - // [QuotaError]() - // [RequestError]() - rpc MutateCampaignLabels(MutateCampaignLabelsRequest) - returns (MutateCampaignLabelsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/campaignLabels:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [CampaignLabelService.MutateCampaignLabels][google.ads.googleads.v13.services.CampaignLabelService.MutateCampaignLabels]. -message MutateCampaignLabelsRequest { - // Required. ID of the customer whose campaign-label relationships are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on campaign-label - // relationships. - repeated CampaignLabelOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, remove) on a campaign-label relationship. -message CampaignLabelOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new campaign-label - // relationship. - google.ads.googleads.v13.resources.CampaignLabel create = 1; - - // Remove operation: A resource name for the campaign-label relationship - // being removed, in this format: - // - // `customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignLabel" - }]; - } -} - -// Response message for a campaign labels mutate. -message MutateCampaignLabelsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateCampaignLabelResult results = 2; -} - -// The result for a campaign label mutate. -message MutateCampaignLabelResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignLabel" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/campaign_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/campaign_service.proto deleted file mode 100644 index 175f69c60..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/campaign_service.proto +++ /dev/null @@ -1,164 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/campaign.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the Campaign service. - -// Service to manage campaigns. -service CampaignService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes campaigns. Operation statuses are returned. - // - // List of thrown errors: - // [AdxError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [BiddingError]() - // [BiddingStrategyError]() - // [CampaignBudgetError]() - // [CampaignError]() - // [ContextError]() - // [DatabaseError]() - // [DateError]() - // [DateRangeError]() - // [DistinctError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [ListOperationError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotAllowlistedError]() - // [NotEmptyError]() - // [NullError]() - // [OperationAccessDeniedError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RegionCodeError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - // [SettingError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - // [UrlFieldError]() - rpc MutateCampaigns(MutateCampaignsRequest) - returns (MutateCampaignsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/campaigns:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [CampaignService.MutateCampaigns][google.ads.googleads.v13.services.CampaignService.MutateCampaigns]. -message MutateCampaignsRequest { - // Required. The ID of the customer whose campaigns are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual campaigns. - repeated CampaignOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation (create, update, remove) on a campaign. -message CampaignOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new campaign. - google.ads.googleads.v13.resources.Campaign create = 1; - - // Update operation: The campaign is expected to have a valid - // resource name. - google.ads.googleads.v13.resources.Campaign update = 2; - - // Remove operation: A resource name for the removed campaign is - // expected, in this format: - // - // `customers/{customer_id}/campaigns/{campaign_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - }]; - } -} - -// Response message for campaign mutate. -message MutateCampaignsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateCampaignResult results = 2; -} - -// The result for the campaign mutate. -message MutateCampaignResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - }]; - - // The mutated campaign with only mutable fields after mutate. The field will - // only be returned when response_content_type is set to "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.Campaign campaign = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/campaign_shared_set_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/campaign_shared_set_service.proto deleted file mode 100644 index 482efe9d4..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/campaign_shared_set_service.proto +++ /dev/null @@ -1,147 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/campaign_shared_set.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignSharedSetServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the Campaign Shared Set service. - -// Service to manage campaign shared sets. -service CampaignSharedSetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates or removes campaign shared sets. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CampaignSharedSetError]() - // [ContextError]() - // [DatabaseError]() - // [DateError]() - // [DistinctError]() - // [FieldError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [NullError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - rpc MutateCampaignSharedSets(MutateCampaignSharedSetsRequest) - returns (MutateCampaignSharedSetsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/campaignSharedSets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [CampaignSharedSetService.MutateCampaignSharedSets][google.ads.googleads.v13.services.CampaignSharedSetService.MutateCampaignSharedSets]. -message MutateCampaignSharedSetsRequest { - // Required. The ID of the customer whose campaign shared sets are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual campaign shared - // sets. - repeated CampaignSharedSetOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation (create, remove) on a campaign shared set. -message CampaignSharedSetOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new campaign - // shared set. - google.ads.googleads.v13.resources.CampaignSharedSet create = 1; - - // Remove operation: A resource name for the removed campaign shared set is - // expected, in this format: - // - // `customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignSharedSet" - }]; - } -} - -// Response message for a campaign shared set mutate. -message MutateCampaignSharedSetsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateCampaignSharedSetResult results = 2; -} - -// The result for the campaign shared set mutate. -message MutateCampaignSharedSetResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignSharedSet" - }]; - - // The mutated campaign shared set with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.CampaignSharedSet campaign_shared_set = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/conversion_action_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/conversion_action_service.proto deleted file mode 100644 index f55a2296b..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/conversion_action_service.proto +++ /dev/null @@ -1,151 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/conversion_action.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ConversionActionServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the Conversion Action service. - -// Service to manage conversion actions. -service ConversionActionService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes conversion actions. Operation statuses are - // returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [ConversionActionError]() - // [CurrencyCodeError]() - // [DatabaseError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [NewResourceCreationError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - // [StringLengthError]() - rpc MutateConversionActions(MutateConversionActionsRequest) - returns (MutateConversionActionsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/conversionActions:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [ConversionActionService.MutateConversionActions][google.ads.googleads.v13.services.ConversionActionService.MutateConversionActions]. -message MutateConversionActionsRequest { - // Required. The ID of the customer whose conversion actions are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual conversion - // actions. - repeated ConversionActionOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation (create, update, remove) on a conversion action. -message ConversionActionOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new conversion - // action. - google.ads.googleads.v13.resources.ConversionAction create = 1; - - // Update operation: The conversion action is expected to have a valid - // resource name. - google.ads.googleads.v13.resources.ConversionAction update = 2; - - // Remove operation: A resource name for the removed conversion action is - // expected, in this format: - // - // `customers/{customer_id}/conversionActions/{conversion_action_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionAction" - }]; - } -} - -// Response message for -// [ConversionActionService.MutateConversionActions][google.ads.googleads.v13.services.ConversionActionService.MutateConversionActions]. -message MutateConversionActionsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateConversionActionResult results = 2; -} - -// The result for the conversion action mutate. -message MutateConversionActionResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionAction" - }]; - - // The mutated conversion action with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.ConversionAction conversion_action = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/conversion_adjustment_upload_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/conversion_adjustment_upload_service.proto deleted file mode 100644 index 26618419e..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/conversion_adjustment_upload_service.proto +++ /dev/null @@ -1,204 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/common/offline_user_data.proto"; -import "google/ads/googleads/v13/enums/conversion_adjustment_type.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ConversionAdjustmentUploadServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Service to upload conversion adjustments. -service ConversionAdjustmentUploadService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Processes the given conversion adjustments. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [PartialFailureError]() - // [QuotaError]() - // [RequestError]() - rpc UploadConversionAdjustments(UploadConversionAdjustmentsRequest) - returns (UploadConversionAdjustmentsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}:uploadConversionAdjustments" - body: "*" - }; - option (google.api.method_signature) = - "customer_id,conversion_adjustments,partial_failure"; - } -} - -// Request message for -// [ConversionAdjustmentUploadService.UploadConversionAdjustments][google.ads.googleads.v13.services.ConversionAdjustmentUploadService.UploadConversionAdjustments]. -message UploadConversionAdjustmentsRequest { - // Required. The ID of the customer performing the upload. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The conversion adjustments that are being uploaded. - repeated ConversionAdjustment conversion_adjustments = 2 - [(google.api.field_behavior) = REQUIRED]; - - // Required. If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried out - // in one transaction if and only if they are all valid. This should always be - // set to true. - // See - // https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - // for more information about partial failure. - bool partial_failure = 3 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// Response message for -// [ConversionAdjustmentUploadService.UploadConversionAdjustments][google.ads.googleads.v13.services.ConversionAdjustmentUploadService.UploadConversionAdjustments]. -message UploadConversionAdjustmentsResponse { - // Errors that pertain to conversion adjustment failures in the partial - // failure mode. Returned when all errors occur inside the adjustments. If any - // errors occur outside the adjustments (for example, auth errors), we return - // an RPC level error. See - // https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - // for more information about partial failure. - google.rpc.Status partial_failure_error = 1; - - // Returned for successfully processed conversion adjustments. Proto will be - // empty for rows that received an error. Results are not returned when - // validate_only is true. - repeated ConversionAdjustmentResult results = 2; -} - -// A conversion adjustment. -message ConversionAdjustment { - // For adjustments, uniquely identifies a conversion that was reported - // without an order ID specified. If the adjustment_type is ENHANCEMENT, this - // value is optional but may be set in addition to the order_id. - GclidDateTimePair gclid_date_time_pair = 12; - - // The order ID of the conversion to be adjusted. If the conversion was - // reported with an order ID specified, that order ID must be used as the - // identifier here. The order ID is required for enhancements. - optional string order_id = 13; - - // Resource name of the conversion action associated with this conversion - // adjustment. Note: Although this resource name consists of a customer id and - // a conversion action id, validation will ignore the customer id and use the - // conversion action id as the sole identifier of the conversion action. - optional string conversion_action = 8; - - // The date time at which the adjustment occurred. Must be after the - // conversion_date_time. The timezone must be specified. The format is - // "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - optional string adjustment_date_time = 9; - - // The adjustment type. - google.ads.googleads.v13.enums.ConversionAdjustmentTypeEnum - .ConversionAdjustmentType adjustment_type = 5; - - // Information needed to restate the conversion's value. - // Required for restatements. Should not be supplied for retractions. An error - // will be returned if provided for a retraction. - // NOTE: If you want to upload a second restatement with a different adjusted - // value, it must have a new, more recent, adjustment occurrence time. - // Otherwise, it will be treated as a duplicate of the previous restatement - // and ignored. - RestatementValue restatement_value = 6; - - // The user identifiers to enhance the original conversion. - // ConversionAdjustmentUploadService only accepts user identifiers in - // enhancements. The maximum number of user identifiers for each - // enhancement is 5. - repeated google.ads.googleads.v13.common.UserIdentifier user_identifiers = 10; - - // The user agent to enhance the original conversion. This can be found in - // your user's HTTP request header when they convert on your web page. - // Example, "Mozilla/5.0 (iPhone; CPU iPhone OS 12_2 like Mac OS X)". User - // agent can only be specified in enhancements with user identifiers. This - // should match the user agent of the request that sent the original - // conversion so the conversion and its enhancement are either both attributed - // as same-device or both attributed as cross-device. - optional string user_agent = 11; -} - -// Contains information needed to restate a conversion's value. -message RestatementValue { - // The restated conversion value. This is the value of the conversion after - // restatement. For example, to change the value of a conversion from 100 to - // 70, an adjusted value of 70 should be reported. - // NOTE: If you want to upload a second restatement with a different adjusted - // value, it must have a new, more recent, adjustment occurrence time. - // Otherwise, it will be treated as a duplicate of the previous restatement - // and ignored. - optional double adjusted_value = 3; - - // The currency of the restated value. If not provided, then the default - // currency from the conversion action is used, and if that is not set then - // the account currency is used. This is the ISO 4217 3-character currency - // code for example, USD or EUR. - optional string currency_code = 4; -} - -// Uniquely identifies a conversion that was reported without an order ID -// specified. -message GclidDateTimePair { - // Google click ID (gclid) associated with the original conversion for this - // adjustment. - optional string gclid = 3; - - // The date time at which the original conversion for this adjustment - // occurred. The timezone must be specified. The format is "yyyy-mm-dd - // hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - optional string conversion_date_time = 4; -} - -// Information identifying a successfully processed ConversionAdjustment. -message ConversionAdjustmentResult { - // The gclid and conversion date time of the conversion. - GclidDateTimePair gclid_date_time_pair = 9; - - // The order ID of the conversion to be adjusted. - string order_id = 10; - - // Resource name of the conversion action associated with this conversion - // adjustment. - optional string conversion_action = 7; - - // The date time at which the adjustment occurred. The format is - // "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - optional string adjustment_date_time = 8; - - // The adjustment type. - google.ads.googleads.v13.enums.ConversionAdjustmentTypeEnum - .ConversionAdjustmentType adjustment_type = 5; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/conversion_custom_variable_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/conversion_custom_variable_service.proto deleted file mode 100644 index ab353bba1..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/conversion_custom_variable_service.proto +++ /dev/null @@ -1,136 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/conversion_custom_variable.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ConversionCustomVariableServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the Conversion Custom Variable service. - -// Service to manage conversion custom variables. -service ConversionCustomVariableService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates or updates conversion custom variables. Operation statuses are - // returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [ConversionCustomVariableError]() - // [DatabaseError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc MutateConversionCustomVariables(MutateConversionCustomVariablesRequest) - returns (MutateConversionCustomVariablesResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/conversionCustomVariables:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [ConversionCustomVariableService.MutateConversionCustomVariables][google.ads.googleads.v13.services.ConversionCustomVariableService.MutateConversionCustomVariables]. -message MutateConversionCustomVariablesRequest { - // Required. The ID of the customer whose conversion custom variables are - // being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual conversion custom - // variables. - repeated ConversionCustomVariableOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation (create, update) on a conversion custom variable. -message ConversionCustomVariableOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 3; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new conversion - // custom variable. - google.ads.googleads.v13.resources.ConversionCustomVariable create = 1; - - // Update operation: The conversion custom variable is expected to have a - // valid resource name. - google.ads.googleads.v13.resources.ConversionCustomVariable update = 2; - } -} - -// Response message for -// [ConversionCustomVariableService.MutateConversionCustomVariables][google.ads.googleads.v13.services.ConversionCustomVariableService.MutateConversionCustomVariables]. -message MutateConversionCustomVariablesResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 1; - - // All results for the mutate. - repeated MutateConversionCustomVariableResult results = 2; -} - -// The result for the conversion custom variable mutate. -message MutateConversionCustomVariableResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionCustomVariable" - }]; - - // The mutated conversion custom variable with only mutable fields after - // mutate. The field will only be returned when response_content_type is set - // to "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.ConversionCustomVariable - conversion_custom_variable = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/conversion_goal_campaign_config_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/conversion_goal_campaign_config_service.proto deleted file mode 100644 index 22a7676c8..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/conversion_goal_campaign_config_service.proto +++ /dev/null @@ -1,109 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/conversion_goal_campaign_config.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ConversionGoalCampaignConfigServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the ConversionGoalCampaignConfig service. - -// Service to manage conversion goal campaign config. -service ConversionGoalCampaignConfigService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes conversion goal campaign config. Operation - // statuses are returned. - rpc MutateConversionGoalCampaignConfigs( - MutateConversionGoalCampaignConfigsRequest) - returns (MutateConversionGoalCampaignConfigsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/conversionGoalCampaignConfigs:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [ConversionGoalCampaignConfigService.MutateConversionGoalCampaignConfig][]. -message MutateConversionGoalCampaignConfigsRequest { - // Required. The ID of the customer whose custom conversion goals are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual conversion goal - // campaign config. - repeated ConversionGoalCampaignConfigOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 4; -} - -// A single operation (update) on a conversion goal campaign config. -message ConversionGoalCampaignConfigOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 2; - - // The mutate operation. - oneof operation { - // Update operation: The conversion goal campaign config is expected to have - // a valid resource name. - google.ads.googleads.v13.resources.ConversionGoalCampaignConfig update = 1; - } -} - -// Response message for a conversion goal campaign config mutate. -message MutateConversionGoalCampaignConfigsResponse { - // All results for the mutate. - repeated MutateConversionGoalCampaignConfigResult results = 1; -} - -// The result for the conversion goal campaign config mutate. -message MutateConversionGoalCampaignConfigResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionGoalCampaignConfig" - }]; - - // The mutated ConversionGoalCampaignConfig with only mutable fields after - // mutate. The field will only be returned when response_content_type is set - // to "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.ConversionGoalCampaignConfig - conversion_goal_campaign_config = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/conversion_upload_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/conversion_upload_service.proto deleted file mode 100644 index a70e1caa9..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/conversion_upload_service.proto +++ /dev/null @@ -1,378 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/common/offline_user_data.proto"; -import "google/ads/googleads/v13/enums/conversion_environment_enum.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ConversionUploadServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Service to upload conversions. -service ConversionUploadService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Processes the given click conversions. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [ConversionUploadError]() - // [HeaderError]() - // [InternalError]() - // [PartialFailureError]() - // [QuotaError]() - // [RequestError]() - rpc UploadClickConversions(UploadClickConversionsRequest) - returns (UploadClickConversionsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}:uploadClickConversions" - body: "*" - }; - option (google.api.method_signature) = - "customer_id,conversions,partial_failure"; - } - - // Processes the given call conversions. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [PartialFailureError]() - // [QuotaError]() - // [RequestError]() - rpc UploadCallConversions(UploadCallConversionsRequest) - returns (UploadCallConversionsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}:uploadCallConversions" - body: "*" - }; - option (google.api.method_signature) = - "customer_id,conversions,partial_failure"; - } -} - -// Request message for -// [ConversionUploadService.UploadClickConversions][google.ads.googleads.v13.services.ConversionUploadService.UploadClickConversions]. -message UploadClickConversionsRequest { - // Required. The ID of the customer performing the upload. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The conversions that are being uploaded. - repeated ClickConversion conversions = 2 - [(google.api.field_behavior) = REQUIRED]; - - // Required. If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // This should always be set to true. - // See - // https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - // for more information about partial failure. - bool partial_failure = 3 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // If true, the API will perform all upload checks and return errors if - // any are found. If false, it will perform only basic input validation, - // skip subsequent upload checks, and return success even if no click - // was found for the provided `user_identifiers`. - // - // This setting only affects Enhanced conversions for leads uploads that use - // `user_identifiers` instead of `GCLID`, `GBRAID`, or `WBRAID`. When - // uploading enhanced conversions for leads, you should upload all conversion - // events to the API, including those that may not come from Google Ads - // campaigns. The upload of an event that is not from a Google Ads campaign - // will result in a `CLICK_NOT_FOUND` error if this field is set to `true`. - // Since these errors are expected for such events, set this field to `false` - // so you can confirm your uploads are properly formatted but ignore - // `CLICK_NOT_FOUND` errors from all of the conversions that are not from a - // Google Ads campaign. This will allow you to focus only on errors that you - // can address. - // - // Default is false. - bool debug_enabled = 5; -} - -// Response message for -// [ConversionUploadService.UploadClickConversions][google.ads.googleads.v13.services.ConversionUploadService.UploadClickConversions]. -message UploadClickConversionsResponse { - // Errors that pertain to conversion failures in the partial failure mode. - // Returned when all errors occur inside the conversions. If any errors occur - // outside the conversions (for example, auth errors), we return an RPC level - // error. See - // https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - // for more information about partial failure. - google.rpc.Status partial_failure_error = 1; - - // Returned for successfully processed conversions. Proto will be empty for - // rows that received an error. Results are not returned when validate_only is - // true. - repeated ClickConversionResult results = 2; -} - -// Request message for -// [ConversionUploadService.UploadCallConversions][google.ads.googleads.v13.services.ConversionUploadService.UploadCallConversions]. -message UploadCallConversionsRequest { - // Required. The ID of the customer performing the upload. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The conversions that are being uploaded. - repeated CallConversion conversions = 2 - [(google.api.field_behavior) = REQUIRED]; - - // Required. If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // This should always be set to true. - // See - // https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - // for more information about partial failure. - bool partial_failure = 3 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// Response message for -// [ConversionUploadService.UploadCallConversions][google.ads.googleads.v13.services.ConversionUploadService.UploadCallConversions]. -message UploadCallConversionsResponse { - // Errors that pertain to conversion failures in the partial failure mode. - // Returned when all errors occur inside the conversions. If any errors occur - // outside the conversions (for example, auth errors), we return an RPC level - // error. See - // https://developers.google.com/google-ads/api/docs/best-practices/partial-failures - // for more information about partial failure. - google.rpc.Status partial_failure_error = 1; - - // Returned for successfully processed conversions. Proto will be empty for - // rows that received an error. Results are not returned when validate_only is - // true. - repeated CallConversionResult results = 2; -} - -// A click conversion. -message ClickConversion { - // The Google click ID (gclid) associated with this conversion. - optional string gclid = 9; - - // The click identifier for clicks associated with app conversions and - // originating from iOS devices starting with iOS14. - string gbraid = 18; - - // The click identifier for clicks associated with web conversions and - // originating from iOS devices starting with iOS14. - string wbraid = 19; - - // Resource name of the conversion action associated with this conversion. - // Note: Although this resource name consists of a customer id and a - // conversion action id, validation will ignore the customer id and use the - // conversion action id as the sole identifier of the conversion action. - optional string conversion_action = 10; - - // The date time at which the conversion occurred. Must be after - // the click time. The timezone must be specified. The format is - // "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - optional string conversion_date_time = 11; - - // The value of the conversion for the advertiser. - optional double conversion_value = 12; - - // Currency associated with the conversion value. This is the ISO 4217 - // 3-character currency code. For example: USD, EUR. - optional string currency_code = 13; - - // The order ID associated with the conversion. An order id can only be used - // for one conversion per conversion action. - optional string order_id = 14; - - // Additional data about externally attributed conversions. This field - // is required for conversions with an externally attributed conversion - // action, but should not be set otherwise. - ExternalAttributionData external_attribution_data = 7; - - // The custom variables associated with this conversion. - repeated CustomVariable custom_variables = 15; - - // The cart data associated with this conversion. - CartData cart_data = 16; - - // The user identifiers associated with this conversion. Only hashed_email and - // hashed_phone_number are supported for conversion uploads. The maximum - // number of user identifiers for each conversion is 5. - repeated google.ads.googleads.v13.common.UserIdentifier user_identifiers = 17; - - // The environment this conversion was recorded on, for example, App or Web. - google.ads.googleads.v13.enums.ConversionEnvironmentEnum.ConversionEnvironment - conversion_environment = 20; -} - -// A call conversion. -message CallConversion { - // The caller id from which this call was placed. Caller id is expected to be - // in E.164 format with preceding '+' sign, for example, "+16502531234". - optional string caller_id = 7; - - // The date time at which the call occurred. The timezone must be specified. - // The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", - // for example, "2019-01-01 12:32:45-08:00". - optional string call_start_date_time = 8; - - // Resource name of the conversion action associated with this conversion. - // Note: Although this resource name consists of a customer id and a - // conversion action id, validation will ignore the customer id and use the - // conversion action id as the sole identifier of the conversion action. - optional string conversion_action = 9; - - // The date time at which the conversion occurred. Must be after the call - // time. The timezone must be specified. The format is - // "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - optional string conversion_date_time = 10; - - // The value of the conversion for the advertiser. - optional double conversion_value = 11; - - // Currency associated with the conversion value. This is the ISO 4217 - // 3-character currency code. For example: USD, EUR. - optional string currency_code = 12; - - // The custom variables associated with this conversion. - repeated CustomVariable custom_variables = 13; -} - -// Contains additional information about externally attributed conversions. -message ExternalAttributionData { - // Represents the fraction of the conversion that is attributed to the - // Google Ads click. - optional double external_attribution_credit = 3; - - // Specifies the attribution model name. - optional string external_attribution_model = 4; -} - -// Identifying information for a successfully processed ClickConversion. -message ClickConversionResult { - // The Google Click ID (gclid) associated with this conversion. - optional string gclid = 4; - - // The click identifier for clicks associated with app conversions and - // originating from iOS devices starting with iOS14. - string gbraid = 8; - - // The click identifier for clicks associated with web conversions and - // originating from iOS devices starting with iOS14. - string wbraid = 9; - - // Resource name of the conversion action associated with this conversion. - optional string conversion_action = 5; - - // The date time at which the conversion occurred. The format is - // "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - optional string conversion_date_time = 6; - - // The user identifiers associated with this conversion. Only hashed_email and - // hashed_phone_number are supported for conversion uploads. The maximum - // number of user identifiers for each conversion is 5. - repeated google.ads.googleads.v13.common.UserIdentifier user_identifiers = 7; -} - -// Identifying information for a successfully processed CallConversionUpload. -message CallConversionResult { - // The caller id from which this call was placed. Caller id is expected to be - // in E.164 format with preceding '+' sign. - optional string caller_id = 5; - - // The date time at which the call occurred. The format is - // "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - optional string call_start_date_time = 6; - - // Resource name of the conversion action associated with this conversion. - optional string conversion_action = 7; - - // The date time at which the conversion occurred. The format is - // "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - optional string conversion_date_time = 8; -} - -// A custom variable. -message CustomVariable { - // Resource name of the custom variable associated with this conversion. - // Note: Although this resource name consists of a customer id and a - // conversion custom variable id, validation will ignore the customer id and - // use the conversion custom variable id as the sole identifier of the - // conversion custom variable. - string conversion_custom_variable = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionCustomVariable" - }]; - - // The value string of this custom variable. - // The value of the custom variable should not contain private customer data, - // such as email addresses or phone numbers. - string value = 2; -} - -// Contains additional information about cart data. -message CartData { - // Contains data of the items purchased. - message Item { - // The shopping id of the item. Must be equal to the Merchant Center product - // identifier. - string product_id = 1; - - // Number of items sold. - int32 quantity = 2; - - // Unit price excluding tax, shipping, and any transaction - // level discounts. The currency code is the same as that in the - // ClickConversion message. - double unit_price = 3; - } - - // The Merchant Center ID where the items are uploaded. - int64 merchant_id = 6; - - // The country code associated with the feed where the items are uploaded. - string feed_country_code = 2; - - // The language code associated with the feed where the items are uploaded. - string feed_language_code = 3; - - // Sum of all transaction level discounts, such as free shipping and - // coupon discounts for the whole cart. The currency code is the same - // as that in the ClickConversion message. - double local_transaction_cost = 4; - - // Data of the items purchased. - repeated Item items = 5; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/conversion_value_rule_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/conversion_value_rule_service.proto deleted file mode 100644 index 35628554c..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/conversion_value_rule_service.proto +++ /dev/null @@ -1,134 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/conversion_value_rule.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ConversionValueRuleServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the Conversion Value Rule service. - -// Service to manage conversion value rules. -service ConversionValueRuleService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes conversion value rules. Operation statuses are - // returned. - rpc MutateConversionValueRules(MutateConversionValueRulesRequest) - returns (MutateConversionValueRulesResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/conversionValueRules:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [ConversionValueRuleService.MutateConversionValueRules][google.ads.googleads.v13.services.ConversionValueRuleService.MutateConversionValueRules]. -message MutateConversionValueRulesRequest { - // Required. The ID of the customer whose conversion value rules are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual conversion value - // rules. - repeated ConversionValueRuleOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 5; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 4; -} - -// A single operation (create, update, remove) on a conversion value rule. -message ConversionValueRuleOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new conversion - // value rule. - google.ads.googleads.v13.resources.ConversionValueRule create = 1; - - // Update operation: The conversion value rule is expected to have a valid - // resource name. - google.ads.googleads.v13.resources.ConversionValueRule update = 2; - - // Remove operation: A resource name for the removed conversion value rule - // is expected, in this format: - // - // `customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionValueRule" - }]; - } -} - -// Response message for -// [ConversionValueRuleService.MutateConversionValueRules][google.ads.googleads.v13.services.ConversionValueRuleService.MutateConversionValueRules]. -message MutateConversionValueRulesResponse { - // All results for the mutate. - repeated MutateConversionValueRuleResult results = 2; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; -} - -// The result for the conversion value rule mutate. -message MutateConversionValueRuleResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionValueRule" - }]; - - // The mutated conversion value rule with only mutable fields after - // mutate. The field will only be returned when response_content_type is set - // to "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.ConversionValueRule conversion_value_rule = - 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/conversion_value_rule_set_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/conversion_value_rule_set_service.proto deleted file mode 100644 index 9e51181de..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/conversion_value_rule_set_service.proto +++ /dev/null @@ -1,134 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/conversion_value_rule_set.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ConversionValueRuleSetServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the Conversion Value Rule Set service. - -// Service to manage conversion value rule sets. -service ConversionValueRuleSetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes conversion value rule sets. Operation statuses - // are returned. - rpc MutateConversionValueRuleSets(MutateConversionValueRuleSetsRequest) - returns (MutateConversionValueRuleSetsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/conversionValueRuleSets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [ConversionValueRuleSetService.MutateConversionValueRuleSets][google.ads.googleads.v13.services.ConversionValueRuleSetService.MutateConversionValueRuleSets]. -message MutateConversionValueRuleSetsRequest { - // Required. The ID of the customer whose conversion value rule sets are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual conversion value - // rule sets. - repeated ConversionValueRuleSetOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 5; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 4; -} - -// A single operation (create, update, remove) on a conversion value rule set. -message ConversionValueRuleSetOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new conversion - // value rule set. - google.ads.googleads.v13.resources.ConversionValueRuleSet create = 1; - - // Update operation: The conversion value rule set is expected to have a - // valid resource name. - google.ads.googleads.v13.resources.ConversionValueRuleSet update = 2; - - // Remove operation: A resource name for the removed conversion value rule - // set is expected, in this format: - // - // `customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionValueRuleSet" - }]; - } -} - -// Response message for -// [ConversionValueRuleSetService.MutateConversionValueRuleSets][google.ads.googleads.v13.services.ConversionValueRuleSetService.MutateConversionValueRuleSets]. -message MutateConversionValueRuleSetsResponse { - // All results for the mutate. - repeated MutateConversionValueRuleSetResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the conversion value rule set mutate. -message MutateConversionValueRuleSetResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionValueRuleSet" - }]; - - // The mutated conversion value rule set with only mutable fields after - // mutate. The field will only be returned when response_content_type is set - // to "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.ConversionValueRuleSet - conversion_value_rule_set = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/custom_audience_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/custom_audience_service.proto deleted file mode 100644 index 5751c9d42..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/custom_audience_service.proto +++ /dev/null @@ -1,120 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/custom_audience.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomAudienceServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the Custom Audience service. - -// Service to manage custom audiences. -service CustomAudienceService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates or updates custom audiences. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CustomAudienceError]() - // [CustomInterestError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [OperationAccessDeniedError]() - // [PolicyViolationError]() - // [QuotaError]() - // [RequestError]() - rpc MutateCustomAudiences(MutateCustomAudiencesRequest) - returns (MutateCustomAudiencesResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/customAudiences:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [CustomAudienceService.MutateCustomAudiences][google.ads.googleads.v13.services.CustomAudienceService.MutateCustomAudiences]. -message MutateCustomAudiencesRequest { - // Required. The ID of the customer whose custom audiences are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual custom audiences. - repeated CustomAudienceOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; -} - -// A single operation (create, update) on a custom audience. -message CustomAudienceOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new custom - // audience. - google.ads.googleads.v13.resources.CustomAudience create = 1; - - // Update operation: The custom audience is expected to have a valid - // resource name. - google.ads.googleads.v13.resources.CustomAudience update = 2; - - // Remove operation: A resource name for the removed custom audience is - // expected, in this format: - // - // `customers/{customer_id}/customAudiences/{custom_audience_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomAudience" - }]; - } -} - -// Response message for custom audience mutate. -message MutateCustomAudiencesResponse { - // All results for the mutate. - repeated MutateCustomAudienceResult results = 1; -} - -// The result for the custom audience mutate. -message MutateCustomAudienceResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomAudience" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/custom_conversion_goal_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/custom_conversion_goal_service.proto deleted file mode 100644 index 59f2d8f11..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/custom_conversion_goal_service.proto +++ /dev/null @@ -1,120 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/custom_conversion_goal.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomConversionGoalServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the CustomConversionGoal service. - -// Service to manage custom conversion goal. -service CustomConversionGoalService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes custom conversion goals. Operation statuses - // are returned. - rpc MutateCustomConversionGoals(MutateCustomConversionGoalsRequest) - returns (MutateCustomConversionGoalsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/customConversionGoals:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [CustomConversionGoalService.MutateCustomConversionGoals][google.ads.googleads.v13.services.CustomConversionGoalService.MutateCustomConversionGoals]. -message MutateCustomConversionGoalsRequest { - // Required. The ID of the customer whose custom conversion goals are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual custom conversion - // goal. - repeated CustomConversionGoalOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 4; -} - -// A single operation (create, remove) on a custom conversion goal. -message CustomConversionGoalOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new custom - // conversion goal - google.ads.googleads.v13.resources.CustomConversionGoal create = 1; - - // Update operation: The custom conversion goal is expected to have a - // valid resource name. - google.ads.googleads.v13.resources.CustomConversionGoal update = 2; - - // Remove operation: A resource name for the removed custom conversion goal - // is expected, in this format: - // - // 'customers/{customer_id}/conversionActions/{ConversionGoal.custom_goal_config.conversion_type_ids}' - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomConversionGoal" - }]; - } -} - -// Response message for a custom conversion goal mutate. -message MutateCustomConversionGoalsResponse { - // All results for the mutate. - repeated MutateCustomConversionGoalResult results = 1; -} - -// The result for the custom conversion goal mutate. -message MutateCustomConversionGoalResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomConversionGoal" - }]; - - // The mutated CustomConversionGoal with only mutable fields after mutate. - // The field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.CustomConversionGoal - custom_conversion_goal = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/custom_interest_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/custom_interest_service.proto deleted file mode 100644 index 33c27561c..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/custom_interest_service.proto +++ /dev/null @@ -1,110 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/custom_interest.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomInterestServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the Custom Interest service. - -// Service to manage custom interests. -service CustomInterestService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates or updates custom interests. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CriterionError]() - // [CustomInterestError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [PolicyViolationError]() - // [QuotaError]() - // [RequestError]() - // [StringLengthError]() - rpc MutateCustomInterests(MutateCustomInterestsRequest) - returns (MutateCustomInterestsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/customInterests:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [CustomInterestService.MutateCustomInterests][google.ads.googleads.v13.services.CustomInterestService.MutateCustomInterests]. -message MutateCustomInterestsRequest { - // Required. The ID of the customer whose custom interests are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual custom interests. - repeated CustomInterestOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, update) on a custom interest. -message CustomInterestOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new custom - // interest. - google.ads.googleads.v13.resources.CustomInterest create = 1; - - // Update operation: The custom interest is expected to have a valid - // resource name. - google.ads.googleads.v13.resources.CustomInterest update = 2; - } -} - -// Response message for custom interest mutate. -message MutateCustomInterestsResponse { - // All results for the mutate. - repeated MutateCustomInterestResult results = 2; -} - -// The result for the custom interest mutate. -message MutateCustomInterestResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomInterest" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/customer_asset_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/customer_asset_service.proto deleted file mode 100644 index 38b12e4b0..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/customer_asset_service.proto +++ /dev/null @@ -1,141 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/customer_asset.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerAssetServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the CustomerAsset service. - -// Service to manage customer assets. -service CustomerAssetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes customer assets. Operation statuses are - // returned. - // - // List of thrown errors: - // [AssetLinkError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - rpc MutateCustomerAssets(MutateCustomerAssetsRequest) - returns (MutateCustomerAssetsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/customerAssets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [CustomerAssetService.MutateCustomerAssets][google.ads.googleads.v13.services.CustomerAssetService.MutateCustomerAssets]. -message MutateCustomerAssetsRequest { - // Required. The ID of the customer whose customer assets are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual customer assets. - repeated CustomerAssetOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation (create, update, remove) on a customer asset. -message CustomerAssetOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new customer - // asset. - google.ads.googleads.v13.resources.CustomerAsset create = 1; - - // Update operation: The customer asset is expected to have a valid resource - // name. - google.ads.googleads.v13.resources.CustomerAsset update = 3; - - // Remove operation: A resource name for the removed customer asset is - // expected, in this format: - // - // `customers/{customer_id}/customerAssets/{asset_id}~{field_type}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerAsset" - }]; - } -} - -// Response message for a customer asset mutate. -message MutateCustomerAssetsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 1; - - // All results for the mutate. - repeated MutateCustomerAssetResult results = 2; -} - -// The result for the customer asset mutate. -message MutateCustomerAssetResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerAsset" - }]; - - // The mutated customer asset with only mutable fields after - // mutate. The field will only be returned when response_content_type is set - // to "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.CustomerAsset customer_asset = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/customer_asset_set_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/customer_asset_set_service.proto deleted file mode 100644 index 409293bbb..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/customer_asset_set_service.proto +++ /dev/null @@ -1,123 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/customer_asset_set.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerAssetSetServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the CustomerAssetSet service. - -// Service to manage customer asset set -service CustomerAssetSetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, or removes customer asset sets. Operation statuses are - // returned. - rpc MutateCustomerAssetSets(MutateCustomerAssetSetsRequest) - returns (MutateCustomerAssetSetsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/customerAssetSets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [CustomerAssetSetService.MutateCustomerAssetSets][google.ads.googleads.v13.services.CustomerAssetSetService.MutateCustomerAssetSets]. -message MutateCustomerAssetSetsRequest { - // Required. The ID of the customer whose customer asset sets are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual customer asset - // sets. - repeated CustomerAssetSetOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation (create, remove) on a customer asset set. -message CustomerAssetSetOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new customer asset - // set. - google.ads.googleads.v13.resources.CustomerAssetSet create = 1; - - // Remove operation: A resource name for the removed customer asset set is - // expected, in this format: - // `customers/{customer_id}/customerAssetSets/{asset_set_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerAssetSet" - }]; - } -} - -// Response message for a customer asset set mutate. -message MutateCustomerAssetSetsResponse { - // All results for the mutate. - repeated MutateCustomerAssetSetResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (e.g. auth errors), - // we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the customer asset set mutate. -message MutateCustomerAssetSetResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerAssetSet" - }]; - - // The mutated customer asset set with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.CustomerAssetSet customer_asset_set = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/customer_client_link_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/customer_client_link_service.proto deleted file mode 100644 index 30506df38..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/customer_client_link_service.proto +++ /dev/null @@ -1,107 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/customer_client_link.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerClientLinkServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Service to manage customer client links. -service CustomerClientLinkService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates or updates a customer client link. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [InternalError]() - // [ManagerLinkError]() - // [MutateError]() - // [NewResourceCreationError]() - // [QuotaError]() - // [RequestError]() - rpc MutateCustomerClientLink(MutateCustomerClientLinkRequest) - returns (MutateCustomerClientLinkResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/customerClientLinks:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operation"; - } -} - -// Request message for -// [CustomerClientLinkService.MutateCustomerClientLink][google.ads.googleads.v13.services.CustomerClientLinkService.MutateCustomerClientLink]. -message MutateCustomerClientLinkRequest { - // Required. The ID of the customer whose customer link are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The operation to perform on the individual CustomerClientLink. - CustomerClientLinkOperation operation = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; -} - -// A single operation (create, update) on a CustomerClientLink. -message CustomerClientLinkOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new link. - google.ads.googleads.v13.resources.CustomerClientLink create = 1; - - // Update operation: The link is expected to have a valid resource name. - google.ads.googleads.v13.resources.CustomerClientLink update = 2; - } -} - -// Response message for a CustomerClientLink mutate. -message MutateCustomerClientLinkResponse { - // A result that identifies the resource affected by the mutate request. - MutateCustomerClientLinkResult result = 1; -} - -// The result for a single customer client link mutate. -message MutateCustomerClientLinkResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerClientLink" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/customer_conversion_goal_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/customer_conversion_goal_service.proto deleted file mode 100644 index f285bf17c..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/customer_conversion_goal_service.proto +++ /dev/null @@ -1,96 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/customer_conversion_goal.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerConversionGoalServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the CustomerConversionGoal service. - -// Service to manage customer conversion goal. -service CustomerConversionGoalService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes customer conversion goals. Operation statuses - // are returned. - rpc MutateCustomerConversionGoals(MutateCustomerConversionGoalsRequest) - returns (MutateCustomerConversionGoalsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/customerConversionGoals:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [CustomerConversionGoalService.MutateCustomerConversionGoals][google.ads.googleads.v13.services.CustomerConversionGoalService.MutateCustomerConversionGoals]. -message MutateCustomerConversionGoalsRequest { - // Required. The ID of the customer whose customer conversion goals are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual customer - // conversion goal. - repeated CustomerConversionGoalOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; -} - -// A single operation (update) on a customer conversion goal. -message CustomerConversionGoalOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 2; - - // The mutate operation. - oneof operation { - // Update operation: The customer conversion goal is expected to have a - // valid resource name. - google.ads.googleads.v13.resources.CustomerConversionGoal update = 1; - } -} - -// Response message for a customer conversion goal mutate. -message MutateCustomerConversionGoalsResponse { - // All results for the mutate. - repeated MutateCustomerConversionGoalResult results = 1; -} - -// The result for the customer conversion goal mutate. -message MutateCustomerConversionGoalResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerConversionGoal" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/customer_customizer_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/customer_customizer_service.proto deleted file mode 100644 index 67c2ae0cc..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/customer_customizer_service.proto +++ /dev/null @@ -1,123 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/customer_customizer.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerCustomizerServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the CustomerCustomizer service. - -// Service to manage customer customizer -service CustomerCustomizerService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes customer customizers. Operation statuses are - // returned. - rpc MutateCustomerCustomizers(MutateCustomerCustomizersRequest) - returns (MutateCustomerCustomizersResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/CustomerCustomizers:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [CustomerCustomizerService.MutateCustomerCustomizers][google.ads.googleads.v13.services.CustomerCustomizerService.MutateCustomerCustomizers]. -message MutateCustomerCustomizersRequest { - // Required. The ID of the customer whose customer customizers are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual customer - // customizers. - repeated CustomerCustomizerOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation (create, remove) on a customizer attribute. -message CustomerCustomizerOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new customer - // customizer - google.ads.googleads.v13.resources.CustomerCustomizer create = 1; - - // Remove operation: A resource name for the removed customer customizer is - // expected, in this format: - // `customers/{customer_id}/customerCustomizers/{customizer_attribute_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerCustomizer" - }]; - } -} - -// Response message for a customizer attribute mutate. -message MutateCustomerCustomizersResponse { - // All results for the mutate. - repeated MutateCustomerCustomizerResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the customizer attribute mutate. -message MutateCustomerCustomizerResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerCustomizer" - }]; - - // The mutated CustomerCustomizer with only mutable fields after mutate. - // The field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.CustomerCustomizer customer_customizer = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/customer_extension_setting_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/customer_extension_setting_service.proto deleted file mode 100644 index 286953c4c..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/customer_extension_setting_service.proto +++ /dev/null @@ -1,160 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/customer_extension_setting.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerExtensionSettingServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the CustomerExtensionSetting service. - -// Service to manage customer extension settings. -service CustomerExtensionSettingService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes customer extension settings. Operation - // statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [CriterionError]() - // [DatabaseError]() - // [DateError]() - // [DistinctError]() - // [ExtensionSettingError]() - // [FieldError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [ListOperationError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [NullError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - // [UrlFieldError]() - rpc MutateCustomerExtensionSettings(MutateCustomerExtensionSettingsRequest) - returns (MutateCustomerExtensionSettingsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/customerExtensionSettings:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [CustomerExtensionSettingService.MutateCustomerExtensionSettings][google.ads.googleads.v13.services.CustomerExtensionSettingService.MutateCustomerExtensionSettings]. -message MutateCustomerExtensionSettingsRequest { - // Required. The ID of the customer whose customer extension settings are - // being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual customer - // extension settings. - repeated CustomerExtensionSettingOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation (create, update, remove) on a customer extension setting. -message CustomerExtensionSettingOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new customer - // extension setting. - google.ads.googleads.v13.resources.CustomerExtensionSetting create = 1; - - // Update operation: The customer extension setting is expected to have a - // valid resource name. - google.ads.googleads.v13.resources.CustomerExtensionSetting update = 2; - - // Remove operation: A resource name for the removed customer extension - // setting is expected, in this format: - // - // `customers/{customer_id}/customerExtensionSettings/{extension_type}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerExtensionSetting" - }]; - } -} - -// Response message for a customer extension setting mutate. -message MutateCustomerExtensionSettingsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateCustomerExtensionSettingResult results = 2; -} - -// The result for the customer extension setting mutate. -message MutateCustomerExtensionSettingResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerExtensionSetting" - }]; - - // The mutated CustomerExtensionSetting with only mutable fields after mutate. - // The field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.CustomerExtensionSetting - customer_extension_setting = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/customer_feed_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/customer_feed_service.proto deleted file mode 100644 index bffafd943..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/customer_feed_service.proto +++ /dev/null @@ -1,153 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/customer_feed.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerFeedServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the CustomerFeed service. - -// Service to manage customer feeds. -service CustomerFeedService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes customer feeds. Operation statuses are - // returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [CustomerFeedError]() - // [DatabaseError]() - // [DistinctError]() - // [FieldError]() - // [FieldMaskError]() - // [FunctionError]() - // [FunctionParsingError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [MutateError]() - // [NotEmptyError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - rpc MutateCustomerFeeds(MutateCustomerFeedsRequest) - returns (MutateCustomerFeedsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/customerFeeds:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [CustomerFeedService.MutateCustomerFeeds][google.ads.googleads.v13.services.CustomerFeedService.MutateCustomerFeeds]. -message MutateCustomerFeedsRequest { - // Required. The ID of the customer whose customer feeds are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual customer feeds. - repeated CustomerFeedOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation (create, update, remove) on a customer feed. -message CustomerFeedOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new customer feed. - google.ads.googleads.v13.resources.CustomerFeed create = 1; - - // Update operation: The customer feed is expected to have a valid resource - // name. - google.ads.googleads.v13.resources.CustomerFeed update = 2; - - // Remove operation: A resource name for the removed customer feed is - // expected, in this format: - // - // `customers/{customer_id}/customerFeeds/{feed_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerFeed" - }]; - } -} - -// Response message for a customer feed mutate. -message MutateCustomerFeedsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateCustomerFeedResult results = 2; -} - -// The result for the customer feed mutate. -message MutateCustomerFeedResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerFeed" - }]; - - // The mutated customer feed with only mutable fields after mutate. The field - // will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.CustomerFeed customer_feed = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/customer_label_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/customer_label_service.proto deleted file mode 100644 index 3ce5bd1e8..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/customer_label_service.proto +++ /dev/null @@ -1,124 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/customer_label.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerLabelServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the Customer Label service. - -// Service to manage labels on customers. -service CustomerLabelService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates and removes customer-label relationships. - // Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [HeaderError]() - // [InternalError]() - // [LabelError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - rpc MutateCustomerLabels(MutateCustomerLabelsRequest) - returns (MutateCustomerLabelsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/customerLabels:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [CustomerLabelService.MutateCustomerLabels][google.ads.googleads.v13.services.CustomerLabelService.MutateCustomerLabels]. -message MutateCustomerLabelsRequest { - // Required. ID of the customer whose customer-label relationships are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on customer-label - // relationships. - repeated CustomerLabelOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, remove) on a customer-label relationship. -message CustomerLabelOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new customer-label - // relationship. - google.ads.googleads.v13.resources.CustomerLabel create = 1; - - // Remove operation: A resource name for the customer-label relationship - // being removed, in this format: - // - // `customers/{customer_id}/customerLabels/{label_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerLabel" - }]; - } -} - -// Response message for a customer labels mutate. -message MutateCustomerLabelsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateCustomerLabelResult results = 2; -} - -// The result for a customer label mutate. -message MutateCustomerLabelResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerLabel" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/customer_manager_link_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/customer_manager_link_service.proto deleted file mode 100644 index 57599eb58..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/customer_manager_link_service.proto +++ /dev/null @@ -1,167 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/customer_manager_link.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerManagerLinkServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Service to manage customer-manager links. -service CustomerManagerLinkService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Updates customer manager links. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [InternalError]() - // [ManagerLinkError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - rpc MutateCustomerManagerLink(MutateCustomerManagerLinkRequest) - returns (MutateCustomerManagerLinkResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/customerManagerLinks:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } - - // Moves a client customer to a new manager customer. - // This simplifies the complex request that requires two operations to move - // a client customer to a new manager, for example: - // 1. Update operation with Status INACTIVE (previous manager) and, - // 2. Update operation with Status ACTIVE (new manager). - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - rpc MoveManagerLink(MoveManagerLinkRequest) - returns (MoveManagerLinkResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/customerManagerLinks:moveManagerLink" - body: "*" - }; - option (google.api.method_signature) = - "customer_id,previous_customer_manager_link,new_manager"; - } -} - -// Request message for -// [CustomerManagerLinkService.MutateCustomerManagerLink][google.ads.googleads.v13.services.CustomerManagerLinkService.MutateCustomerManagerLink]. -message MutateCustomerManagerLinkRequest { - // Required. The ID of the customer whose customer manager links are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual customer manager - // links. - repeated CustomerManagerLinkOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; -} - -// Request message for -// [CustomerManagerLinkService.MoveManagerLink][google.ads.googleads.v13.services.CustomerManagerLinkService.MoveManagerLink]. -message MoveManagerLinkRequest { - // Required. The ID of the client customer that is being moved. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The resource name of the previous CustomerManagerLink. - // The resource name has the form: - // `customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}` - string previous_customer_manager_link = 2 - [(google.api.field_behavior) = REQUIRED]; - - // Required. The resource name of the new manager customer that the client - // wants to move to. Customer resource names have the format: - // "customers/{customer_id}" - string new_manager = 3 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// Updates the status of a CustomerManagerLink. -// The following actions are possible: -// 1. Update operation with status ACTIVE accepts a pending invitation. -// 2. Update operation with status REFUSED declines a pending invitation. -// 3. Update operation with status INACTIVE terminates link to manager. -message CustomerManagerLinkOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Update operation: The link is expected to have a valid resource name. - google.ads.googleads.v13.resources.CustomerManagerLink update = 2; - } -} - -// Response message for a CustomerManagerLink mutate. -message MutateCustomerManagerLinkResponse { - // A result that identifies the resource affected by the mutate request. - repeated MutateCustomerManagerLinkResult results = 1; -} - -// Response message for a CustomerManagerLink moveManagerLink. -message MoveManagerLinkResponse { - // Returned for successful operations. Represents a CustomerManagerLink - // resource of the newly created link between client customer and new manager - // customer. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerManagerLink" - }]; -} - -// The result for the customer manager link mutate. -message MutateCustomerManagerLinkResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerManagerLink" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/customer_negative_criterion_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/customer_negative_criterion_service.proto deleted file mode 100644 index 7ad929fa9..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/customer_negative_criterion_service.proto +++ /dev/null @@ -1,132 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/customer_negative_criterion.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerNegativeCriterionServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the Customer Negative Criterion service. - -// Service to manage customer negative criteria. -service CustomerNegativeCriterionService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates or removes criteria. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CriterionError]() - // [DatabaseError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - rpc MutateCustomerNegativeCriteria(MutateCustomerNegativeCriteriaRequest) - returns (MutateCustomerNegativeCriteriaResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/customerNegativeCriteria:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [CustomerNegativeCriterionService.MutateCustomerNegativeCriteria][google.ads.googleads.v13.services.CustomerNegativeCriterionService.MutateCustomerNegativeCriteria]. -message MutateCustomerNegativeCriteriaRequest { - // Required. The ID of the customer whose criteria are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual criteria. - repeated CustomerNegativeCriterionOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation (create or remove) on a customer level negative criterion. -message CustomerNegativeCriterionOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new criterion. - google.ads.googleads.v13.resources.CustomerNegativeCriterion create = 1; - - // Remove operation: A resource name for the removed criterion is expected, - // in this format: - // - // `customers/{customer_id}/customerNegativeCriteria/{criterion_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerNegativeCriterion" - }]; - } -} - -// Response message for customer negative criterion mutate. -message MutateCustomerNegativeCriteriaResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateCustomerNegativeCriteriaResult results = 2; -} - -// The result for the criterion mutate. -message MutateCustomerNegativeCriteriaResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerNegativeCriterion" - }]; - - // The mutated criterion with only mutable fields after mutate. The field will - // only be returned when response_content_type is set to "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.CustomerNegativeCriterion - customer_negative_criterion = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/customer_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/customer_service.proto deleted file mode 100644 index 04bad9d5e..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/customer_service.proto +++ /dev/null @@ -1,199 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/access_role.proto"; -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/customer.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the Customer service. - -// Service to manage customers. -service CustomerService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Updates a customer. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldMaskError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - // [UrlFieldError]() - rpc MutateCustomer(MutateCustomerRequest) returns (MutateCustomerResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operation"; - } - - // Returns resource names of customers directly accessible by the - // user authenticating the call. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc ListAccessibleCustomers(ListAccessibleCustomersRequest) - returns (ListAccessibleCustomersResponse) { - option (google.api.http) = { - get: "/v13/customers:listAccessibleCustomers" - }; - } - - // Creates a new client under manager. The new client customer is returned. - // - // List of thrown errors: - // [AccessInvitationError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [CurrencyCodeError]() - // [HeaderError]() - // [InternalError]() - // [ManagerLinkError]() - // [QuotaError]() - // [RequestError]() - // [StringLengthError]() - // [TimeZoneError]() - rpc CreateCustomerClient(CreateCustomerClientRequest) - returns (CreateCustomerClientResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}:createCustomerClient" - body: "*" - }; - option (google.api.method_signature) = "customer_id,customer_client"; - } -} - -// Request message for -// [CustomerService.MutateCustomer][google.ads.googleads.v13.services.CustomerService.MutateCustomer]. -message MutateCustomerRequest { - // Required. The ID of the customer being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The operation to perform on the customer - CustomerOperation operation = 4 [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 5; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 6; -} - -// Request message for -// [CustomerService.CreateCustomerClient][google.ads.googleads.v13.services.CustomerService.CreateCustomerClient]. -message CreateCustomerClientRequest { - // Required. The ID of the Manager under whom client customer is being - // created. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The new client customer to create. The resource name on this - // customer will be ignored. - google.ads.googleads.v13.resources.Customer customer_client = 2 - [(google.api.field_behavior) = REQUIRED]; - - // Email address of the user who should be invited on the created client - // customer. Accessible only to customers on the allow-list. - optional string email_address = 5; - - // The proposed role of user on the created client customer. - // Accessible only to customers on the allow-list. - google.ads.googleads.v13.enums.AccessRoleEnum.AccessRole access_role = 4; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 6; -} - -// A single update on a customer. -message CustomerOperation { - // Mutate operation. Only updates are supported for customer. - google.ads.googleads.v13.resources.Customer update = 1; - - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 2; -} - -// Response message for CreateCustomerClient mutate. -message CreateCustomerClientResponse { - // The resource name of the newly created customer. Customer resource names - // have the form: `customers/{customer_id}`. - string resource_name = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Customer" - }]; - - // Link for inviting user to access the created customer. Accessible to - // allowlisted customers only. - string invitation_link = 3; -} - -// Response message for customer mutate. -message MutateCustomerResponse { - // Result for the mutate. - MutateCustomerResult result = 2; -} - -// The result for the customer mutate. -message MutateCustomerResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Customer" - }]; - - // The mutated customer with only mutable fields after mutate. The fields will - // only be returned when response_content_type is set to "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.Customer customer = 2; -} - -// Request message for -// [CustomerService.ListAccessibleCustomers][google.ads.googleads.v13.services.CustomerService.ListAccessibleCustomers]. -message ListAccessibleCustomersRequest {} - -// Response message for -// [CustomerService.ListAccessibleCustomers][google.ads.googleads.v13.services.CustomerService.ListAccessibleCustomers]. -message ListAccessibleCustomersResponse { - // Resource name of customers directly accessible by the - // user authenticating the call. - repeated string resource_names = 1; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/customer_user_access_invitation_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/customer_user_access_invitation_service.proto deleted file mode 100644 index f25eed12b..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/customer_user_access_invitation_service.proto +++ /dev/null @@ -1,104 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/customer_user_access_invitation.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerUserAccessInvitationServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the CustomerUserAccessInvitation service. - -// This service manages the access invitation extended to users for a given -// customer. -service CustomerUserAccessInvitationService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates or removes an access invitation. - // - // List of thrown errors: - // [AccessInvitationError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc MutateCustomerUserAccessInvitation( - MutateCustomerUserAccessInvitationRequest) - returns (MutateCustomerUserAccessInvitationResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/customerUserAccessInvitations:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operation"; - } -} - -// Request message for -// [CustomerUserAccessInvitation.MutateCustomerUserAccessInvitation][] -message MutateCustomerUserAccessInvitationRequest { - // Required. The ID of the customer whose access invitation is being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The operation to perform on the access invitation - CustomerUserAccessInvitationOperation operation = 2 - [(google.api.field_behavior) = REQUIRED]; -} - -// A single operation (create or remove) on customer user access invitation. -message CustomerUserAccessInvitationOperation { - // The mutate operation - oneof operation { - // Create operation: No resource name is expected for the new access - // invitation. - google.ads.googleads.v13.resources.CustomerUserAccessInvitation create = 1; - - // Remove operation: A resource name for the revoke invitation is - // expected, in this format: - // - // `customers/{customer_id}/customerUserAccessInvitations/{invitation_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerUserAccessInvitation" - }]; - } -} - -// Response message for access invitation mutate. -message MutateCustomerUserAccessInvitationResponse { - // Result for the mutate. - MutateCustomerUserAccessInvitationResult result = 1; -} - -// The result for the access invitation mutate. -message MutateCustomerUserAccessInvitationResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerUserAccessInvitation" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/customer_user_access_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/customer_user_access_service.proto deleted file mode 100644 index 8daf33b1b..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/customer_user_access_service.proto +++ /dev/null @@ -1,107 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/customer_user_access.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerUserAccessServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// This service manages the permissions of a user on a given customer. -service CustomerUserAccessService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Updates, removes permission of a user on a given customer. Operation - // statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CustomerUserAccessError]() - // [FieldMaskError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - rpc MutateCustomerUserAccess(MutateCustomerUserAccessRequest) - returns (MutateCustomerUserAccessResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/customerUserAccesses:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operation"; - } -} - -// Mutate Request for -// [CustomerUserAccessService.MutateCustomerUserAccess][google.ads.googleads.v13.services.CustomerUserAccessService.MutateCustomerUserAccess]. -message MutateCustomerUserAccessRequest { - // Required. The ID of the customer being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The operation to perform on the customer - CustomerUserAccessOperation operation = 2 - [(google.api.field_behavior) = REQUIRED]; -} - -// A single operation (update, remove) on customer user access. -message CustomerUserAccessOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 3; - - // The mutate operation. - oneof operation { - // Update operation: The customer user access is expected to have a valid - // resource name. - google.ads.googleads.v13.resources.CustomerUserAccess update = 1; - - // Remove operation: A resource name for the removed access is - // expected, in this format: - // - // `customers/{customer_id}/customerUserAccesses/{CustomerUserAccess.user_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerUserAccess" - }]; - } -} - -// Response message for customer user access mutate. -message MutateCustomerUserAccessResponse { - // Result for the mutate. - MutateCustomerUserAccessResult result = 1; -} - -// The result for the customer user access mutate. -message MutateCustomerUserAccessResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomerUserAccess" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/customizer_attribute_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/customizer_attribute_service.proto deleted file mode 100644 index d8c61ce45..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/customizer_attribute_service.proto +++ /dev/null @@ -1,128 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/customizer_attribute.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomizerAttributeServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the CustomizerAttribute service. - -// Service to manage customizer attribute -service CustomizerAttributeService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes customizer attributes. Operation statuses are - // returned. - rpc MutateCustomizerAttributes(MutateCustomizerAttributesRequest) - returns (MutateCustomizerAttributesResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/customizerAttributes:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [CustomizerAttributeService.MutateCustomizerAttributes][google.ads.googleads.v13.services.CustomizerAttributeService.MutateCustomizerAttributes]. -message MutateCustomizerAttributesRequest { - // Required. The ID of the customer whose customizer attributes are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual customizer - // attributes. - repeated CustomizerAttributeOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation (create, remove) on a customizer attribute. -message CustomizerAttributeOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new customizer - // attribute - google.ads.googleads.v13.resources.CustomizerAttribute create = 1; - - // Remove operation: A resource name for the removed customizer attribute is - // expected, in this format: - // `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomizerAttribute" - }]; - } -} - -// Response message for a customizer attribute mutate. -message MutateCustomizerAttributesResponse { - // All results for the mutate. - repeated MutateCustomizerAttributeResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the customizer attribute mutate. -message MutateCustomizerAttributeResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/CustomizerAttribute" - }]; - - // The mutated CustomizerAttribute with only mutable fields after mutate. - // The field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.CustomizerAttribute customizer_attribute = - 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/experiment_arm_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/experiment_arm_service.proto deleted file mode 100644 index 61906d576..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/experiment_arm_service.proto +++ /dev/null @@ -1,138 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/experiment_arm.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ExperimentArmServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the Experiment Arm service. - -// Service to manage experiment arms. -service ExperimentArmService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes experiment arms. Operation statuses are - // returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [ExperimentArmError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc MutateExperimentArms(MutateExperimentArmsRequest) - returns (MutateExperimentArmsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/experimentArms:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [ExperimentArmService.MutateExperimentArms][google.ads.googleads.v13.services.ExperimentArmService.MutateExperimentArms]. -message MutateExperimentArmsRequest { - // Required. The ID of the customer whose experiments are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual experiment arm. - repeated ExperimentArmOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation on an experiment arm. -message ExperimentArmOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation - google.ads.googleads.v13.resources.ExperimentArm create = 1; - - // Update operation: The experiment arm is expected to have a valid - // resource name. - google.ads.googleads.v13.resources.ExperimentArm update = 2; - - // Remove operation: The experiment arm is expected to have a valid - // resource name, in this format: - // - // `customers/{customer_id}/experiments/{campaign_experiment_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ExperimentArm" - }]; - } -} - -// Response message for experiment arm mutate. -message MutateExperimentArmsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 1; - - // All results for the mutate. - repeated MutateExperimentArmResult results = 2; -} - -// The result for the experiment arm mutate. -message MutateExperimentArmResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ExperimentArm" - }]; - - // The mutated experiment arm with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.ExperimentArm experiment_arm = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/experiment_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/experiment_service.proto deleted file mode 100644 index 992a9b96f..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/experiment_service.proto +++ /dev/null @@ -1,404 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/experiment.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/longrunning/operations.proto"; -import "google/protobuf/empty.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ExperimentServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the Experiment service. - -// Service to manage experiments. -service ExperimentService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes experiments. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [ExperimentError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc MutateExperiments(MutateExperimentsRequest) - returns (MutateExperimentsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/experiments:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } - - // Immediately ends an experiment, changing the experiment's scheduled - // end date and without waiting for end of day. End date is updated to be the - // time of the request. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [ExperimentError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc EndExperiment(EndExperimentRequest) returns (google.protobuf.Empty) { - option (google.api.http) = { - post: "/v13/{experiment=customers/*/experiments/*}:endExperiment" - body: "*" - }; - option (google.api.method_signature) = "experiment"; - } - - // Returns all errors that occurred during the last Experiment update (either - // scheduling or promotion). - // Supports standard list paging. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc ListExperimentAsyncErrors(ListExperimentAsyncErrorsRequest) - returns (ListExperimentAsyncErrorsResponse) { - option (google.api.http) = { - get: "/v13/{resource_name=customers/*/experiments/*}:listExperimentAsyncErrors" - }; - option (google.api.method_signature) = "resource_name"; - } - - // Graduates an experiment to a full campaign. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [ExperimentError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - rpc GraduateExperiment(GraduateExperimentRequest) - returns (google.protobuf.Empty) { - option (google.api.http) = { - post: "/v13/{experiment=customers/*/experiments/*}:graduateExperiment" - body: "*" - }; - option (google.api.method_signature) = - "experiment,campaign_budget_mappings"; - } - - // Schedule an experiment. The in design campaign - // will be converted into a real campaign (called the experiment campaign) - // that will begin serving ads if successfully created. - // - // The experiment is scheduled immediately with status INITIALIZING. - // This method returns a long running operation that tracks the forking of the - // in design campaign. If the forking fails, a list of errors can be retrieved - // using the ListExperimentAsyncErrors method. The operation's - // metadata will be a string containing the resource name of the created - // experiment. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [ExperimentError]() - // [DatabaseError]() - // [DateError]() - // [DateRangeError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - rpc ScheduleExperiment(ScheduleExperimentRequest) - returns (google.longrunning.Operation) { - option (google.api.http) = { - post: "/v13/{resource_name=customers/*/experiments/*}:scheduleExperiment" - body: "*" - }; - option (google.api.method_signature) = "resource_name"; - option (google.longrunning.operation_info) = { - response_type: "google.protobuf.Empty" - metadata_type: "google.ads.googleads.v13.services.ScheduleExperimentMetadata" - }; - } - - // Promotes the trial campaign thus applying changes in the trial campaign - // to the base campaign. - // This method returns a long running operation that tracks the promotion of - // the experiment campaign. If it fails, a list of errors can be retrieved - // using the ListExperimentAsyncErrors method. The operation's - // metadata will be a string containing the resource name of the created - // experiment. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [ExperimentError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc PromoteExperiment(PromoteExperimentRequest) - returns (google.longrunning.Operation) { - option (google.api.http) = { - post: "/v13/{resource_name=customers/*/experiments/*}:promoteExperiment" - body: "*" - }; - option (google.api.method_signature) = "resource_name"; - option (google.longrunning.operation_info) = { - response_type: "google.protobuf.Empty" - metadata_type: "google.ads.googleads.v13.services.PromoteExperimentMetadata" - }; - } -} - -// Request message for -// [ExperimentService.MutateExperiments][google.ads.googleads.v13.services.ExperimentService.MutateExperiments]. -message MutateExperimentsRequest { - // Required. The ID of the customer whose experiments are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual experiments. - repeated ExperimentOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation on an experiment. -message ExperimentOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation - google.ads.googleads.v13.resources.Experiment create = 1; - - // Update operation: The experiment is expected to have a valid - // resource name. - google.ads.googleads.v13.resources.Experiment update = 2; - - // Remove operation: The experiment is expected to have a valid - // resource name, in this format: - // - // `customers/{customer_id}/experiments/{campaign_experiment_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Experiment" - }]; - } -} - -// Response message for experiment mutate. -message MutateExperimentsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 1; - - // All results for the mutate. - repeated MutateExperimentResult results = 2; -} - -// The result for the campaign experiment mutate. -message MutateExperimentResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Experiment" - }]; -} - -// Request message for -// [ExperimentService.EndExperiment][google.ads.googleads.v13.services.ExperimentService.EndExperiment]. -message EndExperimentRequest { - // Required. The resource name of the campaign experiment to end. - string experiment = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Experiment" - } - ]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 2; -} - -// Request message for -// [ExperimentService.ListExperimentAsyncErrors][google.ads.googleads.v13.services.ExperimentService.ListExperimentAsyncErrors]. -message ListExperimentAsyncErrorsRequest { - // Required. The name of the experiment from which to retrieve the async - // errors. - string resource_name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Experiment" - } - ]; - - // Token of the page to retrieve. If not specified, the first - // page of results will be returned. Use the value obtained from - // `next_page_token` in the previous response in order to request - // the next page of results. - string page_token = 2; - - // Number of elements to retrieve in a single page. - // When a page request is too large, the server may decide to - // further limit the number of returned resources. - // The maximum page size is 1000. - int32 page_size = 3; -} - -// Response message for -// [ExperimentService.ListExperimentAsyncErrors][google.ads.googleads.v13.services.ExperimentService.ListExperimentAsyncErrors]. -message ListExperimentAsyncErrorsResponse { - // details of the errors when performing the asynchronous operation. - repeated google.rpc.Status errors = 1; - - // Pagination token used to retrieve the next page of results. - // Pass the content of this string as the `page_token` attribute of - // the next request. `next_page_token` is not returned for the last - // page. - string next_page_token = 2; -} - -// Request message for -// [ExperimentService.GraduateExperiment][google.ads.googleads.v13.services.ExperimentService.GraduateExperiment]. -message GraduateExperimentRequest { - // Required. The experiment to be graduated. - string experiment = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Experiment" - } - ]; - - // Required. List of campaign budget mappings for graduation. Each campaign - // that appears here will graduate, and will be assigned a new budget that is - // paired with it in the mapping. The maximum size is one. - repeated CampaignBudgetMapping campaign_budget_mappings = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; -} - -// The mapping of experiment campaign and budget to be graduated. -message CampaignBudgetMapping { - // Required. The experiment campaign to graduate. - string experiment_campaign = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Required. The budget that should be attached to the graduating experiment - // campaign. - string campaign_budget = 2 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/CampaignBudget" - } - ]; -} - -// Request message for -// [ExperimentService.ScheduleExperiment][google.ads.googleads.v13.services.ExperimentService.ScheduleExperiment]. -message ScheduleExperimentRequest { - // Required. The scheduled experiment. - string resource_name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Experiment" - } - ]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 2; -} - -// The metadata of the scheduled experiment. -message ScheduleExperimentMetadata { - // Required. The scheduled experiment. - string experiment = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Experiment" - } - ]; -} - -// Request message for -// [ExperimentService.PromoteExperiment][google.ads.googleads.v13.services.ExperimentService.PromoteExperiment]. -message PromoteExperimentRequest { - // Required. The resource name of the experiment to promote. - string resource_name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Experiment" - } - ]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 2; -} - -// The metadata of the promoted experiment. -message PromoteExperimentMetadata { - // Required. The promoted experiment. - string experiment = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Experiment" - } - ]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/extension_feed_item_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/extension_feed_item_service.proto deleted file mode 100644 index 2bf38e549..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/extension_feed_item_service.proto +++ /dev/null @@ -1,157 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/extension_feed_item.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ExtensionFeedItemServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the ExtensionFeedItem service. - -// Service to manage extension feed items. -service ExtensionFeedItemService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes extension feed items. Operation - // statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [CountryCodeError]() - // [DatabaseError]() - // [DateError]() - // [DistinctError]() - // [ExtensionFeedItemError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [ImageError]() - // [InternalError]() - // [LanguageCodeError]() - // [MutateError]() - // [NewResourceCreationError]() - // [OperationAccessDeniedError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [SizeLimitError]() - // [StringLengthError]() - // [UrlFieldError]() - rpc MutateExtensionFeedItems(MutateExtensionFeedItemsRequest) - returns (MutateExtensionFeedItemsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/extensionFeedItems:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [ExtensionFeedItemService.MutateExtensionFeedItems][google.ads.googleads.v13.services.ExtensionFeedItemService.MutateExtensionFeedItems]. -message MutateExtensionFeedItemsRequest { - // Required. The ID of the customer whose extension feed items are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual extension feed - // items. - repeated ExtensionFeedItemOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation (create, update, remove) on an extension feed item. -message ExtensionFeedItemOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new extension - // feed item. - google.ads.googleads.v13.resources.ExtensionFeedItem create = 1; - - // Update operation: The extension feed item is expected to have a - // valid resource name. - google.ads.googleads.v13.resources.ExtensionFeedItem update = 2; - - // Remove operation: A resource name for the removed extension feed item - // is expected, in this format: - // - // `customers/{customer_id}/extensionFeedItems/{feed_item_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ExtensionFeedItem" - }]; - } -} - -// Response message for an extension feed item mutate. -message MutateExtensionFeedItemsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateExtensionFeedItemResult results = 2; -} - -// The result for the extension feed item mutate. -message MutateExtensionFeedItemResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ExtensionFeedItem" - }]; - - // The mutated extension feed item with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.ExtensionFeedItem extension_feed_item = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/feed_item_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/feed_item_service.proto deleted file mode 100644 index 030b690ec..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/feed_item_service.proto +++ /dev/null @@ -1,155 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/feed_item.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the FeedItem service. - -// Service to manage feed items. -service FeedItemService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes feed items. Operation statuses are - // returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [CriterionError]() - // [DatabaseError]() - // [DateError]() - // [DistinctError]() - // [FeedItemError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [ListOperationError]() - // [MutateError]() - // [NotEmptyError]() - // [NullError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - // [UrlFieldError]() - rpc MutateFeedItems(MutateFeedItemsRequest) - returns (MutateFeedItemsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/feedItems:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [FeedItemService.MutateFeedItems][google.ads.googleads.v13.services.FeedItemService.MutateFeedItems]. -message MutateFeedItemsRequest { - // Required. The ID of the customer whose feed items are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual feed items. - repeated FeedItemOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation (create, update, remove) on an feed item. -message FeedItemOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new feed item. - google.ads.googleads.v13.resources.FeedItem create = 1; - - // Update operation: The feed item is expected to have a valid resource - // name. - google.ads.googleads.v13.resources.FeedItem update = 2; - - // Remove operation: A resource name for the removed feed item is - // expected, in this format: - // - // `customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItem" - }]; - } -} - -// Response message for an feed item mutate. -message MutateFeedItemsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateFeedItemResult results = 2; -} - -// The result for the feed item mutate. -message MutateFeedItemResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItem" - }]; - - // The mutated feed item with only mutable fields after mutate. The field will - // only be returned when response_content_type is set to "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.FeedItem feed_item = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/feed_item_set_link_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/feed_item_set_link_service.proto deleted file mode 100644 index a57084ea4..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/feed_item_set_link_service.proto +++ /dev/null @@ -1,120 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/feed_item_set_link.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemSetLinkServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the FeedItemSetLink service. - -// Service to manage feed item set links. -service FeedItemSetLinkService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes feed item set links. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc MutateFeedItemSetLinks(MutateFeedItemSetLinksRequest) - returns (MutateFeedItemSetLinksResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/feedItemSetLinks:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [FeedItemSetLinkService.MutateFeedItemSetLinks][google.ads.googleads.v13.services.FeedItemSetLinkService.MutateFeedItemSetLinks]. -message MutateFeedItemSetLinksRequest { - // Required. The ID of the customer whose feed item set links are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual feed item set - // links. - repeated FeedItemSetLinkOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, update, remove) on a feed item set link. -message FeedItemSetLinkOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the - // new feed item set link. - google.ads.googleads.v13.resources.FeedItemSetLink create = 1; - - // Remove operation: A resource name for the removed feed item set link is - // expected, in this format: - // - // `customers/{customer_id}/feedItemSetLinks/{feed_id}_{feed_item_set_id}_{feed_item_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItemSetLink" - }]; - } -} - -// Response message for a feed item set link mutate. -message MutateFeedItemSetLinksResponse { - // All results for the mutate. - repeated MutateFeedItemSetLinkResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the feed item set link mutate. -message MutateFeedItemSetLinkResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItemSetLink" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/feed_item_set_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/feed_item_set_service.proto deleted file mode 100644 index e1c3c2c3b..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/feed_item_set_service.proto +++ /dev/null @@ -1,126 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/feed_item_set.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemSetServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the FeedItemSet service. - -// Service to manage feed Item Set -service FeedItemSetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates or removes feed item sets. Operation statuses are - // returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - rpc MutateFeedItemSets(MutateFeedItemSetsRequest) - returns (MutateFeedItemSetsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/feedItemSets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [FeedItemSetService.MutateFeedItemSets][google.ads.googleads.v13.services.FeedItemSetService.MutateFeedItemSets]. -message MutateFeedItemSetsRequest { - // Required. The ID of the customer whose feed item sets are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual feed item sets. - repeated FeedItemSetOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, remove) on an feed item set. -message FeedItemSetOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new feed item set - google.ads.googleads.v13.resources.FeedItemSet create = 1; - - // Update operation: The feed item set is expected to have a valid resource - // name. - google.ads.googleads.v13.resources.FeedItemSet update = 2; - - // Remove operation: A resource name for the removed feed item is - // expected, in this format: - // `customers/{customer_id}/feedItems/{feed_id}~{feed_item_set_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItemSet" - }]; - } -} - -// Response message for an feed item set mutate. -message MutateFeedItemSetsResponse { - // All results for the mutate. - repeated MutateFeedItemSetResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result for the feed item set mutate. -message MutateFeedItemSetResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItemSet" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/feed_item_target_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/feed_item_target_service.proto deleted file mode 100644 index 8a1091d28..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/feed_item_target_service.proto +++ /dev/null @@ -1,144 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/feed_item_target.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemTargetServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the FeedItemTarget service. - -// Service to manage feed item targets. -service FeedItemTargetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates or removes feed item targets. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CriterionError]() - // [DatabaseError]() - // [DistinctError]() - // [FeedItemTargetError]() - // [FieldError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [MutateError]() - // [NotEmptyError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - rpc MutateFeedItemTargets(MutateFeedItemTargetsRequest) - returns (MutateFeedItemTargetsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/feedItemTargets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [FeedItemTargetService.MutateFeedItemTargets][google.ads.googleads.v13.services.FeedItemTargetService.MutateFeedItemTargets]. -message MutateFeedItemTargetsRequest { - // Required. The ID of the customer whose feed item targets are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual feed item - // targets. - repeated FeedItemTargetOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; -} - -// A single operation (create, remove) on an feed item target. -message FeedItemTargetOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new feed item - // target. - google.ads.googleads.v13.resources.FeedItemTarget create = 1; - - // Remove operation: A resource name for the removed feed item target is - // expected, in this format: - // - // `customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItemTarget" - }]; - } -} - -// Response message for an feed item target mutate. -message MutateFeedItemTargetsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateFeedItemTargetResult results = 2; -} - -// The result for the feed item target mutate. -message MutateFeedItemTargetResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedItemTarget" - }]; - - // The mutated feed item target with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.FeedItemTarget feed_item_target = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/feed_mapping_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/feed_mapping_service.proto deleted file mode 100644 index 06b4aaa2f..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/feed_mapping_service.proto +++ /dev/null @@ -1,142 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/feed_mapping.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "FeedMappingServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the FeedMapping service. - -// Service to manage feed mappings. -service FeedMappingService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates or removes feed mappings. Operation statuses are - // returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [DistinctError]() - // [FeedMappingError]() - // [FieldError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [MutateError]() - // [NotEmptyError]() - // [OperationAccessDeniedError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - rpc MutateFeedMappings(MutateFeedMappingsRequest) - returns (MutateFeedMappingsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/feedMappings:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [FeedMappingService.MutateFeedMappings][google.ads.googleads.v13.services.FeedMappingService.MutateFeedMappings]. -message MutateFeedMappingsRequest { - // Required. The ID of the customer whose feed mappings are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual feed mappings. - repeated FeedMappingOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation (create, remove) on a feed mapping. -message FeedMappingOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new feed mapping. - google.ads.googleads.v13.resources.FeedMapping create = 1; - - // Remove operation: A resource name for the removed feed mapping is - // expected, in this format: - // - // `customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedMapping" - }]; - } -} - -// Response message for a feed mapping mutate. -message MutateFeedMappingsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateFeedMappingResult results = 2; -} - -// The result for the feed mapping mutate. -message MutateFeedMappingResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/FeedMapping" - }]; - - // The mutated feed mapping with only mutable fields after mutate. The field - // will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.FeedMapping feed_mapping = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/feed_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/feed_service.proto deleted file mode 100644 index c6ec74896..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/feed_service.proto +++ /dev/null @@ -1,153 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/feed.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "FeedServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the Feed service. - -// Service to manage feeds. -service FeedService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes feeds. Operation statuses are - // returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [DatabaseError]() - // [DistinctError]() - // [FeedError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [ListOperationError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [NullError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - rpc MutateFeeds(MutateFeedsRequest) returns (MutateFeedsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/feeds:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [FeedService.MutateFeeds][google.ads.googleads.v13.services.FeedService.MutateFeeds]. -message MutateFeedsRequest { - // Required. The ID of the customer whose feeds are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual feeds. - repeated FeedOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation (create, update, remove) on an feed. -message FeedOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new feed. - google.ads.googleads.v13.resources.Feed create = 1; - - // Update operation: The feed is expected to have a valid resource - // name. - google.ads.googleads.v13.resources.Feed update = 2; - - // Remove operation: A resource name for the removed feed is - // expected, in this format: - // - // `customers/{customer_id}/feeds/{feed_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Feed" - }]; - } -} - -// Response message for an feed mutate. -message MutateFeedsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateFeedResult results = 2; -} - -// The result for the feed mutate. -message MutateFeedResult { - // Returned for successful operations. - string resource_name = 1 [ - (google.api.resource_reference) = { type: "googleads.googleapis.com/Feed" } - ]; - - // The mutated feed with only mutable fields after mutate. The field will only - // be returned when response_content_type is set to "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.Feed feed = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/geo_target_constant_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/geo_target_constant_service.proto deleted file mode 100644 index 2ed19973e..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/geo_target_constant_service.proto +++ /dev/null @@ -1,120 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/geo_target_constant.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "GeoTargetConstantServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the Geo target constant service. - -// Service to fetch geo target constants. -service GeoTargetConstantService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Returns GeoTargetConstant suggestions by location name or by resource name. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [GeoTargetConstantSuggestionError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc SuggestGeoTargetConstants(SuggestGeoTargetConstantsRequest) - returns (SuggestGeoTargetConstantsResponse) { - option (google.api.http) = { - post: "/v13/geoTargetConstants:suggest" - body: "*" - }; - } -} - -// Request message for -// [GeoTargetConstantService.SuggestGeoTargetConstants][google.ads.googleads.v13.services.GeoTargetConstantService.SuggestGeoTargetConstants]. -message SuggestGeoTargetConstantsRequest { - // A list of location names. - message LocationNames { - // A list of location names. - repeated string names = 2; - } - - // A list of geo target constant resource names. - message GeoTargets { - // A list of geo target constant resource names. - repeated string geo_target_constants = 2; - } - - // If possible, returned geo targets are translated using this locale. If not, - // en is used by default. This is also used as a hint for returned geo - // targets. - optional string locale = 6; - - // Returned geo targets are restricted to this country code. - optional string country_code = 7; - - // Required. A selector of geo target constants. - oneof query { - // The location names to search by. At most 25 names can be set. - LocationNames location_names = 1; - - // The geo target constant resource names to filter by. - GeoTargets geo_targets = 2; - } -} - -// Response message for -// [GeoTargetConstantService.SuggestGeoTargetConstants][google.ads.googleads.v13.services.GeoTargetConstantService.SuggestGeoTargetConstants]. -message SuggestGeoTargetConstantsResponse { - // Geo target constant suggestions. - repeated GeoTargetConstantSuggestion geo_target_constant_suggestions = 1; -} - -// A geo target constant suggestion. -message GeoTargetConstantSuggestion { - // The language this GeoTargetConstantSuggestion is currently translated to. - // It affects the name of geo target fields. For example, if locale=en, then - // name=Spain. If locale=es, then name=España. The default locale will be - // returned if no translation exists for the locale in the request. - optional string locale = 6; - - // Approximate user population that will be targeted, rounded to the - // nearest 100. - optional int64 reach = 7; - - // If the request searched by location name, this is the location name that - // matched the geo target. - optional string search_term = 8; - - // The GeoTargetConstant result. - google.ads.googleads.v13.resources.GeoTargetConstant geo_target_constant = 4; - - // The list of parents of the geo target constant. - repeated google.ads.googleads.v13.resources.GeoTargetConstant - geo_target_constant_parents = 5; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/google_ads_field_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/google_ads_field_service.proto deleted file mode 100644 index 6a889e95f..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/google_ads_field_service.proto +++ /dev/null @@ -1,120 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/google_ads_field.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "GoogleAdsFieldServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the GoogleAdsFieldService. - -// Service to fetch Google Ads API fields. -service GoogleAdsFieldService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Returns just the requested field. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc GetGoogleAdsField(GetGoogleAdsFieldRequest) - returns (google.ads.googleads.v13.resources.GoogleAdsField) { - option (google.api.http) = { - get: "/v13/{resource_name=googleAdsFields/*}" - }; - option (google.api.method_signature) = "resource_name"; - } - - // Returns all fields that match the search query. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QueryError]() - // [QuotaError]() - // [RequestError]() - rpc SearchGoogleAdsFields(SearchGoogleAdsFieldsRequest) - returns (SearchGoogleAdsFieldsResponse) { - option (google.api.http) = { - post: "/v13/googleAdsFields:search" - body: "*" - }; - option (google.api.method_signature) = "query"; - } -} - -// Request message for -// [GoogleAdsFieldService.GetGoogleAdsField][google.ads.googleads.v13.services.GoogleAdsFieldService.GetGoogleAdsField]. -message GetGoogleAdsFieldRequest { - // Required. The resource name of the field to get. - string resource_name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/GoogleAdsField" - } - ]; -} - -// Request message for -// [GoogleAdsFieldService.SearchGoogleAdsFields][google.ads.googleads.v13.services.GoogleAdsFieldService.SearchGoogleAdsFields]. -message SearchGoogleAdsFieldsRequest { - // Required. The query string. - string query = 1 [(google.api.field_behavior) = REQUIRED]; - - // Token of the page to retrieve. If not specified, the first page of - // results will be returned. Use the value obtained from `next_page_token` - // in the previous response in order to request the next page of results. - string page_token = 2; - - // Number of elements to retrieve in a single page. - // When too large a page is requested, the server may decide to further - // limit the number of returned resources. - int32 page_size = 3; -} - -// Response message for -// [GoogleAdsFieldService.SearchGoogleAdsFields][google.ads.googleads.v13.services.GoogleAdsFieldService.SearchGoogleAdsFields]. -message SearchGoogleAdsFieldsResponse { - // The list of fields that matched the query. - repeated google.ads.googleads.v13.resources.GoogleAdsField results = 1; - - // Pagination token used to retrieve the next page of results. Pass the - // content of this string as the `page_token` attribute of the next request. - // `next_page_token` is not returned for the last page. - string next_page_token = 2; - - // Total number of results that match the query ignoring the LIMIT clause. - int64 total_results_count = 3; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/google_ads_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/google_ads_service.proto deleted file mode 100644 index 51cd817e1..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/google_ads_service.proto +++ /dev/null @@ -1,1603 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/common/metrics.proto"; -import "google/ads/googleads/v13/common/segments.proto"; -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/enums/summary_row_setting.proto"; -import "google/ads/googleads/v13/resources/accessible_bidding_strategy.proto"; -import "google/ads/googleads/v13/resources/account_budget.proto"; -import "google/ads/googleads/v13/resources/account_budget_proposal.proto"; -import "google/ads/googleads/v13/resources/account_link.proto"; -import "google/ads/googleads/v13/resources/ad_group.proto"; -import "google/ads/googleads/v13/resources/ad_group_ad.proto"; -import "google/ads/googleads/v13/resources/ad_group_ad_asset_combination_view.proto"; -import "google/ads/googleads/v13/resources/ad_group_ad_asset_view.proto"; -import "google/ads/googleads/v13/resources/ad_group_ad_label.proto"; -import "google/ads/googleads/v13/resources/ad_group_asset.proto"; -import "google/ads/googleads/v13/resources/ad_group_asset_set.proto"; -import "google/ads/googleads/v13/resources/ad_group_audience_view.proto"; -import "google/ads/googleads/v13/resources/ad_group_bid_modifier.proto"; -import "google/ads/googleads/v13/resources/ad_group_criterion.proto"; -import "google/ads/googleads/v13/resources/ad_group_criterion_customizer.proto"; -import "google/ads/googleads/v13/resources/ad_group_criterion_label.proto"; -import "google/ads/googleads/v13/resources/ad_group_criterion_simulation.proto"; -import "google/ads/googleads/v13/resources/ad_group_customizer.proto"; -import "google/ads/googleads/v13/resources/ad_group_extension_setting.proto"; -import "google/ads/googleads/v13/resources/ad_group_feed.proto"; -import "google/ads/googleads/v13/resources/ad_group_label.proto"; -import "google/ads/googleads/v13/resources/ad_group_simulation.proto"; -import "google/ads/googleads/v13/resources/ad_parameter.proto"; -import "google/ads/googleads/v13/resources/ad_schedule_view.proto"; -import "google/ads/googleads/v13/resources/age_range_view.proto"; -import "google/ads/googleads/v13/resources/asset.proto"; -import "google/ads/googleads/v13/resources/asset_field_type_view.proto"; -import "google/ads/googleads/v13/resources/asset_group.proto"; -import "google/ads/googleads/v13/resources/asset_group_asset.proto"; -import "google/ads/googleads/v13/resources/asset_group_listing_group_filter.proto"; -import "google/ads/googleads/v13/resources/asset_group_product_group_view.proto"; -import "google/ads/googleads/v13/resources/asset_group_signal.proto"; -import "google/ads/googleads/v13/resources/asset_set.proto"; -import "google/ads/googleads/v13/resources/asset_set_asset.proto"; -import "google/ads/googleads/v13/resources/asset_set_type_view.proto"; -import "google/ads/googleads/v13/resources/audience.proto"; -import "google/ads/googleads/v13/resources/batch_job.proto"; -import "google/ads/googleads/v13/resources/bidding_data_exclusion.proto"; -import "google/ads/googleads/v13/resources/bidding_seasonality_adjustment.proto"; -import "google/ads/googleads/v13/resources/bidding_strategy.proto"; -import "google/ads/googleads/v13/resources/bidding_strategy_simulation.proto"; -import "google/ads/googleads/v13/resources/billing_setup.proto"; -import "google/ads/googleads/v13/resources/call_view.proto"; -import "google/ads/googleads/v13/resources/campaign.proto"; -import "google/ads/googleads/v13/resources/campaign_asset.proto"; -import "google/ads/googleads/v13/resources/campaign_asset_set.proto"; -import "google/ads/googleads/v13/resources/campaign_audience_view.proto"; -import "google/ads/googleads/v13/resources/campaign_bid_modifier.proto"; -import "google/ads/googleads/v13/resources/campaign_budget.proto"; -import "google/ads/googleads/v13/resources/campaign_conversion_goal.proto"; -import "google/ads/googleads/v13/resources/campaign_criterion.proto"; -import "google/ads/googleads/v13/resources/campaign_criterion_simulation.proto"; -import "google/ads/googleads/v13/resources/campaign_customizer.proto"; -import "google/ads/googleads/v13/resources/campaign_draft.proto"; -import "google/ads/googleads/v13/resources/campaign_extension_setting.proto"; -import "google/ads/googleads/v13/resources/campaign_feed.proto"; -import "google/ads/googleads/v13/resources/campaign_group.proto"; -import "google/ads/googleads/v13/resources/campaign_label.proto"; -import "google/ads/googleads/v13/resources/campaign_shared_set.proto"; -import "google/ads/googleads/v13/resources/campaign_simulation.proto"; -import "google/ads/googleads/v13/resources/carrier_constant.proto"; -import "google/ads/googleads/v13/resources/change_event.proto"; -import "google/ads/googleads/v13/resources/change_status.proto"; -import "google/ads/googleads/v13/resources/click_view.proto"; -import "google/ads/googleads/v13/resources/combined_audience.proto"; -import "google/ads/googleads/v13/resources/conversion_action.proto"; -import "google/ads/googleads/v13/resources/conversion_custom_variable.proto"; -import "google/ads/googleads/v13/resources/conversion_goal_campaign_config.proto"; -import "google/ads/googleads/v13/resources/conversion_value_rule.proto"; -import "google/ads/googleads/v13/resources/conversion_value_rule_set.proto"; -import "google/ads/googleads/v13/resources/currency_constant.proto"; -import "google/ads/googleads/v13/resources/custom_audience.proto"; -import "google/ads/googleads/v13/resources/custom_conversion_goal.proto"; -import "google/ads/googleads/v13/resources/custom_interest.proto"; -import "google/ads/googleads/v13/resources/customer.proto"; -import "google/ads/googleads/v13/resources/customer_asset.proto"; -import "google/ads/googleads/v13/resources/customer_asset_set.proto"; -import "google/ads/googleads/v13/resources/customer_client.proto"; -import "google/ads/googleads/v13/resources/customer_client_link.proto"; -import "google/ads/googleads/v13/resources/customer_conversion_goal.proto"; -import "google/ads/googleads/v13/resources/customer_customizer.proto"; -import "google/ads/googleads/v13/resources/customer_extension_setting.proto"; -import "google/ads/googleads/v13/resources/customer_feed.proto"; -import "google/ads/googleads/v13/resources/customer_label.proto"; -import "google/ads/googleads/v13/resources/customer_manager_link.proto"; -import "google/ads/googleads/v13/resources/customer_negative_criterion.proto"; -import "google/ads/googleads/v13/resources/customer_user_access.proto"; -import "google/ads/googleads/v13/resources/customer_user_access_invitation.proto"; -import "google/ads/googleads/v13/resources/customizer_attribute.proto"; -import "google/ads/googleads/v13/resources/detail_placement_view.proto"; -import "google/ads/googleads/v13/resources/detailed_demographic.proto"; -import "google/ads/googleads/v13/resources/display_keyword_view.proto"; -import "google/ads/googleads/v13/resources/distance_view.proto"; -import "google/ads/googleads/v13/resources/domain_category.proto"; -import "google/ads/googleads/v13/resources/dynamic_search_ads_search_term_view.proto"; -import "google/ads/googleads/v13/resources/expanded_landing_page_view.proto"; -import "google/ads/googleads/v13/resources/experiment.proto"; -import "google/ads/googleads/v13/resources/experiment_arm.proto"; -import "google/ads/googleads/v13/resources/extension_feed_item.proto"; -import "google/ads/googleads/v13/resources/feed.proto"; -import "google/ads/googleads/v13/resources/feed_item.proto"; -import "google/ads/googleads/v13/resources/feed_item_set.proto"; -import "google/ads/googleads/v13/resources/feed_item_set_link.proto"; -import "google/ads/googleads/v13/resources/feed_item_target.proto"; -import "google/ads/googleads/v13/resources/feed_mapping.proto"; -import "google/ads/googleads/v13/resources/feed_placeholder_view.proto"; -import "google/ads/googleads/v13/resources/gender_view.proto"; -import "google/ads/googleads/v13/resources/geo_target_constant.proto"; -import "google/ads/googleads/v13/resources/geographic_view.proto"; -import "google/ads/googleads/v13/resources/group_placement_view.proto"; -import "google/ads/googleads/v13/resources/hotel_group_view.proto"; -import "google/ads/googleads/v13/resources/hotel_performance_view.proto"; -import "google/ads/googleads/v13/resources/hotel_reconciliation.proto"; -import "google/ads/googleads/v13/resources/income_range_view.proto"; -import "google/ads/googleads/v13/resources/keyword_plan.proto"; -import "google/ads/googleads/v13/resources/keyword_plan_ad_group.proto"; -import "google/ads/googleads/v13/resources/keyword_plan_ad_group_keyword.proto"; -import "google/ads/googleads/v13/resources/keyword_plan_campaign.proto"; -import "google/ads/googleads/v13/resources/keyword_plan_campaign_keyword.proto"; -import "google/ads/googleads/v13/resources/keyword_theme_constant.proto"; -import "google/ads/googleads/v13/resources/keyword_view.proto"; -import "google/ads/googleads/v13/resources/label.proto"; -import "google/ads/googleads/v13/resources/landing_page_view.proto"; -import "google/ads/googleads/v13/resources/language_constant.proto"; -import "google/ads/googleads/v13/resources/lead_form_submission_data.proto"; -import "google/ads/googleads/v13/resources/life_event.proto"; -import "google/ads/googleads/v13/resources/location_view.proto"; -import "google/ads/googleads/v13/resources/managed_placement_view.proto"; -import "google/ads/googleads/v13/resources/media_file.proto"; -import "google/ads/googleads/v13/resources/mobile_app_category_constant.proto"; -import "google/ads/googleads/v13/resources/mobile_device_constant.proto"; -import "google/ads/googleads/v13/resources/offline_user_data_job.proto"; -import "google/ads/googleads/v13/resources/operating_system_version_constant.proto"; -import "google/ads/googleads/v13/resources/paid_organic_search_term_view.proto"; -import "google/ads/googleads/v13/resources/parental_status_view.proto"; -import "google/ads/googleads/v13/resources/per_store_view.proto"; -import "google/ads/googleads/v13/resources/product_bidding_category_constant.proto"; -import "google/ads/googleads/v13/resources/product_group_view.proto"; -import "google/ads/googleads/v13/resources/product_link.proto"; -import "google/ads/googleads/v13/resources/qualifying_question.proto"; -import "google/ads/googleads/v13/resources/recommendation.proto"; -import "google/ads/googleads/v13/resources/remarketing_action.proto"; -import "google/ads/googleads/v13/resources/search_term_view.proto"; -import "google/ads/googleads/v13/resources/shared_criterion.proto"; -import "google/ads/googleads/v13/resources/shared_set.proto"; -import "google/ads/googleads/v13/resources/shopping_performance_view.proto"; -import "google/ads/googleads/v13/resources/smart_campaign_search_term_view.proto"; -import "google/ads/googleads/v13/resources/smart_campaign_setting.proto"; -import "google/ads/googleads/v13/resources/third_party_app_analytics_link.proto"; -import "google/ads/googleads/v13/resources/topic_constant.proto"; -import "google/ads/googleads/v13/resources/topic_view.proto"; -import "google/ads/googleads/v13/resources/travel_activity_group_view.proto"; -import "google/ads/googleads/v13/resources/travel_activity_performance_view.proto"; -import "google/ads/googleads/v13/resources/user_interest.proto"; -import "google/ads/googleads/v13/resources/user_list.proto"; -import "google/ads/googleads/v13/resources/user_location_view.proto"; -import "google/ads/googleads/v13/resources/video.proto"; -import "google/ads/googleads/v13/resources/webpage_view.proto"; -import "google/ads/googleads/v13/services/ad_group_ad_label_service.proto"; -import "google/ads/googleads/v13/services/ad_group_ad_service.proto"; -import "google/ads/googleads/v13/services/ad_group_asset_service.proto"; -import "google/ads/googleads/v13/services/ad_group_bid_modifier_service.proto"; -import "google/ads/googleads/v13/services/ad_group_criterion_customizer_service.proto"; -import "google/ads/googleads/v13/services/ad_group_criterion_label_service.proto"; -import "google/ads/googleads/v13/services/ad_group_criterion_service.proto"; -import "google/ads/googleads/v13/services/ad_group_customizer_service.proto"; -import "google/ads/googleads/v13/services/ad_group_extension_setting_service.proto"; -import "google/ads/googleads/v13/services/ad_group_feed_service.proto"; -import "google/ads/googleads/v13/services/ad_group_label_service.proto"; -import "google/ads/googleads/v13/services/ad_group_service.proto"; -import "google/ads/googleads/v13/services/ad_parameter_service.proto"; -import "google/ads/googleads/v13/services/ad_service.proto"; -import "google/ads/googleads/v13/services/asset_group_asset_service.proto"; -import "google/ads/googleads/v13/services/asset_group_listing_group_filter_service.proto"; -import "google/ads/googleads/v13/services/asset_group_service.proto"; -import "google/ads/googleads/v13/services/asset_group_signal_service.proto"; -import "google/ads/googleads/v13/services/asset_service.proto"; -import "google/ads/googleads/v13/services/asset_set_asset_service.proto"; -import "google/ads/googleads/v13/services/asset_set_service.proto"; -import "google/ads/googleads/v13/services/audience_service.proto"; -import "google/ads/googleads/v13/services/bidding_data_exclusion_service.proto"; -import "google/ads/googleads/v13/services/bidding_seasonality_adjustment_service.proto"; -import "google/ads/googleads/v13/services/bidding_strategy_service.proto"; -import "google/ads/googleads/v13/services/campaign_asset_service.proto"; -import "google/ads/googleads/v13/services/campaign_asset_set_service.proto"; -import "google/ads/googleads/v13/services/campaign_bid_modifier_service.proto"; -import "google/ads/googleads/v13/services/campaign_budget_service.proto"; -import "google/ads/googleads/v13/services/campaign_conversion_goal_service.proto"; -import "google/ads/googleads/v13/services/campaign_criterion_service.proto"; -import "google/ads/googleads/v13/services/campaign_customizer_service.proto"; -import "google/ads/googleads/v13/services/campaign_draft_service.proto"; -import "google/ads/googleads/v13/services/campaign_extension_setting_service.proto"; -import "google/ads/googleads/v13/services/campaign_feed_service.proto"; -import "google/ads/googleads/v13/services/campaign_group_service.proto"; -import "google/ads/googleads/v13/services/campaign_label_service.proto"; -import "google/ads/googleads/v13/services/campaign_service.proto"; -import "google/ads/googleads/v13/services/campaign_shared_set_service.proto"; -import "google/ads/googleads/v13/services/conversion_action_service.proto"; -import "google/ads/googleads/v13/services/conversion_custom_variable_service.proto"; -import "google/ads/googleads/v13/services/conversion_goal_campaign_config_service.proto"; -import "google/ads/googleads/v13/services/conversion_value_rule_service.proto"; -import "google/ads/googleads/v13/services/conversion_value_rule_set_service.proto"; -import "google/ads/googleads/v13/services/custom_conversion_goal_service.proto"; -import "google/ads/googleads/v13/services/customer_asset_service.proto"; -import "google/ads/googleads/v13/services/customer_conversion_goal_service.proto"; -import "google/ads/googleads/v13/services/customer_customizer_service.proto"; -import "google/ads/googleads/v13/services/customer_extension_setting_service.proto"; -import "google/ads/googleads/v13/services/customer_feed_service.proto"; -import "google/ads/googleads/v13/services/customer_label_service.proto"; -import "google/ads/googleads/v13/services/customer_negative_criterion_service.proto"; -import "google/ads/googleads/v13/services/customer_service.proto"; -import "google/ads/googleads/v13/services/customizer_attribute_service.proto"; -import "google/ads/googleads/v13/services/experiment_arm_service.proto"; -import "google/ads/googleads/v13/services/experiment_service.proto"; -import "google/ads/googleads/v13/services/extension_feed_item_service.proto"; -import "google/ads/googleads/v13/services/feed_item_service.proto"; -import "google/ads/googleads/v13/services/feed_item_set_link_service.proto"; -import "google/ads/googleads/v13/services/feed_item_set_service.proto"; -import "google/ads/googleads/v13/services/feed_item_target_service.proto"; -import "google/ads/googleads/v13/services/feed_mapping_service.proto"; -import "google/ads/googleads/v13/services/feed_service.proto"; -import "google/ads/googleads/v13/services/keyword_plan_ad_group_keyword_service.proto"; -import "google/ads/googleads/v13/services/keyword_plan_ad_group_service.proto"; -import "google/ads/googleads/v13/services/keyword_plan_campaign_keyword_service.proto"; -import "google/ads/googleads/v13/services/keyword_plan_campaign_service.proto"; -import "google/ads/googleads/v13/services/keyword_plan_service.proto"; -import "google/ads/googleads/v13/services/label_service.proto"; -import "google/ads/googleads/v13/services/media_file_service.proto"; -import "google/ads/googleads/v13/services/remarketing_action_service.proto"; -import "google/ads/googleads/v13/services/shared_criterion_service.proto"; -import "google/ads/googleads/v13/services/shared_set_service.proto"; -import "google/ads/googleads/v13/services/smart_campaign_setting_service.proto"; -import "google/ads/googleads/v13/services/user_list_service.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "GoogleAdsServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the GoogleAdsService. - -// Service to fetch data and metrics across resources. -service GoogleAdsService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Returns all rows that match the search query. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [ChangeEventError]() - // [ChangeStatusError]() - // [ClickViewError]() - // [HeaderError]() - // [InternalError]() - // [QueryError]() - // [QuotaError]() - // [RequestError]() - rpc Search(SearchGoogleAdsRequest) returns (SearchGoogleAdsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/googleAds:search" - body: "*" - }; - option (google.api.method_signature) = "customer_id,query"; - } - - // Returns all rows that match the search stream query. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [ChangeEventError]() - // [ChangeStatusError]() - // [ClickViewError]() - // [HeaderError]() - // [InternalError]() - // [QueryError]() - // [QuotaError]() - // [RequestError]() - rpc SearchStream(SearchGoogleAdsStreamRequest) - returns (stream SearchGoogleAdsStreamResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/googleAds:searchStream" - body: "*" - }; - option (google.api.method_signature) = "customer_id,query"; - } - - // Creates, updates, or removes resources. This method supports atomic - // transactions with multiple types of resources. For example, you can - // atomically create a campaign and a campaign budget, or perform up to - // thousands of mutates atomically. - // - // This method is essentially a wrapper around a series of mutate methods. The - // only features it offers over calling those methods directly are: - // - // - Atomic transactions - // - Temp resource names (described below) - // - Somewhat reduced latency over making a series of mutate calls - // - // Note: Only resources that support atomic transactions are included, so this - // method can't replace all calls to individual services. - // - // ## Atomic Transaction Benefits - // - // Atomicity makes error handling much easier. If you're making a series of - // changes and one fails, it can leave your account in an inconsistent state. - // With atomicity, you either reach the chosen state directly, or the request - // fails and you can retry. - // - // ## Temp Resource Names - // - // Temp resource names are a special type of resource name used to create a - // resource and reference that resource in the same request. For example, if a - // campaign budget is created with `resource_name` equal to - // `customers/123/campaignBudgets/-1`, that resource name can be reused in - // the `Campaign.budget` field in the same request. That way, the two - // resources are created and linked atomically. - // - // To create a temp resource name, put a negative number in the part of the - // name that the server would normally allocate. - // - // Note: - // - // - Resources must be created with a temp name before the name can be reused. - // For example, the previous CampaignBudget+Campaign example would fail if - // the mutate order was reversed. - // - Temp names are not remembered across requests. - // - There's no limit to the number of temp names in a request. - // - Each temp name must use a unique negative number, even if the resource - // types differ. - // - // ## Latency - // - // It's important to group mutates by resource type or the request may time - // out and fail. Latency is roughly equal to a series of calls to individual - // mutate methods, where each change in resource type is a new call. For - // example, mutating 10 campaigns then 10 ad groups is like 2 calls, while - // mutating 1 campaign, 1 ad group, 1 campaign, 1 ad group is like 4 calls. - // - // List of thrown errors: - // [AdCustomizerError]() - // [AdError]() - // [AdGroupAdError]() - // [AdGroupCriterionError]() - // [AdGroupError]() - // [AssetError]() - // [AuthenticationError]() - // [AuthorizationError]() - // [BiddingError]() - // [CampaignBudgetError]() - // [CampaignCriterionError]() - // [CampaignError]() - // [CampaignExperimentError]() - // [CampaignSharedSetError]() - // [CollectionSizeError]() - // [ContextError]() - // [ConversionActionError]() - // [CriterionError]() - // [CustomerFeedError]() - // [DatabaseError]() - // [DateError]() - // [DateRangeError]() - // [DistinctError]() - // [ExtensionFeedItemError]() - // [ExtensionSettingError]() - // [FeedAttributeReferenceError]() - // [FeedError]() - // [FeedItemError]() - // [FeedItemSetError]() - // [FieldError]() - // [FieldMaskError]() - // [FunctionParsingError]() - // [HeaderError]() - // [ImageError]() - // [InternalError]() - // [KeywordPlanAdGroupKeywordError]() - // [KeywordPlanCampaignError]() - // [KeywordPlanError]() - // [LabelError]() - // [ListOperationError]() - // [MediaUploadError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NullError]() - // [OperationAccessDeniedError]() - // [PolicyFindingError]() - // [PolicyViolationError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - // [SettingError]() - // [SharedSetError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - // [UrlFieldError]() - // [UserListError]() - // [YoutubeVideoRegistrationError]() - rpc Mutate(MutateGoogleAdsRequest) returns (MutateGoogleAdsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/googleAds:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,mutate_operations"; - } -} - -// Request message for -// [GoogleAdsService.Search][google.ads.googleads.v13.services.GoogleAdsService.Search]. -message SearchGoogleAdsRequest { - // Required. The ID of the customer being queried. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The query string. - string query = 2 [(google.api.field_behavior) = REQUIRED]; - - // Token of the page to retrieve. If not specified, the first - // page of results will be returned. Use the value obtained from - // `next_page_token` in the previous response in order to request - // the next page of results. - string page_token = 3; - - // Number of elements to retrieve in a single page. - // When too large a page is requested, the server may decide to - // further limit the number of returned resources. - int32 page_size = 4; - - // If true, the request is validated but not executed. - bool validate_only = 5; - - // If true, the total number of results that match the query ignoring the - // LIMIT clause will be included in the response. - // Default is false. - bool return_total_results_count = 7; - - // Determines whether a summary row will be returned. By default, summary row - // is not returned. If requested, the summary row will be sent in a response - // by itself after all other query results are returned. - google.ads.googleads.v13.enums.SummaryRowSettingEnum.SummaryRowSetting - summary_row_setting = 8; -} - -// Response message for -// [GoogleAdsService.Search][google.ads.googleads.v13.services.GoogleAdsService.Search]. -message SearchGoogleAdsResponse { - // The list of rows that matched the query. - repeated GoogleAdsRow results = 1; - - // Pagination token used to retrieve the next page of results. - // Pass the content of this string as the `page_token` attribute of - // the next request. `next_page_token` is not returned for the last - // page. - string next_page_token = 2; - - // Total number of results that match the query ignoring the LIMIT - // clause. - int64 total_results_count = 3; - - // FieldMask that represents what fields were requested by the user. - google.protobuf.FieldMask field_mask = 5; - - // Summary row that contains summary of metrics in results. - // Summary of metrics means aggregation of metrics across all results, - // here aggregation could be sum, average, rate, etc. - GoogleAdsRow summary_row = 6; -} - -// Request message for -// [GoogleAdsService.SearchStream][google.ads.googleads.v13.services.GoogleAdsService.SearchStream]. -message SearchGoogleAdsStreamRequest { - // Required. The ID of the customer being queried. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The query string. - string query = 2 [(google.api.field_behavior) = REQUIRED]; - - // Determines whether a summary row will be returned. By default, summary row - // is not returned. If requested, the summary row will be sent in a response - // by itself after all other query results are returned. - google.ads.googleads.v13.enums.SummaryRowSettingEnum.SummaryRowSetting - summary_row_setting = 3; -} - -// Response message for -// [GoogleAdsService.SearchStream][google.ads.googleads.v13.services.GoogleAdsService.SearchStream]. -message SearchGoogleAdsStreamResponse { - // The list of rows that matched the query. - repeated GoogleAdsRow results = 1; - - // FieldMask that represents what fields were requested by the user. - google.protobuf.FieldMask field_mask = 2; - - // Summary row that contains summary of metrics in results. - // Summary of metrics means aggregation of metrics across all results, - // here aggregation could be sum, average, rate, etc. - GoogleAdsRow summary_row = 3; - - // The unique id of the request that is used for debugging purposes. - string request_id = 4; -} - -// A returned row from the query. -message GoogleAdsRow { - // The account budget in the query. - google.ads.googleads.v13.resources.AccountBudget account_budget = 42; - - // The account budget proposal referenced in the query. - google.ads.googleads.v13.resources.AccountBudgetProposal - account_budget_proposal = 43; - - // The AccountLink referenced in the query. - google.ads.googleads.v13.resources.AccountLink account_link = 143; - - // The ad group referenced in the query. - google.ads.googleads.v13.resources.AdGroup ad_group = 3; - - // The ad referenced in the query. - google.ads.googleads.v13.resources.AdGroupAd ad_group_ad = 16; - - // The ad group ad asset combination view in the query. - google.ads.googleads.v13.resources.AdGroupAdAssetCombinationView - ad_group_ad_asset_combination_view = 193; - - // The ad group ad asset view in the query. - google.ads.googleads.v13.resources.AdGroupAdAssetView ad_group_ad_asset_view = - 131; - - // The ad group ad label referenced in the query. - google.ads.googleads.v13.resources.AdGroupAdLabel ad_group_ad_label = 120; - - // The ad group asset referenced in the query. - google.ads.googleads.v13.resources.AdGroupAsset ad_group_asset = 154; - - // The ad group asset set referenced in the query. - google.ads.googleads.v13.resources.AdGroupAssetSet ad_group_asset_set = 196; - - // The ad group audience view referenced in the query. - google.ads.googleads.v13.resources.AdGroupAudienceView - ad_group_audience_view = 57; - - // The bid modifier referenced in the query. - google.ads.googleads.v13.resources.AdGroupBidModifier ad_group_bid_modifier = - 24; - - // The criterion referenced in the query. - google.ads.googleads.v13.resources.AdGroupCriterion ad_group_criterion = 17; - - // The ad group criterion customizer referenced in the query. - google.ads.googleads.v13.resources.AdGroupCriterionCustomizer - ad_group_criterion_customizer = 187; - - // The ad group criterion label referenced in the query. - google.ads.googleads.v13.resources.AdGroupCriterionLabel - ad_group_criterion_label = 121; - - // The ad group criterion simulation referenced in the query. - google.ads.googleads.v13.resources.AdGroupCriterionSimulation - ad_group_criterion_simulation = 110; - - // The ad group customizer referenced in the query. - google.ads.googleads.v13.resources.AdGroupCustomizer ad_group_customizer = - 185; - - // The ad group extension setting referenced in the query. - google.ads.googleads.v13.resources.AdGroupExtensionSetting - ad_group_extension_setting = 112; - - // The ad group feed referenced in the query. - google.ads.googleads.v13.resources.AdGroupFeed ad_group_feed = 67; - - // The ad group label referenced in the query. - google.ads.googleads.v13.resources.AdGroupLabel ad_group_label = 115; - - // The ad group simulation referenced in the query. - google.ads.googleads.v13.resources.AdGroupSimulation ad_group_simulation = - 107; - - // The ad parameter referenced in the query. - google.ads.googleads.v13.resources.AdParameter ad_parameter = 130; - - // The age range view referenced in the query. - google.ads.googleads.v13.resources.AgeRangeView age_range_view = 48; - - // The ad schedule view referenced in the query. - google.ads.googleads.v13.resources.AdScheduleView ad_schedule_view = 89; - - // The domain category referenced in the query. - google.ads.googleads.v13.resources.DomainCategory domain_category = 91; - - // The asset referenced in the query. - google.ads.googleads.v13.resources.Asset asset = 105; - - // The asset field type view referenced in the query. - google.ads.googleads.v13.resources.AssetFieldTypeView asset_field_type_view = - 168; - - // The asset group asset referenced in the query. - google.ads.googleads.v13.resources.AssetGroupAsset asset_group_asset = 173; - - // The asset group signal referenced in the query. - google.ads.googleads.v13.resources.AssetGroupSignal asset_group_signal = 191; - - // The asset group listing group filter referenced in the query. - google.ads.googleads.v13.resources.AssetGroupListingGroupFilter - asset_group_listing_group_filter = 182; - - // The asset group product group view referenced in the query. - google.ads.googleads.v13.resources.AssetGroupProductGroupView - asset_group_product_group_view = 189; - - // The asset group referenced in the query. - google.ads.googleads.v13.resources.AssetGroup asset_group = 172; - - // The asset set asset referenced in the query. - google.ads.googleads.v13.resources.AssetSetAsset asset_set_asset = 180; - - // The asset set referenced in the query. - google.ads.googleads.v13.resources.AssetSet asset_set = 179; - - // The asset set type view referenced in the query. - google.ads.googleads.v13.resources.AssetSetTypeView asset_set_type_view = 197; - - // The batch job referenced in the query. - google.ads.googleads.v13.resources.BatchJob batch_job = 139; - - // The bidding data exclusion referenced in the query. - google.ads.googleads.v13.resources.BiddingDataExclusion - bidding_data_exclusion = 159; - - // The bidding seasonality adjustment referenced in the query. - google.ads.googleads.v13.resources.BiddingSeasonalityAdjustment - bidding_seasonality_adjustment = 160; - - // The bidding strategy referenced in the query. - google.ads.googleads.v13.resources.BiddingStrategy bidding_strategy = 18; - - // The bidding strategy simulation referenced in the query. - google.ads.googleads.v13.resources.BiddingStrategySimulation - bidding_strategy_simulation = 158; - - // The billing setup referenced in the query. - google.ads.googleads.v13.resources.BillingSetup billing_setup = 41; - - // The call view referenced in the query. - google.ads.googleads.v13.resources.CallView call_view = 152; - - // The campaign budget referenced in the query. - google.ads.googleads.v13.resources.CampaignBudget campaign_budget = 19; - - // The campaign referenced in the query. - google.ads.googleads.v13.resources.Campaign campaign = 2; - - // The campaign asset referenced in the query. - google.ads.googleads.v13.resources.CampaignAsset campaign_asset = 142; - - // The campaign asset set referenced in the query. - google.ads.googleads.v13.resources.CampaignAssetSet campaign_asset_set = 181; - - // The campaign audience view referenced in the query. - google.ads.googleads.v13.resources.CampaignAudienceView - campaign_audience_view = 69; - - // The campaign bid modifier referenced in the query. - google.ads.googleads.v13.resources.CampaignBidModifier campaign_bid_modifier = - 26; - - // The CampaignConversionGoal referenced in the query. - google.ads.googleads.v13.resources.CampaignConversionGoal - campaign_conversion_goal = 175; - - // The campaign criterion referenced in the query. - google.ads.googleads.v13.resources.CampaignCriterion campaign_criterion = 20; - - // The campaign criterion simulation referenced in the query. - google.ads.googleads.v13.resources.CampaignCriterionSimulation - campaign_criterion_simulation = 111; - - // The campaign customizer referenced in the query. - google.ads.googleads.v13.resources.CampaignCustomizer campaign_customizer = - 186; - - // The campaign draft referenced in the query. - google.ads.googleads.v13.resources.CampaignDraft campaign_draft = 49; - - // The campaign extension setting referenced in the query. - google.ads.googleads.v13.resources.CampaignExtensionSetting - campaign_extension_setting = 113; - - // The campaign feed referenced in the query. - google.ads.googleads.v13.resources.CampaignFeed campaign_feed = 63; - - // Campaign Group referenced in AWQL query. - google.ads.googleads.v13.resources.CampaignGroup campaign_group = 25; - - // The campaign label referenced in the query. - google.ads.googleads.v13.resources.CampaignLabel campaign_label = 108; - - // Campaign Shared Set referenced in AWQL query. - google.ads.googleads.v13.resources.CampaignSharedSet campaign_shared_set = 30; - - // The campaign simulation referenced in the query. - google.ads.googleads.v13.resources.CampaignSimulation campaign_simulation = - 157; - - // The carrier constant referenced in the query. - google.ads.googleads.v13.resources.CarrierConstant carrier_constant = 66; - - // The ChangeEvent referenced in the query. - google.ads.googleads.v13.resources.ChangeEvent change_event = 145; - - // The ChangeStatus referenced in the query. - google.ads.googleads.v13.resources.ChangeStatus change_status = 37; - - // The CombinedAudience referenced in the query. - google.ads.googleads.v13.resources.CombinedAudience combined_audience = 148; - - // The Audience referenced in the query. - google.ads.googleads.v13.resources.Audience audience = 190; - - // The conversion action referenced in the query. - google.ads.googleads.v13.resources.ConversionAction conversion_action = 103; - - // The conversion custom variable referenced in the query. - google.ads.googleads.v13.resources.ConversionCustomVariable - conversion_custom_variable = 153; - - // The ConversionGoalCampaignConfig referenced in the query. - google.ads.googleads.v13.resources.ConversionGoalCampaignConfig - conversion_goal_campaign_config = 177; - - // The conversion value rule referenced in the query. - google.ads.googleads.v13.resources.ConversionValueRule conversion_value_rule = - 164; - - // The conversion value rule set referenced in the query. - google.ads.googleads.v13.resources.ConversionValueRuleSet - conversion_value_rule_set = 165; - - // The ClickView referenced in the query. - google.ads.googleads.v13.resources.ClickView click_view = 122; - - // The currency constant referenced in the query. - google.ads.googleads.v13.resources.CurrencyConstant currency_constant = 134; - - // The CustomAudience referenced in the query. - google.ads.googleads.v13.resources.CustomAudience custom_audience = 147; - - // The CustomConversionGoal referenced in the query. - google.ads.googleads.v13.resources.CustomConversionGoal - custom_conversion_goal = 176; - - // The CustomInterest referenced in the query. - google.ads.googleads.v13.resources.CustomInterest custom_interest = 104; - - // The customer referenced in the query. - google.ads.googleads.v13.resources.Customer customer = 1; - - // The customer asset referenced in the query. - google.ads.googleads.v13.resources.CustomerAsset customer_asset = 155; - - // The customer asset set referenced in the query. - google.ads.googleads.v13.resources.CustomerAssetSet customer_asset_set = 195; - - // The accessible bidding strategy referenced in the query. - google.ads.googleads.v13.resources.AccessibleBiddingStrategy - accessible_bidding_strategy = 169; - - // The customer customizer referenced in the query. - google.ads.googleads.v13.resources.CustomerCustomizer customer_customizer = - 184; - - // The CustomerManagerLink referenced in the query. - google.ads.googleads.v13.resources.CustomerManagerLink customer_manager_link = - 61; - - // The CustomerClientLink referenced in the query. - google.ads.googleads.v13.resources.CustomerClientLink customer_client_link = - 62; - - // The CustomerClient referenced in the query. - google.ads.googleads.v13.resources.CustomerClient customer_client = 70; - - // The CustomerConversionGoal referenced in the query. - google.ads.googleads.v13.resources.CustomerConversionGoal - customer_conversion_goal = 174; - - // The customer extension setting referenced in the query. - google.ads.googleads.v13.resources.CustomerExtensionSetting - customer_extension_setting = 114; - - // The customer feed referenced in the query. - google.ads.googleads.v13.resources.CustomerFeed customer_feed = 64; - - // The customer label referenced in the query. - google.ads.googleads.v13.resources.CustomerLabel customer_label = 124; - - // The customer negative criterion referenced in the query. - google.ads.googleads.v13.resources.CustomerNegativeCriterion - customer_negative_criterion = 88; - - // The CustomerUserAccess referenced in the query. - google.ads.googleads.v13.resources.CustomerUserAccess customer_user_access = - 146; - - // The CustomerUserAccessInvitation referenced in the query. - google.ads.googleads.v13.resources.CustomerUserAccessInvitation - customer_user_access_invitation = 150; - - // The customizer attribute referenced in the query. - google.ads.googleads.v13.resources.CustomizerAttribute customizer_attribute = - 178; - - // The detail placement view referenced in the query. - google.ads.googleads.v13.resources.DetailPlacementView detail_placement_view = - 118; - - // The detailed demographic referenced in the query. - google.ads.googleads.v13.resources.DetailedDemographic detailed_demographic = - 166; - - // The display keyword view referenced in the query. - google.ads.googleads.v13.resources.DisplayKeywordView display_keyword_view = - 47; - - // The distance view referenced in the query. - google.ads.googleads.v13.resources.DistanceView distance_view = 132; - - // The dynamic search ads search term view referenced in the query. - google.ads.googleads.v13.resources.DynamicSearchAdsSearchTermView - dynamic_search_ads_search_term_view = 106; - - // The expanded landing page view referenced in the query. - google.ads.googleads.v13.resources.ExpandedLandingPageView - expanded_landing_page_view = 128; - - // The extension feed item referenced in the query. - google.ads.googleads.v13.resources.ExtensionFeedItem extension_feed_item = 85; - - // The feed referenced in the query. - google.ads.googleads.v13.resources.Feed feed = 46; - - // The feed item referenced in the query. - google.ads.googleads.v13.resources.FeedItem feed_item = 50; - - // The feed item set referenced in the query. - google.ads.googleads.v13.resources.FeedItemSet feed_item_set = 149; - - // The feed item set link referenced in the query. - google.ads.googleads.v13.resources.FeedItemSetLink feed_item_set_link = 151; - - // The feed item target referenced in the query. - google.ads.googleads.v13.resources.FeedItemTarget feed_item_target = 116; - - // The feed mapping referenced in the query. - google.ads.googleads.v13.resources.FeedMapping feed_mapping = 58; - - // The feed placeholder view referenced in the query. - google.ads.googleads.v13.resources.FeedPlaceholderView feed_placeholder_view = - 97; - - // The gender view referenced in the query. - google.ads.googleads.v13.resources.GenderView gender_view = 40; - - // The geo target constant referenced in the query. - google.ads.googleads.v13.resources.GeoTargetConstant geo_target_constant = 23; - - // The geographic view referenced in the query. - google.ads.googleads.v13.resources.GeographicView geographic_view = 125; - - // The group placement view referenced in the query. - google.ads.googleads.v13.resources.GroupPlacementView group_placement_view = - 119; - - // The hotel group view referenced in the query. - google.ads.googleads.v13.resources.HotelGroupView hotel_group_view = 51; - - // The hotel performance view referenced in the query. - google.ads.googleads.v13.resources.HotelPerformanceView - hotel_performance_view = 71; - - // The hotel reconciliation referenced in the query. - google.ads.googleads.v13.resources.HotelReconciliation hotel_reconciliation = - 188; - - // The income range view referenced in the query. - google.ads.googleads.v13.resources.IncomeRangeView income_range_view = 138; - - // The keyword view referenced in the query. - google.ads.googleads.v13.resources.KeywordView keyword_view = 21; - - // The keyword plan referenced in the query. - google.ads.googleads.v13.resources.KeywordPlan keyword_plan = 32; - - // The keyword plan campaign referenced in the query. - google.ads.googleads.v13.resources.KeywordPlanCampaign keyword_plan_campaign = - 33; - - // The keyword plan campaign keyword referenced in the query. - google.ads.googleads.v13.resources.KeywordPlanCampaignKeyword - keyword_plan_campaign_keyword = 140; - - // The keyword plan ad group referenced in the query. - google.ads.googleads.v13.resources.KeywordPlanAdGroup keyword_plan_ad_group = - 35; - - // The keyword plan ad group referenced in the query. - google.ads.googleads.v13.resources.KeywordPlanAdGroupKeyword - keyword_plan_ad_group_keyword = 141; - - // The keyword theme constant referenced in the query. - google.ads.googleads.v13.resources.KeywordThemeConstant - keyword_theme_constant = 163; - - // The label referenced in the query. - google.ads.googleads.v13.resources.Label label = 52; - - // The landing page view referenced in the query. - google.ads.googleads.v13.resources.LandingPageView landing_page_view = 126; - - // The language constant referenced in the query. - google.ads.googleads.v13.resources.LanguageConstant language_constant = 55; - - // The location view referenced in the query. - google.ads.googleads.v13.resources.LocationView location_view = 123; - - // The managed placement view referenced in the query. - google.ads.googleads.v13.resources.ManagedPlacementView - managed_placement_view = 53; - - // The media file referenced in the query. - google.ads.googleads.v13.resources.MediaFile media_file = 90; - - // The mobile app category constant referenced in the query. - google.ads.googleads.v13.resources.MobileAppCategoryConstant - mobile_app_category_constant = 87; - - // The mobile device constant referenced in the query. - google.ads.googleads.v13.resources.MobileDeviceConstant - mobile_device_constant = 98; - - // The offline user data job referenced in the query. - google.ads.googleads.v13.resources.OfflineUserDataJob offline_user_data_job = - 137; - - // The operating system version constant referenced in the query. - google.ads.googleads.v13.resources.OperatingSystemVersionConstant - operating_system_version_constant = 86; - - // The paid organic search term view referenced in the query. - google.ads.googleads.v13.resources.PaidOrganicSearchTermView - paid_organic_search_term_view = 129; - - // The qualifying question referenced in the query. - google.ads.googleads.v13.resources.QualifyingQuestion qualifying_question = - 202; - - // The parental status view referenced in the query. - google.ads.googleads.v13.resources.ParentalStatusView parental_status_view = - 45; - - // The per store view referenced in the query. - google.ads.googleads.v13.resources.PerStoreView per_store_view = 198; - - // The Product Bidding Category referenced in the query. - google.ads.googleads.v13.resources.ProductBiddingCategoryConstant - product_bidding_category_constant = 109; - - // The product group view referenced in the query. - google.ads.googleads.v13.resources.ProductGroupView product_group_view = 54; - - // The product link referenced in the query. - google.ads.googleads.v13.resources.ProductLink product_link = 194; - - // The recommendation referenced in the query. - google.ads.googleads.v13.resources.Recommendation recommendation = 22; - - // The search term view referenced in the query. - google.ads.googleads.v13.resources.SearchTermView search_term_view = 68; - - // The shared set referenced in the query. - google.ads.googleads.v13.resources.SharedCriterion shared_criterion = 29; - - // The shared set referenced in the query. - google.ads.googleads.v13.resources.SharedSet shared_set = 27; - - // The Smart campaign setting referenced in the query. - google.ads.googleads.v13.resources.SmartCampaignSetting - smart_campaign_setting = 167; - - // The shopping performance view referenced in the query. - google.ads.googleads.v13.resources.ShoppingPerformanceView - shopping_performance_view = 117; - - // The Smart campaign search term view referenced in the query. - google.ads.googleads.v13.resources.SmartCampaignSearchTermView - smart_campaign_search_term_view = 170; - - // The AccountLink referenced in the query. - google.ads.googleads.v13.resources.ThirdPartyAppAnalyticsLink - third_party_app_analytics_link = 144; - - // The topic view referenced in the query. - google.ads.googleads.v13.resources.TopicView topic_view = 44; - - // The travel activity group view referenced in the query. - google.ads.googleads.v13.resources.TravelActivityGroupView - travel_activity_group_view = 201; - - // The travel activity performance view referenced in the query. - google.ads.googleads.v13.resources.TravelActivityPerformanceView - travel_activity_performance_view = 200; - - // The experiment referenced in the query. - google.ads.googleads.v13.resources.Experiment experiment = 133; - - // The experiment arm referenced in the query. - google.ads.googleads.v13.resources.ExperimentArm experiment_arm = 183; - - // The user interest referenced in the query. - google.ads.googleads.v13.resources.UserInterest user_interest = 59; - - // The life event referenced in the query. - google.ads.googleads.v13.resources.LifeEvent life_event = 161; - - // The user list referenced in the query. - google.ads.googleads.v13.resources.UserList user_list = 38; - - // The user location view referenced in the query. - google.ads.googleads.v13.resources.UserLocationView user_location_view = 135; - - // The remarketing action referenced in the query. - google.ads.googleads.v13.resources.RemarketingAction remarketing_action = 60; - - // The topic constant referenced in the query. - google.ads.googleads.v13.resources.TopicConstant topic_constant = 31; - - // The video referenced in the query. - google.ads.googleads.v13.resources.Video video = 39; - - // The webpage view referenced in the query. - google.ads.googleads.v13.resources.WebpageView webpage_view = 162; - - // The lead form user submission referenced in the query. - google.ads.googleads.v13.resources.LeadFormSubmissionData - lead_form_submission_data = 192; - - // The metrics. - google.ads.googleads.v13.common.Metrics metrics = 4; - - // The segments. - google.ads.googleads.v13.common.Segments segments = 102; -} - -// Request message for -// [GoogleAdsService.Mutate][google.ads.googleads.v13.services.GoogleAdsService.Mutate]. -message MutateGoogleAdsRequest { - // Required. The ID of the customer whose resources are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual resources. - repeated MutateOperation mutate_operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. The mutable - // resource will only be returned if the resource has the appropriate response - // field. For example, MutateCampaignResult.campaign. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// Response message for -// [GoogleAdsService.Mutate][google.ads.googleads.v13.services.GoogleAdsService.Mutate]. -message MutateGoogleAdsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All responses for the mutate. - repeated MutateOperationResponse mutate_operation_responses = 1; -} - -// A single operation (create, update, remove) on a resource. -message MutateOperation { - // The mutate operation. - oneof operation { - // An ad group ad label mutate operation. - AdGroupAdLabelOperation ad_group_ad_label_operation = 17; - - // An ad group ad mutate operation. - AdGroupAdOperation ad_group_ad_operation = 1; - - // An ad group asset mutate operation. - AdGroupAssetOperation ad_group_asset_operation = 56; - - // An ad group bid modifier mutate operation. - AdGroupBidModifierOperation ad_group_bid_modifier_operation = 2; - - // An ad group criterion customizer mutate operation. - AdGroupCriterionCustomizerOperation - ad_group_criterion_customizer_operation = 77; - - // An ad group criterion label mutate operation. - AdGroupCriterionLabelOperation ad_group_criterion_label_operation = 18; - - // An ad group criterion mutate operation. - AdGroupCriterionOperation ad_group_criterion_operation = 3; - - // An ad group customizer mutate operation. - AdGroupCustomizerOperation ad_group_customizer_operation = 75; - - // An ad group extension setting mutate operation. - AdGroupExtensionSettingOperation ad_group_extension_setting_operation = 19; - - // An ad group feed mutate operation. - AdGroupFeedOperation ad_group_feed_operation = 20; - - // An ad group label mutate operation. - AdGroupLabelOperation ad_group_label_operation = 21; - - // An ad group mutate operation. - AdGroupOperation ad_group_operation = 5; - - // An ad mutate operation. - AdOperation ad_operation = 49; - - // An ad parameter mutate operation. - AdParameterOperation ad_parameter_operation = 22; - - // An asset mutate operation. - AssetOperation asset_operation = 23; - - // An asset group asset mutate operation. - AssetGroupAssetOperation asset_group_asset_operation = 65; - - // An asset group listing group filter mutate operation. - AssetGroupListingGroupFilterOperation - asset_group_listing_group_filter_operation = 78; - - // An asset group signal mutate operation. - AssetGroupSignalOperation asset_group_signal_operation = 80; - - // An asset group mutate operation. - AssetGroupOperation asset_group_operation = 62; - - // An asset set asset mutate operation. - AssetSetAssetOperation asset_set_asset_operation = 71; - - // An asset set mutate operation. - AssetSetOperation asset_set_operation = 72; - - // An audience mutate operation. - AudienceOperation audience_operation = 81; - - // A bidding data exclusion mutate operation. - BiddingDataExclusionOperation bidding_data_exclusion_operation = 58; - - // A bidding seasonality adjustment mutate operation. - BiddingSeasonalityAdjustmentOperation - bidding_seasonality_adjustment_operation = 59; - - // A bidding strategy mutate operation. - BiddingStrategyOperation bidding_strategy_operation = 6; - - // A campaign asset mutate operation. - CampaignAssetOperation campaign_asset_operation = 52; - - // A campaign asset mutate operation. - CampaignAssetSetOperation campaign_asset_set_operation = 73; - - // A campaign bid modifier mutate operation. - CampaignBidModifierOperation campaign_bid_modifier_operation = 7; - - // A campaign budget mutate operation. - CampaignBudgetOperation campaign_budget_operation = 8; - - // A campaign conversion goal mutate operation. - CampaignConversionGoalOperation campaign_conversion_goal_operation = 67; - - // A campaign criterion mutate operation. - CampaignCriterionOperation campaign_criterion_operation = 13; - - // A campaign customizer mutate operation. - CampaignCustomizerOperation campaign_customizer_operation = 76; - - // A campaign draft mutate operation. - CampaignDraftOperation campaign_draft_operation = 24; - - // A campaign extension setting mutate operation. - CampaignExtensionSettingOperation campaign_extension_setting_operation = 26; - - // A campaign feed mutate operation. - CampaignFeedOperation campaign_feed_operation = 27; - - // A campaign group mutate operation. - CampaignGroupOperation campaign_group_operation = 9; - - // A campaign label mutate operation. - CampaignLabelOperation campaign_label_operation = 28; - - // A campaign mutate operation. - CampaignOperation campaign_operation = 10; - - // A campaign shared set mutate operation. - CampaignSharedSetOperation campaign_shared_set_operation = 11; - - // A conversion action mutate operation. - ConversionActionOperation conversion_action_operation = 12; - - // A conversion custom variable mutate operation. - ConversionCustomVariableOperation conversion_custom_variable_operation = 55; - - // A conversion goal campaign config mutate operation. - ConversionGoalCampaignConfigOperation - conversion_goal_campaign_config_operation = 69; - - // A conversion value rule mutate operation. - ConversionValueRuleOperation conversion_value_rule_operation = 63; - - // A conversion value rule set mutate operation. - ConversionValueRuleSetOperation conversion_value_rule_set_operation = 64; - - // A custom conversion goal mutate operation. - CustomConversionGoalOperation custom_conversion_goal_operation = 68; - - // A customer asset mutate operation. - CustomerAssetOperation customer_asset_operation = 57; - - // A customer conversion goal mutate operation. - CustomerConversionGoalOperation customer_conversion_goal_operation = 66; - - // A customer customizer mutate operation. - CustomerCustomizerOperation customer_customizer_operation = 79; - - // A customer extension setting mutate operation. - CustomerExtensionSettingOperation customer_extension_setting_operation = 30; - - // A customer feed mutate operation. - CustomerFeedOperation customer_feed_operation = 31; - - // A customer label mutate operation. - CustomerLabelOperation customer_label_operation = 32; - - // A customer negative criterion mutate operation. - CustomerNegativeCriterionOperation customer_negative_criterion_operation = - 34; - - // A customer mutate operation. - CustomerOperation customer_operation = 35; - - // A customizer attribute mutate operation. - CustomizerAttributeOperation customizer_attribute_operation = 70; - - // An experiment mutate operation. - ExperimentOperation experiment_operation = 82; - - // An experiment arm mutate operation. - ExperimentArmOperation experiment_arm_operation = 83; - - // An extension feed item mutate operation. - ExtensionFeedItemOperation extension_feed_item_operation = 36; - - // A feed item mutate operation. - FeedItemOperation feed_item_operation = 37; - - // A feed item set mutate operation. - FeedItemSetOperation feed_item_set_operation = 53; - - // A feed item set link mutate operation. - FeedItemSetLinkOperation feed_item_set_link_operation = 54; - - // A feed item target mutate operation. - FeedItemTargetOperation feed_item_target_operation = 38; - - // A feed mapping mutate operation. - FeedMappingOperation feed_mapping_operation = 39; - - // A feed mutate operation. - FeedOperation feed_operation = 40; - - // A keyword plan ad group operation. - KeywordPlanAdGroupOperation keyword_plan_ad_group_operation = 44; - - // A keyword plan ad group keyword operation. - KeywordPlanAdGroupKeywordOperation keyword_plan_ad_group_keyword_operation = - 50; - - // A keyword plan campaign keyword operation. - KeywordPlanCampaignKeywordOperation - keyword_plan_campaign_keyword_operation = 51; - - // A keyword plan campaign operation. - KeywordPlanCampaignOperation keyword_plan_campaign_operation = 45; - - // A keyword plan operation. - KeywordPlanOperation keyword_plan_operation = 48; - - // A label mutate operation. - LabelOperation label_operation = 41; - - // A media file mutate operation. - MediaFileOperation media_file_operation = 42; - - // A remarketing action mutate operation. - RemarketingActionOperation remarketing_action_operation = 43; - - // A shared criterion mutate operation. - SharedCriterionOperation shared_criterion_operation = 14; - - // A shared set mutate operation. - SharedSetOperation shared_set_operation = 15; - - // A Smart campaign setting mutate operation. - SmartCampaignSettingOperation smart_campaign_setting_operation = 61; - - // A user list mutate operation. - UserListOperation user_list_operation = 16; - } -} - -// Response message for the resource mutate. -message MutateOperationResponse { - // The mutate response. - oneof response { - // The result for the ad group ad label mutate. - MutateAdGroupAdLabelResult ad_group_ad_label_result = 17; - - // The result for the ad group ad mutate. - MutateAdGroupAdResult ad_group_ad_result = 1; - - // The result for the ad group asset mutate. - MutateAdGroupAssetResult ad_group_asset_result = 56; - - // The result for the ad group bid modifier mutate. - MutateAdGroupBidModifierResult ad_group_bid_modifier_result = 2; - - // The result for the ad group criterion customizer mutate. - MutateAdGroupCriterionCustomizerResult - ad_group_criterion_customizer_result = 77; - - // The result for the ad group criterion label mutate. - MutateAdGroupCriterionLabelResult ad_group_criterion_label_result = 18; - - // The result for the ad group criterion mutate. - MutateAdGroupCriterionResult ad_group_criterion_result = 3; - - // The result for the ad group customizer mutate. - MutateAdGroupCustomizerResult ad_group_customizer_result = 75; - - // The result for the ad group extension setting mutate. - MutateAdGroupExtensionSettingResult ad_group_extension_setting_result = 19; - - // The result for the ad group feed mutate. - MutateAdGroupFeedResult ad_group_feed_result = 20; - - // The result for the ad group label mutate. - MutateAdGroupLabelResult ad_group_label_result = 21; - - // The result for the ad group mutate. - MutateAdGroupResult ad_group_result = 5; - - // The result for the ad parameter mutate. - MutateAdParameterResult ad_parameter_result = 22; - - // The result for the ad mutate. - MutateAdResult ad_result = 49; - - // The result for the asset mutate. - MutateAssetResult asset_result = 23; - - // The result for the asset group asset mutate. - MutateAssetGroupAssetResult asset_group_asset_result = 65; - - // The result for the asset group listing group filter mutate. - MutateAssetGroupListingGroupFilterResult - asset_group_listing_group_filter_result = 78; - - // The result for the asset group signal mutate. - MutateAssetGroupSignalResult asset_group_signal_result = 79; - - // The result for the asset group mutate. - MutateAssetGroupResult asset_group_result = 62; - - // The result for the asset set asset mutate. - MutateAssetSetAssetResult asset_set_asset_result = 71; - - // The result for the asset set mutate. - MutateAssetSetResult asset_set_result = 72; - - // The result for the audience mutate. - MutateAudienceResult audience_result = 80; - - // The result for the bidding data exclusion mutate. - MutateBiddingDataExclusionsResult bidding_data_exclusion_result = 58; - - // The result for the bidding seasonality adjustment mutate. - MutateBiddingSeasonalityAdjustmentsResult - bidding_seasonality_adjustment_result = 59; - - // The result for the bidding strategy mutate. - MutateBiddingStrategyResult bidding_strategy_result = 6; - - // The result for the campaign asset mutate. - MutateCampaignAssetResult campaign_asset_result = 52; - - // The result for the campaign asset set mutate. - MutateCampaignAssetSetResult campaign_asset_set_result = 73; - - // The result for the campaign bid modifier mutate. - MutateCampaignBidModifierResult campaign_bid_modifier_result = 7; - - // The result for the campaign budget mutate. - MutateCampaignBudgetResult campaign_budget_result = 8; - - // The result for the campaign conversion goal mutate. - MutateCampaignConversionGoalResult campaign_conversion_goal_result = 67; - - // The result for the campaign criterion mutate. - MutateCampaignCriterionResult campaign_criterion_result = 13; - - // The result for the campaign customizer mutate. - MutateCampaignCustomizerResult campaign_customizer_result = 76; - - // The result for the campaign draft mutate. - MutateCampaignDraftResult campaign_draft_result = 24; - - // The result for the campaign extension setting mutate. - MutateCampaignExtensionSettingResult campaign_extension_setting_result = 26; - - // The result for the campaign feed mutate. - MutateCampaignFeedResult campaign_feed_result = 27; - - // The result for the campaign group mutate. - MutateCampaignGroupResult campaign_group_result = 9; - - // The result for the campaign label mutate. - MutateCampaignLabelResult campaign_label_result = 28; - - // The result for the campaign mutate. - MutateCampaignResult campaign_result = 10; - - // The result for the campaign shared set mutate. - MutateCampaignSharedSetResult campaign_shared_set_result = 11; - - // The result for the conversion action mutate. - MutateConversionActionResult conversion_action_result = 12; - - // The result for the conversion custom variable mutate. - MutateConversionCustomVariableResult conversion_custom_variable_result = 55; - - // The result for the conversion goal campaign config mutate. - MutateConversionGoalCampaignConfigResult - conversion_goal_campaign_config_result = 69; - - // The result for the conversion value rule mutate. - MutateConversionValueRuleResult conversion_value_rule_result = 63; - - // The result for the conversion value rule set mutate. - MutateConversionValueRuleSetResult conversion_value_rule_set_result = 64; - - // The result for the custom conversion goal mutate. - MutateCustomConversionGoalResult custom_conversion_goal_result = 68; - - // The result for the customer asset mutate. - MutateCustomerAssetResult customer_asset_result = 57; - - // The result for the customer conversion goal mutate. - MutateCustomerConversionGoalResult customer_conversion_goal_result = 66; - - // The result for the customer customizer mutate. - MutateCustomerCustomizerResult customer_customizer_result = 74; - - // The result for the customer extension setting mutate. - MutateCustomerExtensionSettingResult customer_extension_setting_result = 30; - - // The result for the customer feed mutate. - MutateCustomerFeedResult customer_feed_result = 31; - - // The result for the customer label mutate. - MutateCustomerLabelResult customer_label_result = 32; - - // The result for the customer negative criterion mutate. - MutateCustomerNegativeCriteriaResult customer_negative_criterion_result = - 34; - - // The result for the customer mutate. - MutateCustomerResult customer_result = 35; - - // The result for the customizer attribute mutate. - MutateCustomizerAttributeResult customizer_attribute_result = 70; - - // The result for the experiment mutate. - MutateExperimentResult experiment_result = 81; - - // The result for the experiment arm mutate. - MutateExperimentArmResult experiment_arm_result = 82; - - // The result for the extension feed item mutate. - MutateExtensionFeedItemResult extension_feed_item_result = 36; - - // The result for the feed item mutate. - MutateFeedItemResult feed_item_result = 37; - - // The result for the feed item set mutate. - MutateFeedItemSetResult feed_item_set_result = 53; - - // The result for the feed item set link mutate. - MutateFeedItemSetLinkResult feed_item_set_link_result = 54; - - // The result for the feed item target mutate. - MutateFeedItemTargetResult feed_item_target_result = 38; - - // The result for the feed mapping mutate. - MutateFeedMappingResult feed_mapping_result = 39; - - // The result for the feed mutate. - MutateFeedResult feed_result = 40; - - // The result for the keyword plan ad group mutate. - MutateKeywordPlanAdGroupResult keyword_plan_ad_group_result = 44; - - // The result for the keyword plan campaign mutate. - MutateKeywordPlanCampaignResult keyword_plan_campaign_result = 45; - - // The result for the keyword plan ad group keyword mutate. - MutateKeywordPlanAdGroupKeywordResult keyword_plan_ad_group_keyword_result = - 50; - - // The result for the keyword plan campaign keyword mutate. - MutateKeywordPlanCampaignKeywordResult - keyword_plan_campaign_keyword_result = 51; - - // The result for the keyword plan mutate. - MutateKeywordPlansResult keyword_plan_result = 48; - - // The result for the label mutate. - MutateLabelResult label_result = 41; - - // The result for the media file mutate. - MutateMediaFileResult media_file_result = 42; - - // The result for the remarketing action mutate. - MutateRemarketingActionResult remarketing_action_result = 43; - - // The result for the shared criterion mutate. - MutateSharedCriterionResult shared_criterion_result = 14; - - // The result for the shared set mutate. - MutateSharedSetResult shared_set_result = 15; - - // The result for the Smart campaign setting mutate. - MutateSmartCampaignSettingResult smart_campaign_setting_result = 61; - - // The result for the user list mutate. - MutateUserListResult user_list_result = 16; - } -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/invoice_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/invoice_service.proto deleted file mode 100644 index 81ea2645e..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/invoice_service.proto +++ /dev/null @@ -1,86 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/month_of_year.proto"; -import "google/ads/googleads/v13/resources/invoice.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "InvoiceServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the Invoice service. - -// A service to fetch invoices issued for a billing setup during a given month. -service InvoiceService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Returns all invoices associated with a billing setup, for a given month. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [InvoiceError]() - // [QuotaError]() - // [RequestError]() - rpc ListInvoices(ListInvoicesRequest) returns (ListInvoicesResponse) { - option (google.api.http) = { - get: "/v13/customers/{customer_id=*}/invoices" - }; - option (google.api.method_signature) = - "customer_id,billing_setup,issue_year,issue_month"; - } -} - -// Request message for fetching the invoices of a given billing setup that were -// issued during a given month. -message ListInvoicesRequest { - // Required. The ID of the customer to fetch invoices for. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The billing setup resource name of the requested invoices. - // - // `customers/{customer_id}/billingSetups/{billing_setup_id}` - string billing_setup = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. The issue year to retrieve invoices, in yyyy format. Only - // invoices issued in 2019 or later can be retrieved. - string issue_year = 3 [(google.api.field_behavior) = REQUIRED]; - - // Required. The issue month to retrieve invoices. - google.ads.googleads.v13.enums.MonthOfYearEnum.MonthOfYear issue_month = 4 - [(google.api.field_behavior) = REQUIRED]; -} - -// Response message for -// [InvoiceService.ListInvoices][google.ads.googleads.v13.services.InvoiceService.ListInvoices]. -message ListInvoicesResponse { - // The list of invoices that match the billing setup and time period. - repeated google.ads.googleads.v13.resources.Invoice invoices = 1; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/keyword_plan_ad_group_keyword_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/keyword_plan_ad_group_keyword_service.proto deleted file mode 100644 index 9d9d73ff3..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/keyword_plan_ad_group_keyword_service.proto +++ /dev/null @@ -1,141 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/keyword_plan_ad_group_keyword.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanAdGroupKeywordServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the keyword plan ad group keyword service. - -// Service to manage Keyword Plan ad group keywords. KeywordPlanAdGroup is -// required to add ad group keywords. Positive and negative keywords are -// supported. A maximum of 10,000 positive keywords are allowed per keyword -// plan. A maximum of 1,000 negative keywords are allower per keyword plan. This -// includes campaign negative keywords and ad group negative keywords. -service KeywordPlanAdGroupKeywordService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes Keyword Plan ad group keywords. Operation - // statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [KeywordPlanAdGroupKeywordError]() - // [KeywordPlanError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - rpc MutateKeywordPlanAdGroupKeywords(MutateKeywordPlanAdGroupKeywordsRequest) - returns (MutateKeywordPlanAdGroupKeywordsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/keywordPlanAdGroupKeywords:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [KeywordPlanAdGroupKeywordService.MutateKeywordPlanAdGroupKeywords][google.ads.googleads.v13.services.KeywordPlanAdGroupKeywordService.MutateKeywordPlanAdGroupKeywords]. -message MutateKeywordPlanAdGroupKeywordsRequest { - // Required. The ID of the customer whose Keyword Plan ad group keywords are - // being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual Keyword Plan ad - // group keywords. - repeated KeywordPlanAdGroupKeywordOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, update, remove) on a Keyword Plan ad group -// keyword. -message KeywordPlanAdGroupKeywordOperation { - // The FieldMask that determines which resource fields are modified in an - // update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new Keyword Plan - // ad group keyword. - google.ads.googleads.v13.resources.KeywordPlanAdGroupKeyword create = 1; - - // Update operation: The Keyword Plan ad group keyword is expected to have a - // valid resource name. - google.ads.googleads.v13.resources.KeywordPlanAdGroupKeyword update = 2; - - // Remove operation: A resource name for the removed Keyword Plan ad group - // keyword is expected, in this format: - // - // `customers/{customer_id}/keywordPlanAdGroupKeywords/{kp_ad_group_keyword_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlanAdGroupKeyword" - }]; - } -} - -// Response message for a Keyword Plan ad group keyword mutate. -message MutateKeywordPlanAdGroupKeywordsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateKeywordPlanAdGroupKeywordResult results = 2; -} - -// The result for the Keyword Plan ad group keyword mutate. -message MutateKeywordPlanAdGroupKeywordResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlanAdGroupKeyword" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/keyword_plan_ad_group_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/keyword_plan_ad_group_service.proto deleted file mode 100644 index 64b2289f8..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/keyword_plan_ad_group_service.proto +++ /dev/null @@ -1,139 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/keyword_plan_ad_group.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanAdGroupServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the keyword plan ad group service. - -// Service to manage Keyword Plan ad groups. -service KeywordPlanAdGroupService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes Keyword Plan ad groups. Operation statuses are - // returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [InternalError]() - // [KeywordPlanAdGroupError]() - // [KeywordPlanError]() - // [MutateError]() - // [NewResourceCreationError]() - // [QuotaError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - rpc MutateKeywordPlanAdGroups(MutateKeywordPlanAdGroupsRequest) - returns (MutateKeywordPlanAdGroupsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/keywordPlanAdGroups:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [KeywordPlanAdGroupService.MutateKeywordPlanAdGroups][google.ads.googleads.v13.services.KeywordPlanAdGroupService.MutateKeywordPlanAdGroups]. -message MutateKeywordPlanAdGroupsRequest { - // Required. The ID of the customer whose Keyword Plan ad groups are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual Keyword Plan ad - // groups. - repeated KeywordPlanAdGroupOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, update, remove) on a Keyword Plan ad group. -message KeywordPlanAdGroupOperation { - // The FieldMask that determines which resource fields are modified in an - // update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new Keyword Plan - // ad group. - google.ads.googleads.v13.resources.KeywordPlanAdGroup create = 1; - - // Update operation: The Keyword Plan ad group is expected to have a valid - // resource name. - google.ads.googleads.v13.resources.KeywordPlanAdGroup update = 2; - - // Remove operation: A resource name for the removed Keyword Plan ad group - // is expected, in this format: - // - // `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlanAdGroup" - }]; - } -} - -// Response message for a Keyword Plan ad group mutate. -message MutateKeywordPlanAdGroupsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. The order of the results is determined by the - // order of the keywords in the original request. - repeated MutateKeywordPlanAdGroupResult results = 2; -} - -// The result for the Keyword Plan ad group mutate. -message MutateKeywordPlanAdGroupResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlanAdGroup" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/keyword_plan_campaign_keyword_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/keyword_plan_campaign_keyword_service.proto deleted file mode 100644 index ea48f7f42..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/keyword_plan_campaign_keyword_service.proto +++ /dev/null @@ -1,140 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/keyword_plan_campaign_keyword.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanCampaignKeywordServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the keyword plan campaign keyword service. - -// Service to manage Keyword Plan campaign keywords. KeywordPlanCampaign is -// required to add the campaign keywords. Only negative keywords are supported. -// A maximum of 1000 negative keywords are allowed per plan. This includes both -// campaign negative keywords and ad group negative keywords. -service KeywordPlanCampaignKeywordService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes Keyword Plan campaign keywords. Operation - // statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [KeywordPlanAdGroupKeywordError]() - // [KeywordPlanCampaignKeywordError]() - // [QuotaError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - rpc MutateKeywordPlanCampaignKeywords( - MutateKeywordPlanCampaignKeywordsRequest) - returns (MutateKeywordPlanCampaignKeywordsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/keywordPlanCampaignKeywords:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords][google.ads.googleads.v13.services.KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords]. -message MutateKeywordPlanCampaignKeywordsRequest { - // Required. The ID of the customer whose campaign keywords are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual Keyword Plan - // campaign keywords. - repeated KeywordPlanCampaignKeywordOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, update, remove) on a Keyword Plan campaign -// keyword. -message KeywordPlanCampaignKeywordOperation { - // The FieldMask that determines which resource fields are modified in an - // update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new Keyword Plan - // campaign keyword. - google.ads.googleads.v13.resources.KeywordPlanCampaignKeyword create = 1; - - // Update operation: The Keyword Plan campaign keyword expected to have a - // valid resource name. - google.ads.googleads.v13.resources.KeywordPlanCampaignKeyword update = 2; - - // Remove operation: A resource name for the removed Keyword Plan campaign - // keywords expected in this format: - // - // `customers/{customer_id}/keywordPlanCampaignKeywords/{kp_campaign_keyword_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlanCampaignKeyword" - }]; - } -} - -// Response message for a Keyword Plan campaign keyword mutate. -message MutateKeywordPlanCampaignKeywordsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateKeywordPlanCampaignKeywordResult results = 2; -} - -// The result for the Keyword Plan campaign keyword mutate. -message MutateKeywordPlanCampaignKeywordResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlanCampaignKeyword" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/keyword_plan_campaign_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/keyword_plan_campaign_service.proto deleted file mode 100644 index 1bcc7367e..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/keyword_plan_campaign_service.proto +++ /dev/null @@ -1,139 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/keyword_plan_campaign.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanCampaignServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the keyword plan campaign service. - -// Service to manage Keyword Plan campaigns. -service KeywordPlanCampaignService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes Keyword Plan campaigns. Operation statuses are - // returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [InternalError]() - // [KeywordPlanCampaignError]() - // [KeywordPlanError]() - // [ListOperationError]() - // [MutateError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - rpc MutateKeywordPlanCampaigns(MutateKeywordPlanCampaignsRequest) - returns (MutateKeywordPlanCampaignsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/keywordPlanCampaigns:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [KeywordPlanCampaignService.MutateKeywordPlanCampaigns][google.ads.googleads.v13.services.KeywordPlanCampaignService.MutateKeywordPlanCampaigns]. -message MutateKeywordPlanCampaignsRequest { - // Required. The ID of the customer whose Keyword Plan campaigns are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual Keyword Plan - // campaigns. - repeated KeywordPlanCampaignOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, update, remove) on a Keyword Plan campaign. -message KeywordPlanCampaignOperation { - // The FieldMask that determines which resource fields are modified in an - // update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new Keyword Plan - // campaign. - google.ads.googleads.v13.resources.KeywordPlanCampaign create = 1; - - // Update operation: The Keyword Plan campaign is expected to have a valid - // resource name. - google.ads.googleads.v13.resources.KeywordPlanCampaign update = 2; - - // Remove operation: A resource name for the removed Keyword Plan campaign - // is expected, in this format: - // - // `customers/{customer_id}/keywordPlanCampaigns/{keywordPlan_campaign_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlanCampaign" - }]; - } -} - -// Response message for a Keyword Plan campaign mutate. -message MutateKeywordPlanCampaignsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateKeywordPlanCampaignResult results = 2; -} - -// The result for the Keyword Plan campaign mutate. -message MutateKeywordPlanCampaignResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlanCampaign" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/keyword_plan_idea_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/keyword_plan_idea_service.proto deleted file mode 100644 index e03bd1511..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/keyword_plan_idea_service.proto +++ /dev/null @@ -1,370 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/common/keyword_plan_common.proto"; -import "google/ads/googleads/v13/enums/keyword_match_type.proto"; -import "google/ads/googleads/v13/enums/keyword_plan_keyword_annotation.proto"; -import "google/ads/googleads/v13/enums/keyword_plan_network.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanIdeaServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the keyword plan idea service. - -// Service to generate keyword ideas. -service KeywordPlanIdeaService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Returns a list of keyword ideas. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [HeaderError]() - // [InternalError]() - // [KeywordPlanIdeaError]() - // [QuotaError]() - // [RequestError]() - rpc GenerateKeywordIdeas(GenerateKeywordIdeasRequest) - returns (GenerateKeywordIdeaResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}:generateKeywordIdeas" - body: "*" - }; - } - - // Returns a list of keyword historical metrics. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc GenerateKeywordHistoricalMetrics(GenerateKeywordHistoricalMetricsRequest) - returns (GenerateKeywordHistoricalMetricsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}:generateKeywordHistoricalMetrics" - body: "*" - }; - } - - // Returns a list of suggested AdGroups and suggested modifications - // (text, match type) for the given keywords. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc GenerateAdGroupThemes(GenerateAdGroupThemesRequest) - returns (GenerateAdGroupThemesResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}:generateAdGroupThemes" - body: "*" - }; - } -} - -// Request message for -// [KeywordPlanIdeaService.GenerateKeywordIdeas][google.ads.googleads.v13.services.KeywordPlanIdeaService.GenerateKeywordIdeas]. -message GenerateKeywordIdeasRequest { - // The ID of the customer with the recommendation. - string customer_id = 1; - - // The resource name of the language to target. - // Each keyword belongs to some set of languages; a keyword is included if - // language is one of its languages. - // If not set, all keywords will be included. - optional string language = 14; - - // The resource names of the location to target. Maximum is 10. - // An empty list MAY be used to specify all targeting geos. - repeated string geo_target_constants = 15; - - // If true, adult keywords will be included in response. - // The default value is false. - bool include_adult_keywords = 10; - - // Token of the page to retrieve. If not specified, the first - // page of results will be returned. To request next page of results use the - // value obtained from `next_page_token` in the previous response. - // The request fields must match across pages. - string page_token = 12; - - // Number of results to retrieve in a single page. - // A maximum of 10,000 results may be returned, if the page_size - // exceeds this, it is ignored. - // If unspecified, at most 10,000 results will be returned. - // The server may decide to further limit the number of returned resources. - // If the response contains fewer than 10,000 results it may not be assumed - // as last page of results. - int32 page_size = 13; - - // Targeting network. - // If not set, Google Search And Partners Network will be used. - google.ads.googleads.v13.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork - keyword_plan_network = 9; - - // The keyword annotations to include in response. - repeated google.ads.googleads.v13.enums.KeywordPlanKeywordAnnotationEnum - .KeywordPlanKeywordAnnotation keyword_annotation = 17; - - // The aggregate fields to include in response. - google.ads.googleads.v13.common.KeywordPlanAggregateMetrics - aggregate_metrics = 16; - - // The options for historical metrics data. - google.ads.googleads.v13.common.HistoricalMetricsOptions - historical_metrics_options = 18; - - // The type of seed to generate keyword ideas. - oneof seed { - // A Keyword and a specific Url to generate ideas from - // for example, cars, www.example.com/cars. - KeywordAndUrlSeed keyword_and_url_seed = 2; - - // A Keyword or phrase to generate ideas from, for example, cars. - KeywordSeed keyword_seed = 3; - - // A specific url to generate ideas from, for example, www.example.com/cars. - UrlSeed url_seed = 5; - - // The site to generate ideas from, for example, www.example.com. - SiteSeed site_seed = 11; - } -} - -// Keyword And Url Seed -message KeywordAndUrlSeed { - // The URL to crawl in order to generate keyword ideas. - optional string url = 3; - - // Requires at least one keyword. - repeated string keywords = 4; -} - -// Keyword Seed -message KeywordSeed { - // Requires at least one keyword. - repeated string keywords = 2; -} - -// Site Seed -message SiteSeed { - // The domain name of the site. If the customer requesting the ideas doesn't - // own the site provided only public information is returned. - optional string site = 2; -} - -// Url Seed -message UrlSeed { - // The URL to crawl in order to generate keyword ideas. - optional string url = 2; -} - -// Response message for -// [KeywordPlanIdeaService.GenerateKeywordIdeas][google.ads.googleads.v13.services.KeywordPlanIdeaService.GenerateKeywordIdeas]. -message GenerateKeywordIdeaResponse { - // Results of generating keyword ideas. - repeated GenerateKeywordIdeaResult results = 1; - - // The aggregate metrics for all keyword ideas. - google.ads.googleads.v13.common.KeywordPlanAggregateMetricResults - aggregate_metric_results = 4; - - // Pagination token used to retrieve the next page of results. - // Pass the content of this string as the `page_token` attribute of - // the next request. - // `next_page_token` is not returned for the last page. - string next_page_token = 2; - - // Total number of results available. - int64 total_size = 3; -} - -// The result of generating keyword ideas. -message GenerateKeywordIdeaResult { - // Text of the keyword idea. - // As in Keyword Plan historical metrics, this text may not be an actual - // keyword, but the canonical form of multiple keywords. - // See KeywordPlanKeywordHistoricalMetrics message in KeywordPlanService. - optional string text = 5; - - // The historical metrics for the keyword. - google.ads.googleads.v13.common.KeywordPlanHistoricalMetrics - keyword_idea_metrics = 3; - - // The annotations for the keyword. - // The annotation data is only provided if requested. - google.ads.googleads.v13.common.KeywordAnnotations keyword_annotations = 6; - - // The list of close variants from the requested keywords that - // are combined into this GenerateKeywordIdeaResult. See - // https://support.google.com/google-ads/answer/9342105 for the - // definition of "close variants". - repeated string close_variants = 7; -} - -// Request message for -// [KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics][google.ads.googleads.v13.services.KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics]. -message GenerateKeywordHistoricalMetricsRequest { - // The ID of the customer with the recommendation. - string customer_id = 1; - - // A list of keywords to get historical metrics. - // Not all inputs will be returned as a result of near-exact deduplication. - // For example, if stats for "car" and "cars" are requested, only "car" will - // be returned. - // A maximum of 10,000 keywords can be used. - repeated string keywords = 2; - - // The resource name of the language to target. - // Each keyword belongs to some set of languages; a keyword is included if - // language is one of its languages. - // If not set, all keywords will be included. - optional string language = 4; - - // If true, adult keywords will be included in response. - // The default value is false. - bool include_adult_keywords = 5; - - // The resource names of the location to target. Maximum is 10. - // An empty list MAY be used to specify all targeting geos. - repeated string geo_target_constants = 6; - - // Targeting network. - // If not set, Google Search And Partners Network will be used. - google.ads.googleads.v13.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork - keyword_plan_network = 7; - - // The aggregate fields to include in response. - google.ads.googleads.v13.common.KeywordPlanAggregateMetrics - aggregate_metrics = 8; - - // The options for historical metrics data. - google.ads.googleads.v13.common.HistoricalMetricsOptions - historical_metrics_options = 3; -} - -// Response message for -// [KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics][google.ads.googleads.v13.services.KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics]. -message GenerateKeywordHistoricalMetricsResponse { - // List of keywords and their historical metrics. - repeated GenerateKeywordHistoricalMetricsResult results = 1; - - // The aggregate metrics for all keywords. - google.ads.googleads.v13.common.KeywordPlanAggregateMetricResults - aggregate_metric_results = 2; -} - -// The result of generating keyword historical metrics. -message GenerateKeywordHistoricalMetricsResult { - // The text of the query associated with one or more keywords. - // Note that we de-dupe your keywords list, eliminating close variants - // before returning the keywords as text. For example, if your request - // originally contained the keywords "car" and "cars", the returned search - // query will only contain "cars". The list of de-duped queries will be - // included in close_variants field. - optional string text = 1; - - // The list of close variants from the requested keywords whose stats - // are combined into this GenerateKeywordHistoricalMetricsResult. - repeated string close_variants = 3; - - // The historical metrics for text and its close variants - google.ads.googleads.v13.common.KeywordPlanHistoricalMetrics keyword_metrics = - 2; -} - -// Request message for -// [KeywordPlanIdeaService.GenerateAdGroupThemes][google.ads.googleads.v13.services.KeywordPlanIdeaService.GenerateAdGroupThemes]. -message GenerateAdGroupThemesRequest { - // Required. The ID of the customer. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. A list of keywords to group into the provided AdGroups. - repeated string keywords = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. A list of resource names of AdGroups to group keywords into. - // Resource name format: `customers/{customer_id}/adGroups/{ad_group_id}` - repeated string ad_groups = 3 [(google.api.field_behavior) = REQUIRED]; -} - -// Response message for -// [KeywordPlanIdeaService.GenerateAdGroupThemes][google.ads.googleads.v13.services.KeywordPlanIdeaService.GenerateAdGroupThemes]. -message GenerateAdGroupThemesResponse { - // A list of suggested AdGroup/keyword pairings. - repeated AdGroupKeywordSuggestion ad_group_keyword_suggestions = 1; - - // A list of provided AdGroups that could not be used as suggestions. - repeated UnusableAdGroup unusable_ad_groups = 2; -} - -// The suggested text and AdGroup/Campaign pairing for a given keyword. -message AdGroupKeywordSuggestion { - // The original keyword text. - string keyword_text = 1; - - // The normalized version of keyword_text for BROAD/EXACT/PHRASE suggestions. - string suggested_keyword_text = 2; - - // The suggested keyword match type. - google.ads.googleads.v13.enums.KeywordMatchTypeEnum.KeywordMatchType - suggested_match_type = 3; - - // The suggested AdGroup for the keyword. - // Resource name format: `customers/{customer_id}/adGroups/{ad_group_id}` - string suggested_ad_group = 4; - - // The suggested Campaign for the keyword. - // Resource name format: `customers/{customer_id}/campaigns/{campaign_id}` - string suggested_campaign = 5; -} - -// An AdGroup/Campaign pair that could not be used as a suggestion for keywords. -// -// AdGroups may not be usable if the AdGroup -// -// * belongs to a Campaign that is not ENABLED or PAUSED -// * is itself not ENABLED -message UnusableAdGroup { - // The AdGroup resource name. - // Resource name format: `customers/{customer_id}/adGroups/{ad_group_id}` - string ad_group = 1; - - // The Campaign resource name. - // Resource name format: `customers/{customer_id}/campaigns/{campaign_id}` - string campaign = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/keyword_plan_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/keyword_plan_service.proto deleted file mode 100644 index 05d4c02df..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/keyword_plan_service.proto +++ /dev/null @@ -1,440 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/common/keyword_plan_common.proto"; -import "google/ads/googleads/v13/resources/keyword_plan.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the keyword plan service. - -// Service to manage keyword plans. -service KeywordPlanService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes keyword plans. Operation statuses are - // returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [KeywordPlanError]() - // [MutateError]() - // [NewResourceCreationError]() - // [QuotaError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - // [StringLengthError]() - rpc MutateKeywordPlans(MutateKeywordPlansRequest) - returns (MutateKeywordPlansResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/keywordPlans:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } - - // Returns the requested Keyword Plan forecast curve. - // Only the bidding strategy is considered for generating forecast curve. - // The bidding strategy value specified in the plan is ignored. - // - // To generate a forecast at a value specified in the plan, use - // KeywordPlanService.GenerateForecastMetrics. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [KeywordPlanError]() - // [QuotaError]() - // [RequestError]() - rpc GenerateForecastCurve(GenerateForecastCurveRequest) - returns (GenerateForecastCurveResponse) { - option (google.api.http) = { - post: "/v13/{keyword_plan=customers/*/keywordPlans/*}:generateForecastCurve" - body: "*" - }; - option (google.api.method_signature) = "keyword_plan"; - } - - // Returns a forecast in the form of a time series for the Keyword Plan over - // the next 52 weeks. - // (1) Forecasts closer to the current date are generally more accurate than - // further out. - // - // (2) The forecast reflects seasonal trends using current and - // prior traffic patterns. The forecast period of the plan is ignored. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [KeywordPlanError]() - // [QuotaError]() - // [RequestError]() - rpc GenerateForecastTimeSeries(GenerateForecastTimeSeriesRequest) - returns (GenerateForecastTimeSeriesResponse) { - option (google.api.http) = { - post: "/v13/{keyword_plan=customers/*/keywordPlans/*}:generateForecastTimeSeries" - body: "*" - }; - option (google.api.method_signature) = "keyword_plan"; - } - - // Returns the requested Keyword Plan forecasts. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [KeywordPlanError]() - // [QuotaError]() - // [RequestError]() - rpc GenerateForecastMetrics(GenerateForecastMetricsRequest) - returns (GenerateForecastMetricsResponse) { - option (google.api.http) = { - post: "/v13/{keyword_plan=customers/*/keywordPlans/*}:generateForecastMetrics" - body: "*" - }; - option (google.api.method_signature) = "keyword_plan"; - } - - // Returns the requested Keyword Plan historical metrics. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [KeywordPlanError]() - // [QuotaError]() - // [RequestError]() - rpc GenerateHistoricalMetrics(GenerateHistoricalMetricsRequest) - returns (GenerateHistoricalMetricsResponse) { - option (google.api.http) = { - post: "/v13/{keyword_plan=customers/*/keywordPlans/*}:generateHistoricalMetrics" - body: "*" - }; - option (google.api.method_signature) = "keyword_plan"; - } -} - -// Request message for -// [KeywordPlanService.MutateKeywordPlans][google.ads.googleads.v13.services.KeywordPlanService.MutateKeywordPlans]. -message MutateKeywordPlansRequest { - // Required. The ID of the customer whose keyword plans are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual keyword plans. - repeated KeywordPlanOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, update, remove) on a keyword plan. -message KeywordPlanOperation { - // The FieldMask that determines which resource fields are modified in an - // update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new keyword plan. - google.ads.googleads.v13.resources.KeywordPlan create = 1; - - // Update operation: The keyword plan is expected to have a valid resource - // name. - google.ads.googleads.v13.resources.KeywordPlan update = 2; - - // Remove operation: A resource name for the removed keyword plan is - // expected in this format: - // - // `customers/{customer_id}/keywordPlans/{keyword_plan_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlan" - }]; - } -} - -// Response message for a keyword plan mutate. -message MutateKeywordPlansResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateKeywordPlansResult results = 2; -} - -// The result for the keyword plan mutate. -message MutateKeywordPlansResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlan" - }]; -} - -// Request message for -// [KeywordPlanService.GenerateForecastCurve][google.ads.googleads.v13.services.KeywordPlanService.GenerateForecastCurve]. -message GenerateForecastCurveRequest { - // Required. The resource name of the keyword plan to be forecasted. - string keyword_plan = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlan" - } - ]; -} - -// Response message for -// [KeywordPlanService.GenerateForecastCurve][google.ads.googleads.v13.services.KeywordPlanService.GenerateForecastCurve]. -message GenerateForecastCurveResponse { - // List of forecast curves for the keyword plan campaign. - // One maximum. - repeated KeywordPlanCampaignForecastCurve campaign_forecast_curves = 1; -} - -// Request message for -// [KeywordPlanService.GenerateForecastTimeSeries][google.ads.googleads.v13.services.KeywordPlanService.GenerateForecastTimeSeries]. -message GenerateForecastTimeSeriesRequest { - // Required. The resource name of the keyword plan to be forecasted. - string keyword_plan = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlan" - } - ]; -} - -// Response message for -// [KeywordPlanService.GenerateForecastTimeSeries][google.ads.googleads.v13.services.KeywordPlanService.GenerateForecastTimeSeries]. -message GenerateForecastTimeSeriesResponse { - // List of weekly time series forecasts for the keyword plan campaign. - // One maximum. - repeated KeywordPlanWeeklyTimeSeriesForecast weekly_time_series_forecasts = 1; -} - -// Request message for -// [KeywordPlanService.GenerateForecastMetrics][google.ads.googleads.v13.services.KeywordPlanService.GenerateForecastMetrics]. -message GenerateForecastMetricsRequest { - // Required. The resource name of the keyword plan to be forecasted. - string keyword_plan = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlan" - } - ]; -} - -// Response message for -// [KeywordPlanService.GenerateForecastMetrics][google.ads.googleads.v13.services.KeywordPlanService.GenerateForecastMetrics]. -message GenerateForecastMetricsResponse { - // List of campaign forecasts. - // One maximum. - repeated KeywordPlanCampaignForecast campaign_forecasts = 1; - - // List of ad group forecasts. - repeated KeywordPlanAdGroupForecast ad_group_forecasts = 2; - - // List of keyword forecasts. - repeated KeywordPlanKeywordForecast keyword_forecasts = 3; -} - -// A campaign forecast. -message KeywordPlanCampaignForecast { - // The resource name of the Keyword Plan campaign related to the forecast. - // - // `customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}` - optional string keyword_plan_campaign = 3; - - // The forecast for the Keyword Plan campaign. - ForecastMetrics campaign_forecast = 2; -} - -// An ad group forecast. -message KeywordPlanAdGroupForecast { - // The resource name of the Keyword Plan ad group related to the forecast. - // - // `customers/{customer_id}/keywordPlanAdGroups/{keyword_plan_ad_group_id}` - optional string keyword_plan_ad_group = 3; - - // The forecast for the Keyword Plan ad group. - ForecastMetrics ad_group_forecast = 2; -} - -// A keyword forecast. -message KeywordPlanKeywordForecast { - // The resource name of the Keyword Plan keyword related to the forecast. - // - // `customers/{customer_id}/keywordPlanAdGroupKeywords/{keyword_plan_ad_group_keyword_id}` - optional string keyword_plan_ad_group_keyword = 3; - - // The forecast for the Keyword Plan keyword. - ForecastMetrics keyword_forecast = 2; -} - -// The forecast curve for the campaign. -message KeywordPlanCampaignForecastCurve { - // The resource name of the Keyword Plan campaign related to the forecast. - // - // `customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}` - optional string keyword_plan_campaign = 3; - - // The max cpc bid forecast curve for the campaign. - KeywordPlanMaxCpcBidForecastCurve max_cpc_bid_forecast_curve = 2; -} - -// The max cpc bid forecast curve. -message KeywordPlanMaxCpcBidForecastCurve { - // The forecasts for the Keyword Plan campaign at different max CPC bids. - repeated KeywordPlanMaxCpcBidForecast max_cpc_bid_forecasts = 1; -} - -// The forecast of the campaign at a specific bid. -message KeywordPlanMaxCpcBidForecast { - // The max cpc bid in micros. - optional int64 max_cpc_bid_micros = 3; - - // The forecast for the Keyword Plan campaign at the specific bid. - ForecastMetrics max_cpc_bid_forecast = 2; -} - -// The weekly time series forecast for the keyword plan campaign. -message KeywordPlanWeeklyTimeSeriesForecast { - // The resource name of the Keyword Plan campaign related to the forecast. - // - // `customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}` - optional string keyword_plan_campaign = 1; - - // The forecasts for the Keyword Plan campaign at different max CPC bids. - repeated KeywordPlanWeeklyForecast weekly_forecasts = 2; -} - -// The forecast of the campaign for the week starting start_date. -message KeywordPlanWeeklyForecast { - // The start date, in yyyy-mm-dd format. This date is inclusive. - optional string start_date = 1; - - // The forecast for the Keyword Plan campaign for the week. - ForecastMetrics forecast = 2; -} - -// Forecast metrics. -message ForecastMetrics { - // Impressions - optional double impressions = 7; - - // Ctr - optional double ctr = 8; - - // AVG cpc - optional int64 average_cpc = 9; - - // Clicks - optional double clicks = 10; - - // Cost - optional int64 cost_micros = 11; -} - -// Request message for -// [KeywordPlanService.GenerateHistoricalMetrics][google.ads.googleads.v13.services.KeywordPlanService.GenerateHistoricalMetrics]. -message GenerateHistoricalMetricsRequest { - // Required. The resource name of the keyword plan of which historical metrics - // are requested. - string keyword_plan = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/KeywordPlan" - } - ]; - - // The aggregate fields to include in response. - google.ads.googleads.v13.common.KeywordPlanAggregateMetrics - aggregate_metrics = 2; - - // The options for historical metrics data. - google.ads.googleads.v13.common.HistoricalMetricsOptions - historical_metrics_options = 3; -} - -// Response message for -// [KeywordPlanService.GenerateHistoricalMetrics][google.ads.googleads.v13.services.KeywordPlanService.GenerateHistoricalMetrics]. -message GenerateHistoricalMetricsResponse { - // List of keyword historical metrics. - repeated KeywordPlanKeywordHistoricalMetrics metrics = 1; - - // The aggregate metrics for all the keywords in the keyword planner plan. - google.ads.googleads.v13.common.KeywordPlanAggregateMetricResults - aggregate_metric_results = 2; -} - -// A keyword historical metrics. -message KeywordPlanKeywordHistoricalMetrics { - // The text of the query associated with one or more ad_group_keywords in the - // plan. - // - // Note that we de-dupe your keywords list, eliminating close variants before - // returning the plan's keywords as text. For example, if your plan originally - // contained the keywords 'car' and 'cars', the returned search query will - // only contain 'cars'. - // Starting V5, the list of de-duped queries will be included in - // close_variants field. - optional string search_query = 4; - - // The list of close variant queries for search_query whose search results - // are combined into the search_query. - repeated string close_variants = 3; - - // The historical metrics for the query associated with one or more - // ad_group_keywords in the plan. - google.ads.googleads.v13.common.KeywordPlanHistoricalMetrics keyword_metrics = - 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/keyword_theme_constant_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/keyword_theme_constant_service.proto deleted file mode 100644 index aa1af5780..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/keyword_theme_constant_service.proto +++ /dev/null @@ -1,79 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/keyword_theme_constant.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "KeywordThemeConstantServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the Smart Campaign keyword theme constant service. - -// Service to fetch Smart Campaign keyword themes. -service KeywordThemeConstantService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Returns KeywordThemeConstant suggestions by keyword themes. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc SuggestKeywordThemeConstants(SuggestKeywordThemeConstantsRequest) - returns (SuggestKeywordThemeConstantsResponse) { - option (google.api.http) = { - post: "/v13/keywordThemeConstants:suggest" - body: "*" - }; - } -} - -// Request message for -// [KeywordThemeConstantService.SuggestKeywordThemeConstants][google.ads.googleads.v13.services.KeywordThemeConstantService.SuggestKeywordThemeConstants]. -message SuggestKeywordThemeConstantsRequest { - // The query text of a keyword theme that will be used to map to similar - // keyword themes. For example, "plumber" or "roofer". - string query_text = 1; - - // Upper-case, two-letter country code as defined by ISO-3166. This for - // refining the scope of the query, default to 'US' if not set. - string country_code = 2; - - // The two letter language code for get corresponding keyword theme for - // refining the scope of the query, default to 'en' if not set. - string language_code = 3; -} - -// Response message for -// [KeywordThemeConstantService.SuggestKeywordThemeConstants][google.ads.googleads.v13.services.KeywordThemeConstantService.SuggestKeywordThemeConstants]. -message SuggestKeywordThemeConstantsResponse { - // Smart Campaign keyword theme suggestions. - repeated google.ads.googleads.v13.resources.KeywordThemeConstant - keyword_theme_constants = 1; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/label_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/label_service.proto deleted file mode 100644 index 9312d472a..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/label_service.proto +++ /dev/null @@ -1,148 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/label.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "LabelServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Service to manage labels. -service LabelService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes labels. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [DateError]() - // [DistinctError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [LabelError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [NullError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - rpc MutateLabels(MutateLabelsRequest) returns (MutateLabelsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/labels:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [LabelService.MutateLabels][google.ads.googleads.v13.services.LabelService.MutateLabels]. -message MutateLabelsRequest { - // Required. ID of the customer whose labels are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on labels. - repeated LabelOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation (create, remove, update) on a label. -message LabelOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new label. - google.ads.googleads.v13.resources.Label create = 1; - - // Update operation: The label is expected to have a valid resource name. - google.ads.googleads.v13.resources.Label update = 2; - - // Remove operation: A resource name for the label being removed, in - // this format: - // - // `customers/{customer_id}/labels/{label_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Label" - }]; - } -} - -// Response message for a labels mutate. -message MutateLabelsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateLabelResult results = 2; -} - -// The result for a label mutate. -message MutateLabelResult { - // Returned for successful operations. - string resource_name = 1 [ - (google.api.resource_reference) = { type: "googleads.googleapis.com/Label" } - ]; - - // The mutated label with only mutable fields after mutate. The field will - // only be returned when response_content_type is set to "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.Label label = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/media_file_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/media_file_service.proto deleted file mode 100644 index 8ead96cc1..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/media_file_service.proto +++ /dev/null @@ -1,135 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/media_file.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "MediaFileServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the Media File service. - -// Service to manage media files. -service MediaFileService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates media files. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [DistinctError]() - // [FieldError]() - // [HeaderError]() - // [IdError]() - // [ImageError]() - // [InternalError]() - // [MediaBundleError]() - // [MediaFileError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [NullError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - rpc MutateMediaFiles(MutateMediaFilesRequest) - returns (MutateMediaFilesResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/mediaFiles:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [MediaFileService.MutateMediaFiles][google.ads.googleads.v13.services.MediaFileService.MutateMediaFiles] -message MutateMediaFilesRequest { - // Required. The ID of the customer whose media files are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual media file. - repeated MediaFileOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation to create media file. -message MediaFileOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new media file. - google.ads.googleads.v13.resources.MediaFile create = 1; - } -} - -// Response message for a media file mutate. -message MutateMediaFilesResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateMediaFileResult results = 2; -} - -// The result for the media file mutate. -message MutateMediaFileResult { - // The resource name returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/MediaFile" - }]; - - // The mutated media file with only mutable fields after mutate. The field - // will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.MediaFile media_file = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/merchant_center_link_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/merchant_center_link_service.proto deleted file mode 100644 index aa39d0db5..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/merchant_center_link_service.proto +++ /dev/null @@ -1,173 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/merchant_center_link.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "MerchantCenterLinkServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the MerchantCenterLink service. - -// This service allows management of links between Google Ads and Google -// Merchant Center. -service MerchantCenterLinkService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Returns Merchant Center links available for this customer. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc ListMerchantCenterLinks(ListMerchantCenterLinksRequest) - returns (ListMerchantCenterLinksResponse) { - option (google.api.http) = { - get: "/v13/customers/{customer_id=*}/merchantCenterLinks" - }; - option (google.api.method_signature) = "customer_id"; - } - - // Returns the Merchant Center link in full detail. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc GetMerchantCenterLink(GetMerchantCenterLinkRequest) - returns (google.ads.googleads.v13.resources.MerchantCenterLink) { - option (google.api.http) = { - get: "/v13/{resource_name=customers/*/merchantCenterLinks/*}" - }; - option (google.api.method_signature) = "resource_name"; - } - - // Updates status or removes a Merchant Center link. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [FieldMaskError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc MutateMerchantCenterLink(MutateMerchantCenterLinkRequest) - returns (MutateMerchantCenterLinkResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/merchantCenterLinks:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operation"; - } -} - -// Request message for -// [MerchantCenterLinkService.ListMerchantCenterLinks][google.ads.googleads.v13.services.MerchantCenterLinkService.ListMerchantCenterLinks]. -message ListMerchantCenterLinksRequest { - // Required. The ID of the customer onto which to apply the Merchant Center - // link list operation. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; -} - -// Response message for -// [MerchantCenterLinkService.ListMerchantCenterLinks][google.ads.googleads.v13.services.MerchantCenterLinkService.ListMerchantCenterLinks]. -message ListMerchantCenterLinksResponse { - // Merchant Center links available for the requested customer - repeated google.ads.googleads.v13.resources.MerchantCenterLink - merchant_center_links = 1; -} - -// Request message for -// [MerchantCenterLinkService.GetMerchantCenterLink][google.ads.googleads.v13.services.MerchantCenterLinkService.GetMerchantCenterLink]. -message GetMerchantCenterLinkRequest { - // Required. Resource name of the Merchant Center link. - string resource_name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/MerchantCenterLink" - } - ]; -} - -// Request message for -// [MerchantCenterLinkService.MutateMerchantCenterLink][google.ads.googleads.v13.services.MerchantCenterLinkService.MutateMerchantCenterLink]. -message MutateMerchantCenterLinkRequest { - // Required. The ID of the customer being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The operation to perform on the link - MerchantCenterLinkOperation operation = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; -} - -// A single update on a Merchant Center link. -message MerchantCenterLinkOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 3; - - // The operation to perform - oneof operation { - // Update operation: The merchant center link is expected to have a valid - // resource name. - google.ads.googleads.v13.resources.MerchantCenterLink update = 1; - - // Remove operation: A resource name for the removed merchant center link is - // expected, in this format: - // - // `customers/{customer_id}/merchantCenterLinks/{merchant_center_id}` - string remove = 2 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/MerchantCenterLink" - }]; - } -} - -// Response message for Merchant Center link mutate. -message MutateMerchantCenterLinkResponse { - // Result for the mutate. - MutateMerchantCenterLinkResult result = 2; -} - -// The result for the Merchant Center link mutate. -message MutateMerchantCenterLinkResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/MerchantCenterLink" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/offline_user_data_job_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/offline_user_data_job_service.proto deleted file mode 100644 index c3e4750ac..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/offline_user_data_job_service.proto +++ /dev/null @@ -1,220 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/common/offline_user_data.proto"; -import "google/ads/googleads/v13/resources/offline_user_data_job.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/longrunning/operations.proto"; -import "google/protobuf/empty.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "OfflineUserDataJobServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the OfflineUserDataJobService. - -// Service to manage offline user data jobs. -service OfflineUserDataJobService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates an offline user data job. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [NotAllowlistedError]() - // [OfflineUserDataJobError]() - // [QuotaError]() - // [RequestError]() - rpc CreateOfflineUserDataJob(CreateOfflineUserDataJobRequest) - returns (CreateOfflineUserDataJobResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/offlineUserDataJobs:create" - body: "*" - }; - option (google.api.method_signature) = "customer_id,job"; - } - - // Adds operations to the offline user data job. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [OfflineUserDataJobError]() - // [QuotaError]() - // [RequestError]() - rpc AddOfflineUserDataJobOperations(AddOfflineUserDataJobOperationsRequest) - returns (AddOfflineUserDataJobOperationsResponse) { - option (google.api.http) = { - post: "/v13/{resource_name=customers/*/offlineUserDataJobs/*}:addOperations" - body: "*" - }; - option (google.api.method_signature) = "resource_name,operations"; - } - - // Runs the offline user data job. - // - // When finished, the long running operation will contain the processing - // result or failure information, if any. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [HeaderError]() - // [InternalError]() - // [OfflineUserDataJobError]() - // [QuotaError]() - // [RequestError]() - rpc RunOfflineUserDataJob(RunOfflineUserDataJobRequest) - returns (google.longrunning.Operation) { - option (google.api.http) = { - post: "/v13/{resource_name=customers/*/offlineUserDataJobs/*}:run" - body: "*" - }; - option (google.api.method_signature) = "resource_name"; - option (google.longrunning.operation_info) = { - response_type: "google.protobuf.Empty" - metadata_type: "google.ads.googleads.v13.resources.OfflineUserDataJobMetadata" - }; - } -} - -// Request message for -// [OfflineUserDataJobService.CreateOfflineUserDataJob][google.ads.googleads.v13.services.OfflineUserDataJobService.CreateOfflineUserDataJob]. -message CreateOfflineUserDataJobRequest { - // Required. The ID of the customer for which to create an offline user data - // job. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The offline user data job to be created. - google.ads.googleads.v13.resources.OfflineUserDataJob job = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; - - // If true, match rate range for the offline user data job is calculated and - // made available in the resource. - bool enable_match_rate_range_preview = 5; -} - -// Response message for -// [OfflineUserDataJobService.CreateOfflineUserDataJob][google.ads.googleads.v13.services.OfflineUserDataJobService.CreateOfflineUserDataJob]. -message CreateOfflineUserDataJobResponse { - // The resource name of the OfflineUserDataJob. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/OfflineUserDataJob" - }]; -} - -// Request message for -// [OfflineUserDataJobService.RunOfflineUserDataJob][google.ads.googleads.v13.services.OfflineUserDataJobService.RunOfflineUserDataJob]. -message RunOfflineUserDataJobRequest { - // Required. The resource name of the OfflineUserDataJob to run. - string resource_name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/OfflineUserDataJob" - } - ]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 2; -} - -// Request message for -// [OfflineUserDataJobService.AddOfflineUserDataJobOperations][google.ads.googleads.v13.services.OfflineUserDataJobService.AddOfflineUserDataJobOperations]. -message AddOfflineUserDataJobOperationsRequest { - // Required. The resource name of the OfflineUserDataJob. - string resource_name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/OfflineUserDataJob" - } - ]; - - // True to enable partial failure for the offline user data job. - optional bool enable_partial_failure = 4; - - // True to enable warnings for the offline user data job. When enabled, a - // warning will not block the OfflineUserDataJobOperation, and will also - // return warning messages about malformed field values. - optional bool enable_warnings = 6; - - // Required. The list of operations to be done. - repeated OfflineUserDataJobOperation operations = 3 - [(google.api.field_behavior) = REQUIRED]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 5; -} - -// Operation to be made for the AddOfflineUserDataJobOperationsRequest. -message OfflineUserDataJobOperation { - // Operation to be made for the AddOfflineUserDataJobOperationsRequest. - oneof operation { - // Add the provided data to the transaction. Data cannot be retrieved after - // being uploaded. - google.ads.googleads.v13.common.UserData create = 1; - - // Remove the provided data from the transaction. Data cannot be retrieved - // after being uploaded. - google.ads.googleads.v13.common.UserData remove = 2; - - // Remove all previously provided data. This is only supported for Customer - // Match. - bool remove_all = 3; - } -} - -// Response message for -// [OfflineUserDataJobService.AddOfflineUserDataJobOperations][google.ads.googleads.v13.services.OfflineUserDataJobService.AddOfflineUserDataJobOperations]. -message AddOfflineUserDataJobOperationsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 1; - - // Non blocking errors that pertain to operation failures in the warnings - // mode. Returned only when enable_warnings = true. - google.rpc.Status warning = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/payments_account_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/payments_account_service.proto deleted file mode 100644 index 1282c7eda..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/payments_account_service.proto +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/payments_account.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "PaymentsAccountServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the payments account service. - -// Service to provide payments accounts that can be used to set up consolidated -// billing. -service PaymentsAccountService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Returns all payments accounts associated with all managers - // between the login customer ID and specified serving customer in the - // hierarchy, inclusive. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [PaymentsAccountError]() - // [QuotaError]() - // [RequestError]() - rpc ListPaymentsAccounts(ListPaymentsAccountsRequest) - returns (ListPaymentsAccountsResponse) { - option (google.api.http) = { - get: "/v13/customers/{customer_id=*}/paymentsAccounts" - }; - option (google.api.method_signature) = "customer_id"; - } -} - -// Request message for fetching all accessible payments accounts. -message ListPaymentsAccountsRequest { - // Required. The ID of the customer to apply the PaymentsAccount list - // operation to. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; -} - -// Response message for -// [PaymentsAccountService.ListPaymentsAccounts][google.ads.googleads.v13.services.PaymentsAccountService.ListPaymentsAccounts]. -message ListPaymentsAccountsResponse { - // The list of accessible payments accounts. - repeated google.ads.googleads.v13.resources.PaymentsAccount - payments_accounts = 1; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/product_link_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/product_link_service.proto deleted file mode 100644 index 60b7c9c49..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/product_link_service.proto +++ /dev/null @@ -1,130 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/product_link.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ProductLinkServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// This service allows management of links between a Google -// Ads customer and another product. -service ProductLinkService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates a product link. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - rpc CreateProductLink(CreateProductLinkRequest) - returns (CreateProductLinkResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/productLinks:create" - body: "*" - }; - option (google.api.method_signature) = "customer_id,product_link"; - } - - // Removes a product link. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [FieldMaskError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [QuotaError]() - // [RequestError]() - rpc RemoveProductLink(RemoveProductLinkRequest) - returns (RemoveProductLinkResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/productLinks:remove" - body: "*" - }; - option (google.api.method_signature) = "customer_id,resource_name"; - } -} - -// Request message for -// [ProductLinkService.CreateProductLink][google.ads.googleads.v13.services.ProductLinkService.CreateProductLink]. -message CreateProductLinkRequest { - // Required. The ID of the customer for which the product link is created. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The product link to be created. - google.ads.googleads.v13.resources.ProductLink product_link = 2 - [(google.api.field_behavior) = REQUIRED]; -} - -// Response message for -// [ProductLinkService.CreateProductLink][google.ads.googleads.v13.services.ProductLinkService.CreateProductLink]. -message CreateProductLinkResponse { - // Returned for successful operations. Resource name of the product link. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ProductLink" - }]; -} - -// Request message for -// [ProductLinkService.RemoveProductLink][google.ads.googleads.v13.services.ProductLinkService.RemoveProductLink]. -message RemoveProductLinkRequest { - // Required. The ID of the customer being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. Remove operation: A resource name for the product link to remove - // is expected, in this format: - // - // `customers/{customer_id}/productLinks/{product_link_id} ` - string resource_name = 2 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/ProductLink" - } - ]; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 3; -} - -// Response message for product link removal. -message RemoveProductLinkResponse { - // Result for the remove request. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ProductLink" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/reach_plan_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/reach_plan_service.proto deleted file mode 100644 index 621ecaaf6..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/reach_plan_service.proto +++ /dev/null @@ -1,609 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/common/criteria.proto"; -import "google/ads/googleads/v13/common/dates.proto"; -import "google/ads/googleads/v13/enums/frequency_cap_time_unit.proto"; -import "google/ads/googleads/v13/enums/reach_plan_age_range.proto"; -import "google/ads/googleads/v13/enums/reach_plan_network.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ReachPlanServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the reach plan service. - -// Reach Plan Service gives users information about audience size that can -// be reached through advertisement on YouTube. In particular, -// GenerateReachForecast provides estimated number of people of specified -// demographics that can be reached by an ad in a given market by a campaign of -// certain duration with a defined budget. -service ReachPlanService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Returns the list of plannable locations (for example, countries). - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc ListPlannableLocations(ListPlannableLocationsRequest) - returns (ListPlannableLocationsResponse) { - option (google.api.http) = { - post: "/v13:listPlannableLocations" - body: "*" - }; - } - - // Returns the list of per-location plannable YouTube ad formats with allowed - // targeting. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc ListPlannableProducts(ListPlannableProductsRequest) - returns (ListPlannableProductsResponse) { - option (google.api.http) = { - post: "/v13:listPlannableProducts" - body: "*" - }; - option (google.api.method_signature) = "plannable_location_id"; - } - - // Generates a reach forecast for a given targeting / product mix. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RangeError]() - // [ReachPlanError]() - // [RequestError]() - rpc GenerateReachForecast(GenerateReachForecastRequest) - returns (GenerateReachForecastResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}:generateReachForecast" - body: "*" - }; - option (google.api.method_signature) = - "customer_id,campaign_duration,planned_products"; - } -} - -// Request message for -// [ReachPlanService.ListPlannableLocations][google.ads.googleads.v13.services.ReachPlanService.ListPlannableLocations]. -message ListPlannableLocationsRequest {} - -// The list of plannable locations. -message ListPlannableLocationsResponse { - // The list of locations available for planning. - // See - // https://developers.google.com/google-ads/api/reference/data/geotargets - // for sample locations. - repeated PlannableLocation plannable_locations = 1; -} - -// A plannable location: country, metro region, province, etc. -message PlannableLocation { - // The location identifier. - optional string id = 4; - - // The unique location name in English. - optional string name = 5; - - // The parent country (not present if location is a country). - // If present, will always be a GeoTargetConstant ID. Additional information - // such as country name is provided by - // [ReachPlanService.ListPlannableLocations][google.ads.googleads.v13.services.ReachPlanService.ListPlannableLocations] - // or [GoogleAdsService.Search/SearchStream][]. - optional int64 parent_country_id = 6; - - // The ISO-3166-1 alpha-2 country code that is associated with the location. - optional string country_code = 7; - - // The location's type. Location types correspond to target_type returned by - // searching location type in [GoogleAdsService.Search/SearchStream][]. - optional string location_type = 8; -} - -// Request to list available products in a given location. -message ListPlannableProductsRequest { - // Required. The ID of the selected location for planning. To list the - // available plannable location IDs use - // [ReachPlanService.ListPlannableLocations][google.ads.googleads.v13.services.ReachPlanService.ListPlannableLocations]. - string plannable_location_id = 2 [(google.api.field_behavior) = REQUIRED]; -} - -// A response with all available products. -message ListPlannableProductsResponse { - // The list of products available for planning and related targeting metadata. - repeated ProductMetadata product_metadata = 1; -} - -// The metadata associated with an available plannable product. -message ProductMetadata { - // The code associated with the ad product (for example: BUMPER, - // TRUEVIEW_IN_STREAM). - // To list the available plannable product codes use - // [ReachPlanService.ListPlannableProducts][google.ads.googleads.v13.services.ReachPlanService.ListPlannableProducts]. - optional string plannable_product_code = 4; - - // The name associated with the ad product. - string plannable_product_name = 3; - - // The allowed plannable targeting for this product. - PlannableTargeting plannable_targeting = 2; -} - -// The targeting for which traffic metrics will be reported. -message PlannableTargeting { - // Allowed plannable age ranges for the product for which metrics will be - // reported. Actual targeting is computed by mapping this age range onto - // standard Google common.AgeRangeInfo values. - repeated - google.ads.googleads.v13.enums.ReachPlanAgeRangeEnum.ReachPlanAgeRange - age_ranges = 1; - - // Targetable genders for the ad product. - repeated google.ads.googleads.v13.common.GenderInfo genders = 2; - - // Targetable devices for the ad product. - // TABLET device targeting is automatically applied to reported metrics - // when MOBILE targeting is selected for CPM_MASTHEAD, - // GOOGLE_PREFERRED_BUMPER, and GOOGLE_PREFERRED_SHORT products. - repeated google.ads.googleads.v13.common.DeviceInfo devices = 3; - - // Targetable networks for the ad product. - repeated google.ads.googleads.v13.enums.ReachPlanNetworkEnum.ReachPlanNetwork - networks = 4; - - // Targetable YouTube Select Lineups for the ad product. - repeated YouTubeSelectLineUp youtube_select_lineups = 5; -} - -// Request message for -// [ReachPlanService.GenerateReachForecast][google.ads.googleads.v13.services.ReachPlanService.GenerateReachForecast]. -message GenerateReachForecastRequest { - // Required. The ID of the customer. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // The currency code. - // Three-character ISO 4217 currency code. - optional string currency_code = 9; - - // Required. Campaign duration. - CampaignDuration campaign_duration = 3 - [(google.api.field_behavior) = REQUIRED]; - - // Chosen cookie frequency cap to be applied to each planned product. - // This is equivalent to the frequency cap exposed in Google Ads when creating - // a campaign, it represents the maximum number of times an ad can be shown to - // the same user. - // If not specified, no cap is applied. - // - // This field is deprecated in v4 and will eventually be removed. - // Use cookie_frequency_cap_setting instead. - optional int32 cookie_frequency_cap = 10; - - // Chosen cookie frequency cap to be applied to each planned product. - // This is equivalent to the frequency cap exposed in Google Ads when creating - // a campaign, it represents the maximum number of times an ad can be shown to - // the same user during a specified time interval. - // If not specified, a default of 0 (no cap) is applied. - // - // This field replaces the deprecated cookie_frequency_cap field. - FrequencyCap cookie_frequency_cap_setting = 8; - - // Chosen minimum effective frequency (the number of times a person was - // exposed to the ad) for the reported reach metrics [1-10]. - // This won't affect the targeting, but just the reporting. - // If not specified, a default of 1 is applied. - // - // This field cannot be combined with the effective_frequency_limit field. - optional int32 min_effective_frequency = 11; - - // The highest minimum effective frequency (the number of times a person was - // exposed to the ad) value [1-10] to include in - // Forecast.effective_frequency_breakdowns. - // If not specified, Forecast.effective_frequency_breakdowns will not be - // provided. - // - // The effective frequency value provided here will also be used as the - // minimum effective frequency for the reported reach metrics. - // - // This field cannot be combined with the min_effective_frequency field. - optional EffectiveFrequencyLimit effective_frequency_limit = 12; - - // The targeting to be applied to all products selected in the product mix. - // - // This is planned targeting: execution details might vary based on the - // advertising product, consult an implementation specialist. - // - // See specific metrics for details on how targeting affects them. - Targeting targeting = 6; - - // Required. The products to be forecast. - // The max number of allowed planned products is 15. - repeated PlannedProduct planned_products = 7 - [(google.api.field_behavior) = REQUIRED]; - - // Controls the forecast metrics returned in the response. - ForecastMetricOptions forecast_metric_options = 13; - - // The name of the customer being planned for. This is a user-defined value. - // Required if targeting.audience_targeting is set. - optional string customer_reach_group = 14; -} - -// Effective frequency limit. -message EffectiveFrequencyLimit { - // The highest effective frequency value to include in - // Forecast.effective_frequency_breakdowns. - // This field supports frequencies 1-10, inclusive. - int32 effective_frequency_breakdown_limit = 1; -} - -// A rule specifying the maximum number of times an ad can be shown to a user -// over a particular time period. -message FrequencyCap { - // Required. The number of impressions, inclusive. - int32 impressions = 3 [(google.api.field_behavior) = REQUIRED]; - - // Required. The type of time unit. - google.ads.googleads.v13.enums.FrequencyCapTimeUnitEnum.FrequencyCapTimeUnit - time_unit = 2 [(google.api.field_behavior) = REQUIRED]; -} - -// The targeting for which traffic metrics will be reported. -message Targeting { - // The ID of the selected location. Plannable location IDs can be - // obtained from - // [ReachPlanService.ListPlannableLocations][google.ads.googleads.v13.services.ReachPlanService.ListPlannableLocations]. - // - // Requests must set either this field or `plannable_location_ids`. - // - // This field is deprecated as of V12 and will be removed in a future release. - // Use `plannable_location_ids` instead. - optional string plannable_location_id = 6; - - // The list of plannable location IDs to target with this forecast. - // - // If more than one ID is provided, all IDs must have the same - // `parent_country_id`. Planning for more than `parent_county` is not - // supported. Plannable location IDs and their `parent_country_id` can be - // obtained from - // [ReachPlanService.ListPlannableLocations][google.ads.googleads.v13.services.ReachPlanService.ListPlannableLocations]. - // - // Requests must set either this field or `plannable_location_id`. - repeated string plannable_location_ids = 8; - - // Targeted age range. - // An unset value is equivalent to targeting all ages. - google.ads.googleads.v13.enums.ReachPlanAgeRangeEnum.ReachPlanAgeRange - age_range = 2; - - // Targeted genders. - // An unset value is equivalent to targeting MALE and FEMALE. - repeated google.ads.googleads.v13.common.GenderInfo genders = 3; - - // Targeted devices. - // If not specified, targets all applicable devices. Applicable devices vary - // by product and region and can be obtained from - // [ReachPlanService.ListPlannableProducts][google.ads.googleads.v13.services.ReachPlanService.ListPlannableProducts]. - repeated google.ads.googleads.v13.common.DeviceInfo devices = 4; - - // Targetable network for the ad product. - // If not specified, targets all applicable networks. Applicable networks vary - // by product and region and can be obtained from - // [ReachPlanService.ListPlannableProducts][google.ads.googleads.v13.services.ReachPlanService.ListPlannableProducts]. - google.ads.googleads.v13.enums.ReachPlanNetworkEnum.ReachPlanNetwork network = - 5; - - // Targeted audiences. - // If not specified, does not target any specific audience. - AudienceTargeting audience_targeting = 7; -} - -// The duration of a planned campaign. -message CampaignDuration { - // The duration value in days. - // - // This field cannot be combined with the date_range field. - optional int32 duration_in_days = 2; - - // Date range of the campaign. - // Dates are in the yyyy-mm-dd format and inclusive. - // The end date must be < 1 year in the future and the - // date range must be <= 92 days long. - // - // This field cannot be combined with the duration_in_days field. - google.ads.googleads.v13.common.DateRange date_range = 3; -} - -// A product being planned for reach. -message PlannedProduct { - // Required. Selected product for planning. - // The code associated with the ad product (for example: Trueview, Bumper). - // To list the available plannable product codes use - // [ReachPlanService.ListPlannableProducts][google.ads.googleads.v13.services.ReachPlanService.ListPlannableProducts]. - optional string plannable_product_code = 3; - - // Required. Maximum budget allocation in micros for the selected product. - // The value is specified in the selected planning currency_code. - // For example: 1 000 000$ = 1 000 000 000 000 micros. - optional int64 budget_micros = 4; - - // Targeting settings for the selected product. - // To list the available targeting for each product use - // [ReachPlanService.ListPlannableProducts][google.ads.googleads.v13.services.ReachPlanService.ListPlannableProducts]. - AdvancedProductTargeting advanced_product_targeting = 5; -} - -// Response message containing the generated reach curve. -message GenerateReachForecastResponse { - // Reference on target audiences for this curve. - OnTargetAudienceMetrics on_target_audience_metrics = 1; - - // The generated reach curve for the planned product mix. - ReachCurve reach_curve = 2; -} - -// The reach curve for the planned products. -message ReachCurve { - // All points on the reach curve. - repeated ReachForecast reach_forecasts = 1; -} - -// A point on reach curve. -message ReachForecast { - // The cost in micros. - int64 cost_micros = 5; - - // Forecasted traffic metrics for this point. - Forecast forecast = 2; - - // The forecasted allocation and traffic metrics for each planned product - // at this point on the reach curve. - repeated PlannedProductReachForecast planned_product_reach_forecasts = 4; -} - -// Forecasted traffic metrics for the planned products and targeting. -message Forecast { - // Number of unique people reached at least - // GenerateReachForecastRequest.min_effective_frequency or - // GenerateReachForecastRequest.effective_frequency_limit times that exactly - // matches the Targeting. - // - // Note that a minimum number of unique people must be reached in order for - // data to be reported. If the minimum number is not met, the on_target_reach - // value will be rounded to 0. - optional int64 on_target_reach = 5; - - // Total number of unique people reached at least - // GenerateReachForecastRequest.min_effective_frequency or - // GenerateReachForecastRequest.effective_frequency_limit times. This includes - // people that may fall outside the specified Targeting. - // - // Note that a minimum number of unique people must be reached in order for - // data to be reported. If the minimum number is not met, the total_reach - // value will be rounded to 0. - optional int64 total_reach = 6; - - // Number of ad impressions that exactly matches the Targeting. - optional int64 on_target_impressions = 7; - - // Total number of ad impressions. This includes impressions that may fall - // outside the specified Targeting, due to insufficient information on - // signed-in users. - optional int64 total_impressions = 8; - - // Number of times the ad's impressions were considered viewable. - // See https://support.google.com/google-ads/answer/7029393 for - // more information about what makes an ad viewable and how - // viewability is measured. - optional int64 viewable_impressions = 9; - - // A list of effective frequency forecasts. The list is ordered starting with - // 1+ and ending with the value set in - // GenerateReachForecastRequest.effective_frequency_limit. If no - // effective_frequency_limit was set, this list will be empty. - repeated EffectiveFrequencyBreakdown effective_frequency_breakdowns = 10; - - // Number of unique people reached that exactly matches the Targeting - // including co-viewers. - optional int64 on_target_coview_reach = 11; - - // Number of unique people reached including co-viewers. This includes - // people that may fall outside the specified Targeting. - optional int64 total_coview_reach = 12; - - // Number of ad impressions that exactly matches the Targeting including - // co-viewers. - optional int64 on_target_coview_impressions = 13; - - // Total number of ad impressions including co-viewers. This includes - // impressions that may fall outside the specified Targeting, due to - // insufficient information on signed-in users. - optional int64 total_coview_impressions = 14; -} - -// The forecasted allocation and traffic metrics for a specific product -// at a point on the reach curve. -message PlannedProductReachForecast { - // Selected product for planning. The product codes returned are within the - // set of the ones returned by ListPlannableProducts when using the same - // location ID. - string plannable_product_code = 1; - - // The cost in micros. This may differ from the product's input allocation - // if one or more planned products cannot fulfill the budget because of - // limited inventory. - int64 cost_micros = 2; - - // Forecasted traffic metrics for this product. - PlannedProductForecast planned_product_forecast = 3; -} - -// Forecasted traffic metrics for a planned product. -message PlannedProductForecast { - // Number of unique people reached that exactly matches the Targeting. - // - // Note that a minimum number of unique people must be reached in order for - // data to be reported. If the minimum number is not met, the on_target_reach - // value will be rounded to 0. - int64 on_target_reach = 1; - - // Number of unique people reached. This includes people that may fall - // outside the specified Targeting. - // - // Note that a minimum number of unique people must be reached in order for - // data to be reported. If the minimum number is not met, the total_reach - // value will be rounded to 0. - int64 total_reach = 2; - - // Number of ad impressions that exactly matches the Targeting. - int64 on_target_impressions = 3; - - // Total number of ad impressions. This includes impressions that may fall - // outside the specified Targeting, due to insufficient information on - // signed-in users. - int64 total_impressions = 4; - - // Number of times the ad's impressions were considered viewable. - // See https://support.google.com/google-ads/answer/7029393 for - // more information about what makes an ad viewable and how - // viewability is measured. - optional int64 viewable_impressions = 5; - - // Number of unique people reached that exactly matches the Targeting - // including co-viewers. - optional int64 on_target_coview_reach = 6; - - // Number of unique people reached including co-viewers. This includes - // people that may fall outside the specified Targeting. - optional int64 total_coview_reach = 7; - - // Number of ad impressions that exactly matches the Targeting including - // co-viewers. - optional int64 on_target_coview_impressions = 8; - - // Total number of ad impressions including co-viewers. This includes - // impressions that may fall outside the specified Targeting, due to - // insufficient information on signed-in users. - optional int64 total_coview_impressions = 9; -} - -// Audience metrics for the planned products. -// These metrics consider the following targeting dimensions: -// -// - Location -// - PlannableAgeRange -// - Gender -message OnTargetAudienceMetrics { - // Reference audience size matching the considered targeting for YouTube. - optional int64 youtube_audience_size = 3; - - // Reference audience size matching the considered targeting for Census. - optional int64 census_audience_size = 4; -} - -// A breakdown of the number of unique people reached at a given effective -// frequency. -message EffectiveFrequencyBreakdown { - // The effective frequency [1-10]. - int32 effective_frequency = 1; - - // The number of unique people reached at least effective_frequency times that - // exactly matches the Targeting. - // - // Note that a minimum number of unique people must be reached in order for - // data to be reported. If the minimum number is not met, the on_target_reach - // value will be rounded to 0. - int64 on_target_reach = 2; - - // Total number of unique people reached at least effective_frequency times. - // This includes people that may fall outside the specified Targeting. - // - // Note that a minimum number of unique people must be reached in order for - // data to be reported. If the minimum number is not met, the total_reach - // value will be rounded to 0. - int64 total_reach = 3; - - // The number of users (including co-viewing users) reached for the associated - // effective_frequency value. - optional int64 effective_coview_reach = 4; - - // The number of users (including co-viewing users) reached for the associated - // effective_frequency value within the specified plan demographic. - optional int64 on_target_effective_coview_reach = 5; -} - -// Controls forecast metrics to return. -message ForecastMetricOptions { - // Indicates whether to include co-view metrics in the response forecast. - bool include_coview = 1; -} - -// Audience targeting for reach forecast. -message AudienceTargeting { - // List of audiences based on user interests to be targeted. - repeated google.ads.googleads.v13.common.UserInterestInfo user_interest = 1; -} - -// Advanced targeting settings for products. -message AdvancedProductTargeting { - // Targeting options for this product. - oneof advanced_targeting { - // Settings for YouTube Select targeting. - YouTubeSelectSettings youtube_select_settings = 1; - } -} - -// Request settings for YouTube Select Lineups -message YouTubeSelectSettings { - // Lineup for YouTube Select Targeting. - int64 lineup_id = 1; -} - -// A Plannable YouTube Select Lineup for product targeting. -message YouTubeSelectLineUp { - // The ID of the YouTube Select Lineup. - int64 lineup_id = 1; - - // The unique name of the YouTube Select Lineup. - string lineup_name = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/recommendation_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/recommendation_service.proto deleted file mode 100644 index d4a1e7406..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/recommendation_service.proto +++ /dev/null @@ -1,424 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/common/extensions.proto"; -import "google/ads/googleads/v13/enums/keyword_match_type.proto"; -import "google/ads/googleads/v13/resources/ad.proto"; -import "google/ads/googleads/v13/resources/asset.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "RecommendationServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the Recommendation service. - -// Service to manage recommendations. -service RecommendationService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Applies given recommendations with corresponding apply parameters. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [QuotaError]() - // [RecommendationError]() - // [RequestError]() - // [UrlFieldError]() - rpc ApplyRecommendation(ApplyRecommendationRequest) - returns (ApplyRecommendationResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/recommendations:apply" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } - - // Dismisses given recommendations. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RecommendationError]() - // [RequestError]() - rpc DismissRecommendation(DismissRecommendationRequest) - returns (DismissRecommendationResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/recommendations:dismiss" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [RecommendationService.ApplyRecommendation][google.ads.googleads.v13.services.RecommendationService.ApplyRecommendation]. -message ApplyRecommendationRequest { - // Required. The ID of the customer with the recommendation. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to apply recommendations. - // If partial_failure=false all recommendations should be of the same type - // There is a limit of 100 operations per request. - repeated ApplyRecommendationOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, operations will be carried - // out as a transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; -} - -// Information about the operation to apply a recommendation and any parameters -// to customize it. -message ApplyRecommendationOperation { - // Parameters to use when applying a campaign budget recommendation. - message CampaignBudgetParameters { - // New budget amount to set for target budget resource. This is a required - // field. - optional int64 new_budget_amount_micros = 2; - } - - // Parameters to use when applying a forecasting set target roas - // recommendation. - message ForecastingSetTargetRoasParameters { - // New target ROAS (revenue per unit of spend) to set for a campaign - // resource. - // The value is between 0.01 and 1000.0, inclusive. - optional double target_roas = 1; - - // New campaign budget amount to set for a campaign resource. - optional int64 campaign_budget_amount_micros = 2; - } - - // Parameters to use when applying a text ad recommendation. - message TextAdParameters { - // New ad to add to recommended ad group. All necessary fields need to be - // set in this message. This is a required field. - google.ads.googleads.v13.resources.Ad ad = 1; - } - - // Parameters to use when applying keyword recommendation. - message KeywordParameters { - // The ad group resource to add keyword to. This is a required field. - optional string ad_group = 4; - - // The match type of the keyword. This is a required field. - google.ads.googleads.v13.enums.KeywordMatchTypeEnum.KeywordMatchType - match_type = 2; - - // Optional, CPC bid to set for the keyword. If not set, keyword will use - // bid based on bidding strategy used by target ad group. - optional int64 cpc_bid_micros = 5; - } - - // Parameters to use when applying Target CPA recommendation. - message TargetCpaOptInParameters { - // Average CPA to use for Target CPA bidding strategy. This is a required - // field. - optional int64 target_cpa_micros = 3; - - // Optional, budget amount to set for the campaign. - optional int64 new_campaign_budget_amount_micros = 4; - } - - // Parameters to use when applying a Target ROAS opt-in recommendation. - message TargetRoasOptInParameters { - // Average ROAS (revenue per unit of spend) to use for Target ROAS bidding - // strategy. The value is between 0.01 and 1000.0, inclusive. This is a - // required field, unless new_campaign_budget_amount_micros is set. - optional double target_roas = 1; - - // Optional, budget amount to set for the campaign. - optional int64 new_campaign_budget_amount_micros = 2; - } - - // Parameters to use when applying callout extension recommendation. - message CalloutExtensionParameters { - // Callout extensions to be added. This is a required field. - repeated google.ads.googleads.v13.common.CalloutFeedItem - callout_extensions = 1; - } - - // Parameters to use when applying call extension recommendation. - message CallExtensionParameters { - // Call extensions to be added. This is a required field. - repeated google.ads.googleads.v13.common.CallFeedItem call_extensions = 1; - } - - // Parameters to use when applying sitelink extension recommendation. - message SitelinkExtensionParameters { - // Sitelink extensions to be added. This is a required field. - repeated google.ads.googleads.v13.common.SitelinkFeedItem - sitelink_extensions = 1; - } - - // Parameters to use when applying callout asset recommendations. - message CalloutAssetParameters { - // Required. Callout assets to be added. This is a required field. - AdAssetApplyParameters ad_asset_apply_parameters = 1 - [(google.api.field_behavior) = REQUIRED]; - } - - // Parameters to use when applying call asset recommendations. - message CallAssetParameters { - // Required. Call assets to be added. This is a required field. - AdAssetApplyParameters ad_asset_apply_parameters = 1 - [(google.api.field_behavior) = REQUIRED]; - } - - // Parameters to use when applying sitelink asset recommendations. - message SitelinkAssetParameters { - // Required. Sitelink assets to be added. This is a required field. - AdAssetApplyParameters ad_asset_apply_parameters = 1 - [(google.api.field_behavior) = REQUIRED]; - } - - // Common parameters used when applying ad asset recommendations. - message AdAssetApplyParameters { - // Scope to apply the assets to. - // Next ID: 4 - enum ApplyScope { - // The apply scope has not been specified. - UNSPECIFIED = 0; - - // Unknown. - UNKNOWN = 1; - - // Apply at the customer scope. - CUSTOMER = 2; - - // Apply at the campaign scope. - CAMPAIGN = 3; - } - - // The assets to create and attach to a scope. This may be combined with - // existing_assets in the same call. - repeated google.ads.googleads.v13.resources.Asset new_assets = 1; - - // The resource names of existing assets to attach to a scope. This may be - // combined with new_assets in the same call. - repeated string existing_assets = 2; - - // Required. The scope at which to apply the assets. Assets at the campaign - // scope level will be applied to the campaign associated with the - // recommendation. Assets at the customer scope will apply to the entire - // account. Assets at the campaign scope will override any attached at the - // customer scope. - ApplyScope scope = 3 [(google.api.field_behavior) = REQUIRED]; - } - - // Parameters to use when applying move unused budget recommendation. - message MoveUnusedBudgetParameters { - // Budget amount to move from excess budget to constrained budget. This is - // a required field. - optional int64 budget_micros_to_move = 2; - } - - // Parameters to use when applying a responsive search ad asset - // recommendation. - message ResponsiveSearchAdAssetParameters { - // Updated ad. The current ad's content will be replaced. - google.ads.googleads.v13.resources.Ad updated_ad = 1; - } - - // Parameters to use when applying a responsive search ad improve ad strength - // recommendation. - message ResponsiveSearchAdImproveAdStrengthParameters { - // Updated ad. The current ad's content will be replaced. - google.ads.googleads.v13.resources.Ad updated_ad = 1; - } - - // Parameters to use when applying a responsive search ad recommendation. - message ResponsiveSearchAdParameters { - // Required. New ad to add to recommended ad group. - google.ads.googleads.v13.resources.Ad ad = 1 - [(google.api.field_behavior) = REQUIRED]; - } - - // Parameters to use when applying a raise target CPA bid too low - // recommendation. The apply is asynchronous and can take minutes depending on - // the number of ad groups there is in the related campaign.. - message RaiseTargetCpaBidTooLowParameters { - // Required. A number greater than 1.0 indicating the factor by which to - // increase the target CPA. This is a required field. - double target_multiplier = 1 [(google.api.field_behavior) = REQUIRED]; - } - - // Parameters to use when applying a use broad match keyword recommendation. - message UseBroadMatchKeywordParameters { - // New budget amount to set for target budget resource. - optional int64 new_budget_amount_micros = 1; - } - - // The resource name of the recommendation to apply. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Recommendation" - }]; - - // Parameters to use when applying the recommendation. - oneof apply_parameters { - // Optional parameters to use when applying a campaign budget - // recommendation. - CampaignBudgetParameters campaign_budget = 2; - - // Optional parameters to use when applying a text ad recommendation. - TextAdParameters text_ad = 3; - - // Optional parameters to use when applying keyword recommendation. - KeywordParameters keyword = 4; - - // Optional parameters to use when applying target CPA opt-in - // recommendation. - TargetCpaOptInParameters target_cpa_opt_in = 5; - - // Optional parameters to use when applying target ROAS opt-in - // recommendation. - TargetRoasOptInParameters target_roas_opt_in = 10; - - // Parameters to use when applying callout extension recommendation. - CalloutExtensionParameters callout_extension = 6; - - // Parameters to use when applying call extension recommendation. - CallExtensionParameters call_extension = 7; - - // Parameters to use when applying sitelink extension recommendation. - SitelinkExtensionParameters sitelink_extension = 8; - - // Parameters to use when applying move unused budget recommendation. - MoveUnusedBudgetParameters move_unused_budget = 9; - - // Parameters to use when applying a responsive search ad recommendation. - ResponsiveSearchAdParameters responsive_search_ad = 11; - - // Parameters to use when applying a use broad match keyword recommendation. - UseBroadMatchKeywordParameters use_broad_match_keyword = 12; - - // Parameters to use when applying a responsive search ad asset - // recommendation. - ResponsiveSearchAdAssetParameters responsive_search_ad_asset = 13; - - // Parameters to use when applying a responsive search ad improve ad - // strength recommendation. - ResponsiveSearchAdImproveAdStrengthParameters - responsive_search_ad_improve_ad_strength = 14; - - // Parameters to use when applying a raise target CPA bid too low - // recommendation. The apply is asynchronous and can take minutes depending - // on the number of ad groups there is in the related campaign. - RaiseTargetCpaBidTooLowParameters raise_target_cpa_bid_too_low = 15; - - // Parameters to use when applying a forecasting set target ROAS - // recommendation. - ForecastingSetTargetRoasParameters forecasting_set_target_roas = 16; - - // Parameters to use when applying callout asset recommendation. - CalloutAssetParameters callout_asset = 17; - - // Parameters to use when applying call asset recommendation. - CallAssetParameters call_asset = 18; - - // Parameters to use when applying sitelink asset recommendation. - SitelinkAssetParameters sitelink_asset = 19; - } -} - -// Response message for -// [RecommendationService.ApplyRecommendation][google.ads.googleads.v13.services.RecommendationService.ApplyRecommendation]. -message ApplyRecommendationResponse { - // Results of operations to apply recommendations. - repeated ApplyRecommendationResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors) we return the RPC level error. - google.rpc.Status partial_failure_error = 2; -} - -// The result of applying a recommendation. -message ApplyRecommendationResult { - // Returned for successful applies. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/Recommendation" - }]; -} - -// Request message for -// [RecommendationService.DismissRecommendation][google.ads.googleads.v13.services.RecommendationService.DismissRecommendation]. -message DismissRecommendationRequest { - // Operation to dismiss a single recommendation identified by resource_name. - message DismissRecommendationOperation { - // The resource name of the recommendation to dismiss. - string resource_name = 1; - } - - // Required. The ID of the customer with the recommendation. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to dismiss recommendations. - // If partial_failure=false all recommendations should be of the same type - // There is a limit of 100 operations per request. - repeated DismissRecommendationOperation operations = 3 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, operations will be carried in a - // single transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 2; -} - -// Response message for -// [RecommendationService.DismissRecommendation][google.ads.googleads.v13.services.RecommendationService.DismissRecommendation]. -message DismissRecommendationResponse { - // The result of dismissing a recommendation. - message DismissRecommendationResult { - // Returned for successful dismissals. - string resource_name = 1; - } - - // Results of operations to dismiss recommendations. - repeated DismissRecommendationResult results = 1; - - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors) we return the RPC level error. - google.rpc.Status partial_failure_error = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/remarketing_action_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/remarketing_action_service.proto deleted file mode 100644 index 7bd20ee46..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/remarketing_action_service.proto +++ /dev/null @@ -1,121 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/remarketing_action.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "RemarketingActionServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the Remarketing Action service. - -// Service to manage remarketing actions. -service RemarketingActionService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates or updates remarketing actions. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [ConversionActionError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc MutateRemarketingActions(MutateRemarketingActionsRequest) - returns (MutateRemarketingActionsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/remarketingActions:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [RemarketingActionService.MutateRemarketingActions][google.ads.googleads.v13.services.RemarketingActionService.MutateRemarketingActions]. -message MutateRemarketingActionsRequest { - // Required. The ID of the customer whose remarketing actions are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual remarketing - // actions. - repeated RemarketingActionOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, update) on a remarketing action. -message RemarketingActionOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new remarketing - // action. - google.ads.googleads.v13.resources.RemarketingAction create = 1; - - // Update operation: The remarketing action is expected to have a valid - // resource name. - google.ads.googleads.v13.resources.RemarketingAction update = 2; - } -} - -// Response message for remarketing action mutate. -message MutateRemarketingActionsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateRemarketingActionResult results = 2; -} - -// The result for the remarketing action mutate. -message MutateRemarketingActionResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/RemarketingAction" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/shared_criterion_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/shared_criterion_service.proto deleted file mode 100644 index 4eac96c58..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/shared_criterion_service.proto +++ /dev/null @@ -1,143 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/shared_criterion.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "SharedCriterionServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the Shared Criterion service. - -// Service to manage shared criteria. -service SharedCriterionService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates or removes shared criteria. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CriterionError]() - // [DatabaseError]() - // [DistinctError]() - // [FieldError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [MutateError]() - // [NotEmptyError]() - // [NullError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - rpc MutateSharedCriteria(MutateSharedCriteriaRequest) - returns (MutateSharedCriteriaResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/sharedCriteria:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [SharedCriterionService.MutateSharedCriteria][google.ads.googleads.v13.services.SharedCriterionService.MutateSharedCriteria]. -message MutateSharedCriteriaRequest { - // Required. The ID of the customer whose shared criteria are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual shared criteria. - repeated SharedCriterionOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation (create, remove) on an shared criterion. -message SharedCriterionOperation { - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new shared - // criterion. - google.ads.googleads.v13.resources.SharedCriterion create = 1; - - // Remove operation: A resource name for the removed shared criterion is - // expected, in this format: - // - // `customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/SharedCriterion" - }]; - } -} - -// Response message for a shared criterion mutate. -message MutateSharedCriteriaResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateSharedCriterionResult results = 2; -} - -// The result for the shared criterion mutate. -message MutateSharedCriterionResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/SharedCriterion" - }]; - - // The mutated shared criterion with only mutable fields after mutate. The - // field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.SharedCriterion shared_criterion = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/shared_set_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/shared_set_service.proto deleted file mode 100644 index 057cc1247..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/shared_set_service.proto +++ /dev/null @@ -1,153 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/shared_set.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "SharedSetServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the Shared Set service. - -// Service to manage shared sets. -service SharedSetService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates, updates, or removes shared sets. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [DatabaseError]() - // [DateError]() - // [DistinctError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [IdError]() - // [InternalError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotEmptyError]() - // [NullError]() - // [OperatorError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [ResourceCountLimitExceededError]() - // [SharedSetError]() - // [SizeLimitError]() - // [StringFormatError]() - // [StringLengthError]() - rpc MutateSharedSets(MutateSharedSetsRequest) - returns (MutateSharedSetsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/sharedSets:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [SharedSetService.MutateSharedSets][google.ads.googleads.v13.services.SharedSetService.MutateSharedSets]. -message MutateSharedSetsRequest { - // Required. The ID of the customer whose shared sets are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual shared sets. - repeated SharedSetOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation (create, update, remove) on an shared set. -message SharedSetOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new shared set. - google.ads.googleads.v13.resources.SharedSet create = 1; - - // Update operation: The shared set is expected to have a valid resource - // name. - google.ads.googleads.v13.resources.SharedSet update = 2; - - // Remove operation: A resource name for the removed shared set is expected, - // in this format: - // - // `customers/{customer_id}/sharedSets/{shared_set_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/SharedSet" - }]; - } -} - -// Response message for a shared set mutate. -message MutateSharedSetsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateSharedSetResult results = 2; -} - -// The result for the shared set mutate. -message MutateSharedSetResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/SharedSet" - }]; - - // The mutated shared set with only mutable fields after mutate. The field - // will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.SharedSet shared_set = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/smart_campaign_setting_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/smart_campaign_setting_service.proto deleted file mode 100644 index 435dba1cf..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/smart_campaign_setting_service.proto +++ /dev/null @@ -1,212 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/enums/smart_campaign_not_eligible_reason.proto"; -import "google/ads/googleads/v13/enums/smart_campaign_status.proto"; -import "google/ads/googleads/v13/resources/smart_campaign_setting.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "SmartCampaignSettingServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the Smart campaign setting service. - -// Service to manage Smart campaign settings. -service SmartCampaignSettingService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Returns the status of the requested Smart campaign. - rpc GetSmartCampaignStatus(GetSmartCampaignStatusRequest) - returns (GetSmartCampaignStatusResponse) { - option (google.api.http) = { - get: "/v13/{resource_name=customers/*/smartCampaignSettings/*}:getSmartCampaignStatus" - }; - option (google.api.method_signature) = "resource_name"; - } - - // Updates Smart campaign settings for campaigns. - rpc MutateSmartCampaignSettings(MutateSmartCampaignSettingsRequest) - returns (MutateSmartCampaignSettingsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/smartCampaignSettings:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [SmartCampaignSettingService.GetSmartCampaignStatus][google.ads.googleads.v13.services.SmartCampaignSettingService.GetSmartCampaignStatus]. -message GetSmartCampaignStatusRequest { - // Required. The resource name of the Smart campaign setting belonging to the - // Smart campaign to fetch the status of. - string resource_name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/SmartCampaignSetting" - } - ]; -} - -// Details related to Smart campaigns that are not eligible to serve. -message SmartCampaignNotEligibleDetails { - // The reason why the Smart campaign is not eligible to serve. - optional google.ads.googleads.v13.enums.SmartCampaignNotEligibleReasonEnum - .SmartCampaignNotEligibleReason not_eligible_reason = 1; -} - -// Details related to Smart campaigns that are eligible to serve. -message SmartCampaignEligibleDetails { - // The timestamp of the last impression observed in the last 8 hours for this - // campaign. - // The timestamp is in the customer’s timezone and in - // “yyyy-MM-dd HH:mm:ss” format. - optional string last_impression_date_time = 1; - - // The timestamp of when the campaign will end, if applicable. - // The timestamp is in the customer’s timezone and in - // “yyyy-MM-dd HH:mm:ss” format. - optional string end_date_time = 2; -} - -// Details related to paused Smart campaigns. -message SmartCampaignPausedDetails { - // The timestamp of when the campaign was last paused. - // The timestamp is in the customer’s timezone and in - // “yyyy-MM-dd HH:mm:ss” format. - optional string paused_date_time = 1; -} - -// Details related to removed Smart campaigns. -message SmartCampaignRemovedDetails { - // The timestamp of when the campaign was removed. - // The timestamp is in the customer’s timezone and in - // “yyyy-MM-dd HH:mm:ss” format. - optional string removed_date_time = 1; -} - -// Details related to Smart campaigns that have ended. -message SmartCampaignEndedDetails { - // The timestamp of when the campaign ended. - // The timestamp is in the customer’s timezone and in - // “yyyy-MM-dd HH:mm:ss” format. - optional string end_date_time = 1; -} - -// Response message for -// [SmartCampaignSettingService.GetSmartCampaignStatus][google.ads.googleads.v13.services.SmartCampaignSettingService.GetSmartCampaignStatus]. -message GetSmartCampaignStatusResponse { - // The status of this Smart campaign. - google.ads.googleads.v13.enums.SmartCampaignStatusEnum.SmartCampaignStatus - smart_campaign_status = 1; - - // Additional details accompanying the status of a Smart campaign. - oneof smart_campaign_status_details { - // Details related to Smart campaigns that are ineligible to serve. - SmartCampaignNotEligibleDetails not_eligible_details = 2; - - // Details related to Smart campaigns that are eligible to serve. - SmartCampaignEligibleDetails eligible_details = 3; - - // Details relaed to paused Smart campaigns. - SmartCampaignPausedDetails paused_details = 4; - - // Details related to removed Smart campaigns. - SmartCampaignRemovedDetails removed_details = 5; - - // Details related to Smart campaigns that have ended. - SmartCampaignEndedDetails ended_details = 6; - } -} - -// Request message for -// [SmartCampaignSettingService.MutateSmartCampaignSetting][]. -message MutateSmartCampaignSettingsRequest { - // Required. The ID of the customer whose Smart campaign settings are being - // modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual Smart campaign - // settings. - repeated SmartCampaignSettingOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; - - // The response content type setting. Determines whether the mutable resource - // or just the resource name should be returned post mutation. - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType - response_content_type = 5; -} - -// A single operation to update Smart campaign settings for a campaign. -message SmartCampaignSettingOperation { - // Update operation: The Smart campaign setting must specify a valid - // resource name. - google.ads.googleads.v13.resources.SmartCampaignSetting update = 1; - - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 2; -} - -// Response message for campaign mutate. -message MutateSmartCampaignSettingsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 1; - - // All results for the mutate. - repeated MutateSmartCampaignSettingResult results = 2; -} - -// The result for the Smart campaign setting mutate. -message MutateSmartCampaignSettingResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/SmartCampaignSetting" - }]; - - // The mutated Smart campaign setting with only mutable fields after mutate. - // The field will only be returned when response_content_type is set to - // "MUTABLE_RESOURCE". - google.ads.googleads.v13.resources.SmartCampaignSetting - smart_campaign_setting = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/smart_campaign_suggest_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/smart_campaign_suggest_service.proto deleted file mode 100644 index 7eff6e94e..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/smart_campaign_suggest_service.proto +++ /dev/null @@ -1,257 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/common/ad_type_infos.proto"; -import "google/ads/googleads/v13/common/criteria.proto"; -import "google/ads/googleads/v13/resources/keyword_theme_constant.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "SmartCampaignSuggestServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Service to get suggestions for Smart Campaigns. -service SmartCampaignSuggestService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Returns BudgetOption suggestions. - rpc SuggestSmartCampaignBudgetOptions( - SuggestSmartCampaignBudgetOptionsRequest) - returns (SuggestSmartCampaignBudgetOptionsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}:suggestSmartCampaignBudgetOptions" - body: "*" - }; - } - - // Suggests a Smart campaign ad compatible with the Ad family of resources, - // based on data points such as targeting and the business to advertise. - rpc SuggestSmartCampaignAd(SuggestSmartCampaignAdRequest) - returns (SuggestSmartCampaignAdResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}:suggestSmartCampaignAd" - body: "*" - }; - } - - // Suggests keyword themes to advertise on. - rpc SuggestKeywordThemes(SuggestKeywordThemesRequest) - returns (SuggestKeywordThemesResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}:suggestKeywordThemes" - body: "*" - }; - } -} - -// Request message for -// [SmartCampaignSuggestService.SuggestSmartCampaignBudgets][]. -message SuggestSmartCampaignBudgetOptionsRequest { - // Required. The ID of the customer whose budget options are to be suggested. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. For first time campaign creation use SuggestionInfo, for - // subsequent updates on BudgetOptions based on an already created campaign - // use that campaign. - oneof suggestion_data { - // Required. The resource name of the campaign to get suggestion for. - string campaign = 2 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "googleads.googleapis.com/Campaign" - } - ]; - - // Required. Information needed to get budget options - SmartCampaignSuggestionInfo suggestion_info = 3 - [(google.api.field_behavior) = REQUIRED]; - } -} - -// Information needed to get suggestion for Smart Campaign. More information -// provided will help the system to derive better suggestions. -message SmartCampaignSuggestionInfo { - // A list of locations. - message LocationList { - // Required. Locations. - repeated google.ads.googleads.v13.common.LocationInfo locations = 1 - [(google.api.field_behavior) = REQUIRED]; - } - - // A context that describes a business. - message BusinessContext { - // Optional. The name of the business. - string business_name = 1 [(google.api.field_behavior) = OPTIONAL]; - } - - // Optional. Landing page URL of the campaign. - string final_url = 1 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The two letter advertising language for the Smart campaign to be - // constructed, default to 'en' if not set. - string language_code = 3 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The business ad schedule. - repeated google.ads.googleads.v13.common.AdScheduleInfo ad_schedules = 6 - [(google.api.field_behavior) = OPTIONAL]; - - // Optional. Smart campaign keyword themes. This field may greatly improve - // suggestion accuracy and we recommend always setting it if possible. - repeated google.ads.googleads.v13.common.KeywordThemeInfo keyword_themes = 7 - [(google.api.field_behavior) = OPTIONAL]; - - // The business settings to consider when generating suggestions. - // Settings are automatically extracted from the business when provided. - // Otherwise, these settings must be specified explicitly. - oneof business_setting { - // Optional. Context describing the business to advertise. - BusinessContext business_context = 8 - [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The resource name of a Business Profile location. - // Business Profile location resource names can be fetched through the - // Business Profile API and adhere to the following format: - // `locations/{locationId}`. - // - // See the [Business Profile API] - // (https://developers.google.com/my-business/reference/businessinformation/rest/v1/accounts.locations) - // for additional details. - string business_profile_location = 9 - [(google.api.field_behavior) = OPTIONAL]; - } - - // The geo target of the campaign, either a list of locations or - // a single proximity shall be specified. - oneof geo_target { - // Optional. The targeting geo location by locations. - LocationList location_list = 4 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The targeting geo location by proximity. - google.ads.googleads.v13.common.ProximityInfo proximity = 5 - [(google.api.field_behavior) = OPTIONAL]; - } -} - -// Response message for -// [SmartCampaignSuggestService.SuggestSmartCampaignBudgets][]. Depending on -// whether the system could suggest the options, either all of the options or -// none of them might be returned. -message SuggestSmartCampaignBudgetOptionsResponse { - // Performance metrics for a given budget option. - message Metrics { - // The estimated min daily clicks. - int64 min_daily_clicks = 1; - - // The estimated max daily clicks. - int64 max_daily_clicks = 2; - } - - // Smart Campaign budget option. - message BudgetOption { - // The amount of the budget, in the local currency for the account. - // Amount is specified in micros, where one million is equivalent to one - // currency unit. - int64 daily_amount_micros = 1; - - // Metrics pertaining to the suggested budget, could be empty if there is - // not enough information to derive the estimates. - Metrics metrics = 2; - } - - // Optional. The lowest budget option. - optional BudgetOption low = 1 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The recommended budget option. - optional BudgetOption recommended = 2 - [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The highest budget option. - optional BudgetOption high = 3 [(google.api.field_behavior) = OPTIONAL]; -} - -// Request message for -// [SmartCampaignSuggestService.SuggestSmartCampaignAd][google.ads.googleads.v13.services.SmartCampaignSuggestService.SuggestSmartCampaignAd]. -message SuggestSmartCampaignAdRequest { - // Required. The ID of the customer. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. Inputs used to suggest a Smart campaign ad. - // Required fields: final_url, language_code, keyword_themes. - // Optional but recommended fields to improve the quality of the suggestion: - // business_setting and geo_target. - SmartCampaignSuggestionInfo suggestion_info = 2 - [(google.api.field_behavior) = REQUIRED]; -} - -// Response message for -// [SmartCampaignSuggestService.SuggestSmartCampaignAd][google.ads.googleads.v13.services.SmartCampaignSuggestService.SuggestSmartCampaignAd]. -message SuggestSmartCampaignAdResponse { - // Optional. Ad info includes 3 creative headlines and 2 creative - // descriptions. - google.ads.googleads.v13.common.SmartCampaignAdInfo ad_info = 1 - [(google.api.field_behavior) = OPTIONAL]; -} - -// Request message for -// [SmartCampaignSuggestService.SuggestKeywordThemes][google.ads.googleads.v13.services.SmartCampaignSuggestService.SuggestKeywordThemes]. -message SuggestKeywordThemesRequest { - // Required. The ID of the customer. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. Information to get keyword theme suggestions. - // Required fields: - // - // * suggestion_info.final_url - // * suggestion_info.language_code - // * suggestion_info.geo_target - // - // Recommended fields: - // - // * suggestion_info.business_setting - SmartCampaignSuggestionInfo suggestion_info = 2 - [(google.api.field_behavior) = REQUIRED]; -} - -// Response message for -// [SmartCampaignSuggestService.SuggestKeywordThemes][google.ads.googleads.v13.services.SmartCampaignSuggestService.SuggestKeywordThemes]. -message SuggestKeywordThemesResponse { - // A Smart campaign keyword theme suggestion. - message KeywordTheme { - // A keyword theme. - oneof keyword_theme { - // A Smart campaign keyword theme constant. - google.ads.googleads.v13.resources.KeywordThemeConstant - keyword_theme_constant = 1; - - // A free-form text keyword theme. - string free_form_keyword_theme = 2; - } - } - - // Smart campaign keyword theme suggestions. - repeated KeywordTheme keyword_themes = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/third_party_app_analytics_link_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/third_party_app_analytics_link_service.proto deleted file mode 100644 index 5360808db..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/third_party_app_analytics_link_service.proto +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ThirdPartyAppAnalyticsLinkServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// This service allows management of links between Google Ads and third party -// app analytics. -service ThirdPartyAppAnalyticsLinkService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Regenerate ThirdPartyAppAnalyticsLink.shareable_link_id that should be - // provided to the third party when setting up app analytics. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [HeaderError]() - // [InternalError]() - // [QuotaError]() - // [RequestError]() - rpc RegenerateShareableLinkId(RegenerateShareableLinkIdRequest) - returns (RegenerateShareableLinkIdResponse) { - option (google.api.http) = { - post: "/v13/{resource_name=customers/*/thirdPartyAppAnalyticsLinks/*}:regenerateShareableLinkId" - body: "*" - }; - } -} - -// Request message for -// [ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId][google.ads.googleads.v13.services.ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId]. -message RegenerateShareableLinkIdRequest { - // Resource name of the third party app analytics link. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ThirdPartyAppAnalyticsLink" - }]; -} - -// Response message for -// [ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId][google.ads.googleads.v13.services.ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId]. -message RegenerateShareableLinkIdResponse {} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/travel_asset_suggestion_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/travel_asset_suggestion_service.proto deleted file mode 100644 index f3e546828..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/travel_asset_suggestion_service.proto +++ /dev/null @@ -1,123 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/asset_field_type.proto"; -import "google/ads/googleads/v13/enums/call_to_action_type.proto"; -import "google/ads/googleads/v13/enums/hotel_asset_suggestion_status.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "TravelAssetSuggestionServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Service to retrieve Travel asset suggestions. -service TravelAssetSuggestionService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Returns Travel Asset suggestions. Asset - // suggestions are returned on a best-effort basis. There are no guarantees - // that all possible asset types will be returned for any given hotel - // property. - rpc SuggestTravelAssets(SuggestTravelAssetsRequest) - returns (SuggestTravelAssetsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}:suggestTravelAssets" - body: "*" - }; - option (google.api.method_signature) = "customer_id,language_option"; - } -} - -// Request message for -// [TravelSuggestAssetsService.SuggestTravelAssets][]. -message SuggestTravelAssetsRequest { - // Required. The ID of the customer. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The language specifications in BCP 47 format (for example, en-US, - // zh-CN, etc.) for the asset suggestions. Text will be in this language. - // Usually matches one of the campaign target languages. - string language_option = 2 [(google.api.field_behavior) = REQUIRED]; - - // The Google Maps Place IDs of hotels for which assets are requested. See - // https://developers.google.com/places/web-service/place-id for more - // information. - repeated string place_id = 3; -} - -// Response message for -// [TravelSuggestAssetsService.SuggestTravelAssets][]. -message SuggestTravelAssetsResponse { - // Asset suggestions for each place ID submitted in the request. - repeated HotelAssetSuggestion hotel_asset_suggestions = 1; -} - -// Message containing the asset suggestions for a hotel. -message HotelAssetSuggestion { - // Google Places ID of the hotel. - string place_id = 1; - - // Suggested final URL for an AssetGroup. - string final_url = 2; - - // Hotel name in requested language. - string hotel_name = 3; - - // Call to action type. - google.ads.googleads.v13.enums.CallToActionTypeEnum.CallToActionType - call_to_action = 4; - - // Text assets such as headline, description, etc. - repeated HotelTextAsset text_assets = 5; - - // Image assets such as landscape/portrait/square, etc. - repeated HotelImageAsset image_assets = 6; - - // The status of the hotel asset suggestion. - google.ads.googleads.v13.enums.HotelAssetSuggestionStatusEnum - .HotelAssetSuggestionStatus status = 7; -} - -// A single text asset suggestion for a hotel. -message HotelTextAsset { - // Asset text in requested language. - string text = 1; - - // The text asset type. For example, HEADLINE, DESCRIPTION, etc. - google.ads.googleads.v13.enums.AssetFieldTypeEnum.AssetFieldType - asset_field_type = 2; -} - -// A single image asset suggestion for a hotel. -message HotelImageAsset { - // URI for the image. - string uri = 1; - - // The Image asset type. For example, MARKETING_IMAGE, - // PORTRAIT_MARKETING_IMAGE, etc. - google.ads.googleads.v13.enums.AssetFieldTypeEnum.AssetFieldType - asset_field_type = 2; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/user_data_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/user_data_service.proto deleted file mode 100644 index 20d68d86c..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/user_data_service.proto +++ /dev/null @@ -1,108 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/common/offline_user_data.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "UserDataServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the UserDataService. - -// Service to manage user data uploads. -// Any uploads made to a Customer Match list through this service will be -// eligible for matching as per the customer matching process. See -// https://support.google.com/google-ads/answer/7474263. However, the uploads -// made through this service will not be visible under the 'Segment members' -// section for the Customer Match List in the Google Ads UI. -service UserDataService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Uploads the given user data. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [FieldError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [OfflineUserDataJobError]() - // [QuotaError]() - // [RequestError]() - // [UserDataError]() - rpc UploadUserData(UploadUserDataRequest) returns (UploadUserDataResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}:uploadUserData" - body: "*" - }; - } -} - -// Request message for -// [UserDataService.UploadUserData][google.ads.googleads.v13.services.UserDataService.UploadUserData] -message UploadUserDataRequest { - // Required. The ID of the customer for which to update the user data. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to be done. - repeated UserDataOperation operations = 3 - [(google.api.field_behavior) = REQUIRED]; - - // Metadata of the request. - oneof metadata { - // Metadata for data updates to a Customer Match user list. - google.ads.googleads.v13.common.CustomerMatchUserListMetadata - customer_match_user_list_metadata = 2; - } -} - -// Operation to be made for the UploadUserDataRequest. -message UserDataOperation { - // Operation to be made for the UploadUserDataRequest. - oneof operation { - // The list of user data to be appended to the user list. - google.ads.googleads.v13.common.UserData create = 1; - - // The list of user data to be removed from the user list. - google.ads.googleads.v13.common.UserData remove = 2; - } -} - -// Response message for -// [UserDataService.UploadUserData][google.ads.googleads.v13.services.UserDataService.UploadUserData] -// Uploads made through this service will not be visible under the 'Segment -// members' section for the Customer Match List in the Google Ads UI. -message UploadUserDataResponse { - // The date time at which the request was received by API, formatted as - // "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". - optional string upload_date_time = 3; - - // Number of upload data operations received by API. - optional int32 received_operations_count = 4; -} diff --git a/third_party/googleapis/google/ads/googleads/v13/services/user_list_service.proto b/third_party/googleapis/google/ads/googleads/v13/services/user_list_service.proto deleted file mode 100644 index eee61d5e4..000000000 --- a/third_party/googleapis/google/ads/googleads/v13/services/user_list_service.proto +++ /dev/null @@ -1,139 +0,0 @@ -// Copyright 2022 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/user_list.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/protobuf/field_mask.proto"; -import "google/rpc/status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "UserListServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; - -// Proto file describing the User List service. - -// Service to manage user lists. -service UserListService { - option (google.api.default_host) = "googleads.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/adwords"; - - // Creates or updates user lists. Operation statuses are returned. - // - // List of thrown errors: - // [AuthenticationError]() - // [AuthorizationError]() - // [CollectionSizeError]() - // [DatabaseError]() - // [DistinctError]() - // [FieldError]() - // [FieldMaskError]() - // [HeaderError]() - // [InternalError]() - // [MutateError]() - // [NewResourceCreationError]() - // [NotAllowlistedError]() - // [NotEmptyError]() - // [OperationAccessDeniedError]() - // [QuotaError]() - // [RangeError]() - // [RequestError]() - // [StringFormatError]() - // [StringLengthError]() - // [UserListError]() - rpc MutateUserLists(MutateUserListsRequest) - returns (MutateUserListsResponse) { - option (google.api.http) = { - post: "/v13/customers/{customer_id=*}/userLists:mutate" - body: "*" - }; - option (google.api.method_signature) = "customer_id,operations"; - } -} - -// Request message for -// [UserListService.MutateUserLists][google.ads.googleads.v13.services.UserListService.MutateUserLists]. -message MutateUserListsRequest { - // Required. The ID of the customer whose user lists are being modified. - string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of operations to perform on individual user lists. - repeated UserListOperation operations = 2 - [(google.api.field_behavior) = REQUIRED]; - - // If true, successful operations will be carried out and invalid - // operations will return errors. If false, all operations will be carried - // out in one transaction if and only if they are all valid. - // Default is false. - bool partial_failure = 3; - - // If true, the request is validated but not executed. Only errors are - // returned, not results. - bool validate_only = 4; -} - -// A single operation (create, update) on a user list. -message UserListOperation { - // FieldMask that determines which resource fields are modified in an update. - google.protobuf.FieldMask update_mask = 4; - - // The mutate operation. - oneof operation { - // Create operation: No resource name is expected for the new user list. - google.ads.googleads.v13.resources.UserList create = 1; - - // Update operation: The user list is expected to have a valid resource - // name. - google.ads.googleads.v13.resources.UserList update = 2; - - // Remove operation: A resource name for the removed user list is expected, - // in this format: - // - // `customers/{customer_id}/userLists/{user_list_id}` - string remove = 3 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/UserList" - }]; - } -} - -// Response message for user list mutate. -message MutateUserListsResponse { - // Errors that pertain to operation failures in the partial failure mode. - // Returned only when partial_failure = true and all errors occur inside the - // operations. If any errors occur outside the operations (for example, auth - // errors), we return an RPC level error. - google.rpc.Status partial_failure_error = 3; - - // All results for the mutate. - repeated MutateUserListResult results = 2; -} - -// The result for the user list mutate. -message MutateUserListResult { - // Returned for successful operations. - string resource_name = 1 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/UserList" - }]; -} diff --git a/third_party/googleapis/google/ads/googleads/v14/BUILD.bazel b/third_party/googleapis/google/ads/googleads/v14/BUILD.bazel index 6f4bfa272..fbb172017 100644 --- a/third_party/googleapis/google/ads/googleads/v14/BUILD.bazel +++ b/third_party/googleapis/google/ads/googleads/v14/BUILD.bazel @@ -153,11 +153,7 @@ csharp_gapic_library( ":googleads_proto_with_info", ], grpc_service_config = "googleads_grpc_service_config.json", -<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v11/BUILD.bazel - service_yaml = "googleads_v11.yaml", -======= service_yaml = "googleads_v14.yaml", ->>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/BUILD.bazel deps = [ "//google/ads/googleads/v14/services:services_csharp_grpc", ], @@ -194,11 +190,7 @@ ruby_ads_gapic_library( ":overrides.:namespace.Googleads=GoogleAds", ], grpc_service_config = "googleads_grpc_service_config.json", -<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v11/BUILD.bazel - service_yaml = "googleads_v11.yaml", -======= service_yaml = "googleads_v14.yaml", ->>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/BUILD.bazel ) ruby_gapic_assembly_pkg( @@ -235,7 +227,6 @@ py_gapic_library( "python-gapic-templates=ads-templates", "warehouse-package-name=google-ads", ], - service_yaml = "googleads_v11.yaml", ) py_gapic_assembly_pkg( diff --git a/third_party/googleapis/google/ads/googleads/v14/common/BUILD.bazel b/third_party/googleapis/google/ads/googleads/v14/common/BUILD.bazel index 6429d5352..105dff9e6 100644 --- a/third_party/googleapis/google/ads/googleads/v14/common/BUILD.bazel +++ b/third_party/googleapis/google/ads/googleads/v14/common/BUILD.bazel @@ -26,11 +26,7 @@ proto_library( name = "common_proto", srcs = glob(["*.proto"]), deps = [ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/BUILD.bazel - "//google/ads/googleads/v12/enums:enums_proto", -======== "//google/ads/googleads/v14/enums:enums_proto", ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/BUILD.bazel "//google/api:annotations_proto", "//google/api:field_behavior_proto", "//google/api:resource_proto", diff --git a/third_party/googleapis/google/ads/googleads/v14/common/ad_asset.proto b/third_party/googleapis/google/ads/googleads/v14/common/ad_asset.proto index 4d864f5ac..265bc8324 100644 --- a/third_party/googleapis/google/ads/googleads/v14/common/ad_asset.proto +++ b/third_party/googleapis/google/ads/googleads/v14/common/ad_asset.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/ad_asset.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/ad_asset.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/ad_asset.proto -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/common/asset_policy.proto"; -import "google/ads/googleads/v13/enums/asset_performance_label.proto"; -import "google/ads/googleads/v13/enums/served_asset_field_type.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "AdAssetProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; -======== package google.ads.googleads.v14.common; import "google/ads/googleads/v14/common/asset_policy.proto"; @@ -48,7 +28,6 @@ option java_package = "com.google.ads.googleads.v14.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Common"; option ruby_package = "Google::Ads::GoogleAds::V14::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/ad_asset.proto // Proto file describing assets used inside an ad. @@ -61,19 +40,11 @@ message AdTextAsset { // within this field. Multiple assets can be pinned to the same field. An // asset that is unpinned or pinned to a different field will not serve in a // field where some other asset has been pinned. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/ad_asset.proto - google.ads.googleads.v13.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType - pinned_field = 2; - - // The performance label of this text asset. - google.ads.googleads.v13.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel -======== google.ads.googleads.v14.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType pinned_field = 2; // The performance label of this text asset. google.ads.googleads.v14.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/ad_asset.proto asset_performance_label = 5; // The policy summary of this text asset. @@ -103,12 +74,9 @@ message AdDiscoveryCarouselCardAsset { // The Asset resource name of this discovery carousel card. optional string asset = 1; } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/ad_asset.proto -======== // A call to action asset used inside an ad. message AdCallToActionAsset { // The Asset resource name of this call to action asset. optional string asset = 1; } ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/ad_asset.proto diff --git a/third_party/googleapis/google/ads/googleads/v14/common/ad_type_infos.proto b/third_party/googleapis/google/ads/googleads/v14/common/ad_type_infos.proto index 990a2856d..2545db2f3 100644 --- a/third_party/googleapis/google/ads/googleads/v14/common/ad_type_infos.proto +++ b/third_party/googleapis/google/ads/googleads/v14/common/ad_type_infos.proto @@ -14,27 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/ad_type_infos.proto -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/common/ad_asset.proto"; -import "google/ads/googleads/v12/enums/call_conversion_reporting_state.proto"; -import "google/ads/googleads/v12/enums/display_ad_format_setting.proto"; -import "google/ads/googleads/v12/enums/display_upload_product_type.proto"; -import "google/ads/googleads/v12/enums/legacy_app_install_ad_app_store.proto"; -import "google/ads/googleads/v12/enums/mime_type.proto"; -import "google/ads/googleads/v12/enums/video_thumbnail.proto"; -import "google/api/field_behavior.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "AdTypeInfosProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; -======== package google.ads.googleads.v14.common; import "google/ads/googleads/v14/common/ad_asset.proto"; @@ -54,7 +33,6 @@ option java_package = "com.google.ads.googleads.v14.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Common"; option ruby_package = "Google::Ads::GoogleAds::V14::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/ad_type_infos.proto // Proto file containing info messages for specific ad types. @@ -143,11 +121,7 @@ message ImageAdInfo { optional string preview_image_url = 20; // The mime type of the image. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/ad_type_infos.proto - google.ads.googleads.v12.enums.MimeTypeEnum.MimeType mime_type = 10; -======== google.ads.googleads.v14.enums.MimeTypeEnum.MimeType mime_type = 10; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/ad_type_infos.proto // The name of the image. If the image was created from a MediaFile, this is // the MediaFile's name. If the image was created from bytes, this is empty. @@ -238,12 +212,8 @@ message InFeedVideoAdInfo { string description2 = 3; // Video thumbnail image to use. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/ad_type_infos.proto - google.ads.googleads.v12.enums.VideoThumbnailEnum.VideoThumbnail thumbnail = 4; -======== google.ads.googleads.v14.enums.VideoThumbnailEnum.VideoThumbnail thumbnail = 4; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/ad_type_infos.proto } // A video ad. @@ -380,12 +350,8 @@ message LegacyResponsiveDisplayAdInfo { optional string square_marketing_image = 27; // Specifies which format the ad will be served in. Default is ALL_FORMATS. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/ad_type_infos.proto - google.ads.googleads.v12.enums.DisplayAdFormatSettingEnum.DisplayAdFormatSetting format_setting = 13; -======== google.ads.googleads.v14.enums.DisplayAdFormatSettingEnum .DisplayAdFormatSetting format_setting = 13; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/ad_type_infos.proto // Prefix before price. For example, 'as low as'. optional string price_prefix = 28; @@ -465,12 +431,8 @@ message LegacyAppInstallAdInfo { optional string app_id = 6; // The app store the mobile app is available in. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/ad_type_infos.proto - google.ads.googleads.v12.enums.LegacyAppInstallAdAppStoreEnum.LegacyAppInstallAdAppStore app_store = 2; -======== google.ads.googleads.v14.enums.LegacyAppInstallAdAppStoreEnum .LegacyAppInstallAdAppStore app_store = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/ad_type_infos.proto // The headline of the ad. optional string headline = 7; @@ -551,12 +513,8 @@ message ResponsiveDisplayAdInfo { optional string promo_text = 23; // Specifies which format the ad will be served in. Default is ALL_FORMATS. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/ad_type_infos.proto - google.ads.googleads.v12.enums.DisplayAdFormatSettingEnum.DisplayAdFormatSetting format_setting = 16; -======== google.ads.googleads.v14.enums.DisplayAdFormatSettingEnum .DisplayAdFormatSetting format_setting = 16; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/ad_type_infos.proto // Specification for various creative controls. ResponsiveDisplayAdControlSpec control_spec = 24; @@ -606,12 +564,8 @@ message LocalAdInfo { // need to be included with the ad. message DisplayUploadAdInfo { // The product type of this ad. See comments on the enum for details. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/ad_type_infos.proto - google.ads.googleads.v12.enums.DisplayUploadProductTypeEnum.DisplayUploadProductType display_upload_product_type = 1; -======== google.ads.googleads.v14.enums.DisplayUploadProductTypeEnum .DisplayUploadProductType display_upload_product_type = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/ad_type_infos.proto // The asset data that makes up the ad. oneof media_asset { @@ -689,12 +643,8 @@ message CallAdInfo { // The call conversion behavior of this call ad. It can use its own call // conversion setting, inherit the account level setting, or be disabled. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/ad_type_infos.proto - google.ads.googleads.v12.enums.CallConversionReportingStateEnum.CallConversionReportingState conversion_reporting_state = 10; -======== google.ads.googleads.v14.enums.CallConversionReportingStateEnum .CallConversionReportingState conversion_reporting_state = 10; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/ad_type_infos.proto // First part of text that can be appended to the URL in the ad. Optional. string path1 = 13; diff --git a/third_party/googleapis/google/ads/googleads/v14/common/bidding.proto b/third_party/googleapis/google/ads/googleads/v14/common/bidding.proto index ace1448e6..e1d4d5d7e 100644 --- a/third_party/googleapis/google/ads/googleads/v14/common/bidding.proto +++ b/third_party/googleapis/google/ads/googleads/v14/common/bidding.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/bidding.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/bidding.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,21 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/bidding.proto -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/enums/target_frequency_time_unit.proto"; -import "google/ads/googleads/v13/enums/target_impression_share_location.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "BiddingProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; -======== package google.ads.googleads.v14.common; import "google/ads/googleads/v14/enums/target_frequency_time_unit.proto"; @@ -46,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Common"; option ruby_package = "Google::Ads::GoogleAds::V14::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/bidding.proto // Proto file describing bidding schemes. @@ -164,11 +144,7 @@ message TargetCpmTargetFrequencyGoal { // Time window expressing the period over which you want to reach // the specified target_count. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/bidding.proto - google.ads.googleads.v13.enums.TargetFrequencyTimeUnitEnum -======== google.ads.googleads.v14.enums.TargetFrequencyTimeUnitEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/bidding.proto .TargetFrequencyTimeUnit time_unit = 2; } @@ -177,11 +153,7 @@ message TargetCpmTargetFrequencyGoal { // location). message TargetImpressionShare { // The targeted location on the search results page. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/bidding.proto - google.ads.googleads.v13.enums.TargetImpressionShareLocationEnum -======== google.ads.googleads.v14.enums.TargetImpressionShareLocationEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/bidding.proto .TargetImpressionShareLocation location = 1; // The chosen fraction of ads to be shown in the targeted location in micros. diff --git a/third_party/googleapis/google/ads/googleads/v14/common/click_location.proto b/third_party/googleapis/google/ads/googleads/v14/common/click_location.proto index cf4a96186..a3f1c493d 100644 --- a/third_party/googleapis/google/ads/googleads/v14/common/click_location.proto +++ b/third_party/googleapis/google/ads/googleads/v14/common/click_location.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/click_location.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/click_location.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/click_location.proto -package google.ads.googleads.v12.common; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "ClickLocationProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; -======== package google.ads.googleads.v14.common; option csharp_namespace = "Google.Ads.GoogleAds.V14.Common"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Common"; option ruby_package = "Google::Ads::GoogleAds::V14::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/click_location.proto // Proto file describing a ClickLocation. diff --git a/third_party/googleapis/google/ads/googleads/v14/common/criteria.proto b/third_party/googleapis/google/ads/googleads/v14/common/criteria.proto index ee32f6203..11a446536 100644 --- a/third_party/googleapis/google/ads/googleads/v14/common/criteria.proto +++ b/third_party/googleapis/google/ads/googleads/v14/common/criteria.proto @@ -14,43 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/criteria.proto -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/enums/age_range_type.proto"; -import "google/ads/googleads/v12/enums/app_payment_model_type.proto"; -import "google/ads/googleads/v12/enums/content_label_type.proto"; -import "google/ads/googleads/v12/enums/day_of_week.proto"; -import "google/ads/googleads/v12/enums/device.proto"; -import "google/ads/googleads/v12/enums/gender_type.proto"; -import "google/ads/googleads/v12/enums/hotel_date_selection_type.proto"; -import "google/ads/googleads/v12/enums/income_range_type.proto"; -import "google/ads/googleads/v12/enums/interaction_type.proto"; -import "google/ads/googleads/v12/enums/keyword_match_type.proto"; -import "google/ads/googleads/v12/enums/listing_group_type.proto"; -import "google/ads/googleads/v12/enums/location_group_radius_units.proto"; -import "google/ads/googleads/v12/enums/minute_of_hour.proto"; -import "google/ads/googleads/v12/enums/parental_status_type.proto"; -import "google/ads/googleads/v12/enums/preferred_content_type.proto"; -import "google/ads/googleads/v12/enums/product_bidding_category_level.proto"; -import "google/ads/googleads/v12/enums/product_channel.proto"; -import "google/ads/googleads/v12/enums/product_channel_exclusivity.proto"; -import "google/ads/googleads/v12/enums/product_condition.proto"; -import "google/ads/googleads/v12/enums/product_custom_attribute_index.proto"; -import "google/ads/googleads/v12/enums/product_type_level.proto"; -import "google/ads/googleads/v12/enums/proximity_radius_units.proto"; -import "google/ads/googleads/v12/enums/webpage_condition_operand.proto"; -import "google/ads/googleads/v12/enums/webpage_condition_operator.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "CriteriaProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; -======== package google.ads.googleads.v14.common; import "google/ads/googleads/v14/enums/age_range_type.proto"; @@ -85,7 +48,6 @@ option java_package = "com.google.ads.googleads.v14.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Common"; option ruby_package = "Google::Ads::GoogleAds::V14::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/criteria.proto // Proto file describing criteria types. @@ -95,12 +57,8 @@ message KeywordInfo { optional string text = 3; // The match type of the keyword. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/criteria.proto - google.ads.googleads.v12.enums.KeywordMatchTypeEnum.KeywordMatchType match_type = 2; -======== google.ads.googleads.v14.enums.KeywordMatchTypeEnum.KeywordMatchType match_type = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/criteria.proto } // A placement criterion. This can be used to modify bids for sites when @@ -158,27 +116,13 @@ message LocationInfo { // A device criterion. message DeviceInfo { // Type of the device. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/criteria.proto - google.ads.googleads.v12.enums.DeviceEnum.Device type = 1; -} - -// A preferred content criterion. -message PreferredContentInfo { - // Type of the preferred content. - google.ads.googleads.v12.enums.PreferredContentTypeEnum.PreferredContentType type = 2; -======== google.ads.googleads.v14.enums.DeviceEnum.Device type = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/criteria.proto } // A listing group criterion. message ListingGroupInfo { // Type of the listing group. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/criteria.proto - google.ads.googleads.v12.enums.ListingGroupTypeEnum.ListingGroupType type = 1; -======== google.ads.googleads.v14.enums.ListingGroupTypeEnum.ListingGroupType type = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/criteria.proto // Dimension value with which this listing group is refining its parent. // Undefined for the root group. @@ -317,12 +261,8 @@ message ProductBiddingCategoryInfo { optional int64 id = 4; // Level of the product bidding category. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/criteria.proto - google.ads.googleads.v12.enums.ProductBiddingCategoryLevelEnum.ProductBiddingCategoryLevel level = 3; -======== google.ads.googleads.v14.enums.ProductBiddingCategoryLevelEnum .ProductBiddingCategoryLevel level = 3; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/criteria.proto } // Brand of the product. @@ -334,33 +274,21 @@ message ProductBrandInfo { // Locality of a product offer. message ProductChannelInfo { // Value of the locality. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/criteria.proto - google.ads.googleads.v12.enums.ProductChannelEnum.ProductChannel channel = 1; -======== google.ads.googleads.v14.enums.ProductChannelEnum.ProductChannel channel = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/criteria.proto } // Availability of a product offer. message ProductChannelExclusivityInfo { // Value of the availability. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/criteria.proto - google.ads.googleads.v12.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity channel_exclusivity = 1; -======== google.ads.googleads.v14.enums.ProductChannelExclusivityEnum .ProductChannelExclusivity channel_exclusivity = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/criteria.proto } // Condition of a product offer. message ProductConditionInfo { // Value of the condition. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/criteria.proto - google.ads.googleads.v12.enums.ProductConditionEnum.ProductCondition condition = 1; -======== google.ads.googleads.v14.enums.ProductConditionEnum.ProductCondition condition = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/criteria.proto } // Custom attribute of a product offer. @@ -369,12 +297,8 @@ message ProductCustomAttributeInfo { optional string value = 3; // Indicates the index of the custom attribute. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/criteria.proto - google.ads.googleads.v12.enums.ProductCustomAttributeIndexEnum.ProductCustomAttributeIndex index = 2; -======== google.ads.googleads.v14.enums.ProductCustomAttributeIndexEnum .ProductCustomAttributeIndex index = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/criteria.proto } // Item id of a product offer. @@ -389,12 +313,8 @@ message ProductTypeInfo { optional string value = 3; // Level of the type. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/criteria.proto - google.ads.googleads.v12.enums.ProductTypeLevelEnum.ProductTypeLevel level = 2; -======== google.ads.googleads.v14.enums.ProductTypeLevelEnum.ProductTypeLevel level = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/criteria.proto } // Grouping of a product offer. This listing dimension is deprecated and it is @@ -428,20 +348,11 @@ message ProductTypeFullInfo { // Unknown listing dimension. message UnknownListingDimensionInfo {} -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/criteria.proto -} - -// Criterion for hotel date selection (default dates versus user selected). -message HotelDateSelectionTypeInfo { - // Type of the hotel date selection - google.ads.googleads.v12.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType type = 1; -======== // Criterion for hotel date selection (default dates versus user selected). message HotelDateSelectionTypeInfo { // Type of the hotel date selection google.ads.googleads.v14.enums.HotelDateSelectionTypeEnum .HotelDateSelectionType type = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/criteria.proto } // Criterion for number of days prior to the stay the booking is being made. @@ -474,9 +385,6 @@ message HotelCheckInDateRangeInfo { // Criterion for day of the week the booking is for. message HotelCheckInDayInfo { // The day of the week. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/criteria.proto - google.ads.googleads.v12.enums.DayOfWeekEnum.DayOfWeek day_of_week = 1; -======== google.ads.googleads.v14.enums.DayOfWeekEnum.DayOfWeek day_of_week = 1; } @@ -497,17 +405,12 @@ message ActivityCountryInfo { // String value of the activity country. The Geo Target Constant resource // name. optional string value = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/criteria.proto } // Criterion for Interaction Type. message InteractionTypeInfo { // The interaction type. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/criteria.proto - google.ads.googleads.v12.enums.InteractionTypeEnum.InteractionType type = 1; -======== google.ads.googleads.v14.enums.InteractionTypeEnum.InteractionType type = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/criteria.proto } // Represents an AdSchedule criterion. @@ -521,22 +424,14 @@ message AdScheduleInfo { // // This field is required for CREATE operations and is prohibited on UPDATE // operations. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/criteria.proto - google.ads.googleads.v12.enums.MinuteOfHourEnum.MinuteOfHour start_minute = 1; -======== google.ads.googleads.v14.enums.MinuteOfHourEnum.MinuteOfHour start_minute = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/criteria.proto // Minutes after the end hour at which this schedule ends. The schedule is // exclusive of the end minute. // // This field is required for CREATE operations and is prohibited on UPDATE // operations. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/criteria.proto - google.ads.googleads.v12.enums.MinuteOfHourEnum.MinuteOfHour end_minute = 2; -======== google.ads.googleads.v14.enums.MinuteOfHourEnum.MinuteOfHour end_minute = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/criteria.proto // Starting hour in 24 hour time. // This field must be between 0 and 23, inclusive. @@ -556,52 +451,32 @@ message AdScheduleInfo { // // This field is required for CREATE operations and is prohibited on UPDATE // operations. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/criteria.proto - google.ads.googleads.v12.enums.DayOfWeekEnum.DayOfWeek day_of_week = 5; -======== google.ads.googleads.v14.enums.DayOfWeekEnum.DayOfWeek day_of_week = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/criteria.proto } // An age range criterion. message AgeRangeInfo { // Type of the age range. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/criteria.proto - google.ads.googleads.v12.enums.AgeRangeTypeEnum.AgeRangeType type = 1; -======== google.ads.googleads.v14.enums.AgeRangeTypeEnum.AgeRangeType type = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/criteria.proto } // A gender criterion. message GenderInfo { // Type of the gender. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/criteria.proto - google.ads.googleads.v12.enums.GenderTypeEnum.GenderType type = 1; -======== google.ads.googleads.v14.enums.GenderTypeEnum.GenderType type = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/criteria.proto } // An income range criterion. message IncomeRangeInfo { // Type of the income range. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/criteria.proto - google.ads.googleads.v12.enums.IncomeRangeTypeEnum.IncomeRangeType type = 1; -======== google.ads.googleads.v14.enums.IncomeRangeTypeEnum.IncomeRangeType type = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/criteria.proto } // A parental status criterion. message ParentalStatusInfo { // Type of the parental status. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/criteria.proto - google.ads.googleads.v12.enums.ParentalStatusTypeEnum.ParentalStatusType type = 1; -======== google.ads.googleads.v14.enums.ParentalStatusTypeEnum.ParentalStatusType type = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/criteria.proto } // A YouTube Video criterion. @@ -639,12 +514,8 @@ message ProximityInfo { optional double radius = 5; // The unit of measurement of the radius. Default is KILOMETERS. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/criteria.proto - google.ads.googleads.v12.enums.ProximityRadiusUnitsEnum.ProximityRadiusUnits radius_units = 3; -======== google.ads.googleads.v14.enums.ProximityRadiusUnitsEnum.ProximityRadiusUnits radius_units = 3; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/criteria.proto // Full address. AddressInfo address = 4; @@ -718,11 +589,7 @@ message IpBlockInfo { // Content Label for category exclusion. message ContentLabelInfo { // Content label type, required for CREATE operations. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/criteria.proto - google.ads.googleads.v12.enums.ContentLabelTypeEnum.ContentLabelType type = 1; -======== google.ads.googleads.v14.enums.ContentLabelTypeEnum.ContentLabelType type = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/criteria.proto } // Represents a Carrier Criterion. @@ -770,12 +637,6 @@ message WebpageInfo { // Logical expression for targeting webpages of an advertiser's website. message WebpageConditionInfo { // Operand of webpage targeting condition. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/criteria.proto - google.ads.googleads.v12.enums.WebpageConditionOperandEnum.WebpageConditionOperand operand = 1; - - // Operator of webpage targeting condition. - google.ads.googleads.v12.enums.WebpageConditionOperatorEnum.WebpageConditionOperator operator = 2; -======== google.ads.googleads.v14.enums.WebpageConditionOperandEnum .WebpageConditionOperand operand = 1; @@ -783,7 +644,6 @@ message WebpageConditionInfo { google.ads.googleads.v14.enums.WebpageConditionOperatorEnum .WebpageConditionOperator operator = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/criteria.proto // Argument of webpage targeting condition. optional string argument = 4; @@ -804,12 +664,8 @@ message OperatingSystemVersionInfo { // An app payment model criterion. message AppPaymentModelInfo { // Type of the app payment model. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/criteria.proto - google.ads.googleads.v12.enums.AppPaymentModelTypeEnum.AppPaymentModelType type = 1; -======== google.ads.googleads.v14.enums.AppPaymentModelTypeEnum.AppPaymentModelType type = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/criteria.proto } // A mobile device criterion. @@ -850,12 +706,8 @@ message LocationGroupInfo { // Unit of the radius. Miles and meters are supported for geo target // constants. Milli miles and meters are supported for feed item sets and // asset sets. This is required and must be set in CREATE operations. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/criteria.proto - google.ads.googleads.v12.enums.LocationGroupRadiusUnitsEnum.LocationGroupRadiusUnits radius_units = 4; -======== google.ads.googleads.v14.enums.LocationGroupRadiusUnitsEnum .LocationGroupRadiusUnits radius_units = 4; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/criteria.proto // FeedItemSets whose FeedItems are targeted. If multiple IDs are specified, // then all items that appear in at least one set are targeted. This field diff --git a/third_party/googleapis/google/ads/googleads/v14/common/criterion_category_availability.proto b/third_party/googleapis/google/ads/googleads/v14/common/criterion_category_availability.proto index 404557344..5aff8ea6a 100644 --- a/third_party/googleapis/google/ads/googleads/v14/common/criterion_category_availability.proto +++ b/third_party/googleapis/google/ads/googleads/v14/common/criterion_category_availability.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/criterion_category_availability.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/criterion_category_availability.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/criterion_category_availability.proto -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/enums/advertising_channel_sub_type.proto"; -import "google/ads/googleads/v13/enums/advertising_channel_type.proto"; -import "google/ads/googleads/v13/enums/criterion_category_channel_availability_mode.proto"; -import "google/ads/googleads/v13/enums/criterion_category_locale_availability_mode.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "CriterionCategoryAvailabilityProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; -======== package google.ads.googleads.v14.common; import "google/ads/googleads/v14/enums/advertising_channel_sub_type.proto"; @@ -50,7 +29,6 @@ option java_package = "com.google.ads.googleads.v14.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Common"; option ruby_package = "Google::Ads::GoogleAds::V14::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/criterion_category_availability.proto // Proto file describing criterion category availability information. @@ -72,17 +50,6 @@ message CriterionCategoryChannelAvailability { // CHANNEL_TYPE_AND_SUBTYPES (advertising_channel_type, // advertising_channel_sub_type, and include_default_channel_sub_type will all // be set). -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/criterion_category_availability.proto - google.ads.googleads.v13.enums.CriterionCategoryChannelAvailabilityModeEnum - .CriterionCategoryChannelAvailabilityMode availability_mode = 1; - - // Channel type the category is available to. - google.ads.googleads.v13.enums.AdvertisingChannelTypeEnum - .AdvertisingChannelType advertising_channel_type = 2; - - // Channel subtypes under the channel type the category is available to. - repeated google.ads.googleads.v13.enums.AdvertisingChannelSubTypeEnum -======== google.ads.googleads.v14.enums.CriterionCategoryChannelAvailabilityModeEnum .CriterionCategoryChannelAvailabilityMode availability_mode = 1; @@ -92,7 +59,6 @@ message CriterionCategoryChannelAvailability { // Channel subtypes under the channel type the category is available to. repeated google.ads.googleads.v14.enums.AdvertisingChannelSubTypeEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/criterion_category_availability.proto .AdvertisingChannelSubType advertising_channel_sub_type = 3; // Whether default channel sub type is included. For example, @@ -108,11 +74,7 @@ message CriterionCategoryLocaleAvailability { // language will be empty), COUNTRY (only country will be set), LANGUAGE (only // language wil be set), COUNTRY_AND_LANGUAGE (both country and language will // be set). -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/criterion_category_availability.proto - google.ads.googleads.v13.enums.CriterionCategoryLocaleAvailabilityModeEnum -======== google.ads.googleads.v14.enums.CriterionCategoryLocaleAvailabilityModeEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/criterion_category_availability.proto .CriterionCategoryLocaleAvailabilityMode availability_mode = 1; // The ISO-3166-1 alpha-2 country code associated with the category. diff --git a/third_party/googleapis/google/ads/googleads/v14/common/custom_parameter.proto b/third_party/googleapis/google/ads/googleads/v14/common/custom_parameter.proto index 0b9e190bc..4e2e09be5 100644 --- a/third_party/googleapis/google/ads/googleads/v14/common/custom_parameter.proto +++ b/third_party/googleapis/google/ads/googleads/v14/common/custom_parameter.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/custom_parameter.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/custom_parameter.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/custom_parameter.proto -package google.ads.googleads.v12.common; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "CustomParameterProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; -======== package google.ads.googleads.v14.common; option csharp_namespace = "Google.Ads.GoogleAds.V14.Common"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Common"; option ruby_package = "Google::Ads::GoogleAds::V14::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/custom_parameter.proto // Proto file describing CustomParameter and operation diff --git a/third_party/googleapis/google/ads/googleads/v14/common/customizer_value.proto b/third_party/googleapis/google/ads/googleads/v14/common/customizer_value.proto index fe4aefcfc..2c46d4726 100644 --- a/third_party/googleapis/google/ads/googleads/v14/common/customizer_value.proto +++ b/third_party/googleapis/google/ads/googleads/v14/common/customizer_value.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/customizer_value.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/customizer_value.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,21 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/customizer_value.proto -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/enums/customizer_attribute_type.proto"; -import "google/api/field_behavior.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "CustomizerValueProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; -======== package google.ads.googleads.v14.common; import "google/ads/googleads/v14/enums/customizer_attribute_type.proto"; @@ -46,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Common"; option ruby_package = "Google::Ads::GoogleAds::V14::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/customizer_value.proto // Proto file describing common customizer value proto messages. @@ -56,11 +36,7 @@ message CustomizerValue { // Required. The data type for the customizer value. It must match the // attribute type. The string_value content must match the constraints // associated with the type. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/customizer_value.proto - google.ads.googleads.v13.enums.CustomizerAttributeTypeEnum -======== google.ads.googleads.v14.enums.CustomizerAttributeTypeEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/customizer_value.proto .CustomizerAttributeType type = 1 [(google.api.field_behavior) = REQUIRED]; diff --git a/third_party/googleapis/google/ads/googleads/v14/common/dates.proto b/third_party/googleapis/google/ads/googleads/v14/common/dates.proto index 419e588fd..e20890e61 100644 --- a/third_party/googleapis/google/ads/googleads/v14/common/dates.proto +++ b/third_party/googleapis/google/ads/googleads/v14/common/dates.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/dates.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/dates.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,20 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/dates.proto -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/enums/month_of_year.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "DatesProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; -======== package google.ads.googleads.v14.common; import "google/ads/googleads/v14/enums/month_of_year.proto"; @@ -44,7 +26,6 @@ option java_package = "com.google.ads.googleads.v14.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Common"; option ruby_package = "Google::Ads::GoogleAds::V14::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/dates.proto // Proto file describing date range message. @@ -73,9 +54,5 @@ message YearMonth { int64 year = 1; // The month of the year. (for example, FEBRUARY). -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/dates.proto - google.ads.googleads.v12.enums.MonthOfYearEnum.MonthOfYear month = 2; -======== google.ads.googleads.v14.enums.MonthOfYearEnum.MonthOfYear month = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/dates.proto } diff --git a/third_party/googleapis/google/ads/googleads/v14/common/extensions.proto b/third_party/googleapis/google/ads/googleads/v14/common/extensions.proto index 8c2151841..2a7268aef 100644 --- a/third_party/googleapis/google/ads/googleads/v14/common/extensions.proto +++ b/third_party/googleapis/google/ads/googleads/v14/common/extensions.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/extensions.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/extensions.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,30 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/extensions.proto -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/common/custom_parameter.proto"; -import "google/ads/googleads/v13/common/feed_common.proto"; -import "google/ads/googleads/v13/enums/app_store.proto"; -import "google/ads/googleads/v13/enums/call_conversion_reporting_state.proto"; -import "google/ads/googleads/v13/enums/price_extension_price_qualifier.proto"; -import "google/ads/googleads/v13/enums/price_extension_price_unit.proto"; -import "google/ads/googleads/v13/enums/price_extension_type.proto"; -import "google/ads/googleads/v13/enums/promotion_extension_discount_modifier.proto"; -import "google/ads/googleads/v13/enums/promotion_extension_occasion.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "ExtensionsProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; -======== package google.ads.googleads.v14.common; import "google/ads/googleads/v14/common/custom_parameter.proto"; @@ -64,7 +36,6 @@ option java_package = "com.google.ads.googleads.v14.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Common"; option ruby_package = "Google::Ads::GoogleAds::V14::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/extensions.proto // Proto file describing extension types. @@ -81,11 +52,7 @@ message AppFeedItem { // The application store that the target application belongs to. // This field is required. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/extensions.proto - google.ads.googleads.v13.enums.AppStoreEnum.AppStore app_store = 3; -======== google.ads.googleads.v14.enums.AppStoreEnum.AppStore app_store = 3; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/extensions.proto // A list of possible final URLs after all cross domain redirects. // This list must not be empty. @@ -132,11 +99,7 @@ message CallFeedItem { // Enum value that indicates whether this call extension uses its own call // conversion setting (or just have call conversion disabled), or following // the account level setting. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/extensions.proto - google.ads.googleads.v13.enums.CallConversionReportingStateEnum -======== google.ads.googleads.v14.enums.CallConversionReportingStateEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/extensions.proto .CallConversionReportingState call_conversion_reporting_state = 6; } @@ -232,19 +195,11 @@ message TextMessageFeedItem { // Represents a Price extension. message PriceFeedItem { // Price extension type of this extension. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/extensions.proto - google.ads.googleads.v13.enums.PriceExtensionTypeEnum.PriceExtensionType - type = 1; - - // Price qualifier for all offers of this price extension. - google.ads.googleads.v13.enums.PriceExtensionPriceQualifierEnum -======== google.ads.googleads.v14.enums.PriceExtensionTypeEnum.PriceExtensionType type = 1; // Price qualifier for all offers of this price extension. google.ads.googleads.v14.enums.PriceExtensionPriceQualifierEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/extensions.proto .PriceExtensionPriceQualifier price_qualifier = 2; // Tracking URL template for all offers of this price extension. @@ -272,11 +227,7 @@ message PriceOffer { Money price = 3; // Price unit for this offer. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/extensions.proto - google.ads.googleads.v13.enums.PriceExtensionPriceUnitEnum -======== google.ads.googleads.v14.enums.PriceExtensionPriceUnitEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/extensions.proto .PriceExtensionPriceUnit unit = 4; // A list of possible final URLs after all cross domain redirects. @@ -293,11 +244,7 @@ message PromotionFeedItem { optional string promotion_target = 16; // Enum that modifies the qualification of the discount. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/extensions.proto - google.ads.googleads.v13.enums.PromotionExtensionDiscountModifierEnum -======== google.ads.googleads.v14.enums.PromotionExtensionDiscountModifierEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/extensions.proto .PromotionExtensionDiscountModifier discount_modifier = 2; // Start date of when the promotion is eligible to be redeemed. @@ -309,11 +256,7 @@ message PromotionFeedItem { // The occasion the promotion was intended for. // If an occasion is set, the redemption window will need to fall within // the date range associated with the occasion. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/extensions.proto - google.ads.googleads.v13.enums.PromotionExtensionOccasionEnum -======== google.ads.googleads.v14.enums.PromotionExtensionOccasionEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/extensions.proto .PromotionExtensionOccasion occasion = 9; // A list of possible final URLs after all cross domain redirects. diff --git a/third_party/googleapis/google/ads/googleads/v14/common/feed_common.proto b/third_party/googleapis/google/ads/googleads/v14/common/feed_common.proto index 8d8427486..2de460a33 100644 --- a/third_party/googleapis/google/ads/googleads/v14/common/feed_common.proto +++ b/third_party/googleapis/google/ads/googleads/v14/common/feed_common.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/feed_common.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/feed_common.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/feed_common.proto -package google.ads.googleads.v12.common; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "FeedCommonProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; -======== package google.ads.googleads.v14.common; option csharp_namespace = "Google.Ads.GoogleAds.V14.Common"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Common"; option ruby_package = "Google::Ads::GoogleAds::V14::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/feed_common.proto // Proto file describing common feed proto messages. diff --git a/third_party/googleapis/google/ads/googleads/v14/common/feed_item_set_filter_type_infos.proto b/third_party/googleapis/google/ads/googleads/v14/common/feed_item_set_filter_type_infos.proto index 2844c2324..7b47020c6 100644 --- a/third_party/googleapis/google/ads/googleads/v14/common/feed_item_set_filter_type_infos.proto +++ b/third_party/googleapis/google/ads/googleads/v14/common/feed_item_set_filter_type_infos.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/feed_item_set_filter_type_infos.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/feed_item_set_filter_type_infos.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,20 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/feed_item_set_filter_type_infos.proto -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/enums/feed_item_set_string_filter_type.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemSetFilterTypeInfosProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; -======== package google.ads.googleads.v14.common; import "google/ads/googleads/v14/enums/feed_item_set_string_filter_type.proto"; @@ -44,7 +26,6 @@ option java_package = "com.google.ads.googleads.v14.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Common"; option ruby_package = "Google::Ads::GoogleAds::V14::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/feed_item_set_filter_type_infos.proto // Represents a filter on locations in a feed item set. // Only applicable if the parent Feed of the FeedItemSet is a LOCATION feed. @@ -63,11 +44,7 @@ message BusinessNameFilter { string business_name = 1; // The type of string matching to use when filtering with business_name. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/feed_item_set_filter_type_infos.proto - google.ads.googleads.v13.enums.FeedItemSetStringFilterTypeEnum -======== google.ads.googleads.v14.enums.FeedItemSetStringFilterTypeEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/feed_item_set_filter_type_infos.proto .FeedItemSetStringFilterType filter_type = 2; } diff --git a/third_party/googleapis/google/ads/googleads/v14/common/final_app_url.proto b/third_party/googleapis/google/ads/googleads/v14/common/final_app_url.proto index 607a973ca..b62543aa7 100644 --- a/third_party/googleapis/google/ads/googleads/v14/common/final_app_url.proto +++ b/third_party/googleapis/google/ads/googleads/v14/common/final_app_url.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/final_app_url.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/final_app_url.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,20 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/final_app_url.proto -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/enums/app_url_operating_system_type.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "FinalAppUrlProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; -======== package google.ads.googleads.v14.common; import "google/ads/googleads/v14/enums/app_url_operating_system_type.proto"; @@ -44,18 +26,13 @@ option java_package = "com.google.ads.googleads.v14.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Common"; option ruby_package = "Google::Ads::GoogleAds::V14::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/final_app_url.proto // Proto file FinalAppUrl type. // A URL for deep linking into an app for the given operating system. message FinalAppUrl { // The operating system targeted by this URL. Required. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/final_app_url.proto - google.ads.googleads.v13.enums.AppUrlOperatingSystemTypeEnum -======== google.ads.googleads.v14.enums.AppUrlOperatingSystemTypeEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/final_app_url.proto .AppUrlOperatingSystemType os_type = 1; // The app deep link URL. Deep links specify a location in an app that diff --git a/third_party/googleapis/google/ads/googleads/v14/common/frequency_cap.proto b/third_party/googleapis/google/ads/googleads/v14/common/frequency_cap.proto index e7da3c10b..8ebd8802f 100644 --- a/third_party/googleapis/google/ads/googleads/v14/common/frequency_cap.proto +++ b/third_party/googleapis/google/ads/googleads/v14/common/frequency_cap.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/frequency_cap.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/frequency_cap.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/frequency_cap.proto -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/enums/frequency_cap_event_type.proto"; -import "google/ads/googleads/v13/enums/frequency_cap_level.proto"; -import "google/ads/googleads/v13/enums/frequency_cap_time_unit.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "FrequencyCapProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; -======== package google.ads.googleads.v14.common; import "google/ads/googleads/v14/enums/frequency_cap_event_type.proto"; @@ -48,7 +28,6 @@ option java_package = "com.google.ads.googleads.v14.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Common"; option ruby_package = "Google::Ads::GoogleAds::V14::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/frequency_cap.proto // Proto file describing frequency caps. @@ -68,17 +47,6 @@ message FrequencyCapEntry { message FrequencyCapKey { // The level on which the cap is to be applied (for example, ad group ad, ad // group). The cap is applied to all the entities of this level. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/frequency_cap.proto - google.ads.googleads.v13.enums.FrequencyCapLevelEnum.FrequencyCapLevel level = - 1; - - // The type of event that the cap applies to (for example, impression). - google.ads.googleads.v13.enums.FrequencyCapEventTypeEnum.FrequencyCapEventType - event_type = 3; - - // Unit of time the cap is defined at (for example, day, week). - google.ads.googleads.v13.enums.FrequencyCapTimeUnitEnum.FrequencyCapTimeUnit -======== google.ads.googleads.v14.enums.FrequencyCapLevelEnum.FrequencyCapLevel level = 1; @@ -88,7 +56,6 @@ message FrequencyCapKey { // Unit of time the cap is defined at (for example, day, week). google.ads.googleads.v14.enums.FrequencyCapTimeUnitEnum.FrequencyCapTimeUnit ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/frequency_cap.proto time_unit = 2; // Number of time units the cap lasts. diff --git a/third_party/googleapis/google/ads/googleads/v14/common/keyword_plan_common.proto b/third_party/googleapis/google/ads/googleads/v14/common/keyword_plan_common.proto index d84b81b93..71a3f3933 100644 --- a/third_party/googleapis/google/ads/googleads/v14/common/keyword_plan_common.proto +++ b/third_party/googleapis/google/ads/googleads/v14/common/keyword_plan_common.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/keyword_plan_common.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/keyword_plan_common.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/keyword_plan_common.proto -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/common/dates.proto"; -import "google/ads/googleads/v13/enums/device.proto"; -import "google/ads/googleads/v13/enums/keyword_plan_aggregate_metric_type.proto"; -import "google/ads/googleads/v13/enums/keyword_plan_competition_level.proto"; -import "google/ads/googleads/v13/enums/keyword_plan_concept_group_type.proto"; -import "google/ads/googleads/v13/enums/month_of_year.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanCommonProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; -======== package google.ads.googleads.v14.common; import "google/ads/googleads/v14/common/dates.proto"; @@ -54,7 +31,6 @@ option java_package = "com.google.ads.googleads.v14.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Common"; option ruby_package = "Google::Ads::GoogleAds::V14::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/keyword_plan_common.proto // Proto file describing Keyword Planner messages. @@ -71,11 +47,7 @@ message KeywordPlanHistoricalMetrics { repeated MonthlySearchVolume monthly_search_volumes = 6; // The competition level for the query. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/keyword_plan_common.proto - google.ads.googleads.v13.enums.KeywordPlanCompetitionLevelEnum -======== google.ads.googleads.v14.enums.KeywordPlanCompetitionLevelEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/keyword_plan_common.proto .KeywordPlanCompetitionLevel competition = 2; // The competition index for the query in the range [0, 100]. @@ -105,14 +77,7 @@ message HistoricalMetricsOptions { optional YearMonthRange year_month_range = 1; // Indicates whether to include average cost per click value. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/keyword_plan_common.proto - // Average CPC is a legacy value that will be removed and replaced in the - // future, and as such we are including it as an optioanl value so clients - // only use it when strictly necessary and to better track clients that use - // this value. -======== // Average CPC is provided only for legacy support. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/keyword_plan_common.proto bool include_average_cpc = 2; } @@ -122,11 +87,7 @@ message MonthlySearchVolume { optional int64 year = 4; // The month of the search volume. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/keyword_plan_common.proto - google.ads.googleads.v13.enums.MonthOfYearEnum.MonthOfYear month = 2; -======== google.ads.googleads.v14.enums.MonthOfYearEnum.MonthOfYear month = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/keyword_plan_common.proto // Approximate number of searches for the month. // A null value indicates the search volume is unavailable for @@ -137,11 +98,7 @@ message MonthlySearchVolume { // The aggregate metrics specification of the request. message KeywordPlanAggregateMetrics { // The list of aggregate metrics to fetch data. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/keyword_plan_common.proto - repeated google.ads.googleads.v13.enums.KeywordPlanAggregateMetricTypeEnum -======== repeated google.ads.googleads.v14.enums.KeywordPlanAggregateMetricTypeEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/keyword_plan_common.proto .KeywordPlanAggregateMetricType aggregate_metric_types = 1; } @@ -159,11 +116,7 @@ message KeywordPlanAggregateMetricResults { // The total searches for the device type during the specified time period. message KeywordPlanDeviceSearches { // The device type. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/keyword_plan_common.proto - google.ads.googleads.v13.enums.DeviceEnum.Device device = 1; -======== google.ads.googleads.v14.enums.DeviceEnum.Device device = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/keyword_plan_common.proto // The total searches for the device. optional int64 search_count = 2; @@ -190,10 +143,6 @@ message ConceptGroup { string name = 1; // The concept group type. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/keyword_plan_common.proto - google.ads.googleads.v13.enums.KeywordPlanConceptGroupTypeEnum -======== google.ads.googleads.v14.enums.KeywordPlanConceptGroupTypeEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/keyword_plan_common.proto .KeywordPlanConceptGroupType type = 2; } diff --git a/third_party/googleapis/google/ads/googleads/v14/common/matching_function.proto b/third_party/googleapis/google/ads/googleads/v14/common/matching_function.proto index fce6449ca..a75e28ebb 100644 --- a/third_party/googleapis/google/ads/googleads/v14/common/matching_function.proto +++ b/third_party/googleapis/google/ads/googleads/v14/common/matching_function.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/matching_function.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/matching_function.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,21 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/matching_function.proto -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/enums/matching_function_context_type.proto"; -import "google/ads/googleads/v13/enums/matching_function_operator.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "MatchingFunctionProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; -======== package google.ads.googleads.v14.common; import "google/ads/googleads/v14/enums/matching_function_context_type.proto"; @@ -46,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Common"; option ruby_package = "Google::Ads::GoogleAds::V14::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/matching_function.proto // Proto file describing a matching function. @@ -74,11 +54,7 @@ message MatchingFunction { optional string function_string = 5; // Operator for a function. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/matching_function.proto - google.ads.googleads.v13.enums.MatchingFunctionOperatorEnum -======== google.ads.googleads.v14.enums.MatchingFunctionOperatorEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/matching_function.proto .MatchingFunctionOperator operator = 4; @@ -130,11 +106,7 @@ message Operand { // An operand in a function referring to a value in the request context. message RequestContextOperand { // Type of value to be referred in the request context. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/matching_function.proto - google.ads.googleads.v13.enums.MatchingFunctionContextTypeEnum -======== google.ads.googleads.v14.enums.MatchingFunctionContextTypeEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/matching_function.proto .MatchingFunctionContextType context_type = 1; } diff --git a/third_party/googleapis/google/ads/googleads/v14/common/metrics.proto b/third_party/googleapis/google/ads/googleads/v14/common/metrics.proto index 4c25a4596..09c7255fa 100644 --- a/third_party/googleapis/google/ads/googleads/v14/common/metrics.proto +++ b/third_party/googleapis/google/ads/googleads/v14/common/metrics.proto @@ -14,21 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/metrics.proto -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/enums/interaction_event_type.proto"; -import "google/ads/googleads/v12/enums/quality_score_bucket.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "MetricsProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; -======== package google.ads.googleads.v14.common; import "google/ads/googleads/v14/enums/interaction_event_type.proto"; @@ -42,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Common"; option ruby_package = "Google::Ads::GoogleAds::V14::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/metrics.proto // Proto file describing metrics. @@ -167,24 +151,16 @@ message Metrics { // organic search results. // This percentage is computed only over the auctions that you appeared in // the page. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/metrics.proto - // This metric is not publicly available. - optional double auction_insight_search_absolute_top_impression_percentage = 258; -======== // // This metric is not publicly available. optional double auction_insight_search_absolute_top_impression_percentage = 258; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/metrics.proto // This metric is part of the Auction Insights report, and tells the // percentage of impressions that another participant obtained, over the total // number of impressions that your ads were eligible for. // Any value below 0.1 is reported as 0.0999. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/metrics.proto -======== // ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/metrics.proto // This metric is not publicly available. optional double auction_insight_search_impression_share = 259; @@ -193,30 +169,21 @@ message Metrics { // another participant in the auction, compared to the total number of // impressions that your ads were eligible for. // Any value below 0.1 is reported as 0.0999. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/metrics.proto -======== // ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/metrics.proto // This metric is not publicly available. optional double auction_insight_search_outranking_share = 260; // This metric is part of the Auction Insights report, and tells how often // another participant's ad received an impression when your ad also received // an impression. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/metrics.proto -======== // ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/metrics.proto // This metric is not publicly available. optional double auction_insight_search_overlap_rate = 261; // This metric is part of the Auction Insights report, and tells how often // another participant's ad was shown in a higher position than yours, when // both of your ads were shown at the same page. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/metrics.proto -======== // ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/metrics.proto // This metric is not publicly available. optional double auction_insight_search_position_above_rate = 262; @@ -224,10 +191,7 @@ message Metrics { // the ads of another participant showed above the organic search results. // This percentage is computed only over the auctions that you appeared in // the page. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/metrics.proto -======== // ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/metrics.proto // This metric is not publicly available. optional double auction_insight_search_top_impression_percentage = 263; @@ -479,30 +443,19 @@ message Metrics { optional int64 hotel_eligible_impressions = 215; // The creative historical quality score. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/metrics.proto - google.ads.googleads.v12.enums.QualityScoreBucketEnum.QualityScoreBucket historical_creative_quality_score = 80; - - // The quality of historical landing page experience. - google.ads.googleads.v12.enums.QualityScoreBucketEnum.QualityScoreBucket historical_landing_page_quality_score = 81; -======== google.ads.googleads.v14.enums.QualityScoreBucketEnum.QualityScoreBucket historical_creative_quality_score = 80; // The quality of historical landing page experience. google.ads.googleads.v14.enums.QualityScoreBucketEnum.QualityScoreBucket historical_landing_page_quality_score = 81; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/metrics.proto // The historical quality score. optional int64 historical_quality_score = 216; // The historical search predicted click through rate (CTR). -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/metrics.proto - google.ads.googleads.v12.enums.QualityScoreBucketEnum.QualityScoreBucket historical_search_predicted_ctr = 83; -======== google.ads.googleads.v14.enums.QualityScoreBucketEnum.QualityScoreBucket historical_search_predicted_ctr = 83; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/metrics.proto // The number of times the ad was forwarded to someone else as a message. optional int64 gmail_forwards = 217; @@ -535,12 +488,8 @@ message Metrics { optional int64 interactions = 223; // The types of payable and free interactions. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/metrics.proto - repeated google.ads.googleads.v12.enums.InteractionEventTypeEnum.InteractionEventType interaction_event_types = 100; -======== repeated google.ads.googleads.v14.enums.InteractionEventTypeEnum .InteractionEventType interaction_event_types = 100; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/metrics.proto // The percentage of clicks filtered out of your total number of clicks // (filtered + non-filtered clicks) during the reporting period. @@ -829,12 +778,8 @@ message Metrics { // Number of call button clicks on any location surface after an impression. // This measure is coming from Asset based location. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/metrics.proto - optional double view_through_conversions_from_location_asset_click_to_call = 275; -======== optional double view_through_conversions_from_location_asset_click_to_call = 275; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/metrics.proto // Number of driving directions clicks on any location surface after an // impression. This measure is coming from Asset based location. @@ -850,13 +795,6 @@ message Metrics { // Number of other types of local action clicks on any location surface after // an impression. This measure is coming from Asset based location. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/metrics.proto - optional double view_through_conversions_from_location_asset_other_engagement = 279; - - // Estimated number of visits to the store after an impression. - // This measure is coming from Asset based location. - optional double view_through_conversions_from_location_asset_store_visits = 280; -======== optional double view_through_conversions_from_location_asset_other_engagement = 279; @@ -864,13 +802,10 @@ message Metrics { // This measure is coming from Asset based location. optional double view_through_conversions_from_location_asset_store_visits = 280; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/metrics.proto // Number of website URL clicks on any location surface after an impression. // This measure is coming from Asset based location. optional double view_through_conversions_from_location_asset_website = 281; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/metrics.proto -======== } // Search volume range. @@ -881,5 +816,4 @@ message SearchVolumeRange { // Upper bound of search volume. optional int64 max = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/metrics.proto } diff --git a/third_party/googleapis/google/ads/googleads/v14/common/offline_user_data.proto b/third_party/googleapis/google/ads/googleads/v14/common/offline_user_data.proto index 58f9cd22c..4bb6c7d41 100644 --- a/third_party/googleapis/google/ads/googleads/v14/common/offline_user_data.proto +++ b/third_party/googleapis/google/ads/googleads/v14/common/offline_user_data.proto @@ -14,21 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/offline_user_data.proto -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/enums/user_identifier_source.proto"; -import "google/api/field_behavior.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "OfflineUserDataProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; -======== package google.ads.googleads.v14.common; import "google/ads/googleads/v14/enums/user_identifier_source.proto"; @@ -42,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Common"; option ruby_package = "Google::Ads::GoogleAds::V14::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/offline_user_data.proto // Proto file describing offline user data. @@ -81,12 +65,8 @@ message OfflineUserAddressInfo { message UserIdentifier { // Source of the user identifier when the upload is from Store Sales, // ConversionUploadService, or ConversionAdjustmentUploadService. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/offline_user_data.proto - google.ads.googleads.v12.enums.UserIdentifierSourceEnum.UserIdentifierSource user_identifier_source = 6; -======== google.ads.googleads.v14.enums.UserIdentifierSourceEnum.UserIdentifierSource user_identifier_source = 6; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/offline_user_data.proto // Exactly one must be specified. For OfflineUserDataJobService, Customer // Match accepts hashed_email, hashed_phone_number, mobile_id, @@ -238,13 +218,8 @@ message UserAttribute { // allow-list with the user's consent. optional ShoppingLoyalty shopping_loyalty = 7; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/offline_user_data.proto - // Optional. Advertiser defined lifecycle stage for the user. The accepted values are - // "Lead", "Active" and "Churned". -======== // Optional. Advertiser defined lifecycle stage for the user. The accepted // values are "Lead", "Active" and "Churned". ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/offline_user_data.proto string lifecycle_stage = 8 [(google.api.field_behavior) = OPTIONAL]; // Optional. Timestamp of the first purchase made by the user. @@ -253,28 +228,17 @@ message UserAttribute { // use the account's timezone as default. string first_purchase_date_time = 9 [(google.api.field_behavior) = OPTIONAL]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/offline_user_data.proto - // Optional. Advertiser defined events and their attributes. All the values in the - // nested fields are required. Currently this field is in beta. - repeated EventAttribute event_attribute = 10 [(google.api.field_behavior) = OPTIONAL]; -======== // Optional. Advertiser defined events and their attributes. All the values in // the nested fields are required. Currently this field is in beta. repeated EventAttribute event_attribute = 10 [(google.api.field_behavior) = OPTIONAL]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/offline_user_data.proto } // Advertiser defined events and their attributes. All the values in the // nested fields are required. message EventAttribute { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/offline_user_data.proto - // Required. Advertiser defined event to be used for remarketing. The accepted values - // are "Viewed", "Cart", "Purchased" and "Recommended". -======== // Required. Advertiser defined event to be used for remarketing. The accepted // values are "Viewed", "Cart", "Purchased" and "Recommended". ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/offline_user_data.proto string event = 1 [(google.api.field_behavior) = REQUIRED]; // Required. Timestamp at which the event happened. @@ -284,23 +248,14 @@ message EventAttribute { string event_date_time = 2 [(google.api.field_behavior) = REQUIRED]; // Required. Item attributes of the event. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/offline_user_data.proto - repeated EventItemAttribute item_attribute = 3 [(google.api.field_behavior) = REQUIRED]; -======== repeated EventItemAttribute item_attribute = 3 [(google.api.field_behavior) = REQUIRED]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/offline_user_data.proto } // Event Item attributes of the Customer Match. message EventItemAttribute { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/offline_user_data.proto - // Optional. A unique identifier of a product. It can be either the Merchant Center Item - // ID or GTIN (Global Trade Item Number). -======== // Optional. A unique identifier of a product. It can be either the Merchant // Center Item ID or GTIN (Global Trade Item Number). ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/offline_user_data.proto string item_id = 1 [(google.api.field_behavior) = OPTIONAL]; } diff --git a/third_party/googleapis/google/ads/googleads/v14/common/policy.proto b/third_party/googleapis/google/ads/googleads/v14/common/policy.proto index beeda811c..34f91354e 100644 --- a/third_party/googleapis/google/ads/googleads/v14/common/policy.proto +++ b/third_party/googleapis/google/ads/googleads/v14/common/policy.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/policy.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/policy.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/policy.proto -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/enums/policy_topic_entry_type.proto"; -import "google/ads/googleads/v13/enums/policy_topic_evidence_destination_mismatch_url_type.proto"; -import "google/ads/googleads/v13/enums/policy_topic_evidence_destination_not_working_device.proto"; -import "google/ads/googleads/v13/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "PolicyProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; -======== package google.ads.googleads.v14.common; import "google/ads/googleads/v14/enums/policy_topic_entry_type.proto"; @@ -50,7 +29,6 @@ option java_package = "com.google.ads.googleads.v14.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Common"; option ruby_package = "Google::Ads::GoogleAds::V14::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/policy.proto // Proto file describing policy information. @@ -108,11 +86,7 @@ message PolicyTopicEntry { optional string topic = 5; // Describes the negative or positive effect this policy will have on serving. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/policy.proto - google.ads.googleads.v13.enums.PolicyTopicEntryTypeEnum.PolicyTopicEntryType -======== google.ads.googleads.v14.enums.PolicyTopicEntryTypeEnum.PolicyTopicEntryType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/policy.proto type = 2; // Additional information that explains policy finding @@ -151,11 +125,7 @@ message PolicyTopicEvidence { // Evidence of mismatches between the URLs of a resource. message DestinationMismatch { // The set of URLs that did not match each other. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/policy.proto - repeated google.ads.googleads.v13.enums -======== repeated google.ads.googleads.v14.enums ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/policy.proto .PolicyTopicEvidenceDestinationMismatchUrlTypeEnum .PolicyTopicEvidenceDestinationMismatchUrlType url_types = 1; } @@ -167,11 +137,7 @@ message PolicyTopicEvidence { optional string expanded_url = 7; // The type of device that failed to load the URL. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/policy.proto - google.ads.googleads.v13.enums -======== google.ads.googleads.v14.enums ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/policy.proto .PolicyTopicEvidenceDestinationNotWorkingDeviceEnum .PolicyTopicEvidenceDestinationNotWorkingDevice device = 4; @@ -183,11 +149,7 @@ message PolicyTopicEvidence { // Indicates the reason of the DESTINATION_NOT_WORKING policy finding. oneof reason { // The type of DNS error. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/policy.proto - google.ads.googleads.v13.enums -======== google.ads.googleads.v14.enums ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/policy.proto .PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum .PolicyTopicEvidenceDestinationNotWorkingDnsErrorType dns_error_type = 1; diff --git a/third_party/googleapis/google/ads/googleads/v14/common/policy_summary.proto b/third_party/googleapis/google/ads/googleads/v14/common/policy_summary.proto index 67787b3e3..e7618c806 100644 --- a/third_party/googleapis/google/ads/googleads/v14/common/policy_summary.proto +++ b/third_party/googleapis/google/ads/googleads/v14/common/policy_summary.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/policy_summary.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/policy_summary.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/policy_summary.proto -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/common/policy.proto"; -import "google/ads/googleads/v13/enums/policy_approval_status.proto"; -import "google/ads/googleads/v13/enums/policy_review_status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "PolicySummaryProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; -======== package google.ads.googleads.v14.common; import "google/ads/googleads/v14/common/policy.proto"; @@ -48,7 +28,6 @@ option java_package = "com.google.ads.googleads.v14.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Common"; option ruby_package = "Google::Ads::GoogleAds::V14::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/policy_summary.proto // Proto file describing policy summary. @@ -58,19 +37,11 @@ message PolicySummary { repeated PolicyTopicEntry policy_topic_entries = 1; // Where in the review process the resource is. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/policy_summary.proto - google.ads.googleads.v13.enums.PolicyReviewStatusEnum.PolicyReviewStatus -======== google.ads.googleads.v14.enums.PolicyReviewStatusEnum.PolicyReviewStatus ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/policy_summary.proto review_status = 2; // The overall approval status, which is calculated based on // the status of its individual policy topic entries. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/policy_summary.proto - google.ads.googleads.v13.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus -======== google.ads.googleads.v14.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/policy_summary.proto approval_status = 3; } diff --git a/third_party/googleapis/google/ads/googleads/v14/common/real_time_bidding_setting.proto b/third_party/googleapis/google/ads/googleads/v14/common/real_time_bidding_setting.proto index 7fa550945..0437a1ef2 100644 --- a/third_party/googleapis/google/ads/googleads/v14/common/real_time_bidding_setting.proto +++ b/third_party/googleapis/google/ads/googleads/v14/common/real_time_bidding_setting.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/real_time_bidding_setting.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/real_time_bidding_setting.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/real_time_bidding_setting.proto -package google.ads.googleads.v12.common; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "RealTimeBiddingSettingProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; -======== package google.ads.googleads.v14.common; option csharp_namespace = "Google.Ads.GoogleAds.V14.Common"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Common"; option ruby_package = "Google::Ads::GoogleAds::V14::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/real_time_bidding_setting.proto // Proto file describing RealTimeBiddingSetting diff --git a/third_party/googleapis/google/ads/googleads/v14/common/segments.proto b/third_party/googleapis/google/ads/googleads/v14/common/segments.proto index b03a8917f..561d60f63 100644 --- a/third_party/googleapis/google/ads/googleads/v14/common/segments.proto +++ b/third_party/googleapis/google/ads/googleads/v14/common/segments.proto @@ -14,48 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/segments.proto -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/common/criteria.proto"; -import "google/ads/googleads/v12/enums/ad_destination_type.proto"; -import "google/ads/googleads/v12/enums/ad_network_type.proto"; -import "google/ads/googleads/v12/enums/budget_campaign_association_status.proto"; -import "google/ads/googleads/v12/enums/click_type.proto"; -import "google/ads/googleads/v12/enums/conversion_action_category.proto"; -import "google/ads/googleads/v12/enums/conversion_attribution_event_type.proto"; -import "google/ads/googleads/v12/enums/conversion_lag_bucket.proto"; -import "google/ads/googleads/v12/enums/conversion_or_adjustment_lag_bucket.proto"; -import "google/ads/googleads/v12/enums/conversion_value_rule_primary_dimension.proto"; -import "google/ads/googleads/v12/enums/day_of_week.proto"; -import "google/ads/googleads/v12/enums/device.proto"; -import "google/ads/googleads/v12/enums/external_conversion_source.proto"; -import "google/ads/googleads/v12/enums/hotel_date_selection_type.proto"; -import "google/ads/googleads/v12/enums/hotel_price_bucket.proto"; -import "google/ads/googleads/v12/enums/hotel_rate_type.proto"; -import "google/ads/googleads/v12/enums/month_of_year.proto"; -import "google/ads/googleads/v12/enums/placeholder_type.proto"; -import "google/ads/googleads/v12/enums/product_channel.proto"; -import "google/ads/googleads/v12/enums/product_channel_exclusivity.proto"; -import "google/ads/googleads/v12/enums/product_condition.proto"; -import "google/ads/googleads/v12/enums/recommendation_type.proto"; -import "google/ads/googleads/v12/enums/search_engine_results_page_type.proto"; -import "google/ads/googleads/v12/enums/search_term_match_type.proto"; -import "google/ads/googleads/v12/enums/sk_ad_network_ad_event_type.proto"; -import "google/ads/googleads/v12/enums/sk_ad_network_attribution_credit.proto"; -import "google/ads/googleads/v12/enums/sk_ad_network_user_type.proto"; -import "google/ads/googleads/v12/enums/slot.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "SegmentsProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; -======== package google.ads.googleads.v14.common; import "google/ads/googleads/v14/common/criteria.proto"; @@ -97,7 +55,6 @@ option java_package = "com.google.ads.googleads.v14.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Common"; option ruby_package = "Google::Ads::GoogleAds::V14::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/segments.proto // Proto file describing segment only fields. @@ -113,12 +70,6 @@ message Segments { optional string external_activity_id = 150; // Ad Destination type. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/segments.proto - google.ads.googleads.v12.enums.AdDestinationTypeEnum.AdDestinationType ad_destination_type = 136; - - // Ad network type. - google.ads.googleads.v12.enums.AdNetworkTypeEnum.AdNetworkType ad_network_type = 3; -======== google.ads.googleads.v14.enums.AdDestinationTypeEnum.AdDestinationType ad_destination_type = 136; @@ -131,7 +82,6 @@ message Segments { // Resource name of the asset group. optional string asset_group = 159; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/segments.proto // Domain (visible URL) of a participant in the Auction Insights report. optional string auction_insight_domain = 145; @@ -143,17 +93,6 @@ message Segments { optional string campaign = 157; // Click type. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/segments.proto - google.ads.googleads.v12.enums.ClickTypeEnum.ClickType click_type = 26; - - // Resource name of the conversion action. - optional string conversion_action = 113 [(google.api.resource_reference) = { - type: "googleads.googleapis.com/ConversionAction" - }]; - - // Conversion action category. - google.ads.googleads.v12.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_category = 53; -======== google.ads.googleads.v14.enums.ClickTypeEnum.ClickType click_type = 26; // Resource name of the conversion action. @@ -164,7 +103,6 @@ message Segments { // Conversion action category. google.ads.googleads.v14.enums.ConversionActionCategoryEnum .ConversionActionCategory conversion_action_category = 53; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/segments.proto // Conversion action name. optional string conversion_action_name = 114; @@ -177,17 +115,6 @@ message Segments { optional bool conversion_adjustment = 115; // Conversion attribution event type. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/segments.proto - google.ads.googleads.v12.enums.ConversionAttributionEventTypeEnum.ConversionAttributionEventType conversion_attribution_event_type = 2; - - // An enum value representing the number of days between the impression and - // the conversion. - google.ads.googleads.v12.enums.ConversionLagBucketEnum.ConversionLagBucket conversion_lag_bucket = 50; - - // An enum value representing the number of days between the impression and - // the conversion or between the impression and adjustments to the conversion. - google.ads.googleads.v12.enums.ConversionOrAdjustmentLagBucketEnum.ConversionOrAdjustmentLagBucket conversion_or_adjustment_lag_bucket = 51; -======== google.ads.googleads.v14.enums.ConversionAttributionEventTypeEnum .ConversionAttributionEventType conversion_attribution_event_type = 2; @@ -200,22 +127,12 @@ message Segments { // the conversion or between the impression and adjustments to the conversion. google.ads.googleads.v14.enums.ConversionOrAdjustmentLagBucketEnum .ConversionOrAdjustmentLagBucket conversion_or_adjustment_lag_bucket = 51; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/segments.proto // Date to which metrics apply. // yyyy-MM-dd format, for example, 2018-04-17. optional string date = 79; // Day of the week, for example, MONDAY. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/segments.proto - google.ads.googleads.v12.enums.DayOfWeekEnum.DayOfWeek day_of_week = 5; - - // Device to which metrics apply. - google.ads.googleads.v12.enums.DeviceEnum.Device device = 1; - - // External conversion source. - google.ads.googleads.v12.enums.ExternalConversionSourceEnum.ExternalConversionSource external_conversion_source = 55; -======== google.ads.googleads.v14.enums.DayOfWeekEnum.DayOfWeek day_of_week = 5; // Device to which metrics apply. @@ -224,7 +141,6 @@ message Segments { // External conversion source. google.ads.googleads.v14.enums.ExternalConversionSourceEnum .ExternalConversionSource external_conversion_source = 55; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/segments.proto // Resource name of the geo target constant that represents an airport. optional string geo_target_airport = 116; @@ -273,12 +189,8 @@ message Segments { optional string hotel_check_in_date = 81; // Hotel check-in day of week. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/segments.proto - google.ads.googleads.v12.enums.DayOfWeekEnum.DayOfWeek hotel_check_in_day_of_week = 9; -======== google.ads.googleads.v14.enums.DayOfWeekEnum.DayOfWeek hotel_check_in_day_of_week = 9; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/segments.proto // Hotel city. optional string hotel_city = 82; @@ -290,12 +202,8 @@ message Segments { optional string hotel_country = 84; // Hotel date selection type. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/segments.proto - google.ads.googleads.v12.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType hotel_date_selection_type = 13; -======== google.ads.googleads.v14.enums.HotelDateSelectionTypeEnum .HotelDateSelectionType hotel_date_selection_type = 13; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/segments.proto // Hotel length of stay. optional int32 hotel_length_of_stay = 85; @@ -304,19 +212,12 @@ message Segments { optional string hotel_rate_rule_id = 86; // Hotel rate type. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/segments.proto - google.ads.googleads.v12.enums.HotelRateTypeEnum.HotelRateType hotel_rate_type = 74; - - // Hotel price bucket. - google.ads.googleads.v12.enums.HotelPriceBucketEnum.HotelPriceBucket hotel_price_bucket = 78; -======== google.ads.googleads.v14.enums.HotelRateTypeEnum.HotelRateType hotel_rate_type = 74; // Hotel price bucket. google.ads.googleads.v14.enums.HotelPriceBucketEnum.HotelPriceBucket hotel_price_bucket = 78; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/segments.proto // Hotel state. optional string hotel_state = 87; @@ -337,22 +238,14 @@ message Segments { optional string month = 90; // Month of the year, for example, January. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/segments.proto - google.ads.googleads.v12.enums.MonthOfYearEnum.MonthOfYear month_of_year = 18; -======== google.ads.googleads.v14.enums.MonthOfYearEnum.MonthOfYear month_of_year = 18; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/segments.proto // Partner hotel ID. optional string partner_hotel_id = 91; // Placeholder type. This is only used with feed item metrics. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/segments.proto - google.ads.googleads.v12.enums.PlaceholderTypeEnum.PlaceholderType placeholder_type = 20; -======== google.ads.googleads.v14.enums.PlaceholderTypeEnum.PlaceholderType placeholder_type = 20; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/segments.proto // Aggregator ID of the product. optional int64 product_aggregator_id = 132; @@ -376,15 +269,6 @@ message Segments { optional string product_brand = 97; // Channel of the product. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/segments.proto - google.ads.googleads.v12.enums.ProductChannelEnum.ProductChannel product_channel = 30; - - // Channel exclusivity of the product. - google.ads.googleads.v12.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity product_channel_exclusivity = 31; - - // Condition of the product. - google.ads.googleads.v12.enums.ProductConditionEnum.ProductCondition product_condition = 32; -======== google.ads.googleads.v14.enums.ProductChannelEnum.ProductChannel product_channel = 30; @@ -395,7 +279,6 @@ message Segments { // Condition of the product. google.ads.googleads.v14.enums.ProductConditionEnum.ProductCondition product_condition = 32; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/segments.proto // Resource name of the geo target constant for the country of sale of the // product. @@ -455,18 +338,6 @@ message Segments { optional string quarter = 128; // Recommendation type. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/segments.proto - google.ads.googleads.v12.enums.RecommendationTypeEnum.RecommendationType recommendation_type = 140; - - // Type of the search engine results page. - google.ads.googleads.v12.enums.SearchEngineResultsPageTypeEnum.SearchEngineResultsPageType search_engine_results_page_type = 70; - - // Match type of the keyword that triggered the ad, including variants. - google.ads.googleads.v12.enums.SearchTermMatchTypeEnum.SearchTermMatchType search_term_match_type = 22; - - // Position of the ad. - google.ads.googleads.v12.enums.SlotEnum.Slot slot = 23; -======== google.ads.googleads.v14.enums.RecommendationTypeEnum.RecommendationType recommendation_type = 140; @@ -487,7 +358,6 @@ message Segments { // Position of the ad. google.ads.googleads.v14.enums.SlotEnum.Slot slot = 23; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/segments.proto // Primary dimension of applied conversion value rules. // NO_RULE_APPLIED shows the total recorded value of conversions that @@ -496,13 +366,9 @@ message Segments { // has been applied. // GEO_LOCATION, DEVICE, AUDIENCE show the net adjustment after value // rules were applied. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/segments.proto - google.ads.googleads.v12.enums.ConversionValueRulePrimaryDimensionEnum.ConversionValueRulePrimaryDimension conversion_value_rule_primary_dimension = 138; -======== google.ads.googleads.v14.enums.ConversionValueRulePrimaryDimensionEnum .ConversionValueRulePrimaryDimension conversion_value_rule_primary_dimension = 138; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/segments.proto // Resource name of the ad group criterion that represents webpage criterion. optional string webpage = 129; @@ -520,19 +386,12 @@ message Segments { optional int64 sk_ad_network_conversion_value = 137; // iOS Store Kit Ad Network user type. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/segments.proto - google.ads.googleads.v12.enums.SkAdNetworkUserTypeEnum.SkAdNetworkUserType sk_ad_network_user_type = 141; - - // iOS Store Kit Ad Network ad event type. - google.ads.googleads.v12.enums.SkAdNetworkAdEventTypeEnum.SkAdNetworkAdEventType sk_ad_network_ad_event_type = 142; -======== google.ads.googleads.v14.enums.SkAdNetworkUserTypeEnum.SkAdNetworkUserType sk_ad_network_user_type = 141; // iOS Store Kit Ad Network ad event type. google.ads.googleads.v14.enums.SkAdNetworkAdEventTypeEnum .SkAdNetworkAdEventType sk_ad_network_ad_event_type = 142; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/segments.proto // App where the ad that drove the iOS Store Kit Ad Network install was // shown. Null value means this segment is not applicable, for example, @@ -540,12 +399,8 @@ message Segments { optional SkAdNetworkSourceApp sk_ad_network_source_app = 143; // iOS Store Kit Ad Network attribution credit -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/segments.proto - google.ads.googleads.v12.enums.SkAdNetworkAttributionCreditEnum.SkAdNetworkAttributionCredit sk_ad_network_attribution_credit = 144; -======== google.ads.googleads.v14.enums.SkAdNetworkAttributionCreditEnum .SkAdNetworkAttributionCredit sk_ad_network_attribution_credit = 144; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/segments.proto // Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. // Indicates whether the interaction metrics occurred on the asset itself @@ -583,12 +438,8 @@ message BudgetCampaignAssociationStatus { optional string campaign = 1; // Budget campaign association status. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/segments.proto - google.ads.googleads.v12.enums.BudgetCampaignAssociationStatusEnum.BudgetCampaignAssociationStatus status = 2; -======== google.ads.googleads.v14.enums.BudgetCampaignAssociationStatusEnum .BudgetCampaignAssociationStatus status = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/segments.proto } // An AssetInteractionTarget segment. diff --git a/third_party/googleapis/google/ads/googleads/v14/common/simulation.proto b/third_party/googleapis/google/ads/googleads/v14/common/simulation.proto index 050808e72..ed70c0791 100644 --- a/third_party/googleapis/google/ads/googleads/v14/common/simulation.proto +++ b/third_party/googleapis/google/ads/googleads/v14/common/simulation.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/simulation.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/simulation.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/simulation.proto -package google.ads.googleads.v12.common; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "SimulationProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; -======== package google.ads.googleads.v14.common; option csharp_namespace = "Google.Ads.GoogleAds.V14.Common"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Common"; option ruby_package = "Google::Ads::GoogleAds::V14::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/simulation.proto // Proto file describing simulation points. diff --git a/third_party/googleapis/google/ads/googleads/v14/common/tag_snippet.proto b/third_party/googleapis/google/ads/googleads/v14/common/tag_snippet.proto index bf5a670d8..69038ffbe 100644 --- a/third_party/googleapis/google/ads/googleads/v14/common/tag_snippet.proto +++ b/third_party/googleapis/google/ads/googleads/v14/common/tag_snippet.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/tag_snippet.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/tag_snippet.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,21 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/tag_snippet.proto -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/enums/tracking_code_page_format.proto"; -import "google/ads/googleads/v13/enums/tracking_code_type.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "TagSnippetProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; -======== package google.ads.googleads.v14.common; import "google/ads/googleads/v14/enums/tracking_code_page_format.proto"; @@ -46,26 +27,17 @@ option java_package = "com.google.ads.googleads.v14.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Common"; option ruby_package = "Google::Ads::GoogleAds::V14::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/tag_snippet.proto // Proto file describing TagSnippet // The site tag and event snippet pair for a TrackingCodeType. message TagSnippet { // The type of the generated tag snippets for tracking conversions. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/tag_snippet.proto - google.ads.googleads.v13.enums.TrackingCodeTypeEnum.TrackingCodeType type = 1; - - // The format of the web page where the tracking tag and snippet will be - // installed, for example, HTML. - google.ads.googleads.v13.enums.TrackingCodePageFormatEnum -======== google.ads.googleads.v14.enums.TrackingCodeTypeEnum.TrackingCodeType type = 1; // The format of the web page where the tracking tag and snippet will be // installed, for example, HTML. google.ads.googleads.v14.enums.TrackingCodePageFormatEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/tag_snippet.proto .TrackingCodePageFormat page_format = 2; // The site tag that adds visitors to your basic remarketing lists and sets diff --git a/third_party/googleapis/google/ads/googleads/v14/common/targeting_setting.proto b/third_party/googleapis/google/ads/googleads/v14/common/targeting_setting.proto index e2dea1502..cd56667a8 100644 --- a/third_party/googleapis/google/ads/googleads/v14/common/targeting_setting.proto +++ b/third_party/googleapis/google/ads/googleads/v14/common/targeting_setting.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/targeting_setting.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/targeting_setting.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,20 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/targeting_setting.proto -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/enums/targeting_dimension.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "TargetingSettingProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; -======== package google.ads.googleads.v14.common; import "google/ads/googleads/v14/enums/targeting_dimension.proto"; @@ -44,7 +26,6 @@ option java_package = "com.google.ads.googleads.v14.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Common"; option ruby_package = "Google::Ads::GoogleAds::V14::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/targeting_setting.proto // Proto file describing TargetingSetting @@ -66,11 +47,7 @@ message TargetingSetting { // The list of per-targeting-dimension targeting settings. message TargetRestriction { // The targeting dimension that these settings apply to. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/targeting_setting.proto - google.ads.googleads.v13.enums.TargetingDimensionEnum.TargetingDimension -======== google.ads.googleads.v14.enums.TargetingDimensionEnum.TargetingDimension ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/targeting_setting.proto targeting_dimension = 1; // Indicates whether to restrict your ads to show only for the criteria you diff --git a/third_party/googleapis/google/ads/googleads/v14/common/text_label.proto b/third_party/googleapis/google/ads/googleads/v14/common/text_label.proto index cbd9d5f9a..80337243b 100644 --- a/third_party/googleapis/google/ads/googleads/v14/common/text_label.proto +++ b/third_party/googleapis/google/ads/googleads/v14/common/text_label.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/text_label.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/text_label.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/text_label.proto -package google.ads.googleads.v12.common; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "TextLabelProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; -======== package google.ads.googleads.v14.common; option csharp_namespace = "Google.Ads.GoogleAds.V14.Common"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Common"; option ruby_package = "Google::Ads::GoogleAds::V14::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/text_label.proto // A type of label displaying text on a colored background. message TextLabel { diff --git a/third_party/googleapis/google/ads/googleads/v14/common/url_collection.proto b/third_party/googleapis/google/ads/googleads/v14/common/url_collection.proto index 84dced6aa..2b0df2be8 100644 --- a/third_party/googleapis/google/ads/googleads/v14/common/url_collection.proto +++ b/third_party/googleapis/google/ads/googleads/v14/common/url_collection.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/url_collection.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/url_collection.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/url_collection.proto -package google.ads.googleads.v12.common; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "UrlCollectionProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; -======== package google.ads.googleads.v14.common; option csharp_namespace = "Google.Ads.GoogleAds.V14.Common"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Common"; option ruby_package = "Google::Ads::GoogleAds::V14::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/url_collection.proto // Proto file UrlCollection type. diff --git a/third_party/googleapis/google/ads/googleads/v14/common/user_lists.proto b/third_party/googleapis/google/ads/googleads/v14/common/user_lists.proto index d8f1e9cfa..75e4abc07 100644 --- a/third_party/googleapis/google/ads/googleads/v14/common/user_lists.proto +++ b/third_party/googleapis/google/ads/googleads/v14/common/user_lists.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/user_lists.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/user_lists.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,28 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/user_lists.proto -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/enums/customer_match_upload_key_type.proto"; -import "google/ads/googleads/v13/enums/user_list_crm_data_source_type.proto"; -import "google/ads/googleads/v13/enums/user_list_date_rule_item_operator.proto"; -import "google/ads/googleads/v13/enums/user_list_flexible_rule_operator.proto"; -import "google/ads/googleads/v13/enums/user_list_logical_rule_operator.proto"; -import "google/ads/googleads/v13/enums/user_list_number_rule_item_operator.proto"; -import "google/ads/googleads/v13/enums/user_list_prepopulation_status.proto"; -import "google/ads/googleads/v13/enums/user_list_rule_type.proto"; -import "google/ads/googleads/v13/enums/user_list_string_rule_item_operator.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "UserListsProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; -======== package google.ads.googleads.v14.common; import "google/ads/googleads/v14/enums/customer_match_upload_key_type.proto"; @@ -60,7 +34,6 @@ option java_package = "com.google.ads.googleads.v14.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Common"; option ruby_package = "Google::Ads::GoogleAds::V14::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/user_lists.proto // Proto file describing user list types. @@ -88,20 +61,12 @@ message CrmBasedUserListInfo { // Matching key type of the list. // Mixed data types are not allowed on the same list. // This field is required for an ADD operation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/user_lists.proto - google.ads.googleads.v13.enums.CustomerMatchUploadKeyTypeEnum -======== google.ads.googleads.v14.enums.CustomerMatchUploadKeyTypeEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/user_lists.proto .CustomerMatchUploadKeyType upload_key_type = 2; // Data source of the list. Default value is FIRST_PARTY. // Only customers on the allow-list can create third-party sourced CRM lists. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/user_lists.proto - google.ads.googleads.v13.enums.UserListCrmDataSourceTypeEnum -======== google.ads.googleads.v14.enums.UserListCrmDataSourceTypeEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/user_lists.proto .UserListCrmDataSourceType data_source_type = 3; } @@ -115,11 +80,7 @@ message UserListRuleInfo { // groups themselves will be ORed together. // // OR of ANDs is the only supported type for FlexibleRuleUserList. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/user_lists.proto - google.ads.googleads.v13.enums.UserListRuleTypeEnum.UserListRuleType -======== google.ads.googleads.v14.enums.UserListRuleTypeEnum.UserListRuleType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/user_lists.proto rule_type = 1; // List of rule item groups that defines this rule. @@ -163,11 +124,7 @@ message UserListDateRuleItemInfo { // Date comparison operator. // This field is required and must be populated when creating new date // rule item. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/user_lists.proto - google.ads.googleads.v13.enums.UserListDateRuleItemOperatorEnum -======== google.ads.googleads.v14.enums.UserListDateRuleItemOperatorEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/user_lists.proto .UserListDateRuleItemOperator operator = 1; @@ -187,11 +144,7 @@ message UserListNumberRuleItemInfo { // Number comparison operator. // This field is required and must be populated when creating a new number // rule item. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/user_lists.proto - google.ads.googleads.v13.enums.UserListNumberRuleItemOperatorEnum -======== google.ads.googleads.v14.enums.UserListNumberRuleItemOperatorEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/user_lists.proto .UserListNumberRuleItemOperator operator = 1; @@ -206,11 +159,7 @@ message UserListStringRuleItemInfo { // String comparison operator. // This field is required and must be populated when creating a new string // rule item. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/user_lists.proto - google.ads.googleads.v13.enums.UserListStringRuleItemOperatorEnum -======== google.ads.googleads.v14.enums.UserListStringRuleItemOperatorEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/user_lists.proto .UserListStringRuleItemOperator operator = 1; @@ -240,11 +189,7 @@ message FlexibleRuleOperandInfo { // exclusive operands. message FlexibleRuleUserListInfo { // Operator that defines how the inclusive operands are combined. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/user_lists.proto - google.ads.googleads.v13.enums.UserListFlexibleRuleOperatorEnum -======== google.ads.googleads.v14.enums.UserListFlexibleRuleOperatorEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/user_lists.proto .UserListFlexibleRuleOperator inclusive_rule_operator = 1; // Rules representing users that should be included in the user list. These @@ -268,11 +213,7 @@ message RuleBasedUserListInfo { // list's membership duration and the date when the remarketing tag is added. // The status will be updated to FINISHED once request is processed, or FAILED // if the request fails. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/user_lists.proto - google.ads.googleads.v13.enums.UserListPrepopulationStatusEnum -======== google.ads.googleads.v14.enums.UserListPrepopulationStatusEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/user_lists.proto .UserListPrepopulationStatus prepopulation_status = 1; // Flexible rule representation of visitors with one or multiple actions. The @@ -299,11 +240,7 @@ message LogicalUserListInfo { // list of user lists as operands. message UserListLogicalRuleInfo { // The logical operator of the rule. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/user_lists.proto - google.ads.googleads.v13.enums.UserListLogicalRuleOperatorEnum -======== google.ads.googleads.v14.enums.UserListLogicalRuleOperatorEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/user_lists.proto .UserListLogicalRuleOperator operator = 1; diff --git a/third_party/googleapis/google/ads/googleads/v14/common/value.proto b/third_party/googleapis/google/ads/googleads/v14/common/value.proto index 2aac884cc..be8084ec9 100644 --- a/third_party/googleapis/google/ads/googleads/v14/common/value.proto +++ b/third_party/googleapis/google/ads/googleads/v14/common/value.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/value.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/value.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/value.proto -package google.ads.googleads.v12.common; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "ValueProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; -======== package google.ads.googleads.v14.common; option csharp_namespace = "Google.Ads.GoogleAds.V14.Common"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Common"; option ruby_package = "Google::Ads::GoogleAds::V14::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/common/value.proto // Proto file describing value types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/access_invitation_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/access_invitation_status.proto index 88c701902..f01e1f1d8 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/access_invitation_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/access_invitation_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/access_invitation_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/access_invitation_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/access_invitation_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AccessInvitationStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/access_invitation_status.proto // Proto file describing AccessInvitationStatus enum. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/access_reason.proto b/third_party/googleapis/google/ads/googleads/v14/enums/access_reason.proto index 3baf592f7..eec69edef 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/access_reason.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/access_reason.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/access_reason.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/access_reason.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/access_reason.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AccessReasonProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/access_reason.proto // Indicates the way the resource such as user list is related to a user. message AccessReasonEnum { diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/access_role.proto b/third_party/googleapis/google/ads/googleads/v14/enums/access_role.proto index 807878dd5..22bbb3980 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/access_role.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/access_role.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/access_role.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/access_role.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/access_role.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AccessRoleProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/access_role.proto // Container for enum describing possible access role for user. message AccessRoleEnum { diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/account_budget_proposal_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/account_budget_proposal_status.proto index 0e5424a3c..4920ef825 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/account_budget_proposal_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/account_budget_proposal_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/account_budget_proposal_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/account_budget_proposal_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/account_budget_proposal_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AccountBudgetProposalStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/account_budget_proposal_status.proto // Proto file describing AccountBudgetProposal statuses. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/account_budget_proposal_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/account_budget_proposal_type.proto index 6c63c4d9b..b879319ac 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/account_budget_proposal_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/account_budget_proposal_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/account_budget_proposal_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/account_budget_proposal_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/account_budget_proposal_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AccountBudgetProposalTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/account_budget_proposal_type.proto // Proto file describing AccountBudgetProposal types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/account_budget_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/account_budget_status.proto index 09d469afd..676316b3b 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/account_budget_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/account_budget_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/account_budget_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/account_budget_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/account_budget_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AccountBudgetStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/account_budget_status.proto // Proto file describing AccountBudget statuses. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/account_link_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/account_link_status.proto index 9659668ab..3c5dfda8b 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/account_link_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/account_link_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/account_link_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/account_link_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/account_link_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AccountLinkStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/account_link_status.proto // Container for enum describing possible statuses of an account link. message AccountLinkStatusEnum { diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/ad_customizer_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v14/enums/ad_customizer_placeholder_field.proto index 731872670..cd05d884f 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/ad_customizer_placeholder_field.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/ad_customizer_placeholder_field.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/ad_customizer_placeholder_field.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/ad_customizer_placeholder_field.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/ad_customizer_placeholder_field.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdCustomizerPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/ad_customizer_placeholder_field.proto // Proto file describing Ad Customizer placeholder fields. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/ad_destination_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/ad_destination_type.proto index 0a0ce52ae..52813d652 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/ad_destination_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/ad_destination_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/ad_destination_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/ad_destination_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/ad_destination_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdDestinationTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/ad_destination_type.proto // Proto file describing ad destination types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/ad_group_ad_rotation_mode.proto b/third_party/googleapis/google/ads/googleads/v14/enums/ad_group_ad_rotation_mode.proto index f10e1b3ed..b8a5c3030 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/ad_group_ad_rotation_mode.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/ad_group_ad_rotation_mode.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/ad_group_ad_rotation_mode.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/ad_group_ad_rotation_mode.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/ad_group_ad_rotation_mode.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAdRotationModeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/ad_group_ad_rotation_mode.proto // Proto file describing ad group ad rotation mode. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/ad_group_ad_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/ad_group_ad_status.proto index f737f87de..333cf5e4b 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/ad_group_ad_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/ad_group_ad_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/ad_group_ad_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/ad_group_ad_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/ad_group_ad_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAdStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/ad_group_ad_status.proto // Proto file describing ad group status. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/ad_group_criterion_approval_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/ad_group_criterion_approval_status.proto index e82a42d1a..17ab6bdd9 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/ad_group_criterion_approval_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/ad_group_criterion_approval_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/ad_group_criterion_approval_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/ad_group_criterion_approval_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/ad_group_criterion_approval_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionApprovalStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/ad_group_criterion_approval_status.proto // Proto file describing approval status for the criterion. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/ad_group_criterion_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/ad_group_criterion_status.proto index d16e143e8..47105f575 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/ad_group_criterion_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/ad_group_criterion_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/ad_group_criterion_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/ad_group_criterion_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/ad_group_criterion_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/ad_group_criterion_status.proto // Proto file describing AdGroupCriterion statuses. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/ad_group_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/ad_group_status.proto index 05a3cd20a..9663935c7 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/ad_group_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/ad_group_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/ad_group_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/ad_group_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/ad_group_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/ad_group_status.proto // Proto file describing ad group status. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/ad_group_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/ad_group_type.proto index b451a7903..2e2653a22 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/ad_group_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/ad_group_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/ad_group_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/ad_group_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/ad_group_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/ad_group_type.proto // Proto file describing ad group types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/ad_network_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/ad_network_type.proto index eff5f8011..115fb4cc9 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/ad_network_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/ad_network_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/ad_network_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/ad_network_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/ad_network_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdNetworkTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/ad_network_type.proto // Proto file describing ad network types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/ad_serving_optimization_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/ad_serving_optimization_status.proto index 5f903386d..2d4afaa07 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/ad_serving_optimization_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/ad_serving_optimization_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/ad_serving_optimization_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/ad_serving_optimization_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/ad_serving_optimization_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdServingOptimizationStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/ad_serving_optimization_status.proto // Proto file describing ad serving statuses. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/ad_strength.proto b/third_party/googleapis/google/ads/googleads/v14/enums/ad_strength.proto index 15891f9fe..4b95c6d6d 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/ad_strength.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/ad_strength.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/ad_strength.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/ad_strength.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/ad_strength.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdStrengthProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/ad_strength.proto // Proto file describing ad strengths. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/ad_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/ad_type.proto index c8f77cf62..8e2b791da 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/ad_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/ad_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/ad_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/ad_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/ad_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/ad_type.proto // Proto file describing the ad type. @@ -143,14 +126,11 @@ message AdTypeEnum { // Discovery carousel ad. DISCOVERY_CAROUSEL_AD = 36; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/ad_type.proto -======== // Travel ad. TRAVEL_AD = 37; // Discovery video responsive ad. DISCOVERY_VIDEO_RESPONSIVE_AD = 38; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/ad_type.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/advertising_channel_sub_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/advertising_channel_sub_type.proto index 746469340..4a8f6ec01 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/advertising_channel_sub_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/advertising_channel_sub_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/advertising_channel_sub_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/advertising_channel_sub_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/advertising_channel_sub_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdvertisingChannelSubTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/advertising_channel_sub_type.proto // Proto file describing advertising channel subtypes. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/advertising_channel_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/advertising_channel_type.proto index a75890126..8e243a1f3 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/advertising_channel_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/advertising_channel_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/advertising_channel_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/advertising_channel_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/advertising_channel_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdvertisingChannelTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/advertising_channel_type.proto // Proto file describing advertising channel types @@ -88,11 +71,8 @@ message AdvertisingChannelTypeEnum { // Discovery campaigns. DISCOVERY = 12; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/advertising_channel_type.proto -======== // Travel campaigns. TRAVEL = 13; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/advertising_channel_type.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/affiliate_location_feed_relationship_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/affiliate_location_feed_relationship_type.proto index 89f4ea8e5..d689c6d83 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/affiliate_location_feed_relationship_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/affiliate_location_feed_relationship_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/affiliate_location_feed_relationship_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/affiliate_location_feed_relationship_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/affiliate_location_feed_relationship_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AffiliateLocationFeedRelationshipTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/affiliate_location_feed_relationship_type.proto // Proto file describing relation type for affiliate location feeds. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/affiliate_location_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v14/enums/affiliate_location_placeholder_field.proto index 8a35a44f1..f47e76c4a 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/affiliate_location_placeholder_field.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/affiliate_location_placeholder_field.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/affiliate_location_placeholder_field.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/affiliate_location_placeholder_field.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/affiliate_location_placeholder_field.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AffiliateLocationPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/affiliate_location_placeholder_field.proto // Proto file describing Affiliate Location placeholder fields. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/age_range_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/age_range_type.proto index 3da352cd6..bae22acda 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/age_range_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/age_range_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/age_range_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/age_range_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/age_range_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AgeRangeTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/age_range_type.proto // Proto file describing age range types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/app_campaign_app_store.proto b/third_party/googleapis/google/ads/googleads/v14/enums/app_campaign_app_store.proto index d30302799..084b3b8e4 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/app_campaign_app_store.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/app_campaign_app_store.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/app_campaign_app_store.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/app_campaign_app_store.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/app_campaign_app_store.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AppCampaignAppStoreProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/app_campaign_app_store.proto // Proto file describing App Campaign app store. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/app_campaign_bidding_strategy_goal_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/app_campaign_bidding_strategy_goal_type.proto index 6170a7fbc..1f7bf41dc 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/app_campaign_bidding_strategy_goal_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/app_campaign_bidding_strategy_goal_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/app_campaign_bidding_strategy_goal_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/app_campaign_bidding_strategy_goal_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/app_campaign_bidding_strategy_goal_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AppCampaignBiddingStrategyGoalTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/app_campaign_bidding_strategy_goal_type.proto // Proto file describing App Campaign bidding strategy goal types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/app_payment_model_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/app_payment_model_type.proto index cd2122e69..81e5bac6e 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/app_payment_model_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/app_payment_model_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/app_payment_model_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/app_payment_model_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/app_payment_model_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AppPaymentModelTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/app_payment_model_type.proto // Proto file describing criteria types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/app_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v14/enums/app_placeholder_field.proto index 821a79417..c1ecc09ec 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/app_placeholder_field.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/app_placeholder_field.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/app_placeholder_field.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/app_placeholder_field.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/app_placeholder_field.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AppPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/app_placeholder_field.proto // Proto file describing App placeholder fields. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/app_store.proto b/third_party/googleapis/google/ads/googleads/v14/enums/app_store.proto index f1835a256..db598cf40 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/app_store.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/app_store.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/app_store.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/app_store.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/app_store.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AppStoreProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/app_store.proto // Proto file describing app store types for an app extension. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/app_url_operating_system_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/app_url_operating_system_type.proto index e26837ffe..90a95d3b9 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/app_url_operating_system_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/app_url_operating_system_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/app_url_operating_system_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/app_url_operating_system_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/app_url_operating_system_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AppUrlOperatingSystemTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/app_url_operating_system_type.proto // Proto file describing operating system for a deeplink app URL. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/asset_field_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/asset_field_type.proto index 1dae491c2..140d1586d 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/asset_field_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/asset_field_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/asset_field_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/asset_field_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/asset_field_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetFieldTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/asset_field_type.proto // Proto file describing asset type. @@ -129,8 +112,6 @@ message AssetFieldTypeEnum { // The asset is linked for use to select an ad image. AD_IMAGE = 26; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/asset_field_type.proto -======== // The asset is linked for use as a business logo. BUSINESS_LOGO = 27; @@ -138,6 +119,5 @@ message AssetFieldTypeEnum { // The asset is linked for use as a hotel property in a Performance Max for // travel goals campaign. HOTEL_PROPERTY = 28; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/asset_field_type.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/asset_group_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/asset_group_status.proto index 9159ce1d3..b367ab61a 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/asset_group_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/asset_group_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/asset_group_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/asset_group_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/asset_group_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/asset_group_status.proto // Proto file describing asset group status. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/asset_link_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/asset_link_status.proto index 367cb0a93..cbf453c3f 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/asset_link_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/asset_link_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/asset_link_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/asset_link_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/asset_link_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetLinkStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/asset_link_status.proto // Proto file describing status of an asset link. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/asset_performance_label.proto b/third_party/googleapis/google/ads/googleads/v14/enums/asset_performance_label.proto index 6a687255d..fe0397c1c 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/asset_performance_label.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/asset_performance_label.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/asset_performance_label.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/asset_performance_label.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/asset_performance_label.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetPerformanceLabelProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/asset_performance_label.proto // Proto file describing the performance label of an asset. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/asset_set_asset_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/asset_set_asset_status.proto index 2f6cb86f6..b5060730e 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/asset_set_asset_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/asset_set_asset_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/asset_set_asset_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/asset_set_asset_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/asset_set_asset_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetAssetStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/asset_set_asset_status.proto // Proto file describing asset set status. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/asset_set_link_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/asset_set_link_status.proto index db4360de9..df7089af0 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/asset_set_link_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/asset_set_link_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/asset_set_link_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/asset_set_link_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/asset_set_link_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetLinkStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/asset_set_link_status.proto // Proto file describing asset set status. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/asset_set_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/asset_set_status.proto index 5a606f72f..f31d1b5d4 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/asset_set_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/asset_set_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/asset_set_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/asset_set_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/asset_set_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/asset_set_status.proto // Proto file describing asset set status. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/asset_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/asset_type.proto index b7be90c07..65548c222 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/asset_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/asset_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/asset_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/asset_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/asset_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/asset_type.proto // Proto file describing asset type. @@ -131,11 +114,8 @@ message AssetTypeEnum { // Location asset. LOCATION = 27; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/asset_type.proto -======== // Hotel property asset. HOTEL_PROPERTY = 28; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/asset_type.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/attribution_model.proto b/third_party/googleapis/google/ads/googleads/v14/enums/attribution_model.proto index e8d834b87..e8a098142 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/attribution_model.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/attribution_model.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/attribution_model.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/attribution_model.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/attribution_model.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AttributionModelProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/attribution_model.proto // Container for enum representing the attribution model that describes how to // distribute credit for a particular conversion across potentially many prior diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/batch_job_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/batch_job_status.proto index 3c686fd4d..cc73346fc 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/batch_job_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/batch_job_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/batch_job_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/batch_job_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/batch_job_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BatchJobStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/batch_job_status.proto // Proto file describing batch job statuses. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/bid_modifier_source.proto b/third_party/googleapis/google/ads/googleads/v14/enums/bid_modifier_source.proto index 7e0a1fa06..4f8eec618 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/bid_modifier_source.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/bid_modifier_source.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/bid_modifier_source.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/bid_modifier_source.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/bid_modifier_source.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BidModifierSourceProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/bid_modifier_source.proto // Proto file describing bid modifier source. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/bidding_source.proto b/third_party/googleapis/google/ads/googleads/v14/enums/bidding_source.proto index 60622ccbd..5bcfc9f8b 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/bidding_source.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/bidding_source.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/bidding_source.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/bidding_source.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/bidding_source.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BiddingSourceProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/bidding_source.proto // Proto file describing bidding sources. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/bidding_strategy_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/bidding_strategy_status.proto index 594b0c1c7..9e4149bb3 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/bidding_strategy_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/bidding_strategy_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/bidding_strategy_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/bidding_strategy_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/bidding_strategy_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BiddingStrategyStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/bidding_strategy_status.proto // Proto file describing BiddingStrategy statuses. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/bidding_strategy_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/bidding_strategy_type.proto index 8adb67843..64db8d752 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/bidding_strategy_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/bidding_strategy_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/bidding_strategy_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/bidding_strategy_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/bidding_strategy_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BiddingStrategyTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/bidding_strategy_type.proto // Proto file describing bidding schemes. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/billing_setup_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/billing_setup_status.proto index d2084ba8c..7e4dd2f92 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/billing_setup_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/billing_setup_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/billing_setup_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/billing_setup_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/billing_setup_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BillingSetupStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/billing_setup_status.proto // Proto file describing BillingSetup statuses. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/brand_safety_suitability.proto b/third_party/googleapis/google/ads/googleads/v14/enums/brand_safety_suitability.proto index dcd3a5703..c99c06a89 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/brand_safety_suitability.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/brand_safety_suitability.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/brand_safety_suitability.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/brand_safety_suitability.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/brand_safety_suitability.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BrandSafetySuitabilityProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/brand_safety_suitability.proto // Proto file describing brand safety suitability settings. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/budget_campaign_association_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/budget_campaign_association_status.proto index d6a67384b..20a186600 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/budget_campaign_association_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/budget_campaign_association_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/budget_campaign_association_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/budget_campaign_association_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/budget_campaign_association_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BudgetCampaignAssociationStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/budget_campaign_association_status.proto // Proto file describing Budget and Campaign association status. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/budget_delivery_method.proto b/third_party/googleapis/google/ads/googleads/v14/enums/budget_delivery_method.proto index 5b2b64404..62196a5f9 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/budget_delivery_method.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/budget_delivery_method.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/budget_delivery_method.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/budget_delivery_method.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/budget_delivery_method.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BudgetDeliveryMethodProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/budget_delivery_method.proto // Proto file describing Budget delivery methods. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/budget_period.proto b/third_party/googleapis/google/ads/googleads/v14/enums/budget_period.proto index 823192a54..954e03d57 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/budget_period.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/budget_period.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/budget_period.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/budget_period.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/budget_period.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BudgetPeriodProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/budget_period.proto // Proto file describing Budget delivery methods. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/budget_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/budget_status.proto index 4d43945e0..9d9255ff2 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/budget_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/budget_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/budget_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/budget_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/budget_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BudgetStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/budget_status.proto // Proto file describing Budget statuses diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/budget_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/budget_type.proto index 7d1f1b7d5..c3317be0d 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/budget_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/budget_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/budget_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/budget_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/budget_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BudgetTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/budget_type.proto // Proto file describing Budget types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/call_conversion_reporting_state.proto b/third_party/googleapis/google/ads/googleads/v14/enums/call_conversion_reporting_state.proto index afcbcf193..7d282325a 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/call_conversion_reporting_state.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/call_conversion_reporting_state.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/call_conversion_reporting_state.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/call_conversion_reporting_state.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/call_conversion_reporting_state.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CallConversionReportingStateProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/call_conversion_reporting_state.proto // Proto file describing call conversion reporting state. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/call_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v14/enums/call_placeholder_field.proto index cc07fdec6..ac0ad8e09 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/call_placeholder_field.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/call_placeholder_field.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/call_placeholder_field.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/call_placeholder_field.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/call_placeholder_field.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CallPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/call_placeholder_field.proto // Proto file describing Call placeholder fields. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/call_to_action_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/call_to_action_type.proto index eeacaf5c8..ccd0d9058 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/call_to_action_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/call_to_action_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/call_to_action_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CallToActionTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/call_to_action_type.proto // Proto file describing call to action type. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/call_tracking_display_location.proto b/third_party/googleapis/google/ads/googleads/v14/enums/call_tracking_display_location.proto index 6a4422fae..a9cf8b2e2 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/call_tracking_display_location.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/call_tracking_display_location.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/call_tracking_display_location.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/call_tracking_display_location.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/call_tracking_display_location.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CallTrackingDisplayLocationProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/call_tracking_display_location.proto // Proto file describing call tracking display location. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/call_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/call_type.proto index 9d262afbb..cdd417a50 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/call_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/call_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/call_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/call_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/call_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CallTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/call_type.proto // Proto file describing call types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/callout_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v14/enums/callout_placeholder_field.proto index 8696b17c0..bc515cfaa 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/callout_placeholder_field.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/callout_placeholder_field.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/callout_placeholder_field.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/callout_placeholder_field.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/callout_placeholder_field.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CalloutPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/callout_placeholder_field.proto // Proto file describing Callout placeholder fields. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/campaign_criterion_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/campaign_criterion_status.proto index e8c4da08d..34707d2ef 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/campaign_criterion_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/campaign_criterion_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/campaign_criterion_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/campaign_criterion_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/campaign_criterion_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CampaignCriterionStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/campaign_criterion_status.proto // Proto file describing CampaignCriterion statuses. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/campaign_draft_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/campaign_draft_status.proto index 7943ceece..be8ce4588 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/campaign_draft_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/campaign_draft_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/campaign_draft_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/campaign_draft_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/campaign_draft_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CampaignDraftStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/campaign_draft_status.proto // Proto file describing campaign draft status. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/campaign_experiment_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/campaign_experiment_type.proto index b7fdbeca9..4c58ebc5b 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/campaign_experiment_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/campaign_experiment_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/campaign_experiment_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/campaign_experiment_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/campaign_experiment_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CampaignExperimentTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/campaign_experiment_type.proto // Proto file describing campaign experiment type. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/campaign_serving_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/campaign_serving_status.proto index afd1af738..25be813e5 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/campaign_serving_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/campaign_serving_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/campaign_serving_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/campaign_serving_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/campaign_serving_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CampaignServingStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/campaign_serving_status.proto // Proto file describing Campaign serving statuses. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/campaign_shared_set_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/campaign_shared_set_status.proto index 0ff079c98..80ba6c4cf 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/campaign_shared_set_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/campaign_shared_set_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/campaign_shared_set_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/campaign_shared_set_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/campaign_shared_set_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CampaignSharedSetStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/campaign_shared_set_status.proto // Proto file describing campaign shared set statuses. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/campaign_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/campaign_status.proto index 64cd50011..17853710e 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/campaign_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/campaign_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/campaign_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/campaign_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/campaign_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CampaignStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/campaign_status.proto // Proto file describing campaign status. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/change_client_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/change_client_type.proto index 58a3a0b12..866232d8b 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/change_client_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/change_client_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/change_client_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/change_client_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/change_client_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ChangeClientTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/change_client_type.proto // Proto file describing the sources that the change event resource was // made through. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/change_event_resource_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/change_event_resource_type.proto index 27057da84..a7f113816 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/change_event_resource_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/change_event_resource_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/change_event_resource_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/change_event_resource_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/change_event_resource_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ChangeEventResourceTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/change_event_resource_type.proto // Proto file describing the resource types the ChangeEvent resource supports. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/change_status_operation.proto b/third_party/googleapis/google/ads/googleads/v14/enums/change_status_operation.proto index a8c4df746..34af4823a 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/change_status_operation.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/change_status_operation.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/change_status_operation.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/change_status_operation.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/change_status_operation.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ChangeStatusOperationProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/change_status_operation.proto // Proto file describing the change status operations. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/change_status_resource_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/change_status_resource_type.proto index 18acd0e2c..5f694dca0 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/change_status_resource_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/change_status_resource_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/change_status_resource_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/change_status_resource_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/change_status_resource_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ChangeStatusResourceTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/change_status_resource_type.proto // Proto file describing the resource types the ChangeStatus resource supports. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/click_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/click_type.proto index 0c6ce43a0..c43c3b3a7 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/click_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/click_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/click_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/click_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/click_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ClickTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/click_type.proto // Proto file describing click types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/combined_audience_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/combined_audience_status.proto index 6c18ca007..d2e89d828 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/combined_audience_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/combined_audience_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/combined_audience_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/combined_audience_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/combined_audience_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CombinedAudienceStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/combined_audience_status.proto // Proto file describing combined audience status. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/content_label_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/content_label_type.proto index 93ace583e..52f5f6837 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/content_label_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/content_label_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/content_label_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/content_label_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/content_label_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ContentLabelTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/content_label_type.proto // Proto file describing content label types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/conversion_action_category.proto b/third_party/googleapis/google/ads/googleads/v14/enums/conversion_action_category.proto index d66a28c0e..a3b150f1c 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/conversion_action_category.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/conversion_action_category.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/conversion_action_category.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/conversion_action_category.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/conversion_action_category.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionActionCategoryProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/conversion_action_category.proto // Container for enum describing the category of conversions that are associated // with a ConversionAction. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/conversion_action_counting_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/conversion_action_counting_type.proto index 98e744a1e..a7e597df4 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/conversion_action_counting_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/conversion_action_counting_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/conversion_action_counting_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/conversion_action_counting_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/conversion_action_counting_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionActionCountingTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/conversion_action_counting_type.proto // Proto file describing conversion action counting type. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/conversion_action_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/conversion_action_status.proto index 2d457d5e1..e071bf369 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/conversion_action_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/conversion_action_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/conversion_action_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/conversion_action_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/conversion_action_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionActionStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/conversion_action_status.proto // Proto file describing conversion action status. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/conversion_action_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/conversion_action_type.proto index fe20aa403..fd2c4e959 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/conversion_action_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/conversion_action_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/conversion_action_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionActionTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/conversion_action_type.proto // Proto file describing conversion action type. @@ -182,10 +169,6 @@ message ConversionActionTypeEnum { STORE_VISITS = 36; // Conversions created from website events (such as form submissions or page -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/conversion_action_type.proto - // loads), that don't use individually coded event snippets. - WEBPAGE_CODELESS = 37; -======== // loads), that don't use individually coded event snippets. Read only. WEBPAGE_CODELESS = 37; @@ -202,6 +185,5 @@ message ConversionActionTypeEnum { // Conversions that come from linked Google Analytics 4 purchase // conversions. GOOGLE_ANALYTICS_4_PURCHASE = 41; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/conversion_action_type.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/conversion_adjustment_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/conversion_adjustment_type.proto index 3d29895ce..a4eb4f369 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/conversion_adjustment_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/conversion_adjustment_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/conversion_adjustment_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/conversion_adjustment_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/conversion_adjustment_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionAdjustmentTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/conversion_adjustment_type.proto // Proto file describing conversion adjustment type. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/conversion_attribution_event_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/conversion_attribution_event_type.proto index ddd7fd605..78291ea31 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/conversion_attribution_event_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/conversion_attribution_event_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/conversion_attribution_event_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/conversion_attribution_event_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/conversion_attribution_event_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionAttributionEventTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/conversion_attribution_event_type.proto // Container for enum indicating the event type the conversion is attributed to. message ConversionAttributionEventTypeEnum { diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/conversion_custom_variable_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/conversion_custom_variable_status.proto index b5317a7ac..1157393eb 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/conversion_custom_variable_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/conversion_custom_variable_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/conversion_custom_variable_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/conversion_custom_variable_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/conversion_custom_variable_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionCustomVariableStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/conversion_custom_variable_status.proto // Proto file describing conversion custom variable status. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/conversion_lag_bucket.proto b/third_party/googleapis/google/ads/googleads/v14/enums/conversion_lag_bucket.proto index ff7ba0a7a..e158a03d0 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/conversion_lag_bucket.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/conversion_lag_bucket.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/conversion_lag_bucket.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/conversion_lag_bucket.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/conversion_lag_bucket.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionLagBucketProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/conversion_lag_bucket.proto // Container for enum representing the number of days between impression and // conversion. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/conversion_or_adjustment_lag_bucket.proto b/third_party/googleapis/google/ads/googleads/v14/enums/conversion_or_adjustment_lag_bucket.proto index e06a6dce5..afb58d07b 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/conversion_or_adjustment_lag_bucket.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/conversion_or_adjustment_lag_bucket.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/conversion_or_adjustment_lag_bucket.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/conversion_or_adjustment_lag_bucket.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/conversion_or_adjustment_lag_bucket.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionOrAdjustmentLagBucketProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/conversion_or_adjustment_lag_bucket.proto // Container for enum representing the number of days between the impression and // the conversion or between the impression and adjustments to the conversion. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/conversion_origin.proto b/third_party/googleapis/google/ads/googleads/v14/enums/conversion_origin.proto index 93b076e1e..e95de9a60 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/conversion_origin.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/conversion_origin.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/conversion_origin.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/conversion_origin.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/conversion_origin.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionOriginProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/conversion_origin.proto // Proto file describing conversion origin. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/conversion_value_rule_primary_dimension.proto b/third_party/googleapis/google/ads/googleads/v14/enums/conversion_value_rule_primary_dimension.proto index 55de45ebf..9695fab1a 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/conversion_value_rule_primary_dimension.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/conversion_value_rule_primary_dimension.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/conversion_value_rule_primary_dimension.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/conversion_value_rule_primary_dimension.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/conversion_value_rule_primary_dimension.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionValueRulePrimaryDimensionProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/conversion_value_rule_primary_dimension.proto // Proto file describing conversion value rule primary dimension. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/conversion_value_rule_set_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/conversion_value_rule_set_status.proto index e72649576..6010ed969 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/conversion_value_rule_set_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/conversion_value_rule_set_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/conversion_value_rule_set_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/conversion_value_rule_set_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/conversion_value_rule_set_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionValueRuleSetStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/conversion_value_rule_set_status.proto // Proto file describing conversion value rule set status. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/conversion_value_rule_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/conversion_value_rule_status.proto index f8e547e77..152eef2b7 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/conversion_value_rule_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/conversion_value_rule_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/conversion_value_rule_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/conversion_value_rule_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/conversion_value_rule_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionValueRuleStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/conversion_value_rule_status.proto // Proto file describing conversion value rule status. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/criterion_category_channel_availability_mode.proto b/third_party/googleapis/google/ads/googleads/v14/enums/criterion_category_channel_availability_mode.proto index fd367e58c..1745605fb 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/criterion_category_channel_availability_mode.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/criterion_category_channel_availability_mode.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/criterion_category_channel_availability_mode.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/criterion_category_channel_availability_mode.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/criterion_category_channel_availability_mode.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CriterionCategoryChannelAvailabilityModeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/criterion_category_channel_availability_mode.proto // Proto file describing the criterion category channel availability mode. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/criterion_category_locale_availability_mode.proto b/third_party/googleapis/google/ads/googleads/v14/enums/criterion_category_locale_availability_mode.proto index 98752c576..9360946e5 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/criterion_category_locale_availability_mode.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/criterion_category_locale_availability_mode.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/criterion_category_locale_availability_mode.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/criterion_category_locale_availability_mode.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/criterion_category_locale_availability_mode.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CriterionCategoryLocaleAvailabilityModeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/criterion_category_locale_availability_mode.proto // Proto file describing the criterion category locale availability mode. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/criterion_system_serving_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/criterion_system_serving_status.proto index 87d613c51..9581a09ca 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/criterion_system_serving_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/criterion_system_serving_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/criterion_system_serving_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/criterion_system_serving_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/criterion_system_serving_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CriterionSystemServingStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/criterion_system_serving_status.proto // Proto file describing approval status for the criterion. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/criterion_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/criterion_type.proto index 2ff5f73e2..fa9a97729 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/criterion_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/criterion_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/criterion_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/criterion_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/criterion_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CriterionTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/criterion_type.proto // Proto file describing criteria types. @@ -155,14 +138,11 @@ message CriterionTypeEnum { // Audience AUDIENCE = 35; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/criterion_type.proto -======== // Negative Keyword List NEGATIVE_KEYWORD_LIST = 36; // Local Services Ads Service ID. LOCAL_SERVICE_ID = 37; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/criterion_type.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/custom_audience_member_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/custom_audience_member_type.proto index dd221772a..c816df507 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/custom_audience_member_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/custom_audience_member_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/custom_audience_member_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/custom_audience_member_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/custom_audience_member_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomAudienceMemberTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/custom_audience_member_type.proto // Proto file describing custom audience member type. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/custom_audience_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/custom_audience_status.proto index 35c1d1bab..11f66771c 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/custom_audience_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/custom_audience_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/custom_audience_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/custom_audience_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/custom_audience_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomAudienceStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/custom_audience_status.proto // Proto file describing custom audience status. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/custom_audience_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/custom_audience_type.proto index 3ecceb5ca..e9bc67d70 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/custom_audience_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/custom_audience_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/custom_audience_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/custom_audience_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/custom_audience_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomAudienceTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/custom_audience_type.proto // Proto file describing custom audience type. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/custom_conversion_goal_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/custom_conversion_goal_status.proto index ab848687a..6cefae416 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/custom_conversion_goal_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/custom_conversion_goal_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/custom_conversion_goal_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/custom_conversion_goal_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/custom_conversion_goal_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomConversionGoalStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/custom_conversion_goal_status.proto // Proto file describing custom conversion goal status. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/custom_interest_member_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/custom_interest_member_type.proto index dd6323c24..c151bc25d 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/custom_interest_member_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/custom_interest_member_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/custom_interest_member_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/custom_interest_member_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/custom_interest_member_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomInterestMemberTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/custom_interest_member_type.proto // Proto file describing custom interest member type. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/custom_interest_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/custom_interest_status.proto index 806061c60..eb5919c53 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/custom_interest_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/custom_interest_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/custom_interest_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/custom_interest_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/custom_interest_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomInterestStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/custom_interest_status.proto // Proto file describing custom interest status. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/custom_interest_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/custom_interest_type.proto index 906070395..101ec3c03 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/custom_interest_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/custom_interest_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/custom_interest_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/custom_interest_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/custom_interest_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomInterestTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/custom_interest_type.proto // Proto file describing custom interest type. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/custom_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v14/enums/custom_placeholder_field.proto index 2c1507d5b..1301c4607 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/custom_placeholder_field.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/custom_placeholder_field.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/custom_placeholder_field.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/custom_placeholder_field.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/custom_placeholder_field.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/custom_placeholder_field.proto // Proto file describing Custom placeholder fields. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/customer_match_upload_key_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/customer_match_upload_key_type.proto index 21879400e..f8b429de0 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/customer_match_upload_key_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/customer_match_upload_key_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/customer_match_upload_key_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/customer_match_upload_key_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/customer_match_upload_key_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomerMatchUploadKeyTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/customer_match_upload_key_type.proto // Indicates what type of data are the user list's members matched from. message CustomerMatchUploadKeyTypeEnum { diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/customer_pay_per_conversion_eligibility_failure_reason.proto b/third_party/googleapis/google/ads/googleads/v14/enums/customer_pay_per_conversion_eligibility_failure_reason.proto index 1d960a77a..1bdf1fcf4 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/customer_pay_per_conversion_eligibility_failure_reason.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/customer_pay_per_conversion_eligibility_failure_reason.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/customer_pay_per_conversion_eligibility_failure_reason.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/customer_pay_per_conversion_eligibility_failure_reason.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/customer_pay_per_conversion_eligibility_failure_reason.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomerPayPerConversionEligibilityFailureReasonProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/customer_pay_per_conversion_eligibility_failure_reason.proto // Proto file describing pay per conversion eligibility failure reasons. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/customizer_attribute_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/customizer_attribute_status.proto index 453e3fad2..afdb3d291 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/customizer_attribute_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/customizer_attribute_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/customizer_attribute_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/customizer_attribute_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/customizer_attribute_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomizerAttributeStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/customizer_attribute_status.proto // Proto file describing customizer attribute status. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/customizer_attribute_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/customizer_attribute_type.proto index 6149fb3e7..bdd5b4a0d 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/customizer_attribute_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/customizer_attribute_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/customizer_attribute_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/customizer_attribute_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/customizer_attribute_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomizerAttributeTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/customizer_attribute_type.proto // Proto file describing customizer attribute type. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/customizer_value_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/customizer_value_status.proto index 6cd58f04e..bf0ca2d70 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/customizer_value_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/customizer_value_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/customizer_value_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/customizer_value_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/customizer_value_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomizerValueStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/customizer_value_status.proto // Proto file describing customizer value status. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/data_driven_model_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/data_driven_model_status.proto index 066879cda..11b41c272 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/data_driven_model_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/data_driven_model_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/data_driven_model_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/data_driven_model_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/data_driven_model_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "DataDrivenModelStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/data_driven_model_status.proto // Proto file describing data-driven model status. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/day_of_week.proto b/third_party/googleapis/google/ads/googleads/v14/enums/day_of_week.proto index b8cfa5b3c..acddf7495 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/day_of_week.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/day_of_week.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/day_of_week.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/day_of_week.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/day_of_week.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "DayOfWeekProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/day_of_week.proto // Proto file describing days of week. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/device.proto b/third_party/googleapis/google/ads/googleads/v14/enums/device.proto index e551158b6..6319d0552 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/device.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/device.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/device.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/device.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/device.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "DeviceProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/device.proto // Proto file describing devices. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/display_ad_format_setting.proto b/third_party/googleapis/google/ads/googleads/v14/enums/display_ad_format_setting.proto index b1477bb3f..f89f1cd5a 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/display_ad_format_setting.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/display_ad_format_setting.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/display_ad_format_setting.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/display_ad_format_setting.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/display_ad_format_setting.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "DisplayAdFormatSettingProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/display_ad_format_setting.proto // Proto file describing display ad format settings. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/display_upload_product_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/display_upload_product_type.proto index afaf25d23..703eb825d 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/display_upload_product_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/display_upload_product_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/display_upload_product_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/display_upload_product_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/display_upload_product_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "DisplayUploadProductTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/display_upload_product_type.proto // Proto file describing display upload product types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/distance_bucket.proto b/third_party/googleapis/google/ads/googleads/v14/enums/distance_bucket.proto index 1b4589d15..5932b8e68 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/distance_bucket.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/distance_bucket.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/distance_bucket.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/distance_bucket.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/distance_bucket.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "DistanceBucketProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/distance_bucket.proto // Proto file describing distance buckets. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/dsa_page_feed_criterion_field.proto b/third_party/googleapis/google/ads/googleads/v14/enums/dsa_page_feed_criterion_field.proto index 39e4a6bc3..f13081233 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/dsa_page_feed_criterion_field.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/dsa_page_feed_criterion_field.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/dsa_page_feed_criterion_field.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/dsa_page_feed_criterion_field.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/dsa_page_feed_criterion_field.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "DsaPageFeedCriterionFieldProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/dsa_page_feed_criterion_field.proto // Proto file describing Dynamic Search Ad Page Feed criterion fields. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/education_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v14/enums/education_placeholder_field.proto index 757008789..b12ff566a 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/education_placeholder_field.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/education_placeholder_field.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/education_placeholder_field.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/education_placeholder_field.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/education_placeholder_field.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "EducationPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/education_placeholder_field.proto // Proto file describing Education placeholder fields. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/extension_setting_device.proto b/third_party/googleapis/google/ads/googleads/v14/enums/extension_setting_device.proto index a779bc2f8..e4cae7e03 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/extension_setting_device.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/extension_setting_device.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/extension_setting_device.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/extension_setting_device.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/extension_setting_device.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ExtensionSettingDeviceProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/extension_setting_device.proto // Proto file describing extension setting device type. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/extension_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/extension_type.proto index 2efe16994..4a551f6a2 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/extension_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/extension_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/extension_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/extension_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/extension_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ExtensionTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/extension_type.proto // Proto file describing extension type. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/external_conversion_source.proto b/third_party/googleapis/google/ads/googleads/v14/enums/external_conversion_source.proto index dd5d54bbe..dfd0fd102 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/external_conversion_source.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/external_conversion_source.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/external_conversion_source.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/external_conversion_source.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/external_conversion_source.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ExternalConversionSourceProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/external_conversion_source.proto // Container for enum describing the external conversion source that is // associated with a ConversionAction. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/feed_attribute_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/feed_attribute_type.proto index 13bb15358..3178bd500 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/feed_attribute_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/feed_attribute_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/feed_attribute_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/feed_attribute_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/feed_attribute_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedAttributeTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/feed_attribute_type.proto // Proto file describing feed attribute type. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/feed_item_quality_approval_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/feed_item_quality_approval_status.proto index 8ec758850..38d8c6990 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/feed_item_quality_approval_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/feed_item_quality_approval_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/feed_item_quality_approval_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/feed_item_quality_approval_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/feed_item_quality_approval_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemQualityApprovalStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/feed_item_quality_approval_status.proto // Proto file describing feed item quality evaluation approval statuses. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/feed_item_quality_disapproval_reason.proto b/third_party/googleapis/google/ads/googleads/v14/enums/feed_item_quality_disapproval_reason.proto index baac48706..d1327928f 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/feed_item_quality_disapproval_reason.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/feed_item_quality_disapproval_reason.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/feed_item_quality_disapproval_reason.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/feed_item_quality_disapproval_reason.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/feed_item_quality_disapproval_reason.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemQualityDisapprovalReasonProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/feed_item_quality_disapproval_reason.proto // Proto file describing feed item quality disapproval reasons. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/feed_item_set_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/feed_item_set_status.proto index 14785b846..79dc9fff4 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/feed_item_set_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/feed_item_set_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/feed_item_set_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/feed_item_set_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/feed_item_set_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemSetStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/feed_item_set_status.proto // Proto file describing feed item set status. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/feed_item_set_string_filter_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/feed_item_set_string_filter_type.proto index e5ac21c44..fbac6fa6e 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/feed_item_set_string_filter_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/feed_item_set_string_filter_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/feed_item_set_string_filter_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/feed_item_set_string_filter_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/feed_item_set_string_filter_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemSetStringFilterTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/feed_item_set_string_filter_type.proto // The type of string matching to be used for a dynamic FeedItemSet filter. message FeedItemSetStringFilterTypeEnum { diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/feed_item_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/feed_item_status.proto index ca765dd1c..d5797983c 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/feed_item_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/feed_item_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/feed_item_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/feed_item_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/feed_item_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/feed_item_status.proto // Proto file describing feed item status. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/feed_item_target_device.proto b/third_party/googleapis/google/ads/googleads/v14/enums/feed_item_target_device.proto index deee6985e..9bc70977f 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/feed_item_target_device.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/feed_item_target_device.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/feed_item_target_device.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/feed_item_target_device.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/feed_item_target_device.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemTargetDeviceProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/feed_item_target_device.proto // Proto file describing feed item target device type. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/feed_item_target_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/feed_item_target_status.proto index 95d73eca7..685d16606 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/feed_item_target_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/feed_item_target_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/feed_item_target_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/feed_item_target_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/feed_item_target_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemTargetStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/feed_item_target_status.proto // Proto file describing feed item target status. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/feed_item_target_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/feed_item_target_type.proto index 9b9b75b3a..50c10c6c8 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/feed_item_target_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/feed_item_target_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/feed_item_target_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/feed_item_target_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/feed_item_target_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemTargetTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/feed_item_target_type.proto // Proto file describing feed item target type status. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/feed_item_validation_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/feed_item_validation_status.proto index e8afb0b06..742a50204 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/feed_item_validation_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/feed_item_validation_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/feed_item_validation_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/feed_item_validation_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/feed_item_validation_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemValidationStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/feed_item_validation_status.proto // Proto file describing feed item validation statuses. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/feed_link_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/feed_link_status.proto index 10c1c6235..87015603d 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/feed_link_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/feed_link_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/feed_link_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/feed_link_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/feed_link_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedLinkStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/feed_link_status.proto // Proto file describing status of a feed link. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/feed_mapping_criterion_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/feed_mapping_criterion_type.proto index 741e8b36c..afa5e41a6 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/feed_mapping_criterion_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/feed_mapping_criterion_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/feed_mapping_criterion_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/feed_mapping_criterion_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/feed_mapping_criterion_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedMappingCriterionTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/feed_mapping_criterion_type.proto // Proto file describing criterion types for feed mappings. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/feed_mapping_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/feed_mapping_status.proto index 38ee7b7a4..41602395e 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/feed_mapping_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/feed_mapping_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/feed_mapping_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/feed_mapping_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/feed_mapping_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedMappingStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/feed_mapping_status.proto // Proto file describing feed mapping status. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/feed_origin.proto b/third_party/googleapis/google/ads/googleads/v14/enums/feed_origin.proto index fac90bd50..52271583c 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/feed_origin.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/feed_origin.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/feed_origin.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/feed_origin.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/feed_origin.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedOriginProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/feed_origin.proto // Proto file describing feed origin. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/feed_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/feed_status.proto index 8db61464a..586b757b8 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/feed_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/feed_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/feed_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/feed_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/feed_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/feed_status.proto // Proto file describing feed status. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/flight_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v14/enums/flight_placeholder_field.proto index cd403134b..411289071 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/flight_placeholder_field.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/flight_placeholder_field.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/flight_placeholder_field.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/flight_placeholder_field.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/flight_placeholder_field.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FlightsPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/flight_placeholder_field.proto // Proto file describing Flight placeholder fields. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/frequency_cap_event_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/frequency_cap_event_type.proto index 262980156..3caecc235 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/frequency_cap_event_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/frequency_cap_event_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/frequency_cap_event_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/frequency_cap_event_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/frequency_cap_event_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FrequencyCapEventTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/frequency_cap_event_type.proto // Proto file describing frequency caps. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/frequency_cap_level.proto b/third_party/googleapis/google/ads/googleads/v14/enums/frequency_cap_level.proto index 03e8bf511..02055c2ba 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/frequency_cap_level.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/frequency_cap_level.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/frequency_cap_level.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/frequency_cap_level.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/frequency_cap_level.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FrequencyCapLevelProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/frequency_cap_level.proto // Proto file describing frequency caps. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/frequency_cap_time_unit.proto b/third_party/googleapis/google/ads/googleads/v14/enums/frequency_cap_time_unit.proto index a5f006443..01e3149a8 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/frequency_cap_time_unit.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/frequency_cap_time_unit.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/frequency_cap_time_unit.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/frequency_cap_time_unit.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/frequency_cap_time_unit.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FrequencyCapTimeUnitProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/frequency_cap_time_unit.proto // Proto file describing frequency caps. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/gender_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/gender_type.proto index 531a597a4..a76323d9e 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/gender_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/gender_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/gender_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/gender_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/gender_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "GenderTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/gender_type.proto // Proto file describing gender types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/geo_target_constant_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/geo_target_constant_status.proto index ff19ceabe..afacf5eee 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/geo_target_constant_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/geo_target_constant_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/geo_target_constant_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/geo_target_constant_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/geo_target_constant_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "GeoTargetConstantStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/geo_target_constant_status.proto // Proto file describing geo target constant statuses. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/geo_targeting_restriction.proto b/third_party/googleapis/google/ads/googleads/v14/enums/geo_targeting_restriction.proto index 31d96da46..fcdfce9b0 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/geo_targeting_restriction.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/geo_targeting_restriction.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/geo_targeting_restriction.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/geo_targeting_restriction.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/geo_targeting_restriction.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "GeoTargetingRestrictionProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/geo_targeting_restriction.proto // Proto file describing GeoTargetingRestriction. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/geo_targeting_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/geo_targeting_type.proto index 92606a869..21dc1ab69 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/geo_targeting_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/geo_targeting_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/geo_targeting_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/geo_targeting_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/geo_targeting_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "GeoTargetingTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/geo_targeting_type.proto // Proto file describing geo targeting types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/goal_config_level.proto b/third_party/googleapis/google/ads/googleads/v14/enums/goal_config_level.proto index 06c9e39db..748b6104b 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/goal_config_level.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/goal_config_level.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/goal_config_level.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/goal_config_level.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/goal_config_level.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "GoalConfigLevelProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/goal_config_level.proto // Proto file describing goal config level. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/google_ads_field_category.proto b/third_party/googleapis/google/ads/googleads/v14/enums/google_ads_field_category.proto index f2f46f217..c8680fb3e 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/google_ads_field_category.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/google_ads_field_category.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/google_ads_field_category.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/google_ads_field_category.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/google_ads_field_category.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "GoogleAdsFieldCategoryProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/google_ads_field_category.proto // Proto file describing GoogleAdsField categories. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/google_ads_field_data_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/google_ads_field_data_type.proto index a29613a3f..0af9902b8 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/google_ads_field_data_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/google_ads_field_data_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/google_ads_field_data_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/google_ads_field_data_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/google_ads_field_data_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "GoogleAdsFieldDataTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/google_ads_field_data_type.proto // Proto file describing GoogleAdsField data types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/google_voice_call_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/google_voice_call_status.proto index 7d58ed09d..4b420fbbd 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/google_voice_call_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/google_voice_call_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/google_voice_call_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/google_voice_call_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/google_voice_call_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "GoogleVoiceCallStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/google_voice_call_status.proto // Proto file describing google voice call status. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/hotel_date_selection_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/hotel_date_selection_type.proto index 8ebc9608d..e8ee7eedc 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/hotel_date_selection_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/hotel_date_selection_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/hotel_date_selection_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/hotel_date_selection_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/hotel_date_selection_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "HotelDateSelectionTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/hotel_date_selection_type.proto // Proto file describing hotel date selection types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/hotel_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v14/enums/hotel_placeholder_field.proto index e350f9b6f..74789f40a 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/hotel_placeholder_field.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/hotel_placeholder_field.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/hotel_placeholder_field.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/hotel_placeholder_field.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/hotel_placeholder_field.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "HotelsPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/hotel_placeholder_field.proto // Proto file describing Hotel placeholder fields. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/hotel_price_bucket.proto b/third_party/googleapis/google/ads/googleads/v14/enums/hotel_price_bucket.proto index cb07209ed..3cd7131d2 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/hotel_price_bucket.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/hotel_price_bucket.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/hotel_price_bucket.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/hotel_price_bucket.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/hotel_price_bucket.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "HotelPriceBucketProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/hotel_price_bucket.proto // Proto file describing hotel price buckets. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/hotel_rate_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/hotel_rate_type.proto index 6c0e9340e..53028a96d 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/hotel_rate_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/hotel_rate_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/hotel_rate_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/hotel_rate_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/hotel_rate_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "HotelRateTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/hotel_rate_type.proto // Proto file describing hotel rate types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/hotel_reconciliation_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/hotel_reconciliation_status.proto index 905dd462d..798922ad0 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/hotel_reconciliation_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/hotel_reconciliation_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/hotel_reconciliation_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/hotel_reconciliation_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/hotel_reconciliation_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "HotelReconciliationStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/hotel_reconciliation_status.proto // Proto file describing hotel reconciliation row status. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/image_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v14/enums/image_placeholder_field.proto index d6843bd83..b29296aeb 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/image_placeholder_field.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/image_placeholder_field.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/image_placeholder_field.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/image_placeholder_field.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/image_placeholder_field.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ImagePlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/image_placeholder_field.proto // Proto file describing Advertiser Provided Image placeholder fields. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/income_range_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/income_range_type.proto index a2b3a3683..c31936ccf 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/income_range_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/income_range_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/income_range_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/income_range_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/income_range_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "IncomeRangeTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/income_range_type.proto // Proto file describing income range types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/interaction_event_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/interaction_event_type.proto index 541160b5a..3db73fba0 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/interaction_event_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/interaction_event_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/interaction_event_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/interaction_event_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/interaction_event_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "InteractionEventTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/interaction_event_type.proto // Proto file describing types of payable and free interactions. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/interaction_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/interaction_type.proto index 5919a2db6..7968117ce 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/interaction_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/interaction_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/interaction_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/interaction_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/interaction_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "InteractionTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/interaction_type.proto // Proto file describing interaction types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/invoice_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/invoice_type.proto index e8ab3e676..b66b44184 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/invoice_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/invoice_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/invoice_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/invoice_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/invoice_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "InvoiceTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/invoice_type.proto // Proto file describing invoice types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/job_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v14/enums/job_placeholder_field.proto index 40683802d..6569f7b88 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/job_placeholder_field.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/job_placeholder_field.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/job_placeholder_field.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/job_placeholder_field.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/job_placeholder_field.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "JobsPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/job_placeholder_field.proto // Proto file describing Job placeholder fields. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/keyword_match_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/keyword_match_type.proto index 270b75dfe..b2fac1e15 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/keyword_match_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/keyword_match_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/keyword_match_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/keyword_match_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/keyword_match_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "KeywordMatchTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/keyword_match_type.proto // Proto file describing Keyword match types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/keyword_plan_aggregate_metric_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/keyword_plan_aggregate_metric_type.proto index 15161974d..31dd0a57e 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/keyword_plan_aggregate_metric_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/keyword_plan_aggregate_metric_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/keyword_plan_aggregate_metric_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/keyword_plan_aggregate_metric_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/keyword_plan_aggregate_metric_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanAggregateMetricTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/keyword_plan_aggregate_metric_type.proto // Proto file describing keyword plan aggregate metric types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/keyword_plan_competition_level.proto b/third_party/googleapis/google/ads/googleads/v14/enums/keyword_plan_competition_level.proto index 0faec2f73..e0942028a 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/keyword_plan_competition_level.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/keyword_plan_competition_level.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/keyword_plan_competition_level.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/keyword_plan_competition_level.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/keyword_plan_competition_level.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanCompetitionLevelProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/keyword_plan_competition_level.proto // Proto file describing Keyword Planner competition levels. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/keyword_plan_concept_group_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/keyword_plan_concept_group_type.proto index bb1b04e5e..7013c2c2e 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/keyword_plan_concept_group_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/keyword_plan_concept_group_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/keyword_plan_concept_group_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/keyword_plan_concept_group_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/keyword_plan_concept_group_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanConceptGroupTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/keyword_plan_concept_group_type.proto // Proto file describing Keyword Planner Concept Group types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/keyword_plan_forecast_interval.proto b/third_party/googleapis/google/ads/googleads/v14/enums/keyword_plan_forecast_interval.proto index 742db4ba5..cce76cf20 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/keyword_plan_forecast_interval.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/keyword_plan_forecast_interval.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/keyword_plan_forecast_interval.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/keyword_plan_forecast_interval.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/keyword_plan_forecast_interval.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanForecastIntervalProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/keyword_plan_forecast_interval.proto // Proto file describing keyword plan forecast intervals. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/keyword_plan_keyword_annotation.proto b/third_party/googleapis/google/ads/googleads/v14/enums/keyword_plan_keyword_annotation.proto index 034af99d7..5c6db53c8 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/keyword_plan_keyword_annotation.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/keyword_plan_keyword_annotation.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/keyword_plan_keyword_annotation.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/keyword_plan_keyword_annotation.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/keyword_plan_keyword_annotation.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanKeywordAnnotationProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/keyword_plan_keyword_annotation.proto // Proto file describing Keyword Planner Keyword annotation types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/keyword_plan_network.proto b/third_party/googleapis/google/ads/googleads/v14/enums/keyword_plan_network.proto index 4c3a24504..8ecc83701 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/keyword_plan_network.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/keyword_plan_network.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/keyword_plan_network.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/keyword_plan_network.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/keyword_plan_network.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanNetworkProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/keyword_plan_network.proto // Proto file describing Keyword Planner forecastable network types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/label_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/label_status.proto index e2b15e96f..02e4e29ed 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/label_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/label_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/label_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/label_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/label_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LabelStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/label_status.proto // Container for enum describing possible status of a label. message LabelStatusEnum { diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/lead_form_call_to_action_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/lead_form_call_to_action_type.proto index 6e4e34e07..d85620dd8 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/lead_form_call_to_action_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/lead_form_call_to_action_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/lead_form_call_to_action_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/lead_form_call_to_action_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/lead_form_call_to_action_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LeadFormCallToActionTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/lead_form_call_to_action_type.proto // Describes the type of call-to-action phrases in a lead form. message LeadFormCallToActionTypeEnum { diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/lead_form_desired_intent.proto b/third_party/googleapis/google/ads/googleads/v14/enums/lead_form_desired_intent.proto index e58d492b8..960e3ba9b 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/lead_form_desired_intent.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/lead_form_desired_intent.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/lead_form_desired_intent.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/lead_form_desired_intent.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/lead_form_desired_intent.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LeadFormDesiredIntentProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/lead_form_desired_intent.proto // Describes the chosen level of intent of generated leads. message LeadFormDesiredIntentEnum { diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/lead_form_post_submit_call_to_action_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/lead_form_post_submit_call_to_action_type.proto index 995e86209..cd8d82fd2 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/lead_form_post_submit_call_to_action_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/lead_form_post_submit_call_to_action_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/lead_form_post_submit_call_to_action_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/lead_form_post_submit_call_to_action_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/lead_form_post_submit_call_to_action_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LeadFormPostSubmitCallToActionTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/lead_form_post_submit_call_to_action_type.proto // Describes the type of post-submit call-to-action phrases for a lead form. message LeadFormPostSubmitCallToActionTypeEnum { diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/legacy_app_install_ad_app_store.proto b/third_party/googleapis/google/ads/googleads/v14/enums/legacy_app_install_ad_app_store.proto index 8eba91e0c..20fa9752a 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/legacy_app_install_ad_app_store.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/legacy_app_install_ad_app_store.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/legacy_app_install_ad_app_store.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/legacy_app_install_ad_app_store.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/legacy_app_install_ad_app_store.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LegacyAppInstallAdAppStoreProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/legacy_app_install_ad_app_store.proto // Proto file describing app store types for a legacy app install ad. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/linked_account_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/linked_account_type.proto index d75816f8e..45b4e8f4a 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/linked_account_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/linked_account_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/linked_account_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LinkedAccountTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/linked_account_type.proto // Container for enum describing different types of Linked accounts. message LinkedAccountTypeEnum { diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/listing_group_filter_bidding_category_level.proto b/third_party/googleapis/google/ads/googleads/v14/enums/listing_group_filter_bidding_category_level.proto index 729c45bab..36843d410 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/listing_group_filter_bidding_category_level.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/listing_group_filter_bidding_category_level.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/listing_group_filter_bidding_category_level.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/listing_group_filter_bidding_category_level.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/listing_group_filter_bidding_category_level.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ListingGroupFilterBiddingCategoryLevelProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/listing_group_filter_bidding_category_level.proto // Proto file describing listing groups. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/listing_group_filter_custom_attribute_index.proto b/third_party/googleapis/google/ads/googleads/v14/enums/listing_group_filter_custom_attribute_index.proto index 23944943b..a72629611 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/listing_group_filter_custom_attribute_index.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/listing_group_filter_custom_attribute_index.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/listing_group_filter_custom_attribute_index.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/listing_group_filter_custom_attribute_index.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/listing_group_filter_custom_attribute_index.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ListingGroupFilterCustomAttributeIndexProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/listing_group_filter_custom_attribute_index.proto // Proto file describing listing groups. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/listing_group_filter_product_channel.proto b/third_party/googleapis/google/ads/googleads/v14/enums/listing_group_filter_product_channel.proto index c50e2f5bf..6e2847e39 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/listing_group_filter_product_channel.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/listing_group_filter_product_channel.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/listing_group_filter_product_channel.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/listing_group_filter_product_channel.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/listing_group_filter_product_channel.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ListingGroupFilterProductChannelProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/listing_group_filter_product_channel.proto // Proto file describing listing groups. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/listing_group_filter_product_condition.proto b/third_party/googleapis/google/ads/googleads/v14/enums/listing_group_filter_product_condition.proto index f5eb38a43..6302692ed 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/listing_group_filter_product_condition.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/listing_group_filter_product_condition.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/listing_group_filter_product_condition.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/listing_group_filter_product_condition.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/listing_group_filter_product_condition.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ListingGroupFilterProductConditionProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/listing_group_filter_product_condition.proto // Proto file describing listing groups. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/listing_group_filter_product_type_level.proto b/third_party/googleapis/google/ads/googleads/v14/enums/listing_group_filter_product_type_level.proto index c322d0d50..997e78b88 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/listing_group_filter_product_type_level.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/listing_group_filter_product_type_level.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/listing_group_filter_product_type_level.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/listing_group_filter_product_type_level.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/listing_group_filter_product_type_level.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ListingGroupFilterProductTypeLevelProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/listing_group_filter_product_type_level.proto // Proto file describing listing groups. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/listing_group_filter_type_enum.proto b/third_party/googleapis/google/ads/googleads/v14/enums/listing_group_filter_type_enum.proto index c9e7f5ea1..56b235b09 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/listing_group_filter_type_enum.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/listing_group_filter_type_enum.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/listing_group_filter_type_enum.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/listing_group_filter_type_enum.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/listing_group_filter_type_enum.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ListingGroupFilterTypeEnumProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/listing_group_filter_type_enum.proto // Proto file describing listing groups. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/listing_group_filter_vertical.proto b/third_party/googleapis/google/ads/googleads/v14/enums/listing_group_filter_vertical.proto index 993eee029..eba9fb47e 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/listing_group_filter_vertical.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/listing_group_filter_vertical.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/listing_group_filter_vertical.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/listing_group_filter_vertical.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/listing_group_filter_vertical.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ListingGroupFilterVerticalProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/listing_group_filter_vertical.proto // Proto file describing listing groups. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/listing_group_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/listing_group_type.proto index 1f34e3576..a6145bf5c 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/listing_group_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/listing_group_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/listing_group_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/listing_group_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/listing_group_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ListingGroupTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/listing_group_type.proto // Proto file describing listing groups. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/local_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v14/enums/local_placeholder_field.proto index b98733d63..4847e5031 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/local_placeholder_field.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/local_placeholder_field.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/local_placeholder_field.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/local_placeholder_field.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/local_placeholder_field.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LocalPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/local_placeholder_field.proto // Proto file describing Local placeholder fields. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/location_extension_targeting_criterion_field.proto b/third_party/googleapis/google/ads/googleads/v14/enums/location_extension_targeting_criterion_field.proto index 83ff42c7e..e63ccec4e 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/location_extension_targeting_criterion_field.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/location_extension_targeting_criterion_field.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/location_extension_targeting_criterion_field.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/location_extension_targeting_criterion_field.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/location_extension_targeting_criterion_field.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LocationExtensionTargetingCriterionFieldProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/location_extension_targeting_criterion_field.proto // Proto file describing Location Extension Targeting criterion fields. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/location_group_radius_units.proto b/third_party/googleapis/google/ads/googleads/v14/enums/location_group_radius_units.proto index 258f89370..fe72a1325 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/location_group_radius_units.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/location_group_radius_units.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/location_group_radius_units.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/location_group_radius_units.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/location_group_radius_units.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LocationGroupRadiusUnitsProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/location_group_radius_units.proto // Proto file describing location group radius units. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/location_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v14/enums/location_placeholder_field.proto index d11914a7c..044beb56e 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/location_placeholder_field.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/location_placeholder_field.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/location_placeholder_field.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/location_placeholder_field.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/location_placeholder_field.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LocationPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/location_placeholder_field.proto // Proto file describing Location placeholder fields. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/location_source_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/location_source_type.proto index 39f11c434..7d7ed87b7 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/location_source_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/location_source_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/location_source_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/location_source_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/location_source_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LocationSourceTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/location_source_type.proto // Proto file describing location source types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/manager_link_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/manager_link_status.proto index 702931885..b20f6b2af 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/manager_link_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/manager_link_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/manager_link_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/manager_link_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/manager_link_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ManagerLinkStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/manager_link_status.proto // Container for enum describing possible status of a manager and client link. message ManagerLinkStatusEnum { diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/matching_function_context_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/matching_function_context_type.proto index d79948508..a309afeee 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/matching_function_context_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/matching_function_context_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/matching_function_context_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/matching_function_context_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/matching_function_context_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MatchingFunctionContextTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/matching_function_context_type.proto // Proto file describing matching function context types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/matching_function_operator.proto b/third_party/googleapis/google/ads/googleads/v14/enums/matching_function_operator.proto index 1d3bad5ab..4831141d7 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/matching_function_operator.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/matching_function_operator.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/matching_function_operator.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/matching_function_operator.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/matching_function_operator.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MatchingFunctionOperatorProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/matching_function_operator.proto // Proto file describing matching function operators. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/media_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/media_type.proto index c39be873e..dc2ac2e1d 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/media_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/media_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/media_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/media_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/media_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MediaTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/media_type.proto // Proto file describing media types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/merchant_center_link_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/merchant_center_link_status.proto index 388c28369..1e791ca07 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/merchant_center_link_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/merchant_center_link_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/merchant_center_link_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/merchant_center_link_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/merchant_center_link_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MerchantCenterLinkStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/merchant_center_link_status.proto // Proto file describing Merchant Center link statuses. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/message_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v14/enums/message_placeholder_field.proto index e888fb4bf..74c01a5ff 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/message_placeholder_field.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/message_placeholder_field.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/message_placeholder_field.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/message_placeholder_field.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/message_placeholder_field.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MessagePlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/message_placeholder_field.proto // Proto file describing Message placeholder fields. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/mime_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/mime_type.proto index d4236ec67..1923d9c6f 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/mime_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/mime_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/mime_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/mime_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/mime_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MimeTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/mime_type.proto // Proto file describing mime types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/minute_of_hour.proto b/third_party/googleapis/google/ads/googleads/v14/enums/minute_of_hour.proto index e4af06ebe..e95f85987 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/minute_of_hour.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/minute_of_hour.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/minute_of_hour.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/minute_of_hour.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/minute_of_hour.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MinuteOfHourProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/minute_of_hour.proto // Proto file describing days of week. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/mobile_app_vendor.proto b/third_party/googleapis/google/ads/googleads/v14/enums/mobile_app_vendor.proto index 86f457f13..97bc29df4 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/mobile_app_vendor.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/mobile_app_vendor.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/mobile_app_vendor.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/mobile_app_vendor.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/mobile_app_vendor.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MobileAppVendorProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/mobile_app_vendor.proto // Container for enum describing different types of mobile app vendors. message MobileAppVendorEnum { diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/mobile_device_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/mobile_device_type.proto index c103b11d6..b02e5ee47 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/mobile_device_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/mobile_device_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/mobile_device_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/mobile_device_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/mobile_device_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MobileDeviceTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/mobile_device_type.proto // Proto file describing mobile device types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/month_of_year.proto b/third_party/googleapis/google/ads/googleads/v14/enums/month_of_year.proto index e3c46162b..08d5bda25 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/month_of_year.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/month_of_year.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/month_of_year.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/month_of_year.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/month_of_year.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MonthOfYearProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/month_of_year.proto // Proto file describing days of week. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/negative_geo_target_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/negative_geo_target_type.proto index 0b4e6639f..33bc29073 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/negative_geo_target_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/negative_geo_target_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/negative_geo_target_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/negative_geo_target_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/negative_geo_target_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "NegativeGeoTargetTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/negative_geo_target_type.proto // Proto file describing negative geo target types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/offline_user_data_job_failure_reason.proto b/third_party/googleapis/google/ads/googleads/v14/enums/offline_user_data_job_failure_reason.proto index 6e8552757..98130874a 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/offline_user_data_job_failure_reason.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/offline_user_data_job_failure_reason.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/offline_user_data_job_failure_reason.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "OfflineUserDataJobFailureReasonProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/offline_user_data_job_failure_reason.proto // Proto file describing offline user data job failure reasons. @@ -57,18 +44,6 @@ message OfflineUserDataJobFailureReasonEnum { // The uploaded transactions are insufficient. INSUFFICIENT_TRANSACTIONS = 3; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/offline_user_data_job_failure_reason.proto - // The average transaction value is unusually high for your account. If - // this is intended, contact support to request an exception. - HIGH_AVERAGE_TRANSACTION_VALUE = 4; - - // The average transaction value is unusually low for your account. If - // this is intended, contact support to request an exception. - LOW_AVERAGE_TRANSACTION_VALUE = 5; - - // There's a currency code that you haven't used before in your uploads. If - // this is intended, contact support to request an exception. -======== // The average transaction value is unusually high for your account. If this // is intended, contact support to request an exception. Learn more at // https://support.google.com/google-ads/answer/10018944#transaction_value @@ -82,7 +57,6 @@ message OfflineUserDataJobFailureReasonEnum { // There's a currency code that you haven't used before in your uploads. If // this is intended, contact support to request an exception. Learn more at // https://support.google.com/google-ads/answer/10018944#Unrecognized_currency ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/offline_user_data_job_failure_reason.proto NEWLY_OBSERVED_CURRENCY_CODE = 6; } } diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/offline_user_data_job_match_rate_range.proto b/third_party/googleapis/google/ads/googleads/v14/enums/offline_user_data_job_match_rate_range.proto index 934749ba8..6230edf62 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/offline_user_data_job_match_rate_range.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/offline_user_data_job_match_rate_range.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/offline_user_data_job_match_rate_range.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/offline_user_data_job_match_rate_range.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/offline_user_data_job_match_rate_range.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "OfflineUserDataJobMatchRateRangeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/offline_user_data_job_match_rate_range.proto // Container for enum describing reasons match rate ranges for a customer match // list upload. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/offline_user_data_job_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/offline_user_data_job_status.proto index d80602099..4ad48eb8d 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/offline_user_data_job_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/offline_user_data_job_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/offline_user_data_job_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/offline_user_data_job_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/offline_user_data_job_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "OfflineUserDataJobStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/offline_user_data_job_status.proto // Proto file describing offline user data job status. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/offline_user_data_job_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/offline_user_data_job_type.proto index d9dfc48f9..d5950fe86 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/offline_user_data_job_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/offline_user_data_job_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/offline_user_data_job_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/offline_user_data_job_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/offline_user_data_job_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "OfflineUserDataJobTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/offline_user_data_job_type.proto // Proto file describing offline user data job types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/operating_system_version_operator_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/operating_system_version_operator_type.proto index 558097328..26da21435 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/operating_system_version_operator_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/operating_system_version_operator_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/operating_system_version_operator_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/operating_system_version_operator_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/operating_system_version_operator_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "OperatingSystemVersionOperatorTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/operating_system_version_operator_type.proto // Proto file describing operating system version operator types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/optimization_goal_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/optimization_goal_type.proto index b4ea4bf22..3162939b7 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/optimization_goal_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/optimization_goal_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/optimization_goal_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/optimization_goal_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/optimization_goal_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "OptimizationGoalTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/optimization_goal_type.proto // Proto file describing optimization goal type. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/parental_status_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/parental_status_type.proto index 40a34caa5..4cea0bc0e 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/parental_status_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/parental_status_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/parental_status_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/parental_status_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/parental_status_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ParentalStatusTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/parental_status_type.proto // Proto file describing parenal status types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/payment_mode.proto b/third_party/googleapis/google/ads/googleads/v14/enums/payment_mode.proto index 0a254b761..d39bfb66f 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/payment_mode.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/payment_mode.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/payment_mode.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/payment_mode.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/payment_mode.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PaymentModeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/payment_mode.proto // Proto file describing payment modes. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/placeholder_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/placeholder_type.proto index 0ae5d943c..4abeac237 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/placeholder_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/placeholder_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/placeholder_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/placeholder_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/placeholder_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PlaceholderTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/placeholder_type.proto // Proto file describing feed placeholder types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/placement_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/placement_type.proto index 23b7ab370..c4f6aec23 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/placement_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/placement_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/placement_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/placement_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/placement_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PlacementTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/placement_type.proto // Proto file describing placement types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/policy_approval_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/policy_approval_status.proto index b2964cfaa..5f10f9214 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/policy_approval_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/policy_approval_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/policy_approval_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/policy_approval_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/policy_approval_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PolicyApprovalStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/policy_approval_status.proto // Proto file describing policy approval statuses. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/policy_review_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/policy_review_status.proto index 70866209e..d23fd7c9c 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/policy_review_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/policy_review_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/policy_review_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/policy_review_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/policy_review_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PolicyReviewStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/policy_review_status.proto // Proto file describing policy review statuses. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/policy_topic_entry_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/policy_topic_entry_type.proto index 90361b2dc..54058cc83 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/policy_topic_entry_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/policy_topic_entry_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/policy_topic_entry_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/policy_topic_entry_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/policy_topic_entry_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PolicyTopicEntryTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/policy_topic_entry_type.proto // Proto file describing policy topic entry types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/policy_topic_evidence_destination_mismatch_url_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/policy_topic_evidence_destination_mismatch_url_type.proto index 058ac6a9a..cde7eff4c 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/policy_topic_evidence_destination_mismatch_url_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/policy_topic_evidence_destination_mismatch_url_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/policy_topic_evidence_destination_mismatch_url_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/policy_topic_evidence_destination_mismatch_url_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/policy_topic_evidence_destination_mismatch_url_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PolicyTopicEvidenceDestinationMismatchUrlTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/policy_topic_evidence_destination_mismatch_url_type.proto // Proto file describing policy topic evidence destination mismatch url types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/policy_topic_evidence_destination_not_working_device.proto b/third_party/googleapis/google/ads/googleads/v14/enums/policy_topic_evidence_destination_not_working_device.proto index 71fe1de2b..7ae6de518 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/policy_topic_evidence_destination_not_working_device.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/policy_topic_evidence_destination_not_working_device.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/policy_topic_evidence_destination_not_working_device.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/policy_topic_evidence_destination_not_working_device.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/policy_topic_evidence_destination_not_working_device.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PolicyTopicEvidenceDestinationNotWorkingDeviceProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/policy_topic_evidence_destination_not_working_device.proto // Proto file describing device of destination not working policy topic // evidence. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto index 0f7b59cd8..aa34cfe6b 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto // Proto file describing DNS error types of destination not working policy topic // evidence. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/positive_geo_target_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/positive_geo_target_type.proto index 61f8287f4..e5799ff0f 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/positive_geo_target_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/positive_geo_target_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/positive_geo_target_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/positive_geo_target_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/positive_geo_target_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PositiveGeoTargetTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/positive_geo_target_type.proto // Proto file describing positive geo target types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/price_extension_price_qualifier.proto b/third_party/googleapis/google/ads/googleads/v14/enums/price_extension_price_qualifier.proto index d76e35e76..3961f1067 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/price_extension_price_qualifier.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/price_extension_price_qualifier.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/price_extension_price_qualifier.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/price_extension_price_qualifier.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/price_extension_price_qualifier.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PriceExtensionPriceQualifierProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/price_extension_price_qualifier.proto // Proto file describing price extension price qualifier type. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/price_extension_price_unit.proto b/third_party/googleapis/google/ads/googleads/v14/enums/price_extension_price_unit.proto index 77b2fd26d..8b946e80c 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/price_extension_price_unit.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/price_extension_price_unit.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/price_extension_price_unit.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/price_extension_price_unit.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/price_extension_price_unit.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PriceExtensionPriceUnitProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/price_extension_price_unit.proto // Proto file describing price extension price unit. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/price_extension_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/price_extension_type.proto index 0c5d2447d..aca4cf658 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/price_extension_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/price_extension_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/price_extension_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/price_extension_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/price_extension_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PriceExtensionTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/price_extension_type.proto // Proto file describing price extension type. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/price_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v14/enums/price_placeholder_field.proto index 7eeab1597..de0a75bda 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/price_placeholder_field.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/price_placeholder_field.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/price_placeholder_field.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/price_placeholder_field.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/price_placeholder_field.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PricePlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/price_placeholder_field.proto // Proto file describing Price placeholder fields. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/product_bidding_category_level.proto b/third_party/googleapis/google/ads/googleads/v14/enums/product_bidding_category_level.proto index 8d0a35597..c3c178e2c 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/product_bidding_category_level.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/product_bidding_category_level.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/product_bidding_category_level.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/product_bidding_category_level.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/product_bidding_category_level.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ProductBiddingCategoryLevelProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/product_bidding_category_level.proto // Level of a product bidding category. message ProductBiddingCategoryLevelEnum { diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/product_bidding_category_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/product_bidding_category_status.proto index 3a4a9cbda..21c31af63 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/product_bidding_category_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/product_bidding_category_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/product_bidding_category_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/product_bidding_category_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/product_bidding_category_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ProductBiddingCategoryStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/product_bidding_category_status.proto // Proto file describing bidding schemes. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/product_channel.proto b/third_party/googleapis/google/ads/googleads/v14/enums/product_channel.proto index 55adf978d..3dc0ffc25 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/product_channel.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/product_channel.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/product_channel.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/product_channel.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/product_channel.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ProductChannelProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/product_channel.proto // Proto file describing bidding schemes. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/product_channel_exclusivity.proto b/third_party/googleapis/google/ads/googleads/v14/enums/product_channel_exclusivity.proto index a26389e53..c30084525 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/product_channel_exclusivity.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/product_channel_exclusivity.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/product_channel_exclusivity.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/product_channel_exclusivity.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/product_channel_exclusivity.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ProductChannelExclusivityProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/product_channel_exclusivity.proto // Proto file describing bidding schemes. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/product_condition.proto b/third_party/googleapis/google/ads/googleads/v14/enums/product_condition.proto index fb571fe62..403cbea75 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/product_condition.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/product_condition.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/product_condition.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/product_condition.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/product_condition.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ProductConditionProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/product_condition.proto // Proto file describing bidding schemes. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/product_custom_attribute_index.proto b/third_party/googleapis/google/ads/googleads/v14/enums/product_custom_attribute_index.proto index 84983a55a..e01fa4fb3 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/product_custom_attribute_index.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/product_custom_attribute_index.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/product_custom_attribute_index.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/product_custom_attribute_index.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/product_custom_attribute_index.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ProductCustomAttributeIndexProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/product_custom_attribute_index.proto // Proto file describing product custom attributes. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/product_type_level.proto b/third_party/googleapis/google/ads/googleads/v14/enums/product_type_level.proto index 6f99142a1..ff247acbf 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/product_type_level.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/product_type_level.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/product_type_level.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/product_type_level.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/product_type_level.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ProductTypeLevelProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/product_type_level.proto // Proto file describing bidding schemes. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/promotion_extension_discount_modifier.proto b/third_party/googleapis/google/ads/googleads/v14/enums/promotion_extension_discount_modifier.proto index 0c7450c74..d4a2e17d5 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/promotion_extension_discount_modifier.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/promotion_extension_discount_modifier.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/promotion_extension_discount_modifier.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/promotion_extension_discount_modifier.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/promotion_extension_discount_modifier.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PromotionExtensionDiscountModifierProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/promotion_extension_discount_modifier.proto // Proto file describing promotion extension discount modifier. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/promotion_extension_occasion.proto b/third_party/googleapis/google/ads/googleads/v14/enums/promotion_extension_occasion.proto index 642995ca8..6d51f3167 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/promotion_extension_occasion.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/promotion_extension_occasion.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/promotion_extension_occasion.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/promotion_extension_occasion.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/promotion_extension_occasion.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PromotionExtensionOccasionProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/promotion_extension_occasion.proto // Proto file describing promotion extension occasion. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/promotion_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v14/enums/promotion_placeholder_field.proto index 0715a39f2..0dd31dd19 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/promotion_placeholder_field.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/promotion_placeholder_field.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/promotion_placeholder_field.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/promotion_placeholder_field.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/promotion_placeholder_field.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PromotionPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/promotion_placeholder_field.proto // Proto file describing Promotion placeholder fields. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/proximity_radius_units.proto b/third_party/googleapis/google/ads/googleads/v14/enums/proximity_radius_units.proto index d210f311a..58c1f88da 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/proximity_radius_units.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/proximity_radius_units.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/proximity_radius_units.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/proximity_radius_units.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/proximity_radius_units.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ProximityRadiusUnitsProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/proximity_radius_units.proto // Proto file describing proximity radius units. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/quality_score_bucket.proto b/third_party/googleapis/google/ads/googleads/v14/enums/quality_score_bucket.proto index 1ca7b5652..4b4e9504c 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/quality_score_bucket.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/quality_score_bucket.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/quality_score_bucket.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/quality_score_bucket.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/quality_score_bucket.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "QualityScoreBucketProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/quality_score_bucket.proto // Proto file describing quality score buckets. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/reach_plan_age_range.proto b/third_party/googleapis/google/ads/googleads/v14/enums/reach_plan_age_range.proto index 96d22b0af..3a2938294 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/reach_plan_age_range.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/reach_plan_age_range.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/reach_plan_age_range.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/reach_plan_age_range.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/reach_plan_age_range.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ReachPlanAgeRangeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/reach_plan_age_range.proto // Proto file describing a plannable age range. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/reach_plan_network.proto b/third_party/googleapis/google/ads/googleads/v14/enums/reach_plan_network.proto index a7865121b..c8b0c1343 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/reach_plan_network.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/reach_plan_network.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/reach_plan_network.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/reach_plan_network.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/reach_plan_network.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ReachPlanNetworkProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/reach_plan_network.proto // Proto file describing a plannable network. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/real_estate_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v14/enums/real_estate_placeholder_field.proto index 4834d50b9..6ebf27aa1 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/real_estate_placeholder_field.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/real_estate_placeholder_field.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/real_estate_placeholder_field.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/real_estate_placeholder_field.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/real_estate_placeholder_field.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "RealEstatePlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/real_estate_placeholder_field.proto // Proto file describing Real Estate placeholder fields. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/resource_change_operation.proto b/third_party/googleapis/google/ads/googleads/v14/enums/resource_change_operation.proto index af88b48bd..11ceab1f8 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/resource_change_operation.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/resource_change_operation.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/resource_change_operation.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/resource_change_operation.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/resource_change_operation.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ResourceChangeOperationProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/resource_change_operation.proto // Proto file describing the resource change operations in change event. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/resource_limit_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/resource_limit_type.proto index f684296b4..9a5cad583 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/resource_limit_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/resource_limit_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/resource_limit_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/resource_limit_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/resource_limit_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ResourceLimitTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/resource_limit_type.proto // Container for enum describing possible resource limit types. message ResourceLimitTypeEnum { @@ -378,15 +361,12 @@ message ResourceLimitTypeEnum { // Number of ENABLED assets per dynamic jobs asset set. ASSETS_PER_DYNAMIC_JOBS_ASSET_SET = 174; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/resource_limit_type.proto -======== // Number of ENABLED business name CampaignAssets per campaign. BUSINESS_NAME_CAMPAIGN_ASSETS_PER_CAMPAIGN = 179; // Number of ENABLED business logo CampaignAssets per campaign. BUSINESS_LOGO_CAMPAIGN_ASSETS_PER_CAMPAIGN = 180; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/resource_limit_type.proto // Number of versions per ad. VERSIONS_PER_AD = 82; diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/response_content_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/response_content_type.proto index d5eb3e56c..97cfade39 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/response_content_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/response_content_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/response_content_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/response_content_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/response_content_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ResponseContentTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/response_content_type.proto // Proto file describing the response content types used in mutate operations. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/search_engine_results_page_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/search_engine_results_page_type.proto index e5dbe0875..40ca356b6 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/search_engine_results_page_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/search_engine_results_page_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/search_engine_results_page_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/search_engine_results_page_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/search_engine_results_page_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SearchEngineResultsPageTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/search_engine_results_page_type.proto // Proto file describing search engine results page types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/search_term_match_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/search_term_match_type.proto index 5c721fc4f..d51c5d81d 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/search_term_match_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/search_term_match_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/search_term_match_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/search_term_match_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/search_term_match_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SearchTermMatchTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/search_term_match_type.proto // Proto file describing search term match types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/search_term_targeting_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/search_term_targeting_status.proto index 5e41ad0e2..58e1b559d 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/search_term_targeting_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/search_term_targeting_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/search_term_targeting_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/search_term_targeting_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/search_term_targeting_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SearchTermTargetingStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/search_term_targeting_status.proto // Proto file describing search term targeting statuses. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/seasonality_event_scope.proto b/third_party/googleapis/google/ads/googleads/v14/enums/seasonality_event_scope.proto index edbd3d0f1..3b710836f 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/seasonality_event_scope.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/seasonality_event_scope.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/seasonality_event_scope.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/seasonality_event_scope.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/seasonality_event_scope.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SeasonalityEventScopeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/seasonality_event_scope.proto // Proto file describing seasonality event status. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/seasonality_event_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/seasonality_event_status.proto index 45455c550..92861979c 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/seasonality_event_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/seasonality_event_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/seasonality_event_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/seasonality_event_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/seasonality_event_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SeasonalityEventStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/seasonality_event_status.proto // Proto file describing seasonality event status. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/served_asset_field_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/served_asset_field_type.proto index bd82c03b2..4110692ed 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/served_asset_field_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/served_asset_field_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/served_asset_field_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/served_asset_field_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/served_asset_field_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ServedAssetFieldTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/served_asset_field_type.proto // Proto file describing policy review statuses. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/shared_set_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/shared_set_status.proto index 7ffadf9e2..dfee8ba06 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/shared_set_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/shared_set_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/shared_set_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/shared_set_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/shared_set_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SharedSetStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/shared_set_status.proto // Proto file describing shared set statuses. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/shared_set_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/shared_set_type.proto index 4611173d8..4f5d0f1cf 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/shared_set_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/shared_set_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/shared_set_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SharedSetTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/shared_set_type.proto // Proto file describing shared set types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/simulation_modification_method.proto b/third_party/googleapis/google/ads/googleads/v14/enums/simulation_modification_method.proto index 2c7b126fb..ef06e9358 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/simulation_modification_method.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/simulation_modification_method.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/simulation_modification_method.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/simulation_modification_method.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/simulation_modification_method.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SimulationModificationMethodProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/simulation_modification_method.proto // Proto file describing simulation modification methods. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/simulation_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/simulation_type.proto index 9f436b9c8..c6e5b5c08 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/simulation_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/simulation_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/simulation_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/simulation_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/simulation_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SimulationTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/simulation_type.proto // Proto file describing simulation types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/sitelink_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v14/enums/sitelink_placeholder_field.proto index abf0d5309..346e8a2eb 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/sitelink_placeholder_field.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/sitelink_placeholder_field.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/sitelink_placeholder_field.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/sitelink_placeholder_field.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/sitelink_placeholder_field.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SitelinkPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/sitelink_placeholder_field.proto // Proto file describing Sitelink placeholder fields. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/slot.proto b/third_party/googleapis/google/ads/googleads/v14/enums/slot.proto index b6a2c5e85..4b541e006 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/slot.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/slot.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/slot.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/slot.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/slot.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SlotProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/slot.proto // Proto file describing slots. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/spending_limit_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/spending_limit_type.proto index 0af0b7671..80ca5eb5f 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/spending_limit_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/spending_limit_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/spending_limit_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/spending_limit_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/spending_limit_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SpendingLimitTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/spending_limit_type.proto // Proto file describing SpendingLimit types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/structured_snippet_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v14/enums/structured_snippet_placeholder_field.proto index 01667d320..26170e409 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/structured_snippet_placeholder_field.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/structured_snippet_placeholder_field.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/structured_snippet_placeholder_field.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/structured_snippet_placeholder_field.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/structured_snippet_placeholder_field.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "StructuredSnippetPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/structured_snippet_placeholder_field.proto // Proto file describing Structured Snippet placeholder fields. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/summary_row_setting.proto b/third_party/googleapis/google/ads/googleads/v14/enums/summary_row_setting.proto index 1ade1dce3..161ce047d 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/summary_row_setting.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/summary_row_setting.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/summary_row_setting.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/summary_row_setting.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/summary_row_setting.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SummaryRowSettingProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/summary_row_setting.proto // Proto file describing summary row setting. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/system_managed_entity_source.proto b/third_party/googleapis/google/ads/googleads/v14/enums/system_managed_entity_source.proto index 7105c0459..142dbb19e 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/system_managed_entity_source.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/system_managed_entity_source.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/system_managed_entity_source.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/system_managed_entity_source.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/system_managed_entity_source.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SystemManagedEntitySourceProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/system_managed_entity_source.proto // Proto file describing system managed entity sources. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/target_cpa_opt_in_recommendation_goal.proto b/third_party/googleapis/google/ads/googleads/v14/enums/target_cpa_opt_in_recommendation_goal.proto index 5fb5d0330..80b50291e 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/target_cpa_opt_in_recommendation_goal.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/target_cpa_opt_in_recommendation_goal.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/target_cpa_opt_in_recommendation_goal.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/target_cpa_opt_in_recommendation_goal.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/target_cpa_opt_in_recommendation_goal.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "TargetCpaOptInRecommendationGoalProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/target_cpa_opt_in_recommendation_goal.proto // Proto file describing TargetCpaOptIn recommendation goals. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/target_impression_share_location.proto b/third_party/googleapis/google/ads/googleads/v14/enums/target_impression_share_location.proto index 2b4dbbdbf..31c396c7c 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/target_impression_share_location.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/target_impression_share_location.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/target_impression_share_location.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/target_impression_share_location.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/target_impression_share_location.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "TargetImpressionShareLocationProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/target_impression_share_location.proto // Proto file describing target impression share goal. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/targeting_dimension.proto b/third_party/googleapis/google/ads/googleads/v14/enums/targeting_dimension.proto index 200cd44ba..0eab0536a 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/targeting_dimension.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/targeting_dimension.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/targeting_dimension.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/targeting_dimension.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/targeting_dimension.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "TargetingDimensionProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/targeting_dimension.proto // Proto file describing criteria types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/time_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/time_type.proto index 3d73d75ab..e4e3d35eb 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/time_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/time_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/time_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/time_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/time_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "TimeTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/time_type.proto // Proto file describing TimeType types. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/tracking_code_page_format.proto b/third_party/googleapis/google/ads/googleads/v14/enums/tracking_code_page_format.proto index 0c8846d28..fc8775471 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/tracking_code_page_format.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/tracking_code_page_format.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/tracking_code_page_format.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/tracking_code_page_format.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/tracking_code_page_format.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "TrackingCodePageFormatProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/tracking_code_page_format.proto // Container for enum describing the format of the web page where the tracking // tag and snippet will be installed. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/tracking_code_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/tracking_code_type.proto index 9d7db9a5b..e4e6bac74 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/tracking_code_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/tracking_code_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/tracking_code_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/tracking_code_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/tracking_code_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "TrackingCodeTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/tracking_code_type.proto // Container for enum describing the type of the generated tag snippets for // tracking conversions. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/travel_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v14/enums/travel_placeholder_field.proto index 52d4164af..30b53108b 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/travel_placeholder_field.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/travel_placeholder_field.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/travel_placeholder_field.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/travel_placeholder_field.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/travel_placeholder_field.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "TravelPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/travel_placeholder_field.proto // Proto file describing Travel placeholder fields. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/user_identifier_source.proto b/third_party/googleapis/google/ads/googleads/v14/enums/user_identifier_source.proto index 2ad723553..cfd640731 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/user_identifier_source.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/user_identifier_source.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/user_identifier_source.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/user_identifier_source.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/user_identifier_source.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserIdentifierSourceProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/user_identifier_source.proto // Proto file describing user identifier source diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/user_interest_taxonomy_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/user_interest_taxonomy_type.proto index d71dc22b9..9465b99ed 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/user_interest_taxonomy_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/user_interest_taxonomy_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/user_interest_taxonomy_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/user_interest_taxonomy_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/user_interest_taxonomy_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserInterestTaxonomyTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/user_interest_taxonomy_type.proto // Proto file describing the UserInterest taxonomy type diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/user_list_access_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/user_list_access_status.proto index 618fbad28..97fb4db8e 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/user_list_access_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/user_list_access_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/user_list_access_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/user_list_access_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/user_list_access_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListAccessStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/user_list_access_status.proto // Proto file describing user list access status. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/user_list_closing_reason.proto b/third_party/googleapis/google/ads/googleads/v14/enums/user_list_closing_reason.proto index eb21fa764..75061c380 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/user_list_closing_reason.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/user_list_closing_reason.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/user_list_closing_reason.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/user_list_closing_reason.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/user_list_closing_reason.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListClosingReasonProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/user_list_closing_reason.proto // Proto file describing user list closing reason. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/user_list_crm_data_source_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/user_list_crm_data_source_type.proto index 1d161319a..a01e1043f 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/user_list_crm_data_source_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/user_list_crm_data_source_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/user_list_crm_data_source_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/user_list_crm_data_source_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/user_list_crm_data_source_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListCrmDataSourceTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/user_list_crm_data_source_type.proto // Indicates source of Crm upload data. message UserListCrmDataSourceTypeEnum { diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/user_list_date_rule_item_operator.proto b/third_party/googleapis/google/ads/googleads/v14/enums/user_list_date_rule_item_operator.proto index 0f55dbd78..4503ec0f1 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/user_list_date_rule_item_operator.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/user_list_date_rule_item_operator.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/user_list_date_rule_item_operator.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/user_list_date_rule_item_operator.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/user_list_date_rule_item_operator.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListDateRuleItemOperatorProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/user_list_date_rule_item_operator.proto // Supported rule operator for date type. message UserListDateRuleItemOperatorEnum { diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/user_list_flexible_rule_operator.proto b/third_party/googleapis/google/ads/googleads/v14/enums/user_list_flexible_rule_operator.proto index 32d498789..084bd4107 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/user_list_flexible_rule_operator.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/user_list_flexible_rule_operator.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/user_list_combined_rule_operator.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/user_list_flexible_rule_operator.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/user_list_combined_rule_operator.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListCombinedRuleOperatorProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/user_list_flexible_rule_operator.proto // Logical operator connecting two rules. message UserListFlexibleRuleOperatorEnum { diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/user_list_logical_rule_operator.proto b/third_party/googleapis/google/ads/googleads/v14/enums/user_list_logical_rule_operator.proto index 2f6ed9fc9..c985e5f94 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/user_list_logical_rule_operator.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/user_list_logical_rule_operator.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/user_list_logical_rule_operator.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/user_list_logical_rule_operator.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/user_list_logical_rule_operator.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListLogicalRuleOperatorProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/user_list_logical_rule_operator.proto // The logical operator of the rule. message UserListLogicalRuleOperatorEnum { diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/user_list_membership_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/user_list_membership_status.proto index f5e715742..3daf54d31 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/user_list_membership_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/user_list_membership_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/user_list_membership_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/user_list_membership_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/user_list_membership_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListMembershipStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/user_list_membership_status.proto // Proto file describing user list membership status. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/user_list_number_rule_item_operator.proto b/third_party/googleapis/google/ads/googleads/v14/enums/user_list_number_rule_item_operator.proto index 9067ba4cc..8917538c1 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/user_list_number_rule_item_operator.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/user_list_number_rule_item_operator.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/user_list_number_rule_item_operator.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/user_list_number_rule_item_operator.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/user_list_number_rule_item_operator.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListNumberRuleItemOperatorProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/user_list_number_rule_item_operator.proto // Supported rule operator for number type. message UserListNumberRuleItemOperatorEnum { diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/user_list_prepopulation_status.proto b/third_party/googleapis/google/ads/googleads/v14/enums/user_list_prepopulation_status.proto index 40a3e254b..cd3738c65 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/user_list_prepopulation_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/user_list_prepopulation_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/user_list_prepopulation_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/user_list_prepopulation_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/user_list_prepopulation_status.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListPrepopulationStatusProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/user_list_prepopulation_status.proto // Indicates status of prepopulation based on the rule. message UserListPrepopulationStatusEnum { diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/user_list_rule_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/user_list_rule_type.proto index ad9447ee1..5c9102d1d 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/user_list_rule_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/user_list_rule_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/user_list_rule_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/user_list_rule_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/user_list_rule_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListRuleTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/user_list_rule_type.proto // Rule based user list rule type. message UserListRuleTypeEnum { diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/user_list_size_range.proto b/third_party/googleapis/google/ads/googleads/v14/enums/user_list_size_range.proto index d17206ddd..eddffdcd2 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/user_list_size_range.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/user_list_size_range.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/user_list_size_range.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/user_list_size_range.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/user_list_size_range.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListSizeRangeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/user_list_size_range.proto // Proto file describing user list size range. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/user_list_string_rule_item_operator.proto b/third_party/googleapis/google/ads/googleads/v14/enums/user_list_string_rule_item_operator.proto index 13174b8ce..66a7e9c41 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/user_list_string_rule_item_operator.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/user_list_string_rule_item_operator.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/user_list_string_rule_item_operator.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/user_list_string_rule_item_operator.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/user_list_string_rule_item_operator.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListStringRuleItemOperatorProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/user_list_string_rule_item_operator.proto // Supported rule operator for string type. message UserListStringRuleItemOperatorEnum { diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/user_list_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/user_list_type.proto index 97fde4f46..439103f23 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/user_list_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/user_list_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/user_list_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/user_list_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/user_list_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/user_list_type.proto // Proto file describing user list type. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/value_rule_device_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/value_rule_device_type.proto index fafc246bb..338617f1b 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/value_rule_device_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/value_rule_device_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/value_rule_device_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/value_rule_device_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/value_rule_device_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ValueRuleDeviceTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/value_rule_device_type.proto // Proto file describing conversion value rule device type. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/value_rule_geo_location_match_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/value_rule_geo_location_match_type.proto index 247c101ee..ab3a61c83 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/value_rule_geo_location_match_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/value_rule_geo_location_match_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/value_rule_geo_location_match_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/value_rule_geo_location_match_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/value_rule_geo_location_match_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ValueRuleGeoLocationMatchTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/value_rule_geo_location_match_type.proto // Proto file describing conversion value rule geo location match type. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/value_rule_operation.proto b/third_party/googleapis/google/ads/googleads/v14/enums/value_rule_operation.proto index f9d74f0ff..621108964 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/value_rule_operation.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/value_rule_operation.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/value_rule_operation.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/value_rule_operation.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/value_rule_operation.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ValueRuleOperationProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/value_rule_operation.proto // Proto file describing conversion value rule operation. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/value_rule_set_attachment_type.proto b/third_party/googleapis/google/ads/googleads/v14/enums/value_rule_set_attachment_type.proto index 5c21e868f..a83b229e7 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/value_rule_set_attachment_type.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/value_rule_set_attachment_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/value_rule_set_attachment_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/value_rule_set_attachment_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/value_rule_set_attachment_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ValueRuleSetAttachmentTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/value_rule_set_attachment_type.proto // Proto file describing where the conversion value rule is attached. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/value_rule_set_dimension.proto b/third_party/googleapis/google/ads/googleads/v14/enums/value_rule_set_dimension.proto index c1783ff27..f34bcb487 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/value_rule_set_dimension.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/value_rule_set_dimension.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/value_rule_set_dimension.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/value_rule_set_dimension.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/value_rule_set_dimension.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ValueRuleSetDimensionProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/value_rule_set_dimension.proto // Proto file describing conversion value rule set dimension. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/vanity_pharma_display_url_mode.proto b/third_party/googleapis/google/ads/googleads/v14/enums/vanity_pharma_display_url_mode.proto index 7f3ca6902..e06701566 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/vanity_pharma_display_url_mode.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/vanity_pharma_display_url_mode.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/vanity_pharma_display_url_mode.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/vanity_pharma_display_url_mode.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/vanity_pharma_display_url_mode.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "VanityPharmaDisplayUrlModeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/vanity_pharma_display_url_mode.proto // Proto file describing vanity pharma display url modes. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/vanity_pharma_text.proto b/third_party/googleapis/google/ads/googleads/v14/enums/vanity_pharma_text.proto index c631d5fc2..e05649551 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/vanity_pharma_text.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/vanity_pharma_text.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/vanity_pharma_text.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/vanity_pharma_text.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/vanity_pharma_text.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "VanityPharmaTextProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/vanity_pharma_text.proto // Proto file describing vanity pharma texts. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/video_thumbnail.proto b/third_party/googleapis/google/ads/googleads/v14/enums/video_thumbnail.proto index 9616d5667..c32365129 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/video_thumbnail.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/video_thumbnail.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/video_thumbnail.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/video_thumbnail.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/video_thumbnail.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "VideoThumbnailProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/video_thumbnail.proto // Proto file describing video thumbnails. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/webpage_condition_operand.proto b/third_party/googleapis/google/ads/googleads/v14/enums/webpage_condition_operand.proto index ee0663c97..7f33b6d25 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/webpage_condition_operand.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/webpage_condition_operand.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/webpage_condition_operand.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/webpage_condition_operand.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/webpage_condition_operand.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "WebpageConditionOperandProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/webpage_condition_operand.proto // Proto file describing webpage condition operand. diff --git a/third_party/googleapis/google/ads/googleads/v14/enums/webpage_condition_operator.proto b/third_party/googleapis/google/ads/googleads/v14/enums/webpage_condition_operator.proto index 216af2c11..21d9174af 100644 --- a/third_party/googleapis/google/ads/googleads/v14/enums/webpage_condition_operator.proto +++ b/third_party/googleapis/google/ads/googleads/v14/enums/webpage_condition_operator.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/webpage_condition_operator.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/webpage_condition_operator.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/webpage_condition_operator.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "WebpageConditionOperatorProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v14.enums; option csharp_namespace = "Google.Ads.GoogleAds.V14.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V14::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/enums/webpage_condition_operator.proto // Proto file describing webpage condition operator. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/BUILD.bazel b/third_party/googleapis/google/ads/googleads/v14/errors/BUILD.bazel index edeff5d84..f4983f4f1 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/BUILD.bazel +++ b/third_party/googleapis/google/ads/googleads/v14/errors/BUILD.bazel @@ -26,13 +26,8 @@ proto_library( name = "errors_proto", srcs = glob(["*.proto"]), deps = [ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/BUILD.bazel - "//google/ads/googleads/v12/common:common_proto", - "//google/ads/googleads/v12/enums:enums_proto", -======== "//google/ads/googleads/v14/common:common_proto", "//google/ads/googleads/v14/enums:enums_proto", ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/BUILD.bazel "//google/api:annotations_proto", "@com_google_protobuf//:duration_proto", "@com_google_protobuf//:wrappers_proto", diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/access_invitation_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/access_invitation_error.proto index 16b5d5df9..646f41082 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/access_invitation_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/access_invitation_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/access_invitation_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/access_invitation_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/access_invitation_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AccessInvitationErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/access_invitation_error.proto // Proto file describing AccessInvitation errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/account_budget_proposal_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/account_budget_proposal_error.proto index 366868d7e..ed5c10d57 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/account_budget_proposal_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/account_budget_proposal_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/account_budget_proposal_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/account_budget_proposal_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/account_budget_proposal_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AccountBudgetProposalErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/account_budget_proposal_error.proto // Proto file describing account budget proposal errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/account_link_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/account_link_error.proto index 83f941e53..1702dda25 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/account_link_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/account_link_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/account_link_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/account_link_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/account_link_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AccountLinkErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/account_link_error.proto // Proto file describing AccountLink errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/ad_customizer_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/ad_customizer_error.proto index 8d7b21064..2183a385b 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/ad_customizer_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/ad_customizer_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/ad_customizer_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/ad_customizer_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/ad_customizer_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdCustomizerErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/ad_customizer_error.proto // Proto file describing ad customizer errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/ad_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/ad_error.proto index 5c2c81689..f5be3eaf1 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/ad_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/ad_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/ad_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/ad_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/ad_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/ad_error.proto // Proto file describing ad errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/ad_group_ad_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/ad_group_ad_error.proto index 8a1cc0e8e..13288af4a 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/ad_group_ad_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/ad_group_ad_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/ad_group_ad_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/ad_group_ad_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/ad_group_ad_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAdErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/ad_group_ad_error.proto // Proto file describing ad group ad errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/ad_group_bid_modifier_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/ad_group_bid_modifier_error.proto index b90876550..2ea690180 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/ad_group_bid_modifier_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/ad_group_bid_modifier_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/ad_group_bid_modifier_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/ad_group_bid_modifier_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/ad_group_bid_modifier_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupBidModifierErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/ad_group_bid_modifier_error.proto // Proto file describing ad group bid modifier errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/ad_group_criterion_customizer_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/ad_group_criterion_customizer_error.proto index c4d3e688d..077eff04e 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/ad_group_criterion_customizer_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/ad_group_criterion_customizer_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/ad_group_criterion_customizer_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/ad_group_criterion_customizer_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/ad_group_criterion_customizer_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionCustomizerErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/ad_group_criterion_customizer_error.proto // Proto file describing ad group criterion customizer errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/ad_group_criterion_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/ad_group_criterion_error.proto index d952cca75..f5311ff9d 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/ad_group_criterion_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/ad_group_criterion_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/ad_group_criterion_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/ad_group_criterion_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/ad_group_criterion_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/ad_group_criterion_error.proto // Proto file describing ad group criterion errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/ad_group_customizer_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/ad_group_customizer_error.proto index ff80dfe74..4c5696321 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/ad_group_customizer_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/ad_group_customizer_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/ad_group_customizer_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/ad_group_customizer_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/ad_group_customizer_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCustomizerErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/ad_group_customizer_error.proto // Proto file describing ad group customizer errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/ad_group_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/ad_group_error.proto index 532826b05..f7143f818 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/ad_group_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/ad_group_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/ad_group_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/ad_group_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/ad_group_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/ad_group_error.proto // Proto file describing ad group errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/ad_group_feed_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/ad_group_feed_error.proto index 3cbeff484..caf7523b2 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/ad_group_feed_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/ad_group_feed_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/ad_group_feed_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/ad_group_feed_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/ad_group_feed_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupFeedErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/ad_group_feed_error.proto // Proto file describing ad group feed errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/ad_parameter_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/ad_parameter_error.proto index 1f9066d9a..72be5f285 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/ad_parameter_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/ad_parameter_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/ad_parameter_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/ad_parameter_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/ad_parameter_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdParameterErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/ad_parameter_error.proto // Proto file describing ad parameter errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/ad_sharing_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/ad_sharing_error.proto index d427f86d7..b231585a9 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/ad_sharing_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/ad_sharing_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/ad_sharing_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/ad_sharing_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/ad_sharing_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdSharingErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/ad_sharing_error.proto // Proto file describing ad sharing errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/adx_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/adx_error.proto index 83724d466..50cf77014 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/adx_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/adx_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/adx_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/adx_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/adx_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdxErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/adx_error.proto // Proto file describing adx errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/asset_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/asset_error.proto index 8d2b6eaa2..4d765b694 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/asset_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/asset_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/asset_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/asset_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/asset_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AssetErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/asset_error.proto // Proto file describing asset errors. @@ -165,14 +148,11 @@ message AssetErrorEnum { // User can not modify the automatically created asset. CANNOT_MODIFY_AUTOMATICALLY_CREATED_ASSET = 36; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/asset_error.proto -======== // Lead Form is disallowed to use "LOCATION" answer type. LEAD_FORM_LOCATION_ANSWER_TYPE_DISALLOWED = 37; // Page Feed label text contains invalid characters. PAGE_FEED_INVALID_LABEL_TEXT = 38; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/asset_error.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/asset_group_asset_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/asset_group_asset_error.proto index 47c8c29b2..17ccbd3b6 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/asset_group_asset_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/asset_group_asset_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/asset_group_asset_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/asset_group_asset_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/asset_group_asset_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupAssetErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/asset_group_asset_error.proto // Proto file describing asset group asset errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/asset_group_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/asset_group_error.proto index 00b098a78..74846f4c7 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/asset_group_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/asset_group_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/asset_group_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/asset_group_error.proto // Proto file describing asset group errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/asset_group_listing_group_filter_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/asset_group_listing_group_filter_error.proto index 3ec3d01d4..7f89c466b 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/asset_group_listing_group_filter_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/asset_group_listing_group_filter_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/asset_group_listing_group_filter_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupListingGroupFilterErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/asset_group_listing_group_filter_error.proto // Proto file describing asset group asset errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/asset_link_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/asset_link_error.proto index 6ff6b3997..549849ae9 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/asset_link_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/asset_link_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/asset_link_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AssetLinkErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/asset_link_error.proto // Proto file describing asset link errors. @@ -123,11 +110,6 @@ message AssetLinkErrorEnum { // Advertiser links cannot link to automatically created asset. CANNOT_LINK_TO_AUTOMATICALLY_CREATED_ASSET = 20; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/asset_link_error.proto - // Automatically created links cannot be changed into adveritser links or - // the reverse. - CANNOT_MODIFY_ASSET_LINK_SOURCE = 21; -======== // Automatically created links cannot be changed into advertiser links or // the reverse. CANNOT_MODIFY_ASSET_LINK_SOURCE = 21; @@ -141,6 +123,5 @@ message AssetLinkErrorEnum { // Call to action value is not supported. UNSUPPORTED_CALL_TO_ACTION = 24; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/asset_link_error.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/asset_set_asset_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/asset_set_asset_error.proto index 5702a5eb5..c88fe8157 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/asset_set_asset_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/asset_set_asset_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/asset_set_asset_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/asset_set_asset_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/asset_set_asset_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetAssetErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/asset_set_asset_error.proto // Proto file describing asset set asset errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/asset_set_link_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/asset_set_link_error.proto index 960388cc1..01a9ca0a0 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/asset_set_link_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/asset_set_link_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/asset_set_link_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/asset_set_link_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/asset_set_link_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetLinkErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/asset_set_link_error.proto // Proto file describing asset set link errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/audience_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/audience_error.proto index e58156e8c..5b71bfb3d 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/audience_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/audience_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/audience_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AudienceErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/audience_error.proto // Proto file describing audience errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/authentication_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/authentication_error.proto index 3451909c5..6ffc4a0b1 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/authentication_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/authentication_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/authentication_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AuthenticationErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/authentication_error.proto // Proto file describing authentication errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/authorization_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/authorization_error.proto index 2eec14c4d..ae53be957 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/authorization_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/authorization_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/authorization_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/authorization_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/authorization_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AuthorizationErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/authorization_error.proto // Proto file describing authorization errors. @@ -105,11 +88,8 @@ message AuthorizationErrorEnum { // The developer does not have access to the metrics queried. METRIC_ACCESS_DENIED = 26; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/authorization_error.proto -======== // The Google Cloud project is not under the required organization. CLOUD_PROJECT_NOT_UNDER_ORGANIZATION = 27; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/authorization_error.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/batch_job_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/batch_job_error.proto index 49b5fb75d..98371f0a8 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/batch_job_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/batch_job_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/batch_job_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "BatchJobErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/batch_job_error.proto // Proto file describing batch job errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/bidding_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/bidding_error.proto index 7e7908588..85d3324fe 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/bidding_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/bidding_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/bidding_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/bidding_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/bidding_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "BiddingErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/bidding_error.proto // Proto file describing bidding errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/bidding_strategy_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/bidding_strategy_error.proto index 99ac62dd5..84bc61c4d 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/bidding_strategy_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/bidding_strategy_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/bidding_strategy_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/bidding_strategy_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/bidding_strategy_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "BiddingStrategyErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/bidding_strategy_error.proto // Proto file describing bidding strategy errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/billing_setup_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/billing_setup_error.proto index b64084d76..c4612a05f 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/billing_setup_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/billing_setup_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/billing_setup_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/billing_setup_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/billing_setup_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "BillingSetupErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/billing_setup_error.proto // Proto file describing billing setup errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/campaign_budget_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/campaign_budget_error.proto index 368ef3f83..810668648 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/campaign_budget_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/campaign_budget_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/campaign_budget_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CampaignBudgetErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/campaign_budget_error.proto // Proto file describing campaign budget errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/campaign_conversion_goal_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/campaign_conversion_goal_error.proto index 22d3aa89e..26ecc5267 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/campaign_conversion_goal_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/campaign_conversion_goal_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/campaign_conversion_goal_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CampaignConversionGoalErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/campaign_conversion_goal_error.proto // Proto file describing campaign conversion goal errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/campaign_criterion_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/campaign_criterion_error.proto index 11655ee86..0bfb93737 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/campaign_criterion_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/campaign_criterion_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/campaign_criterion_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/campaign_criterion_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/campaign_criterion_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CampaignCriterionErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/campaign_criterion_error.proto // Proto file describing campaign criterion errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/campaign_customizer_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/campaign_customizer_error.proto index 29c98a471..4462f95db 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/campaign_customizer_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/campaign_customizer_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/campaign_customizer_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/campaign_customizer_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/campaign_customizer_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CampaignCustomizerErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/campaign_customizer_error.proto // Proto file describing campaign customizer errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/campaign_draft_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/campaign_draft_error.proto index c679bd200..d8ab2ae62 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/campaign_draft_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/campaign_draft_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/campaign_draft_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/campaign_draft_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/campaign_draft_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CampaignDraftErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/campaign_draft_error.proto // Proto file describing campaign draft errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/campaign_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/campaign_error.proto index 612e97a5e..a76abd3e3 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/campaign_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/campaign_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/campaign_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/campaign_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/campaign_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CampaignErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/campaign_error.proto // Proto file describing campaign errors. @@ -293,8 +276,6 @@ message CampaignErrorEnum { // Customer level conversion lag is too high. CONVERSION_LAG_TOO_HIGH = 82; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/campaign_error.proto -======== // The advertiser set as an advertising partner is not an actively linked // advertiser to this customer. @@ -302,6 +283,5 @@ message CampaignErrorEnum { // Invalid number of advertising partner IDs. INVALID_NUMBER_OF_ADVERTISING_PARTNER_IDS = 84; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/campaign_error.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/campaign_experiment_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/campaign_experiment_error.proto index 1a63cccba..e4c17da57 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/campaign_experiment_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/campaign_experiment_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/campaign_experiment_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/campaign_experiment_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/campaign_experiment_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CampaignExperimentErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/campaign_experiment_error.proto // Proto file describing campaign experiment errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/campaign_feed_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/campaign_feed_error.proto index 47ed3aeb9..1c4c022fc 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/campaign_feed_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/campaign_feed_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/campaign_feed_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/campaign_feed_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/campaign_feed_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CampaignFeedErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/campaign_feed_error.proto // Proto file describing campaign feed errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/campaign_shared_set_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/campaign_shared_set_error.proto index 648632173..a268c13f9 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/campaign_shared_set_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/campaign_shared_set_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/campaign_shared_set_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/campaign_shared_set_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/campaign_shared_set_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CampaignSharedSetErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/campaign_shared_set_error.proto // Proto file describing campaign shared set errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/change_event_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/change_event_error.proto index 3c9c6004f..b2d377788 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/change_event_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/change_event_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/change_event_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/change_event_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/change_event_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ChangeEventErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/change_event_error.proto // Proto file describing change event errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/change_status_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/change_status_error.proto index e569cac60..adbaaff33 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/change_status_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/change_status_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/change_status_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/change_status_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/change_status_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ChangeStatusErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/change_status_error.proto // Proto file describing change status errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/collection_size_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/collection_size_error.proto index 98c02d589..a5d1b6cdf 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/collection_size_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/collection_size_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/collection_size_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/collection_size_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/collection_size_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CollectionSizeErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/collection_size_error.proto // Proto file describing collection size errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/context_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/context_error.proto index d679fba57..213300c5f 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/context_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/context_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/context_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/context_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/context_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ContextErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/context_error.proto // Proto file describing context errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/conversion_action_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/conversion_action_error.proto index 44371e675..b34ae870d 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/conversion_action_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/conversion_action_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/conversion_action_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ConversionActionErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/conversion_action_error.proto // Proto file describing conversion action errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/conversion_custom_variable_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/conversion_custom_variable_error.proto index 7539e8e81..436328547 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/conversion_custom_variable_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/conversion_custom_variable_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/conversion_custom_variable_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/conversion_custom_variable_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/conversion_custom_variable_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ConversionCustomVariableErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/conversion_custom_variable_error.proto // Proto file describing conversion custom variable errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/conversion_goal_campaign_config_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/conversion_goal_campaign_config_error.proto index 454d156fa..f8653d57e 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/conversion_goal_campaign_config_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/conversion_goal_campaign_config_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/conversion_goal_campaign_config_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ConversionGoalCampaignConfigErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/conversion_goal_campaign_config_error.proto // Proto file describing conversion goal campaign config errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/conversion_value_rule_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/conversion_value_rule_error.proto index 73c7c7d16..86b2cbf73 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/conversion_value_rule_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/conversion_value_rule_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/conversion_value_rule_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/conversion_value_rule_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/conversion_value_rule_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ConversionValueRuleErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/conversion_value_rule_error.proto // Proto file describing conversion value rule errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/conversion_value_rule_set_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/conversion_value_rule_set_error.proto index 13a4e5f69..ae91f51fb 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/conversion_value_rule_set_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/conversion_value_rule_set_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/conversion_value_rule_set_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/conversion_value_rule_set_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/conversion_value_rule_set_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ConversionValueRuleSetErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/conversion_value_rule_set_error.proto // Proto file describing conversion value rule set errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/country_code_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/country_code_error.proto index 1ff9e90f2..9c5ae43db 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/country_code_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/country_code_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/country_code_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/country_code_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/country_code_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CountryCodeErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/country_code_error.proto // Proto file describing country code errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/criterion_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/criterion_error.proto index e490258ee..61dd332d5 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/criterion_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/criterion_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/criterion_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CriterionErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/criterion_error.proto // Proto file describing criterion errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/currency_code_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/currency_code_error.proto index a816665ef..20f9b53c4 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/currency_code_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/currency_code_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/currency_code_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/currency_code_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/currency_code_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CurrencyCodeErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/currency_code_error.proto // Proto file describing currency code errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/custom_audience_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/custom_audience_error.proto index 6c6a3f732..bf8ff78f0 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/custom_audience_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/custom_audience_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/custom_audience_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/custom_audience_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/custom_audience_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomAudienceErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/custom_audience_error.proto // Proto file describing custom audience errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/custom_conversion_goal_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/custom_conversion_goal_error.proto index c559fa332..d110b5074 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/custom_conversion_goal_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/custom_conversion_goal_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/custom_conversion_goal_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/custom_conversion_goal_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/custom_conversion_goal_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomConversionGoalErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/custom_conversion_goal_error.proto // Proto file describing CustomConversionGoal errors. @@ -70,12 +53,9 @@ message CustomConversionGoalErrorEnum { // Custom goal with the same conversion action list already exists. DUPLICATE_CONVERSION_ACTION_LIST = 6; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/custom_conversion_goal_error.proto -======== // Conversion types that cannot be biddable should not be included in custom // goal. NON_BIDDABLE_CONVERSION_ACTION_NOT_ELIGIBLE_FOR_CUSTOM_GOAL = 7; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/custom_conversion_goal_error.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/custom_interest_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/custom_interest_error.proto index 69a2ab184..a1e0f1a35 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/custom_interest_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/custom_interest_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/custom_interest_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/custom_interest_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/custom_interest_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomInterestErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/custom_interest_error.proto // Proto file describing custom interest errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/customer_client_link_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/customer_client_link_error.proto index c43328115..b77092b61 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/customer_client_link_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/customer_client_link_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/customer_client_link_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/customer_client_link_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/customer_client_link_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomerClientLinkErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/customer_client_link_error.proto // Proto file describing CustomerClientLink errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/customer_customizer_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/customer_customizer_error.proto index d3dabfd59..55194a43c 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/customer_customizer_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/customer_customizer_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/customer_customizer_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/customer_customizer_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/customer_customizer_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomerCustomizerErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/customer_customizer_error.proto // Proto file describing customer customizer errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/customer_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/customer_error.proto index 21a5deb8b..103b2ba67 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/customer_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/customer_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/customer_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/customer_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/customer_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomerErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/customer_error.proto // Container for enum describing possible customer errors. message CustomerErrorEnum { diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/customer_feed_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/customer_feed_error.proto index b06521afc..25a08e28e 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/customer_feed_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/customer_feed_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/customer_feed_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/customer_feed_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/customer_feed_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomerFeedErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/customer_feed_error.proto // Proto file describing customer feed errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/customer_manager_link_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/customer_manager_link_error.proto index c289b201e..17a62f9c5 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/customer_manager_link_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/customer_manager_link_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/customer_manager_link_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/customer_manager_link_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/customer_manager_link_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomerManagerLinkErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/customer_manager_link_error.proto // Proto file describing CustomerManagerLink errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/customer_user_access_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/customer_user_access_error.proto index 5687ca509..398d554f4 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/customer_user_access_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/customer_user_access_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/customer_user_access_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/customer_user_access_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/customer_user_access_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomerUserAccessErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/customer_user_access_error.proto // Proto file describing CustomerUserAccess errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/customizer_attribute_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/customizer_attribute_error.proto index af95a7f85..2037f29ba 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/customizer_attribute_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/customizer_attribute_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/customizer_attribute_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/customizer_attribute_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/customizer_attribute_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomizerAttributeErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/customizer_attribute_error.proto // Proto file describing customizer attribute errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/database_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/database_error.proto index e6a84123f..d9517642b 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/database_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/database_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/database_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/database_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/database_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "DatabaseErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/database_error.proto // Proto file describing database errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/date_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/date_error.proto index e693f0e22..fb4a3e19b 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/date_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/date_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/date_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/date_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/date_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "DateErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/date_error.proto // Proto file describing date errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/date_range_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/date_range_error.proto index 2f7f284b0..59bc9cd8d 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/date_range_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/date_range_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/date_range_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/date_range_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/date_range_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "DateRangeErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/date_range_error.proto // Proto file describing date range errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/distinct_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/distinct_error.proto index 43499bfef..65666fbab 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/distinct_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/distinct_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/distinct_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/distinct_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/distinct_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "DistinctErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/distinct_error.proto // Proto file describing distinct errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/enum_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/enum_error.proto index 10714a44c..8599f67d2 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/enum_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/enum_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/enum_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/enum_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/enum_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "EnumErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/enum_error.proto // Proto file describing enum errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/errors.proto b/third_party/googleapis/google/ads/googleads/v14/errors/errors.proto index 55fb566a8..a543d1b39 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/errors.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/errors.proto @@ -14,164 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/errors.proto -package google.ads.googleads.v12.errors; - -import "google/ads/googleads/v12/common/policy.proto"; -import "google/ads/googleads/v12/common/value.proto"; -import "google/ads/googleads/v12/enums/resource_limit_type.proto"; -import "google/ads/googleads/v12/errors/access_invitation_error.proto"; -import "google/ads/googleads/v12/errors/account_budget_proposal_error.proto"; -import "google/ads/googleads/v12/errors/account_link_error.proto"; -import "google/ads/googleads/v12/errors/ad_customizer_error.proto"; -import "google/ads/googleads/v12/errors/ad_error.proto"; -import "google/ads/googleads/v12/errors/ad_group_ad_error.proto"; -import "google/ads/googleads/v12/errors/ad_group_bid_modifier_error.proto"; -import "google/ads/googleads/v12/errors/ad_group_criterion_customizer_error.proto"; -import "google/ads/googleads/v12/errors/ad_group_criterion_error.proto"; -import "google/ads/googleads/v12/errors/ad_group_customizer_error.proto"; -import "google/ads/googleads/v12/errors/ad_group_error.proto"; -import "google/ads/googleads/v12/errors/ad_group_feed_error.proto"; -import "google/ads/googleads/v12/errors/ad_parameter_error.proto"; -import "google/ads/googleads/v12/errors/ad_sharing_error.proto"; -import "google/ads/googleads/v12/errors/adx_error.proto"; -import "google/ads/googleads/v12/errors/asset_error.proto"; -import "google/ads/googleads/v12/errors/asset_group_asset_error.proto"; -import "google/ads/googleads/v12/errors/asset_group_error.proto"; -import "google/ads/googleads/v12/errors/asset_group_listing_group_filter_error.proto"; -import "google/ads/googleads/v12/errors/asset_link_error.proto"; -import "google/ads/googleads/v12/errors/asset_set_asset_error.proto"; -import "google/ads/googleads/v12/errors/asset_set_error.proto"; -import "google/ads/googleads/v12/errors/asset_set_link_error.proto"; -import "google/ads/googleads/v12/errors/audience_error.proto"; -import "google/ads/googleads/v12/errors/audience_insights_error.proto"; -import "google/ads/googleads/v12/errors/authentication_error.proto"; -import "google/ads/googleads/v12/errors/authorization_error.proto"; -import "google/ads/googleads/v12/errors/batch_job_error.proto"; -import "google/ads/googleads/v12/errors/bidding_error.proto"; -import "google/ads/googleads/v12/errors/bidding_strategy_error.proto"; -import "google/ads/googleads/v12/errors/billing_setup_error.proto"; -import "google/ads/googleads/v12/errors/campaign_budget_error.proto"; -import "google/ads/googleads/v12/errors/campaign_conversion_goal_error.proto"; -import "google/ads/googleads/v12/errors/campaign_criterion_error.proto"; -import "google/ads/googleads/v12/errors/campaign_customizer_error.proto"; -import "google/ads/googleads/v12/errors/campaign_draft_error.proto"; -import "google/ads/googleads/v12/errors/campaign_error.proto"; -import "google/ads/googleads/v12/errors/campaign_experiment_error.proto"; -import "google/ads/googleads/v12/errors/campaign_feed_error.proto"; -import "google/ads/googleads/v12/errors/campaign_shared_set_error.proto"; -import "google/ads/googleads/v12/errors/change_event_error.proto"; -import "google/ads/googleads/v12/errors/change_status_error.proto"; -import "google/ads/googleads/v12/errors/collection_size_error.proto"; -import "google/ads/googleads/v12/errors/context_error.proto"; -import "google/ads/googleads/v12/errors/conversion_action_error.proto"; -import "google/ads/googleads/v12/errors/conversion_adjustment_upload_error.proto"; -import "google/ads/googleads/v12/errors/conversion_custom_variable_error.proto"; -import "google/ads/googleads/v12/errors/conversion_goal_campaign_config_error.proto"; -import "google/ads/googleads/v12/errors/conversion_upload_error.proto"; -import "google/ads/googleads/v12/errors/conversion_value_rule_error.proto"; -import "google/ads/googleads/v12/errors/conversion_value_rule_set_error.proto"; -import "google/ads/googleads/v12/errors/country_code_error.proto"; -import "google/ads/googleads/v12/errors/criterion_error.proto"; -import "google/ads/googleads/v12/errors/currency_code_error.proto"; -import "google/ads/googleads/v12/errors/custom_audience_error.proto"; -import "google/ads/googleads/v12/errors/custom_conversion_goal_error.proto"; -import "google/ads/googleads/v12/errors/custom_interest_error.proto"; -import "google/ads/googleads/v12/errors/customer_client_link_error.proto"; -import "google/ads/googleads/v12/errors/customer_customizer_error.proto"; -import "google/ads/googleads/v12/errors/customer_error.proto"; -import "google/ads/googleads/v12/errors/customer_feed_error.proto"; -import "google/ads/googleads/v12/errors/customer_manager_link_error.proto"; -import "google/ads/googleads/v12/errors/customer_user_access_error.proto"; -import "google/ads/googleads/v12/errors/customizer_attribute_error.proto"; -import "google/ads/googleads/v12/errors/database_error.proto"; -import "google/ads/googleads/v12/errors/date_error.proto"; -import "google/ads/googleads/v12/errors/date_range_error.proto"; -import "google/ads/googleads/v12/errors/distinct_error.proto"; -import "google/ads/googleads/v12/errors/enum_error.proto"; -import "google/ads/googleads/v12/errors/experiment_arm_error.proto"; -import "google/ads/googleads/v12/errors/experiment_error.proto"; -import "google/ads/googleads/v12/errors/extension_feed_item_error.proto"; -import "google/ads/googleads/v12/errors/extension_setting_error.proto"; -import "google/ads/googleads/v12/errors/feed_attribute_reference_error.proto"; -import "google/ads/googleads/v12/errors/feed_error.proto"; -import "google/ads/googleads/v12/errors/feed_item_error.proto"; -import "google/ads/googleads/v12/errors/feed_item_set_error.proto"; -import "google/ads/googleads/v12/errors/feed_item_set_link_error.proto"; -import "google/ads/googleads/v12/errors/feed_item_target_error.proto"; -import "google/ads/googleads/v12/errors/feed_item_validation_error.proto"; -import "google/ads/googleads/v12/errors/feed_mapping_error.proto"; -import "google/ads/googleads/v12/errors/field_error.proto"; -import "google/ads/googleads/v12/errors/field_mask_error.proto"; -import "google/ads/googleads/v12/errors/function_error.proto"; -import "google/ads/googleads/v12/errors/function_parsing_error.proto"; -import "google/ads/googleads/v12/errors/geo_target_constant_suggestion_error.proto"; -import "google/ads/googleads/v12/errors/header_error.proto"; -import "google/ads/googleads/v12/errors/id_error.proto"; -import "google/ads/googleads/v12/errors/image_error.proto"; -import "google/ads/googleads/v12/errors/internal_error.proto"; -import "google/ads/googleads/v12/errors/invoice_error.proto"; -import "google/ads/googleads/v12/errors/keyword_plan_ad_group_error.proto"; -import "google/ads/googleads/v12/errors/keyword_plan_ad_group_keyword_error.proto"; -import "google/ads/googleads/v12/errors/keyword_plan_campaign_error.proto"; -import "google/ads/googleads/v12/errors/keyword_plan_campaign_keyword_error.proto"; -import "google/ads/googleads/v12/errors/keyword_plan_error.proto"; -import "google/ads/googleads/v12/errors/keyword_plan_idea_error.proto"; -import "google/ads/googleads/v12/errors/label_error.proto"; -import "google/ads/googleads/v12/errors/language_code_error.proto"; -import "google/ads/googleads/v12/errors/list_operation_error.proto"; -import "google/ads/googleads/v12/errors/manager_link_error.proto"; -import "google/ads/googleads/v12/errors/media_bundle_error.proto"; -import "google/ads/googleads/v12/errors/media_file_error.proto"; -import "google/ads/googleads/v12/errors/media_upload_error.proto"; -import "google/ads/googleads/v12/errors/merchant_center_error.proto"; -import "google/ads/googleads/v12/errors/multiplier_error.proto"; -import "google/ads/googleads/v12/errors/mutate_error.proto"; -import "google/ads/googleads/v12/errors/new_resource_creation_error.proto"; -import "google/ads/googleads/v12/errors/not_allowlisted_error.proto"; -import "google/ads/googleads/v12/errors/not_empty_error.proto"; -import "google/ads/googleads/v12/errors/null_error.proto"; -import "google/ads/googleads/v12/errors/offline_user_data_job_error.proto"; -import "google/ads/googleads/v12/errors/operation_access_denied_error.proto"; -import "google/ads/googleads/v12/errors/operator_error.proto"; -import "google/ads/googleads/v12/errors/partial_failure_error.proto"; -import "google/ads/googleads/v12/errors/payments_account_error.proto"; -import "google/ads/googleads/v12/errors/policy_finding_error.proto"; -import "google/ads/googleads/v12/errors/policy_validation_parameter_error.proto"; -import "google/ads/googleads/v12/errors/policy_violation_error.proto"; -import "google/ads/googleads/v12/errors/query_error.proto"; -import "google/ads/googleads/v12/errors/quota_error.proto"; -import "google/ads/googleads/v12/errors/range_error.proto"; -import "google/ads/googleads/v12/errors/reach_plan_error.proto"; -import "google/ads/googleads/v12/errors/recommendation_error.proto"; -import "google/ads/googleads/v12/errors/region_code_error.proto"; -import "google/ads/googleads/v12/errors/request_error.proto"; -import "google/ads/googleads/v12/errors/resource_access_denied_error.proto"; -import "google/ads/googleads/v12/errors/resource_count_limit_exceeded_error.proto"; -import "google/ads/googleads/v12/errors/setting_error.proto"; -import "google/ads/googleads/v12/errors/shared_criterion_error.proto"; -import "google/ads/googleads/v12/errors/shared_set_error.proto"; -import "google/ads/googleads/v12/errors/size_limit_error.proto"; -import "google/ads/googleads/v12/errors/smart_campaign_error.proto"; -import "google/ads/googleads/v12/errors/string_format_error.proto"; -import "google/ads/googleads/v12/errors/string_length_error.proto"; -import "google/ads/googleads/v12/errors/third_party_app_analytics_link_error.proto"; -import "google/ads/googleads/v12/errors/time_zone_error.proto"; -import "google/ads/googleads/v12/errors/url_field_error.proto"; -import "google/ads/googleads/v12/errors/user_data_error.proto"; -import "google/ads/googleads/v12/errors/user_list_error.proto"; -import "google/ads/googleads/v12/errors/youtube_video_registration_error.proto"; -import "google/protobuf/duration.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ErrorsProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v14.errors; import "google/ads/googleads/v14/common/policy.proto"; @@ -331,7 +173,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/errors.proto // Proto file describing the common error protos @@ -354,11 +195,7 @@ message GoogleAdsError { string message = 2; // The value that triggered the error. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/errors.proto - google.ads.googleads.v12.common.Value trigger = 3; -======== google.ads.googleads.v14.common.Value trigger = 3; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/errors.proto // Describes the part of the request proto that caused the error. ErrorLocation location = 4; @@ -829,13 +666,10 @@ message ErrorCode { // The reasons for the audience error AudienceErrorEnum.AudienceError audience_error = 164; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/errors.proto -======== // The reasons for the Search term insight error SearchTermInsightErrorEnum.SearchTermInsightError search_term_insight_error = 174; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/errors.proto // The reasons for the Smart campaign error SmartCampaignErrorEnum.SmartCampaignError smart_campaign_error = 147; @@ -843,9 +677,6 @@ message ErrorCode { ExperimentArmErrorEnum.ExperimentArmError experiment_arm_error = 156; // The reasons for the Audience Insights error -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/errors.proto - AudienceInsightsErrorEnum.AudienceInsightsError audience_insights_error = 167; -======== AudienceInsightsErrorEnum.AudienceInsightsError audience_insights_error = 167; @@ -856,7 +687,6 @@ message ErrorCode { // The reasons for the currency errors. CurrencyErrorEnum.CurrencyError currency_error = 171; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/errors.proto } } @@ -904,11 +734,7 @@ message PolicyViolationDetails { // Unique identifier for this violation. // If policy is exemptible, this key may be used to request exemption. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/errors.proto - google.ads.googleads.v12.common.PolicyViolationKey key = 4; -======== google.ads.googleads.v14.common.PolicyViolationKey key = 4; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/errors.proto // Human readable name of the policy. string external_policy_name = 5; @@ -924,12 +750,8 @@ message PolicyFindingDetails { // The list of policy topics for the resource. Contains the PROHIBITED or // FULLY_LIMITED policy topic entries that prevented the resource from being // saved (among any other entries the resource may also have). -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/errors.proto - repeated google.ads.googleads.v12.common.PolicyTopicEntry policy_topic_entries = 1; -======== repeated google.ads.googleads.v14.common.PolicyTopicEntry policy_topic_entries = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/errors.proto } // Additional quota error details when there is QuotaError. @@ -974,12 +796,8 @@ message ResourceCountDetails { int32 limit = 2; // The resource limit type which was exceeded. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/errors.proto - google.ads.googleads.v12.enums.ResourceLimitTypeEnum.ResourceLimitType limit_type = 3; -======== google.ads.googleads.v14.enums.ResourceLimitTypeEnum.ResourceLimitType limit_type = 3; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/errors.proto // The count of existing entities. int32 existing_count = 4; diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/extension_feed_item_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/extension_feed_item_error.proto index 1c31fac25..792e48328 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/extension_feed_item_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/extension_feed_item_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/extension_feed_item_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/extension_feed_item_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/extension_feed_item_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ExtensionFeedItemErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/extension_feed_item_error.proto // Proto file describing extension feed item errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/extension_setting_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/extension_setting_error.proto index f6c4985de..5a01a1720 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/extension_setting_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/extension_setting_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/extension_setting_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/extension_setting_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/extension_setting_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ExtensionSettingErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/extension_setting_error.proto // Proto file describing extension setting validation errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/feed_attribute_reference_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/feed_attribute_reference_error.proto index 9c20bd82e..51acb100f 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/feed_attribute_reference_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/feed_attribute_reference_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/feed_attribute_reference_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/feed_attribute_reference_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/feed_attribute_reference_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FeedAttributeReferenceErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/feed_attribute_reference_error.proto // Proto file describing feed attribute reference errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/feed_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/feed_error.proto index 08ca5db81..50dd76ad5 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/feed_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/feed_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/feed_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/feed_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/feed_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FeedErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/feed_error.proto // Proto file describing feed errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/feed_item_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/feed_item_error.proto index 512e03e55..fec06a1f9 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/feed_item_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/feed_item_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/feed_item_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/feed_item_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/feed_item_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/feed_item_error.proto // Proto file describing feed item errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/feed_item_set_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/feed_item_set_error.proto index 4f92f24ab..d032c55ff 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/feed_item_set_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/feed_item_set_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/feed_item_set_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/feed_item_set_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/feed_item_set_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemSetErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/feed_item_set_error.proto // Proto file describing feed item set errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/feed_item_set_link_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/feed_item_set_link_error.proto index 30fc93240..bd11d4111 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/feed_item_set_link_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/feed_item_set_link_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/feed_item_set_link_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/feed_item_set_link_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/feed_item_set_link_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemSetLinkErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/feed_item_set_link_error.proto // Proto file describing feed item set link errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/feed_item_target_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/feed_item_target_error.proto index ee1cc241d..c0961511e 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/feed_item_target_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/feed_item_target_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/feed_item_target_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/feed_item_target_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/feed_item_target_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemTargetErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/feed_item_target_error.proto // Proto file describing feed item target errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/feed_item_validation_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/feed_item_validation_error.proto index e47afd2c6..c1b34b1e1 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/feed_item_validation_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/feed_item_validation_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/feed_item_validation_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/feed_item_validation_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/feed_item_validation_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemValidationErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/feed_item_validation_error.proto // Proto file describing feed item validation errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/feed_mapping_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/feed_mapping_error.proto index d9cd61c28..e836559bf 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/feed_mapping_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/feed_mapping_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/feed_mapping_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FeedMappingErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/feed_mapping_error.proto // Proto file describing feed item errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/field_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/field_error.proto index c453a01b1..788175d72 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/field_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/field_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/field_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FieldErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/field_error.proto // Proto file describing field errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/field_mask_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/field_mask_error.proto index 725231de5..33fc94290 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/field_mask_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/field_mask_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/field_mask_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/field_mask_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/field_mask_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FieldMaskErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/field_mask_error.proto // Proto file describing field mask errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/function_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/function_error.proto index 3d4f9df96..a7b1b897d 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/function_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/function_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/function_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/function_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/function_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FunctionErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/function_error.proto // Proto file describing function errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/function_parsing_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/function_parsing_error.proto index ac6f1f7d4..2d201ade5 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/function_parsing_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/function_parsing_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/function_parsing_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/function_parsing_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/function_parsing_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FunctionParsingErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/function_parsing_error.proto // Proto file describing function parsing errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/geo_target_constant_suggestion_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/geo_target_constant_suggestion_error.proto index 7efcbe4bd..53f247378 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/geo_target_constant_suggestion_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/geo_target_constant_suggestion_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/geo_target_constant_suggestion_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/geo_target_constant_suggestion_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/geo_target_constant_suggestion_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "GeoTargetConstantSuggestionErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/geo_target_constant_suggestion_error.proto // Container for enum describing possible geo target constant suggestion errors. message GeoTargetConstantSuggestionErrorEnum { diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/header_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/header_error.proto index 716dfca5b..ecb428427 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/header_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/header_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/header_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/header_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/header_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "HeaderErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/header_error.proto // Proto file describing header errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/id_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/id_error.proto index 1c8d022c6..cec933b8f 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/id_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/id_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/id_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/id_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/id_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "IdErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/id_error.proto // Proto file describing id errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/image_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/image_error.proto index c18170ba6..2bdfff256 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/image_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/image_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/image_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/image_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/image_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ImageErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/image_error.proto // Proto file describing image errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/internal_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/internal_error.proto index b5862929d..887fcf089 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/internal_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/internal_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/internal_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/internal_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/internal_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "InternalErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/internal_error.proto // Proto file describing internal errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/invoice_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/invoice_error.proto index d59fe0be1..053600cb4 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/invoice_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/invoice_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/invoice_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/invoice_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/invoice_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "InvoiceErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/invoice_error.proto // Proto file describing invoice errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/keyword_plan_ad_group_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/keyword_plan_ad_group_error.proto index e69e70b59..a2735b286 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/keyword_plan_ad_group_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/keyword_plan_ad_group_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/keyword_plan_ad_group_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/keyword_plan_ad_group_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/keyword_plan_ad_group_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanAdGroupErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/keyword_plan_ad_group_error.proto // Proto file describing errors from applying a keyword plan ad group. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/keyword_plan_ad_group_keyword_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/keyword_plan_ad_group_keyword_error.proto index 3755c40d3..473607b8e 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/keyword_plan_ad_group_keyword_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/keyword_plan_ad_group_keyword_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/keyword_plan_ad_group_keyword_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/keyword_plan_ad_group_keyword_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/keyword_plan_ad_group_keyword_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanAdGroupKeywordErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/keyword_plan_ad_group_keyword_error.proto // Proto file describing errors from applying a keyword plan ad group keyword or // keyword plan campaign keyword. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/keyword_plan_campaign_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/keyword_plan_campaign_error.proto index 38a19eb87..7782dedf2 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/keyword_plan_campaign_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/keyword_plan_campaign_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/keyword_plan_campaign_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/keyword_plan_campaign_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/keyword_plan_campaign_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanCampaignErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/keyword_plan_campaign_error.proto // Proto file describing errors from applying a keyword plan campaign. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/keyword_plan_campaign_keyword_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/keyword_plan_campaign_keyword_error.proto index 477fea30a..c4cfdda5a 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/keyword_plan_campaign_keyword_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/keyword_plan_campaign_keyword_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/keyword_plan_campaign_keyword_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/keyword_plan_campaign_keyword_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/keyword_plan_campaign_keyword_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanCampaignKeywordErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/keyword_plan_campaign_keyword_error.proto // Proto file describing errors from applying a keyword plan campaign keyword. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/keyword_plan_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/keyword_plan_error.proto index 690634aa5..a5396ba35 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/keyword_plan_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/keyword_plan_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/keyword_plan_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/keyword_plan_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/keyword_plan_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/keyword_plan_error.proto // Proto file describing errors from applying keyword plan resources (keyword // plan, keyword plan campaign, keyword plan ad group or keyword plan keyword) diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/keyword_plan_idea_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/keyword_plan_idea_error.proto index b48e5b7cd..b31a70411 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/keyword_plan_idea_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/keyword_plan_idea_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/keyword_plan_idea_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/keyword_plan_idea_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/keyword_plan_idea_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanIdeaErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/keyword_plan_idea_error.proto // Proto file describing errors from KeywordPlanIdeaService. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/label_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/label_error.proto index 0e299773e..f9dc947f7 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/label_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/label_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/label_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/label_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/label_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "LabelErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/label_error.proto // Proto file describing label errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/language_code_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/language_code_error.proto index 147161268..a19df3b02 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/language_code_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/language_code_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/language_code_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/language_code_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/language_code_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "LanguageCodeErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/language_code_error.proto // Proto file describing language code errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/list_operation_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/list_operation_error.proto index 9f521d5d8..d60e81735 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/list_operation_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/list_operation_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/list_operation_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/list_operation_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/list_operation_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ListOperationErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/list_operation_error.proto // Proto file describing list operation errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/manager_link_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/manager_link_error.proto index 8baa7213c..7327314ca 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/manager_link_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/manager_link_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/manager_link_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/manager_link_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/manager_link_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ManagerLinkErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/manager_link_error.proto // Proto file describing ManagerLink errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/media_bundle_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/media_bundle_error.proto index 24eb5ebe7..df4f075e4 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/media_bundle_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/media_bundle_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/media_bundle_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/media_bundle_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/media_bundle_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "MediaBundleErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/media_bundle_error.proto // Proto file describing media bundle errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/media_file_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/media_file_error.proto index e33ac8086..0361baf99 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/media_file_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/media_file_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/media_file_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/media_file_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/media_file_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "MediaFileErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/media_file_error.proto // Proto file describing media file errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/media_upload_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/media_upload_error.proto index 9eb3dda59..519a487e7 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/media_upload_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/media_upload_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/media_upload_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/media_upload_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/media_upload_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "MediaUploadErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/media_upload_error.proto // Proto file describing media uploading errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/merchant_center_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/merchant_center_error.proto index b3f7d7e00..dd389cce0 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/merchant_center_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/merchant_center_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/merchant_center_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/merchant_center_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/merchant_center_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "MerchantCenterErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/merchant_center_error.proto // Proto file describing merchant center errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/multiplier_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/multiplier_error.proto index ed80ab02f..1800c5c7e 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/multiplier_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/multiplier_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/multiplier_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/multiplier_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/multiplier_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "MultiplierErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/multiplier_error.proto // Proto file describing multiplier errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/mutate_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/mutate_error.proto index 5773467ba..0ebfbad1a 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/mutate_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/mutate_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/mutate_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/mutate_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/mutate_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "MutateErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/mutate_error.proto // Proto file describing mutate errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/new_resource_creation_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/new_resource_creation_error.proto index 843ebc655..f7ebe1ecd 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/new_resource_creation_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/new_resource_creation_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/new_resource_creation_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/new_resource_creation_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/new_resource_creation_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "NewResourceCreationErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/new_resource_creation_error.proto // Proto file describing new resource creation errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/not_allowlisted_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/not_allowlisted_error.proto index ea11c9811..8841bdb23 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/not_allowlisted_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/not_allowlisted_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/not_allowlisted_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/not_allowlisted_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/not_allowlisted_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "NotAllowlistedErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/not_allowlisted_error.proto // Proto file describing not allowlisted errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/not_empty_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/not_empty_error.proto index 403b5b6b9..cc2cd6893 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/not_empty_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/not_empty_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/not_empty_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/not_empty_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/not_empty_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "NotEmptyErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/not_empty_error.proto // Proto file describing not empty errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/null_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/null_error.proto index e9e8470cb..f664a326e 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/null_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/null_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/null_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/null_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/null_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "NullErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/null_error.proto // Proto file describing null errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/offline_user_data_job_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/offline_user_data_job_error.proto index 93e2e640e..5fcb3eaaf 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/offline_user_data_job_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/offline_user_data_job_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/offline_user_data_job_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/offline_user_data_job_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/offline_user_data_job_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "OfflineUserDataJobErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/offline_user_data_job_error.proto // Proto file describing offline user data job errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/operation_access_denied_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/operation_access_denied_error.proto index 74b6d1e15..c47e10bcb 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/operation_access_denied_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/operation_access_denied_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/operation_access_denied_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/operation_access_denied_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/operation_access_denied_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "OperationAccessDeniedErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/operation_access_denied_error.proto // Proto file describing operation access denied errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/operator_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/operator_error.proto index f778df356..95bae438e 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/operator_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/operator_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/operator_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/operator_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/operator_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "OperatorErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/operator_error.proto // Proto file describing operator errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/partial_failure_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/partial_failure_error.proto index a89ee2fb4..4275aaffc 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/partial_failure_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/partial_failure_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/partial_failure_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/partial_failure_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/partial_failure_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "PartialFailureErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/partial_failure_error.proto // Proto file describing partial failure errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/payments_account_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/payments_account_error.proto index 6d39d5e7e..d5244606a 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/payments_account_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/payments_account_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/payments_account_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/payments_account_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/payments_account_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "PaymentsAccountErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/payments_account_error.proto // Proto file describing payments account service errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/policy_finding_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/policy_finding_error.proto index 819e2f730..e9b6a101a 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/policy_finding_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/policy_finding_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/policy_finding_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/policy_finding_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/policy_finding_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "PolicyFindingErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/policy_finding_error.proto // Proto file describing policy finding errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/policy_validation_parameter_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/policy_validation_parameter_error.proto index 9dae7deda..871bf3eff 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/policy_validation_parameter_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/policy_validation_parameter_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/policy_validation_parameter_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/policy_validation_parameter_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/policy_validation_parameter_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "PolicyValidationParameterErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/policy_validation_parameter_error.proto // Proto file describing policy validation parameter errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/policy_violation_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/policy_violation_error.proto index 32efb3e62..6e84f05a7 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/policy_violation_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/policy_violation_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/policy_violation_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/policy_violation_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/policy_violation_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "PolicyViolationErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/policy_violation_error.proto // Proto file describing policy violation errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/query_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/query_error.proto index 17238f87d..6e0465a47 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/query_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/query_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/query_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/query_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/query_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "QueryErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/query_error.proto // Proto file describing query errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/quota_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/quota_error.proto index d4c72e13b..b6b9510ad 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/quota_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/quota_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/quota_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/quota_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/quota_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "QuotaErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/quota_error.proto // Proto file describing quota errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/range_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/range_error.proto index d34d128ee..04c0b240a 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/range_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/range_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/range_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/range_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/range_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "RangeErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/range_error.proto // Proto file describing range errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/reach_plan_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/reach_plan_error.proto index 7f299c445..e2769e411 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/reach_plan_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/reach_plan_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/reach_plan_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ReachPlanErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/reach_plan_error.proto // Proto file describing errors generated from ReachPlanService. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/recommendation_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/recommendation_error.proto index 776689cab..b1553771b 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/recommendation_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/recommendation_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/recommendation_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "RecommendationErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/recommendation_error.proto // Proto file describing errors from applying a recommendation. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/region_code_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/region_code_error.proto index 61793033a..ac20a8d8d 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/region_code_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/region_code_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/region_code_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/region_code_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/region_code_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "RegionCodeErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/region_code_error.proto // Proto file describing region code errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/request_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/request_error.proto index 790e93d48..0ceed875b 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/request_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/request_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/request_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "RequestErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/request_error.proto // Proto file describing request errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/resource_access_denied_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/resource_access_denied_error.proto index 66e3042a4..48a4f9612 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/resource_access_denied_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/resource_access_denied_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/resource_access_denied_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/resource_access_denied_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/resource_access_denied_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ResourceAccessDeniedErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/resource_access_denied_error.proto // Proto file describing resource access denied errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/resource_count_limit_exceeded_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/resource_count_limit_exceeded_error.proto index 0b38ab8bb..f33107e71 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/resource_count_limit_exceeded_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/resource_count_limit_exceeded_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/resource_count_limit_exceeded_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/resource_count_limit_exceeded_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/resource_count_limit_exceeded_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ResourceCountLimitExceededErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/resource_count_limit_exceeded_error.proto // Proto file describing resource count limit exceeded errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/setting_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/setting_error.proto index 27e084e2c..e0d83f2fa 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/setting_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/setting_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/setting_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/setting_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/setting_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "SettingErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/setting_error.proto // Proto file describing setting errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/shared_criterion_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/shared_criterion_error.proto index a089c2387..391f61a58 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/shared_criterion_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/shared_criterion_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/shared_criterion_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/shared_criterion_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/shared_criterion_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "SharedCriterionErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/shared_criterion_error.proto // Proto file describing shared criterion errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/shared_set_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/shared_set_error.proto index 34715f08f..49b198cfd 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/shared_set_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/shared_set_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/shared_set_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/shared_set_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/shared_set_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "SharedSetErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/shared_set_error.proto // Proto file describing shared set errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/size_limit_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/size_limit_error.proto index da204bf1a..830ea5fc2 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/size_limit_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/size_limit_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/size_limit_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/size_limit_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/size_limit_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "SizeLimitErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/size_limit_error.proto // Proto file describing size limit errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/string_format_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/string_format_error.proto index 405d04fbd..736a4595e 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/string_format_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/string_format_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/string_format_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/string_format_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/string_format_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "StringFormatErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/string_format_error.proto // Proto file describing string format errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/string_length_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/string_length_error.proto index 53c5d6203..03380dbf4 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/string_length_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/string_length_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/string_length_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/string_length_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/string_length_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "StringLengthErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/string_length_error.proto // Proto file describing string length errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/third_party_app_analytics_link_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/third_party_app_analytics_link_error.proto index 51dbd1a93..7221f659c 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/third_party_app_analytics_link_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/third_party_app_analytics_link_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/third_party_app_analytics_link_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/third_party_app_analytics_link_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/third_party_app_analytics_link_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ThirdPartyAppAnalyticsLinkErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/third_party_app_analytics_link_error.proto // Proto file describing ThirdPartyAppAnalyticsLink errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/time_zone_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/time_zone_error.proto index bd22408f9..6e97b9592 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/time_zone_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/time_zone_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/time_zone_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/time_zone_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/time_zone_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "TimeZoneErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/time_zone_error.proto // Proto file describing time zone errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/url_field_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/url_field_error.proto index 1a83b810f..1f2945fd3 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/url_field_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/url_field_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/url_field_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "UrlFieldErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/url_field_error.proto // Proto file describing url field errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/user_data_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/user_data_error.proto index 952970070..b1d7bb735 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/user_data_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/user_data_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/user_data_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/user_data_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/user_data_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "UserDataErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/user_data_error.proto // Proto file describing user data errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/user_list_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/user_list_error.proto index ff4d012b7..aeb61c691 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/user_list_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/user_list_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/user_list_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/user_list_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/user_list_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "UserListErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/user_list_error.proto // Proto file describing user list errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/errors/youtube_video_registration_error.proto b/third_party/googleapis/google/ads/googleads/v14/errors/youtube_video_registration_error.proto index c1ed5e9f3..83aab0387 100644 --- a/third_party/googleapis/google/ads/googleads/v14/errors/youtube_video_registration_error.proto +++ b/third_party/googleapis/google/ads/googleads/v14/errors/youtube_video_registration_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/youtube_video_registration_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/youtube_video_registration_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/youtube_video_registration_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "YoutubeVideoRegistrationErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v14.errors; option csharp_namespace = "Google.Ads.GoogleAds.V14.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v14.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V14::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/errors/youtube_video_registration_error.proto // Proto file describing YouTube video registration errors. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/BUILD.bazel b/third_party/googleapis/google/ads/googleads/v14/resources/BUILD.bazel index 7c7c3f544..27d52dcc3 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/BUILD.bazel +++ b/third_party/googleapis/google/ads/googleads/v14/resources/BUILD.bazel @@ -26,15 +26,9 @@ proto_library( name = "resources_proto", srcs = glob(["*.proto"]), deps = [ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/BUILD.bazel - "//google/ads/googleads/v12/common:common_proto", - "//google/ads/googleads/v12/enums:enums_proto", - "//google/ads/googleads/v12/errors:errors_proto", -======== "//google/ads/googleads/v14/common:common_proto", "//google/ads/googleads/v14/enums:enums_proto", "//google/ads/googleads/v14/errors:errors_proto", ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/BUILD.bazel "//google/api:annotations_proto", "//google/api:field_behavior_proto", "//google/api:resource_proto", diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/accessible_bidding_strategy.proto b/third_party/googleapis/google/ads/googleads/v14/resources/accessible_bidding_strategy.proto index 7ce014a75..d84fa3377 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/accessible_bidding_strategy.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/accessible_bidding_strategy.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/accessible_bidding_strategy.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/accessible_bidding_strategy.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/accessible_bidding_strategy.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/bidding_strategy_type.proto"; -import "google/ads/googleads/v13/enums/target_impression_share_location.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AccessibleBiddingStrategyProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/bidding_strategy_type.proto"; @@ -50,7 +29,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/accessible_bidding_strategy.proto // Represents a view of BiddingStrategies owned by and shared with the customer. // @@ -98,11 +76,7 @@ message AccessibleBiddingStrategy { // location). message TargetImpressionShare { // Output only. The targeted location on the search results page. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/accessible_bidding_strategy.proto - google.ads.googleads.v13.enums.TargetImpressionShareLocationEnum -======== google.ads.googleads.v14.enums.TargetImpressionShareLocationEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/accessible_bidding_strategy.proto .TargetImpressionShareLocation location = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -162,11 +136,7 @@ message AccessibleBiddingStrategy { string name = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The type of the bidding strategy. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/accessible_bidding_strategy.proto - google.ads.googleads.v13.enums.BiddingStrategyTypeEnum.BiddingStrategyType -======== google.ads.googleads.v14.enums.BiddingStrategyTypeEnum.BiddingStrategyType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/accessible_bidding_strategy.proto type = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The ID of the Customer which owns the bidding strategy. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/account_budget.proto b/third_party/googleapis/google/ads/googleads/v14/resources/account_budget.proto index cf1476e34..571737953 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/account_budget.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/account_budget.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/account_budget.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/account_budget.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/account_budget.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/account_budget_proposal_type.proto"; -import "google/ads/googleads/v13/enums/account_budget_status.proto"; -import "google/ads/googleads/v13/enums/spending_limit_type.proto"; -import "google/ads/googleads/v13/enums/time_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AccountBudgetProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/account_budget_proposal_type.proto"; @@ -54,7 +31,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/account_budget.proto // Proto file describing the AccountBudget resource. @@ -96,11 +72,7 @@ message AccountBudget { // Output only. The type of this proposal, for example, END to end the // budget associated with this proposal. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/account_budget.proto - google.ads.googleads.v13.enums.AccountBudgetProposalTypeEnum -======== google.ads.googleads.v14.enums.AccountBudgetProposalTypeEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/account_budget.proto .AccountBudgetProposalType proposal_type = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -130,11 +102,7 @@ message AccountBudget { string end_date_time = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The end time as a well-defined type, for example, FOREVER. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/account_budget.proto - google.ads.googleads.v13.enums.TimeTypeEnum.TimeType end_time_type = 6 -======== google.ads.googleads.v14.enums.TimeTypeEnum.TimeType end_time_type = 6 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/account_budget.proto [(google.api.field_behavior) = OUTPUT_ONLY]; } @@ -147,11 +115,7 @@ message AccountBudget { // Output only. The spending limit as a well-defined type, for example, // INFINITE. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/account_budget.proto - google.ads.googleads.v13.enums.SpendingLimitTypeEnum.SpendingLimitType -======== google.ads.googleads.v14.enums.SpendingLimitTypeEnum.SpendingLimitType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/account_budget.proto spending_limit_type = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; } } @@ -182,11 +146,7 @@ message AccountBudget { ]; // Output only. The status of this account-level budget. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/account_budget.proto - google.ads.googleads.v13.enums.AccountBudgetStatusEnum.AccountBudgetStatus -======== google.ads.googleads.v14.enums.AccountBudgetStatusEnum.AccountBudgetStatus ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/account_budget.proto status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The name of the account-level budget. @@ -238,11 +198,7 @@ message AccountBudget { // Output only. The proposed end time as a well-defined type, for example, // FOREVER. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/account_budget.proto - google.ads.googleads.v13.enums.TimeTypeEnum.TimeType -======== google.ads.googleads.v14.enums.TimeTypeEnum.TimeType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/account_budget.proto proposed_end_time_type = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; } @@ -257,11 +213,7 @@ message AccountBudget { // Output only. The approved end time as a well-defined type, for example, // FOREVER. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/account_budget.proto - google.ads.googleads.v13.enums.TimeTypeEnum.TimeType -======== google.ads.googleads.v14.enums.TimeTypeEnum.TimeType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/account_budget.proto approved_end_time_type = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; } @@ -274,11 +226,7 @@ message AccountBudget { // Output only. The proposed spending limit as a well-defined type, for // example, INFINITE. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/account_budget.proto - google.ads.googleads.v13.enums.SpendingLimitTypeEnum.SpendingLimitType -======== google.ads.googleads.v14.enums.SpendingLimitTypeEnum.SpendingLimitType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/account_budget.proto proposed_spending_limit_type = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; } @@ -299,11 +247,7 @@ message AccountBudget { // Output only. The approved spending limit as a well-defined type, for // example, INFINITE. This will only be populated if the approved spending // limit is INFINITE. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/account_budget.proto - google.ads.googleads.v13.enums.SpendingLimitTypeEnum.SpendingLimitType -======== google.ads.googleads.v14.enums.SpendingLimitTypeEnum.SpendingLimitType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/account_budget.proto approved_spending_limit_type = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; } @@ -332,11 +276,7 @@ message AccountBudget { // example, INFINITE. This will only be populated if the adjusted spending // limit is INFINITE, which is guaranteed to be true if the approved // spending limit is INFINITE. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/account_budget.proto - google.ads.googleads.v13.enums.SpendingLimitTypeEnum.SpendingLimitType -======== google.ads.googleads.v14.enums.SpendingLimitTypeEnum.SpendingLimitType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/account_budget.proto adjusted_spending_limit_type = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/account_budget_proposal.proto b/third_party/googleapis/google/ads/googleads/v14/resources/account_budget_proposal.proto index 9809b6474..0ac7cd62f 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/account_budget_proposal.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/account_budget_proposal.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/account_budget_proposal.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/account_budget_proposal.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/account_budget_proposal.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/account_budget_proposal_status.proto"; -import "google/ads/googleads/v13/enums/account_budget_proposal_type.proto"; -import "google/ads/googleads/v13/enums/spending_limit_type.proto"; -import "google/ads/googleads/v13/enums/time_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AccountBudgetProposalProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/account_budget_proposal_status.proto"; @@ -54,7 +31,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/account_budget_proposal.proto // Proto file describing the AccountBudgetProposal resource. @@ -107,21 +83,13 @@ message AccountBudgetProposal { // Immutable. The type of this proposal, for example, END to end the budget // associated with this proposal. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/account_budget_proposal.proto - google.ads.googleads.v13.enums.AccountBudgetProposalTypeEnum -======== google.ads.googleads.v14.enums.AccountBudgetProposalTypeEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/account_budget_proposal.proto .AccountBudgetProposalType proposal_type = 4 [(google.api.field_behavior) = IMMUTABLE]; // Output only. The status of this proposal. // When a new proposal is created, the status defaults to PENDING. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/account_budget_proposal.proto - google.ads.googleads.v13.enums.AccountBudgetProposalStatusEnum -======== google.ads.googleads.v14.enums.AccountBudgetProposalStatusEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/account_budget_proposal.proto .AccountBudgetProposalStatus status = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -159,11 +127,7 @@ message AccountBudgetProposal { // Immutable. The proposed start date time as a well-defined type, for // example, NOW. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/account_budget_proposal.proto - google.ads.googleads.v13.enums.TimeTypeEnum.TimeType -======== google.ads.googleads.v14.enums.TimeTypeEnum.TimeType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/account_budget_proposal.proto proposed_start_time_type = 7 [(google.api.field_behavior) = IMMUTABLE]; } @@ -176,11 +140,7 @@ message AccountBudgetProposal { // Immutable. The proposed end date time as a well-defined type, for // example, FOREVER. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/account_budget_proposal.proto - google.ads.googleads.v13.enums.TimeTypeEnum.TimeType -======== google.ads.googleads.v14.enums.TimeTypeEnum.TimeType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/account_budget_proposal.proto proposed_end_time_type = 9 [(google.api.field_behavior) = IMMUTABLE]; } @@ -192,11 +152,7 @@ message AccountBudgetProposal { // Output only. The approved end date time as a well-defined type, for // example, FOREVER. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/account_budget_proposal.proto - google.ads.googleads.v13.enums.TimeTypeEnum.TimeType -======== google.ads.googleads.v14.enums.TimeTypeEnum.TimeType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/account_budget_proposal.proto approved_end_time_type = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; } @@ -209,11 +165,7 @@ message AccountBudgetProposal { // Immutable. The proposed spending limit as a well-defined type, for // example, INFINITE. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/account_budget_proposal.proto - google.ads.googleads.v13.enums.SpendingLimitTypeEnum.SpendingLimitType -======== google.ads.googleads.v14.enums.SpendingLimitTypeEnum.SpendingLimitType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/account_budget_proposal.proto proposed_spending_limit_type = 11 [(google.api.field_behavior) = IMMUTABLE]; } @@ -227,11 +179,7 @@ message AccountBudgetProposal { // Output only. The approved spending limit as a well-defined type, for // example, INFINITE. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/account_budget_proposal.proto - google.ads.googleads.v13.enums.SpendingLimitTypeEnum.SpendingLimitType -======== google.ads.googleads.v14.enums.SpendingLimitTypeEnum.SpendingLimitType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/account_budget_proposal.proto approved_spending_limit_type = 24 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/account_link.proto b/third_party/googleapis/google/ads/googleads/v14/resources/account_link.proto index 1c7e837cd..47b69153f 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/account_link.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/account_link.proto @@ -14,24 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/account_link.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/account_link_status.proto"; -import "google/ads/googleads/v12/enums/linked_account_type.proto"; -import "google/ads/googleads/v12/enums/mobile_app_vendor.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AccountLinkProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/account_link_status.proto"; @@ -48,7 +30,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/account_link.proto // Represents the data sharing connection between a Google Ads account and // another account @@ -74,19 +55,12 @@ message AccountLink { [(google.api.field_behavior) = OUTPUT_ONLY]; // The status of the link. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/account_link.proto - google.ads.googleads.v12.enums.AccountLinkStatusEnum.AccountLinkStatus status = 3; - - // Output only. The type of the linked account. - google.ads.googleads.v12.enums.LinkedAccountTypeEnum.LinkedAccountType type = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v14.enums.AccountLinkStatusEnum.AccountLinkStatus status = 3; // Output only. The type of the linked account. google.ads.googleads.v14.enums.LinkedAccountTypeEnum.LinkedAccountType type = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/account_link.proto // An account linked to this Google Ads account. oneof linked_account { @@ -103,19 +77,12 @@ message AccountLink { [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Hotel link -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/account_link.proto - HotelCenterLinkIdentifier hotel_center = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Advertising Partner link - AdvertisingPartnerLinkIdentifier advertising_partner = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== HotelCenterLinkIdentifier hotel_center = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Advertising Partner link AdvertisingPartnerLinkIdentifier advertising_partner = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/account_link.proto } } @@ -128,17 +95,10 @@ message ThirdPartyAppAnalyticsLinkIdentifier { optional int64 app_analytics_provider_id = 4 [(google.api.field_behavior) = IMMUTABLE]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/account_link.proto - // Immutable. A string that uniquely identifies a mobile application from which the data - // was collected to the Google Ads API. For iOS, the ID string is the 9 digit - // string that appears at the end of an App Store URL (for example, - // "422689480" for "Gmail" whose App Store link is -======== // Immutable. A string that uniquely identifies a mobile application from // which the data was collected to the Google Ads API. For iOS, the ID string // is the 9 digit string that appears at the end of an App Store URL (for // example, "422689480" for "Gmail" whose App Store link is ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/account_link.proto // https://apps.apple.com/us/app/gmail-email-by-google/id422689480). For // Android, the ID string is the application's package name (for example, // "com.google.android.gm" for "Gmail" given Google Play link @@ -152,12 +112,8 @@ message ThirdPartyAppAnalyticsLinkIdentifier { // This field should not be empty when creating a new third // party app analytics link. It is unable to be modified after the creation of // the link. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/account_link.proto - google.ads.googleads.v12.enums.MobileAppVendorEnum.MobileAppVendor app_vendor = 3 [(google.api.field_behavior) = IMMUTABLE]; -======== google.ads.googleads.v14.enums.MobileAppVendorEnum.MobileAppVendor app_vendor = 3 [(google.api.field_behavior) = IMMUTABLE]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/account_link.proto } // The identifier for Data Partner account. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/ad_group.proto b/third_party/googleapis/google/ads/googleads/v14/resources/ad_group.proto index 8bbf713c9..c0ca25cca 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/ad_group.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/ad_group.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,30 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/custom_parameter.proto"; -import "google/ads/googleads/v13/common/targeting_setting.proto"; -import "google/ads/googleads/v13/enums/ad_group_ad_rotation_mode.proto"; -import "google/ads/googleads/v13/enums/ad_group_status.proto"; -import "google/ads/googleads/v13/enums/ad_group_type.proto"; -import "google/ads/googleads/v13/enums/asset_field_type.proto"; -import "google/ads/googleads/v13/enums/asset_set_type.proto"; -import "google/ads/googleads/v13/enums/bidding_source.proto"; -import "google/ads/googleads/v13/enums/targeting_dimension.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/common/custom_parameter.proto"; @@ -64,7 +36,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group.proto // Proto file describing the ad group resource. @@ -109,16 +80,6 @@ message AdGroup { optional string name = 35; // The status of the ad group. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group.proto - google.ads.googleads.v13.enums.AdGroupStatusEnum.AdGroupStatus status = 5; - - // Immutable. The type of the ad group. - google.ads.googleads.v13.enums.AdGroupTypeEnum.AdGroupType type = 12 - [(google.api.field_behavior) = IMMUTABLE]; - - // The ad rotation mode of the ad group. - google.ads.googleads.v13.enums.AdGroupAdRotationModeEnum.AdGroupAdRotationMode -======== google.ads.googleads.v14.enums.AdGroupStatusEnum.AdGroupStatus status = 5; // Immutable. The type of the ad group. @@ -127,7 +88,6 @@ message AdGroup { // The ad rotation mode of the ad group. google.ads.googleads.v14.enums.AdGroupAdRotationModeEnum.AdGroupAdRotationMode ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group.proto ad_rotation_mode = 22; // Output only. For draft or experiment ad groups, this field is the resource @@ -150,11 +110,7 @@ message AdGroup { // The list of mappings used to substitute custom parameter tags in a // `tracking_url_template`, `final_urls`, or `mobile_final_urls`. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group.proto - repeated google.ads.googleads.v13.common.CustomParameter -======== repeated google.ads.googleads.v14.common.CustomParameter ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group.proto url_custom_parameters = 6; // Immutable. The campaign to which the ad group belongs. @@ -210,22 +166,14 @@ message AdGroup { // Allows advertisers to specify a targeting dimension on which to place // absolute bids. This is only applicable for campaigns that target only the // display network and not search. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group.proto - google.ads.googleads.v13.enums.TargetingDimensionEnum.TargetingDimension -======== google.ads.googleads.v14.enums.TargetingDimensionEnum.TargetingDimension ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group.proto display_custom_bid_dimension = 23; // URL template for appending params to Final URL. optional string final_url_suffix = 46; // Setting for targeting related features. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group.proto - google.ads.googleads.v13.common.TargetingSetting targeting_setting = 25; -======== google.ads.googleads.v14.common.TargetingSetting targeting_setting = 25; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group.proto // Immutable. Setting for audience related features. AudienceSetting audience_setting = 56 @@ -238,11 +186,7 @@ message AdGroup { // Output only. Source of the effective target CPA. // This field is read-only. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group.proto - google.ads.googleads.v13.enums.BiddingSourceEnum.BiddingSource -======== google.ads.googleads.v14.enums.BiddingSourceEnum.BiddingSource ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group.proto effective_target_cpa_source = 29 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -253,11 +197,7 @@ message AdGroup { // Output only. Source of the effective target ROAS. // This field is read-only. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group.proto - google.ads.googleads.v13.enums.BiddingSourceEnum.BiddingSource -======== google.ads.googleads.v14.enums.BiddingSourceEnum.BiddingSource ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group.proto effective_target_roas_source = 32 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -272,11 +212,7 @@ message AdGroup { // The asset field types that should be excluded from this ad group. Asset // links with these field types will not be inherited by this ad group from // the upper levels. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group.proto - repeated google.ads.googleads.v13.enums.AssetFieldTypeEnum.AssetFieldType -======== repeated google.ads.googleads.v14.enums.AssetFieldTypeEnum.AssetFieldType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group.proto excluded_parent_asset_field_types = 54; // The asset set types that should be excluded from this ad group. Asset set @@ -289,10 +225,6 @@ message AdGroup { // and all Location Extension (LE) and Affiliate Location Extensions (ALE) // will not be served under this ad group. // Only LOCATION_SYNC is currently supported. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group.proto - repeated google.ads.googleads.v13.enums.AssetSetTypeEnum.AssetSetType -======== repeated google.ads.googleads.v14.enums.AssetSetTypeEnum.AssetSetType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group.proto excluded_parent_asset_set_types = 58; } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_ad.proto b/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_ad.proto index e5286ca70..8bf62372b 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_ad.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_ad.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_ad.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_ad.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,27 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_ad.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/policy.proto"; -import "google/ads/googleads/v13/enums/ad_group_ad_status.proto"; -import "google/ads/googleads/v13/enums/ad_strength.proto"; -import "google/ads/googleads/v13/enums/policy_approval_status.proto"; -import "google/ads/googleads/v13/enums/policy_review_status.proto"; -import "google/ads/googleads/v13/resources/ad.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAdProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/common/policy.proto"; @@ -58,7 +33,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_ad.proto // Proto file describing the ad group ad resource. @@ -81,11 +55,7 @@ message AdGroupAd { ]; // The status of the ad. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_ad.proto - google.ads.googleads.v13.enums.AdGroupAdStatusEnum.AdGroupAdStatus status = 3; -======== google.ads.googleads.v14.enums.AdGroupAdStatusEnum.AdGroupAdStatus status = 3; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_ad.proto // Immutable. The ad group to which the ad belongs. optional string ad_group = 9 [ @@ -103,11 +73,7 @@ message AdGroupAd { [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Overall ad strength for this ad group ad. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_ad.proto - google.ads.googleads.v13.enums.AdStrengthEnum.AdStrength ad_strength = 7 -======== google.ads.googleads.v14.enums.AdStrengthEnum.AdStrength ad_strength = 7 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_ad.proto [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. A list of recommendations to improve the ad strength. For @@ -127,27 +93,15 @@ message AdGroupAd { // Contains policy information for an ad. message AdGroupAdPolicySummary { // Output only. The list of policy findings for this ad. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_ad.proto - repeated google.ads.googleads.v13.common.PolicyTopicEntry - policy_topic_entries = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Where in the review process this ad is. - google.ads.googleads.v13.enums.PolicyReviewStatusEnum.PolicyReviewStatus -======== repeated google.ads.googleads.v14.common.PolicyTopicEntry policy_topic_entries = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Where in the review process this ad is. google.ads.googleads.v14.enums.PolicyReviewStatusEnum.PolicyReviewStatus ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_ad.proto review_status = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The overall approval status of this ad, calculated based on // the status of its individual policy topic entries. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_ad.proto - google.ads.googleads.v13.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus -======== google.ads.googleads.v14.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_ad.proto approval_status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_ad_asset_view.proto b/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_ad_asset_view.proto index 34c102d02..eaecfd81b 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_ad_asset_view.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_ad_asset_view.proto @@ -14,27 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_ad_asset_view.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/policy.proto"; -import "google/ads/googleads/v12/enums/asset_field_type.proto"; -import "google/ads/googleads/v12/enums/asset_performance_label.proto"; -import "google/ads/googleads/v12/enums/policy_approval_status.proto"; -import "google/ads/googleads/v12/enums/policy_review_status.proto"; -import "google/ads/googleads/v12/enums/served_asset_field_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAdAssetViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/common/policy.proto"; @@ -54,7 +33,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_ad_asset_view.proto // Proto file describing the ad group ad asset view resource. @@ -97,12 +75,8 @@ message AdGroupAdAssetView { ]; // Output only. Role that the asset takes in the ad. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_ad_asset_view.proto - google.ads.googleads.v12.enums.AssetFieldTypeEnum.AssetFieldType field_type = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v14.enums.AssetFieldTypeEnum.AssetFieldType field_type = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_ad_asset_view.proto // Output only. The status between the asset and the latest version of the ad. // If true, the asset is linked to the latest version of the ad. If false, it @@ -115,34 +89,17 @@ message AdGroupAdAssetView { [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Performance of an asset linkage. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_ad_asset_view.proto - google.ads.googleads.v12.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel performance_label = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Pinned field. - google.ads.googleads.v12.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType pinned_field = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v14.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel performance_label = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Pinned field. google.ads.googleads.v14.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType pinned_field = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_ad_asset_view.proto } // Contains policy information for an ad group ad asset. message AdGroupAdAssetPolicySummary { // Output only. The list of policy findings for the ad group ad asset. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_ad_asset_view.proto - repeated google.ads.googleads.v12.common.PolicyTopicEntry policy_topic_entries = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Where in the review process this ad group ad asset is. - google.ads.googleads.v12.enums.PolicyReviewStatusEnum.PolicyReviewStatus review_status = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The overall approval status of this ad group ad asset, calculated based on - // the status of its individual policy topic entries. - google.ads.googleads.v12.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== repeated google.ads.googleads.v14.common.PolicyTopicEntry policy_topic_entries = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -154,5 +111,4 @@ message AdGroupAdAssetPolicySummary { // calculated based on the status of its individual policy topic entries. google.ads.googleads.v14.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_ad_asset_view.proto } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_ad_label.proto b/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_ad_label.proto index 4f7d9a5cf..9f528fda0 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_ad_label.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_ad_label.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_ad_label.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_ad_label.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_ad_label.proto -package google.ads.googleads.v13.resources; -======== package google.ads.googleads.v14.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_ad_label.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_ad_label.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAdLabelProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/resources;resources"; option java_multiple_files = true; @@ -45,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_ad_label.proto // Proto file describing the ad group ad label resource. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_audience_view.proto b/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_audience_view.proto index 2b95d337d..101b62ad0 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_audience_view.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_audience_view.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_audience_view.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_audience_view.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_audience_view.proto -package google.ads.googleads.v12.resources; -======== package google.ads.googleads.v14.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_audience_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_audience_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAudienceViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/resources;resources"; option java_multiple_files = true; @@ -45,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_audience_view.proto // Proto file describing the ad group audience view resource. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_bid_modifier.proto b/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_bid_modifier.proto index 59a001ee6..811b8fcce 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_bid_modifier.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_bid_modifier.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_bid_modifier.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_bid_modifier.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_bid_modifier.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/criteria.proto"; -import "google/ads/googleads/v13/enums/bid_modifier_source.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupBidModifierProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/common/criteria.proto"; @@ -50,7 +29,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_bid_modifier.proto // Proto file describing the ad group bid modifier resource. @@ -103,11 +81,7 @@ message AdGroupBidModifier { ]; // Output only. Bid modifier source. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_bid_modifier.proto - google.ads.googleads.v13.enums.BidModifierSourceEnum.BidModifierSource -======== google.ads.googleads.v14.enums.BidModifierSourceEnum.BidModifierSource ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_bid_modifier.proto bid_modifier_source = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; // The criterion of this ad group bid modifier. @@ -116,39 +90,16 @@ message AdGroupBidModifier { oneof criterion { // Immutable. Criterion for hotel date selection (default dates versus user // selected). -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_bid_modifier.proto - google.ads.googleads.v13.common.HotelDateSelectionTypeInfo -======== google.ads.googleads.v14.common.HotelDateSelectionTypeInfo ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_bid_modifier.proto hotel_date_selection_type = 5 [(google.api.field_behavior) = IMMUTABLE]; // Immutable. Criterion for number of days prior to the stay the booking is // being made. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_bid_modifier.proto - google.ads.googleads.v13.common.HotelAdvanceBookingWindowInfo -======== google.ads.googleads.v14.common.HotelAdvanceBookingWindowInfo ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_bid_modifier.proto hotel_advance_booking_window = 6 [(google.api.field_behavior) = IMMUTABLE]; // Immutable. Criterion for length of hotel stay in nights. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_bid_modifier.proto - google.ads.googleads.v13.common.HotelLengthOfStayInfo hotel_length_of_stay = - 7 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Criterion for day of the week the booking is for. - google.ads.googleads.v13.common.HotelCheckInDayInfo hotel_check_in_day = 8 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. A device criterion. - google.ads.googleads.v13.common.DeviceInfo device = 11 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Criterion for a hotel check-in date range. - google.ads.googleads.v13.common.HotelCheckInDateRangeInfo -======== google.ads.googleads.v14.common.HotelLengthOfStayInfo hotel_length_of_stay = 7 [(google.api.field_behavior) = IMMUTABLE]; @@ -162,7 +113,6 @@ message AdGroupBidModifier { // Immutable. Criterion for a hotel check-in date range. google.ads.googleads.v14.common.HotelCheckInDateRangeInfo ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_bid_modifier.proto hotel_check_in_date_range = 17 [(google.api.field_behavior) = IMMUTABLE]; } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_criterion.proto b/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_criterion.proto index 919946256..75ae7d08c 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_criterion.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_criterion.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_criterion.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_criterion.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,29 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_criterion.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/criteria.proto"; -import "google/ads/googleads/v13/common/custom_parameter.proto"; -import "google/ads/googleads/v13/enums/ad_group_criterion_approval_status.proto"; -import "google/ads/googleads/v13/enums/ad_group_criterion_status.proto"; -import "google/ads/googleads/v13/enums/bidding_source.proto"; -import "google/ads/googleads/v13/enums/criterion_system_serving_status.proto"; -import "google/ads/googleads/v13/enums/criterion_type.proto"; -import "google/ads/googleads/v13/enums/quality_score_bucket.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/common/criteria.proto"; @@ -62,7 +35,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_criterion.proto // Proto file describing the ad group criterion resource. @@ -83,29 +55,17 @@ message AdGroupCriterion { [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The performance of the ad compared to other advertisers. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_criterion.proto - google.ads.googleads.v13.enums.QualityScoreBucketEnum.QualityScoreBucket - creative_quality_score = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The quality score of the landing page. - google.ads.googleads.v13.enums.QualityScoreBucketEnum.QualityScoreBucket -======== google.ads.googleads.v14.enums.QualityScoreBucketEnum.QualityScoreBucket creative_quality_score = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The quality score of the landing page. google.ads.googleads.v14.enums.QualityScoreBucketEnum.QualityScoreBucket ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_criterion.proto post_click_quality_score = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The click-through rate compared to that of other // advertisers. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_criterion.proto - google.ads.googleads.v13.enums.QualityScoreBucketEnum.QualityScoreBucket -======== google.ads.googleads.v14.enums.QualityScoreBucketEnum.QualityScoreBucket ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_criterion.proto search_predicted_ctr = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; } @@ -168,11 +128,7 @@ message AdGroupCriterion { // excluded. The UI will show each age range as "enabled", since they're // eligible to see the ads; but AdGroupCriterion.status will show "removed", // since no positive criterion was added. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_criterion.proto - google.ads.googleads.v13.enums.AdGroupCriterionStatusEnum -======== google.ads.googleads.v14.enums.AdGroupCriterionStatusEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_criterion.proto .AdGroupCriterionStatus status = 3; // Output only. Information regarding the quality of the criterion. @@ -187,11 +143,7 @@ message AdGroupCriterion { ]; // Output only. The type of the criterion. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_criterion.proto - google.ads.googleads.v13.enums.CriterionTypeEnum.CriterionType type = 25 -======== google.ads.googleads.v14.enums.CriterionTypeEnum.CriterionType type = 25 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_criterion.proto [(google.api.field_behavior) = OUTPUT_ONLY]; // Immutable. Whether to target (`false`) or exclude (`true`) the criterion. @@ -201,20 +153,12 @@ message AdGroupCriterion { optional bool negative = 58 [(google.api.field_behavior) = IMMUTABLE]; // Output only. Serving status of the criterion. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_criterion.proto - google.ads.googleads.v13.enums.CriterionSystemServingStatusEnum -======== google.ads.googleads.v14.enums.CriterionSystemServingStatusEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_criterion.proto .CriterionSystemServingStatus system_serving_status = 52 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Approval status of the criterion. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_criterion.proto - google.ads.googleads.v13.enums.AdGroupCriterionApprovalStatusEnum -======== google.ads.googleads.v14.enums.AdGroupCriterionApprovalStatusEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_criterion.proto .AdGroupCriterionApprovalStatus approval_status = 53 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -272,21 +216,6 @@ message AdGroupCriterion { [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Source of the effective CPC bid. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_criterion.proto - google.ads.googleads.v13.enums.BiddingSourceEnum.BiddingSource - effective_cpc_bid_source = 21 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Source of the effective CPM bid. - google.ads.googleads.v13.enums.BiddingSourceEnum.BiddingSource - effective_cpm_bid_source = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Source of the effective CPV bid. - google.ads.googleads.v13.enums.BiddingSourceEnum.BiddingSource - effective_cpv_bid_source = 23 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Source of the effective Percent CPC bid. - google.ads.googleads.v13.enums.BiddingSourceEnum.BiddingSource -======== google.ads.googleads.v14.enums.BiddingSourceEnum.BiddingSource effective_cpc_bid_source = 21 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -300,7 +229,6 @@ message AdGroupCriterion { // Output only. Source of the effective Percent CPC bid. google.ads.googleads.v14.enums.BiddingSourceEnum.BiddingSource ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_criterion.proto effective_percent_cpc_bid_source = 35 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -323,11 +251,7 @@ message AdGroupCriterion { // The list of mappings used to substitute custom parameter tags in a // `tracking_url_template`, `final_urls`, or `mobile_final_urls`. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_criterion.proto - repeated google.ads.googleads.v13.common.CustomParameter -======== repeated google.ads.googleads.v14.common.CustomParameter ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_criterion.proto url_custom_parameters = 14; // The ad group criterion. @@ -335,41 +259,6 @@ message AdGroupCriterion { // Exactly one must be set. oneof criterion { // Immutable. Keyword. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_criterion.proto - google.ads.googleads.v13.common.KeywordInfo keyword = 27 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Placement. - google.ads.googleads.v13.common.PlacementInfo placement = 28 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Mobile app category. - google.ads.googleads.v13.common.MobileAppCategoryInfo mobile_app_category = - 29 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Mobile application. - google.ads.googleads.v13.common.MobileApplicationInfo mobile_application = - 30 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Listing group. - google.ads.googleads.v13.common.ListingGroupInfo listing_group = 32 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Age range. - google.ads.googleads.v13.common.AgeRangeInfo age_range = 36 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Gender. - google.ads.googleads.v13.common.GenderInfo gender = 37 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Income range. - google.ads.googleads.v13.common.IncomeRangeInfo income_range = 38 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Parental status. - google.ads.googleads.v13.common.ParentalStatusInfo parental_status = 39 -======== google.ads.googleads.v14.common.KeywordInfo keyword = 27 [(google.api.field_behavior) = IMMUTABLE]; @@ -403,60 +292,12 @@ message AdGroupCriterion { // Immutable. Parental status. google.ads.googleads.v14.common.ParentalStatusInfo parental_status = 39 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_criterion.proto [(google.api.field_behavior) = IMMUTABLE]; // Immutable. User List. // The Similar Audiences sunset starts May 2023. Refer to // https://ads-developers.googleblog.com/2022/11/announcing-deprecation-and-sunset-of.html // for other options. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_criterion.proto - google.ads.googleads.v13.common.UserListInfo user_list = 42 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. YouTube Video. - google.ads.googleads.v13.common.YouTubeVideoInfo youtube_video = 40 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. YouTube Channel. - google.ads.googleads.v13.common.YouTubeChannelInfo youtube_channel = 41 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Topic. - google.ads.googleads.v13.common.TopicInfo topic = 43 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. User Interest. - google.ads.googleads.v13.common.UserInterestInfo user_interest = 45 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Webpage - google.ads.googleads.v13.common.WebpageInfo webpage = 46 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. App Payment Model. - google.ads.googleads.v13.common.AppPaymentModelInfo app_payment_model = 47 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Custom Affinity. - google.ads.googleads.v13.common.CustomAffinityInfo custom_affinity = 48 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Custom Intent. - google.ads.googleads.v13.common.CustomIntentInfo custom_intent = 49 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Custom Audience. - google.ads.googleads.v13.common.CustomAudienceInfo custom_audience = 74 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Combined Audience. - google.ads.googleads.v13.common.CombinedAudienceInfo combined_audience = 75 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Audience. - google.ads.googleads.v13.common.AudienceInfo audience = 79 -======== google.ads.googleads.v14.common.UserListInfo user_list = 42 [(google.api.field_behavior) = IMMUTABLE]; @@ -510,7 +351,6 @@ message AdGroupCriterion { // Immutable. Language. google.ads.googleads.v14.common.LanguageInfo language = 83 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_criterion.proto [(google.api.field_behavior) = IMMUTABLE]; } } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_criterion_customizer.proto b/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_criterion_customizer.proto index 19dfce236..05a69691f 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_criterion_customizer.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_criterion_customizer.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_criterion_customizer.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_criterion_customizer.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_criterion_customizer.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/customizer_value.proto"; -import "google/ads/googleads/v13/enums/customizer_value_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionCustomizerProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/common/customizer_value.proto"; @@ -50,7 +29,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_criterion_customizer.proto // A customizer value for the associated CustomizerAttribute at the // AdGroupCriterion level. @@ -91,19 +69,11 @@ message AdGroupCriterionCustomizer { ]; // Output only. The status of the ad group criterion customizer. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_criterion_customizer.proto - google.ads.googleads.v13.enums.CustomizerValueStatusEnum.CustomizerValueStatus -======== google.ads.googleads.v14.enums.CustomizerValueStatusEnum.CustomizerValueStatus ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_criterion_customizer.proto status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; // Required. The value to associate with the customizer attribute at this // level. The value must be of the type specified for the CustomizerAttribute. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_criterion_customizer.proto - google.ads.googleads.v13.common.CustomizerValue value = 5 -======== google.ads.googleads.v14.common.CustomizerValue value = 5 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_criterion_customizer.proto [(google.api.field_behavior) = REQUIRED]; } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_criterion_label.proto b/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_criterion_label.proto index 9964cfc9e..7781925a3 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_criterion_label.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_criterion_label.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_criterion_label.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_criterion_label.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_criterion_label.proto -package google.ads.googleads.v13.resources; -======== package google.ads.googleads.v14.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_criterion_label.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_criterion_label.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionLabelProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/resources;resources"; option java_multiple_files = true; @@ -45,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_criterion_label.proto // Proto file describing the ad group criterion label resource. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_criterion_simulation.proto b/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_criterion_simulation.proto index ce074923e..6f67becfa 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_criterion_simulation.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_criterion_simulation.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_criterion_simulation.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_criterion_simulation.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,24 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_criterion_simulation.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/simulation.proto"; -import "google/ads/googleads/v13/enums/simulation_modification_method.proto"; -import "google/ads/googleads/v13/enums/simulation_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionSimulationProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/common/simulation.proto"; @@ -52,7 +30,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_criterion_simulation.proto // Proto file describing the ad group criterion simulation resource. @@ -90,19 +67,11 @@ message AdGroupCriterionSimulation { optional int64 criterion_id = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The field that the simulation modifies. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_criterion_simulation.proto - google.ads.googleads.v13.enums.SimulationTypeEnum.SimulationType type = 4 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. How the simulation modifies the field. - google.ads.googleads.v13.enums.SimulationModificationMethodEnum -======== google.ads.googleads.v14.enums.SimulationTypeEnum.SimulationType type = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. How the simulation modifies the field. google.ads.googleads.v14.enums.SimulationModificationMethodEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_criterion_simulation.proto .SimulationModificationMethod modification_method = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -117,19 +86,11 @@ message AdGroupCriterionSimulation { // List of simulation points. oneof point_list { // Output only. Simulation points if the simulation type is CPC_BID. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_criterion_simulation.proto - google.ads.googleads.v13.common.CpcBidSimulationPointList - cpc_bid_point_list = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Simulation points if the simulation type is PERCENT_CPC_BID. - google.ads.googleads.v13.common.PercentCpcBidSimulationPointList -======== google.ads.googleads.v14.common.CpcBidSimulationPointList cpc_bid_point_list = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Simulation points if the simulation type is PERCENT_CPC_BID. google.ads.googleads.v14.common.PercentCpcBidSimulationPointList ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_criterion_simulation.proto percent_cpc_bid_point_list = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_customizer.proto b/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_customizer.proto index be3a95e13..c093bcebf 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_customizer.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_customizer.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_customizer.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_customizer.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_customizer.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/customizer_value.proto"; -import "google/ads/googleads/v13/enums/customizer_value_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCustomizerProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/common/customizer_value.proto"; @@ -50,7 +29,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_customizer.proto // A customizer value for the associated CustomizerAttribute at the AdGroup // level. @@ -90,19 +68,11 @@ message AdGroupCustomizer { ]; // Output only. The status of the ad group customizer. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_customizer.proto - google.ads.googleads.v13.enums.CustomizerValueStatusEnum.CustomizerValueStatus -======== google.ads.googleads.v14.enums.CustomizerValueStatusEnum.CustomizerValueStatus ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_customizer.proto status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; // Required. The value to associate with the customizer attribute at this // level. The value must be of the type specified for the CustomizerAttribute. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_customizer.proto - google.ads.googleads.v13.common.CustomizerValue value = 5 -======== google.ads.googleads.v14.common.CustomizerValue value = 5 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_customizer.proto [(google.api.field_behavior) = REQUIRED]; } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_extension_setting.proto b/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_extension_setting.proto index de6ee1bf8..5993d6829 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_extension_setting.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_extension_setting.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_extension_setting.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_extension_setting.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_extension_setting.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/extension_setting_device.proto"; -import "google/ads/googleads/v13/enums/extension_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupExtensionSettingProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/extension_setting_device.proto"; @@ -50,7 +29,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_extension_setting.proto // Proto file describing the AdGroupExtensionSetting resource. @@ -73,11 +51,7 @@ message AdGroupExtensionSetting { ]; // Immutable. The extension type of the ad group extension setting. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_extension_setting.proto - google.ads.googleads.v13.enums.ExtensionTypeEnum.ExtensionType -======== google.ads.googleads.v14.enums.ExtensionTypeEnum.ExtensionType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_extension_setting.proto extension_type = 2 [(google.api.field_behavior) = IMMUTABLE]; // Immutable. The resource name of the ad group. The linked extension feed @@ -100,10 +74,6 @@ message AdGroupExtensionSetting { }]; // The device for which the extensions will serve. Optional. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_extension_setting.proto - google.ads.googleads.v13.enums.ExtensionSettingDeviceEnum -======== google.ads.googleads.v14.enums.ExtensionSettingDeviceEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_extension_setting.proto .ExtensionSettingDevice device = 5; } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_feed.proto b/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_feed.proto index 10eb3beb2..fc881b150 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_feed.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_feed.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_feed.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_feed.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,24 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_feed.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/matching_function.proto"; -import "google/ads/googleads/v13/enums/feed_link_status.proto"; -import "google/ads/googleads/v13/enums/placeholder_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupFeedProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/common/matching_function.proto"; @@ -52,7 +30,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_feed.proto // Proto file describing the AdGroupFeed resource. @@ -90,28 +67,16 @@ message AdGroupFeed { // Indicates which placeholder types the feed may populate under the connected // ad group. Required. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_feed.proto - repeated google.ads.googleads.v13.enums.PlaceholderTypeEnum.PlaceholderType -======== repeated google.ads.googleads.v14.enums.PlaceholderTypeEnum.PlaceholderType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_feed.proto placeholder_types = 4; // Matching function associated with the AdGroupFeed. // The matching function is used to filter the set of feed items selected. // Required. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_feed.proto - google.ads.googleads.v13.common.MatchingFunction matching_function = 5; - - // Output only. Status of the ad group feed. - // This field is read-only. - google.ads.googleads.v13.enums.FeedLinkStatusEnum.FeedLinkStatus status = 6 -======== google.ads.googleads.v14.common.MatchingFunction matching_function = 5; // Output only. Status of the ad group feed. // This field is read-only. google.ads.googleads.v14.enums.FeedLinkStatusEnum.FeedLinkStatus status = 6 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_feed.proto [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_label.proto b/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_label.proto index 06752a54c..4cca6b4dc 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_label.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_label.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_label.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_label.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_label.proto -package google.ads.googleads.v13.resources; -======== package google.ads.googleads.v14.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_label.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_label.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupLabelProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/resources;resources"; option java_multiple_files = true; @@ -45,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_label.proto // Proto file describing the ad group label resource. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_simulation.proto b/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_simulation.proto index c54a9d522..9d75cb159 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_simulation.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/ad_group_simulation.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_simulation.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_simulation.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,24 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_simulation.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/simulation.proto"; -import "google/ads/googleads/v13/enums/simulation_modification_method.proto"; -import "google/ads/googleads/v13/enums/simulation_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupSimulationProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/common/simulation.proto"; @@ -52,7 +30,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_simulation.proto // Proto file describing the ad group simulation resource. @@ -88,19 +65,11 @@ message AdGroupSimulation { optional int64 ad_group_id = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The field that the simulation modifies. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_simulation.proto - google.ads.googleads.v13.enums.SimulationTypeEnum.SimulationType type = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. How the simulation modifies the field. - google.ads.googleads.v13.enums.SimulationModificationMethodEnum -======== google.ads.googleads.v14.enums.SimulationTypeEnum.SimulationType type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. How the simulation modifies the field. google.ads.googleads.v14.enums.SimulationModificationMethodEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_simulation.proto .SimulationModificationMethod modification_method = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -115,21 +84,6 @@ message AdGroupSimulation { // List of simulation points. oneof point_list { // Output only. Simulation points if the simulation type is CPC_BID. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_simulation.proto - google.ads.googleads.v13.common.CpcBidSimulationPointList - cpc_bid_point_list = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Simulation points if the simulation type is CPV_BID. - google.ads.googleads.v13.common.CpvBidSimulationPointList - cpv_bid_point_list = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Simulation points if the simulation type is TARGET_CPA. - google.ads.googleads.v13.common.TargetCpaSimulationPointList - target_cpa_point_list = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Simulation points if the simulation type is TARGET_ROAS. - google.ads.googleads.v13.common.TargetRoasSimulationPointList -======== google.ads.googleads.v14.common.CpcBidSimulationPointList cpc_bid_point_list = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -143,7 +97,6 @@ message AdGroupSimulation { // Output only. Simulation points if the simulation type is TARGET_ROAS. google.ads.googleads.v14.common.TargetRoasSimulationPointList ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_group_simulation.proto target_roas_point_list = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; } } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/ad_parameter.proto b/third_party/googleapis/google/ads/googleads/v14/resources/ad_parameter.proto index 967707ec9..e97d3682e 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/ad_parameter.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/ad_parameter.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_parameter.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_parameter.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_parameter.proto -package google.ads.googleads.v12.resources; -======== package google.ads.googleads.v14.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_parameter.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_parameter.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdParameterProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/resources;resources"; option java_multiple_files = true; @@ -45,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_parameter.proto // Proto file describing the ad parameter resource. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/ad_schedule_view.proto b/third_party/googleapis/google/ads/googleads/v14/resources/ad_schedule_view.proto index d8b12058d..980282108 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/ad_schedule_view.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/ad_schedule_view.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_schedule_view.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_schedule_view.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_schedule_view.proto -package google.ads.googleads.v12.resources; -======== package google.ads.googleads.v14.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_schedule_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_schedule_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdScheduleViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/resources;resources"; option java_multiple_files = true; @@ -45,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/ad_schedule_view.proto // Proto file describing the ad schedule view resource. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/age_range_view.proto b/third_party/googleapis/google/ads/googleads/v14/resources/age_range_view.proto index 5977cfae4..0d2b0c9e4 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/age_range_view.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/age_range_view.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/age_range_view.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/age_range_view.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/age_range_view.proto -package google.ads.googleads.v12.resources; -======== package google.ads.googleads.v14.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/age_range_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/age_range_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AgeRangeViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/resources;resources"; option java_multiple_files = true; @@ -45,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/age_range_view.proto // Proto file describing the age range view resource. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/asset_field_type_view.proto b/third_party/googleapis/google/ads/googleads/v14/resources/asset_field_type_view.proto index 84bce9342..6b30e7a9e 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/asset_field_type_view.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/asset_field_type_view.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/asset_field_type_view.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/asset_field_type_view.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/asset_field_type_view.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/asset_field_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AssetFieldTypeViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/asset_field_type.proto"; @@ -48,7 +28,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/asset_field_type_view.proto // Proto file describing the AssetFieldTypeView resource. @@ -73,10 +52,6 @@ message AssetFieldTypeView { ]; // Output only. The asset field type of the asset field type view. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/asset_field_type_view.proto - google.ads.googleads.v13.enums.AssetFieldTypeEnum.AssetFieldType field_type = -======== google.ads.googleads.v14.enums.AssetFieldTypeEnum.AssetFieldType field_type = ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/asset_field_type_view.proto 3 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/asset_group_listing_group_filter.proto b/third_party/googleapis/google/ads/googleads/v14/resources/asset_group_listing_group_filter.proto index 86ed01be3..ff344da81 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/asset_group_listing_group_filter.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/asset_group_listing_group_filter.proto @@ -14,28 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/asset_group_listing_group_filter.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/listing_group_filter_bidding_category_level.proto"; -import "google/ads/googleads/v12/enums/listing_group_filter_custom_attribute_index.proto"; -import "google/ads/googleads/v12/enums/listing_group_filter_product_channel.proto"; -import "google/ads/googleads/v12/enums/listing_group_filter_product_condition.proto"; -import "google/ads/googleads/v12/enums/listing_group_filter_product_type_level.proto"; -import "google/ads/googleads/v12/enums/listing_group_filter_type_enum.proto"; -import "google/ads/googleads/v12/enums/listing_group_filter_vertical.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupListingGroupFilterProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/listing_group_filter_bidding_category_level.proto"; @@ -56,7 +34,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/asset_group_listing_group_filter.proto // AssetGroupListingGroupFilter represents a listing group filter tree node in // an asset group. @@ -90,13 +67,6 @@ message AssetGroupListingGroupFilter { int64 id = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; // Immutable. Type of a listing group filter node. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/asset_group_listing_group_filter.proto - google.ads.googleads.v12.enums.ListingGroupFilterTypeEnum.ListingGroupFilterType type = 4 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The vertical the current node tree represents. All nodes in the same tree - // must belong to the same vertical. - google.ads.googleads.v12.enums.ListingGroupFilterVerticalEnum.ListingGroupFilterVertical vertical = 5 [(google.api.field_behavior) = IMMUTABLE]; -======== google.ads.googleads.v14.enums.ListingGroupFilterTypeEnum .ListingGroupFilterType type = 4 [(google.api.field_behavior) = IMMUTABLE]; @@ -106,7 +76,6 @@ message AssetGroupListingGroupFilter { google.ads.googleads.v14.enums.ListingGroupFilterVerticalEnum .ListingGroupFilterVertical vertical = 5 [(google.api.field_behavior) = IMMUTABLE]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/asset_group_listing_group_filter.proto // Dimension value with which this listing group is refining its parent. // Undefined for the root group. @@ -149,12 +118,8 @@ message ListingGroupFilterDimension { optional int64 id = 1; // Indicates the level of the category in the taxonomy. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/asset_group_listing_group_filter.proto - google.ads.googleads.v12.enums.ListingGroupFilterBiddingCategoryLevelEnum.ListingGroupFilterBiddingCategoryLevel level = 2; -======== google.ads.googleads.v14.enums.ListingGroupFilterBiddingCategoryLevelEnum .ListingGroupFilterBiddingCategoryLevel level = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/asset_group_listing_group_filter.proto } // Brand of the product. @@ -166,23 +131,15 @@ message ListingGroupFilterDimension { // Locality of a product offer. message ProductChannel { // Value of the locality. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/asset_group_listing_group_filter.proto - google.ads.googleads.v12.enums.ListingGroupFilterProductChannelEnum.ListingGroupFilterProductChannel channel = 1; -======== google.ads.googleads.v14.enums.ListingGroupFilterProductChannelEnum .ListingGroupFilterProductChannel channel = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/asset_group_listing_group_filter.proto } // Condition of a product offer. message ProductCondition { // Value of the condition. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/asset_group_listing_group_filter.proto - google.ads.googleads.v12.enums.ListingGroupFilterProductConditionEnum.ListingGroupFilterProductCondition condition = 1; -======== google.ads.googleads.v14.enums.ListingGroupFilterProductConditionEnum .ListingGroupFilterProductCondition condition = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/asset_group_listing_group_filter.proto } // Custom attribute of a product offer. @@ -191,12 +148,8 @@ message ListingGroupFilterDimension { optional string value = 1; // Indicates the index of the custom attribute. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/asset_group_listing_group_filter.proto - google.ads.googleads.v12.enums.ListingGroupFilterCustomAttributeIndexEnum.ListingGroupFilterCustomAttributeIndex index = 2; -======== google.ads.googleads.v14.enums.ListingGroupFilterCustomAttributeIndexEnum .ListingGroupFilterCustomAttributeIndex index = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/asset_group_listing_group_filter.proto } // Item id of a product offer. @@ -211,12 +164,8 @@ message ListingGroupFilterDimension { optional string value = 1; // Level of the type. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/asset_group_listing_group_filter.proto - google.ads.googleads.v12.enums.ListingGroupFilterProductTypeLevelEnum.ListingGroupFilterProductTypeLevel level = 2; -======== google.ads.googleads.v14.enums.ListingGroupFilterProductTypeLevelEnum .ListingGroupFilterProductTypeLevel level = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/asset_group_listing_group_filter.proto } // Dimension of one of the types below is always present. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/asset_group_product_group_view.proto b/third_party/googleapis/google/ads/googleads/v14/resources/asset_group_product_group_view.proto index 5845245d8..d5cd0bf12 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/asset_group_product_group_view.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/asset_group_product_group_view.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/asset_group_product_group_view.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/asset_group_product_group_view.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/asset_group_product_group_view.proto -package google.ads.googleads.v12.resources; -======== package google.ads.googleads.v14.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/asset_group_product_group_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/asset_group_product_group_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupProductGroupViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/resources;resources"; option java_multiple_files = true; @@ -45,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/asset_group_product_group_view.proto // Proto file describing the AssetGroupProductGroupView resource. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/asset_group_signal.proto b/third_party/googleapis/google/ads/googleads/v14/resources/asset_group_signal.proto index be285ee58..3d1eb988e 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/asset_group_signal.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/asset_group_signal.proto @@ -14,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/asset_group_signal.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/criteria.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupSignalProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/common/criteria.proto"; @@ -44,7 +28,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/asset_group_signal.proto // AssetGroupSignal represents a signal in an asset group. The existence of a // signal tells the performance max campaign who's most likely to convert. @@ -75,13 +58,8 @@ message AssetGroupSignal { } ]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/asset_group_signal.proto - // Immutable. The signal(audience criterion) to be used by the performance max campaign. - google.ads.googleads.v12.common.AudienceInfo audience = 3 [(google.api.field_behavior) = IMMUTABLE]; -======== // Immutable. The signal(audience criterion) to be used by the performance max // campaign. google.ads.googleads.v14.common.AudienceInfo audience = 3 [(google.api.field_behavior) = IMMUTABLE]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/asset_group_signal.proto } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/asset_set_asset.proto b/third_party/googleapis/google/ads/googleads/v14/resources/asset_set_asset.proto index bb8a12a24..e460d03b8 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/asset_set_asset.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/asset_set_asset.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/asset_set_asset.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/asset_set_asset.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/asset_set_asset.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/asset_set_asset_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetAssetProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/asset_set_asset_status.proto"; @@ -48,7 +28,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/asset_set_asset.proto // AssetSetAsset is the link between an asset and an asset set. // Adding an AssetSetAsset links an asset with an asset set. @@ -84,10 +63,6 @@ message AssetSetAsset { ]; // Output only. The status of the asset set asset. Read-only. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/asset_set_asset.proto - google.ads.googleads.v13.enums.AssetSetAssetStatusEnum.AssetSetAssetStatus -======== google.ads.googleads.v14.enums.AssetSetAssetStatusEnum.AssetSetAssetStatus ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/asset_set_asset.proto status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/audience.proto b/third_party/googleapis/google/ads/googleads/v14/resources/audience.proto index ee2add662..95084e256 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/audience.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/audience.proto @@ -14,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/audience.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/audiences.proto"; -import "google/ads/googleads/v12/enums/audience_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AudienceProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/common/audiences.proto"; @@ -46,7 +29,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/audience.proto // Proto file describing the Audience resource. @@ -76,12 +58,8 @@ message Audience { // Output only. Status of this audience. Indicates whether the audience // is enabled or removed. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/audience.proto - google.ads.googleads.v12.enums.AudienceStatusEnum.AudienceStatus status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v14.enums.AudienceStatusEnum.AudienceStatus status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/audience.proto // Required. Name of the audience. It should be unique across all // audiences. It must have a minimum length of 1 and @@ -92,16 +70,9 @@ message Audience { string description = 5; // Positive dimensions specifying the audience composition. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/audience.proto - repeated google.ads.googleads.v12.common.AudienceDimension dimensions = 6; - - // Negative dimension specifying the audience composition. - google.ads.googleads.v12.common.AudienceExclusionDimension exclusion_dimension = 7; -======== repeated google.ads.googleads.v14.common.AudienceDimension dimensions = 6; // Negative dimension specifying the audience composition. google.ads.googleads.v14.common.AudienceExclusionDimension exclusion_dimension = 7; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/audience.proto } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/batch_job.proto b/third_party/googleapis/google/ads/googleads/v14/resources/batch_job.proto index 92f9efba2..7fb525c82 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/batch_job.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/batch_job.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/batch_job.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/batch_job.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/batch_job.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/batch_job_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "BatchJobProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/batch_job_status.proto"; @@ -48,7 +28,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/batch_job.proto // Proto file describing the batch job resource. @@ -123,11 +102,7 @@ message BatchJob { BatchJobMetadata metadata = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Status of this batch job. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/batch_job.proto - google.ads.googleads.v13.enums.BatchJobStatusEnum.BatchJobStatus status = 5 -======== google.ads.googleads.v14.enums.BatchJobStatusEnum.BatchJobStatus status = 5 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/batch_job.proto [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The resource name of the long-running operation that can be diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/bidding_data_exclusion.proto b/third_party/googleapis/google/ads/googleads/v14/resources/bidding_data_exclusion.proto index bb2d8d13d..f40a6aa35 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/bidding_data_exclusion.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/bidding_data_exclusion.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/bidding_data_exclusion.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/bidding_data_exclusion.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/bidding_data_exclusion.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/advertising_channel_type.proto"; -import "google/ads/googleads/v13/enums/device.proto"; -import "google/ads/googleads/v13/enums/seasonality_event_scope.proto"; -import "google/ads/googleads/v13/enums/seasonality_event_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "BiddingDataExclusionProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/advertising_channel_type.proto"; @@ -54,7 +31,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/bidding_data_exclusion.proto // Represents a bidding data exclusion. // @@ -81,19 +57,11 @@ message BiddingDataExclusion { int64 data_exclusion_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // The scope of the data exclusion. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/bidding_data_exclusion.proto - google.ads.googleads.v13.enums.SeasonalityEventScopeEnum.SeasonalityEventScope - scope = 3; - - // Output only. The status of the data exclusion. - google.ads.googleads.v13.enums.SeasonalityEventStatusEnum -======== google.ads.googleads.v14.enums.SeasonalityEventScopeEnum.SeasonalityEventScope scope = 3; // Output only. The status of the data exclusion. google.ads.googleads.v14.enums.SeasonalityEventStatusEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/bidding_data_exclusion.proto .SeasonalityEventStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -122,11 +90,7 @@ message BiddingDataExclusion { // If not specified, all devices will be included in this exclusion. // Otherwise, only the specified targeted devices will be included in this // exclusion. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/bidding_data_exclusion.proto - repeated google.ads.googleads.v13.enums.DeviceEnum.Device devices = 9; -======== repeated google.ads.googleads.v14.enums.DeviceEnum.Device devices = 9; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/bidding_data_exclusion.proto // The data exclusion will apply to the campaigns listed when the scope of // this exclusion is CAMPAIGN. The maximum number of campaigns per event is @@ -143,10 +107,6 @@ message BiddingDataExclusion { // The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. // Note: a data exclusion with both advertising_channel_types and // campaign_ids is not supported. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/bidding_data_exclusion.proto - repeated google.ads.googleads.v13.enums.AdvertisingChannelTypeEnum -======== repeated google.ads.googleads.v14.enums.AdvertisingChannelTypeEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/bidding_data_exclusion.proto .AdvertisingChannelType advertising_channel_types = 11; } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/bidding_seasonality_adjustment.proto b/third_party/googleapis/google/ads/googleads/v14/resources/bidding_seasonality_adjustment.proto index c753f22b3..4c07838d1 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/bidding_seasonality_adjustment.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/bidding_seasonality_adjustment.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/bidding_seasonality_adjustment.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/bidding_seasonality_adjustment.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/bidding_seasonality_adjustment.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/advertising_channel_type.proto"; -import "google/ads/googleads/v13/enums/device.proto"; -import "google/ads/googleads/v13/enums/seasonality_event_scope.proto"; -import "google/ads/googleads/v13/enums/seasonality_event_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "BiddingSeasonalityAdjustmentProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/advertising_channel_type.proto"; @@ -54,7 +31,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/bidding_seasonality_adjustment.proto // Represents a bidding seasonality adjustment. // @@ -82,19 +58,11 @@ message BiddingSeasonalityAdjustment { [(google.api.field_behavior) = OUTPUT_ONLY]; // The scope of the seasonality adjustment. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/bidding_seasonality_adjustment.proto - google.ads.googleads.v13.enums.SeasonalityEventScopeEnum.SeasonalityEventScope - scope = 3; - - // Output only. The status of the seasonality adjustment. - google.ads.googleads.v13.enums.SeasonalityEventStatusEnum -======== google.ads.googleads.v14.enums.SeasonalityEventScopeEnum.SeasonalityEventScope scope = 3; // Output only. The status of the seasonality adjustment. google.ads.googleads.v14.enums.SeasonalityEventStatusEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/bidding_seasonality_adjustment.proto .SeasonalityEventStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -123,11 +91,7 @@ message BiddingSeasonalityAdjustment { // If not specified, all devices will be included in this adjustment. // Otherwise, only the specified targeted devices will be included in this // adjustment. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/bidding_seasonality_adjustment.proto - repeated google.ads.googleads.v13.enums.DeviceEnum.Device devices = 9; -======== repeated google.ads.googleads.v14.enums.DeviceEnum.Device devices = 9; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/bidding_seasonality_adjustment.proto // Conversion rate modifier estimated based on expected conversion rate // changes. When this field is unset or set to 1.0 no adjustment will be @@ -149,10 +113,6 @@ message BiddingSeasonalityAdjustment { // The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. // Note: a seasonality adjustment with both advertising_channel_types and // campaign_ids is not supported. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/bidding_seasonality_adjustment.proto - repeated google.ads.googleads.v13.enums.AdvertisingChannelTypeEnum -======== repeated google.ads.googleads.v14.enums.AdvertisingChannelTypeEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/bidding_seasonality_adjustment.proto .AdvertisingChannelType advertising_channel_types = 12; } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/bidding_strategy.proto b/third_party/googleapis/google/ads/googleads/v14/resources/bidding_strategy.proto index 022e0f623..5eecf2c52 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/bidding_strategy.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/bidding_strategy.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/searchads360/v0/resources/bidding_strategy.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/bidding_strategy.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,24 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/searchads360/v0/resources/bidding_strategy.proto -package google.ads.searchads360.v0.resources; - -import "google/ads/searchads360/v0/common/bidding.proto"; -import "google/ads/searchads360/v0/enums/bidding_strategy_status.proto"; -import "google/ads/searchads360/v0/enums/bidding_strategy_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.SearchAds360.V0.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/searchads360/v0/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "BiddingStrategyProto"; -option java_package = "com.google.ads.searchads360.v0.resources"; -option objc_class_prefix = "GASA360"; -option php_namespace = "Google\\Ads\\SearchAds360\\V0\\Resources"; -option ruby_package = "Google::Ads::SearchAds360::V0::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/common/bidding.proto"; @@ -52,14 +30,13 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/bidding_strategy.proto // Proto file describing the BiddingStrategy resource // A bidding strategy. message BiddingStrategy { option (google.api.resource) = { - type: "searchads360.googleapis.com/BiddingStrategy" + type: "googleads.googleapis.com/BiddingStrategy" pattern: "customers/{customer_id}/biddingStrategies/{bidding_strategy_id}" }; @@ -70,7 +47,7 @@ message BiddingStrategy { string resource_name = 1 [ (google.api.field_behavior) = IMMUTABLE, (google.api.resource_reference) = { - type: "searchads360.googleapis.com/BiddingStrategy" + type: "googleads.googleapis.com/BiddingStrategy" } ]; @@ -87,23 +64,15 @@ message BiddingStrategy { // Output only. The status of the bidding strategy. // // This field is read-only. -<<<<<<<< HEAD:third_party/googleapis/google/ads/searchads360/v0/resources/bidding_strategy.proto - google.ads.searchads360.v0.enums.BiddingStrategyStatusEnum.BiddingStrategyStatus status = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v14.enums.BiddingStrategyStatusEnum.BiddingStrategyStatus status = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/bidding_strategy.proto // Output only. The type of the bidding strategy. // Create a bidding strategy by setting the bidding scheme. // // This field is read-only. -<<<<<<<< HEAD:third_party/googleapis/google/ads/searchads360/v0/resources/bidding_strategy.proto - google.ads.searchads360.v0.enums.BiddingStrategyTypeEnum.BiddingStrategyType type = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v14.enums.BiddingStrategyTypeEnum.BiddingStrategyType type = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/bidding_strategy.proto // Immutable. The currency used by the bidding strategy (ISO 4217 three-letter // code). @@ -155,41 +124,6 @@ message BiddingStrategy { // A bidding strategy that raises bids for clicks that seem more likely to // lead to a conversion and lowers them for clicks where they seem less // likely. -<<<<<<<< HEAD:third_party/googleapis/google/ads/searchads360/v0/resources/bidding_strategy.proto - google.ads.searchads360.v0.common.EnhancedCpc enhanced_cpc = 7; - - // An automated bidding strategy to help get the most conversion value for - // your campaigns while spending your budget. - google.ads.searchads360.v0.common.MaximizeConversionValue maximize_conversion_value = 21; - - // An automated bidding strategy to help get the most conversions for your - // campaigns while spending your budget. - google.ads.searchads360.v0.common.MaximizeConversions maximize_conversions = 22; - - // A bidding strategy that sets bids to help get as many conversions as - // possible at the target cost-per-acquisition (CPA) you set. - google.ads.searchads360.v0.common.TargetCpa target_cpa = 9; - - // A bidding strategy that automatically optimizes towards a chosen - // percentage of impressions. - google.ads.searchads360.v0.common.TargetImpressionShare target_impression_share = 48; - - // A bidding strategy that sets bids based on the target fraction of - // auctions where the advertiser should outrank a specific competitor. - // This field is deprecated. Creating a new bidding strategy with this - // field or attaching bidding strategies with this field to a campaign will - // fail. Mutates to strategies that already have this scheme populated are - // allowed. - google.ads.searchads360.v0.common.TargetOutrankShare target_outrank_share = 10; - - // A bidding strategy that helps you maximize revenue while averaging a - // specific target Return On Ad Spend (ROAS). - google.ads.searchads360.v0.common.TargetRoas target_roas = 11; - - // A bid strategy that sets your bids to help get as many clicks as - // possible within your budget. - google.ads.searchads360.v0.common.TargetSpend target_spend = 12; -======== google.ads.googleads.v14.common.EnhancedCpc enhanced_cpc = 7; // An automated bidding strategy to help get the most conversion value for @@ -218,6 +152,5 @@ message BiddingStrategy { // A bid strategy that sets your bids to help get as many clicks as // possible within your budget. google.ads.googleads.v14.common.TargetSpend target_spend = 12; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/bidding_strategy.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/bidding_strategy_simulation.proto b/third_party/googleapis/google/ads/googleads/v14/resources/bidding_strategy_simulation.proto index aaa54c578..93b0c8e22 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/bidding_strategy_simulation.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/bidding_strategy_simulation.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/bidding_strategy_simulation.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/bidding_strategy_simulation.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,24 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/bidding_strategy_simulation.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/simulation.proto"; -import "google/ads/googleads/v13/enums/simulation_modification_method.proto"; -import "google/ads/googleads/v13/enums/simulation_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "BiddingStrategySimulationProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/common/simulation.proto"; @@ -52,7 +30,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/bidding_strategy_simulation.proto // Proto file describing the bidding strategy simulation resource. @@ -82,19 +59,11 @@ message BiddingStrategySimulation { int64 bidding_strategy_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The field that the simulation modifies. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/bidding_strategy_simulation.proto - google.ads.googleads.v13.enums.SimulationTypeEnum.SimulationType type = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. How the simulation modifies the field. - google.ads.googleads.v13.enums.SimulationModificationMethodEnum -======== google.ads.googleads.v14.enums.SimulationTypeEnum.SimulationType type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. How the simulation modifies the field. google.ads.googleads.v14.enums.SimulationModificationMethodEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/bidding_strategy_simulation.proto .SimulationModificationMethod modification_method = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -109,19 +78,11 @@ message BiddingStrategySimulation { // List of simulation points. oneof point_list { // Output only. Simulation points if the simulation type is TARGET_CPA. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/bidding_strategy_simulation.proto - google.ads.googleads.v13.common.TargetCpaSimulationPointList - target_cpa_point_list = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Simulation points if the simulation type is TARGET_ROAS. - google.ads.googleads.v13.common.TargetRoasSimulationPointList -======== google.ads.googleads.v14.common.TargetCpaSimulationPointList target_cpa_point_list = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Simulation points if the simulation type is TARGET_ROAS. google.ads.googleads.v14.common.TargetRoasSimulationPointList ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/bidding_strategy_simulation.proto target_roas_point_list = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; } } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/billing_setup.proto b/third_party/googleapis/google/ads/googleads/v14/resources/billing_setup.proto index 59c352db4..5856b5ec1 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/billing_setup.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/billing_setup.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/billing_setup.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/billing_setup.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/billing_setup.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/billing_setup_status.proto"; -import "google/ads/googleads/v13/enums/time_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "BillingSetupProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/billing_setup_status.proto"; @@ -50,7 +29,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/billing_setup.proto // Proto file describing the BillingSetup resource. @@ -117,11 +95,7 @@ message BillingSetup { optional int64 id = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The status of the billing setup. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/billing_setup.proto - google.ads.googleads.v13.enums.BillingSetupStatusEnum.BillingSetupStatus -======== google.ads.googleads.v14.enums.BillingSetupStatusEnum.BillingSetupStatus ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/billing_setup.proto status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; // Immutable. The resource name of the payments account associated with this @@ -159,11 +133,7 @@ message BillingSetup { string start_date_time = 16 [(google.api.field_behavior) = IMMUTABLE]; // Immutable. The start time as a type. Only NOW is allowed. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/billing_setup.proto - google.ads.googleads.v13.enums.TimeTypeEnum.TimeType start_time_type = 10 -======== google.ads.googleads.v14.enums.TimeTypeEnum.TimeType start_time_type = 10 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/billing_setup.proto [(google.api.field_behavior) = IMMUTABLE]; } @@ -175,11 +145,7 @@ message BillingSetup { string end_date_time = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The end time as a type. The only possible value is FOREVER. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/billing_setup.proto - google.ads.googleads.v13.enums.TimeTypeEnum.TimeType end_time_type = 14 -======== google.ads.googleads.v14.enums.TimeTypeEnum.TimeType end_time_type = 14 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/billing_setup.proto [(google.api.field_behavior) = OUTPUT_ONLY]; } } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/call_view.proto b/third_party/googleapis/google/ads/googleads/v14/resources/call_view.proto index dd71c8196..fde111f8c 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/call_view.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/call_view.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/call_view.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/call_view.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,24 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/call_view.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/call_tracking_display_location.proto"; -import "google/ads/googleads/v13/enums/call_type.proto"; -import "google/ads/googleads/v13/enums/google_voice_call_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CallViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/call_tracking_display_location.proto"; @@ -52,7 +30,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/call_view.proto // Proto file describing the call view resource. @@ -92,27 +69,15 @@ message CallView { string end_call_date_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The call tracking display location. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/call_view.proto - google.ads.googleads.v13.enums.CallTrackingDisplayLocationEnum -======== google.ads.googleads.v14.enums.CallTrackingDisplayLocationEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/call_view.proto .CallTrackingDisplayLocation call_tracking_display_location = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The type of the call. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/call_view.proto - google.ads.googleads.v13.enums.CallTypeEnum.CallType type = 8 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The status of the call. - google.ads.googleads.v13.enums.GoogleVoiceCallStatusEnum.GoogleVoiceCallStatus -======== google.ads.googleads.v14.enums.CallTypeEnum.CallType type = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The status of the call. google.ads.googleads.v14.enums.GoogleVoiceCallStatusEnum.GoogleVoiceCallStatus ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/call_view.proto call_status = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/campaign_asset_set.proto b/third_party/googleapis/google/ads/googleads/v14/resources/campaign_asset_set.proto index 0216de4b4..094350391 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/campaign_asset_set.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/campaign_asset_set.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/campaign_asset_set.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_asset_set.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/campaign_asset_set.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/asset_set_link_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignAssetSetProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/asset_set_link_status.proto"; @@ -48,7 +28,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_asset_set.proto // Proto file describing the CampaignAsset resource. @@ -88,10 +67,6 @@ message CampaignAssetSet { ]; // Output only. The status of the campaign asset set asset. Read-only. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/campaign_asset_set.proto - google.ads.googleads.v13.enums.AssetSetLinkStatusEnum.AssetSetLinkStatus -======== google.ads.googleads.v14.enums.AssetSetLinkStatusEnum.AssetSetLinkStatus ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_asset_set.proto status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/campaign_audience_view.proto b/third_party/googleapis/google/ads/googleads/v14/resources/campaign_audience_view.proto index b84c2ed41..c67fbcb82 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/campaign_audience_view.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/campaign_audience_view.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/campaign_audience_view.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_audience_view.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/campaign_audience_view.proto -package google.ads.googleads.v12.resources; -======== package google.ads.googleads.v14.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_audience_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/campaign_audience_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignAudienceViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/resources;resources"; option java_multiple_files = true; @@ -45,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_audience_view.proto // Proto file describing the campaign audience view resource. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/campaign_bid_modifier.proto b/third_party/googleapis/google/ads/googleads/v14/resources/campaign_bid_modifier.proto index 07e69a23c..989334670 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/campaign_bid_modifier.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/campaign_bid_modifier.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/campaign_bid_modifier.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_bid_modifier.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/campaign_bid_modifier.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/criteria.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignBidModifierProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/common/criteria.proto"; @@ -48,7 +28,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_bid_modifier.proto // Proto file describing the Campaign Bid Modifier resource. @@ -92,11 +71,7 @@ message CampaignBidModifier { oneof criterion { // Immutable. Criterion for interaction type. Only supported for search // campaigns. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/campaign_bid_modifier.proto - google.ads.googleads.v13.common.InteractionTypeInfo interaction_type = 5 -======== google.ads.googleads.v14.common.InteractionTypeInfo interaction_type = 5 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_bid_modifier.proto [(google.api.field_behavior) = IMMUTABLE]; } } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/campaign_budget.proto b/third_party/googleapis/google/ads/googleads/v14/resources/campaign_budget.proto index eca0a49bc..2b9771ec8 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/campaign_budget.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/campaign_budget.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/campaign_budget.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_budget.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/campaign_budget.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/budget_delivery_method.proto"; -import "google/ads/googleads/v13/enums/budget_period.proto"; -import "google/ads/googleads/v13/enums/budget_status.proto"; -import "google/ads/googleads/v13/enums/budget_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignBudgetProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/budget_delivery_method.proto"; @@ -54,7 +31,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_budget.proto // Proto file describing the Budget resource. @@ -106,22 +82,14 @@ message CampaignBudget { optional int64 total_amount_micros = 22; // Output only. The status of this campaign budget. This field is read-only. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/campaign_budget.proto - google.ads.googleads.v13.enums.BudgetStatusEnum.BudgetStatus status = 6 -======== google.ads.googleads.v14.enums.BudgetStatusEnum.BudgetStatus status = 6 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_budget.proto [(google.api.field_behavior) = OUTPUT_ONLY]; // The delivery method that determines the rate at which the campaign budget // is spent. // // Defaults to STANDARD if unspecified in a create operation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/campaign_budget.proto - google.ads.googleads.v13.enums.BudgetDeliveryMethodEnum.BudgetDeliveryMethod -======== google.ads.googleads.v14.enums.BudgetDeliveryMethodEnum.BudgetDeliveryMethod ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_budget.proto delivery_method = 7; // Specifies whether the budget is explicitly shared. Defaults to true if @@ -164,11 +132,7 @@ message CampaignBudget { // Immutable. Period over which to spend the budget. Defaults to DAILY if not // specified. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/campaign_budget.proto - google.ads.googleads.v13.enums.BudgetPeriodEnum.BudgetPeriod period = 13 -======== google.ads.googleads.v14.enums.BudgetPeriodEnum.BudgetPeriod period = 13 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_budget.proto [(google.api.field_behavior) = IMMUTABLE]; // Output only. The estimated change in weekly clicks if the recommended @@ -201,11 +165,7 @@ message CampaignBudget { [(google.api.field_behavior) = OUTPUT_ONLY]; // Immutable. The type of the campaign budget. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/campaign_budget.proto - google.ads.googleads.v13.enums.BudgetTypeEnum.BudgetType type = 18 -======== google.ads.googleads.v14.enums.BudgetTypeEnum.BudgetType type = 18 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_budget.proto [(google.api.field_behavior) = IMMUTABLE]; // ID of the portfolio bidding strategy that this shared campaign budget diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/campaign_conversion_goal.proto b/third_party/googleapis/google/ads/googleads/v14/resources/campaign_conversion_goal.proto index 5814f03d9..0a0440db2 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/campaign_conversion_goal.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/campaign_conversion_goal.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/campaign_conversion_goal.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_conversion_goal.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/campaign_conversion_goal.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/conversion_action_category.proto"; -import "google/ads/googleads/v13/enums/conversion_origin.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignConversionGoalProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/conversion_action_category.proto"; @@ -50,7 +29,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_conversion_goal.proto // The biddability setting for the specified campaign only for all // conversion actions with a matching category and origin. @@ -81,19 +59,11 @@ message CampaignConversionGoal { ]; // The conversion category of this campaign conversion goal. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/campaign_conversion_goal.proto - google.ads.googleads.v13.enums.ConversionActionCategoryEnum - .ConversionActionCategory category = 3; - - // The conversion origin of this campaign conversion goal. - google.ads.googleads.v13.enums.ConversionOriginEnum.ConversionOrigin origin = -======== google.ads.googleads.v14.enums.ConversionActionCategoryEnum .ConversionActionCategory category = 3; // The conversion origin of this campaign conversion goal. google.ads.googleads.v14.enums.ConversionOriginEnum.ConversionOrigin origin = ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_conversion_goal.proto 4; // The biddability of the campaign conversion goal. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/campaign_customizer.proto b/third_party/googleapis/google/ads/googleads/v14/resources/campaign_customizer.proto index 8bf1bfd3a..801baade1 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/campaign_customizer.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/campaign_customizer.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/campaign_customizer.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_customizer.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/campaign_customizer.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/customizer_value.proto"; -import "google/ads/googleads/v13/enums/customizer_value_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignCustomizerProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/common/customizer_value.proto"; @@ -50,7 +29,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_customizer.proto // A customizer value for the associated CustomizerAttribute at the Campaign // level. @@ -90,19 +68,11 @@ message CampaignCustomizer { ]; // Output only. The status of the campaign customizer. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/campaign_customizer.proto - google.ads.googleads.v13.enums.CustomizerValueStatusEnum.CustomizerValueStatus -======== google.ads.googleads.v14.enums.CustomizerValueStatusEnum.CustomizerValueStatus ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_customizer.proto status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; // Required. The value to associate with the customizer attribute at this // level. The value must be of the type specified for the CustomizerAttribute. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/campaign_customizer.proto - google.ads.googleads.v13.common.CustomizerValue value = 5 -======== google.ads.googleads.v14.common.CustomizerValue value = 5 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_customizer.proto [(google.api.field_behavior) = REQUIRED]; } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/campaign_draft.proto b/third_party/googleapis/google/ads/googleads/v14/resources/campaign_draft.proto index 3bafe3f92..ad3afabd6 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/campaign_draft.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/campaign_draft.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/campaign_draft.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_draft.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/campaign_draft.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/campaign_draft_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignDraftProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/campaign_draft_status.proto"; @@ -48,7 +28,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_draft.proto // Proto file describing the Campaign Draft resource. @@ -106,11 +85,7 @@ message CampaignDraft { // Output only. The status of the campaign draft. This field is read-only. // // When a new campaign draft is added, the status defaults to PROPOSED. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/campaign_draft.proto - google.ads.googleads.v13.enums.CampaignDraftStatusEnum.CampaignDraftStatus -======== google.ads.googleads.v14.enums.CampaignDraftStatusEnum.CampaignDraftStatus ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_draft.proto status = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Whether there is an experiment based on this draft currently diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/campaign_extension_setting.proto b/third_party/googleapis/google/ads/googleads/v14/resources/campaign_extension_setting.proto index 92c7ff430..e2b749055 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/campaign_extension_setting.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/campaign_extension_setting.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/campaign_extension_setting.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_extension_setting.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/campaign_extension_setting.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/extension_setting_device.proto"; -import "google/ads/googleads/v13/enums/extension_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignExtensionSettingProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/extension_setting_device.proto"; @@ -50,7 +29,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_extension_setting.proto // Proto file describing the CampaignExtensionSetting resource. @@ -73,11 +51,7 @@ message CampaignExtensionSetting { ]; // Immutable. The extension type of the customer extension setting. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/campaign_extension_setting.proto - google.ads.googleads.v13.enums.ExtensionTypeEnum.ExtensionType -======== google.ads.googleads.v14.enums.ExtensionTypeEnum.ExtensionType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_extension_setting.proto extension_type = 2 [(google.api.field_behavior) = IMMUTABLE]; // Immutable. The resource name of the campaign. The linked extension feed @@ -101,10 +75,6 @@ message CampaignExtensionSetting { }]; // The device for which the extensions will serve. Optional. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/campaign_extension_setting.proto - google.ads.googleads.v13.enums.ExtensionSettingDeviceEnum -======== google.ads.googleads.v14.enums.ExtensionSettingDeviceEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_extension_setting.proto .ExtensionSettingDevice device = 5; } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/campaign_feed.proto b/third_party/googleapis/google/ads/googleads/v14/resources/campaign_feed.proto index b81224963..d8f26a1ae 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/campaign_feed.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/campaign_feed.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/campaign_feed.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_feed.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,24 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/campaign_feed.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/matching_function.proto"; -import "google/ads/googleads/v13/enums/feed_link_status.proto"; -import "google/ads/googleads/v13/enums/placeholder_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignFeedProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/common/matching_function.proto"; @@ -52,7 +30,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_feed.proto // Proto file describing the CampaignFeed resource. @@ -90,28 +67,16 @@ message CampaignFeed { // Indicates which placeholder types the feed may populate under the connected // campaign. Required. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/campaign_feed.proto - repeated google.ads.googleads.v13.enums.PlaceholderTypeEnum.PlaceholderType -======== repeated google.ads.googleads.v14.enums.PlaceholderTypeEnum.PlaceholderType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_feed.proto placeholder_types = 4; // Matching function associated with the CampaignFeed. // The matching function is used to filter the set of feed items selected. // Required. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/campaign_feed.proto - google.ads.googleads.v13.common.MatchingFunction matching_function = 5; - - // Output only. Status of the campaign feed. - // This field is read-only. - google.ads.googleads.v13.enums.FeedLinkStatusEnum.FeedLinkStatus status = 6 -======== google.ads.googleads.v14.common.MatchingFunction matching_function = 5; // Output only. Status of the campaign feed. // This field is read-only. google.ads.googleads.v14.enums.FeedLinkStatusEnum.FeedLinkStatus status = 6 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_feed.proto [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/campaign_label.proto b/third_party/googleapis/google/ads/googleads/v14/resources/campaign_label.proto index 3e82c81cb..46f3739d6 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/campaign_label.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/campaign_label.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/campaign_label.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_label.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/campaign_label.proto -package google.ads.googleads.v13.resources; -======== package google.ads.googleads.v14.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_label.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/campaign_label.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignLabelProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/resources;resources"; option java_multiple_files = true; @@ -45,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_label.proto // Proto file describing the campaign label resource. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/campaign_shared_set.proto b/third_party/googleapis/google/ads/googleads/v14/resources/campaign_shared_set.proto index 00df29606..067262ee1 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/campaign_shared_set.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/campaign_shared_set.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/campaign_shared_set.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_shared_set.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/campaign_shared_set.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/campaign_shared_set_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignSharedSetProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/campaign_shared_set_status.proto"; @@ -48,7 +28,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_shared_set.proto // Proto file describing the CampaignSharedSet resource. @@ -93,11 +72,7 @@ message CampaignSharedSet { ]; // Output only. The status of this campaign shared set. Read only. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/campaign_shared_set.proto - google.ads.googleads.v13.enums.CampaignSharedSetStatusEnum -======== google.ads.googleads.v14.enums.CampaignSharedSetStatusEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_shared_set.proto .CampaignSharedSetStatus status = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/campaign_simulation.proto b/third_party/googleapis/google/ads/googleads/v14/resources/campaign_simulation.proto index 10f231462..d4ee3c017 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/campaign_simulation.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/campaign_simulation.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/campaign_simulation.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_simulation.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,24 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/campaign_simulation.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/simulation.proto"; -import "google/ads/googleads/v13/enums/simulation_modification_method.proto"; -import "google/ads/googleads/v13/enums/simulation_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignSimulationProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/common/simulation.proto"; @@ -52,7 +30,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_simulation.proto // Proto file describing the campaign simulation resource. @@ -72,12 +49,9 @@ option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; // * MULTI_CHANNEL - TARGET_CPA - UNIFORM // * DISCOVERY - TARGET_CPA - DEFAULT // * DISPLAY - TARGET_CPA - UNIFORM -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/campaign_simulation.proto -======== // * PERFORMANCE_MAX - TARGET_CPA - UNIFORM // * PERFORMANCE_MAX - TARGET_ROAS - UNIFORM // * PERFORMANCE_MAX - BUDGET - UNIFORM ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_simulation.proto message CampaignSimulation { option (google.api.resource) = { type: "googleads.googleapis.com/CampaignSimulation" @@ -99,19 +73,11 @@ message CampaignSimulation { int64 campaign_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The field that the simulation modifies. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/campaign_simulation.proto - google.ads.googleads.v13.enums.SimulationTypeEnum.SimulationType type = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. How the simulation modifies the field. - google.ads.googleads.v13.enums.SimulationModificationMethodEnum -======== google.ads.googleads.v14.enums.SimulationTypeEnum.SimulationType type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. How the simulation modifies the field. google.ads.googleads.v14.enums.SimulationModificationMethodEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_simulation.proto .SimulationModificationMethod modification_method = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -126,17 +92,6 @@ message CampaignSimulation { // List of simulation points. oneof point_list { // Output only. Simulation points if the simulation type is CPC_BID. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/campaign_simulation.proto - google.ads.googleads.v13.common.CpcBidSimulationPointList - cpc_bid_point_list = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Simulation points if the simulation type is TARGET_CPA. - google.ads.googleads.v13.common.TargetCpaSimulationPointList - target_cpa_point_list = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Simulation points if the simulation type is TARGET_ROAS. - google.ads.googleads.v13.common.TargetRoasSimulationPointList -======== google.ads.googleads.v14.common.CpcBidSimulationPointList cpc_bid_point_list = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -146,25 +101,16 @@ message CampaignSimulation { // Output only. Simulation points if the simulation type is TARGET_ROAS. google.ads.googleads.v14.common.TargetRoasSimulationPointList ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_simulation.proto target_roas_point_list = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Simulation points if the simulation type is // TARGET_IMPRESSION_SHARE. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/campaign_simulation.proto - google.ads.googleads.v13.common.TargetImpressionShareSimulationPointList -======== google.ads.googleads.v14.common.TargetImpressionShareSimulationPointList ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_simulation.proto target_impression_share_point_list = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Simulation points if the simulation type is BUDGET. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/campaign_simulation.proto - google.ads.googleads.v13.common.BudgetSimulationPointList -======== google.ads.googleads.v14.common.BudgetSimulationPointList ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/campaign_simulation.proto budget_point_list = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; } } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/carrier_constant.proto b/third_party/googleapis/google/ads/googleads/v14/resources/carrier_constant.proto index d666b03ee..0e5cc6918 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/carrier_constant.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/carrier_constant.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/carrier_constant.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/carrier_constant.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/carrier_constant.proto -package google.ads.googleads.v12.resources; -======== package google.ads.googleads.v14.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/carrier_constant.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/carrier_constant.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CarrierConstantProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/resources;resources"; option java_multiple_files = true; @@ -45,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/carrier_constant.proto // Proto file describing the Carrier constant resource. @@ -73,12 +54,7 @@ message CarrierConstant { // Output only. The full name of the carrier in English. optional string name = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/carrier_constant.proto - // Output only. The country code of the country where the carrier is located, for example, - // "AR", "FR", etc. -======== // Output only. The country code of the country where the carrier is located, // for example, "AR", "FR", etc. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/carrier_constant.proto optional string country_code = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/change_event.proto b/third_party/googleapis/google/ads/googleads/v14/resources/change_event.proto index 495abf530..a4d7d5b5a 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/change_event.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/change_event.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/change_event.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/change_event.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,32 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/change_event.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/change_client_type.proto"; -import "google/ads/googleads/v13/enums/change_event_resource_type.proto"; -import "google/ads/googleads/v13/enums/resource_change_operation.proto"; -import "google/ads/googleads/v13/resources/ad.proto"; -import "google/ads/googleads/v13/resources/ad_group.proto"; -import "google/ads/googleads/v13/resources/ad_group_ad.proto"; -import "google/ads/googleads/v13/resources/ad_group_asset.proto"; -import "google/ads/googleads/v13/resources/ad_group_bid_modifier.proto"; -import "google/ads/googleads/v13/resources/ad_group_criterion.proto"; -import "google/ads/googleads/v13/resources/ad_group_feed.proto"; -import "google/ads/googleads/v13/resources/asset.proto"; -import "google/ads/googleads/v13/resources/asset_set.proto"; -import "google/ads/googleads/v13/resources/asset_set_asset.proto"; -import "google/ads/googleads/v13/resources/campaign.proto"; -import "google/ads/googleads/v13/resources/campaign_asset.proto"; -import "google/ads/googleads/v13/resources/campaign_asset_set.proto"; -import "google/ads/googleads/v13/resources/campaign_budget.proto"; -import "google/ads/googleads/v13/resources/campaign_criterion.proto"; -import "google/ads/googleads/v13/resources/campaign_feed.proto"; -import "google/ads/googleads/v13/resources/customer_asset.proto"; -import "google/ads/googleads/v13/resources/feed.proto"; -import "google/ads/googleads/v13/resources/feed_item.proto"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/change_client_type.proto"; @@ -68,21 +38,10 @@ import "google/ads/googleads/v14/resources/campaign_feed.proto"; import "google/ads/googleads/v14/resources/customer_asset.proto"; import "google/ads/googleads/v14/resources/feed.proto"; import "google/ads/googleads/v14/resources/feed_item.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/change_event.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/change_event.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ChangeEventProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/resources;resources"; option java_multiple_files = true; @@ -91,7 +50,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/change_event.proto // Proto file describing the Change Event resource. @@ -191,11 +149,7 @@ message ChangeEvent { // Output only. The type of the changed resource. This dictates what resource // will be set in old_resource and new_resource. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/change_event.proto - google.ads.googleads.v13.enums.ChangeEventResourceTypeEnum -======== google.ads.googleads.v14.enums.ChangeEventResourceTypeEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/change_event.proto .ChangeEventResourceType change_resource_type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -203,11 +157,7 @@ message ChangeEvent { string change_resource_name = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Where the change was made through. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/change_event.proto - google.ads.googleads.v13.enums.ChangeClientTypeEnum.ChangeClientType -======== google.ads.googleads.v14.enums.ChangeClientTypeEnum.ChangeClientType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/change_event.proto client_type = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The email of the user who made this change. @@ -222,11 +172,7 @@ message ChangeEvent { ChangedResource new_resource = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The operation on the changed resource. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/change_event.proto - google.ads.googleads.v13.enums.ResourceChangeOperationEnum -======== google.ads.googleads.v14.enums.ResourceChangeOperationEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/change_event.proto .ResourceChangeOperation resource_change_operation = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/change_status.proto b/third_party/googleapis/google/ads/googleads/v14/resources/change_status.proto index 6ba1e15ea..efb93be23 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/change_status.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/change_status.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/change_status.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/change_status.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/change_status.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/change_status_operation.proto"; -import "google/ads/googleads/v13/enums/change_status_resource_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ChangeStatusProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/change_status_operation.proto"; @@ -50,7 +29,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/change_status.proto // Proto file describing the Change Status resource. @@ -81,11 +59,7 @@ message ChangeStatus { // Output only. Represents the type of the changed resource. This dictates // what fields will be set. For example, for AD_GROUP, campaign and ad_group // fields will be set. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/change_status.proto - google.ads.googleads.v13.enums.ChangeStatusResourceTypeEnum -======== google.ads.googleads.v14.enums.ChangeStatusResourceTypeEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/change_status.proto .ChangeStatusResourceType resource_type = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -106,11 +80,7 @@ message ChangeStatus { ]; // Output only. Represents the status of the changed resource. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/change_status.proto - google.ads.googleads.v13.enums.ChangeStatusOperationEnum.ChangeStatusOperation -======== google.ads.googleads.v14.enums.ChangeStatusOperationEnum.ChangeStatusOperation ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/change_status.proto resource_status = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The AdGroupAd affected by this change. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/click_view.proto b/third_party/googleapis/google/ads/googleads/v14/resources/click_view.proto index 0f362e779..d9d31547f 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/click_view.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/click_view.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/click_view.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/click_view.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/click_view.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/click_location.proto"; -import "google/ads/googleads/v13/common/criteria.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ClickViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/common/click_location.proto"; @@ -50,7 +29,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/click_view.proto // Proto file describing the ClickView resource. @@ -82,20 +60,12 @@ message ClickView { // Output only. The location criteria matching the area of interest associated // with the impression. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/click_view.proto - google.ads.googleads.v13.common.ClickLocation area_of_interest = 3 -======== google.ads.googleads.v14.common.ClickLocation area_of_interest = 3 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/click_view.proto [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The location criteria matching the location of presence // associated with the impression. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/click_view.proto - google.ads.googleads.v13.common.ClickLocation location_of_presence = 4 -======== google.ads.googleads.v14.common.ClickLocation location_of_presence = 4 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/click_view.proto [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Page number in search results where the ad was shown. @@ -135,10 +105,6 @@ message ClickView { ]; // Output only. Basic information about the associated keyword, if it exists. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/click_view.proto - google.ads.googleads.v13.common.KeywordInfo keyword_info = 14 -======== google.ads.googleads.v14.common.KeywordInfo keyword_info = 14 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/click_view.proto [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/combined_audience.proto b/third_party/googleapis/google/ads/googleads/v14/resources/combined_audience.proto index eb4065fb2..2ce34f9e8 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/combined_audience.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/combined_audience.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/combined_audience.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/combined_audience.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/combined_audience.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/combined_audience_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CombinedAudienceProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/combined_audience_status.proto"; @@ -48,7 +28,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/combined_audience.proto // Proto file describing the Combined Audience resource. @@ -76,11 +55,7 @@ message CombinedAudience { // Output only. Status of this combined audience. Indicates whether the // combined audience is enabled or removed. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/combined_audience.proto - google.ads.googleads.v13.enums.CombinedAudienceStatusEnum -======== google.ads.googleads.v14.enums.CombinedAudienceStatusEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/combined_audience.proto .CombinedAudienceStatus status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/conversion_action.proto b/third_party/googleapis/google/ads/googleads/v14/resources/conversion_action.proto index 102d053b4..b97cf00e4 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/conversion_action.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/conversion_action.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/conversion_action.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/conversion_action.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,30 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/conversion_action.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/tag_snippet.proto"; -import "google/ads/googleads/v13/enums/attribution_model.proto"; -import "google/ads/googleads/v13/enums/conversion_action_category.proto"; -import "google/ads/googleads/v13/enums/conversion_action_counting_type.proto"; -import "google/ads/googleads/v13/enums/conversion_action_status.proto"; -import "google/ads/googleads/v13/enums/conversion_action_type.proto"; -import "google/ads/googleads/v13/enums/conversion_origin.proto"; -import "google/ads/googleads/v13/enums/data_driven_model_status.proto"; -import "google/ads/googleads/v13/enums/mobile_app_vendor.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ConversionActionProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/common/tag_snippet.proto"; @@ -64,7 +36,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/conversion_action.proto // Proto file describing the Conversion Action resource. @@ -78,20 +49,12 @@ message ConversionAction { // Settings related to this conversion action's attribution model. message AttributionModelSettings { // The attribution model type of this conversion action. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/conversion_action.proto - google.ads.googleads.v13.enums.AttributionModelEnum.AttributionModel -======== google.ads.googleads.v14.enums.AttributionModelEnum.AttributionModel ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/conversion_action.proto attribution_model = 1; // Output only. The status of the data-driven attribution model for the // conversion action. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/conversion_action.proto - google.ads.googleads.v13.enums.DataDrivenModelStatusEnum -======== google.ads.googleads.v14.enums.DataDrivenModelStatusEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/conversion_action.proto .DataDrivenModelStatus data_driven_model_status = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; } @@ -137,8 +100,6 @@ message ConversionAction { // Output only. The GA property name of the conversion. string property_name = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/conversion_action.proto -======== } // Settings related to a Google Analytics 4 conversion action. @@ -151,7 +112,6 @@ message ConversionAction { // Output only. The ID of the GA 4 property. int64 property_id = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/conversion_action.proto } // Immutable. The resource name of the conversion action. @@ -175,17 +135,6 @@ message ConversionAction { optional string name = 22; // The status of this conversion action for conversion event accrual. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/conversion_action.proto - google.ads.googleads.v13.enums.ConversionActionStatusEnum - .ConversionActionStatus status = 4; - - // Immutable. The type of this conversion action. - google.ads.googleads.v13.enums.ConversionActionTypeEnum.ConversionActionType - type = 5 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The conversion origin of this conversion action. - google.ads.googleads.v13.enums.ConversionOriginEnum.ConversionOrigin origin = -======== google.ads.googleads.v14.enums.ConversionActionStatusEnum .ConversionActionStatus status = 4; @@ -195,7 +144,6 @@ message ConversionAction { // Output only. The conversion origin of this conversion action. google.ads.googleads.v14.enums.ConversionOriginEnum.ConversionOrigin origin = ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/conversion_action.proto 30 [(google.api.field_behavior) = OUTPUT_ONLY]; // If a conversion action's primary_for_goal bit is false, the conversion @@ -211,11 +159,7 @@ message ConversionAction { optional bool primary_for_goal = 31; // The category of conversions reported for this conversion action. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/conversion_action.proto - google.ads.googleads.v13.enums.ConversionActionCategoryEnum -======== google.ads.googleads.v14.enums.ConversionActionCategoryEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/conversion_action.proto .ConversionActionCategory category = 6; // Output only. The resource name of the conversion action owner customer, or @@ -244,22 +188,14 @@ message ConversionAction { ValueSettings value_settings = 11; // How to count conversion events for the conversion action. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/conversion_action.proto - google.ads.googleads.v13.enums.ConversionActionCountingTypeEnum -======== google.ads.googleads.v14.enums.ConversionActionCountingTypeEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/conversion_action.proto .ConversionActionCountingType counting_type = 12; // Settings related to this conversion action's attribution model. AttributionModelSettings attribution_model_settings = 13; // Output only. The snippets used for tracking conversions. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/conversion_action.proto - repeated google.ads.googleads.v13.common.TagSnippet tag_snippets = 14 -======== repeated google.ads.googleads.v14.common.TagSnippet tag_snippets = 14 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/conversion_action.proto [(google.api.field_behavior) = OUTPUT_ONLY]; // The phone call duration in seconds after which a conversion should be @@ -272,11 +208,7 @@ message ConversionAction { optional string app_id = 28; // Output only. Mobile app vendor for an app conversion action. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/conversion_action.proto - google.ads.googleads.v13.enums.MobileAppVendorEnum.MobileAppVendor -======== google.ads.googleads.v14.enums.MobileAppVendorEnum.MobileAppVendor ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/conversion_action.proto mobile_app_vendor = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Firebase settings for Firebase conversion types. @@ -287,12 +219,9 @@ message ConversionAction { // types. ThirdPartyAppAnalyticsSettings third_party_app_analytics_settings = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/conversion_action.proto -======== // Output only. Google Analytics 4 settings for Google Analytics 4 conversion // types. GoogleAnalytics4Settings google_analytics_4_settings = 34 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/conversion_action.proto } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/conversion_custom_variable.proto b/third_party/googleapis/google/ads/googleads/v14/resources/conversion_custom_variable.proto index 5abea8336..6e9a4aad6 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/conversion_custom_variable.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/conversion_custom_variable.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/conversion_custom_variable.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/conversion_custom_variable.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/conversion_custom_variable.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/conversion_custom_variable_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ConversionCustomVariableProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/conversion_custom_variable_status.proto"; @@ -48,7 +28,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/conversion_custom_variable.proto // Proto file describing the Conversion Custom Variable resource. @@ -93,11 +72,7 @@ message ConversionCustomVariable { ]; // The status of the conversion custom variable for conversion event accrual. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/conversion_custom_variable.proto - google.ads.googleads.v13.enums.ConversionCustomVariableStatusEnum -======== google.ads.googleads.v14.enums.ConversionCustomVariableStatusEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/conversion_custom_variable.proto .ConversionCustomVariableStatus status = 5; // Output only. The resource name of the customer that owns the conversion diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/conversion_goal_campaign_config.proto b/third_party/googleapis/google/ads/googleads/v14/resources/conversion_goal_campaign_config.proto index 494041fd3..7fa2d6ed4 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/conversion_goal_campaign_config.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/conversion_goal_campaign_config.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/conversion_goal_campaign_config.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/conversion_goal_campaign_config.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/conversion_goal_campaign_config.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/goal_config_level.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ConversionGoalCampaignConfigProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/goal_config_level.proto"; @@ -48,7 +28,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/conversion_goal_campaign_config.proto // Conversion goal settings for a Campaign. message ConversionGoalCampaignConfig { @@ -78,11 +57,7 @@ message ConversionGoalCampaignConfig { ]; // The level of goal config the campaign is using. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/conversion_goal_campaign_config.proto - google.ads.googleads.v13.enums.GoalConfigLevelEnum.GoalConfigLevel -======== google.ads.googleads.v14.enums.GoalConfigLevelEnum.GoalConfigLevel ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/conversion_goal_campaign_config.proto goal_config_level = 3; // The custom conversion goal the campaign is using for optimization. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/conversion_value_rule.proto b/third_party/googleapis/google/ads/googleads/v14/resources/conversion_value_rule.proto index 7a74f70ce..dd8aec413 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/conversion_value_rule.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/conversion_value_rule.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/conversion_value_rule.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/conversion_value_rule.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/conversion_value_rule.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/conversion_value_rule_status.proto"; -import "google/ads/googleads/v13/enums/value_rule_device_type.proto"; -import "google/ads/googleads/v13/enums/value_rule_geo_location_match_type.proto"; -import "google/ads/googleads/v13/enums/value_rule_operation.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ConversionValueRuleProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/conversion_value_rule_status.proto"; @@ -54,7 +31,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/conversion_value_rule.proto // Proto file describing the Conversion Value Rule resource. @@ -68,11 +44,7 @@ message ConversionValueRule { // Action applied when rule is applied. message ValueRuleAction { // Specifies applied operation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/conversion_value_rule.proto - google.ads.googleads.v13.enums.ValueRuleOperationEnum.ValueRuleOperation -======== google.ads.googleads.v14.enums.ValueRuleOperationEnum.ValueRuleOperation ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/conversion_value_rule.proto operation = 1; // Specifies applied value. @@ -88,11 +60,7 @@ message ConversionValueRule { }]; // Excluded Geo location match type. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/conversion_value_rule.proto - google.ads.googleads.v13.enums.ValueRuleGeoLocationMatchTypeEnum -======== google.ads.googleads.v14.enums.ValueRuleGeoLocationMatchTypeEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/conversion_value_rule.proto .ValueRuleGeoLocationMatchType excluded_geo_match_type = 2; // Geo locations that advertisers want to include. @@ -102,22 +70,14 @@ message ConversionValueRule { }]; // Included Geo location match type. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/conversion_value_rule.proto - google.ads.googleads.v13.enums.ValueRuleGeoLocationMatchTypeEnum -======== google.ads.googleads.v14.enums.ValueRuleGeoLocationMatchTypeEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/conversion_value_rule.proto .ValueRuleGeoLocationMatchType geo_match_type = 4; } // Condition on Device dimension. message ValueRuleDeviceCondition { // Value for device type condition. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/conversion_value_rule.proto - repeated google.ads.googleads.v13.enums.ValueRuleDeviceTypeEnum -======== repeated google.ads.googleads.v14.enums.ValueRuleDeviceTypeEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/conversion_value_rule.proto .ValueRuleDeviceType device_types = 1; } @@ -178,10 +138,6 @@ message ConversionValueRule { ]; // The status of the conversion value rule. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/conversion_value_rule.proto - google.ads.googleads.v13.enums.ConversionValueRuleStatusEnum -======== google.ads.googleads.v14.enums.ConversionValueRuleStatusEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/conversion_value_rule.proto .ConversionValueRuleStatus status = 8; } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/conversion_value_rule_set.proto b/third_party/googleapis/google/ads/googleads/v14/resources/conversion_value_rule_set.proto index 8fa336559..3ff7798e9 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/conversion_value_rule_set.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/conversion_value_rule_set.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/conversion_value_rule_set.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/conversion_value_rule_set.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/conversion_value_rule_set.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/conversion_action_category.proto"; -import "google/ads/googleads/v13/enums/conversion_value_rule_set_status.proto"; -import "google/ads/googleads/v13/enums/value_rule_set_attachment_type.proto"; -import "google/ads/googleads/v13/enums/value_rule_set_dimension.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ConversionValueRuleSetProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/conversion_action_category.proto"; @@ -54,7 +31,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/conversion_value_rule_set.proto // Proto file describing the Conversion Value Rule Set resource. @@ -91,11 +67,7 @@ message ConversionValueRuleSet { // When using value rule primary dimension segmentation, conversion values // will be segmented into the values adjusted by value rules and the original // values, if some value rules apply. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/conversion_value_rule_set.proto - repeated google.ads.googleads.v13.enums.ValueRuleSetDimensionEnum -======== repeated google.ads.googleads.v14.enums.ValueRuleSetDimensionEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/conversion_value_rule_set.proto .ValueRuleSetDimension dimensions = 4; // Output only. The resource name of the conversion value rule set's owner @@ -112,11 +84,7 @@ message ConversionValueRuleSet { // Immutable. Defines the scope where the conversion value rule set is // attached. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/conversion_value_rule_set.proto - google.ads.googleads.v13.enums.ValueRuleSetAttachmentTypeEnum -======== google.ads.googleads.v14.enums.ValueRuleSetAttachmentTypeEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/conversion_value_rule_set.proto .ValueRuleSetAttachmentType attachment_type = 6 [(google.api.field_behavior) = IMMUTABLE]; @@ -128,21 +96,13 @@ message ConversionValueRuleSet { // Output only. The status of the conversion value rule set. // ** Read-only ** -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/conversion_value_rule_set.proto - google.ads.googleads.v13.enums.ConversionValueRuleSetStatusEnum -======== google.ads.googleads.v14.enums.ConversionValueRuleSetStatusEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/conversion_value_rule_set.proto .ConversionValueRuleSetStatus status = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; // Immutable. The conversion action categories of the conversion value rule // set. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/conversion_value_rule_set.proto - repeated google.ads.googleads.v13.enums.ConversionActionCategoryEnum -======== repeated google.ads.googleads.v14.enums.ConversionActionCategoryEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/conversion_value_rule_set.proto .ConversionActionCategory conversion_action_categories = 9 [(google.api.field_behavior) = IMMUTABLE]; } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/currency_constant.proto b/third_party/googleapis/google/ads/googleads/v14/resources/currency_constant.proto index f7af781fb..384577009 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/currency_constant.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/currency_constant.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/currency_constant.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/currency_constant.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/currency_constant.proto -package google.ads.googleads.v13.resources; -======== package google.ads.googleads.v14.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/currency_constant.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/currency_constant.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CurrencyConstantProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/resources;resources"; option java_multiple_files = true; @@ -45,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/currency_constant.proto // Proto file describing the Currency Constant resource. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/custom_audience.proto b/third_party/googleapis/google/ads/googleads/v14/resources/custom_audience.proto index 0f7f57b25..1261ea411 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/custom_audience.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/custom_audience.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/custom_audience.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/custom_audience.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,24 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/custom_audience.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/custom_audience_member_type.proto"; -import "google/ads/googleads/v13/enums/custom_audience_status.proto"; -import "google/ads/googleads/v13/enums/custom_audience_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomAudienceProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/custom_audience_member_type.proto"; @@ -52,7 +30,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/custom_audience.proto // Proto file describing the Custom Audience resource. @@ -79,11 +56,7 @@ message CustomAudience { // Output only. Status of this custom audience. Indicates whether the custom // audience is enabled or removed. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/custom_audience.proto - google.ads.googleads.v13.enums.CustomAudienceStatusEnum.CustomAudienceStatus -======== google.ads.googleads.v14.enums.CustomAudienceStatusEnum.CustomAudienceStatus ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/custom_audience.proto status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; // Name of the custom audience. It should be unique for all custom audiences @@ -94,11 +67,7 @@ message CustomAudience { // Type of the custom audience. // ("INTEREST" OR "PURCHASE_INTENT" is not allowed for newly created custom // audience but kept for existing audiences) -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/custom_audience.proto - google.ads.googleads.v13.enums.CustomAudienceTypeEnum.CustomAudienceType -======== google.ads.googleads.v14.enums.CustomAudienceTypeEnum.CustomAudienceType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/custom_audience.proto type = 5; // Description of this custom audience. @@ -114,11 +83,7 @@ message CustomAudience { // PLACE_CATEGORY or APP. It can only be created or removed but not changed. message CustomAudienceMember { // The type of custom audience member, KEYWORD, URL, PLACE_CATEGORY or APP. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/custom_audience.proto - google.ads.googleads.v13.enums.CustomAudienceMemberTypeEnum -======== google.ads.googleads.v14.enums.CustomAudienceMemberTypeEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/custom_audience.proto .CustomAudienceMemberType member_type = 1; // The CustomAudienceMember value. One field is populated depending on the diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/custom_conversion_goal.proto b/third_party/googleapis/google/ads/googleads/v14/resources/custom_conversion_goal.proto index 28f0da55e..968de51ca 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/custom_conversion_goal.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/custom_conversion_goal.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/custom_conversion_goal.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/custom_conversion_goal.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/custom_conversion_goal.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/custom_conversion_goal_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomConversionGoalProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/custom_conversion_goal_status.proto"; @@ -48,7 +28,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/custom_conversion_goal.proto // Custom conversion goal that can make arbitrary conversion actions biddable. message CustomConversionGoal { @@ -80,10 +59,6 @@ message CustomConversionGoal { }]; // The status of the custom conversion goal. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/custom_conversion_goal.proto - google.ads.googleads.v13.enums.CustomConversionGoalStatusEnum -======== google.ads.googleads.v14.enums.CustomConversionGoalStatusEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/custom_conversion_goal.proto .CustomConversionGoalStatus status = 5; } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/custom_interest.proto b/third_party/googleapis/google/ads/googleads/v14/resources/custom_interest.proto index 3b3635b26..a5be26dc7 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/custom_interest.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/custom_interest.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/custom_interest.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/custom_interest.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,24 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/custom_interest.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/custom_interest_member_type.proto"; -import "google/ads/googleads/v13/enums/custom_interest_status.proto"; -import "google/ads/googleads/v13/enums/custom_interest_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomInterestProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/custom_interest_member_type.proto"; @@ -52,7 +30,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/custom_interest.proto // Proto file describing the Custom Interest resource. @@ -79,11 +56,7 @@ message CustomInterest { // Status of this custom interest. Indicates whether the custom interest is // enabled or removed. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/custom_interest.proto - google.ads.googleads.v13.enums.CustomInterestStatusEnum.CustomInterestStatus -======== google.ads.googleads.v14.enums.CustomInterestStatusEnum.CustomInterestStatus ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/custom_interest.proto status = 3; // Name of the custom interest. It should be unique across the same custom @@ -93,11 +66,7 @@ message CustomInterest { // Type of the custom interest, CUSTOM_AFFINITY or CUSTOM_INTENT. // By default the type is set to CUSTOM_AFFINITY. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/custom_interest.proto - google.ads.googleads.v13.enums.CustomInterestTypeEnum.CustomInterestType -======== google.ads.googleads.v14.enums.CustomInterestTypeEnum.CustomInterestType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/custom_interest.proto type = 5; // Description of this custom interest audience. @@ -113,11 +82,7 @@ message CustomInterest { // It is immutable, that is, it can only be created or removed but not changed. message CustomInterestMember { // The type of custom interest member, KEYWORD or URL. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/custom_interest.proto - google.ads.googleads.v13.enums.CustomInterestMemberTypeEnum -======== google.ads.googleads.v14.enums.CustomInterestMemberTypeEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/custom_interest.proto .CustomInterestMemberType member_type = 1; // Keyword text when member_type is KEYWORD or URL string when diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/customer_client.proto b/third_party/googleapis/google/ads/googleads/v14/resources/customer_client.proto index fb9aba724..ed60bc259 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/customer_client.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/customer_client.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/customer_client.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/customer_client.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/customer_client.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/customer_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerClientProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/customer_status.proto"; @@ -48,7 +28,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/customer_client.proto // Proto file describing the CustomerClient resource. @@ -122,10 +101,6 @@ message CustomerClient { ]; // Output only. The status of the client customer. Read only. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/customer_client.proto - google.ads.googleads.v13.enums.CustomerStatusEnum.CustomerStatus status = 22 -======== google.ads.googleads.v14.enums.CustomerStatusEnum.CustomerStatus status = 22 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/customer_client.proto [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/customer_client_link.proto b/third_party/googleapis/google/ads/googleads/v14/resources/customer_client_link.proto index 8aeeb5fff..72b5ca835 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/customer_client_link.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/customer_client_link.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/customer_client_link.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/customer_client_link.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/customer_client_link.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/manager_link_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerClientLinkProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/manager_link_status.proto"; @@ -48,7 +28,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/customer_client_link.proto // Proto file describing the CustomerClientLink resource. @@ -82,11 +61,7 @@ message CustomerClientLink { [(google.api.field_behavior) = OUTPUT_ONLY]; // This is the status of the link between client and manager. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/customer_client_link.proto - google.ads.googleads.v13.enums.ManagerLinkStatusEnum.ManagerLinkStatus -======== google.ads.googleads.v14.enums.ManagerLinkStatusEnum.ManagerLinkStatus ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/customer_client_link.proto status = 5; // The visibility of the link. Users can choose whether or not to see hidden diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/customer_conversion_goal.proto b/third_party/googleapis/google/ads/googleads/v14/resources/customer_conversion_goal.proto index 9993ce62f..e5386c154 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/customer_conversion_goal.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/customer_conversion_goal.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/customer_conversion_goal.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/customer_conversion_goal.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/customer_conversion_goal.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/conversion_action_category.proto"; -import "google/ads/googleads/v13/enums/conversion_origin.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerConversionGoalProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/conversion_action_category.proto"; @@ -50,7 +29,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/customer_conversion_goal.proto // Biddability control for conversion actions with a matching category and // origin. @@ -73,21 +51,13 @@ message CustomerConversionGoal { // The conversion category of this customer conversion goal. Only // conversion actions that have this category will be included in this goal. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/customer_conversion_goal.proto - google.ads.googleads.v13.enums.ConversionActionCategoryEnum -======== google.ads.googleads.v14.enums.ConversionActionCategoryEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/customer_conversion_goal.proto .ConversionActionCategory category = 2; // The conversion origin of this customer conversion goal. Only // conversion actions that have this conversion origin will be included in // this goal. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/customer_conversion_goal.proto - google.ads.googleads.v13.enums.ConversionOriginEnum.ConversionOrigin origin = -======== google.ads.googleads.v14.enums.ConversionOriginEnum.ConversionOrigin origin = ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/customer_conversion_goal.proto 3; // The biddability of the customer conversion goal. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/customer_customizer.proto b/third_party/googleapis/google/ads/googleads/v14/resources/customer_customizer.proto index bc83e1962..eeb705fb0 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/customer_customizer.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/customer_customizer.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/customer_customizer.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/customer_customizer.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/customer_customizer.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/customizer_value.proto"; -import "google/ads/googleads/v13/enums/customizer_value_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerCustomizerProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/common/customizer_value.proto"; @@ -50,7 +29,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/customer_customizer.proto // A customizer value for the associated CustomizerAttribute at the Customer // level. @@ -82,19 +60,11 @@ message CustomerCustomizer { ]; // Output only. The status of the customer customizer attribute. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/customer_customizer.proto - google.ads.googleads.v13.enums.CustomizerValueStatusEnum.CustomizerValueStatus -======== google.ads.googleads.v14.enums.CustomizerValueStatusEnum.CustomizerValueStatus ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/customer_customizer.proto status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; // Required. The value to associate with the customizer attribute at this // level. The value must be of the type specified for the CustomizerAttribute. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/customer_customizer.proto - google.ads.googleads.v13.common.CustomizerValue value = 4 -======== google.ads.googleads.v14.common.CustomizerValue value = 4 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/customer_customizer.proto [(google.api.field_behavior) = REQUIRED]; } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/customer_extension_setting.proto b/third_party/googleapis/google/ads/googleads/v14/resources/customer_extension_setting.proto index c0bfc8edd..33499f8a9 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/customer_extension_setting.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/customer_extension_setting.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/customer_extension_setting.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/customer_extension_setting.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/customer_extension_setting.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/extension_setting_device.proto"; -import "google/ads/googleads/v13/enums/extension_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerExtensionSettingProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/extension_setting_device.proto"; @@ -50,7 +29,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/customer_extension_setting.proto // Proto file describing the CustomerExtensionSetting resource. @@ -73,11 +51,7 @@ message CustomerExtensionSetting { ]; // Immutable. The extension type of the customer extension setting. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/customer_extension_setting.proto - google.ads.googleads.v13.enums.ExtensionTypeEnum.ExtensionType -======== google.ads.googleads.v14.enums.ExtensionTypeEnum.ExtensionType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/customer_extension_setting.proto extension_type = 2 [(google.api.field_behavior) = IMMUTABLE]; // The resource names of the extension feed items to serve under the customer. @@ -89,10 +63,6 @@ message CustomerExtensionSetting { }]; // The device for which the extensions will serve. Optional. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/customer_extension_setting.proto - google.ads.googleads.v13.enums.ExtensionSettingDeviceEnum -======== google.ads.googleads.v14.enums.ExtensionSettingDeviceEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/customer_extension_setting.proto .ExtensionSettingDevice device = 4; } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/customer_feed.proto b/third_party/googleapis/google/ads/googleads/v14/resources/customer_feed.proto index dd0a63572..02c8b4487 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/customer_feed.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/customer_feed.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/customer_feed.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/customer_feed.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,24 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/customer_feed.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/matching_function.proto"; -import "google/ads/googleads/v13/enums/feed_link_status.proto"; -import "google/ads/googleads/v13/enums/placeholder_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerFeedProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/common/matching_function.proto"; @@ -52,7 +30,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/customer_feed.proto // Proto file describing the CustomerFeed resource. @@ -82,28 +59,16 @@ message CustomerFeed { // Indicates which placeholder types the feed may populate under the connected // customer. Required. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/customer_feed.proto - repeated google.ads.googleads.v13.enums.PlaceholderTypeEnum.PlaceholderType -======== repeated google.ads.googleads.v14.enums.PlaceholderTypeEnum.PlaceholderType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/customer_feed.proto placeholder_types = 3; // Matching function associated with the CustomerFeed. // The matching function is used to filter the set of feed items selected. // Required. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/customer_feed.proto - google.ads.googleads.v13.common.MatchingFunction matching_function = 4; - - // Output only. Status of the customer feed. - // This field is read-only. - google.ads.googleads.v13.enums.FeedLinkStatusEnum.FeedLinkStatus status = 5 -======== google.ads.googleads.v14.common.MatchingFunction matching_function = 4; // Output only. Status of the customer feed. // This field is read-only. google.ads.googleads.v14.enums.FeedLinkStatusEnum.FeedLinkStatus status = 5 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/customer_feed.proto [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/customer_label.proto b/third_party/googleapis/google/ads/googleads/v14/resources/customer_label.proto index d7fea9b40..90b41f25c 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/customer_label.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/customer_label.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/customer_label.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/customer_label.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/customer_label.proto -package google.ads.googleads.v13.resources; -======== package google.ads.googleads.v14.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/customer_label.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/customer_label.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerLabelProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/resources;resources"; option java_multiple_files = true; @@ -45,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/customer_label.proto // Proto file describing the customer label resource. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/customer_manager_link.proto b/third_party/googleapis/google/ads/googleads/v14/resources/customer_manager_link.proto index 46810b9d3..36b535fef 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/customer_manager_link.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/customer_manager_link.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/customer_manager_link.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/customer_manager_link.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/customer_manager_link.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/manager_link_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerManagerLinkProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/manager_link_status.proto"; @@ -48,7 +28,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/customer_manager_link.proto // Proto file describing the CustomerManagerLink resource. @@ -82,10 +61,6 @@ message CustomerManagerLink { [(google.api.field_behavior) = OUTPUT_ONLY]; // Status of the link between the customer and the manager. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/customer_manager_link.proto - google.ads.googleads.v13.enums.ManagerLinkStatusEnum.ManagerLinkStatus -======== google.ads.googleads.v14.enums.ManagerLinkStatusEnum.ManagerLinkStatus ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/customer_manager_link.proto status = 5; } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/customer_negative_criterion.proto b/third_party/googleapis/google/ads/googleads/v14/resources/customer_negative_criterion.proto index ec9110dad..8f59c44cf 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/customer_negative_criterion.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/customer_negative_criterion.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/customer_negative_criterion.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/customer_negative_criterion.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/customer_negative_criterion.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/criteria.proto"; -import "google/ads/googleads/v13/enums/criterion_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerNegativeCriterionProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/common/criteria.proto"; @@ -50,7 +29,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/customer_negative_criterion.proto // Proto file describing the Customer Negative Criterion resource. @@ -76,11 +54,7 @@ message CustomerNegativeCriterion { optional int64 id = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The type of the criterion. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/customer_negative_criterion.proto - google.ads.googleads.v13.enums.CriterionTypeEnum.CriterionType type = 3 -======== google.ads.googleads.v14.enums.CriterionTypeEnum.CriterionType type = 3 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/customer_negative_criterion.proto [(google.api.field_behavior) = OUTPUT_ONLY]; // The customer negative criterion. @@ -88,30 +62,6 @@ message CustomerNegativeCriterion { // Exactly one must be set. oneof criterion { // Immutable. ContentLabel. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/customer_negative_criterion.proto - google.ads.googleads.v13.common.ContentLabelInfo content_label = 4 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. MobileApplication. - google.ads.googleads.v13.common.MobileApplicationInfo mobile_application = 5 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. MobileAppCategory. - google.ads.googleads.v13.common.MobileAppCategoryInfo mobile_app_category = - 6 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Placement. - google.ads.googleads.v13.common.PlacementInfo placement = 7 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. YouTube Video. - google.ads.googleads.v13.common.YouTubeVideoInfo youtube_video = 8 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. YouTube Channel. - google.ads.googleads.v13.common.YouTubeChannelInfo youtube_channel = 9 - [(google.api.field_behavior) = IMMUTABLE]; -======== google.ads.googleads.v14.common.ContentLabelInfo content_label = 4 [(google.api.field_behavior) = IMMUTABLE]; @@ -138,6 +88,5 @@ message CustomerNegativeCriterion { // Immutable. NegativeKeywordList. google.ads.googleads.v14.common.NegativeKeywordListInfo negative_keyword_list = 11 [(google.api.field_behavior) = IMMUTABLE]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/customer_negative_criterion.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/customer_user_access.proto b/third_party/googleapis/google/ads/googleads/v14/resources/customer_user_access.proto index 7736bff78..50d1e6ac9 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/customer_user_access.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/customer_user_access.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/customer_user_access.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/customer_user_access.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/customer_user_access.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/access_role.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerUserAccessProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/access_role.proto"; @@ -48,7 +28,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/customer_user_access.proto // Proto file describing the CustomerUserAccess resource. @@ -78,11 +57,7 @@ message CustomerUserAccess { optional string email_address = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; // Access role of the user. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/customer_user_access.proto - google.ads.googleads.v13.enums.AccessRoleEnum.AccessRole access_role = 4; -======== google.ads.googleads.v14.enums.AccessRoleEnum.AccessRole access_role = 4; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/customer_user_access.proto // Output only. The customer user access creation time. // Read only field diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/customer_user_access_invitation.proto b/third_party/googleapis/google/ads/googleads/v14/resources/customer_user_access_invitation.proto index 3398ca8a0..4a22657ec 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/customer_user_access_invitation.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/customer_user_access_invitation.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/customer_user_access_invitation.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/customer_user_access_invitation.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/customer_user_access_invitation.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/access_invitation_status.proto"; -import "google/ads/googleads/v13/enums/access_role.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerUserAccessInvitationProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/access_invitation_status.proto"; @@ -50,7 +29,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/customer_user_access_invitation.proto // Proto file describing the CustomerUserAccessInvitation resource. @@ -76,11 +54,7 @@ message CustomerUserAccessInvitation { int64 invitation_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Immutable. Access role of the user. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/customer_user_access_invitation.proto - google.ads.googleads.v13.enums.AccessRoleEnum.AccessRole access_role = 3 -======== google.ads.googleads.v14.enums.AccessRoleEnum.AccessRole access_role = 3 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/customer_user_access_invitation.proto [(google.api.field_behavior) = IMMUTABLE]; // Immutable. Email address the invitation was sent to. @@ -95,11 +69,7 @@ message CustomerUserAccessInvitation { string creation_date_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Invitation status of the user. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/customer_user_access_invitation.proto - google.ads.googleads.v13.enums.AccessInvitationStatusEnum -======== google.ads.googleads.v14.enums.AccessInvitationStatusEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/customer_user_access_invitation.proto .AccessInvitationStatus invitation_status = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/customizer_attribute.proto b/third_party/googleapis/google/ads/googleads/v14/resources/customizer_attribute.proto index 426e8b5f6..16422dd64 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/customizer_attribute.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/customizer_attribute.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/customizer_attribute.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/customizer_attribute.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/customizer_attribute.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/customizer_attribute_status.proto"; -import "google/ads/googleads/v13/enums/customizer_attribute_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomizerAttributeProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/customizer_attribute_status.proto"; @@ -50,7 +29,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/customizer_attribute.proto // A customizer attribute. // Use CustomerCustomizer, CampaignCustomizer, AdGroupCustomizer, or @@ -86,20 +64,12 @@ message CustomizerAttribute { ]; // Immutable. The type of the customizer attribute. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/customizer_attribute.proto - google.ads.googleads.v13.enums.CustomizerAttributeTypeEnum -======== google.ads.googleads.v14.enums.CustomizerAttributeTypeEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/customizer_attribute.proto .CustomizerAttributeType type = 4 [(google.api.field_behavior) = IMMUTABLE]; // Output only. The status of the customizer attribute. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/customizer_attribute.proto - google.ads.googleads.v13.enums.CustomizerAttributeStatusEnum -======== google.ads.googleads.v14.enums.CustomizerAttributeStatusEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/customizer_attribute.proto .CustomizerAttributeStatus status = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/detail_placement_view.proto b/third_party/googleapis/google/ads/googleads/v14/resources/detail_placement_view.proto index 303081ff2..c90105917 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/detail_placement_view.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/detail_placement_view.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/detail_placement_view.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/detail_placement_view.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/detail_placement_view.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/placement_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "DetailPlacementViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/placement_type.proto"; @@ -48,7 +28,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/detail_placement_view.proto // Proto file describing the detail placement view resource. @@ -89,10 +68,6 @@ message DetailPlacementView { // Output only. Type of the placement, for example, Website, YouTube Video, // and Mobile Application. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/detail_placement_view.proto - google.ads.googleads.v13.enums.PlacementTypeEnum.PlacementType -======== google.ads.googleads.v14.enums.PlacementTypeEnum.PlacementType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/detail_placement_view.proto placement_type = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/detailed_demographic.proto b/third_party/googleapis/google/ads/googleads/v14/resources/detailed_demographic.proto index 913307a67..91dbd74a8 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/detailed_demographic.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/detailed_demographic.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/detailed_demographic.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/detailed_demographic.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/detailed_demographic.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/criterion_category_availability.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "DetailedDemographicProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/common/criterion_category_availability.proto"; @@ -48,7 +28,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/detailed_demographic.proto // Proto file describing the Detailed Demographic resource. @@ -91,10 +70,6 @@ message DetailedDemographic { bool launched_to_all = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Availability information of the detailed demographic. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/detailed_demographic.proto - repeated google.ads.googleads.v13.common.CriterionCategoryAvailability -======== repeated google.ads.googleads.v14.common.CriterionCategoryAvailability ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/detailed_demographic.proto availabilities = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/display_keyword_view.proto b/third_party/googleapis/google/ads/googleads/v14/resources/display_keyword_view.proto index ad3abda0a..dc3f63a12 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/display_keyword_view.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/display_keyword_view.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/display_keyword_view.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/display_keyword_view.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/display_keyword_view.proto -package google.ads.googleads.v12.resources; -======== package google.ads.googleads.v14.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/display_keyword_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/display_keyword_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "DisplayKeywordViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/resources;resources"; option java_multiple_files = true; @@ -45,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/display_keyword_view.proto // Proto file describing the display keyword view resource. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/distance_view.proto b/third_party/googleapis/google/ads/googleads/v14/resources/distance_view.proto index 2822fc6b6..f35670130 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/distance_view.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/distance_view.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/distance_view.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/distance_view.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/distance_view.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/distance_bucket.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "DistanceViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/distance_bucket.proto"; @@ -48,7 +28,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/distance_view.proto // Proto file describing the DistanceView resource. @@ -75,11 +54,7 @@ message DistanceView { ]; // Output only. Grouping of user distance from location extensions. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/distance_view.proto - google.ads.googleads.v13.enums.DistanceBucketEnum.DistanceBucket -======== google.ads.googleads.v14.enums.DistanceBucketEnum.DistanceBucket ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/distance_view.proto distance_bucket = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. True if the DistanceBucket is using the metric system, false diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/domain_category.proto b/third_party/googleapis/google/ads/googleads/v14/resources/domain_category.proto index 63e637c45..004adab2d 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/domain_category.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/domain_category.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/domain_category.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/domain_category.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/domain_category.proto -package google.ads.googleads.v13.resources; -======== package google.ads.googleads.v14.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/domain_category.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/domain_category.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "DomainCategoryProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/resources;resources"; option java_multiple_files = true; @@ -45,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/domain_category.proto // Proto file describing the Domain Category resource. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/dynamic_search_ads_search_term_view.proto b/third_party/googleapis/google/ads/googleads/v14/resources/dynamic_search_ads_search_term_view.proto index 6e3ca81d7..41e29fa17 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/dynamic_search_ads_search_term_view.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/dynamic_search_ads_search_term_view.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/dynamic_search_ads_search_term_view.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/dynamic_search_ads_search_term_view.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/dynamic_search_ads_search_term_view.proto -package google.ads.googleads.v13.resources; -======== package google.ads.googleads.v14.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/dynamic_search_ads_search_term_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/dynamic_search_ads_search_term_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "DynamicSearchAdsSearchTermViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/resources;resources"; option java_multiple_files = true; @@ -45,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/dynamic_search_ads_search_term_view.proto // Proto file describing the Dynamic Search Ads Search Term View resource. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/expanded_landing_page_view.proto b/third_party/googleapis/google/ads/googleads/v14/resources/expanded_landing_page_view.proto index aaeab6f00..721e30e8b 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/expanded_landing_page_view.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/expanded_landing_page_view.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/expanded_landing_page_view.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/expanded_landing_page_view.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/expanded_landing_page_view.proto -package google.ads.googleads.v13.resources; -======== package google.ads.googleads.v14.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/expanded_landing_page_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/expanded_landing_page_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ExpandedLandingPageViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/resources;resources"; option java_multiple_files = true; @@ -45,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/expanded_landing_page_view.proto // Proto file describing the expanded landing page view resource. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/extension_feed_item.proto b/third_party/googleapis/google/ads/googleads/v14/resources/extension_feed_item.proto index 22ea9344a..9e89a03b8 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/extension_feed_item.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/extension_feed_item.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/extension_feed_item.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/extension_feed_item.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,26 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/extension_feed_item.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/criteria.proto"; -import "google/ads/googleads/v13/common/extensions.proto"; -import "google/ads/googleads/v13/enums/extension_type.proto"; -import "google/ads/googleads/v13/enums/feed_item_status.proto"; -import "google/ads/googleads/v13/enums/feed_item_target_device.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ExtensionFeedItemProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/common/criteria.proto"; @@ -56,7 +32,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/extension_feed_item.proto // Proto file describing the ExtensionFeedItem resource. @@ -83,11 +58,7 @@ message ExtensionFeedItem { // Output only. The extension type of the extension feed item. // This field is read-only. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/extension_feed_item.proto - google.ads.googleads.v13.enums.ExtensionTypeEnum.ExtensionType -======== google.ads.googleads.v14.enums.ExtensionTypeEnum.ExtensionType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/extension_feed_item.proto extension_type = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; // Start time in which this feed item is effective and can begin serving. The @@ -105,17 +76,10 @@ message ExtensionFeedItem { // List of non-overlapping schedules specifying all time intervals // for which the feed item may serve. There can be a maximum of 6 schedules // per day. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/extension_feed_item.proto - repeated google.ads.googleads.v13.common.AdScheduleInfo ad_schedules = 16; - - // The targeted device. - google.ads.googleads.v13.enums.FeedItemTargetDeviceEnum.FeedItemTargetDevice -======== repeated google.ads.googleads.v14.common.AdScheduleInfo ad_schedules = 16; // The targeted device. google.ads.googleads.v14.enums.FeedItemTargetDeviceEnum.FeedItemTargetDevice ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/extension_feed_item.proto device = 17; // The targeted geo target constant. @@ -125,54 +89,15 @@ message ExtensionFeedItem { }]; // The targeted keyword. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/extension_feed_item.proto - google.ads.googleads.v13.common.KeywordInfo targeted_keyword = 22; - - // Output only. Status of the feed item. - // This field is read-only. - google.ads.googleads.v13.enums.FeedItemStatusEnum.FeedItemStatus status = 4 -======== google.ads.googleads.v14.common.KeywordInfo targeted_keyword = 22; // Output only. Status of the feed item. // This field is read-only. google.ads.googleads.v14.enums.FeedItemStatusEnum.FeedItemStatus status = 4 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/extension_feed_item.proto [(google.api.field_behavior) = OUTPUT_ONLY]; // Extension type. oneof extension { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/extension_feed_item.proto - // Sitelink extension. - google.ads.googleads.v13.common.SitelinkFeedItem sitelink_feed_item = 2; - - // Structured snippet extension. - google.ads.googleads.v13.common.StructuredSnippetFeedItem - structured_snippet_feed_item = 3; - - // App extension. - google.ads.googleads.v13.common.AppFeedItem app_feed_item = 7; - - // Call extension. - google.ads.googleads.v13.common.CallFeedItem call_feed_item = 8; - - // Callout extension. - google.ads.googleads.v13.common.CalloutFeedItem callout_feed_item = 9; - - // Text message extension. - google.ads.googleads.v13.common.TextMessageFeedItem text_message_feed_item = - 10; - - // Price extension. - google.ads.googleads.v13.common.PriceFeedItem price_feed_item = 11; - - // Promotion extension. - google.ads.googleads.v13.common.PromotionFeedItem promotion_feed_item = 12; - - // Output only. Location extension. Locations are synced from a Business - // Profile into a feed. This field is read-only. - google.ads.googleads.v13.common.LocationFeedItem location_feed_item = 14 -======== // Sitelink. google.ads.googleads.v14.common.SitelinkFeedItem sitelink_feed_item = 2; @@ -202,33 +127,20 @@ message ExtensionFeedItem { // Output only. Location extension. Locations are synced from a Business // Profile into a feed. This field is read-only. google.ads.googleads.v14.common.LocationFeedItem location_feed_item = 14 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/extension_feed_item.proto [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Affiliate location extension. Feed locations are populated // by Google Ads based on a chain ID. This field is read-only. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/extension_feed_item.proto - google.ads.googleads.v13.common.AffiliateLocationFeedItem -======== google.ads.googleads.v14.common.AffiliateLocationFeedItem ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/extension_feed_item.proto affiliate_location_feed_item = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; // Hotel Callout extension. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/extension_feed_item.proto - google.ads.googleads.v13.common.HotelCalloutFeedItem - hotel_callout_feed_item = 23; - - // Immutable. Advertiser provided image extension. - google.ads.googleads.v13.common.ImageFeedItem image_feed_item = 31 -======== google.ads.googleads.v14.common.HotelCalloutFeedItem hotel_callout_feed_item = 23; // Immutable. Advertiser provided image extension. google.ads.googleads.v14.common.ImageFeedItem image_feed_item = 31 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/extension_feed_item.proto [(google.api.field_behavior) = IMMUTABLE]; } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/feed.proto b/third_party/googleapis/google/ads/googleads/v14/resources/feed.proto index 5ea9c734b..2dc9306dc 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/feed.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/feed.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/feed.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/feed.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/feed.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/affiliate_location_feed_relationship_type.proto"; -import "google/ads/googleads/v13/enums/feed_attribute_type.proto"; -import "google/ads/googleads/v13/enums/feed_origin.proto"; -import "google/ads/googleads/v13/enums/feed_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "FeedProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/affiliate_location_feed_relationship_type.proto"; @@ -54,7 +31,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/feed.proto // Proto file describing the Feed resource. @@ -120,11 +96,7 @@ message Feed { repeated int64 chain_ids = 3; // The relationship the chains have with the advertiser. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/feed.proto - google.ads.googleads.v13.enums.AffiliateLocationFeedRelationshipTypeEnum -======== google.ads.googleads.v14.enums.AffiliateLocationFeedRelationshipTypeEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/feed.proto .AffiliateLocationFeedRelationshipType relationship_type = 2; } @@ -155,20 +127,12 @@ message Feed { repeated FeedAttributeOperation attribute_operations = 9; // Immutable. Specifies who manages the FeedAttributes for the Feed. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/feed.proto - google.ads.googleads.v13.enums.FeedOriginEnum.FeedOrigin origin = 5 -======== google.ads.googleads.v14.enums.FeedOriginEnum.FeedOrigin origin = 5 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/feed.proto [(google.api.field_behavior) = IMMUTABLE]; // Output only. Status of the feed. // This field is read-only. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/feed.proto - google.ads.googleads.v13.enums.FeedStatusEnum.FeedStatus status = 8 -======== google.ads.googleads.v14.enums.FeedStatusEnum.FeedStatus status = 8 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/feed.proto [(google.api.field_behavior) = OUTPUT_ONLY]; // The system data for the Feed. This data specifies information for @@ -195,11 +159,7 @@ message FeedAttribute { optional string name = 6; // Data type for feed attribute. Required. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/feed.proto - google.ads.googleads.v13.enums.FeedAttributeTypeEnum.FeedAttributeType type = -======== google.ads.googleads.v14.enums.FeedAttributeTypeEnum.FeedAttributeType type = ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/feed.proto 3; // Indicates that data corresponding to this attribute is part of a diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/feed_item.proto b/third_party/googleapis/google/ads/googleads/v14/resources/feed_item.proto index bbb5eef18..ac47560b4 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/feed_item.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/feed_item.proto @@ -14,33 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/feed_item.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/custom_parameter.proto"; -import "google/ads/googleads/v12/common/feed_common.proto"; -import "google/ads/googleads/v12/common/policy.proto"; -import "google/ads/googleads/v12/enums/feed_item_quality_approval_status.proto"; -import "google/ads/googleads/v12/enums/feed_item_quality_disapproval_reason.proto"; -import "google/ads/googleads/v12/enums/feed_item_status.proto"; -import "google/ads/googleads/v12/enums/feed_item_validation_status.proto"; -import "google/ads/googleads/v12/enums/geo_targeting_restriction.proto"; -import "google/ads/googleads/v12/enums/placeholder_type.proto"; -import "google/ads/googleads/v12/enums/policy_approval_status.proto"; -import "google/ads/googleads/v12/enums/policy_review_status.proto"; -import "google/ads/googleads/v12/errors/feed_item_validation_error.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/common/custom_parameter.proto"; @@ -66,7 +39,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/feed_item.proto // Proto file describing the FeedItem resource. @@ -114,25 +86,6 @@ message FeedItem { // Geo targeting restriction specifies the type of location that can be used // for targeting. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/feed_item.proto - google.ads.googleads.v12.enums.GeoTargetingRestrictionEnum.GeoTargetingRestriction geo_targeting_restriction = 7; - - // The list of mappings used to substitute custom parameter tags in a - // `tracking_url_template`, `final_urls`, or `mobile_final_urls`. - repeated google.ads.googleads.v12.common.CustomParameter url_custom_parameters = 8; - - // Output only. Status of the feed item. - // This field is read-only. - google.ads.googleads.v12.enums.FeedItemStatusEnum.FeedItemStatus status = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. List of info about a feed item's validation and approval state for active - // feed mappings. There will be an entry in the list for each type of feed - // mapping associated with the feed, for example, a feed with a sitelink and a - // call feed mapping would cause every feed item associated with that feed to - // have an entry in this list for both sitelink and call. This field is - // read-only. - repeated FeedItemPlaceholderPolicyInfo policy_infos = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v14.enums.GeoTargetingRestrictionEnum .GeoTargetingRestriction geo_targeting_restriction = 7; @@ -154,7 +107,6 @@ message FeedItem { // This field is read-only. repeated FeedItemPlaceholderPolicyInfo policy_infos = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/feed_item.proto } // A feed item attribute value. @@ -183,11 +135,7 @@ message FeedItemAttributeValue { // Price value. Should be set if feed_attribute_id refers to a feed attribute // of type PRICE. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/feed_item.proto - google.ads.googleads.v12.common.Money price_value = 6; -======== google.ads.googleads.v14.common.Money price_value = 6; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/feed_item.proto // Repeated int64 value. Should be set if feed_attribute_id refers to a feed // attribute of type INT64_LIST. @@ -217,31 +165,14 @@ message FeedItemAttributeValue { // specified placeholder type. message FeedItemPlaceholderPolicyInfo { // Output only. The placeholder type. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/feed_item.proto - google.ads.googleads.v12.enums.PlaceholderTypeEnum.PlaceholderType placeholder_type_enum = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v14.enums.PlaceholderTypeEnum.PlaceholderType placeholder_type_enum = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/feed_item.proto // Output only. The FeedMapping that contains the placeholder type. optional string feed_mapping_resource_name = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Where the placeholder type is in the review process. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/feed_item.proto - google.ads.googleads.v12.enums.PolicyReviewStatusEnum.PolicyReviewStatus review_status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The overall approval status of the placeholder type, calculated based on - // the status of its individual policy topic entries. - google.ads.googleads.v12.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The list of policy findings for the placeholder type. - repeated google.ads.googleads.v12.common.PolicyTopicEntry policy_topic_entries = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The validation status of the palceholder type. - google.ads.googleads.v12.enums.FeedItemValidationStatusEnum.FeedItemValidationStatus validation_status = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v14.enums.PolicyReviewStatusEnum.PolicyReviewStatus review_status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -258,19 +189,12 @@ message FeedItemPlaceholderPolicyInfo { google.ads.googleads.v14.enums.FeedItemValidationStatusEnum .FeedItemValidationStatus validation_status = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/feed_item.proto // Output only. List of placeholder type validation errors. repeated FeedItemValidationError validation_errors = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Placeholder type quality evaluation approval status. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/feed_item.proto - google.ads.googleads.v12.enums.FeedItemQualityApprovalStatusEnum.FeedItemQualityApprovalStatus quality_approval_status = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. List of placeholder type quality evaluation disapproval reasons. - repeated google.ads.googleads.v12.enums.FeedItemQualityDisapprovalReasonEnum.FeedItemQualityDisapprovalReason quality_disapproval_reasons = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v14.enums.FeedItemQualityApprovalStatusEnum .FeedItemQualityApprovalStatus quality_approval_status = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -280,38 +204,20 @@ message FeedItemPlaceholderPolicyInfo { repeated google.ads.googleads.v14.enums.FeedItemQualityDisapprovalReasonEnum .FeedItemQualityDisapprovalReason quality_disapproval_reasons = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/feed_item.proto } // Stores a validation error and the set of offending feed attributes which // together are responsible for causing a feed item validation error. message FeedItemValidationError { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/feed_item.proto - // Output only. Error code indicating what validation error was triggered. The description - // of the error can be found in the 'description' field. - google.ads.googleads.v12.errors.FeedItemValidationErrorEnum.FeedItemValidationError validation_error = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== // Output only. Error code indicating what validation error was triggered. The // description of the error can be found in the 'description' field. google.ads.googleads.v14.errors.FeedItemValidationErrorEnum .FeedItemValidationError validation_error = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/feed_item.proto // Output only. The description of the validation error. optional string description = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/feed_item.proto - // Output only. Set of feed attributes in the feed item flagged during validation. If - // empty, no specific feed attributes can be associated with the error - // (for example, error across the entire feed item). - repeated int64 feed_attribute_ids = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Any extra information related to this error which is not captured by - // validation_error and feed_attribute_id (for example, placeholder field IDs - // when feed_attribute_id is not mapped). Note that extra_info is not - // localized. -======== // Output only. Set of feed attributes in the feed item flagged during // validation. If empty, no specific feed attributes can be associated with // the error (for example, error across the entire feed item). @@ -322,6 +228,5 @@ message FeedItemValidationError { // captured by validation_error and feed_attribute_id (for example, // placeholder field IDs when feed_attribute_id is not mapped). Note that // extra_info is not localized. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/feed_item.proto optional string extra_info = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/feed_item_set.proto b/third_party/googleapis/google/ads/googleads/v14/resources/feed_item_set.proto index 1220872fb..9cdd368c6 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/feed_item_set.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/feed_item_set.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/feed_item_set.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/feed_item_set.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/feed_item_set.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/feed_item_set_filter_type_infos.proto"; -import "google/ads/googleads/v13/enums/feed_item_set_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemSetProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/common/feed_item_set_filter_type_infos.proto"; @@ -50,7 +29,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/feed_item_set.proto // Represents a set of feed items. The set can be used and shared among certain // feed item features. For instance, the set can be referenced within the @@ -86,11 +64,7 @@ message FeedItemSet { // Output only. Status of the feed item set. // This field is read-only. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/feed_item_set.proto - google.ads.googleads.v13.enums.FeedItemSetStatusEnum.FeedItemSetStatus -======== google.ads.googleads.v14.enums.FeedItemSetStatusEnum.FeedItemSetStatus ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/feed_item_set.proto status = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; // Represents a filter on locations in a feed item set. @@ -98,21 +72,13 @@ message FeedItemSet { oneof dynamic_set_filter { // Filter for dynamic location set. // It is only used for sets of locations. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/feed_item_set.proto - google.ads.googleads.v13.common.DynamicLocationSetFilter -======== google.ads.googleads.v14.common.DynamicLocationSetFilter ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/feed_item_set.proto dynamic_location_set_filter = 5; // Filter for dynamic affiliate location set. // This field doesn't apply generally to feed item sets. It is only used for // sets of affiliate locations. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/feed_item_set.proto - google.ads.googleads.v13.common.DynamicAffiliateLocationSetFilter -======== google.ads.googleads.v14.common.DynamicAffiliateLocationSetFilter ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/feed_item_set.proto dynamic_affiliate_location_set_filter = 6; } } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/feed_item_set_link.proto b/third_party/googleapis/google/ads/googleads/v14/resources/feed_item_set_link.proto index 208cae553..9627045f0 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/feed_item_set_link.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/feed_item_set_link.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/feed_item_set_link.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/feed_item_set_link.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/feed_item_set_link.proto -package google.ads.googleads.v12.resources; -======== package google.ads.googleads.v14.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/feed_item_set_link.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/feed_item_set_link.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemSetLinkProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/resources;resources"; option java_multiple_files = true; @@ -45,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/feed_item_set_link.proto // Proto file describing the FeedItemSetLink resource. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/feed_item_target.proto b/third_party/googleapis/google/ads/googleads/v14/resources/feed_item_target.proto index 45a736814..169dee301 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/feed_item_target.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/feed_item_target.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/feed_item_target.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/feed_item_target.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/feed_item_target.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/criteria.proto"; -import "google/ads/googleads/v13/enums/feed_item_target_device.proto"; -import "google/ads/googleads/v13/enums/feed_item_target_status.proto"; -import "google/ads/googleads/v13/enums/feed_item_target_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemTargetProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/common/criteria.proto"; @@ -54,7 +31,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/feed_item_target.proto // Proto file describing the FeedItemTarget resource. @@ -85,11 +61,7 @@ message FeedItemTarget { // Output only. The target type of this feed item target. This field is // read-only. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/feed_item_target.proto - google.ads.googleads.v13.enums.FeedItemTargetTypeEnum.FeedItemTargetType -======== google.ads.googleads.v14.enums.FeedItemTargetTypeEnum.FeedItemTargetType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/feed_item_target.proto feed_item_target_type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The ID of the targeted resource. This field is read-only. @@ -98,11 +70,7 @@ message FeedItemTarget { // Output only. Status of the feed item target. // This field is read-only. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/feed_item_target.proto - google.ads.googleads.v13.enums.FeedItemTargetStatusEnum.FeedItemTargetStatus -======== google.ads.googleads.v14.enums.FeedItemTargetStatusEnum.FeedItemTargetStatus ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/feed_item_target.proto status = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; // The targeted resource. @@ -124,11 +92,7 @@ message FeedItemTarget { ]; // Immutable. The targeted keyword. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/feed_item_target.proto - google.ads.googleads.v13.common.KeywordInfo keyword = 7 -======== google.ads.googleads.v14.common.KeywordInfo keyword = 7 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/feed_item_target.proto [(google.api.field_behavior) = IMMUTABLE]; // Immutable. The targeted geo target constant resource name. @@ -140,19 +104,11 @@ message FeedItemTarget { ]; // Immutable. The targeted device. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/feed_item_target.proto - google.ads.googleads.v13.enums.FeedItemTargetDeviceEnum.FeedItemTargetDevice - device = 9 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The targeted schedule. - google.ads.googleads.v13.common.AdScheduleInfo ad_schedule = 10 -======== google.ads.googleads.v14.enums.FeedItemTargetDeviceEnum.FeedItemTargetDevice device = 9 [(google.api.field_behavior) = IMMUTABLE]; // Immutable. The targeted schedule. google.ads.googleads.v14.common.AdScheduleInfo ad_schedule = 10 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/feed_item_target.proto [(google.api.field_behavior) = IMMUTABLE]; } } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/feed_placeholder_view.proto b/third_party/googleapis/google/ads/googleads/v14/resources/feed_placeholder_view.proto index 74c8abd17..7cbe4bc58 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/feed_placeholder_view.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/feed_placeholder_view.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/feed_placeholder_view.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/feed_placeholder_view.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/feed_placeholder_view.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/placeholder_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "FeedPlaceholderViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/placeholder_type.proto"; @@ -48,7 +28,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/feed_placeholder_view.proto // Proto file describing the FeedPlaceholderView resource. @@ -71,10 +50,6 @@ message FeedPlaceholderView { ]; // Output only. The placeholder type of the feed placeholder view. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/feed_placeholder_view.proto - google.ads.googleads.v13.enums.PlaceholderTypeEnum.PlaceholderType -======== google.ads.googleads.v14.enums.PlaceholderTypeEnum.PlaceholderType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/feed_placeholder_view.proto placeholder_type = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/gender_view.proto b/third_party/googleapis/google/ads/googleads/v14/resources/gender_view.proto index 86c2f7d89..fe38f8dd9 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/gender_view.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/gender_view.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/gender_view.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/gender_view.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/gender_view.proto -package google.ads.googleads.v12.resources; -======== package google.ads.googleads.v14.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/gender_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/gender_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "GenderViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/resources;resources"; option java_multiple_files = true; @@ -45,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/gender_view.proto // Proto file describing the gender view resource. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/geo_target_constant.proto b/third_party/googleapis/google/ads/googleads/v14/resources/geo_target_constant.proto index 0490716d1..74cb4df4d 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/geo_target_constant.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/geo_target_constant.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/geo_target_constant.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/geo_target_constant.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/geo_target_constant.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/geo_target_constant_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "GeoTargetConstantProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/geo_target_constant_status.proto"; @@ -48,7 +28,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/geo_target_constant.proto // Proto file describing the geo target constant resource. @@ -84,11 +63,7 @@ message GeoTargetConstant { optional string target_type = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Geo target constant status. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/geo_target_constant.proto - google.ads.googleads.v13.enums.GeoTargetConstantStatusEnum -======== google.ads.googleads.v14.enums.GeoTargetConstantStatusEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/geo_target_constant.proto .GeoTargetConstantStatus status = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/geographic_view.proto b/third_party/googleapis/google/ads/googleads/v14/resources/geographic_view.proto index 898052b20..4258f5fcc 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/geographic_view.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/geographic_view.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/geographic_view.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/geographic_view.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/geographic_view.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/geo_targeting_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "GeographicViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/geo_targeting_type.proto"; @@ -48,7 +28,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/geographic_view.proto // Proto file describing the geographic view resource. @@ -76,11 +55,7 @@ message GeographicView { ]; // Output only. Type of the geo targeting of the campaign. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/geographic_view.proto - google.ads.googleads.v13.enums.GeoTargetingTypeEnum.GeoTargetingType -======== google.ads.googleads.v14.enums.GeoTargetingTypeEnum.GeoTargetingType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/geographic_view.proto location_type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Criterion Id for the country. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/google_ads_field.proto b/third_party/googleapis/google/ads/googleads/v14/resources/google_ads_field.proto index 41b876cdd..a0d78640c 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/google_ads_field.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/google_ads_field.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/searchads360/v0/resources/search_ads360_field.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/google_ads_field.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/searchads360/v0/resources/search_ads360_field.proto -package google.ads.searchads360.v0.resources; - -import "google/ads/searchads360/v0/enums/search_ads360_field_category.proto"; -import "google/ads/searchads360/v0/enums/search_ads360_field_data_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.SearchAds360.V0.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/searchads360/v0/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "SearchAds360FieldProto"; -option java_package = "com.google.ads.searchads360.v0.resources"; -option objc_class_prefix = "GASA360"; -option php_namespace = "Google\\Ads\\SearchAds360\\V0\\Resources"; -option ruby_package = "Google::Ads::SearchAds360::V0::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/google_ads_field_category.proto"; @@ -50,25 +29,24 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/google_ads_field.proto -// Proto file describing the Search Ads 360 Field resource. +// Proto file describing the Google Ads Field resource. -// A field or resource (artifact) used by SearchAds360Service. -message SearchAds360Field { +// A field or resource (artifact) used by GoogleAdsService. +message GoogleAdsField { option (google.api.resource) = { - type: "searchads360.googleapis.com/SearchAds360Field" - pattern: "searchAds360Fields/{search_ads_360_field}" + type: "googleads.googleapis.com/GoogleAdsField" + pattern: "googleAdsFields/{google_ads_field}" }; // Output only. The resource name of the artifact. // Artifact resource names have the form: // - // `SearchAds360Fields/{name}` + // `googleAdsFields/{name}` string resource_name = 1 [ (google.api.field_behavior) = OUTPUT_ONLY, (google.api.resource_reference) = { - type: "searchads360.googleapis.com/SearchAds360Field" + type: "googleads.googleapis.com/GoogleAdsField" } ]; @@ -76,13 +54,9 @@ message SearchAds360Field { optional string name = 21 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The category of the artifact. -<<<<<<<< HEAD:third_party/googleapis/google/ads/searchads360/v0/resources/search_ads360_field.proto - google.ads.searchads360.v0.enums.SearchAds360FieldCategoryEnum.SearchAds360FieldCategory category = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v14.enums.GoogleAdsFieldCategoryEnum .GoogleAdsFieldCategory category = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/google_ads_field.proto // Output only. Whether the artifact can be used in a SELECT clause in search // queries. @@ -125,17 +99,11 @@ message SearchAds360Field { // This field is only set for artifacts of category SEGMENT or ATTRIBUTE. repeated string enum_values = 29 [(google.api.field_behavior) = OUTPUT_ONLY]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/searchads360/v0/resources/search_ads360_field.proto - // Output only. This field determines the operators that can be used with the artifact - // in WHERE clauses. - google.ads.searchads360.v0.enums.SearchAds360FieldDataTypeEnum.SearchAds360FieldDataType data_type = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== // Output only. This field determines the operators that can be used with the // artifact in WHERE clauses. google.ads.googleads.v14.enums.GoogleAdsFieldDataTypeEnum .GoogleAdsFieldDataType data_type = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/google_ads_field.proto // Output only. The URL of proto describing the artifact's data type. optional string type_url = 30 [(google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/group_placement_view.proto b/third_party/googleapis/google/ads/googleads/v14/resources/group_placement_view.proto index 63660c572..111a9d1e7 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/group_placement_view.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/group_placement_view.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/group_placement_view.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/group_placement_view.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/group_placement_view.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/placement_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "GroupPlacementViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/placement_type.proto"; @@ -48,7 +28,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/group_placement_view.proto // Proto file describing the group placement view resource. @@ -84,10 +63,6 @@ message GroupPlacementView { // Output only. Type of the placement, for example, Website, YouTube Channel, // Mobile Application. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/group_placement_view.proto - google.ads.googleads.v13.enums.PlacementTypeEnum.PlacementType -======== google.ads.googleads.v14.enums.PlacementTypeEnum.PlacementType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/group_placement_view.proto placement_type = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/hotel_group_view.proto b/third_party/googleapis/google/ads/googleads/v14/resources/hotel_group_view.proto index 0d22dc34f..c4bd3c5ae 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/hotel_group_view.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/hotel_group_view.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/hotel_group_view.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/hotel_group_view.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/hotel_group_view.proto -package google.ads.googleads.v12.resources; -======== package google.ads.googleads.v14.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/hotel_group_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/hotel_group_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "HotelGroupViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/resources;resources"; option java_multiple_files = true; @@ -45,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/hotel_group_view.proto // Proto file describing the hotel group view resource. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/hotel_performance_view.proto b/third_party/googleapis/google/ads/googleads/v14/resources/hotel_performance_view.proto index 5f2477ec7..ec637de55 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/hotel_performance_view.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/hotel_performance_view.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/hotel_performance_view.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/hotel_performance_view.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/hotel_performance_view.proto -package google.ads.googleads.v12.resources; -======== package google.ads.googleads.v14.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/hotel_performance_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/hotel_performance_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "HotelPerformanceViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/resources;resources"; option java_multiple_files = true; @@ -45,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/hotel_performance_view.proto // Proto file describing the hotel performance view resource. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/hotel_reconciliation.proto b/third_party/googleapis/google/ads/googleads/v14/resources/hotel_reconciliation.proto index b3df3e6ad..d5ca142b4 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/hotel_reconciliation.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/hotel_reconciliation.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/hotel_reconciliation.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/hotel_reconciliation.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/hotel_reconciliation.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/hotel_reconciliation_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "HotelReconciliationProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/hotel_reconciliation_status.proto"; @@ -48,7 +28,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/hotel_reconciliation.proto // Proto file describing the hotel reconciliation resource. @@ -133,11 +112,7 @@ message HotelReconciliation { // reconciliation and billing. Bookings should be reconciled within 45 days // after the check-out date. Any booking not reconciled within 45 days will be // billed at its original value. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/hotel_reconciliation.proto - google.ads.googleads.v13.enums.HotelReconciliationStatusEnum -======== google.ads.googleads.v14.enums.HotelReconciliationStatusEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/hotel_reconciliation.proto .HotelReconciliationStatus status = 10 [ (google.api.field_behavior) = REQUIRED, (google.api.field_behavior) = OUTPUT_ONLY diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/income_range_view.proto b/third_party/googleapis/google/ads/googleads/v14/resources/income_range_view.proto index 095115aca..306f4d2f3 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/income_range_view.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/income_range_view.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/income_range_view.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/income_range_view.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/income_range_view.proto -package google.ads.googleads.v12.resources; -======== package google.ads.googleads.v14.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/income_range_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/income_range_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "IncomeRangeViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/resources;resources"; option java_multiple_files = true; @@ -45,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/income_range_view.proto // Proto file describing the income range view resource. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/keyword_plan.proto b/third_party/googleapis/google/ads/googleads/v14/resources/keyword_plan.proto index c08803edd..b4cf2f631 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/keyword_plan.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/keyword_plan.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/keyword_plan.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/keyword_plan.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/keyword_plan.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/dates.proto"; -import "google/ads/googleads/v13/enums/keyword_plan_forecast_interval.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/common/dates.proto"; @@ -50,7 +29,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/keyword_plan.proto // Proto file describing the keyword plan resource. @@ -92,11 +70,7 @@ message KeywordPlanForecastPeriod { // Required. The date used for forecasting the Plan. oneof interval { // A future date range relative to the current date used for forecasting. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/keyword_plan.proto - google.ads.googleads.v13.enums.KeywordPlanForecastIntervalEnum -======== google.ads.googleads.v14.enums.KeywordPlanForecastIntervalEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/keyword_plan.proto .KeywordPlanForecastInterval date_interval = 1; // The custom date range used for forecasting. It cannot be greater than @@ -104,10 +78,6 @@ message KeywordPlanForecastPeriod { // The start and end dates must be in the future. Otherwise, an error will // be returned when the forecasting action is performed. // The start and end dates are inclusive. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/keyword_plan.proto - google.ads.googleads.v13.common.DateRange date_range = 2; -======== google.ads.googleads.v14.common.DateRange date_range = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/keyword_plan.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/keyword_plan_ad_group.proto b/third_party/googleapis/google/ads/googleads/v14/resources/keyword_plan_ad_group.proto index fb20117bc..557549fe3 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/keyword_plan_ad_group.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/keyword_plan_ad_group.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/keyword_plan_ad_group.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/keyword_plan_ad_group.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/keyword_plan_ad_group.proto -package google.ads.googleads.v13.resources; -======== package google.ads.googleads.v14.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/keyword_plan_ad_group.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/keyword_plan_ad_group.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanAdGroupProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/resources;resources"; option java_multiple_files = true; @@ -45,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/keyword_plan_ad_group.proto // Proto file describing the keyword plan ad group resource. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/keyword_plan_ad_group_keyword.proto b/third_party/googleapis/google/ads/googleads/v14/resources/keyword_plan_ad_group_keyword.proto index cb14d1e65..6e0c51b3e 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/keyword_plan_ad_group_keyword.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/keyword_plan_ad_group_keyword.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/keyword_plan_ad_group_keyword.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/keyword_plan_ad_group_keyword.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/keyword_plan_ad_group_keyword.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/keyword_match_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanAdGroupKeywordProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/keyword_match_type.proto"; @@ -48,7 +28,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/keyword_plan_ad_group_keyword.proto // Proto file describing the keyword plan ad group keyword resource. @@ -83,11 +62,7 @@ message KeywordPlanAdGroupKeyword { optional string text = 10; // The keyword match type. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/keyword_plan_ad_group_keyword.proto - google.ads.googleads.v13.enums.KeywordMatchTypeEnum.KeywordMatchType -======== google.ads.googleads.v14.enums.KeywordMatchTypeEnum.KeywordMatchType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/keyword_plan_ad_group_keyword.proto match_type = 5; // A keyword level max cpc bid in micros (for example, $1 = 1mm). The currency diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/keyword_plan_campaign.proto b/third_party/googleapis/google/ads/googleads/v14/resources/keyword_plan_campaign.proto index 46d3e1d85..b980d8bb2 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/keyword_plan_campaign.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/keyword_plan_campaign.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/keyword_plan_campaign.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/keyword_plan_campaign.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/keyword_plan_campaign.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/keyword_plan_network.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanCampaignProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/keyword_plan_network.proto"; @@ -48,7 +28,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/keyword_plan_campaign.proto // Proto file describing the keyword plan campaign resource. @@ -95,11 +74,7 @@ message KeywordPlanCampaign { // // This field is required and should not be empty when creating Keyword Plan // campaigns. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/keyword_plan_campaign.proto - google.ads.googleads.v13.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork -======== google.ads.googleads.v14.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/keyword_plan_campaign.proto keyword_plan_network = 6; // A default max cpc bid in micros, and in the account currency, for all ad diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/keyword_plan_campaign_keyword.proto b/third_party/googleapis/google/ads/googleads/v14/resources/keyword_plan_campaign_keyword.proto index 1b58b9deb..4fb7a2216 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/keyword_plan_campaign_keyword.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/keyword_plan_campaign_keyword.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/keyword_plan_campaign_keyword.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/keyword_plan_campaign_keyword.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/keyword_plan_campaign_keyword.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/keyword_match_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanCampaignKeywordProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/keyword_match_type.proto"; @@ -48,7 +28,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/keyword_plan_campaign_keyword.proto // Proto file describing the keyword plan negative keyword resource. @@ -83,11 +62,7 @@ message KeywordPlanCampaignKeyword { optional string text = 10; // The keyword match type. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/keyword_plan_campaign_keyword.proto - google.ads.googleads.v13.enums.KeywordMatchTypeEnum.KeywordMatchType -======== google.ads.googleads.v14.enums.KeywordMatchTypeEnum.KeywordMatchType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/keyword_plan_campaign_keyword.proto match_type = 5; // Immutable. If true, the keyword is negative. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/keyword_theme_constant.proto b/third_party/googleapis/google/ads/googleads/v14/resources/keyword_theme_constant.proto index 670ce5069..903a3c86a 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/keyword_theme_constant.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/keyword_theme_constant.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/keyword_theme_constant.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/keyword_theme_constant.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/keyword_theme_constant.proto -package google.ads.googleads.v13.resources; -======== package google.ads.googleads.v14.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/keyword_theme_constant.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/keyword_theme_constant.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "KeywordThemeConstantProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/resources;resources"; option java_multiple_files = true; @@ -45,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/keyword_theme_constant.proto // Proto file describing the Smart Campaign keyword theme constant resource. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/keyword_view.proto b/third_party/googleapis/google/ads/googleads/v14/resources/keyword_view.proto index fcd7f6c36..9ad6f4166 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/keyword_view.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/keyword_view.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/keyword_view.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/keyword_view.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/keyword_view.proto -package google.ads.googleads.v12.resources; -======== package google.ads.googleads.v14.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/keyword_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/keyword_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "KeywordViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/resources;resources"; option java_multiple_files = true; @@ -45,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/keyword_view.proto // Proto file describing the keyword view resource. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/label.proto b/third_party/googleapis/google/ads/googleads/v14/resources/label.proto index 507e17dd7..352a256ea 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/label.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/label.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/label.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/label.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/label.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/text_label.proto"; -import "google/ads/googleads/v13/enums/label_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "LabelProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/common/text_label.proto"; @@ -50,7 +29,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/label.proto // A label. message Label { @@ -78,17 +56,9 @@ message Label { optional string name = 7; // Output only. Status of the label. Read only. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/label.proto - google.ads.googleads.v13.enums.LabelStatusEnum.LabelStatus status = 4 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // A type of label displaying text on a colored background. - google.ads.googleads.v13.common.TextLabel text_label = 5; -======== google.ads.googleads.v14.enums.LabelStatusEnum.LabelStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; // A type of label displaying text on a colored background. google.ads.googleads.v14.common.TextLabel text_label = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/label.proto } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/landing_page_view.proto b/third_party/googleapis/google/ads/googleads/v14/resources/landing_page_view.proto index ff1d2780b..8ad7f676b 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/landing_page_view.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/landing_page_view.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/landing_page_view.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/landing_page_view.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/landing_page_view.proto -package google.ads.googleads.v13.resources; -======== package google.ads.googleads.v14.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/landing_page_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/landing_page_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "LandingPageViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/resources;resources"; option java_multiple_files = true; @@ -45,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/landing_page_view.proto // Proto file describing the landing page view resource. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/language_constant.proto b/third_party/googleapis/google/ads/googleads/v14/resources/language_constant.proto index 6209de657..2de614cb8 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/language_constant.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/language_constant.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/language_constant.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/language_constant.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/language_constant.proto -package google.ads.googleads.v12.resources; -======== package google.ads.googleads.v14.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/language_constant.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/language_constant.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "LanguageConstantProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/resources;resources"; option java_multiple_files = true; @@ -45,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/language_constant.proto // Proto file describing the language constant resource. @@ -70,20 +51,12 @@ message LanguageConstant { // Output only. The ID of the language constant. optional int64 id = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/language_constant.proto - // Output only. The language code, for example, "en_US", "en_AU", "es", "fr", etc. - optional string code = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The full name of the language in English, for example, "English (US)", - // "Spanish", etc. -======== // Output only. The language code, for example, "en_US", "en_AU", "es", "fr", // etc. optional string code = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The full name of the language in English, for example, // "English (US)", "Spanish", etc. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/language_constant.proto optional string name = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Whether the language is targetable. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/life_event.proto b/third_party/googleapis/google/ads/googleads/v14/resources/life_event.proto index 48e627a37..f161d418e 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/life_event.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/life_event.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/life_event.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/life_event.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/life_event.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/criterion_category_availability.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "LifeEventProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/common/criterion_category_availability.proto"; @@ -48,7 +28,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/life_event.proto // Proto file describing the Life Event resource. @@ -90,10 +69,6 @@ message LifeEvent { bool launched_to_all = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Availability information of the life event. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/life_event.proto - repeated google.ads.googleads.v13.common.CriterionCategoryAvailability -======== repeated google.ads.googleads.v14.common.CriterionCategoryAvailability ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/life_event.proto availabilities = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/location_view.proto b/third_party/googleapis/google/ads/googleads/v14/resources/location_view.proto index a841bca7f..1d0aa75e5 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/location_view.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/location_view.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/location_view.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/location_view.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/location_view.proto -package google.ads.googleads.v12.resources; -======== package google.ads.googleads.v14.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/location_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/location_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "LocationViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/resources;resources"; option java_multiple_files = true; @@ -45,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/location_view.proto // Proto file describing the location view resource. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/managed_placement_view.proto b/third_party/googleapis/google/ads/googleads/v14/resources/managed_placement_view.proto index 3cb033f0c..742862b93 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/managed_placement_view.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/managed_placement_view.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/managed_placement_view.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/managed_placement_view.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/managed_placement_view.proto -package google.ads.googleads.v12.resources; -======== package google.ads.googleads.v14.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/managed_placement_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/managed_placement_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ManagedPlacementViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/resources;resources"; option java_multiple_files = true; @@ -45,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/managed_placement_view.proto // Proto file describing the Managed Placement view resource. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/media_file.proto b/third_party/googleapis/google/ads/googleads/v14/resources/media_file.proto index 0f07a514e..785ea82f4 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/media_file.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/media_file.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/media_file.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/media_file.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/media_file.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/media_type.proto"; -import "google/ads/googleads/v13/enums/mime_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "MediaFileProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/media_type.proto"; @@ -50,7 +29,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/media_file.proto // Proto file describing the media file resource. @@ -76,19 +54,11 @@ message MediaFile { optional int64 id = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; // Immutable. Type of the media file. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/media_file.proto - google.ads.googleads.v13.enums.MediaTypeEnum.MediaType type = 5 - [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The mime type of the media file. - google.ads.googleads.v13.enums.MimeTypeEnum.MimeType mime_type = 6 -======== google.ads.googleads.v14.enums.MediaTypeEnum.MediaType type = 5 [(google.api.field_behavior) = IMMUTABLE]; // Output only. The mime type of the media file. google.ads.googleads.v14.enums.MimeTypeEnum.MimeType mime_type = 6 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/media_file.proto [(google.api.field_behavior) = OUTPUT_ONLY]; // Immutable. The URL of where the original media file was downloaded from (or diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/merchant_center_link.proto b/third_party/googleapis/google/ads/googleads/v14/resources/merchant_center_link.proto index 16538eafa..1d0321b25 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/merchant_center_link.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/merchant_center_link.proto @@ -14,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/merchant_center_link.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/merchant_center_link_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "MerchantCenterLinkProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/merchant_center_link_status.proto"; @@ -44,7 +28,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/merchant_center_link.proto // Proto file describing the Merchant Center link resource. @@ -77,10 +60,6 @@ message MerchantCenterLink { [(google.api.field_behavior) = OUTPUT_ONLY]; // The status of the link. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/merchant_center_link.proto - google.ads.googleads.v12.enums.MerchantCenterLinkStatusEnum.MerchantCenterLinkStatus status = 5; -======== google.ads.googleads.v14.enums.MerchantCenterLinkStatusEnum .MerchantCenterLinkStatus status = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/merchant_center_link.proto } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/mobile_app_category_constant.proto b/third_party/googleapis/google/ads/googleads/v14/resources/mobile_app_category_constant.proto index 0572a9372..466442592 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/mobile_app_category_constant.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/mobile_app_category_constant.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/mobile_app_category_constant.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/mobile_app_category_constant.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/mobile_app_category_constant.proto -package google.ads.googleads.v12.resources; -======== package google.ads.googleads.v14.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/mobile_app_category_constant.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/mobile_app_category_constant.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "MobileAppCategoryConstantProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/resources;resources"; option java_multiple_files = true; @@ -45,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/mobile_app_category_constant.proto // Proto file describing the Mobile App Category Constant resource. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/mobile_device_constant.proto b/third_party/googleapis/google/ads/googleads/v14/resources/mobile_device_constant.proto index 7d49efcfd..69ecb35d3 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/mobile_device_constant.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/mobile_device_constant.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/mobile_device_constant.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/mobile_device_constant.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/mobile_device_constant.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/mobile_device_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "MobileDeviceConstantProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/mobile_device_type.proto"; @@ -48,7 +28,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/mobile_device_constant.proto // Proto file describing the mobile device constant resource. @@ -85,10 +64,6 @@ message MobileDeviceConstant { [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The type of mobile device. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/mobile_device_constant.proto - google.ads.googleads.v13.enums.MobileDeviceTypeEnum.MobileDeviceType type = 6 -======== google.ads.googleads.v14.enums.MobileDeviceTypeEnum.MobileDeviceType type = 6 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/mobile_device_constant.proto [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/offline_user_data_job.proto b/third_party/googleapis/google/ads/googleads/v14/resources/offline_user_data_job.proto index 16fed95ae..303d51d6e 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/offline_user_data_job.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/offline_user_data_job.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/offline_user_data_job.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/offline_user_data_job.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,26 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/offline_user_data_job.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/offline_user_data.proto"; -import "google/ads/googleads/v13/enums/offline_user_data_job_failure_reason.proto"; -import "google/ads/googleads/v13/enums/offline_user_data_job_match_rate_range.proto"; -import "google/ads/googleads/v13/enums/offline_user_data_job_status.proto"; -import "google/ads/googleads/v13/enums/offline_user_data_job_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "OfflineUserDataJobProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/common/offline_user_data.proto"; @@ -56,7 +32,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/offline_user_data_job.proto // Proto file describing the offline user data job resource. @@ -88,29 +63,17 @@ message OfflineUserDataJob { optional int64 external_id = 10 [(google.api.field_behavior) = IMMUTABLE]; // Immutable. Type of the job. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/offline_user_data_job.proto - google.ads.googleads.v13.enums.OfflineUserDataJobTypeEnum -======== google.ads.googleads.v14.enums.OfflineUserDataJobTypeEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/offline_user_data_job.proto .OfflineUserDataJobType type = 4 [(google.api.field_behavior) = IMMUTABLE]; // Output only. Status of the job. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/offline_user_data_job.proto - google.ads.googleads.v13.enums.OfflineUserDataJobStatusEnum -======== google.ads.googleads.v14.enums.OfflineUserDataJobStatusEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/offline_user_data_job.proto .OfflineUserDataJobStatus status = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Reason for the processing failure, if status is FAILED. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/offline_user_data_job.proto - google.ads.googleads.v13.enums.OfflineUserDataJobFailureReasonEnum -======== google.ads.googleads.v14.enums.OfflineUserDataJobFailureReasonEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/offline_user_data_job.proto .OfflineUserDataJobFailureReason failure_reason = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -121,20 +84,12 @@ message OfflineUserDataJob { // Metadata of the job. oneof metadata { // Immutable. Metadata for data updates to a CRM-based user list. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/offline_user_data_job.proto - google.ads.googleads.v13.common.CustomerMatchUserListMetadata -======== google.ads.googleads.v14.common.CustomerMatchUserListMetadata ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/offline_user_data_job.proto customer_match_user_list_metadata = 7 [(google.api.field_behavior) = IMMUTABLE]; // Immutable. Metadata for store sales data update. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/offline_user_data_job.proto - google.ads.googleads.v13.common.StoreSalesMetadata store_sales_metadata = 8 -======== google.ads.googleads.v14.common.StoreSalesMetadata store_sales_metadata = 8 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/offline_user_data_job.proto [(google.api.field_behavior) = IMMUTABLE]; } } @@ -145,11 +100,7 @@ message OfflineUserDataJobMetadata { // the estimated match rate when the status of the job is "RUNNING" and final // match rate when the final match rate is available after the status of the // job is "SUCCESS/FAILED". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/offline_user_data_job.proto - google.ads.googleads.v13.enums.OfflineUserDataJobMatchRateRangeEnum -======== google.ads.googleads.v14.enums.OfflineUserDataJobMatchRateRangeEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/offline_user_data_job.proto .OfflineUserDataJobMatchRateRange match_rate_range = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/operating_system_version_constant.proto b/third_party/googleapis/google/ads/googleads/v14/resources/operating_system_version_constant.proto index 3a2057e4c..ba8b7eaf2 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/operating_system_version_constant.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/operating_system_version_constant.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/operating_system_version_constant.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/operating_system_version_constant.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/operating_system_version_constant.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/operating_system_version_operator_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "OperatingSystemVersionConstantProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/operating_system_version_operator_type.proto"; @@ -48,7 +28,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/operating_system_version_constant.proto // Proto file describing the operating system version constant resource. @@ -88,11 +67,7 @@ message OperatingSystemVersionConstant { // Output only. Determines whether this constant represents a single version // or a range of versions. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/operating_system_version_constant.proto - google.ads.googleads.v13.enums.OperatingSystemVersionOperatorTypeEnum -======== google.ads.googleads.v14.enums.OperatingSystemVersionOperatorTypeEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/operating_system_version_constant.proto .OperatingSystemVersionOperatorType operator_type = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/paid_organic_search_term_view.proto b/third_party/googleapis/google/ads/googleads/v14/resources/paid_organic_search_term_view.proto index 72aef21dd..374a121dd 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/paid_organic_search_term_view.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/paid_organic_search_term_view.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/paid_organic_search_term_view.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/paid_organic_search_term_view.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/paid_organic_search_term_view.proto -package google.ads.googleads.v12.resources; -======== package google.ads.googleads.v14.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/paid_organic_search_term_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/paid_organic_search_term_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "PaidOrganicSearchTermViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/resources;resources"; option java_multiple_files = true; @@ -45,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/paid_organic_search_term_view.proto // Proto file describing the PaidOrganicSearchTermView resource. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/parental_status_view.proto b/third_party/googleapis/google/ads/googleads/v14/resources/parental_status_view.proto index 10368bde2..c10fb2588 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/parental_status_view.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/parental_status_view.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/parental_status_view.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/parental_status_view.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/parental_status_view.proto -package google.ads.googleads.v12.resources; -======== package google.ads.googleads.v14.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/parental_status_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/parental_status_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ParentalStatusViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/resources;resources"; option java_multiple_files = true; @@ -45,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/parental_status_view.proto // Proto file describing the parental status view resource. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/payments_account.proto b/third_party/googleapis/google/ads/googleads/v14/resources/payments_account.proto index 8d1e4a0e0..83be4e11d 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/payments_account.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/payments_account.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/payments_account.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/payments_account.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/payments_account.proto -package google.ads.googleads.v13.resources; -======== package google.ads.googleads.v14.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/payments_account.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/payments_account.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "PaymentsAccountProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/resources;resources"; option java_multiple_files = true; @@ -45,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/payments_account.proto // Proto file describing the PaymentsAccount resource. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/product_bidding_category_constant.proto b/third_party/googleapis/google/ads/googleads/v14/resources/product_bidding_category_constant.proto index 4e273a98e..e3f77703c 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/product_bidding_category_constant.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/product_bidding_category_constant.proto @@ -14,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/product_bidding_category_constant.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/product_bidding_category_level.proto"; -import "google/ads/googleads/v12/enums/product_bidding_category_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ProductBiddingCategoryConstantProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/product_bidding_category_level.proto"; @@ -46,7 +29,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/product_bidding_category_constant.proto // Proto file describing the ProductBiddingCategoryConstant resource. @@ -87,12 +69,6 @@ message ProductBiddingCategoryConstant { ]; // Output only. Level of the product bidding category. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/product_bidding_category_constant.proto - google.ads.googleads.v12.enums.ProductBiddingCategoryLevelEnum.ProductBiddingCategoryLevel level = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Status of the product bidding category. - google.ads.googleads.v12.enums.ProductBiddingCategoryStatusEnum.ProductBiddingCategoryStatus status = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v14.enums.ProductBiddingCategoryLevelEnum .ProductBiddingCategoryLevel level = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -101,7 +77,6 @@ message ProductBiddingCategoryConstant { google.ads.googleads.v14.enums.ProductBiddingCategoryStatusEnum .ProductBiddingCategoryStatus status = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/product_bidding_category_constant.proto // Output only. Language code of the product bidding category. optional string language_code = 13 diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/product_group_view.proto b/third_party/googleapis/google/ads/googleads/v14/resources/product_group_view.proto index 52ecfa3e0..402dbff71 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/product_group_view.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/product_group_view.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/product_group_view.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/product_group_view.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/product_group_view.proto -package google.ads.googleads.v12.resources; -======== package google.ads.googleads.v14.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/product_group_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/product_group_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ProductGroupViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/resources;resources"; option java_multiple_files = true; @@ -45,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/product_group_view.proto // Proto file describing the ProductGroup View resource. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/remarketing_action.proto b/third_party/googleapis/google/ads/googleads/v14/resources/remarketing_action.proto index 4ad8a05d7..37b66d013 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/remarketing_action.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/remarketing_action.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/remarketing_action.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/remarketing_action.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/remarketing_action.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/tag_snippet.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "RemarketingActionProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/common/tag_snippet.proto"; @@ -48,7 +28,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/remarketing_action.proto // Proto file describing the Remarketing Action resource. @@ -82,10 +61,6 @@ message RemarketingAction { optional string name = 6; // Output only. The snippets used for tracking remarketing actions. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/remarketing_action.proto - repeated google.ads.googleads.v13.common.TagSnippet tag_snippets = 4 -======== repeated google.ads.googleads.v14.common.TagSnippet tag_snippets = 4 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/remarketing_action.proto [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/search_term_view.proto b/third_party/googleapis/google/ads/googleads/v14/resources/search_term_view.proto index fc85cb8fb..83f99467d 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/search_term_view.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/search_term_view.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/search_term_view.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/search_term_view.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/search_term_view.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/search_term_targeting_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "SearchTermViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/search_term_targeting_status.proto"; @@ -48,7 +28,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/search_term_view.proto // Proto file describing the SearchTermView resource. @@ -84,11 +63,7 @@ message SearchTermView { // Output only. Indicates whether the search term is currently one of your // targeted or excluded keywords. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/search_term_view.proto - google.ads.googleads.v13.enums.SearchTermTargetingStatusEnum -======== google.ads.googleads.v14.enums.SearchTermTargetingStatusEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/search_term_view.proto .SearchTermTargetingStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/shared_criterion.proto b/third_party/googleapis/google/ads/googleads/v14/resources/shared_criterion.proto index 4cb716eef..839affcc4 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/shared_criterion.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/shared_criterion.proto @@ -14,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/shared_criterion.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/criteria.proto"; -import "google/ads/googleads/v12/enums/criterion_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "SharedCriterionProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/common/criteria.proto"; @@ -46,7 +29,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/shared_criterion.proto // Proto file describing the SharedCriterion resource. @@ -82,36 +64,14 @@ message SharedCriterion { optional int64 criterion_id = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The type of the criterion. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/shared_criterion.proto - google.ads.googleads.v12.enums.CriterionTypeEnum.CriterionType type = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v14.enums.CriterionTypeEnum.CriterionType type = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/shared_criterion.proto // The criterion. // // Exactly one must be set. oneof criterion { // Immutable. Keyword. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/shared_criterion.proto - google.ads.googleads.v12.common.KeywordInfo keyword = 3 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. YouTube Video. - google.ads.googleads.v12.common.YouTubeVideoInfo youtube_video = 5 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. YouTube Channel. - google.ads.googleads.v12.common.YouTubeChannelInfo youtube_channel = 6 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Placement. - google.ads.googleads.v12.common.PlacementInfo placement = 7 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Mobile App Category. - google.ads.googleads.v12.common.MobileAppCategoryInfo mobile_app_category = 8 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Mobile application. - google.ads.googleads.v12.common.MobileApplicationInfo mobile_application = 9 [(google.api.field_behavior) = IMMUTABLE]; -======== google.ads.googleads.v14.common.KeywordInfo keyword = 3 [(google.api.field_behavior) = IMMUTABLE]; @@ -134,6 +94,5 @@ message SharedCriterion { // Immutable. Mobile application. google.ads.googleads.v14.common.MobileApplicationInfo mobile_application = 9 [(google.api.field_behavior) = IMMUTABLE]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/shared_criterion.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/shared_set.proto b/third_party/googleapis/google/ads/googleads/v14/resources/shared_set.proto index 2952258bb..656c151de 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/shared_set.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/shared_set.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/shared_set.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/shared_set.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/shared_set.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/shared_set_status.proto"; -import "google/ads/googleads/v13/enums/shared_set_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "SharedSetProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/enums/shared_set_status.proto"; @@ -50,7 +29,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/shared_set.proto // Proto file describing the SharedSet resource. @@ -78,11 +56,7 @@ message SharedSet { // Immutable. The type of this shared set: each shared set holds only a single // kind of resource. Required. Immutable. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/shared_set.proto - google.ads.googleads.v13.enums.SharedSetTypeEnum.SharedSetType type = 3 -======== google.ads.googleads.v14.enums.SharedSetTypeEnum.SharedSetType type = 3 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/shared_set.proto [(google.api.field_behavior) = IMMUTABLE]; // The name of this shared set. Required. @@ -93,11 +67,7 @@ message SharedSet { optional string name = 9; // Output only. The status of this shared set. Read only. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/shared_set.proto - google.ads.googleads.v13.enums.SharedSetStatusEnum.SharedSetStatus status = 5 -======== google.ads.googleads.v14.enums.SharedSetStatusEnum.SharedSetStatus status = 5 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/shared_set.proto [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The number of shared criteria within this shared set. Read diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/shopping_performance_view.proto b/third_party/googleapis/google/ads/googleads/v14/resources/shopping_performance_view.proto index d1c320a65..495adaa5e 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/shopping_performance_view.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/shopping_performance_view.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/shopping_performance_view.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/shopping_performance_view.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/shopping_performance_view.proto -package google.ads.googleads.v12.resources; -======== package google.ads.googleads.v14.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/shopping_performance_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/shopping_performance_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ShoppingPerformanceViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/resources;resources"; option java_multiple_files = true; @@ -45,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/shopping_performance_view.proto // Proto file describing the ShoppingPerformanceView resource. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/smart_campaign_search_term_view.proto b/third_party/googleapis/google/ads/googleads/v14/resources/smart_campaign_search_term_view.proto index 2b6988d65..3838f9417 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/smart_campaign_search_term_view.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/smart_campaign_search_term_view.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/smart_campaign_search_term_view.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/smart_campaign_search_term_view.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/smart_campaign_search_term_view.proto -package google.ads.googleads.v12.resources; -======== package google.ads.googleads.v14.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/smart_campaign_search_term_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/smart_campaign_search_term_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "SmartCampaignSearchTermViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/resources;resources"; option java_multiple_files = true; @@ -45,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/smart_campaign_search_term_view.proto // Proto file describing the SmartCampaignSearchTermView resource. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/smart_campaign_setting.proto b/third_party/googleapis/google/ads/googleads/v14/resources/smart_campaign_setting.proto index 2944750ea..33bb6b732 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/smart_campaign_setting.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/smart_campaign_setting.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/smart_campaign_setting.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/smart_campaign_setting.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/smart_campaign_setting.proto -package google.ads.googleads.v13.resources; -======== package google.ads.googleads.v14.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/smart_campaign_setting.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/smart_campaign_setting.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "SmartCampaignSettingProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/resources;resources"; option java_multiple_files = true; @@ -45,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/smart_campaign_setting.proto // Proto file describing the Smart campaign setting resource. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/third_party_app_analytics_link.proto b/third_party/googleapis/google/ads/googleads/v14/resources/third_party_app_analytics_link.proto index 2b42f455b..758104c76 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/third_party_app_analytics_link.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/third_party_app_analytics_link.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/third_party_app_analytics_link.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/third_party_app_analytics_link.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/third_party_app_analytics_link.proto -package google.ads.googleads.v13.resources; -======== package google.ads.googleads.v14.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/third_party_app_analytics_link.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/third_party_app_analytics_link.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ThirdPartyAppAnalyticsLinkProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/resources;resources"; option java_multiple_files = true; @@ -45,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/third_party_app_analytics_link.proto // A data sharing connection, allowing the import of third party app analytics // into a Google Ads Customer. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/topic_constant.proto b/third_party/googleapis/google/ads/googleads/v14/resources/topic_constant.proto index 0d988983f..4d8a2c00f 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/topic_constant.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/topic_constant.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/topic_constant.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/topic_constant.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/topic_constant.proto -package google.ads.googleads.v13.resources; -======== package google.ads.googleads.v14.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/topic_constant.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/topic_constant.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "TopicConstantProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/resources;resources"; option java_multiple_files = true; @@ -45,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/topic_constant.proto // Proto file describing the Topic Constant resource. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/topic_view.proto b/third_party/googleapis/google/ads/googleads/v14/resources/topic_view.proto index 6fe8566b3..bab92ba7b 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/topic_view.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/topic_view.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/topic_view.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/topic_view.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/topic_view.proto -package google.ads.googleads.v12.resources; -======== package google.ads.googleads.v14.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/topic_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/topic_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "TopicViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/resources;resources"; option java_multiple_files = true; @@ -45,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/topic_view.proto // Proto file describing the topic view resource. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/user_interest.proto b/third_party/googleapis/google/ads/googleads/v14/resources/user_interest.proto index 56ac6b0ac..3cf1021e7 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/user_interest.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/user_interest.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/user_interest.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/user_interest.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/user_interest.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/criterion_category_availability.proto"; -import "google/ads/googleads/v13/enums/user_interest_taxonomy_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "UserInterestProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/common/criterion_category_availability.proto"; @@ -50,7 +29,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/user_interest.proto // Proto file describing the User Interest resource. @@ -73,11 +51,7 @@ message UserInterest { ]; // Output only. Taxonomy type of the user interest. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/user_interest.proto - google.ads.googleads.v13.enums.UserInterestTaxonomyTypeEnum -======== google.ads.googleads.v14.enums.UserInterestTaxonomyTypeEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/user_interest.proto .UserInterestTaxonomyType taxonomy_type = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -102,10 +76,6 @@ message UserInterest { [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Availability information of the user interest. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/user_interest.proto - repeated google.ads.googleads.v13.common.CriterionCategoryAvailability -======== repeated google.ads.googleads.v14.common.CriterionCategoryAvailability ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/user_interest.proto availabilities = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/user_list.proto b/third_party/googleapis/google/ads/googleads/v14/resources/user_list.proto index 11f961372..429b2d59f 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/user_list.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/user_list.proto @@ -14,28 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/user_list.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/user_lists.proto"; -import "google/ads/googleads/v12/enums/access_reason.proto"; -import "google/ads/googleads/v12/enums/user_list_access_status.proto"; -import "google/ads/googleads/v12/enums/user_list_closing_reason.proto"; -import "google/ads/googleads/v12/enums/user_list_membership_status.proto"; -import "google/ads/googleads/v12/enums/user_list_size_range.proto"; -import "google/ads/googleads/v12/enums/user_list_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "UserListProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v14.resources; import "google/ads/googleads/v14/common/user_lists.proto"; @@ -56,7 +34,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/user_list.proto // Proto file describing the User List resource. @@ -81,15 +58,9 @@ message UserList { // Output only. Id of the user list. optional int64 id = 25 [(google.api.field_behavior) = OUTPUT_ONLY]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/user_list.proto - // Output only. An option that indicates if a user may edit a list. Depends on the list - // ownership and list type. For example, external remarketing user lists are - // not editable. -======== // Output only. An option that indicates if a user may edit a list. Depends on // the list ownership and list type. For example, external remarketing user // lists are not editable. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/user_list.proto // // This field is read-only. optional bool read_only = 26 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -104,12 +75,8 @@ message UserList { // Membership status of this user list. Indicates whether a user list is open // or active. Only open user lists can accumulate more users and can be // targeted to. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/user_list.proto - google.ads.googleads.v12.enums.UserListMembershipStatusEnum.UserListMembershipStatus membership_status = 6; -======== google.ads.googleads.v14.enums.UserListMembershipStatusEnum .UserListMembershipStatus membership_status = 6; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/user_list.proto // An ID from external system. It is used by user list sellers to correlate // IDs on their systems. @@ -150,66 +117,34 @@ message UserList { // Search ads. // // This field is read-only. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/user_list.proto - google.ads.googleads.v12.enums.UserListSizeRangeEnum.UserListSizeRange size_range_for_display = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Estimated number of users in this user list in the google.com domain. - // These are the users available for targeting in Search campaigns. - // This value is null if the number of users has not yet been determined. - // - // This field is read-only. - optional int64 size_for_search = 32 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Size range in terms of number of users of the UserList, for Search ads. - // - // This field is read-only. - google.ads.googleads.v12.enums.UserListSizeRangeEnum.UserListSizeRange size_range_for_search = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v14.enums.UserListSizeRangeEnum.UserListSizeRange size_range_for_search = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/user_list.proto // Output only. Type of this list. // // This field is read-only. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/user_list.proto - google.ads.googleads.v12.enums.UserListTypeEnum.UserListType type = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v14.enums.UserListTypeEnum.UserListType type = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/user_list.proto // Indicating the reason why this user list membership status is closed. It is // only populated on lists that were automatically closed due to inactivity, // and will be cleared once the list membership status becomes open. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/user_list.proto - google.ads.googleads.v12.enums.UserListClosingReasonEnum.UserListClosingReason closing_reason = 14; -======== google.ads.googleads.v14.enums.UserListClosingReasonEnum.UserListClosingReason closing_reason = 14; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/user_list.proto // Output only. Indicates the reason this account has been granted access to // the list. The reason can be SHARED, OWNED, LICENSED or SUBSCRIBED. // // This field is read-only. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/user_list.proto - google.ads.googleads.v12.enums.AccessReasonEnum.AccessReason access_reason = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v14.enums.AccessReasonEnum.AccessReason access_reason = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/user_list.proto // Indicates if this share is still enabled. When a UserList is shared with // the user this field is set to ENABLED. Later the userList owner can decide // to revoke the share and make it DISABLED. // The default value of this field is set to ENABLED. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/user_list.proto - google.ads.googleads.v12.enums.UserListAccessStatusEnum.UserListAccessStatus account_user_list_status = 16; -======== google.ads.googleads.v14.enums.UserListAccessStatusEnum.UserListAccessStatus account_user_list_status = 16; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/user_list.proto // Indicates if this user list is eligible for Google Search Network. optional bool eligible_for_search = 33; @@ -234,22 +169,6 @@ message UserList { // Exactly one must be set. oneof user_list { // User list of CRM users provided by the advertiser. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/user_list.proto - google.ads.googleads.v12.common.CrmBasedUserListInfo crm_based_user_list = 19; - - // Output only. User list which are similar to users from another UserList. - // These lists are readonly and automatically created by google. - google.ads.googleads.v12.common.SimilarUserListInfo similar_user_list = 20 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // User list generated by a rule. - google.ads.googleads.v12.common.RuleBasedUserListInfo rule_based_user_list = 21; - - // User list that is a custom combination of user lists and user interests. - google.ads.googleads.v12.common.LogicalUserListInfo logical_user_list = 22; - - // User list targeting as a collection of conversion or remarketing actions. - google.ads.googleads.v12.common.BasicUserListInfo basic_user_list = 23; -======== google.ads.googleads.v14.common.CrmBasedUserListInfo crm_based_user_list = 19; @@ -267,6 +186,5 @@ message UserList { // User list targeting as a collection of conversion or remarketing actions. google.ads.googleads.v14.common.BasicUserListInfo basic_user_list = 23; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/user_list.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/user_location_view.proto b/third_party/googleapis/google/ads/googleads/v14/resources/user_location_view.proto index 4fa9c9eb2..c829333f6 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/user_location_view.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/user_location_view.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/user_location_view.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/user_location_view.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/user_location_view.proto -package google.ads.googleads.v13.resources; -======== package google.ads.googleads.v14.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/user_location_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/user_location_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "UserLocationViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/resources;resources"; option java_multiple_files = true; @@ -45,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/user_location_view.proto // Proto file describing the user location view resource. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/video.proto b/third_party/googleapis/google/ads/googleads/v14/resources/video.proto index f53f60a42..0875b4be4 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/video.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/video.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/video.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/video.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/video.proto -package google.ads.googleads.v13.resources; -======== package google.ads.googleads.v14.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/video.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/video.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "VideoProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/resources;resources"; option java_multiple_files = true; @@ -45,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/video.proto // Proto file describing the video resource. diff --git a/third_party/googleapis/google/ads/googleads/v14/resources/webpage_view.proto b/third_party/googleapis/google/ads/googleads/v14/resources/webpage_view.proto index f7fde1a4a..06d59fdfd 100644 --- a/third_party/googleapis/google/ads/googleads/v14/resources/webpage_view.proto +++ b/third_party/googleapis/google/ads/googleads/v14/resources/webpage_view.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/webpage_view.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/webpage_view.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/webpage_view.proto -package google.ads.googleads.v12.resources; -======== package google.ads.googleads.v14.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/webpage_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/webpage_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "WebpageViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/resources;resources"; option java_multiple_files = true; @@ -45,7 +27,6 @@ option java_package = "com.google.ads.googleads.v14.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V14::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/resources/webpage_view.proto // Proto file describing the webpage view resource. diff --git a/third_party/googleapis/google/ads/googleads/v14/services/BUILD.bazel b/third_party/googleapis/google/ads/googleads/v14/services/BUILD.bazel index 17129dc6b..acd7de9d3 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/BUILD.bazel +++ b/third_party/googleapis/google/ads/googleads/v14/services/BUILD.bazel @@ -27,17 +27,10 @@ proto_library( name = "services_proto", srcs = glob(["*.proto"]), deps = [ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/BUILD.bazel - "//google/ads/googleads/v12/common:common_proto", - "//google/ads/googleads/v12/enums:enums_proto", - "//google/ads/googleads/v12/errors:errors_proto", - "//google/ads/googleads/v12/resources:resources_proto", -======== "//google/ads/googleads/v14/common:common_proto", "//google/ads/googleads/v14/enums:enums_proto", "//google/ads/googleads/v14/errors:errors_proto", "//google/ads/googleads/v14/resources:resources_proto", ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/BUILD.bazel "//google/api:annotations_proto", "//google/api:client_proto", "//google/api:field_behavior_proto", diff --git a/third_party/googleapis/google/ads/googleads/v14/services/account_budget_proposal_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/account_budget_proposal_service.proto index f8c7df742..76f76e444 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/account_budget_proposal_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/account_budget_proposal_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/account_budget_proposal_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/account_budget_proposal_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,31 +14,15 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/account_budget_proposal_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/account_budget_proposal.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/resources/account_budget_proposal.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/account_budget_proposal_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/account_budget_proposal_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AccountBudgetProposalServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -51,7 +31,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/account_budget_proposal_service.proto // Proto file describing the AccountBudgetProposal service. @@ -88,11 +67,7 @@ service AccountBudgetProposalService { rpc MutateAccountBudgetProposal(MutateAccountBudgetProposalRequest) returns (MutateAccountBudgetProposalResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/account_budget_proposal_service.proto - post: "/v13/customers/{customer_id=*}/accountBudgetProposals:mutate" -======== post: "/v14/customers/{customer_id=*}/accountBudgetProposals:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/account_budget_proposal_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operation"; @@ -100,11 +75,7 @@ service AccountBudgetProposalService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/account_budget_proposal_service.proto -// [AccountBudgetProposalService.MutateAccountBudgetProposal][google.ads.googleads.v13.services.AccountBudgetProposalService.MutateAccountBudgetProposal]. -======== // [AccountBudgetProposalService.MutateAccountBudgetProposal][google.ads.googleads.v14.services.AccountBudgetProposalService.MutateAccountBudgetProposal]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/account_budget_proposal_service.proto message MutateAccountBudgetProposalRequest { // Required. The ID of the customer. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -136,11 +107,7 @@ message AccountBudgetProposalOperation { // existing budget, end an actively running budget, or remove an approved // budget scheduled to start in the future. // No resource name is expected for the new proposal. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/account_budget_proposal_service.proto - google.ads.googleads.v13.resources.AccountBudgetProposal create = 2; -======== google.ads.googleads.v14.resources.AccountBudgetProposal create = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/account_budget_proposal_service.proto // Remove operation: A resource name for the removed proposal is expected, // in this format: diff --git a/third_party/googleapis/google/ads/googleads/v14/services/account_link_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/account_link_service.proto index 0e1b260a6..f77517d6e 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/account_link_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/account_link_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/account_link_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/account_link_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,15 +14,9 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/account_link_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/account_link.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/resources/account_link.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/account_link_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -34,16 +24,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/account_link_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AccountLinkServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -52,7 +32,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/account_link_service.proto // This service allows management of links between Google Ads accounts and other // accounts. @@ -76,11 +55,7 @@ service AccountLinkService { rpc CreateAccountLink(CreateAccountLinkRequest) returns (CreateAccountLinkResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/account_link_service.proto - post: "/v13/customers/{customer_id=*}/accountLinks:create" -======== post: "/v14/customers/{customer_id=*}/accountLinks:create" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/account_link_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,account_link"; @@ -104,11 +79,7 @@ service AccountLinkService { rpc MutateAccountLink(MutateAccountLinkRequest) returns (MutateAccountLinkResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/account_link_service.proto - post: "/v13/customers/{customer_id=*}/accountLinks:mutate" -======== post: "/v14/customers/{customer_id=*}/accountLinks:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/account_link_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operation"; @@ -116,30 +87,18 @@ service AccountLinkService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/account_link_service.proto -// [AccountLinkService.CreateAccountLink][google.ads.googleads.v13.services.AccountLinkService.CreateAccountLink]. -======== // [AccountLinkService.CreateAccountLink][google.ads.googleads.v14.services.AccountLinkService.CreateAccountLink]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/account_link_service.proto message CreateAccountLinkRequest { // Required. The ID of the customer for which the account link is created. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; // Required. The account link to be created. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/account_link_service.proto - google.ads.googleads.v13.resources.AccountLink account_link = 2 -======== google.ads.googleads.v14.resources.AccountLink account_link = 2 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/account_link_service.proto [(google.api.field_behavior) = REQUIRED]; } // Response message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/account_link_service.proto -// [AccountLinkService.CreateAccountLink][google.ads.googleads.v13.services.AccountLinkService.CreateAccountLink]. -======== // [AccountLinkService.CreateAccountLink][google.ads.googleads.v14.services.AccountLinkService.CreateAccountLink]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/account_link_service.proto message CreateAccountLinkResponse { // Returned for successful operations. Resource name of the account link. string resource_name = 1 [(google.api.resource_reference) = { @@ -148,11 +107,7 @@ message CreateAccountLinkResponse { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/account_link_service.proto -// [AccountLinkService.MutateAccountLink][google.ads.googleads.v13.services.AccountLinkService.MutateAccountLink]. -======== // [AccountLinkService.MutateAccountLink][google.ads.googleads.v14.services.AccountLinkService.MutateAccountLink]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/account_link_service.proto message MutateAccountLinkRequest { // Required. The ID of the customer being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -180,11 +135,7 @@ message AccountLinkOperation { oneof operation { // Update operation: The account link is expected to have // a valid resource name. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/account_link_service.proto - google.ads.googleads.v13.resources.AccountLink update = 2; -======== google.ads.googleads.v14.resources.AccountLink update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/account_link_service.proto // Remove operation: A resource name for the account link to remove is // expected, in this format: diff --git a/third_party/googleapis/google/ads/googleads/v14/services/ad_group_ad_label_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/ad_group_ad_label_service.proto index 3d183135c..332505f38 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/ad_group_ad_label_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/ad_group_ad_label_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_ad_label_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_ad_label_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,31 +14,15 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_ad_label_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/ad_group_ad_label.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/resources/ad_group_ad_label.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_ad_label_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_ad_label_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAdLabelServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -51,7 +31,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_ad_label_service.proto // Proto file describing the Ad Group Ad Label service. @@ -77,11 +56,7 @@ service AdGroupAdLabelService { rpc MutateAdGroupAdLabels(MutateAdGroupAdLabelsRequest) returns (MutateAdGroupAdLabelsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_ad_label_service.proto - post: "/v13/customers/{customer_id=*}/adGroupAdLabels:mutate" -======== post: "/v14/customers/{customer_id=*}/adGroupAdLabels:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_ad_label_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -89,11 +64,7 @@ service AdGroupAdLabelService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_ad_label_service.proto -// [AdGroupAdLabelService.MutateAdGroupAdLabels][google.ads.googleads.v13.services.AdGroupAdLabelService.MutateAdGroupAdLabels]. -======== // [AdGroupAdLabelService.MutateAdGroupAdLabels][google.ads.googleads.v14.services.AdGroupAdLabelService.MutateAdGroupAdLabels]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_ad_label_service.proto message MutateAdGroupAdLabelsRequest { // Required. ID of the customer whose ad group ad labels are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -119,11 +90,7 @@ message AdGroupAdLabelOperation { oneof operation { // Create operation: No resource name is expected for the new ad group ad // label. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_ad_label_service.proto - google.ads.googleads.v13.resources.AdGroupAdLabel create = 1; -======== google.ads.googleads.v14.resources.AdGroupAdLabel create = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_ad_label_service.proto // Remove operation: A resource name for the ad group ad label // being removed, in this format: diff --git a/third_party/googleapis/google/ads/googleads/v14/services/ad_group_ad_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/ad_group_ad_service.proto index a077e2a4f..4f39370c0 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/ad_group_ad_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/ad_group_ad_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_ad_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_ad_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,19 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_ad_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/common/policy.proto"; -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/ad_group_ad.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/common/policy.proto"; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/ad_group_ad.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_ad_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -38,16 +26,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_ad_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAdServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -56,7 +34,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_ad_service.proto // Proto file describing the Ad Group Ad service. @@ -114,11 +91,7 @@ service AdGroupAdService { rpc MutateAdGroupAds(MutateAdGroupAdsRequest) returns (MutateAdGroupAdsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_ad_service.proto - post: "/v13/customers/{customer_id=*}/adGroupAds:mutate" -======== post: "/v14/customers/{customer_id=*}/adGroupAds:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_ad_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -126,11 +99,7 @@ service AdGroupAdService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_ad_service.proto -// [AdGroupAdService.MutateAdGroupAds][google.ads.googleads.v13.services.AdGroupAdService.MutateAdGroupAds]. -======== // [AdGroupAdService.MutateAdGroupAds][google.ads.googleads.v14.services.AdGroupAdService.MutateAdGroupAds]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_ad_service.proto message MutateAdGroupAdsRequest { // Required. The ID of the customer whose ads are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -151,11 +120,7 @@ message MutateAdGroupAdsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_ad_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_ad_service.proto response_content_type = 5; } @@ -165,27 +130,16 @@ message AdGroupAdOperation { google.protobuf.FieldMask update_mask = 4; // Configuration for how policies are validated. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_ad_service.proto - google.ads.googleads.v13.common.PolicyValidationParameter -======== google.ads.googleads.v14.common.PolicyValidationParameter ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_ad_service.proto policy_validation_parameter = 5; // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new ad. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_ad_service.proto - google.ads.googleads.v13.resources.AdGroupAd create = 1; - - // Update operation: The ad is expected to have a valid resource name. - google.ads.googleads.v13.resources.AdGroupAd update = 2; -======== google.ads.googleads.v14.resources.AdGroupAd create = 1; // Update operation: The ad is expected to have a valid resource name. google.ads.googleads.v14.resources.AdGroupAd update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_ad_service.proto // Remove operation: A resource name for the removed ad is expected, // in this format: @@ -219,9 +173,5 @@ message MutateAdGroupAdResult { // The mutated ad group ad with only mutable fields after mutate. The field // will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_ad_service.proto - google.ads.googleads.v13.resources.AdGroupAd ad_group_ad = 2; -======== google.ads.googleads.v14.resources.AdGroupAd ad_group_ad = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_ad_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/ad_group_asset_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/ad_group_asset_service.proto index 840e6613a..dbe793b54 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/ad_group_asset_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/ad_group_asset_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_asset_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_asset_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_asset_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/ad_group_asset.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/ad_group_asset.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_asset_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -36,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_asset_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAssetServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -54,7 +33,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_asset_service.proto // Proto file describing the AdGroupAsset service. @@ -81,11 +59,7 @@ service AdGroupAssetService { rpc MutateAdGroupAssets(MutateAdGroupAssetsRequest) returns (MutateAdGroupAssetsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_asset_service.proto - post: "/v13/customers/{customer_id=*}/adGroupAssets:mutate" -======== post: "/v14/customers/{customer_id=*}/adGroupAssets:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_asset_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -93,11 +67,7 @@ service AdGroupAssetService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_asset_service.proto -// [AdGroupAssetService.MutateAdGroupAssets][google.ads.googleads.v13.services.AdGroupAssetService.MutateAdGroupAssets]. -======== // [AdGroupAssetService.MutateAdGroupAssets][google.ads.googleads.v14.services.AdGroupAssetService.MutateAdGroupAssets]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_asset_service.proto message MutateAdGroupAssetsRequest { // Required. The ID of the customer whose ad group assets are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -118,11 +88,7 @@ message MutateAdGroupAssetsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_asset_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_asset_service.proto response_content_type = 5; } @@ -135,19 +101,11 @@ message AdGroupAssetOperation { oneof operation { // Create operation: No resource name is expected for the new ad group // asset. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_asset_service.proto - google.ads.googleads.v13.resources.AdGroupAsset create = 1; - - // Update operation: The ad group asset is expected to have a valid resource - // name. - google.ads.googleads.v13.resources.AdGroupAsset update = 3; -======== google.ads.googleads.v14.resources.AdGroupAsset create = 1; // Update operation: The ad group asset is expected to have a valid resource // name. google.ads.googleads.v14.resources.AdGroupAsset update = 3; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_asset_service.proto // Remove operation: A resource name for the removed ad group asset is // expected, in this format: @@ -181,9 +139,5 @@ message MutateAdGroupAssetResult { // The mutated ad group asset with only mutable fields after // mutate. The field will only be returned when response_content_type is set // to "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_asset_service.proto - google.ads.googleads.v13.resources.AdGroupAsset ad_group_asset = 2; -======== google.ads.googleads.v14.resources.AdGroupAsset ad_group_asset = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_asset_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/ad_group_bid_modifier_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/ad_group_bid_modifier_service.proto index 2a99d3fa4..303625ef6 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/ad_group_bid_modifier_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/ad_group_bid_modifier_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_bid_modifier_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_bid_modifier_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_bid_modifier_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/ad_group_bid_modifier.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/ad_group_bid_modifier.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_bid_modifier_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -36,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_bid_modifier_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupBidModifierServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -54,7 +33,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_bid_modifier_service.proto // Proto file describing the Ad Group Bid Modifier service. @@ -93,11 +71,7 @@ service AdGroupBidModifierService { rpc MutateAdGroupBidModifiers(MutateAdGroupBidModifiersRequest) returns (MutateAdGroupBidModifiersResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_bid_modifier_service.proto - post: "/v13/customers/{customer_id=*}/adGroupBidModifiers:mutate" -======== post: "/v14/customers/{customer_id=*}/adGroupBidModifiers:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_bid_modifier_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -105,11 +79,7 @@ service AdGroupBidModifierService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_bid_modifier_service.proto -// [AdGroupBidModifierService.MutateAdGroupBidModifiers][google.ads.googleads.v13.services.AdGroupBidModifierService.MutateAdGroupBidModifiers]. -======== // [AdGroupBidModifierService.MutateAdGroupBidModifiers][google.ads.googleads.v14.services.AdGroupBidModifierService.MutateAdGroupBidModifiers]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_bid_modifier_service.proto message MutateAdGroupBidModifiersRequest { // Required. ID of the customer whose ad group bid modifiers are being // modified. @@ -132,11 +102,7 @@ message MutateAdGroupBidModifiersRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_bid_modifier_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_bid_modifier_service.proto response_content_type = 5; } @@ -149,19 +115,11 @@ message AdGroupBidModifierOperation { oneof operation { // Create operation: No resource name is expected for the new ad group bid // modifier. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_bid_modifier_service.proto - google.ads.googleads.v13.resources.AdGroupBidModifier create = 1; - - // Update operation: The ad group bid modifier is expected to have a valid - // resource name. - google.ads.googleads.v13.resources.AdGroupBidModifier update = 2; -======== google.ads.googleads.v14.resources.AdGroupBidModifier create = 1; // Update operation: The ad group bid modifier is expected to have a valid // resource name. google.ads.googleads.v14.resources.AdGroupBidModifier update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_bid_modifier_service.proto // Remove operation: A resource name for the removed ad group bid modifier // is expected, in this format: @@ -195,10 +153,6 @@ message MutateAdGroupBidModifierResult { // The mutated ad group bid modifier with only mutable fields after mutate. // The field will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_bid_modifier_service.proto - google.ads.googleads.v13.resources.AdGroupBidModifier ad_group_bid_modifier = -======== google.ads.googleads.v14.resources.AdGroupBidModifier ad_group_bid_modifier = ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_bid_modifier_service.proto 2; } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/ad_group_criterion_customizer_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/ad_group_criterion_customizer_service.proto index 298cccea1..d7031e4d8 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/ad_group_criterion_customizer_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/ad_group_criterion_customizer_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_criterion_customizer_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_criterion_customizer_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,33 +14,16 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_criterion_customizer_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/ad_group_criterion_customizer.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/ad_group_criterion_customizer.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_criterion_customizer_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_criterion_customizer_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionCustomizerServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -53,7 +32,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_criterion_customizer_service.proto // Proto file describing the AdGroupCriterionCustomizer service. @@ -68,11 +46,7 @@ service AdGroupCriterionCustomizerService { MutateAdGroupCriterionCustomizersRequest) returns (MutateAdGroupCriterionCustomizersResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_criterion_customizer_service.proto - post: "/v13/customers/{customer_id=*}/AdGroupCriterionCustomizers:mutate" -======== post: "/v14/customers/{customer_id=*}/AdGroupCriterionCustomizers:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_criterion_customizer_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -80,11 +54,7 @@ service AdGroupCriterionCustomizerService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_criterion_customizer_service.proto -// [AdGroupCriterionCustomizerService.MutateAdGroupCriterionCustomizers][google.ads.googleads.v13.services.AdGroupCriterionCustomizerService.MutateAdGroupCriterionCustomizers]. -======== // [AdGroupCriterionCustomizerService.MutateAdGroupCriterionCustomizers][google.ads.googleads.v14.services.AdGroupCriterionCustomizerService.MutateAdGroupCriterionCustomizers]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_criterion_customizer_service.proto message MutateAdGroupCriterionCustomizersRequest { // Required. The ID of the customer whose ad group criterion customizers are // being modified. @@ -107,11 +77,7 @@ message MutateAdGroupCriterionCustomizersRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_criterion_customizer_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_criterion_customizer_service.proto response_content_type = 5; } @@ -121,11 +87,7 @@ message AdGroupCriterionCustomizerOperation { oneof operation { // Create operation: No resource name is expected for the new ad group // criterion customizer. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_criterion_customizer_service.proto - google.ads.googleads.v13.resources.AdGroupCriterionCustomizer create = 1; -======== google.ads.googleads.v14.resources.AdGroupCriterionCustomizer create = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_criterion_customizer_service.proto // Remove operation: A resource name for the removed ad group criterion // customizer is expected, in this format: @@ -159,10 +121,6 @@ message MutateAdGroupCriterionCustomizerResult { // The mutated AdGroupCriterionCustomizer with only mutable fields after // mutate. The field will only be returned when response_content_type is set // to "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_criterion_customizer_service.proto - google.ads.googleads.v13.resources.AdGroupCriterionCustomizer -======== google.ads.googleads.v14.resources.AdGroupCriterionCustomizer ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_criterion_customizer_service.proto ad_group_criterion_customizer = 2; } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/ad_group_criterion_label_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/ad_group_criterion_label_service.proto index ab209588c..3f2cc954c 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/ad_group_criterion_label_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/ad_group_criterion_label_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_criterion_label_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_criterion_label_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,31 +14,15 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_criterion_label_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/ad_group_criterion_label.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/resources/ad_group_criterion_label.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_criterion_label_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_criterion_label_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionLabelServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -51,7 +31,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_criterion_label_service.proto // Proto file describing the Ad Group Criterion Label service. @@ -75,11 +54,7 @@ service AdGroupCriterionLabelService { rpc MutateAdGroupCriterionLabels(MutateAdGroupCriterionLabelsRequest) returns (MutateAdGroupCriterionLabelsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_criterion_label_service.proto - post: "/v13/customers/{customer_id=*}/adGroupCriterionLabels:mutate" -======== post: "/v14/customers/{customer_id=*}/adGroupCriterionLabels:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_criterion_label_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -87,11 +62,7 @@ service AdGroupCriterionLabelService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_criterion_label_service.proto -// [AdGroupCriterionLabelService.MutateAdGroupCriterionLabels][google.ads.googleads.v13.services.AdGroupCriterionLabelService.MutateAdGroupCriterionLabels]. -======== // [AdGroupCriterionLabelService.MutateAdGroupCriterionLabels][google.ads.googleads.v14.services.AdGroupCriterionLabelService.MutateAdGroupCriterionLabels]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_criterion_label_service.proto message MutateAdGroupCriterionLabelsRequest { // Required. ID of the customer whose ad group criterion labels are being // modified. @@ -118,11 +89,7 @@ message AdGroupCriterionLabelOperation { oneof operation { // Create operation: No resource name is expected for the new ad group // label. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_criterion_label_service.proto - google.ads.googleads.v13.resources.AdGroupCriterionLabel create = 1; -======== google.ads.googleads.v14.resources.AdGroupCriterionLabel create = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_criterion_label_service.proto // Remove operation: A resource name for the ad group criterion label // being removed, in this format: diff --git a/third_party/googleapis/google/ads/googleads/v14/services/ad_group_criterion_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/ad_group_criterion_service.proto index 3d6318644..d7e6a7170 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/ad_group_criterion_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/ad_group_criterion_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_criterion_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_criterion_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,19 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_criterion_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/common/policy.proto"; -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/ad_group_criterion.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/common/policy.proto"; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/ad_group_criterion.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_criterion_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -38,16 +26,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_criterion_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -56,7 +34,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_criterion_service.proto // Proto file describing the Ad Group Criterion service. @@ -104,11 +81,7 @@ service AdGroupCriterionService { rpc MutateAdGroupCriteria(MutateAdGroupCriteriaRequest) returns (MutateAdGroupCriteriaResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_criterion_service.proto - post: "/v13/customers/{customer_id=*}/adGroupCriteria:mutate" -======== post: "/v14/customers/{customer_id=*}/adGroupCriteria:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_criterion_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -116,11 +89,7 @@ service AdGroupCriterionService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_criterion_service.proto -// [AdGroupCriterionService.MutateAdGroupCriteria][google.ads.googleads.v13.services.AdGroupCriterionService.MutateAdGroupCriteria]. -======== // [AdGroupCriterionService.MutateAdGroupCriteria][google.ads.googleads.v14.services.AdGroupCriterionService.MutateAdGroupCriteria]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_criterion_service.proto message MutateAdGroupCriteriaRequest { // Required. ID of the customer whose criteria are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -141,11 +110,7 @@ message MutateAdGroupCriteriaRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_criterion_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_criterion_service.proto response_content_type = 5; } @@ -163,29 +128,17 @@ message AdGroupCriterionOperation { // to serve. They may begin serving at a later time due to a change in // policies, re-review of the resource, or a change in advertiser // certificates. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_criterion_service.proto - repeated google.ads.googleads.v13.common.PolicyViolationKey -======== repeated google.ads.googleads.v14.common.PolicyViolationKey ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_criterion_service.proto exempt_policy_violation_keys = 5; // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new criterion. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_criterion_service.proto - google.ads.googleads.v13.resources.AdGroupCriterion create = 1; - - // Update operation: The criterion is expected to have a valid resource - // name. - google.ads.googleads.v13.resources.AdGroupCriterion update = 2; -======== google.ads.googleads.v14.resources.AdGroupCriterion create = 1; // Update operation: The criterion is expected to have a valid resource // name. google.ads.googleads.v14.resources.AdGroupCriterion update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_criterion_service.proto // Remove operation: A resource name for the removed criterion is expected, // in this format: @@ -219,9 +172,5 @@ message MutateAdGroupCriterionResult { // The mutated ad group criterion with only mutable fields after mutate. The // field will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_criterion_service.proto - google.ads.googleads.v13.resources.AdGroupCriterion ad_group_criterion = 2; -======== google.ads.googleads.v14.resources.AdGroupCriterion ad_group_criterion = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_criterion_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/ad_group_customizer_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/ad_group_customizer_service.proto index 47ad3b69c..84a28c14c 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/ad_group_customizer_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/ad_group_customizer_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_customizer_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_customizer_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,33 +14,16 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_customizer_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/ad_group_customizer.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/ad_group_customizer.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_customizer_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_customizer_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCustomizerServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -53,7 +32,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_customizer_service.proto // Proto file describing the AdGroupCustomizer service. @@ -67,11 +45,7 @@ service AdGroupCustomizerService { rpc MutateAdGroupCustomizers(MutateAdGroupCustomizersRequest) returns (MutateAdGroupCustomizersResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_customizer_service.proto - post: "/v13/customers/{customer_id=*}/adGroupCustomizers:mutate" -======== post: "/v14/customers/{customer_id=*}/adGroupCustomizers:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_customizer_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -79,11 +53,7 @@ service AdGroupCustomizerService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_customizer_service.proto -// [AdGroupCustomizerService.MutateAdGroupCustomizers][google.ads.googleads.v13.services.AdGroupCustomizerService.MutateAdGroupCustomizers]. -======== // [AdGroupCustomizerService.MutateAdGroupCustomizers][google.ads.googleads.v14.services.AdGroupCustomizerService.MutateAdGroupCustomizers]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_customizer_service.proto message MutateAdGroupCustomizersRequest { // Required. The ID of the customer whose ad group customizers are being // modified. @@ -106,11 +76,7 @@ message MutateAdGroupCustomizersRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_customizer_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_customizer_service.proto response_content_type = 5; } @@ -120,11 +86,7 @@ message AdGroupCustomizerOperation { oneof operation { // Create operation: No resource name is expected for the new ad group // customizer -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_customizer_service.proto - google.ads.googleads.v13.resources.AdGroupCustomizer create = 1; -======== google.ads.googleads.v14.resources.AdGroupCustomizer create = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_customizer_service.proto // Remove operation: A resource name for the removed ad group customizer is // expected, in this format: @@ -157,9 +119,5 @@ message MutateAdGroupCustomizerResult { // The mutated AdGroupCustomizer with only mutable fields after mutate. // The field will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_customizer_service.proto - google.ads.googleads.v13.resources.AdGroupCustomizer ad_group_customizer = 2; -======== google.ads.googleads.v14.resources.AdGroupCustomizer ad_group_customizer = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_customizer_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/ad_group_extension_setting_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/ad_group_extension_setting_service.proto index 0692e5984..72d8cc20f 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/ad_group_extension_setting_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/ad_group_extension_setting_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_extension_setting_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_extension_setting_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_extension_setting_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/ad_group_extension_setting.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/ad_group_extension_setting.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_extension_setting_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -36,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_extension_setting_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupExtensionSettingServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -54,7 +33,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_extension_setting_service.proto // Proto file describing the AdGroupExtensionSetting service. @@ -98,11 +76,7 @@ service AdGroupExtensionSettingService { rpc MutateAdGroupExtensionSettings(MutateAdGroupExtensionSettingsRequest) returns (MutateAdGroupExtensionSettingsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_extension_setting_service.proto - post: "/v13/customers/{customer_id=*}/adGroupExtensionSettings:mutate" -======== post: "/v14/customers/{customer_id=*}/adGroupExtensionSettings:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_extension_setting_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -110,11 +84,7 @@ service AdGroupExtensionSettingService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_extension_setting_service.proto -// [AdGroupExtensionSettingService.MutateAdGroupExtensionSettings][google.ads.googleads.v13.services.AdGroupExtensionSettingService.MutateAdGroupExtensionSettings]. -======== // [AdGroupExtensionSettingService.MutateAdGroupExtensionSettings][google.ads.googleads.v14.services.AdGroupExtensionSettingService.MutateAdGroupExtensionSettings]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_extension_setting_service.proto message MutateAdGroupExtensionSettingsRequest { // Required. The ID of the customer whose ad group extension settings are // being modified. @@ -143,30 +113,18 @@ message AdGroupExtensionSettingOperation { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_extension_setting_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_extension_setting_service.proto response_content_type = 5; // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new ad group // extension setting. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_extension_setting_service.proto - google.ads.googleads.v13.resources.AdGroupExtensionSetting create = 1; - - // Update operation: The ad group extension setting is expected to have a - // valid resource name. - google.ads.googleads.v13.resources.AdGroupExtensionSetting update = 2; -======== google.ads.googleads.v14.resources.AdGroupExtensionSetting create = 1; // Update operation: The ad group extension setting is expected to have a // valid resource name. google.ads.googleads.v14.resources.AdGroupExtensionSetting update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_extension_setting_service.proto // Remove operation: A resource name for the removed ad group extension // setting is expected, in this format: @@ -200,10 +158,6 @@ message MutateAdGroupExtensionSettingResult { // The mutated AdGroupExtensionSetting with only mutable fields after mutate. // The field will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_extension_setting_service.proto - google.ads.googleads.v13.resources.AdGroupExtensionSetting -======== google.ads.googleads.v14.resources.AdGroupExtensionSetting ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_extension_setting_service.proto ad_group_extension_setting = 2; } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/ad_group_feed_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/ad_group_feed_service.proto index ec1c9a602..be1ead985 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/ad_group_feed_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/ad_group_feed_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_feed_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_feed_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_feed_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/ad_group_feed.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/ad_group_feed.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_feed_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -36,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_feed_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupFeedServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -54,7 +33,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_feed_service.proto // Proto file describing the AdGroupFeed service. @@ -92,11 +70,7 @@ service AdGroupFeedService { rpc MutateAdGroupFeeds(MutateAdGroupFeedsRequest) returns (MutateAdGroupFeedsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_feed_service.proto - post: "/v13/customers/{customer_id=*}/adGroupFeeds:mutate" -======== post: "/v14/customers/{customer_id=*}/adGroupFeeds:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_feed_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -104,11 +78,7 @@ service AdGroupFeedService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_feed_service.proto -// [AdGroupFeedService.MutateAdGroupFeeds][google.ads.googleads.v13.services.AdGroupFeedService.MutateAdGroupFeeds]. -======== // [AdGroupFeedService.MutateAdGroupFeeds][google.ads.googleads.v14.services.AdGroupFeedService.MutateAdGroupFeeds]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_feed_service.proto message MutateAdGroupFeedsRequest { // Required. The ID of the customer whose ad group feeds are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -129,11 +99,7 @@ message MutateAdGroupFeedsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_feed_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_feed_service.proto response_content_type = 5; } @@ -145,19 +111,11 @@ message AdGroupFeedOperation { // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new ad group feed. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_feed_service.proto - google.ads.googleads.v13.resources.AdGroupFeed create = 1; - - // Update operation: The ad group feed is expected to have a valid resource - // name. - google.ads.googleads.v13.resources.AdGroupFeed update = 2; -======== google.ads.googleads.v14.resources.AdGroupFeed create = 1; // Update operation: The ad group feed is expected to have a valid resource // name. google.ads.googleads.v14.resources.AdGroupFeed update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_feed_service.proto // Remove operation: A resource name for the removed ad group feed is // expected, in this format: @@ -191,9 +149,5 @@ message MutateAdGroupFeedResult { // The mutated ad group feed with only mutable fields after mutate. The field // will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_feed_service.proto - google.ads.googleads.v13.resources.AdGroupFeed ad_group_feed = 2; -======== google.ads.googleads.v14.resources.AdGroupFeed ad_group_feed = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_feed_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/ad_group_label_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/ad_group_label_service.proto index 59968c341..5580d521d 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/ad_group_label_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/ad_group_label_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_label_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_label_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,31 +14,15 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_label_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/ad_group_label.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/resources/ad_group_label.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_label_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_label_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupLabelServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -51,7 +31,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_label_service.proto // Proto file describing the Ad Group Label service. @@ -78,11 +57,7 @@ service AdGroupLabelService { rpc MutateAdGroupLabels(MutateAdGroupLabelsRequest) returns (MutateAdGroupLabelsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_label_service.proto - post: "/v13/customers/{customer_id=*}/adGroupLabels:mutate" -======== post: "/v14/customers/{customer_id=*}/adGroupLabels:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_label_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -90,11 +65,7 @@ service AdGroupLabelService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_label_service.proto -// [AdGroupLabelService.MutateAdGroupLabels][google.ads.googleads.v13.services.AdGroupLabelService.MutateAdGroupLabels]. -======== // [AdGroupLabelService.MutateAdGroupLabels][google.ads.googleads.v14.services.AdGroupLabelService.MutateAdGroupLabels]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_label_service.proto message MutateAdGroupLabelsRequest { // Required. ID of the customer whose ad group labels are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -120,11 +91,7 @@ message AdGroupLabelOperation { oneof operation { // Create operation: No resource name is expected for the new ad group // label. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_label_service.proto - google.ads.googleads.v13.resources.AdGroupLabel create = 1; -======== google.ads.googleads.v14.resources.AdGroupLabel create = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_label_service.proto // Remove operation: A resource name for the ad group label // being removed, in this format: diff --git a/third_party/googleapis/google/ads/googleads/v14/services/ad_group_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/ad_group_service.proto index edccf7e82..80de9e1c3 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/ad_group_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/ad_group_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/ad_group.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/ad_group.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -36,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -54,7 +33,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_service.proto // Proto file describing the Ad Group service. @@ -99,11 +77,7 @@ service AdGroupService { // [UrlFieldError]() rpc MutateAdGroups(MutateAdGroupsRequest) returns (MutateAdGroupsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_service.proto - post: "/v13/customers/{customer_id=*}/adGroups:mutate" -======== post: "/v14/customers/{customer_id=*}/adGroups:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -111,11 +85,7 @@ service AdGroupService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_service.proto -// [AdGroupService.MutateAdGroups][google.ads.googleads.v13.services.AdGroupService.MutateAdGroups]. -======== // [AdGroupService.MutateAdGroups][google.ads.googleads.v14.services.AdGroupService.MutateAdGroups]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_service.proto message MutateAdGroupsRequest { // Required. The ID of the customer whose ad groups are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -136,11 +106,7 @@ message MutateAdGroupsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_service.proto response_content_type = 5; } @@ -152,17 +118,10 @@ message AdGroupOperation { // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new ad group. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_service.proto - google.ads.googleads.v13.resources.AdGroup create = 1; - - // Update operation: The ad group is expected to have a valid resource name. - google.ads.googleads.v13.resources.AdGroup update = 2; -======== google.ads.googleads.v14.resources.AdGroup create = 1; // Update operation: The ad group is expected to have a valid resource name. google.ads.googleads.v14.resources.AdGroup update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_service.proto // Remove operation: A resource name for the removed ad group is expected, // in this format: @@ -195,9 +154,5 @@ message MutateAdGroupResult { // The mutated ad group with only mutable fields after mutate. The field will // only be returned when response_content_type is set to "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_group_service.proto - google.ads.googleads.v13.resources.AdGroup ad_group = 2; -======== google.ads.googleads.v14.resources.AdGroup ad_group = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_group_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/ad_parameter_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/ad_parameter_service.proto index 19cd677d1..39aabb8f9 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/ad_parameter_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/ad_parameter_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_parameter_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_parameter_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_parameter_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/ad_parameter.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/ad_parameter.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_parameter_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -36,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_parameter_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdParameterServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -54,7 +33,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_parameter_service.proto // Proto file describing the Ad Parameter service. @@ -82,11 +60,7 @@ service AdParameterService { rpc MutateAdParameters(MutateAdParametersRequest) returns (MutateAdParametersResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_parameter_service.proto - post: "/v13/customers/{customer_id=*}/adParameters:mutate" -======== post: "/v14/customers/{customer_id=*}/adParameters:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_parameter_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -94,11 +68,7 @@ service AdParameterService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_parameter_service.proto -// [AdParameterService.MutateAdParameters][google.ads.googleads.v13.services.AdParameterService.MutateAdParameters] -======== // [AdParameterService.MutateAdParameters][google.ads.googleads.v14.services.AdParameterService.MutateAdParameters] ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_parameter_service.proto message MutateAdParametersRequest { // Required. The ID of the customer whose ad parameters are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -119,11 +89,7 @@ message MutateAdParametersRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_parameter_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_parameter_service.proto response_content_type = 5; } @@ -135,19 +101,11 @@ message AdParameterOperation { // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new ad parameter. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_parameter_service.proto - google.ads.googleads.v13.resources.AdParameter create = 1; - - // Update operation: The ad parameter is expected to have a valid resource - // name. - google.ads.googleads.v13.resources.AdParameter update = 2; -======== google.ads.googleads.v14.resources.AdParameter create = 1; // Update operation: The ad parameter is expected to have a valid resource // name. google.ads.googleads.v14.resources.AdParameter update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_parameter_service.proto // Remove operation: A resource name for the ad parameter to remove is // expected in this format: @@ -181,9 +139,5 @@ message MutateAdParameterResult { // The mutated AdParameter with only mutable fields after mutate. The field // will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_parameter_service.proto - google.ads.googleads.v13.resources.AdParameter ad_parameter = 2; -======== google.ads.googleads.v14.resources.AdParameter ad_parameter = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_parameter_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/ad_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/ad_service.proto index ef77dbf49..45d33d818 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/ad_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/ad_service.proto @@ -14,19 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/common/policy.proto"; -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/ad.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/common/policy.proto"; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/ad.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -34,16 +26,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -52,7 +34,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_service.proto // Proto file describing the Ad service. @@ -70,15 +51,9 @@ service AdService { // [InternalError]() // [QuotaError]() // [RequestError]() -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_service.proto - rpc GetAd(GetAdRequest) returns (google.ads.googleads.v12.resources.Ad) { - option (google.api.http) = { - get: "/v12/{resource_name=customers/*/ads/*}" -======== rpc GetAd(GetAdRequest) returns (google.ads.googleads.v14.resources.Ad) { option (google.api.http) = { get: "/v14/{resource_name=customers/*/ads/*}" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_service.proto }; option (google.api.method_signature) = "resource_name"; } @@ -127,23 +102,15 @@ service AdService { // [UrlFieldError]() rpc MutateAds(MutateAdsRequest) returns (MutateAdsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_service.proto - post: "/v12/customers/{customer_id=*}/ads:mutate" -======== post: "/v14/customers/{customer_id=*}/ads:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_service.proto -// Request message for [AdService.GetAd][google.ads.googleads.v12.services.AdService.GetAd]. -======== // Request message for // [AdService.GetAd][google.ads.googleads.v14.services.AdService.GetAd]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_service.proto message GetAdRequest { // Required. The resource name of the ad to fetch. string resource_name = 1 [ @@ -152,12 +119,8 @@ message GetAdRequest { ]; } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_service.proto -// Request message for [AdService.MutateAds][google.ads.googleads.v12.services.AdService.MutateAds]. -======== // Request message for // [AdService.MutateAds][google.ads.googleads.v14.services.AdService.MutateAds]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_service.proto message MutateAdsRequest { // Required. The ID of the customer whose ads are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -173,12 +136,8 @@ message MutateAdsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_service.proto // If true, the request is validated but not executed. Only errors are // returned, not results. @@ -191,12 +150,8 @@ message AdOperation { google.protobuf.FieldMask update_mask = 2; // Configuration for how policies are validated. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_service.proto - google.ads.googleads.v12.common.PolicyValidationParameter policy_validation_parameter = 3; -======== google.ads.googleads.v14.common.PolicyValidationParameter policy_validation_parameter = 3; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_service.proto // The mutate operation. oneof operation { @@ -204,11 +159,7 @@ message AdOperation { // in this format: // // `customers/{customer_id}/ads/{ad_id}` -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_service.proto - google.ads.googleads.v12.resources.Ad update = 1; -======== google.ads.googleads.v14.resources.Ad update = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_service.proto } } @@ -233,9 +184,5 @@ message MutateAdResult { // The mutated ad with only mutable fields after mutate. The field will only // be returned when response_content_type is set to "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_service.proto - google.ads.googleads.v12.resources.Ad ad = 2; -======== google.ads.googleads.v14.resources.Ad ad = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/ad_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/asset_group_asset_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/asset_group_asset_service.proto index 15df1ed6d..6bc1b0d3e 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/asset_group_asset_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/asset_group_asset_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/asset_group_asset_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_group_asset_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,15 +14,9 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/asset_group_asset_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/asset_group_asset.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/resources/asset_group_asset.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_group_asset_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -34,16 +24,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/asset_group_asset_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupAssetServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -52,7 +32,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_group_asset_service.proto // Proto file describing the AssetGroupAsset service. @@ -66,11 +45,7 @@ service AssetGroupAssetService { rpc MutateAssetGroupAssets(MutateAssetGroupAssetsRequest) returns (MutateAssetGroupAssetsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/asset_group_asset_service.proto - post: "/v13/customers/{customer_id=*}/assetGroupAssets:mutate" -======== post: "/v14/customers/{customer_id=*}/assetGroupAssets:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_group_asset_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -78,11 +53,7 @@ service AssetGroupAssetService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/asset_group_asset_service.proto -// [AssetGroupAssetService.MutateAssetGroupAssets][google.ads.googleads.v13.services.AssetGroupAssetService.MutateAssetGroupAssets]. -======== // [AssetGroupAssetService.MutateAssetGroupAssets][google.ads.googleads.v14.services.AssetGroupAssetService.MutateAssetGroupAssets]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_group_asset_service.proto message MutateAssetGroupAssetsRequest { // Required. The ID of the customer whose asset group assets are being // modified. @@ -113,19 +84,11 @@ message AssetGroupAssetOperation { oneof operation { // Create operation: No resource name is expected for the new asset group // asset. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/asset_group_asset_service.proto - google.ads.googleads.v13.resources.AssetGroupAsset create = 1; - - // Update operation: The asset group asset is expected to have a valid - // resource name. - google.ads.googleads.v13.resources.AssetGroupAsset update = 2; -======== google.ads.googleads.v14.resources.AssetGroupAsset create = 1; // Update operation: The asset group asset is expected to have a valid // resource name. google.ads.googleads.v14.resources.AssetGroupAsset update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_group_asset_service.proto // Remove operation: A resource name for the removed asset group asset is // expected, in this format: diff --git a/third_party/googleapis/google/ads/googleads/v14/services/asset_group_listing_group_filter_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/asset_group_listing_group_filter_service.proto index 1a90dab36..9249468f4 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/asset_group_listing_group_filter_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/asset_group_listing_group_filter_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/asset_group_listing_group_filter_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_group_listing_group_filter_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,33 +14,16 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/asset_group_listing_group_filter_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/asset_group_listing_group_filter.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/asset_group_listing_group_filter.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_group_listing_group_filter_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/asset_group_listing_group_filter_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupListingGroupFilterServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -53,7 +32,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_group_listing_group_filter_service.proto // Proto file describing the AssetGroupListingGroupFilter service. @@ -68,11 +46,7 @@ service AssetGroupListingGroupFilterService { MutateAssetGroupListingGroupFiltersRequest) returns (MutateAssetGroupListingGroupFiltersResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/asset_group_listing_group_filter_service.proto - post: "/v13/customers/{customer_id=*}/assetGroupListingGroupFilters:mutate" -======== post: "/v14/customers/{customer_id=*}/assetGroupListingGroupFilters:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_group_listing_group_filter_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -80,11 +54,7 @@ service AssetGroupListingGroupFilterService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/asset_group_listing_group_filter_service.proto -// [AssetGroupListingGroupFilterService.MutateAssetGroupListingGroupFilters][google.ads.googleads.v13.services.AssetGroupListingGroupFilterService.MutateAssetGroupListingGroupFilters]. -======== // [AssetGroupListingGroupFilterService.MutateAssetGroupListingGroupFilters][google.ads.googleads.v14.services.AssetGroupListingGroupFilterService.MutateAssetGroupListingGroupFilters]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_group_listing_group_filter_service.proto // partial_failure is not supported because the tree needs to be validated // together. message MutateAssetGroupListingGroupFiltersRequest { @@ -103,11 +73,7 @@ message MutateAssetGroupListingGroupFiltersRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/asset_group_listing_group_filter_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_group_listing_group_filter_service.proto response_content_type = 4; } @@ -120,19 +86,11 @@ message AssetGroupListingGroupFilterOperation { oneof operation { // Create operation: No resource name is expected for the new asset group // listing group filter. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/asset_group_listing_group_filter_service.proto - google.ads.googleads.v13.resources.AssetGroupListingGroupFilter create = 1; - - // Update operation: The asset group listing group filter is expected to - // have a valid resource name. - google.ads.googleads.v13.resources.AssetGroupListingGroupFilter update = 2; -======== google.ads.googleads.v14.resources.AssetGroupListingGroupFilter create = 1; // Update operation: The asset group listing group filter is expected to // have a valid resource name. google.ads.googleads.v14.resources.AssetGroupListingGroupFilter update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_group_listing_group_filter_service.proto // Remove operation: A resource name for the removed asset group listing // group filter is expected, in this format: @@ -162,10 +120,6 @@ message MutateAssetGroupListingGroupFilterResult { // The mutated AssetGroupListingGroupFilter with only mutable fields after // mutate. The field will only be returned when response_content_type is set // to "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/asset_group_listing_group_filter_service.proto - google.ads.googleads.v13.resources.AssetGroupListingGroupFilter -======== google.ads.googleads.v14.resources.AssetGroupListingGroupFilter ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_group_listing_group_filter_service.proto asset_group_listing_group_filter = 2; } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/asset_group_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/asset_group_service.proto index 526c0f81e..3dc549b41 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/asset_group_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/asset_group_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/asset_group_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_group_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,15 +14,9 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/asset_group_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/asset_group.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/resources/asset_group.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_group_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -34,16 +24,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/asset_group_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -52,7 +32,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_group_service.proto // Proto file describing the AssetGroup service. @@ -66,11 +45,7 @@ service AssetGroupService { rpc MutateAssetGroups(MutateAssetGroupsRequest) returns (MutateAssetGroupsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/asset_group_service.proto - post: "/v13/customers/{customer_id=*}/assetGroups:mutate" -======== post: "/v14/customers/{customer_id=*}/assetGroups:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_group_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -78,11 +53,7 @@ service AssetGroupService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/asset_group_service.proto -// [AssetGroupService.MutateAssetGroups][google.ads.googleads.v13.services.AssetGroupService.MutateAssetGroups]. -======== // [AssetGroupService.MutateAssetGroups][google.ads.googleads.v14.services.AssetGroupService.MutateAssetGroups]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_group_service.proto message MutateAssetGroupsRequest { // Required. The ID of the customer whose asset groups are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -104,19 +75,11 @@ message AssetGroupOperation { // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new asset group -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/asset_group_service.proto - google.ads.googleads.v13.resources.AssetGroup create = 1; - - // Update operation: The asset group is expected to have a valid resource - // name. - google.ads.googleads.v13.resources.AssetGroup update = 2; -======== google.ads.googleads.v14.resources.AssetGroup create = 1; // Update operation: The asset group is expected to have a valid resource // name. google.ads.googleads.v14.resources.AssetGroup update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_group_service.proto // Remove operation: A resource name for the removed asset group is // expected, in this format: diff --git a/third_party/googleapis/google/ads/googleads/v14/services/asset_group_signal_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/asset_group_signal_service.proto index 2ee47c6d3..c635f04fa 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/asset_group_signal_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/asset_group_signal_service.proto @@ -14,33 +14,16 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_group_signal_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/asset_group_signal.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/asset_group_signal.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_group_signal_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_group_signal_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupSignalServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -49,7 +32,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_group_signal_service.proto // Proto file describing the AssetGroupSignal service. @@ -63,11 +45,7 @@ service AssetGroupSignalService { rpc MutateAssetGroupSignals(MutateAssetGroupSignalsRequest) returns (MutateAssetGroupSignalsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_group_signal_service.proto - post: "/v12/customers/{customer_id=*}/assetGroupSignals:mutate" -======== post: "/v14/customers/{customer_id=*}/assetGroupSignals:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_group_signal_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -75,11 +53,7 @@ service AssetGroupSignalService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_group_signal_service.proto -// [AssetGroupSignalService.MutateAssetGroupSignals][google.ads.googleads.v12.services.AssetGroupSignalService.MutateAssetGroupSignals]. -======== // [AssetGroupSignalService.MutateAssetGroupSignals][google.ads.googleads.v14.services.AssetGroupSignalService.MutateAssetGroupSignals]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_group_signal_service.proto message MutateAssetGroupSignalsRequest { // Required. The ID of the customer whose asset group signals are being // modified. @@ -101,12 +75,8 @@ message MutateAssetGroupSignalsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_group_signal_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_group_signal_service.proto } // A single operation (create, remove) on an asset group signal. @@ -115,11 +85,7 @@ message AssetGroupSignalOperation { oneof operation { // Create operation: No resource name is expected for the new asset group // signal. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_group_signal_service.proto - google.ads.googleads.v12.resources.AssetGroupSignal create = 1; -======== google.ads.googleads.v14.resources.AssetGroupSignal create = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_group_signal_service.proto // Remove operation: A resource name for the removed asset group signal is // expected, in this format: @@ -152,9 +118,5 @@ message MutateAssetGroupSignalResult { // The mutated AssetGroupSignal with only mutable fields after mutate. The // field will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_group_signal_service.proto - google.ads.googleads.v12.resources.AssetGroupSignal asset_group_signal = 2; -======== google.ads.googleads.v14.resources.AssetGroupSignal asset_group_signal = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_group_signal_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/asset_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/asset_service.proto index 2d32f3a1f..bb702cebd 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/asset_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/asset_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/asset_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/asset_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/asset.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/asset.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -36,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/asset_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AssetServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -54,7 +33,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_service.proto // Proto file describing the Asset service. @@ -97,11 +75,7 @@ service AssetService { // [YoutubeVideoRegistrationError]() rpc MutateAssets(MutateAssetsRequest) returns (MutateAssetsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/asset_service.proto - post: "/v13/customers/{customer_id=*}/assets:mutate" -======== post: "/v14/customers/{customer_id=*}/assets:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -109,11 +83,7 @@ service AssetService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/asset_service.proto -// [AssetService.MutateAssets][google.ads.googleads.v13.services.AssetService.MutateAssets] -======== // [AssetService.MutateAssets][google.ads.googleads.v14.services.AssetService.MutateAssets] ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_service.proto message MutateAssetsRequest { // Required. The ID of the customer whose assets are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -130,11 +100,7 @@ message MutateAssetsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/asset_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_service.proto response_content_type = 3; // If true, the request is validated but not executed. Only errors are @@ -153,21 +119,13 @@ message AssetOperation { // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new asset. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/asset_service.proto - google.ads.googleads.v13.resources.Asset create = 1; -======== google.ads.googleads.v14.resources.Asset create = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_service.proto // Update operation: The asset is expected to have a valid resource name in // this format: // // `customers/{customer_id}/assets/{asset_id}` -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/asset_service.proto - google.ads.googleads.v13.resources.Asset update = 2; -======== google.ads.googleads.v14.resources.Asset update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_service.proto } } @@ -192,9 +150,5 @@ message MutateAssetResult { // The mutated asset with only mutable fields after mutate. The field will // only be returned when response_content_type is set to "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/asset_service.proto - google.ads.googleads.v13.resources.Asset asset = 2; -======== google.ads.googleads.v14.resources.Asset asset = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/asset_set_asset_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/asset_set_asset_service.proto index d074b7faf..c80d40d19 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/asset_set_asset_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/asset_set_asset_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/asset_set_asset_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_set_asset_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,33 +14,16 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/asset_set_asset_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/asset_set_asset.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/asset_set_asset.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_set_asset_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/asset_set_asset_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetAssetServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -53,7 +32,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_set_asset_service.proto // Proto file describing the AssetSetAsset service. @@ -67,11 +45,7 @@ service AssetSetAssetService { rpc MutateAssetSetAssets(MutateAssetSetAssetsRequest) returns (MutateAssetSetAssetsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/asset_set_asset_service.proto - post: "/v13/customers/{customer_id=*}/assetSetAssets:mutate" -======== post: "/v14/customers/{customer_id=*}/assetSetAssets:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_set_asset_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -79,11 +53,7 @@ service AssetSetAssetService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/asset_set_asset_service.proto -// [AssetSetAssetService.MutateAssetSetAssets][google.ads.googleads.v13.services.AssetSetAssetService.MutateAssetSetAssets]. -======== // [AssetSetAssetService.MutateAssetSetAssets][google.ads.googleads.v14.services.AssetSetAssetService.MutateAssetSetAssets]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_set_asset_service.proto message MutateAssetSetAssetsRequest { // Required. The ID of the customer whose asset set assets are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -104,11 +74,7 @@ message MutateAssetSetAssetsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/asset_set_asset_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_set_asset_service.proto response_content_type = 5; } @@ -118,11 +84,7 @@ message AssetSetAssetOperation { oneof operation { // Create operation: No resource name is expected for the new asset set // asset -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/asset_set_asset_service.proto - google.ads.googleads.v13.resources.AssetSetAsset create = 1; -======== google.ads.googleads.v14.resources.AssetSetAsset create = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_set_asset_service.proto // Remove operation: A resource name for the removed asset set asset is // expected, in this format: @@ -155,9 +117,5 @@ message MutateAssetSetAssetResult { // The mutated asset set asset with only mutable fields after mutate. The // field will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/asset_set_asset_service.proto - google.ads.googleads.v13.resources.AssetSetAsset asset_set_asset = 2; -======== google.ads.googleads.v14.resources.AssetSetAsset asset_set_asset = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_set_asset_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/asset_set_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/asset_set_service.proto index b7e83dd5c..fd1f0aa14 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/asset_set_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/asset_set_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/asset_set_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_set_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/asset_set_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/asset_set.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/asset_set.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_set_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -36,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/asset_set_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -54,7 +33,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_set_service.proto // Proto file describing the AssetSet service. @@ -68,11 +46,7 @@ service AssetSetService { rpc MutateAssetSets(MutateAssetSetsRequest) returns (MutateAssetSetsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/asset_set_service.proto - post: "/v13/customers/{customer_id=*}/assetSets:mutate" -======== post: "/v14/customers/{customer_id=*}/assetSets:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_set_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -80,11 +54,7 @@ service AssetSetService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/asset_set_service.proto -// [AssetSetService.MutateAssetSets][google.ads.googleads.v13.services.AssetSetService.MutateAssetSets]. -======== // [AssetSetService.MutateAssetSets][google.ads.googleads.v14.services.AssetSetService.MutateAssetSets]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_set_service.proto message MutateAssetSetsRequest { // Required. The ID of the customer whose asset sets are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -105,11 +75,7 @@ message MutateAssetSetsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/asset_set_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_set_service.proto response_content_type = 5; } @@ -121,19 +87,11 @@ message AssetSetOperation { // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new asset set -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/asset_set_service.proto - google.ads.googleads.v13.resources.AssetSet create = 1; - - // Update operation: The asset set is expected to have a valid resource - // name. - google.ads.googleads.v13.resources.AssetSet update = 2; -======== google.ads.googleads.v14.resources.AssetSet create = 1; // Update operation: The asset set is expected to have a valid resource // name. google.ads.googleads.v14.resources.AssetSet update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_set_service.proto // Remove operation: A resource name for the removed asset set is // expected, in this format: @@ -165,9 +123,5 @@ message MutateAssetSetResult { // The mutated asset set with only mutable fields after mutate. The field will // only be returned when response_content_type is set to "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/asset_set_service.proto - google.ads.googleads.v13.resources.AssetSet asset_set = 2; -======== google.ads.googleads.v14.resources.AssetSet asset_set = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/asset_set_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/batch_job_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/batch_job_service.proto index 381ef8b7c..e23a67b36 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/batch_job_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/batch_job_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/batch_job_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/batch_job_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,19 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/batch_job_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/batch_job.proto"; -import "google/ads/googleads/v13/services/google_ads_service.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/batch_job.proto"; import "google/ads/googleads/v14/services/google_ads_service.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/batch_job_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -39,16 +27,6 @@ import "google/longrunning/operations.proto"; import "google/protobuf/empty.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/batch_job_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "BatchJobServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -57,7 +35,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/batch_job_service.proto // Proto file describing the BatchJobService. @@ -78,11 +55,7 @@ service BatchJobService { // [ResourceCountLimitExceededError]() rpc MutateBatchJob(MutateBatchJobRequest) returns (MutateBatchJobResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/batch_job_service.proto - post: "/v13/customers/{customer_id=*}/batchJobs:mutate" -======== post: "/v14/customers/{customer_id=*}/batchJobs:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/batch_job_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operation"; @@ -102,11 +75,7 @@ service BatchJobService { rpc ListBatchJobResults(ListBatchJobResultsRequest) returns (ListBatchJobResultsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/batch_job_service.proto - get: "/v13/{resource_name=customers/*/batchJobs/*}:listResults" -======== get: "/v14/{resource_name=customers/*/batchJobs/*}:listResults" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/batch_job_service.proto }; option (google.api.method_signature) = "resource_name"; } @@ -127,21 +96,13 @@ service BatchJobService { // [RequestError]() rpc RunBatchJob(RunBatchJobRequest) returns (google.longrunning.Operation) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/batch_job_service.proto - post: "/v13/{resource_name=customers/*/batchJobs/*}:run" -======== post: "/v14/{resource_name=customers/*/batchJobs/*}:run" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/batch_job_service.proto body: "*" }; option (google.api.method_signature) = "resource_name"; option (google.longrunning.operation_info) = { response_type: "google.protobuf.Empty" -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/batch_job_service.proto - metadata_type: "google.ads.googleads.v13.resources.BatchJob.BatchJobMetadata" -======== metadata_type: "google.ads.googleads.v14.resources.BatchJob.BatchJobMetadata" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/batch_job_service.proto }; } @@ -159,11 +120,7 @@ service BatchJobService { rpc AddBatchJobOperations(AddBatchJobOperationsRequest) returns (AddBatchJobOperationsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/batch_job_service.proto - post: "/v13/{resource_name=customers/*/batchJobs/*}:addOperations" -======== post: "/v14/{resource_name=customers/*/batchJobs/*}:addOperations" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/batch_job_service.proto body: "*" }; option (google.api.method_signature) = @@ -173,11 +130,7 @@ service BatchJobService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/batch_job_service.proto -// [BatchJobService.MutateBatchJob][google.ads.googleads.v13.services.BatchJobService.MutateBatchJob]. -======== // [BatchJobService.MutateBatchJob][google.ads.googleads.v14.services.BatchJobService.MutateBatchJob]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/batch_job_service.proto message MutateBatchJobRequest { // Required. The ID of the customer for which to create a batch job. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -191,11 +144,7 @@ message BatchJobOperation { // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new batch job. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/batch_job_service.proto - google.ads.googleads.v13.resources.BatchJob create = 1; -======== google.ads.googleads.v14.resources.BatchJob create = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/batch_job_service.proto // Remove operation: The batch job must not have been run. A resource name // for the removed batch job is expected, in this format: @@ -208,11 +157,7 @@ message BatchJobOperation { } // Response message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/batch_job_service.proto -// [BatchJobService.MutateBatchJob][google.ads.googleads.v13.services.BatchJobService.MutateBatchJob]. -======== // [BatchJobService.MutateBatchJob][google.ads.googleads.v14.services.BatchJobService.MutateBatchJob]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/batch_job_service.proto message MutateBatchJobResponse { // The result for the mutate. MutateBatchJobResult result = 1; @@ -227,11 +172,7 @@ message MutateBatchJobResult { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/batch_job_service.proto -// [BatchJobService.RunBatchJob][google.ads.googleads.v13.services.BatchJobService.RunBatchJob]. -======== // [BatchJobService.RunBatchJob][google.ads.googleads.v14.services.BatchJobService.RunBatchJob]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/batch_job_service.proto message RunBatchJobRequest { // Required. The resource name of the BatchJob to run. string resource_name = 1 [ @@ -243,11 +184,7 @@ message RunBatchJobRequest { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/batch_job_service.proto -// [BatchJobService.AddBatchJobOperations][google.ads.googleads.v13.services.BatchJobService.AddBatchJobOperations]. -======== // [BatchJobService.AddBatchJobOperations][google.ads.googleads.v14.services.BatchJobService.AddBatchJobOperations]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/batch_job_service.proto message AddBatchJobOperationsRequest { // Required. The resource name of the batch job. string resource_name = 1 [ @@ -279,11 +216,7 @@ message AddBatchJobOperationsRequest { } // Response message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/batch_job_service.proto -// [BatchJobService.AddBatchJobOperations][google.ads.googleads.v13.services.BatchJobService.AddBatchJobOperations]. -======== // [BatchJobService.AddBatchJobOperations][google.ads.googleads.v14.services.BatchJobService.AddBatchJobOperations]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/batch_job_service.proto message AddBatchJobOperationsResponse { // The total number of operations added so far for this batch job. int64 total_operations = 1; @@ -295,11 +228,7 @@ message AddBatchJobOperationsResponse { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/batch_job_service.proto -// [BatchJobService.ListBatchJobResults][google.ads.googleads.v13.services.BatchJobService.ListBatchJobResults]. -======== // [BatchJobService.ListBatchJobResults][google.ads.googleads.v14.services.BatchJobService.ListBatchJobResults]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/batch_job_service.proto message ListBatchJobResultsRequest { // Required. The resource name of the batch job whose results are being // listed. @@ -323,20 +252,12 @@ message ListBatchJobResultsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/batch_job_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/batch_job_service.proto response_content_type = 4; } // Response message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/batch_job_service.proto -// [BatchJobService.ListBatchJobResults][google.ads.googleads.v13.services.BatchJobService.ListBatchJobResults]. -======== // [BatchJobService.ListBatchJobResults][google.ads.googleads.v14.services.BatchJobService.ListBatchJobResults]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/batch_job_service.proto message ListBatchJobResultsResponse { // The list of rows that matched the query. repeated BatchJobResult results = 1; diff --git a/third_party/googleapis/google/ads/googleads/v14/services/bidding_data_exclusion_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/bidding_data_exclusion_service.proto index ab2c80c6e..ceedd680e 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/bidding_data_exclusion_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/bidding_data_exclusion_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/bidding_data_exclusion_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/bidding_data_exclusion_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/bidding_data_exclusion_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/bidding_data_exclusion.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/bidding_data_exclusion.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/bidding_data_exclusion_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -36,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/bidding_data_exclusion_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "BiddingDataExclusionServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -54,7 +33,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/bidding_data_exclusion_service.proto // Service to manage bidding data exclusions. service BiddingDataExclusionService { @@ -66,11 +44,7 @@ service BiddingDataExclusionService { rpc MutateBiddingDataExclusions(MutateBiddingDataExclusionsRequest) returns (MutateBiddingDataExclusionsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/bidding_data_exclusion_service.proto - post: "/v13/customers/{customer_id=*}/biddingDataExclusions:mutate" -======== post: "/v14/customers/{customer_id=*}/biddingDataExclusions:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/bidding_data_exclusion_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -78,11 +52,7 @@ service BiddingDataExclusionService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/bidding_data_exclusion_service.proto -// [BiddingDataExclusionService.MutateBiddingDataExclusions][google.ads.googleads.v13.services.BiddingDataExclusionService.MutateBiddingDataExclusions]. -======== // [BiddingDataExclusionService.MutateBiddingDataExclusions][google.ads.googleads.v14.services.BiddingDataExclusionService.MutateBiddingDataExclusions]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/bidding_data_exclusion_service.proto message MutateBiddingDataExclusionsRequest { // Required. ID of the customer whose data exclusions are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -103,11 +73,7 @@ message MutateBiddingDataExclusionsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/bidding_data_exclusion_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/bidding_data_exclusion_service.proto response_content_type = 5; } @@ -120,19 +86,11 @@ message BiddingDataExclusionOperation { oneof operation { // Create operation: No resource name is expected for the new data // exclusion. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/bidding_data_exclusion_service.proto - google.ads.googleads.v13.resources.BiddingDataExclusion create = 1; - - // Update operation: The data exclusion is expected to have a valid - // resource name. - google.ads.googleads.v13.resources.BiddingDataExclusion update = 2; -======== google.ads.googleads.v14.resources.BiddingDataExclusion create = 1; // Update operation: The data exclusion is expected to have a valid // resource name. google.ads.googleads.v14.resources.BiddingDataExclusion update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/bidding_data_exclusion_service.proto // Remove operation: A resource name for the removed data exclusion // is expected, in this format: @@ -166,10 +124,6 @@ message MutateBiddingDataExclusionsResult { // The mutated bidding data exclusion with only mutable fields after mutate. // The field will only be returned when response_content_type is set // to "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/bidding_data_exclusion_service.proto - google.ads.googleads.v13.resources.BiddingDataExclusion -======== google.ads.googleads.v14.resources.BiddingDataExclusion ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/bidding_data_exclusion_service.proto bidding_data_exclusion = 2; } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/bidding_seasonality_adjustment_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/bidding_seasonality_adjustment_service.proto index 738738cce..5d4cd19c9 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/bidding_seasonality_adjustment_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/bidding_seasonality_adjustment_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/bidding_seasonality_adjustment_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/bidding_seasonality_adjustment_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/bidding_seasonality_adjustment_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/bidding_seasonality_adjustment.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/bidding_seasonality_adjustment.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/bidding_seasonality_adjustment_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -36,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/bidding_seasonality_adjustment_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "BiddingSeasonalityAdjustmentServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -54,7 +33,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/bidding_seasonality_adjustment_service.proto // Service to manage bidding seasonality adjustments. service BiddingSeasonalityAdjustmentService { @@ -67,11 +45,7 @@ service BiddingSeasonalityAdjustmentService { MutateBiddingSeasonalityAdjustmentsRequest) returns (MutateBiddingSeasonalityAdjustmentsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/bidding_seasonality_adjustment_service.proto - post: "/v13/customers/{customer_id=*}/biddingSeasonalityAdjustments:mutate" -======== post: "/v14/customers/{customer_id=*}/biddingSeasonalityAdjustments:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/bidding_seasonality_adjustment_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -79,11 +53,7 @@ service BiddingSeasonalityAdjustmentService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/bidding_seasonality_adjustment_service.proto -// [BiddingSeasonalityAdjustmentService.MutateBiddingSeasonalityAdjustments][google.ads.googleads.v13.services.BiddingSeasonalityAdjustmentService.MutateBiddingSeasonalityAdjustments]. -======== // [BiddingSeasonalityAdjustmentService.MutateBiddingSeasonalityAdjustments][google.ads.googleads.v14.services.BiddingSeasonalityAdjustmentService.MutateBiddingSeasonalityAdjustments]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/bidding_seasonality_adjustment_service.proto message MutateBiddingSeasonalityAdjustmentsRequest { // Required. ID of the customer whose seasonality adjustments are being // modified. @@ -106,11 +76,7 @@ message MutateBiddingSeasonalityAdjustmentsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/bidding_seasonality_adjustment_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/bidding_seasonality_adjustment_service.proto response_content_type = 5; } @@ -123,19 +89,11 @@ message BiddingSeasonalityAdjustmentOperation { oneof operation { // Create operation: No resource name is expected for the new seasonality // adjustment. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/bidding_seasonality_adjustment_service.proto - google.ads.googleads.v13.resources.BiddingSeasonalityAdjustment create = 1; - - // Update operation: The seasonality adjustment is expected to have a valid - // resource name. - google.ads.googleads.v13.resources.BiddingSeasonalityAdjustment update = 2; -======== google.ads.googleads.v14.resources.BiddingSeasonalityAdjustment create = 1; // Update operation: The seasonality adjustment is expected to have a valid // resource name. google.ads.googleads.v14.resources.BiddingSeasonalityAdjustment update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/bidding_seasonality_adjustment_service.proto // Remove operation: A resource name for the removed seasonality adjustment // is expected, in this format: @@ -169,10 +127,6 @@ message MutateBiddingSeasonalityAdjustmentsResult { // The mutated bidding seasonality adjustment with only mutable fields after // mutate. The field will only be returned when response_content_type is set // to "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/bidding_seasonality_adjustment_service.proto - google.ads.googleads.v13.resources.BiddingSeasonalityAdjustment -======== google.ads.googleads.v14.resources.BiddingSeasonalityAdjustment ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/bidding_seasonality_adjustment_service.proto bidding_seasonality_adjustment = 2; } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/bidding_strategy_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/bidding_strategy_service.proto index 3b1f83b75..2090ff46b 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/bidding_strategy_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/bidding_strategy_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/bidding_strategy_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/bidding_strategy_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/bidding_strategy_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/bidding_strategy.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/bidding_strategy.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/bidding_strategy_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -36,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/bidding_strategy_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "BiddingStrategyServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -54,7 +33,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/bidding_strategy_service.proto // Proto file describing the Bidding Strategy service. @@ -96,11 +74,7 @@ service BiddingStrategyService { rpc MutateBiddingStrategies(MutateBiddingStrategiesRequest) returns (MutateBiddingStrategiesResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/bidding_strategy_service.proto - post: "/v13/customers/{customer_id=*}/biddingStrategies:mutate" -======== post: "/v14/customers/{customer_id=*}/biddingStrategies:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/bidding_strategy_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -108,11 +82,7 @@ service BiddingStrategyService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/bidding_strategy_service.proto -// [BiddingStrategyService.MutateBiddingStrategies][google.ads.googleads.v13.services.BiddingStrategyService.MutateBiddingStrategies]. -======== // [BiddingStrategyService.MutateBiddingStrategies][google.ads.googleads.v14.services.BiddingStrategyService.MutateBiddingStrategies]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/bidding_strategy_service.proto message MutateBiddingStrategiesRequest { // Required. The ID of the customer whose bidding strategies are being // modified. @@ -135,11 +105,7 @@ message MutateBiddingStrategiesRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/bidding_strategy_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/bidding_strategy_service.proto response_content_type = 5; } @@ -152,19 +118,11 @@ message BiddingStrategyOperation { oneof operation { // Create operation: No resource name is expected for the new bidding // strategy. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/bidding_strategy_service.proto - google.ads.googleads.v13.resources.BiddingStrategy create = 1; - - // Update operation: The bidding strategy is expected to have a valid - // resource name. - google.ads.googleads.v13.resources.BiddingStrategy update = 2; -======== google.ads.googleads.v14.resources.BiddingStrategy create = 1; // Update operation: The bidding strategy is expected to have a valid // resource name. google.ads.googleads.v14.resources.BiddingStrategy update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/bidding_strategy_service.proto // Remove operation: A resource name for the removed bidding strategy is // expected, in this format: @@ -198,9 +156,5 @@ message MutateBiddingStrategyResult { // The mutated bidding strategy with only mutable fields after mutate. The // field will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/bidding_strategy_service.proto - google.ads.googleads.v13.resources.BiddingStrategy bidding_strategy = 2; -======== google.ads.googleads.v14.resources.BiddingStrategy bidding_strategy = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/bidding_strategy_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/billing_setup_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/billing_setup_service.proto index dcd5f41f1..e72143e06 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/billing_setup_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/billing_setup_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/billing_setup_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/billing_setup_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,30 +14,14 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/billing_setup_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/billing_setup.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/resources/billing_setup.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/billing_setup_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/billing_setup_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "BillingSetupServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -50,7 +30,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/billing_setup_service.proto // Proto file describing the BillingSetup service. @@ -83,11 +62,7 @@ service BillingSetupService { rpc MutateBillingSetup(MutateBillingSetupRequest) returns (MutateBillingSetupResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/billing_setup_service.proto - post: "/v13/customers/{customer_id=*}/billingSetups:mutate" -======== post: "/v14/customers/{customer_id=*}/billingSetups:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/billing_setup_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operation"; @@ -112,11 +87,7 @@ message BillingSetupOperation { oneof operation { // Creates a billing setup. No resource name is expected for the new billing // setup. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/billing_setup_service.proto - google.ads.googleads.v13.resources.BillingSetup create = 2; -======== google.ads.googleads.v14.resources.BillingSetup create = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/billing_setup_service.proto // Resource name of the billing setup to remove. A setup cannot be // removed unless it is in a pending state or its scheduled start time is in diff --git a/third_party/googleapis/google/ads/googleads/v14/services/campaign_asset_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/campaign_asset_service.proto index 5da21b859..dd9940678 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/campaign_asset_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/campaign_asset_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_asset_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_asset_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_asset_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/campaign_asset.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/campaign_asset.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_asset_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -36,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_asset_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignAssetServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -54,7 +33,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_asset_service.proto // Proto file describing the CampaignAsset service. @@ -82,11 +60,7 @@ service CampaignAssetService { rpc MutateCampaignAssets(MutateCampaignAssetsRequest) returns (MutateCampaignAssetsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_asset_service.proto - post: "/v13/customers/{customer_id=*}/campaignAssets:mutate" -======== post: "/v14/customers/{customer_id=*}/campaignAssets:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_asset_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -94,11 +68,7 @@ service CampaignAssetService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_asset_service.proto -// [CampaignAssetService.MutateCampaignAssets][google.ads.googleads.v13.services.CampaignAssetService.MutateCampaignAssets]. -======== // [CampaignAssetService.MutateCampaignAssets][google.ads.googleads.v14.services.CampaignAssetService.MutateCampaignAssets]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_asset_service.proto message MutateCampaignAssetsRequest { // Required. The ID of the customer whose campaign assets are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -119,11 +89,7 @@ message MutateCampaignAssetsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_asset_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_asset_service.proto response_content_type = 5; } @@ -136,19 +102,11 @@ message CampaignAssetOperation { oneof operation { // Create operation: No resource name is expected for the new campaign // asset. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_asset_service.proto - google.ads.googleads.v13.resources.CampaignAsset create = 1; - - // Update operation: The campaign asset is expected to have a valid resource - // name. - google.ads.googleads.v13.resources.CampaignAsset update = 3; -======== google.ads.googleads.v14.resources.CampaignAsset create = 1; // Update operation: The campaign asset is expected to have a valid resource // name. google.ads.googleads.v14.resources.CampaignAsset update = 3; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_asset_service.proto // Remove operation: A resource name for the removed campaign asset is // expected, in this format: @@ -182,9 +140,5 @@ message MutateCampaignAssetResult { // The mutated campaign asset with only mutable fields after // mutate. The field will only be returned when response_content_type is set // to "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_asset_service.proto - google.ads.googleads.v13.resources.CampaignAsset campaign_asset = 2; -======== google.ads.googleads.v14.resources.CampaignAsset campaign_asset = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_asset_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/campaign_asset_set_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/campaign_asset_set_service.proto index f34330d20..6cc56dd63 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/campaign_asset_set_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/campaign_asset_set_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_asset_set_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_asset_set_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,33 +14,16 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_asset_set_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/campaign_asset_set.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/campaign_asset_set.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_asset_set_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_asset_set_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignAssetSetServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -53,7 +32,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_asset_set_service.proto // Proto file describing the CampaignAssetSet service. @@ -67,11 +45,7 @@ service CampaignAssetSetService { rpc MutateCampaignAssetSets(MutateCampaignAssetSetsRequest) returns (MutateCampaignAssetSetsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_asset_set_service.proto - post: "/v13/customers/{customer_id=*}/campaignAssetSets:mutate" -======== post: "/v14/customers/{customer_id=*}/campaignAssetSets:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_asset_set_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -79,11 +53,7 @@ service CampaignAssetSetService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_asset_set_service.proto -// [CampaignAssetSetService.MutateCampaignAssetSets][google.ads.googleads.v13.services.CampaignAssetSetService.MutateCampaignAssetSets]. -======== // [CampaignAssetSetService.MutateCampaignAssetSets][google.ads.googleads.v14.services.CampaignAssetSetService.MutateCampaignAssetSets]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_asset_set_service.proto message MutateCampaignAssetSetsRequest { // Required. The ID of the customer whose campaign asset sets are being // modified. @@ -106,11 +76,7 @@ message MutateCampaignAssetSetsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_asset_set_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_asset_set_service.proto response_content_type = 5; } @@ -120,11 +86,7 @@ message CampaignAssetSetOperation { oneof operation { // Create operation: No resource name is expected for the new campaign asset // set. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_asset_set_service.proto - google.ads.googleads.v13.resources.CampaignAssetSet create = 1; -======== google.ads.googleads.v14.resources.CampaignAssetSet create = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_asset_set_service.proto // Remove operation: A resource name for the removed campaign asset set is // expected, in this format: @@ -157,9 +119,5 @@ message MutateCampaignAssetSetResult { // The mutated campaign asset set with only mutable fields after mutate. The // field will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_asset_set_service.proto - google.ads.googleads.v13.resources.CampaignAssetSet campaign_asset_set = 2; -======== google.ads.googleads.v14.resources.CampaignAssetSet campaign_asset_set = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_asset_set_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/campaign_bid_modifier_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/campaign_bid_modifier_service.proto index 44336d347..2bb5e0508 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/campaign_bid_modifier_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/campaign_bid_modifier_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_bid_modifier_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_bid_modifier_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_bid_modifier_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/campaign_bid_modifier.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/campaign_bid_modifier.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_bid_modifier_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -36,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_bid_modifier_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignBidModifierServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -54,7 +33,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_bid_modifier_service.proto // Proto file describing the Campaign Bid Modifier service. @@ -92,11 +70,7 @@ service CampaignBidModifierService { rpc MutateCampaignBidModifiers(MutateCampaignBidModifiersRequest) returns (MutateCampaignBidModifiersResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_bid_modifier_service.proto - post: "/v13/customers/{customer_id=*}/campaignBidModifiers:mutate" -======== post: "/v14/customers/{customer_id=*}/campaignBidModifiers:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_bid_modifier_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -104,11 +78,7 @@ service CampaignBidModifierService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_bid_modifier_service.proto -// [CampaignBidModifierService.MutateCampaignBidModifiers][google.ads.googleads.v13.services.CampaignBidModifierService.MutateCampaignBidModifiers]. -======== // [CampaignBidModifierService.MutateCampaignBidModifiers][google.ads.googleads.v14.services.CampaignBidModifierService.MutateCampaignBidModifiers]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_bid_modifier_service.proto message MutateCampaignBidModifiersRequest { // Required. ID of the customer whose campaign bid modifiers are being // modified. @@ -131,11 +101,7 @@ message MutateCampaignBidModifiersRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_bid_modifier_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_bid_modifier_service.proto response_content_type = 5; } @@ -148,19 +114,11 @@ message CampaignBidModifierOperation { oneof operation { // Create operation: No resource name is expected for the new campaign bid // modifier. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_bid_modifier_service.proto - google.ads.googleads.v13.resources.CampaignBidModifier create = 1; - - // Update operation: The campaign bid modifier is expected to have a valid - // resource name. - google.ads.googleads.v13.resources.CampaignBidModifier update = 2; -======== google.ads.googleads.v14.resources.CampaignBidModifier create = 1; // Update operation: The campaign bid modifier is expected to have a valid // resource name. google.ads.googleads.v14.resources.CampaignBidModifier update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_bid_modifier_service.proto // Remove operation: A resource name for the removed campaign bid modifier // is expected, in this format: @@ -194,10 +152,6 @@ message MutateCampaignBidModifierResult { // The mutated campaign bid modifier with only mutable fields after mutate. // The field will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_bid_modifier_service.proto - google.ads.googleads.v13.resources.CampaignBidModifier campaign_bid_modifier = -======== google.ads.googleads.v14.resources.CampaignBidModifier campaign_bid_modifier = ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_bid_modifier_service.proto 2; } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/campaign_budget_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/campaign_budget_service.proto index 88418b74e..229bfbecf 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/campaign_budget_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/campaign_budget_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_budget_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_budget_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_budget_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/campaign_budget.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/campaign_budget.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_budget_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -36,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_budget_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignBudgetServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -54,7 +33,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_budget_service.proto // Proto file describing the Campaign Budget service. @@ -87,11 +65,7 @@ service CampaignBudgetService { rpc MutateCampaignBudgets(MutateCampaignBudgetsRequest) returns (MutateCampaignBudgetsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_budget_service.proto - post: "/v13/customers/{customer_id=*}/campaignBudgets:mutate" -======== post: "/v14/customers/{customer_id=*}/campaignBudgets:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_budget_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -99,11 +73,7 @@ service CampaignBudgetService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_budget_service.proto -// [CampaignBudgetService.MutateCampaignBudgets][google.ads.googleads.v13.services.CampaignBudgetService.MutateCampaignBudgets]. -======== // [CampaignBudgetService.MutateCampaignBudgets][google.ads.googleads.v14.services.CampaignBudgetService.MutateCampaignBudgets]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_budget_service.proto message MutateCampaignBudgetsRequest { // Required. The ID of the customer whose campaign budgets are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -124,11 +94,7 @@ message MutateCampaignBudgetsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_budget_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_budget_service.proto response_content_type = 5; } @@ -140,19 +106,11 @@ message CampaignBudgetOperation { // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new budget. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_budget_service.proto - google.ads.googleads.v13.resources.CampaignBudget create = 1; - - // Update operation: The campaign budget is expected to have a valid - // resource name. - google.ads.googleads.v13.resources.CampaignBudget update = 2; -======== google.ads.googleads.v14.resources.CampaignBudget create = 1; // Update operation: The campaign budget is expected to have a valid // resource name. google.ads.googleads.v14.resources.CampaignBudget update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_budget_service.proto // Remove operation: A resource name for the removed budget is expected, in // this format: @@ -186,9 +144,5 @@ message MutateCampaignBudgetResult { // The mutated campaign budget with only mutable fields after mutate. The // field will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_budget_service.proto - google.ads.googleads.v13.resources.CampaignBudget campaign_budget = 2; -======== google.ads.googleads.v14.resources.CampaignBudget campaign_budget = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_budget_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/campaign_conversion_goal_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/campaign_conversion_goal_service.proto index d5f690268..074bdfabf 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/campaign_conversion_goal_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/campaign_conversion_goal_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_conversion_goal_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_conversion_goal_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,31 +14,15 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_conversion_goal_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/campaign_conversion_goal.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/resources/campaign_conversion_goal.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_conversion_goal_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_conversion_goal_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignConversionGoalServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -51,7 +31,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_conversion_goal_service.proto // Proto file describing the CampaignConversionGoal service. @@ -65,11 +44,7 @@ service CampaignConversionGoalService { rpc MutateCampaignConversionGoals(MutateCampaignConversionGoalsRequest) returns (MutateCampaignConversionGoalsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_conversion_goal_service.proto - post: "/v13/customers/{customer_id=*}/campaignConversionGoals:mutate" -======== post: "/v14/customers/{customer_id=*}/campaignConversionGoals:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_conversion_goal_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -77,11 +52,7 @@ service CampaignConversionGoalService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_conversion_goal_service.proto -// [CampaignConversionGoalService.MutateCampaignConversionGoals][google.ads.googleads.v13.services.CampaignConversionGoalService.MutateCampaignConversionGoals]. -======== // [CampaignConversionGoalService.MutateCampaignConversionGoals][google.ads.googleads.v14.services.CampaignConversionGoalService.MutateCampaignConversionGoals]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_conversion_goal_service.proto message MutateCampaignConversionGoalsRequest { // Required. The ID of the customer whose campaign conversion goals are being // modified. @@ -106,11 +77,7 @@ message CampaignConversionGoalOperation { oneof operation { // Update operation: The customer conversion goal is expected to have a // valid resource name. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_conversion_goal_service.proto - google.ads.googleads.v13.resources.CampaignConversionGoal update = 1; -======== google.ads.googleads.v14.resources.CampaignConversionGoal update = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_conversion_goal_service.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/campaign_criterion_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/campaign_criterion_service.proto index 292451f7c..f2dba3dbf 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/campaign_criterion_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/campaign_criterion_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_criterion_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_criterion_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_criterion_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/campaign_criterion.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/campaign_criterion.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_criterion_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -36,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_criterion_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignCriterionServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -54,7 +33,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_criterion_service.proto // Proto file describing the Campaign Criterion service. @@ -98,11 +76,7 @@ service CampaignCriterionService { rpc MutateCampaignCriteria(MutateCampaignCriteriaRequest) returns (MutateCampaignCriteriaResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_criterion_service.proto - post: "/v13/customers/{customer_id=*}/campaignCriteria:mutate" -======== post: "/v14/customers/{customer_id=*}/campaignCriteria:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_criterion_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -110,11 +84,7 @@ service CampaignCriterionService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_criterion_service.proto -// [CampaignCriterionService.MutateCampaignCriteria][google.ads.googleads.v13.services.CampaignCriterionService.MutateCampaignCriteria]. -======== // [CampaignCriterionService.MutateCampaignCriteria][google.ads.googleads.v14.services.CampaignCriterionService.MutateCampaignCriteria]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_criterion_service.proto message MutateCampaignCriteriaRequest { // Required. The ID of the customer whose criteria are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -135,11 +105,7 @@ message MutateCampaignCriteriaRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_criterion_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_criterion_service.proto response_content_type = 5; } @@ -151,19 +117,11 @@ message CampaignCriterionOperation { // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new criterion. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_criterion_service.proto - google.ads.googleads.v13.resources.CampaignCriterion create = 1; - - // Update operation: The criterion is expected to have a valid resource - // name. - google.ads.googleads.v13.resources.CampaignCriterion update = 2; -======== google.ads.googleads.v14.resources.CampaignCriterion create = 1; // Update operation: The criterion is expected to have a valid resource // name. google.ads.googleads.v14.resources.CampaignCriterion update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_criterion_service.proto // Remove operation: A resource name for the removed criterion is expected, // in this format: @@ -197,9 +155,5 @@ message MutateCampaignCriterionResult { // The mutated campaign criterion with only mutable fields after mutate. The // field will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_criterion_service.proto - google.ads.googleads.v13.resources.CampaignCriterion campaign_criterion = 2; -======== google.ads.googleads.v14.resources.CampaignCriterion campaign_criterion = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_criterion_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/campaign_customizer_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/campaign_customizer_service.proto index 29fdbc574..9bdeaaca1 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/campaign_customizer_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/campaign_customizer_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_customizer_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_customizer_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,33 +14,16 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_customizer_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/campaign_customizer.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/campaign_customizer.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_customizer_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_customizer_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignCustomizerServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -53,7 +32,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_customizer_service.proto // Proto file describing the CampaignCustomizer service. @@ -67,11 +45,7 @@ service CampaignCustomizerService { rpc MutateCampaignCustomizers(MutateCampaignCustomizersRequest) returns (MutateCampaignCustomizersResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_customizer_service.proto - post: "/v13/customers/{customer_id=*}/campaignCustomizers:mutate" -======== post: "/v14/customers/{customer_id=*}/campaignCustomizers:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_customizer_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -79,11 +53,7 @@ service CampaignCustomizerService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_customizer_service.proto -// [CampaignCustomizerService.MutateCampaignCustomizers][google.ads.googleads.v13.services.CampaignCustomizerService.MutateCampaignCustomizers]. -======== // [CampaignCustomizerService.MutateCampaignCustomizers][google.ads.googleads.v14.services.CampaignCustomizerService.MutateCampaignCustomizers]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_customizer_service.proto message MutateCampaignCustomizersRequest { // Required. The ID of the customer whose campaign customizers are being // modified. @@ -106,11 +76,7 @@ message MutateCampaignCustomizersRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_customizer_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_customizer_service.proto response_content_type = 5; } @@ -120,11 +86,7 @@ message CampaignCustomizerOperation { oneof operation { // Create operation: No resource name is expected for the new campaign // customizer -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_customizer_service.proto - google.ads.googleads.v13.resources.CampaignCustomizer create = 1; -======== google.ads.googleads.v14.resources.CampaignCustomizer create = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_customizer_service.proto // Remove operation: A resource name for the removed campaign customizer is // expected, in this format: @@ -157,9 +119,5 @@ message MutateCampaignCustomizerResult { // The mutated CampaignCustomizer with only mutable fields after mutate. // The field will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_customizer_service.proto - google.ads.googleads.v13.resources.CampaignCustomizer campaign_customizer = 2; -======== google.ads.googleads.v14.resources.CampaignCustomizer campaign_customizer = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_customizer_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/campaign_draft_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/campaign_draft_service.proto index 8aaa48701..865415f41 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/campaign_draft_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/campaign_draft_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_draft_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_draft_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_draft_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/campaign_draft.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/campaign_draft.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_draft_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -38,16 +27,6 @@ import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_draft_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignDraftServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -56,7 +35,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_draft_service.proto // Proto file describing the Campaign Draft service. @@ -82,11 +60,7 @@ service CampaignDraftService { rpc MutateCampaignDrafts(MutateCampaignDraftsRequest) returns (MutateCampaignDraftsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_draft_service.proto - post: "/v13/customers/{customer_id=*}/campaignDrafts:mutate" -======== post: "/v14/customers/{customer_id=*}/campaignDrafts:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_draft_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -99,11 +73,7 @@ service CampaignDraftService { // is done. Only a done status is returned in the response. See the status // in the Campaign Draft resource to determine if the promotion was // successful. If the LRO failed, use -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_draft_service.proto - // [CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v13.services.CampaignDraftService.ListCampaignDraftAsyncErrors] -======== // [CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v14.services.CampaignDraftService.ListCampaignDraftAsyncErrors] ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_draft_service.proto // to view the list of error reasons. // // List of thrown errors: @@ -117,11 +87,7 @@ service CampaignDraftService { rpc PromoteCampaignDraft(PromoteCampaignDraftRequest) returns (google.longrunning.Operation) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_draft_service.proto - post: "/v13/{campaign_draft=customers/*/campaignDrafts/*}:promote" -======== post: "/v14/{campaign_draft=customers/*/campaignDrafts/*}:promote" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_draft_service.proto body: "*" }; option (google.api.method_signature) = "campaign_draft"; @@ -145,22 +111,14 @@ service CampaignDraftService { rpc ListCampaignDraftAsyncErrors(ListCampaignDraftAsyncErrorsRequest) returns (ListCampaignDraftAsyncErrorsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_draft_service.proto - get: "/v13/{resource_name=customers/*/campaignDrafts/*}:listAsyncErrors" -======== get: "/v14/{resource_name=customers/*/campaignDrafts/*}:listAsyncErrors" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_draft_service.proto }; option (google.api.method_signature) = "resource_name"; } } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_draft_service.proto -// [CampaignDraftService.MutateCampaignDrafts][google.ads.googleads.v13.services.CampaignDraftService.MutateCampaignDrafts]. -======== // [CampaignDraftService.MutateCampaignDrafts][google.ads.googleads.v14.services.CampaignDraftService.MutateCampaignDrafts]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_draft_service.proto message MutateCampaignDraftsRequest { // Required. The ID of the customer whose campaign drafts are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -181,20 +139,12 @@ message MutateCampaignDraftsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_draft_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_draft_service.proto response_content_type = 5; } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_draft_service.proto -// [CampaignDraftService.PromoteCampaignDraft][google.ads.googleads.v13.services.CampaignDraftService.PromoteCampaignDraft]. -======== // [CampaignDraftService.PromoteCampaignDraft][google.ads.googleads.v14.services.CampaignDraftService.PromoteCampaignDraft]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_draft_service.proto message PromoteCampaignDraftRequest { // Required. The resource name of the campaign draft to promote. string campaign_draft = 1 [ @@ -218,19 +168,11 @@ message CampaignDraftOperation { oneof operation { // Create operation: No resource name is expected for the new campaign // draft. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_draft_service.proto - google.ads.googleads.v13.resources.CampaignDraft create = 1; - - // Update operation: The campaign draft is expected to have a valid - // resource name. - google.ads.googleads.v13.resources.CampaignDraft update = 2; -======== google.ads.googleads.v14.resources.CampaignDraft create = 1; // Update operation: The campaign draft is expected to have a valid // resource name. google.ads.googleads.v14.resources.CampaignDraft update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_draft_service.proto // Remove operation: The campaign draft is expected to have a valid // resource name, in this format: @@ -264,19 +206,11 @@ message MutateCampaignDraftResult { // The mutated campaign draft with only mutable fields after mutate. The field // will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_draft_service.proto - google.ads.googleads.v13.resources.CampaignDraft campaign_draft = 2; -} - -// Request message for -// [CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v13.services.CampaignDraftService.ListCampaignDraftAsyncErrors]. -======== google.ads.googleads.v14.resources.CampaignDraft campaign_draft = 2; } // Request message for // [CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v14.services.CampaignDraftService.ListCampaignDraftAsyncErrors]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_draft_service.proto message ListCampaignDraftAsyncErrorsRequest { // Required. The name of the campaign draft from which to retrieve the async // errors. @@ -300,11 +234,7 @@ message ListCampaignDraftAsyncErrorsRequest { } // Response message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_draft_service.proto -// [CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v13.services.CampaignDraftService.ListCampaignDraftAsyncErrors]. -======== // [CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v14.services.CampaignDraftService.ListCampaignDraftAsyncErrors]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_draft_service.proto message ListCampaignDraftAsyncErrorsResponse { // Details of the errors when performing the asynchronous operation. repeated google.rpc.Status errors = 1; diff --git a/third_party/googleapis/google/ads/googleads/v14/services/campaign_extension_setting_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/campaign_extension_setting_service.proto index 5f53ebd29..f204b7e56 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/campaign_extension_setting_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/campaign_extension_setting_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_extension_setting_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_extension_setting_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_extension_setting_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/campaign_extension_setting.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/campaign_extension_setting.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_extension_setting_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -36,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_extension_setting_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignExtensionSettingServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -54,7 +33,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_extension_setting_service.proto // Proto file describing the CampaignExtensionSetting service. @@ -97,11 +75,7 @@ service CampaignExtensionSettingService { rpc MutateCampaignExtensionSettings(MutateCampaignExtensionSettingsRequest) returns (MutateCampaignExtensionSettingsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_extension_setting_service.proto - post: "/v13/customers/{customer_id=*}/campaignExtensionSettings:mutate" -======== post: "/v14/customers/{customer_id=*}/campaignExtensionSettings:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_extension_setting_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -109,11 +83,7 @@ service CampaignExtensionSettingService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_extension_setting_service.proto -// [CampaignExtensionSettingService.MutateCampaignExtensionSettings][google.ads.googleads.v13.services.CampaignExtensionSettingService.MutateCampaignExtensionSettings]. -======== // [CampaignExtensionSettingService.MutateCampaignExtensionSettings][google.ads.googleads.v14.services.CampaignExtensionSettingService.MutateCampaignExtensionSettings]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_extension_setting_service.proto message MutateCampaignExtensionSettingsRequest { // Required. The ID of the customer whose campaign extension settings are // being modified. @@ -136,11 +106,7 @@ message MutateCampaignExtensionSettingsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_extension_setting_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_extension_setting_service.proto response_content_type = 5; } @@ -153,19 +119,11 @@ message CampaignExtensionSettingOperation { oneof operation { // Create operation: No resource name is expected for the new campaign // extension setting. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_extension_setting_service.proto - google.ads.googleads.v13.resources.CampaignExtensionSetting create = 1; - - // Update operation: The campaign extension setting is expected to have a - // valid resource name. - google.ads.googleads.v13.resources.CampaignExtensionSetting update = 2; -======== google.ads.googleads.v14.resources.CampaignExtensionSetting create = 1; // Update operation: The campaign extension setting is expected to have a // valid resource name. google.ads.googleads.v14.resources.CampaignExtensionSetting update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_extension_setting_service.proto // Remove operation: A resource name for the removed campaign extension // setting is expected, in this format: @@ -199,10 +157,6 @@ message MutateCampaignExtensionSettingResult { // The mutated campaign extension setting with only mutable fields after // mutate. The field will only be returned when response_content_type is set // to "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_extension_setting_service.proto - google.ads.googleads.v13.resources.CampaignExtensionSetting -======== google.ads.googleads.v14.resources.CampaignExtensionSetting ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_extension_setting_service.proto campaign_extension_setting = 2; } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/campaign_feed_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/campaign_feed_service.proto index 8cf61458d..e0f3551c6 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/campaign_feed_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/campaign_feed_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_feed_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_feed_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_feed_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/campaign_feed.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/campaign_feed.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_feed_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -36,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_feed_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignFeedServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -54,7 +33,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_feed_service.proto // Proto file describing the CampaignFeed service. @@ -93,11 +71,7 @@ service CampaignFeedService { rpc MutateCampaignFeeds(MutateCampaignFeedsRequest) returns (MutateCampaignFeedsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_feed_service.proto - post: "/v13/customers/{customer_id=*}/campaignFeeds:mutate" -======== post: "/v14/customers/{customer_id=*}/campaignFeeds:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_feed_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -105,11 +79,7 @@ service CampaignFeedService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_feed_service.proto -// [CampaignFeedService.MutateCampaignFeeds][google.ads.googleads.v13.services.CampaignFeedService.MutateCampaignFeeds]. -======== // [CampaignFeedService.MutateCampaignFeeds][google.ads.googleads.v14.services.CampaignFeedService.MutateCampaignFeeds]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_feed_service.proto message MutateCampaignFeedsRequest { // Required. The ID of the customer whose campaign feeds are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -130,11 +100,7 @@ message MutateCampaignFeedsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_feed_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_feed_service.proto response_content_type = 5; } @@ -146,19 +112,11 @@ message CampaignFeedOperation { // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new campaign feed. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_feed_service.proto - google.ads.googleads.v13.resources.CampaignFeed create = 1; - - // Update operation: The campaign feed is expected to have a valid resource - // name. - google.ads.googleads.v13.resources.CampaignFeed update = 2; -======== google.ads.googleads.v14.resources.CampaignFeed create = 1; // Update operation: The campaign feed is expected to have a valid resource // name. google.ads.googleads.v14.resources.CampaignFeed update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_feed_service.proto // Remove operation: A resource name for the removed campaign feed is // expected, in this format: @@ -192,9 +150,5 @@ message MutateCampaignFeedResult { // The mutated campaign feed with only mutable fields after mutate. The field // will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_feed_service.proto - google.ads.googleads.v13.resources.CampaignFeed campaign_feed = 2; -======== google.ads.googleads.v14.resources.CampaignFeed campaign_feed = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_feed_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/campaign_label_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/campaign_label_service.proto index 3cbd86ff2..dd5962a12 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/campaign_label_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/campaign_label_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_label_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_label_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,31 +14,15 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_label_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/campaign_label.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/resources/campaign_label.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_label_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_label_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignLabelServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -51,7 +31,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_label_service.proto // Proto file describing the Campaign Label service. @@ -78,11 +57,7 @@ service CampaignLabelService { rpc MutateCampaignLabels(MutateCampaignLabelsRequest) returns (MutateCampaignLabelsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_label_service.proto - post: "/v13/customers/{customer_id=*}/campaignLabels:mutate" -======== post: "/v14/customers/{customer_id=*}/campaignLabels:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_label_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -90,11 +65,7 @@ service CampaignLabelService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_label_service.proto -// [CampaignLabelService.MutateCampaignLabels][google.ads.googleads.v13.services.CampaignLabelService.MutateCampaignLabels]. -======== // [CampaignLabelService.MutateCampaignLabels][google.ads.googleads.v14.services.CampaignLabelService.MutateCampaignLabels]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_label_service.proto message MutateCampaignLabelsRequest { // Required. ID of the customer whose campaign-label relationships are being // modified. @@ -122,11 +93,7 @@ message CampaignLabelOperation { oneof operation { // Create operation: No resource name is expected for the new campaign-label // relationship. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_label_service.proto - google.ads.googleads.v13.resources.CampaignLabel create = 1; -======== google.ads.googleads.v14.resources.CampaignLabel create = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_label_service.proto // Remove operation: A resource name for the campaign-label relationship // being removed, in this format: diff --git a/third_party/googleapis/google/ads/googleads/v14/services/campaign_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/campaign_service.proto index 3949fb398..e451d7e98 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/campaign_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/campaign_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/campaign.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/campaign.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -36,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -54,7 +33,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_service.proto // Proto file describing the Campaign service. @@ -104,11 +82,7 @@ service CampaignService { rpc MutateCampaigns(MutateCampaignsRequest) returns (MutateCampaignsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_service.proto - post: "/v13/customers/{customer_id=*}/campaigns:mutate" -======== post: "/v14/customers/{customer_id=*}/campaigns:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -116,11 +90,7 @@ service CampaignService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_service.proto -// [CampaignService.MutateCampaigns][google.ads.googleads.v13.services.CampaignService.MutateCampaigns]. -======== // [CampaignService.MutateCampaigns][google.ads.googleads.v14.services.CampaignService.MutateCampaigns]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_service.proto message MutateCampaignsRequest { // Required. The ID of the customer whose campaigns are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -141,11 +111,7 @@ message MutateCampaignsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_service.proto response_content_type = 5; } @@ -157,19 +123,11 @@ message CampaignOperation { // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new campaign. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_service.proto - google.ads.googleads.v13.resources.Campaign create = 1; - - // Update operation: The campaign is expected to have a valid - // resource name. - google.ads.googleads.v13.resources.Campaign update = 2; -======== google.ads.googleads.v14.resources.Campaign create = 1; // Update operation: The campaign is expected to have a valid // resource name. google.ads.googleads.v14.resources.Campaign update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_service.proto // Remove operation: A resource name for the removed campaign is // expected, in this format: @@ -202,9 +160,5 @@ message MutateCampaignResult { // The mutated campaign with only mutable fields after mutate. The field will // only be returned when response_content_type is set to "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_service.proto - google.ads.googleads.v13.resources.Campaign campaign = 2; -======== google.ads.googleads.v14.resources.Campaign campaign = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/campaign_shared_set_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/campaign_shared_set_service.proto index ccc1f36a1..bfb0743f9 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/campaign_shared_set_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/campaign_shared_set_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_shared_set_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_shared_set_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,33 +14,16 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_shared_set_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/campaign_shared_set.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/campaign_shared_set.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_shared_set_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_shared_set_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignSharedSetServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -53,7 +32,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_shared_set_service.proto // Proto file describing the Campaign Shared Set service. @@ -90,11 +68,7 @@ service CampaignSharedSetService { rpc MutateCampaignSharedSets(MutateCampaignSharedSetsRequest) returns (MutateCampaignSharedSetsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_shared_set_service.proto - post: "/v13/customers/{customer_id=*}/campaignSharedSets:mutate" -======== post: "/v14/customers/{customer_id=*}/campaignSharedSets:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_shared_set_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -102,11 +76,7 @@ service CampaignSharedSetService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_shared_set_service.proto -// [CampaignSharedSetService.MutateCampaignSharedSets][google.ads.googleads.v13.services.CampaignSharedSetService.MutateCampaignSharedSets]. -======== // [CampaignSharedSetService.MutateCampaignSharedSets][google.ads.googleads.v14.services.CampaignSharedSetService.MutateCampaignSharedSets]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_shared_set_service.proto message MutateCampaignSharedSetsRequest { // Required. The ID of the customer whose campaign shared sets are being // modified. @@ -129,11 +99,7 @@ message MutateCampaignSharedSetsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_shared_set_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_shared_set_service.proto response_content_type = 5; } @@ -143,11 +109,7 @@ message CampaignSharedSetOperation { oneof operation { // Create operation: No resource name is expected for the new campaign // shared set. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_shared_set_service.proto - google.ads.googleads.v13.resources.CampaignSharedSet create = 1; -======== google.ads.googleads.v14.resources.CampaignSharedSet create = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_shared_set_service.proto // Remove operation: A resource name for the removed campaign shared set is // expected, in this format: @@ -181,9 +143,5 @@ message MutateCampaignSharedSetResult { // The mutated campaign shared set with only mutable fields after mutate. The // field will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/campaign_shared_set_service.proto - google.ads.googleads.v13.resources.CampaignSharedSet campaign_shared_set = 2; -======== google.ads.googleads.v14.resources.CampaignSharedSet campaign_shared_set = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/campaign_shared_set_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/conversion_action_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/conversion_action_service.proto index 5230c3d92..3b250ed51 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/conversion_action_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/conversion_action_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_action_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_action_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_action_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/conversion_action.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/conversion_action.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_action_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -36,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_action_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ConversionActionServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -54,7 +33,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_action_service.proto // Proto file describing the Conversion Action service. @@ -86,11 +64,7 @@ service ConversionActionService { rpc MutateConversionActions(MutateConversionActionsRequest) returns (MutateConversionActionsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_action_service.proto - post: "/v13/customers/{customer_id=*}/conversionActions:mutate" -======== post: "/v14/customers/{customer_id=*}/conversionActions:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_action_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -98,11 +72,7 @@ service ConversionActionService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_action_service.proto -// [ConversionActionService.MutateConversionActions][google.ads.googleads.v13.services.ConversionActionService.MutateConversionActions]. -======== // [ConversionActionService.MutateConversionActions][google.ads.googleads.v14.services.ConversionActionService.MutateConversionActions]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_action_service.proto message MutateConversionActionsRequest { // Required. The ID of the customer whose conversion actions are being // modified. @@ -125,11 +95,7 @@ message MutateConversionActionsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_action_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_action_service.proto response_content_type = 5; } @@ -142,19 +108,11 @@ message ConversionActionOperation { oneof operation { // Create operation: No resource name is expected for the new conversion // action. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_action_service.proto - google.ads.googleads.v13.resources.ConversionAction create = 1; - - // Update operation: The conversion action is expected to have a valid - // resource name. - google.ads.googleads.v13.resources.ConversionAction update = 2; -======== google.ads.googleads.v14.resources.ConversionAction create = 1; // Update operation: The conversion action is expected to have a valid // resource name. google.ads.googleads.v14.resources.ConversionAction update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_action_service.proto // Remove operation: A resource name for the removed conversion action is // expected, in this format: @@ -167,11 +125,7 @@ message ConversionActionOperation { } // Response message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_action_service.proto -// [ConversionActionService.MutateConversionActions][google.ads.googleads.v13.services.ConversionActionService.MutateConversionActions]. -======== // [ConversionActionService.MutateConversionActions][google.ads.googleads.v14.services.ConversionActionService.MutateConversionActions]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_action_service.proto message MutateConversionActionsResponse { // Errors that pertain to operation failures in the partial failure mode. // Returned only when partial_failure = true and all errors occur inside the @@ -193,9 +147,5 @@ message MutateConversionActionResult { // The mutated conversion action with only mutable fields after mutate. The // field will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_action_service.proto - google.ads.googleads.v13.resources.ConversionAction conversion_action = 2; -======== google.ads.googleads.v14.resources.ConversionAction conversion_action = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_action_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/conversion_adjustment_upload_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/conversion_adjustment_upload_service.proto index 7efe54e3d..ac48459bd 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/conversion_adjustment_upload_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/conversion_adjustment_upload_service.proto @@ -14,32 +14,15 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_adjustment_upload_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/common/offline_user_data.proto"; -import "google/ads/googleads/v12/enums/conversion_adjustment_type.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/common/offline_user_data.proto"; import "google/ads/googleads/v14/enums/conversion_adjustment_type.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_adjustment_upload_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_adjustment_upload_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ConversionAdjustmentUploadServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -48,7 +31,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_adjustment_upload_service.proto // Service to upload conversion adjustments. service ConversionAdjustmentUploadService { @@ -68,11 +50,7 @@ service ConversionAdjustmentUploadService { rpc UploadConversionAdjustments(UploadConversionAdjustmentsRequest) returns (UploadConversionAdjustmentsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_adjustment_upload_service.proto - post: "/v12/customers/{customer_id=*}:uploadConversionAdjustments" -======== post: "/v14/customers/{customer_id=*}:uploadConversionAdjustments" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_adjustment_upload_service.proto body: "*" }; option (google.api.method_signature) = @@ -81,11 +59,7 @@ service ConversionAdjustmentUploadService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_adjustment_upload_service.proto -// [ConversionAdjustmentUploadService.UploadConversionAdjustments][google.ads.googleads.v12.services.ConversionAdjustmentUploadService.UploadConversionAdjustments]. -======== // [ConversionAdjustmentUploadService.UploadConversionAdjustments][google.ads.googleads.v14.services.ConversionAdjustmentUploadService.UploadConversionAdjustments]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_adjustment_upload_service.proto message UploadConversionAdjustmentsRequest { // Required. The ID of the customer performing the upload. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -109,11 +83,7 @@ message UploadConversionAdjustmentsRequest { } // Response message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_adjustment_upload_service.proto -// [ConversionAdjustmentUploadService.UploadConversionAdjustments][google.ads.googleads.v12.services.ConversionAdjustmentUploadService.UploadConversionAdjustments]. -======== // [ConversionAdjustmentUploadService.UploadConversionAdjustments][google.ads.googleads.v14.services.ConversionAdjustmentUploadService.UploadConversionAdjustments]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_adjustment_upload_service.proto message UploadConversionAdjustmentsResponse { // Errors that pertain to conversion adjustment failures in the partial // failure mode. Returned when all errors occur inside the adjustments. If any @@ -156,12 +126,8 @@ message ConversionAdjustment { optional string adjustment_date_time = 9; // The adjustment type. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_adjustment_upload_service.proto - google.ads.googleads.v12.enums.ConversionAdjustmentTypeEnum.ConversionAdjustmentType adjustment_type = 5; -======== google.ads.googleads.v14.enums.ConversionAdjustmentTypeEnum .ConversionAdjustmentType adjustment_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_adjustment_upload_service.proto // Information needed to restate the conversion's value. // Required for restatements. Should not be supplied for retractions. An error @@ -176,11 +142,7 @@ message ConversionAdjustment { // ConversionAdjustmentUploadService only accepts user identifiers in // enhancements. The maximum number of user identifiers for each // enhancement is 5. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_adjustment_upload_service.proto - repeated google.ads.googleads.v12.common.UserIdentifier user_identifiers = 10; -======== repeated google.ads.googleads.v14.common.UserIdentifier user_identifiers = 10; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_adjustment_upload_service.proto // The user agent to enhance the original conversion. This can be found in // your user's HTTP request header when they convert on your web page. @@ -240,10 +202,6 @@ message ConversionAdjustmentResult { optional string adjustment_date_time = 8; // The adjustment type. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_adjustment_upload_service.proto - google.ads.googleads.v12.enums.ConversionAdjustmentTypeEnum.ConversionAdjustmentType adjustment_type = 5; -======== google.ads.googleads.v14.enums.ConversionAdjustmentTypeEnum .ConversionAdjustmentType adjustment_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_adjustment_upload_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/conversion_custom_variable_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/conversion_custom_variable_service.proto index a8fa53c7d..16bdb6832 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/conversion_custom_variable_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/conversion_custom_variable_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_custom_variable_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_custom_variable_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_custom_variable_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/conversion_custom_variable.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/conversion_custom_variable.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_custom_variable_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -36,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_custom_variable_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ConversionCustomVariableServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -54,7 +33,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_custom_variable_service.proto // Proto file describing the Conversion Custom Variable service. @@ -78,11 +56,7 @@ service ConversionCustomVariableService { rpc MutateConversionCustomVariables(MutateConversionCustomVariablesRequest) returns (MutateConversionCustomVariablesResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_custom_variable_service.proto - post: "/v13/customers/{customer_id=*}/conversionCustomVariables:mutate" -======== post: "/v14/customers/{customer_id=*}/conversionCustomVariables:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_custom_variable_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -90,11 +64,7 @@ service ConversionCustomVariableService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_custom_variable_service.proto -// [ConversionCustomVariableService.MutateConversionCustomVariables][google.ads.googleads.v13.services.ConversionCustomVariableService.MutateConversionCustomVariables]. -======== // [ConversionCustomVariableService.MutateConversionCustomVariables][google.ads.googleads.v14.services.ConversionCustomVariableService.MutateConversionCustomVariables]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_custom_variable_service.proto message MutateConversionCustomVariablesRequest { // Required. The ID of the customer whose conversion custom variables are // being modified. @@ -117,11 +87,7 @@ message MutateConversionCustomVariablesRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_custom_variable_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_custom_variable_service.proto response_content_type = 5; } @@ -134,28 +100,16 @@ message ConversionCustomVariableOperation { oneof operation { // Create operation: No resource name is expected for the new conversion // custom variable. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_custom_variable_service.proto - google.ads.googleads.v13.resources.ConversionCustomVariable create = 1; - - // Update operation: The conversion custom variable is expected to have a - // valid resource name. - google.ads.googleads.v13.resources.ConversionCustomVariable update = 2; -======== google.ads.googleads.v14.resources.ConversionCustomVariable create = 1; // Update operation: The conversion custom variable is expected to have a // valid resource name. google.ads.googleads.v14.resources.ConversionCustomVariable update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_custom_variable_service.proto } } // Response message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_custom_variable_service.proto -// [ConversionCustomVariableService.MutateConversionCustomVariables][google.ads.googleads.v13.services.ConversionCustomVariableService.MutateConversionCustomVariables]. -======== // [ConversionCustomVariableService.MutateConversionCustomVariables][google.ads.googleads.v14.services.ConversionCustomVariableService.MutateConversionCustomVariables]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_custom_variable_service.proto message MutateConversionCustomVariablesResponse { // Errors that pertain to operation failures in the partial failure mode. // Returned only when partial_failure = true and all errors occur inside the @@ -177,10 +131,6 @@ message MutateConversionCustomVariableResult { // The mutated conversion custom variable with only mutable fields after // mutate. The field will only be returned when response_content_type is set // to "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_custom_variable_service.proto - google.ads.googleads.v13.resources.ConversionCustomVariable -======== google.ads.googleads.v14.resources.ConversionCustomVariable ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_custom_variable_service.proto conversion_custom_variable = 2; } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/conversion_goal_campaign_config_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/conversion_goal_campaign_config_service.proto index 17483a5cc..2ec8b9582 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/conversion_goal_campaign_config_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/conversion_goal_campaign_config_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_goal_campaign_config_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_goal_campaign_config_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,33 +14,16 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_goal_campaign_config_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/conversion_goal_campaign_config.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/conversion_goal_campaign_config.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_goal_campaign_config_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_goal_campaign_config_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ConversionGoalCampaignConfigServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -53,7 +32,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_goal_campaign_config_service.proto // Proto file describing the ConversionGoalCampaignConfig service. @@ -68,11 +46,7 @@ service ConversionGoalCampaignConfigService { MutateConversionGoalCampaignConfigsRequest) returns (MutateConversionGoalCampaignConfigsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_goal_campaign_config_service.proto - post: "/v13/customers/{customer_id=*}/conversionGoalCampaignConfigs:mutate" -======== post: "/v14/customers/{customer_id=*}/conversionGoalCampaignConfigs:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_goal_campaign_config_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -97,11 +71,7 @@ message MutateConversionGoalCampaignConfigsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_goal_campaign_config_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_goal_campaign_config_service.proto response_content_type = 4; } @@ -114,11 +84,7 @@ message ConversionGoalCampaignConfigOperation { oneof operation { // Update operation: The conversion goal campaign config is expected to have // a valid resource name. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_goal_campaign_config_service.proto - google.ads.googleads.v13.resources.ConversionGoalCampaignConfig update = 1; -======== google.ads.googleads.v14.resources.ConversionGoalCampaignConfig update = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_goal_campaign_config_service.proto } } @@ -138,10 +104,6 @@ message MutateConversionGoalCampaignConfigResult { // The mutated ConversionGoalCampaignConfig with only mutable fields after // mutate. The field will only be returned when response_content_type is set // to "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_goal_campaign_config_service.proto - google.ads.googleads.v13.resources.ConversionGoalCampaignConfig -======== google.ads.googleads.v14.resources.ConversionGoalCampaignConfig ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_goal_campaign_config_service.proto conversion_goal_campaign_config = 2; } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/conversion_upload_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/conversion_upload_service.proto index 765d2413b..02f68368f 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/conversion_upload_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/conversion_upload_service.proto @@ -14,33 +14,16 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_upload_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/common/offline_user_data.proto"; -import "google/ads/googleads/v12/enums/conversion_environment_enum.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/common/offline_user_data.proto"; import "google/ads/googleads/v14/enums/conversion_environment_enum.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_upload_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_upload_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ConversionUploadServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -49,7 +32,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_upload_service.proto // Service to upload conversions. service ConversionUploadService { @@ -70,11 +52,7 @@ service ConversionUploadService { rpc UploadClickConversions(UploadClickConversionsRequest) returns (UploadClickConversionsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_upload_service.proto - post: "/v12/customers/{customer_id=*}:uploadClickConversions" -======== post: "/v14/customers/{customer_id=*}:uploadClickConversions" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_upload_service.proto body: "*" }; option (google.api.method_signature) = @@ -94,11 +72,7 @@ service ConversionUploadService { rpc UploadCallConversions(UploadCallConversionsRequest) returns (UploadCallConversionsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_upload_service.proto - post: "/v12/customers/{customer_id=*}:uploadCallConversions" -======== post: "/v14/customers/{customer_id=*}:uploadCallConversions" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_upload_service.proto body: "*" }; option (google.api.method_signature) = @@ -106,12 +80,8 @@ service ConversionUploadService { } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_upload_service.proto -// Request message for [ConversionUploadService.UploadClickConversions][google.ads.googleads.v12.services.ConversionUploadService.UploadClickConversions]. -======== // Request message for // [ConversionUploadService.UploadClickConversions][google.ads.googleads.v14.services.ConversionUploadService.UploadClickConversions]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_upload_service.proto message UploadClickConversionsRequest { // Required. The ID of the customer performing the upload. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -154,12 +124,8 @@ message UploadClickConversionsRequest { bool debug_enabled = 5; } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_upload_service.proto -// Response message for [ConversionUploadService.UploadClickConversions][google.ads.googleads.v12.services.ConversionUploadService.UploadClickConversions]. -======== // Response message for // [ConversionUploadService.UploadClickConversions][google.ads.googleads.v14.services.ConversionUploadService.UploadClickConversions]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_upload_service.proto message UploadClickConversionsResponse { // Errors that pertain to conversion failures in the partial failure mode. // Returned when all errors occur inside the conversions. If any errors occur @@ -178,12 +144,8 @@ message UploadClickConversionsResponse { int64 job_id = 3; } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_upload_service.proto -// Request message for [ConversionUploadService.UploadCallConversions][google.ads.googleads.v12.services.ConversionUploadService.UploadCallConversions]. -======== // Request message for // [ConversionUploadService.UploadCallConversions][google.ads.googleads.v14.services.ConversionUploadService.UploadCallConversions]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_upload_service.proto message UploadCallConversionsRequest { // Required. The ID of the customer performing the upload. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -206,12 +168,8 @@ message UploadCallConversionsRequest { bool validate_only = 4; } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_upload_service.proto -// Response message for [ConversionUploadService.UploadCallConversions][google.ads.googleads.v12.services.ConversionUploadService.UploadCallConversions]. -======== // Response message for // [ConversionUploadService.UploadCallConversions][google.ads.googleads.v14.services.ConversionUploadService.UploadCallConversions]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_upload_service.proto message UploadCallConversionsResponse { // Errors that pertain to conversion failures in the partial failure mode. // Returned when all errors occur inside the conversions. If any errors occur @@ -276,18 +234,11 @@ message ClickConversion { // The user identifiers associated with this conversion. Only hashed_email and // hashed_phone_number are supported for conversion uploads. The maximum // number of user identifiers for each conversion is 5. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_upload_service.proto - repeated google.ads.googleads.v12.common.UserIdentifier user_identifiers = 17; - - // The environment this conversion was recorded on, for example, App or Web. - google.ads.googleads.v12.enums.ConversionEnvironmentEnum.ConversionEnvironment conversion_environment = 20; -======== repeated google.ads.googleads.v14.common.UserIdentifier user_identifiers = 17; // The environment this conversion was recorded on, for example, App or Web. google.ads.googleads.v14.enums.ConversionEnvironmentEnum.ConversionEnvironment conversion_environment = 20; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_upload_service.proto } // A call conversion. @@ -356,11 +307,7 @@ message ClickConversionResult { // The user identifiers associated with this conversion. Only hashed_email and // hashed_phone_number are supported for conversion uploads. The maximum // number of user identifiers for each conversion is 5. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_upload_service.proto - repeated google.ads.googleads.v12.common.UserIdentifier user_identifiers = 7; -======== repeated google.ads.googleads.v14.common.UserIdentifier user_identifiers = 7; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_upload_service.proto } // Identifying information for a successfully processed CallConversionUpload. diff --git a/third_party/googleapis/google/ads/googleads/v14/services/conversion_value_rule_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/conversion_value_rule_service.proto index 1121a1137..ae43b57e6 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/conversion_value_rule_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/conversion_value_rule_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_value_rule_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_value_rule_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_value_rule_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/conversion_value_rule.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/conversion_value_rule.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_value_rule_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -36,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_value_rule_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ConversionValueRuleServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -54,7 +33,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_value_rule_service.proto // Proto file describing the Conversion Value Rule service. @@ -68,11 +46,7 @@ service ConversionValueRuleService { rpc MutateConversionValueRules(MutateConversionValueRulesRequest) returns (MutateConversionValueRulesResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_value_rule_service.proto - post: "/v13/customers/{customer_id=*}/conversionValueRules:mutate" -======== post: "/v14/customers/{customer_id=*}/conversionValueRules:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_value_rule_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -80,11 +54,7 @@ service ConversionValueRuleService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_value_rule_service.proto -// [ConversionValueRuleService.MutateConversionValueRules][google.ads.googleads.v13.services.ConversionValueRuleService.MutateConversionValueRules]. -======== // [ConversionValueRuleService.MutateConversionValueRules][google.ads.googleads.v14.services.ConversionValueRuleService.MutateConversionValueRules]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_value_rule_service.proto message MutateConversionValueRulesRequest { // Required. The ID of the customer whose conversion value rules are being // modified. @@ -107,11 +77,7 @@ message MutateConversionValueRulesRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_value_rule_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_value_rule_service.proto response_content_type = 4; } @@ -124,19 +90,11 @@ message ConversionValueRuleOperation { oneof operation { // Create operation: No resource name is expected for the new conversion // value rule. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_value_rule_service.proto - google.ads.googleads.v13.resources.ConversionValueRule create = 1; - - // Update operation: The conversion value rule is expected to have a valid - // resource name. - google.ads.googleads.v13.resources.ConversionValueRule update = 2; -======== google.ads.googleads.v14.resources.ConversionValueRule create = 1; // Update operation: The conversion value rule is expected to have a valid // resource name. google.ads.googleads.v14.resources.ConversionValueRule update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_value_rule_service.proto // Remove operation: A resource name for the removed conversion value rule // is expected, in this format: @@ -149,11 +107,7 @@ message ConversionValueRuleOperation { } // Response message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_value_rule_service.proto -// [ConversionValueRuleService.MutateConversionValueRules][google.ads.googleads.v13.services.ConversionValueRuleService.MutateConversionValueRules]. -======== // [ConversionValueRuleService.MutateConversionValueRules][google.ads.googleads.v14.services.ConversionValueRuleService.MutateConversionValueRules]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_value_rule_service.proto message MutateConversionValueRulesResponse { // All results for the mutate. repeated MutateConversionValueRuleResult results = 2; @@ -175,10 +129,6 @@ message MutateConversionValueRuleResult { // The mutated conversion value rule with only mutable fields after // mutate. The field will only be returned when response_content_type is set // to "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_value_rule_service.proto - google.ads.googleads.v13.resources.ConversionValueRule conversion_value_rule = -======== google.ads.googleads.v14.resources.ConversionValueRule conversion_value_rule = ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_value_rule_service.proto 2; } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/conversion_value_rule_set_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/conversion_value_rule_set_service.proto index 3fa77d156..e7b72a4a8 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/conversion_value_rule_set_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/conversion_value_rule_set_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_value_rule_set_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_value_rule_set_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_value_rule_set_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/conversion_value_rule_set.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/conversion_value_rule_set.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_value_rule_set_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -36,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_value_rule_set_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ConversionValueRuleSetServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -54,7 +33,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_value_rule_set_service.proto // Proto file describing the Conversion Value Rule Set service. @@ -68,11 +46,7 @@ service ConversionValueRuleSetService { rpc MutateConversionValueRuleSets(MutateConversionValueRuleSetsRequest) returns (MutateConversionValueRuleSetsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_value_rule_set_service.proto - post: "/v13/customers/{customer_id=*}/conversionValueRuleSets:mutate" -======== post: "/v14/customers/{customer_id=*}/conversionValueRuleSets:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_value_rule_set_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -80,11 +54,7 @@ service ConversionValueRuleSetService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_value_rule_set_service.proto -// [ConversionValueRuleSetService.MutateConversionValueRuleSets][google.ads.googleads.v13.services.ConversionValueRuleSetService.MutateConversionValueRuleSets]. -======== // [ConversionValueRuleSetService.MutateConversionValueRuleSets][google.ads.googleads.v14.services.ConversionValueRuleSetService.MutateConversionValueRuleSets]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_value_rule_set_service.proto message MutateConversionValueRuleSetsRequest { // Required. The ID of the customer whose conversion value rule sets are being // modified. @@ -107,11 +77,7 @@ message MutateConversionValueRuleSetsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_value_rule_set_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_value_rule_set_service.proto response_content_type = 4; } @@ -124,19 +90,11 @@ message ConversionValueRuleSetOperation { oneof operation { // Create operation: No resource name is expected for the new conversion // value rule set. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_value_rule_set_service.proto - google.ads.googleads.v13.resources.ConversionValueRuleSet create = 1; - - // Update operation: The conversion value rule set is expected to have a - // valid resource name. - google.ads.googleads.v13.resources.ConversionValueRuleSet update = 2; -======== google.ads.googleads.v14.resources.ConversionValueRuleSet create = 1; // Update operation: The conversion value rule set is expected to have a // valid resource name. google.ads.googleads.v14.resources.ConversionValueRuleSet update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_value_rule_set_service.proto // Remove operation: A resource name for the removed conversion value rule // set is expected, in this format: @@ -149,11 +107,7 @@ message ConversionValueRuleSetOperation { } // Response message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_value_rule_set_service.proto -// [ConversionValueRuleSetService.MutateConversionValueRuleSets][google.ads.googleads.v13.services.ConversionValueRuleSetService.MutateConversionValueRuleSets]. -======== // [ConversionValueRuleSetService.MutateConversionValueRuleSets][google.ads.googleads.v14.services.ConversionValueRuleSetService.MutateConversionValueRuleSets]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_value_rule_set_service.proto message MutateConversionValueRuleSetsResponse { // All results for the mutate. repeated MutateConversionValueRuleSetResult results = 1; @@ -175,10 +129,6 @@ message MutateConversionValueRuleSetResult { // The mutated conversion value rule set with only mutable fields after // mutate. The field will only be returned when response_content_type is set // to "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_value_rule_set_service.proto - google.ads.googleads.v13.resources.ConversionValueRuleSet -======== google.ads.googleads.v14.resources.ConversionValueRuleSet ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/conversion_value_rule_set_service.proto conversion_value_rule_set = 2; } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/custom_audience_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/custom_audience_service.proto index 13f9cde82..d69e5df96 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/custom_audience_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/custom_audience_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/custom_audience_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/custom_audience_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,31 +14,15 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/custom_audience_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/custom_audience.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/resources/custom_audience.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/custom_audience_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/custom_audience_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomAudienceServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -51,7 +31,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/custom_audience_service.proto // Proto file describing the Custom Audience service. @@ -79,11 +58,7 @@ service CustomAudienceService { rpc MutateCustomAudiences(MutateCustomAudiencesRequest) returns (MutateCustomAudiencesResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/custom_audience_service.proto - post: "/v13/customers/{customer_id=*}/customAudiences:mutate" -======== post: "/v14/customers/{customer_id=*}/customAudiences:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/custom_audience_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -91,11 +66,7 @@ service CustomAudienceService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/custom_audience_service.proto -// [CustomAudienceService.MutateCustomAudiences][google.ads.googleads.v13.services.CustomAudienceService.MutateCustomAudiences]. -======== // [CustomAudienceService.MutateCustomAudiences][google.ads.googleads.v14.services.CustomAudienceService.MutateCustomAudiences]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/custom_audience_service.proto message MutateCustomAudiencesRequest { // Required. The ID of the customer whose custom audiences are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -118,19 +89,11 @@ message CustomAudienceOperation { oneof operation { // Create operation: No resource name is expected for the new custom // audience. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/custom_audience_service.proto - google.ads.googleads.v13.resources.CustomAudience create = 1; - - // Update operation: The custom audience is expected to have a valid - // resource name. - google.ads.googleads.v13.resources.CustomAudience update = 2; -======== google.ads.googleads.v14.resources.CustomAudience create = 1; // Update operation: The custom audience is expected to have a valid // resource name. google.ads.googleads.v14.resources.CustomAudience update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/custom_audience_service.proto // Remove operation: A resource name for the removed custom audience is // expected, in this format: diff --git a/third_party/googleapis/google/ads/googleads/v14/services/custom_conversion_goal_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/custom_conversion_goal_service.proto index a4b3b9ed7..641fbaf43 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/custom_conversion_goal_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/custom_conversion_goal_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/custom_conversion_goal_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/custom_conversion_goal_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,33 +14,16 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/custom_conversion_goal_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/custom_conversion_goal.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/custom_conversion_goal.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/custom_conversion_goal_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/custom_conversion_goal_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomConversionGoalServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -53,7 +32,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/custom_conversion_goal_service.proto // Proto file describing the CustomConversionGoal service. @@ -67,11 +45,7 @@ service CustomConversionGoalService { rpc MutateCustomConversionGoals(MutateCustomConversionGoalsRequest) returns (MutateCustomConversionGoalsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/custom_conversion_goal_service.proto - post: "/v13/customers/{customer_id=*}/customConversionGoals:mutate" -======== post: "/v14/customers/{customer_id=*}/customConversionGoals:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/custom_conversion_goal_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -79,11 +53,7 @@ service CustomConversionGoalService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/custom_conversion_goal_service.proto -// [CustomConversionGoalService.MutateCustomConversionGoals][google.ads.googleads.v13.services.CustomConversionGoalService.MutateCustomConversionGoals]. -======== // [CustomConversionGoalService.MutateCustomConversionGoals][google.ads.googleads.v14.services.CustomConversionGoalService.MutateCustomConversionGoals]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/custom_conversion_goal_service.proto message MutateCustomConversionGoalsRequest { // Required. The ID of the customer whose custom conversion goals are being // modified. @@ -100,11 +70,7 @@ message MutateCustomConversionGoalsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/custom_conversion_goal_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/custom_conversion_goal_service.proto response_content_type = 4; } @@ -117,19 +83,11 @@ message CustomConversionGoalOperation { oneof operation { // Create operation: No resource name is expected for the new custom // conversion goal -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/custom_conversion_goal_service.proto - google.ads.googleads.v13.resources.CustomConversionGoal create = 1; - - // Update operation: The custom conversion goal is expected to have a - // valid resource name. - google.ads.googleads.v13.resources.CustomConversionGoal update = 2; -======== google.ads.googleads.v14.resources.CustomConversionGoal create = 1; // Update operation: The custom conversion goal is expected to have a // valid resource name. google.ads.googleads.v14.resources.CustomConversionGoal update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/custom_conversion_goal_service.proto // Remove operation: A resource name for the removed custom conversion goal // is expected, in this format: @@ -157,10 +115,6 @@ message MutateCustomConversionGoalResult { // The mutated CustomConversionGoal with only mutable fields after mutate. // The field will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/custom_conversion_goal_service.proto - google.ads.googleads.v13.resources.CustomConversionGoal -======== google.ads.googleads.v14.resources.CustomConversionGoal ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/custom_conversion_goal_service.proto custom_conversion_goal = 2; } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/custom_interest_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/custom_interest_service.proto index 66adbf7b5..b57c2d598 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/custom_interest_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/custom_interest_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/custom_interest_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/custom_interest_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,31 +14,15 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/custom_interest_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/custom_interest.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/resources/custom_interest.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/custom_interest_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/custom_interest_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomInterestServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -51,7 +31,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/custom_interest_service.proto // Proto file describing the Custom Interest service. @@ -77,11 +56,7 @@ service CustomInterestService { rpc MutateCustomInterests(MutateCustomInterestsRequest) returns (MutateCustomInterestsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/custom_interest_service.proto - post: "/v13/customers/{customer_id=*}/customInterests:mutate" -======== post: "/v14/customers/{customer_id=*}/customInterests:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/custom_interest_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -89,11 +64,7 @@ service CustomInterestService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/custom_interest_service.proto -// [CustomInterestService.MutateCustomInterests][google.ads.googleads.v13.services.CustomInterestService.MutateCustomInterests]. -======== // [CustomInterestService.MutateCustomInterests][google.ads.googleads.v14.services.CustomInterestService.MutateCustomInterests]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/custom_interest_service.proto message MutateCustomInterestsRequest { // Required. The ID of the customer whose custom interests are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -116,19 +87,11 @@ message CustomInterestOperation { oneof operation { // Create operation: No resource name is expected for the new custom // interest. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/custom_interest_service.proto - google.ads.googleads.v13.resources.CustomInterest create = 1; - - // Update operation: The custom interest is expected to have a valid - // resource name. - google.ads.googleads.v13.resources.CustomInterest update = 2; -======== google.ads.googleads.v14.resources.CustomInterest create = 1; // Update operation: The custom interest is expected to have a valid // resource name. google.ads.googleads.v14.resources.CustomInterest update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/custom_interest_service.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/customer_asset_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/customer_asset_service.proto index b5e1778f5..e62b6aecb 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/customer_asset_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/customer_asset_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_asset_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_asset_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_asset_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/customer_asset.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/customer_asset.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_asset_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -36,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_asset_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerAssetServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -54,7 +33,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_asset_service.proto // Proto file describing the CustomerAsset service. @@ -79,11 +57,7 @@ service CustomerAssetService { rpc MutateCustomerAssets(MutateCustomerAssetsRequest) returns (MutateCustomerAssetsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_asset_service.proto - post: "/v13/customers/{customer_id=*}/customerAssets:mutate" -======== post: "/v14/customers/{customer_id=*}/customerAssets:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_asset_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -91,11 +65,7 @@ service CustomerAssetService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_asset_service.proto -// [CustomerAssetService.MutateCustomerAssets][google.ads.googleads.v13.services.CustomerAssetService.MutateCustomerAssets]. -======== // [CustomerAssetService.MutateCustomerAssets][google.ads.googleads.v14.services.CustomerAssetService.MutateCustomerAssets]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_asset_service.proto message MutateCustomerAssetsRequest { // Required. The ID of the customer whose customer assets are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -116,11 +86,7 @@ message MutateCustomerAssetsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_asset_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_asset_service.proto response_content_type = 5; } @@ -133,19 +99,11 @@ message CustomerAssetOperation { oneof operation { // Create operation: No resource name is expected for the new customer // asset. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_asset_service.proto - google.ads.googleads.v13.resources.CustomerAsset create = 1; - - // Update operation: The customer asset is expected to have a valid resource - // name. - google.ads.googleads.v13.resources.CustomerAsset update = 3; -======== google.ads.googleads.v14.resources.CustomerAsset create = 1; // Update operation: The customer asset is expected to have a valid resource // name. google.ads.googleads.v14.resources.CustomerAsset update = 3; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_asset_service.proto // Remove operation: A resource name for the removed customer asset is // expected, in this format: @@ -179,9 +137,5 @@ message MutateCustomerAssetResult { // The mutated customer asset with only mutable fields after // mutate. The field will only be returned when response_content_type is set // to "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_asset_service.proto - google.ads.googleads.v13.resources.CustomerAsset customer_asset = 2; -======== google.ads.googleads.v14.resources.CustomerAsset customer_asset = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_asset_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/customer_client_link_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/customer_client_link_service.proto index 2c42b40e9..5993ec97f 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/customer_client_link_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/customer_client_link_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_client_link_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_client_link_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,31 +14,15 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_client_link_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/customer_client_link.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/resources/customer_client_link.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_client_link_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_client_link_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerClientLinkServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -51,7 +31,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_client_link_service.proto // Service to manage customer client links. service CustomerClientLinkService { @@ -76,11 +55,7 @@ service CustomerClientLinkService { rpc MutateCustomerClientLink(MutateCustomerClientLinkRequest) returns (MutateCustomerClientLinkResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_client_link_service.proto - post: "/v13/customers/{customer_id=*}/customerClientLinks:mutate" -======== post: "/v14/customers/{customer_id=*}/customerClientLinks:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_client_link_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operation"; @@ -88,11 +63,7 @@ service CustomerClientLinkService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_client_link_service.proto -// [CustomerClientLinkService.MutateCustomerClientLink][google.ads.googleads.v13.services.CustomerClientLinkService.MutateCustomerClientLink]. -======== // [CustomerClientLinkService.MutateCustomerClientLink][google.ads.googleads.v14.services.CustomerClientLinkService.MutateCustomerClientLink]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_client_link_service.proto message MutateCustomerClientLinkRequest { // Required. The ID of the customer whose customer link are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -114,17 +85,10 @@ message CustomerClientLinkOperation { // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new link. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_client_link_service.proto - google.ads.googleads.v13.resources.CustomerClientLink create = 1; - - // Update operation: The link is expected to have a valid resource name. - google.ads.googleads.v13.resources.CustomerClientLink update = 2; -======== google.ads.googleads.v14.resources.CustomerClientLink create = 1; // Update operation: The link is expected to have a valid resource name. google.ads.googleads.v14.resources.CustomerClientLink update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_client_link_service.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/customer_conversion_goal_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/customer_conversion_goal_service.proto index 7373c7c5a..8913ffb74 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/customer_conversion_goal_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/customer_conversion_goal_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_conversion_goal_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_conversion_goal_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,31 +14,15 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_conversion_goal_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/customer_conversion_goal.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/resources/customer_conversion_goal.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_conversion_goal_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_conversion_goal_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerConversionGoalServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -51,7 +31,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_conversion_goal_service.proto // Proto file describing the CustomerConversionGoal service. @@ -65,11 +44,7 @@ service CustomerConversionGoalService { rpc MutateCustomerConversionGoals(MutateCustomerConversionGoalsRequest) returns (MutateCustomerConversionGoalsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_conversion_goal_service.proto - post: "/v13/customers/{customer_id=*}/customerConversionGoals:mutate" -======== post: "/v14/customers/{customer_id=*}/customerConversionGoals:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_conversion_goal_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -77,11 +52,7 @@ service CustomerConversionGoalService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_conversion_goal_service.proto -// [CustomerConversionGoalService.MutateCustomerConversionGoals][google.ads.googleads.v13.services.CustomerConversionGoalService.MutateCustomerConversionGoals]. -======== // [CustomerConversionGoalService.MutateCustomerConversionGoals][google.ads.googleads.v14.services.CustomerConversionGoalService.MutateCustomerConversionGoals]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_conversion_goal_service.proto message MutateCustomerConversionGoalsRequest { // Required. The ID of the customer whose customer conversion goals are being // modified. @@ -106,11 +77,7 @@ message CustomerConversionGoalOperation { oneof operation { // Update operation: The customer conversion goal is expected to have a // valid resource name. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_conversion_goal_service.proto - google.ads.googleads.v13.resources.CustomerConversionGoal update = 1; -======== google.ads.googleads.v14.resources.CustomerConversionGoal update = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_conversion_goal_service.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/customer_customizer_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/customer_customizer_service.proto index d9d4434a2..6fceed14d 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/customer_customizer_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/customer_customizer_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_customizer_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_customizer_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,33 +14,16 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_customizer_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/customer_customizer.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/customer_customizer.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_customizer_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_customizer_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerCustomizerServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -53,7 +32,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_customizer_service.proto // Proto file describing the CustomerCustomizer service. @@ -67,11 +45,7 @@ service CustomerCustomizerService { rpc MutateCustomerCustomizers(MutateCustomerCustomizersRequest) returns (MutateCustomerCustomizersResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_customizer_service.proto - post: "/v13/customers/{customer_id=*}/CustomerCustomizers:mutate" -======== post: "/v14/customers/{customer_id=*}/CustomerCustomizers:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_customizer_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -79,11 +53,7 @@ service CustomerCustomizerService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_customizer_service.proto -// [CustomerCustomizerService.MutateCustomerCustomizers][google.ads.googleads.v13.services.CustomerCustomizerService.MutateCustomerCustomizers]. -======== // [CustomerCustomizerService.MutateCustomerCustomizers][google.ads.googleads.v14.services.CustomerCustomizerService.MutateCustomerCustomizers]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_customizer_service.proto message MutateCustomerCustomizersRequest { // Required. The ID of the customer whose customer customizers are being // modified. @@ -106,11 +76,7 @@ message MutateCustomerCustomizersRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_customizer_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_customizer_service.proto response_content_type = 5; } @@ -120,11 +86,7 @@ message CustomerCustomizerOperation { oneof operation { // Create operation: No resource name is expected for the new customer // customizer -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_customizer_service.proto - google.ads.googleads.v13.resources.CustomerCustomizer create = 1; -======== google.ads.googleads.v14.resources.CustomerCustomizer create = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_customizer_service.proto // Remove operation: A resource name for the removed customer customizer is // expected, in this format: @@ -157,9 +119,5 @@ message MutateCustomerCustomizerResult { // The mutated CustomerCustomizer with only mutable fields after mutate. // The field will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_customizer_service.proto - google.ads.googleads.v13.resources.CustomerCustomizer customer_customizer = 2; -======== google.ads.googleads.v14.resources.CustomerCustomizer customer_customizer = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_customizer_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/customer_extension_setting_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/customer_extension_setting_service.proto index 050b98452..86680b975 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/customer_extension_setting_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/customer_extension_setting_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_extension_setting_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_extension_setting_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_extension_setting_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/customer_extension_setting.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/customer_extension_setting.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_extension_setting_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -36,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_extension_setting_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerExtensionSettingServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -54,7 +33,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_extension_setting_service.proto // Proto file describing the CustomerExtensionSetting service. @@ -95,11 +73,7 @@ service CustomerExtensionSettingService { rpc MutateCustomerExtensionSettings(MutateCustomerExtensionSettingsRequest) returns (MutateCustomerExtensionSettingsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_extension_setting_service.proto - post: "/v13/customers/{customer_id=*}/customerExtensionSettings:mutate" -======== post: "/v14/customers/{customer_id=*}/customerExtensionSettings:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_extension_setting_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -107,11 +81,7 @@ service CustomerExtensionSettingService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_extension_setting_service.proto -// [CustomerExtensionSettingService.MutateCustomerExtensionSettings][google.ads.googleads.v13.services.CustomerExtensionSettingService.MutateCustomerExtensionSettings]. -======== // [CustomerExtensionSettingService.MutateCustomerExtensionSettings][google.ads.googleads.v14.services.CustomerExtensionSettingService.MutateCustomerExtensionSettings]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_extension_setting_service.proto message MutateCustomerExtensionSettingsRequest { // Required. The ID of the customer whose customer extension settings are // being modified. @@ -134,11 +104,7 @@ message MutateCustomerExtensionSettingsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_extension_setting_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_extension_setting_service.proto response_content_type = 5; } @@ -151,19 +117,11 @@ message CustomerExtensionSettingOperation { oneof operation { // Create operation: No resource name is expected for the new customer // extension setting. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_extension_setting_service.proto - google.ads.googleads.v13.resources.CustomerExtensionSetting create = 1; - - // Update operation: The customer extension setting is expected to have a - // valid resource name. - google.ads.googleads.v13.resources.CustomerExtensionSetting update = 2; -======== google.ads.googleads.v14.resources.CustomerExtensionSetting create = 1; // Update operation: The customer extension setting is expected to have a // valid resource name. google.ads.googleads.v14.resources.CustomerExtensionSetting update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_extension_setting_service.proto // Remove operation: A resource name for the removed customer extension // setting is expected, in this format: @@ -197,10 +155,6 @@ message MutateCustomerExtensionSettingResult { // The mutated CustomerExtensionSetting with only mutable fields after mutate. // The field will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_extension_setting_service.proto - google.ads.googleads.v13.resources.CustomerExtensionSetting -======== google.ads.googleads.v14.resources.CustomerExtensionSetting ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_extension_setting_service.proto customer_extension_setting = 2; } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/customer_feed_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/customer_feed_service.proto index 82b3c9fe6..4094a05ed 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/customer_feed_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/customer_feed_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_feed_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_feed_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_feed_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/customer_feed.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/customer_feed.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_feed_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -36,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_feed_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerFeedServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -54,7 +33,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_feed_service.proto // Proto file describing the CustomerFeed service. @@ -92,11 +70,7 @@ service CustomerFeedService { rpc MutateCustomerFeeds(MutateCustomerFeedsRequest) returns (MutateCustomerFeedsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_feed_service.proto - post: "/v13/customers/{customer_id=*}/customerFeeds:mutate" -======== post: "/v14/customers/{customer_id=*}/customerFeeds:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_feed_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -104,11 +78,7 @@ service CustomerFeedService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_feed_service.proto -// [CustomerFeedService.MutateCustomerFeeds][google.ads.googleads.v13.services.CustomerFeedService.MutateCustomerFeeds]. -======== // [CustomerFeedService.MutateCustomerFeeds][google.ads.googleads.v14.services.CustomerFeedService.MutateCustomerFeeds]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_feed_service.proto message MutateCustomerFeedsRequest { // Required. The ID of the customer whose customer feeds are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -129,11 +99,7 @@ message MutateCustomerFeedsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_feed_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_feed_service.proto response_content_type = 5; } @@ -145,19 +111,11 @@ message CustomerFeedOperation { // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new customer feed. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_feed_service.proto - google.ads.googleads.v13.resources.CustomerFeed create = 1; - - // Update operation: The customer feed is expected to have a valid resource - // name. - google.ads.googleads.v13.resources.CustomerFeed update = 2; -======== google.ads.googleads.v14.resources.CustomerFeed create = 1; // Update operation: The customer feed is expected to have a valid resource // name. google.ads.googleads.v14.resources.CustomerFeed update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_feed_service.proto // Remove operation: A resource name for the removed customer feed is // expected, in this format: @@ -191,9 +149,5 @@ message MutateCustomerFeedResult { // The mutated customer feed with only mutable fields after mutate. The field // will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_feed_service.proto - google.ads.googleads.v13.resources.CustomerFeed customer_feed = 2; -======== google.ads.googleads.v14.resources.CustomerFeed customer_feed = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_feed_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/customer_label_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/customer_label_service.proto index e01be5c33..37f835483 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/customer_label_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/customer_label_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_label_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_label_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,31 +14,15 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_label_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/customer_label.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/resources/customer_label.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_label_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_label_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerLabelServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -51,7 +31,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_label_service.proto // Proto file describing the Customer Label service. @@ -76,11 +55,7 @@ service CustomerLabelService { rpc MutateCustomerLabels(MutateCustomerLabelsRequest) returns (MutateCustomerLabelsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_label_service.proto - post: "/v13/customers/{customer_id=*}/customerLabels:mutate" -======== post: "/v14/customers/{customer_id=*}/customerLabels:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_label_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -88,11 +63,7 @@ service CustomerLabelService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_label_service.proto -// [CustomerLabelService.MutateCustomerLabels][google.ads.googleads.v13.services.CustomerLabelService.MutateCustomerLabels]. -======== // [CustomerLabelService.MutateCustomerLabels][google.ads.googleads.v14.services.CustomerLabelService.MutateCustomerLabels]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_label_service.proto message MutateCustomerLabelsRequest { // Required. ID of the customer whose customer-label relationships are being // modified. @@ -120,11 +91,7 @@ message CustomerLabelOperation { oneof operation { // Create operation: No resource name is expected for the new customer-label // relationship. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_label_service.proto - google.ads.googleads.v13.resources.CustomerLabel create = 1; -======== google.ads.googleads.v14.resources.CustomerLabel create = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_label_service.proto // Remove operation: A resource name for the customer-label relationship // being removed, in this format: diff --git a/third_party/googleapis/google/ads/googleads/v14/services/customer_manager_link_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/customer_manager_link_service.proto index 46527041c..0740c0691 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/customer_manager_link_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/customer_manager_link_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_manager_link_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_manager_link_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,31 +14,15 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_manager_link_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/customer_manager_link.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/resources/customer_manager_link.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_manager_link_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_manager_link_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerManagerLinkServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -51,7 +31,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_manager_link_service.proto // Service to manage customer-manager links. service CustomerManagerLinkService { @@ -75,11 +54,7 @@ service CustomerManagerLinkService { rpc MutateCustomerManagerLink(MutateCustomerManagerLinkRequest) returns (MutateCustomerManagerLinkResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_manager_link_service.proto - post: "/v13/customers/{customer_id=*}/customerManagerLinks:mutate" -======== post: "/v14/customers/{customer_id=*}/customerManagerLinks:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_manager_link_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -104,11 +79,7 @@ service CustomerManagerLinkService { rpc MoveManagerLink(MoveManagerLinkRequest) returns (MoveManagerLinkResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_manager_link_service.proto - post: "/v13/customers/{customer_id=*}/customerManagerLinks:moveManagerLink" -======== post: "/v14/customers/{customer_id=*}/customerManagerLinks:moveManagerLink" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_manager_link_service.proto body: "*" }; option (google.api.method_signature) = @@ -117,11 +88,7 @@ service CustomerManagerLinkService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_manager_link_service.proto -// [CustomerManagerLinkService.MutateCustomerManagerLink][google.ads.googleads.v13.services.CustomerManagerLinkService.MutateCustomerManagerLink]. -======== // [CustomerManagerLinkService.MutateCustomerManagerLink][google.ads.googleads.v14.services.CustomerManagerLinkService.MutateCustomerManagerLink]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_manager_link_service.proto message MutateCustomerManagerLinkRequest { // Required. The ID of the customer whose customer manager links are being // modified. @@ -138,11 +105,7 @@ message MutateCustomerManagerLinkRequest { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_manager_link_service.proto -// [CustomerManagerLinkService.MoveManagerLink][google.ads.googleads.v13.services.CustomerManagerLinkService.MoveManagerLink]. -======== // [CustomerManagerLinkService.MoveManagerLink][google.ads.googleads.v14.services.CustomerManagerLinkService.MoveManagerLink]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_manager_link_service.proto message MoveManagerLinkRequest { // Required. The ID of the client customer that is being moved. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -175,11 +138,7 @@ message CustomerManagerLinkOperation { // The mutate operation. oneof operation { // Update operation: The link is expected to have a valid resource name. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_manager_link_service.proto - google.ads.googleads.v13.resources.CustomerManagerLink update = 2; -======== google.ads.googleads.v14.resources.CustomerManagerLink update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_manager_link_service.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/customer_negative_criterion_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/customer_negative_criterion_service.proto index f6de29829..085d65e02 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/customer_negative_criterion_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/customer_negative_criterion_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_negative_criterion_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_negative_criterion_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,33 +14,16 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_negative_criterion_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/customer_negative_criterion.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/customer_negative_criterion.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_negative_criterion_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_negative_criterion_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerNegativeCriterionServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -53,7 +32,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_negative_criterion_service.proto // Proto file describing the Customer Negative Criterion service. @@ -78,11 +56,7 @@ service CustomerNegativeCriterionService { rpc MutateCustomerNegativeCriteria(MutateCustomerNegativeCriteriaRequest) returns (MutateCustomerNegativeCriteriaResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_negative_criterion_service.proto - post: "/v13/customers/{customer_id=*}/customerNegativeCriteria:mutate" -======== post: "/v14/customers/{customer_id=*}/customerNegativeCriteria:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_negative_criterion_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -90,11 +64,7 @@ service CustomerNegativeCriterionService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_negative_criterion_service.proto -// [CustomerNegativeCriterionService.MutateCustomerNegativeCriteria][google.ads.googleads.v13.services.CustomerNegativeCriterionService.MutateCustomerNegativeCriteria]. -======== // [CustomerNegativeCriterionService.MutateCustomerNegativeCriteria][google.ads.googleads.v14.services.CustomerNegativeCriterionService.MutateCustomerNegativeCriteria]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_negative_criterion_service.proto message MutateCustomerNegativeCriteriaRequest { // Required. The ID of the customer whose criteria are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -115,11 +85,7 @@ message MutateCustomerNegativeCriteriaRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_negative_criterion_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_negative_criterion_service.proto response_content_type = 5; } @@ -128,11 +94,7 @@ message CustomerNegativeCriterionOperation { // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new criterion. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_negative_criterion_service.proto - google.ads.googleads.v13.resources.CustomerNegativeCriterion create = 1; -======== google.ads.googleads.v14.resources.CustomerNegativeCriterion create = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_negative_criterion_service.proto // Remove operation: A resource name for the removed criterion is expected, // in this format: @@ -165,10 +127,6 @@ message MutateCustomerNegativeCriteriaResult { // The mutated criterion with only mutable fields after mutate. The field will // only be returned when response_content_type is set to "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_negative_criterion_service.proto - google.ads.googleads.v13.resources.CustomerNegativeCriterion -======== google.ads.googleads.v14.resources.CustomerNegativeCriterion ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_negative_criterion_service.proto customer_negative_criterion = 2; } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/customer_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/customer_service.proto index 700c447fa..f05414760 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/customer_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/customer_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,35 +14,17 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/access_role.proto"; -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/customer.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/access_role.proto"; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/customer.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -55,7 +33,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_service.proto // Proto file describing the Customer service. @@ -78,11 +55,7 @@ service CustomerService { // [UrlFieldError]() rpc MutateCustomer(MutateCustomerRequest) returns (MutateCustomerResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_service.proto - post: "/v13/customers/{customer_id=*}:mutate" -======== post: "/v14/customers/{customer_id=*}:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operation"; @@ -101,11 +74,7 @@ service CustomerService { rpc ListAccessibleCustomers(ListAccessibleCustomersRequest) returns (ListAccessibleCustomersResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_service.proto - get: "/v13/customers:listAccessibleCustomers" -======== get: "/v14/customers:listAccessibleCustomers" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_service.proto }; } @@ -126,11 +95,7 @@ service CustomerService { rpc CreateCustomerClient(CreateCustomerClientRequest) returns (CreateCustomerClientResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_service.proto - post: "/v13/customers/{customer_id=*}:createCustomerClient" -======== post: "/v14/customers/{customer_id=*}:createCustomerClient" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,customer_client"; @@ -138,11 +103,7 @@ service CustomerService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_service.proto -// [CustomerService.MutateCustomer][google.ads.googleads.v13.services.CustomerService.MutateCustomer]. -======== // [CustomerService.MutateCustomer][google.ads.googleads.v14.services.CustomerService.MutateCustomer]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_service.proto message MutateCustomerRequest { // Required. The ID of the customer being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -156,20 +117,12 @@ message MutateCustomerRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_service.proto response_content_type = 6; } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_service.proto -// [CustomerService.CreateCustomerClient][google.ads.googleads.v13.services.CustomerService.CreateCustomerClient]. -======== // [CustomerService.CreateCustomerClient][google.ads.googleads.v14.services.CustomerService.CreateCustomerClient]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_service.proto message CreateCustomerClientRequest { // Required. The ID of the Manager under whom client customer is being // created. @@ -177,11 +130,7 @@ message CreateCustomerClientRequest { // Required. The new client customer to create. The resource name on this // customer will be ignored. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_service.proto - google.ads.googleads.v13.resources.Customer customer_client = 2 -======== google.ads.googleads.v14.resources.Customer customer_client = 2 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_service.proto [(google.api.field_behavior) = REQUIRED]; // Email address of the user who should be invited on the created client @@ -190,11 +139,7 @@ message CreateCustomerClientRequest { // The proposed role of user on the created client customer. // Accessible only to customers on the allow-list. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_service.proto - google.ads.googleads.v13.enums.AccessRoleEnum.AccessRole access_role = 4; -======== google.ads.googleads.v14.enums.AccessRoleEnum.AccessRole access_role = 4; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_service.proto // If true, the request is validated but not executed. Only errors are // returned, not results. @@ -204,11 +149,7 @@ message CreateCustomerClientRequest { // A single update on a customer. message CustomerOperation { // Mutate operation. Only updates are supported for customer. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_service.proto - google.ads.googleads.v13.resources.Customer update = 1; -======== google.ads.googleads.v14.resources.Customer update = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_service.proto // FieldMask that determines which resource fields are modified in an update. google.protobuf.FieldMask update_mask = 2; @@ -242,17 +183,6 @@ message MutateCustomerResult { // The mutated customer with only mutable fields after mutate. The fields will // only be returned when response_content_type is set to "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_service.proto - google.ads.googleads.v13.resources.Customer customer = 2; -} - -// Request message for -// [CustomerService.ListAccessibleCustomers][google.ads.googleads.v13.services.CustomerService.ListAccessibleCustomers]. -message ListAccessibleCustomersRequest {} - -// Response message for -// [CustomerService.ListAccessibleCustomers][google.ads.googleads.v13.services.CustomerService.ListAccessibleCustomers]. -======== google.ads.googleads.v14.resources.Customer customer = 2; } @@ -262,7 +192,6 @@ message ListAccessibleCustomersRequest {} // Response message for // [CustomerService.ListAccessibleCustomers][google.ads.googleads.v14.services.CustomerService.ListAccessibleCustomers]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_service.proto message ListAccessibleCustomersResponse { // Resource name of customers directly accessible by the // user authenticating the call. diff --git a/third_party/googleapis/google/ads/googleads/v14/services/customer_user_access_invitation_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/customer_user_access_invitation_service.proto index 5f6c9c221..f35fcdce7 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/customer_user_access_invitation_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/customer_user_access_invitation_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_user_access_invitation_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_user_access_invitation_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,30 +14,14 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_user_access_invitation_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/customer_user_access_invitation.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/resources/customer_user_access_invitation.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_user_access_invitation_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_user_access_invitation_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerUserAccessInvitationServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -50,7 +30,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_user_access_invitation_service.proto // Proto file describing the CustomerUserAccessInvitation service. @@ -74,11 +53,7 @@ service CustomerUserAccessInvitationService { MutateCustomerUserAccessInvitationRequest) returns (MutateCustomerUserAccessInvitationResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_user_access_invitation_service.proto - post: "/v13/customers/{customer_id=*}/customerUserAccessInvitations:mutate" -======== post: "/v14/customers/{customer_id=*}/customerUserAccessInvitations:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_user_access_invitation_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operation"; @@ -86,11 +61,7 @@ service CustomerUserAccessInvitationService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_user_access_invitation_service.proto -// [CustomerUserAccessInvitation.MutateCustomerUserAccessInvitation][] -======== // [CustomerUserAccessInvitationService.MutateCustomerUserAccessInvitation][google.ads.googleads.v14.services.CustomerUserAccessInvitationService.MutateCustomerUserAccessInvitation] ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_user_access_invitation_service.proto message MutateCustomerUserAccessInvitationRequest { // Required. The ID of the customer whose access invitation is being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -106,11 +77,7 @@ message CustomerUserAccessInvitationOperation { oneof operation { // Create operation: No resource name is expected for the new access // invitation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_user_access_invitation_service.proto - google.ads.googleads.v13.resources.CustomerUserAccessInvitation create = 1; -======== google.ads.googleads.v14.resources.CustomerUserAccessInvitation create = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_user_access_invitation_service.proto // Remove operation: A resource name for the revoke invitation is // expected, in this format: diff --git a/third_party/googleapis/google/ads/googleads/v14/services/customer_user_access_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/customer_user_access_service.proto index 1bd642798..6aacb050a 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/customer_user_access_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/customer_user_access_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_user_access_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_user_access_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,31 +14,15 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_user_access_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/customer_user_access.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/resources/customer_user_access.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_user_access_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_user_access_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerUserAccessServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -51,7 +31,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_user_access_service.proto // This service manages the permissions of a user on a given customer. service CustomerUserAccessService { @@ -74,11 +53,7 @@ service CustomerUserAccessService { rpc MutateCustomerUserAccess(MutateCustomerUserAccessRequest) returns (MutateCustomerUserAccessResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_user_access_service.proto - post: "/v13/customers/{customer_id=*}/customerUserAccesses:mutate" -======== post: "/v14/customers/{customer_id=*}/customerUserAccesses:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_user_access_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operation"; @@ -86,11 +61,7 @@ service CustomerUserAccessService { } // Mutate Request for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_user_access_service.proto -// [CustomerUserAccessService.MutateCustomerUserAccess][google.ads.googleads.v13.services.CustomerUserAccessService.MutateCustomerUserAccess]. -======== // [CustomerUserAccessService.MutateCustomerUserAccess][google.ads.googleads.v14.services.CustomerUserAccessService.MutateCustomerUserAccess]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_user_access_service.proto message MutateCustomerUserAccessRequest { // Required. The ID of the customer being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -109,11 +80,7 @@ message CustomerUserAccessOperation { oneof operation { // Update operation: The customer user access is expected to have a valid // resource name. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customer_user_access_service.proto - google.ads.googleads.v13.resources.CustomerUserAccess update = 1; -======== google.ads.googleads.v14.resources.CustomerUserAccess update = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customer_user_access_service.proto // Remove operation: A resource name for the removed access is // expected, in this format: diff --git a/third_party/googleapis/google/ads/googleads/v14/services/customizer_attribute_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/customizer_attribute_service.proto index 61f54e1b9..03b22c83e 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/customizer_attribute_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/customizer_attribute_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customizer_attribute_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customizer_attribute_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customizer_attribute_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/customizer_attribute.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/customizer_attribute.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customizer_attribute_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -36,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customizer_attribute_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomizerAttributeServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -54,7 +33,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customizer_attribute_service.proto // Proto file describing the CustomizerAttribute service. @@ -68,11 +46,7 @@ service CustomizerAttributeService { rpc MutateCustomizerAttributes(MutateCustomizerAttributesRequest) returns (MutateCustomizerAttributesResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customizer_attribute_service.proto - post: "/v13/customers/{customer_id=*}/customizerAttributes:mutate" -======== post: "/v14/customers/{customer_id=*}/customizerAttributes:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customizer_attribute_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -80,11 +54,7 @@ service CustomizerAttributeService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customizer_attribute_service.proto -// [CustomizerAttributeService.MutateCustomizerAttributes][google.ads.googleads.v13.services.CustomizerAttributeService.MutateCustomizerAttributes]. -======== // [CustomizerAttributeService.MutateCustomizerAttributes][google.ads.googleads.v14.services.CustomizerAttributeService.MutateCustomizerAttributes]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customizer_attribute_service.proto message MutateCustomizerAttributesRequest { // Required. The ID of the customer whose customizer attributes are being // modified. @@ -107,11 +77,7 @@ message MutateCustomizerAttributesRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customizer_attribute_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customizer_attribute_service.proto response_content_type = 5; } @@ -124,11 +90,7 @@ message CustomizerAttributeOperation { oneof operation { // Create operation: No resource name is expected for the new customizer // attribute -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customizer_attribute_service.proto - google.ads.googleads.v13.resources.CustomizerAttribute create = 1; -======== google.ads.googleads.v14.resources.CustomizerAttribute create = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customizer_attribute_service.proto // Remove operation: A resource name for the removed customizer attribute is // expected, in this format: @@ -161,10 +123,6 @@ message MutateCustomizerAttributeResult { // The mutated CustomizerAttribute with only mutable fields after mutate. // The field will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/customizer_attribute_service.proto - google.ads.googleads.v13.resources.CustomizerAttribute customizer_attribute = -======== google.ads.googleads.v14.resources.CustomizerAttribute customizer_attribute = ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/customizer_attribute_service.proto 2; } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/extension_feed_item_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/extension_feed_item_service.proto index 03fa2990a..e61083da9 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/extension_feed_item_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/extension_feed_item_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/extension_feed_item_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/extension_feed_item_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/extension_feed_item_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/extension_feed_item.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/extension_feed_item.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/extension_feed_item_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -36,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/extension_feed_item_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ExtensionFeedItemServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -54,7 +33,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/extension_feed_item_service.proto // Proto file describing the ExtensionFeedItem service. @@ -93,11 +71,7 @@ service ExtensionFeedItemService { rpc MutateExtensionFeedItems(MutateExtensionFeedItemsRequest) returns (MutateExtensionFeedItemsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/extension_feed_item_service.proto - post: "/v13/customers/{customer_id=*}/extensionFeedItems:mutate" -======== post: "/v14/customers/{customer_id=*}/extensionFeedItems:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/extension_feed_item_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -105,11 +79,7 @@ service ExtensionFeedItemService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/extension_feed_item_service.proto -// [ExtensionFeedItemService.MutateExtensionFeedItems][google.ads.googleads.v13.services.ExtensionFeedItemService.MutateExtensionFeedItems]. -======== // [ExtensionFeedItemService.MutateExtensionFeedItems][google.ads.googleads.v14.services.ExtensionFeedItemService.MutateExtensionFeedItems]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/extension_feed_item_service.proto message MutateExtensionFeedItemsRequest { // Required. The ID of the customer whose extension feed items are being // modified. @@ -132,11 +102,7 @@ message MutateExtensionFeedItemsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/extension_feed_item_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/extension_feed_item_service.proto response_content_type = 5; } @@ -149,19 +115,11 @@ message ExtensionFeedItemOperation { oneof operation { // Create operation: No resource name is expected for the new extension // feed item. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/extension_feed_item_service.proto - google.ads.googleads.v13.resources.ExtensionFeedItem create = 1; - - // Update operation: The extension feed item is expected to have a - // valid resource name. - google.ads.googleads.v13.resources.ExtensionFeedItem update = 2; -======== google.ads.googleads.v14.resources.ExtensionFeedItem create = 1; // Update operation: The extension feed item is expected to have a // valid resource name. google.ads.googleads.v14.resources.ExtensionFeedItem update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/extension_feed_item_service.proto // Remove operation: A resource name for the removed extension feed item // is expected, in this format: @@ -195,9 +153,5 @@ message MutateExtensionFeedItemResult { // The mutated extension feed item with only mutable fields after mutate. The // field will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/extension_feed_item_service.proto - google.ads.googleads.v13.resources.ExtensionFeedItem extension_feed_item = 2; -======== google.ads.googleads.v14.resources.ExtensionFeedItem extension_feed_item = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/extension_feed_item_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/feed_item_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/feed_item_service.proto index 78b5a0634..62612beda 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/feed_item_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/feed_item_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/feed_item_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/feed_item_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/feed_item_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/feed_item.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/feed_item.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/feed_item_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -36,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/feed_item_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -54,7 +33,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/feed_item_service.proto // Proto file describing the FeedItem service. @@ -95,11 +73,7 @@ service FeedItemService { rpc MutateFeedItems(MutateFeedItemsRequest) returns (MutateFeedItemsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/feed_item_service.proto - post: "/v13/customers/{customer_id=*}/feedItems:mutate" -======== post: "/v14/customers/{customer_id=*}/feedItems:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/feed_item_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -107,11 +81,7 @@ service FeedItemService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/feed_item_service.proto -// [FeedItemService.MutateFeedItems][google.ads.googleads.v13.services.FeedItemService.MutateFeedItems]. -======== // [FeedItemService.MutateFeedItems][google.ads.googleads.v14.services.FeedItemService.MutateFeedItems]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/feed_item_service.proto message MutateFeedItemsRequest { // Required. The ID of the customer whose feed items are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -132,11 +102,7 @@ message MutateFeedItemsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/feed_item_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/feed_item_service.proto response_content_type = 5; } @@ -148,19 +114,11 @@ message FeedItemOperation { // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new feed item. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/feed_item_service.proto - google.ads.googleads.v13.resources.FeedItem create = 1; - - // Update operation: The feed item is expected to have a valid resource - // name. - google.ads.googleads.v13.resources.FeedItem update = 2; -======== google.ads.googleads.v14.resources.FeedItem create = 1; // Update operation: The feed item is expected to have a valid resource // name. google.ads.googleads.v14.resources.FeedItem update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/feed_item_service.proto // Remove operation: A resource name for the removed feed item is // expected, in this format: @@ -193,9 +151,5 @@ message MutateFeedItemResult { // The mutated feed item with only mutable fields after mutate. The field will // only be returned when response_content_type is set to "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/feed_item_service.proto - google.ads.googleads.v13.resources.FeedItem feed_item = 2; -======== google.ads.googleads.v14.resources.FeedItem feed_item = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/feed_item_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/feed_item_set_link_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/feed_item_set_link_service.proto index 416215228..b270076f9 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/feed_item_set_link_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/feed_item_set_link_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/feed_item_set_link_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/feed_item_set_link_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,31 +14,15 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/feed_item_set_link_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/feed_item_set_link.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/resources/feed_item_set_link.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/feed_item_set_link_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/feed_item_set_link_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemSetLinkServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -51,7 +31,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/feed_item_set_link_service.proto // Proto file describing the FeedItemSetLink service. @@ -72,11 +51,7 @@ service FeedItemSetLinkService { rpc MutateFeedItemSetLinks(MutateFeedItemSetLinksRequest) returns (MutateFeedItemSetLinksResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/feed_item_set_link_service.proto - post: "/v13/customers/{customer_id=*}/feedItemSetLinks:mutate" -======== post: "/v14/customers/{customer_id=*}/feedItemSetLinks:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/feed_item_set_link_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -84,11 +59,7 @@ service FeedItemSetLinkService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/feed_item_set_link_service.proto -// [FeedItemSetLinkService.MutateFeedItemSetLinks][google.ads.googleads.v13.services.FeedItemSetLinkService.MutateFeedItemSetLinks]. -======== // [FeedItemSetLinkService.MutateFeedItemSetLinks][google.ads.googleads.v14.services.FeedItemSetLinkService.MutateFeedItemSetLinks]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/feed_item_set_link_service.proto message MutateFeedItemSetLinksRequest { // Required. The ID of the customer whose feed item set links are being // modified. @@ -116,11 +87,7 @@ message FeedItemSetLinkOperation { oneof operation { // Create operation: No resource name is expected for the // new feed item set link. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/feed_item_set_link_service.proto - google.ads.googleads.v13.resources.FeedItemSetLink create = 1; -======== google.ads.googleads.v14.resources.FeedItemSetLink create = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/feed_item_set_link_service.proto // Remove operation: A resource name for the removed feed item set link is // expected, in this format: diff --git a/third_party/googleapis/google/ads/googleads/v14/services/feed_item_set_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/feed_item_set_service.proto index e5dd31d4c..8733124a2 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/feed_item_set_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/feed_item_set_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/feed_item_set_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/feed_item_set_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,15 +14,9 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/feed_item_set_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/feed_item_set.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/resources/feed_item_set.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/feed_item_set_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -34,16 +24,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/feed_item_set_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemSetServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -52,7 +32,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/feed_item_set_service.proto // Proto file describing the FeedItemSet service. @@ -75,11 +54,7 @@ service FeedItemSetService { rpc MutateFeedItemSets(MutateFeedItemSetsRequest) returns (MutateFeedItemSetsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/feed_item_set_service.proto - post: "/v13/customers/{customer_id=*}/feedItemSets:mutate" -======== post: "/v14/customers/{customer_id=*}/feedItemSets:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/feed_item_set_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -87,11 +62,7 @@ service FeedItemSetService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/feed_item_set_service.proto -// [FeedItemSetService.MutateFeedItemSets][google.ads.googleads.v13.services.FeedItemSetService.MutateFeedItemSets]. -======== // [FeedItemSetService.MutateFeedItemSets][google.ads.googleads.v14.services.FeedItemSetService.MutateFeedItemSets]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/feed_item_set_service.proto message MutateFeedItemSetsRequest { // Required. The ID of the customer whose feed item sets are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -119,19 +90,11 @@ message FeedItemSetOperation { // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new feed item set -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/feed_item_set_service.proto - google.ads.googleads.v13.resources.FeedItemSet create = 1; - - // Update operation: The feed item set is expected to have a valid resource - // name. - google.ads.googleads.v13.resources.FeedItemSet update = 2; -======== google.ads.googleads.v14.resources.FeedItemSet create = 1; // Update operation: The feed item set is expected to have a valid resource // name. google.ads.googleads.v14.resources.FeedItemSet update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/feed_item_set_service.proto // Remove operation: A resource name for the removed feed item is // expected, in this format: diff --git a/third_party/googleapis/google/ads/googleads/v14/services/feed_item_target_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/feed_item_target_service.proto index 81c7f298d..ec37675b1 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/feed_item_target_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/feed_item_target_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/feed_item_target_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/feed_item_target_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,33 +14,16 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/feed_item_target_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/feed_item_target.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/feed_item_target.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/feed_item_target_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/feed_item_target_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemTargetServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -53,7 +32,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/feed_item_target_service.proto // Proto file describing the FeedItemTarget service. @@ -87,11 +65,7 @@ service FeedItemTargetService { rpc MutateFeedItemTargets(MutateFeedItemTargetsRequest) returns (MutateFeedItemTargetsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/feed_item_target_service.proto - post: "/v13/customers/{customer_id=*}/feedItemTargets:mutate" -======== post: "/v14/customers/{customer_id=*}/feedItemTargets:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/feed_item_target_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -99,11 +73,7 @@ service FeedItemTargetService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/feed_item_target_service.proto -// [FeedItemTargetService.MutateFeedItemTargets][google.ads.googleads.v13.services.FeedItemTargetService.MutateFeedItemTargets]. -======== // [FeedItemTargetService.MutateFeedItemTargets][google.ads.googleads.v14.services.FeedItemTargetService.MutateFeedItemTargets]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/feed_item_target_service.proto message MutateFeedItemTargetsRequest { // Required. The ID of the customer whose feed item targets are being // modified. @@ -122,11 +92,7 @@ message MutateFeedItemTargetsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/feed_item_target_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/feed_item_target_service.proto response_content_type = 5; // If true, the request is validated but not executed. Only errors are @@ -140,11 +106,7 @@ message FeedItemTargetOperation { oneof operation { // Create operation: No resource name is expected for the new feed item // target. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/feed_item_target_service.proto - google.ads.googleads.v13.resources.FeedItemTarget create = 1; -======== google.ads.googleads.v14.resources.FeedItemTarget create = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/feed_item_target_service.proto // Remove operation: A resource name for the removed feed item target is // expected, in this format: @@ -178,9 +140,5 @@ message MutateFeedItemTargetResult { // The mutated feed item target with only mutable fields after mutate. The // field will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/feed_item_target_service.proto - google.ads.googleads.v13.resources.FeedItemTarget feed_item_target = 2; -======== google.ads.googleads.v14.resources.FeedItemTarget feed_item_target = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/feed_item_target_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/feed_mapping_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/feed_mapping_service.proto index 5c77c1ee6..b40a8b547 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/feed_mapping_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/feed_mapping_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/feed_mapping_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/feed_mapping_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,33 +14,16 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/feed_mapping_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/feed_mapping.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/feed_mapping.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/feed_mapping_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/feed_mapping_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "FeedMappingServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -53,7 +32,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/feed_mapping_service.proto // Proto file describing the FeedMapping service. @@ -88,11 +66,7 @@ service FeedMappingService { rpc MutateFeedMappings(MutateFeedMappingsRequest) returns (MutateFeedMappingsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/feed_mapping_service.proto - post: "/v13/customers/{customer_id=*}/feedMappings:mutate" -======== post: "/v14/customers/{customer_id=*}/feedMappings:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/feed_mapping_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -100,11 +74,7 @@ service FeedMappingService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/feed_mapping_service.proto -// [FeedMappingService.MutateFeedMappings][google.ads.googleads.v13.services.FeedMappingService.MutateFeedMappings]. -======== // [FeedMappingService.MutateFeedMappings][google.ads.googleads.v14.services.FeedMappingService.MutateFeedMappings]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/feed_mapping_service.proto message MutateFeedMappingsRequest { // Required. The ID of the customer whose feed mappings are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -125,11 +95,7 @@ message MutateFeedMappingsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/feed_mapping_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/feed_mapping_service.proto response_content_type = 5; } @@ -138,11 +104,7 @@ message FeedMappingOperation { // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new feed mapping. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/feed_mapping_service.proto - google.ads.googleads.v13.resources.FeedMapping create = 1; -======== google.ads.googleads.v14.resources.FeedMapping create = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/feed_mapping_service.proto // Remove operation: A resource name for the removed feed mapping is // expected, in this format: @@ -176,9 +138,5 @@ message MutateFeedMappingResult { // The mutated feed mapping with only mutable fields after mutate. The field // will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/feed_mapping_service.proto - google.ads.googleads.v13.resources.FeedMapping feed_mapping = 2; -======== google.ads.googleads.v14.resources.FeedMapping feed_mapping = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/feed_mapping_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/feed_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/feed_service.proto index 3b2111488..7f71ad416 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/feed_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/feed_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/feed_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/feed_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/feed_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/feed.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/feed.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/feed_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -36,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/feed_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "FeedServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -54,7 +33,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/feed_service.proto // Proto file describing the Feed service. @@ -93,11 +71,7 @@ service FeedService { // [StringLengthError]() rpc MutateFeeds(MutateFeedsRequest) returns (MutateFeedsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/feed_service.proto - post: "/v13/customers/{customer_id=*}/feeds:mutate" -======== post: "/v14/customers/{customer_id=*}/feeds:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/feed_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -105,11 +79,7 @@ service FeedService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/feed_service.proto -// [FeedService.MutateFeeds][google.ads.googleads.v13.services.FeedService.MutateFeeds]. -======== // [FeedService.MutateFeeds][google.ads.googleads.v14.services.FeedService.MutateFeeds]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/feed_service.proto message MutateFeedsRequest { // Required. The ID of the customer whose feeds are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -130,11 +100,7 @@ message MutateFeedsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/feed_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/feed_service.proto response_content_type = 5; } @@ -146,19 +112,11 @@ message FeedOperation { // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new feed. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/feed_service.proto - google.ads.googleads.v13.resources.Feed create = 1; - - // Update operation: The feed is expected to have a valid resource - // name. - google.ads.googleads.v13.resources.Feed update = 2; -======== google.ads.googleads.v14.resources.Feed create = 1; // Update operation: The feed is expected to have a valid resource // name. google.ads.googleads.v14.resources.Feed update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/feed_service.proto // Remove operation: A resource name for the removed feed is // expected, in this format: @@ -191,9 +149,5 @@ message MutateFeedResult { // The mutated feed with only mutable fields after mutate. The field will only // be returned when response_content_type is set to "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/feed_service.proto - google.ads.googleads.v13.resources.Feed feed = 2; -======== google.ads.googleads.v14.resources.Feed feed = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/feed_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/geo_target_constant_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/geo_target_constant_service.proto index cb9cc2c95..349583dc6 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/geo_target_constant_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/geo_target_constant_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/geo_target_constant_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/geo_target_constant_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/geo_target_constant_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/geo_target_constant.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "GeoTargetConstantServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/resources/geo_target_constant.proto"; @@ -48,7 +28,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/geo_target_constant_service.proto // Proto file describing the Geo target constant service. @@ -70,22 +49,14 @@ service GeoTargetConstantService { rpc SuggestGeoTargetConstants(SuggestGeoTargetConstantsRequest) returns (SuggestGeoTargetConstantsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/geo_target_constant_service.proto - post: "/v13/geoTargetConstants:suggest" -======== post: "/v14/geoTargetConstants:suggest" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/geo_target_constant_service.proto body: "*" }; } } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/geo_target_constant_service.proto -// [GeoTargetConstantService.SuggestGeoTargetConstants][google.ads.googleads.v13.services.GeoTargetConstantService.SuggestGeoTargetConstants]. -======== // [GeoTargetConstantService.SuggestGeoTargetConstants][google.ads.googleads.v14.services.GeoTargetConstantService.SuggestGeoTargetConstants]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/geo_target_constant_service.proto message SuggestGeoTargetConstantsRequest { // A list of location names. message LocationNames { @@ -118,11 +89,7 @@ message SuggestGeoTargetConstantsRequest { } // Response message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/geo_target_constant_service.proto -// [GeoTargetConstantService.SuggestGeoTargetConstants][google.ads.googleads.v13.services.GeoTargetConstantService.SuggestGeoTargetConstants]. -======== // [GeoTargetConstantService.SuggestGeoTargetConstants][google.ads.googleads.v14.services.GeoTargetConstantService.SuggestGeoTargetConstants]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/geo_target_constant_service.proto message SuggestGeoTargetConstantsResponse { // Geo target constant suggestions. repeated GeoTargetConstantSuggestion geo_target_constant_suggestions = 1; @@ -145,16 +112,9 @@ message GeoTargetConstantSuggestion { optional string search_term = 8; // The GeoTargetConstant result. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/geo_target_constant_service.proto - google.ads.googleads.v13.resources.GeoTargetConstant geo_target_constant = 4; - - // The list of parents of the geo target constant. - repeated google.ads.googleads.v13.resources.GeoTargetConstant -======== google.ads.googleads.v14.resources.GeoTargetConstant geo_target_constant = 4; // The list of parents of the geo target constant. repeated google.ads.googleads.v14.resources.GeoTargetConstant ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/geo_target_constant_service.proto geo_target_constant_parents = 5; } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/google_ads_field_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/google_ads_field_service.proto index 467c7fa94..381e78040 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/google_ads_field_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/google_ads_field_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/google_ads_field_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/google_ads_field_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,30 +14,14 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/google_ads_field_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/google_ads_field.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/resources/google_ads_field.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/google_ads_field_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/google_ads_field_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "GoogleAdsFieldServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -50,7 +30,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/google_ads_field_service.proto // Proto file describing the GoogleAdsFieldService. @@ -69,15 +48,9 @@ service GoogleAdsFieldService { // [QuotaError]() // [RequestError]() rpc GetGoogleAdsField(GetGoogleAdsFieldRequest) -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/google_ads_field_service.proto - returns (google.ads.googleads.v13.resources.GoogleAdsField) { - option (google.api.http) = { - get: "/v13/{resource_name=googleAdsFields/*}" -======== returns (google.ads.googleads.v14.resources.GoogleAdsField) { option (google.api.http) = { get: "/v14/{resource_name=googleAdsFields/*}" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/google_ads_field_service.proto }; option (google.api.method_signature) = "resource_name"; } @@ -95,11 +68,7 @@ service GoogleAdsFieldService { rpc SearchGoogleAdsFields(SearchGoogleAdsFieldsRequest) returns (SearchGoogleAdsFieldsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/google_ads_field_service.proto - post: "/v13/googleAdsFields:search" -======== post: "/v14/googleAdsFields:search" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/google_ads_field_service.proto body: "*" }; option (google.api.method_signature) = "query"; @@ -107,11 +76,7 @@ service GoogleAdsFieldService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/google_ads_field_service.proto -// [GoogleAdsFieldService.GetGoogleAdsField][google.ads.googleads.v13.services.GoogleAdsFieldService.GetGoogleAdsField]. -======== // [GoogleAdsFieldService.GetGoogleAdsField][google.ads.googleads.v14.services.GoogleAdsFieldService.GetGoogleAdsField]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/google_ads_field_service.proto message GetGoogleAdsFieldRequest { // Required. The resource name of the field to get. string resource_name = 1 [ @@ -123,11 +88,7 @@ message GetGoogleAdsFieldRequest { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/google_ads_field_service.proto -// [GoogleAdsFieldService.SearchGoogleAdsFields][google.ads.googleads.v13.services.GoogleAdsFieldService.SearchGoogleAdsFields]. -======== // [GoogleAdsFieldService.SearchGoogleAdsFields][google.ads.googleads.v14.services.GoogleAdsFieldService.SearchGoogleAdsFields]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/google_ads_field_service.proto message SearchGoogleAdsFieldsRequest { // Required. The query string. string query = 1 [(google.api.field_behavior) = REQUIRED]; @@ -144,17 +105,10 @@ message SearchGoogleAdsFieldsRequest { } // Response message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/google_ads_field_service.proto -// [GoogleAdsFieldService.SearchGoogleAdsFields][google.ads.googleads.v13.services.GoogleAdsFieldService.SearchGoogleAdsFields]. -message SearchGoogleAdsFieldsResponse { - // The list of fields that matched the query. - repeated google.ads.googleads.v13.resources.GoogleAdsField results = 1; -======== // [GoogleAdsFieldService.SearchGoogleAdsFields][google.ads.googleads.v14.services.GoogleAdsFieldService.SearchGoogleAdsFields]. message SearchGoogleAdsFieldsResponse { // The list of fields that matched the query. repeated google.ads.googleads.v14.resources.GoogleAdsField results = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/google_ads_field_service.proto // Pagination token used to retrieve the next page of results. Pass the // content of this string as the `page_token` attribute of the next request. diff --git a/third_party/googleapis/google/ads/googleads/v14/services/google_ads_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/google_ads_service.proto index 0b68ed2ee..3e8d506be 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/google_ads_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/google_ads_service.proto @@ -14,243 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/google_ads_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/common/metrics.proto"; -import "google/ads/googleads/v12/common/segments.proto"; -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/enums/summary_row_setting.proto"; -import "google/ads/googleads/v12/resources/accessible_bidding_strategy.proto"; -import "google/ads/googleads/v12/resources/account_budget.proto"; -import "google/ads/googleads/v12/resources/account_budget_proposal.proto"; -import "google/ads/googleads/v12/resources/account_link.proto"; -import "google/ads/googleads/v12/resources/ad_group.proto"; -import "google/ads/googleads/v12/resources/ad_group_ad.proto"; -import "google/ads/googleads/v12/resources/ad_group_ad_asset_combination_view.proto"; -import "google/ads/googleads/v12/resources/ad_group_ad_asset_view.proto"; -import "google/ads/googleads/v12/resources/ad_group_ad_label.proto"; -import "google/ads/googleads/v12/resources/ad_group_asset.proto"; -import "google/ads/googleads/v12/resources/ad_group_asset_set.proto"; -import "google/ads/googleads/v12/resources/ad_group_audience_view.proto"; -import "google/ads/googleads/v12/resources/ad_group_bid_modifier.proto"; -import "google/ads/googleads/v12/resources/ad_group_criterion.proto"; -import "google/ads/googleads/v12/resources/ad_group_criterion_customizer.proto"; -import "google/ads/googleads/v12/resources/ad_group_criterion_label.proto"; -import "google/ads/googleads/v12/resources/ad_group_criterion_simulation.proto"; -import "google/ads/googleads/v12/resources/ad_group_customizer.proto"; -import "google/ads/googleads/v12/resources/ad_group_extension_setting.proto"; -import "google/ads/googleads/v12/resources/ad_group_feed.proto"; -import "google/ads/googleads/v12/resources/ad_group_label.proto"; -import "google/ads/googleads/v12/resources/ad_group_simulation.proto"; -import "google/ads/googleads/v12/resources/ad_parameter.proto"; -import "google/ads/googleads/v12/resources/ad_schedule_view.proto"; -import "google/ads/googleads/v12/resources/age_range_view.proto"; -import "google/ads/googleads/v12/resources/asset.proto"; -import "google/ads/googleads/v12/resources/asset_field_type_view.proto"; -import "google/ads/googleads/v12/resources/asset_group.proto"; -import "google/ads/googleads/v12/resources/asset_group_asset.proto"; -import "google/ads/googleads/v12/resources/asset_group_listing_group_filter.proto"; -import "google/ads/googleads/v12/resources/asset_group_product_group_view.proto"; -import "google/ads/googleads/v12/resources/asset_group_signal.proto"; -import "google/ads/googleads/v12/resources/asset_set.proto"; -import "google/ads/googleads/v12/resources/asset_set_asset.proto"; -import "google/ads/googleads/v12/resources/asset_set_type_view.proto"; -import "google/ads/googleads/v12/resources/audience.proto"; -import "google/ads/googleads/v12/resources/batch_job.proto"; -import "google/ads/googleads/v12/resources/bidding_data_exclusion.proto"; -import "google/ads/googleads/v12/resources/bidding_seasonality_adjustment.proto"; -import "google/ads/googleads/v12/resources/bidding_strategy.proto"; -import "google/ads/googleads/v12/resources/bidding_strategy_simulation.proto"; -import "google/ads/googleads/v12/resources/billing_setup.proto"; -import "google/ads/googleads/v12/resources/call_view.proto"; -import "google/ads/googleads/v12/resources/campaign.proto"; -import "google/ads/googleads/v12/resources/campaign_asset.proto"; -import "google/ads/googleads/v12/resources/campaign_asset_set.proto"; -import "google/ads/googleads/v12/resources/campaign_audience_view.proto"; -import "google/ads/googleads/v12/resources/campaign_bid_modifier.proto"; -import "google/ads/googleads/v12/resources/campaign_budget.proto"; -import "google/ads/googleads/v12/resources/campaign_conversion_goal.proto"; -import "google/ads/googleads/v12/resources/campaign_criterion.proto"; -import "google/ads/googleads/v12/resources/campaign_criterion_simulation.proto"; -import "google/ads/googleads/v12/resources/campaign_customizer.proto"; -import "google/ads/googleads/v12/resources/campaign_draft.proto"; -import "google/ads/googleads/v12/resources/campaign_extension_setting.proto"; -import "google/ads/googleads/v12/resources/campaign_feed.proto"; -import "google/ads/googleads/v12/resources/campaign_group.proto"; -import "google/ads/googleads/v12/resources/campaign_label.proto"; -import "google/ads/googleads/v12/resources/campaign_shared_set.proto"; -import "google/ads/googleads/v12/resources/campaign_simulation.proto"; -import "google/ads/googleads/v12/resources/carrier_constant.proto"; -import "google/ads/googleads/v12/resources/change_event.proto"; -import "google/ads/googleads/v12/resources/change_status.proto"; -import "google/ads/googleads/v12/resources/click_view.proto"; -import "google/ads/googleads/v12/resources/combined_audience.proto"; -import "google/ads/googleads/v12/resources/conversion_action.proto"; -import "google/ads/googleads/v12/resources/conversion_custom_variable.proto"; -import "google/ads/googleads/v12/resources/conversion_goal_campaign_config.proto"; -import "google/ads/googleads/v12/resources/conversion_value_rule.proto"; -import "google/ads/googleads/v12/resources/conversion_value_rule_set.proto"; -import "google/ads/googleads/v12/resources/currency_constant.proto"; -import "google/ads/googleads/v12/resources/custom_audience.proto"; -import "google/ads/googleads/v12/resources/custom_conversion_goal.proto"; -import "google/ads/googleads/v12/resources/custom_interest.proto"; -import "google/ads/googleads/v12/resources/customer.proto"; -import "google/ads/googleads/v12/resources/customer_asset.proto"; -import "google/ads/googleads/v12/resources/customer_asset_set.proto"; -import "google/ads/googleads/v12/resources/customer_client.proto"; -import "google/ads/googleads/v12/resources/customer_client_link.proto"; -import "google/ads/googleads/v12/resources/customer_conversion_goal.proto"; -import "google/ads/googleads/v12/resources/customer_customizer.proto"; -import "google/ads/googleads/v12/resources/customer_extension_setting.proto"; -import "google/ads/googleads/v12/resources/customer_feed.proto"; -import "google/ads/googleads/v12/resources/customer_label.proto"; -import "google/ads/googleads/v12/resources/customer_manager_link.proto"; -import "google/ads/googleads/v12/resources/customer_negative_criterion.proto"; -import "google/ads/googleads/v12/resources/customer_user_access.proto"; -import "google/ads/googleads/v12/resources/customer_user_access_invitation.proto"; -import "google/ads/googleads/v12/resources/customizer_attribute.proto"; -import "google/ads/googleads/v12/resources/detail_placement_view.proto"; -import "google/ads/googleads/v12/resources/detailed_demographic.proto"; -import "google/ads/googleads/v12/resources/display_keyword_view.proto"; -import "google/ads/googleads/v12/resources/distance_view.proto"; -import "google/ads/googleads/v12/resources/domain_category.proto"; -import "google/ads/googleads/v12/resources/dynamic_search_ads_search_term_view.proto"; -import "google/ads/googleads/v12/resources/expanded_landing_page_view.proto"; -import "google/ads/googleads/v12/resources/experiment.proto"; -import "google/ads/googleads/v12/resources/experiment_arm.proto"; -import "google/ads/googleads/v12/resources/extension_feed_item.proto"; -import "google/ads/googleads/v12/resources/feed.proto"; -import "google/ads/googleads/v12/resources/feed_item.proto"; -import "google/ads/googleads/v12/resources/feed_item_set.proto"; -import "google/ads/googleads/v12/resources/feed_item_set_link.proto"; -import "google/ads/googleads/v12/resources/feed_item_target.proto"; -import "google/ads/googleads/v12/resources/feed_mapping.proto"; -import "google/ads/googleads/v12/resources/feed_placeholder_view.proto"; -import "google/ads/googleads/v12/resources/gender_view.proto"; -import "google/ads/googleads/v12/resources/geo_target_constant.proto"; -import "google/ads/googleads/v12/resources/geographic_view.proto"; -import "google/ads/googleads/v12/resources/group_placement_view.proto"; -import "google/ads/googleads/v12/resources/hotel_group_view.proto"; -import "google/ads/googleads/v12/resources/hotel_performance_view.proto"; -import "google/ads/googleads/v12/resources/hotel_reconciliation.proto"; -import "google/ads/googleads/v12/resources/income_range_view.proto"; -import "google/ads/googleads/v12/resources/keyword_plan.proto"; -import "google/ads/googleads/v12/resources/keyword_plan_ad_group.proto"; -import "google/ads/googleads/v12/resources/keyword_plan_ad_group_keyword.proto"; -import "google/ads/googleads/v12/resources/keyword_plan_campaign.proto"; -import "google/ads/googleads/v12/resources/keyword_plan_campaign_keyword.proto"; -import "google/ads/googleads/v12/resources/keyword_theme_constant.proto"; -import "google/ads/googleads/v12/resources/keyword_view.proto"; -import "google/ads/googleads/v12/resources/label.proto"; -import "google/ads/googleads/v12/resources/landing_page_view.proto"; -import "google/ads/googleads/v12/resources/language_constant.proto"; -import "google/ads/googleads/v12/resources/lead_form_submission_data.proto"; -import "google/ads/googleads/v12/resources/life_event.proto"; -import "google/ads/googleads/v12/resources/location_view.proto"; -import "google/ads/googleads/v12/resources/managed_placement_view.proto"; -import "google/ads/googleads/v12/resources/media_file.proto"; -import "google/ads/googleads/v12/resources/mobile_app_category_constant.proto"; -import "google/ads/googleads/v12/resources/mobile_device_constant.proto"; -import "google/ads/googleads/v12/resources/offline_user_data_job.proto"; -import "google/ads/googleads/v12/resources/operating_system_version_constant.proto"; -import "google/ads/googleads/v12/resources/paid_organic_search_term_view.proto"; -import "google/ads/googleads/v12/resources/parental_status_view.proto"; -import "google/ads/googleads/v12/resources/per_store_view.proto"; -import "google/ads/googleads/v12/resources/product_bidding_category_constant.proto"; -import "google/ads/googleads/v12/resources/product_group_view.proto"; -import "google/ads/googleads/v12/resources/recommendation.proto"; -import "google/ads/googleads/v12/resources/remarketing_action.proto"; -import "google/ads/googleads/v12/resources/search_term_view.proto"; -import "google/ads/googleads/v12/resources/shared_criterion.proto"; -import "google/ads/googleads/v12/resources/shared_set.proto"; -import "google/ads/googleads/v12/resources/shopping_performance_view.proto"; -import "google/ads/googleads/v12/resources/smart_campaign_search_term_view.proto"; -import "google/ads/googleads/v12/resources/smart_campaign_setting.proto"; -import "google/ads/googleads/v12/resources/third_party_app_analytics_link.proto"; -import "google/ads/googleads/v12/resources/topic_constant.proto"; -import "google/ads/googleads/v12/resources/topic_view.proto"; -import "google/ads/googleads/v12/resources/user_interest.proto"; -import "google/ads/googleads/v12/resources/user_list.proto"; -import "google/ads/googleads/v12/resources/user_location_view.proto"; -import "google/ads/googleads/v12/resources/video.proto"; -import "google/ads/googleads/v12/resources/webpage_view.proto"; -import "google/ads/googleads/v12/services/ad_group_ad_label_service.proto"; -import "google/ads/googleads/v12/services/ad_group_ad_service.proto"; -import "google/ads/googleads/v12/services/ad_group_asset_service.proto"; -import "google/ads/googleads/v12/services/ad_group_bid_modifier_service.proto"; -import "google/ads/googleads/v12/services/ad_group_criterion_customizer_service.proto"; -import "google/ads/googleads/v12/services/ad_group_criterion_label_service.proto"; -import "google/ads/googleads/v12/services/ad_group_criterion_service.proto"; -import "google/ads/googleads/v12/services/ad_group_customizer_service.proto"; -import "google/ads/googleads/v12/services/ad_group_extension_setting_service.proto"; -import "google/ads/googleads/v12/services/ad_group_feed_service.proto"; -import "google/ads/googleads/v12/services/ad_group_label_service.proto"; -import "google/ads/googleads/v12/services/ad_group_service.proto"; -import "google/ads/googleads/v12/services/ad_parameter_service.proto"; -import "google/ads/googleads/v12/services/ad_service.proto"; -import "google/ads/googleads/v12/services/asset_group_asset_service.proto"; -import "google/ads/googleads/v12/services/asset_group_listing_group_filter_service.proto"; -import "google/ads/googleads/v12/services/asset_group_service.proto"; -import "google/ads/googleads/v12/services/asset_group_signal_service.proto"; -import "google/ads/googleads/v12/services/asset_service.proto"; -import "google/ads/googleads/v12/services/asset_set_asset_service.proto"; -import "google/ads/googleads/v12/services/asset_set_service.proto"; -import "google/ads/googleads/v12/services/audience_service.proto"; -import "google/ads/googleads/v12/services/bidding_data_exclusion_service.proto"; -import "google/ads/googleads/v12/services/bidding_seasonality_adjustment_service.proto"; -import "google/ads/googleads/v12/services/bidding_strategy_service.proto"; -import "google/ads/googleads/v12/services/campaign_asset_service.proto"; -import "google/ads/googleads/v12/services/campaign_asset_set_service.proto"; -import "google/ads/googleads/v12/services/campaign_bid_modifier_service.proto"; -import "google/ads/googleads/v12/services/campaign_budget_service.proto"; -import "google/ads/googleads/v12/services/campaign_conversion_goal_service.proto"; -import "google/ads/googleads/v12/services/campaign_criterion_service.proto"; -import "google/ads/googleads/v12/services/campaign_customizer_service.proto"; -import "google/ads/googleads/v12/services/campaign_draft_service.proto"; -import "google/ads/googleads/v12/services/campaign_extension_setting_service.proto"; -import "google/ads/googleads/v12/services/campaign_feed_service.proto"; -import "google/ads/googleads/v12/services/campaign_group_service.proto"; -import "google/ads/googleads/v12/services/campaign_label_service.proto"; -import "google/ads/googleads/v12/services/campaign_service.proto"; -import "google/ads/googleads/v12/services/campaign_shared_set_service.proto"; -import "google/ads/googleads/v12/services/conversion_action_service.proto"; -import "google/ads/googleads/v12/services/conversion_custom_variable_service.proto"; -import "google/ads/googleads/v12/services/conversion_goal_campaign_config_service.proto"; -import "google/ads/googleads/v12/services/conversion_value_rule_service.proto"; -import "google/ads/googleads/v12/services/conversion_value_rule_set_service.proto"; -import "google/ads/googleads/v12/services/custom_conversion_goal_service.proto"; -import "google/ads/googleads/v12/services/customer_asset_service.proto"; -import "google/ads/googleads/v12/services/customer_conversion_goal_service.proto"; -import "google/ads/googleads/v12/services/customer_customizer_service.proto"; -import "google/ads/googleads/v12/services/customer_extension_setting_service.proto"; -import "google/ads/googleads/v12/services/customer_feed_service.proto"; -import "google/ads/googleads/v12/services/customer_label_service.proto"; -import "google/ads/googleads/v12/services/customer_negative_criterion_service.proto"; -import "google/ads/googleads/v12/services/customer_service.proto"; -import "google/ads/googleads/v12/services/customizer_attribute_service.proto"; -import "google/ads/googleads/v12/services/experiment_arm_service.proto"; -import "google/ads/googleads/v12/services/experiment_service.proto"; -import "google/ads/googleads/v12/services/extension_feed_item_service.proto"; -import "google/ads/googleads/v12/services/feed_item_service.proto"; -import "google/ads/googleads/v12/services/feed_item_set_link_service.proto"; -import "google/ads/googleads/v12/services/feed_item_set_service.proto"; -import "google/ads/googleads/v12/services/feed_item_target_service.proto"; -import "google/ads/googleads/v12/services/feed_mapping_service.proto"; -import "google/ads/googleads/v12/services/feed_service.proto"; -import "google/ads/googleads/v12/services/keyword_plan_ad_group_keyword_service.proto"; -import "google/ads/googleads/v12/services/keyword_plan_ad_group_service.proto"; -import "google/ads/googleads/v12/services/keyword_plan_campaign_keyword_service.proto"; -import "google/ads/googleads/v12/services/keyword_plan_campaign_service.proto"; -import "google/ads/googleads/v12/services/keyword_plan_service.proto"; -import "google/ads/googleads/v12/services/label_service.proto"; -import "google/ads/googleads/v12/services/media_file_service.proto"; -import "google/ads/googleads/v12/services/remarketing_action_service.proto"; -import "google/ads/googleads/v12/services/shared_criterion_service.proto"; -import "google/ads/googleads/v12/services/shared_set_service.proto"; -import "google/ads/googleads/v12/services/smart_campaign_setting_service.proto"; -import "google/ads/googleads/v12/services/user_list_service.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/common/metrics.proto"; @@ -491,23 +254,12 @@ import "google/ads/googleads/v14/services/shared_criterion_service.proto"; import "google/ads/googleads/v14/services/shared_set_service.proto"; import "google/ads/googleads/v14/services/smart_campaign_setting_service.proto"; import "google/ads/googleads/v14/services/user_list_service.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/google_ads_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/google_ads_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "GoogleAdsServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -516,7 +268,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/google_ads_service.proto // Proto file describing the GoogleAdsService. @@ -540,11 +291,7 @@ service GoogleAdsService { // [RequestError]() rpc Search(SearchGoogleAdsRequest) returns (SearchGoogleAdsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/google_ads_service.proto - post: "/v12/customers/{customer_id=*}/googleAds:search" -======== post: "/v14/customers/{customer_id=*}/googleAds:search" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/google_ads_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,query"; @@ -566,11 +313,7 @@ service GoogleAdsService { rpc SearchStream(SearchGoogleAdsStreamRequest) returns (stream SearchGoogleAdsStreamResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/google_ads_service.proto - post: "/v12/customers/{customer_id=*}/googleAds:searchStream" -======== post: "/v14/customers/{customer_id=*}/googleAds:searchStream" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/google_ads_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,query"; @@ -690,23 +433,15 @@ service GoogleAdsService { // [YoutubeVideoRegistrationError]() rpc Mutate(MutateGoogleAdsRequest) returns (MutateGoogleAdsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/google_ads_service.proto - post: "/v12/customers/{customer_id=*}/googleAds:mutate" -======== post: "/v14/customers/{customer_id=*}/googleAds:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/google_ads_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,mutate_operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/google_ads_service.proto -// Request message for [GoogleAdsService.Search][google.ads.googleads.v12.services.GoogleAdsService.Search]. -======== // Request message for // [GoogleAdsService.Search][google.ads.googleads.v14.services.GoogleAdsService.Search]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/google_ads_service.proto message SearchGoogleAdsRequest { // Required. The ID of the customer being queried. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -736,19 +471,12 @@ message SearchGoogleAdsRequest { // Determines whether a summary row will be returned. By default, summary row // is not returned. If requested, the summary row will be sent in a response // by itself after all other query results are returned. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/google_ads_service.proto - google.ads.googleads.v12.enums.SummaryRowSettingEnum.SummaryRowSetting summary_row_setting = 8; -} - -// Response message for [GoogleAdsService.Search][google.ads.googleads.v12.services.GoogleAdsService.Search]. -======== google.ads.googleads.v14.enums.SummaryRowSettingEnum.SummaryRowSetting summary_row_setting = 8; } // Response message for // [GoogleAdsService.Search][google.ads.googleads.v14.services.GoogleAdsService.Search]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/google_ads_service.proto message SearchGoogleAdsResponse { // The list of rows that matched the query. repeated GoogleAdsRow results = 1; @@ -772,12 +500,8 @@ message SearchGoogleAdsResponse { GoogleAdsRow summary_row = 6; } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/google_ads_service.proto -// Request message for [GoogleAdsService.SearchStream][google.ads.googleads.v12.services.GoogleAdsService.SearchStream]. -======== // Request message for // [GoogleAdsService.SearchStream][google.ads.googleads.v14.services.GoogleAdsService.SearchStream]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/google_ads_service.proto message SearchGoogleAdsStreamRequest { // Required. The ID of the customer being queried. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -788,19 +512,12 @@ message SearchGoogleAdsStreamRequest { // Determines whether a summary row will be returned. By default, summary row // is not returned. If requested, the summary row will be sent in a response // by itself after all other query results are returned. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/google_ads_service.proto - google.ads.googleads.v12.enums.SummaryRowSettingEnum.SummaryRowSetting summary_row_setting = 3; -} - -// Response message for [GoogleAdsService.SearchStream][google.ads.googleads.v12.services.GoogleAdsService.SearchStream]. -======== google.ads.googleads.v14.enums.SummaryRowSettingEnum.SummaryRowSetting summary_row_setting = 3; } // Response message for // [GoogleAdsService.SearchStream][google.ads.googleads.v14.services.GoogleAdsService.SearchStream]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/google_ads_service.proto message SearchGoogleAdsStreamResponse { // The list of rows that matched the query. repeated GoogleAdsRow results = 1; @@ -820,477 +537,6 @@ message SearchGoogleAdsStreamResponse { // A returned row from the query. message GoogleAdsRow { // The account budget in the query. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/google_ads_service.proto - google.ads.googleads.v12.resources.AccountBudget account_budget = 42; - - // The account budget proposal referenced in the query. - google.ads.googleads.v12.resources.AccountBudgetProposal account_budget_proposal = 43; - - // The AccountLink referenced in the query. - google.ads.googleads.v12.resources.AccountLink account_link = 143; - - // The ad group referenced in the query. - google.ads.googleads.v12.resources.AdGroup ad_group = 3; - - // The ad referenced in the query. - google.ads.googleads.v12.resources.AdGroupAd ad_group_ad = 16; - - // The ad group ad asset combination view in the query. - google.ads.googleads.v12.resources.AdGroupAdAssetCombinationView ad_group_ad_asset_combination_view = 193; - - // The ad group ad asset view in the query. - google.ads.googleads.v12.resources.AdGroupAdAssetView ad_group_ad_asset_view = 131; - - // The ad group ad label referenced in the query. - google.ads.googleads.v12.resources.AdGroupAdLabel ad_group_ad_label = 120; - - // The ad group asset referenced in the query. - google.ads.googleads.v12.resources.AdGroupAsset ad_group_asset = 154; - - // The ad group asset set referenced in the query. - google.ads.googleads.v12.resources.AdGroupAssetSet ad_group_asset_set = 196; - - // The ad group audience view referenced in the query. - google.ads.googleads.v12.resources.AdGroupAudienceView ad_group_audience_view = 57; - - // The bid modifier referenced in the query. - google.ads.googleads.v12.resources.AdGroupBidModifier ad_group_bid_modifier = 24; - - // The criterion referenced in the query. - google.ads.googleads.v12.resources.AdGroupCriterion ad_group_criterion = 17; - - // The ad group criterion customizer referenced in the query. - google.ads.googleads.v12.resources.AdGroupCriterionCustomizer ad_group_criterion_customizer = 187; - - // The ad group criterion label referenced in the query. - google.ads.googleads.v12.resources.AdGroupCriterionLabel ad_group_criterion_label = 121; - - // The ad group criterion simulation referenced in the query. - google.ads.googleads.v12.resources.AdGroupCriterionSimulation ad_group_criterion_simulation = 110; - - // The ad group customizer referenced in the query. - google.ads.googleads.v12.resources.AdGroupCustomizer ad_group_customizer = 185; - - // The ad group extension setting referenced in the query. - google.ads.googleads.v12.resources.AdGroupExtensionSetting ad_group_extension_setting = 112; - - // The ad group feed referenced in the query. - google.ads.googleads.v12.resources.AdGroupFeed ad_group_feed = 67; - - // The ad group label referenced in the query. - google.ads.googleads.v12.resources.AdGroupLabel ad_group_label = 115; - - // The ad group simulation referenced in the query. - google.ads.googleads.v12.resources.AdGroupSimulation ad_group_simulation = 107; - - // The ad parameter referenced in the query. - google.ads.googleads.v12.resources.AdParameter ad_parameter = 130; - - // The age range view referenced in the query. - google.ads.googleads.v12.resources.AgeRangeView age_range_view = 48; - - // The ad schedule view referenced in the query. - google.ads.googleads.v12.resources.AdScheduleView ad_schedule_view = 89; - - // The domain category referenced in the query. - google.ads.googleads.v12.resources.DomainCategory domain_category = 91; - - // The asset referenced in the query. - google.ads.googleads.v12.resources.Asset asset = 105; - - // The asset field type view referenced in the query. - google.ads.googleads.v12.resources.AssetFieldTypeView asset_field_type_view = 168; - - // The asset group asset referenced in the query. - google.ads.googleads.v12.resources.AssetGroupAsset asset_group_asset = 173; - - // The asset group signal referenced in the query. - google.ads.googleads.v12.resources.AssetGroupSignal asset_group_signal = 191; - - // The asset group listing group filter referenced in the query. - google.ads.googleads.v12.resources.AssetGroupListingGroupFilter asset_group_listing_group_filter = 182; - - // The asset group product group view referenced in the query. - google.ads.googleads.v12.resources.AssetGroupProductGroupView asset_group_product_group_view = 189; - - // The asset group referenced in the query. - google.ads.googleads.v12.resources.AssetGroup asset_group = 172; - - // The asset set asset referenced in the query. - google.ads.googleads.v12.resources.AssetSetAsset asset_set_asset = 180; - - // The asset set referenced in the query. - google.ads.googleads.v12.resources.AssetSet asset_set = 179; - - // The asset set type view referenced in the query. - google.ads.googleads.v12.resources.AssetSetTypeView asset_set_type_view = 197; - - // The batch job referenced in the query. - google.ads.googleads.v12.resources.BatchJob batch_job = 139; - - // The bidding data exclusion referenced in the query. - google.ads.googleads.v12.resources.BiddingDataExclusion bidding_data_exclusion = 159; - - // The bidding seasonality adjustment referenced in the query. - google.ads.googleads.v12.resources.BiddingSeasonalityAdjustment bidding_seasonality_adjustment = 160; - - // The bidding strategy referenced in the query. - google.ads.googleads.v12.resources.BiddingStrategy bidding_strategy = 18; - - // The bidding strategy simulation referenced in the query. - google.ads.googleads.v12.resources.BiddingStrategySimulation bidding_strategy_simulation = 158; - - // The billing setup referenced in the query. - google.ads.googleads.v12.resources.BillingSetup billing_setup = 41; - - // The call view referenced in the query. - google.ads.googleads.v12.resources.CallView call_view = 152; - - // The campaign budget referenced in the query. - google.ads.googleads.v12.resources.CampaignBudget campaign_budget = 19; - - // The campaign referenced in the query. - google.ads.googleads.v12.resources.Campaign campaign = 2; - - // The campaign asset referenced in the query. - google.ads.googleads.v12.resources.CampaignAsset campaign_asset = 142; - - // The campaign asset set referenced in the query. - google.ads.googleads.v12.resources.CampaignAssetSet campaign_asset_set = 181; - - // The campaign audience view referenced in the query. - google.ads.googleads.v12.resources.CampaignAudienceView campaign_audience_view = 69; - - // The campaign bid modifier referenced in the query. - google.ads.googleads.v12.resources.CampaignBidModifier campaign_bid_modifier = 26; - - // The CampaignConversionGoal referenced in the query. - google.ads.googleads.v12.resources.CampaignConversionGoal campaign_conversion_goal = 175; - - // The campaign criterion referenced in the query. - google.ads.googleads.v12.resources.CampaignCriterion campaign_criterion = 20; - - // The campaign criterion simulation referenced in the query. - google.ads.googleads.v12.resources.CampaignCriterionSimulation campaign_criterion_simulation = 111; - - // The campaign customizer referenced in the query. - google.ads.googleads.v12.resources.CampaignCustomizer campaign_customizer = 186; - - // The campaign draft referenced in the query. - google.ads.googleads.v12.resources.CampaignDraft campaign_draft = 49; - - // The campaign extension setting referenced in the query. - google.ads.googleads.v12.resources.CampaignExtensionSetting campaign_extension_setting = 113; - - // The campaign feed referenced in the query. - google.ads.googleads.v12.resources.CampaignFeed campaign_feed = 63; - - // Campaign Group referenced in AWQL query. - google.ads.googleads.v12.resources.CampaignGroup campaign_group = 25; - - // The campaign label referenced in the query. - google.ads.googleads.v12.resources.CampaignLabel campaign_label = 108; - - // Campaign Shared Set referenced in AWQL query. - google.ads.googleads.v12.resources.CampaignSharedSet campaign_shared_set = 30; - - // The campaign simulation referenced in the query. - google.ads.googleads.v12.resources.CampaignSimulation campaign_simulation = 157; - - // The carrier constant referenced in the query. - google.ads.googleads.v12.resources.CarrierConstant carrier_constant = 66; - - // The ChangeEvent referenced in the query. - google.ads.googleads.v12.resources.ChangeEvent change_event = 145; - - // The ChangeStatus referenced in the query. - google.ads.googleads.v12.resources.ChangeStatus change_status = 37; - - // The CombinedAudience referenced in the query. - google.ads.googleads.v12.resources.CombinedAudience combined_audience = 148; - - // The Audience referenced in the query. - google.ads.googleads.v12.resources.Audience audience = 190; - - // The conversion action referenced in the query. - google.ads.googleads.v12.resources.ConversionAction conversion_action = 103; - - // The conversion custom variable referenced in the query. - google.ads.googleads.v12.resources.ConversionCustomVariable conversion_custom_variable = 153; - - // The ConversionGoalCampaignConfig referenced in the query. - google.ads.googleads.v12.resources.ConversionGoalCampaignConfig conversion_goal_campaign_config = 177; - - // The conversion value rule referenced in the query. - google.ads.googleads.v12.resources.ConversionValueRule conversion_value_rule = 164; - - // The conversion value rule set referenced in the query. - google.ads.googleads.v12.resources.ConversionValueRuleSet conversion_value_rule_set = 165; - - // The ClickView referenced in the query. - google.ads.googleads.v12.resources.ClickView click_view = 122; - - // The currency constant referenced in the query. - google.ads.googleads.v12.resources.CurrencyConstant currency_constant = 134; - - // The CustomAudience referenced in the query. - google.ads.googleads.v12.resources.CustomAudience custom_audience = 147; - - // The CustomConversionGoal referenced in the query. - google.ads.googleads.v12.resources.CustomConversionGoal custom_conversion_goal = 176; - - // The CustomInterest referenced in the query. - google.ads.googleads.v12.resources.CustomInterest custom_interest = 104; - - // The customer referenced in the query. - google.ads.googleads.v12.resources.Customer customer = 1; - - // The customer asset referenced in the query. - google.ads.googleads.v12.resources.CustomerAsset customer_asset = 155; - - // The customer asset set referenced in the query. - google.ads.googleads.v12.resources.CustomerAssetSet customer_asset_set = 195; - - // The accessible bidding strategy referenced in the query. - google.ads.googleads.v12.resources.AccessibleBiddingStrategy accessible_bidding_strategy = 169; - - // The customer customizer referenced in the query. - google.ads.googleads.v12.resources.CustomerCustomizer customer_customizer = 184; - - // The CustomerManagerLink referenced in the query. - google.ads.googleads.v12.resources.CustomerManagerLink customer_manager_link = 61; - - // The CustomerClientLink referenced in the query. - google.ads.googleads.v12.resources.CustomerClientLink customer_client_link = 62; - - // The CustomerClient referenced in the query. - google.ads.googleads.v12.resources.CustomerClient customer_client = 70; - - // The CustomerConversionGoal referenced in the query. - google.ads.googleads.v12.resources.CustomerConversionGoal customer_conversion_goal = 174; - - // The customer extension setting referenced in the query. - google.ads.googleads.v12.resources.CustomerExtensionSetting customer_extension_setting = 114; - - // The customer feed referenced in the query. - google.ads.googleads.v12.resources.CustomerFeed customer_feed = 64; - - // The customer label referenced in the query. - google.ads.googleads.v12.resources.CustomerLabel customer_label = 124; - - // The customer negative criterion referenced in the query. - google.ads.googleads.v12.resources.CustomerNegativeCriterion customer_negative_criterion = 88; - - // The CustomerUserAccess referenced in the query. - google.ads.googleads.v12.resources.CustomerUserAccess customer_user_access = 146; - - // The CustomerUserAccessInvitation referenced in the query. - google.ads.googleads.v12.resources.CustomerUserAccessInvitation customer_user_access_invitation = 150; - - // The customizer attribute referenced in the query. - google.ads.googleads.v12.resources.CustomizerAttribute customizer_attribute = 178; - - // The detail placement view referenced in the query. - google.ads.googleads.v12.resources.DetailPlacementView detail_placement_view = 118; - - // The detailed demographic referenced in the query. - google.ads.googleads.v12.resources.DetailedDemographic detailed_demographic = 166; - - // The display keyword view referenced in the query. - google.ads.googleads.v12.resources.DisplayKeywordView display_keyword_view = 47; - - // The distance view referenced in the query. - google.ads.googleads.v12.resources.DistanceView distance_view = 132; - - // The dynamic search ads search term view referenced in the query. - google.ads.googleads.v12.resources.DynamicSearchAdsSearchTermView dynamic_search_ads_search_term_view = 106; - - // The expanded landing page view referenced in the query. - google.ads.googleads.v12.resources.ExpandedLandingPageView expanded_landing_page_view = 128; - - // The extension feed item referenced in the query. - google.ads.googleads.v12.resources.ExtensionFeedItem extension_feed_item = 85; - - // The feed referenced in the query. - google.ads.googleads.v12.resources.Feed feed = 46; - - // The feed item referenced in the query. - google.ads.googleads.v12.resources.FeedItem feed_item = 50; - - // The feed item set referenced in the query. - google.ads.googleads.v12.resources.FeedItemSet feed_item_set = 149; - - // The feed item set link referenced in the query. - google.ads.googleads.v12.resources.FeedItemSetLink feed_item_set_link = 151; - - // The feed item target referenced in the query. - google.ads.googleads.v12.resources.FeedItemTarget feed_item_target = 116; - - // The feed mapping referenced in the query. - google.ads.googleads.v12.resources.FeedMapping feed_mapping = 58; - - // The feed placeholder view referenced in the query. - google.ads.googleads.v12.resources.FeedPlaceholderView feed_placeholder_view = 97; - - // The gender view referenced in the query. - google.ads.googleads.v12.resources.GenderView gender_view = 40; - - // The geo target constant referenced in the query. - google.ads.googleads.v12.resources.GeoTargetConstant geo_target_constant = 23; - - // The geographic view referenced in the query. - google.ads.googleads.v12.resources.GeographicView geographic_view = 125; - - // The group placement view referenced in the query. - google.ads.googleads.v12.resources.GroupPlacementView group_placement_view = 119; - - // The hotel group view referenced in the query. - google.ads.googleads.v12.resources.HotelGroupView hotel_group_view = 51; - - // The hotel performance view referenced in the query. - google.ads.googleads.v12.resources.HotelPerformanceView hotel_performance_view = 71; - - // The hotel reconciliation referenced in the query. - google.ads.googleads.v12.resources.HotelReconciliation hotel_reconciliation = 188; - - // The income range view referenced in the query. - google.ads.googleads.v12.resources.IncomeRangeView income_range_view = 138; - - // The keyword view referenced in the query. - google.ads.googleads.v12.resources.KeywordView keyword_view = 21; - - // The keyword plan referenced in the query. - google.ads.googleads.v12.resources.KeywordPlan keyword_plan = 32; - - // The keyword plan campaign referenced in the query. - google.ads.googleads.v12.resources.KeywordPlanCampaign keyword_plan_campaign = 33; - - // The keyword plan campaign keyword referenced in the query. - google.ads.googleads.v12.resources.KeywordPlanCampaignKeyword keyword_plan_campaign_keyword = 140; - - // The keyword plan ad group referenced in the query. - google.ads.googleads.v12.resources.KeywordPlanAdGroup keyword_plan_ad_group = 35; - - // The keyword plan ad group referenced in the query. - google.ads.googleads.v12.resources.KeywordPlanAdGroupKeyword keyword_plan_ad_group_keyword = 141; - - // The keyword theme constant referenced in the query. - google.ads.googleads.v12.resources.KeywordThemeConstant keyword_theme_constant = 163; - - // The label referenced in the query. - google.ads.googleads.v12.resources.Label label = 52; - - // The landing page view referenced in the query. - google.ads.googleads.v12.resources.LandingPageView landing_page_view = 126; - - // The language constant referenced in the query. - google.ads.googleads.v12.resources.LanguageConstant language_constant = 55; - - // The location view referenced in the query. - google.ads.googleads.v12.resources.LocationView location_view = 123; - - // The managed placement view referenced in the query. - google.ads.googleads.v12.resources.ManagedPlacementView managed_placement_view = 53; - - // The media file referenced in the query. - google.ads.googleads.v12.resources.MediaFile media_file = 90; - - // The mobile app category constant referenced in the query. - google.ads.googleads.v12.resources.MobileAppCategoryConstant mobile_app_category_constant = 87; - - // The mobile device constant referenced in the query. - google.ads.googleads.v12.resources.MobileDeviceConstant mobile_device_constant = 98; - - // The offline user data job referenced in the query. - google.ads.googleads.v12.resources.OfflineUserDataJob offline_user_data_job = 137; - - // The operating system version constant referenced in the query. - google.ads.googleads.v12.resources.OperatingSystemVersionConstant operating_system_version_constant = 86; - - // The paid organic search term view referenced in the query. - google.ads.googleads.v12.resources.PaidOrganicSearchTermView paid_organic_search_term_view = 129; - - // The parental status view referenced in the query. - google.ads.googleads.v12.resources.ParentalStatusView parental_status_view = 45; - - // The per store view referenced in the query. - google.ads.googleads.v12.resources.PerStoreView per_store_view = 198; - - // The Product Bidding Category referenced in the query. - google.ads.googleads.v12.resources.ProductBiddingCategoryConstant product_bidding_category_constant = 109; - - // The product group view referenced in the query. - google.ads.googleads.v12.resources.ProductGroupView product_group_view = 54; - - // The recommendation referenced in the query. - google.ads.googleads.v12.resources.Recommendation recommendation = 22; - - // The search term view referenced in the query. - google.ads.googleads.v12.resources.SearchTermView search_term_view = 68; - - // The shared set referenced in the query. - google.ads.googleads.v12.resources.SharedCriterion shared_criterion = 29; - - // The shared set referenced in the query. - google.ads.googleads.v12.resources.SharedSet shared_set = 27; - - // The Smart campaign setting referenced in the query. - google.ads.googleads.v12.resources.SmartCampaignSetting smart_campaign_setting = 167; - - // The shopping performance view referenced in the query. - google.ads.googleads.v12.resources.ShoppingPerformanceView shopping_performance_view = 117; - - // The Smart campaign search term view referenced in the query. - google.ads.googleads.v12.resources.SmartCampaignSearchTermView smart_campaign_search_term_view = 170; - - // The AccountLink referenced in the query. - google.ads.googleads.v12.resources.ThirdPartyAppAnalyticsLink third_party_app_analytics_link = 144; - - // The topic view referenced in the query. - google.ads.googleads.v12.resources.TopicView topic_view = 44; - - // The experiment referenced in the query. - google.ads.googleads.v12.resources.Experiment experiment = 133; - - // The experiment arm referenced in the query. - google.ads.googleads.v12.resources.ExperimentArm experiment_arm = 183; - - // The user interest referenced in the query. - google.ads.googleads.v12.resources.UserInterest user_interest = 59; - - // The life event referenced in the query. - google.ads.googleads.v12.resources.LifeEvent life_event = 161; - - // The user list referenced in the query. - google.ads.googleads.v12.resources.UserList user_list = 38; - - // The user location view referenced in the query. - google.ads.googleads.v12.resources.UserLocationView user_location_view = 135; - - // The remarketing action referenced in the query. - google.ads.googleads.v12.resources.RemarketingAction remarketing_action = 60; - - // The topic constant referenced in the query. - google.ads.googleads.v12.resources.TopicConstant topic_constant = 31; - - // The video referenced in the query. - google.ads.googleads.v12.resources.Video video = 39; - - // The webpage view referenced in the query. - google.ads.googleads.v12.resources.WebpageView webpage_view = 162; - - // The lead form user submission referenced in the query. - google.ads.googleads.v12.resources.LeadFormSubmissionData lead_form_submission_data = 192; - - // The metrics. - google.ads.googleads.v12.common.Metrics metrics = 4; - - // The segments. - google.ads.googleads.v12.common.Segments segments = 102; -} - -// Request message for [GoogleAdsService.Mutate][google.ads.googleads.v12.services.GoogleAdsService.Mutate]. -======== google.ads.googleads.v14.resources.AccountBudget account_budget = 42; // The account budget proposal referenced in the query. @@ -1846,7 +1092,6 @@ message GoogleAdsRow { // Request message for // [GoogleAdsService.Mutate][google.ads.googleads.v14.services.GoogleAdsService.Mutate]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/google_ads_service.proto message MutateGoogleAdsRequest { // Required. The ID of the customer whose resources are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -1869,19 +1114,12 @@ message MutateGoogleAdsRequest { // or just the resource name should be returned post mutation. The mutable // resource will only be returned if the resource has the appropriate response // field. For example, MutateCampaignResult.campaign. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/google_ads_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// Response message for [GoogleAdsService.Mutate][google.ads.googleads.v12.services.GoogleAdsService.Mutate]. -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; } // Response message for // [GoogleAdsService.Mutate][google.ads.googleads.v14.services.GoogleAdsService.Mutate]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/google_ads_service.proto message MutateGoogleAdsResponse { // Errors that pertain to operation failures in the partial failure mode. // Returned only when partial_failure = true and all errors occur inside the diff --git a/third_party/googleapis/google/ads/googleads/v14/services/invoice_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/invoice_service.proto index 0cc6981f3..6001561ae 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/invoice_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/invoice_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/invoice_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/invoice_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,31 +14,14 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/invoice_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/month_of_year.proto"; -import "google/ads/googleads/v13/resources/invoice.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/month_of_year.proto"; import "google/ads/googleads/v14/resources/invoice.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/invoice_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/invoice_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "InvoiceServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -51,7 +30,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/invoice_service.proto // Proto file describing the Invoice service. @@ -73,11 +51,7 @@ service InvoiceService { // [RequestError]() rpc ListInvoices(ListInvoicesRequest) returns (ListInvoicesResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/invoice_service.proto - get: "/v13/customers/{customer_id=*}/invoices" -======== get: "/v14/customers/{customer_id=*}/invoices" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/invoice_service.proto }; option (google.api.method_signature) = "customer_id,billing_setup,issue_year,issue_month"; @@ -100,24 +74,13 @@ message ListInvoicesRequest { string issue_year = 3 [(google.api.field_behavior) = REQUIRED]; // Required. The issue month to retrieve invoices. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/invoice_service.proto - google.ads.googleads.v13.enums.MonthOfYearEnum.MonthOfYear issue_month = 4 -======== google.ads.googleads.v14.enums.MonthOfYearEnum.MonthOfYear issue_month = 4 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/invoice_service.proto [(google.api.field_behavior) = REQUIRED]; } // Response message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/invoice_service.proto -// [InvoiceService.ListInvoices][google.ads.googleads.v13.services.InvoiceService.ListInvoices]. -message ListInvoicesResponse { - // The list of invoices that match the billing setup and time period. - repeated google.ads.googleads.v13.resources.Invoice invoices = 1; -======== // [InvoiceService.ListInvoices][google.ads.googleads.v14.services.InvoiceService.ListInvoices]. message ListInvoicesResponse { // The list of invoices that match the billing setup and time period. repeated google.ads.googleads.v14.resources.Invoice invoices = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/invoice_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/keyword_plan_ad_group_keyword_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/keyword_plan_ad_group_keyword_service.proto index 2af465052..3e540ec80 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/keyword_plan_ad_group_keyword_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/keyword_plan_ad_group_keyword_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/keyword_plan_ad_group_keyword_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/keyword_plan_ad_group_keyword_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,15 +14,9 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/keyword_plan_ad_group_keyword_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/keyword_plan_ad_group_keyword.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/resources/keyword_plan_ad_group_keyword.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/keyword_plan_ad_group_keyword_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -34,16 +24,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/keyword_plan_ad_group_keyword_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanAdGroupKeywordServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -52,7 +32,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/keyword_plan_ad_group_keyword_service.proto // Proto file describing the keyword plan ad group keyword service. @@ -84,11 +63,7 @@ service KeywordPlanAdGroupKeywordService { rpc MutateKeywordPlanAdGroupKeywords(MutateKeywordPlanAdGroupKeywordsRequest) returns (MutateKeywordPlanAdGroupKeywordsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/keyword_plan_ad_group_keyword_service.proto - post: "/v13/customers/{customer_id=*}/keywordPlanAdGroupKeywords:mutate" -======== post: "/v14/customers/{customer_id=*}/keywordPlanAdGroupKeywords:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/keyword_plan_ad_group_keyword_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -96,11 +71,7 @@ service KeywordPlanAdGroupKeywordService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/keyword_plan_ad_group_keyword_service.proto -// [KeywordPlanAdGroupKeywordService.MutateKeywordPlanAdGroupKeywords][google.ads.googleads.v13.services.KeywordPlanAdGroupKeywordService.MutateKeywordPlanAdGroupKeywords]. -======== // [KeywordPlanAdGroupKeywordService.MutateKeywordPlanAdGroupKeywords][google.ads.googleads.v14.services.KeywordPlanAdGroupKeywordService.MutateKeywordPlanAdGroupKeywords]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/keyword_plan_ad_group_keyword_service.proto message MutateKeywordPlanAdGroupKeywordsRequest { // Required. The ID of the customer whose Keyword Plan ad group keywords are // being modified. @@ -133,19 +104,11 @@ message KeywordPlanAdGroupKeywordOperation { oneof operation { // Create operation: No resource name is expected for the new Keyword Plan // ad group keyword. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/keyword_plan_ad_group_keyword_service.proto - google.ads.googleads.v13.resources.KeywordPlanAdGroupKeyword create = 1; - - // Update operation: The Keyword Plan ad group keyword is expected to have a - // valid resource name. - google.ads.googleads.v13.resources.KeywordPlanAdGroupKeyword update = 2; -======== google.ads.googleads.v14.resources.KeywordPlanAdGroupKeyword create = 1; // Update operation: The Keyword Plan ad group keyword is expected to have a // valid resource name. google.ads.googleads.v14.resources.KeywordPlanAdGroupKeyword update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/keyword_plan_ad_group_keyword_service.proto // Remove operation: A resource name for the removed Keyword Plan ad group // keyword is expected, in this format: diff --git a/third_party/googleapis/google/ads/googleads/v14/services/keyword_plan_ad_group_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/keyword_plan_ad_group_service.proto index a49deaf69..eed7dd2e2 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/keyword_plan_ad_group_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/keyword_plan_ad_group_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/keyword_plan_ad_group_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/keyword_plan_ad_group_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,15 +14,9 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/keyword_plan_ad_group_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/keyword_plan_ad_group.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/resources/keyword_plan_ad_group.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/keyword_plan_ad_group_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -34,16 +24,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/keyword_plan_ad_group_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanAdGroupServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -52,7 +32,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/keyword_plan_ad_group_service.proto // Proto file describing the keyword plan ad group service. @@ -82,11 +61,7 @@ service KeywordPlanAdGroupService { rpc MutateKeywordPlanAdGroups(MutateKeywordPlanAdGroupsRequest) returns (MutateKeywordPlanAdGroupsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/keyword_plan_ad_group_service.proto - post: "/v13/customers/{customer_id=*}/keywordPlanAdGroups:mutate" -======== post: "/v14/customers/{customer_id=*}/keywordPlanAdGroups:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/keyword_plan_ad_group_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -94,11 +69,7 @@ service KeywordPlanAdGroupService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/keyword_plan_ad_group_service.proto -// [KeywordPlanAdGroupService.MutateKeywordPlanAdGroups][google.ads.googleads.v13.services.KeywordPlanAdGroupService.MutateKeywordPlanAdGroups]. -======== // [KeywordPlanAdGroupService.MutateKeywordPlanAdGroups][google.ads.googleads.v14.services.KeywordPlanAdGroupService.MutateKeywordPlanAdGroups]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/keyword_plan_ad_group_service.proto message MutateKeywordPlanAdGroupsRequest { // Required. The ID of the customer whose Keyword Plan ad groups are being // modified. @@ -130,19 +101,11 @@ message KeywordPlanAdGroupOperation { oneof operation { // Create operation: No resource name is expected for the new Keyword Plan // ad group. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/keyword_plan_ad_group_service.proto - google.ads.googleads.v13.resources.KeywordPlanAdGroup create = 1; - - // Update operation: The Keyword Plan ad group is expected to have a valid - // resource name. - google.ads.googleads.v13.resources.KeywordPlanAdGroup update = 2; -======== google.ads.googleads.v14.resources.KeywordPlanAdGroup create = 1; // Update operation: The Keyword Plan ad group is expected to have a valid // resource name. google.ads.googleads.v14.resources.KeywordPlanAdGroup update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/keyword_plan_ad_group_service.proto // Remove operation: A resource name for the removed Keyword Plan ad group // is expected, in this format: diff --git a/third_party/googleapis/google/ads/googleads/v14/services/keyword_plan_campaign_keyword_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/keyword_plan_campaign_keyword_service.proto index bfe589a9a..22acafe59 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/keyword_plan_campaign_keyword_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/keyword_plan_campaign_keyword_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/keyword_plan_campaign_keyword_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/keyword_plan_campaign_keyword_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,15 +14,9 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/keyword_plan_campaign_keyword_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/keyword_plan_campaign_keyword.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/resources/keyword_plan_campaign_keyword.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/keyword_plan_campaign_keyword_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -34,16 +24,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/keyword_plan_campaign_keyword_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanCampaignKeywordServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -52,7 +32,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/keyword_plan_campaign_keyword_service.proto // Proto file describing the keyword plan campaign keyword service. @@ -83,11 +62,7 @@ service KeywordPlanCampaignKeywordService { MutateKeywordPlanCampaignKeywordsRequest) returns (MutateKeywordPlanCampaignKeywordsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/keyword_plan_campaign_keyword_service.proto - post: "/v13/customers/{customer_id=*}/keywordPlanCampaignKeywords:mutate" -======== post: "/v14/customers/{customer_id=*}/keywordPlanCampaignKeywords:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/keyword_plan_campaign_keyword_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -95,11 +70,7 @@ service KeywordPlanCampaignKeywordService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/keyword_plan_campaign_keyword_service.proto -// [KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords][google.ads.googleads.v13.services.KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords]. -======== // [KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords][google.ads.googleads.v14.services.KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/keyword_plan_campaign_keyword_service.proto message MutateKeywordPlanCampaignKeywordsRequest { // Required. The ID of the customer whose campaign keywords are being // modified. @@ -132,19 +103,11 @@ message KeywordPlanCampaignKeywordOperation { oneof operation { // Create operation: No resource name is expected for the new Keyword Plan // campaign keyword. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/keyword_plan_campaign_keyword_service.proto - google.ads.googleads.v13.resources.KeywordPlanCampaignKeyword create = 1; - - // Update operation: The Keyword Plan campaign keyword expected to have a - // valid resource name. - google.ads.googleads.v13.resources.KeywordPlanCampaignKeyword update = 2; -======== google.ads.googleads.v14.resources.KeywordPlanCampaignKeyword create = 1; // Update operation: The Keyword Plan campaign keyword expected to have a // valid resource name. google.ads.googleads.v14.resources.KeywordPlanCampaignKeyword update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/keyword_plan_campaign_keyword_service.proto // Remove operation: A resource name for the removed Keyword Plan campaign // keywords expected in this format: diff --git a/third_party/googleapis/google/ads/googleads/v14/services/keyword_plan_campaign_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/keyword_plan_campaign_service.proto index 0951e105a..753dffc4e 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/keyword_plan_campaign_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/keyword_plan_campaign_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/keyword_plan_campaign_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/keyword_plan_campaign_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,15 +14,9 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/keyword_plan_campaign_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/keyword_plan_campaign.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/resources/keyword_plan_campaign.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/keyword_plan_campaign_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -34,16 +24,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/keyword_plan_campaign_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanCampaignServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -52,7 +32,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/keyword_plan_campaign_service.proto // Proto file describing the keyword plan campaign service. @@ -83,11 +62,7 @@ service KeywordPlanCampaignService { rpc MutateKeywordPlanCampaigns(MutateKeywordPlanCampaignsRequest) returns (MutateKeywordPlanCampaignsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/keyword_plan_campaign_service.proto - post: "/v13/customers/{customer_id=*}/keywordPlanCampaigns:mutate" -======== post: "/v14/customers/{customer_id=*}/keywordPlanCampaigns:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/keyword_plan_campaign_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -95,11 +70,7 @@ service KeywordPlanCampaignService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/keyword_plan_campaign_service.proto -// [KeywordPlanCampaignService.MutateKeywordPlanCampaigns][google.ads.googleads.v13.services.KeywordPlanCampaignService.MutateKeywordPlanCampaigns]. -======== // [KeywordPlanCampaignService.MutateKeywordPlanCampaigns][google.ads.googleads.v14.services.KeywordPlanCampaignService.MutateKeywordPlanCampaigns]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/keyword_plan_campaign_service.proto message MutateKeywordPlanCampaignsRequest { // Required. The ID of the customer whose Keyword Plan campaigns are being // modified. @@ -131,19 +102,11 @@ message KeywordPlanCampaignOperation { oneof operation { // Create operation: No resource name is expected for the new Keyword Plan // campaign. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/keyword_plan_campaign_service.proto - google.ads.googleads.v13.resources.KeywordPlanCampaign create = 1; - - // Update operation: The Keyword Plan campaign is expected to have a valid - // resource name. - google.ads.googleads.v13.resources.KeywordPlanCampaign update = 2; -======== google.ads.googleads.v14.resources.KeywordPlanCampaign create = 1; // Update operation: The Keyword Plan campaign is expected to have a valid // resource name. google.ads.googleads.v14.resources.KeywordPlanCampaign update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/keyword_plan_campaign_service.proto // Remove operation: A resource name for the removed Keyword Plan campaign // is expected, in this format: diff --git a/third_party/googleapis/google/ads/googleads/v14/services/keyword_theme_constant_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/keyword_theme_constant_service.proto index 833b006c1..4d0825b10 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/keyword_theme_constant_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/keyword_theme_constant_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/keyword_theme_constant_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/keyword_theme_constant_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/keyword_theme_constant_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/keyword_theme_constant.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "KeywordThemeConstantServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/resources/keyword_theme_constant.proto"; @@ -48,7 +28,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/keyword_theme_constant_service.proto // Proto file describing the Smart Campaign keyword theme constant service. @@ -69,22 +48,14 @@ service KeywordThemeConstantService { rpc SuggestKeywordThemeConstants(SuggestKeywordThemeConstantsRequest) returns (SuggestKeywordThemeConstantsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/keyword_theme_constant_service.proto - post: "/v13/keywordThemeConstants:suggest" -======== post: "/v14/keywordThemeConstants:suggest" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/keyword_theme_constant_service.proto body: "*" }; } } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/keyword_theme_constant_service.proto -// [KeywordThemeConstantService.SuggestKeywordThemeConstants][google.ads.googleads.v13.services.KeywordThemeConstantService.SuggestKeywordThemeConstants]. -======== // [KeywordThemeConstantService.SuggestKeywordThemeConstants][google.ads.googleads.v14.services.KeywordThemeConstantService.SuggestKeywordThemeConstants]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/keyword_theme_constant_service.proto message SuggestKeywordThemeConstantsRequest { // The query text of a keyword theme that will be used to map to similar // keyword themes. For example, "plumber" or "roofer". @@ -100,16 +71,9 @@ message SuggestKeywordThemeConstantsRequest { } // Response message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/keyword_theme_constant_service.proto -// [KeywordThemeConstantService.SuggestKeywordThemeConstants][google.ads.googleads.v13.services.KeywordThemeConstantService.SuggestKeywordThemeConstants]. -message SuggestKeywordThemeConstantsResponse { - // Smart Campaign keyword theme suggestions. - repeated google.ads.googleads.v13.resources.KeywordThemeConstant -======== // [KeywordThemeConstantService.SuggestKeywordThemeConstants][google.ads.googleads.v14.services.KeywordThemeConstantService.SuggestKeywordThemeConstants]. message SuggestKeywordThemeConstantsResponse { // Smart Campaign keyword theme suggestions. repeated google.ads.googleads.v14.resources.KeywordThemeConstant ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/keyword_theme_constant_service.proto keyword_theme_constants = 1; } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/label_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/label_service.proto index 3f6faa6be..19e5d41eb 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/label_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/label_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/label_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/label_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/label_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/label.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/label.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/label_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -36,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/label_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "LabelServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -54,7 +33,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/label_service.proto // Service to manage labels. service LabelService { @@ -89,11 +67,7 @@ service LabelService { // [StringLengthError]() rpc MutateLabels(MutateLabelsRequest) returns (MutateLabelsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/label_service.proto - post: "/v13/customers/{customer_id=*}/labels:mutate" -======== post: "/v14/customers/{customer_id=*}/labels:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/label_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -101,11 +75,7 @@ service LabelService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/label_service.proto -// [LabelService.MutateLabels][google.ads.googleads.v13.services.LabelService.MutateLabels]. -======== // [LabelService.MutateLabels][google.ads.googleads.v14.services.LabelService.MutateLabels]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/label_service.proto message MutateLabelsRequest { // Required. ID of the customer whose labels are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -126,11 +96,7 @@ message MutateLabelsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/label_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/label_service.proto response_content_type = 5; } @@ -142,17 +108,10 @@ message LabelOperation { // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new label. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/label_service.proto - google.ads.googleads.v13.resources.Label create = 1; - - // Update operation: The label is expected to have a valid resource name. - google.ads.googleads.v13.resources.Label update = 2; -======== google.ads.googleads.v14.resources.Label create = 1; // Update operation: The label is expected to have a valid resource name. google.ads.googleads.v14.resources.Label update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/label_service.proto // Remove operation: A resource name for the label being removed, in // this format: @@ -185,9 +144,5 @@ message MutateLabelResult { // The mutated label with only mutable fields after mutate. The field will // only be returned when response_content_type is set to "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/label_service.proto - google.ads.googleads.v13.resources.Label label = 2; -======== google.ads.googleads.v14.resources.Label label = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/label_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/media_file_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/media_file_service.proto index 49841fbcc..8a2c1e28c 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/media_file_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/media_file_service.proto @@ -14,33 +14,16 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/media_file_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/media_file.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/media_file.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/media_file_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/media_file_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "MediaFileServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -49,7 +32,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/media_file_service.proto // Proto file describing the Media File service. @@ -85,23 +67,15 @@ service MediaFileService { rpc MutateMediaFiles(MutateMediaFilesRequest) returns (MutateMediaFilesResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/media_file_service.proto - post: "/v12/customers/{customer_id=*}/mediaFiles:mutate" -======== post: "/v14/customers/{customer_id=*}/mediaFiles:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/media_file_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/media_file_service.proto -// Request message for [MediaFileService.MutateMediaFiles][google.ads.googleads.v12.services.MediaFileService.MutateMediaFiles] -======== // Request message for // [MediaFileService.MutateMediaFiles][google.ads.googleads.v14.services.MediaFileService.MutateMediaFiles] ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/media_file_service.proto message MutateMediaFilesRequest { // Required. The ID of the customer whose media files are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -122,12 +96,8 @@ message MutateMediaFilesRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/media_file_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/media_file_service.proto } // A single operation to create media file. @@ -135,11 +105,7 @@ message MediaFileOperation { // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new media file. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/media_file_service.proto - google.ads.googleads.v12.resources.MediaFile create = 1; -======== google.ads.googleads.v14.resources.MediaFile create = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/media_file_service.proto } } @@ -165,9 +131,5 @@ message MutateMediaFileResult { // The mutated media file with only mutable fields after mutate. The field // will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/media_file_service.proto - google.ads.googleads.v12.resources.MediaFile media_file = 2; -======== google.ads.googleads.v14.resources.MediaFile media_file = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/media_file_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/merchant_center_link_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/merchant_center_link_service.proto index fa5187947..f62d0fe94 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/merchant_center_link_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/merchant_center_link_service.proto @@ -14,31 +14,15 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/merchant_center_link_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/merchant_center_link.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/resources/merchant_center_link.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/merchant_center_link_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/merchant_center_link_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "MerchantCenterLinkServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -47,7 +31,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/merchant_center_link_service.proto // Proto file describing the MerchantCenterLink service. @@ -69,11 +52,7 @@ service MerchantCenterLinkService { rpc ListMerchantCenterLinks(ListMerchantCenterLinksRequest) returns (ListMerchantCenterLinksResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/merchant_center_link_service.proto - get: "/v12/customers/{customer_id=*}/merchantCenterLinks" -======== get: "/v14/customers/{customer_id=*}/merchantCenterLinks" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/merchant_center_link_service.proto }; option (google.api.method_signature) = "customer_id"; } @@ -87,16 +66,10 @@ service MerchantCenterLinkService { // [InternalError]() // [QuotaError]() // [RequestError]() -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/merchant_center_link_service.proto - rpc GetMerchantCenterLink(GetMerchantCenterLinkRequest) returns (google.ads.googleads.v12.resources.MerchantCenterLink) { - option (google.api.http) = { - get: "/v12/{resource_name=customers/*/merchantCenterLinks/*}" -======== rpc GetMerchantCenterLink(GetMerchantCenterLinkRequest) returns (google.ads.googleads.v14.resources.MerchantCenterLink) { option (google.api.http) = { get: "/v14/{resource_name=customers/*/merchantCenterLinks/*}" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/merchant_center_link_service.proto }; option (google.api.method_signature) = "resource_name"; } @@ -114,38 +87,21 @@ service MerchantCenterLinkService { rpc MutateMerchantCenterLink(MutateMerchantCenterLinkRequest) returns (MutateMerchantCenterLinkResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/merchant_center_link_service.proto - post: "/v12/customers/{customer_id=*}/merchantCenterLinks:mutate" -======== post: "/v14/customers/{customer_id=*}/merchantCenterLinks:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/merchant_center_link_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operation"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/merchant_center_link_service.proto -// Request message for [MerchantCenterLinkService.ListMerchantCenterLinks][google.ads.googleads.v12.services.MerchantCenterLinkService.ListMerchantCenterLinks]. -======== // Request message for // [MerchantCenterLinkService.ListMerchantCenterLinks][google.ads.googleads.v14.services.MerchantCenterLinkService.ListMerchantCenterLinks]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/merchant_center_link_service.proto message ListMerchantCenterLinksRequest { // Required. The ID of the customer onto which to apply the Merchant Center // link list operation. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/merchant_center_link_service.proto -// Response message for [MerchantCenterLinkService.ListMerchantCenterLinks][google.ads.googleads.v12.services.MerchantCenterLinkService.ListMerchantCenterLinks]. -message ListMerchantCenterLinksResponse { - // Merchant Center links available for the requested customer - repeated google.ads.googleads.v12.resources.MerchantCenterLink merchant_center_links = 1; -} - -// Request message for [MerchantCenterLinkService.GetMerchantCenterLink][google.ads.googleads.v12.services.MerchantCenterLinkService.GetMerchantCenterLink]. -======== // Response message for // [MerchantCenterLinkService.ListMerchantCenterLinks][google.ads.googleads.v14.services.MerchantCenterLinkService.ListMerchantCenterLinks]. message ListMerchantCenterLinksResponse { @@ -156,7 +112,6 @@ message ListMerchantCenterLinksResponse { // Request message for // [MerchantCenterLinkService.GetMerchantCenterLink][google.ads.googleads.v14.services.MerchantCenterLinkService.GetMerchantCenterLink]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/merchant_center_link_service.proto message GetMerchantCenterLinkRequest { // Required. Resource name of the Merchant Center link. string resource_name = 1 [ @@ -167,12 +122,8 @@ message GetMerchantCenterLinkRequest { ]; } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/merchant_center_link_service.proto -// Request message for [MerchantCenterLinkService.MutateMerchantCenterLink][google.ads.googleads.v12.services.MerchantCenterLinkService.MutateMerchantCenterLink]. -======== // Request message for // [MerchantCenterLinkService.MutateMerchantCenterLink][google.ads.googleads.v14.services.MerchantCenterLinkService.MutateMerchantCenterLink]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/merchant_center_link_service.proto message MutateMerchantCenterLinkRequest { // Required. The ID of the customer being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -195,11 +146,7 @@ message MerchantCenterLinkOperation { oneof operation { // Update operation: The merchant center link is expected to have a valid // resource name. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/merchant_center_link_service.proto - google.ads.googleads.v12.resources.MerchantCenterLink update = 1; -======== google.ads.googleads.v14.resources.MerchantCenterLink update = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/merchant_center_link_service.proto // Remove operation: A resource name for the removed merchant center link is // expected, in this format: diff --git a/third_party/googleapis/google/ads/googleads/v14/services/offline_user_data_job_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/offline_user_data_job_service.proto index cea3cc54b..5ec24361c 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/offline_user_data_job_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/offline_user_data_job_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/offline_user_data_job_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/offline_user_data_job_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/offline_user_data_job_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/common/offline_user_data.proto"; -import "google/ads/googleads/v13/resources/offline_user_data_job.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/common/offline_user_data.proto"; import "google/ads/googleads/v14/resources/offline_user_data_job.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/offline_user_data_job_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -37,16 +26,6 @@ import "google/longrunning/operations.proto"; import "google/protobuf/empty.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/offline_user_data_job_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "OfflineUserDataJobServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -55,7 +34,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/offline_user_data_job_service.proto // Proto file describing the OfflineUserDataJobService. @@ -80,11 +58,7 @@ service OfflineUserDataJobService { rpc CreateOfflineUserDataJob(CreateOfflineUserDataJobRequest) returns (CreateOfflineUserDataJobResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/offline_user_data_job_service.proto - post: "/v13/customers/{customer_id=*}/offlineUserDataJobs:create" -======== post: "/v14/customers/{customer_id=*}/offlineUserDataJobs:create" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/offline_user_data_job_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,job"; @@ -106,11 +80,7 @@ service OfflineUserDataJobService { rpc AddOfflineUserDataJobOperations(AddOfflineUserDataJobOperationsRequest) returns (AddOfflineUserDataJobOperationsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/offline_user_data_job_service.proto - post: "/v13/{resource_name=customers/*/offlineUserDataJobs/*}:addOperations" -======== post: "/v14/{resource_name=customers/*/offlineUserDataJobs/*}:addOperations" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/offline_user_data_job_service.proto body: "*" }; option (google.api.method_signature) = "resource_name,operations"; @@ -133,42 +103,26 @@ service OfflineUserDataJobService { rpc RunOfflineUserDataJob(RunOfflineUserDataJobRequest) returns (google.longrunning.Operation) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/offline_user_data_job_service.proto - post: "/v13/{resource_name=customers/*/offlineUserDataJobs/*}:run" -======== post: "/v14/{resource_name=customers/*/offlineUserDataJobs/*}:run" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/offline_user_data_job_service.proto body: "*" }; option (google.api.method_signature) = "resource_name"; option (google.longrunning.operation_info) = { response_type: "google.protobuf.Empty" -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/offline_user_data_job_service.proto - metadata_type: "google.ads.googleads.v13.resources.OfflineUserDataJobMetadata" -======== metadata_type: "google.ads.googleads.v14.resources.OfflineUserDataJobMetadata" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/offline_user_data_job_service.proto }; } } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/offline_user_data_job_service.proto -// [OfflineUserDataJobService.CreateOfflineUserDataJob][google.ads.googleads.v13.services.OfflineUserDataJobService.CreateOfflineUserDataJob]. -======== // [OfflineUserDataJobService.CreateOfflineUserDataJob][google.ads.googleads.v14.services.OfflineUserDataJobService.CreateOfflineUserDataJob]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/offline_user_data_job_service.proto message CreateOfflineUserDataJobRequest { // Required. The ID of the customer for which to create an offline user data // job. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; // Required. The offline user data job to be created. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/offline_user_data_job_service.proto - google.ads.googleads.v13.resources.OfflineUserDataJob job = 2 -======== google.ads.googleads.v14.resources.OfflineUserDataJob job = 2 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/offline_user_data_job_service.proto [(google.api.field_behavior) = REQUIRED]; // If true, the request is validated but not executed. Only errors are @@ -181,11 +135,7 @@ message CreateOfflineUserDataJobRequest { } // Response message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/offline_user_data_job_service.proto -// [OfflineUserDataJobService.CreateOfflineUserDataJob][google.ads.googleads.v13.services.OfflineUserDataJobService.CreateOfflineUserDataJob]. -======== // [OfflineUserDataJobService.CreateOfflineUserDataJob][google.ads.googleads.v14.services.OfflineUserDataJobService.CreateOfflineUserDataJob]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/offline_user_data_job_service.proto message CreateOfflineUserDataJobResponse { // The resource name of the OfflineUserDataJob. string resource_name = 1 [(google.api.resource_reference) = { @@ -194,11 +144,7 @@ message CreateOfflineUserDataJobResponse { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/offline_user_data_job_service.proto -// [OfflineUserDataJobService.RunOfflineUserDataJob][google.ads.googleads.v13.services.OfflineUserDataJobService.RunOfflineUserDataJob]. -======== // [OfflineUserDataJobService.RunOfflineUserDataJob][google.ads.googleads.v14.services.OfflineUserDataJobService.RunOfflineUserDataJob]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/offline_user_data_job_service.proto message RunOfflineUserDataJobRequest { // Required. The resource name of the OfflineUserDataJob to run. string resource_name = 1 [ @@ -214,11 +160,7 @@ message RunOfflineUserDataJobRequest { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/offline_user_data_job_service.proto -// [OfflineUserDataJobService.AddOfflineUserDataJobOperations][google.ads.googleads.v13.services.OfflineUserDataJobService.AddOfflineUserDataJobOperations]. -======== // [OfflineUserDataJobService.AddOfflineUserDataJobOperations][google.ads.googleads.v14.services.OfflineUserDataJobService.AddOfflineUserDataJobOperations]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/offline_user_data_job_service.proto message AddOfflineUserDataJobOperationsRequest { // Required. The resource name of the OfflineUserDataJob. string resource_name = 1 [ @@ -251,19 +193,11 @@ message OfflineUserDataJobOperation { oneof operation { // Add the provided data to the transaction. Data cannot be retrieved after // being uploaded. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/offline_user_data_job_service.proto - google.ads.googleads.v13.common.UserData create = 1; - - // Remove the provided data from the transaction. Data cannot be retrieved - // after being uploaded. - google.ads.googleads.v13.common.UserData remove = 2; -======== google.ads.googleads.v14.common.UserData create = 1; // Remove the provided data from the transaction. Data cannot be retrieved // after being uploaded. google.ads.googleads.v14.common.UserData remove = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/offline_user_data_job_service.proto // Remove all previously provided data. This is only supported for Customer // Match. @@ -272,11 +206,7 @@ message OfflineUserDataJobOperation { } // Response message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/offline_user_data_job_service.proto -// [OfflineUserDataJobService.AddOfflineUserDataJobOperations][google.ads.googleads.v13.services.OfflineUserDataJobService.AddOfflineUserDataJobOperations]. -======== // [OfflineUserDataJobService.AddOfflineUserDataJobOperations][google.ads.googleads.v14.services.OfflineUserDataJobService.AddOfflineUserDataJobOperations]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/offline_user_data_job_service.proto message AddOfflineUserDataJobOperationsResponse { // Errors that pertain to operation failures in the partial failure mode. // Returned only when partial_failure = true and all errors occur inside the diff --git a/third_party/googleapis/google/ads/googleads/v14/services/payments_account_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/payments_account_service.proto index c2c38d234..eccbda7f1 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/payments_account_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/payments_account_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/payments_account_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/payments_account_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,29 +14,13 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/payments_account_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/payments_account.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/resources/payments_account.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/payments_account_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/payments_account_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "PaymentsAccountServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -49,7 +29,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/payments_account_service.proto // Proto file describing the payments account service. @@ -74,11 +53,7 @@ service PaymentsAccountService { rpc ListPaymentsAccounts(ListPaymentsAccountsRequest) returns (ListPaymentsAccountsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/payments_account_service.proto - get: "/v13/customers/{customer_id=*}/paymentsAccounts" -======== get: "/v14/customers/{customer_id=*}/paymentsAccounts" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/payments_account_service.proto }; option (google.api.method_signature) = "customer_id"; } @@ -92,16 +67,9 @@ message ListPaymentsAccountsRequest { } // Response message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/payments_account_service.proto -// [PaymentsAccountService.ListPaymentsAccounts][google.ads.googleads.v13.services.PaymentsAccountService.ListPaymentsAccounts]. -message ListPaymentsAccountsResponse { - // The list of accessible payments accounts. - repeated google.ads.googleads.v13.resources.PaymentsAccount -======== // [PaymentsAccountService.ListPaymentsAccounts][google.ads.googleads.v14.services.PaymentsAccountService.ListPaymentsAccounts]. message ListPaymentsAccountsResponse { // The list of accessible payments accounts. repeated google.ads.googleads.v14.resources.PaymentsAccount ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/payments_account_service.proto payments_accounts = 1; } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/reach_plan_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/reach_plan_service.proto index f1f66230e..621419668 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/reach_plan_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/reach_plan_service.proto @@ -14,15 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/reach_plan_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/common/criteria.proto"; -import "google/ads/googleads/v12/common/dates.proto"; -import "google/ads/googleads/v12/enums/frequency_cap_time_unit.proto"; -import "google/ads/googleads/v12/enums/reach_plan_age_range.proto"; -import "google/ads/googleads/v12/enums/reach_plan_network.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/common/criteria.proto"; @@ -30,21 +21,10 @@ import "google/ads/googleads/v14/common/dates.proto"; import "google/ads/googleads/v14/enums/frequency_cap_time_unit.proto"; import "google/ads/googleads/v14/enums/reach_plan_age_range.proto"; import "google/ads/googleads/v14/enums/reach_plan_network.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/reach_plan_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/reach_plan_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ReachPlanServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -53,7 +33,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/reach_plan_service.proto // Proto file describing the reach plan service. @@ -78,11 +57,7 @@ service ReachPlanService { rpc ListPlannableLocations(ListPlannableLocationsRequest) returns (ListPlannableLocationsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/reach_plan_service.proto - post: "/v12:listPlannableLocations" -======== post: "/v14:listPlannableLocations" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/reach_plan_service.proto body: "*" }; } @@ -100,11 +75,7 @@ service ReachPlanService { rpc ListPlannableProducts(ListPlannableProductsRequest) returns (ListPlannableProductsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/reach_plan_service.proto - post: "/v12:listPlannableProducts" -======== post: "/v14:listPlannableProducts" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/reach_plan_service.proto body: "*" }; option (google.api.method_signature) = "plannable_location_id"; @@ -125,11 +96,7 @@ service ReachPlanService { rpc GenerateReachForecast(GenerateReachForecastRequest) returns (GenerateReachForecastResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/reach_plan_service.proto - post: "/v12/customers/{customer_id=*}:generateReachForecast" -======== post: "/v14/customers/{customer_id=*}:generateReachForecast" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/reach_plan_service.proto body: "*" }; option (google.api.method_signature) = @@ -137,16 +104,9 @@ service ReachPlanService { } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/reach_plan_service.proto -// Request message for [ReachPlanService.ListPlannableLocations][google.ads.googleads.v12.services.ReachPlanService.ListPlannableLocations]. -message ListPlannableLocationsRequest { - -} -======== // Request message for // [ReachPlanService.ListPlannableLocations][google.ads.googleads.v14.services.ReachPlanService.ListPlannableLocations]. message ListPlannableLocationsRequest {} ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/reach_plan_service.proto // The list of plannable locations. message ListPlannableLocationsResponse { @@ -168,13 +128,8 @@ message PlannableLocation { // The parent country (not present if location is a country). // If present, will always be a GeoTargetConstant ID. Additional information // such as country name is provided by -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/reach_plan_service.proto - // [ReachPlanService.ListPlannableLocations][google.ads.googleads.v12.services.ReachPlanService.ListPlannableLocations] or - // [GoogleAdsService.Search/SearchStream][]. -======== // [ReachPlanService.ListPlannableLocations][google.ads.googleads.v14.services.ReachPlanService.ListPlannableLocations] // or GoogleAdsService.Search/SearchStream. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/reach_plan_service.proto optional int64 parent_country_id = 6; // The ISO-3166-1 alpha-2 country code that is associated with the location. @@ -187,14 +142,9 @@ message PlannableLocation { // Request to list available products in a given location. message ListPlannableProductsRequest { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/reach_plan_service.proto - // Required. The ID of the selected location for planning. To list the available - // plannable location IDs use [ReachPlanService.ListPlannableLocations][google.ads.googleads.v12.services.ReachPlanService.ListPlannableLocations]. -======== // Required. The ID of the selected location for planning. To list the // available plannable location IDs use // [ReachPlanService.ListPlannableLocations][google.ads.googleads.v14.services.ReachPlanService.ListPlannableLocations]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/reach_plan_service.proto string plannable_location_id = 2 [(google.api.field_behavior) = REQUIRED]; } @@ -209,11 +159,7 @@ message ProductMetadata { // The code associated with the ad product (for example: BUMPER, // TRUEVIEW_IN_STREAM). // To list the available plannable product codes use -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/reach_plan_service.proto - // [ReachPlanService.ListPlannableProducts][google.ads.googleads.v12.services.ReachPlanService.ListPlannableProducts]. -======== // [ReachPlanService.ListPlannableProducts][google.ads.googleads.v14.services.ReachPlanService.ListPlannableProducts]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/reach_plan_service.proto optional string plannable_product_code = 4; // The name associated with the ad product. @@ -228,47 +174,29 @@ message PlannableTargeting { // Allowed plannable age ranges for the product for which metrics will be // reported. Actual targeting is computed by mapping this age range onto // standard Google common.AgeRangeInfo values. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/reach_plan_service.proto - repeated google.ads.googleads.v12.enums.ReachPlanAgeRangeEnum.ReachPlanAgeRange age_ranges = 1; - - // Targetable genders for the ad product. - repeated google.ads.googleads.v12.common.GenderInfo genders = 2; -======== repeated google.ads.googleads.v14.enums.ReachPlanAgeRangeEnum.ReachPlanAgeRange age_ranges = 1; // Targetable genders for the ad product. repeated google.ads.googleads.v14.common.GenderInfo genders = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/reach_plan_service.proto // Targetable devices for the ad product. // TABLET device targeting is automatically applied to reported metrics // when MOBILE targeting is selected for CPM_MASTHEAD, // GOOGLE_PREFERRED_BUMPER, and GOOGLE_PREFERRED_SHORT products. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/reach_plan_service.proto - repeated google.ads.googleads.v12.common.DeviceInfo devices = 3; - - // Targetable networks for the ad product. - repeated google.ads.googleads.v12.enums.ReachPlanNetworkEnum.ReachPlanNetwork networks = 4; -======== repeated google.ads.googleads.v14.common.DeviceInfo devices = 3; // Targetable networks for the ad product. repeated google.ads.googleads.v14.enums.ReachPlanNetworkEnum.ReachPlanNetwork networks = 4; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/reach_plan_service.proto // Targetable YouTube Select Lineups for the ad product. repeated YouTubeSelectLineUp youtube_select_lineups = 5; } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/reach_plan_service.proto -// Request message for [ReachPlanService.GenerateReachForecast][google.ads.googleads.v12.services.ReachPlanService.GenerateReachForecast]. -======== // Request message for // [ReachPlanService.GenerateReachForecast][google.ads.googleads.v14.services.ReachPlanService.GenerateReachForecast]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/reach_plan_service.proto message GenerateReachForecastRequest { // Required. The ID of the customer. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -330,21 +258,13 @@ message GenerateReachForecastRequest { // Required. The products to be forecast. // The max number of allowed planned products is 15. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/reach_plan_service.proto - repeated PlannedProduct planned_products = 7 [(google.api.field_behavior) = REQUIRED]; -======== repeated PlannedProduct planned_products = 7 [(google.api.field_behavior) = REQUIRED]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/reach_plan_service.proto // Controls the forecast metrics returned in the response. ForecastMetricOptions forecast_metric_options = 13; // The name of the customer being planned for. This is a user-defined value. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/reach_plan_service.proto - // Required if targeting.audience_targeting is set. -======== ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/reach_plan_service.proto optional string customer_reach_group = 14; } @@ -363,23 +283,15 @@ message FrequencyCap { int32 impressions = 3 [(google.api.field_behavior) = REQUIRED]; // Required. The type of time unit. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/reach_plan_service.proto - google.ads.googleads.v12.enums.FrequencyCapTimeUnitEnum.FrequencyCapTimeUnit time_unit = 2 [(google.api.field_behavior) = REQUIRED]; -======== google.ads.googleads.v14.enums.FrequencyCapTimeUnitEnum.FrequencyCapTimeUnit time_unit = 2 [(google.api.field_behavior) = REQUIRED]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/reach_plan_service.proto } // The targeting for which traffic metrics will be reported. message Targeting { // The ID of the selected location. Plannable location IDs can be -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/reach_plan_service.proto - // obtained from [ReachPlanService.ListPlannableLocations][google.ads.googleads.v12.services.ReachPlanService.ListPlannableLocations]. -======== // obtained from // [ReachPlanService.ListPlannableLocations][google.ads.googleads.v14.services.ReachPlanService.ListPlannableLocations]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/reach_plan_service.proto // // Requests must set either this field or `plannable_location_ids`. // @@ -392,55 +304,33 @@ message Targeting { // If more than one ID is provided, all IDs must have the same // `parent_country_id`. Planning for more than `parent_county` is not // supported. Plannable location IDs and their `parent_country_id` can be -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/reach_plan_service.proto - // obtained from [ReachPlanService.ListPlannableLocations][google.ads.googleads.v12.services.ReachPlanService.ListPlannableLocations]. -======== // obtained from // [ReachPlanService.ListPlannableLocations][google.ads.googleads.v14.services.ReachPlanService.ListPlannableLocations]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/reach_plan_service.proto // // Requests must set either this field or `plannable_location_id`. repeated string plannable_location_ids = 8; // Targeted age range. // An unset value is equivalent to targeting all ages. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/reach_plan_service.proto - google.ads.googleads.v12.enums.ReachPlanAgeRangeEnum.ReachPlanAgeRange age_range = 2; - - // Targeted genders. - // An unset value is equivalent to targeting MALE and FEMALE. - repeated google.ads.googleads.v12.common.GenderInfo genders = 3; -======== google.ads.googleads.v14.enums.ReachPlanAgeRangeEnum.ReachPlanAgeRange age_range = 2; // Targeted genders. // An unset value is equivalent to targeting MALE and FEMALE. repeated google.ads.googleads.v14.common.GenderInfo genders = 3; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/reach_plan_service.proto // Targeted devices. // If not specified, targets all applicable devices. Applicable devices vary // by product and region and can be obtained from -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/reach_plan_service.proto - // [ReachPlanService.ListPlannableProducts][google.ads.googleads.v12.services.ReachPlanService.ListPlannableProducts]. - repeated google.ads.googleads.v12.common.DeviceInfo devices = 4; -======== // [ReachPlanService.ListPlannableProducts][google.ads.googleads.v14.services.ReachPlanService.ListPlannableProducts]. repeated google.ads.googleads.v14.common.DeviceInfo devices = 4; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/reach_plan_service.proto // Targetable network for the ad product. // If not specified, targets all applicable networks. Applicable networks vary // by product and region and can be obtained from -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/reach_plan_service.proto - // [ReachPlanService.ListPlannableProducts][google.ads.googleads.v12.services.ReachPlanService.ListPlannableProducts]. - google.ads.googleads.v12.enums.ReachPlanNetworkEnum.ReachPlanNetwork network = 5; -======== // [ReachPlanService.ListPlannableProducts][google.ads.googleads.v14.services.ReachPlanService.ListPlannableProducts]. google.ads.googleads.v14.enums.ReachPlanNetworkEnum.ReachPlanNetwork network = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/reach_plan_service.proto // Targeted audiences. // If not specified, does not target any specific audience. @@ -460,11 +350,7 @@ message CampaignDuration { // date range must be <= 92 days long. // // This field cannot be combined with the duration_in_days field. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/reach_plan_service.proto - google.ads.googleads.v12.common.DateRange date_range = 3; -======== google.ads.googleads.v14.common.DateRange date_range = 3; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/reach_plan_service.proto } // A product being planned for reach. @@ -472,31 +358,18 @@ message PlannedProduct { // Required. Selected product for planning. // The code associated with the ad product (for example: Trueview, Bumper). // To list the available plannable product codes use -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/reach_plan_service.proto - // [ReachPlanService.ListPlannableProducts][google.ads.googleads.v12.services.ReachPlanService.ListPlannableProducts]. - optional string plannable_product_code = 3; -======== // [ReachPlanService.ListPlannableProducts][google.ads.googleads.v14.services.ReachPlanService.ListPlannableProducts]. optional string plannable_product_code = 3 [(google.api.field_behavior) = REQUIRED]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/reach_plan_service.proto // Required. Maximum budget allocation in micros for the selected product. // The value is specified in the selected planning currency_code. // For example: 1 000 000$ = 1 000 000 000 000 micros. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/reach_plan_service.proto - optional int64 budget_micros = 4; - - // Targeting settings for the selected product. - // To list the available targeting for each product use - // [ReachPlanService.ListPlannableProducts][google.ads.googleads.v12.services.ReachPlanService.ListPlannableProducts]. -======== optional int64 budget_micros = 4 [(google.api.field_behavior) = REQUIRED]; // Targeting settings for the selected product. // To list the available targeting for each product use // [ReachPlanService.ListPlannableProducts][google.ads.googleads.v14.services.ReachPlanService.ListPlannableProducts]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/reach_plan_service.proto AdvancedProductTargeting advanced_product_targeting = 5; } @@ -708,11 +581,7 @@ message ForecastMetricOptions { // Audience targeting for reach forecast. message AudienceTargeting { // List of audiences based on user interests to be targeted. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/reach_plan_service.proto - repeated google.ads.googleads.v12.common.UserInterestInfo user_interest = 1; -======== repeated google.ads.googleads.v14.common.UserInterestInfo user_interest = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/reach_plan_service.proto } // Advanced targeting settings for products. diff --git a/third_party/googleapis/google/ads/googleads/v14/services/recommendation_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/recommendation_service.proto index 7759c21fc..e59edf619 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/recommendation_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/recommendation_service.proto @@ -14,36 +14,18 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/recommendation_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/common/extensions.proto"; -import "google/ads/googleads/v12/enums/keyword_match_type.proto"; -import "google/ads/googleads/v12/resources/ad.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/common/extensions.proto"; import "google/ads/googleads/v14/enums/keyword_match_type.proto"; import "google/ads/googleads/v14/resources/ad.proto"; import "google/ads/googleads/v14/resources/asset.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/recommendation_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/recommendation_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "RecommendationServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -52,7 +34,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/recommendation_service.proto // Proto file describing the Recommendation service. @@ -78,11 +59,7 @@ service RecommendationService { rpc ApplyRecommendation(ApplyRecommendationRequest) returns (ApplyRecommendationResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/recommendation_service.proto - post: "/v12/customers/{customer_id=*}/recommendations:apply" -======== post: "/v14/customers/{customer_id=*}/recommendations:apply" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/recommendation_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -101,23 +78,15 @@ service RecommendationService { rpc DismissRecommendation(DismissRecommendationRequest) returns (DismissRecommendationResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/recommendation_service.proto - post: "/v12/customers/{customer_id=*}/recommendations:dismiss" -======== post: "/v14/customers/{customer_id=*}/recommendations:dismiss" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/recommendation_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/recommendation_service.proto -// Request message for [RecommendationService.ApplyRecommendation][google.ads.googleads.v12.services.RecommendationService.ApplyRecommendation]. -======== // Request message for // [RecommendationService.ApplyRecommendation][google.ads.googleads.v14.services.RecommendationService.ApplyRecommendation]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/recommendation_service.proto message ApplyRecommendationRequest { // Required. The ID of the customer with the recommendation. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -161,11 +130,7 @@ message ApplyRecommendationOperation { message TextAdParameters { // New ad to add to recommended ad group. All necessary fields need to be // set in this message. This is a required field. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/recommendation_service.proto - google.ads.googleads.v12.resources.Ad ad = 1; -======== google.ads.googleads.v14.resources.Ad ad = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/recommendation_service.proto } // Parameters to use when applying keyword recommendation. @@ -174,12 +139,8 @@ message ApplyRecommendationOperation { optional string ad_group = 4; // The match type of the keyword. This is a required field. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/recommendation_service.proto - google.ads.googleads.v12.enums.KeywordMatchTypeEnum.KeywordMatchType match_type = 2; -======== google.ads.googleads.v14.enums.KeywordMatchTypeEnum.KeywordMatchType match_type = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/recommendation_service.proto // Optional, CPC bid to set for the keyword. If not set, keyword will use // bid based on bidding strategy used by target ad group. @@ -210,30 +171,18 @@ message ApplyRecommendationOperation { // Parameters to use when applying callout extension recommendation. message CalloutExtensionParameters { // Callout extensions to be added. This is a required field. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/recommendation_service.proto - repeated google.ads.googleads.v12.common.CalloutFeedItem callout_extensions = 1; -======== repeated google.ads.googleads.v14.common.CalloutFeedItem callout_extensions = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/recommendation_service.proto } // Parameters to use when applying call extension recommendation. message CallExtensionParameters { // Call extensions to be added. This is a required field. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/recommendation_service.proto - repeated google.ads.googleads.v12.common.CallFeedItem call_extensions = 1; -======== repeated google.ads.googleads.v14.common.CallFeedItem call_extensions = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/recommendation_service.proto } // Parameters to use when applying sitelink recommendation. message SitelinkExtensionParameters { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/recommendation_service.proto - // Sitelink extensions to be added. This is a required field. - repeated google.ads.googleads.v12.common.SitelinkFeedItem sitelink_extensions = 1; -======== // Sitelinks to be added. This is a required field. repeated google.ads.googleads.v14.common.SitelinkFeedItem sitelink_extensions = 1; @@ -303,7 +252,6 @@ message ApplyRecommendationOperation { // account. Assets at the campaign scope will override any attached at the // customer scope. ApplyScope scope = 3 [(google.api.field_behavior) = REQUIRED]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/recommendation_service.proto } // Parameters to use when applying move unused budget recommendation. @@ -317,46 +265,29 @@ message ApplyRecommendationOperation { // recommendation. message ResponsiveSearchAdAssetParameters { // Updated ad. The current ad's content will be replaced. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/recommendation_service.proto - google.ads.googleads.v12.resources.Ad updated_ad = 1; -======== google.ads.googleads.v14.resources.Ad updated_ad = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/recommendation_service.proto } // Parameters to use when applying a responsive search ad improve ad strength // recommendation. message ResponsiveSearchAdImproveAdStrengthParameters { // Updated ad. The current ad's content will be replaced. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/recommendation_service.proto - google.ads.googleads.v12.resources.Ad updated_ad = 1; -======== google.ads.googleads.v14.resources.Ad updated_ad = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/recommendation_service.proto } // Parameters to use when applying a responsive search ad recommendation. message ResponsiveSearchAdParameters { // Required. New ad to add to recommended ad group. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/recommendation_service.proto - google.ads.googleads.v12.resources.Ad ad = 1 [(google.api.field_behavior) = REQUIRED]; -======== google.ads.googleads.v14.resources.Ad ad = 1 [(google.api.field_behavior) = REQUIRED]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/recommendation_service.proto } // Parameters to use when applying a raise target CPA bid too low // recommendation. The apply is asynchronous and can take minutes depending on // the number of ad groups there is in the related campaign.. message RaiseTargetCpaBidTooLowParameters { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/recommendation_service.proto - // Required. A number greater than 1.0 indicating the factor by which to increase the - // target CPA. This is a required field. -======== // Required. A number greater than 1.0 indicating the factor by which to // increase the target CPA. This is a required field. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/recommendation_service.proto double target_multiplier = 1 [(google.api.field_behavior) = REQUIRED]; } @@ -415,12 +346,8 @@ message ApplyRecommendationOperation { // Parameters to use when applying a responsive search ad improve ad // strength recommendation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/recommendation_service.proto - ResponsiveSearchAdImproveAdStrengthParameters responsive_search_ad_improve_ad_strength = 14; -======== ResponsiveSearchAdImproveAdStrengthParameters responsive_search_ad_improve_ad_strength = 14; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/recommendation_service.proto // Parameters to use when applying a raise target CPA bid too low // recommendation. The apply is asynchronous and can take minutes depending @@ -430,12 +357,6 @@ message ApplyRecommendationOperation { // Parameters to use when applying a forecasting set target ROAS // recommendation. ForecastingSetTargetRoasParameters forecasting_set_target_roas = 16; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/recommendation_service.proto - } -} - -// Response message for [RecommendationService.ApplyRecommendation][google.ads.googleads.v12.services.RecommendationService.ApplyRecommendation]. -======== // Parameters to use when applying callout asset recommendation. CalloutAssetParameters callout_asset = 17; @@ -456,7 +377,6 @@ message ApplyRecommendationOperation { // Response message for // [RecommendationService.ApplyRecommendation][google.ads.googleads.v14.services.RecommendationService.ApplyRecommendation]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/recommendation_service.proto message ApplyRecommendationResponse { // Results of operations to apply recommendations. repeated ApplyRecommendationResult results = 1; @@ -476,12 +396,8 @@ message ApplyRecommendationResult { }]; } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/recommendation_service.proto -// Request message for [RecommendationService.DismissRecommendation][google.ads.googleads.v12.services.RecommendationService.DismissRecommendation]. -======== // Request message for // [RecommendationService.DismissRecommendation][google.ads.googleads.v14.services.RecommendationService.DismissRecommendation]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/recommendation_service.proto message DismissRecommendationRequest { // Operation to dismiss a single recommendation identified by resource_name. message DismissRecommendationOperation { @@ -505,12 +421,8 @@ message DismissRecommendationRequest { bool partial_failure = 2; } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/recommendation_service.proto -// Response message for [RecommendationService.DismissRecommendation][google.ads.googleads.v12.services.RecommendationService.DismissRecommendation]. -======== // Response message for // [RecommendationService.DismissRecommendation][google.ads.googleads.v14.services.RecommendationService.DismissRecommendation]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/recommendation_service.proto message DismissRecommendationResponse { // The result of dismissing a recommendation. message DismissRecommendationResult { diff --git a/third_party/googleapis/google/ads/googleads/v14/services/remarketing_action_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/remarketing_action_service.proto index b9f7729d0..d1f6b6738 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/remarketing_action_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/remarketing_action_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/remarketing_action_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/remarketing_action_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,15 +14,9 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/remarketing_action_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/remarketing_action.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/resources/remarketing_action.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/remarketing_action_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -34,16 +24,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/remarketing_action_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "RemarketingActionServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -52,7 +32,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/remarketing_action_service.proto // Proto file describing the Remarketing Action service. @@ -74,11 +53,7 @@ service RemarketingActionService { rpc MutateRemarketingActions(MutateRemarketingActionsRequest) returns (MutateRemarketingActionsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/remarketing_action_service.proto - post: "/v13/customers/{customer_id=*}/remarketingActions:mutate" -======== post: "/v14/customers/{customer_id=*}/remarketingActions:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/remarketing_action_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -86,11 +61,7 @@ service RemarketingActionService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/remarketing_action_service.proto -// [RemarketingActionService.MutateRemarketingActions][google.ads.googleads.v13.services.RemarketingActionService.MutateRemarketingActions]. -======== // [RemarketingActionService.MutateRemarketingActions][google.ads.googleads.v14.services.RemarketingActionService.MutateRemarketingActions]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/remarketing_action_service.proto message MutateRemarketingActionsRequest { // Required. The ID of the customer whose remarketing actions are being // modified. @@ -121,19 +92,11 @@ message RemarketingActionOperation { oneof operation { // Create operation: No resource name is expected for the new remarketing // action. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/remarketing_action_service.proto - google.ads.googleads.v13.resources.RemarketingAction create = 1; - - // Update operation: The remarketing action is expected to have a valid - // resource name. - google.ads.googleads.v13.resources.RemarketingAction update = 2; -======== google.ads.googleads.v14.resources.RemarketingAction create = 1; // Update operation: The remarketing action is expected to have a valid // resource name. google.ads.googleads.v14.resources.RemarketingAction update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/remarketing_action_service.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/shared_criterion_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/shared_criterion_service.proto index c90db5cf0..50fc8948e 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/shared_criterion_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/shared_criterion_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/shared_criterion_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/shared_criterion_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,33 +14,16 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/shared_criterion_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/shared_criterion.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/shared_criterion.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/shared_criterion_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/shared_criterion_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "SharedCriterionServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -53,7 +32,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/shared_criterion_service.proto // Proto file describing the Shared Criterion service. @@ -88,11 +66,7 @@ service SharedCriterionService { rpc MutateSharedCriteria(MutateSharedCriteriaRequest) returns (MutateSharedCriteriaResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/shared_criterion_service.proto - post: "/v13/customers/{customer_id=*}/sharedCriteria:mutate" -======== post: "/v14/customers/{customer_id=*}/sharedCriteria:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/shared_criterion_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -100,11 +74,7 @@ service SharedCriterionService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/shared_criterion_service.proto -// [SharedCriterionService.MutateSharedCriteria][google.ads.googleads.v13.services.SharedCriterionService.MutateSharedCriteria]. -======== // [SharedCriterionService.MutateSharedCriteria][google.ads.googleads.v14.services.SharedCriterionService.MutateSharedCriteria]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/shared_criterion_service.proto message MutateSharedCriteriaRequest { // Required. The ID of the customer whose shared criteria are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -125,11 +95,7 @@ message MutateSharedCriteriaRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/shared_criterion_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/shared_criterion_service.proto response_content_type = 5; } @@ -139,11 +105,7 @@ message SharedCriterionOperation { oneof operation { // Create operation: No resource name is expected for the new shared // criterion. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/shared_criterion_service.proto - google.ads.googleads.v13.resources.SharedCriterion create = 1; -======== google.ads.googleads.v14.resources.SharedCriterion create = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/shared_criterion_service.proto // Remove operation: A resource name for the removed shared criterion is // expected, in this format: @@ -177,9 +139,5 @@ message MutateSharedCriterionResult { // The mutated shared criterion with only mutable fields after mutate. The // field will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/shared_criterion_service.proto - google.ads.googleads.v13.resources.SharedCriterion shared_criterion = 2; -======== google.ads.googleads.v14.resources.SharedCriterion shared_criterion = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/shared_criterion_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/shared_set_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/shared_set_service.proto index 2ba877164..05c38d40e 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/shared_set_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/shared_set_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/shared_set_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/shared_set_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/shared_set_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/shared_set.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/enums/response_content_type.proto"; import "google/ads/googleads/v14/resources/shared_set.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/shared_set_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -36,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/shared_set_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "SharedSetServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -54,7 +33,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/shared_set_service.proto // Proto file describing the Shared Set service. @@ -92,11 +70,7 @@ service SharedSetService { rpc MutateSharedSets(MutateSharedSetsRequest) returns (MutateSharedSetsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/shared_set_service.proto - post: "/v13/customers/{customer_id=*}/sharedSets:mutate" -======== post: "/v14/customers/{customer_id=*}/sharedSets:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/shared_set_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -104,11 +78,7 @@ service SharedSetService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/shared_set_service.proto -// [SharedSetService.MutateSharedSets][google.ads.googleads.v13.services.SharedSetService.MutateSharedSets]. -======== // [SharedSetService.MutateSharedSets][google.ads.googleads.v14.services.SharedSetService.MutateSharedSets]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/shared_set_service.proto message MutateSharedSetsRequest { // Required. The ID of the customer whose shared sets are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -129,11 +99,7 @@ message MutateSharedSetsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/shared_set_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v14.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/shared_set_service.proto response_content_type = 5; } @@ -145,19 +111,11 @@ message SharedSetOperation { // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new shared set. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/shared_set_service.proto - google.ads.googleads.v13.resources.SharedSet create = 1; - - // Update operation: The shared set is expected to have a valid resource - // name. - google.ads.googleads.v13.resources.SharedSet update = 2; -======== google.ads.googleads.v14.resources.SharedSet create = 1; // Update operation: The shared set is expected to have a valid resource // name. google.ads.googleads.v14.resources.SharedSet update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/shared_set_service.proto // Remove operation: A resource name for the removed shared set is expected, // in this format: @@ -191,9 +149,5 @@ message MutateSharedSetResult { // The mutated shared set with only mutable fields after mutate. The field // will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/shared_set_service.proto - google.ads.googleads.v13.resources.SharedSet shared_set = 2; -======== google.ads.googleads.v14.resources.SharedSet shared_set = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/shared_set_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v14/services/smart_campaign_suggest_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/smart_campaign_suggest_service.proto index 1547c81b2..d8b053ba1 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/smart_campaign_suggest_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/smart_campaign_suggest_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/smart_campaign_suggest_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/smart_campaign_suggest_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,34 +14,16 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/smart_campaign_suggest_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/common/ad_type_infos.proto"; -import "google/ads/googleads/v13/common/criteria.proto"; -import "google/ads/googleads/v13/resources/keyword_theme_constant.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/common/ad_type_infos.proto"; import "google/ads/googleads/v14/common/criteria.proto"; import "google/ads/googleads/v14/resources/keyword_theme_constant.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/smart_campaign_suggest_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/smart_campaign_suggest_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "SmartCampaignSuggestServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -54,7 +32,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/smart_campaign_suggest_service.proto // Service to get suggestions for Smart Campaigns. service SmartCampaignSuggestService { @@ -66,11 +43,7 @@ service SmartCampaignSuggestService { SuggestSmartCampaignBudgetOptionsRequest) returns (SuggestSmartCampaignBudgetOptionsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/smart_campaign_suggest_service.proto - post: "/v13/customers/{customer_id=*}:suggestSmartCampaignBudgetOptions" -======== post: "/v14/customers/{customer_id=*}:suggestSmartCampaignBudgetOptions" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/smart_campaign_suggest_service.proto body: "*" }; } @@ -80,11 +53,7 @@ service SmartCampaignSuggestService { rpc SuggestSmartCampaignAd(SuggestSmartCampaignAdRequest) returns (SuggestSmartCampaignAdResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/smart_campaign_suggest_service.proto - post: "/v13/customers/{customer_id=*}:suggestSmartCampaignAd" -======== post: "/v14/customers/{customer_id=*}:suggestSmartCampaignAd" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/smart_campaign_suggest_service.proto body: "*" }; } @@ -93,11 +62,7 @@ service SmartCampaignSuggestService { rpc SuggestKeywordThemes(SuggestKeywordThemesRequest) returns (SuggestKeywordThemesResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/smart_campaign_suggest_service.proto - post: "/v13/customers/{customer_id=*}:suggestKeywordThemes" -======== post: "/v14/customers/{customer_id=*}:suggestKeywordThemes" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/smart_campaign_suggest_service.proto body: "*" }; } @@ -133,11 +98,7 @@ message SmartCampaignSuggestionInfo { // A list of locations. message LocationList { // Required. Locations. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/smart_campaign_suggest_service.proto - repeated google.ads.googleads.v13.common.LocationInfo locations = 1 -======== repeated google.ads.googleads.v14.common.LocationInfo locations = 1 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/smart_campaign_suggest_service.proto [(google.api.field_behavior) = REQUIRED]; } @@ -155,20 +116,12 @@ message SmartCampaignSuggestionInfo { string language_code = 3 [(google.api.field_behavior) = OPTIONAL]; // Optional. The business ad schedule. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/smart_campaign_suggest_service.proto - repeated google.ads.googleads.v13.common.AdScheduleInfo ad_schedules = 6 -======== repeated google.ads.googleads.v14.common.AdScheduleInfo ad_schedules = 6 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/smart_campaign_suggest_service.proto [(google.api.field_behavior) = OPTIONAL]; // Optional. Smart campaign keyword themes. This field may greatly improve // suggestion accuracy and we recommend always setting it if possible. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/smart_campaign_suggest_service.proto - repeated google.ads.googleads.v13.common.KeywordThemeInfo keyword_themes = 7 -======== repeated google.ads.googleads.v14.common.KeywordThemeInfo keyword_themes = 7 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/smart_campaign_suggest_service.proto [(google.api.field_behavior) = OPTIONAL]; // The business settings to consider when generating suggestions. @@ -198,11 +151,7 @@ message SmartCampaignSuggestionInfo { LocationList location_list = 4 [(google.api.field_behavior) = OPTIONAL]; // Optional. The targeting geo location by proximity. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/smart_campaign_suggest_service.proto - google.ads.googleads.v13.common.ProximityInfo proximity = 5 -======== google.ads.googleads.v14.common.ProximityInfo proximity = 5 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/smart_campaign_suggest_service.proto [(google.api.field_behavior) = OPTIONAL]; } } @@ -245,11 +194,7 @@ message SuggestSmartCampaignBudgetOptionsResponse { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/smart_campaign_suggest_service.proto -// [SmartCampaignSuggestService.SuggestSmartCampaignAd][google.ads.googleads.v13.services.SmartCampaignSuggestService.SuggestSmartCampaignAd]. -======== // [SmartCampaignSuggestService.SuggestSmartCampaignAd][google.ads.googleads.v14.services.SmartCampaignSuggestService.SuggestSmartCampaignAd]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/smart_campaign_suggest_service.proto message SuggestSmartCampaignAdRequest { // Required. The ID of the customer. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -263,28 +208,16 @@ message SuggestSmartCampaignAdRequest { } // Response message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/smart_campaign_suggest_service.proto -// [SmartCampaignSuggestService.SuggestSmartCampaignAd][google.ads.googleads.v13.services.SmartCampaignSuggestService.SuggestSmartCampaignAd]. -message SuggestSmartCampaignAdResponse { - // Optional. Ad info includes 3 creative headlines and 2 creative - // descriptions. - google.ads.googleads.v13.common.SmartCampaignAdInfo ad_info = 1 -======== // [SmartCampaignSuggestService.SuggestSmartCampaignAd][google.ads.googleads.v14.services.SmartCampaignSuggestService.SuggestSmartCampaignAd]. message SuggestSmartCampaignAdResponse { // Optional. Ad info includes 3 creative headlines and 2 creative // descriptions. google.ads.googleads.v14.common.SmartCampaignAdInfo ad_info = 1 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/smart_campaign_suggest_service.proto [(google.api.field_behavior) = OPTIONAL]; } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/smart_campaign_suggest_service.proto -// [SmartCampaignSuggestService.SuggestKeywordThemes][google.ads.googleads.v13.services.SmartCampaignSuggestService.SuggestKeywordThemes]. -======== // [SmartCampaignSuggestService.SuggestKeywordThemes][google.ads.googleads.v14.services.SmartCampaignSuggestService.SuggestKeywordThemes]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/smart_campaign_suggest_service.proto message SuggestKeywordThemesRequest { // Required. The ID of the customer. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -304,22 +237,14 @@ message SuggestKeywordThemesRequest { } // Response message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/smart_campaign_suggest_service.proto -// [SmartCampaignSuggestService.SuggestKeywordThemes][google.ads.googleads.v13.services.SmartCampaignSuggestService.SuggestKeywordThemes]. -======== // [SmartCampaignSuggestService.SuggestKeywordThemes][google.ads.googleads.v14.services.SmartCampaignSuggestService.SuggestKeywordThemes]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/smart_campaign_suggest_service.proto message SuggestKeywordThemesResponse { // A Smart campaign keyword theme suggestion. message KeywordTheme { // A keyword theme. oneof keyword_theme { // A Smart campaign keyword theme constant. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/smart_campaign_suggest_service.proto - google.ads.googleads.v13.resources.KeywordThemeConstant -======== google.ads.googleads.v14.resources.KeywordThemeConstant ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/smart_campaign_suggest_service.proto keyword_theme_constant = 1; // A free-form text keyword theme. diff --git a/third_party/googleapis/google/ads/googleads/v14/services/third_party_app_analytics_link_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/third_party_app_analytics_link_service.proto index e4988a97e..51c9c99e2 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/third_party_app_analytics_link_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/third_party_app_analytics_link_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/third_party_app_analytics_link_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/third_party_app_analytics_link_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,26 +14,12 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/third_party_app_analytics_link_service.proto -package google.ads.googleads.v13.services; -======== package google.ads.googleads.v14.services; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/third_party_app_analytics_link_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/third_party_app_analytics_link_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ThirdPartyAppAnalyticsLinkServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -46,7 +28,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/third_party_app_analytics_link_service.proto // This service allows management of links between Google Ads and third party // app analytics. @@ -67,22 +48,14 @@ service ThirdPartyAppAnalyticsLinkService { rpc RegenerateShareableLinkId(RegenerateShareableLinkIdRequest) returns (RegenerateShareableLinkIdResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/third_party_app_analytics_link_service.proto - post: "/v13/{resource_name=customers/*/thirdPartyAppAnalyticsLinks/*}:regenerateShareableLinkId" -======== post: "/v14/{resource_name=customers/*/thirdPartyAppAnalyticsLinks/*}:regenerateShareableLinkId" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/third_party_app_analytics_link_service.proto body: "*" }; } } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/third_party_app_analytics_link_service.proto -// [ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId][google.ads.googleads.v13.services.ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId]. -======== // [ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId][google.ads.googleads.v14.services.ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/third_party_app_analytics_link_service.proto message RegenerateShareableLinkIdRequest { // Resource name of the third party app analytics link. string resource_name = 1 [(google.api.resource_reference) = { @@ -91,9 +64,5 @@ message RegenerateShareableLinkIdRequest { } // Response message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/third_party_app_analytics_link_service.proto -// [ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId][google.ads.googleads.v13.services.ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId]. -======== // [ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId][google.ads.googleads.v14.services.ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/third_party_app_analytics_link_service.proto message RegenerateShareableLinkIdResponse {} diff --git a/third_party/googleapis/google/ads/googleads/v14/services/user_data_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/user_data_service.proto index c8cda5f77..0eea346cf 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/user_data_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/user_data_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/user_data_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/user_data_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,29 +14,13 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/user_data_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/common/offline_user_data.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/common/offline_user_data.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/user_data_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/user_data_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "UserDataServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -49,7 +29,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/user_data_service.proto // Proto file describing the UserDataService. @@ -79,22 +58,14 @@ service UserDataService { // [UserDataError]() rpc UploadUserData(UploadUserDataRequest) returns (UploadUserDataResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/user_data_service.proto - post: "/v13/customers/{customer_id=*}:uploadUserData" -======== post: "/v14/customers/{customer_id=*}:uploadUserData" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/user_data_service.proto body: "*" }; } } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/user_data_service.proto -// [UserDataService.UploadUserData][google.ads.googleads.v13.services.UserDataService.UploadUserData] -======== // [UserDataService.UploadUserData][google.ads.googleads.v14.services.UserDataService.UploadUserData] ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/user_data_service.proto message UploadUserDataRequest { // Required. The ID of the customer for which to update the user data. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -106,11 +77,7 @@ message UploadUserDataRequest { // Metadata of the request. oneof metadata { // Metadata for data updates to a Customer Match user list. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/user_data_service.proto - google.ads.googleads.v13.common.CustomerMatchUserListMetadata -======== google.ads.googleads.v14.common.CustomerMatchUserListMetadata ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/user_data_service.proto customer_match_user_list_metadata = 2; } } @@ -120,26 +87,15 @@ message UserDataOperation { // Operation to be made for the UploadUserDataRequest. oneof operation { // The list of user data to be appended to the user list. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/user_data_service.proto - google.ads.googleads.v13.common.UserData create = 1; - - // The list of user data to be removed from the user list. - google.ads.googleads.v13.common.UserData remove = 2; -======== google.ads.googleads.v14.common.UserData create = 1; // The list of user data to be removed from the user list. google.ads.googleads.v14.common.UserData remove = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/user_data_service.proto } } // Response message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/user_data_service.proto -// [UserDataService.UploadUserData][google.ads.googleads.v13.services.UserDataService.UploadUserData] -======== // [UserDataService.UploadUserData][google.ads.googleads.v14.services.UserDataService.UploadUserData] ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/user_data_service.proto // Uploads made through this service will not be visible under the 'Segment // members' section for the Customer Match List in the Google Ads UI. message UploadUserDataResponse { diff --git a/third_party/googleapis/google/ads/googleads/v14/services/user_list_service.proto b/third_party/googleapis/google/ads/googleads/v14/services/user_list_service.proto index ab1992f49..65e1f0c25 100644 --- a/third_party/googleapis/google/ads/googleads/v14/services/user_list_service.proto +++ b/third_party/googleapis/google/ads/googleads/v14/services/user_list_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/user_list_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/user_list_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,15 +14,9 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/user_list_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/resources/user_list.proto"; -======== package google.ads.googleads.v14.services; import "google/ads/googleads/v14/resources/user_list.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/user_list_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -34,16 +24,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/user_list_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "UserListServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V14.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v14/services;services"; option java_multiple_files = true; @@ -52,7 +32,6 @@ option java_package = "com.google.ads.googleads.v14.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V14\\Services"; option ruby_package = "Google::Ads::GoogleAds::V14::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/user_list_service.proto // Proto file describing the User List service. @@ -87,11 +66,7 @@ service UserListService { rpc MutateUserLists(MutateUserListsRequest) returns (MutateUserListsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/user_list_service.proto - post: "/v13/customers/{customer_id=*}/userLists:mutate" -======== post: "/v14/customers/{customer_id=*}/userLists:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/user_list_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -99,11 +74,7 @@ service UserListService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/user_list_service.proto -// [UserListService.MutateUserLists][google.ads.googleads.v13.services.UserListService.MutateUserLists]. -======== // [UserListService.MutateUserLists][google.ads.googleads.v14.services.UserListService.MutateUserLists]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/user_list_service.proto message MutateUserListsRequest { // Required. The ID of the customer whose user lists are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -131,19 +102,11 @@ message UserListOperation { // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new user list. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/user_list_service.proto - google.ads.googleads.v13.resources.UserList create = 1; - - // Update operation: The user list is expected to have a valid resource - // name. - google.ads.googleads.v13.resources.UserList update = 2; -======== google.ads.googleads.v14.resources.UserList create = 1; // Update operation: The user list is expected to have a valid resource // name. google.ads.googleads.v14.resources.UserList update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v14/services/user_list_service.proto // Remove operation: A resource name for the removed user list is expected, // in this format: diff --git a/third_party/googleapis/google/ads/googleads/v15/BUILD.bazel b/third_party/googleapis/google/ads/googleads/v15/BUILD.bazel index 76e9d8b45..291784dc4 100644 --- a/third_party/googleapis/google/ads/googleads/v15/BUILD.bazel +++ b/third_party/googleapis/google/ads/googleads/v15/BUILD.bazel @@ -26,19 +26,11 @@ proto_library( name = "googleads_proto", srcs = [], deps = [ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/BUILD.bazel - "//google/ads/googleads/v12/common:common_proto", - "//google/ads/googleads/v12/enums:enums_proto", - "//google/ads/googleads/v12/errors:errors_proto", - "//google/ads/googleads/v12/resources:resources_proto", - "//google/ads/googleads/v12/services:services_proto", -======== "//google/ads/googleads/v15/common:common_proto", "//google/ads/googleads/v15/enums:enums_proto", "//google/ads/googleads/v15/errors:errors_proto", "//google/ads/googleads/v15/resources:resources_proto", "//google/ads/googleads/v15/services:services_proto", ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/BUILD.bazel ], ) @@ -68,19 +60,11 @@ java_gapic_library( grpc_service_config = ":googleads_grpc_service_config.json", service_yaml = "googleads_v15.yaml", deps = [ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/BUILD.bazel - "//google/ads/googleads/v12/common:common_java_proto", - "//google/ads/googleads/v12/enums:enums_java_proto", - "//google/ads/googleads/v12/resources:resources_java_proto", - "//google/ads/googleads/v12/services:services_java_grpc", - "//google/ads/googleads/v12/services:services_java_proto", -======== "//google/ads/googleads/v15/common:common_java_proto", "//google/ads/googleads/v15/enums:enums_java_proto", "//google/ads/googleads/v15/resources:resources_java_proto", "//google/ads/googleads/v15/services:services_java_grpc", "//google/ads/googleads/v15/services:services_java_proto", ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/BUILD.bazel ], ) @@ -89,11 +73,7 @@ java_gapic_library( java_gapic_test( name = "googleads_java_gapic_suite", test_classes = [ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/BUILD.bazel - "com.google.ads.googleads.v12.services.CampaignServiceClientTest", -======== "com.google.ads.googleads.v15.services.CampaignServiceClientTest", ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/BUILD.bazel ], runtime_deps = [":googleads_java_gapic_test"], ) @@ -102,15 +82,6 @@ java_gapic_assembly_gradle_pkg( name = "googleads-java", deps = [ ":googleads_java_gapic", -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/BUILD.bazel - "//google/ads/googleads/v12:googleads_proto", - "//google/ads/googleads/v12/common:common_java_proto", - "//google/ads/googleads/v12/enums:enums_java_proto", - "//google/ads/googleads/v12/errors:errors_java_proto", - "//google/ads/googleads/v12/resources:resources_java_proto", - "//google/ads/googleads/v12/services:services_java_grpc", - "//google/ads/googleads/v12/services:services_java_proto", -======== "//google/ads/googleads/v15:googleads_proto", "//google/ads/googleads/v15/common:common_java_proto", "//google/ads/googleads/v15/enums:enums_java_proto", @@ -118,7 +89,6 @@ java_gapic_assembly_gradle_pkg( "//google/ads/googleads/v15/resources:resources_java_proto", "//google/ads/googleads/v15/services:services_java_grpc", "//google/ads/googleads/v15/services:services_java_proto", ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/BUILD.bazel ], ) @@ -150,13 +120,9 @@ php_gapic_library( srcs = [":googleads_proto"], gapic_yaml = "googleads_gapic.yaml", grpc_service_config = "googleads_grpc_service_config.json", -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/BUILD.bazel - service_yaml = "googleads_v12.yaml", -======== service_yaml = "googleads_v15.yaml", generate_snippets = False, migration_mode = "NEW_SURFACE_ONLY", ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/BUILD.bazel deps = [ ":googleads_php_grpc", ":googleads_php_proto", @@ -187,15 +153,9 @@ csharp_gapic_library( ":googleads_proto_with_info", ], grpc_service_config = "googleads_grpc_service_config.json", -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/BUILD.bazel - service_yaml = "googleads_v12.yaml", - deps = [ - "//google/ads/googleads/v12/services:services_csharp_grpc", -======== service_yaml = "googleads_v15.yaml", deps = [ "//google/ads/googleads/v15/services:services_csharp_grpc", ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/BUILD.bazel ], ) @@ -203,21 +163,12 @@ csharp_gapic_assembly_pkg( name = "googleads-csharp", deps = [ ":googleads_csharp_gapic", -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/BUILD.bazel - "//google/ads/googleads/v12/common:common_csharp_proto", - "//google/ads/googleads/v12/enums:enums_csharp_proto", - "//google/ads/googleads/v12/errors:errors_csharp_proto", - "//google/ads/googleads/v12/resources:resources_csharp_proto", - "//google/ads/googleads/v12/services:services_csharp_grpc", - "//google/ads/googleads/v12/services:services_csharp_proto", -======== "//google/ads/googleads/v15/common:common_csharp_proto", "//google/ads/googleads/v15/enums:enums_csharp_proto", "//google/ads/googleads/v15/errors:errors_csharp_proto", "//google/ads/googleads/v15/resources:resources_csharp_proto", "//google/ads/googleads/v15/services:services_csharp_grpc", "//google/ads/googleads/v15/services:services_csharp_proto", ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/BUILD.bazel ], ) @@ -239,32 +190,19 @@ ruby_ads_gapic_library( ":overrides.:namespace.Googleads=GoogleAds", ], grpc_service_config = "googleads_grpc_service_config.json", -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/BUILD.bazel - service_yaml = "googleads_v12.yaml", -======== service_yaml = "googleads_v15.yaml", ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/BUILD.bazel ) ruby_gapic_assembly_pkg( name = "googleads-ruby", deps = [ ":googleads_ruby_gapic", -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/BUILD.bazel - "//google/ads/googleads/v12/common:common_ruby_proto", - "//google/ads/googleads/v12/enums:enums_ruby_proto", - "//google/ads/googleads/v12/errors:errors_ruby_proto", - "//google/ads/googleads/v12/resources:resources_ruby_proto", - "//google/ads/googleads/v12/services:services_ruby_grpc", - "//google/ads/googleads/v12/services:services_ruby_proto", -======== "//google/ads/googleads/v15/common:common_ruby_proto", "//google/ads/googleads/v15/enums:enums_ruby_proto", "//google/ads/googleads/v15/errors:errors_ruby_proto", "//google/ads/googleads/v15/resources:resources_ruby_proto", "//google/ads/googleads/v15/services:services_ruby_grpc", "//google/ads/googleads/v15/services:services_ruby_proto", ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/BUILD.bazel ], ) @@ -289,22 +227,12 @@ py_gapic_library( "python-gapic-templates=ads-templates", "warehouse-package-name=google-ads", ], - service_yaml = "googleads_v12.yaml", ) py_gapic_assembly_pkg( name = "googleads-py", deps = [ ":googleads_py_gapic", -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/BUILD.bazel - "//google/ads/googleads/v12/common:common_py_proto", - "//google/ads/googleads/v12/enums:enums_py_proto", - "//google/ads/googleads/v12/errors:errors_py_proto", - "//google/ads/googleads/v12/resources:resources_py_proto", - "//google/ads/googleads/v12/services:services_py_grpc", - "//google/ads/googleads/v12/services:services_py_proto", -======== ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/BUILD.bazel ], ) @@ -324,13 +252,8 @@ nodejs_gapic_library( extra_protoc_parameters = ["metadata"], grpc_service_config = "googleads_grpc_service_config.json", main_service = "GoogleAdsService", -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/BUILD.bazel - package = "google.ads.googleads.v12", - service_yaml = "googleads_v12.yaml", -======== package = "google.ads.googleads.v15", service_yaml = "googleads_v15.yaml", ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/BUILD.bazel deps = [], ) diff --git a/third_party/googleapis/google/ads/googleads/v15/common/BUILD.bazel b/third_party/googleapis/google/ads/googleads/v15/common/BUILD.bazel index 6997ba39a..228c7abb6 100644 --- a/third_party/googleapis/google/ads/googleads/v15/common/BUILD.bazel +++ b/third_party/googleapis/google/ads/googleads/v15/common/BUILD.bazel @@ -26,11 +26,7 @@ proto_library( name = "common_proto", srcs = glob(["*.proto"]), deps = [ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/BUILD.bazel - "//google/ads/googleads/v13/enums:enums_proto", -======== "//google/ads/googleads/v15/enums:enums_proto", ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/BUILD.bazel "//google/api:annotations_proto", "//google/api:field_behavior_proto", "//google/api:resource_proto", diff --git a/third_party/googleapis/google/ads/googleads/v15/common/ad_asset.proto b/third_party/googleapis/google/ads/googleads/v15/common/ad_asset.proto index 50d4ec788..98f391904 100644 --- a/third_party/googleapis/google/ads/googleads/v15/common/ad_asset.proto +++ b/third_party/googleapis/google/ads/googleads/v15/common/ad_asset.proto @@ -14,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/ad_asset.proto -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/common/asset_policy.proto"; -import "google/ads/googleads/v12/enums/asset_performance_label.proto"; -import "google/ads/googleads/v12/enums/served_asset_field_type.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "AdAssetProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; -======== package google.ads.googleads.v15.common; import "google/ads/googleads/v15/common/asset_policy.proto"; @@ -44,7 +28,6 @@ option java_package = "com.google.ads.googleads.v15.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Common"; option ruby_package = "Google::Ads::GoogleAds::V15::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/ad_asset.proto // Proto file describing assets used inside an ad. @@ -57,19 +40,12 @@ message AdTextAsset { // within this field. Multiple assets can be pinned to the same field. An // asset that is unpinned or pinned to a different field will not serve in a // field where some other asset has been pinned. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/ad_asset.proto - google.ads.googleads.v12.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType pinned_field = 2; - - // The performance label of this text asset. - google.ads.googleads.v12.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel asset_performance_label = 5; -======== google.ads.googleads.v15.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType pinned_field = 2; // The performance label of this text asset. google.ads.googleads.v15.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel asset_performance_label = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/ad_asset.proto // The policy summary of this text asset. AdAssetPolicySummary policy_summary_info = 6; diff --git a/third_party/googleapis/google/ads/googleads/v15/common/ad_type_infos.proto b/third_party/googleapis/google/ads/googleads/v15/common/ad_type_infos.proto index 792788718..981f959dd 100644 --- a/third_party/googleapis/google/ads/googleads/v15/common/ad_type_infos.proto +++ b/third_party/googleapis/google/ads/googleads/v15/common/ad_type_infos.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/ad_type_infos.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/ad_type_infos.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,27 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/ad_type_infos.proto -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/common/ad_asset.proto"; -import "google/ads/googleads/v13/enums/call_conversion_reporting_state.proto"; -import "google/ads/googleads/v13/enums/display_ad_format_setting.proto"; -import "google/ads/googleads/v13/enums/display_upload_product_type.proto"; -import "google/ads/googleads/v13/enums/legacy_app_install_ad_app_store.proto"; -import "google/ads/googleads/v13/enums/mime_type.proto"; -import "google/ads/googleads/v13/enums/video_thumbnail.proto"; -import "google/api/field_behavior.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "AdTypeInfosProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; -======== package google.ads.googleads.v15.common; import "google/ads/googleads/v15/common/ad_asset.proto"; @@ -58,7 +33,6 @@ option java_package = "com.google.ads.googleads.v15.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Common"; option ruby_package = "Google::Ads::GoogleAds::V15::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/ad_type_infos.proto // Proto file containing info messages for specific ad types. @@ -147,11 +121,7 @@ message ImageAdInfo { optional string preview_image_url = 20; // The mime type of the image. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/ad_type_infos.proto - google.ads.googleads.v13.enums.MimeTypeEnum.MimeType mime_type = 10; -======== google.ads.googleads.v15.enums.MimeTypeEnum.MimeType mime_type = 10; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/ad_type_infos.proto // The name of the image. If the image was created from a MediaFile, this is // the MediaFile's name. If the image was created from bytes, this is empty. @@ -242,11 +212,7 @@ message InFeedVideoAdInfo { string description2 = 3; // Video thumbnail image to use. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/ad_type_infos.proto - google.ads.googleads.v13.enums.VideoThumbnailEnum.VideoThumbnail thumbnail = -======== google.ads.googleads.v15.enums.VideoThumbnailEnum.VideoThumbnail thumbnail = ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/ad_type_infos.proto 4; } @@ -384,11 +350,7 @@ message LegacyResponsiveDisplayAdInfo { optional string square_marketing_image = 27; // Specifies which format the ad will be served in. Default is ALL_FORMATS. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/ad_type_infos.proto - google.ads.googleads.v13.enums.DisplayAdFormatSettingEnum -======== google.ads.googleads.v15.enums.DisplayAdFormatSettingEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/ad_type_infos.proto .DisplayAdFormatSetting format_setting = 13; // Prefix before price. For example, 'as low as'. @@ -469,11 +431,7 @@ message LegacyAppInstallAdInfo { optional string app_id = 6; // The app store the mobile app is available in. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/ad_type_infos.proto - google.ads.googleads.v13.enums.LegacyAppInstallAdAppStoreEnum -======== google.ads.googleads.v15.enums.LegacyAppInstallAdAppStoreEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/ad_type_infos.proto .LegacyAppInstallAdAppStore app_store = 2; // The headline of the ad. @@ -555,11 +513,7 @@ message ResponsiveDisplayAdInfo { optional string promo_text = 23; // Specifies which format the ad will be served in. Default is ALL_FORMATS. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/ad_type_infos.proto - google.ads.googleads.v13.enums.DisplayAdFormatSettingEnum -======== google.ads.googleads.v15.enums.DisplayAdFormatSettingEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/ad_type_infos.proto .DisplayAdFormatSetting format_setting = 16; // Specification for various creative controls. @@ -610,11 +564,7 @@ message LocalAdInfo { // need to be included with the ad. message DisplayUploadAdInfo { // The product type of this ad. See comments on the enum for details. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/ad_type_infos.proto - google.ads.googleads.v13.enums.DisplayUploadProductTypeEnum -======== google.ads.googleads.v15.enums.DisplayUploadProductTypeEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/ad_type_infos.proto .DisplayUploadProductType display_upload_product_type = 1; // The asset data that makes up the ad. @@ -693,11 +643,7 @@ message CallAdInfo { // The call conversion behavior of this call ad. It can use its own call // conversion setting, inherit the account level setting, or be disabled. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/ad_type_infos.proto - google.ads.googleads.v13.enums.CallConversionReportingStateEnum -======== google.ads.googleads.v15.enums.CallConversionReportingStateEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/ad_type_infos.proto .CallConversionReportingState conversion_reporting_state = 10; // First part of text that can be appended to the URL in the ad. Optional. @@ -774,8 +720,6 @@ message DiscoveryCarouselAdInfo { repeated AdDiscoveryCarouselCardAsset carousel_cards = 6 [(google.api.field_behavior) = REQUIRED]; } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/ad_type_infos.proto -======== // A discovery video responsive ad. message DiscoveryVideoResponsiveAdInfo { @@ -808,4 +752,3 @@ message DiscoveryVideoResponsiveAdInfo { // Assets of type CallToActionAsset used for the "Call To Action" button. repeated AdCallToActionAsset call_to_actions = 9; } ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/ad_type_infos.proto diff --git a/third_party/googleapis/google/ads/googleads/v15/common/asset_types.proto b/third_party/googleapis/google/ads/googleads/v15/common/asset_types.proto index 45f85730c..94960c71a 100644 --- a/third_party/googleapis/google/ads/googleads/v15/common/asset_types.proto +++ b/third_party/googleapis/google/ads/googleads/v15/common/asset_types.proto @@ -14,37 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/asset_types.proto -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/common/criteria.proto"; -import "google/ads/googleads/v12/common/feed_common.proto"; -import "google/ads/googleads/v12/enums/call_conversion_reporting_state.proto"; -import "google/ads/googleads/v12/enums/call_to_action_type.proto"; -import "google/ads/googleads/v12/enums/lead_form_call_to_action_type.proto"; -import "google/ads/googleads/v12/enums/lead_form_desired_intent.proto"; -import "google/ads/googleads/v12/enums/lead_form_field_user_input_type.proto"; -import "google/ads/googleads/v12/enums/lead_form_post_submit_call_to_action_type.proto"; -import "google/ads/googleads/v12/enums/location_ownership_type.proto"; -import "google/ads/googleads/v12/enums/mime_type.proto"; -import "google/ads/googleads/v12/enums/mobile_app_vendor.proto"; -import "google/ads/googleads/v12/enums/price_extension_price_qualifier.proto"; -import "google/ads/googleads/v12/enums/price_extension_price_unit.proto"; -import "google/ads/googleads/v12/enums/price_extension_type.proto"; -import "google/ads/googleads/v12/enums/promotion_extension_discount_modifier.proto"; -import "google/ads/googleads/v12/enums/promotion_extension_occasion.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "AssetTypesProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; -======== package google.ads.googleads.v15.common; import "google/ads/googleads/v15/common/criteria.proto"; @@ -74,7 +43,6 @@ option java_package = "com.google.ads.googleads.v15.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Common"; option ruby_package = "Google::Ads::GoogleAds::V15::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/asset_types.proto // Proto file containing info messages for specific asset types. @@ -106,11 +74,7 @@ message ImageAsset { optional int64 file_size = 6; // MIME type of the image asset. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/asset_types.proto - google.ads.googleads.v12.enums.MimeTypeEnum.MimeType mime_type = 3; -======== google.ads.googleads.v15.enums.MimeTypeEnum.MimeType mime_type = 3; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/asset_types.proto // Metadata for this image at its original size. ImageDimension full_size = 4; @@ -140,13 +104,9 @@ message LeadFormAsset { string business_name = 10 [(google.api.field_behavior) = REQUIRED]; // Required. Pre-defined display text that encourages user to expand the form. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/asset_types.proto - google.ads.googleads.v12.enums.LeadFormCallToActionTypeEnum.LeadFormCallToActionType call_to_action_type = 17 [(google.api.field_behavior) = REQUIRED]; -======== google.ads.googleads.v15.enums.LeadFormCallToActionTypeEnum .LeadFormCallToActionType call_to_action_type = 17 [(google.api.field_behavior) = REQUIRED]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/asset_types.proto // Required. Text giving a clear value proposition of what users expect once // they expand the form. @@ -187,12 +147,8 @@ message LeadFormAsset { // Pre-defined display text that encourages user action after the form is // submitted. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/asset_types.proto - google.ads.googleads.v12.enums.LeadFormPostSubmitCallToActionTypeEnum.LeadFormPostSubmitCallToActionType post_submit_call_to_action_type = 19; -======== google.ads.googleads.v15.enums.LeadFormPostSubmitCallToActionTypeEnum .LeadFormPostSubmitCallToActionType post_submit_call_to_action_type = 19; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/asset_types.proto // Asset resource name of the background image. The minimum size is 600x314 // and the aspect ratio must be 1.91:1 (+-1%). @@ -200,12 +156,8 @@ message LeadFormAsset { // Chosen intent for the lead form, for example, more volume or more // qualified. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/asset_types.proto - google.ads.googleads.v12.enums.LeadFormDesiredIntentEnum.LeadFormDesiredIntent desired_intent = 21; -======== google.ads.googleads.v15.enums.LeadFormDesiredIntentEnum.LeadFormDesiredIntent desired_intent = 21; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/asset_types.proto // Custom disclosure shown along with Google disclaimer on the lead form. // Accessible to allowed customers only. @@ -216,12 +168,8 @@ message LeadFormAsset { message LeadFormField { // Describes the input type, which may be a predefined type such as "full // name" or a pre-vetted question like "What kind of vehicle do you have?". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/asset_types.proto - google.ads.googleads.v12.enums.LeadFormFieldUserInputTypeEnum.LeadFormFieldUserInputType input_type = 1; -======== google.ads.googleads.v15.enums.LeadFormFieldUserInputTypeEnum .LeadFormFieldUserInputType input_type = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/asset_types.proto // Defines answer configuration that this form field accepts. If oneof is not // set, this is a free-text answer. @@ -306,12 +254,8 @@ message PromotionAsset { string promotion_target = 1 [(google.api.field_behavior) = REQUIRED]; // A modifier for qualification of the discount. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/asset_types.proto - google.ads.googleads.v12.enums.PromotionExtensionDiscountModifierEnum.PromotionExtensionDiscountModifier discount_modifier = 2; -======== google.ads.googleads.v15.enums.PromotionExtensionDiscountModifierEnum .PromotionExtensionDiscountModifier discount_modifier = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/asset_types.proto // Start date of when the promotion is eligible to be redeemed, in yyyy-MM-dd // format. @@ -324,12 +268,8 @@ message PromotionAsset { // The occasion the promotion was intended for. // If an occasion is set, the redemption window will need to fall within the // date range associated with the occasion. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/asset_types.proto - google.ads.googleads.v12.enums.PromotionExtensionOccasionEnum.PromotionExtensionOccasion occasion = 9; -======== google.ads.googleads.v15.enums.PromotionExtensionOccasionEnum .PromotionExtensionOccasion occasion = 9; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/asset_types.proto // The language of the promotion. // Represented as BCP 47 language tag. @@ -507,12 +447,8 @@ message MobileAppAsset { string app_id = 1 [(google.api.field_behavior) = REQUIRED]; // Required. The application store that distributes this specific app. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/asset_types.proto - google.ads.googleads.v12.enums.MobileAppVendorEnum.MobileAppVendor app_store = 2 [(google.api.field_behavior) = REQUIRED]; -======== google.ads.googleads.v15.enums.MobileAppVendorEnum.MobileAppVendor app_store = 2 [(google.api.field_behavior) = REQUIRED]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/asset_types.proto // Required. The visible text displayed when the link is rendered in an ad. // The length of this string should be between 1 and 25, inclusive. @@ -550,12 +486,8 @@ message CallAsset { // Indicates whether this CallAsset should use its own call conversion // setting, follow the account level setting, or disable call conversion. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/asset_types.proto - google.ads.googleads.v12.enums.CallConversionReportingStateEnum.CallConversionReportingState call_conversion_reporting_state = 3; -======== google.ads.googleads.v15.enums.CallConversionReportingStateEnum .CallConversionReportingState call_conversion_reporting_state = 3; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/asset_types.proto // The conversion action to attribute a call conversion to. If not set, the // default conversion action is used. This field only has effect if @@ -574,19 +506,12 @@ message CallAsset { // An asset representing a list of price offers. message PriceAsset { // Required. The type of the price asset. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/asset_types.proto - google.ads.googleads.v12.enums.PriceExtensionTypeEnum.PriceExtensionType type = 1 [(google.api.field_behavior) = REQUIRED]; - - // The price qualifier of the price asset. - google.ads.googleads.v12.enums.PriceExtensionPriceQualifierEnum.PriceExtensionPriceQualifier price_qualifier = 2; -======== google.ads.googleads.v15.enums.PriceExtensionTypeEnum.PriceExtensionType type = 1 [(google.api.field_behavior) = REQUIRED]; // The price qualifier of the price asset. google.ads.googleads.v15.enums.PriceExtensionPriceQualifierEnum .PriceExtensionPriceQualifier price_qualifier = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/asset_types.proto // Required. The language of the price asset. // Represented as BCP 47 language tag. @@ -611,12 +536,8 @@ message PriceOffering { Money price = 3 [(google.api.field_behavior) = REQUIRED]; // The price unit of the price offering. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/asset_types.proto - google.ads.googleads.v12.enums.PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit unit = 4; -======== google.ads.googleads.v15.enums.PriceExtensionPriceUnitEnum .PriceExtensionPriceUnit unit = 4; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/asset_types.proto // Required. The final URL after all cross domain redirects. string final_url = 5 [(google.api.field_behavior) = REQUIRED]; @@ -628,12 +549,8 @@ message PriceOffering { // A call to action asset. message CallToActionAsset { // Call to action. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/asset_types.proto - google.ads.googleads.v12.enums.CallToActionTypeEnum.CallToActionType call_to_action = 1; -======== google.ads.googleads.v15.enums.CallToActionTypeEnum.CallToActionType call_to_action = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/asset_types.proto } // A dynamic real estate asset. @@ -987,12 +904,8 @@ message DynamicLocalAsset { // be unique and match the values of remarketing tag. Required. string deal_id = 1 [(google.api.field_behavior) = REQUIRED]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/asset_types.proto - // Required. Deal name, for example, 50% off at Mountain View Grocers. Required. -======== // Required. Deal name, for example, 50% off at Mountain View Grocers. // Required. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/asset_types.proto string deal_name = 2 [(google.api.field_behavior) = REQUIRED]; // Subtitle, for example, Groceries. @@ -1122,12 +1035,8 @@ message LocationAsset { // The type of location ownership. // If the type is BUSINESS_OWNER, it will be served as a location extension. // If the type is AFFILIATE, it will be served as an affiliate location. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/asset_types.proto - google.ads.googleads.v12.enums.LocationOwnershipTypeEnum.LocationOwnershipType location_ownership_type = 3; -======== google.ads.googleads.v15.enums.LocationOwnershipTypeEnum.LocationOwnershipType location_ownership_type = 3; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/asset_types.proto } // Business Profile location data synced from the linked Business Profile @@ -1145,8 +1054,6 @@ message BusinessProfileLocation { // linked Business Profile account. int64 listing_id = 3; } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/asset_types.proto -======== // A hotel property asset. message HotelPropertyAsset { @@ -1161,4 +1068,3 @@ message HotelPropertyAsset { // Name of the hotel. Read-only. string hotel_name = 3; } ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/asset_types.proto diff --git a/third_party/googleapis/google/ads/googleads/v15/common/asset_usage.proto b/third_party/googleapis/google/ads/googleads/v15/common/asset_usage.proto index 40b5c5816..e39544374 100644 --- a/third_party/googleapis/google/ads/googleads/v15/common/asset_usage.proto +++ b/third_party/googleapis/google/ads/googleads/v15/common/asset_usage.proto @@ -14,20 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/asset_usage.proto -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/enums/served_asset_field_type.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "AssetUsageProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; -======== package google.ads.googleads.v15.common; import "google/ads/googleads/v15/enums/served_asset_field_type.proto"; @@ -40,7 +26,6 @@ option java_package = "com.google.ads.googleads.v15.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Common"; option ruby_package = "Google::Ads::GoogleAds::V15::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/asset_usage.proto // Proto file describing asset usage. @@ -50,10 +35,6 @@ message AssetUsage { string asset = 1; // The served field type of the asset. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/asset_usage.proto - google.ads.googleads.v12.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType served_asset_field_type = 2; -======== google.ads.googleads.v15.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType served_asset_field_type = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/asset_usage.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/common/audiences.proto b/third_party/googleapis/google/ads/googleads/v15/common/audiences.proto index ea7b0353f..36e4556f4 100644 --- a/third_party/googleapis/google/ads/googleads/v15/common/audiences.proto +++ b/third_party/googleapis/google/ads/googleads/v15/common/audiences.proto @@ -14,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/audiences.proto -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/enums/gender_type.proto"; -import "google/ads/googleads/v12/enums/income_range_type.proto"; -import "google/ads/googleads/v12/enums/parental_status_type.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "AudiencesProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; -======== package google.ads.googleads.v15.common; import "google/ads/googleads/v15/enums/gender_type.proto"; @@ -44,7 +28,6 @@ option java_package = "com.google.ads.googleads.v15.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Common"; option ruby_package = "Google::Ads::GoogleAds::V15::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/audiences.proto // Positive dimension specifying user's audience. message AudienceDimension { @@ -107,11 +90,7 @@ message AgeSegment { // Dimension specifying users by their gender. message GenderDimension { // Included gender demographic segments. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/audiences.proto - repeated google.ads.googleads.v12.enums.GenderTypeEnum.GenderType genders = 1; -======== repeated google.ads.googleads.v15.enums.GenderTypeEnum.GenderType genders = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/audiences.proto // Include users whose gender is not determined. optional bool include_undetermined = 2; @@ -120,12 +99,8 @@ message GenderDimension { // Dimension specifying users by their household income. message HouseholdIncomeDimension { // Included household income demographic segments. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/audiences.proto - repeated google.ads.googleads.v12.enums.IncomeRangeTypeEnum.IncomeRangeType income_ranges = 1; -======== repeated google.ads.googleads.v15.enums.IncomeRangeTypeEnum.IncomeRangeType income_ranges = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/audiences.proto // Include users whose household income is not determined. optional bool include_undetermined = 2; @@ -134,13 +109,9 @@ message HouseholdIncomeDimension { // Dimension specifying users by their parental status. message ParentalStatusDimension { // Included parental status demographic segments. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/audiences.proto - repeated google.ads.googleads.v12.enums.ParentalStatusTypeEnum.ParentalStatusType parental_statuses = 1; -======== repeated google.ads.googleads.v15.enums.ParentalStatusTypeEnum.ParentalStatusType parental_statuses = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/audiences.proto // Include users whose parental status is undetermined. optional bool include_undetermined = 2; diff --git a/third_party/googleapis/google/ads/googleads/v15/common/bidding.proto b/third_party/googleapis/google/ads/googleads/v15/common/bidding.proto index 604b60c5d..d84fe57f1 100644 --- a/third_party/googleapis/google/ads/googleads/v15/common/bidding.proto +++ b/third_party/googleapis/google/ads/googleads/v15/common/bidding.proto @@ -14,20 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/bidding.proto -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/enums/target_impression_share_location.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "BiddingProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; -======== package google.ads.googleads.v15.common; import "google/ads/googleads/v15/enums/target_frequency_time_unit.proto"; @@ -41,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Common"; option ruby_package = "Google::Ads::GoogleAds::V15::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/bidding.proto // Proto file describing bidding schemes. @@ -61,22 +46,12 @@ message Commission { // // This bidding strategy is deprecated and cannot be created anymore. Use // ManualCpc with enhanced_cpc_enabled set to true for equivalent functionality. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/bidding.proto -message EnhancedCpc { -======== message EnhancedCpc {} ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/bidding.proto // Manual bidding strategy that allows advertiser to set the bid per // advertiser-specified action. message ManualCpa {} -// Manual bidding strategy that allows advertiser to set the bid per -// advertiser-specified action. -message ManualCpa { - -} - // Manual click-based bidding where user pays per click. message ManualCpc { // Whether bids are to be enhanced based on conversion optimizer data. @@ -178,12 +153,8 @@ message TargetCpmTargetFrequencyGoal { // location). message TargetImpressionShare { // The targeted location on the search results page. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/bidding.proto - google.ads.googleads.v12.enums.TargetImpressionShareLocationEnum.TargetImpressionShareLocation location = 1; -======== google.ads.googleads.v15.enums.TargetImpressionShareLocationEnum .TargetImpressionShareLocation location = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/bidding.proto // The chosen fraction of ads to be shown in the targeted location in micros. // For example, 1% equals 10,000. diff --git a/third_party/googleapis/google/ads/googleads/v15/common/click_location.proto b/third_party/googleapis/google/ads/googleads/v15/common/click_location.proto index 3f44b1c0d..c9664748d 100644 --- a/third_party/googleapis/google/ads/googleads/v15/common/click_location.proto +++ b/third_party/googleapis/google/ads/googleads/v15/common/click_location.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/click_location.proto -package google.ads.googleads.v13.common; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "ClickLocationProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; -======== package google.ads.googleads.v15.common; option csharp_namespace = "Google.Ads.GoogleAds.V15.Common"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Common"; option ruby_package = "Google::Ads::GoogleAds::V15::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/click_location.proto // Proto file describing a ClickLocation. diff --git a/third_party/googleapis/google/ads/googleads/v15/common/criteria.proto b/third_party/googleapis/google/ads/googleads/v15/common/criteria.proto index 14ad33ad8..f889c77bc 100644 --- a/third_party/googleapis/google/ads/googleads/v15/common/criteria.proto +++ b/third_party/googleapis/google/ads/googleads/v15/common/criteria.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/criteria.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/criteria.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,42 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/criteria.proto -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/enums/age_range_type.proto"; -import "google/ads/googleads/v13/enums/app_payment_model_type.proto"; -import "google/ads/googleads/v13/enums/content_label_type.proto"; -import "google/ads/googleads/v13/enums/day_of_week.proto"; -import "google/ads/googleads/v13/enums/device.proto"; -import "google/ads/googleads/v13/enums/gender_type.proto"; -import "google/ads/googleads/v13/enums/hotel_date_selection_type.proto"; -import "google/ads/googleads/v13/enums/income_range_type.proto"; -import "google/ads/googleads/v13/enums/interaction_type.proto"; -import "google/ads/googleads/v13/enums/keyword_match_type.proto"; -import "google/ads/googleads/v13/enums/listing_group_type.proto"; -import "google/ads/googleads/v13/enums/location_group_radius_units.proto"; -import "google/ads/googleads/v13/enums/minute_of_hour.proto"; -import "google/ads/googleads/v13/enums/parental_status_type.proto"; -import "google/ads/googleads/v13/enums/product_bidding_category_level.proto"; -import "google/ads/googleads/v13/enums/product_channel.proto"; -import "google/ads/googleads/v13/enums/product_channel_exclusivity.proto"; -import "google/ads/googleads/v13/enums/product_condition.proto"; -import "google/ads/googleads/v13/enums/product_custom_attribute_index.proto"; -import "google/ads/googleads/v13/enums/product_type_level.proto"; -import "google/ads/googleads/v13/enums/proximity_radius_units.proto"; -import "google/ads/googleads/v13/enums/webpage_condition_operand.proto"; -import "google/ads/googleads/v13/enums/webpage_condition_operator.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "CriteriaProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; -======== package google.ads.googleads.v15.common; import "google/ads/googleads/v15/enums/age_range_type.proto"; @@ -89,7 +49,6 @@ option java_package = "com.google.ads.googleads.v15.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Common"; option ruby_package = "Google::Ads::GoogleAds::V15::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/criteria.proto // Proto file describing criteria types. @@ -99,11 +58,7 @@ message KeywordInfo { optional string text = 3; // The match type of the keyword. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/criteria.proto - google.ads.googleads.v13.enums.KeywordMatchTypeEnum.KeywordMatchType -======== google.ads.googleads.v15.enums.KeywordMatchTypeEnum.KeywordMatchType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/criteria.proto match_type = 2; } @@ -165,21 +120,13 @@ message LocationInfo { // A device criterion. message DeviceInfo { // Type of the device. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/criteria.proto - google.ads.googleads.v13.enums.DeviceEnum.Device type = 1; -======== google.ads.googleads.v15.enums.DeviceEnum.Device type = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/criteria.proto } // A listing group criterion. message ListingGroupInfo { // Type of the listing group. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/criteria.proto - google.ads.googleads.v13.enums.ListingGroupTypeEnum.ListingGroupType type = 1; -======== google.ads.googleads.v15.enums.ListingGroupTypeEnum.ListingGroupType type = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/criteria.proto // Dimension value with which this listing group is refining its parent. // Undefined for the root group. @@ -317,15 +264,9 @@ message ProductCategoryInfo { // this article: https://support.google.com/merchants/answer/6324436 optional int64 category_id = 1; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/criteria.proto - // Level of the product bidding category. - google.ads.googleads.v13.enums.ProductBiddingCategoryLevelEnum - .ProductBiddingCategoryLevel level = 3; -======== // Level of the product category. google.ads.googleads.v15.enums.ProductCategoryLevelEnum.ProductCategoryLevel level = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/criteria.proto } // Brand of the product. @@ -337,32 +278,20 @@ message ProductBrandInfo { // Locality of a product offer. message ProductChannelInfo { // Value of the locality. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/criteria.proto - google.ads.googleads.v13.enums.ProductChannelEnum.ProductChannel channel = 1; -======== google.ads.googleads.v15.enums.ProductChannelEnum.ProductChannel channel = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/criteria.proto } // Availability of a product offer. message ProductChannelExclusivityInfo { // Value of the availability. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/criteria.proto - google.ads.googleads.v13.enums.ProductChannelExclusivityEnum -======== google.ads.googleads.v15.enums.ProductChannelExclusivityEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/criteria.proto .ProductChannelExclusivity channel_exclusivity = 1; } // Condition of a product offer. message ProductConditionInfo { // Value of the condition. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/criteria.proto - google.ads.googleads.v13.enums.ProductConditionEnum.ProductCondition -======== google.ads.googleads.v15.enums.ProductConditionEnum.ProductCondition ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/criteria.proto condition = 1; } @@ -372,11 +301,7 @@ message ProductCustomAttributeInfo { optional string value = 3; // Indicates the index of the custom attribute. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/criteria.proto - google.ads.googleads.v13.enums.ProductCustomAttributeIndexEnum -======== google.ads.googleads.v15.enums.ProductCustomAttributeIndexEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/criteria.proto .ProductCustomAttributeIndex index = 2; } @@ -392,11 +317,7 @@ message ProductTypeInfo { optional string value = 3; // Level of the type. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/criteria.proto - google.ads.googleads.v13.enums.ProductTypeLevelEnum.ProductTypeLevel level = -======== google.ads.googleads.v15.enums.ProductTypeLevelEnum.ProductTypeLevel level = ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/criteria.proto 2; } @@ -434,11 +355,7 @@ message UnknownListingDimensionInfo {} // Criterion for hotel date selection (default dates versus user selected). message HotelDateSelectionTypeInfo { // Type of the hotel date selection -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/criteria.proto - google.ads.googleads.v13.enums.HotelDateSelectionTypeEnum -======== google.ads.googleads.v15.enums.HotelDateSelectionTypeEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/criteria.proto .HotelDateSelectionType type = 1; } @@ -472,11 +389,7 @@ message HotelCheckInDateRangeInfo { // Criterion for day of the week the booking is for. message HotelCheckInDayInfo { // The day of the week. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/criteria.proto - google.ads.googleads.v13.enums.DayOfWeekEnum.DayOfWeek day_of_week = 1; -======== google.ads.googleads.v15.enums.DayOfWeekEnum.DayOfWeek day_of_week = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/criteria.proto } // Advertiser-specific activity ID. @@ -501,11 +414,7 @@ message ActivityCountryInfo { // Criterion for Interaction Type. message InteractionTypeInfo { // The interaction type. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/criteria.proto - google.ads.googleads.v13.enums.InteractionTypeEnum.InteractionType type = 1; -======== google.ads.googleads.v15.enums.InteractionTypeEnum.InteractionType type = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/criteria.proto } // Represents an AdSchedule criterion. @@ -519,22 +428,14 @@ message AdScheduleInfo { // // This field is required for CREATE operations and is prohibited on UPDATE // operations. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/criteria.proto - google.ads.googleads.v13.enums.MinuteOfHourEnum.MinuteOfHour start_minute = 1; -======== google.ads.googleads.v15.enums.MinuteOfHourEnum.MinuteOfHour start_minute = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/criteria.proto // Minutes after the end hour at which this schedule ends. The schedule is // exclusive of the end minute. // // This field is required for CREATE operations and is prohibited on UPDATE // operations. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/criteria.proto - google.ads.googleads.v13.enums.MinuteOfHourEnum.MinuteOfHour end_minute = 2; -======== google.ads.googleads.v15.enums.MinuteOfHourEnum.MinuteOfHour end_minute = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/criteria.proto // Starting hour in 24 hour time. // This field must be between 0 and 23, inclusive. @@ -554,51 +455,31 @@ message AdScheduleInfo { // // This field is required for CREATE operations and is prohibited on UPDATE // operations. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/criteria.proto - google.ads.googleads.v13.enums.DayOfWeekEnum.DayOfWeek day_of_week = 5; -======== google.ads.googleads.v15.enums.DayOfWeekEnum.DayOfWeek day_of_week = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/criteria.proto } // An age range criterion. message AgeRangeInfo { // Type of the age range. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/criteria.proto - google.ads.googleads.v13.enums.AgeRangeTypeEnum.AgeRangeType type = 1; -======== google.ads.googleads.v15.enums.AgeRangeTypeEnum.AgeRangeType type = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/criteria.proto } // A gender criterion. message GenderInfo { // Type of the gender. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/criteria.proto - google.ads.googleads.v13.enums.GenderTypeEnum.GenderType type = 1; -======== google.ads.googleads.v15.enums.GenderTypeEnum.GenderType type = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/criteria.proto } // An income range criterion. message IncomeRangeInfo { // Type of the income range. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/criteria.proto - google.ads.googleads.v13.enums.IncomeRangeTypeEnum.IncomeRangeType type = 1; -======== google.ads.googleads.v15.enums.IncomeRangeTypeEnum.IncomeRangeType type = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/criteria.proto } // A parental status criterion. message ParentalStatusInfo { // Type of the parental status. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/criteria.proto - google.ads.googleads.v13.enums.ParentalStatusTypeEnum.ParentalStatusType -======== google.ads.googleads.v15.enums.ParentalStatusTypeEnum.ParentalStatusType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/criteria.proto type = 1; } @@ -637,11 +518,7 @@ message ProximityInfo { optional double radius = 5; // The unit of measurement of the radius. Default is KILOMETERS. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/criteria.proto - google.ads.googleads.v13.enums.ProximityRadiusUnitsEnum.ProximityRadiusUnits -======== google.ads.googleads.v15.enums.ProximityRadiusUnitsEnum.ProximityRadiusUnits ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/criteria.proto radius_units = 3; // Full address. @@ -718,11 +595,7 @@ message IpBlockInfo { // Content Label for category exclusion. message ContentLabelInfo { // Content label type, required for CREATE operations. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/criteria.proto - google.ads.googleads.v13.enums.ContentLabelTypeEnum.ContentLabelType type = 1; -======== google.ads.googleads.v15.enums.ContentLabelTypeEnum.ContentLabelType type = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/criteria.proto } // Represents a Carrier Criterion. @@ -770,19 +643,11 @@ message WebpageInfo { // Logical expression for targeting webpages of an advertiser's website. message WebpageConditionInfo { // Operand of webpage targeting condition. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/criteria.proto - google.ads.googleads.v13.enums.WebpageConditionOperandEnum - .WebpageConditionOperand operand = 1; - - // Operator of webpage targeting condition. - google.ads.googleads.v13.enums.WebpageConditionOperatorEnum -======== google.ads.googleads.v15.enums.WebpageConditionOperandEnum .WebpageConditionOperand operand = 1; // Operator of webpage targeting condition. google.ads.googleads.v15.enums.WebpageConditionOperatorEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/criteria.proto .WebpageConditionOperator operator = 2; @@ -805,11 +670,7 @@ message OperatingSystemVersionInfo { // An app payment model criterion. message AppPaymentModelInfo { // Type of the app payment model. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/criteria.proto - google.ads.googleads.v13.enums.AppPaymentModelTypeEnum.AppPaymentModelType -======== google.ads.googleads.v15.enums.AppPaymentModelTypeEnum.AppPaymentModelType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/criteria.proto type = 1; } @@ -851,11 +712,7 @@ message LocationGroupInfo { // Unit of the radius. Miles and meters are supported for geo target // constants. Milli miles and meters are supported for feed item sets and // asset sets. This is required and must be set in CREATE operations. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/criteria.proto - google.ads.googleads.v13.enums.LocationGroupRadiusUnitsEnum -======== google.ads.googleads.v15.enums.LocationGroupRadiusUnitsEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/criteria.proto .LocationGroupRadiusUnits radius_units = 4; // FeedItemSets whose FeedItems are targeted. If multiple IDs are specified, @@ -900,12 +757,6 @@ message AudienceInfo { string audience = 1; } -// An audience criterion. -message AudienceInfo { - // The Audience resource name. - string audience = 1; -} - // A Smart Campaign keyword theme. message KeywordThemeInfo { // Either a predefined keyword theme constant or free-form text may be @@ -927,8 +778,6 @@ message LocalServiceIdInfo { // The criterion resource name. string service_id = 1; } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/criteria.proto -======== // A Search Theme criterion only on Performance Max campaign. Represents a // keyword-like advertiser input. @@ -956,4 +805,3 @@ message BrandListInfo { // Shared set resource name of the brand list. optional string shared_set = 1; } ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/criteria.proto diff --git a/third_party/googleapis/google/ads/googleads/v15/common/criterion_category_availability.proto b/third_party/googleapis/google/ads/googleads/v15/common/criterion_category_availability.proto index e5207fd25..4b922dca8 100644 --- a/third_party/googleapis/google/ads/googleads/v15/common/criterion_category_availability.proto +++ b/third_party/googleapis/google/ads/googleads/v15/common/criterion_category_availability.proto @@ -14,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/criterion_category_availability.proto -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/enums/advertising_channel_sub_type.proto"; -import "google/ads/googleads/v12/enums/advertising_channel_type.proto"; -import "google/ads/googleads/v12/enums/criterion_category_channel_availability_mode.proto"; -import "google/ads/googleads/v12/enums/criterion_category_locale_availability_mode.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "CriterionCategoryAvailabilityProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; -======== package google.ads.googleads.v15.common; import "google/ads/googleads/v15/enums/advertising_channel_sub_type.proto"; @@ -46,7 +29,6 @@ option java_package = "com.google.ads.googleads.v15.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Common"; option ruby_package = "Google::Ads::GoogleAds::V15::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/criterion_category_availability.proto // Proto file describing criterion category availability information. @@ -68,15 +50,6 @@ message CriterionCategoryChannelAvailability { // CHANNEL_TYPE_AND_SUBTYPES (advertising_channel_type, // advertising_channel_sub_type, and include_default_channel_sub_type will all // be set). -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/criterion_category_availability.proto - google.ads.googleads.v12.enums.CriterionCategoryChannelAvailabilityModeEnum.CriterionCategoryChannelAvailabilityMode availability_mode = 1; - - // Channel type the category is available to. - google.ads.googleads.v12.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_type = 2; - - // Channel subtypes under the channel type the category is available to. - repeated google.ads.googleads.v12.enums.AdvertisingChannelSubTypeEnum.AdvertisingChannelSubType advertising_channel_sub_type = 3; -======== google.ads.googleads.v15.enums.CriterionCategoryChannelAvailabilityModeEnum .CriterionCategoryChannelAvailabilityMode availability_mode = 1; @@ -87,7 +60,6 @@ message CriterionCategoryChannelAvailability { // Channel subtypes under the channel type the category is available to. repeated google.ads.googleads.v15.enums.AdvertisingChannelSubTypeEnum .AdvertisingChannelSubType advertising_channel_sub_type = 3; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/criterion_category_availability.proto // Whether default channel sub type is included. For example, // advertising_channel_type being DISPLAY and include_default_channel_sub_type @@ -102,12 +74,8 @@ message CriterionCategoryLocaleAvailability { // language will be empty), COUNTRY (only country will be set), LANGUAGE (only // language wil be set), COUNTRY_AND_LANGUAGE (both country and language will // be set). -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/criterion_category_availability.proto - google.ads.googleads.v12.enums.CriterionCategoryLocaleAvailabilityModeEnum.CriterionCategoryLocaleAvailabilityMode availability_mode = 1; -======== google.ads.googleads.v15.enums.CriterionCategoryLocaleAvailabilityModeEnum .CriterionCategoryLocaleAvailabilityMode availability_mode = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/criterion_category_availability.proto // The ISO-3166-1 alpha-2 country code associated with the category. optional string country_code = 4; diff --git a/third_party/googleapis/google/ads/googleads/v15/common/custom_parameter.proto b/third_party/googleapis/google/ads/googleads/v15/common/custom_parameter.proto index aa4e585ce..418e6a6a2 100644 --- a/third_party/googleapis/google/ads/googleads/v15/common/custom_parameter.proto +++ b/third_party/googleapis/google/ads/googleads/v15/common/custom_parameter.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/custom_parameter.proto -package google.ads.googleads.v13.common; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "CustomParameterProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; -======== package google.ads.googleads.v15.common; option csharp_namespace = "Google.Ads.GoogleAds.V15.Common"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Common"; option ruby_package = "Google::Ads::GoogleAds::V15::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/custom_parameter.proto // Proto file describing CustomParameter and operation diff --git a/third_party/googleapis/google/ads/googleads/v15/common/customizer_value.proto b/third_party/googleapis/google/ads/googleads/v15/common/customizer_value.proto index 4f9730ca3..00dc65442 100644 --- a/third_party/googleapis/google/ads/googleads/v15/common/customizer_value.proto +++ b/third_party/googleapis/google/ads/googleads/v15/common/customizer_value.proto @@ -14,21 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/customizer_value.proto -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/enums/customizer_attribute_type.proto"; -import "google/api/field_behavior.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "CustomizerValueProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; -======== package google.ads.googleads.v15.common; import "google/ads/googleads/v15/enums/customizer_attribute_type.proto"; @@ -42,26 +27,18 @@ option java_package = "com.google.ads.googleads.v15.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Common"; option ruby_package = "Google::Ads::GoogleAds::V15::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/customizer_value.proto // Proto file describing common customizer value proto messages. // A customizer value that is referenced in customizer linkage entities // like CustomerCustomizer, CampaignCustomizer, etc. message CustomizerValue { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/customizer_value.proto - // Required. The data type for the customizer value. It must match the attribute type. - // The string_value content must match the constraints associated with the - // type. - google.ads.googleads.v12.enums.CustomizerAttributeTypeEnum.CustomizerAttributeType type = 1 [(google.api.field_behavior) = REQUIRED]; -======== // Required. The data type for the customizer value. It must match the // attribute type. The string_value content must match the constraints // associated with the type. google.ads.googleads.v15.enums.CustomizerAttributeTypeEnum .CustomizerAttributeType type = 1 [(google.api.field_behavior) = REQUIRED]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/customizer_value.proto // Required. Value to insert in creative text. Customizer values of all types // are stored as string to make formatting unambiguous. diff --git a/third_party/googleapis/google/ads/googleads/v15/common/dates.proto b/third_party/googleapis/google/ads/googleads/v15/common/dates.proto index f1e52b8bf..4efdeca2e 100644 --- a/third_party/googleapis/google/ads/googleads/v15/common/dates.proto +++ b/third_party/googleapis/google/ads/googleads/v15/common/dates.proto @@ -14,20 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/dates.proto -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/enums/month_of_year.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "DatesProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; -======== package google.ads.googleads.v15.common; import "google/ads/googleads/v15/enums/month_of_year.proto"; @@ -40,7 +26,6 @@ option java_package = "com.google.ads.googleads.v15.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Common"; option ruby_package = "Google::Ads::GoogleAds::V15::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/dates.proto // Proto file describing date range message. @@ -69,9 +54,5 @@ message YearMonth { int64 year = 1; // The month of the year. (for example, FEBRUARY). -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/dates.proto - google.ads.googleads.v13.enums.MonthOfYearEnum.MonthOfYear month = 2; -======== google.ads.googleads.v15.enums.MonthOfYearEnum.MonthOfYear month = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/dates.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/common/extensions.proto b/third_party/googleapis/google/ads/googleads/v15/common/extensions.proto index e85abada0..b1d9d2982 100644 --- a/third_party/googleapis/google/ads/googleads/v15/common/extensions.proto +++ b/third_party/googleapis/google/ads/googleads/v15/common/extensions.proto @@ -14,30 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/extensions.proto -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/common/custom_parameter.proto"; -import "google/ads/googleads/v12/common/feed_common.proto"; -import "google/ads/googleads/v12/enums/app_store.proto"; -import "google/ads/googleads/v12/enums/call_conversion_reporting_state.proto"; -import "google/ads/googleads/v12/enums/price_extension_price_qualifier.proto"; -import "google/ads/googleads/v12/enums/price_extension_price_unit.proto"; -import "google/ads/googleads/v12/enums/price_extension_type.proto"; -import "google/ads/googleads/v12/enums/promotion_extension_discount_modifier.proto"; -import "google/ads/googleads/v12/enums/promotion_extension_occasion.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "ExtensionsProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; -======== package google.ads.googleads.v15.common; import "google/ads/googleads/v15/common/custom_parameter.proto"; @@ -60,7 +36,6 @@ option java_package = "com.google.ads.googleads.v15.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Common"; option ruby_package = "Google::Ads::GoogleAds::V15::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/extensions.proto // Proto file describing extension types. @@ -77,11 +52,7 @@ message AppFeedItem { // The application store that the target application belongs to. // This field is required. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/extensions.proto - google.ads.googleads.v12.enums.AppStoreEnum.AppStore app_store = 3; -======== google.ads.googleads.v15.enums.AppStoreEnum.AppStore app_store = 3; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/extensions.proto // A list of possible final URLs after all cross domain redirects. // This list must not be empty. @@ -128,12 +99,8 @@ message CallFeedItem { // Enum value that indicates whether this call extension uses its own call // conversion setting (or just have call conversion disabled), or following // the account level setting. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/extensions.proto - google.ads.googleads.v12.enums.CallConversionReportingStateEnum.CallConversionReportingState call_conversion_reporting_state = 6; -======== google.ads.googleads.v15.enums.CallConversionReportingStateEnum .CallConversionReportingState call_conversion_reporting_state = 6; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/extensions.proto } // Represents a callout extension. @@ -228,19 +195,12 @@ message TextMessageFeedItem { // Represents a Price extension. message PriceFeedItem { // Price extension type of this extension. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/extensions.proto - google.ads.googleads.v12.enums.PriceExtensionTypeEnum.PriceExtensionType type = 1; - - // Price qualifier for all offers of this price extension. - google.ads.googleads.v12.enums.PriceExtensionPriceQualifierEnum.PriceExtensionPriceQualifier price_qualifier = 2; -======== google.ads.googleads.v15.enums.PriceExtensionTypeEnum.PriceExtensionType type = 1; // Price qualifier for all offers of this price extension. google.ads.googleads.v15.enums.PriceExtensionPriceQualifierEnum .PriceExtensionPriceQualifier price_qualifier = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/extensions.proto // Tracking URL template for all offers of this price extension. optional string tracking_url_template = 7; @@ -267,12 +227,8 @@ message PriceOffer { Money price = 3; // Price unit for this offer. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/extensions.proto - google.ads.googleads.v12.enums.PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit unit = 4; -======== google.ads.googleads.v15.enums.PriceExtensionPriceUnitEnum .PriceExtensionPriceUnit unit = 4; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/extensions.proto // A list of possible final URLs after all cross domain redirects. repeated string final_urls = 9; @@ -288,12 +244,8 @@ message PromotionFeedItem { optional string promotion_target = 16; // Enum that modifies the qualification of the discount. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/extensions.proto - google.ads.googleads.v12.enums.PromotionExtensionDiscountModifierEnum.PromotionExtensionDiscountModifier discount_modifier = 2; -======== google.ads.googleads.v15.enums.PromotionExtensionDiscountModifierEnum .PromotionExtensionDiscountModifier discount_modifier = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/extensions.proto // Start date of when the promotion is eligible to be redeemed. optional string promotion_start_date = 19; @@ -304,12 +256,8 @@ message PromotionFeedItem { // The occasion the promotion was intended for. // If an occasion is set, the redemption window will need to fall within // the date range associated with the occasion. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/extensions.proto - google.ads.googleads.v12.enums.PromotionExtensionOccasionEnum.PromotionExtensionOccasion occasion = 9; -======== google.ads.googleads.v15.enums.PromotionExtensionOccasionEnum .PromotionExtensionOccasion occasion = 9; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/extensions.proto // A list of possible final URLs after all cross domain redirects. // This field is required. diff --git a/third_party/googleapis/google/ads/googleads/v15/common/feed_common.proto b/third_party/googleapis/google/ads/googleads/v15/common/feed_common.proto index b04fc6394..bd7f8782d 100644 --- a/third_party/googleapis/google/ads/googleads/v15/common/feed_common.proto +++ b/third_party/googleapis/google/ads/googleads/v15/common/feed_common.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/feed_common.proto -package google.ads.googleads.v13.common; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "FeedCommonProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; -======== package google.ads.googleads.v15.common; option csharp_namespace = "Google.Ads.GoogleAds.V15.Common"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Common"; option ruby_package = "Google::Ads::GoogleAds::V15::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/feed_common.proto // Proto file describing common feed proto messages. diff --git a/third_party/googleapis/google/ads/googleads/v15/common/feed_item_set_filter_type_infos.proto b/third_party/googleapis/google/ads/googleads/v15/common/feed_item_set_filter_type_infos.proto index 8f8fe30c5..2e8289991 100644 --- a/third_party/googleapis/google/ads/googleads/v15/common/feed_item_set_filter_type_infos.proto +++ b/third_party/googleapis/google/ads/googleads/v15/common/feed_item_set_filter_type_infos.proto @@ -14,20 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/feed_item_set_filter_type_infos.proto -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/enums/feed_item_set_string_filter_type.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemSetFilterTypeInfosProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; -======== package google.ads.googleads.v15.common; import "google/ads/googleads/v15/enums/feed_item_set_string_filter_type.proto"; @@ -40,7 +26,6 @@ option java_package = "com.google.ads.googleads.v15.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Common"; option ruby_package = "Google::Ads::GoogleAds::V15::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/feed_item_set_filter_type_infos.proto // Represents a filter on locations in a feed item set. // Only applicable if the parent Feed of the FeedItemSet is a LOCATION feed. @@ -59,12 +44,8 @@ message BusinessNameFilter { string business_name = 1; // The type of string matching to use when filtering with business_name. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/feed_item_set_filter_type_infos.proto - google.ads.googleads.v12.enums.FeedItemSetStringFilterTypeEnum.FeedItemSetStringFilterType filter_type = 2; -======== google.ads.googleads.v15.enums.FeedItemSetStringFilterTypeEnum .FeedItemSetStringFilterType filter_type = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/feed_item_set_filter_type_infos.proto } // Represents a filter on affiliate locations in a FeedItemSet. diff --git a/third_party/googleapis/google/ads/googleads/v15/common/final_app_url.proto b/third_party/googleapis/google/ads/googleads/v15/common/final_app_url.proto index fd5ed2820..00f5df2c1 100644 --- a/third_party/googleapis/google/ads/googleads/v15/common/final_app_url.proto +++ b/third_party/googleapis/google/ads/googleads/v15/common/final_app_url.proto @@ -14,20 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/final_app_url.proto -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/enums/app_url_operating_system_type.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "FinalAppUrlProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; -======== package google.ads.googleads.v15.common; import "google/ads/googleads/v15/enums/app_url_operating_system_type.proto"; @@ -40,19 +26,14 @@ option java_package = "com.google.ads.googleads.v15.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Common"; option ruby_package = "Google::Ads::GoogleAds::V15::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/final_app_url.proto // Proto file FinalAppUrl type. // A URL for deep linking into an app for the given operating system. message FinalAppUrl { // The operating system targeted by this URL. Required. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/final_app_url.proto - google.ads.googleads.v12.enums.AppUrlOperatingSystemTypeEnum.AppUrlOperatingSystemType os_type = 1; -======== google.ads.googleads.v15.enums.AppUrlOperatingSystemTypeEnum .AppUrlOperatingSystemType os_type = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/final_app_url.proto // The app deep link URL. Deep links specify a location in an app that // corresponds to the content you'd like to show, and should be of the form diff --git a/third_party/googleapis/google/ads/googleads/v15/common/frequency_cap.proto b/third_party/googleapis/google/ads/googleads/v15/common/frequency_cap.proto index 8c6977da4..fed4d2b8e 100644 --- a/third_party/googleapis/google/ads/googleads/v15/common/frequency_cap.proto +++ b/third_party/googleapis/google/ads/googleads/v15/common/frequency_cap.proto @@ -14,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/frequency_cap.proto -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/enums/frequency_cap_event_type.proto"; -import "google/ads/googleads/v12/enums/frequency_cap_level.proto"; -import "google/ads/googleads/v12/enums/frequency_cap_time_unit.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "FrequencyCapProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; -======== package google.ads.googleads.v15.common; import "google/ads/googleads/v15/enums/frequency_cap_event_type.proto"; @@ -44,7 +28,6 @@ option java_package = "com.google.ads.googleads.v15.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Common"; option ruby_package = "Google::Ads::GoogleAds::V15::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/frequency_cap.proto // Proto file describing frequency caps. @@ -64,15 +47,6 @@ message FrequencyCapEntry { message FrequencyCapKey { // The level on which the cap is to be applied (for example, ad group ad, ad // group). The cap is applied to all the entities of this level. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/frequency_cap.proto - google.ads.googleads.v12.enums.FrequencyCapLevelEnum.FrequencyCapLevel level = 1; - - // The type of event that the cap applies to (for example, impression). - google.ads.googleads.v12.enums.FrequencyCapEventTypeEnum.FrequencyCapEventType event_type = 3; - - // Unit of time the cap is defined at (for example, day, week). - google.ads.googleads.v12.enums.FrequencyCapTimeUnitEnum.FrequencyCapTimeUnit time_unit = 2; -======== google.ads.googleads.v15.enums.FrequencyCapLevelEnum.FrequencyCapLevel level = 1; @@ -83,7 +57,6 @@ message FrequencyCapKey { // Unit of time the cap is defined at (for example, day, week). google.ads.googleads.v15.enums.FrequencyCapTimeUnitEnum.FrequencyCapTimeUnit time_unit = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/frequency_cap.proto // Number of time units the cap lasts. optional int32 time_length = 5; diff --git a/third_party/googleapis/google/ads/googleads/v15/common/keyword_plan_common.proto b/third_party/googleapis/google/ads/googleads/v15/common/keyword_plan_common.proto index 8c9c18f94..3f874f873 100644 --- a/third_party/googleapis/google/ads/googleads/v15/common/keyword_plan_common.proto +++ b/third_party/googleapis/google/ads/googleads/v15/common/keyword_plan_common.proto @@ -14,25 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/keyword_plan_common.proto -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/common/dates.proto"; -import "google/ads/googleads/v12/enums/device.proto"; -import "google/ads/googleads/v12/enums/keyword_plan_aggregate_metric_type.proto"; -import "google/ads/googleads/v12/enums/keyword_plan_competition_level.proto"; -import "google/ads/googleads/v12/enums/keyword_plan_concept_group_type.proto"; -import "google/ads/googleads/v12/enums/month_of_year.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanCommonProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; -======== package google.ads.googleads.v15.common; import "google/ads/googleads/v15/common/dates.proto"; @@ -50,7 +31,6 @@ option java_package = "com.google.ads.googleads.v15.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Common"; option ruby_package = "Google::Ads::GoogleAds::V15::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/keyword_plan_common.proto // Proto file describing Keyword Planner messages. @@ -67,12 +47,8 @@ message KeywordPlanHistoricalMetrics { repeated MonthlySearchVolume monthly_search_volumes = 6; // The competition level for the query. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/keyword_plan_common.proto - google.ads.googleads.v12.enums.KeywordPlanCompetitionLevelEnum.KeywordPlanCompetitionLevel competition = 2; -======== google.ads.googleads.v15.enums.KeywordPlanCompetitionLevelEnum .KeywordPlanCompetitionLevel competition = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/keyword_plan_common.proto // The competition index for the query in the range [0, 100]. // Shows how competitive ad placement is for a keyword. @@ -111,11 +87,7 @@ message MonthlySearchVolume { optional int64 year = 4; // The month of the search volume. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/keyword_plan_common.proto - google.ads.googleads.v12.enums.MonthOfYearEnum.MonthOfYear month = 2; -======== google.ads.googleads.v15.enums.MonthOfYearEnum.MonthOfYear month = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/keyword_plan_common.proto // Approximate number of searches for the month. // A null value indicates the search volume is unavailable for @@ -126,12 +98,8 @@ message MonthlySearchVolume { // The aggregate metrics specification of the request. message KeywordPlanAggregateMetrics { // The list of aggregate metrics to fetch data. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/keyword_plan_common.proto - repeated google.ads.googleads.v12.enums.KeywordPlanAggregateMetricTypeEnum.KeywordPlanAggregateMetricType aggregate_metric_types = 1; -======== repeated google.ads.googleads.v15.enums.KeywordPlanAggregateMetricTypeEnum .KeywordPlanAggregateMetricType aggregate_metric_types = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/keyword_plan_common.proto } // The aggregated historical metrics for keyword plan keywords. @@ -148,11 +116,7 @@ message KeywordPlanAggregateMetricResults { // The total searches for the device type during the specified time period. message KeywordPlanDeviceSearches { // The device type. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/keyword_plan_common.proto - google.ads.googleads.v12.enums.DeviceEnum.Device device = 1; -======== google.ads.googleads.v15.enums.DeviceEnum.Device device = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/keyword_plan_common.proto // The total searches for the device. optional int64 search_count = 2; @@ -179,10 +143,6 @@ message ConceptGroup { string name = 1; // The concept group type. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/keyword_plan_common.proto - google.ads.googleads.v12.enums.KeywordPlanConceptGroupTypeEnum.KeywordPlanConceptGroupType type = 2; -======== google.ads.googleads.v15.enums.KeywordPlanConceptGroupTypeEnum .KeywordPlanConceptGroupType type = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/keyword_plan_common.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/common/matching_function.proto b/third_party/googleapis/google/ads/googleads/v15/common/matching_function.proto index efcbef756..ad13a3dcf 100644 --- a/third_party/googleapis/google/ads/googleads/v15/common/matching_function.proto +++ b/third_party/googleapis/google/ads/googleads/v15/common/matching_function.proto @@ -14,21 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/matching_function.proto -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/enums/matching_function_context_type.proto"; -import "google/ads/googleads/v12/enums/matching_function_operator.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "MatchingFunctionProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; -======== package google.ads.googleads.v15.common; import "google/ads/googleads/v15/enums/matching_function_context_type.proto"; @@ -42,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Common"; option ruby_package = "Google::Ads::GoogleAds::V15::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/matching_function.proto // Proto file describing a matching function. @@ -70,13 +54,9 @@ message MatchingFunction { optional string function_string = 5; // Operator for a function. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/matching_function.proto - google.ads.googleads.v12.enums.MatchingFunctionOperatorEnum.MatchingFunctionOperator operator = 4; -======== google.ads.googleads.v15.enums.MatchingFunctionOperatorEnum .MatchingFunctionOperator operator = 4; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/matching_function.proto // The operands on the left hand side of the equation. This is also the // operand to be used for single operand expressions such as NOT. @@ -126,12 +106,8 @@ message Operand { // An operand in a function referring to a value in the request context. message RequestContextOperand { // Type of value to be referred in the request context. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/matching_function.proto - google.ads.googleads.v12.enums.MatchingFunctionContextTypeEnum.MatchingFunctionContextType context_type = 1; -======== google.ads.googleads.v15.enums.MatchingFunctionContextTypeEnum .MatchingFunctionContextType context_type = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/matching_function.proto } // Different operands that can be used in a matching function. Required. diff --git a/third_party/googleapis/google/ads/googleads/v15/common/metric_goal.proto b/third_party/googleapis/google/ads/googleads/v15/common/metric_goal.proto index 53a9e43b0..2cc002f6a 100644 --- a/third_party/googleapis/google/ads/googleads/v15/common/metric_goal.proto +++ b/third_party/googleapis/google/ads/googleads/v15/common/metric_goal.proto @@ -14,21 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/metric_goal.proto -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/enums/experiment_metric.proto"; -import "google/ads/googleads/v12/enums/experiment_metric_direction.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "MetricGoalProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; -======== package google.ads.googleads.v15.common; import "google/ads/googleads/v15/enums/experiment_metric.proto"; @@ -42,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Common"; option ruby_package = "Google::Ads::GoogleAds::V15::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/metric_goal.proto // Proto file describing experiment metric goal. @@ -50,13 +34,6 @@ option ruby_package = "Google::Ads::GoogleAds::V15::Common"; message MetricGoal { // The metric of the goal. For example, clicks, impressions, cost, // conversions, etc. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/metric_goal.proto - google.ads.googleads.v12.enums.ExperimentMetricEnum.ExperimentMetric metric = 1; - - // The metric direction of the goal. For example, increase, decrease, no - // change. - google.ads.googleads.v12.enums.ExperimentMetricDirectionEnum.ExperimentMetricDirection direction = 2; -======== google.ads.googleads.v15.enums.ExperimentMetricEnum.ExperimentMetric metric = 1; @@ -64,5 +41,4 @@ message MetricGoal { // change. google.ads.googleads.v15.enums.ExperimentMetricDirectionEnum .ExperimentMetricDirection direction = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/metric_goal.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/common/metrics.proto b/third_party/googleapis/google/ads/googleads/v15/common/metrics.proto index 2be9e8742..590b28254 100644 --- a/third_party/googleapis/google/ads/googleads/v15/common/metrics.proto +++ b/third_party/googleapis/google/ads/googleads/v15/common/metrics.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/metrics.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/metrics.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,21 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/metrics.proto -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/enums/interaction_event_type.proto"; -import "google/ads/googleads/v13/enums/quality_score_bucket.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "MetricsProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; -======== package google.ads.googleads.v15.common; import "google/ads/googleads/v15/enums/interaction_event_type.proto"; @@ -46,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Common"; option ruby_package = "Google::Ads::GoogleAds::V15::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/metrics.proto // Proto file describing metrics. @@ -466,30 +446,18 @@ message Metrics { optional int64 hotel_eligible_impressions = 215; // The creative historical quality score. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/metrics.proto - google.ads.googleads.v13.enums.QualityScoreBucketEnum.QualityScoreBucket - historical_creative_quality_score = 80; - - // The quality of historical landing page experience. - google.ads.googleads.v13.enums.QualityScoreBucketEnum.QualityScoreBucket -======== google.ads.googleads.v15.enums.QualityScoreBucketEnum.QualityScoreBucket historical_creative_quality_score = 80; // The quality of historical landing page experience. google.ads.googleads.v15.enums.QualityScoreBucketEnum.QualityScoreBucket ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/metrics.proto historical_landing_page_quality_score = 81; // The historical quality score. optional int64 historical_quality_score = 216; // The historical search predicted click through rate (CTR). -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/metrics.proto - google.ads.googleads.v13.enums.QualityScoreBucketEnum.QualityScoreBucket -======== google.ads.googleads.v15.enums.QualityScoreBucketEnum.QualityScoreBucket ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/metrics.proto historical_search_predicted_ctr = 83; // The number of times the ad was forwarded to someone else as a message. @@ -523,11 +491,7 @@ message Metrics { optional int64 interactions = 223; // The types of payable and free interactions. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/metrics.proto - repeated google.ads.googleads.v13.enums.InteractionEventTypeEnum -======== repeated google.ads.googleads.v15.enums.InteractionEventTypeEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/metrics.proto .InteractionEventType interaction_event_types = 100; // The percentage of clicks filtered out of your total number of clicks @@ -761,14 +725,10 @@ message Metrics { optional int64 view_through_conversions = 155; // The number of iOS Store Kit Ad Network conversions. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/metrics.proto - int64 sk_ad_network_conversions = 246; -======== int64 sk_ad_network_installs = 246; // The total number of iOS Store Kit Ad Network conversions. int64 sk_ad_network_total_conversions = 292; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/metrics.proto // Clicks from properties not owned by the publisher for which the traffic // the publisher has paid for or acquired through incentivized activity @@ -852,8 +812,6 @@ message Metrics { // Number of website URL clicks on any location surface after an impression. // This measure is coming from Asset based location. optional double view_through_conversions_from_location_asset_website = 281; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/metrics.proto -======== // Orders is the total number of purchase conversions you received attributed // to your ads. @@ -1088,5 +1046,4 @@ message SearchVolumeRange { // Upper bound of search volume. optional int64 max = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/metrics.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/common/offline_user_data.proto b/third_party/googleapis/google/ads/googleads/v15/common/offline_user_data.proto index 3775ecfc5..1c267bb29 100644 --- a/third_party/googleapis/google/ads/googleads/v15/common/offline_user_data.proto +++ b/third_party/googleapis/google/ads/googleads/v15/common/offline_user_data.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/offline_user_data.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/offline_user_data.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,21 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/offline_user_data.proto -package google.ads.googleads.v13.common; - -import "google/ads/googleads/v13/enums/user_identifier_source.proto"; -import "google/api/field_behavior.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "OfflineUserDataProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; -======== package google.ads.googleads.v15.common; import "google/ads/googleads/v15/common/consent.proto"; @@ -47,7 +28,6 @@ option java_package = "com.google.ads.googleads.v15.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Common"; option ruby_package = "Google::Ads::GoogleAds::V15::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/offline_user_data.proto // Proto file describing offline user data. @@ -86,11 +66,7 @@ message OfflineUserAddressInfo { message UserIdentifier { // Source of the user identifier when the upload is from Store Sales, // ConversionUploadService, or ConversionAdjustmentUploadService. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/offline_user_data.proto - google.ads.googleads.v13.enums.UserIdentifierSourceEnum.UserIdentifierSource -======== google.ads.googleads.v15.enums.UserIdentifierSourceEnum.UserIdentifierSource ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/offline_user_data.proto user_identifier_source = 6; // Exactly one must be specified. For OfflineUserDataJobService, Customer diff --git a/third_party/googleapis/google/ads/googleads/v15/common/policy.proto b/third_party/googleapis/google/ads/googleads/v15/common/policy.proto index fc8565363..ccbbbd6bb 100644 --- a/third_party/googleapis/google/ads/googleads/v15/common/policy.proto +++ b/third_party/googleapis/google/ads/googleads/v15/common/policy.proto @@ -14,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/policy.proto -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/enums/policy_topic_entry_type.proto"; -import "google/ads/googleads/v12/enums/policy_topic_evidence_destination_mismatch_url_type.proto"; -import "google/ads/googleads/v12/enums/policy_topic_evidence_destination_not_working_device.proto"; -import "google/ads/googleads/v12/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "PolicyProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; -======== package google.ads.googleads.v15.common; import "google/ads/googleads/v15/enums/policy_topic_entry_type.proto"; @@ -46,7 +29,6 @@ option java_package = "com.google.ads.googleads.v15.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Common"; option ruby_package = "Google::Ads::GoogleAds::V15::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/policy.proto // Proto file describing policy information. @@ -104,12 +86,8 @@ message PolicyTopicEntry { optional string topic = 5; // Describes the negative or positive effect this policy will have on serving. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/policy.proto - google.ads.googleads.v12.enums.PolicyTopicEntryTypeEnum.PolicyTopicEntryType type = 2; -======== google.ads.googleads.v15.enums.PolicyTopicEntryTypeEnum.PolicyTopicEntryType type = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/policy.proto // Additional information that explains policy finding // (for example, the brand name for a trademark finding). @@ -147,13 +125,9 @@ message PolicyTopicEvidence { // Evidence of mismatches between the URLs of a resource. message DestinationMismatch { // The set of URLs that did not match each other. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/policy.proto - repeated google.ads.googleads.v12.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType url_types = 1; -======== repeated google.ads.googleads.v15.enums .PolicyTopicEvidenceDestinationMismatchUrlTypeEnum .PolicyTopicEvidenceDestinationMismatchUrlType url_types = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/policy.proto } // Evidence details when the destination is returning an HTTP error @@ -163,13 +137,9 @@ message PolicyTopicEvidence { optional string expanded_url = 7; // The type of device that failed to load the URL. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/policy.proto - google.ads.googleads.v12.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.PolicyTopicEvidenceDestinationNotWorkingDevice device = 4; -======== google.ads.googleads.v15.enums .PolicyTopicEvidenceDestinationNotWorkingDeviceEnum .PolicyTopicEvidenceDestinationNotWorkingDevice device = 4; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/policy.proto // The time the URL was last checked. // The format is "YYYY-MM-DD HH:MM:SS". @@ -179,14 +149,10 @@ message PolicyTopicEvidence { // Indicates the reason of the DESTINATION_NOT_WORKING policy finding. oneof reason { // The type of DNS error. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/policy.proto - google.ads.googleads.v12.enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.PolicyTopicEvidenceDestinationNotWorkingDnsErrorType dns_error_type = 1; -======== google.ads.googleads.v15.enums .PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum .PolicyTopicEvidenceDestinationNotWorkingDnsErrorType dns_error_type = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/policy.proto // The HTTP error code. int64 http_error_code = 6; diff --git a/third_party/googleapis/google/ads/googleads/v15/common/policy_summary.proto b/third_party/googleapis/google/ads/googleads/v15/common/policy_summary.proto index f73475c7d..3ac226713 100644 --- a/third_party/googleapis/google/ads/googleads/v15/common/policy_summary.proto +++ b/third_party/googleapis/google/ads/googleads/v15/common/policy_summary.proto @@ -14,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/policy_summary.proto -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/common/policy.proto"; -import "google/ads/googleads/v12/enums/policy_approval_status.proto"; -import "google/ads/googleads/v12/enums/policy_review_status.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "PolicySummaryProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; -======== package google.ads.googleads.v15.common; import "google/ads/googleads/v15/common/policy.proto"; @@ -44,7 +28,6 @@ option java_package = "com.google.ads.googleads.v15.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Common"; option ruby_package = "Google::Ads::GoogleAds::V15::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/policy_summary.proto // Proto file describing policy summary. @@ -54,13 +37,6 @@ message PolicySummary { repeated PolicyTopicEntry policy_topic_entries = 1; // Where in the review process the resource is. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/policy_summary.proto - google.ads.googleads.v12.enums.PolicyReviewStatusEnum.PolicyReviewStatus review_status = 2; - - // The overall approval status, which is calculated based on - // the status of its individual policy topic entries. - google.ads.googleads.v12.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 3; -======== google.ads.googleads.v15.enums.PolicyReviewStatusEnum.PolicyReviewStatus review_status = 2; @@ -68,5 +44,4 @@ message PolicySummary { // the status of its individual policy topic entries. google.ads.googleads.v15.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 3; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/policy_summary.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/common/real_time_bidding_setting.proto b/third_party/googleapis/google/ads/googleads/v15/common/real_time_bidding_setting.proto index a60673b23..ddc75d9b4 100644 --- a/third_party/googleapis/google/ads/googleads/v15/common/real_time_bidding_setting.proto +++ b/third_party/googleapis/google/ads/googleads/v15/common/real_time_bidding_setting.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/real_time_bidding_setting.proto -package google.ads.googleads.v13.common; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "RealTimeBiddingSettingProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; -======== package google.ads.googleads.v15.common; option csharp_namespace = "Google.Ads.GoogleAds.V15.Common"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Common"; option ruby_package = "Google::Ads::GoogleAds::V15::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/real_time_bidding_setting.proto // Proto file describing RealTimeBiddingSetting diff --git a/third_party/googleapis/google/ads/googleads/v15/common/simulation.proto b/third_party/googleapis/google/ads/googleads/v15/common/simulation.proto index 4488da979..f65a7d787 100644 --- a/third_party/googleapis/google/ads/googleads/v15/common/simulation.proto +++ b/third_party/googleapis/google/ads/googleads/v15/common/simulation.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/simulation.proto -package google.ads.googleads.v13.common; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "SimulationProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; -======== package google.ads.googleads.v15.common; option csharp_namespace = "Google.Ads.GoogleAds.V15.Common"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Common"; option ruby_package = "Google::Ads::GoogleAds::V15::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/simulation.proto // Proto file describing simulation points. diff --git a/third_party/googleapis/google/ads/googleads/v15/common/tag_snippet.proto b/third_party/googleapis/google/ads/googleads/v15/common/tag_snippet.proto index 625394df2..7410cede6 100644 --- a/third_party/googleapis/google/ads/googleads/v15/common/tag_snippet.proto +++ b/third_party/googleapis/google/ads/googleads/v15/common/tag_snippet.proto @@ -14,21 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/tag_snippet.proto -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/enums/tracking_code_page_format.proto"; -import "google/ads/googleads/v12/enums/tracking_code_type.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "TagSnippetProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; -======== package google.ads.googleads.v15.common; import "google/ads/googleads/v15/enums/tracking_code_page_format.proto"; @@ -42,27 +27,18 @@ option java_package = "com.google.ads.googleads.v15.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Common"; option ruby_package = "Google::Ads::GoogleAds::V15::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/tag_snippet.proto // Proto file describing TagSnippet // The site tag and event snippet pair for a TrackingCodeType. message TagSnippet { // The type of the generated tag snippets for tracking conversions. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/tag_snippet.proto - google.ads.googleads.v12.enums.TrackingCodeTypeEnum.TrackingCodeType type = 1; - - // The format of the web page where the tracking tag and snippet will be - // installed, for example, HTML. - google.ads.googleads.v12.enums.TrackingCodePageFormatEnum.TrackingCodePageFormat page_format = 2; -======== google.ads.googleads.v15.enums.TrackingCodeTypeEnum.TrackingCodeType type = 1; // The format of the web page where the tracking tag and snippet will be // installed, for example, HTML. google.ads.googleads.v15.enums.TrackingCodePageFormatEnum .TrackingCodePageFormat page_format = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/tag_snippet.proto // The site tag that adds visitors to your basic remarketing lists and sets // new cookies on your domain. diff --git a/third_party/googleapis/google/ads/googleads/v15/common/targeting_setting.proto b/third_party/googleapis/google/ads/googleads/v15/common/targeting_setting.proto index 14e6d4b91..9b3d027a9 100644 --- a/third_party/googleapis/google/ads/googleads/v15/common/targeting_setting.proto +++ b/third_party/googleapis/google/ads/googleads/v15/common/targeting_setting.proto @@ -14,20 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/targeting_setting.proto -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/enums/targeting_dimension.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "TargetingSettingProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; -======== package google.ads.googleads.v15.common; import "google/ads/googleads/v15/enums/targeting_dimension.proto"; @@ -40,7 +26,6 @@ option java_package = "com.google.ads.googleads.v15.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Common"; option ruby_package = "Google::Ads::GoogleAds::V15::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/targeting_setting.proto // Proto file describing TargetingSetting @@ -62,12 +47,8 @@ message TargetingSetting { // The list of per-targeting-dimension targeting settings. message TargetRestriction { // The targeting dimension that these settings apply to. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/targeting_setting.proto - google.ads.googleads.v12.enums.TargetingDimensionEnum.TargetingDimension targeting_dimension = 1; -======== google.ads.googleads.v15.enums.TargetingDimensionEnum.TargetingDimension targeting_dimension = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/targeting_setting.proto // Indicates whether to restrict your ads to show only for the criteria you // have selected for this targeting_dimension, or to target all values for diff --git a/third_party/googleapis/google/ads/googleads/v15/common/text_label.proto b/third_party/googleapis/google/ads/googleads/v15/common/text_label.proto index f33c81c7c..1436e2649 100644 --- a/third_party/googleapis/google/ads/googleads/v15/common/text_label.proto +++ b/third_party/googleapis/google/ads/googleads/v15/common/text_label.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/text_label.proto -package google.ads.googleads.v13.common; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "TextLabelProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; -======== package google.ads.googleads.v15.common; option csharp_namespace = "Google.Ads.GoogleAds.V15.Common"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Common"; option ruby_package = "Google::Ads::GoogleAds::V15::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/text_label.proto // A type of label displaying text on a colored background. message TextLabel { diff --git a/third_party/googleapis/google/ads/googleads/v15/common/url_collection.proto b/third_party/googleapis/google/ads/googleads/v15/common/url_collection.proto index c8508f77d..bd4f774e3 100644 --- a/third_party/googleapis/google/ads/googleads/v15/common/url_collection.proto +++ b/third_party/googleapis/google/ads/googleads/v15/common/url_collection.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/url_collection.proto -package google.ads.googleads.v13.common; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "UrlCollectionProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; -======== package google.ads.googleads.v15.common; option csharp_namespace = "Google.Ads.GoogleAds.V15.Common"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Common"; option ruby_package = "Google::Ads::GoogleAds::V15::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/url_collection.proto // Proto file UrlCollection type. diff --git a/third_party/googleapis/google/ads/googleads/v15/common/user_lists.proto b/third_party/googleapis/google/ads/googleads/v15/common/user_lists.proto index 4a78e8e34..beb502113 100644 --- a/third_party/googleapis/google/ads/googleads/v15/common/user_lists.proto +++ b/third_party/googleapis/google/ads/googleads/v15/common/user_lists.proto @@ -14,29 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/user_lists.proto -package google.ads.googleads.v12.common; - -import "google/ads/googleads/v12/enums/customer_match_upload_key_type.proto"; -import "google/ads/googleads/v12/enums/user_list_combined_rule_operator.proto"; -import "google/ads/googleads/v12/enums/user_list_crm_data_source_type.proto"; -import "google/ads/googleads/v12/enums/user_list_date_rule_item_operator.proto"; -import "google/ads/googleads/v12/enums/user_list_flexible_rule_operator.proto"; -import "google/ads/googleads/v12/enums/user_list_logical_rule_operator.proto"; -import "google/ads/googleads/v12/enums/user_list_number_rule_item_operator.proto"; -import "google/ads/googleads/v12/enums/user_list_prepopulation_status.proto"; -import "google/ads/googleads/v12/enums/user_list_rule_type.proto"; -import "google/ads/googleads/v12/enums/user_list_string_rule_item_operator.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/common;common"; -option java_multiple_files = true; -option java_outer_classname = "UserListsProto"; -option java_package = "com.google.ads.googleads.v12.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V12::Common"; -======== package google.ads.googleads.v15.common; import "google/ads/googleads/v15/enums/customer_match_upload_key_type.proto"; @@ -58,7 +35,6 @@ option java_package = "com.google.ads.googleads.v15.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Common"; option ruby_package = "Google::Ads::GoogleAds::V15::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/user_lists.proto // Proto file describing user list types. @@ -101,13 +77,6 @@ message CrmBasedUserListInfo { // Matching key type of the list. // Mixed data types are not allowed on the same list. // This field is required for an ADD operation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/user_lists.proto - google.ads.googleads.v12.enums.CustomerMatchUploadKeyTypeEnum.CustomerMatchUploadKeyType upload_key_type = 2; - - // Data source of the list. Default value is FIRST_PARTY. - // Only customers on the allow-list can create third-party sourced CRM lists. - google.ads.googleads.v12.enums.UserListCrmDataSourceTypeEnum.UserListCrmDataSourceType data_source_type = 3; -======== google.ads.googleads.v15.enums.CustomerMatchUploadKeyTypeEnum .CustomerMatchUploadKeyType upload_key_type = 2; @@ -115,7 +84,6 @@ message CrmBasedUserListInfo { // Only customers on the allow-list can create third-party sourced CRM lists. google.ads.googleads.v15.enums.UserListCrmDataSourceTypeEnum .UserListCrmDataSourceType data_source_type = 3; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/user_lists.proto } // A client defined rule based on custom parameters sent by web sites or @@ -127,15 +95,9 @@ message UserListRuleInfo { // That is, rule items will be ANDed together within rule item groups and the // groups themselves will be ORed together. // -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/user_lists.proto - // Currently AND of ORs (conjunctive normal form) is only supported for - // ExpressionRuleUserList. - google.ads.googleads.v12.enums.UserListRuleTypeEnum.UserListRuleType rule_type = 1; -======== // OR of ANDs is the only supported type for FlexibleRuleUserList. google.ads.googleads.v15.enums.UserListRuleTypeEnum.UserListRuleType rule_type = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/user_lists.proto // List of rule item groups that defines this rule. // Rule item groups are grouped together based on rule_type. @@ -178,13 +140,9 @@ message UserListDateRuleItemInfo { // Date comparison operator. // This field is required and must be populated when creating new date // rule item. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/user_lists.proto - google.ads.googleads.v12.enums.UserListDateRuleItemOperatorEnum.UserListDateRuleItemOperator operator = 1; -======== google.ads.googleads.v15.enums.UserListDateRuleItemOperatorEnum .UserListDateRuleItemOperator operator = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/user_lists.proto // String representing date value to be compared with the rule variable. // Supported date format is YYYY-MM-DD. @@ -202,13 +160,9 @@ message UserListNumberRuleItemInfo { // Number comparison operator. // This field is required and must be populated when creating a new number // rule item. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/user_lists.proto - google.ads.googleads.v12.enums.UserListNumberRuleItemOperatorEnum.UserListNumberRuleItemOperator operator = 1; -======== google.ads.googleads.v15.enums.UserListNumberRuleItemOperatorEnum .UserListNumberRuleItemOperator operator = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/user_lists.proto // Number value to be compared with the variable. // This field is required and must be populated when creating a new number @@ -221,13 +175,9 @@ message UserListStringRuleItemInfo { // String comparison operator. // This field is required and must be populated when creating a new string // rule item. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/user_lists.proto - google.ads.googleads.v12.enums.UserListStringRuleItemOperatorEnum.UserListStringRuleItemOperator operator = 1; -======== google.ads.googleads.v15.enums.UserListStringRuleItemOperatorEnum .UserListStringRuleItemOperator operator = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/user_lists.proto // The right hand side of the string rule item. For URLs or referrer URLs, // the value can not contain illegal URL chars such as newlines, quotes, @@ -236,26 +186,6 @@ message UserListStringRuleItemInfo { optional string value = 3; } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/user_lists.proto -// User lists defined by combining two rules, left operand and right operand. -// There are two operators: AND where left operand and right operand have to be -// true; AND_NOT where left operand is true but right operand is false. -message CombinedRuleUserListInfo { - // Left operand of the combined rule. - // This field is required and must be populated when creating new combined - // rule based user list. - UserListRuleInfo left_operand = 1; - - // Right operand of the combined rule. - // This field is required and must be populated when creating new combined - // rule based user list. - UserListRuleInfo right_operand = 2; - - // Operator to connect the two operands. - // - // Required for creating a combined rule user list. - google.ads.googleads.v12.enums.UserListCombinedRuleOperatorEnum.UserListCombinedRuleOperator rule_operator = 3; -======== // Flexible rule that wraps the common rule and a lookback window. message FlexibleRuleOperandInfo { // List of rule item groups that defines this rule. @@ -264,7 +194,6 @@ message FlexibleRuleOperandInfo { // Lookback window for this rule in days. From now until X days ago. optional int64 lookback_window_days = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/user_lists.proto } // Flexible rule representation of visitors with one or multiple actions. The @@ -290,31 +219,6 @@ message FlexibleRuleUserListInfo { repeated FlexibleRuleOperandInfo exclusive_operands = 3; } -// Flexible rule that wraps the common rule and a lookback window. -message FlexibleRuleOperandInfo { - // List of rule item groups that defines this rule. - // Rule item groups are grouped together. - UserListRuleInfo rule = 1; - - // Lookback window for this rule in days. From now until X days ago. - optional int64 lookback_window_days = 2; -} - -// Flexible rule representation of visitors with one or multiple actions. -message FlexibleRuleUserListInfo { - // Operator that defines how the inclusive operands are combined. - google.ads.googleads.v12.enums.UserListFlexibleRuleOperatorEnum.UserListFlexibleRuleOperator inclusive_rule_operator = 1; - - // Actions that are located on the inclusive side. - // These are joined together by either AND/OR as specified by the - // inclusive_rule_operator. - repeated FlexibleRuleOperandInfo inclusive_operands = 2; - - // Actions that are located on the exclusive side. - // These are joined together with OR. - repeated FlexibleRuleOperandInfo exclusive_operands = 3; -} - // Representation of a userlist that is generated by a rule. message RuleBasedUserListInfo { // The status of pre-population. The field is default to NONE if not set which @@ -325,24 +229,6 @@ message RuleBasedUserListInfo { // list's membership duration and the date when the remarketing tag is added. // The status will be updated to FINISHED once request is processed, or FAILED // if the request fails. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/user_lists.proto - google.ads.googleads.v12.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus prepopulation_status = 1; - - // Flexible rule representation of visitors with one or multiple actions. - FlexibleRuleUserListInfo flexible_rule_user_list = 5; - - // Subtypes of rule based user lists. - oneof rule_based_user_list { - // User lists defined by combining two rules. - // There are two operators: AND, where the left and right operands have to - // be true; AND_NOT where left operand is true but right operand is false. - CombinedRuleUserListInfo combined_rule_user_list = 2; - - // Visitors of a page. The page visit is defined by one boolean rule - // expression. - ExpressionRuleUserListInfo expression_rule_user_list = 4; - } -======== google.ads.googleads.v15.enums.UserListPrepopulationStatusEnum .UserListPrepopulationStatus prepopulation_status = 1; @@ -354,7 +240,6 @@ message RuleBasedUserListInfo { // inclusive operands are included in the user list, minus the users // represented by the exclusive operands. FlexibleRuleUserListInfo flexible_rule_user_list = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/user_lists.proto } // Represents a user list that is a custom combination of user lists. @@ -371,13 +256,9 @@ message LogicalUserListInfo { // list of user lists as operands. message UserListLogicalRuleInfo { // The logical operator of the rule. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/common/user_lists.proto - google.ads.googleads.v12.enums.UserListLogicalRuleOperatorEnum.UserListLogicalRuleOperator operator = 1; -======== google.ads.googleads.v15.enums.UserListLogicalRuleOperatorEnum .UserListLogicalRuleOperator operator = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/user_lists.proto // The list of operands of the rule. repeated LogicalUserListOperandInfo rule_operands = 2; diff --git a/third_party/googleapis/google/ads/googleads/v15/common/value.proto b/third_party/googleapis/google/ads/googleads/v15/common/value.proto index 71272903b..5bc16fa00 100644 --- a/third_party/googleapis/google/ads/googleads/v15/common/value.proto +++ b/third_party/googleapis/google/ads/googleads/v15/common/value.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/common/value.proto -package google.ads.googleads.v13.common; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Common"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/common;common"; -option java_multiple_files = true; -option java_outer_classname = "ValueProto"; -option java_package = "com.google.ads.googleads.v13.common"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Common"; -option ruby_package = "Google::Ads::GoogleAds::V13::Common"; -======== package google.ads.googleads.v15.common; option csharp_namespace = "Google.Ads.GoogleAds.V15.Common"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.common"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Common"; option ruby_package = "Google::Ads::GoogleAds::V15::Common"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/common/value.proto // Proto file describing value types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/access_invitation_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/access_invitation_status.proto index 97ffbec3a..ed9847940 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/access_invitation_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/access_invitation_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/access_invitation_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AccessInvitationStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/access_invitation_status.proto // Proto file describing AccessInvitationStatus enum. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/access_reason.proto b/third_party/googleapis/google/ads/googleads/v15/enums/access_reason.proto index 9f2ee3a1c..eca5cb7f6 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/access_reason.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/access_reason.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/access_reason.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AccessReasonProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/access_reason.proto // Indicates the way the resource such as user list is related to a user. message AccessReasonEnum { diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/access_role.proto b/third_party/googleapis/google/ads/googleads/v15/enums/access_role.proto index ce15f31c3..ea8c25de6 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/access_role.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/access_role.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/access_role.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AccessRoleProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/access_role.proto // Container for enum describing possible access role for user. message AccessRoleEnum { diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/account_budget_proposal_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/account_budget_proposal_status.proto index 4a043eb39..a64946953 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/account_budget_proposal_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/account_budget_proposal_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/account_budget_proposal_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AccountBudgetProposalStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/account_budget_proposal_status.proto // Proto file describing AccountBudgetProposal statuses. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/account_budget_proposal_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/account_budget_proposal_type.proto index 5fff2739e..83cb0a6c6 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/account_budget_proposal_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/account_budget_proposal_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/account_budget_proposal_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AccountBudgetProposalTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/account_budget_proposal_type.proto // Proto file describing AccountBudgetProposal types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/account_budget_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/account_budget_status.proto index e376dfb18..3d1d50417 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/account_budget_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/account_budget_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/account_budget_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AccountBudgetStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/account_budget_status.proto // Proto file describing AccountBudget statuses. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/account_link_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/account_link_status.proto index 465d02cd3..1993fa685 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/account_link_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/account_link_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/account_link_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AccountLinkStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/account_link_status.proto // Container for enum describing possible statuses of an account link. message AccountLinkStatusEnum { diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/ad_customizer_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v15/enums/ad_customizer_placeholder_field.proto index db91074fd..1ded3566b 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/ad_customizer_placeholder_field.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/ad_customizer_placeholder_field.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/ad_customizer_placeholder_field.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdCustomizerPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/ad_customizer_placeholder_field.proto // Proto file describing Ad Customizer placeholder fields. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/ad_destination_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/ad_destination_type.proto index 791d3c735..96d76959b 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/ad_destination_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/ad_destination_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/ad_destination_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdDestinationTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/ad_destination_type.proto // Proto file describing ad destination types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/ad_group_ad_rotation_mode.proto b/third_party/googleapis/google/ads/googleads/v15/enums/ad_group_ad_rotation_mode.proto index ec77f6025..d34810e0a 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/ad_group_ad_rotation_mode.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/ad_group_ad_rotation_mode.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/ad_group_ad_rotation_mode.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAdRotationModeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/ad_group_ad_rotation_mode.proto // Proto file describing ad group ad rotation mode. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/ad_group_ad_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/ad_group_ad_status.proto index 295332747..b87deb8ab 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/ad_group_ad_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/ad_group_ad_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/ad_group_ad_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAdStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/ad_group_ad_status.proto // Proto file describing ad group status. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/ad_group_criterion_approval_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/ad_group_criterion_approval_status.proto index e8a4ce523..95b0f4691 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/ad_group_criterion_approval_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/ad_group_criterion_approval_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/ad_group_criterion_approval_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionApprovalStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/ad_group_criterion_approval_status.proto // Proto file describing approval status for the criterion. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/ad_group_criterion_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/ad_group_criterion_status.proto index 4375c8381..07647daef 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/ad_group_criterion_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/ad_group_criterion_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/ad_group_criterion_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/ad_group_criterion_status.proto // Proto file describing AdGroupCriterion statuses. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/ad_group_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/ad_group_status.proto index 2b12dd336..5185579ef 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/ad_group_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/ad_group_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/ad_group_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/ad_group_status.proto // Proto file describing ad group status. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/ad_group_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/ad_group_type.proto index 38dc12a9e..ad1c403b3 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/ad_group_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/ad_group_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/ad_group_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/ad_group_type.proto // Proto file describing ad group types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/ad_network_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/ad_network_type.proto index 2f10e859f..93d5b5d52 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/ad_network_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/ad_network_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/ad_network_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdNetworkTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/ad_network_type.proto // Proto file describing ad network types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/ad_serving_optimization_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/ad_serving_optimization_status.proto index 6981f880a..b2cccfd27 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/ad_serving_optimization_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/ad_serving_optimization_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/ad_serving_optimization_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdServingOptimizationStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/ad_serving_optimization_status.proto // Proto file describing ad serving statuses. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/ad_strength.proto b/third_party/googleapis/google/ads/googleads/v15/enums/ad_strength.proto index dd9bfd53a..19c7e255c 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/ad_strength.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/ad_strength.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/ad_strength.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdStrengthProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/ad_strength.proto // Proto file describing ad strengths. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/ad_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/ad_type.proto index 7aaa19923..96256b1fb 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/ad_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/ad_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/ad_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/ad_type.proto // Proto file describing the ad type. @@ -142,11 +129,8 @@ message AdTypeEnum { // Travel ad. TRAVEL_AD = 37; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/ad_type.proto -======== // Discovery video responsive ad. DISCOVERY_VIDEO_RESPONSIVE_AD = 38; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/ad_type.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/advertising_channel_sub_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/advertising_channel_sub_type.proto index f777365c9..6551ab6a7 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/advertising_channel_sub_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/advertising_channel_sub_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/advertising_channel_sub_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdvertisingChannelSubTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/advertising_channel_sub_type.proto // Proto file describing advertising channel subtypes. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/advertising_channel_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/advertising_channel_type.proto index 480b119fe..212982033 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/advertising_channel_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/advertising_channel_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/advertising_channel_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AdvertisingChannelTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/advertising_channel_type.proto // Proto file describing advertising channel types diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/affiliate_location_feed_relationship_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/affiliate_location_feed_relationship_type.proto index 0d177a2e5..8e9e3ab73 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/affiliate_location_feed_relationship_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/affiliate_location_feed_relationship_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/affiliate_location_feed_relationship_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AffiliateLocationFeedRelationshipTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/affiliate_location_feed_relationship_type.proto // Proto file describing relation type for affiliate location feeds. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/affiliate_location_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v15/enums/affiliate_location_placeholder_field.proto index ac5d5da8f..54a537a7e 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/affiliate_location_placeholder_field.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/affiliate_location_placeholder_field.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/affiliate_location_placeholder_field.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AffiliateLocationPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/affiliate_location_placeholder_field.proto // Proto file describing Affiliate Location placeholder fields. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/age_range_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/age_range_type.proto index b9623f23f..33696ddf1 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/age_range_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/age_range_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/age_range_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AgeRangeTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/age_range_type.proto // Proto file describing age range types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/android_privacy_network_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/android_privacy_network_type.proto index 3295f9bd2..207280d6d 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/android_privacy_network_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/android_privacy_network_type.proto @@ -14,25 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/sk_ad_network_user_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SkAdNetworkUserTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; - -// Proto file describing SkAdNetwork user types. - -// Container for enumeration of SkAdNetwork user types. -message SkAdNetworkUserTypeEnum { - // Enumerates SkAdNetwork user types - enum SkAdNetworkUserType { -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -50,24 +31,12 @@ option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; message AndroidPrivacyNetworkTypeEnum { // Enumerates network types enum AndroidPrivacyNetworkType { ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/android_privacy_network_type.proto // Not specified. UNSPECIFIED = 0; // The value is unknown in this version. UNKNOWN = 1; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/sk_ad_network_user_type.proto - // The value was not present in the postback or we do not have this data for - // other reasons. - UNAVAILABLE = 2; - - // The user installed the app for the first time. - NEW_INSTALLER = 3; - - // The user has previously installed the app. - REINSTALLER = 4; -======== // Search Network. SEARCH = 2; @@ -76,6 +45,5 @@ message AndroidPrivacyNetworkTypeEnum { // YouTube Network. YOUTUBE = 4; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/android_privacy_network_type.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/app_campaign_app_store.proto b/third_party/googleapis/google/ads/googleads/v15/enums/app_campaign_app_store.proto index 3b371fa6a..6454cf6ec 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/app_campaign_app_store.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/app_campaign_app_store.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/app_campaign_app_store.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AppCampaignAppStoreProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/app_campaign_app_store.proto // Proto file describing App Campaign app store. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/app_campaign_bidding_strategy_goal_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/app_campaign_bidding_strategy_goal_type.proto index ad56a2f6b..904792d70 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/app_campaign_bidding_strategy_goal_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/app_campaign_bidding_strategy_goal_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/app_campaign_bidding_strategy_goal_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AppCampaignBiddingStrategyGoalTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/app_campaign_bidding_strategy_goal_type.proto // Proto file describing App Campaign bidding strategy goal types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/app_payment_model_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/app_payment_model_type.proto index 0e2d075bd..a478a2c3f 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/app_payment_model_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/app_payment_model_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/app_payment_model_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AppPaymentModelTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/app_payment_model_type.proto // Proto file describing criteria types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/app_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v15/enums/app_placeholder_field.proto index 1866c6501..0c31b609c 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/app_placeholder_field.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/app_placeholder_field.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/app_placeholder_field.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AppPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/app_placeholder_field.proto // Proto file describing App placeholder fields. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/app_store.proto b/third_party/googleapis/google/ads/googleads/v15/enums/app_store.proto index f065043fd..37123e5c4 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/app_store.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/app_store.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/app_store.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AppStoreProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/app_store.proto // Proto file describing app store types for an app extension. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/app_url_operating_system_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/app_url_operating_system_type.proto index c7339f8c6..14bed8aef 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/app_url_operating_system_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/app_url_operating_system_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/app_url_operating_system_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AppUrlOperatingSystemTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/app_url_operating_system_type.proto // Proto file describing operating system for a deeplink app URL. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/asset_field_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/asset_field_type.proto index c62775dd1..5754d9ec0 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/asset_field_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/asset_field_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/asset_field_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetFieldTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/asset_field_type.proto // Proto file describing asset type. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/asset_group_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/asset_group_status.proto index 888e56760..867b1eae1 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/asset_group_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/asset_group_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/asset_group_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/asset_group_status.proto // Proto file describing asset group status. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/asset_link_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/asset_link_status.proto index 8b7807c86..1f05e537d 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/asset_link_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/asset_link_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/asset_link_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetLinkStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/asset_link_status.proto // Proto file describing status of an asset link. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/asset_performance_label.proto b/third_party/googleapis/google/ads/googleads/v15/enums/asset_performance_label.proto index 1596bef85..7cfebf5fe 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/asset_performance_label.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/asset_performance_label.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/asset_performance_label.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetPerformanceLabelProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/asset_performance_label.proto // Proto file describing the performance label of an asset. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/asset_set_asset_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/asset_set_asset_status.proto index 3a7042849..5c2dd4594 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/asset_set_asset_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/asset_set_asset_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/asset_set_asset_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetAssetStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/asset_set_asset_status.proto // Proto file describing asset set status. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/asset_set_link_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/asset_set_link_status.proto index 9c84b7342..edd5e972d 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/asset_set_link_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/asset_set_link_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/asset_set_link_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetLinkStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/asset_set_link_status.proto // Proto file describing asset set status. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/asset_set_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/asset_set_status.proto index 89ef780fc..c34039cfd 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/asset_set_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/asset_set_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/asset_set_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/asset_set_status.proto // Proto file describing asset set status. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/asset_set_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/asset_set_type.proto index 103d15721..8a14a0271 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/asset_set_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/asset_set_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/asset_set_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/asset_set_type.proto // Proto file describing asset set type. @@ -93,12 +80,9 @@ message AssetSetTypeEnum { // Static location group asset set which can be used for both owned // locations and affiliate locations. STATIC_LOCATION_GROUP = 15; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/asset_set_type.proto -======== // Hotel Property asset set which is used to link a hotel property feed to // Performance Max for travel goals campaigns. HOTEL_PROPERTY = 16; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/asset_set_type.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/asset_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/asset_type.proto index 106a0e825..2c01865de 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/asset_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/asset_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/asset_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AssetTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/asset_type.proto // Proto file describing asset type. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/async_action_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/async_action_status.proto index 604c12da4..4707486e4 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/async_action_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/async_action_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/async_action_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AsyncActionStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/async_action_status.proto // Proto file describing experiment async action status. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/attribution_model.proto b/third_party/googleapis/google/ads/googleads/v15/enums/attribution_model.proto index 82ad5cef5..0191bf651 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/attribution_model.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/attribution_model.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/attribution_model.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AttributionModelProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/attribution_model.proto // Container for enum representing the attribution model that describes how to // distribute credit for a particular conversion across potentially many prior diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/audience_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/audience_status.proto index 3050831dc..a1d3f1e0e 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/audience_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/audience_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/audience_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "AudienceStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/audience_status.proto // Proto file describing audience status. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/batch_job_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/batch_job_status.proto index 30c4635d6..748a17c24 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/batch_job_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/batch_job_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/batch_job_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BatchJobStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/batch_job_status.proto // Proto file describing batch job statuses. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/bid_modifier_source.proto b/third_party/googleapis/google/ads/googleads/v15/enums/bid_modifier_source.proto index 3f75aeaea..4d5d95475 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/bid_modifier_source.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/bid_modifier_source.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/bid_modifier_source.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BidModifierSourceProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/bid_modifier_source.proto // Proto file describing bid modifier source. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/bidding_source.proto b/third_party/googleapis/google/ads/googleads/v15/enums/bidding_source.proto index 8aebdd47e..0b7a0548a 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/bidding_source.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/bidding_source.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/bidding_source.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BiddingSourceProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/bidding_source.proto // Proto file describing bidding sources. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/bidding_strategy_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/bidding_strategy_status.proto index 0051b801b..6e897110d 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/bidding_strategy_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/bidding_strategy_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/bidding_strategy_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BiddingStrategyStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/bidding_strategy_status.proto // Proto file describing BiddingStrategy statuses. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/bidding_strategy_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/bidding_strategy_type.proto index c27c01e5c..50287c5d4 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/bidding_strategy_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/bidding_strategy_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/bidding_strategy_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BiddingStrategyTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/bidding_strategy_type.proto // Proto file describing bidding schemes. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/billing_setup_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/billing_setup_status.proto index 8c983bf1a..f345e892d 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/billing_setup_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/billing_setup_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/billing_setup_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BillingSetupStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/billing_setup_status.proto // Proto file describing BillingSetup statuses. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/brand_safety_suitability.proto b/third_party/googleapis/google/ads/googleads/v15/enums/brand_safety_suitability.proto index f46f1054d..7f76931e4 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/brand_safety_suitability.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/brand_safety_suitability.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/brand_safety_suitability.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BrandSafetySuitabilityProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/brand_safety_suitability.proto // Proto file describing brand safety suitability settings. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/budget_campaign_association_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/budget_campaign_association_status.proto index ea8beb4ba..0d933e5b0 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/budget_campaign_association_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/budget_campaign_association_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/budget_campaign_association_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BudgetCampaignAssociationStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/budget_campaign_association_status.proto // Proto file describing Budget and Campaign association status. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/budget_delivery_method.proto b/third_party/googleapis/google/ads/googleads/v15/enums/budget_delivery_method.proto index afcd683ec..83394e6f6 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/budget_delivery_method.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/budget_delivery_method.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/budget_delivery_method.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BudgetDeliveryMethodProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/budget_delivery_method.proto // Proto file describing Budget delivery methods. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/budget_period.proto b/third_party/googleapis/google/ads/googleads/v15/enums/budget_period.proto index b493a8bf0..0676458aa 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/budget_period.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/budget_period.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/budget_period.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BudgetPeriodProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/budget_period.proto // Proto file describing Budget delivery methods. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/budget_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/budget_status.proto index bcf71187d..0f14c2312 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/budget_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/budget_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/budget_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BudgetStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/budget_status.proto // Proto file describing Budget statuses diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/budget_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/budget_type.proto index 1536499aa..e634d8bf3 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/budget_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/budget_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/budget_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "BudgetTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/budget_type.proto // Proto file describing Budget types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/call_conversion_reporting_state.proto b/third_party/googleapis/google/ads/googleads/v15/enums/call_conversion_reporting_state.proto index dd61408b6..3b8824c0b 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/call_conversion_reporting_state.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/call_conversion_reporting_state.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/call_conversion_reporting_state.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CallConversionReportingStateProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/call_conversion_reporting_state.proto // Proto file describing call conversion reporting state. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/call_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v15/enums/call_placeholder_field.proto index 07d47b29d..b408cfa9f 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/call_placeholder_field.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/call_placeholder_field.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/call_placeholder_field.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CallPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/call_placeholder_field.proto // Proto file describing Call placeholder fields. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/call_to_action_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/call_to_action_type.proto index c7f1b0d60..7e406960a 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/call_to_action_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/call_to_action_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/call_to_action_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/call_to_action_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/call_to_action_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CallToActionTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/call_to_action_type.proto // Proto file describing call to action type. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/call_tracking_display_location.proto b/third_party/googleapis/google/ads/googleads/v15/enums/call_tracking_display_location.proto index 9f4dc41a1..172e9e69d 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/call_tracking_display_location.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/call_tracking_display_location.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/call_tracking_display_location.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CallTrackingDisplayLocationProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/call_tracking_display_location.proto // Proto file describing call tracking display location. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/call_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/call_type.proto index 60d40b26e..b390528d8 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/call_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/call_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/call_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CallTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/call_type.proto // Proto file describing call types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/callout_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v15/enums/callout_placeholder_field.proto index 2a9fc521b..7a674eecd 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/callout_placeholder_field.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/callout_placeholder_field.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/callout_placeholder_field.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CalloutPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/callout_placeholder_field.proto // Proto file describing Callout placeholder fields. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/campaign_criterion_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/campaign_criterion_status.proto index 0702653a2..9c1ed85ed 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/campaign_criterion_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/campaign_criterion_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/campaign_criterion_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CampaignCriterionStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/campaign_criterion_status.proto // Proto file describing CampaignCriterion statuses. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/campaign_draft_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/campaign_draft_status.proto index ac9667145..b6ee76fef 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/campaign_draft_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/campaign_draft_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/campaign_draft_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CampaignDraftStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/campaign_draft_status.proto // Proto file describing campaign draft status. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/campaign_experiment_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/campaign_experiment_type.proto index 18ed1d873..79ea42487 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/campaign_experiment_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/campaign_experiment_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/campaign_experiment_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CampaignExperimentTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/campaign_experiment_type.proto // Proto file describing campaign experiment type. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/campaign_group_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/campaign_group_status.proto index e5f527e16..4b20216ad 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/campaign_group_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/campaign_group_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/campaign_group_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CampaignGroupStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/campaign_group_status.proto // Proto file describing CampaignGroup statuses. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/campaign_serving_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/campaign_serving_status.proto index f20dafe66..74cde1b33 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/campaign_serving_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/campaign_serving_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/campaign_serving_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CampaignServingStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/campaign_serving_status.proto // Proto file describing Campaign serving statuses. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/campaign_shared_set_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/campaign_shared_set_status.proto index f5c1b8eec..f036a88dd 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/campaign_shared_set_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/campaign_shared_set_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/campaign_shared_set_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CampaignSharedSetStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/campaign_shared_set_status.proto // Proto file describing campaign shared set statuses. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/campaign_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/campaign_status.proto index ad43c8b9c..a1ccaa10c 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/campaign_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/campaign_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/campaign_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CampaignStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/campaign_status.proto // Proto file describing campaign status. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/change_client_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/change_client_type.proto index 12384303e..10967d65e 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/change_client_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/change_client_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/change_client_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ChangeClientTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/change_client_type.proto // Proto file describing the sources that the change event resource was // made through. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/change_event_resource_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/change_event_resource_type.proto index 6226207bf..ba38ee707 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/change_event_resource_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/change_event_resource_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/change_event_resource_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ChangeEventResourceTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/change_event_resource_type.proto // Proto file describing the resource types the ChangeEvent resource supports. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/change_status_operation.proto b/third_party/googleapis/google/ads/googleads/v15/enums/change_status_operation.proto index a031b2433..6beaa6015 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/change_status_operation.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/change_status_operation.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/change_status_operation.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ChangeStatusOperationProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/change_status_operation.proto // Proto file describing the change status operations. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/change_status_resource_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/change_status_resource_type.proto index 40db58c14..e630fa7ac 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/change_status_resource_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/change_status_resource_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/change_status_resource_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ChangeStatusResourceTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/change_status_resource_type.proto // Proto file describing the resource types the ChangeStatus resource supports. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/click_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/click_type.proto index 60dca434a..c1f30b3d0 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/click_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/click_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/click_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ClickTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/click_type.proto // Proto file describing click types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/combined_audience_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/combined_audience_status.proto index 8411c09f3..d575b1e11 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/combined_audience_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/combined_audience_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/combined_audience_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CombinedAudienceStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/combined_audience_status.proto // Proto file describing combined audience status. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/content_label_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/content_label_type.proto index 97cef5115..31c8a1317 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/content_label_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/content_label_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/content_label_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ContentLabelTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/content_label_type.proto // Proto file describing content label types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/conversion_action_category.proto b/third_party/googleapis/google/ads/googleads/v15/enums/conversion_action_category.proto index f4195c753..9aefa97a2 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/conversion_action_category.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/conversion_action_category.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/conversion_action_category.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionActionCategoryProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/conversion_action_category.proto // Container for enum describing the category of conversions that are associated // with a ConversionAction. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/conversion_action_counting_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/conversion_action_counting_type.proto index 08e55d23f..67b523f47 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/conversion_action_counting_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/conversion_action_counting_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/conversion_action_counting_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionActionCountingTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/conversion_action_counting_type.proto // Proto file describing conversion action counting type. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/conversion_action_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/conversion_action_status.proto index b5555d7a2..dacff4257 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/conversion_action_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/conversion_action_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/conversion_action_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionActionStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/conversion_action_status.proto // Proto file describing conversion action status. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/conversion_action_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/conversion_action_type.proto index 35684a1ac..b42ccf716 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/conversion_action_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/conversion_action_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/conversion_action_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/conversion_action_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/conversion_action_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionActionTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/conversion_action_type.proto // Proto file describing conversion action type. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/conversion_adjustment_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/conversion_adjustment_type.proto index 46e4ac4b4..711999c60 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/conversion_adjustment_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/conversion_adjustment_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/conversion_adjustment_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionAdjustmentTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/conversion_adjustment_type.proto // Proto file describing conversion adjustment type. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/conversion_attribution_event_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/conversion_attribution_event_type.proto index 19bf88975..4f8e8084d 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/conversion_attribution_event_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/conversion_attribution_event_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/conversion_attribution_event_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionAttributionEventTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/conversion_attribution_event_type.proto // Container for enum indicating the event type the conversion is attributed to. message ConversionAttributionEventTypeEnum { diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/conversion_custom_variable_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/conversion_custom_variable_status.proto index 1d9086456..ea804a2f3 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/conversion_custom_variable_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/conversion_custom_variable_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/conversion_custom_variable_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionCustomVariableStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/conversion_custom_variable_status.proto // Proto file describing conversion custom variable status. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/conversion_environment_enum.proto b/third_party/googleapis/google/ads/googleads/v15/enums/conversion_environment_enum.proto index 84b2eed7e..240a62e56 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/conversion_environment_enum.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/conversion_environment_enum.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/conversion_environment_enum.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionEnvironmentEnumProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/conversion_environment_enum.proto // Container for enum representing the conversion environment an uploaded // conversion was recorded on, for example, App or Web. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/conversion_lag_bucket.proto b/third_party/googleapis/google/ads/googleads/v15/enums/conversion_lag_bucket.proto index 08e9aabcb..f7d5ba81a 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/conversion_lag_bucket.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/conversion_lag_bucket.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/conversion_lag_bucket.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionLagBucketProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/conversion_lag_bucket.proto // Container for enum representing the number of days between impression and // conversion. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/conversion_or_adjustment_lag_bucket.proto b/third_party/googleapis/google/ads/googleads/v15/enums/conversion_or_adjustment_lag_bucket.proto index 14b562730..078234bfd 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/conversion_or_adjustment_lag_bucket.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/conversion_or_adjustment_lag_bucket.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/conversion_or_adjustment_lag_bucket.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionOrAdjustmentLagBucketProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/conversion_or_adjustment_lag_bucket.proto // Container for enum representing the number of days between the impression and // the conversion or between the impression and adjustments to the conversion. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/conversion_origin.proto b/third_party/googleapis/google/ads/googleads/v15/enums/conversion_origin.proto index 363325d3c..ef57fd6af 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/conversion_origin.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/conversion_origin.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/conversion_origin.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionOriginProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/conversion_origin.proto // Proto file describing conversion origin. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/conversion_tracking_status_enum.proto b/third_party/googleapis/google/ads/googleads/v15/enums/conversion_tracking_status_enum.proto index c731e353a..0fd164382 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/conversion_tracking_status_enum.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/conversion_tracking_status_enum.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/conversion_tracking_status_enum.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionTrackingStatusEnumProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/conversion_tracking_status_enum.proto // Container for enum representing the conversion tracking status of the // customer. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/conversion_value_rule_primary_dimension.proto b/third_party/googleapis/google/ads/googleads/v15/enums/conversion_value_rule_primary_dimension.proto index c7142800d..25d763755 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/conversion_value_rule_primary_dimension.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/conversion_value_rule_primary_dimension.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/conversion_value_rule_primary_dimension.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionValueRulePrimaryDimensionProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/conversion_value_rule_primary_dimension.proto // Proto file describing conversion value rule primary dimension. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/conversion_value_rule_set_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/conversion_value_rule_set_status.proto index 9b66aeb10..0c91f7e38 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/conversion_value_rule_set_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/conversion_value_rule_set_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/conversion_value_rule_set_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionValueRuleSetStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/conversion_value_rule_set_status.proto // Proto file describing conversion value rule set status. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/conversion_value_rule_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/conversion_value_rule_status.proto index 301c28d36..3093bc4dd 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/conversion_value_rule_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/conversion_value_rule_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/conversion_value_rule_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ConversionValueRuleStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/conversion_value_rule_status.proto // Proto file describing conversion value rule status. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/criterion_category_channel_availability_mode.proto b/third_party/googleapis/google/ads/googleads/v15/enums/criterion_category_channel_availability_mode.proto index d01b97af0..ae4a89740 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/criterion_category_channel_availability_mode.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/criterion_category_channel_availability_mode.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/criterion_category_channel_availability_mode.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CriterionCategoryChannelAvailabilityModeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/criterion_category_channel_availability_mode.proto // Proto file describing the criterion category channel availability mode. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/criterion_category_locale_availability_mode.proto b/third_party/googleapis/google/ads/googleads/v15/enums/criterion_category_locale_availability_mode.proto index 5067945c7..e9def8e22 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/criterion_category_locale_availability_mode.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/criterion_category_locale_availability_mode.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/criterion_category_locale_availability_mode.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CriterionCategoryLocaleAvailabilityModeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/criterion_category_locale_availability_mode.proto // Proto file describing the criterion category locale availability mode. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/criterion_system_serving_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/criterion_system_serving_status.proto index d9e5eb3e5..6c0a940fd 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/criterion_system_serving_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/criterion_system_serving_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/criterion_system_serving_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CriterionSystemServingStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/criterion_system_serving_status.proto // Proto file describing approval status for the criterion. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/criterion_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/criterion_type.proto index 1591b089c..f171fd6ea 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/criterion_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/criterion_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/criterion_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CriterionTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/criterion_type.proto // Proto file describing criteria types. @@ -152,10 +139,6 @@ message CriterionTypeEnum { // Audience AUDIENCE = 35; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/criterion_type.proto - // Local Services Ads Service ID. - LOCAL_SERVICE_ID = 37; -======== // Negative Keyword List NEGATIVE_KEYWORD_LIST = 36; @@ -170,6 +153,5 @@ message CriterionTypeEnum { // Brand List BRAND_LIST = 40; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/criterion_type.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/custom_audience_member_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/custom_audience_member_type.proto index 5cf018054..d62458e78 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/custom_audience_member_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/custom_audience_member_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/custom_audience_member_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomAudienceMemberTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/custom_audience_member_type.proto // Proto file describing custom audience member type. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/custom_audience_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/custom_audience_status.proto index 8e7a70eea..64ddca879 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/custom_audience_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/custom_audience_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/custom_audience_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomAudienceStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/custom_audience_status.proto // Proto file describing custom audience status. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/custom_audience_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/custom_audience_type.proto index a2386f8d6..25a9c5846 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/custom_audience_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/custom_audience_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/custom_audience_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomAudienceTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/custom_audience_type.proto // Proto file describing custom audience type. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/custom_conversion_goal_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/custom_conversion_goal_status.proto index c60e359eb..3c44c0433 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/custom_conversion_goal_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/custom_conversion_goal_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/custom_conversion_goal_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomConversionGoalStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/custom_conversion_goal_status.proto // Proto file describing custom conversion goal status. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/custom_interest_member_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/custom_interest_member_type.proto index 3bd2d96e9..d3efd8643 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/custom_interest_member_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/custom_interest_member_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/custom_interest_member_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomInterestMemberTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/custom_interest_member_type.proto // Proto file describing custom interest member type. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/custom_interest_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/custom_interest_status.proto index fcc819a13..c8d017f26 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/custom_interest_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/custom_interest_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/custom_interest_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomInterestStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/custom_interest_status.proto // Proto file describing custom interest status. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/custom_interest_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/custom_interest_type.proto index 447570cd0..44d1b3a8f 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/custom_interest_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/custom_interest_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/custom_interest_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomInterestTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/custom_interest_type.proto // Proto file describing custom interest type. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/custom_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v15/enums/custom_placeholder_field.proto index fe54eccf2..b7c72d269 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/custom_placeholder_field.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/custom_placeholder_field.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/custom_placeholder_field.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/custom_placeholder_field.proto // Proto file describing Custom placeholder fields. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/customer_match_upload_key_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/customer_match_upload_key_type.proto index cbaaba2a2..879998476 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/customer_match_upload_key_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/customer_match_upload_key_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/customer_match_upload_key_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomerMatchUploadKeyTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/customer_match_upload_key_type.proto // Indicates what type of data are the user list's members matched from. message CustomerMatchUploadKeyTypeEnum { diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/customer_pay_per_conversion_eligibility_failure_reason.proto b/third_party/googleapis/google/ads/googleads/v15/enums/customer_pay_per_conversion_eligibility_failure_reason.proto index caf4451a1..0b41efac2 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/customer_pay_per_conversion_eligibility_failure_reason.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/customer_pay_per_conversion_eligibility_failure_reason.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/customer_pay_per_conversion_eligibility_failure_reason.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomerPayPerConversionEligibilityFailureReasonProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/customer_pay_per_conversion_eligibility_failure_reason.proto // Proto file describing pay per conversion eligibility failure reasons. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/customer_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/customer_status.proto index 687608efa..2b4ed7d45 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/customer_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/customer_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/customer_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomerStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/customer_status.proto // Container for enum describing possible statuses of a customer. message CustomerStatusEnum { diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/customizer_attribute_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/customizer_attribute_status.proto index 80e38b8bc..4375d7dd9 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/customizer_attribute_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/customizer_attribute_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/customizer_attribute_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomizerAttributeStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/customizer_attribute_status.proto // Proto file describing customizer attribute status. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/customizer_attribute_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/customizer_attribute_type.proto index 7466d67de..2a6ca291b 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/customizer_attribute_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/customizer_attribute_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/customizer_attribute_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomizerAttributeTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/customizer_attribute_type.proto // Proto file describing customizer attribute type. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/customizer_value_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/customizer_value_status.proto index eced6d074..709ae40dc 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/customizer_value_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/customizer_value_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/customizer_value_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "CustomizerValueStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/customizer_value_status.proto // Proto file describing customizer value status. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/data_driven_model_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/data_driven_model_status.proto index 944acd5ef..346fe4260 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/data_driven_model_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/data_driven_model_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/data_driven_model_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "DataDrivenModelStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/data_driven_model_status.proto // Proto file describing data-driven model status. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/day_of_week.proto b/third_party/googleapis/google/ads/googleads/v15/enums/day_of_week.proto index 012fb0673..8d2054709 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/day_of_week.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/day_of_week.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/day_of_week.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "DayOfWeekProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/day_of_week.proto // Proto file describing days of week. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/device.proto b/third_party/googleapis/google/ads/googleads/v15/enums/device.proto index 221c220d9..4312d7b87 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/device.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/device.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/device.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "DeviceProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/device.proto // Proto file describing devices. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/display_ad_format_setting.proto b/third_party/googleapis/google/ads/googleads/v15/enums/display_ad_format_setting.proto index beb121767..06fca910f 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/display_ad_format_setting.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/display_ad_format_setting.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/display_ad_format_setting.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "DisplayAdFormatSettingProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/display_ad_format_setting.proto // Proto file describing display ad format settings. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/display_upload_product_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/display_upload_product_type.proto index 2eba75ae1..752711441 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/display_upload_product_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/display_upload_product_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/display_upload_product_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "DisplayUploadProductTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/display_upload_product_type.proto // Proto file describing display upload product types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/distance_bucket.proto b/third_party/googleapis/google/ads/googleads/v15/enums/distance_bucket.proto index 6481bc914..170f5dc24 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/distance_bucket.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/distance_bucket.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/distance_bucket.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "DistanceBucketProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/distance_bucket.proto // Proto file describing distance buckets. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/dsa_page_feed_criterion_field.proto b/third_party/googleapis/google/ads/googleads/v15/enums/dsa_page_feed_criterion_field.proto index 0b6f6af19..c35affe43 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/dsa_page_feed_criterion_field.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/dsa_page_feed_criterion_field.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/dsa_page_feed_criterion_field.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "DsaPageFeedCriterionFieldProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/dsa_page_feed_criterion_field.proto // Proto file describing Dynamic Search Ad Page Feed criterion fields. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/education_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v15/enums/education_placeholder_field.proto index 8bd65fb2d..dcc899910 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/education_placeholder_field.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/education_placeholder_field.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/education_placeholder_field.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "EducationPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/education_placeholder_field.proto // Proto file describing Education placeholder fields. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/experiment_metric.proto b/third_party/googleapis/google/ads/googleads/v15/enums/experiment_metric.proto index 4458f5d97..2e3328f1f 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/experiment_metric.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/experiment_metric.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/experiment_metric.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ExperimentMetricProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/experiment_metric.proto // Proto file describing experiment metric. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/experiment_metric_direction.proto b/third_party/googleapis/google/ads/googleads/v15/enums/experiment_metric_direction.proto index e69f726f5..efe67ac82 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/experiment_metric_direction.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/experiment_metric_direction.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/experiment_metric_direction.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ExperimentMetricDirectionProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/experiment_metric_direction.proto // Proto file describing experiment metric direction. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/experiment_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/experiment_status.proto index ceef81860..2cc9408df 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/experiment_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/experiment_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/experiment_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ExperimentStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/experiment_status.proto // Proto file describing experiment status. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/experiment_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/experiment_type.proto index 5f0852c59..3b7cf76aa 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/experiment_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/experiment_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/experiment_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ExperimentTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/experiment_type.proto // Proto file describing experiment type. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/extension_setting_device.proto b/third_party/googleapis/google/ads/googleads/v15/enums/extension_setting_device.proto index 5b2e6cbd7..acc5983bd 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/extension_setting_device.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/extension_setting_device.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/extension_setting_device.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ExtensionSettingDeviceProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/extension_setting_device.proto // Proto file describing extension setting device type. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/extension_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/extension_type.proto index 1c8403d00..9ff770105 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/extension_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/extension_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/extension_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ExtensionTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/extension_type.proto // Proto file describing extension type. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/external_conversion_source.proto b/third_party/googleapis/google/ads/googleads/v15/enums/external_conversion_source.proto index a078982dc..f9be05e71 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/external_conversion_source.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/external_conversion_source.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/external_conversion_source.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ExternalConversionSourceProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/external_conversion_source.proto // Container for enum describing the external conversion source that is // associated with a ConversionAction. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/feed_attribute_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/feed_attribute_type.proto index 80339043a..231f51f82 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/feed_attribute_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/feed_attribute_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/feed_attribute_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedAttributeTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/feed_attribute_type.proto // Proto file describing feed attribute type. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/feed_item_quality_approval_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/feed_item_quality_approval_status.proto index 95faaabae..498d8cd10 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/feed_item_quality_approval_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/feed_item_quality_approval_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/feed_item_quality_approval_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemQualityApprovalStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/feed_item_quality_approval_status.proto // Proto file describing feed item quality evaluation approval statuses. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/feed_item_quality_disapproval_reason.proto b/third_party/googleapis/google/ads/googleads/v15/enums/feed_item_quality_disapproval_reason.proto index 97f414185..45ed8d2c6 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/feed_item_quality_disapproval_reason.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/feed_item_quality_disapproval_reason.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/feed_item_quality_disapproval_reason.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemQualityDisapprovalReasonProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/feed_item_quality_disapproval_reason.proto // Proto file describing feed item quality disapproval reasons. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/feed_item_set_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/feed_item_set_status.proto index 2964c94f4..db8476cb0 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/feed_item_set_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/feed_item_set_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/feed_item_set_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemSetStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/feed_item_set_status.proto // Proto file describing feed item set status. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/feed_item_set_string_filter_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/feed_item_set_string_filter_type.proto index 6394cedce..e7dc4fd90 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/feed_item_set_string_filter_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/feed_item_set_string_filter_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/feed_item_set_string_filter_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemSetStringFilterTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/feed_item_set_string_filter_type.proto // The type of string matching to be used for a dynamic FeedItemSet filter. message FeedItemSetStringFilterTypeEnum { diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/feed_item_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/feed_item_status.proto index 4de2034fa..db8a3d703 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/feed_item_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/feed_item_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/feed_item_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/feed_item_status.proto // Proto file describing feed item status. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/feed_item_target_device.proto b/third_party/googleapis/google/ads/googleads/v15/enums/feed_item_target_device.proto index 8a2918c62..95af73f39 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/feed_item_target_device.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/feed_item_target_device.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/feed_item_target_device.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemTargetDeviceProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/feed_item_target_device.proto // Proto file describing feed item target device type. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/feed_item_target_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/feed_item_target_status.proto index 17df52443..7852fd9bc 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/feed_item_target_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/feed_item_target_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/feed_item_target_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemTargetStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/feed_item_target_status.proto // Proto file describing feed item target status. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/feed_item_target_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/feed_item_target_type.proto index da02f7e50..ada834960 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/feed_item_target_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/feed_item_target_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/feed_item_target_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemTargetTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/feed_item_target_type.proto // Proto file describing feed item target type status. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/feed_item_validation_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/feed_item_validation_status.proto index 074472826..797e465fc 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/feed_item_validation_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/feed_item_validation_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/feed_item_validation_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemValidationStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/feed_item_validation_status.proto // Proto file describing feed item validation statuses. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/feed_link_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/feed_link_status.proto index 3d494843b..ec493f7e2 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/feed_link_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/feed_link_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/feed_link_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedLinkStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/feed_link_status.proto // Proto file describing status of a feed link. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/feed_mapping_criterion_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/feed_mapping_criterion_type.proto index 358af095f..9f0cf836f 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/feed_mapping_criterion_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/feed_mapping_criterion_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/feed_mapping_criterion_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedMappingCriterionTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/feed_mapping_criterion_type.proto // Proto file describing criterion types for feed mappings. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/feed_mapping_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/feed_mapping_status.proto index 05ef5ba9b..55018bf3f 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/feed_mapping_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/feed_mapping_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/feed_mapping_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedMappingStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/feed_mapping_status.proto // Proto file describing feed mapping status. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/feed_origin.proto b/third_party/googleapis/google/ads/googleads/v15/enums/feed_origin.proto index d3d958cd5..722fbee08 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/feed_origin.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/feed_origin.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/feed_origin.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedOriginProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/feed_origin.proto // Proto file describing feed origin. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/feed_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/feed_status.proto index 1af55dfaa..aa075171b 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/feed_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/feed_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/feed_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FeedStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/feed_status.proto // Proto file describing feed status. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/flight_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v15/enums/flight_placeholder_field.proto index cc5006119..e7315ebbc 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/flight_placeholder_field.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/flight_placeholder_field.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/flight_placeholder_field.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FlightsPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/flight_placeholder_field.proto // Proto file describing Flight placeholder fields. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/frequency_cap_event_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/frequency_cap_event_type.proto index 9d772ab7e..eb181e2a5 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/frequency_cap_event_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/frequency_cap_event_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/frequency_cap_event_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FrequencyCapEventTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/frequency_cap_event_type.proto // Proto file describing frequency caps. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/frequency_cap_level.proto b/third_party/googleapis/google/ads/googleads/v15/enums/frequency_cap_level.proto index 907ae92bc..01b411f01 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/frequency_cap_level.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/frequency_cap_level.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/frequency_cap_level.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FrequencyCapLevelProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/frequency_cap_level.proto // Proto file describing frequency caps. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/frequency_cap_time_unit.proto b/third_party/googleapis/google/ads/googleads/v15/enums/frequency_cap_time_unit.proto index ba7e12e90..8c2ec0d55 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/frequency_cap_time_unit.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/frequency_cap_time_unit.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/frequency_cap_time_unit.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "FrequencyCapTimeUnitProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/frequency_cap_time_unit.proto // Proto file describing frequency caps. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/gender_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/gender_type.proto index 3f67bf9b8..7f55f1600 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/gender_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/gender_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/gender_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "GenderTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/gender_type.proto // Proto file describing gender types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/geo_target_constant_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/geo_target_constant_status.proto index c8619e03a..706f2c597 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/geo_target_constant_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/geo_target_constant_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/geo_target_constant_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "GeoTargetConstantStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/geo_target_constant_status.proto // Proto file describing geo target constant statuses. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/geo_targeting_restriction.proto b/third_party/googleapis/google/ads/googleads/v15/enums/geo_targeting_restriction.proto index ac02fe856..99734e7bc 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/geo_targeting_restriction.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/geo_targeting_restriction.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/geo_targeting_restriction.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "GeoTargetingRestrictionProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/geo_targeting_restriction.proto // Proto file describing GeoTargetingRestriction. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/geo_targeting_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/geo_targeting_type.proto index c607cc61b..3b5a3b8c9 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/geo_targeting_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/geo_targeting_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/geo_targeting_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "GeoTargetingTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/geo_targeting_type.proto // Proto file describing geo targeting types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/goal_config_level.proto b/third_party/googleapis/google/ads/googleads/v15/enums/goal_config_level.proto index 4ad1c22fc..49f65c480 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/goal_config_level.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/goal_config_level.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/goal_config_level.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "GoalConfigLevelProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/goal_config_level.proto // Proto file describing goal config level. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/google_ads_field_category.proto b/third_party/googleapis/google/ads/googleads/v15/enums/google_ads_field_category.proto index df6d370d6..1b8c164cf 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/google_ads_field_category.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/google_ads_field_category.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/google_ads_field_category.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "GoogleAdsFieldCategoryProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/google_ads_field_category.proto // Proto file describing GoogleAdsField categories. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/google_ads_field_data_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/google_ads_field_data_type.proto index 353b5275b..f563b5732 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/google_ads_field_data_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/google_ads_field_data_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/google_ads_field_data_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "GoogleAdsFieldDataTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/google_ads_field_data_type.proto // Proto file describing GoogleAdsField data types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/google_voice_call_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/google_voice_call_status.proto index fafcbbebb..30574a60c 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/google_voice_call_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/google_voice_call_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/google_voice_call_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "GoogleVoiceCallStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/google_voice_call_status.proto // Proto file describing google voice call status. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/hotel_date_selection_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/hotel_date_selection_type.proto index 62dc427fa..4adabffe9 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/hotel_date_selection_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/hotel_date_selection_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/hotel_date_selection_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "HotelDateSelectionTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/hotel_date_selection_type.proto // Proto file describing hotel date selection types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/hotel_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v15/enums/hotel_placeholder_field.proto index 0b0512a26..fd549c053 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/hotel_placeholder_field.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/hotel_placeholder_field.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/hotel_placeholder_field.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "HotelsPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/hotel_placeholder_field.proto // Proto file describing Hotel placeholder fields. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/hotel_price_bucket.proto b/third_party/googleapis/google/ads/googleads/v15/enums/hotel_price_bucket.proto index 77fdb336a..fc2fd1344 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/hotel_price_bucket.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/hotel_price_bucket.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/hotel_price_bucket.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "HotelPriceBucketProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/hotel_price_bucket.proto // Proto file describing hotel price buckets. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/hotel_rate_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/hotel_rate_type.proto index 1e6d7d49b..670874ca1 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/hotel_rate_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/hotel_rate_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/hotel_rate_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "HotelRateTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/hotel_rate_type.proto // Proto file describing hotel rate types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/hotel_reconciliation_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/hotel_reconciliation_status.proto index 76ac0f3bf..6eac8c3db 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/hotel_reconciliation_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/hotel_reconciliation_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/hotel_reconciliation_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "HotelReconciliationStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/hotel_reconciliation_status.proto // Proto file describing hotel reconciliation row status. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/image_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v15/enums/image_placeholder_field.proto index 5514b8468..db003f9f3 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/image_placeholder_field.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/image_placeholder_field.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/image_placeholder_field.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ImagePlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/image_placeholder_field.proto // Proto file describing Advertiser Provided Image placeholder fields. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/income_range_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/income_range_type.proto index 87cf19216..00c9040d0 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/income_range_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/income_range_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/income_range_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "IncomeRangeTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/income_range_type.proto // Proto file describing income range types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/interaction_event_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/interaction_event_type.proto index 5c973b2e8..3eb2a2e50 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/interaction_event_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/interaction_event_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/interaction_event_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "InteractionEventTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/interaction_event_type.proto // Proto file describing types of payable and free interactions. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/interaction_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/interaction_type.proto index b33ca026e..1bf280f0d 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/interaction_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/interaction_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/interaction_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "InteractionTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/interaction_type.proto // Proto file describing interaction types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/invoice_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/invoice_type.proto index 1b8acca2f..cc0e9004c 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/invoice_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/invoice_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/invoice_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "InvoiceTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/invoice_type.proto // Proto file describing invoice types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/job_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v15/enums/job_placeholder_field.proto index d903ef44c..267c9f7b3 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/job_placeholder_field.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/job_placeholder_field.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/job_placeholder_field.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "JobsPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/job_placeholder_field.proto // Proto file describing Job placeholder fields. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/keyword_match_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/keyword_match_type.proto index 07b1db9c5..cc4fe32c3 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/keyword_match_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/keyword_match_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/keyword_match_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "KeywordMatchTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/keyword_match_type.proto // Proto file describing Keyword match types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/keyword_plan_aggregate_metric_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/keyword_plan_aggregate_metric_type.proto index 6674b9207..5909fffec 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/keyword_plan_aggregate_metric_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/keyword_plan_aggregate_metric_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/keyword_plan_aggregate_metric_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanAggregateMetricTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/keyword_plan_aggregate_metric_type.proto // Proto file describing keyword plan aggregate metric types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/keyword_plan_competition_level.proto b/third_party/googleapis/google/ads/googleads/v15/enums/keyword_plan_competition_level.proto index fb0d55720..ea9d9e6f0 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/keyword_plan_competition_level.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/keyword_plan_competition_level.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/keyword_plan_competition_level.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanCompetitionLevelProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/keyword_plan_competition_level.proto // Proto file describing Keyword Planner competition levels. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/keyword_plan_concept_group_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/keyword_plan_concept_group_type.proto index e60a693ca..000d33f2f 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/keyword_plan_concept_group_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/keyword_plan_concept_group_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/keyword_plan_concept_group_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanConceptGroupTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/keyword_plan_concept_group_type.proto // Proto file describing Keyword Planner Concept Group types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/keyword_plan_forecast_interval.proto b/third_party/googleapis/google/ads/googleads/v15/enums/keyword_plan_forecast_interval.proto index 31eeda8dd..22ee08a06 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/keyword_plan_forecast_interval.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/keyword_plan_forecast_interval.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/keyword_plan_forecast_interval.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanForecastIntervalProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/keyword_plan_forecast_interval.proto // Proto file describing keyword plan forecast intervals. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/keyword_plan_keyword_annotation.proto b/third_party/googleapis/google/ads/googleads/v15/enums/keyword_plan_keyword_annotation.proto index 8d4975151..e9dd02a80 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/keyword_plan_keyword_annotation.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/keyword_plan_keyword_annotation.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/keyword_plan_keyword_annotation.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanKeywordAnnotationProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/keyword_plan_keyword_annotation.proto // Proto file describing Keyword Planner Keyword annotation types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/keyword_plan_network.proto b/third_party/googleapis/google/ads/googleads/v15/enums/keyword_plan_network.proto index 9f32c555c..eda332765 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/keyword_plan_network.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/keyword_plan_network.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/keyword_plan_network.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanNetworkProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/keyword_plan_network.proto // Proto file describing Keyword Planner forecastable network types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/label_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/label_status.proto index a76f1e2c1..ff2e7a640 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/label_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/label_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/label_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LabelStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/label_status.proto // Container for enum describing possible status of a label. message LabelStatusEnum { diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/lead_form_call_to_action_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/lead_form_call_to_action_type.proto index f21a89ad3..3e99b443d 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/lead_form_call_to_action_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/lead_form_call_to_action_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/lead_form_call_to_action_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LeadFormCallToActionTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/lead_form_call_to_action_type.proto // Describes the type of call-to-action phrases in a lead form. message LeadFormCallToActionTypeEnum { diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/lead_form_desired_intent.proto b/third_party/googleapis/google/ads/googleads/v15/enums/lead_form_desired_intent.proto index 495f81e5d..e2231f32c 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/lead_form_desired_intent.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/lead_form_desired_intent.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/lead_form_desired_intent.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LeadFormDesiredIntentProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/lead_form_desired_intent.proto // Describes the chosen level of intent of generated leads. message LeadFormDesiredIntentEnum { diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/lead_form_post_submit_call_to_action_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/lead_form_post_submit_call_to_action_type.proto index edbe38501..393ce9ac4 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/lead_form_post_submit_call_to_action_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/lead_form_post_submit_call_to_action_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/lead_form_post_submit_call_to_action_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LeadFormPostSubmitCallToActionTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/lead_form_post_submit_call_to_action_type.proto // Describes the type of post-submit call-to-action phrases for a lead form. message LeadFormPostSubmitCallToActionTypeEnum { diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/legacy_app_install_ad_app_store.proto b/third_party/googleapis/google/ads/googleads/v15/enums/legacy_app_install_ad_app_store.proto index 819fc1fd9..0edbd692a 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/legacy_app_install_ad_app_store.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/legacy_app_install_ad_app_store.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/legacy_app_install_ad_app_store.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LegacyAppInstallAdAppStoreProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/legacy_app_install_ad_app_store.proto // Proto file describing app store types for a legacy app install ad. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/linked_account_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/linked_account_type.proto index dbd69bec6..180a457fc 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/linked_account_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/linked_account_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/linked_account_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/linked_account_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/linked_account_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LinkedAccountTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/linked_account_type.proto // Container for enum describing different types of Linked accounts. message LinkedAccountTypeEnum { @@ -62,12 +45,6 @@ message LinkedAccountTypeEnum { // A link to Google Ads. GOOGLE_ADS = 4; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/linked_account_type.proto - // A link to Hotel Center. - HOTEL_CENTER = 5; - -======== ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/linked_account_type.proto // A link to Google Ads account of the partner advertiser. // Increase performance and share data by partnering with businesses that // advertise the same items. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/listing_group_filter_custom_attribute_index.proto b/third_party/googleapis/google/ads/googleads/v15/enums/listing_group_filter_custom_attribute_index.proto index d34fbed2b..432cb487e 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/listing_group_filter_custom_attribute_index.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/listing_group_filter_custom_attribute_index.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/listing_group_filter_custom_attribute_index.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ListingGroupFilterCustomAttributeIndexProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/listing_group_filter_custom_attribute_index.proto // Proto file describing listing groups. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/listing_group_filter_product_channel.proto b/third_party/googleapis/google/ads/googleads/v15/enums/listing_group_filter_product_channel.proto index d226f8f1b..c02118d75 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/listing_group_filter_product_channel.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/listing_group_filter_product_channel.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/listing_group_filter_product_channel.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ListingGroupFilterProductChannelProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/listing_group_filter_product_channel.proto // Proto file describing listing groups. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/listing_group_filter_product_condition.proto b/third_party/googleapis/google/ads/googleads/v15/enums/listing_group_filter_product_condition.proto index d5b4e4fe7..03a95181b 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/listing_group_filter_product_condition.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/listing_group_filter_product_condition.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/listing_group_filter_product_condition.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ListingGroupFilterProductConditionProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/listing_group_filter_product_condition.proto // Proto file describing listing groups. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/listing_group_filter_product_type_level.proto b/third_party/googleapis/google/ads/googleads/v15/enums/listing_group_filter_product_type_level.proto index 9166792da..526608d10 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/listing_group_filter_product_type_level.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/listing_group_filter_product_type_level.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/listing_group_filter_product_type_level.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ListingGroupFilterProductTypeLevelProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/listing_group_filter_product_type_level.proto // Proto file describing listing groups. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/listing_group_filter_type_enum.proto b/third_party/googleapis/google/ads/googleads/v15/enums/listing_group_filter_type_enum.proto index 9d5f678cf..7c9f2b93b 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/listing_group_filter_type_enum.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/listing_group_filter_type_enum.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/listing_group_filter_type_enum.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ListingGroupFilterTypeEnumProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/listing_group_filter_type_enum.proto // Proto file describing listing groups. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/listing_group_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/listing_group_type.proto index ac0087f72..5cf0e9043 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/listing_group_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/listing_group_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/listing_group_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ListingGroupTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/listing_group_type.proto // Proto file describing listing groups. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/local_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v15/enums/local_placeholder_field.proto index 062b13db4..01b0dd62a 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/local_placeholder_field.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/local_placeholder_field.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/local_placeholder_field.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LocalPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/local_placeholder_field.proto // Proto file describing Local placeholder fields. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/location_extension_targeting_criterion_field.proto b/third_party/googleapis/google/ads/googleads/v15/enums/location_extension_targeting_criterion_field.proto index 3ce9e8f47..d79eed036 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/location_extension_targeting_criterion_field.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/location_extension_targeting_criterion_field.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/location_extension_targeting_criterion_field.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LocationExtensionTargetingCriterionFieldProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/location_extension_targeting_criterion_field.proto // Proto file describing Location Extension Targeting criterion fields. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/location_group_radius_units.proto b/third_party/googleapis/google/ads/googleads/v15/enums/location_group_radius_units.proto index 708abf47f..4c4197357 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/location_group_radius_units.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/location_group_radius_units.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/location_group_radius_units.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LocationGroupRadiusUnitsProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/location_group_radius_units.proto // Proto file describing location group radius units. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/location_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v15/enums/location_placeholder_field.proto index fc22c5f17..c6d13057e 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/location_placeholder_field.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/location_placeholder_field.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/location_placeholder_field.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LocationPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/location_placeholder_field.proto // Proto file describing Location placeholder fields. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/location_source_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/location_source_type.proto index 067b4a429..015ab0fb8 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/location_source_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/location_source_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/location_source_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "LocationSourceTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/location_source_type.proto // Proto file describing location source types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/manager_link_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/manager_link_status.proto index 0ce856fe7..b5112869c 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/manager_link_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/manager_link_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/manager_link_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ManagerLinkStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/manager_link_status.proto // Container for enum describing possible status of a manager and client link. message ManagerLinkStatusEnum { diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/matching_function_context_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/matching_function_context_type.proto index d8abeb3a9..729946439 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/matching_function_context_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/matching_function_context_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/matching_function_context_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MatchingFunctionContextTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/matching_function_context_type.proto // Proto file describing matching function context types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/matching_function_operator.proto b/third_party/googleapis/google/ads/googleads/v15/enums/matching_function_operator.proto index 09ba4636e..09bd8f461 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/matching_function_operator.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/matching_function_operator.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/matching_function_operator.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MatchingFunctionOperatorProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/matching_function_operator.proto // Proto file describing matching function operators. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/media_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/media_type.proto index eb94e5111..bbdeee3e9 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/media_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/media_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/media_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MediaTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/media_type.proto // Proto file describing media types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/message_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v15/enums/message_placeholder_field.proto index 3543d5cd2..f1d4fa003 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/message_placeholder_field.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/message_placeholder_field.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/message_placeholder_field.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MessagePlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/message_placeholder_field.proto // Proto file describing Message placeholder fields. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/mime_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/mime_type.proto index 4e4412561..daad1cdbd 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/mime_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/mime_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/mime_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MimeTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/mime_type.proto // Proto file describing mime types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/minute_of_hour.proto b/third_party/googleapis/google/ads/googleads/v15/enums/minute_of_hour.proto index 0a9eb4951..9ef33793f 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/minute_of_hour.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/minute_of_hour.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/minute_of_hour.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MinuteOfHourProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/minute_of_hour.proto // Proto file describing days of week. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/mobile_app_vendor.proto b/third_party/googleapis/google/ads/googleads/v15/enums/mobile_app_vendor.proto index 49af34da6..49cdf6dea 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/mobile_app_vendor.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/mobile_app_vendor.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/mobile_app_vendor.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MobileAppVendorProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/mobile_app_vendor.proto // Container for enum describing different types of mobile app vendors. message MobileAppVendorEnum { diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/mobile_device_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/mobile_device_type.proto index 4dc308fd1..a660b5de5 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/mobile_device_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/mobile_device_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/mobile_device_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MobileDeviceTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/mobile_device_type.proto // Proto file describing mobile device types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/month_of_year.proto b/third_party/googleapis/google/ads/googleads/v15/enums/month_of_year.proto index 2e2219307..2ad9f14a9 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/month_of_year.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/month_of_year.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/month_of_year.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "MonthOfYearProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/month_of_year.proto // Proto file describing days of week. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/negative_geo_target_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/negative_geo_target_type.proto index 299a154f6..8335ce325 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/negative_geo_target_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/negative_geo_target_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/negative_geo_target_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "NegativeGeoTargetTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/negative_geo_target_type.proto // Proto file describing negative geo target types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/offline_user_data_job_failure_reason.proto b/third_party/googleapis/google/ads/googleads/v15/enums/offline_user_data_job_failure_reason.proto index 663b24958..8d9731e35 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/offline_user_data_job_failure_reason.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/offline_user_data_job_failure_reason.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/offline_user_data_job_failure_reason.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/offline_user_data_job_failure_reason.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/offline_user_data_job_failure_reason.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "OfflineUserDataJobFailureReasonProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/offline_user_data_job_failure_reason.proto // Proto file describing offline user data job failure reasons. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/offline_user_data_job_match_rate_range.proto b/third_party/googleapis/google/ads/googleads/v15/enums/offline_user_data_job_match_rate_range.proto index 15ff8122a..91ce984f0 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/offline_user_data_job_match_rate_range.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/offline_user_data_job_match_rate_range.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/offline_user_data_job_match_rate_range.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "OfflineUserDataJobMatchRateRangeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/offline_user_data_job_match_rate_range.proto // Container for enum describing reasons match rate ranges for a customer match // list upload. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/offline_user_data_job_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/offline_user_data_job_status.proto index 057b8e5d0..b0231f2bd 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/offline_user_data_job_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/offline_user_data_job_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/offline_user_data_job_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "OfflineUserDataJobStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/offline_user_data_job_status.proto // Proto file describing offline user data job status. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/offline_user_data_job_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/offline_user_data_job_type.proto index dae11ab2e..4a3b199b3 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/offline_user_data_job_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/offline_user_data_job_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/offline_user_data_job_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "OfflineUserDataJobTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/offline_user_data_job_type.proto // Proto file describing offline user data job types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/operating_system_version_operator_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/operating_system_version_operator_type.proto index 296532e40..d00df734a 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/operating_system_version_operator_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/operating_system_version_operator_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/operating_system_version_operator_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "OperatingSystemVersionOperatorTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/operating_system_version_operator_type.proto // Proto file describing operating system version operator types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/optimization_goal_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/optimization_goal_type.proto index f8f78cc30..64503f782 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/optimization_goal_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/optimization_goal_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/optimization_goal_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "OptimizationGoalTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/optimization_goal_type.proto // Proto file describing optimization goal type. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/parental_status_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/parental_status_type.proto index d2a41c6da..390ecad81 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/parental_status_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/parental_status_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/parental_status_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ParentalStatusTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/parental_status_type.proto // Proto file describing parenal status types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/payment_mode.proto b/third_party/googleapis/google/ads/googleads/v15/enums/payment_mode.proto index 7eae36fbc..ed6b5108e 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/payment_mode.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/payment_mode.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/payment_mode.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PaymentModeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/payment_mode.proto // Proto file describing payment modes. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/placeholder_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/placeholder_type.proto index f0dfc515b..978d3aa80 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/placeholder_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/placeholder_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/placeholder_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PlaceholderTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/placeholder_type.proto // Proto file describing feed placeholder types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/placement_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/placement_type.proto index 200d5436d..9c84209fe 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/placement_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/placement_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/placement_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PlacementTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/placement_type.proto // Proto file describing placement types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/policy_approval_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/policy_approval_status.proto index fa4ea1b39..0f2b7b3b1 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/policy_approval_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/policy_approval_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/policy_approval_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PolicyApprovalStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/policy_approval_status.proto // Proto file describing policy approval statuses. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/policy_review_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/policy_review_status.proto index 086b82ad4..1c065aed3 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/policy_review_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/policy_review_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/policy_review_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PolicyReviewStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/policy_review_status.proto // Proto file describing policy review statuses. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/policy_topic_entry_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/policy_topic_entry_type.proto index e3e13ffce..86e52f3c8 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/policy_topic_entry_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/policy_topic_entry_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/policy_topic_entry_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PolicyTopicEntryTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/policy_topic_entry_type.proto // Proto file describing policy topic entry types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/policy_topic_evidence_destination_mismatch_url_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/policy_topic_evidence_destination_mismatch_url_type.proto index 80bc14f63..829839652 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/policy_topic_evidence_destination_mismatch_url_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/policy_topic_evidence_destination_mismatch_url_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/policy_topic_evidence_destination_mismatch_url_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PolicyTopicEvidenceDestinationMismatchUrlTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/policy_topic_evidence_destination_mismatch_url_type.proto // Proto file describing policy topic evidence destination mismatch url types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/policy_topic_evidence_destination_not_working_device.proto b/third_party/googleapis/google/ads/googleads/v15/enums/policy_topic_evidence_destination_not_working_device.proto index a46dcaa36..5d5f7306c 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/policy_topic_evidence_destination_not_working_device.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/policy_topic_evidence_destination_not_working_device.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/policy_topic_evidence_destination_not_working_device.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PolicyTopicEvidenceDestinationNotWorkingDeviceProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/policy_topic_evidence_destination_not_working_device.proto // Proto file describing device of destination not working policy topic // evidence. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto index 74344abfd..b53e18c92 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto // Proto file describing DNS error types of destination not working policy topic // evidence. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/positive_geo_target_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/positive_geo_target_type.proto index 2f59398f4..2f6f9996b 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/positive_geo_target_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/positive_geo_target_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/positive_geo_target_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PositiveGeoTargetTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/positive_geo_target_type.proto // Proto file describing positive geo target types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/price_extension_price_qualifier.proto b/third_party/googleapis/google/ads/googleads/v15/enums/price_extension_price_qualifier.proto index a07e09345..e3a497038 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/price_extension_price_qualifier.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/price_extension_price_qualifier.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/price_extension_price_qualifier.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PriceExtensionPriceQualifierProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/price_extension_price_qualifier.proto // Proto file describing price extension price qualifier type. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/price_extension_price_unit.proto b/third_party/googleapis/google/ads/googleads/v15/enums/price_extension_price_unit.proto index 1fc3b4ce8..1060d2f61 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/price_extension_price_unit.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/price_extension_price_unit.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/price_extension_price_unit.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PriceExtensionPriceUnitProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/price_extension_price_unit.proto // Proto file describing price extension price unit. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/price_extension_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/price_extension_type.proto index 851db7699..d8d6e5123 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/price_extension_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/price_extension_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/price_extension_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PriceExtensionTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/price_extension_type.proto // Proto file describing price extension type. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/price_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v15/enums/price_placeholder_field.proto index 669560953..646963b0b 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/price_placeholder_field.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/price_placeholder_field.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/price_placeholder_field.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PricePlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/price_placeholder_field.proto // Proto file describing Price placeholder fields. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/product_channel.proto b/third_party/googleapis/google/ads/googleads/v15/enums/product_channel.proto index 2c550c493..fcba153f1 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/product_channel.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/product_channel.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/product_channel.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ProductChannelProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/product_channel.proto // Proto file describing bidding schemes. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/product_channel_exclusivity.proto b/third_party/googleapis/google/ads/googleads/v15/enums/product_channel_exclusivity.proto index b53905549..580e5b970 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/product_channel_exclusivity.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/product_channel_exclusivity.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/product_channel_exclusivity.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ProductChannelExclusivityProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/product_channel_exclusivity.proto // Proto file describing bidding schemes. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/product_condition.proto b/third_party/googleapis/google/ads/googleads/v15/enums/product_condition.proto index dd85f89ae..5478eb14e 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/product_condition.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/product_condition.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/product_condition.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ProductConditionProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/product_condition.proto // Proto file describing bidding schemes. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/product_custom_attribute_index.proto b/third_party/googleapis/google/ads/googleads/v15/enums/product_custom_attribute_index.proto index f4b9b171d..65b457395 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/product_custom_attribute_index.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/product_custom_attribute_index.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/product_custom_attribute_index.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ProductCustomAttributeIndexProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/product_custom_attribute_index.proto // Proto file describing product custom attributes. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/product_type_level.proto b/third_party/googleapis/google/ads/googleads/v15/enums/product_type_level.proto index 5338d872d..ac1d1d234 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/product_type_level.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/product_type_level.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/product_type_level.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ProductTypeLevelProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/product_type_level.proto // Proto file describing bidding schemes. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/promotion_extension_discount_modifier.proto b/third_party/googleapis/google/ads/googleads/v15/enums/promotion_extension_discount_modifier.proto index 2f555a655..64d709754 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/promotion_extension_discount_modifier.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/promotion_extension_discount_modifier.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/promotion_extension_discount_modifier.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PromotionExtensionDiscountModifierProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/promotion_extension_discount_modifier.proto // Proto file describing promotion extension discount modifier. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/promotion_extension_occasion.proto b/third_party/googleapis/google/ads/googleads/v15/enums/promotion_extension_occasion.proto index 78767161b..6d0b2bcab 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/promotion_extension_occasion.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/promotion_extension_occasion.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/promotion_extension_occasion.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PromotionExtensionOccasionProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/promotion_extension_occasion.proto // Proto file describing promotion extension occasion. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/promotion_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v15/enums/promotion_placeholder_field.proto index 907253ff2..e84c79d0d 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/promotion_placeholder_field.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/promotion_placeholder_field.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/promotion_placeholder_field.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "PromotionPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/promotion_placeholder_field.proto // Proto file describing Promotion placeholder fields. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/proximity_radius_units.proto b/third_party/googleapis/google/ads/googleads/v15/enums/proximity_radius_units.proto index 3730f61f2..e20e46c75 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/proximity_radius_units.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/proximity_radius_units.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/proximity_radius_units.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ProximityRadiusUnitsProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/proximity_radius_units.proto // Proto file describing proximity radius units. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/quality_score_bucket.proto b/third_party/googleapis/google/ads/googleads/v15/enums/quality_score_bucket.proto index 911446e53..9dc188597 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/quality_score_bucket.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/quality_score_bucket.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/quality_score_bucket.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "QualityScoreBucketProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/quality_score_bucket.proto // Proto file describing quality score buckets. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/reach_plan_age_range.proto b/third_party/googleapis/google/ads/googleads/v15/enums/reach_plan_age_range.proto index a81014b16..3febbf69a 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/reach_plan_age_range.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/reach_plan_age_range.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/reach_plan_age_range.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ReachPlanAgeRangeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/reach_plan_age_range.proto // Proto file describing a plannable age range. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/reach_plan_network.proto b/third_party/googleapis/google/ads/googleads/v15/enums/reach_plan_network.proto index fb8918a93..87f0821d3 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/reach_plan_network.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/reach_plan_network.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/reach_plan_network.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ReachPlanNetworkProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/reach_plan_network.proto // Proto file describing a plannable network. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/real_estate_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v15/enums/real_estate_placeholder_field.proto index ce834cc8e..5f6641bb0 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/real_estate_placeholder_field.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/real_estate_placeholder_field.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/real_estate_placeholder_field.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "RealEstatePlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/real_estate_placeholder_field.proto // Proto file describing Real Estate placeholder fields. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/resource_change_operation.proto b/third_party/googleapis/google/ads/googleads/v15/enums/resource_change_operation.proto index 4d94c23d4..39c42468f 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/resource_change_operation.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/resource_change_operation.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/resource_change_operation.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ResourceChangeOperationProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/resource_change_operation.proto // Proto file describing the resource change operations in change event. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/resource_limit_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/resource_limit_type.proto index 37d99f220..13225bdc7 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/resource_limit_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/resource_limit_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/resource_limit_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ResourceLimitTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/resource_limit_type.proto // Container for enum describing possible resource limit types. message ResourceLimitTypeEnum { @@ -481,8 +468,6 @@ message ResourceLimitTypeEnum { // Number of hotel check-in date range bid modifiers per ad agroup. HOTEL_CHECK_IN_DATE_RANGE_BID_MODIFIERS_PER_AD_GROUP = 132; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/resource_limit_type.proto -======== // Number of shared sets of type ACCOUNT_LEVEL_NEGATIVE_KEYWORDS per // account. SHARED_SETS_PER_ACCOUNT_FOR_ACCOUNT_LEVEL_NEGATIVE_KEYWORDS = 177; @@ -490,14 +475,11 @@ message ResourceLimitTypeEnum { // Number of keywords per ACCOUNT_LEVEL_NEGATIVE_KEYWORDS shared set. ACCOUNT_LEVEL_NEGATIVE_KEYWORDS_PER_SHARED_SET = 178; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/resource_limit_type.proto // Maximum number of asset per hotel property asset set. ENABLED_ASSET_PER_HOTEL_PROPERTY_ASSET_SET = 181; // Maximum number of enabled hotel property assets per asset group. ENABLED_HOTEL_PROPERTY_ASSET_LINKS_PER_ASSET_GROUP = 182; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/resource_limit_type.proto -======== // Number of criteria per brand shared set. BRANDS_PER_SHARED_SET = 183; @@ -507,6 +489,5 @@ message ResourceLimitTypeEnum { // Maximum number of shared sets of brand type for an account. SHARED_SETS_PER_ACCOUNT_FOR_BRAND = 185; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/resource_limit_type.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/response_content_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/response_content_type.proto index e70fcbbbc..9e4d9a31c 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/response_content_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/response_content_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/response_content_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ResponseContentTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/response_content_type.proto // Proto file describing the response content types used in mutate operations. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/search_engine_results_page_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/search_engine_results_page_type.proto index c885850ae..f80282dc1 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/search_engine_results_page_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/search_engine_results_page_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/search_engine_results_page_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SearchEngineResultsPageTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/search_engine_results_page_type.proto // Proto file describing search engine results page types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/search_term_match_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/search_term_match_type.proto index 337e4330b..10aa8664b 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/search_term_match_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/search_term_match_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/search_term_match_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SearchTermMatchTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/search_term_match_type.proto // Proto file describing search term match types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/search_term_targeting_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/search_term_targeting_status.proto index 480a73df5..b40b12076 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/search_term_targeting_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/search_term_targeting_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/search_term_targeting_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SearchTermTargetingStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/search_term_targeting_status.proto // Proto file describing search term targeting statuses. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/seasonality_event_scope.proto b/third_party/googleapis/google/ads/googleads/v15/enums/seasonality_event_scope.proto index f8cbc7415..c981fc7e9 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/seasonality_event_scope.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/seasonality_event_scope.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/seasonality_event_scope.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SeasonalityEventScopeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/seasonality_event_scope.proto // Proto file describing seasonality event status. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/seasonality_event_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/seasonality_event_status.proto index 9b656f7e0..7e9d5b11a 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/seasonality_event_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/seasonality_event_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/seasonality_event_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SeasonalityEventStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/seasonality_event_status.proto // Proto file describing seasonality event status. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/shared_set_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/shared_set_status.proto index 20dc5ae7d..28aa07a1c 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/shared_set_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/shared_set_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/shared_set_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SharedSetStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/shared_set_status.proto // Proto file describing shared set statuses. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/shared_set_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/shared_set_type.proto index 244259d87..3a93dfc50 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/shared_set_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/shared_set_type.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/shared_set_type.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/shared_set_type.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/shared_set_type.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SharedSetTypeProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/shared_set_type.proto // Proto file describing shared set types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/simulation_modification_method.proto b/third_party/googleapis/google/ads/googleads/v15/enums/simulation_modification_method.proto index 1b440a2cc..cf875caa6 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/simulation_modification_method.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/simulation_modification_method.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/simulation_modification_method.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SimulationModificationMethodProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/simulation_modification_method.proto // Proto file describing simulation modification methods. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/simulation_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/simulation_type.proto index 1019b93f5..d7504a5a4 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/simulation_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/simulation_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/simulation_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SimulationTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/simulation_type.proto // Proto file describing simulation types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/sitelink_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v15/enums/sitelink_placeholder_field.proto index bef8fa9a7..b33492466 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/sitelink_placeholder_field.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/sitelink_placeholder_field.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/sitelink_placeholder_field.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SitelinkPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/sitelink_placeholder_field.proto // Proto file describing Sitelink placeholder fields. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/sk_ad_network_ad_event_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/sk_ad_network_ad_event_type.proto index dd70c7176..0c51196f4 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/sk_ad_network_ad_event_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/sk_ad_network_ad_event_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/sk_ad_network_ad_event_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SkAdNetworkAdEventTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/sk_ad_network_ad_event_type.proto // Proto file describing SkAdNetwork Ad Event Types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/sk_ad_network_attribution_credit.proto b/third_party/googleapis/google/ads/googleads/v15/enums/sk_ad_network_attribution_credit.proto index cfbce4a3f..eb0383713 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/sk_ad_network_attribution_credit.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/sk_ad_network_attribution_credit.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/sk_ad_network_attribution_credit.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SkAdNetworkAttributionCreditProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/sk_ad_network_attribution_credit.proto // Proto file describing SkAdNetwork attribution credits. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/sk_ad_network_user_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/sk_ad_network_user_type.proto index 22c949764..7fb0a9f53 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/sk_ad_network_user_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/sk_ad_network_user_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/sk_ad_network_user_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SkAdNetworkUserTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/sk_ad_network_user_type.proto // Proto file describing SkAdNetwork user types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/slot.proto b/third_party/googleapis/google/ads/googleads/v15/enums/slot.proto index a09e43ecf..624b47002 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/slot.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/slot.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/slot.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SlotProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/slot.proto // Proto file describing slots. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/spending_limit_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/spending_limit_type.proto index 1390497d0..a25121f8a 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/spending_limit_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/spending_limit_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/spending_limit_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SpendingLimitTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/spending_limit_type.proto // Proto file describing SpendingLimit types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/structured_snippet_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v15/enums/structured_snippet_placeholder_field.proto index f9f8e318c..c21058903 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/structured_snippet_placeholder_field.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/structured_snippet_placeholder_field.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/structured_snippet_placeholder_field.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "StructuredSnippetPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/structured_snippet_placeholder_field.proto // Proto file describing Structured Snippet placeholder fields. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/summary_row_setting.proto b/third_party/googleapis/google/ads/googleads/v15/enums/summary_row_setting.proto index ba7e7c70e..88e44bf07 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/summary_row_setting.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/summary_row_setting.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/summary_row_setting.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SummaryRowSettingProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/summary_row_setting.proto // Proto file describing summary row setting. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/system_managed_entity_source.proto b/third_party/googleapis/google/ads/googleads/v15/enums/system_managed_entity_source.proto index 86fe2f404..cc25ad9f5 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/system_managed_entity_source.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/system_managed_entity_source.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/system_managed_entity_source.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "SystemManagedEntitySourceProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/system_managed_entity_source.proto // Proto file describing system managed entity sources. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/target_cpa_opt_in_recommendation_goal.proto b/third_party/googleapis/google/ads/googleads/v15/enums/target_cpa_opt_in_recommendation_goal.proto index 33ceff47d..4efe39c88 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/target_cpa_opt_in_recommendation_goal.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/target_cpa_opt_in_recommendation_goal.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/target_cpa_opt_in_recommendation_goal.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "TargetCpaOptInRecommendationGoalProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/target_cpa_opt_in_recommendation_goal.proto // Proto file describing TargetCpaOptIn recommendation goals. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/target_impression_share_location.proto b/third_party/googleapis/google/ads/googleads/v15/enums/target_impression_share_location.proto index ee32b5fba..4e53e6dea 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/target_impression_share_location.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/target_impression_share_location.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/target_impression_share_location.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "TargetImpressionShareLocationProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/target_impression_share_location.proto // Proto file describing target impression share goal. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/targeting_dimension.proto b/third_party/googleapis/google/ads/googleads/v15/enums/targeting_dimension.proto index 84d6fc938..e0a912073 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/targeting_dimension.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/targeting_dimension.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/targeting_dimension.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "TargetingDimensionProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/targeting_dimension.proto // Proto file describing criteria types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/time_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/time_type.proto index 6deb246b9..268424b70 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/time_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/time_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/time_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "TimeTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/time_type.proto // Proto file describing TimeType types. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/tracking_code_page_format.proto b/third_party/googleapis/google/ads/googleads/v15/enums/tracking_code_page_format.proto index 382160804..ec8703402 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/tracking_code_page_format.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/tracking_code_page_format.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/tracking_code_page_format.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "TrackingCodePageFormatProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/tracking_code_page_format.proto // Container for enum describing the format of the web page where the tracking // tag and snippet will be installed. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/tracking_code_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/tracking_code_type.proto index 67a67afc5..17a791c5d 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/tracking_code_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/tracking_code_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/tracking_code_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "TrackingCodeTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/tracking_code_type.proto // Container for enum describing the type of the generated tag snippets for // tracking conversions. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/travel_placeholder_field.proto b/third_party/googleapis/google/ads/googleads/v15/enums/travel_placeholder_field.proto index 9f2889d01..c75cbe479 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/travel_placeholder_field.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/travel_placeholder_field.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/travel_placeholder_field.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "TravelPlaceholderFieldProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/travel_placeholder_field.proto // Proto file describing Travel placeholder fields. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/user_identifier_source.proto b/third_party/googleapis/google/ads/googleads/v15/enums/user_identifier_source.proto index 8f6263f6b..3ac4fd181 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/user_identifier_source.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/user_identifier_source.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/user_identifier_source.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserIdentifierSourceProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/user_identifier_source.proto // Proto file describing user identifier source diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/user_interest_taxonomy_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/user_interest_taxonomy_type.proto index 94d3c22c8..9f539d5bd 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/user_interest_taxonomy_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/user_interest_taxonomy_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/user_interest_taxonomy_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserInterestTaxonomyTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/user_interest_taxonomy_type.proto // Proto file describing the UserInterest taxonomy type diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/user_list_access_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/user_list_access_status.proto index 3d9b057e3..4fc277d53 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/user_list_access_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/user_list_access_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/user_list_access_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListAccessStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/user_list_access_status.proto // Proto file describing user list access status. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/user_list_closing_reason.proto b/third_party/googleapis/google/ads/googleads/v15/enums/user_list_closing_reason.proto index 762e73cc9..8112dd25b 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/user_list_closing_reason.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/user_list_closing_reason.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/user_list_closing_reason.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListClosingReasonProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/user_list_closing_reason.proto // Proto file describing user list closing reason. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/user_list_crm_data_source_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/user_list_crm_data_source_type.proto index c5bfdd947..8df9c121e 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/user_list_crm_data_source_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/user_list_crm_data_source_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/user_list_crm_data_source_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListCrmDataSourceTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/user_list_crm_data_source_type.proto // Indicates source of Crm upload data. message UserListCrmDataSourceTypeEnum { diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/user_list_date_rule_item_operator.proto b/third_party/googleapis/google/ads/googleads/v15/enums/user_list_date_rule_item_operator.proto index ad56d3889..46bdb16ce 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/user_list_date_rule_item_operator.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/user_list_date_rule_item_operator.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/user_list_date_rule_item_operator.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListDateRuleItemOperatorProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/user_list_date_rule_item_operator.proto // Supported rule operator for date type. message UserListDateRuleItemOperatorEnum { diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/user_list_flexible_rule_operator.proto b/third_party/googleapis/google/ads/googleads/v15/enums/user_list_flexible_rule_operator.proto index 44bd70718..5feeab096 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/user_list_flexible_rule_operator.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/user_list_flexible_rule_operator.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/enums/user_list_flexible_rule_operator.proto -package google.ads.googleads.v12.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListFlexibleRuleOperatorProto"; -option java_package = "com.google.ads.googleads.v12.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V12::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/user_list_flexible_rule_operator.proto // Logical operator connecting two rules. message UserListFlexibleRuleOperatorEnum { diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/user_list_logical_rule_operator.proto b/third_party/googleapis/google/ads/googleads/v15/enums/user_list_logical_rule_operator.proto index d13833023..34e4fb1d0 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/user_list_logical_rule_operator.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/user_list_logical_rule_operator.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/user_list_logical_rule_operator.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListLogicalRuleOperatorProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/user_list_logical_rule_operator.proto // The logical operator of the rule. message UserListLogicalRuleOperatorEnum { diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/user_list_membership_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/user_list_membership_status.proto index 2036c9eda..302cb2d5b 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/user_list_membership_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/user_list_membership_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/user_list_membership_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListMembershipStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/user_list_membership_status.proto // Proto file describing user list membership status. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/user_list_number_rule_item_operator.proto b/third_party/googleapis/google/ads/googleads/v15/enums/user_list_number_rule_item_operator.proto index a7d81c715..ce32bbc49 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/user_list_number_rule_item_operator.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/user_list_number_rule_item_operator.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/user_list_number_rule_item_operator.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListNumberRuleItemOperatorProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/user_list_number_rule_item_operator.proto // Supported rule operator for number type. message UserListNumberRuleItemOperatorEnum { diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/user_list_prepopulation_status.proto b/third_party/googleapis/google/ads/googleads/v15/enums/user_list_prepopulation_status.proto index e107e861e..d34bcd779 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/user_list_prepopulation_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/user_list_prepopulation_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/user_list_prepopulation_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListPrepopulationStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/user_list_prepopulation_status.proto // Indicates status of prepopulation based on the rule. message UserListPrepopulationStatusEnum { diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/user_list_rule_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/user_list_rule_type.proto index 92afc1abf..c44d4d7e3 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/user_list_rule_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/user_list_rule_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/user_list_rule_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListRuleTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/user_list_rule_type.proto // Rule based user list rule type. message UserListRuleTypeEnum { diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/user_list_size_range.proto b/third_party/googleapis/google/ads/googleads/v15/enums/user_list_size_range.proto index 8800e63f2..2c4258d3f 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/user_list_size_range.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/user_list_size_range.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/user_list_size_range.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListSizeRangeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/user_list_size_range.proto // Proto file describing user list size range. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/user_list_string_rule_item_operator.proto b/third_party/googleapis/google/ads/googleads/v15/enums/user_list_string_rule_item_operator.proto index d4365e73d..39acf39eb 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/user_list_string_rule_item_operator.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/user_list_string_rule_item_operator.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/user_list_string_rule_item_operator.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListStringRuleItemOperatorProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/user_list_string_rule_item_operator.proto // Supported rule operator for string type. message UserListStringRuleItemOperatorEnum { diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/user_list_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/user_list_type.proto index 6115182d9..c5acd7ba0 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/user_list_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/user_list_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/user_list_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "UserListTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/user_list_type.proto // Proto file describing user list type. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/value_rule_device_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/value_rule_device_type.proto index e246208db..1c3812566 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/value_rule_device_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/value_rule_device_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/value_rule_device_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ValueRuleDeviceTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/value_rule_device_type.proto // Proto file describing conversion value rule device type. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/value_rule_geo_location_match_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/value_rule_geo_location_match_type.proto index 77cd16b56..f72fcea02 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/value_rule_geo_location_match_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/value_rule_geo_location_match_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/value_rule_geo_location_match_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ValueRuleGeoLocationMatchTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/value_rule_geo_location_match_type.proto // Proto file describing conversion value rule geo location match type. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/value_rule_operation.proto b/third_party/googleapis/google/ads/googleads/v15/enums/value_rule_operation.proto index 57c1c9804..5ac9c7668 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/value_rule_operation.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/value_rule_operation.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/value_rule_operation.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ValueRuleOperationProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/value_rule_operation.proto // Proto file describing conversion value rule operation. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/value_rule_set_attachment_type.proto b/third_party/googleapis/google/ads/googleads/v15/enums/value_rule_set_attachment_type.proto index 6801f5a86..c78f0f040 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/value_rule_set_attachment_type.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/value_rule_set_attachment_type.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/value_rule_set_attachment_type.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ValueRuleSetAttachmentTypeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/value_rule_set_attachment_type.proto // Proto file describing where the conversion value rule is attached. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/value_rule_set_dimension.proto b/third_party/googleapis/google/ads/googleads/v15/enums/value_rule_set_dimension.proto index 00b4a88fb..37f7dbe54 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/value_rule_set_dimension.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/value_rule_set_dimension.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/value_rule_set_dimension.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ValueRuleSetDimensionProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/value_rule_set_dimension.proto // Proto file describing conversion value rule set dimension. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/vanity_pharma_display_url_mode.proto b/third_party/googleapis/google/ads/googleads/v15/enums/vanity_pharma_display_url_mode.proto index 190c2ebc2..079a6146f 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/vanity_pharma_display_url_mode.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/vanity_pharma_display_url_mode.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/vanity_pharma_display_url_mode.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "VanityPharmaDisplayUrlModeProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/vanity_pharma_display_url_mode.proto // Proto file describing vanity pharma display url modes. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/vanity_pharma_text.proto b/third_party/googleapis/google/ads/googleads/v15/enums/vanity_pharma_text.proto index 733ea404f..4b2e0e221 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/vanity_pharma_text.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/vanity_pharma_text.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/vanity_pharma_text.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "VanityPharmaTextProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/vanity_pharma_text.proto // Proto file describing vanity pharma texts. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/video_thumbnail.proto b/third_party/googleapis/google/ads/googleads/v15/enums/video_thumbnail.proto index 19e06e9ad..d9bd2ddd0 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/video_thumbnail.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/video_thumbnail.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/video_thumbnail.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "VideoThumbnailProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/video_thumbnail.proto // Proto file describing video thumbnails. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/webpage_condition_operand.proto b/third_party/googleapis/google/ads/googleads/v15/enums/webpage_condition_operand.proto index 7481d9341..2c01d4a33 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/webpage_condition_operand.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/webpage_condition_operand.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/webpage_condition_operand.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "WebpageConditionOperandProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/webpage_condition_operand.proto // Proto file describing webpage condition operand. diff --git a/third_party/googleapis/google/ads/googleads/v15/enums/webpage_condition_operator.proto b/third_party/googleapis/google/ads/googleads/v15/enums/webpage_condition_operator.proto index 5b92a5e10..ca200f676 100644 --- a/third_party/googleapis/google/ads/googleads/v15/enums/webpage_condition_operator.proto +++ b/third_party/googleapis/google/ads/googleads/v15/enums/webpage_condition_operator.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/webpage_condition_operator.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "WebpageConditionOperatorProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.googleads.v15.enums; option csharp_namespace = "Google.Ads.GoogleAds.V15.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.enums"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Enums"; option ruby_package = "Google::Ads::GoogleAds::V15::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/enums/webpage_condition_operator.proto // Proto file describing webpage condition operator. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/BUILD.bazel b/third_party/googleapis/google/ads/googleads/v15/errors/BUILD.bazel index 9f6eaaa10..2d13f447d 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/BUILD.bazel +++ b/third_party/googleapis/google/ads/googleads/v15/errors/BUILD.bazel @@ -26,13 +26,8 @@ proto_library( name = "errors_proto", srcs = glob(["*.proto"]), deps = [ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/BUILD.bazel - "//google/ads/googleads/v13/common:common_proto", - "//google/ads/googleads/v13/enums:enums_proto", -======== "//google/ads/googleads/v15/common:common_proto", "//google/ads/googleads/v15/enums:enums_proto", ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/BUILD.bazel "//google/api:annotations_proto", "@com_google_protobuf//:duration_proto", "@com_google_protobuf//:wrappers_proto", diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/access_invitation_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/access_invitation_error.proto index 462141b90..1b2efae9e 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/access_invitation_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/access_invitation_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/access_invitation_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AccessInvitationErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/access_invitation_error.proto // Proto file describing AccessInvitation errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/account_budget_proposal_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/account_budget_proposal_error.proto index 89d0cf66c..05487e768 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/account_budget_proposal_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/account_budget_proposal_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/account_budget_proposal_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AccountBudgetProposalErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/account_budget_proposal_error.proto // Proto file describing account budget proposal errors. @@ -131,12 +118,9 @@ message AccountBudgetProposalErrorEnum { // Master service agreement has not been signed yet for the Payments // Profile. INVALID_MASTER_SERVICE_AGREEMENT = 26; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/account_budget_proposal_error.proto -======== // Budget mutates are not allowed because the given billing setup is // canceled. CANCELED_BILLING_SETUP = 27; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/account_budget_proposal_error.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/account_link_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/account_link_error.proto index fd8652c30..795baacf1 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/account_link_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/account_link_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/account_link_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AccountLinkErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/account_link_error.proto // Proto file describing AccountLink errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/ad_customizer_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/ad_customizer_error.proto index 7f89afadf..1b777000d 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/ad_customizer_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/ad_customizer_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/ad_customizer_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdCustomizerErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/ad_customizer_error.proto // Proto file describing ad customizer errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/ad_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/ad_error.proto index 9219a683b..f583c02e5 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/ad_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/ad_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/ad_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/ad_error.proto // Proto file describing ad errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/ad_group_ad_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/ad_group_ad_error.proto index edce5635a..cd9a8358b 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/ad_group_ad_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/ad_group_ad_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/ad_group_ad_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAdErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/ad_group_ad_error.proto // Proto file describing ad group ad errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/ad_group_bid_modifier_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/ad_group_bid_modifier_error.proto index 1224d07dc..354a6e37f 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/ad_group_bid_modifier_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/ad_group_bid_modifier_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/ad_group_bid_modifier_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupBidModifierErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/ad_group_bid_modifier_error.proto // Proto file describing ad group bid modifier errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/ad_group_criterion_customizer_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/ad_group_criterion_customizer_error.proto index 48c135e6b..9338db32a 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/ad_group_criterion_customizer_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/ad_group_criterion_customizer_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/ad_group_criterion_customizer_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionCustomizerErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/ad_group_criterion_customizer_error.proto // Proto file describing ad group criterion customizer errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/ad_group_criterion_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/ad_group_criterion_error.proto index ed6a4f5ed..d1c22b1f2 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/ad_group_criterion_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/ad_group_criterion_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/ad_group_criterion_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/ad_group_criterion_error.proto // Proto file describing ad group criterion errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/ad_group_customizer_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/ad_group_customizer_error.proto index 7b6b5e836..55f067fcb 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/ad_group_customizer_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/ad_group_customizer_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/ad_group_customizer_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCustomizerErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/ad_group_customizer_error.proto // Proto file describing ad group customizer errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/ad_group_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/ad_group_error.proto index 86efc6de9..7aec6067d 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/ad_group_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/ad_group_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/ad_group_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/ad_group_error.proto // Proto file describing ad group errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/ad_group_feed_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/ad_group_feed_error.proto index fdcbf887b..3ea47cba2 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/ad_group_feed_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/ad_group_feed_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/ad_group_feed_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupFeedErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/ad_group_feed_error.proto // Proto file describing ad group feed errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/ad_parameter_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/ad_parameter_error.proto index 23f4ecca3..01a31cc4a 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/ad_parameter_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/ad_parameter_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/ad_parameter_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdParameterErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/ad_parameter_error.proto // Proto file describing ad parameter errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/ad_sharing_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/ad_sharing_error.proto index 19bc5e90a..685f56596 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/ad_sharing_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/ad_sharing_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/ad_sharing_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdSharingErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/ad_sharing_error.proto // Proto file describing ad sharing errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/adx_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/adx_error.proto index 1440a965e..f065fb91c 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/adx_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/adx_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/adx_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AdxErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/adx_error.proto // Proto file describing adx errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/asset_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/asset_error.proto index 52af08bc2..cce0712db 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/asset_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/asset_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/asset_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AssetErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/asset_error.proto // Proto file describing asset errors. @@ -161,14 +148,11 @@ message AssetErrorEnum { // User can not modify the automatically created asset. CANNOT_MODIFY_AUTOMATICALLY_CREATED_ASSET = 36; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/asset_error.proto -======== // Lead Form is disallowed to use "LOCATION" answer type. LEAD_FORM_LOCATION_ANSWER_TYPE_DISALLOWED = 37; // Page Feed label text contains invalid characters. PAGE_FEED_INVALID_LABEL_TEXT = 38; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/asset_error.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/asset_group_asset_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/asset_group_asset_error.proto index d48425c7e..71cd79ee0 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/asset_group_asset_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/asset_group_asset_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/asset_group_asset_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupAssetErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/asset_group_asset_error.proto // Proto file describing asset group asset errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/asset_group_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/asset_group_error.proto index 9619c22d7..04f5e6c71 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/asset_group_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/asset_group_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/asset_group_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/asset_group_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/asset_group_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/asset_group_error.proto // Proto file describing asset group errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/asset_group_listing_group_filter_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/asset_group_listing_group_filter_error.proto index 4b5189767..5d6a83057 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/asset_group_listing_group_filter_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/asset_group_listing_group_filter_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/asset_group_listing_group_filter_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/asset_group_listing_group_filter_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/asset_group_listing_group_filter_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupListingGroupFilterErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/asset_group_listing_group_filter_error.proto // Proto file describing asset group asset errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/asset_link_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/asset_link_error.proto index 7a0d6d09d..cbe57f80b 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/asset_link_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/asset_link_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/asset_link_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/asset_link_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/asset_link_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AssetLinkErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/asset_link_error.proto // Proto file describing asset link errors. @@ -127,11 +110,6 @@ message AssetLinkErrorEnum { // Advertiser links cannot link to automatically created asset. CANNOT_LINK_TO_AUTOMATICALLY_CREATED_ASSET = 20; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/asset_link_error.proto - // Automatically created links cannot be changed into adveritser links or - // the reverse. - CANNOT_MODIFY_ASSET_LINK_SOURCE = 21; -======== // Automatically created links cannot be changed into advertiser links or // the reverse. CANNOT_MODIFY_ASSET_LINK_SOURCE = 21; @@ -145,6 +123,5 @@ message AssetLinkErrorEnum { // Call to action value is not supported. UNSUPPORTED_CALL_TO_ACTION = 24; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/asset_link_error.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/asset_set_asset_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/asset_set_asset_error.proto index 1c0ecd793..f80171750 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/asset_set_asset_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/asset_set_asset_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/asset_set_asset_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetAssetErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/asset_set_asset_error.proto // Proto file describing asset set asset errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/asset_set_link_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/asset_set_link_error.proto index 1be0b8156..2e46a3286 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/asset_set_link_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/asset_set_link_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/asset_set_link_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetLinkErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/asset_set_link_error.proto // Proto file describing asset set link errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/authentication_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/authentication_error.proto index 968263d02..08f2e27fc 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/authentication_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/authentication_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/authentication_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/authentication_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/authentication_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AuthenticationErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/authentication_error.proto // Proto file describing authentication errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/authorization_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/authorization_error.proto index 1c9faec4d..d90da3ad7 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/authorization_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/authorization_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/authorization_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "AuthorizationErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/authorization_error.proto // Proto file describing authorization errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/batch_job_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/batch_job_error.proto index 99af65449..f126c9dbc 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/batch_job_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/batch_job_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/batch_job_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/batch_job_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/batch_job_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "BatchJobErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/batch_job_error.proto // Proto file describing batch job errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/bidding_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/bidding_error.proto index a8a9cecd3..615878f24 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/bidding_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/bidding_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/bidding_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "BiddingErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/bidding_error.proto // Proto file describing bidding errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/bidding_strategy_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/bidding_strategy_error.proto index cff512767..9c829b5b8 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/bidding_strategy_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/bidding_strategy_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/bidding_strategy_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "BiddingStrategyErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/bidding_strategy_error.proto // Proto file describing bidding strategy errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/billing_setup_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/billing_setup_error.proto index 6ec2882b5..8e00a0344 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/billing_setup_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/billing_setup_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/billing_setup_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "BillingSetupErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/billing_setup_error.proto // Proto file describing billing setup errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/campaign_budget_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/campaign_budget_error.proto index 36e5b349a..46b72cb5b 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/campaign_budget_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/campaign_budget_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/campaign_budget_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/campaign_budget_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/campaign_budget_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CampaignBudgetErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/campaign_budget_error.proto // Proto file describing campaign budget errors. @@ -112,11 +95,8 @@ message CampaignBudgetErrorEnum { // Cannot use accelerated delivery method on this budget. CANNOT_USE_ACCELERATED_DELIVERY_MODE = 20; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/campaign_budget_error.proto -======== // Budget amount must be unset when BudgetPeriod is CUSTOM. BUDGET_AMOUNT_MUST_BE_UNSET_FOR_CUSTOM_BUDGET_PERIOD = 21; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/campaign_budget_error.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/campaign_criterion_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/campaign_criterion_error.proto index f506cdbd5..9f856d5a4 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/campaign_criterion_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/campaign_criterion_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/campaign_criterion_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CampaignCriterionErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/campaign_criterion_error.proto // Proto file describing campaign criterion errors. @@ -123,8 +110,6 @@ message CampaignCriterionErrorEnum { // Local Services campaign must have at least one target location. AT_LEAST_ONE_POSITIVE_LOCATION_REQUIRED_FOR_LOCAL_SERVICES_CAMPAIGN = 23; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/campaign_criterion_error.proto -======== // At least one positive local service ID criterion is required for a Local // Services campaign. @@ -139,6 +124,5 @@ message CampaignCriterionErrorEnum { // exclusive targeting, broad match campaigns for inclusive targeting or // PMax generated campaigns. CANNOT_ATTACH_BRAND_LIST_TO_NON_QUALIFIED_SEARCH_CAMPAIGN = 26; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/campaign_criterion_error.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/campaign_customizer_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/campaign_customizer_error.proto index b3fcb2c8c..a489c1d02 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/campaign_customizer_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/campaign_customizer_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/campaign_customizer_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CampaignCustomizerErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/campaign_customizer_error.proto // Proto file describing campaign customizer errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/campaign_draft_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/campaign_draft_error.proto index 3e44408cb..da4d0bef5 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/campaign_draft_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/campaign_draft_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/campaign_draft_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CampaignDraftErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/campaign_draft_error.proto // Proto file describing campaign draft errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/campaign_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/campaign_error.proto index 5d4ecceea..5de382047 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/campaign_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/campaign_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/campaign_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CampaignErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/campaign_error.proto // Proto file describing campaign errors. @@ -218,8 +205,6 @@ message CampaignErrorEnum { // Category bid list in the local services campaign setting is missing a // bid for a category ID that must be present. LOCAL_SERVICES_MISSING_CATEGORY_BID = 55; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/campaign_error.proto -======== // The requested change in status is not supported. INVALID_STATUS_CHANGE = 57; @@ -301,6 +286,5 @@ message CampaignErrorEnum { // Cannot target the display network without also targeting YouTube. CANNOT_TARGET_DISPLAY_NETWORK_WITHOUT_YOUTUBE = 85; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/campaign_error.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/campaign_experiment_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/campaign_experiment_error.proto index 3369910b3..931e86dba 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/campaign_experiment_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/campaign_experiment_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/campaign_experiment_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CampaignExperimentErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/campaign_experiment_error.proto // Proto file describing campaign experiment errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/campaign_feed_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/campaign_feed_error.proto index 8ce9d0348..3a2e2be54 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/campaign_feed_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/campaign_feed_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/campaign_feed_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CampaignFeedErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/campaign_feed_error.proto // Proto file describing campaign feed errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/campaign_shared_set_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/campaign_shared_set_error.proto index 1fd93e8a5..5fea60bc2 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/campaign_shared_set_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/campaign_shared_set_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/campaign_shared_set_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CampaignSharedSetErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/campaign_shared_set_error.proto // Proto file describing campaign shared set errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/change_event_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/change_event_error.proto index 6fb732a7a..1075fc855 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/change_event_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/change_event_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/change_event_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ChangeEventErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/change_event_error.proto // Proto file describing change event errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/change_status_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/change_status_error.proto index 40589917f..7e80672fa 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/change_status_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/change_status_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/change_status_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ChangeStatusErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/change_status_error.proto // Proto file describing change status errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/collection_size_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/collection_size_error.proto index 002eedcb7..f449fa0d6 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/collection_size_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/collection_size_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/collection_size_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CollectionSizeErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/collection_size_error.proto // Proto file describing collection size errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/context_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/context_error.proto index 68ad91873..a2bd72ba9 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/context_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/context_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/context_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ContextErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/context_error.proto // Proto file describing context errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/conversion_action_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/conversion_action_error.proto index 613b3a04a..07602e469 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/conversion_action_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/conversion_action_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/conversion_action_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/conversion_action_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/conversion_action_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ConversionActionErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/conversion_action_error.proto // Proto file describing conversion action errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/conversion_custom_variable_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/conversion_custom_variable_error.proto index bed0ff424..2a3810e79 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/conversion_custom_variable_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/conversion_custom_variable_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/conversion_custom_variable_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ConversionCustomVariableErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/conversion_custom_variable_error.proto // Proto file describing conversion custom variable errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/conversion_value_rule_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/conversion_value_rule_error.proto index 9139672a3..954dcc12a 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/conversion_value_rule_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/conversion_value_rule_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/conversion_value_rule_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ConversionValueRuleErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/conversion_value_rule_error.proto // Proto file describing conversion value rule errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/conversion_value_rule_set_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/conversion_value_rule_set_error.proto index 180f61295..18d1a5537 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/conversion_value_rule_set_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/conversion_value_rule_set_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/conversion_value_rule_set_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ConversionValueRuleSetErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/conversion_value_rule_set_error.proto // Proto file describing conversion value rule set errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/country_code_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/country_code_error.proto index f16da7ae8..ec3622aea 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/country_code_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/country_code_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/country_code_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CountryCodeErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/country_code_error.proto // Proto file describing country code errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/criterion_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/criterion_error.proto index ea09da3a9..82e690408 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/criterion_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/criterion_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/criterion_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/criterion_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/criterion_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CriterionErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/criterion_error.proto // Proto file describing criterion errors. @@ -499,8 +482,6 @@ message CriterionErrorEnum { // policy. See // https://support.google.com/google-ads/answer/6299717. CANNOT_TARGET_CUSTOMER_MATCH_USER_LIST = 139; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/criterion_error.proto -======== // Cannot create a negative keyword list criterion with a shared set that // does not exist. @@ -543,6 +524,5 @@ message CriterionErrorEnum { // Brand list can only be negatively targeted for the campaign type. ONLY_EXCLUSION_BRAND_LIST_ALLOWED_FOR_CAMPAIGN_TYPE = 158; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/criterion_error.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/currency_code_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/currency_code_error.proto index 63a4dbbae..e622d374b 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/currency_code_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/currency_code_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/currency_code_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CurrencyCodeErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/currency_code_error.proto // Proto file describing currency code errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/custom_audience_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/custom_audience_error.proto index 984bda68d..cbe6ddd53 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/custom_audience_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/custom_audience_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/custom_audience_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomAudienceErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/custom_audience_error.proto // Proto file describing custom audience errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/custom_conversion_goal_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/custom_conversion_goal_error.proto index 9fc2bdc9e..7a812da4a 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/custom_conversion_goal_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/custom_conversion_goal_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/custom_conversion_goal_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomConversionGoalErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/custom_conversion_goal_error.proto // Proto file describing CustomConversionGoal errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/custom_interest_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/custom_interest_error.proto index ae6a5605f..21fd5a370 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/custom_interest_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/custom_interest_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/custom_interest_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomInterestErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/custom_interest_error.proto // Proto file describing custom interest errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/customer_client_link_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/customer_client_link_error.proto index 4c516ec47..59640c073 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/customer_client_link_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/customer_client_link_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/customer_client_link_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomerClientLinkErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/customer_client_link_error.proto // Proto file describing CustomerClientLink errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/customer_customizer_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/customer_customizer_error.proto index 2112c9db7..c9f574fb5 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/customer_customizer_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/customer_customizer_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/customer_customizer_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomerCustomizerErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/customer_customizer_error.proto // Proto file describing customer customizer errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/customer_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/customer_error.proto index bc553405d..f965f598d 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/customer_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/customer_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/customer_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomerErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/customer_error.proto // Container for enum describing possible customer errors. message CustomerErrorEnum { diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/customer_feed_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/customer_feed_error.proto index 8f02b8324..9df289be7 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/customer_feed_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/customer_feed_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/customer_feed_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomerFeedErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/customer_feed_error.proto // Proto file describing customer feed errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/customer_manager_link_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/customer_manager_link_error.proto index 4264575cb..689fba21b 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/customer_manager_link_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/customer_manager_link_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/customer_manager_link_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomerManagerLinkErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/customer_manager_link_error.proto // Proto file describing CustomerManagerLink errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/customer_user_access_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/customer_user_access_error.proto index 561de56bb..2cda8bba4 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/customer_user_access_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/customer_user_access_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/customer_user_access_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomerUserAccessErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/customer_user_access_error.proto // Proto file describing CustomerUserAccess errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/customizer_attribute_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/customizer_attribute_error.proto index 6824bffcc..ad58c3530 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/customizer_attribute_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/customizer_attribute_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/customizer_attribute_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "CustomizerAttributeErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/customizer_attribute_error.proto // Proto file describing customizer attribute errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/database_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/database_error.proto index 16ce754f5..8ab2f3712 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/database_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/database_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/database_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "DatabaseErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/database_error.proto // Proto file describing database errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/date_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/date_error.proto index 463156072..fc0359bf4 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/date_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/date_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/date_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "DateErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/date_error.proto // Proto file describing date errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/date_range_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/date_range_error.proto index 10e3c18cd..876ca15a0 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/date_range_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/date_range_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/date_range_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "DateRangeErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/date_range_error.proto // Proto file describing date range errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/distinct_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/distinct_error.proto index fb91cb6fe..c3f06355e 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/distinct_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/distinct_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/distinct_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "DistinctErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/distinct_error.proto // Proto file describing distinct errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/enum_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/enum_error.proto index c7e02fc62..5147bf610 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/enum_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/enum_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/enum_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "EnumErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/enum_error.proto // Proto file describing enum errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/errors.proto b/third_party/googleapis/google/ads/googleads/v15/errors/errors.proto index 2ef966cc5..49bec72a9 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/errors.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/errors.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/errors.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/errors.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,165 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/errors.proto -package google.ads.googleads.v13.errors; - -import "google/ads/googleads/v13/common/policy.proto"; -import "google/ads/googleads/v13/common/value.proto"; -import "google/ads/googleads/v13/enums/resource_limit_type.proto"; -import "google/ads/googleads/v13/errors/access_invitation_error.proto"; -import "google/ads/googleads/v13/errors/account_budget_proposal_error.proto"; -import "google/ads/googleads/v13/errors/account_link_error.proto"; -import "google/ads/googleads/v13/errors/ad_customizer_error.proto"; -import "google/ads/googleads/v13/errors/ad_error.proto"; -import "google/ads/googleads/v13/errors/ad_group_ad_error.proto"; -import "google/ads/googleads/v13/errors/ad_group_bid_modifier_error.proto"; -import "google/ads/googleads/v13/errors/ad_group_criterion_customizer_error.proto"; -import "google/ads/googleads/v13/errors/ad_group_criterion_error.proto"; -import "google/ads/googleads/v13/errors/ad_group_customizer_error.proto"; -import "google/ads/googleads/v13/errors/ad_group_error.proto"; -import "google/ads/googleads/v13/errors/ad_group_feed_error.proto"; -import "google/ads/googleads/v13/errors/ad_parameter_error.proto"; -import "google/ads/googleads/v13/errors/ad_sharing_error.proto"; -import "google/ads/googleads/v13/errors/adx_error.proto"; -import "google/ads/googleads/v13/errors/asset_error.proto"; -import "google/ads/googleads/v13/errors/asset_group_asset_error.proto"; -import "google/ads/googleads/v13/errors/asset_group_error.proto"; -import "google/ads/googleads/v13/errors/asset_group_listing_group_filter_error.proto"; -import "google/ads/googleads/v13/errors/asset_link_error.proto"; -import "google/ads/googleads/v13/errors/asset_set_asset_error.proto"; -import "google/ads/googleads/v13/errors/asset_set_error.proto"; -import "google/ads/googleads/v13/errors/asset_set_link_error.proto"; -import "google/ads/googleads/v13/errors/audience_error.proto"; -import "google/ads/googleads/v13/errors/audience_insights_error.proto"; -import "google/ads/googleads/v13/errors/authentication_error.proto"; -import "google/ads/googleads/v13/errors/authorization_error.proto"; -import "google/ads/googleads/v13/errors/batch_job_error.proto"; -import "google/ads/googleads/v13/errors/bidding_error.proto"; -import "google/ads/googleads/v13/errors/bidding_strategy_error.proto"; -import "google/ads/googleads/v13/errors/billing_setup_error.proto"; -import "google/ads/googleads/v13/errors/campaign_budget_error.proto"; -import "google/ads/googleads/v13/errors/campaign_conversion_goal_error.proto"; -import "google/ads/googleads/v13/errors/campaign_criterion_error.proto"; -import "google/ads/googleads/v13/errors/campaign_customizer_error.proto"; -import "google/ads/googleads/v13/errors/campaign_draft_error.proto"; -import "google/ads/googleads/v13/errors/campaign_error.proto"; -import "google/ads/googleads/v13/errors/campaign_experiment_error.proto"; -import "google/ads/googleads/v13/errors/campaign_feed_error.proto"; -import "google/ads/googleads/v13/errors/campaign_shared_set_error.proto"; -import "google/ads/googleads/v13/errors/change_event_error.proto"; -import "google/ads/googleads/v13/errors/change_status_error.proto"; -import "google/ads/googleads/v13/errors/collection_size_error.proto"; -import "google/ads/googleads/v13/errors/context_error.proto"; -import "google/ads/googleads/v13/errors/conversion_action_error.proto"; -import "google/ads/googleads/v13/errors/conversion_adjustment_upload_error.proto"; -import "google/ads/googleads/v13/errors/conversion_custom_variable_error.proto"; -import "google/ads/googleads/v13/errors/conversion_goal_campaign_config_error.proto"; -import "google/ads/googleads/v13/errors/conversion_upload_error.proto"; -import "google/ads/googleads/v13/errors/conversion_value_rule_error.proto"; -import "google/ads/googleads/v13/errors/conversion_value_rule_set_error.proto"; -import "google/ads/googleads/v13/errors/country_code_error.proto"; -import "google/ads/googleads/v13/errors/criterion_error.proto"; -import "google/ads/googleads/v13/errors/currency_code_error.proto"; -import "google/ads/googleads/v13/errors/currency_error.proto"; -import "google/ads/googleads/v13/errors/custom_audience_error.proto"; -import "google/ads/googleads/v13/errors/custom_conversion_goal_error.proto"; -import "google/ads/googleads/v13/errors/custom_interest_error.proto"; -import "google/ads/googleads/v13/errors/customer_client_link_error.proto"; -import "google/ads/googleads/v13/errors/customer_customizer_error.proto"; -import "google/ads/googleads/v13/errors/customer_error.proto"; -import "google/ads/googleads/v13/errors/customer_feed_error.proto"; -import "google/ads/googleads/v13/errors/customer_manager_link_error.proto"; -import "google/ads/googleads/v13/errors/customer_user_access_error.proto"; -import "google/ads/googleads/v13/errors/customizer_attribute_error.proto"; -import "google/ads/googleads/v13/errors/database_error.proto"; -import "google/ads/googleads/v13/errors/date_error.proto"; -import "google/ads/googleads/v13/errors/date_range_error.proto"; -import "google/ads/googleads/v13/errors/distinct_error.proto"; -import "google/ads/googleads/v13/errors/enum_error.proto"; -import "google/ads/googleads/v13/errors/experiment_arm_error.proto"; -import "google/ads/googleads/v13/errors/experiment_error.proto"; -import "google/ads/googleads/v13/errors/extension_feed_item_error.proto"; -import "google/ads/googleads/v13/errors/extension_setting_error.proto"; -import "google/ads/googleads/v13/errors/feed_attribute_reference_error.proto"; -import "google/ads/googleads/v13/errors/feed_error.proto"; -import "google/ads/googleads/v13/errors/feed_item_error.proto"; -import "google/ads/googleads/v13/errors/feed_item_set_error.proto"; -import "google/ads/googleads/v13/errors/feed_item_set_link_error.proto"; -import "google/ads/googleads/v13/errors/feed_item_target_error.proto"; -import "google/ads/googleads/v13/errors/feed_item_validation_error.proto"; -import "google/ads/googleads/v13/errors/feed_mapping_error.proto"; -import "google/ads/googleads/v13/errors/field_error.proto"; -import "google/ads/googleads/v13/errors/field_mask_error.proto"; -import "google/ads/googleads/v13/errors/function_error.proto"; -import "google/ads/googleads/v13/errors/function_parsing_error.proto"; -import "google/ads/googleads/v13/errors/geo_target_constant_suggestion_error.proto"; -import "google/ads/googleads/v13/errors/header_error.proto"; -import "google/ads/googleads/v13/errors/id_error.proto"; -import "google/ads/googleads/v13/errors/image_error.proto"; -import "google/ads/googleads/v13/errors/internal_error.proto"; -import "google/ads/googleads/v13/errors/invoice_error.proto"; -import "google/ads/googleads/v13/errors/keyword_plan_ad_group_error.proto"; -import "google/ads/googleads/v13/errors/keyword_plan_ad_group_keyword_error.proto"; -import "google/ads/googleads/v13/errors/keyword_plan_campaign_error.proto"; -import "google/ads/googleads/v13/errors/keyword_plan_campaign_keyword_error.proto"; -import "google/ads/googleads/v13/errors/keyword_plan_error.proto"; -import "google/ads/googleads/v13/errors/keyword_plan_idea_error.proto"; -import "google/ads/googleads/v13/errors/label_error.proto"; -import "google/ads/googleads/v13/errors/language_code_error.proto"; -import "google/ads/googleads/v13/errors/list_operation_error.proto"; -import "google/ads/googleads/v13/errors/manager_link_error.proto"; -import "google/ads/googleads/v13/errors/media_bundle_error.proto"; -import "google/ads/googleads/v13/errors/media_file_error.proto"; -import "google/ads/googleads/v13/errors/media_upload_error.proto"; -import "google/ads/googleads/v13/errors/merchant_center_error.proto"; -import "google/ads/googleads/v13/errors/multiplier_error.proto"; -import "google/ads/googleads/v13/errors/mutate_error.proto"; -import "google/ads/googleads/v13/errors/new_resource_creation_error.proto"; -import "google/ads/googleads/v13/errors/not_allowlisted_error.proto"; -import "google/ads/googleads/v13/errors/not_empty_error.proto"; -import "google/ads/googleads/v13/errors/null_error.proto"; -import "google/ads/googleads/v13/errors/offline_user_data_job_error.proto"; -import "google/ads/googleads/v13/errors/operation_access_denied_error.proto"; -import "google/ads/googleads/v13/errors/operator_error.proto"; -import "google/ads/googleads/v13/errors/partial_failure_error.proto"; -import "google/ads/googleads/v13/errors/payments_account_error.proto"; -import "google/ads/googleads/v13/errors/policy_finding_error.proto"; -import "google/ads/googleads/v13/errors/policy_validation_parameter_error.proto"; -import "google/ads/googleads/v13/errors/policy_violation_error.proto"; -import "google/ads/googleads/v13/errors/query_error.proto"; -import "google/ads/googleads/v13/errors/quota_error.proto"; -import "google/ads/googleads/v13/errors/range_error.proto"; -import "google/ads/googleads/v13/errors/reach_plan_error.proto"; -import "google/ads/googleads/v13/errors/recommendation_error.proto"; -import "google/ads/googleads/v13/errors/region_code_error.proto"; -import "google/ads/googleads/v13/errors/request_error.proto"; -import "google/ads/googleads/v13/errors/resource_access_denied_error.proto"; -import "google/ads/googleads/v13/errors/resource_count_limit_exceeded_error.proto"; -import "google/ads/googleads/v13/errors/setting_error.proto"; -import "google/ads/googleads/v13/errors/shared_criterion_error.proto"; -import "google/ads/googleads/v13/errors/shared_set_error.proto"; -import "google/ads/googleads/v13/errors/size_limit_error.proto"; -import "google/ads/googleads/v13/errors/smart_campaign_error.proto"; -import "google/ads/googleads/v13/errors/string_format_error.proto"; -import "google/ads/googleads/v13/errors/string_length_error.proto"; -import "google/ads/googleads/v13/errors/third_party_app_analytics_link_error.proto"; -import "google/ads/googleads/v13/errors/time_zone_error.proto"; -import "google/ads/googleads/v13/errors/url_field_error.proto"; -import "google/ads/googleads/v13/errors/user_data_error.proto"; -import "google/ads/googleads/v13/errors/user_list_error.proto"; -import "google/ads/googleads/v13/errors/youtube_video_registration_error.proto"; -import "google/protobuf/duration.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ErrorsProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v15.errors; import "google/ads/googleads/v15/common/policy.proto"; @@ -342,7 +179,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/errors.proto // Proto file describing the common error protos @@ -365,11 +201,7 @@ message GoogleAdsError { string message = 2; // The value that triggered the error. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/errors.proto - google.ads.googleads.v13.common.Value trigger = 3; -======== google.ads.googleads.v15.common.Value trigger = 3; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/errors.proto // Describes the part of the request proto that caused the error. ErrorLocation location = 4; @@ -844,13 +676,10 @@ message ErrorCode { // The reasons for the audience error AudienceErrorEnum.AudienceError audience_error = 164; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/errors.proto -======== // The reasons for the Search term insight error SearchTermInsightErrorEnum.SearchTermInsightError search_term_insight_error = 174; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/errors.proto // The reasons for the Smart campaign error SmartCampaignErrorEnum.SmartCampaignError smart_campaign_error = 147; @@ -861,10 +690,6 @@ message ErrorCode { AudienceInsightsErrorEnum.AudienceInsightsError audience_insights_error = 167; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/errors.proto - // The reasons for the currency errors. - CurrencyErrorEnum.CurrencyError currency_error = 171; -======== // The reasons for the product link error ProductLinkErrorEnum.ProductLinkError product_link_error = 169; @@ -891,7 +716,6 @@ message ErrorCode { // The reasons for the campaign lifecycle goal error CampaignLifecycleGoalErrorEnum.CampaignLifecycleGoalError campaign_lifecycle_goal_error = 179; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/errors.proto } } @@ -939,11 +763,7 @@ message PolicyViolationDetails { // Unique identifier for this violation. // If policy is exemptible, this key may be used to request exemption. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/errors.proto - google.ads.googleads.v13.common.PolicyViolationKey key = 4; -======== google.ads.googleads.v15.common.PolicyViolationKey key = 4; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/errors.proto // Human readable name of the policy. string external_policy_name = 5; @@ -959,11 +779,7 @@ message PolicyFindingDetails { // The list of policy topics for the resource. Contains the PROHIBITED or // FULLY_LIMITED policy topic entries that prevented the resource from being // saved (among any other entries the resource may also have). -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/errors.proto - repeated google.ads.googleads.v13.common.PolicyTopicEntry -======== repeated google.ads.googleads.v15.common.PolicyTopicEntry ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/errors.proto policy_topic_entries = 1; } @@ -1009,11 +825,7 @@ message ResourceCountDetails { int32 limit = 2; // The resource limit type which was exceeded. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/errors.proto - google.ads.googleads.v13.enums.ResourceLimitTypeEnum.ResourceLimitType -======== google.ads.googleads.v15.enums.ResourceLimitTypeEnum.ResourceLimitType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/errors.proto limit_type = 3; // The count of existing entities. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/experiment_arm_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/experiment_arm_error.proto index d69ce3969..1c848bfd8 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/experiment_arm_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/experiment_arm_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/experiment_arm_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ExperimentArmErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/experiment_arm_error.proto // Proto file describing experiment arm errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/experiment_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/experiment_error.proto index 28ff6f83e..1bda5257a 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/experiment_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/experiment_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/experiment_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ExperimentErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/experiment_error.proto // Proto file describing experiment errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/extension_feed_item_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/extension_feed_item_error.proto index da7be1ea9..4483e7d77 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/extension_feed_item_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/extension_feed_item_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/extension_feed_item_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ExtensionFeedItemErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/extension_feed_item_error.proto // Proto file describing extension feed item errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/extension_setting_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/extension_setting_error.proto index 02d6c0a16..8a20266f2 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/extension_setting_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/extension_setting_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/extension_setting_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ExtensionSettingErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/extension_setting_error.proto // Proto file describing extension setting validation errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/feed_attribute_reference_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/feed_attribute_reference_error.proto index d361ccf08..6f4cde0db 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/feed_attribute_reference_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/feed_attribute_reference_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/feed_attribute_reference_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FeedAttributeReferenceErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/feed_attribute_reference_error.proto // Proto file describing feed attribute reference errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/feed_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/feed_error.proto index 675ff2efc..0095b481d 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/feed_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/feed_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/feed_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FeedErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/feed_error.proto // Proto file describing feed errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/feed_item_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/feed_item_error.proto index c781a4306..e6e8885e9 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/feed_item_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/feed_item_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/feed_item_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/feed_item_error.proto // Proto file describing feed item errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/feed_item_set_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/feed_item_set_error.proto index d46f3c175..4bf09c53b 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/feed_item_set_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/feed_item_set_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/feed_item_set_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemSetErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/feed_item_set_error.proto // Proto file describing feed item set errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/feed_item_set_link_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/feed_item_set_link_error.proto index ac0c10829..ffc06e4e8 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/feed_item_set_link_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/feed_item_set_link_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/feed_item_set_link_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemSetLinkErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/feed_item_set_link_error.proto // Proto file describing feed item set link errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/feed_item_target_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/feed_item_target_error.proto index 5f045a9be..e39dece91 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/feed_item_target_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/feed_item_target_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/feed_item_target_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemTargetErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/feed_item_target_error.proto // Proto file describing feed item target errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/feed_item_validation_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/feed_item_validation_error.proto index a6ba92e92..8c971b038 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/feed_item_validation_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/feed_item_validation_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/feed_item_validation_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemValidationErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/feed_item_validation_error.proto // Proto file describing feed item validation errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/feed_mapping_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/feed_mapping_error.proto index 1d2f35051..6a2fd03e9 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/feed_mapping_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/feed_mapping_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/feed_mapping_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/feed_mapping_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/feed_mapping_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FeedMappingErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/feed_mapping_error.proto // Proto file describing feed item errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/field_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/field_error.proto index c70b2bf2f..57db26414 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/field_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/field_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/field_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/field_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/field_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FieldErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/field_error.proto // Proto file describing field errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/field_mask_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/field_mask_error.proto index bdae121db..1b36160b3 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/field_mask_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/field_mask_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/field_mask_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FieldMaskErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/field_mask_error.proto // Proto file describing field mask errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/function_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/function_error.proto index a105176eb..abd2a72c2 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/function_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/function_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/function_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FunctionErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/function_error.proto // Proto file describing function errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/function_parsing_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/function_parsing_error.proto index a20010c42..545fc6bb2 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/function_parsing_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/function_parsing_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/function_parsing_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "FunctionParsingErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/function_parsing_error.proto // Proto file describing function parsing errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/geo_target_constant_suggestion_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/geo_target_constant_suggestion_error.proto index 2845eb1fb..3009192bd 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/geo_target_constant_suggestion_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/geo_target_constant_suggestion_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/geo_target_constant_suggestion_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "GeoTargetConstantSuggestionErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/geo_target_constant_suggestion_error.proto // Container for enum describing possible geo target constant suggestion errors. message GeoTargetConstantSuggestionErrorEnum { diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/header_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/header_error.proto index b9b7e2dd8..84c22de69 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/header_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/header_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/header_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "HeaderErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/header_error.proto // Proto file describing header errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/id_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/id_error.proto index 70997cc15..c99446a2f 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/id_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/id_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/id_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "IdErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/id_error.proto // Proto file describing id errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/image_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/image_error.proto index e9ec52b9e..e7f6910e7 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/image_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/image_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/image_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ImageErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/image_error.proto // Proto file describing image errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/internal_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/internal_error.proto index 40ccd1baa..732e36f7e 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/internal_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/internal_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/internal_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "InternalErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/internal_error.proto // Proto file describing internal errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/invoice_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/invoice_error.proto index 9c90a9688..c57bb8776 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/invoice_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/invoice_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/invoice_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "InvoiceErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/invoice_error.proto // Proto file describing invoice errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/keyword_plan_ad_group_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/keyword_plan_ad_group_error.proto index c8ed343df..60c00f989 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/keyword_plan_ad_group_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/keyword_plan_ad_group_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/keyword_plan_ad_group_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanAdGroupErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/keyword_plan_ad_group_error.proto // Proto file describing errors from applying a keyword plan ad group. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/keyword_plan_ad_group_keyword_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/keyword_plan_ad_group_keyword_error.proto index 4ac273e8c..cd9217af7 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/keyword_plan_ad_group_keyword_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/keyword_plan_ad_group_keyword_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/keyword_plan_ad_group_keyword_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanAdGroupKeywordErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/keyword_plan_ad_group_keyword_error.proto // Proto file describing errors from applying a keyword plan ad group keyword or // keyword plan campaign keyword. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/keyword_plan_campaign_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/keyword_plan_campaign_error.proto index 743a3dd8e..4a1cab9a1 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/keyword_plan_campaign_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/keyword_plan_campaign_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/keyword_plan_campaign_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanCampaignErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/keyword_plan_campaign_error.proto // Proto file describing errors from applying a keyword plan campaign. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/keyword_plan_campaign_keyword_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/keyword_plan_campaign_keyword_error.proto index dfee60fa0..54574b690 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/keyword_plan_campaign_keyword_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/keyword_plan_campaign_keyword_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/keyword_plan_campaign_keyword_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanCampaignKeywordErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/keyword_plan_campaign_keyword_error.proto // Proto file describing errors from applying a keyword plan campaign keyword. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/keyword_plan_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/keyword_plan_error.proto index 05e14f839..6d2a4f31d 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/keyword_plan_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/keyword_plan_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/keyword_plan_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/keyword_plan_error.proto // Proto file describing errors from applying keyword plan resources (keyword // plan, keyword plan campaign, keyword plan ad group or keyword plan keyword) diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/keyword_plan_idea_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/keyword_plan_idea_error.proto index d1edf061a..d59779633 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/keyword_plan_idea_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/keyword_plan_idea_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/keyword_plan_idea_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanIdeaErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/keyword_plan_idea_error.proto // Proto file describing errors from KeywordPlanIdeaService. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/label_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/label_error.proto index 45bdf3805..918284d1c 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/label_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/label_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/label_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "LabelErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/label_error.proto // Proto file describing label errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/language_code_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/language_code_error.proto index 517049e56..650e01e43 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/language_code_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/language_code_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/language_code_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "LanguageCodeErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/language_code_error.proto // Proto file describing language code errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/list_operation_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/list_operation_error.proto index 2e92e2174..12d9f263b 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/list_operation_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/list_operation_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/list_operation_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ListOperationErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/list_operation_error.proto // Proto file describing list operation errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/manager_link_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/manager_link_error.proto index 12d1c9d7a..140dbd7ff 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/manager_link_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/manager_link_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/manager_link_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ManagerLinkErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/manager_link_error.proto // Proto file describing ManagerLink errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/media_bundle_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/media_bundle_error.proto index 5cc48e112..64c3915a0 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/media_bundle_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/media_bundle_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/media_bundle_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "MediaBundleErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/media_bundle_error.proto // Proto file describing media bundle errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/media_file_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/media_file_error.proto index 48362da28..549314a22 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/media_file_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/media_file_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/media_file_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "MediaFileErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/media_file_error.proto // Proto file describing media file errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/media_upload_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/media_upload_error.proto index d72e1125e..97615d4a2 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/media_upload_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/media_upload_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/media_upload_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "MediaUploadErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/media_upload_error.proto // Proto file describing media uploading errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/merchant_center_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/merchant_center_error.proto index 555594db4..740ba272b 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/merchant_center_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/merchant_center_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/merchant_center_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "MerchantCenterErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/merchant_center_error.proto // Proto file describing merchant center errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/multiplier_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/multiplier_error.proto index 95e4fd555..134ce7b5d 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/multiplier_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/multiplier_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/multiplier_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "MultiplierErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/multiplier_error.proto // Proto file describing multiplier errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/mutate_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/mutate_error.proto index 196c7f840..4fbd0a1fc 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/mutate_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/mutate_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/mutate_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "MutateErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/mutate_error.proto // Proto file describing mutate errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/new_resource_creation_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/new_resource_creation_error.proto index 84498e51e..631047ea3 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/new_resource_creation_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/new_resource_creation_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/new_resource_creation_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "NewResourceCreationErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/new_resource_creation_error.proto // Proto file describing new resource creation errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/not_allowlisted_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/not_allowlisted_error.proto index f9e02f7bd..b197af27a 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/not_allowlisted_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/not_allowlisted_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/not_allowlisted_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "NotAllowlistedErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/not_allowlisted_error.proto // Proto file describing not allowlisted errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/not_empty_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/not_empty_error.proto index 9a31f3216..2d6a49802 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/not_empty_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/not_empty_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/not_empty_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "NotEmptyErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/not_empty_error.proto // Proto file describing not empty errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/null_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/null_error.proto index 460c20c49..b9b0a1e69 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/null_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/null_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/null_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "NullErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/null_error.proto // Proto file describing null errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/offline_user_data_job_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/offline_user_data_job_error.proto index 5a8c21f24..5f608c8a8 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/offline_user_data_job_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/offline_user_data_job_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/offline_user_data_job_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "OfflineUserDataJobErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/offline_user_data_job_error.proto // Proto file describing offline user data job errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/operation_access_denied_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/operation_access_denied_error.proto index 60b7d16c5..346a374f6 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/operation_access_denied_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/operation_access_denied_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/operation_access_denied_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "OperationAccessDeniedErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/operation_access_denied_error.proto // Proto file describing operation access denied errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/operator_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/operator_error.proto index 61621a21b..f204b98ad 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/operator_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/operator_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/operator_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "OperatorErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/operator_error.proto // Proto file describing operator errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/partial_failure_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/partial_failure_error.proto index 5871c71cf..bead74db4 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/partial_failure_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/partial_failure_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/partial_failure_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "PartialFailureErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/partial_failure_error.proto // Proto file describing partial failure errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/payments_account_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/payments_account_error.proto index 4e9f1fe17..afab4fa77 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/payments_account_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/payments_account_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/payments_account_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "PaymentsAccountErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/payments_account_error.proto // Proto file describing payments account service errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/policy_finding_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/policy_finding_error.proto index aa5eaa25f..0a66bccf9 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/policy_finding_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/policy_finding_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/policy_finding_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "PolicyFindingErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/policy_finding_error.proto // Proto file describing policy finding errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/policy_validation_parameter_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/policy_validation_parameter_error.proto index 2b30fa82a..625492c9d 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/policy_validation_parameter_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/policy_validation_parameter_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/policy_validation_parameter_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "PolicyValidationParameterErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/policy_validation_parameter_error.proto // Proto file describing policy validation parameter errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/policy_violation_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/policy_violation_error.proto index 179e8f474..5ed4e51e6 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/policy_violation_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/policy_violation_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/policy_violation_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "PolicyViolationErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/policy_violation_error.proto // Proto file describing policy violation errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/query_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/query_error.proto index ca05ac21b..42db98513 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/query_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/query_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/query_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "QueryErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/query_error.proto // Proto file describing query errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/quota_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/quota_error.proto index 5ada00300..a29a637ce 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/quota_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/quota_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/quota_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "QuotaErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/quota_error.proto // Proto file describing quota errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/range_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/range_error.proto index 12ea3fcbd..6926e43c6 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/range_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/range_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/range_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "RangeErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/range_error.proto // Proto file describing range errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/reach_plan_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/reach_plan_error.proto index 56e9ed9ca..08e084c36 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/reach_plan_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/reach_plan_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/reach_plan_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/reach_plan_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/reach_plan_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ReachPlanErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/reach_plan_error.proto // Proto file describing errors generated from ReachPlanService. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/recommendation_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/recommendation_error.proto index 3e4e7fb4e..0f06a96e7 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/recommendation_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/recommendation_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/recommendation_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/recommendation_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/recommendation_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "RecommendationErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/recommendation_error.proto // Proto file describing errors from applying a recommendation. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/region_code_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/region_code_error.proto index 75ee188ed..0628f6003 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/region_code_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/region_code_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/region_code_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "RegionCodeErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/region_code_error.proto // Proto file describing region code errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/request_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/request_error.proto index 0ffaabfa8..24cf3d44a 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/request_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/request_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/request_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/request_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/request_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "RequestErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/request_error.proto // Proto file describing request errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/resource_access_denied_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/resource_access_denied_error.proto index 361f5aba7..59d798125 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/resource_access_denied_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/resource_access_denied_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/resource_access_denied_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ResourceAccessDeniedErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/resource_access_denied_error.proto // Proto file describing resource access denied errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/resource_count_limit_exceeded_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/resource_count_limit_exceeded_error.proto index f7817b69e..e7edf065f 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/resource_count_limit_exceeded_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/resource_count_limit_exceeded_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/resource_count_limit_exceeded_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ResourceCountLimitExceededErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/resource_count_limit_exceeded_error.proto // Proto file describing resource count limit exceeded errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/setting_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/setting_error.proto index 0de1bb378..c5c354866 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/setting_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/setting_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/setting_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "SettingErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/setting_error.proto // Proto file describing setting errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/shared_criterion_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/shared_criterion_error.proto index e5c3028ae..768367a6f 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/shared_criterion_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/shared_criterion_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/shared_criterion_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "SharedCriterionErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/shared_criterion_error.proto // Proto file describing shared criterion errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/shared_set_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/shared_set_error.proto index c757c63c6..8ffd2fddf 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/shared_set_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/shared_set_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/shared_set_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "SharedSetErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/shared_set_error.proto // Proto file describing shared set errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/size_limit_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/size_limit_error.proto index 76a13b6bd..409862759 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/size_limit_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/size_limit_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/size_limit_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "SizeLimitErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/size_limit_error.proto // Proto file describing size limit errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/string_format_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/string_format_error.proto index 2baa0f05b..9d1da9084 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/string_format_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/string_format_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/string_format_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "StringFormatErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/string_format_error.proto // Proto file describing string format errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/string_length_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/string_length_error.proto index 6fcbbcd4d..2a5c42d48 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/string_length_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/string_length_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/string_length_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "StringLengthErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/string_length_error.proto // Proto file describing string length errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/third_party_app_analytics_link_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/third_party_app_analytics_link_error.proto index 0330d9a62..73cc3a2db 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/third_party_app_analytics_link_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/third_party_app_analytics_link_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/third_party_app_analytics_link_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "ThirdPartyAppAnalyticsLinkErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/third_party_app_analytics_link_error.proto // Proto file describing ThirdPartyAppAnalyticsLink errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/time_zone_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/time_zone_error.proto index 3556f3283..8ac3fa75e 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/time_zone_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/time_zone_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/time_zone_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "TimeZoneErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/time_zone_error.proto // Proto file describing time zone errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/url_field_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/url_field_error.proto index 4d51f8eb4..c311cd546 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/url_field_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/url_field_error.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/url_field_error.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/url_field_error.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/errors/url_field_error.proto -package google.ads.googleads.v13.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "UrlFieldErrorProto"; -option java_package = "com.google.ads.googleads.v13.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V13::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -40,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/url_field_error.proto // Proto file describing url field errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/user_data_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/user_data_error.proto index eb2b509df..d588570da 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/user_data_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/user_data_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/user_data_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "UserDataErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/user_data_error.proto // Proto file describing user data errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/user_list_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/user_list_error.proto index 8befd8357..62c072595 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/user_list_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/user_list_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/user_list_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "UserListErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/user_list_error.proto // Proto file describing user list errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/errors/youtube_video_registration_error.proto b/third_party/googleapis/google/ads/googleads/v15/errors/youtube_video_registration_error.proto index 56994b7c9..fe30c1712 100644 --- a/third_party/googleapis/google/ads/googleads/v15/errors/youtube_video_registration_error.proto +++ b/third_party/googleapis/google/ads/googleads/v15/errors/youtube_video_registration_error.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/errors/youtube_video_registration_error.proto -package google.ads.googleads.v12.errors; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Errors"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/errors;errors"; -option java_multiple_files = true; -option java_outer_classname = "YoutubeVideoRegistrationErrorProto"; -option java_package = "com.google.ads.googleads.v12.errors"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Errors"; -option ruby_package = "Google::Ads::GoogleAds::V12::Errors"; -======== package google.ads.googleads.v15.errors; option csharp_namespace = "Google.Ads.GoogleAds.V15.Errors"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.googleads.v15.errors"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Errors"; option ruby_package = "Google::Ads::GoogleAds::V15::Errors"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/errors/youtube_video_registration_error.proto // Proto file describing YouTube video registration errors. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/BUILD.bazel b/third_party/googleapis/google/ads/googleads/v15/resources/BUILD.bazel index 05d162cc6..2bc6eb815 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/BUILD.bazel +++ b/third_party/googleapis/google/ads/googleads/v15/resources/BUILD.bazel @@ -26,15 +26,9 @@ proto_library( name = "resources_proto", srcs = glob(["*.proto"]), deps = [ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/BUILD.bazel - "//google/ads/googleads/v13/common:common_proto", - "//google/ads/googleads/v13/enums:enums_proto", - "//google/ads/googleads/v13/errors:errors_proto", -======== "//google/ads/googleads/v15/common:common_proto", "//google/ads/googleads/v15/enums:enums_proto", "//google/ads/googleads/v15/errors:errors_proto", ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/BUILD.bazel "//google/api:annotations_proto", "//google/api:field_behavior_proto", "//google/api:resource_proto", diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/accessible_bidding_strategy.proto b/third_party/googleapis/google/ads/googleads/v15/resources/accessible_bidding_strategy.proto index dba39d279..b06abcd65 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/accessible_bidding_strategy.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/accessible_bidding_strategy.proto @@ -14,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/accessible_bidding_strategy.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/bidding_strategy_type.proto"; -import "google/ads/googleads/v12/enums/target_impression_share_location.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AccessibleBiddingStrategyProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/bidding_strategy_type.proto"; @@ -46,7 +29,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/accessible_bidding_strategy.proto // Represents a view of BiddingStrategies owned by and shared with the customer. // @@ -74,13 +56,8 @@ message AccessibleBiddingStrategy { // An automated bidding strategy to help get the most conversions for your // campaigns while spending your budget. message MaximizeConversions { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/accessible_bidding_strategy.proto - // Output only. The target cost per acquisition (CPA) option. This is the average amount - // that you would like to spend per acquisition. -======== // Output only. The target cost per acquisition (CPA) option. This is the // average amount that you would like to spend per acquisition. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/accessible_bidding_strategy.proto int64 target_cpa_micros = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; } @@ -99,13 +76,9 @@ message AccessibleBiddingStrategy { // location). message TargetImpressionShare { // Output only. The targeted location on the search results page. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/accessible_bidding_strategy.proto - google.ads.googleads.v12.enums.TargetImpressionShareLocationEnum.TargetImpressionShareLocation location = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.TargetImpressionShareLocationEnum .TargetImpressionShareLocation location = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/accessible_bidding_strategy.proto // The chosen fraction of ads to be shown in the targeted location in // micros. For example, 1% equals 10,000. @@ -121,12 +94,8 @@ message AccessibleBiddingStrategy { // An automated bidding strategy that helps you maximize revenue while // averaging a specific target return on ad spend (ROAS). message TargetRoas { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/accessible_bidding_strategy.proto - // Output only. The chosen revenue (based on conversion data) per unit of spend. -======== // Output only. The chosen revenue (based on conversion data) per unit of // spend. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/accessible_bidding_strategy.proto optional double target_roas = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; } @@ -167,12 +136,8 @@ message AccessibleBiddingStrategy { string name = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The type of the bidding strategy. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/accessible_bidding_strategy.proto - google.ads.googleads.v12.enums.BiddingStrategyTypeEnum.BiddingStrategyType type = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.BiddingStrategyTypeEnum.BiddingStrategyType type = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/accessible_bidding_strategy.proto // Output only. The ID of the Customer which owns the bidding strategy. int64 owner_customer_id = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -199,16 +164,10 @@ message AccessibleBiddingStrategy { // conversions as possible at the target cost-per-acquisition (CPA) you set. TargetCpa target_cpa = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/accessible_bidding_strategy.proto - // Output only. A bidding strategy that automatically optimizes towards a chosen - // percentage of impressions. - TargetImpressionShare target_impression_share = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== // Output only. A bidding strategy that automatically optimizes towards a // chosen percentage of impressions. TargetImpressionShare target_impression_share = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/accessible_bidding_strategy.proto // Output only. A bidding strategy that helps you maximize revenue while // averaging a specific target Return On Ad Spend (ROAS). diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/account_budget.proto b/third_party/googleapis/google/ads/googleads/v15/resources/account_budget.proto index a9f053de0..b5d2b1cc0 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/account_budget.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/account_budget.proto @@ -14,25 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/account_budget.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/account_budget_proposal_type.proto"; -import "google/ads/googleads/v12/enums/account_budget_status.proto"; -import "google/ads/googleads/v12/enums/spending_limit_type.proto"; -import "google/ads/googleads/v12/enums/time_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AccountBudgetProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/account_budget_proposal_type.proto"; @@ -50,7 +31,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/account_budget.proto // Proto file describing the AccountBudget resource. @@ -90,17 +70,11 @@ message AccountBudget { } ]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/account_budget.proto - // Output only. The type of this proposal, for example, END to end the budget associated - // with this proposal. - google.ads.googleads.v12.enums.AccountBudgetProposalTypeEnum.AccountBudgetProposalType proposal_type = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== // Output only. The type of this proposal, for example, END to end the // budget associated with this proposal. google.ads.googleads.v15.enums.AccountBudgetProposalTypeEnum .AccountBudgetProposalType proposal_type = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/account_budget.proto // Output only. The name to assign to the account-level budget. optional string name = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -128,12 +102,8 @@ message AccountBudget { string end_date_time = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The end time as a well-defined type, for example, FOREVER. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/account_budget.proto - google.ads.googleads.v12.enums.TimeTypeEnum.TimeType end_time_type = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.TimeTypeEnum.TimeType end_time_type = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/account_budget.proto } // The spending limit. @@ -143,15 +113,10 @@ message AccountBudget { int64 spending_limit_micros = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/account_budget.proto - // Output only. The spending limit as a well-defined type, for example, INFINITE. - google.ads.googleads.v12.enums.SpendingLimitTypeEnum.SpendingLimitType spending_limit_type = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== // Output only. The spending limit as a well-defined type, for example, // INFINITE. google.ads.googleads.v15.enums.SpendingLimitTypeEnum.SpendingLimitType spending_limit_type = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/account_budget.proto } } @@ -181,12 +146,8 @@ message AccountBudget { ]; // Output only. The status of this account-level budget. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/account_budget.proto - google.ads.googleads.v12.enums.AccountBudgetStatusEnum.AccountBudgetStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.AccountBudgetStatusEnum.AccountBudgetStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/account_budget.proto // Output only. The name of the account-level budget. optional string name = 25 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -235,15 +196,10 @@ message AccountBudget { string proposed_end_date_time = 28 [(google.api.field_behavior) = OUTPUT_ONLY]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/account_budget.proto - // Output only. The proposed end time as a well-defined type, for example, FOREVER. - google.ads.googleads.v12.enums.TimeTypeEnum.TimeType proposed_end_time_type = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== // Output only. The proposed end time as a well-defined type, for example, // FOREVER. google.ads.googleads.v15.enums.TimeTypeEnum.TimeType proposed_end_time_type = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/account_budget.proto } // The approved end time of the account-level budget. @@ -255,15 +211,10 @@ message AccountBudget { string approved_end_date_time = 29 [(google.api.field_behavior) = OUTPUT_ONLY]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/account_budget.proto - // Output only. The approved end time as a well-defined type, for example, FOREVER. - google.ads.googleads.v12.enums.TimeTypeEnum.TimeType approved_end_time_type = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== // Output only. The approved end time as a well-defined type, for example, // FOREVER. google.ads.googleads.v15.enums.TimeTypeEnum.TimeType approved_end_time_type = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/account_budget.proto } // The proposed spending limit. @@ -273,17 +224,11 @@ message AccountBudget { int64 proposed_spending_limit_micros = 30 [(google.api.field_behavior) = OUTPUT_ONLY]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/account_budget.proto - // Output only. The proposed spending limit as a well-defined type, for example, - // INFINITE. - google.ads.googleads.v12.enums.SpendingLimitTypeEnum.SpendingLimitType proposed_spending_limit_type = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== // Output only. The proposed spending limit as a well-defined type, for // example, INFINITE. google.ads.googleads.v15.enums.SpendingLimitTypeEnum.SpendingLimitType proposed_spending_limit_type = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/account_budget.proto } // The approved spending limit. @@ -299,19 +244,12 @@ message AccountBudget { int64 approved_spending_limit_micros = 31 [(google.api.field_behavior) = OUTPUT_ONLY]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/account_budget.proto - // Output only. The approved spending limit as a well-defined type, for example, - // INFINITE. This will only be populated if the approved spending limit is - // INFINITE. - google.ads.googleads.v12.enums.SpendingLimitTypeEnum.SpendingLimitType approved_spending_limit_type = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== // Output only. The approved spending limit as a well-defined type, for // example, INFINITE. This will only be populated if the approved spending // limit is INFINITE. google.ads.googleads.v15.enums.SpendingLimitTypeEnum.SpendingLimitType approved_spending_limit_type = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/account_budget.proto } // The spending limit after adjustments have been applied. Adjustments are @@ -334,13 +272,6 @@ message AccountBudget { int64 adjusted_spending_limit_micros = 32 [(google.api.field_behavior) = OUTPUT_ONLY]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/account_budget.proto - // Output only. The adjusted spending limit as a well-defined type, for example, - // INFINITE. This will only be populated if the adjusted spending limit is - // INFINITE, which is guaranteed to be true if the approved spending limit - // is INFINITE. - google.ads.googleads.v12.enums.SpendingLimitTypeEnum.SpendingLimitType adjusted_spending_limit_type = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== // Output only. The adjusted spending limit as a well-defined type, for // example, INFINITE. This will only be populated if the adjusted spending // limit is INFINITE, which is guaranteed to be true if the approved @@ -348,6 +279,5 @@ message AccountBudget { google.ads.googleads.v15.enums.SpendingLimitTypeEnum.SpendingLimitType adjusted_spending_limit_type = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/account_budget.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/account_budget_proposal.proto b/third_party/googleapis/google/ads/googleads/v15/resources/account_budget_proposal.proto index 3a1cbd8e9..0aed6f39c 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/account_budget_proposal.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/account_budget_proposal.proto @@ -14,25 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/account_budget_proposal.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/account_budget_proposal_status.proto"; -import "google/ads/googleads/v12/enums/account_budget_proposal_type.proto"; -import "google/ads/googleads/v12/enums/spending_limit_type.proto"; -import "google/ads/googleads/v12/enums/time_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AccountBudgetProposalProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/account_budget_proposal_status.proto"; @@ -50,7 +31,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/account_budget_proposal.proto // Proto file describing the AccountBudgetProposal resource. @@ -101,15 +81,6 @@ message AccountBudgetProposal { } ]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/account_budget_proposal.proto - // Immutable. The type of this proposal, for example, END to end the budget associated - // with this proposal. - google.ads.googleads.v12.enums.AccountBudgetProposalTypeEnum.AccountBudgetProposalType proposal_type = 4 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The status of this proposal. - // When a new proposal is created, the status defaults to PENDING. - google.ads.googleads.v12.enums.AccountBudgetProposalStatusEnum.AccountBudgetProposalStatus status = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== // Immutable. The type of this proposal, for example, END to end the budget // associated with this proposal. google.ads.googleads.v15.enums.AccountBudgetProposalTypeEnum @@ -121,7 +92,6 @@ message AccountBudgetProposal { google.ads.googleads.v15.enums.AccountBudgetProposalStatusEnum .AccountBudgetProposalStatus status = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/account_budget_proposal.proto // Immutable. The name to assign to the account-level budget. optional string proposed_name = 28 [(google.api.field_behavior) = IMMUTABLE]; @@ -155,15 +125,10 @@ message AccountBudgetProposal { string proposed_start_date_time = 29 [(google.api.field_behavior) = IMMUTABLE]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/account_budget_proposal.proto - // Immutable. The proposed start date time as a well-defined type, for example, NOW. - google.ads.googleads.v12.enums.TimeTypeEnum.TimeType proposed_start_time_type = 7 [(google.api.field_behavior) = IMMUTABLE]; -======== // Immutable. The proposed start date time as a well-defined type, for // example, NOW. google.ads.googleads.v15.enums.TimeTypeEnum.TimeType proposed_start_time_type = 7 [(google.api.field_behavior) = IMMUTABLE]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/account_budget_proposal.proto } // The proposed end date time of the account-level budget, which cannot be in @@ -173,15 +138,10 @@ message AccountBudgetProposal { string proposed_end_date_time = 31 [(google.api.field_behavior) = IMMUTABLE]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/account_budget_proposal.proto - // Immutable. The proposed end date time as a well-defined type, for example, FOREVER. - google.ads.googleads.v12.enums.TimeTypeEnum.TimeType proposed_end_time_type = 9 [(google.api.field_behavior) = IMMUTABLE]; -======== // Immutable. The proposed end date time as a well-defined type, for // example, FOREVER. google.ads.googleads.v15.enums.TimeTypeEnum.TimeType proposed_end_time_type = 9 [(google.api.field_behavior) = IMMUTABLE]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/account_budget_proposal.proto } // The approved end date time of the account-level budget. @@ -190,15 +150,10 @@ message AccountBudgetProposal { string approved_end_date_time = 32 [(google.api.field_behavior) = OUTPUT_ONLY]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/account_budget_proposal.proto - // Output only. The approved end date time as a well-defined type, for example, FOREVER. - google.ads.googleads.v12.enums.TimeTypeEnum.TimeType approved_end_time_type = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== // Output only. The approved end date time as a well-defined type, for // example, FOREVER. google.ads.googleads.v15.enums.TimeTypeEnum.TimeType approved_end_time_type = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/account_budget_proposal.proto } // The proposed spending limit. @@ -208,17 +163,11 @@ message AccountBudgetProposal { int64 proposed_spending_limit_micros = 33 [(google.api.field_behavior) = IMMUTABLE]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/account_budget_proposal.proto - // Immutable. The proposed spending limit as a well-defined type, for example, - // INFINITE. - google.ads.googleads.v12.enums.SpendingLimitTypeEnum.SpendingLimitType proposed_spending_limit_type = 11 [(google.api.field_behavior) = IMMUTABLE]; -======== // Immutable. The proposed spending limit as a well-defined type, for // example, INFINITE. google.ads.googleads.v15.enums.SpendingLimitTypeEnum.SpendingLimitType proposed_spending_limit_type = 11 [(google.api.field_behavior) = IMMUTABLE]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/account_budget_proposal.proto } // The approved spending limit. @@ -228,16 +177,10 @@ message AccountBudgetProposal { int64 approved_spending_limit_micros = 34 [(google.api.field_behavior) = OUTPUT_ONLY]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/account_budget_proposal.proto - // Output only. The approved spending limit as a well-defined type, for example, - // INFINITE. - google.ads.googleads.v12.enums.SpendingLimitTypeEnum.SpendingLimitType approved_spending_limit_type = 24 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== // Output only. The approved spending limit as a well-defined type, for // example, INFINITE. google.ads.googleads.v15.enums.SpendingLimitTypeEnum.SpendingLimitType approved_spending_limit_type = 24 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/account_budget_proposal.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/account_link.proto b/third_party/googleapis/google/ads/googleads/v15/resources/account_link.proto index 7f4610012..18313318d 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/account_link.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/account_link.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/account_link.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/account_link.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,24 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/account_link.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/account_link_status.proto"; -import "google/ads/googleads/v13/enums/linked_account_type.proto"; -import "google/ads/googleads/v13/enums/mobile_app_vendor.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AccountLinkProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/account_link_status.proto"; @@ -52,7 +30,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/account_link.proto // Represents the data sharing connection between a Google Ads account and // another account @@ -78,19 +55,11 @@ message AccountLink { [(google.api.field_behavior) = OUTPUT_ONLY]; // The status of the link. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/account_link.proto - google.ads.googleads.v13.enums.AccountLinkStatusEnum.AccountLinkStatus - status = 3; - - // Output only. The type of the linked account. - google.ads.googleads.v13.enums.LinkedAccountTypeEnum.LinkedAccountType type = -======== google.ads.googleads.v15.enums.AccountLinkStatusEnum.AccountLinkStatus status = 3; // Output only. The type of the linked account. google.ads.googleads.v15.enums.LinkedAccountTypeEnum.LinkedAccountType type = ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/account_link.proto 4 [(google.api.field_behavior) = OUTPUT_ONLY]; // An account linked to this Google Ads account. @@ -107,13 +76,6 @@ message AccountLink { GoogleAdsLinkIdentifier google_ads = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/account_link.proto - // Output only. Hotel link - HotelCenterLinkIdentifier hotel_center = 9 - [(google.api.field_behavior) = OUTPUT_ONLY]; - -======== ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/account_link.proto // Output only. Advertising Partner link AdvertisingPartnerLinkIdentifier advertising_partner = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -146,11 +108,7 @@ message ThirdPartyAppAnalyticsLinkIdentifier { // This field should not be empty when creating a new third // party app analytics link. It is unable to be modified after the creation of // the link. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/account_link.proto - google.ads.googleads.v13.enums.MobileAppVendorEnum.MobileAppVendor -======== google.ads.googleads.v15.enums.MobileAppVendorEnum.MobileAppVendor ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/account_link.proto app_vendor = 3 [(google.api.field_behavior) = IMMUTABLE]; } @@ -163,12 +121,6 @@ message DataPartnerLinkIdentifier { optional int64 data_partner_id = 1 [(google.api.field_behavior) = IMMUTABLE]; } -// The identifier for Hotel account. -message HotelCenterLinkIdentifier { - // Output only. The hotel center id of the hotel account. - int64 hotel_center_id = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; -} - // The identifier for Google Ads account. message GoogleAdsLinkIdentifier { // Immutable. The resource name of the Google Ads account. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/ad.proto b/third_party/googleapis/google/ads/googleads/v15/resources/ad.proto index d6cd9ee0c..56cdad90f 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/ad.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/ad.proto @@ -14,28 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/ad_type_infos.proto"; -import "google/ads/googleads/v12/common/custom_parameter.proto"; -import "google/ads/googleads/v12/common/final_app_url.proto"; -import "google/ads/googleads/v12/common/url_collection.proto"; -import "google/ads/googleads/v12/enums/ad_type.proto"; -import "google/ads/googleads/v12/enums/device.proto"; -import "google/ads/googleads/v12/enums/system_managed_entity_source.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/common/ad_type_infos.proto"; @@ -56,7 +34,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad.proto // Proto file describing the ad type. @@ -85,11 +62,7 @@ message Ad { // A list of final app URLs that will be used on mobile if the user has the // specific app installed. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad.proto - repeated google.ads.googleads.v12.common.FinalAppUrl final_app_urls = 35; -======== repeated google.ads.googleads.v15.common.FinalAppUrl final_app_urls = 35; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad.proto // The list of possible final mobile URLs after all cross-domain redirects // for the ad. @@ -104,23 +77,15 @@ message Ad { // The list of mappings that can be used to substitute custom parameter tags // in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`. // For mutates, use url custom parameter operations. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad.proto - repeated google.ads.googleads.v12.common.CustomParameter url_custom_parameters = 10; -======== repeated google.ads.googleads.v15.common.CustomParameter url_custom_parameters = 10; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad.proto // The URL that appears in the ad description for some ad formats. optional string display_url = 45; // Output only. The type of ad. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad.proto - google.ads.googleads.v12.enums.AdTypeEnum.AdType type = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.AdTypeEnum.AdType type = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad.proto // Output only. Indicates if this ad was automatically added by Google Ads and // not by a user. For example, this could happen when ads are automatically @@ -135,19 +100,11 @@ message Ad { // displayed on other device types, for example, if no other ads are // available. If unspecified (no device preference), all devices are targeted. // This is only supported by some ad types. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad.proto - google.ads.googleads.v12.enums.DeviceEnum.Device device_preference = 20; - - // Additional URLs for the ad that are tagged with a unique identifier that - // can be referenced from other fields in the ad. - repeated google.ads.googleads.v12.common.UrlCollection url_collections = 26; -======== google.ads.googleads.v15.enums.DeviceEnum.Device device_preference = 20; // Additional URLs for the ad that are tagged with a unique identifier that // can be referenced from other fields in the ad. repeated google.ads.googleads.v15.common.UrlCollection url_collections = 26; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad.proto // Immutable. The name of the ad. This is only used to be able to identify the // ad. It does not need to be unique and does not affect the served ad. The @@ -155,30 +112,15 @@ message Ad { // ShoppingComparisonListingAd and VideoAd. optional string name = 47 [(google.api.field_behavior) = IMMUTABLE]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad.proto - // Output only. If this ad is system managed, then this field will indicate the source. - // This field is read-only. - google.ads.googleads.v12.enums.SystemManagedResourceSourceEnum.SystemManagedResourceSource system_managed_resource_source = 27 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== // Output only. If this ad is system managed, then this field will indicate // the source. This field is read-only. google.ads.googleads.v15.enums.SystemManagedResourceSourceEnum .SystemManagedResourceSource system_managed_resource_source = 27 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad.proto // Details pertinent to the ad type. Exactly one value must be set. oneof ad_data { // Immutable. Details pertaining to a text ad. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad.proto - google.ads.googleads.v12.common.TextAdInfo text_ad = 6 [(google.api.field_behavior) = IMMUTABLE]; - - // Details pertaining to an expanded text ad. - google.ads.googleads.v12.common.ExpandedTextAdInfo expanded_text_ad = 7; - - // Details pertaining to a call ad. - google.ads.googleads.v12.common.CallAdInfo call_ad = 49; -======== google.ads.googleads.v15.common.TextAdInfo text_ad = 6 [(google.api.field_behavior) = IMMUTABLE]; @@ -187,73 +129,12 @@ message Ad { // Details pertaining to a call ad. google.ads.googleads.v15.common.CallAdInfo call_ad = 49; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad.proto // Immutable. Details pertaining to an Expanded Dynamic Search Ad. // This type of ad has its headline, final URLs, and display URL // auto-generated at serving time according to domain name specific // information provided by `dynamic_search_ads_setting` linked at the // campaign level. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad.proto - google.ads.googleads.v12.common.ExpandedDynamicSearchAdInfo expanded_dynamic_search_ad = 14 [(google.api.field_behavior) = IMMUTABLE]; - - // Details pertaining to a hotel ad. - google.ads.googleads.v12.common.HotelAdInfo hotel_ad = 15; - - // Details pertaining to a Smart Shopping ad. - google.ads.googleads.v12.common.ShoppingSmartAdInfo shopping_smart_ad = 17; - - // Details pertaining to a Shopping product ad. - google.ads.googleads.v12.common.ShoppingProductAdInfo shopping_product_ad = 18; - - // Immutable. Details pertaining to an Image ad. - google.ads.googleads.v12.common.ImageAdInfo image_ad = 22 [(google.api.field_behavior) = IMMUTABLE]; - - // Details pertaining to a Video ad. - google.ads.googleads.v12.common.VideoAdInfo video_ad = 24; - - // Details pertaining to a Video responsive ad. - google.ads.googleads.v12.common.VideoResponsiveAdInfo video_responsive_ad = 39; - - // Details pertaining to a responsive search ad. - google.ads.googleads.v12.common.ResponsiveSearchAdInfo responsive_search_ad = 25; - - // Details pertaining to a legacy responsive display ad. - google.ads.googleads.v12.common.LegacyResponsiveDisplayAdInfo legacy_responsive_display_ad = 28; - - // Details pertaining to an app ad. - google.ads.googleads.v12.common.AppAdInfo app_ad = 29; - - // Immutable. Details pertaining to a legacy app install ad. - google.ads.googleads.v12.common.LegacyAppInstallAdInfo legacy_app_install_ad = 30 [(google.api.field_behavior) = IMMUTABLE]; - - // Details pertaining to a responsive display ad. - google.ads.googleads.v12.common.ResponsiveDisplayAdInfo responsive_display_ad = 31; - - // Details pertaining to a local ad. - google.ads.googleads.v12.common.LocalAdInfo local_ad = 32; - - // Details pertaining to a display upload ad. - google.ads.googleads.v12.common.DisplayUploadAdInfo display_upload_ad = 33; - - // Details pertaining to an app engagement ad. - google.ads.googleads.v12.common.AppEngagementAdInfo app_engagement_ad = 34; - - // Details pertaining to a Shopping Comparison Listing ad. - google.ads.googleads.v12.common.ShoppingComparisonListingAdInfo shopping_comparison_listing_ad = 36; - - // Details pertaining to a Smart campaign ad. - google.ads.googleads.v12.common.SmartCampaignAdInfo smart_campaign_ad = 48; - - // Details pertaining to an app pre-registration ad. - google.ads.googleads.v12.common.AppPreRegistrationAdInfo app_pre_registration_ad = 50; - - // Details pertaining to a discovery multi asset ad. - google.ads.googleads.v12.common.DiscoveryMultiAssetAdInfo discovery_multi_asset_ad = 51; - - // Details pertaining to a discovery carousel ad. - google.ads.googleads.v12.common.DiscoveryCarouselAdInfo discovery_carousel_ad = 52; -======== google.ads.googleads.v15.common.ExpandedDynamicSearchAdInfo expanded_dynamic_search_ad = 14 [(google.api.field_behavior) = IMMUTABLE]; @@ -332,6 +213,5 @@ message Ad { // Details pertaining to a travel ad. google.ads.googleads.v15.common.TravelAdInfo travel_ad = 54; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/ad_group.proto b/third_party/googleapis/google/ads/googleads/v15/resources/ad_group.proto index 271d715a2..5a5722725 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/ad_group.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/ad_group.proto @@ -14,31 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/custom_parameter.proto"; -import "google/ads/googleads/v12/common/explorer_auto_optimizer_setting.proto"; -import "google/ads/googleads/v12/common/targeting_setting.proto"; -import "google/ads/googleads/v12/enums/ad_group_ad_rotation_mode.proto"; -import "google/ads/googleads/v12/enums/ad_group_status.proto"; -import "google/ads/googleads/v12/enums/ad_group_type.proto"; -import "google/ads/googleads/v12/enums/asset_field_type.proto"; -import "google/ads/googleads/v12/enums/asset_set_type.proto"; -import "google/ads/googleads/v12/enums/bidding_source.proto"; -import "google/ads/googleads/v12/enums/targeting_dimension.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/common/custom_parameter.proto"; @@ -61,7 +36,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group.proto // Proto file describing the ad group resource. @@ -106,15 +80,6 @@ message AdGroup { optional string name = 35; // The status of the ad group. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group.proto - google.ads.googleads.v12.enums.AdGroupStatusEnum.AdGroupStatus status = 5; - - // Immutable. The type of the ad group. - google.ads.googleads.v12.enums.AdGroupTypeEnum.AdGroupType type = 12 [(google.api.field_behavior) = IMMUTABLE]; - - // The ad rotation mode of the ad group. - google.ads.googleads.v12.enums.AdGroupAdRotationModeEnum.AdGroupAdRotationMode ad_rotation_mode = 22; -======== google.ads.googleads.v15.enums.AdGroupStatusEnum.AdGroupStatus status = 5; // Immutable. The type of the ad group. @@ -124,7 +89,6 @@ message AdGroup { // The ad rotation mode of the ad group. google.ads.googleads.v15.enums.AdGroupAdRotationModeEnum.AdGroupAdRotationMode ad_rotation_mode = 22; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group.proto // Output only. For draft or experiment ad groups, this field is the resource // name of the base ad group from which this ad group was created. If a draft @@ -146,12 +110,8 @@ message AdGroup { // The list of mappings used to substitute custom parameter tags in a // `tracking_url_template`, `final_urls`, or `mobile_final_urls`. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group.proto - repeated google.ads.googleads.v12.common.CustomParameter url_custom_parameters = 6; -======== repeated google.ads.googleads.v15.common.CustomParameter url_custom_parameters = 6; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group.proto // Immutable. The campaign to which the ad group belongs. optional string campaign = 38 [ @@ -199,34 +159,21 @@ message AdGroup { // value stored here is 1,000,000 * [fraction]. optional int64 percent_cpc_bid_micros = 45; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group.proto - // Settings for the Display Campaign Optimizer, initially termed "Explorer". - google.ads.googleads.v12.common.ExplorerAutoOptimizerSetting explorer_auto_optimizer_setting = 21; -======== // True if optimized targeting is enabled. Optimized Targeting is the // replacement for Audience Expansion. bool optimized_targeting_enabled = 59; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group.proto // Allows advertisers to specify a targeting dimension on which to place // absolute bids. This is only applicable for campaigns that target only the // display network and not search. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group.proto - google.ads.googleads.v12.enums.TargetingDimensionEnum.TargetingDimension display_custom_bid_dimension = 23; -======== google.ads.googleads.v15.enums.TargetingDimensionEnum.TargetingDimension display_custom_bid_dimension = 23; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group.proto // URL template for appending params to Final URL. optional string final_url_suffix = 46; // Setting for targeting related features. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group.proto - google.ads.googleads.v12.common.TargetingSetting targeting_setting = 25; -======== google.ads.googleads.v15.common.TargetingSetting targeting_setting = 25; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group.proto // Immutable. Setting for audience related features. AudienceSetting audience_setting = 56 @@ -239,13 +186,9 @@ message AdGroup { // Output only. Source of the effective target CPA. // This field is read-only. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group.proto - google.ads.googleads.v12.enums.BiddingSourceEnum.BiddingSource effective_target_cpa_source = 29 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.BiddingSourceEnum.BiddingSource effective_target_cpa_source = 29 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group.proto // Output only. The effective target ROAS (return-on-ad-spend). // This field is read-only. @@ -254,13 +197,9 @@ message AdGroup { // Output only. Source of the effective target ROAS. // This field is read-only. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group.proto - google.ads.googleads.v12.enums.BiddingSourceEnum.BiddingSource effective_target_roas_source = 32 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.BiddingSourceEnum.BiddingSource effective_target_roas_source = 32 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group.proto // Output only. The resource names of labels attached to this ad group. repeated string labels = 49 [ @@ -273,12 +212,8 @@ message AdGroup { // The asset field types that should be excluded from this ad group. Asset // links with these field types will not be inherited by this ad group from // the upper levels. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group.proto - repeated google.ads.googleads.v12.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 54; -======== repeated google.ads.googleads.v15.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 54; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group.proto // The asset set types that should be excluded from this ad group. Asset set // links with these types will not be inherited by this ad group from the @@ -290,10 +225,6 @@ message AdGroup { // and all Location Extension (LE) and Affiliate Location Extensions (ALE) // will not be served under this ad group. // Only LOCATION_SYNC is currently supported. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group.proto - repeated google.ads.googleads.v12.enums.AssetSetTypeEnum.AssetSetType excluded_parent_asset_set_types = 58; -======== repeated google.ads.googleads.v15.enums.AssetSetTypeEnum.AssetSetType excluded_parent_asset_set_types = 58; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_ad.proto b/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_ad.proto index d26377a22..02ec81181 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_ad.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_ad.proto @@ -14,27 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_ad.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/policy.proto"; -import "google/ads/googleads/v12/enums/ad_group_ad_status.proto"; -import "google/ads/googleads/v12/enums/ad_strength.proto"; -import "google/ads/googleads/v12/enums/policy_approval_status.proto"; -import "google/ads/googleads/v12/enums/policy_review_status.proto"; -import "google/ads/googleads/v12/resources/ad.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAdProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/common/policy.proto"; @@ -54,7 +33,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_ad.proto // Proto file describing the ad group ad resource. @@ -77,11 +55,7 @@ message AdGroupAd { ]; // The status of the ad. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_ad.proto - google.ads.googleads.v12.enums.AdGroupAdStatusEnum.AdGroupAdStatus status = 3; -======== google.ads.googleads.v15.enums.AdGroupAdStatusEnum.AdGroupAdStatus status = 3; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_ad.proto // Immutable. The ad group to which the ad belongs. optional string ad_group = 9 [ @@ -99,12 +73,8 @@ message AdGroupAd { [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Overall ad strength for this ad group ad. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_ad.proto - google.ads.googleads.v12.enums.AdStrengthEnum.AdStrength ad_strength = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.AdStrengthEnum.AdStrength ad_strength = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_ad.proto // Output only. A list of recommendations to improve the ad strength. For // example, a recommendation could be "Try adding a few more unique headlines @@ -123,16 +93,6 @@ message AdGroupAd { // Contains policy information for an ad. message AdGroupAdPolicySummary { // Output only. The list of policy findings for this ad. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_ad.proto - repeated google.ads.googleads.v12.common.PolicyTopicEntry policy_topic_entries = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Where in the review process this ad is. - google.ads.googleads.v12.enums.PolicyReviewStatusEnum.PolicyReviewStatus review_status = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The overall approval status of this ad, calculated based on the status of - // its individual policy topic entries. - google.ads.googleads.v12.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== repeated google.ads.googleads.v15.common.PolicyTopicEntry policy_topic_entries = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -144,5 +104,4 @@ message AdGroupAdPolicySummary { // the status of its individual policy topic entries. google.ads.googleads.v15.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_ad.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_ad_asset_combination_view.proto b/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_ad_asset_combination_view.proto index 04af21437..0f6292b76 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_ad_asset_combination_view.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_ad_asset_combination_view.proto @@ -14,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_ad_asset_combination_view.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/asset_usage.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAdAssetCombinationViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/common/asset_usage.proto"; @@ -44,7 +28,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_ad_asset_combination_view.proto // Proto file describing the asset combination view resource. @@ -71,12 +54,8 @@ message AdGroupAdAssetCombinationView { ]; // Output only. Served assets. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_ad_asset_combination_view.proto - repeated google.ads.googleads.v12.common.AssetUsage served_assets = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== repeated google.ads.googleads.v15.common.AssetUsage served_assets = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_ad_asset_combination_view.proto // Output only. The status between the asset combination and the latest // version of the ad. If true, the asset combination is linked to the latest diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_ad_asset_view.proto b/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_ad_asset_view.proto index 83bdc636c..37f2ed31b 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_ad_asset_view.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_ad_asset_view.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_ad_asset_view.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_ad_asset_view.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,27 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_ad_asset_view.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/policy.proto"; -import "google/ads/googleads/v13/enums/asset_field_type.proto"; -import "google/ads/googleads/v13/enums/asset_performance_label.proto"; -import "google/ads/googleads/v13/enums/policy_approval_status.proto"; -import "google/ads/googleads/v13/enums/policy_review_status.proto"; -import "google/ads/googleads/v13/enums/served_asset_field_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAdAssetViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/common/policy.proto"; @@ -59,7 +34,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_ad_asset_view.proto // Proto file describing the ad group ad asset view resource. @@ -102,11 +76,7 @@ message AdGroupAdAssetView { ]; // Output only. Role that the asset takes in the ad. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_ad_asset_view.proto - google.ads.googleads.v13.enums.AssetFieldTypeEnum.AssetFieldType field_type = -======== google.ads.googleads.v15.enums.AssetFieldTypeEnum.AssetFieldType field_type = ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_ad_asset_view.proto 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The status between the asset and the latest version of the ad. @@ -120,14 +90,6 @@ message AdGroupAdAssetView { [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Performance of an asset linkage. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_ad_asset_view.proto - google.ads.googleads.v13.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel - performance_label = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Pinned field. - google.ads.googleads.v13.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType - pinned_field = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel performance_label = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -138,33 +100,20 @@ message AdGroupAdAssetView { // Output only. Source of the ad group ad asset. google.ads.googleads.v15.enums.AssetSourceEnum.AssetSource source = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_ad_asset_view.proto } // Contains policy information for an ad group ad asset. message AdGroupAdAssetPolicySummary { // Output only. The list of policy findings for the ad group ad asset. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_ad_asset_view.proto - repeated google.ads.googleads.v13.common.PolicyTopicEntry - policy_topic_entries = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Where in the review process this ad group ad asset is. - google.ads.googleads.v13.enums.PolicyReviewStatusEnum.PolicyReviewStatus -======== repeated google.ads.googleads.v15.common.PolicyTopicEntry policy_topic_entries = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Where in the review process this ad group ad asset is. google.ads.googleads.v15.enums.PolicyReviewStatusEnum.PolicyReviewStatus ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_ad_asset_view.proto review_status = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The overall approval status of this ad group ad asset, // calculated based on the status of its individual policy topic entries. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_ad_asset_view.proto - google.ads.googleads.v13.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus -======== google.ads.googleads.v15.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_ad_asset_view.proto approval_status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_ad_label.proto b/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_ad_label.proto index a15b8c7b5..a0e2352b3 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_ad_label.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_ad_label.proto @@ -14,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_ad_label.proto -package google.ads.googleads.v12.resources; -======== package google.ads.googleads.v15.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_ad_label.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_ad_label.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAdLabelProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; @@ -41,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_ad_label.proto // Proto file describing the ad group ad label resource. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_audience_view.proto b/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_audience_view.proto index d67522d36..b82f8905f 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_audience_view.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_audience_view.proto @@ -14,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_audience_view.proto -package google.ads.googleads.v13.resources; -======== package google.ads.googleads.v15.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_audience_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_group_audience_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAudienceViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; @@ -41,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_audience_view.proto // Proto file describing the ad group audience view resource. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_bid_modifier.proto b/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_bid_modifier.proto index 6056b4c3f..a04c54ad2 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_bid_modifier.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_bid_modifier.proto @@ -14,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_bid_modifier.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/criteria.proto"; -import "google/ads/googleads/v12/enums/bid_modifier_source.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupBidModifierProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/common/criteria.proto"; @@ -46,7 +29,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_bid_modifier.proto // Proto file describing the ad group bid modifier resource. @@ -99,39 +81,13 @@ message AdGroupBidModifier { ]; // Output only. Bid modifier source. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_bid_modifier.proto - google.ads.googleads.v12.enums.BidModifierSourceEnum.BidModifierSource bid_modifier_source = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.BidModifierSourceEnum.BidModifierSource bid_modifier_source = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_bid_modifier.proto // The criterion of this ad group bid modifier. // // Required in create operations starting in V5. oneof criterion { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_bid_modifier.proto - // Immutable. Criterion for hotel date selection (default dates versus user selected). - google.ads.googleads.v12.common.HotelDateSelectionTypeInfo hotel_date_selection_type = 5 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Criterion for number of days prior to the stay the booking is being made. - google.ads.googleads.v12.common.HotelAdvanceBookingWindowInfo hotel_advance_booking_window = 6 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Criterion for length of hotel stay in nights. - google.ads.googleads.v12.common.HotelLengthOfStayInfo hotel_length_of_stay = 7 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Criterion for day of the week the booking is for. - google.ads.googleads.v12.common.HotelCheckInDayInfo hotel_check_in_day = 8 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. A device criterion. - google.ads.googleads.v12.common.DeviceInfo device = 11 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. A preferred content criterion. - google.ads.googleads.v12.common.PreferredContentInfo preferred_content = 12 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Criterion for a hotel check-in date range. - google.ads.googleads.v12.common.HotelCheckInDateRangeInfo hotel_check_in_date_range = 17 [(google.api.field_behavior) = IMMUTABLE]; -======== // Immutable. Criterion for hotel date selection (default dates versus user // selected). google.ads.googleads.v15.common.HotelDateSelectionTypeInfo @@ -159,6 +115,5 @@ message AdGroupBidModifier { google.ads.googleads.v15.common.HotelCheckInDateRangeInfo hotel_check_in_date_range = 17 [(google.api.field_behavior) = IMMUTABLE]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_bid_modifier.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_criterion.proto b/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_criterion.proto index 2f4249888..806582190 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_criterion.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_criterion.proto @@ -14,29 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_criterion.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/criteria.proto"; -import "google/ads/googleads/v12/common/custom_parameter.proto"; -import "google/ads/googleads/v12/enums/ad_group_criterion_approval_status.proto"; -import "google/ads/googleads/v12/enums/ad_group_criterion_status.proto"; -import "google/ads/googleads/v12/enums/bidding_source.proto"; -import "google/ads/googleads/v12/enums/criterion_system_serving_status.proto"; -import "google/ads/googleads/v12/enums/criterion_type.proto"; -import "google/ads/googleads/v12/enums/quality_score_bucket.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/common/criteria.proto"; @@ -58,7 +35,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_criterion.proto // Proto file describing the ad group criterion resource. @@ -79,15 +55,6 @@ message AdGroupCriterion { [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The performance of the ad compared to other advertisers. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_criterion.proto - google.ads.googleads.v12.enums.QualityScoreBucketEnum.QualityScoreBucket creative_quality_score = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The quality score of the landing page. - google.ads.googleads.v12.enums.QualityScoreBucketEnum.QualityScoreBucket post_click_quality_score = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The click-through rate compared to that of other advertisers. - google.ads.googleads.v12.enums.QualityScoreBucketEnum.QualityScoreBucket search_predicted_ctr = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.QualityScoreBucketEnum.QualityScoreBucket creative_quality_score = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -100,7 +67,6 @@ message AdGroupCriterion { // advertisers. google.ads.googleads.v15.enums.QualityScoreBucketEnum.QualityScoreBucket search_predicted_ctr = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_criterion.proto } // Estimates for criterion bids at various positions. @@ -162,12 +128,8 @@ message AdGroupCriterion { // excluded. The UI will show each age range as "enabled", since they're // eligible to see the ads; but AdGroupCriterion.status will show "removed", // since no positive criterion was added. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_criterion.proto - google.ads.googleads.v12.enums.AdGroupCriterionStatusEnum.AdGroupCriterionStatus status = 3; -======== google.ads.googleads.v15.enums.AdGroupCriterionStatusEnum .AdGroupCriterionStatus status = 3; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_criterion.proto // Output only. Information regarding the quality of the criterion. QualityInfo quality_info = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -181,12 +143,8 @@ message AdGroupCriterion { ]; // Output only. The type of the criterion. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_criterion.proto - google.ads.googleads.v12.enums.CriterionTypeEnum.CriterionType type = 25 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.CriterionTypeEnum.CriterionType type = 25 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_criterion.proto // Immutable. Whether to target (`false`) or exclude (`true`) the criterion. // @@ -195,12 +153,6 @@ message AdGroupCriterion { optional bool negative = 58 [(google.api.field_behavior) = IMMUTABLE]; // Output only. Serving status of the criterion. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_criterion.proto - google.ads.googleads.v12.enums.CriterionSystemServingStatusEnum.CriterionSystemServingStatus system_serving_status = 52 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Approval status of the criterion. - google.ads.googleads.v12.enums.AdGroupCriterionApprovalStatusEnum.AdGroupCriterionApprovalStatus approval_status = 53 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.CriterionSystemServingStatusEnum .CriterionSystemServingStatus system_serving_status = 52 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -209,7 +161,6 @@ message AdGroupCriterion { google.ads.googleads.v15.enums.AdGroupCriterionApprovalStatusEnum .AdGroupCriterionApprovalStatus approval_status = 53 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_criterion.proto // Output only. List of disapproval reasons of the criterion. // @@ -265,18 +216,6 @@ message AdGroupCriterion { [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Source of the effective CPC bid. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_criterion.proto - google.ads.googleads.v12.enums.BiddingSourceEnum.BiddingSource effective_cpc_bid_source = 21 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Source of the effective CPM bid. - google.ads.googleads.v12.enums.BiddingSourceEnum.BiddingSource effective_cpm_bid_source = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Source of the effective CPV bid. - google.ads.googleads.v12.enums.BiddingSourceEnum.BiddingSource effective_cpv_bid_source = 23 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Source of the effective Percent CPC bid. - google.ads.googleads.v12.enums.BiddingSourceEnum.BiddingSource effective_percent_cpc_bid_source = 35 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.BiddingSourceEnum.BiddingSource effective_cpc_bid_source = 21 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -292,7 +231,6 @@ message AdGroupCriterion { google.ads.googleads.v15.enums.BiddingSourceEnum.BiddingSource effective_percent_cpc_bid_source = 35 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_criterion.proto // Output only. Estimates for criterion bids at various positions. PositionEstimates position_estimates = 10 @@ -313,81 +251,14 @@ message AdGroupCriterion { // The list of mappings used to substitute custom parameter tags in a // `tracking_url_template`, `final_urls`, or `mobile_final_urls`. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_criterion.proto - repeated google.ads.googleads.v12.common.CustomParameter url_custom_parameters = 14; -======== repeated google.ads.googleads.v15.common.CustomParameter url_custom_parameters = 14; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_criterion.proto // The ad group criterion. // // Exactly one must be set. oneof criterion { // Immutable. Keyword. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_criterion.proto - google.ads.googleads.v12.common.KeywordInfo keyword = 27 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Placement. - google.ads.googleads.v12.common.PlacementInfo placement = 28 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Mobile app category. - google.ads.googleads.v12.common.MobileAppCategoryInfo mobile_app_category = 29 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Mobile application. - google.ads.googleads.v12.common.MobileApplicationInfo mobile_application = 30 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Listing group. - google.ads.googleads.v12.common.ListingGroupInfo listing_group = 32 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Age range. - google.ads.googleads.v12.common.AgeRangeInfo age_range = 36 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Gender. - google.ads.googleads.v12.common.GenderInfo gender = 37 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Income range. - google.ads.googleads.v12.common.IncomeRangeInfo income_range = 38 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Parental status. - google.ads.googleads.v12.common.ParentalStatusInfo parental_status = 39 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. User List. - google.ads.googleads.v12.common.UserListInfo user_list = 42 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. YouTube Video. - google.ads.googleads.v12.common.YouTubeVideoInfo youtube_video = 40 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. YouTube Channel. - google.ads.googleads.v12.common.YouTubeChannelInfo youtube_channel = 41 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Topic. - google.ads.googleads.v12.common.TopicInfo topic = 43 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. User Interest. - google.ads.googleads.v12.common.UserInterestInfo user_interest = 45 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Webpage - google.ads.googleads.v12.common.WebpageInfo webpage = 46 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. App Payment Model. - google.ads.googleads.v12.common.AppPaymentModelInfo app_payment_model = 47 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Custom Affinity. - google.ads.googleads.v12.common.CustomAffinityInfo custom_affinity = 48 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Custom Intent. - google.ads.googleads.v12.common.CustomIntentInfo custom_intent = 49 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Custom Audience. - google.ads.googleads.v12.common.CustomAudienceInfo custom_audience = 74 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Combined Audience. - google.ads.googleads.v12.common.CombinedAudienceInfo combined_audience = 75 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Audience. - google.ads.googleads.v12.common.AudienceInfo audience = 79 [(google.api.field_behavior) = IMMUTABLE]; -======== google.ads.googleads.v15.common.KeywordInfo keyword = 27 [(google.api.field_behavior) = IMMUTABLE]; @@ -481,6 +352,5 @@ message AdGroupCriterion { // Immutable. Language. google.ads.googleads.v15.common.LanguageInfo language = 83 [(google.api.field_behavior) = IMMUTABLE]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_criterion.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_criterion_customizer.proto b/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_criterion_customizer.proto index 6a7cc0e0f..6582105de 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_criterion_customizer.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_criterion_customizer.proto @@ -14,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_criterion_customizer.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/customizer_value.proto"; -import "google/ads/googleads/v12/enums/customizer_value_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionCustomizerProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/common/customizer_value.proto"; @@ -46,7 +29,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_criterion_customizer.proto // A customizer value for the associated CustomizerAttribute at the // AdGroupCriterion level. @@ -87,13 +69,6 @@ message AdGroupCriterionCustomizer { ]; // Output only. The status of the ad group criterion customizer. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_criterion_customizer.proto - google.ads.googleads.v12.enums.CustomizerValueStatusEnum.CustomizerValueStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Required. The value to associate with the customizer attribute at this level. The - // value must be of the type specified for the CustomizerAttribute. - google.ads.googleads.v12.common.CustomizerValue value = 5 [(google.api.field_behavior) = REQUIRED]; -======== google.ads.googleads.v15.enums.CustomizerValueStatusEnum.CustomizerValueStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -101,5 +76,4 @@ message AdGroupCriterionCustomizer { // level. The value must be of the type specified for the CustomizerAttribute. google.ads.googleads.v15.common.CustomizerValue value = 5 [(google.api.field_behavior) = REQUIRED]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_criterion_customizer.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_criterion_label.proto b/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_criterion_label.proto index 851d38096..ce65cea5a 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_criterion_label.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_criterion_label.proto @@ -14,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_criterion_label.proto -package google.ads.googleads.v12.resources; -======== package google.ads.googleads.v15.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_criterion_label.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_criterion_label.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionLabelProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; @@ -41,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_criterion_label.proto // Proto file describing the ad group criterion label resource. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_criterion_simulation.proto b/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_criterion_simulation.proto index 88f39336b..0020e1cb9 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_criterion_simulation.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_criterion_simulation.proto @@ -14,24 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_criterion_simulation.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/simulation.proto"; -import "google/ads/googleads/v12/enums/simulation_modification_method.proto"; -import "google/ads/googleads/v12/enums/simulation_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionSimulationProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/common/simulation.proto"; @@ -48,7 +30,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_criterion_simulation.proto // Proto file describing the ad group criterion simulation resource. @@ -86,12 +67,6 @@ message AdGroupCriterionSimulation { optional int64 criterion_id = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The field that the simulation modifies. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_criterion_simulation.proto - google.ads.googleads.v12.enums.SimulationTypeEnum.SimulationType type = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. How the simulation modifies the field. - google.ads.googleads.v12.enums.SimulationModificationMethodEnum.SimulationModificationMethod modification_method = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.SimulationTypeEnum.SimulationType type = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -99,7 +74,6 @@ message AdGroupCriterionSimulation { google.ads.googleads.v15.enums.SimulationModificationMethodEnum .SimulationModificationMethod modification_method = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_criterion_simulation.proto // Output only. First day on which the simulation is based, in YYYY-MM-DD // format. @@ -112,12 +86,6 @@ message AdGroupCriterionSimulation { // List of simulation points. oneof point_list { // Output only. Simulation points if the simulation type is CPC_BID. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_criterion_simulation.proto - google.ads.googleads.v12.common.CpcBidSimulationPointList cpc_bid_point_list = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Simulation points if the simulation type is PERCENT_CPC_BID. - google.ads.googleads.v12.common.PercentCpcBidSimulationPointList percent_cpc_bid_point_list = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.common.CpcBidSimulationPointList cpc_bid_point_list = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -125,6 +93,5 @@ message AdGroupCriterionSimulation { google.ads.googleads.v15.common.PercentCpcBidSimulationPointList percent_cpc_bid_point_list = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_criterion_simulation.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_customizer.proto b/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_customizer.proto index 50314a651..d5af068d9 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_customizer.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_customizer.proto @@ -14,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_customizer.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/customizer_value.proto"; -import "google/ads/googleads/v12/enums/customizer_value_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCustomizerProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/common/customizer_value.proto"; @@ -46,7 +29,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_customizer.proto // A customizer value for the associated CustomizerAttribute at the AdGroup // level. @@ -86,13 +68,6 @@ message AdGroupCustomizer { ]; // Output only. The status of the ad group customizer. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_customizer.proto - google.ads.googleads.v12.enums.CustomizerValueStatusEnum.CustomizerValueStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Required. The value to associate with the customizer attribute at this level. The - // value must be of the type specified for the CustomizerAttribute. - google.ads.googleads.v12.common.CustomizerValue value = 5 [(google.api.field_behavior) = REQUIRED]; -======== google.ads.googleads.v15.enums.CustomizerValueStatusEnum.CustomizerValueStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -100,5 +75,4 @@ message AdGroupCustomizer { // level. The value must be of the type specified for the CustomizerAttribute. google.ads.googleads.v15.common.CustomizerValue value = 5 [(google.api.field_behavior) = REQUIRED]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_customizer.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_extension_setting.proto b/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_extension_setting.proto index b02ecd263..5dab3d4b8 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_extension_setting.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_extension_setting.proto @@ -14,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_extension_setting.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/extension_setting_device.proto"; -import "google/ads/googleads/v12/enums/extension_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupExtensionSettingProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/extension_setting_device.proto"; @@ -46,7 +29,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_extension_setting.proto // Proto file describing the AdGroupExtensionSetting resource. @@ -69,12 +51,8 @@ message AdGroupExtensionSetting { ]; // Immutable. The extension type of the ad group extension setting. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_extension_setting.proto - google.ads.googleads.v12.enums.ExtensionTypeEnum.ExtensionType extension_type = 2 [(google.api.field_behavior) = IMMUTABLE]; -======== google.ads.googleads.v15.enums.ExtensionTypeEnum.ExtensionType extension_type = 2 [(google.api.field_behavior) = IMMUTABLE]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_extension_setting.proto // Immutable. The resource name of the ad group. The linked extension feed // items will serve under this ad group. AdGroup resource names have the form: @@ -96,10 +74,6 @@ message AdGroupExtensionSetting { }]; // The device for which the extensions will serve. Optional. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_extension_setting.proto - google.ads.googleads.v12.enums.ExtensionSettingDeviceEnum.ExtensionSettingDevice device = 5; -======== google.ads.googleads.v15.enums.ExtensionSettingDeviceEnum .ExtensionSettingDevice device = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_extension_setting.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_feed.proto b/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_feed.proto index 644f8b23f..b68df9efe 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_feed.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_feed.proto @@ -14,24 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_feed.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/matching_function.proto"; -import "google/ads/googleads/v12/enums/feed_link_status.proto"; -import "google/ads/googleads/v12/enums/placeholder_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupFeedProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/common/matching_function.proto"; @@ -48,7 +30,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_feed.proto // Proto file describing the AdGroupFeed resource. @@ -86,28 +67,16 @@ message AdGroupFeed { // Indicates which placeholder types the feed may populate under the connected // ad group. Required. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_feed.proto - repeated google.ads.googleads.v12.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 4; -======== repeated google.ads.googleads.v15.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 4; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_feed.proto // Matching function associated with the AdGroupFeed. // The matching function is used to filter the set of feed items selected. // Required. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_feed.proto - google.ads.googleads.v12.common.MatchingFunction matching_function = 5; - - // Output only. Status of the ad group feed. - // This field is read-only. - google.ads.googleads.v12.enums.FeedLinkStatusEnum.FeedLinkStatus status = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.common.MatchingFunction matching_function = 5; // Output only. Status of the ad group feed. // This field is read-only. google.ads.googleads.v15.enums.FeedLinkStatusEnum.FeedLinkStatus status = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_feed.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_label.proto b/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_label.proto index 015cfa044..bcd2b4aa4 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_label.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_label.proto @@ -14,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_label.proto -package google.ads.googleads.v12.resources; -======== package google.ads.googleads.v15.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_label.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_label.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupLabelProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; @@ -41,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_label.proto // Proto file describing the ad group label resource. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_simulation.proto b/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_simulation.proto index 8ec04ff59..42d61d24b 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_simulation.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/ad_group_simulation.proto @@ -14,24 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_simulation.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/simulation.proto"; -import "google/ads/googleads/v12/enums/simulation_modification_method.proto"; -import "google/ads/googleads/v12/enums/simulation_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupSimulationProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/common/simulation.proto"; @@ -48,7 +30,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_simulation.proto // Proto file describing the ad group simulation resource. @@ -84,12 +65,6 @@ message AdGroupSimulation { optional int64 ad_group_id = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The field that the simulation modifies. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_simulation.proto - google.ads.googleads.v12.enums.SimulationTypeEnum.SimulationType type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. How the simulation modifies the field. - google.ads.googleads.v12.enums.SimulationModificationMethodEnum.SimulationModificationMethod modification_method = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.SimulationTypeEnum.SimulationType type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -97,7 +72,6 @@ message AdGroupSimulation { google.ads.googleads.v15.enums.SimulationModificationMethodEnum .SimulationModificationMethod modification_method = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_simulation.proto // Output only. First day on which the simulation is based, in YYYY-MM-DD // format. @@ -110,18 +84,6 @@ message AdGroupSimulation { // List of simulation points. oneof point_list { // Output only. Simulation points if the simulation type is CPC_BID. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_simulation.proto - google.ads.googleads.v12.common.CpcBidSimulationPointList cpc_bid_point_list = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Simulation points if the simulation type is CPV_BID. - google.ads.googleads.v12.common.CpvBidSimulationPointList cpv_bid_point_list = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Simulation points if the simulation type is TARGET_CPA. - google.ads.googleads.v12.common.TargetCpaSimulationPointList target_cpa_point_list = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Simulation points if the simulation type is TARGET_ROAS. - google.ads.googleads.v12.common.TargetRoasSimulationPointList target_roas_point_list = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.common.CpcBidSimulationPointList cpc_bid_point_list = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -136,6 +98,5 @@ message AdGroupSimulation { // Output only. Simulation points if the simulation type is TARGET_ROAS. google.ads.googleads.v15.common.TargetRoasSimulationPointList target_roas_point_list = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_group_simulation.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/ad_parameter.proto b/third_party/googleapis/google/ads/googleads/v15/resources/ad_parameter.proto index 2453a1e91..a6e928923 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/ad_parameter.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/ad_parameter.proto @@ -14,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_parameter.proto -package google.ads.googleads.v13.resources; -======== package google.ads.googleads.v15.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_parameter.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_parameter.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdParameterProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; @@ -41,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_parameter.proto // Proto file describing the ad parameter resource. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/ad_schedule_view.proto b/third_party/googleapis/google/ads/googleads/v15/resources/ad_schedule_view.proto index 6faa1ff1e..5d1052e52 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/ad_schedule_view.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/ad_schedule_view.proto @@ -14,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_schedule_view.proto -package google.ads.googleads.v13.resources; -======== package google.ads.googleads.v15.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_schedule_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/ad_schedule_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdScheduleViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; @@ -41,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/ad_schedule_view.proto // Proto file describing the ad schedule view resource. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/age_range_view.proto b/third_party/googleapis/google/ads/googleads/v15/resources/age_range_view.proto index bd4918e7c..aa2a9d1d3 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/age_range_view.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/age_range_view.proto @@ -14,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/age_range_view.proto -package google.ads.googleads.v13.resources; -======== package google.ads.googleads.v15.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/age_range_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/age_range_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AgeRangeViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; @@ -41,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/age_range_view.proto // Proto file describing the age range view resource. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/asset_field_type_view.proto b/third_party/googleapis/google/ads/googleads/v15/resources/asset_field_type_view.proto index 57b2b0ebb..0f0df7adc 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/asset_field_type_view.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/asset_field_type_view.proto @@ -14,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/asset_field_type_view.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/asset_field_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AssetFieldTypeViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/asset_field_type.proto"; @@ -44,7 +28,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/asset_field_type_view.proto // Proto file describing the AssetFieldTypeView resource. @@ -69,10 +52,6 @@ message AssetFieldTypeView { ]; // Output only. The asset field type of the asset field type view. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/asset_field_type_view.proto - google.ads.googleads.v12.enums.AssetFieldTypeEnum.AssetFieldType field_type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.AssetFieldTypeEnum.AssetFieldType field_type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/asset_field_type_view.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/asset_group.proto b/third_party/googleapis/google/ads/googleads/v15/resources/asset_group.proto index 59ace9400..f6342b6e1 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/asset_group.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/asset_group.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/asset_group.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/asset_group.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/asset_group.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/ad_strength.proto"; -import "google/ads/googleads/v13/enums/asset_group_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/ad_strength.proto"; @@ -52,7 +31,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/asset_group.proto // An asset group. // AssetGroupAsset is used to link an asset to the asset group. @@ -100,10 +78,6 @@ message AssetGroup { repeated string final_mobile_urls = 5; // The status of the asset group. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/asset_group.proto - google.ads.googleads.v13.enums.AssetGroupStatusEnum.AssetGroupStatus status = - 6; -======== google.ads.googleads.v15.enums.AssetGroupStatusEnum.AssetGroupStatus status = 6; @@ -119,7 +93,6 @@ message AssetGroup { repeated google.ads.googleads.v15.enums.AssetGroupPrimaryStatusReasonEnum .AssetGroupPrimaryStatusReason primary_status_reasons = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/asset_group.proto // First part of text that may appear appended to the url displayed in // the ad. @@ -130,10 +103,6 @@ message AssetGroup { string path2 = 8; // Output only. Overall ad strength of this asset group. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/asset_group.proto - google.ads.googleads.v13.enums.AdStrengthEnum.AdStrength ad_strength = 10 -======== google.ads.googleads.v15.enums.AdStrengthEnum.AdStrength ad_strength = 10 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/asset_group.proto [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/asset_group_product_group_view.proto b/third_party/googleapis/google/ads/googleads/v15/resources/asset_group_product_group_view.proto index 68f337d74..4e00d863a 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/asset_group_product_group_view.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/asset_group_product_group_view.proto @@ -14,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/asset_group_product_group_view.proto -package google.ads.googleads.v13.resources; -======== package google.ads.googleads.v15.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/asset_group_product_group_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/asset_group_product_group_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupProductGroupViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; @@ -41,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/asset_group_product_group_view.proto // Proto file describing the AssetGroupProductGroupView resource. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/asset_set_asset.proto b/third_party/googleapis/google/ads/googleads/v15/resources/asset_set_asset.proto index 01bd3336d..80a4c2e19 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/asset_set_asset.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/asset_set_asset.proto @@ -14,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/asset_set_asset.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/asset_set_asset_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetAssetProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/asset_set_asset_status.proto"; @@ -44,7 +28,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/asset_set_asset.proto // AssetSetAsset is the link between an asset and an asset set. // Adding an AssetSetAsset links an asset with an asset set. @@ -80,10 +63,6 @@ message AssetSetAsset { ]; // Output only. The status of the asset set asset. Read-only. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/asset_set_asset.proto - google.ads.googleads.v12.enums.AssetSetAssetStatusEnum.AssetSetAssetStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.AssetSetAssetStatusEnum.AssetSetAssetStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/asset_set_asset.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/batch_job.proto b/third_party/googleapis/google/ads/googleads/v15/resources/batch_job.proto index 4a8aafc0a..24deae7f6 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/batch_job.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/batch_job.proto @@ -14,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/batch_job.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/batch_job_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "BatchJobProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/batch_job_status.proto"; @@ -44,7 +28,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/batch_job.proto // Proto file describing the batch job resource. @@ -119,12 +102,8 @@ message BatchJob { BatchJobMetadata metadata = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Status of this batch job. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/batch_job.proto - google.ads.googleads.v12.enums.BatchJobStatusEnum.BatchJobStatus status = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.BatchJobStatusEnum.BatchJobStatus status = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/batch_job.proto // Output only. The resource name of the long-running operation that can be // used to poll for completion. Only set when the batch job status is RUNNING diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/bidding_data_exclusion.proto b/third_party/googleapis/google/ads/googleads/v15/resources/bidding_data_exclusion.proto index f540af72e..94696768a 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/bidding_data_exclusion.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/bidding_data_exclusion.proto @@ -14,25 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/bidding_data_exclusion.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/advertising_channel_type.proto"; -import "google/ads/googleads/v12/enums/device.proto"; -import "google/ads/googleads/v12/enums/seasonality_event_scope.proto"; -import "google/ads/googleads/v12/enums/seasonality_event_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "BiddingDataExclusionProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/advertising_channel_type.proto"; @@ -50,7 +31,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/bidding_data_exclusion.proto // Represents a bidding data exclusion. // @@ -77,12 +57,6 @@ message BiddingDataExclusion { int64 data_exclusion_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // The scope of the data exclusion. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/bidding_data_exclusion.proto - google.ads.googleads.v12.enums.SeasonalityEventScopeEnum.SeasonalityEventScope scope = 3; - - // Output only. The status of the data exclusion. - google.ads.googleads.v12.enums.SeasonalityEventStatusEnum.SeasonalityEventStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.SeasonalityEventScopeEnum.SeasonalityEventScope scope = 3; @@ -90,7 +64,6 @@ message BiddingDataExclusion { google.ads.googleads.v15.enums.SeasonalityEventStatusEnum .SeasonalityEventStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/bidding_data_exclusion.proto // Required. The inclusive start time of the data exclusion in yyyy-MM-dd // HH:mm:ss format. @@ -117,11 +90,7 @@ message BiddingDataExclusion { // If not specified, all devices will be included in this exclusion. // Otherwise, only the specified targeted devices will be included in this // exclusion. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/bidding_data_exclusion.proto - repeated google.ads.googleads.v12.enums.DeviceEnum.Device devices = 9; -======== repeated google.ads.googleads.v15.enums.DeviceEnum.Device devices = 9; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/bidding_data_exclusion.proto // The data exclusion will apply to the campaigns listed when the scope of // this exclusion is CAMPAIGN. The maximum number of campaigns per event is @@ -138,10 +107,6 @@ message BiddingDataExclusion { // The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. // Note: a data exclusion with both advertising_channel_types and // campaign_ids is not supported. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/bidding_data_exclusion.proto - repeated google.ads.googleads.v12.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_types = 11; -======== repeated google.ads.googleads.v15.enums.AdvertisingChannelTypeEnum .AdvertisingChannelType advertising_channel_types = 11; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/bidding_data_exclusion.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/bidding_seasonality_adjustment.proto b/third_party/googleapis/google/ads/googleads/v15/resources/bidding_seasonality_adjustment.proto index 7e7629743..52024e2c5 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/bidding_seasonality_adjustment.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/bidding_seasonality_adjustment.proto @@ -14,25 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/bidding_seasonality_adjustment.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/advertising_channel_type.proto"; -import "google/ads/googleads/v12/enums/device.proto"; -import "google/ads/googleads/v12/enums/seasonality_event_scope.proto"; -import "google/ads/googleads/v12/enums/seasonality_event_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "BiddingSeasonalityAdjustmentProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/advertising_channel_type.proto"; @@ -50,7 +31,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/bidding_seasonality_adjustment.proto // Represents a bidding seasonality adjustment. // @@ -78,12 +58,6 @@ message BiddingSeasonalityAdjustment { [(google.api.field_behavior) = OUTPUT_ONLY]; // The scope of the seasonality adjustment. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/bidding_seasonality_adjustment.proto - google.ads.googleads.v12.enums.SeasonalityEventScopeEnum.SeasonalityEventScope scope = 3; - - // Output only. The status of the seasonality adjustment. - google.ads.googleads.v12.enums.SeasonalityEventStatusEnum.SeasonalityEventStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.SeasonalityEventScopeEnum.SeasonalityEventScope scope = 3; @@ -91,7 +65,6 @@ message BiddingSeasonalityAdjustment { google.ads.googleads.v15.enums.SeasonalityEventStatusEnum .SeasonalityEventStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/bidding_seasonality_adjustment.proto // Required. The inclusive start time of the seasonality adjustment in // yyyy-MM-dd HH:mm:ss format. @@ -118,11 +91,7 @@ message BiddingSeasonalityAdjustment { // If not specified, all devices will be included in this adjustment. // Otherwise, only the specified targeted devices will be included in this // adjustment. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/bidding_seasonality_adjustment.proto - repeated google.ads.googleads.v12.enums.DeviceEnum.Device devices = 9; -======== repeated google.ads.googleads.v15.enums.DeviceEnum.Device devices = 9; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/bidding_seasonality_adjustment.proto // Conversion rate modifier estimated based on expected conversion rate // changes. When this field is unset or set to 1.0 no adjustment will be @@ -144,10 +113,6 @@ message BiddingSeasonalityAdjustment { // The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. // Note: a seasonality adjustment with both advertising_channel_types and // campaign_ids is not supported. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/bidding_seasonality_adjustment.proto - repeated google.ads.googleads.v12.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_types = 12; -======== repeated google.ads.googleads.v15.enums.AdvertisingChannelTypeEnum .AdvertisingChannelType advertising_channel_types = 12; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/bidding_seasonality_adjustment.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/bidding_strategy.proto b/third_party/googleapis/google/ads/googleads/v15/resources/bidding_strategy.proto index d3f69f37e..df813df5f 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/bidding_strategy.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/bidding_strategy.proto @@ -14,24 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/bidding_strategy.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/bidding.proto"; -import "google/ads/googleads/v12/enums/bidding_strategy_status.proto"; -import "google/ads/googleads/v12/enums/bidding_strategy_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "BiddingStrategyProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/common/bidding.proto"; @@ -48,7 +30,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/bidding_strategy.proto // Proto file describing the BiddingStrategy resource @@ -83,23 +64,15 @@ message BiddingStrategy { // Output only. The status of the bidding strategy. // // This field is read-only. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/bidding_strategy.proto - google.ads.googleads.v12.enums.BiddingStrategyStatusEnum.BiddingStrategyStatus status = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.BiddingStrategyStatusEnum.BiddingStrategyStatus status = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/bidding_strategy.proto // Output only. The type of the bidding strategy. // Create a bidding strategy by setting the bidding scheme. // // This field is read-only. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/bidding_strategy.proto - google.ads.googleads.v12.enums.BiddingStrategyTypeEnum.BiddingStrategyType type = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.BiddingStrategyTypeEnum.BiddingStrategyType type = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/bidding_strategy.proto // Immutable. The currency used by the bidding strategy (ISO 4217 three-letter // code). @@ -131,13 +104,6 @@ message BiddingStrategy { // bidding strategy must also use the aligned campaign budget. int64 aligned_campaign_budget_id = 25; - // ID of the campaign budget that this portfolio bidding strategy - // is aligned with. When a portfolio and a campaign budget are aligned, that - // means that they are attached to the same set of campaigns. After a bidding - // strategy is aligned with a campaign budget, campaigns that are added to the - // bidding strategy must also use the aligned campaign budget. - int64 aligned_campaign_budget_id = 25; - // Output only. The number of campaigns attached to this bidding strategy. // // This field is read-only. @@ -158,33 +124,6 @@ message BiddingStrategy { // A bidding strategy that raises bids for clicks that seem more likely to // lead to a conversion and lowers them for clicks where they seem less // likely. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/bidding_strategy.proto - google.ads.googleads.v12.common.EnhancedCpc enhanced_cpc = 7; - - // An automated bidding strategy to help get the most conversion value for - // your campaigns while spending your budget. - google.ads.googleads.v12.common.MaximizeConversionValue maximize_conversion_value = 21; - - // An automated bidding strategy to help get the most conversions for your - // campaigns while spending your budget. - google.ads.googleads.v12.common.MaximizeConversions maximize_conversions = 22; - - // A bidding strategy that sets bids to help get as many conversions as - // possible at the target cost-per-acquisition (CPA) you set. - google.ads.googleads.v12.common.TargetCpa target_cpa = 9; - - // A bidding strategy that automatically optimizes towards a chosen - // percentage of impressions. - google.ads.googleads.v12.common.TargetImpressionShare target_impression_share = 48; - - // A bidding strategy that helps you maximize revenue while averaging a - // specific target Return On Ad Spend (ROAS). - google.ads.googleads.v12.common.TargetRoas target_roas = 11; - - // A bid strategy that sets your bids to help get as many clicks as - // possible within your budget. - google.ads.googleads.v12.common.TargetSpend target_spend = 12; -======== google.ads.googleads.v15.common.EnhancedCpc enhanced_cpc = 7; // An automated bidding strategy to help get the most conversion value for @@ -213,6 +152,5 @@ message BiddingStrategy { // A bid strategy that sets your bids to help get as many clicks as // possible within your budget. google.ads.googleads.v15.common.TargetSpend target_spend = 12; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/bidding_strategy.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/bidding_strategy_simulation.proto b/third_party/googleapis/google/ads/googleads/v15/resources/bidding_strategy_simulation.proto index 9d2764db1..e11cf2a8c 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/bidding_strategy_simulation.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/bidding_strategy_simulation.proto @@ -14,24 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/bidding_strategy_simulation.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/simulation.proto"; -import "google/ads/googleads/v12/enums/simulation_modification_method.proto"; -import "google/ads/googleads/v12/enums/simulation_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "BiddingStrategySimulationProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/common/simulation.proto"; @@ -48,7 +30,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/bidding_strategy_simulation.proto // Proto file describing the bidding strategy simulation resource. @@ -78,12 +59,6 @@ message BiddingStrategySimulation { int64 bidding_strategy_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The field that the simulation modifies. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/bidding_strategy_simulation.proto - google.ads.googleads.v12.enums.SimulationTypeEnum.SimulationType type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. How the simulation modifies the field. - google.ads.googleads.v12.enums.SimulationModificationMethodEnum.SimulationModificationMethod modification_method = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.SimulationTypeEnum.SimulationType type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -91,7 +66,6 @@ message BiddingStrategySimulation { google.ads.googleads.v15.enums.SimulationModificationMethodEnum .SimulationModificationMethod modification_method = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/bidding_strategy_simulation.proto // Output only. First day on which the simulation is based, in YYYY-MM-DD // format. @@ -104,18 +78,11 @@ message BiddingStrategySimulation { // List of simulation points. oneof point_list { // Output only. Simulation points if the simulation type is TARGET_CPA. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/bidding_strategy_simulation.proto - google.ads.googleads.v12.common.TargetCpaSimulationPointList target_cpa_point_list = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Simulation points if the simulation type is TARGET_ROAS. - google.ads.googleads.v12.common.TargetRoasSimulationPointList target_roas_point_list = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.common.TargetCpaSimulationPointList target_cpa_point_list = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Simulation points if the simulation type is TARGET_ROAS. google.ads.googleads.v15.common.TargetRoasSimulationPointList target_roas_point_list = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/bidding_strategy_simulation.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/billing_setup.proto b/third_party/googleapis/google/ads/googleads/v15/resources/billing_setup.proto index 45ae201c1..14ef8afeb 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/billing_setup.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/billing_setup.proto @@ -14,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/billing_setup.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/billing_setup_status.proto"; -import "google/ads/googleads/v12/enums/time_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "BillingSetupProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/billing_setup_status.proto"; @@ -46,7 +29,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/billing_setup.proto // Proto file describing the BillingSetup resource. @@ -65,12 +47,8 @@ message BillingSetup { // // This must be passed as a string with dashes, for example, // "1234-5678-9012-3456". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/billing_setup.proto - optional string payments_account_id = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== optional string payments_account_id = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/billing_setup.proto // Immutable. The name of the payments account associated with the billing // setup. @@ -87,29 +65,19 @@ message BillingSetup { // // This must be passed in as a string with dashes, for example, // "1234-5678-9012". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/billing_setup.proto - optional string payments_profile_id = 8 [(google.api.field_behavior) = IMMUTABLE]; -======== optional string payments_profile_id = 8 [(google.api.field_behavior) = IMMUTABLE]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/billing_setup.proto // Output only. The name of the payments profile associated with the billing // setup. optional string payments_profile_name = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/billing_setup.proto - // Output only. A secondary payments profile id present in uncommon situations, for - // example, when a sequential liability agreement has been arranged. - optional string secondary_payments_profile_id = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== // Output only. A secondary payments profile id present in uncommon // situations, for example, when a sequential liability agreement has been // arranged. optional string secondary_payments_profile_id = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/billing_setup.proto } // Immutable. The resource name of the billing setup. @@ -127,12 +95,8 @@ message BillingSetup { optional int64 id = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The status of the billing setup. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/billing_setup.proto - google.ads.googleads.v12.enums.BillingSetupStatusEnum.BillingSetupStatus status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.BillingSetupStatusEnum.BillingSetupStatus status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/billing_setup.proto // Immutable. The resource name of the payments account associated with this // billing setup. Payments resource names have the form: @@ -169,12 +133,8 @@ message BillingSetup { string start_date_time = 16 [(google.api.field_behavior) = IMMUTABLE]; // Immutable. The start time as a type. Only NOW is allowed. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/billing_setup.proto - google.ads.googleads.v12.enums.TimeTypeEnum.TimeType start_time_type = 10 [(google.api.field_behavior) = IMMUTABLE]; -======== google.ads.googleads.v15.enums.TimeTypeEnum.TimeType start_time_type = 10 [(google.api.field_behavior) = IMMUTABLE]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/billing_setup.proto } // When the billing setup ends / ended. This is either FOREVER or the start @@ -185,11 +145,7 @@ message BillingSetup { string end_date_time = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The end time as a type. The only possible value is FOREVER. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/billing_setup.proto - google.ads.googleads.v12.enums.TimeTypeEnum.TimeType end_time_type = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.TimeTypeEnum.TimeType end_time_type = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/billing_setup.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/call_view.proto b/third_party/googleapis/google/ads/googleads/v15/resources/call_view.proto index 502c1e99b..f9635f6da 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/call_view.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/call_view.proto @@ -14,24 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/call_view.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/call_tracking_display_location.proto"; -import "google/ads/googleads/v12/enums/call_type.proto"; -import "google/ads/googleads/v12/enums/google_voice_call_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CallViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/call_tracking_display_location.proto"; @@ -48,7 +30,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/call_view.proto // Proto file describing the call view resource. @@ -88,15 +69,6 @@ message CallView { string end_call_date_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The call tracking display location. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/call_view.proto - google.ads.googleads.v12.enums.CallTrackingDisplayLocationEnum.CallTrackingDisplayLocation call_tracking_display_location = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The type of the call. - google.ads.googleads.v12.enums.CallTypeEnum.CallType type = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The status of the call. - google.ads.googleads.v12.enums.GoogleVoiceCallStatusEnum.GoogleVoiceCallStatus call_status = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.CallTrackingDisplayLocationEnum .CallTrackingDisplayLocation call_tracking_display_location = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -108,5 +80,4 @@ message CallView { // Output only. The status of the call. google.ads.googleads.v15.enums.GoogleVoiceCallStatusEnum.GoogleVoiceCallStatus call_status = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/call_view.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/campaign_asset_set.proto b/third_party/googleapis/google/ads/googleads/v15/resources/campaign_asset_set.proto index 8c27d3767..ad182b933 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/campaign_asset_set.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/campaign_asset_set.proto @@ -14,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/campaign_asset_set.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/asset_set_link_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignAssetSetProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/asset_set_link_status.proto"; @@ -44,7 +28,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/campaign_asset_set.proto // Proto file describing the CampaignAsset resource. @@ -84,10 +67,6 @@ message CampaignAssetSet { ]; // Output only. The status of the campaign asset set asset. Read-only. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/campaign_asset_set.proto - google.ads.googleads.v12.enums.AssetSetLinkStatusEnum.AssetSetLinkStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.AssetSetLinkStatusEnum.AssetSetLinkStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/campaign_asset_set.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/campaign_audience_view.proto b/third_party/googleapis/google/ads/googleads/v15/resources/campaign_audience_view.proto index 8645f54d9..a13a5b5dc 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/campaign_audience_view.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/campaign_audience_view.proto @@ -14,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/campaign_audience_view.proto -package google.ads.googleads.v13.resources; -======== package google.ads.googleads.v15.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/campaign_audience_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/campaign_audience_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignAudienceViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; @@ -41,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/campaign_audience_view.proto // Proto file describing the campaign audience view resource. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/campaign_bid_modifier.proto b/third_party/googleapis/google/ads/googleads/v15/resources/campaign_bid_modifier.proto index e0f013386..c60fe2f55 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/campaign_bid_modifier.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/campaign_bid_modifier.proto @@ -14,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/campaign_bid_modifier.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/criteria.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignBidModifierProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/common/criteria.proto"; @@ -44,7 +28,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/campaign_bid_modifier.proto // Proto file describing the Campaign Bid Modifier resource. @@ -86,14 +69,9 @@ message CampaignBidModifier { // // Required in create operations starting in V5. oneof criterion { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/campaign_bid_modifier.proto - // Immutable. Criterion for interaction type. Only supported for search campaigns. - google.ads.googleads.v12.common.InteractionTypeInfo interaction_type = 5 [(google.api.field_behavior) = IMMUTABLE]; -======== // Immutable. Criterion for interaction type. Only supported for search // campaigns. google.ads.googleads.v15.common.InteractionTypeInfo interaction_type = 5 [(google.api.field_behavior) = IMMUTABLE]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/campaign_bid_modifier.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/campaign_budget.proto b/third_party/googleapis/google/ads/googleads/v15/resources/campaign_budget.proto index 668bfdfe6..c1e03c12b 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/campaign_budget.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/campaign_budget.proto @@ -14,25 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/campaign_budget.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/budget_delivery_method.proto"; -import "google/ads/googleads/v12/enums/budget_period.proto"; -import "google/ads/googleads/v12/enums/budget_status.proto"; -import "google/ads/googleads/v12/enums/budget_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignBudgetProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/budget_delivery_method.proto"; @@ -50,7 +31,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/campaign_budget.proto // Proto file describing the Budget resource. @@ -102,23 +82,15 @@ message CampaignBudget { optional int64 total_amount_micros = 22; // Output only. The status of this campaign budget. This field is read-only. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/campaign_budget.proto - google.ads.googleads.v12.enums.BudgetStatusEnum.BudgetStatus status = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.BudgetStatusEnum.BudgetStatus status = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/campaign_budget.proto // The delivery method that determines the rate at which the campaign budget // is spent. // // Defaults to STANDARD if unspecified in a create operation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/campaign_budget.proto - google.ads.googleads.v12.enums.BudgetDeliveryMethodEnum.BudgetDeliveryMethod delivery_method = 7; -======== google.ads.googleads.v15.enums.BudgetDeliveryMethodEnum.BudgetDeliveryMethod delivery_method = 7; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/campaign_budget.proto // Specifies whether the budget is explicitly shared. Defaults to true if // unspecified in a create operation. @@ -158,15 +130,10 @@ message CampaignBudget { optional int64 recommended_budget_amount_micros = 26 [(google.api.field_behavior) = OUTPUT_ONLY]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/campaign_budget.proto - // Immutable. Period over which to spend the budget. Defaults to DAILY if not specified. - google.ads.googleads.v12.enums.BudgetPeriodEnum.BudgetPeriod period = 13 [(google.api.field_behavior) = IMMUTABLE]; -======== // Immutable. Period over which to spend the budget. Defaults to DAILY if not // specified. google.ads.googleads.v15.enums.BudgetPeriodEnum.BudgetPeriod period = 13 [(google.api.field_behavior) = IMMUTABLE]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/campaign_budget.proto // Output only. The estimated change in weekly clicks if the recommended // budget is applied. @@ -198,12 +165,8 @@ message CampaignBudget { [(google.api.field_behavior) = OUTPUT_ONLY]; // Immutable. The type of the campaign budget. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/campaign_budget.proto - google.ads.googleads.v12.enums.BudgetTypeEnum.BudgetType type = 18 [(google.api.field_behavior) = IMMUTABLE]; -======== google.ads.googleads.v15.enums.BudgetTypeEnum.BudgetType type = 18 [(google.api.field_behavior) = IMMUTABLE]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/campaign_budget.proto // ID of the portfolio bidding strategy that this shared campaign budget // is aligned with. When a bidding strategy and a campaign budget are aligned, diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/campaign_conversion_goal.proto b/third_party/googleapis/google/ads/googleads/v15/resources/campaign_conversion_goal.proto index aa30db715..407accc16 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/campaign_conversion_goal.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/campaign_conversion_goal.proto @@ -14,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/campaign_conversion_goal.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/conversion_action_category.proto"; -import "google/ads/googleads/v12/enums/conversion_origin.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignConversionGoalProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/conversion_action_category.proto"; @@ -46,7 +29,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/campaign_conversion_goal.proto // The biddability setting for the specified campaign only for all // conversion actions with a matching category and origin. @@ -77,19 +59,12 @@ message CampaignConversionGoal { ]; // The conversion category of this campaign conversion goal. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/campaign_conversion_goal.proto - google.ads.googleads.v12.enums.ConversionActionCategoryEnum.ConversionActionCategory category = 3; - - // The conversion origin of this campaign conversion goal. - google.ads.googleads.v12.enums.ConversionOriginEnum.ConversionOrigin origin = 4; -======== google.ads.googleads.v15.enums.ConversionActionCategoryEnum .ConversionActionCategory category = 3; // The conversion origin of this campaign conversion goal. google.ads.googleads.v15.enums.ConversionOriginEnum.ConversionOrigin origin = 4; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/campaign_conversion_goal.proto // The biddability of the campaign conversion goal. bool biddable = 5; diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/campaign_customizer.proto b/third_party/googleapis/google/ads/googleads/v15/resources/campaign_customizer.proto index d5625cad2..dabb7651b 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/campaign_customizer.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/campaign_customizer.proto @@ -14,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/campaign_customizer.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/customizer_value.proto"; -import "google/ads/googleads/v12/enums/customizer_value_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignCustomizerProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/common/customizer_value.proto"; @@ -46,7 +29,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/campaign_customizer.proto // A customizer value for the associated CustomizerAttribute at the Campaign // level. @@ -86,13 +68,6 @@ message CampaignCustomizer { ]; // Output only. The status of the campaign customizer. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/campaign_customizer.proto - google.ads.googleads.v12.enums.CustomizerValueStatusEnum.CustomizerValueStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Required. The value to associate with the customizer attribute at this level. The - // value must be of the type specified for the CustomizerAttribute. - google.ads.googleads.v12.common.CustomizerValue value = 5 [(google.api.field_behavior) = REQUIRED]; -======== google.ads.googleads.v15.enums.CustomizerValueStatusEnum.CustomizerValueStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -100,5 +75,4 @@ message CampaignCustomizer { // level. The value must be of the type specified for the CustomizerAttribute. google.ads.googleads.v15.common.CustomizerValue value = 5 [(google.api.field_behavior) = REQUIRED]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/campaign_customizer.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/campaign_draft.proto b/third_party/googleapis/google/ads/googleads/v15/resources/campaign_draft.proto index 80b083911..4dac51bda 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/campaign_draft.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/campaign_draft.proto @@ -14,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/campaign_draft.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/campaign_draft_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignDraftProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/campaign_draft_status.proto"; @@ -44,7 +28,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/campaign_draft.proto // Proto file describing the Campaign Draft resource. @@ -102,12 +85,8 @@ message CampaignDraft { // Output only. The status of the campaign draft. This field is read-only. // // When a new campaign draft is added, the status defaults to PROPOSED. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/campaign_draft.proto - google.ads.googleads.v12.enums.CampaignDraftStatusEnum.CampaignDraftStatus status = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.CampaignDraftStatusEnum.CampaignDraftStatus status = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/campaign_draft.proto // Output only. Whether there is an experiment based on this draft currently // serving. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/campaign_extension_setting.proto b/third_party/googleapis/google/ads/googleads/v15/resources/campaign_extension_setting.proto index 7eff3125d..5ddf15bd3 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/campaign_extension_setting.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/campaign_extension_setting.proto @@ -14,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/campaign_extension_setting.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/extension_setting_device.proto"; -import "google/ads/googleads/v12/enums/extension_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignExtensionSettingProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/extension_setting_device.proto"; @@ -46,7 +29,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/campaign_extension_setting.proto // Proto file describing the CampaignExtensionSetting resource. @@ -69,12 +51,8 @@ message CampaignExtensionSetting { ]; // Immutable. The extension type of the customer extension setting. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/campaign_extension_setting.proto - google.ads.googleads.v12.enums.ExtensionTypeEnum.ExtensionType extension_type = 2 [(google.api.field_behavior) = IMMUTABLE]; -======== google.ads.googleads.v15.enums.ExtensionTypeEnum.ExtensionType extension_type = 2 [(google.api.field_behavior) = IMMUTABLE]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/campaign_extension_setting.proto // Immutable. The resource name of the campaign. The linked extension feed // items will serve under this campaign. Campaign resource names have the @@ -97,10 +75,6 @@ message CampaignExtensionSetting { }]; // The device for which the extensions will serve. Optional. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/campaign_extension_setting.proto - google.ads.googleads.v12.enums.ExtensionSettingDeviceEnum.ExtensionSettingDevice device = 5; -======== google.ads.googleads.v15.enums.ExtensionSettingDeviceEnum .ExtensionSettingDevice device = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/campaign_extension_setting.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/campaign_feed.proto b/third_party/googleapis/google/ads/googleads/v15/resources/campaign_feed.proto index f66a1cabb..de17af494 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/campaign_feed.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/campaign_feed.proto @@ -14,24 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/campaign_feed.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/matching_function.proto"; -import "google/ads/googleads/v12/enums/feed_link_status.proto"; -import "google/ads/googleads/v12/enums/placeholder_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignFeedProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/common/matching_function.proto"; @@ -48,7 +30,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/campaign_feed.proto // Proto file describing the CampaignFeed resource. @@ -86,28 +67,16 @@ message CampaignFeed { // Indicates which placeholder types the feed may populate under the connected // campaign. Required. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/campaign_feed.proto - repeated google.ads.googleads.v12.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 4; -======== repeated google.ads.googleads.v15.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 4; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/campaign_feed.proto // Matching function associated with the CampaignFeed. // The matching function is used to filter the set of feed items selected. // Required. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/campaign_feed.proto - google.ads.googleads.v12.common.MatchingFunction matching_function = 5; - - // Output only. Status of the campaign feed. - // This field is read-only. - google.ads.googleads.v12.enums.FeedLinkStatusEnum.FeedLinkStatus status = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.common.MatchingFunction matching_function = 5; // Output only. Status of the campaign feed. // This field is read-only. google.ads.googleads.v15.enums.FeedLinkStatusEnum.FeedLinkStatus status = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/campaign_feed.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/campaign_group.proto b/third_party/googleapis/google/ads/googleads/v15/resources/campaign_group.proto index 3ff115aa5..0c943a44f 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/campaign_group.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/campaign_group.proto @@ -14,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/campaign_group.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/campaign_group_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignGroupProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/campaign_group_status.proto"; @@ -44,7 +28,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/campaign_group.proto // Proto file describing the Campaign group resource. @@ -81,10 +64,6 @@ message CampaignGroup { // The status of the campaign group. // // When a new campaign group is added, the status defaults to ENABLED. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/campaign_group.proto - google.ads.googleads.v12.enums.CampaignGroupStatusEnum.CampaignGroupStatus status = 5; -======== google.ads.googleads.v15.enums.CampaignGroupStatusEnum.CampaignGroupStatus status = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/campaign_group.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/campaign_label.proto b/third_party/googleapis/google/ads/googleads/v15/resources/campaign_label.proto index d46045697..13ef08e44 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/campaign_label.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/campaign_label.proto @@ -14,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/campaign_label.proto -package google.ads.googleads.v12.resources; -======== package google.ads.googleads.v15.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/campaign_label.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/campaign_label.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignLabelProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; @@ -41,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/campaign_label.proto // Proto file describing the campaign label resource. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/campaign_shared_set.proto b/third_party/googleapis/google/ads/googleads/v15/resources/campaign_shared_set.proto index f157be397..ae4c82f80 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/campaign_shared_set.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/campaign_shared_set.proto @@ -14,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/campaign_shared_set.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/campaign_shared_set_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignSharedSetProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/campaign_shared_set_status.proto"; @@ -44,7 +28,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/campaign_shared_set.proto // Proto file describing the CampaignSharedSet resource. @@ -89,11 +72,7 @@ message CampaignSharedSet { ]; // Output only. The status of this campaign shared set. Read only. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/campaign_shared_set.proto - google.ads.googleads.v12.enums.CampaignSharedSetStatusEnum.CampaignSharedSetStatus status = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.CampaignSharedSetStatusEnum .CampaignSharedSetStatus status = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/campaign_shared_set.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/campaign_simulation.proto b/third_party/googleapis/google/ads/googleads/v15/resources/campaign_simulation.proto index d324fe87b..689eb961a 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/campaign_simulation.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/campaign_simulation.proto @@ -14,24 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/campaign_simulation.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/simulation.proto"; -import "google/ads/googleads/v12/enums/simulation_modification_method.proto"; -import "google/ads/googleads/v12/enums/simulation_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignSimulationProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/common/simulation.proto"; @@ -48,7 +30,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/campaign_simulation.proto // Proto file describing the campaign simulation resource. @@ -68,12 +49,9 @@ option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; // * MULTI_CHANNEL - TARGET_CPA - UNIFORM // * DISCOVERY - TARGET_CPA - DEFAULT // * DISPLAY - TARGET_CPA - UNIFORM -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/campaign_simulation.proto -======== // * PERFORMANCE_MAX - TARGET_CPA - UNIFORM // * PERFORMANCE_MAX - TARGET_ROAS - UNIFORM // * PERFORMANCE_MAX - BUDGET - UNIFORM ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/campaign_simulation.proto message CampaignSimulation { option (google.api.resource) = { type: "googleads.googleapis.com/CampaignSimulation" @@ -95,12 +73,6 @@ message CampaignSimulation { int64 campaign_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The field that the simulation modifies. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/campaign_simulation.proto - google.ads.googleads.v12.enums.SimulationTypeEnum.SimulationType type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. How the simulation modifies the field. - google.ads.googleads.v12.enums.SimulationModificationMethodEnum.SimulationModificationMethod modification_method = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.SimulationTypeEnum.SimulationType type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -108,7 +80,6 @@ message CampaignSimulation { google.ads.googleads.v15.enums.SimulationModificationMethodEnum .SimulationModificationMethod modification_method = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/campaign_simulation.proto // Output only. First day on which the simulation is based, in YYYY-MM-DD // format. @@ -121,21 +92,6 @@ message CampaignSimulation { // List of simulation points. oneof point_list { // Output only. Simulation points if the simulation type is CPC_BID. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/campaign_simulation.proto - google.ads.googleads.v12.common.CpcBidSimulationPointList cpc_bid_point_list = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Simulation points if the simulation type is TARGET_CPA. - google.ads.googleads.v12.common.TargetCpaSimulationPointList target_cpa_point_list = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Simulation points if the simulation type is TARGET_ROAS. - google.ads.googleads.v12.common.TargetRoasSimulationPointList target_roas_point_list = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Simulation points if the simulation type is TARGET_IMPRESSION_SHARE. - google.ads.googleads.v12.common.TargetImpressionShareSimulationPointList target_impression_share_point_list = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Simulation points if the simulation type is BUDGET. - google.ads.googleads.v12.common.BudgetSimulationPointList budget_point_list = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.common.CpcBidSimulationPointList cpc_bid_point_list = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -156,6 +112,5 @@ message CampaignSimulation { // Output only. Simulation points if the simulation type is BUDGET. google.ads.googleads.v15.common.BudgetSimulationPointList budget_point_list = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/campaign_simulation.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/carrier_constant.proto b/third_party/googleapis/google/ads/googleads/v15/resources/carrier_constant.proto index 820d34206..c686ef462 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/carrier_constant.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/carrier_constant.proto @@ -14,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/carrier_constant.proto -package google.ads.googleads.v13.resources; -======== package google.ads.googleads.v15.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/carrier_constant.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/carrier_constant.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CarrierConstantProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; @@ -41,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/carrier_constant.proto // Proto file describing the Carrier constant resource. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/change_event.proto b/third_party/googleapis/google/ads/googleads/v15/resources/change_event.proto index c71839fdf..0a01b841e 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/change_event.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/change_event.proto @@ -14,32 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/change_event.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/change_client_type.proto"; -import "google/ads/googleads/v12/enums/change_event_resource_type.proto"; -import "google/ads/googleads/v12/enums/resource_change_operation.proto"; -import "google/ads/googleads/v12/resources/ad.proto"; -import "google/ads/googleads/v12/resources/ad_group.proto"; -import "google/ads/googleads/v12/resources/ad_group_ad.proto"; -import "google/ads/googleads/v12/resources/ad_group_asset.proto"; -import "google/ads/googleads/v12/resources/ad_group_bid_modifier.proto"; -import "google/ads/googleads/v12/resources/ad_group_criterion.proto"; -import "google/ads/googleads/v12/resources/ad_group_feed.proto"; -import "google/ads/googleads/v12/resources/asset.proto"; -import "google/ads/googleads/v12/resources/asset_set.proto"; -import "google/ads/googleads/v12/resources/asset_set_asset.proto"; -import "google/ads/googleads/v12/resources/campaign.proto"; -import "google/ads/googleads/v12/resources/campaign_asset.proto"; -import "google/ads/googleads/v12/resources/campaign_asset_set.proto"; -import "google/ads/googleads/v12/resources/campaign_budget.proto"; -import "google/ads/googleads/v12/resources/campaign_criterion.proto"; -import "google/ads/googleads/v12/resources/campaign_feed.proto"; -import "google/ads/googleads/v12/resources/customer_asset.proto"; -import "google/ads/googleads/v12/resources/feed.proto"; -import "google/ads/googleads/v12/resources/feed_item.proto"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/change_client_type.proto"; @@ -64,21 +38,10 @@ import "google/ads/googleads/v15/resources/campaign_feed.proto"; import "google/ads/googleads/v15/resources/customer_asset.proto"; import "google/ads/googleads/v15/resources/feed.proto"; import "google/ads/googleads/v15/resources/feed_item.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/change_event.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/change_event.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ChangeEventProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; @@ -87,7 +50,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/change_event.proto // Proto file describing the Change Event resource. @@ -187,24 +149,16 @@ message ChangeEvent { // Output only. The type of the changed resource. This dictates what resource // will be set in old_resource and new_resource. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/change_event.proto - google.ads.googleads.v12.enums.ChangeEventResourceTypeEnum.ChangeEventResourceType change_resource_type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.ChangeEventResourceTypeEnum .ChangeEventResourceType change_resource_type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/change_event.proto // Output only. The Simply resource this change occurred on. string change_resource_name = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Where the change was made through. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/change_event.proto - google.ads.googleads.v12.enums.ChangeClientTypeEnum.ChangeClientType client_type = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.ChangeClientTypeEnum.ChangeClientType client_type = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/change_event.proto // Output only. The email of the user who made this change. string user_email = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -218,13 +172,9 @@ message ChangeEvent { ChangedResource new_resource = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The operation on the changed resource. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/change_event.proto - google.ads.googleads.v12.enums.ResourceChangeOperationEnum.ResourceChangeOperation resource_change_operation = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.ResourceChangeOperationEnum .ResourceChangeOperation resource_change_operation = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/change_event.proto // Output only. A list of fields that are changed in the returned resource. google.protobuf.FieldMask changed_fields = 10 diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/change_status.proto b/third_party/googleapis/google/ads/googleads/v15/resources/change_status.proto index d675ed7bb..b9c1bfa2b 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/change_status.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/change_status.proto @@ -14,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/change_status.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/change_status_operation.proto"; -import "google/ads/googleads/v12/enums/change_status_resource_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ChangeStatusProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/change_status_operation.proto"; @@ -46,7 +29,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/change_status.proto // Proto file describing the Change Status resource. @@ -74,19 +56,12 @@ message ChangeStatus { optional string last_change_date_time = 24 [(google.api.field_behavior) = OUTPUT_ONLY]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/change_status.proto - // Output only. Represents the type of the changed resource. This dictates what fields - // will be set. For example, for AD_GROUP, campaign and ad_group fields will - // be set. - google.ads.googleads.v12.enums.ChangeStatusResourceTypeEnum.ChangeStatusResourceType resource_type = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== // Output only. Represents the type of the changed resource. This dictates // what fields will be set. For example, for AD_GROUP, campaign and ad_group // fields will be set. google.ads.googleads.v15.enums.ChangeStatusResourceTypeEnum .ChangeStatusResourceType resource_type = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/change_status.proto // Output only. The Campaign affected by this change. optional string campaign = 17 [ @@ -105,12 +80,8 @@ message ChangeStatus { ]; // Output only. Represents the status of the changed resource. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/change_status.proto - google.ads.googleads.v12.enums.ChangeStatusOperationEnum.ChangeStatusOperation resource_status = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.ChangeStatusOperationEnum.ChangeStatusOperation resource_status = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/change_status.proto // Output only. The AdGroupAd affected by this change. optional string ad_group_ad = 25 [ diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/click_view.proto b/third_party/googleapis/google/ads/googleads/v15/resources/click_view.proto index 7c17939df..047de6077 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/click_view.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/click_view.proto @@ -14,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/click_view.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/click_location.proto"; -import "google/ads/googleads/v12/common/criteria.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ClickViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/common/click_location.proto"; @@ -46,7 +29,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/click_view.proto // Proto file describing the ClickView resource. @@ -76,15 +58,6 @@ message ClickView { // Output only. The Google Click ID. optional string gclid = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/click_view.proto - // Output only. The location criteria matching the area of interest associated with the - // impression. - google.ads.googleads.v12.common.ClickLocation area_of_interest = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The location criteria matching the location of presence associated with the - // impression. - google.ads.googleads.v12.common.ClickLocation location_of_presence = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== // Output only. The location criteria matching the area of interest associated // with the impression. google.ads.googleads.v15.common.ClickLocation area_of_interest = 3 @@ -94,7 +67,6 @@ message ClickView { // associated with the impression. google.ads.googleads.v15.common.ClickLocation location_of_presence = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/click_view.proto // Output only. Page number in search results where the ad was shown. optional int64 page_number = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -133,10 +105,6 @@ message ClickView { ]; // Output only. Basic information about the associated keyword, if it exists. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/click_view.proto - google.ads.googleads.v12.common.KeywordInfo keyword_info = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.common.KeywordInfo keyword_info = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/click_view.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/combined_audience.proto b/third_party/googleapis/google/ads/googleads/v15/resources/combined_audience.proto index 06a94de39..89e64cecb 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/combined_audience.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/combined_audience.proto @@ -14,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/combined_audience.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/combined_audience_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CombinedAudienceProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/combined_audience_status.proto"; @@ -44,7 +28,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/combined_audience.proto // Proto file describing the Combined Audience resource. @@ -70,17 +53,11 @@ message CombinedAudience { // Output only. ID of the combined audience. int64 id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/combined_audience.proto - // Output only. Status of this combined audience. Indicates whether the combined audience - // is enabled or removed. - google.ads.googleads.v12.enums.CombinedAudienceStatusEnum.CombinedAudienceStatus status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== // Output only. Status of this combined audience. Indicates whether the // combined audience is enabled or removed. google.ads.googleads.v15.enums.CombinedAudienceStatusEnum .CombinedAudienceStatus status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/combined_audience.proto // Output only. Name of the combined audience. It should be unique across all // combined audiences. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/conversion_action.proto b/third_party/googleapis/google/ads/googleads/v15/resources/conversion_action.proto index e3d3d5234..62f58fc6f 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/conversion_action.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/conversion_action.proto @@ -14,30 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/conversion_action.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/tag_snippet.proto"; -import "google/ads/googleads/v12/enums/attribution_model.proto"; -import "google/ads/googleads/v12/enums/conversion_action_category.proto"; -import "google/ads/googleads/v12/enums/conversion_action_counting_type.proto"; -import "google/ads/googleads/v12/enums/conversion_action_status.proto"; -import "google/ads/googleads/v12/enums/conversion_action_type.proto"; -import "google/ads/googleads/v12/enums/conversion_origin.proto"; -import "google/ads/googleads/v12/enums/data_driven_model_status.proto"; -import "google/ads/googleads/v12/enums/mobile_app_vendor.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ConversionActionProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/common/tag_snippet.proto"; @@ -60,7 +36,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/conversion_action.proto // Proto file describing the Conversion Action resource. @@ -74,13 +49,6 @@ message ConversionAction { // Settings related to this conversion action's attribution model. message AttributionModelSettings { // The attribution model type of this conversion action. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/conversion_action.proto - google.ads.googleads.v12.enums.AttributionModelEnum.AttributionModel attribution_model = 1; - - // Output only. The status of the data-driven attribution model for the conversion - // action. - google.ads.googleads.v12.enums.DataDrivenModelStatusEnum.DataDrivenModelStatus data_driven_model_status = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.AttributionModelEnum.AttributionModel attribution_model = 1; @@ -89,7 +57,6 @@ message ConversionAction { google.ads.googleads.v15.enums.DataDrivenModelStatusEnum .DataDrivenModelStatus data_driven_model_status = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/conversion_action.proto } // Settings related to the value for conversion events associated with this @@ -133,8 +100,6 @@ message ConversionAction { // Output only. The GA property name of the conversion. string property_name = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/conversion_action.proto -======== } // Settings related to a Google Analytics 4 conversion action. @@ -147,7 +112,6 @@ message ConversionAction { // Output only. The ID of the GA 4 property. int64 property_id = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/conversion_action.proto } // Immutable. The resource name of the conversion action. @@ -171,15 +135,6 @@ message ConversionAction { optional string name = 22; // The status of this conversion action for conversion event accrual. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/conversion_action.proto - google.ads.googleads.v12.enums.ConversionActionStatusEnum.ConversionActionStatus status = 4; - - // Immutable. The type of this conversion action. - google.ads.googleads.v12.enums.ConversionActionTypeEnum.ConversionActionType type = 5 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The conversion origin of this conversion action. - google.ads.googleads.v12.enums.ConversionOriginEnum.ConversionOrigin origin = 30 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.ConversionActionStatusEnum .ConversionActionStatus status = 4; @@ -190,7 +145,6 @@ message ConversionAction { // Output only. The conversion origin of this conversion action. google.ads.googleads.v15.enums.ConversionOriginEnum.ConversionOrigin origin = 30 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/conversion_action.proto // If a conversion action's primary_for_goal bit is false, the conversion // action is non-biddable for all campaigns regardless of their customer @@ -205,12 +159,8 @@ message ConversionAction { optional bool primary_for_goal = 31; // The category of conversions reported for this conversion action. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/conversion_action.proto - google.ads.googleads.v12.enums.ConversionActionCategoryEnum.ConversionActionCategory category = 6; -======== google.ads.googleads.v15.enums.ConversionActionCategoryEnum .ConversionActionCategory category = 6; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/conversion_action.proto // Output only. The resource name of the conversion action owner customer, or // null if this is a system-defined conversion action. @@ -238,23 +188,15 @@ message ConversionAction { ValueSettings value_settings = 11; // How to count conversion events for the conversion action. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/conversion_action.proto - google.ads.googleads.v12.enums.ConversionActionCountingTypeEnum.ConversionActionCountingType counting_type = 12; -======== google.ads.googleads.v15.enums.ConversionActionCountingTypeEnum .ConversionActionCountingType counting_type = 12; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/conversion_action.proto // Settings related to this conversion action's attribution model. AttributionModelSettings attribution_model_settings = 13; // Output only. The snippets used for tracking conversions. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/conversion_action.proto - repeated google.ads.googleads.v12.common.TagSnippet tag_snippets = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== repeated google.ads.googleads.v15.common.TagSnippet tag_snippets = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/conversion_action.proto // The phone call duration in seconds after which a conversion should be // reported for this conversion action. @@ -266,12 +208,8 @@ message ConversionAction { optional string app_id = 28; // Output only. Mobile app vendor for an app conversion action. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/conversion_action.proto - google.ads.googleads.v12.enums.MobileAppVendorEnum.MobileAppVendor mobile_app_vendor = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.MobileAppVendorEnum.MobileAppVendor mobile_app_vendor = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/conversion_action.proto // Output only. Firebase settings for Firebase conversion types. FirebaseSettings firebase_settings = 18 diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/conversion_custom_variable.proto b/third_party/googleapis/google/ads/googleads/v15/resources/conversion_custom_variable.proto index 00bae70a5..ca4f9baf2 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/conversion_custom_variable.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/conversion_custom_variable.proto @@ -14,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/conversion_custom_variable.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/conversion_custom_variable_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ConversionCustomVariableProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/conversion_custom_variable_status.proto"; @@ -44,7 +28,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/conversion_custom_variable.proto // Proto file describing the Conversion Custom Variable resource. @@ -89,12 +72,8 @@ message ConversionCustomVariable { ]; // The status of the conversion custom variable for conversion event accrual. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/conversion_custom_variable.proto - google.ads.googleads.v12.enums.ConversionCustomVariableStatusEnum.ConversionCustomVariableStatus status = 5; -======== google.ads.googleads.v15.enums.ConversionCustomVariableStatusEnum .ConversionCustomVariableStatus status = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/conversion_custom_variable.proto // Output only. The resource name of the customer that owns the conversion // custom variable. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/conversion_goal_campaign_config.proto b/third_party/googleapis/google/ads/googleads/v15/resources/conversion_goal_campaign_config.proto index 6fd887f19..4ffcfb2f1 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/conversion_goal_campaign_config.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/conversion_goal_campaign_config.proto @@ -14,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/conversion_goal_campaign_config.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/goal_config_level.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ConversionGoalCampaignConfigProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/goal_config_level.proto"; @@ -44,7 +28,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/conversion_goal_campaign_config.proto // Conversion goal settings for a Campaign. message ConversionGoalCampaignConfig { @@ -74,12 +57,8 @@ message ConversionGoalCampaignConfig { ]; // The level of goal config the campaign is using. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/conversion_goal_campaign_config.proto - google.ads.googleads.v12.enums.GoalConfigLevelEnum.GoalConfigLevel goal_config_level = 3; -======== google.ads.googleads.v15.enums.GoalConfigLevelEnum.GoalConfigLevel goal_config_level = 3; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/conversion_goal_campaign_config.proto // The custom conversion goal the campaign is using for optimization. string custom_conversion_goal = 4 [(google.api.resource_reference) = { diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/conversion_value_rule.proto b/third_party/googleapis/google/ads/googleads/v15/resources/conversion_value_rule.proto index a5f1e9e88..953ea5684 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/conversion_value_rule.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/conversion_value_rule.proto @@ -14,25 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/conversion_value_rule.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/conversion_value_rule_status.proto"; -import "google/ads/googleads/v12/enums/value_rule_device_type.proto"; -import "google/ads/googleads/v12/enums/value_rule_geo_location_match_type.proto"; -import "google/ads/googleads/v12/enums/value_rule_operation.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ConversionValueRuleProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/conversion_value_rule_status.proto"; @@ -50,7 +31,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/conversion_value_rule.proto // Proto file describing the Conversion Value Rule resource. @@ -64,12 +44,8 @@ message ConversionValueRule { // Action applied when rule is applied. message ValueRuleAction { // Specifies applied operation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/conversion_value_rule.proto - google.ads.googleads.v12.enums.ValueRuleOperationEnum.ValueRuleOperation operation = 1; -======== google.ads.googleads.v15.enums.ValueRuleOperationEnum.ValueRuleOperation operation = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/conversion_value_rule.proto // Specifies applied value. double value = 2; @@ -84,12 +60,8 @@ message ConversionValueRule { }]; // Excluded Geo location match type. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/conversion_value_rule.proto - google.ads.googleads.v12.enums.ValueRuleGeoLocationMatchTypeEnum.ValueRuleGeoLocationMatchType excluded_geo_match_type = 2; -======== google.ads.googleads.v15.enums.ValueRuleGeoLocationMatchTypeEnum .ValueRuleGeoLocationMatchType excluded_geo_match_type = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/conversion_value_rule.proto // Geo locations that advertisers want to include. repeated string geo_target_constants = 3 @@ -98,23 +70,15 @@ message ConversionValueRule { }]; // Included Geo location match type. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/conversion_value_rule.proto - google.ads.googleads.v12.enums.ValueRuleGeoLocationMatchTypeEnum.ValueRuleGeoLocationMatchType geo_match_type = 4; -======== google.ads.googleads.v15.enums.ValueRuleGeoLocationMatchTypeEnum .ValueRuleGeoLocationMatchType geo_match_type = 4; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/conversion_value_rule.proto } // Condition on Device dimension. message ValueRuleDeviceCondition { // Value for device type condition. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/conversion_value_rule.proto - repeated google.ads.googleads.v12.enums.ValueRuleDeviceTypeEnum.ValueRuleDeviceType device_types = 1; -======== repeated google.ads.googleads.v15.enums.ValueRuleDeviceTypeEnum .ValueRuleDeviceType device_types = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/conversion_value_rule.proto } // Condition on Audience dimension. @@ -174,10 +138,6 @@ message ConversionValueRule { ]; // The status of the conversion value rule. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/conversion_value_rule.proto - google.ads.googleads.v12.enums.ConversionValueRuleStatusEnum.ConversionValueRuleStatus status = 8; -======== google.ads.googleads.v15.enums.ConversionValueRuleStatusEnum .ConversionValueRuleStatus status = 8; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/conversion_value_rule.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/conversion_value_rule_set.proto b/third_party/googleapis/google/ads/googleads/v15/resources/conversion_value_rule_set.proto index 1804b2626..1c35d0149 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/conversion_value_rule_set.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/conversion_value_rule_set.proto @@ -14,25 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/conversion_value_rule_set.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/conversion_action_category.proto"; -import "google/ads/googleads/v12/enums/conversion_value_rule_set_status.proto"; -import "google/ads/googleads/v12/enums/value_rule_set_attachment_type.proto"; -import "google/ads/googleads/v12/enums/value_rule_set_dimension.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ConversionValueRuleSetProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/conversion_action_category.proto"; @@ -50,7 +31,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/conversion_value_rule_set.proto // Proto file describing the Conversion Value Rule Set resource. @@ -87,12 +67,8 @@ message ConversionValueRuleSet { // When using value rule primary dimension segmentation, conversion values // will be segmented into the values adjusted by value rules and the original // values, if some value rules apply. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/conversion_value_rule_set.proto - repeated google.ads.googleads.v12.enums.ValueRuleSetDimensionEnum.ValueRuleSetDimension dimensions = 4; -======== repeated google.ads.googleads.v15.enums.ValueRuleSetDimensionEnum .ValueRuleSetDimension dimensions = 4; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/conversion_value_rule_set.proto // Output only. The resource name of the conversion value rule set's owner // customer. When the value rule set is inherited from a manager customer, @@ -106,16 +82,11 @@ message ConversionValueRuleSet { } ]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/conversion_value_rule_set.proto - // Immutable. Defines the scope where the conversion value rule set is attached. - google.ads.googleads.v12.enums.ValueRuleSetAttachmentTypeEnum.ValueRuleSetAttachmentType attachment_type = 6 [(google.api.field_behavior) = IMMUTABLE]; -======== // Immutable. Defines the scope where the conversion value rule set is // attached. google.ads.googleads.v15.enums.ValueRuleSetAttachmentTypeEnum .ValueRuleSetAttachmentType attachment_type = 6 [(google.api.field_behavior) = IMMUTABLE]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/conversion_value_rule_set.proto // The resource name of the campaign when the conversion value rule // set is attached to a campaign. @@ -125,12 +96,6 @@ message ConversionValueRuleSet { // Output only. The status of the conversion value rule set. // ** Read-only ** -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/conversion_value_rule_set.proto - google.ads.googleads.v12.enums.ConversionValueRuleSetStatusEnum.ConversionValueRuleSetStatus status = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. The conversion action categories of the conversion value rule set. - repeated google.ads.googleads.v12.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_categories = 9 [(google.api.field_behavior) = IMMUTABLE]; -======== google.ads.googleads.v15.enums.ConversionValueRuleSetStatusEnum .ConversionValueRuleSetStatus status = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -140,5 +105,4 @@ message ConversionValueRuleSet { repeated google.ads.googleads.v15.enums.ConversionActionCategoryEnum .ConversionActionCategory conversion_action_categories = 9 [(google.api.field_behavior) = IMMUTABLE]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/conversion_value_rule_set.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/currency_constant.proto b/third_party/googleapis/google/ads/googleads/v15/resources/currency_constant.proto index c7724738e..f3ba76cd4 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/currency_constant.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/currency_constant.proto @@ -14,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/currency_constant.proto -package google.ads.googleads.v12.resources; -======== package google.ads.googleads.v15.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/currency_constant.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/currency_constant.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CurrencyConstantProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; @@ -41,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/currency_constant.proto // Proto file describing the Currency Constant resource. @@ -69,13 +54,8 @@ message CurrencyConstant { // Output only. Full English name of the currency. optional string name = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/currency_constant.proto - // Output only. Standard symbol for describing this currency, for example, '$' for US - // Dollars. -======== // Output only. Standard symbol for describing this currency, for example, '$' // for US Dollars. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/currency_constant.proto optional string symbol = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The billable unit for this currency. Billed amounts should be diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/custom_audience.proto b/third_party/googleapis/google/ads/googleads/v15/resources/custom_audience.proto index 65872503a..804fd59ca 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/custom_audience.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/custom_audience.proto @@ -14,24 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/custom_audience.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/custom_audience_member_type.proto"; -import "google/ads/googleads/v12/enums/custom_audience_status.proto"; -import "google/ads/googleads/v12/enums/custom_audience_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomAudienceProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/custom_audience_member_type.proto"; @@ -48,7 +30,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/custom_audience.proto // Proto file describing the Custom Audience resource. @@ -73,16 +54,10 @@ message CustomAudience { // Output only. ID of the custom audience. int64 id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/custom_audience.proto - // Output only. Status of this custom audience. Indicates whether the custom audience is - // enabled or removed. - google.ads.googleads.v12.enums.CustomAudienceStatusEnum.CustomAudienceStatus status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== // Output only. Status of this custom audience. Indicates whether the custom // audience is enabled or removed. google.ads.googleads.v15.enums.CustomAudienceStatusEnum.CustomAudienceStatus status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/custom_audience.proto // Name of the custom audience. It should be unique for all custom audiences // created by a customer. @@ -92,12 +67,8 @@ message CustomAudience { // Type of the custom audience. // ("INTEREST" OR "PURCHASE_INTENT" is not allowed for newly created custom // audience but kept for existing audiences) -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/custom_audience.proto - google.ads.googleads.v12.enums.CustomAudienceTypeEnum.CustomAudienceType type = 5; -======== google.ads.googleads.v15.enums.CustomAudienceTypeEnum.CustomAudienceType type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/custom_audience.proto // Description of this custom audience. string description = 6; @@ -112,12 +83,8 @@ message CustomAudience { // PLACE_CATEGORY or APP. It can only be created or removed but not changed. message CustomAudienceMember { // The type of custom audience member, KEYWORD, URL, PLACE_CATEGORY or APP. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/custom_audience.proto - google.ads.googleads.v12.enums.CustomAudienceMemberTypeEnum.CustomAudienceMemberType member_type = 1; -======== google.ads.googleads.v15.enums.CustomAudienceMemberTypeEnum .CustomAudienceMemberType member_type = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/custom_audience.proto // The CustomAudienceMember value. One field is populated depending on the // member type. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/custom_conversion_goal.proto b/third_party/googleapis/google/ads/googleads/v15/resources/custom_conversion_goal.proto index da40683d6..c97018dfe 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/custom_conversion_goal.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/custom_conversion_goal.proto @@ -14,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/custom_conversion_goal.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/custom_conversion_goal_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomConversionGoalProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/custom_conversion_goal_status.proto"; @@ -44,7 +28,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/custom_conversion_goal.proto // Custom conversion goal that can make arbitrary conversion actions biddable. message CustomConversionGoal { @@ -76,10 +59,6 @@ message CustomConversionGoal { }]; // The status of the custom conversion goal. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/custom_conversion_goal.proto - google.ads.googleads.v12.enums.CustomConversionGoalStatusEnum.CustomConversionGoalStatus status = 5; -======== google.ads.googleads.v15.enums.CustomConversionGoalStatusEnum .CustomConversionGoalStatus status = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/custom_conversion_goal.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/custom_interest.proto b/third_party/googleapis/google/ads/googleads/v15/resources/custom_interest.proto index dcda39982..7c3bdc84f 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/custom_interest.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/custom_interest.proto @@ -14,24 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/custom_interest.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/custom_interest_member_type.proto"; -import "google/ads/googleads/v12/enums/custom_interest_status.proto"; -import "google/ads/googleads/v12/enums/custom_interest_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomInterestProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/custom_interest_member_type.proto"; @@ -48,7 +30,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/custom_interest.proto // Proto file describing the Custom Interest resource. @@ -75,12 +56,8 @@ message CustomInterest { // Status of this custom interest. Indicates whether the custom interest is // enabled or removed. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/custom_interest.proto - google.ads.googleads.v12.enums.CustomInterestStatusEnum.CustomInterestStatus status = 3; -======== google.ads.googleads.v15.enums.CustomInterestStatusEnum.CustomInterestStatus status = 3; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/custom_interest.proto // Name of the custom interest. It should be unique across the same custom // affinity audience. @@ -89,12 +66,8 @@ message CustomInterest { // Type of the custom interest, CUSTOM_AFFINITY or CUSTOM_INTENT. // By default the type is set to CUSTOM_AFFINITY. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/custom_interest.proto - google.ads.googleads.v12.enums.CustomInterestTypeEnum.CustomInterestType type = 5; -======== google.ads.googleads.v15.enums.CustomInterestTypeEnum.CustomInterestType type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/custom_interest.proto // Description of this custom interest audience. optional string description = 10; @@ -109,12 +82,8 @@ message CustomInterest { // It is immutable, that is, it can only be created or removed but not changed. message CustomInterestMember { // The type of custom interest member, KEYWORD or URL. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/custom_interest.proto - google.ads.googleads.v12.enums.CustomInterestMemberTypeEnum.CustomInterestMemberType member_type = 1; -======== google.ads.googleads.v15.enums.CustomInterestMemberTypeEnum .CustomInterestMemberType member_type = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/custom_interest.proto // Keyword text when member_type is KEYWORD or URL string when // member_type is URL. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/customer_client.proto b/third_party/googleapis/google/ads/googleads/v15/resources/customer_client.proto index d7c9f4efa..6a71a8d64 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/customer_client.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/customer_client.proto @@ -14,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/customer_client.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/customer_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerClientProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/customer_status.proto"; @@ -44,7 +28,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/customer_client.proto // Proto file describing the CustomerClient resource. @@ -85,13 +68,8 @@ message CustomerClient { // level value will be 0. Read only. optional int64 level = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/customer_client.proto - // Output only. Common Locale Data Repository (CLDR) string representation of the - // time zone of the client, for example, America/Los_Angeles. Read only. -======== // Output only. Common Locale Data Repository (CLDR) string representation of // the time zone of the client, for example, America/Los_Angeles. Read only. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/customer_client.proto optional string time_zone = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Identifies if the client is a test account. Read only. @@ -104,15 +82,10 @@ message CustomerClient { optional string descriptive_name = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/customer_client.proto - // Output only. Currency code (for example, 'USD', 'EUR') for the client. Read only. - optional string currency_code = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== // Output only. Currency code (for example, 'USD', 'EUR') for the client. Read // only. optional string currency_code = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/customer_client.proto // Output only. The ID of the client customer. Read only. optional int64 id = 20 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -128,10 +101,6 @@ message CustomerClient { ]; // Output only. The status of the client customer. Read only. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/customer_client.proto - google.ads.googleads.v12.enums.CustomerStatusEnum.CustomerStatus status = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.CustomerStatusEnum.CustomerStatus status = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/customer_client.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/customer_client_link.proto b/third_party/googleapis/google/ads/googleads/v15/resources/customer_client_link.proto index 47bf18a3e..c0b643b7d 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/customer_client_link.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/customer_client_link.proto @@ -14,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/customer_client_link.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/manager_link_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerClientLinkProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/manager_link_status.proto"; @@ -44,7 +28,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/customer_client_link.proto // Proto file describing the CustomerClientLink resource. @@ -78,12 +61,8 @@ message CustomerClientLink { [(google.api.field_behavior) = OUTPUT_ONLY]; // This is the status of the link between client and manager. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/customer_client_link.proto - google.ads.googleads.v12.enums.ManagerLinkStatusEnum.ManagerLinkStatus status = 5; -======== google.ads.googleads.v15.enums.ManagerLinkStatusEnum.ManagerLinkStatus status = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/customer_client_link.proto // The visibility of the link. Users can choose whether or not to see hidden // links in the Google Ads UI. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/customer_conversion_goal.proto b/third_party/googleapis/google/ads/googleads/v15/resources/customer_conversion_goal.proto index ace0a5e0c..0a8c39535 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/customer_conversion_goal.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/customer_conversion_goal.proto @@ -14,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/customer_conversion_goal.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/conversion_action_category.proto"; -import "google/ads/googleads/v12/enums/conversion_origin.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerConversionGoalProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/conversion_action_category.proto"; @@ -46,7 +29,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/customer_conversion_goal.proto // Biddability control for conversion actions with a matching category and // origin. @@ -69,22 +51,14 @@ message CustomerConversionGoal { // The conversion category of this customer conversion goal. Only // conversion actions that have this category will be included in this goal. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/customer_conversion_goal.proto - google.ads.googleads.v12.enums.ConversionActionCategoryEnum.ConversionActionCategory category = 2; -======== google.ads.googleads.v15.enums.ConversionActionCategoryEnum .ConversionActionCategory category = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/customer_conversion_goal.proto // The conversion origin of this customer conversion goal. Only // conversion actions that have this conversion origin will be included in // this goal. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/customer_conversion_goal.proto - google.ads.googleads.v12.enums.ConversionOriginEnum.ConversionOrigin origin = 3; -======== google.ads.googleads.v15.enums.ConversionOriginEnum.ConversionOrigin origin = 3; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/customer_conversion_goal.proto // The biddability of the customer conversion goal. bool biddable = 4; diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/customer_customizer.proto b/third_party/googleapis/google/ads/googleads/v15/resources/customer_customizer.proto index aa45b2ce5..2fef77284 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/customer_customizer.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/customer_customizer.proto @@ -14,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/customer_customizer.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/customizer_value.proto"; -import "google/ads/googleads/v12/enums/customizer_value_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerCustomizerProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/common/customizer_value.proto"; @@ -46,7 +29,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/customer_customizer.proto // A customizer value for the associated CustomizerAttribute at the Customer // level. @@ -78,13 +60,6 @@ message CustomerCustomizer { ]; // Output only. The status of the customer customizer attribute. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/customer_customizer.proto - google.ads.googleads.v12.enums.CustomizerValueStatusEnum.CustomizerValueStatus status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Required. The value to associate with the customizer attribute at this level. The - // value must be of the type specified for the CustomizerAttribute. - google.ads.googleads.v12.common.CustomizerValue value = 4 [(google.api.field_behavior) = REQUIRED]; -======== google.ads.googleads.v15.enums.CustomizerValueStatusEnum.CustomizerValueStatus status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -92,5 +67,4 @@ message CustomerCustomizer { // level. The value must be of the type specified for the CustomizerAttribute. google.ads.googleads.v15.common.CustomizerValue value = 4 [(google.api.field_behavior) = REQUIRED]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/customer_customizer.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/customer_extension_setting.proto b/third_party/googleapis/google/ads/googleads/v15/resources/customer_extension_setting.proto index b990f8cc3..53a7d0984 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/customer_extension_setting.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/customer_extension_setting.proto @@ -14,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/customer_extension_setting.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/extension_setting_device.proto"; -import "google/ads/googleads/v12/enums/extension_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerExtensionSettingProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/extension_setting_device.proto"; @@ -46,7 +29,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/customer_extension_setting.proto // Proto file describing the CustomerExtensionSetting resource. @@ -69,12 +51,8 @@ message CustomerExtensionSetting { ]; // Immutable. The extension type of the customer extension setting. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/customer_extension_setting.proto - google.ads.googleads.v12.enums.ExtensionTypeEnum.ExtensionType extension_type = 2 [(google.api.field_behavior) = IMMUTABLE]; -======== google.ads.googleads.v15.enums.ExtensionTypeEnum.ExtensionType extension_type = 2 [(google.api.field_behavior) = IMMUTABLE]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/customer_extension_setting.proto // The resource names of the extension feed items to serve under the customer. // ExtensionFeedItem resource names have the form: @@ -85,10 +63,6 @@ message CustomerExtensionSetting { }]; // The device for which the extensions will serve. Optional. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/customer_extension_setting.proto - google.ads.googleads.v12.enums.ExtensionSettingDeviceEnum.ExtensionSettingDevice device = 4; -======== google.ads.googleads.v15.enums.ExtensionSettingDeviceEnum .ExtensionSettingDevice device = 4; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/customer_extension_setting.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/customer_feed.proto b/third_party/googleapis/google/ads/googleads/v15/resources/customer_feed.proto index 27ce47319..cef9b4940 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/customer_feed.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/customer_feed.proto @@ -14,24 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/customer_feed.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/matching_function.proto"; -import "google/ads/googleads/v12/enums/feed_link_status.proto"; -import "google/ads/googleads/v12/enums/placeholder_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerFeedProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/common/matching_function.proto"; @@ -48,7 +30,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/customer_feed.proto // Proto file describing the CustomerFeed resource. @@ -78,28 +59,16 @@ message CustomerFeed { // Indicates which placeholder types the feed may populate under the connected // customer. Required. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/customer_feed.proto - repeated google.ads.googleads.v12.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 3; -======== repeated google.ads.googleads.v15.enums.PlaceholderTypeEnum.PlaceholderType placeholder_types = 3; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/customer_feed.proto // Matching function associated with the CustomerFeed. // The matching function is used to filter the set of feed items selected. // Required. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/customer_feed.proto - google.ads.googleads.v12.common.MatchingFunction matching_function = 4; - - // Output only. Status of the customer feed. - // This field is read-only. - google.ads.googleads.v12.enums.FeedLinkStatusEnum.FeedLinkStatus status = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.common.MatchingFunction matching_function = 4; // Output only. Status of the customer feed. // This field is read-only. google.ads.googleads.v15.enums.FeedLinkStatusEnum.FeedLinkStatus status = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/customer_feed.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/customer_label.proto b/third_party/googleapis/google/ads/googleads/v15/resources/customer_label.proto index 2f5a35592..72771adc1 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/customer_label.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/customer_label.proto @@ -14,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/customer_label.proto -package google.ads.googleads.v12.resources; -======== package google.ads.googleads.v15.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/customer_label.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/customer_label.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerLabelProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; @@ -41,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/customer_label.proto // Proto file describing the customer label resource. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/customer_manager_link.proto b/third_party/googleapis/google/ads/googleads/v15/resources/customer_manager_link.proto index 37b893cd4..cdc7d82aa 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/customer_manager_link.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/customer_manager_link.proto @@ -14,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/customer_manager_link.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/manager_link_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerManagerLinkProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/manager_link_status.proto"; @@ -44,7 +28,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/customer_manager_link.proto // Proto file describing the CustomerManagerLink resource. @@ -78,10 +61,6 @@ message CustomerManagerLink { [(google.api.field_behavior) = OUTPUT_ONLY]; // Status of the link between the customer and the manager. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/customer_manager_link.proto - google.ads.googleads.v12.enums.ManagerLinkStatusEnum.ManagerLinkStatus status = 5; -======== google.ads.googleads.v15.enums.ManagerLinkStatusEnum.ManagerLinkStatus status = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/customer_manager_link.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/customer_negative_criterion.proto b/third_party/googleapis/google/ads/googleads/v15/resources/customer_negative_criterion.proto index 275a87900..5a4b8c730 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/customer_negative_criterion.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/customer_negative_criterion.proto @@ -14,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/customer_negative_criterion.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/criteria.proto"; -import "google/ads/googleads/v12/enums/criterion_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerNegativeCriterionProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/common/criteria.proto"; @@ -46,7 +29,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/customer_negative_criterion.proto // Proto file describing the Customer Negative Criterion resource. @@ -72,36 +54,14 @@ message CustomerNegativeCriterion { optional int64 id = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The type of the criterion. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/customer_negative_criterion.proto - google.ads.googleads.v12.enums.CriterionTypeEnum.CriterionType type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.CriterionTypeEnum.CriterionType type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/customer_negative_criterion.proto // The customer negative criterion. // // Exactly one must be set. oneof criterion { // Immutable. ContentLabel. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/customer_negative_criterion.proto - google.ads.googleads.v12.common.ContentLabelInfo content_label = 4 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. MobileApplication. - google.ads.googleads.v12.common.MobileApplicationInfo mobile_application = 5 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. MobileAppCategory. - google.ads.googleads.v12.common.MobileAppCategoryInfo mobile_app_category = 6 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Placement. - google.ads.googleads.v12.common.PlacementInfo placement = 7 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. YouTube Video. - google.ads.googleads.v12.common.YouTubeVideoInfo youtube_video = 8 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. YouTube Channel. - google.ads.googleads.v12.common.YouTubeChannelInfo youtube_channel = 9 [(google.api.field_behavior) = IMMUTABLE]; -======== google.ads.googleads.v15.common.ContentLabelInfo content_label = 4 [(google.api.field_behavior) = IMMUTABLE]; @@ -128,6 +88,5 @@ message CustomerNegativeCriterion { // Immutable. NegativeKeywordList. google.ads.googleads.v15.common.NegativeKeywordListInfo negative_keyword_list = 11 [(google.api.field_behavior) = IMMUTABLE]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/customer_negative_criterion.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/customer_user_access.proto b/third_party/googleapis/google/ads/googleads/v15/resources/customer_user_access.proto index 90b74dc82..c3979c4cb 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/customer_user_access.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/customer_user_access.proto @@ -14,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/customer_user_access.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/access_role.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerUserAccessProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/access_role.proto"; @@ -44,7 +28,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/customer_user_access.proto // Proto file describing the CustomerUserAccess resource. @@ -74,11 +57,7 @@ message CustomerUserAccess { optional string email_address = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; // Access role of the user. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/customer_user_access.proto - google.ads.googleads.v12.enums.AccessRoleEnum.AccessRole access_role = 4; -======== google.ads.googleads.v15.enums.AccessRoleEnum.AccessRole access_role = 4; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/customer_user_access.proto // Output only. The customer user access creation time. // Read only field diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/customer_user_access_invitation.proto b/third_party/googleapis/google/ads/googleads/v15/resources/customer_user_access_invitation.proto index 35f568565..a5cd530a5 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/customer_user_access_invitation.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/customer_user_access_invitation.proto @@ -14,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/customer_user_access_invitation.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/access_invitation_status.proto"; -import "google/ads/googleads/v12/enums/access_role.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerUserAccessInvitationProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/access_invitation_status.proto"; @@ -46,7 +29,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/customer_user_access_invitation.proto // Proto file describing the CustomerUserAccessInvitation resource. @@ -72,12 +54,8 @@ message CustomerUserAccessInvitation { int64 invitation_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Immutable. Access role of the user. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/customer_user_access_invitation.proto - google.ads.googleads.v12.enums.AccessRoleEnum.AccessRole access_role = 3 [(google.api.field_behavior) = IMMUTABLE]; -======== google.ads.googleads.v15.enums.AccessRoleEnum.AccessRole access_role = 3 [(google.api.field_behavior) = IMMUTABLE]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/customer_user_access_invitation.proto // Immutable. Email address the invitation was sent to. // This can differ from the email address of the account @@ -91,11 +69,7 @@ message CustomerUserAccessInvitation { string creation_date_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Invitation status of the user. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/customer_user_access_invitation.proto - google.ads.googleads.v12.enums.AccessInvitationStatusEnum.AccessInvitationStatus invitation_status = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.AccessInvitationStatusEnum .AccessInvitationStatus invitation_status = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/customer_user_access_invitation.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/customizer_attribute.proto b/third_party/googleapis/google/ads/googleads/v15/resources/customizer_attribute.proto index aa35985f8..6428a43e8 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/customizer_attribute.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/customizer_attribute.proto @@ -14,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/customizer_attribute.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/customizer_attribute_status.proto"; -import "google/ads/googleads/v12/enums/customizer_attribute_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomizerAttributeProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/customizer_attribute_status.proto"; @@ -46,7 +29,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/customizer_attribute.proto // A customizer attribute. // Use CustomerCustomizer, CampaignCustomizer, AdGroupCustomizer, or @@ -82,12 +64,6 @@ message CustomizerAttribute { ]; // Immutable. The type of the customizer attribute. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/customizer_attribute.proto - google.ads.googleads.v12.enums.CustomizerAttributeTypeEnum.CustomizerAttributeType type = 4 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The status of the customizer attribute. - google.ads.googleads.v12.enums.CustomizerAttributeStatusEnum.CustomizerAttributeStatus status = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.CustomizerAttributeTypeEnum .CustomizerAttributeType type = 4 [(google.api.field_behavior) = IMMUTABLE]; @@ -96,5 +72,4 @@ message CustomizerAttribute { google.ads.googleads.v15.enums.CustomizerAttributeStatusEnum .CustomizerAttributeStatus status = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/customizer_attribute.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/detail_placement_view.proto b/third_party/googleapis/google/ads/googleads/v15/resources/detail_placement_view.proto index c07cfecda..c5aff81a4 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/detail_placement_view.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/detail_placement_view.proto @@ -14,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/detail_placement_view.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/placement_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "DetailPlacementViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/placement_type.proto"; @@ -44,7 +28,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/detail_placement_view.proto // Proto file describing the detail placement view resource. @@ -74,19 +57,6 @@ message DetailPlacementView { // for YouTube videos, and translated mobile app name for mobile apps. optional string display_name = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/detail_placement_view.proto - // Output only. URL of the group placement, for example, domain, link to the mobile - // application in app store, or a YouTube channel URL. - optional string group_placement_target_url = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. URL of the placement, for example, website, link to the mobile application - // in app store, or a YouTube video URL. - optional string target_url = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Type of the placement, for example, Website, YouTube Video, and Mobile - // Application. - google.ads.googleads.v12.enums.PlacementTypeEnum.PlacementType placement_type = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== // Output only. URL of the group placement, for example, domain, link to the // mobile application in app store, or a YouTube channel URL. optional string group_placement_target_url = 9 @@ -100,5 +70,4 @@ message DetailPlacementView { // and Mobile Application. google.ads.googleads.v15.enums.PlacementTypeEnum.PlacementType placement_type = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/detail_placement_view.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/detailed_demographic.proto b/third_party/googleapis/google/ads/googleads/v15/resources/detailed_demographic.proto index 37e13a41b..0e4613e49 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/detailed_demographic.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/detailed_demographic.proto @@ -14,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/detailed_demographic.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/criterion_category_availability.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "DetailedDemographicProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/common/criterion_category_availability.proto"; @@ -44,7 +28,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/detailed_demographic.proto // Proto file describing the Detailed Demographic resource. @@ -70,13 +53,8 @@ message DetailedDemographic { // Output only. The ID of the detailed demographic. int64 id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/detailed_demographic.proto - // Output only. The name of the detailed demographic. For example,"Highest Level of - // Educational Attainment" -======== // Output only. The name of the detailed demographic. For example,"Highest // Level of Educational Attainment" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/detailed_demographic.proto string name = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The parent of the detailed_demographic. @@ -92,10 +70,6 @@ message DetailedDemographic { bool launched_to_all = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Availability information of the detailed demographic. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/detailed_demographic.proto - repeated google.ads.googleads.v12.common.CriterionCategoryAvailability availabilities = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== repeated google.ads.googleads.v15.common.CriterionCategoryAvailability availabilities = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/detailed_demographic.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/display_keyword_view.proto b/third_party/googleapis/google/ads/googleads/v15/resources/display_keyword_view.proto index 63e1b34a6..db73c2a85 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/display_keyword_view.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/display_keyword_view.proto @@ -14,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/display_keyword_view.proto -package google.ads.googleads.v13.resources; -======== package google.ads.googleads.v15.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/display_keyword_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/display_keyword_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "DisplayKeywordViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; @@ -41,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/display_keyword_view.proto // Proto file describing the display keyword view resource. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/distance_view.proto b/third_party/googleapis/google/ads/googleads/v15/resources/distance_view.proto index a123040eb..25f800d52 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/distance_view.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/distance_view.proto @@ -14,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/distance_view.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/distance_bucket.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "DistanceViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/distance_bucket.proto"; @@ -44,7 +28,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/distance_view.proto // Proto file describing the DistanceView resource. @@ -71,12 +54,8 @@ message DistanceView { ]; // Output only. Grouping of user distance from location extensions. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/distance_view.proto - google.ads.googleads.v12.enums.DistanceBucketEnum.DistanceBucket distance_bucket = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.DistanceBucketEnum.DistanceBucket distance_bucket = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/distance_view.proto // Output only. True if the DistanceBucket is using the metric system, false // otherwise. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/domain_category.proto b/third_party/googleapis/google/ads/googleads/v15/resources/domain_category.proto index 839e2e00a..db042f695 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/domain_category.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/domain_category.proto @@ -14,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/domain_category.proto -package google.ads.googleads.v12.resources; -======== package google.ads.googleads.v15.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/domain_category.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/domain_category.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "DomainCategoryProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; @@ -41,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/domain_category.proto // Proto file describing the Domain Category resource. @@ -74,19 +59,6 @@ message DomainCategory { } ]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/domain_category.proto - // Output only. Recommended category for the website domain, for example, if you have a - // website about electronics, the categories could be "cameras", - // "televisions", etc. - optional string category = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The language code specifying the language of the website, for example, "en" - // for English. The language can be specified in the DynamicSearchAdsSetting - // required for dynamic search ads. This is the language of the pages from - // your website that you want Google Ads to find, create ads for, - // and match searches with. - optional string language_code = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== // Output only. Recommended category for the website domain, for example, if // you have a website about electronics, the categories could be "cameras", // "televisions", etc. @@ -99,7 +71,6 @@ message DomainCategory { // create ads for, and match searches with. optional string language_code = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/domain_category.proto // Output only. The domain for the website. The domain can be specified in the // DynamicSearchAdsSetting required for dynamic search ads. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/dynamic_search_ads_search_term_view.proto b/third_party/googleapis/google/ads/googleads/v15/resources/dynamic_search_ads_search_term_view.proto index 5b2e97251..5e511aaf1 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/dynamic_search_ads_search_term_view.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/dynamic_search_ads_search_term_view.proto @@ -14,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/dynamic_search_ads_search_term_view.proto -package google.ads.googleads.v12.resources; -======== package google.ads.googleads.v15.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/dynamic_search_ads_search_term_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/dynamic_search_ads_search_term_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "DynamicSearchAdsSearchTermViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; @@ -41,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/dynamic_search_ads_search_term_view.proto // Proto file describing the Dynamic Search Ads Search Term View resource. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/expanded_landing_page_view.proto b/third_party/googleapis/google/ads/googleads/v15/resources/expanded_landing_page_view.proto index 9427005e2..e3c461a04 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/expanded_landing_page_view.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/expanded_landing_page_view.proto @@ -14,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/expanded_landing_page_view.proto -package google.ads.googleads.v12.resources; -======== package google.ads.googleads.v15.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/expanded_landing_page_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/expanded_landing_page_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ExpandedLandingPageViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; @@ -41,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/expanded_landing_page_view.proto // Proto file describing the expanded landing page view resource. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/experiment.proto b/third_party/googleapis/google/ads/googleads/v15/resources/experiment.proto index c0b8cced1..00aa3a798 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/experiment.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/experiment.proto @@ -14,25 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/experiment.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/metric_goal.proto"; -import "google/ads/googleads/v12/enums/async_action_status.proto"; -import "google/ads/googleads/v12/enums/experiment_status.proto"; -import "google/ads/googleads/v12/enums/experiment_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ExperimentProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/common/metric_goal.proto"; @@ -50,7 +31,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/experiment.proto // Proto file describing the Experiment resource. @@ -91,19 +71,12 @@ message Experiment { string suffix = 12; // Required. The product/feature that uses this experiment. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/experiment.proto - google.ads.googleads.v12.enums.ExperimentTypeEnum.ExperimentType type = 13 [(google.api.field_behavior) = REQUIRED]; - - // The Advertiser-chosen status of this experiment. - google.ads.googleads.v12.enums.ExperimentStatusEnum.ExperimentStatus status = 14; -======== google.ads.googleads.v15.enums.ExperimentTypeEnum.ExperimentType type = 13 [(google.api.field_behavior) = REQUIRED]; // The Advertiser-chosen status of this experiment. google.ads.googleads.v15.enums.ExperimentStatusEnum.ExperimentStatus status = 14; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/experiment.proto // Date when the experiment starts. By default, the experiment starts // now or on the campaign's start date, whichever is later. If this field is @@ -123,11 +96,7 @@ message Experiment { optional string end_date = 16; // The goals of this experiment. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/experiment.proto - repeated google.ads.googleads.v12.common.MetricGoal goals = 17; -======== repeated google.ads.googleads.v15.common.MetricGoal goals = 17; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/experiment.proto // Output only. The resource name of the long-running operation that can be // used to poll for completion of experiment schedule or promote. The most @@ -136,10 +105,6 @@ message Experiment { [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The status of the experiment promotion process. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/experiment.proto - google.ads.googleads.v12.enums.AsyncActionStatusEnum.AsyncActionStatus promote_status = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.AsyncActionStatusEnum.AsyncActionStatus promote_status = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/experiment.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/experiment_arm.proto b/third_party/googleapis/google/ads/googleads/v15/resources/experiment_arm.proto index 39d7923a9..aecd1012d 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/experiment_arm.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/experiment_arm.proto @@ -14,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/experiment_arm.proto -package google.ads.googleads.v12.resources; -======== package google.ads.googleads.v15.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/experiment_arm.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/experiment_arm.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ExperimentArmProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; @@ -41,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/experiment_arm.proto // Proto file describing the Experiment arm resource. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/extension_feed_item.proto b/third_party/googleapis/google/ads/googleads/v15/resources/extension_feed_item.proto index 50406937f..8f95d0168 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/extension_feed_item.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/extension_feed_item.proto @@ -14,26 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/extension_feed_item.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/criteria.proto"; -import "google/ads/googleads/v12/common/extensions.proto"; -import "google/ads/googleads/v12/enums/extension_type.proto"; -import "google/ads/googleads/v12/enums/feed_item_status.proto"; -import "google/ads/googleads/v12/enums/feed_item_target_device.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ExtensionFeedItemProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/common/criteria.proto"; @@ -52,7 +32,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/extension_feed_item.proto // Proto file describing the ExtensionFeedItem resource. @@ -79,12 +58,8 @@ message ExtensionFeedItem { // Output only. The extension type of the extension feed item. // This field is read-only. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/extension_feed_item.proto - google.ads.googleads.v12.enums.ExtensionTypeEnum.ExtensionType extension_type = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.ExtensionTypeEnum.ExtensionType extension_type = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/extension_feed_item.proto // Start time in which this feed item is effective and can begin serving. The // time is in the customer's time zone. @@ -101,18 +76,11 @@ message ExtensionFeedItem { // List of non-overlapping schedules specifying all time intervals // for which the feed item may serve. There can be a maximum of 6 schedules // per day. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/extension_feed_item.proto - repeated google.ads.googleads.v12.common.AdScheduleInfo ad_schedules = 16; - - // The targeted device. - google.ads.googleads.v12.enums.FeedItemTargetDeviceEnum.FeedItemTargetDevice device = 17; -======== repeated google.ads.googleads.v15.common.AdScheduleInfo ad_schedules = 16; // The targeted device. google.ads.googleads.v15.enums.FeedItemTargetDeviceEnum.FeedItemTargetDevice device = 17; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/extension_feed_item.proto // The targeted geo target constant. optional string targeted_geo_target_constant = 30 @@ -121,54 +89,6 @@ message ExtensionFeedItem { }]; // The targeted keyword. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/extension_feed_item.proto - google.ads.googleads.v12.common.KeywordInfo targeted_keyword = 22; - - // Output only. Status of the feed item. - // This field is read-only. - google.ads.googleads.v12.enums.FeedItemStatusEnum.FeedItemStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Extension type. - oneof extension { - // Sitelink extension. - google.ads.googleads.v12.common.SitelinkFeedItem sitelink_feed_item = 2; - - // Structured snippet extension. - google.ads.googleads.v12.common.StructuredSnippetFeedItem structured_snippet_feed_item = 3; - - // App extension. - google.ads.googleads.v12.common.AppFeedItem app_feed_item = 7; - - // Call extension. - google.ads.googleads.v12.common.CallFeedItem call_feed_item = 8; - - // Callout extension. - google.ads.googleads.v12.common.CalloutFeedItem callout_feed_item = 9; - - // Text message extension. - google.ads.googleads.v12.common.TextMessageFeedItem text_message_feed_item = 10; - - // Price extension. - google.ads.googleads.v12.common.PriceFeedItem price_feed_item = 11; - - // Promotion extension. - google.ads.googleads.v12.common.PromotionFeedItem promotion_feed_item = 12; - - // Output only. Location extension. Locations are synced from a Business Profile into a - // feed. This field is read-only. - google.ads.googleads.v12.common.LocationFeedItem location_feed_item = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Affiliate location extension. Feed locations are populated by Google Ads - // based on a chain ID. - // This field is read-only. - google.ads.googleads.v12.common.AffiliateLocationFeedItem affiliate_location_feed_item = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Hotel Callout extension. - google.ads.googleads.v12.common.HotelCalloutFeedItem hotel_callout_feed_item = 23; - - // Immutable. Advertiser provided image extension. - google.ads.googleads.v12.common.ImageFeedItem image_feed_item = 31 [(google.api.field_behavior) = IMMUTABLE]; -======== google.ads.googleads.v15.common.KeywordInfo targeted_keyword = 22; // Output only. Status of the feed item. @@ -222,7 +142,6 @@ message ExtensionFeedItem { // Immutable. Advertiser provided image extension. google.ads.googleads.v15.common.ImageFeedItem image_feed_item = 31 [(google.api.field_behavior) = IMMUTABLE]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/extension_feed_item.proto } // Targeting at either the campaign or ad group level. Feed items that target diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/feed.proto b/third_party/googleapis/google/ads/googleads/v15/resources/feed.proto index 7ec66bd90..c0b57abe4 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/feed.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/feed.proto @@ -14,25 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/feed.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/affiliate_location_feed_relationship_type.proto"; -import "google/ads/googleads/v12/enums/feed_attribute_type.proto"; -import "google/ads/googleads/v12/enums/feed_origin.proto"; -import "google/ads/googleads/v12/enums/feed_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "FeedProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/affiliate_location_feed_relationship_type.proto"; @@ -50,7 +31,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/feed.proto // Proto file describing the Feed resource. @@ -116,12 +96,8 @@ message Feed { repeated int64 chain_ids = 3; // The relationship the chains have with the advertiser. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/feed.proto - google.ads.googleads.v12.enums.AffiliateLocationFeedRelationshipTypeEnum.AffiliateLocationFeedRelationshipType relationship_type = 2; -======== google.ads.googleads.v15.enums.AffiliateLocationFeedRelationshipTypeEnum .AffiliateLocationFeedRelationshipType relationship_type = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/feed.proto } // Immutable. The resource name of the feed. @@ -151,13 +127,6 @@ message Feed { repeated FeedAttributeOperation attribute_operations = 9; // Immutable. Specifies who manages the FeedAttributes for the Feed. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/feed.proto - google.ads.googleads.v12.enums.FeedOriginEnum.FeedOrigin origin = 5 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. Status of the feed. - // This field is read-only. - google.ads.googleads.v12.enums.FeedStatusEnum.FeedStatus status = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.FeedOriginEnum.FeedOrigin origin = 5 [(google.api.field_behavior) = IMMUTABLE]; @@ -165,7 +134,6 @@ message Feed { // This field is read-only. google.ads.googleads.v15.enums.FeedStatusEnum.FeedStatus status = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/feed.proto // The system data for the Feed. This data specifies information for // generating the feed items of the system generated feed. @@ -191,12 +159,8 @@ message FeedAttribute { optional string name = 6; // Data type for feed attribute. Required. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/feed.proto - google.ads.googleads.v12.enums.FeedAttributeTypeEnum.FeedAttributeType type = 3; -======== google.ads.googleads.v15.enums.FeedAttributeTypeEnum.FeedAttributeType type = 3; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/feed.proto // Indicates that data corresponding to this attribute is part of a // FeedItem's unique key. It defaults to false if it is unspecified. Note diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/feed_item.proto b/third_party/googleapis/google/ads/googleads/v15/resources/feed_item.proto index b69004ae3..44bacd696 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/feed_item.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/feed_item.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/feed_item.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/feed_item.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,33 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/feed_item.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/custom_parameter.proto"; -import "google/ads/googleads/v13/common/feed_common.proto"; -import "google/ads/googleads/v13/common/policy.proto"; -import "google/ads/googleads/v13/enums/feed_item_quality_approval_status.proto"; -import "google/ads/googleads/v13/enums/feed_item_quality_disapproval_reason.proto"; -import "google/ads/googleads/v13/enums/feed_item_status.proto"; -import "google/ads/googleads/v13/enums/feed_item_validation_status.proto"; -import "google/ads/googleads/v13/enums/geo_targeting_restriction.proto"; -import "google/ads/googleads/v13/enums/placeholder_type.proto"; -import "google/ads/googleads/v13/enums/policy_approval_status.proto"; -import "google/ads/googleads/v13/enums/policy_review_status.proto"; -import "google/ads/googleads/v13/errors/feed_item_validation_error.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/common/custom_parameter.proto"; @@ -70,7 +39,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/feed_item.proto // Proto file describing the FeedItem resource. @@ -118,29 +86,17 @@ message FeedItem { // Geo targeting restriction specifies the type of location that can be used // for targeting. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/feed_item.proto - google.ads.googleads.v13.enums.GeoTargetingRestrictionEnum -======== google.ads.googleads.v15.enums.GeoTargetingRestrictionEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/feed_item.proto .GeoTargetingRestriction geo_targeting_restriction = 7; // The list of mappings used to substitute custom parameter tags in a // `tracking_url_template`, `final_urls`, or `mobile_final_urls`. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/feed_item.proto - repeated google.ads.googleads.v13.common.CustomParameter -======== repeated google.ads.googleads.v15.common.CustomParameter ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/feed_item.proto url_custom_parameters = 8; // Output only. Status of the feed item. // This field is read-only. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/feed_item.proto - google.ads.googleads.v13.enums.FeedItemStatusEnum.FeedItemStatus status = 9 -======== google.ads.googleads.v15.enums.FeedItemStatusEnum.FeedItemStatus status = 9 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/feed_item.proto [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. List of info about a feed item's validation and approval state @@ -179,11 +135,7 @@ message FeedItemAttributeValue { // Price value. Should be set if feed_attribute_id refers to a feed attribute // of type PRICE. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/feed_item.proto - google.ads.googleads.v13.common.Money price_value = 6; -======== google.ads.googleads.v15.common.Money price_value = 6; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/feed_item.proto // Repeated int64 value. Should be set if feed_attribute_id refers to a feed // attribute of type INT64_LIST. @@ -213,11 +165,7 @@ message FeedItemAttributeValue { // specified placeholder type. message FeedItemPlaceholderPolicyInfo { // Output only. The placeholder type. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/feed_item.proto - google.ads.googleads.v13.enums.PlaceholderTypeEnum.PlaceholderType -======== google.ads.googleads.v15.enums.PlaceholderTypeEnum.PlaceholderType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/feed_item.proto placeholder_type_enum = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The FeedMapping that contains the placeholder type. @@ -225,26 +173,11 @@ message FeedItemPlaceholderPolicyInfo { [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Where the placeholder type is in the review process. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/feed_item.proto - google.ads.googleads.v13.enums.PolicyReviewStatusEnum.PolicyReviewStatus -======== google.ads.googleads.v15.enums.PolicyReviewStatusEnum.PolicyReviewStatus ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/feed_item.proto review_status = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The overall approval status of the placeholder type, // calculated based on the status of its individual policy topic entries. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/feed_item.proto - google.ads.googleads.v13.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus - approval_status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The list of policy findings for the placeholder type. - repeated google.ads.googleads.v13.common.PolicyTopicEntry - policy_topic_entries = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The validation status of the palceholder type. - google.ads.googleads.v13.enums.FeedItemValidationStatusEnum -======== google.ads.googleads.v15.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus approval_status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -254,7 +187,6 @@ message FeedItemPlaceholderPolicyInfo { // Output only. The validation status of the placeholder type. google.ads.googleads.v15.enums.FeedItemValidationStatusEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/feed_item.proto .FeedItemValidationStatus validation_status = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -263,21 +195,13 @@ message FeedItemPlaceholderPolicyInfo { [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Placeholder type quality evaluation approval status. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/feed_item.proto - google.ads.googleads.v13.enums.FeedItemQualityApprovalStatusEnum -======== google.ads.googleads.v15.enums.FeedItemQualityApprovalStatusEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/feed_item.proto .FeedItemQualityApprovalStatus quality_approval_status = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. List of placeholder type quality evaluation disapproval // reasons. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/feed_item.proto - repeated google.ads.googleads.v13.enums.FeedItemQualityDisapprovalReasonEnum -======== repeated google.ads.googleads.v15.enums.FeedItemQualityDisapprovalReasonEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/feed_item.proto .FeedItemQualityDisapprovalReason quality_disapproval_reasons = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; } @@ -287,11 +211,7 @@ message FeedItemPlaceholderPolicyInfo { message FeedItemValidationError { // Output only. Error code indicating what validation error was triggered. The // description of the error can be found in the 'description' field. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/feed_item.proto - google.ads.googleads.v13.errors.FeedItemValidationErrorEnum -======== google.ads.googleads.v15.errors.FeedItemValidationErrorEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/feed_item.proto .FeedItemValidationError validation_error = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/feed_item_set.proto b/third_party/googleapis/google/ads/googleads/v15/resources/feed_item_set.proto index 2fac8c54b..ea386966b 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/feed_item_set.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/feed_item_set.proto @@ -14,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/feed_item_set.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/feed_item_set_filter_type_infos.proto"; -import "google/ads/googleads/v12/enums/feed_item_set_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemSetProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/common/feed_item_set_filter_type_infos.proto"; @@ -46,7 +29,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/feed_item_set.proto // Represents a set of feed items. The set can be used and shared among certain // feed item features. For instance, the set can be referenced within the @@ -82,33 +64,21 @@ message FeedItemSet { // Output only. Status of the feed item set. // This field is read-only. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/feed_item_set.proto - google.ads.googleads.v12.enums.FeedItemSetStatusEnum.FeedItemSetStatus status = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.FeedItemSetStatusEnum.FeedItemSetStatus status = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/feed_item_set.proto // Represents a filter on locations in a feed item set. // Only applicable if the parent Feed of the FeedItemSet is a LOCATION feed. oneof dynamic_set_filter { // Filter for dynamic location set. // It is only used for sets of locations. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/feed_item_set.proto - google.ads.googleads.v12.common.DynamicLocationSetFilter dynamic_location_set_filter = 5; -======== google.ads.googleads.v15.common.DynamicLocationSetFilter dynamic_location_set_filter = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/feed_item_set.proto // Filter for dynamic affiliate location set. // This field doesn't apply generally to feed item sets. It is only used for // sets of affiliate locations. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/feed_item_set.proto - google.ads.googleads.v12.common.DynamicAffiliateLocationSetFilter dynamic_affiliate_location_set_filter = 6; -======== google.ads.googleads.v15.common.DynamicAffiliateLocationSetFilter dynamic_affiliate_location_set_filter = 6; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/feed_item_set.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/feed_item_set_link.proto b/third_party/googleapis/google/ads/googleads/v15/resources/feed_item_set_link.proto index 468271fea..e68008cf4 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/feed_item_set_link.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/feed_item_set_link.proto @@ -14,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/feed_item_set_link.proto -package google.ads.googleads.v13.resources; -======== package google.ads.googleads.v15.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/feed_item_set_link.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/feed_item_set_link.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemSetLinkProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; @@ -41,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/feed_item_set_link.proto // Proto file describing the FeedItemSetLink resource. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/feed_item_target.proto b/third_party/googleapis/google/ads/googleads/v15/resources/feed_item_target.proto index 6a8a67074..8bddb33fa 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/feed_item_target.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/feed_item_target.proto @@ -14,25 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/feed_item_target.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/criteria.proto"; -import "google/ads/googleads/v12/enums/feed_item_target_device.proto"; -import "google/ads/googleads/v12/enums/feed_item_target_status.proto"; -import "google/ads/googleads/v12/enums/feed_item_target_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemTargetProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/common/criteria.proto"; @@ -50,7 +31,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/feed_item_target.proto // Proto file describing the FeedItemTarget resource. @@ -79,15 +59,10 @@ message FeedItemTarget { } ]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/feed_item_target.proto - // Output only. The target type of this feed item target. This field is read-only. - google.ads.googleads.v12.enums.FeedItemTargetTypeEnum.FeedItemTargetType feed_item_target_type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== // Output only. The target type of this feed item target. This field is // read-only. google.ads.googleads.v15.enums.FeedItemTargetTypeEnum.FeedItemTargetType feed_item_target_type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/feed_item_target.proto // Output only. The ID of the targeted resource. This field is read-only. optional int64 feed_item_target_id = 13 @@ -95,12 +70,8 @@ message FeedItemTarget { // Output only. Status of the feed item target. // This field is read-only. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/feed_item_target.proto - google.ads.googleads.v12.enums.FeedItemTargetStatusEnum.FeedItemTargetStatus status = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.FeedItemTargetStatusEnum.FeedItemTargetStatus status = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/feed_item_target.proto // The targeted resource. oneof target { @@ -121,12 +92,8 @@ message FeedItemTarget { ]; // Immutable. The targeted keyword. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/feed_item_target.proto - google.ads.googleads.v12.common.KeywordInfo keyword = 7 [(google.api.field_behavior) = IMMUTABLE]; -======== google.ads.googleads.v15.common.KeywordInfo keyword = 7 [(google.api.field_behavior) = IMMUTABLE]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/feed_item_target.proto // Immutable. The targeted geo target constant resource name. string geo_target_constant = 16 [ @@ -137,18 +104,11 @@ message FeedItemTarget { ]; // Immutable. The targeted device. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/feed_item_target.proto - google.ads.googleads.v12.enums.FeedItemTargetDeviceEnum.FeedItemTargetDevice device = 9 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. The targeted schedule. - google.ads.googleads.v12.common.AdScheduleInfo ad_schedule = 10 [(google.api.field_behavior) = IMMUTABLE]; -======== google.ads.googleads.v15.enums.FeedItemTargetDeviceEnum.FeedItemTargetDevice device = 9 [(google.api.field_behavior) = IMMUTABLE]; // Immutable. The targeted schedule. google.ads.googleads.v15.common.AdScheduleInfo ad_schedule = 10 [(google.api.field_behavior) = IMMUTABLE]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/feed_item_target.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/feed_placeholder_view.proto b/third_party/googleapis/google/ads/googleads/v15/resources/feed_placeholder_view.proto index d83c15100..088d76beb 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/feed_placeholder_view.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/feed_placeholder_view.proto @@ -14,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/feed_placeholder_view.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/placeholder_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "FeedPlaceholderViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/placeholder_type.proto"; @@ -44,7 +28,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/feed_placeholder_view.proto // Proto file describing the FeedPlaceholderView resource. @@ -67,10 +50,6 @@ message FeedPlaceholderView { ]; // Output only. The placeholder type of the feed placeholder view. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/feed_placeholder_view.proto - google.ads.googleads.v12.enums.PlaceholderTypeEnum.PlaceholderType placeholder_type = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.PlaceholderTypeEnum.PlaceholderType placeholder_type = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/feed_placeholder_view.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/gender_view.proto b/third_party/googleapis/google/ads/googleads/v15/resources/gender_view.proto index 5a860ae2f..07bf427c5 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/gender_view.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/gender_view.proto @@ -14,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/gender_view.proto -package google.ads.googleads.v13.resources; -======== package google.ads.googleads.v15.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/gender_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/gender_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "GenderViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; @@ -41,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/gender_view.proto // Proto file describing the gender view resource. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/geo_target_constant.proto b/third_party/googleapis/google/ads/googleads/v15/resources/geo_target_constant.proto index 307ae66d9..f2ed608c2 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/geo_target_constant.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/geo_target_constant.proto @@ -14,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/geo_target_constant.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/geo_target_constant_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "GeoTargetConstantProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/geo_target_constant_status.proto"; @@ -44,7 +28,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/geo_target_constant.proto // Proto file describing the geo target constant resource. @@ -80,13 +63,9 @@ message GeoTargetConstant { optional string target_type = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Geo target constant status. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/geo_target_constant.proto - google.ads.googleads.v12.enums.GeoTargetConstantStatusEnum.GeoTargetConstantStatus status = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.GeoTargetConstantStatusEnum .GeoTargetConstantStatus status = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/geo_target_constant.proto // Output only. The fully qualified English name, consisting of the target's // name and that of its parent and country. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/geographic_view.proto b/third_party/googleapis/google/ads/googleads/v15/resources/geographic_view.proto index d7a6181b1..fd1c2c883 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/geographic_view.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/geographic_view.proto @@ -14,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/geographic_view.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/geo_targeting_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "GeographicViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/geo_targeting_type.proto"; @@ -44,7 +28,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/geographic_view.proto // Proto file describing the geographic view resource. @@ -72,12 +55,8 @@ message GeographicView { ]; // Output only. Type of the geo targeting of the campaign. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/geographic_view.proto - google.ads.googleads.v12.enums.GeoTargetingTypeEnum.GeoTargetingType location_type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.GeoTargetingTypeEnum.GeoTargetingType location_type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/geographic_view.proto // Output only. Criterion Id for the country. optional int64 country_criterion_id = 5 diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/google_ads_field.proto b/third_party/googleapis/google/ads/googleads/v15/resources/google_ads_field.proto index 2b897d823..12bb7c253 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/google_ads_field.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/google_ads_field.proto @@ -14,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/google_ads_field.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/google_ads_field_category.proto"; -import "google/ads/googleads/v12/enums/google_ads_field_data_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "GoogleAdsFieldProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/google_ads_field_category.proto"; @@ -46,7 +29,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/google_ads_field.proto // Proto file describing the Google Ads Field resource. @@ -72,13 +54,9 @@ message GoogleAdsField { optional string name = 21 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The category of the artifact. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/google_ads_field.proto - google.ads.googleads.v12.enums.GoogleAdsFieldCategoryEnum.GoogleAdsFieldCategory category = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.GoogleAdsFieldCategoryEnum .GoogleAdsFieldCategory category = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/google_ads_field.proto // Output only. Whether the artifact can be used in a SELECT clause in search // queries. @@ -121,17 +99,11 @@ message GoogleAdsField { // This field is only set for artifacts of category SEGMENT or ATTRIBUTE. repeated string enum_values = 29 [(google.api.field_behavior) = OUTPUT_ONLY]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/google_ads_field.proto - // Output only. This field determines the operators that can be used with the artifact - // in WHERE clauses. - google.ads.googleads.v12.enums.GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType data_type = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== // Output only. This field determines the operators that can be used with the // artifact in WHERE clauses. google.ads.googleads.v15.enums.GoogleAdsFieldDataTypeEnum .GoogleAdsFieldDataType data_type = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/google_ads_field.proto // Output only. The URL of proto describing the artifact's data type. optional string type_url = 30 [(google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/group_placement_view.proto b/third_party/googleapis/google/ads/googleads/v15/resources/group_placement_view.proto index a07c488ff..eae8a5d7d 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/group_placement_view.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/group_placement_view.proto @@ -14,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/group_placement_view.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/placement_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "GroupPlacementViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/placement_type.proto"; @@ -44,7 +28,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/group_placement_view.proto // Proto file describing the group placement view resource. @@ -74,15 +57,6 @@ message GroupPlacementView { // channels. optional string display_name = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/group_placement_view.proto - // Output only. URL of the group placement, for example, domain, link to the mobile - // application in app store, or a YouTube channel URL. - optional string target_url = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Type of the placement, for example, Website, YouTube Channel, Mobile - // Application. - google.ads.googleads.v12.enums.PlacementTypeEnum.PlacementType placement_type = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== // Output only. URL of the group placement, for example, domain, link to the // mobile application in app store, or a YouTube channel URL. optional string target_url = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -91,5 +65,4 @@ message GroupPlacementView { // Mobile Application. google.ads.googleads.v15.enums.PlacementTypeEnum.PlacementType placement_type = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/group_placement_view.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/hotel_group_view.proto b/third_party/googleapis/google/ads/googleads/v15/resources/hotel_group_view.proto index ee83f3d32..b93fd13ba 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/hotel_group_view.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/hotel_group_view.proto @@ -14,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/hotel_group_view.proto -package google.ads.googleads.v13.resources; -======== package google.ads.googleads.v15.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/hotel_group_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/hotel_group_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "HotelGroupViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; @@ -41,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/hotel_group_view.proto // Proto file describing the hotel group view resource. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/hotel_performance_view.proto b/third_party/googleapis/google/ads/googleads/v15/resources/hotel_performance_view.proto index 94be640ae..0d4759ccd 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/hotel_performance_view.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/hotel_performance_view.proto @@ -14,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/hotel_performance_view.proto -package google.ads.googleads.v13.resources; -======== package google.ads.googleads.v15.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/hotel_performance_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/hotel_performance_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "HotelPerformanceViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; @@ -41,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/hotel_performance_view.proto // Proto file describing the hotel performance view resource. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/hotel_reconciliation.proto b/third_party/googleapis/google/ads/googleads/v15/resources/hotel_reconciliation.proto index e256bf62d..bc0d77c91 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/hotel_reconciliation.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/hotel_reconciliation.proto @@ -14,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/hotel_reconciliation.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/hotel_reconciliation_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "HotelReconciliationProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/hotel_reconciliation_status.proto"; @@ -44,7 +28,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/hotel_reconciliation.proto // Proto file describing the hotel reconciliation resource. @@ -125,20 +108,12 @@ message HotelReconciliation { // booking can't be modified. bool billed = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/hotel_reconciliation.proto - // Required. Output only. Current status of a booking with regards to reconciliation and billing. - // Bookings should be reconciled within 45 days after the check-out date. - // Any booking not reconciled within 45 days will be billed at its original - // value. - google.ads.googleads.v12.enums.HotelReconciliationStatusEnum.HotelReconciliationStatus status = 10 [ -======== // Required. Output only. Current status of a booking with regards to // reconciliation and billing. Bookings should be reconciled within 45 days // after the check-out date. Any booking not reconciled within 45 days will be // billed at its original value. google.ads.googleads.v15.enums.HotelReconciliationStatusEnum .HotelReconciliationStatus status = 10 [ ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/hotel_reconciliation.proto (google.api.field_behavior) = REQUIRED, (google.api.field_behavior) = OUTPUT_ONLY ]; diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/income_range_view.proto b/third_party/googleapis/google/ads/googleads/v15/resources/income_range_view.proto index 4ea286f83..8195fe445 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/income_range_view.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/income_range_view.proto @@ -14,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/income_range_view.proto -package google.ads.googleads.v13.resources; -======== package google.ads.googleads.v15.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/income_range_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/income_range_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "IncomeRangeViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; @@ -41,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/income_range_view.proto // Proto file describing the income range view resource. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/keyword_plan.proto b/third_party/googleapis/google/ads/googleads/v15/resources/keyword_plan.proto index f7a93534e..7ba878af5 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/keyword_plan.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/keyword_plan.proto @@ -14,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/keyword_plan.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/dates.proto"; -import "google/ads/googleads/v12/enums/keyword_plan_forecast_interval.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/common/dates.proto"; @@ -46,7 +29,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/keyword_plan.proto // Proto file describing the keyword plan resource. @@ -88,22 +70,14 @@ message KeywordPlanForecastPeriod { // Required. The date used for forecasting the Plan. oneof interval { // A future date range relative to the current date used for forecasting. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/keyword_plan.proto - google.ads.googleads.v12.enums.KeywordPlanForecastIntervalEnum.KeywordPlanForecastInterval date_interval = 1; -======== google.ads.googleads.v15.enums.KeywordPlanForecastIntervalEnum .KeywordPlanForecastInterval date_interval = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/keyword_plan.proto // The custom date range used for forecasting. It cannot be greater than // a year. // The start and end dates must be in the future. Otherwise, an error will // be returned when the forecasting action is performed. // The start and end dates are inclusive. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/keyword_plan.proto - google.ads.googleads.v12.common.DateRange date_range = 2; -======== google.ads.googleads.v15.common.DateRange date_range = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/keyword_plan.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/keyword_plan_ad_group.proto b/third_party/googleapis/google/ads/googleads/v15/resources/keyword_plan_ad_group.proto index 4660b8779..84e4909cb 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/keyword_plan_ad_group.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/keyword_plan_ad_group.proto @@ -14,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/keyword_plan_ad_group.proto -package google.ads.googleads.v12.resources; -======== package google.ads.googleads.v15.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/keyword_plan_ad_group.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/keyword_plan_ad_group.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanAdGroupProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; @@ -41,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/keyword_plan_ad_group.proto // Proto file describing the keyword plan ad group resource. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/keyword_plan_ad_group_keyword.proto b/third_party/googleapis/google/ads/googleads/v15/resources/keyword_plan_ad_group_keyword.proto index 0d9b746bf..1906cfc3f 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/keyword_plan_ad_group_keyword.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/keyword_plan_ad_group_keyword.proto @@ -14,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/keyword_plan_ad_group_keyword.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/keyword_match_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanAdGroupKeywordProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/keyword_match_type.proto"; @@ -44,7 +28,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/keyword_plan_ad_group_keyword.proto // Proto file describing the keyword plan ad group keyword resource. @@ -79,12 +62,8 @@ message KeywordPlanAdGroupKeyword { optional string text = 10; // The keyword match type. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/keyword_plan_ad_group_keyword.proto - google.ads.googleads.v12.enums.KeywordMatchTypeEnum.KeywordMatchType match_type = 5; -======== google.ads.googleads.v15.enums.KeywordMatchTypeEnum.KeywordMatchType match_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/keyword_plan_ad_group_keyword.proto // A keyword level max cpc bid in micros (for example, $1 = 1mm). The currency // is the same as the account currency code. This will override any CPC bid diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/keyword_plan_campaign.proto b/third_party/googleapis/google/ads/googleads/v15/resources/keyword_plan_campaign.proto index dd8e19038..564cd96a3 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/keyword_plan_campaign.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/keyword_plan_campaign.proto @@ -14,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/keyword_plan_campaign.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/keyword_plan_network.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanCampaignProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/keyword_plan_network.proto"; @@ -44,7 +28,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/keyword_plan_campaign.proto // Proto file describing the keyword plan campaign resource. @@ -91,12 +74,8 @@ message KeywordPlanCampaign { // // This field is required and should not be empty when creating Keyword Plan // campaigns. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/keyword_plan_campaign.proto - google.ads.googleads.v12.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork keyword_plan_network = 6; -======== google.ads.googleads.v15.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork keyword_plan_network = 6; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/keyword_plan_campaign.proto // A default max cpc bid in micros, and in the account currency, for all ad // groups under the campaign. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/keyword_plan_campaign_keyword.proto b/third_party/googleapis/google/ads/googleads/v15/resources/keyword_plan_campaign_keyword.proto index e5cd31b82..4b3952943 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/keyword_plan_campaign_keyword.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/keyword_plan_campaign_keyword.proto @@ -14,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/keyword_plan_campaign_keyword.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/keyword_match_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanCampaignKeywordProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/keyword_match_type.proto"; @@ -44,7 +28,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/keyword_plan_campaign_keyword.proto // Proto file describing the keyword plan negative keyword resource. @@ -79,12 +62,8 @@ message KeywordPlanCampaignKeyword { optional string text = 10; // The keyword match type. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/keyword_plan_campaign_keyword.proto - google.ads.googleads.v12.enums.KeywordMatchTypeEnum.KeywordMatchType match_type = 5; -======== google.ads.googleads.v15.enums.KeywordMatchTypeEnum.KeywordMatchType match_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/keyword_plan_campaign_keyword.proto // Immutable. If true, the keyword is negative. // Must be set to true. Only negative campaign keywords are supported. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/keyword_theme_constant.proto b/third_party/googleapis/google/ads/googleads/v15/resources/keyword_theme_constant.proto index 85620b460..5e6e8711b 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/keyword_theme_constant.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/keyword_theme_constant.proto @@ -14,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/keyword_theme_constant.proto -package google.ads.googleads.v12.resources; -======== package google.ads.googleads.v15.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/keyword_theme_constant.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/keyword_theme_constant.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "KeywordThemeConstantProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; @@ -41,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/keyword_theme_constant.proto // Proto file describing the Smart Campaign keyword theme constant resource. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/keyword_view.proto b/third_party/googleapis/google/ads/googleads/v15/resources/keyword_view.proto index a47156fe9..5d1f15c04 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/keyword_view.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/keyword_view.proto @@ -14,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/keyword_view.proto -package google.ads.googleads.v13.resources; -======== package google.ads.googleads.v15.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/keyword_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/keyword_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "KeywordViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; @@ -41,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/keyword_view.proto // Proto file describing the keyword view resource. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/label.proto b/third_party/googleapis/google/ads/googleads/v15/resources/label.proto index 1a73aaedb..12c74ac42 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/label.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/label.proto @@ -14,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/label.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/text_label.proto"; -import "google/ads/googleads/v12/enums/label_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "LabelProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/common/text_label.proto"; @@ -46,7 +29,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/label.proto // A label. message Label { @@ -74,16 +56,9 @@ message Label { optional string name = 7; // Output only. Status of the label. Read only. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/label.proto - google.ads.googleads.v12.enums.LabelStatusEnum.LabelStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // A type of label displaying text on a colored background. - google.ads.googleads.v12.common.TextLabel text_label = 5; -======== google.ads.googleads.v15.enums.LabelStatusEnum.LabelStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; // A type of label displaying text on a colored background. google.ads.googleads.v15.common.TextLabel text_label = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/label.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/landing_page_view.proto b/third_party/googleapis/google/ads/googleads/v15/resources/landing_page_view.proto index a4b5f3949..58d753fac 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/landing_page_view.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/landing_page_view.proto @@ -14,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/landing_page_view.proto -package google.ads.googleads.v12.resources; -======== package google.ads.googleads.v15.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/landing_page_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/landing_page_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "LandingPageViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; @@ -41,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/landing_page_view.proto // Proto file describing the landing page view resource. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/language_constant.proto b/third_party/googleapis/google/ads/googleads/v15/resources/language_constant.proto index 0c7334281..4456c1199 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/language_constant.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/language_constant.proto @@ -14,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/language_constant.proto -package google.ads.googleads.v13.resources; -======== package google.ads.googleads.v15.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/language_constant.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/language_constant.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "LanguageConstantProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; @@ -41,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/language_constant.proto // Proto file describing the language constant resource. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/lead_form_submission_data.proto b/third_party/googleapis/google/ads/googleads/v15/resources/lead_form_submission_data.proto index fa15fce36..de6c4a5b8 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/lead_form_submission_data.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/lead_form_submission_data.proto @@ -14,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/lead_form_submission_data.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/lead_form_field_user_input_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "LeadFormSubmissionDataProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/lead_form_field_user_input_type.proto"; @@ -44,7 +28,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/lead_form_submission_data.proto // Proto file describing the lead form submission data resource. @@ -91,9 +74,6 @@ message LeadFormSubmissionData { repeated CustomLeadFormSubmissionField custom_lead_form_submission_fields = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Submission data associated with a custom lead form. - repeated CustomLeadFormSubmissionField custom_lead_form_submission_fields = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. AdGroup associated with the submitted lead form. string ad_group = 6 [ (google.api.field_behavior) = OUTPUT_ONLY, @@ -113,27 +93,18 @@ message LeadFormSubmissionData { // Output only. Google Click Id associated with the submissed lead form. string gclid = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/lead_form_submission_data.proto - // Output only. The date and time at which the lead form was submitted. The format is - // "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". -======== // Output only. The date and time at which the lead form was submitted. The // format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 // 12:32:45-08:00". ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/lead_form_submission_data.proto string submission_date_time = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Fields in the submitted lead form. message LeadFormSubmissionField { // Output only. Field type for lead form fields. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/lead_form_submission_data.proto - google.ads.googleads.v12.enums.LeadFormFieldUserInputTypeEnum.LeadFormFieldUserInputType field_type = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.LeadFormFieldUserInputTypeEnum .LeadFormFieldUserInputType field_type = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/lead_form_submission_data.proto // Output only. Field value for lead form fields. string field_value = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -141,19 +112,11 @@ message LeadFormSubmissionField { // Fields in the submitted custom question message CustomLeadFormSubmissionField { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/lead_form_submission_data.proto - // Output only. Question text for custom question, maximum number of characters is 300. - string question_text = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Field value for custom question response, maximum number of characters - // is 70. -======== // Output only. Question text for custom question, maximum number of // characters is 300. string question_text = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Field value for custom question response, maximum number of // characters is 70. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/lead_form_submission_data.proto string field_value = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/life_event.proto b/third_party/googleapis/google/ads/googleads/v15/resources/life_event.proto index fa8e407ea..3eb89ce39 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/life_event.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/life_event.proto @@ -14,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/life_event.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/criterion_category_availability.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "LifeEventProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/common/criterion_category_availability.proto"; @@ -44,7 +28,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/life_event.proto // Proto file describing the Life Event resource. @@ -86,10 +69,6 @@ message LifeEvent { bool launched_to_all = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Availability information of the life event. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/life_event.proto - repeated google.ads.googleads.v12.common.CriterionCategoryAvailability availabilities = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== repeated google.ads.googleads.v15.common.CriterionCategoryAvailability availabilities = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/life_event.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/location_view.proto b/third_party/googleapis/google/ads/googleads/v15/resources/location_view.proto index 6434be6f4..e7856ffba 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/location_view.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/location_view.proto @@ -14,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/location_view.proto -package google.ads.googleads.v13.resources; -======== package google.ads.googleads.v15.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/location_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/location_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "LocationViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; @@ -41,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/location_view.proto // Proto file describing the location view resource. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/managed_placement_view.proto b/third_party/googleapis/google/ads/googleads/v15/resources/managed_placement_view.proto index 1339074cc..d0a851972 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/managed_placement_view.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/managed_placement_view.proto @@ -14,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/managed_placement_view.proto -package google.ads.googleads.v13.resources; -======== package google.ads.googleads.v15.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/managed_placement_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/managed_placement_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ManagedPlacementViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; @@ -41,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/managed_placement_view.proto // Proto file describing the Managed Placement view resource. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/media_file.proto b/third_party/googleapis/google/ads/googleads/v15/resources/media_file.proto index aa45ba58e..1fe1e3690 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/media_file.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/media_file.proto @@ -14,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/media_file.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/media_type.proto"; -import "google/ads/googleads/v12/enums/mime_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "MediaFileProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/media_type.proto"; @@ -46,7 +29,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/media_file.proto // Proto file describing the media file resource. @@ -72,19 +54,12 @@ message MediaFile { optional int64 id = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; // Immutable. Type of the media file. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/media_file.proto - google.ads.googleads.v12.enums.MediaTypeEnum.MediaType type = 5 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. The mime type of the media file. - google.ads.googleads.v12.enums.MimeTypeEnum.MimeType mime_type = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.MediaTypeEnum.MediaType type = 5 [(google.api.field_behavior) = IMMUTABLE]; // Output only. The mime type of the media file. google.ads.googleads.v15.enums.MimeTypeEnum.MimeType mime_type = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/media_file.proto // Immutable. The URL of where the original media file was downloaded from (or // a file name). Only used for media of type AUDIO and IMAGE. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/mobile_app_category_constant.proto b/third_party/googleapis/google/ads/googleads/v15/resources/mobile_app_category_constant.proto index a96b737fc..0bb8c321e 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/mobile_app_category_constant.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/mobile_app_category_constant.proto @@ -14,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/mobile_app_category_constant.proto -package google.ads.googleads.v13.resources; -======== package google.ads.googleads.v15.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/mobile_app_category_constant.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/mobile_app_category_constant.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "MobileAppCategoryConstantProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; @@ -41,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/mobile_app_category_constant.proto // Proto file describing the Mobile App Category Constant resource. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/mobile_device_constant.proto b/third_party/googleapis/google/ads/googleads/v15/resources/mobile_device_constant.proto index a3980ddc8..40b71d1d9 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/mobile_device_constant.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/mobile_device_constant.proto @@ -14,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/mobile_device_constant.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/mobile_device_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "MobileDeviceConstantProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/mobile_device_type.proto"; @@ -44,7 +28,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/mobile_device_constant.proto // Proto file describing the mobile device constant resource. @@ -81,10 +64,6 @@ message MobileDeviceConstant { [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The type of mobile device. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/mobile_device_constant.proto - google.ads.googleads.v12.enums.MobileDeviceTypeEnum.MobileDeviceType type = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.MobileDeviceTypeEnum.MobileDeviceType type = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/mobile_device_constant.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/offline_user_data_job.proto b/third_party/googleapis/google/ads/googleads/v15/resources/offline_user_data_job.proto index fd0ca995a..c48de9309 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/offline_user_data_job.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/offline_user_data_job.proto @@ -14,26 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/offline_user_data_job.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/offline_user_data.proto"; -import "google/ads/googleads/v12/enums/offline_user_data_job_failure_reason.proto"; -import "google/ads/googleads/v12/enums/offline_user_data_job_match_rate_range.proto"; -import "google/ads/googleads/v12/enums/offline_user_data_job_status.proto"; -import "google/ads/googleads/v12/enums/offline_user_data_job_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "OfflineUserDataJobProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/common/offline_user_data.proto"; @@ -52,7 +32,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/offline_user_data_job.proto // Proto file describing the offline user data job resource. @@ -84,15 +63,6 @@ message OfflineUserDataJob { optional int64 external_id = 10 [(google.api.field_behavior) = IMMUTABLE]; // Immutable. Type of the job. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/offline_user_data_job.proto - google.ads.googleads.v12.enums.OfflineUserDataJobTypeEnum.OfflineUserDataJobType type = 4 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. Status of the job. - google.ads.googleads.v12.enums.OfflineUserDataJobStatusEnum.OfflineUserDataJobStatus status = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Reason for the processing failure, if status is FAILED. - google.ads.googleads.v12.enums.OfflineUserDataJobFailureReasonEnum.OfflineUserDataJobFailureReason failure_reason = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.OfflineUserDataJobTypeEnum .OfflineUserDataJobType type = 4 [(google.api.field_behavior) = IMMUTABLE]; @@ -106,7 +76,6 @@ message OfflineUserDataJob { google.ads.googleads.v15.enums.OfflineUserDataJobFailureReasonEnum .OfflineUserDataJobFailureReason failure_reason = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/offline_user_data_job.proto // Output only. Metadata of offline user data job depicting match rate range. OfflineUserDataJobMetadata operation_metadata = 11 @@ -115,12 +84,6 @@ message OfflineUserDataJob { // Metadata of the job. oneof metadata { // Immutable. Metadata for data updates to a CRM-based user list. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/offline_user_data_job.proto - google.ads.googleads.v12.common.CustomerMatchUserListMetadata customer_match_user_list_metadata = 7 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Metadata for store sales data update. - google.ads.googleads.v12.common.StoreSalesMetadata store_sales_metadata = 8 [(google.api.field_behavior) = IMMUTABLE]; -======== google.ads.googleads.v15.common.CustomerMatchUserListMetadata customer_match_user_list_metadata = 7 [(google.api.field_behavior) = IMMUTABLE]; @@ -128,19 +91,11 @@ message OfflineUserDataJob { // Immutable. Metadata for store sales data update. google.ads.googleads.v15.common.StoreSalesMetadata store_sales_metadata = 8 [(google.api.field_behavior) = IMMUTABLE]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/offline_user_data_job.proto } } // Metadata of offline user data job. message OfflineUserDataJobMetadata { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/offline_user_data_job.proto - // Output only. Match rate of the Customer Match user list upload. Describes the estimated - // match rate when the status of the job is "RUNNING" and final match rate - // when the final match rate is available after the status of the job is - // "SUCCESS/FAILED". - google.ads.googleads.v12.enums.OfflineUserDataJobMatchRateRangeEnum.OfflineUserDataJobMatchRateRange match_rate_range = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== // Output only. Match rate of the Customer Match user list upload. Describes // the estimated match rate when the status of the job is "RUNNING" and final // match rate when the final match rate is available after the status of the @@ -148,5 +103,4 @@ message OfflineUserDataJobMetadata { google.ads.googleads.v15.enums.OfflineUserDataJobMatchRateRangeEnum .OfflineUserDataJobMatchRateRange match_rate_range = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/offline_user_data_job.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/operating_system_version_constant.proto b/third_party/googleapis/google/ads/googleads/v15/resources/operating_system_version_constant.proto index 30ba1021c..aa9ab1172 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/operating_system_version_constant.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/operating_system_version_constant.proto @@ -14,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/operating_system_version_constant.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/operating_system_version_operator_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "OperatingSystemVersionConstantProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/operating_system_version_operator_type.proto"; @@ -44,7 +28,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/operating_system_version_constant.proto // Proto file describing the operating system version constant resource. @@ -82,15 +65,9 @@ message OperatingSystemVersionConstant { optional int32 os_minor_version = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/operating_system_version_constant.proto - // Output only. Determines whether this constant represents a single version or a range of - // versions. - google.ads.googleads.v12.enums.OperatingSystemVersionOperatorTypeEnum.OperatingSystemVersionOperatorType operator_type = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== // Output only. Determines whether this constant represents a single version // or a range of versions. google.ads.googleads.v15.enums.OperatingSystemVersionOperatorTypeEnum .OperatingSystemVersionOperatorType operator_type = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/operating_system_version_constant.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/paid_organic_search_term_view.proto b/third_party/googleapis/google/ads/googleads/v15/resources/paid_organic_search_term_view.proto index b8a14c40e..286043b86 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/paid_organic_search_term_view.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/paid_organic_search_term_view.proto @@ -14,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/paid_organic_search_term_view.proto -package google.ads.googleads.v13.resources; -======== package google.ads.googleads.v15.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/paid_organic_search_term_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/paid_organic_search_term_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "PaidOrganicSearchTermViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; @@ -41,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/paid_organic_search_term_view.proto // Proto file describing the PaidOrganicSearchTermView resource. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/parental_status_view.proto b/third_party/googleapis/google/ads/googleads/v15/resources/parental_status_view.proto index b3997c2f9..c7340d1a2 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/parental_status_view.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/parental_status_view.proto @@ -14,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/parental_status_view.proto -package google.ads.googleads.v13.resources; -======== package google.ads.googleads.v15.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/parental_status_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/parental_status_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ParentalStatusViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; @@ -41,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/parental_status_view.proto // Proto file describing the parental status view resource. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/payments_account.proto b/third_party/googleapis/google/ads/googleads/v15/resources/payments_account.proto index 5c83a1da4..61b99e657 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/payments_account.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/payments_account.proto @@ -14,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/payments_account.proto -package google.ads.googleads.v12.resources; -======== package google.ads.googleads.v15.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/payments_account.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/payments_account.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "PaymentsAccountProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; @@ -41,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/payments_account.proto // Proto file describing the PaymentsAccount resource. @@ -81,17 +66,11 @@ message PaymentsAccount { optional string payments_profile_id = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/payments_account.proto - // Output only. A secondary payments profile ID present in uncommon situations, for - // example, when a sequential liability agreement has been arranged. - optional string secondary_payments_profile_id = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== // Output only. A secondary payments profile ID present in uncommon // situations, for example, when a sequential liability agreement has been // arranged. optional string secondary_payments_profile_id = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/payments_account.proto // Output only. Paying manager of this payment account. optional string paying_manager_customer = 13 [ diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/product_group_view.proto b/third_party/googleapis/google/ads/googleads/v15/resources/product_group_view.proto index 9e0c2a8cf..f4ee55b5a 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/product_group_view.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/product_group_view.proto @@ -14,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/product_group_view.proto -package google.ads.googleads.v13.resources; -======== package google.ads.googleads.v15.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/product_group_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/product_group_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ProductGroupViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; @@ -41,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/product_group_view.proto // Proto file describing the ProductGroup View resource. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/remarketing_action.proto b/third_party/googleapis/google/ads/googleads/v15/resources/remarketing_action.proto index bce970bf7..b4c06412a 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/remarketing_action.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/remarketing_action.proto @@ -14,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/remarketing_action.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/tag_snippet.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "RemarketingActionProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/common/tag_snippet.proto"; @@ -44,7 +28,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/remarketing_action.proto // Proto file describing the Remarketing Action resource. @@ -78,10 +61,6 @@ message RemarketingAction { optional string name = 6; // Output only. The snippets used for tracking remarketing actions. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/remarketing_action.proto - repeated google.ads.googleads.v12.common.TagSnippet tag_snippets = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== repeated google.ads.googleads.v15.common.TagSnippet tag_snippets = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/remarketing_action.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/search_term_view.proto b/third_party/googleapis/google/ads/googleads/v15/resources/search_term_view.proto index ce95db3bb..6f9923e7d 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/search_term_view.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/search_term_view.proto @@ -14,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/search_term_view.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/search_term_targeting_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "SearchTermViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/search_term_targeting_status.proto"; @@ -44,7 +28,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/search_term_view.proto // Proto file describing the SearchTermView resource. @@ -80,11 +63,7 @@ message SearchTermView { // Output only. Indicates whether the search term is currently one of your // targeted or excluded keywords. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/search_term_view.proto - google.ads.googleads.v12.enums.SearchTermTargetingStatusEnum.SearchTermTargetingStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.SearchTermTargetingStatusEnum .SearchTermTargetingStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/search_term_view.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/shared_criterion.proto b/third_party/googleapis/google/ads/googleads/v15/resources/shared_criterion.proto index ea03e6c4f..cfc097143 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/shared_criterion.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/shared_criterion.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/shared_criterion.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/shared_criterion.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/shared_criterion.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/criteria.proto"; -import "google/ads/googleads/v13/enums/criterion_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "SharedCriterionProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/common/criteria.proto"; @@ -50,7 +29,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/shared_criterion.proto // Proto file describing the SharedCriterion resource. @@ -86,11 +64,7 @@ message SharedCriterion { optional int64 criterion_id = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The type of the criterion. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/shared_criterion.proto - google.ads.googleads.v13.enums.CriterionTypeEnum.CriterionType type = 4 -======== google.ads.googleads.v15.enums.CriterionTypeEnum.CriterionType type = 4 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/shared_criterion.proto [(google.api.field_behavior) = OUTPUT_ONLY]; // The criterion. @@ -98,29 +72,6 @@ message SharedCriterion { // Exactly one must be set. oneof criterion { // Immutable. Keyword. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/shared_criterion.proto - google.ads.googleads.v13.common.KeywordInfo keyword = 3 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. YouTube Video. - google.ads.googleads.v13.common.YouTubeVideoInfo youtube_video = 5 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. YouTube Channel. - google.ads.googleads.v13.common.YouTubeChannelInfo youtube_channel = 6 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Placement. - google.ads.googleads.v13.common.PlacementInfo placement = 7 - [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Mobile App Category. - google.ads.googleads.v13.common.MobileAppCategoryInfo mobile_app_category = - 8 [(google.api.field_behavior) = IMMUTABLE]; - - // Immutable. Mobile application. - google.ads.googleads.v13.common.MobileApplicationInfo mobile_application = 9 -======== google.ads.googleads.v15.common.KeywordInfo keyword = 3 [(google.api.field_behavior) = IMMUTABLE]; @@ -146,7 +97,6 @@ message SharedCriterion { // Immutable. Brand. google.ads.googleads.v15.common.BrandInfo brand = 12 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/shared_criterion.proto [(google.api.field_behavior) = IMMUTABLE]; } } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/shared_set.proto b/third_party/googleapis/google/ads/googleads/v15/resources/shared_set.proto index 824542520..a101dd7bc 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/shared_set.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/shared_set.proto @@ -14,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/shared_set.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/shared_set_status.proto"; -import "google/ads/googleads/v12/enums/shared_set_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "SharedSetProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/enums/shared_set_status.proto"; @@ -46,7 +29,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/shared_set.proto // Proto file describing the SharedSet resource. @@ -72,16 +54,10 @@ message SharedSet { // Output only. The ID of this shared set. Read only. optional int64 id = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/shared_set.proto - // Immutable. The type of this shared set: each shared set holds only a single kind - // of resource. Required. Immutable. - google.ads.googleads.v12.enums.SharedSetTypeEnum.SharedSetType type = 3 [(google.api.field_behavior) = IMMUTABLE]; -======== // Immutable. The type of this shared set: each shared set holds only a single // kind of resource. Required. Immutable. google.ads.googleads.v15.enums.SharedSetTypeEnum.SharedSetType type = 3 [(google.api.field_behavior) = IMMUTABLE]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/shared_set.proto // The name of this shared set. Required. // Shared Sets must have names that are unique among active shared sets of @@ -91,12 +67,8 @@ message SharedSet { optional string name = 9; // Output only. The status of this shared set. Read only. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/shared_set.proto - google.ads.googleads.v12.enums.SharedSetStatusEnum.SharedSetStatus status = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.SharedSetStatusEnum.SharedSetStatus status = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/shared_set.proto // Output only. The number of shared criteria within this shared set. Read // only. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/shopping_performance_view.proto b/third_party/googleapis/google/ads/googleads/v15/resources/shopping_performance_view.proto index 90079e6ce..e6625184a 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/shopping_performance_view.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/shopping_performance_view.proto @@ -14,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/shopping_performance_view.proto -package google.ads.googleads.v13.resources; -======== package google.ads.googleads.v15.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/shopping_performance_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/shopping_performance_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ShoppingPerformanceViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; @@ -41,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/shopping_performance_view.proto // Proto file describing the ShoppingPerformanceView resource. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/smart_campaign_search_term_view.proto b/third_party/googleapis/google/ads/googleads/v15/resources/smart_campaign_search_term_view.proto index 44ddd30e1..a35fef148 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/smart_campaign_search_term_view.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/smart_campaign_search_term_view.proto @@ -14,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/smart_campaign_search_term_view.proto -package google.ads.googleads.v13.resources; -======== package google.ads.googleads.v15.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/smart_campaign_search_term_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/smart_campaign_search_term_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "SmartCampaignSearchTermViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; @@ -41,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/smart_campaign_search_term_view.proto // Proto file describing the SmartCampaignSearchTermView resource. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/smart_campaign_setting.proto b/third_party/googleapis/google/ads/googleads/v15/resources/smart_campaign_setting.proto index 6dd3ca3ab..140fde951 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/smart_campaign_setting.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/smart_campaign_setting.proto @@ -14,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/smart_campaign_setting.proto -package google.ads.googleads.v12.resources; -======== package google.ads.googleads.v15.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/smart_campaign_setting.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/smart_campaign_setting.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "SmartCampaignSettingProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; @@ -41,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/smart_campaign_setting.proto // Proto file describing the Smart campaign setting resource. @@ -92,13 +77,9 @@ message SmartCampaignSetting { // Phone number and country code. PhoneNumber phone_number = 3; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/smart_campaign_setting.proto - // The ISO-639-1 language code to advertise in. -======== // The language code to advertise in from the set of // [supported language codes] // (https://developers.google.com/google-ads/api/reference/data/codes-formats#languages). ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/smart_campaign_setting.proto string advertising_language_code = 7; // The landing page of this campaign. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/third_party_app_analytics_link.proto b/third_party/googleapis/google/ads/googleads/v15/resources/third_party_app_analytics_link.proto index 73608e04d..bd0c2a40a 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/third_party_app_analytics_link.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/third_party_app_analytics_link.proto @@ -14,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/third_party_app_analytics_link.proto -package google.ads.googleads.v12.resources; -======== package google.ads.googleads.v15.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/third_party_app_analytics_link.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/third_party_app_analytics_link.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ThirdPartyAppAnalyticsLinkProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; @@ -41,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/third_party_app_analytics_link.proto // A data sharing connection, allowing the import of third party app analytics // into a Google Ads Customer. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/topic_constant.proto b/third_party/googleapis/google/ads/googleads/v15/resources/topic_constant.proto index d226f4e31..646b68938 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/topic_constant.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/topic_constant.proto @@ -14,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/topic_constant.proto -package google.ads.googleads.v12.resources; -======== package google.ads.googleads.v15.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/topic_constant.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/topic_constant.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "TopicConstantProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; @@ -41,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/topic_constant.proto // Proto file describing the Topic Constant resource. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/topic_view.proto b/third_party/googleapis/google/ads/googleads/v15/resources/topic_view.proto index edf605bbe..8a826282a 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/topic_view.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/topic_view.proto @@ -14,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/topic_view.proto -package google.ads.googleads.v13.resources; -======== package google.ads.googleads.v15.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/topic_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/topic_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "TopicViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; @@ -41,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/topic_view.proto // Proto file describing the topic view resource. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/user_interest.proto b/third_party/googleapis/google/ads/googleads/v15/resources/user_interest.proto index bb6296d29..b64bce29a 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/user_interest.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/user_interest.proto @@ -14,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/user_interest.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/criterion_category_availability.proto"; -import "google/ads/googleads/v12/enums/user_interest_taxonomy_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "UserInterestProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/common/criterion_category_availability.proto"; @@ -46,7 +29,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/user_interest.proto // Proto file describing the User Interest resource. @@ -69,13 +51,9 @@ message UserInterest { ]; // Output only. Taxonomy type of the user interest. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/user_interest.proto - google.ads.googleads.v12.enums.UserInterestTaxonomyTypeEnum.UserInterestTaxonomyType taxonomy_type = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.googleads.v15.enums.UserInterestTaxonomyTypeEnum .UserInterestTaxonomyType taxonomy_type = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/user_interest.proto // Output only. The ID of the user interest. optional int64 user_interest_id = 8 @@ -98,10 +76,6 @@ message UserInterest { [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Availability information of the user interest. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/user_interest.proto - repeated google.ads.googleads.v12.common.CriterionCategoryAvailability availabilities = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== repeated google.ads.googleads.v15.common.CriterionCategoryAvailability availabilities = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/user_interest.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/user_list.proto b/third_party/googleapis/google/ads/googleads/v15/resources/user_list.proto index ee29f9807..89c756873 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/user_list.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/user_list.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/user_list.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/user_list.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,28 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/user_list.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/common/user_lists.proto"; -import "google/ads/googleads/v13/enums/access_reason.proto"; -import "google/ads/googleads/v13/enums/user_list_access_status.proto"; -import "google/ads/googleads/v13/enums/user_list_closing_reason.proto"; -import "google/ads/googleads/v13/enums/user_list_membership_status.proto"; -import "google/ads/googleads/v13/enums/user_list_size_range.proto"; -import "google/ads/googleads/v13/enums/user_list_type.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "UserListProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.googleads.v15.resources; import "google/ads/googleads/v15/common/user_lists.proto"; @@ -60,7 +34,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/user_list.proto // Proto file describing the User List resource. @@ -102,11 +75,7 @@ message UserList { // Membership status of this user list. Indicates whether a user list is open // or active. Only open user lists can accumulate more users and can be // targeted to. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/user_list.proto - google.ads.googleads.v13.enums.UserListMembershipStatusEnum -======== google.ads.googleads.v15.enums.UserListMembershipStatusEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/user_list.proto .UserListMembershipStatus membership_status = 6; // An ID from external system. It is used by user list sellers to correlate @@ -133,11 +102,7 @@ message UserList { // Google Display Network. // // This field is read-only. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/user_list.proto - google.ads.googleads.v13.enums.UserListSizeRangeEnum.UserListSizeRange -======== google.ads.googleads.v15.enums.UserListSizeRangeEnum.UserListSizeRange ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/user_list.proto size_range_for_display = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Estimated number of users in this user list in the google.com @@ -152,53 +117,33 @@ message UserList { // Search ads. // // This field is read-only. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/user_list.proto - google.ads.googleads.v13.enums.UserListSizeRangeEnum.UserListSizeRange -======== google.ads.googleads.v15.enums.UserListSizeRangeEnum.UserListSizeRange ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/user_list.proto size_range_for_search = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Type of this list. // // This field is read-only. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/user_list.proto - google.ads.googleads.v13.enums.UserListTypeEnum.UserListType type = 13 -======== google.ads.googleads.v15.enums.UserListTypeEnum.UserListType type = 13 ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/user_list.proto [(google.api.field_behavior) = OUTPUT_ONLY]; // Indicating the reason why this user list membership status is closed. It is // only populated on lists that were automatically closed due to inactivity, // and will be cleared once the list membership status becomes open. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/user_list.proto - google.ads.googleads.v13.enums.UserListClosingReasonEnum.UserListClosingReason -======== google.ads.googleads.v15.enums.UserListClosingReasonEnum.UserListClosingReason ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/user_list.proto closing_reason = 14; // Output only. Indicates the reason this account has been granted access to // the list. The reason can be SHARED, OWNED, LICENSED or SUBSCRIBED. // // This field is read-only. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/user_list.proto - google.ads.googleads.v13.enums.AccessReasonEnum.AccessReason access_reason = -======== google.ads.googleads.v15.enums.AccessReasonEnum.AccessReason access_reason = ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/user_list.proto 15 [(google.api.field_behavior) = OUTPUT_ONLY]; // Indicates if this share is still enabled. When a UserList is shared with // the user this field is set to ENABLED. Later the userList owner can decide // to revoke the share and make it DISABLED. // The default value of this field is set to ENABLED. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/user_list.proto - google.ads.googleads.v13.enums.UserListAccessStatusEnum.UserListAccessStatus -======== google.ads.googleads.v15.enums.UserListAccessStatusEnum.UserListAccessStatus ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/user_list.proto account_user_list_status = 16; // Indicates if this user list is eligible for Google Search Network. @@ -224,29 +169,11 @@ message UserList { // Exactly one must be set. oneof user_list { // User list of CRM users provided by the advertiser. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/user_list.proto - google.ads.googleads.v13.common.CrmBasedUserListInfo crm_based_user_list = -======== google.ads.googleads.v15.common.CrmBasedUserListInfo crm_based_user_list = ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/user_list.proto 19; // Output only. User list which are similar to users from another UserList. // These lists are readonly and automatically created by google. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/user_list.proto - google.ads.googleads.v13.common.SimilarUserListInfo similar_user_list = 20 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // User list generated by a rule. - google.ads.googleads.v13.common.RuleBasedUserListInfo rule_based_user_list = - 21; - - // User list that is a custom combination of user lists and user interests. - google.ads.googleads.v13.common.LogicalUserListInfo logical_user_list = 22; - - // User list targeting as a collection of conversion or remarketing actions. - google.ads.googleads.v13.common.BasicUserListInfo basic_user_list = 23; -======== google.ads.googleads.v15.common.SimilarUserListInfo similar_user_list = 20 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -263,6 +190,5 @@ message UserList { // Immutable. Lookalike User List. google.ads.googleads.v15.common.LookalikeUserListInfo lookalike_user_list = 36 [(google.api.field_behavior) = IMMUTABLE]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/user_list.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/user_location_view.proto b/third_party/googleapis/google/ads/googleads/v15/resources/user_location_view.proto index 711252ca7..274fa1055 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/user_location_view.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/user_location_view.proto @@ -14,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/user_location_view.proto -package google.ads.googleads.v12.resources; -======== package google.ads.googleads.v15.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/user_location_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/user_location_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "UserLocationViewProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; @@ -41,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/user_location_view.proto // Proto file describing the user location view resource. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/video.proto b/third_party/googleapis/google/ads/googleads/v15/resources/video.proto index 6eb2143a5..6a443cf91 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/video.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/video.proto @@ -14,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/video.proto -package google.ads.googleads.v12.resources; -======== package google.ads.googleads.v15.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/video.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/video.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "VideoProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; @@ -41,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/video.proto // Proto file describing the video resource. diff --git a/third_party/googleapis/google/ads/googleads/v15/resources/webpage_view.proto b/third_party/googleapis/google/ads/googleads/v15/resources/webpage_view.proto index eb42094cb..3ebb32b10 100644 --- a/third_party/googleapis/google/ads/googleads/v15/resources/webpage_view.proto +++ b/third_party/googleapis/google/ads/googleads/v15/resources/webpage_view.proto @@ -14,25 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/webpage_view.proto -package google.ads.googleads.v13.resources; -======== package google.ads.googleads.v15.resources; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/webpage_view.proto import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/webpage_view.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "WebpageViewProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Resources"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/resources;resources"; option java_multiple_files = true; @@ -41,7 +27,6 @@ option java_package = "com.google.ads.googleads.v15.resources"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Resources"; option ruby_package = "Google::Ads::GoogleAds::V15::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/resources/webpage_view.proto // Proto file describing the webpage view resource. diff --git a/third_party/googleapis/google/ads/googleads/v15/services/BUILD.bazel b/third_party/googleapis/google/ads/googleads/v15/services/BUILD.bazel index 1b865f681..1dfe451f4 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/BUILD.bazel +++ b/third_party/googleapis/google/ads/googleads/v15/services/BUILD.bazel @@ -27,17 +27,10 @@ proto_library( name = "services_proto", srcs = glob(["*.proto"]), deps = [ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/BUILD.bazel - "//google/ads/googleads/v13/common:common_proto", - "//google/ads/googleads/v13/enums:enums_proto", - "//google/ads/googleads/v13/errors:errors_proto", - "//google/ads/googleads/v13/resources:resources_proto", -======== "//google/ads/googleads/v15/common:common_proto", "//google/ads/googleads/v15/enums:enums_proto", "//google/ads/googleads/v15/errors:errors_proto", "//google/ads/googleads/v15/resources:resources_proto", ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/BUILD.bazel "//google/api:annotations_proto", "//google/api:client_proto", "//google/api:field_behavior_proto", diff --git a/third_party/googleapis/google/ads/googleads/v15/services/account_budget_proposal_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/account_budget_proposal_service.proto index 9907ca5a1..5a5afb497 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/account_budget_proposal_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/account_budget_proposal_service.proto @@ -14,31 +14,15 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/account_budget_proposal_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/account_budget_proposal.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/resources/account_budget_proposal.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/account_budget_proposal_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/account_budget_proposal_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AccountBudgetProposalServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -47,7 +31,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/account_budget_proposal_service.proto // Proto file describing the AccountBudgetProposal service. @@ -84,11 +67,7 @@ service AccountBudgetProposalService { rpc MutateAccountBudgetProposal(MutateAccountBudgetProposalRequest) returns (MutateAccountBudgetProposalResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/account_budget_proposal_service.proto - post: "/v12/customers/{customer_id=*}/accountBudgetProposals:mutate" -======== post: "/v15/customers/{customer_id=*}/accountBudgetProposals:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/account_budget_proposal_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operation"; @@ -96,11 +75,7 @@ service AccountBudgetProposalService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/account_budget_proposal_service.proto -// [AccountBudgetProposalService.MutateAccountBudgetProposal][google.ads.googleads.v12.services.AccountBudgetProposalService.MutateAccountBudgetProposal]. -======== // [AccountBudgetProposalService.MutateAccountBudgetProposal][google.ads.googleads.v15.services.AccountBudgetProposalService.MutateAccountBudgetProposal]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/account_budget_proposal_service.proto message MutateAccountBudgetProposalRequest { // Required. The ID of the customer. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -132,11 +107,7 @@ message AccountBudgetProposalOperation { // existing budget, end an actively running budget, or remove an approved // budget scheduled to start in the future. // No resource name is expected for the new proposal. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/account_budget_proposal_service.proto - google.ads.googleads.v12.resources.AccountBudgetProposal create = 2; -======== google.ads.googleads.v15.resources.AccountBudgetProposal create = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/account_budget_proposal_service.proto // Remove operation: A resource name for the removed proposal is expected, // in this format: diff --git a/third_party/googleapis/google/ads/googleads/v15/services/account_link_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/account_link_service.proto index 38c0a78d7..371372605 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/account_link_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/account_link_service.proto @@ -14,15 +14,9 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/account_link_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/account_link.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/resources/account_link.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/account_link_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -30,16 +24,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/account_link_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AccountLinkServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -48,7 +32,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/account_link_service.proto // This service allows management of links between Google Ads accounts and other // accounts. @@ -72,11 +55,7 @@ service AccountLinkService { rpc CreateAccountLink(CreateAccountLinkRequest) returns (CreateAccountLinkResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/account_link_service.proto - post: "/v12/customers/{customer_id=*}/accountLinks:create" -======== post: "/v15/customers/{customer_id=*}/accountLinks:create" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/account_link_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,account_link"; @@ -100,11 +79,7 @@ service AccountLinkService { rpc MutateAccountLink(MutateAccountLinkRequest) returns (MutateAccountLinkResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/account_link_service.proto - post: "/v12/customers/{customer_id=*}/accountLinks:mutate" -======== post: "/v15/customers/{customer_id=*}/accountLinks:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/account_link_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operation"; @@ -112,30 +87,18 @@ service AccountLinkService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/account_link_service.proto -// [AccountLinkService.CreateAccountLink][google.ads.googleads.v12.services.AccountLinkService.CreateAccountLink]. -======== // [AccountLinkService.CreateAccountLink][google.ads.googleads.v15.services.AccountLinkService.CreateAccountLink]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/account_link_service.proto message CreateAccountLinkRequest { // Required. The ID of the customer for which the account link is created. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; // Required. The account link to be created. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/account_link_service.proto - google.ads.googleads.v12.resources.AccountLink account_link = 2 [(google.api.field_behavior) = REQUIRED]; -} - -// Response message for -// [AccountLinkService.CreateAccountLink][google.ads.googleads.v12.services.AccountLinkService.CreateAccountLink]. -======== google.ads.googleads.v15.resources.AccountLink account_link = 2 [(google.api.field_behavior) = REQUIRED]; } // Response message for // [AccountLinkService.CreateAccountLink][google.ads.googleads.v15.services.AccountLinkService.CreateAccountLink]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/account_link_service.proto message CreateAccountLinkResponse { // Returned for successful operations. Resource name of the account link. string resource_name = 1 [(google.api.resource_reference) = { @@ -143,12 +106,8 @@ message CreateAccountLinkResponse { }]; } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/account_link_service.proto -// Request message for [AccountLinkService.MutateAccountLink][google.ads.googleads.v12.services.AccountLinkService.MutateAccountLink]. -======== // Request message for // [AccountLinkService.MutateAccountLink][google.ads.googleads.v15.services.AccountLinkService.MutateAccountLink]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/account_link_service.proto message MutateAccountLinkRequest { // Required. The ID of the customer being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -176,11 +135,7 @@ message AccountLinkOperation { oneof operation { // Update operation: The account link is expected to have // a valid resource name. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/account_link_service.proto - google.ads.googleads.v12.resources.AccountLink update = 2; -======== google.ads.googleads.v15.resources.AccountLink update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/account_link_service.proto // Remove operation: A resource name for the account link to remove is // expected, in this format: diff --git a/third_party/googleapis/google/ads/googleads/v15/services/ad_group_ad_label_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/ad_group_ad_label_service.proto index fcc070d36..c66531f38 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/ad_group_ad_label_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/ad_group_ad_label_service.proto @@ -14,31 +14,15 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_ad_label_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/ad_group_ad_label.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/resources/ad_group_ad_label.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_ad_label_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_ad_label_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAdLabelServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -47,7 +31,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_ad_label_service.proto // Proto file describing the Ad Group Ad Label service. @@ -73,23 +56,15 @@ service AdGroupAdLabelService { rpc MutateAdGroupAdLabels(MutateAdGroupAdLabelsRequest) returns (MutateAdGroupAdLabelsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_ad_label_service.proto - post: "/v12/customers/{customer_id=*}/adGroupAdLabels:mutate" -======== post: "/v15/customers/{customer_id=*}/adGroupAdLabels:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_ad_label_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_ad_label_service.proto -// Request message for [AdGroupAdLabelService.MutateAdGroupAdLabels][google.ads.googleads.v12.services.AdGroupAdLabelService.MutateAdGroupAdLabels]. -======== // Request message for // [AdGroupAdLabelService.MutateAdGroupAdLabels][google.ads.googleads.v15.services.AdGroupAdLabelService.MutateAdGroupAdLabels]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_ad_label_service.proto message MutateAdGroupAdLabelsRequest { // Required. ID of the customer whose ad group ad labels are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -115,11 +90,7 @@ message AdGroupAdLabelOperation { oneof operation { // Create operation: No resource name is expected for the new ad group ad // label. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_ad_label_service.proto - google.ads.googleads.v12.resources.AdGroupAdLabel create = 1; -======== google.ads.googleads.v15.resources.AdGroupAdLabel create = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_ad_label_service.proto // Remove operation: A resource name for the ad group ad label // being removed, in this format: diff --git a/third_party/googleapis/google/ads/googleads/v15/services/ad_group_ad_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/ad_group_ad_service.proto index 9f7e61c3c..2598b9d8f 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/ad_group_ad_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/ad_group_ad_service.proto @@ -14,19 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_ad_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/common/policy.proto"; -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/ad_group_ad.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/common/policy.proto"; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/ad_group_ad.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_ad_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -34,16 +26,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_ad_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAdServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -52,7 +34,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_ad_service.proto // Proto file describing the Ad Group Ad service. @@ -110,23 +91,15 @@ service AdGroupAdService { rpc MutateAdGroupAds(MutateAdGroupAdsRequest) returns (MutateAdGroupAdsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_ad_service.proto - post: "/v12/customers/{customer_id=*}/adGroupAds:mutate" -======== post: "/v15/customers/{customer_id=*}/adGroupAds:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_ad_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_ad_service.proto -// Request message for [AdGroupAdService.MutateAdGroupAds][google.ads.googleads.v12.services.AdGroupAdService.MutateAdGroupAds]. -======== // Request message for // [AdGroupAdService.MutateAdGroupAds][google.ads.googleads.v15.services.AdGroupAdService.MutateAdGroupAds]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_ad_service.proto message MutateAdGroupAdsRequest { // Required. The ID of the customer whose ads are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -147,12 +120,8 @@ message MutateAdGroupAdsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_ad_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_ad_service.proto } // A single operation (create, update, remove) on an ad group ad. @@ -161,27 +130,16 @@ message AdGroupAdOperation { google.protobuf.FieldMask update_mask = 4; // Configuration for how policies are validated. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_ad_service.proto - google.ads.googleads.v12.common.PolicyValidationParameter policy_validation_parameter = 5; -======== google.ads.googleads.v15.common.PolicyValidationParameter policy_validation_parameter = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_ad_service.proto // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new ad. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_ad_service.proto - google.ads.googleads.v12.resources.AdGroupAd create = 1; - - // Update operation: The ad is expected to have a valid resource name. - google.ads.googleads.v12.resources.AdGroupAd update = 2; -======== google.ads.googleads.v15.resources.AdGroupAd create = 1; // Update operation: The ad is expected to have a valid resource name. google.ads.googleads.v15.resources.AdGroupAd update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_ad_service.proto // Remove operation: A resource name for the removed ad is expected, // in this format: @@ -215,9 +173,5 @@ message MutateAdGroupAdResult { // The mutated ad group ad with only mutable fields after mutate. The field // will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_ad_service.proto - google.ads.googleads.v12.resources.AdGroupAd ad_group_ad = 2; -======== google.ads.googleads.v15.resources.AdGroupAd ad_group_ad = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_ad_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/ad_group_asset_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/ad_group_asset_service.proto index 3d541dde1..4ee6a8e7a 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/ad_group_asset_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/ad_group_asset_service.proto @@ -14,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_asset_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/ad_group_asset.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/ad_group_asset.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_asset_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -32,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_asset_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAssetServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -50,7 +33,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_asset_service.proto // Proto file describing the AdGroupAsset service. @@ -77,23 +59,15 @@ service AdGroupAssetService { rpc MutateAdGroupAssets(MutateAdGroupAssetsRequest) returns (MutateAdGroupAssetsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_asset_service.proto - post: "/v12/customers/{customer_id=*}/adGroupAssets:mutate" -======== post: "/v15/customers/{customer_id=*}/adGroupAssets:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_asset_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_asset_service.proto -// Request message for [AdGroupAssetService.MutateAdGroupAssets][google.ads.googleads.v12.services.AdGroupAssetService.MutateAdGroupAssets]. -======== // Request message for // [AdGroupAssetService.MutateAdGroupAssets][google.ads.googleads.v15.services.AdGroupAssetService.MutateAdGroupAssets]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_asset_service.proto message MutateAdGroupAssetsRequest { // Required. The ID of the customer whose ad group assets are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -114,12 +88,8 @@ message MutateAdGroupAssetsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_asset_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_asset_service.proto } // A single operation (create, update, remove) on an ad group asset. @@ -131,19 +101,11 @@ message AdGroupAssetOperation { oneof operation { // Create operation: No resource name is expected for the new ad group // asset. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_asset_service.proto - google.ads.googleads.v12.resources.AdGroupAsset create = 1; - - // Update operation: The ad group asset is expected to have a valid resource - // name. - google.ads.googleads.v12.resources.AdGroupAsset update = 3; -======== google.ads.googleads.v15.resources.AdGroupAsset create = 1; // Update operation: The ad group asset is expected to have a valid resource // name. google.ads.googleads.v15.resources.AdGroupAsset update = 3; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_asset_service.proto // Remove operation: A resource name for the removed ad group asset is // expected, in this format: @@ -177,9 +139,5 @@ message MutateAdGroupAssetResult { // The mutated ad group asset with only mutable fields after // mutate. The field will only be returned when response_content_type is set // to "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_asset_service.proto - google.ads.googleads.v12.resources.AdGroupAsset ad_group_asset = 2; -======== google.ads.googleads.v15.resources.AdGroupAsset ad_group_asset = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_asset_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/ad_group_bid_modifier_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/ad_group_bid_modifier_service.proto index 7ee2e118e..98c2e5fd7 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/ad_group_bid_modifier_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/ad_group_bid_modifier_service.proto @@ -14,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_bid_modifier_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/ad_group_bid_modifier.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/ad_group_bid_modifier.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_bid_modifier_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -32,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_bid_modifier_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupBidModifierServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -50,7 +33,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_bid_modifier_service.proto // Proto file describing the Ad Group Bid Modifier service. @@ -89,23 +71,15 @@ service AdGroupBidModifierService { rpc MutateAdGroupBidModifiers(MutateAdGroupBidModifiersRequest) returns (MutateAdGroupBidModifiersResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_bid_modifier_service.proto - post: "/v12/customers/{customer_id=*}/adGroupBidModifiers:mutate" -======== post: "/v15/customers/{customer_id=*}/adGroupBidModifiers:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_bid_modifier_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_bid_modifier_service.proto -// Request message for [AdGroupBidModifierService.MutateAdGroupBidModifiers][google.ads.googleads.v12.services.AdGroupBidModifierService.MutateAdGroupBidModifiers]. -======== // Request message for // [AdGroupBidModifierService.MutateAdGroupBidModifiers][google.ads.googleads.v15.services.AdGroupBidModifierService.MutateAdGroupBidModifiers]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_bid_modifier_service.proto message MutateAdGroupBidModifiersRequest { // Required. ID of the customer whose ad group bid modifiers are being // modified. @@ -128,12 +102,8 @@ message MutateAdGroupBidModifiersRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_bid_modifier_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_bid_modifier_service.proto } // A single operation (create, remove, update) on an ad group bid modifier. @@ -145,19 +115,11 @@ message AdGroupBidModifierOperation { oneof operation { // Create operation: No resource name is expected for the new ad group bid // modifier. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_bid_modifier_service.proto - google.ads.googleads.v12.resources.AdGroupBidModifier create = 1; - - // Update operation: The ad group bid modifier is expected to have a valid - // resource name. - google.ads.googleads.v12.resources.AdGroupBidModifier update = 2; -======== google.ads.googleads.v15.resources.AdGroupBidModifier create = 1; // Update operation: The ad group bid modifier is expected to have a valid // resource name. google.ads.googleads.v15.resources.AdGroupBidModifier update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_bid_modifier_service.proto // Remove operation: A resource name for the removed ad group bid modifier // is expected, in this format: @@ -191,10 +153,6 @@ message MutateAdGroupBidModifierResult { // The mutated ad group bid modifier with only mutable fields after mutate. // The field will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_bid_modifier_service.proto - google.ads.googleads.v12.resources.AdGroupBidModifier ad_group_bid_modifier = 2; -======== google.ads.googleads.v15.resources.AdGroupBidModifier ad_group_bid_modifier = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_bid_modifier_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/ad_group_criterion_customizer_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/ad_group_criterion_customizer_service.proto index c522edf2c..ad879752f 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/ad_group_criterion_customizer_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/ad_group_criterion_customizer_service.proto @@ -14,33 +14,16 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_criterion_customizer_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/ad_group_criterion_customizer.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/ad_group_criterion_customizer.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_criterion_customizer_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_criterion_customizer_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionCustomizerServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -49,7 +32,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_criterion_customizer_service.proto // Proto file describing the AdGroupCriterionCustomizer service. @@ -64,11 +46,7 @@ service AdGroupCriterionCustomizerService { MutateAdGroupCriterionCustomizersRequest) returns (MutateAdGroupCriterionCustomizersResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_criterion_customizer_service.proto - post: "/v12/customers/{customer_id=*}/AdGroupCriterionCustomizers:mutate" -======== post: "/v15/customers/{customer_id=*}/AdGroupCriterionCustomizers:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_criterion_customizer_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -76,11 +54,7 @@ service AdGroupCriterionCustomizerService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_criterion_customizer_service.proto -// [AdGroupCriterionCustomizerService.MutateAdGroupCriterionCustomizers][google.ads.googleads.v12.services.AdGroupCriterionCustomizerService.MutateAdGroupCriterionCustomizers]. -======== // [AdGroupCriterionCustomizerService.MutateAdGroupCriterionCustomizers][google.ads.googleads.v15.services.AdGroupCriterionCustomizerService.MutateAdGroupCriterionCustomizers]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_criterion_customizer_service.proto message MutateAdGroupCriterionCustomizersRequest { // Required. The ID of the customer whose ad group criterion customizers are // being modified. @@ -103,12 +77,8 @@ message MutateAdGroupCriterionCustomizersRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_criterion_customizer_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_criterion_customizer_service.proto } // A single operation (create, remove) on a customizer attribute. @@ -117,11 +87,7 @@ message AdGroupCriterionCustomizerOperation { oneof operation { // Create operation: No resource name is expected for the new ad group // criterion customizer. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_criterion_customizer_service.proto - google.ads.googleads.v12.resources.AdGroupCriterionCustomizer create = 1; -======== google.ads.googleads.v15.resources.AdGroupCriterionCustomizer create = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_criterion_customizer_service.proto // Remove operation: A resource name for the removed ad group criterion // customizer is expected, in this format: @@ -155,10 +121,6 @@ message MutateAdGroupCriterionCustomizerResult { // The mutated AdGroupCriterionCustomizer with only mutable fields after // mutate. The field will only be returned when response_content_type is set // to "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_criterion_customizer_service.proto - google.ads.googleads.v12.resources.AdGroupCriterionCustomizer ad_group_criterion_customizer = 2; -======== google.ads.googleads.v15.resources.AdGroupCriterionCustomizer ad_group_criterion_customizer = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_criterion_customizer_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/ad_group_criterion_label_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/ad_group_criterion_label_service.proto index 539687909..4fd42e723 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/ad_group_criterion_label_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/ad_group_criterion_label_service.proto @@ -14,31 +14,15 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_criterion_label_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/ad_group_criterion_label.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/resources/ad_group_criterion_label.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_criterion_label_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_criterion_label_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionLabelServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -47,7 +31,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_criterion_label_service.proto // Proto file describing the Ad Group Criterion Label service. @@ -71,11 +54,7 @@ service AdGroupCriterionLabelService { rpc MutateAdGroupCriterionLabels(MutateAdGroupCriterionLabelsRequest) returns (MutateAdGroupCriterionLabelsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_criterion_label_service.proto - post: "/v12/customers/{customer_id=*}/adGroupCriterionLabels:mutate" -======== post: "/v15/customers/{customer_id=*}/adGroupCriterionLabels:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_criterion_label_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -83,11 +62,7 @@ service AdGroupCriterionLabelService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_criterion_label_service.proto -// [AdGroupCriterionLabelService.MutateAdGroupCriterionLabels][google.ads.googleads.v12.services.AdGroupCriterionLabelService.MutateAdGroupCriterionLabels]. -======== // [AdGroupCriterionLabelService.MutateAdGroupCriterionLabels][google.ads.googleads.v15.services.AdGroupCriterionLabelService.MutateAdGroupCriterionLabels]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_criterion_label_service.proto message MutateAdGroupCriterionLabelsRequest { // Required. ID of the customer whose ad group criterion labels are being // modified. @@ -114,11 +89,7 @@ message AdGroupCriterionLabelOperation { oneof operation { // Create operation: No resource name is expected for the new ad group // label. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_criterion_label_service.proto - google.ads.googleads.v12.resources.AdGroupCriterionLabel create = 1; -======== google.ads.googleads.v15.resources.AdGroupCriterionLabel create = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_criterion_label_service.proto // Remove operation: A resource name for the ad group criterion label // being removed, in this format: diff --git a/third_party/googleapis/google/ads/googleads/v15/services/ad_group_criterion_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/ad_group_criterion_service.proto index 84bf81e5f..6b416b0e3 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/ad_group_criterion_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/ad_group_criterion_service.proto @@ -14,19 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_criterion_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/common/policy.proto"; -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/ad_group_criterion.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/common/policy.proto"; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/ad_group_criterion.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_criterion_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -34,16 +26,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_criterion_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCriterionServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -52,7 +34,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_criterion_service.proto // Proto file describing the Ad Group Criterion service. @@ -100,23 +81,15 @@ service AdGroupCriterionService { rpc MutateAdGroupCriteria(MutateAdGroupCriteriaRequest) returns (MutateAdGroupCriteriaResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_criterion_service.proto - post: "/v12/customers/{customer_id=*}/adGroupCriteria:mutate" -======== post: "/v15/customers/{customer_id=*}/adGroupCriteria:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_criterion_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_criterion_service.proto -// Request message for [AdGroupCriterionService.MutateAdGroupCriteria][google.ads.googleads.v12.services.AdGroupCriterionService.MutateAdGroupCriteria]. -======== // Request message for // [AdGroupCriterionService.MutateAdGroupCriteria][google.ads.googleads.v15.services.AdGroupCriterionService.MutateAdGroupCriteria]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_criterion_service.proto message MutateAdGroupCriteriaRequest { // Required. ID of the customer whose criteria are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -137,12 +110,8 @@ message MutateAdGroupCriteriaRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_criterion_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_criterion_service.proto } // A single operation (create, remove, update) on an ad group criterion. @@ -159,29 +128,17 @@ message AdGroupCriterionOperation { // to serve. They may begin serving at a later time due to a change in // policies, re-review of the resource, or a change in advertiser // certificates. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_criterion_service.proto - repeated google.ads.googleads.v12.common.PolicyViolationKey exempt_policy_violation_keys = 5; -======== repeated google.ads.googleads.v15.common.PolicyViolationKey exempt_policy_violation_keys = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_criterion_service.proto // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new criterion. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_criterion_service.proto - google.ads.googleads.v12.resources.AdGroupCriterion create = 1; - - // Update operation: The criterion is expected to have a valid resource - // name. - google.ads.googleads.v12.resources.AdGroupCriterion update = 2; -======== google.ads.googleads.v15.resources.AdGroupCriterion create = 1; // Update operation: The criterion is expected to have a valid resource // name. google.ads.googleads.v15.resources.AdGroupCriterion update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_criterion_service.proto // Remove operation: A resource name for the removed criterion is expected, // in this format: @@ -215,9 +172,5 @@ message MutateAdGroupCriterionResult { // The mutated ad group criterion with only mutable fields after mutate. The // field will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_criterion_service.proto - google.ads.googleads.v12.resources.AdGroupCriterion ad_group_criterion = 2; -======== google.ads.googleads.v15.resources.AdGroupCriterion ad_group_criterion = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_criterion_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/ad_group_customizer_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/ad_group_customizer_service.proto index 77d7d30ca..f481d33c2 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/ad_group_customizer_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/ad_group_customizer_service.proto @@ -14,33 +14,16 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_customizer_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/ad_group_customizer.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/ad_group_customizer.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_customizer_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_customizer_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupCustomizerServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -49,7 +32,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_customizer_service.proto // Proto file describing the AdGroupCustomizer service. @@ -63,11 +45,7 @@ service AdGroupCustomizerService { rpc MutateAdGroupCustomizers(MutateAdGroupCustomizersRequest) returns (MutateAdGroupCustomizersResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_customizer_service.proto - post: "/v12/customers/{customer_id=*}/adGroupCustomizers:mutate" -======== post: "/v15/customers/{customer_id=*}/adGroupCustomizers:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_customizer_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -75,11 +53,7 @@ service AdGroupCustomizerService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_customizer_service.proto -// [AdGroupCustomizerService.MutateAdGroupCustomizers][google.ads.googleads.v12.services.AdGroupCustomizerService.MutateAdGroupCustomizers]. -======== // [AdGroupCustomizerService.MutateAdGroupCustomizers][google.ads.googleads.v15.services.AdGroupCustomizerService.MutateAdGroupCustomizers]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_customizer_service.proto message MutateAdGroupCustomizersRequest { // Required. The ID of the customer whose ad group customizers are being // modified. @@ -102,12 +76,8 @@ message MutateAdGroupCustomizersRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_customizer_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_customizer_service.proto } // A single operation (create, remove) on a customizer attribute. @@ -116,11 +86,7 @@ message AdGroupCustomizerOperation { oneof operation { // Create operation: No resource name is expected for the new ad group // customizer -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_customizer_service.proto - google.ads.googleads.v12.resources.AdGroupCustomizer create = 1; -======== google.ads.googleads.v15.resources.AdGroupCustomizer create = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_customizer_service.proto // Remove operation: A resource name for the removed ad group customizer is // expected, in this format: @@ -153,9 +119,5 @@ message MutateAdGroupCustomizerResult { // The mutated AdGroupCustomizer with only mutable fields after mutate. // The field will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_customizer_service.proto - google.ads.googleads.v12.resources.AdGroupCustomizer ad_group_customizer = 2; -======== google.ads.googleads.v15.resources.AdGroupCustomizer ad_group_customizer = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_customizer_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/ad_group_extension_setting_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/ad_group_extension_setting_service.proto index 8a26cb3ad..e6a11132f 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/ad_group_extension_setting_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/ad_group_extension_setting_service.proto @@ -14,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_extension_setting_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/ad_group_extension_setting.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/ad_group_extension_setting.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_extension_setting_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -32,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_extension_setting_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupExtensionSettingServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -50,7 +33,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_extension_setting_service.proto // Proto file describing the AdGroupExtensionSetting service. @@ -94,11 +76,7 @@ service AdGroupExtensionSettingService { rpc MutateAdGroupExtensionSettings(MutateAdGroupExtensionSettingsRequest) returns (MutateAdGroupExtensionSettingsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_extension_setting_service.proto - post: "/v12/customers/{customer_id=*}/adGroupExtensionSettings:mutate" -======== post: "/v15/customers/{customer_id=*}/adGroupExtensionSettings:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_extension_setting_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -106,11 +84,7 @@ service AdGroupExtensionSettingService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_extension_setting_service.proto -// [AdGroupExtensionSettingService.MutateAdGroupExtensionSettings][google.ads.googleads.v12.services.AdGroupExtensionSettingService.MutateAdGroupExtensionSettings]. -======== // [AdGroupExtensionSettingService.MutateAdGroupExtensionSettings][google.ads.googleads.v15.services.AdGroupExtensionSettingService.MutateAdGroupExtensionSettings]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_extension_setting_service.proto message MutateAdGroupExtensionSettingsRequest { // Required. The ID of the customer whose ad group extension settings are // being modified. @@ -139,30 +113,18 @@ message AdGroupExtensionSettingOperation { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_extension_setting_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_extension_setting_service.proto // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new ad group // extension setting. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_extension_setting_service.proto - google.ads.googleads.v12.resources.AdGroupExtensionSetting create = 1; - - // Update operation: The ad group extension setting is expected to have a - // valid resource name. - google.ads.googleads.v12.resources.AdGroupExtensionSetting update = 2; -======== google.ads.googleads.v15.resources.AdGroupExtensionSetting create = 1; // Update operation: The ad group extension setting is expected to have a // valid resource name. google.ads.googleads.v15.resources.AdGroupExtensionSetting update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_extension_setting_service.proto // Remove operation: A resource name for the removed ad group extension // setting is expected, in this format: @@ -196,10 +158,6 @@ message MutateAdGroupExtensionSettingResult { // The mutated AdGroupExtensionSetting with only mutable fields after mutate. // The field will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_extension_setting_service.proto - google.ads.googleads.v12.resources.AdGroupExtensionSetting ad_group_extension_setting = 2; -======== google.ads.googleads.v15.resources.AdGroupExtensionSetting ad_group_extension_setting = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_extension_setting_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/ad_group_feed_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/ad_group_feed_service.proto index 7bd470ad0..d231cbe67 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/ad_group_feed_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/ad_group_feed_service.proto @@ -14,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_feed_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/ad_group_feed.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/ad_group_feed.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_feed_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -32,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_feed_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupFeedServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -50,7 +33,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_feed_service.proto // Proto file describing the AdGroupFeed service. @@ -88,23 +70,15 @@ service AdGroupFeedService { rpc MutateAdGroupFeeds(MutateAdGroupFeedsRequest) returns (MutateAdGroupFeedsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_feed_service.proto - post: "/v12/customers/{customer_id=*}/adGroupFeeds:mutate" -======== post: "/v15/customers/{customer_id=*}/adGroupFeeds:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_feed_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_feed_service.proto -// Request message for [AdGroupFeedService.MutateAdGroupFeeds][google.ads.googleads.v12.services.AdGroupFeedService.MutateAdGroupFeeds]. -======== // Request message for // [AdGroupFeedService.MutateAdGroupFeeds][google.ads.googleads.v15.services.AdGroupFeedService.MutateAdGroupFeeds]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_feed_service.proto message MutateAdGroupFeedsRequest { // Required. The ID of the customer whose ad group feeds are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -125,12 +99,8 @@ message MutateAdGroupFeedsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_feed_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_feed_service.proto } // A single operation (create, update, remove) on an ad group feed. @@ -141,19 +111,11 @@ message AdGroupFeedOperation { // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new ad group feed. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_feed_service.proto - google.ads.googleads.v12.resources.AdGroupFeed create = 1; - - // Update operation: The ad group feed is expected to have a valid resource - // name. - google.ads.googleads.v12.resources.AdGroupFeed update = 2; -======== google.ads.googleads.v15.resources.AdGroupFeed create = 1; // Update operation: The ad group feed is expected to have a valid resource // name. google.ads.googleads.v15.resources.AdGroupFeed update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_feed_service.proto // Remove operation: A resource name for the removed ad group feed is // expected, in this format: @@ -187,9 +149,5 @@ message MutateAdGroupFeedResult { // The mutated ad group feed with only mutable fields after mutate. The field // will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_feed_service.proto - google.ads.googleads.v12.resources.AdGroupFeed ad_group_feed = 2; -======== google.ads.googleads.v15.resources.AdGroupFeed ad_group_feed = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_feed_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/ad_group_label_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/ad_group_label_service.proto index e717c227a..2a0b01c42 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/ad_group_label_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/ad_group_label_service.proto @@ -14,31 +14,15 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_label_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/ad_group_label.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/resources/ad_group_label.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_label_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_label_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupLabelServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -47,7 +31,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_label_service.proto // Proto file describing the Ad Group Label service. @@ -74,23 +57,15 @@ service AdGroupLabelService { rpc MutateAdGroupLabels(MutateAdGroupLabelsRequest) returns (MutateAdGroupLabelsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_label_service.proto - post: "/v12/customers/{customer_id=*}/adGroupLabels:mutate" -======== post: "/v15/customers/{customer_id=*}/adGroupLabels:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_label_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_label_service.proto -// Request message for [AdGroupLabelService.MutateAdGroupLabels][google.ads.googleads.v12.services.AdGroupLabelService.MutateAdGroupLabels]. -======== // Request message for // [AdGroupLabelService.MutateAdGroupLabels][google.ads.googleads.v15.services.AdGroupLabelService.MutateAdGroupLabels]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_label_service.proto message MutateAdGroupLabelsRequest { // Required. ID of the customer whose ad group labels are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -116,11 +91,7 @@ message AdGroupLabelOperation { oneof operation { // Create operation: No resource name is expected for the new ad group // label. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_label_service.proto - google.ads.googleads.v12.resources.AdGroupLabel create = 1; -======== google.ads.googleads.v15.resources.AdGroupLabel create = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_label_service.proto // Remove operation: A resource name for the ad group label // being removed, in this format: diff --git a/third_party/googleapis/google/ads/googleads/v15/services/ad_group_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/ad_group_service.proto index dec302b79..44dcec58c 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/ad_group_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/ad_group_service.proto @@ -14,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/ad_group.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/ad_group.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -32,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -50,7 +33,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_service.proto // Proto file describing the Ad Group service. @@ -95,23 +77,15 @@ service AdGroupService { // [UrlFieldError]() rpc MutateAdGroups(MutateAdGroupsRequest) returns (MutateAdGroupsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_service.proto - post: "/v12/customers/{customer_id=*}/adGroups:mutate" -======== post: "/v15/customers/{customer_id=*}/adGroups:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_service.proto -// Request message for [AdGroupService.MutateAdGroups][google.ads.googleads.v12.services.AdGroupService.MutateAdGroups]. -======== // Request message for // [AdGroupService.MutateAdGroups][google.ads.googleads.v15.services.AdGroupService.MutateAdGroups]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_service.proto message MutateAdGroupsRequest { // Required. The ID of the customer whose ad groups are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -132,12 +106,8 @@ message MutateAdGroupsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_service.proto } // A single operation (create, update, remove) on an ad group. @@ -148,17 +118,10 @@ message AdGroupOperation { // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new ad group. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_service.proto - google.ads.googleads.v12.resources.AdGroup create = 1; - - // Update operation: The ad group is expected to have a valid resource name. - google.ads.googleads.v12.resources.AdGroup update = 2; -======== google.ads.googleads.v15.resources.AdGroup create = 1; // Update operation: The ad group is expected to have a valid resource name. google.ads.googleads.v15.resources.AdGroup update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_service.proto // Remove operation: A resource name for the removed ad group is expected, // in this format: @@ -191,9 +154,5 @@ message MutateAdGroupResult { // The mutated ad group with only mutable fields after mutate. The field will // only be returned when response_content_type is set to "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_group_service.proto - google.ads.googleads.v12.resources.AdGroup ad_group = 2; -======== google.ads.googleads.v15.resources.AdGroup ad_group = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_group_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/ad_parameter_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/ad_parameter_service.proto index eac42f66c..418c491e5 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/ad_parameter_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/ad_parameter_service.proto @@ -14,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_parameter_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/ad_parameter.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/ad_parameter.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_parameter_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -32,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_parameter_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdParameterServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -50,7 +33,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_parameter_service.proto // Proto file describing the Ad Parameter service. @@ -78,23 +60,15 @@ service AdParameterService { rpc MutateAdParameters(MutateAdParametersRequest) returns (MutateAdParametersResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_parameter_service.proto - post: "/v12/customers/{customer_id=*}/adParameters:mutate" -======== post: "/v15/customers/{customer_id=*}/adParameters:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_parameter_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_parameter_service.proto -// Request message for [AdParameterService.MutateAdParameters][google.ads.googleads.v12.services.AdParameterService.MutateAdParameters] -======== // Request message for // [AdParameterService.MutateAdParameters][google.ads.googleads.v15.services.AdParameterService.MutateAdParameters] ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_parameter_service.proto message MutateAdParametersRequest { // Required. The ID of the customer whose ad parameters are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -115,12 +89,8 @@ message MutateAdParametersRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_parameter_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_parameter_service.proto } // A single operation (create, update, remove) on ad parameter. @@ -131,19 +101,11 @@ message AdParameterOperation { // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new ad parameter. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_parameter_service.proto - google.ads.googleads.v12.resources.AdParameter create = 1; - - // Update operation: The ad parameter is expected to have a valid resource - // name. - google.ads.googleads.v12.resources.AdParameter update = 2; -======== google.ads.googleads.v15.resources.AdParameter create = 1; // Update operation: The ad parameter is expected to have a valid resource // name. google.ads.googleads.v15.resources.AdParameter update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_parameter_service.proto // Remove operation: A resource name for the ad parameter to remove is // expected in this format: @@ -177,9 +139,5 @@ message MutateAdParameterResult { // The mutated AdParameter with only mutable fields after mutate. The field // will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/ad_parameter_service.proto - google.ads.googleads.v12.resources.AdParameter ad_parameter = 2; -======== google.ads.googleads.v15.resources.AdParameter ad_parameter = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_parameter_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/ad_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/ad_service.proto index 203e3b2bf..a76300aab 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/ad_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/ad_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,19 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/common/policy.proto"; -import "google/ads/googleads/v13/enums/response_content_type.proto"; -import "google/ads/googleads/v13/resources/ad.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/common/policy.proto"; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/ad.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -38,16 +26,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AdServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -56,7 +34,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_service.proto // Proto file describing the Ad service. @@ -74,15 +51,9 @@ service AdService { // [InternalError]() // [QuotaError]() // [RequestError]() -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_service.proto - rpc GetAd(GetAdRequest) returns (google.ads.googleads.v13.resources.Ad) { - option (google.api.http) = { - get: "/v13/{resource_name=customers/*/ads/*}" -======== rpc GetAd(GetAdRequest) returns (google.ads.googleads.v15.resources.Ad) { option (google.api.http) = { get: "/v15/{resource_name=customers/*/ads/*}" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_service.proto }; option (google.api.method_signature) = "resource_name"; } @@ -131,11 +102,7 @@ service AdService { // [UrlFieldError]() rpc MutateAds(MutateAdsRequest) returns (MutateAdsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_service.proto - post: "/v13/customers/{customer_id=*}/ads:mutate" -======== post: "/v15/customers/{customer_id=*}/ads:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -143,11 +110,7 @@ service AdService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_service.proto -// [AdService.GetAd][google.ads.googleads.v13.services.AdService.GetAd]. -======== // [AdService.GetAd][google.ads.googleads.v15.services.AdService.GetAd]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_service.proto message GetAdRequest { // Required. The resource name of the ad to fetch. string resource_name = 1 [ @@ -157,11 +120,7 @@ message GetAdRequest { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_service.proto -// [AdService.MutateAds][google.ads.googleads.v13.services.AdService.MutateAds]. -======== // [AdService.MutateAds][google.ads.googleads.v15.services.AdService.MutateAds]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_service.proto message MutateAdsRequest { // Required. The ID of the customer whose ads are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -177,11 +136,7 @@ message MutateAdsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_service.proto - google.ads.googleads.v13.enums.ResponseContentTypeEnum.ResponseContentType -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_service.proto response_content_type = 5; // If true, the request is validated but not executed. Only errors are @@ -195,11 +150,7 @@ message AdOperation { google.protobuf.FieldMask update_mask = 2; // Configuration for how policies are validated. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_service.proto - google.ads.googleads.v13.common.PolicyValidationParameter -======== google.ads.googleads.v15.common.PolicyValidationParameter ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_service.proto policy_validation_parameter = 3; // The mutate operation. @@ -208,11 +159,7 @@ message AdOperation { // in this format: // // `customers/{customer_id}/ads/{ad_id}` -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_service.proto - google.ads.googleads.v13.resources.Ad update = 1; -======== google.ads.googleads.v15.resources.Ad update = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_service.proto } } @@ -237,9 +184,5 @@ message MutateAdResult { // The mutated ad with only mutable fields after mutate. The field will only // be returned when response_content_type is set to "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/ad_service.proto - google.ads.googleads.v13.resources.Ad ad = 2; -======== google.ads.googleads.v15.resources.Ad ad = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/ad_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/asset_group_asset_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/asset_group_asset_service.proto index 98b2cb3cb..ff601aade 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/asset_group_asset_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/asset_group_asset_service.proto @@ -14,15 +14,9 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_group_asset_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/asset_group_asset.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/resources/asset_group_asset.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/asset_group_asset_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -30,16 +24,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_group_asset_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupAssetServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -48,7 +32,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/asset_group_asset_service.proto // Proto file describing the AssetGroupAsset service. @@ -62,23 +45,15 @@ service AssetGroupAssetService { rpc MutateAssetGroupAssets(MutateAssetGroupAssetsRequest) returns (MutateAssetGroupAssetsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_group_asset_service.proto - post: "/v12/customers/{customer_id=*}/assetGroupAssets:mutate" -======== post: "/v15/customers/{customer_id=*}/assetGroupAssets:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/asset_group_asset_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_group_asset_service.proto -// Request message for [AssetGroupAssetService.MutateAssetGroupAssets][google.ads.googleads.v12.services.AssetGroupAssetService.MutateAssetGroupAssets]. -======== // Request message for // [AssetGroupAssetService.MutateAssetGroupAssets][google.ads.googleads.v15.services.AssetGroupAssetService.MutateAssetGroupAssets]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/asset_group_asset_service.proto message MutateAssetGroupAssetsRequest { // Required. The ID of the customer whose asset group assets are being // modified. @@ -109,19 +84,11 @@ message AssetGroupAssetOperation { oneof operation { // Create operation: No resource name is expected for the new asset group // asset. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_group_asset_service.proto - google.ads.googleads.v12.resources.AssetGroupAsset create = 1; - - // Update operation: The asset group asset is expected to have a valid - // resource name. - google.ads.googleads.v12.resources.AssetGroupAsset update = 2; -======== google.ads.googleads.v15.resources.AssetGroupAsset create = 1; // Update operation: The asset group asset is expected to have a valid // resource name. google.ads.googleads.v15.resources.AssetGroupAsset update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/asset_group_asset_service.proto // Remove operation: A resource name for the removed asset group asset is // expected, in this format: diff --git a/third_party/googleapis/google/ads/googleads/v15/services/asset_group_listing_group_filter_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/asset_group_listing_group_filter_service.proto index 7cb97cfba..03cd778f3 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/asset_group_listing_group_filter_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/asset_group_listing_group_filter_service.proto @@ -14,33 +14,16 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_group_listing_group_filter_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/asset_group_listing_group_filter.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/asset_group_listing_group_filter.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/asset_group_listing_group_filter_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_group_listing_group_filter_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupListingGroupFilterServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -49,7 +32,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/asset_group_listing_group_filter_service.proto // Proto file describing the AssetGroupListingGroupFilter service. @@ -64,11 +46,7 @@ service AssetGroupListingGroupFilterService { MutateAssetGroupListingGroupFiltersRequest) returns (MutateAssetGroupListingGroupFiltersResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_group_listing_group_filter_service.proto - post: "/v12/customers/{customer_id=*}/assetGroupListingGroupFilters:mutate" -======== post: "/v15/customers/{customer_id=*}/assetGroupListingGroupFilters:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/asset_group_listing_group_filter_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -76,11 +54,7 @@ service AssetGroupListingGroupFilterService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_group_listing_group_filter_service.proto -// [AssetGroupListingGroupFilterService.MutateAssetGroupListingGroupFilters][google.ads.googleads.v12.services.AssetGroupListingGroupFilterService.MutateAssetGroupListingGroupFilters]. -======== // [AssetGroupListingGroupFilterService.MutateAssetGroupListingGroupFilters][google.ads.googleads.v15.services.AssetGroupListingGroupFilterService.MutateAssetGroupListingGroupFilters]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/asset_group_listing_group_filter_service.proto // partial_failure is not supported because the tree needs to be validated // together. message MutateAssetGroupListingGroupFiltersRequest { @@ -99,12 +73,8 @@ message MutateAssetGroupListingGroupFiltersRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_group_listing_group_filter_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/asset_group_listing_group_filter_service.proto } // A single operation (create, remove) on an asset group listing group filter. @@ -116,19 +86,11 @@ message AssetGroupListingGroupFilterOperation { oneof operation { // Create operation: No resource name is expected for the new asset group // listing group filter. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_group_listing_group_filter_service.proto - google.ads.googleads.v12.resources.AssetGroupListingGroupFilter create = 1; - - // Update operation: The asset group listing group filter is expected to - // have a valid resource name. - google.ads.googleads.v12.resources.AssetGroupListingGroupFilter update = 2; -======== google.ads.googleads.v15.resources.AssetGroupListingGroupFilter create = 1; // Update operation: The asset group listing group filter is expected to // have a valid resource name. google.ads.googleads.v15.resources.AssetGroupListingGroupFilter update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/asset_group_listing_group_filter_service.proto // Remove operation: A resource name for the removed asset group listing // group filter is expected, in this format: @@ -158,10 +120,6 @@ message MutateAssetGroupListingGroupFilterResult { // The mutated AssetGroupListingGroupFilter with only mutable fields after // mutate. The field will only be returned when response_content_type is set // to "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_group_listing_group_filter_service.proto - google.ads.googleads.v12.resources.AssetGroupListingGroupFilter asset_group_listing_group_filter = 2; -======== google.ads.googleads.v15.resources.AssetGroupListingGroupFilter asset_group_listing_group_filter = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/asset_group_listing_group_filter_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/asset_group_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/asset_group_service.proto index 4ee2275ad..8b098b018 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/asset_group_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/asset_group_service.proto @@ -14,15 +14,9 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_group_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/asset_group.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/resources/asset_group.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/asset_group_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -30,16 +24,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_group_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -48,7 +32,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/asset_group_service.proto // Proto file describing the AssetGroup service. @@ -62,23 +45,15 @@ service AssetGroupService { rpc MutateAssetGroups(MutateAssetGroupsRequest) returns (MutateAssetGroupsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_group_service.proto - post: "/v12/customers/{customer_id=*}/assetGroups:mutate" -======== post: "/v15/customers/{customer_id=*}/assetGroups:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/asset_group_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_group_service.proto -// Request message for [AssetGroupService.MutateAssetGroups][google.ads.googleads.v12.services.AssetGroupService.MutateAssetGroups]. -======== // Request message for // [AssetGroupService.MutateAssetGroups][google.ads.googleads.v15.services.AssetGroupService.MutateAssetGroups]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/asset_group_service.proto message MutateAssetGroupsRequest { // Required. The ID of the customer whose asset groups are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -100,19 +75,11 @@ message AssetGroupOperation { // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new asset group -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_group_service.proto - google.ads.googleads.v12.resources.AssetGroup create = 1; - - // Update operation: The asset group is expected to have a valid resource - // name. - google.ads.googleads.v12.resources.AssetGroup update = 2; -======== google.ads.googleads.v15.resources.AssetGroup create = 1; // Update operation: The asset group is expected to have a valid resource // name. google.ads.googleads.v15.resources.AssetGroup update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/asset_group_service.proto // Remove operation: A resource name for the removed asset group is // expected, in this format: diff --git a/third_party/googleapis/google/ads/googleads/v15/services/asset_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/asset_service.proto index 3d96c0ef5..128b17d04 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/asset_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/asset_service.proto @@ -14,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/asset.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/asset.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/asset_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -32,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AssetServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -50,7 +33,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/asset_service.proto // Proto file describing the Asset service. @@ -93,23 +75,15 @@ service AssetService { // [YoutubeVideoRegistrationError]() rpc MutateAssets(MutateAssetsRequest) returns (MutateAssetsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_service.proto - post: "/v12/customers/{customer_id=*}/assets:mutate" -======== post: "/v15/customers/{customer_id=*}/assets:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/asset_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_service.proto -// Request message for [AssetService.MutateAssets][google.ads.googleads.v12.services.AssetService.MutateAssets] -======== // Request message for // [AssetService.MutateAssets][google.ads.googleads.v15.services.AssetService.MutateAssets] ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/asset_service.proto message MutateAssetsRequest { // Required. The ID of the customer whose assets are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -126,12 +100,8 @@ message MutateAssetsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 3; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 3; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/asset_service.proto // If true, the request is validated but not executed. Only errors are // returned, not results. @@ -149,21 +119,13 @@ message AssetOperation { // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new asset. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_service.proto - google.ads.googleads.v12.resources.Asset create = 1; -======== google.ads.googleads.v15.resources.Asset create = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/asset_service.proto // Update operation: The asset is expected to have a valid resource name in // this format: // // `customers/{customer_id}/assets/{asset_id}` -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_service.proto - google.ads.googleads.v12.resources.Asset update = 2; -======== google.ads.googleads.v15.resources.Asset update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/asset_service.proto } } @@ -188,9 +150,5 @@ message MutateAssetResult { // The mutated asset with only mutable fields after mutate. The field will // only be returned when response_content_type is set to "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_service.proto - google.ads.googleads.v12.resources.Asset asset = 2; -======== google.ads.googleads.v15.resources.Asset asset = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/asset_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/asset_set_asset_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/asset_set_asset_service.proto index 0b374cb4a..27e201dfc 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/asset_set_asset_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/asset_set_asset_service.proto @@ -14,33 +14,16 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_set_asset_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/asset_set_asset.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/asset_set_asset.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/asset_set_asset_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_set_asset_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetAssetServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -49,7 +32,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/asset_set_asset_service.proto // Proto file describing the AssetSetAsset service. @@ -63,23 +45,15 @@ service AssetSetAssetService { rpc MutateAssetSetAssets(MutateAssetSetAssetsRequest) returns (MutateAssetSetAssetsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_set_asset_service.proto - post: "/v12/customers/{customer_id=*}/assetSetAssets:mutate" -======== post: "/v15/customers/{customer_id=*}/assetSetAssets:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/asset_set_asset_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_set_asset_service.proto -// Request message for [AssetSetAssetService.MutateAssetSetAssets][google.ads.googleads.v12.services.AssetSetAssetService.MutateAssetSetAssets]. -======== // Request message for // [AssetSetAssetService.MutateAssetSetAssets][google.ads.googleads.v15.services.AssetSetAssetService.MutateAssetSetAssets]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/asset_set_asset_service.proto message MutateAssetSetAssetsRequest { // Required. The ID of the customer whose asset set assets are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -100,12 +74,8 @@ message MutateAssetSetAssetsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_set_asset_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/asset_set_asset_service.proto } // A single operation (create, remove) on an asset set asset. @@ -114,11 +84,7 @@ message AssetSetAssetOperation { oneof operation { // Create operation: No resource name is expected for the new asset set // asset -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_set_asset_service.proto - google.ads.googleads.v12.resources.AssetSetAsset create = 1; -======== google.ads.googleads.v15.resources.AssetSetAsset create = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/asset_set_asset_service.proto // Remove operation: A resource name for the removed asset set asset is // expected, in this format: @@ -151,9 +117,5 @@ message MutateAssetSetAssetResult { // The mutated asset set asset with only mutable fields after mutate. The // field will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_set_asset_service.proto - google.ads.googleads.v12.resources.AssetSetAsset asset_set_asset = 2; -======== google.ads.googleads.v15.resources.AssetSetAsset asset_set_asset = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/asset_set_asset_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/asset_set_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/asset_set_service.proto index e679f3cb7..9ac40d1cd 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/asset_set_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/asset_set_service.proto @@ -14,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_set_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/asset_set.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/asset_set.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/asset_set_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -32,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_set_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AssetSetServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -50,7 +33,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/asset_set_service.proto // Proto file describing the AssetSet service. @@ -64,23 +46,15 @@ service AssetSetService { rpc MutateAssetSets(MutateAssetSetsRequest) returns (MutateAssetSetsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_set_service.proto - post: "/v12/customers/{customer_id=*}/assetSets:mutate" -======== post: "/v15/customers/{customer_id=*}/assetSets:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/asset_set_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_set_service.proto -// Request message for [AssetSetService.MutateAssetSets][google.ads.googleads.v12.services.AssetSetService.MutateAssetSets]. -======== // Request message for // [AssetSetService.MutateAssetSets][google.ads.googleads.v15.services.AssetSetService.MutateAssetSets]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/asset_set_service.proto message MutateAssetSetsRequest { // Required. The ID of the customer whose asset sets are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -101,12 +75,8 @@ message MutateAssetSetsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_set_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/asset_set_service.proto } // A single operation (create, remove) on an asset set. @@ -117,19 +87,11 @@ message AssetSetOperation { // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new asset set -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_set_service.proto - google.ads.googleads.v12.resources.AssetSet create = 1; - - // Update operation: The asset set is expected to have a valid resource - // name. - google.ads.googleads.v12.resources.AssetSet update = 2; -======== google.ads.googleads.v15.resources.AssetSet create = 1; // Update operation: The asset set is expected to have a valid resource // name. google.ads.googleads.v15.resources.AssetSet update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/asset_set_service.proto // Remove operation: A resource name for the removed asset set is // expected, in this format: @@ -161,9 +123,5 @@ message MutateAssetSetResult { // The mutated asset set with only mutable fields after mutate. The field will // only be returned when response_content_type is set to "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/asset_set_service.proto - google.ads.googleads.v12.resources.AssetSet asset_set = 2; -======== google.ads.googleads.v15.resources.AssetSet asset_set = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/asset_set_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/audience_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/audience_service.proto index e40c39fc5..d2124824f 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/audience_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/audience_service.proto @@ -14,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/audience_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/audience.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/audience.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/audience_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -32,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/audience_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "AudienceServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -50,7 +33,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/audience_service.proto // Proto file describing the Audience service. @@ -66,23 +48,15 @@ service AudienceService { rpc MutateAudiences(MutateAudiencesRequest) returns (MutateAudiencesResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/audience_service.proto - post: "/v12/customers/{customer_id=*}/audiences:mutate" -======== post: "/v15/customers/{customer_id=*}/audiences:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/audience_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/audience_service.proto -// Request message for [AudienceService.MutateAudiences][google.ads.googleads.v12.services.AudienceService.MutateAudiences]. -======== // Request message for // [AudienceService.MutateAudiences][google.ads.googleads.v15.services.AudienceService.MutateAudiences]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/audience_service.proto message MutateAudiencesRequest { // Required. The ID of the customer whose audiences are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -102,12 +76,8 @@ message MutateAudiencesRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/audience_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/audience_service.proto } // Response message for an audience mutate. @@ -130,19 +100,11 @@ message AudienceOperation { // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new audience -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/audience_service.proto - google.ads.googleads.v12.resources.Audience create = 1; - - // Update operation: The audience is expected to have a valid resource - // name. - google.ads.googleads.v12.resources.Audience update = 2; -======== google.ads.googleads.v15.resources.Audience create = 1; // Update operation: The audience is expected to have a valid resource // name. google.ads.googleads.v15.resources.Audience update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/audience_service.proto } } @@ -156,9 +118,5 @@ message MutateAudienceResult { // The mutated Audience with only mutable fields after mutate. The // field will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/audience_service.proto - google.ads.googleads.v12.resources.Audience audience = 2; -======== google.ads.googleads.v15.resources.Audience audience = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/audience_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/batch_job_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/batch_job_service.proto index 89d04d591..0d5f38da6 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/batch_job_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/batch_job_service.proto @@ -14,19 +14,11 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/batch_job_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/batch_job.proto"; -import "google/ads/googleads/v12/services/google_ads_service.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/batch_job.proto"; import "google/ads/googleads/v15/services/google_ads_service.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/batch_job_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -35,16 +27,6 @@ import "google/longrunning/operations.proto"; import "google/protobuf/empty.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/batch_job_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "BatchJobServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -53,7 +35,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/batch_job_service.proto // Proto file describing the BatchJobService. @@ -74,11 +55,7 @@ service BatchJobService { // [ResourceCountLimitExceededError]() rpc MutateBatchJob(MutateBatchJobRequest) returns (MutateBatchJobResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/batch_job_service.proto - post: "/v12/customers/{customer_id=*}/batchJobs:mutate" -======== post: "/v15/customers/{customer_id=*}/batchJobs:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/batch_job_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operation"; @@ -98,11 +75,7 @@ service BatchJobService { rpc ListBatchJobResults(ListBatchJobResultsRequest) returns (ListBatchJobResultsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/batch_job_service.proto - get: "/v12/{resource_name=customers/*/batchJobs/*}:listResults" -======== get: "/v15/{resource_name=customers/*/batchJobs/*}:listResults" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/batch_job_service.proto }; option (google.api.method_signature) = "resource_name"; } @@ -123,21 +96,13 @@ service BatchJobService { // [RequestError]() rpc RunBatchJob(RunBatchJobRequest) returns (google.longrunning.Operation) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/batch_job_service.proto - post: "/v12/{resource_name=customers/*/batchJobs/*}:run" -======== post: "/v15/{resource_name=customers/*/batchJobs/*}:run" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/batch_job_service.proto body: "*" }; option (google.api.method_signature) = "resource_name"; option (google.longrunning.operation_info) = { response_type: "google.protobuf.Empty" -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/batch_job_service.proto - metadata_type: "google.ads.googleads.v12.resources.BatchJob.BatchJobMetadata" -======== metadata_type: "google.ads.googleads.v15.resources.BatchJob.BatchJobMetadata" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/batch_job_service.proto }; } @@ -155,11 +120,7 @@ service BatchJobService { rpc AddBatchJobOperations(AddBatchJobOperationsRequest) returns (AddBatchJobOperationsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/batch_job_service.proto - post: "/v12/{resource_name=customers/*/batchJobs/*}:addOperations" -======== post: "/v15/{resource_name=customers/*/batchJobs/*}:addOperations" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/batch_job_service.proto body: "*" }; option (google.api.method_signature) = @@ -168,12 +129,8 @@ service BatchJobService { } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/batch_job_service.proto -// Request message for [BatchJobService.MutateBatchJob][google.ads.googleads.v12.services.BatchJobService.MutateBatchJob]. -======== // Request message for // [BatchJobService.MutateBatchJob][google.ads.googleads.v15.services.BatchJobService.MutateBatchJob]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/batch_job_service.proto message MutateBatchJobRequest { // Required. The ID of the customer for which to create a batch job. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -187,11 +144,7 @@ message BatchJobOperation { // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new batch job. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/batch_job_service.proto - google.ads.googleads.v12.resources.BatchJob create = 1; -======== google.ads.googleads.v15.resources.BatchJob create = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/batch_job_service.proto // Remove operation: The batch job must not have been run. A resource name // for the removed batch job is expected, in this format: @@ -203,12 +156,8 @@ message BatchJobOperation { } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/batch_job_service.proto -// Response message for [BatchJobService.MutateBatchJob][google.ads.googleads.v12.services.BatchJobService.MutateBatchJob]. -======== // Response message for // [BatchJobService.MutateBatchJob][google.ads.googleads.v15.services.BatchJobService.MutateBatchJob]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/batch_job_service.proto message MutateBatchJobResponse { // The result for the mutate. MutateBatchJobResult result = 1; @@ -222,12 +171,8 @@ message MutateBatchJobResult { }]; } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/batch_job_service.proto -// Request message for [BatchJobService.RunBatchJob][google.ads.googleads.v12.services.BatchJobService.RunBatchJob]. -======== // Request message for // [BatchJobService.RunBatchJob][google.ads.googleads.v15.services.BatchJobService.RunBatchJob]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/batch_job_service.proto message RunBatchJobRequest { // Required. The resource name of the BatchJob to run. string resource_name = 1 [ @@ -238,12 +183,8 @@ message RunBatchJobRequest { ]; } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/batch_job_service.proto -// Request message for [BatchJobService.AddBatchJobOperations][google.ads.googleads.v12.services.BatchJobService.AddBatchJobOperations]. -======== // Request message for // [BatchJobService.AddBatchJobOperations][google.ads.googleads.v15.services.BatchJobService.AddBatchJobOperations]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/batch_job_service.proto message AddBatchJobOperationsRequest { // Required. The resource name of the batch job. string resource_name = 1 [ @@ -274,12 +215,8 @@ message AddBatchJobOperationsRequest { [(google.api.field_behavior) = REQUIRED]; } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/batch_job_service.proto -// Response message for [BatchJobService.AddBatchJobOperations][google.ads.googleads.v12.services.BatchJobService.AddBatchJobOperations]. -======== // Response message for // [BatchJobService.AddBatchJobOperations][google.ads.googleads.v15.services.BatchJobService.AddBatchJobOperations]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/batch_job_service.proto message AddBatchJobOperationsResponse { // The total number of operations added so far for this batch job. int64 total_operations = 1; @@ -290,12 +227,8 @@ message AddBatchJobOperationsResponse { string next_sequence_token = 2; } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/batch_job_service.proto -// Request message for [BatchJobService.ListBatchJobResults][google.ads.googleads.v12.services.BatchJobService.ListBatchJobResults]. -======== // Request message for // [BatchJobService.ListBatchJobResults][google.ads.googleads.v15.services.BatchJobService.ListBatchJobResults]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/batch_job_service.proto message ListBatchJobResultsRequest { // Required. The resource name of the batch job whose results are being // listed. @@ -319,19 +252,12 @@ message ListBatchJobResultsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/batch_job_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4; -} - -// Response message for [BatchJobService.ListBatchJobResults][google.ads.googleads.v12.services.BatchJobService.ListBatchJobResults]. -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4; } // Response message for // [BatchJobService.ListBatchJobResults][google.ads.googleads.v15.services.BatchJobService.ListBatchJobResults]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/batch_job_service.proto message ListBatchJobResultsResponse { // The list of rows that matched the query. repeated BatchJobResult results = 1; diff --git a/third_party/googleapis/google/ads/googleads/v15/services/bidding_data_exclusion_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/bidding_data_exclusion_service.proto index b74c9cff6..2955fdd2d 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/bidding_data_exclusion_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/bidding_data_exclusion_service.proto @@ -14,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/bidding_data_exclusion_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/bidding_data_exclusion.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/bidding_data_exclusion.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/bidding_data_exclusion_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -32,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/bidding_data_exclusion_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "BiddingDataExclusionServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -50,7 +33,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/bidding_data_exclusion_service.proto // Service to manage bidding data exclusions. service BiddingDataExclusionService { @@ -62,11 +44,7 @@ service BiddingDataExclusionService { rpc MutateBiddingDataExclusions(MutateBiddingDataExclusionsRequest) returns (MutateBiddingDataExclusionsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/bidding_data_exclusion_service.proto - post: "/v12/customers/{customer_id=*}/biddingDataExclusions:mutate" -======== post: "/v15/customers/{customer_id=*}/biddingDataExclusions:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/bidding_data_exclusion_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -74,11 +52,7 @@ service BiddingDataExclusionService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/bidding_data_exclusion_service.proto -// [BiddingDataExclusionService.MutateBiddingDataExclusions][google.ads.googleads.v12.services.BiddingDataExclusionService.MutateBiddingDataExclusions]. -======== // [BiddingDataExclusionService.MutateBiddingDataExclusions][google.ads.googleads.v15.services.BiddingDataExclusionService.MutateBiddingDataExclusions]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/bidding_data_exclusion_service.proto message MutateBiddingDataExclusionsRequest { // Required. ID of the customer whose data exclusions are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -99,12 +73,8 @@ message MutateBiddingDataExclusionsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/bidding_data_exclusion_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/bidding_data_exclusion_service.proto } // A single operation (create, remove, update) on a data exclusion. @@ -116,19 +86,11 @@ message BiddingDataExclusionOperation { oneof operation { // Create operation: No resource name is expected for the new data // exclusion. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/bidding_data_exclusion_service.proto - google.ads.googleads.v12.resources.BiddingDataExclusion create = 1; - - // Update operation: The data exclusion is expected to have a valid - // resource name. - google.ads.googleads.v12.resources.BiddingDataExclusion update = 2; -======== google.ads.googleads.v15.resources.BiddingDataExclusion create = 1; // Update operation: The data exclusion is expected to have a valid // resource name. google.ads.googleads.v15.resources.BiddingDataExclusion update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/bidding_data_exclusion_service.proto // Remove operation: A resource name for the removed data exclusion // is expected, in this format: @@ -162,10 +124,6 @@ message MutateBiddingDataExclusionsResult { // The mutated bidding data exclusion with only mutable fields after mutate. // The field will only be returned when response_content_type is set // to "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/bidding_data_exclusion_service.proto - google.ads.googleads.v12.resources.BiddingDataExclusion bidding_data_exclusion = 2; -======== google.ads.googleads.v15.resources.BiddingDataExclusion bidding_data_exclusion = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/bidding_data_exclusion_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/bidding_seasonality_adjustment_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/bidding_seasonality_adjustment_service.proto index c7231801e..be5835b8f 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/bidding_seasonality_adjustment_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/bidding_seasonality_adjustment_service.proto @@ -14,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/bidding_seasonality_adjustment_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/bidding_seasonality_adjustment.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/bidding_seasonality_adjustment.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/bidding_seasonality_adjustment_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -32,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/bidding_seasonality_adjustment_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "BiddingSeasonalityAdjustmentServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -50,7 +33,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/bidding_seasonality_adjustment_service.proto // Service to manage bidding seasonality adjustments. service BiddingSeasonalityAdjustmentService { @@ -63,11 +45,7 @@ service BiddingSeasonalityAdjustmentService { MutateBiddingSeasonalityAdjustmentsRequest) returns (MutateBiddingSeasonalityAdjustmentsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/bidding_seasonality_adjustment_service.proto - post: "/v12/customers/{customer_id=*}/biddingSeasonalityAdjustments:mutate" -======== post: "/v15/customers/{customer_id=*}/biddingSeasonalityAdjustments:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/bidding_seasonality_adjustment_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -75,11 +53,7 @@ service BiddingSeasonalityAdjustmentService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/bidding_seasonality_adjustment_service.proto -// [BiddingSeasonalityAdjustmentService.MutateBiddingSeasonalityAdjustments][google.ads.googleads.v12.services.BiddingSeasonalityAdjustmentService.MutateBiddingSeasonalityAdjustments]. -======== // [BiddingSeasonalityAdjustmentService.MutateBiddingSeasonalityAdjustments][google.ads.googleads.v15.services.BiddingSeasonalityAdjustmentService.MutateBiddingSeasonalityAdjustments]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/bidding_seasonality_adjustment_service.proto message MutateBiddingSeasonalityAdjustmentsRequest { // Required. ID of the customer whose seasonality adjustments are being // modified. @@ -102,12 +76,8 @@ message MutateBiddingSeasonalityAdjustmentsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/bidding_seasonality_adjustment_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/bidding_seasonality_adjustment_service.proto } // A single operation (create, remove, update) on a seasonality adjustment. @@ -119,19 +89,11 @@ message BiddingSeasonalityAdjustmentOperation { oneof operation { // Create operation: No resource name is expected for the new seasonality // adjustment. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/bidding_seasonality_adjustment_service.proto - google.ads.googleads.v12.resources.BiddingSeasonalityAdjustment create = 1; - - // Update operation: The seasonality adjustment is expected to have a valid - // resource name. - google.ads.googleads.v12.resources.BiddingSeasonalityAdjustment update = 2; -======== google.ads.googleads.v15.resources.BiddingSeasonalityAdjustment create = 1; // Update operation: The seasonality adjustment is expected to have a valid // resource name. google.ads.googleads.v15.resources.BiddingSeasonalityAdjustment update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/bidding_seasonality_adjustment_service.proto // Remove operation: A resource name for the removed seasonality adjustment // is expected, in this format: @@ -165,10 +127,6 @@ message MutateBiddingSeasonalityAdjustmentsResult { // The mutated bidding seasonality adjustment with only mutable fields after // mutate. The field will only be returned when response_content_type is set // to "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/bidding_seasonality_adjustment_service.proto - google.ads.googleads.v12.resources.BiddingSeasonalityAdjustment bidding_seasonality_adjustment = 2; -======== google.ads.googleads.v15.resources.BiddingSeasonalityAdjustment bidding_seasonality_adjustment = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/bidding_seasonality_adjustment_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/bidding_strategy_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/bidding_strategy_service.proto index 24d100e42..ddea8c5a7 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/bidding_strategy_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/bidding_strategy_service.proto @@ -14,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/bidding_strategy_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/bidding_strategy.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/bidding_strategy.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/bidding_strategy_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -32,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/bidding_strategy_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "BiddingStrategyServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -50,7 +33,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/bidding_strategy_service.proto // Proto file describing the Bidding Strategy service. @@ -92,23 +74,15 @@ service BiddingStrategyService { rpc MutateBiddingStrategies(MutateBiddingStrategiesRequest) returns (MutateBiddingStrategiesResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/bidding_strategy_service.proto - post: "/v12/customers/{customer_id=*}/biddingStrategies:mutate" -======== post: "/v15/customers/{customer_id=*}/biddingStrategies:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/bidding_strategy_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/bidding_strategy_service.proto -// Request message for [BiddingStrategyService.MutateBiddingStrategies][google.ads.googleads.v12.services.BiddingStrategyService.MutateBiddingStrategies]. -======== // Request message for // [BiddingStrategyService.MutateBiddingStrategies][google.ads.googleads.v15.services.BiddingStrategyService.MutateBiddingStrategies]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/bidding_strategy_service.proto message MutateBiddingStrategiesRequest { // Required. The ID of the customer whose bidding strategies are being // modified. @@ -131,12 +105,8 @@ message MutateBiddingStrategiesRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/bidding_strategy_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/bidding_strategy_service.proto } // A single operation (create, update, remove) on a bidding strategy. @@ -148,19 +118,11 @@ message BiddingStrategyOperation { oneof operation { // Create operation: No resource name is expected for the new bidding // strategy. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/bidding_strategy_service.proto - google.ads.googleads.v12.resources.BiddingStrategy create = 1; - - // Update operation: The bidding strategy is expected to have a valid - // resource name. - google.ads.googleads.v12.resources.BiddingStrategy update = 2; -======== google.ads.googleads.v15.resources.BiddingStrategy create = 1; // Update operation: The bidding strategy is expected to have a valid // resource name. google.ads.googleads.v15.resources.BiddingStrategy update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/bidding_strategy_service.proto // Remove operation: A resource name for the removed bidding strategy is // expected, in this format: @@ -194,9 +156,5 @@ message MutateBiddingStrategyResult { // The mutated bidding strategy with only mutable fields after mutate. The // field will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/bidding_strategy_service.proto - google.ads.googleads.v12.resources.BiddingStrategy bidding_strategy = 2; -======== google.ads.googleads.v15.resources.BiddingStrategy bidding_strategy = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/bidding_strategy_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/billing_setup_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/billing_setup_service.proto index bf49b9414..e6066d85e 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/billing_setup_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/billing_setup_service.proto @@ -14,30 +14,14 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/billing_setup_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/billing_setup.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/resources/billing_setup.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/billing_setup_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/billing_setup_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "BillingSetupServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -46,7 +30,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/billing_setup_service.proto // Proto file describing the BillingSetup service. @@ -79,11 +62,7 @@ service BillingSetupService { rpc MutateBillingSetup(MutateBillingSetupRequest) returns (MutateBillingSetupResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/billing_setup_service.proto - post: "/v12/customers/{customer_id=*}/billingSetups:mutate" -======== post: "/v15/customers/{customer_id=*}/billingSetups:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/billing_setup_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operation"; @@ -108,11 +87,7 @@ message BillingSetupOperation { oneof operation { // Creates a billing setup. No resource name is expected for the new billing // setup. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/billing_setup_service.proto - google.ads.googleads.v12.resources.BillingSetup create = 2; -======== google.ads.googleads.v15.resources.BillingSetup create = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/billing_setup_service.proto // Resource name of the billing setup to remove. A setup cannot be // removed unless it is in a pending state or its scheduled start time is in diff --git a/third_party/googleapis/google/ads/googleads/v15/services/campaign_asset_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/campaign_asset_service.proto index 08a6e1335..f5c54f01d 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/campaign_asset_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/campaign_asset_service.proto @@ -14,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_asset_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/campaign_asset.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/campaign_asset.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_asset_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -32,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_asset_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignAssetServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -50,7 +33,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_asset_service.proto // Proto file describing the CampaignAsset service. @@ -78,23 +60,15 @@ service CampaignAssetService { rpc MutateCampaignAssets(MutateCampaignAssetsRequest) returns (MutateCampaignAssetsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_asset_service.proto - post: "/v12/customers/{customer_id=*}/campaignAssets:mutate" -======== post: "/v15/customers/{customer_id=*}/campaignAssets:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_asset_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_asset_service.proto -// Request message for [CampaignAssetService.MutateCampaignAssets][google.ads.googleads.v12.services.CampaignAssetService.MutateCampaignAssets]. -======== // Request message for // [CampaignAssetService.MutateCampaignAssets][google.ads.googleads.v15.services.CampaignAssetService.MutateCampaignAssets]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_asset_service.proto message MutateCampaignAssetsRequest { // Required. The ID of the customer whose campaign assets are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -115,12 +89,8 @@ message MutateCampaignAssetsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_asset_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_asset_service.proto } // A single operation (create, update, remove) on a campaign asset. @@ -132,19 +102,11 @@ message CampaignAssetOperation { oneof operation { // Create operation: No resource name is expected for the new campaign // asset. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_asset_service.proto - google.ads.googleads.v12.resources.CampaignAsset create = 1; - - // Update operation: The campaign asset is expected to have a valid resource - // name. - google.ads.googleads.v12.resources.CampaignAsset update = 3; -======== google.ads.googleads.v15.resources.CampaignAsset create = 1; // Update operation: The campaign asset is expected to have a valid resource // name. google.ads.googleads.v15.resources.CampaignAsset update = 3; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_asset_service.proto // Remove operation: A resource name for the removed campaign asset is // expected, in this format: @@ -178,9 +140,5 @@ message MutateCampaignAssetResult { // The mutated campaign asset with only mutable fields after // mutate. The field will only be returned when response_content_type is set // to "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_asset_service.proto - google.ads.googleads.v12.resources.CampaignAsset campaign_asset = 2; -======== google.ads.googleads.v15.resources.CampaignAsset campaign_asset = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_asset_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/campaign_asset_set_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/campaign_asset_set_service.proto index d8604886d..c2b292786 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/campaign_asset_set_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/campaign_asset_set_service.proto @@ -14,33 +14,16 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_asset_set_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/campaign_asset_set.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/campaign_asset_set.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_asset_set_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_asset_set_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignAssetSetServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -49,7 +32,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_asset_set_service.proto // Proto file describing the CampaignAssetSet service. @@ -63,23 +45,15 @@ service CampaignAssetSetService { rpc MutateCampaignAssetSets(MutateCampaignAssetSetsRequest) returns (MutateCampaignAssetSetsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_asset_set_service.proto - post: "/v12/customers/{customer_id=*}/campaignAssetSets:mutate" -======== post: "/v15/customers/{customer_id=*}/campaignAssetSets:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_asset_set_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_asset_set_service.proto -// Request message for [CampaignAssetSetService.MutateCampaignAssetSets][google.ads.googleads.v12.services.CampaignAssetSetService.MutateCampaignAssetSets]. -======== // Request message for // [CampaignAssetSetService.MutateCampaignAssetSets][google.ads.googleads.v15.services.CampaignAssetSetService.MutateCampaignAssetSets]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_asset_set_service.proto message MutateCampaignAssetSetsRequest { // Required. The ID of the customer whose campaign asset sets are being // modified. @@ -102,12 +76,8 @@ message MutateCampaignAssetSetsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_asset_set_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_asset_set_service.proto } // A single operation (create, remove) on a campaign asset set. @@ -116,11 +86,7 @@ message CampaignAssetSetOperation { oneof operation { // Create operation: No resource name is expected for the new campaign asset // set. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_asset_set_service.proto - google.ads.googleads.v12.resources.CampaignAssetSet create = 1; -======== google.ads.googleads.v15.resources.CampaignAssetSet create = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_asset_set_service.proto // Remove operation: A resource name for the removed campaign asset set is // expected, in this format: @@ -153,9 +119,5 @@ message MutateCampaignAssetSetResult { // The mutated campaign asset set with only mutable fields after mutate. The // field will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_asset_set_service.proto - google.ads.googleads.v12.resources.CampaignAssetSet campaign_asset_set = 2; -======== google.ads.googleads.v15.resources.CampaignAssetSet campaign_asset_set = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_asset_set_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/campaign_bid_modifier_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/campaign_bid_modifier_service.proto index 81ddefa3e..88dab7c43 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/campaign_bid_modifier_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/campaign_bid_modifier_service.proto @@ -14,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_bid_modifier_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/campaign_bid_modifier.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/campaign_bid_modifier.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_bid_modifier_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -32,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_bid_modifier_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignBidModifierServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -50,7 +33,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_bid_modifier_service.proto // Proto file describing the Campaign Bid Modifier service. @@ -88,11 +70,7 @@ service CampaignBidModifierService { rpc MutateCampaignBidModifiers(MutateCampaignBidModifiersRequest) returns (MutateCampaignBidModifiersResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_bid_modifier_service.proto - post: "/v12/customers/{customer_id=*}/campaignBidModifiers:mutate" -======== post: "/v15/customers/{customer_id=*}/campaignBidModifiers:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_bid_modifier_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -100,11 +78,7 @@ service CampaignBidModifierService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_bid_modifier_service.proto -// [CampaignBidModifierService.MutateCampaignBidModifiers][google.ads.googleads.v12.services.CampaignBidModifierService.MutateCampaignBidModifiers]. -======== // [CampaignBidModifierService.MutateCampaignBidModifiers][google.ads.googleads.v15.services.CampaignBidModifierService.MutateCampaignBidModifiers]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_bid_modifier_service.proto message MutateCampaignBidModifiersRequest { // Required. ID of the customer whose campaign bid modifiers are being // modified. @@ -127,12 +101,8 @@ message MutateCampaignBidModifiersRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_bid_modifier_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_bid_modifier_service.proto } // A single operation (create, remove, update) on a campaign bid modifier. @@ -144,19 +114,11 @@ message CampaignBidModifierOperation { oneof operation { // Create operation: No resource name is expected for the new campaign bid // modifier. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_bid_modifier_service.proto - google.ads.googleads.v12.resources.CampaignBidModifier create = 1; - - // Update operation: The campaign bid modifier is expected to have a valid - // resource name. - google.ads.googleads.v12.resources.CampaignBidModifier update = 2; -======== google.ads.googleads.v15.resources.CampaignBidModifier create = 1; // Update operation: The campaign bid modifier is expected to have a valid // resource name. google.ads.googleads.v15.resources.CampaignBidModifier update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_bid_modifier_service.proto // Remove operation: A resource name for the removed campaign bid modifier // is expected, in this format: @@ -190,10 +152,6 @@ message MutateCampaignBidModifierResult { // The mutated campaign bid modifier with only mutable fields after mutate. // The field will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_bid_modifier_service.proto - google.ads.googleads.v12.resources.CampaignBidModifier campaign_bid_modifier = 2; -======== google.ads.googleads.v15.resources.CampaignBidModifier campaign_bid_modifier = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_bid_modifier_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/campaign_budget_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/campaign_budget_service.proto index 409460d36..e6165cba7 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/campaign_budget_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/campaign_budget_service.proto @@ -14,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_budget_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/campaign_budget.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/campaign_budget.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_budget_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -32,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_budget_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignBudgetServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -50,7 +33,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_budget_service.proto // Proto file describing the Campaign Budget service. @@ -83,23 +65,15 @@ service CampaignBudgetService { rpc MutateCampaignBudgets(MutateCampaignBudgetsRequest) returns (MutateCampaignBudgetsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_budget_service.proto - post: "/v12/customers/{customer_id=*}/campaignBudgets:mutate" -======== post: "/v15/customers/{customer_id=*}/campaignBudgets:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_budget_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_budget_service.proto -// Request message for [CampaignBudgetService.MutateCampaignBudgets][google.ads.googleads.v12.services.CampaignBudgetService.MutateCampaignBudgets]. -======== // Request message for // [CampaignBudgetService.MutateCampaignBudgets][google.ads.googleads.v15.services.CampaignBudgetService.MutateCampaignBudgets]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_budget_service.proto message MutateCampaignBudgetsRequest { // Required. The ID of the customer whose campaign budgets are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -120,12 +94,8 @@ message MutateCampaignBudgetsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_budget_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_budget_service.proto } // A single operation (create, update, remove) on a campaign budget. @@ -136,19 +106,11 @@ message CampaignBudgetOperation { // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new budget. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_budget_service.proto - google.ads.googleads.v12.resources.CampaignBudget create = 1; - - // Update operation: The campaign budget is expected to have a valid - // resource name. - google.ads.googleads.v12.resources.CampaignBudget update = 2; -======== google.ads.googleads.v15.resources.CampaignBudget create = 1; // Update operation: The campaign budget is expected to have a valid // resource name. google.ads.googleads.v15.resources.CampaignBudget update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_budget_service.proto // Remove operation: A resource name for the removed budget is expected, in // this format: @@ -182,9 +144,5 @@ message MutateCampaignBudgetResult { // The mutated campaign budget with only mutable fields after mutate. The // field will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_budget_service.proto - google.ads.googleads.v12.resources.CampaignBudget campaign_budget = 2; -======== google.ads.googleads.v15.resources.CampaignBudget campaign_budget = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_budget_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/campaign_conversion_goal_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/campaign_conversion_goal_service.proto index 4159a442f..42a9a615c 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/campaign_conversion_goal_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/campaign_conversion_goal_service.proto @@ -14,31 +14,15 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_conversion_goal_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/campaign_conversion_goal.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/resources/campaign_conversion_goal.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_conversion_goal_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_conversion_goal_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignConversionGoalServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -47,7 +31,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_conversion_goal_service.proto // Proto file describing the CampaignConversionGoal service. @@ -61,11 +44,7 @@ service CampaignConversionGoalService { rpc MutateCampaignConversionGoals(MutateCampaignConversionGoalsRequest) returns (MutateCampaignConversionGoalsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_conversion_goal_service.proto - post: "/v12/customers/{customer_id=*}/campaignConversionGoals:mutate" -======== post: "/v15/customers/{customer_id=*}/campaignConversionGoals:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_conversion_goal_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -73,11 +52,7 @@ service CampaignConversionGoalService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_conversion_goal_service.proto -// [CampaignConversionGoalService.MutateCampaignConversionGoals][google.ads.googleads.v12.services.CampaignConversionGoalService.MutateCampaignConversionGoals]. -======== // [CampaignConversionGoalService.MutateCampaignConversionGoals][google.ads.googleads.v15.services.CampaignConversionGoalService.MutateCampaignConversionGoals]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_conversion_goal_service.proto message MutateCampaignConversionGoalsRequest { // Required. The ID of the customer whose campaign conversion goals are being // modified. @@ -102,11 +77,7 @@ message CampaignConversionGoalOperation { oneof operation { // Update operation: The customer conversion goal is expected to have a // valid resource name. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_conversion_goal_service.proto - google.ads.googleads.v12.resources.CampaignConversionGoal update = 1; -======== google.ads.googleads.v15.resources.CampaignConversionGoal update = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_conversion_goal_service.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/campaign_criterion_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/campaign_criterion_service.proto index 67b45c9d9..faca7b9f9 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/campaign_criterion_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/campaign_criterion_service.proto @@ -14,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_criterion_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/campaign_criterion.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/campaign_criterion.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_criterion_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -32,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_criterion_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignCriterionServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -50,7 +33,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_criterion_service.proto // Proto file describing the Campaign Criterion service. @@ -94,23 +76,15 @@ service CampaignCriterionService { rpc MutateCampaignCriteria(MutateCampaignCriteriaRequest) returns (MutateCampaignCriteriaResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_criterion_service.proto - post: "/v12/customers/{customer_id=*}/campaignCriteria:mutate" -======== post: "/v15/customers/{customer_id=*}/campaignCriteria:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_criterion_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_criterion_service.proto -// Request message for [CampaignCriterionService.MutateCampaignCriteria][google.ads.googleads.v12.services.CampaignCriterionService.MutateCampaignCriteria]. -======== // Request message for // [CampaignCriterionService.MutateCampaignCriteria][google.ads.googleads.v15.services.CampaignCriterionService.MutateCampaignCriteria]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_criterion_service.proto message MutateCampaignCriteriaRequest { // Required. The ID of the customer whose criteria are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -131,12 +105,8 @@ message MutateCampaignCriteriaRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_criterion_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_criterion_service.proto } // A single operation (create, update, remove) on a campaign criterion. @@ -147,19 +117,11 @@ message CampaignCriterionOperation { // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new criterion. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_criterion_service.proto - google.ads.googleads.v12.resources.CampaignCriterion create = 1; - - // Update operation: The criterion is expected to have a valid resource - // name. - google.ads.googleads.v12.resources.CampaignCriterion update = 2; -======== google.ads.googleads.v15.resources.CampaignCriterion create = 1; // Update operation: The criterion is expected to have a valid resource // name. google.ads.googleads.v15.resources.CampaignCriterion update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_criterion_service.proto // Remove operation: A resource name for the removed criterion is expected, // in this format: @@ -193,9 +155,5 @@ message MutateCampaignCriterionResult { // The mutated campaign criterion with only mutable fields after mutate. The // field will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_criterion_service.proto - google.ads.googleads.v12.resources.CampaignCriterion campaign_criterion = 2; -======== google.ads.googleads.v15.resources.CampaignCriterion campaign_criterion = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_criterion_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/campaign_customizer_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/campaign_customizer_service.proto index 897b53048..e5b9fefd3 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/campaign_customizer_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/campaign_customizer_service.proto @@ -14,33 +14,16 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_customizer_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/campaign_customizer.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/campaign_customizer.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_customizer_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_customizer_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignCustomizerServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -49,7 +32,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_customizer_service.proto // Proto file describing the CampaignCustomizer service. @@ -63,11 +45,7 @@ service CampaignCustomizerService { rpc MutateCampaignCustomizers(MutateCampaignCustomizersRequest) returns (MutateCampaignCustomizersResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_customizer_service.proto - post: "/v12/customers/{customer_id=*}/campaignCustomizers:mutate" -======== post: "/v15/customers/{customer_id=*}/campaignCustomizers:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_customizer_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -75,11 +53,7 @@ service CampaignCustomizerService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_customizer_service.proto -// [CampaignCustomizerService.MutateCampaignCustomizers][google.ads.googleads.v12.services.CampaignCustomizerService.MutateCampaignCustomizers]. -======== // [CampaignCustomizerService.MutateCampaignCustomizers][google.ads.googleads.v15.services.CampaignCustomizerService.MutateCampaignCustomizers]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_customizer_service.proto message MutateCampaignCustomizersRequest { // Required. The ID of the customer whose campaign customizers are being // modified. @@ -102,12 +76,8 @@ message MutateCampaignCustomizersRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_customizer_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_customizer_service.proto } // A single operation (create, remove) on a customizer attribute. @@ -116,11 +86,7 @@ message CampaignCustomizerOperation { oneof operation { // Create operation: No resource name is expected for the new campaign // customizer -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_customizer_service.proto - google.ads.googleads.v12.resources.CampaignCustomizer create = 1; -======== google.ads.googleads.v15.resources.CampaignCustomizer create = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_customizer_service.proto // Remove operation: A resource name for the removed campaign customizer is // expected, in this format: @@ -153,9 +119,5 @@ message MutateCampaignCustomizerResult { // The mutated CampaignCustomizer with only mutable fields after mutate. // The field will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_customizer_service.proto - google.ads.googleads.v12.resources.CampaignCustomizer campaign_customizer = 2; -======== google.ads.googleads.v15.resources.CampaignCustomizer campaign_customizer = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_customizer_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/campaign_draft_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/campaign_draft_service.proto index 46fe3b1f3..1f4f89b53 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/campaign_draft_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/campaign_draft_service.proto @@ -14,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_draft_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/campaign_draft.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/campaign_draft.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_draft_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -34,16 +27,6 @@ import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_draft_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignDraftServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -52,7 +35,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_draft_service.proto // Proto file describing the Campaign Draft service. @@ -78,11 +60,7 @@ service CampaignDraftService { rpc MutateCampaignDrafts(MutateCampaignDraftsRequest) returns (MutateCampaignDraftsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_draft_service.proto - post: "/v12/customers/{customer_id=*}/campaignDrafts:mutate" -======== post: "/v15/customers/{customer_id=*}/campaignDrafts:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_draft_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -95,13 +73,8 @@ service CampaignDraftService { // is done. Only a done status is returned in the response. See the status // in the Campaign Draft resource to determine if the promotion was // successful. If the LRO failed, use -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_draft_service.proto - // [CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v12.services.CampaignDraftService.ListCampaignDraftAsyncErrors] to view the list of - // error reasons. -======== // [CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v15.services.CampaignDraftService.ListCampaignDraftAsyncErrors] // to view the list of error reasons. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_draft_service.proto // // List of thrown errors: // [AuthenticationError]() @@ -114,11 +87,7 @@ service CampaignDraftService { rpc PromoteCampaignDraft(PromoteCampaignDraftRequest) returns (google.longrunning.Operation) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_draft_service.proto - post: "/v12/{campaign_draft=customers/*/campaignDrafts/*}:promote" -======== post: "/v15/{campaign_draft=customers/*/campaignDrafts/*}:promote" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_draft_service.proto body: "*" }; option (google.api.method_signature) = "campaign_draft"; @@ -142,22 +111,14 @@ service CampaignDraftService { rpc ListCampaignDraftAsyncErrors(ListCampaignDraftAsyncErrorsRequest) returns (ListCampaignDraftAsyncErrorsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_draft_service.proto - get: "/v12/{resource_name=customers/*/campaignDrafts/*}:listAsyncErrors" -======== get: "/v15/{resource_name=customers/*/campaignDrafts/*}:listAsyncErrors" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_draft_service.proto }; option (google.api.method_signature) = "resource_name"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_draft_service.proto -// Request message for [CampaignDraftService.MutateCampaignDrafts][google.ads.googleads.v12.services.CampaignDraftService.MutateCampaignDrafts]. -======== // Request message for // [CampaignDraftService.MutateCampaignDrafts][google.ads.googleads.v15.services.CampaignDraftService.MutateCampaignDrafts]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_draft_service.proto message MutateCampaignDraftsRequest { // Required. The ID of the customer whose campaign drafts are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -178,19 +139,12 @@ message MutateCampaignDraftsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_draft_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -} - -// Request message for [CampaignDraftService.PromoteCampaignDraft][google.ads.googleads.v12.services.CampaignDraftService.PromoteCampaignDraft]. -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; } // Request message for // [CampaignDraftService.PromoteCampaignDraft][google.ads.googleads.v15.services.CampaignDraftService.PromoteCampaignDraft]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_draft_service.proto message PromoteCampaignDraftRequest { // Required. The resource name of the campaign draft to promote. string campaign_draft = 1 [ @@ -214,19 +168,11 @@ message CampaignDraftOperation { oneof operation { // Create operation: No resource name is expected for the new campaign // draft. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_draft_service.proto - google.ads.googleads.v12.resources.CampaignDraft create = 1; - - // Update operation: The campaign draft is expected to have a valid - // resource name. - google.ads.googleads.v12.resources.CampaignDraft update = 2; -======== google.ads.googleads.v15.resources.CampaignDraft create = 1; // Update operation: The campaign draft is expected to have a valid // resource name. google.ads.googleads.v15.resources.CampaignDraft update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_draft_service.proto // Remove operation: The campaign draft is expected to have a valid // resource name, in this format: @@ -260,18 +206,11 @@ message MutateCampaignDraftResult { // The mutated campaign draft with only mutable fields after mutate. The field // will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_draft_service.proto - google.ads.googleads.v12.resources.CampaignDraft campaign_draft = 2; -} - -// Request message for [CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v12.services.CampaignDraftService.ListCampaignDraftAsyncErrors]. -======== google.ads.googleads.v15.resources.CampaignDraft campaign_draft = 2; } // Request message for // [CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v15.services.CampaignDraftService.ListCampaignDraftAsyncErrors]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_draft_service.proto message ListCampaignDraftAsyncErrorsRequest { // Required. The name of the campaign draft from which to retrieve the async // errors. @@ -294,12 +233,8 @@ message ListCampaignDraftAsyncErrorsRequest { int32 page_size = 3; } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_draft_service.proto -// Response message for [CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v12.services.CampaignDraftService.ListCampaignDraftAsyncErrors]. -======== // Response message for // [CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v15.services.CampaignDraftService.ListCampaignDraftAsyncErrors]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_draft_service.proto message ListCampaignDraftAsyncErrorsResponse { // Details of the errors when performing the asynchronous operation. repeated google.rpc.Status errors = 1; diff --git a/third_party/googleapis/google/ads/googleads/v15/services/campaign_extension_setting_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/campaign_extension_setting_service.proto index d1f2c3fe6..f09ede3a4 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/campaign_extension_setting_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/campaign_extension_setting_service.proto @@ -14,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_extension_setting_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/campaign_extension_setting.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/campaign_extension_setting.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_extension_setting_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -32,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_extension_setting_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignExtensionSettingServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -50,7 +33,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_extension_setting_service.proto // Proto file describing the CampaignExtensionSetting service. @@ -93,11 +75,7 @@ service CampaignExtensionSettingService { rpc MutateCampaignExtensionSettings(MutateCampaignExtensionSettingsRequest) returns (MutateCampaignExtensionSettingsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_extension_setting_service.proto - post: "/v12/customers/{customer_id=*}/campaignExtensionSettings:mutate" -======== post: "/v15/customers/{customer_id=*}/campaignExtensionSettings:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_extension_setting_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -105,11 +83,7 @@ service CampaignExtensionSettingService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_extension_setting_service.proto -// [CampaignExtensionSettingService.MutateCampaignExtensionSettings][google.ads.googleads.v12.services.CampaignExtensionSettingService.MutateCampaignExtensionSettings]. -======== // [CampaignExtensionSettingService.MutateCampaignExtensionSettings][google.ads.googleads.v15.services.CampaignExtensionSettingService.MutateCampaignExtensionSettings]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_extension_setting_service.proto message MutateCampaignExtensionSettingsRequest { // Required. The ID of the customer whose campaign extension settings are // being modified. @@ -132,12 +106,8 @@ message MutateCampaignExtensionSettingsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_extension_setting_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_extension_setting_service.proto } // A single operation (create, update, remove) on a campaign extension setting. @@ -149,19 +119,11 @@ message CampaignExtensionSettingOperation { oneof operation { // Create operation: No resource name is expected for the new campaign // extension setting. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_extension_setting_service.proto - google.ads.googleads.v12.resources.CampaignExtensionSetting create = 1; - - // Update operation: The campaign extension setting is expected to have a - // valid resource name. - google.ads.googleads.v12.resources.CampaignExtensionSetting update = 2; -======== google.ads.googleads.v15.resources.CampaignExtensionSetting create = 1; // Update operation: The campaign extension setting is expected to have a // valid resource name. google.ads.googleads.v15.resources.CampaignExtensionSetting update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_extension_setting_service.proto // Remove operation: A resource name for the removed campaign extension // setting is expected, in this format: @@ -195,10 +157,6 @@ message MutateCampaignExtensionSettingResult { // The mutated campaign extension setting with only mutable fields after // mutate. The field will only be returned when response_content_type is set // to "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_extension_setting_service.proto - google.ads.googleads.v12.resources.CampaignExtensionSetting campaign_extension_setting = 2; -======== google.ads.googleads.v15.resources.CampaignExtensionSetting campaign_extension_setting = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_extension_setting_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/campaign_feed_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/campaign_feed_service.proto index ea116847f..8ea8f3537 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/campaign_feed_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/campaign_feed_service.proto @@ -14,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_feed_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/campaign_feed.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/campaign_feed.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_feed_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -32,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_feed_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignFeedServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -50,7 +33,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_feed_service.proto // Proto file describing the CampaignFeed service. @@ -89,23 +71,15 @@ service CampaignFeedService { rpc MutateCampaignFeeds(MutateCampaignFeedsRequest) returns (MutateCampaignFeedsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_feed_service.proto - post: "/v12/customers/{customer_id=*}/campaignFeeds:mutate" -======== post: "/v15/customers/{customer_id=*}/campaignFeeds:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_feed_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_feed_service.proto -// Request message for [CampaignFeedService.MutateCampaignFeeds][google.ads.googleads.v12.services.CampaignFeedService.MutateCampaignFeeds]. -======== // Request message for // [CampaignFeedService.MutateCampaignFeeds][google.ads.googleads.v15.services.CampaignFeedService.MutateCampaignFeeds]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_feed_service.proto message MutateCampaignFeedsRequest { // Required. The ID of the customer whose campaign feeds are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -126,12 +100,8 @@ message MutateCampaignFeedsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_feed_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_feed_service.proto } // A single operation (create, update, remove) on a campaign feed. @@ -142,19 +112,11 @@ message CampaignFeedOperation { // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new campaign feed. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_feed_service.proto - google.ads.googleads.v12.resources.CampaignFeed create = 1; - - // Update operation: The campaign feed is expected to have a valid resource - // name. - google.ads.googleads.v12.resources.CampaignFeed update = 2; -======== google.ads.googleads.v15.resources.CampaignFeed create = 1; // Update operation: The campaign feed is expected to have a valid resource // name. google.ads.googleads.v15.resources.CampaignFeed update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_feed_service.proto // Remove operation: A resource name for the removed campaign feed is // expected, in this format: @@ -188,9 +150,5 @@ message MutateCampaignFeedResult { // The mutated campaign feed with only mutable fields after mutate. The field // will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_feed_service.proto - google.ads.googleads.v12.resources.CampaignFeed campaign_feed = 2; -======== google.ads.googleads.v15.resources.CampaignFeed campaign_feed = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_feed_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/campaign_group_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/campaign_group_service.proto index bec08a8fa..69da6e83a 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/campaign_group_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/campaign_group_service.proto @@ -14,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_group_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/campaign_group.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/campaign_group.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_group_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -32,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_group_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignGroupServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -50,7 +33,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_group_service.proto // Proto file describing the Campaign group service. @@ -64,23 +46,15 @@ service CampaignGroupService { rpc MutateCampaignGroups(MutateCampaignGroupsRequest) returns (MutateCampaignGroupsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_group_service.proto - post: "/v12/customers/{customer_id=*}/campaignGroups:mutate" -======== post: "/v15/customers/{customer_id=*}/campaignGroups:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_group_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_group_service.proto -// Request message for [CampaignGroupService.MutateCampaignGroups][google.ads.googleads.v12.services.CampaignGroupService.MutateCampaignGroups]. -======== // Request message for // [CampaignGroupService.MutateCampaignGroups][google.ads.googleads.v15.services.CampaignGroupService.MutateCampaignGroups]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_group_service.proto message MutateCampaignGroupsRequest { // Required. The ID of the customer whose campaign groups are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -101,12 +75,8 @@ message MutateCampaignGroupsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_group_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_group_service.proto } // A single operation (create, update, remove) on a campaign group. @@ -118,19 +88,11 @@ message CampaignGroupOperation { oneof operation { // Create operation: No resource name is expected for the new campaign // group. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_group_service.proto - google.ads.googleads.v12.resources.CampaignGroup create = 1; - - // Update operation: The campaign group is expected to have a valid - // resource name. - google.ads.googleads.v12.resources.CampaignGroup update = 2; -======== google.ads.googleads.v15.resources.CampaignGroup create = 1; // Update operation: The campaign group is expected to have a valid // resource name. google.ads.googleads.v15.resources.CampaignGroup update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_group_service.proto // Remove operation: A resource name for the removed campaign group is // expected, in this format: @@ -167,9 +129,5 @@ message MutateCampaignGroupResult { // The mutated campaign group with only mutable fields after mutate. The field // will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_group_service.proto - google.ads.googleads.v12.resources.CampaignGroup campaign_group = 2; -======== google.ads.googleads.v15.resources.CampaignGroup campaign_group = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_group_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/campaign_label_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/campaign_label_service.proto index 190f5c844..e82dfb89f 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/campaign_label_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/campaign_label_service.proto @@ -14,31 +14,15 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_label_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/campaign_label.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/resources/campaign_label.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_label_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_label_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignLabelServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -47,7 +31,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_label_service.proto // Proto file describing the Campaign Label service. @@ -74,23 +57,15 @@ service CampaignLabelService { rpc MutateCampaignLabels(MutateCampaignLabelsRequest) returns (MutateCampaignLabelsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_label_service.proto - post: "/v12/customers/{customer_id=*}/campaignLabels:mutate" -======== post: "/v15/customers/{customer_id=*}/campaignLabels:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_label_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_label_service.proto -// Request message for [CampaignLabelService.MutateCampaignLabels][google.ads.googleads.v12.services.CampaignLabelService.MutateCampaignLabels]. -======== // Request message for // [CampaignLabelService.MutateCampaignLabels][google.ads.googleads.v15.services.CampaignLabelService.MutateCampaignLabels]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_label_service.proto message MutateCampaignLabelsRequest { // Required. ID of the customer whose campaign-label relationships are being // modified. @@ -118,11 +93,7 @@ message CampaignLabelOperation { oneof operation { // Create operation: No resource name is expected for the new campaign-label // relationship. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_label_service.proto - google.ads.googleads.v12.resources.CampaignLabel create = 1; -======== google.ads.googleads.v15.resources.CampaignLabel create = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_label_service.proto // Remove operation: A resource name for the campaign-label relationship // being removed, in this format: diff --git a/third_party/googleapis/google/ads/googleads/v15/services/campaign_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/campaign_service.proto index f8d0eb63d..c8fb4c2e3 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/campaign_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/campaign_service.proto @@ -14,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/campaign.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/campaign.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -32,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -50,7 +33,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_service.proto // Proto file describing the Campaign service. @@ -100,23 +82,15 @@ service CampaignService { rpc MutateCampaigns(MutateCampaignsRequest) returns (MutateCampaignsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_service.proto - post: "/v12/customers/{customer_id=*}/campaigns:mutate" -======== post: "/v15/customers/{customer_id=*}/campaigns:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_service.proto -// Request message for [CampaignService.MutateCampaigns][google.ads.googleads.v12.services.CampaignService.MutateCampaigns]. -======== // Request message for // [CampaignService.MutateCampaigns][google.ads.googleads.v15.services.CampaignService.MutateCampaigns]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_service.proto message MutateCampaignsRequest { // Required. The ID of the customer whose campaigns are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -137,12 +111,8 @@ message MutateCampaignsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_service.proto } // A single operation (create, update, remove) on a campaign. @@ -153,19 +123,11 @@ message CampaignOperation { // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new campaign. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_service.proto - google.ads.googleads.v12.resources.Campaign create = 1; - - // Update operation: The campaign is expected to have a valid - // resource name. - google.ads.googleads.v12.resources.Campaign update = 2; -======== google.ads.googleads.v15.resources.Campaign create = 1; // Update operation: The campaign is expected to have a valid // resource name. google.ads.googleads.v15.resources.Campaign update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_service.proto // Remove operation: A resource name for the removed campaign is // expected, in this format: @@ -198,9 +160,5 @@ message MutateCampaignResult { // The mutated campaign with only mutable fields after mutate. The field will // only be returned when response_content_type is set to "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_service.proto - google.ads.googleads.v12.resources.Campaign campaign = 2; -======== google.ads.googleads.v15.resources.Campaign campaign = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/campaign_shared_set_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/campaign_shared_set_service.proto index a683d1656..7a7f458f7 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/campaign_shared_set_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/campaign_shared_set_service.proto @@ -14,33 +14,16 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_shared_set_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/campaign_shared_set.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/campaign_shared_set.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_shared_set_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_shared_set_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CampaignSharedSetServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -49,7 +32,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_shared_set_service.proto // Proto file describing the Campaign Shared Set service. @@ -86,23 +68,15 @@ service CampaignSharedSetService { rpc MutateCampaignSharedSets(MutateCampaignSharedSetsRequest) returns (MutateCampaignSharedSetsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_shared_set_service.proto - post: "/v12/customers/{customer_id=*}/campaignSharedSets:mutate" -======== post: "/v15/customers/{customer_id=*}/campaignSharedSets:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_shared_set_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_shared_set_service.proto -// Request message for [CampaignSharedSetService.MutateCampaignSharedSets][google.ads.googleads.v12.services.CampaignSharedSetService.MutateCampaignSharedSets]. -======== // Request message for // [CampaignSharedSetService.MutateCampaignSharedSets][google.ads.googleads.v15.services.CampaignSharedSetService.MutateCampaignSharedSets]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_shared_set_service.proto message MutateCampaignSharedSetsRequest { // Required. The ID of the customer whose campaign shared sets are being // modified. @@ -125,12 +99,8 @@ message MutateCampaignSharedSetsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_shared_set_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_shared_set_service.proto } // A single operation (create, remove) on a campaign shared set. @@ -139,11 +109,7 @@ message CampaignSharedSetOperation { oneof operation { // Create operation: No resource name is expected for the new campaign // shared set. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_shared_set_service.proto - google.ads.googleads.v12.resources.CampaignSharedSet create = 1; -======== google.ads.googleads.v15.resources.CampaignSharedSet create = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_shared_set_service.proto // Remove operation: A resource name for the removed campaign shared set is // expected, in this format: @@ -177,9 +143,5 @@ message MutateCampaignSharedSetResult { // The mutated campaign shared set with only mutable fields after mutate. The // field will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/campaign_shared_set_service.proto - google.ads.googleads.v12.resources.CampaignSharedSet campaign_shared_set = 2; -======== google.ads.googleads.v15.resources.CampaignSharedSet campaign_shared_set = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/campaign_shared_set_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/conversion_action_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/conversion_action_service.proto index a0c7d6e70..f2d02aea4 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/conversion_action_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/conversion_action_service.proto @@ -14,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_action_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/conversion_action.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/conversion_action.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_action_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -32,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_action_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ConversionActionServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -50,7 +33,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_action_service.proto // Proto file describing the Conversion Action service. @@ -82,23 +64,15 @@ service ConversionActionService { rpc MutateConversionActions(MutateConversionActionsRequest) returns (MutateConversionActionsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_action_service.proto - post: "/v12/customers/{customer_id=*}/conversionActions:mutate" -======== post: "/v15/customers/{customer_id=*}/conversionActions:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_action_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_action_service.proto -// Request message for [ConversionActionService.MutateConversionActions][google.ads.googleads.v12.services.ConversionActionService.MutateConversionActions]. -======== // Request message for // [ConversionActionService.MutateConversionActions][google.ads.googleads.v15.services.ConversionActionService.MutateConversionActions]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_action_service.proto message MutateConversionActionsRequest { // Required. The ID of the customer whose conversion actions are being // modified. @@ -121,12 +95,8 @@ message MutateConversionActionsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_action_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_action_service.proto } // A single operation (create, update, remove) on a conversion action. @@ -138,19 +108,11 @@ message ConversionActionOperation { oneof operation { // Create operation: No resource name is expected for the new conversion // action. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_action_service.proto - google.ads.googleads.v12.resources.ConversionAction create = 1; - - // Update operation: The conversion action is expected to have a valid - // resource name. - google.ads.googleads.v12.resources.ConversionAction update = 2; -======== google.ads.googleads.v15.resources.ConversionAction create = 1; // Update operation: The conversion action is expected to have a valid // resource name. google.ads.googleads.v15.resources.ConversionAction update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_action_service.proto // Remove operation: A resource name for the removed conversion action is // expected, in this format: @@ -162,12 +124,8 @@ message ConversionActionOperation { } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_action_service.proto -// Response message for [ConversionActionService.MutateConversionActions][google.ads.googleads.v12.services.ConversionActionService.MutateConversionActions]. -======== // Response message for // [ConversionActionService.MutateConversionActions][google.ads.googleads.v15.services.ConversionActionService.MutateConversionActions]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_action_service.proto message MutateConversionActionsResponse { // Errors that pertain to operation failures in the partial failure mode. // Returned only when partial_failure = true and all errors occur inside the @@ -189,9 +147,5 @@ message MutateConversionActionResult { // The mutated conversion action with only mutable fields after mutate. The // field will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_action_service.proto - google.ads.googleads.v12.resources.ConversionAction conversion_action = 2; -======== google.ads.googleads.v15.resources.ConversionAction conversion_action = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_action_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/conversion_adjustment_upload_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/conversion_adjustment_upload_service.proto index af4f035d1..7d470fca8 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/conversion_adjustment_upload_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/conversion_adjustment_upload_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_adjustment_upload_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_adjustment_upload_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,32 +14,15 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_adjustment_upload_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/common/offline_user_data.proto"; -import "google/ads/googleads/v13/enums/conversion_adjustment_type.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/common/offline_user_data.proto"; import "google/ads/googleads/v15/enums/conversion_adjustment_type.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_adjustment_upload_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_adjustment_upload_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ConversionAdjustmentUploadServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -52,7 +31,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_adjustment_upload_service.proto // Service to upload conversion adjustments. service ConversionAdjustmentUploadService { @@ -72,11 +50,7 @@ service ConversionAdjustmentUploadService { rpc UploadConversionAdjustments(UploadConversionAdjustmentsRequest) returns (UploadConversionAdjustmentsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_adjustment_upload_service.proto - post: "/v13/customers/{customer_id=*}:uploadConversionAdjustments" -======== post: "/v15/customers/{customer_id=*}:uploadConversionAdjustments" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_adjustment_upload_service.proto body: "*" }; option (google.api.method_signature) = @@ -85,11 +59,7 @@ service ConversionAdjustmentUploadService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_adjustment_upload_service.proto -// [ConversionAdjustmentUploadService.UploadConversionAdjustments][google.ads.googleads.v13.services.ConversionAdjustmentUploadService.UploadConversionAdjustments]. -======== // [ConversionAdjustmentUploadService.UploadConversionAdjustments][google.ads.googleads.v15.services.ConversionAdjustmentUploadService.UploadConversionAdjustments]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_adjustment_upload_service.proto message UploadConversionAdjustmentsRequest { // Required. The ID of the customer performing the upload. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -120,11 +90,7 @@ message UploadConversionAdjustmentsRequest { } // Response message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_adjustment_upload_service.proto -// [ConversionAdjustmentUploadService.UploadConversionAdjustments][google.ads.googleads.v13.services.ConversionAdjustmentUploadService.UploadConversionAdjustments]. -======== // [ConversionAdjustmentUploadService.UploadConversionAdjustments][google.ads.googleads.v15.services.ConversionAdjustmentUploadService.UploadConversionAdjustments]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_adjustment_upload_service.proto message UploadConversionAdjustmentsResponse { // Errors that pertain to conversion adjustment failures in the partial // failure mode. Returned when all errors occur inside the adjustments. If any @@ -167,11 +133,7 @@ message ConversionAdjustment { optional string adjustment_date_time = 9; // The adjustment type. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_adjustment_upload_service.proto - google.ads.googleads.v13.enums.ConversionAdjustmentTypeEnum -======== google.ads.googleads.v15.enums.ConversionAdjustmentTypeEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_adjustment_upload_service.proto .ConversionAdjustmentType adjustment_type = 5; // Information needed to restate the conversion's value. @@ -187,11 +149,7 @@ message ConversionAdjustment { // ConversionAdjustmentUploadService only accepts user identifiers in // enhancements. The maximum number of user identifiers for each // enhancement is 5. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_adjustment_upload_service.proto - repeated google.ads.googleads.v13.common.UserIdentifier user_identifiers = 10; -======== repeated google.ads.googleads.v15.common.UserIdentifier user_identifiers = 10; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_adjustment_upload_service.proto // The user agent to enhance the original conversion. This can be found in // your user's HTTP request header when they convert on your web page. @@ -251,10 +209,6 @@ message ConversionAdjustmentResult { optional string adjustment_date_time = 8; // The adjustment type. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_adjustment_upload_service.proto - google.ads.googleads.v13.enums.ConversionAdjustmentTypeEnum -======== google.ads.googleads.v15.enums.ConversionAdjustmentTypeEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_adjustment_upload_service.proto .ConversionAdjustmentType adjustment_type = 5; } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/conversion_custom_variable_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/conversion_custom_variable_service.proto index baf61a6d8..df0ea8bc8 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/conversion_custom_variable_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/conversion_custom_variable_service.proto @@ -14,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_custom_variable_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/conversion_custom_variable.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/conversion_custom_variable.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_custom_variable_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -32,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_custom_variable_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ConversionCustomVariableServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -50,7 +33,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_custom_variable_service.proto // Proto file describing the Conversion Custom Variable service. @@ -74,11 +56,7 @@ service ConversionCustomVariableService { rpc MutateConversionCustomVariables(MutateConversionCustomVariablesRequest) returns (MutateConversionCustomVariablesResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_custom_variable_service.proto - post: "/v12/customers/{customer_id=*}/conversionCustomVariables:mutate" -======== post: "/v15/customers/{customer_id=*}/conversionCustomVariables:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_custom_variable_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -86,11 +64,7 @@ service ConversionCustomVariableService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_custom_variable_service.proto -// [ConversionCustomVariableService.MutateConversionCustomVariables][google.ads.googleads.v12.services.ConversionCustomVariableService.MutateConversionCustomVariables]. -======== // [ConversionCustomVariableService.MutateConversionCustomVariables][google.ads.googleads.v15.services.ConversionCustomVariableService.MutateConversionCustomVariables]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_custom_variable_service.proto message MutateConversionCustomVariablesRequest { // Required. The ID of the customer whose conversion custom variables are // being modified. @@ -113,12 +87,8 @@ message MutateConversionCustomVariablesRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_custom_variable_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_custom_variable_service.proto } // A single operation (create, update) on a conversion custom variable. @@ -130,28 +100,16 @@ message ConversionCustomVariableOperation { oneof operation { // Create operation: No resource name is expected for the new conversion // custom variable. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_custom_variable_service.proto - google.ads.googleads.v12.resources.ConversionCustomVariable create = 1; - - // Update operation: The conversion custom variable is expected to have a - // valid resource name. - google.ads.googleads.v12.resources.ConversionCustomVariable update = 2; -======== google.ads.googleads.v15.resources.ConversionCustomVariable create = 1; // Update operation: The conversion custom variable is expected to have a // valid resource name. google.ads.googleads.v15.resources.ConversionCustomVariable update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_custom_variable_service.proto } } // Response message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_custom_variable_service.proto -// [ConversionCustomVariableService.MutateConversionCustomVariables][google.ads.googleads.v12.services.ConversionCustomVariableService.MutateConversionCustomVariables]. -======== // [ConversionCustomVariableService.MutateConversionCustomVariables][google.ads.googleads.v15.services.ConversionCustomVariableService.MutateConversionCustomVariables]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_custom_variable_service.proto message MutateConversionCustomVariablesResponse { // Errors that pertain to operation failures in the partial failure mode. // Returned only when partial_failure = true and all errors occur inside the @@ -173,10 +131,6 @@ message MutateConversionCustomVariableResult { // The mutated conversion custom variable with only mutable fields after // mutate. The field will only be returned when response_content_type is set // to "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_custom_variable_service.proto - google.ads.googleads.v12.resources.ConversionCustomVariable conversion_custom_variable = 2; -======== google.ads.googleads.v15.resources.ConversionCustomVariable conversion_custom_variable = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_custom_variable_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/conversion_goal_campaign_config_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/conversion_goal_campaign_config_service.proto index f1c291b8a..3fb27dba1 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/conversion_goal_campaign_config_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/conversion_goal_campaign_config_service.proto @@ -14,33 +14,16 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_goal_campaign_config_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/conversion_goal_campaign_config.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/conversion_goal_campaign_config.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_goal_campaign_config_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_goal_campaign_config_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ConversionGoalCampaignConfigServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -49,7 +32,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_goal_campaign_config_service.proto // Proto file describing the ConversionGoalCampaignConfig service. @@ -64,11 +46,7 @@ service ConversionGoalCampaignConfigService { MutateConversionGoalCampaignConfigsRequest) returns (MutateConversionGoalCampaignConfigsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_goal_campaign_config_service.proto - post: "/v12/customers/{customer_id=*}/conversionGoalCampaignConfigs:mutate" -======== post: "/v15/customers/{customer_id=*}/conversionGoalCampaignConfigs:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_goal_campaign_config_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -93,12 +71,8 @@ message MutateConversionGoalCampaignConfigsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_goal_campaign_config_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_goal_campaign_config_service.proto } // A single operation (update) on a conversion goal campaign config. @@ -110,11 +84,7 @@ message ConversionGoalCampaignConfigOperation { oneof operation { // Update operation: The conversion goal campaign config is expected to have // a valid resource name. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_goal_campaign_config_service.proto - google.ads.googleads.v12.resources.ConversionGoalCampaignConfig update = 1; -======== google.ads.googleads.v15.resources.ConversionGoalCampaignConfig update = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_goal_campaign_config_service.proto } } @@ -134,10 +104,6 @@ message MutateConversionGoalCampaignConfigResult { // The mutated ConversionGoalCampaignConfig with only mutable fields after // mutate. The field will only be returned when response_content_type is set // to "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_goal_campaign_config_service.proto - google.ads.googleads.v12.resources.ConversionGoalCampaignConfig conversion_goal_campaign_config = 2; -======== google.ads.googleads.v15.resources.ConversionGoalCampaignConfig conversion_goal_campaign_config = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_goal_campaign_config_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/conversion_upload_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/conversion_upload_service.proto index 210baeb69..0dca828b5 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/conversion_upload_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/conversion_upload_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_upload_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_upload_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,34 +14,17 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_upload_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/common/offline_user_data.proto"; -import "google/ads/googleads/v13/enums/conversion_environment_enum.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/common/consent.proto"; import "google/ads/googleads/v15/common/offline_user_data.proto"; import "google/ads/googleads/v15/enums/conversion_environment_enum.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_upload_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_upload_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ConversionUploadServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -54,7 +33,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_upload_service.proto // Service to upload conversions. service ConversionUploadService { @@ -75,11 +53,7 @@ service ConversionUploadService { rpc UploadClickConversions(UploadClickConversionsRequest) returns (UploadClickConversionsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_upload_service.proto - post: "/v13/customers/{customer_id=*}:uploadClickConversions" -======== post: "/v15/customers/{customer_id=*}:uploadClickConversions" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_upload_service.proto body: "*" }; option (google.api.method_signature) = @@ -99,11 +73,7 @@ service ConversionUploadService { rpc UploadCallConversions(UploadCallConversionsRequest) returns (UploadCallConversionsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_upload_service.proto - post: "/v13/customers/{customer_id=*}:uploadCallConversions" -======== post: "/v15/customers/{customer_id=*}:uploadCallConversions" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_upload_service.proto body: "*" }; option (google.api.method_signature) = @@ -112,11 +82,7 @@ service ConversionUploadService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_upload_service.proto -// [ConversionUploadService.UploadClickConversions][google.ads.googleads.v13.services.ConversionUploadService.UploadClickConversions]. -======== // [ConversionUploadService.UploadClickConversions][google.ads.googleads.v15.services.ConversionUploadService.UploadClickConversions]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_upload_service.proto message UploadClickConversionsRequest { // Required. The ID of the customer performing the upload. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -157,12 +123,6 @@ message UploadClickConversionsRequest { // // Default is false. bool debug_enabled = 5; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_upload_service.proto -} - -// Response message for -// [ConversionUploadService.UploadClickConversions][google.ads.googleads.v13.services.ConversionUploadService.UploadClickConversions]. -======== // Optional. Optional input to set job ID. Must be a non-negative number that // is less than 2^31 if provided. If this field is not provided, the API will @@ -174,7 +134,6 @@ message UploadClickConversionsRequest { // Response message for // [ConversionUploadService.UploadClickConversions][google.ads.googleads.v15.services.ConversionUploadService.UploadClickConversions]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_upload_service.proto message UploadClickConversionsResponse { // Errors that pertain to conversion failures in the partial failure mode. // Returned when all errors occur inside the conversions. If any errors occur @@ -194,11 +153,7 @@ message UploadClickConversionsResponse { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_upload_service.proto -// [ConversionUploadService.UploadCallConversions][google.ads.googleads.v13.services.ConversionUploadService.UploadCallConversions]. -======== // [ConversionUploadService.UploadCallConversions][google.ads.googleads.v15.services.ConversionUploadService.UploadCallConversions]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_upload_service.proto message UploadCallConversionsRequest { // Required. The ID of the customer performing the upload. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -222,11 +177,7 @@ message UploadCallConversionsRequest { } // Response message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_upload_service.proto -// [ConversionUploadService.UploadCallConversions][google.ads.googleads.v13.services.ConversionUploadService.UploadCallConversions]. -======== // [ConversionUploadService.UploadCallConversions][google.ads.googleads.v15.services.ConversionUploadService.UploadCallConversions]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_upload_service.proto message UploadCallConversionsResponse { // Errors that pertain to conversion failures in the partial failure mode. // Returned when all errors occur inside the conversions. If any errors occur @@ -291,13 +242,6 @@ message ClickConversion { // The user identifiers associated with this conversion. Only hashed_email and // hashed_phone_number are supported for conversion uploads. The maximum // number of user identifiers for each conversion is 5. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_upload_service.proto - repeated google.ads.googleads.v13.common.UserIdentifier user_identifiers = 17; - - // The environment this conversion was recorded on, for example, App or Web. - google.ads.googleads.v13.enums.ConversionEnvironmentEnum.ConversionEnvironment - conversion_environment = 20; -======== repeated google.ads.googleads.v15.common.UserIdentifier user_identifiers = 17; // The environment this conversion was recorded on, for example, App or Web. @@ -306,7 +250,6 @@ message ClickConversion { // The consent setting for the event. google.ads.googleads.v15.common.Consent consent = 23; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_upload_service.proto } // A call conversion. @@ -378,11 +321,7 @@ message ClickConversionResult { // The user identifiers associated with this conversion. Only hashed_email and // hashed_phone_number are supported for conversion uploads. The maximum // number of user identifiers for each conversion is 5. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/conversion_upload_service.proto - repeated google.ads.googleads.v13.common.UserIdentifier user_identifiers = 7; -======== repeated google.ads.googleads.v15.common.UserIdentifier user_identifiers = 7; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_upload_service.proto } // Identifying information for a successfully processed CallConversionUpload. diff --git a/third_party/googleapis/google/ads/googleads/v15/services/conversion_value_rule_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/conversion_value_rule_service.proto index 3e8f505b9..0838304bc 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/conversion_value_rule_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/conversion_value_rule_service.proto @@ -14,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_value_rule_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/conversion_value_rule.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/conversion_value_rule.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_value_rule_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -32,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_value_rule_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ConversionValueRuleServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -50,7 +33,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_value_rule_service.proto // Proto file describing the Conversion Value Rule service. @@ -64,11 +46,7 @@ service ConversionValueRuleService { rpc MutateConversionValueRules(MutateConversionValueRulesRequest) returns (MutateConversionValueRulesResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_value_rule_service.proto - post: "/v12/customers/{customer_id=*}/conversionValueRules:mutate" -======== post: "/v15/customers/{customer_id=*}/conversionValueRules:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_value_rule_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -76,11 +54,7 @@ service ConversionValueRuleService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_value_rule_service.proto -// [ConversionValueRuleService.MutateConversionValueRules][google.ads.googleads.v12.services.ConversionValueRuleService.MutateConversionValueRules]. -======== // [ConversionValueRuleService.MutateConversionValueRules][google.ads.googleads.v15.services.ConversionValueRuleService.MutateConversionValueRules]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_value_rule_service.proto message MutateConversionValueRulesRequest { // Required. The ID of the customer whose conversion value rules are being // modified. @@ -103,12 +77,8 @@ message MutateConversionValueRulesRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_value_rule_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_value_rule_service.proto } // A single operation (create, update, remove) on a conversion value rule. @@ -120,19 +90,11 @@ message ConversionValueRuleOperation { oneof operation { // Create operation: No resource name is expected for the new conversion // value rule. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_value_rule_service.proto - google.ads.googleads.v12.resources.ConversionValueRule create = 1; - - // Update operation: The conversion value rule is expected to have a valid - // resource name. - google.ads.googleads.v12.resources.ConversionValueRule update = 2; -======== google.ads.googleads.v15.resources.ConversionValueRule create = 1; // Update operation: The conversion value rule is expected to have a valid // resource name. google.ads.googleads.v15.resources.ConversionValueRule update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_value_rule_service.proto // Remove operation: A resource name for the removed conversion value rule // is expected, in this format: @@ -145,11 +107,7 @@ message ConversionValueRuleOperation { } // Response message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_value_rule_service.proto -// [ConversionValueRuleService.MutateConversionValueRules][google.ads.googleads.v12.services.ConversionValueRuleService.MutateConversionValueRules]. -======== // [ConversionValueRuleService.MutateConversionValueRules][google.ads.googleads.v15.services.ConversionValueRuleService.MutateConversionValueRules]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_value_rule_service.proto message MutateConversionValueRulesResponse { // All results for the mutate. repeated MutateConversionValueRuleResult results = 2; @@ -171,10 +129,6 @@ message MutateConversionValueRuleResult { // The mutated conversion value rule with only mutable fields after // mutate. The field will only be returned when response_content_type is set // to "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_value_rule_service.proto - google.ads.googleads.v12.resources.ConversionValueRule conversion_value_rule = 2; -======== google.ads.googleads.v15.resources.ConversionValueRule conversion_value_rule = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_value_rule_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/conversion_value_rule_set_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/conversion_value_rule_set_service.proto index ead58bca9..66603a7e1 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/conversion_value_rule_set_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/conversion_value_rule_set_service.proto @@ -14,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_value_rule_set_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/conversion_value_rule_set.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/conversion_value_rule_set.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_value_rule_set_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -32,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_value_rule_set_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ConversionValueRuleSetServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -50,7 +33,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_value_rule_set_service.proto // Proto file describing the Conversion Value Rule Set service. @@ -64,11 +46,7 @@ service ConversionValueRuleSetService { rpc MutateConversionValueRuleSets(MutateConversionValueRuleSetsRequest) returns (MutateConversionValueRuleSetsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_value_rule_set_service.proto - post: "/v12/customers/{customer_id=*}/conversionValueRuleSets:mutate" -======== post: "/v15/customers/{customer_id=*}/conversionValueRuleSets:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_value_rule_set_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -76,11 +54,7 @@ service ConversionValueRuleSetService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_value_rule_set_service.proto -// [ConversionValueRuleSetService.MutateConversionValueRuleSets][google.ads.googleads.v12.services.ConversionValueRuleSetService.MutateConversionValueRuleSets]. -======== // [ConversionValueRuleSetService.MutateConversionValueRuleSets][google.ads.googleads.v15.services.ConversionValueRuleSetService.MutateConversionValueRuleSets]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_value_rule_set_service.proto message MutateConversionValueRuleSetsRequest { // Required. The ID of the customer whose conversion value rule sets are being // modified. @@ -103,12 +77,8 @@ message MutateConversionValueRuleSetsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_value_rule_set_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_value_rule_set_service.proto } // A single operation (create, update, remove) on a conversion value rule set. @@ -120,19 +90,11 @@ message ConversionValueRuleSetOperation { oneof operation { // Create operation: No resource name is expected for the new conversion // value rule set. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_value_rule_set_service.proto - google.ads.googleads.v12.resources.ConversionValueRuleSet create = 1; - - // Update operation: The conversion value rule set is expected to have a - // valid resource name. - google.ads.googleads.v12.resources.ConversionValueRuleSet update = 2; -======== google.ads.googleads.v15.resources.ConversionValueRuleSet create = 1; // Update operation: The conversion value rule set is expected to have a // valid resource name. google.ads.googleads.v15.resources.ConversionValueRuleSet update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_value_rule_set_service.proto // Remove operation: A resource name for the removed conversion value rule // set is expected, in this format: @@ -145,11 +107,7 @@ message ConversionValueRuleSetOperation { } // Response message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_value_rule_set_service.proto -// [ConversionValueRuleSetService.MutateConversionValueRuleSets][google.ads.googleads.v12.services.ConversionValueRuleSetService.MutateConversionValueRuleSets]. -======== // [ConversionValueRuleSetService.MutateConversionValueRuleSets][google.ads.googleads.v15.services.ConversionValueRuleSetService.MutateConversionValueRuleSets]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_value_rule_set_service.proto message MutateConversionValueRuleSetsResponse { // All results for the mutate. repeated MutateConversionValueRuleSetResult results = 1; @@ -171,10 +129,6 @@ message MutateConversionValueRuleSetResult { // The mutated conversion value rule set with only mutable fields after // mutate. The field will only be returned when response_content_type is set // to "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/conversion_value_rule_set_service.proto - google.ads.googleads.v12.resources.ConversionValueRuleSet conversion_value_rule_set = 2; -======== google.ads.googleads.v15.resources.ConversionValueRuleSet conversion_value_rule_set = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/conversion_value_rule_set_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/custom_audience_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/custom_audience_service.proto index 1e0d0baca..afe2c3302 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/custom_audience_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/custom_audience_service.proto @@ -14,31 +14,15 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/custom_audience_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/custom_audience.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/resources/custom_audience.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/custom_audience_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/custom_audience_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomAudienceServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -47,7 +31,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/custom_audience_service.proto // Proto file describing the Custom Audience service. @@ -75,23 +58,15 @@ service CustomAudienceService { rpc MutateCustomAudiences(MutateCustomAudiencesRequest) returns (MutateCustomAudiencesResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/custom_audience_service.proto - post: "/v12/customers/{customer_id=*}/customAudiences:mutate" -======== post: "/v15/customers/{customer_id=*}/customAudiences:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/custom_audience_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/custom_audience_service.proto -// Request message for [CustomAudienceService.MutateCustomAudiences][google.ads.googleads.v12.services.CustomAudienceService.MutateCustomAudiences]. -======== // Request message for // [CustomAudienceService.MutateCustomAudiences][google.ads.googleads.v15.services.CustomAudienceService.MutateCustomAudiences]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/custom_audience_service.proto message MutateCustomAudiencesRequest { // Required. The ID of the customer whose custom audiences are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -114,19 +89,11 @@ message CustomAudienceOperation { oneof operation { // Create operation: No resource name is expected for the new custom // audience. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/custom_audience_service.proto - google.ads.googleads.v12.resources.CustomAudience create = 1; - - // Update operation: The custom audience is expected to have a valid - // resource name. - google.ads.googleads.v12.resources.CustomAudience update = 2; -======== google.ads.googleads.v15.resources.CustomAudience create = 1; // Update operation: The custom audience is expected to have a valid // resource name. google.ads.googleads.v15.resources.CustomAudience update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/custom_audience_service.proto // Remove operation: A resource name for the removed custom audience is // expected, in this format: diff --git a/third_party/googleapis/google/ads/googleads/v15/services/custom_conversion_goal_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/custom_conversion_goal_service.proto index bcc78a75b..ee25cf20a 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/custom_conversion_goal_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/custom_conversion_goal_service.proto @@ -14,33 +14,16 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/custom_conversion_goal_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/custom_conversion_goal.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/custom_conversion_goal.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/custom_conversion_goal_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/custom_conversion_goal_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomConversionGoalServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -49,7 +32,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/custom_conversion_goal_service.proto // Proto file describing the CustomConversionGoal service. @@ -63,11 +45,7 @@ service CustomConversionGoalService { rpc MutateCustomConversionGoals(MutateCustomConversionGoalsRequest) returns (MutateCustomConversionGoalsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/custom_conversion_goal_service.proto - post: "/v12/customers/{customer_id=*}/customConversionGoals:mutate" -======== post: "/v15/customers/{customer_id=*}/customConversionGoals:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/custom_conversion_goal_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -75,11 +53,7 @@ service CustomConversionGoalService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/custom_conversion_goal_service.proto -// [CustomConversionGoalService.MutateCustomConversionGoals][google.ads.googleads.v12.services.CustomConversionGoalService.MutateCustomConversionGoals]. -======== // [CustomConversionGoalService.MutateCustomConversionGoals][google.ads.googleads.v15.services.CustomConversionGoalService.MutateCustomConversionGoals]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/custom_conversion_goal_service.proto message MutateCustomConversionGoalsRequest { // Required. The ID of the customer whose custom conversion goals are being // modified. @@ -96,12 +70,8 @@ message MutateCustomConversionGoalsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/custom_conversion_goal_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 4; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/custom_conversion_goal_service.proto } // A single operation (create, remove) on a custom conversion goal. @@ -113,19 +83,11 @@ message CustomConversionGoalOperation { oneof operation { // Create operation: No resource name is expected for the new custom // conversion goal -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/custom_conversion_goal_service.proto - google.ads.googleads.v12.resources.CustomConversionGoal create = 1; - - // Update operation: The custom conversion goal is expected to have a - // valid resource name. - google.ads.googleads.v12.resources.CustomConversionGoal update = 2; -======== google.ads.googleads.v15.resources.CustomConversionGoal create = 1; // Update operation: The custom conversion goal is expected to have a // valid resource name. google.ads.googleads.v15.resources.CustomConversionGoal update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/custom_conversion_goal_service.proto // Remove operation: A resource name for the removed custom conversion goal // is expected, in this format: @@ -153,10 +115,6 @@ message MutateCustomConversionGoalResult { // The mutated CustomConversionGoal with only mutable fields after mutate. // The field will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/custom_conversion_goal_service.proto - google.ads.googleads.v12.resources.CustomConversionGoal custom_conversion_goal = 2; -======== google.ads.googleads.v15.resources.CustomConversionGoal custom_conversion_goal = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/custom_conversion_goal_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/custom_interest_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/custom_interest_service.proto index af88897ab..ced1ae5c3 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/custom_interest_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/custom_interest_service.proto @@ -14,31 +14,15 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/custom_interest_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/custom_interest.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/resources/custom_interest.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/custom_interest_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/custom_interest_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomInterestServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -47,7 +31,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/custom_interest_service.proto // Proto file describing the Custom Interest service. @@ -73,23 +56,15 @@ service CustomInterestService { rpc MutateCustomInterests(MutateCustomInterestsRequest) returns (MutateCustomInterestsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/custom_interest_service.proto - post: "/v12/customers/{customer_id=*}/customInterests:mutate" -======== post: "/v15/customers/{customer_id=*}/customInterests:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/custom_interest_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/custom_interest_service.proto -// Request message for [CustomInterestService.MutateCustomInterests][google.ads.googleads.v12.services.CustomInterestService.MutateCustomInterests]. -======== // Request message for // [CustomInterestService.MutateCustomInterests][google.ads.googleads.v15.services.CustomInterestService.MutateCustomInterests]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/custom_interest_service.proto message MutateCustomInterestsRequest { // Required. The ID of the customer whose custom interests are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -112,19 +87,11 @@ message CustomInterestOperation { oneof operation { // Create operation: No resource name is expected for the new custom // interest. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/custom_interest_service.proto - google.ads.googleads.v12.resources.CustomInterest create = 1; - - // Update operation: The custom interest is expected to have a valid - // resource name. - google.ads.googleads.v12.resources.CustomInterest update = 2; -======== google.ads.googleads.v15.resources.CustomInterest create = 1; // Update operation: The custom interest is expected to have a valid // resource name. google.ads.googleads.v15.resources.CustomInterest update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/custom_interest_service.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/customer_asset_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/customer_asset_service.proto index 9ca851fdb..3fdbf45be 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/customer_asset_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/customer_asset_service.proto @@ -14,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_asset_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/customer_asset.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/customer_asset.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_asset_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -32,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_asset_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerAssetServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -50,7 +33,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_asset_service.proto // Proto file describing the CustomerAsset service. @@ -75,23 +57,15 @@ service CustomerAssetService { rpc MutateCustomerAssets(MutateCustomerAssetsRequest) returns (MutateCustomerAssetsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_asset_service.proto - post: "/v12/customers/{customer_id=*}/customerAssets:mutate" -======== post: "/v15/customers/{customer_id=*}/customerAssets:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_asset_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_asset_service.proto -// Request message for [CustomerAssetService.MutateCustomerAssets][google.ads.googleads.v12.services.CustomerAssetService.MutateCustomerAssets]. -======== // Request message for // [CustomerAssetService.MutateCustomerAssets][google.ads.googleads.v15.services.CustomerAssetService.MutateCustomerAssets]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_asset_service.proto message MutateCustomerAssetsRequest { // Required. The ID of the customer whose customer assets are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -112,12 +86,8 @@ message MutateCustomerAssetsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_asset_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_asset_service.proto } // A single operation (create, update, remove) on a customer asset. @@ -129,19 +99,11 @@ message CustomerAssetOperation { oneof operation { // Create operation: No resource name is expected for the new customer // asset. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_asset_service.proto - google.ads.googleads.v12.resources.CustomerAsset create = 1; - - // Update operation: The customer asset is expected to have a valid resource - // name. - google.ads.googleads.v12.resources.CustomerAsset update = 3; -======== google.ads.googleads.v15.resources.CustomerAsset create = 1; // Update operation: The customer asset is expected to have a valid resource // name. google.ads.googleads.v15.resources.CustomerAsset update = 3; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_asset_service.proto // Remove operation: A resource name for the removed customer asset is // expected, in this format: @@ -175,9 +137,5 @@ message MutateCustomerAssetResult { // The mutated customer asset with only mutable fields after // mutate. The field will only be returned when response_content_type is set // to "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_asset_service.proto - google.ads.googleads.v12.resources.CustomerAsset customer_asset = 2; -======== google.ads.googleads.v15.resources.CustomerAsset customer_asset = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_asset_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/customer_client_link_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/customer_client_link_service.proto index 22162bbe8..50e1a4336 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/customer_client_link_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/customer_client_link_service.proto @@ -14,31 +14,15 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_client_link_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/customer_client_link.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/resources/customer_client_link.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_client_link_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_client_link_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerClientLinkServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -47,7 +31,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_client_link_service.proto // Service to manage customer client links. service CustomerClientLinkService { @@ -72,23 +55,15 @@ service CustomerClientLinkService { rpc MutateCustomerClientLink(MutateCustomerClientLinkRequest) returns (MutateCustomerClientLinkResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_client_link_service.proto - post: "/v12/customers/{customer_id=*}/customerClientLinks:mutate" -======== post: "/v15/customers/{customer_id=*}/customerClientLinks:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_client_link_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operation"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_client_link_service.proto -// Request message for [CustomerClientLinkService.MutateCustomerClientLink][google.ads.googleads.v12.services.CustomerClientLinkService.MutateCustomerClientLink]. -======== // Request message for // [CustomerClientLinkService.MutateCustomerClientLink][google.ads.googleads.v15.services.CustomerClientLinkService.MutateCustomerClientLink]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_client_link_service.proto message MutateCustomerClientLinkRequest { // Required. The ID of the customer whose customer link are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -110,17 +85,10 @@ message CustomerClientLinkOperation { // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new link. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_client_link_service.proto - google.ads.googleads.v12.resources.CustomerClientLink create = 1; - - // Update operation: The link is expected to have a valid resource name. - google.ads.googleads.v12.resources.CustomerClientLink update = 2; -======== google.ads.googleads.v15.resources.CustomerClientLink create = 1; // Update operation: The link is expected to have a valid resource name. google.ads.googleads.v15.resources.CustomerClientLink update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_client_link_service.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/customer_conversion_goal_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/customer_conversion_goal_service.proto index 65b376ce0..f547e734b 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/customer_conversion_goal_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/customer_conversion_goal_service.proto @@ -14,31 +14,15 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_conversion_goal_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/customer_conversion_goal.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/resources/customer_conversion_goal.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_conversion_goal_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_conversion_goal_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerConversionGoalServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -47,7 +31,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_conversion_goal_service.proto // Proto file describing the CustomerConversionGoal service. @@ -61,11 +44,7 @@ service CustomerConversionGoalService { rpc MutateCustomerConversionGoals(MutateCustomerConversionGoalsRequest) returns (MutateCustomerConversionGoalsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_conversion_goal_service.proto - post: "/v12/customers/{customer_id=*}/customerConversionGoals:mutate" -======== post: "/v15/customers/{customer_id=*}/customerConversionGoals:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_conversion_goal_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -73,11 +52,7 @@ service CustomerConversionGoalService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_conversion_goal_service.proto -// [CustomerConversionGoalService.MutateCustomerConversionGoals][google.ads.googleads.v12.services.CustomerConversionGoalService.MutateCustomerConversionGoals]. -======== // [CustomerConversionGoalService.MutateCustomerConversionGoals][google.ads.googleads.v15.services.CustomerConversionGoalService.MutateCustomerConversionGoals]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_conversion_goal_service.proto message MutateCustomerConversionGoalsRequest { // Required. The ID of the customer whose customer conversion goals are being // modified. @@ -102,11 +77,7 @@ message CustomerConversionGoalOperation { oneof operation { // Update operation: The customer conversion goal is expected to have a // valid resource name. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_conversion_goal_service.proto - google.ads.googleads.v12.resources.CustomerConversionGoal update = 1; -======== google.ads.googleads.v15.resources.CustomerConversionGoal update = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_conversion_goal_service.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/customer_customizer_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/customer_customizer_service.proto index fa9dbf54a..7c956cd5a 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/customer_customizer_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/customer_customizer_service.proto @@ -14,33 +14,16 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_customizer_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/customer_customizer.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/customer_customizer.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_customizer_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_customizer_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerCustomizerServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -49,7 +32,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_customizer_service.proto // Proto file describing the CustomerCustomizer service. @@ -63,11 +45,7 @@ service CustomerCustomizerService { rpc MutateCustomerCustomizers(MutateCustomerCustomizersRequest) returns (MutateCustomerCustomizersResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_customizer_service.proto - post: "/v12/customers/{customer_id=*}/CustomerCustomizers:mutate" -======== post: "/v15/customers/{customer_id=*}/CustomerCustomizers:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_customizer_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -75,11 +53,7 @@ service CustomerCustomizerService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_customizer_service.proto -// [CustomerCustomizerService.MutateCustomerCustomizers][google.ads.googleads.v12.services.CustomerCustomizerService.MutateCustomerCustomizers]. -======== // [CustomerCustomizerService.MutateCustomerCustomizers][google.ads.googleads.v15.services.CustomerCustomizerService.MutateCustomerCustomizers]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_customizer_service.proto message MutateCustomerCustomizersRequest { // Required. The ID of the customer whose customer customizers are being // modified. @@ -102,12 +76,8 @@ message MutateCustomerCustomizersRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_customizer_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_customizer_service.proto } // A single operation (create, remove) on a customizer attribute. @@ -116,11 +86,7 @@ message CustomerCustomizerOperation { oneof operation { // Create operation: No resource name is expected for the new customer // customizer -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_customizer_service.proto - google.ads.googleads.v12.resources.CustomerCustomizer create = 1; -======== google.ads.googleads.v15.resources.CustomerCustomizer create = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_customizer_service.proto // Remove operation: A resource name for the removed customer customizer is // expected, in this format: @@ -153,9 +119,5 @@ message MutateCustomerCustomizerResult { // The mutated CustomerCustomizer with only mutable fields after mutate. // The field will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_customizer_service.proto - google.ads.googleads.v12.resources.CustomerCustomizer customer_customizer = 2; -======== google.ads.googleads.v15.resources.CustomerCustomizer customer_customizer = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_customizer_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/customer_extension_setting_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/customer_extension_setting_service.proto index 54e40ef6f..e9266cc6b 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/customer_extension_setting_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/customer_extension_setting_service.proto @@ -14,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_extension_setting_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/customer_extension_setting.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/customer_extension_setting.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_extension_setting_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -32,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_extension_setting_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerExtensionSettingServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -50,7 +33,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_extension_setting_service.proto // Proto file describing the CustomerExtensionSetting service. @@ -91,11 +73,7 @@ service CustomerExtensionSettingService { rpc MutateCustomerExtensionSettings(MutateCustomerExtensionSettingsRequest) returns (MutateCustomerExtensionSettingsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_extension_setting_service.proto - post: "/v12/customers/{customer_id=*}/customerExtensionSettings:mutate" -======== post: "/v15/customers/{customer_id=*}/customerExtensionSettings:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_extension_setting_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -103,11 +81,7 @@ service CustomerExtensionSettingService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_extension_setting_service.proto -// [CustomerExtensionSettingService.MutateCustomerExtensionSettings][google.ads.googleads.v12.services.CustomerExtensionSettingService.MutateCustomerExtensionSettings]. -======== // [CustomerExtensionSettingService.MutateCustomerExtensionSettings][google.ads.googleads.v15.services.CustomerExtensionSettingService.MutateCustomerExtensionSettings]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_extension_setting_service.proto message MutateCustomerExtensionSettingsRequest { // Required. The ID of the customer whose customer extension settings are // being modified. @@ -130,12 +104,8 @@ message MutateCustomerExtensionSettingsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_extension_setting_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_extension_setting_service.proto } // A single operation (create, update, remove) on a customer extension setting. @@ -147,19 +117,11 @@ message CustomerExtensionSettingOperation { oneof operation { // Create operation: No resource name is expected for the new customer // extension setting. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_extension_setting_service.proto - google.ads.googleads.v12.resources.CustomerExtensionSetting create = 1; - - // Update operation: The customer extension setting is expected to have a - // valid resource name. - google.ads.googleads.v12.resources.CustomerExtensionSetting update = 2; -======== google.ads.googleads.v15.resources.CustomerExtensionSetting create = 1; // Update operation: The customer extension setting is expected to have a // valid resource name. google.ads.googleads.v15.resources.CustomerExtensionSetting update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_extension_setting_service.proto // Remove operation: A resource name for the removed customer extension // setting is expected, in this format: @@ -193,10 +155,6 @@ message MutateCustomerExtensionSettingResult { // The mutated CustomerExtensionSetting with only mutable fields after mutate. // The field will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_extension_setting_service.proto - google.ads.googleads.v12.resources.CustomerExtensionSetting customer_extension_setting = 2; -======== google.ads.googleads.v15.resources.CustomerExtensionSetting customer_extension_setting = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_extension_setting_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/customer_feed_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/customer_feed_service.proto index 7e184b7b8..200bf65ec 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/customer_feed_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/customer_feed_service.proto @@ -14,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_feed_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/customer_feed.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/customer_feed.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_feed_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -32,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_feed_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerFeedServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -50,7 +33,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_feed_service.proto // Proto file describing the CustomerFeed service. @@ -88,23 +70,15 @@ service CustomerFeedService { rpc MutateCustomerFeeds(MutateCustomerFeedsRequest) returns (MutateCustomerFeedsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_feed_service.proto - post: "/v12/customers/{customer_id=*}/customerFeeds:mutate" -======== post: "/v15/customers/{customer_id=*}/customerFeeds:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_feed_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_feed_service.proto -// Request message for [CustomerFeedService.MutateCustomerFeeds][google.ads.googleads.v12.services.CustomerFeedService.MutateCustomerFeeds]. -======== // Request message for // [CustomerFeedService.MutateCustomerFeeds][google.ads.googleads.v15.services.CustomerFeedService.MutateCustomerFeeds]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_feed_service.proto message MutateCustomerFeedsRequest { // Required. The ID of the customer whose customer feeds are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -125,12 +99,8 @@ message MutateCustomerFeedsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_feed_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_feed_service.proto } // A single operation (create, update, remove) on a customer feed. @@ -141,19 +111,11 @@ message CustomerFeedOperation { // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new customer feed. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_feed_service.proto - google.ads.googleads.v12.resources.CustomerFeed create = 1; - - // Update operation: The customer feed is expected to have a valid resource - // name. - google.ads.googleads.v12.resources.CustomerFeed update = 2; -======== google.ads.googleads.v15.resources.CustomerFeed create = 1; // Update operation: The customer feed is expected to have a valid resource // name. google.ads.googleads.v15.resources.CustomerFeed update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_feed_service.proto // Remove operation: A resource name for the removed customer feed is // expected, in this format: @@ -187,9 +149,5 @@ message MutateCustomerFeedResult { // The mutated customer feed with only mutable fields after mutate. The field // will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_feed_service.proto - google.ads.googleads.v12.resources.CustomerFeed customer_feed = 2; -======== google.ads.googleads.v15.resources.CustomerFeed customer_feed = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_feed_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/customer_label_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/customer_label_service.proto index 2ecd6a0ab..b59967331 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/customer_label_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/customer_label_service.proto @@ -14,31 +14,15 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_label_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/customer_label.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/resources/customer_label.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_label_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_label_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerLabelServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -47,7 +31,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_label_service.proto // Proto file describing the Customer Label service. @@ -72,23 +55,15 @@ service CustomerLabelService { rpc MutateCustomerLabels(MutateCustomerLabelsRequest) returns (MutateCustomerLabelsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_label_service.proto - post: "/v12/customers/{customer_id=*}/customerLabels:mutate" -======== post: "/v15/customers/{customer_id=*}/customerLabels:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_label_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_label_service.proto -// Request message for [CustomerLabelService.MutateCustomerLabels][google.ads.googleads.v12.services.CustomerLabelService.MutateCustomerLabels]. -======== // Request message for // [CustomerLabelService.MutateCustomerLabels][google.ads.googleads.v15.services.CustomerLabelService.MutateCustomerLabels]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_label_service.proto message MutateCustomerLabelsRequest { // Required. ID of the customer whose customer-label relationships are being // modified. @@ -116,11 +91,7 @@ message CustomerLabelOperation { oneof operation { // Create operation: No resource name is expected for the new customer-label // relationship. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_label_service.proto - google.ads.googleads.v12.resources.CustomerLabel create = 1; -======== google.ads.googleads.v15.resources.CustomerLabel create = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_label_service.proto // Remove operation: A resource name for the customer-label relationship // being removed, in this format: diff --git a/third_party/googleapis/google/ads/googleads/v15/services/customer_manager_link_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/customer_manager_link_service.proto index f518040b0..e7950d4c4 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/customer_manager_link_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/customer_manager_link_service.proto @@ -14,31 +14,15 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_manager_link_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/customer_manager_link.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/resources/customer_manager_link.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_manager_link_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_manager_link_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerManagerLinkServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -47,7 +31,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_manager_link_service.proto // Service to manage customer-manager links. service CustomerManagerLinkService { @@ -71,11 +54,7 @@ service CustomerManagerLinkService { rpc MutateCustomerManagerLink(MutateCustomerManagerLinkRequest) returns (MutateCustomerManagerLinkResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_manager_link_service.proto - post: "/v12/customers/{customer_id=*}/customerManagerLinks:mutate" -======== post: "/v15/customers/{customer_id=*}/customerManagerLinks:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_manager_link_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -100,11 +79,7 @@ service CustomerManagerLinkService { rpc MoveManagerLink(MoveManagerLinkRequest) returns (MoveManagerLinkResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_manager_link_service.proto - post: "/v12/customers/{customer_id=*}/customerManagerLinks:moveManagerLink" -======== post: "/v15/customers/{customer_id=*}/customerManagerLinks:moveManagerLink" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_manager_link_service.proto body: "*" }; option (google.api.method_signature) = @@ -112,12 +87,8 @@ service CustomerManagerLinkService { } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_manager_link_service.proto -// Request message for [CustomerManagerLinkService.MutateCustomerManagerLink][google.ads.googleads.v12.services.CustomerManagerLinkService.MutateCustomerManagerLink]. -======== // Request message for // [CustomerManagerLinkService.MutateCustomerManagerLink][google.ads.googleads.v15.services.CustomerManagerLinkService.MutateCustomerManagerLink]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_manager_link_service.proto message MutateCustomerManagerLinkRequest { // Required. The ID of the customer whose customer manager links are being // modified. @@ -133,12 +104,8 @@ message MutateCustomerManagerLinkRequest { bool validate_only = 3; } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_manager_link_service.proto -// Request message for [CustomerManagerLinkService.MoveManagerLink][google.ads.googleads.v12.services.CustomerManagerLinkService.MoveManagerLink]. -======== // Request message for // [CustomerManagerLinkService.MoveManagerLink][google.ads.googleads.v15.services.CustomerManagerLinkService.MoveManagerLink]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_manager_link_service.proto message MoveManagerLinkRequest { // Required. The ID of the client customer that is being moved. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -171,11 +138,7 @@ message CustomerManagerLinkOperation { // The mutate operation. oneof operation { // Update operation: The link is expected to have a valid resource name. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_manager_link_service.proto - google.ads.googleads.v12.resources.CustomerManagerLink update = 2; -======== google.ads.googleads.v15.resources.CustomerManagerLink update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_manager_link_service.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/customer_negative_criterion_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/customer_negative_criterion_service.proto index 18c7d6707..20f049537 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/customer_negative_criterion_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/customer_negative_criterion_service.proto @@ -14,33 +14,16 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_negative_criterion_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/customer_negative_criterion.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/customer_negative_criterion.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_negative_criterion_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_negative_criterion_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerNegativeCriterionServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -49,7 +32,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_negative_criterion_service.proto // Proto file describing the Customer Negative Criterion service. @@ -74,11 +56,7 @@ service CustomerNegativeCriterionService { rpc MutateCustomerNegativeCriteria(MutateCustomerNegativeCriteriaRequest) returns (MutateCustomerNegativeCriteriaResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_negative_criterion_service.proto - post: "/v12/customers/{customer_id=*}/customerNegativeCriteria:mutate" -======== post: "/v15/customers/{customer_id=*}/customerNegativeCriteria:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_negative_criterion_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -86,11 +64,7 @@ service CustomerNegativeCriterionService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_negative_criterion_service.proto -// [CustomerNegativeCriterionService.MutateCustomerNegativeCriteria][google.ads.googleads.v12.services.CustomerNegativeCriterionService.MutateCustomerNegativeCriteria]. -======== // [CustomerNegativeCriterionService.MutateCustomerNegativeCriteria][google.ads.googleads.v15.services.CustomerNegativeCriterionService.MutateCustomerNegativeCriteria]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_negative_criterion_service.proto message MutateCustomerNegativeCriteriaRequest { // Required. The ID of the customer whose criteria are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -111,12 +85,8 @@ message MutateCustomerNegativeCriteriaRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_negative_criterion_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_negative_criterion_service.proto } // A single operation (create or remove) on a customer level negative criterion. @@ -124,11 +94,7 @@ message CustomerNegativeCriterionOperation { // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new criterion. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_negative_criterion_service.proto - google.ads.googleads.v12.resources.CustomerNegativeCriterion create = 1; -======== google.ads.googleads.v15.resources.CustomerNegativeCriterion create = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_negative_criterion_service.proto // Remove operation: A resource name for the removed criterion is expected, // in this format: @@ -161,10 +127,6 @@ message MutateCustomerNegativeCriteriaResult { // The mutated criterion with only mutable fields after mutate. The field will // only be returned when response_content_type is set to "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_negative_criterion_service.proto - google.ads.googleads.v12.resources.CustomerNegativeCriterion customer_negative_criterion = 2; -======== google.ads.googleads.v15.resources.CustomerNegativeCriterion customer_negative_criterion = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_negative_criterion_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/customer_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/customer_service.proto index 52e58e076..cb8fc5cf1 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/customer_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/customer_service.proto @@ -14,35 +14,17 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/access_role.proto"; -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/customer.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/access_role.proto"; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/customer.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -51,7 +33,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_service.proto // Proto file describing the Customer service. @@ -74,11 +55,7 @@ service CustomerService { // [UrlFieldError]() rpc MutateCustomer(MutateCustomerRequest) returns (MutateCustomerResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_service.proto - post: "/v12/customers/{customer_id=*}:mutate" -======== post: "/v15/customers/{customer_id=*}:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operation"; @@ -97,11 +74,7 @@ service CustomerService { rpc ListAccessibleCustomers(ListAccessibleCustomersRequest) returns (ListAccessibleCustomersResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_service.proto - get: "/v12/customers:listAccessibleCustomers" -======== get: "/v15/customers:listAccessibleCustomers" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_service.proto }; } @@ -122,23 +95,15 @@ service CustomerService { rpc CreateCustomerClient(CreateCustomerClientRequest) returns (CreateCustomerClientResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_service.proto - post: "/v12/customers/{customer_id=*}:createCustomerClient" -======== post: "/v15/customers/{customer_id=*}:createCustomerClient" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,customer_client"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_service.proto -// Request message for [CustomerService.MutateCustomer][google.ads.googleads.v12.services.CustomerService.MutateCustomer]. -======== // Request message for // [CustomerService.MutateCustomer][google.ads.googleads.v15.services.CustomerService.MutateCustomer]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_service.proto message MutateCustomerRequest { // Required. The ID of the customer being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -152,34 +117,21 @@ message MutateCustomerRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 6; -} - -// Request message for [CustomerService.CreateCustomerClient][google.ads.googleads.v12.services.CustomerService.CreateCustomerClient]. -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 6; } // Request message for // [CustomerService.CreateCustomerClient][google.ads.googleads.v15.services.CustomerService.CreateCustomerClient]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_service.proto message CreateCustomerClientRequest { // Required. The ID of the Manager under whom client customer is being // created. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_service.proto - // Required. The new client customer to create. The resource name on this customer - // will be ignored. - google.ads.googleads.v12.resources.Customer customer_client = 2 [(google.api.field_behavior) = REQUIRED]; -======== // Required. The new client customer to create. The resource name on this // customer will be ignored. google.ads.googleads.v15.resources.Customer customer_client = 2 [(google.api.field_behavior) = REQUIRED]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_service.proto // Email address of the user who should be invited on the created client // customer. Accessible only to customers on the allow-list. @@ -187,11 +139,7 @@ message CreateCustomerClientRequest { // The proposed role of user on the created client customer. // Accessible only to customers on the allow-list. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_service.proto - google.ads.googleads.v12.enums.AccessRoleEnum.AccessRole access_role = 4; -======== google.ads.googleads.v15.enums.AccessRoleEnum.AccessRole access_role = 4; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_service.proto // If true, the request is validated but not executed. Only errors are // returned, not results. @@ -201,11 +149,7 @@ message CreateCustomerClientRequest { // A single update on a customer. message CustomerOperation { // Mutate operation. Only updates are supported for customer. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_service.proto - google.ads.googleads.v12.resources.Customer update = 1; -======== google.ads.googleads.v15.resources.Customer update = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_service.proto // FieldMask that determines which resource fields are modified in an update. google.protobuf.FieldMask update_mask = 2; @@ -239,17 +183,6 @@ message MutateCustomerResult { // The mutated customer with only mutable fields after mutate. The fields will // only be returned when response_content_type is set to "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_service.proto - google.ads.googleads.v12.resources.Customer customer = 2; -} - -// Request message for [CustomerService.ListAccessibleCustomers][google.ads.googleads.v12.services.CustomerService.ListAccessibleCustomers]. -message ListAccessibleCustomersRequest { - -} - -// Response message for [CustomerService.ListAccessibleCustomers][google.ads.googleads.v12.services.CustomerService.ListAccessibleCustomers]. -======== google.ads.googleads.v15.resources.Customer customer = 2; } @@ -259,7 +192,6 @@ message ListAccessibleCustomersRequest {} // Response message for // [CustomerService.ListAccessibleCustomers][google.ads.googleads.v15.services.CustomerService.ListAccessibleCustomers]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_service.proto message ListAccessibleCustomersResponse { // Resource name of customers directly accessible by the // user authenticating the call. diff --git a/third_party/googleapis/google/ads/googleads/v15/services/customer_user_access_invitation_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/customer_user_access_invitation_service.proto index 21f1bd8cc..d0b190fa1 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/customer_user_access_invitation_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/customer_user_access_invitation_service.proto @@ -14,30 +14,14 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_user_access_invitation_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/customer_user_access_invitation.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/resources/customer_user_access_invitation.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_user_access_invitation_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_user_access_invitation_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerUserAccessInvitationServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -46,7 +30,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_user_access_invitation_service.proto // Proto file describing the CustomerUserAccessInvitation service. @@ -70,11 +53,7 @@ service CustomerUserAccessInvitationService { MutateCustomerUserAccessInvitationRequest) returns (MutateCustomerUserAccessInvitationResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_user_access_invitation_service.proto - post: "/v12/customers/{customer_id=*}/customerUserAccessInvitations:mutate" -======== post: "/v15/customers/{customer_id=*}/customerUserAccessInvitations:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_user_access_invitation_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operation"; @@ -98,11 +77,7 @@ message CustomerUserAccessInvitationOperation { oneof operation { // Create operation: No resource name is expected for the new access // invitation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_user_access_invitation_service.proto - google.ads.googleads.v12.resources.CustomerUserAccessInvitation create = 1; -======== google.ads.googleads.v15.resources.CustomerUserAccessInvitation create = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_user_access_invitation_service.proto // Remove operation: A resource name for the revoke invitation is // expected, in this format: diff --git a/third_party/googleapis/google/ads/googleads/v15/services/customer_user_access_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/customer_user_access_service.proto index 51ab27d6e..65364a7cf 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/customer_user_access_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/customer_user_access_service.proto @@ -14,31 +14,15 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_user_access_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/customer_user_access.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/resources/customer_user_access.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_user_access_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_user_access_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomerUserAccessServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -47,7 +31,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_user_access_service.proto // This service manages the permissions of a user on a given customer. service CustomerUserAccessService { @@ -70,11 +53,7 @@ service CustomerUserAccessService { rpc MutateCustomerUserAccess(MutateCustomerUserAccessRequest) returns (MutateCustomerUserAccessResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_user_access_service.proto - post: "/v12/customers/{customer_id=*}/customerUserAccesses:mutate" -======== post: "/v15/customers/{customer_id=*}/customerUserAccesses:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_user_access_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operation"; @@ -82,11 +61,7 @@ service CustomerUserAccessService { } // Mutate Request for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_user_access_service.proto -// [CustomerUserAccessService.MutateCustomerUserAccess][google.ads.googleads.v12.services.CustomerUserAccessService.MutateCustomerUserAccess]. -======== // [CustomerUserAccessService.MutateCustomerUserAccess][google.ads.googleads.v15.services.CustomerUserAccessService.MutateCustomerUserAccess]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_user_access_service.proto message MutateCustomerUserAccessRequest { // Required. The ID of the customer being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -105,11 +80,7 @@ message CustomerUserAccessOperation { oneof operation { // Update operation: The customer user access is expected to have a valid // resource name. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customer_user_access_service.proto - google.ads.googleads.v12.resources.CustomerUserAccess update = 1; -======== google.ads.googleads.v15.resources.CustomerUserAccess update = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customer_user_access_service.proto // Remove operation: A resource name for the removed access is // expected, in this format: diff --git a/third_party/googleapis/google/ads/googleads/v15/services/customizer_attribute_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/customizer_attribute_service.proto index a126a01a6..57bc86001 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/customizer_attribute_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/customizer_attribute_service.proto @@ -14,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customizer_attribute_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/customizer_attribute.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/customizer_attribute.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customizer_attribute_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -32,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customizer_attribute_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "CustomizerAttributeServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -50,7 +33,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customizer_attribute_service.proto // Proto file describing the CustomizerAttribute service. @@ -64,11 +46,7 @@ service CustomizerAttributeService { rpc MutateCustomizerAttributes(MutateCustomizerAttributesRequest) returns (MutateCustomizerAttributesResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customizer_attribute_service.proto - post: "/v12/customers/{customer_id=*}/customizerAttributes:mutate" -======== post: "/v15/customers/{customer_id=*}/customizerAttributes:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customizer_attribute_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -76,11 +54,7 @@ service CustomizerAttributeService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customizer_attribute_service.proto -// [CustomizerAttributeService.MutateCustomizerAttributes][google.ads.googleads.v12.services.CustomizerAttributeService.MutateCustomizerAttributes]. -======== // [CustomizerAttributeService.MutateCustomizerAttributes][google.ads.googleads.v15.services.CustomizerAttributeService.MutateCustomizerAttributes]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customizer_attribute_service.proto message MutateCustomizerAttributesRequest { // Required. The ID of the customer whose customizer attributes are being // modified. @@ -103,12 +77,8 @@ message MutateCustomizerAttributesRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customizer_attribute_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customizer_attribute_service.proto } // A single operation (create, remove) on a customizer attribute. @@ -120,11 +90,7 @@ message CustomizerAttributeOperation { oneof operation { // Create operation: No resource name is expected for the new customizer // attribute -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customizer_attribute_service.proto - google.ads.googleads.v12.resources.CustomizerAttribute create = 1; -======== google.ads.googleads.v15.resources.CustomizerAttribute create = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customizer_attribute_service.proto // Remove operation: A resource name for the removed customizer attribute is // expected, in this format: @@ -157,10 +123,6 @@ message MutateCustomizerAttributeResult { // The mutated CustomizerAttribute with only mutable fields after mutate. // The field will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/customizer_attribute_service.proto - google.ads.googleads.v12.resources.CustomizerAttribute customizer_attribute = 2; -======== google.ads.googleads.v15.resources.CustomizerAttribute customizer_attribute = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/customizer_attribute_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/experiment_arm_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/experiment_arm_service.proto index bf6b47344..2bdbf9676 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/experiment_arm_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/experiment_arm_service.proto @@ -14,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/experiment_arm_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/experiment_arm.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/experiment_arm.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/experiment_arm_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -32,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/experiment_arm_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ExperimentArmServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -50,7 +33,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/experiment_arm_service.proto // Proto file describing the Experiment Arm service. @@ -73,23 +55,15 @@ service ExperimentArmService { rpc MutateExperimentArms(MutateExperimentArmsRequest) returns (MutateExperimentArmsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/experiment_arm_service.proto - post: "/v12/customers/{customer_id=*}/experimentArms:mutate" -======== post: "/v15/customers/{customer_id=*}/experimentArms:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/experiment_arm_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/experiment_arm_service.proto -// Request message for [ExperimentArmService.MutateExperimentArms][google.ads.googleads.v12.services.ExperimentArmService.MutateExperimentArms]. -======== // Request message for // [ExperimentArmService.MutateExperimentArms][google.ads.googleads.v15.services.ExperimentArmService.MutateExperimentArms]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/experiment_arm_service.proto message MutateExperimentArmsRequest { // Required. The ID of the customer whose experiments are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -110,12 +84,8 @@ message MutateExperimentArmsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/experiment_arm_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/experiment_arm_service.proto } // A single operation on an experiment arm. @@ -126,19 +96,11 @@ message ExperimentArmOperation { // The mutate operation. oneof operation { // Create operation -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/experiment_arm_service.proto - google.ads.googleads.v12.resources.ExperimentArm create = 1; - - // Update operation: The experiment arm is expected to have a valid - // resource name. - google.ads.googleads.v12.resources.ExperimentArm update = 2; -======== google.ads.googleads.v15.resources.ExperimentArm create = 1; // Update operation: The experiment arm is expected to have a valid // resource name. google.ads.googleads.v15.resources.ExperimentArm update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/experiment_arm_service.proto // Remove operation: The experiment arm is expected to have a valid // resource name, in this format: @@ -172,9 +134,5 @@ message MutateExperimentArmResult { // The mutated experiment arm with only mutable fields after mutate. The // field will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/experiment_arm_service.proto - google.ads.googleads.v12.resources.ExperimentArm experiment_arm = 2; -======== google.ads.googleads.v15.resources.ExperimentArm experiment_arm = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/experiment_arm_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/experiment_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/experiment_service.proto index b19ce7666..1225325f1 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/experiment_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/experiment_service.proto @@ -14,15 +14,9 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/experiment_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/experiment.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/resources/experiment.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/experiment_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -32,16 +26,6 @@ import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/experiment_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ExperimentServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -50,7 +34,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/experiment_service.proto // Proto file describing the Experiment service. @@ -72,11 +55,7 @@ service ExperimentService { rpc MutateExperiments(MutateExperimentsRequest) returns (MutateExperimentsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/experiment_service.proto - post: "/v12/customers/{customer_id=*}/experiments:mutate" -======== post: "/v15/customers/{customer_id=*}/experiments:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/experiment_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -96,11 +75,7 @@ service ExperimentService { // [RequestError]() rpc EndExperiment(EndExperimentRequest) returns (google.protobuf.Empty) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/experiment_service.proto - post: "/v12/{experiment=customers/*/experiments/*}:endExperiment" -======== post: "/v15/{experiment=customers/*/experiments/*}:endExperiment" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/experiment_service.proto body: "*" }; option (google.api.method_signature) = "experiment"; @@ -120,11 +95,7 @@ service ExperimentService { rpc ListExperimentAsyncErrors(ListExperimentAsyncErrorsRequest) returns (ListExperimentAsyncErrorsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/experiment_service.proto - get: "/v12/{resource_name=customers/*/experiments/*}:listExperimentAsyncErrors" -======== get: "/v15/{resource_name=customers/*/experiments/*}:listExperimentAsyncErrors" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/experiment_service.proto }; option (google.api.method_signature) = "resource_name"; } @@ -143,11 +114,7 @@ service ExperimentService { rpc GraduateExperiment(GraduateExperimentRequest) returns (google.protobuf.Empty) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/experiment_service.proto - post: "/v12/{experiment=customers/*/experiments/*}:graduateExperiment" -======== post: "/v15/{experiment=customers/*/experiments/*}:graduateExperiment" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/experiment_service.proto body: "*" }; option (google.api.method_signature) = @@ -181,21 +148,13 @@ service ExperimentService { rpc ScheduleExperiment(ScheduleExperimentRequest) returns (google.longrunning.Operation) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/experiment_service.proto - post: "/v12/{resource_name=customers/*/experiments/*}:scheduleExperiment" -======== post: "/v15/{resource_name=customers/*/experiments/*}:scheduleExperiment" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/experiment_service.proto body: "*" }; option (google.api.method_signature) = "resource_name"; option (google.longrunning.operation_info) = { response_type: "google.protobuf.Empty" -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/experiment_service.proto - metadata_type: "google.ads.googleads.v12.services.ScheduleExperimentMetadata" -======== metadata_type: "google.ads.googleads.v15.services.ScheduleExperimentMetadata" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/experiment_service.proto }; } @@ -218,31 +177,19 @@ service ExperimentService { rpc PromoteExperiment(PromoteExperimentRequest) returns (google.longrunning.Operation) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/experiment_service.proto - post: "/v12/{resource_name=customers/*/experiments/*}:promoteExperiment" -======== post: "/v15/{resource_name=customers/*/experiments/*}:promoteExperiment" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/experiment_service.proto body: "*" }; option (google.api.method_signature) = "resource_name"; option (google.longrunning.operation_info) = { response_type: "google.protobuf.Empty" -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/experiment_service.proto - metadata_type: "google.ads.googleads.v12.services.PromoteExperimentMetadata" -======== metadata_type: "google.ads.googleads.v15.services.PromoteExperimentMetadata" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/experiment_service.proto }; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/experiment_service.proto -// Request message for [ExperimentService.MutateExperiments][google.ads.googleads.v12.services.ExperimentService.MutateExperiments]. -======== // Request message for // [ExperimentService.MutateExperiments][google.ads.googleads.v15.services.ExperimentService.MutateExperiments]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/experiment_service.proto message MutateExperimentsRequest { // Required. The ID of the customer whose experiments are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -270,19 +217,11 @@ message ExperimentOperation { // The mutate operation. oneof operation { // Create operation -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/experiment_service.proto - google.ads.googleads.v12.resources.Experiment create = 1; - - // Update operation: The experiment is expected to have a valid - // resource name. - google.ads.googleads.v12.resources.Experiment update = 2; -======== google.ads.googleads.v15.resources.Experiment create = 1; // Update operation: The experiment is expected to have a valid // resource name. google.ads.googleads.v15.resources.Experiment update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/experiment_service.proto // Remove operation: The experiment is expected to have a valid // resource name, in this format: @@ -314,12 +253,8 @@ message MutateExperimentResult { }]; } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/experiment_service.proto -// Request message for [ExperimentService.EndExperiment][google.ads.googleads.v12.services.ExperimentService.EndExperiment]. -======== // Request message for // [ExperimentService.EndExperiment][google.ads.googleads.v15.services.ExperimentService.EndExperiment]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/experiment_service.proto message EndExperimentRequest { // Required. The resource name of the campaign experiment to end. string experiment = 1 [ @@ -335,11 +270,7 @@ message EndExperimentRequest { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/experiment_service.proto -// [ExperimentService.ListExperimentAsyncErrors][google.ads.googleads.v12.services.ExperimentService.ListExperimentAsyncErrors]. -======== // [ExperimentService.ListExperimentAsyncErrors][google.ads.googleads.v15.services.ExperimentService.ListExperimentAsyncErrors]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/experiment_service.proto message ListExperimentAsyncErrorsRequest { // Required. The name of the experiment from which to retrieve the async // errors. @@ -364,11 +295,7 @@ message ListExperimentAsyncErrorsRequest { } // Response message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/experiment_service.proto -// [ExperimentService.ListExperimentAsyncErrors][google.ads.googleads.v12.services.ExperimentService.ListExperimentAsyncErrors]. -======== // [ExperimentService.ListExperimentAsyncErrors][google.ads.googleads.v15.services.ExperimentService.ListExperimentAsyncErrors]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/experiment_service.proto message ListExperimentAsyncErrorsResponse { // details of the errors when performing the asynchronous operation. repeated google.rpc.Status errors = 1; @@ -380,12 +307,8 @@ message ListExperimentAsyncErrorsResponse { string next_page_token = 2; } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/experiment_service.proto -// Request message for [ExperimentService.GraduateExperiment][google.ads.googleads.v12.services.ExperimentService.GraduateExperiment]. -======== // Request message for // [ExperimentService.GraduateExperiment][google.ads.googleads.v15.services.ExperimentService.GraduateExperiment]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/experiment_service.proto message GraduateExperimentRequest { // Required. The experiment to be graduated. string experiment = 1 [ @@ -426,12 +349,8 @@ message CampaignBudgetMapping { ]; } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/experiment_service.proto -// Request message for [ExperimentService.ScheduleExperiment][google.ads.googleads.v12.services.ExperimentService.ScheduleExperiment]. -======== // Request message for // [ExperimentService.ScheduleExperiment][google.ads.googleads.v15.services.ExperimentService.ScheduleExperiment]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/experiment_service.proto message ScheduleExperimentRequest { // Required. The scheduled experiment. string resource_name = 1 [ @@ -457,12 +376,8 @@ message ScheduleExperimentMetadata { ]; } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/experiment_service.proto -// Request message for [ExperimentService.PromoteExperiment][google.ads.googleads.v12.services.ExperimentService.PromoteExperiment]. -======== // Request message for // [ExperimentService.PromoteExperiment][google.ads.googleads.v15.services.ExperimentService.PromoteExperiment]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/experiment_service.proto message PromoteExperimentRequest { // Required. The resource name of the experiment to promote. string resource_name = 1 [ diff --git a/third_party/googleapis/google/ads/googleads/v15/services/extension_feed_item_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/extension_feed_item_service.proto index 793e9d3b0..0be13fb9c 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/extension_feed_item_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/extension_feed_item_service.proto @@ -14,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/extension_feed_item_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/extension_feed_item.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/extension_feed_item.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/extension_feed_item_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -32,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/extension_feed_item_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ExtensionFeedItemServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -50,7 +33,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/extension_feed_item_service.proto // Proto file describing the ExtensionFeedItem service. @@ -89,23 +71,15 @@ service ExtensionFeedItemService { rpc MutateExtensionFeedItems(MutateExtensionFeedItemsRequest) returns (MutateExtensionFeedItemsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/extension_feed_item_service.proto - post: "/v12/customers/{customer_id=*}/extensionFeedItems:mutate" -======== post: "/v15/customers/{customer_id=*}/extensionFeedItems:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/extension_feed_item_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/extension_feed_item_service.proto -// Request message for [ExtensionFeedItemService.MutateExtensionFeedItems][google.ads.googleads.v12.services.ExtensionFeedItemService.MutateExtensionFeedItems]. -======== // Request message for // [ExtensionFeedItemService.MutateExtensionFeedItems][google.ads.googleads.v15.services.ExtensionFeedItemService.MutateExtensionFeedItems]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/extension_feed_item_service.proto message MutateExtensionFeedItemsRequest { // Required. The ID of the customer whose extension feed items are being // modified. @@ -128,12 +102,8 @@ message MutateExtensionFeedItemsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/extension_feed_item_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/extension_feed_item_service.proto } // A single operation (create, update, remove) on an extension feed item. @@ -145,19 +115,11 @@ message ExtensionFeedItemOperation { oneof operation { // Create operation: No resource name is expected for the new extension // feed item. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/extension_feed_item_service.proto - google.ads.googleads.v12.resources.ExtensionFeedItem create = 1; - - // Update operation: The extension feed item is expected to have a - // valid resource name. - google.ads.googleads.v12.resources.ExtensionFeedItem update = 2; -======== google.ads.googleads.v15.resources.ExtensionFeedItem create = 1; // Update operation: The extension feed item is expected to have a // valid resource name. google.ads.googleads.v15.resources.ExtensionFeedItem update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/extension_feed_item_service.proto // Remove operation: A resource name for the removed extension feed item // is expected, in this format: @@ -191,9 +153,5 @@ message MutateExtensionFeedItemResult { // The mutated extension feed item with only mutable fields after mutate. The // field will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/extension_feed_item_service.proto - google.ads.googleads.v12.resources.ExtensionFeedItem extension_feed_item = 2; -======== google.ads.googleads.v15.resources.ExtensionFeedItem extension_feed_item = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/extension_feed_item_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/feed_item_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/feed_item_service.proto index 6748f6980..86415c001 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/feed_item_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/feed_item_service.proto @@ -14,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/feed_item_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/feed_item.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/feed_item.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/feed_item_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -32,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/feed_item_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -50,7 +33,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/feed_item_service.proto // Proto file describing the FeedItem service. @@ -91,23 +73,15 @@ service FeedItemService { rpc MutateFeedItems(MutateFeedItemsRequest) returns (MutateFeedItemsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/feed_item_service.proto - post: "/v12/customers/{customer_id=*}/feedItems:mutate" -======== post: "/v15/customers/{customer_id=*}/feedItems:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/feed_item_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/feed_item_service.proto -// Request message for [FeedItemService.MutateFeedItems][google.ads.googleads.v12.services.FeedItemService.MutateFeedItems]. -======== // Request message for // [FeedItemService.MutateFeedItems][google.ads.googleads.v15.services.FeedItemService.MutateFeedItems]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/feed_item_service.proto message MutateFeedItemsRequest { // Required. The ID of the customer whose feed items are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -128,12 +102,8 @@ message MutateFeedItemsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/feed_item_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/feed_item_service.proto } // A single operation (create, update, remove) on an feed item. @@ -144,19 +114,11 @@ message FeedItemOperation { // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new feed item. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/feed_item_service.proto - google.ads.googleads.v12.resources.FeedItem create = 1; - - // Update operation: The feed item is expected to have a valid resource - // name. - google.ads.googleads.v12.resources.FeedItem update = 2; -======== google.ads.googleads.v15.resources.FeedItem create = 1; // Update operation: The feed item is expected to have a valid resource // name. google.ads.googleads.v15.resources.FeedItem update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/feed_item_service.proto // Remove operation: A resource name for the removed feed item is // expected, in this format: @@ -189,9 +151,5 @@ message MutateFeedItemResult { // The mutated feed item with only mutable fields after mutate. The field will // only be returned when response_content_type is set to "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/feed_item_service.proto - google.ads.googleads.v12.resources.FeedItem feed_item = 2; -======== google.ads.googleads.v15.resources.FeedItem feed_item = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/feed_item_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/feed_item_set_link_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/feed_item_set_link_service.proto index 86f072f30..4c5ad2001 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/feed_item_set_link_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/feed_item_set_link_service.proto @@ -14,31 +14,15 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/feed_item_set_link_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/feed_item_set_link.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/resources/feed_item_set_link.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/feed_item_set_link_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/feed_item_set_link_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemSetLinkServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -47,7 +31,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/feed_item_set_link_service.proto // Proto file describing the FeedItemSetLink service. @@ -68,23 +51,15 @@ service FeedItemSetLinkService { rpc MutateFeedItemSetLinks(MutateFeedItemSetLinksRequest) returns (MutateFeedItemSetLinksResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/feed_item_set_link_service.proto - post: "/v12/customers/{customer_id=*}/feedItemSetLinks:mutate" -======== post: "/v15/customers/{customer_id=*}/feedItemSetLinks:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/feed_item_set_link_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/feed_item_set_link_service.proto -// Request message for [FeedItemSetLinkService.MutateFeedItemSetLinks][google.ads.googleads.v12.services.FeedItemSetLinkService.MutateFeedItemSetLinks]. -======== // Request message for // [FeedItemSetLinkService.MutateFeedItemSetLinks][google.ads.googleads.v15.services.FeedItemSetLinkService.MutateFeedItemSetLinks]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/feed_item_set_link_service.proto message MutateFeedItemSetLinksRequest { // Required. The ID of the customer whose feed item set links are being // modified. @@ -112,11 +87,7 @@ message FeedItemSetLinkOperation { oneof operation { // Create operation: No resource name is expected for the // new feed item set link. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/feed_item_set_link_service.proto - google.ads.googleads.v12.resources.FeedItemSetLink create = 1; -======== google.ads.googleads.v15.resources.FeedItemSetLink create = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/feed_item_set_link_service.proto // Remove operation: A resource name for the removed feed item set link is // expected, in this format: diff --git a/third_party/googleapis/google/ads/googleads/v15/services/feed_item_set_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/feed_item_set_service.proto index aa586c118..2d46cdb10 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/feed_item_set_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/feed_item_set_service.proto @@ -14,15 +14,9 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/feed_item_set_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/feed_item_set.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/resources/feed_item_set.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/feed_item_set_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -30,16 +24,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/feed_item_set_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemSetServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -48,7 +32,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/feed_item_set_service.proto // Proto file describing the FeedItemSet service. @@ -71,23 +54,15 @@ service FeedItemSetService { rpc MutateFeedItemSets(MutateFeedItemSetsRequest) returns (MutateFeedItemSetsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/feed_item_set_service.proto - post: "/v12/customers/{customer_id=*}/feedItemSets:mutate" -======== post: "/v15/customers/{customer_id=*}/feedItemSets:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/feed_item_set_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/feed_item_set_service.proto -// Request message for [FeedItemSetService.MutateFeedItemSets][google.ads.googleads.v12.services.FeedItemSetService.MutateFeedItemSets]. -======== // Request message for // [FeedItemSetService.MutateFeedItemSets][google.ads.googleads.v15.services.FeedItemSetService.MutateFeedItemSets]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/feed_item_set_service.proto message MutateFeedItemSetsRequest { // Required. The ID of the customer whose feed item sets are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -115,19 +90,11 @@ message FeedItemSetOperation { // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new feed item set -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/feed_item_set_service.proto - google.ads.googleads.v12.resources.FeedItemSet create = 1; - - // Update operation: The feed item set is expected to have a valid resource - // name. - google.ads.googleads.v12.resources.FeedItemSet update = 2; -======== google.ads.googleads.v15.resources.FeedItemSet create = 1; // Update operation: The feed item set is expected to have a valid resource // name. google.ads.googleads.v15.resources.FeedItemSet update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/feed_item_set_service.proto // Remove operation: A resource name for the removed feed item is // expected, in this format: diff --git a/third_party/googleapis/google/ads/googleads/v15/services/feed_item_target_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/feed_item_target_service.proto index 5ce0f9749..33243844a 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/feed_item_target_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/feed_item_target_service.proto @@ -14,33 +14,16 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/feed_item_target_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/feed_item_target.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/feed_item_target.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/feed_item_target_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/feed_item_target_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "FeedItemTargetServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -49,7 +32,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/feed_item_target_service.proto // Proto file describing the FeedItemTarget service. @@ -83,23 +65,15 @@ service FeedItemTargetService { rpc MutateFeedItemTargets(MutateFeedItemTargetsRequest) returns (MutateFeedItemTargetsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/feed_item_target_service.proto - post: "/v12/customers/{customer_id=*}/feedItemTargets:mutate" -======== post: "/v15/customers/{customer_id=*}/feedItemTargets:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/feed_item_target_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/feed_item_target_service.proto -// Request message for [FeedItemTargetService.MutateFeedItemTargets][google.ads.googleads.v12.services.FeedItemTargetService.MutateFeedItemTargets]. -======== // Request message for // [FeedItemTargetService.MutateFeedItemTargets][google.ads.googleads.v15.services.FeedItemTargetService.MutateFeedItemTargets]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/feed_item_target_service.proto message MutateFeedItemTargetsRequest { // Required. The ID of the customer whose feed item targets are being // modified. @@ -118,12 +92,8 @@ message MutateFeedItemTargetsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/feed_item_target_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/feed_item_target_service.proto // If true, the request is validated but not executed. Only errors are // returned, not results. @@ -136,11 +106,7 @@ message FeedItemTargetOperation { oneof operation { // Create operation: No resource name is expected for the new feed item // target. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/feed_item_target_service.proto - google.ads.googleads.v12.resources.FeedItemTarget create = 1; -======== google.ads.googleads.v15.resources.FeedItemTarget create = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/feed_item_target_service.proto // Remove operation: A resource name for the removed feed item target is // expected, in this format: @@ -174,9 +140,5 @@ message MutateFeedItemTargetResult { // The mutated feed item target with only mutable fields after mutate. The // field will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/feed_item_target_service.proto - google.ads.googleads.v12.resources.FeedItemTarget feed_item_target = 2; -======== google.ads.googleads.v15.resources.FeedItemTarget feed_item_target = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/feed_item_target_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/feed_mapping_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/feed_mapping_service.proto index 5933e8064..e5415ec27 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/feed_mapping_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/feed_mapping_service.proto @@ -14,33 +14,16 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/feed_mapping_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/feed_mapping.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/feed_mapping.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/feed_mapping_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/feed_mapping_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "FeedMappingServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -49,7 +32,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/feed_mapping_service.proto // Proto file describing the FeedMapping service. @@ -84,23 +66,15 @@ service FeedMappingService { rpc MutateFeedMappings(MutateFeedMappingsRequest) returns (MutateFeedMappingsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/feed_mapping_service.proto - post: "/v12/customers/{customer_id=*}/feedMappings:mutate" -======== post: "/v15/customers/{customer_id=*}/feedMappings:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/feed_mapping_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/feed_mapping_service.proto -// Request message for [FeedMappingService.MutateFeedMappings][google.ads.googleads.v12.services.FeedMappingService.MutateFeedMappings]. -======== // Request message for // [FeedMappingService.MutateFeedMappings][google.ads.googleads.v15.services.FeedMappingService.MutateFeedMappings]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/feed_mapping_service.proto message MutateFeedMappingsRequest { // Required. The ID of the customer whose feed mappings are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -121,12 +95,8 @@ message MutateFeedMappingsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/feed_mapping_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/feed_mapping_service.proto } // A single operation (create, remove) on a feed mapping. @@ -134,11 +104,7 @@ message FeedMappingOperation { // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new feed mapping. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/feed_mapping_service.proto - google.ads.googleads.v12.resources.FeedMapping create = 1; -======== google.ads.googleads.v15.resources.FeedMapping create = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/feed_mapping_service.proto // Remove operation: A resource name for the removed feed mapping is // expected, in this format: @@ -172,9 +138,5 @@ message MutateFeedMappingResult { // The mutated feed mapping with only mutable fields after mutate. The field // will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/feed_mapping_service.proto - google.ads.googleads.v12.resources.FeedMapping feed_mapping = 2; -======== google.ads.googleads.v15.resources.FeedMapping feed_mapping = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/feed_mapping_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/feed_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/feed_service.proto index 82538a20a..9c3c2cced 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/feed_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/feed_service.proto @@ -14,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/feed_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/feed.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/feed.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/feed_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -32,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/feed_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "FeedServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -50,7 +33,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/feed_service.proto // Proto file describing the Feed service. @@ -89,23 +71,15 @@ service FeedService { // [StringLengthError]() rpc MutateFeeds(MutateFeedsRequest) returns (MutateFeedsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/feed_service.proto - post: "/v12/customers/{customer_id=*}/feeds:mutate" -======== post: "/v15/customers/{customer_id=*}/feeds:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/feed_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/feed_service.proto -// Request message for [FeedService.MutateFeeds][google.ads.googleads.v12.services.FeedService.MutateFeeds]. -======== // Request message for // [FeedService.MutateFeeds][google.ads.googleads.v15.services.FeedService.MutateFeeds]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/feed_service.proto message MutateFeedsRequest { // Required. The ID of the customer whose feeds are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -126,12 +100,8 @@ message MutateFeedsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/feed_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/feed_service.proto } // A single operation (create, update, remove) on an feed. @@ -142,19 +112,11 @@ message FeedOperation { // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new feed. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/feed_service.proto - google.ads.googleads.v12.resources.Feed create = 1; - - // Update operation: The feed is expected to have a valid resource - // name. - google.ads.googleads.v12.resources.Feed update = 2; -======== google.ads.googleads.v15.resources.Feed create = 1; // Update operation: The feed is expected to have a valid resource // name. google.ads.googleads.v15.resources.Feed update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/feed_service.proto // Remove operation: A resource name for the removed feed is // expected, in this format: @@ -187,9 +149,5 @@ message MutateFeedResult { // The mutated feed with only mutable fields after mutate. The field will only // be returned when response_content_type is set to "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/feed_service.proto - google.ads.googleads.v12.resources.Feed feed = 2; -======== google.ads.googleads.v15.resources.Feed feed = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/feed_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/geo_target_constant_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/geo_target_constant_service.proto index bcae1de45..0882526d8 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/geo_target_constant_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/geo_target_constant_service.proto @@ -14,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/geo_target_constant_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/geo_target_constant.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "GeoTargetConstantServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/resources/geo_target_constant.proto"; @@ -44,7 +28,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/geo_target_constant_service.proto // Proto file describing the Geo target constant service. @@ -66,22 +49,14 @@ service GeoTargetConstantService { rpc SuggestGeoTargetConstants(SuggestGeoTargetConstantsRequest) returns (SuggestGeoTargetConstantsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/geo_target_constant_service.proto - post: "/v12/geoTargetConstants:suggest" -======== post: "/v15/geoTargetConstants:suggest" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/geo_target_constant_service.proto body: "*" }; } } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/geo_target_constant_service.proto -// [GeoTargetConstantService.SuggestGeoTargetConstants][google.ads.googleads.v12.services.GeoTargetConstantService.SuggestGeoTargetConstants]. -======== // [GeoTargetConstantService.SuggestGeoTargetConstants][google.ads.googleads.v15.services.GeoTargetConstantService.SuggestGeoTargetConstants]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/geo_target_constant_service.proto message SuggestGeoTargetConstantsRequest { // A list of location names. message LocationNames { @@ -113,12 +88,8 @@ message SuggestGeoTargetConstantsRequest { } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/geo_target_constant_service.proto -// Response message for [GeoTargetConstantService.SuggestGeoTargetConstants][google.ads.googleads.v12.services.GeoTargetConstantService.SuggestGeoTargetConstants]. -======== // Response message for // [GeoTargetConstantService.SuggestGeoTargetConstants][google.ads.googleads.v15.services.GeoTargetConstantService.SuggestGeoTargetConstants]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/geo_target_constant_service.proto message SuggestGeoTargetConstantsResponse { // Geo target constant suggestions. repeated GeoTargetConstantSuggestion geo_target_constant_suggestions = 1; @@ -141,16 +112,9 @@ message GeoTargetConstantSuggestion { optional string search_term = 8; // The GeoTargetConstant result. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/geo_target_constant_service.proto - google.ads.googleads.v12.resources.GeoTargetConstant geo_target_constant = 4; - - // The list of parents of the geo target constant. - repeated google.ads.googleads.v12.resources.GeoTargetConstant geo_target_constant_parents = 5; -======== google.ads.googleads.v15.resources.GeoTargetConstant geo_target_constant = 4; // The list of parents of the geo target constant. repeated google.ads.googleads.v15.resources.GeoTargetConstant geo_target_constant_parents = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/geo_target_constant_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/google_ads_field_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/google_ads_field_service.proto index 578b907b8..7de7e66e8 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/google_ads_field_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/google_ads_field_service.proto @@ -14,30 +14,14 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/google_ads_field_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/google_ads_field.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/resources/google_ads_field.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/google_ads_field_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/google_ads_field_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "GoogleAdsFieldServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -46,7 +30,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/google_ads_field_service.proto // Proto file describing the GoogleAdsFieldService. @@ -64,16 +47,10 @@ service GoogleAdsFieldService { // [InternalError]() // [QuotaError]() // [RequestError]() -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/google_ads_field_service.proto - rpc GetGoogleAdsField(GetGoogleAdsFieldRequest) returns (google.ads.googleads.v12.resources.GoogleAdsField) { - option (google.api.http) = { - get: "/v12/{resource_name=googleAdsFields/*}" -======== rpc GetGoogleAdsField(GetGoogleAdsFieldRequest) returns (google.ads.googleads.v15.resources.GoogleAdsField) { option (google.api.http) = { get: "/v15/{resource_name=googleAdsFields/*}" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/google_ads_field_service.proto }; option (google.api.method_signature) = "resource_name"; } @@ -91,23 +68,15 @@ service GoogleAdsFieldService { rpc SearchGoogleAdsFields(SearchGoogleAdsFieldsRequest) returns (SearchGoogleAdsFieldsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/google_ads_field_service.proto - post: "/v12/googleAdsFields:search" -======== post: "/v15/googleAdsFields:search" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/google_ads_field_service.proto body: "*" }; option (google.api.method_signature) = "query"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/google_ads_field_service.proto -// Request message for [GoogleAdsFieldService.GetGoogleAdsField][google.ads.googleads.v12.services.GoogleAdsFieldService.GetGoogleAdsField]. -======== // Request message for // [GoogleAdsFieldService.GetGoogleAdsField][google.ads.googleads.v15.services.GoogleAdsFieldService.GetGoogleAdsField]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/google_ads_field_service.proto message GetGoogleAdsFieldRequest { // Required. The resource name of the field to get. string resource_name = 1 [ @@ -118,12 +87,8 @@ message GetGoogleAdsFieldRequest { ]; } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/google_ads_field_service.proto -// Request message for [GoogleAdsFieldService.SearchGoogleAdsFields][google.ads.googleads.v12.services.GoogleAdsFieldService.SearchGoogleAdsFields]. -======== // Request message for // [GoogleAdsFieldService.SearchGoogleAdsFields][google.ads.googleads.v15.services.GoogleAdsFieldService.SearchGoogleAdsFields]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/google_ads_field_service.proto message SearchGoogleAdsFieldsRequest { // Required. The query string. string query = 1 [(google.api.field_behavior) = REQUIRED]; @@ -139,18 +104,11 @@ message SearchGoogleAdsFieldsRequest { int32 page_size = 3; } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/google_ads_field_service.proto -// Response message for [GoogleAdsFieldService.SearchGoogleAdsFields][google.ads.googleads.v12.services.GoogleAdsFieldService.SearchGoogleAdsFields]. -message SearchGoogleAdsFieldsResponse { - // The list of fields that matched the query. - repeated google.ads.googleads.v12.resources.GoogleAdsField results = 1; -======== // Response message for // [GoogleAdsFieldService.SearchGoogleAdsFields][google.ads.googleads.v15.services.GoogleAdsFieldService.SearchGoogleAdsFields]. message SearchGoogleAdsFieldsResponse { // The list of fields that matched the query. repeated google.ads.googleads.v15.resources.GoogleAdsField results = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/google_ads_field_service.proto // Pagination token used to retrieve the next page of results. Pass the // content of this string as the `page_token` attribute of the next request. diff --git a/third_party/googleapis/google/ads/googleads/v15/services/invoice_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/invoice_service.proto index c5bd2ec2a..788734c4c 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/invoice_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/invoice_service.proto @@ -14,31 +14,14 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/invoice_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/month_of_year.proto"; -import "google/ads/googleads/v12/resources/invoice.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/month_of_year.proto"; import "google/ads/googleads/v15/resources/invoice.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/invoice_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/invoice_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "InvoiceServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -47,7 +30,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/invoice_service.proto // Proto file describing the Invoice service. @@ -69,11 +51,7 @@ service InvoiceService { // [RequestError]() rpc ListInvoices(ListInvoicesRequest) returns (ListInvoicesResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/invoice_service.proto - get: "/v12/customers/{customer_id=*}/invoices" -======== get: "/v15/customers/{customer_id=*}/invoices" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/invoice_service.proto }; option (google.api.method_signature) = "customer_id,billing_setup,issue_year,issue_month"; @@ -96,15 +74,6 @@ message ListInvoicesRequest { string issue_year = 3 [(google.api.field_behavior) = REQUIRED]; // Required. The issue month to retrieve invoices. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/invoice_service.proto - google.ads.googleads.v12.enums.MonthOfYearEnum.MonthOfYear issue_month = 4 [(google.api.field_behavior) = REQUIRED]; -} - -// Response message for [InvoiceService.ListInvoices][google.ads.googleads.v12.services.InvoiceService.ListInvoices]. -message ListInvoicesResponse { - // The list of invoices that match the billing setup and time period. - repeated google.ads.googleads.v12.resources.Invoice invoices = 1; -======== google.ads.googleads.v15.enums.MonthOfYearEnum.MonthOfYear issue_month = 4 [(google.api.field_behavior) = REQUIRED]; } @@ -114,5 +83,4 @@ message ListInvoicesResponse { message ListInvoicesResponse { // The list of invoices that match the billing setup and time period. repeated google.ads.googleads.v15.resources.Invoice invoices = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/invoice_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/keyword_plan_ad_group_keyword_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/keyword_plan_ad_group_keyword_service.proto index 79afc67d2..98d2e4532 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/keyword_plan_ad_group_keyword_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/keyword_plan_ad_group_keyword_service.proto @@ -14,15 +14,9 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/keyword_plan_ad_group_keyword_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/keyword_plan_ad_group_keyword.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/resources/keyword_plan_ad_group_keyword.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/keyword_plan_ad_group_keyword_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -30,16 +24,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/keyword_plan_ad_group_keyword_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanAdGroupKeywordServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -48,7 +32,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/keyword_plan_ad_group_keyword_service.proto // Proto file describing the keyword plan ad group keyword service. @@ -80,11 +63,7 @@ service KeywordPlanAdGroupKeywordService { rpc MutateKeywordPlanAdGroupKeywords(MutateKeywordPlanAdGroupKeywordsRequest) returns (MutateKeywordPlanAdGroupKeywordsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/keyword_plan_ad_group_keyword_service.proto - post: "/v12/customers/{customer_id=*}/keywordPlanAdGroupKeywords:mutate" -======== post: "/v15/customers/{customer_id=*}/keywordPlanAdGroupKeywords:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/keyword_plan_ad_group_keyword_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -92,11 +71,7 @@ service KeywordPlanAdGroupKeywordService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/keyword_plan_ad_group_keyword_service.proto -// [KeywordPlanAdGroupKeywordService.MutateKeywordPlanAdGroupKeywords][google.ads.googleads.v12.services.KeywordPlanAdGroupKeywordService.MutateKeywordPlanAdGroupKeywords]. -======== // [KeywordPlanAdGroupKeywordService.MutateKeywordPlanAdGroupKeywords][google.ads.googleads.v15.services.KeywordPlanAdGroupKeywordService.MutateKeywordPlanAdGroupKeywords]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/keyword_plan_ad_group_keyword_service.proto message MutateKeywordPlanAdGroupKeywordsRequest { // Required. The ID of the customer whose Keyword Plan ad group keywords are // being modified. @@ -129,19 +104,11 @@ message KeywordPlanAdGroupKeywordOperation { oneof operation { // Create operation: No resource name is expected for the new Keyword Plan // ad group keyword. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/keyword_plan_ad_group_keyword_service.proto - google.ads.googleads.v12.resources.KeywordPlanAdGroupKeyword create = 1; - - // Update operation: The Keyword Plan ad group keyword is expected to have a - // valid resource name. - google.ads.googleads.v12.resources.KeywordPlanAdGroupKeyword update = 2; -======== google.ads.googleads.v15.resources.KeywordPlanAdGroupKeyword create = 1; // Update operation: The Keyword Plan ad group keyword is expected to have a // valid resource name. google.ads.googleads.v15.resources.KeywordPlanAdGroupKeyword update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/keyword_plan_ad_group_keyword_service.proto // Remove operation: A resource name for the removed Keyword Plan ad group // keyword is expected, in this format: diff --git a/third_party/googleapis/google/ads/googleads/v15/services/keyword_plan_ad_group_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/keyword_plan_ad_group_service.proto index 5097a1520..4aa28e580 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/keyword_plan_ad_group_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/keyword_plan_ad_group_service.proto @@ -14,15 +14,9 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/keyword_plan_ad_group_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/keyword_plan_ad_group.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/resources/keyword_plan_ad_group.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/keyword_plan_ad_group_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -30,16 +24,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/keyword_plan_ad_group_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanAdGroupServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -48,7 +32,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/keyword_plan_ad_group_service.proto // Proto file describing the keyword plan ad group service. @@ -78,23 +61,15 @@ service KeywordPlanAdGroupService { rpc MutateKeywordPlanAdGroups(MutateKeywordPlanAdGroupsRequest) returns (MutateKeywordPlanAdGroupsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/keyword_plan_ad_group_service.proto - post: "/v12/customers/{customer_id=*}/keywordPlanAdGroups:mutate" -======== post: "/v15/customers/{customer_id=*}/keywordPlanAdGroups:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/keyword_plan_ad_group_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/keyword_plan_ad_group_service.proto -// Request message for [KeywordPlanAdGroupService.MutateKeywordPlanAdGroups][google.ads.googleads.v12.services.KeywordPlanAdGroupService.MutateKeywordPlanAdGroups]. -======== // Request message for // [KeywordPlanAdGroupService.MutateKeywordPlanAdGroups][google.ads.googleads.v15.services.KeywordPlanAdGroupService.MutateKeywordPlanAdGroups]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/keyword_plan_ad_group_service.proto message MutateKeywordPlanAdGroupsRequest { // Required. The ID of the customer whose Keyword Plan ad groups are being // modified. @@ -126,19 +101,11 @@ message KeywordPlanAdGroupOperation { oneof operation { // Create operation: No resource name is expected for the new Keyword Plan // ad group. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/keyword_plan_ad_group_service.proto - google.ads.googleads.v12.resources.KeywordPlanAdGroup create = 1; - - // Update operation: The Keyword Plan ad group is expected to have a valid - // resource name. - google.ads.googleads.v12.resources.KeywordPlanAdGroup update = 2; -======== google.ads.googleads.v15.resources.KeywordPlanAdGroup create = 1; // Update operation: The Keyword Plan ad group is expected to have a valid // resource name. google.ads.googleads.v15.resources.KeywordPlanAdGroup update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/keyword_plan_ad_group_service.proto // Remove operation: A resource name for the removed Keyword Plan ad group // is expected, in this format: diff --git a/third_party/googleapis/google/ads/googleads/v15/services/keyword_plan_campaign_keyword_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/keyword_plan_campaign_keyword_service.proto index 943239c65..e6075d166 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/keyword_plan_campaign_keyword_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/keyword_plan_campaign_keyword_service.proto @@ -14,15 +14,9 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/keyword_plan_campaign_keyword_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/keyword_plan_campaign_keyword.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/resources/keyword_plan_campaign_keyword.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/keyword_plan_campaign_keyword_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -30,16 +24,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/keyword_plan_campaign_keyword_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanCampaignKeywordServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -48,7 +32,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/keyword_plan_campaign_keyword_service.proto // Proto file describing the keyword plan campaign keyword service. @@ -79,11 +62,7 @@ service KeywordPlanCampaignKeywordService { MutateKeywordPlanCampaignKeywordsRequest) returns (MutateKeywordPlanCampaignKeywordsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/keyword_plan_campaign_keyword_service.proto - post: "/v12/customers/{customer_id=*}/keywordPlanCampaignKeywords:mutate" -======== post: "/v15/customers/{customer_id=*}/keywordPlanCampaignKeywords:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/keyword_plan_campaign_keyword_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -91,11 +70,7 @@ service KeywordPlanCampaignKeywordService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/keyword_plan_campaign_keyword_service.proto -// [KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords][google.ads.googleads.v12.services.KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords]. -======== // [KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords][google.ads.googleads.v15.services.KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/keyword_plan_campaign_keyword_service.proto message MutateKeywordPlanCampaignKeywordsRequest { // Required. The ID of the customer whose campaign keywords are being // modified. @@ -128,19 +103,11 @@ message KeywordPlanCampaignKeywordOperation { oneof operation { // Create operation: No resource name is expected for the new Keyword Plan // campaign keyword. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/keyword_plan_campaign_keyword_service.proto - google.ads.googleads.v12.resources.KeywordPlanCampaignKeyword create = 1; - - // Update operation: The Keyword Plan campaign keyword expected to have a - // valid resource name. - google.ads.googleads.v12.resources.KeywordPlanCampaignKeyword update = 2; -======== google.ads.googleads.v15.resources.KeywordPlanCampaignKeyword create = 1; // Update operation: The Keyword Plan campaign keyword expected to have a // valid resource name. google.ads.googleads.v15.resources.KeywordPlanCampaignKeyword update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/keyword_plan_campaign_keyword_service.proto // Remove operation: A resource name for the removed Keyword Plan campaign // keywords expected in this format: diff --git a/third_party/googleapis/google/ads/googleads/v15/services/keyword_plan_campaign_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/keyword_plan_campaign_service.proto index d6803df1f..78e652b8c 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/keyword_plan_campaign_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/keyword_plan_campaign_service.proto @@ -14,15 +14,9 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/keyword_plan_campaign_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/keyword_plan_campaign.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/resources/keyword_plan_campaign.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/keyword_plan_campaign_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -30,16 +24,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/keyword_plan_campaign_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "KeywordPlanCampaignServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -48,7 +32,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/keyword_plan_campaign_service.proto // Proto file describing the keyword plan campaign service. @@ -79,11 +62,7 @@ service KeywordPlanCampaignService { rpc MutateKeywordPlanCampaigns(MutateKeywordPlanCampaignsRequest) returns (MutateKeywordPlanCampaignsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/keyword_plan_campaign_service.proto - post: "/v12/customers/{customer_id=*}/keywordPlanCampaigns:mutate" -======== post: "/v15/customers/{customer_id=*}/keywordPlanCampaigns:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/keyword_plan_campaign_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; @@ -91,11 +70,7 @@ service KeywordPlanCampaignService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/keyword_plan_campaign_service.proto -// [KeywordPlanCampaignService.MutateKeywordPlanCampaigns][google.ads.googleads.v12.services.KeywordPlanCampaignService.MutateKeywordPlanCampaigns]. -======== // [KeywordPlanCampaignService.MutateKeywordPlanCampaigns][google.ads.googleads.v15.services.KeywordPlanCampaignService.MutateKeywordPlanCampaigns]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/keyword_plan_campaign_service.proto message MutateKeywordPlanCampaignsRequest { // Required. The ID of the customer whose Keyword Plan campaigns are being // modified. @@ -127,19 +102,11 @@ message KeywordPlanCampaignOperation { oneof operation { // Create operation: No resource name is expected for the new Keyword Plan // campaign. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/keyword_plan_campaign_service.proto - google.ads.googleads.v12.resources.KeywordPlanCampaign create = 1; - - // Update operation: The Keyword Plan campaign is expected to have a valid - // resource name. - google.ads.googleads.v12.resources.KeywordPlanCampaign update = 2; -======== google.ads.googleads.v15.resources.KeywordPlanCampaign create = 1; // Update operation: The Keyword Plan campaign is expected to have a valid // resource name. google.ads.googleads.v15.resources.KeywordPlanCampaign update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/keyword_plan_campaign_service.proto // Remove operation: A resource name for the removed Keyword Plan campaign // is expected, in this format: diff --git a/third_party/googleapis/google/ads/googleads/v15/services/keyword_theme_constant_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/keyword_theme_constant_service.proto index c284f0c60..f83ad0dac 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/keyword_theme_constant_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/keyword_theme_constant_service.proto @@ -14,22 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/keyword_theme_constant_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/keyword_theme_constant.proto"; -import "google/api/annotations.proto"; -import "google/api/client.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "KeywordThemeConstantServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/resources/keyword_theme_constant.proto"; @@ -44,7 +28,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/keyword_theme_constant_service.proto // Proto file describing the Smart Campaign keyword theme constant service. @@ -65,22 +48,14 @@ service KeywordThemeConstantService { rpc SuggestKeywordThemeConstants(SuggestKeywordThemeConstantsRequest) returns (SuggestKeywordThemeConstantsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/keyword_theme_constant_service.proto - post: "/v12/keywordThemeConstants:suggest" -======== post: "/v15/keywordThemeConstants:suggest" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/keyword_theme_constant_service.proto body: "*" }; } } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/keyword_theme_constant_service.proto -// [KeywordThemeConstantService.SuggestKeywordThemeConstants][google.ads.googleads.v12.services.KeywordThemeConstantService.SuggestKeywordThemeConstants]. -======== // [KeywordThemeConstantService.SuggestKeywordThemeConstants][google.ads.googleads.v15.services.KeywordThemeConstantService.SuggestKeywordThemeConstants]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/keyword_theme_constant_service.proto message SuggestKeywordThemeConstantsRequest { // The query text of a keyword theme that will be used to map to similar // keyword themes. For example, "plumber" or "roofer". @@ -96,16 +71,9 @@ message SuggestKeywordThemeConstantsRequest { } // Response message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/keyword_theme_constant_service.proto -// [KeywordThemeConstantService.SuggestKeywordThemeConstants][google.ads.googleads.v12.services.KeywordThemeConstantService.SuggestKeywordThemeConstants]. -message SuggestKeywordThemeConstantsResponse { - // Smart Campaign keyword theme suggestions. - repeated google.ads.googleads.v12.resources.KeywordThemeConstant keyword_theme_constants = 1; -======== // [KeywordThemeConstantService.SuggestKeywordThemeConstants][google.ads.googleads.v15.services.KeywordThemeConstantService.SuggestKeywordThemeConstants]. message SuggestKeywordThemeConstantsResponse { // Smart Campaign keyword theme suggestions. repeated google.ads.googleads.v15.resources.KeywordThemeConstant keyword_theme_constants = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/keyword_theme_constant_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/label_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/label_service.proto index 42f139468..fc3182833 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/label_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/label_service.proto @@ -14,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/label_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/label.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/label.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/label_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -32,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/label_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "LabelServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -50,7 +33,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/label_service.proto // Service to manage labels. service LabelService { @@ -85,23 +67,15 @@ service LabelService { // [StringLengthError]() rpc MutateLabels(MutateLabelsRequest) returns (MutateLabelsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/label_service.proto - post: "/v12/customers/{customer_id=*}/labels:mutate" -======== post: "/v15/customers/{customer_id=*}/labels:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/label_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/label_service.proto -// Request message for [LabelService.MutateLabels][google.ads.googleads.v12.services.LabelService.MutateLabels]. -======== // Request message for // [LabelService.MutateLabels][google.ads.googleads.v15.services.LabelService.MutateLabels]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/label_service.proto message MutateLabelsRequest { // Required. ID of the customer whose labels are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -122,12 +96,8 @@ message MutateLabelsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/label_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/label_service.proto } // A single operation (create, remove, update) on a label. @@ -138,17 +108,10 @@ message LabelOperation { // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new label. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/label_service.proto - google.ads.googleads.v12.resources.Label create = 1; - - // Update operation: The label is expected to have a valid resource name. - google.ads.googleads.v12.resources.Label update = 2; -======== google.ads.googleads.v15.resources.Label create = 1; // Update operation: The label is expected to have a valid resource name. google.ads.googleads.v15.resources.Label update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/label_service.proto // Remove operation: A resource name for the label being removed, in // this format: @@ -181,9 +144,5 @@ message MutateLabelResult { // The mutated label with only mutable fields after mutate. The field will // only be returned when response_content_type is set to "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/label_service.proto - google.ads.googleads.v12.resources.Label label = 2; -======== google.ads.googleads.v15.resources.Label label = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/label_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/offline_user_data_job_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/offline_user_data_job_service.proto index f7932f83c..5d2ab1c6c 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/offline_user_data_job_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/offline_user_data_job_service.proto @@ -14,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/offline_user_data_job_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/common/offline_user_data.proto"; -import "google/ads/googleads/v12/resources/offline_user_data_job.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/common/offline_user_data.proto"; import "google/ads/googleads/v15/resources/offline_user_data_job.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/offline_user_data_job_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -33,16 +26,6 @@ import "google/longrunning/operations.proto"; import "google/protobuf/empty.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/offline_user_data_job_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "OfflineUserDataJobServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -51,7 +34,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/offline_user_data_job_service.proto // Proto file describing the OfflineUserDataJobService. @@ -76,11 +58,7 @@ service OfflineUserDataJobService { rpc CreateOfflineUserDataJob(CreateOfflineUserDataJobRequest) returns (CreateOfflineUserDataJobResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/offline_user_data_job_service.proto - post: "/v12/customers/{customer_id=*}/offlineUserDataJobs:create" -======== post: "/v15/customers/{customer_id=*}/offlineUserDataJobs:create" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/offline_user_data_job_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,job"; @@ -102,11 +80,7 @@ service OfflineUserDataJobService { rpc AddOfflineUserDataJobOperations(AddOfflineUserDataJobOperationsRequest) returns (AddOfflineUserDataJobOperationsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/offline_user_data_job_service.proto - post: "/v12/{resource_name=customers/*/offlineUserDataJobs/*}:addOperations" -======== post: "/v15/{resource_name=customers/*/offlineUserDataJobs/*}:addOperations" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/offline_user_data_job_service.proto body: "*" }; option (google.api.method_signature) = "resource_name,operations"; @@ -129,43 +103,27 @@ service OfflineUserDataJobService { rpc RunOfflineUserDataJob(RunOfflineUserDataJobRequest) returns (google.longrunning.Operation) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/offline_user_data_job_service.proto - post: "/v12/{resource_name=customers/*/offlineUserDataJobs/*}:run" -======== post: "/v15/{resource_name=customers/*/offlineUserDataJobs/*}:run" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/offline_user_data_job_service.proto body: "*" }; option (google.api.method_signature) = "resource_name"; option (google.longrunning.operation_info) = { response_type: "google.protobuf.Empty" -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/offline_user_data_job_service.proto - metadata_type: "google.ads.googleads.v12.resources.OfflineUserDataJobMetadata" -======== metadata_type: "google.ads.googleads.v15.resources.OfflineUserDataJobMetadata" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/offline_user_data_job_service.proto }; } } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/offline_user_data_job_service.proto -// [OfflineUserDataJobService.CreateOfflineUserDataJob][google.ads.googleads.v12.services.OfflineUserDataJobService.CreateOfflineUserDataJob]. -======== // [OfflineUserDataJobService.CreateOfflineUserDataJob][google.ads.googleads.v15.services.OfflineUserDataJobService.CreateOfflineUserDataJob]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/offline_user_data_job_service.proto message CreateOfflineUserDataJobRequest { // Required. The ID of the customer for which to create an offline user data // job. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; // Required. The offline user data job to be created. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/offline_user_data_job_service.proto - google.ads.googleads.v12.resources.OfflineUserDataJob job = 2 [(google.api.field_behavior) = REQUIRED]; -======== google.ads.googleads.v15.resources.OfflineUserDataJob job = 2 [(google.api.field_behavior) = REQUIRED]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/offline_user_data_job_service.proto // If true, the request is validated but not executed. Only errors are // returned, not results. @@ -177,11 +135,7 @@ message CreateOfflineUserDataJobRequest { } // Response message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/offline_user_data_job_service.proto -// [OfflineUserDataJobService.CreateOfflineUserDataJob][google.ads.googleads.v12.services.OfflineUserDataJobService.CreateOfflineUserDataJob]. -======== // [OfflineUserDataJobService.CreateOfflineUserDataJob][google.ads.googleads.v15.services.OfflineUserDataJobService.CreateOfflineUserDataJob]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/offline_user_data_job_service.proto message CreateOfflineUserDataJobResponse { // The resource name of the OfflineUserDataJob. string resource_name = 1 [(google.api.resource_reference) = { @@ -189,12 +143,8 @@ message CreateOfflineUserDataJobResponse { }]; } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/offline_user_data_job_service.proto -// Request message for [OfflineUserDataJobService.RunOfflineUserDataJob][google.ads.googleads.v12.services.OfflineUserDataJobService.RunOfflineUserDataJob]. -======== // Request message for // [OfflineUserDataJobService.RunOfflineUserDataJob][google.ads.googleads.v15.services.OfflineUserDataJobService.RunOfflineUserDataJob]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/offline_user_data_job_service.proto message RunOfflineUserDataJobRequest { // Required. The resource name of the OfflineUserDataJob to run. string resource_name = 1 [ @@ -210,11 +160,7 @@ message RunOfflineUserDataJobRequest { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/offline_user_data_job_service.proto -// [OfflineUserDataJobService.AddOfflineUserDataJobOperations][google.ads.googleads.v12.services.OfflineUserDataJobService.AddOfflineUserDataJobOperations]. -======== // [OfflineUserDataJobService.AddOfflineUserDataJobOperations][google.ads.googleads.v15.services.OfflineUserDataJobService.AddOfflineUserDataJobOperations]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/offline_user_data_job_service.proto message AddOfflineUserDataJobOperationsRequest { // Required. The resource name of the OfflineUserDataJob. string resource_name = 1 [ @@ -247,19 +193,11 @@ message OfflineUserDataJobOperation { oneof operation { // Add the provided data to the transaction. Data cannot be retrieved after // being uploaded. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/offline_user_data_job_service.proto - google.ads.googleads.v12.common.UserData create = 1; - - // Remove the provided data from the transaction. Data cannot be retrieved - // after being uploaded. - google.ads.googleads.v12.common.UserData remove = 2; -======== google.ads.googleads.v15.common.UserData create = 1; // Remove the provided data from the transaction. Data cannot be retrieved // after being uploaded. google.ads.googleads.v15.common.UserData remove = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/offline_user_data_job_service.proto // Remove all previously provided data. This is only supported for Customer // Match. @@ -268,11 +206,7 @@ message OfflineUserDataJobOperation { } // Response message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/offline_user_data_job_service.proto -// [OfflineUserDataJobService.AddOfflineUserDataJobOperations][google.ads.googleads.v12.services.OfflineUserDataJobService.AddOfflineUserDataJobOperations]. -======== // [OfflineUserDataJobService.AddOfflineUserDataJobOperations][google.ads.googleads.v15.services.OfflineUserDataJobService.AddOfflineUserDataJobOperations]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/offline_user_data_job_service.proto message AddOfflineUserDataJobOperationsResponse { // Errors that pertain to operation failures in the partial failure mode. // Returned only when partial_failure = true and all errors occur inside the diff --git a/third_party/googleapis/google/ads/googleads/v15/services/payments_account_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/payments_account_service.proto index 4448a1a73..7307b0f21 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/payments_account_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/payments_account_service.proto @@ -14,29 +14,13 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/payments_account_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/payments_account.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/resources/payments_account.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/payments_account_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/payments_account_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "PaymentsAccountServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -45,7 +29,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/payments_account_service.proto // Proto file describing the payments account service. @@ -70,11 +53,7 @@ service PaymentsAccountService { rpc ListPaymentsAccounts(ListPaymentsAccountsRequest) returns (ListPaymentsAccountsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/payments_account_service.proto - get: "/v12/customers/{customer_id=*}/paymentsAccounts" -======== get: "/v15/customers/{customer_id=*}/paymentsAccounts" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/payments_account_service.proto }; option (google.api.method_signature) = "customer_id"; } @@ -87,17 +66,10 @@ message ListPaymentsAccountsRequest { string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/payments_account_service.proto -// Response message for [PaymentsAccountService.ListPaymentsAccounts][google.ads.googleads.v12.services.PaymentsAccountService.ListPaymentsAccounts]. -message ListPaymentsAccountsResponse { - // The list of accessible payments accounts. - repeated google.ads.googleads.v12.resources.PaymentsAccount payments_accounts = 1; -======== // Response message for // [PaymentsAccountService.ListPaymentsAccounts][google.ads.googleads.v15.services.PaymentsAccountService.ListPaymentsAccounts]. message ListPaymentsAccountsResponse { // The list of accessible payments accounts. repeated google.ads.googleads.v15.resources.PaymentsAccount payments_accounts = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/payments_account_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/reach_plan_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/reach_plan_service.proto index d9cd2dd6d..7510c7a9c 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/reach_plan_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/reach_plan_service.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/reach_plan_service.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/reach_plan_service.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,15 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/reach_plan_service.proto -package google.ads.googleads.v13.services; - -import "google/ads/googleads/v13/common/criteria.proto"; -import "google/ads/googleads/v13/common/dates.proto"; -import "google/ads/googleads/v13/enums/frequency_cap_time_unit.proto"; -import "google/ads/googleads/v13/enums/reach_plan_age_range.proto"; -import "google/ads/googleads/v13/enums/reach_plan_network.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/common/criteria.proto"; @@ -36,21 +23,10 @@ import "google/ads/googleads/v15/enums/reach_plan_age_range.proto"; import "google/ads/googleads/v15/enums/reach_plan_network.proto"; import "google/ads/googleads/v15/enums/reach_plan_surface.proto"; import "google/ads/googleads/v15/enums/target_frequency_time_unit.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/reach_plan_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/reach_plan_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V13.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ReachPlanServiceProto"; -option java_package = "com.google.ads.googleads.v13.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V13::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -59,7 +35,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/reach_plan_service.proto // Proto file describing the reach plan service. @@ -84,11 +59,7 @@ service ReachPlanService { rpc ListPlannableLocations(ListPlannableLocationsRequest) returns (ListPlannableLocationsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/reach_plan_service.proto - post: "/v13:listPlannableLocations" -======== post: "/v15:listPlannableLocations" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/reach_plan_service.proto body: "*" }; } @@ -106,11 +77,7 @@ service ReachPlanService { rpc ListPlannableProducts(ListPlannableProductsRequest) returns (ListPlannableProductsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/reach_plan_service.proto - post: "/v13:listPlannableProducts" -======== post: "/v15:listPlannableProducts" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/reach_plan_service.proto body: "*" }; option (google.api.method_signature) = "plannable_location_id"; @@ -131,11 +98,7 @@ service ReachPlanService { rpc GenerateReachForecast(GenerateReachForecastRequest) returns (GenerateReachForecastResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/reach_plan_service.proto - post: "/v13/customers/{customer_id=*}:generateReachForecast" -======== post: "/v15/customers/{customer_id=*}:generateReachForecast" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/reach_plan_service.proto body: "*" }; option (google.api.method_signature) = @@ -144,11 +107,7 @@ service ReachPlanService { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/reach_plan_service.proto -// [ReachPlanService.ListPlannableLocations][google.ads.googleads.v13.services.ReachPlanService.ListPlannableLocations]. -======== // [ReachPlanService.ListPlannableLocations][google.ads.googleads.v15.services.ReachPlanService.ListPlannableLocations]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/reach_plan_service.proto message ListPlannableLocationsRequest {} // The list of plannable locations. @@ -171,24 +130,15 @@ message PlannableLocation { // The parent country (not present if location is a country). // If present, will always be a GeoTargetConstant ID. Additional information // such as country name is provided by -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/reach_plan_service.proto - // [ReachPlanService.ListPlannableLocations][google.ads.googleads.v13.services.ReachPlanService.ListPlannableLocations] - // or [GoogleAdsService.Search/SearchStream][]. -======== // [ReachPlanService.ListPlannableLocations][google.ads.googleads.v15.services.ReachPlanService.ListPlannableLocations] // or GoogleAdsService.Search/SearchStream. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/reach_plan_service.proto optional int64 parent_country_id = 6; // The ISO-3166-1 alpha-2 country code that is associated with the location. optional string country_code = 7; // The location's type. Location types correspond to target_type returned by -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/reach_plan_service.proto - // searching location type in [GoogleAdsService.Search/SearchStream][]. -======== // searching location type in GoogleAdsService.Search/SearchStream. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/reach_plan_service.proto optional string location_type = 8; } @@ -196,11 +146,7 @@ message PlannableLocation { message ListPlannableProductsRequest { // Required. The ID of the selected location for planning. To list the // available plannable location IDs use -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/reach_plan_service.proto - // [ReachPlanService.ListPlannableLocations][google.ads.googleads.v13.services.ReachPlanService.ListPlannableLocations]. -======== // [ReachPlanService.ListPlannableLocations][google.ads.googleads.v15.services.ReachPlanService.ListPlannableLocations]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/reach_plan_service.proto string plannable_location_id = 2 [(google.api.field_behavior) = REQUIRED]; } @@ -215,11 +161,7 @@ message ProductMetadata { // The code associated with the ad product (for example: BUMPER, // TRUEVIEW_IN_STREAM). // To list the available plannable product codes use -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/reach_plan_service.proto - // [ReachPlanService.ListPlannableProducts][google.ads.googleads.v13.services.ReachPlanService.ListPlannableProducts]. -======== // [ReachPlanService.ListPlannableProducts][google.ads.googleads.v15.services.ReachPlanService.ListPlannableProducts]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/reach_plan_service.proto optional string plannable_product_code = 4; // The name associated with the ad product. @@ -235,45 +177,24 @@ message PlannableTargeting { // reported. Actual targeting is computed by mapping this age range onto // standard Google common.AgeRangeInfo values. repeated -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/reach_plan_service.proto - google.ads.googleads.v13.enums.ReachPlanAgeRangeEnum.ReachPlanAgeRange - age_ranges = 1; - - // Targetable genders for the ad product. - repeated google.ads.googleads.v13.common.GenderInfo genders = 2; -======== google.ads.googleads.v15.enums.ReachPlanAgeRangeEnum.ReachPlanAgeRange age_ranges = 1; // Targetable genders for the ad product. repeated google.ads.googleads.v15.common.GenderInfo genders = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/reach_plan_service.proto // Targetable devices for the ad product. // TABLET device targeting is automatically applied to reported metrics // when MOBILE targeting is selected for CPM_MASTHEAD, // GOOGLE_PREFERRED_BUMPER, and GOOGLE_PREFERRED_SHORT products. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/reach_plan_service.proto - repeated google.ads.googleads.v13.common.DeviceInfo devices = 3; - - // Targetable networks for the ad product. - repeated google.ads.googleads.v13.enums.ReachPlanNetworkEnum.ReachPlanNetwork -======== repeated google.ads.googleads.v15.common.DeviceInfo devices = 3; // Targetable networks for the ad product. repeated google.ads.googleads.v15.enums.ReachPlanNetworkEnum.ReachPlanNetwork ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/reach_plan_service.proto networks = 4; // Targetable YouTube Select Lineups for the ad product. repeated YouTubeSelectLineUp youtube_select_lineups = 5; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/reach_plan_service.proto -} - -// Request message for -// [ReachPlanService.GenerateReachForecast][google.ads.googleads.v13.services.ReachPlanService.GenerateReachForecast]. -======== // Targetable surface combinations for the ad product. SurfaceTargetingCombinations surface_targeting = 6; @@ -281,7 +202,6 @@ message PlannableTargeting { // Request message for // [ReachPlanService.GenerateReachForecast][google.ads.googleads.v15.services.ReachPlanService.GenerateReachForecast]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/reach_plan_service.proto message GenerateReachForecastRequest { // Required. The ID of the customer. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -350,10 +270,6 @@ message GenerateReachForecastRequest { ForecastMetricOptions forecast_metric_options = 13; // The name of the customer being planned for. This is a user-defined value. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/reach_plan_service.proto - // Required if targeting.audience_targeting is set. -======== ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/reach_plan_service.proto optional string customer_reach_group = 14; } @@ -372,11 +288,7 @@ message FrequencyCap { int32 impressions = 3 [(google.api.field_behavior) = REQUIRED]; // Required. The type of time unit. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/reach_plan_service.proto - google.ads.googleads.v13.enums.FrequencyCapTimeUnitEnum.FrequencyCapTimeUnit -======== google.ads.googleads.v15.enums.FrequencyCapTimeUnitEnum.FrequencyCapTimeUnit ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/reach_plan_service.proto time_unit = 2 [(google.api.field_behavior) = REQUIRED]; } @@ -384,11 +296,7 @@ message FrequencyCap { message Targeting { // The ID of the selected location. Plannable location IDs can be // obtained from -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/reach_plan_service.proto - // [ReachPlanService.ListPlannableLocations][google.ads.googleads.v13.services.ReachPlanService.ListPlannableLocations]. -======== // [ReachPlanService.ListPlannableLocations][google.ads.googleads.v15.services.ReachPlanService.ListPlannableLocations]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/reach_plan_service.proto // // Requests must set either this field or `plannable_location_ids`. // @@ -402,53 +310,31 @@ message Targeting { // `parent_country_id`. Planning for more than `parent_county` is not // supported. Plannable location IDs and their `parent_country_id` can be // obtained from -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/reach_plan_service.proto - // [ReachPlanService.ListPlannableLocations][google.ads.googleads.v13.services.ReachPlanService.ListPlannableLocations]. -======== // [ReachPlanService.ListPlannableLocations][google.ads.googleads.v15.services.ReachPlanService.ListPlannableLocations]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/reach_plan_service.proto // // Requests must set either this field or `plannable_location_id`. repeated string plannable_location_ids = 8; // Targeted age range. // An unset value is equivalent to targeting all ages. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/reach_plan_service.proto - google.ads.googleads.v13.enums.ReachPlanAgeRangeEnum.ReachPlanAgeRange -======== google.ads.googleads.v15.enums.ReachPlanAgeRangeEnum.ReachPlanAgeRange ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/reach_plan_service.proto age_range = 2; // Targeted genders. // An unset value is equivalent to targeting MALE and FEMALE. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/reach_plan_service.proto - repeated google.ads.googleads.v13.common.GenderInfo genders = 3; -======== repeated google.ads.googleads.v15.common.GenderInfo genders = 3; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/reach_plan_service.proto // Targeted devices. // If not specified, targets all applicable devices. Applicable devices vary // by product and region and can be obtained from -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/reach_plan_service.proto - // [ReachPlanService.ListPlannableProducts][google.ads.googleads.v13.services.ReachPlanService.ListPlannableProducts]. - repeated google.ads.googleads.v13.common.DeviceInfo devices = 4; -======== // [ReachPlanService.ListPlannableProducts][google.ads.googleads.v15.services.ReachPlanService.ListPlannableProducts]. repeated google.ads.googleads.v15.common.DeviceInfo devices = 4; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/reach_plan_service.proto // Targetable network for the ad product. // If not specified, targets all applicable networks. Applicable networks vary // by product and region and can be obtained from -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/reach_plan_service.proto - // [ReachPlanService.ListPlannableProducts][google.ads.googleads.v13.services.ReachPlanService.ListPlannableProducts]. - google.ads.googleads.v13.enums.ReachPlanNetworkEnum.ReachPlanNetwork network = -======== // [ReachPlanService.ListPlannableProducts][google.ads.googleads.v15.services.ReachPlanService.ListPlannableProducts]. google.ads.googleads.v15.enums.ReachPlanNetworkEnum.ReachPlanNetwork network = ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/reach_plan_service.proto 5; // Targeted audiences. @@ -469,11 +355,7 @@ message CampaignDuration { // date range must be <= 92 days long. // // This field cannot be combined with the duration_in_days field. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/reach_plan_service.proto - google.ads.googleads.v13.common.DateRange date_range = 3; -======== google.ads.googleads.v15.common.DateRange date_range = 3; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/reach_plan_service.proto } // A product being planned for reach. @@ -481,31 +363,18 @@ message PlannedProduct { // Required. Selected product for planning. // The code associated with the ad product (for example: Trueview, Bumper). // To list the available plannable product codes use -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/reach_plan_service.proto - // [ReachPlanService.ListPlannableProducts][google.ads.googleads.v13.services.ReachPlanService.ListPlannableProducts]. - optional string plannable_product_code = 3; -======== // [ReachPlanService.ListPlannableProducts][google.ads.googleads.v15.services.ReachPlanService.ListPlannableProducts]. optional string plannable_product_code = 3 [(google.api.field_behavior) = REQUIRED]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/reach_plan_service.proto // Required. Maximum budget allocation in micros for the selected product. // The value is specified in the selected planning currency_code. // For example: 1 000 000$ = 1 000 000 000 000 micros. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/reach_plan_service.proto - optional int64 budget_micros = 4; - - // Targeting settings for the selected product. - // To list the available targeting for each product use - // [ReachPlanService.ListPlannableProducts][google.ads.googleads.v13.services.ReachPlanService.ListPlannableProducts]. -======== optional int64 budget_micros = 4 [(google.api.field_behavior) = REQUIRED]; // Targeting settings for the selected product. // To list the available targeting for each product use // [ReachPlanService.ListPlannableProducts][google.ads.googleads.v15.services.ReachPlanService.ListPlannableProducts]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/reach_plan_service.proto AdvancedProductTargeting advanced_product_targeting = 5; } @@ -595,8 +464,6 @@ message Forecast { // impressions that may fall outside the specified Targeting, due to // insufficient information on signed-in users. optional int64 total_coview_impressions = 14; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/reach_plan_service.proto -======== // Number of ad views forecasted for the specified product and targeting. // A view is counted when a viewer views a larger portion or the entirety of @@ -605,7 +472,6 @@ message Forecast { // See https://support.google.com/google-ads/answer/2375431 for // more information on views. optional int64 views = 15; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/reach_plan_service.proto } // The forecasted allocation and traffic metrics for a specific product @@ -672,8 +538,6 @@ message PlannedProductForecast { // impressions that may fall outside the specified Targeting, due to // insufficient information on signed-in users. optional int64 total_coview_impressions = 9; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/reach_plan_service.proto -======== // The number of times per selected time unit a user will see an ad, averaged // over the number of time units in the forecast length. This field will only @@ -690,7 +554,6 @@ message PlannedProductForecast { // See https://support.google.com/google-ads/answer/2375431 for // more information on views. optional int64 views = 11; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/reach_plan_service.proto } // Audience metrics for the planned products. @@ -747,17 +610,11 @@ message ForecastMetricOptions { // Audience targeting for reach forecast. message AudienceTargeting { // List of audiences based on user interests to be targeted. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/reach_plan_service.proto - repeated google.ads.googleads.v13.common.UserInterestInfo user_interest = 1; -======== repeated google.ads.googleads.v15.common.UserInterestInfo user_interest = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/reach_plan_service.proto } // Advanced targeting settings for products. message AdvancedProductTargeting { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/reach_plan_service.proto -======== // Surface targeting settings for this product. SurfaceTargeting surface_targeting_settings = 2; @@ -768,7 +625,6 @@ message AdvancedProductTargeting { // information about Target Frequency campaigns. TargetFrequencySettings target_frequency_settings = 3; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/reach_plan_service.proto // Targeting options for this product. oneof advanced_targeting { // Settings for YouTube Select targeting. @@ -789,8 +645,6 @@ message YouTubeSelectLineUp { // The unique name of the YouTube Select Lineup. string lineup_name = 2; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/services/reach_plan_service.proto -======== } // The surface targeting combinations available for an ad product. @@ -820,5 +674,4 @@ message TargetFrequencySettings { // Required. The target frequency goal per selected time unit. int32 target_frequency = 2 [(google.api.field_behavior) = REQUIRED]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/reach_plan_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/remarketing_action_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/remarketing_action_service.proto index 77528385b..99b2968a6 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/remarketing_action_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/remarketing_action_service.proto @@ -14,15 +14,9 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/remarketing_action_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/remarketing_action.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/resources/remarketing_action.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/remarketing_action_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -30,16 +24,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/remarketing_action_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "RemarketingActionServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -48,7 +32,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/remarketing_action_service.proto // Proto file describing the Remarketing Action service. @@ -70,23 +53,15 @@ service RemarketingActionService { rpc MutateRemarketingActions(MutateRemarketingActionsRequest) returns (MutateRemarketingActionsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/remarketing_action_service.proto - post: "/v12/customers/{customer_id=*}/remarketingActions:mutate" -======== post: "/v15/customers/{customer_id=*}/remarketingActions:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/remarketing_action_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/remarketing_action_service.proto -// Request message for [RemarketingActionService.MutateRemarketingActions][google.ads.googleads.v12.services.RemarketingActionService.MutateRemarketingActions]. -======== // Request message for // [RemarketingActionService.MutateRemarketingActions][google.ads.googleads.v15.services.RemarketingActionService.MutateRemarketingActions]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/remarketing_action_service.proto message MutateRemarketingActionsRequest { // Required. The ID of the customer whose remarketing actions are being // modified. @@ -117,19 +92,11 @@ message RemarketingActionOperation { oneof operation { // Create operation: No resource name is expected for the new remarketing // action. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/remarketing_action_service.proto - google.ads.googleads.v12.resources.RemarketingAction create = 1; - - // Update operation: The remarketing action is expected to have a valid - // resource name. - google.ads.googleads.v12.resources.RemarketingAction update = 2; -======== google.ads.googleads.v15.resources.RemarketingAction create = 1; // Update operation: The remarketing action is expected to have a valid // resource name. google.ads.googleads.v15.resources.RemarketingAction update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/remarketing_action_service.proto } } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/shared_criterion_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/shared_criterion_service.proto index 00bebda9a..564ef03e4 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/shared_criterion_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/shared_criterion_service.proto @@ -14,33 +14,16 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/shared_criterion_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/shared_criterion.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/shared_criterion.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/shared_criterion_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/shared_criterion_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "SharedCriterionServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -49,7 +32,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/shared_criterion_service.proto // Proto file describing the Shared Criterion service. @@ -84,23 +66,15 @@ service SharedCriterionService { rpc MutateSharedCriteria(MutateSharedCriteriaRequest) returns (MutateSharedCriteriaResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/shared_criterion_service.proto - post: "/v12/customers/{customer_id=*}/sharedCriteria:mutate" -======== post: "/v15/customers/{customer_id=*}/sharedCriteria:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/shared_criterion_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/shared_criterion_service.proto -// Request message for [SharedCriterionService.MutateSharedCriteria][google.ads.googleads.v12.services.SharedCriterionService.MutateSharedCriteria]. -======== // Request message for // [SharedCriterionService.MutateSharedCriteria][google.ads.googleads.v15.services.SharedCriterionService.MutateSharedCriteria]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/shared_criterion_service.proto message MutateSharedCriteriaRequest { // Required. The ID of the customer whose shared criteria are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -121,12 +95,8 @@ message MutateSharedCriteriaRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/shared_criterion_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/shared_criterion_service.proto } // A single operation (create, remove) on an shared criterion. @@ -135,11 +105,7 @@ message SharedCriterionOperation { oneof operation { // Create operation: No resource name is expected for the new shared // criterion. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/shared_criterion_service.proto - google.ads.googleads.v12.resources.SharedCriterion create = 1; -======== google.ads.googleads.v15.resources.SharedCriterion create = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/shared_criterion_service.proto // Remove operation: A resource name for the removed shared criterion is // expected, in this format: @@ -173,9 +139,5 @@ message MutateSharedCriterionResult { // The mutated shared criterion with only mutable fields after mutate. The // field will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/shared_criterion_service.proto - google.ads.googleads.v12.resources.SharedCriterion shared_criterion = 2; -======== google.ads.googleads.v15.resources.SharedCriterion shared_criterion = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/shared_criterion_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/shared_set_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/shared_set_service.proto index fd0705c78..9e88675af 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/shared_set_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/shared_set_service.proto @@ -14,17 +14,10 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/shared_set_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/enums/response_content_type.proto"; -import "google/ads/googleads/v12/resources/shared_set.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/enums/response_content_type.proto"; import "google/ads/googleads/v15/resources/shared_set.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/shared_set_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -32,16 +25,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/shared_set_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "SharedSetServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -50,7 +33,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/shared_set_service.proto // Proto file describing the Shared Set service. @@ -88,23 +70,15 @@ service SharedSetService { rpc MutateSharedSets(MutateSharedSetsRequest) returns (MutateSharedSetsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/shared_set_service.proto - post: "/v12/customers/{customer_id=*}/sharedSets:mutate" -======== post: "/v15/customers/{customer_id=*}/sharedSets:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/shared_set_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/shared_set_service.proto -// Request message for [SharedSetService.MutateSharedSets][google.ads.googleads.v12.services.SharedSetService.MutateSharedSets]. -======== // Request message for // [SharedSetService.MutateSharedSets][google.ads.googleads.v15.services.SharedSetService.MutateSharedSets]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/shared_set_service.proto message MutateSharedSetsRequest { // Required. The ID of the customer whose shared sets are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -125,12 +99,8 @@ message MutateSharedSetsRequest { // The response content type setting. Determines whether the mutable resource // or just the resource name should be returned post mutation. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/shared_set_service.proto - google.ads.googleads.v12.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; -======== google.ads.googleads.v15.enums.ResponseContentTypeEnum.ResponseContentType response_content_type = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/shared_set_service.proto } // A single operation (create, update, remove) on an shared set. @@ -141,19 +111,11 @@ message SharedSetOperation { // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new shared set. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/shared_set_service.proto - google.ads.googleads.v12.resources.SharedSet create = 1; - - // Update operation: The shared set is expected to have a valid resource - // name. - google.ads.googleads.v12.resources.SharedSet update = 2; -======== google.ads.googleads.v15.resources.SharedSet create = 1; // Update operation: The shared set is expected to have a valid resource // name. google.ads.googleads.v15.resources.SharedSet update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/shared_set_service.proto // Remove operation: A resource name for the removed shared set is expected, // in this format: @@ -187,9 +149,5 @@ message MutateSharedSetResult { // The mutated shared set with only mutable fields after mutate. The field // will only be returned when response_content_type is set to // "MUTABLE_RESOURCE". -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/shared_set_service.proto - google.ads.googleads.v12.resources.SharedSet shared_set = 2; -======== google.ads.googleads.v15.resources.SharedSet shared_set = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/shared_set_service.proto } diff --git a/third_party/googleapis/google/ads/googleads/v15/services/smart_campaign_suggest_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/smart_campaign_suggest_service.proto index d5fbf6ba2..a88ecbdb0 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/smart_campaign_suggest_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/smart_campaign_suggest_service.proto @@ -14,34 +14,16 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/smart_campaign_suggest_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/common/ad_type_infos.proto"; -import "google/ads/googleads/v12/common/criteria.proto"; -import "google/ads/googleads/v12/resources/keyword_theme_constant.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/common/ad_type_infos.proto"; import "google/ads/googleads/v15/common/criteria.proto"; import "google/ads/googleads/v15/resources/keyword_theme_constant.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/smart_campaign_suggest_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/smart_campaign_suggest_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "SmartCampaignSuggestServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -50,7 +32,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/smart_campaign_suggest_service.proto // Service to get suggestions for Smart Campaigns. service SmartCampaignSuggestService { @@ -62,11 +43,7 @@ service SmartCampaignSuggestService { SuggestSmartCampaignBudgetOptionsRequest) returns (SuggestSmartCampaignBudgetOptionsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/smart_campaign_suggest_service.proto - post: "/v12/customers/{customer_id=*}:suggestSmartCampaignBudgetOptions" -======== post: "/v15/customers/{customer_id=*}:suggestSmartCampaignBudgetOptions" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/smart_campaign_suggest_service.proto body: "*" }; } @@ -76,11 +53,7 @@ service SmartCampaignSuggestService { rpc SuggestSmartCampaignAd(SuggestSmartCampaignAdRequest) returns (SuggestSmartCampaignAdResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/smart_campaign_suggest_service.proto - post: "/v12/customers/{customer_id=*}:suggestSmartCampaignAd" -======== post: "/v15/customers/{customer_id=*}:suggestSmartCampaignAd" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/smart_campaign_suggest_service.proto body: "*" }; } @@ -89,11 +62,7 @@ service SmartCampaignSuggestService { rpc SuggestKeywordThemes(SuggestKeywordThemesRequest) returns (SuggestKeywordThemesResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/smart_campaign_suggest_service.proto - post: "/v12/customers/{customer_id=*}:suggestKeywordThemes" -======== post: "/v15/customers/{customer_id=*}:suggestKeywordThemes" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/smart_campaign_suggest_service.proto body: "*" }; } @@ -129,12 +98,8 @@ message SmartCampaignSuggestionInfo { // A list of locations. message LocationList { // Required. Locations. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/smart_campaign_suggest_service.proto - repeated google.ads.googleads.v12.common.LocationInfo locations = 1 [(google.api.field_behavior) = REQUIRED]; -======== repeated google.ads.googleads.v15.common.LocationInfo locations = 1 [(google.api.field_behavior) = REQUIRED]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/smart_campaign_suggest_service.proto } // A context that describes a business. @@ -151,13 +116,6 @@ message SmartCampaignSuggestionInfo { string language_code = 3 [(google.api.field_behavior) = OPTIONAL]; // Optional. The business ad schedule. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/smart_campaign_suggest_service.proto - repeated google.ads.googleads.v12.common.AdScheduleInfo ad_schedules = 6 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. Smart campaign keyword themes. This field may greatly improve suggestion - // accuracy and we recommend always setting it if possible. - repeated google.ads.googleads.v12.common.KeywordThemeInfo keyword_themes = 7 [(google.api.field_behavior) = OPTIONAL]; -======== repeated google.ads.googleads.v15.common.AdScheduleInfo ad_schedules = 6 [(google.api.field_behavior) = OPTIONAL]; @@ -165,7 +123,6 @@ message SmartCampaignSuggestionInfo { // suggestion accuracy and we recommend always setting it if possible. repeated google.ads.googleads.v15.common.KeywordThemeInfo keyword_themes = 7 [(google.api.field_behavior) = OPTIONAL]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/smart_campaign_suggest_service.proto // The business settings to consider when generating suggestions. // Settings are automatically extracted from the business when provided. @@ -183,12 +140,8 @@ message SmartCampaignSuggestionInfo { // See the [Business Profile API] // (https://developers.google.com/my-business/reference/businessinformation/rest/v1/accounts.locations) // for additional details. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/smart_campaign_suggest_service.proto - string business_profile_location = 9 [(google.api.field_behavior) = OPTIONAL]; -======== string business_profile_location = 9 [(google.api.field_behavior) = OPTIONAL]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/smart_campaign_suggest_service.proto } // The geo target of the campaign, either a list of locations or @@ -198,12 +151,8 @@ message SmartCampaignSuggestionInfo { LocationList location_list = 4 [(google.api.field_behavior) = OPTIONAL]; // Optional. The targeting geo location by proximity. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/smart_campaign_suggest_service.proto - google.ads.googleads.v12.common.ProximityInfo proximity = 5 [(google.api.field_behavior) = OPTIONAL]; -======== google.ads.googleads.v15.common.ProximityInfo proximity = 5 [(google.api.field_behavior) = OPTIONAL]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/smart_campaign_suggest_service.proto } } @@ -245,11 +194,7 @@ message SuggestSmartCampaignBudgetOptionsResponse { } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/smart_campaign_suggest_service.proto -// [SmartCampaignSuggestService.SuggestSmartCampaignAd][google.ads.googleads.v12.services.SmartCampaignSuggestService.SuggestSmartCampaignAd]. -======== // [SmartCampaignSuggestService.SuggestSmartCampaignAd][google.ads.googleads.v15.services.SmartCampaignSuggestService.SuggestSmartCampaignAd]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/smart_campaign_suggest_service.proto message SuggestSmartCampaignAdRequest { // Required. The ID of the customer. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -263,16 +208,6 @@ message SuggestSmartCampaignAdRequest { } // Response message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/smart_campaign_suggest_service.proto -// [SmartCampaignSuggestService.SuggestSmartCampaignAd][google.ads.googleads.v12.services.SmartCampaignSuggestService.SuggestSmartCampaignAd]. -message SuggestSmartCampaignAdResponse { - // Optional. Ad info includes 3 creative headlines and 2 creative descriptions. - google.ads.googleads.v12.common.SmartCampaignAdInfo ad_info = 1 [(google.api.field_behavior) = OPTIONAL]; -} - -// Request message for -// [SmartCampaignSuggestService.SuggestKeywordThemes][google.ads.googleads.v12.services.SmartCampaignSuggestService.SuggestKeywordThemes]. -======== // [SmartCampaignSuggestService.SuggestSmartCampaignAd][google.ads.googleads.v15.services.SmartCampaignSuggestService.SuggestSmartCampaignAd]. message SuggestSmartCampaignAdResponse { // Optional. Ad info includes 3 creative headlines and 2 creative @@ -283,7 +218,6 @@ message SuggestSmartCampaignAdResponse { // Request message for // [SmartCampaignSuggestService.SuggestKeywordThemes][google.ads.googleads.v15.services.SmartCampaignSuggestService.SuggestKeywordThemes]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/smart_campaign_suggest_service.proto message SuggestKeywordThemesRequest { // Required. The ID of the customer. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -303,23 +237,15 @@ message SuggestKeywordThemesRequest { } // Response message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/smart_campaign_suggest_service.proto -// [SmartCampaignSuggestService.SuggestKeywordThemes][google.ads.googleads.v12.services.SmartCampaignSuggestService.SuggestKeywordThemes]. -======== // [SmartCampaignSuggestService.SuggestKeywordThemes][google.ads.googleads.v15.services.SmartCampaignSuggestService.SuggestKeywordThemes]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/smart_campaign_suggest_service.proto message SuggestKeywordThemesResponse { // A Smart campaign keyword theme suggestion. message KeywordTheme { // A keyword theme. oneof keyword_theme { // A Smart campaign keyword theme constant. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/smart_campaign_suggest_service.proto - google.ads.googleads.v12.resources.KeywordThemeConstant keyword_theme_constant = 1; -======== google.ads.googleads.v15.resources.KeywordThemeConstant keyword_theme_constant = 1; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/smart_campaign_suggest_service.proto // A free-form text keyword theme. string free_form_keyword_theme = 2; diff --git a/third_party/googleapis/google/ads/googleads/v15/services/third_party_app_analytics_link_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/third_party_app_analytics_link_service.proto index 41c5dce4c..65cd315e0 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/third_party_app_analytics_link_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/third_party_app_analytics_link_service.proto @@ -14,26 +14,12 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/third_party_app_analytics_link_service.proto -package google.ads.googleads.v12.services; -======== package google.ads.googleads.v15.services; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/third_party_app_analytics_link_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/resource.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/third_party_app_analytics_link_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "ThirdPartyAppAnalyticsLinkServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -42,7 +28,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/third_party_app_analytics_link_service.proto // This service allows management of links between Google Ads and third party // app analytics. @@ -63,22 +48,14 @@ service ThirdPartyAppAnalyticsLinkService { rpc RegenerateShareableLinkId(RegenerateShareableLinkIdRequest) returns (RegenerateShareableLinkIdResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/third_party_app_analytics_link_service.proto - post: "/v12/{resource_name=customers/*/thirdPartyAppAnalyticsLinks/*}:regenerateShareableLinkId" -======== post: "/v15/{resource_name=customers/*/thirdPartyAppAnalyticsLinks/*}:regenerateShareableLinkId" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/third_party_app_analytics_link_service.proto body: "*" }; } } // Request message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/third_party_app_analytics_link_service.proto -// [ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId][google.ads.googleads.v12.services.ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId]. -======== // [ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId][google.ads.googleads.v15.services.ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/third_party_app_analytics_link_service.proto message RegenerateShareableLinkIdRequest { // Resource name of the third party app analytics link. string resource_name = 1 [(google.api.resource_reference) = { @@ -87,12 +64,5 @@ message RegenerateShareableLinkIdRequest { } // Response message for -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/third_party_app_analytics_link_service.proto -// [ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId][google.ads.googleads.v12.services.ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId]. -message RegenerateShareableLinkIdResponse { - -} -======== // [ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId][google.ads.googleads.v15.services.ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId]. message RegenerateShareableLinkIdResponse {} ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/third_party_app_analytics_link_service.proto diff --git a/third_party/googleapis/google/ads/googleads/v15/services/user_data_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/user_data_service.proto index 5212ffb5a..63625f398 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/user_data_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/user_data_service.proto @@ -14,29 +14,13 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/user_data_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/common/offline_user_data.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/common/offline_user_data.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/user_data_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/user_data_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "UserDataServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -45,7 +29,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/user_data_service.proto // Proto file describing the UserDataService. @@ -75,22 +58,14 @@ service UserDataService { // [UserDataError]() rpc UploadUserData(UploadUserDataRequest) returns (UploadUserDataResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/user_data_service.proto - post: "/v12/customers/{customer_id=*}:uploadUserData" -======== post: "/v15/customers/{customer_id=*}:uploadUserData" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/user_data_service.proto body: "*" }; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/user_data_service.proto -// Request message for [UserDataService.UploadUserData][google.ads.googleads.v12.services.UserDataService.UploadUserData] -======== // Request message for // [UserDataService.UploadUserData][google.ads.googleads.v15.services.UserDataService.UploadUserData] ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/user_data_service.proto message UploadUserDataRequest { // Required. The ID of the customer for which to update the user data. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -102,12 +77,8 @@ message UploadUserDataRequest { // Metadata of the request. oneof metadata { // Metadata for data updates to a Customer Match user list. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/user_data_service.proto - google.ads.googleads.v12.common.CustomerMatchUserListMetadata customer_match_user_list_metadata = 2; -======== google.ads.googleads.v15.common.CustomerMatchUserListMetadata customer_match_user_list_metadata = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/user_data_service.proto } } @@ -116,16 +87,6 @@ message UserDataOperation { // Operation to be made for the UploadUserDataRequest. oneof operation { // The list of user data to be appended to the user list. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/user_data_service.proto - google.ads.googleads.v12.common.UserData create = 1; - - // The list of user data to be removed from the user list. - google.ads.googleads.v12.common.UserData remove = 2; - } -} - -// Response message for [UserDataService.UploadUserData][google.ads.googleads.v12.services.UserDataService.UploadUserData] -======== google.ads.googleads.v15.common.UserData create = 1; // The list of user data to be removed from the user list. @@ -135,7 +96,6 @@ message UserDataOperation { // Response message for // [UserDataService.UploadUserData][google.ads.googleads.v15.services.UserDataService.UploadUserData] ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/user_data_service.proto // Uploads made through this service will not be visible under the 'Segment // members' section for the Customer Match List in the Google Ads UI. message UploadUserDataResponse { diff --git a/third_party/googleapis/google/ads/googleads/v15/services/user_list_service.proto b/third_party/googleapis/google/ads/googleads/v15/services/user_list_service.proto index 2edfe266b..8d4b5aac8 100644 --- a/third_party/googleapis/google/ads/googleads/v15/services/user_list_service.proto +++ b/third_party/googleapis/google/ads/googleads/v15/services/user_list_service.proto @@ -14,15 +14,9 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/user_list_service.proto -package google.ads.googleads.v12.services; - -import "google/ads/googleads/v12/resources/user_list.proto"; -======== package google.ads.googleads.v15.services; import "google/ads/googleads/v15/resources/user_list.proto"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/user_list_service.proto import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -30,16 +24,6 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; import "google/rpc/status.proto"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/user_list_service.proto -option csharp_namespace = "Google.Ads.GoogleAds.V12.Services"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/services;services"; -option java_multiple_files = true; -option java_outer_classname = "UserListServiceProto"; -option java_package = "com.google.ads.googleads.v12.services"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Services"; -option ruby_package = "Google::Ads::GoogleAds::V12::Services"; -======== option csharp_namespace = "Google.Ads.GoogleAds.V15.Services"; option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v15/services;services"; option java_multiple_files = true; @@ -48,7 +32,6 @@ option java_package = "com.google.ads.googleads.v15.services"; option objc_class_prefix = "GAA"; option php_namespace = "Google\\Ads\\GoogleAds\\V15\\Services"; option ruby_package = "Google::Ads::GoogleAds::V15::Services"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/user_list_service.proto // Proto file describing the User List service. @@ -83,23 +66,15 @@ service UserListService { rpc MutateUserLists(MutateUserListsRequest) returns (MutateUserListsResponse) { option (google.api.http) = { -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/user_list_service.proto - post: "/v12/customers/{customer_id=*}/userLists:mutate" -======== post: "/v15/customers/{customer_id=*}/userLists:mutate" ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/user_list_service.proto body: "*" }; option (google.api.method_signature) = "customer_id,operations"; } } -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/user_list_service.proto -// Request message for [UserListService.MutateUserLists][google.ads.googleads.v12.services.UserListService.MutateUserLists]. -======== // Request message for // [UserListService.MutateUserLists][google.ads.googleads.v15.services.UserListService.MutateUserLists]. ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/user_list_service.proto message MutateUserListsRequest { // Required. The ID of the customer whose user lists are being modified. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -127,19 +102,11 @@ message UserListOperation { // The mutate operation. oneof operation { // Create operation: No resource name is expected for the new user list. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/services/user_list_service.proto - google.ads.googleads.v12.resources.UserList create = 1; - - // Update operation: The user list is expected to have a valid resource - // name. - google.ads.googleads.v12.resources.UserList update = 2; -======== google.ads.googleads.v15.resources.UserList create = 1; // Update operation: The user list is expected to have a valid resource // name. google.ads.googleads.v15.resources.UserList update = 2; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/googleads/v15/services/user_list_service.proto // Remove operation: A resource name for the removed user list is expected, // in this format: diff --git a/third_party/googleapis/google/ads/searchads360/v0/BUILD.bazel b/third_party/googleapis/google/ads/searchads360/v0/BUILD.bazel index d76ae9ede..40c71a163 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/BUILD.bazel +++ b/third_party/googleapis/google/ads/searchads360/v0/BUILD.bazel @@ -112,11 +112,37 @@ py_gapic_assembly_pkg( name = "searchads360-py", deps = [ ":searchads360_py_gapic", - "//google/ads/searchads360/v0:searchads360_proto", - "//google/ads/searchads360/v0/enums:enums_py_proto", - "//google/ads/searchads360/v0/common:common_py_proto", - "//google/ads/searchads360/v0/resources:resources_py_proto", - "//google/ads/searchads360/v0/services:services_py_proto", - "//google/ads/searchads360/v0/services:services_py_grpc", ], -) \ No newline at end of file +) + +############################################################################## +# C# +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "csharp_gapic_assembly_pkg", + "csharp_gapic_library", +) + +csharp_gapic_library( + name = "searchads360_csharp_gapic", + srcs = [ + ":searchads360_proto_with_info", + ], + grpc_service_config = "searchads360_grpc_service_config.json", + deps = [ + "//google/ads/searchads360/v0/services:services_csharp_grpc", + ], +) + +csharp_gapic_assembly_pkg( + name = "searchads360-csharp", + deps = [ + ":searchads360_csharp_gapic", + "//google/ads/searchads360/v0/common:common_csharp_proto", + "//google/ads/searchads360/v0/enums:enums_csharp_proto", + "//google/ads/searchads360/v0/resources:resources_csharp_proto", + "//google/ads/searchads360/v0/services:services_csharp_grpc", + "//google/ads/searchads360/v0/services:services_csharp_proto", + ], +) diff --git a/third_party/googleapis/google/ads/searchads360/v0/common/BUILD.bazel b/third_party/googleapis/google/ads/searchads360/v0/common/BUILD.bazel index 77782684f..14c2f861e 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/common/BUILD.bazel +++ b/third_party/googleapis/google/ads/searchads360/v0/common/BUILD.bazel @@ -25,6 +25,7 @@ proto_library( deps = [ "//google/ads/searchads360/v0/enums:enums_proto", "//google/api:resource_proto", + "//google/api:field_behavior_proto", "@com_google_protobuf//:wrappers_proto", ], ) @@ -65,6 +66,7 @@ moved_proto_library( deps = [ "//google/ads/searchads360/v0/enums:enums_proto", "//google/api:resource_proto", + "//google/api:field_behavior_proto", "@com_google_protobuf//:wrappers_proto", ], ) @@ -98,4 +100,4 @@ csharp_grpc_library( name = "common_csharp_grpc", srcs = [":common_proto"], deps = [":common_csharp_proto"], -) \ No newline at end of file +) diff --git a/third_party/googleapis/google/ads/searchads360/v0/common/bidding.proto b/third_party/googleapis/google/ads/searchads360/v0/common/bidding.proto index 7135be478..9b70a26e2 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/common/bidding.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/common/bidding.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -36,15 +36,11 @@ option ruby_package = "Google::Ads::SearchAds360::V0::Common"; // // This bidding strategy is deprecated and cannot be created anymore. Use // ManualCpc with enhanced_cpc_enabled set to true for equivalent functionality. -message EnhancedCpc { - -} +message EnhancedCpc {} // Manual bidding strategy that allows advertiser to set the bid per // advertiser-specified action. -message ManualCpa { - -} +message ManualCpa {} // Manual click-based bidding where user pays per click. message ManualCpc { @@ -53,9 +49,7 @@ message ManualCpc { } // Manual impression-based bidding where user pays per thousand impressions. -message ManualCpm { - -} +message ManualCpm {} // An automated bidding strategy to help get the most conversions for your // campaigns while spending your budget. @@ -121,16 +115,15 @@ message TargetCpa { // Target CPM (cost per thousand impressions) is an automated bidding strategy // that sets bids to optimize performance given the target CPM you set. -message TargetCpm { - -} +message TargetCpm {} // An automated bidding strategy that sets bids so that a certain percentage of // search ads are shown at the top of the first page (or other targeted // location). message TargetImpressionShare { // The targeted location on the search results page. - google.ads.searchads360.v0.enums.TargetImpressionShareLocationEnum.TargetImpressionShareLocation location = 1; + google.ads.searchads360.v0.enums.TargetImpressionShareLocationEnum + .TargetImpressionShareLocation location = 1; // The chosen fraction of ads to be shown in the targeted location in micros. // For example, 1% equals 10,000. diff --git a/third_party/googleapis/google/ads/searchads360/v0/common/criteria.proto b/third_party/googleapis/google/ads/searchads360/v0/common/criteria.proto index 1fe597db4..f0480347b 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/common/criteria.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/common/criteria.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,11 +17,13 @@ syntax = "proto3"; package google.ads.searchads360.v0.common; import "google/ads/searchads360/v0/enums/age_range_type.proto"; +import "google/ads/searchads360/v0/enums/day_of_week.proto"; import "google/ads/searchads360/v0/enums/device.proto"; import "google/ads/searchads360/v0/enums/gender_type.proto"; import "google/ads/searchads360/v0/enums/keyword_match_type.proto"; import "google/ads/searchads360/v0/enums/listing_group_type.proto"; import "google/ads/searchads360/v0/enums/location_group_radius_units.proto"; +import "google/ads/searchads360/v0/enums/minute_of_hour.proto"; import "google/ads/searchads360/v0/enums/webpage_condition_operand.proto"; import "google/ads/searchads360/v0/enums/webpage_condition_operator.proto"; @@ -42,7 +44,8 @@ message KeywordInfo { optional string text = 3; // The match type of the keyword. - google.ads.searchads360.v0.enums.KeywordMatchTypeEnum.KeywordMatchType match_type = 2; + google.ads.searchads360.v0.enums.KeywordMatchTypeEnum.KeywordMatchType + match_type = 2; } // A location criterion. @@ -60,7 +63,50 @@ message DeviceInfo { // A listing group criterion. message ListingGroupInfo { // Type of the listing group. - google.ads.searchads360.v0.enums.ListingGroupTypeEnum.ListingGroupType type = 1; + google.ads.searchads360.v0.enums.ListingGroupTypeEnum.ListingGroupType type = + 1; +} + +// Represents an AdSchedule criterion. +// +// AdSchedule is specified as the day of the week and a time interval +// within which ads will be shown. +// +// No more than six AdSchedules can be added for the same day. +message AdScheduleInfo { + // Minutes after the start hour at which this schedule starts. + // + // This field is required for CREATE operations and is prohibited on UPDATE + // operations. + google.ads.searchads360.v0.enums.MinuteOfHourEnum.MinuteOfHour start_minute = + 1; + + // Minutes after the end hour at which this schedule ends. The schedule is + // exclusive of the end minute. + // + // This field is required for CREATE operations and is prohibited on UPDATE + // operations. + google.ads.searchads360.v0.enums.MinuteOfHourEnum.MinuteOfHour end_minute = 2; + + // Starting hour in 24 hour time. + // This field must be between 0 and 23, inclusive. + // + // This field is required for CREATE operations and is prohibited on UPDATE + // operations. + optional int32 start_hour = 6; + + // Ending hour in 24 hour time; 24 signifies end of the day. + // This field must be between 0 and 24, inclusive. + // + // This field is required for CREATE operations and is prohibited on UPDATE + // operations. + optional int32 end_hour = 7; + + // Day of the week the schedule applies to. + // + // This field is required for CREATE operations and is prohibited on UPDATE + // operations. + google.ads.searchads360.v0.enums.DayOfWeekEnum.DayOfWeek day_of_week = 5; } // An age range criterion. @@ -75,6 +121,13 @@ message GenderInfo { google.ads.searchads360.v0.enums.GenderTypeEnum.GenderType type = 1; } +// A User List criterion. Represents a user list that is defined by the +// advertiser to be targeted. +message UserListInfo { + // The User List resource name. + optional string user_list = 2; +} + // A language criterion. message LanguageInfo { // The language constant resource name. @@ -111,10 +164,13 @@ message WebpageInfo { // Logical expression for targeting webpages of an advertiser's website. message WebpageConditionInfo { // Operand of webpage targeting condition. - google.ads.searchads360.v0.enums.WebpageConditionOperandEnum.WebpageConditionOperand operand = 1; + google.ads.searchads360.v0.enums.WebpageConditionOperandEnum + .WebpageConditionOperand operand = 1; // Operator of webpage targeting condition. - google.ads.searchads360.v0.enums.WebpageConditionOperatorEnum.WebpageConditionOperator operator = 2; + google.ads.searchads360.v0.enums.WebpageConditionOperatorEnum + .WebpageConditionOperator + operator = 2; // Argument of webpage targeting condition. optional string argument = 4; @@ -133,7 +189,8 @@ message LocationGroupInfo { // Unit of the radius. Miles and meters are supported for geo target // constants. Milli miles and meters are supported for feed item sets. // This is required and must be set in CREATE operations. - google.ads.searchads360.v0.enums.LocationGroupRadiusUnitsEnum.LocationGroupRadiusUnits radius_units = 4; + google.ads.searchads360.v0.enums.LocationGroupRadiusUnitsEnum + .LocationGroupRadiusUnits radius_units = 4; // FeedItemSets whose FeedItems are targeted. If multiple IDs are specified, // then all items that appear in at least one set are targeted. This field @@ -141,3 +198,9 @@ message LocationGroupInfo { // set in CREATE operations. repeated string feed_item_sets = 8; } + +// An audience criterion. +message AudienceInfo { + // The Audience resource name. + string audience = 1; +} diff --git a/third_party/googleapis/google/ads/searchads360/v0/common/custom_parameter.proto b/third_party/googleapis/google/ads/searchads360/v0/common/custom_parameter.proto index 22facac93..a6826fb93 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/common/custom_parameter.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/common/custom_parameter.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/ads/searchads360/v0/common/frequency_cap.proto b/third_party/googleapis/google/ads/searchads360/v0/common/frequency_cap.proto index d8b67bcb9..3219aad0b 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/common/frequency_cap.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/common/frequency_cap.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -29,6 +29,4 @@ option ruby_package = "Google::Ads::SearchAds360::V0::Common"; // A rule specifying the maximum number of times an ad (or some set of ads) can // be shown to a user over a particular time period. -message FrequencyCapEntry { - -} +message FrequencyCapEntry {} diff --git a/third_party/googleapis/google/ads/searchads360/v0/common/metrics.proto b/third_party/googleapis/google/ads/searchads360/v0/common/metrics.proto index ed989da74..11f8bf13a 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/common/metrics.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/common/metrics.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,6 +16,7 @@ syntax = "proto3"; package google.ads.searchads360.v0.common; +import "google/ads/searchads360/v0/common/value.proto"; import "google/ads/searchads360/v0/enums/interaction_event_type.proto"; import "google/ads/searchads360/v0/enums/quality_score_bucket.proto"; @@ -67,11 +68,13 @@ message Metrics { // The number of times people clicked the "Call" button to call a store during // or after clicking an ad. This number doesn't include whether or not calls // were connected, or the duration of any calls. + // // This metric applies to feed items only. optional double all_conversions_from_click_to_call = 195; // The number of times people clicked a "Get directions" button to navigate to // a store after clicking an ad. + // // This metric applies to feed items only. optional double all_conversions_from_directions = 196; @@ -81,24 +84,33 @@ message Metrics { // The number of times people clicked a link to view a store's menu after // clicking an ad. + // // This metric applies to feed items only. optional double all_conversions_from_menu = 198; // The number of times people placed an order at a store after clicking an ad. + // // This metric applies to feed items only. optional double all_conversions_from_order = 199; // The number of other conversions (for example, posting a review or saving a // location for a store) that occurred after people clicked an ad. + // // This metric applies to feed items only. optional double all_conversions_from_other_engagement = 200; // Estimated number of times people visited a store after clicking an ad. + // // This metric applies to feed items only. optional double all_conversions_from_store_visit = 201; + // Clicks that Search Ads 360 has successfully recorded and forwarded to an + // advertiser's landing page. + optional double visits = 289; + // The number of times that people were taken to a store's URL after clicking // an ad. + // // This metric applies to feed items only. optional double all_conversions_from_store_website = 202; @@ -108,10 +120,16 @@ message Metrics { // The total cost of all clicks divided by the total number of clicks // received. - optional double average_cpc = 204; + // This metric is a monetary value and returned in the customer's currency by + // default. See the metrics_currency parameter at + // https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + optional double average_cpc = 317; // Average cost-per-thousand impressions (CPM). - optional double average_cpm = 206; + // This metric is a monetary value and returned in the customer's currency by + // default. See the metrics_currency parameter at + // https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + optional double average_cpm = 318; // The number of clicks. optional int64 clicks = 131; @@ -128,6 +146,9 @@ message Metrics { // value below 0.1 is reported as 0.0999. optional double content_impression_share = 160; + // The conversion custom metrics. + repeated Value conversion_custom_metrics = 336; + // The estimated percentage of impressions on the Display Network // that your ads didn't receive due to poor Ad Rank. // Note: Content rank lost impression share is reported in the range of 0 @@ -176,7 +197,10 @@ message Metrics { // The sum of your cost-per-click (CPC) and cost-per-thousand impressions // (CPM) costs during this period. - optional int64 cost_micros = 169; + // This metric is a monetary value and returned in the customer's currency by + // default. See the metrics_currency parameter at + // https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + optional int64 cost_micros = 316; // The cost of ad interactions divided by all conversions. optional double cost_per_all_conversions = 170; @@ -215,16 +239,19 @@ message Metrics { optional double conversions_value = 252; // The creative historical quality score. - google.ads.searchads360.v0.enums.QualityScoreBucketEnum.QualityScoreBucket historical_creative_quality_score = 80; + google.ads.searchads360.v0.enums.QualityScoreBucketEnum.QualityScoreBucket + historical_creative_quality_score = 80; // The quality of historical landing page experience. - google.ads.searchads360.v0.enums.QualityScoreBucketEnum.QualityScoreBucket historical_landing_page_quality_score = 81; + google.ads.searchads360.v0.enums.QualityScoreBucketEnum.QualityScoreBucket + historical_landing_page_quality_score = 81; // The historical quality score. optional int64 historical_quality_score = 216; // The historical search predicted click through rate (CTR). - google.ads.searchads360.v0.enums.QualityScoreBucketEnum.QualityScoreBucket historical_search_predicted_ctr = 83; + google.ads.searchads360.v0.enums.QualityScoreBucketEnum.QualityScoreBucket + historical_search_predicted_ctr = 83; // Count of how often your ad has appeared on a search results page or // website on the Google Network. @@ -241,7 +268,8 @@ message Metrics { optional int64 interactions = 223; // The types of payable and free interactions. - repeated google.ads.searchads360.v0.enums.InteractionEventTypeEnum.InteractionEventType interaction_event_types = 100; + repeated google.ads.searchads360.v0.enums.InteractionEventTypeEnum + .InteractionEventType interaction_event_types = 100; // The percentage of clicks filtered out of your total number of clicks // (filtered + non-filtered clicks) during the reporting period. @@ -253,6 +281,9 @@ message Metrics { // The percentage of mobile clicks that go to a mobile-friendly page. optional double mobile_friendly_clicks_percentage = 229; + // The raw event conversion metrics. + repeated Value raw_event_conversion_metrics = 337; + // The percentage of the customer's Shopping or Search ad impressions that are // shown in the most prominent Shopping position. See // https://support.google.com/sa360/answer/9566729 @@ -351,4 +382,270 @@ message Metrics { // completes a conversion on your site without interacting with (for example, // clicking on) another ad. optional int64 client_account_view_through_conversions = 155; + + // Client account cross-sell cost of goods sold (COGS) is the total cost + // of products sold as a result of advertising a different product. + // How it works: You report conversions with cart data for + // completed purchases on your website. If the ad that was interacted with + // before the purchase has an associated product (see Shopping Ads) then this + // product is considered the advertised product. Any product included in the + // order the customer places is a sold product. If these products don't match + // then this is considered cross-sell. Cross-sell cost of goods sold is the + // total cost of the products sold that weren't advertised. Example: Someone + // clicked on a Shopping ad for a hat then bought the same hat and a shirt. + // The hat has a cost of goods sold value of $3, the shirt has a cost of goods + // sold value of $5. The cross-sell cost of goods sold for this order is $5. + // This metric is only available if you report conversions with cart data. + // This metric is a monetary value and returned in the customer's currency by + // default. See the metrics_currency parameter at + // https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + optional int64 client_account_cross_sell_cost_of_goods_sold_micros = 321; + + // Cross-sell cost of goods sold (COGS) is the total cost of products sold as + // a result of advertising a different product. + // How it works: You report conversions with cart data for + // completed purchases on your website. If the ad that was interacted with + // before the purchase has an associated product (see Shopping Ads) then this + // product is considered the advertised product. Any product included in the + // order the customer places is a sold product. If these products don't match + // then this is considered cross-sell. Cross-sell cost of goods sold is the + // total cost of the products sold that weren't advertised. Example: Someone + // clicked on a Shopping ad for a hat then bought the same hat and a shirt. + // The hat has a cost of goods sold value of $3, the shirt has a cost of goods + // sold value of $5. The cross-sell cost of goods sold for this order is $5. + // This metric is only available if you report conversions with cart data. + // This metric is a monetary value and returned in the customer's currency by + // default. See the metrics_currency parameter at + // https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + optional int64 cross_sell_cost_of_goods_sold_micros = 327; + + // Client account cross-sell gross profit is the profit you made from + // products sold as a result of advertising a different product, minus cost of + // goods sold (COGS). + // How it works: You report conversions with cart data for completed purchases + // on your website. If the ad that was interacted with before the purchase has + // an associated product (see Shopping Ads) then this product is considered + // the advertised product. Any product included in the purchase is a sold + // product. If these products don't match then this is considered cross-sell. + // Cross-sell gross profit is the revenue you made from cross-sell attributed + // to your ads minus the cost of the goods sold. Example: Someone clicked on a + // Shopping ad for a hat then bought the same hat and a shirt. The shirt is + // priced $20 and has a cost of goods sold value of $5. The cross-sell gross + // profit of this order is $15 = $20 - $5. This metric is only available if + // you report conversions with cart data. This metric is a monetary value and + // returned in the customer's currency by default. See the metrics_currency + // parameter at + // https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + optional int64 client_account_cross_sell_gross_profit_micros = 322; + + // Cross-sell gross profit is the profit you made from products sold as a + // result of advertising a different product, minus cost of goods sold (COGS). + // How it works: You report conversions with cart data for completed purchases + // on your website. If the ad that was interacted with before the purchase has + // an associated product (see Shopping Ads) then this product is considered + // the advertised product. Any product included in the purchase is a sold + // product. If these products don't match then this is considered cross-sell. + // Cross-sell gross profit is the revenue you made from cross-sell attributed + // to your ads minus the cost of the goods sold. + // Example: Someone clicked on a Shopping ad for a hat then bought the same + // hat and a shirt. The shirt is priced $20 and has a cost of goods sold value + // of $5. The cross-sell gross profit of this order is $15 = $20 - $5. + // This metric is only available if you report conversions with cart data. + // This metric is a monetary value and returned in the customer's currency by + // default. See the metrics_currency parameter at + // https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + optional int64 cross_sell_gross_profit_micros = 328; + + // Client account cross-sell revenue is the total amount you made from + // products sold as a result of advertising a different product. + // How it works: You report conversions with cart data for completed purchases + // on your website. If the ad that was interacted with before the purchase has + // an associated product (see Shopping Ads) then this product is considered + // the advertised product. Any product included in the order the customer + // places is a sold product. If these products don't match then this is + // considered cross-sell. Cross-sell revenue is the total value you made from + // cross-sell attributed to your ads. Example: Someone clicked on a Shopping + // ad for a hat then bought the same hat and a shirt. The hat is priced $10 + // and the shirt is priced $20. The cross-sell revenue of this order is $20. + // This metric is only available if you report conversions with cart data. + // This metric is a monetary value and returned in the customer's currency by + // default. See the metrics_currency parameter at + // https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + optional int64 client_account_cross_sell_revenue_micros = 323; + + // Cross-sell revenue is the total amount you made from products sold as a + // result of advertising a different product. + // How it works: You report conversions with cart data for completed purchases + // on your website. If the ad that was interacted with before the purchase has + // an associated product (see Shopping Ads) then this product is considered + // the advertised product. Any product included in the order the customer + // places is a sold product. If these products don't match then this is + // considered cross-sell. Cross-sell revenue is the total value you made from + // cross-sell attributed to your ads. Example: Someone clicked on a Shopping + // ad for a hat then bought the same hat and a shirt. The hat is priced $10 + // and the shirt is priced $20. The cross-sell revenue of this order is $20. + // This metric is only available if you report conversions with cart data. + // This metric is a monetary value and returned in the customer's currency by + // default. See the metrics_currency parameter at + // https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + optional int64 cross_sell_revenue_micros = 329; + + // Client account cross-sell units sold is + // the total number of products sold as a result of advertising a different + // product. + // How it works: You report conversions with cart data for completed purchases + // on your website. If the ad that was interacted with before the purchase has + // an associated product (see Shopping Ads) then this product is considered + // the advertised product. Any product included in the order the customer + // places is a sold product. If these products don't match then this is + // considered cross-sell. Cross-sell units sold is the total number of + // cross-sold products from all orders attributed to your ads. + // Example: Someone clicked on a Shopping ad for a hat then bought the same + // hat, a shirt and a jacket. The cross-sell units sold in this order is 2. + // This metric is only available if you report conversions with cart data. + optional double client_account_cross_sell_units_sold = 307; + + // Cross-sell units sold is the total number of products sold as a result of + // advertising a different product. + // How it works: You report conversions with cart data for completed purchases + // on your website. If the ad that was interacted with before the purchase has + // an associated product (see Shopping Ads) then this product is considered + // the advertised product. Any product included in the order the customer + // places is a sold product. If these products don't match then this is + // considered cross-sell. Cross-sell units sold is the total number of + // cross-sold products from all orders attributed to your ads. + // Example: Someone clicked on a Shopping ad for a hat then bought the same + // hat, a shirt and a jacket. The cross-sell units sold in this order is 2. + // This metric is only available if you report conversions with cart data. + optional double cross_sell_units_sold = 330; + + // Client account lead cost of goods sold (COGS) is the total cost of + // products sold as a result of advertising the same product. + // How it works: You report conversions with cart data for completed purchases + // on your website. If the ad that was interacted with has an associated + // product (see Shopping Ads) then this product is considered the advertised + // product. Any product included in the order the customer places is a sold + // product. If the advertised and sold products match, then the cost of these + // goods is counted under lead cost of goods sold. Example: Someone clicked on + // a Shopping ad for a hat then bought the same hat and a shirt. The hat has a + // cost of goods sold value of $3, the shirt has a cost of goods sold value of + // $5. The lead cost of goods sold for this order is $3. This metric is only + // available if you report conversions with cart data. This metric is a + // monetary value and returned in the customer's currency by default. See the + // metrics_currency parameter at + // https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + optional int64 client_account_lead_cost_of_goods_sold_micros = 324; + + // Lead cost of goods sold (COGS) is the total cost of products sold as a + // result of advertising the same product. + // How it works: You report conversions with cart data for completed purchases + // on your website. If the ad that was interacted with has an associated + // product (see Shopping Ads) then this product is considered the advertised + // product. Any product included in the order the customer places is a sold + // product. If the advertised and sold products match, then the cost of these + // goods is counted under lead cost of goods sold. Example: Someone clicked on + // a Shopping ad for a hat then bought the same hat and a shirt. The hat has a + // cost of goods sold value of $3, the shirt has a cost of goods sold value of + // $5. The lead cost of goods sold for this order is $3. This metric is only + // available if you report conversions with cart data. This metric is a + // monetary value and returned in the customer's currency by default. See the + // metrics_currency parameter at + // https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + optional int64 lead_cost_of_goods_sold_micros = 332; + + // Client account lead gross profit is the profit you made from products + // sold as a result of advertising the same product, minus cost of goods sold + // (COGS). + // How it works: You report conversions with cart data for completed purchases + // on your website. If the ad that was interacted with before the purchase has + // an associated product (see Shopping Ads) then this product is considered + // the advertised product. Any product included in the order the customer + // places is a sold product. If the advertised and sold products match, then + // the revenue you made from these sales minus the cost of goods sold is your + // lead gross profit. Example: Someone clicked on a Shopping ad for a hat then + // bought the same hat and a shirt. The hat is priced $10 and has a cost of + // goods sold value of $3. The lead gross profit of this order is $7 = $10 - + // $3. This metric is only available if you report conversions with cart data. + // This metric is a monetary value and returned in the customer's currency by + // default. See the metrics_currency parameter at + // https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + optional int64 client_account_lead_gross_profit_micros = 325; + + // Lead gross profit is the profit you made from products sold as a result of + // advertising the same product, minus cost of goods sold (COGS). + // How it works: You report conversions with cart data for completed purchases + // on your website. If the ad that was interacted with before the purchase has + // an associated product (see Shopping Ads) then this product is considered + // the advertised product. Any product included in the order the customer + // places is a sold product. If the advertised and sold products match, then + // the revenue you made from these sales minus the cost of goods sold is your + // lead gross profit. Example: Someone clicked on a Shopping ad for a hat then + // bought the same hat and a shirt. The hat is priced $10 and has a cost of + // goods sold value of $3. The lead gross profit of this order is $7 = $10 - + // $3. This metric is only available if you report conversions with cart data. + // This metric is a monetary value and returned in the customer's currency by + // default. See the metrics_currency parameter at + // https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + optional int64 lead_gross_profit_micros = 333; + + // Client account lead revenue is the total amount you made from + // products sold as a result of advertising the same product. + // How it works: You report conversions with cart data for completed purchases + // on your website. If the ad that was interacted with before the purchase has + // an associated product (see Shopping Ads) then this product is considered + // the advertised product. Any product included in the order the customer + // places is a sold product. If the advertised and sold products match, then + // the total value you made from the sales of these products is shown under + // lead revenue. Example: Someone clicked on a Shopping ad for a hat then + // bought the same hat and a shirt. The hat is priced $10 and the shirt is + // priced $20. The lead revenue of this order is $10. This metric is only + // available if you report conversions with cart data. This metric is a + // monetary value and returned in the customer's currency by default. See the + // metrics_currency parameter at + // https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + optional int64 client_account_lead_revenue_micros = 326; + + // Lead revenue is the total amount you made from products sold as a result of + // advertising the same product. + // How it works: You report conversions with cart data for completed purchases + // on your website. If the ad that was interacted with before the purchase has + // an associated product (see Shopping Ads) then this product is considered + // the advertised product. Any product included in the order the customer + // places is a sold product. If the advertised and sold products match, then + // the total value you made from the sales of these products is shown under + // lead revenue. + // Example: Someone clicked on a Shopping ad for a hat then bought the same + // hat and a shirt. The hat is priced $10 and the shirt is priced $20. The + // lead revenue of this order is $10. + // This metric is only available if you report conversions with cart data. + // This metric is a monetary value and returned in the customer's currency by + // default. See the metrics_currency parameter at + // https://developers.google.com/search-ads/reporting/query/query-structure#parameters_clause + optional int64 lead_revenue_micros = 334; + + // Client account lead units sold is the total number of + // products sold as a result of advertising the same product. + // How it works: You report conversions with cart data for completed purchases + // on your website. If the ad that was interacted with before the purchase has + // an associated product (see Shopping Ads) then this product is considered + // the advertised product. Any product included in the order the customer + // places is a sold product. If the advertised and sold products match, then + // the total number of these products sold is shown under lead units sold. + // Example: Someone clicked on a Shopping ad for a hat then bought the same + // hat, a shirt and a jacket. The lead units sold in this order is 1. + // This metric is only available if you report conversions with cart data. + optional double client_account_lead_units_sold = 311; + + // Lead units sold is the total number of products sold as a result of + // advertising the same product. + // How it works: You report conversions with cart data for completed purchases + // on your website. If the ad that was interacted with before the purchase has + // an associated product (see Shopping Ads) then this product is considered + // the advertised product. Any product included in the order the customer + // places is a sold product. If the advertised and sold products match, then + // the total number of these products sold is shown under lead units sold. + // Example: Someone clicked on a Shopping ad for a hat then bought the same + // hat, a shirt and a jacket. The lead units sold in this order is 1. + // This metric is only available if you report conversions with cart data. + optional double lead_units_sold = 335; } diff --git a/third_party/googleapis/google/ads/searchads360/v0/common/real_time_bidding_setting.proto b/third_party/googleapis/google/ads/searchads360/v0/common/real_time_bidding_setting.proto index a3de35e95..e87577034 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/common/real_time_bidding_setting.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/common/real_time_bidding_setting.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/ads/searchads360/v0/common/segments.proto b/third_party/googleapis/google/ads/searchads360/v0/common/segments.proto index a1286f984..711eca672 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/common/segments.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/common/segments.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,9 +16,15 @@ syntax = "proto3"; package google.ads.searchads360.v0.common; +import "google/ads/searchads360/v0/common/criteria.proto"; +import "google/ads/searchads360/v0/common/value.proto"; +import "google/ads/searchads360/v0/enums/ad_network_type.proto"; import "google/ads/searchads360/v0/enums/conversion_action_category.proto"; import "google/ads/searchads360/v0/enums/day_of_week.proto"; import "google/ads/searchads360/v0/enums/device.proto"; +import "google/ads/searchads360/v0/enums/product_channel.proto"; +import "google/ads/searchads360/v0/enums/product_channel_exclusivity.proto"; +import "google/ads/searchads360/v0/enums/product_condition.proto"; import "google/api/resource.proto"; option csharp_namespace = "Google.Ads.SearchAds360.V0.Common"; @@ -34,17 +40,25 @@ option ruby_package = "Google::Ads::SearchAds360::V0::Common"; // Segment only fields. message Segments { + // Ad network type. + google.ads.searchads360.v0.enums.AdNetworkTypeEnum.AdNetworkType + ad_network_type = 3; + // Resource name of the conversion action. optional string conversion_action = 146 [(google.api.resource_reference) = { - type: "searchads360.googleapis.com/ConversionAction" - }]; + type: "searchads360.googleapis.com/ConversionAction" + }]; // Conversion action category. - google.ads.searchads360.v0.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_category = 53; + google.ads.searchads360.v0.enums.ConversionActionCategoryEnum + .ConversionActionCategory conversion_action_category = 53; // Conversion action name. optional string conversion_action_name = 114; + // The conversion custom dimensions. + repeated Value conversion_custom_dimensions = 188; + // Date to which metrics apply. // yyyy-MM-dd format, for example, 2018-04-17. optional string date = 79; @@ -55,19 +69,191 @@ message Segments { // Device to which metrics apply. google.ads.searchads360.v0.enums.DeviceEnum.Device device = 1; + // Keyword criterion. + Keyword keyword = 61; + // Month as represented by the date of the first day of a month. Formatted as // yyyy-MM-dd. optional string month = 90; + // Bidding category (level 1) of the product. + optional string product_bidding_category_level1 = 92; + + // Bidding category (level 2) of the product. + optional string product_bidding_category_level2 = 93; + + // Bidding category (level 3) of the product. + optional string product_bidding_category_level3 = 94; + + // Bidding category (level 4) of the product. + optional string product_bidding_category_level4 = 95; + + // Bidding category (level 5) of the product. + optional string product_bidding_category_level5 = 96; + + // Brand of the product. + optional string product_brand = 97; + + // Channel of the product. + google.ads.searchads360.v0.enums.ProductChannelEnum.ProductChannel + product_channel = 30; + + // Channel exclusivity of the product. + google.ads.searchads360.v0.enums.ProductChannelExclusivityEnum + .ProductChannelExclusivity product_channel_exclusivity = 31; + + // Condition of the product. + google.ads.searchads360.v0.enums.ProductConditionEnum.ProductCondition + product_condition = 32; + + // Resource name of the geo target constant for the country of sale of the + // product. + optional string product_country = 98; + + // Custom attribute 0 of the product. + optional string product_custom_attribute0 = 99; + + // Custom attribute 1 of the product. + optional string product_custom_attribute1 = 100; + + // Custom attribute 2 of the product. + optional string product_custom_attribute2 = 101; + + // Custom attribute 3 of the product. + optional string product_custom_attribute3 = 102; + + // Custom attribute 4 of the product. + optional string product_custom_attribute4 = 103; + + // Item ID of the product. + optional string product_item_id = 104; + + // Resource name of the language constant for the language of the product. + optional string product_language = 105; + + // Bidding category (level 1) of the product sold. + optional string product_sold_bidding_category_level1 = 166; + + // Bidding category (level 2) of the product sold. + optional string product_sold_bidding_category_level2 = 167; + + // Bidding category (level 3) of the product sold. + optional string product_sold_bidding_category_level3 = 168; + + // Bidding category (level 4) of the product sold. + optional string product_sold_bidding_category_level4 = 169; + + // Bidding category (level 5) of the product sold. + optional string product_sold_bidding_category_level5 = 170; + + // Brand of the product sold. + optional string product_sold_brand = 171; + + // Condition of the product sold. + google.ads.searchads360.v0.enums.ProductConditionEnum.ProductCondition + product_sold_condition = 172; + + // Custom attribute 0 of the product sold. + optional string product_sold_custom_attribute0 = 173; + + // Custom attribute 1 of the product sold. + optional string product_sold_custom_attribute1 = 174; + + // Custom attribute 2 of the product sold. + optional string product_sold_custom_attribute2 = 175; + + // Custom attribute 3 of the product sold. + optional string product_sold_custom_attribute3 = 176; + + // Custom attribute 4 of the product sold. + optional string product_sold_custom_attribute4 = 177; + + // Item ID of the product sold. + optional string product_sold_item_id = 178; + + // Title of the product sold. + optional string product_sold_title = 179; + + // Type (level 1) of the product sold. + optional string product_sold_type_l1 = 180; + + // Type (level 2) of the product sold. + optional string product_sold_type_l2 = 181; + + // Type (level 3) of the product sold. + optional string product_sold_type_l3 = 182; + + // Type (level 4) of the product sold. + optional string product_sold_type_l4 = 183; + + // Type (level 5) of the product sold. + optional string product_sold_type_l5 = 184; + + // Store ID of the product. + optional string product_store_id = 106; + + // Title of the product. + optional string product_title = 107; + + // Type (level 1) of the product. + optional string product_type_l1 = 108; + + // Type (level 2) of the product. + optional string product_type_l2 = 109; + + // Type (level 3) of the product. + optional string product_type_l3 = 110; + + // Type (level 4) of the product. + optional string product_type_l4 = 111; + + // Type (level 5) of the product. + optional string product_type_l5 = 112; + // Quarter as represented by the date of the first day of a quarter. // Uses the calendar year for quarters, for example, the second quarter of // 2018 starts on 2018-04-01. Formatted as yyyy-MM-dd. optional string quarter = 128; + // The raw event conversion dimensions. + repeated Value raw_event_conversion_dimensions = 189; + // Week as defined as Monday through Sunday, and represented by the date of // Monday. Formatted as yyyy-MM-dd. optional string week = 130; // Year, formatted as yyyy. optional int32 year = 131; + + // Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. + // Indicates whether the interaction metrics occurred on the asset itself + // or a different asset or ad unit. + // Interactions (for example, clicks) are counted across all the parts of the + // served ad (for example, Ad itself and other components like Sitelinks) when + // they are served together. When interaction_on_this_asset is true, it means + // the interactions are on this specific asset and when + // interaction_on_this_asset is false, it means the interactions is not on + // this specific asset but on other parts of the served ad this asset is + // served with. + optional AssetInteractionTarget asset_interaction_target = 139; +} + +// A Keyword criterion segment. +message Keyword { + // The AdGroupCriterion resource name. + optional string ad_group_criterion = 3; + + // Keyword info. + KeywordInfo info = 2; +} + +// An AssetInteractionTarget segment. +message AssetInteractionTarget { + // The asset resource name. + string asset = 1; + + // Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. + // Indicates whether the interaction metrics occurred on the asset itself or a + // different asset or ad unit. + bool interaction_on_this_asset = 2; } diff --git a/third_party/googleapis/google/ads/searchads360/v0/common/value.proto b/third_party/googleapis/google/ads/searchads360/v0/common/value.proto index 8ccf32a00..0cb43d840 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/common/value.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/common/value.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/BUILD.bazel b/third_party/googleapis/google/ads/searchads360/v0/enums/BUILD.bazel index 805908854..3acf0ab06 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/BUILD.bazel +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/BUILD.bazel @@ -92,4 +92,4 @@ csharp_grpc_library( name = "enums_csharp_grpc", srcs = [":enums_proto"], deps = [":enums_csharp_proto"], -) \ No newline at end of file +) diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/account_status.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/account_status.proto index 9008097eb..84cf9c203 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/account_status.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/account_status.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -52,6 +52,4 @@ message AccountStatusEnum { // Account is still in the process of setup, not ENABLED yet. DRAFT = 6; } - - } diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/account_type.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/account_type.proto index 4f43a65eb..e4d7a1a04 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/account_type.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/account_type.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -61,6 +61,4 @@ message AccountTypeEnum { // Yahoo Japan account. YAHOO_JAPAN = 9; } - - } diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/ad_group_ad_rotation_mode.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/ad_group_ad_rotation_mode.proto index 43c96c70f..1cd36d7ab 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/ad_group_ad_rotation_mode.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/ad_group_ad_rotation_mode.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -46,6 +46,4 @@ message AdGroupAdRotationModeEnum { // Rotate evenly forever. ROTATE_FOREVER = 3; } - - } diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/ad_group_criterion_engine_status.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/ad_group_criterion_engine_status.proto index d85dfa2e0..3ae42b889 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/ad_group_criterion_engine_status.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/ad_group_criterion_engine_status.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -99,6 +99,4 @@ message AdGroupCriterionEngineStatusEnum { // Criterion has been paused since the account is paused. AD_GROUP_CRITERION_ACCOUNT_PAUSED = 20; } - - } diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/ad_group_criterion_status.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/ad_group_criterion_status.proto index c0ecc98fd..f7592cf8e 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/ad_group_criterion_status.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/ad_group_criterion_status.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -48,6 +48,4 @@ message AdGroupCriterionStatusEnum { // The ad group criterion is removed. REMOVED = 4; } - - } diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/ad_group_status.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/ad_group_status.proto index 4784bc42d..01293db81 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/ad_group_status.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/ad_group_status.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -48,6 +48,4 @@ message AdGroupStatusEnum { // The ad group is removed. REMOVED = 4; } - - } diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/ad_group_type.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/ad_group_type.proto index 22c672d2c..a7c4b7450 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/ad_group_type.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/ad_group_type.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -92,7 +92,8 @@ message AdGroupTypeEnum { // Ad group type for Smart campaigns. SMART_CAMPAIGN_ADS = 18; - } - + // Ad group type for Travel campaigns. + TRAVEL_ADS = 19; + } } diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/ad_serving_optimization_status.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/ad_serving_optimization_status.proto index 4e665794f..cd8828b73 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/ad_serving_optimization_status.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/ad_serving_optimization_status.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -57,6 +57,4 @@ message AdServingOptimizationStatusEnum { // Ad serving optimization status is not available. UNAVAILABLE = 6; } - - } diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/advertising_channel_sub_type.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/advertising_channel_sub_type.proto index ff051173c..4b72d2f7d 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/advertising_channel_sub_type.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/advertising_channel_sub_type.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -55,7 +55,8 @@ message AdvertisingChannelSubTypeEnum { // Gmail Ad campaigns. DISPLAY_GMAIL_AD = 7; - // Smart display campaigns. + // Smart display campaigns. New campaigns of this sub type cannot be + // created. DISPLAY_SMART_CAMPAIGN = 8; // Video Outstream campaigns. @@ -93,7 +94,11 @@ message AdvertisingChannelSubTypeEnum { // app pre-registration, that targets multiple advertising channels across // Google Play, YouTube and Display Network. APP_CAMPAIGN_FOR_PRE_REGISTRATION = 18; - } + // Video reach campaign with Target Frequency bidding strategy. + VIDEO_REACH_TARGET_FREQUENCY = 19; + // Travel Activities campaigns. + TRAVEL_ACTIVITIES = 20; + } } diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/advertising_channel_type.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/advertising_channel_type.proto index 4b5972b4a..0aa6c93bc 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/advertising_channel_type.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/advertising_channel_type.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -71,7 +71,8 @@ message AdvertisingChannelTypeEnum { // Discovery campaigns. DISCOVERY = 12; - } - + // Travel campaigns. + TRAVEL = 13; + } } diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/age_range_type.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/age_range_type.proto index e801b31ed..cc9afcfc9 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/age_range_type.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/age_range_type.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -59,6 +59,4 @@ message AgeRangeTypeEnum { // Undetermined age range. AGE_RANGE_UNDETERMINED = 503999; } - - } diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/asset_field_type.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/asset_field_type.proto index 71de45776..c4c74f3bf 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/asset_field_type.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/asset_field_type.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -71,7 +71,7 @@ message AssetFieldTypeEnum { // The asset is linked for use as a Structured Snippet extension. STRUCTURED_SNIPPET = 12; - // The asset is linked for use as a Sitelink extension. + // The asset is linked for use as a Sitelink. SITELINK = 13; // The asset is linked for use as a Mobile App extension. @@ -112,7 +112,12 @@ message AssetFieldTypeEnum { // The asset is linked for use to select an ad image. AD_IMAGE = 26; - } + // The asset is linked for use as a business logo. + BUSINESS_LOGO = 27; + // The asset is linked for use as a hotel property in a Performance Max for + // travel goals campaign. + HOTEL_PROPERTY = 28; + } } diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/attribution_model.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/attribution_model.proto index 0e37d3941..624c41c00 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/attribution_model.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/attribution_model.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -65,6 +65,4 @@ message AttributionModelEnum { // distribution of credit among clicks using Google Search attribution. GOOGLE_SEARCH_ATTRIBUTION_DATA_DRIVEN = 106; } - - } diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/bidding_strategy_status.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/bidding_strategy_status.proto index ef941e5f6..194708b70 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/bidding_strategy_status.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/bidding_strategy_status.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -45,6 +45,4 @@ message BiddingStrategyStatusEnum { // The bidding strategy is removed. REMOVED = 4; } - - } diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/bidding_strategy_system_status.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/bidding_strategy_system_status.proto index 656e6cfa8..d9ff73728 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/bidding_strategy_system_status.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/bidding_strategy_system_status.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -134,6 +134,4 @@ message BiddingStrategySystemStatusEnum { // time in question. MULTIPLE = 26; } - - } diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/bidding_strategy_type.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/bidding_strategy_type.proto index dab1802ca..5963fd698 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/bidding_strategy_type.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/bidding_strategy_type.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -116,6 +116,4 @@ message BiddingStrategyTypeEnum { // to help get as many clicks as possible within your budget. TARGET_SPEND = 9; } - - } diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/budget_delivery_method.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/budget_delivery_method.proto index 32683f1d6..0982bea4f 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/budget_delivery_method.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/budget_delivery_method.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -46,6 +46,4 @@ message BudgetDeliveryMethodEnum { // and ads will serve as fast as possible. ACCELERATED = 3; } - - } diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/budget_period.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/budget_period.proto index 2503350dc..eaf0da7b1 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/budget_period.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/budget_period.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -43,11 +43,8 @@ message BudgetPeriodEnum { // Fixed daily budget. FIXED_DAILY = 4; - // Custom budget, added back in V5. - // Custom bugdet can be used with total_amount to specify lifetime budget + // Custom budget can be used with total_amount to specify lifetime budget // limit. CUSTOM_PERIOD = 5; } - - } diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/campaign_serving_status.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/campaign_serving_status.proto index cfe38040c..b6c047d16 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/campaign_serving_status.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/campaign_serving_status.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -54,6 +54,4 @@ message CampaignServingStatusEnum { // Suspended. SUSPENDED = 6; } - - } diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/campaign_status.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/campaign_status.proto index 7eb39a878..eb2719365 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/campaign_status.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/campaign_status.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -46,6 +46,4 @@ message CampaignStatusEnum { // Campaign has been removed. REMOVED = 4; } - - } diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/conversion_action_category.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/conversion_action_category.proto index 5d79a166d..a4be63c27 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/conversion_action_category.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/conversion_action_category.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -112,6 +112,4 @@ message ConversionActionCategoryEnum { // advertiser. CONVERTED_LEAD = 23; } - - } diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/conversion_action_status.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/conversion_action_status.proto index da9669afc..b881bee2e 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/conversion_action_status.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/conversion_action_status.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -47,6 +47,4 @@ message ConversionActionStatusEnum { // appear in the UI. HIDDEN = 4; } - - } diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/conversion_action_type.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/conversion_action_type.proto index 86b8c2f03..66c82a88b 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/conversion_action_type.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/conversion_action_type.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -167,7 +167,23 @@ message ConversionActionTypeEnum { // Conversions that occur when a user visits an advertiser's retail store. // Read only. STORE_VISITS = 36; - } + // Conversions created from website events (such as form submissions or page + // loads), that don't use individually coded event snippets. Read only. + WEBPAGE_CODELESS = 37; + + // Conversions that come from linked Universal Analytics goals. + UNIVERSAL_ANALYTICS_GOAL = 38; + + // Conversions that come from linked Universal Analytics transactions. + UNIVERSAL_ANALYTICS_TRANSACTION = 39; + // Conversions that come from linked Google Analytics 4 custom event + // conversions. + GOOGLE_ANALYTICS_4_CUSTOM = 40; + + // Conversions that come from linked Google Analytics 4 purchase + // conversions. + GOOGLE_ANALYTICS_4_PURCHASE = 41; + } } diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/conversion_tracking_status_enum.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/conversion_tracking_status_enum.proto index a96780427..97a925d34 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/conversion_tracking_status_enum.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/conversion_tracking_status_enum.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -51,6 +51,4 @@ message ConversionTrackingStatusEnum { // `login-customer-id`. CONVERSION_TRACKING_MANAGED_BY_ANOTHER_MANAGER = 5; } - - } diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/criterion_type.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/criterion_type.proto index 892dc5a67..dce3d47eb 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/criterion_type.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/criterion_type.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -139,9 +139,13 @@ message CriterionTypeEnum { // Audience AUDIENCE = 35; - // Google Local Services (GLS) Service ID. + // Local Services Ads Service ID. LOCAL_SERVICE_ID = 37; - } + // Brand + BRAND = 39; + // Brand List + BRAND_LIST = 40; + } } diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/custom_column_value_type.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/custom_column_value_type.proto index 5af0a589e..9c5e9fe9c 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/custom_column_value_type.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/custom_column_value_type.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -49,6 +49,4 @@ message CustomColumnValueTypeEnum { // The custom column value is a boolean. BOOLEAN = 5; } - - } diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/customer_status.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/customer_status.proto index bf66992bb..463d34c6b 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/customer_status.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/customer_status.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -51,6 +51,4 @@ message CustomerStatusEnum { // Status is permanent and may not be reopened. CLOSED = 5; } - - } diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/data_driven_model_status.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/data_driven_model_status.proto index 74935d6ff..9b7c2c06d 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/data_driven_model_status.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/data_driven_model_status.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -55,6 +55,4 @@ message DataDrivenModelStatusEnum { // period. NEVER_GENERATED = 5; } - - } diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/day_of_week.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/day_of_week.proto index cb9b277ac..1daec7150 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/day_of_week.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/day_of_week.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -58,6 +58,4 @@ message DayOfWeekEnum { // Sunday. SUNDAY = 8; } - - } diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/device.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/device.proto index a97c14c46..2e69d9c22 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/device.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/device.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -52,6 +52,4 @@ message DeviceEnum { // Other device types. OTHER = 5; } - - } diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/gender_type.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/gender_type.proto index 74e0195bf..1c4aa2a97 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/gender_type.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/gender_type.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -46,6 +46,4 @@ message GenderTypeEnum { // Undetermined gender. UNDETERMINED = 20; } - - } diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/interaction_event_type.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/interaction_event_type.proto index b340b5ffa..5416dba79 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/interaction_event_type.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/interaction_event_type.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -55,6 +55,4 @@ message InteractionEventTypeEnum { // These are simply other (ad) conversions. NONE = 5; } - - } diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/keyword_match_type.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/keyword_match_type.proto index 3b5d45e0b..d3e6e77f7 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/keyword_match_type.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/keyword_match_type.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -46,6 +46,4 @@ message KeywordMatchTypeEnum { // Broad match. BROAD = 4; } - - } diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/listing_group_filter_bidding_category_level.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/listing_group_filter_bidding_category_level.proto index c4960680f..71bfa0c2b 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/listing_group_filter_bidding_category_level.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/listing_group_filter_bidding_category_level.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/listing_group_filter_bidding_category_level.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ListingGroupFilterBiddingCategoryLevelProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.searchads360.v0.enums; option csharp_namespace = "Google.Ads.SearchAds360.V0.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.searchads360.v0.enums"; option objc_class_prefix = "GASA360"; option php_namespace = "Google\\Ads\\SearchAds360\\V0\\Enums"; option ruby_package = "Google::Ads::SearchAds360::V0::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/searchads360/v0/enums/listing_group_filter_bidding_category_level.proto // Proto file describing listing groups. diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/listing_group_filter_vertical.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/listing_group_filter_vertical.proto index db3048671..eb73a0061 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/listing_group_filter_vertical.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/listing_group_filter_vertical.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/listing_group_filter_vertical.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ListingGroupFilterVerticalProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.searchads360.v0.enums; option csharp_namespace = "Google.Ads.SearchAds360.V0.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.searchads360.v0.enums"; option objc_class_prefix = "GASA360"; option php_namespace = "Google\\Ads\\SearchAds360\\V0\\Enums"; option ruby_package = "Google::Ads::SearchAds360::V0::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/searchads360/v0/enums/listing_group_filter_vertical.proto // Proto file describing listing groups. diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/listing_group_type.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/listing_group_type.proto index 094b37387..7e8d332a4 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/listing_group_type.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/listing_group_type.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -45,6 +45,4 @@ message ListingGroupTypeEnum { // Listing group unit that defines a bid. UNIT = 3; } - - } diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/location_group_radius_units.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/location_group_radius_units.proto index 0ad59b44b..f78ce17ea 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/location_group_radius_units.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/location_group_radius_units.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -46,6 +46,4 @@ message LocationGroupRadiusUnitsEnum { // Milli Miles MILLI_MILES = 4; } - - } diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/manager_link_status.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/manager_link_status.proto index 85695a92d..616894bc6 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/manager_link_status.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/manager_link_status.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -52,6 +52,4 @@ message ManagerLinkStatusEnum { // canceled it. CANCELED = 6; } - - } diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/negative_geo_target_type.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/negative_geo_target_type.proto index 113c530ad..094855dbc 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/negative_geo_target_type.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/negative_geo_target_type.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -45,6 +45,4 @@ message NegativeGeoTargetTypeEnum { // are in advertiser's excluded locations. PRESENCE = 5; } - - } diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/optimization_goal_type.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/optimization_goal_type.proto index 0a3cfab35..f1d81497f 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/optimization_goal_type.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/optimization_goal_type.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -51,6 +51,4 @@ message OptimizationGoalTypeEnum { // is released. APP_PRE_REGISTRATION = 4; } - - } diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/positive_geo_target_type.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/positive_geo_target_type.proto index 952c974f7..54e5778a2 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/positive_geo_target_type.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/positive_geo_target_type.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -51,6 +51,4 @@ message PositiveGeoTargetTypeEnum { // or regularly in advertiser's targeted locations. PRESENCE = 7; } - - } diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/product_bidding_category_level.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/product_bidding_category_level.proto index 46dc93b38..368c5ddda 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/product_bidding_category_level.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/product_bidding_category_level.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/product_bidding_category_level.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ProductBiddingCategoryLevelProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.searchads360.v0.enums; option csharp_namespace = "Google.Ads.SearchAds360.V0.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.searchads360.v0.enums"; option objc_class_prefix = "GASA360"; option php_namespace = "Google\\Ads\\SearchAds360\\V0\\Enums"; option ruby_package = "Google::Ads::SearchAds360::V0::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/searchads360/v0/enums/product_bidding_category_level.proto // Level of a product bidding category. message ProductBiddingCategoryLevelEnum { diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/product_bidding_category_status.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/product_bidding_category_status.proto index c79e703c0..79a7782c4 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/product_bidding_category_status.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/product_bidding_category_status.proto @@ -14,18 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/enums/product_bidding_category_status.proto -package google.ads.googleads.v13.enums; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Enums"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/enums;enums"; -option java_multiple_files = true; -option java_outer_classname = "ProductBiddingCategoryStatusProto"; -option java_package = "com.google.ads.googleads.v13.enums"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Enums"; -option ruby_package = "Google::Ads::GoogleAds::V13::Enums"; -======== package google.ads.searchads360.v0.enums; option csharp_namespace = "Google.Ads.SearchAds360.V0.Enums"; @@ -36,7 +24,6 @@ option java_package = "com.google.ads.searchads360.v0.enums"; option objc_class_prefix = "GASA360"; option php_namespace = "Google\\Ads\\SearchAds360\\V0\\Enums"; option ruby_package = "Google::Ads::SearchAds360::V0::Enums"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/searchads360/v0/enums/product_bidding_category_status.proto // Proto file describing bidding schemes. diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/quality_score_bucket.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/quality_score_bucket.proto index f2e009f2d..ab9b4bc81 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/quality_score_bucket.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/quality_score_bucket.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -46,6 +46,4 @@ message QualityScoreBucketEnum { // Quality of the creative is above average. ABOVE_AVERAGE = 4; } - - } diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/search_ads360_field_category.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/search_ads360_field_category.proto index c38572bbe..4ec74e45e 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/search_ads360_field_category.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/search_ads360_field_category.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -54,6 +54,4 @@ message SearchAds360FieldCategoryEnum { // search queries. METRIC = 6; } - - } diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/search_ads360_field_data_type.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/search_ads360_field_data_type.proto index 21c40cc42..6998433d6 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/search_ads360_field_data_type.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/search_ads360_field_data_type.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -95,6 +95,4 @@ message SearchAds360FieldDataTypeEnum { // Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN UINT64 = 12; } - - } diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/summary_row_setting.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/summary_row_setting.proto index bda63b006..34dc8a4ad 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/summary_row_setting.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/summary_row_setting.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -47,6 +47,4 @@ message SummaryRowSettingEnum { // Return summary row only and return no results. SUMMARY_ROW_ONLY = 4; } - - } diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/target_impression_share_location.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/target_impression_share_location.proto index e405412f5..1d1c90c26 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/target_impression_share_location.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/target_impression_share_location.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -48,6 +48,4 @@ message TargetImpressionShareLocationEnum { // Top slot in the top box of ads. ABSOLUTE_TOP_OF_PAGE = 4; } - - } diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/webpage_condition_operand.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/webpage_condition_operand.proto index 6bc6ebdeb..58edf13eb 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/webpage_condition_operand.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/webpage_condition_operand.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -52,6 +52,4 @@ message WebpageConditionOperandEnum { // Operand denoting a webpage custom label targeting condition. CUSTOM_LABEL = 6; } - - } diff --git a/third_party/googleapis/google/ads/searchads360/v0/enums/webpage_condition_operator.proto b/third_party/googleapis/google/ads/searchads360/v0/enums/webpage_condition_operator.proto index 244e8bfba..569a88290 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/enums/webpage_condition_operator.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/enums/webpage_condition_operator.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -44,6 +44,4 @@ message WebpageConditionOperatorEnum { // The argument web condition is part of the compared web condition. CONTAINS = 3; } - - } diff --git a/third_party/googleapis/google/ads/searchads360/v0/resources/BUILD.bazel b/third_party/googleapis/google/ads/searchads360/v0/resources/BUILD.bazel index d70657029..059845af5 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/resources/BUILD.bazel +++ b/third_party/googleapis/google/ads/searchads360/v0/resources/BUILD.bazel @@ -100,4 +100,4 @@ csharp_grpc_library( name = "resources_csharp_grpc", srcs = [":resources_proto"], deps = [":resources_csharp_proto"], -) \ No newline at end of file +) diff --git a/third_party/googleapis/google/ads/searchads360/v0/resources/ad_group.proto b/third_party/googleapis/google/ads/searchads360/v0/resources/ad_group.proto index b3f60c516..2d34a3a59 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/resources/ad_group.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/resources/ad_group.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,7 +16,9 @@ syntax = "proto3"; package google.ads.searchads360.v0.resources; +import "google/ads/searchads360/v0/common/targeting_setting.proto"; import "google/ads/searchads360/v0/enums/ad_group_ad_rotation_mode.proto"; +import "google/ads/searchads360/v0/enums/ad_group_engine_status.proto"; import "google/ads/searchads360/v0/enums/ad_group_status.proto"; import "google/ads/searchads360/v0/enums/ad_group_type.proto"; import "google/api/field_behavior.proto"; @@ -69,11 +71,68 @@ message AdGroup { google.ads.searchads360.v0.enums.AdGroupStatusEnum.AdGroupStatus status = 5; // Immutable. The type of the ad group. - google.ads.searchads360.v0.enums.AdGroupTypeEnum.AdGroupType type = 12 [(google.api.field_behavior) = IMMUTABLE]; + google.ads.searchads360.v0.enums.AdGroupTypeEnum.AdGroupType type = 12 + [(google.api.field_behavior) = IMMUTABLE]; // The ad rotation mode of the ad group. - google.ads.searchads360.v0.enums.AdGroupAdRotationModeEnum.AdGroupAdRotationMode ad_rotation_mode = 22; + google.ads.searchads360.v0.enums.AdGroupAdRotationModeEnum + .AdGroupAdRotationMode ad_rotation_mode = 22; // The maximum CPC (cost-per-click) bid. optional int64 cpc_bid_micros = 39; + + // Output only. The timestamp when this ad_group was created. The timestamp is + // in the customer's time zone and in "yyyy-MM-dd HH:mm:ss" format. + string creation_time = 60 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The Engine Status for ad group. + optional google.ads.searchads360.v0.enums.AdGroupEngineStatusEnum + .AdGroupEngineStatus engine_status = 61 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Setting for targeting related features. + google.ads.searchads360.v0.common.TargetingSetting targeting_setting = 25; + + // Output only. The resource names of labels attached to this ad group. + repeated string labels = 49 [ + (google.api.field_behavior) = OUTPUT_ONLY, + (google.api.resource_reference) = { + type: "searchads360.googleapis.com/AdGroupLabel" + } + ]; + + // Output only. ID of the ad group in the external engine account. This field + // is for non-Google Ads account only, for example, Yahoo Japan, Microsoft, + // Baidu etc. For Google Ads entity, use "ad_group.id" instead. + string engine_id = 50 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Date when this ad group starts serving ads. By default, the ad + // group starts now or the ad group's start date, whichever is later. If this + // field is set, then the ad group starts at the beginning of the specified + // date in the customer's time zone. This field is only available for + // Microsoft Advertising and Facebook gateway accounts. + // + // Format: YYYY-MM-DD + // Example: 2019-03-14 + string start_date = 51 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Date when the ad group ends serving ads. By default, the ad + // group ends on the ad group's end date. If this field is set, then the ad + // group ends at the end of the specified date in the customer's time zone. + // This field is only available for Microsoft Advertising and Facebook gateway + // accounts. + // + // Format: YYYY-MM-DD + // Example: 2019-03-14 + string end_date = 52 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The language of the ads and keywords in an ad group. This + // field is only available for Microsoft Advertising accounts. More details: + // https://docs.microsoft.com/en-us/advertising/guides/ad-languages?view=bingads-13#adlanguage + string language_code = 53 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The datetime when this ad group was last modified. The + // datetime is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" + // format. + string last_modified_time = 55 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/ads/searchads360/v0/resources/ad_group_asset.proto b/third_party/googleapis/google/ads/searchads360/v0/resources/ad_group_asset.proto index dce03e550..1cf78d4b9 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/resources/ad_group_asset.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/resources/ad_group_asset.proto @@ -14,24 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_asset.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/asset_field_type.proto"; -import "google/ads/googleads/v12/enums/asset_link_status.proto"; -import "google/ads/googleads/v12/enums/asset_source.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AdGroupAssetProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.searchads360.v0.resources; import "google/ads/searchads360/v0/enums/asset_link_status.proto"; @@ -46,7 +28,6 @@ option java_package = "com.google.ads.searchads360.v0.resources"; option objc_class_prefix = "GASA360"; option php_namespace = "Google\\Ads\\SearchAds360\\V0\\Resources"; option ruby_package = "Google::Ads::SearchAds360::V0::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/searchads360/v0/resources/ad_group_asset.proto // Proto file describing the AdGroupAsset resource. @@ -86,21 +67,7 @@ message AdGroupAsset { } ]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/ad_group_asset.proto - // Required. Immutable. Role that the asset takes under the linked ad group. - google.ads.googleads.v12.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE - ]; - - // Output only. Source of the adgroup asset link. - google.ads.googleads.v12.enums.AssetSourceEnum.AssetSource source = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Status of the ad group asset. - google.ads.googleads.v12.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5; -======== // Status of the ad group asset. google.ads.searchads360.v0.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/searchads360/v0/resources/ad_group_asset.proto } diff --git a/third_party/googleapis/google/ads/searchads360/v0/resources/ad_group_bid_modifier.proto b/third_party/googleapis/google/ads/searchads360/v0/resources/ad_group_bid_modifier.proto index 4a81bb5d1..fa3501a9c 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/resources/ad_group_bid_modifier.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/resources/ad_group_bid_modifier.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,6 +16,7 @@ syntax = "proto3"; package google.ads.searchads360.v0.resources; +import "google/ads/searchads360/v0/common/criteria.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; @@ -52,4 +53,13 @@ message AdGroupBidModifier { // in the range: 0.1 - 10.0. The range is 1.0 - 6.0 for PreferredContent. // Use 0 to opt out of a Device type. optional double bid_modifier = 15; + + // The criterion of this ad group bid modifier. + // + // Required in create operations starting in V5. + oneof criterion { + // Immutable. A device criterion. + google.ads.searchads360.v0.common.DeviceInfo device = 11 + [(google.api.field_behavior) = IMMUTABLE]; + } } diff --git a/third_party/googleapis/google/ads/searchads360/v0/resources/ad_group_criterion.proto b/third_party/googleapis/google/ads/searchads360/v0/resources/ad_group_criterion.proto index f982711ed..90b7c16be 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/resources/ad_group_criterion.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/resources/ad_group_criterion.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -47,7 +47,16 @@ message AdGroupCriterion { // // This field may not be populated if Google does not have enough // information to determine a value. - optional int32 quality_score = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + optional int32 quality_score = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; + } + + // Estimates for criterion bids at various positions. + message PositionEstimates { + // Output only. The estimate of the CPC bid required for ad to be displayed + // at the top of the first page of search results. + optional int64 top_of_page_cpc_micros = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Immutable. The resource name of the ad group criterion. @@ -64,6 +73,11 @@ message AdGroupCriterion { // Output only. The ID of the criterion. optional int64 criterion_id = 56 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The timestamp when this ad group criterion was created. The + // timestamp is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss" + // format. + string creation_time = 81 [(google.api.field_behavior) = OUTPUT_ONLY]; + // The status of the criterion. // // This is the status of the ad group criterion entity, set by the client. @@ -74,7 +88,8 @@ message AdGroupCriterion { // excluded. The UI will show each age range as "enabled", since they're // eligible to see the ads; but AdGroupCriterion.status will show "removed", // since no positive criterion was added. - google.ads.searchads360.v0.enums.AdGroupCriterionStatusEnum.AdGroupCriterionStatus status = 3; + google.ads.searchads360.v0.enums.AdGroupCriterionStatusEnum + .AdGroupCriterionStatus status = 3; // Output only. Information regarding the quality of the criterion. QualityInfo quality_info = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -88,7 +103,23 @@ message AdGroupCriterion { ]; // Output only. The type of the criterion. - google.ads.searchads360.v0.enums.CriterionTypeEnum.CriterionType type = 25 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.ads.searchads360.v0.enums.CriterionTypeEnum.CriterionType type = 25 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Immutable. Whether to target (`false`) or exclude (`true`) the criterion. + // + // This field is immutable. To switch a criterion from positive to negative, + // remove then re-add it. + optional bool negative = 58 [(google.api.field_behavior) = IMMUTABLE]; + + // Output only. The resource names of labels attached to this ad group + // criterion. + repeated string labels = 60 [ + (google.api.field_behavior) = OUTPUT_ONLY, + (google.api.resource_reference) = { + type: "searchads360.googleapis.com/AdGroupCriterionLabel" + } + ]; // The modifier for the bid when the criterion matches. The modifier must be // in the range: 0.1 - 10.0. Most targetable criteria types support modifiers. @@ -98,14 +129,21 @@ message AdGroupCriterion { optional int64 cpc_bid_micros = 62; // Output only. The effective CPC (cost-per-click) bid. - optional int64 effective_cpc_bid_micros = 66 [(google.api.field_behavior) = OUTPUT_ONLY]; + optional int64 effective_cpc_bid_micros = 66 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Estimates for criterion bids at various positions. + PositionEstimates position_estimates = 10 + [(google.api.field_behavior) = OUTPUT_ONLY]; // The list of possible final URLs after all cross-domain redirects for the // ad. repeated string final_urls = 70; // Output only. The Engine Status for ad group criterion. - optional google.ads.searchads360.v0.enums.AdGroupCriterionEngineStatusEnum.AdGroupCriterionEngineStatus engine_status = 80 [(google.api.field_behavior) = OUTPUT_ONLY]; + optional google.ads.searchads360.v0.enums.AdGroupCriterionEngineStatusEnum + .AdGroupCriterionEngineStatus engine_status = 80 + [(google.api.field_behavior) = OUTPUT_ONLY]; // URL template for appending params to final URL. optional string final_url_suffix = 72; @@ -113,8 +151,15 @@ message AdGroupCriterion { // The URL template for constructing a tracking URL. optional string tracking_url_template = 73; - // Output only. The datetime when this ad group criterion was last modified. The datetime - // is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format. + // Output only. ID of the ad group criterion in the external engine account. + // This field is for non-Google Ads account only, for example, Yahoo Japan, + // Microsoft, Baidu etc. For Google Ads entity, use + // "ad_group_criterion.criterion_id" instead. + string engine_id = 76 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The datetime when this ad group criterion was last modified. + // The datetime is in the customer's time zone and in "yyyy-MM-dd + // HH:mm:ss.ssssss" format. string last_modified_time = 78 [(google.api.field_behavior) = OUTPUT_ONLY]; // The ad group criterion. @@ -122,18 +167,34 @@ message AdGroupCriterion { // Exactly one must be set. oneof criterion { // Immutable. Keyword. - google.ads.searchads360.v0.common.KeywordInfo keyword = 27 [(google.api.field_behavior) = IMMUTABLE]; + google.ads.searchads360.v0.common.KeywordInfo keyword = 27 + [(google.api.field_behavior) = IMMUTABLE]; // Immutable. Listing group. - google.ads.searchads360.v0.common.ListingGroupInfo listing_group = 32 [(google.api.field_behavior) = IMMUTABLE]; + google.ads.searchads360.v0.common.ListingGroupInfo listing_group = 32 + [(google.api.field_behavior) = IMMUTABLE]; // Immutable. Age range. - google.ads.searchads360.v0.common.AgeRangeInfo age_range = 36 [(google.api.field_behavior) = IMMUTABLE]; + google.ads.searchads360.v0.common.AgeRangeInfo age_range = 36 + [(google.api.field_behavior) = IMMUTABLE]; // Immutable. Gender. - google.ads.searchads360.v0.common.GenderInfo gender = 37 [(google.api.field_behavior) = IMMUTABLE]; + google.ads.searchads360.v0.common.GenderInfo gender = 37 + [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. User List. + // The Similar Audiences sunset starts May 2023. Refer to + // https://ads-developers.googleblog.com/2022/11/announcing-deprecation-and-sunset-of.html + // for other options. + google.ads.searchads360.v0.common.UserListInfo user_list = 42 + [(google.api.field_behavior) = IMMUTABLE]; // Immutable. Webpage - google.ads.searchads360.v0.common.WebpageInfo webpage = 46 [(google.api.field_behavior) = IMMUTABLE]; + google.ads.searchads360.v0.common.WebpageInfo webpage = 46 + [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Location. + google.ads.searchads360.v0.common.LocationInfo location = 82 + [(google.api.field_behavior) = IMMUTABLE]; } } diff --git a/third_party/googleapis/google/ads/searchads360/v0/resources/asset_group.proto b/third_party/googleapis/google/ads/searchads360/v0/resources/asset_group.proto index c1c245363..5e5c724d5 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/resources/asset_group.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/resources/asset_group.proto @@ -14,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/asset_group.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/ad_strength.proto"; -import "google/ads/googleads/v12/enums/asset_group_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.searchads360.v0.resources; import "google/ads/searchads360/v0/enums/ad_strength.proto"; @@ -46,7 +29,6 @@ option java_package = "com.google.ads.searchads360.v0.resources"; option objc_class_prefix = "GASA360"; option php_namespace = "Google\\Ads\\SearchAds360\\V0\\Resources"; option ruby_package = "Google::Ads::SearchAds360::V0::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/searchads360/v0/resources/asset_group.proto // An asset group. // AssetGroupAsset is used to link an asset to the asset group. @@ -94,12 +76,8 @@ message AssetGroup { repeated string final_mobile_urls = 5; // The status of the asset group. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/asset_group.proto - google.ads.googleads.v12.enums.AssetGroupStatusEnum.AssetGroupStatus status = 6; -======== google.ads.searchads360.v0.enums.AssetGroupStatusEnum.AssetGroupStatus status = 6; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/searchads360/v0/resources/asset_group.proto // First part of text that may appear appended to the url displayed in // the ad. @@ -110,10 +88,6 @@ message AssetGroup { string path2 = 8; // Output only. Overall ad strength of this asset group. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/asset_group.proto - google.ads.googleads.v12.enums.AdStrengthEnum.AdStrength ad_strength = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.searchads360.v0.enums.AdStrengthEnum.AdStrength ad_strength = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/searchads360/v0/resources/asset_group.proto } diff --git a/third_party/googleapis/google/ads/searchads360/v0/resources/asset_group_asset.proto b/third_party/googleapis/google/ads/searchads360/v0/resources/asset_group_asset.proto index 2cd543865..d78de7f9e 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/resources/asset_group_asset.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/resources/asset_group_asset.proto @@ -14,25 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/asset_group_asset.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/common/policy_summary.proto"; -import "google/ads/googleads/v12/enums/asset_field_type.proto"; -import "google/ads/googleads/v12/enums/asset_link_status.proto"; -import "google/ads/googleads/v12/enums/asset_performance_label.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupAssetProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.searchads360.v0.resources; import "google/ads/searchads360/v0/enums/asset_field_type.proto"; @@ -48,7 +29,6 @@ option java_package = "com.google.ads.searchads360.v0.resources"; option objc_class_prefix = "GASA360"; option php_namespace = "Google\\Ads\\SearchAds360\\V0\\Resources"; option ruby_package = "Google::Ads::SearchAds360::V0::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/searchads360/v0/resources/asset_group_asset.proto // AssetGroupAsset is the link between an asset and an asset group. // Adding an AssetGroupAsset links an asset with an asset group. @@ -87,23 +67,10 @@ message AssetGroupAsset { // The description of the placement of the asset within the asset group. For // example: HEADLINE, YOUTUBE_VIDEO etc -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/asset_group_asset.proto - google.ads.googleads.v12.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4; - - // The status of the link between an asset and asset group. - google.ads.googleads.v12.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5; - - // Output only. The performance of this asset group asset. - google.ads.googleads.v12.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel performance_label = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The policy information for this asset group asset. - google.ads.googleads.v12.common.PolicySummary policy_summary = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; -======== google.ads.searchads360.v0.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4; // The status of the link between an asset and asset group. google.ads.searchads360.v0.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/searchads360/v0/resources/asset_group_asset.proto } diff --git a/third_party/googleapis/google/ads/searchads360/v0/resources/asset_group_listing_group_filter.proto b/third_party/googleapis/google/ads/searchads360/v0/resources/asset_group_listing_group_filter.proto index 6535ffb7d..ac96115af 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/resources/asset_group_listing_group_filter.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/resources/asset_group_listing_group_filter.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/asset_group_listing_group_filter.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/searchads360/v0/resources/asset_group_listing_group_filter.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,28 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/asset_group_listing_group_filter.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/listing_group_filter_bidding_category_level.proto"; -import "google/ads/googleads/v13/enums/listing_group_filter_custom_attribute_index.proto"; -import "google/ads/googleads/v13/enums/listing_group_filter_product_channel.proto"; -import "google/ads/googleads/v13/enums/listing_group_filter_product_condition.proto"; -import "google/ads/googleads/v13/enums/listing_group_filter_product_type_level.proto"; -import "google/ads/googleads/v13/enums/listing_group_filter_type_enum.proto"; -import "google/ads/googleads/v13/enums/listing_group_filter_vertical.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "AssetGroupListingGroupFilterProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.searchads360.v0.resources; import "google/ads/searchads360/v0/enums/listing_group_filter_bidding_category_level.proto"; @@ -60,7 +34,6 @@ option java_package = "com.google.ads.searchads360.v0.resources"; option objc_class_prefix = "GASA360"; option php_namespace = "Google\\Ads\\SearchAds360\\V0\\Resources"; option ruby_package = "Google::Ads::SearchAds360::V0::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/searchads360/v0/resources/asset_group_listing_group_filter.proto // AssetGroupListingGroupFilter represents a listing group filter tree node in // an asset group. @@ -94,21 +67,13 @@ message AssetGroupListingGroupFilter { int64 id = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; // Immutable. Type of a listing group filter node. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/asset_group_listing_group_filter.proto - google.ads.googleads.v13.enums.ListingGroupFilterTypeEnum -======== google.ads.searchads360.v0.enums.ListingGroupFilterTypeEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/searchads360/v0/resources/asset_group_listing_group_filter.proto .ListingGroupFilterType type = 4 [(google.api.field_behavior) = IMMUTABLE]; // Immutable. The vertical the current node tree represents. All nodes in the // same tree must belong to the same vertical. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/asset_group_listing_group_filter.proto - google.ads.googleads.v13.enums.ListingGroupFilterVerticalEnum -======== google.ads.searchads360.v0.enums.ListingGroupFilterVerticalEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/searchads360/v0/resources/asset_group_listing_group_filter.proto .ListingGroupFilterVertical vertical = 5 [(google.api.field_behavior) = IMMUTABLE]; @@ -153,11 +118,7 @@ message ListingGroupFilterDimension { optional int64 id = 1; // Indicates the level of the category in the taxonomy. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/asset_group_listing_group_filter.proto - google.ads.googleads.v13.enums.ListingGroupFilterBiddingCategoryLevelEnum -======== google.ads.searchads360.v0.enums.ListingGroupFilterBiddingCategoryLevelEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/searchads360/v0/resources/asset_group_listing_group_filter.proto .ListingGroupFilterBiddingCategoryLevel level = 2; } @@ -170,22 +131,14 @@ message ListingGroupFilterDimension { // Locality of a product offer. message ProductChannel { // Value of the locality. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/asset_group_listing_group_filter.proto - google.ads.googleads.v13.enums.ListingGroupFilterProductChannelEnum -======== google.ads.searchads360.v0.enums.ListingGroupFilterProductChannelEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/searchads360/v0/resources/asset_group_listing_group_filter.proto .ListingGroupFilterProductChannel channel = 1; } // Condition of a product offer. message ProductCondition { // Value of the condition. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/asset_group_listing_group_filter.proto - google.ads.googleads.v13.enums.ListingGroupFilterProductConditionEnum -======== google.ads.searchads360.v0.enums.ListingGroupFilterProductConditionEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/searchads360/v0/resources/asset_group_listing_group_filter.proto .ListingGroupFilterProductCondition condition = 1; } @@ -195,11 +148,7 @@ message ListingGroupFilterDimension { optional string value = 1; // Indicates the index of the custom attribute. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/asset_group_listing_group_filter.proto - google.ads.googleads.v13.enums.ListingGroupFilterCustomAttributeIndexEnum -======== google.ads.searchads360.v0.enums.ListingGroupFilterCustomAttributeIndexEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/searchads360/v0/resources/asset_group_listing_group_filter.proto .ListingGroupFilterCustomAttributeIndex index = 2; } @@ -215,11 +164,7 @@ message ListingGroupFilterDimension { optional string value = 1; // Level of the type. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/asset_group_listing_group_filter.proto - google.ads.googleads.v13.enums.ListingGroupFilterProductTypeLevelEnum -======== google.ads.searchads360.v0.enums.ListingGroupFilterProductTypeLevelEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/searchads360/v0/resources/asset_group_listing_group_filter.proto .ListingGroupFilterProductTypeLevel level = 2; } diff --git a/third_party/googleapis/google/ads/searchads360/v0/resources/bidding_strategy.proto b/third_party/googleapis/google/ads/searchads360/v0/resources/bidding_strategy.proto index d9ab1ee6a..3d5685839 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/resources/bidding_strategy.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/resources/bidding_strategy.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -64,15 +64,19 @@ message BiddingStrategy { // Output only. The status of the bidding strategy. // // This field is read-only. - google.ads.searchads360.v0.enums.BiddingStrategyStatusEnum.BiddingStrategyStatus status = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.ads.searchads360.v0.enums.BiddingStrategyStatusEnum + .BiddingStrategyStatus status = 15 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The type of the bidding strategy. // Create a bidding strategy by setting the bidding scheme. // // This field is read-only. - google.ads.searchads360.v0.enums.BiddingStrategyTypeEnum.BiddingStrategyType type = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.ads.searchads360.v0.enums.BiddingStrategyTypeEnum.BiddingStrategyType + type = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Immutable. The currency used by the bidding strategy (ISO 4217 three-letter code). + // Immutable. The currency used by the bidding strategy (ISO 4217 three-letter + // code). // // For bidding strategies in manager customers, this currency can be set on // creation and defaults to the manager customer's currency. For serving @@ -81,7 +85,8 @@ message BiddingStrategy { // effective_currency_code field returns the currency used by the strategy. string currency_code = 23 [(google.api.field_behavior) = IMMUTABLE]; - // Output only. The currency used by the bidding strategy (ISO 4217 three-letter code). + // Output only. The currency used by the bidding strategy (ISO 4217 + // three-letter code). // // For bidding strategies in manager customers, this is the currency set by // the advertiser when creating the strategy. For serving customers, this is @@ -90,17 +95,21 @@ message BiddingStrategy { // Bidding strategy metrics are reported in this currency. // // This field is read-only. - optional string effective_currency_code = 20 [(google.api.field_behavior) = OUTPUT_ONLY]; + optional string effective_currency_code = 20 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The number of campaigns attached to this bidding strategy. // // This field is read-only. - optional int64 campaign_count = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; + optional int64 campaign_count = 18 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The number of non-removed campaigns attached to this bidding strategy. + // Output only. The number of non-removed campaigns attached to this bidding + // strategy. // // This field is read-only. - optional int64 non_removed_campaign_count = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; + optional int64 non_removed_campaign_count = 19 + [(google.api.field_behavior) = OUTPUT_ONLY]; // The bidding scheme. // @@ -113,11 +122,13 @@ message BiddingStrategy { // An automated bidding strategy to help get the most conversion value for // your campaigns while spending your budget. - google.ads.searchads360.v0.common.MaximizeConversionValue maximize_conversion_value = 21; + google.ads.searchads360.v0.common.MaximizeConversionValue + maximize_conversion_value = 21; // An automated bidding strategy to help get the most conversions for your // campaigns while spending your budget. - google.ads.searchads360.v0.common.MaximizeConversions maximize_conversions = 22; + google.ads.searchads360.v0.common.MaximizeConversions maximize_conversions = + 22; // A bidding strategy that sets bids to help get as many conversions as // possible at the target cost-per-acquisition (CPA) you set. @@ -125,7 +136,8 @@ message BiddingStrategy { // A bidding strategy that automatically optimizes towards a chosen // percentage of impressions. - google.ads.searchads360.v0.common.TargetImpressionShare target_impression_share = 48; + google.ads.searchads360.v0.common.TargetImpressionShare + target_impression_share = 48; // A bidding strategy that sets bids based on the target fraction of // auctions where the advertiser should outrank a specific competitor. @@ -133,7 +145,8 @@ message BiddingStrategy { // field or attaching bidding strategies with this field to a campaign will // fail. Mutates to strategies that already have this scheme populated are // allowed. - google.ads.searchads360.v0.common.TargetOutrankShare target_outrank_share = 10; + google.ads.searchads360.v0.common.TargetOutrankShare target_outrank_share = + 10; // A bidding strategy that helps you maximize revenue while averaging a // specific target Return On Ad Spend (ROAS). diff --git a/third_party/googleapis/google/ads/searchads360/v0/resources/campaign.proto b/third_party/googleapis/google/ads/searchads360/v0/resources/campaign.proto index 3b654b942..538c23008 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/resources/campaign.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/resources/campaign.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -72,12 +72,12 @@ message Campaign { // The setting for controlling Dynamic Search Ads (DSA). message DynamicSearchAdsSetting { - // Required. The Internet domain name that this setting represents, for example, - // "google.com" or "www.google.com". + // Required. The Internet domain name that this setting represents, for + // example, "google.com" or "www.google.com". string domain_name = 6 [(google.api.field_behavior) = REQUIRED]; - // Required. The language code specifying the language of the domain, for example, - // "en". + // Required. The language code specifying the language of the domain, for + // example, "en". string language_code = 7 [(google.api.field_behavior) = REQUIRED]; // Whether the campaign uses advertiser supplied URLs exclusively. @@ -123,32 +123,39 @@ message Campaign { // Campaign-level settings for tracking information. message TrackingSetting { // Output only. The url used for dynamic tracking. - optional string tracking_url = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + optional string tracking_url = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Represents a collection of settings related to ads geotargeting. message GeoTargetTypeSetting { // The setting used for positive geotargeting in this particular campaign. - google.ads.searchads360.v0.enums.PositiveGeoTargetTypeEnum.PositiveGeoTargetType positive_geo_target_type = 1; + google.ads.searchads360.v0.enums.PositiveGeoTargetTypeEnum + .PositiveGeoTargetType positive_geo_target_type = 1; // The setting used for negative geotargeting in this particular campaign. - google.ads.searchads360.v0.enums.NegativeGeoTargetTypeEnum.NegativeGeoTargetType negative_geo_target_type = 2; + google.ads.searchads360.v0.enums.NegativeGeoTargetTypeEnum + .NegativeGeoTargetType negative_geo_target_type = 2; } // Selective optimization setting for this campaign, which includes a set of // conversion actions to optimize this campaign towards. + // This feature only applies to app campaigns that use MULTI_CHANNEL as + // AdvertisingChannelType and APP_CAMPAIGN or APP_CAMPAIGN_FOR_ENGAGEMENT as + // AdvertisingChannelSubType. message SelectiveOptimization { // The selected set of conversion actions for optimizing this campaign. repeated string conversion_actions = 2 [(google.api.resource_reference) = { - type: "searchads360.googleapis.com/ConversionAction" - }]; + type: "searchads360.googleapis.com/ConversionAction" + }]; } // Optimization goal setting for this campaign, which includes a set of // optimization goal types. message OptimizationGoalSetting { // The list of optimization goal types. - repeated google.ads.searchads360.v0.enums.OptimizationGoalTypeEnum.OptimizationGoalType optimization_goal_types = 1; + repeated google.ads.searchads360.v0.enums.OptimizationGoalTypeEnum + .OptimizationGoalType optimization_goal_types = 1; } // Immutable. The resource name of the campaign. @@ -180,13 +187,18 @@ message Campaign { google.ads.searchads360.v0.enums.CampaignStatusEnum.CampaignStatus status = 5; // Output only. The ad serving status of the campaign. - google.ads.searchads360.v0.enums.CampaignServingStatusEnum.CampaignServingStatus serving_status = 21 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.ads.searchads360.v0.enums.CampaignServingStatusEnum + .CampaignServingStatus serving_status = 21 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The system status of the campaign's bidding strategy. - google.ads.searchads360.v0.enums.BiddingStrategySystemStatusEnum.BiddingStrategySystemStatus bidding_strategy_system_status = 78 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.ads.searchads360.v0.enums.BiddingStrategySystemStatusEnum + .BiddingStrategySystemStatus bidding_strategy_system_status = 78 + [(google.api.field_behavior) = OUTPUT_ONLY]; // The ad serving optimization status of the campaign. - google.ads.searchads360.v0.enums.AdServingOptimizationStatusEnum.AdServingOptimizationStatus ad_serving_optimization_status = 8; + google.ads.searchads360.v0.enums.AdServingOptimizationStatusEnum + .AdServingOptimizationStatus ad_serving_optimization_status = 8; // Immutable. The primary serving target for ads within the campaign. // The targeting options can be refined in `network_settings`. @@ -196,25 +208,31 @@ message Campaign { // // Can be set only when creating campaigns. // After the campaign is created, the field can not be changed. - google.ads.searchads360.v0.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_type = 9 [(google.api.field_behavior) = IMMUTABLE]; + google.ads.searchads360.v0.enums.AdvertisingChannelTypeEnum + .AdvertisingChannelType advertising_channel_type = 9 + [(google.api.field_behavior) = IMMUTABLE]; // Immutable. Optional refinement to `advertising_channel_type`. // Must be a valid sub-type of the parent channel type. // // Can be set only when creating campaigns. // After campaign is created, the field can not be changed. - google.ads.searchads360.v0.enums.AdvertisingChannelSubTypeEnum.AdvertisingChannelSubType advertising_channel_sub_type = 10 [(google.api.field_behavior) = IMMUTABLE]; + google.ads.searchads360.v0.enums.AdvertisingChannelSubTypeEnum + .AdvertisingChannelSubType advertising_channel_sub_type = 10 + [(google.api.field_behavior) = IMMUTABLE]; // The URL template for constructing a tracking URL. optional string tracking_url_template = 60; // The list of mappings used to substitute custom parameter tags in a // `tracking_url_template`, `final_urls`, or `mobile_final_urls`. - repeated google.ads.searchads360.v0.common.CustomParameter url_custom_parameters = 12; + repeated google.ads.searchads360.v0.common.CustomParameter + url_custom_parameters = 12; // Settings for Real-Time Bidding, a feature only available for campaigns // targeting the Ad Exchange network. - google.ads.searchads360.v0.common.RealTimeBiddingSetting real_time_bidding_setting = 39; + google.ads.searchads360.v0.common.RealTimeBiddingSetting + real_time_bidding_setting = 39; // The network settings for the campaign. NetworkSettings network_settings = 14; @@ -238,8 +256,8 @@ message Campaign { // The budget of the campaign. optional string campaign_budget = 62 [(google.api.resource_reference) = { - type: "searchads360.googleapis.com/CampaignBudget" - }]; + type: "searchads360.googleapis.com/CampaignBudget" + }]; // Output only. The type of bidding strategy. // @@ -248,7 +266,8 @@ message Campaign { // create a portfolio bidding strategy. // // This field is read-only. - google.ads.searchads360.v0.enums.BiddingStrategyTypeEnum.BiddingStrategyType bidding_strategy_type = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.ads.searchads360.v0.enums.BiddingStrategyTypeEnum.BiddingStrategyType + bidding_strategy_type = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; // The date when campaign started in serving customer's timezone in YYYY-MM-DD // format. @@ -265,10 +284,14 @@ message Campaign { optional string final_url_suffix = 65; // A list that limits how often each user will see this campaign's ads. - repeated google.ads.searchads360.v0.common.FrequencyCapEntry frequency_caps = 40; + repeated google.ads.searchads360.v0.common.FrequencyCapEntry frequency_caps = + 40; // Selective optimization setting for this campaign, which includes a set of // conversion actions to optimize this campaign towards. + // This feature only applies to app campaigns that use MULTI_CHANNEL as + // AdvertisingChannelType and APP_CAMPAIGN or APP_CAMPAIGN_FOR_ENGAGEMENT as + // AdvertisingChannelSubType. SelectiveOptimization selective_optimization = 45; // Optimization goal setting for this campaign, which includes a set of @@ -276,23 +299,32 @@ message Campaign { OptimizationGoalSetting optimization_goal_setting = 54; // Output only. Campaign-level settings for tracking information. - TrackingSetting tracking_setting = 46 [(google.api.field_behavior) = OUTPUT_ONLY]; + TrackingSetting tracking_setting = 46 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. ID of the campaign in the external engine account. This field is for - // non-Google Ads account only, for example, Yahoo Japan, Microsoft, Baidu - // etc. For Google Ads entity, use "campaign.id" instead. + // Output only. ID of the campaign in the external engine account. This field + // is for non-Google Ads account only, for example, Yahoo Japan, Microsoft, + // Baidu etc. For Google Ads entity, use "campaign.id" instead. string engine_id = 68 [(google.api.field_behavior) = OUTPUT_ONLY]; // The asset field types that should be excluded from this campaign. Asset // links with these field types will not be inherited by this campaign from // the upper level. - repeated google.ads.searchads360.v0.enums.AssetFieldTypeEnum.AssetFieldType excluded_parent_asset_field_types = 69; + repeated google.ads.searchads360.v0.enums.AssetFieldTypeEnum.AssetFieldType + excluded_parent_asset_field_types = 69; - // Output only. Timestamp of the campaign's creation time, formatted in ISO 8601. + // Output only. The timestamp when this campaign was created. The timestamp is + // in the customer's time zone and in "yyyy-MM-dd HH:mm:ss" format. + // create_time will be deprecated in v1. Use creation_time instead. string create_time = 79 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The datetime when this campaign was last modified. The datetime is in the - // customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format. + // Output only. The timestamp when this campaign was created. The timestamp is + // in the customer's time zone and in "yyyy-MM-dd HH:mm:ss" format. + string creation_time = 84 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The datetime when this campaign was last modified. The + // datetime is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" + // format. string last_modified_time = 70 [(google.api.field_behavior) = OUTPUT_ONLY]; // Represents opting out of URL expansion to more targeted URLs. If opted out @@ -310,8 +342,8 @@ message Campaign { oneof campaign_bidding_strategy { // Portfolio bidding strategy used by campaign. string bidding_strategy = 67 [(google.api.resource_reference) = { - type: "searchads360.googleapis.com/BiddingStrategy" - }]; + type: "searchads360.googleapis.com/BiddingStrategy" + }]; // Standard Manual CPA bidding strategy. // Manual bidding strategy that allows advertiser to set the bid per @@ -329,11 +361,13 @@ message Campaign { // Standard Maximize Conversions bidding strategy that automatically // maximizes number of conversions while spending your budget. - google.ads.searchads360.v0.common.MaximizeConversions maximize_conversions = 30; + google.ads.searchads360.v0.common.MaximizeConversions maximize_conversions = + 30; // Standard Maximize Conversion Value bidding strategy that automatically // sets bids to maximize revenue while spending your budget. - google.ads.searchads360.v0.common.MaximizeConversionValue maximize_conversion_value = 31; + google.ads.searchads360.v0.common.MaximizeConversionValue + maximize_conversion_value = 31; // Standard Target CPA bidding strategy that automatically sets bids to // help get as many conversions as possible at the target @@ -342,7 +376,8 @@ message Campaign { // Target Impression Share bidding strategy. An automated bidding strategy // that sets bids to achieve a chosen percentage of impressions. - google.ads.searchads360.v0.common.TargetImpressionShare target_impression_share = 48; + google.ads.searchads360.v0.common.TargetImpressionShare + target_impression_share = 48; // Standard Target ROAS bidding strategy that automatically maximizes // revenue while averaging a specific target return on ad spend (ROAS). diff --git a/third_party/googleapis/google/ads/searchads360/v0/resources/campaign_asset.proto b/third_party/googleapis/google/ads/searchads360/v0/resources/campaign_asset.proto index de42d83a8..b8d2e290b 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/resources/campaign_asset.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/resources/campaign_asset.proto @@ -14,24 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/campaign_asset.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/asset_field_type.proto"; -import "google/ads/googleads/v12/enums/asset_link_status.proto"; -import "google/ads/googleads/v12/enums/asset_source.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CampaignAssetProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.searchads360.v0.resources; import "google/ads/searchads360/v0/enums/asset_link_status.proto"; @@ -46,7 +28,6 @@ option java_package = "com.google.ads.searchads360.v0.resources"; option objc_class_prefix = "GASA360"; option php_namespace = "Google\\Ads\\SearchAds360\\V0\\Resources"; option ruby_package = "Google::Ads::SearchAds360::V0::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/searchads360/v0/resources/campaign_asset.proto // Proto file describing the CampaignAsset resource. @@ -84,19 +65,7 @@ message CampaignAsset { } ]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/campaign_asset.proto - // Immutable. Role that the asset takes under the linked campaign. - // Required. - google.ads.googleads.v12.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4 [(google.api.field_behavior) = IMMUTABLE]; - - // Output only. Source of the campaign asset link. - google.ads.googleads.v12.enums.AssetSourceEnum.AssetSource source = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Status of the campaign asset. - google.ads.googleads.v12.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5; -======== // Output only. Status of the campaign asset. google.ads.searchads360.v0.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/searchads360/v0/resources/campaign_asset.proto } diff --git a/third_party/googleapis/google/ads/searchads360/v0/resources/campaign_budget.proto b/third_party/googleapis/google/ads/searchads360/v0/resources/campaign_budget.proto index 596567950..e4415f8c5 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/resources/campaign_budget.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/resources/campaign_budget.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -59,8 +59,11 @@ message CampaignBudget { // is spent. // // Defaults to STANDARD if unspecified in a create operation. - google.ads.searchads360.v0.enums.BudgetDeliveryMethodEnum.BudgetDeliveryMethod delivery_method = 7; + google.ads.searchads360.v0.enums.BudgetDeliveryMethodEnum.BudgetDeliveryMethod + delivery_method = 7; - // Immutable. Period over which to spend the budget. Defaults to DAILY if not specified. - google.ads.searchads360.v0.enums.BudgetPeriodEnum.BudgetPeriod period = 13 [(google.api.field_behavior) = IMMUTABLE]; + // Immutable. Period over which to spend the budget. Defaults to DAILY if not + // specified. + google.ads.searchads360.v0.enums.BudgetPeriodEnum.BudgetPeriod period = 13 + [(google.api.field_behavior) = IMMUTABLE]; } diff --git a/third_party/googleapis/google/ads/searchads360/v0/resources/campaign_criterion.proto b/third_party/googleapis/google/ads/searchads360/v0/resources/campaign_criterion.proto index a6bcbcaf0..ccf211e18 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/resources/campaign_criterion.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/resources/campaign_criterion.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,6 +17,7 @@ syntax = "proto3"; package google.ads.searchads360.v0.resources; import "google/ads/searchads360/v0/common/criteria.proto"; +import "google/ads/searchads360/v0/enums/campaign_criterion_status.proto"; import "google/ads/searchads360/v0/enums/criterion_type.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; @@ -69,22 +70,59 @@ message CampaignCriterion { optional bool negative = 40 [(google.api.field_behavior) = IMMUTABLE]; // Output only. The type of the criterion. - google.ads.searchads360.v0.enums.CriterionTypeEnum.CriterionType type = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.ads.searchads360.v0.enums.CriterionTypeEnum.CriterionType type = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // The status of the criterion. + google.ads.searchads360.v0.enums.CampaignCriterionStatusEnum + .CampaignCriterionStatus status = 35; + + // Output only. The datetime when this campaign criterion was last modified. + // The datetime is in the customer's time zone and in "yyyy-MM-dd + // HH:mm:ss.ssssss" format. + string last_modified_time = 44 [(google.api.field_behavior) = OUTPUT_ONLY]; // The campaign criterion. // // Exactly one must be set. oneof criterion { + // Immutable. Keyword. + google.ads.searchads360.v0.common.KeywordInfo keyword = 8 + [(google.api.field_behavior) = IMMUTABLE]; + // Immutable. Location. - google.ads.searchads360.v0.common.LocationInfo location = 12 [(google.api.field_behavior) = IMMUTABLE]; + google.ads.searchads360.v0.common.LocationInfo location = 12 + [(google.api.field_behavior) = IMMUTABLE]; // Immutable. Device. - google.ads.searchads360.v0.common.DeviceInfo device = 13 [(google.api.field_behavior) = IMMUTABLE]; + google.ads.searchads360.v0.common.DeviceInfo device = 13 + [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Age range. + google.ads.searchads360.v0.common.AgeRangeInfo age_range = 16 + [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Gender. + google.ads.searchads360.v0.common.GenderInfo gender = 17 + [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. User List. + // The Similar Audiences sunset starts May 2023. Refer to + // https://ads-developers.googleblog.com/2022/11/announcing-deprecation-and-sunset-of.html + // for other options. + google.ads.searchads360.v0.common.UserListInfo user_list = 22 + [(google.api.field_behavior) = IMMUTABLE]; // Immutable. Language. - google.ads.searchads360.v0.common.LanguageInfo language = 26 [(google.api.field_behavior) = IMMUTABLE]; + google.ads.searchads360.v0.common.LanguageInfo language = 26 + [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Webpage. + google.ads.searchads360.v0.common.WebpageInfo webpage = 31 + [(google.api.field_behavior) = IMMUTABLE]; // Immutable. Location Group - google.ads.searchads360.v0.common.LocationGroupInfo location_group = 34 [(google.api.field_behavior) = IMMUTABLE]; + google.ads.searchads360.v0.common.LocationGroupInfo location_group = 34 + [(google.api.field_behavior) = IMMUTABLE]; } } diff --git a/third_party/googleapis/google/ads/searchads360/v0/resources/conversion_action.proto b/third_party/googleapis/google/ads/searchads360/v0/resources/conversion_action.proto index 02a873ecc..bd401821a 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/resources/conversion_action.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/resources/conversion_action.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -45,11 +45,14 @@ message ConversionAction { // Settings related to this conversion action's attribution model. message AttributionModelSettings { // The attribution model type of this conversion action. - google.ads.searchads360.v0.enums.AttributionModelEnum.AttributionModel attribution_model = 1; - - // Output only. The status of the data-driven attribution model for the conversion - // action. - google.ads.searchads360.v0.enums.DataDrivenModelStatusEnum.DataDrivenModelStatus data_driven_model_status = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.ads.searchads360.v0.enums.AttributionModelEnum.AttributionModel + attribution_model = 1; + + // Output only. The status of the data-driven attribution model for the + // conversion action. + google.ads.searchads360.v0.enums.DataDrivenModelStatusEnum + .DataDrivenModelStatus data_driven_model_status = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Settings related to the value for conversion events associated with this @@ -73,14 +76,16 @@ message ConversionAction { // Settings related to a Floodlight conversion action. message FloodlightSettings { - // Output only. String used to identify a Floodlight activity group when reporting - // conversions. + // Output only. String used to identify a Floodlight activity group when + // reporting conversions. string activity_group_tag = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. String used to identify a Floodlight activity when reporting conversions. + // Output only. String used to identify a Floodlight activity when reporting + // conversions. string activity_tag = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. ID of the Floodlight activity in DoubleClick Campaign Manager (DCM). + // Output only. ID of the Floodlight activity in DoubleClick Campaign + // Manager (DCM). int64 activity_id = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; } @@ -104,14 +109,17 @@ message ConversionAction { // conversion actions. optional string name = 22; - // Output only. Timestamp of the Floodlight activity's creation, formatted in ISO 8601. + // Output only. Timestamp of the Floodlight activity's creation, formatted in + // ISO 8601. string creation_time = 33 [(google.api.field_behavior) = OUTPUT_ONLY]; // The status of this conversion action for conversion event accrual. - google.ads.searchads360.v0.enums.ConversionActionStatusEnum.ConversionActionStatus status = 4; + google.ads.searchads360.v0.enums.ConversionActionStatusEnum + .ConversionActionStatus status = 4; // Immutable. The type of this conversion action. - google.ads.searchads360.v0.enums.ConversionActionTypeEnum.ConversionActionType type = 5 [(google.api.field_behavior) = IMMUTABLE]; + google.ads.searchads360.v0.enums.ConversionActionTypeEnum.ConversionActionType + type = 5 [(google.api.field_behavior) = IMMUTABLE]; // If a conversion action's primary_for_goal bit is false, the conversion // action is non-biddable for all campaigns regardless of their customer @@ -126,10 +134,11 @@ message ConversionAction { optional bool primary_for_goal = 31; // The category of conversions reported for this conversion action. - google.ads.searchads360.v0.enums.ConversionActionCategoryEnum.ConversionActionCategory category = 6; + google.ads.searchads360.v0.enums.ConversionActionCategoryEnum + .ConversionActionCategory category = 6; - // Output only. The resource name of the conversion action owner customer, or null if this - // is a system-defined conversion action. + // Output only. The resource name of the conversion action owner customer, or + // null if this is a system-defined conversion action. optional string owner_customer = 23 [ (google.api.field_behavior) = OUTPUT_ONLY, (google.api.resource_reference) = { @@ -141,9 +150,10 @@ message ConversionAction { // "client_account_conversions" metric. optional bool include_in_client_account_conversions_metric = 24; - // Output only. Whether this conversion action should be included in the "conversions" - // metric. - optional bool include_in_conversions_metric = 32 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Whether this conversion action should be included in the + // "conversions" metric. + optional bool include_in_conversions_metric = 32 + [(google.api.field_behavior) = OUTPUT_ONLY]; // The maximum number of days that may elapse between an interaction // (for example, a click) and a conversion event. @@ -160,5 +170,6 @@ message ConversionAction { optional string app_id = 28; // Output only. Floodlight settings for Floodlight conversion types. - FloodlightSettings floodlight_settings = 29 [(google.api.field_behavior) = OUTPUT_ONLY]; + FloodlightSettings floodlight_settings = 29 + [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/ads/searchads360/v0/resources/custom_column.proto b/third_party/googleapis/google/ads/searchads360/v0/resources/custom_column.proto index a9631bd8e..f872e0c9a 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/resources/custom_column.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/resources/custom_column.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -61,20 +61,25 @@ message CustomColumn { string description = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The type of the result value of the custom column. - google.ads.searchads360.v0.enums.CustomColumnValueTypeEnum.CustomColumnValueType value_type = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.ads.searchads360.v0.enums.CustomColumnValueTypeEnum + .CustomColumnValueType value_type = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. True when the custom column is referring to one or more attributes. + // Output only. True when the custom column is referring to one or more + // attributes. bool references_attributes = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. True when the custom column is referring to one or more metrics. + // Output only. True when the custom column is referring to one or more + // metrics. bool references_metrics = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. True when the custom column is available to be used in the query of - // SearchAds360Service.Search and SearchAds360Service.SearchStream. + // Output only. True when the custom column is available to be used in the + // query of SearchAds360Service.Search and SearchAds360Service.SearchStream. bool queryable = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The list of the referenced system columns of this custom column. - // For example, A custom column "sum of impressions and clicks" has referenced - // system columns of {"metrics.clicks", "metrics.impressions"}. - repeated string referenced_system_columns = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The list of the referenced system columns of this custom + // column. For example, A custom column "sum of impressions and clicks" has + // referenced system columns of {"metrics.clicks", "metrics.impressions"}. + repeated string referenced_system_columns = 9 + [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/ads/searchads360/v0/resources/customer.proto b/third_party/googleapis/google/ads/searchads360/v0/resources/customer.proto index 08624588a..db73c58df 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/resources/customer.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/resources/customer.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -69,7 +69,7 @@ message Customer { // The URL template for constructing a tracking URL out of parameters. optional string tracking_url_template = 23; - // The URL template for appending params to the final URL + // The URL template for appending params to the final URL. optional string final_url_suffix = 24; // Whether auto-tagging is enabled for the customer. @@ -79,80 +79,101 @@ message Customer { optional bool manager = 27 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Conversion tracking setting for a customer. - ConversionTrackingSetting conversion_tracking_setting = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; + ConversionTrackingSetting conversion_tracking_setting = 14 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Engine account type, for example, Google Ads, Microsoft Advertising, Yahoo - // Japan, Baidu, Facebook, Engine Track, etc. - google.ads.searchads360.v0.enums.AccountTypeEnum.AccountType account_type = 31 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Engine account type, for example, Google Ads, Microsoft + // Advertising, Yahoo Japan, Baidu, Facebook, Engine Track, etc. + google.ads.searchads360.v0.enums.AccountTypeEnum.AccountType account_type = 31 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. DoubleClick Campaign Manager (DCM) setting for a manager customer. - DoubleClickCampaignManagerSetting double_click_campaign_manager_setting = 32 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. DoubleClick Campaign Manager (DCM) setting for a manager + // customer. + DoubleClickCampaignManagerSetting double_click_campaign_manager_setting = 32 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Account status, for example, Enabled, Paused, Removed, etc. - google.ads.searchads360.v0.enums.AccountStatusEnum.AccountStatus account_status = 33 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.ads.searchads360.v0.enums.AccountStatusEnum.AccountStatus + account_status = 33 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The datetime when this customer was last modified. The datetime is in the - // customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format. + // Output only. The datetime when this customer was last modified. The + // datetime is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" + // format. string last_modified_time = 34 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. ID of the account in the external engine account. string engine_id = 35 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The status of the customer. - google.ads.searchads360.v0.enums.CustomerStatusEnum.CustomerStatus status = 36 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.ads.searchads360.v0.enums.CustomerStatusEnum.CustomerStatus status = 36 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The timestamp when this customer was created. The timestamp is + // in the customer's time zone and in "yyyy-MM-dd HH:mm:ss" format. + string creation_time = 42 [(google.api.field_behavior) = OUTPUT_ONLY]; } // A collection of customer-wide settings related to Search Ads 360 Conversion // Tracking. message ConversionTrackingSetting { - // Output only. The conversion tracking id used for this account. This id doesn't indicate - // whether the customer uses conversion tracking (conversion_tracking_status - // does). This field is read-only. - optional int64 conversion_tracking_id = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The conversion tracking id of the customer's manager. This is set when the - // customer is opted into conversion tracking, and it overrides + // Output only. The conversion tracking id used for this account. This id + // doesn't indicate whether the customer uses conversion tracking + // (conversion_tracking_status does). This field is read-only. + optional int64 conversion_tracking_id = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The conversion tracking id of the customer's manager. This is + // set when the customer is opted into conversion tracking, and it overrides // conversion_tracking_id. This field can only be managed through the Google // Ads UI. This field is read-only. - optional int64 google_ads_cross_account_conversion_tracking_id = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + optional int64 google_ads_cross_account_conversion_tracking_id = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The conversion tracking id of the customer's manager. This is set when the - // customer is opted into cross-account conversion tracking, and it overrides - // conversion_tracking_id. - optional int64 cross_account_conversion_tracking_id = 37 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The conversion tracking id of the customer's manager. This is + // set when the customer is opted into cross-account conversion tracking, and + // it overrides conversion_tracking_id. + optional int64 cross_account_conversion_tracking_id = 37 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Whether the customer has accepted customer data terms. If using - // cross-account conversion tracking, this value is inherited from the + // Output only. Whether the customer has accepted customer data terms. If + // using cross-account conversion tracking, this value is inherited from the // manager. This field is read-only. For more // information, see https://support.google.com/adspolicy/answer/7475709. - bool accepted_customer_data_terms = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + bool accepted_customer_data_terms = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Conversion tracking status. It indicates whether the customer is using - // conversion tracking, and who is the conversion tracking owner of this - // customer. If this customer is using cross-account conversion tracking, + // Output only. Conversion tracking status. It indicates whether the customer + // is using conversion tracking, and who is the conversion tracking owner of + // this customer. If this customer is using cross-account conversion tracking, // the value returned will differ based on the `login-customer-id` of the // request. - google.ads.searchads360.v0.enums.ConversionTrackingStatusEnum.ConversionTrackingStatus conversion_tracking_status = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.ads.searchads360.v0.enums.ConversionTrackingStatusEnum + .ConversionTrackingStatus conversion_tracking_status = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Whether the customer is opted-in for enhanced conversions // for leads. If using cross-account conversion tracking, this value is // inherited from the manager. This field is read-only. - bool enhanced_conversions_for_leads_enabled = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + bool enhanced_conversions_for_leads_enabled = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The resource name of the customer where conversions are created and - // managed. This field is read-only. - string google_ads_conversion_customer = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The resource name of the customer where conversions are + // created and managed. This field is read-only. + string google_ads_conversion_customer = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // DoubleClick Campaign Manager (DCM) setting for a manager customer. message DoubleClickCampaignManagerSetting { - // Output only. ID of the Campaign Manager advertiser associated with this customer. + // Output only. ID of the Campaign Manager advertiser associated with this + // customer. int64 advertiser_id = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. ID of the Campaign Manager network associated with this customer. + // Output only. ID of the Campaign Manager network associated with this + // customer. int64 network_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Time zone of the Campaign Manager network associated with this customer in - // IANA Time Zone Database format, such as America/New_York. + // Output only. Time zone of the Campaign Manager network associated with this + // customer in IANA Time Zone Database format, such as America/New_York. string time_zone = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/ads/searchads360/v0/resources/customer_asset.proto b/third_party/googleapis/google/ads/searchads360/v0/resources/customer_asset.proto index d7af6bfbe..33d8ef6e5 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/resources/customer_asset.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/resources/customer_asset.proto @@ -14,24 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/customer_asset.proto -package google.ads.googleads.v12.resources; - -import "google/ads/googleads/v12/enums/asset_field_type.proto"; -import "google/ads/googleads/v12/enums/asset_link_status.proto"; -import "google/ads/googleads/v12/enums/asset_source.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V12.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v12/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "CustomerAssetProto"; -option java_package = "com.google.ads.googleads.v12.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V12\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V12::Resources"; -======== package google.ads.searchads360.v0.resources; import "google/ads/searchads360/v0/enums/asset_link_status.proto"; @@ -46,7 +28,6 @@ option java_package = "com.google.ads.searchads360.v0.resources"; option objc_class_prefix = "GASA360"; option php_namespace = "Google\\Ads\\SearchAds360\\V0\\Resources"; option ruby_package = "Google::Ads::SearchAds360::V0::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/searchads360/v0/resources/customer_asset.proto // Proto file describing the CustomerAsset resource. @@ -77,21 +58,7 @@ message CustomerAsset { } ]; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v12/resources/customer_asset.proto - // Required. Immutable. Role that the asset takes for the customer link. - google.ads.googleads.v12.enums.AssetFieldTypeEnum.AssetFieldType field_type = 3 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE - ]; - - // Output only. Source of the customer asset link. - google.ads.googleads.v12.enums.AssetSourceEnum.AssetSource source = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Status of the customer asset. - google.ads.googleads.v12.enums.AssetLinkStatusEnum.AssetLinkStatus status = 4; -======== // Status of the customer asset. google.ads.searchads360.v0.enums.AssetLinkStatusEnum.AssetLinkStatus status = 4; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/searchads360/v0/resources/customer_asset.proto } diff --git a/third_party/googleapis/google/ads/searchads360/v0/resources/customer_client.proto b/third_party/googleapis/google/ads/searchads360/v0/resources/customer_client.proto index 89df35a44..b427d1aff 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/resources/customer_client.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/resources/customer_client.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -64,12 +64,12 @@ message CustomerClient { // Read only. optional bool hidden = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Distance between given customer and client. For self link, the level value - // will be 0. Read only. + // Output only. Distance between given customer and client. For self link, the + // level value will be 0. Read only. optional int64 level = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Common Locale Data Repository (CLDR) string representation of the - // time zone of the client, for example, America/Los_Angeles. Read only. + // Output only. Common Locale Data Repository (CLDR) string representation of + // the time zone of the client, for example, America/Los_Angeles. Read only. optional string time_zone = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Identifies if the client is a test account. Read only. @@ -79,17 +79,20 @@ message CustomerClient { optional bool manager = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Descriptive name for the client. Read only. - optional string descriptive_name = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; + optional string descriptive_name = 18 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Currency code (for example, 'USD', 'EUR') for the client. Read only. - optional string currency_code = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Currency code (for example, 'USD', 'EUR') for the client. Read + // only. + optional string currency_code = 19 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The ID of the client customer. Read only. optional int64 id = 20 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The resource names of the labels owned by the requesting customer that are - // applied to the client customer. - // Label resource names have the form: + // Output only. The resource names of the labels owned by the requesting + // customer that are applied to the client customer. Label resource names have + // the form: // // `customers/{customer_id}/labels/{label_id}` repeated string applied_labels = 21 [ @@ -100,5 +103,6 @@ message CustomerClient { ]; // Output only. The status of the client customer. Read only. - google.ads.searchads360.v0.enums.CustomerStatusEnum.CustomerStatus status = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.ads.searchads360.v0.enums.CustomerStatusEnum.CustomerStatus status = 22 + [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/ads/searchads360/v0/resources/customer_manager_link.proto b/third_party/googleapis/google/ads/searchads360/v0/resources/customer_manager_link.proto index 6cccf51a0..799ee5fc6 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/resources/customer_manager_link.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/resources/customer_manager_link.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -57,8 +57,10 @@ message CustomerManagerLink { ]; // Output only. ID of the customer-manager link. This field is read only. - optional int64 manager_link_id = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + optional int64 manager_link_id = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Status of the link between the customer and the manager. - google.ads.searchads360.v0.enums.ManagerLinkStatusEnum.ManagerLinkStatus status = 5; + google.ads.searchads360.v0.enums.ManagerLinkStatusEnum.ManagerLinkStatus + status = 5; } diff --git a/third_party/googleapis/google/ads/searchads360/v0/resources/keyword_view.proto b/third_party/googleapis/google/ads/searchads360/v0/resources/keyword_view.proto index 243aa3c2b..ead38073e 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/resources/keyword_view.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/resources/keyword_view.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/ads/searchads360/v0/resources/product_bidding_category_constant.proto b/third_party/googleapis/google/ads/searchads360/v0/resources/product_bidding_category_constant.proto index 95bbaf64d..8d3cb86aa 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/resources/product_bidding_category_constant.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/resources/product_bidding_category_constant.proto @@ -1,8 +1,4 @@ -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/product_bidding_category_constant.proto -// Copyright 2022 Google LLC -======== // Copyright 2023 Google LLC ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/searchads360/v0/resources/product_bidding_category_constant.proto // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,23 +14,6 @@ syntax = "proto3"; -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/product_bidding_category_constant.proto -package google.ads.googleads.v13.resources; - -import "google/ads/googleads/v13/enums/product_bidding_category_level.proto"; -import "google/ads/googleads/v13/enums/product_bidding_category_status.proto"; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; - -option csharp_namespace = "Google.Ads.GoogleAds.V13.Resources"; -option go_package = "google.golang.org/genproto/googleapis/ads/googleads/v13/resources;resources"; -option java_multiple_files = true; -option java_outer_classname = "ProductBiddingCategoryConstantProto"; -option java_package = "com.google.ads.googleads.v13.resources"; -option objc_class_prefix = "GAA"; -option php_namespace = "Google\\Ads\\GoogleAds\\V13\\Resources"; -option ruby_package = "Google::Ads::GoogleAds::V13::Resources"; -======== package google.ads.searchads360.v0.resources; import "google/ads/searchads360/v0/enums/product_bidding_category_level.proto"; @@ -50,7 +29,6 @@ option java_package = "com.google.ads.searchads360.v0.resources"; option objc_class_prefix = "GASA360"; option php_namespace = "Google\\Ads\\SearchAds360\\V0\\Resources"; option ruby_package = "Google::Ads::SearchAds360::V0::Resources"; ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/searchads360/v0/resources/product_bidding_category_constant.proto // Proto file describing the ProductBiddingCategoryConstant resource. @@ -91,20 +69,12 @@ message ProductBiddingCategoryConstant { ]; // Output only. Level of the product bidding category. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/product_bidding_category_constant.proto - google.ads.googleads.v13.enums.ProductBiddingCategoryLevelEnum -======== google.ads.searchads360.v0.enums.ProductBiddingCategoryLevelEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/searchads360/v0/resources/product_bidding_category_constant.proto .ProductBiddingCategoryLevel level = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Status of the product bidding category. -<<<<<<<< HEAD:third_party/googleapis/google/ads/googleads/v13/resources/product_bidding_category_constant.proto - google.ads.googleads.v13.enums.ProductBiddingCategoryStatusEnum -======== google.ads.searchads360.v0.enums.ProductBiddingCategoryStatusEnum ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/ads/searchads360/v0/resources/product_bidding_category_constant.proto .ProductBiddingCategoryStatus status = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/third_party/googleapis/google/ads/searchads360/v0/resources/product_group_view.proto b/third_party/googleapis/google/ads/searchads360/v0/resources/product_group_view.proto index 4fc2c313d..ef52c26dc 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/resources/product_group_view.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/resources/product_group_view.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/ads/searchads360/v0/resources/search_ads360_field.proto b/third_party/googleapis/google/ads/searchads360/v0/resources/search_ads360_field.proto index 88dcf931c..eca318ffa 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/resources/search_ads360_field.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/resources/search_ads360_field.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -54,7 +54,9 @@ message SearchAds360Field { optional string name = 21 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The category of the artifact. - google.ads.searchads360.v0.enums.SearchAds360FieldCategoryEnum.SearchAds360FieldCategory category = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.ads.searchads360.v0.enums.SearchAds360FieldCategoryEnum + .SearchAds360FieldCategory category = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Whether the artifact can be used in a SELECT clause in search // queries. @@ -64,30 +66,32 @@ message SearchAds360Field { // queries. optional bool filterable = 23 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Whether the artifact can be used in a ORDER BY clause in search - // queries. + // Output only. Whether the artifact can be used in a ORDER BY clause in + // search queries. optional bool sortable = 24 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The names of all resources, segments, and metrics that are selectable with - // the described artifact. - repeated string selectable_with = 25 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The names of all resources, segments, and metrics that are + // selectable with the described artifact. + repeated string selectable_with = 25 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The names of all resources that are selectable with the described - // artifact. Fields from these resources do not segment metrics when included - // in search queries. + // Output only. The names of all resources that are selectable with the + // described artifact. Fields from these resources do not segment metrics when + // included in search queries. // // This field is only set for artifacts whose category is RESOURCE. - repeated string attribute_resources = 26 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated string attribute_resources = 26 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. This field lists the names of all metrics that are selectable with the - // described artifact when it is used in the FROM clause. - // It is only set for artifacts whose category is RESOURCE. + // Output only. This field lists the names of all metrics that are selectable + // with the described artifact when it is used in the FROM clause. It is only + // set for artifacts whose category is RESOURCE. repeated string metrics = 27 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. This field lists the names of all artifacts, whether a segment or another - // resource, that segment metrics when included in search queries and when the - // described artifact is used in the FROM clause. It is only set for artifacts - // whose category is RESOURCE. + // Output only. This field lists the names of all artifacts, whether a segment + // or another resource, that segment metrics when included in search queries + // and when the described artifact is used in the FROM clause. It is only set + // for artifacts whose category is RESOURCE. repeated string segments = 28 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Values the artifact can assume if it is a field of type ENUM. @@ -95,9 +99,11 @@ message SearchAds360Field { // This field is only set for artifacts of category SEGMENT or ATTRIBUTE. repeated string enum_values = 29 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. This field determines the operators that can be used with the artifact - // in WHERE clauses. - google.ads.searchads360.v0.enums.SearchAds360FieldDataTypeEnum.SearchAds360FieldDataType data_type = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. This field determines the operators that can be used with the + // artifact in WHERE clauses. + google.ads.searchads360.v0.enums.SearchAds360FieldDataTypeEnum + .SearchAds360FieldDataType data_type = 12 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The URL of proto describing the artifact's data type. optional string type_url = 30 [(google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/third_party/googleapis/google/ads/searchads360/v0/searchads360_grpc_service_config.json b/third_party/googleapis/google/ads/searchads360/v0/searchads360_grpc_service_config.json index 4c9b2571b..9677960ac 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/searchads360_grpc_service_config.json +++ b/third_party/googleapis/google/ads/searchads360/v0/searchads360_grpc_service_config.json @@ -5,6 +5,9 @@ { "service": "google.ads.searchads360.v0.services.CustomColumnService" }, + { + "service": "google.ads.searchads360.v0.services.CustomerService" + }, { "service": "google.ads.searchads360.v0.services.SearchAds360FieldService" }, diff --git a/third_party/googleapis/google/ads/searchads360/v0/searchads360_v0.yaml b/third_party/googleapis/google/ads/searchads360/v0/searchads360_v0.yaml index bf098136b..eb93eeb2b 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/searchads360_v0.yaml +++ b/third_party/googleapis/google/ads/searchads360/v0/searchads360_v0.yaml @@ -5,6 +5,7 @@ title: Search Ads 360 Reporting API apis: - name: google.ads.searchads360.v0.services.CustomColumnService +- name: google.ads.searchads360.v0.services.CustomerService - name: google.ads.searchads360.v0.services.SearchAds360FieldService - name: google.ads.searchads360.v0.services.SearchAds360Service @@ -13,21 +14,6 @@ documentation: The Search Ads 360 API allows developers to automate downloading reports from Search Ads 360. -backend: - rules: - - selector: google.ads.searchads360.v0.services.CustomColumnService.GetCustomColumn - deadline: 600.0 - - selector: google.ads.searchads360.v0.services.CustomColumnService.ListCustomColumns - deadline: 600.0 - - selector: google.ads.searchads360.v0.services.SearchAds360FieldService.GetSearchAds360Field - deadline: 600.0 - - selector: google.ads.searchads360.v0.services.SearchAds360FieldService.SearchSearchAds360Fields - deadline: 600.0 - - selector: google.ads.searchads360.v0.services.SearchAds360Service.Search - deadline: 3600.0 - - selector: google.ads.searchads360.v0.services.SearchAds360Service.SearchStream - deadline: 3600.0 - authentication: rules: - selector: google.ads.searchads360.v0.services.CustomColumnService.GetCustomColumn @@ -38,6 +24,10 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/doubleclicksearch + - selector: google.ads.searchads360.v0.services.CustomerService.ListAccessibleCustomers + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/doubleclicksearch - selector: google.ads.searchads360.v0.services.SearchAds360FieldService.GetSearchAds360Field oauth: canonical_scopes: |- diff --git a/third_party/googleapis/google/ads/searchads360/v0/services/BUILD.bazel b/third_party/googleapis/google/ads/searchads360/v0/services/BUILD.bazel index ce918f2ce..ec938c760 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/services/BUILD.bazel +++ b/third_party/googleapis/google/ads/searchads360/v0/services/BUILD.bazel @@ -108,4 +108,4 @@ csharp_grpc_library( name = "services_csharp_grpc", srcs = [":services_proto"], deps = [":services_csharp_proto"], -) \ No newline at end of file +) diff --git a/third_party/googleapis/google/ads/searchads360/v0/services/custom_column_service.proto b/third_party/googleapis/google/ads/searchads360/v0/services/custom_column_service.proto index 0944d89ba..58cc196e5 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/services/custom_column_service.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/services/custom_column_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -36,10 +36,12 @@ option ruby_package = "Google::Ads::SearchAds360::V0::Services"; // Service to manage custom columns. service CustomColumnService { option (google.api.default_host) = "searchads360.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/doubleclicksearch"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/doubleclicksearch"; // Returns the requested custom column in full detail. - rpc GetCustomColumn(GetCustomColumnRequest) returns (google.ads.searchads360.v0.resources.CustomColumn) { + rpc GetCustomColumn(GetCustomColumnRequest) + returns (google.ads.searchads360.v0.resources.CustomColumn) { option (google.api.http) = { get: "/v0/{resource_name=customers/*/customColumns/*}" }; @@ -47,7 +49,8 @@ service CustomColumnService { } // Returns all the custom columns associated with the customer in full detail. - rpc ListCustomColumns(ListCustomColumnsRequest) returns (ListCustomColumnsResponse) { + rpc ListCustomColumns(ListCustomColumnsRequest) + returns (ListCustomColumnsResponse) { option (google.api.http) = { get: "/v0/customers/{customer_id=*}/customColumns" }; @@ -55,7 +58,8 @@ service CustomColumnService { } } -// Request message for [CustomColumnService.GetCustomColumn][google.ads.searchads360.v0.services.CustomColumnService.GetCustomColumn]. +// Request message for +// [CustomColumnService.GetCustomColumn][google.ads.searchads360.v0.services.CustomColumnService.GetCustomColumn]. message GetCustomColumnRequest { // Required. The resource name of the custom column to fetch. string resource_name = 1 [ @@ -66,9 +70,11 @@ message GetCustomColumnRequest { ]; } -// Request message for [CustomColumnService.ListCustomColumns][google.ads.searchads360.v0.services.CustomColumnService.ListCustomColumns] +// Request message for +// [CustomColumnService.ListCustomColumns][google.ads.searchads360.v0.services.CustomColumnService.ListCustomColumns] message ListCustomColumnsRequest { - // Required. The ID of the customer to apply the CustomColumn list operation to. + // Required. The ID of the customer to apply the CustomColumn list operation + // to. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; } diff --git a/third_party/googleapis/google/ads/searchads360/v0/services/search_ads360_field_service.proto b/third_party/googleapis/google/ads/searchads360/v0/services/search_ads360_field_service.proto index 1032b9d22..06aa2a53b 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/services/search_ads360_field_service.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/services/search_ads360_field_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -36,7 +36,8 @@ option ruby_package = "Google::Ads::SearchAds360::V0::Services"; // Service to fetch Search Ads 360 API fields. service SearchAds360FieldService { option (google.api.default_host) = "searchads360.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/doubleclicksearch"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/doubleclicksearch"; // Returns just the requested field. // @@ -47,7 +48,8 @@ service SearchAds360FieldService { // [InternalError]() // [QuotaError]() // [RequestError]() - rpc GetSearchAds360Field(GetSearchAds360FieldRequest) returns (google.ads.searchads360.v0.resources.SearchAds360Field) { + rpc GetSearchAds360Field(GetSearchAds360FieldRequest) + returns (google.ads.searchads360.v0.resources.SearchAds360Field) { option (google.api.http) = { get: "/v0/{resource_name=searchAds360Fields/*}" }; @@ -64,7 +66,8 @@ service SearchAds360FieldService { // [QueryError]() // [QuotaError]() // [RequestError]() - rpc SearchSearchAds360Fields(SearchSearchAds360FieldsRequest) returns (SearchSearchAds360FieldsResponse) { + rpc SearchSearchAds360Fields(SearchSearchAds360FieldsRequest) + returns (SearchSearchAds360FieldsResponse) { option (google.api.http) = { post: "/v0/searchAds360Fields:search" body: "*" @@ -73,7 +76,8 @@ service SearchAds360FieldService { } } -// Request message for [SearchAds360FieldService.GetSearchAds360Field][google.ads.searchads360.v0.services.SearchAds360FieldService.GetSearchAds360Field]. +// Request message for +// [SearchAds360FieldService.GetSearchAds360Field][google.ads.searchads360.v0.services.SearchAds360FieldService.GetSearchAds360Field]. message GetSearchAds360FieldRequest { // Required. The resource name of the field to get. string resource_name = 1 [ @@ -84,7 +88,8 @@ message GetSearchAds360FieldRequest { ]; } -// Request message for [SearchAds360FieldService.SearchSearchAds360Fields][google.ads.searchads360.v0.services.SearchAds360FieldService.SearchSearchAds360Fields]. +// Request message for +// [SearchAds360FieldService.SearchSearchAds360Fields][google.ads.searchads360.v0.services.SearchAds360FieldService.SearchSearchAds360Fields]. message SearchSearchAds360FieldsRequest { // Required. The query string. string query = 1 [(google.api.field_behavior) = REQUIRED]; @@ -100,7 +105,8 @@ message SearchSearchAds360FieldsRequest { int32 page_size = 3; } -// Response message for [SearchAds360FieldService.SearchSearchAds360Fields][google.ads.searchads360.v0.services.SearchAds360FieldService.SearchSearchAds360Fields]. +// Response message for +// [SearchAds360FieldService.SearchSearchAds360Fields][google.ads.searchads360.v0.services.SearchAds360FieldService.SearchSearchAds360Fields]. message SearchSearchAds360FieldsResponse { // The list of fields that matched the query. repeated google.ads.searchads360.v0.resources.SearchAds360Field results = 1; diff --git a/third_party/googleapis/google/ads/searchads360/v0/services/search_ads360_service.proto b/third_party/googleapis/google/ads/searchads360/v0/services/search_ads360_service.proto index 16dad927f..2beb89e90 100644 --- a/third_party/googleapis/google/ads/searchads360/v0/services/search_ads360_service.proto +++ b/third_party/googleapis/google/ads/searchads360/v0/services/search_ads360_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,18 +21,55 @@ import "google/ads/searchads360/v0/common/segments.proto"; import "google/ads/searchads360/v0/common/value.proto"; import "google/ads/searchads360/v0/enums/summary_row_setting.proto"; import "google/ads/searchads360/v0/resources/ad_group.proto"; +import "google/ads/searchads360/v0/resources/ad_group_ad.proto"; +import "google/ads/searchads360/v0/resources/ad_group_ad_label.proto"; +import "google/ads/searchads360/v0/resources/ad_group_asset.proto"; +import "google/ads/searchads360/v0/resources/ad_group_asset_set.proto"; +import "google/ads/searchads360/v0/resources/ad_group_audience_view.proto"; import "google/ads/searchads360/v0/resources/ad_group_bid_modifier.proto"; import "google/ads/searchads360/v0/resources/ad_group_criterion.proto"; +import "google/ads/searchads360/v0/resources/ad_group_criterion_label.proto"; +import "google/ads/searchads360/v0/resources/ad_group_label.proto"; +import "google/ads/searchads360/v0/resources/age_range_view.proto"; +import "google/ads/searchads360/v0/resources/asset.proto"; +import "google/ads/searchads360/v0/resources/asset_group.proto"; +import "google/ads/searchads360/v0/resources/asset_group_asset.proto"; +import "google/ads/searchads360/v0/resources/asset_group_listing_group_filter.proto"; +import "google/ads/searchads360/v0/resources/asset_group_signal.proto"; +import "google/ads/searchads360/v0/resources/asset_group_top_combination_view.proto"; +import "google/ads/searchads360/v0/resources/asset_set.proto"; +import "google/ads/searchads360/v0/resources/asset_set_asset.proto"; +import "google/ads/searchads360/v0/resources/audience.proto"; import "google/ads/searchads360/v0/resources/bidding_strategy.proto"; import "google/ads/searchads360/v0/resources/campaign.proto"; +import "google/ads/searchads360/v0/resources/campaign_asset.proto"; +import "google/ads/searchads360/v0/resources/campaign_asset_set.proto"; +import "google/ads/searchads360/v0/resources/campaign_audience_view.proto"; import "google/ads/searchads360/v0/resources/campaign_budget.proto"; import "google/ads/searchads360/v0/resources/campaign_criterion.proto"; +import "google/ads/searchads360/v0/resources/campaign_label.proto"; +import "google/ads/searchads360/v0/resources/cart_data_sales_view.proto"; +import "google/ads/searchads360/v0/resources/conversion.proto"; import "google/ads/searchads360/v0/resources/conversion_action.proto"; +import "google/ads/searchads360/v0/resources/conversion_custom_variable.proto"; import "google/ads/searchads360/v0/resources/customer.proto"; +import "google/ads/searchads360/v0/resources/customer_asset.proto"; +import "google/ads/searchads360/v0/resources/customer_asset_set.proto"; import "google/ads/searchads360/v0/resources/customer_client.proto"; import "google/ads/searchads360/v0/resources/customer_manager_link.proto"; +import "google/ads/searchads360/v0/resources/dynamic_search_ads_search_term_view.proto"; +import "google/ads/searchads360/v0/resources/gender_view.proto"; +import "google/ads/searchads360/v0/resources/geo_target_constant.proto"; import "google/ads/searchads360/v0/resources/keyword_view.proto"; +import "google/ads/searchads360/v0/resources/label.proto"; +import "google/ads/searchads360/v0/resources/language_constant.proto"; +import "google/ads/searchads360/v0/resources/location_view.proto"; +import "google/ads/searchads360/v0/resources/product_bidding_category_constant.proto"; import "google/ads/searchads360/v0/resources/product_group_view.proto"; +import "google/ads/searchads360/v0/resources/shopping_performance_view.proto"; +import "google/ads/searchads360/v0/resources/user_list.proto"; +import "google/ads/searchads360/v0/resources/visit.proto"; +import "google/ads/searchads360/v0/resources/webpage_view.proto"; import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -52,7 +89,8 @@ option ruby_package = "Google::Ads::SearchAds360::V0::Services"; // Service to fetch data and metrics across resources. service SearchAds360Service { option (google.api.default_host) = "searchads360.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/doubleclicksearch"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/doubleclicksearch"; // Returns all rows that match the search query. // @@ -82,7 +120,8 @@ service SearchAds360Service { // [QueryError]() // [QuotaError]() // [RequestError]() - rpc SearchStream(SearchSearchAds360StreamRequest) returns (stream SearchSearchAds360StreamResponse) { + rpc SearchStream(SearchSearchAds360StreamRequest) + returns (stream SearchSearchAds360StreamResponse) { option (google.api.http) = { post: "/v0/customers/{customer_id=*}/searchAds360:searchStream" body: "*" @@ -91,7 +130,8 @@ service SearchAds360Service { } } -// Request message for [SearchAds360Service.Search][google.ads.searchads360.v0.services.SearchAds360Service.Search]. +// Request message for +// [SearchAds360Service.Search][google.ads.searchads360.v0.services.SearchAds360Service.Search]. message SearchSearchAds360Request { // Required. The ID of the customer being queried. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -121,10 +161,12 @@ message SearchSearchAds360Request { // Determines whether a summary row will be returned. By default, summary row // is not returned. If requested, the summary row will be sent in a response // by itself after all other query results are returned. - google.ads.searchads360.v0.enums.SummaryRowSettingEnum.SummaryRowSetting summary_row_setting = 8; + google.ads.searchads360.v0.enums.SummaryRowSettingEnum.SummaryRowSetting + summary_row_setting = 8; } -// Response message for [SearchAds360Service.Search][google.ads.searchads360.v0.services.SearchAds360Service.Search]. +// Response message for +// [SearchAds360Service.Search][google.ads.searchads360.v0.services.SearchAds360Service.Search]. message SearchSearchAds360Response { // The list of rows that matched the query. repeated SearchAds360Row results = 1; @@ -149,9 +191,25 @@ message SearchSearchAds360Response { // The headers of the custom columns in the results. repeated CustomColumnHeader custom_column_headers = 7; + + // The headers of the conversion custom metrics in the results. + repeated ConversionCustomMetricHeader conversion_custom_metric_headers = 9; + + // The headers of the conversion custom dimensions in the results. + repeated ConversionCustomDimensionHeader conversion_custom_dimension_headers = + 10; + + // The headers of the raw event conversion metrics in the results. + repeated RawEventConversionMetricHeader raw_event_conversion_metric_headers = + 11; + + // The headers of the raw event conversion dimensions in the results. + repeated RawEventConversionDimensionHeader + raw_event_conversion_dimension_headers = 12; } -// Request message for [SearchAds360Service.SearchStream][google.ads.searchads360.v0.services.SearchAds360Service.SearchStream]. +// Request message for +// [SearchAds360Service.SearchStream][google.ads.searchads360.v0.services.SearchAds360Service.SearchStream]. message SearchSearchAds360StreamRequest { // Required. The ID of the customer being queried. string customer_id = 1 [(google.api.field_behavior) = REQUIRED]; @@ -167,10 +225,12 @@ message SearchSearchAds360StreamRequest { // Determines whether a summary row will be returned. By default, summary row // is not returned. If requested, the summary row will be sent in a response // by itself after all other query results are returned. - google.ads.searchads360.v0.enums.SummaryRowSettingEnum.SummaryRowSetting summary_row_setting = 3; + google.ads.searchads360.v0.enums.SummaryRowSettingEnum.SummaryRowSetting + summary_row_setting = 3; } -// Response message for [SearchAds360Service.SearchStream][google.ads.searchads360.v0.services.SearchAds360Service.SearchStream]. +// Response message for +// [SearchAds360Service.SearchStream][google.ads.searchads360.v0.services.SearchAds360Service.SearchStream]. message SearchSearchAds360StreamResponse { // The list of rows that matched the query. repeated SearchAds360Row results = 1; @@ -186,6 +246,21 @@ message SearchSearchAds360StreamResponse { // The headers of the custom columns in the results. repeated CustomColumnHeader custom_column_headers = 5; + // The headers of the conversion custom metrics in the results. + repeated ConversionCustomMetricHeader conversion_custom_metric_headers = 7; + + // The headers of the conversion custom dimension in the results. + repeated ConversionCustomDimensionHeader conversion_custom_dimension_headers = + 8; + + // The headers of the raw event conversion metrics in the results. + repeated RawEventConversionMetricHeader raw_event_conversion_metric_headers = + 9; + + // The headers of the raw event conversion dimensions in the results. + repeated RawEventConversionDimensionHeader + raw_event_conversion_dimension_headers = 10; + // The unique id of the request that is used for debugging purposes. string request_id = 4; } @@ -195,12 +270,66 @@ message SearchAds360Row { // The ad group referenced in the query. google.ads.searchads360.v0.resources.AdGroup ad_group = 3; + // The ad referenced in the query. + google.ads.searchads360.v0.resources.AdGroupAd ad_group_ad = 16; + + // The ad group ad label referenced in the query. + google.ads.searchads360.v0.resources.AdGroupAdLabel ad_group_ad_label = 120; + + // The ad group asset referenced in the query. + google.ads.searchads360.v0.resources.AdGroupAsset ad_group_asset = 154; + + // The ad group asset set referenced in the query. + google.ads.searchads360.v0.resources.AdGroupAssetSet ad_group_asset_set = 196; + + // The ad group audience view referenced in the query. + google.ads.searchads360.v0.resources.AdGroupAudienceView + ad_group_audience_view = 57; + // The bid modifier referenced in the query. - google.ads.searchads360.v0.resources.AdGroupBidModifier ad_group_bid_modifier = 24; + google.ads.searchads360.v0.resources.AdGroupBidModifier + ad_group_bid_modifier = 24; // The criterion referenced in the query. google.ads.searchads360.v0.resources.AdGroupCriterion ad_group_criterion = 17; + // The ad group criterion label referenced in the query. + google.ads.searchads360.v0.resources.AdGroupCriterionLabel + ad_group_criterion_label = 121; + + // The ad group label referenced in the query. + google.ads.searchads360.v0.resources.AdGroupLabel ad_group_label = 115; + + // The age range view referenced in the query. + google.ads.searchads360.v0.resources.AgeRangeView age_range_view = 48; + + // The asset referenced in the query. + google.ads.searchads360.v0.resources.Asset asset = 105; + + // The asset group asset referenced in the query. + google.ads.searchads360.v0.resources.AssetGroupAsset asset_group_asset = 173; + + // The asset group signal referenced in the query. + google.ads.searchads360.v0.resources.AssetGroupSignal asset_group_signal = + 191; + + // The asset group listing group filter referenced in the query. + google.ads.searchads360.v0.resources.AssetGroupListingGroupFilter + asset_group_listing_group_filter = 182; + + // The asset group top combination view referenced in the query. + google.ads.searchads360.v0.resources.AssetGroupTopCombinationView + asset_group_top_combination_view = 199; + + // The asset group referenced in the query. + google.ads.searchads360.v0.resources.AssetGroup asset_group = 172; + + // The asset set asset referenced in the query. + google.ads.searchads360.v0.resources.AssetSetAsset asset_set_asset = 180; + + // The asset set referenced in the query. + google.ads.searchads360.v0.resources.AssetSet asset_set = 179; + // The bidding strategy referenced in the query. google.ads.searchads360.v0.resources.BiddingStrategy bidding_strategy = 18; @@ -210,27 +339,101 @@ message SearchAds360Row { // The campaign referenced in the query. google.ads.searchads360.v0.resources.Campaign campaign = 2; + // The campaign asset referenced in the query. + google.ads.searchads360.v0.resources.CampaignAsset campaign_asset = 142; + + // The campaign asset set referenced in the query. + google.ads.searchads360.v0.resources.CampaignAssetSet campaign_asset_set = + 181; + + // The campaign audience view referenced in the query. + google.ads.searchads360.v0.resources.CampaignAudienceView + campaign_audience_view = 69; + // The campaign criterion referenced in the query. - google.ads.searchads360.v0.resources.CampaignCriterion campaign_criterion = 20; + google.ads.searchads360.v0.resources.CampaignCriterion campaign_criterion = + 20; + + // The campaign label referenced in the query. + google.ads.searchads360.v0.resources.CampaignLabel campaign_label = 108; + + // The cart data sales view referenced in the query. + google.ads.searchads360.v0.resources.CartDataSalesView cart_data_sales_view = + 221; + + // The Audience referenced in the query. + google.ads.searchads360.v0.resources.Audience audience = 190; // The conversion action referenced in the query. google.ads.searchads360.v0.resources.ConversionAction conversion_action = 103; + // The conversion custom variable referenced in the query. + google.ads.searchads360.v0.resources.ConversionCustomVariable + conversion_custom_variable = 153; + // The customer referenced in the query. google.ads.searchads360.v0.resources.Customer customer = 1; + // The customer asset referenced in the query. + google.ads.searchads360.v0.resources.CustomerAsset customer_asset = 155; + + // The customer asset set referenced in the query. + google.ads.searchads360.v0.resources.CustomerAssetSet customer_asset_set = + 195; + // The CustomerManagerLink referenced in the query. - google.ads.searchads360.v0.resources.CustomerManagerLink customer_manager_link = 61; + google.ads.searchads360.v0.resources.CustomerManagerLink + customer_manager_link = 61; // The CustomerClient referenced in the query. google.ads.searchads360.v0.resources.CustomerClient customer_client = 70; + // The dynamic search ads search term view referenced in the query. + google.ads.searchads360.v0.resources.DynamicSearchAdsSearchTermView + dynamic_search_ads_search_term_view = 106; + + // The gender view referenced in the query. + google.ads.searchads360.v0.resources.GenderView gender_view = 40; + + // The geo target constant referenced in the query. + google.ads.searchads360.v0.resources.GeoTargetConstant geo_target_constant = + 23; + // The keyword view referenced in the query. google.ads.searchads360.v0.resources.KeywordView keyword_view = 21; + // The label referenced in the query. + google.ads.searchads360.v0.resources.Label label = 52; + + // The language constant referenced in the query. + google.ads.searchads360.v0.resources.LanguageConstant language_constant = 55; + + // The location view referenced in the query. + google.ads.searchads360.v0.resources.LocationView location_view = 123; + + // The Product Bidding Category referenced in the query. + google.ads.searchads360.v0.resources.ProductBiddingCategoryConstant + product_bidding_category_constant = 109; + // The product group view referenced in the query. google.ads.searchads360.v0.resources.ProductGroupView product_group_view = 54; + // The shopping performance view referenced in the query. + google.ads.searchads360.v0.resources.ShoppingPerformanceView + shopping_performance_view = 117; + + // The user list referenced in the query. + google.ads.searchads360.v0.resources.UserList user_list = 38; + + // The webpage view referenced in the query. + google.ads.searchads360.v0.resources.WebpageView webpage_view = 162; + + // The event level visit referenced in the query. + google.ads.searchads360.v0.resources.Visit visit = 203; + + // The event level conversion referenced in the query. + google.ads.searchads360.v0.resources.Conversion conversion = 206; + // The metrics. google.ads.searchads360.v0.common.Metrics metrics = 4; @@ -252,3 +455,39 @@ message CustomColumnHeader { // True when the custom column references metrics. bool references_metrics = 3; } + +// Message for conversion custom metric header. +message ConversionCustomMetricHeader { + // The conversion custom metric ID. + int64 id = 1; + + // The user defined name of the conversion custom metric. + string name = 2; +} + +// Message for conversion custom dimension header. +message ConversionCustomDimensionHeader { + // The conversion custom dimension ID. + int64 id = 1; + + // The user defined name of the conversion custom dimension. + string name = 2; +} + +// Message for raw event conversion metric header. +message RawEventConversionMetricHeader { + // The conversion custom variable ID. + int64 id = 1; + + // The user defined name of the raw event metric. + string name = 2; +} + +// Message for raw event conversion dimension header. +message RawEventConversionDimensionHeader { + // The conversion custom variable ID. + int64 id = 1; + + // The user defined name of the raw event dimension. + string name = 2; +} diff --git a/third_party/googleapis/google/analytics/admin/BUILD.bazel b/third_party/googleapis/google/analytics/admin/BUILD.bazel index 7d08fc58a..4a90f7592 100644 --- a/third_party/googleapis/google/analytics/admin/BUILD.bazel +++ b/third_party/googleapis/google/analytics/admin/BUILD.bazel @@ -22,12 +22,13 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-analytics-admin", "ruby-cloud-env-prefix=ANALYTICS_ADMIN", - "ruby-cloud-wrapper-of=v1alpha:0.0", + "ruby-cloud-wrapper-of=v1alpha:0.27", "ruby-cloud-api-id=analyticsadmin.googleapis.com", "ruby-cloud-api-shortname=analyticsadmin", ], ruby_cloud_description = "The Analytics Admin API allows for programmatic access to the Google Analytics App+Web configuration data. You can use the Google Analytics Admin API to manage accounts and App+Web properties.", ruby_cloud_title = "Google Analytics Admin", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/analytics/admin/v1alpha/BUILD.bazel b/third_party/googleapis/google/analytics/admin/v1alpha/BUILD.bazel index 10534808f..be503c42f 100644 --- a/third_party/googleapis/google/analytics/admin/v1alpha/BUILD.bazel +++ b/third_party/googleapis/google/analytics/admin/v1alpha/BUILD.bazel @@ -24,8 +24,11 @@ proto_library( "access_report.proto", "analytics_admin.proto", "audience.proto", + "channel_group.proto", + "event_create_and_edit.proto", "expanded_data_set.proto", "resources.proto", + "subproperty_event_filter.proto", ], deps = [ "//google/api:annotations_proto", @@ -118,13 +121,12 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( name = "admin_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/analytics/admin/v1alpha", + importpath = "cloud.google.com/go/analytics/admin/apiv1alpha/adminpb", protos = [":admin_proto"], deps = [ "//google/api:annotations_go_proto", @@ -135,7 +137,7 @@ go_gapic_library( name = "admin_go_gapic", srcs = [":admin_proto_with_info"], grpc_service_config = "admin_grpc_service_config.json", - importpath = "google.golang.org/google/analytics/admin/v1alpha;admin", + importpath = "cloud.google.com/go/analytics/admin/apiv1alpha;admin", metadata = True, release_level = "alpha", rest_numeric_enums = True, @@ -147,19 +149,13 @@ go_gapic_library( ], ) -go_test( - name = "admin_go_gapic_test", - srcs = [":admin_go_gapic_srcjar_test"], - embed = [":admin_go_gapic"], - importpath = "google.golang.org/google/analytics/admin/v1alpha", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-analytics-admin-v1alpha-go", deps = [ ":admin_go_gapic", ":admin_go_gapic_srcjar-metadata.srcjar", + ":admin_go_gapic_srcjar-snippets.srcjar", ":admin_go_gapic_srcjar-test.srcjar", ":admin_go_proto", ], @@ -179,6 +175,7 @@ py_gapic_library( name = "admin_py_gapic", srcs = [":admin_proto"], grpc_service_config = "admin_grpc_service_config.json", + opt_args = ["autogen-snippets=False"], rest_numeric_enums = True, service_yaml = "analyticsadmin_v1alpha.yaml", transport = "grpc+rest", @@ -211,7 +208,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -220,21 +216,15 @@ php_proto_library( deps = [":admin_proto"], ) -php_grpc_library( - name = "admin_php_grpc", - srcs = [":admin_proto"], - deps = [":admin_php_proto"], -) - php_gapic_library( name = "admin_php_gapic", srcs = [":admin_proto_with_info"], grpc_service_config = "admin_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "analyticsadmin_v1alpha.yaml", transport = "grpc+rest", deps = [ - ":admin_php_grpc", ":admin_php_proto", ], ) @@ -244,7 +234,6 @@ php_gapic_assembly_pkg( name = "google-analytics-admin-v1alpha-php", deps = [ ":admin_php_gapic", - ":admin_php_grpc", ":admin_php_proto", ], ) @@ -315,6 +304,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "The Analytics Admin API allows for programmatic access to the Google Analytics App+Web configuration data. You can use the Google Analytics Admin API to manage accounts and App+Web properties.", ruby_cloud_title = "Google Analytics Admin V1alpha", service_yaml = "analyticsadmin_v1alpha.yaml", + transport = "grpc+rest", deps = [ ":admin_ruby_grpc", ":admin_ruby_proto", @@ -344,6 +334,7 @@ load( csharp_proto_library( name = "admin_csharp_proto", + extra_opts = [], deps = [":admin_proto"], ) diff --git a/third_party/googleapis/google/analytics/admin/v1alpha/access_report.proto b/third_party/googleapis/google/analytics/admin/v1alpha/access_report.proto index 6800357d1..3875494a8 100644 --- a/third_party/googleapis/google/analytics/admin/v1alpha/access_report.proto +++ b/third_party/googleapis/google/analytics/admin/v1alpha/access_report.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,7 +16,7 @@ syntax = "proto3"; package google.analytics.admin.v1alpha; -option go_package = "google.golang.org/genproto/googleapis/analytics/admin/v1alpha;admin"; +option go_package = "cloud.google.com/go/analytics/admin/apiv1alpha/adminpb;adminpb"; option java_multiple_files = true; option java_outer_classname = "AccessReportProto"; option java_package = "com.google.analytics.admin.v1alpha"; diff --git a/third_party/googleapis/google/analytics/admin/v1alpha/analytics_admin.proto b/third_party/googleapis/google/analytics/admin/v1alpha/analytics_admin.proto index 0e9d7a961..62623c63f 100644 --- a/third_party/googleapis/google/analytics/admin/v1alpha/analytics_admin.proto +++ b/third_party/googleapis/google/analytics/admin/v1alpha/analytics_admin.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,8 +18,11 @@ package google.analytics.admin.v1alpha; import "google/analytics/admin/v1alpha/access_report.proto"; import "google/analytics/admin/v1alpha/audience.proto"; +import "google/analytics/admin/v1alpha/channel_group.proto"; +import "google/analytics/admin/v1alpha/event_create_and_edit.proto"; import "google/analytics/admin/v1alpha/expanded_data_set.proto"; import "google/analytics/admin/v1alpha/resources.proto"; +import "google/analytics/admin/v1alpha/subproperty_event_filter.proto"; import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -28,7 +31,7 @@ import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/analytics/admin/v1alpha;admin"; +option go_package = "cloud.google.com/go/analytics/admin/apiv1alpha/adminpb;adminpb"; option java_multiple_files = true; option java_outer_classname = "AnalyticsAdminProto"; option java_package = "com.google.analytics.admin.v1alpha"; @@ -68,7 +71,7 @@ service AnalyticsAdminService { // // If the accounts are not restored before the expiration time, the account // and all child resources (eg: Properties, GoogleAdsLinks, Streams, - // UserLinks) will be permanently purged. + // AccessBindings) will be permanently purged. // https://support.google.com/analytics/answer/6154772 // // Returns an error if the target is not found. @@ -140,7 +143,7 @@ service AnalyticsAdminService { // However, they can be restored using the Trash Can UI. // // If the properties are not restored before the expiration time, the Property - // and all child resources (eg: GoogleAdsLinks, Streams, UserLinks) + // and all child resources (eg: GoogleAdsLinks, Streams, AccessBindings) // will be permanently purged. // https://support.google.com/analytics/answer/6154772 // @@ -161,136 +164,6 @@ service AnalyticsAdminService { option (google.api.method_signature) = "property,update_mask"; } - // Gets information about a user's link to an account or property. - rpc GetUserLink(GetUserLinkRequest) returns (UserLink) { - option (google.api.http) = { - get: "/v1alpha/{name=accounts/*/userLinks/*}" - additional_bindings { get: "/v1alpha/{name=properties/*/userLinks/*}" } - }; - option (google.api.method_signature) = "name"; - } - - // Gets information about multiple users' links to an account or property. - rpc BatchGetUserLinks(BatchGetUserLinksRequest) - returns (BatchGetUserLinksResponse) { - option (google.api.http) = { - get: "/v1alpha/{parent=accounts/*}/userLinks:batchGet" - additional_bindings { - get: "/v1alpha/{parent=properties/*}/userLinks:batchGet" - } - }; - } - - // Lists all user links on an account or property. - rpc ListUserLinks(ListUserLinksRequest) returns (ListUserLinksResponse) { - option (google.api.http) = { - get: "/v1alpha/{parent=accounts/*}/userLinks" - additional_bindings { get: "/v1alpha/{parent=properties/*}/userLinks" } - }; - option (google.api.method_signature) = "parent"; - } - - // Lists all user links on an account or property, including implicit ones - // that come from effective permissions granted by groups or organization - // admin roles. - // - // If a returned user link does not have direct permissions, they cannot - // be removed from the account or property directly with the DeleteUserLink - // command. They have to be removed from the group/etc that gives them - // permissions, which is currently only usable/discoverable in the GA or GMP - // UIs. - rpc AuditUserLinks(AuditUserLinksRequest) returns (AuditUserLinksResponse) { - option (google.api.http) = { - post: "/v1alpha/{parent=accounts/*}/userLinks:audit" - body: "*" - additional_bindings { - post: "/v1alpha/{parent=properties/*}/userLinks:audit" - body: "*" - } - }; - } - - // Creates a user link on an account or property. - // - // If the user with the specified email already has permissions on the - // account or property, then the user's existing permissions will be unioned - // with the permissions specified in the new UserLink. - rpc CreateUserLink(CreateUserLinkRequest) returns (UserLink) { - option (google.api.http) = { - post: "/v1alpha/{parent=accounts/*}/userLinks" - body: "user_link" - additional_bindings { - post: "/v1alpha/{parent=properties/*}/userLinks" - body: "user_link" - } - }; - option (google.api.method_signature) = "parent,user_link"; - } - - // Creates information about multiple users' links to an account or property. - // - // This method is transactional. If any UserLink cannot be created, none of - // the UserLinks will be created. - rpc BatchCreateUserLinks(BatchCreateUserLinksRequest) - returns (BatchCreateUserLinksResponse) { - option (google.api.http) = { - post: "/v1alpha/{parent=accounts/*}/userLinks:batchCreate" - body: "*" - additional_bindings { - post: "/v1alpha/{parent=properties/*}/userLinks:batchCreate" - body: "*" - } - }; - } - - // Updates a user link on an account or property. - rpc UpdateUserLink(UpdateUserLinkRequest) returns (UserLink) { - option (google.api.http) = { - patch: "/v1alpha/{user_link.name=accounts/*/userLinks/*}" - body: "user_link" - additional_bindings { - patch: "/v1alpha/{user_link.name=properties/*/userLinks/*}" - body: "user_link" - } - }; - option (google.api.method_signature) = "user_link"; - } - - // Updates information about multiple users' links to an account or property. - rpc BatchUpdateUserLinks(BatchUpdateUserLinksRequest) - returns (BatchUpdateUserLinksResponse) { - option (google.api.http) = { - post: "/v1alpha/{parent=accounts/*}/userLinks:batchUpdate" - body: "*" - additional_bindings { - post: "/v1alpha/{parent=properties/*}/userLinks:batchUpdate" - body: "*" - } - }; - } - - // Deletes a user link on an account or property. - rpc DeleteUserLink(DeleteUserLinkRequest) returns (google.protobuf.Empty) { - option (google.api.http) = { - delete: "/v1alpha/{name=accounts/*/userLinks/*}" - additional_bindings { delete: "/v1alpha/{name=properties/*/userLinks/*}" } - }; - option (google.api.method_signature) = "name"; - } - - // Deletes information about multiple users' links to an account or property. - rpc BatchDeleteUserLinks(BatchDeleteUserLinksRequest) - returns (google.protobuf.Empty) { - option (google.api.http) = { - post: "/v1alpha/{parent=accounts/*}/userLinks:batchDelete" - body: "*" - additional_bindings { - post: "/v1alpha/{parent=properties/*}/userLinks:batchDelete" - body: "*" - } - }; - } - // Creates a FirebaseLink. // // Properties can have at most one FirebaseLink. @@ -438,6 +311,61 @@ service AnalyticsAdminService { }; } + // Looks up a single SKAdNetworkConversionValueSchema. + rpc GetSKAdNetworkConversionValueSchema( + GetSKAdNetworkConversionValueSchemaRequest) + returns (SKAdNetworkConversionValueSchema) { + option (google.api.http) = { + get: "/v1alpha/{name=properties/*/dataStreams/*/sKAdNetworkConversionValueSchema/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Creates a SKAdNetworkConversionValueSchema. + rpc CreateSKAdNetworkConversionValueSchema( + CreateSKAdNetworkConversionValueSchemaRequest) + returns (SKAdNetworkConversionValueSchema) { + option (google.api.http) = { + post: "/v1alpha/{parent=properties/*/dataStreams/*}/sKAdNetworkConversionValueSchema" + body: "skadnetwork_conversion_value_schema" + }; + option (google.api.method_signature) = + "parent,skadnetwork_conversion_value_schema"; + } + + // Deletes target SKAdNetworkConversionValueSchema. + rpc DeleteSKAdNetworkConversionValueSchema( + DeleteSKAdNetworkConversionValueSchemaRequest) + returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1alpha/{name=properties/*/dataStreams/*/sKAdNetworkConversionValueSchema/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Updates a SKAdNetworkConversionValueSchema. + rpc UpdateSKAdNetworkConversionValueSchema( + UpdateSKAdNetworkConversionValueSchemaRequest) + returns (SKAdNetworkConversionValueSchema) { + option (google.api.http) = { + patch: "/v1alpha/{skadnetwork_conversion_value_schema.name=properties/*/dataStreams/*/sKAdNetworkConversionValueSchema/*}" + body: "skadnetwork_conversion_value_schema" + }; + option (google.api.method_signature) = + "skadnetwork_conversion_value_schema,update_mask"; + } + + // Lists SKAdNetworkConversionValueSchema on a stream. + // Properties can have at most one SKAdNetworkConversionValueSchema. + rpc ListSKAdNetworkConversionValueSchemas( + ListSKAdNetworkConversionValueSchemasRequest) + returns (ListSKAdNetworkConversionValueSchemasResponse) { + option (google.api.http) = { + get: "/v1alpha/{parent=properties/*/dataStreams/*}/sKAdNetworkConversionValueSchema" + }; + option (google.api.method_signature) = "parent"; + } + // Searches through all changes to an account or its children given the // specified set of filters. rpc SearchChangeHistoryEvents(SearchChangeHistoryEventsRequest) @@ -478,6 +406,16 @@ service AnalyticsAdminService { option (google.api.method_signature) = "parent,conversion_event"; } + // Updates a conversion event with the specified attributes. + rpc UpdateConversionEvent(UpdateConversionEventRequest) + returns (ConversionEvent) { + option (google.api.http) = { + patch: "/v1alpha/{conversion_event.name=properties/*/conversionEvents/*}" + body: "conversion_event" + }; + option (google.api.method_signature) = "conversion_event,update_mask"; + } + // Retrieve a single conversion event. rpc GetConversionEvent(GetConversionEventRequest) returns (ConversionEvent) { option (google.api.http) = { @@ -904,8 +842,10 @@ service AnalyticsAdminService { // records of each time a user reads Google Analytics reporting data. Access // records are retained for up to 2 years. // - // Data Access Reports can be requested for a property. The property must be - // in Google Analytics 360. This method is only available to Administrators. + // Data Access Reports can be requested for a property. Reports may be + // requested for any property, but dimensions that aren't related to quota can + // only be requested on Google Analytics 360 properties. This method is only + // available to Administrators. // // These data access records include GA4 UI Reporting, GA4 UI Explorations, // GA4 Data API, and other products like Firebase & Admob that can retrieve @@ -918,6 +858,10 @@ service AnalyticsAdminService { option (google.api.http) = { post: "/v1alpha/{entity=properties/*}:runAccessReport" body: "*" + additional_bindings { + post: "/v1alpha/{entity=accounts/*}:runAccessReport" + body: "*" + } }; } @@ -1083,6 +1027,50 @@ service AnalyticsAdminService { option (google.api.method_signature) = "name"; } + // Lookup for a single ChannelGroup. + rpc GetChannelGroup(GetChannelGroupRequest) returns (ChannelGroup) { + option (google.api.http) = { + get: "/v1alpha/{name=properties/*/channelGroups/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Lists ChannelGroups on a property. + rpc ListChannelGroups(ListChannelGroupsRequest) + returns (ListChannelGroupsResponse) { + option (google.api.http) = { + get: "/v1alpha/{parent=properties/*}/channelGroups" + }; + option (google.api.method_signature) = "parent"; + } + + // Creates a ChannelGroup. + rpc CreateChannelGroup(CreateChannelGroupRequest) returns (ChannelGroup) { + option (google.api.http) = { + post: "/v1alpha/{parent=properties/*}/channelGroups" + body: "channel_group" + }; + option (google.api.method_signature) = "parent,channel_group"; + } + + // Updates a ChannelGroup. + rpc UpdateChannelGroup(UpdateChannelGroupRequest) returns (ChannelGroup) { + option (google.api.http) = { + patch: "/v1alpha/{channel_group.name=properties/*/channelGroups/*}" + body: "channel_group" + }; + option (google.api.method_signature) = "channel_group,update_mask"; + } + + // Deletes a ChannelGroup on a property. + rpc DeleteChannelGroup(DeleteChannelGroupRequest) + returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1alpha/{name=properties/*/channelGroups/*}" + }; + option (google.api.method_signature) = "name"; + } + // Sets the opt out status for the automated GA4 setup process for a UA // property. // Note: this has no effect on GA4 property. @@ -1123,98 +1111,444 @@ service AnalyticsAdminService { }; option (google.api.method_signature) = "parent"; } -} -// The request for a Data Access Record Report. -message RunAccessReportRequest { - // The Data Access Report is requested for this property. - // For example if "123" is your GA4 property ID, then entity should be - // "properties/123". - string entity = 1; + // Returns the enhanced measurement settings for this data stream. + // Note that the stream must enable enhanced measurement for these settings to + // take effect. + rpc GetEnhancedMeasurementSettings(GetEnhancedMeasurementSettingsRequest) + returns (EnhancedMeasurementSettings) { + option (google.api.http) = { + get: "/v1alpha/{name=properties/*/dataStreams/*/enhancedMeasurementSettings}" + }; + option (google.api.method_signature) = "name"; + } - // The dimensions requested and displayed in the response. Requests are - // allowed up to 9 dimensions. - repeated AccessDimension dimensions = 2; + // Updates the enhanced measurement settings for this data stream. + // Note that the stream must enable enhanced measurement for these settings to + // take effect. + rpc UpdateEnhancedMeasurementSettings( + UpdateEnhancedMeasurementSettingsRequest) + returns (EnhancedMeasurementSettings) { + option (google.api.http) = { + patch: "/v1alpha/{enhanced_measurement_settings.name=properties/*/dataStreams/*/enhancedMeasurementSettings}" + body: "enhanced_measurement_settings" + }; + option (google.api.method_signature) = + "enhanced_measurement_settings,update_mask"; + } - // The metrics requested and displayed in the response. Requests are allowed - // up to 10 metrics. - repeated AccessMetric metrics = 3; + // Creates a connected site tag for a Universal Analytics property. You can + // create a maximum of 20 connected site tags per property. + // Note: This API cannot be used on GA4 properties. + rpc CreateConnectedSiteTag(CreateConnectedSiteTagRequest) + returns (CreateConnectedSiteTagResponse) { + option (google.api.http) = { + post: "/v1alpha/properties:createConnectedSiteTag" + body: "*" + }; + } - // Date ranges of access records to read. If multiple date ranges are - // requested, each response row will contain a zero based date range index. If - // two date ranges overlap, the access records for the overlapping days is - // included in the response rows for both date ranges. Requests are allowed up - // to 2 date ranges. - repeated AccessDateRange date_ranges = 4; + // Deletes a connected site tag for a Universal Analytics property. + // Note: this has no effect on GA4 properties. + rpc DeleteConnectedSiteTag(DeleteConnectedSiteTagRequest) + returns (google.protobuf.Empty) { + option (google.api.http) = { + post: "/v1alpha/properties:deleteConnectedSiteTag" + body: "*" + }; + } - // Dimension filters let you restrict report response to specific - // dimension values which match the filter. For example, filtering on access - // records of a single user. To learn more, see [Fundamentals of Dimension - // Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters) - // for examples. Metrics cannot be used in this filter. - AccessFilterExpression dimension_filter = 5; + // Lists the connected site tags for a Universal Analytics property. A maximum + // of 20 connected site tags will be returned. Note: this has no effect on GA4 + // property. + rpc ListConnectedSiteTags(ListConnectedSiteTagsRequest) + returns (ListConnectedSiteTagsResponse) { + option (google.api.http) = { + post: "/v1alpha/properties:listConnectedSiteTags" + body: "*" + }; + } - // Metric filters allow you to restrict report response to specific metric - // values which match the filter. Metric filters are applied after aggregating - // the report's rows, similar to SQL having-clause. Dimensions cannot be used - // in this filter. - AccessFilterExpression metric_filter = 6; + // Given a specified UA property, looks up the GA4 property connected to it. + // Note: this cannot be used with GA4 properties. + rpc FetchConnectedGa4Property(FetchConnectedGa4PropertyRequest) + returns (FetchConnectedGa4PropertyResponse) { + option (google.api.http) = { + get: "/v1alpha/properties:fetchConnectedGa4Property" + }; + } - // The row count of the start row. The first row is counted as row 0. If - // offset is unspecified, it is treated as 0. If offset is zero, then this - // method will return the first page of results with `limit` entries. - // - // To learn more about this pagination parameter, see - // [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). - int64 offset = 7; + // Looks up a single AdSenseLink. + rpc GetAdSenseLink(GetAdSenseLinkRequest) returns (AdSenseLink) { + option (google.api.http) = { + get: "/v1alpha/{name=properties/*/adSenseLinks/*}" + }; + option (google.api.method_signature) = "name"; + } - // The number of rows to return. If unspecified, 10,000 rows are returned. The - // API returns a maximum of 100,000 rows per request, no matter how many you - // ask for. `limit` must be positive. - // - // The API may return fewer rows than the requested `limit`, if there aren't - // as many remaining rows as the `limit`. For instance, there are fewer than - // 300 possible values for the dimension `country`, so when reporting on only - // `country`, you can't get more than 300 rows, even if you set `limit` to a - // higher value. - // - // To learn more about this pagination parameter, see - // [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). - int64 limit = 8; + // Creates an AdSenseLink. + rpc CreateAdSenseLink(CreateAdSenseLinkRequest) returns (AdSenseLink) { + option (google.api.http) = { + post: "/v1alpha/{parent=properties/*}/adSenseLinks" + body: "adsense_link" + }; + option (google.api.method_signature) = "parent,adsense_link"; + } - // This request's time zone if specified. If unspecified, the property's time - // zone is used. The request's time zone is used to interpret the start & end - // dates of the report. - // - // Formatted as strings from the IANA Time Zone database - // (https://www.iana.org/time-zones); for example "America/New_York" or - // "Asia/Tokyo". - string time_zone = 9; + // Deletes an AdSenseLink. + rpc DeleteAdSenseLink(DeleteAdSenseLinkRequest) + returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1alpha/{name=properties/*/adSenseLinks/*}" + }; + option (google.api.method_signature) = "name"; + } - // Specifies how rows are ordered in the response. - repeated AccessOrderBy order_bys = 10; + // Lists AdSenseLinks on a property. + rpc ListAdSenseLinks(ListAdSenseLinksRequest) + returns (ListAdSenseLinksResponse) { + option (google.api.http) = { + get: "/v1alpha/{parent=properties/*}/adSenseLinks" + }; + option (google.api.method_signature) = "parent"; + } - // Toggles whether to return the current state of this Analytics Property's - // quota. Quota is returned in [AccessQuota](#AccessQuota). - bool return_entity_quota = 11; -} + // Lookup for a single EventCreateRule. + rpc GetEventCreateRule(GetEventCreateRuleRequest) returns (EventCreateRule) { + option (google.api.http) = { + get: "/v1alpha/{name=properties/*/dataStreams/*/eventCreateRules/*}" + }; + option (google.api.method_signature) = "name"; + } -// The customized Data Access Record Report response. -message RunAccessReportResponse { - // The header for a column in the report that corresponds to a specific - // dimension. The number of DimensionHeaders and ordering of DimensionHeaders - // matches the dimensions present in rows. - repeated AccessDimensionHeader dimension_headers = 1; + // Lists EventCreateRules on a web data stream. + rpc ListEventCreateRules(ListEventCreateRulesRequest) + returns (ListEventCreateRulesResponse) { + option (google.api.http) = { + get: "/v1alpha/{parent=properties/*/dataStreams/*}/eventCreateRules" + }; + option (google.api.method_signature) = "parent"; + } - // The header for a column in the report that corresponds to a specific - // metric. The number of MetricHeaders and ordering of MetricHeaders matches - // the metrics present in rows. - repeated AccessMetricHeader metric_headers = 2; + // Creates an EventCreateRule. + rpc CreateEventCreateRule(CreateEventCreateRuleRequest) + returns (EventCreateRule) { + option (google.api.http) = { + post: "/v1alpha/{parent=properties/*/dataStreams/*}/eventCreateRules" + body: "event_create_rule" + }; + option (google.api.method_signature) = "parent,event_create_rule"; + } - // Rows of dimension value combinations and metric values in the report. - repeated AccessRow rows = 3; + // Updates an EventCreateRule. + rpc UpdateEventCreateRule(UpdateEventCreateRuleRequest) + returns (EventCreateRule) { + option (google.api.http) = { + patch: "/v1alpha/{event_create_rule.name=properties/*/dataStreams/*/eventCreateRules/*}" + body: "event_create_rule" + }; + option (google.api.method_signature) = "event_create_rule,update_mask"; + } - // The total number of rows in the query result. `rowCount` is independent of + // Deletes an EventCreateRule. + rpc DeleteEventCreateRule(DeleteEventCreateRuleRequest) + returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1alpha/{name=properties/*/dataStreams/*/eventCreateRules/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Updates a DataRedactionSettings on a property. + rpc UpdateDataRedactionSettings(UpdateDataRedactionSettingsRequest) + returns (DataRedactionSettings) { + option (google.api.http) = { + patch: "/v1alpha/{data_redaction_settings.name=properties/*/dataStreams/*/dataRedactionSettings}" + body: "data_redaction_settings" + }; + option (google.api.method_signature) = + "data_redaction_settings,update_mask"; + } + + // Lookup for a single DataRedactionSettings. + rpc GetDataRedactionSettings(GetDataRedactionSettingsRequest) + returns (DataRedactionSettings) { + option (google.api.http) = { + get: "/v1alpha/{name=properties/*/dataStreams/*/dataRedactionSettings}" + }; + option (google.api.method_signature) = "name"; + } + + // Lookup for a single CalculatedMetric. + rpc GetCalculatedMetric(GetCalculatedMetricRequest) + returns (CalculatedMetric) { + option (google.api.http) = { + get: "/v1alpha/{name=properties/*/calculatedMetrics/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Creates a CalculatedMetric. + rpc CreateCalculatedMetric(CreateCalculatedMetricRequest) + returns (CalculatedMetric) { + option (google.api.http) = { + post: "/v1alpha/{parent=properties/*}/calculatedMetrics" + body: "calculated_metric" + }; + option (google.api.method_signature) = + "parent,calculated_metric,calculated_metric_id"; + } + + // Lists CalculatedMetrics on a property. + rpc ListCalculatedMetrics(ListCalculatedMetricsRequest) + returns (ListCalculatedMetricsResponse) { + option (google.api.http) = { + get: "/v1alpha/{parent=properties/*}/calculatedMetrics" + }; + option (google.api.method_signature) = "parent"; + } + + // Updates a CalculatedMetric on a property. + rpc UpdateCalculatedMetric(UpdateCalculatedMetricRequest) + returns (CalculatedMetric) { + option (google.api.http) = { + patch: "/v1alpha/{calculated_metric.name=properties/*/calculatedMetrics/*}" + body: "calculated_metric" + }; + option (google.api.method_signature) = "calculated_metric,update_mask"; + } + + // Deletes a CalculatedMetric on a property. + rpc DeleteCalculatedMetric(DeleteCalculatedMetricRequest) + returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1alpha/{name=properties/*/calculatedMetrics/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Create a roll-up property and all roll-up property source links. + rpc CreateRollupProperty(CreateRollupPropertyRequest) + returns (CreateRollupPropertyResponse) { + option (google.api.http) = { + post: "/v1alpha/properties:createRollupProperty" + body: "*" + }; + } + + // Lookup for a single roll-up property source Link. + // Only roll-up properties can have source links, so this method will throw an + // error if used on other types of properties. + rpc GetRollupPropertySourceLink(GetRollupPropertySourceLinkRequest) + returns (RollupPropertySourceLink) { + option (google.api.http) = { + get: "/v1alpha/{name=properties/*/rollupPropertySourceLinks/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Lists roll-up property source Links on a property. + // Only roll-up properties can have source links, so this method will throw an + // error if used on other types of properties. + rpc ListRollupPropertySourceLinks(ListRollupPropertySourceLinksRequest) + returns (ListRollupPropertySourceLinksResponse) { + option (google.api.http) = { + get: "/v1alpha/{parent=properties/*}/rollupPropertySourceLinks" + }; + option (google.api.method_signature) = "parent"; + } + + // Creates a roll-up property source link. + // Only roll-up properties can have source links, so this method will throw an + // error if used on other types of properties. + rpc CreateRollupPropertySourceLink(CreateRollupPropertySourceLinkRequest) + returns (RollupPropertySourceLink) { + option (google.api.http) = { + post: "/v1alpha/{parent=properties/*}/rollupPropertySourceLinks" + body: "rollup_property_source_link" + }; + option (google.api.method_signature) = "parent,rollup_property_source_link"; + } + + // Deletes a roll-up property source link. + // Only roll-up properties can have source links, so this method will throw an + // error if used on other types of properties. + rpc DeleteRollupPropertySourceLink(DeleteRollupPropertySourceLinkRequest) + returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1alpha/{name=properties/*/rollupPropertySourceLinks/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Create a subproperty and a subproperty event filter that applies to the + // created subproperty. + rpc CreateSubproperty(CreateSubpropertyRequest) + returns (CreateSubpropertyResponse) { + option (google.api.http) = { + post: "/v1alpha/properties:createSubproperty" + body: "*" + }; + } + + // Creates a subproperty Event Filter. + rpc CreateSubpropertyEventFilter(CreateSubpropertyEventFilterRequest) + returns (SubpropertyEventFilter) { + option (google.api.http) = { + post: "/v1alpha/{parent=properties/*}/subpropertyEventFilters" + body: "subproperty_event_filter" + }; + option (google.api.method_signature) = "parent,subproperty_event_filter"; + } + + // Lookup for a single subproperty Event Filter. + rpc GetSubpropertyEventFilter(GetSubpropertyEventFilterRequest) + returns (SubpropertyEventFilter) { + option (google.api.http) = { + get: "/v1alpha/{name=properties/*/subpropertyEventFilters/*}" + }; + option (google.api.method_signature) = "name"; + } + + // List all subproperty Event Filters on a property. + rpc ListSubpropertyEventFilters(ListSubpropertyEventFiltersRequest) + returns (ListSubpropertyEventFiltersResponse) { + option (google.api.http) = { + get: "/v1alpha/{parent=properties/*}/subpropertyEventFilters" + }; + option (google.api.method_signature) = "parent"; + } + + // Updates a subproperty Event Filter. + rpc UpdateSubpropertyEventFilter(UpdateSubpropertyEventFilterRequest) + returns (SubpropertyEventFilter) { + option (google.api.http) = { + patch: "/v1alpha/{subproperty_event_filter.name=properties/*/subpropertyEventFilters/*}" + body: "subproperty_event_filter" + }; + option (google.api.method_signature) = + "subproperty_event_filter,update_mask"; + } + + // Deletes a subproperty event filter. + rpc DeleteSubpropertyEventFilter(DeleteSubpropertyEventFilterRequest) + returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1alpha/{name=properties/*/subpropertyEventFilters/*}" + }; + option (google.api.method_signature) = "name"; + } +} + +// The request for a Data Access Record Report. +message RunAccessReportRequest { + // The Data Access Report supports requesting at the property level or account + // level. If requested at the account level, Data Access Reports include all + // access for all properties under that account. + // + // To request at the property level, entity should be for example + // 'properties/123' if "123" is your GA4 property ID. To request at the + // account level, entity should be for example 'accounts/1234' if "1234" is + // your GA4 Account ID. + string entity = 1; + + // The dimensions requested and displayed in the response. Requests are + // allowed up to 9 dimensions. + repeated AccessDimension dimensions = 2; + + // The metrics requested and displayed in the response. Requests are allowed + // up to 10 metrics. + repeated AccessMetric metrics = 3; + + // Date ranges of access records to read. If multiple date ranges are + // requested, each response row will contain a zero based date range index. If + // two date ranges overlap, the access records for the overlapping days is + // included in the response rows for both date ranges. Requests are allowed up + // to 2 date ranges. + repeated AccessDateRange date_ranges = 4; + + // Dimension filters let you restrict report response to specific + // dimension values which match the filter. For example, filtering on access + // records of a single user. To learn more, see [Fundamentals of Dimension + // Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters) + // for examples. Metrics cannot be used in this filter. + AccessFilterExpression dimension_filter = 5; + + // Metric filters allow you to restrict report response to specific metric + // values which match the filter. Metric filters are applied after aggregating + // the report's rows, similar to SQL having-clause. Dimensions cannot be used + // in this filter. + AccessFilterExpression metric_filter = 6; + + // The row count of the start row. The first row is counted as row 0. If + // offset is unspecified, it is treated as 0. If offset is zero, then this + // method will return the first page of results with `limit` entries. + // + // To learn more about this pagination parameter, see + // [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + int64 offset = 7; + + // The number of rows to return. If unspecified, 10,000 rows are returned. The + // API returns a maximum of 100,000 rows per request, no matter how many you + // ask for. `limit` must be positive. + // + // The API may return fewer rows than the requested `limit`, if there aren't + // as many remaining rows as the `limit`. For instance, there are fewer than + // 300 possible values for the dimension `country`, so when reporting on only + // `country`, you can't get more than 300 rows, even if you set `limit` to a + // higher value. + // + // To learn more about this pagination parameter, see + // [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + int64 limit = 8; + + // This request's time zone if specified. If unspecified, the property's time + // zone is used. The request's time zone is used to interpret the start & end + // dates of the report. + // + // Formatted as strings from the IANA Time Zone database + // (https://www.iana.org/time-zones); for example "America/New_York" or + // "Asia/Tokyo". + string time_zone = 9; + + // Specifies how rows are ordered in the response. + repeated AccessOrderBy order_bys = 10; + + // Toggles whether to return the current state of this Analytics Property's + // quota. Quota is returned in [AccessQuota](#AccessQuota). For account-level + // requests, this field must be false. + bool return_entity_quota = 11; + + // Optional. Determines whether to include users who have never made an API + // call in the response. If true, all users with access to the specified + // property or account are included in the response, regardless of whether + // they have made an API call or not. If false, only the users who have made + // an API call will be included. + bool include_all_users = 12 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Decides whether to return the users within user groups. This + // field works only when include_all_users is set to true. If true, it will + // return all users with access to the specified property or account. + // If false, only the users with direct access will be returned. + bool expand_groups = 13 [(google.api.field_behavior) = OPTIONAL]; +} + +// The customized Data Access Record Report response. +message RunAccessReportResponse { + // The header for a column in the report that corresponds to a specific + // dimension. The number of DimensionHeaders and ordering of DimensionHeaders + // matches the dimensions present in rows. + repeated AccessDimensionHeader dimension_headers = 1; + + // The header for a column in the report that corresponds to a specific + // metric. The number of MetricHeaders and ordering of MetricHeaders matches + // the metrics present in rows. + repeated AccessMetricHeader metric_headers = 2; + + // Rows of dimension value combinations and metric values in the report. + repeated AccessRow rows = 3; + + // The total number of rows in the query result. `rowCount` is independent of // the number of rows returned in the response, the `limit` request // parameter, and the `offset` request parameter. For example if a query // returns 175 rows and includes `limit` of 50 in the API request, the @@ -1224,7 +1558,8 @@ message RunAccessReportResponse { // [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). int32 row_count = 4; - // The quota state for this Analytics property including this request. + // The quota state for this Analytics property including this request. This + // field doesn't work with account-level requests. AccessQuota quota = 5; } @@ -1304,7 +1639,7 @@ message ProvisionAccountTicketRequest { Account account = 1; // Redirect URI where the user will be sent after accepting Terms of Service. - // Must be configured in Developers Console as a Redirect URI. + // Must be configured in Cloud Console as a Redirect URI. string redirect_uri = 2; } @@ -1410,319 +1745,95 @@ message DeletePropertyRequest { ]; } -// Request message for GetUserLink RPC. -message GetUserLinkRequest { - // Required. Example format: accounts/1234/userLinks/5678 - string name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "analyticsadmin.googleapis.com/UserLink" - } - ]; -} - -// Request message for BatchGetUserLinks RPC. -message BatchGetUserLinksRequest { - // Required. The account or property that all user links in the request are - // for. The parent of all provided values for the 'names' field must match - // this field. - // Example format: accounts/1234 +// Request message for CreateFirebaseLink RPC +message CreateFirebaseLinkRequest { + // Required. Format: properties/{property_id} + // Example: properties/1234 string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { - child_type: "analyticsadmin.googleapis.com/UserLink" + child_type: "analyticsadmin.googleapis.com/FirebaseLink" } ]; - // Required. The names of the user links to retrieve. - // A maximum of 1000 user links can be retrieved in a batch. - // Format: accounts/{accountId}/userLinks/{userLinkId} - repeated string names = 2 [ + // Required. The Firebase link to create. + FirebaseLink firebase_link = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// Request message for DeleteFirebaseLink RPC +message DeleteFirebaseLinkRequest { + // Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id} + // Example: properties/1234/firebaseLinks/5678 + string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { - type: "analyticsadmin.googleapis.com/UserLink" + type: "analyticsadmin.googleapis.com/FirebaseLink" } ]; } -// Response message for BatchGetUserLinks RPC. -message BatchGetUserLinksResponse { - // The requested user links. - repeated UserLink user_links = 1; -} - -// Request message for ListUserLinks RPC. -message ListUserLinksRequest { - // Required. Example format: accounts/1234 +// Request message for ListFirebaseLinks RPC +message ListFirebaseLinksRequest { + // Required. Format: properties/{property_id} + // Example: properties/1234 string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { - child_type: "analyticsadmin.googleapis.com/UserLink" + child_type: "analyticsadmin.googleapis.com/FirebaseLink" } ]; - // The maximum number of user links to return. - // The service may return fewer than this value. - // If unspecified, at most 200 user links will be returned. - // The maximum value is 500; values above 500 will be coerced to 500. + // The maximum number of resources to return. The service may return + // fewer than this value, even if there are additional pages. + // If unspecified, at most 50 resources will be returned. + // The maximum value is 200; (higher values will be coerced to the maximum) int32 page_size = 2; - // A page token, received from a previous `ListUserLinks` call. + // A page token, received from a previous `ListFirebaseLinks` call. // Provide this to retrieve the subsequent page. - // When paginating, all other parameters provided to `ListUserLinks` must + // When paginating, all other parameters provided to `ListFirebaseLinks` must // match the call that provided the page token. string page_token = 3; } -// Response message for ListUserLinks RPC. -message ListUserLinksResponse { - // List of UserLinks. These will be ordered stably, but in an arbitrary order. - repeated UserLink user_links = 1; +// Response message for ListFirebaseLinks RPC +message ListFirebaseLinksResponse { + // List of FirebaseLinks. This will have at most one value. + repeated FirebaseLink firebase_links = 1; // A token, which can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are no subsequent pages. + // Currently, Google Analytics supports only one FirebaseLink per property, + // so this will never be populated. string next_page_token = 2; } -// Request message for AuditUserLinks RPC. -message AuditUserLinksRequest { - // Required. Example format: accounts/1234 - string parent = 1 [ +// Request message for GetGlobalSiteTag RPC. +message GetGlobalSiteTagRequest { + // Required. The name of the site tag to lookup. + // Note that site tags are singletons and do not have unique IDs. + // Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag + // Example: "properties/123/dataStreams/456/globalSiteTag" + string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { - child_type: "analyticsadmin.googleapis.com/UserLink" + type: "analyticsadmin.googleapis.com/GlobalSiteTag" } ]; +} - // The maximum number of user links to return. - // The service may return fewer than this value. - // If unspecified, at most 1000 user links will be returned. - // The maximum value is 5000; values above 5000 will be coerced to 5000. - int32 page_size = 2; +// Request message for CreateGoogleAdsLink RPC +message CreateGoogleAdsLinkRequest { + // Required. Example format: properties/1234 + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "analyticsadmin.googleapis.com/GoogleAdsLink" + } + ]; - // A page token, received from a previous `AuditUserLinks` call. - // Provide this to retrieve the subsequent page. - // When paginating, all other parameters provided to `AuditUserLinks` must - // match the call that provided the page token. - string page_token = 3; -} - -// Response message for AuditUserLinks RPC. -message AuditUserLinksResponse { - // List of AuditUserLinks. These will be ordered stably, but in an arbitrary - // order. - repeated AuditUserLink user_links = 1; - - // A token, which can be sent as `page_token` to retrieve the next page. - // If this field is omitted, there are no subsequent pages. - string next_page_token = 2; -} - -// Request message for CreateUserLink RPC. -// -// Users can have multiple email addresses associated with their Google -// account, and one of these email addresses is the "primary" email address. -// Any of the email addresses associated with a Google account may be used -// for a new UserLink, but the returned UserLink will always contain the -// "primary" email address. As a result, the input and output email address -// for this request may differ. -message CreateUserLinkRequest { - // Required. Example format: accounts/1234 - string parent = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - child_type: "analyticsadmin.googleapis.com/UserLink" - } - ]; - - // Optional. If set, then email the new user notifying them that they've been - // granted permissions to the resource. - bool notify_new_user = 2 [(google.api.field_behavior) = OPTIONAL]; - - // Required. The user link to create. - UserLink user_link = 3 [(google.api.field_behavior) = REQUIRED]; -} - -// Request message for BatchCreateUserLinks RPC. -message BatchCreateUserLinksRequest { - // Required. The account or property that all user links in the request are - // for. This field is required. The parent field in the CreateUserLinkRequest - // messages must either be empty or match this field. - // Example format: accounts/1234 - string parent = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - child_type: "analyticsadmin.googleapis.com/UserLink" - } - ]; - - // Optional. If set, then email the new users notifying them that they've been - // granted permissions to the resource. Regardless of whether this is set or - // not, notify_new_user field inside each individual request is ignored. - bool notify_new_users = 2 [(google.api.field_behavior) = OPTIONAL]; - - // Required. The requests specifying the user links to create. - // A maximum of 1000 user links can be created in a batch. - repeated CreateUserLinkRequest requests = 3 - [(google.api.field_behavior) = REQUIRED]; -} - -// Response message for BatchCreateUserLinks RPC. -message BatchCreateUserLinksResponse { - // The user links created. - repeated UserLink user_links = 1; -} - -// Request message for UpdateUserLink RPC. -message UpdateUserLinkRequest { - // Required. The user link to update. - UserLink user_link = 1 [(google.api.field_behavior) = REQUIRED]; -} - -// Request message for BatchUpdateUserLinks RPC. -message BatchUpdateUserLinksRequest { - // Required. The account or property that all user links in the request are - // for. The parent field in the UpdateUserLinkRequest messages must either be - // empty or match this field. - // Example format: accounts/1234 - string parent = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - child_type: "analyticsadmin.googleapis.com/UserLink" - } - ]; - - // Required. The requests specifying the user links to update. - // A maximum of 1000 user links can be updated in a batch. - repeated UpdateUserLinkRequest requests = 2 - [(google.api.field_behavior) = REQUIRED]; -} - -// Response message for BatchUpdateUserLinks RPC. -message BatchUpdateUserLinksResponse { - // The user links updated. - repeated UserLink user_links = 1; -} - -// Request message for DeleteUserLink RPC. -message DeleteUserLinkRequest { - // Required. Example format: accounts/1234/userLinks/5678 - string name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "analyticsadmin.googleapis.com/UserLink" - } - ]; -} - -// Request message for BatchDeleteUserLinks RPC. -message BatchDeleteUserLinksRequest { - // Required. The account or property that all user links in the request are - // for. The parent of all values for user link names to delete must match this - // field. - // Example format: accounts/1234 - string parent = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - child_type: "analyticsadmin.googleapis.com/UserLink" - } - ]; - - // Required. The requests specifying the user links to update. - // A maximum of 1000 user links can be updated in a batch. - repeated DeleteUserLinkRequest requests = 2 - [(google.api.field_behavior) = REQUIRED]; -} - -// Request message for CreateFirebaseLink RPC -message CreateFirebaseLinkRequest { - // Required. Format: properties/{property_id} - // Example: properties/1234 - string parent = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - child_type: "analyticsadmin.googleapis.com/FirebaseLink" - } - ]; - - // Required. The Firebase link to create. - FirebaseLink firebase_link = 2 [(google.api.field_behavior) = REQUIRED]; -} - -// Request message for DeleteFirebaseLink RPC -message DeleteFirebaseLinkRequest { - // Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id} - // Example: properties/1234/firebaseLinks/5678 - string name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "analyticsadmin.googleapis.com/FirebaseLink" - } - ]; -} - -// Request message for ListFirebaseLinks RPC -message ListFirebaseLinksRequest { - // Required. Format: properties/{property_id} - // Example: properties/1234 - string parent = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - child_type: "analyticsadmin.googleapis.com/FirebaseLink" - } - ]; - - // The maximum number of resources to return. The service may return - // fewer than this value, even if there are additional pages. - // If unspecified, at most 50 resources will be returned. - // The maximum value is 200; (higher values will be coerced to the maximum) - int32 page_size = 2; - - // A page token, received from a previous `ListFirebaseLinks` call. - // Provide this to retrieve the subsequent page. - // When paginating, all other parameters provided to `ListFirebaseLinks` must - // match the call that provided the page token. - string page_token = 3; -} - -// Response message for ListFirebaseLinks RPC -message ListFirebaseLinksResponse { - // List of FirebaseLinks. This will have at most one value. - repeated FirebaseLink firebase_links = 1; - - // A token, which can be sent as `page_token` to retrieve the next page. - // If this field is omitted, there are no subsequent pages. - // Currently, Google Analytics supports only one FirebaseLink per property, - // so this will never be populated. - string next_page_token = 2; -} - -// Request message for GetGlobalSiteTag RPC. -message GetGlobalSiteTagRequest { - // Required. The name of the site tag to lookup. - // Note that site tags are singletons and do not have unique IDs. - // Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag - // Example: "properties/123/dataStreams/456/globalSiteTag" - string name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "analyticsadmin.googleapis.com/GlobalSiteTag" - } - ]; -} - -// Request message for CreateGoogleAdsLink RPC -message CreateGoogleAdsLinkRequest { - // Required. Example format: properties/1234 - string parent = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - child_type: "analyticsadmin.googleapis.com/GoogleAdsLink" - } - ]; - - // Required. The GoogleAdsLink to create. - GoogleAdsLink google_ads_link = 2 [(google.api.field_behavior) = REQUIRED]; + // Required. The GoogleAdsLink to create. + GoogleAdsLink google_ads_link = 2 [(google.api.field_behavior) = REQUIRED]; } // Request message for UpdateGoogleAdsLink RPC @@ -1847,7 +1958,7 @@ message AcknowledgeUserDataCollectionResponse {} // Request message for SearchChangeHistoryEvents RPC. message SearchChangeHistoryEventsRequest { // Required. The account resource for which to return change history - // resources. + // resources. Format: accounts/{account} Example: "accounts/100" string account = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1857,6 +1968,8 @@ message SearchChangeHistoryEventsRequest { // Optional. Resource name for a child property. If set, only return changes // made to this property or its child resources. + // Format: properties/{propertyId} + // Example: "properties/100" string property = 2 [ (google.api.field_behavior) = OPTIONAL, (google.api.resource_reference) = { @@ -1957,8 +2070,10 @@ message UpdateMeasurementProtocolSecretRequest { MeasurementProtocolSecret measurement_protocol_secret = 1 [(google.api.field_behavior) = REQUIRED]; - // The list of fields to be updated. Omitted fields will not be updated. - google.protobuf.FieldMask update_mask = 2; + // Required. The list of fields to be updated. Omitted fields will not be + // updated. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; } // Request message for ListMeasurementProtocolSecret RPC @@ -1995,6 +2110,102 @@ message ListMeasurementProtocolSecretsResponse { string next_page_token = 2; } +// Request message for GetSKAdNetworkConversionValueSchema RPC. +message GetSKAdNetworkConversionValueSchemaRequest { + // Required. The resource name of SKAdNetwork conversion value schema to look + // up. Format: + // properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema} + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "analyticsadmin.googleapis.com/SKAdNetworkConversionValueSchema" + } + ]; +} + +// Request message for CreateSKAdNetworkConversionValueSchema RPC. +message CreateSKAdNetworkConversionValueSchemaRequest { + // Required. The parent resource where this schema will be created. + // Format: properties/{property}/dataStreams/{dataStream} + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "analyticsadmin.googleapis.com/SKAdNetworkConversionValueSchema" + } + ]; + + // Required. SKAdNetwork conversion value schema to create. + SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 2 + [(google.api.field_behavior) = REQUIRED]; +} + +// Request message for DeleteSKAdNetworkConversionValueSchema RPC. +message DeleteSKAdNetworkConversionValueSchemaRequest { + // Required. The name of the SKAdNetworkConversionValueSchema to delete. + // Format: + // properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema} + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "analyticsadmin.googleapis.com/SKAdNetworkConversionValueSchema" + } + ]; +} + +// Request message for UpdateSKAdNetworkConversionValueSchema RPC. +message UpdateSKAdNetworkConversionValueSchemaRequest { + // Required. SKAdNetwork conversion value schema to update. + SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 1 + [(google.api.field_behavior) = REQUIRED]; + + // Required. The list of fields to be updated. Omitted fields will not be + // updated. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; +} + +// Request message for ListSKAdNetworkConversionValueSchemas RPC +message ListSKAdNetworkConversionValueSchemasRequest { + // Required. The DataStream resource to list schemas for. + // Format: + // properties/{property_id}/dataStreams/{dataStream} + // Example: properties/1234/dataStreams/5678 + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "analyticsadmin.googleapis.com/SKAdNetworkConversionValueSchema" + } + ]; + + // The maximum number of resources to return. The service may return + // fewer than this value, even if there are additional pages. + // If unspecified, at most 50 resources will be returned. + // The maximum value is 200; (higher values will be coerced to the maximum) + int32 page_size = 2; + + // A page token, received from a previous + // `ListSKAdNetworkConversionValueSchemas` call. Provide this to retrieve the + // subsequent page. When paginating, all other parameters provided to + // `ListSKAdNetworkConversionValueSchema` must match the call that provided + // the page token. + string page_token = 3; +} + +// Response message for ListSKAdNetworkConversionValueSchemas RPC +message ListSKAdNetworkConversionValueSchemasResponse { + // List of SKAdNetworkConversionValueSchemas. This will have at most one + // value. + repeated SKAdNetworkConversionValueSchema + skadnetwork_conversion_value_schemas = 1; + + // A token, which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + // Currently, Google Analytics supports only one + // SKAdNetworkConversionValueSchema per dataStream, so this will never be + // populated. + string next_page_token = 2; +} + // Request message for GetGoogleSignalsSettings RPC message GetGoogleSignalsSettingsRequest { // Required. The name of the google signals settings to retrieve. @@ -2037,6 +2248,20 @@ message CreateConversionEventRequest { ]; } +// Request message for UpdateConversionEvent RPC +message UpdateConversionEventRequest { + // Required. The conversion event to update. + // The `name` field is used to identify the settings to be updated. + ConversionEvent conversion_event = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The list of fields to be updated. Field names must be in snake + // case (e.g., "field_to_update"). Omitted fields will not be updated. To + // replace the entire entity, use one path with the string "*" to match all + // fields. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; +} + // Request message for GetConversionEvent RPC message GetConversionEventRequest { // Required. The resource name of the conversion event to retrieve. @@ -2539,42 +2764,140 @@ message GetCustomMetricRequest { ]; } -// Request message for GetDataRetentionSettings RPC. -message GetDataRetentionSettingsRequest { - // Required. The name of the settings to lookup. - // Format: - // properties/{property}/dataRetentionSettings - // Example: "properties/1000/dataRetentionSettings" - string name = 1 [ +// Request message for CreateCalculatedMetric RPC. +message CreateCalculatedMetricRequest { + // Required. Format: properties/{property_id} + // Example: properties/1234 + string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { - type: "analyticsadmin.googleapis.com/DataRetentionSettings" + child_type: "analyticsadmin.googleapis.com/CalculatedMetric" } ]; + + // Required. The ID to use for the calculated metric which will become the + // final component of the calculated metric's resource name. + // + // This value should be 1-80 characters and valid characters are + // /[a-zA-Z0-9_]/, no spaces allowed. calculated_metric_id must be unique + // between all calculated metrics under a property. The calculated_metric_id + // is used when referencing this calculated metric from external APIs, for + // example, "calcMetric:{calculated_metric_id}". + string calculated_metric_id = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The CalculatedMetric to create. + CalculatedMetric calculated_metric = 3 + [(google.api.field_behavior) = REQUIRED]; } -// Request message for UpdateDataRetentionSettings RPC. -message UpdateDataRetentionSettingsRequest { - // Required. The settings to update. - // The `name` field is used to identify the settings to be updated. - DataRetentionSettings data_retention_settings = 1 +// Request message for UpdateCalculatedMetric RPC. +message UpdateCalculatedMetricRequest { + // Required. The CalculatedMetric to update + CalculatedMetric calculated_metric = 1 [(google.api.field_behavior) = REQUIRED]; - // Required. The list of fields to be updated. Field names must be in snake - // case (e.g., "field_to_update"). Omitted fields will not be updated. To - // replace the entire entity, use one path with the string "*" to match all - // fields. + // Required. The list of fields to be updated. Omitted fields will not be + // updated. To replace the entire entity, use one path with the string "*" to + // match all fields. google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; } -// Request message for CreateDataStream RPC. -message CreateDataStreamRequest { +// Request message for DeleteCalculatedMetric RPC. +message DeleteCalculatedMetricRequest { + // Required. The name of the CalculatedMetric to delete. + // Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} + // Example: properties/1234/calculatedMetrics/Metric01 + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "analyticsadmin.googleapis.com/CalculatedMetric" + } + ]; +} + +// Request message for ListCalculatedMetrics RPC. +message ListCalculatedMetricsRequest { // Required. Example format: properties/1234 string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { - child_type: "analyticsadmin.googleapis.com/DataStream" + child_type: "analyticsadmin.googleapis.com/CalculatedMetric" + } + ]; + + // Optional. The maximum number of resources to return. + // If unspecified, at most 50 resources will be returned. + // The maximum value is 200 (higher values will be coerced to the maximum). + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. A page token, received from a previous `ListCalculatedMetrics` + // call. Provide this to retrieve the subsequent page. + // + // When paginating, all other parameters provided to `ListCalculatedMetrics` + // must match the call that provided the page token. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// Response message for ListCalculatedMetrics RPC. +message ListCalculatedMetricsResponse { + // List of CalculatedMetrics. + repeated CalculatedMetric calculated_metrics = 1; + + // A token, which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; +} + +// Request message for GetCalculatedMetric RPC. +message GetCalculatedMetricRequest { + // Required. The name of the CalculatedMetric to get. + // Format: properties/{property_id}/calculatedMetrics/{calculated_metric_id} + // Example: properties/1234/calculatedMetrics/Metric01 + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "analyticsadmin.googleapis.com/CalculatedMetric" + } + ]; +} + +// Request message for GetDataRetentionSettings RPC. +message GetDataRetentionSettingsRequest { + // Required. The name of the settings to lookup. + // Format: + // properties/{property}/dataRetentionSettings + // Example: "properties/1000/dataRetentionSettings" + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "analyticsadmin.googleapis.com/DataRetentionSettings" + } + ]; +} + +// Request message for UpdateDataRetentionSettings RPC. +message UpdateDataRetentionSettingsRequest { + // Required. The settings to update. + // The `name` field is used to identify the settings to be updated. + DataRetentionSettings data_retention_settings = 1 + [(google.api.field_behavior) = REQUIRED]; + + // Required. The list of fields to be updated. Field names must be in snake + // case (e.g., "field_to_update"). Omitted fields will not be updated. To + // replace the entire entity, use one path with the string "*" to match all + // fields. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; +} + +// Request message for CreateDataStream RPC. +message CreateDataStreamRequest { + // Required. Example format: properties/1234 + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "analyticsadmin.googleapis.com/DataStream" } ]; @@ -2896,8 +3219,9 @@ message UpdateAccessBindingRequest { // Request message for BatchUpdateAccessBindings RPC. message BatchUpdateAccessBindingsRequest { // Required. The account or property that owns the access bindings. The parent - // field in the UpdateAccessBindingRequest messages must either be empty or - // match this field. Formats: + // of all provided AccessBinding in UpdateAccessBindingRequest messages must + // match this field. + // Formats: // - accounts/{account} // - properties/{property} string parent = 1 [ @@ -2935,8 +3259,8 @@ message DeleteAccessBindingRequest { // Request message for BatchDeleteAccessBindings RPC. message BatchDeleteAccessBindingsRequest { // Required. The account or property that owns the access bindings. The parent - // field in the DeleteAccessBindingRequest messages must either be empty or - // match this field. Formats: + // of all provided values for the 'names' field in DeleteAccessBindingRequest + // messages must match this field. Formats: // - accounts/{account} // - properties/{property} string parent = 1 [ @@ -2996,7 +3320,7 @@ message DeleteExpandedDataSetRequest { // Request message for GetExpandedDataSet RPC. message GetExpandedDataSetRequest { - // Required. The name of the Audience to get. + // Required. The name of the ExpandedDataSet to get. // Example format: properties/1234/expandedDataSets/5678 string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -3040,6 +3364,95 @@ message ListExpandedDataSetsResponse { string next_page_token = 2; } +// Request message for CreateChannelGroup RPC. +message CreateChannelGroupRequest { + // Required. The property for which to create a ChannelGroup. + // Example format: properties/1234 + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "analyticsadmin.googleapis.com/ChannelGroup" + } + ]; + + // Required. The ChannelGroup to create. + ChannelGroup channel_group = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// Request message for UpdateChannelGroup RPC. +message UpdateChannelGroupRequest { + // Required. The ChannelGroup to update. + // The resource's `name` field is used to identify the ChannelGroup to be + // updated. + ChannelGroup channel_group = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The list of fields to be updated. Field names must be in snake + // case (e.g., "field_to_update"). Omitted fields will not be updated. To + // replace the entire entity, use one path with the string "*" to match all + // fields. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; +} + +// Request message for DeleteChannelGroup RPC. +message DeleteChannelGroupRequest { + // Required. The ChannelGroup to delete. + // Example format: properties/1234/channelGroups/5678 + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "analyticsadmin.googleapis.com/ChannelGroup" + } + ]; +} + +// Request message for GetChannelGroup RPC. +message GetChannelGroupRequest { + // Required. The ChannelGroup to get. + // Example format: properties/1234/channelGroups/5678 + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "analyticsadmin.googleapis.com/ChannelGroup" + } + ]; +} + +// Request message for ListChannelGroups RPC. +message ListChannelGroupsRequest { + // Required. The property for which to list ChannelGroups. + // Example format: properties/1234 + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "analyticsadmin.googleapis.com/ChannelGroup" + } + ]; + + // The maximum number of resources to return. + // If unspecified, at most 50 resources will be returned. + // The maximum value is 200 (higher values will be coerced to the maximum). + int32 page_size = 2; + + // A page token, received from a previous `ListChannelGroups` call. Provide + // this to retrieve the subsequent page. + // + // When paginating, all other parameters provided to `ListChannelGroups` + // must match the call that provided the page token. + string page_token = 3; +} + +// Response message for ListChannelGroups RPC. +message ListChannelGroupsResponse { + // List of ChannelGroup. These will be ordered stably, but in an arbitrary + // order. + repeated ChannelGroup channel_groups = 1; + + // A token, which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; +} + // Request for setting the opt out status for the automated GA4 setup process. message SetAutomatedGa4ConfigurationOptOutRequest { // Required. The UA property to set the opt out status. Note this request uses @@ -3119,3 +3532,519 @@ message ListBigQueryLinksResponse { // If this field is omitted, there are no subsequent pages. string next_page_token = 2; } + +// Request message for GetEnhancedMeasurementSettings RPC. +message GetEnhancedMeasurementSettingsRequest { + // Required. The name of the settings to lookup. + // Format: + // properties/{property}/dataStreams/{data_stream}/enhancedMeasurementSettings + // Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings" + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "analyticsadmin.googleapis.com/EnhancedMeasurementSettings" + } + ]; +} + +// Request message for UpdateEnhancedMeasurementSettings RPC. +message UpdateEnhancedMeasurementSettingsRequest { + // Required. The settings to update. + // The `name` field is used to identify the settings to be updated. + EnhancedMeasurementSettings enhanced_measurement_settings = 1 + [(google.api.field_behavior) = REQUIRED]; + + // Required. The list of fields to be updated. Field names must be in snake + // case (e.g., "field_to_update"). Omitted fields will not be updated. To + // replace the entire entity, use one path with the string "*" to match all + // fields. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; +} + +// Request message for GetDataRedactionSettings RPC. +message GetDataRedactionSettingsRequest { + // Required. The name of the settings to lookup. + // Format: + // properties/{property}/dataStreams/{data_stream}/dataRedactionSettings + // Example: "properties/1000/dataStreams/2000/dataRedactionSettings" + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "analyticsadmin.googleapis.com/DataRedactionSettings" + } + ]; +} + +// Request message for UpdateDataRedactionSettings RPC. +message UpdateDataRedactionSettingsRequest { + // Required. The settings to update. + // The `name` field is used to identify the settings to be updated. + DataRedactionSettings data_redaction_settings = 1 + [(google.api.field_behavior) = REQUIRED]; + + // Required. The list of fields to be updated. Field names must be in snake + // case (e.g., "field_to_update"). Omitted fields will not be updated. To + // replace the entire entity, use one path with the string "*" to match all + // fields. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; +} + +// Request message for CreateConnectedSiteTag RPC. +message CreateConnectedSiteTagRequest { + // The Universal Analytics property to create connected site tags for. + // This API does not support GA4 properties. + // Format: properties/{universalAnalyticsPropertyId} + // Example: properties/1234 + string property = 1; + + // Required. The tag to add to the Universal Analytics property + ConnectedSiteTag connected_site_tag = 2 + [(google.api.field_behavior) = REQUIRED]; +} + +// Response message for CreateConnectedSiteTag RPC. +message CreateConnectedSiteTagResponse {} + +// Request message for DeleteConnectedSiteTag RPC. +message DeleteConnectedSiteTagRequest { + // The Universal Analytics property to delete connected site tags for. + // This API does not support GA4 properties. + // Format: properties/{universalAnalyticsPropertyId} + // Example: properties/1234 + string property = 1; + + // Tag ID to forward events to. Also known as the Measurement ID, or the + // "G-ID" (For example: G-12345). + string tag_id = 2; +} + +// Request message for ListConnectedSiteTags RPC. +message ListConnectedSiteTagsRequest { + // The Universal Analytics property to fetch connected site tags for. + // This does not work on GA4 properties. A maximum of 20 connected site tags + // will be returned. + // Example Format: `properties/1234` + string property = 1; +} + +// Response message for ListConnectedSiteTags RPC. +message ListConnectedSiteTagsResponse { + // The site tags for the Universal Analytics property. A maximum of 20 + // connected site tags will be returned. + repeated ConnectedSiteTag connected_site_tags = 1; +} + +// Request message to be passed to CreateAdSenseLink method. +message CreateAdSenseLinkRequest { + // Required. The property for which to create an AdSense Link. + // Format: properties/{propertyId} + // Example: properties/1234 + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "analyticsadmin.googleapis.com/AdSenseLink" + } + ]; + + // Required. The AdSense Link to create + AdSenseLink adsense_link = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// Request message to be passed to GetAdSenseLink method. +message GetAdSenseLinkRequest { + // Required. Unique identifier for the AdSense Link requested. + // Format: properties/{propertyId}/adSenseLinks/{linkId} + // Example: properties/1234/adSenseLinks/5678 + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "analyticsadmin.googleapis.com/AdSenseLink" + } + ]; +} + +// Request message to be passed to DeleteAdSenseLink method. +message DeleteAdSenseLinkRequest { + // Required. Unique identifier for the AdSense Link to be deleted. + // Format: properties/{propertyId}/adSenseLinks/{linkId} + // Example: properties/1234/adSenseLinks/5678 + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "analyticsadmin.googleapis.com/AdSenseLink" + } + ]; +} + +// Request message to be passed to ListAdSenseLinks method. +message ListAdSenseLinksRequest { + // Required. Resource name of the parent property. + // Format: properties/{propertyId} + // Example: properties/1234 + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "analyticsadmin.googleapis.com/AdSenseLink" + } + ]; + + // The maximum number of resources to return. + // If unspecified, at most 50 resources will be returned. + // The maximum value is 200 (higher values will be coerced to the maximum). + int32 page_size = 2; + + // A page token received from a previous `ListAdSenseLinks` call. + // Provide this to retrieve the subsequent page. + // + // When paginating, all other parameters provided to `ListAdSenseLinks` must + // match the call that provided the page token. + string page_token = 3; +} + +// Response message for ListAdSenseLinks method. +message ListAdSenseLinksResponse { + // List of AdSenseLinks. + repeated AdSenseLink adsense_links = 1; + + // A token, which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; +} + +// Request for looking up GA4 property connected to a UA property. +message FetchConnectedGa4PropertyRequest { + // Required. The UA property for which to look up the connected GA4 property. + // Note this request uses the + // internal property ID, not the tracking ID of the form UA-XXXXXX-YY. + // Format: properties/{internal_web_property_id} + // Example: properties/1234 + string property = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "analyticsadmin.googleapis.com/Property" + } + ]; +} + +// Response for looking up GA4 property connected to a UA property. +message FetchConnectedGa4PropertyResponse { + // The GA4 property connected to the UA property. An empty string is returned + // when there is no connected GA4 property. + // Format: properties/{property_id} + // Example: properties/1234 + string property = 1 [(google.api.resource_reference) = { + type: "analyticsadmin.googleapis.com/Property" + }]; +} + +// Request message for CreateEventCreateRule RPC. +message CreateEventCreateRuleRequest { + // Required. Example format: properties/123/dataStreams/456 + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "analyticsadmin.googleapis.com/EventCreateRule" + } + ]; + + // Required. The EventCreateRule to create. + EventCreateRule event_create_rule = 2 + [(google.api.field_behavior) = REQUIRED]; +} + +// Request message for UpdateEventCreateRule RPC. +message UpdateEventCreateRuleRequest { + // Required. The EventCreateRule to update. + // The resource's `name` field is used to identify the EventCreateRule to be + // updated. + EventCreateRule event_create_rule = 1 + [(google.api.field_behavior) = REQUIRED]; + + // Required. The list of fields to be updated. Field names must be in snake + // case (e.g., "field_to_update"). Omitted fields will not be updated. To + // replace the entire entity, use one path with the string "*" to match all + // fields. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; +} + +// Request message for DeleteEventCreateRule RPC. +message DeleteEventCreateRuleRequest { + // Required. Example format: + // properties/123/dataStreams/456/eventCreateRules/789 + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "analyticsadmin.googleapis.com/EventCreateRule" + } + ]; +} + +// Request message for GetEventCreateRule RPC. +message GetEventCreateRuleRequest { + // Required. The name of the EventCreateRule to get. + // Example format: properties/123/dataStreams/456/eventCreateRules/789 + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "analyticsadmin.googleapis.com/EventCreateRule" + } + ]; +} + +// Request message for ListEventCreateRules RPC. +message ListEventCreateRulesRequest { + // Required. Example format: properties/123/dataStreams/456 + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "analyticsadmin.googleapis.com/EventCreateRule" + } + ]; + + // The maximum number of resources to return. + // If unspecified, at most 50 resources will be returned. + // The maximum value is 200 (higher values will be coerced to the maximum). + int32 page_size = 2; + + // A page token, received from a previous `ListEventCreateRules` call. Provide + // this to retrieve the subsequent page. + // + // When paginating, all other parameters provided to `ListEventCreateRules` + // must match the call that provided the page token. + string page_token = 3; +} + +// Response message for ListEventCreateRules RPC. +message ListEventCreateRulesResponse { + // List of EventCreateRules. These will be ordered stably, but in an arbitrary + // order. + repeated EventCreateRule event_create_rules = 1; + + // A token, which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; +} + +// Request message for CreateRollupProperty RPC. +message CreateRollupPropertyRequest { + // Required. The roll-up property to create. + Property rollup_property = 1 [(google.api.field_behavior) = REQUIRED]; + + // Optional. The resource names of properties that will be sources to the + // created roll-up property. + repeated string source_properties = 2 + [(google.api.field_behavior) = OPTIONAL]; +} + +// Response message for CreateRollupProperty RPC. +message CreateRollupPropertyResponse { + // The created roll-up property. + Property rollup_property = 1; + + // The created roll-up property source links. + repeated RollupPropertySourceLink rollup_property_source_links = 2; +} + +// Request message for GetRollupPropertySourceLink RPC. +message GetRollupPropertySourceLinkRequest { + // Required. The name of the roll-up property source link to lookup. + // Format: + // properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} + // Example: properties/123/rollupPropertySourceLinks/456 + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "analyticsadmin.googleapis.com/RollupPropertySourceLink" + } + ]; +} + +// Request message for ListRollupPropertySourceLinks RPC. +message ListRollupPropertySourceLinksRequest { + // Required. The name of the roll-up property to list roll-up property source + // links under. Format: properties/{property_id} Example: properties/1234 + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "analyticsadmin.googleapis.com/RollupPropertySourceLink" + } + ]; + + // Optional. The maximum number of resources to return. The service may return + // fewer than this value, even if there are additional pages. + // If unspecified, at most 50 resources will be returned. + // The maximum value is 200; (higher values will be coerced to the maximum) + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. A page token, received from a previous + // `ListRollupPropertySourceLinks` call. Provide this to retrieve the + // subsequent page. When paginating, all other parameters provided to + // `ListRollupPropertySourceLinks` must match the call that provided the page + // token. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// Response message for ListRollupPropertySourceLinks RPC. +message ListRollupPropertySourceLinksResponse { + // List of RollupPropertySourceLinks. + repeated RollupPropertySourceLink rollup_property_source_links = 1; + + // A token, which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; +} + +// Request message for CreateRollupPropertySourceLink RPC. +message CreateRollupPropertySourceLinkRequest { + // Required. Format: properties/{property_id} + // Example: properties/1234 + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "analyticsadmin.googleapis.com/RollupPropertySourceLink" + } + ]; + + // Required. The roll-up property source link to create. + RollupPropertySourceLink rollup_property_source_link = 2 + [(google.api.field_behavior) = REQUIRED]; +} + +// Request message for DeleteRollupPropertySourceLink RPC. +message DeleteRollupPropertySourceLinkRequest { + // Required. Format: + // properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} + // Example: properties/1234/rollupPropertySourceLinks/5678 + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "analyticsadmin.googleapis.com/RollupPropertySourceLink" + } + ]; +} + +// Request message for CreateSubproperty RPC. +message CreateSubpropertyRequest { + // Required. The ordinary property for which to create a subproperty. + // Format: properties/property_id + // Example: properties/123 + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "analyticsadmin.googleapis.com/Property" + } + ]; + + // Required. The subproperty to create. + Property subproperty = 2 [(google.api.field_behavior) = REQUIRED]; + + // Optional. The subproperty event filter to create on an ordinary property. + SubpropertyEventFilter subproperty_event_filter = 3 + [(google.api.field_behavior) = OPTIONAL]; +} + +// Response message for CreateSubproperty RPC. +message CreateSubpropertyResponse { + // The created subproperty. + Property subproperty = 1; + + // The created subproperty event filter. + SubpropertyEventFilter subproperty_event_filter = 2; +} + +// Request message for CreateSubpropertyEventFilter RPC. +message CreateSubpropertyEventFilterRequest { + // Required. The ordinary property for which to create a subproperty event + // filter. Format: properties/property_id Example: properties/123 + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "analyticsadmin.googleapis.com/SubpropertyEventFilter" + } + ]; + + // Required. The subproperty event filter to create. + SubpropertyEventFilter subproperty_event_filter = 2 + [(google.api.field_behavior) = REQUIRED]; +} + +// Request message for GetSubpropertyEventFilter RPC. +message GetSubpropertyEventFilterRequest { + // Required. Resource name of the subproperty event filter to lookup. + // Format: + // properties/property_id/subpropertyEventFilters/subproperty_event_filter + // Example: properties/123/subpropertyEventFilters/456 + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "analyticsadmin.googleapis.com/SubpropertyEventFilter" + } + ]; +} + +// Request message for ListSubpropertyEventFilters RPC. +message ListSubpropertyEventFiltersRequest { + // Required. Resource name of the ordinary property. + // Format: properties/property_id + // Example: properties/123 + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "analyticsadmin.googleapis.com/SubpropertyEventFilter" + } + ]; + + // Optional. The maximum number of resources to return. The service may return + // fewer than this value, even if there are additional pages. If unspecified, + // at most 50 resources will be returned. The maximum value is 200; (higher + // values will be coerced to the maximum) + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. A page token, received from a previous + // `ListSubpropertyEventFilters` call. Provide this to retrieve the subsequent + // page. When paginating, all other parameters provided to + // `ListSubpropertyEventFilters` must match the call that provided the page + // token. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// Response message for ListSubpropertyEventFilter RPC. +message ListSubpropertyEventFiltersResponse { + // List of subproperty event filters. + repeated SubpropertyEventFilter subproperty_event_filters = 1; + + // A token, which can be sent as `page_token` to retrieve the next page. If + // this field is omitted, there are no subsequent pages. + string next_page_token = 2; +} + +// Request message for UpdateSubpropertyEventFilter RPC. +message UpdateSubpropertyEventFilterRequest { + // Required. The subproperty event filter to update. + SubpropertyEventFilter subproperty_event_filter = 1 + [(google.api.field_behavior) = REQUIRED]; + + // Required. The list of fields to update. Field names must be in snake case + // (for example, "field_to_update"). Omitted fields will not be updated. To + // replace the entire entity, use one path with the string "*" to match all + // fields. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; +} + +// Request message for DeleteSubpropertyEventFilter RPC. +message DeleteSubpropertyEventFilterRequest { + // Required. Resource name of the subproperty event filter to delete. + // Format: + // properties/property_id/subpropertyEventFilters/subproperty_event_filter + // Example: properties/123/subpropertyEventFilters/456 + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "analyticsadmin.googleapis.com/SubpropertyEventFilter" + } + ]; +} diff --git a/third_party/googleapis/google/analytics/admin/v1alpha/analyticsadmin.yaml b/third_party/googleapis/google/analytics/admin/v1alpha/analyticsadmin.yaml deleted file mode 100644 index d74aa8bac..000000000 --- a/third_party/googleapis/google/analytics/admin/v1alpha/analyticsadmin.yaml +++ /dev/null @@ -1,198 +0,0 @@ -type: google.api.Service -config_version: 3 -name: analyticsadmin.googleapis.com -title: Google Analytics Admin API - -apis: -- name: google.analytics.admin.v1alpha.AnalyticsAdminService - -authentication: - rules: - - selector: 'google.analytics.admin.v1alpha.AnalyticsAdminService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.AuditUserLinks - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.manage.users, - https://www.googleapis.com/auth/analytics.manage.users.readonly - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.BatchCreateUserLinks - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.manage.users - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.BatchDeleteUserLinks - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.manage.users - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.BatchGetUserLinks - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.manage.users, - https://www.googleapis.com/auth/analytics.manage.users.readonly - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.BatchUpdateUserLinks - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.manage.users - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.CreateUserLink - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.manage.users - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteUserLink - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.manage.users - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.GetAccount - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.GetAttributionSettings - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.GetAudience - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.GetConversionEvent - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.GetCustomDimension - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.GetCustomMetric - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.GetDataRetentionSettings - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.GetDataSharingSettings - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.GetDataStream - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.GetDisplayVideo360AdvertiserLink - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.GetDisplayVideo360AdvertiserLinkProposal - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.GetGlobalSiteTag - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.GetGoogleSignalsSettings - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.GetMeasurementProtocolSecret - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.GetProperty - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.GetUserLink - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.manage.users, - https://www.googleapis.com/auth/analytics.manage.users.readonly - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.ListAccountSummaries - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.ListAccounts - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.ListAudiences - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.ListConversionEvents - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.ListCustomDimensions - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.ListCustomMetrics - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.ListDataStreams - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.ListDisplayVideo360AdvertiserLinkProposals - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.ListDisplayVideo360AdvertiserLinks - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.ListFirebaseLinks - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.ListGoogleAdsLinks - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.ListMeasurementProtocolSecrets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.ListProperties - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.ListUserLinks - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.manage.users, - https://www.googleapis.com/auth/analytics.manage.users.readonly - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateUserLink - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.manage.users diff --git a/third_party/googleapis/google/analytics/admin/v1alpha/analyticsadmin_v1alpha.yaml b/third_party/googleapis/google/analytics/admin/v1alpha/analyticsadmin_v1alpha.yaml index 1bebd3836..16403cd60 100644 --- a/third_party/googleapis/google/analytics/admin/v1alpha/analyticsadmin_v1alpha.yaml +++ b/third_party/googleapis/google/analytics/admin/v1alpha/analyticsadmin_v1alpha.yaml @@ -6,68 +6,53 @@ title: Google Analytics Admin API apis: - name: google.analytics.admin.v1alpha.AnalyticsAdminService +documentation: + summary: |- + Manage properties in Google Analytics. Warning: Creating multiple Customer + Applications, Accounts, or Projects to simulate or act as a single + Customer Application, Account, or Project (respectively) or to circumvent + Service-specific usage limits or quotas is a direct violation of Google + Cloud Platform Terms of Service as well as Google APIs Terms of Service. + These actions can result in immediate termination of your GCP project(s) + without any warning. + authentication: rules: - selector: 'google.analytics.admin.v1alpha.AnalyticsAdminService.*' oauth: canonical_scopes: |- https://www.googleapis.com/auth/analytics.edit - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.AuditUserLinks - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.manage.users, - https://www.googleapis.com/auth/analytics.manage.users.readonly - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.BatchCreateAccessBindings oauth: canonical_scopes: |- https://www.googleapis.com/auth/analytics.manage.users - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.BatchCreateUserLinks - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.manage.users - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.BatchDeleteAccessBindings oauth: canonical_scopes: |- https://www.googleapis.com/auth/analytics.manage.users - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.BatchDeleteUserLinks - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.manage.users - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.BatchGetAccessBindings oauth: canonical_scopes: |- https://www.googleapis.com/auth/analytics.manage.users, https://www.googleapis.com/auth/analytics.manage.users.readonly - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.BatchGetUserLinks - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.manage.users, - https://www.googleapis.com/auth/analytics.manage.users.readonly - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.BatchUpdateAccessBindings oauth: canonical_scopes: |- https://www.googleapis.com/auth/analytics.manage.users - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.BatchUpdateUserLinks - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.manage.users - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.CreateAccessBinding oauth: canonical_scopes: |- https://www.googleapis.com/auth/analytics.manage.users - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.CreateUserLink - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.manage.users - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteAccessBinding oauth: canonical_scopes: |- https://www.googleapis.com/auth/analytics.manage.users - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.DeleteUserLink + - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.FetchAutomatedGa4ConfigurationOptOut oauth: canonical_scopes: |- - https://www.googleapis.com/auth/analytics.manage.users - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.FetchAutomatedGa4ConfigurationOptOut + https://www.googleapis.com/auth/analytics.edit, + https://www.googleapis.com/auth/analytics.readonly + - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.FetchConnectedGa4Property oauth: canonical_scopes: |- https://www.googleapis.com/auth/analytics.edit, @@ -82,6 +67,11 @@ authentication: canonical_scopes: |- https://www.googleapis.com/auth/analytics.edit, https://www.googleapis.com/auth/analytics.readonly + - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.GetAdSenseLink + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/analytics.edit, + https://www.googleapis.com/auth/analytics.readonly - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.GetAttributionSettings oauth: canonical_scopes: |- @@ -97,6 +87,16 @@ authentication: canonical_scopes: |- https://www.googleapis.com/auth/analytics.edit, https://www.googleapis.com/auth/analytics.readonly + - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.GetCalculatedMetric + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/analytics.edit, + https://www.googleapis.com/auth/analytics.readonly + - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.GetChannelGroup + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/analytics.edit, + https://www.googleapis.com/auth/analytics.readonly - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.GetConversionEvent oauth: canonical_scopes: |- @@ -112,6 +112,11 @@ authentication: canonical_scopes: |- https://www.googleapis.com/auth/analytics.edit, https://www.googleapis.com/auth/analytics.readonly + - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.GetDataRedactionSettings + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/analytics.edit, + https://www.googleapis.com/auth/analytics.readonly - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.GetDataRetentionSettings oauth: canonical_scopes: |- @@ -137,6 +142,16 @@ authentication: canonical_scopes: |- https://www.googleapis.com/auth/analytics.edit, https://www.googleapis.com/auth/analytics.readonly + - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.GetEnhancedMeasurementSettings + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/analytics.edit, + https://www.googleapis.com/auth/analytics.readonly + - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.GetEventCreateRule + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/analytics.edit, + https://www.googleapis.com/auth/analytics.readonly - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.GetExpandedDataSet oauth: canonical_scopes: |- @@ -162,16 +177,26 @@ authentication: canonical_scopes: |- https://www.googleapis.com/auth/analytics.edit, https://www.googleapis.com/auth/analytics.readonly + - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.GetRollupPropertySourceLink + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/analytics.edit, + https://www.googleapis.com/auth/analytics.readonly + - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.GetSKAdNetworkConversionValueSchema + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/analytics.edit, + https://www.googleapis.com/auth/analytics.readonly - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.GetSearchAds360Link oauth: canonical_scopes: |- https://www.googleapis.com/auth/analytics.edit, https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.GetUserLink + - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.GetSubpropertyEventFilter oauth: canonical_scopes: |- - https://www.googleapis.com/auth/analytics.manage.users, - https://www.googleapis.com/auth/analytics.manage.users.readonly + https://www.googleapis.com/auth/analytics.edit, + https://www.googleapis.com/auth/analytics.readonly - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.ListAccessBindings oauth: canonical_scopes: |- @@ -187,6 +212,11 @@ authentication: canonical_scopes: |- https://www.googleapis.com/auth/analytics.edit, https://www.googleapis.com/auth/analytics.readonly + - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.ListAdSenseLinks + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/analytics.edit, + https://www.googleapis.com/auth/analytics.readonly - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.ListAudiences oauth: canonical_scopes: |- @@ -197,6 +227,21 @@ authentication: canonical_scopes: |- https://www.googleapis.com/auth/analytics.edit, https://www.googleapis.com/auth/analytics.readonly + - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.ListCalculatedMetrics + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/analytics.edit, + https://www.googleapis.com/auth/analytics.readonly + - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.ListChannelGroups + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/analytics.edit, + https://www.googleapis.com/auth/analytics.readonly + - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.ListConnectedSiteTags + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/analytics.edit, + https://www.googleapis.com/auth/analytics.readonly - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.ListConversionEvents oauth: canonical_scopes: |- @@ -227,6 +272,11 @@ authentication: canonical_scopes: |- https://www.googleapis.com/auth/analytics.edit, https://www.googleapis.com/auth/analytics.readonly + - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.ListEventCreateRules + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/analytics.edit, + https://www.googleapis.com/auth/analytics.readonly - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.ListExpandedDataSets oauth: canonical_scopes: |- @@ -252,16 +302,26 @@ authentication: canonical_scopes: |- https://www.googleapis.com/auth/analytics.edit, https://www.googleapis.com/auth/analytics.readonly + - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.ListRollupPropertySourceLinks + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/analytics.edit, + https://www.googleapis.com/auth/analytics.readonly + - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.ListSKAdNetworkConversionValueSchemas + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/analytics.edit, + https://www.googleapis.com/auth/analytics.readonly - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.ListSearchAds360Links oauth: canonical_scopes: |- https://www.googleapis.com/auth/analytics.edit, https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.ListUserLinks + - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.ListSubpropertyEventFilters oauth: canonical_scopes: |- - https://www.googleapis.com/auth/analytics.manage.users, - https://www.googleapis.com/auth/analytics.manage.users.readonly + https://www.googleapis.com/auth/analytics.edit, + https://www.googleapis.com/auth/analytics.readonly - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.RunAccessReport oauth: canonical_scopes: |- @@ -271,17 +331,3 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/analytics.manage.users - - selector: google.analytics.admin.v1alpha.AnalyticsAdminService.UpdateUserLink - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.manage.users - -publishing: - organization: CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED - new_issue_uri: '' - documentation_uri: '' - api_short_name: '' - github_label: '' - doc_tag_prefix: '' - codeowner_github_teams: - library_settings: diff --git a/third_party/googleapis/google/analytics/admin/v1alpha/audience.proto b/third_party/googleapis/google/analytics/admin/v1alpha/audience.proto index cc3c73295..3478ce9dc 100644 --- a/third_party/googleapis/google/analytics/admin/v1alpha/audience.proto +++ b/third_party/googleapis/google/analytics/admin/v1alpha/audience.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/duration.proto"; -option go_package = "google.golang.org/genproto/googleapis/analytics/admin/v1alpha;admin"; +option go_package = "cloud.google.com/go/analytics/admin/apiv1alpha/adminpb;adminpb"; option java_multiple_files = true; option java_outer_classname = "AudienceProto"; option java_package = "com.google.analytics.admin.v1alpha"; @@ -153,7 +153,12 @@ message AudienceDimensionOrMetricFilter { BetweenFilter between_filter = 5; } - // Required. Immutable. The dimension name or metric name to filter. + // Required. Immutable. The dimension name or metric name to filter. If the + // field name refers to a custom dimension or metric, a scope prefix will be + // added to the front of the custom dimensions or metric name. For more on + // scope prefixes or custom dimensions/metrics, reference the [Google + // Analytics Data API documentation] + // (https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#custom_dimensions). string field_name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.field_behavior) = IMMUTABLE @@ -170,7 +175,7 @@ message AudienceDimensionOrMetricFilter { // Optional. If set, specifies the time window for which to evaluate data in // number of days. If not set, then audience data is evaluated against - // lifetime data (i.e., infinite time window). + // lifetime data (For example, infinite time window). // // For example, if set to 1 day, only the current day's data is evaluated. The // reference point is the current day when at_any_point_in_time is unset or @@ -193,7 +198,7 @@ message AudienceEventFilter { // Optional. If specified, this filter matches events that match both the // single event name and the parameter filter expressions. AudienceEventFilter - // inside the parameter filter expression cannot be set (i.e., nested + // inside the parameter filter expression cannot be set (For example, nested // event filters are not supported). This should be a single and_group of // dimension_or_metric_filter or not_expression; ANDs of ORs are not // supported. Also, if it includes a filter for "eventCount", only that one @@ -215,9 +220,9 @@ message AudienceFilterExpression { // AudienceFilterExpressions with and_group or or_group. AudienceFilterExpressionList or_group = 2; - // A filter expression to be NOT'ed (i.e., inverted, complemented). It - // can only include a dimension_or_metric_filter. This cannot be set on the - // top level AudienceFilterExpression. + // A filter expression to be NOT'ed (For example, inverted, complemented). + // It can only include a dimension_or_metric_filter. This cannot be set on + // the top level AudienceFilterExpression. AudienceFilterExpression not_expression = 3; // A filter on a single dimension or metric. This cannot be set on the top @@ -273,7 +278,7 @@ message AudienceSequenceFilter { bool immediately_follows = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. When set, this step must be satisfied within the - // constraint_duration of the previous step (i.e., t[i] - t[i-1] <= + // constraint_duration of the previous step (For example, t[i] - t[i-1] <= // constraint_duration). If not set, there is no duration requirement (the // duration is effectively unlimited). It is ignored for the first step. google.protobuf.Duration constraint_duration = 3 @@ -304,9 +309,9 @@ message AudienceSequenceFilter { } // A clause for defining either a simple or sequence filter. A filter can be -// inclusive (i.e., users satisfying the filter clause are included in the -// Audience) or exclusive (i.e., users satisfying the filter clause are -// excluded from the Audience). +// inclusive (For example, users satisfying the filter clause are included in +// the Audience) or exclusive (For example, users satisfying the filter clause +// are excluded from the Audience). message AudienceFilterClause { // Specifies whether this is an include or exclude filter clause. enum AudienceClauseType { diff --git a/third_party/googleapis/google/analytics/admin/v1alpha/expanded_data_set.proto b/third_party/googleapis/google/analytics/admin/v1alpha/expanded_data_set.proto index e9a0a3951..be98ac8a4 100644 --- a/third_party/googleapis/google/analytics/admin/v1alpha/expanded_data_set.proto +++ b/third_party/googleapis/google/analytics/admin/v1alpha/expanded_data_set.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/analytics/admin/v1alpha;admin"; +option go_package = "cloud.google.com/go/analytics/admin/apiv1alpha/adminpb;adminpb"; option java_multiple_files = true; option java_outer_classname = "ExpandedDataSetProto"; option java_package = "com.google.analytics.admin.v1alpha"; @@ -90,7 +90,7 @@ message ExpandedDataSetFilterExpression { // ExpandedDataSetFilterExpression. ExpandedDataSetFilterExpressionList and_group = 1; - // A filter expression to be NOT'ed (i.e., inverted, complemented). It + // A filter expression to be NOT'ed (that is, inverted, complemented). It // must include a dimension_filter. This cannot be set on the // top level ExpandedDataSetFilterExpression. ExpandedDataSetFilterExpression not_expression = 2; @@ -140,7 +140,7 @@ message ExpandedDataSet { // Immutable. A logical expression of ExpandedDataSet filters applied to // dimension included in the ExpandedDataSet. This filter is used to reduce - // the number of rows and thus the change of encountering `other row`. + // the number of rows and thus the chance of encountering `other` row. ExpandedDataSetFilterExpression dimension_filter_expression = 6 [(google.api.field_behavior) = IMMUTABLE]; diff --git a/third_party/googleapis/google/analytics/admin/v1alpha/resources.proto b/third_party/googleapis/google/analytics/admin/v1alpha/resources.proto index a035611d9..7d65d26dd 100644 --- a/third_party/googleapis/google/analytics/admin/v1alpha/resources.proto +++ b/third_party/googleapis/google/analytics/admin/v1alpha/resources.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,13 +16,16 @@ syntax = "proto3"; package google.analytics.admin.v1alpha; +import "google/analytics/admin/v1alpha/audience.proto"; +import "google/analytics/admin/v1alpha/channel_group.proto"; +import "google/analytics/admin/v1alpha/event_create_and_edit.proto"; import "google/analytics/admin/v1alpha/expanded_data_set.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; import "google/protobuf/wrappers.proto"; -option go_package = "google.golang.org/genproto/googleapis/analytics/admin/v1alpha;admin"; +option go_package = "cloud.google.com/go/analytics/admin/apiv1alpha/adminpb;adminpb"; option java_multiple_files = true; option java_outer_classname = "ResourcesProto"; option java_package = "com.google.analytics.admin.v1alpha"; @@ -209,10 +212,30 @@ enum ChangeHistoryResourceType { // ChannelGroup resource CHANNEL_GROUP = 22; + + // EnhancedMeasurementSettings resource + ENHANCED_MEASUREMENT_SETTINGS = 24; + + // DataRedactionSettings resource + DATA_REDACTION_SETTINGS = 25; + + // SKAdNetworkConversionValueSchema resource + SKADNETWORK_CONVERSION_VALUE_SCHEMA = 26; + + // AdSenseLink resource + ADSENSE_LINK = 27; + + // Audience resource + AUDIENCE = 28; + + // EventCreateRule resource + EVENT_CREATE_RULE = 29; + + // CalculatedMetric resource + CALCULATED_METRIC = 31; } -// Status of the Google Signals settings (i.e., whether this feature has been -// enabled for the property). +// Status of the Google Signals settings. enum GoogleSignalsState { // Google Signals status defaults to GOOGLE_SIGNALS_STATE_UNSPECIFIED to // represent that the user has not made an explicit choice. @@ -225,8 +248,7 @@ enum GoogleSignalsState { GOOGLE_SIGNALS_DISABLED = 2; } -// Consent field of the Google Signals settings (i.e., whether the user has -// consented to the Google Signals terms of service.) +// Consent field of the Google Signals settings. enum GoogleSignalsConsent { // Google Signals consent value defaults to // GOOGLE_SIGNALS_CONSENT_UNSPECIFIED. This will be treated as @@ -300,6 +322,24 @@ enum PropertyType { PROPERTY_TYPE_ROLLUP = 3; } +// The coarse conversion value set on the updatePostbackConversionValue SDK call +// when a ConversionValues.event_mappings conditions are satisfied. For +// more information, see +// [SKAdNetwork.CoarseConversionValue](https://developer.apple.com/documentation/storekit/skadnetwork/coarseconversionvalue). +enum CoarseValue { + // Coarse value not specified. + COARSE_VALUE_UNSPECIFIED = 0; + + // Coarse value of low. + COARSE_VALUE_LOW = 1; + + // Coarse value of medium. + COARSE_VALUE_MEDIUM = 2; + + // Coarse value of high. + COARSE_VALUE_HIGH = 3; +} + // A resource message representing a Google Analytics account. message Account { option (google.api.resource) = { @@ -345,8 +385,7 @@ message Property { // Immutable. The property type for this Property resource. When creating a // property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then - // "ORDINARY_PROPERTY" will be implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" - // types cannot yet be created via Google Analytics Admin API. + // "ORDINARY_PROPERTY" will be implied. PropertyType property_type = 14 [(google.api.field_behavior) = IMMUTABLE]; // Output only. Time when the entity was originally created. @@ -426,17 +465,18 @@ message DataStream { // Data specific to web streams. message WebStreamData { - // Output only. Analytics "Measurement ID", without the "G-" prefix. - // Example: "G-1A2BCD345E" would just be "1A2BCD345E" + // Output only. Analytics Measurement ID. + // + // Example: "G-1A2BCD345E" string measurement_id = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. ID of the corresponding web app in Firebase, if any. // This ID can change if the web app is deleted and recreated. string firebase_app_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Immutable. Domain name of the web app being measured, or empty. + // Domain name of the web app being measured, or empty. // Example: "http://www.google.com", "https://www.google.com" - string default_uri = 3 [(google.api.field_behavior) = IMMUTABLE]; + string default_uri = 3; } // Data specific to Android app streams. @@ -522,62 +562,6 @@ message DataStream { [(google.api.field_behavior) = OUTPUT_ONLY]; } -// A resource message representing a user's permissions on an Account or -// Property resource. -message UserLink { - option (google.api.resource) = { - type: "analyticsadmin.googleapis.com/UserLink" - pattern: "accounts/{account}/userLinks/{user_link}" - pattern: "properties/{property}/userLinks/{user_link}" - }; - - // Output only. Example format: properties/1234/userLinks/5678 - string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Immutable. Email address of the user to link - string email_address = 2 [(google.api.field_behavior) = IMMUTABLE]; - - // Roles directly assigned to this user for this account or property. - // - // Valid values: - // predefinedRoles/viewer - // predefinedRoles/analyst - // predefinedRoles/editor - // predefinedRoles/admin - // predefinedRoles/no-cost-data - // predefinedRoles/no-revenue-data - // - // Excludes roles that are inherited from a higher-level entity, group, - // or organization admin role. - // - // A UserLink that is updated to have an empty list of direct_roles will be - // deleted. - repeated string direct_roles = 3; -} - -// Read-only resource used to summarize a principal's effective roles. -message AuditUserLink { - // Example format: properties/1234/userLinks/5678 - string name = 1; - - // Email address of the linked user - string email_address = 2; - - // Roles directly assigned to this user for this entity. - // - // Format: predefinedRoles/viewer - // - // Excludes roles that are inherited from an account (if this is for a - // property), group, or organization admin role. - repeated string direct_roles = 3; - - // Union of all permissions a user has at this account or property (includes - // direct permissions, group-inherited permissions, etc.). - // - // Format: predefinedRoles/viewer - repeated string effective_roles = 4; -} - // A link between a GA4 property and a Firebase project. message FirebaseLink { option (google.api.resource) = { @@ -762,6 +746,129 @@ message MeasurementProtocolSecret { string secret_value = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; } +// SKAdNetwork conversion value schema of an iOS stream. +message SKAdNetworkConversionValueSchema { + option (google.api.resource) = { + type: "analyticsadmin.googleapis.com/SKAdNetworkConversionValueSchema" + pattern: "properties/{property}/dataStreams/{data_stream}/sKAdNetworkConversionValueSchema/{skadnetwork_conversion_value_schema}" + }; + + // Output only. Resource name of the schema. This will be child of ONLY an iOS + // stream, and there can be at most one such child under an iOS stream. + // Format: + // properties/{property}/dataStreams/{dataStream}/sKAdNetworkConversionValueSchema + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Required. The conversion value settings for the first postback window. + // These differ from values for postback window two and three in that they + // contain a "Fine" grained conversion value (a numeric value). + // + // Conversion values for this postback window must be set. The other windows + // are optional and may inherit this window's settings if unset or disabled. + PostbackWindow postback_window_one = 2 + [(google.api.field_behavior) = REQUIRED]; + + // The conversion value settings for the second postback window. + // + // This field should only be configured if there is a need to define different + // conversion values for this postback window. + // + // If enable_postback_window_settings is set to false for this postback + // window, the values from postback_window_one will be used. + PostbackWindow postback_window_two = 3; + + // The conversion value settings for the third postback window. + // + // This field should only be set if the user chose to define different + // conversion values for this postback window. It is allowed to configure + // window 3 without setting window 2. In case window 1 & 2 settings are set + // and enable_postback_window_settings for this postback window is set to + // false, the schema will inherit settings from postback_window_two. + PostbackWindow postback_window_three = 4; + + // If enabled, the GA SDK will set conversion values using this schema + // definition, and schema will be exported to any Google Ads accounts linked + // to this property. If disabled, the GA SDK will not automatically set + // conversion values, and also the schema will not be exported to Ads. + bool apply_conversion_values = 5; +} + +// Settings for a SKAdNetwork conversion postback window. +message PostbackWindow { + // Ordering of the repeated field will be used to prioritize the conversion + // value settings. Lower indexed entries are prioritized higher. The first + // conversion value setting that evaluates to true will be selected. It must + // have at least one entry if enable_postback_window_settings is set to + // true. It can have maximum of 128 entries. + repeated ConversionValues conversion_values = 1; + + // If enable_postback_window_settings is true, conversion_values + // must be populated and will be used for determining when and how to set the + // Conversion Value on a client device and exporting schema to linked Ads + // accounts. If false, the settings are not used, but are retained in case + // they may be used in the future. This must always be true for + // postback_window_one. + bool postback_window_settings_enabled = 2; +} + +// Conversion value settings for a postback window for SKAdNetwork conversion +// value schema. +message ConversionValues { + // Display name of the SKAdNetwork conversion value. + // The max allowed display name length is 50 UTF-16 code units. + string display_name = 1; + + // The fine-grained conversion value. This is applicable only to the first + // postback window. Its valid values are [0,63], both inclusive. It must be + // set for postback window 1, and must not be set for postback window 2 & 3. + // This value is not guaranteed to be unique. + // + // If the configuration for the first postback window is re-used for second or + // third postback windows this field has no effect. + optional int32 fine_value = 2; + + // Required. A coarse grained conversion value. + // + // This value is not guaranteed to be unique. + CoarseValue coarse_value = 3 [(google.api.field_behavior) = REQUIRED]; + + // Event conditions that must be met for this Conversion Value to be achieved. + // The conditions in this list are ANDed together. It must have minimum of 1 + // entry and maximum of 3 entries, if the postback window is enabled. + repeated EventMapping event_mappings = 4; + + // If true, the SDK should lock to this conversion value for the current + // postback window. + bool lock_enabled = 5; +} + +// Event setting conditions to match an event. +message EventMapping { + // Required. Name of the GA4 event. It must always be set. + // The max allowed display name length is 40 UTF-16 code units. + string event_name = 1 [(google.api.field_behavior) = REQUIRED]; + + // At least one of the following four min/max values must be set. The + // values set will be ANDed together to qualify an event. + // The minimum number of times the event occurred. If not set, minimum event + // count won't be checked. + optional int64 min_event_count = 2; + + // The maximum number of times the event occurred. If not set, maximum event + // count won't be checked. + optional int64 max_event_count = 3; + + // The minimum revenue generated due to the event. Revenue currency will be + // defined at the property level. If not set, minimum event value won't be + // checked. + optional double min_event_value = 4; + + // The maximum revenue generated due to the event. Revenue currency will be + // defined at the property level. If not set, maximum event value won't be + // checked. + optional double max_event_value = 5; +} + // A set of changes within a Google Analytics account or its child properties // that resulted from the same cause. Common causes would be updates made in the // Google Analytics UI, changes from customer support, or automatic Google @@ -847,8 +954,33 @@ message ChangeHistoryChange { // A snapshot of an ExpandedDataSet resource in change history. ExpandedDataSet expanded_data_set = 21; + // A snapshot of a ChannelGroup resource in change history. + ChannelGroup channel_group = 22; + // A snapshot of a BigQuery link resource in change history. BigQueryLink bigquery_link = 23; + + // A snapshot of EnhancedMeasurementSettings resource in change history. + EnhancedMeasurementSettings enhanced_measurement_settings = 24; + + // A snapshot of DataRedactionSettings resource in change history. + DataRedactionSettings data_redaction_settings = 25; + + // A snapshot of SKAdNetworkConversionValueSchema resource in change + // history. + SKAdNetworkConversionValueSchema skadnetwork_conversion_value_schema = 26; + + // A snapshot of an AdSenseLink resource in change history. + AdSenseLink adsense_link = 27; + + // A snapshot of an Audience resource in change history. + Audience audience = 28; + + // A snapshot of an EventCreateRule resource in change history. + EventCreateRule event_create_rule = 29; + + // A snapshot of a CalculatedMetric resource in change history. + CalculatedMetric calculated_metric = 31; } } @@ -1031,6 +1163,34 @@ message ConversionEvent { pattern: "properties/{property}/conversionEvents/{conversion_event}" }; + // Defines a default value/currency for a conversion event. Both value and + // currency must be provided. + message DefaultConversionValue { + // This value will be used to populate the value for all conversions + // of the specified event_name where the event "value" parameter is unset. + optional double value = 1; + + // When a conversion event for this event_name has no set currency, + // this currency will be applied as the default. Must be in ISO 4217 + // currency code format. See https://en.wikipedia.org/wiki/ISO_4217 for + // more information. + optional string currency_code = 2; + } + + // The method by which conversions will be counted across multiple events + // within a session. + enum ConversionCountingMethod { + // Counting method not specified. + CONVERSION_COUNTING_METHOD_UNSPECIFIED = 0; + + // Each Event instance is considered a Conversion. + ONCE_PER_EVENT = 1; + + // An Event instance is considered a Conversion at most once per session per + // user. + ONCE_PER_SESSION = 2; + } + // Output only. Resource name of this conversion event. // Format: properties/{property}/conversionEvents/{conversion_event} string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -1043,7 +1203,7 @@ message ConversionEvent { google.protobuf.Timestamp create_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. If set, this event can currently be deleted via + // Output only. If set, this event can currently be deleted with // DeleteConversionEvent. bool deletable = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -1054,6 +1214,16 @@ message ConversionEvent { // by property admins. Custom events count towards the maximum number of // custom conversion events that may be created per property. bool custom = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. The method by which conversions will be counted across multiple + // events within a session. If this value is not provided, it will be set to + // `ONCE_PER_EVENT`. + ConversionCountingMethod counting_method = 6 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Defines a default value/currency for a conversion event. + optional DefaultConversionValue default_conversion_value = 7 + [(google.api.field_behavior) = OPTIONAL]; } // Settings values for Google Signals. This is a singleton resource. @@ -1092,6 +1262,9 @@ message CustomDimension { // Dimension scoped to a user. USER = 2; + + // Dimension scoped to eCommerce items + ITEM = 3; } // Output only. Resource name for this CustomDimension resource. @@ -1104,6 +1277,9 @@ message CustomDimension { // If this is an event-scoped dimension, then this is the event parameter // name. // + // If this is an item-scoped dimension, then this is the parameter + // name found in the eCommerce items array. + // // May only contain alphanumeric and underscore characters, starting with a // letter. Max length of 24 characters for user-scoped dimensions, 40 // characters for event-scoped dimensions. @@ -1248,6 +1424,105 @@ message CustomMetric { [(google.api.field_behavior) = OPTIONAL]; } +// A definition for a calculated metric. +message CalculatedMetric { + option (google.api.resource) = { + type: "analyticsadmin.googleapis.com/CalculatedMetric" + pattern: "properties/{property}/calculatedMetrics/{calculated_metric}" + plural: "calculatedMetrics" + singular: "calculatedMetric" + }; + + // Possible types of representing the calculated metric's value. + enum MetricUnit { + // MetricUnit unspecified or missing. + METRIC_UNIT_UNSPECIFIED = 0; + + // This metric uses default units. + STANDARD = 1; + + // This metric measures a currency. + CURRENCY = 2; + + // This metric measures feet. + FEET = 3; + + // This metric measures miles. + MILES = 4; + + // This metric measures meters. + METERS = 5; + + // This metric measures kilometers. + KILOMETERS = 6; + + // This metric measures milliseconds. + MILLISECONDS = 7; + + // This metric measures seconds. + SECONDS = 8; + + // This metric measures minutes. + MINUTES = 9; + + // This metric measures hours. + HOURS = 10; + } + + // Labels that mark the data in calculated metric used in conjunction with + // user roles that restrict access to cost and/or revenue metrics. + enum RestrictedMetricType { + // Type unknown or unspecified. + RESTRICTED_METRIC_TYPE_UNSPECIFIED = 0; + + // Metric reports cost data. + COST_DATA = 1; + + // Metric reports revenue data. + REVENUE_DATA = 2; + } + + // Output only. Resource name for this CalculatedMetric. + // Format: 'properties/{property_id}/calculatedMetrics/{calculated_metric_id}' + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. Description for this calculated metric. + // Max length of 4096 characters. + string description = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Required. Display name for this calculated metric as shown in the + // Google Analytics UI. Max length 82 characters. + string display_name = 3 [(google.api.field_behavior) = REQUIRED]; + + // Output only. The ID to use for the calculated metric. In the UI, this is + // referred to as the "API name." + // + // The calculated_metric_id is used when referencing this calculated metric + // from external APIs. For example, "calcMetric:{calculated_metric_id}". + string calculated_metric_id = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Required. The type for the calculated metric's value. + MetricUnit metric_unit = 5 [(google.api.field_behavior) = REQUIRED]; + + // Output only. Types of restricted data that this metric contains. + repeated RestrictedMetricType restricted_metric_type = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Required. The calculated metric's definition. Maximum number of unique + // referenced custom metrics is 5. Formulas supports the following operations: + // + (addition), - (subtraction), - (negative), * (multiplication), / + // (division), () (parenthesis). Any valid real numbers are acceptable that + // fit in a Long (64bit integer) or a Double (64 bit floating point number). + // Example formula: + // "( customEvent:parameter_name + cartPurchaseQuantity ) / 2.0" + string formula = 7 [(google.api.field_behavior) = REQUIRED]; + + // Output only. If true, this calculated metric has a invalid metric + // reference. Anything using a calculated metric with invalid_metric_reference + // set to true may fail, produce warnings, or produce unexpected results. + bool invalid_metric_reference = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + // Settings values for data retention. This is a singleton resource. message DataRetentionSettings { option (google.api.resource) = { @@ -1339,33 +1614,40 @@ message AttributionSettings { // Data-driven attribution distributes credit for the conversion based on // data for each conversion event. Each Data-driven model is specific to // each advertiser and each conversion event. - CROSS_CHANNEL_DATA_DRIVEN = 1; + // Previously CROSS_CHANNEL_DATA_DRIVEN + PAID_AND_ORGANIC_CHANNELS_DATA_DRIVEN = 1; // Ignores direct traffic and attributes 100% of the conversion value to the // last channel that the customer clicked through (or engaged view through // for YouTube) before converting. - CROSS_CHANNEL_LAST_CLICK = 2; + // Previously CROSS_CHANNEL_LAST_CLICK + PAID_AND_ORGANIC_CHANNELS_LAST_CLICK = 2; - // Gives all credit for the conversion to the first channel that a customer - // clicked (or engaged view through for YouTube) before converting. - CROSS_CHANNEL_FIRST_CLICK = 3; - - // Distributes the credit for the conversion equally across all the channels - // a customer clicked (or engaged view through for YouTube) before - // converting. - CROSS_CHANNEL_LINEAR = 4; - - // Attributes 40% credit to the first and last interaction, and the - // remaining 20% credit is distributed evenly to the middle interactions. - CROSS_CHANNEL_POSITION_BASED = 5; - - // Gives more credit to the touchpoints that happened closer in time to - // the conversion. - CROSS_CHANNEL_TIME_DECAY = 6; - - // Attributes 100% of the conversion value to the last Google Ads channel + // Attributes 100% of the conversion value to the last Google Paid channel // that the customer clicked through before converting. - ADS_PREFERRED_LAST_CLICK = 7; + // Previously ADS_PREFERRED_LAST_CLICK + GOOGLE_PAID_CHANNELS_LAST_CLICK = 7; + } + + // The Conversion Export Scope for data exported to linked Ads Accounts. + enum AdsWebConversionDataExportScope { + // Default value. This value is unused. + ADS_WEB_CONVERSION_DATA_EXPORT_SCOPE_UNSPECIFIED = 0; + + // No data export scope selected yet. + // Export scope can never be changed back to this value. + NOT_SELECTED_YET = 1; + + // Paid and organic channels are eligible to receive conversion credit, but + // only credit assigned to Google Ads channels will appear in your Ads + // accounts. To learn more, see [Paid and Organic + // channels](https://support.google.com/analytics/answer/10632359). + PAID_AND_ORGANIC_CHANNELS = 2; + + // Only Google Ads paid channels are eligible to receive conversion credit. + // To learn more, see [Google Paid + // channels](https://support.google.com/analytics/answer/10632359). + GOOGLE_PAID_CHANNELS = 3; } // Output only. Resource name of this attribution settings resource. @@ -1392,6 +1674,11 @@ message AttributionSettings { // revenue data. User and session data will be unaffected. ReportingAttributionModel reporting_attribution_model = 4 [(google.api.field_behavior) = REQUIRED]; + + // Required. The Conversion Export Scope for data exported to linked Ads + // Accounts. + AdsWebConversionDataExportScope ads_web_conversion_data_export_scope = 5 + [(google.api.field_behavior) = REQUIRED]; } // A binding of a user to a set of roles. @@ -1463,6 +1750,9 @@ message BigQueryLink { // If set true, enables streaming export to the linked Google Cloud project. bool streaming_export_enabled = 5; + // If set true, enables fresh daily export to the linked Google Cloud project. + bool fresh_daily_export_enabled = 9; + // If set true, exported data will include advertising identifiers for mobile // app streams. bool include_advertising_id = 6; @@ -1476,3 +1766,144 @@ message BigQueryLink { // The list of event names that will be excluded from exports. repeated string excluded_events = 8; } + +// Singleton resource under a web DataStream, configuring measurement of +// additional site interactions and content. +message EnhancedMeasurementSettings { + option (google.api.resource) = { + type: "analyticsadmin.googleapis.com/EnhancedMeasurementSettings" + pattern: "properties/{property}/dataStreams/{data_stream}/enhancedMeasurementSettings" + }; + + // Output only. Resource name of the Enhanced Measurement Settings. + // Format: + // properties/{property_id}/dataStreams/{data_stream}/enhancedMeasurementSettings + // Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings" + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Indicates whether Enhanced Measurement Settings will be used to + // automatically measure interactions and content on this web stream. + // + // Changing this value does not affect the settings themselves, but determines + // whether they are respected. + bool stream_enabled = 2; + + // If enabled, capture scroll events each time a visitor gets to the bottom of + // a page. + bool scrolls_enabled = 3; + + // If enabled, capture an outbound click event each time a visitor clicks a + // link that leads them away from your domain. + bool outbound_clicks_enabled = 4; + + // If enabled, capture a view search results event each time a visitor + // performs a search on your site (based on a query parameter). + bool site_search_enabled = 5; + + // If enabled, capture video play, progress, and complete events as visitors + // view embedded videos on your site. + bool video_engagement_enabled = 6; + + // If enabled, capture a file download event each time a link is clicked with + // a common document, compressed file, application, video, or audio extension. + bool file_downloads_enabled = 7; + + // If enabled, capture a page view event each time the website changes the + // browser history state. + bool page_changes_enabled = 8; + + // If enabled, capture a form interaction event each time a visitor interacts + // with a form on your website. + // False by default. + bool form_interactions_enabled = 9; + + // Required. URL query parameters to interpret as site search parameters. + // Max length is 1024 characters. Must not be empty. + string search_query_parameter = 10 [(google.api.field_behavior) = REQUIRED]; + + // Additional URL query parameters. + // Max length is 1024 characters. + string uri_query_parameter = 11; +} + +// Configuration for a specific Connected Site Tag. +message ConnectedSiteTag { + // Required. User-provided display name for the connected site tag. Must be + // less than 256 characters. + string display_name = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. "Tag ID to forward events to. Also known as the Measurement ID, + // or the "G-ID" (For example: G-12345). + string tag_id = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// Settings for client-side data redaction. Singleton resource under a Web +// Stream. +message DataRedactionSettings { + option (google.api.resource) = { + type: "analyticsadmin.googleapis.com/DataRedactionSettings" + pattern: "properties/{property}/dataStreams/{data_stream}/dataRedactionSettings" + }; + + // Output only. Name of this Data Redaction Settings resource. + // Format: + // properties/{property_id}/dataStreams/{data_stream}/dataRedactionSettings + // Example: "properties/1000/dataStreams/2000/dataRedactionSettings" + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // If enabled, any event parameter or user property values that look like an + // email will be redacted. + bool email_redaction_enabled = 2; + + // Query Parameter redaction removes the key and value portions of a + // query parameter if it is in the configured set of query parameters. + // + // If enabled, URL query replacement logic will be run for the Stream. Any + // query parameters defined in query_parameter_keys will be redacted. + bool query_parameter_redaction_enabled = 3; + + // The query parameter keys to apply redaction logic to if present in the URL. + // Query parameter matching is case-insensitive. + // + // Must contain at least one element if query_parameter_replacement_enabled + // is true. Keys cannot contain commas. + repeated string query_parameter_keys = 4; +} + +// A link between a GA4 Property and an AdSense for Content ad client. +message AdSenseLink { + option (google.api.resource) = { + type: "analyticsadmin.googleapis.com/AdSenseLink" + pattern: "properties/{property}/adSenseLinks/{adsense_link}" + }; + + // Output only. The resource name for this AdSense Link resource. + // Format: properties/{propertyId}/adSenseLinks/{linkId} + // Example: properties/1234/adSenseLinks/6789 + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Immutable. The AdSense ad client code that the GA4 property is linked to. + // Example format: "ca-pub-1234567890" + string ad_client_code = 2 [(google.api.field_behavior) = IMMUTABLE]; +} + +// A link that references a source property under the parent rollup property. +message RollupPropertySourceLink { + option (google.api.resource) = { + type: "analyticsadmin.googleapis.com/RollupPropertySourceLink" + pattern: "properties/{property}/rollupPropertySourceLinks/{rollup_property_source_link}" + plural: "rollupPropertySourceLinks" + singular: "rollupPropertySourceLink" + }; + + // Output only. Resource name of this RollupPropertySourceLink. + // Format: + // 'properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link}' + // Format: 'properties/123/rollupPropertySourceLinks/456' + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Immutable. Resource name of the source property. + // Format: properties/{property_id} + // Example: "properties/789" + string source_property = 2 [(google.api.field_behavior) = IMMUTABLE]; +} diff --git a/third_party/googleapis/google/analytics/admin/v1beta/BUILD.bazel b/third_party/googleapis/google/analytics/admin/v1beta/BUILD.bazel index 38b519b3e..272980cc7 100644 --- a/third_party/googleapis/google/analytics/admin/v1beta/BUILD.bazel +++ b/third_party/googleapis/google/analytics/admin/v1beta/BUILD.bazel @@ -21,6 +21,7 @@ load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") proto_library( name = "admin_proto", srcs = [ + "access_report.proto", "analytics_admin.proto", "resources.proto", ], @@ -73,7 +74,7 @@ java_gapic_library( gapic_yaml = None, grpc_service_config = "admin_grpc_service_config.json", rest_numeric_enums = True, - service_yaml = "analyticsadmin.yaml", + service_yaml = "analyticsadmin_v1beta.yaml", test_deps = [ ":admin_java_grpc", ], @@ -114,7 +115,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -133,27 +133,22 @@ go_gapic_library( grpc_service_config = "admin_grpc_service_config.json", importpath = "google.golang.org/google/analytics/admin/v1beta;admin", metadata = True, + release_level = "beta", rest_numeric_enums = True, - service_yaml = "analyticsadmin.yaml", + service_yaml = "analyticsadmin_v1beta.yaml", transport = "grpc+rest", deps = [ ":admin_go_proto", ], ) -go_test( - name = "admin_go_gapic_test", - srcs = [":admin_go_gapic_srcjar_test"], - embed = [":admin_go_gapic"], - importpath = "google.golang.org/google/analytics/admin/v1beta", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-analytics-admin-v1beta-go", deps = [ ":admin_go_gapic", ":admin_go_gapic_srcjar-metadata.srcjar", + ":admin_go_gapic_srcjar-snippets.srcjar", ":admin_go_gapic_srcjar-test.srcjar", ":admin_go_proto", ], @@ -174,8 +169,10 @@ py_gapic_library( srcs = [":admin_proto"], grpc_service_config = "admin_grpc_service_config.json", rest_numeric_enums = True, - service_yaml = "analyticsadmin.yaml", + service_yaml = "analyticsadmin_v1beta.yaml", transport = "grpc+rest", + deps = [ + ], ) py_test( @@ -203,7 +200,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -212,23 +208,15 @@ php_proto_library( deps = [":admin_proto"], ) -php_grpc_library( - name = "admin_php_grpc", - srcs = [":admin_proto"], - deps = [":admin_php_proto"], -) - php_gapic_library( name = "admin_php_gapic", srcs = [":admin_proto_with_info"], grpc_service_config = "admin_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, - service_yaml = "analyticsadmin.yaml", + service_yaml = "analyticsadmin_v1beta.yaml", transport = "grpc+rest", - deps = [ - ":admin_php_grpc", - ":admin_php_proto", - ], + deps = [":admin_php_proto"], ) # Open Source Packages @@ -236,7 +224,6 @@ php_gapic_assembly_pkg( name = "google-cloud-analytics-admin-v1beta-php", deps = [ ":admin_php_gapic", - ":admin_php_grpc", ":admin_php_proto", ], ) @@ -258,7 +245,7 @@ nodejs_gapic_library( grpc_service_config = "admin_grpc_service_config.json", package = "google.analytics.admin.v1beta", rest_numeric_enums = True, - service_yaml = "analyticsadmin.yaml", + service_yaml = "analyticsadmin_v1beta.yaml", transport = "grpc+rest", deps = [], ) @@ -296,12 +283,11 @@ ruby_grpc_library( ruby_cloud_gapic_library( name = "admin_ruby_gapic", srcs = [":admin_proto_with_info"], - extra_protoc_parameters = [ - "ruby-cloud-gem-name=google-cloud-analytics-admin-v1beta", - ], + extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-analytics-admin-v1beta"], grpc_service_config = "admin_grpc_service_config.json", rest_numeric_enums = True, - service_yaml = "analyticsadmin.yaml", + service_yaml = "analyticsadmin_v1beta.yaml", + transport = "grpc+rest", deps = [ ":admin_ruby_grpc", ":admin_ruby_proto", @@ -346,7 +332,7 @@ csharp_gapic_library( common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", grpc_service_config = "admin_grpc_service_config.json", rest_numeric_enums = True, - service_yaml = "analyticsadmin.yaml", + service_yaml = "analyticsadmin_v1beta.yaml", transport = "grpc+rest", deps = [ ":admin_csharp_grpc", diff --git a/third_party/googleapis/google/analytics/admin/v1beta/admin_grpc_service_config.json b/third_party/googleapis/google/analytics/admin/v1beta/admin_grpc_service_config.json index e78bde2d9..c8e14020a 100644 --- a/third_party/googleapis/google/analytics/admin/v1beta/admin_grpc_service_config.json +++ b/third_party/googleapis/google/analytics/admin/v1beta/admin_grpc_service_config.json @@ -10,149 +10,6 @@ "backoffMultiplier": 1.3, "retryableStatusCodes": ["UNAVAILABLE", "UNKNOWN"] } - }, - { - "name": [ - { - "service": "google.analytics.admin.v1beta.AnalyticsAdminService", - "method": "GetAccount" - }, - { - "service": "google.analytics.admin.v1beta.AnalyticsAdminService", - "method": "ListAccounts" - }, - { - "service": "google.analytics.admin.v1beta.AnalyticsAdminService", - "method": "DeleteAccount" - }, { - "service": "google.analytics.admin.v1beta.AnalyticsAdminService", - "method": "UpdateAccount" - }, { - "service": "google.analytics.admin.v1beta.AnalyticsAdminService", - "method": "ProvisionAccountTicket" - }, { - "service": "google.analytics.admin.v1beta.AnalyticsAdminService", - "method": "GetProperty" - }, { - "service": "google.analytics.admin.v1beta.AnalyticsAdminService", - "method": "ListProperties" - }, { - "service": "google.analytics.admin.v1beta.AnalyticsAdminService", - "method": "DeleteProperty" - }, { - "service": "google.analytics.admin.v1beta.AnalyticsAdminService", - "method": "CreateProperty" - }, { - "service": "google.analytics.admin.v1beta.AnalyticsAdminService", - "method": "UpdateProperty" - }, { - "service": "google.analytics.admin.v1beta.AnalyticsAdminService", - "method": "GetUserLink" - }, { - "service": "google.analytics.admin.v1beta.AnalyticsAdminService", - "method": "BatchGetUserLinks" - }, { - "service": "google.analytics.admin.v1beta.AnalyticsAdminService", - "method": "ListUserLinks" - }, { - "service": "google.analytics.admin.v1beta.AnalyticsAdminService", - "method": "AuditUserLinks" - }, { - "service": "google.analytics.admin.v1beta.AnalyticsAdminService", - "method": "CreateUserLink" - }, { - "service": "google.analytics.admin.v1beta.AnalyticsAdminService", - "method": "BatchCreateUserLinks" - }, { - "service": "google.analytics.admin.v1beta.AnalyticsAdminService", - "method": "UpdateUserLink" - }, { - "service": "google.analytics.admin.v1beta.AnalyticsAdminService", - "method": "BatchUpdateUserLinks" - }, { - "service": "google.analytics.admin.v1beta.AnalyticsAdminService", - "method": "DeleteUserLink" - }, { - "service": "google.analytics.admin.v1beta.AnalyticsAdminService", - "method": "BatchDeleteUserLinks" - }, { - "service": "google.analytics.admin.v1beta.AnalyticsAdminService", - "method": "GetWebDataStream" - }, { - "service": "google.analytics.admin.v1beta.AnalyticsAdminService", - "method": "UpdateWebDataStream" - }, { - "service": "google.analytics.admin.v1beta.AnalyticsAdminService", - "method": "CreateWebDataStream" - }, { - "service": "google.analytics.admin.v1beta.AnalyticsAdminService", - "method": "ListWebDataStreams" - }, { - "service": "google.analytics.admin.v1beta.AnalyticsAdminService", - "method": "GetIosAppDataStream" - }, { - "service": "google.analytics.admin.v1beta.AnalyticsAdminService", - "method": "DeleteIosAppDataStream" - }, { - "service": "google.analytics.admin.v1beta.AnalyticsAdminService", - "method": "UpdateIosAppDataStream" - }, { - "service": "google.analytics.admin.v1beta.AnalyticsAdminService", - "method": "CreateIosAppDataStream" - }, { - "service": "google.analytics.admin.v1beta.AnalyticsAdminService", - "method": "ListIosAppDataStreams" - }, { - "service": "google.analytics.admin.v1beta.AnalyticsAdminService", - "method": "GetAndroidAppDataStream" - }, { - "service": "google.analytics.admin.v1beta.AnalyticsAdminService", - "method": "DeleteAndroidAppDataStream" - }, { - "service": "google.analytics.admin.v1beta.AnalyticsAdminService", - "method": "UpdateAndroidAppDataStream" - }, { - "service": "google.analytics.admin.v1beta.AnalyticsAdminService", - "method": "CreateAndroidAppDataStream" - }, { - "service": "google.analytics.admin.v1beta.AnalyticsAdminService", - "method": "ListAndroidAppDataStreams" - }, { - "service": "google.analytics.admin.v1beta.AnalyticsAdminService", - "method": "GetEnhancedMeasurementSettings" - }, { - "service": "google.analytics.admin.v1beta.AnalyticsAdminService", - "method": "UpdateEnhancedMeasurementSettings" - }, { - "service": "google.analytics.admin.v1beta.AnalyticsAdminService", - "method": "CreateFirebaseLink" - }, { - "service": "google.analytics.admin.v1beta.AnalyticsAdminService", - "method": "UpdateFirebaseLink" - }, { - "service": "google.analytics.admin.v1beta.AnalyticsAdminService", - "method": "DeleteFirebaseLink" - }, { - "service": "google.analytics.admin.v1beta.AnalyticsAdminService", - "method": "ListFirebaseLinks" - }, { - "service": "google.analytics.admin.v1beta.AnalyticsAdminService", - "method": "GetGlobalSiteTag" - }, { - "service": "google.analytics.admin.v1beta.AnalyticsAdminService", - "method": "CreateGoogleAdsLink" - }, { - "service": "google.analytics.admin.v1beta.AnalyticsAdminService", - "method": "UpdateGoogleAdsLink" - }, { - "service": "google.analytics.admin.v1beta.AnalyticsAdminService", - "method": "DeleteGoogleAdsLink" - }, { - "service": "google.analytics.admin.v1beta.AnalyticsAdminService", - "method": "ListGoogleAdsLinks" - } - ], - "timeout": "60s" } ] } diff --git a/third_party/googleapis/google/analytics/admin/v1beta/analytics_admin.proto b/third_party/googleapis/google/analytics/admin/v1beta/analytics_admin.proto index 7e80f7362..f7d153c5d 100644 --- a/third_party/googleapis/google/analytics/admin/v1beta/analytics_admin.proto +++ b/third_party/googleapis/google/analytics/admin/v1beta/analytics_admin.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,6 +16,7 @@ syntax = "proto3"; package google.analytics.admin.v1beta; +import "google/analytics/admin/v1beta/access_report.proto"; import "google/analytics/admin/v1beta/resources.proto"; import "google/api/annotations.proto"; import "google/api/client.proto"; @@ -84,7 +85,8 @@ service AnalyticsAdminService { } // Requests a ticket for creating an account. - rpc ProvisionAccountTicket(ProvisionAccountTicketRequest) returns (ProvisionAccountTicketResponse) { + rpc ProvisionAccountTicket(ProvisionAccountTicketRequest) + returns (ProvisionAccountTicketResponse) { option (google.api.http) = { post: "/v1beta/accounts:provisionAccountTicket" body: "*" @@ -92,7 +94,8 @@ service AnalyticsAdminService { } // Returns summaries of all accounts accessible by the caller. - rpc ListAccountSummaries(ListAccountSummariesRequest) returns (ListAccountSummariesResponse) { + rpc ListAccountSummaries(ListAccountSummariesRequest) + returns (ListAccountSummariesResponse) { option (google.api.http) = { get: "/v1beta/accountSummaries" }; @@ -137,7 +140,7 @@ service AnalyticsAdminService { // will be permanently purged. // https://support.google.com/analytics/answer/6154772 // - // Returns an error if the target is not found, or is not an GA4 Property. + // Returns an error if the target is not found, or is not a GA4 Property. rpc DeleteProperty(DeletePropertyRequest) returns (Property) { option (google.api.http) = { delete: "/v1beta/{name=properties/*}" @@ -166,7 +169,8 @@ service AnalyticsAdminService { } // Deletes a FirebaseLink on a property - rpc DeleteFirebaseLink(DeleteFirebaseLinkRequest) returns (google.protobuf.Empty) { + rpc DeleteFirebaseLink(DeleteFirebaseLinkRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1beta/{name=properties/*/firebaseLinks/*}" }; @@ -175,7 +179,8 @@ service AnalyticsAdminService { // Lists FirebaseLinks on a property. // Properties can have at most one FirebaseLink. - rpc ListFirebaseLinks(ListFirebaseLinksRequest) returns (ListFirebaseLinksResponse) { + rpc ListFirebaseLinks(ListFirebaseLinksRequest) + returns (ListFirebaseLinksResponse) { option (google.api.http) = { get: "/v1beta/{parent=properties/*}/firebaseLinks" }; @@ -201,7 +206,8 @@ service AnalyticsAdminService { } // Deletes a GoogleAdsLink on a property - rpc DeleteGoogleAdsLink(DeleteGoogleAdsLinkRequest) returns (google.protobuf.Empty) { + rpc DeleteGoogleAdsLink(DeleteGoogleAdsLinkRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1beta/{name=properties/*/googleAdsLinks/*}" }; @@ -209,7 +215,8 @@ service AnalyticsAdminService { } // Lists GoogleAdsLinks on a property. - rpc ListGoogleAdsLinks(ListGoogleAdsLinksRequest) returns (ListGoogleAdsLinksResponse) { + rpc ListGoogleAdsLinks(ListGoogleAdsLinksRequest) + returns (ListGoogleAdsLinksResponse) { option (google.api.http) = { get: "/v1beta/{parent=properties/*}/googleAdsLinks" }; @@ -218,7 +225,8 @@ service AnalyticsAdminService { // Get data sharing settings on an account. // Data sharing settings are singletons. - rpc GetDataSharingSettings(GetDataSharingSettingsRequest) returns (DataSharingSettings) { + rpc GetDataSharingSettings(GetDataSharingSettingsRequest) + returns (DataSharingSettings) { option (google.api.http) = { get: "/v1beta/{name=accounts/*/dataSharingSettings}" }; @@ -226,7 +234,8 @@ service AnalyticsAdminService { } // Lookup for a single "GA4" MeasurementProtocolSecret. - rpc GetMeasurementProtocolSecret(GetMeasurementProtocolSecretRequest) returns (MeasurementProtocolSecret) { + rpc GetMeasurementProtocolSecret(GetMeasurementProtocolSecretRequest) + returns (MeasurementProtocolSecret) { option (google.api.http) = { get: "/v1beta/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}" }; @@ -235,7 +244,8 @@ service AnalyticsAdminService { // Returns child MeasurementProtocolSecrets under the specified parent // Property. - rpc ListMeasurementProtocolSecrets(ListMeasurementProtocolSecretsRequest) returns (ListMeasurementProtocolSecretsResponse) { + rpc ListMeasurementProtocolSecrets(ListMeasurementProtocolSecretsRequest) + returns (ListMeasurementProtocolSecretsResponse) { option (google.api.http) = { get: "/v1beta/{parent=properties/*/dataStreams/*}/measurementProtocolSecrets" }; @@ -243,7 +253,8 @@ service AnalyticsAdminService { } // Creates a measurement protocol secret. - rpc CreateMeasurementProtocolSecret(CreateMeasurementProtocolSecretRequest) returns (MeasurementProtocolSecret) { + rpc CreateMeasurementProtocolSecret(CreateMeasurementProtocolSecretRequest) + returns (MeasurementProtocolSecret) { option (google.api.http) = { post: "/v1beta/{parent=properties/*/dataStreams/*}/measurementProtocolSecrets" body: "measurement_protocol_secret" @@ -252,7 +263,8 @@ service AnalyticsAdminService { } // Deletes target MeasurementProtocolSecret. - rpc DeleteMeasurementProtocolSecret(DeleteMeasurementProtocolSecretRequest) returns (google.protobuf.Empty) { + rpc DeleteMeasurementProtocolSecret(DeleteMeasurementProtocolSecretRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1beta/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}" }; @@ -260,19 +272,23 @@ service AnalyticsAdminService { } // Updates a measurement protocol secret. - rpc UpdateMeasurementProtocolSecret(UpdateMeasurementProtocolSecretRequest) returns (MeasurementProtocolSecret) { + rpc UpdateMeasurementProtocolSecret(UpdateMeasurementProtocolSecretRequest) + returns (MeasurementProtocolSecret) { option (google.api.http) = { patch: "/v1beta/{measurement_protocol_secret.name=properties/*/dataStreams/*/measurementProtocolSecrets/*}" body: "measurement_protocol_secret" }; - option (google.api.method_signature) = "measurement_protocol_secret,update_mask"; + option (google.api.method_signature) = + "measurement_protocol_secret,update_mask"; } // Acknowledges the terms of user data collection for the specified property. // // This acknowledgement must be completed (either in the Google Analytics UI - // or via this API) before MeasurementProtocolSecret resources may be created. - rpc AcknowledgeUserDataCollection(AcknowledgeUserDataCollectionRequest) returns (AcknowledgeUserDataCollectionResponse) { + // or through this API) before MeasurementProtocolSecret resources may be + // created. + rpc AcknowledgeUserDataCollection(AcknowledgeUserDataCollectionRequest) + returns (AcknowledgeUserDataCollectionResponse) { option (google.api.http) = { post: "/v1beta/{property=properties/*}:acknowledgeUserDataCollection" body: "*" @@ -281,7 +297,8 @@ service AnalyticsAdminService { // Searches through all changes to an account or its children given the // specified set of filters. - rpc SearchChangeHistoryEvents(SearchChangeHistoryEventsRequest) returns (SearchChangeHistoryEventsResponse) { + rpc SearchChangeHistoryEvents(SearchChangeHistoryEventsRequest) + returns (SearchChangeHistoryEventsResponse) { option (google.api.http) = { post: "/v1beta/{account=accounts/*}:searchChangeHistoryEvents" body: "*" @@ -289,7 +306,8 @@ service AnalyticsAdminService { } // Creates a conversion event with the specified attributes. - rpc CreateConversionEvent(CreateConversionEventRequest) returns (ConversionEvent) { + rpc CreateConversionEvent(CreateConversionEventRequest) + returns (ConversionEvent) { option (google.api.http) = { post: "/v1beta/{parent=properties/*}/conversionEvents" body: "conversion_event" @@ -297,6 +315,16 @@ service AnalyticsAdminService { option (google.api.method_signature) = "parent,conversion_event"; } + // Updates a conversion event with the specified attributes. + rpc UpdateConversionEvent(UpdateConversionEventRequest) + returns (ConversionEvent) { + option (google.api.http) = { + patch: "/v1beta/{conversion_event.name=properties/*/conversionEvents/*}" + body: "conversion_event" + }; + option (google.api.method_signature) = "conversion_event,update_mask"; + } + // Retrieve a single conversion event. rpc GetConversionEvent(GetConversionEventRequest) returns (ConversionEvent) { option (google.api.http) = { @@ -306,7 +334,8 @@ service AnalyticsAdminService { } // Deletes a conversion event in a property. - rpc DeleteConversionEvent(DeleteConversionEventRequest) returns (google.protobuf.Empty) { + rpc DeleteConversionEvent(DeleteConversionEventRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1beta/{name=properties/*/conversionEvents/*}" }; @@ -316,7 +345,8 @@ service AnalyticsAdminService { // Returns a list of conversion events in the specified parent property. // // Returns an empty list if no conversion events are found. - rpc ListConversionEvents(ListConversionEventsRequest) returns (ListConversionEventsResponse) { + rpc ListConversionEvents(ListConversionEventsRequest) + returns (ListConversionEventsResponse) { option (google.api.http) = { get: "/v1beta/{parent=properties/*}/conversionEvents" }; @@ -324,7 +354,8 @@ service AnalyticsAdminService { } // Creates a CustomDimension. - rpc CreateCustomDimension(CreateCustomDimensionRequest) returns (CustomDimension) { + rpc CreateCustomDimension(CreateCustomDimensionRequest) + returns (CustomDimension) { option (google.api.http) = { post: "/v1beta/{parent=properties/*}/customDimensions" body: "custom_dimension" @@ -333,7 +364,8 @@ service AnalyticsAdminService { } // Updates a CustomDimension on a property. - rpc UpdateCustomDimension(UpdateCustomDimensionRequest) returns (CustomDimension) { + rpc UpdateCustomDimension(UpdateCustomDimensionRequest) + returns (CustomDimension) { option (google.api.http) = { patch: "/v1beta/{custom_dimension.name=properties/*/customDimensions/*}" body: "custom_dimension" @@ -342,7 +374,8 @@ service AnalyticsAdminService { } // Lists CustomDimensions on a property. - rpc ListCustomDimensions(ListCustomDimensionsRequest) returns (ListCustomDimensionsResponse) { + rpc ListCustomDimensions(ListCustomDimensionsRequest) + returns (ListCustomDimensionsResponse) { option (google.api.http) = { get: "/v1beta/{parent=properties/*}/customDimensions" }; @@ -350,7 +383,8 @@ service AnalyticsAdminService { } // Archives a CustomDimension on a property. - rpc ArchiveCustomDimension(ArchiveCustomDimensionRequest) returns (google.protobuf.Empty) { + rpc ArchiveCustomDimension(ArchiveCustomDimensionRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { post: "/v1beta/{name=properties/*/customDimensions/*}:archive" body: "*" @@ -385,7 +419,8 @@ service AnalyticsAdminService { } // Lists CustomMetrics on a property. - rpc ListCustomMetrics(ListCustomMetricsRequest) returns (ListCustomMetricsResponse) { + rpc ListCustomMetrics(ListCustomMetricsRequest) + returns (ListCustomMetricsResponse) { option (google.api.http) = { get: "/v1beta/{parent=properties/*}/customMetrics" }; @@ -393,7 +428,8 @@ service AnalyticsAdminService { } // Archives a CustomMetric on a property. - rpc ArchiveCustomMetric(ArchiveCustomMetricRequest) returns (google.protobuf.Empty) { + rpc ArchiveCustomMetric(ArchiveCustomMetricRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { post: "/v1beta/{name=properties/*/customMetrics/*}:archive" body: "*" @@ -410,7 +446,8 @@ service AnalyticsAdminService { } // Returns the singleton data retention settings for this property. - rpc GetDataRetentionSettings(GetDataRetentionSettingsRequest) returns (DataRetentionSettings) { + rpc GetDataRetentionSettings(GetDataRetentionSettingsRequest) + returns (DataRetentionSettings) { option (google.api.http) = { get: "/v1beta/{name=properties/*/dataRetentionSettings}" }; @@ -418,12 +455,14 @@ service AnalyticsAdminService { } // Updates the singleton data retention settings for this property. - rpc UpdateDataRetentionSettings(UpdateDataRetentionSettingsRequest) returns (DataRetentionSettings) { + rpc UpdateDataRetentionSettings(UpdateDataRetentionSettingsRequest) + returns (DataRetentionSettings) { option (google.api.http) = { patch: "/v1beta/{data_retention_settings.name=properties/*/dataRetentionSettings}" body: "data_retention_settings" }; - option (google.api.method_signature) = "data_retention_settings,update_mask"; + option (google.api.method_signature) = + "data_retention_settings,update_mask"; } // Creates a DataStream. @@ -436,7 +475,8 @@ service AnalyticsAdminService { } // Deletes a DataStream on a property. - rpc DeleteDataStream(DeleteDataStreamRequest) returns (google.protobuf.Empty) { + rpc DeleteDataStream(DeleteDataStreamRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1beta/{name=properties/*/dataStreams/*}" }; @@ -453,7 +493,8 @@ service AnalyticsAdminService { } // Lists DataStreams on a property. - rpc ListDataStreams(ListDataStreamsRequest) returns (ListDataStreamsResponse) { + rpc ListDataStreams(ListDataStreamsRequest) + returns (ListDataStreamsResponse) { option (google.api.http) = { get: "/v1beta/{parent=properties/*}/dataStreams" }; @@ -467,6 +508,141 @@ service AnalyticsAdminService { }; option (google.api.method_signature) = "name"; } + + // Returns a customized report of data access records. The report provides + // records of each time a user reads Google Analytics reporting data. Access + // records are retained for up to 2 years. + // + // Data Access Reports can be requested for a property. The property must be + // in Google Analytics 360. This method is only available to Administrators. + // + // These data access records include GA4 UI Reporting, GA4 UI Explorations, + // GA4 Data API, and other products like Firebase & Admob that can retrieve + // data from Google Analytics through a linkage. These records don't include + // property configuration changes like adding a stream or changing a + // property's time zone. For configuration change history, see + // [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents). + rpc RunAccessReport(RunAccessReportRequest) + returns (RunAccessReportResponse) { + option (google.api.http) = { + post: "/v1beta/{entity=properties/*}:runAccessReport" + body: "*" + additional_bindings { + post: "/v1beta/{entity=accounts/*}:runAccessReport" + body: "*" + } + }; + } +} + +// The request for a Data Access Record Report. +message RunAccessReportRequest { + // The Data Access Report supports requesting at the property level or account + // level. If requested at the account level, Data Access Reports include all + // access for all properties under that account. + // + // To request at the property level, entity should be for example + // 'properties/123' if "123" is your GA4 property ID. To request at the + // account level, entity should be for example 'accounts/1234' if "1234" is + // your GA4 Account ID. + string entity = 1; + + // The dimensions requested and displayed in the response. Requests are + // allowed up to 9 dimensions. + repeated AccessDimension dimensions = 2; + + // The metrics requested and displayed in the response. Requests are allowed + // up to 10 metrics. + repeated AccessMetric metrics = 3; + + // Date ranges of access records to read. If multiple date ranges are + // requested, each response row will contain a zero based date range index. If + // two date ranges overlap, the access records for the overlapping days is + // included in the response rows for both date ranges. Requests are allowed up + // to 2 date ranges. + repeated AccessDateRange date_ranges = 4; + + // Dimension filters let you restrict report response to specific + // dimension values which match the filter. For example, filtering on access + // records of a single user. To learn more, see [Fundamentals of Dimension + // Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters) + // for examples. Metrics cannot be used in this filter. + AccessFilterExpression dimension_filter = 5; + + // Metric filters allow you to restrict report response to specific metric + // values which match the filter. Metric filters are applied after aggregating + // the report's rows, similar to SQL having-clause. Dimensions cannot be used + // in this filter. + AccessFilterExpression metric_filter = 6; + + // The row count of the start row. The first row is counted as row 0. If + // offset is unspecified, it is treated as 0. If offset is zero, then this + // method will return the first page of results with `limit` entries. + // + // To learn more about this pagination parameter, see + // [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + int64 offset = 7; + + // The number of rows to return. If unspecified, 10,000 rows are returned. The + // API returns a maximum of 100,000 rows per request, no matter how many you + // ask for. `limit` must be positive. + // + // The API may return fewer rows than the requested `limit`, if there aren't + // as many remaining rows as the `limit`. For instance, there are fewer than + // 300 possible values for the dimension `country`, so when reporting on only + // `country`, you can't get more than 300 rows, even if you set `limit` to a + // higher value. + // + // To learn more about this pagination parameter, see + // [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + int64 limit = 8; + + // This request's time zone if specified. If unspecified, the property's time + // zone is used. The request's time zone is used to interpret the start & end + // dates of the report. + // + // Formatted as strings from the IANA Time Zone database + // (https://www.iana.org/time-zones); for example "America/New_York" or + // "Asia/Tokyo". + string time_zone = 9; + + // Specifies how rows are ordered in the response. + repeated AccessOrderBy order_bys = 10; + + // Toggles whether to return the current state of this Analytics Property's + // quota. Quota is returned in [AccessQuota](#AccessQuota). For account-level + // requests, this field must be false. + bool return_entity_quota = 11; +} + +// The customized Data Access Record Report response. +message RunAccessReportResponse { + // The header for a column in the report that corresponds to a specific + // dimension. The number of DimensionHeaders and ordering of DimensionHeaders + // matches the dimensions present in rows. + repeated AccessDimensionHeader dimension_headers = 1; + + // The header for a column in the report that corresponds to a specific + // metric. The number of MetricHeaders and ordering of MetricHeaders matches + // the metrics present in rows. + repeated AccessMetricHeader metric_headers = 2; + + // Rows of dimension value combinations and metric values in the report. + repeated AccessRow rows = 3; + + // The total number of rows in the query result. `rowCount` is independent of + // the number of rows returned in the response, the `limit` request + // parameter, and the `offset` request parameter. For example if a query + // returns 175 rows and includes `limit` of 50 in the API request, the + // response will contain `rowCount` of 175 but only 50 rows. + // + // To learn more about this pagination parameter, see + // [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + int32 row_count = 4; + + // The quota state for this Analytics property including this request. This + // field doesn't work with account-level requests. + AccessQuota quota = 5; } // Request message for GetAccount RPC. @@ -531,10 +707,12 @@ message UpdateAccountRequest { // The account's `name` field is used to identify the account. Account account = 1 [(google.api.field_behavior) = REQUIRED]; - // Required. The list of fields to be updated. Field names must be in snake case - // (e.g., "field_to_update"). Omitted fields will not be updated. To replace - // the entire entity, use one path with the string "*" to match all fields. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; + // Required. The list of fields to be updated. Field names must be in snake + // case (for example, "field_to_update"). Omitted fields will not be updated. + // To replace the entire entity, use one path with the string "*" to match all + // fields. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; } // Request message for ProvisionAccountTicket RPC. @@ -543,7 +721,7 @@ message ProvisionAccountTicketRequest { Account account = 1; // Redirect URI where the user will be sent after accepting Terms of Service. - // Must be configured in Developers Console as a Redirect URI + // Must be configured in Cloud Console as a Redirect URI. string redirect_uri = 2; } @@ -621,10 +799,12 @@ message UpdatePropertyRequest { // updated. Property property = 1 [(google.api.field_behavior) = REQUIRED]; - // Required. The list of fields to be updated. Field names must be in snake case - // (e.g., "field_to_update"). Omitted fields will not be updated. To replace - // the entire entity, use one path with the string "*" to match all fields. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; + // Required. The list of fields to be updated. Field names must be in snake + // case (e.g., "field_to_update"). Omitted fields will not be updated. To + // replace the entire entity, use one path with the string "*" to match all + // fields. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; } // Request message for CreateProperty RPC. @@ -693,7 +873,7 @@ message ListFirebaseLinksRequest { // A page token, received from a previous `ListFirebaseLinks` call. // Provide this to retrieve the subsequent page. - // When paginating, all other parameters provided to `ListProperties` must + // When paginating, all other parameters provided to `ListFirebaseLinks` must // match the call that provided the page token. string page_token = 3; } @@ -729,10 +909,12 @@ message UpdateGoogleAdsLinkRequest { // The GoogleAdsLink to update GoogleAdsLink google_ads_link = 1; - // Required. The list of fields to be updated. Field names must be in snake case - // (e.g., "field_to_update"). Omitted fields will not be updated. To replace - // the entire entity, use one path with the string "*" to match all fields. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; + // Required. The list of fields to be updated. Field names must be in snake + // case (e.g., "field_to_update"). Omitted fields will not be updated. To + // replace the entire entity, use one path with the string "*" to match all + // fields. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; } // Request message for DeleteGoogleAdsLink RPC. @@ -827,8 +1009,8 @@ message AcknowledgeUserDataCollectionRequest { } ]; - // Required. An acknowledgement that the caller of this method understands the terms - // of user data collection. + // Required. An acknowledgement that the caller of this method understands the + // terms of user data collection. // // This field must contain the exact value: // "I acknowledge that I have the necessary privacy disclosures and rights @@ -839,13 +1021,12 @@ message AcknowledgeUserDataCollectionRequest { } // Response message for AcknowledgeUserDataCollection RPC. -message AcknowledgeUserDataCollectionResponse { - -} +message AcknowledgeUserDataCollectionResponse {} // Request message for SearchChangeHistoryEvents RPC. message SearchChangeHistoryEventsRequest { - // Required. The account resource for which to return change history resources. + // Required. The account resource for which to return change history + // resources. string account = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -862,22 +1043,26 @@ message SearchChangeHistoryEventsRequest { } ]; - // Optional. If set, only return changes if they are for a resource that matches at - // least one of these types. - repeated ChangeHistoryResourceType resource_type = 3 [(google.api.field_behavior) = OPTIONAL]; + // Optional. If set, only return changes if they are for a resource that + // matches at least one of these types. + repeated ChangeHistoryResourceType resource_type = 3 + [(google.api.field_behavior) = OPTIONAL]; - // Optional. If set, only return changes that match one or more of these types of - // actions. + // Optional. If set, only return changes that match one or more of these types + // of actions. repeated ActionType action = 4 [(google.api.field_behavior) = OPTIONAL]; - // Optional. If set, only return changes if they are made by a user in this list. + // Optional. If set, only return changes if they are made by a user in this + // list. repeated string actor_email = 5 [(google.api.field_behavior) = OPTIONAL]; // Optional. If set, only return changes made after this time (inclusive). - google.protobuf.Timestamp earliest_change_time = 6 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.Timestamp earliest_change_time = 6 + [(google.api.field_behavior) = OPTIONAL]; // Optional. If set, only return changes made before this time (inclusive). - google.protobuf.Timestamp latest_change_time = 7 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.Timestamp latest_change_time = 7 + [(google.api.field_behavior) = OPTIONAL]; // Optional. The maximum number of ChangeHistoryEvent items to return. // The service may return fewer than this value, even if there are additional @@ -885,10 +1070,11 @@ message SearchChangeHistoryEventsRequest { // The maximum value is 200 (higher values will be coerced to the maximum). int32 page_size = 8 [(google.api.field_behavior) = OPTIONAL]; - // Optional. A page token, received from a previous `SearchChangeHistoryEvents` call. - // Provide this to retrieve the subsequent page. When paginating, all other - // parameters provided to `SearchChangeHistoryEvents` must match the call that - // provided the page token. + // Optional. A page token, received from a previous + // `SearchChangeHistoryEvents` call. Provide this to retrieve the subsequent + // page. When paginating, all other parameters provided to + // `SearchChangeHistoryEvents` must match the call that provided the page + // token. string page_token = 9 [(google.api.field_behavior) = OPTIONAL]; } @@ -927,7 +1113,8 @@ message CreateMeasurementProtocolSecretRequest { ]; // Required. The measurement protocol secret to create. - MeasurementProtocolSecret measurement_protocol_secret = 2 [(google.api.field_behavior) = REQUIRED]; + MeasurementProtocolSecret measurement_protocol_secret = 2 + [(google.api.field_behavior) = REQUIRED]; } // Request message for DeleteMeasurementProtocolSecret RPC @@ -946,10 +1133,13 @@ message DeleteMeasurementProtocolSecretRequest { // Request message for UpdateMeasurementProtocolSecret RPC message UpdateMeasurementProtocolSecretRequest { // Required. The measurement protocol secret to update. - MeasurementProtocolSecret measurement_protocol_secret = 1 [(google.api.field_behavior) = REQUIRED]; + MeasurementProtocolSecret measurement_protocol_secret = 1 + [(google.api.field_behavior) = REQUIRED]; - // The list of fields to be updated. Omitted fields will not be updated. - google.protobuf.FieldMask update_mask = 2; + // Required. The list of fields to be updated. Omitted fields will not be + // updated. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; } // Request message for ListMeasurementProtocolSecret RPC @@ -991,8 +1181,8 @@ message CreateConversionEventRequest { // Required. The conversion event to create. ConversionEvent conversion_event = 1 [(google.api.field_behavior) = REQUIRED]; - // Required. The resource name of the parent property where this conversion event will - // be created. Format: properties/123 + // Required. The resource name of the parent property where this conversion + // event will be created. Format: properties/123 string parent = 2 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1001,6 +1191,20 @@ message CreateConversionEventRequest { ]; } +// Request message for UpdateConversionEvent RPC +message UpdateConversionEventRequest { + // Required. The conversion event to update. + // The `name` field is used to identify the settings to be updated. + ConversionEvent conversion_event = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The list of fields to be updated. Field names must be in snake + // case (e.g., "field_to_update"). Omitted fields will not be updated. To + // replace the entire entity, use one path with the string "*" to match all + // fields. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; +} + // Request message for GetConversionEvent RPC message GetConversionEventRequest { // Required. The resource name of the conversion event to retrieve. @@ -1079,10 +1283,11 @@ message UpdateCustomDimensionRequest { // The CustomDimension to update CustomDimension custom_dimension = 1; - // Required. The list of fields to be updated. Omitted fields will not be updated. - // To replace the entire entity, use one path with the string "*" to match - // all fields. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; + // Required. The list of fields to be updated. Omitted fields will not be + // updated. To replace the entire entity, use one path with the string "*" to + // match all fields. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; } // Request message for ListCustomDimensions RPC. @@ -1161,10 +1366,11 @@ message UpdateCustomMetricRequest { // The CustomMetric to update CustomMetric custom_metric = 1; - // Required. The list of fields to be updated. Omitted fields will not be updated. - // To replace the entire entity, use one path with the string "*" to match - // all fields. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; + // Required. The list of fields to be updated. Omitted fields will not be + // updated. To replace the entire entity, use one path with the string "*" to + // match all fields. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; } // Request message for ListCustomMetrics RPC. @@ -1242,12 +1448,15 @@ message GetDataRetentionSettingsRequest { message UpdateDataRetentionSettingsRequest { // Required. The settings to update. // The `name` field is used to identify the settings to be updated. - DataRetentionSettings data_retention_settings = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The list of fields to be updated. Field names must be in snake case - // (e.g., "field_to_update"). Omitted fields will not be updated. To replace - // the entire entity, use one path with the string "*" to match all fields. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; + DataRetentionSettings data_retention_settings = 1 + [(google.api.field_behavior) = REQUIRED]; + + // Required. The list of fields to be updated. Field names must be in snake + // case (e.g., "field_to_update"). Omitted fields will not be updated. To + // replace the entire entity, use one path with the string "*" to match all + // fields. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; } // Request message for CreateDataStream RPC. @@ -1281,10 +1490,11 @@ message UpdateDataStreamRequest { // The DataStream to update DataStream data_stream = 1; - // Required. The list of fields to be updated. Omitted fields will not be updated. - // To replace the entire entity, use one path with the string "*" to match - // all fields. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; + // Required. The list of fields to be updated. Omitted fields will not be + // updated. To replace the entire entity, use one path with the string "*" to + // match all fields. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; } // Request message for ListDataStreams RPC. diff --git a/third_party/googleapis/google/analytics/admin/v1beta/analyticsadmin.yaml b/third_party/googleapis/google/analytics/admin/v1beta/analyticsadmin.yaml deleted file mode 100644 index bffe682e8..000000000 --- a/third_party/googleapis/google/analytics/admin/v1beta/analyticsadmin.yaml +++ /dev/null @@ -1,109 +0,0 @@ -type: google.api.Service -config_version: 3 -name: analyticsadmin.googleapis.com -title: Google Analytics Admin API - -apis: -- name: google.analytics.admin.v1beta.AnalyticsAdminService - -authentication: - rules: - - selector: 'google.analytics.admin.v1beta.AnalyticsAdminService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit - - selector: google.analytics.admin.v1beta.AnalyticsAdminService.GetAccount - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1beta.AnalyticsAdminService.GetConversionEvent - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1beta.AnalyticsAdminService.GetCustomDimension - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1beta.AnalyticsAdminService.GetCustomMetric - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1beta.AnalyticsAdminService.GetDataRetentionSettings - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1beta.AnalyticsAdminService.GetDataSharingSettings - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1beta.AnalyticsAdminService.GetDataStream - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1beta.AnalyticsAdminService.GetMeasurementProtocolSecret - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1beta.AnalyticsAdminService.GetProperty - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1beta.AnalyticsAdminService.ListAccountSummaries - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1beta.AnalyticsAdminService.ListAccounts - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1beta.AnalyticsAdminService.ListConversionEvents - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1beta.AnalyticsAdminService.ListCustomDimensions - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1beta.AnalyticsAdminService.ListCustomMetrics - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1beta.AnalyticsAdminService.ListDataStreams - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1beta.AnalyticsAdminService.ListFirebaseLinks - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1beta.AnalyticsAdminService.ListGoogleAdsLinks - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1beta.AnalyticsAdminService.ListMeasurementProtocolSecrets - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly - - selector: google.analytics.admin.v1beta.AnalyticsAdminService.ListProperties - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/analytics.edit, - https://www.googleapis.com/auth/analytics.readonly diff --git a/third_party/googleapis/google/analytics/admin/v1beta/resources.proto b/third_party/googleapis/google/analytics/admin/v1beta/resources.proto index 2a7010305..46656802b 100644 --- a/third_party/googleapis/google/analytics/admin/v1beta/resources.proto +++ b/third_party/googleapis/google/analytics/admin/v1beta/resources.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -223,10 +223,12 @@ message Account { string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Time when this account was originally created. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Time when account payload fields were last updated. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Required. Human-readable display name for this account. string display_name = 4 [(google.api.field_behavior) = REQUIRED]; @@ -251,17 +253,19 @@ message Property { // Example: "properties/1000" string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Immutable. The property type for this Property resource. When creating a property, if - // the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be - // implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" types cannot yet be created - // via Google Analytics Admin API. + // Immutable. The property type for this Property resource. When creating a + // property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then + // "ORDINARY_PROPERTY" will be implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" + // types cannot yet be created with the Google Analytics Admin API. PropertyType property_type = 14 [(google.api.field_behavior) = IMMUTABLE]; // Output only. Time when the entity was originally created. - google.protobuf.Timestamp create_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Time when entity payload fields were last updated. - google.protobuf.Timestamp update_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Immutable. Resource name of this property's logical parent. // @@ -279,9 +283,9 @@ message Property { // Example: AUTOMOTIVE, FOOD_AND_DRINK IndustryCategory industry_category = 6; - // Required. Reporting Time Zone, used as the day boundary for reports, regardless of - // where the data originates. If the time zone honors DST, Analytics will - // automatically adjust for the changes. + // Required. Reporting Time Zone, used as the day boundary for reports, + // regardless of where the data originates. If the time zone honors DST, + // Analytics will automatically adjust for the changes. // // NOTE: Changing the time zone only affects data going forward, and is not // applied retroactively. @@ -297,17 +301,20 @@ message Property { // Examples: "USD", "EUR", "JPY" string currency_code = 8; - // Output only. The Google Analytics service level that applies to this property. + // Output only. The Google Analytics service level that applies to this + // property. ServiceLevel service_level = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. If set, the time at which this property was trashed. If not set, then this - // property is not currently in the trash can. - google.protobuf.Timestamp delete_time = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. If set, the time at which this property was trashed. If not + // set, then this property is not currently in the trash can. + google.protobuf.Timestamp delete_time = 11 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. If set, the time at which this trashed property will be permanently - // deleted. If not set, then this property is not currently in the trash can - // and is not slated to be deleted. - google.protobuf.Timestamp expire_time = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. If set, the time at which this trashed property will be + // permanently deleted. If not set, then this property is not currently in the + // trash can and is not slated to be deleted. + google.protobuf.Timestamp expire_time = 12 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Immutable. The resource name of the parent account // Format: accounts/{account_id} @@ -329,17 +336,18 @@ message DataStream { // Data specific to web streams. message WebStreamData { - // Output only. Analytics "Measurement ID", without the "G-" prefix. - // Example: "G-1A2BCD345E" would just be "1A2BCD345E" + // Output only. Analytics Measurement ID. + // + // Example: "G-1A2BCD345E" string measurement_id = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. ID of the corresponding web app in Firebase, if any. // This ID can change if the web app is deleted and recreated. string firebase_app_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Immutable. Domain name of the web app being measured, or empty. + // Domain name of the web app being measured, or empty. // Example: "http://www.google.com", "https://www.google.com" - string default_uri = 3 [(google.api.field_behavior) = IMMUTABLE]; + string default_uri = 3; } // Data specific to Android app streams. @@ -417,10 +425,12 @@ message DataStream { string display_name = 3; // Output only. Time when this stream was originally created. - google.protobuf.Timestamp create_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Time when stream payload fields were last updated. - google.protobuf.Timestamp update_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // A link between a GA4 property and a Firebase project. @@ -433,9 +443,9 @@ message FirebaseLink { // Output only. Example format: properties/1234/firebaseLinks/5678 string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Immutable. Firebase project resource name. When creating a FirebaseLink, you may - // provide this resource name using either a project number or project ID. - // Once this resource has been created, returned FirebaseLinks will always + // Immutable. Firebase project resource name. When creating a FirebaseLink, + // you may provide this resource name using either a project number or project + // ID. Once this resource has been created, returned FirebaseLinks will always // have a project_name that contains a project number. // // Format: 'projects/{project number}' @@ -443,7 +453,8 @@ message FirebaseLink { string project = 2 [(google.api.field_behavior) = IMMUTABLE]; // Output only. Time when this FirebaseLink was originally created. - google.protobuf.Timestamp create_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // A link between a GA4 property and a Google Ads account. @@ -453,7 +464,8 @@ message GoogleAdsLink { pattern: "properties/{property}/googleAdsLinks/{google_ads_link}" }; - // Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} + // Output only. Format: + // properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} // // Note: googleAdsLinkId is not the Google Ads customer ID. string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -471,10 +483,12 @@ message GoogleAdsLink { google.protobuf.BoolValue ads_personalization_enabled = 5; // Output only. Time when this link was originally created. - google.protobuf.Timestamp create_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Time when this link was last updated. - google.protobuf.Timestamp update_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Email address of the user that created the link. // An empty string will be returned if the email address can't be retrieved. @@ -531,8 +545,8 @@ message AccountSummary { // Format: accounts/{account_id} // Example: "accounts/1000" string account = 2 [(google.api.resource_reference) = { - type: "analyticsadmin.googleapis.com/Account" - }]; + type: "analyticsadmin.googleapis.com/Account" + }]; // Display name for the account referred to in this account summary. string display_name = 3; @@ -547,8 +561,8 @@ message PropertySummary { // Format: properties/{property_id} // Example: "properties/1000" string property = 1 [(google.api.resource_reference) = { - type: "analyticsadmin.googleapis.com/Property" - }]; + type: "analyticsadmin.googleapis.com/Property" + }]; // Display name for the property referred to in this property summary. string display_name = 2; @@ -571,17 +585,16 @@ message MeasurementProtocolSecret { pattern: "properties/{property}/dataStreams/{data_stream}/measurementProtocolSecrets/{measurement_protocol_secret}" }; - // Output only. Resource name of this secret. This secret may be a child of any type of - // stream. - // Format: + // Output only. Resource name of this secret. This secret may be a child of + // any type of stream. Format: // properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Required. Human-readable display name for this secret. string display_name = 2 [(google.api.field_behavior) = REQUIRED]; - // Output only. The measurement protocol secret value. Pass this value to the api_secret - // field of the Measurement Protocol API when sending hits to this + // Output only. The measurement protocol secret value. Pass this value to the + // api_secret field of the Measurement Protocol API when sending hits to this // secret's parent property. string secret_value = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; } @@ -668,6 +681,20 @@ message ConversionEvent { pattern: "properties/{property}/conversionEvents/{conversion_event}" }; + // The method by which conversions will be counted across multiple events + // within a session. + enum ConversionCountingMethod { + // Counting method not specified. + CONVERSION_COUNTING_METHOD_UNSPECIFIED = 0; + + // Each Event instance is considered a Conversion. + ONCE_PER_EVENT = 1; + + // An Event instance is considered a Conversion at most once per session per + // user. + ONCE_PER_SESSION = 2; + } + // Output only. Resource name of this conversion event. // Format: properties/{property}/conversionEvents/{conversion_event} string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -677,18 +704,26 @@ message ConversionEvent { string event_name = 2 [(google.api.field_behavior) = IMMUTABLE]; // Output only. Time when this conversion event was created in the property. - google.protobuf.Timestamp create_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. If set, this event can currently be deleted via DeleteConversionEvent. + // Output only. If set, this event can currently be deleted with + // DeleteConversionEvent. bool deletable = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. If set to true, this conversion event refers to a custom event. If set to - // false, this conversion event refers to a default event in GA. Default - // events typically have special meaning in GA. Default events are usually - // created for you by the GA system, but in some cases can be created by - // property admins. Custom events count towards the maximum number of + // Output only. If set to true, this conversion event refers to a custom + // event. If set to false, this conversion event refers to a default event in + // GA. Default events typically have special meaning in GA. Default events are + // usually created for you by the GA system, but in some cases can be created + // by property admins. Custom events count towards the maximum number of // custom conversion events that may be created per property. bool custom = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. The method by which conversions will be counted across multiple + // events within a session. If this value is not provided, it will be set to + // `ONCE_PER_EVENT`. + ConversionCountingMethod counting_method = 6 + [(google.api.field_behavior) = OPTIONAL]; } // A definition for a CustomDimension. @@ -708,6 +743,9 @@ message CustomDimension { // Dimension scoped to a user. USER = 2; + + // Dimension scoped to eCommerce items + ITEM = 3; } // Output only. Resource name for this CustomDimension resource. @@ -720,6 +758,9 @@ message CustomDimension { // If this is an event-scoped dimension, then this is the event parameter // name. // + // If this is an item-scoped dimension, then this is the parameter + // name found in the eCommerce items array. + // // May only contain alphanumeric and underscore characters, starting with a // letter. Max length of 24 characters for user-scoped dimensions, 40 // characters for event-scoped dimensions. @@ -728,14 +769,15 @@ message CustomDimension { (google.api.field_behavior) = IMMUTABLE ]; - // Required. Display name for this custom dimension as shown in the Analytics UI. - // Max length of 82 characters, alphanumeric plus space and underscore + // Required. Display name for this custom dimension as shown in the Analytics + // UI. Max length of 82 characters, alphanumeric plus space and underscore // starting with a letter. Legacy system-generated display names may contain // square brackets, but updates to this field will never permit square // brackets. string display_name = 3 [(google.api.field_behavior) = REQUIRED]; - // Optional. Description for this custom dimension. Max length of 150 characters. + // Optional. Description for this custom dimension. Max length of 150 + // characters. string description = 4 [(google.api.field_behavior) = OPTIONAL]; // Required. Immutable. The scope of this dimension. @@ -744,11 +786,12 @@ message CustomDimension { (google.api.field_behavior) = IMMUTABLE ]; - // Optional. If set to true, sets this dimension as NPA and excludes it from ads - // personalization. + // Optional. If set to true, sets this dimension as NPA and excludes it from + // ads personalization. // // This is currently only supported by user-scoped custom dimensions. - bool disallow_ads_personalization = 6 [(google.api.field_behavior) = OPTIONAL]; + bool disallow_ads_personalization = 6 + [(google.api.field_behavior) = OPTIONAL]; } // A definition for a custom metric. @@ -855,10 +898,11 @@ message CustomMetric { (google.api.field_behavior) = IMMUTABLE ]; - // Optional. Types of restricted data that this metric may contain. Required for metrics - // with CURRENCY measurement unit. Must be empty for metrics with a - // non-CURRENCY measurement unit. - repeated RestrictedMetricType restricted_metric_type = 8 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Types of restricted data that this metric may contain. Required + // for metrics with CURRENCY measurement unit. Must be empty for metrics with + // a non-CURRENCY measurement unit. + repeated RestrictedMetricType restricted_metric_type = 8 + [(google.api.field_behavior) = OPTIONAL]; } // Settings values for data retention. This is a singleton resource. diff --git a/third_party/googleapis/google/analytics/data/BUILD.bazel b/third_party/googleapis/google/analytics/data/BUILD.bazel index 40fd80e36..767d37bee 100644 --- a/third_party/googleapis/google/analytics/data/BUILD.bazel +++ b/third_party/googleapis/google/analytics/data/BUILD.bazel @@ -22,7 +22,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-analytics-data", "ruby-cloud-env-prefix=ANALYTICS_DATA", - "ruby-cloud-wrapper-of=v1beta:0.0", + "ruby-cloud-wrapper-of=v1beta:0.11", "ruby-cloud-product-url=https://developers.google.com/analytics/devguides/reporting/data/v1", "ruby-cloud-api-id=analyticsdata.googleapis.com", "ruby-cloud-api-shortname=analyticsdata", @@ -30,6 +30,7 @@ ruby_cloud_gapic_library( ], ruby_cloud_description = "The Google Analytics Data API provides programmatic methods to access report data in Google Analytics 4 (GA4) properties. Google Analytics 4 helps you understand how people use your web, iOS, or Android app.", ruby_cloud_title = "Google Analytics Data", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/analytics/data/v1alpha/BUILD.bazel b/third_party/googleapis/google/analytics/data/v1alpha/BUILD.bazel index c1b4ae2ca..a3d344961 100644 --- a/third_party/googleapis/google/analytics/data/v1alpha/BUILD.bazel +++ b/third_party/googleapis/google/analytics/data/v1alpha/BUILD.bazel @@ -9,45 +9,14 @@ # * 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"]) + ############################################################################## # Common ############################################################################## load("@rules_proto//proto:defs.bzl", "proto_library") -load( - "@com_google_googleapis_imports//:imports.bzl", - "cc_grpc_library", - "cc_proto_library", - "csharp_gapic_assembly_pkg", - "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", - "go_gapic_assembly_pkg", - "go_gapic_library", - "go_proto_library", - "go_test", - "java_gapic_assembly_gradle_pkg", - "java_gapic_library", - "java_gapic_test", - "java_grpc_library", - "java_proto_library", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", - "php_gapic_assembly_pkg", - "php_gapic_library", - "php_grpc_library", - "php_proto_library", - "proto_library_with_info", - "py_gapic_assembly_pkg", - "py_gapic_library", - "py_test", - "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) +load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") proto_library( name = "data_proto", @@ -58,7 +27,11 @@ proto_library( deps = [ "//google/api:annotations_proto", "//google/api:client_proto", + "//google/api:field_behavior_proto", + "//google/api:resource_proto", + "//google/longrunning:operations_proto", "@com_google_protobuf//:duration_proto", + "@com_google_protobuf//:timestamp_proto", ], ) @@ -70,6 +43,18 @@ proto_library_with_info( ], ) +############################################################################## +# Java +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "java_gapic_assembly_gradle_pkg", + "java_gapic_library", + "java_gapic_test", + "java_grpc_library", + "java_proto_library", +) + java_proto_library( name = "data_java_proto", deps = [":data_proto"], @@ -120,6 +105,16 @@ java_gapic_assembly_gradle_pkg( ], ) +############################################################################## +# Go +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "go_gapic_assembly_pkg", + "go_gapic_library", + "go_proto_library", +) + go_proto_library( name = "data_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], @@ -127,6 +122,7 @@ go_proto_library( protos = [":data_proto"], deps = [ "//google/api:annotations_go_proto", + "//google/longrunning:longrunning_go_proto", ], ) @@ -136,33 +132,41 @@ go_gapic_library( grpc_service_config = "analytics_data_grpc_service_config.json", importpath = "google.golang.org/google/analytics/data/v1alpha;data", metadata = True, + release_level = "beta", rest_numeric_enums = True, service_yaml = "analyticsdata_v1alpha.yaml", transport = "grpc+rest", deps = [ ":data_go_proto", + "//google/longrunning:longrunning_go_proto", + "@com_google_cloud_go_longrunning//:go_default_library", + "@com_google_cloud_go_longrunning//autogen:go_default_library", "@io_bazel_rules_go//proto/wkt:duration_go_proto", ], ) -go_test( - name = "data_go_gapic_test", - srcs = [":data_go_gapic_srcjar_test"], - embed = [":data_go_gapic"], - importpath = "google.golang.org/google/analytics/data/v1alpha", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-analytics-data-v1alpha-go", deps = [ ":data_go_gapic", ":data_go_gapic_srcjar-metadata.srcjar", + ":data_go_gapic_srcjar-snippets.srcjar", ":data_go_gapic_srcjar-test.srcjar", ":data_go_proto", ], ) +############################################################################## +# Python +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "py_gapic_assembly_pkg", + "py_gapic_library", + "py_test", +) + py_gapic_library( name = "data_py_gapic", srcs = [":data_proto"], @@ -170,6 +174,8 @@ py_gapic_library( rest_numeric_enums = True, service_yaml = "analyticsdata_v1alpha.yaml", transport = "grpc+rest", + deps = [ + ], ) py_test( @@ -190,26 +196,30 @@ py_gapic_assembly_pkg( ], ) +############################################################################## +# PHP +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "php_gapic_assembly_pkg", + "php_gapic_library", + "php_proto_library", +) + php_proto_library( name = "data_php_proto", deps = [":data_proto"], ) -php_grpc_library( - name = "data_php_grpc", - srcs = [":data_proto"], - deps = [":data_php_proto"], -) - php_gapic_library( name = "data_php_gapic", srcs = [":data_proto_with_info"], grpc_service_config = "analytics_data_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "analyticsdata_v1alpha.yaml", transport = "grpc+rest", deps = [ - ":data_php_grpc", ":data_php_proto", ], ) @@ -219,11 +229,19 @@ php_gapic_assembly_pkg( name = "google-cloud-analytics-data-v1alpha-php", deps = [ ":data_php_gapic", - ":data_php_grpc", ":data_php_proto", ], ) +############################################################################## +# Node.js +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "nodejs_gapic_assembly_pkg", + "nodejs_gapic_library", +) + nodejs_gapic_library( name = "data_nodejs_gapic", package_name = "@google-cloud/data", @@ -245,6 +263,17 @@ nodejs_gapic_assembly_pkg( ], ) +############################################################################## +# Ruby +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "ruby_cloud_gapic_library", + "ruby_gapic_assembly_pkg", + "ruby_grpc_library", + "ruby_proto_library", +) + ruby_proto_library( name = "data_ruby_proto", deps = [":data_proto"], @@ -259,12 +288,11 @@ ruby_grpc_library( ruby_cloud_gapic_library( name = "data_ruby_gapic", srcs = [":data_proto_with_info"], - extra_protoc_parameters = [ - "ruby-cloud-gem-name=google-cloud-analytics-data-v1alpha", - ], + extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-analytics-data-v1alpha"], grpc_service_config = "analytics_data_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "analyticsdata_v1alpha.yaml", + transport = "grpc+rest", deps = [ ":data_ruby_grpc", ":data_ruby_proto", @@ -281,6 +309,17 @@ ruby_gapic_assembly_pkg( ], ) +############################################################################## +# C# +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "csharp_gapic_assembly_pkg", + "csharp_gapic_library", + "csharp_grpc_library", + "csharp_proto_library", +) + csharp_proto_library( name = "data_csharp_proto", deps = [":data_proto"], @@ -316,6 +355,15 @@ csharp_gapic_assembly_pkg( ], ) +############################################################################## +# C++ +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "cc_grpc_library", + "cc_proto_library", +) + cc_proto_library( name = "data_cc_proto", deps = [":data_proto"], diff --git a/third_party/googleapis/google/analytics/data/v1alpha/analytics_data_api.proto b/third_party/googleapis/google/analytics/data/v1alpha/analytics_data_api.proto index f86cf8dbd..ca5e5f64b 100644 --- a/third_party/googleapis/google/analytics/data/v1alpha/analytics_data_api.proto +++ b/third_party/googleapis/google/analytics/data/v1alpha/analytics_data_api.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -19,18 +19,29 @@ package google.analytics.data.v1alpha; import "google/analytics/data/v1alpha/data.proto"; import "google/api/annotations.proto"; import "google/api/client.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/longrunning/operations.proto"; +import "google/protobuf/timestamp.proto"; option go_package = "google.golang.org/genproto/googleapis/analytics/data/v1alpha;data"; option java_multiple_files = true; option java_outer_classname = "AnalyticsDataApiProto"; option java_package = "com.google.analytics.data.v1alpha"; +option (google.api.resource_definition) = { + type: "analyticsadmin.googleapis.com/Property" + pattern: "properties/{property}" +}; // Google Analytics reporting data service. service AlphaAnalyticsData { option (google.api.default_host) = "analyticsdata.googleapis.com"; option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/analytics," - "https://www.googleapis.com/auth/analytics.readonly"; + "https://www.googleapis.com/auth/analytics.readonly," + "https://www.googleapis.com/auth/drive," + "https://www.googleapis.com/auth/drive.file," + "https://www.googleapis.com/auth/spreadsheets"; // Returns a customized funnel report of your Google Analytics event data. The // data returned from the API is as a table with columns for the requested @@ -42,12 +53,728 @@ service AlphaAnalyticsData { // How do one time buyers become repeat buyers? With this information, you can // improve inefficient or abandoned customer journeys. To learn more, see [GA4 // Funnel Explorations](https://support.google.com/analytics/answer/9327974). - rpc RunFunnelReport(RunFunnelReportRequest) returns (RunFunnelReportResponse) { + // + // This method is introduced at alpha stability with the intention of + // gathering feedback on syntax and capabilities before entering beta. To give + // your feedback on this API, complete the [Google Analytics Data API Funnel + // Reporting + // Feedback](https://docs.google.com/forms/d/e/1FAIpQLSdwOlQDJAUoBiIgUZZ3S_Lwi8gr7Bb0k1jhvc-DEg7Rol3UjA/viewform). + rpc RunFunnelReport(RunFunnelReportRequest) + returns (RunFunnelReportResponse) { option (google.api.http) = { post: "/v1alpha/{property=properties/*}:runFunnelReport" body: "*" }; } + + // Creates an audience list for later retrieval. This method quickly returns + // the audience list's resource name and initiates a long running asynchronous + // request to form an audience list. To list the users in an audience list, + // first create the audience list through this method and then send the + // audience resource name to the `QueryAudienceList` method. + // + // See [Creating an Audience + // List](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) + // for an introduction to Audience Lists with examples. + // + // An audience list is a snapshot of the users currently in the audience at + // the time of audience list creation. Creating audience lists for one + // audience on different days will return different results as users enter and + // exit the audience. + // + // Audiences in Google Analytics 4 allow you to segment your users in the ways + // that are important to your business. To learn more, see + // https://support.google.com/analytics/answer/9267572. Audience lists contain + // the users in each audience. + // + // This method is available at beta stability at + // [audienceExports.create](https://developers.google.com/analytics/devguides/reporting/data/v1/rest/v1beta/properties.audienceExports/create). + // To give your feedback on this API, complete the [Google Analytics Audience + // Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + rpc CreateAudienceList(CreateAudienceListRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1alpha/{parent=properties/*}/audienceLists" + body: "audience_list" + }; + option (google.api.method_signature) = "parent,audience_list"; + option (google.longrunning.operation_info) = { + response_type: "AudienceList" + metadata_type: "AudienceListMetadata" + }; + } + + // Retrieves an audience list of users. After creating an audience, the users + // are not immediately available for listing. First, a request to + // `CreateAudienceList` is necessary to create an audience list of users, and + // then second, this method is used to retrieve the users in the audience + // list. + // + // See [Creating an Audience + // List](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) + // for an introduction to Audience Lists with examples. + // + // Audiences in Google Analytics 4 allow you to segment your users in the ways + // that are important to your business. To learn more, see + // https://support.google.com/analytics/answer/9267572. + // + // This method is available at beta stability at + // [audienceExports.query](https://developers.google.com/analytics/devguides/reporting/data/v1/rest/v1beta/properties.audienceExports/query). + // To give your feedback on this API, complete the [Google Analytics Audience + // Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + rpc QueryAudienceList(QueryAudienceListRequest) + returns (QueryAudienceListResponse) { + option (google.api.http) = { + post: "/v1alpha/{name=properties/*/audienceLists/*}:query" + body: "*" + }; + option (google.api.method_signature) = "name"; + } + + // Exports an audience list of users to a Google Sheet. After creating an + // audience, the users are not immediately available for listing. First, a + // request to `CreateAudienceList` is necessary to create an audience list of + // users, and then second, this method is used to export those users in the + // audience list to a Google Sheet. + // + // See [Creating an Audience + // List](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) + // for an introduction to Audience Lists with examples. + // + // Audiences in Google Analytics 4 allow you to segment your users in the ways + // that are important to your business. To learn more, see + // https://support.google.com/analytics/answer/9267572. + // + // This method is introduced at alpha stability with the intention of + // gathering feedback on syntax and capabilities before entering beta. To give + // your feedback on this API, complete the + // [Google Analytics Audience Export API + // Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + rpc SheetExportAudienceList(SheetExportAudienceListRequest) + returns (SheetExportAudienceListResponse) { + option (google.api.http) = { + post: "/v1alpha/{name=properties/*/audienceLists/*}:exportSheet" + body: "*" + }; + option (google.api.method_signature) = "name"; + } + + // Gets configuration metadata about a specific audience list. This method + // can be used to understand an audience list after it has been created. + // + // See [Creating an Audience + // List](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) + // for an introduction to Audience Lists with examples. + // + // This method is available at beta stability at + // [audienceExports.get](https://developers.google.com/analytics/devguides/reporting/data/v1/rest/v1beta/properties.audienceExports/get). + // To give your feedback on this API, complete the + // [Google Analytics Audience Export API + // Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + rpc GetAudienceList(GetAudienceListRequest) returns (AudienceList) { + option (google.api.http) = { + get: "/v1alpha/{name=properties/*/audienceLists/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Lists all audience lists for a property. This method can be used for you to + // find and reuse existing audience lists rather than creating unnecessary new + // audience lists. The same audience can have multiple audience lists that + // represent the list of users that were in an audience on different days. + // + // See [Creating an Audience + // List](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) + // for an introduction to Audience Lists with examples. + // + // This method is available at beta stability at + // [audienceExports.list](https://developers.google.com/analytics/devguides/reporting/data/v1/rest/v1beta/properties.audienceExports/list). + // To give your feedback on this API, complete the + // [Google Analytics Audience Export API + // Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + rpc ListAudienceLists(ListAudienceListsRequest) + returns (ListAudienceListsResponse) { + option (google.api.http) = { + get: "/v1alpha/{parent=properties/*}/audienceLists" + }; + option (google.api.method_signature) = "parent"; + } + + // Creates a recurring audience list. Recurring audience lists produces new + // audience lists each day. Audience lists are users in an audience at the + // time of the list's creation. + // + // A recurring audience list ensures that you have audience list based on the + // most recent data available for use each day. If you manually create + // audience list, you don't know when an audience list based on an additional + // day's data is available. This recurring audience list automates the + // creation of an audience list when an additional day's data is available. + // You will consume fewer quota tokens by using recurring audience list versus + // manually creating audience list at various times of day trying to guess + // when an additional day's data is ready. + // + // This method is introduced at alpha stability with the intention of + // gathering feedback on syntax and capabilities before entering beta. To give + // your feedback on this API, complete the + // [Google Analytics Audience Export API + // Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + rpc CreateRecurringAudienceList(CreateRecurringAudienceListRequest) + returns (RecurringAudienceList) { + option (google.api.http) = { + post: "/v1alpha/{parent=properties/*}/recurringAudienceLists" + body: "recurring_audience_list" + }; + option (google.api.method_signature) = "parent,recurring_audience_list"; + } + + // Gets configuration metadata about a specific recurring audience list. This + // method can be used to understand a recurring audience list's state after it + // has been created. For example, a recurring audience list resource will + // generate audience list instances for each day, and this method can be used + // to get the resource name of the most recent audience list instance. + // + // This method is introduced at alpha stability with the intention of + // gathering feedback on syntax and capabilities before entering beta. To give + // your feedback on this API, complete the + // [Google Analytics Audience Export API + // Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + rpc GetRecurringAudienceList(GetRecurringAudienceListRequest) + returns (RecurringAudienceList) { + option (google.api.http) = { + get: "/v1alpha/{name=properties/*/recurringAudienceLists/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Lists all recurring audience lists for a property. This method can be used + // for you to find and reuse existing recurring audience lists rather than + // creating unnecessary new recurring audience lists. The same audience can + // have multiple recurring audience lists that represent different dimension + // combinations; for example, just the dimension `deviceId` or both the + // dimensions `deviceId` and `userId`. + // + // This method is introduced at alpha stability with the intention of + // gathering feedback on syntax and capabilities before entering beta. To give + // your feedback on this API, complete the + // [Google Analytics Audience Export API + // Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + rpc ListRecurringAudienceLists(ListRecurringAudienceListsRequest) + returns (ListRecurringAudienceListsResponse) { + option (google.api.http) = { + get: "/v1alpha/{parent=properties/*}/recurringAudienceLists" + }; + option (google.api.method_signature) = "parent"; + } +} + +// A request to create a new recurring audience list. +message CreateRecurringAudienceListRequest { + // Required. The parent resource where this recurring audience list will be + // created. Format: `properties/{property}` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "analyticsdata.googleapis.com/RecurringAudienceList" + } + ]; + + // Required. The recurring audience list to create. + RecurringAudienceList recurring_audience_list = 2 + [(google.api.field_behavior) = REQUIRED]; +} + +// A recurring audience list produces new audience lists each day. Audience +// lists are users in an audience at the time of the list's creation. A +// recurring audience list ensures that you have audience list based on the most +// recent data available for use each day. +message RecurringAudienceList { + option (google.api.resource) = { + type: "analyticsdata.googleapis.com/RecurringAudienceList" + pattern: "properties/{property}/recurringAudienceLists/{recurring_audience_list}" + plural: "recurringAudienceLists" + singular: "recurringAudienceList" + }; + + // Output only. Identifier. The recurring audience list resource name assigned + // during creation. This resource name identifies this + // `RecurringAudienceList`. + // + // Format: + // `properties/{property}/recurringAudienceLists/{recurring_audience_list}` + string name = 1 [ + (google.api.field_behavior) = IDENTIFIER, + (google.api.field_behavior) = OUTPUT_ONLY + ]; + + // Required. The audience resource name. This resource name identifies the + // audience being listed and is shared between the Analytics Data & Admin + // APIs. + // + // Format: `properties/{property}/audiences/{audience}` + string audience = 2 [(google.api.field_behavior) = REQUIRED]; + + // Output only. The descriptive display name for this audience. For example, + // "Purchasers". + string audience_display_name = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Required. The dimensions requested and displayed in the audience list + // response. + repeated AudienceDimension dimensions = 4 + [(google.api.field_behavior) = REQUIRED]; + + // Optional. The number of remaining days that a recurring audience export + // will produce an audience list instance. This counter decreases by one each + // day, and when it reaches zero, no new audience lists will be created. + // + // Recurring audience list request for Analytics 360 properties default to 180 + // days and have a maximum of 365 days. Requests for standard Analytics + // properties default to 14 days and have a maximum of 30 days. + // + // The minimum value allowed during creation is 1. Requests above their + // respective maximum will be coerced to their maximum. + optional int32 active_days_remaining = 5 + [(google.api.field_behavior) = OPTIONAL]; + + // Output only. Audience list resource names for audience list instances + // created for this recurring audience list. One audience list is created for + // each day, and the audience list will be listed here. + // + // This list is ordered with the most recently created audience list first. + repeated string audience_lists = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. Configures webhook notifications to be sent from the Google + // Analytics Data API to your webhook server. Use of webhooks is optional. If + // unused, you'll need to poll this API to determine when a recurring audience + // list creates new audience lists. Webhooks allow a notification to be sent + // to your servers & avoid the need for polling. + // + // Two POST requests will be sent each time a recurring audience list creates + // an audience list. This happens once per day until a recurring audience list + // reaches 0 active days remaining. The first request will be sent showing a + // newly created audience list in its CREATING state. The second request will + // be sent after the audience list completes creation (either the ACTIVE or + // FAILED state). + optional WebhookNotification webhook_notification = 8 + [(google.api.field_behavior) = OPTIONAL]; +} + +// Configures a long-running operation resource to send a webhook notification +// from the Google Analytics Data API to your webhook server when the resource +// updates. +// +// Notification configurations contain private values & are only visible to your +// GCP project. Different GCP projects may attach different webhook +// notifications to the same long-running operation resource. +message WebhookNotification { + // Optional. The web address that will receive the webhook notification. This + // address will receive POST requests as the state of the long running + // operation resource changes. The POST request will contain both a JSON + // version of the long running operation resource in the body and a + // `sentTimestamp` field. The sent timestamp will specify the unix + // microseconds since the epoch that the request was sent; this lets you + // identify replayed notifications. + // + // An example URI is + // `https://us-central1-example-project-id.cloudfunctions.net/example-function-1`. + // + // The URI must use HTTPS and point to a site with a valid SSL certificate on + // the web server. The URI must have a maximum string length of 128 characters + // & use only the allowlisted characters from [RFC + // 1738](https://www.rfc-editor.org/rfc/rfc1738). + // + // When your webhook server receives a notification, it is expected to reply + // with an HTTP response status code of 200 within 5 seconds. + // + // A URI is required to use webhook notifications. + // + // Requests to this webhook server will contain an ID token authenticating the + // service account + // `google-analytics-audience-export@system.gserviceaccount.com`. To learn + // more about ID tokens, see + // https://cloud.google.com/docs/authentication/token-types#id. For Google + // Cloud Functions, this lets you configure your function to require + // authentication. In Cloud IAM, you will need to grant the service account + // permissions to the Cloud Run Invoker (`roles/run.invoker`) & Cloud + // Functions Invoker (`roles/cloudfunctions.invoker`) roles for the webhook + // post request to pass Google Cloud Functions authentication. This API can + // send webhook notifications to arbitrary URIs; for webhook servers other + // than Google Cloud Functions, this ID token in the authorization bearer + // header should be ignored if it is not needed. + optional string uri = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The channel token is an arbitrary string value and must have a + // maximum string length of 64 characters. Channel tokens allow you to verify + // the source of a webhook notification. This guards against the message being + // spoofed. The channel token will be specified in the `X-Goog-Channel-Token` + // HTTP header of the webhook POST request. + // + // A channel token is not required to use webhook notifications. + optional string channel_token = 2 [(google.api.field_behavior) = OPTIONAL]; +} + +// A request to retrieve configuration metadata about a specific recurring +// audience list. +message GetRecurringAudienceListRequest { + // Required. The recurring audience list resource name. + // Format: + // `properties/{property}/recurringAudienceLists/{recurring_audience_list}` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "analyticsdata.googleapis.com/RecurringAudienceList" + } + ]; +} + +// A request to list all recurring audience lists for a property. +message ListRecurringAudienceListsRequest { + // Required. All recurring audience lists for this property will be listed in + // the response. Format: `properties/{property}` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "analyticsdata.googleapis.com/RecurringAudienceList" + } + ]; + + // Optional. The maximum number of recurring audience lists to return. The + // service may return fewer than this value. If unspecified, at most 200 + // recurring audience lists will be returned. The maximum value is 1000 + // (higher values will be coerced to the maximum). + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. A page token, received from a previous + // `ListRecurringAudienceLists` call. Provide this to retrieve the subsequent + // page. + // + // When paginating, all other parameters provided to + // `ListRecurringAudienceLists` must match the call that provided the page + // token. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// A list of all recurring audience lists for a property. +message ListRecurringAudienceListsResponse { + // Each recurring audience list for a property. + repeated RecurringAudienceList recurring_audience_lists = 1; + + // A token, which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + optional string next_page_token = 2; +} + +// A request to retrieve configuration metadata about a specific audience list. +message GetAudienceListRequest { + // Required. The audience list resource name. + // Format: `properties/{property}/audienceLists/{audience_list}` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "analyticsdata.googleapis.com/AudienceList" + } + ]; +} + +// A request to list all audience lists for a property. +message ListAudienceListsRequest { + // Required. All audience lists for this property will be listed in the + // response. Format: `properties/{property}` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "analyticsdata.googleapis.com/AudienceList" + } + ]; + + // Optional. The maximum number of audience lists to return. The service may + // return fewer than this value. If unspecified, at most 200 audience lists + // will be returned. The maximum value is 1000 (higher values will be coerced + // to the maximum). + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. A page token, received from a previous `ListAudienceLists` call. + // Provide this to retrieve the subsequent page. + // + // When paginating, all other parameters provided to `ListAudienceLists` must + // match the call that provided the page token. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// A list of all audience lists for a property. +message ListAudienceListsResponse { + // Each audience list for a property. + repeated AudienceList audience_lists = 1; + + // A token, which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + optional string next_page_token = 2; +} + +// A request to create a new audience list. +message CreateAudienceListRequest { + // Required. The parent resource where this audience list will be created. + // Format: `properties/{property}` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "analyticsdata.googleapis.com/AudienceList" + } + ]; + + // Required. The audience list to create. + AudienceList audience_list = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// An audience list is a list of users in an audience at the time of the list's +// creation. One audience may have multiple audience lists created for different +// days. +message AudienceList { + option (google.api.resource) = { + type: "analyticsdata.googleapis.com/AudienceList" + pattern: "properties/{property}/audienceLists/{audience_list}" + plural: "audienceLists" + singular: "audienceList" + }; + + // The AudienceList currently exists in this state. + enum State { + // Unspecified state will never be used. + STATE_UNSPECIFIED = 0; + + // The AudienceList is currently creating and will be available in the + // future. Creating occurs immediately after the CreateAudienceList call. + CREATING = 1; + + // The AudienceList is fully created and ready for querying. An AudienceList + // is updated to active asynchronously from a request; this occurs some + // time (for example 15 minutes) after the initial create call. + ACTIVE = 2; + + // The AudienceList failed to be created. It is possible that re-requesting + // this audience list will succeed. + FAILED = 3; + } + + // Output only. Identifier. The audience list resource name assigned during + // creation. This resource name identifies this `AudienceList`. + // + // Format: `properties/{property}/audienceLists/{audience_list}` + string name = 1 [ + (google.api.field_behavior) = IDENTIFIER, + (google.api.field_behavior) = OUTPUT_ONLY + ]; + + // Required. The audience resource name. This resource name identifies the + // audience being listed and is shared between the Analytics Data & Admin + // APIs. + // + // Format: `properties/{property}/audiences/{audience}` + string audience = 2 [(google.api.field_behavior) = REQUIRED]; + + // Output only. The descriptive display name for this audience. For example, + // "Purchasers". + string audience_display_name = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Required. The dimensions requested and displayed in the query response. + repeated AudienceDimension dimensions = 4 + [(google.api.field_behavior) = REQUIRED]; + + // Output only. The current state for this AudienceList. + optional State state = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The time when CreateAudienceList was called and the + // AudienceList began the `CREATING` state. + optional google.protobuf.Timestamp begin_creating_time = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The total quota tokens charged during creation of the + // AudienceList. Because this token count is based on activity from the + // `CREATING` state, this tokens charged will be fixed once an AudienceList + // enters the `ACTIVE` or `FAILED` states. + int32 creation_quota_tokens_charged = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The total number of rows in the AudienceList result. + optional int32 row_count = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Error message is populated when an audience list fails during + // creation. A common reason for such a failure is quota exhaustion. + optional string error_message = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The percentage completed for this audience export ranging + // between 0 to 100. + optional double percentage_completed = 11 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The recurring audience list that created this audience list. + // Recurring audience lists create audience lists daily. + // + // If audience lists are created directly, they will have no associated + // recurring audience list, and this field will be blank. + optional string recurring_audience_list = 12 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. Configures webhook notifications to be sent from the Google + // Analytics Data API to your webhook server. Use of webhooks is optional. If + // unused, you'll need to poll this API to determine when an audience list is + // ready to be used. Webhooks allow a notification to be sent to your servers + // & avoid the need for polling. + // + // Either one or two POST requests will be sent to the webhook. The first POST + // request will be sent immediately showing the newly created audience list in + // its CREATING state. The second POST request will be sent after the audience + // list completes creation (either the ACTIVE or FAILED state). + // + // If identical audience lists are requested in quick succession, the second & + // subsequent audience lists can be served from cache. In that case, the + // audience list create method can return an audience list is already ACTIVE. + // In this scenario, only one POST request will be sent to the webhook. + optional WebhookNotification webhook_notification = 13 + [(google.api.field_behavior) = OPTIONAL]; +} + +// This metadata is currently blank. +message AudienceListMetadata {} + +// A request to list users in an audience list. +message QueryAudienceListRequest { + // Required. The name of the audience list to retrieve users from. + // Format: `properties/{property}/audienceLists/{audience_list}` + string name = 1 [(google.api.field_behavior) = REQUIRED]; + + // Optional. The row count of the start row. The first row is counted as row + // 0. + // + // When paging, the first request does not specify offset; or equivalently, + // sets offset to 0; the first request returns the first `limit` of rows. The + // second request sets offset to the `limit` of the first request; the second + // request returns the second `limit` of rows. + // + // To learn more about this pagination parameter, see + // [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + int64 offset = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The number of rows to return. If unspecified, 10,000 rows are + // returned. The API returns a maximum of 250,000 rows per request, no matter + // how many you ask for. `limit` must be positive. + // + // The API can also return fewer rows than the requested `limit`, if there + // aren't as many dimension values as the `limit`. + // + // To learn more about this pagination parameter, see + // [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + int64 limit = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// A list of users in an audience list. +message QueryAudienceListResponse { + // Configuration data about AudienceList being queried. Returned to help + // interpret the audience rows in this response. For example, the dimensions + // in this AudienceList correspond to the columns in the AudienceRows. + optional AudienceList audience_list = 1; + + // Rows for each user in an audience list. The number of rows in this + // response will be less than or equal to request's page size. + repeated AudienceRow audience_rows = 2; + + // The total number of rows in the AudienceList result. `rowCount` is + // independent of the number of rows returned in the response, the `limit` + // request parameter, and the `offset` request parameter. For example if a + // query returns 175 rows and includes `limit` of 50 in the API request, the + // response will contain `rowCount` of 175 but only 50 rows. + // + // To learn more about this pagination parameter, see + // [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + optional int32 row_count = 3; +} + +// A request to export users in an audience list to a Google Sheet. +message SheetExportAudienceListRequest { + // Required. The name of the audience list to retrieve users from. + // Format: `properties/{property}/audienceLists/{audience_list}` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "analyticsdata.googleapis.com/AudienceList" + } + ]; + + // Optional. The row count of the start row. The first row is counted as row + // 0. + // + // When paging, the first request does not specify offset; or equivalently, + // sets offset to 0; the first request returns the first `limit` of rows. The + // second request sets offset to the `limit` of the first request; the second + // request returns the second `limit` of rows. + // + // To learn more about this pagination parameter, see + // [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + int64 offset = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The number of rows to return. If unspecified, 10,000 rows are + // returned. The API returns a maximum of 250,000 rows per request, no matter + // how many you ask for. `limit` must be positive. + // + // The API can also return fewer rows than the requested `limit`, if there + // aren't as many dimension values as the `limit`. + // + // To learn more about this pagination parameter, see + // [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + int64 limit = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// The created Google Sheet with the list of users in an audience list. +message SheetExportAudienceListResponse { + // A uri for you to visit in your browser to view the Google Sheet. + optional string spreadsheet_uri = 1; + + // An ID that identifies the created Google Sheet resource. + optional string spreadsheet_id = 2; + + // The total number of rows in the AudienceList result. `rowCount` is + // independent of the number of rows returned in the response, the `limit` + // request parameter, and the `offset` request parameter. For example if a + // query returns 175 rows and includes `limit` of 50 in the API request, the + // response will contain `rowCount` of 175 but only 50 rows. + // + // To learn more about this pagination parameter, see + // [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + optional int32 row_count = 3; + + // Configuration data about AudienceList being exported. Returned to help + // interpret the AudienceList in the Google Sheet of this response. + // + // For example, the AudienceList may have more rows than are present in the + // Google Sheet, and in that case, you may want to send an additional sheet + // export request with a different `offset` value to retrieve the next page of + // rows in an additional Google Sheet. + optional AudienceList audience_list = 4; +} + +// Dimension value attributes for the audience user row. +message AudienceRow { + // Each dimension value attribute for an audience user. One dimension value + // will be added for each dimension column requested. + repeated AudienceDimensionValue dimension_values = 1; +} + +// An audience dimension is a user attribute. Specific user attributed are +// requested and then later returned in the `QueryAudienceListResponse`. +message AudienceDimension { + // Optional. The API name of the dimension. See the [API + // Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-api-schema#dimensions) + // for the list of dimension names. + string dimension_name = 1 [(google.api.field_behavior) = OPTIONAL]; +} + +// The value of a dimension. +message AudienceDimensionValue { + // One kind of dimension value. + oneof one_value { + // Value as a string if the dimension type is a string. + string value = 1; + } } // The request for a funnel report. @@ -67,75 +794,79 @@ message RunFunnelReportRequest { TRENDED_FUNNEL = 2; } - // A Google Analytics GA4 property identifier whose events are tracked. - // Specified in the URL path and not the body. To learn more, see [where to - // find your Property + // Optional. A Google Analytics GA4 property identifier whose events are + // tracked. Specified in the URL path and not the body. To learn more, see + // [where to find your Property // ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). // Within a batch request, this property should either be unspecified or // consistent with the batch-level property. // // Example: properties/1234 - string property = 1; - - // Date ranges of data to read. If multiple date ranges are requested, each - // response row will contain a zero based date range index. If two date - // ranges overlap, the event data for the overlapping days is included in the - // response rows for both date ranges. - repeated DateRange date_ranges = 2; - - // The configuration of this request's funnel. This funnel configuration is - // required. - Funnel funnel = 3; - - // If specified, this breakdown adds a dimension to the funnel table sub - // report response. This breakdown dimension expands each funnel step to the - // unique values of the breakdown dimension. For example, a breakdown by the - // `deviceCategory` dimension will create rows for `mobile`, `tablet`, + string property = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Date ranges of data to read. If multiple date ranges are + // requested, each response row will contain a zero based date range index. If + // two date ranges overlap, the event data for the overlapping days is + // included in the response rows for both date ranges. + repeated DateRange date_ranges = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The configuration of this request's funnel. This funnel + // configuration is required. + Funnel funnel = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If specified, this breakdown adds a dimension to the funnel table + // sub report response. This breakdown dimension expands each funnel step to + // the unique values of the breakdown dimension. For example, a breakdown by + // the `deviceCategory` dimension will create rows for `mobile`, `tablet`, // `desktop`, and the total. - FunnelBreakdown funnel_breakdown = 4; + FunnelBreakdown funnel_breakdown = 4 [(google.api.field_behavior) = OPTIONAL]; - // If specified, next action adds a dimension to the funnel visualization sub - // report response. This next action dimension expands each funnel step to the - // unique values of the next action. For example a next action of the - // `eventName` dimension will create rows for several events (i.e. - // `session_start` & `click`) and the total. + // Optional. If specified, next action adds a dimension to the funnel + // visualization sub report response. This next action dimension expands each + // funnel step to the unique values of the next action. For example a next + // action of the `eventName` dimension will create rows for several events + // (for example `session_start` & `click`) and the total. // // Next action only supports `eventName` and most Page / Screen dimensions // like `pageTitle` and `pagePath`. - FunnelNextAction funnel_next_action = 5; + FunnelNextAction funnel_next_action = 5 + [(google.api.field_behavior) = OPTIONAL]; - // The funnel visualization type controls the dimensions present in the funnel - // visualization sub report response. If not specified, `STANDARD_FUNNEL` is - // used. - FunnelVisualizationType funnel_visualization_type = 6; + // Optional. The funnel visualization type controls the dimensions present in + // the funnel visualization sub report response. If not specified, + // `STANDARD_FUNNEL` is used. + FunnelVisualizationType funnel_visualization_type = 6 + [(google.api.field_behavior) = OPTIONAL]; - // The configurations of segments. Segments are subsets of a property's data. - // In a funnel report with segments, the funnel is evaluated in each segment. + // Optional. The configurations of segments. Segments are subsets of a + // property's data. In a funnel report with segments, the funnel is evaluated + // in each segment. // // Each segment specified in this request // produces a separate row in the response; in the response, each segment // identified by its name. // // The segments parameter is optional. Requests are limited to 4 segments. - repeated Segment segments = 7; + repeated Segment segments = 7 [(google.api.field_behavior) = OPTIONAL]; - // The number of rows to return. If unspecified, 10,000 rows are returned. The - // API returns a maximum of 100,000 rows per request, no matter how many you - // ask for. `limit` must be positive. + // Optional. The number of rows to return. If unspecified, 10,000 rows are + // returned. The API returns a maximum of 250,000 rows per request, no matter + // how many you ask for. `limit` must be positive. // // The API can also return fewer rows than the requested `limit`, if there // aren't as many dimension values as the `limit`. - int64 limit = 9; + int64 limit = 9 [(google.api.field_behavior) = OPTIONAL]; - // Dimension filters allow you to ask for only specific dimension values in - // the report. To learn more, see [Creating a Report: Dimension + // Optional. Dimension filters allow you to ask for only specific dimension + // values in the report. To learn more, see [Creating a Report: Dimension // Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters) // for examples. Metrics cannot be used in this filter. - FilterExpression dimension_filter = 10; + FilterExpression dimension_filter = 10 + [(google.api.field_behavior) = OPTIONAL]; - // Toggles whether to return the current state of this Analytics Property's - // quota. Quota is returned in [PropertyQuota](#PropertyQuota). - bool return_property_quota = 12; + // Optional. Toggles whether to return the current state of this Analytics + // Property's quota. Quota is returned in [PropertyQuota](#PropertyQuota). + bool return_property_quota = 12 [(google.api.field_behavior) = OPTIONAL]; } // The funnel report response contains two sub reports. The two sub reports are @@ -155,8 +886,8 @@ message RunFunnelReportResponse { // // The segment dimension is only present in this response if a segment was // requested. The date dimension is only present in this response if it was - // requested via the `TRENDED_FUNNEL` funnel type. The next action dimension - // is only present in the response if it was requested. + // requested through the `TRENDED_FUNNEL` funnel type. The next action + // dimension is only present in the response if it was requested. FunnelSubReport funnel_visualization = 2; // This Analytics Property's quota state including this request. diff --git a/third_party/googleapis/google/analytics/data/v1alpha/analyticsdata_v1alpha.yaml b/third_party/googleapis/google/analytics/data/v1alpha/analyticsdata_v1alpha.yaml index b55a02fea..232549e9f 100644 --- a/third_party/googleapis/google/analytics/data/v1alpha/analyticsdata_v1alpha.yaml +++ b/third_party/googleapis/google/analytics/data/v1alpha/analyticsdata_v1alpha.yaml @@ -5,18 +5,37 @@ title: Google Analytics Data API apis: - name: google.analytics.data.v1alpha.AlphaAnalyticsData +- name: google.longrunning.Operations -documentation: - summary: Accesses report data in Google Analytics. +types: +- name: google.analytics.data.v1alpha.AudienceListMetadata -backend: - rules: - - selector: google.analytics.data.v1alpha.AlphaAnalyticsData.RunFunnelReport - deadline: 180.0 +documentation: + summary: |- + Accesses report data in Google Analytics. Warning: Creating multiple + Customer Applications, Accounts, or Projects to simulate or act as a + single Customer Application, Account, or Project (respectively) or to + circumvent Service-specific usage limits or quotas is a direct violation + of Google Cloud Platform Terms of Service as well as Google APIs Terms of + Service. These actions can result in immediate termination of your GCP + project(s) without any warning. authentication: rules: - - selector: google.analytics.data.v1alpha.AlphaAnalyticsData.RunFunnelReport + - selector: 'google.analytics.data.v1alpha.AlphaAnalyticsData.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/analytics, + https://www.googleapis.com/auth/analytics.readonly + - selector: google.analytics.data.v1alpha.AlphaAnalyticsData.SheetExportAudienceList + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/analytics, + https://www.googleapis.com/auth/analytics.readonly, + https://www.googleapis.com/auth/drive, + https://www.googleapis.com/auth/drive.file, + https://www.googleapis.com/auth/spreadsheets + - selector: 'google.longrunning.Operations.*' oauth: canonical_scopes: |- https://www.googleapis.com/auth/analytics, diff --git a/third_party/googleapis/google/analytics/data/v1alpha/data.proto b/third_party/googleapis/google/analytics/data/v1alpha/data.proto index 9ef9f6143..dc862ddd3 100644 --- a/third_party/googleapis/google/analytics/data/v1alpha/data.proto +++ b/third_party/googleapis/google/analytics/data/v1alpha/data.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -23,8 +23,8 @@ option java_multiple_files = true; option java_outer_classname = "ReportingApiProto"; option java_package = "com.google.analytics.data.v1alpha"; -// A contiguous set of days: startDate, startDate + 1, ..., endDate. Requests -// are allowed up to 4 date ranges. +// A contiguous set of days: `startDate`, `startDate + 1`, ..., `endDate`. +// Requests are allowed up to 4 date ranges. message DateRange { // The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot // be after `end_date`. The format `NdaysAgo`, `yesterday`, or `today` is also @@ -51,7 +51,16 @@ message DateRange { message Dimension { // The name of the dimension. See the [API // Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions) - // for the list of dimension names. + // for the list of dimension names supported by core reporting methods such + // as `runReport` and `batchRunReports`. See + // [Realtime + // Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/realtime-api-schema#dimensions) + // for the list of dimension names supported by the `runRealtimeReport` + // method. See + // [Funnel + // Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/exploration-api-schema#dimensions) + // for the list of dimension names supported by the `runFunnelReport` + // method. // // If `dimensionExpression` is specified, `name` can be any string that you // would like within the allowed character set. For example if a @@ -344,15 +353,15 @@ message MetricValue { // property is exhausted, all requests to that property will return Resource // Exhausted errors. message PropertyQuota { - // Standard Analytics Properties can use up to 25,000 tokens per day; - // Analytics 360 Properties can use 250,000 tokens per day. Most requests + // Standard Analytics Properties can use up to 200,000 tokens per day; + // Analytics 360 Properties can use 2,000,000 tokens per day. Most requests // consume fewer than 10 tokens. QuotaStatus tokens_per_day = 1; - // Standard Analytics Properties can use up to 5,000 tokens per hour; - // Analytics 360 Properties can use 50,000 tokens per hour. An API request - // consumes a single number of tokens, and that number is deducted from both - // the hourly and daily quotas. + // Standard Analytics Properties can use up to 40,000 tokens per hour; + // Analytics 360 Properties can use 400,000 tokens per hour. An API request + // consumes a single number of tokens, and that number is deducted from all of + // the hourly, daily, and per project hourly quotas. QuotaStatus tokens_per_hour = 2; // Standard Analytics Properties can send up to 10 concurrent requests; @@ -369,6 +378,14 @@ message PropertyQuota { // is individually counted for this quota if the request contains potentially // thresholded dimensions. QuotaStatus potentially_thresholded_requests_per_hour = 5; + + // Analytics Properties can use up to 35% of their tokens per project per + // hour. This amounts to standard Analytics Properties can use up to 14,000 + // tokens per project per hour, and Analytics 360 Properties can use 140,000 + // tokens per project per hour. An API request consumes a single number of + // tokens, and that number is deducted from all of the hourly, daily, and per + // project hourly quotas. + QuotaStatus tokens_per_project_per_hour = 6; } // Current state for a particular quota group. @@ -438,10 +455,10 @@ message Funnel { // the funnel journey. message FunnelStep { // The distinctive name for this step. If unspecified, steps will be named - // by a 1 based indexed name (i.e. "0. ", "1. ", etc.). This name defines - // string value returned by the `funnelStepName` dimension. For example, - // specifying `name = Purchase` in the request's third funnel step will - // produce `3. Purchase` in the funnel report response. + // by a 1 based indexed name (for example "0. ", "1. ", etc.). This name + // defines string value returned by the `funnelStepName` dimension. For + // example, specifying `name = Purchase` in the request's third funnel step + // will produce `3. Purchase` in the funnel report response. string name = 1; // If true, this step must directly follow the previous step. If false, @@ -804,7 +821,7 @@ message Segment { // The name for this segment. If unspecified, segments are named "Segment". // This name defines string value returned by the `segment` dimension. The // `segment` dimension prefixes segment names by the 1-based index number of - // the segment in the request (i.e. "1. Segment", "2. Segment", etc.). + // the segment in the request (for example "1. Segment", "2. Segment", etc.). string name = 1; // A segment is specified in one scope. @@ -910,7 +927,8 @@ message SegmentEventFilter { // // Inside the parameter filter expression, only parameter filters are // available. - optional SegmentParameterFilterExpression segment_parameter_filter_expression = 2; + optional SegmentParameterFilterExpression + segment_parameter_filter_expression = 2; } // Expresses combinations of segment filter on parameters. @@ -1081,7 +1099,8 @@ message FunnelEventFilter { // // Inside the parameter filter expression, only parameter filters are // available. - optional FunnelParameterFilterExpression funnel_parameter_filter_expression = 2; + optional FunnelParameterFilterExpression funnel_parameter_filter_expression = + 2; } // Expresses combinations of funnel filters on parameters. @@ -1158,7 +1177,7 @@ message FunnelParameterFilter { // the funnel report. message FunnelResponseMetadata { // If funnel report results are - // [sampled](https://support.google.com/analytics/answer/2637192), this + // [sampled](https://support.google.com/analytics/answer/13331292), this // describes what percentage of events were used in this funnel report. One // `samplingMetadatas` is populated for each date range. Each // `samplingMetadatas` corresponds to a date range in order that date ranges @@ -1169,7 +1188,7 @@ message FunnelResponseMetadata { } // If funnel report results are -// [sampled](https://support.google.com/analytics/answer/2637192), this +// [sampled](https://support.google.com/analytics/answer/13331292), this // metadata describes what percentage of events were used in this funnel // report for a date range. Sampling is the practice of analyzing a subset of // all data in order to uncover the meaningful information in the larger data diff --git a/third_party/googleapis/google/analytics/data/v1beta/BUILD.bazel b/third_party/googleapis/google/analytics/data/v1beta/BUILD.bazel index b73174ff6..cf10df639 100644 --- a/third_party/googleapis/google/analytics/data/v1beta/BUILD.bazel +++ b/third_party/googleapis/google/analytics/data/v1beta/BUILD.bazel @@ -29,6 +29,8 @@ proto_library( "//google/api:client_proto", "//google/api:field_behavior_proto", "//google/api:resource_proto", + "//google/longrunning:operations_proto", + "@com_google_protobuf//:timestamp_proto", ], ) @@ -110,7 +112,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -120,6 +121,7 @@ go_proto_library( protos = [":data_proto"], deps = [ "//google/api:annotations_go_proto", + "//google/longrunning:longrunning_go_proto", ], ) @@ -129,27 +131,25 @@ go_gapic_library( grpc_service_config = "analytics_data_grpc_service_config.json", importpath = "google.golang.org/google/analytics/data/v1beta;data", metadata = True, + release_level = "beta", rest_numeric_enums = True, service_yaml = "analyticsdata_v1beta.yaml", transport = "grpc+rest", deps = [ ":data_go_proto", + "//google/longrunning:longrunning_go_proto", + "@com_google_cloud_go_longrunning//:go_default_library", + "@com_google_cloud_go_longrunning//autogen:go_default_library", ], ) -go_test( - name = "data_go_gapic_test", - srcs = [":data_go_gapic_srcjar_test"], - embed = [":data_go_gapic"], - importpath = "google.golang.org/google/analytics/data/v1beta", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-analytics-data-v1beta-go", deps = [ ":data_go_gapic", ":data_go_gapic_srcjar-metadata.srcjar", + ":data_go_gapic_srcjar-snippets.srcjar", ":data_go_gapic_srcjar-test.srcjar", ":data_go_proto", ], @@ -201,7 +201,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -210,21 +209,15 @@ php_proto_library( deps = [":data_proto"], ) -php_grpc_library( - name = "data_php_grpc", - srcs = [":data_proto"], - deps = [":data_php_proto"], -) - php_gapic_library( name = "data_php_gapic", srcs = [":data_proto_with_info"], grpc_service_config = "analytics_data_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "analyticsdata_v1beta.yaml", transport = "grpc+rest", deps = [ - ":data_php_grpc", ":data_php_proto", ], ) @@ -234,7 +227,6 @@ php_gapic_assembly_pkg( name = "google-cloud-analytics-data-v1beta-php", deps = [ ":data_php_gapic", - ":data_php_grpc", ":data_php_proto", ], ) @@ -307,6 +299,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "The Google Analytics Data API provides programmatic methods to access report data in Google Analytics 4 (GA4) properties. Google Analytics 4 helps you understand how people use your web, iOS, or Android app.", ruby_cloud_title = "Google Analytics Data V1beta", service_yaml = "analyticsdata_v1beta.yaml", + transport = "grpc+rest", deps = [ ":data_ruby_grpc", ":data_ruby_proto", @@ -336,6 +329,7 @@ load( csharp_proto_library( name = "data_csharp_proto", + extra_opts = [], deps = [":data_proto"], ) diff --git a/third_party/googleapis/google/analytics/data/v1beta/analytics_data_api.proto b/third_party/googleapis/google/analytics/data/v1beta/analytics_data_api.proto index e5ee72cca..77c1a456b 100644 --- a/third_party/googleapis/google/analytics/data/v1beta/analytics_data_api.proto +++ b/third_party/googleapis/google/analytics/data/v1beta/analytics_data_api.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,11 +21,17 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/longrunning/operations.proto"; +import "google/protobuf/timestamp.proto"; option go_package = "google.golang.org/genproto/googleapis/analytics/data/v1beta;data"; option java_multiple_files = true; option java_outer_classname = "AnalyticsDataApiProto"; option java_package = "com.google.analytics.data.v1beta"; +option (google.api.resource_definition) = { + type: "analyticsadmin.googleapis.com/Property" + pattern: "properties/{property}" +}; // Google Analytics reporting data service. service BetaAnalyticsData { @@ -66,7 +72,8 @@ service BetaAnalyticsData { // Returns multiple reports in a batch. All reports must be for the same // GA4 Property. - rpc BatchRunReports(BatchRunReportsRequest) returns (BatchRunReportsResponse) { + rpc BatchRunReports(BatchRunReportsRequest) + returns (BatchRunReportsResponse) { option (google.api.http) = { post: "/v1beta/{property=properties/*}:batchRunReports" body: "*" @@ -75,7 +82,8 @@ service BetaAnalyticsData { // Returns multiple pivot reports in a batch. All reports must be for the same // GA4 Property. - rpc BatchRunPivotReports(BatchRunPivotReportsRequest) returns (BatchRunPivotReportsResponse) { + rpc BatchRunPivotReports(BatchRunPivotReportsRequest) + returns (BatchRunPivotReportsResponse) { option (google.api.http) = { post: "/v1beta/{property=properties/*}:batchRunPivotReports" body: "*" @@ -108,7 +116,8 @@ service BetaAnalyticsData { // For a guide to constructing realtime requests & understanding responses, // see [Creating a Realtime // Report](https://developers.google.com/analytics/devguides/reporting/data/v1/realtime-basics). - rpc RunRealtimeReport(RunRealtimeReportRequest) returns (RunRealtimeReportResponse) { + rpc RunRealtimeReport(RunRealtimeReportRequest) + returns (RunRealtimeReportResponse) { option (google.api.http) = { post: "/v1beta/{property=properties/*}:runRealtimeReport" body: "*" @@ -125,12 +134,121 @@ service BetaAnalyticsData { // // The Realtime and Core reports have different compatibility rules. This // method checks compatibility for Core reports. - rpc CheckCompatibility(CheckCompatibilityRequest) returns (CheckCompatibilityResponse) { + rpc CheckCompatibility(CheckCompatibilityRequest) + returns (CheckCompatibilityResponse) { option (google.api.http) = { post: "/v1beta/{property=properties/*}:checkCompatibility" body: "*" }; } + + // Creates an audience export for later retrieval. This method quickly returns + // the audience export's resource name and initiates a long running + // asynchronous request to form an audience export. To export the users in an + // audience export, first create the audience export through this method and + // then send the audience resource name to the `QueryAudienceExport` method. + // + // See [Creating an Audience + // Export](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) + // for an introduction to Audience Exports with examples. + // + // An audience export is a snapshot of the users currently in the audience at + // the time of audience export creation. Creating audience exports for one + // audience on different days will return different results as users enter and + // exit the audience. + // + // Audiences in Google Analytics 4 allow you to segment your users in the ways + // that are important to your business. To learn more, see + // https://support.google.com/analytics/answer/9267572. Audience exports + // contain the users in each audience. + // + // Audience Export APIs have some methods at alpha and other methods at beta + // stability. The intention is to advance methods to beta stability after some + // feedback and adoption. To give your feedback on this API, complete the + // [Google Analytics Audience Export API + // Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + rpc CreateAudienceExport(CreateAudienceExportRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1beta/{parent=properties/*}/audienceExports" + body: "audience_export" + }; + option (google.api.method_signature) = "parent,audience_export"; + option (google.longrunning.operation_info) = { + response_type: "AudienceExport" + metadata_type: "AudienceExportMetadata" + }; + } + + // Retrieves an audience export of users. After creating an audience, the + // users are not immediately available for exporting. First, a request to + // `CreateAudienceExport` is necessary to create an audience export of users, + // and then second, this method is used to retrieve the users in the audience + // export. + // + // See [Creating an Audience + // Export](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) + // for an introduction to Audience Exports with examples. + // + // Audiences in Google Analytics 4 allow you to segment your users in the ways + // that are important to your business. To learn more, see + // https://support.google.com/analytics/answer/9267572. + // + // Audience Export APIs have some methods at alpha and other methods at beta + // stability. The intention is to advance methods to beta stability after some + // feedback and adoption. To give your feedback on this API, complete the + // [Google Analytics Audience Export API + // Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + rpc QueryAudienceExport(QueryAudienceExportRequest) + returns (QueryAudienceExportResponse) { + option (google.api.http) = { + post: "/v1beta/{name=properties/*/audienceExports/*}:query" + body: "*" + }; + option (google.api.method_signature) = "name"; + } + + // Gets configuration metadata about a specific audience export. This method + // can be used to understand an audience export after it has been created. + // + // See [Creating an Audience + // Export](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) + // for an introduction to Audience Exports with examples. + // + // Audience Export APIs have some methods at alpha and other methods at beta + // stability. The intention is to advance methods to beta stability after some + // feedback and adoption. To give your feedback on this API, complete the + // [Google Analytics Audience Export API + // Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + rpc GetAudienceExport(GetAudienceExportRequest) returns (AudienceExport) { + option (google.api.http) = { + get: "/v1beta/{name=properties/*/audienceExports/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Lists all audience exports for a property. This method can be used for you + // to find and reuse existing audience exports rather than creating + // unnecessary new audience exports. The same audience can have multiple + // audience exports that represent the export of users that were in an + // audience on different days. + // + // See [Creating an Audience + // Export](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) + // for an introduction to Audience Exports with examples. + // + // Audience Export APIs have some methods at alpha and other methods at beta + // stability. The intention is to advance methods to beta stability after some + // feedback and adoption. To give your feedback on this API, complete the + // [Google Analytics Audience Export API + // Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + rpc ListAudienceExports(ListAudienceExportsRequest) + returns (ListAudienceExportsResponse) { + option (google.api.http) = { + get: "/v1beta/{parent=properties/*}/audienceExports" + }; + option (google.api.method_signature) = "parent"; + } } // The request for compatibility information for a report's dimensions and @@ -144,10 +262,6 @@ message CheckCompatibilityRequest { // `property` should be the same value as in your `runReport` request. // // Example: properties/1234 - // - // Set the Property ID to 0 for compatibility checking on dimensions and - // metrics common to all properties. In this special mode, this method will - // not return custom dimensions and metrics. string property = 1; // The dimensions in this report. `dimensions` should be the same value as in @@ -181,7 +295,8 @@ message CheckCompatibilityResponse { repeated MetricCompatibility metric_compatibilities = 2; } -// The dimensions and metrics currently accepted in reporting methods. +// The dimensions, metrics and comparisons currently accepted in reporting +// methods. message Metadata { option (google.api.resource) = { type: "analyticsdata.googleapis.com/Metadata" @@ -223,7 +338,7 @@ message RunReportRequest { // must be unspecified. repeated DateRange date_ranges = 4; - // Dimension filters allow you to ask for only specific dimension values in + // Dimension filters let you ask for only specific dimension values in // the report. To learn more, see [Fundamentals of Dimension // Filters](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#dimension_filters) // for examples. Metrics cannot be used in this filter. @@ -245,7 +360,7 @@ message RunReportRequest { int64 offset = 7; // The number of rows to return. If unspecified, 10,000 rows are returned. The - // API returns a maximum of 100,000 rows per request, no matter how many you + // API returns a maximum of 250,000 rows per request, no matter how many you // ask for. `limit` must be positive. // // The API can also return fewer rows than the requested `limit`, if there @@ -276,6 +391,13 @@ message RunReportRequest { // If false or unspecified, each row with all metrics equal to 0 will not be // returned. If true, these rows will be returned if they are not separately // removed by a filter. + // + // Regardless of this `keep_empty_rows` setting, only data recorded by the + // Google Analytics (GA4) property can be displayed in a report. + // + // For example if a property never logs a `purchase` event, then a query for + // the `eventName` dimension and `eventCount` metric will not have a row + // eventName: "purchase" and eventCount: 0. bool keep_empty_rows = 13; // Toggles whether to return the current state of this Analytics Property's @@ -381,6 +503,13 @@ message RunPivotReportRequest { // If false or unspecified, each row with all metrics equal to 0 will not be // returned. If true, these rows will be returned if they are not separately // removed by a filter. + // + // Regardless of this `keep_empty_rows` setting, only data recorded by the + // Google Analytics (GA4) property can be displayed in a report. + // + // For example if a property never logs a `purchase` event, then a query for + // the `eventName` dimension and `eventCount` metric will not have a row + // eventName: "purchase" and eventCount: 0. bool keep_empty_rows = 10; // Toggles whether to return the current state of this Analytics Property's @@ -560,7 +689,7 @@ message RunRealtimeReportRequest { FilterExpression metric_filter = 5; // The number of rows to return. If unspecified, 10,000 rows are returned. The - // API returns a maximum of 100,000 rows per request, no matter how many you + // API returns a maximum of 250,000 rows per request, no matter how many you // ask for. `limit` must be positive. // // The API can also return fewer rows than the requested `limit`, if there @@ -626,3 +755,228 @@ message RunRealtimeReportResponse { // between response types in JSON. string kind = 9; } + +// A request to retrieve configuration metadata about a specific audience +// export. +message GetAudienceExportRequest { + // Required. The audience export resource name. + // Format: `properties/{property}/audienceExports/{audience_export}` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "analyticsdata.googleapis.com/AudienceExport" + } + ]; +} + +// A request to list all audience exports for a property. +message ListAudienceExportsRequest { + // Required. All audience exports for this property will be listed in the + // response. Format: `properties/{property}` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "analyticsdata.googleapis.com/AudienceExport" + } + ]; + + // Optional. The maximum number of audience exports to return. The service may + // return fewer than this value. If unspecified, at most 200 audience exports + // will be returned. The maximum value is 1000 (higher values will be coerced + // to the maximum). + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. A page token, received from a previous `ListAudienceExports` + // call. Provide this to retrieve the subsequent page. + // + // When paginating, all other parameters provided to `ListAudienceExports` + // must match the call that provided the page token. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// A list of all audience exports for a property. +message ListAudienceExportsResponse { + // Each audience export for a property. + repeated AudienceExport audience_exports = 1; + + // A token, which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + optional string next_page_token = 2; +} + +// A request to create a new audience export. +message CreateAudienceExportRequest { + // Required. The parent resource where this audience export will be created. + // Format: `properties/{property}` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "analyticsdata.googleapis.com/AudienceExport" + } + ]; + + // Required. The audience export to create. + AudienceExport audience_export = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// An audience export is a list of users in an audience at the time of the +// list's creation. One audience may have multiple audience exports created for +// different days. +message AudienceExport { + option (google.api.resource) = { + type: "analyticsdata.googleapis.com/AudienceExport" + pattern: "properties/{property}/audienceExports/{audience_export}" + plural: "audienceExports" + singular: "audienceExport" + }; + + // The AudienceExport currently exists in this state. + enum State { + // Unspecified state will never be used. + STATE_UNSPECIFIED = 0; + + // The AudienceExport is currently creating and will be available in the + // future. Creating occurs immediately after the CreateAudienceExport call. + CREATING = 1; + + // The AudienceExport is fully created and ready for querying. An + // AudienceExport is updated to active asynchronously from a request; this + // occurs some time (for example 15 minutes) after the initial create call. + ACTIVE = 2; + + // The AudienceExport failed to be created. It is possible that + // re-requesting this audience export will succeed. + FAILED = 3; + } + + // Output only. Identifier. The audience export resource name assigned during + // creation. This resource name identifies this `AudienceExport`. + // + // Format: `properties/{property}/audienceExports/{audience_export}` + string name = 1 [ + (google.api.field_behavior) = IDENTIFIER, + (google.api.field_behavior) = OUTPUT_ONLY + ]; + + // Required. The audience resource name. This resource name identifies the + // audience being listed and is shared between the Analytics Data & Admin + // APIs. + // + // Format: `properties/{property}/audiences/{audience}` + string audience = 2 [(google.api.field_behavior) = REQUIRED]; + + // Output only. The descriptive display name for this audience. For example, + // "Purchasers". + string audience_display_name = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Required. The dimensions requested and displayed in the query response. + repeated AudienceDimension dimensions = 4 + [(google.api.field_behavior) = REQUIRED]; + + // Output only. The current state for this AudienceExport. + optional State state = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The time when CreateAudienceExport was called and the + // AudienceExport began the `CREATING` state. + optional google.protobuf.Timestamp begin_creating_time = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The total quota tokens charged during creation of the + // AudienceExport. Because this token count is based on activity from the + // `CREATING` state, this tokens charged will be fixed once an AudienceExport + // enters the `ACTIVE` or `FAILED` states. + int32 creation_quota_tokens_charged = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The total number of rows in the AudienceExport result. + optional int32 row_count = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Error message is populated when an audience export fails + // during creation. A common reason for such a failure is quota exhaustion. + optional string error_message = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The percentage completed for this audience export ranging + // between 0 to 100. + optional double percentage_completed = 10 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// This metadata is currently blank. +message AudienceExportMetadata {} + +// A request to list users in an audience export. +message QueryAudienceExportRequest { + // Required. The name of the audience export to retrieve users from. + // Format: `properties/{property}/audienceExports/{audience_export}` + string name = 1 [(google.api.field_behavior) = REQUIRED]; + + // Optional. The row count of the start row. The first row is counted as row + // 0. + // + // When paging, the first request does not specify offset; or equivalently, + // sets offset to 0; the first request returns the first `limit` of rows. The + // second request sets offset to the `limit` of the first request; the second + // request returns the second `limit` of rows. + // + // To learn more about this pagination parameter, see + // [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + int64 offset = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The number of rows to return. If unspecified, 10,000 rows are + // returned. The API returns a maximum of 250,000 rows per request, no matter + // how many you ask for. `limit` must be positive. + // + // The API can also return fewer rows than the requested `limit`, if there + // aren't as many dimension values as the `limit`. + // + // To learn more about this pagination parameter, see + // [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + int64 limit = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// A list of users in an audience export. +message QueryAudienceExportResponse { + // Configuration data about AudienceExport being queried. Returned to help + // interpret the audience rows in this response. For example, the dimensions + // in this AudienceExport correspond to the columns in the AudienceRows. + optional AudienceExport audience_export = 1; + + // Rows for each user in an audience export. The number of rows in this + // response will be less than or equal to request's page size. + repeated AudienceRow audience_rows = 2; + + // The total number of rows in the AudienceExport result. `rowCount` is + // independent of the number of rows returned in the response, the `limit` + // request parameter, and the `offset` request parameter. For example if a + // query returns 175 rows and includes `limit` of 50 in the API request, the + // response will contain `rowCount` of 175 but only 50 rows. + // + // To learn more about this pagination parameter, see + // [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). + optional int32 row_count = 3; +} + +// Dimension value attributes for the audience user row. +message AudienceRow { + // Each dimension value attribute for an audience user. One dimension value + // will be added for each dimension column requested. + repeated AudienceDimensionValue dimension_values = 1; +} + +// An audience dimension is a user attribute. Specific user attributed are +// requested and then later returned in the `QueryAudienceExportResponse`. +message AudienceDimension { + // Optional. The API name of the dimension. See the [API + // Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-api-schema#dimensions) + // for the list of dimension names. + string dimension_name = 1 [(google.api.field_behavior) = OPTIONAL]; +} + +// The value of a dimension. +message AudienceDimensionValue { + // One kind of dimension value. + oneof one_value { + // Value as a string if the dimension type is a string. + string value = 1; + } +} diff --git a/third_party/googleapis/google/analytics/data/v1beta/analyticsdata_v1beta.yaml b/third_party/googleapis/google/analytics/data/v1beta/analyticsdata_v1beta.yaml index eab7fa014..86a406581 100644 --- a/third_party/googleapis/google/analytics/data/v1beta/analyticsdata_v1beta.yaml +++ b/third_party/googleapis/google/analytics/data/v1beta/analyticsdata_v1beta.yaml @@ -5,14 +5,17 @@ title: Google Analytics Data API apis: - name: google.analytics.data.v1beta.BetaAnalyticsData +- name: google.longrunning.Operations documentation: - summary: Accesses report data in Google Analytics. - -backend: - rules: - - selector: 'google.analytics.data.v1beta.BetaAnalyticsData.*' - deadline: 180.0 + summary: |- + Accesses report data in Google Analytics. Warning: Creating multiple + Customer Applications, Accounts, or Projects to simulate or act as a + single Customer Application, Account, or Project (respectively) or to + circumvent Service-specific usage limits or quotas is a direct violation + of Google Cloud Platform Terms of Service as well as Google APIs Terms of + Service. These actions can result in immediate termination of your GCP + project(s) without any warning. authentication: rules: @@ -21,3 +24,8 @@ authentication: canonical_scopes: |- https://www.googleapis.com/auth/analytics, https://www.googleapis.com/auth/analytics.readonly + - selector: 'google.longrunning.Operations.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/analytics, + https://www.googleapis.com/auth/analytics.readonly diff --git a/third_party/googleapis/google/analytics/data/v1beta/data.proto b/third_party/googleapis/google/analytics/data/v1beta/data.proto index 6c6431b97..3ea494e7d 100644 --- a/third_party/googleapis/google/analytics/data/v1beta/data.proto +++ b/third_party/googleapis/google/analytics/data/v1beta/data.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,8 +21,8 @@ option java_multiple_files = true; option java_outer_classname = "ReportingApiProto"; option java_package = "com.google.analytics.data.v1beta"; -// A contiguous set of days: startDate, startDate + 1, ..., endDate. Requests -// are allowed up to 4 date ranges. +// A contiguous set of days: `startDate`, `startDate + 1`, ..., `endDate`. +// Requests are allowed up to 4 date ranges. message DateRange { // The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot // be after `end_date`. The format `NdaysAgo`, `yesterday`, or `today` is also @@ -43,8 +43,8 @@ message DateRange { string name = 3; } -// A contiguous set of minutes: startMinutesAgo, startMinutesAgo + 1, ..., -// endMinutesAgo. Requests are allowed up to 2 minute ranges. +// A contiguous set of minutes: `startMinutesAgo`, `startMinutesAgo + 1`, ..., +// `endMinutesAgo`. Requests are allowed up to 2 minute ranges. message MinuteRange { // The inclusive start minute for the query as a number of minutes before now. // For example, `"startMinutesAgo": 29` specifies the report should include @@ -81,7 +81,16 @@ message MinuteRange { message Dimension { // The name of the dimension. See the [API // Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions) - // for the list of dimension names. + // for the list of dimension names supported by core reporting methods such + // as `runReport` and `batchRunReports`. See + // [Realtime + // Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/realtime-api-schema#dimensions) + // for the list of dimension names supported by the `runRealtimeReport` + // method. See + // [Funnel + // Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/exploration-api-schema#dimensions) + // for the list of dimension names supported by the `runFunnelReport` + // method. // // If `dimensionExpression` is specified, `name` can be any string that you // would like within the allowed character set. For example if a @@ -146,7 +155,16 @@ message DimensionExpression { message Metric { // The name of the metric. See the [API // Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics) - // for the list of metric names. + // for the list of metric names supported by core reporting methods such + // as `runReport` and `batchRunReports`. See + // [Realtime + // Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/realtime-api-schema#metrics) + // for the list of metric names supported by the `runRealtimeReport` + // method. See + // [Funnel + // Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/exploration-api-schema#metrics) + // for the list of metric names supported by the `runFunnelReport` + // method. // // If `expression` is specified, `name` can be any string that you would like // within the allowed character set. For example if `expression` is @@ -420,7 +438,7 @@ message Pivot { // single pivot requests. // // The product of the `limit` for each `pivot` in a `RunPivotReportRequest` - // must not exceed 100,000. For example, a two pivot request with `limit: + // must not exceed 250,000. For example, a two pivot request with `limit: // 1000` in each pivot will fail because the product is `1,000,000`. int64 limit = 4; @@ -581,6 +599,18 @@ message ResponseMetaData { // If true, indicates some buckets of dimension combinations are rolled into // "(other)" row. This can happen for high cardinality reports. + // + // The metadata parameter dataLossFromOtherRow is populated based on the + // aggregated data table used in the report. The parameter will be accurately + // populated regardless of the filters and limits in the report. + // + // For example, the (other) row could be dropped from the report because the + // request contains a filter on sessionSource = google. This parameter will + // still be populated if data loss from other row was present in the input + // aggregate data used to generate this report. + // + // To learn more, see [About the (other) row and data + // sampling](https://support.google.com/analytics/answer/13208658#reports). bool data_loss_from_other_row = 3; // Describes the schema restrictions actively enforced in creating this @@ -614,10 +644,39 @@ message ResponseMetaData { // possible for a request to be subject to thresholding thresholding and no // data is absent from the report, and this happens when all data is above the // thresholds. To learn more, see [Data - // thresholds](https://support.google.com/analytics/answer/9383630) and [About - // Demographics and - // Interests](https://support.google.com/analytics/answer/2799357). + // thresholds](https://support.google.com/analytics/answer/9383630). optional bool subject_to_thresholding = 8; + + // If this report results is + // [sampled](https://support.google.com/analytics/answer/13331292), this + // describes the percentage of events used in this report. One + // `samplingMetadatas` is populated for each date range. Each + // `samplingMetadatas` corresponds to a date range in order that date ranges + // were specified in the request. + // + // However if the results are not sampled, this field will not be defined. + repeated SamplingMetadata sampling_metadatas = 9; +} + +// If this report results is +// [sampled](https://support.google.com/analytics/answer/13331292), this +// describes the percentage of events used in this report. Sampling is the +// practice of analyzing a subset of all data in order to uncover the meaningful +// information in the larger data set. +message SamplingMetadata { + // The total number of events read in this sampled report for a date range. + // This is the size of the subset this property's data that was analyzed in + // this report. + int64 samples_read_count = 1; + + // The total number of events present in this property's data that could + // have been analyzed in this report for a date range. Sampling + // uncovers the meaningful information about the larger data set, and this + // is the size of the larger data set. + // + // To calculate the percentage of available data that was used in this + // report, compute `samplesReadCount/samplingSpaceSize`. + int64 sampling_space_size = 2; } // Describes a dimension column in the report. Dimensions requested in a report @@ -739,13 +798,13 @@ message NumericValue { // property is exhausted, all requests to that property will return Resource // Exhausted errors. message PropertyQuota { - // Standard Analytics Properties can use up to 25,000 tokens per day; - // Analytics 360 Properties can use 250,000 tokens per day. Most requests + // Standard Analytics Properties can use up to 200,000 tokens per day; + // Analytics 360 Properties can use 2,000,000 tokens per day. Most requests // consume fewer than 10 tokens. QuotaStatus tokens_per_day = 1; - // Standard Analytics Properties can use up to 5,000 tokens per hour; - // Analytics 360 Properties can use 50,000 tokens per hour. An API request + // Standard Analytics Properties can use up to 40,000 tokens per hour; + // Analytics 360 Properties can use 400,000 tokens per hour. An API request // consumes a single number of tokens, and that number is deducted from all of // the hourly, daily, and per project hourly quotas. QuotaStatus tokens_per_hour = 2; @@ -765,9 +824,9 @@ message PropertyQuota { // thresholded dimensions. QuotaStatus potentially_thresholded_requests_per_hour = 5; - // Analytics Properties can use up to 25% of their tokens per project per - // hour. This amounts to standard Analytics Properties can use up to 1,250 - // tokens per project per hour, and Analytics 360 Properties can use 12,500 + // Analytics Properties can use up to 35% of their tokens per project per + // hour. This amounts to standard Analytics Properties can use up to 14,000 + // tokens per project per hour, and Analytics 360 Properties can use 140,000 // tokens per project per hour. An API request consumes a single number of // tokens, and that number is deducted from all of the hourly, daily, and per // project hourly quotas. @@ -777,10 +836,10 @@ message PropertyQuota { // Current state for a particular quota group. message QuotaStatus { // Quota consumed by this request. - int32 consumed = 1; + optional int32 consumed = 1; // Quota remaining after this request. - int32 remaining = 2; + optional int32 remaining = 2; } // Explains a dimension. diff --git a/third_party/googleapis/google/api/BUILD.bazel b/third_party/googleapis/google/api/BUILD.bazel index 12e1a845f..85b98eae6 100644 --- a/third_party/googleapis/google/api/BUILD.bazel +++ b/third_party/googleapis/google/api/BUILD.bazel @@ -68,6 +68,9 @@ proto_library( name = "control_proto", srcs = ["control.proto"], visibility = ["//visibility:public"], + deps = [ + ":policy_proto", + ], ) proto_library( @@ -97,6 +100,14 @@ proto_library( srcs = ["error_reason.proto"], ) +proto_library( + name = "field_info_proto", + srcs = ["field_info.proto"], + deps = [ + "@com_google_protobuf//:descriptor_proto", + ], +) + proto_library( name = "field_behavior_proto", srcs = ["field_behavior.proto"], @@ -169,6 +180,15 @@ proto_library( deps = [":annotations_proto"], ) +proto_library( + name = "policy_proto", + srcs = ["policy.proto"], + deps = [ + ":visibility_proto", + "@com_google_protobuf//:descriptor_proto", + ], +) + proto_library( name = "quota_proto", srcs = ["quota.proto"], @@ -211,6 +231,7 @@ proto_library( ":metric_proto", ":monitored_resource_proto", ":monitoring_proto", + ":policy_proto", ":quota_proto", ":resource_proto", ":source_info_proto", @@ -277,6 +298,7 @@ java_proto_library( "endpoint_proto", "error_reason_proto", "field_behavior_proto", + "field_info_proto", "http_proto", "httpbody_proto", "label_proto", @@ -286,6 +308,7 @@ java_proto_library( "metric_proto", "monitored_resource_proto", "monitoring_proto", + "policy_proto", "quota_proto", "resource_proto", "routing_proto", @@ -318,6 +341,7 @@ java_gapic_assembly_gradle_pkg( "endpoint_proto", "error_reason_proto", "field_behavior_proto", + "field_info_proto", "http_proto", "httpbody_proto", "label_proto", @@ -327,6 +351,7 @@ java_gapic_assembly_gradle_pkg( "metric_proto", "monitored_resource_proto", "monitoring_proto", + "policy_proto", "quota_proto", "resource_proto", "routing_proto", @@ -351,6 +376,7 @@ go_proto_library( ":annotations_proto", ":client_proto", ":field_behavior_proto", + ":field_info_proto", ":http_proto", ":resource_proto", ":routing_proto", @@ -377,6 +403,7 @@ go_proto_library( protos = [":distribution_proto"], ) + go_proto_library( name = "field_behavior_go_proto", importpath = "google.golang.org/genproto/googleapis/api/annotations;annotations", @@ -449,6 +476,7 @@ go_proto_library( ":log_proto", ":logging_proto", ":monitoring_proto", + ":policy_proto", ":quota_proto", ":service_proto", ":source_info_proto", @@ -535,6 +563,11 @@ cc_proto_library( deps = [":endpoint_proto"], ) +cc_proto_library( + name = "field_info_cc_proto", + deps = [":field_info_proto"], +) + cc_proto_library( name = "field_behavior_cc_proto", deps = [":field_behavior_proto"], @@ -585,6 +618,11 @@ cc_proto_library( deps = [":monitoring_proto"], ) +cc_proto_library( + name = "policy_cc_proto", + deps = [":policy_proto"], +) + cc_proto_library( name = "quota_cc_proto", deps = [":quota_proto"], @@ -690,6 +728,11 @@ py_proto_library( deps = [":endpoint_proto"], ) +py_proto_library( + name = "field_info_py_proto", + deps = [":field_info_proto"], +) + py_proto_library( name = "field_behavior_py_proto", deps = [":field_behavior_proto"], @@ -740,6 +783,11 @@ py_proto_library( deps = ["monitoring_proto"], ) +py_proto_library( + name = "policy_py_proto", + deps = [":policy_proto"], +) + py_proto_library( name = "quota_py_proto", deps = ["quota_proto"], @@ -779,3 +827,59 @@ py_proto_library( name = "visibility_py_proto", deps = ["visibility_proto"], ) + +############################################################################## +# PHP +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "php_gapic_assembly_pkg", + "php_proto_library", +) + +php_proto_library( + name = "api_php_proto", + deps = [ + "annotations_proto", + "auth_proto", + "backend_proto", + "billing_proto", + "client_proto", + "config_change_proto", + "consumer_proto", + "context_proto", + "control_proto", + "distribution_proto", + "documentation_proto", + "endpoint_proto", + "error_reason_proto", + "field_info_proto", + "field_behavior_proto", + "http_proto", + "httpbody_proto", + "label_proto", + "launch_stage_proto", + "log_proto", + "logging_proto", + "metric_proto", + "monitored_resource_proto", + "monitoring_proto", + "policy_proto", + "quota_proto", + "resource_proto", + "routing_proto", + "service_proto", + "source_info_proto", + "system_parameter_proto", + "usage_proto", + "visibility_proto", + ], +) + +# Please DO-NOT-REMOVE this section. +# This is required to generate php files for these protos. +# Open Source Packages +php_gapic_assembly_pkg( + name = "google-api-php", + deps = [":api_php_proto"], +) diff --git a/third_party/googleapis/google/api/README.md b/third_party/googleapis/google/api/README.md index eafe58802..ea008db01 100644 --- a/third_party/googleapis/google/api/README.md +++ b/third_party/googleapis/google/api/README.md @@ -1,5 +1,36 @@ -This folder contains the schema of the configuration model for the API services -platform. +## API Protos -**Note**: Protos under this directory are in Alpha status, and therefore are -subject to breaking changes. +This folder contains the schema of the configuration model for Google's +internal API serving platform, which handles routing, quotas, monitoring, +logging, and the like. + +Google refers to this configuration colloquially as the "service config", +and the `service.proto` file in this directory is the entry point for +understanding these. + +## Using these protos + +To be honest, we probably open sourced way too much of this (basically by +accident). There are a couple files in here you are most likely to be +interested in: `http.proto`, `documentation.proto`, `auth.proto`, and +`annotations.proto`. + +### HTTP and REST + +The `http.proto` file contains the `Http` message (which then is wrapped +in an annotation in `annotations.proto`), which provides a specification +for REST endpoints and verbs (`GET`, `POST`, etc.) on RPC methods. +We recommend use of this annotation for describing the relationship +between RPCs and REST endpoints. + +### Documentation + +The `documentation.proto` file contains a `Documentation` message which +provides a mechanism to fully describe an API, allowing a tool to build +structured documentation artifacts. + +### Authentication + +The `auth.proto` file contains descriptions of both authentication rules +and authentication providers, allowing you to describe what your services +expect and accept from clients. diff --git a/third_party/googleapis/google/api/apikeys/BUILD.bazel b/third_party/googleapis/google/api/apikeys/BUILD.bazel index 8131ffe60..cfea5e6f1 100644 --- a/third_party/googleapis/google/api/apikeys/BUILD.bazel +++ b/third_party/googleapis/google/api/apikeys/BUILD.bazel @@ -24,10 +24,11 @@ ruby_cloud_gapic_library( "ruby-cloud-api-shortname=apikeys", "ruby-cloud-gem-name=google-cloud-api_keys", "ruby-cloud-product-url=https://cloud.google.com/api-keys/", - "ruby-cloud-wrapper-of=v2:0.0", + "ruby-cloud-wrapper-of=v2:0.5", ], ruby_cloud_description = "An API key is a simple encrypted string that you can use when calling Google Cloud APIs. The API Keys service manages the API keys associated with developer projects.", ruby_cloud_title = "API Keys", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/api/apikeys/v2/BUILD.bazel b/third_party/googleapis/google/api/apikeys/v2/BUILD.bazel index d29c10271..96d1498d4 100644 --- a/third_party/googleapis/google/api/apikeys/v2/BUILD.bazel +++ b/third_party/googleapis/google/api/apikeys/v2/BUILD.bazel @@ -114,13 +114,12 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( name = "apikeys_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/api/apikeys/v2", + importpath = "cloud.google.com/go/apikeys/apiv2/apikeyspb", protos = [":apikeys_proto"], deps = [ "//google/api:annotations_go_proto", @@ -132,8 +131,9 @@ go_gapic_library( name = "apikeys_go_gapic", srcs = [":apikeys_proto_with_info"], grpc_service_config = "apikeys_grpc_service_config.json", - importpath = "cloud.google.com/go/api/apikeys/apiv2;apikeys", + importpath = "cloud.google.com/go/apikeys/apiv2;apikeys", metadata = True, + release_level = "ga", rest_numeric_enums = True, service_yaml = "apikeys_v2.yaml", transport = "grpc+rest", @@ -145,19 +145,13 @@ go_gapic_library( ], ) -go_test( - name = "apikeys_go_gapic_test", - srcs = [":apikeys_go_gapic_srcjar_test"], - embed = [":apikeys_go_gapic"], - importpath = "cloud.google.com/go/api/apikeys/apiv2", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-api-apikeys-v2-go", deps = [ ":apikeys_go_gapic", ":apikeys_go_gapic_srcjar-metadata.srcjar", + ":apikeys_go_gapic_srcjar-snippets.srcjar", ":apikeys_go_gapic_srcjar-test.srcjar", ":apikeys_go_proto", ], @@ -178,14 +172,15 @@ py_gapic_library( srcs = [":apikeys_proto"], grpc_service_config = "apikeys_grpc_service_config.json", opt_args = [ - "warehouse-package-name=google-cloud-api-keys", - "python-gapic-namespace=google.cloud", "python-gapic-name=api_keys", + "python-gapic-namespace=google.cloud", + "warehouse-package-name=google-cloud-api-keys", ], rest_numeric_enums = True, service_yaml = "apikeys_v2.yaml", transport = "grpc+rest", - deps = [], + deps = [ + ], ) py_test( @@ -213,7 +208,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -222,21 +216,15 @@ php_proto_library( deps = [":apikeys_proto"], ) -php_grpc_library( - name = "apikeys_php_grpc", - srcs = [":apikeys_proto"], - deps = [":apikeys_php_proto"], -) - php_gapic_library( name = "apikeys_php_gapic", srcs = [":apikeys_proto_with_info"], grpc_service_config = "apikeys_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "apikeys_v2.yaml", transport = "grpc+rest", deps = [ - ":apikeys_php_grpc", ":apikeys_php_proto", ], ) @@ -246,7 +234,6 @@ php_gapic_assembly_pkg( name = "google-cloud-api-apikeys-v2-php", deps = [ ":apikeys_php_gapic", - ":apikeys_php_grpc", ":apikeys_php_proto", ], ) @@ -317,6 +304,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "An API key is a simple encrypted string that you can use when calling Google Cloud APIs. The API Keys service manages the API keys associated with developer projects.", ruby_cloud_title = "API Keys V2", service_yaml = "apikeys_v2.yaml", + transport = "grpc+rest", deps = [ ":apikeys_ruby_grpc", ":apikeys_ruby_proto", diff --git a/third_party/googleapis/google/api/apikeys/v2/apikeys.proto b/third_party/googleapis/google/api/apikeys/v2/apikeys.proto index 4b0e08ac2..132a03a45 100644 --- a/third_party/googleapis/google/api/apikeys/v2/apikeys.proto +++ b/third_party/googleapis/google/api/apikeys/v2/apikeys.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -22,10 +22,11 @@ import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/longrunning/operations.proto"; +import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.ApiKeys.V2"; -option go_package = "google.golang.org/genproto/googleapis/api/apikeys/v2;apikeys"; +option go_package = "cloud.google.com/go/apikeys/apiv2/apikeyspb;apikeyspb"; option java_multiple_files = true; option java_outer_classname = "ApiKeysProto"; option java_package = "com.google.api.apikeys.v2"; diff --git a/third_party/googleapis/google/api/apikeys/v2/resources.proto b/third_party/googleapis/google/api/apikeys/v2/resources.proto index 08e0b11ae..a4f39c7ae 100644 --- a/third_party/googleapis/google/api/apikeys/v2/resources.proto +++ b/third_party/googleapis/google/api/apikeys/v2/resources.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.ApiKeys.V2"; -option go_package = "google.golang.org/genproto/googleapis/api/apikeys/v2;apikeys"; +option go_package = "cloud.google.com/go/apikeys/apiv2/apikeyspb;apikeyspb"; option java_multiple_files = true; option java_outer_classname = "ResourcesProto"; option java_package = "com.google.api.apikeys.v2"; @@ -61,15 +61,18 @@ message Key { // Output only. A timestamp identifying the time this key was originally // created. - google.protobuf.Timestamp create_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. A timestamp identifying the time this key was last // updated. - google.protobuf.Timestamp update_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. A timestamp when this key was deleted. If the resource is not deleted, - // this must be empty. - google.protobuf.Timestamp delete_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. A timestamp when this key was deleted. If the resource is not + // deleted, this must be empty. + google.protobuf.Timestamp delete_time = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Annotations is an unstructured key-value map stored with a policy that // may be set by external tools to store and retrieve arbitrary metadata. @@ -79,10 +82,10 @@ message Key { // Key restrictions. Restrictions restrictions = 9; - // Output only. A checksum computed by the server based on the current value of the Key - // resource. This may be sent on update and delete requests to ensure the - // client has an up-to-date value before proceeding. - // See https://google.aip.dev/154. + // Output only. A checksum computed by the server based on the current value + // of the Key resource. This may be sent on update and delete requests to + // ensure the client has an up-to-date value before proceeding. See + // https://google.aip.dev/154. string etag = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/api/auth.proto b/third_party/googleapis/google/api/auth.proto index 21a8ce1b0..ca91bb1bf 100644 --- a/third_party/googleapis/google/api/auth.proto +++ b/third_party/googleapis/google/api/auth.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -62,7 +62,8 @@ message Authentication { message AuthenticationRule { // Selects the methods to which this rule applies. // - // Refer to [selector][google.api.DocumentationRule.selector] for syntax details. + // Refer to [selector][google.api.DocumentationRule.selector] for syntax + // details. string selector = 1; // The requirements for OAuth credentials. diff --git a/third_party/googleapis/google/api/backend.proto b/third_party/googleapis/google/api/backend.proto index 1a3b705f6..6ff68878b 100644 --- a/third_party/googleapis/google/api/backend.proto +++ b/third_party/googleapis/google/api/backend.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -91,7 +91,8 @@ message BackendRule { // Selects the methods to which this rule applies. // - // Refer to [selector][google.api.DocumentationRule.selector] for syntax details. + // Refer to [selector][google.api.DocumentationRule.selector] for syntax + // details. string selector = 1; // The address of the API backend. @@ -178,4 +179,7 @@ message BackendRule { // https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids // for more details on the supported values. string protocol = 9; + + // The map between request protocol and the backend address. + map overrides_by_request_protocol = 10; } diff --git a/third_party/googleapis/google/api/billing.proto b/third_party/googleapis/google/api/billing.proto index e94c2ec58..8b75452fb 100644 --- a/third_party/googleapis/google/api/billing.proto +++ b/third_party/googleapis/google/api/billing.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -59,11 +59,13 @@ message Billing { // bill against consumer project). message BillingDestination { // The monitored resource type. The type must be defined in - // [Service.monitored_resources][google.api.Service.monitored_resources] section. + // [Service.monitored_resources][google.api.Service.monitored_resources] + // section. string monitored_resource = 1; // Names of the metrics to report to this billing destination. - // Each name must be defined in [Service.metrics][google.api.Service.metrics] section. + // Each name must be defined in + // [Service.metrics][google.api.Service.metrics] section. repeated string metrics = 2; } diff --git a/third_party/googleapis/google/api/client.proto b/third_party/googleapis/google/api/client.proto index 227ccf3a5..39bdde82a 100644 --- a/third_party/googleapis/google/api/client.proto +++ b/third_party/googleapis/google/api/client.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -112,7 +112,9 @@ message CommonLanguageSettings { // Details about how and where to publish client libraries. message ClientLibrarySettings { - // Version of the API to apply these settings to. + // Version of the API to apply these settings to. This is the full protobuf + // package for the API, ending in the version element. + // Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1". string version = 1; // Launch stage of this version of the API. @@ -155,7 +157,7 @@ message Publishing { // long-running operation pattern. repeated MethodSettings method_settings = 2; - // Link to a place that API users can report issues. Example: + // Link to a *public* URI where users can report issues. Example: // https://issuetracker.google.com/issues/new?component=190865&template=1161103 string new_issue_uri = 101; @@ -186,6 +188,10 @@ message Publishing { // times in this list, then the last one wins. Settings from earlier // settings with the same version string are discarded. repeated ClientLibrarySettings library_settings = 109; + + // Optional link to proto reference documentation. Example: + // https://cloud.google.com/pubsub/lite/docs/reference/rpc + string proto_reference_documentation_uri = 110; } // Settings for Java client libraries. @@ -251,6 +257,36 @@ message NodeSettings { message DotnetSettings { // Some settings. CommonLanguageSettings common = 1; + + // Map from original service names to renamed versions. + // This is used when the default generated types + // would cause a naming conflict. (Neither name is + // fully-qualified.) + // Example: Subscriber to SubscriberServiceApi. + map renamed_services = 2; + + // Map from full resource types to the effective short name + // for the resource. This is used when otherwise resource + // named from different services would cause naming collisions. + // Example entry: + // "datalabeling.googleapis.com/Dataset": "DataLabelingDataset" + map renamed_resources = 3; + + // List of full resource types to ignore during generation. + // This is typically used for API-specific Location resources, + // which should be handled by the generator as if they were actually + // the common Location resources. + // Example entry: "documentai.googleapis.com/Location" + repeated string ignored_resources = 4; + + // Namespaces which must be aliased in snippets due to + // a known (but non-generator-predictable) naming collision + repeated string forced_namespace_aliases = 5; + + // Method signatures (in the form "service.method(signature)") + // which are provided separately, so shouldn't be generated. + // Snippets *calling* these methods are still generated, however. + repeated string handwritten_signatures = 6; } // Settings for Ruby client libraries. @@ -302,8 +338,8 @@ message MethodSettings { // Example of a YAML configuration:: // // publishing: - // method_behavior: - // - selector: CreateAdDomain + // method_settings: + // - selector: google.cloud.speech.v2.Speech.BatchRecognize // long_running: // initial_poll_delay: // seconds: 60 # 1 minute @@ -313,6 +349,19 @@ message MethodSettings { // total_poll_timeout: // seconds: 54000 # 90 minutes LongRunning long_running = 2; + + // List of top-level fields of the request message, that should be + // automatically populated by the client libraries based on their + // (google.api.field_info).format. Currently supported format: UUID4. + // + // Example of a YAML configuration: + // + // publishing: + // method_settings: + // - selector: google.example.v1.ExampleService.CreateExample + // auto_populated_fields: + // - request_id + repeated string auto_populated_fields = 3; } // The organization for which the client libraries are being published. @@ -332,6 +381,15 @@ enum ClientLibraryOrganization { // Street View Org. STREET_VIEW = 4; + + // Shopping Org. + SHOPPING = 5; + + // Geo Org. + GEO = 6; + + // Generative AI - https://developers.generativeai.google + GENERATIVE_AI = 7; } // To where should client libraries be published? diff --git a/third_party/googleapis/google/api/config_change.proto b/third_party/googleapis/google/api/config_change.proto index f1fcde4f7..1dc8044b9 100644 --- a/third_party/googleapis/google/api/config_change.proto +++ b/third_party/googleapis/google/api/config_change.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/api/context.proto b/third_party/googleapis/google/api/context.proto index 8e776ecfc..1b1651780 100644 --- a/third_party/googleapis/google/api/context.proto +++ b/third_party/googleapis/google/api/context.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -70,7 +70,8 @@ message Context { message ContextRule { // Selects the methods to which this rule applies. // - // Refer to [selector][google.api.DocumentationRule.selector] for syntax details. + // Refer to [selector][google.api.DocumentationRule.selector] for syntax + // details. string selector = 1; // A list of full type names of requested contexts. diff --git a/third_party/googleapis/google/api/control.proto b/third_party/googleapis/google/api/control.proto index 5e14dee30..cbbce6f61 100644 --- a/third_party/googleapis/google/api/control.proto +++ b/third_party/googleapis/google/api/control.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,6 +16,8 @@ syntax = "proto3"; package google.api; +import "google/api/policy.proto"; + option go_package = "google.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig"; option java_multiple_files = true; option java_outer_classname = "ControlProto"; @@ -33,4 +35,7 @@ message Control { // feature (like quota and billing) will be enabled. The recommended value for // most services is servicecontrol.googleapis.com string environment = 1; + + // Defines policies applying to the API methods of the service. + repeated MethodPolicy method_policies = 4; } diff --git a/third_party/googleapis/google/api/distribution.proto b/third_party/googleapis/google/api/distribution.proto index b079a4389..b0bc4930f 100644 --- a/third_party/googleapis/google/api/distribution.proto +++ b/third_party/googleapis/google/api/distribution.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -73,6 +73,7 @@ message Distribution { // following boundaries: // // Upper bound (0 <= i < N-1): offset + (width * i). + // // Lower bound (1 <= i < N): offset + (width * (i - 1)). message Linear { // Must be greater than 0. @@ -93,6 +94,7 @@ message Distribution { // following boundaries: // // Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). + // // Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)). message Exponential { // Must be greater than 0. diff --git a/third_party/googleapis/google/api/documentation.proto b/third_party/googleapis/google/api/documentation.proto index d15562db5..0dabdfcf8 100644 --- a/third_party/googleapis/google/api/documentation.proto +++ b/third_party/googleapis/google/api/documentation.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/api/endpoint.proto b/third_party/googleapis/google/api/endpoint.proto index 3b9f6a16c..7f6dca7c1 100644 --- a/third_party/googleapis/google/api/endpoint.proto +++ b/third_party/googleapis/google/api/endpoint.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/api/error_reason.proto b/third_party/googleapis/google/api/error_reason.proto index 3b1d0e212..c0509be4f 100644 --- a/third_party/googleapis/google/api/error_reason.proto +++ b/third_party/googleapis/google/api/error_reason.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -532,4 +532,39 @@ enum ErrorReason { // } // } ORG_RESTRICTION_HEADER_INVALID = 28; + + // Unimplemented. Do not use. + // + // The request is calling a service that is not visible to the consumer. + // + // Example of an ErrorInfo when the consumer "projects/123" contacting + // "pubsub.googleapis.com" service which is not visible to the consumer. + // + // { "reason": "SERVICE_NOT_VISIBLE", + // "domain": "googleapis.com", + // "metadata": { + // "consumer": "projects/123", + // "service": "pubsub.googleapis.com" + // } + // } + // + // This response indicates the "pubsub.googleapis.com" is not visible to + // "projects/123" (or it may not exist). + SERVICE_NOT_VISIBLE = 29; + + // The request is related to a project for which GCP access is suspended. + // + // Example of an ErrorInfo when the consumer "projects/123" fails to contact + // "pubsub.googleapis.com" service because GCP access is suspended: + // + // { "reason": "GCP_SUSPENDED", + // "domain": "googleapis.com", + // "metadata": { + // "consumer": "projects/123", + // "service": "pubsub.googleapis.com" + // } + // } + // + // This response indicates the associated GCP account has been suspended. + GCP_SUSPENDED = 30; } diff --git a/third_party/googleapis/google/api/expr/conformance/v1alpha1/BUILD.bazel b/third_party/googleapis/google/api/expr/conformance/v1alpha1/BUILD.bazel index 012109e27..674c650c9 100644 --- a/third_party/googleapis/google/api/expr/conformance/v1alpha1/BUILD.bazel +++ b/third_party/googleapis/google/api/expr/conformance/v1alpha1/BUILD.bazel @@ -14,10 +14,10 @@ proto_library( "conformance_service.proto", ], deps = [ + "//google/api:client_proto", "//google/api/expr/v1alpha1:checked_proto", "//google/api/expr/v1alpha1:eval_proto", "//google/api/expr/v1alpha1:syntax_proto", - "//google/api:client_proto", "//google/rpc:status_proto", ], ) @@ -56,8 +56,8 @@ go_proto_library( importpath = "google.golang.org/genproto/googleapis/api/expr/conformance/v1alpha1", protos = [":conformance_proto"], deps = [ - "//google/api/expr/v1alpha1:expr_go_proto", "//google/api:annotations_go_proto", + "//google/api/expr/v1alpha1:expr_go_proto", "//google/rpc:status_go_proto", ], ) @@ -76,10 +76,10 @@ moved_proto_library( name = "conformance_moved_proto", srcs = [":conformance_proto"], deps = [ + "//google/api:client_proto", "//google/api/expr/v1alpha1:checked_proto", "//google/api/expr/v1alpha1:eval_proto", "//google/api/expr/v1alpha1:syntax_proto", - "//google/api:client_proto", "//google/rpc:status_proto", ], ) @@ -100,7 +100,6 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -109,12 +108,6 @@ php_proto_library( deps = [":conformance_proto"], ) -php_grpc_library( - name = "conformance_php_grpc", - srcs = [":conformance_proto"], - deps = [":conformance_php_proto"], -) - ############################################################################## # Ruby ############################################################################## diff --git a/third_party/googleapis/google/api/expr/v1alpha1/BUILD.bazel b/third_party/googleapis/google/api/expr/v1alpha1/BUILD.bazel index a303701b2..1a3539f50 100644 --- a/third_party/googleapis/google/api/expr/v1alpha1/BUILD.bazel +++ b/third_party/googleapis/google/api/expr/v1alpha1/BUILD.bazel @@ -150,7 +150,6 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -159,12 +158,6 @@ php_proto_library( deps = [":expr_proto"], ) -php_grpc_library( - name = "expr_php_grpc", - srcs = [":expr_proto"], - deps = [":expr_php_proto"], -) - ############################################################################## # Ruby ############################################################################## @@ -218,7 +211,6 @@ cc_proto_library( deps = [":checked_proto"], ) - cc_proto_library( name = "eval_cc_proto", deps = [":eval_proto"], diff --git a/third_party/googleapis/google/api/expr/v1alpha1/checked.proto b/third_party/googleapis/google/api/expr/v1alpha1/checked.proto index 930dc4f00..031a651da 100644 --- a/third_party/googleapis/google/api/expr/v1alpha1/checked.proto +++ b/third_party/googleapis/google/api/expr/v1alpha1/checked.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/api/expr/v1alpha1/eval.proto b/third_party/googleapis/google/api/expr/v1alpha1/eval.proto index e90526440..8af43bec9 100644 --- a/third_party/googleapis/google/api/expr/v1alpha1/eval.proto +++ b/third_party/googleapis/google/api/expr/v1alpha1/eval.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/api/expr/v1alpha1/explain.proto b/third_party/googleapis/google/api/expr/v1alpha1/explain.proto index 23d514851..8b2cb7ec8 100644 --- a/third_party/googleapis/google/api/expr/v1alpha1/explain.proto +++ b/third_party/googleapis/google/api/expr/v1alpha1/explain.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/api/expr/v1alpha1/syntax.proto b/third_party/googleapis/google/api/expr/v1alpha1/syntax.proto index 8219ba689..4920a13d8 100644 --- a/third_party/googleapis/google/api/expr/v1alpha1/syntax.proto +++ b/third_party/googleapis/google/api/expr/v1alpha1/syntax.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -44,21 +44,24 @@ message ParsedExpr { // operators with the exception of the '.' operator are modelled as function // calls. This makes it easy to represent new operators into the existing AST. // -// All references within expressions must resolve to a [Decl][google.api.expr.v1alpha1.Decl] provided at -// type-check for an expression to be valid. A reference may either be a bare -// identifier `name` or a qualified identifier `google.api.name`. References -// may either refer to a value or a function declaration. +// All references within expressions must resolve to a +// [Decl][google.api.expr.v1alpha1.Decl] provided at type-check for an +// expression to be valid. A reference may either be a bare identifier `name` or +// a qualified identifier `google.api.name`. References may either refer to a +// value or a function declaration. // // For example, the expression `google.api.name.startsWith('expr')` references -// the declaration `google.api.name` within a [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression, and -// the function declaration `startsWith`. +// the declaration `google.api.name` within a +// [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression, and the +// function declaration `startsWith`. message Expr { // An identifier expression. e.g. `request`. message Ident { // Required. Holds a single, unqualified identifier, possibly preceded by a // '.'. // - // Qualified names are represented by the [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression. + // Qualified names are represented by the + // [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression. string name = 1; } @@ -250,7 +253,8 @@ message Expr { // primitives. // // Lists and structs are not included as constants as these aggregate types may -// contain [Expr][google.api.expr.v1alpha1.Expr] elements which require evaluation and are thus not constant. +// contain [Expr][google.api.expr.v1alpha1.Expr] elements which require +// evaluation and are thus not constant. // // Examples of literals include: `"hello"`, `b'bytes'`, `1u`, `4.2`, `-2`, // `true`, `null`. @@ -292,6 +296,50 @@ message Constant { // Source information collected at parse time. message SourceInfo { + // An extension that was requested for the source expression. + message Extension { + // Version + message Version { + // Major version changes indicate different required support level from + // the required components. + int64 major = 1; + + // Minor version changes must not change the observed behavior from + // existing implementations, but may be provided informationally. + int64 minor = 2; + } + + // CEL component specifier. + enum Component { + // Unspecified, default. + COMPONENT_UNSPECIFIED = 0; + + // Parser. Converts a CEL string to an AST. + COMPONENT_PARSER = 1; + + // Type checker. Checks that references in an AST are defined and types + // agree. + COMPONENT_TYPE_CHECKER = 2; + + // Runtime. Evaluates a parsed and optionally checked CEL AST against a + // context. + COMPONENT_RUNTIME = 3; + } + + // Identifier for the extension. Example: constant_folding + string id = 1; + + // If set, the listed components must understand the extension for the + // expression to evaluate correctly. + // + // This field has set semantics, repeated values should be deduplicated. + repeated Component affected_components = 2; + + // Version info. May be skipped if it isn't meaningful for the extension. + // (for example constant_folding might always be v0.0). + Version version = 3; + } + // The syntax version of the source, e.g. `cel1`. string syntax_version = 1; @@ -323,6 +371,15 @@ message SourceInfo { // in the map corresponds to the expression id of the expanded macro, and the // value is the call `Expr` that was replaced. map macro_calls = 5; + + // A list of tags for extensions that were used while parsing or type checking + // the source expression. For example, optimizations that require special + // runtime support may be specified. + // + // These are used to check feature support between components in separate + // implementations. This can be used to either skip redundant work or + // report an error if the extension is unsupported. + repeated Extension extensions = 6; } // A specific position in source. diff --git a/third_party/googleapis/google/api/expr/v1alpha1/value.proto b/third_party/googleapis/google/api/expr/v1alpha1/value.proto index 2f03ef62a..9074fcc7f 100644 --- a/third_party/googleapis/google/api/expr/v1alpha1/value.proto +++ b/third_party/googleapis/google/api/expr/v1alpha1/value.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/api/field_behavior.proto b/third_party/googleapis/google/api/field_behavior.proto index c4abe3b67..21895bf55 100644 --- a/third_party/googleapis/google/api/field_behavior.proto +++ b/third_party/googleapis/google/api/field_behavior.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ extend google.protobuf.FieldOptions { // google.protobuf.Timestamp expire_time = 1 // [(google.api.field_behavior) = OUTPUT_ONLY, // (google.api.field_behavior) = IMMUTABLE]; - repeated google.api.FieldBehavior field_behavior = 1052; + repeated google.api.FieldBehavior field_behavior = 1052 [packed = false]; } // An indicator of the behavior of a given field (for example, that a field @@ -87,4 +87,18 @@ enum FieldBehavior { // a non-empty value will be returned. The user will not be aware of what // non-empty value to expect. NON_EMPTY_DEFAULT = 7; + + // Denotes that the field in a resource (a message annotated with + // google.api.resource) is used in the resource name to uniquely identify the + // resource. For AIP-compliant APIs, this should only be applied to the + // `name` field on the resource. + // + // This behavior should not be applied to references to other resources within + // the message. + // + // The identifier field of resources often have different field behavior + // depending on the request it is embedded in (e.g. for Create methods name + // is optional and unused, while for Update methods it is required). Instead + // of method-specific annotations, only `IDENTIFIER` is required. + IDENTIFIER = 8; } diff --git a/third_party/googleapis/google/api/http.proto b/third_party/googleapis/google/api/http.proto index 113fa936a..31d867a27 100644 --- a/third_party/googleapis/google/api/http.proto +++ b/third_party/googleapis/google/api/http.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -210,15 +210,18 @@ message Http { // 1. Leaf request fields (recursive expansion nested messages in the request // message) are classified into three categories: // - Fields referred by the path template. They are passed via the URL path. -// - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP +// - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They +// are passed via the HTTP // request body. // - All other fields are passed via the URL query parameters, and the // parameter name is the field path in the request message. A repeated // field can be represented as multiple query parameters under the same // name. -// 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields +// 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL +// query parameter, all fields // are passed via URL path and HTTP request body. -// 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all +// 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP +// request body, all // fields are passed via URL path and URL query parameters. // // ### Path template syntax @@ -313,7 +316,8 @@ message Http { message HttpRule { // Selects a method to which this rule applies. // - // Refer to [selector][google.api.DocumentationRule.selector] for syntax details. + // Refer to [selector][google.api.DocumentationRule.selector] for syntax + // details. string selector = 1; // Determines the URL pattern is matched by this rules. This pattern can be diff --git a/third_party/googleapis/google/api/httpbody.proto b/third_party/googleapis/google/api/httpbody.proto index 00c80aba9..7f1685e80 100644 --- a/third_party/googleapis/google/api/httpbody.proto +++ b/third_party/googleapis/google/api/httpbody.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/api/label.proto b/third_party/googleapis/google/api/label.proto index af294c91c..698f6bd4d 100644 --- a/third_party/googleapis/google/api/label.proto +++ b/third_party/googleapis/google/api/label.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/api/launch_stage.proto b/third_party/googleapis/google/api/launch_stage.proto index 6524db575..9802de795 100644 --- a/third_party/googleapis/google/api/launch_stage.proto +++ b/third_party/googleapis/google/api/launch_stage.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/api/log.proto b/third_party/googleapis/google/api/log.proto index 22ee28937..416c4f6c2 100644 --- a/third_party/googleapis/google/api/log.proto +++ b/third_party/googleapis/google/api/log.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/api/logging.proto b/third_party/googleapis/google/api/logging.proto index e60f77ca5..650786fde 100644 --- a/third_party/googleapis/google/api/logging.proto +++ b/third_party/googleapis/google/api/logging.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -56,13 +56,14 @@ message Logging { // or the consumer project). message LoggingDestination { // The monitored resource type. The type must be defined in the - // [Service.monitored_resources][google.api.Service.monitored_resources] section. + // [Service.monitored_resources][google.api.Service.monitored_resources] + // section. string monitored_resource = 3; // Names of the logs to be sent to this destination. Each name must - // be defined in the [Service.logs][google.api.Service.logs] section. If the log name is - // not a domain scoped name, it will be automatically prefixed with - // the service name followed by "/". + // be defined in the [Service.logs][google.api.Service.logs] section. If the + // log name is not a domain scoped name, it will be automatically prefixed + // with the service name followed by "/". repeated string logs = 1; } diff --git a/third_party/googleapis/google/api/metric.proto b/third_party/googleapis/google/api/metric.proto index c206666f6..9bf043c49 100644 --- a/third_party/googleapis/google/api/metric.proto +++ b/third_party/googleapis/google/api/metric.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -80,7 +80,9 @@ message MetricDescriptor { // Additional annotations that can be used to guide the usage of a metric. message MetricDescriptorMetadata { - // Deprecated. Must use the [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage] instead. + // Deprecated. Must use the + // [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage] + // instead. LaunchStage launch_stage = 1 [deprecated = true]; // The sampling period of metric data points. For metrics which are written @@ -245,17 +247,19 @@ message MetricDescriptor { // Read-only. If present, then a [time // series][google.monitoring.v3.TimeSeries], which is identified partially by - // a metric type and a [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that is associated - // with this metric type can only be associated with one of the monitored - // resource types listed here. + // a metric type and a + // [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that + // is associated with this metric type can only be associated with one of the + // monitored resource types listed here. repeated string monitored_resource_types = 13; } // A specific metric, identified by specifying values for all of the // labels of a [`MetricDescriptor`][google.api.MetricDescriptor]. message Metric { - // An existing metric type, see [google.api.MetricDescriptor][google.api.MetricDescriptor]. - // For example, `custom.googleapis.com/invoice/paid/amount`. + // An existing metric type, see + // [google.api.MetricDescriptor][google.api.MetricDescriptor]. For example, + // `custom.googleapis.com/invoice/paid/amount`. string type = 3; // The set of label values that uniquely identify this metric. All diff --git a/third_party/googleapis/google/api/monitored_resource.proto b/third_party/googleapis/google/api/monitored_resource.proto index 8b97baa10..c6f975928 100644 --- a/third_party/googleapis/google/api/monitored_resource.proto +++ b/third_party/googleapis/google/api/monitored_resource.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -27,9 +27,10 @@ option java_outer_classname = "MonitoredResourceProto"; option java_package = "com.google.api"; option objc_class_prefix = "GAPI"; -// An object that describes the schema of a [MonitoredResource][google.api.MonitoredResource] object using a -// type name and a set of labels. For example, the monitored resource -// descriptor for Google Compute Engine VM instances has a type of +// An object that describes the schema of a +// [MonitoredResource][google.api.MonitoredResource] object using a type name +// and a set of labels. For example, the monitored resource descriptor for +// Google Compute Engine VM instances has a type of // `"gce_instance"` and specifies the use of the labels `"instance_id"` and // `"zone"` to identify particular VM instances. // @@ -76,11 +77,13 @@ message MonitoredResourceDescriptor { // An object representing a resource that can be used for monitoring, logging, // billing, or other purposes. Examples include virtual machine instances, // databases, and storage devices such as disks. The `type` field identifies a -// [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] object that describes the resource's -// schema. Information in the `labels` field identifies the actual resource and -// its attributes according to the schema. For example, a particular Compute -// Engine VM instance could be represented by the following object, because the -// [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] for `"gce_instance"` has labels +// [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] object +// that describes the resource's schema. Information in the `labels` field +// identifies the actual resource and its attributes according to the schema. +// For example, a particular Compute Engine VM instance could be represented by +// the following object, because the +// [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] for +// `"gce_instance"` has labels // `"project_id"`, `"instance_id"` and `"zone"`: // // { "type": "gce_instance", @@ -89,10 +92,12 @@ message MonitoredResourceDescriptor { // "zone": "us-central1-a" }} message MonitoredResource { // Required. The monitored resource type. This field must match - // the `type` field of a [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] object. For - // example, the type of a Compute Engine VM instance is `gce_instance`. - // Some descriptors include the service name in the type; for example, - // the type of a Datastream stream is `datastream.googleapis.com/Stream`. + // the `type` field of a + // [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] + // object. For example, the type of a Compute Engine VM instance is + // `gce_instance`. Some descriptors include the service name in the type; for + // example, the type of a Datastream stream is + // `datastream.googleapis.com/Stream`. string type = 1; // Required. Values for all of the labels listed in the associated monitored @@ -101,12 +106,12 @@ message MonitoredResource { map labels = 2; } -// Auxiliary metadata for a [MonitoredResource][google.api.MonitoredResource] object. -// [MonitoredResource][google.api.MonitoredResource] objects contain the minimum set of information to -// uniquely identify a monitored resource instance. There is some other useful -// auxiliary metadata. Monitoring and Logging use an ingestion -// pipeline to extract metadata for cloud resources of all types, and store -// the metadata in this message. +// Auxiliary metadata for a [MonitoredResource][google.api.MonitoredResource] +// object. [MonitoredResource][google.api.MonitoredResource] objects contain the +// minimum set of information to uniquely identify a monitored resource +// instance. There is some other useful auxiliary metadata. Monitoring and +// Logging use an ingestion pipeline to extract metadata for cloud resources of +// all types, and store the metadata in this message. message MonitoredResourceMetadata { // Output only. Values for predefined system metadata labels. // System labels are a kind of metadata extracted by Google, including diff --git a/third_party/googleapis/google/api/monitoring.proto b/third_party/googleapis/google/api/monitoring.proto index 60770ec5a..753703e54 100644 --- a/third_party/googleapis/google/api/monitoring.proto +++ b/third_party/googleapis/google/api/monitoring.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -79,11 +79,13 @@ message Monitoring { // or the consumer project). message MonitoringDestination { // The monitored resource type. The type must be defined in - // [Service.monitored_resources][google.api.Service.monitored_resources] section. + // [Service.monitored_resources][google.api.Service.monitored_resources] + // section. string monitored_resource = 1; // Types of the metrics to report to this monitoring destination. - // Each type must be defined in [Service.metrics][google.api.Service.metrics] section. + // Each type must be defined in + // [Service.metrics][google.api.Service.metrics] section. repeated string metrics = 2; } diff --git a/third_party/googleapis/google/api/quota.proto b/third_party/googleapis/google/api/quota.proto index 3272cdae5..7ccc102fc 100644 --- a/third_party/googleapis/google/api/quota.proto +++ b/third_party/googleapis/google/api/quota.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -87,7 +87,8 @@ message Quota { message MetricRule { // Selects the methods to which this rule applies. // - // Refer to [selector][google.api.DocumentationRule.selector] for syntax details. + // Refer to [selector][google.api.DocumentationRule.selector] for syntax + // details. string selector = 1; // Metrics to update when the selected methods are called, and the associated diff --git a/third_party/googleapis/google/api/resource.proto b/third_party/googleapis/google/api/resource.proto index 0ce0344f5..bf0cbec5d 100644 --- a/third_party/googleapis/google/api/resource.proto +++ b/third_party/googleapis/google/api/resource.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/api/routing.proto b/third_party/googleapis/google/api/routing.proto index 013828389..b35289be8 100644 --- a/third_party/googleapis/google/api/routing.proto +++ b/third_party/googleapis/google/api/routing.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/api/service.proto b/third_party/googleapis/google/api/service.proto index a90186342..3de5b6675 100644 --- a/third_party/googleapis/google/api/service.proto +++ b/third_party/googleapis/google/api/service.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -98,10 +98,10 @@ message Service { string id = 33; // A list of API interfaces exported by this service. Only the `name` field - // of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration - // author, as the remaining fields will be derived from the IDL during the - // normalization process. It is an error to specify an API interface here - // which cannot be resolved against the associated IDL files. + // of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by + // the configuration author, as the remaining fields will be derived from the + // IDL during the normalization process. It is an error to specify an API + // interface here which cannot be resolved against the associated IDL files. repeated google.protobuf.Api apis = 3; // A list of all proto message types included in this API service. @@ -159,7 +159,8 @@ message Service { repeated MetricDescriptor metrics = 24; // Defines the monitored resources used by this service. This is required - // by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations. + // by the [Service.monitoring][google.api.Service.monitoring] and + // [Service.logging][google.api.Service.logging] configurations. repeated MonitoredResourceDescriptor monitored_resources = 25; // Billing configuration. diff --git a/third_party/googleapis/google/api/serviceconfig.yaml b/third_party/googleapis/google/api/serviceconfig.yaml index f7b0fcadb..e71751ea4 100644 --- a/third_party/googleapis/google/api/serviceconfig.yaml +++ b/third_party/googleapis/google/api/serviceconfig.yaml @@ -7,6 +7,7 @@ types: - name: google.api.ConfigChange - name: google.api.Distribution - name: google.api.DocumentationRule +- name: google.api.FieldInfo - name: google.api.HttpBody - name: google.api.LabelDescriptor - name: google.api.Metric diff --git a/third_party/googleapis/google/api/servicecontrol/BUILD.bazel b/third_party/googleapis/google/api/servicecontrol/BUILD.bazel index 0ed01f052..6444e18fc 100644 --- a/third_party/googleapis/google/api/servicecontrol/BUILD.bazel +++ b/third_party/googleapis/google/api/servicecontrol/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-service_control", "ruby-cloud-env-prefix=SERVICE_CONTROL", - "ruby-cloud-wrapper-of=v1:0.3", + "ruby-cloud-wrapper-of=v1:0.9", "ruby-cloud-product-url=https://cloud.google.com/service-infrastructure/docs/overview/", "ruby-cloud-api-id=servicecontrol.googleapis.com", "ruby-cloud-api-shortname=servicecontrol", ], ruby_cloud_description = "The Service Control API provides control plane functionality to managed services, such as logging, monitoring, and status checks.", ruby_cloud_title = "Service Control API", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/api/servicecontrol/v1/BUILD.bazel b/third_party/googleapis/google/api/servicecontrol/v1/BUILD.bazel index 87b882ed9..3ee92d47e 100644 --- a/third_party/googleapis/google/api/servicecontrol/v1/BUILD.bazel +++ b/third_party/googleapis/google/api/servicecontrol/v1/BUILD.bazel @@ -24,7 +24,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -34,7 +33,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -98,6 +96,7 @@ java_gapic_library( srcs = [":servicecontrol_proto_with_info"], grpc_service_config = "servicecontrol_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "servicecontrol.yaml", test_deps = [ ":servicecontrol_java_grpc", ], @@ -134,7 +133,7 @@ java_gapic_assembly_gradle_pkg( go_proto_library( name = "servicecontrol_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/api/servicecontrol/v1", + importpath = "cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb", protos = [":servicecontrol_proto"], deps = [ "//google/api:annotations_go_proto", @@ -148,8 +147,9 @@ go_gapic_library( name = "servicecontrol_go_gapic", srcs = [":servicecontrol_proto_with_info"], grpc_service_config = "servicecontrol_grpc_service_config.json", - importpath = "cloud.google.com/go/api/servicecontrol/apiv1;servicecontrol", + importpath = "cloud.google.com/go/servicecontrol/apiv1;servicecontrol", metadata = True, + release_level = "ga", rest_numeric_enums = True, service_yaml = "servicecontrol.yaml", transport = "grpc+rest", @@ -159,19 +159,13 @@ go_gapic_library( ], ) -go_test( - name = "servicecontrol_go_gapic_test", - srcs = [":servicecontrol_go_gapic_srcjar_test"], - embed = [":servicecontrol_go_gapic"], - importpath = "cloud.google.com/go/api/servicecontrol/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-api-servicecontrol-v1-go", deps = [ ":servicecontrol_go_gapic", ":servicecontrol_go_gapic_srcjar-metadata.srcjar", + ":servicecontrol_go_gapic_srcjar-snippets.srcjar", ":servicecontrol_go_gapic_srcjar-test.srcjar", ":servicecontrol_go_proto", ], @@ -214,21 +208,15 @@ php_proto_library( deps = [":servicecontrol_proto"], ) -php_grpc_library( - name = "servicecontrol_php_grpc", - srcs = [":servicecontrol_proto"], - deps = [":servicecontrol_php_proto"], -) - php_gapic_library( name = "servicecontrol_php_gapic", srcs = [":servicecontrol_proto_with_info"], grpc_service_config = "servicecontrol_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "servicecontrol.yaml", transport = "grpc+rest", deps = [ - ":servicecontrol_php_grpc", ":servicecontrol_php_proto", ], ) @@ -238,7 +226,6 @@ php_gapic_assembly_pkg( name = "google-cloud-api-servicecontrol-v1-php", deps = [ ":servicecontrol_php_gapic", - ":servicecontrol_php_grpc", ":servicecontrol_php_proto", ], ) @@ -292,6 +279,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "The Service Control API provides control plane functionality to managed services, such as logging, monitoring, and status checks.", ruby_cloud_title = "Service Control API V1", service_yaml = "servicecontrol.yaml", + transport = "grpc+rest", deps = [ ":servicecontrol_ruby_grpc", ":servicecontrol_ruby_proto", diff --git a/third_party/googleapis/google/api/servicecontrol/v1/check_error.proto b/third_party/googleapis/google/api/servicecontrol/v1/check_error.proto index 4f63471a2..5c97e910c 100644 --- a/third_party/googleapis/google/api/servicecontrol/v1/check_error.proto +++ b/third_party/googleapis/google/api/servicecontrol/v1/check_error.proto @@ -20,7 +20,7 @@ import "google/rpc/status.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.ServiceControl.V1"; -option go_package = "google.golang.org/genproto/googleapis/api/servicecontrol/v1;servicecontrol"; +option go_package = "cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb;servicecontrolpb"; option java_multiple_files = true; option java_outer_classname = "CheckErrorProto"; option java_package = "com.google.api.servicecontrol.v1"; diff --git a/third_party/googleapis/google/api/servicecontrol/v1/distribution.proto b/third_party/googleapis/google/api/servicecontrol/v1/distribution.proto index e874e44aa..17c92e91a 100644 --- a/third_party/googleapis/google/api/servicecontrol/v1/distribution.proto +++ b/third_party/googleapis/google/api/servicecontrol/v1/distribution.proto @@ -20,7 +20,7 @@ import "google/api/distribution.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.ServiceControl.V1"; -option go_package = "google.golang.org/genproto/googleapis/api/servicecontrol/v1;servicecontrol"; +option go_package = "cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb;servicecontrolpb"; option java_multiple_files = true; option java_outer_classname = "DistributionProto"; option java_package = "com.google.api.servicecontrol.v1"; diff --git a/third_party/googleapis/google/api/servicecontrol/v1/http_request.proto b/third_party/googleapis/google/api/servicecontrol/v1/http_request.proto index 1587203e6..9d51a04c1 100644 --- a/third_party/googleapis/google/api/servicecontrol/v1/http_request.proto +++ b/third_party/googleapis/google/api/servicecontrol/v1/http_request.proto @@ -19,7 +19,7 @@ package google.api.servicecontrol.v1; import "google/protobuf/duration.proto"; option csharp_namespace = "Google.Cloud.ServiceControl.V1"; -option go_package = "google.golang.org/genproto/googleapis/api/servicecontrol/v1;servicecontrol"; +option go_package = "cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb;servicecontrolpb"; option java_multiple_files = true; option java_outer_classname = "HttpRequestProto"; option java_package = "com.google.api.servicecontrol.v1"; diff --git a/third_party/googleapis/google/api/servicecontrol/v1/log_entry.proto b/third_party/googleapis/google/api/servicecontrol/v1/log_entry.proto index 4f20aef0b..410b2ae66 100644 --- a/third_party/googleapis/google/api/servicecontrol/v1/log_entry.proto +++ b/third_party/googleapis/google/api/servicecontrol/v1/log_entry.proto @@ -23,7 +23,7 @@ import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.ServiceControl.V1"; -option go_package = "google.golang.org/genproto/googleapis/api/servicecontrol/v1;servicecontrol"; +option go_package = "cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb;servicecontrolpb"; option java_multiple_files = true; option java_outer_classname = "LogEntryProto"; option java_package = "com.google.api.servicecontrol.v1"; diff --git a/third_party/googleapis/google/api/servicecontrol/v1/metric_value.proto b/third_party/googleapis/google/api/servicecontrol/v1/metric_value.proto index c0e2a42d6..c84f47c6a 100644 --- a/third_party/googleapis/google/api/servicecontrol/v1/metric_value.proto +++ b/third_party/googleapis/google/api/servicecontrol/v1/metric_value.proto @@ -21,7 +21,7 @@ import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.ServiceControl.V1"; -option go_package = "google.golang.org/genproto/googleapis/api/servicecontrol/v1;servicecontrol"; +option go_package = "cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb;servicecontrolpb"; option java_multiple_files = true; option java_outer_classname = "MetricValueSetProto"; option java_package = "com.google.api.servicecontrol.v1"; diff --git a/third_party/googleapis/google/api/servicecontrol/v1/operation.proto b/third_party/googleapis/google/api/servicecontrol/v1/operation.proto index 7ce6cd43a..e477a48a7 100644 --- a/third_party/googleapis/google/api/servicecontrol/v1/operation.proto +++ b/third_party/googleapis/google/api/servicecontrol/v1/operation.proto @@ -23,7 +23,7 @@ import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.ServiceControl.V1"; -option go_package = "google.golang.org/genproto/googleapis/api/servicecontrol/v1;servicecontrol"; +option go_package = "cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb;servicecontrolpb"; option java_multiple_files = true; option java_outer_classname = "OperationProto"; option java_package = "com.google.api.servicecontrol.v1"; diff --git a/third_party/googleapis/google/api/servicecontrol/v1/quota_controller.proto b/third_party/googleapis/google/api/servicecontrol/v1/quota_controller.proto index 58b13ee62..b4b1198f4 100644 --- a/third_party/googleapis/google/api/servicecontrol/v1/quota_controller.proto +++ b/third_party/googleapis/google/api/servicecontrol/v1/quota_controller.proto @@ -23,7 +23,7 @@ import "google/api/client.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.ServiceControl.V1"; -option go_package = "google.golang.org/genproto/googleapis/api/servicecontrol/v1;servicecontrol"; +option go_package = "cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb;servicecontrolpb"; option java_multiple_files = true; option java_outer_classname = "QuotaControllerProto"; option java_package = "com.google.api.servicecontrol.v1"; diff --git a/third_party/googleapis/google/api/servicecontrol/v1/service_controller.proto b/third_party/googleapis/google/api/servicecontrol/v1/service_controller.proto index 8f658c4fa..c0c758ed9 100644 --- a/third_party/googleapis/google/api/servicecontrol/v1/service_controller.proto +++ b/third_party/googleapis/google/api/servicecontrol/v1/service_controller.proto @@ -24,7 +24,7 @@ import "google/rpc/status.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.ServiceControl.V1"; -option go_package = "google.golang.org/genproto/googleapis/api/servicecontrol/v1;servicecontrol"; +option go_package = "cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb;servicecontrolpb"; option java_multiple_files = true; option java_outer_classname = "ServiceControllerProto"; option java_package = "com.google.api.servicecontrol.v1"; diff --git a/third_party/googleapis/google/api/servicecontrol/v2/BUILD.bazel b/third_party/googleapis/google/api/servicecontrol/v2/BUILD.bazel index 14340ebea..432b06080 100644 --- a/third_party/googleapis/google/api/servicecontrol/v2/BUILD.bazel +++ b/third_party/googleapis/google/api/servicecontrol/v2/BUILD.bazel @@ -24,7 +24,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -34,7 +33,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -147,19 +145,13 @@ go_gapic_library( ], ) -go_test( - name = "servicecontrol_go_gapic_test", - srcs = [":servicecontrol_go_gapic_srcjar_test"], - embed = [":servicecontrol_go_gapic"], - importpath = "cloud.google.com/go/api/servicecontrol/apiv2", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-api-servicecontrol-v2-go", deps = [ ":servicecontrol_go_gapic", ":servicecontrol_go_gapic_srcjar-metadata.srcjar", + ":servicecontrol_go_gapic_srcjar-snippets.srcjar", ":servicecontrol_go_gapic_srcjar-test.srcjar", ":servicecontrol_go_proto", ], @@ -202,12 +194,6 @@ php_proto_library( deps = [":servicecontrol_proto"], ) -php_grpc_library( - name = "servicecontrol_php_grpc", - srcs = [":servicecontrol_proto"], - deps = [":servicecontrol_php_proto"], -) - php_gapic_library( name = "servicecontrol_php_gapic", srcs = [":servicecontrol_proto_with_info"], @@ -215,10 +201,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "servicecontrol.yaml", transport = "grpc+rest", - deps = [ - ":servicecontrol_php_grpc", - ":servicecontrol_php_proto", - ], + deps = [":servicecontrol_php_proto"], ) # Open Source Packages @@ -226,7 +209,6 @@ php_gapic_assembly_pkg( name = "google-cloud-api-servicecontrol-v2-php", deps = [ ":servicecontrol_php_gapic", - ":servicecontrol_php_grpc", ":servicecontrol_php_proto", ], ) @@ -278,6 +260,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "The Service Control API provides control plane functionality to managed services, such as logging, monitoring, and status checks.", ruby_cloud_title = "Service Control API V2", service_yaml = "servicecontrol.yaml", + transport = "grpc+rest", deps = [ ":servicecontrol_ruby_grpc", ":servicecontrol_ruby_proto", diff --git a/third_party/googleapis/google/api/servicecontrol/v2/service_controller.proto b/third_party/googleapis/google/api/servicecontrol/v2/service_controller.proto index 2e2112ef3..ff226a021 100644 --- a/third_party/googleapis/google/api/servicecontrol/v2/service_controller.proto +++ b/third_party/googleapis/google/api/servicecontrol/v2/service_controller.proto @@ -188,3 +188,9 @@ message ReportRequest { // Response message for the Report method. // If the request contains any invalid data, the server returns an RPC error. message ReportResponse {} + +// Message containing resource details in a batch mode. +message ResourceInfoList { + // The resource details. + repeated ResourceInfo resources = 1; +} diff --git a/third_party/googleapis/google/api/servicemanagement/BUILD.bazel b/third_party/googleapis/google/api/servicemanagement/BUILD.bazel index 906c4c821..41c121b1d 100644 --- a/third_party/googleapis/google/api/servicemanagement/BUILD.bazel +++ b/third_party/googleapis/google/api/servicemanagement/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-service_management", "ruby-cloud-env-prefix=SERVICE_MANAGEMENT", - "ruby-cloud-wrapper-of=v1:0.3", + "ruby-cloud-wrapper-of=v1:0.10", "ruby-cloud-product-url=https://cloud.google.com/service-infrastructure/docs/overview/", "ruby-cloud-api-id=servicemanagement.googleapis.com", "ruby-cloud-api-shortname=servicemanagement", ], ruby_cloud_description = "Google Service Management allows service producers to publish their services on Google Cloud Platform so that they can be discovered and used by service consumers.", ruby_cloud_title = "Service Management", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/api/servicemanagement/v1/BUILD.bazel b/third_party/googleapis/google/api/servicemanagement/v1/BUILD.bazel index 4c1122287..f6315e86b 100644 --- a/third_party/googleapis/google/api/servicemanagement/v1/BUILD.bazel +++ b/third_party/googleapis/google/api/servicemanagement/v1/BUILD.bazel @@ -9,45 +9,14 @@ # * 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"]) + ############################################################################## # Common ############################################################################## load("@rules_proto//proto:defs.bzl", "proto_library") -load( - "@com_google_googleapis_imports//:imports.bzl", - "cc_grpc_library", - "cc_proto_library", - "csharp_gapic_assembly_pkg", - "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", - "go_gapic_assembly_pkg", - "go_gapic_library", - "go_proto_library", - "go_test", - "java_gapic_assembly_gradle_pkg", - "java_gapic_library", - "java_gapic_test", - "java_grpc_library", - "java_proto_library", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", - "php_gapic_assembly_pkg", - "php_gapic_library", - "php_grpc_library", - "php_proto_library", - "proto_library_with_info", - "py_gapic_assembly_pkg", - "py_gapic_library", - "py_test", - "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) +load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") proto_library( name = "servicemanagement_proto", @@ -73,9 +42,22 @@ proto_library_with_info( deps = [ ":servicemanagement_proto", "//google/cloud:common_resources_proto", + "//google/iam/v1:iam_policy_proto", ], ) +############################################################################## +# Java +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "java_gapic_assembly_gradle_pkg", + "java_gapic_library", + "java_gapic_test", + "java_grpc_library", + "java_proto_library", +) + java_proto_library( name = "servicemanagement_java_proto", deps = [":servicemanagement_proto"], @@ -95,19 +77,23 @@ java_gapic_library( rest_numeric_enums = True, service_yaml = "servicemanagement_v1.yaml", test_deps = [ + "//google/iam/v1:iam_java_grpc", ":servicemanagement_java_grpc", ], transport = "grpc+rest", deps = [ ":servicemanagement_java_proto", "//google/api:api_java_proto", + "//google/iam/v1:iam_java_proto", ], ) java_gapic_test( name = "servicemanagement_java_gapic_test_suite", test_classes = [ - "com.google.cloud.api.servicemanagement.v1.ServiceManagerClientHttpJsonTest", + # This test is temporarily disabled due to the issue: + # https://github.com/googleapis/sdk-platform-java/issues/1780 + # "com.google.cloud.api.servicemanagement.v1.ServiceManagerClientHttpJsonTest", "com.google.cloud.api.servicemanagement.v1.ServiceManagerClientTest", ], runtime_deps = [":servicemanagement_java_gapic_test"], @@ -126,10 +112,20 @@ java_gapic_assembly_gradle_pkg( ], ) +############################################################################## +# Go +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "go_gapic_assembly_pkg", + "go_gapic_library", + "go_proto_library", +) + go_proto_library( name = "servicemanagement_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/api/servicemanagement/v1", + importpath = "cloud.google.com/go/servicemanagement/apiv1/servicemanagementpb", protos = [":servicemanagement_proto"], deps = [ "//google/api:annotations_go_proto", @@ -143,14 +139,16 @@ go_gapic_library( name = "servicemanagement_go_gapic", srcs = [":servicemanagement_proto_with_info"], grpc_service_config = "servicemanagement_grpc_service_config.json", - importpath = "cloud.google.com/go/api/servicemanagement/apiv1;servicemanagement", + importpath = "cloud.google.com/go/servicemanagement/apiv1;servicemanagement", metadata = True, + release_level = "ga", rest_numeric_enums = True, service_yaml = "servicemanagement_v1.yaml", transport = "grpc+rest", deps = [ ":servicemanagement_go_proto", "//google/api:serviceconfig_go_proto", + "//google/iam/v1:iam_go_proto", "//google/longrunning:longrunning_go_proto", "@com_google_cloud_go_longrunning//:go_default_library", "@com_google_cloud_go_longrunning//autogen:go_default_library", @@ -158,24 +156,28 @@ go_gapic_library( ], ) -go_test( - name = "servicemanagement_go_gapic_test", - srcs = [":servicemanagement_go_gapic_srcjar_test"], - embed = [":servicemanagement_go_gapic"], - importpath = "cloud.google.com/go/api/servicemanagement/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-api-servicemanagement-v1-go", deps = [ ":servicemanagement_go_gapic", ":servicemanagement_go_gapic_srcjar-metadata.srcjar", + ":servicemanagement_go_gapic_srcjar-snippets.srcjar", ":servicemanagement_go_gapic_srcjar-test.srcjar", ":servicemanagement_go_proto", ], ) +############################################################################## +# Python +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "py_gapic_assembly_pkg", + "py_gapic_library", + "py_test", +) + py_gapic_library( name = "servicemanagement_py_gapic", srcs = [":servicemanagement_proto"], @@ -188,6 +190,9 @@ py_gapic_library( rest_numeric_enums = True, service_yaml = "servicemanagement_v1.yaml", transport = "grpc+rest", + deps = [ + "//google/iam/v1:iam_policy_py_proto", + ], ) py_test( @@ -208,26 +213,30 @@ py_gapic_assembly_pkg( ], ) +############################################################################## +# PHP +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "php_gapic_assembly_pkg", + "php_gapic_library", + "php_proto_library", +) + php_proto_library( name = "servicemanagement_php_proto", deps = [":servicemanagement_proto"], ) -php_grpc_library( - name = "servicemanagement_php_grpc", - srcs = [":servicemanagement_proto"], - deps = [":servicemanagement_php_proto"], -) - php_gapic_library( name = "servicemanagement_php_gapic", srcs = [":servicemanagement_proto_with_info"], grpc_service_config = "servicemanagement_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "servicemanagement_v1.yaml", transport = "grpc+rest", deps = [ - ":servicemanagement_php_grpc", ":servicemanagement_php_proto", ], ) @@ -237,11 +246,19 @@ php_gapic_assembly_pkg( name = "google-cloud-api-servicemanagement-v1-php", deps = [ ":servicemanagement_php_gapic", - ":servicemanagement_php_grpc", ":servicemanagement_php_proto", ], ) +############################################################################## +# Node.js +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "nodejs_gapic_assembly_pkg", + "nodejs_gapic_library", +) + nodejs_gapic_library( name = "servicemanagement_nodejs_gapic", package_name = "@google-cloud/service-management", @@ -263,6 +280,17 @@ nodejs_gapic_assembly_pkg( ], ) +############################################################################## +# Ruby +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "ruby_cloud_gapic_library", + "ruby_gapic_assembly_pkg", + "ruby_grpc_library", + "ruby_proto_library", +) + ruby_proto_library( name = "servicemanagement_ruby_proto", deps = [":servicemanagement_proto"], @@ -289,6 +317,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Google Service Management allows service producers to publish their services on Google Cloud Platform so that they can be discovered and used by service consumers.", ruby_cloud_title = "Service Management V1", service_yaml = "servicemanagement_v1.yaml", + transport = "grpc+rest", deps = [ ":servicemanagement_ruby_grpc", ":servicemanagement_ruby_proto", @@ -305,8 +334,20 @@ ruby_gapic_assembly_pkg( ], ) +############################################################################## +# C# +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "csharp_gapic_assembly_pkg", + "csharp_gapic_library", + "csharp_grpc_library", + "csharp_proto_library", +) + csharp_proto_library( name = "servicemanagement_csharp_proto", + extra_opts = [], deps = [":servicemanagement_proto"], ) @@ -340,6 +381,15 @@ csharp_gapic_assembly_pkg( ], ) +############################################################################## +# C++ +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "cc_grpc_library", + "cc_proto_library", +) + cc_proto_library( name = "servicemanagement_cc_proto", deps = [":servicemanagement_proto"], diff --git a/third_party/googleapis/google/api/servicemanagement/v1/resources.proto b/third_party/googleapis/google/api/servicemanagement/v1/resources.proto index 57ffd770b..fd984dd1e 100644 --- a/third_party/googleapis/google/api/servicemanagement/v1/resources.proto +++ b/third_party/googleapis/google/api/servicemanagement/v1/resources.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,7 +21,7 @@ import "google/api/field_behavior.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.ServiceManagement.V1"; -option go_package = "google.golang.org/genproto/googleapis/api/servicemanagement/v1;servicemanagement"; +option go_package = "cloud.google.com/go/servicemanagement/apiv1/servicemanagementpb;servicemanagementpb"; option java_multiple_files = true; option java_outer_classname = "ResourcesProto"; option java_package = "com.google.api.servicemanagement.v1"; diff --git a/third_party/googleapis/google/api/servicemanagement/v1/servicemanagement_v1.yaml b/third_party/googleapis/google/api/servicemanagement/v1/servicemanagement_v1.yaml index 78a96a91f..0ef9494b7 100644 --- a/third_party/googleapis/google/api/servicemanagement/v1/servicemanagement_v1.yaml +++ b/third_party/googleapis/google/api/servicemanagement/v1/servicemanagement_v1.yaml @@ -5,10 +5,13 @@ title: Service Management API apis: - name: google.api.servicemanagement.v1.ServiceManager +- name: google.iam.v1.IAMPolicy +- name: google.longrunning.Operations types: - name: google.api.servicemanagement.v1.ConfigRef - name: google.api.servicemanagement.v1.ConfigSource +- name: google.api.servicemanagement.v1.EnableServiceResponse - name: google.api.servicemanagement.v1.OperationMetadata - name: google.api.servicemanagement.v1.Rollout - name: google.api.servicemanagement.v1.SubmitConfigSourceResponse @@ -158,17 +161,6 @@ documentation: - selector: google.longrunning.Operations.ListOperations description: Lists service operations that match the specified filter in the request. -backend: - rules: - - selector: 'google.api.servicemanagement.v1.ServiceManager.*' - deadline: 10.0 - - selector: google.api.servicemanagement.v1.ServiceManager.CreateServiceConfig - deadline: 20.0 - - selector: 'google.iam.v1.IAMPolicy.*' - deadline: 10.0 - - selector: 'google.longrunning.Operations.*' - deadline: 10.0 - http: rules: - selector: google.iam.v1.IAMPolicy.GetIamPolicy diff --git a/third_party/googleapis/google/api/servicemanagement/v1/servicemanager.proto b/third_party/googleapis/google/api/servicemanagement/v1/servicemanager.proto index c863cd419..0aa966c59 100644 --- a/third_party/googleapis/google/api/servicemanagement/v1/servicemanager.proto +++ b/third_party/googleapis/google/api/servicemanagement/v1/servicemanager.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -23,9 +23,10 @@ import "google/api/service.proto"; import "google/api/servicemanagement/v1/resources.proto"; import "google/longrunning/operations.proto"; import "google/protobuf/any.proto"; +import "google/protobuf/empty.proto"; option csharp_namespace = "Google.Cloud.ServiceManagement.V1"; -option go_package = "google.golang.org/genproto/googleapis/api/servicemanagement/v1;servicemanagement"; +option go_package = "cloud.google.com/go/servicemanagement/apiv1/servicemanagementpb;servicemanagementpb"; option java_multiple_files = true; option java_outer_classname = "ServiceManagerProto"; option java_package = "com.google.api.servicemanagement.v1"; @@ -263,7 +264,7 @@ message ListServicesRequest { string producer_project_id = 1; // The max number of items to include in the response list. Page size is 50 - // if not specified. Maximum value is 100. + // if not specified. Maximum value is 500. int32 page_size = 5; // Token identifying which result to start with; returned by a previous list @@ -303,16 +304,16 @@ message CreateServiceRequest { // Request message for DeleteService method. message DeleteServiceRequest { // Required. The name of the service. See the - // [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For - // example: `example.googleapis.com`. + // [overview](https://cloud.google.com/service-management/overview) for naming + // requirements. For example: `example.googleapis.com`. string service_name = 1 [(google.api.field_behavior) = REQUIRED]; } // Request message for UndeleteService method. message UndeleteServiceRequest { // Required. The name of the service. See the - // [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For - // example: `example.googleapis.com`. + // [overview](https://cloud.google.com/service-management/overview) for naming + // requirements. For example: `example.googleapis.com`. string service_name = 1 [(google.api.field_behavior) = REQUIRED]; } @@ -336,8 +337,8 @@ message GetServiceConfigRequest { } // Required. The name of the service. See the - // [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For - // example: `example.googleapis.com`. + // [overview](https://cloud.google.com/service-management/overview) for naming + // requirements. For example: `example.googleapis.com`. string service_name = 1 [(google.api.field_behavior) = REQUIRED]; // Required. The id of the service configuration resource. @@ -354,8 +355,8 @@ message GetServiceConfigRequest { // Request message for ListServiceConfigs method. message ListServiceConfigsRequest { // Required. The name of the service. See the - // [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For - // example: `example.googleapis.com`. + // [overview](https://cloud.google.com/service-management/overview) for naming + // requirements. For example: `example.googleapis.com`. string service_name = 1 [(google.api.field_behavior) = REQUIRED]; // The token of the page to retrieve. @@ -378,8 +379,8 @@ message ListServiceConfigsResponse { // Request message for CreateServiceConfig method. message CreateServiceConfigRequest { // Required. The name of the service. See the - // [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For - // example: `example.googleapis.com`. + // [overview](https://cloud.google.com/service-management/overview) for naming + // requirements. For example: `example.googleapis.com`. string service_name = 1 [(google.api.field_behavior) = REQUIRED]; // Required. The service configuration resource. @@ -390,8 +391,8 @@ message CreateServiceConfigRequest { // Request message for SubmitConfigSource method. message SubmitConfigSourceRequest { // Required. The name of the service. See the - // [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For - // example: `example.googleapis.com`. + // [overview](https://cloud.google.com/service-management/overview) for naming + // requirements. For example: `example.googleapis.com`. string service_name = 1 [(google.api.field_behavior) = REQUIRED]; // Required. The source configuration for the service. @@ -409,11 +410,12 @@ message SubmitConfigSourceResponse { google.api.Service service_config = 1; } +// // Request message for 'CreateServiceRollout' message CreateServiceRolloutRequest { // Required. The name of the service. See the - // [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For - // example: `example.googleapis.com`. + // [overview](https://cloud.google.com/service-management/overview) for naming + // requirements. For example: `example.googleapis.com`. string service_name = 1 [(google.api.field_behavior) = REQUIRED]; // Required. The rollout resource. The `service_name` field is output only. @@ -423,8 +425,8 @@ message CreateServiceRolloutRequest { // Request message for 'ListServiceRollouts' message ListServiceRolloutsRequest { // Required. The name of the service. See the - // [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For - // example: `example.googleapis.com`. + // [overview](https://cloud.google.com/service-management/overview) for naming + // requirements. For example: `example.googleapis.com`. string service_name = 1 [(google.api.field_behavior) = REQUIRED]; // The token of the page to retrieve. @@ -436,12 +438,14 @@ message ListServiceRolloutsRequest { // Required. Use `filter` to return subset of rollouts. // The following filters are supported: - // -- To limit the results to only those in - // status (google.api.servicemanagement.v1.RolloutStatus) 'SUCCESS', - // use filter='status=SUCCESS' - // -- To limit the results to those in - // status (google.api.servicemanagement.v1.RolloutStatus) 'CANCELLED' - // or 'FAILED', use filter='status=CANCELLED OR status=FAILED' + // + // -- By [status] + // [google.api.servicemanagement.v1.Rollout.RolloutStatus]. For example, + // `filter='status=SUCCESS'` + // + // -- By [strategy] + // [google.api.servicemanagement.v1.Rollout.strategy]. For example, + // `filter='strategy=TrafficPercentStrategy'` string filter = 4 [(google.api.field_behavior) = REQUIRED]; } @@ -457,14 +461,17 @@ message ListServiceRolloutsResponse { // Request message for GetServiceRollout method. message GetServiceRolloutRequest { // Required. The name of the service. See the - // [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For - // example: `example.googleapis.com`. + // [overview](https://cloud.google.com/service-management/overview) for naming + // requirements. For example: `example.googleapis.com`. string service_name = 1 [(google.api.field_behavior) = REQUIRED]; // Required. The id of the rollout resource. string rollout_id = 2 [(google.api.field_behavior) = REQUIRED]; } +// Operation payload for EnableService method. +message EnableServiceResponse {} + // Request message for GenerateConfigReport method. message GenerateConfigReportRequest { // Required. Service configuration for which we want to generate the report. diff --git a/third_party/googleapis/google/api/serviceusage/BUILD.bazel b/third_party/googleapis/google/api/serviceusage/BUILD.bazel index 011cfc2b8..a830b4acf 100644 --- a/third_party/googleapis/google/api/serviceusage/BUILD.bazel +++ b/third_party/googleapis/google/api/serviceusage/BUILD.bazel @@ -22,7 +22,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-service_usage", "ruby-cloud-env-prefix=SERVICE_USAGE", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.6", "ruby-cloud-product-url=https://cloud.google.com/service-usage/", "ruby-cloud-api-id=serviceusage.googleapis.com", "ruby-cloud-api-shortname=serviceusage", diff --git a/third_party/googleapis/google/api/serviceusage/v1/BUILD.bazel b/third_party/googleapis/google/api/serviceusage/v1/BUILD.bazel index 5e4cafcde..7d98f4858 100644 --- a/third_party/googleapis/google/api/serviceusage/v1/BUILD.bazel +++ b/third_party/googleapis/google/api/serviceusage/v1/BUILD.bazel @@ -9,41 +9,14 @@ # * 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"]) + ############################################################################## # Common ############################################################################## load("@rules_proto//proto:defs.bzl", "proto_library") -load( - "@com_google_googleapis_imports//:imports.bzl", - "cc_grpc_library", - "cc_proto_library", - "csharp_gapic_assembly_pkg", - "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", - "java_gapic_assembly_gradle_pkg", - "java_gapic_library", - "java_gapic_test", - "java_grpc_library", - "java_proto_library", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", - "php_gapic_assembly_pkg", - "php_gapic_library", - "php_grpc_library", - "php_proto_library", - "proto_library_with_info", - "py_gapic_assembly_pkg", - "py_gapic_library", - "py_test", - "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) +load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") proto_library( name = "serviceusage_proto", @@ -60,6 +33,7 @@ proto_library( "//google/api:monitored_resource_proto", "//google/api:monitoring_proto", "//google/api:quota_proto", + "//google/api:resource_proto", "//google/api:usage_proto", "//google/longrunning:operations_proto", "@com_google_protobuf//:api_proto", @@ -74,6 +48,18 @@ proto_library_with_info( ], ) +############################################################################## +# Java +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "java_gapic_assembly_gradle_pkg", + "java_gapic_library", + "java_gapic_test", + "java_grpc_library", + "java_proto_library", +) + java_proto_library( name = "serviceusage_java_proto", deps = [":serviceusage_proto"], @@ -88,14 +74,17 @@ java_grpc_library( java_gapic_library( name = "serviceusage_java_gapic", srcs = [":serviceusage_proto_with_info"], + gapic_yaml = None, grpc_service_config = "serviceusage_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "serviceusage_v1.yaml", test_deps = [ ":serviceusage_java_grpc", ], transport = "grpc+rest", deps = [ ":serviceusage_java_proto", + "//google/api:api_java_proto", ], ) @@ -124,77 +113,81 @@ java_gapic_assembly_gradle_pkg( ############################################################################## # Go ############################################################################## -# load( -# "@com_google_googleapis_imports//:imports.bzl", -# "go_gapic_assembly_pkg", -# "go_gapic_library", -# "go_proto_library", -# "go_test", -# ) - -# go_proto_library( -# name = "serviceusage_go_proto", -# compilers = ["@io_bazel_rules_go//proto:go_grpc"], -# importpath = "google.golang.org/genproto/googleapis/api/serviceusage/v1", -# protos = [":serviceusage_proto"], -# deps = [ -# "//google/api:annotations_go_proto", -# "//google/api:auth_go_proto", -# "//google/api:documentation_go_proto", -# "//google/api:endpoint_go_proto", -# "//google/api:monitoredres_go_proto", -# "//google/api:monitoring_go_proto", -# "//google/api:serviceconfig_go_proto", -# "//google/api:usage_go_proto", -# "//google/longrunning:longrunning_go_proto", -# ], -# ) - -# go_gapic_library( -# name = "serviceusage_go_gapic", -# srcs = [":serviceusage_proto_with_info"], -# grpc_service_config = "serviceusage_grpc_service_config.json", -# importpath = "cloud.google.com/go/api/serviceusage/apiv1;serviceusage", -# service_yaml = "serviceusage_v1.yaml", -# metadata = True, -# deps = [ -# ":serviceusage_go_proto", -# "//google/longrunning:longrunning_go_proto", -# "@com_google_cloud_go_longrunning//autogen:go_default_library", -# "@com_google_cloud_go_longrunning//:go_default_library", -# ], -# ) - -# go_test( -# name = "serviceusage_go_gapic_test", -# srcs = [":serviceusage_go_gapic_srcjar_test"], -# embed = [":serviceusage_go_gapic"], -# importpath = "cloud.google.com/go/api/serviceusage/apiv1", -# ) - -# # Open Source Packages -# go_gapic_assembly_pkg( -# name = "gapi-cloud-api-serviceusage-v1-go", -# deps = [ -# ":serviceusage_go_gapic", -# ":serviceusage_go_gapic_srcjar-test.srcjar", -# ":serviceusage_go_gapic_srcjar-metadata.srcjar", -# ":serviceusage_go_proto", -# ], -# ) +load( + "@com_google_googleapis_imports//:imports.bzl", + "go_gapic_assembly_pkg", + "go_gapic_library", + "go_proto_library", +) + +go_proto_library( + name = "serviceusage_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], + importpath = "cloud.google.com/go/serviceusage/apiv1/serviceusagepb", + protos = [":serviceusage_proto"], + deps = [ + "//google/api:annotations_go_proto", + "//google/api:monitoredres_go_proto", + "//google/api:serviceconfig_go_proto", + "//google/longrunning:longrunning_go_proto", + ], +) + +go_gapic_library( + name = "serviceusage_go_gapic", + srcs = [":serviceusage_proto_with_info"], + grpc_service_config = "serviceusage_grpc_service_config.json", + importpath = "cloud.google.com/go/serviceusage/apiv1;serviceusage", + metadata = True, + release_level = "ga", + rest_numeric_enums = False, + service_yaml = "serviceusage_v1.yaml", + transport = "grpc+rest", + deps = [ + ":serviceusage_go_proto", + "//google/api:monitoredres_go_proto", + "//google/longrunning:longrunning_go_proto", + "@com_google_cloud_go_longrunning//:go_default_library", + "@com_google_cloud_go_longrunning//autogen:go_default_library", + ], +) + +# Open Source Packages +go_gapic_assembly_pkg( + name = "gapi-cloud-api-serviceusage-v1-go", + deps = [ + ":serviceusage_go_gapic", + ":serviceusage_go_gapic_srcjar-metadata.srcjar", + ":serviceusage_go_gapic_srcjar-snippets.srcjar", + ":serviceusage_go_gapic_srcjar-test.srcjar", + ":serviceusage_go_proto", + ], +) + +############################################################################## +# Python +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "py_gapic_assembly_pkg", + "py_gapic_library", + "py_test", +) py_gapic_library( name = "serviceusage_py_gapic", srcs = [":serviceusage_proto"], grpc_service_config = "serviceusage_grpc_service_config.json", opt_args = [ - "warehouse-package-name=google-cloud-service-usage", - "python-gapic-namespace=google.cloud", "python-gapic-name=service_usage", + "python-gapic-namespace=google.cloud", + "warehouse-package-name=google-cloud-service-usage", ], rest_numeric_enums = True, service_yaml = "serviceusage_v1.yaml", transport = "grpc+rest", + deps = [ + ], ) py_test( @@ -215,26 +208,30 @@ py_gapic_assembly_pkg( ], ) +############################################################################## +# PHP +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "php_gapic_assembly_pkg", + "php_gapic_library", + "php_proto_library", +) + php_proto_library( name = "serviceusage_php_proto", deps = [":serviceusage_proto"], ) -php_grpc_library( - name = "serviceusage_php_grpc", - srcs = [":serviceusage_proto"], - deps = [":serviceusage_php_proto"], -) - php_gapic_library( name = "serviceusage_php_gapic", srcs = [":serviceusage_proto_with_info"], grpc_service_config = "serviceusage_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "serviceusage_v1.yaml", transport = "grpc+rest", deps = [ - ":serviceusage_php_grpc", ":serviceusage_php_proto", ], ) @@ -244,11 +241,19 @@ php_gapic_assembly_pkg( name = "google-cloud-api-serviceusage-v1-php", deps = [ ":serviceusage_php_gapic", - ":serviceusage_php_grpc", ":serviceusage_php_proto", ], ) +############################################################################## +# Node.js +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "nodejs_gapic_assembly_pkg", + "nodejs_gapic_library", +) + nodejs_gapic_library( name = "serviceusage_nodejs_gapic", package_name = "@google-cloud/service-usage", @@ -270,6 +275,17 @@ nodejs_gapic_assembly_pkg( ], ) +############################################################################## +# Ruby +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "ruby_cloud_gapic_library", + "ruby_gapic_assembly_pkg", + "ruby_grpc_library", + "ruby_proto_library", +) + ruby_proto_library( name = "serviceusage_ruby_proto", deps = [":serviceusage_proto"], @@ -285,17 +301,18 @@ ruby_cloud_gapic_library( name = "serviceusage_ruby_gapic", srcs = [":serviceusage_proto_with_info"], extra_protoc_parameters = [ - "ruby-cloud-gem-name=google-cloud-service_usage-v1", - "ruby-cloud-env-prefix=SERVICE_USAGE", - "ruby-cloud-product-url=https://cloud.google.com/service-usage/", "ruby-cloud-api-id=serviceusage.googleapis.com", "ruby-cloud-api-shortname=serviceusage", + "ruby-cloud-env-prefix=SERVICE_USAGE", + "ruby-cloud-gem-name=google-cloud-service_usage-v1", + "ruby-cloud-product-url=https://cloud.google.com/service-usage/", ], grpc_service_config = "serviceusage_grpc_service_config.json", rest_numeric_enums = True, ruby_cloud_description = "Service Usage is an infrastructure service of Google Cloud that lets you list and manage other APIs and services in your Cloud projects. You can list and manage Google Cloud services and their APIs, as well as services created using Cloud Endpoints.", ruby_cloud_title = "Service Usage V1", service_yaml = "serviceusage_v1.yaml", + transport = "grpc+rest", deps = [ ":serviceusage_ruby_grpc", ":serviceusage_ruby_proto", @@ -312,8 +329,20 @@ ruby_gapic_assembly_pkg( ], ) +############################################################################## +# C# +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "csharp_gapic_assembly_pkg", + "csharp_gapic_library", + "csharp_grpc_library", + "csharp_proto_library", +) + csharp_proto_library( name = "serviceusage_csharp_proto", + extra_opts = [], deps = [":serviceusage_proto"], ) @@ -347,6 +376,15 @@ csharp_gapic_assembly_pkg( ], ) +############################################################################## +# C++ +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "cc_grpc_library", + "cc_proto_library", +) + cc_proto_library( name = "serviceusage_cc_proto", deps = [":serviceusage_proto"], diff --git a/third_party/googleapis/google/api/serviceusage/v1/resources.proto b/third_party/googleapis/google/api/serviceusage/v1/resources.proto index b78ba0f33..e7c54052e 100644 --- a/third_party/googleapis/google/api/serviceusage/v1/resources.proto +++ b/third_party/googleapis/google/api/serviceusage/v1/resources.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -22,11 +22,12 @@ import "google/api/endpoint.proto"; import "google/api/monitored_resource.proto"; import "google/api/monitoring.proto"; import "google/api/quota.proto"; +import "google/api/resource.proto"; import "google/api/usage.proto"; import "google/protobuf/api.proto"; option csharp_namespace = "Google.Cloud.ServiceUsage.V1"; -option go_package = "google.golang.org/genproto/googleapis/api/serviceusage/v1;serviceusage"; +option go_package = "cloud.google.com/go/serviceusage/apiv1/serviceusagepb;serviceusagepb"; option java_multiple_files = true; option java_outer_classname = "ResourcesProto"; option java_package = "com.google.api.serviceusage.v1"; @@ -35,6 +36,13 @@ option ruby_package = "Google::Cloud::ServiceUsage::V1"; // A service that is available for use by the consumer. message Service { + option (google.api.resource) = { + type: "serviceusage.googleapis.com/Service" + pattern: "projects/{project}/services/{service}" + pattern: "folders/{folder}/services/{service}" + pattern: "organizations/{organization}/services/{service}" + }; + // The resource name of the consumer and service. // // A valid name would be: @@ -105,7 +113,8 @@ message ServiceConfig { repeated google.api.Endpoint endpoints = 18; // Defines the monitored resources used by this service. This is required - // by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations. + // by the [Service.monitoring][google.api.Service.monitoring] and + // [Service.logging][google.api.Service.logging] configurations. repeated google.api.MonitoredResourceDescriptor monitored_resources = 25; // Monitoring configuration. diff --git a/third_party/googleapis/google/api/serviceusage/v1/serviceusage.proto b/third_party/googleapis/google/api/serviceusage/v1/serviceusage.proto index 41c5e2d4c..d6a079ef1 100644 --- a/third_party/googleapis/google/api/serviceusage/v1/serviceusage.proto +++ b/third_party/googleapis/google/api/serviceusage/v1/serviceusage.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,12 +17,12 @@ syntax = "proto3"; package google.api.serviceusage.v1; import "google/api/annotations.proto"; +import "google/api/client.proto"; import "google/api/serviceusage/v1/resources.proto"; import "google/longrunning/operations.proto"; -import "google/api/client.proto"; option csharp_namespace = "Google.Cloud.ServiceUsage.V1"; -option go_package = "google.golang.org/genproto/googleapis/api/serviceusage/v1;serviceusage"; +option go_package = "cloud.google.com/go/serviceusage/apiv1/serviceusagepb;serviceusagepb"; option java_multiple_files = true; option java_outer_classname = "ServiceUsageProto"; option java_package = "com.google.api.serviceusage.v1"; @@ -42,7 +42,8 @@ service ServiceUsage { "https://www.googleapis.com/auth/service.management"; // Enable a service so that it can be used with a project. - rpc EnableService(EnableServiceRequest) returns (google.longrunning.Operation) { + rpc EnableService(EnableServiceRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{name=*/*/services/*}:enable" body: "*" @@ -60,7 +61,8 @@ service ServiceUsage { // It is not valid to call the disable method on a service that is not // currently enabled. Callers will receive a `FAILED_PRECONDITION` status if // the target service is not currently enabled. - rpc DisableService(DisableServiceRequest) returns (google.longrunning.Operation) { + rpc DisableService(DisableServiceRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{name=*/*/services/*}:disable" body: "*" @@ -100,7 +102,8 @@ service ServiceUsage { // Enable multiple services on a project. The operation is atomic: if enabling // any service fails, then the entire batch fails, and no state changes occur. // To enable a single service, use the `EnableService` method instead. - rpc BatchEnableServices(BatchEnableServicesRequest) returns (google.longrunning.Operation) { + rpc BatchEnableServices(BatchEnableServicesRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=*/*}/services:batchEnable" body: "*" @@ -113,7 +116,8 @@ service ServiceUsage { // Returns the service configurations and enabled states for a given list of // services. - rpc BatchGetServices(BatchGetServicesRequest) returns (BatchGetServicesResponse) { + rpc BatchGetServices(BatchGetServicesRequest) + returns (BatchGetServicesResponse) { option (google.api.http) = { get: "/v1/{parent=*/*}/services:batchGet" }; diff --git a/third_party/googleapis/google/api/serviceusage/v1/serviceusage_v1.yaml b/third_party/googleapis/google/api/serviceusage/v1/serviceusage_v1.yaml index 28a463513..10fd14b9b 100644 --- a/third_party/googleapis/google/api/serviceusage/v1/serviceusage_v1.yaml +++ b/third_party/googleapis/google/api/serviceusage/v1/serviceusage_v1.yaml @@ -5,6 +5,7 @@ title: Service Usage API apis: - name: google.api.serviceusage.v1.ServiceUsage +- name: google.longrunning.Operations types: - name: google.api.serviceusage.v1.BatchEnableServicesResponse diff --git a/third_party/googleapis/google/api/serviceusage/v1beta1/BUILD.bazel b/third_party/googleapis/google/api/serviceusage/v1beta1/BUILD.bazel index 51ba70271..b96020633 100644 --- a/third_party/googleapis/google/api/serviceusage/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/api/serviceusage/v1beta1/BUILD.bazel @@ -9,42 +9,14 @@ # * 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"]) + ############################################################################## # Common ############################################################################## load("@rules_proto//proto:defs.bzl", "proto_library") -load( - "@com_google_googleapis_imports//:imports.bzl", - "csharp_gapic_assembly_pkg", - "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", - "go_gapic_assembly_pkg", - "go_gapic_library", - "go_proto_library", - "go_test", - "java_gapic_assembly_gradle_pkg", - "java_gapic_library", - "java_gapic_test", - "java_grpc_library", - "java_proto_library", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", - "php_gapic_assembly_pkg", - "php_gapic_library", - "php_grpc_library", - "php_proto_library", - "proto_library_with_info", - "py_gapic_assembly_pkg", - "py_gapic_library", - "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) +load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") proto_library( name = "serviceusage_proto", @@ -78,6 +50,18 @@ proto_library_with_info( ], ) +############################################################################## +# Java +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "java_gapic_assembly_gradle_pkg", + "java_gapic_library", + "java_gapic_test", + "java_grpc_library", + "java_proto_library", +) + java_proto_library( name = "serviceusage_java_proto", deps = [":serviceusage_proto"], @@ -92,14 +76,17 @@ java_grpc_library( java_gapic_library( name = "serviceusage_java_gapic", srcs = [":serviceusage_proto_with_info"], + gapic_yaml = None, grpc_service_config = "serviceusage_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "serviceusage_v1beta1.yaml", test_deps = [ ":serviceusage_java_grpc", ], transport = "grpc+rest", deps = [ ":serviceusage_java_proto", + "//google/api:api_java_proto", ], ) @@ -125,6 +112,16 @@ java_gapic_assembly_gradle_pkg( ], ) +############################################################################## +# Go +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "go_gapic_assembly_pkg", + "go_gapic_library", + "go_proto_library", +) + go_proto_library( name = "serviceusage_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], @@ -144,54 +141,66 @@ go_gapic_library( grpc_service_config = "serviceusage_grpc_service_config.json", importpath = "cloud.google.com/go/api/serviceusage/apiv1beta1;serviceusage", metadata = True, + release_level = "beta", rest_numeric_enums = True, service_yaml = "serviceusage_v1beta1.yaml", transport = "grpc+rest", deps = [ ":serviceusage_go_proto", + "//google/api:monitoredres_go_proto", "//google/longrunning:longrunning_go_proto", "@com_google_cloud_go_longrunning//:go_default_library", "@com_google_cloud_go_longrunning//autogen:go_default_library", ], ) -go_test( - name = "serviceusage_go_gapic_test", - srcs = [":serviceusage_go_gapic_srcjar_test"], - embed = [":serviceusage_go_gapic"], - importpath = "cloud.google.com/go/api/serviceusage/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-api-serviceusage-v1beta1-go", deps = [ ":serviceusage_go_gapic", ":serviceusage_go_gapic_srcjar-metadata.srcjar", + ":serviceusage_go_gapic_srcjar-snippets.srcjar", ":serviceusage_go_gapic_srcjar-test.srcjar", ":serviceusage_go_proto", ], ) +############################################################################## +# Python +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "py_gapic_assembly_pkg", + "py_gapic_library", + "py_test", +) + py_gapic_library( name = "serviceusage_py_gapic", srcs = [":serviceusage_proto"], grpc_service_config = "serviceusage_grpc_service_config.json", + opt_args = [ + "python-gapic-name=service_usage", + "python-gapic-namespace=google.cloud", + "warehouse-package-name=google-cloud-service-usage", + ], rest_numeric_enums = True, service_yaml = "serviceusage_v1beta1.yaml", transport = "grpc+rest", + deps = [ + ], ) -# Uncomment once https://github.com/googleapis/gapic-generator-python/issues/1376 is fixed -#py_test( -# name = "serviceusage_py_gapic_test", -# srcs = [ -# "serviceusage_py_gapic_pytest.py", -# "serviceusage_py_gapic_test.py", -# ], -# legacy_create_init = False, -# deps = [":serviceusage_py_gapic"], -#) +py_test( + name = "serviceusage_py_gapic_test", + srcs = [ + "serviceusage_py_gapic_pytest.py", + "serviceusage_py_gapic_test.py", + ], + legacy_create_init = False, + deps = [":serviceusage_py_gapic"], +) # Open Source Packages py_gapic_assembly_pkg( @@ -201,26 +210,30 @@ py_gapic_assembly_pkg( ], ) +############################################################################## +# PHP +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "php_gapic_assembly_pkg", + "php_gapic_library", + "php_proto_library", +) + php_proto_library( name = "serviceusage_php_proto", deps = [":serviceusage_proto"], ) -php_grpc_library( - name = "serviceusage_php_grpc", - srcs = [":serviceusage_proto"], - deps = [":serviceusage_php_proto"], -) - php_gapic_library( name = "serviceusage_php_gapic", srcs = [":serviceusage_proto_with_info"], grpc_service_config = "serviceusage_grpc_service_config.json", + migration_mode = "PRE_MIGRATION_SURFACE_ONLY", rest_numeric_enums = True, service_yaml = "serviceusage_v1beta1.yaml", transport = "grpc+rest", deps = [ - ":serviceusage_php_grpc", ":serviceusage_php_proto", ], ) @@ -230,11 +243,19 @@ php_gapic_assembly_pkg( name = "google-cloud-api-serviceusage-v1beta1-php", deps = [ ":serviceusage_php_gapic", - ":serviceusage_php_grpc", ":serviceusage_php_proto", ], ) +############################################################################## +# Node.js +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "nodejs_gapic_assembly_pkg", + "nodejs_gapic_library", +) + nodejs_gapic_library( name = "serviceusage_nodejs_gapic", package_name = "@google-cloud/service-usage", @@ -256,6 +277,17 @@ nodejs_gapic_assembly_pkg( ], ) +############################################################################## +# Ruby +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "ruby_cloud_gapic_library", + "ruby_gapic_assembly_pkg", + "ruby_grpc_library", + "ruby_proto_library", +) + ruby_proto_library( name = "serviceusage_ruby_proto", deps = [":serviceusage_proto"], @@ -271,17 +303,18 @@ ruby_cloud_gapic_library( name = "serviceusage_ruby_gapic", srcs = [":serviceusage_proto_with_info"], extra_protoc_parameters = [ - "ruby-cloud-gem-name=google-cloud-service_usage-v1beta1", - "ruby-cloud-env-prefix=SERVICE_USAGE", - "ruby-cloud-product-url=https://cloud.google.com/service-usage/", "ruby-cloud-api-id=serviceusage.googleapis.com", "ruby-cloud-api-shortname=serviceusage", + "ruby-cloud-env-prefix=SERVICE_USAGE", + "ruby-cloud-gem-name=google-cloud-service_usage-v1beta1", + "ruby-cloud-product-url=https://cloud.google.com/service-usage/", ], grpc_service_config = "serviceusage_grpc_service_config.json", rest_numeric_enums = True, ruby_cloud_description = "Service Usage is an infrastructure service of Google Cloud that lets you list and manage other APIs and services in your Cloud projects. You can list and manage Google Cloud services and their APIs, as well as services created using Cloud Endpoints.", ruby_cloud_title = "Service Usage V1beta1", service_yaml = "serviceusage_v1beta1.yaml", + transport = "grpc+rest", deps = [ ":serviceusage_ruby_grpc", ":serviceusage_ruby_proto", @@ -298,8 +331,20 @@ ruby_gapic_assembly_pkg( ], ) +############################################################################## +# C# +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "csharp_gapic_assembly_pkg", + "csharp_gapic_library", + "csharp_grpc_library", + "csharp_proto_library", +) + csharp_proto_library( name = "serviceusage_csharp_proto", + extra_opts = [], deps = [":serviceusage_proto"], ) @@ -336,4 +381,20 @@ csharp_gapic_assembly_pkg( ############################################################################## # C++ ############################################################################## -# Put your C++ rules here +load( + "@com_google_googleapis_imports//:imports.bzl", + "cc_grpc_library", + "cc_proto_library", +) + +cc_proto_library( + name = "serviceusage_cc_proto", + deps = [":serviceusage_proto"], +) + +cc_grpc_library( + name = "serviceusage_cc_grpc", + srcs = [":serviceusage_proto"], + grpc_only = True, + deps = [":serviceusage_cc_proto"], +) diff --git a/third_party/googleapis/google/api/serviceusage/v1beta1/resources.proto b/third_party/googleapis/google/api/serviceusage/v1beta1/resources.proto index a68437c3c..74116587a 100644 --- a/third_party/googleapis/google/api/serviceusage/v1beta1/resources.proto +++ b/third_party/googleapis/google/api/serviceusage/v1beta1/resources.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -105,7 +105,8 @@ message ServiceConfig { repeated google.api.Endpoint endpoints = 18; // Defines the monitored resources used by this service. This is required - // by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations. + // by the [Service.monitoring][google.api.Service.monitoring] and + // [Service.logging][google.api.Service.logging] configurations. repeated google.api.MonitoredResourceDescriptor monitored_resources = 25; // Monitoring configuration. @@ -196,6 +197,10 @@ message ConsumerQuotaLimit { // ordered from least specific to most specific (for example, the global // default bucket, with no quota dimensions, will always appear first). repeated QuotaBucket quota_buckets = 9; + + // List of all supported locations. + // This field is present only if the limit has a {region} or {zone} dimension. + repeated string supported_locations = 11; } // Selected view of quota. Can be used to request more detailed quota @@ -236,6 +241,9 @@ message QuotaBucket { // Admin override on this quota bucket. QuotaOverride admin_override = 5; + // Producer policy inherited from the closet ancestor of the current consumer. + ProducerQuotaPolicy producer_quota_policy = 7; + // The dimensions of this quota bucket. // // If this map is empty, this is the global bucket, which is the default quota @@ -334,6 +342,62 @@ enum QuotaSafetyCheck { LIMIT_DECREASE_PERCENTAGE_TOO_HIGH = 2; } +// Quota policy created by service producer. +message ProducerQuotaPolicy { + // The resource name of the policy. + // This name is generated by the server when the policy is created. + // + // Example names would be: + // `organizations/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/producerQuotaPolicies/4a3f2c1d` + string name = 1; + + // The quota policy value. + // Can be any nonnegative integer, or -1 (unlimited quota). + int64 policy_value = 2; + + // + // If this map is nonempty, then this policy applies only to specific values + // for dimensions defined in the limit unit. + // + // For example, a policy on a limit with the unit `1/{project}/{region}` + // could contain an entry with the key `region` and the value `us-east-1`; + // the policy is only applied to quota consumed in that region. + // + // This map has the following restrictions: + // + // * Keys that are not defined in the limit's unit are not valid keys. + // Any string appearing in {brackets} in the unit (besides {project} or + // {user}) is a defined key. + // * `project` is not a valid key; the project is already specified in + // the parent resource name. + // * `user` is not a valid key; the API does not support quota policies + // that apply only to a specific user. + // * If `region` appears as a key, its value must be a valid Cloud region. + // * If `zone` appears as a key, its value must be a valid Cloud zone. + // * If any valid key other than `region` or `zone` appears in the map, then + // all valid keys other than `region` or `zone` must also appear in the + // map. + map dimensions = 3; + + // The name of the metric to which this policy applies. + // + // An example name would be: + // `compute.googleapis.com/cpus` + string metric = 4; + + // The limit unit of the limit to which this policy applies. + // + // An example unit would be: + // `1/{project}/{region}` + // Note that `{project}` and `{region}` are not placeholders in this example; + // the literal characters `{` and `}` occur in the string. + string unit = 5; + + // The cloud resource container at which the quota policy is created. The + // format is `{container_type}/{container_number}` + string container = 6; +} + // Quota policy created by quota administrator. message AdminQuotaPolicy { // The resource name of the policy. @@ -351,7 +415,7 @@ message AdminQuotaPolicy { // If this map is nonempty, then this policy applies only to specific values // for dimensions defined in the limit unit. // - // For example, an policy on a limit with the unit `1/{project}/{region}` + // For example, a policy on a limit with the unit `1/{project}/{region}` // could contain an entry with the key `region` and the value `us-east-1`; // the policy is only applied to quota consumed in that region. // diff --git a/third_party/googleapis/google/api/serviceusage/v1beta1/serviceusage.proto b/third_party/googleapis/google/api/serviceusage/v1beta1/serviceusage.proto index 205122488..5db546509 100644 --- a/third_party/googleapis/google/api/serviceusage/v1beta1/serviceusage.proto +++ b/third_party/googleapis/google/api/serviceusage/v1beta1/serviceusage.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,8 +18,10 @@ package google.api.serviceusage.v1beta1; import "google/api/annotations.proto"; import "google/api/client.proto"; +import "google/api/field_behavior.proto"; import "google/api/serviceusage/v1beta1/resources.proto"; import "google/longrunning/operations.proto"; +import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Api.ServiceUsage.V1Beta1"; @@ -41,7 +43,8 @@ service ServiceUsage { // Enables a service so that it can be used with a project. // // Operation response type: `google.protobuf.Empty` - rpc EnableService(EnableServiceRequest) returns (google.longrunning.Operation) { + rpc EnableService(EnableServiceRequest) + returns (google.longrunning.Operation) { option deprecated = true; option (google.api.http) = { post: "/v1beta1/{name=*/*/services/*}:enable" @@ -62,7 +65,8 @@ service ServiceUsage { // the target service is not currently enabled. // // Operation response type: `google.protobuf.Empty` - rpc DisableService(DisableServiceRequest) returns (google.longrunning.Operation) { + rpc DisableService(DisableServiceRequest) + returns (google.longrunning.Operation) { option deprecated = true; option (google.api.http) = { post: "/v1beta1/{name=*/*/services/*}:disable" @@ -101,7 +105,8 @@ service ServiceUsage { // changes occur. // // Operation response type: `google.protobuf.Empty` - rpc BatchEnableServices(BatchEnableServicesRequest) returns (google.longrunning.Operation) { + rpc BatchEnableServices(BatchEnableServicesRequest) + returns (google.longrunning.Operation) { option deprecated = true; option (google.api.http) = { post: "/v1beta1/{parent=*/*}/services:batchEnable" @@ -118,21 +123,24 @@ service ServiceUsage { // about all of its defined limits. Each limit includes the limit // configuration (quota unit, preciseness, default value), the current // effective limit value, and all of the overrides applied to the limit. - rpc ListConsumerQuotaMetrics(ListConsumerQuotaMetricsRequest) returns (ListConsumerQuotaMetricsResponse) { + rpc ListConsumerQuotaMetrics(ListConsumerQuotaMetricsRequest) + returns (ListConsumerQuotaMetricsResponse) { option (google.api.http) = { get: "/v1beta1/{parent=*/*/services/*}/consumerQuotaMetrics" }; } // Retrieves a summary of quota information for a specific quota metric - rpc GetConsumerQuotaMetric(GetConsumerQuotaMetricRequest) returns (ConsumerQuotaMetric) { + rpc GetConsumerQuotaMetric(GetConsumerQuotaMetricRequest) + returns (ConsumerQuotaMetric) { option (google.api.http) = { get: "/v1beta1/{name=*/*/services/*/consumerQuotaMetrics/*}" }; } // Retrieves a summary of quota information for a specific quota limit. - rpc GetConsumerQuotaLimit(GetConsumerQuotaLimitRequest) returns (ConsumerQuotaLimit) { + rpc GetConsumerQuotaLimit(GetConsumerQuotaLimitRequest) + returns (ConsumerQuotaLimit) { option (google.api.http) = { get: "/v1beta1/{name=*/*/services/*/consumerQuotaMetrics/*/limits/*}" }; @@ -144,7 +152,8 @@ service ServiceUsage { // override is intended to limit the amount of quota the consumer can use out // of the total quota pool allocated to all children of the folder or // organization. - rpc CreateAdminOverride(CreateAdminOverrideRequest) returns (google.longrunning.Operation) { + rpc CreateAdminOverride(CreateAdminOverrideRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1beta1/{parent=*/*/services/*/consumerQuotaMetrics/*/limits/*}/adminOverrides" body: "override" @@ -156,7 +165,8 @@ service ServiceUsage { } // Updates an admin override. - rpc UpdateAdminOverride(UpdateAdminOverrideRequest) returns (google.longrunning.Operation) { + rpc UpdateAdminOverride(UpdateAdminOverrideRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v1beta1/{name=*/*/services/*/consumerQuotaMetrics/*/limits/*/adminOverrides/*}" body: "override" @@ -168,7 +178,8 @@ service ServiceUsage { } // Deletes an admin override. - rpc DeleteAdminOverride(DeleteAdminOverrideRequest) returns (google.longrunning.Operation) { + rpc DeleteAdminOverride(DeleteAdminOverrideRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1beta1/{name=*/*/services/*/consumerQuotaMetrics/*/limits/*/adminOverrides/*}" }; @@ -179,7 +190,8 @@ service ServiceUsage { } // Lists all admin overrides on this limit. - rpc ListAdminOverrides(ListAdminOverridesRequest) returns (ListAdminOverridesResponse) { + rpc ListAdminOverrides(ListAdminOverridesRequest) + returns (ListAdminOverridesResponse) { option (google.api.http) = { get: "/v1beta1/{parent=*/*/services/*/consumerQuotaMetrics/*/limits/*}/adminOverrides" }; @@ -188,7 +200,8 @@ service ServiceUsage { // Creates or updates multiple admin overrides atomically, all on the // same consumer, but on many different metrics or limits. // The name field in the quota override message should not be set. - rpc ImportAdminOverrides(ImportAdminOverridesRequest) returns (google.longrunning.Operation) { + rpc ImportAdminOverrides(ImportAdminOverridesRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1beta1/{parent=*/*/services/*}/consumerQuotaMetrics:importAdminOverrides" body: "*" @@ -204,7 +217,8 @@ service ServiceUsage { // limit its own quota usage. Consumer overrides cannot be used to grant more // quota than would be allowed by admin overrides, producer overrides, or the // default limit of the service. - rpc CreateConsumerOverride(CreateConsumerOverrideRequest) returns (google.longrunning.Operation) { + rpc CreateConsumerOverride(CreateConsumerOverrideRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1beta1/{parent=*/*/services/*/consumerQuotaMetrics/*/limits/*}/consumerOverrides" body: "override" @@ -216,7 +230,8 @@ service ServiceUsage { } // Updates a consumer override. - rpc UpdateConsumerOverride(UpdateConsumerOverrideRequest) returns (google.longrunning.Operation) { + rpc UpdateConsumerOverride(UpdateConsumerOverrideRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v1beta1/{name=*/*/services/*/consumerQuotaMetrics/*/limits/*/consumerOverrides/*}" body: "override" @@ -228,7 +243,8 @@ service ServiceUsage { } // Deletes a consumer override. - rpc DeleteConsumerOverride(DeleteConsumerOverrideRequest) returns (google.longrunning.Operation) { + rpc DeleteConsumerOverride(DeleteConsumerOverrideRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1beta1/{name=*/*/services/*/consumerQuotaMetrics/*/limits/*/consumerOverrides/*}" }; @@ -239,7 +255,8 @@ service ServiceUsage { } // Lists all consumer overrides on this limit. - rpc ListConsumerOverrides(ListConsumerOverridesRequest) returns (ListConsumerOverridesResponse) { + rpc ListConsumerOverrides(ListConsumerOverridesRequest) + returns (ListConsumerOverridesResponse) { option (google.api.http) = { get: "/v1beta1/{parent=*/*/services/*/consumerQuotaMetrics/*/limits/*}/consumerOverrides" }; @@ -248,7 +265,8 @@ service ServiceUsage { // Creates or updates multiple consumer overrides atomically, all on the // same consumer, but on many different metrics or limits. // The name field in the quota override message should not be set. - rpc ImportConsumerOverrides(ImportConsumerOverridesRequest) returns (google.longrunning.Operation) { + rpc ImportConsumerOverrides(ImportConsumerOverridesRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1beta1/{parent=*/*/services/*}/consumerQuotaMetrics:importConsumerOverrides" body: "*" @@ -260,7 +278,8 @@ service ServiceUsage { } // Generates service identity for service. - rpc GenerateServiceIdentity(GenerateServiceIdentityRequest) returns (google.longrunning.Operation) { + rpc GenerateServiceIdentity(GenerateServiceIdentityRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1beta1/{parent=*/*/services/*}:generateServiceIdentity" }; @@ -565,9 +584,7 @@ message ImportAdminOverridesResponse { // Metadata message that provides information such as progress, // partial failures, and similar information on each GetOperation call // of LRO returned by ImportAdminOverrides. -message ImportAdminOverridesMetadata { - -} +message ImportAdminOverridesMetadata {} // Request message for CreateConsumerOverride. message CreateConsumerOverrideRequest { @@ -709,9 +726,7 @@ message ImportConsumerOverridesResponse { // Metadata message that provides information such as progress, // partial failures, and similar information on each GetOperation call // of LRO returned by ImportConsumerOverrides. -message ImportConsumerOverridesMetadata { - -} +message ImportConsumerOverridesMetadata {} // Response message for ImportAdminQuotaPolicies message ImportAdminQuotaPoliciesResponse { @@ -722,40 +737,34 @@ message ImportAdminQuotaPoliciesResponse { // Metadata message that provides information such as progress, // partial failures, and similar information on each GetOperation call // of LRO returned by ImportAdminQuotaPolicies. -message ImportAdminQuotaPoliciesMetadata { - -} +message ImportAdminQuotaPoliciesMetadata {} // Metadata message that provides information such as progress, // partial failures, and similar information on each GetOperation call // of LRO returned by CreateAdminQuotaPolicy. -message CreateAdminQuotaPolicyMetadata { - -} +message CreateAdminQuotaPolicyMetadata {} // Metadata message that provides information such as progress, // partial failures, and similar information on each GetOperation call // of LRO returned by UpdateAdminQuotaPolicy. -message UpdateAdminQuotaPolicyMetadata { - -} +message UpdateAdminQuotaPolicyMetadata {} // Metadata message that provides information such as progress, // partial failures, and similar information on each GetOperation call // of LRO returned by DeleteAdminQuotaPolicy. -message DeleteAdminQuotaPolicyMetadata { - -} +message DeleteAdminQuotaPolicyMetadata {} // Request message for generating service identity. message GenerateServiceIdentityRequest { // Name of the consumer and service to generate an identity for. // - // The `GenerateServiceIdentity` methods currently only support projects. + // The `GenerateServiceIdentity` methods currently support projects, folders, + // organizations. // - // An example name would be: - // `projects/123/services/example.googleapis.com` where `123` is the - // project number. + // Example parents would be: + // `projects/123/services/example.googleapis.com` + // `folders/123/services/example.googleapis.com` + // `organizations/123/services/example.googleapis.com` string parent = 1; } @@ -781,6 +790,4 @@ message GetServiceIdentityResponse { } // Metadata for the `GetServiceIdentity` method. -message GetServiceIdentityMetadata { - -} +message GetServiceIdentityMetadata {} diff --git a/third_party/googleapis/google/api/serviceusage/v1beta1/serviceusage_v1beta1.yaml b/third_party/googleapis/google/api/serviceusage/v1beta1/serviceusage_v1beta1.yaml index 1a1db7e92..211cc8e22 100644 --- a/third_party/googleapis/google/api/serviceusage/v1beta1/serviceusage_v1beta1.yaml +++ b/third_party/googleapis/google/api/serviceusage/v1beta1/serviceusage_v1beta1.yaml @@ -5,6 +5,7 @@ title: Service Usage API apis: - name: google.api.serviceusage.v1beta1.ServiceUsage +- name: google.longrunning.Operations types: - name: google.api.serviceusage.v1beta1.BatchCreateAdminOverridesResponse @@ -45,9 +46,9 @@ documentation: backend: rules: - selector: 'google.api.serviceusage.v1beta1.ServiceUsage.*' - deadline: 5.0 + deadline: 20.0 - selector: 'google.longrunning.Operations.*' - deadline: 5.0 + deadline: 20.0 http: rules: @@ -61,8 +62,45 @@ authentication: - selector: 'google.api.serviceusage.v1beta1.ServiceUsage.*' oauth: canonical_scopes: |- - https://www.googleapis.com/auth/cloud-platform + https://www.googleapis.com/auth/cloud-platform, + https://www.googleapis.com/auth/service.management + - selector: google.api.serviceusage.v1beta1.ServiceUsage.GetConsumerQuotaLimit + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform, + https://www.googleapis.com/auth/cloud-platform.read-only + - selector: google.api.serviceusage.v1beta1.ServiceUsage.GetConsumerQuotaMetric + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform, + https://www.googleapis.com/auth/cloud-platform.read-only + - selector: google.api.serviceusage.v1beta1.ServiceUsage.GetService + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform, + https://www.googleapis.com/auth/cloud-platform.read-only + - selector: google.api.serviceusage.v1beta1.ServiceUsage.ListAdminOverrides + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform, + https://www.googleapis.com/auth/cloud-platform.read-only + - selector: google.api.serviceusage.v1beta1.ServiceUsage.ListConsumerOverrides + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform, + https://www.googleapis.com/auth/cloud-platform.read-only + - selector: google.api.serviceusage.v1beta1.ServiceUsage.ListConsumerQuotaMetrics + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform, + https://www.googleapis.com/auth/cloud-platform.read-only + - selector: google.api.serviceusage.v1beta1.ServiceUsage.ListServices + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform, + https://www.googleapis.com/auth/cloud-platform.read-only - selector: 'google.longrunning.Operations.*' oauth: canonical_scopes: |- - https://www.googleapis.com/auth/cloud-platform + https://www.googleapis.com/auth/cloud-platform, + https://www.googleapis.com/auth/service.management diff --git a/third_party/googleapis/google/api/source_info.proto b/third_party/googleapis/google/api/source_info.proto index cbdd625cd..51fe27901 100644 --- a/third_party/googleapis/google/api/source_info.proto +++ b/third_party/googleapis/google/api/source_info.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/api/system_parameter.proto b/third_party/googleapis/google/api/system_parameter.proto index 7d0b1d572..8d29057f7 100644 --- a/third_party/googleapis/google/api/system_parameter.proto +++ b/third_party/googleapis/google/api/system_parameter.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -67,7 +67,8 @@ message SystemParameterRule { // Selects the methods to which this rule applies. Use '*' to indicate all // methods in all APIs. // - // Refer to [selector][google.api.DocumentationRule.selector] for syntax details. + // Refer to [selector][google.api.DocumentationRule.selector] for syntax + // details. string selector = 1; // Define parameters. Multiple names may be defined for a parameter. diff --git a/third_party/googleapis/google/api/usage.proto b/third_party/googleapis/google/api/usage.proto index ad2764c90..b9384b44a 100644 --- a/third_party/googleapis/google/api/usage.proto +++ b/third_party/googleapis/google/api/usage.proto @@ -1,4 +1,4 @@ -// Copyright 2015 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -80,7 +80,8 @@ message UsageRule { // Selects the methods to which this rule applies. Use '*' to indicate all // methods in all APIs. // - // Refer to [selector][google.api.DocumentationRule.selector] for syntax details. + // Refer to [selector][google.api.DocumentationRule.selector] for syntax + // details. string selector = 1; // If true, the selected method allows unregistered calls, e.g. calls diff --git a/third_party/googleapis/google/api/visibility.proto b/third_party/googleapis/google/api/visibility.proto index 0be4581d1..8b1f946fd 100644 --- a/third_party/googleapis/google/api/visibility.proto +++ b/third_party/googleapis/google/api/visibility.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/appengine/BUILD.bazel b/third_party/googleapis/google/appengine/BUILD.bazel index 8a194edf5..7818336cf 100644 --- a/third_party/googleapis/google/appengine/BUILD.bazel +++ b/third_party/googleapis/google/appengine/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-app_engine", "ruby-cloud-env-prefix=APP_ENGINE", - "ruby-cloud-wrapper-of=v1:0.3", + "ruby-cloud-wrapper-of=v1:0.9", "ruby-cloud-product-url=https://cloud.google.com/appengine/docs/admin-api/", "ruby-cloud-api-id=appengine.googleapis.com", "ruby-cloud-api-shortname=appengine", ], ruby_cloud_description = "The App Engine Admin API provisions and manages your App Engine applications.", ruby_cloud_title = "App Engine Admin", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/appengine/legacy/BUILD.bazel b/third_party/googleapis/google/appengine/legacy/BUILD.bazel index bea806a2d..71ab3e4d0 100644 --- a/third_party/googleapis/google/appengine/legacy/BUILD.bazel +++ b/third_party/googleapis/google/appengine/legacy/BUILD.bazel @@ -90,7 +90,6 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -99,21 +98,9 @@ php_proto_library( deps = [":legacy_proto"], ) -php_grpc_library( - name = "legacy_php_grpc", - srcs = [":legacy_proto"], - deps = [":legacy_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) - ############################################################################## # Ruby diff --git a/third_party/googleapis/google/appengine/logging/v1/BUILD.bazel b/third_party/googleapis/google/appengine/logging/v1/BUILD.bazel index 71007e905..afd1d613f 100644 --- a/third_party/googleapis/google/appengine/logging/v1/BUILD.bazel +++ b/third_party/googleapis/google/appengine/logging/v1/BUILD.bazel @@ -92,7 +92,6 @@ py_gapic_assembly_pkg( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -101,20 +100,9 @@ php_proto_library( deps = [":logging_proto"], ) -php_grpc_library( - name = "logging_php_grpc", - srcs = [":logging_proto"], - deps = [":logging_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) ############################################################################## # Ruby diff --git a/third_party/googleapis/google/appengine/v1/BUILD.bazel b/third_party/googleapis/google/appengine/v1/BUILD.bazel index 8b4851133..17a49828d 100644 --- a/third_party/googleapis/google/appengine/v1/BUILD.bazel +++ b/third_party/googleapis/google/appengine/v1/BUILD.bazel @@ -24,7 +24,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -34,7 +33,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -106,12 +104,14 @@ java_gapic_library( srcs = [":appengine_proto_with_info"], grpc_service_config = "appengine_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "appengine_v1.yaml", test_deps = [ ":appengine_java_grpc", ], transport = "grpc+rest", deps = [ ":appengine_java_proto", + "//google/api:api_java_proto", ], ) @@ -154,7 +154,7 @@ java_gapic_assembly_gradle_pkg( go_proto_library( name = "appengine_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/appengine/v1", + importpath = "cloud.google.com/go/appengine/apiv1/appenginepb", protos = [":appengine_proto"], deps = [ "//google/api:annotations_go_proto", @@ -168,6 +168,7 @@ go_gapic_library( grpc_service_config = "appengine_grpc_service_config.json", importpath = "cloud.google.com/go/appengine/apiv1;appengine", metadata = True, + release_level = "ga", rest_numeric_enums = True, service_yaml = "appengine_v1.yaml", transport = "grpc+rest", @@ -180,19 +181,13 @@ go_gapic_library( ], ) -go_test( - name = "appengine_go_gapic_test", - srcs = [":appengine_go_gapic_srcjar_test"], - embed = [":appengine_go_gapic"], - importpath = "cloud.google.com/go/appengine/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-appengine-v1-go", deps = [ ":appengine_go_gapic", ":appengine_go_gapic_srcjar-metadata.srcjar", + ":appengine_go_gapic_srcjar-snippets.srcjar", ":appengine_go_gapic_srcjar-test.srcjar", ":appengine_go_proto", ], @@ -235,23 +230,15 @@ php_proto_library( deps = [":appengine_proto"], ) -php_grpc_library( - name = "appengine_php_grpc", - srcs = [":appengine_proto"], - deps = [":appengine_php_proto"], -) - php_gapic_library( name = "appengine_php_gapic", srcs = [":appengine_proto_with_info"], grpc_service_config = "appengine_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "appengine_v1.yaml", transport = "grpc+rest", - deps = [ - ":appengine_php_grpc", - ":appengine_php_proto", - ], + deps = [":appengine_php_proto"], ) # Open Source Packages @@ -259,7 +246,6 @@ php_gapic_assembly_pkg( name = "google-cloud-appengine-v1-php", deps = [ ":appengine_php_gapic", - ":appengine_php_grpc", ":appengine_php_proto", ], ) @@ -310,6 +296,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "The App Engine Admin API provisions and manages your App Engine applications.", ruby_cloud_title = "App Engine Admin V1", service_yaml = "appengine_v1.yaml", + transport = "grpc+rest", deps = [ ":appengine_ruby_grpc", ":appengine_ruby_proto", diff --git a/third_party/googleapis/google/appengine/v1/app_yaml.proto b/third_party/googleapis/google/appengine/v1/app_yaml.proto index 882185335..72a383115 100644 --- a/third_party/googleapis/google/appengine/v1/app_yaml.proto +++ b/third_party/googleapis/google/appengine/v1/app_yaml.proto @@ -19,7 +19,7 @@ package google.appengine.v1; import "google/protobuf/duration.proto"; option csharp_namespace = "Google.Cloud.AppEngine.V1"; -option go_package = "google.golang.org/genproto/googleapis/appengine/v1;appengine"; +option go_package = "cloud.google.com/go/appengine/apiv1/appenginepb;appenginepb"; option java_multiple_files = true; option java_outer_classname = "AppYamlProto"; option java_package = "com.google.appengine.v1"; diff --git a/third_party/googleapis/google/appengine/v1/appengine.proto b/third_party/googleapis/google/appengine/v1/appengine.proto index 76eb230fa..1c73419f4 100644 --- a/third_party/googleapis/google/appengine/v1/appengine.proto +++ b/third_party/googleapis/google/appengine/v1/appengine.proto @@ -31,7 +31,7 @@ import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.AppEngine.V1"; -option go_package = "google.golang.org/genproto/googleapis/appengine/v1;appengine"; +option go_package = "cloud.google.com/go/appengine/apiv1/appenginepb;appenginepb"; option java_multiple_files = true; option java_outer_classname = "AppengineProto"; option java_package = "com.google.appengine.v1"; diff --git a/third_party/googleapis/google/appengine/v1/application.proto b/third_party/googleapis/google/appengine/v1/application.proto index bc9c3f5dc..a7c50795f 100644 --- a/third_party/googleapis/google/appengine/v1/application.proto +++ b/third_party/googleapis/google/appengine/v1/application.proto @@ -19,7 +19,7 @@ package google.appengine.v1; import "google/protobuf/duration.proto"; option csharp_namespace = "Google.Cloud.AppEngine.V1"; -option go_package = "google.golang.org/genproto/googleapis/appengine/v1;appengine"; +option go_package = "cloud.google.com/go/appengine/apiv1/appenginepb;appenginepb"; option java_multiple_files = true; option java_outer_classname = "ApplicationProto"; option java_package = "com.google.appengine.v1"; diff --git a/third_party/googleapis/google/appengine/v1/audit_data.proto b/third_party/googleapis/google/appengine/v1/audit_data.proto index d839280df..66d62c06e 100644 --- a/third_party/googleapis/google/appengine/v1/audit_data.proto +++ b/third_party/googleapis/google/appengine/v1/audit_data.proto @@ -19,7 +19,7 @@ package google.appengine.v1; import "google/appengine/v1/appengine.proto"; option csharp_namespace = "Google.Cloud.AppEngine.V1"; -option go_package = "google.golang.org/genproto/googleapis/appengine/v1;appengine"; +option go_package = "cloud.google.com/go/appengine/apiv1/appenginepb;appenginepb"; option java_multiple_files = true; option java_outer_classname = "AuditDataProto"; option java_package = "com.google.appengine.v1"; diff --git a/third_party/googleapis/google/appengine/v1/certificate.proto b/third_party/googleapis/google/appengine/v1/certificate.proto index 037465be7..ab8a62926 100644 --- a/third_party/googleapis/google/appengine/v1/certificate.proto +++ b/third_party/googleapis/google/appengine/v1/certificate.proto @@ -19,7 +19,7 @@ package google.appengine.v1; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AppEngine.V1"; -option go_package = "google.golang.org/genproto/googleapis/appengine/v1;appengine"; +option go_package = "cloud.google.com/go/appengine/apiv1/appenginepb;appenginepb"; option java_multiple_files = true; option java_outer_classname = "CertificateProto"; option java_package = "com.google.appengine.v1"; diff --git a/third_party/googleapis/google/appengine/v1/deploy.proto b/third_party/googleapis/google/appengine/v1/deploy.proto index 8796ec1f5..a3a8b5986 100644 --- a/third_party/googleapis/google/appengine/v1/deploy.proto +++ b/third_party/googleapis/google/appengine/v1/deploy.proto @@ -19,7 +19,7 @@ package google.appengine.v1; import "google/protobuf/duration.proto"; option csharp_namespace = "Google.Cloud.AppEngine.V1"; -option go_package = "google.golang.org/genproto/googleapis/appengine/v1;appengine"; +option go_package = "cloud.google.com/go/appengine/apiv1/appenginepb;appenginepb"; option java_multiple_files = true; option java_outer_classname = "DeployProto"; option java_package = "com.google.appengine.v1"; diff --git a/third_party/googleapis/google/appengine/v1/deployed_files.proto b/third_party/googleapis/google/appengine/v1/deployed_files.proto index 67e9b703b..ba0f5d672 100644 --- a/third_party/googleapis/google/appengine/v1/deployed_files.proto +++ b/third_party/googleapis/google/appengine/v1/deployed_files.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.appengine.v1; option csharp_namespace = "Google.Cloud.AppEngine.V1"; -option go_package = "google.golang.org/genproto/googleapis/appengine/v1;appengine"; +option go_package = "cloud.google.com/go/appengine/apiv1/appenginepb;appenginepb"; option java_multiple_files = true; option java_outer_classname = "DeployedFilesProto"; option java_package = "com.google.appengine.v1"; diff --git a/third_party/googleapis/google/appengine/v1/domain.proto b/third_party/googleapis/google/appengine/v1/domain.proto index cd39adfbe..6a619a2e7 100644 --- a/third_party/googleapis/google/appengine/v1/domain.proto +++ b/third_party/googleapis/google/appengine/v1/domain.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.appengine.v1; option csharp_namespace = "Google.Cloud.AppEngine.V1"; -option go_package = "google.golang.org/genproto/googleapis/appengine/v1;appengine"; +option go_package = "cloud.google.com/go/appengine/apiv1/appenginepb;appenginepb"; option java_multiple_files = true; option java_outer_classname = "DomainProto"; option java_package = "com.google.appengine.v1"; @@ -26,7 +26,7 @@ option ruby_package = "Google::Cloud::AppEngine::V1"; // A domain that a user has been authorized to administer. To authorize use // of a domain, verify ownership via -// [Webmaster Central](https://www.google.com/webmasters/verification/home). +// [Search Console](https://search.google.com/search-console/welcome). message AuthorizedDomain { // Full path to the `AuthorizedDomain` resource in the API. Example: // `apps/myapp/authorizedDomains/example.com`. diff --git a/third_party/googleapis/google/appengine/v1/domain_mapping.proto b/third_party/googleapis/google/appengine/v1/domain_mapping.proto index f307217a3..1b81436c6 100644 --- a/third_party/googleapis/google/appengine/v1/domain_mapping.proto +++ b/third_party/googleapis/google/appengine/v1/domain_mapping.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.appengine.v1; option csharp_namespace = "Google.Cloud.AppEngine.V1"; -option go_package = "google.golang.org/genproto/googleapis/appengine/v1;appengine"; +option go_package = "cloud.google.com/go/appengine/apiv1/appenginepb;appenginepb"; option java_multiple_files = true; option java_outer_classname = "DomainMappingProto"; option java_package = "com.google.appengine.v1"; diff --git a/third_party/googleapis/google/appengine/v1/firewall.proto b/third_party/googleapis/google/appengine/v1/firewall.proto index d7172f7ee..d2e5f1f06 100644 --- a/third_party/googleapis/google/appengine/v1/firewall.proto +++ b/third_party/googleapis/google/appengine/v1/firewall.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.appengine.v1; option csharp_namespace = "Google.Cloud.AppEngine.V1"; -option go_package = "google.golang.org/genproto/googleapis/appengine/v1;appengine"; +option go_package = "cloud.google.com/go/appengine/apiv1/appenginepb;appenginepb"; option java_multiple_files = true; option java_outer_classname = "FirewallProto"; option java_package = "com.google.appengine.v1.firewall"; diff --git a/third_party/googleapis/google/appengine/v1/instance.proto b/third_party/googleapis/google/appengine/v1/instance.proto index 59b2e5c92..b0efe0513 100644 --- a/third_party/googleapis/google/appengine/v1/instance.proto +++ b/third_party/googleapis/google/appengine/v1/instance.proto @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AppEngine.V1"; -option go_package = "google.golang.org/genproto/googleapis/appengine/v1;appengine"; +option go_package = "cloud.google.com/go/appengine/apiv1/appenginepb;appenginepb"; option java_multiple_files = true; option java_outer_classname = "InstanceProto"; option java_package = "com.google.appengine.v1"; diff --git a/third_party/googleapis/google/appengine/v1/location.proto b/third_party/googleapis/google/appengine/v1/location.proto index 995a5ff65..c4605e5cb 100644 --- a/third_party/googleapis/google/appengine/v1/location.proto +++ b/third_party/googleapis/google/appengine/v1/location.proto @@ -19,7 +19,7 @@ package google.appengine.v1; import "google/api/field_behavior.proto"; option csharp_namespace = "Google.Cloud.AppEngine.V1"; -option go_package = "google.golang.org/genproto/googleapis/appengine/v1;appengine"; +option go_package = "cloud.google.com/go/appengine/apiv1/appenginepb;appenginepb"; option java_multiple_files = true; option java_outer_classname = "LocationProto"; option java_package = "com.google.appengine.v1"; diff --git a/third_party/googleapis/google/appengine/v1/network_settings.proto b/third_party/googleapis/google/appengine/v1/network_settings.proto index 2645e8c8d..7ed59abd0 100644 --- a/third_party/googleapis/google/appengine/v1/network_settings.proto +++ b/third_party/googleapis/google/appengine/v1/network_settings.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.appengine.v1; option csharp_namespace = "Google.Cloud.AppEngine.V1"; -option go_package = "google.golang.org/genproto/googleapis/appengine/v1;appengine"; +option go_package = "cloud.google.com/go/appengine/apiv1/appenginepb;appenginepb"; option java_multiple_files = true; option java_outer_classname = "NetworkSettingsProto"; option java_package = "com.google.appengine.v1"; diff --git a/third_party/googleapis/google/appengine/v1/operation.proto b/third_party/googleapis/google/appengine/v1/operation.proto index a2636cb7c..fd2a2b9eb 100644 --- a/third_party/googleapis/google/appengine/v1/operation.proto +++ b/third_party/googleapis/google/appengine/v1/operation.proto @@ -19,7 +19,7 @@ package google.appengine.v1; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AppEngine.V1"; -option go_package = "google.golang.org/genproto/googleapis/appengine/v1;appengine"; +option go_package = "cloud.google.com/go/appengine/apiv1/appenginepb;appenginepb"; option java_multiple_files = true; option java_outer_classname = "OperationProto"; option java_package = "com.google.appengine.v1"; diff --git a/third_party/googleapis/google/appengine/v1/service.proto b/third_party/googleapis/google/appengine/v1/service.proto index b3ed6def1..63ffd6cb3 100644 --- a/third_party/googleapis/google/appengine/v1/service.proto +++ b/third_party/googleapis/google/appengine/v1/service.proto @@ -19,7 +19,7 @@ package google.appengine.v1; import "google/appengine/v1/network_settings.proto"; option csharp_namespace = "Google.Cloud.AppEngine.V1"; -option go_package = "google.golang.org/genproto/googleapis/appengine/v1;appengine"; +option go_package = "cloud.google.com/go/appengine/apiv1/appenginepb;appenginepb"; option java_multiple_files = true; option java_outer_classname = "ServiceProto"; option java_package = "com.google.appengine.v1"; diff --git a/third_party/googleapis/google/appengine/v1/version.proto b/third_party/googleapis/google/appengine/v1/version.proto index 2caab513c..ee22ef006 100644 --- a/third_party/googleapis/google/appengine/v1/version.proto +++ b/third_party/googleapis/google/appengine/v1/version.proto @@ -22,7 +22,7 @@ import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AppEngine.V1"; -option go_package = "google.golang.org/genproto/googleapis/appengine/v1;appengine"; +option go_package = "cloud.google.com/go/appengine/apiv1/appenginepb;appenginepb"; option java_multiple_files = true; option java_outer_classname = "VersionProto"; option java_package = "com.google.appengine.v1"; diff --git a/third_party/googleapis/google/appengine/v1beta/BUILD.bazel b/third_party/googleapis/google/appengine/v1beta/BUILD.bazel index e79f08375..1582fd0ae 100644 --- a/third_party/googleapis/google/appengine/v1beta/BUILD.bazel +++ b/third_party/googleapis/google/appengine/v1beta/BUILD.bazel @@ -121,7 +121,6 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -130,21 +129,9 @@ php_proto_library( deps = [":appengine_proto"], ) -php_grpc_library( - name = "appengine_php_grpc", - srcs = [":appengine_proto"], - deps = [":appengine_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) - ############################################################################## # Ruby diff --git a/third_party/googleapis/google/appengine/v1beta/domain.proto b/third_party/googleapis/google/appengine/v1beta/domain.proto index 94bbcd9cb..91b7518d3 100644 --- a/third_party/googleapis/google/appengine/v1beta/domain.proto +++ b/third_party/googleapis/google/appengine/v1beta/domain.proto @@ -16,7 +16,6 @@ syntax = "proto3"; package google.appengine.v1beta; - option csharp_namespace = "Google.Cloud.AppEngine.V1Beta"; option go_package = "google.golang.org/genproto/googleapis/appengine/v1beta;appengine"; option java_multiple_files = true; @@ -27,7 +26,7 @@ option ruby_package = "Google::Cloud::AppEngine::V1beta"; // A domain that a user has been authorized to administer. To authorize use // of a domain, verify ownership via -// [Webmaster Central](https://www.google.com/webmasters/verification/home). +// [Search Console](https://search.google.com/search-console/welcome). message AuthorizedDomain { // Full path to the `AuthorizedDomain` resource in the API. Example: // `apps/myapp/authorizedDomains/example.com`. diff --git a/third_party/googleapis/google/apps/alertcenter/v1beta1/BUILD.bazel b/third_party/googleapis/google/apps/alertcenter/v1beta1/BUILD.bazel index a098263d4..c53196cf0 100644 --- a/third_party/googleapis/google/apps/alertcenter/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/apps/alertcenter/v1beta1/BUILD.bazel @@ -9,43 +9,14 @@ # * 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"]) + ############################################################################## # Common ############################################################################## load("@rules_proto//proto:defs.bzl", "proto_library") -load( - "@com_google_googleapis_imports//:imports.bzl", - "csharp_gapic_assembly_pkg", - "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", - "go_gapic_assembly_pkg", - "go_gapic_library", - "go_proto_library", - "go_test", - "java_gapic_assembly_gradle_pkg", - "java_gapic_library", - "java_gapic_test", - "java_grpc_library", - "java_proto_library", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", - "php_gapic_assembly_pkg", - "php_gapic_library", - "php_grpc_library", - "php_proto_library", - "proto_library_with_info", - "py_gapic_assembly_pkg", - "py_gapic_library", - "py_test", - "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) +load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") proto_library( name = "alertcenter_proto", @@ -71,6 +42,18 @@ proto_library_with_info( ], ) +############################################################################## +# Java +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "java_gapic_assembly_gradle_pkg", + "java_gapic_library", + "java_gapic_test", + "java_grpc_library", + "java_proto_library", +) + java_proto_library( name = "alertcenter_java_proto", deps = [":alertcenter_proto"], @@ -85,14 +68,17 @@ java_grpc_library( java_gapic_library( name = "alertcenter_java_gapic", srcs = [":alertcenter_proto_with_info"], + gapic_yaml = None, grpc_service_config = "alertcenter_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "alertcenter_v1beta1.yaml", test_deps = [ ":alertcenter_java_grpc", ], transport = "grpc+rest", deps = [ ":alertcenter_java_proto", + "//google/api:api_java_proto", ], ) @@ -118,6 +104,16 @@ java_gapic_assembly_gradle_pkg( ], ) +############################################################################## +# Go +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "go_gapic_assembly_pkg", + "go_gapic_library", + "go_proto_library", +) + go_proto_library( name = "alertcenter_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], @@ -135,39 +131,46 @@ go_gapic_library( grpc_service_config = "alertcenter_grpc_service_config.json", importpath = "google.golang.org/google/apps/alertcenter/v1beta1;alertcenter", metadata = True, + release_level = "beta", rest_numeric_enums = True, - service_yaml = "alertcenter.yaml", + service_yaml = "alertcenter_v1beta1.yaml", transport = "grpc+rest", deps = [ ":alertcenter_go_proto", ], ) -go_test( - name = "alertcenter_go_gapic_test", - srcs = [":alertcenter_go_gapic_srcjar_test"], - embed = [":alertcenter_go_gapic"], - importpath = "google.golang.org/google/apps/alertcenter/v1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-apps-alertcenter-v1beta1-go", deps = [ ":alertcenter_go_gapic", ":alertcenter_go_gapic_srcjar-metadata.srcjar", + ":alertcenter_go_gapic_srcjar-snippets.srcjar", ":alertcenter_go_gapic_srcjar-test.srcjar", ":alertcenter_go_proto", ], ) +############################################################################## +# Python +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "py_gapic_assembly_pkg", + "py_gapic_library", + "py_test", +) + py_gapic_library( name = "alertcenter_py_gapic", srcs = [":alertcenter_proto"], grpc_service_config = "alertcenter_grpc_service_config.json", rest_numeric_enums = True, - service_yaml = "alertcenter.yaml", + service_yaml = "alertcenter_v1beta1.yaml", transport = "grpc+rest", + deps = [ + ], ) py_test( @@ -188,26 +191,30 @@ py_gapic_assembly_pkg( ], ) +############################################################################## +# PHP +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "php_gapic_assembly_pkg", + "php_gapic_library", + "php_proto_library", +) + php_proto_library( name = "alertcenter_php_proto", deps = [":alertcenter_proto"], ) -php_grpc_library( - name = "alertcenter_php_grpc", - srcs = [":alertcenter_proto"], - deps = [":alertcenter_php_proto"], -) - php_gapic_library( name = "alertcenter_php_gapic", srcs = [":alertcenter_proto_with_info"], grpc_service_config = "alertcenter_grpc_service_config.json", + migration_mode = "PRE_MIGRATION_SURFACE_ONLY", rest_numeric_enums = True, - service_yaml = "alertcenter.yaml", + service_yaml = "alertcenter_v1beta1.yaml", transport = "grpc+rest", deps = [ - ":alertcenter_php_grpc", ":alertcenter_php_proto", ], ) @@ -217,11 +224,19 @@ php_gapic_assembly_pkg( name = "google-cloud-apps-alertcenter-v1beta1-php", deps = [ ":alertcenter_php_gapic", - ":alertcenter_php_grpc", ":alertcenter_php_proto", ], ) +############################################################################## +# Node.js +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "nodejs_gapic_assembly_pkg", + "nodejs_gapic_library", +) + nodejs_gapic_library( name = "alertcenter_nodejs_gapic", package_name = "@google-cloud/alertcenter", @@ -230,7 +245,7 @@ nodejs_gapic_library( grpc_service_config = "alertcenter_grpc_service_config.json", package = "google.apps.alertcenter.v1beta1", rest_numeric_enums = True, - service_yaml = "alertcenter.yaml", + service_yaml = "alertcenter_v1beta1.yaml", transport = "grpc+rest", deps = [], ) @@ -243,6 +258,17 @@ nodejs_gapic_assembly_pkg( ], ) +############################################################################## +# Ruby +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "ruby_cloud_gapic_library", + "ruby_gapic_assembly_pkg", + "ruby_grpc_library", + "ruby_proto_library", +) + ruby_proto_library( name = "alertcenter_ruby_proto", deps = [":alertcenter_proto"], @@ -257,12 +283,11 @@ ruby_grpc_library( ruby_cloud_gapic_library( name = "alertcenter_ruby_gapic", srcs = [":alertcenter_proto_with_info"], - extra_protoc_parameters = [ - "ruby-cloud-gem-name=google-cloud-apps-alertcenter-v1beta1", - ], + extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-apps-alertcenter-v1beta1"], grpc_service_config = "alertcenter_grpc_service_config.json", rest_numeric_enums = True, - service_yaml = "alertcenter.yaml", + service_yaml = "alertcenter_v1beta1.yaml", + transport = "grpc+rest", deps = [ ":alertcenter_ruby_grpc", ":alertcenter_ruby_proto", @@ -279,6 +304,17 @@ ruby_gapic_assembly_pkg( ], ) +############################################################################## +# C# +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "csharp_gapic_assembly_pkg", + "csharp_gapic_library", + "csharp_grpc_library", + "csharp_proto_library", +) + csharp_proto_library( name = "alertcenter_csharp_proto", deps = [":alertcenter_proto"], @@ -296,7 +332,7 @@ csharp_gapic_library( common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", grpc_service_config = "alertcenter_grpc_service_config.json", rest_numeric_enums = True, - service_yaml = "alertcenter.yaml", + service_yaml = "alertcenter_v1beta1.yaml", transport = "grpc+rest", deps = [ ":alertcenter_csharp_grpc", @@ -317,4 +353,20 @@ csharp_gapic_assembly_pkg( ############################################################################## # C++ ############################################################################## -# Put your C++ rules here +load( + "@com_google_googleapis_imports//:imports.bzl", + "cc_grpc_library", + "cc_proto_library", +) + +cc_proto_library( + name = "alertcenter_cc_proto", + deps = [":alertcenter_proto"], +) + +cc_grpc_library( + name = "alertcenter_cc_grpc", + srcs = [":alertcenter_proto"], + grpc_only = True, + deps = [":alertcenter_cc_proto"], +) diff --git a/third_party/googleapis/google/apps/alertcenter/v1beta1/alertcenter.proto b/third_party/googleapis/google/apps/alertcenter/v1beta1/alertcenter.proto index 916633232..c2240c612 100644 --- a/third_party/googleapis/google/apps/alertcenter/v1beta1/alertcenter.proto +++ b/third_party/googleapis/google/apps/alertcenter/v1beta1/alertcenter.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,11 +17,12 @@ syntax = "proto3"; package google.apps.alertcenter.v1beta1; import "google/api/annotations.proto"; +import "google/api/client.proto"; +import "google/api/field_behavior.proto"; import "google/protobuf/any.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; -import "google/api/client.proto"; option csharp_namespace = "Google.Apps.AlertCenter.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/apps/alertcenter/v1beta1;alertcenter"; @@ -35,7 +36,8 @@ option ruby_package = "Google::Apps::AlertCenter::V1beta1"; // Google Workspace Alert Center API (beta). service AlertCenterService { option (google.api.default_host) = "alertcenter.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/apps.alerts"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/apps.alerts"; // Lists the alerts. rpc ListAlerts(ListAlertsRequest) returns (ListAlertsResponse) { @@ -88,7 +90,8 @@ service AlertCenterService { // Lists all the feedback for an alert. Attempting to list feedbacks for // a non-existent alert returns `NOT_FOUND` error. - rpc ListAlertFeedback(ListAlertFeedbackRequest) returns (ListAlertFeedbackResponse) { + rpc ListAlertFeedback(ListAlertFeedbackRequest) + returns (ListAlertFeedbackResponse) { option (google.api.http) = { get: "/v1beta1/alerts/{alert_id}/feedback" }; @@ -118,7 +121,8 @@ service AlertCenterService { } // Performs batch delete operation on alerts. - rpc BatchDeleteAlerts(BatchDeleteAlertsRequest) returns (BatchDeleteAlertsResponse) { + rpc BatchDeleteAlerts(BatchDeleteAlertsRequest) + returns (BatchDeleteAlertsResponse) { option (google.api.http) = { post: "/v1beta1/alerts:batchDelete" body: "*" @@ -126,7 +130,8 @@ service AlertCenterService { } // Performs batch undelete operation on alerts. - rpc BatchUndeleteAlerts(BatchUndeleteAlertsRequest) returns (BatchUndeleteAlertsResponse) { + rpc BatchUndeleteAlerts(BatchUndeleteAlertsRequest) + returns (BatchUndeleteAlertsResponse) { option (google.api.http) = { post: "/v1beta1/alerts:batchUndelete" body: "*" @@ -136,7 +141,8 @@ service AlertCenterService { // An alert affecting a customer. message Alert { - // Output only. The unique identifier of the Google account of the customer. + // Output only. The unique identifier of the Google Workspace account of the + // customer. string customer_id = 1; // Output only. The unique identifier for the alert. @@ -169,13 +175,16 @@ message Alert { // * Google Operations // * Mobile device management // * Gmail phishing + // * Data Loss Prevention // * Domain wide takeout // * State sponsored attack // * Google identity + // * Apps outage string source = 7; // Optional. The data associated with this alert, for example - // [google.apps.alertcenter.type.DeviceCompromised] [google.apps.alertcenter.type.DeviceCompromised]. + // [google.apps.alertcenter.type.DeviceCompromised] + // [google.apps.alertcenter.type.DeviceCompromised]. google.protobuf.Any data = 8; // Output only. An optional @@ -192,8 +201,8 @@ message Alert { // Output only. The time this alert was last updated. google.protobuf.Timestamp update_time = 13; - // Optional. `etag` is used for optimistic concurrency control as a way to help - // prevent simultaneous updates of an alert from overwriting each other. + // Optional. `etag` is used for optimistic concurrency control as a way to + // help prevent simultaneous updates of an alert from overwriting each other. // It is strongly suggested that systems make use of the `etag` in the // read-modify-write cycle to perform alert updates in order to avoid race // conditions: An `etag` is returned in the response which contains alerts, @@ -207,7 +216,8 @@ message Alert { // A customer feedback about an alert. message AlertFeedback { - // Output only. The unique identifier of the Google account of the customer. + // Output only. The unique identifier of the Google Workspace account of the + // customer. string customer_id = 1; // Output only. The alert identifier. @@ -228,7 +238,8 @@ message AlertFeedback { // An alert metadata. message AlertMetadata { - // Output only. The unique identifier of the Google account of the customer. + // Output only. The unique identifier of the Google Workspace account of the + // customer. string customer_id = 1; // Output only. The alert identifier. @@ -261,7 +272,7 @@ message AlertMetadata { // Optional. `etag` is used for optimistic concurrency control as a way to // help prevent simultaneous updates of an alert metadata from overwriting // each other. It is strongly suggested that systems make use of the `etag` in - // the read-modify-write cycle to perform metatdata updates in order to avoid + // the read-modify-write cycle to perform metadata updates in order to avoid // race conditions: An `etag` is returned in the response which contains alert // metadata, and systems are expected to put that etag in the request to // update alert metadata to ensure that their change will be applied to the @@ -272,12 +283,36 @@ message AlertMetadata { string etag = 8; } +// The type of alert feedback. +enum AlertFeedbackType { + // The feedback type is not specified. + ALERT_FEEDBACK_TYPE_UNSPECIFIED = 0; + + // The alert report is not useful. + NOT_USEFUL = 1; + + // The alert report is somewhat useful. + SOMEWHAT_USEFUL = 2; + + // The alert report is very useful. + VERY_USEFUL = 3; +} + // Customer-level settings. message Settings { // Settings for callback notifications. // For more details see [Google Workspace Alert // Notification](https://developers.google.com/admin-sdk/alertcenter/guides/notifications). message Notification { + // The format of the payload. + enum PayloadFormat { + // Payload format is not specified (will use JSON as default). + PAYLOAD_FORMAT_UNSPECIFIED = 0; + + // Use JSON. + JSON = 1; + } + // A reference to a Cloud Pubsub topic. // // To register for notifications, the owner of the topic must grant @@ -293,15 +328,6 @@ message Settings { PayloadFormat payload_format = 2; } - // The format of the payload. - enum PayloadFormat { - // Payload format is not specified (will use JSON as default). - PAYLOAD_FORMAT_UNSPECIFIED = 0; - - // Use JSON. - JSON = 1; - } - // Exactly one destination to be specified. oneof destination { // A Google Cloud Pub/sub topic destination. @@ -315,11 +341,14 @@ message Settings { // A request to perform batch delete on alerts. message BatchDeleteAlertsRequest { - // Optional. The unique identifier of the Google Workspace organization - // account of the customer the alerts are associated with. + // Optional. The unique identifier of the Google Workspace account of the + // customer the alerts are associated with. The `customer_id` must have the + // initial "C" stripped (for example, `046psxkn`). Inferred from the caller + // identity if not provided. [Find your customer + // ID](https://support.google.com/cloudidentity/answer/10070793). string customer_id = 1; - // Required. list of alert IDs. + // Required. The list of alert IDs to delete. repeated string alert_id = 2; } @@ -328,17 +357,20 @@ message BatchDeleteAlertsResponse { // The successful list of alert IDs. repeated string success_alert_ids = 1; - // The status details for each failed alert_id. + // The status details for each failed `alert_id`. map failed_alert_status = 2; } // A request to perform batch undelete on alerts. message BatchUndeleteAlertsRequest { - // Optional. The unique identifier of the Google Workspace organization - // account of the customer the alerts are associated with. + // Optional. The unique identifier of the Google Workspace account of the + // customer the alerts are associated with. The `customer_id` must have the + // initial "C" stripped (for example, `046psxkn`). Inferred from the caller + // identity if not provided. [Find your customer + // ID](https://support.google.com/cloudidentity/answer/10070793). string customer_id = 1; - // Required. list of alert IDs. + // Required. The list of alert IDs to undelete. repeated string alert_id = 2; } @@ -347,15 +379,17 @@ message BatchUndeleteAlertsResponse { // The successful list of alert IDs. repeated string success_alert_ids = 1; - // The status details for each failed alert_id. + // The status details for each failed `alert_id`. map failed_alert_status = 2; } // An alert listing request. message ListAlertsRequest { - // Optional. The unique identifier of the Google Workspace organization - // account of the customer the alerts are associated with. - // Inferred from the caller identity if not provided. + // Optional. The unique identifier of the Google Workspace account of the + // customer the alerts are associated with. The `customer_id` must have the + // initial "C" stripped (for example, `046psxkn`). Inferred from the caller + // identity if not provided. [Find your customer + // ID](https://support.google.com/cloudidentity/answer/10070793). string customer_id = 1; // Optional. The requested page size. Server may return fewer items than @@ -365,13 +399,14 @@ message ListAlertsRequest { // Optional. A token identifying a page of results the server should return. // If empty, a new iteration is started. To continue an iteration, pass in // the value from the previous ListAlertsResponse's - // [next_page_token][google.apps.alertcenter.v1beta1.ListAlertsResponse.next_page_token] field. + // [next_page_token][google.apps.alertcenter.v1beta1.ListAlertsResponse.next_page_token] + // field. string page_token = 3; // Optional. A query string for filtering alert results. // For more details, see [Query - // filters](https://developers.google.com/admin-sdk/alertcenter/guides/query-filters) and [Supported - // query filter + // filters](https://developers.google.com/admin-sdk/alertcenter/guides/query-filters) + // and [Supported query filter // fields](https://developers.google.com/admin-sdk/alertcenter/reference/filter-fields#alerts.list). string filter = 4; @@ -391,16 +426,19 @@ message ListAlertsResponse { // The token for the next page. If not empty, indicates that there may be more // alerts that match the listing request; this value can be used in a - // subsequent [ListAlertsRequest][google.apps.alertcenter.v1beta1.ListAlertsRequest] to get alerts continuing from last result - // of the current list call. + // subsequent + // [ListAlertsRequest][google.apps.alertcenter.v1beta1.ListAlertsRequest] to + // get alerts continuing from last result of the current list call. string next_page_token = 2; } // Request for a specific alert. message GetAlertRequest { - // Optional. The unique identifier of the Google Workspace organization - // account of the customer the alert is associated with. - // Inferred from the caller identity if not provided. + // Optional. The unique identifier of the Google Workspace account of the + // customer the alert is associated with. The `customer_id` must have the + // initial "C" stripped (for example, `046psxkn`). Inferred from the caller + // identity if not provided. [Find your customer + // ID](https://support.google.com/cloudidentity/answer/10070793). string customer_id = 1; // Required. The identifier of the alert to retrieve. @@ -409,9 +447,11 @@ message GetAlertRequest { // A request to mark a specific alert for deletion. message DeleteAlertRequest { - // Optional. The unique identifier of the Google Workspace organization - // account of the customer the alert is associated with. - // Inferred from the caller identity if not provided. + // Optional. The unique identifier of the Google Workspace account of the + // customer the alert is associated with. The `customer_id` must have the + // initial "C" stripped (for example, `046psxkn`). Inferred from the caller + // identity if not provided. [Find your customer + // ID](https://support.google.com/cloudidentity/answer/10070793). string customer_id = 1; // Required. The identifier of the alert to delete. @@ -420,9 +460,11 @@ message DeleteAlertRequest { // A request to undelete a specific alert that was marked for deletion. message UndeleteAlertRequest { - // Optional. The unique identifier of the Google Workspace organization - // account of the customer the alert is associated with. - // Inferred from the caller identity if not provided. + // Optional. The unique identifier of the Google Workspace account of the + // customer the alert is associated with. The `customer_id` must have the + // initial "C" stripped (for example, `046psxkn`). Inferred from the caller + // identity if not provided. [Find your customer + // ID](https://support.google.com/cloudidentity/answer/10070793). string customer_id = 1; // Required. The identifier of the alert to undelete. @@ -431,9 +473,11 @@ message UndeleteAlertRequest { // A request to create a new alert feedback. message CreateAlertFeedbackRequest { - // Optional. The unique identifier of the Google Workspace organization - // account of the customer the alert is associated with. - // Inferred from the caller identity if not provided. + // Optional. The unique identifier of the Google Workspace account of the + // customer the alert is associated with. The `customer_id` must have the + // initial "C" stripped (for example, `046psxkn`). Inferred from the caller + // identity if not provided. [Find your customer + // ID](https://support.google.com/cloudidentity/answer/10070793). string customer_id = 1; // Required. The identifier of the alert this feedback belongs to. @@ -445,9 +489,11 @@ message CreateAlertFeedbackRequest { // An alert feedback listing request. message ListAlertFeedbackRequest { - // Optional. The unique identifier of the Google Workspace organization - // account of the customer the alert feedback are associated with. - // Inferred from the caller identity if not provided. + // Optional. The unique identifier of the Google Workspace account of the + // customer the alert is associated with. The `customer_id` must have the + // initial "C" stripped (for example, `046psxkn`). Inferred from the caller + // identity if not provided. [Find your customer + // ID](https://support.google.com/cloudidentity/answer/10070793). string customer_id = 1; // Required. The alert identifier. @@ -456,8 +502,8 @@ message ListAlertFeedbackRequest { // Optional. A query string for filtering alert feedback results. // For more details, see [Query - // filters](https://developers.google.com/admin-sdk/alertcenter/guides/query-filters) and [Supported - // query filter + // filters](https://developers.google.com/admin-sdk/alertcenter/guides/query-filters) + // and [Supported query filter // fields](https://developers.google.com/admin-sdk/alertcenter/reference/filter-fields#alerts.feedback.list). string filter = 3; } @@ -471,9 +517,11 @@ message ListAlertFeedbackResponse { // Get the alert metadata. message GetAlertMetadataRequest { - // Optional. The unique identifier of the Google Workspace organization - // account of the customer the alert metadata is associated with. - // Inferred from the caller identity if not provided. + // Optional. The unique identifier of the Google Workspace account of the + // customer the alert metadata is associated with. The `customer_id` must + // have the initial "C" stripped (for example, `046psxkn`). Inferred from the + // caller identity if not provided. [Find your customer + // ID](https://support.google.com/cloudidentity/answer/10070793). string customer_id = 1; // Required. The identifier of the alert this metadata belongs to. @@ -482,32 +530,21 @@ message GetAlertMetadataRequest { // Get the customer level settings. message GetSettingsRequest { - // Optional. The unique identifier of the Google Workspace organization - // account of the customer the alert settings are associated with. - // Inferred from the caller identity if not provided. + // Optional. The unique identifier of the Google Workspace account of the + // customer the alert settings are associated with. The `customer_id` must/ + // have the initial "C" stripped (for example, `046psxkn`). Inferred from the + // caller identity if not provided. [Find your customer + // ID](https://support.google.com/cloudidentity/answer/10070793). string customer_id = 1; } -// The type of alert feedback. -enum AlertFeedbackType { - // The feedback type is not specified. - ALERT_FEEDBACK_TYPE_UNSPECIFIED = 0; - - // The alert report is not useful. - NOT_USEFUL = 1; - - // The alert report is somewhat useful. - SOMEWHAT_USEFUL = 2; - - // The alert report is very useful. - VERY_USEFUL = 3; -} - // Update the customer level settings. message UpdateSettingsRequest { - // Optional. The unique identifier of the Google Workspace organization - // account of the customer the alert settings are associated with. - // Inferred from the caller identity if not provided. + // Optional. The unique identifier of the Google Workspace account of the + // customer the alert settings are associated with. The `customer_id` must + // have the initial "C" stripped (for example, `046psxkn`). Inferred from the + // caller identity if not provided. [Find your customer + // ID](https://support.google.com/cloudidentity/answer/10070793). string customer_id = 1; // The customer settings to update. diff --git a/third_party/googleapis/google/apps/alertcenter/v1beta1/alertcenter.yaml b/third_party/googleapis/google/apps/alertcenter/v1beta1/alertcenter.yaml deleted file mode 100644 index 2d361a628..000000000 --- a/third_party/googleapis/google/apps/alertcenter/v1beta1/alertcenter.yaml +++ /dev/null @@ -1,17 +0,0 @@ -type: google.api.Service -config_version: 3 -name: alertcenter.googleapis.com -title: Google Workspace Alert Center API - -apis: -- name: google.apps.alertcenter.v1beta1.AlertCenterService - -documentation: - summary: Manages alerts on issues affecting your domain. - -authentication: - rules: - - selector: 'google.apps.alertcenter.v1beta1.AlertCenterService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/apps.alerts diff --git a/third_party/googleapis/google/apps/drive/activity/v2/BUILD.bazel b/third_party/googleapis/google/apps/drive/activity/v2/BUILD.bazel index 518d9dab4..50a69572f 100644 --- a/third_party/googleapis/google/apps/drive/activity/v2/BUILD.bazel +++ b/third_party/googleapis/google/apps/drive/activity/v2/BUILD.bazel @@ -114,7 +114,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -141,19 +140,13 @@ go_gapic_library( ], ) -go_test( - name = "activity_go_gapic_test", - srcs = [":activity_go_gapic_srcjar_test"], - embed = [":activity_go_gapic"], - importpath = "google.golang.org/google/apps/drive/activity/v2", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-apps-drive-activity-v2-go", deps = [ ":activity_go_gapic", ":activity_go_gapic_srcjar-metadata.srcjar", + ":activity_go_gapic_srcjar-snippets.srcjar", ":activity_go_gapic_srcjar-test.srcjar", ":activity_go_proto", ], @@ -205,7 +198,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -214,12 +206,6 @@ php_proto_library( deps = [":activity_proto"], ) -php_grpc_library( - name = "activity_php_grpc", - srcs = [":activity_proto"], - deps = [":activity_php_proto"], -) - php_gapic_library( name = "activity_php_gapic", srcs = [":activity_proto_with_info"], @@ -227,10 +213,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "driveactivity_v2.yaml", transport = "grpc+rest", - deps = [ - ":activity_php_grpc", - ":activity_php_proto", - ], + deps = [":activity_php_proto"], ) # Open Source Packages @@ -238,7 +221,6 @@ php_gapic_assembly_pkg( name = "google-apps-drive-activity-v2-php", deps = [ ":activity_php_gapic", - ":activity_php_grpc", ":activity_php_proto", ], ) @@ -302,6 +284,7 @@ ruby_cloud_gapic_library( grpc_service_config = "driveactivity_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "driveactivity_v2.yaml", + transport = "grpc+rest", deps = [ ":activity_ruby_grpc", ":activity_ruby_proto", diff --git a/third_party/googleapis/google/apps/drive/labels/v2/BUILD.bazel b/third_party/googleapis/google/apps/drive/labels/v2/BUILD.bazel index 22deeac62..da8c7fd36 100644 --- a/third_party/googleapis/google/apps/drive/labels/v2/BUILD.bazel +++ b/third_party/googleapis/google/apps/drive/labels/v2/BUILD.bazel @@ -26,9 +26,12 @@ proto_library( "exception_detail.proto", "field.proto", "label.proto", + "label_limits.proto", + "label_lock.proto", "label_permission.proto", "label_service.proto", "requests.proto", + "user_capabilities.proto", ], deps = [ "//google/api:annotations_proto", @@ -37,6 +40,8 @@ proto_library( "//google/api:resource_proto", "//google/type:color_proto", "//google/type:date_proto", + "@com_google_protobuf//:empty_proto", + "@com_google_protobuf//:field_mask_proto", "@com_google_protobuf//:timestamp_proto", ], ) @@ -119,7 +124,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -140,6 +144,7 @@ go_gapic_library( grpc_service_config = "drivelabels_v2_grpc_service_config.json", importpath = "google.golang.org/google/apps/drive/labels/v2;labels", metadata = True, + release_level = "ga", rest_numeric_enums = True, service_yaml = "drivelabels_v2.yaml", transport = "grpc+rest", @@ -148,19 +153,13 @@ go_gapic_library( ], ) -go_test( - name = "labels_go_gapic_test", - srcs = [":labels_go_gapic_srcjar_test"], - embed = [":labels_go_gapic"], - importpath = "google.golang.org/google/apps/drive/labels/v2", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-drive-labels-v2-go", deps = [ ":labels_go_gapic", ":labels_go_gapic_srcjar-metadata.srcjar", + ":labels_go_gapic_srcjar-snippets.srcjar", ":labels_go_gapic_srcjar-test.srcjar", ":labels_go_proto", ], @@ -183,7 +182,8 @@ py_gapic_library( rest_numeric_enums = True, service_yaml = "drivelabels_v2.yaml", transport = "grpc+rest", - deps = [], + deps = [ + ], ) py_test( @@ -211,7 +211,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -220,21 +219,15 @@ php_proto_library( deps = [":labels_proto"], ) -php_grpc_library( - name = "labels_php_grpc", - srcs = [":labels_proto"], - deps = [":labels_php_proto"], -) - php_gapic_library( name = "labels_php_gapic", srcs = [":labels_proto_with_info"], grpc_service_config = "drivelabels_v2_grpc_service_config.json", + migration_mode = "PRE_MIGRATION_SURFACE_ONLY", rest_numeric_enums = True, service_yaml = "drivelabels_v2.yaml", transport = "grpc+rest", deps = [ - ":labels_php_grpc", ":labels_php_proto", ], ) @@ -244,7 +237,6 @@ php_gapic_assembly_pkg( name = "google-cloud-drive-labels-v2-php", deps = [ ":labels_php_gapic", - ":labels_php_grpc", ":labels_php_proto", ], ) @@ -304,12 +296,11 @@ ruby_grpc_library( ruby_cloud_gapic_library( name = "labels_ruby_gapic", srcs = [":labels_proto_with_info"], - extra_protoc_parameters = [ - "ruby-cloud-gem-name=google-cloud-drive-labels-v2", - ], + extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-drive-labels-v2"], grpc_service_config = "drivelabels_v2_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "drivelabels_v2.yaml", + transport = "grpc+rest", deps = [ ":labels_ruby_grpc", ":labels_ruby_proto", @@ -339,6 +330,7 @@ load( csharp_proto_library( name = "labels_csharp_proto", + extra_opts = [], deps = [":labels_proto"], ) diff --git a/third_party/googleapis/google/apps/drive/labels/v2/common.proto b/third_party/googleapis/google/apps/drive/labels/v2/common.proto index ca3a82e8a..5b7f726eb 100644 --- a/third_party/googleapis/google/apps/drive/labels/v2/common.proto +++ b/third_party/googleapis/google/apps/drive/labels/v2/common.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/apps/drive/labels/v2/drivelabels_v2.yaml b/third_party/googleapis/google/apps/drive/labels/v2/drivelabels_v2.yaml index f72affcc0..f934d318f 100644 --- a/third_party/googleapis/google/apps/drive/labels/v2/drivelabels_v2.yaml +++ b/third_party/googleapis/google/apps/drive/labels/v2/drivelabels_v2.yaml @@ -9,9 +9,52 @@ apis: documentation: summary: An API for managing Drive Labels -backend: +authentication: rules: + - selector: 'google.apps.drive.labels.v2.LabelService.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/drive.admin.labels, + https://www.googleapis.com/auth/drive.labels - selector: google.apps.drive.labels.v2.LabelService.GetLabel - deadline: 20.0 + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/drive.admin.labels, + https://www.googleapis.com/auth/drive.admin.labels.readonly, + https://www.googleapis.com/auth/drive.labels, + https://www.googleapis.com/auth/drive.labels.readonly + - selector: google.apps.drive.labels.v2.LabelService.GetLabelLimits + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/drive.admin.labels, + https://www.googleapis.com/auth/drive.admin.labels.readonly, + https://www.googleapis.com/auth/drive.labels, + https://www.googleapis.com/auth/drive.labels.readonly + - selector: google.apps.drive.labels.v2.LabelService.GetUserCapabilities + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/drive.admin.labels, + https://www.googleapis.com/auth/drive.admin.labels.readonly, + https://www.googleapis.com/auth/drive.labels, + https://www.googleapis.com/auth/drive.labels.readonly + - selector: google.apps.drive.labels.v2.LabelService.ListLabelLocks + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/drive.admin.labels, + https://www.googleapis.com/auth/drive.admin.labels.readonly, + https://www.googleapis.com/auth/drive.labels, + https://www.googleapis.com/auth/drive.labels.readonly + - selector: google.apps.drive.labels.v2.LabelService.ListLabelPermissions + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/drive.admin.labels, + https://www.googleapis.com/auth/drive.admin.labels.readonly, + https://www.googleapis.com/auth/drive.labels, + https://www.googleapis.com/auth/drive.labels.readonly - selector: google.apps.drive.labels.v2.LabelService.ListLabels - deadline: 20.0 + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/drive.admin.labels, + https://www.googleapis.com/auth/drive.admin.labels.readonly, + https://www.googleapis.com/auth/drive.labels, + https://www.googleapis.com/auth/drive.labels.readonly diff --git a/third_party/googleapis/google/apps/drive/labels/v2/drivelabels_v2_grpc_service_config.json b/third_party/googleapis/google/apps/drive/labels/v2/drivelabels_v2_grpc_service_config.json index 0036e1856..e50f9b359 100644 --- a/third_party/googleapis/google/apps/drive/labels/v2/drivelabels_v2_grpc_service_config.json +++ b/third_party/googleapis/google/apps/drive/labels/v2/drivelabels_v2_grpc_service_config.json @@ -1,8 +1,12 @@ { "methodConfig": [{ "name": [ + { "service": "google.apps.drive.labels.v2.LabelService.", "method": "GetUserCapabilities" }, { "service": "google.apps.drive.labels.v2.LabelService.", "method": "ListLabels" }, - { "service": "google.apps.drive.labels.v2.LabelService.", "method": "GetLabel" } + { "service": "google.apps.drive.labels.v2.LabelService.", "method": "GetLabel" }, + { "service": "google.apps.drive.labels.v2.LabelService.", "method": "GetLabelLimits" }, + { "service": "google.apps.drive.labels.v2.LabelService.", "method": "ListLabelPermissions" }, + { "service": "google.apps.drive.labels.v2.LabelService.", "method": "ListLabelLocks" } ], "timeout": "60s", "retryPolicy": { @@ -12,5 +16,22 @@ "backoffMultiplier": 1.3, "retryableStatusCodes": ["UNAVAILABLE"] } + }, + { + "name": [ + { "service": "google.apps.drive.labels.v2.LabelService.", "method": "CreateLabel" }, + { "service": "google.apps.drive.labels.v2.LabelService.", "method": "DeltaUpdateLabel" }, + { "service": "google.apps.drive.labels.v2.LabelService.", "method": "UpdateLabelCopyMode" }, + { "service": "google.apps.drive.labels.v2.LabelService.", "method": "PublishLabel" }, + { "service": "google.apps.drive.labels.v2.LabelService.", "method": "DisableLabel" }, + { "service": "google.apps.drive.labels.v2.LabelService.", "method": "EnableLabel" }, + { "service": "google.apps.drive.labels.v2.LabelService.", "method": "DeleteLabel" }, + { "service": "google.apps.drive.labels.v2.LabelService.", "method": "CreateLabelPermission" }, + { "service": "google.apps.drive.labels.v2.LabelService.", "method": "UpdateLabelPermission" }, + { "service": "google.apps.drive.labels.v2.LabelService.", "method": "DeleteLabelPermission" }, + { "service": "google.apps.drive.labels.v2.LabelService.", "method": "BatchUpdateLabelPermissions" }, + { "service": "google.apps.drive.labels.v2.LabelService.", "method": "BatchDeleteLabelPermissions" } + ], + "timeout": "60s" }] } \ No newline at end of file diff --git a/third_party/googleapis/google/apps/drive/labels/v2/error_details.proto b/third_party/googleapis/google/apps/drive/labels/v2/error_details.proto index 4d3d24672..a9efd74f3 100644 --- a/third_party/googleapis/google/apps/drive/labels/v2/error_details.proto +++ b/third_party/googleapis/google/apps/drive/labels/v2/error_details.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/apps/drive/labels/v2/exception_detail.proto b/third_party/googleapis/google/apps/drive/labels/v2/exception_detail.proto index 85ed24c7b..42ee1886d 100644 --- a/third_party/googleapis/google/apps/drive/labels/v2/exception_detail.proto +++ b/third_party/googleapis/google/apps/drive/labels/v2/exception_detail.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -108,10 +108,8 @@ enum ExceptionType { INTERNAL_SERVER_ERROR = 500; } -// Normalized internal-only message that identifies the exact exception that -// caused the error on the server. +// Exception detail. message ExceptionDetail { - // The type of exception that occurred. - // required + // The type of exception that occurred. Required. ExceptionType error_type = 1; } diff --git a/third_party/googleapis/google/apps/drive/labels/v2/field.proto b/third_party/googleapis/google/apps/drive/labels/v2/field.proto index 975381e7b..b2f6eaae1 100644 --- a/third_party/googleapis/google/apps/drive/labels/v2/field.proto +++ b/third_party/googleapis/google/apps/drive/labels/v2/field.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/apps/drive/labels/v2/label.proto b/third_party/googleapis/google/apps/drive/labels/v2/label.proto index 4ff29bcbf..d79996871 100644 --- a/third_party/googleapis/google/apps/drive/labels/v2/label.proto +++ b/third_party/googleapis/google/apps/drive/labels/v2/label.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -137,6 +137,10 @@ message Label { // Admin-owned label. Only creatable and editable by admins. Supports some // additional admin-only features. ADMIN = 2; + + // A label owned by an internal Google application rather than a customer. + // These labels are read-only. + GOOGLE_APP = 3; } // Output only. Resource name of the label. Will be in the form of either: @@ -190,6 +194,15 @@ message Label { google.protobuf.Timestamp disable_time = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The customer this label belongs to. + // For example: "customers/123abc789." + string customer = 13 [ + (google.api.field_behavior) = OUTPUT_ONLY, + (google.api.resource_reference) = { + type: "cloudidentity.googleapis.com/Customer" + } + ]; + // Required. The basic properties of the label. Properties properties = 14 [(google.api.field_behavior) = REQUIRED]; diff --git a/third_party/googleapis/google/apps/drive/labels/v2/label_permission.proto b/third_party/googleapis/google/apps/drive/labels/v2/label_permission.proto index f424e29b8..318c32884 100644 --- a/third_party/googleapis/google/apps/drive/labels/v2/label_permission.proto +++ b/third_party/googleapis/google/apps/drive/labels/v2/label_permission.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -31,6 +31,11 @@ option (google.api.resource_definition) = { // The permission that applies to a principal (user, group, audience) on a // label. message LabelPermission { + option (google.api.resource) = { + type: "drivelabels.googleapis.com/LabelPermission" + pattern: "labels/{label}/permissions/{permission}" + }; + // Roles are concentric with subsequent role. enum LabelRole { // Unknown role. @@ -52,4 +57,39 @@ message LabelPermission { // also deletes the associated Drive item metadata. Implies `APPLIER`. EDITOR = 4; } + + // The principal this permission applies to. Must be either an email, user, + // group, or audience. + // Example: + // * people/12345 + // * groups/45678 + // * audiences/default + oneof principal { + // Person resource name. + string person = 3 [ + (google.api.resource_reference) = { type: "people.googleapis.com/Person" } + ]; + + // Group resource name. + string group = 4 [ + (google.api.resource_reference) = { type: "groups.googleapis.com/Group" } + ]; + + // Audience to grant a role to. The magic value of `audiences/default` may + // be used to apply the role to the default audience in the context of the + // organization that owns the Label. + string audience = 5; + } + + // Resource name of this permission. + string name = 1; + + // Specifies the email address for a user or group pricinpal. Not populated + // for audience principals. User and Group permissions may only be inserted + // using email address. On update requests, if email address is specified, + // no principal should be specified. + string email = 2; + + // The role the principal should have. + LabelRole role = 6; } diff --git a/third_party/googleapis/google/apps/drive/labels/v2/label_service.proto b/third_party/googleapis/google/apps/drive/labels/v2/label_service.proto index 82e73df07..adb510935 100644 --- a/third_party/googleapis/google/apps/drive/labels/v2/label_service.proto +++ b/third_party/googleapis/google/apps/drive/labels/v2/label_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -19,7 +19,11 @@ package google.apps.drive.labels.v2; import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/apps/drive/labels/v2/label.proto"; +import "google/apps/drive/labels/v2/label_limits.proto"; +import "google/apps/drive/labels/v2/label_permission.proto"; import "google/apps/drive/labels/v2/requests.proto"; +import "google/apps/drive/labels/v2/user_capabilities.proto"; +import "google/protobuf/empty.proto"; option go_package = "google.golang.org/genproto/googleapis/apps/drive/labels/v2;labels"; option java_multiple_files = true; @@ -31,6 +35,20 @@ option objc_class_prefix = "DLBL"; // Google Drive to organize and find files using custom metadata. service LabelService { option (google.api.default_host) = "drivelabels.googleapis.com"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/drive.admin.labels," + "https://www.googleapis.com/auth/drive.admin.labels.readonly," + "https://www.googleapis.com/auth/drive.labels," + "https://www.googleapis.com/auth/drive.labels.readonly"; + + // Gets the user capabilities. + rpc GetUserCapabilities(GetUserCapabilitiesRequest) + returns (UserCapabilities) { + option (google.api.http) = { + get: "/v2/{name=users/*/capabilities}" + }; + option (google.api.method_signature) = "name"; + } // List labels. rpc ListLabels(ListLabelsRequest) returns (ListLabelsResponse) { @@ -54,4 +72,208 @@ service LabelService { }; option (google.api.method_signature) = "name"; } + + // Get the constraints on the structure of a Label; such as, the maximum + // number of Fields allowed and maximum length of the label title. + rpc GetLabelLimits(GetLabelLimitsRequest) returns (LabelLimits) { + option (google.api.http) = { + get: "/v2/limits/label" + }; + } + + // Creates a new Label. + rpc CreateLabel(CreateLabelRequest) returns (Label) { + option (google.api.http) = { + post: "/v2/labels" + body: "label" + }; + option (google.api.method_signature) = "label"; + } + + // Updates a single Label by applying a set of update requests resulting in a + // new draft revision. The batch update is all-or-nothing: If any of the + // update requests are invalid, no changes are applied. The resulting draft + // revision must be published before the changes may be used with Drive Items. + rpc DeltaUpdateLabel(DeltaUpdateLabelRequest) + returns (DeltaUpdateLabelResponse) { + option (google.api.http) = { + post: "/v2/{name=labels/*}:delta" + body: "*" + }; + option (google.api.method_signature) = "name"; + } + + // Updates a Label's `CopyMode`. Changes to this policy are not revisioned, do + // not require publishing, and take effect immediately. + rpc UpdateLabelCopyMode(UpdateLabelCopyModeRequest) returns (Label) { + option (google.api.http) = { + post: "/v2/{name=labels/*}:updateLabelCopyMode" + body: "*" + }; + option (google.api.method_signature) = "name"; + } + + // Publish all draft changes to the Label. Once published, the Label may not + // return to its draft state. See + // `google.apps.drive.labels.v2.Lifecycle` for more information. + // + // Publishing a Label will result in a new published revision. All previous + // draft revisions will be deleted. Previous published revisions will be kept + // but are subject to automated deletion as needed. + // + // Once published, some changes are no longer permitted. Generally, any change + // that would invalidate or cause new restrictions on existing metadata + // related to the Label will be rejected. For example, the following changes + // to a Label will be rejected after the Label is published: + // * The label cannot be directly deleted. It must be disabled first, then + // deleted. + // * Field.FieldType cannot be changed. + // * Changes to Field validation options cannot reject something that was + // previously accepted. + // * Reducing the max entries. + rpc PublishLabel(PublishLabelRequest) returns (Label) { + option (google.api.http) = { + post: "/v2/{name=labels/*}:publish" + body: "*" + }; + option (google.api.method_signature) = "name"; + } + + // Disable a published Label. + // Disabling a Label will result in a new disabled published revision based on + // the current published revision. If there is a draft revision, a new + // disabled draft revision will be created based on the latest draft revision. + // Older draft revisions will be deleted. + // + // Once disabled, a label may be deleted with `DeleteLabel`. + rpc DisableLabel(DisableLabelRequest) returns (Label) { + option (google.api.http) = { + post: "/v2/{name=labels/*}:disable" + body: "*" + }; + option (google.api.method_signature) = "name"; + } + + // Enable a disabled Label and restore it to its published state. + // This will result in a new published revision based on the current disabled + // published revision. If there is an existing disabled draft revision, a new + // revision will be created based on that draft and will be enabled. + rpc EnableLabel(EnableLabelRequest) returns (Label) { + option (google.api.http) = { + post: "/v2/{name=labels/*}:enable" + body: "*" + }; + option (google.api.method_signature) = "name"; + } + + // Permanently deletes a Label and related metadata on Drive Items. + // + // Once deleted, the Label and related Drive item metadata will be deleted. + // Only draft Labels, and disabled Labels may be deleted. + rpc DeleteLabel(DeleteLabelRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v2/{name=labels/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Lists a Label's permissions. + rpc ListLabelPermissions(ListLabelPermissionsRequest) + returns (ListLabelPermissionsResponse) { + option (google.api.http) = { + get: "/v2/{parent=labels/*}/permissions" + additional_bindings { + get: "/v2/{parent=labels/*/revisions/*}/permissions" + } + }; + option (google.api.method_signature) = "parent"; + } + + // Updates a Label's permissions. If a permission for the indicated principal + // doesn't exist, a new Label Permission is created, otherwise the existing + // permission is updated. Permissions affect the Label resource as a whole, + // are not revisioned, and do not require publishing. + rpc CreateLabelPermission(CreateLabelPermissionRequest) + returns (LabelPermission) { + option (google.api.http) = { + post: "/v2/{parent=labels/*}/permissions" + body: "label_permission" + additional_bindings { + post: "/v2/{parent=labels/*/revisions/*}/permissions" + body: "label_permission" + } + }; + option (google.api.method_signature) = "parent,label_permission"; + } + + // Updates a Label's permissions. If a permission for the indicated principal + // doesn't exist, a new Label Permission is created, otherwise the existing + // permission is updated. Permissions affect the Label resource as a whole, + // are not revisioned, and do not require publishing. + rpc UpdateLabelPermission(UpdateLabelPermissionRequest) + returns (LabelPermission) { + option (google.api.http) = { + patch: "/v2/{parent=labels/*}/permissions" + body: "label_permission" + additional_bindings { + patch: "/v2/{parent=labels/*/revisions/*}/permissions" + body: "label_permission" + } + }; + option (google.api.method_signature) = "parent"; + } + + // Deletes a Label's permission. Permissions affect the Label resource as a + // whole, are not revisioned, and do not require publishing. + rpc DeleteLabelPermission(DeleteLabelPermissionRequest) + returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v2/{name=labels/*/permissions/*}" + additional_bindings { + delete: "/v2/{name=labels/*/revisions/*/permissions/*}" + } + }; + option (google.api.method_signature) = "name"; + } + + // Updates Label permissions. If a permission for the + // indicated principal doesn't exist, a new Label Permission is created, + // otherwise the existing permission is updated. Permissions affect the Label + // resource as a whole, are not revisioned, and do not require publishing. + rpc BatchUpdateLabelPermissions(BatchUpdateLabelPermissionsRequest) + returns (BatchUpdateLabelPermissionsResponse) { + option (google.api.http) = { + post: "/v2/{parent=labels/*}/permissions:batchUpdate" + body: "*" + additional_bindings { + post: "/v2/{parent=labels/*/revisions/*}/permissions:batchUpdate" + body: "*" + } + }; + option (google.api.method_signature) = "parent"; + } + + // Deletes Label permissions. Permissions affect the Label resource as a + // whole, are not revisioned, and do not require publishing. + rpc BatchDeleteLabelPermissions(BatchDeleteLabelPermissionsRequest) + returns (google.protobuf.Empty) { + option (google.api.http) = { + post: "/v2/{parent=labels/*}/permissions:batchDelete" + body: "*" + additional_bindings { + post: "/v2/{parent=labels/*/revisions/*}/permissions:batchDelete" + body: "*" + } + }; + option (google.api.method_signature) = "parent"; + } + + // Lists the LabelLocks on a Label. + rpc ListLabelLocks(ListLabelLocksRequest) returns (ListLabelLocksResponse) { + option (google.api.http) = { + get: "/v2/{parent=labels/*}/locks" + additional_bindings { get: "/v2/{parent=labels/*/revisions/*}/locks" } + }; + option (google.api.method_signature) = "parent"; + } } diff --git a/third_party/googleapis/google/apps/drive/labels/v2/requests.proto b/third_party/googleapis/google/apps/drive/labels/v2/requests.proto index 7c01f01bc..332747746 100644 --- a/third_party/googleapis/google/apps/drive/labels/v2/requests.proto +++ b/third_party/googleapis/google/apps/drive/labels/v2/requests.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,8 +18,12 @@ package google.apps.drive.labels.v2; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/apps/drive/labels/v2/common.proto"; +import "google/apps/drive/labels/v2/field.proto"; import "google/apps/drive/labels/v2/label.proto"; +import "google/apps/drive/labels/v2/label_lock.proto"; import "google/apps/drive/labels/v2/label_permission.proto"; +import "google/protobuf/field_mask.proto"; option go_package = "google.golang.org/genproto/googleapis/apps/drive/labels/v2;labels"; option java_multiple_files = true; @@ -39,6 +43,55 @@ LABEL_VIEW_BASIC = 0; LABEL_VIEW_FULL = 1; } +// Provides control over how write requests are executed. When not specified, +// the last write wins. +message WriteControl { + // Determines the revision of the label to write to and how the request + // should behave if that revision is not the current revision of the + // label. + oneof control { + // The [revision_id][google.apps.drive.labels.v1.Label.revision_id] of the + // label that the write request will be applied to. If this is not the + // latest revision of the label, the request will not be processed and will + // return a 400 Bad Request error. + string required_revision_id = 1; + } +} + +// Request to get the capabilities for a user. +message GetUserCapabilitiesRequest { + // Required. The resource name of the user. Only "users/me/capabilities" is + // supported. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "drivelabels.googleapis.com/UserCapabilities" + } + ]; + + // The customer to scope this request to. + // For example: "customers/abcd1234". + // If unset, will return settings within the current customer. + string customer = 2 [(google.api.resource_reference) = { + type: "cloudidentity.googleapis.com/Customer" + }]; +} + +// Request to create a Label. +message CreateLabelRequest { + // Required. The label to create. + Label label = 1 [(google.api.field_behavior) = REQUIRED]; + + // Set to `true` in order to use the user's admin privileges. The server + // will verify the user is an admin before allowing access. + bool use_admin_access = 2; + + // The BCP-47 language code to use for evaluating localized Field labels in + // response. When not specified, values in the default configured language + // will be used. + string language_code = 3; +} + // Request to get a label by resource name. message GetLabelRequest { // Required. Label resource name. @@ -69,6 +122,383 @@ message GetLabelRequest { LabelView view = 4; } +// The set of requests for updating aspects of a Label. If any request is not +// valid, no requests will be applied. +message DeltaUpdateLabelRequest { + // A single kind of update to apply to a Label. + message Request { + // The kind of update. Exactly one Field is required. + oneof kind { + // Updates the Label properties. + UpdateLabelPropertiesRequest update_label = 1; + + // Creates a new Field. + CreateFieldRequest create_field = 2; + + // Updates basic properties of a Field. + UpdateFieldPropertiesRequest update_field = 3; + + // Update Field type and/or type options. + UpdateFieldTypeRequest update_field_type = 4; + + // Enables the Field. + EnableFieldRequest enable_field = 5; + + // Disables the Field. + DisableFieldRequest disable_field = 6; + + // Deletes a Field from the label. + DeleteFieldRequest delete_field = 7; + + // Creates Choice within a Selection field. + CreateSelectionChoiceRequest create_selection_choice = 8; + + // Update a Choice properties within a Selection Field. + UpdateSelectionChoicePropertiesRequest + update_selection_choice_properties = 9; + + // Enable a Choice within a Selection Field. + EnableSelectionChoiceRequest enable_selection_choice = 10; + + // Disable a Choice within a Selection Field. + DisableSelectionChoiceRequest disable_selection_choice = 11; + + // Delete a Choice within a Selection Field. + DeleteSelectionChoiceRequest delete_selection_choice = 12; + } + } + + // Updates basic properties of a Label. + message UpdateLabelPropertiesRequest { + // The fields that should be updated. At least one field must be specified. + // The root `label_properties` is implied and should not be specified. A + // single `*` can be used as short-hand for updating every field. + google.protobuf.FieldMask update_mask = 1; + + // Required. Label properties to update. + Label.Properties properties = 2 [(google.api.field_behavior) = REQUIRED]; + } + + // Request to disable the Field. + message DisableFieldRequest { + // The fields that should be updated. At least one field must be specified. + // The root `disabled_policy` is implied and should not be specified. A + // single `*` can be used as short-hand for updating every field. + google.protobuf.FieldMask update_mask = 1; + + // Required. Key of the Field to disable. + string id = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. Field Disabled Policy. + Lifecycle.DisabledPolicy disabled_policy = 3 + [(google.api.field_behavior) = REQUIRED]; + } + + // Request to enable the Field. + message EnableFieldRequest { + // Required. ID of the Field to enable. + string id = 1 [(google.api.field_behavior) = REQUIRED]; + } + + // Request to delete the Field. + message DeleteFieldRequest { + // Required. ID of the Field to delete. + string id = 1 [(google.api.field_behavior) = REQUIRED]; + } + + // Request to create a Field within a Label. + message CreateFieldRequest { + // Required. Field to create. + Field field = 1 [(google.api.field_behavior) = REQUIRED]; + } + + // Request to update Field properties. + message UpdateFieldPropertiesRequest { + // The fields that should be updated. At least one field must be specified. + // The root `properties` is implied and should not be specified. A single + // `*` can be used as short-hand for updating every field. + google.protobuf.FieldMask update_mask = 1; + + // Required. The Field to update. + string id = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. Basic Field properties. + Field.Properties properties = 3 [(google.api.field_behavior) = REQUIRED]; + } + + // Request to change the type of a Field. + message UpdateFieldTypeRequest { + oneof type_options { + // Update field to Text. + Field.TextOptions text_options = 3; + + // Update field to Integer. + Field.IntegerOptions integer_options = 5; + + // Update field to Date. + Field.DateOptions date_options = 6; + + // Update field to Selection. + Field.SelectionOptions selection_options = 7; + + // Update field to User. + Field.UserOptions user_options = 8; + } + + // The fields that should be updated. At least one field must be specified. + // The root of `type_options` is implied and should not be specified. A + // single `*` can be used as short-hand for updating every field. + google.protobuf.FieldMask update_mask = 1; + + // Required. The Field to update. + string id = 2 [(google.api.field_behavior) = REQUIRED]; + } + + // Request to create a Selection Choice. + message CreateSelectionChoiceRequest { + // Required. The Selection Field in which a Choice will be created. + string field_id = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The Choice to create. + Field.SelectionOptions.Choice choice = 2 + [(google.api.field_behavior) = REQUIRED]; + } + + // Request to update a Choice properties. + message UpdateSelectionChoicePropertiesRequest { + // The fields that should be updated. At least one field must be specified. + // The root `properties` is implied and should not be specified. A single + // `*` can be used as short-hand for updating every field. + google.protobuf.FieldMask update_mask = 1; + + // Required. The Selection Field to update. + string field_id = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The Choice to update. + string id = 3 [(google.api.field_behavior) = REQUIRED]; + + // Required. The Choice properties to update. + Field.SelectionOptions.Choice.Properties properties = 4 + [(google.api.field_behavior) = REQUIRED]; + } + + // Request to delete a Choice. + message DeleteSelectionChoiceRequest { + // Required. The Selection Field from which a Choice will be deleted. + string field_id = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. Choice to delete. + string id = 2 [(google.api.field_behavior) = REQUIRED]; + } + + // Request to disable a Choice. + message DisableSelectionChoiceRequest { + // The fields that should be updated. At least one field must be specified. + // The root `disabled_policy` is implied and should not be specified. A + // single `*` can be used as short-hand for updating every field. + google.protobuf.FieldMask update_mask = 1; + + // Required. The Selection Field in which a Choice will be disabled. + string field_id = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. Choice to disable. + string id = 3 [(google.api.field_behavior) = REQUIRED]; + + // Required. The disabled policy to update. + Lifecycle.DisabledPolicy disabled_policy = 4 + [(google.api.field_behavior) = REQUIRED]; + } + + // Request to enable a Choice. + message EnableSelectionChoiceRequest { + // Required. The Selection Field in which a Choice will be enabled. + string field_id = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. Choice to enable. + string id = 2 [(google.api.field_behavior) = REQUIRED]; + } + + // Required. The resource name of the Label to update. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "drivelabels.googleapis.com/Label" + } + ]; + + // Provides control over how write requests are executed. + WriteControl write_control = 2; + + // A list of updates to apply to the Label. + // Requests will be applied in the order they are specified. + repeated Request requests = 3; + + // Set to `true` in order to use the user's admin credentials. The server + // will verify the user is an admin for the Label before allowing access. + bool use_admin_access = 4; + + // When specified, only certain fields belonging to the indicated view will be + // returned. + LabelView view = 5; + + // The BCP-47 language code to use for evaluating localized Field labels when + // `include_label_in_response` is `true`. + string language_code = 6; +} + +// Response for Label update. +message DeltaUpdateLabelResponse { + // A single response from an update. + message Response { + // The response for the corresponding request. + oneof response { + // Updated basic properties of a Label. + UpdateLabelPropertiesResponse update_label = 1; + + // Creates a new Field. + CreateFieldResponse create_field = 2; + + // Updates basic properties of a Field. + UpdateFieldPropertiesResponse update_field = 3; + + // Update Field type and/or type options. + UpdateFieldTypeResponse update_field_type = 4; + + // Enables Field. + EnableFieldResponse enable_field = 5; + + // Disables Field. + DisableFieldResponse disable_field = 6; + + // Deletes a Field from the label. + DeleteFieldResponse delete_field = 7; + + // Creates a new selection list option to add to a Selection Field. + CreateSelectionChoiceResponse create_selection_choice = 8; + + // Updates a Choice within a Selection Field. + UpdateSelectionChoicePropertiesResponse + update_selection_choice_properties = 9; + + // Enables a Choice within a Selection Field. + EnableSelectionChoiceResponse enable_selection_choice = 10; + + // Disables a Choice within a Selection Field. + DisableSelectionChoiceResponse disable_selection_choice = 11; + + // Deletes a Choice from a Selection Field. + DeleteSelectionChoiceResponse delete_selection_choice = 12; + } + } + + // Response following update to Label properties. + message UpdateLabelPropertiesResponse {} + + // Response following Field create. + message CreateFieldResponse { + // The field of the created field. When left blank in a create request, + // a key will be autogenerated and can be identified here. + string id = 1; + + // The priority of the created field. The priority may change from what + // was specified to assure contiguous priorities between fields (1-n). + int32 priority = 2; + } + + // Response following update to Field properties. + message UpdateFieldPropertiesResponse { + // The priority of the updated field. The priority may change from what + // was specified to assure contiguous priorities between fields (1-n). + int32 priority = 1; + } + + // Response following update to Field type. + message UpdateFieldTypeResponse {} + + // Response following Field enable. + message EnableFieldResponse {} + + // Response following Field disable. + message DisableFieldResponse {} + + // Response following Field delete. + message DeleteFieldResponse {} + + // Response following Selection Choice create. + message CreateSelectionChoiceResponse { + // The server-generated id of the field. + string field_id = 1; + + // The server-generated ID of the created choice within the Field + string id = 2; + } + + // Response following update to Selection Choice properties. + message UpdateSelectionChoicePropertiesResponse { + // The priority of the updated choice. The priority may change from what + // was specified to assure contiguous priorities between choices (1-n). + int32 priority = 1; + } + + // Response following Choice enable. + message EnableSelectionChoiceResponse {} + + // Response following Choice disable. + message DisableSelectionChoiceResponse {} + + // Response following Choice delete. + message DeleteSelectionChoiceResponse {} + + // The reply of the updates. This maps 1:1 with the updates, although + // responses to some requests may be empty. + repeated Response responses = 1; + + // The label after updates were applied. This is only set if + // [BatchUpdateLabelResponse2.include_label_in_response] is `true` and there + // were no errors. + Label updated_label = 6; +} + +// Request to update the `CopyMode` of the given Label. Changes to this policy +// are not revisioned, do not require publishing, and take effect immediately. + // \ +message UpdateLabelCopyModeRequest { +// Required. The resource name of the Label to update. +string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "drivelabels.googleapis.com/Label" } +]; + +// Required. Indicates how the applied Label, and Field values should be copied +// when a Drive item is copied. +Label.AppliedLabelPolicy.CopyMode copy_mode = 2 + [(google.api.field_behavior) = REQUIRED]; + +// Set to `true` in order to use the user's admin credentials. The server +// will verify the user is an admin for the Label before allowing access. +bool use_admin_access = 3; + +// The BCP-47 language code to use for evaluating localized field labels. +// When not specified, values in the default configured language will be used. +string language_code = 4; + +// When specified, only certain fields belonging to the indicated view will be +// returned. +LabelView view = 5; +} + +// Request to get the limits for a Label. +message GetLabelLimitsRequest { + // Required. Label revision resource name + // Must be: "limits/label" + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "drivelabels.googleapis.com/Label" + } + ]; +} + // Request to list labels available to the current user. message ListLabelsRequest { oneof access { @@ -92,6 +522,13 @@ message ListLabelsRequest { // revision (`labels/{id}`). bool published_only = 1; + // The customer to scope this list request to. + // For example: "customers/abcd1234". + // If unset, will return all labels within the current customer. + string customer = 2 [(google.api.resource_reference) = { + type: "cloudidentity.googleapis.com/Customer" + }]; + // The BCP-47 language code to use for evaluating localized field labels. // When not specified, values in the default configured language are used. string language_code = 5; @@ -115,3 +552,269 @@ message ListLabelsResponse { // The token of the next page in the response. string next_page_token = 2; } + +// Creates or updates a permission on the Label. Permissions affect the Label +// resource as a whole, are not revisioned, and do not require publishing. +message CreateLabelPermissionRequest { + // Required. The parent Label resource name on the Label Permission is + // created. Format: labels/{label} + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "drivelabels.googleapis.com/Label" + } + ]; + + // Required. The permission to create or update on the Label. + LabelPermission label_permission = 2 [(google.api.field_behavior) = REQUIRED]; + + // Set to `true` in order to use the user's admin credentials. The server + // will verify the user is an admin for the Label before allowing access. + bool use_admin_access = 3; +} + +// Request to list the permissions on a Label. +message ListLabelPermissionsRequest { + // Required. The parent Label resource name on which Label Permission are + // listed. Format: labels/{label} + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "drivelabels.googleapis.com/Label" + } + ]; + + // Set to `true` in order to use the user's admin credentials. The server will + // verify the user is an admin for the Label before allowing access. + bool use_admin_access = 2; + + // Maximum number of permissions to return per page. Default: 50. Max: 200. + int32 page_size = 3; + + // The token of the page to return. + string page_token = 4; +} + +// Response for listing the permissions on a Label. +message ListLabelPermissionsResponse { + // Label permissions. + repeated LabelPermission label_permissions = 1; + + // The token of the next page in the response. + string next_page_token = 2; +} + +// Updates a Label Permission. Permissions affect the Label resource as a whole, +// are not revisioned, and do not require publishing. +message UpdateLabelPermissionRequest { + // Required. The parent Label resource name. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "drivelabels.googleapis.com/Label" + } + ]; + + // Required. The permission to create or update on the Label. + LabelPermission label_permission = 2 [(google.api.field_behavior) = REQUIRED]; + + // Set to `true` in order to use the user's admin credentials. The server + // will verify the user is an admin for the Label before allowing access. + bool use_admin_access = 3; +} + +// Deletes a Label Permission. Permissions affect the Label resource as a whole, +// are not revisioned, and do not require publishing. +message DeleteLabelPermissionRequest { + // Required. Label Permission resource name. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "drivelabels.googleapis.com/LabelPermission" + } + ]; + + // Set to `true` in order to use the user's admin credentials. The server + // will verify the user is an admin for the Label before allowing access. + bool use_admin_access = 2; +} + +// Updates one or more Label Permissions. +message BatchUpdateLabelPermissionsRequest { + // Required. The parent Label resource name shared by all permissions being + // updated. Format: labels/{label} If this is set, the parent field in the + // UpdateLabelPermissionRequest messages must either be empty or match this + // field. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "drivelabels.googleapis.com/Label" + } + ]; + + // Required. The request message specifying the resources to update. + repeated UpdateLabelPermissionRequest requests = 2 + [(google.api.field_behavior) = REQUIRED]; + + // Set to `true` in order to use the user's admin credentials. The server + // will verify the user is an admin for the Label before allowing access. + // If this is set, the use_admin_access field in the + // UpdateLabelPermissionRequest messages must either be empty or match this + // field. + bool use_admin_access = 3; +} + +// Response for updating one or more Label Permissions. +message BatchUpdateLabelPermissionsResponse { + // Required. Permissions updated. + repeated LabelPermission permissions = 1 + [(google.api.field_behavior) = REQUIRED]; +} + +// Deletes one of more Label Permissions. +message BatchDeleteLabelPermissionsRequest { + // Required. The request message specifying the resources to update. + repeated DeleteLabelPermissionRequest requests = 1 + [(google.api.field_behavior) = REQUIRED]; + + // Set to `true` in order to use the user's admin credentials. The server + // will verify the user is an admin for the Label before allowing access. + // If this is set, the use_admin_access field in the + // DeleteLabelPermissionRequest messages must either be empty or match this + // field. + bool use_admin_access = 2; + + // Required. The parent Label resource name shared by all permissions being + // deleted. Format: labels/{label} If this is set, the parent field in the + // UpdateLabelPermissionRequest messages must either be empty or match this + // field. + string parent = 3 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "drivelabels.googleapis.com/Label" + } + ]; +} + +// Request to deprecate a published Label. +message DisableLabelRequest { + // The fields that should be updated. At least one field must be specified. + // The root `disabled_policy` is implied and should not be specified. A + // single `*` can be used as short-hand for updating every field. + google.protobuf.FieldMask update_mask = 1; + + // Required. Label resource name. + string name = 2 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "drivelabels.googleapis.com/Label" + } + ]; + + // Set to `true` in order to use the user's admin credentials. The server + // will verify the user is an admin for the Label before allowing access. + bool use_admin_access = 3; + + // Provides control over how write requests are executed. Defaults to unset, + // which means last write wins. + WriteControl write_control = 4; + + // Disabled policy to use. + Lifecycle.DisabledPolicy disabled_policy = 5; + + // The BCP-47 language code to use for evaluating localized field labels. + // When not specified, values in the default configured language will be used. + string language_code = 6; +} + +// Request to publish a label. +message PublishLabelRequest { + // Required. Label resource name. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "drivelabels.googleapis.com/Label" + } + ]; + + // Set to `true` in order to use the user's admin credentials. The server + // will verify the user is an admin for the Label before allowing access. + bool use_admin_access = 2; + + // Provides control over how write requests are executed. Defaults to unset, + // which means last write wins. + WriteControl write_control = 3; + + // The BCP-47 language code to use for evaluating localized field labels. + // When not specified, values in the default configured language will be used. + string language_code = 4; +} + +// Request to enable a label. +message EnableLabelRequest { + // Required. Label resource name. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "drivelabels.googleapis.com/Label" + } + ]; + + // Set to `true` in order to use the user's admin credentials. The server + // will verify the user is an admin for the Label before allowing access. + bool use_admin_access = 2; + + // Provides control over how write requests are executed. Defaults to unset, + // which means last write wins. + WriteControl write_control = 3; + + // The BCP-47 language code to use for evaluating localized field labels. + // When not specified, values in the default configured language will be used. + string language_code = 4; +} + +// Request to delete a label. +message DeleteLabelRequest { + // Required. Label resource name. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "drivelabels.googleapis.com/Label" + } + ]; + + // Set to `true` in order to use the user's admin credentials. The server + // will verify the user is an admin for the Label before allowing access. + bool use_admin_access = 2; + + // Provides control over how write requests are executed. Defaults to unset, + // which means last write wins. + WriteControl write_control = 3; +} + +// A request to list the LabelLocks on a Label. +message ListLabelLocksRequest { + // Required. Label on which Locks are applied. + // Format: labels/{label} + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "drivelabels.googleapis.com/Label" + } + ]; + + // Maximum number of Locks to return per page. Default: 100. Max: 200. + int32 page_size = 2; + + // The token of the page to return. + string page_token = 3; +} + +// The response to a ListLabelLocksRequest. +message ListLabelLocksResponse { + // LabelLocks. + repeated LabelLock label_locks = 1; + + // The token of the next page in the response. + string next_page_token = 2; +} diff --git a/third_party/googleapis/google/apps/drive/labels/v2beta/BUILD.bazel b/third_party/googleapis/google/apps/drive/labels/v2beta/BUILD.bazel index 829098b8b..b31a63b20 100644 --- a/third_party/googleapis/google/apps/drive/labels/v2beta/BUILD.bazel +++ b/third_party/googleapis/google/apps/drive/labels/v2beta/BUILD.bazel @@ -124,7 +124,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -145,6 +144,7 @@ go_gapic_library( grpc_service_config = "drivelabels_v2beta_grpc_service_config.json", importpath = "google.golang.org/google/apps/drive/labels/v2beta;labels", metadata = True, + release_level = "beta", rest_numeric_enums = True, service_yaml = "drivelabels_v2beta.yaml", transport = "grpc+rest", @@ -153,19 +153,13 @@ go_gapic_library( ], ) -go_test( - name = "labels_go_gapic_test", - srcs = [":labels_go_gapic_srcjar_test"], - embed = [":labels_go_gapic"], - importpath = "google.golang.org/google/apps/drive/labels/v2beta", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-drive-labels-v2beta-go", deps = [ ":labels_go_gapic", ":labels_go_gapic_srcjar-metadata.srcjar", + ":labels_go_gapic_srcjar-snippets.srcjar", ":labels_go_gapic_srcjar-test.srcjar", ":labels_go_proto", ], @@ -188,7 +182,8 @@ py_gapic_library( rest_numeric_enums = True, service_yaml = "drivelabels_v2beta.yaml", transport = "grpc+rest", - deps = [], + deps = [ + ], ) py_test( @@ -216,7 +211,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -225,21 +219,15 @@ php_proto_library( deps = [":labels_proto"], ) -php_grpc_library( - name = "labels_php_grpc", - srcs = [":labels_proto"], - deps = [":labels_php_proto"], -) - php_gapic_library( name = "labels_php_gapic", srcs = [":labels_proto_with_info"], grpc_service_config = "drivelabels_v2beta_grpc_service_config.json", + migration_mode = "PRE_MIGRATION_SURFACE_ONLY", rest_numeric_enums = True, service_yaml = "drivelabels_v2beta.yaml", transport = "grpc+rest", deps = [ - ":labels_php_grpc", ":labels_php_proto", ], ) @@ -249,7 +237,6 @@ php_gapic_assembly_pkg( name = "google-cloud-drive-labels-v2beta-php", deps = [ ":labels_php_gapic", - ":labels_php_grpc", ":labels_php_proto", ], ) @@ -309,12 +296,11 @@ ruby_grpc_library( ruby_cloud_gapic_library( name = "labels_ruby_gapic", srcs = [":labels_proto_with_info"], - extra_protoc_parameters = [ - "ruby-cloud-gem-name=google-cloud-drive-labels-v2beta", - ], + extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-drive-labels-v2beta"], grpc_service_config = "drivelabels_v2beta_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "drivelabels_v2beta.yaml", + transport = "grpc+rest", deps = [ ":labels_ruby_grpc", ":labels_ruby_proto", @@ -344,6 +330,7 @@ load( csharp_proto_library( name = "labels_csharp_proto", + extra_opts = [], deps = [":labels_proto"], ) diff --git a/third_party/googleapis/google/apps/drive/labels/v2beta/common.proto b/third_party/googleapis/google/apps/drive/labels/v2beta/common.proto index 345a04b13..d932ffa39 100644 --- a/third_party/googleapis/google/apps/drive/labels/v2beta/common.proto +++ b/third_party/googleapis/google/apps/drive/labels/v2beta/common.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/apps/drive/labels/v2beta/drivelabels_v2beta.yaml b/third_party/googleapis/google/apps/drive/labels/v2beta/drivelabels_v2beta.yaml index 660d7447d..cf910a5e1 100644 --- a/third_party/googleapis/google/apps/drive/labels/v2beta/drivelabels_v2beta.yaml +++ b/third_party/googleapis/google/apps/drive/labels/v2beta/drivelabels_v2beta.yaml @@ -9,7 +9,52 @@ apis: documentation: summary: An API for managing Drive Labels -backend: +authentication: rules: - selector: 'google.apps.drive.labels.v2beta.LabelService.*' - deadline: 20.0 + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/drive.admin.labels, + https://www.googleapis.com/auth/drive.labels + - selector: google.apps.drive.labels.v2beta.LabelService.GetLabel + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/drive.admin.labels, + https://www.googleapis.com/auth/drive.admin.labels.readonly, + https://www.googleapis.com/auth/drive.labels, + https://www.googleapis.com/auth/drive.labels.readonly + - selector: google.apps.drive.labels.v2beta.LabelService.GetLabelLimits + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/drive.admin.labels, + https://www.googleapis.com/auth/drive.admin.labels.readonly, + https://www.googleapis.com/auth/drive.labels, + https://www.googleapis.com/auth/drive.labels.readonly + - selector: google.apps.drive.labels.v2beta.LabelService.GetUserCapabilities + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/drive.admin.labels, + https://www.googleapis.com/auth/drive.admin.labels.readonly, + https://www.googleapis.com/auth/drive.labels, + https://www.googleapis.com/auth/drive.labels.readonly + - selector: google.apps.drive.labels.v2beta.LabelService.ListLabelLocks + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/drive.admin.labels, + https://www.googleapis.com/auth/drive.admin.labels.readonly, + https://www.googleapis.com/auth/drive.labels, + https://www.googleapis.com/auth/drive.labels.readonly + - selector: google.apps.drive.labels.v2beta.LabelService.ListLabelPermissions + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/drive.admin.labels, + https://www.googleapis.com/auth/drive.admin.labels.readonly, + https://www.googleapis.com/auth/drive.labels, + https://www.googleapis.com/auth/drive.labels.readonly + - selector: google.apps.drive.labels.v2beta.LabelService.ListLabels + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/drive.admin.labels, + https://www.googleapis.com/auth/drive.admin.labels.readonly, + https://www.googleapis.com/auth/drive.labels, + https://www.googleapis.com/auth/drive.labels.readonly diff --git a/third_party/googleapis/google/apps/drive/labels/v2beta/error_details.proto b/third_party/googleapis/google/apps/drive/labels/v2beta/error_details.proto index 561a4af18..79ef17fc4 100644 --- a/third_party/googleapis/google/apps/drive/labels/v2beta/error_details.proto +++ b/third_party/googleapis/google/apps/drive/labels/v2beta/error_details.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/apps/drive/labels/v2beta/exception_detail.proto b/third_party/googleapis/google/apps/drive/labels/v2beta/exception_detail.proto index 289e44468..420b0dd85 100644 --- a/third_party/googleapis/google/apps/drive/labels/v2beta/exception_detail.proto +++ b/third_party/googleapis/google/apps/drive/labels/v2beta/exception_detail.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -108,10 +108,8 @@ enum ExceptionType { INTERNAL_SERVER_ERROR = 500; } -// Normalized internal-only message that identifies the exact exception that -// caused the error on the server. +// Exception detail. message ExceptionDetail { - // The type of exception that occurred. - // required + // The type of exception that occurred. Required. ExceptionType error_type = 1; } diff --git a/third_party/googleapis/google/apps/drive/labels/v2beta/field.proto b/third_party/googleapis/google/apps/drive/labels/v2beta/field.proto index da3dd2991..938126f26 100644 --- a/third_party/googleapis/google/apps/drive/labels/v2beta/field.proto +++ b/third_party/googleapis/google/apps/drive/labels/v2beta/field.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -107,15 +107,6 @@ message Field { int32 max_length = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; } - // Options the Long Text field type. - message LongTextOptions { - // Output only. The minimum valid length of values for the text field. - int32 min_length = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The maximum valid length of values for the text field. - int32 max_length = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - } - // Options for the Integer field type. message IntegerOptions { // Output only. The minimum valid value for the integer field. diff --git a/third_party/googleapis/google/apps/drive/labels/v2beta/label.proto b/third_party/googleapis/google/apps/drive/labels/v2beta/label.proto index 939c77984..c13b10cf2 100644 --- a/third_party/googleapis/google/apps/drive/labels/v2beta/label.proto +++ b/third_party/googleapis/google/apps/drive/labels/v2beta/label.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -137,6 +137,10 @@ message Label { // Admin-owned label. Only creatable and editable by admins. Supports some // additional admin-only features. ADMIN = 2; + + // A label owned by an internal Google application rather than a customer. + // These labels are read-only. + GOOGLE_APP = 3; } // Output only. Resource name of the label. Will be in the form of either: @@ -190,6 +194,15 @@ message Label { google.protobuf.Timestamp disable_time = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The customer this label belongs to. + // For example: "customers/123abc789." + string customer = 13 [ + (google.api.field_behavior) = OUTPUT_ONLY, + (google.api.resource_reference) = { + type: "cloudidentity.googleapis.com/Customer" + } + ]; + // Required. The basic properties of the label. Properties properties = 14 [(google.api.field_behavior) = REQUIRED]; diff --git a/third_party/googleapis/google/apps/drive/labels/v2beta/label_limits.proto b/third_party/googleapis/google/apps/drive/labels/v2beta/label_limits.proto index e29481685..c73c1952e 100644 --- a/third_party/googleapis/google/apps/drive/labels/v2beta/label_limits.proto +++ b/third_party/googleapis/google/apps/drive/labels/v2beta/label_limits.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/apps/drive/labels/v2beta/label_lock.proto b/third_party/googleapis/google/apps/drive/labels/v2beta/label_lock.proto index 5b658de00..811b5f816 100644 --- a/third_party/googleapis/google/apps/drive/labels/v2beta/label_lock.proto +++ b/third_party/googleapis/google/apps/drive/labels/v2beta/label_lock.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/apps/drive/labels/v2beta/label_permission.proto b/third_party/googleapis/google/apps/drive/labels/v2beta/label_permission.proto index 56ace7f4f..5b1377cab 100644 --- a/third_party/googleapis/google/apps/drive/labels/v2beta/label_permission.proto +++ b/third_party/googleapis/google/apps/drive/labels/v2beta/label_permission.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/apps/drive/labels/v2beta/label_service.proto b/third_party/googleapis/google/apps/drive/labels/v2beta/label_service.proto index 327c6d566..c5457ea40 100644 --- a/third_party/googleapis/google/apps/drive/labels/v2beta/label_service.proto +++ b/third_party/googleapis/google/apps/drive/labels/v2beta/label_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -35,6 +35,11 @@ option objc_class_prefix = "DLBL"; // Google Drive to organize and find files using custom metadata. service LabelService { option (google.api.default_host) = "drivelabels.googleapis.com"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/drive.admin.labels," + "https://www.googleapis.com/auth/drive.admin.labels.readonly," + "https://www.googleapis.com/auth/drive.labels," + "https://www.googleapis.com/auth/drive.labels.readonly"; // Gets the user capabilities. rpc GetUserCapabilities(GetUserCapabilitiesRequest) diff --git a/third_party/googleapis/google/apps/drive/labels/v2beta/requests.proto b/third_party/googleapis/google/apps/drive/labels/v2beta/requests.proto index 736b87598..32d289e28 100644 --- a/third_party/googleapis/google/apps/drive/labels/v2beta/requests.proto +++ b/third_party/googleapis/google/apps/drive/labels/v2beta/requests.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -68,6 +68,13 @@ message GetUserCapabilitiesRequest { type: "drivelabels.googleapis.com/UserCapabilities" } ]; + + // The customer to scope this request to. + // For example: "customers/abcd1234". + // If unset, will return settings within the current customer. + string customer = 2 [(google.api.resource_reference) = { + type: "cloudidentity.googleapis.com/Customer" + }]; } // Request to create a Label. @@ -225,9 +232,6 @@ message DeltaUpdateLabelRequest { // Update field to Text. Field.TextOptions text_options = 3; - // Update field to Long Text. - Field.LongTextOptions long_text_options = 4; - // Update field to Integer. Field.IntegerOptions integer_options = 5; @@ -518,6 +522,13 @@ message ListLabelsRequest { // revision (`labels/{id}`). bool published_only = 1; + // The customer to scope this list request to. + // For example: "customers/abcd1234". + // If unset, will return all labels within the current customer. + string customer = 2 [(google.api.resource_reference) = { + type: "cloudidentity.googleapis.com/Customer" + }]; + // The BCP-47 language code to use for evaluating localized field labels. // When not specified, values in the default configured language are used. string language_code = 5; diff --git a/third_party/googleapis/google/apps/drive/labels/v2beta/user_capabilities.proto b/third_party/googleapis/google/apps/drive/labels/v2beta/user_capabilities.proto index a661ce6b5..6f49d4753 100644 --- a/third_party/googleapis/google/apps/drive/labels/v2beta/user_capabilities.proto +++ b/third_party/googleapis/google/apps/drive/labels/v2beta/user_capabilities.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/apps/market/v2/BUILD.bazel b/third_party/googleapis/google/apps/market/v2/BUILD.bazel index 7d878f070..385a01d26 100644 --- a/third_party/googleapis/google/apps/market/v2/BUILD.bazel +++ b/third_party/googleapis/google/apps/market/v2/BUILD.bazel @@ -22,7 +22,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -32,7 +31,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -83,6 +81,7 @@ java_gapic_library( srcs = [":marketplace_proto_with_info"], grpc_service_config = "service_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "appsmarket_v2.yaml", test_deps = [ ":marketplace_java_grpc", ], @@ -141,19 +140,13 @@ go_gapic_library( ], ) -go_test( - name = "marketplace_go_gapic_test", - srcs = [":marketplace_go_gapic_srcjar_test"], - embed = [":marketplace_go_gapic"], - importpath = "google.golang.org/ccc/hosted/marketplace/v2", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-hosted-marketplace-v2-go", deps = [ ":marketplace_go_gapic", ":marketplace_go_gapic_srcjar-metadata.srcjar", + ":marketplace_go_gapic_srcjar-snippets.srcjar", ":marketplace_go_gapic_srcjar-test.srcjar", ":marketplace_go_proto", ], @@ -191,12 +184,6 @@ php_proto_library( deps = [":marketplace_proto"], ) -php_grpc_library( - name = "marketplace_php_grpc", - srcs = [":marketplace_proto"], - deps = [":marketplace_php_proto"], -) - php_gapic_library( name = "marketplace_php_gapic", srcs = [":marketplace_proto_with_info"], @@ -204,10 +191,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "appsmarket_v2.yaml", transport = "grpc+rest", - deps = [ - ":marketplace_php_grpc", - ":marketplace_php_proto", - ], + deps = [":marketplace_php_proto"], ) # Open Source Packages @@ -215,7 +199,6 @@ php_gapic_assembly_pkg( name = "google-cloud-hosted-marketplace-v2-php", deps = [ ":marketplace_php_gapic", - ":marketplace_php_grpc", ":marketplace_php_proto", ], ) @@ -261,6 +244,7 @@ ruby_cloud_gapic_library( grpc_service_config = "service_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "appsmarket_v2.yaml", + transport = "grpc+rest", deps = [ ":marketplace_ruby_grpc", ":marketplace_ruby_proto", diff --git a/third_party/googleapis/google/apps/script/type/BUILD.bazel b/third_party/googleapis/google/apps/script/type/BUILD.bazel index 898b31236..ff4f3eeff 100644 --- a/third_party/googleapis/google/apps/script/type/BUILD.bazel +++ b/third_party/googleapis/google/apps/script/type/BUILD.bazel @@ -17,7 +17,6 @@ load( "java_gapic_assembly_gradle_pkg", "java_grpc_library", "java_proto_library", - "php_grpc_library", "php_proto_library", "ruby_grpc_library", "ruby_proto_library", @@ -97,12 +96,6 @@ py_gapic_assembly_pkg( name = "type-py", deps = [ ":type_py_gapic", - "//google/apps/script/type/calendar:calendar_py_gapic", - "//google/apps/script/type/docs:docs_py_gapic", - "//google/apps/script/type/drive:drive_py_gapic", - "//google/apps/script/type/gmail:gmail_py_gapic", - "//google/apps/script/type/sheets:sheets_py_gapic", - "//google/apps/script/type/slides:slides_py_gapic", ], ) @@ -114,12 +107,6 @@ php_proto_library( deps = [":type_proto"], ) -php_grpc_library( - name = "type_php_grpc", - srcs = [":type_proto"], - deps = [":type_php_proto"], -) - ruby_proto_library( name = "type_ruby_proto", deps = [":type_proto"], diff --git a/third_party/googleapis/google/apps/script/type/calendar/BUILD.bazel b/third_party/googleapis/google/apps/script/type/calendar/BUILD.bazel index afda2f0c2..1e21fce7f 100644 --- a/third_party/googleapis/google/apps/script/type/calendar/BUILD.bazel +++ b/third_party/googleapis/google/apps/script/type/calendar/BUILD.bazel @@ -16,7 +16,6 @@ load( "java_gapic_assembly_gradle_pkg", "java_grpc_library", "java_proto_library", - "php_grpc_library", "php_proto_library", "ruby_grpc_library", "ruby_proto_library", @@ -91,11 +90,14 @@ py_gapic_library( srcs = [":calendar_proto"], rest_numeric_enums = False, transport = "grpc", + opt_args = [ + "proto-plus-deps=google.apps.script.type", + ], ) # Open Source Packages py_gapic_assembly_pkg( - name = "calendar-gapic", + name = "calendar-py", deps = [ ":calendar_py_gapic", ], @@ -109,12 +111,6 @@ php_proto_library( deps = [":calendar_proto"], ) -php_grpc_library( - name = "calendar_php_grpc", - srcs = [":calendar_proto"], - deps = [":calendar_php_proto"], -) - ruby_proto_library( name = "calendar_ruby_proto", deps = [":calendar_proto"], diff --git a/third_party/googleapis/google/apps/script/type/docs/BUILD.bazel b/third_party/googleapis/google/apps/script/type/docs/BUILD.bazel index ae9815b8a..006512a17 100644 --- a/third_party/googleapis/google/apps/script/type/docs/BUILD.bazel +++ b/third_party/googleapis/google/apps/script/type/docs/BUILD.bazel @@ -16,7 +16,6 @@ load( "java_gapic_assembly_gradle_pkg", "java_grpc_library", "java_proto_library", - "php_grpc_library", "php_proto_library", "ruby_grpc_library", "ruby_proto_library", @@ -91,11 +90,14 @@ py_gapic_library( srcs = [":docs_proto"], rest_numeric_enums = False, transport = "grpc", + opt_args = [ + "proto-plus-deps=google.apps.script.type", + ], ) # Open Source Packages py_gapic_assembly_pkg( - name = "docs-gapic", + name = "docs-py", deps = [ ":docs_py_gapic", ], @@ -109,12 +111,6 @@ php_proto_library( deps = [":docs_proto"], ) -php_grpc_library( - name = "docs_php_grpc", - srcs = [":docs_proto"], - deps = [":docs_php_proto"], -) - ruby_proto_library( name = "docs_ruby_proto", deps = [":docs_proto"], diff --git a/third_party/googleapis/google/apps/script/type/drive/BUILD.bazel b/third_party/googleapis/google/apps/script/type/drive/BUILD.bazel index 9031c9e7e..edf73b903 100644 --- a/third_party/googleapis/google/apps/script/type/drive/BUILD.bazel +++ b/third_party/googleapis/google/apps/script/type/drive/BUILD.bazel @@ -16,7 +16,6 @@ load( "java_gapic_assembly_gradle_pkg", "java_grpc_library", "java_proto_library", - "php_grpc_library", "php_proto_library", "ruby_grpc_library", "ruby_proto_library", @@ -89,11 +88,14 @@ py_gapic_library( srcs = [":drive_proto"], rest_numeric_enums = False, transport = "grpc", + opt_args = [ + "proto-plus-deps=google.apps.script.type", + ], ) # Open Source Packages py_gapic_assembly_pkg( - name = "drive-gapic", + name = "drive-py", deps = [ ":drive_py_gapic", ], @@ -107,12 +109,6 @@ php_proto_library( deps = [":drive_proto"], ) -php_grpc_library( - name = "drive_php_grpc", - srcs = [":drive_proto"], - deps = [":drive_php_proto"], -) - ruby_proto_library( name = "drive_ruby_proto", deps = [":drive_proto"], diff --git a/third_party/googleapis/google/apps/script/type/gmail/BUILD.bazel b/third_party/googleapis/google/apps/script/type/gmail/BUILD.bazel index ad90a72f1..c47d9eeab 100644 --- a/third_party/googleapis/google/apps/script/type/gmail/BUILD.bazel +++ b/third_party/googleapis/google/apps/script/type/gmail/BUILD.bazel @@ -16,7 +16,6 @@ load( "java_gapic_assembly_gradle_pkg", "java_grpc_library", "java_proto_library", - "php_grpc_library", "php_proto_library", "ruby_grpc_library", "ruby_proto_library", @@ -90,11 +89,14 @@ py_gapic_library( srcs = [":gmail_proto"], rest_numeric_enums = False, transport = "grpc", + opt_args = [ + "proto-plus-deps=google.apps.script.type", + ], ) # Open Source Packages py_gapic_assembly_pkg( - name = "gmail-gapic", + name = "gmail-py", deps = [ ":gmail_py_gapic", ], @@ -108,12 +110,6 @@ php_proto_library( deps = [":gmail_proto"], ) -php_grpc_library( - name = "gmail_php_grpc", - srcs = [":gmail_proto"], - deps = [":gmail_php_proto"], -) - ruby_proto_library( name = "gmail_ruby_proto", deps = [":gmail_proto"], diff --git a/third_party/googleapis/google/apps/script/type/sheets/BUILD.bazel b/third_party/googleapis/google/apps/script/type/sheets/BUILD.bazel index b5177bdda..f050af907 100644 --- a/third_party/googleapis/google/apps/script/type/sheets/BUILD.bazel +++ b/third_party/googleapis/google/apps/script/type/sheets/BUILD.bazel @@ -16,7 +16,6 @@ load( "java_gapic_assembly_gradle_pkg", "java_grpc_library", "java_proto_library", - "php_grpc_library", "php_proto_library", "ruby_grpc_library", "ruby_proto_library", @@ -91,11 +90,14 @@ py_gapic_library( srcs = [":sheets_proto"], rest_numeric_enums = False, transport = "grpc", + opt_args = [ + "proto-plus-deps=google.apps.script.type", + ], ) # Open Source Packages py_gapic_assembly_pkg( - name = "sheets-gapic", + name = "sheets-py", deps = [ ":sheets_py_gapic", ], @@ -109,12 +111,6 @@ php_proto_library( deps = [":sheets_proto"], ) -php_grpc_library( - name = "sheets_php_grpc", - srcs = [":sheets_proto"], - deps = [":sheets_php_proto"], -) - ruby_proto_library( name = "sheets_ruby_proto", deps = [":sheets_proto"], diff --git a/third_party/googleapis/google/apps/script/type/slides/BUILD.bazel b/third_party/googleapis/google/apps/script/type/slides/BUILD.bazel index 1d1472247..ac41bb50c 100644 --- a/third_party/googleapis/google/apps/script/type/slides/BUILD.bazel +++ b/third_party/googleapis/google/apps/script/type/slides/BUILD.bazel @@ -16,7 +16,6 @@ load( "java_gapic_assembly_gradle_pkg", "java_grpc_library", "java_proto_library", - "php_grpc_library", "php_proto_library", "ruby_grpc_library", "ruby_proto_library", @@ -91,11 +90,14 @@ py_gapic_library( srcs = [":slides_proto"], rest_numeric_enums = False, transport = "grpc", + opt_args = [ + "proto-plus-deps=google.apps.script.type", + ], ) # Open Source Packages py_gapic_assembly_pkg( - name = "slides-gapic", + name = "slides-py", deps = [ ":slides_py_gapic", ], @@ -109,12 +111,6 @@ php_proto_library( deps = [":slides_proto"], ) -php_grpc_library( - name = "slides_php_grpc", - srcs = [":slides_proto"], - deps = [":slides_php_proto"], -) - ruby_proto_library( name = "slides_ruby_proto", deps = [":slides_proto"], diff --git a/third_party/googleapis/google/area120/tables/BUILD.bazel b/third_party/googleapis/google/area120/tables/BUILD.bazel index 3814ace03..564b569b0 100644 --- a/third_party/googleapis/google/area120/tables/BUILD.bazel +++ b/third_party/googleapis/google/area120/tables/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-area120-tables", "ruby-cloud-env-prefix=AREA120_TABLES", - "ruby-cloud-wrapper-of=v1alpha1:0.0", + "ruby-cloud-wrapper-of=v1alpha1:0.7", "ruby-cloud-product-url=https://tables.area120.google.com/u/0/about#/", "ruby-cloud-api-id=area120tables.googleapis.com", "ruby-cloud-api-shortname=area120tables", ], ruby_cloud_description = "Using the Area 120 Tables API, you can query for tables, and update/create/delete rows within tables programmatically.", ruby_cloud_title = "Area 120 Tables", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/area120/tables/v1alpha1/BUILD.bazel b/third_party/googleapis/google/area120/tables/v1alpha1/BUILD.bazel index 5b424024f..e56a96c67 100644 --- a/third_party/googleapis/google/area120/tables/v1alpha1/BUILD.bazel +++ b/third_party/googleapis/google/area120/tables/v1alpha1/BUILD.bazel @@ -22,7 +22,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -32,7 +31,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -88,6 +86,7 @@ java_gapic_library( gapic_yaml = "language_gapic.yaml", grpc_service_config = "tables_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "area120tables_v1alpha1.yaml", test_deps = [ ":tables_java_grpc", ], @@ -122,7 +121,7 @@ java_gapic_assembly_gradle_pkg( go_proto_library( name = "tables_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/area120/tables/v1alpha1", + importpath = "cloud.google.com/go/area120/tables/apiv1alpha1/tablespb", protos = [":tables_proto"], deps = [ "//google/api:annotations_go_proto", @@ -133,7 +132,8 @@ go_gapic_library( name = "tables_go_gapic", srcs = [":tables_proto_with_info"], grpc_service_config = "tables_grpc_service_config.json", - importpath = "google.golang.org/google/area120/tables/v1alpha1;tables", + importpath = "cloud.google.com/go/area120/tables/apiv1alpha1;tables", + release_level = "alpha", rest_numeric_enums = True, service_yaml = "area120tables_v1alpha1.yaml", transport = "grpc+rest", @@ -142,18 +142,12 @@ go_gapic_library( ], ) -go_test( - name = "tables_go_gapic_test", - srcs = [":tables_go_gapic_srcjar_test"], - embed = [":tables_go_gapic"], - importpath = "google.golang.org/google/area120/tables/v1alpha1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-area120-tables-v1alpha1-go", deps = [ ":tables_go_gapic", + ":tables_go_gapic_srcjar-snippets.srcjar", ":tables_go_gapic_srcjar-test.srcjar", ":tables_go_proto", ], @@ -191,12 +185,6 @@ php_proto_library( deps = [":tables_proto"], ) -php_grpc_library( - name = "tables_php_grpc", - srcs = [":tables_proto"], - deps = [":tables_php_proto"], -) - php_gapic_library( name = "tables_php_gapic", srcs = [":tables_proto_with_info"], @@ -204,10 +192,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "area120tables_v1alpha1.yaml", transport = "grpc+rest", - deps = [ - ":tables_php_grpc", - ":tables_php_proto", - ], + deps = [":tables_php_proto"], ) # Open Source Packages @@ -215,7 +200,6 @@ php_gapic_assembly_pkg( name = "google-area120-tables-v1alpha1-php", deps = [ ":tables_php_gapic", - ":tables_php_grpc", ":tables_php_proto", ], ) @@ -267,6 +251,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Using the Area 120 Tables API, you can query for tables, and update/create/delete rows within tables programmatically.", ruby_cloud_title = "Area 120 Tables V1alpha1", service_yaml = "area120tables_v1alpha1.yaml", + transport = "grpc+rest", deps = [ ":tables_ruby_grpc", ":tables_ruby_proto", diff --git a/third_party/googleapis/google/area120/tables/v1alpha1/tables.proto b/third_party/googleapis/google/area120/tables/v1alpha1/tables.proto index 91cf178a6..ad3dc1ae2 100644 --- a/third_party/googleapis/google/area120/tables/v1alpha1/tables.proto +++ b/third_party/googleapis/google/area120/tables/v1alpha1/tables.proto @@ -24,7 +24,7 @@ import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/struct.proto"; -option go_package = "google.golang.org/genproto/googleapis/area120/tables/v1alpha1;tables"; +option go_package = "cloud.google.com/go/area120/tables/apiv1alpha1/tablespb;tablespb"; option java_multiple_files = true; option java_outer_classname = "TablesProto"; option java_package = "com.google.area120.tables.v1alpha1"; diff --git a/third_party/googleapis/google/bigtable/admin/v2/BUILD.bazel b/third_party/googleapis/google/bigtable/admin/v2/BUILD.bazel index 33e74530c..83e88e6f4 100644 --- a/third_party/googleapis/google/bigtable/admin/v2/BUILD.bazel +++ b/third_party/googleapis/google/bigtable/admin/v2/BUILD.bazel @@ -15,7 +15,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -25,7 +24,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -90,6 +88,7 @@ java_gapic_library( gapic_yaml = "bigtableadmin_gapic.yaml", grpc_service_config = "bigtableadmin_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "bigtableadmin_v2.yaml", test_deps = [ ":admin_java_grpc", "//google/iam/v1:iam_java_grpc", @@ -154,18 +153,12 @@ go_gapic_library( ], ) -go_test( - name = "admin_go_gapic_test", - srcs = [":admin_go_gapic_srcjar_test"], - embed = [":admin_go_gapic"], - importpath = "cloud.google.com/go/bigtable/admin/apiv2", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-bigtable-admin-v2-go", deps = [ ":admin_go_gapic", + ":admin_go_gapic_srcjar-snippets.srcjar", ":admin_go_gapic_srcjar-test.srcjar", ":admin_go_proto", ], @@ -211,23 +204,15 @@ php_proto_library( deps = [":admin_proto"], ) -php_grpc_library( - name = "admin_php_grpc", - srcs = [":admin_proto"], - deps = [":admin_php_proto"], -) - php_gapic_library( name = "admin_php_gapic", srcs = [":admin_proto_with_info"], gapic_yaml = "bigtableadmin_gapic.yaml", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "bigtableadmin_v2.yaml", transport = "grpc+rest", - deps = [ - ":admin_php_grpc", - ":admin_php_proto", - ], + deps = [":admin_php_proto"], ) # Open Source Packages @@ -235,7 +220,6 @@ php_gapic_assembly_pkg( name = "google-cloud-bigtable-admin-v2-php", deps = [ ":admin_php_gapic", - ":admin_php_grpc", ":admin_php_proto", ], ) @@ -289,6 +273,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Cloud Bigtable is a fully managed, scalable NoSQL database service for large analytical and operational workloads.", ruby_cloud_title = "Cloud Bigtable Admin V2", service_yaml = "bigtableadmin_v2.yaml", + transport = "grpc", deps = [ ":admin_ruby_grpc", ":admin_ruby_proto", diff --git a/third_party/googleapis/google/bigtable/admin/v2/bigtable_instance_admin.proto b/third_party/googleapis/google/bigtable/admin/v2/bigtable_instance_admin.proto index d7b2ead1c..3d1877a49 100644 --- a/third_party/googleapis/google/bigtable/admin/v2/bigtable_instance_admin.proto +++ b/third_party/googleapis/google/bigtable/admin/v2/bigtable_instance_admin.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -57,12 +57,14 @@ service BigtableInstanceAdmin { // serve_nodes is set to non-zero, then the cluster is manually scaled. If // cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is // enabled. - rpc CreateInstance(CreateInstanceRequest) returns (google.longrunning.Operation) { + rpc CreateInstance(CreateInstanceRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v2/{parent=projects/*}/instances" body: "*" }; - option (google.api.method_signature) = "parent,instance_id,instance,clusters"; + option (google.api.method_signature) = + "parent,instance_id,instance,clusters"; option (google.longrunning.operation_info) = { response_type: "Instance" metadata_type: "CreateInstanceMetadata" @@ -97,7 +99,8 @@ service BigtableInstanceAdmin { // Partially updates an instance within a project. This method can modify all // fields of an Instance and is the preferred way to update an Instance. - rpc PartialUpdateInstance(PartialUpdateInstanceRequest) returns (google.longrunning.Operation) { + rpc PartialUpdateInstance(PartialUpdateInstanceRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v2/{instance.name=projects/*/instances/*}" body: "instance" @@ -124,7 +127,8 @@ service BigtableInstanceAdmin { // serve_nodes is set to non-zero, then the cluster is manually scaled. If // cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is // enabled. - rpc CreateCluster(CreateClusterRequest) returns (google.longrunning.Operation) { + rpc CreateCluster(CreateClusterRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v2/{parent=projects/*/instances/*}/clusters" body: "cluster" @@ -180,7 +184,8 @@ service BigtableInstanceAdmin { // // To disable autoscaling, clear cluster_config.cluster_autoscaling_config, // and explicitly set a serve_node count via the update_mask. - rpc PartialUpdateCluster(PartialUpdateClusterRequest) returns (google.longrunning.Operation) { + rpc PartialUpdateCluster(PartialUpdateClusterRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v2/{cluster.name=projects/*/instances/*/clusters/*}" body: "cluster" @@ -218,7 +223,8 @@ service BigtableInstanceAdmin { } // Lists information about app profiles in an instance. - rpc ListAppProfiles(ListAppProfilesRequest) returns (ListAppProfilesResponse) { + rpc ListAppProfiles(ListAppProfilesRequest) + returns (ListAppProfilesResponse) { option (google.api.http) = { get: "/v2/{parent=projects/*/instances/*}/appProfiles" }; @@ -226,7 +232,8 @@ service BigtableInstanceAdmin { } // Updates an app profile within an instance. - rpc UpdateAppProfile(UpdateAppProfileRequest) returns (google.longrunning.Operation) { + rpc UpdateAppProfile(UpdateAppProfileRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v2/{app_profile.name=projects/*/instances/*/appProfiles/*}" body: "app_profile" @@ -239,7 +246,8 @@ service BigtableInstanceAdmin { } // Deletes an app profile from an instance. - rpc DeleteAppProfile(DeleteAppProfileRequest) returns (google.protobuf.Empty) { + rpc DeleteAppProfile(DeleteAppProfileRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v2/{name=projects/*/instances/*/appProfiles/*}" }; @@ -248,7 +256,8 @@ service BigtableInstanceAdmin { // Gets the access control policy for an instance resource. Returns an empty // policy if an instance exists but does not have a policy set. - rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v2/{resource=projects/*/instances/*}:getIamPolicy" body: "*" @@ -258,7 +267,8 @@ service BigtableInstanceAdmin { // Sets the access control policy on an instance resource. Replaces any // existing policy. - rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v2/{resource=projects/*/instances/*}:setIamPolicy" body: "*" @@ -267,7 +277,8 @@ service BigtableInstanceAdmin { } // Returns permissions that the caller has on the specified instance resource. - rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) { + rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) + returns (google.iam.v1.TestIamPermissionsResponse) { option (google.api.http) = { post: "/v2/{resource=projects/*/instances/*}:testIamPermissions" body: "*" @@ -287,8 +298,8 @@ service BigtableInstanceAdmin { // Request message for BigtableInstanceAdmin.CreateInstance. message CreateInstanceRequest { - // Required. The unique name of the project in which to create the new instance. - // Values are of the form `projects/{project}`. + // Required. The unique name of the project in which to create the new + // instance. Values are of the form `projects/{project}`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -296,8 +307,8 @@ message CreateInstanceRequest { } ]; - // Required. The ID to be used when referring to the new instance within its project, - // e.g., just `myinstance` rather than + // Required. The ID to be used when referring to the new instance within its + // project, e.g., just `myinstance` rather than // `projects/myproject/instances/myinstance`. string instance_id = 2 [(google.api.field_behavior) = REQUIRED]; @@ -327,8 +338,8 @@ message GetInstanceRequest { // Request message for BigtableInstanceAdmin.ListInstances. message ListInstancesRequest { - // Required. The unique name of the project for which a list of instances is requested. - // Values are of the form `projects/{project}`. + // Required. The unique name of the project for which a list of instances is + // requested. Values are of the form `projects/{project}`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -364,7 +375,8 @@ message PartialUpdateInstanceRequest { // Required. The subset of Instance fields which should be replaced. // Must be explicitly set. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; } // Request message for BigtableInstanceAdmin.DeleteInstance. @@ -381,9 +393,8 @@ message DeleteInstanceRequest { // Request message for BigtableInstanceAdmin.CreateCluster. message CreateClusterRequest { - // Required. The unique name of the instance in which to create the new cluster. - // Values are of the form - // `projects/{project}/instances/{instance}`. + // Required. The unique name of the instance in which to create the new + // cluster. Values are of the form `projects/{project}/instances/{instance}`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -391,8 +402,8 @@ message CreateClusterRequest { } ]; - // Required. The ID to be used when referring to the new cluster within its instance, - // e.g., just `mycluster` rather than + // Required. The ID to be used when referring to the new cluster within its + // instance, e.g., just `mycluster` rather than // `projects/myproject/instances/myinstance/clusters/mycluster`. string cluster_id = 2 [(google.api.field_behavior) = REQUIRED]; @@ -415,10 +426,11 @@ message GetClusterRequest { // Request message for BigtableInstanceAdmin.ListClusters. message ListClustersRequest { - // Required. The unique name of the instance for which a list of clusters is requested. - // Values are of the form `projects/{project}/instances/{instance}`. - // Use `{instance} = '-'` to list Clusters for all Instances in a project, - // e.g., `projects/myproject/instances/-`. + // Required. The unique name of the instance for which a list of clusters is + // requested. Values are of the form + // `projects/{project}/instances/{instance}`. Use `{instance} = '-'` to list + // Clusters for all Instances in a project, e.g., + // `projects/myproject/instances/-`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -448,8 +460,8 @@ message ListClustersResponse { // Request message for BigtableInstanceAdmin.DeleteCluster. message DeleteClusterRequest { - // Required. The unique name of the cluster to be deleted. Values are of the form - // `projects/{project}/instances/{instance}/clusters/{cluster}`. + // Required. The unique name of the cluster to be deleted. Values are of the + // form `projects/{project}/instances/{instance}/clusters/{cluster}`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -561,19 +573,19 @@ message PartialUpdateClusterMetadata { // Request message for BigtableInstanceAdmin.PartialUpdateCluster. message PartialUpdateClusterRequest { - // Required. The Cluster which contains the partial updates to be applied, subject to - // the update_mask. + // Required. The Cluster which contains the partial updates to be applied, + // subject to the update_mask. Cluster cluster = 1 [(google.api.field_behavior) = REQUIRED]; // Required. The subset of Cluster fields which should be replaced. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; } // Request message for BigtableInstanceAdmin.CreateAppProfile. message CreateAppProfileRequest { - // Required. The unique name of the instance in which to create the new app profile. - // Values are of the form - // `projects/{project}/instances/{instance}`. + // Required. The unique name of the instance in which to create the new app + // profile. Values are of the form `projects/{project}/instances/{instance}`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -581,8 +593,8 @@ message CreateAppProfileRequest { } ]; - // Required. The ID to be used when referring to the new app profile within its - // instance, e.g., just `myprofile` rather than + // Required. The ID to be used when referring to the new app profile within + // its instance, e.g., just `myprofile` rather than // `projects/myproject/instances/myinstance/appProfiles/myprofile`. string app_profile_id = 2 [(google.api.field_behavior) = REQUIRED]; @@ -596,8 +608,8 @@ message CreateAppProfileRequest { // Request message for BigtableInstanceAdmin.GetAppProfile. message GetAppProfileRequest { - // Required. The unique name of the requested app profile. Values are of the form - // `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. + // Required. The unique name of the requested app profile. Values are of the + // form `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -608,8 +620,8 @@ message GetAppProfileRequest { // Request message for BigtableInstanceAdmin.ListAppProfiles. message ListAppProfilesRequest { - // Required. The unique name of the instance for which a list of app profiles is - // requested. Values are of the form + // Required. The unique name of the instance for which a list of app profiles + // is requested. Values are of the form // `projects/{project}/instances/{instance}`. // Use `{instance} = '-'` to list AppProfiles for all Instances in a project, // e.g., `projects/myproject/instances/-`. @@ -659,7 +671,8 @@ message UpdateAppProfileRequest { // Required. The subset of app profile fields which should be replaced. // If unset, all fields will be replaced. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; // If true, ignore safety checks when updating the app profile. bool ignore_warnings = 3; @@ -667,7 +680,8 @@ message UpdateAppProfileRequest { // Request message for BigtableInstanceAdmin.DeleteAppProfile. message DeleteAppProfileRequest { - // Required. The unique name of the app profile to be deleted. Values are of the form + // Required. The unique name of the app profile to be deleted. Values are of + // the form // `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -681,9 +695,7 @@ message DeleteAppProfileRequest { } // The metadata for the Operation returned by UpdateAppProfile. -message UpdateAppProfileMetadata { - -} +message UpdateAppProfileMetadata {} // Request message for BigtableInstanceAdmin.ListHotTablets. message ListHotTabletsRequest { diff --git a/third_party/googleapis/google/bigtable/admin/v2/bigtable_table_admin.proto b/third_party/googleapis/google/bigtable/admin/v2/bigtable_table_admin.proto index 6a2d9eac9..62cd7d655 100644 --- a/third_party/googleapis/google/bigtable/admin/v2/bigtable_table_admin.proto +++ b/third_party/googleapis/google/bigtable/admin/v2/bigtable_table_admin.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -72,7 +72,8 @@ service BigtableTableAdmin { // feature might be changed in backward-incompatible ways and is not // recommended for production use. It is not subject to any SLA or deprecation // policy. - rpc CreateTableFromSnapshot(CreateTableFromSnapshotRequest) returns (google.longrunning.Operation) { + rpc CreateTableFromSnapshot(CreateTableFromSnapshotRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v2/{parent=projects/*/instances/*}/tables:createFromSnapshot" body: "*" @@ -122,7 +123,8 @@ service BigtableTableAdmin { } // Restores a specified table which was accidentally deleted. - rpc UndeleteTable(UndeleteTableRequest) returns (google.longrunning.Operation) { + rpc UndeleteTable(UndeleteTableRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v2/{name=projects/*/instances/*/tables/*}:undelete" body: "*" @@ -160,7 +162,8 @@ service BigtableTableAdmin { // CheckConsistency to check whether mutations to the table that finished // before this call started have been replicated. The tokens will be available // for 90 days. - rpc GenerateConsistencyToken(GenerateConsistencyTokenRequest) returns (GenerateConsistencyTokenResponse) { + rpc GenerateConsistencyToken(GenerateConsistencyTokenRequest) + returns (GenerateConsistencyTokenResponse) { option (google.api.http) = { post: "/v2/{name=projects/*/instances/*/tables/*}:generateConsistencyToken" body: "*" @@ -171,7 +174,8 @@ service BigtableTableAdmin { // Checks replication consistency based on a consistency token, that is, if // replication has caught up based on the conditions specified in the token // and the check request. - rpc CheckConsistency(CheckConsistencyRequest) returns (CheckConsistencyResponse) { + rpc CheckConsistency(CheckConsistencyRequest) + returns (CheckConsistencyResponse) { option (google.api.http) = { post: "/v2/{name=projects/*/instances/*/tables/*}:checkConsistency" body: "*" @@ -187,12 +191,14 @@ service BigtableTableAdmin { // feature might be changed in backward-incompatible ways and is not // recommended for production use. It is not subject to any SLA or deprecation // policy. - rpc SnapshotTable(SnapshotTableRequest) returns (google.longrunning.Operation) { + rpc SnapshotTable(SnapshotTableRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v2/{name=projects/*/instances/*/tables/*}:snapshot" body: "*" }; - option (google.api.method_signature) = "name,cluster,snapshot_id,description"; + option (google.api.method_signature) = + "name,cluster,snapshot_id,description"; option (google.longrunning.operation_info) = { response_type: "Snapshot" metadata_type: "SnapshotTableMetadata" @@ -247,8 +253,8 @@ service BigtableTableAdmin { // [metadata][google.longrunning.Operation.metadata] field type is // [CreateBackupMetadata][google.bigtable.admin.v2.CreateBackupMetadata]. The // [response][google.longrunning.Operation.response] field type is - // [Backup][google.bigtable.admin.v2.Backup], if successful. Cancelling the returned operation will stop the - // creation and delete the backup. + // [Backup][google.bigtable.admin.v2.Backup], if successful. Cancelling the + // returned operation will stop the creation and delete the backup. rpc CreateBackup(CreateBackupRequest) returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v2/{parent=projects/*/instances/*/clusters/*}/backups" @@ -295,8 +301,7 @@ service BigtableTableAdmin { option (google.api.method_signature) = "parent"; } - // Create a new table by restoring from a completed backup. The new table - // must be in the same project as the instance containing the backup. The + // Create a new table by restoring from a completed backup. The // returned table [long-running operation][google.longrunning.Operation] can // be used to track the progress of the operation, and to cancel it. The // [metadata][google.longrunning.Operation.metadata] field type is @@ -314,10 +319,26 @@ service BigtableTableAdmin { }; } + // Copy a Cloud Bigtable backup to a new backup in the destination cluster + // located in the destination instance and project. + rpc CopyBackup(CopyBackupRequest) returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v2/{parent=projects/*/instances/*/clusters/*}/backups:copy" + body: "*" + }; + option (google.api.method_signature) = + "parent,backup_id,source_backup,expire_time"; + option (google.longrunning.operation_info) = { + response_type: "Backup" + metadata_type: "CopyBackupMetadata" + }; + } + // Gets the access control policy for a Table or Backup resource. // Returns an empty policy if the resource exists but does not have a policy // set. - rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v2/{resource=projects/*/instances/*/tables/*}:getIamPolicy" body: "*" @@ -331,7 +352,8 @@ service BigtableTableAdmin { // Sets the access control policy on a Table or Backup resource. // Replaces any existing policy. - rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v2/{resource=projects/*/instances/*/tables/*}:setIamPolicy" body: "*" @@ -343,8 +365,10 @@ service BigtableTableAdmin { option (google.api.method_signature) = "resource,policy"; } - // Returns permissions that the caller has on the specified Table or Backup resource. - rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) { + // Returns permissions that the caller has on the specified Table or Backup + // resource. + rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) + returns (google.iam.v1.TestIamPermissionsResponse) { option (google.api.http) = { post: "/v2/{resource=projects/*/instances/*/tables/*}:testIamPermissions" body: "*" @@ -361,8 +385,7 @@ service BigtableTableAdmin { // [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]. message RestoreTableRequest { // Required. The name of the instance in which to create the restored - // table. This instance must be in the same project as the source backup. - // Values are of the form `projects//instances/`. + // table. Values are of the form `projects//instances/`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -381,8 +404,8 @@ message RestoreTableRequest { // Name of the backup from which to restore. Values are of the form // `projects//instances//clusters//backups/`. string backup = 3 [(google.api.resource_reference) = { - type: "bigtableadmin.googleapis.com/Backup" - }]; + type: "bigtableadmin.googleapis.com/Backup" + }]; } } @@ -396,7 +419,8 @@ message RestoreTableMetadata { RestoreSourceType source_type = 2; // Information about the source used to restore the table, as specified by - // `source` in [RestoreTableRequest][google.bigtable.admin.v2.RestoreTableRequest]. + // `source` in + // [RestoreTableRequest][google.bigtable.admin.v2.RestoreTableRequest]. oneof source_info { BackupInfo backup_info = 3; } @@ -412,7 +436,8 @@ message RestoreTableMetadata { // not successful. string optimize_table_operation_name = 4; - // The progress of the [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable] + // The progress of the + // [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable] // operation. OperationProgress progress = 5; } @@ -447,8 +472,8 @@ message CreateTableRequest { } ]; - // Required. The name by which the new table should be referred to within the parent - // instance, e.g., `foobar` rather than `{parent}/tables/foobar`. + // Required. The name by which the new table should be referred to within the + // parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`. // Maximum 50 characters. string table_id = 2 [(google.api.field_behavior) = REQUIRED]; @@ -491,13 +516,13 @@ message CreateTableFromSnapshotRequest { } ]; - // Required. The name by which the new table should be referred to within the parent - // instance, e.g., `foobar` rather than `{parent}/tables/foobar`. + // Required. The name by which the new table should be referred to within the + // parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`. string table_id = 2 [(google.api.field_behavior) = REQUIRED]; - // Required. The unique name of the snapshot from which to restore the table. The - // snapshot and the table must be in the same instance. - // Values are of the form + // Required. The unique name of the snapshot from which to restore the table. + // The snapshot and the table must be in the same instance. Values are of the + // form // `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`. string source_snapshot = 3 [ (google.api.field_behavior) = REQUIRED, @@ -534,8 +559,8 @@ message DropRowRangeRequest { // Request message for // [google.bigtable.admin.v2.BigtableTableAdmin.ListTables][google.bigtable.admin.v2.BigtableTableAdmin.ListTables] message ListTablesRequest { - // Required. The unique name of the instance for which tables should be listed. - // Values are of the form `projects/{project}/instances/{instance}`. + // Required. The unique name of the instance for which tables should be + // listed. Values are of the form `projects/{project}/instances/{instance}`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -544,7 +569,7 @@ message ListTablesRequest { ]; // The view to be applied to the returned tables' fields. - // Only NAME_ONLY view (default) and REPLICATION_VIEW are supported. + // NAME_ONLY view (default) and REPLICATION_VIEW are supported. Table.View view = 2; // Maximum number of results per page. @@ -600,11 +625,15 @@ message UpdateTableRequest { Table table = 1 [(google.api.field_behavior) = REQUIRED]; // Required. The list of fields to update. - // A mask specifying which fields (e.g. `deletion_protection`) in the `table` + // A mask specifying which fields (e.g. `change_stream_config`) in the `table` // field should be updated. This mask is relative to the `table` field, not to // the request message. The wildcard (*) path is currently not supported. - // Currently UpdateTable is only supported for the following field: - // * `deletion_protection` + // Currently UpdateTable is only supported for the following fields: + // + // * `change_stream_config` + // * `change_stream_config.retention_period` + // * `deletion_protection` + // // If `column_families` is set in `update_mask`, it will return an // UNIMPLEMENTED error. google.protobuf.FieldMask update_mask = 2 @@ -699,18 +728,22 @@ message ModifyColumnFamiliesRequest { } ]; - // Required. Modifications to be atomically applied to the specified table's families. - // Entries are applied in order, meaning that earlier modifications can be - // masked by later ones (in the case of repeated updates to the same family, - // for example). - repeated Modification modifications = 2 [(google.api.field_behavior) = REQUIRED]; + // Required. Modifications to be atomically applied to the specified table's + // families. Entries are applied in order, meaning that earlier modifications + // can be masked by later ones (in the case of repeated updates to the same + // family, for example). + repeated Modification modifications = 2 + [(google.api.field_behavior) = REQUIRED]; + + // Optional. If true, ignore safety checks when modifying the column families. + bool ignore_warnings = 3 [(google.api.field_behavior) = OPTIONAL]; } // Request message for // [google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken][google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken] message GenerateConsistencyTokenRequest { - // Required. The unique name of the Table for which to create a consistency token. - // Values are of the form + // Required. The unique name of the Table for which to create a consistency + // token. Values are of the form // `projects/{project}/instances/{instance}/tables/{table}`. string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -730,8 +763,8 @@ message GenerateConsistencyTokenResponse { // Request message for // [google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency][google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency] message CheckConsistencyRequest { - // Required. The unique name of the Table for which to check replication consistency. - // Values are of the form + // Required. The unique name of the Table for which to check replication + // consistency. Values are of the form // `projects/{project}/instances/{instance}/tables/{table}`. string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -780,9 +813,9 @@ message SnapshotTableRequest { } ]; - // Required. The ID by which the new snapshot should be referred to within the parent - // cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` - // rather than + // Required. The ID by which the new snapshot should be referred to within the + // parent cluster, e.g., `mysnapshot` of the form: + // `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` rather than // `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/mysnapshot`. string snapshot_id = 3 [(google.api.field_behavior) = REQUIRED]; @@ -823,8 +856,8 @@ message GetSnapshotRequest { // feature might be changed in backward-incompatible ways and is not recommended // for production use. It is not subject to any SLA or deprecation policy. message ListSnapshotsRequest { - // Required. The unique name of the cluster for which snapshots should be listed. - // Values are of the form + // Required. The unique name of the cluster for which snapshots should be + // listed. Values are of the form // `projects/{project}/instances/{instance}/clusters/{cluster}`. // Use `{cluster} = '-'` to list snapshots for all clusters in an instance, // e.g., `projects/{project}/instances/{instance}/clusters/-`. @@ -914,7 +947,8 @@ message CreateTableFromSnapshotMetadata { google.protobuf.Timestamp finish_time = 3; } -// The request for [CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup]. +// The request for +// [CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup]. message CreateBackupRequest { // Required. This must be one of the clusters in the instance in which this // table is located. The backup will be stored in this cluster. Values are @@ -954,11 +988,13 @@ message CreateBackupMetadata { google.protobuf.Timestamp end_time = 4; } -// The request for [UpdateBackup][google.bigtable.admin.v2.BigtableTableAdmin.UpdateBackup]. +// The request for +// [UpdateBackup][google.bigtable.admin.v2.BigtableTableAdmin.UpdateBackup]. message UpdateBackupRequest { // Required. The backup to update. `backup.name`, and the fields to be updated // as specified by `update_mask` are required. Other fields are ignored. // Update is only supported for the following fields: + // // * `backup.expire_time`. Backup backup = 1 [(google.api.field_behavior) = REQUIRED]; @@ -967,10 +1003,12 @@ message UpdateBackupRequest { // resource, not to the request message. The field mask must always be // specified; this prevents any future fields from being erased accidentally // by clients that do not know about them. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; } -// The request for [GetBackup][google.bigtable.admin.v2.BigtableTableAdmin.GetBackup]. +// The request for +// [GetBackup][google.bigtable.admin.v2.BigtableTableAdmin.GetBackup]. message GetBackupRequest { // Required. Name of the backup. // Values are of the form @@ -983,7 +1021,8 @@ message GetBackupRequest { ]; } -// The request for [DeleteBackup][google.bigtable.admin.v2.BigtableTableAdmin.DeleteBackup]. +// The request for +// [DeleteBackup][google.bigtable.admin.v2.BigtableTableAdmin.DeleteBackup]. message DeleteBackupRequest { // Required. Name of the backup to delete. // Values are of the form @@ -996,7 +1035,8 @@ message DeleteBackupRequest { ]; } -// The request for [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups]. +// The request for +// [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups]. message ListBackupsRequest { // Required. The cluster to list backups from. Values are of the // form `projects/{project}/instances/{instance}/clusters/{cluster}`. @@ -1017,13 +1057,14 @@ message ListBackupsRequest { // roughly synonymous with equality. Filter rules are case insensitive. // // The fields eligible for filtering are: - // * `name` - // * `source_table` - // * `state` - // * `start_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ) - // * `end_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ) - // * `expire_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ) - // * `size_bytes` + // + // * `name` + // * `source_table` + // * `state` + // * `start_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ) + // * `end_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ) + // * `expire_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ) + // * `size_bytes` // // To filter on multiple expressions, provide each separate expression within // parentheses. By default, each expression is an AND expression. However, @@ -1031,30 +1072,32 @@ message ListBackupsRequest { // // Some examples of using filters are: // - // * `name:"exact"` --> The backup's name is the string "exact". - // * `name:howl` --> The backup's name contains the string "howl". - // * `source_table:prod` - // --> The source_table's name contains the string "prod". - // * `state:CREATING` --> The backup is pending creation. - // * `state:READY` --> The backup is fully created and ready for use. - // * `(name:howl) AND (start_time < \"2018-03-28T14:50:00Z\")` - // --> The backup name contains the string "howl" and start_time - // of the backup is before 2018-03-28T14:50:00Z. - // * `size_bytes > 10000000000` --> The backup's size is greater than 10GB + // * `name:"exact"` --> The backup's name is the string "exact". + // * `name:howl` --> The backup's name contains the string "howl". + // * `source_table:prod` + // --> The source_table's name contains the string "prod". + // * `state:CREATING` --> The backup is pending creation. + // * `state:READY` --> The backup is fully created and ready for use. + // * `(name:howl) AND (start_time < \"2018-03-28T14:50:00Z\")` + // --> The backup name contains the string "howl" and start_time + // of the backup is before 2018-03-28T14:50:00Z. + // * `size_bytes > 10000000000` --> The backup's size is greater than 10GB string filter = 2; // An expression for specifying the sort order of the results of the request. - // The string value should specify one or more fields in [Backup][google.bigtable.admin.v2.Backup]. The full - // syntax is described at https://aip.dev/132#ordering. + // The string value should specify one or more fields in + // [Backup][google.bigtable.admin.v2.Backup]. The full syntax is described at + // https://aip.dev/132#ordering. // // Fields supported are: - // * name - // * source_table - // * expire_time - // * start_time - // * end_time - // * size_bytes - // * state + // + // * name + // * source_table + // * expire_time + // * start_time + // * end_time + // * size_bytes + // * state // // For example, "start_time". The default sorting order is ascending. // To specify descending order for the field, a suffix " desc" should @@ -1070,19 +1113,84 @@ message ListBackupsRequest { int32 page_size = 4; // If non-empty, `page_token` should contain a - // [next_page_token][google.bigtable.admin.v2.ListBackupsResponse.next_page_token] from a - // previous [ListBackupsResponse][google.bigtable.admin.v2.ListBackupsResponse] to the same `parent` and with the same - // `filter`. + // [next_page_token][google.bigtable.admin.v2.ListBackupsResponse.next_page_token] + // from a previous + // [ListBackupsResponse][google.bigtable.admin.v2.ListBackupsResponse] to the + // same `parent` and with the same `filter`. string page_token = 5; } -// The response for [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups]. +// The response for +// [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups]. message ListBackupsResponse { // The list of matching backups. repeated Backup backups = 1; // `next_page_token` can be sent in a subsequent - // [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups] call to fetch more - // of the matching backups. + // [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups] call + // to fetch more of the matching backups. string next_page_token = 2; } + +// The request for +// [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]. +message CopyBackupRequest { + // Required. The name of the destination cluster that will contain the backup + // copy. The cluster must already exists. Values are of the form: + // `projects/{project}/instances/{instance}/clusters/{cluster}`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "bigtableadmin.googleapis.com/Cluster" + } + ]; + + // Required. The id of the new backup. The `backup_id` along with `parent` + // are combined as {parent}/backups/{backup_id} to create the full backup + // name, of the form: + // `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`. + // This string must be between 1 and 50 characters in length and match the + // regex [_a-zA-Z0-9][-_.a-zA-Z0-9]*. + string backup_id = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The source backup to be copied from. + // The source backup needs to be in READY state for it to be copied. + // Copying a copied backup is not allowed. + // Once CopyBackup is in progress, the source backup cannot be deleted or + // cleaned up on expiration until CopyBackup is finished. + // Values are of the form: + // `projects//instances//clusters//backups/`. + string source_backup = 3 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "bigtableadmin.googleapis.com/Backup" + } + ]; + + // Required. Required. The expiration time of the copied backup with + // microsecond granularity that must be at least 6 hours and at most 30 days + // from the time the request is received. Once the `expire_time` has + // passed, Cloud Bigtable will delete the backup and free the resources used + // by the backup. + google.protobuf.Timestamp expire_time = 4 + [(google.api.field_behavior) = REQUIRED]; +} + +// Metadata type for the google.longrunning.Operation returned by +// [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]. +message CopyBackupMetadata { + // The name of the backup being created through the copy operation. + // Values are of the form + // `projects//instances//clusters//backups/`. + string name = 1 [(google.api.resource_reference) = { + type: "bigtableadmin.googleapis.com/Backup" + }]; + + // Information about the source backup that is being copied from. + BackupInfo source_backup_info = 2; + + // The progress of the + // [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup] + // operation. + OperationProgress progress = 3; +} diff --git a/third_party/googleapis/google/bigtable/admin/v2/bigtableadmin_grpc_service_config.json b/third_party/googleapis/google/bigtable/admin/v2/bigtableadmin_grpc_service_config.json index cf8e3ff7e..b28ec1cdc 100755 --- a/third_party/googleapis/google/bigtable/admin/v2/bigtableadmin_grpc_service_config.json +++ b/third_party/googleapis/google/bigtable/admin/v2/bigtableadmin_grpc_service_config.json @@ -9,39 +9,39 @@ { "service": "google.bigtable.admin.v2.BigtableTableAdmin", "method": "ModifyColumnFamilies" - } - ], - "timeout": "300s" - }, - { - "name": [ + }, { "service": "google.bigtable.admin.v2.BigtableTableAdmin", "method": "DeleteTable" }, { "service": "google.bigtable.admin.v2.BigtableTableAdmin", - "method": "SetIamPolicy" + "method": "DeleteBackup" }, { "service": "google.bigtable.admin.v2.BigtableTableAdmin", "method": "DeleteSnapshot" - }, + } + ], + "timeout": "300s" + }, + { + "name": [ { "service": "google.bigtable.admin.v2.BigtableTableAdmin", - "method": "CreateBackup" + "method": "SetIamPolicy" }, { "service": "google.bigtable.admin.v2.BigtableTableAdmin", - "method": "UpdateBackup" + "method": "RestoreTable" }, { "service": "google.bigtable.admin.v2.BigtableTableAdmin", - "method": "DeleteBackup" + "method": "CreateBackup" }, { "service": "google.bigtable.admin.v2.BigtableTableAdmin", - "method": "RestoreTable" + "method": "UpdateBackup" } ], "timeout": "60s" @@ -58,49 +58,35 @@ }, { "service": "google.bigtable.admin.v2.BigtableTableAdmin", - "method": "GetSnapshot" + "method": "GenerateConsistencyToken" }, { "service": "google.bigtable.admin.v2.BigtableTableAdmin", - "method": "GetBackup" + "method": "CheckConsistency" }, { "service": "google.bigtable.admin.v2.BigtableTableAdmin", - "method": "ListBackups" - } - ], - "timeout": "60s", - "retryPolicy": { - "initialBackoff": "1s", - "maxBackoff": "60s", - "backoffMultiplier": 2, - "retryableStatusCodes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - } - }, - { - "name": [ + "method": "GetIamPolicy" + }, { "service": "google.bigtable.admin.v2.BigtableTableAdmin", - "method": "GenerateConsistencyToken" + "method": "TestIamPermissions" }, { "service": "google.bigtable.admin.v2.BigtableTableAdmin", - "method": "CheckConsistency" + "method": "GetSnapshot" }, { "service": "google.bigtable.admin.v2.BigtableTableAdmin", - "method": "GetIamPolicy" + "method": "ListSnapshots" }, { "service": "google.bigtable.admin.v2.BigtableTableAdmin", - "method": "TestIamPermissions" + "method": "GetBackup" }, { "service": "google.bigtable.admin.v2.BigtableTableAdmin", - "method": "ListSnapshots" + "method": "ListBackups" } ], "timeout": "60s", diff --git a/third_party/googleapis/google/bigtable/admin/v2/bigtableadmin_v2.yaml b/third_party/googleapis/google/bigtable/admin/v2/bigtableadmin_v2.yaml index b8f53f799..9581f5249 100644 --- a/third_party/googleapis/google/bigtable/admin/v2/bigtableadmin_v2.yaml +++ b/third_party/googleapis/google/bigtable/admin/v2/bigtableadmin_v2.yaml @@ -9,6 +9,7 @@ apis: types: - name: google.bigtable.admin.v2.Backup +- name: google.bigtable.admin.v2.CopyBackupMetadata - name: google.bigtable.admin.v2.CreateBackupMetadata - name: google.bigtable.admin.v2.CreateClusterMetadata - name: google.bigtable.admin.v2.CreateInstanceMetadata diff --git a/third_party/googleapis/google/bigtable/admin/v2/common.proto b/third_party/googleapis/google/bigtable/admin/v2/common.proto index 0d337e6b5..9d8f06549 100644 --- a/third_party/googleapis/google/bigtable/admin/v2/common.proto +++ b/third_party/googleapis/google/bigtable/admin/v2/common.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/bigtable/admin/v2/instance.proto b/third_party/googleapis/google/bigtable/admin/v2/instance.proto index e7e73e00f..950d9f488 100644 --- a/third_party/googleapis/google/bigtable/admin/v2/instance.proto +++ b/third_party/googleapis/google/bigtable/admin/v2/instance.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -102,10 +102,11 @@ message Instance { // * Keys and values must both be under 128 bytes. map labels = 5; - // Output only. A server-assigned timestamp representing when this Instance was created. - // For instances created before this field was added (August 2021), this value - // is `seconds: 0, nanos: 1`. - google.protobuf.Timestamp create_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. A server-assigned timestamp representing when this Instance + // was created. For instances created before this field was added (August + // 2021), this value is `seconds: 0, nanos: 1`. + google.protobuf.Timestamp create_time = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Reserved for future use. optional bool satisfies_pzs = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -121,7 +122,7 @@ message AutoscalingTargets { // The storage utilization that the Autoscaler should be trying to achieve. // This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD - // cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster; + // cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster, // otherwise it will return INVALID_ARGUMENT error. If this value is set to 0, // it will be treated as if it were set to the default value: 2560 for SSD, // 8192 for HDD. @@ -174,10 +175,12 @@ message Cluster { // Autoscaling config for a cluster. message ClusterAutoscalingConfig { // Required. Autoscaling limits for this cluster. - AutoscalingLimits autoscaling_limits = 1 [(google.api.field_behavior) = REQUIRED]; + AutoscalingLimits autoscaling_limits = 1 + [(google.api.field_behavior) = REQUIRED]; // Required. Autoscaling targets for this cluster. - AutoscalingTargets autoscaling_targets = 2 [(google.api.field_behavior) = REQUIRED]; + AutoscalingTargets autoscaling_targets = 2 + [(google.api.field_behavior) = REQUIRED]; } // Configuration for a cluster. @@ -200,16 +203,16 @@ message Cluster { // Values are of the form // `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}` string kms_key_name = 1 [(google.api.resource_reference) = { - type: "cloudkms.googleapis.com/CryptoKey" - }]; + type: "cloudkms.googleapis.com/CryptoKey" + }]; } // The unique name of the cluster. Values are of the form // `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`. string name = 1; - // Immutable. The location where this cluster's nodes and storage reside. For best - // performance, clients should be located as close as possible to this + // Immutable. The location where this cluster's nodes and storage reside. For + // best performance, clients should be located as close as possible to this // cluster. Currently only zones are supported, so values should be of the // form `projects/{project}/locations/{zone}`. string location = 2 [ @@ -233,10 +236,12 @@ message Cluster { // Immutable. The type of storage used by this cluster to serve its // parent instance's tables, unless explicitly overridden. - StorageType default_storage_type = 5 [(google.api.field_behavior) = IMMUTABLE]; + StorageType default_storage_type = 5 + [(google.api.field_behavior) = IMMUTABLE]; // Immutable. The encryption configuration for CMEK-protected clusters. - EncryptionConfig encryption_config = 6 [(google.api.field_behavior) = IMMUTABLE]; + EncryptionConfig encryption_config = 6 + [(google.api.field_behavior) = IMMUTABLE]; } // A configuration object describing how Cloud Bigtable should treat traffic @@ -271,6 +276,27 @@ message AppProfile { bool allow_transactional_writes = 2; } + // Possible priorities for an app profile. Note that higher priority writes + // can sometimes queue behind lower priority writes to the same tablet, as + // writes must be strictly sequenced in the durability log. + enum Priority { + // Default value. Mapped to PRIORITY_HIGH (the legacy behavior) on creation. + PRIORITY_UNSPECIFIED = 0; + + PRIORITY_LOW = 1; + + PRIORITY_MEDIUM = 2; + + PRIORITY_HIGH = 3; + } + + // Standard options for isolating this app profile's traffic from other use + // cases. + message StandardIsolation { + // The priority of requests sent using this app profile. + Priority priority = 1; + } + // The unique name of the app profile. Values are of the form // `projects/{project}/instances/{instance}/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`. string name = 1; @@ -297,6 +323,19 @@ message AppProfile { // Use a single-cluster routing policy. SingleClusterRouting single_cluster_routing = 6; } + + // Options for isolating this app profile's traffic from other use cases. + oneof isolation { + // This field has been deprecated in favor of `standard_isolation.priority`. + // If you set this field, `standard_isolation.priority` will be set instead. + // + // The priority of requests sent using this app profile. + Priority priority = 7 [deprecated = true]; + + // The standard options used for isolating this app profile's traffic from + // other use cases. + StandardIsolation standard_isolation = 11; + } } // A tablet is a defined by a start and end key and is explained in @@ -317,14 +356,16 @@ message HotTablet { // Name of the table that contains the tablet. Values are of the form // `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`. string table_name = 2 [(google.api.resource_reference) = { - type: "bigtableadmin.googleapis.com/Table" - }]; + type: "bigtableadmin.googleapis.com/Table" + }]; // Output only. The start time of the hot tablet. - google.protobuf.Timestamp start_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp start_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The end time of the hot tablet. - google.protobuf.Timestamp end_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp end_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Tablet Start Key (inclusive). string start_key = 5; @@ -332,9 +373,9 @@ message HotTablet { // Tablet End Key (inclusive). string end_key = 6; - // Output only. The average CPU usage spent by a node on this tablet over the start_time to - // end_time time range. The percentage is the amount of CPU used by the node - // to serve the tablet, from 0% (tablet was not interacted with) to 100% (the - // node spent all cycles serving the hot tablet). + // Output only. The average CPU usage spent by a node on this tablet over the + // start_time to end_time time range. The percentage is the amount of CPU used + // by the node to serve the tablet, from 0% (tablet was not interacted with) + // to 100% (the node spent all cycles serving the hot tablet). float node_cpu_usage_percent = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/bigtable/admin/v2/table.proto b/third_party/googleapis/google/bigtable/admin/v2/table.proto index 5a59fd203..4d02d3036 100644 --- a/third_party/googleapis/google/bigtable/admin/v2/table.proto +++ b/third_party/googleapis/google/bigtable/admin/v2/table.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -34,7 +34,6 @@ option (google.api.resource_definition) = { pattern: "projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}" }; - // Information about a table restore. message RestoreInfo { // The type of the restore source. @@ -48,6 +47,16 @@ message RestoreInfo { } } +// Change stream configuration. +message ChangeStreamConfig { + // How long the change stream should be retained. Change stream data older + // than the retention period will not be returned when reading the change + // stream from the table. + // Values must be at least 1 day and at most 7 days, and will be truncated to + // microsecond granularity. + google.protobuf.Duration retention_period = 1; +} + // A collection of user data indexed by row, column, and timestamp. // Each table is served using the resources of its parent cluster. message Table { @@ -88,14 +97,16 @@ message Table { } // Output only. The state of replication for the table in this cluster. - ReplicationState replication_state = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + ReplicationState replication_state = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The encryption information for the table in this cluster. // If the encryption key protecting this resource is customer managed, then // its version can be rotated in Cloud Key Management Service (Cloud KMS). // The primary version of the key and its status will be reflected here when // changes propagate from Cloud KMS. - repeated EncryptionInfo encryption_info = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated EncryptionInfo encryption_info = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Possible timestamp granularities to use when keeping multiple versions @@ -141,27 +152,36 @@ message Table { // particular cluster (for example, if its zone is unavailable), then // there will be an entry for the cluster with UNKNOWN `replication_status`. // Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL` - map cluster_states = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + map cluster_states = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // The column families configured for this table, mapped by column family ID. - // Views: `SCHEMA_VIEW`, `FULL` + // Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL` map column_families = 3; - // Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored in this - // table. Timestamps not matching the granularity will be rejected. - // If unspecified at creation time, the value will be set to `MILLIS`. - // Views: `SCHEMA_VIEW`, `FULL`. - TimestampGranularity granularity = 4 [(google.api.field_behavior) = IMMUTABLE]; + // Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored + // in this table. Timestamps not matching the granularity will be rejected. If + // unspecified at creation time, the value will be set to `MILLIS`. Views: + // `SCHEMA_VIEW`, `FULL`. + TimestampGranularity granularity = 4 + [(google.api.field_behavior) = IMMUTABLE]; - // Output only. If this table was restored from another data source (e.g. a backup), this - // field will be populated with information about the restore. + // Output only. If this table was restored from another data source (e.g. a + // backup), this field will be populated with information about the restore. RestoreInfo restore_info = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + // If specified, enable the change stream on this table. + // Otherwise, the change stream is disabled and the change stream is not + // retained. + ChangeStreamConfig change_stream_config = 8; + // Set to true to make the table protected against data loss. i.e. deleting // the following resources through Admin APIs are prohibited: - // - The table. - // - The column families in the table. - // - The instance containing the table. + // + // * The table. + // * The column families in the table. + // * The instance containing the table. + // // Note one can still delete the data stored in the table through Data APIs. bool deletion_protection = 9; } @@ -235,14 +255,17 @@ message EncryptionInfo { } // Output only. The type of encryption used to protect this resource. - EncryptionType encryption_type = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + EncryptionType encryption_type = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The status of encrypt/decrypt calls on underlying data for this resource. - // Regardless of status, the existing data is always encrypted at rest. - google.rpc.Status encryption_status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The status of encrypt/decrypt calls on underlying data for + // this resource. Regardless of status, the existing data is always encrypted + // at rest. + google.rpc.Status encryption_status = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The version of the Cloud KMS key specified in the parent cluster that is - // in use for the data underlying this table. + // Output only. The version of the Cloud KMS key specified in the parent + // cluster that is in use for the data underlying this table. string kms_key_version = 2 [ (google.api.field_behavior) = OUTPUT_ONLY, (google.api.resource_reference) = { @@ -278,32 +301,33 @@ message Snapshot { CREATING = 2; } - // Output only. The unique name of the snapshot. + // The unique name of the snapshot. // Values are of the form // `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`. string name = 1; // Output only. The source table at the time the snapshot was taken. - Table source_table = 2; + Table source_table = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The size of the data in the source table at the time the // snapshot was taken. In some cases, this value may be computed // asynchronously via a background process and a placeholder of 0 will be used // in the meantime. - int64 data_size_bytes = 3; + int64 data_size_bytes = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time when the snapshot is created. - google.protobuf.Timestamp create_time = 4; + google.protobuf.Timestamp create_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The time when the snapshot will be deleted. The maximum amount - // of time a snapshot can stay active is 365 days. If 'ttl' is not specified, + // The time when the snapshot will be deleted. The maximum amount of time a + // snapshot can stay active is 365 days. If 'ttl' is not specified, // the default maximum of 365 days will be used. google.protobuf.Timestamp delete_time = 5; // Output only. The current state of the snapshot. - State state = 6; + State state = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Description of the snapshot. + // Description of the snapshot. string description = 7; } @@ -339,30 +363,39 @@ message Backup { // `projects/{project}/instances/{instance}/clusters/{cluster}`. string name = 1; - // Required. Immutable. Name of the table from which this backup was created. This needs - // to be in the same instance as the backup. Values are of the form + // Required. Immutable. Name of the table from which this backup was created. + // This needs to be in the same instance as the backup. Values are of the form // `projects/{project}/instances/{instance}/tables/{source_table}`. string source_table = 2 [ (google.api.field_behavior) = IMMUTABLE, (google.api.field_behavior) = REQUIRED ]; + // Output only. Name of the backup from which this backup was copied. If a + // backup is not created by copying a backup, this field will be empty. Values + // are of the form: projects//instances//backups/. + string source_backup = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Required. The expiration time of the backup, with microseconds - // granularity that must be at least 6 hours and at most 30 days + // granularity that must be at least 6 hours and at most 90 days // from the time the request is received. Once the `expire_time` // has passed, Cloud Bigtable will delete the backup and free the // resources used by the backup. - google.protobuf.Timestamp expire_time = 3 [(google.api.field_behavior) = REQUIRED]; + google.protobuf.Timestamp expire_time = 3 + [(google.api.field_behavior) = REQUIRED]; // Output only. `start_time` is the time that the backup was started // (i.e. approximately the time the - // [CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup] request is received). The - // row data in this backup will be no older than this timestamp. - google.protobuf.Timestamp start_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + // [CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup] + // request is received). The row data in this backup will be no older than + // this timestamp. + google.protobuf.Timestamp start_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. `end_time` is the time that the backup was finished. The row // data in the backup will be no newer than this timestamp. - google.protobuf.Timestamp end_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp end_time = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Size of the backup in bytes. int64 size_bytes = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -371,7 +404,8 @@ message Backup { State state = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The encryption information for the backup. - EncryptionInfo encryption_info = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; + EncryptionInfo encryption_info = 9 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Information about a backup. @@ -381,14 +415,21 @@ message BackupInfo { // Output only. The time that the backup was started. Row data in the backup // will be no older than this timestamp. - google.protobuf.Timestamp start_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp start_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. This time that the backup was finished. Row data in the // backup will be no newer than this timestamp. - google.protobuf.Timestamp end_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp end_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Name of the table the backup was created from. string source_table = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Name of the backup from which this backup was copied. If a + // backup is not created by copying a backup, this field will be empty. Values + // are of the form: projects//instances//backups/. + string source_backup = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Indicates the type of the restore source. diff --git a/third_party/googleapis/google/bigtable/v2/BUILD.bazel b/third_party/googleapis/google/bigtable/v2/BUILD.bazel index e784969c5..3883c28c1 100644 --- a/third_party/googleapis/google/bigtable/v2/BUILD.bazel +++ b/third_party/googleapis/google/bigtable/v2/BUILD.bazel @@ -15,7 +15,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -25,7 +24,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -45,6 +43,7 @@ proto_library( srcs = [ "bigtable.proto", "data.proto", + "feature_flags.proto", "request_stats.proto", "response_params.proto", ], @@ -86,6 +85,7 @@ java_gapic_library( gapic_yaml = "bigtable_gapic.yaml", grpc_service_config = "bigtable_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "bigtable_v2.yaml", test_deps = [ ":bigtable_java_grpc", ], @@ -140,18 +140,12 @@ go_gapic_library( ], ) -go_test( - name = "bigtable_go_gapic_test", - srcs = [":bigtable_go_gapic_srcjar_test"], - embed = [":bigtable_go_gapic"], - importpath = "cloud.google.com/go/bigtable/apiv2", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-bigtable-v2-go", deps = [ ":bigtable_go_gapic", + ":bigtable_go_gapic_srcjar-snippets.srcjar", ":bigtable_go_gapic_srcjar-test.srcjar", ":bigtable_go_proto", ], @@ -192,22 +186,14 @@ php_proto_library( deps = [":bigtable_proto"], ) -php_grpc_library( - name = "bigtable_php_grpc", - srcs = [":bigtable_proto"], - deps = [":bigtable_php_proto"], -) - php_gapic_library( name = "bigtable_php_gapic", srcs = [":bigtable_proto_with_info"], rest_numeric_enums = True, service_yaml = "bigtable_v2.yaml", transport = "grpc+rest", - deps = [ - ":bigtable_php_grpc", - ":bigtable_php_proto", - ], + migration_mode = "MIGRATING", + deps = [":bigtable_php_proto"], ) # Open Source Packages @@ -215,7 +201,6 @@ php_gapic_assembly_pkg( name = "google-cloud-bigtable-v2-php", deps = [ ":bigtable_php_gapic", - ":bigtable_php_grpc", ":bigtable_php_proto", ], ) diff --git a/third_party/googleapis/google/bigtable/v2/bigtable.proto b/third_party/googleapis/google/bigtable/v2/bigtable.proto index 098d17e3e..aca13f586 100644 --- a/third_party/googleapis/google/bigtable/v2/bigtable.proto +++ b/third_party/googleapis/google/bigtable/v2/bigtable.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -227,7 +227,6 @@ service Bigtable { // Request message for Bigtable.ReadRows. message ReadRowsRequest { - // // The desired view into RequestStats that should be returned in the response. // // See also: RequestStats message. @@ -254,8 +253,8 @@ message ReadRowsRequest { } ]; - // This value specifies routing for replication. This API only accepts the - // empty value of app_profile_id. + // This value specifies routing for replication. If not specified, the + // "default" application profile will be used. string app_profile_id = 5; // The row keys and/or ranges to read sequentially. If not specified, reads @@ -272,6 +271,20 @@ message ReadRowsRequest { // The view into RequestStats, as described above. RequestStatsView request_stats_view = 6; + + // Experimental API - Please note that this API is currently experimental + // and can change in the future. + // + // Return rows in lexiographical descending order of the row keys. The row + // contents will not be affected by this flag. + // + // Example result set: + // + // [ + // {key: "k2", "f:col1": "v1", "f:col2": "v1"}, + // {key: "k1", "f:col1": "v2", "f:col2": "v2"} + // ] + bool reversed = 7; } // Response message for Bigtable.ReadRows. @@ -489,6 +502,33 @@ message MutateRowsResponse { // One or more results for Entries from the batch request. repeated Entry entries = 1; + + // Information about how client should limit the rate (QPS). Primirily used by + // supported official Cloud Bigtable clients. If unset, the rate limit info is + // not provided by the server. + optional RateLimitInfo rate_limit_info = 3; +} + +// Information about how client should adjust the load to Bigtable. +message RateLimitInfo { + // Time that clients should wait before adjusting the target rate again. + // If clients adjust rate too frequently, the impact of the previous + // adjustment may not have been taken into account and may + // over-throttle or under-throttle. If clients adjust rate too slowly, they + // will not be responsive to load changes on server side, and may + // over-throttle or under-throttle. + google.protobuf.Duration period = 1; + + // If it has been at least one `period` since the last load adjustment, the + // client should multiply the current load by this value to get the new target + // load. For example, if the current load is 100 and `factor` is 0.8, the new + // target load should be 80. After adjusting, the client should ignore + // `factor` until another `period` has passed. + // + // The client can measure its load using any unit that's comparable over time + // For example, QPS can be used as long as each request involves a similar + // amount of work. + double factor = 2; } // Request message for Bigtable.CheckAndMutateRow. diff --git a/third_party/googleapis/google/bigtable/v2/bigtable_v2.yaml b/third_party/googleapis/google/bigtable/v2/bigtable_v2.yaml index ad7d56677..d67359152 100644 --- a/third_party/googleapis/google/bigtable/v2/bigtable_v2.yaml +++ b/third_party/googleapis/google/bigtable/v2/bigtable_v2.yaml @@ -7,6 +7,7 @@ apis: - name: google.bigtable.v2.Bigtable types: +- name: google.bigtable.v2.FeatureFlags - name: google.bigtable.v2.RequestStats - name: google.bigtable.v2.ResponseParams @@ -41,3 +42,15 @@ authentication: https://www.googleapis.com/auth/cloud-bigtable.data.readonly, https://www.googleapis.com/auth/cloud-platform, https://www.googleapis.com/auth/cloud-platform.read-only + +publishing: + documentation_uri: https://cloud.google.com/bigtable/docs + github_label: 'api: bigtable' + doc_tag_prefix: bigtable + organization: CLOUD + library_settings: + - version: google.bigtable.v2 + dotnet_settings: + renamed_services: + Bigtable: BigtableServiceApi + proto_reference_documentation_uri: https://cloud.google.com/bigtable/docs/reference/data/rpc diff --git a/third_party/googleapis/google/bytestream/bytestream.proto b/third_party/googleapis/google/bytestream/bytestream.proto index baf95deee..2974601b7 100644 --- a/third_party/googleapis/google/bytestream/bytestream.proto +++ b/third_party/googleapis/google/bytestream/bytestream.proto @@ -16,9 +16,6 @@ syntax = "proto3"; package google.bytestream; -import "google/api/annotations.proto"; -import "google/protobuf/wrappers.proto"; - option go_package = "google.golang.org/genproto/googleapis/bytestream;bytestream"; option java_outer_classname = "ByteStreamProto"; option java_package = "com.google.bytestream"; diff --git a/third_party/googleapis/google/chat/logging/v1/BUILD.bazel b/third_party/googleapis/google/chat/logging/v1/BUILD.bazel index 01dda3313..a1f228223 100644 --- a/third_party/googleapis/google/chat/logging/v1/BUILD.bazel +++ b/third_party/googleapis/google/chat/logging/v1/BUILD.bazel @@ -90,7 +90,6 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -99,21 +98,9 @@ php_proto_library( deps = [":logging_proto"], ) -php_grpc_library( - name = "logging_php_grpc", - srcs = [":logging_proto"], - deps = [":logging_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) - ############################################################################## # Ruby diff --git a/third_party/googleapis/google/chromeos/moblab/v1beta1/BUILD.bazel b/third_party/googleapis/google/chromeos/moblab/v1beta1/BUILD.bazel index 5c51db72d..d58e965bc 100644 --- a/third_party/googleapis/google/chromeos/moblab/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/chromeos/moblab/v1beta1/BUILD.bazel @@ -22,7 +22,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -32,7 +31,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -150,19 +148,13 @@ go_gapic_library( ], ) -go_test( - name = "moblab_go_gapic_test", - srcs = [":moblab_go_gapic_srcjar_test"], - embed = [":moblab_go_gapic"], - importpath = "google.golang.org/google/chromeos/moblab/v1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-chromeos-moblab-v1beta1-go", deps = [ ":moblab_go_gapic", ":moblab_go_gapic_srcjar-metadata.srcjar", + ":moblab_go_gapic_srcjar-snippets.srcjar", ":moblab_go_gapic_srcjar-test.srcjar", ":moblab_go_proto", ], @@ -200,12 +192,6 @@ php_proto_library( deps = [":moblab_proto"], ) -php_grpc_library( - name = "moblab_php_grpc", - srcs = [":moblab_proto"], - deps = [":moblab_php_proto"], -) - php_gapic_library( name = "moblab_php_gapic", srcs = [":moblab_proto_with_info"], @@ -213,10 +199,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "chromeosmoblab_v1beta1.yaml", transport = "grpc+rest", - deps = [ - ":moblab_php_grpc", - ":moblab_php_proto", - ], + deps = [":moblab_php_proto"], ) # Open Source Packages @@ -224,7 +207,6 @@ php_gapic_assembly_pkg( name = "google-cloud-chromeos-moblab-v1beta1-php", deps = [ ":moblab_php_gapic", - ":moblab_php_grpc", ":moblab_php_proto", ], ) @@ -268,6 +250,7 @@ ruby_cloud_gapic_library( grpc_service_config = "moblab_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "chromeosmoblab_v1beta1.yaml", + transport = "grpc+rest", deps = [ ":moblab_ruby_grpc", ":moblab_ruby_proto", diff --git a/third_party/googleapis/google/chromeos/moblab/v1beta1/build_service.proto b/third_party/googleapis/google/chromeos/moblab/v1beta1/build_service.proto index bdc73d95a..25ac0008c 100644 --- a/third_party/googleapis/google/chromeos/moblab/v1beta1/build_service.proto +++ b/third_party/googleapis/google/chromeos/moblab/v1beta1/build_service.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -38,7 +38,8 @@ service BuildService { "https://www.googleapis.com/auth/moblabapi"; // Lists all build targets that a user has access to. - rpc ListBuildTargets(ListBuildTargetsRequest) returns (ListBuildTargetsResponse) { + rpc ListBuildTargets(ListBuildTargetsRequest) + returns (ListBuildTargetsResponse) { option (google.api.http) = { get: "/v1beta1/buildTargets" }; @@ -63,7 +64,8 @@ service BuildService { // Checks the stage status for a given build artifact in a partner Google // Cloud Storage bucket. - rpc CheckBuildStageStatus(CheckBuildStageStatusRequest) returns (CheckBuildStageStatusResponse) { + rpc CheckBuildStageStatus(CheckBuildStageStatusRequest) + returns (CheckBuildStageStatusResponse) { option (google.api.http) = { get: "/v1beta1/{name=buildTargets/*/models/*/builds/*/artifacts/*}:check" }; @@ -71,10 +73,12 @@ service BuildService { } // Stages a given build artifact from a internal Google Cloud Storage bucket - // to a partner Google Cloud Storage bucket. If any of objects has already - // been copied, it will overwrite the previous objects. Operation + // to a partner Google Cloud Storage bucket. The stage will be skipped if all + // the objects in the partner bucket are the same as in the internal bucket. + // Operation + // rpc StageBuild(StageBuildRequest) returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1beta1/{name=buildTargets/*/models/*/builds/*/artifacts/*}:stage" @@ -88,7 +92,7 @@ service BuildService { } // Finds the most stable build for the given build target. The definition of - // the most stable build is determined by evaluating the following rules in + // the most stable build is determined by evaluating the following rule in // order until one is true. If none are true, then there is no stable build // and it will return an empty response. // @@ -99,7 +103,8 @@ service BuildService { // 4. Most recent stable channel build with build status Pass // 5. Most recent beta channel build with build status Pass // 6. Most recent dev channel build with build status Pass - rpc FindMostStableBuild(FindMostStableBuildRequest) returns (FindMostStableBuildResponse) { + rpc FindMostStableBuild(FindMostStableBuildRequest) + returns (FindMostStableBuildResponse) { option (google.api.http) = { get: "/v1beta1/{build_target=buildTargets/*}:findMostStableBuild" }; @@ -108,6 +113,7 @@ service BuildService { } // Request message for finding the most stable build. +// -- NEXT_TAG: 2 -- message FindMostStableBuildRequest { // Required. The full resource name of the build target. // For example, @@ -121,22 +127,25 @@ message FindMostStableBuildRequest { } // Response message for finding the most stable build. +// -- NEXT_TAG: 2 -- message FindMostStableBuildResponse { // The most stable build. Build build = 1; } // Request message for listing build targets. +// -- NEXT_TAG: 3 -- message ListBuildTargetsRequest { // Optional. The number of build targets to return in a page. int32 page_size = 1 [(google.api.field_behavior) = OPTIONAL]; - // Optional. A page token, received from a previous `ListBuildTargets` call. Provide - // this to retrieve the subsequent page. + // Optional. A page token, received from a previous `ListBuildTargets` call. + // Provide this to retrieve the subsequent page. string page_token = 2 [(google.api.field_behavior) = OPTIONAL]; } // Response message for listing build targets. +// -- NEXT_TAG: 4 -- message ListBuildTargetsResponse { // The list of build targets. repeated BuildTarget build_targets = 1; @@ -150,6 +159,7 @@ message ListBuildTargetsResponse { } // Request message for listing models. +// -- NEXT_TAG: 4 -- message ListModelsRequest { // Required. The full resource name of build target. string parent = 1 [ @@ -168,6 +178,7 @@ message ListModelsRequest { } // Response message for listing models. +// -- NEXT_TAG: 4 -- message ListModelsResponse { // The list of models. repeated Model models = 1; @@ -181,6 +192,7 @@ message ListModelsResponse { } // Request message for listing builds. +// -- NEXT_TAG: 7 -- message ListBuildsRequest { // Required. The full resource name of the model. The model id is the same as // the build target id for non-unified builds. @@ -196,30 +208,32 @@ message ListBuildsRequest { // Optional. The number of builds to return in a page. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. A page token, received from a previous `ListBuilds` call. Provide this to - // retrieve the subsequent page. + // Optional. A page token, received from a previous `ListBuilds` call. Provide + // this to retrieve the subsequent page. string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Filter that specifies value constraints of fields. For example, the - // filter can be set as "filter='milestone=milestones/80'" to only select + // Optional. Filter that specifies value constraints of fields. For example, + // the filter can be set as "filter='milestone=milestones/80'" to only select // builds in milestone 80. string filter = 4 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Read mask that specifies which Build fields to return. If empty, all Build - // fields will be returned. - // Valid fields: name, milestone, build_version. - // For example, if the read_mask is set as "read_mask='milestone'", the - // ListBuilds will return a list of Builds object with only the milestone - // field. - google.protobuf.FieldMask read_mask = 5 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The operation that groups by all the Build fields specified in the read - // mask. The group_by field should be the same as the read_mask field in - // convention of SQL. - google.protobuf.FieldMask group_by = 6 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Read mask that specifies which Build fields to return. If empty, + // all Build fields will be returned. Valid fields: name, milestone, + // build_version. For example, if the read_mask is set as + // "read_mask='milestone'", the ListBuilds will return a list of Builds object + // with only the milestone field. + google.protobuf.FieldMask read_mask = 5 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The operation that groups by all the Build fields specified in + // the read mask. The group_by field should be the same as the read_mask field + // in convention of SQL. + google.protobuf.FieldMask group_by = 6 + [(google.api.field_behavior) = OPTIONAL]; } // Response message for listing builds. +// -- NEXT_TAG: 4 -- message ListBuildsResponse { // The list of builds. repeated Build builds = 1; @@ -233,6 +247,7 @@ message ListBuildsResponse { } // Request message for checking if the build artifact is staged. +// -- NEXT_TAG: 3 -- message CheckBuildStageStatusRequest { // Required. The full resource name of the build artifact. // For example, @@ -244,13 +259,14 @@ message CheckBuildStageStatusRequest { } ]; - // Optional. Filter that specifies value constraints of fields. For example, the - // filter can be set as "filter='type=release'" to only check the release + // Optional. Filter that specifies value constraints of fields. For example, + // the filter can be set as "filter='type=release'" to only check the release // builds. string filter = 2 [(google.api.field_behavior) = OPTIONAL]; } // Response message for checking the stage status of a build artifact. +// -- NEXT_TAG: 4 -- message CheckBuildStageStatusResponse { // The status to represent if the build is staged or not. bool is_build_staged = 1; @@ -263,6 +279,7 @@ message CheckBuildStageStatusResponse { } // Request message for staging a build artifact. +// -- NEXT_TAG: 3 -- message StageBuildRequest { // Required. The full resource name of the build artifact. // For example, @@ -274,19 +291,21 @@ message StageBuildRequest { } ]; - // Optional. Filter that specifies value constraints of fields. For example, the - // filter can be set as "filter='type=release'" to only check the release + // Optional. Filter that specifies value constraints of fields. For example, + // the filter can be set as "filter='type=release'" to only check the release // builds. string filter = 2 [(google.api.field_behavior) = OPTIONAL]; } // Response message for staging a build artifact. +// -- NEXT_TAG: 2 -- message StageBuildResponse { // The staged build in the destination bucket. BuildArtifact staged_build_artifact = 1; } // Metadata message for staging a build artifact. +// -- NEXT_TAG: 4 -- message StageBuildMetadata { // Approximate percentage of progress, e.g. "50" means 50%. float progress_percent = 1; diff --git a/third_party/googleapis/google/chromeos/moblab/v1beta1/chromeosmoblab_v1beta1.yaml b/third_party/googleapis/google/chromeos/moblab/v1beta1/chromeosmoblab_v1beta1.yaml index 64a8aa6b4..4d79df9a7 100644 --- a/third_party/googleapis/google/chromeos/moblab/v1beta1/chromeosmoblab_v1beta1.yaml +++ b/third_party/googleapis/google/chromeos/moblab/v1beta1/chromeosmoblab_v1beta1.yaml @@ -12,7 +12,7 @@ apis: backend: rules: - selector: 'google.chromeos.moblab.v1beta1.BuildService.*' - deadline: 10.0 + deadline: 30.0 documentation: summary: |- diff --git a/third_party/googleapis/google/chromeos/moblab/v1beta1/resources.proto b/third_party/googleapis/google/chromeos/moblab/v1beta1/resources.proto index cb40f61f0..de83f2a4a 100644 --- a/third_party/googleapis/google/chromeos/moblab/v1beta1/resources.proto +++ b/third_party/googleapis/google/chromeos/moblab/v1beta1/resources.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -25,6 +25,7 @@ option java_package = "com.google.chromeos.moblab.v1beta1"; option optimize_for = SPEED; // Resource that represents a build target. +// -- NEXT_TAG: 2 -- message BuildTarget { option (google.api.resource) = { type: "chromeosmoblab.googleapis.com/BuildTarget" @@ -38,6 +39,7 @@ message BuildTarget { // Resource that represents a model. Each model belongs to a build target. For // non-unified build, the model name is the same as its build target name. +// -- NEXT_TAG: 2 -- message Model { option (google.api.resource) = { type: "chromeosmoblab.googleapis.com/Model" @@ -50,6 +52,7 @@ message Model { } // Resource that represents a chrome OS milestone. +// -- NEXT_TAG: 2 -- message Milestone { option (google.api.resource) = { type: "chromeosmoblab.googleapis.com/Milestone" @@ -63,6 +66,7 @@ message Milestone { // Resource that represents a build for the given build target, model, milestone // and build version. +// -- NEXT_TAG: 9 -- message Build { option (google.api.resource) = { type: "chromeosmoblab.googleapis.com/Build" @@ -122,13 +126,17 @@ message Build { // The branch of the build. string branch = 6; - // The read write firmware version of the software that is flashed to the chip - // on the Chrome OS device. + // The firmware version of the software that is flashed to the chip on the + // Chrome OS device. string rw_firmware_version = 7; + + // The labels of the build. + repeated string labels = 8; } // Resource that represents a build artifact stored in Google Cloud Storage for // the given build target, model, build version and bucket. +// -- NEXT_TAG: 6 -- message BuildArtifact { option (google.api.resource) = { type: "chromeosmoblab.googleapis.com/BuildArtifact" diff --git a/third_party/googleapis/google/chromeos/uidetection/v1/BUILD.bazel b/third_party/googleapis/google/chromeos/uidetection/v1/BUILD.bazel index 221358d13..197e71c30 100644 --- a/third_party/googleapis/google/chromeos/uidetection/v1/BUILD.bazel +++ b/third_party/googleapis/google/chromeos/uidetection/v1/BUILD.bazel @@ -24,7 +24,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -34,7 +33,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -143,19 +141,13 @@ go_gapic_library( ], ) -go_test( - name = "uidetection_go_gapic_test", - srcs = [":uidetection_go_gapic_srcjar_test"], - embed = [":uidetection_go_gapic"], - importpath = "google.golang.org/google/chromeos/uidetection/v1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-chromeos-uidetection-v1-go", deps = [ ":uidetection_go_gapic", ":uidetection_go_gapic_srcjar-metadata.srcjar", + ":uidetection_go_gapic_srcjar-snippets.srcjar", ":uidetection_go_gapic_srcjar-test.srcjar", ":uidetection_go_proto", ], @@ -193,12 +185,6 @@ php_proto_library( deps = [":uidetection_proto"], ) -php_grpc_library( - name = "uidetection_php_grpc", - srcs = [":uidetection_proto"], - deps = [":uidetection_php_proto"], -) - php_gapic_library( name = "uidetection_php_gapic", srcs = [":uidetection_proto_with_info"], @@ -206,10 +192,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "chromeosuidetection_v1.yaml", transport = "grpc+rest", - deps = [ - ":uidetection_php_grpc", - ":uidetection_php_proto", - ], + deps = [":uidetection_php_proto"], ) # Open Source Packages @@ -217,7 +200,6 @@ php_gapic_assembly_pkg( name = "google-cloud-chromeos-uidetection-v1-php", deps = [ ":uidetection_php_gapic", - ":uidetection_php_grpc", ":uidetection_php_proto", ], ) @@ -263,6 +245,7 @@ ruby_cloud_gapic_library( grpc_service_config = "ui_detection_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "chromeosuidetection_v1.yaml", + transport = "grpc+rest", deps = [ ":uidetection_ruby_grpc", ":uidetection_ruby_proto", diff --git a/third_party/googleapis/google/chromeos/uidetection/v1/ui_detection.proto b/third_party/googleapis/google/chromeos/uidetection/v1/ui_detection.proto index 86570bde0..c6f4a2747 100644 --- a/third_party/googleapis/google/chromeos/uidetection/v1/ui_detection.proto +++ b/third_party/googleapis/google/chromeos/uidetection/v1/ui_detection.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -45,8 +45,21 @@ message UiDetectionRequest { // Required. Required field that indicates the detection type. DetectionRequest request = 2 [(google.api.field_behavior) = REQUIRED]; - // Indicates whether to resize the image when detecting. + // Indicates whether to fall back to resizing the image if no elements are + // detected. optional bool resize_image = 3; + + // Deprecated as of 2023-03-29. Use test_metadata instead. + string test_id = 4 [deprecated = true]; + + // Optional. Metadata about the client for analytics. + TestMetadata test_metadata = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Indicates whether to always start by resizing the image. + bool force_image_resizing = 6 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Indicates whether to respond with the transformed image png. + bool return_transformed_image = 7 [(google.api.field_behavior) = OPTIONAL]; } // Detection type specifies what to detect in the image. @@ -63,6 +76,22 @@ message DetectionRequest { } } +// Metadata about the client test and test device. +message TestMetadata { + // Name of the calling test. For example, 'tast.uidetection.BasicDetections'. + string test_id = 1; + + // Board name of the ChromeOS device under test. For example, 'volteer'. + string board = 2; + + // Model name of the ChromeOS device under test. For example, 'volet'. + string model = 3; + + // ChromeOS build of the device under test. + // For example, 'volteer-release/R110-15275.0.0-75031-8794956681263330561'. + string cros_build = 4; +} + // Detection type for word detection. message WordDetectionRequest { // Required. The word to locate in the image. @@ -116,6 +145,14 @@ message CustomIconDetectionRequest { message UiDetectionResponse { // Locations of matching UI elements. repeated BoundingBox bounding_boxes = 1; + + // The transformed detection image PNG, if requested and transformations were + // applied. + bytes transformed_image_png = 2; + + // The amount the original image was scaled by to make the transformed image. + // 1.0 if the detection result is not based on a resized image. + float resizing_scale_factor = 3; } // The location of a UI element. diff --git a/third_party/googleapis/google/cloud/BUILD.bazel b/third_party/googleapis/google/cloud/BUILD.bazel index b315e94f3..54038be8e 100644 --- a/third_party/googleapis/google/cloud/BUILD.bazel +++ b/third_party/googleapis/google/cloud/BUILD.bazel @@ -72,13 +72,25 @@ py_proto_library( ############################################################################## # PHP ############################################################################## -load("@com_google_googleapis_imports//:imports.bzl", "php_proto_library") +load( + "@com_google_googleapis_imports//:imports.bzl", + "php_gapic_assembly_pkg", + "php_proto_library", +) php_proto_library( name = "extended_operations_php_proto", deps = [":extended_operations_proto"], ) +# Please DO-NOT-REMOVE this section. +# This is required to generate php files for these protos. +# Open Source Packages +php_gapic_assembly_pkg( + name = "extended-operations-php", + deps = [":extended_operations_php_proto"], +) + ############################################################################## # Node.js ############################################################################## diff --git a/third_party/googleapis/google/cloud/accessapproval/BUILD.bazel b/third_party/googleapis/google/cloud/accessapproval/BUILD.bazel index 919d9c2be..95705bca1 100644 --- a/third_party/googleapis/google/cloud/accessapproval/BUILD.bazel +++ b/third_party/googleapis/google/cloud/accessapproval/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-access_approval", "ruby-cloud-env-prefix=ACCESS_APPROVAL", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.11", "ruby-cloud-product-url=https://cloud.google.com/access-approval/", "ruby-cloud-api-id=accessapproval.googleapis.com", "ruby-cloud-api-shortname=accessapproval", ], ruby_cloud_description = "An API for controlling access to data by Google personnel.", ruby_cloud_title = "Access Approval", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/accessapproval/v1/BUILD.bazel b/third_party/googleapis/google/cloud/accessapproval/v1/BUILD.bazel index 5f65da00e..0de361ded 100644 --- a/third_party/googleapis/google/cloud/accessapproval/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/accessapproval/v1/BUILD.bazel @@ -71,6 +71,7 @@ java_gapic_library( gapic_yaml = "accessapproval_gapic.yaml", grpc_service_config = "accessapproval_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "accessapproval_v1.yaml", test_deps = [ ":accessapproval_java_grpc", ], @@ -110,7 +111,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -138,18 +138,12 @@ go_gapic_library( ], ) -go_test( - name = "accessapproval_go_gapic_test", - srcs = [":accessapproval_go_gapic_srcjar_test"], - embed = [":accessapproval_go_gapic"], - importpath = "cloud.google.com/go/accessapproval/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-accessapproval-v1-go", deps = [ ":accessapproval_go_gapic", + ":accessapproval_go_gapic_srcjar-snippets.srcjar", ":accessapproval_go_gapic_srcjar-test.srcjar", ":accessapproval_go_proto", ], @@ -202,7 +196,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -211,23 +204,15 @@ php_proto_library( deps = [":accessapproval_proto"], ) -php_grpc_library( - name = "accessapproval_php_grpc", - srcs = [":accessapproval_proto"], - deps = [":accessapproval_php_proto"], -) - php_gapic_library( name = "accessapproval_php_gapic", srcs = [":accessapproval_proto_with_info"], grpc_service_config = "accessapproval_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "accessapproval_v1.yaml", transport = "grpc+rest", - deps = [ - ":accessapproval_php_grpc", - ":accessapproval_php_proto", - ], + deps = [":accessapproval_php_proto"], ) # Open Source Packages @@ -235,7 +220,6 @@ php_gapic_assembly_pkg( name = "google-cloud-accessapproval-v1-php", deps = [ ":accessapproval_php_gapic", - ":accessapproval_php_grpc", ":accessapproval_php_proto", ], ) @@ -307,6 +291,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "An API for controlling access to data by Google personnel.", ruby_cloud_title = "Access Approval V1", service_yaml = "accessapproval_v1.yaml", + transport = "grpc+rest", deps = [ ":accessapproval_ruby_grpc", ":accessapproval_ruby_proto", diff --git a/third_party/googleapis/google/cloud/accessapproval/v1/accessapproval_v1.yaml b/third_party/googleapis/google/cloud/accessapproval/v1/accessapproval_v1.yaml index 9893bf20f..c97f443ea 100644 --- a/third_party/googleapis/google/cloud/accessapproval/v1/accessapproval_v1.yaml +++ b/third_party/googleapis/google/cloud/accessapproval/v1/accessapproval_v1.yaml @@ -20,3 +20,13 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform + +publishing: + documentation_uri: https://cloud.google.com/access-approval/docs + github_label: 'api: accessapproval' + organization: CLOUD + library_settings: + - version: google.cloud.accessapproval.v1 + dotnet_settings: + renamed_services: + AccessApproval: AccessApprovalService diff --git a/third_party/googleapis/google/cloud/advisorynotifications/BUILD.bazel b/third_party/googleapis/google/cloud/advisorynotifications/BUILD.bazel index b3206b378..023ba06a7 100644 --- a/third_party/googleapis/google/cloud/advisorynotifications/BUILD.bazel +++ b/third_party/googleapis/google/cloud/advisorynotifications/BUILD.bazel @@ -21,7 +21,7 @@ ruby_cloud_gapic_library( srcs = ["//google/cloud/advisorynotifications/v1:advisorynotifications_proto_with_info"], extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-advisory_notifications", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.8", ], service_yaml = "//google/cloud/advisorynotifications/v1:advisorynotifications_v1.yaml", transport = "grpc+rest", diff --git a/third_party/googleapis/google/cloud/advisorynotifications/v1/BUILD.bazel b/third_party/googleapis/google/cloud/advisorynotifications/v1/BUILD.bazel index caf248e0b..699317474 100644 --- a/third_party/googleapis/google/cloud/advisorynotifications/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/advisorynotifications/v1/BUILD.bazel @@ -36,7 +36,6 @@ proto_library_with_info( name = "advisorynotifications_proto_with_info", deps = [ ":advisorynotifications_proto", - "//google/cloud:common_resources_proto", ], ) @@ -110,7 +109,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -129,7 +127,7 @@ go_gapic_library( grpc_service_config = "advisorynotifications_v1_grpc_service_config.json", importpath = "cloud.google.com/go/advisorynotifications/apiv1;advisorynotifications", metadata = True, - release_level = "beta", + release_level = "ga", rest_numeric_enums = True, service_yaml = "advisorynotifications_v1.yaml", transport = "grpc+rest", @@ -138,19 +136,13 @@ go_gapic_library( ], ) -go_test( - name = "advisorynotifications_go_gapic_test", - srcs = [":advisorynotifications_go_gapic_srcjar_test"], - embed = [":advisorynotifications_go_gapic"], - importpath = "cloud.google.com/go/advisorynotifications/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-advisorynotifications-v1-go", deps = [ ":advisorynotifications_go_gapic", ":advisorynotifications_go_gapic_srcjar-metadata.srcjar", + ":advisorynotifications_go_gapic_srcjar-snippets.srcjar", ":advisorynotifications_go_gapic_srcjar-test.srcjar", ":advisorynotifications_go_proto", ], @@ -173,7 +165,8 @@ py_gapic_library( rest_numeric_enums = True, service_yaml = "advisorynotifications_v1.yaml", transport = "grpc+rest", - deps = [], + deps = [ + ], ) py_test( @@ -201,7 +194,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -210,21 +202,15 @@ php_proto_library( deps = [":advisorynotifications_proto"], ) -php_grpc_library( - name = "advisorynotifications_php_grpc", - srcs = [":advisorynotifications_proto"], - deps = [":advisorynotifications_php_proto"], -) - php_gapic_library( name = "advisorynotifications_php_gapic", srcs = [":advisorynotifications_proto_with_info"], grpc_service_config = "advisorynotifications_v1_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "advisorynotifications_v1.yaml", transport = "grpc+rest", deps = [ - ":advisorynotifications_php_grpc", ":advisorynotifications_php_proto", ], ) @@ -234,7 +220,6 @@ php_gapic_assembly_pkg( name = "google-cloud-advisorynotifications-v1-php", deps = [ ":advisorynotifications_php_gapic", - ":advisorynotifications_php_grpc", ":advisorynotifications_php_proto", ], ) @@ -294,9 +279,7 @@ ruby_grpc_library( ruby_cloud_gapic_library( name = "advisorynotifications_ruby_gapic", srcs = [":advisorynotifications_proto_with_info"], - extra_protoc_parameters = [ - "ruby-cloud-gem-name=google-cloud-advisory_notifications-v1", - ], + extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-advisory_notifications-v1"], grpc_service_config = "advisorynotifications_v1_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "advisorynotifications_v1.yaml", @@ -342,10 +325,10 @@ csharp_grpc_library( csharp_gapic_library( name = "advisorynotifications_csharp_gapic", srcs = [":advisorynotifications_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", grpc_service_config = "advisorynotifications_v1_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "advisorynotifications_v1.yaml", + transport = "grpc+rest", deps = [ ":advisorynotifications_csharp_grpc", ":advisorynotifications_csharp_proto", diff --git a/third_party/googleapis/google/cloud/advisorynotifications/v1/advisorynotifications_v1.yaml b/third_party/googleapis/google/cloud/advisorynotifications/v1/advisorynotifications_v1.yaml index 72d62442c..27e921aa5 100644 --- a/third_party/googleapis/google/cloud/advisorynotifications/v1/advisorynotifications_v1.yaml +++ b/third_party/googleapis/google/cloud/advisorynotifications/v1/advisorynotifications_v1.yaml @@ -11,30 +11,22 @@ documentation: authentication: rules: - - selector: google.cloud.advisorynotifications.v1.AdvisoryNotificationsService.GetNotification - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/cloud-platform - - selector: google.cloud.advisorynotifications.v1.AdvisoryNotificationsService.ListNotifications + - selector: 'google.cloud.advisorynotifications.v1.AdvisoryNotificationsService.*' oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform publishing: - organization: CLOUD - new_issue_uri: 'https://issuetracker.google.com/issues/new?component=1009495' - documentation_uri: 'https://cloud.google.com/advisory-notifications/docs/overview' - api_short_name: 'advisorynotifications' + new_issue_uri: https://issuetracker.google.com/issues/new?component=1009495 + documentation_uri: https://cloud.google.com/advisory-notifications/docs/overview + api_short_name: advisorynotifications github_label: 'api: advisorynotifications' - doc_tag_prefix: 'advisorynotifications' - codeowner_github_teams: + doc_tag_prefix: advisorynotifications + organization: CLOUD library_settings: - - version: 'google.cloud.advisorynotifications.v1' + - version: google.cloud.advisorynotifications.v1 launch_stage: GA - rest_numeric_enums: false java_settings: - library_package: '' - service_class_names: common: destinations: - PACKAGE_MANAGER diff --git a/third_party/googleapis/google/cloud/advisorynotifications/v1/service.proto b/third_party/googleapis/google/cloud/advisorynotifications/v1/service.proto index 05b53b394..87947ba21 100644 --- a/third_party/googleapis/google/cloud/advisorynotifications/v1/service.proto +++ b/third_party/googleapis/google/cloud/advisorynotifications/v1/service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -24,14 +24,15 @@ import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AdvisoryNotifications.V1"; option go_package = "cloud.google.com/go/advisorynotifications/apiv1/advisorynotificationspb;advisorynotificationspb"; -option php_namespace = "Google\\Cloud\\AdvisoryNotifications\\V1"; -option ruby_package = "Google::Cloud::AdvisoryNotifications::V1"; option java_multiple_files = true; option java_outer_classname = "ServiceProto"; option java_package = "com.google.cloud.advisorynotifications.v1"; +option php_namespace = "Google\\Cloud\\AdvisoryNotifications\\V1"; +option ruby_package = "Google::Cloud::AdvisoryNotifications::V1"; option (google.api.resource_definition) = { type: "advisorynotifications.googleapis.com/Location" pattern: "organizations/{organization}/locations/{location}" + pattern: "projects/{project}/locations/{location}" }; // Service to manage Security and Privacy Notifications. @@ -45,6 +46,9 @@ service AdvisoryNotificationsService { returns (ListNotificationsResponse) { option (google.api.http) = { get: "/v1/{parent=organizations/*/locations/*}/notifications" + additional_bindings { + get: "/v1/{parent=projects/*/locations/*}/notifications" + } }; option (google.api.method_signature) = "parent"; } @@ -53,9 +57,29 @@ service AdvisoryNotificationsService { rpc GetNotification(GetNotificationRequest) returns (Notification) { option (google.api.http) = { get: "/v1/{name=organizations/*/locations/*/notifications/*}" + additional_bindings { + get: "/v1/{name=projects/*/locations/*/notifications/*}" + } + }; + option (google.api.method_signature) = "name"; + } + + // Get notification settings. + rpc GetSettings(GetSettingsRequest) returns (Settings) { + option (google.api.http) = { + get: "/v1/{name=organizations/*/locations/*/settings}" }; option (google.api.method_signature) = "name"; } + + // Update notification settings. + rpc UpdateSettings(UpdateSettingsRequest) returns (Settings) { + option (google.api.http) = { + patch: "/v1/{settings.name=organizations/*/locations/*/settings}" + body: "settings" + }; + option (google.api.method_signature) = "settings"; + } } // Notification view. @@ -92,17 +116,39 @@ enum LocalizationState { LOCALIZATION_STATE_COMPLETED = 3; } +// Type of notification +enum NotificationType { + // Default type + NOTIFICATION_TYPE_UNSPECIFIED = 0; + + // Security and privacy advisory notifications + NOTIFICATION_TYPE_SECURITY_PRIVACY_ADVISORY = 1; + + // Sensitive action notifications + NOTIFICATION_TYPE_SENSITIVE_ACTIONS = 2; + + // General security MSA + NOTIFICATION_TYPE_SECURITY_MSA = 3; + + // Threat horizons MSA + NOTIFICATION_TYPE_THREAT_HORIZONS = 4; +} + // A notification object for notifying customers about security and privacy // issues. message Notification { option (google.api.resource) = { type: "advisorynotifications.googleapis.com/Notification" pattern: "organizations/{organization}/locations/{location}/notifications/{notification}" + pattern: "projects/{project}/locations/{location}/notifications/{notification}" + plural: "notifications" + singular: "notification" }; // The resource name of the notification. // Format: - // organizations/{organization}/locations/{location}/notifications/{notification}. + // organizations/{organization}/locations/{location}/notifications/{notification} + // or projects/{project}/locations/{location}/notifications/{notification}. string name = 1; // The subject line of the notification. @@ -114,6 +160,9 @@ message Notification { // Output only. Time the notification was created. google.protobuf.Timestamp create_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Type of notification + NotificationType notification_type = 12; } // A text object containing the English text and its localized copies. @@ -188,7 +237,8 @@ message Csv { // Request for fetching all notifications for a given parent. message ListNotificationsRequest { // Required. The parent, which owns this collection of notifications. - // Must be of the form "organizations/{organization}/locations/{location}". + // Must be of the form "organizations/{organization}/locations/{location}" + // or "projects/{project}/locations/{location}" string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -236,7 +286,8 @@ message ListNotificationsResponse { message GetNotificationRequest { // Required. A name of the notification to retrieve. // Format: - // organizations/{organization}/locations/{location}/notifications/{notification}. + // organizations/{organization}/locations/{location}/notifications/{notification} + // or projects/{projects}/locations/{location}/notifications/{notification}. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -251,3 +302,53 @@ message GetNotificationRequest { // this RPC will throw an error. string language_code = 5; } + +// Settings for Advisory Notifications. +message Settings { + option (google.api.resource) = { + type: "advisorynotifications.googleapis.com/Settings" + pattern: "organizations/{organization}/locations/{location}/settings" + }; + + // Output only. The resource name of the settings to retrieve. + // Format: + // organizations/{organization}/locations/{location}/settings. + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Required. Map of each notification type and its settings to get/set all + // settings at once. The server will validate the value for each notification + // type. + map notification_settings = 2 + [(google.api.field_behavior) = REQUIRED]; + + // Required. Fingerprint for optimistic concurrency returned in Get requests. + // Must be provided for Update requests. If the value provided does not match + // the value known to the server, ABORTED will be thrown, and the client + // should retry the read-modify-write cycle. + string etag = 3 [(google.api.field_behavior) = REQUIRED]; +} + +// Settings for each NotificationType. +message NotificationSettings { + // Whether the associated NotificationType is enabled. + bool enabled = 1; +} + +// Request of GetSettings endpoint. +message GetSettingsRequest { + // Required. The resource name of the settings to retrieve. + // Format: + // organizations/{organization}/locations/{location}/settings. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "advisorynotifications.googleapis.com/Settings" + } + ]; +} + +// Request of UpdateSettings endpoint. +message UpdateSettingsRequest { + // Required. New settings. + Settings settings = 1 [(google.api.field_behavior) = REQUIRED]; +} diff --git a/third_party/googleapis/google/cloud/aiplatform/BUILD.bazel b/third_party/googleapis/google/cloud/aiplatform/BUILD.bazel index b71915569..ccc6de7c2 100644 --- a/third_party/googleapis/google/cloud/aiplatform/BUILD.bazel +++ b/third_party/googleapis/google/cloud/aiplatform/BUILD.bazel @@ -21,7 +21,7 @@ ruby_cloud_gapic_library( srcs = ["//google/cloud/aiplatform/v1:aiplatform_proto_with_info"], extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-ai_platform", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.35", "ruby-cloud-product-url=https://cloud.google.com/vertex-ai/docs/", "ruby-cloud-api-id=aiplatform.googleapis.com", "ruby-cloud-api-shortname=aiplatform", diff --git a/third_party/googleapis/google/cloud/aiplatform/logging/BUILD.bazel b/third_party/googleapis/google/cloud/aiplatform/logging/BUILD.bazel index 350160bd3..7f94c0dc3 100644 --- a/third_party/googleapis/google/cloud/aiplatform/logging/BUILD.bazel +++ b/third_party/googleapis/google/cloud/aiplatform/logging/BUILD.bazel @@ -90,7 +90,6 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -99,21 +98,9 @@ php_proto_library( deps = [":logging_proto"], ) -php_grpc_library( - name = "logging_php_grpc", - srcs = [":logging_proto"], - deps = [":logging_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) - ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/BUILD.bazel b/third_party/googleapis/google/cloud/aiplatform/v1/BUILD.bazel index bf6eabd2f..78399af13 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/aiplatform/v1/BUILD.bazel @@ -34,14 +34,18 @@ proto_library( "artifact.proto", "batch_prediction_job.proto", "completion_stats.proto", + "content.proto", "context.proto", "custom_job.proto", "data_item.proto", "data_labeling_job.proto", "dataset.proto", "dataset_service.proto", + "dataset_version.proto", "deployed_index_ref.proto", "deployed_model_ref.proto", + "deployment_resource_pool.proto", + "deployment_resource_pool_service.proto", "encryption_spec.proto", "endpoint.proto", "endpoint_service.proto", @@ -53,8 +57,15 @@ proto_library( "explanation.proto", "explanation_metadata.proto", "feature.proto", + "feature_group.proto", "feature_monitoring_stats.proto", + "feature_online_store.proto", + "feature_online_store_admin_service.proto", + "feature_online_store_service.proto", + "feature_registry_service.proto", "feature_selector.proto", + "feature_view.proto", + "feature_view_sync.proto", "featurestore.proto", "featurestore_monitoring.proto", "featurestore_online_service.proto", @@ -68,8 +79,10 @@ proto_library( "job_service.proto", "job_state.proto", "lineage_subgraph.proto", + "llm_utility_service.proto", "machine_resources.proto", "manual_batch_tuning_parameters.proto", + "match_service.proto", "metadata_schema.proto", "metadata_service.proto", "metadata_store.proto", @@ -81,15 +94,20 @@ proto_library( "model_evaluation_slice.proto", "model_monitoring.proto", "model_service.proto", + "model_garden_service.proto", "nas_job.proto", + "openapi.proto", "operation.proto", "pipeline_failure_policy.proto", "pipeline_job.proto", "pipeline_service.proto", "pipeline_state.proto", "prediction_service.proto", + "publisher_model.proto", "saved_query.proto", "service_networking.proto", + "schedule.proto", + "schedule_service.proto", "specialist_pool.proto", "specialist_pool_service.proto", "study.proto", @@ -99,6 +117,7 @@ proto_library( "tensorboard_run.proto", "tensorboard_service.proto", "tensorboard_time_series.proto", + "tool.proto", "training_pipeline.proto", "types.proto", "unmanaged_container_model.proto", @@ -116,6 +135,7 @@ proto_library( "//google/rpc:status_proto", "//google/type:interval_proto", "//google/type:money_proto", + "//google/type:date_proto", "@com_google_protobuf//:duration_proto", "@com_google_protobuf//:empty_proto", "@com_google_protobuf//:field_mask_proto", @@ -203,6 +223,7 @@ java_gapic_test( "com.google.cloud.aiplatform.v1.IndexEndpointServiceClientTest", "com.google.cloud.aiplatform.v1.IndexServiceClientTest", "com.google.cloud.aiplatform.v1.JobServiceClientTest", + "com.google.cloud.aiplatform.v1.LlmUtilityServiceClientTest", "com.google.cloud.aiplatform.v1.MetadataServiceClientTest", "com.google.cloud.aiplatform.v1.MigrationServiceClientTest", "com.google.cloud.aiplatform.v1.ModelServiceClientTest", @@ -218,6 +239,7 @@ java_gapic_test( # Open Source Packages java_gapic_assembly_gradle_pkg( name = "google-cloud-aiplatform-v1-java", + include_samples = True, transport = "grpc", deps = [ ":aiplatform_java_gapic", @@ -235,7 +257,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -250,6 +271,7 @@ go_proto_library( "//google/rpc:status_go_proto", "//google/type:interval_go_proto", "//google/type:money_go_proto", + "//google/type:date_go_proto", ], ) @@ -276,19 +298,13 @@ go_gapic_library( ], ) -go_test( - name = "aiplatform_go_gapic_test", - srcs = [":aiplatform_go_gapic_srcjar_test"], - embed = [":aiplatform_go_gapic"], - importpath = "cloud.google.com/go/aiplatform/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-aiplatform-v1-go", deps = [ ":aiplatform_go_gapic", ":aiplatform_go_gapic_srcjar-metadata.srcjar", + ":aiplatform_go_gapic_srcjar-snippets.srcjar", ":aiplatform_go_gapic_srcjar-test.srcjar", ":aiplatform_go_proto", ], @@ -317,7 +333,7 @@ py_gapic_library( grpc_service_config = "aiplatform_grpc_service_config.json", rest_numeric_enums = False, service_yaml = "aiplatform_v1.yaml", - transport = "grpc", + transport = "grpc+rest", deps = [ "//google/iam/v1:iam_policy_py_proto", ], @@ -348,7 +364,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -357,23 +372,15 @@ php_proto_library( deps = [":aiplatform_proto"], ) -php_grpc_library( - name = "aiplatform_php_grpc", - srcs = [":aiplatform_proto"], - deps = [":aiplatform_php_proto"], -) - php_gapic_library( name = "aiplatform_php_gapic", srcs = [":aiplatform_proto_with_info"], grpc_service_config = "aiplatform_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = False, service_yaml = "aiplatform_v1.yaml", transport = "grpc+rest", - deps = [ - ":aiplatform_php_grpc", - ":aiplatform_php_proto", - ], + deps = [":aiplatform_php_proto"], ) # Open Source Packages @@ -381,7 +388,6 @@ php_gapic_assembly_pkg( name = "google-cloud-aiplatform-v1-php", deps = [ ":aiplatform_php_gapic", - ":aiplatform_php_grpc", ":aiplatform_php_proto", ], ) @@ -481,6 +487,13 @@ load( "csharp_proto_library", ) +_CSHARP_PROTO_SUBPACKAGE_DEPS = [ + "//google/cloud/aiplatform/v1/schema/predict/instance:instance_csharp_proto", + "//google/cloud/aiplatform/v1/schema/predict/params:params_csharp_proto", + "//google/cloud/aiplatform/v1/schema/predict/prediction:prediction_csharp_proto", + "//google/cloud/aiplatform/v1/schema/trainingjob/definition:definition_csharp_proto", +] + csharp_proto_library( name = "aiplatform_csharp_proto", deps = [":aiplatform_proto"], @@ -492,57 +505,28 @@ csharp_grpc_library( deps = [":aiplatform_csharp_proto"], ) -# Generate a package for googleapis-gen even without the GAPIC client. -# This will allow OwlBot to trigger changes to be pushed to google-cloud-dotnet, -# which will perform full generation after fixing up the protos first. - -csharp_gapic_assembly_pkg( - name = "google-cloud-aiplatform-v1-csharp", - package_name = "Google.Cloud.AIPlatform.V1", - generate_nongapic_package = True, +csharp_gapic_library( + name = "aiplatform_csharp_gapic", + srcs = [":aiplatform_proto_with_info"], + common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", + grpc_service_config = "aiplatform_grpc_service_config.json", + rest_numeric_enums = False, + service_yaml = "aiplatform_v1.yaml", deps = [ ":aiplatform_csharp_grpc", ":aiplatform_csharp_proto", ], ) -# csharp_gapic_library( -# name = "aiplatform_csharp_gapic", -# srcs = [":aiplatform_proto_with_info"], -# common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -# grpc_service_config = "aiplatform_grpc_service_config.json", -# service_yaml = "aiplatform_v1.yaml", -# deps = [ -# ":aiplatform_csharp_grpc", -# ":aiplatform_csharp_proto", -# ], -# ) - -################################ -# Keep C# target commented out through the regeneration, as C# gen has an issue -# with the aiplatform v1 protos -# -# csharp_gapic_library( -# name = "aiplatform_csharp_gapic", -# srcs = [":aiplatform_proto_with_info"], -# common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -# grpc_service_config = "aiplatform_grpc_service_config.json", -# deps = [ -# ":aiplatform_csharp_grpc", -# ":aiplatform_csharp_proto", -# ], -# ) - # Open Source Packages -# csharp_gapic_assembly_pkg( -# name = "google-cloud-aiplatform-v1-csharp", -# deps = [ -# ":aiplatform_csharp_gapic", -# ":aiplatform_csharp_grpc", -# ":aiplatform_csharp_proto", -# ], -# ) -################################ +csharp_gapic_assembly_pkg( + name = "google-cloud-aiplatform-v1-csharp", + deps = [ + ":aiplatform_csharp_gapic", + ":aiplatform_csharp_grpc", + ":aiplatform_csharp_proto", + ] + _CSHARP_PROTO_SUBPACKAGE_DEPS, +) ############################################################################## # C++ diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/accelerator_type.proto b/third_party/googleapis/google/cloud/aiplatform/v1/accelerator_type.proto index 38682297e..de62b281e 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/accelerator_type.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/accelerator_type.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -25,7 +25,6 @@ option php_namespace = "Google\\Cloud\\AIPlatform\\V1"; option ruby_package = "Google::Cloud::AIPlatform::V1"; // Represents a hardware accelerator type. -// NEXT ID: 11. enum AcceleratorType { // Unspecified accelerator type, which means no accelerator. ACCELERATOR_TYPE_UNSPECIFIED = 0; @@ -48,6 +47,12 @@ enum AcceleratorType { // Nvidia Tesla A100 GPU. NVIDIA_TESLA_A100 = 8; + // Nvidia A100 80GB GPU. + NVIDIA_A100_80GB = 9; + + // Nvidia L4 GPU. + NVIDIA_L4 = 11; + // TPU v2. TPU_V2 = 6; diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/aiplatform_v1.yaml b/third_party/googleapis/google/cloud/aiplatform/v1/aiplatform_v1.yaml index 7677d9d0a..18d28df11 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/aiplatform_v1.yaml +++ b/third_party/googleapis/google/cloud/aiplatform/v1/aiplatform_v1.yaml @@ -5,17 +5,25 @@ title: Vertex AI API apis: - name: google.cloud.aiplatform.v1.DatasetService +- name: google.cloud.aiplatform.v1.DeploymentResourcePoolService - name: google.cloud.aiplatform.v1.EndpointService +- name: google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService +- name: google.cloud.aiplatform.v1.FeatureOnlineStoreService +- name: google.cloud.aiplatform.v1.FeatureRegistryService - name: google.cloud.aiplatform.v1.FeaturestoreOnlineServingService - name: google.cloud.aiplatform.v1.FeaturestoreService - name: google.cloud.aiplatform.v1.IndexEndpointService - name: google.cloud.aiplatform.v1.IndexService - name: google.cloud.aiplatform.v1.JobService +- name: google.cloud.aiplatform.v1.LlmUtilityService +- name: google.cloud.aiplatform.v1.MatchService - name: google.cloud.aiplatform.v1.MetadataService - name: google.cloud.aiplatform.v1.MigrationService +- name: google.cloud.aiplatform.v1.ModelGardenService - name: google.cloud.aiplatform.v1.ModelService - name: google.cloud.aiplatform.v1.PipelineService - name: google.cloud.aiplatform.v1.PredictionService +- name: google.cloud.aiplatform.v1.ScheduleService - name: google.cloud.aiplatform.v1.SpecialistPoolService - name: google.cloud.aiplatform.v1.TensorboardService - name: google.cloud.aiplatform.v1.VizierService @@ -35,13 +43,19 @@ types: - name: google.cloud.aiplatform.v1.CopyModelOperationMetadata - name: google.cloud.aiplatform.v1.CopyModelResponse - name: google.cloud.aiplatform.v1.CreateDatasetOperationMetadata +- name: google.cloud.aiplatform.v1.CreateDatasetVersionOperationMetadata +- name: google.cloud.aiplatform.v1.CreateDeploymentResourcePoolOperationMetadata - name: google.cloud.aiplatform.v1.CreateEndpointOperationMetadata - name: google.cloud.aiplatform.v1.CreateEntityTypeOperationMetadata +- name: google.cloud.aiplatform.v1.CreateFeatureGroupOperationMetadata +- name: google.cloud.aiplatform.v1.CreateFeatureOnlineStoreOperationMetadata - name: google.cloud.aiplatform.v1.CreateFeatureOperationMetadata +- name: google.cloud.aiplatform.v1.CreateFeatureViewOperationMetadata - name: google.cloud.aiplatform.v1.CreateFeaturestoreOperationMetadata - name: google.cloud.aiplatform.v1.CreateIndexEndpointOperationMetadata - name: google.cloud.aiplatform.v1.CreateIndexOperationMetadata - name: google.cloud.aiplatform.v1.CreateMetadataStoreOperationMetadata +- name: google.cloud.aiplatform.v1.CreateRegistryFeatureOperationMetadata - name: google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata - name: google.cloud.aiplatform.v1.CreateTensorboardOperationMetadata - name: google.cloud.aiplatform.v1.DeleteFeatureValuesOperationMetadata @@ -64,12 +78,15 @@ types: - name: google.cloud.aiplatform.v1.ImportFeatureValuesResponse - name: google.cloud.aiplatform.v1.MutateDeployedIndexOperationMetadata - name: google.cloud.aiplatform.v1.MutateDeployedIndexResponse +- name: google.cloud.aiplatform.v1.MutateDeployedModelOperationMetadata +- name: google.cloud.aiplatform.v1.MutateDeployedModelResponse - name: google.cloud.aiplatform.v1.PurgeArtifactsMetadata - name: google.cloud.aiplatform.v1.PurgeArtifactsResponse - name: google.cloud.aiplatform.v1.PurgeContextsMetadata - name: google.cloud.aiplatform.v1.PurgeContextsResponse - name: google.cloud.aiplatform.v1.PurgeExecutionsMetadata - name: google.cloud.aiplatform.v1.PurgeExecutionsResponse +- name: google.cloud.aiplatform.v1.RestoreDatasetVersionOperationMetadata - name: google.cloud.aiplatform.v1.SpecialistPool - name: google.cloud.aiplatform.v1.SuggestTrialsMetadata - name: google.cloud.aiplatform.v1.SuggestTrialsResponse @@ -77,6 +94,13 @@ types: - name: google.cloud.aiplatform.v1.UndeployIndexResponse - name: google.cloud.aiplatform.v1.UndeployModelOperationMetadata - name: google.cloud.aiplatform.v1.UndeployModelResponse +- name: google.cloud.aiplatform.v1.UpdateDeploymentResourcePoolOperationMetadata +- name: google.cloud.aiplatform.v1.UpdateExplanationDatasetOperationMetadata +- name: google.cloud.aiplatform.v1.UpdateExplanationDatasetResponse +- name: google.cloud.aiplatform.v1.UpdateFeatureGroupOperationMetadata +- name: google.cloud.aiplatform.v1.UpdateFeatureOnlineStoreOperationMetadata +- name: google.cloud.aiplatform.v1.UpdateFeatureOperationMetadata +- name: google.cloud.aiplatform.v1.UpdateFeatureViewOperationMetadata - name: google.cloud.aiplatform.v1.UpdateFeaturestoreOperationMetadata - name: google.cloud.aiplatform.v1.UpdateIndexOperationMetadata - name: google.cloud.aiplatform.v1.UpdateModelDeploymentMonitoringJobOperationMetadata @@ -131,49 +155,6 @@ documentation: permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. -backend: - rules: - - selector: 'google.cloud.aiplatform.v1.DatasetService.*' - deadline: 60.0 - - selector: 'google.cloud.aiplatform.v1.EndpointService.*' - deadline: 60.0 - - selector: 'google.cloud.aiplatform.v1.FeaturestoreOnlineServingService.*' - deadline: 60.0 - - selector: 'google.cloud.aiplatform.v1.FeaturestoreService.*' - deadline: 60.0 - - selector: 'google.cloud.aiplatform.v1.IndexEndpointService.*' - deadline: 60.0 - - selector: 'google.cloud.aiplatform.v1.IndexService.*' - deadline: 60.0 - - selector: 'google.cloud.aiplatform.v1.JobService.*' - deadline: 60.0 - - selector: 'google.cloud.aiplatform.v1.MetadataService.*' - deadline: 60.0 - - selector: google.cloud.aiplatform.v1.MigrationService.BatchMigrateResources - deadline: 60.0 - - selector: google.cloud.aiplatform.v1.MigrationService.SearchMigratableResources - deadline: 60.0 - - selector: 'google.cloud.aiplatform.v1.ModelService.*' - deadline: 60.0 - - selector: 'google.cloud.aiplatform.v1.PipelineService.*' - deadline: 60.0 - - selector: 'google.cloud.aiplatform.v1.PredictionService.*' - deadline: 600.0 - - selector: 'google.cloud.aiplatform.v1.SpecialistPoolService.*' - deadline: 60.0 - - selector: 'google.cloud.aiplatform.v1.TensorboardService.*' - deadline: 60.0 - - selector: 'google.cloud.aiplatform.v1.VizierService.*' - deadline: 60.0 - - selector: google.cloud.location.Locations.GetLocation - deadline: 30.0 - - selector: google.cloud.location.Locations.ListLocations - deadline: 30.0 - - selector: 'google.iam.v1.IAMPolicy.*' - deadline: 60.0 - - selector: 'google.longrunning.Operations.*' - deadline: 60.0 - http: rules: - selector: google.cloud.location.Locations.GetLocation @@ -188,24 +169,45 @@ http: post: '/v1/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy' additional_bindings: - post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy' + - post: '/v1/{resource=projects/*/locations/*/models/*}:getIamPolicy' + - post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy' - post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy' - post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy' + - post: '/ui/{resource=projects/*/locations/*/models/*}:getIamPolicy' + - post: '/ui/{resource=projects/*/locations/*/endpoints/*}:getIamPolicy' + - post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy' + - post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy' - selector: google.iam.v1.IAMPolicy.SetIamPolicy post: '/v1/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy' body: '*' additional_bindings: - post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy' body: '*' + - post: '/v1/{resource=projects/*/locations/*/models/*}:setIamPolicy' + body: '*' + - post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy' + body: '*' - post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy' body: '*' - post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy' body: '*' + - post: '/ui/{resource=projects/*/locations/*/models/*}:setIamPolicy' + body: '*' + - post: '/ui/{resource=projects/*/locations/*/endpoints/*}:setIamPolicy' + body: '*' + - post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy' + body: '*' - selector: google.iam.v1.IAMPolicy.TestIamPermissions post: '/v1/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions' additional_bindings: - post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions' + - post: '/v1/{resource=projects/*/locations/*/models/*}:testIamPermissions' + - post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions' - post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions' - post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions' + - post: '/ui/{resource=projects/*/locations/*/models/*}:testIamPermissions' + - post: '/ui/{resource=projects/*/locations/*/endpoints/*}:testIamPermissions' + - post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions' - selector: google.longrunning.Operations.CancelOperation post: '/ui/{name=projects/*/locations/*/operations/*}:cancel' additional_bindings: @@ -217,6 +219,8 @@ http: - post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel' - post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel' - post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel' + - post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel' + - post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel' - post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel' - post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel' - post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel' @@ -225,7 +229,12 @@ http: - post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel' - post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel' - post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel' + - post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel' + - post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel' + - post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel' + - post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel' - post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel' + - post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel' - post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel' - post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel' - post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel' @@ -255,6 +264,10 @@ http: - post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel' - post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel' - post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel' + - post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel' + - post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel' + - post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel' + - post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel' - post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel' - post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel' - post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel' @@ -263,6 +276,7 @@ http: - post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel' - post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel' - post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel' + - post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel' - post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel' - post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel' - post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel' @@ -279,6 +293,8 @@ http: - delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}' - delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}' - delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}' + - delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations' + - delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations' - delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}' - delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}' - delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}' @@ -287,7 +303,12 @@ http: - delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}' - delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}' - delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}' + - delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}' + - delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}' + - delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}' + - delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}' - delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}' + - delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}' - delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}' - delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}' - delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}' @@ -301,6 +322,10 @@ http: - delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}' - delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}' - delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}' + - delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}' + - delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}' + - delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}' + - delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}' - delete: '/v1/{name=projects/*/locations/*/operations/*}' - delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}' - delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}' @@ -317,6 +342,10 @@ http: - delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}' - delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}' - delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}' + - delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}' + - delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}' + - delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}' + - delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}' - delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}' - delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}' - delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}' @@ -325,11 +354,16 @@ http: - delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}' - delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}' - delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}' + - delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}' - delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}' - delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}' - delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}' - delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}' - delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}' + - delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}' + - delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}' + - delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}' + - delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}' - selector: google.longrunning.Operations.GetOperation get: '/ui/{name=projects/*/locations/*/operations/*}' additional_bindings: @@ -342,6 +376,8 @@ http: - get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}' - get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}' - get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}' + - get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}' + - get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}' - get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}' - get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}' - get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}' @@ -350,7 +386,12 @@ http: - get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}' - get: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}' - get: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}' + - get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}' + - get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}' + - get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}' + - get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}' - get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}' + - get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}' - get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}' - get: '/ui/{name=projects/*/locations/*/models/*/operations/*}' - get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}' @@ -364,6 +405,10 @@ http: - get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}' - get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}' - get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}' + - get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}' + - get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}' + - get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}' + - get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}' - get: '/v1/{name=projects/*/locations/*/operations/*}' - get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}' - get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}' @@ -380,6 +425,10 @@ http: - get: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}' - get: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}' - get: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}' + - get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}' + - get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}' + - get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}' + - get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}' - get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}' - get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}' - get: '/v1/{name=projects/*/locations/*/models/*/operations/*}' @@ -388,11 +437,16 @@ http: - get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}' - get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}' - get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}' + - get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}' - get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}' - get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}' - get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}' - get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}' - get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}' + - get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}' + - get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}' + - get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}' + - get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}' - selector: google.longrunning.Operations.ListOperations get: '/ui/{name=projects/*/locations/*}/operations' additional_bindings: @@ -404,6 +458,8 @@ http: - get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations' - get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations' - get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations' + - get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations' + - get: '/ui/{name=projects/*/locations/*/extensions/*}/operations' - get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations' - get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations' - get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations' @@ -412,7 +468,12 @@ http: - get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations' - get: '/ui/{name=projects/*/locations/*/indexes/*}/operations' - get: '/ui/{name=projects/*/locations/*/indexEndpoints/*}/operations' + - get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations' + - get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations' + - get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations' + - get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations' - get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations' + - get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations' - get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations' - get: '/ui/{name=projects/*/locations/*/models/*}/operations' - get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations' @@ -426,6 +487,10 @@ http: - get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations' - get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations' - get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations' + - get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait' + - get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait' + - get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait' + - get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait' - get: '/v1/{name=projects/*/locations/*}/operations' - get: '/v1/{name=projects/*/locations/*/datasets/*}/operations' - get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations' @@ -442,6 +507,10 @@ http: - get: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations' - get: '/v1/{name=projects/*/locations/*/indexes/*}/operations' - get: '/v1/{name=projects/*/locations/*/indexEndpoints/*}/operations' + - get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations' + - get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations' + - get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations' + - get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations' - get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations' - get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations' - get: '/v1/{name=projects/*/locations/*/models/*}/operations' @@ -450,11 +519,16 @@ http: - get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations' - get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations' - get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations' + - get: '/v1/{name=projects/*/locations/*/schedules/*}/operations' - get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations' - get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations' - get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations' - get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations' - get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations' + - get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait' + - get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait' + - get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait' + - get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait' - selector: google.longrunning.Operations.WaitOperation post: '/ui/{name=projects/*/locations/*/operations/*}:wait' additional_bindings: @@ -466,6 +540,8 @@ http: - post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait' - post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait' - post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait' + - post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait' + - post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait' - post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait' - post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait' - post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait' @@ -474,7 +550,12 @@ http: - post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait' - post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait' - post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait' + - post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait' + - post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait' + - post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait' + - post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait' - post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait' + - post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait' - post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait' - post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait' - post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait' @@ -488,6 +569,10 @@ http: - post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait' - post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait' - post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait' + - post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait' + - post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait' + - post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait' + - post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait' - post: '/v1/{name=projects/*/locations/*/operations/*}:wait' - post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait' - post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait' @@ -504,6 +589,10 @@ http: - post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait' - post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait' - post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait' + - post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait' + - post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait' + - post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait' + - post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait' - post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait' - post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait' - post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait' @@ -512,11 +601,16 @@ http: - post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait' - post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait' - post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait' + - post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait' - post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait' - post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait' - post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait' - post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait' - post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait' + - post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait' + - post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait' + - post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait' + - post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait' authentication: rules: @@ -524,10 +618,30 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform + - selector: 'google.cloud.aiplatform.v1.DeploymentResourcePoolService.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform - selector: 'google.cloud.aiplatform.v1.EndpointService.*' oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform + - selector: 'google.cloud.aiplatform.v1.FeatureOnlineStoreAdminService.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform + - selector: google.cloud.aiplatform.v1.FeatureOnlineStoreService.FetchFeatureValues + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform + - selector: google.cloud.aiplatform.v1.FeatureOnlineStoreService.SearchNearestEntities + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform + - selector: 'google.cloud.aiplatform.v1.FeatureRegistryService.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform - selector: 'google.cloud.aiplatform.v1.FeaturestoreOnlineServingService.*' oauth: canonical_scopes: |- @@ -553,6 +667,22 @@ authentication: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform, https://www.googleapis.com/auth/cloud-platform.read-only + - selector: google.cloud.aiplatform.v1.LlmUtilityService.ComputeTokens + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform + - selector: google.cloud.aiplatform.v1.LlmUtilityService.CountTokens + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform + - selector: google.cloud.aiplatform.v1.MatchService.FindNeighbors + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform + - selector: google.cloud.aiplatform.v1.MatchService.ReadIndexDatapoints + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform - selector: 'google.cloud.aiplatform.v1.MetadataService.*' oauth: canonical_scopes: |- @@ -565,6 +695,10 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform + - selector: google.cloud.aiplatform.v1.ModelGardenService.GetPublisherModel + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform - selector: 'google.cloud.aiplatform.v1.ModelService.*' oauth: canonical_scopes: |- @@ -577,6 +711,10 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform + - selector: 'google.cloud.aiplatform.v1.ScheduleService.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform - selector: 'google.cloud.aiplatform.v1.SpecialistPoolService.*' oauth: canonical_scopes: |- @@ -655,3 +793,15 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform + +publishing: + documentation_uri: https://cloud.google.com/ai-platform/docs + github_label: 'api: aiplatform' + organization: CLOUD + library_settings: + - version: google.cloud.aiplatform.v1 + dotnet_settings: + renamed_resources: + datalabeling.googleapis.com/Dataset: DataLabelingDataset + automl.googleapis.com/Dataset: AutoMLDataset + automl.googleapis.com/Model: AutoMLModel diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/annotation.proto b/third_party/googleapis/google/cloud/aiplatform/v1/annotation.proto index 98ac15345..2a9a0cca6 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/annotation.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/annotation.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/annotation_spec.proto b/third_party/googleapis/google/cloud/aiplatform/v1/annotation_spec.proto index 0a715556c..fbb809432 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/annotation_spec.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/annotation_spec.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/artifact.proto b/third_party/googleapis/google/cloud/aiplatform/v1/artifact.proto index bdadc2d75..77ba15c1c 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/artifact.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/artifact.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/batch_prediction_job.proto b/third_party/googleapis/google/cloud/aiplatform/v1/batch_prediction_job.proto index 74fc97a4f..d06e4157d 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/batch_prediction_job.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/batch_prediction_job.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -153,7 +153,7 @@ message BatchPredictionJob { // [excluded_fields][google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig.excluded_fields] // must be empty. // - // The input must be JSONL with objects at each line, CSV, BigQuery + // The input must be JSONL with objects at each line, BigQuery // or TfRecord. repeated string included_fields = 3; @@ -168,7 +168,7 @@ message BatchPredictionJob { // [included_fields][google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig.included_fields] // must be empty. // - // The input must be JSONL with objects at each line, CSV, BigQuery + // The input must be JSONL with objects at each line, BigQuery // or TfRecord. repeated string excluded_fields = 4; } @@ -278,6 +278,11 @@ message BatchPredictionJob { // or // `projects/{project}/locations/{location}/models/{model}@golden` // if no version is specified, the default version will be deployed. + // + // The model resource could also be a publisher model. + // Example: `publishers/{publisher}/models/{model}` + // or + // `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}` string model = 3 [(google.api.resource_reference) = { type: "aiplatform.googleapis.com/Model" }]; @@ -446,9 +451,9 @@ message BatchPredictionJob { // For custom-trained Models and AutoML Tabular Models, the container of the // DeployedModel instances will send `stderr` and `stdout` streams to - // Stackdriver Logging by default. Please note that the logs incur cost, + // Cloud Logging by default. Please note that the logs incur cost, // which are subject to [Cloud Logging - // pricing](https://cloud.google.com/stackdriver/pricing). + // pricing](https://cloud.google.com/logging/pricing). // // User can disable container logging by setting this flag to true. bool disable_container_logging = 34; diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/completion_stats.proto b/third_party/googleapis/google/cloud/aiplatform/v1/completion_stats.proto index 3cf5f834c..033c13f8a 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/completion_stats.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/completion_stats.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/context.proto b/third_party/googleapis/google/cloud/aiplatform/v1/context.proto index 4a5452105..8122ddb69 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/context.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/context.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -36,8 +36,8 @@ message Context { pattern: "projects/{project}/locations/{location}/metadataStores/{metadata_store}/contexts/{context}" }; - // Output only. The resource name of the Context. - string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Immutable. The resource name of the Context. + string name = 1 [(google.api.field_behavior) = IMMUTABLE]; // User provided display name of the Context. // May be up to 128 Unicode characters. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/custom_job.proto b/third_party/googleapis/google/cloud/aiplatform/v1/custom_job.proto index 070153877..f9fdbb17e 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/custom_job.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/custom_job.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -181,6 +181,12 @@ message CustomJobSpec { // * AIP_TENSORBOARD_LOG_DIR = `//logs/` GcsDestination base_output_directory = 6; + // The ID of the location to store protected artifacts. e.g. us-central1. + // Populate only when the location is different than CustomJob location. + // List of supported locations: + // https://cloud.google.com/vertex-ai/docs/general/locations + string protected_artifact_location_id = 19; + // Optional. The name of a Vertex AI // [Tensorboard][google.cloud.aiplatform.v1.Tensorboard] resource to which // this CustomJob will upload Tensorboard logs. Format: @@ -216,6 +222,46 @@ message CustomJobSpec { // (within // [HyperparameterTuningJob.trials][google.cloud.aiplatform.v1.HyperparameterTuningJob.trials]). bool enable_dashboard_access = 16 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The Experiment associated with this job. + // Format: + // `projects/{project}/locations/{location}/metadataStores/{metadataStores}/contexts/{experiment-name}` + string experiment = 17 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Context" + } + ]; + + // Optional. The Experiment Run associated with this job. + // Format: + // `projects/{project}/locations/{location}/metadataStores/{metadataStores}/contexts/{experiment-name}-{experiment-run-name}` + string experiment_run = 18 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Context" + } + ]; + + // Optional. The name of the Model resources for which to generate a mapping + // to artifact URIs. Applicable only to some of the Google-provided custom + // jobs. Format: `projects/{project}/locations/{location}/models/{model}` + // + // In order to retrieve a specific version of the model, also provide + // the version ID or version alias. + // Example: `projects/{project}/locations/{location}/models/{model}@2` + // or + // `projects/{project}/locations/{location}/models/{model}@golden` + // If no version ID or alias is specified, the "default" version will be + // returned. The "default" version alias is created for the first version of + // the model, and can be moved to other versions later on. There will be + // exactly one default version. + repeated string models = 20 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Model" + } + ]; } // Represents the spec of a worker pool in a job. @@ -298,4 +344,9 @@ message Scheduling { // This feature can be used by distributed training jobs that are not // resilient to workers leaving and joining a job. bool restart_job_on_worker_restart = 3; + + // Optional. Indicates if the job should retry for internal errors after the + // job starts running. If true, overrides + // `Scheduling.restart_job_on_worker_restart` to false. + bool disable_retries = 5 [(google.api.field_behavior) = OPTIONAL]; } diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/data_item.proto b/third_party/googleapis/google/cloud/aiplatform/v1/data_item.proto index 4ab14e19e..e8a936b07 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/data_item.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/data_item.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/data_labeling_job.proto b/third_party/googleapis/google/cloud/aiplatform/v1/data_labeling_job.proto index 8bc07dbf2..afcc03539 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/data_labeling_job.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/data_labeling_job.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/dataset.proto b/third_party/googleapis/google/cloud/aiplatform/v1/dataset.proto index 2020dafa1..b4ddbfce5 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/dataset.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/dataset.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -59,6 +59,10 @@ message Dataset { // Required. Additional information about the Dataset. google.protobuf.Value metadata = 8 [(google.api.field_behavior) = REQUIRED]; + // Output only. The number of DataItems in this Dataset. Only apply for + // non-structured Dataset. + int64 data_item_count = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Timestamp when this Dataset was created. google.protobuf.Timestamp create_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -90,7 +94,7 @@ message Dataset { map labels = 7; // All SavedQueries belong to the Dataset will be returned in List/Get - // Dataset response. The [annotation_specs][SavedQuery.annotation_specs] field + // Dataset response. The annotation_specs field // will not be populated except for UI cases which will only use // [annotation_spec_count][google.cloud.aiplatform.v1.SavedQuery.annotation_spec_count]. // In CreateDataset request, a SavedQuery is created together if @@ -155,6 +159,18 @@ message ImportDataConfig { // Describes what part of the Dataset is to be exported, the destination of // the export and how to export. message ExportDataConfig { + // ExportUse indicates the usage of the exported files. It restricts file + // destination, format, annotations to be exported, whether to allow + // unannotated data to be exported and whether to clone files to temp Cloud + // Storage bucket. + enum ExportUse { + // Regular user export. + EXPORT_USE_UNSPECIFIED = 0; + + // Export for custom code training. + CUSTOM_CODE_TRAINING = 6; + } + // The destination of the output. oneof destination { // The Google Cloud Storage location where the output is to be written to. @@ -174,13 +190,64 @@ message ExportDataConfig { oneof split { // Split based on fractions defining the size of each set. ExportFractionSplit fraction_split = 5; + + // Split based on the provided filters for each set. + ExportFilterSplit filter_split = 7; } - // A filter on Annotations of the Dataset. Only Annotations on to-be-exported - // DataItems(specified by [data_items_filter][]) that match this filter will - // be exported. The filter syntax is the same as in + // An expression for filtering what part of the Dataset is to be exported. + // Only Annotations that match this filter will be exported. The filter syntax + // is the same as in // [ListAnnotations][google.cloud.aiplatform.v1.DatasetService.ListAnnotations]. string annotations_filter = 2; + + // The ID of a SavedQuery (annotation set) under the Dataset specified by + // [dataset_id][] used for filtering Annotations for training. + // + // Only used for custom training data export use cases. + // Only applicable to Datasets that have SavedQueries. + // + // Only Annotations that are associated with this SavedQuery are used in + // respectively training. When used in conjunction with + // [annotations_filter][google.cloud.aiplatform.v1.ExportDataConfig.annotations_filter], + // the Annotations used for training are filtered by both + // [saved_query_id][google.cloud.aiplatform.v1.ExportDataConfig.saved_query_id] + // and + // [annotations_filter][google.cloud.aiplatform.v1.ExportDataConfig.annotations_filter]. + // + // Only one of + // [saved_query_id][google.cloud.aiplatform.v1.ExportDataConfig.saved_query_id] + // and + // [annotation_schema_uri][google.cloud.aiplatform.v1.ExportDataConfig.annotation_schema_uri] + // should be specified as both of them represent the same thing: problem type. + string saved_query_id = 11; + + // The Cloud Storage URI that points to a YAML file describing the annotation + // schema. The schema is defined as an OpenAPI 3.0.2 [Schema + // Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). + // The schema files that can be used here are found in + // gs://google-cloud-aiplatform/schema/dataset/annotation/, note that the + // chosen schema must be consistent with + // [metadata][google.cloud.aiplatform.v1.Dataset.metadata_schema_uri] of the + // Dataset specified by [dataset_id][]. + // + // Only used for custom training data export use cases. + // Only applicable to Datasets that have DataItems and Annotations. + // + // Only Annotations that both match this schema and belong to DataItems not + // ignored by the split method are used in respectively training, validation + // or test role, depending on the role of the DataItem they are on. + // + // When used in conjunction with + // [annotations_filter][google.cloud.aiplatform.v1.ExportDataConfig.annotations_filter], + // the Annotations used for training are filtered by both + // [annotations_filter][google.cloud.aiplatform.v1.ExportDataConfig.annotations_filter] + // and + // [annotation_schema_uri][google.cloud.aiplatform.v1.ExportDataConfig.annotation_schema_uri]. + string annotation_schema_uri = 12; + + // Indicates the usage of the exported files. + ExportUse export_use = 4; } // Assigns the input data to training, validation, and test sets as per the @@ -199,3 +266,39 @@ message ExportFractionSplit { // The fraction of the input data that is to be used to evaluate the Model. double test_fraction = 3; } + +// Assigns input data to training, validation, and test sets based on the given +// filters, data pieces not matched by any filter are ignored. Currently only +// supported for Datasets containing DataItems. +// If any of the filters in this message are to match nothing, then they can be +// set as '-' (the minus sign). +// +// Supported only for unstructured Datasets. +message ExportFilterSplit { + // Required. A filter on DataItems of the Dataset. DataItems that match + // this filter are used to train the Model. A filter with same syntax + // as the one used in + // [DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems] + // may be used. If a single DataItem is matched by more than one of the + // FilterSplit filters, then it is assigned to the first set that applies to + // it in the training, validation, test order. + string training_filter = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. A filter on DataItems of the Dataset. DataItems that match + // this filter are used to validate the Model. A filter with same syntax + // as the one used in + // [DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems] + // may be used. If a single DataItem is matched by more than one of the + // FilterSplit filters, then it is assigned to the first set that applies to + // it in the training, validation, test order. + string validation_filter = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. A filter on DataItems of the Dataset. DataItems that match + // this filter are used to test the Model. A filter with same syntax + // as the one used in + // [DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems] + // may be used. If a single DataItem is matched by more than one of the + // FilterSplit filters, then it is assigned to the first set that applies to + // it in the training, validation, test order. + string test_filter = 3 [(google.api.field_behavior) = REQUIRED]; +} diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/dataset_service.proto b/third_party/googleapis/google/cloud/aiplatform/v1/dataset_service.proto index f575e6937..5dfd0bfe3 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/dataset_service.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/dataset_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -24,6 +24,8 @@ import "google/cloud/aiplatform/v1/annotation.proto"; import "google/cloud/aiplatform/v1/annotation_spec.proto"; import "google/cloud/aiplatform/v1/data_item.proto"; import "google/cloud/aiplatform/v1/dataset.proto"; +import "google/cloud/aiplatform/v1/dataset_version.proto"; +import "google/cloud/aiplatform/v1/model.proto"; import "google/cloud/aiplatform/v1/operation.proto"; import "google/cloud/aiplatform/v1/saved_query.proto"; import "google/longrunning/operations.proto"; @@ -38,8 +40,7 @@ option java_package = "com.google.cloud.aiplatform.v1"; option php_namespace = "Google\\Cloud\\AIPlatform\\V1"; option ruby_package = "Google::Cloud::AIPlatform::V1"; -// The service that handles the CRUD of Vertex AI Dataset and its child -// resources. +// The service that manages Vertex AI Dataset and its child resources. service DatasetService { option (google.api.default_host) = "aiplatform.googleapis.com"; option (google.api.oauth_scopes) = @@ -123,6 +124,63 @@ service DatasetService { }; } + // Create a version from a Dataset. + rpc CreateDatasetVersion(CreateDatasetVersionRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*/datasets/*}/datasetVersions" + body: "dataset_version" + }; + option (google.api.method_signature) = "parent,dataset_version"; + option (google.longrunning.operation_info) = { + response_type: "DatasetVersion" + metadata_type: "CreateDatasetVersionOperationMetadata" + }; + } + + // Deletes a Dataset version. + rpc DeleteDatasetVersion(DeleteDatasetVersionRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + delete: "/v1/{name=projects/*/locations/*/datasets/*/datasetVersions/*}" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "DeleteOperationMetadata" + }; + } + + // Gets a Dataset version. + rpc GetDatasetVersion(GetDatasetVersionRequest) returns (DatasetVersion) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*/datasets/*/datasetVersions/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Lists DatasetVersions in a Dataset. + rpc ListDatasetVersions(ListDatasetVersionsRequest) + returns (ListDatasetVersionsResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*/datasets/*}/datasetVersions" + }; + option (google.api.method_signature) = "parent"; + } + + // Restores a dataset version. + rpc RestoreDatasetVersion(RestoreDatasetVersionRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*/datasets/*/datasetVersions/*}:restore" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "DatasetVersion" + metadata_type: "RestoreDatasetVersionOperationMetadata" + }; + } + // Lists DataItems in a Dataset. rpc ListDataItems(ListDataItemsRequest) returns (ListDataItemsResponse) { option (google.api.http) = { @@ -148,6 +206,19 @@ service DatasetService { option (google.api.method_signature) = "parent"; } + // Deletes a SavedQuery. + rpc DeleteSavedQuery(DeleteSavedQueryRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + delete: "/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "DeleteOperationMetadata" + }; + } + // Gets an AnnotationSpec. rpc GetAnnotationSpec(GetAnnotationSpecRequest) returns (AnnotationSpec) { option (google.api.http) = { @@ -342,8 +413,16 @@ message ExportDataRequest { // Response message for // [DatasetService.ExportData][google.cloud.aiplatform.v1.DatasetService.ExportData]. message ExportDataResponse { - // All of the files that are exported in this export operation. + // All of the files that are exported in this export operation. For custom + // code training export, only three (training, validation and test) + // Cloud Storage paths in wildcard format are populated + // (for example, gs://.../training-*). repeated string exported_files = 1; + + // Only present for custom code training export use case. Records data stats, + // i.e., train/validation/test item/annotation counts calculated during + // the export operation. + Model.DataStats data_stats = 2; } // Runtime operation information for @@ -357,6 +436,125 @@ message ExportDataOperationMetadata { string gcs_output_directory = 2; } +// Request message for +// [DatasetService.CreateDatasetVersion][google.cloud.aiplatform.v1.DatasetService.CreateDatasetVersion]. +message CreateDatasetVersionRequest { + // Required. The name of the Dataset resource. + // Format: + // `projects/{project}/locations/{location}/datasets/{dataset}` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Dataset" + } + ]; + + // Required. The version to be created. The same CMEK policies with the + // original Dataset will be applied the dataset version. So here we don't need + // to specify the EncryptionSpecType here. + DatasetVersion dataset_version = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// Runtime operation information for +// [DatasetService.CreateDatasetVersion][google.cloud.aiplatform.v1.DatasetService.CreateDatasetVersion]. +message CreateDatasetVersionOperationMetadata { + // The common part of the operation metadata. + GenericOperationMetadata generic_metadata = 1; +} + +// Request message for +// [DatasetService.DeleteDatasetVersion][google.cloud.aiplatform.v1.DatasetService.DeleteDatasetVersion]. +message DeleteDatasetVersionRequest { + // Required. The resource name of the Dataset version to delete. + // Format: + // `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/DatasetVersion" + } + ]; +} + +// Request message for +// [DatasetService.GetDatasetVersion][google.cloud.aiplatform.v1.DatasetService.GetDatasetVersion]. +message GetDatasetVersionRequest { + // Required. The resource name of the Dataset version to delete. + // Format: + // `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/DatasetVersion" + } + ]; + + // Mask specifying which fields to read. + google.protobuf.FieldMask read_mask = 2; +} + +// Request message for +// [DatasetService.ListDatasetVersions][google.cloud.aiplatform.v1.DatasetService.ListDatasetVersions]. +message ListDatasetVersionsRequest { + // Required. The resource name of the Dataset to list DatasetVersions from. + // Format: + // `projects/{project}/locations/{location}/datasets/{dataset}` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Dataset" + } + ]; + + // Optional. The standard list filter. + string filter = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The standard list page size. + int32 page_size = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The standard list page token. + string page_token = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Mask specifying which fields to read. + google.protobuf.FieldMask read_mask = 5 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. A comma-separated list of fields to order by, sorted in ascending + // order. Use "desc" after a field name for descending. + string order_by = 6 [(google.api.field_behavior) = OPTIONAL]; +} + +// Response message for +// [DatasetService.ListDatasetVersions][google.cloud.aiplatform.v1.DatasetService.ListDatasetVersions]. +message ListDatasetVersionsResponse { + // A list of DatasetVersions that matches the specified filter in the request. + repeated DatasetVersion dataset_versions = 1; + + // The standard List next-page token. + string next_page_token = 2; +} + +// Request message for +// [DatasetService.RestoreDatasetVersion][google.cloud.aiplatform.v1.DatasetService.RestoreDatasetVersion]. +message RestoreDatasetVersionRequest { + // Required. The name of the DatasetVersion resource. + // Format: + // `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/DatasetVersion" + } + ]; +} + +// Runtime operation information for +// [DatasetService.RestoreDatasetVersion][google.cloud.aiplatform.v1.DatasetService.RestoreDatasetVersion]. +message RestoreDatasetVersionOperationMetadata { + // The common part of the operation metadata. + GenericOperationMetadata generic_metadata = 1; +} + // Request message for // [DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems]. message ListDataItemsRequest { @@ -573,6 +771,20 @@ message ListSavedQueriesResponse { string next_page_token = 2; } +// Request message for +// [DatasetService.DeleteSavedQuery][google.cloud.aiplatform.v1.DatasetService.DeleteSavedQuery]. +message DeleteSavedQueryRequest { + // Required. The resource name of the SavedQuery to delete. + // Format: + // `projects/{project}/locations/{location}/datasets/{dataset}/savedQueries/{saved_query}` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/SavedQuery" + } + ]; +} + // Request message for // [DatasetService.GetAnnotationSpec][google.cloud.aiplatform.v1.DatasetService.GetAnnotationSpec]. message GetAnnotationSpecRequest { diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/deployed_index_ref.proto b/third_party/googleapis/google/cloud/aiplatform/v1/deployed_index_ref.proto index 88263d5d3..219b4d596 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/deployed_index_ref.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/deployed_index_ref.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -39,4 +39,7 @@ message DeployedIndexRef { // Immutable. The ID of the DeployedIndex in the above IndexEndpoint. string deployed_index_id = 2 [(google.api.field_behavior) = IMMUTABLE]; + + // Output only. The display name of the DeployedIndex. + string display_name = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/deployed_model_ref.proto b/third_party/googleapis/google/cloud/aiplatform/v1/deployed_model_ref.proto index d37d0c064..c5b9bba39 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/deployed_model_ref.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/deployed_model_ref.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/encryption_spec.proto b/third_party/googleapis/google/cloud/aiplatform/v1/encryption_spec.proto index ce5ddad21..a8a73291a 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/encryption_spec.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/encryption_spec.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/endpoint.proto b/third_party/googleapis/google/cloud/aiplatform/v1/endpoint.proto index 4dbfca05c..0d305a672 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/endpoint.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/endpoint.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -38,6 +38,7 @@ message Endpoint { option (google.api.resource) = { type: "aiplatform.googleapis.com/Endpoint" pattern: "projects/{project}/locations/{location}/endpoints/{endpoint}" + pattern: "projects/{project}/locations/{location}/publishers/{publisher}/models/{model}" }; // Output only. The resource name of the Endpoint. @@ -127,7 +128,8 @@ message Endpoint { // Output only. Resource name of the Model Monitoring job associated with this // Endpoint if monitoring is enabled by - // [CreateModelDeploymentMonitoringJob][]. Format: + // [JobService.CreateModelDeploymentMonitoringJob][google.cloud.aiplatform.v1.JobService.CreateModelDeploymentMonitoringJob]. + // Format: // `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}` string model_deployment_monitoring_job = 14 [ (google.api.field_behavior) = OUTPUT_ONLY, @@ -148,6 +150,7 @@ message DeployedModel { // even if the DeployedModel receives no traffic. // Not all Models support all resources types. See // [Model.supported_deployment_resources_types][google.cloud.aiplatform.v1.Model.supported_deployment_resources_types]. + // Required except for Large Model Deploy use cases. oneof prediction_resources { // A description of resources that are dedicated to the DeployedModel, and // that need a higher degree of manual configuration. @@ -156,12 +159,19 @@ message DeployedModel { // A description of resources that to large degree are decided by Vertex // AI, and require only a modest additional configuration. AutomaticResources automatic_resources = 8; + + // The resource name of the shared DeploymentResourcePool to deploy on. + // Format: + // `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}` + string shared_resources = 17 [(google.api.resource_reference) = { + type: "aiplatform.googleapis.com/DeploymentResourcePool" + }]; } // Immutable. The ID of the DeployedModel. If not provided upon deployment, // Vertex AI will generate a value for this ID. // - // This value should be 1-10 characters, and valid characters are /[0-9]/. + // This value should be 1-10 characters, and valid characters are `/[0-9]/`. string id = 1 [(google.api.field_behavior) = IMMUTABLE]; // Required. The resource name of the Model that this is the deployment of. @@ -222,19 +232,19 @@ message DeployedModel { // For custom-trained Models and AutoML Tabular Models, the container of the // DeployedModel instances will send `stderr` and `stdout` streams to - // Stackdriver Logging by default. Please note that the logs incur cost, + // Cloud Logging by default. Please note that the logs incur cost, // which are subject to [Cloud Logging - // pricing](https://cloud.google.com/stackdriver/pricing). + // pricing](https://cloud.google.com/logging/pricing). // // User can disable container logging by setting this flag to true. bool disable_container_logging = 15; - // If true, online prediction access logs are sent to StackDriver + // If true, online prediction access logs are sent to Cloud // Logging. // These logs are like standard server access logs, containing // information like timestamp and latency for each prediction request. // - // Note that Stackdriver logs may incur a cost, especially if your project + // Note that logs may incur a cost, especially if your project // receives prediction requests at a high queries per second rate (QPS). // Estimate your costs before enabling this option. bool enable_access_logging = 13; diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/endpoint_service.proto b/third_party/googleapis/google/cloud/aiplatform/v1/endpoint_service.proto index 00235dd73..c1bd96271 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/endpoint_service.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/endpoint_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -122,6 +122,24 @@ service EndpointService { metadata_type: "UndeployModelOperationMetadata" }; } + + // Updates an existing deployed model. Updatable fields include + // `min_replica_count`, `max_replica_count`, `autoscaling_metric_specs`, + // `disable_container_logging` (v1 only), and `enable_container_logging` + // (v1beta1 only). + rpc MutateDeployedModel(MutateDeployedModelRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{endpoint=projects/*/locations/*/endpoints/*}:mutateDeployedModel" + body: "*" + }; + option (google.api.method_signature) = + "endpoint,deployed_model,update_mask"; + option (google.longrunning.operation_info) = { + response_type: "MutateDeployedModelResponse" + metadata_type: "MutateDeployedModelOperationMetadata" + }; + } } // Request message for @@ -143,10 +161,16 @@ message CreateEndpointRequest { // component of the endpoint resource name. // If not provided, Vertex AI will generate a value for this ID. // - // This value should be 1-10 characters, and valid characters are /[0-9]/. - // When using HTTP/JSON, this field is populated based on a query string - // argument, such as `?endpoint_id=12345`. This is the fallback for fields - // that are not included in either the URI or the body. + // If the first character is a letter, this value may be up to 63 characters, + // and valid characters are `[a-z0-9-]`. The last character must be a letter + // or number. + // + // If the first character is a number, this value may be up to 9 characters, + // and valid characters are `[0-9]` with no leading zeros. + // + // When using HTTP/JSON, this field is populated + // based on a query string argument, such as `?endpoint_id=12345`. This is the + // fallback for fields that are not included in either the URI or the body. string endpoint_id = 4 [(google.api.field_behavior) = IMMUTABLE]; } @@ -196,6 +220,7 @@ message ListEndpointsRequest { // * A key including a space must be quoted. `labels."a key"`. // // Some examples: + // // * `endpoint=1` // * `displayName="myDisplayName"` // * `labels.myKey="myValue"` @@ -219,6 +244,7 @@ message ListEndpointsRequest { // A comma-separated list of fields to order by, sorted in ascending order. // Use "desc" after a field name for descending. // Supported fields: + // // * `display_name` // * `create_time` // * `update_time` @@ -352,3 +378,50 @@ message UndeployModelOperationMetadata { // The operation generic information. GenericOperationMetadata generic_metadata = 1; } + +// Request message for +// [EndpointService.MutateDeployedModel][google.cloud.aiplatform.v1.EndpointService.MutateDeployedModel]. +message MutateDeployedModelRequest { + // Required. The name of the Endpoint resource into which to mutate a + // DeployedModel. Format: + // `projects/{project}/locations/{location}/endpoints/{endpoint}` + string endpoint = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Endpoint" + } + ]; + + // Required. The DeployedModel to be mutated within the Endpoint. Only the + // following fields can be mutated: + // + // * `min_replica_count` in either + // [DedicatedResources][google.cloud.aiplatform.v1.DedicatedResources] or + // [AutomaticResources][google.cloud.aiplatform.v1.AutomaticResources] + // * `max_replica_count` in either + // [DedicatedResources][google.cloud.aiplatform.v1.DedicatedResources] or + // [AutomaticResources][google.cloud.aiplatform.v1.AutomaticResources] + // * [autoscaling_metric_specs][google.cloud.aiplatform.v1.DedicatedResources.autoscaling_metric_specs] + // * `disable_container_logging` (v1 only) + // * `enable_container_logging` (v1beta1 only) + DeployedModel deployed_model = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The update mask applies to the resource. See + // [google.protobuf.FieldMask][google.protobuf.FieldMask]. + google.protobuf.FieldMask update_mask = 4 + [(google.api.field_behavior) = REQUIRED]; +} + +// Response message for +// [EndpointService.MutateDeployedModel][google.cloud.aiplatform.v1.EndpointService.MutateDeployedModel]. +message MutateDeployedModelResponse { + // The DeployedModel that's being mutated. + DeployedModel deployed_model = 1; +} + +// Runtime operation information for +// [EndpointService.MutateDeployedModel][google.cloud.aiplatform.v1.EndpointService.MutateDeployedModel]. +message MutateDeployedModelOperationMetadata { + // The operation generic information. + GenericOperationMetadata generic_metadata = 1; +} diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/entity_type.proto b/third_party/googleapis/google/cloud/aiplatform/v1/entity_type.proto index 5ff273926..8e70ea2a3 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/entity_type.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/entity_type.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -88,4 +88,11 @@ message EntityType { // disabled. FeaturestoreMonitoringConfig monitoring_config = 8 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Config for data retention policy in offline storage. + // TTL in days for feature values that will be stored in offline storage. + // The Feature Store offline storage periodically removes obsolete feature + // values older than `offline_storage_ttl_days` since the feature generation + // time. If unset (or explicitly set to 0), default to 4000 days TTL. + int32 offline_storage_ttl_days = 10 [(google.api.field_behavior) = OPTIONAL]; } diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/env_var.proto b/third_party/googleapis/google/cloud/aiplatform/v1/env_var.proto index 1bf422925..b54875721 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/env_var.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/env_var.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/evaluated_annotation.proto b/third_party/googleapis/google/cloud/aiplatform/v1/evaluated_annotation.proto index 35da29081..2d74effd9 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/evaluated_annotation.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/evaluated_annotation.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -103,10 +103,6 @@ message EvaluatedAnnotation { // ModelEvaluation. The EvaluatedDataItemView consists of all ground truths // and predictions on // [data_item_payload][google.cloud.aiplatform.v1.EvaluatedAnnotation.data_item_payload]. - // - // Can be passed in - // [GetEvaluatedDataItemView's][ModelService.GetEvaluatedDataItemView][] - // [id][GetEvaluatedDataItemViewRequest.id]. string evaluated_data_item_view_id = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/event.proto b/third_party/googleapis/google/cloud/aiplatform/v1/event.proto index 851504405..65e9d7a09 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/event.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/event.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/execution.proto b/third_party/googleapis/google/cloud/aiplatform/v1/execution.proto index 4ba955e3e..915c58dae 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/execution.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/execution.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/explanation.proto b/third_party/googleapis/google/cloud/aiplatform/v1/explanation.proto index b5a53187b..10cf3d484 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/explanation.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/explanation.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,6 +18,7 @@ package google.cloud.aiplatform.v1; import "google/api/field_behavior.proto"; import "google/cloud/aiplatform/v1/explanation_metadata.proto"; +import "google/cloud/aiplatform/v1/io.proto"; import "google/protobuf/struct.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; @@ -43,6 +44,14 @@ message Explanation { // [Attribution.output_index][google.cloud.aiplatform.v1.Attribution.output_index] // can be used to identify which output this attribution is explaining. // + // By default, we provide Shapley values for the predicted class. However, + // you can configure the explanation request to generate Shapley values for + // any other classes too. For example, if a model predicts a probability of + // `0.4` for approving a loan application, the model's decision is to reject + // the application since `p(reject) = 0.6 > p(approve) = 0.4`, and the default + // Shapley values would be computed for rejection decision and not approval, + // even though the latter might be the positive class. + // // If users set // [ExplanationParameters.top_k][google.cloud.aiplatform.v1.ExplanationParameters.top_k], // the attributions are sorted by @@ -241,6 +250,10 @@ message ExplanationParameters { // like a lab or manufacturing line, or from diagnostic equipment, like // x-rays or quality-control cameras, use Integrated Gradients instead. XraiAttribution xrai_attribution = 3; + + // Example-based explanations that returns the nearest neighbors from the + // provided dataset. + Examples examples = 7; } // If populated, returns attributions for top K indices of outputs @@ -415,13 +428,93 @@ message BlurBaselineConfig { float max_blur_sigma = 1; } +// Example-based explainability that returns the nearest neighbors from the +// provided dataset. +message Examples { + // The Cloud Storage input instances. + message ExampleGcsSource { + // The format of the input example instances. + enum DataFormat { + // Format unspecified, used when unset. + DATA_FORMAT_UNSPECIFIED = 0; + + // Examples are stored in JSONL files. + JSONL = 1; + } + + // The format in which instances are given, if not specified, assume it's + // JSONL format. Currently only JSONL format is supported. + DataFormat data_format = 1; + + // The Cloud Storage location for the input instances. + GcsSource gcs_source = 2; + } + + oneof source { + // The Cloud Storage input instances. + ExampleGcsSource example_gcs_source = 5; + } + + oneof config { + // The full configuration for the generated index, the semantics are the + // same as [metadata][google.cloud.aiplatform.v1.Index.metadata] and should + // match + // [NearestNeighborSearchConfig](https://cloud.google.com/vertex-ai/docs/explainable-ai/configuring-explanations-example-based#nearest-neighbor-search-config). + google.protobuf.Value nearest_neighbor_search_config = 2; + + // Simplified preset configuration, which automatically sets configuration + // values based on the desired query speed-precision trade-off and modality. + Presets presets = 4; + } + + // The number of neighbors to return when querying for examples. + int32 neighbor_count = 3; +} + +// Preset configuration for example-based explanations +message Presets { + // Preset option controlling parameters for query speed-precision trade-off + enum Query { + // More precise neighbors as a trade-off against slower response. + PRECISE = 0; + + // Faster response as a trade-off against less precise neighbors. + FAST = 1; + } + + // Preset option controlling parameters for different modalities + enum Modality { + // Should not be set. Added as a recommended best practice for enums + MODALITY_UNSPECIFIED = 0; + + // IMAGE modality + IMAGE = 1; + + // TEXT modality + TEXT = 2; + + // TABULAR modality + TABULAR = 3; + } + + // Preset option controlling parameters for speed-precision trade-off when + // querying for examples. If omitted, defaults to `PRECISE`. + optional Query query = 1; + + // The modality of the uploaded model, which automatically configures the + // distance measurement and feature normalization for the underlying example + // index and queries. If your model does not precisely fit one of these types, + // it is okay to choose the closest type. + Modality modality = 2; +} + // The [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] entries // that can be overridden at [online // explanation][google.cloud.aiplatform.v1.PredictionService.Explain] time. message ExplanationSpecOverride { // The parameters to be overridden. Note that the - // [method][google.cloud.aiplatform.v1.ExplanationParameters.method] cannot be - // changed. If not specified, no parameter is overridden. + // attribution method cannot be changed. If not specified, + // no parameter is overridden. ExplanationParameters parameters = 1; // The metadata to be overridden. If not specified, no metadata is overridden. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/explanation_metadata.proto b/third_party/googleapis/google/cloud/aiplatform/v1/explanation_metadata.proto index 50ba68996..45f24d3a7 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/explanation_metadata.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/explanation_metadata.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/feature.proto b/third_party/googleapis/google/cloud/aiplatform/v1/feature.proto index b242d9ba9..464b88890 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/feature.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/feature.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -29,19 +29,22 @@ option java_package = "com.google.cloud.aiplatform.v1"; option php_namespace = "Google\\Cloud\\AIPlatform\\V1"; option ruby_package = "Google::Cloud::AIPlatform::V1"; -// Feature Metadata information that describes an attribute of an entity type. -// For example, apple is an entity type, and color is a feature that describes -// apple. +// Feature Metadata information. +// For example, color is a feature that describes an apple. message Feature { option (google.api.resource) = { type: "aiplatform.googleapis.com/Feature" pattern: "projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}" + pattern: "projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}" + plural: "features" + singular: "feature" }; - // A list of historical [Snapshot - // Analysis][FeaturestoreMonitoringConfig.SnapshotAnalysis] or [Import Feature - // Analysis] [FeaturestoreMonitoringConfig.ImportFeatureAnalysis] stats - // requested by user, sorted by + // A list of historical + // [SnapshotAnalysis][google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis] + // or + // [ImportFeaturesAnalysis][google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis] + // stats requested by user, sorted by // [FeatureStatsAnomaly.start_time][google.cloud.aiplatform.v1.FeatureStatsAnomaly.start_time] // descending. message MonitoringStatsAnomaly { @@ -68,6 +71,7 @@ message Feature { [(google.api.field_behavior) = OUTPUT_ONLY]; } + // Only applicable for Vertex AI Legacy Feature Store. // An enum representing the value type of a feature. enum ValueType { // The value type is unspecified. @@ -104,6 +108,7 @@ message Feature { // Immutable. Name of the Feature. // Format: // `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` + // `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}` // // The last part feature is assigned by the client. The feature can be up to // 64 characters long and can consist only of ASCII Latin letters A-Z and a-z, @@ -114,17 +119,17 @@ message Feature { // Description of the Feature. string description = 2; - // Required. Immutable. Type of Feature value. - ValueType value_type = 3 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE - ]; + // Immutable. Only applicable for Vertex AI Feature Store (Legacy). + // Type of Feature value. + ValueType value_type = 3 [(google.api.field_behavior) = IMMUTABLE]; - // Output only. Timestamp when this EntityType was created. + // Output only. Only applicable for Vertex AI Feature Store (Legacy). + // Timestamp when this EntityType was created. google.protobuf.Timestamp create_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Timestamp when this EntityType was most recently updated. + // Output only. Only applicable for Vertex AI Feature Store (Legacy). + // Timestamp when this EntityType was most recently updated. google.protobuf.Timestamp update_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -145,8 +150,10 @@ message Feature { // "overwrite" update happens. string etag = 7; - // Optional. If not set, use the monitoring_config defined for the EntityType - // this Feature belongs to. Only Features with type + // Optional. Only applicable for Vertex AI Feature Store (Legacy). + // If not set, use the monitoring_config defined for the EntityType this + // Feature belongs to. + // Only Features with type // ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL, // STRING, DOUBLE or INT64 can enable monitoring. // @@ -154,8 +161,13 @@ message Feature { // config on EntityType. bool disable_monitoring = 12 [(google.api.field_behavior) = OPTIONAL]; - // Output only. The list of historical stats and anomalies with specified - // objectives. + // Output only. Only applicable for Vertex AI Feature Store (Legacy). + // The list of historical stats and anomalies with specified objectives. repeated MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Only applicable for Vertex AI Feature Store. + // The name of the BigQuery Table/View column hosting data for this version. + // If no value is provided, will use feature_id. + string version_column_name = 106; } diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/feature_monitoring_stats.proto b/third_party/googleapis/google/cloud/aiplatform/v1/feature_monitoring_stats.proto index 0f778d429..c1828a726 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/feature_monitoring_stats.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/feature_monitoring_stats.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/feature_selector.proto b/third_party/googleapis/google/cloud/aiplatform/v1/feature_selector.proto index b653f8ec2..9f6ff203a 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/feature_selector.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/feature_selector.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/featurestore.proto b/third_party/googleapis/google/cloud/aiplatform/v1/featurestore.proto index 62bfd22df..bcaf8ac3e 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/featurestore.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/featurestore.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -138,6 +138,14 @@ message Featurestore { // Output only. State of the featurestore. State state = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Optional. TTL in days for feature values that will be stored in online + // serving storage. The Feature Store online storage periodically removes + // obsolete feature values older than `online_storage_ttl_days` since the + // feature generation time. Note that `online_storage_ttl_days` should be less + // than or equal to `offline_storage_ttl_days` for each EntityType under a + // featurestore. If not set, default to 4000 days + int32 online_storage_ttl_days = 13 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Customer-managed encryption key spec for data storage. If set, // both of the online and offline data storage will be secured by this key. EncryptionSpec encryption_spec = 10 [(google.api.field_behavior) = OPTIONAL]; diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/featurestore_monitoring.proto b/third_party/googleapis/google/cloud/aiplatform/v1/featurestore_monitoring.proto index 99e66b13f..a169e6c71 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/featurestore_monitoring.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/featurestore_monitoring.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/featurestore_online_service.proto b/third_party/googleapis/google/cloud/aiplatform/v1/featurestore_online_service.proto index 262a7bb43..6cc4e6775 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/featurestore_online_service.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/featurestore_online_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -162,7 +162,7 @@ message ReadFeatureValuesResponse { }]; // List of Feature metadata corresponding to each piece of - // [ReadFeatureValuesResponse.data][]. + // [ReadFeatureValuesResponse.EntityView.data][google.cloud.aiplatform.v1.ReadFeatureValuesResponse.EntityView.data]. repeated FeatureDescriptor feature_descriptors = 2; } diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/featurestore_service.proto b/third_party/googleapis/google/cloud/aiplatform/v1/featurestore_service.proto index 0ea8d4ff2..527c76c8b 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/featurestore_service.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/featurestore_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -335,7 +335,7 @@ service FeaturestoreService { message CreateFeaturestoreRequest { // Required. The resource name of the Location to create Featurestores. // Format: - // `projects/{project}/locations/{location}'` + // `projects/{project}/locations/{location}` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -464,7 +464,7 @@ message UpdateFeaturestoreRequest { // * `labels` // * `online_serving_config.fixed_node_count` // * `online_serving_config.scaling` - // * `online_storage_ttl_days` (available in Preview) + // * `online_storage_ttl_days` google.protobuf.FieldMask update_mask = 2; } @@ -534,7 +534,7 @@ message ImportFeatureValuesRequest { ]; // Source column that holds entity IDs. If not provided, entity IDs are - // extracted from the column named `entity_id`. + // extracted from the column named entity_id. string entity_id_field = 5; // Required. Specifications defining which Feature values to import from the @@ -665,10 +665,7 @@ message BatchReadFeatureValuesRequest { repeated PassThroughField pass_through_fields = 8; // Required. Specifies EntityType grouping Features to read values of and - // settings. Each EntityType referenced in - // [BatchReadFeatureValuesRequest.entity_type_specs] must have a column - // specifying entity IDs in the EntityType in - // [BatchReadFeatureValuesRequest.request][] . + // settings. repeated EntityTypeSpec entity_type_specs = 7 [(google.api.field_behavior) = REQUIRED]; @@ -930,7 +927,7 @@ message UpdateEntityTypeRequest { // * `monitoring_config.import_features_analysis.anomaly_detection_baseline` // * `monitoring_config.numerical_threshold_config.value` // * `monitoring_config.categorical_threshold_config.value` - // * `offline_storage_ttl_days` (available in Preview) + // * `offline_storage_ttl_days` google.protobuf.FieldMask update_mask = 2; } @@ -953,14 +950,18 @@ message DeleteEntityTypeRequest { // Request message for // [FeaturestoreService.CreateFeature][google.cloud.aiplatform.v1.FeaturestoreService.CreateFeature]. +// Request message for +// [FeatureRegistryService.CreateFeature][google.cloud.aiplatform.v1.FeatureRegistryService.CreateFeature]. message CreateFeatureRequest { - // Required. The resource name of the EntityType to create a Feature. - // Format: + // Required. The resource name of the EntityType or FeatureGroup to create a + // Feature. Format for entity_type as parent: // `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` + // Format for feature_group as parent: + // `projects/{project}/locations/{location}/featureGroups/{feature_group}` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { - type: "aiplatform.googleapis.com/EntityType" + child_type: "aiplatform.googleapis.com/Feature" } ]; @@ -973,7 +974,7 @@ message CreateFeatureRequest { // This value may be up to 128 characters, and valid characters are // `[a-z0-9_]`. The first character cannot be a number. // - // The value must be unique within an EntityType. + // The value must be unique within an EntityType/FeatureGroup. string feature_id = 3 [(google.api.field_behavior) = REQUIRED]; } @@ -1008,10 +1009,14 @@ message BatchCreateFeaturesResponse { // Request message for // [FeaturestoreService.GetFeature][google.cloud.aiplatform.v1.FeaturestoreService.GetFeature]. +// Request message for +// [FeatureRegistryService.GetFeature][google.cloud.aiplatform.v1.FeatureRegistryService.GetFeature]. message GetFeatureRequest { // Required. The name of the Feature resource. - // Format: + // Format for entity_type as parent: // `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` + // Format for feature_group as parent: + // `projects/{project}/locations/{location}/featureGroups/{feature_group}` string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1022,10 +1027,14 @@ message GetFeatureRequest { // Request message for // [FeaturestoreService.ListFeatures][google.cloud.aiplatform.v1.FeaturestoreService.ListFeatures]. +// Request message for +// [FeatureRegistryService.ListFeatures][google.cloud.aiplatform.v1.FeatureRegistryService.ListFeatures]. message ListFeaturesRequest { // Required. The resource name of the Location to list Features. - // Format: + // Format for entity_type as parent: // `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` + // Format for feature_group as parent: + // `projects/{project}/locations/{location}/featureGroups/{feature_group}` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1063,10 +1072,14 @@ message ListFeaturesRequest { // A page token, received from a previous // [FeaturestoreService.ListFeatures][google.cloud.aiplatform.v1.FeaturestoreService.ListFeatures] + // call or + // [FeatureRegistryService.ListFeatures][google.cloud.aiplatform.v1.FeatureRegistryService.ListFeatures] // call. Provide this to retrieve the subsequent page. // // When paginating, all other parameters provided to // [FeaturestoreService.ListFeatures][google.cloud.aiplatform.v1.FeaturestoreService.ListFeatures] + // or + // [FeatureRegistryService.ListFeatures][google.cloud.aiplatform.v1.FeatureRegistryService.ListFeatures] // must match the call that provided the page token. string page_token = 4; @@ -1075,7 +1088,7 @@ message ListFeaturesRequest { // Supported fields: // // * `feature_id` - // * `value_type` + // * `value_type` (Not supported for FeatureRegistry Feature) // * `create_time` // * `update_time` string order_by = 5; @@ -1083,6 +1096,7 @@ message ListFeaturesRequest { // Mask specifying which fields to read. google.protobuf.FieldMask read_mask = 6; + // Only applicable for Vertex AI Feature Store (Legacy). // If set, return the most recent // [ListFeaturesRequest.latest_stats_count][google.cloud.aiplatform.v1.ListFeaturesRequest.latest_stats_count] // of stats for each Feature in response. Valid value is [0, 10]. If number of @@ -1094,6 +1108,8 @@ message ListFeaturesRequest { // Response message for // [FeaturestoreService.ListFeatures][google.cloud.aiplatform.v1.FeaturestoreService.ListFeatures]. +// Response message for +// [FeatureRegistryService.ListFeatures][google.cloud.aiplatform.v1.FeatureRegistryService.ListFeatures]. message ListFeaturesResponse { // The Features matching the request. repeated Feature features = 1; @@ -1170,6 +1186,7 @@ message SearchFeaturesRequest { // * `featurestore_id`: Supports = comparisons. // // Examples: + // // * `description = "foo bar"` --> Any Feature with description exactly equal // to `foo bar` // * `value_type = DOUBLE` --> Features whose type is DOUBLE. @@ -1218,11 +1235,14 @@ message SearchFeaturesResponse { // Request message for // [FeaturestoreService.UpdateFeature][google.cloud.aiplatform.v1.FeaturestoreService.UpdateFeature]. +// Request message for +// [FeatureRegistryService.UpdateFeature][google.cloud.aiplatform.v1.FeatureRegistryService.UpdateFeature]. message UpdateFeatureRequest { // Required. The Feature's `name` field is used to identify the Feature to be // updated. // Format: // `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` + // `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}` Feature feature = 1 [(google.api.field_behavior) = REQUIRED]; // Field mask is used to specify the fields to be overwritten in the @@ -1237,16 +1257,19 @@ message UpdateFeatureRequest { // // * `description` // * `labels` - // * `disable_monitoring` + // * `disable_monitoring` (Not supported for FeatureRegistry Feature) google.protobuf.FieldMask update_mask = 2; } // Request message for // [FeaturestoreService.DeleteFeature][google.cloud.aiplatform.v1.FeaturestoreService.DeleteFeature]. +// Request message for +// [FeatureRegistryService.DeleteFeature][google.cloud.aiplatform.v1.FeatureRegistryService.DeleteFeature]. message DeleteFeatureRequest { // Required. The name of the Features to be deleted. // Format: // `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` + // `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}` string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1291,6 +1314,10 @@ message ImportFeatureValuesOperationMetadata { // The number rows that weren't ingested due to having timestamps outside the // retention boundary. int64 timestamp_outside_retention_rows_count = 7; + + // List of ImportFeatureValues operations running under a single EntityType + // that are blocking this operation. + repeated int64 blocking_operation_ids = 8; } // Details of operations that exports Features values. @@ -1442,6 +1469,6 @@ message EntityIdSelector { } // Source column that holds entity IDs. If not provided, entity IDs are - // extracted from the column named `entity_id`. + // extracted from the column named entity_id. string entity_id_field = 5; } diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/hyperparameter_tuning_job.proto b/third_party/googleapis/google/cloud/aiplatform/v1/hyperparameter_tuning_job.proto index 5f80864e3..9699d36fc 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/hyperparameter_tuning_job.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/hyperparameter_tuning_job.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/index.proto b/third_party/googleapis/google/cloud/aiplatform/v1/index.proto index 559f3485a..676674124 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/index.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/index.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -19,6 +19,7 @@ package google.cloud.aiplatform.v1; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1/deployed_index_ref.proto"; +import "google/cloud/aiplatform/v1/encryption_spec.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; @@ -44,7 +45,7 @@ message Index { INDEX_UPDATE_METHOD_UNSPECIFIED = 0; // BatchUpdate: user can call UpdateIndex with files on Cloud Storage of - // datapoints to update. + // Datapoints to update. BATCH_UPDATE = 1; // StreamUpdate: user can call UpsertDatapoints/DeleteDatapoints to update @@ -120,6 +121,10 @@ message Index { // BATCH_UPDATE will be used by default. IndexUpdateMethod index_update_method = 16 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Customer-managed encryption key spec for an Index. If set, this + // Index and all sub-resources of this Index will be secured by this key. + EncryptionSpec encryption_spec = 17 [(google.api.field_behavior) = IMMUTABLE]; } // A datapoint of Index. @@ -127,16 +132,65 @@ message IndexDatapoint { // Restriction of a datapoint which describe its attributes(tokens) from each // of several attribute categories(namespaces). message Restriction { - // The namespace of this restriction. eg: color. + // The namespace of this restriction. e.g.: color. string namespace = 1; - // The attributes to allow in this namespace. eg: 'red' + // The attributes to allow in this namespace. e.g.: 'red' repeated string allow_list = 2; - // The attributes to deny in this namespace. eg: 'blue' + // The attributes to deny in this namespace. e.g.: 'blue' repeated string deny_list = 3; } + // This field allows restricts to be based on numeric comparisons rather + // than categorical tokens. + message NumericRestriction { + // Which comparison operator to use. Should be specified for queries only; + // specifying this for a datapoint is an error. + // + // Datapoints for which Operator is true relative to the query's Value + // field will be allowlisted. + enum Operator { + // Default value of the enum. + OPERATOR_UNSPECIFIED = 0; + + // Datapoints are eligible iff their value is < the query's. + LESS = 1; + + // Datapoints are eligible iff their value is <= the query's. + LESS_EQUAL = 2; + + // Datapoints are eligible iff their value is == the query's. + EQUAL = 3; + + // Datapoints are eligible iff their value is >= the query's. + GREATER_EQUAL = 4; + + // Datapoints are eligible iff their value is > the query's. + GREATER = 5; + } + + // The type of Value must be consistent for all datapoints with a given + // namespace name. This is verified at runtime. + oneof Value { + // Represents 64 bit integer. + int64 value_int = 2; + + // Represents 32 bit float. + float value_float = 3; + + // Represents 64 bit float. + double value_double = 4; + } + + // The namespace of this restriction. e.g.: cost. + string namespace = 1; + + // This MUST be specified for queries and must NOT be specified for + // datapoints. + Operator op = 5; + } + // Crowding tag is a constraint on a neighbor list produced by nearest // neighbor search requiring that no more than some value k' of the k // neighbors returned have the same value of crowding_attribute. @@ -158,10 +212,16 @@ message IndexDatapoint { // Optional. List of Restrict of the datapoint, used to perform "restricted // searches" where boolean rule are used to filter the subset of the database - // eligible for matching. See: + // eligible for matching. This uses categorical tokens. See: // https://cloud.google.com/vertex-ai/docs/matching-engine/filtering repeated Restriction restricts = 4 [(google.api.field_behavior) = OPTIONAL]; + // Optional. List of Restrict of the datapoint, used to perform "restricted + // searches" where boolean rule are used to filter the subset of the database + // eligible for matching. This uses numeric comparisons. + repeated NumericRestriction numeric_restricts = 6 + [(google.api.field_behavior) = OPTIONAL]; + // Optional. CrowdingTag of the datapoint, the number of neighbors to return // in each crowding can be configured during query. CrowdingTag crowding_tag = 5 [(google.api.field_behavior) = OPTIONAL]; diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/index_endpoint.proto b/third_party/googleapis/google/cloud/aiplatform/v1/index_endpoint.proto index 6fbbb8817..013c95bc9 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/index_endpoint.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/index_endpoint.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,6 +18,7 @@ package google.cloud.aiplatform.v1; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/cloud/aiplatform/v1/encryption_spec.proto"; import "google/cloud/aiplatform/v1/machine_resources.proto"; import "google/cloud/aiplatform/v1/service_networking.proto"; import "google/protobuf/timestamp.proto"; @@ -111,6 +112,22 @@ message IndexEndpoint { // are mutually exclusive. PrivateServiceConnectConfig private_service_connect_config = 12 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If true, the deployed index will be accessible through public + // endpoint. + bool public_endpoint_enabled = 13 [(google.api.field_behavior) = OPTIONAL]; + + // Output only. If + // [public_endpoint_enabled][google.cloud.aiplatform.v1.IndexEndpoint.public_endpoint_enabled] + // is true, this field will be populated with the domain name to use for this + // index endpoint. + string public_endpoint_domain_name = 14 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Immutable. Customer-managed encryption key spec for an IndexEndpoint. If + // set, this IndexEndpoint and all sub-resources of this IndexEndpoint will be + // secured by this key. + EncryptionSpec encryption_spec = 15 [(google.api.field_behavior) = IMMUTABLE]; } // A deployment of an Index. IndexEndpoints contain one or more DeployedIndexes. @@ -148,17 +165,16 @@ message DeployedIndex { // Output only. The DeployedIndex may depend on various data on its original // Index. Additionally when certain changes to the original Index are being // done (e.g. when what the Index contains is being changed) the DeployedIndex - // may be asynchronously updated in the background to reflect this changes. If - // this timestamp's value is at least the + // may be asynchronously updated in the background to reflect these changes. + // If this timestamp's value is at least the // [Index.update_time][google.cloud.aiplatform.v1.Index.update_time] of the // original Index, it means that this DeployedIndex and the original Index are // in sync. If this timestamp is older, then to see which updates this - // DeployedIndex already contains (and which not), one must - // [list][Operations.ListOperations] [Operations][Operation] - // [working][Operation.name] on the original Index. Only - // the successfully completed Operations with - // [Operations.metadata.generic_metadata.update_time] - // [google.cloud.aiplatform.v1.GenericOperationMetadata.update_time] + // DeployedIndex already contains (and which it does not), one must + // [list][google.longrunning.Operations.ListOperations] the operations that + // are running on the original Index. Only the successfully completed + // Operations with + // [update_time][google.cloud.aiplatform.v1.GenericOperationMetadata.update_time] // equal or before this sync time are contained in this DeployedIndex. google.protobuf.Timestamp index_sync_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -174,10 +190,11 @@ message DeployedIndex { [(google.api.field_behavior) = OPTIONAL]; // Optional. A description of resources that are dedicated to the - // DeployedIndex, and that need a higher degree of manual configuration. If - // min_replica_count is not set, the default value is 2 (we don't provide SLA - // when min_replica_count=1). If max_replica_count is not set, the default - // value is min_replica_count. The max allowed replica count is 1000. + // DeployedIndex, and that need a higher degree of manual configuration. The + // field min_replica_count must be set to a value strictly greater than 0, or + // else validation will fail. We don't provide SLA when min_replica_count=1. + // If max_replica_count is not set, the default value is min_replica_count. + // The max allowed replica count is 1000. // // Available machine types for SMALL shard: // e2-standard-2 and all machine types available for MEDIUM and LARGE shard. @@ -193,13 +210,13 @@ message DeployedIndex { DedicatedResources dedicated_resources = 16 [(google.api.field_behavior) = OPTIONAL]; - // Optional. If true, private endpoint's access logs are sent to StackDriver + // Optional. If true, private endpoint's access logs are sent to Cloud // Logging. // // These logs are like standard server access logs, containing // information like timestamp and latency for each MatchRequest. // - // Note that Stackdriver logs may incur a cost, especially if the deployed + // Note that logs may incur a cost, especially if the deployed // index receives a high queries per second rate (QPS). // Estimate your costs before enabling this option. bool enable_access_logging = 8 [(google.api.field_behavior) = OPTIONAL]; @@ -215,9 +232,12 @@ message DeployedIndex { // the index might be deployed to any ip ranges under the provided VPC // network. // - // The value sohuld be the name of the address + // The value should be the name of the address // (https://cloud.google.com/compute/docs/reference/rest/v1/addresses) - // Example: 'vertex-ai-ip-range'. + // Example: ['vertex-ai-ip-range']. + // + // For more information about subnets and network IP ranges, please see + // https://cloud.google.com/vpc/docs/subnets#manually_created_subnet_ip_ranges. repeated string reserved_ip_ranges = 10 [(google.api.field_behavior) = OPTIONAL]; @@ -271,4 +291,9 @@ message IndexPrivateEndpoints { // Output only. The name of the service attachment resource. Populated if // private service connect is enabled. string service_attachment = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. PscAutomatedEndpoints is populated if private service connect + // is enabled if PscAutomatedConfig is set. + repeated PscAutomatedEndpoints psc_automated_endpoints = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/index_endpoint_service.proto b/third_party/googleapis/google/cloud/aiplatform/v1/index_endpoint_service.proto index f1be91add..36fb8e297 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/index_endpoint_service.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/index_endpoint_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/index_service.proto b/third_party/googleapis/google/cloud/aiplatform/v1/index_service.proto index 2fc0a1970..aef257993 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/index_service.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/index_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -252,6 +252,16 @@ message UpsertDatapointsRequest { // A list of datapoints to be created/updated. repeated IndexDatapoint datapoints = 2; + + // Optional. Update mask is used to specify the fields to be overwritten in + // the datapoints by the update. The fields specified in the update_mask are + // relative to each IndexDatapoint inside datapoints, not the full request. + // + // Updatable fields: + // + // * Use `all_restricts` to update both restricts and numeric_restricts. + google.protobuf.FieldMask update_mask = 3 + [(google.api.field_behavior) = OPTIONAL]; } // Response message for @@ -307,6 +317,25 @@ message NearestNeighborSearchOperationMetadata { // The `namespace` field is missing. NAMESPACE_MISSING = 7; + + // Generic catch-all error. Only used for validation failure where the + // root cause cannot be easily retrieved programmatically. + PARSING_ERROR = 8; + + // There are multiple restricts with the same `namespace` value. + DUPLICATE_NAMESPACE = 9; + + // Numeric restrict has operator specified in datapoint. + OP_IN_DATAPOINT = 10; + + // Numeric restrict has multiple values specified. + MULTIPLE_VALUES = 11; + + // Numeric restrict has invalid numeric value specified. + INVALID_NUMERIC_VALUE = 12; + + // File is not in UTF_8 format. + INVALID_ENCODING = 13; } // The error type of this record. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/io.proto b/third_party/googleapis/google/cloud/aiplatform/v1/io.proto index 13294bb1e..016601d86 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/io.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/io.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/job_service.proto b/third_party/googleapis/google/cloud/aiplatform/v1/job_service.proto index ce8d664a3..a9feae428 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/job_service.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/job_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/job_state.proto b/third_party/googleapis/google/cloud/aiplatform/v1/job_state.proto index 0bd30c510..2f75694dd 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/job_state.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/job_state.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -60,4 +60,7 @@ enum JobState { // The job is being updated. Only jobs in the `RUNNING` state can be updated. // After updating, the job goes back to the `RUNNING` state. JOB_STATE_UPDATING = 10; + + // The job is partially succeeded, some results may be missing due to errors. + JOB_STATE_PARTIALLY_SUCCEEDED = 11; } diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/lineage_subgraph.proto b/third_party/googleapis/google/cloud/aiplatform/v1/lineage_subgraph.proto index 428ec3145..67a06d98a 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/lineage_subgraph.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/lineage_subgraph.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/machine_resources.proto b/third_party/googleapis/google/cloud/aiplatform/v1/machine_resources.proto index 60dea057b..041ea2e3d 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/machine_resources.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/machine_resources.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -52,6 +52,10 @@ message MachineSpec { // The number of accelerators to attach to the machine. int32 accelerator_count = 3; + + // Immutable. The topology of the TPUs. Corresponds to the TPU topologies + // available from GKE. (Example: tpu_topology: "2x2x1"). + string tpu_topology = 4 [(google.api.field_behavior) = IMMUTABLE]; } // A description of resources that are dedicated to a DeployedModel, and @@ -181,6 +185,20 @@ message DiskSpec { int32 boot_disk_size_gb = 2; } +// Represents the spec of [persistent +// disk][https://cloud.google.com/compute/docs/disks/persistent-disks] options. +message PersistentDiskSpec { + // Type of the disk (default is "pd-standard"). + // Valid values: "pd-ssd" (Persistent Disk Solid State Drive) + // "pd-standard" (Persistent Disk Hard Disk Drive) + // "pd-balanced" (Balanced Persistent Disk) + // "pd-extreme" (Extreme Persistent Disk) + string disk_type = 1; + + // Size in GB of the disk (default is 100GB). + int64 disk_size_gb = 2; +} + // Represents a mount configuration for Network File System (NFS) to mount. message NfsMount { // Required. IP address of the NFS server. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/manual_batch_tuning_parameters.proto b/third_party/googleapis/google/cloud/aiplatform/v1/manual_batch_tuning_parameters.proto index 68ea0a035..6d5db1ea8 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/manual_batch_tuning_parameters.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/manual_batch_tuning_parameters.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/metadata_schema.proto b/third_party/googleapis/google/cloud/aiplatform/v1/metadata_schema.proto index 26a5257df..65f1bdb83 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/metadata_schema.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/metadata_schema.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/metadata_service.proto b/third_party/googleapis/google/cloud/aiplatform/v1/metadata_service.proto index 774323923..017b0df2e 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/metadata_service.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/metadata_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -582,6 +582,9 @@ message ListArtifactsRequest { // To filter on metadata fields use traversal operation as follows: // `metadata..`. // For example: `metadata.field_1.number_value = 10.0` + // In case the field name contains special characters (such as colon), one + // can embed it inside double quote. + // For example: `metadata."field:1".number_value = 10.0` // * **Context based filtering**: // To filter Artifacts based on the contexts to which they belong, use the // function operator with the full resource name @@ -628,7 +631,6 @@ message UpdateArtifactRequest { Artifact artifact = 1 [(google.api.field_behavior) = REQUIRED]; // Optional. A FieldMask indicating which fields should be updated. - // Functionality of this field is not yet supported. google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = OPTIONAL]; @@ -784,6 +786,9 @@ message ListContextsRequest { // To filter on metadata fields use traversal operation as follows: // `metadata..`. // For example: `metadata.field_1.number_value = 10.0`. + // In case the field name contains special characters (such as colon), one + // can embed it inside double quote. + // For example: `metadata."field:1".number_value = 10.0` // * **Parent Child filtering**: // To filter Contexts based on parent-child relationship use the HAS // operator as follows: @@ -834,7 +839,6 @@ message UpdateContextRequest { Context context = 1 [(google.api.field_behavior) = REQUIRED]; // Optional. A FieldMask indicating which fields should be updated. - // Functionality of this field is not yet supported. google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = OPTIONAL]; @@ -1097,6 +1101,9 @@ message ListExecutionsRequest { // To filter on metadata fields use traversal operation as follows: // `metadata..` // For example: `metadata.field_1.number_value = 10.0` + // In case the field name contains special characters (such as colon), one + // can embed it inside double quote. + // For example: `metadata."field:1".number_value = 10.0` // * **Context based filtering**: // To filter Executions based on the contexts to which they belong use // the function operator with the full resource name: @@ -1143,7 +1150,6 @@ message UpdateExecutionRequest { Execution execution = 1 [(google.api.field_behavior) = REQUIRED]; // Optional. A FieldMask indicating which fields should be updated. - // Functionality of this field is not yet supported. google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = OPTIONAL]; @@ -1379,6 +1385,9 @@ message QueryArtifactLineageSubgraphRequest { // To filter on metadata fields use traversal operation as follows: // `metadata..`. // For example: `metadata.field_1.number_value = 10.0` + // In case the field name contains special characters (such as colon), one + // can embed it inside double quote. + // For example: `metadata."field:1".number_value = 10.0` // // Each of the above supported filter types can be combined together using // logical operators (`AND` & `OR`). Maximum nested expression depth allowed diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/metadata_store.proto b/third_party/googleapis/google/cloud/aiplatform/v1/metadata_store.proto index c8583ae2b..a2f38308c 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/metadata_store.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/metadata_store.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/migratable_resource.proto b/third_party/googleapis/google/cloud/aiplatform/v1/migratable_resource.proto index cf8322c68..891085249 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/migratable_resource.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/migratable_resource.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/migration_service.proto b/third_party/googleapis/google/cloud/aiplatform/v1/migration_service.proto index ac1b7f0ea..41605fa1f 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/migration_service.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/migration_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/model.proto b/third_party/googleapis/google/cloud/aiplatform/v1/model.proto index 6f04eb348..fa1a9eb8b 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/model.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/model.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -22,6 +22,7 @@ import "google/cloud/aiplatform/v1/deployed_model_ref.proto"; import "google/cloud/aiplatform/v1/encryption_spec.proto"; import "google/cloud/aiplatform/v1/env_var.proto"; import "google/cloud/aiplatform/v1/explanation.proto"; +import "google/protobuf/duration.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; @@ -90,6 +91,35 @@ message Model { [(google.api.field_behavior) = OUTPUT_ONLY]; } + // Stats of data used for train or evaluate the Model. + message DataStats { + // Number of DataItems that were used for training this Model. + int64 training_data_items_count = 1; + + // Number of DataItems that were used for validating this Model during + // training. + int64 validation_data_items_count = 2; + + // Number of DataItems that were used for evaluating this Model. If the + // Model is evaluated multiple times, this will be the number of test + // DataItems used by the first evaluation. If the Model is not evaluated, + // the number is 0. + int64 test_data_items_count = 3; + + // Number of Annotations that are used for training this Model. + int64 training_annotations_count = 4; + + // Number of Annotations that are used for validating this Model during + // training. + int64 validation_annotations_count = 5; + + // Number of Annotations that are used for evaluating this Model. If the + // Model is evaluated multiple times, this will be the number of test + // Annotations used by the first evaluation. If the Model is not evaluated, + // the number is 0. + int64 test_annotations_count = 6; + } + // Contains information about the original Model if this Model is a copy. message OriginalModelInfo { // Output only. The resource name of the Model this Model is a copy of, @@ -119,7 +149,9 @@ message Model { // Resources that can be shared by multiple // [DeployedModels][google.cloud.aiplatform.v1.DeployedModel]. A - // pre-configured [DeploymentResourcePool][] is required. + // pre-configured + // [DeploymentResourcePool][google.cloud.aiplatform.v1.DeploymentResourcePool] + // is required. SHARED_RESOURCES = 3; } @@ -204,16 +236,25 @@ message Model { } ]; + // Optional. This field is populated if the model is produced by a pipeline + // job. + string pipeline_job = 47 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/PipelineJob" + } + ]; + // Input only. The specification of the container that is to be used when // deploying this Model. The specification is ingested upon // [ModelService.UploadModel][google.cloud.aiplatform.v1.ModelService.UploadModel], // and all binaries it contains are copied and stored internally by Vertex AI. - // Not present for AutoML Models or Large Models. + // Not required for AutoML Models. ModelContainerSpec container_spec = 9 [(google.api.field_behavior) = INPUT_ONLY]; // Immutable. The path to the directory containing the Model artifact and any - // of its supporting files. Not present for AutoML Models or Large Models. + // of its supporting files. Not required for AutoML Models. string artifact_uri = 26 [(google.api.field_behavior) = IMMUTABLE]; // Output only. When this Model is deployed, its prediction resources are @@ -385,12 +426,19 @@ message Model { // See https://goo.gl/xmQnxf for more information and examples of labels. map labels = 17; + // Stats of data used for training or evaluating the Model. + // + // Only populated when the Model is trained by a TrainingPipeline with + // [data_input_config][TrainingPipeline.data_input_config]. + DataStats data_stats = 21; + // Customer-managed encryption key spec for a Model. If set, this // Model and all sub-resources of this Model will be secured by this key. EncryptionSpec encryption_spec = 24; // Output only. Source of a model. It can either be automl training pipeline, - // custom training pipeline, BigQuery ML, or existing Vertex AI Model. + // custom training pipeline, BigQuery ML, or saved and tuned from Genie or + // Model Garden. ModelSourceInfo model_source_info = 38 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -406,6 +454,14 @@ message Model { string metadata_artifact = 44 [(google.api.field_behavior) = OUTPUT_ONLY]; } +// Contains information about the Large Model. +message LargeModelReference { + // Required. The unique name of the large Foundation or pre-built model. Like + // "chat-bison", "text-bison". Or model name with version ID, like + // "chat-bison@001", "text-bison@005", etc. + string name = 1 [(google.api.field_behavior) = REQUIRED]; +} + // Contains the schemata used in Model's predictions and explanations via // [PredictionService.Predict][google.cloud.aiplatform.v1.PredictionService.Predict], // [PredictionService.Explain][google.cloud.aiplatform.v1.PredictionService.Explain] @@ -673,6 +729,32 @@ message ModelContainerSpec { // [`AIP_DEPLOYED_MODEL_ID` environment // variable](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables).) string health_route = 7 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. List of ports to expose from the container. Vertex AI sends gRPC + // prediction requests that it receives to the first port on this list. Vertex + // AI also sends liveness and health checks to this port. + // + // If you do not specify this field, gRPC requests to the container will be + // disabled. + // + // Vertex AI does not use ports other than the first one listed. This field + // corresponds to the `ports` field of the Kubernetes Containers v1 core API. + repeated Port grpc_ports = 9 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Deployment timeout. + // Limit for deployment timeout is 2 hours. + google.protobuf.Duration deployment_timeout = 10 + [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. The amount of the VM memory to reserve as the shared memory for + // the model in megabytes. + int64 shared_memory_size_mb = 11 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Specification for Kubernetes startup probe. + Probe startup_probe = 12 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Specification for Kubernetes readiness probe. + Probe health_probe = 13 [(google.api.field_behavior) = IMMUTABLE]; } // Represents a network port in a container. @@ -685,6 +767,10 @@ message Port { // Detail description of the source information of the model. message ModelSourceInfo { // Source of the model. + // Different from `objective` field, this `ModelSourceType` enum + // indicates the source from which the model was accessed or obtained, + // whereas the `objective` indicates the overall aim or function of this + // model. enum ModelSourceType { // Should not be used. MODEL_SOURCE_TYPE_UNSPECIFIED = 0; @@ -697,8 +783,57 @@ message ModelSourceInfo { // The Model is registered and sync'ed from BigQuery ML. BQML = 3; + + // The Model is saved or tuned from Model Garden. + MODEL_GARDEN = 4; + + // The Model is saved or tuned from Genie. + GENIE = 5; + + // The Model is uploaded by text embedding finetuning pipeline. + CUSTOM_TEXT_EMBEDDING = 6; + + // The Model is saved or tuned from Marketplace. + MARKETPLACE = 7; } // Type of the model source. ModelSourceType source_type = 1; + + // If this Model is copy of another Model. If true then + // [source_type][google.cloud.aiplatform.v1.ModelSourceInfo.source_type] + // pertains to the original. + bool copy = 2; +} + +// Probe describes a health check to be performed against a container to +// determine whether it is alive or ready to receive traffic. +message Probe { + // ExecAction specifies a command to execute. + message ExecAction { + // Command is the command line to execute inside the container, the working + // directory for the command is root ('/') in the container's filesystem. + // The command is simply exec'd, it is not run inside a shell, so + // traditional shell instructions ('|', etc) won't work. To use a shell, you + // need to explicitly call out to that shell. Exit status of 0 is treated as + // live/healthy and non-zero is unhealthy. + repeated string command = 1; + } + + oneof probe_type { + // Exec specifies the action to take. + ExecAction exec = 1; + } + + // How often (in seconds) to perform the probe. Default to 10 seconds. + // Minimum value is 1. Must be less than timeout_seconds. + // + // Maps to Kubernetes probe argument 'periodSeconds'. + int32 period_seconds = 2; + + // Number of seconds after which the probe times out. Defaults to 1 second. + // Minimum value is 1. Must be greater or equal to period_seconds. + // + // Maps to Kubernetes probe argument 'timeoutSeconds'. + int32 timeout_seconds = 3; } diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/model_deployment_monitoring_job.proto b/third_party/googleapis/google/cloud/aiplatform/v1/model_deployment_monitoring_job.proto index 3f03831c0..02b7eae53 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/model_deployment_monitoring_job.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/model_deployment_monitoring_job.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -263,6 +263,11 @@ message ModelDeploymentMonitoringBigQueryTable { // & analysis. Format: // `bq://.model_deployment_monitoring_._` string bigquery_table_path = 3; + + // Output only. The schema version of the request/response logging BigQuery + // table. Default to v1 if unset. + string request_response_logging_schema_version = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // ModelDeploymentMonitoringObjectiveConfig contains the pair of diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/model_evaluation.proto b/third_party/googleapis/google/cloud/aiplatform/v1/model_evaluation.proto index 6b9499d1a..5cf507a43 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/model_evaluation.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/model_evaluation.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -71,8 +71,9 @@ message ModelEvaluation { google.protobuf.Timestamp create_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - // All possible [dimensions][ModelEvaluationSlice.slice.dimension] of - // ModelEvaluationSlices. The dimensions can be used as the filter of the + // All possible + // [dimensions][google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.dimension] + // of ModelEvaluationSlices. The dimensions can be used as the filter of the // [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices] // request, in the form of `slice.dimension = `. repeated string slice_dimensions = 5; @@ -114,6 +115,6 @@ message ModelEvaluation { // The metadata of the ModelEvaluation. // For the ModelEvaluation uploaded from Managed Pipeline, metadata contains a // structured value with keys of "pipeline_job_id", "evaluation_dataset_type", - // "evaluation_dataset_path". + // "evaluation_dataset_path", "row_based_metrics_path". google.protobuf.Value metadata = 11; } diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/model_evaluation_slice.proto b/third_party/googleapis/google/cloud/aiplatform/v1/model_evaluation_slice.proto index d870eb7b8..059a3abdd 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/model_evaluation_slice.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/model_evaluation_slice.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/model_monitoring.proto b/third_party/googleapis/google/cloud/aiplatform/v1/model_monitoring.proto index 73c5e0b2b..de5828447 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/model_monitoring.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/model_monitoring.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -26,6 +26,10 @@ option java_outer_classname = "ModelMonitoringProto"; option java_package = "com.google.cloud.aiplatform.v1"; option php_namespace = "Google\\Cloud\\AIPlatform\\V1"; option ruby_package = "Google::Cloud::AIPlatform::V1"; +option (google.api.resource_definition) = { + type: "monitoring.googleapis.com/NotificationChannel" + pattern: "projects/{project}/notificationChannels/{notification_channel}" +}; // The objective configuration for model monitoring, including the information // needed to detect anomalies for one particular model. @@ -166,6 +170,7 @@ message ModelMonitoringObjectiveConfig { ExplanationConfig explanation_config = 5; } +// The alert config for model monitoring. message ModelMonitoringAlertConfig { // The config for email alert. message EmailAlertConfig { @@ -184,6 +189,13 @@ message ModelMonitoringAlertConfig { // This can be further sinked to Pub/Sub or any other services supported // by Cloud Logging. bool enable_logging = 2; + + // Resource names of the NotificationChannels to send alert. + // Must be of the format + // `projects//notificationChannels/` + repeated string notification_channels = 3 [(google.api.resource_reference) = { + type: "monitoring.googleapis.com/NotificationChannel" + }]; } // The config for feature monitoring threshold. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/model_service.proto b/third_party/googleapis/google/cloud/aiplatform/v1/model_service.proto index dc1fe7bdf..957d92e8a 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/model_service.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/model_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -22,6 +22,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1/encryption_spec.proto"; import "google/cloud/aiplatform/v1/evaluated_annotation.proto"; +import "google/cloud/aiplatform/v1/explanation.proto"; import "google/cloud/aiplatform/v1/io.proto"; import "google/cloud/aiplatform/v1/model.proto"; import "google/cloud/aiplatform/v1/model_evaluation.proto"; @@ -92,6 +93,20 @@ service ModelService { option (google.api.method_signature) = "model,update_mask"; } + // Incrementally update the dataset used for an examples model. + rpc UpdateExplanationDataset(UpdateExplanationDatasetRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{model=projects/*/locations/*/models/*}:updateExplanationDataset" + body: "*" + }; + option (google.api.method_signature) = "model"; + option (google.longrunning.operation_info) = { + response_type: "UpdateExplanationDatasetResponse" + metadata_type: "UpdateExplanationDatasetOperationMetadata" + }; + } + // Deletes a Model. // // A model cannot be deleted if any @@ -268,10 +283,10 @@ message UploadModelRequest { // Optional. The user-provided custom service account to use to do the model // upload. If empty, [Vertex AI Service // Agent](https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) - // will be used. Users uploading the Model must have the - // `iam.serviceAccounts.actAs` permission on this service account. Also, this - // account must belong to the project specified in the `parent` field and have - // all necessary read permissions. + // will be used to access resources needed to upload the model. This account + // must belong to the target project where the model is uploaded to, i.e., the + // project specified in the `parent` field of this request and have necessary + // read permissions (to Google Cloud Storage, Artifact Registry, etc.). string service_account = 6 [(google.api.field_behavior) = OPTIONAL]; } @@ -406,8 +421,10 @@ message ListModelVersionsRequest { // The standard list page token. // Typically obtained via - // [ListModelVersionsResponse.next_page_token][google.cloud.aiplatform.v1.ListModelVersionsResponse.next_page_token] - // of the previous [ModelService.ListModelversions][] call. + // [next_page_token][google.cloud.aiplatform.v1.ListModelVersionsResponse.next_page_token] + // of the previous + // [ListModelVersions][google.cloud.aiplatform.v1.ModelService.ListModelVersions] + // call. string page_token = 3; // An expression for filtering the results of the request. For field names @@ -482,6 +499,29 @@ message UpdateModelRequest { [(google.api.field_behavior) = REQUIRED]; } +// Request message for +// [ModelService.UpdateExplanationDataset][google.cloud.aiplatform.v1.ModelService.UpdateExplanationDataset]. +message UpdateExplanationDatasetRequest { + // Required. The resource name of the Model to update. + // Format: `projects/{project}/locations/{location}/models/{model}` + string model = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Model" + } + ]; + + // The example config containing the location of the dataset. + Examples examples = 2; +} + +// Runtime operation information for +// [ModelService.UpdateExplanationDataset][google.cloud.aiplatform.v1.ModelService.UpdateExplanationDataset]. +message UpdateExplanationDatasetOperationMetadata { + // The common part of the operation metadata. + GenericOperationMetadata generic_metadata = 1; +} + // Request message for // [ModelService.DeleteModel][google.cloud.aiplatform.v1.ModelService.DeleteModel]. message DeleteModelRequest { @@ -607,6 +647,11 @@ message ExportModelOperationMetadata { OutputInfo output_info = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; } +// Response message of +// [ModelService.UpdateExplanationDataset][google.cloud.aiplatform.v1.ModelService.UpdateExplanationDataset] +// operation. +message UpdateExplanationDatasetResponse {} + // Response message of // [ModelService.ExportModel][google.cloud.aiplatform.v1.ModelService.ExportModel] // operation. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/nas_job.proto b/third_party/googleapis/google/cloud/aiplatform/v1/nas_job.proto index 1d670eeca..a5baba8f7 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/nas_job.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/nas_job.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -99,7 +99,7 @@ message NasJob { [deprecated = true, (google.api.field_behavior) = OPTIONAL]; } -// Represents a NasTrial details along with it's parameters. If there is a +// Represents a NasTrial details along with its parameters. If there is a // corresponding train NasTrial, the train NasTrial is also returned. message NasTrialDetail { option (google.api.resource) = { diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/operation.proto b/third_party/googleapis/google/cloud/aiplatform/v1/operation.proto index 05d994ffe..8f8604124 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/operation.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/operation.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/pipeline_failure_policy.proto b/third_party/googleapis/google/cloud/aiplatform/v1/pipeline_failure_policy.proto index 35b0401ef..fc33dacd3 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/pipeline_failure_policy.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/pipeline_failure_policy.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/pipeline_job.proto b/third_party/googleapis/google/cloud/aiplatform/v1/pipeline_job.proto index f0f6d2bb6..e48cd9546 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/pipeline_job.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/pipeline_job.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -147,6 +147,9 @@ message PipelineJob { // characters, underscores and dashes. International characters are allowed. // // See https://goo.gl/xmQnxf for more information and examples of labels. + // + // Note there is some reserved label key for Vertex AI Pipelines. + // - `vertex-ai-pipelines-run-billing-id`, user set value will get overrided. map labels = 11; // Runtime config of the pipeline. @@ -184,9 +187,21 @@ message PipelineJob { (google.api.resource_reference) = { type: "compute.googleapis.com/Network" } ]; + // A list of names for the reserved ip ranges under the VPC network + // that can be used for this Pipeline Job's workload. + // + // If set, we will deploy the Pipeline Job's workload within the provided ip + // ranges. Otherwise, the job will be deployed to any ip ranges under the + // provided VPC network. + // + // Example: ['vertex-ai-ip-range']. + repeated string reserved_ip_ranges = 25; + // A template uri from where the // [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec], - // if empty, will be downloaded. + // if empty, will be downloaded. Currently, only uri from Vertex Template + // Registry & Gallery is supported. Reference to + // https://cloud.google.com/vertex-ai/docs/pipelines/create-pipeline-template. string template_uri = 19; // Output only. Pipeline template metadata. Will fill up fields if @@ -194,6 +209,10 @@ message PipelineJob { // is from supported template registry. PipelineTemplateMetadata template_metadata = 20 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The schedule resource name. + // Only returned if the Pipeline is created by Schedule API. + string schedule_name = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Pipeline template metadata if @@ -293,7 +312,7 @@ message PipelineTaskDetail { int64 parent_task_id = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The user specified name of the task that is defined in - // [PipelineJob.spec][]. + // [pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec]. string task_name = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Task create time. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/pipeline_service.proto b/third_party/googleapis/google/cloud/aiplatform/v1/pipeline_service.proto index 63899ce24..c500559d9 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/pipeline_service.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/pipeline_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -312,7 +312,7 @@ message CreatePipelineJobRequest { // generated. // // This value should be less than 128 characters, and valid characters - // are /[a-z][0-9]-/. + // are `/[a-z][0-9]-/`. string pipeline_job_id = 3; } diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/pipeline_state.proto b/third_party/googleapis/google/cloud/aiplatform/v1/pipeline_state.proto index 28baee3b3..b48373700 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/pipeline_state.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/pipeline_state.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/prediction_service.proto b/third_party/googleapis/google/cloud/aiplatform/v1/prediction_service.proto index e02e5704c..e37bdb8fc 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/prediction_service.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/prediction_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,7 +21,10 @@ import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/httpbody.proto"; import "google/api/resource.proto"; +import "google/cloud/aiplatform/v1/content.proto"; import "google/cloud/aiplatform/v1/explanation.proto"; +import "google/cloud/aiplatform/v1/tool.proto"; +import "google/cloud/aiplatform/v1/types.proto"; import "google/protobuf/struct.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; @@ -43,6 +46,10 @@ service PredictionService { option (google.api.http) = { post: "/v1/{endpoint=projects/*/locations/*/endpoints/*}:predict" body: "*" + additional_bindings { + post: "/v1/{endpoint=projects/*/locations/*/publishers/*/models/*}:predict" + body: "*" + } }; option (google.api.method_signature) = "endpoint,instances,parameters"; } @@ -62,10 +69,80 @@ service PredictionService { option (google.api.http) = { post: "/v1/{endpoint=projects/*/locations/*/endpoints/*}:rawPredict" body: "*" + additional_bindings { + post: "/v1/{endpoint=projects/*/locations/*/publishers/*/models/*}:rawPredict" + body: "*" + } }; option (google.api.method_signature) = "endpoint,http_body"; } + // Perform a streaming online prediction with an arbitrary HTTP payload. + rpc StreamRawPredict(StreamRawPredictRequest) + returns (stream google.api.HttpBody) { + option (google.api.http) = { + post: "/v1/{endpoint=projects/*/locations/*/endpoints/*}:streamRawPredict" + body: "*" + additional_bindings { + post: "/v1/{endpoint=projects/*/locations/*/publishers/*/models/*}:streamRawPredict" + body: "*" + } + }; + option (google.api.method_signature) = "endpoint,http_body"; + } + + // Perform an unary online prediction request to a gRPC model server for + // Vertex first-party products and frameworks. + rpc DirectPredict(DirectPredictRequest) returns (DirectPredictResponse) { + option (google.api.http) = { + post: "/v1/{endpoint=projects/*/locations/*/endpoints/*}:directPredict" + body: "*" + }; + } + + // Perform an unary online prediction request to a gRPC model server for + // custom containers. + rpc DirectRawPredict(DirectRawPredictRequest) + returns (DirectRawPredictResponse) { + option (google.api.http) = { + post: "/v1/{endpoint=projects/*/locations/*/endpoints/*}:directRawPredict" + body: "*" + }; + } + + // Perform a streaming online prediction request to a gRPC model server for + // Vertex first-party products and frameworks. + rpc StreamDirectPredict(stream StreamDirectPredictRequest) + returns (stream StreamDirectPredictResponse) {} + + // Perform a streaming online prediction request to a gRPC model server for + // custom containers. + rpc StreamDirectRawPredict(stream StreamDirectRawPredictRequest) + returns (stream StreamDirectRawPredictResponse) {} + + // Perform a streaming online prediction request for Vertex first-party + // products and frameworks. + rpc StreamingPredict(stream StreamingPredictRequest) + returns (stream StreamingPredictResponse) {} + + // Perform a server-side streaming online prediction request for Vertex + // LLM streaming. + rpc ServerStreamingPredict(StreamingPredictRequest) + returns (stream StreamingPredictResponse) { + option (google.api.http) = { + post: "/v1/{endpoint=projects/*/locations/*/endpoints/*}:serverStreamingPredict" + body: "*" + additional_bindings { + post: "/v1/{endpoint=projects/*/locations/*/publishers/*/models/*}:serverStreamingPredict" + body: "*" + } + }; + } + + // Perform a streaming online prediction request through gRPC. + rpc StreamingRawPredict(stream StreamingRawPredictRequest) + returns (stream StreamingRawPredictResponse) {} + // Perform an online explanation. // // If @@ -76,8 +153,7 @@ service PredictionService { // [deployed_model_id][google.cloud.aiplatform.v1.ExplainRequest.deployed_model_id] // is not specified, all DeployedModels must have // [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec] - // populated. Only deployed AutoML tabular Models have - // explanation_spec. + // populated. rpc Explain(ExplainRequest) returns (ExplainResponse) { option (google.api.http) = { post: "/v1/{endpoint=projects/*/locations/*/endpoints/*}:explain" @@ -86,6 +162,34 @@ service PredictionService { option (google.api.method_signature) = "endpoint,instances,parameters,deployed_model_id"; } + + // Generate content with multimodal inputs. + rpc GenerateContent(GenerateContentRequest) + returns (GenerateContentResponse) { + option (google.api.http) = { + post: "/v1/{model=projects/*/locations/*/endpoints/*}:generateContent" + body: "*" + additional_bindings { + post: "/v1/{model=projects/*/locations/*/publishers/*/models/*}:generateContent" + body: "*" + } + }; + option (google.api.method_signature) = "model,contents"; + } + + // Generate content with multimodal inputs with streaming support. + rpc StreamGenerateContent(GenerateContentRequest) + returns (stream GenerateContentResponse) { + option (google.api.http) = { + post: "/v1/{model=projects/*/locations/*/endpoints/*}:streamGenerateContent" + body: "*" + additional_bindings { + post: "/v1/{model=projects/*/locations/*/publishers/*/models/*}:streamGenerateContent" + body: "*" + } + }; + option (google.api.method_signature) = "model,contents"; + } } // Request message for @@ -151,6 +255,11 @@ message PredictResponse { // name][google.cloud.aiplatform.v1.Model.display_name] of the Model which is // deployed as the DeployedModel that this prediction hits. string model_display_name = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Request-level metadata returned by the model. The metadata + // type will be dependent upon the model implementation. + google.protobuf.Value metadata = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Request message for @@ -184,6 +293,243 @@ message RawPredictRequest { google.api.HttpBody http_body = 2; } +// Request message for +// [PredictionService.StreamRawPredict][google.cloud.aiplatform.v1.PredictionService.StreamRawPredict]. +message StreamRawPredictRequest { + // Required. The name of the Endpoint requested to serve the prediction. + // Format: + // `projects/{project}/locations/{location}/endpoints/{endpoint}` + string endpoint = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Endpoint" + } + ]; + + // The prediction input. Supports HTTP headers and arbitrary data payload. + google.api.HttpBody http_body = 2; +} + +// Request message for +// [PredictionService.DirectPredict][google.cloud.aiplatform.v1.PredictionService.DirectPredict]. +message DirectPredictRequest { + // Required. The name of the Endpoint requested to serve the prediction. + // Format: + // `projects/{project}/locations/{location}/endpoints/{endpoint}` + string endpoint = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Endpoint" + } + ]; + + // The prediction input. + repeated Tensor inputs = 2; + + // The parameters that govern the prediction. + Tensor parameters = 3; +} + +// Response message for +// [PredictionService.DirectPredict][google.cloud.aiplatform.v1.PredictionService.DirectPredict]. +message DirectPredictResponse { + // The prediction output. + repeated Tensor outputs = 1; + + // The parameters that govern the prediction. + Tensor parameters = 2; +} + +// Request message for +// [PredictionService.DirectRawPredict][google.cloud.aiplatform.v1.PredictionService.DirectRawPredict]. +message DirectRawPredictRequest { + // Required. The name of the Endpoint requested to serve the prediction. + // Format: + // `projects/{project}/locations/{location}/endpoints/{endpoint}` + string endpoint = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Endpoint" + } + ]; + + // Fully qualified name of the API method being invoked to perform + // predictions. + // + // Format: + // `/namespace.Service/Method/` + // Example: + // `/tensorflow.serving.PredictionService/Predict` + string method_name = 2; + + // The prediction input. + bytes input = 3; +} + +// Response message for +// [PredictionService.DirectRawPredict][google.cloud.aiplatform.v1.PredictionService.DirectRawPredict]. +message DirectRawPredictResponse { + // The prediction output. + bytes output = 1; +} + +// Request message for +// [PredictionService.StreamDirectPredict][google.cloud.aiplatform.v1.PredictionService.StreamDirectPredict]. +// +// The first message must contain +// [endpoint][google.cloud.aiplatform.v1.StreamDirectPredictRequest.endpoint] +// field and optionally [input][]. The subsequent messages must contain +// [input][]. +message StreamDirectPredictRequest { + // Required. The name of the Endpoint requested to serve the prediction. + // Format: + // `projects/{project}/locations/{location}/endpoints/{endpoint}` + string endpoint = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Endpoint" + } + ]; + + // Optional. The prediction input. + repeated Tensor inputs = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The parameters that govern the prediction. + Tensor parameters = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// Response message for +// [PredictionService.StreamDirectPredict][google.cloud.aiplatform.v1.PredictionService.StreamDirectPredict]. +message StreamDirectPredictResponse { + // The prediction output. + repeated Tensor outputs = 1; + + // The parameters that govern the prediction. + Tensor parameters = 2; +} + +// Request message for +// [PredictionService.StreamDirectRawPredict][google.cloud.aiplatform.v1.PredictionService.StreamDirectRawPredict]. +// +// The first message must contain +// [endpoint][google.cloud.aiplatform.v1.StreamDirectRawPredictRequest.endpoint] +// and +// [method_name][google.cloud.aiplatform.v1.StreamDirectRawPredictRequest.method_name] +// fields and optionally +// [input][google.cloud.aiplatform.v1.StreamDirectRawPredictRequest.input]. The +// subsequent messages must contain +// [input][google.cloud.aiplatform.v1.StreamDirectRawPredictRequest.input]. +// [method_name][google.cloud.aiplatform.v1.StreamDirectRawPredictRequest.method_name] +// in the subsequent messages have no effect. +message StreamDirectRawPredictRequest { + // Required. The name of the Endpoint requested to serve the prediction. + // Format: + // `projects/{project}/locations/{location}/endpoints/{endpoint}` + string endpoint = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Endpoint" + } + ]; + + // Optional. Fully qualified name of the API method being invoked to perform + // predictions. + // + // Format: + // `/namespace.Service/Method/` + // Example: + // `/tensorflow.serving.PredictionService/Predict` + string method_name = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The prediction input. + bytes input = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// Response message for +// [PredictionService.StreamDirectRawPredict][google.cloud.aiplatform.v1.PredictionService.StreamDirectRawPredict]. +message StreamDirectRawPredictResponse { + // The prediction output. + bytes output = 1; +} + +// Request message for +// [PredictionService.StreamingPredict][google.cloud.aiplatform.v1.PredictionService.StreamingPredict]. +// +// The first message must contain +// [endpoint][google.cloud.aiplatform.v1.StreamingPredictRequest.endpoint] field +// and optionally [input][]. The subsequent messages must contain [input][]. +message StreamingPredictRequest { + // Required. The name of the Endpoint requested to serve the prediction. + // Format: + // `projects/{project}/locations/{location}/endpoints/{endpoint}` + string endpoint = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Endpoint" + } + ]; + + // The prediction input. + repeated Tensor inputs = 2; + + // The parameters that govern the prediction. + Tensor parameters = 3; +} + +// Response message for +// [PredictionService.StreamingPredict][google.cloud.aiplatform.v1.PredictionService.StreamingPredict]. +message StreamingPredictResponse { + // The prediction output. + repeated Tensor outputs = 1; + + // The parameters that govern the prediction. + Tensor parameters = 2; +} + +// Request message for +// [PredictionService.StreamingRawPredict][google.cloud.aiplatform.v1.PredictionService.StreamingRawPredict]. +// +// The first message must contain +// [endpoint][google.cloud.aiplatform.v1.StreamingRawPredictRequest.endpoint] +// and +// [method_name][google.cloud.aiplatform.v1.StreamingRawPredictRequest.method_name] +// fields and optionally +// [input][google.cloud.aiplatform.v1.StreamingRawPredictRequest.input]. The +// subsequent messages must contain +// [input][google.cloud.aiplatform.v1.StreamingRawPredictRequest.input]. +// [method_name][google.cloud.aiplatform.v1.StreamingRawPredictRequest.method_name] +// in the subsequent messages have no effect. +message StreamingRawPredictRequest { + // Required. The name of the Endpoint requested to serve the prediction. + // Format: + // `projects/{project}/locations/{location}/endpoints/{endpoint}` + string endpoint = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Endpoint" + } + ]; + + // Fully qualified name of the API method being invoked to perform + // predictions. + // + // Format: + // `/namespace.Service/Method/` + // Example: + // `/tensorflow.serving.PredictionService/Predict` + string method_name = 2; + + // The prediction input. + bytes input = 3; +} + +// Response message for +// [PredictionService.StreamingRawPredict][google.cloud.aiplatform.v1.PredictionService.StreamingRawPredict]. +message StreamingRawPredictResponse { + // The prediction output. + bytes output = 1; +} + // Request message for // [PredictionService.Explain][google.cloud.aiplatform.v1.PredictionService.Explain]. message ExplainRequest { @@ -251,3 +597,122 @@ message ExplainResponse { // [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions]. repeated google.protobuf.Value predictions = 3; } + +// Request message for [PredictionService.CountTokens][]. +message CountTokensRequest { + // Required. The name of the Endpoint requested to perform token counting. + // Format: + // `projects/{project}/locations/{location}/endpoints/{endpoint}` + string endpoint = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Endpoint" + } + ]; + + // Required. The name of the publisher model requested to serve the + // prediction. Format: + // `projects/{project}/locations/{location}/publishers/*/models/*` + string model = 3 [(google.api.field_behavior) = REQUIRED]; + + // Required. The instances that are the input to token counting call. + // Schema is identical to the prediction schema of the underlying model. + repeated google.protobuf.Value instances = 2 + [(google.api.field_behavior) = REQUIRED]; + + // Required. Input content. + repeated Content contents = 4 [(google.api.field_behavior) = REQUIRED]; +} + +// Response message for [PredictionService.CountTokens][]. +message CountTokensResponse { + // The total number of tokens counted across all instances from the request. + int32 total_tokens = 1; + + // The total number of billable characters counted across all instances from + // the request. + int32 total_billable_characters = 2; +} + +// Request message for [PredictionService.GenerateContent]. +message GenerateContentRequest { + // Required. The name of the publisher model requested to serve the + // prediction. Format: + // `projects/{project}/locations/{location}/publishers/*/models/*` + string model = 5 [(google.api.field_behavior) = REQUIRED]; + + // Required. The content of the current conversation with the model. + // + // For single-turn queries, this is a single instance. For multi-turn queries, + // this is a repeated field that contains conversation history + latest + // request. + repeated Content contents = 2 [(google.api.field_behavior) = REQUIRED]; + + // Optional. A list of `Tools` the model may use to generate the next + // response. + // + // A `Tool` is a piece of code that enables the system to interact with + // external systems to perform an action, or set of actions, outside of + // knowledge and scope of the model. + repeated Tool tools = 6 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Per request settings for blocking unsafe content. + // Enforced on GenerateContentResponse.candidates. + repeated SafetySetting safety_settings = 3 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Generation config. + GenerationConfig generation_config = 4 + [(google.api.field_behavior) = OPTIONAL]; +} + +// Response message for [PredictionService.GenerateContent]. +message GenerateContentResponse { + // Content filter results for a prompt sent in the request. + message PromptFeedback { + // Blocked reason enumeration. + enum BlockedReason { + // Unspecified blocked reason. + BLOCKED_REASON_UNSPECIFIED = 0; + + // Candidates blocked due to safety. + SAFETY = 1; + + // Candidates blocked due to other reason. + OTHER = 2; + } + + // Output only. Blocked reason. + BlockedReason block_reason = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Safety ratings. + repeated SafetyRating safety_ratings = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. A readable block reason message. + string block_reason_message = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + } + + // Usage metadata about response(s). + message UsageMetadata { + // Number of tokens in the request. + int32 prompt_token_count = 1; + + // Number of tokens in the response(s). + int32 candidates_token_count = 2; + + int32 total_token_count = 3; + } + + // Output only. Generated candidates. + repeated Candidate candidates = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Content filter results for a prompt sent in the request. + // Note: Sent only in the first stream chunk. + // Only happens when no candidates were generated due to content violations. + PromptFeedback prompt_feedback = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Usage metadata about the response(s). + UsageMetadata usage_metadata = 4; +} diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/saved_query.proto b/third_party/googleapis/google/cloud/aiplatform/v1/saved_query.proto index cdf1f8d11..55e5044b9 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/saved_query.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/saved_query.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/schema/predict/instance/BUILD.bazel b/third_party/googleapis/google/cloud/aiplatform/v1/schema/predict/instance/BUILD.bazel index 02806a616..855427926 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/schema/predict/instance/BUILD.bazel +++ b/third_party/googleapis/google/cloud/aiplatform/v1/schema/predict/instance/BUILD.bazel @@ -131,7 +131,6 @@ py_gapic_assembly_pkg( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -140,20 +139,9 @@ php_proto_library( deps = [":instance_proto"], ) -php_grpc_library( - name = "instance_php_grpc", - srcs = [":instance_proto"], - deps = [":instance_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) ############################################################################## # Ruby @@ -186,6 +174,9 @@ load( csharp_proto_library( name = "instance_csharp_proto", + extra_opts = [ + "base_namespace=Google.Cloud.AIPlatform.V1", + ], deps = [":instance_proto"], ) diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/schema/predict/params/BUILD.bazel b/third_party/googleapis/google/cloud/aiplatform/v1/schema/predict/params/BUILD.bazel index 7a17728e4..54831f0b2 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/schema/predict/params/BUILD.bazel +++ b/third_party/googleapis/google/cloud/aiplatform/v1/schema/predict/params/BUILD.bazel @@ -116,7 +116,6 @@ py_gapic_assembly_pkg( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -125,20 +124,9 @@ php_proto_library( deps = [":params_proto"], ) -php_grpc_library( - name = "params_php_grpc", - srcs = [":params_proto"], - deps = [":params_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) ############################################################################## # Ruby @@ -171,6 +159,9 @@ load( csharp_proto_library( name = "params_csharp_proto", + extra_opts = [ + "base_namespace=Google.Cloud.AIPlatform.V1", + ], deps = [":params_proto"], ) diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/schema/predict/prediction/BUILD.bazel b/third_party/googleapis/google/cloud/aiplatform/v1/schema/predict/prediction/BUILD.bazel index ebd751126..f1418aacf 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/schema/predict/prediction/BUILD.bazel +++ b/third_party/googleapis/google/cloud/aiplatform/v1/schema/predict/prediction/BUILD.bazel @@ -127,7 +127,6 @@ py_gapic_assembly_pkg( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -136,20 +135,9 @@ php_proto_library( deps = [":prediction_proto"], ) -php_grpc_library( - name = "prediction_php_grpc", - srcs = [":prediction_proto"], - deps = [":prediction_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) ############################################################################## # Ruby @@ -182,6 +170,9 @@ load( csharp_proto_library( name = "prediction_csharp_proto", + extra_opts = [ + "base_namespace=Google.Cloud.AIPlatform.V1", + ], deps = [":prediction_proto"], ) diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/schema/trainingjob/definition/BUILD.bazel b/third_party/googleapis/google/cloud/aiplatform/v1/schema/trainingjob/definition/BUILD.bazel index 36272eff8..995494d07 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/schema/trainingjob/definition/BUILD.bazel +++ b/third_party/googleapis/google/cloud/aiplatform/v1/schema/trainingjob/definition/BUILD.bazel @@ -124,7 +124,6 @@ py_gapic_assembly_pkg( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -133,20 +132,9 @@ php_proto_library( deps = [":definition_proto"], ) -php_grpc_library( - name = "definition_php_grpc", - srcs = [":definition_proto"], - deps = [":definition_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) ############################################################################## # Ruby @@ -179,6 +167,9 @@ load( csharp_proto_library( name = "definition_csharp_proto", + extra_opts = [ + "base_namespace=Google.Cloud.AIPlatform.V1", + ], deps = [":definition_proto"], ) diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/service_networking.proto b/third_party/googleapis/google/cloud/aiplatform/v1/service_networking.proto index e8ae11b7a..1e7cfffb6 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/service_networking.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/service_networking.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,6 +17,7 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; @@ -36,3 +37,16 @@ message PrivateServiceConnectConfig { // attachment. repeated string project_allowlist = 2; } + +// PscAutomatedEndpoints defines the output of the forwarding rule +// automatically created by each PscAutomationConfig. +message PscAutomatedEndpoints { + // Corresponding project_id in pscAutomationConfigs + string project_id = 1; + + // Corresponding network in pscAutomationConfigs. + string network = 2; + + // Ip Address created by the automated forwarding rule. + string match_address = 3; +} diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/specialist_pool.proto b/third_party/googleapis/google/cloud/aiplatform/v1/specialist_pool.proto index 3fc47f97b..158b0b201 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/specialist_pool.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/specialist_pool.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/specialist_pool_service.proto b/third_party/googleapis/google/cloud/aiplatform/v1/specialist_pool_service.proto index c0d368081..cfd0b05c7 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/specialist_pool_service.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/specialist_pool_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/study.proto b/third_party/googleapis/google/cloud/aiplatform/v1/study.proto index 4ef70dbeb..6e39f3f40 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/study.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/study.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,6 +21,7 @@ import "google/api/resource.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; +import "google/protobuf/wrappers.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; @@ -195,6 +196,35 @@ message Trial { [(google.api.field_behavior) = OUTPUT_ONLY]; } +// Next ID: 3 +message TrialContext { + // A human-readable field which can store a description of this context. + // This will become part of the resulting Trial's description field. + string description = 1; + + // If/when a Trial is generated or selected from this Context, + // its Parameters will match any parameters specified here. + // (I.e. if this context specifies parameter name:'a' int_value:3, + // then a resulting Trial will have int_value:3 for its parameter named + // 'a'.) Note that we first attempt to match existing REQUESTED Trials with + // contexts, and if there are no matches, we generate suggestions in the + // subspace defined by the parameters specified here. + // NOTE: a Context without any Parameters matches the entire feasible search + // space. + repeated Trial.Parameter parameters = 2; +} + +// Time-based Constraint for Study +message StudyTimeConstraint { + oneof constraint { + // Counts the wallclock time passed since the creation of this Study. + google.protobuf.Duration max_duration = 1; + + // Compares the wallclock time to this time. Must use UTC timezone. + google.protobuf.Timestamp end_time = 2; + } +} + // Represents specification of a Study. message StudySpec { // Represents a metric to optimize. @@ -486,6 +516,62 @@ message StudySpec { optional bool update_all_stopped_trials = 6; } + // The configuration (stopping conditions) for automated stopping of a Study. + // Conditions include trial budgets, time budgets, and convergence detection. + message StudyStoppingConfig { + // If true, a Study enters STOPPING_ASAP whenever it would normally enters + // STOPPING state. + // + // The bottom line is: set to true if you want to interrupt on-going + // evaluations of Trials as soon as the study stopping condition is met. + // (Please see Study.State documentation for the source of truth). + google.protobuf.BoolValue should_stop_asap = 1; + + // Each "stopping rule" in this proto specifies an "if" condition. Before + // Vizier would generate a new suggestion, it first checks each specified + // stopping rule, from top to bottom in this list. + // Note that the first few rules (e.g. minimum_runtime_constraint, + // min_num_trials) will prevent other stopping rules from being evaluated + // until they are met. For example, setting `min_num_trials=5` and + // `always_stop_after= 1 hour` means that the Study will ONLY stop after it + // has 5 COMPLETED trials, even if more than an hour has passed since its + // creation. It follows the first applicable rule (whose "if" condition is + // satisfied) to make a stopping decision. If none of the specified rules + // are applicable, then Vizier decides that the study should not stop. + // If Vizier decides that the study should stop, the study enters + // STOPPING state (or STOPPING_ASAP if should_stop_asap = true). + // IMPORTANT: The automatic study state transition happens precisely as + // described above; that is, deleting trials or updating StudyConfig NEVER + // automatically moves the study state back to ACTIVE. If you want to + // _resume_ a Study that was stopped, 1) change the stopping conditions if + // necessary, 2) activate the study, and then 3) ask for suggestions. + // If the specified time or duration has not passed, do not stop the + // study. + StudyTimeConstraint minimum_runtime_constraint = 2; + + // If the specified time or duration has passed, stop the study. + StudyTimeConstraint maximum_runtime_constraint = 3; + + // If there are fewer than this many COMPLETED trials, do not stop the + // study. + google.protobuf.Int32Value min_num_trials = 4; + + // If there are more than this many trials, stop the study. + google.protobuf.Int32Value max_num_trials = 5; + + // If the objective value has not improved for this many consecutive + // trials, stop the study. + // + // WARNING: Effective only for single-objective studies. + google.protobuf.Int32Value max_num_trials_no_progress = 6; + + // If the objective value has not improved for this much time, stop the + // study. + // + // WARNING: Effective only for single-objective studies. + google.protobuf.Duration max_duration_no_progress = 7; + } + // The available search algorithms for the Study. enum Algorithm { // The default algorithm used by Vertex AI for [hyperparameter @@ -571,6 +657,10 @@ message StudySpec { // Describe which measurement selection type will be used MeasurementSelectionType measurement_selection_type = 7; + + // Conditions for automated stopping of a Study. Enable automated stopping by + // configuring at least one condition. + optional StudyStoppingConfig study_stopping_config = 11; } // A message representing a Measurement of a Trial. A Measurement contains diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/tensorboard.proto b/third_party/googleapis/google/cloud/aiplatform/v1/tensorboard.proto index 541cbfe4c..d22b961d7 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/tensorboard.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/tensorboard.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -86,4 +86,11 @@ message Tensorboard { // Used to perform a consistent read-modify-write updates. If not set, a blind // "overwrite" update happens. string etag = 9; + + // Used to indicate if the TensorBoard instance is the default one. + // Each project & region can have at most one default TensorBoard instance. + // Creation of a default TensorBoard instance and updating an existing + // TensorBoard instance to be default will mark all other TensorBoard + // instances (if any) as non default. + bool is_default = 12; } diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/tensorboard_data.proto b/third_party/googleapis/google/cloud/aiplatform/v1/tensorboard_data.proto index 282a01be3..291e88a0d 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/tensorboard_data.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/tensorboard_data.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/tensorboard_experiment.proto b/third_party/googleapis/google/cloud/aiplatform/v1/tensorboard_experiment.proto index db57d584a..e6bfa6f8e 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/tensorboard_experiment.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/tensorboard_experiment.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -55,20 +55,23 @@ message TensorboardExperiment { google.protobuf.Timestamp update_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - // The labels with user-defined metadata to organize your Datasets. + // The labels with user-defined metadata to organize your + // TensorboardExperiment. // - // Label keys and values can be no longer than 64 characters + // Label keys and values cannot be longer than 64 characters // (Unicode codepoints), can only contain lowercase letters, numeric // characters, underscores and dashes. International characters are allowed. // No more than 64 user labels can be associated with one Dataset (System // labels are excluded). // // See https://goo.gl/xmQnxf for more information and examples of labels. - // System reserved label keys are prefixed with "aiplatform.googleapis.com/" - // and are immutable. Following system labels exist for each Dataset: - // * "aiplatform.googleapis.com/dataset_metadata_schema": - // - output only, its value is the - // [metadata_schema's][metadata_schema_uri] title. + // System reserved label keys are prefixed with `aiplatform.googleapis.com/` + // and are immutable. The following system labels exist for each Dataset: + // + // * `aiplatform.googleapis.com/dataset_metadata_schema`: output only. Its + // value is the + // [metadata_schema's][google.cloud.aiplatform.v1.Dataset.metadata_schema_uri] + // title. map labels = 6; // Used to perform consistent read-modify-write updates. If not set, a blind diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/tensorboard_run.proto b/third_party/googleapis/google/cloud/aiplatform/v1/tensorboard_run.proto index bc109db9d..1dc445e54 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/tensorboard_run.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/tensorboard_run.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/tensorboard_service.proto b/third_party/googleapis/google/cloud/aiplatform/v1/tensorboard_service.proto index 63834044a..a732b55c4 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/tensorboard_service.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/tensorboard_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -67,15 +67,6 @@ service TensorboardService { option (google.api.method_signature) = "name"; } - // Returns a list of monthly active users for a given TensorBoard instance. - rpc ReadTensorboardUsage(ReadTensorboardUsageRequest) - returns (ReadTensorboardUsageResponse) { - option (google.api.http) = { - get: "/v1/{tensorboard=projects/*/locations/*/tensorboards/*}:readUsage" - }; - option (google.api.method_signature) = "tensorboard"; - } - // Updates a Tensorboard. rpc UpdateTensorboard(UpdateTensorboardRequest) returns (google.longrunning.Operation) { @@ -112,6 +103,24 @@ service TensorboardService { }; } + // Returns a list of monthly active users for a given TensorBoard instance. + rpc ReadTensorboardUsage(ReadTensorboardUsageRequest) + returns (ReadTensorboardUsageResponse) { + option (google.api.http) = { + get: "/v1/{tensorboard=projects/*/locations/*/tensorboards/*}:readUsage" + }; + option (google.api.method_signature) = "tensorboard"; + } + + // Returns the storage size for a given TensorBoard instance. + rpc ReadTensorboardSize(ReadTensorboardSizeRequest) + returns (ReadTensorboardSizeResponse) { + option (google.api.http) = { + get: "/v1/{tensorboard=projects/*/locations/*/tensorboards/*}:readSize" + }; + option (google.api.method_signature) = "tensorboard"; + } + // Creates a TensorboardExperiment. rpc CreateTensorboardExperiment(CreateTensorboardExperimentRequest) returns (TensorboardExperiment) { @@ -229,7 +238,7 @@ service TensorboardService { rpc BatchCreateTensorboardTimeSeries(BatchCreateTensorboardTimeSeriesRequest) returns (BatchCreateTensorboardTimeSeriesResponse) { option (google.api.http) = { - post: "/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*}/runs/*/timeSeries:batchCreate" + post: "/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*}:batchCreate" body: "*" }; option (google.api.method_signature) = "parent,requests"; @@ -296,7 +305,7 @@ service TensorboardService { BatchReadTensorboardTimeSeriesDataRequest) returns (BatchReadTensorboardTimeSeriesDataResponse) { option (google.api.http) = { - get: "/v1/{tensorboard=projects/*/locations/*/tensorboards/*}/experiments/*/runs/*/timeSeries:batchRead" + get: "/v1/{tensorboard=projects/*/locations/*/tensorboards/*}:batchRead" }; option (google.api.method_signature) = "tensorboard"; } @@ -391,41 +400,6 @@ message GetTensorboardRequest { ]; } -// Request message for [TensorboardService.GetTensorboardUsage][]. -message ReadTensorboardUsageRequest { - // Required. The name of the Tensorboard resource. - // Format: - // `projects/{project}/locations/{location}/tensorboards/{tensorboard}` - string tensorboard = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "aiplatform.googleapis.com/Tensorboard" - } - ]; -} - -// Response message for -// [TensorboardService.ReadTensorboardUsage][google.cloud.aiplatform.v1.TensorboardService.ReadTensorboardUsage]. -message ReadTensorboardUsageResponse { - // Per user usage data. - message PerUserUsageData { - // User's username - string username = 1; - - // Number of times the user has read data within the Tensorboard. - int64 view_count = 2; - } - - // Per month usage data - message PerMonthUsageData { - // Usage data for each user in the given month. - repeated PerUserUsageData user_usage_data = 1; - } - - // Maps year-month (YYYYMM) string to per month usage data. - map monthly_usage_data = 1; -} - // Request message for // [TensorboardService.ListTensorboards][google.cloud.aiplatform.v1.TensorboardService.ListTensorboards]. message ListTensorboardsRequest { @@ -509,6 +483,63 @@ message DeleteTensorboardRequest { ]; } +// Request message for +// [TensorboardService.ReadTensorboardUsage][google.cloud.aiplatform.v1.TensorboardService.ReadTensorboardUsage]. +message ReadTensorboardUsageRequest { + // Required. The name of the Tensorboard resource. + // Format: + // `projects/{project}/locations/{location}/tensorboards/{tensorboard}` + string tensorboard = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Tensorboard" + } + ]; +} + +// Response message for +// [TensorboardService.ReadTensorboardUsage][google.cloud.aiplatform.v1.TensorboardService.ReadTensorboardUsage]. +message ReadTensorboardUsageResponse { + // Per user usage data. + message PerUserUsageData { + // User's username + string username = 1; + + // Number of times the user has read data within the Tensorboard. + int64 view_count = 2; + } + + // Per month usage data + message PerMonthUsageData { + // Usage data for each user in the given month. + repeated PerUserUsageData user_usage_data = 1; + } + + // Maps year-month (YYYYMM) string to per month usage data. + map monthly_usage_data = 1; +} + +// Request message for +// [TensorboardService.ReadTensorboardSize][google.cloud.aiplatform.v1.TensorboardService.ReadTensorboardSize]. +message ReadTensorboardSizeRequest { + // Required. The name of the Tensorboard resource. + // Format: + // `projects/{project}/locations/{location}/tensorboards/{tensorboard}` + string tensorboard = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Tensorboard" + } + ]; +} + +// Response message for +// [TensorboardService.ReadTensorboardSize][google.cloud.aiplatform.v1.TensorboardService.ReadTensorboardSize]. +message ReadTensorboardSizeResponse { + // Payload storage size for the TensorBoard + int64 storage_size_byte = 1; +} + // Request message for // [TensorboardService.CreateTensorboardExperiment][google.cloud.aiplatform.v1.TensorboardService.CreateTensorboardExperiment]. message CreateTensorboardExperimentRequest { @@ -529,7 +560,7 @@ message CreateTensorboardExperimentRequest { // final component of the Tensorboard experiment's resource name. // // This value should be 1-128 characters, and valid characters - // are /[a-z][0-9]-/. + // are `/[a-z][0-9]-/`. string tensorboard_experiment_id = 3 [(google.api.field_behavior) = REQUIRED]; } @@ -679,7 +710,7 @@ message CreateTensorboardRunRequest { // component of the Tensorboard run's resource name. // // This value should be 1-128 characters, and valid characters - // are /[a-z][0-9]-/. + // are `/[a-z][0-9]-/`. string tensorboard_run_id = 3 [(google.api.field_behavior) = REQUIRED]; } @@ -1093,12 +1124,12 @@ message ExportTensorboardTimeSeriesDataRequest { int32 page_size = 3; // A page token, received from a previous - // [TensorboardService.ExportTensorboardTimeSeries][] call. - // Provide this to retrieve the subsequent page. + // [ExportTensorboardTimeSeriesData][google.cloud.aiplatform.v1.TensorboardService.ExportTensorboardTimeSeriesData] + // call. Provide this to retrieve the subsequent page. // // When paginating, all other parameters provided to - // [TensorboardService.ExportTensorboardTimeSeries][] must - // match the call that provided the page token. + // [ExportTensorboardTimeSeriesData][google.cloud.aiplatform.v1.TensorboardService.ExportTensorboardTimeSeriesData] + // must match the call that provided the page token. string page_token = 4; // Field to use to sort the TensorboardTimeSeries' data. @@ -1114,8 +1145,9 @@ message ExportTensorboardTimeSeriesDataResponse { repeated TimeSeriesDataPoint time_series_data_points = 1; // A token, which can be sent as - // [ExportTensorboardTimeSeriesRequest.page_token][] to retrieve the next - // page. If this field is omitted, there are no subsequent pages. + // [page_token][google.cloud.aiplatform.v1.ExportTensorboardTimeSeriesDataRequest.page_token] + // to retrieve the next page. If this field is omitted, there are no + // subsequent pages. string next_page_token = 2; } diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/tensorboard_time_series.proto b/third_party/googleapis/google/cloud/aiplatform/v1/tensorboard_time_series.proto index e09648af3..ef669d839 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/tensorboard_time_series.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/tensorboard_time_series.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/training_pipeline.proto b/third_party/googleapis/google/cloud/aiplatform/v1/training_pipeline.proto index 10d96e557..11c8f28fc 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/training_pipeline.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/training_pipeline.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/types.proto b/third_party/googleapis/google/cloud/aiplatform/v1/types.proto index c724b8ec2..16ab0139d 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/types.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/types.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -47,3 +47,90 @@ message StringArray { // A list of string values. repeated string values = 1; } + +// A tensor value type. +message Tensor { + // Data type of the tensor. + enum DataType { + // Not a legal value for DataType. Used to indicate a DataType field has not + // been set. + DATA_TYPE_UNSPECIFIED = 0; + + // Data types that all computation devices are expected to be + // capable to support. + BOOL = 1; + + STRING = 2; + + FLOAT = 3; + + DOUBLE = 4; + + INT8 = 5; + + INT16 = 6; + + INT32 = 7; + + INT64 = 8; + + UINT8 = 9; + + UINT16 = 10; + + UINT32 = 11; + + UINT64 = 12; + } + + // The data type of tensor. + DataType dtype = 1; + + // Shape of the tensor. + repeated int64 shape = 2; + + // Type specific representations that make it easy to create tensor protos in + // all languages. Only the representation corresponding to "dtype" can + // be set. The values hold the flattened representation of the tensor in + // row major order. + // + // [BOOL][google.aiplatform.master.Tensor.DataType.BOOL] + repeated bool bool_val = 3; + + // [STRING][google.aiplatform.master.Tensor.DataType.STRING] + repeated string string_val = 14; + + // [STRING][google.aiplatform.master.Tensor.DataType.STRING] + repeated bytes bytes_val = 15; + + // [FLOAT][google.aiplatform.master.Tensor.DataType.FLOAT] + repeated float float_val = 5; + + // [DOUBLE][google.aiplatform.master.Tensor.DataType.DOUBLE] + repeated double double_val = 6; + + // [INT_8][google.aiplatform.master.Tensor.DataType.INT8] + // [INT_16][google.aiplatform.master.Tensor.DataType.INT16] + // [INT_32][google.aiplatform.master.Tensor.DataType.INT32] + repeated int32 int_val = 7; + + // [INT64][google.aiplatform.master.Tensor.DataType.INT64] + repeated int64 int64_val = 8; + + // [UINT8][google.aiplatform.master.Tensor.DataType.UINT8] + // [UINT16][google.aiplatform.master.Tensor.DataType.UINT16] + // [UINT32][google.aiplatform.master.Tensor.DataType.UINT32] + repeated uint32 uint_val = 9; + + // [UINT64][google.aiplatform.master.Tensor.DataType.UINT64] + repeated uint64 uint64_val = 10; + + // A list of tensor values. + repeated Tensor list_val = 11; + + // A map of string to tensor. + map struct_val = 12; + + // Serialized raw tensor content. + bytes tensor_val = 13; +} diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/unmanaged_container_model.proto b/third_party/googleapis/google/cloud/aiplatform/v1/unmanaged_container_model.proto index de9b6ccf7..1482385bc 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/unmanaged_container_model.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/unmanaged_container_model.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/user_action_reference.proto b/third_party/googleapis/google/cloud/aiplatform/v1/user_action_reference.proto index 25c503977..f40e89178 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/user_action_reference.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/user_action_reference.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/value.proto b/third_party/googleapis/google/cloud/aiplatform/v1/value.proto index 8b52968d8..d60870f3f 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/value.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/value.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1/vizier_service.proto b/third_party/googleapis/google/cloud/aiplatform/v1/vizier_service.proto index e3b467f18..60465ee96 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1/vizier_service.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1/vizier_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -92,7 +92,8 @@ service VizierService { // suggested by Vertex AI Vizier. Returns a long-running // operation associated with the generation of Trial suggestions. // When this long-running operation succeeds, it will contain - // a [SuggestTrialsResponse][google.cloud.ml.v1.SuggestTrialsResponse]. + // a + // [SuggestTrialsResponse][google.cloud.aiplatform.v1.SuggestTrialsResponse]. rpc SuggestTrials(SuggestTrialsRequest) returns (google.longrunning.Operation) { option (google.api.http) = { @@ -305,6 +306,44 @@ message SuggestTrialsRequest { // the service will return the identical suggested Trial if the Trial is // pending, and provide a new Trial if the last suggested Trial was completed. string client_id = 3 [(google.api.field_behavior) = REQUIRED]; + + // Optional. This allows you to specify the "context" for a Trial; a context + // is a slice (a subspace) of the search space. + // + // Typical uses for contexts: + // 1) You are using Vizier to tune a server for best performance, but there's + // a strong weekly cycle. The context specifies the day-of-week. + // This allows Tuesday to generalize from Wednesday without assuming that + // everything is identical. + // 2) Imagine you're optimizing some medical treatment for people. + // As they walk in the door, you know certain facts about them + // (e.g. sex, weight, height, blood-pressure). Put that information in the + // context, and Vizier will adapt its suggestions to the patient. + // 3) You want to do a fair A/B test efficiently. Specify the "A" and "B" + // conditions as contexts, and Vizier will generalize between "A" and "B" + // conditions. If they are similar, this will allow Vizier to converge + // to the optimum faster than if "A" and "B" were separate Studies. + // NOTE: You can also enter contexts as REQUESTED Trials, e.g. via the + // CreateTrial() RPC; that's the asynchronous option where you don't need a + // close association between contexts and suggestions. + // + // NOTE: All the Parameters you set in a context MUST be defined in the + // Study. + // NOTE: You must supply 0 or $suggestion_count contexts. + // If you don't supply any contexts, Vizier will make suggestions + // from the full search space specified in the StudySpec; if you supply + // a full set of context, each suggestion will match the corresponding + // context. + // NOTE: A Context with no features set matches anything, and allows + // suggestions from the full search space. + // NOTE: Contexts MUST lie within the search space specified in the + // StudySpec. It's an error if they don't. + // NOTE: Contexts preferentially match ACTIVE then REQUESTED trials before + // new suggestions are generated. + // NOTE: Generation of suggestions involves a match between a Context and + // (optionally) a REQUESTED trial; if that match is not fully specified, a + // suggestion will be geneated in the merged subspace. + repeated TrialContext contexts = 4 [(google.api.field_behavior) = OPTIONAL]; } // Response message for diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/aiplatform/v1beta1/BUILD.bazel index 75f22c6ee..bce74322b 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/BUILD.bazel @@ -28,11 +28,13 @@ proto_library( "batch_prediction_job.proto", "completion_stats.proto", "context.proto", + "content.proto", "custom_job.proto", "data_item.proto", "data_labeling_job.proto", "dataset.proto", "dataset_service.proto", + "dataset_version.proto", "deployed_index_ref.proto", "deployed_model_ref.proto", "deployment_resource_pool.proto", @@ -51,6 +53,13 @@ proto_library( "feature_monitoring_stats.proto", "feature_selector.proto", "featurestore.proto", + "feature_group.proto", + "feature_view.proto", + "feature_online_store.proto", + "feature_online_store_admin_service.proto", + "feature_registry_service.proto", + "feature_view_sync.proto", + "feature_online_store_service.proto", "featurestore_monitoring.proto", "featurestore_online_service.proto", "featurestore_service.proto", @@ -63,6 +72,7 @@ proto_library( "job_service.proto", "job_state.proto", "lineage_subgraph.proto", + "llm_utility_service.proto", "machine_resources.proto", "manual_batch_tuning_parameters.proto", "match_service.proto", @@ -75,16 +85,23 @@ proto_library( "model_deployment_monitoring_job.proto", "model_evaluation.proto", "model_evaluation_slice.proto", + "model_garden_service.proto", "model_monitoring.proto", "model_service.proto", "nas_job.proto", + "openapi.proto", "operation.proto", + "persistent_resource.proto", + "persistent_resource_service.proto", "pipeline_failure_policy.proto", "pipeline_job.proto", "pipeline_service.proto", "pipeline_state.proto", "prediction_service.proto", + "publisher_model.proto", "saved_query.proto", + "schedule.proto", + "schedule_service.proto", "service_networking.proto", "specialist_pool.proto", "specialist_pool_service.proto", @@ -95,6 +112,7 @@ proto_library( "tensorboard_run.proto", "tensorboard_service.proto", "tensorboard_time_series.proto", + "tool.proto", "training_pipeline.proto", "types.proto", "unmanaged_container_model.proto", @@ -112,6 +130,7 @@ proto_library( "//google/rpc:status_proto", "//google/type:interval_proto", "//google/type:money_proto", + "//google/type:date_proto", "@com_google_protobuf//:duration_proto", "@com_google_protobuf//:empty_proto", "@com_google_protobuf//:field_mask_proto", @@ -199,6 +218,7 @@ java_gapic_test( "com.google.cloud.aiplatform.v1beta1.IndexEndpointServiceClientTest", "com.google.cloud.aiplatform.v1beta1.IndexServiceClientTest", "com.google.cloud.aiplatform.v1beta1.JobServiceClientTest", + "com.google.cloud.aiplatform.v1beta1.LlmUtilityServiceClientTest", "com.google.cloud.aiplatform.v1beta1.MetadataServiceClientTest", "com.google.cloud.aiplatform.v1beta1.MigrationServiceClientTest", "com.google.cloud.aiplatform.v1beta1.ModelServiceClientTest", @@ -214,6 +234,7 @@ java_gapic_test( # Open Source Packages java_gapic_assembly_gradle_pkg( name = "google-cloud-aiplatform-v1beta1-java", + include_samples = True, transport = "grpc", deps = [ ":aiplatform_java_gapic", @@ -231,7 +252,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -246,6 +266,7 @@ go_proto_library( "//google/rpc:status_go_proto", "//google/type:interval_go_proto", "//google/type:money_go_proto", + "//google/type:date_go_proto", ], ) @@ -272,19 +293,13 @@ go_gapic_library( ], ) -go_test( - name = "aiplatform_go_gapic_test", - srcs = [":aiplatform_go_gapic_srcjar_test"], - embed = [":aiplatform_go_gapic"], - importpath = "cloud.google.com/go/aiplatform/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-aiplatform-v1beta1-go", deps = [ ":aiplatform_go_gapic", ":aiplatform_go_gapic_srcjar-metadata.srcjar", + ":aiplatform_go_gapic_srcjar-snippets.srcjar", ":aiplatform_go_gapic_srcjar-test.srcjar", ":aiplatform_go_proto", ], @@ -313,7 +328,7 @@ py_gapic_library( grpc_service_config = "aiplatform_grpc_service_config.json", rest_numeric_enums = False, service_yaml = "aiplatform_v1beta1.yaml", - transport = "grpc", + transport = "grpc+rest", deps = [ "//google/iam/v1:iam_policy_py_proto", ], @@ -344,7 +359,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -353,12 +367,6 @@ php_proto_library( deps = [":aiplatform_proto"], ) -php_grpc_library( - name = "aiplatform_php_grpc", - srcs = [":aiplatform_proto"], - deps = [":aiplatform_php_proto"], -) - php_gapic_library( name = "aiplatform_php_gapic", srcs = [":aiplatform_proto_with_info"], @@ -366,10 +374,7 @@ php_gapic_library( rest_numeric_enums = False, service_yaml = "aiplatform_v1beta1.yaml", transport = "grpc+rest", - deps = [ - ":aiplatform_php_grpc", - ":aiplatform_php_proto", - ], + deps = [":aiplatform_php_proto"], ) # Open Source Packages @@ -377,7 +382,6 @@ php_gapic_assembly_pkg( name = "google-cloud-aiplatform-v1beta1-php", deps = [ ":aiplatform_php_gapic", - ":aiplatform_php_grpc", ":aiplatform_php_proto", ], ) @@ -479,32 +483,28 @@ csharp_grpc_library( deps = [":aiplatform_csharp_proto"], ) -################################ -# Keep C# targets commented out through the regeneration, as C# gen has an issue -# with the aiplatform v1beta1 protos -# -# csharp_gapic_library( -# name = "aiplatform_csharp_gapic", -# srcs = [":aiplatform_proto_with_info"], -# common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -# grpc_service_config = "aiplatform_grpc_service_config.json", -# service_yaml = "aiplatform_v1beta1.yaml", -# deps = [ -# ":aiplatform_csharp_grpc", -# ":aiplatform_csharp_proto", -# ], -# ) +csharp_gapic_library( + name = "aiplatform_csharp_gapic", + srcs = [":aiplatform_proto_with_info"], + common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", + grpc_service_config = "aiplatform_grpc_service_config.json", + rest_numeric_enums = False, + service_yaml = "aiplatform_v1beta1.yaml", + deps = [ + ":aiplatform_csharp_grpc", + ":aiplatform_csharp_proto", + ], +) # Open Source Packages -# csharp_gapic_assembly_pkg( -# name = "google-cloud-aiplatform-v1beta1-csharp", -# deps = [ -# ":aiplatform_csharp_gapic", -# ":aiplatform_csharp_grpc", -# ":aiplatform_csharp_proto", -# ], -# ) -################################ +csharp_gapic_assembly_pkg( + name = "google-cloud-aiplatform-v1beta1-csharp", + deps = [ + ":aiplatform_csharp_gapic", + ":aiplatform_csharp_grpc", + ":aiplatform_csharp_proto", + ], +) ############################################################################## # C++ diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/accelerator_type.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/accelerator_type.proto index 5587dc99f..d1e55286e 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/accelerator_type.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/accelerator_type.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -25,7 +25,6 @@ option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1"; option ruby_package = "Google::Cloud::AIPlatform::V1beta1"; // Represents a hardware accelerator type. -// NEXT ID: 11. enum AcceleratorType { // Unspecified accelerator type, which means no accelerator. ACCELERATOR_TYPE_UNSPECIFIED = 0; @@ -48,9 +47,15 @@ enum AcceleratorType { // Nvidia Tesla A100 GPU. NVIDIA_TESLA_A100 = 8; - // Nvidia A2 Ultra GPU. + // Nvidia A100 80GB GPU. NVIDIA_A100_80GB = 9; + // Nvidia L4 GPU. + NVIDIA_L4 = 11; + + // Nvidia H100 80Gb GPU. + NVIDIA_H100_80GB = 13; + // TPU v2. TPU_V2 = 6; @@ -59,4 +64,7 @@ enum AcceleratorType { // TPU v4. TPU_V4_POD = 10; + + // TPU v5. + TPU_V5_LITEPOD = 12; } diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/aiplatform_grpc_service_config.json b/third_party/googleapis/google/cloud/aiplatform/v1beta1/aiplatform_grpc_service_config.json index 724503cb0..680d2e893 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/aiplatform_grpc_service_config.json +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/aiplatform_grpc_service_config.json @@ -649,6 +649,51 @@ } ], "timeout": "5s" + }, + { + "name": [ + { + "service": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService", + "method": "CreateFeatureOnlineStore" + }, + { + "service": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService", + "method": "GetFeatureOnlineStore" + }, + { + "service": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService", + "method": "ListFeatureOnlineStores" + }, + { + "service": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService", + "method": "UpdateFeatureOnlineStore" + }, + { + "service": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService", + "method": "DeleteFeatureOnlineStore" + }, + { + "service": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService", + "method": "CreateFeatureView" + }, + { + "service": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService", + "method": "GetFeatureView" + }, + { + "service": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService", + "method": "ListFeatureViews" + }, + { + "service": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService", + "method": "UpdateFeatureView" + }, + { + "service": "google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService", + "method": "DeleteFeatureView" + } + ], + "timeout": "5s" } ] } diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/aiplatform_v1beta1.yaml b/third_party/googleapis/google/cloud/aiplatform/v1beta1/aiplatform_v1beta1.yaml index 08cd8bcfb..17bfaa07e 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/aiplatform_v1beta1.yaml +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/aiplatform_v1beta1.yaml @@ -7,17 +7,24 @@ apis: - name: google.cloud.aiplatform.v1beta1.DatasetService - name: google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService - name: google.cloud.aiplatform.v1beta1.EndpointService +- name: google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService +- name: google.cloud.aiplatform.v1beta1.FeatureOnlineStoreService +- name: google.cloud.aiplatform.v1beta1.FeatureRegistryService - name: google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService - name: google.cloud.aiplatform.v1beta1.FeaturestoreService - name: google.cloud.aiplatform.v1beta1.IndexEndpointService - name: google.cloud.aiplatform.v1beta1.IndexService - name: google.cloud.aiplatform.v1beta1.JobService +- name: google.cloud.aiplatform.v1beta1.LlmUtilityService - name: google.cloud.aiplatform.v1beta1.MatchService - name: google.cloud.aiplatform.v1beta1.MetadataService - name: google.cloud.aiplatform.v1beta1.MigrationService +- name: google.cloud.aiplatform.v1beta1.ModelGardenService - name: google.cloud.aiplatform.v1beta1.ModelService +- name: google.cloud.aiplatform.v1beta1.PersistentResourceService - name: google.cloud.aiplatform.v1beta1.PipelineService - name: google.cloud.aiplatform.v1beta1.PredictionService +- name: google.cloud.aiplatform.v1beta1.ScheduleService - name: google.cloud.aiplatform.v1beta1.SpecialistPoolService - name: google.cloud.aiplatform.v1beta1.TensorboardService - name: google.cloud.aiplatform.v1beta1.VizierService @@ -26,8 +33,10 @@ apis: - name: google.longrunning.Operations types: +- name: google.cloud.aiplatform.v1beta1.BatchCancelPipelineJobsResponse - name: google.cloud.aiplatform.v1beta1.BatchCreateFeaturesOperationMetadata - name: google.cloud.aiplatform.v1beta1.BatchCreateFeaturesResponse +- name: google.cloud.aiplatform.v1beta1.BatchDeletePipelineJobsResponse - name: google.cloud.aiplatform.v1beta1.BatchMigrateResourcesOperationMetadata - name: google.cloud.aiplatform.v1beta1.BatchMigrateResourcesResponse - name: google.cloud.aiplatform.v1beta1.BatchReadFeatureValuesOperationMetadata @@ -37,14 +46,20 @@ types: - name: google.cloud.aiplatform.v1beta1.CopyModelOperationMetadata - name: google.cloud.aiplatform.v1beta1.CopyModelResponse - name: google.cloud.aiplatform.v1beta1.CreateDatasetOperationMetadata +- name: google.cloud.aiplatform.v1beta1.CreateDatasetVersionOperationMetadata - name: google.cloud.aiplatform.v1beta1.CreateDeploymentResourcePoolOperationMetadata - name: google.cloud.aiplatform.v1beta1.CreateEndpointOperationMetadata - name: google.cloud.aiplatform.v1beta1.CreateEntityTypeOperationMetadata +- name: google.cloud.aiplatform.v1beta1.CreateFeatureGroupOperationMetadata +- name: google.cloud.aiplatform.v1beta1.CreateFeatureOnlineStoreOperationMetadata - name: google.cloud.aiplatform.v1beta1.CreateFeatureOperationMetadata +- name: google.cloud.aiplatform.v1beta1.CreateFeatureViewOperationMetadata - name: google.cloud.aiplatform.v1beta1.CreateFeaturestoreOperationMetadata - name: google.cloud.aiplatform.v1beta1.CreateIndexEndpointOperationMetadata - name: google.cloud.aiplatform.v1beta1.CreateIndexOperationMetadata - name: google.cloud.aiplatform.v1beta1.CreateMetadataStoreOperationMetadata +- name: google.cloud.aiplatform.v1beta1.CreatePersistentResourceOperationMetadata +- name: google.cloud.aiplatform.v1beta1.CreateRegistryFeatureOperationMetadata - name: google.cloud.aiplatform.v1beta1.CreateSpecialistPoolOperationMetadata - name: google.cloud.aiplatform.v1beta1.CreateTensorboardOperationMetadata - name: google.cloud.aiplatform.v1beta1.DeleteFeatureValuesOperationMetadata @@ -61,18 +76,25 @@ types: - name: google.cloud.aiplatform.v1beta1.ExportFeatureValuesResponse - name: google.cloud.aiplatform.v1beta1.ExportModelOperationMetadata - name: google.cloud.aiplatform.v1beta1.ExportModelResponse +- name: google.cloud.aiplatform.v1beta1.Feature +- name: google.cloud.aiplatform.v1beta1.FeatureGroup +- name: google.cloud.aiplatform.v1beta1.FeatureOnlineStore +- name: google.cloud.aiplatform.v1beta1.FeatureView - name: google.cloud.aiplatform.v1beta1.ImportDataOperationMetadata - name: google.cloud.aiplatform.v1beta1.ImportDataResponse - name: google.cloud.aiplatform.v1beta1.ImportFeatureValuesOperationMetadata - name: google.cloud.aiplatform.v1beta1.ImportFeatureValuesResponse - name: google.cloud.aiplatform.v1beta1.MutateDeployedIndexOperationMetadata - name: google.cloud.aiplatform.v1beta1.MutateDeployedIndexResponse +- name: google.cloud.aiplatform.v1beta1.MutateDeployedModelOperationMetadata +- name: google.cloud.aiplatform.v1beta1.MutateDeployedModelResponse - name: google.cloud.aiplatform.v1beta1.PurgeArtifactsMetadata - name: google.cloud.aiplatform.v1beta1.PurgeArtifactsResponse - name: google.cloud.aiplatform.v1beta1.PurgeContextsMetadata - name: google.cloud.aiplatform.v1beta1.PurgeContextsResponse - name: google.cloud.aiplatform.v1beta1.PurgeExecutionsMetadata - name: google.cloud.aiplatform.v1beta1.PurgeExecutionsResponse +- name: google.cloud.aiplatform.v1beta1.RestoreDatasetVersionOperationMetadata - name: google.cloud.aiplatform.v1beta1.SpecialistPool - name: google.cloud.aiplatform.v1beta1.SuggestTrialsMetadata - name: google.cloud.aiplatform.v1beta1.SuggestTrialsResponse @@ -83,9 +105,14 @@ types: - name: google.cloud.aiplatform.v1beta1.UpdateDeploymentResourcePoolOperationMetadata - name: google.cloud.aiplatform.v1beta1.UpdateExplanationDatasetOperationMetadata - name: google.cloud.aiplatform.v1beta1.UpdateExplanationDatasetResponse +- name: google.cloud.aiplatform.v1beta1.UpdateFeatureGroupOperationMetadata +- name: google.cloud.aiplatform.v1beta1.UpdateFeatureOnlineStoreOperationMetadata +- name: google.cloud.aiplatform.v1beta1.UpdateFeatureOperationMetadata +- name: google.cloud.aiplatform.v1beta1.UpdateFeatureViewOperationMetadata - name: google.cloud.aiplatform.v1beta1.UpdateFeaturestoreOperationMetadata - name: google.cloud.aiplatform.v1beta1.UpdateIndexOperationMetadata - name: google.cloud.aiplatform.v1beta1.UpdateModelDeploymentMonitoringJobOperationMetadata +- name: google.cloud.aiplatform.v1beta1.UpdatePersistentResourceOperationMetadata - name: google.cloud.aiplatform.v1beta1.UpdateSpecialistPoolOperationMetadata - name: google.cloud.aiplatform.v1beta1.UpdateTensorboardOperationMetadata - name: google.cloud.aiplatform.v1beta1.UploadModelOperationMetadata @@ -128,55 +155,6 @@ documentation: permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. -backend: - rules: - - selector: 'google.cloud.aiplatform.v1beta1.DatasetService.*' - deadline: 60.0 - - selector: 'google.cloud.aiplatform.v1beta1.DeploymentResourcePoolService.*' - deadline: 30.0 - - selector: 'google.cloud.aiplatform.v1beta1.EndpointService.*' - deadline: 60.0 - - selector: 'google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService.*' - deadline: 60.0 - - selector: 'google.cloud.aiplatform.v1beta1.FeaturestoreService.*' - deadline: 60.0 - - selector: 'google.cloud.aiplatform.v1beta1.IndexEndpointService.*' - deadline: 60.0 - - selector: 'google.cloud.aiplatform.v1beta1.IndexService.*' - deadline: 60.0 - - selector: 'google.cloud.aiplatform.v1beta1.JobService.*' - deadline: 60.0 - - selector: google.cloud.aiplatform.v1beta1.MatchService.FindNeighbors - deadline: 30.0 - - selector: google.cloud.aiplatform.v1beta1.MatchService.ReadIndexDatapoints - deadline: 30.0 - - selector: 'google.cloud.aiplatform.v1beta1.MetadataService.*' - deadline: 60.0 - - selector: google.cloud.aiplatform.v1beta1.MigrationService.BatchMigrateResources - deadline: 60.0 - - selector: google.cloud.aiplatform.v1beta1.MigrationService.SearchMigratableResources - deadline: 60.0 - - selector: 'google.cloud.aiplatform.v1beta1.ModelService.*' - deadline: 60.0 - - selector: 'google.cloud.aiplatform.v1beta1.PipelineService.*' - deadline: 60.0 - - selector: 'google.cloud.aiplatform.v1beta1.PredictionService.*' - deadline: 600.0 - - selector: 'google.cloud.aiplatform.v1beta1.SpecialistPoolService.*' - deadline: 60.0 - - selector: 'google.cloud.aiplatform.v1beta1.TensorboardService.*' - deadline: 60.0 - - selector: 'google.cloud.aiplatform.v1beta1.VizierService.*' - deadline: 60.0 - - selector: google.cloud.location.Locations.GetLocation - deadline: 30.0 - - selector: google.cloud.location.Locations.ListLocations - deadline: 30.0 - - selector: 'google.iam.v1.IAMPolicy.*' - deadline: 60.0 - - selector: 'google.longrunning.Operations.*' - deadline: 60.0 - http: rules: - selector: google.cloud.location.Locations.GetLocation @@ -192,25 +170,51 @@ http: body: '*' additional_bindings: - post: '/v1beta1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy' + - post: '/v1beta1/{resource=projects/*/locations/*/models/*}:getIamPolicy' + - post: '/v1beta1/{resource=projects/*/locations/*/endpoints/*}:getIamPolicy' + - post: '/v1beta1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy' + - post: '/v1beta1/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy' - post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy' - post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy' + - post: '/ui/{resource=projects/*/locations/*/models/*}:getIamPolicy' + - post: '/ui/{resource=projects/*/locations/*/endpoints/*}:getIamPolicy' + - post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy' + - post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy' - selector: google.iam.v1.IAMPolicy.SetIamPolicy post: '/v1beta1/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy' body: '*' additional_bindings: - post: '/v1beta1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy' body: '*' + - post: '/v1beta1/{resource=projects/*/locations/*/models/*}:setIamPolicy' + body: '*' + - post: '/v1beta1/{resource=projects/*/locations/*/endpoints/*}:setIamPolicy' + body: '*' + - post: '/v1beta1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy' + body: '*' - post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy' body: '*' - post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy' body: '*' + - post: '/ui/{resource=projects/*/locations/*/models/*}:setIamPolicy' + body: '*' + - post: '/ui/{resource=projects/*/locations/*/endpoints/*}:setIamPolicy' + body: '*' + - post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy' + body: '*' - selector: google.iam.v1.IAMPolicy.TestIamPermissions post: '/v1beta1/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions' body: '*' additional_bindings: - post: '/v1beta1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions' + - post: '/v1beta1/{resource=projects/*/locations/*/models/*}:testIamPermissions' + - post: '/v1beta1/{resource=projects/*/locations/*/endpoints/*}:testIamPermissions' + - post: '/v1beta1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions' - post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions' - post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions' + - post: '/ui/{resource=projects/*/locations/*/models/*}:testIamPermissions' + - post: '/ui/{resource=projects/*/locations/*/endpoints/*}:testIamPermissions' + - post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions' - selector: google.longrunning.Operations.CancelOperation post: '/ui/{name=projects/*/locations/*/operations/*}:cancel' additional_bindings: @@ -222,6 +226,8 @@ http: - post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel' - post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel' - post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel' + - post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel' + - post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel' - post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel' - post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel' - post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel' @@ -230,7 +236,12 @@ http: - post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel' - post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel' - post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel' + - post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel' + - post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel' + - post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel' + - post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel' - post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel' + - post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel' - post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel' - post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel' - post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel' @@ -253,6 +264,10 @@ http: - post: '/v1beta1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel' - post: '/v1beta1/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel' - post: '/v1beta1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel' + - post: '/v1beta1/{name=projects/*/locations/*/exampleStores/*/operations/*}:cancel' + - post: '/v1beta1/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel' + - post: '/v1beta1/{name=projects/*/locations/*/extensions/*/operations/*}:cancel' + - post: '/v1beta1/{name=projects/*/locations/*/extensions/*/deployments/*/operations/*}:cancel' - post: '/v1beta1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel' - post: '/v1beta1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel' - post: '/v1beta1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel' @@ -261,7 +276,12 @@ http: - post: '/v1beta1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel' - post: '/v1beta1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel' - post: '/v1beta1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel' + - post: '/v1beta1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel' + - post: '/v1beta1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel' + - post: '/v1beta1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel' + - post: '/v1beta1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel' - post: '/v1beta1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel' + - post: '/v1beta1/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel' - post: '/v1beta1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel' - post: '/v1beta1/{name=projects/*/locations/*/models/*/operations/*}:cancel' - post: '/v1beta1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel' @@ -270,6 +290,7 @@ http: - post: '/v1beta1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel' - post: '/v1beta1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel' - post: '/v1beta1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel' + - post: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel' - post: '/v1beta1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel' - post: '/v1beta1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel' - post: '/v1beta1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel' @@ -287,6 +308,8 @@ http: - delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}' - delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}' - delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}' + - delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations' + - delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations' - delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}' - delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}' - delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}' @@ -295,7 +318,12 @@ http: - delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}' - delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}' - delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}' + - delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}' + - delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}' + - delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}' + - delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}' - delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}' + - delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}' - delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}' - delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}' - delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}' @@ -309,6 +337,10 @@ http: - delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}' - delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}' - delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}' + - delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}' + - delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}' + - delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}' + - delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}' - delete: '/v1beta1/{name=projects/*/locations/*/operations/*}' - delete: '/v1beta1/{name=projects/*/locations/*/datasets/*/operations/*}' - delete: '/v1beta1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}' @@ -323,14 +355,26 @@ http: - delete: '/v1beta1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}' - delete: '/v1beta1/{name=projects/*/locations/*/customJobs/*/operations/*}' - delete: '/v1beta1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}' + - delete: '/v1beta1/{name=projects/*/locations/*/evaluationTasks/*/operations/*}' + - delete: '/v1beta1/{name=projects/*/locations/*/exampleStores/*/operations/*}' + - delete: '/v1beta1/{name=projects/*/locations/*/extensionControllers/*/operations/*}' + - delete: '/v1beta1/{name=projects/*/locations/*/extensions/*/operations/*}' + - delete: '/v1beta1/{name=projects/*/locations/*/extensions/*/deployments/*/operations/*}' - delete: '/v1beta1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}' - delete: '/v1beta1/{name=projects/*/locations/*/indexes/*/operations/*}' - delete: '/v1beta1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}' + - delete: '/v1beta1/{name=projects/*/locations/*/metadataStores/*/operations/*}' + - delete: '/v1beta1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}' + - delete: '/v1beta1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}' + - delete: '/v1beta1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}' - delete: '/v1beta1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}' + - delete: '/v1beta1/{name=projects/*/locations/*/modelMonitors/*/operations/*}' - delete: '/v1beta1/{name=projects/*/locations/*/migratableResources/*/operations/*}' - delete: '/v1beta1/{name=projects/*/locations/*/models/*/operations/*}' - delete: '/v1beta1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}' - delete: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}' + - delete: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}' + - delete: '/v1beta1/{name=projects/*/locations/*/solvers/*/operations/*}' - delete: '/v1beta1/{name=projects/*/locations/*/studies/*/operations/*}' - delete: '/v1beta1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}' - delete: '/v1beta1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}' @@ -341,6 +385,10 @@ http: - delete: '/v1beta1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}' - delete: '/v1beta1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}' - delete: '/v1beta1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}' + - delete: '/v1beta1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}' + - delete: '/v1beta1/{name=projects/*/locations/*/featureGroups/*/operations/*}' + - delete: '/v1beta1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}' + - delete: '/v1beta1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}' - selector: google.longrunning.Operations.GetOperation get: '/ui/{name=projects/*/locations/*/operations/*}' additional_bindings: @@ -353,6 +401,8 @@ http: - get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}' - get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}' - get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}' + - get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}' + - get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}' - get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}' - get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}' - get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}' @@ -361,7 +411,12 @@ http: - get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}' - get: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}' - get: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}' + - get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}' + - get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}' + - get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}' + - get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}' - get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}' + - get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}' - get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}' - get: '/ui/{name=projects/*/locations/*/models/*/operations/*}' - get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}' @@ -375,6 +430,10 @@ http: - get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}' - get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}' - get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}' + - get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}' + - get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}' + - get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}' + - get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}' - get: '/v1beta1/{name=projects/*/locations/*/operations/*}' - get: '/v1beta1/{name=projects/*/locations/*/datasets/*/operations/*}' - get: '/v1beta1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}' @@ -384,6 +443,11 @@ http: - get: '/v1beta1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}' - get: '/v1beta1/{name=projects/*/locations/*/edgeDevices/*/operations/*}' - get: '/v1beta1/{name=projects/*/locations/*/endpoints/*/operations/*}' + - get: '/v1beta1/{name=projects/*/locations/*/evaluationTasks/*/operations/*}' + - get: '/v1beta1/{name=projects/*/locations/*/exampleStores/*/operations/*}' + - get: '/v1beta1/{name=projects/*/locations/*/extensionControllers/*/operations/*}' + - get: '/v1beta1/{name=projects/*/locations/*/extensions/*/operations/*}' + - get: '/v1beta1/{name=projects/*/locations/*/extensions/*/deployments/*/operations/*}' - get: '/v1beta1/{name=projects/*/locations/*/featurestores/*/operations/*}' - get: '/v1beta1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}' - get: '/v1beta1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}' @@ -392,11 +456,18 @@ http: - get: '/v1beta1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}' - get: '/v1beta1/{name=projects/*/locations/*/indexes/*/operations/*}' - get: '/v1beta1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}' + - get: '/v1beta1/{name=projects/*/locations/*/metadataStores/*/operations/*}' + - get: '/v1beta1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}' + - get: '/v1beta1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}' + - get: '/v1beta1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}' - get: '/v1beta1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}' + - get: '/v1beta1/{name=projects/*/locations/*/modelMonitors/*/operations/*}' - get: '/v1beta1/{name=projects/*/locations/*/migratableResources/*/operations/*}' - get: '/v1beta1/{name=projects/*/locations/*/models/*/operations/*}' - get: '/v1beta1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}' - get: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}' + - get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}' + - get: '/v1beta1/{name=projects/*/locations/*/solvers/*/operations/*}' - get: '/v1beta1/{name=projects/*/locations/*/studies/*/operations/*}' - get: '/v1beta1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}' - get: '/v1beta1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}' @@ -407,6 +478,10 @@ http: - get: '/v1beta1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}' - get: '/v1beta1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}' - get: '/v1beta1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}' + - get: '/v1beta1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}' + - get: '/v1beta1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}' + - get: '/v1beta1/{name=projects/*/locations/*/featureGroups/*/operations/*}' + - get: '/v1beta1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}' - selector: google.longrunning.Operations.ListOperations get: '/ui/{name=projects/*/locations/*}/operations' additional_bindings: @@ -418,6 +493,8 @@ http: - get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations' - get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations' - get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations' + - get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations' + - get: '/ui/{name=projects/*/locations/*/extensions/*}/operations' - get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations' - get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations' - get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations' @@ -426,7 +503,12 @@ http: - get: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations' - get: '/ui/{name=projects/*/locations/*/indexes/*}/operations' - get: '/ui/{name=projects/*/locations/*/indexEndpoints/*}/operations' + - get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations' + - get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations' + - get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations' + - get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations' - get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations' + - get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations' - get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations' - get: '/ui/{name=projects/*/locations/*/models/*}/operations' - get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations' @@ -440,6 +522,10 @@ http: - get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations' - get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations' - get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations' + - get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait' + - get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait' + - get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait' + - get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait' - get: '/v1beta1/{name=projects/*/locations/*}/operations' - get: '/v1beta1/{name=projects/*/locations/*/datasets/*}/operations' - get: '/v1beta1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations' @@ -449,6 +535,11 @@ http: - get: '/v1beta1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations' - get: '/v1beta1/{name=projects/*/locations/*/edgeDevices/*}/operations' - get: '/v1beta1/{name=projects/*/locations/*/endpoints/*}/operations' + - get: '/v1beta1/{name=projects/*/locations/*/evaluationTasks/*}/operations' + - get: '/v1beta1/{name=projects/*/locations/*/exampleStores/*}/operations' + - get: '/v1beta1/{name=projects/*/locations/*/extensionControllers/*}/operations' + - get: '/v1beta1/{name=projects/*/locations/*/extensions/*}/operations' + - get: '/v1beta1/{name=projects/*/locations/*/extensions/*/deployments/*}/operations' - get: '/v1beta1/{name=projects/*/locations/*/featurestores/*}/operations' - get: '/v1beta1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations' - get: '/v1beta1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations' @@ -457,11 +548,18 @@ http: - get: '/v1beta1/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations' - get: '/v1beta1/{name=projects/*/locations/*/indexes/*}/operations' - get: '/v1beta1/{name=projects/*/locations/*/indexEndpoints/*}/operations' + - get: '/v1beta1/{name=projects/*/locations/*/metadataStores/*}/operations' + - get: '/v1beta1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations' + - get: '/v1beta1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations' + - get: '/v1beta1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations' - get: '/v1beta1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations' + - get: '/v1beta1/{name=projects/*/locations/*/modelMonitors/*}/operations' - get: '/v1beta1/{name=projects/*/locations/*/migratableResources/*}/operations' - get: '/v1beta1/{name=projects/*/locations/*/models/*}/operations' - get: '/v1beta1/{name=projects/*/locations/*/models/*/evaluations/*}/operations' - get: '/v1beta1/{name=projects/*/locations/*/persistentResources/*}/operations' + - get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*}/operations' + - get: '/v1beta1/{name=projects/*/locations/*/solvers/*}/operations' - get: '/v1beta1/{name=projects/*/locations/*/studies/*}/operations' - get: '/v1beta1/{name=projects/*/locations/*/studies/*/trials/*}/operations' - get: '/v1beta1/{name=projects/*/locations/*/trainingPipelines/*}/operations' @@ -472,6 +570,10 @@ http: - get: '/v1beta1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations' - get: '/v1beta1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations' - get: '/v1beta1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations' + - get: '/v1beta1/{name=projects/*/locations/*/featureOnlineStores/*}/operations' + - get: '/v1beta1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*}/operations' + - get: '/v1beta1/{name=projects/*/locations/*/featureGroups/*}/operations' + - get: '/v1beta1/{name=projects/*/locations/*/featureGroups/*/features/*}/operations' - selector: google.longrunning.Operations.WaitOperation post: '/ui/{name=projects/*/locations/*/operations/*}:wait' additional_bindings: @@ -483,6 +585,8 @@ http: - post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait' - post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait' - post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait' + - post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait' + - post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait' - post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait' - post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait' - post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait' @@ -491,7 +595,12 @@ http: - post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait' - post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait' - post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait' + - post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait' + - post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait' + - post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait' + - post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait' - post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait' + - post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait' - post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait' - post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait' - post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait' @@ -505,6 +614,10 @@ http: - post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait' - post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait' - post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait' + - post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait' + - post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait' + - post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait' + - post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait' - post: '/v1beta1/{name=projects/*/locations/*/operations/*}:wait' - post: '/v1beta1/{name=projects/*/locations/*/datasets/*/operations/*}:wait' - post: '/v1beta1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait' @@ -514,6 +627,11 @@ http: - post: '/v1beta1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait' - post: '/v1beta1/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait' - post: '/v1beta1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait' + - post: '/v1beta1/{name=projects/*/locations/*/evaluationTasks/*/operations/*}:wait' + - post: '/v1beta1/{name=projects/*/locations/*/exampleStores/*/operations/*}:wait' + - post: '/v1beta1/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait' + - post: '/v1beta1/{name=projects/*/locations/*/extensions/*/operations/*}:wait' + - post: '/v1beta1/{name=projects/*/locations/*/extensions/*/deployments/*/operations/*}:wait' - post: '/v1beta1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait' - post: '/v1beta1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait' - post: '/v1beta1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait' @@ -522,11 +640,17 @@ http: - post: '/v1beta1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait' - post: '/v1beta1/{name=projects/*/locations/*/indexes/*/operations/*}:wait' - post: '/v1beta1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait' + - post: '/v1beta1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait' + - post: '/v1beta1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait' + - post: '/v1beta1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait' + - post: '/v1beta1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait' - post: '/v1beta1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait' + - post: '/v1beta1/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait' - post: '/v1beta1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait' - post: '/v1beta1/{name=projects/*/locations/*/models/*/operations/*}:wait' - post: '/v1beta1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait' - post: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait' + - post: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait' - post: '/v1beta1/{name=projects/*/locations/*/studies/*/operations/*}:wait' - post: '/v1beta1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait' - post: '/v1beta1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait' @@ -537,6 +661,10 @@ http: - post: '/v1beta1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait' - post: '/v1beta1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait' - post: '/v1beta1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait' + - post: '/v1beta1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait' + - post: '/v1beta1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait' + - post: '/v1beta1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait' + - post: '/v1beta1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait' authentication: rules: @@ -552,6 +680,22 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform + - selector: 'google.cloud.aiplatform.v1beta1.FeatureOnlineStoreAdminService.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform + - selector: google.cloud.aiplatform.v1beta1.FeatureOnlineStoreService.FetchFeatureValues + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform + - selector: google.cloud.aiplatform.v1beta1.FeatureOnlineStoreService.SearchNearestEntities + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform + - selector: 'google.cloud.aiplatform.v1beta1.FeatureRegistryService.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform - selector: 'google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService.*' oauth: canonical_scopes: |- @@ -577,6 +721,10 @@ authentication: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform, https://www.googleapis.com/auth/cloud-platform.read-only + - selector: google.cloud.aiplatform.v1beta1.LlmUtilityService.ComputeTokens + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform - selector: google.cloud.aiplatform.v1beta1.MatchService.FindNeighbors oauth: canonical_scopes: |- @@ -597,10 +745,22 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform + - selector: google.cloud.aiplatform.v1beta1.ModelGardenService.GetPublisherModel + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform + - selector: google.cloud.aiplatform.v1beta1.ModelGardenService.ListPublisherModels + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform - selector: 'google.cloud.aiplatform.v1beta1.ModelService.*' oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform + - selector: 'google.cloud.aiplatform.v1beta1.PersistentResourceService.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform - selector: 'google.cloud.aiplatform.v1beta1.PipelineService.*' oauth: canonical_scopes: |- @@ -609,6 +769,10 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform + - selector: 'google.cloud.aiplatform.v1beta1.ScheduleService.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform - selector: 'google.cloud.aiplatform.v1beta1.SpecialistPoolService.*' oauth: canonical_scopes: |- @@ -637,3 +801,15 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform + +publishing: + documentation_uri: https://cloud.google.com/ai-platform/docs + github_label: 'api: aiplatform' + organization: CLOUD + library_settings: + - version: google.cloud.aiplatform.v1beta1 + dotnet_settings: + renamed_resources: + datalabeling.googleapis.com/Dataset: DataLabelingDataset + automl.googleapis.com/Dataset: AutoMLDataset + automl.googleapis.com/Model: AutoMLModel diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/annotation.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/annotation.proto index 4723c8a34..a7e494bf1 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/annotation.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/annotation.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/annotation_spec.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/annotation_spec.proto index 56b937507..3a25408c4 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/annotation_spec.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/annotation_spec.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/artifact.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/artifact.proto index 135a42de7..445dfe85b 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/artifact.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/artifact.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/batch_prediction_job.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/batch_prediction_job.proto index 72599c8fc..d6797d82d 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/batch_prediction_job.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/batch_prediction_job.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -156,7 +156,7 @@ message BatchPredictionJob { // [excluded_fields][google.cloud.aiplatform.v1beta1.BatchPredictionJob.InstanceConfig.excluded_fields] // must be empty. // - // The input must be JSONL with objects at each line, CSV, BigQuery + // The input must be JSONL with objects at each line, BigQuery // or TfRecord. repeated string included_fields = 3; @@ -171,7 +171,7 @@ message BatchPredictionJob { // [included_fields][google.cloud.aiplatform.v1beta1.BatchPredictionJob.InstanceConfig.included_fields] // must be empty. // - // The input must be JSONL with objects at each line, CSV, BigQuery + // The input must be JSONL with objects at each line, BigQuery // or TfRecord. repeated string excluded_fields = 4; } @@ -283,6 +283,11 @@ message BatchPredictionJob { // or // `projects/{project}/locations/{location}/models/{model}@golden` // if no version is specified, the default version will be deployed. + // + // The model resource could also be a publisher model. + // Example: `publishers/{publisher}/models/{model}` + // or + // `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}` string model = 3 [(google.api.resource_reference) = { type: "aiplatform.googleapis.com/Model" }]; @@ -463,9 +468,9 @@ message BatchPredictionJob { // For custom-trained Models and AutoML Tabular Models, the container of the // DeployedModel instances will send `stderr` and `stdout` streams to - // Stackdriver Logging by default. Please note that the logs incur cost, + // Cloud Logging by default. Please note that the logs incur cost, // which are subject to [Cloud Logging - // pricing](https://cloud.google.com/stackdriver/pricing). + // pricing](https://cloud.google.com/logging/pricing). // // User can disable container logging by setting this flag to true. bool disable_container_logging = 34; diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/completion_stats.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/completion_stats.proto index ef9bf10df..e97245e30 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/completion_stats.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/completion_stats.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/context.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/context.proto index 3f50fbd7b..19d59cdac 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/context.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/context.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -36,8 +36,8 @@ message Context { pattern: "projects/{project}/locations/{location}/metadataStores/{metadata_store}/contexts/{context}" }; - // Output only. The resource name of the Context. - string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Immutable. The resource name of the Context. + string name = 1 [(google.api.field_behavior) = IMMUTABLE]; // User provided display name of the Context. // May be up to 128 Unicode characters. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/custom_job.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/custom_job.proto index 9c16cf95c..5689a62ef 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/custom_job.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/custom_job.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -113,6 +113,20 @@ message CustomJob { // Represents the spec of a CustomJob. message CustomJobSpec { + // Optional. The ID of the PersistentResource in the same Project and Location + // which to run + // + // If this is specified, the job will be run on existing machines held by the + // PersistentResource instead of on-demand short-live machines. + // The network and CMEK configs on the job should be consistent with those on + // the PersistentResource, otherwise, the job will be rejected. + string persistent_resource_id = 14 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/PersistentResource" + } + ]; + // Required. The spec of the worker pools including machine type and Docker // image. All worker pools except the first one are optional and can be // skipped by providing an empty value. @@ -181,6 +195,12 @@ message CustomJobSpec { // * AIP_TENSORBOARD_LOG_DIR = `//logs/` GcsDestination base_output_directory = 6; + // The ID of the location to store protected artifacts. e.g. us-central1. + // Populate only when the location is different than CustomJob location. + // List of supported locations: + // https://cloud.google.com/vertex-ai/docs/general/locations + string protected_artifact_location_id = 19; + // Optional. The name of a Vertex AI // [Tensorboard][google.cloud.aiplatform.v1beta1.Tensorboard] resource to // which this CustomJob will upload Tensorboard logs. Format: @@ -216,6 +236,46 @@ message CustomJobSpec { // (within // [HyperparameterTuningJob.trials][google.cloud.aiplatform.v1beta1.HyperparameterTuningJob.trials]). bool enable_dashboard_access = 16 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The Experiment associated with this job. + // Format: + // `projects/{project}/locations/{location}/metadataStores/{metadataStores}/contexts/{experiment-name}` + string experiment = 17 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Context" + } + ]; + + // Optional. The Experiment Run associated with this job. + // Format: + // `projects/{project}/locations/{location}/metadataStores/{metadataStores}/contexts/{experiment-name}-{experiment-run-name}` + string experiment_run = 18 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Context" + } + ]; + + // Optional. The name of the Model resources for which to generate a mapping + // to artifact URIs. Applicable only to some of the Google-provided custom + // jobs. Format: `projects/{project}/locations/{location}/models/{model}` + // + // In order to retrieve a specific version of the model, also provide + // the version ID or version alias. + // Example: `projects/{project}/locations/{location}/models/{model}@2` + // or + // `projects/{project}/locations/{location}/models/{model}@golden` + // If no version ID or alias is specified, the "default" version will be + // returned. The "default" version alias is created for the first version of + // the model, and can be moved to other versions later on. There will be + // exactly one default version. + repeated string models = 20 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Model" + } + ]; } // Represents the spec of a worker pool in a job. @@ -298,4 +358,9 @@ message Scheduling { // This feature can be used by distributed training jobs that are not // resilient to workers leaving and joining a job. bool restart_job_on_worker_restart = 3; + + // Optional. Indicates if the job should retry for internal errors after the + // job starts running. If true, overrides + // `Scheduling.restart_job_on_worker_restart` to false. + bool disable_retries = 5 [(google.api.field_behavior) = OPTIONAL]; } diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/data_item.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/data_item.proto index 1249a6962..93e389938 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/data_item.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/data_item.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/data_labeling_job.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/data_labeling_job.proto index c1582fb9c..42b597f31 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/data_labeling_job.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/data_labeling_job.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/dataset.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/dataset.proto index 0ea636da7..d60329b03 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/dataset.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/dataset.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -59,6 +59,10 @@ message Dataset { // Required. Additional information about the Dataset. google.protobuf.Value metadata = 8 [(google.api.field_behavior) = REQUIRED]; + // Output only. The number of DataItems in this Dataset. Only apply for + // non-structured Dataset. + int64 data_item_count = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Timestamp when this Dataset was created. google.protobuf.Timestamp create_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -90,7 +94,7 @@ message Dataset { map labels = 7; // All SavedQueries belong to the Dataset will be returned in List/Get - // Dataset response. The [annotation_specs][SavedQuery.annotation_specs] field + // Dataset response. The annotation_specs field // will not be populated except for UI cases which will only use // [annotation_spec_count][google.cloud.aiplatform.v1beta1.SavedQuery.annotation_spec_count]. // In CreateDataset request, a SavedQuery is created together if @@ -177,9 +181,9 @@ message ExportDataConfig { ExportFractionSplit fraction_split = 5; } - // A filter on Annotations of the Dataset. Only Annotations on to-be-exported - // DataItems(specified by [data_items_filter][]) that match this filter will - // be exported. The filter syntax is the same as in + // An expression for filtering what part of the Dataset is to be exported. + // Only Annotations that match this filter will be exported. The filter syntax + // is the same as in // [ListAnnotations][google.cloud.aiplatform.v1beta1.DatasetService.ListAnnotations]. string annotations_filter = 2; } diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/dataset_service.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/dataset_service.proto index a2cae6d5f..81f763a62 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/dataset_service.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/dataset_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -24,6 +24,7 @@ import "google/cloud/aiplatform/v1beta1/annotation.proto"; import "google/cloud/aiplatform/v1beta1/annotation_spec.proto"; import "google/cloud/aiplatform/v1beta1/data_item.proto"; import "google/cloud/aiplatform/v1beta1/dataset.proto"; +import "google/cloud/aiplatform/v1beta1/dataset_version.proto"; import "google/cloud/aiplatform/v1beta1/operation.proto"; import "google/cloud/aiplatform/v1beta1/saved_query.proto"; import "google/longrunning/operations.proto"; @@ -38,8 +39,7 @@ option java_package = "com.google.cloud.aiplatform.v1beta1"; option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1"; option ruby_package = "Google::Cloud::AIPlatform::V1beta1"; -// The service that handles the CRUD of Vertex AI Dataset and its child -// resources. +// The service that manages Vertex AI Dataset and its child resources. service DatasetService { option (google.api.default_host) = "aiplatform.googleapis.com"; option (google.api.oauth_scopes) = @@ -123,6 +123,63 @@ service DatasetService { }; } + // Create a version from a Dataset. + rpc CreateDatasetVersion(CreateDatasetVersionRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1beta1/{parent=projects/*/locations/*/datasets/*}/datasetVersions" + body: "dataset_version" + }; + option (google.api.method_signature) = "parent,dataset_version"; + option (google.longrunning.operation_info) = { + response_type: "DatasetVersion" + metadata_type: "CreateDatasetVersionOperationMetadata" + }; + } + + // Deletes a Dataset version. + rpc DeleteDatasetVersion(DeleteDatasetVersionRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + delete: "/v1beta1/{name=projects/*/locations/*/datasets/*/datasetVersions/*}" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "DeleteOperationMetadata" + }; + } + + // Gets a Dataset version. + rpc GetDatasetVersion(GetDatasetVersionRequest) returns (DatasetVersion) { + option (google.api.http) = { + get: "/v1beta1/{name=projects/*/locations/*/datasets/*/datasetVersions/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Lists DatasetVersions in a Dataset. + rpc ListDatasetVersions(ListDatasetVersionsRequest) + returns (ListDatasetVersionsResponse) { + option (google.api.http) = { + get: "/v1beta1/{parent=projects/*/locations/*/datasets/*}/datasetVersions" + }; + option (google.api.method_signature) = "parent"; + } + + // Restores a dataset version. + rpc RestoreDatasetVersion(RestoreDatasetVersionRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + get: "/v1beta1/{name=projects/*/locations/*/datasets/*/datasetVersions/*}:restore" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "DatasetVersion" + metadata_type: "RestoreDatasetVersionOperationMetadata" + }; + } + // Lists DataItems in a Dataset. rpc ListDataItems(ListDataItemsRequest) returns (ListDataItemsResponse) { option (google.api.http) = { @@ -148,6 +205,19 @@ service DatasetService { option (google.api.method_signature) = "parent"; } + // Deletes a SavedQuery. + rpc DeleteSavedQuery(DeleteSavedQueryRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + delete: "/v1beta1/{name=projects/*/locations/*/datasets/*/savedQueries/*}" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "DeleteOperationMetadata" + }; + } + // Gets an AnnotationSpec. rpc GetAnnotationSpec(GetAnnotationSpecRequest) returns (AnnotationSpec) { option (google.api.http) = { @@ -342,7 +412,10 @@ message ExportDataRequest { // Response message for // [DatasetService.ExportData][google.cloud.aiplatform.v1beta1.DatasetService.ExportData]. message ExportDataResponse { - // All of the files that are exported in this export operation. + // All of the files that are exported in this export operation. For custom + // code training export, only three (training, validation and test) + // Cloud Storage paths in wildcard format are populated + // (for example, gs://.../training-*). repeated string exported_files = 1; } @@ -357,6 +430,125 @@ message ExportDataOperationMetadata { string gcs_output_directory = 2; } +// Request message for +// [DatasetService.CreateDatasetVersion][google.cloud.aiplatform.v1beta1.DatasetService.CreateDatasetVersion]. +message CreateDatasetVersionRequest { + // Required. The name of the Dataset resource. + // Format: + // `projects/{project}/locations/{location}/datasets/{dataset}` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Dataset" + } + ]; + + // Required. The version to be created. The same CMEK policies with the + // original Dataset will be applied the dataset version. So here we don't need + // to specify the EncryptionSpecType here. + DatasetVersion dataset_version = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// Runtime operation information for +// [DatasetService.CreateDatasetVersion][google.cloud.aiplatform.v1beta1.DatasetService.CreateDatasetVersion]. +message CreateDatasetVersionOperationMetadata { + // The common part of the operation metadata. + GenericOperationMetadata generic_metadata = 1; +} + +// Request message for +// [DatasetService.DeleteDatasetVersion][google.cloud.aiplatform.v1beta1.DatasetService.DeleteDatasetVersion]. +message DeleteDatasetVersionRequest { + // Required. The resource name of the Dataset version to delete. + // Format: + // `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/DatasetVersion" + } + ]; +} + +// Request message for +// [DatasetService.GetDatasetVersion][google.cloud.aiplatform.v1beta1.DatasetService.GetDatasetVersion]. +message GetDatasetVersionRequest { + // Required. The resource name of the Dataset version to delete. + // Format: + // `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/DatasetVersion" + } + ]; + + // Mask specifying which fields to read. + google.protobuf.FieldMask read_mask = 2; +} + +// Request message for +// [DatasetService.ListDatasetVersions][google.cloud.aiplatform.v1beta1.DatasetService.ListDatasetVersions]. +message ListDatasetVersionsRequest { + // Required. The resource name of the Dataset to list DatasetVersions from. + // Format: + // `projects/{project}/locations/{location}/datasets/{dataset}` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Dataset" + } + ]; + + // Optional. The standard list filter. + string filter = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The standard list page size. + int32 page_size = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The standard list page token. + string page_token = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Mask specifying which fields to read. + google.protobuf.FieldMask read_mask = 5 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. A comma-separated list of fields to order by, sorted in ascending + // order. Use "desc" after a field name for descending. + string order_by = 6 [(google.api.field_behavior) = OPTIONAL]; +} + +// Response message for +// [DatasetService.ListDatasetVersions][google.cloud.aiplatform.v1beta1.DatasetService.ListDatasetVersions]. +message ListDatasetVersionsResponse { + // A list of DatasetVersions that matches the specified filter in the request. + repeated DatasetVersion dataset_versions = 1; + + // The standard List next-page token. + string next_page_token = 2; +} + +// Request message for +// [DatasetService.RestoreDatasetVersion][google.cloud.aiplatform.v1beta1.DatasetService.RestoreDatasetVersion]. +message RestoreDatasetVersionRequest { + // Required. The name of the DatasetVersion resource. + // Format: + // `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/DatasetVersion" + } + ]; +} + +// Runtime operation information for +// [DatasetService.RestoreDatasetVersion][google.cloud.aiplatform.v1beta1.DatasetService.RestoreDatasetVersion]. +message RestoreDatasetVersionOperationMetadata { + // The common part of the operation metadata. + GenericOperationMetadata generic_metadata = 1; +} + // Request message for // [DatasetService.ListDataItems][google.cloud.aiplatform.v1beta1.DatasetService.ListDataItems]. message ListDataItemsRequest { @@ -573,6 +765,20 @@ message ListSavedQueriesResponse { string next_page_token = 2; } +// Request message for +// [DatasetService.DeleteSavedQuery][google.cloud.aiplatform.v1beta1.DatasetService.DeleteSavedQuery]. +message DeleteSavedQueryRequest { + // Required. The resource name of the SavedQuery to delete. + // Format: + // `projects/{project}/locations/{location}/datasets/{dataset}/savedQueries/{saved_query}` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/SavedQuery" + } + ]; +} + // Request message for // [DatasetService.GetAnnotationSpec][google.cloud.aiplatform.v1beta1.DatasetService.GetAnnotationSpec]. message GetAnnotationSpecRequest { diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/deployed_index_ref.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/deployed_index_ref.proto index 01e970b44..9dbeade28 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/deployed_index_ref.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/deployed_index_ref.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -39,4 +39,7 @@ message DeployedIndexRef { // Immutable. The ID of the DeployedIndex in the above IndexEndpoint. string deployed_index_id = 2 [(google.api.field_behavior) = IMMUTABLE]; + + // Output only. The display name of the DeployedIndex. + string display_name = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/deployed_model_ref.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/deployed_model_ref.proto index 2f3e75551..68fc304ba 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/deployed_model_ref.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/deployed_model_ref.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/deployment_resource_pool.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/deployment_resource_pool.proto index 3237bb905..5ab75189f 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/deployment_resource_pool.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/deployment_resource_pool.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -37,10 +37,10 @@ message DeploymentResourcePool { pattern: "projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}" }; - // Output only. The resource name of the DeploymentResourcePool. + // Immutable. The resource name of the DeploymentResourcePool. // Format: // `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}` - string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + string name = 1 [(google.api.field_behavior) = IMMUTABLE]; // Required. The underlying DedicatedResources that the DeploymentResourcePool // uses. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/deployment_resource_pool_service.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/deployment_resource_pool_service.proto index 0f11428f4..63b3c4386 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/deployment_resource_pool_service.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/deployment_resource_pool_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/encryption_spec.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/encryption_spec.proto index 89cc8b9a6..47788c222 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/encryption_spec.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/encryption_spec.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/endpoint.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/endpoint.proto index 7486b872e..c8023626a 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/endpoint.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/endpoint.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -38,6 +38,7 @@ message Endpoint { option (google.api.resource) = { type: "aiplatform.googleapis.com/Endpoint" pattern: "projects/{project}/locations/{location}/endpoints/{endpoint}" + pattern: "projects/{project}/locations/{location}/publishers/{publisher}/models/{model}" }; // Output only. The resource name of the Endpoint. @@ -127,7 +128,8 @@ message Endpoint { // Output only. Resource name of the Model Monitoring job associated with this // Endpoint if monitoring is enabled by - // [CreateModelDeploymentMonitoringJob][]. Format: + // [JobService.CreateModelDeploymentMonitoringJob][google.cloud.aiplatform.v1beta1.JobService.CreateModelDeploymentMonitoringJob]. + // Format: // `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}` string model_deployment_monitoring_job = 14 [ (google.api.field_behavior) = OUTPUT_ONLY, @@ -148,6 +150,7 @@ message DeployedModel { // even if the DeployedModel receives no traffic. // Not all Models support all resources types. See // [Model.supported_deployment_resources_types][google.cloud.aiplatform.v1beta1.Model.supported_deployment_resources_types]. + // Required except for Large Model Deploy use cases. oneof prediction_resources { // A description of resources that are dedicated to the DeployedModel, and // that need a higher degree of manual configuration. @@ -168,7 +171,7 @@ message DeployedModel { // Immutable. The ID of the DeployedModel. If not provided upon deployment, // Vertex AI will generate a value for this ID. // - // This value should be 1-10 characters, and valid characters are /[0-9]/. + // This value should be 1-10 characters, and valid characters are `/[0-9]/`. string id = 1 [(google.api.field_behavior) = IMMUTABLE]; // Required. The resource name of the Model that this is the deployment of. @@ -235,17 +238,17 @@ message DeployedModel { string service_account = 11; // If true, the container of the DeployedModel instances will send `stderr` - // and `stdout` streams to Stackdriver Logging. + // and `stdout` streams to Cloud Logging. // // Only supported for custom-trained Models and AutoML Tabular Models. bool enable_container_logging = 12; - // If true, online prediction access logs are sent to StackDriver + // If true, online prediction access logs are sent to Cloud // Logging. // These logs are like standard server access logs, containing // information like timestamp and latency for each prediction request. // - // Note that Stackdriver logs may incur a cost, especially if your project + // Note that logs may incur a cost, especially if your project // receives prediction requests at a high queries per second rate (QPS). // Estimate your costs before enabling this option. bool enable_access_logging = 13; diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/endpoint_service.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/endpoint_service.proto index 76b61d905..ed53e1652 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/endpoint_service.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/endpoint_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -122,6 +122,24 @@ service EndpointService { metadata_type: "UndeployModelOperationMetadata" }; } + + // Updates an existing deployed model. Updatable fields include + // `min_replica_count`, `max_replica_count`, `autoscaling_metric_specs`, + // `disable_container_logging` (v1 only), and `enable_container_logging` + // (v1beta1 only). + rpc MutateDeployedModel(MutateDeployedModelRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1beta1/{endpoint=projects/*/locations/*/endpoints/*}:mutateDeployedModel" + body: "*" + }; + option (google.api.method_signature) = + "endpoint,deployed_model,update_mask"; + option (google.longrunning.operation_info) = { + response_type: "MutateDeployedModelResponse" + metadata_type: "MutateDeployedModelOperationMetadata" + }; + } } // Request message for @@ -143,10 +161,16 @@ message CreateEndpointRequest { // component of the endpoint resource name. // If not provided, Vertex AI will generate a value for this ID. // - // This value should be 1-10 characters, and valid characters are /[0-9]/. - // When using HTTP/JSON, this field is populated based on a query string - // argument, such as `?endpoint_id=12345`. This is the fallback for fields - // that are not included in either the URI or the body. + // If the first character is a letter, this value may be up to 63 characters, + // and valid characters are `[a-z0-9-]`. The last character must be a letter + // or number. + // + // If the first character is a number, this value may be up to 9 characters, + // and valid characters are `[0-9]` with no leading zeros. + // + // When using HTTP/JSON, this field is populated + // based on a query string argument, such as `?endpoint_id=12345`. This is the + // fallback for fields that are not included in either the URI or the body. string endpoint_id = 4 [(google.api.field_behavior) = IMMUTABLE]; } @@ -196,6 +220,7 @@ message ListEndpointsRequest { // * A key including a space must be quoted. `labels."a key"`. // // Some examples: + // // * `endpoint=1` // * `displayName="myDisplayName"` // * `labels.myKey="myValue"` @@ -342,3 +367,50 @@ message UndeployModelOperationMetadata { // The operation generic information. GenericOperationMetadata generic_metadata = 1; } + +// Request message for +// [EndpointService.MutateDeployedModel][google.cloud.aiplatform.v1beta1.EndpointService.MutateDeployedModel]. +message MutateDeployedModelRequest { + // Required. The name of the Endpoint resource into which to mutate a + // DeployedModel. Format: + // `projects/{project}/locations/{location}/endpoints/{endpoint}` + string endpoint = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Endpoint" + } + ]; + + // Required. The DeployedModel to be mutated within the Endpoint. Only the + // following fields can be mutated: + // + // * `min_replica_count` in either + // [DedicatedResources][google.cloud.aiplatform.v1beta1.DedicatedResources] or + // [AutomaticResources][google.cloud.aiplatform.v1beta1.AutomaticResources] + // * `max_replica_count` in either + // [DedicatedResources][google.cloud.aiplatform.v1beta1.DedicatedResources] or + // [AutomaticResources][google.cloud.aiplatform.v1beta1.AutomaticResources] + // * [autoscaling_metric_specs][google.cloud.aiplatform.v1beta1.DedicatedResources.autoscaling_metric_specs] + // * `disable_container_logging` (v1 only) + // * `enable_container_logging` (v1beta1 only) + DeployedModel deployed_model = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The update mask applies to the resource. See + // [google.protobuf.FieldMask][google.protobuf.FieldMask]. + google.protobuf.FieldMask update_mask = 4 + [(google.api.field_behavior) = REQUIRED]; +} + +// Response message for +// [EndpointService.MutateDeployedModel][google.cloud.aiplatform.v1beta1.EndpointService.MutateDeployedModel]. +message MutateDeployedModelResponse { + // The DeployedModel that's being mutated. + DeployedModel deployed_model = 1; +} + +// Runtime operation information for +// [EndpointService.MutateDeployedModel][google.cloud.aiplatform.v1beta1.EndpointService.MutateDeployedModel]. +message MutateDeployedModelOperationMetadata { + // The operation generic information. + GenericOperationMetadata generic_metadata = 1; +} diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/entity_type.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/entity_type.proto index 445529203..400707742 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/entity_type.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/entity_type.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/env_var.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/env_var.proto index 8dc7bbf17..aa61f4a2d 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/env_var.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/env_var.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/evaluated_annotation.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/evaluated_annotation.proto index 9379cdeb3..239b55cdb 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/evaluated_annotation.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/evaluated_annotation.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -103,10 +103,6 @@ message EvaluatedAnnotation { // ModelEvaluation. The EvaluatedDataItemView consists of all ground truths // and predictions on // [data_item_payload][google.cloud.aiplatform.v1beta1.EvaluatedAnnotation.data_item_payload]. - // - // Can be passed in - // [GetEvaluatedDataItemView's][ModelService.GetEvaluatedDataItemView][] - // [id][GetEvaluatedDataItemViewRequest.id]. string evaluated_data_item_view_id = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/event.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/event.proto index d6c5794bf..22a229fa4 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/event.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/event.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/execution.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/execution.proto index 260c8246d..da6811978 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/execution.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/execution.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/explanation.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/explanation.proto index 28970d9d1..72cee5a14 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/explanation.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/explanation.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -44,6 +44,14 @@ message Explanation { // [Attribution.output_index][google.cloud.aiplatform.v1beta1.Attribution.output_index] // can be used to identify which output this attribution is explaining. // + // By default, we provide Shapley values for the predicted class. However, + // you can configure the explanation request to generate Shapley values for + // any other classes too. For example, if a model predicts a probability of + // `0.4` for approving a loan application, the model's decision is to reject + // the application since `p(reject) = 0.6 > p(approve) = 0.4`, and the default + // Shapley values would be computed for rejection decision and not approval, + // even though the latter might be the positive class. + // // If users set // [ExplanationParameters.top_k][google.cloud.aiplatform.v1beta1.ExplanationParameters.top_k], // the attributions are sorted by @@ -425,21 +433,47 @@ message BlurBaselineConfig { // Example-based explainability that returns the nearest neighbors from the // provided dataset. message Examples { + // The Cloud Storage input instances. + message ExampleGcsSource { + // The format of the input example instances. + enum DataFormat { + // Format unspecified, used when unset. + DATA_FORMAT_UNSPECIFIED = 0; + + // Examples are stored in JSONL files. + JSONL = 1; + } + + // The format in which instances are given, if not specified, assume it's + // JSONL format. Currently only JSONL format is supported. + DataFormat data_format = 1; + + // The Cloud Storage location for the input instances. + GcsSource gcs_source = 2; + } + + oneof source { + // The Cloud Storage input instances. + ExampleGcsSource example_gcs_source = 5; + } + oneof config { - // The configuration for the generated index, the semantics are the same as - // [metadata][google.cloud.aiplatform.v1beta1.Index.metadata] and should - // match NearestNeighborSearchConfig. + // The full configuration for the generated index, the semantics are the + // same as [metadata][google.cloud.aiplatform.v1beta1.Index.metadata] and + // should match + // [NearestNeighborSearchConfig](https://cloud.google.com/vertex-ai/docs/explainable-ai/configuring-explanations-example-based#nearest-neighbor-search-config). google.protobuf.Value nearest_neighbor_search_config = 2; - // Preset config based on the desired query speed-precision trade-off - // and modality + // Simplified preset configuration, which automatically sets configuration + // values based on the desired query speed-precision trade-off and modality. Presets presets = 4; } - // The Cloud Storage location for the input instances. + // The Cloud Storage locations that contain the instances to be + // indexed for approximate nearest neighbor search. GcsSource gcs_source = 1; - // The number of neighbors to return. + // The number of neighbors to return when querying for examples. int32 neighbor_count = 3; } @@ -448,7 +482,6 @@ message Presets { // Preset option controlling parameters for query speed-precision trade-off enum Query { // More precise neighbors as a trade-off against slower response. - // This is also the default value (field-number 0). PRECISE = 0; // Faster response as a trade-off against less precise neighbors. @@ -470,10 +503,14 @@ message Presets { TABULAR = 3; } - // Preset option controlling parameters for query speed-precision trade-off + // Preset option controlling parameters for speed-precision trade-off when + // querying for examples. If omitted, defaults to `PRECISE`. optional Query query = 1; - // Preset option controlling parameters for different modalities + // The modality of the uploaded model, which automatically configures the + // distance measurement and feature normalization for the underlying example + // index and queries. If your model does not precisely fit one of these types, + // it is okay to choose the closest type. Modality modality = 2; } @@ -482,8 +519,8 @@ message Presets { // explanation][google.cloud.aiplatform.v1beta1.PredictionService.Explain] time. message ExplanationSpecOverride { // The parameters to be overridden. Note that the - // [method][google.cloud.aiplatform.v1beta1.ExplanationParameters.method] - // cannot be changed. If not specified, no parameter is overridden. + // attribution method cannot be changed. If not specified, + // no parameter is overridden. ExplanationParameters parameters = 1; // The metadata to be overridden. If not specified, no metadata is overridden. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/explanation_metadata.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/explanation_metadata.proto index c7f079c8c..25ba8a417 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/explanation_metadata.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/explanation_metadata.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/feature.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/feature.proto index c9dc14a7c..f5510a91d 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/feature.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/feature.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -30,19 +30,22 @@ option java_package = "com.google.cloud.aiplatform.v1beta1"; option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1"; option ruby_package = "Google::Cloud::AIPlatform::V1beta1"; -// Feature Metadata information that describes an attribute of an entity type. -// For example, apple is an entity type, and color is a feature that describes -// apple. +// Feature Metadata information. +// For example, color is a feature that describes an apple. message Feature { option (google.api.resource) = { type: "aiplatform.googleapis.com/Feature" pattern: "projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}" + pattern: "projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}" + plural: "features" + singular: "feature" }; - // A list of historical [Snapshot - // Analysis][FeaturestoreMonitoringConfig.SnapshotAnalysis] or [Import Feature - // Analysis] [FeaturestoreMonitoringConfig.ImportFeatureAnalysis] stats - // requested by user, sorted by + // A list of historical + // [SnapshotAnalysis][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis] + // or + // [ImportFeaturesAnalysis][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis] + // stats requested by user, sorted by // [FeatureStatsAnomaly.start_time][google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.start_time] // descending. message MonitoringStatsAnomaly { @@ -69,6 +72,7 @@ message Feature { [(google.api.field_behavior) = OUTPUT_ONLY]; } + // Only applicable for Vertex AI Legacy Feature Store. // An enum representing the value type of a feature. enum ValueType { // The value type is unspecified. @@ -105,6 +109,7 @@ message Feature { // Immutable. Name of the Feature. // Format: // `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` + // `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}` // // The last part feature is assigned by the client. The feature can be up to // 64 characters long and can consist only of ASCII Latin letters A-Z and a-z, @@ -115,17 +120,17 @@ message Feature { // Description of the Feature. string description = 2; - // Required. Immutable. Type of Feature value. - ValueType value_type = 3 [ - (google.api.field_behavior) = REQUIRED, - (google.api.field_behavior) = IMMUTABLE - ]; + // Immutable. Only applicable for Vertex AI Feature Store (Legacy). + // Type of Feature value. + ValueType value_type = 3 [(google.api.field_behavior) = IMMUTABLE]; - // Output only. Timestamp when this EntityType was created. + // Output only. Only applicable for Vertex AI Feature Store (Legacy). + // Timestamp when this EntityType was created. google.protobuf.Timestamp create_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Timestamp when this EntityType was most recently updated. + // Output only. Only applicable for Vertex AI Feature Store (Legacy). + // Timestamp when this EntityType was most recently updated. google.protobuf.Timestamp update_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -146,9 +151,11 @@ message Feature { // "overwrite" update happens. string etag = 7; - // Optional. Deprecated: The custom monitoring configuration for this Feature, - // if not set, use the monitoring_config defined for the EntityType this - // Feature belongs to. Only Features with type + // Optional. Only applicable for Vertex AI Feature Store (Legacy). + // Deprecated: The custom monitoring configuration for this Feature, if not + // set, use the monitoring_config defined for the EntityType this Feature + // belongs to. + // Only Features with type // ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType]) // BOOL, STRING, DOUBLE or INT64 can enable monitoring. // @@ -161,8 +168,10 @@ message Feature { FeaturestoreMonitoringConfig monitoring_config = 9 [deprecated = true, (google.api.field_behavior) = OPTIONAL]; - // Optional. If not set, use the monitoring_config defined for the EntityType - // this Feature belongs to. Only Features with type + // Optional. Only applicable for Vertex AI Feature Store (Legacy). + // If not set, use the monitoring_config defined for the EntityType this + // Feature belongs to. + // Only Features with type // ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType]) // BOOL, STRING, DOUBLE or INT64 can enable monitoring. // @@ -170,16 +179,22 @@ message Feature { // config on EntityType. bool disable_monitoring = 12 [(google.api.field_behavior) = OPTIONAL]; - // Output only. A list of historical [Snapshot - // Analysis][FeaturestoreMonitoringConfig.SnapshotAnalysis] + // Output only. Only applicable for Vertex AI Feature Store (Legacy). + // A list of historical + // [SnapshotAnalysis][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis] // stats requested by user, sorted by // [FeatureStatsAnomaly.start_time][google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.start_time] // descending. repeated FeatureStatsAnomaly monitoring_stats = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The list of historical stats and anomalies with specified - // objectives. + // Output only. Only applicable for Vertex AI Feature Store (Legacy). + // The list of historical stats and anomalies with specified objectives. repeated MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Only applicable for Vertex AI Feature Store. + // The name of the BigQuery Table/View column hosting data for this version. + // If no value is provided, will use feature_id. + string version_column_name = 106; } diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/feature_monitoring_stats.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/feature_monitoring_stats.proto index b1f490deb..f1caf42c9 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/feature_monitoring_stats.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/feature_monitoring_stats.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/feature_selector.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/feature_selector.proto index c29347c49..a44e9f024 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/feature_selector.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/feature_selector.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/featurestore.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/featurestore.proto index 8ae1c7d81..b935b2736 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/featurestore.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/featurestore.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/featurestore_monitoring.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/featurestore_monitoring.proto index 7099d8e0b..134f10941 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/featurestore_monitoring.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/featurestore_monitoring.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/featurestore_online_service.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/featurestore_online_service.proto index 0a6922b9d..5c26efb6f 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/featurestore_online_service.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/featurestore_online_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -162,7 +162,7 @@ message ReadFeatureValuesResponse { }]; // List of Feature metadata corresponding to each piece of - // [ReadFeatureValuesResponse.data][]. + // [ReadFeatureValuesResponse.EntityView.data][google.cloud.aiplatform.v1beta1.ReadFeatureValuesResponse.EntityView.data]. repeated FeatureDescriptor feature_descriptors = 2; } diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/featurestore_service.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/featurestore_service.proto index 86fa13380..87dbb5abf 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/featurestore_service.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/featurestore_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -335,7 +335,7 @@ service FeaturestoreService { message CreateFeaturestoreRequest { // Required. The resource name of the Location to create Featurestores. // Format: - // `projects/{project}/locations/{location}'` + // `projects/{project}/locations/{location}` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -464,7 +464,7 @@ message UpdateFeaturestoreRequest { // * `labels` // * `online_serving_config.fixed_node_count` // * `online_serving_config.scaling` - // * `online_storage_ttl_days` (available in Preview) + // * `online_storage_ttl_days` google.protobuf.FieldMask update_mask = 2; } @@ -534,7 +534,7 @@ message ImportFeatureValuesRequest { ]; // Source column that holds entity IDs. If not provided, entity IDs are - // extracted from the column named `entity_id`. + // extracted from the column named entity_id. string entity_id_field = 5; // Required. Specifications defining which Feature values to import from the @@ -665,10 +665,7 @@ message BatchReadFeatureValuesRequest { repeated PassThroughField pass_through_fields = 8; // Required. Specifies EntityType grouping Features to read values of and - // settings. Each EntityType referenced in - // [BatchReadFeatureValuesRequest.entity_type_specs] must have a column - // specifying entity IDs in the EntityType in - // [BatchReadFeatureValuesRequest.request][] . + // settings. repeated EntityTypeSpec entity_type_specs = 7 [(google.api.field_behavior) = REQUIRED]; @@ -930,7 +927,7 @@ message UpdateEntityTypeRequest { // * `monitoring_config.import_features_analysis.anomaly_detection_baseline` // * `monitoring_config.numerical_threshold_config.value` // * `monitoring_config.categorical_threshold_config.value` - // * `offline_storage_ttl_days` (available in Preview) + // * `offline_storage_ttl_days` google.protobuf.FieldMask update_mask = 2; } @@ -953,14 +950,18 @@ message DeleteEntityTypeRequest { // Request message for // [FeaturestoreService.CreateFeature][google.cloud.aiplatform.v1beta1.FeaturestoreService.CreateFeature]. +// Request message for +// [FeatureRegistryService.CreateFeature][google.cloud.aiplatform.v1beta1.FeatureRegistryService.CreateFeature]. message CreateFeatureRequest { - // Required. The resource name of the EntityType to create a Feature. - // Format: + // Required. The resource name of the EntityType or FeatureGroup to create a + // Feature. Format for entity_type as parent: // `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` + // Format for feature_group as parent: + // `projects/{project}/locations/{location}/featureGroups/{feature_group}` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { - type: "aiplatform.googleapis.com/EntityType" + child_type: "aiplatform.googleapis.com/Feature" } ]; @@ -973,7 +974,7 @@ message CreateFeatureRequest { // This value may be up to 128 characters, and valid characters are // `[a-z0-9_]`. The first character cannot be a number. // - // The value must be unique within an EntityType. + // The value must be unique within an EntityType/FeatureGroup. string feature_id = 3 [(google.api.field_behavior) = REQUIRED]; } @@ -1008,10 +1009,14 @@ message BatchCreateFeaturesResponse { // Request message for // [FeaturestoreService.GetFeature][google.cloud.aiplatform.v1beta1.FeaturestoreService.GetFeature]. +// Request message for +// [FeatureRegistryService.GetFeature][google.cloud.aiplatform.v1beta1.FeatureRegistryService.GetFeature]. message GetFeatureRequest { // Required. The name of the Feature resource. - // Format: + // Format for entity_type as parent: // `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` + // Format for feature_group as parent: + // `projects/{project}/locations/{location}/featureGroups/{feature_group}` string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1022,10 +1027,14 @@ message GetFeatureRequest { // Request message for // [FeaturestoreService.ListFeatures][google.cloud.aiplatform.v1beta1.FeaturestoreService.ListFeatures]. +// Request message for +// [FeatureRegistryService.ListFeatures][google.cloud.aiplatform.v1beta1.FeatureRegistryService.ListFeatures]. message ListFeaturesRequest { // Required. The resource name of the Location to list Features. - // Format: + // Format for entity_type as parent: // `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` + // Format for feature_group as parent: + // `projects/{project}/locations/{location}/featureGroups/{feature_group}` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1063,10 +1072,14 @@ message ListFeaturesRequest { // A page token, received from a previous // [FeaturestoreService.ListFeatures][google.cloud.aiplatform.v1beta1.FeaturestoreService.ListFeatures] + // call or + // [FeatureRegistryService.ListFeatures][google.cloud.aiplatform.v1beta1.FeatureRegistryService.ListFeatures] // call. Provide this to retrieve the subsequent page. // // When paginating, all other parameters provided to // [FeaturestoreService.ListFeatures][google.cloud.aiplatform.v1beta1.FeaturestoreService.ListFeatures] + // or + // [FeatureRegistryService.ListFeatures][google.cloud.aiplatform.v1beta1.FeatureRegistryService.ListFeatures] // must match the call that provided the page token. string page_token = 4; @@ -1075,7 +1088,7 @@ message ListFeaturesRequest { // Supported fields: // // * `feature_id` - // * `value_type` + // * `value_type` (Not supported for FeatureRegistry Feature) // * `create_time` // * `update_time` string order_by = 5; @@ -1083,6 +1096,7 @@ message ListFeaturesRequest { // Mask specifying which fields to read. google.protobuf.FieldMask read_mask = 6; + // Only applicable for Vertex AI Feature Store (Legacy). // If set, return the most recent // [ListFeaturesRequest.latest_stats_count][google.cloud.aiplatform.v1beta1.ListFeaturesRequest.latest_stats_count] // of stats for each Feature in response. Valid value is [0, 10]. If number of @@ -1094,6 +1108,8 @@ message ListFeaturesRequest { // Response message for // [FeaturestoreService.ListFeatures][google.cloud.aiplatform.v1beta1.FeaturestoreService.ListFeatures]. +// Response message for +// [FeatureRegistryService.ListFeatures][google.cloud.aiplatform.v1beta1.FeatureRegistryService.ListFeatures]. message ListFeaturesResponse { // The Features matching the request. repeated Feature features = 1; @@ -1170,6 +1186,7 @@ message SearchFeaturesRequest { // * `featurestore_id`: Supports = comparisons. // // Examples: + // // * `description = "foo bar"` --> Any Feature with description exactly equal // to `foo bar` // * `value_type = DOUBLE` --> Features whose type is DOUBLE. @@ -1218,11 +1235,14 @@ message SearchFeaturesResponse { // Request message for // [FeaturestoreService.UpdateFeature][google.cloud.aiplatform.v1beta1.FeaturestoreService.UpdateFeature]. +// Request message for +// [FeatureRegistryService.UpdateFeature][google.cloud.aiplatform.v1beta1.FeatureRegistryService.UpdateFeature]. message UpdateFeatureRequest { // Required. The Feature's `name` field is used to identify the Feature to be // updated. // Format: // `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` + // `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}` Feature feature = 1 [(google.api.field_behavior) = REQUIRED]; // Field mask is used to specify the fields to be overwritten in the @@ -1237,16 +1257,19 @@ message UpdateFeatureRequest { // // * `description` // * `labels` - // * `disable_monitoring` + // * `disable_monitoring` (Not supported for FeatureRegistry Feature) google.protobuf.FieldMask update_mask = 2; } // Request message for // [FeaturestoreService.DeleteFeature][google.cloud.aiplatform.v1beta1.FeaturestoreService.DeleteFeature]. +// Request message for +// [FeatureRegistryService.DeleteFeature][google.cloud.aiplatform.v1beta1.FeatureRegistryService.DeleteFeature]. message DeleteFeatureRequest { // Required. The name of the Features to be deleted. // Format: // `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` + // `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}` string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1291,6 +1314,10 @@ message ImportFeatureValuesOperationMetadata { // The number rows that weren't ingested due to having timestamps outside the // retention boundary. int64 timestamp_outside_retention_rows_count = 7; + + // List of ImportFeatureValues operations running under a single EntityType + // that are blocking this operation. + repeated int64 blocking_operation_ids = 8; } // Details of operations that exports Features values. @@ -1442,6 +1469,6 @@ message EntityIdSelector { } // Source column that holds entity IDs. If not provided, entity IDs are - // extracted from the column named `entity_id`. + // extracted from the column named entity_id. string entity_id_field = 5; } diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/hyperparameter_tuning_job.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/hyperparameter_tuning_job.proto index 7f8e8c183..83d2697a5 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/hyperparameter_tuning_job.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/hyperparameter_tuning_job.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/index.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/index.proto index 35dbfe230..2f191141a 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/index.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/index.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -19,6 +19,7 @@ package google.cloud.aiplatform.v1beta1; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1beta1/deployed_index_ref.proto"; +import "google/cloud/aiplatform/v1beta1/encryption_spec.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; @@ -44,7 +45,7 @@ message Index { INDEX_UPDATE_METHOD_UNSPECIFIED = 0; // BatchUpdate: user can call UpdateIndex with files on Cloud Storage of - // datapoints to update. + // Datapoints to update. BATCH_UPDATE = 1; // StreamUpdate: user can call UpsertDatapoints/DeleteDatapoints to update @@ -120,6 +121,10 @@ message Index { // BATCH_UPDATE will be used by default. IndexUpdateMethod index_update_method = 16 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Customer-managed encryption key spec for an Index. If set, this + // Index and all sub-resources of this Index will be secured by this key. + EncryptionSpec encryption_spec = 17 [(google.api.field_behavior) = IMMUTABLE]; } // A datapoint of Index. @@ -127,16 +132,65 @@ message IndexDatapoint { // Restriction of a datapoint which describe its attributes(tokens) from each // of several attribute categories(namespaces). message Restriction { - // The namespace of this restriction. eg: color. + // The namespace of this restriction. e.g.: color. string namespace = 1; - // The attributes to allow in this namespace. eg: 'red' + // The attributes to allow in this namespace. e.g.: 'red' repeated string allow_list = 2; - // The attributes to deny in this namespace. eg: 'blue' + // The attributes to deny in this namespace. e.g.: 'blue' repeated string deny_list = 3; } + // This field allows restricts to be based on numeric comparisons rather + // than categorical tokens. + message NumericRestriction { + // Which comparison operator to use. Should be specified for queries only; + // specifying this for a datapoint is an error. + // + // Datapoints for which Operator is true relative to the query's Value + // field will be allowlisted. + enum Operator { + // Default value of the enum. + OPERATOR_UNSPECIFIED = 0; + + // Datapoints are eligible iff their value is < the query's. + LESS = 1; + + // Datapoints are eligible iff their value is <= the query's. + LESS_EQUAL = 2; + + // Datapoints are eligible iff their value is == the query's. + EQUAL = 3; + + // Datapoints are eligible iff their value is >= the query's. + GREATER_EQUAL = 4; + + // Datapoints are eligible iff their value is > the query's. + GREATER = 5; + } + + // The type of Value must be consistent for all datapoints with a given + // namespace name. This is verified at runtime. + oneof Value { + // Represents 64 bit integer. + int64 value_int = 2; + + // Represents 32 bit float. + float value_float = 3; + + // Represents 64 bit float. + double value_double = 4; + } + + // The namespace of this restriction. e.g.: cost. + string namespace = 1; + + // This MUST be specified for queries and must NOT be specified for + // datapoints. + Operator op = 5; + } + // Crowding tag is a constraint on a neighbor list produced by nearest // neighbor search requiring that no more than some value k' of the k // neighbors returned have the same value of crowding_attribute. @@ -158,10 +212,16 @@ message IndexDatapoint { // Optional. List of Restrict of the datapoint, used to perform "restricted // searches" where boolean rule are used to filter the subset of the database - // eligible for matching. See: + // eligible for matching. This uses categorical tokens. See: // https://cloud.google.com/vertex-ai/docs/matching-engine/filtering repeated Restriction restricts = 4 [(google.api.field_behavior) = OPTIONAL]; + // Optional. List of Restrict of the datapoint, used to perform "restricted + // searches" where boolean rule are used to filter the subset of the database + // eligible for matching. This uses numeric comparisons. + repeated NumericRestriction numeric_restricts = 6 + [(google.api.field_behavior) = OPTIONAL]; + // Optional. CrowdingTag of the datapoint, the number of neighbors to return // in each crowding can be configured during query. CrowdingTag crowding_tag = 5 [(google.api.field_behavior) = OPTIONAL]; diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/index_endpoint.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/index_endpoint.proto index fc387c80b..33f196baa 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/index_endpoint.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/index_endpoint.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,6 +18,7 @@ package google.cloud.aiplatform.v1beta1; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/cloud/aiplatform/v1beta1/encryption_spec.proto"; import "google/cloud/aiplatform/v1beta1/machine_resources.proto"; import "google/cloud/aiplatform/v1beta1/service_networking.proto"; import "google/protobuf/timestamp.proto"; @@ -111,6 +112,22 @@ message IndexEndpoint { // are mutually exclusive. PrivateServiceConnectConfig private_service_connect_config = 12 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If true, the deployed index will be accessible through public + // endpoint. + bool public_endpoint_enabled = 13 [(google.api.field_behavior) = OPTIONAL]; + + // Output only. If + // [public_endpoint_enabled][google.cloud.aiplatform.v1beta1.IndexEndpoint.public_endpoint_enabled] + // is true, this field will be populated with the domain name to use for this + // index endpoint. + string public_endpoint_domain_name = 14 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Immutable. Customer-managed encryption key spec for an IndexEndpoint. If + // set, this IndexEndpoint and all sub-resources of this IndexEndpoint will be + // secured by this key. + EncryptionSpec encryption_spec = 15 [(google.api.field_behavior) = IMMUTABLE]; } // A deployment of an Index. IndexEndpoints contain one or more DeployedIndexes. @@ -149,17 +166,16 @@ message DeployedIndex { // Output only. The DeployedIndex may depend on various data on its original // Index. Additionally when certain changes to the original Index are being // done (e.g. when what the Index contains is being changed) the DeployedIndex - // may be asynchronously updated in the background to reflect this changes. If - // this timestamp's value is at least the + // may be asynchronously updated in the background to reflect these changes. + // If this timestamp's value is at least the // [Index.update_time][google.cloud.aiplatform.v1beta1.Index.update_time] of // the original Index, it means that this DeployedIndex and the original Index // are in sync. If this timestamp is older, then to see which updates this - // DeployedIndex already contains (and which not), one must - // [list][Operations.ListOperations] [Operations][Operation] - // [working][Operation.name] on the original Index. Only - // the successfully completed Operations with - // [Operations.metadata.generic_metadata.update_time] - // [google.cloud.aiplatform.v1beta1.GenericOperationMetadata.update_time] + // DeployedIndex already contains (and which it does not), one must + // [list][google.longrunning.Operations.ListOperations] the operations that + // are running on the original Index. Only the successfully completed + // Operations with + // [update_time][google.cloud.aiplatform.v1beta1.GenericOperationMetadata.update_time] // equal or before this sync time are contained in this DeployedIndex. google.protobuf.Timestamp index_sync_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -175,10 +191,11 @@ message DeployedIndex { [(google.api.field_behavior) = OPTIONAL]; // Optional. A description of resources that are dedicated to the - // DeployedIndex, and that need a higher degree of manual configuration. If - // min_replica_count is not set, the default value is 2 (we don't provide SLA - // when min_replica_count=1). If max_replica_count is not set, the default - // value is min_replica_count. The max allowed replica count is 1000. + // DeployedIndex, and that need a higher degree of manual configuration. The + // field min_replica_count must be set to a value strictly greater than 0, or + // else validation will fail. We don't provide SLA when min_replica_count=1. + // If max_replica_count is not set, the default value is min_replica_count. + // The max allowed replica count is 1000. // // Available machine types for SMALL shard: // e2-standard-2 and all machine types available for MEDIUM and LARGE shard. @@ -194,13 +211,13 @@ message DeployedIndex { DedicatedResources dedicated_resources = 16 [(google.api.field_behavior) = OPTIONAL]; - // Optional. If true, private endpoint's access logs are sent to StackDriver + // Optional. If true, private endpoint's access logs are sent to Cloud // Logging. // // These logs are like standard server access logs, containing // information like timestamp and latency for each MatchRequest. // - // Note that Stackdriver logs may incur a cost, especially if the deployed + // Note that logs may incur a cost, especially if the deployed // index receives a high queries per second rate (QPS). // Estimate your costs before enabling this option. bool enable_access_logging = 8 [(google.api.field_behavior) = OPTIONAL]; @@ -216,9 +233,12 @@ message DeployedIndex { // the index might be deployed to any ip ranges under the provided VPC // network. // - // The value sohuld be the name of the address + // The value should be the name of the address // (https://cloud.google.com/compute/docs/reference/rest/v1/addresses) - // Example: 'vertex-ai-ip-range'. + // Example: ['vertex-ai-ip-range']. + // + // For more information about subnets and network IP ranges, please see + // https://cloud.google.com/vpc/docs/subnets#manually_created_subnet_ip_ranges. repeated string reserved_ip_ranges = 10 [(google.api.field_behavior) = OPTIONAL]; @@ -272,4 +292,9 @@ message IndexPrivateEndpoints { // Output only. The name of the service attachment resource. Populated if // private service connect is enabled. string service_attachment = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. PscAutomatedEndpoints is populated if private service connect + // is enabled if PscAutomatedConfig is set. + repeated PscAutomatedEndpoints psc_automated_endpoints = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/index_endpoint_service.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/index_endpoint_service.proto index fbbc5095c..14d6fc58e 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/index_endpoint_service.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/index_endpoint_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/index_service.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/index_service.proto index f74394c0e..007e6d1c5 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/index_service.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/index_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -252,6 +252,16 @@ message UpsertDatapointsRequest { // A list of datapoints to be created/updated. repeated IndexDatapoint datapoints = 2; + + // Optional. Update mask is used to specify the fields to be overwritten in + // the datapoints by the update. The fields specified in the update_mask are + // relative to each IndexDatapoint inside datapoints, not the full request. + // + // Updatable fields: + // + // * Use `all_restricts` to update both restricts and numeric_restricts. + google.protobuf.FieldMask update_mask = 3 + [(google.api.field_behavior) = OPTIONAL]; } // Response message for @@ -307,6 +317,25 @@ message NearestNeighborSearchOperationMetadata { // The `namespace` field is missing. NAMESPACE_MISSING = 7; + + // Generic catch-all error. Only used for validation failure where the + // root cause cannot be easily retrieved programmatically. + PARSING_ERROR = 8; + + // There are multiple restricts with the same `namespace` value. + DUPLICATE_NAMESPACE = 9; + + // Numeric restrict has operator specified in datapoint. + OP_IN_DATAPOINT = 10; + + // Numeric restrict has multiple values specified. + MULTIPLE_VALUES = 11; + + // Numeric restrict has invalid numeric value specified. + INVALID_NUMERIC_VALUE = 12; + + // File is not in UTF_8 format. + INVALID_ENCODING = 13; } // The error type of this record. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/io.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/io.proto index 7bc38c315..d9ed3c458 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/io.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/io.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/job_service.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/job_service.proto index abde6266b..f0668a631 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/job_service.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/job_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/job_state.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/job_state.proto index 7a53cd2cf..dd8f7332a 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/job_state.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/job_state.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -60,4 +60,7 @@ enum JobState { // The job is being updated. Only jobs in the `RUNNING` state can be updated. // After updating, the job goes back to the `RUNNING` state. JOB_STATE_UPDATING = 10; + + // The job is partially succeeded, some results may be missing due to errors. + JOB_STATE_PARTIALLY_SUCCEEDED = 11; } diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/lineage_subgraph.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/lineage_subgraph.proto index 58d308733..3e7e99a3b 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/lineage_subgraph.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/lineage_subgraph.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/machine_resources.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/machine_resources.proto index 7f26271c3..c51246f85 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/machine_resources.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/machine_resources.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -52,6 +52,10 @@ message MachineSpec { // The number of accelerators to attach to the machine. int32 accelerator_count = 3; + + // Immutable. The topology of the TPUs. Corresponds to the TPU topologies + // available from GKE. (Example: tpu_topology: "2x2x1"). + string tpu_topology = 4 [(google.api.field_behavior) = IMMUTABLE]; } // A description of resources that are dedicated to a DeployedModel, and @@ -181,6 +185,20 @@ message DiskSpec { int32 boot_disk_size_gb = 2; } +// Represents the spec of [persistent +// disk][https://cloud.google.com/compute/docs/disks/persistent-disks] options. +message PersistentDiskSpec { + // Type of the disk (default is "pd-standard"). + // Valid values: "pd-ssd" (Persistent Disk Solid State Drive) + // "pd-standard" (Persistent Disk Hard Disk Drive) + // "pd-balanced" (Balanced Persistent Disk) + // "pd-extreme" (Extreme Persistent Disk) + string disk_type = 1; + + // Size in GB of the disk (default is 100GB). + int64 disk_size_gb = 2; +} + // Represents a mount configuration for Network File System (NFS) to mount. message NfsMount { // Required. IP address of the NFS server. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/manual_batch_tuning_parameters.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/manual_batch_tuning_parameters.proto index 1131aa2e1..59eec6954 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/manual_batch_tuning_parameters.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/manual_batch_tuning_parameters.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/match_service.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/match_service.proto index bac8de1b3..88f1ba11b 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/match_service.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/match_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -102,7 +102,7 @@ message FindNeighborsRequest { } ]; - // The ID of the DeploydIndex that will serve the request. This request is + // The ID of the DeployedIndex that will serve the request. This request is // sent to a specific IndexEndpoint, as per the IndexEndpoint.network. That // IndexEndpoint also has IndexEndpoint.deployed_indexes, and each such index // has a DeployedIndex.id field. @@ -161,7 +161,7 @@ message ReadIndexDatapointsRequest { } ]; - // The ID of the DeploydIndex that will serve the request. + // The ID of the DeployedIndex that will serve the request. string deployed_index_id = 2; // IDs of the datapoints to be searched for. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/metadata_schema.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/metadata_schema.proto index a3042d2f4..01d3bdde9 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/metadata_schema.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/metadata_schema.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/metadata_service.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/metadata_service.proto index 8e23652d5..dc000c727 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/metadata_service.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/metadata_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -582,6 +582,9 @@ message ListArtifactsRequest { // To filter on metadata fields use traversal operation as follows: // `metadata..`. // For example: `metadata.field_1.number_value = 10.0` + // In case the field name contains special characters (such as colon), one + // can embed it inside double quote. + // For example: `metadata."field:1".number_value = 10.0` // * **Context based filtering**: // To filter Artifacts based on the contexts to which they belong, use the // function operator with the full resource name @@ -629,7 +632,6 @@ message UpdateArtifactRequest { Artifact artifact = 1 [(google.api.field_behavior) = REQUIRED]; // Optional. A FieldMask indicating which fields should be updated. - // Functionality of this field is not yet supported. google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = OPTIONAL]; @@ -785,6 +787,9 @@ message ListContextsRequest { // To filter on metadata fields use traversal operation as follows: // `metadata..`. // For example: `metadata.field_1.number_value = 10.0`. + // In case the field name contains special characters (such as colon), one + // can embed it inside double quote. + // For example: `metadata."field:1".number_value = 10.0` // * **Parent Child filtering**: // To filter Contexts based on parent-child relationship use the HAS // operator as follows: @@ -835,7 +840,6 @@ message UpdateContextRequest { Context context = 1 [(google.api.field_behavior) = REQUIRED]; // Optional. A FieldMask indicating which fields should be updated. - // Functionality of this field is not yet supported. google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = OPTIONAL]; @@ -1099,6 +1103,9 @@ message ListExecutionsRequest { // To filter on metadata fields use traversal operation as follows: // `metadata..` // For example: `metadata.field_1.number_value = 10.0` + // In case the field name contains special characters (such as colon), one + // can embed it inside double quote. + // For example: `metadata."field:1".number_value = 10.0` // * **Context based filtering**: // To filter Executions based on the contexts to which they belong use // the function operator with the full resource name: @@ -1146,7 +1153,6 @@ message UpdateExecutionRequest { Execution execution = 1 [(google.api.field_behavior) = REQUIRED]; // Optional. A FieldMask indicating which fields should be updated. - // Functionality of this field is not yet supported. google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = OPTIONAL]; @@ -1382,6 +1388,9 @@ message QueryArtifactLineageSubgraphRequest { // To filter on metadata fields use traversal operation as follows: // `metadata..`. // For example: `metadata.field_1.number_value = 10.0` + // In case the field name contains special characters (such as colon), one + // can embed it inside double quote. + // For example: `metadata."field:1".number_value = 10.0` // // Each of the above supported filter types can be combined together using // logical operators (`AND` & `OR`). Maximum nested expression depth allowed diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/metadata_store.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/metadata_store.proto index a96a5780e..c4d16500e 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/metadata_store.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/metadata_store.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/migratable_resource.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/migratable_resource.proto index 21ab28c9d..907f06c23 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/migratable_resource.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/migratable_resource.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/migration_service.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/migration_service.proto index 00e4f582f..f67773bc7 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/migration_service.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/migration_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/model.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/model.proto index 5801b2e42..900cd8c0d 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/model.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/model.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -22,6 +22,7 @@ import "google/cloud/aiplatform/v1beta1/deployed_model_ref.proto"; import "google/cloud/aiplatform/v1beta1/encryption_spec.proto"; import "google/cloud/aiplatform/v1beta1/env_var.proto"; import "google/cloud/aiplatform/v1beta1/explanation.proto"; +import "google/protobuf/duration.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; @@ -103,13 +104,6 @@ message Model { ]; } - // Contains information about the Large Model. - message LargeModelReference { - // Required. The unique name of the large Foundation or pre-built model. - // Like "chat-panda", "text-panda". - string name = 1 [(google.api.field_behavior) = REQUIRED]; - } - // Identifies a type of Model's prediction resources. enum DeploymentResourcesType { // Should not be used. @@ -217,12 +211,12 @@ message Model { // deploying this Model. The specification is ingested upon // [ModelService.UploadModel][google.cloud.aiplatform.v1beta1.ModelService.UploadModel], // and all binaries it contains are copied and stored internally by Vertex AI. - // Not present for AutoML Models or Large Models. + // Not required for AutoML Models. ModelContainerSpec container_spec = 9 [(google.api.field_behavior) = INPUT_ONLY]; // Immutable. The path to the directory containing the Model artifact and any - // of its supporting files. Not present for AutoML Models or Large Models. + // of its supporting files. Not required for AutoML Models. string artifact_uri = 26 [(google.api.field_behavior) = IMMUTABLE]; // Output only. When this Model is deployed, its prediction resources are @@ -402,7 +396,8 @@ message Model { EncryptionSpec encryption_spec = 24; // Output only. Source of a model. It can either be automl training pipeline, - // custom training pipeline, BigQuery ML, or existing Vertex AI Model. + // custom training pipeline, BigQuery ML, or saved and tuned from Genie or + // Model Garden. ModelSourceInfo model_source_info = 38 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -416,11 +411,14 @@ message Model { // is // `projects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}`. string metadata_artifact = 44 [(google.api.field_behavior) = OUTPUT_ONLY]; +} - // Optional. Used to specify the large model reference. - // Only present for Large Models. - LargeModelReference large_model_reference = 45 - [(google.api.field_behavior) = OPTIONAL]; +// Contains information about the Large Model. +message LargeModelReference { + // Required. The unique name of the large Foundation or pre-built model. Like + // "chat-bison", "text-bison". Or model name with version ID, like + // "chat-bison@001", "text-bison@005", etc. + string name = 1 [(google.api.field_behavior) = REQUIRED]; } // Contains the schemata used in Model's predictions and explanations via @@ -697,6 +695,32 @@ message ModelContainerSpec { // [`AIP_DEPLOYED_MODEL_ID` environment // variable](https://cloud.google.com/vertex-ai/docs/predictions/custom-container-requirements#aip-variables).) string health_route = 7 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. List of ports to expose from the container. Vertex AI sends gRPC + // prediction requests that it receives to the first port on this list. Vertex + // AI also sends liveness and health checks to this port. + // + // If you do not specify this field, gRPC requests to the container will be + // disabled. + // + // Vertex AI does not use ports other than the first one listed. This field + // corresponds to the `ports` field of the Kubernetes Containers v1 core API. + repeated Port grpc_ports = 9 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Deployment timeout. + // Limit for deployment timeout is 2 hours. + google.protobuf.Duration deployment_timeout = 10 + [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. The amount of the VM memory to reserve as the shared memory for + // the model in megabytes. + int64 shared_memory_size_mb = 11 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Specification for Kubernetes startup probe. + Probe startup_probe = 12 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Specification for Kubernetes readiness probe. + Probe health_probe = 13 [(google.api.field_behavior) = IMMUTABLE]; } // Represents a network port in a container. @@ -709,6 +733,10 @@ message Port { // Detail description of the source information of the model. message ModelSourceInfo { // Source of the model. + // Different from `objective` field, this `ModelSourceType` enum + // indicates the source from which the model was accessed or obtained, + // whereas the `objective` indicates the overall aim or function of this + // model. enum ModelSourceType { // Should not be used. MODEL_SOURCE_TYPE_UNSPECIFIED = 0; @@ -721,8 +749,57 @@ message ModelSourceInfo { // The Model is registered and sync'ed from BigQuery ML. BQML = 3; + + // The Model is saved or tuned from Model Garden. + MODEL_GARDEN = 4; + + // The Model is saved or tuned from Genie. + GENIE = 5; + + // The Model is uploaded by text embedding finetuning pipeline. + CUSTOM_TEXT_EMBEDDING = 6; + + // The Model is saved or tuned from Marketplace. + MARKETPLACE = 7; } // Type of the model source. ModelSourceType source_type = 1; + + // If this Model is copy of another Model. If true then + // [source_type][google.cloud.aiplatform.v1beta1.ModelSourceInfo.source_type] + // pertains to the original. + bool copy = 2; +} + +// Probe describes a health check to be performed against a container to +// determine whether it is alive or ready to receive traffic. +message Probe { + // ExecAction specifies a command to execute. + message ExecAction { + // Command is the command line to execute inside the container, the working + // directory for the command is root ('/') in the container's filesystem. + // The command is simply exec'd, it is not run inside a shell, so + // traditional shell instructions ('|', etc) won't work. To use a shell, you + // need to explicitly call out to that shell. Exit status of 0 is treated as + // live/healthy and non-zero is unhealthy. + repeated string command = 1; + } + + oneof probe_type { + // Exec specifies the action to take. + ExecAction exec = 1; + } + + // How often (in seconds) to perform the probe. Default to 10 seconds. + // Minimum value is 1. Must be less than timeout_seconds. + // + // Maps to Kubernetes probe argument 'periodSeconds'. + int32 period_seconds = 2; + + // Number of seconds after which the probe times out. Defaults to 1 second. + // Minimum value is 1. Must be greater or equal to period_seconds. + // + // Maps to Kubernetes probe argument 'timeoutSeconds'. + int32 timeout_seconds = 3; } diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/model_deployment_monitoring_job.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/model_deployment_monitoring_job.proto index 487077079..80b0ba28f 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/model_deployment_monitoring_job.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/model_deployment_monitoring_job.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -263,6 +263,11 @@ message ModelDeploymentMonitoringBigQueryTable { // & analysis. Format: // `bq://.model_deployment_monitoring_._` string bigquery_table_path = 3; + + // Output only. The schema version of the request/response logging BigQuery + // table. Default to v1 if unset. + string request_response_logging_schema_version = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // ModelDeploymentMonitoringObjectiveConfig contains the pair of diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/model_evaluation.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/model_evaluation.proto index 96d2d1016..065e44447 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/model_evaluation.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/model_evaluation.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -19,6 +19,7 @@ package google.cloud.aiplatform.v1beta1; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1beta1/explanation.proto"; +import "google/cloud/aiplatform/v1beta1/model_evaluation_slice.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; @@ -51,6 +52,38 @@ message ModelEvaluation { ExplanationSpec explanation_spec = 2; } + // Configuration for bias detection. + message BiasConfig { + // Specification for how the data should be sliced for bias. It contains a + // list of slices, with limitation of two slices. The first slice of data + // will be the slice_a. The second slice in the list (slice_b) will be + // compared against the first slice. If only a single slice is provided, + // then slice_a will be compared against "not slice_a". + // Below are examples with feature "education" with value "low", "medium", + // "high" in the dataset: + // + // Example 1: + // + // bias_slices = [{'education': 'low'}] + // + // A single slice provided. In this case, slice_a is the collection of data + // with 'education' equals 'low', and slice_b is the collection of data with + // 'education' equals 'medium' or 'high'. + // + // Example 2: + // + // bias_slices = [{'education': 'low'}, + // {'education': 'high'}] + // + // Two slices provided. In this case, slice_a is the collection of data + // with 'education' equals 'low', and slice_b is the collection of data with + // 'education' equals 'high'. + ModelEvaluationSlice.Slice.SliceSpec bias_slices = 1; + + // Positive labels selection on the target field. + repeated string labels = 2; + } + // Output only. The resource name of the ModelEvaluation. string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -71,8 +104,9 @@ message ModelEvaluation { google.protobuf.Timestamp create_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - // All possible [dimensions][ModelEvaluationSlice.slice.dimension] of - // ModelEvaluationSlices. The dimensions can be used as the filter of the + // All possible + // [dimensions][google.cloud.aiplatform.v1beta1.ModelEvaluationSlice.Slice.dimension] + // of ModelEvaluationSlices. The dimensions can be used as the filter of the // [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluationSlices] // request, in the form of `slice.dimension = `. repeated string slice_dimensions = 5; @@ -91,6 +125,9 @@ message ModelEvaluation { // The metadata of the ModelEvaluation. // For the ModelEvaluation uploaded from Managed Pipeline, metadata contains a // structured value with keys of "pipeline_job_id", "evaluation_dataset_type", - // "evaluation_dataset_path". + // "evaluation_dataset_path", "row_based_metrics_path". google.protobuf.Value metadata = 11; + + // Specify the configuration for bias detection. + BiasConfig bias_configs = 12; } diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/model_evaluation_slice.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/model_evaluation_slice.proto index 287ee6c31..e1aba074a 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/model_evaluation_slice.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/model_evaluation_slice.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/model_monitoring.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/model_monitoring.proto index 73bc3c6b3..de17145ec 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/model_monitoring.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/model_monitoring.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -26,6 +26,10 @@ option java_outer_classname = "ModelMonitoringProto"; option java_package = "com.google.cloud.aiplatform.v1beta1"; option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1"; option ruby_package = "Google::Cloud::AIPlatform::V1beta1"; +option (google.api.resource_definition) = { + type: "monitoring.googleapis.com/NotificationChannel" + pattern: "projects/{project}/notificationChannels/{notification_channel}" +}; // The model monitoring configuration used for Batch Prediction Job. message ModelMonitoringConfig { @@ -190,6 +194,7 @@ message ModelMonitoringObjectiveConfig { ExplanationConfig explanation_config = 5; } +// The alert config for model monitoring. message ModelMonitoringAlertConfig { // The config for email alert. message EmailAlertConfig { @@ -208,6 +213,13 @@ message ModelMonitoringAlertConfig { // This can be further sinked to Pub/Sub or any other services supported // by Cloud Logging. bool enable_logging = 2; + + // Resource names of the NotificationChannels to send alert. + // Must be of the format + // `projects//notificationChannels/` + repeated string notification_channels = 3 [(google.api.resource_reference) = { + type: "monitoring.googleapis.com/NotificationChannel" + }]; } // The config for feature monitoring threshold. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/model_service.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/model_service.proto index af56ead5a..04552c013 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/model_service.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/model_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -283,10 +283,10 @@ message UploadModelRequest { // Optional. The user-provided custom service account to use to do the model // upload. If empty, [Vertex AI Service // Agent](https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) - // will be used. Users uploading the Model must have the - // `iam.serviceAccounts.actAs` permission on this service account. Also, this - // account must belong to the project specified in the `parent` field and have - // all necessary read permissions. + // will be used to access resources needed to upload the model. This account + // must belong to the target project where the model is uploaded to, i.e., the + // project specified in the `parent` field of this request and have necessary + // read permissions (to Google Cloud Storage, Artifact Registry, etc.). string service_account = 6 [(google.api.field_behavior) = OPTIONAL]; } @@ -410,8 +410,10 @@ message ListModelVersionsRequest { // The standard list page token. // Typically obtained via - // [ListModelVersionsResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListModelVersionsResponse.next_page_token] - // of the previous [ModelService.ListModelversions][] call. + // [next_page_token][google.cloud.aiplatform.v1beta1.ListModelVersionsResponse.next_page_token] + // of the previous + // [ListModelVersions][google.cloud.aiplatform.v1beta1.ModelService.ListModelVersions] + // call. string page_token = 3; // An expression for filtering the results of the request. For field names diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/nas_job.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/nas_job.proto index 39f468cc1..d58dae4b3 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/nas_job.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/nas_job.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -99,7 +99,7 @@ message NasJob { [deprecated = true, (google.api.field_behavior) = OPTIONAL]; } -// Represents a NasTrial details along with it's parameters. If there is a +// Represents a NasTrial details along with its parameters. If there is a // corresponding train NasTrial, the train NasTrial is also returned. message NasTrialDetail { option (google.api.resource) = { diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/operation.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/operation.proto index b7ea2af4b..965d57a61 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/operation.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/operation.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/pipeline_failure_policy.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/pipeline_failure_policy.proto index 8d4ecef39..14501c2f9 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/pipeline_failure_policy.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/pipeline_failure_policy.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/pipeline_job.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/pipeline_job.proto index 88d66b176..b97931f7b 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/pipeline_job.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/pipeline_job.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -147,6 +147,9 @@ message PipelineJob { // characters, underscores and dashes. International characters are allowed. // // See https://goo.gl/xmQnxf for more information and examples of labels. + // + // Note there is some reserved label key for Vertex AI Pipelines. + // - `vertex-ai-pipelines-run-billing-id`, user set value will get overrided. map labels = 11; // Runtime config of the pipeline. @@ -184,9 +187,21 @@ message PipelineJob { (google.api.resource_reference) = { type: "compute.googleapis.com/Network" } ]; + // A list of names for the reserved ip ranges under the VPC network + // that can be used for this Pipeline Job's workload. + // + // If set, we will deploy the Pipeline Job's workload within the provided ip + // ranges. Otherwise, the job will be deployed to any ip ranges under the + // provided VPC network. + // + // Example: ['vertex-ai-ip-range']. + repeated string reserved_ip_ranges = 25; + // A template uri from where the // [PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec], - // if empty, will be downloaded. + // if empty, will be downloaded. Currently, only uri from Vertex Template + // Registry & Gallery is supported. Reference to + // https://cloud.google.com/vertex-ai/docs/pipelines/create-pipeline-template. string template_uri = 19; // Output only. Pipeline template metadata. Will fill up fields if @@ -194,6 +209,10 @@ message PipelineJob { // is from supported template registry. PipelineTemplateMetadata template_metadata = 20 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The schedule resource name. + // Only returned if the Pipeline is created by Schedule API. + string schedule_name = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Pipeline template metadata if @@ -293,7 +312,7 @@ message PipelineTaskDetail { int64 parent_task_id = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The user specified name of the task that is defined in - // [PipelineJob.spec][]. + // [pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec]. string task_name = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Task create time. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/pipeline_service.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/pipeline_service.proto index e0e4d9ee4..116acce39 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/pipeline_service.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/pipeline_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -148,6 +148,22 @@ service PipelineService { }; } + // Batch deletes PipelineJobs + // The Operation is atomic. If it fails, none of the PipelineJobs are deleted. + // If it succeeds, all of the PipelineJobs are deleted. + rpc BatchDeletePipelineJobs(BatchDeletePipelineJobsRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1beta1/{parent=projects/*/locations/*}/pipelineJobs:batchDelete" + body: "*" + }; + option (google.api.method_signature) = "parent,names"; + option (google.longrunning.operation_info) = { + response_type: "BatchDeletePipelineJobsResponse" + metadata_type: "DeleteOperationMetadata" + }; + } + // Cancels a PipelineJob. // Starts asynchronous cancellation on the PipelineJob. The server // makes a best effort to cancel the pipeline, but success is not @@ -169,6 +185,33 @@ service PipelineService { }; option (google.api.method_signature) = "name"; } + + // Batch cancel PipelineJobs. + // Firstly the server will check if all the jobs are in non-terminal states, + // and skip the jobs that are already terminated. + // If the operation failed, none of the pipeline jobs are cancelled. + // The server will poll the states of all the pipeline jobs periodically + // to check the cancellation status. + // This operation will return an LRO. + rpc BatchCancelPipelineJobs(BatchCancelPipelineJobsRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1beta1/{parent=projects/*/locations/*}/pipelineJobs:batchCancel" + body: "*" + }; + option (google.api.method_signature) = "parent,names"; + option (google.longrunning.operation_info) = { + response_type: "BatchCancelPipelineJobsResponse" + metadata_type: "BatchCancelPipelineJobsOperationMetadata" + }; + } +} + +// Runtime operation information for +// [PipelineService.BatchCancelPipelineJobs][google.cloud.aiplatform.v1beta1.PipelineService.BatchCancelPipelineJobs]. +message BatchCancelPipelineJobsOperationMetadata { + // The common part of the operation metadata. + GenericOperationMetadata generic_metadata = 1; } // Request message for @@ -312,8 +355,12 @@ message CreatePipelineJobRequest { // generated. // // This value should be less than 128 characters, and valid characters - // are /[a-z][0-9]-/. + // are `/[a-z][0-9]-/`. string pipeline_job_id = 3; + + // Optional. Whether to do component level validations before job creation. + // Currently we only support Google First Party Component/Pipelines. + bool preflight_validations = 4 [(google.api.field_behavior) = OPTIONAL]; } // Request message for @@ -435,6 +482,37 @@ message DeletePipelineJobRequest { ]; } +// Request message for +// [PipelineService.BatchDeletePipelineJobs][google.cloud.aiplatform.v1beta1.PipelineService.BatchDeletePipelineJobs]. +message BatchDeletePipelineJobsRequest { + // Required. The name of the PipelineJobs' parent resource. + // Format: `projects/{project}/locations/{location}` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "aiplatform.googleapis.com/PipelineJob" + } + ]; + + // Required. The names of the PipelineJobs to delete. + // A maximum of 32 PipelineJobs can be deleted in a batch. + // Format: + // `projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}` + repeated string names = 2 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/PipelineJob" + } + ]; +} + +// Response message for +// [PipelineService.BatchDeletePipelineJobs][google.cloud.aiplatform.v1beta1.PipelineService.BatchDeletePipelineJobs]. +message BatchDeletePipelineJobsResponse { + // PipelineJobs deleted. + repeated PipelineJob pipeline_jobs = 1; +} + // Request message for // [PipelineService.CancelPipelineJob][google.cloud.aiplatform.v1beta1.PipelineService.CancelPipelineJob]. message CancelPipelineJobRequest { @@ -448,3 +526,34 @@ message CancelPipelineJobRequest { } ]; } + +// Request message for +// [PipelineService.BatchCancelPipelineJobs][google.cloud.aiplatform.v1beta1.PipelineService.BatchCancelPipelineJobs]. +message BatchCancelPipelineJobsRequest { + // Required. The name of the PipelineJobs' parent resource. + // Format: `projects/{project}/locations/{location}` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "aiplatform.googleapis.com/PipelineJob" + } + ]; + + // Required. The names of the PipelineJobs to cancel. + // A maximum of 32 PipelineJobs can be cancelled in a batch. + // Format: + // `projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}` + repeated string names = 2 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/PipelineJob" + } + ]; +} + +// Response message for +// [PipelineService.BatchCancelPipelineJobs][google.cloud.aiplatform.v1beta1.PipelineService.BatchCancelPipelineJobs]. +message BatchCancelPipelineJobsResponse { + // PipelineJobs cancelled. + repeated PipelineJob pipeline_jobs = 1; +} diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/pipeline_state.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/pipeline_state.proto index 1d4356bb4..d7cf152d6 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/pipeline_state.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/pipeline_state.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/prediction_service.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/prediction_service.proto index 1171de23f..5eafeabf3 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/prediction_service.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/prediction_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,7 +21,10 @@ import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/httpbody.proto"; import "google/api/resource.proto"; +import "google/cloud/aiplatform/v1beta1/content.proto"; import "google/cloud/aiplatform/v1beta1/explanation.proto"; +import "google/cloud/aiplatform/v1beta1/tool.proto"; +import "google/cloud/aiplatform/v1beta1/types.proto"; import "google/protobuf/struct.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; @@ -43,6 +46,10 @@ service PredictionService { option (google.api.http) = { post: "/v1beta1/{endpoint=projects/*/locations/*/endpoints/*}:predict" body: "*" + additional_bindings { + post: "/v1beta1/{endpoint=projects/*/locations/*/publishers/*/models/*}:predict" + body: "*" + } }; option (google.api.method_signature) = "endpoint,instances,parameters"; } @@ -62,10 +69,66 @@ service PredictionService { option (google.api.http) = { post: "/v1beta1/{endpoint=projects/*/locations/*/endpoints/*}:rawPredict" body: "*" + additional_bindings { + post: "/v1beta1/{endpoint=projects/*/locations/*/publishers/*/models/*}:rawPredict" + body: "*" + } }; option (google.api.method_signature) = "endpoint,http_body"; } + // Perform an unary online prediction request to a gRPC model server for + // Vertex first-party products and frameworks. + rpc DirectPredict(DirectPredictRequest) returns (DirectPredictResponse) { + option (google.api.http) = { + post: "/v1beta1/{endpoint=projects/*/locations/*/endpoints/*}:directPredict" + body: "*" + }; + } + + // Perform an unary online prediction request to a gRPC model server for + // custom containers. + rpc DirectRawPredict(DirectRawPredictRequest) + returns (DirectRawPredictResponse) { + option (google.api.http) = { + post: "/v1beta1/{endpoint=projects/*/locations/*/endpoints/*}:directRawPredict" + body: "*" + }; + } + + // Perform a streaming online prediction request to a gRPC model server for + // Vertex first-party products and frameworks. + rpc StreamDirectPredict(stream StreamDirectPredictRequest) + returns (stream StreamDirectPredictResponse) {} + + // Perform a streaming online prediction request to a gRPC model server for + // custom containers. + rpc StreamDirectRawPredict(stream StreamDirectRawPredictRequest) + returns (stream StreamDirectRawPredictResponse) {} + + // Perform a streaming online prediction request for Vertex first-party + // products and frameworks. + rpc StreamingPredict(stream StreamingPredictRequest) + returns (stream StreamingPredictResponse) {} + + // Perform a server-side streaming online prediction request for Vertex + // LLM streaming. + rpc ServerStreamingPredict(StreamingPredictRequest) + returns (stream StreamingPredictResponse) { + option (google.api.http) = { + post: "/v1beta1/{endpoint=projects/*/locations/*/endpoints/*}:serverStreamingPredict" + body: "*" + additional_bindings { + post: "/v1beta1/{endpoint=projects/*/locations/*/publishers/*/models/*}:serverStreamingPredict" + body: "*" + } + }; + } + + // Perform a streaming online prediction request through gRPC. + rpc StreamingRawPredict(stream StreamingRawPredictRequest) + returns (stream StreamingRawPredictResponse) {} + // Perform an online explanation. // // If @@ -76,8 +139,7 @@ service PredictionService { // [deployed_model_id][google.cloud.aiplatform.v1beta1.ExplainRequest.deployed_model_id] // is not specified, all DeployedModels must have // [explanation_spec][google.cloud.aiplatform.v1beta1.DeployedModel.explanation_spec] - // populated. Only deployed AutoML tabular Models have - // explanation_spec. + // populated. rpc Explain(ExplainRequest) returns (ExplainResponse) { option (google.api.http) = { post: "/v1beta1/{endpoint=projects/*/locations/*/endpoints/*}:explain" @@ -86,6 +148,47 @@ service PredictionService { option (google.api.method_signature) = "endpoint,instances,parameters,deployed_model_id"; } + + // Perform a token counting. + rpc CountTokens(CountTokensRequest) returns (CountTokensResponse) { + option (google.api.http) = { + post: "/v1beta1/{endpoint=projects/*/locations/*/endpoints/*}:countTokens" + body: "*" + additional_bindings { + post: "/v1beta1/{endpoint=projects/*/locations/*/publishers/*/models/*}:countTokens" + body: "*" + } + }; + option (google.api.method_signature) = "endpoint,instances"; + } + + // Generate content with multimodal inputs. + rpc GenerateContent(GenerateContentRequest) + returns (GenerateContentResponse) { + option (google.api.http) = { + post: "/v1beta1/{model=projects/*/locations/*/endpoints/*}:generateContent" + body: "*" + additional_bindings { + post: "/v1beta1/{model=projects/*/locations/*/publishers/*/models/*}:generateContent" + body: "*" + } + }; + option (google.api.method_signature) = "model,contents"; + } + + // Generate content with multimodal inputs with streaming support. + rpc StreamGenerateContent(GenerateContentRequest) + returns (stream GenerateContentResponse) { + option (google.api.http) = { + post: "/v1beta1/{model=projects/*/locations/*/endpoints/*}:streamGenerateContent" + body: "*" + additional_bindings { + post: "/v1beta1/{model=projects/*/locations/*/publishers/*/models/*}:streamGenerateContent" + body: "*" + } + }; + option (google.api.method_signature) = "model,contents"; + } } // Request message for @@ -153,6 +256,11 @@ message PredictResponse { // name][google.cloud.aiplatform.v1beta1.Model.display_name] of the Model // which is deployed as the DeployedModel that this prediction hits. string model_display_name = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Request-level metadata returned by the model. The metadata + // type will be dependent upon the model implementation. + google.protobuf.Value metadata = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Request message for @@ -186,6 +294,227 @@ message RawPredictRequest { google.api.HttpBody http_body = 2; } +// Request message for +// [PredictionService.DirectPredict][google.cloud.aiplatform.v1beta1.PredictionService.DirectPredict]. +message DirectPredictRequest { + // Required. The name of the Endpoint requested to serve the prediction. + // Format: + // `projects/{project}/locations/{location}/endpoints/{endpoint}` + string endpoint = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Endpoint" + } + ]; + + // The prediction input. + repeated Tensor inputs = 2; + + // The parameters that govern the prediction. + Tensor parameters = 3; +} + +// Response message for +// [PredictionService.DirectPredict][google.cloud.aiplatform.v1beta1.PredictionService.DirectPredict]. +message DirectPredictResponse { + // The prediction output. + repeated Tensor outputs = 1; + + // The parameters that govern the prediction. + Tensor parameters = 2; +} + +// Request message for +// [PredictionService.DirectRawPredict][google.cloud.aiplatform.v1beta1.PredictionService.DirectRawPredict]. +message DirectRawPredictRequest { + // Required. The name of the Endpoint requested to serve the prediction. + // Format: + // `projects/{project}/locations/{location}/endpoints/{endpoint}` + string endpoint = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Endpoint" + } + ]; + + // Fully qualified name of the API method being invoked to perform + // predictions. + // + // Format: + // `/namespace.Service/Method/` + // Example: + // `/tensorflow.serving.PredictionService/Predict` + string method_name = 2; + + // The prediction input. + bytes input = 3; +} + +// Response message for +// [PredictionService.DirectRawPredict][google.cloud.aiplatform.v1beta1.PredictionService.DirectRawPredict]. +message DirectRawPredictResponse { + // The prediction output. + bytes output = 1; +} + +// Request message for +// [PredictionService.StreamDirectPredict][google.cloud.aiplatform.v1beta1.PredictionService.StreamDirectPredict]. +// +// The first message must contain +// [endpoint][google.cloud.aiplatform.v1beta1.StreamDirectPredictRequest.endpoint] +// field and optionally [input][]. The subsequent messages must contain +// [input][]. +message StreamDirectPredictRequest { + // Required. The name of the Endpoint requested to serve the prediction. + // Format: + // `projects/{project}/locations/{location}/endpoints/{endpoint}` + string endpoint = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Endpoint" + } + ]; + + // Optional. The prediction input. + repeated Tensor inputs = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The parameters that govern the prediction. + Tensor parameters = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// Response message for +// [PredictionService.StreamDirectPredict][google.cloud.aiplatform.v1beta1.PredictionService.StreamDirectPredict]. +message StreamDirectPredictResponse { + // The prediction output. + repeated Tensor outputs = 1; + + // The parameters that govern the prediction. + Tensor parameters = 2; +} + +// Request message for +// [PredictionService.StreamDirectRawPredict][google.cloud.aiplatform.v1beta1.PredictionService.StreamDirectRawPredict]. +// +// The first message must contain +// [endpoint][google.cloud.aiplatform.v1beta1.StreamDirectRawPredictRequest.endpoint] +// and +// [method_name][google.cloud.aiplatform.v1beta1.StreamDirectRawPredictRequest.method_name] +// fields and optionally +// [input][google.cloud.aiplatform.v1beta1.StreamDirectRawPredictRequest.input]. +// The subsequent messages must contain +// [input][google.cloud.aiplatform.v1beta1.StreamDirectRawPredictRequest.input]. +// [method_name][google.cloud.aiplatform.v1beta1.StreamDirectRawPredictRequest.method_name] +// in the subsequent messages have no effect. +message StreamDirectRawPredictRequest { + // Required. The name of the Endpoint requested to serve the prediction. + // Format: + // `projects/{project}/locations/{location}/endpoints/{endpoint}` + string endpoint = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Endpoint" + } + ]; + + // Optional. Fully qualified name of the API method being invoked to perform + // predictions. + // + // Format: + // `/namespace.Service/Method/` + // Example: + // `/tensorflow.serving.PredictionService/Predict` + string method_name = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The prediction input. + bytes input = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// Response message for +// [PredictionService.StreamDirectRawPredict][google.cloud.aiplatform.v1beta1.PredictionService.StreamDirectRawPredict]. +message StreamDirectRawPredictResponse { + // The prediction output. + bytes output = 1; +} + +// Request message for +// [PredictionService.StreamingPredict][google.cloud.aiplatform.v1beta1.PredictionService.StreamingPredict]. +// +// The first message must contain +// [endpoint][google.cloud.aiplatform.v1beta1.StreamingPredictRequest.endpoint] +// field and optionally [input][]. The subsequent messages must contain +// [input][]. +message StreamingPredictRequest { + // Required. The name of the Endpoint requested to serve the prediction. + // Format: + // `projects/{project}/locations/{location}/endpoints/{endpoint}` + string endpoint = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Endpoint" + } + ]; + + // The prediction input. + repeated Tensor inputs = 2; + + // The parameters that govern the prediction. + Tensor parameters = 3; +} + +// Response message for +// [PredictionService.StreamingPredict][google.cloud.aiplatform.v1beta1.PredictionService.StreamingPredict]. +message StreamingPredictResponse { + // The prediction output. + repeated Tensor outputs = 1; + + // The parameters that govern the prediction. + Tensor parameters = 2; +} + +// Request message for +// [PredictionService.StreamingRawPredict][google.cloud.aiplatform.v1beta1.PredictionService.StreamingRawPredict]. +// +// The first message must contain +// [endpoint][google.cloud.aiplatform.v1beta1.StreamingRawPredictRequest.endpoint] +// and +// [method_name][google.cloud.aiplatform.v1beta1.StreamingRawPredictRequest.method_name] +// fields and optionally +// [input][google.cloud.aiplatform.v1beta1.StreamingRawPredictRequest.input]. +// The subsequent messages must contain +// [input][google.cloud.aiplatform.v1beta1.StreamingRawPredictRequest.input]. +// [method_name][google.cloud.aiplatform.v1beta1.StreamingRawPredictRequest.method_name] +// in the subsequent messages have no effect. +message StreamingRawPredictRequest { + // Required. The name of the Endpoint requested to serve the prediction. + // Format: + // `projects/{project}/locations/{location}/endpoints/{endpoint}` + string endpoint = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Endpoint" + } + ]; + + // Fully qualified name of the API method being invoked to perform + // predictions. + // + // Format: + // `/namespace.Service/Method/` + // Example: + // `/tensorflow.serving.PredictionService/Predict` + string method_name = 2; + + // The prediction input. + bytes input = 3; +} + +// Response message for +// [PredictionService.StreamingRawPredict][google.cloud.aiplatform.v1beta1.PredictionService.StreamingRawPredict]. +message StreamingRawPredictResponse { + // The prediction output. + bytes output = 1; +} + // Request message for // [PredictionService.Explain][google.cloud.aiplatform.v1beta1.PredictionService.Explain]. message ExplainRequest { @@ -229,6 +558,16 @@ message ExplainRequest { // - Using different baselines for explaining the prediction results. ExplanationSpecOverride explanation_spec_override = 5; + // Optional. This field is the same as the one above, but supports multiple + // explanations to occur in parallel. The key can be any string. Each override + // will be run against the model, then its explanations will be grouped + // together. + // + // Note - these explanations are run **In Addition** to the default + // Explanation in the deployed model. + map concurrent_explanation_spec_override = 6 + [(google.api.field_behavior) = OPTIONAL]; + // If specified, this ExplainRequest will be served by the chosen // DeployedModel, overriding // [Endpoint.traffic_split][google.cloud.aiplatform.v1beta1.Endpoint.traffic_split]. @@ -238,6 +577,17 @@ message ExplainRequest { // Response message for // [PredictionService.Explain][google.cloud.aiplatform.v1beta1.PredictionService.Explain]. message ExplainResponse { + // This message is a wrapper grouping Concurrent Explanations. + message ConcurrentExplanation { + // The explanations of the Model's + // [PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions]. + // + // It has the same number of elements as + // [instances][google.cloud.aiplatform.v1beta1.ExplainRequest.instances] to + // be explained. + repeated Explanation explanations = 1; + } + // The explanations of the Model's // [PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions]. // @@ -246,6 +596,10 @@ message ExplainResponse { // explained. repeated Explanation explanations = 1; + // This field stores the results of the explanations run in parallel with + // The default explanation strategy/method. + map concurrent_explanations = 4; + // ID of the Endpoint's DeployedModel that served this explanation. string deployed_model_id = 2; @@ -254,3 +608,124 @@ message ExplainResponse { // [PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions]. repeated google.protobuf.Value predictions = 3; } + +// Request message for +// [PredictionService.CountTokens][google.cloud.aiplatform.v1beta1.PredictionService.CountTokens]. +message CountTokensRequest { + // Required. The name of the Endpoint requested to perform token counting. + // Format: + // `projects/{project}/locations/{location}/endpoints/{endpoint}` + string endpoint = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Endpoint" + } + ]; + + // Required. The name of the publisher model requested to serve the + // prediction. Format: + // `projects/{project}/locations/{location}/publishers/*/models/*` + string model = 3 [(google.api.field_behavior) = REQUIRED]; + + // Required. The instances that are the input to token counting call. + // Schema is identical to the prediction schema of the underlying model. + repeated google.protobuf.Value instances = 2 + [(google.api.field_behavior) = REQUIRED]; + + // Required. Input content. + repeated Content contents = 4 [(google.api.field_behavior) = REQUIRED]; +} + +// Response message for +// [PredictionService.CountTokens][google.cloud.aiplatform.v1beta1.PredictionService.CountTokens]. +message CountTokensResponse { + // The total number of tokens counted across all instances from the request. + int32 total_tokens = 1; + + // The total number of billable characters counted across all instances from + // the request. + int32 total_billable_characters = 2; +} + +// Request message for [PredictionService.GenerateContent]. +message GenerateContentRequest { + // Required. The name of the publisher model requested to serve the + // prediction. Format: + // `projects/{project}/locations/{location}/publishers/*/models/*` + string model = 5 [(google.api.field_behavior) = REQUIRED]; + + // Required. The content of the current conversation with the model. + // + // For single-turn queries, this is a single instance. For multi-turn queries, + // this is a repeated field that contains conversation history + latest + // request. + repeated Content contents = 2 [(google.api.field_behavior) = REQUIRED]; + + // Optional. A list of `Tools` the model may use to generate the next + // response. + // + // A `Tool` is a piece of code that enables the system to interact with + // external systems to perform an action, or set of actions, outside of + // knowledge and scope of the model. + repeated Tool tools = 6 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Per request settings for blocking unsafe content. + // Enforced on GenerateContentResponse.candidates. + repeated SafetySetting safety_settings = 3 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Generation config. + GenerationConfig generation_config = 4 + [(google.api.field_behavior) = OPTIONAL]; +} + +// Response message for [PredictionService.GenerateContent]. +message GenerateContentResponse { + // Content filter results for a prompt sent in the request. + message PromptFeedback { + // Blocked reason enumeration. + enum BlockedReason { + // Unspecified blocked reason. + BLOCKED_REASON_UNSPECIFIED = 0; + + // Candidates blocked due to safety. + SAFETY = 1; + + // Candidates blocked due to other reason. + OTHER = 2; + } + + // Output only. Blocked reason. + BlockedReason block_reason = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Safety ratings. + repeated SafetyRating safety_ratings = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. A readable block reason message. + string block_reason_message = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + } + + // Usage metadata about response(s). + message UsageMetadata { + // Number of tokens in the request. + int32 prompt_token_count = 1; + + // Number of tokens in the response(s). + int32 candidates_token_count = 2; + + int32 total_token_count = 3; + } + + // Output only. Generated candidates. + repeated Candidate candidates = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Content filter results for a prompt sent in the request. + // Note: Sent only in the first stream chunk. + // Only happens when no candidates were generated due to content violations. + PromptFeedback prompt_feedback = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Usage metadata about the response(s). + UsageMetadata usage_metadata = 4; +} diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/saved_query.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/saved_query.proto index d78fd1006..d2abc0538 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/saved_query.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/saved_query.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/schema/BUILD.bazel b/third_party/googleapis/google/cloud/aiplatform/v1beta1/schema/BUILD.bazel index c9ba9b556..7337cd4dc 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/schema/BUILD.bazel +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/schema/BUILD.bazel @@ -105,7 +105,6 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -114,21 +113,9 @@ php_proto_library( deps = [":schema_proto"], ) -php_grpc_library( - name = "schema_php_grpc", - srcs = [":schema_proto"], - deps = [":schema_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) - ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/schema/predict/instance/BUILD.bazel b/third_party/googleapis/google/cloud/aiplatform/v1beta1/schema/predict/instance/BUILD.bazel index 7b47b2176..d0720d30e 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/schema/predict/instance/BUILD.bazel +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/schema/predict/instance/BUILD.bazel @@ -119,7 +119,6 @@ py_gapic_assembly_pkg( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -128,20 +127,9 @@ php_proto_library( deps = [":instance_proto"], ) -php_grpc_library( - name = "instance_php_grpc", - srcs = [":instance_proto"], - deps = [":instance_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/schema/predict/params/BUILD.bazel b/third_party/googleapis/google/cloud/aiplatform/v1beta1/schema/predict/params/BUILD.bazel index 6981a20b3..6ac05fdee 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/schema/predict/params/BUILD.bazel +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/schema/predict/params/BUILD.bazel @@ -116,7 +116,6 @@ py_gapic_assembly_pkg( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -125,20 +124,9 @@ php_proto_library( deps = [":params_proto"], ) -php_grpc_library( - name = "params_php_grpc", - srcs = [":params_proto"], - deps = [":params_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/schema/predict/prediction/BUILD.bazel b/third_party/googleapis/google/cloud/aiplatform/v1beta1/schema/predict/prediction/BUILD.bazel index a1e26bc0c..4551f3899 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/schema/predict/prediction/BUILD.bazel +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/schema/predict/prediction/BUILD.bazel @@ -130,7 +130,6 @@ py_gapic_assembly_pkg( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -139,20 +138,9 @@ php_proto_library( deps = [":prediction_proto"], ) -php_grpc_library( - name = "prediction_php_grpc", - srcs = [":prediction_proto"], - deps = [":prediction_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/BUILD.bazel b/third_party/googleapis/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/BUILD.bazel index 5e1b43a8e..8bd7b2167 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/BUILD.bazel +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/BUILD.bazel @@ -79,7 +79,6 @@ load( "py_gapic_library", "py_grpc_library", "py_proto_library", - "py_test", ) moved_proto_library( @@ -126,7 +125,6 @@ py_gapic_assembly_pkg( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -135,20 +133,9 @@ php_proto_library( deps = [":definition_proto"], ) -php_grpc_library( - name = "definition_php_grpc", - srcs = [":definition_proto"], - deps = [":definition_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/service_networking.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/service_networking.proto index 3c3052633..9d94191e6 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/service_networking.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/service_networking.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,6 +17,7 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; @@ -36,3 +37,16 @@ message PrivateServiceConnectConfig { // attachment. repeated string project_allowlist = 2; } + +// PscAutomatedEndpoints defines the output of the forwarding rule +// automatically created by each PscAutomationConfig. +message PscAutomatedEndpoints { + // Corresponding project_id in pscAutomationConfigs + string project_id = 1; + + // Corresponding network in pscAutomationConfigs. + string network = 2; + + // Ip Address created by the automated forwarding rule. + string match_address = 3; +} diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/specialist_pool.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/specialist_pool.proto index 1c57376cd..c579bafb7 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/specialist_pool.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/specialist_pool.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/specialist_pool_service.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/specialist_pool_service.proto index 82a2f8f25..db722c0e4 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/specialist_pool_service.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/specialist_pool_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/study.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/study.proto index 03a9cfb72..7f0d690d1 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/study.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/study.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,6 +21,7 @@ import "google/api/resource.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; +import "google/protobuf/wrappers.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; @@ -195,6 +196,35 @@ message Trial { [(google.api.field_behavior) = OUTPUT_ONLY]; } +// Next ID: 3 +message TrialContext { + // A human-readable field which can store a description of this context. + // This will become part of the resulting Trial's description field. + string description = 1; + + // If/when a Trial is generated or selected from this Context, + // its Parameters will match any parameters specified here. + // (I.e. if this context specifies parameter name:'a' int_value:3, + // then a resulting Trial will have int_value:3 for its parameter named + // 'a'.) Note that we first attempt to match existing REQUESTED Trials with + // contexts, and if there are no matches, we generate suggestions in the + // subspace defined by the parameters specified here. + // NOTE: a Context without any Parameters matches the entire feasible search + // space. + repeated Trial.Parameter parameters = 2; +} + +// Time-based Constraint for Study +message StudyTimeConstraint { + oneof constraint { + // Counts the wallclock time passed since the creation of this Study. + google.protobuf.Duration max_duration = 1; + + // Compares the wallclock time to this time. Must use UTC timezone. + google.protobuf.Timestamp end_time = 2; + } +} + // Represents specification of a Study. message StudySpec { // Represents a metric to optimize. @@ -539,6 +569,62 @@ message StudySpec { [(google.api.field_behavior) = OUTPUT_ONLY]; } + // The configuration (stopping conditions) for automated stopping of a Study. + // Conditions include trial budgets, time budgets, and convergence detection. + message StudyStoppingConfig { + // If true, a Study enters STOPPING_ASAP whenever it would normally enters + // STOPPING state. + // + // The bottom line is: set to true if you want to interrupt on-going + // evaluations of Trials as soon as the study stopping condition is met. + // (Please see Study.State documentation for the source of truth). + google.protobuf.BoolValue should_stop_asap = 1; + + // Each "stopping rule" in this proto specifies an "if" condition. Before + // Vizier would generate a new suggestion, it first checks each specified + // stopping rule, from top to bottom in this list. + // Note that the first few rules (e.g. minimum_runtime_constraint, + // min_num_trials) will prevent other stopping rules from being evaluated + // until they are met. For example, setting `min_num_trials=5` and + // `always_stop_after= 1 hour` means that the Study will ONLY stop after it + // has 5 COMPLETED trials, even if more than an hour has passed since its + // creation. It follows the first applicable rule (whose "if" condition is + // satisfied) to make a stopping decision. If none of the specified rules + // are applicable, then Vizier decides that the study should not stop. + // If Vizier decides that the study should stop, the study enters + // STOPPING state (or STOPPING_ASAP if should_stop_asap = true). + // IMPORTANT: The automatic study state transition happens precisely as + // described above; that is, deleting trials or updating StudyConfig NEVER + // automatically moves the study state back to ACTIVE. If you want to + // _resume_ a Study that was stopped, 1) change the stopping conditions if + // necessary, 2) activate the study, and then 3) ask for suggestions. + // If the specified time or duration has not passed, do not stop the + // study. + StudyTimeConstraint minimum_runtime_constraint = 2; + + // If the specified time or duration has passed, stop the study. + StudyTimeConstraint maximum_runtime_constraint = 3; + + // If there are fewer than this many COMPLETED trials, do not stop the + // study. + google.protobuf.Int32Value min_num_trials = 4; + + // If there are more than this many trials, stop the study. + google.protobuf.Int32Value max_num_trials = 5; + + // If the objective value has not improved for this many consecutive + // trials, stop the study. + // + // WARNING: Effective only for single-objective studies. + google.protobuf.Int32Value max_num_trials_no_progress = 6; + + // If the objective value has not improved for this much time, stop the + // study. + // + // WARNING: Effective only for single-objective studies. + google.protobuf.Duration max_duration_no_progress = 7; + } + // The available search algorithms for the Study. enum Algorithm { // The default algorithm used by Vertex AI for [hyperparameter @@ -632,6 +718,10 @@ message StudySpec { // The configuration info/options for transfer learning. Currently supported // for Vertex AI Vizier service, not HyperParameterTuningJob TransferLearningConfig transfer_learning_config = 10; + + // Conditions for automated stopping of a Study. Enable automated stopping by + // configuring at least one condition. + optional StudyStoppingConfig study_stopping_config = 11; } // A message representing a Measurement of a Trial. A Measurement contains diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/tensorboard.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/tensorboard.proto index b4bb6897f..83738c6fa 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/tensorboard.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/tensorboard.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -86,4 +86,11 @@ message Tensorboard { // Used to perform a consistent read-modify-write updates. If not set, a blind // "overwrite" update happens. string etag = 9; + + // Used to indicate if the TensorBoard instance is the default one. + // Each project & region can have at most one default TensorBoard instance. + // Creation of a default TensorBoard instance and updating an existing + // TensorBoard instance to be default will mark all other TensorBoard + // instances (if any) as non default. + bool is_default = 12; } diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/tensorboard_data.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/tensorboard_data.proto index 7bdee1604..86048f416 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/tensorboard_data.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/tensorboard_data.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/tensorboard_experiment.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/tensorboard_experiment.proto index d4f40a27e..30813202f 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/tensorboard_experiment.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/tensorboard_experiment.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -55,20 +55,23 @@ message TensorboardExperiment { google.protobuf.Timestamp update_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - // The labels with user-defined metadata to organize your Datasets. + // The labels with user-defined metadata to organize your + // TensorboardExperiment. // - // Label keys and values can be no longer than 64 characters + // Label keys and values cannot be longer than 64 characters // (Unicode codepoints), can only contain lowercase letters, numeric // characters, underscores and dashes. International characters are allowed. // No more than 64 user labels can be associated with one Dataset (System // labels are excluded). // // See https://goo.gl/xmQnxf for more information and examples of labels. - // System reserved label keys are prefixed with "aiplatform.googleapis.com/" - // and are immutable. Following system labels exist for each Dataset: - // * "aiplatform.googleapis.com/dataset_metadata_schema": - // - output only, its value is the - // [metadata_schema's][metadata_schema_uri] title. + // System reserved label keys are prefixed with `aiplatform.googleapis.com/` + // and are immutable. The following system labels exist for each Dataset: + // + // * `aiplatform.googleapis.com/dataset_metadata_schema`: output only. Its + // value is the + // [metadata_schema's][google.cloud.aiplatform.v1beta1.Dataset.metadata_schema_uri] + // title. map labels = 6; // Used to perform consistent read-modify-write updates. If not set, a blind diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/tensorboard_run.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/tensorboard_run.proto index 5239784a1..682c20891 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/tensorboard_run.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/tensorboard_run.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/tensorboard_service.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/tensorboard_service.proto index 2dbd620ba..30352d754 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/tensorboard_service.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/tensorboard_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -66,15 +66,6 @@ service TensorboardService { option (google.api.method_signature) = "name"; } - // Returns a list of monthly active users for a given TensorBoard instance. - rpc ReadTensorboardUsage(ReadTensorboardUsageRequest) - returns (ReadTensorboardUsageResponse) { - option (google.api.http) = { - get: "/v1beta1/{tensorboard=projects/*/locations/*/tensorboards/*}:readUsage" - }; - option (google.api.method_signature) = "tensorboard"; - } - // Updates a Tensorboard. rpc UpdateTensorboard(UpdateTensorboardRequest) returns (google.longrunning.Operation) { @@ -111,6 +102,24 @@ service TensorboardService { }; } + // Returns a list of monthly active users for a given TensorBoard instance. + rpc ReadTensorboardUsage(ReadTensorboardUsageRequest) + returns (ReadTensorboardUsageResponse) { + option (google.api.http) = { + get: "/v1beta1/{tensorboard=projects/*/locations/*/tensorboards/*}:readUsage" + }; + option (google.api.method_signature) = "tensorboard"; + } + + // Returns the storage size for a given TensorBoard instance. + rpc ReadTensorboardSize(ReadTensorboardSizeRequest) + returns (ReadTensorboardSizeResponse) { + option (google.api.http) = { + get: "/v1beta1/{tensorboard=projects/*/locations/*/tensorboards/*}:readSize" + }; + option (google.api.method_signature) = "tensorboard"; + } + // Creates a TensorboardExperiment. rpc CreateTensorboardExperiment(CreateTensorboardExperimentRequest) returns (TensorboardExperiment) { @@ -228,7 +237,7 @@ service TensorboardService { rpc BatchCreateTensorboardTimeSeries(BatchCreateTensorboardTimeSeriesRequest) returns (BatchCreateTensorboardTimeSeriesResponse) { option (google.api.http) = { - post: "/v1beta1/{parent=projects/*/locations/*/tensorboards/*/experiments/*}/runs/*/timeSeries:batchCreate" + post: "/v1beta1/{parent=projects/*/locations/*/tensorboards/*/experiments/*}:batchCreate" body: "*" }; option (google.api.method_signature) = "parent,requests"; @@ -295,7 +304,7 @@ service TensorboardService { BatchReadTensorboardTimeSeriesDataRequest) returns (BatchReadTensorboardTimeSeriesDataResponse) { option (google.api.http) = { - get: "/v1beta1/{tensorboard=projects/*/locations/*/tensorboards/*}/experiments/*/runs/*/timeSeries:batchRead" + get: "/v1beta1/{tensorboard=projects/*/locations/*/tensorboards/*}:batchRead" }; option (google.api.method_signature) = "tensorboard"; } @@ -390,41 +399,6 @@ message GetTensorboardRequest { ]; } -// Request message for [TensorboardService.GetTensorboardUsage][]. -message ReadTensorboardUsageRequest { - // Required. The name of the Tensorboard resource. - // Format: - // `projects/{project}/locations/{location}/tensorboards/{tensorboard}` - string tensorboard = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "aiplatform.googleapis.com/Tensorboard" - } - ]; -} - -// Response message for -// [TensorboardService.ReadTensorboardUsage][google.cloud.aiplatform.v1beta1.TensorboardService.ReadTensorboardUsage]. -message ReadTensorboardUsageResponse { - // Per user usage data. - message PerUserUsageData { - // User's username - string username = 1; - - // Number of times the user has read data within the Tensorboard. - int64 view_count = 2; - } - - // Per month usage data - message PerMonthUsageData { - // Usage data for each user in the given month. - repeated PerUserUsageData user_usage_data = 1; - } - - // Maps year-month (YYYYMM) string to per month usage data. - map monthly_usage_data = 1; -} - // Request message for // [TensorboardService.ListTensorboards][google.cloud.aiplatform.v1beta1.TensorboardService.ListTensorboards]. message ListTensorboardsRequest { @@ -508,6 +482,63 @@ message DeleteTensorboardRequest { ]; } +// Request message for +// [TensorboardService.ReadTensorboardUsage][google.cloud.aiplatform.v1beta1.TensorboardService.ReadTensorboardUsage]. +message ReadTensorboardUsageRequest { + // Required. The name of the Tensorboard resource. + // Format: + // `projects/{project}/locations/{location}/tensorboards/{tensorboard}` + string tensorboard = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Tensorboard" + } + ]; +} + +// Response message for +// [TensorboardService.ReadTensorboardUsage][google.cloud.aiplatform.v1beta1.TensorboardService.ReadTensorboardUsage]. +message ReadTensorboardUsageResponse { + // Per user usage data. + message PerUserUsageData { + // User's username + string username = 1; + + // Number of times the user has read data within the Tensorboard. + int64 view_count = 2; + } + + // Per month usage data + message PerMonthUsageData { + // Usage data for each user in the given month. + repeated PerUserUsageData user_usage_data = 1; + } + + // Maps year-month (YYYYMM) string to per month usage data. + map monthly_usage_data = 1; +} + +// Request message for +// [TensorboardService.ReadTensorboardSize][google.cloud.aiplatform.v1beta1.TensorboardService.ReadTensorboardSize]. +message ReadTensorboardSizeRequest { + // Required. The name of the Tensorboard resource. + // Format: + // `projects/{project}/locations/{location}/tensorboards/{tensorboard}` + string tensorboard = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Tensorboard" + } + ]; +} + +// Response message for +// [TensorboardService.ReadTensorboardSize][google.cloud.aiplatform.v1beta1.TensorboardService.ReadTensorboardSize]. +message ReadTensorboardSizeResponse { + // Payload storage size for the TensorBoard + int64 storage_size_byte = 1; +} + // Request message for // [TensorboardService.CreateTensorboardExperiment][google.cloud.aiplatform.v1beta1.TensorboardService.CreateTensorboardExperiment]. message CreateTensorboardExperimentRequest { @@ -528,7 +559,7 @@ message CreateTensorboardExperimentRequest { // final component of the Tensorboard experiment's resource name. // // This value should be 1-128 characters, and valid characters - // are /[a-z][0-9]-/. + // are `/[a-z][0-9]-/`. string tensorboard_experiment_id = 3 [(google.api.field_behavior) = REQUIRED]; } @@ -678,7 +709,7 @@ message CreateTensorboardRunRequest { // component of the Tensorboard run's resource name. // // This value should be 1-128 characters, and valid characters - // are /[a-z][0-9]-/. + // are `/[a-z][0-9]-/`. string tensorboard_run_id = 3 [(google.api.field_behavior) = REQUIRED]; } @@ -1092,12 +1123,12 @@ message ExportTensorboardTimeSeriesDataRequest { int32 page_size = 3; // A page token, received from a previous - // [TensorboardService.ExportTensorboardTimeSeries][] call. - // Provide this to retrieve the subsequent page. + // [ExportTensorboardTimeSeriesData][google.cloud.aiplatform.v1beta1.TensorboardService.ExportTensorboardTimeSeriesData] + // call. Provide this to retrieve the subsequent page. // // When paginating, all other parameters provided to - // [TensorboardService.ExportTensorboardTimeSeries][] must - // match the call that provided the page token. + // [ExportTensorboardTimeSeriesData][google.cloud.aiplatform.v1beta1.TensorboardService.ExportTensorboardTimeSeriesData] + // must match the call that provided the page token. string page_token = 4; // Field to use to sort the TensorboardTimeSeries' data. @@ -1113,8 +1144,9 @@ message ExportTensorboardTimeSeriesDataResponse { repeated TimeSeriesDataPoint time_series_data_points = 1; // A token, which can be sent as - // [ExportTensorboardTimeSeriesRequest.page_token][] to retrieve the next - // page. If this field is omitted, there are no subsequent pages. + // [page_token][google.cloud.aiplatform.v1beta1.ExportTensorboardTimeSeriesDataRequest.page_token] + // to retrieve the next page. If this field is omitted, there are no + // subsequent pages. string next_page_token = 2; } diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/tensorboard_time_series.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/tensorboard_time_series.proto index cc07a7bbe..9985d67ee 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/tensorboard_time_series.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/tensorboard_time_series.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/training_pipeline.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/training_pipeline.proto index 42ab55457..b631633c6 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/training_pipeline.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/training_pipeline.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/types.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/types.proto index 4f1855616..721f13f92 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/types.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/types.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -47,3 +47,90 @@ message StringArray { // A list of string values. repeated string values = 1; } + +// A tensor value type. +message Tensor { + // Data type of the tensor. + enum DataType { + // Not a legal value for DataType. Used to indicate a DataType field has not + // been set. + DATA_TYPE_UNSPECIFIED = 0; + + // Data types that all computation devices are expected to be + // capable to support. + BOOL = 1; + + STRING = 2; + + FLOAT = 3; + + DOUBLE = 4; + + INT8 = 5; + + INT16 = 6; + + INT32 = 7; + + INT64 = 8; + + UINT8 = 9; + + UINT16 = 10; + + UINT32 = 11; + + UINT64 = 12; + } + + // The data type of tensor. + DataType dtype = 1; + + // Shape of the tensor. + repeated int64 shape = 2; + + // Type specific representations that make it easy to create tensor protos in + // all languages. Only the representation corresponding to "dtype" can + // be set. The values hold the flattened representation of the tensor in + // row major order. + // + // [BOOL][google.aiplatform.master.Tensor.DataType.BOOL] + repeated bool bool_val = 3; + + // [STRING][google.aiplatform.master.Tensor.DataType.STRING] + repeated string string_val = 14; + + // [STRING][google.aiplatform.master.Tensor.DataType.STRING] + repeated bytes bytes_val = 15; + + // [FLOAT][google.aiplatform.master.Tensor.DataType.FLOAT] + repeated float float_val = 5; + + // [DOUBLE][google.aiplatform.master.Tensor.DataType.DOUBLE] + repeated double double_val = 6; + + // [INT_8][google.aiplatform.master.Tensor.DataType.INT8] + // [INT_16][google.aiplatform.master.Tensor.DataType.INT16] + // [INT_32][google.aiplatform.master.Tensor.DataType.INT32] + repeated int32 int_val = 7; + + // [INT64][google.aiplatform.master.Tensor.DataType.INT64] + repeated int64 int64_val = 8; + + // [UINT8][google.aiplatform.master.Tensor.DataType.UINT8] + // [UINT16][google.aiplatform.master.Tensor.DataType.UINT16] + // [UINT32][google.aiplatform.master.Tensor.DataType.UINT32] + repeated uint32 uint_val = 9; + + // [UINT64][google.aiplatform.master.Tensor.DataType.UINT64] + repeated uint64 uint64_val = 10; + + // A list of tensor values. + repeated Tensor list_val = 11; + + // A map of string to tensor. + map struct_val = 12; + + // Serialized raw tensor content. + bytes tensor_val = 13; +} diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/unmanaged_container_model.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/unmanaged_container_model.proto index 354dd926a..1ae32e986 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/unmanaged_container_model.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/unmanaged_container_model.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/user_action_reference.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/user_action_reference.proto index dab68d4c9..c42eb0dbc 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/user_action_reference.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/user_action_reference.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/value.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/value.proto index 0de95affe..ae0109c8d 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/value.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/value.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/aiplatform/v1beta1/vizier_service.proto b/third_party/googleapis/google/cloud/aiplatform/v1beta1/vizier_service.proto index 0e75beaa3..af0d3e616 100644 --- a/third_party/googleapis/google/cloud/aiplatform/v1beta1/vizier_service.proto +++ b/third_party/googleapis/google/cloud/aiplatform/v1beta1/vizier_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -92,7 +92,8 @@ service VizierService { // suggested by Vertex AI Vizier. Returns a long-running // operation associated with the generation of Trial suggestions. // When this long-running operation succeeds, it will contain - // a [SuggestTrialsResponse][google.cloud.ml.v1.SuggestTrialsResponse]. + // a + // [SuggestTrialsResponse][google.cloud.aiplatform.v1beta1.SuggestTrialsResponse]. rpc SuggestTrials(SuggestTrialsRequest) returns (google.longrunning.Operation) { option (google.api.http) = { @@ -305,6 +306,44 @@ message SuggestTrialsRequest { // the service will return the identical suggested Trial if the Trial is // pending, and provide a new Trial if the last suggested Trial was completed. string client_id = 3 [(google.api.field_behavior) = REQUIRED]; + + // Optional. This allows you to specify the "context" for a Trial; a context + // is a slice (a subspace) of the search space. + // + // Typical uses for contexts: + // 1) You are using Vizier to tune a server for best performance, but there's + // a strong weekly cycle. The context specifies the day-of-week. + // This allows Tuesday to generalize from Wednesday without assuming that + // everything is identical. + // 2) Imagine you're optimizing some medical treatment for people. + // As they walk in the door, you know certain facts about them + // (e.g. sex, weight, height, blood-pressure). Put that information in the + // context, and Vizier will adapt its suggestions to the patient. + // 3) You want to do a fair A/B test efficiently. Specify the "A" and "B" + // conditions as contexts, and Vizier will generalize between "A" and "B" + // conditions. If they are similar, this will allow Vizier to converge + // to the optimum faster than if "A" and "B" were separate Studies. + // NOTE: You can also enter contexts as REQUESTED Trials, e.g. via the + // CreateTrial() RPC; that's the asynchronous option where you don't need a + // close association between contexts and suggestions. + // + // NOTE: All the Parameters you set in a context MUST be defined in the + // Study. + // NOTE: You must supply 0 or $suggestion_count contexts. + // If you don't supply any contexts, Vizier will make suggestions + // from the full search space specified in the StudySpec; if you supply + // a full set of context, each suggestion will match the corresponding + // context. + // NOTE: A Context with no features set matches anything, and allows + // suggestions from the full search space. + // NOTE: Contexts MUST lie within the search space specified in the + // StudySpec. It's an error if they don't. + // NOTE: Contexts preferentially match ACTIVE then REQUESTED trials before + // new suggestions are generated. + // NOTE: Generation of suggestions involves a match between a Context and + // (optionally) a REQUESTED trial; if that match is not fully specified, a + // suggestion will be geneated in the merged subspace. + repeated TrialContext contexts = 4 [(google.api.field_behavior) = OPTIONAL]; } // Response message for diff --git a/third_party/googleapis/google/cloud/alloydb/v1/BUILD.bazel b/third_party/googleapis/google/cloud/alloydb/v1/BUILD.bazel index 2a3a74ccc..11ae63406 100644 --- a/third_party/googleapis/google/cloud/alloydb/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/alloydb/v1/BUILD.bazel @@ -82,9 +82,9 @@ java_gapic_library( rest_numeric_enums = True, service_yaml = "alloydb_v1.yaml", test_deps = [ + ":alloydb_java_grpc", "//google/cloud/location:location_java_grpc", "//google/iam/v1:iam_java_grpc", - ":alloydb_java_grpc", ], transport = "grpc+rest", deps = [ @@ -125,7 +125,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -148,7 +147,7 @@ go_gapic_library( grpc_service_config = "alloydb_v1_grpc_service_config.json", importpath = "cloud.google.com/go/alloydb/apiv1;alloydb", metadata = True, - release_level = "beta", + release_level = "ga", rest_numeric_enums = True, service_yaml = "alloydb_v1.yaml", transport = "grpc+rest", @@ -163,19 +162,13 @@ go_gapic_library( ], ) -go_test( - name = "alloydb_go_gapic_test", - srcs = [":alloydb_go_gapic_srcjar_test"], - embed = [":alloydb_go_gapic"], - importpath = "cloud.google.com/go/alloydb/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-alloydb-v1-go", deps = [ ":alloydb_go_gapic", ":alloydb_go_gapic_srcjar-metadata.srcjar", + ":alloydb_go_gapic_srcjar-snippets.srcjar", ":alloydb_go_gapic_srcjar-test.srcjar", ":alloydb_go_proto", ], @@ -228,7 +221,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -237,23 +229,15 @@ php_proto_library( deps = [":alloydb_proto"], ) -php_grpc_library( - name = "alloydb_php_grpc", - srcs = [":alloydb_proto"], - deps = [":alloydb_php_proto"], -) - php_gapic_library( name = "alloydb_php_gapic", srcs = [":alloydb_proto_with_info"], grpc_service_config = "alloydb_v1_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "alloydb_v1.yaml", transport = "grpc+rest", - deps = [ - ":alloydb_php_grpc", - ":alloydb_php_proto", - ], + deps = [":alloydb_php_proto"], ) # Open Source Packages @@ -261,7 +245,6 @@ php_gapic_assembly_pkg( name = "google-cloud-alloydb-v1-php", deps = [ ":alloydb_php_gapic", - ":alloydb_php_grpc", ":alloydb_php_proto", ], ) @@ -322,11 +305,13 @@ ruby_cloud_gapic_library( name = "alloydb_ruby_gapic", srcs = [":alloydb_proto_with_info"], extra_protoc_parameters = [ - "ruby-cloud-gem-name=google-cloud-alloydb-v1", + "ruby-cloud-gem-name=google-cloud-alloy_db-v1", + "ruby-cloud-gem-namespace=Google::Cloud::AlloyDB::V1", ], grpc_service_config = "alloydb_v1_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "alloydb_v1.yaml", + transport = "grpc+rest", deps = [ ":alloydb_ruby_grpc", ":alloydb_ruby_proto", diff --git a/third_party/googleapis/google/cloud/alloydb/v1/alloydb_v1.yaml b/third_party/googleapis/google/cloud/alloydb/v1/alloydb_v1.yaml index f20d021d4..0afa3b67d 100644 --- a/third_party/googleapis/google/cloud/alloydb/v1/alloydb_v1.yaml +++ b/third_party/googleapis/google/cloud/alloydb/v1/alloydb_v1.yaml @@ -56,19 +56,6 @@ documentation: permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. -backend: - rules: - - selector: 'google.cloud.alloydb.v1.AlloyDBAdmin.*' - deadline: 60.0 - - selector: google.cloud.location.Locations.GetLocation - deadline: 60.0 - - selector: google.cloud.location.Locations.ListLocations - deadline: 60.0 - - selector: 'google.iam.v1.IAMPolicy.*' - deadline: 60.0 - - selector: 'google.longrunning.Operations.*' - deadline: 60.0 - http: rules: - selector: google.cloud.location.Locations.GetLocation @@ -109,94 +96,16 @@ authentication: https://www.googleapis.com/auth/cloud-platform publishing: - organization: CLOUD - new_issue_uri: 'https://issuetracker.google.com/issues/new?component=1029828' - documentation_uri: 'https://cloud.google.com/alloydb/docs' - api_short_name: 'alloydb' + new_issue_uri: https://issuetracker.google.com/issues/new?component=1194526&template=1689942 + documentation_uri: https://cloud.google.com/alloydb/docs + api_short_name: alloydb github_label: 'api: alloydb' - doc_tag_prefix: 'alloydb' - codeowner_github_teams: + doc_tag_prefix: alloydb + organization: CLOUD library_settings: - - version: 'google.cloud.alloydb.v1' + - version: google.cloud.alloydb.v1 launch_stage: GA - rest_numeric_enums: false - java_settings: - library_package: '' - service_class_names: - common: - destinations: - - PACKAGE_MANAGER - cpp_settings: - common: - destinations: - - PACKAGE_MANAGER - php_settings: - common: - destinations: - - PACKAGE_MANAGER - python_settings: - common: - destinations: - - PACKAGE_MANAGER - node_settings: - common: - destinations: - - PACKAGE_MANAGER - dotnet_settings: - common: - destinations: - - PACKAGE_MANAGER - ruby_settings: - common: - destinations: - - PACKAGE_MANAGER - go_settings: - common: - destinations: - - PACKAGE_MANAGER - - version: 'google.cloud.alloydb.v1beta' - launch_stage: BETA - rest_numeric_enums: false - java_settings: - library_package: '' - service_class_names: - common: - destinations: - - PACKAGE_MANAGER - cpp_settings: - common: - destinations: - - PACKAGE_MANAGER - php_settings: - common: - destinations: - - PACKAGE_MANAGER - python_settings: - common: - destinations: - - PACKAGE_MANAGER - node_settings: - common: - destinations: - - PACKAGE_MANAGER - dotnet_settings: - common: - destinations: - - PACKAGE_MANAGER - ruby_settings: - common: - destinations: - - PACKAGE_MANAGER - go_settings: - common: - destinations: - - PACKAGE_MANAGER - - version: 'google.cloud.alloydb.v1alpha' - launch_stage: ALPHA - rest_numeric_enums: false java_settings: - library_package: '' - service_class_names: common: destinations: - PACKAGE_MANAGER diff --git a/third_party/googleapis/google/cloud/alloydb/v1/alloydb_v1_grpc_service_config.json b/third_party/googleapis/google/cloud/alloydb/v1/alloydb_v1_grpc_service_config.json index b29d480d1..52467a28b 100644 --- a/third_party/googleapis/google/cloud/alloydb/v1/alloydb_v1_grpc_service_config.json +++ b/third_party/googleapis/google/cloud/alloydb/v1/alloydb_v1_grpc_service_config.json @@ -7,7 +7,9 @@ { "service": "google.cloud.alloydb.v1.AlloyDBAdmin", "method": "GetInstance" }, { "service": "google.cloud.alloydb.v1.AlloyDBAdmin", "method": "ListBackups" }, { "service": "google.cloud.alloydb.v1.AlloyDBAdmin", "method": "GetBackup" }, - { "service": "google.cloud.alloydb.v1.AlloyDBAdmin", "method": "ListSupportedDatabaseFlags" } + { "service": "google.cloud.alloydb.v1.AlloyDBAdmin", "method": "ListSupportedDatabaseFlags" }, + { "service": "google.cloud.alloydb.v1.AlloyDBAdmin", "method": "GenerateClientCertificate" }, + { "service": "google.cloud.alloydb.v1.AlloyDBAdmin", "method": "GetConnectionInfo" } ], "timeout": "60s", "retryPolicy": { diff --git a/third_party/googleapis/google/cloud/alloydb/v1/resources.proto b/third_party/googleapis/google/cloud/alloydb/v1/resources.proto index 86885370d..9042f00fa 100644 --- a/third_party/googleapis/google/cloud/alloydb/v1/resources.proto +++ b/third_party/googleapis/google/cloud/alloydb/v1/resources.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -30,7 +30,7 @@ option java_multiple_files = true; option java_outer_classname = "ResourcesProto"; option java_package = "com.google.cloud.alloydb.v1"; option php_namespace = "Google\\Cloud\\AlloyDb\\V1"; -option ruby_package = "Google::Cloud::AlloyDb::V1"; +option ruby_package = "Google::Cloud::AlloyDB::V1"; option (google.api.resource_definition) = { type: "cloudkms.googleapis.com/CryptoKeyVersion" pattern: "projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}" @@ -40,18 +40,6 @@ option (google.api.resource_definition) = { pattern: "projects/{project}/global/networks/{network}" }; -// The supported database engine versions. -enum DatabaseVersion { - // This is an unknown database version. - DATABASE_VERSION_UNSPECIFIED = 0; - - // DEPRECATED - The database version is Postgres 13. - POSTGRES_13 = 1 [deprecated = true]; - - // The database version is Postgres 14. - POSTGRES_14 = 2; -} - // View on Instance. Pass this enum to rpcs that returns an Instance message to // control which subsets of fields to get. enum InstanceView { @@ -68,6 +56,35 @@ enum InstanceView { INSTANCE_VIEW_FULL = 2; } +// View on Cluster. Pass this enum to rpcs that returns a cluster message to +// control which subsets of fields to get. +enum ClusterView { + // CLUSTER_VIEW_UNSPECIFIED Not specified, equivalent to BASIC. + CLUSTER_VIEW_UNSPECIFIED = 0; + + // BASIC server responses include all the relevant cluster details, excluding + // Cluster.ContinuousBackupInfo.EarliestRestorableTime and other view-specific + // fields. The default value. + CLUSTER_VIEW_BASIC = 1; + + // CONTINUOUS_BACKUP response returns all the fields from BASIC plus + // the earliest restorable time if continuous backups are enabled. + // May increase latency. + CLUSTER_VIEW_CONTINUOUS_BACKUP = 2; +} + +// The supported database engine versions. +enum DatabaseVersion { + // This is an unknown database version. + DATABASE_VERSION_UNSPECIFIED = 0; + + // DEPRECATED - The database version is Postgres 13. + POSTGRES_13 = 1 [deprecated = true]; + + // The database version is Postgres 14. + POSTGRES_14 = 2; +} + // The username/password for a database user. Used for specifying initial // users at cluster creation time. message UserPassword { @@ -141,25 +158,31 @@ message EncryptionInfo { ]; } -// SSL configuration for an AlloyDB Cluster. +// SSL configuration. message SslConfig { // SSL mode options. enum SslMode { - // SSL mode not specified. Defaults to SSL_MODE_ALLOW. + // SSL mode not specified. Defaults to ENCRYPTED_ONLY. SSL_MODE_UNSPECIFIED = 0; // SSL connections are optional. CA verification not enforced. - SSL_MODE_ALLOW = 1; + SSL_MODE_ALLOW = 1 [deprecated = true]; // SSL connections are required. CA verification not enforced. // Clients may use locally self-signed certificates (default psql client // behavior). - SSL_MODE_REQUIRE = 2; + SSL_MODE_REQUIRE = 2 [deprecated = true]; // SSL connections are required. CA verification enforced. // Clients must have certificates signed by a Cluster CA, e.g. via // GenerateClientCertificate. - SSL_MODE_VERIFY_CA = 3; + SSL_MODE_VERIFY_CA = 3 [deprecated = true]; + + // SSL connections are optional. CA verification not enforced. + ALLOW_UNENCRYPTED_AND_ENCRYPTED = 4; + + // SSL connections are required. CA verification not enforced. + ENCRYPTED_ONLY = 5; } // Certificate Authority (CA) source for SSL/TLS certificates. @@ -279,6 +302,48 @@ message AutomatedBackupPolicy { map labels = 7; } +// ContinuousBackupConfig describes the continuous backups recovery +// configurations of a cluster. +message ContinuousBackupConfig { + // Whether ContinuousBackup is enabled. + optional bool enabled = 1; + + // The number of days that are eligible to restore from using PITR. To support + // the entire recovery window, backups and logs are retained for one day more + // than the recovery window. If not set, defaults to 14 days. + int32 recovery_window_days = 4; + + // The encryption config can be specified to encrypt the + // backups with a customer-managed encryption key (CMEK). When this field is + // not specified, the backup will then use default encryption scheme to + // protect the user data. + EncryptionConfig encryption_config = 3; +} + +// ContinuousBackupInfo describes the continuous backup properties of a +// cluster. +message ContinuousBackupInfo { + // Output only. The encryption information for the WALs and backups required + // for ContinuousBackup. + EncryptionInfo encryption_info = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. When ContinuousBackup was most recently enabled. Set to null + // if ContinuousBackup is not enabled. + google.protobuf.Timestamp enabled_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Days of the week on which a continuous backup is taken. Output + // only field. Ignored if passed into the request. + repeated google.type.DayOfWeek schedule = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The earliest restorable time that can be restored to. Output + // only field. + google.protobuf.Timestamp earliest_restorable_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} + // Message describing a BackupSource. message BackupSource { // Output only. The system-generated UID of the backup which was used to @@ -294,6 +359,18 @@ message BackupSource { ]; } +// Message describing a ContinuousBackupSource. +message ContinuousBackupSource { + // Required. The source cluster from which to restore. This cluster must have + // continuous backup enabled for this operation to succeed. For the required + // format, see the comment on the Cluster.name field. + string cluster = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The point in time to restore to. + google.protobuf.Timestamp point_in_time = 2 + [(google.api.field_behavior) = REQUIRED]; +} + // A cluster is a collection of regional AlloyDB resources. It can include a // primary instance and one or more read pool instances. // All cluster resources share a storage layer, which scales as needed. @@ -304,6 +381,31 @@ message Cluster { style: DECLARATIVE_FRIENDLY }; + // Metadata related to network configuration. + message NetworkConfig { + // Required. The resource link for the VPC network in which cluster + // resources are created and from which they are accessible via Private IP. + // The network must belong to the same project as the cluster. It is + // specified in the form: + // "projects/{project_number}/global/networks/{network_id}". This is + // required to create a cluster. + string network = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "compute.googleapis.com/Network" + } + ]; + + // Optional. Name of the allocated IP range for the private IP AlloyDB + // cluster, for example: "google-managed-services-default". If set, the + // instance IPs for this cluster will be created in the allocated range. The + // range name must comply with RFC 1035. Specifically, the name must be 1-63 + // characters long and match the regular expression + // `[a-z]([-a-z0-9]*[a-z0-9])?`. + // Field name is intended to be consistent with Cloud SQL. + string allocated_ip_range = 2 [(google.api.field_behavior) = OPTIONAL]; + } + // Configuration information for the secondary cluster. This should be set // if and only if the cluster is of type SECONDARY. message SecondaryConfig { @@ -426,18 +528,21 @@ message Cluster { // the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster` ClusterType cluster_type = 24 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The database engine major version. This is an output-only - // field and it's populated at the Cluster creation time. This field cannot be - // changed after cluster creation. - DatabaseVersion database_version = 9 - [(google.api.field_behavior) = OUTPUT_ONLY]; + // Optional. The database engine major version. This is an optional field and + // it is populated at the Cluster creation time. If a database version is not + // supplied at cluster creation time, then a default database version will + // be used. + DatabaseVersion database_version = 9 [(google.api.field_behavior) = OPTIONAL]; + + NetworkConfig network_config = 29 [(google.api.field_behavior) = OPTIONAL]; // Required. The resource link for the VPC network in which cluster resources // are created and from which they are accessible via Private IP. The network // must belong to the same project as the cluster. It is specified in the - // form: "projects/{project_number}/global/networks/{network_id}". This is - // required to create a cluster. It can be updated, but it cannot be removed. + // form: "projects/{project}/global/networks/{network_id}". This is required + // to create a cluster. Deprecated, use network_config.network instead. string network = 10 [ + deprecated = true, (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { type: "compute.googleapis.com/Network" } ]; @@ -470,8 +575,8 @@ message Cluster { // documentation for the message type. AutomatedBackupPolicy automated_backup_policy = 17; - // SSL configuration for this AlloyDB Cluster. - SslConfig ssl_config = 18; + // SSL configuration for this AlloyDB cluster. + SslConfig ssl_config = 18 [deprecated = true]; // Optional. The encryption config can be specified to encrypt the data disks // and other persistent data resources of a cluster with a @@ -485,6 +590,14 @@ message Cluster { EncryptionInfo encryption_info = 20 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Optional. Continuous backup configuration for this cluster. + ContinuousBackupConfig continuous_backup_config = 27 + [(google.api.field_behavior) = OPTIONAL]; + + // Output only. Continuous backup properties for this cluster. + ContinuousBackupInfo continuous_backup_info = 28 + [(google.api.field_behavior) = OUTPUT_ONLY]; + // Cross Region replication config specific to SECONDARY cluster. SecondaryConfig secondary_config = 22; @@ -553,6 +666,16 @@ message Instance { int32 node_count = 1; } + // Client connection configuration + message ClientConnectionConfig { + // Optional. Configuration to enforce connectors only (ex: AuthProxy) + // connections to the database. + bool require_connectors = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. SSL config option for this instance. + SslConfig ssl_config = 2 [(google.api.field_behavior) = OPTIONAL]; + } + // Instance State enum State { // The state of the instance is unknown. @@ -610,10 +733,11 @@ message Instance { } // The Availability type of an instance. Potential values: - //
ZONAL: The instance serves data from only one zone. - // Outages in that zone affect instance availability. - //
REGIONAL: The instance can serve data from more than one zone - // in a region (it is highly available). + // + // - ZONAL: The instance serves data from only one zone. Outages in that + // zone affect instance availability. + // - REGIONAL: The instance can serve data from more than one zone in a + // region (it is highly available). enum AvailabilityType { // This is an unknown Availability type. AVAILABILITY_TYPE_UNSPECIFIED = 0; @@ -669,8 +793,11 @@ message Instance { MachineConfig machine_config = 10; // Availability type of an Instance. - // Defaults to REGIONAL for both primary and read instances. - // Note that primary and read instances can have different availability types. + // If empty, defaults to REGIONAL for primary instances. + // For read pools, availability_type is always UNSPECIFIED. Instances in the + // read pools are evenly distributed across available zones within the region + // (i.e. read pools with more than one node will have a node in at + // least two zones). AvailabilityType availability_type = 11; // The Compute Engine zone that the instance should serve from, per @@ -708,7 +835,8 @@ message Instance { // Configuration for query insights. QueryInsightsInstanceConfig query_insights_config = 21; - // Read pool specific config. + // Read pool instance configuration. + // This is required if the value of instanceType is READ_POOL. ReadPoolConfig read_pool_config = 14; // Output only. The IP address for the Instance. @@ -729,6 +857,32 @@ message Instance { // This is distinct from labels. // https://google.aip.dev/128 map annotations = 18; + + // Optional. Client connection specific configurations + ClientConnectionConfig client_connection_config = 23 + [(google.api.field_behavior) = OPTIONAL]; +} + +// ConnectionInfo singleton resource. +// https://google.aip.dev/156 +message ConnectionInfo { + option (google.api.resource) = { + type: "alloydb.googleapis.com/ConnectionInfo" + pattern: "projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}/connectionInfo" + }; + + // The name of the ConnectionInfo singleton resource, e.g.: + // projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo + // This field currently has no semantic meaning. + string name = 1; + + // Output only. The private network IP address for the Instance. This is the + // default IP for the instance and is always created (even if enable_public_ip + // is set). This is the connection endpoint for an end-user application. + string ip_address = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The unique ID of the Instance. + string instance_uid = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Message describing Backup object @@ -739,6 +893,29 @@ message Backup { style: DECLARATIVE_FRIENDLY }; + // A backup's position in a quantity-based retention queue, of backups with + // the same source cluster and type, with length, retention, specified by the + // backup's retention policy. + // Once the position is greater than the retention, the backup is eligible to + // be garbage collected. + // + // Example: 5 backups from the same source cluster and type with a + // quantity-based retention of 3 and denoted by backup_id (position, + // retention). + // + // Safe: backup_5 (1, 3), backup_4, (2, 3), backup_3 (3, 3). + // Awaiting garbage collection: backup_2 (4, 3), backup_1 (5, 3) + message QuantityBasedExpiry { + // Output only. The backup's position among its backups with the same source + // cluster and type, by descending chronological order create time(i.e. + // newest first). + int32 retention_count = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The length of the quantity-based queue, specified by the + // backup's retention policy. + int32 total_retention_count = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + } + // Backup State enum State { // The state of the backup is unknown. @@ -822,7 +999,7 @@ message Backup { string cluster_uid = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; // Required. The full resource name of the backup source cluster - // (e.g., projects//locations//clusters/). + // (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}). string cluster_name = 10 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { type: "alloydb.googleapis.com/Cluster" } @@ -861,6 +1038,18 @@ message Backup { // added to the backup's create_time. google.protobuf.Timestamp expiry_time = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The QuantityBasedExpiry of the backup, specified by the + // backup's retention policy. Once the expiry quantity is over retention, the + // backup is eligible to be garbage collected. + QuantityBasedExpiry expiry_quantity = 20 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The database engine major version of the cluster this backup + // was created from. Any restored cluster created from this backup will have + // the same database version. + DatabaseVersion database_version = 22 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // SupportedDatabaseFlag gives general information about a database flag, @@ -943,3 +1132,39 @@ message SupportedDatabaseFlag { // availability SLO's). bool requires_db_restart = 6; } + +// Message describing User object. +message User { + option (google.api.resource) = { + type: "alloydb.googleapis.com/User" + pattern: "projects/{project}/locations/{location}/clusters/{cluster}/users/{user}" + style: DECLARATIVE_FRIENDLY + }; + + // Enum that details the user type. + enum UserType { + // Unspecified user type. + USER_TYPE_UNSPECIFIED = 0; + + // The default user type that authenticates via password-based + // authentication. + ALLOYDB_BUILT_IN = 1; + + // Database user that can authenticate via IAM-Based authentication. + ALLOYDB_IAM_USER = 2; + } + + // Output only. Name of the resource in the form of + // projects/{project}/locations/{location}/cluster/{cluster}/users/{user}. + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Input only. Password for the user. + string password = 2 [(google.api.field_behavior) = INPUT_ONLY]; + + // Optional. List of database roles this user has. + // The database role strings are subject to the PostgreSQL naming conventions. + repeated string database_roles = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Type of this user. + UserType user_type = 5 [(google.api.field_behavior) = OPTIONAL]; +} diff --git a/third_party/googleapis/google/cloud/alloydb/v1/service.proto b/third_party/googleapis/google/cloud/alloydb/v1/service.proto index faba39ad8..8c47a29b6 100644 --- a/third_party/googleapis/google/cloud/alloydb/v1/service.proto +++ b/third_party/googleapis/google/cloud/alloydb/v1/service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -22,6 +22,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/alloydb/v1/resources.proto"; import "google/longrunning/operations.proto"; +import "google/protobuf/duration.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; @@ -33,7 +34,7 @@ option java_multiple_files = true; option java_outer_classname = "ServiceProto"; option java_package = "com.google.cloud.alloydb.v1"; option php_namespace = "Google\\Cloud\\AlloyDb\\V1"; -option ruby_package = "Google::Cloud::AlloyDb::V1"; +option ruby_package = "Google::Cloud::AlloyDB::V1"; // Service describing handlers for resources service AlloyDBAdmin { @@ -98,6 +99,23 @@ service AlloyDBAdmin { }; } + // Promotes a SECONDARY cluster. This turns down replication + // from the PRIMARY cluster and promotes a secondary cluster + // into its own standalone cluster. + // Imperative only. + rpc PromoteCluster(PromoteClusterRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/*/clusters/*}:promote" + body: "*" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "Cluster" + metadata_type: "OperationMetadata" + }; + } + // Creates a new Cluster in a given project and location, with a volume // restored from the provided source, either a backup ID or a point-in-time // and a source cluster. @@ -113,6 +131,21 @@ service AlloyDBAdmin { }; } + // Creates a cluster of type SECONDARY in the given location using + // the primary cluster as the source. + rpc CreateSecondaryCluster(CreateSecondaryClusterRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*}/clusters:createsecondary" + body: "cluster" + }; + option (google.api.method_signature) = "parent,cluster,cluster_id"; + option (google.longrunning.operation_info) = { + response_type: "Cluster" + metadata_type: "OperationMetadata" + }; + } + // Lists Instances in a given project and location. rpc ListInstances(ListInstancesRequest) returns (ListInstancesResponse) { option (google.api.http) = { @@ -143,6 +176,20 @@ service AlloyDBAdmin { }; } + // Creates a new SECONDARY Instance in a given project and location. + rpc CreateSecondaryInstance(CreateSecondaryInstanceRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*/clusters/*}/instances:createsecondary" + body: "instance" + }; + option (google.api.method_signature) = "parent,instance,instance_id"; + option (google.longrunning.operation_info) = { + response_type: "Instance" + metadata_type: "OperationMetadata" + }; + } + // Creates new instances under the given project, location and cluster. // There can be only one primary instance in a cluster. If the primary // instance exists in the cluster as well as this request, then API will @@ -208,6 +255,20 @@ service AlloyDBAdmin { }; } + // Injects fault in an instance. + // Imperative only. + rpc InjectFault(InjectFaultRequest) returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/*/clusters/*/instances/*}:injectFault" + body: "*" + }; + option (google.api.method_signature) = "fault_type,name"; + option (google.longrunning.operation_info) = { + response_type: "Instance" + metadata_type: "OperationMetadata" + }; + } + // Restart an Instance in a cluster. // Imperative only. rpc RestartInstance(RestartInstanceRequest) @@ -285,6 +346,70 @@ service AlloyDBAdmin { }; option (google.api.method_signature) = "parent"; } + + // Generate a client certificate signed by a Cluster CA. + // The sole purpose of this endpoint is to support AlloyDB connectors and the + // Auth Proxy client. The endpoint's behavior is subject to change without + // notice, so do not rely on its behavior remaining constant. Future changes + // will not break AlloyDB connectors or the Auth Proxy client. + rpc GenerateClientCertificate(GenerateClientCertificateRequest) + returns (GenerateClientCertificateResponse) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*/clusters/*}:generateClientCertificate" + body: "*" + }; + option (google.api.method_signature) = "parent"; + } + + // Get instance metadata used for a connection. + rpc GetConnectionInfo(GetConnectionInfoRequest) returns (ConnectionInfo) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*/clusters/*/instances/*}/connectionInfo" + }; + option (google.api.method_signature) = "parent"; + } + + // Lists Users in a given project and location. + rpc ListUsers(ListUsersRequest) returns (ListUsersResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*/clusters/*}/users" + }; + option (google.api.method_signature) = "parent"; + } + + // Gets details of a single User. + rpc GetUser(GetUserRequest) returns (User) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*/clusters/*/users/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Creates a new User in a given project, location, and cluster. + rpc CreateUser(CreateUserRequest) returns (User) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*/clusters/*}/users" + body: "user" + }; + option (google.api.method_signature) = "parent,user,user_id"; + } + + // Updates the parameters of a single User. + rpc UpdateUser(UpdateUserRequest) returns (User) { + option (google.api.http) = { + patch: "/v1/{user.name=projects/*/locations/*/clusters/*/users/*}" + body: "user" + }; + option (google.api.method_signature) = "user,update_mask"; + } + + // Deletes a single User. + rpc DeleteUser(DeleteUserRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1/{name=projects/*/locations/*/clusters/*/users/*}" + }; + option (google.api.method_signature) = "name"; + } } // Message for requesting list of Clusters @@ -334,11 +459,52 @@ message GetClusterRequest { (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { type: "alloydb.googleapis.com/Cluster" } ]; + + // Optional. The view of the cluster to return. Returns all default fields if + // not set. + ClusterView view = 2 [(google.api.field_behavior) = OPTIONAL]; +} + +message CreateSecondaryClusterRequest { + // Required. The location of the new cluster. For the required + // format, see the comment on the Cluster.name field. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "alloydb.googleapis.com/Cluster" + } + ]; + + // Required. ID of the requesting object (the secondary cluster). + string cluster_id = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. Configuration of the requesting object (the secondary cluster). + Cluster cluster = 3 [(google.api.field_behavior) = REQUIRED]; + + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes since the first request. + // + // For example, consider a situation where you make an initial request and + // the request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If set, performs request validation (e.g. permission checks and + // any other type of validation), but do not actually execute the create + // request. + bool validate_only = 6 [(google.api.field_behavior) = OPTIONAL]; } // Message for creating a Cluster message CreateClusterRequest { - // Required. The name of the parent resource. For the required format, see the + // Required. The location of the new cluster. For the required format, see the // comment on the Cluster.name field. string parent = 1 [ (google.api.field_behavior) = REQUIRED, @@ -449,6 +615,40 @@ message DeleteClusterRequest { bool force = 5 [(google.api.field_behavior) = OPTIONAL]; } +// Message for promoting a Cluster +message PromoteClusterRequest { + // Required. The name of the resource. For the required format, see the + // comment on the Cluster.name field + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "alloydb.googleapis.com/Cluster" } + ]; + + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes after the first request. + // + // For example, consider a situation where you make an initial request and + // the request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The current etag of the Cluster. + // If an etag is provided and does not match the current etag of the Cluster, + // deletion will be blocked and an ABORTED error will be returned. + string etag = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If set, performs request validation (e.g. permission checks and + // any other type of validation), but do not actually execute the delete. + bool validate_only = 4 [(google.api.field_behavior) = OPTIONAL]; +} + // Message for restoring a Cluster from a backup or another cluster at a given // point in time. message RestoreClusterRequest { @@ -457,6 +657,10 @@ message RestoreClusterRequest { oneof source { // Backup source. BackupSource backup_source = 4; + + // ContinuousBackup source. Continuous backup needs to be enabled in the + // source cluster for this operation to succeed. + ContinuousBackupSource continuous_backup_source = 8; } // Required. The name of the parent resource. For the required format, see the @@ -589,6 +793,44 @@ message CreateInstanceRequest { bool validate_only = 5 [(google.api.field_behavior) = OPTIONAL]; } +// Message for creating a Secondary Instance +message CreateSecondaryInstanceRequest { + // Required. The name of the parent resource. For the required format, see the + // comment on the Instance.name field. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "alloydb.googleapis.com/Instance" + } + ]; + + // Required. ID of the requesting object. + string instance_id = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The resource being created + Instance instance = 3 [(google.api.field_behavior) = REQUIRED]; + + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes since the first request. + // + // For example, consider a situation where you make an initial request and + // the request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If set, performs request validation (e.g. permission checks and + // any other type of validation), but do not actually execute the create + // request. + bool validate_only = 5 [(google.api.field_behavior) = OPTIONAL]; +} + // See usage below for notes. message CreateInstanceRequests { // Required. Primary and read replica instances to be created. This list @@ -633,6 +875,7 @@ message BatchCreateInstancesResponse { } // Message for metadata that is specific to BatchCreateInstances API. +// NEXT_ID: 3 message BatchCreateInstancesMetadata { // The instances being created in the API call. Each string in this list // is the server defined resource path for target instances in the request @@ -660,6 +903,7 @@ message BatchCreateInstancesMetadata { // 2. Instance2 = ROLLED_BACK // 3. Instance3 = FAILED // 4. Instance4 = FAILED +// // However, while the operation is running, the instance might be in other // states including PENDING_CREATE, ACTIVE, DELETING and CREATING. The states // / do not get further updated once the operation is done. @@ -819,6 +1063,51 @@ message FailoverInstanceRequest { bool validate_only = 3 [(google.api.field_behavior) = OPTIONAL]; } +// Message for triggering fault injection on an instance +message InjectFaultRequest { + // FaultType contains all valid types of faults that can be injected to an + // instance. + enum FaultType { + // The fault type is unknown. + FAULT_TYPE_UNSPECIFIED = 0; + + // Stop the VM + STOP_VM = 1; + } + + // Required. The type of fault to be injected in an instance. + FaultType fault_type = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The name of the resource. For the required format, see the + // comment on the Instance.name field. + string name = 2 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "alloydb.googleapis.com/Instance" + } + ]; + + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes after the first request. + // + // For example, consider a situation where you make an initial request and + // the request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If set, performs request validation (e.g. permission checks and + // any other type of validation), but do not actually execute the fault + // injection. + bool validate_only = 4 [(google.api.field_behavior) = OPTIONAL]; +} + message RestartInstanceRequest { // Required. The name of the resource. For the required format, see the // comment on the Instance.name field. @@ -1034,6 +1323,86 @@ message ListSupportedDatabaseFlagsResponse { string next_page_token = 2; } +// Message for requests to generate a client certificate signed by the Cluster +// CA. +message GenerateClientCertificateRequest { + // Required. The name of the parent resource. The required format is: + // * projects/{project}/locations/{location}/clusters/{cluster} + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "alloydb.googleapis.com/Cluster" } + ]; + + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes after the first request. + // + // For example, consider a situation where you make an initial request and + // the request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. An optional hint to the endpoint to generate the client + // certificate with the requested duration. The duration can be from 1 hour to + // 24 hours. The endpoint may or may not honor the hint. If the hint is left + // unspecified or is not honored, then the endpoint will pick an appropriate + // default duration. + google.protobuf.Duration cert_duration = 4 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The public key from the client. + string public_key = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. An optional hint to the endpoint to generate a client + // ceritificate that can be used by AlloyDB connectors to exchange additional + // metadata with the server after TLS handshake. + bool use_metadata_exchange = 6 [(google.api.field_behavior) = OPTIONAL]; +} + +// Message returned by a GenerateClientCertificate operation. +message GenerateClientCertificateResponse { + // Output only. The pem-encoded chain that may be used to verify the X.509 + // certificate. Expected to be in issuer-to-root order according to RFC 5246. + repeated string pem_certificate_chain = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. The pem-encoded cluster ca X.509 certificate. + string ca_cert = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// Request message for GetConnectionInfo. +message GetConnectionInfoRequest { + // Required. The name of the parent resource. The required format is: + // projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance} + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "alloydb.googleapis.com/Instance" + } + ]; + + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes after the first request. + // + // For example, consider a situation where you make an initial request and + // the request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 2 [(google.api.field_behavior) = OPTIONAL]; +} + // Represents the metadata of the long-running operation. message OperationMetadata { // Request specific metadata, if any. @@ -1070,3 +1439,150 @@ message OperationMetadata { // Output only. API version used to start the operation. string api_version = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; } + +// Message for requesting list of Users +message ListUsersRequest { + // Required. Parent value for ListUsersRequest + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "alloydb.googleapis.com/User" + } + ]; + + // Optional. Requested page size. Server may return fewer items than + // requested. If unspecified, server will pick an appropriate default. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. A token identifying a page of results the server should return. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Filtering results + string filter = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Hint for how to order the results + string order_by = 5 [(google.api.field_behavior) = OPTIONAL]; +} + +// Message for response to listing Users +message ListUsersResponse { + // The list of User + repeated User users = 1; + + // A token identifying a page of results the server should return. + string next_page_token = 2; + + // Locations that could not be reached. + repeated string unreachable = 3; +} + +// Message for getting a User +message GetUserRequest { + // Required. The name of the resource. For the required format, see the + // comment on the User.name field. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "alloydb.googleapis.com/User" } + ]; +} + +// Message for creating a User +message CreateUserRequest { + // Required. Value for parent. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "alloydb.googleapis.com/User" + } + ]; + + // Required. ID of the requesting object. + string user_id = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The resource being created + User user = 3 [(google.api.field_behavior) = REQUIRED]; + + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes since the first request. + // + // For example, consider a situation where you make an initial request and + // the request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If set, the backend validates the request, but doesn't actually + // execute it. + bool validate_only = 5 [(google.api.field_behavior) = OPTIONAL]; +} + +// Message for updating a User +message UpdateUserRequest { + // Optional. Field mask is used to specify the fields to be overwritten in the + // User resource by the update. + // The fields specified in the update_mask are relative to the resource, not + // the full request. A field will be overwritten if it is in the mask. If the + // user does not provide a mask then all fields will be overwritten. + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = OPTIONAL]; + + // Required. The resource being updated + User user = 2 [(google.api.field_behavior) = REQUIRED]; + + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes since the first request. + // + // For example, consider a situation where you make an initial request and + // the request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If set, the backend validates the request, but doesn't actually + // execute it. + bool validate_only = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Allow missing fields in the update mask. + bool allow_missing = 5 [(google.api.field_behavior) = OPTIONAL]; +} + +// Message for deleting a User +message DeleteUserRequest { + // Required. The name of the resource. For the required format, see the + // comment on the User.name field. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "alloydb.googleapis.com/User" } + ]; + + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes after the first request. + // + // For example, consider a situation where you make an initial request and + // the request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If set, the backend validates the request, but doesn't actually + // execute it. + bool validate_only = 3 [(google.api.field_behavior) = OPTIONAL]; +} diff --git a/third_party/googleapis/google/cloud/alloydb/v1alpha/BUILD.bazel b/third_party/googleapis/google/cloud/alloydb/v1alpha/BUILD.bazel index c8ac70113..f69a894e6 100644 --- a/third_party/googleapis/google/cloud/alloydb/v1alpha/BUILD.bazel +++ b/third_party/googleapis/google/cloud/alloydb/v1alpha/BUILD.bazel @@ -28,6 +28,7 @@ proto_library( "//google/api:annotations_proto", "//google/api:client_proto", "//google/api:field_behavior_proto", + "//google/api:field_info_proto", "//google/api:resource_proto", "//google/longrunning:operations_proto", "//google/rpc:status_proto", @@ -82,9 +83,9 @@ java_gapic_library( rest_numeric_enums = True, service_yaml = "alloydb_v1alpha.yaml", test_deps = [ + ":alloydb_java_grpc", "//google/cloud/location:location_java_grpc", "//google/iam/v1:iam_java_grpc", - ":alloydb_java_grpc", ], transport = "grpc+rest", deps = [ @@ -125,7 +126,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -163,19 +163,13 @@ go_gapic_library( ], ) -go_test( - name = "alloydb_go_gapic_test", - srcs = [":alloydb_go_gapic_srcjar_test"], - embed = [":alloydb_go_gapic"], - importpath = "cloud.google.com/go/alloydb/apiv1alpha", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-alloydb-v1alpha-go", deps = [ ":alloydb_go_gapic", ":alloydb_go_gapic_srcjar-metadata.srcjar", + ":alloydb_go_gapic_srcjar-snippets.srcjar", ":alloydb_go_gapic_srcjar-test.srcjar", ":alloydb_go_proto", ], @@ -228,7 +222,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -237,12 +230,6 @@ php_proto_library( deps = [":alloydb_proto"], ) -php_grpc_library( - name = "alloydb_php_grpc", - srcs = [":alloydb_proto"], - deps = [":alloydb_php_proto"], -) - php_gapic_library( name = "alloydb_php_gapic", srcs = [":alloydb_proto_with_info"], @@ -250,10 +237,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "alloydb_v1alpha.yaml", transport = "grpc+rest", - deps = [ - ":alloydb_php_grpc", - ":alloydb_php_proto", - ], + deps = [":alloydb_php_proto"], ) # Open Source Packages @@ -261,7 +245,6 @@ php_gapic_assembly_pkg( name = "google-cloud-alloydb-v1alpha-php", deps = [ ":alloydb_php_gapic", - ":alloydb_php_grpc", ":alloydb_php_proto", ], ) @@ -322,7 +305,8 @@ ruby_cloud_gapic_library( name = "alloydb_ruby_gapic", srcs = [":alloydb_proto_with_info"], extra_protoc_parameters = [ - "ruby-cloud-gem-name=google-cloud-alloydb-v1alpha", + "ruby-cloud-gem-name=google-cloud-alloy_db-v1alpha", + "ruby-cloud-gem-namespace=Google::Cloud::AlloyDB::V1alpha", ], grpc_service_config = "alloydb_v1alpha_grpc_service_config.json", rest_numeric_enums = True, diff --git a/third_party/googleapis/google/cloud/alloydb/v1alpha/alloydb_v1alpha.yaml b/third_party/googleapis/google/cloud/alloydb/v1alpha/alloydb_v1alpha.yaml index 064560244..421be4350 100644 --- a/third_party/googleapis/google/cloud/alloydb/v1alpha/alloydb_v1alpha.yaml +++ b/third_party/googleapis/google/cloud/alloydb/v1alpha/alloydb_v1alpha.yaml @@ -56,19 +56,6 @@ documentation: permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. -backend: - rules: - - selector: 'google.cloud.alloydb.v1alpha.AlloyDBAdmin.*' - deadline: 60.0 - - selector: google.cloud.location.Locations.GetLocation - deadline: 60.0 - - selector: google.cloud.location.Locations.ListLocations - deadline: 60.0 - - selector: 'google.iam.v1.IAMPolicy.*' - deadline: 60.0 - - selector: 'google.longrunning.Operations.*' - deadline: 60.0 - http: rules: - selector: google.cloud.location.Locations.GetLocation @@ -109,94 +96,16 @@ authentication: https://www.googleapis.com/auth/cloud-platform publishing: - organization: CLOUD - new_issue_uri: 'https://issuetracker.google.com/issues/new?component=1029828' - documentation_uri: 'https://cloud.google.com/alloydb/docs' - api_short_name: 'alloydb' + new_issue_uri: https://issuetracker.google.com/issues/new?component=1194526&template=1689942 + documentation_uri: https://cloud.google.com/alloydb/docs + api_short_name: alloydb github_label: 'api: alloydb' - doc_tag_prefix: 'alloydb' - codeowner_github_teams: + doc_tag_prefix: alloydb + organization: CLOUD library_settings: - - version: 'google.cloud.alloydb.v1' - launch_stage: GA - rest_numeric_enums: false - java_settings: - library_package: '' - service_class_names: - common: - destinations: - - PACKAGE_MANAGER - cpp_settings: - common: - destinations: - - PACKAGE_MANAGER - php_settings: - common: - destinations: - - PACKAGE_MANAGER - python_settings: - common: - destinations: - - PACKAGE_MANAGER - node_settings: - common: - destinations: - - PACKAGE_MANAGER - dotnet_settings: - common: - destinations: - - PACKAGE_MANAGER - ruby_settings: - common: - destinations: - - PACKAGE_MANAGER - go_settings: - common: - destinations: - - PACKAGE_MANAGER - - version: 'google.cloud.alloydb.v1beta' - launch_stage: BETA - rest_numeric_enums: false - java_settings: - library_package: '' - service_class_names: - common: - destinations: - - PACKAGE_MANAGER - cpp_settings: - common: - destinations: - - PACKAGE_MANAGER - php_settings: - common: - destinations: - - PACKAGE_MANAGER - python_settings: - common: - destinations: - - PACKAGE_MANAGER - node_settings: - common: - destinations: - - PACKAGE_MANAGER - dotnet_settings: - common: - destinations: - - PACKAGE_MANAGER - ruby_settings: - common: - destinations: - - PACKAGE_MANAGER - go_settings: - common: - destinations: - - PACKAGE_MANAGER - - version: 'google.cloud.alloydb.v1alpha' + - version: google.cloud.alloydb.v1alpha launch_stage: ALPHA - rest_numeric_enums: false java_settings: - library_package: '' - service_class_names: common: destinations: - PACKAGE_MANAGER diff --git a/third_party/googleapis/google/cloud/alloydb/v1alpha/alloydb_v1alpha_grpc_service_config.json b/third_party/googleapis/google/cloud/alloydb/v1alpha/alloydb_v1alpha_grpc_service_config.json index 4e486336a..9d009d4f1 100644 --- a/third_party/googleapis/google/cloud/alloydb/v1alpha/alloydb_v1alpha_grpc_service_config.json +++ b/third_party/googleapis/google/cloud/alloydb/v1alpha/alloydb_v1alpha_grpc_service_config.json @@ -11,7 +11,8 @@ { "service": "google.cloud.alloydb.v1alpha.AlloyDBAdmin", "method": "GenerateClientCertificate" }, { "service": "google.cloud.alloydb.v1alpha.AlloyDBAdmin", "method": "GetConnectionInfo" }, { "service": "google.cloud.alloydb.v1alpha.AlloyDBAdmin", "method": "ListUsers" }, - { "service": "google.cloud.alloydb.v1alpha.AlloyDBAdmin", "method": "GetUser" } + { "service": "google.cloud.alloydb.v1alpha.AlloyDBAdmin", "method": "GetUser" }, + { "service": "google.cloud.alloydb.v1alpha.AlloyDBAdmin", "method": "ListDatabases" } ], "timeout": "60s", "retryPolicy": { diff --git a/third_party/googleapis/google/cloud/alloydb/v1alpha/resources.proto b/third_party/googleapis/google/cloud/alloydb/v1alpha/resources.proto index 9fb582bb9..eb213a55c 100644 --- a/third_party/googleapis/google/cloud/alloydb/v1alpha/resources.proto +++ b/third_party/googleapis/google/cloud/alloydb/v1alpha/resources.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,13 +16,14 @@ syntax = "proto3"; package google.cloud.alloydb.v1alpha; -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; import "google/protobuf/wrappers.proto"; import "google/type/dayofweek.proto"; import "google/type/timeofday.proto"; +import "google/api/field_behavior.proto"; +import "google/api/field_info.proto"; +import "google/api/resource.proto"; option csharp_namespace = "Google.Cloud.AlloyDb.V1Alpha"; option go_package = "cloud.google.com/go/alloydb/apiv1alpha/alloydbpb;alloydbpb"; @@ -30,7 +31,7 @@ option java_multiple_files = true; option java_outer_classname = "ResourcesProto"; option java_package = "com.google.cloud.alloydb.v1alpha"; option php_namespace = "Google\\Cloud\\AlloyDb\\V1alpha"; -option ruby_package = "Google::Cloud::AlloyDb::V1alpha"; +option ruby_package = "Google::Cloud::AlloyDB::V1alpha"; option (google.api.resource_definition) = { type: "cloudkms.googleapis.com/CryptoKeyVersion" pattern: "projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}" @@ -40,18 +41,6 @@ option (google.api.resource_definition) = { pattern: "projects/{project}/global/networks/{network}" }; -// The supported database engine versions. -enum DatabaseVersion { - // This is an unknown database version. - DATABASE_VERSION_UNSPECIFIED = 0; - - // DEPRECATED - The database version is Postgres 13. - POSTGRES_13 = 1 [deprecated = true]; - - // The database version is Postgres 14. - POSTGRES_14 = 2; -} - // View on Instance. Pass this enum to rpcs that returns an Instance message to // control which subsets of fields to get. enum InstanceView { @@ -68,6 +57,38 @@ enum InstanceView { INSTANCE_VIEW_FULL = 2; } +// View on Cluster. Pass this enum to rpcs that returns a cluster message to +// control which subsets of fields to get. +enum ClusterView { + // CLUSTER_VIEW_UNSPECIFIED Not specified, equivalent to BASIC. + CLUSTER_VIEW_UNSPECIFIED = 0; + + // BASIC server responses include all the relevant cluster details, excluding + // Cluster.ContinuousBackupInfo.EarliestRestorableTime and other view-specific + // fields. The default value. + CLUSTER_VIEW_BASIC = 1; + + // CONTINUOUS_BACKUP response returns all the fields from BASIC plus + // the earliest restorable time if continuous backups are enabled. + // May increase latency. + CLUSTER_VIEW_CONTINUOUS_BACKUP = 2; +} + +// The supported database engine versions. +enum DatabaseVersion { + // This is an unknown database version. + DATABASE_VERSION_UNSPECIFIED = 0; + + // DEPRECATED - The database version is Postgres 13. + POSTGRES_13 = 1 [deprecated = true]; + + // The database version is Postgres 14. + POSTGRES_14 = 2; + + // The database version is Postgres 15. + POSTGRES_15 = 3; +} + // The username/password for a database user. Used for specifying initial // users at cluster creation time. message UserPassword { @@ -141,25 +162,31 @@ message EncryptionInfo { ]; } -// SSL configuration for an AlloyDB Cluster. +// SSL configuration. message SslConfig { // SSL mode options. enum SslMode { - // SSL mode not specified. Defaults to SSL_MODE_ALLOW. + // SSL mode not specified. Defaults to ENCRYPTED_ONLY. SSL_MODE_UNSPECIFIED = 0; // SSL connections are optional. CA verification not enforced. - SSL_MODE_ALLOW = 1; + SSL_MODE_ALLOW = 1 [deprecated = true]; // SSL connections are required. CA verification not enforced. // Clients may use locally self-signed certificates (default psql client // behavior). - SSL_MODE_REQUIRE = 2; + SSL_MODE_REQUIRE = 2 [deprecated = true]; // SSL connections are required. CA verification enforced. // Clients must have certificates signed by a Cluster CA, e.g. via // GenerateClientCertificate. - SSL_MODE_VERIFY_CA = 3; + SSL_MODE_VERIFY_CA = 3 [deprecated = true]; + + // SSL connections are optional. CA verification not enforced. + ALLOW_UNENCRYPTED_AND_ENCRYPTED = 4; + + // SSL connections are required. CA verification not enforced. + ENCRYPTED_ONLY = 5; } // Certificate Authority (CA) source for SSL/TLS certificates. @@ -285,9 +312,9 @@ message ContinuousBackupConfig { // Whether ContinuousBackup is enabled. optional bool enabled = 1; - // The number of days backups and logs will be retained, which determines the - // window of time that data is recoverable for. If not set, it defaults to 14 - // days. + // The number of days that are eligible to restore from using PITR. To support + // the entire recovery window, backups and logs are retained for one day more + // than the recovery window. If not set, defaults to 14 days. int32 recovery_window_days = 4; // The encryption config can be specified to encrypt the @@ -314,6 +341,11 @@ message ContinuousBackupInfo { // only field. Ignored if passed into the request. repeated google.type.DayOfWeek schedule = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The earliest restorable time that can be restored to. Output + // only field. + google.protobuf.Timestamp earliest_restorable_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Message describing a BackupSource. @@ -353,6 +385,31 @@ message Cluster { style: DECLARATIVE_FRIENDLY }; + // Metadata related to network configuration. + message NetworkConfig { + // Optional. The resource link for the VPC network in which cluster + // resources are created and from which they are accessible via Private IP. + // The network must belong to the same project as the cluster. It is + // specified in the form: + // "projects/{project_number}/global/networks/{network_id}". This is + // required to create a cluster. + string network = 1 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.resource_reference) = { + type: "compute.googleapis.com/Network" + } + ]; + + // Optional. Name of the allocated IP range for the private IP AlloyDB + // cluster, for example: "google-managed-services-default". If set, the + // instance IPs for this cluster will be created in the allocated range. The + // range name must comply with RFC 1035. Specifically, the name must be 1-63 + // characters long and match the regular expression + // `[a-z]([-a-z0-9]*[a-z0-9])?`. + // Field name is intended to be consistent with Cloud SQL. + string allocated_ip_range = 2 [(google.api.field_behavior) = OPTIONAL]; + } + // Configuration information for the secondary cluster. This should be set // if and only if the cluster is of type SECONDARY. message SecondaryConfig { @@ -371,6 +428,13 @@ message Cluster { [(google.api.field_behavior) = OUTPUT_ONLY]; } + // PscConfig contains PSC related configuration at a cluster level. + message PscConfig { + // Optional. Create an instance that allows connections from Private Service + // Connect endpoints to the instance. + bool psc_enabled = 1 [(google.api.field_behavior) = OPTIONAL]; + } + // Cluster State enum State { // The state of the cluster is unknown. @@ -475,18 +539,21 @@ message Cluster { // the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster` ClusterType cluster_type = 24 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The database engine major version. This is an output-only - // field and it's populated at the Cluster creation time. This field cannot be - // changed after cluster creation. - DatabaseVersion database_version = 9 - [(google.api.field_behavior) = OUTPUT_ONLY]; + // Optional. The database engine major version. This is an optional field and + // it is populated at the Cluster creation time. If a database version is not + // supplied at cluster creation time, then a default database version will + // be used. + DatabaseVersion database_version = 9 [(google.api.field_behavior) = OPTIONAL]; + + NetworkConfig network_config = 29 [(google.api.field_behavior) = OPTIONAL]; // Required. The resource link for the VPC network in which cluster resources // are created and from which they are accessible via Private IP. The network // must belong to the same project as the cluster. It is specified in the - // form: "projects/{project_number}/global/networks/{network_id}". This is - // required to create a cluster. It can be updated, but it cannot be removed. + // form: "projects/{project}/global/networks/{network_id}". This is required + // to create a cluster. Deprecated, use network_config.network instead. string network = 10 [ + deprecated = true, (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { type: "compute.googleapis.com/Network" } ]; @@ -519,8 +586,8 @@ message Cluster { // documentation for the message type. AutomatedBackupPolicy automated_backup_policy = 17; - // SSL configuration for this AlloyDB Cluster. - SslConfig ssl_config = 18; + // SSL configuration for this AlloyDB cluster. + SslConfig ssl_config = 18 [deprecated = true]; // Optional. The encryption config can be specified to encrypt the data disks // and other persistent data resources of a cluster with a @@ -547,6 +614,16 @@ message Cluster { // Output only. Cross Region replication config specific to PRIMARY cluster. PrimaryConfig primary_config = 23 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Reserved for future use. + bool satisfies_pzi = 33 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Reserved for future use. + bool satisfies_pzs = 30 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. The configuration for Private Service Connect (PSC) for the + // cluster. + PscConfig psc_config = 31 [(google.api.field_behavior) = OPTIONAL]; } // An Instance is a computing unit that an end customer can connect to. @@ -610,6 +687,108 @@ message Instance { int32 node_count = 1; } + // Policy to be used while updating the instance. + message UpdatePolicy { + // Specifies the available modes of update. + enum Mode { + // Mode is unknown. + MODE_UNSPECIFIED = 0; + + // Least disruptive way to apply the update. + DEFAULT = 1; + + // Performs a forced update when applicable. This will be fast but may + // incur a downtime. + FORCE_APPLY = 2; + } + + // Mode for updating the instance. + Mode mode = 1; + } + + // Client connection configuration + message ClientConnectionConfig { + // Optional. Configuration to enforce connectors only (ex: AuthProxy) + // connections to the database. + bool require_connectors = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. SSL config option for this instance. + SslConfig ssl_config = 2 [(google.api.field_behavior) = OPTIONAL]; + } + + // Configuration for setting up a PSC interface. This information needs to be + // provided by the customer. + // PSC interfaces will be created and added to VMs via SLM (adding a network + // interface will require recreating the VM). For HA instances this will be + // done via LDTM. + message PscInterfaceConfig { + // A list of endpoints in the consumer VPC the interface might initiate + // outbound connections to. This list has to be provided when the PSC + // interface is created. + repeated string consumer_endpoint_ips = 1; + + // The NetworkAttachment resource created in the consumer VPC to which the + // PSC interface will be linked, in the form of: + // "projects/${CONSUMER_PROJECT}/regions/${REGION}/networkAttachments/${NETWORK_ATTACHMENT_NAME}". + // NetworkAttachment has to be provided when the PSC interface is created. + string network_attachment = 2; + } + + // PscInstanceConfig contains PSC related configuration at an + // instance level. + message PscInstanceConfig { + // Output only. The service attachment created when Private + // Service Connect (PSC) is enabled for the instance. + // The name of the resource will be in the format of + // projects//regions//serviceAttachments/ + string service_attachment_link = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. List of consumer projects that are allowed to create + // PSC endpoints to service-attachments to this instance. + repeated string allowed_consumer_projects = 2 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. List of consumer networks that are allowed to create + // PSC endpoints to service-attachments to this instance. + repeated string allowed_consumer_networks = 3 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Configurations for setting up PSC interfaces attached to the + // instance which are used for outbound connectivity. Only primary instances + // can have PSC interface attached. All the VMs created for the primary + // instance will share the same configurations. Currently we only support 0 + // or 1 PSC interface. + repeated PscInterfaceConfig psc_interface_configs = 4 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. List of service attachments that this instance has created + // endpoints to connect with. Currently, only a single outgoing service + // attachment is supported per instance. + repeated string outgoing_service_attachment_links = 5 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Whether PSC connectivity is enabled for this instance. + // This is populated by referencing the value from the parent cluster. + bool psc_enabled = 6 [(google.api.field_behavior) = OPTIONAL]; + } + + // Metadata related to instance level network configuration. + message InstanceNetworkConfig { + // AuthorizedNetwork contains metadata for an authorized network. + message AuthorizedNetwork { + // CIDR range for one authorzied network of the instance. + string cidr_range = 1 [(google.api.field_info).format = IPV4]; + } + + // Optional. A list of external network authorized to access this instance. + repeated AuthorizedNetwork authorized_external_networks = 1 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Enabling public ip for the instance. + bool enable_public_ip = 2 [(google.api.field_behavior) = OPTIONAL]; + } + // Instance State enum State { // The state of the instance is unknown. @@ -667,10 +846,11 @@ message Instance { } // The Availability type of an instance. Potential values: - //
ZONAL: The instance serves data from only one zone. - // Outages in that zone affect instance availability. - //
REGIONAL: The instance can serve data from more than one zone - // in a region (it is highly available). + // + // - ZONAL: The instance serves data from only one zone. Outages in that + // zone affect instance availability. + // - REGIONAL: The instance can serve data from more than one zone in a + // region (it is highly available). enum AvailabilityType { // This is an unknown Availability type. AVAILABILITY_TYPE_UNSPECIFIED = 0; @@ -726,8 +906,11 @@ message Instance { MachineConfig machine_config = 10; // Availability type of an Instance. - // Defaults to REGIONAL for both primary and read instances. - // Note that primary and read instances can have different availability types. + // If empty, defaults to REGIONAL for primary instances. + // For read pools, availability_type is always UNSPECIFIED. Instances in the + // read pools are evenly distributed across available zones within the region + // (i.e. read pools with more than one node will have a node in at + // least two zones). AvailabilityType availability_type = 11; // The Compute Engine zone that the instance should serve from, per @@ -765,7 +948,8 @@ message Instance { // Configuration for query insights. QueryInsightsInstanceConfig query_insights_config = 21; - // Read pool specific config. + // Read pool instance configuration. + // This is required if the value of instanceType is READ_POOL. ReadPoolConfig read_pool_config = 14; // Output only. The IP address for the Instance. @@ -786,6 +970,31 @@ message Instance { // This is distinct from labels. // https://google.aip.dev/128 map annotations = 18; + + // Update policy that will be applied during instance update. + // This field is not persisted when you update the instance. + // To use a non-default update policy, you must + // specify explicitly specify the value in each update request. + UpdatePolicy update_policy = 22; + + // Optional. Client connection specific configurations + ClientConnectionConfig client_connection_config = 23 + [(google.api.field_behavior) = OPTIONAL]; + + // Output only. Reserved for future use. + bool satisfies_pzi = 30 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Reserved for future use. + bool satisfies_pzs = 24 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. The configuration for Private Service Connect (PSC) for the + // instance. + PscInstanceConfig psc_instance_config = 28 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Instance level network configuration. + InstanceNetworkConfig network_config = 29 + [(google.api.field_behavior) = OPTIONAL]; } // ConnectionInfo singleton resource. @@ -801,14 +1010,23 @@ message ConnectionInfo { // This field currently has no semantic meaning. string name = 1; - // Output only. The IP address for the Instance. - // This is the connection endpoint for an end-user application. + // Output only. The private network IP address for the Instance. This is the + // default IP for the instance and is always created (even if enable_public_ip + // is set). This is the connection endpoint for an end-user application. string ip_address = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The public IP addresses for the Instance. This is available + // ONLY when enable_public_ip is set. This is the connection endpoint for an + // end-user application. + string public_ip_address = 5 [ + (google.api.field_info).format = IPV4, + (google.api.field_behavior) = OUTPUT_ONLY + ]; + // Output only. The pem-encoded chain that may be used to verify the X.509 // certificate. Expected to be in issuer-to-root order according to RFC 5246. repeated string pem_certificate_chain = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; + [deprecated = true, (google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The unique ID of the Instance. string instance_uid = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -822,6 +1040,29 @@ message Backup { style: DECLARATIVE_FRIENDLY }; + // A backup's position in a quantity-based retention queue, of backups with + // the same source cluster and type, with length, retention, specified by the + // backup's retention policy. + // Once the position is greater than the retention, the backup is eligible to + // be garbage collected. + // + // Example: 5 backups from the same source cluster and type with a + // quantity-based retention of 3 and denoted by backup_id (position, + // retention). + // + // Safe: backup_5 (1, 3), backup_4, (2, 3), backup_3 (3, 3). + // Awaiting garbage collection: backup_2 (4, 3), backup_1 (5, 3) + message QuantityBasedExpiry { + // Output only. The backup's position among its backups with the same source + // cluster and type, by descending chronological order create time(i.e. + // newest first). + int32 retention_count = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The length of the quantity-based queue, specified by the + // backup's retention policy. + int32 total_retention_count = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + } + // Backup State enum State { // The state of the backup is unknown. @@ -905,7 +1146,7 @@ message Backup { string cluster_uid = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; // Required. The full resource name of the backup source cluster - // (e.g., projects//locations//clusters/). + // (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}). string cluster_name = 10 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { type: "alloydb.googleapis.com/Cluster" } @@ -944,6 +1185,24 @@ message Backup { // added to the backup's create_time. google.protobuf.Timestamp expiry_time = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The QuantityBasedExpiry of the backup, specified by the + // backup's retention policy. Once the expiry quantity is over retention, the + // backup is eligible to be garbage collected. + QuantityBasedExpiry expiry_quantity = 20 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Reserved for future use. + bool satisfies_pzi = 23 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Reserved for future use. + bool satisfies_pzs = 21 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The database engine major version of the cluster this backup + // was created from. Any restored cluster created from this backup will have + // the same database version. + DatabaseVersion database_version = 22 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // SupportedDatabaseFlag gives general information about a database flag, @@ -1026,3 +1285,64 @@ message SupportedDatabaseFlag { // availability SLO's). bool requires_db_restart = 6; } + +// Message describing User object. +message User { + option (google.api.resource) = { + type: "alloydb.googleapis.com/User" + pattern: "projects/{project}/locations/{location}/clusters/{cluster}/users/{user}" + style: DECLARATIVE_FRIENDLY + }; + + // Enum that details the user type. + enum UserType { + // Unspecified user type. + USER_TYPE_UNSPECIFIED = 0; + + // The default user type that authenticates via password-based + // authentication. + ALLOYDB_BUILT_IN = 1; + + // Database user that can authenticate via IAM-Based authentication. + ALLOYDB_IAM_USER = 2; + } + + // Output only. Name of the resource in the form of + // projects/{project}/locations/{location}/cluster/{cluster}/users/{user}. + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Input only. Password for the user. + string password = 2 [(google.api.field_behavior) = INPUT_ONLY]; + + // Optional. List of database roles this user has. + // The database role strings are subject to the PostgreSQL naming conventions. + repeated string database_roles = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Type of this user. + UserType user_type = 5 [(google.api.field_behavior) = OPTIONAL]; +} + +// Message describing Database object. +message Database { + option (google.api.resource) = { + type: "alloydb.googleapis.com/Database" + pattern: "projects/{project}/locations/{location}/clusters/{cluster}/databases/{database}" + plural: "databases" + singular: "database" + style: DECLARATIVE_FRIENDLY + }; + + // Identifier. Name of the resource in the form of + // projects/{project}/locations/{location}/clusters/{cluster}/databases/{database}. + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; + + // Optional. Charset for the database. + // This field can contain any PostgreSQL supported charset name. + // Example values include "UTF8", "SQL_ASCII", etc. + string charset = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Collation for the database. + // Name of the custom or native collation for postgres. + // Example values include "C", "POSIX", etc + string collation = 3 [(google.api.field_behavior) = OPTIONAL]; +} diff --git a/third_party/googleapis/google/cloud/alloydb/v1alpha/service.proto b/third_party/googleapis/google/cloud/alloydb/v1alpha/service.proto index 792379eb6..8ffe3d046 100644 --- a/third_party/googleapis/google/cloud/alloydb/v1alpha/service.proto +++ b/third_party/googleapis/google/cloud/alloydb/v1alpha/service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -34,7 +34,7 @@ option java_multiple_files = true; option java_outer_classname = "ServiceProto"; option java_package = "com.google.cloud.alloydb.v1alpha"; option php_namespace = "Google\\Cloud\\AlloyDb\\V1alpha"; -option ruby_package = "Google::Cloud::AlloyDb::V1alpha"; +option ruby_package = "Google::Cloud::AlloyDB::V1alpha"; // Service describing handlers for resources service AlloyDBAdmin { @@ -255,6 +255,20 @@ service AlloyDBAdmin { }; } + // Injects fault in an instance. + // Imperative only. + rpc InjectFault(InjectFaultRequest) returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1alpha/{name=projects/*/locations/*/clusters/*/instances/*}:injectFault" + body: "*" + }; + option (google.api.method_signature) = "fault_type,name"; + option (google.longrunning.operation_info) = { + response_type: "Instance" + metadata_type: "OperationMetadata" + }; + } + // Restart an Instance in a cluster. // Imperative only. rpc RestartInstance(RestartInstanceRequest) @@ -334,10 +348,10 @@ service AlloyDBAdmin { } // Generate a client certificate signed by a Cluster CA. - // The sole purpose of this endpoint is to support the Auth Proxy client and - // the endpoint's behavior is subject to change without notice, so do not rely - // on its behavior remaining constant. Future changes will not break the Auth - // Proxy client. + // The sole purpose of this endpoint is to support AlloyDB connectors and the + // Auth Proxy client. The endpoint's behavior is subject to change without + // notice, so do not rely on its behavior remaining constant. Future changes + // will not break AlloyDB connectors or the Auth Proxy client. rpc GenerateClientCertificate(GenerateClientCertificateRequest) returns (GenerateClientCertificateResponse) { option (google.api.http) = { @@ -354,6 +368,56 @@ service AlloyDBAdmin { }; option (google.api.method_signature) = "parent"; } + + // Lists Users in a given project and location. + rpc ListUsers(ListUsersRequest) returns (ListUsersResponse) { + option (google.api.http) = { + get: "/v1alpha/{parent=projects/*/locations/*/clusters/*}/users" + }; + option (google.api.method_signature) = "parent"; + } + + // Gets details of a single User. + rpc GetUser(GetUserRequest) returns (User) { + option (google.api.http) = { + get: "/v1alpha/{name=projects/*/locations/*/clusters/*/users/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Creates a new User in a given project, location, and cluster. + rpc CreateUser(CreateUserRequest) returns (User) { + option (google.api.http) = { + post: "/v1alpha/{parent=projects/*/locations/*/clusters/*}/users" + body: "user" + }; + option (google.api.method_signature) = "parent,user,user_id"; + } + + // Updates the parameters of a single User. + rpc UpdateUser(UpdateUserRequest) returns (User) { + option (google.api.http) = { + patch: "/v1alpha/{user.name=projects/*/locations/*/clusters/*/users/*}" + body: "user" + }; + option (google.api.method_signature) = "user,update_mask"; + } + + // Deletes a single User. + rpc DeleteUser(DeleteUserRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1alpha/{name=projects/*/locations/*/clusters/*/users/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Lists Databases in a given project and location. + rpc ListDatabases(ListDatabasesRequest) returns (ListDatabasesResponse) { + option (google.api.http) = { + get: "/v1alpha/{parent=projects/*/locations/*/clusters/*}/databases" + }; + option (google.api.method_signature) = "parent"; + } } // Message for requesting list of Clusters @@ -403,11 +467,15 @@ message GetClusterRequest { (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { type: "alloydb.googleapis.com/Cluster" } ]; + + // Optional. The view of the cluster to return. Returns all default fields if + // not set. + ClusterView view = 2 [(google.api.field_behavior) = OPTIONAL]; } message CreateSecondaryClusterRequest { - // Required. The name of the parent resource (the primary cluster). For the - // required format, see the comment on the Cluster.name field. + // Required. The location of the new cluster. For the required + // format, see the comment on the Cluster.name field. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -444,7 +512,7 @@ message CreateSecondaryClusterRequest { // Message for creating a Cluster message CreateClusterRequest { - // Required. The name of the parent resource. For the required format, see the + // Required. The location of the new cluster. For the required format, see the // comment on the Cluster.name field. string parent = 1 [ (google.api.field_behavior) = REQUIRED, @@ -815,6 +883,7 @@ message BatchCreateInstancesResponse { } // Message for metadata that is specific to BatchCreateInstances API. +// NEXT_ID: 3 message BatchCreateInstancesMetadata { // The instances being created in the API call. Each string in this list // is the server defined resource path for target instances in the request @@ -842,6 +911,7 @@ message BatchCreateInstancesMetadata { // 2. Instance2 = ROLLED_BACK // 3. Instance3 = FAILED // 4. Instance4 = FAILED +// // However, while the operation is running, the instance might be in other // states including PENDING_CREATE, ACTIVE, DELETING and CREATING. The states // / do not get further updated once the operation is done. @@ -1001,6 +1071,51 @@ message FailoverInstanceRequest { bool validate_only = 3 [(google.api.field_behavior) = OPTIONAL]; } +// Message for triggering fault injection on an instance +message InjectFaultRequest { + // FaultType contains all valid types of faults that can be injected to an + // instance. + enum FaultType { + // The fault type is unknown. + FAULT_TYPE_UNSPECIFIED = 0; + + // Stop the VM + STOP_VM = 1; + } + + // Required. The type of fault to be injected in an instance. + FaultType fault_type = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The name of the resource. For the required format, see the + // comment on the Instance.name field. + string name = 2 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "alloydb.googleapis.com/Instance" + } + ]; + + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes after the first request. + // + // For example, consider a situation where you make an initial request and + // the request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If set, performs request validation (e.g. permission checks and + // any other type of validation), but do not actually execute the fault + // injection. + bool validate_only = 4 [(google.api.field_behavior) = OPTIONAL]; +} + message RestartInstanceRequest { // Required. The name of the resource. For the required format, see the // comment on the Instance.name field. @@ -1241,8 +1356,10 @@ message GenerateClientCertificateRequest { // not supported (00000000-0000-0000-0000-000000000000). string request_id = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. A pem-encoded X.509 certificate signing request (CSR). - string pem_csr = 3 [(google.api.field_behavior) = OPTIONAL]; + // Optional. A pem-encoded X.509 certificate signing request (CSR). It is + // recommended to use public_key instead. + string pem_csr = 3 + [deprecated = true, (google.api.field_behavior) = OPTIONAL]; // Optional. An optional hint to the endpoint to generate the client // certificate with the requested duration. The duration can be from 1 hour to @@ -1251,17 +1368,29 @@ message GenerateClientCertificateRequest { // default duration. google.protobuf.Duration cert_duration = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The public key from the client. + string public_key = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. An optional hint to the endpoint to generate a client + // ceritificate that can be used by AlloyDB connectors to exchange additional + // metadata with the server after TLS handshake. + bool use_metadata_exchange = 6 [(google.api.field_behavior) = OPTIONAL]; } // Message returned by a GenerateClientCertificate operation. message GenerateClientCertificateResponse { // Output only. The pem-encoded, signed X.509 certificate. - string pem_certificate = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + string pem_certificate = 1 + [deprecated = true, (google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The pem-encoded chain that may be used to verify the X.509 // certificate. Expected to be in issuer-to-root order according to RFC 5246. repeated string pem_certificate_chain = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. The pem-encoded cluster ca X.509 certificate. + string ca_cert = 3 [(google.api.field_behavior) = OPTIONAL]; } // Request message for GetConnectionInfo. @@ -1327,3 +1456,186 @@ message OperationMetadata { // Output only. API version used to start the operation. string api_version = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; } + +// Message for requesting list of Users +message ListUsersRequest { + // Required. Parent value for ListUsersRequest + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "alloydb.googleapis.com/User" + } + ]; + + // Optional. Requested page size. Server may return fewer items than + // requested. If unspecified, server will pick an appropriate default. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. A token identifying a page of results the server should return. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Filtering results + string filter = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Hint for how to order the results + string order_by = 5 [(google.api.field_behavior) = OPTIONAL]; +} + +// Message for response to listing Users +message ListUsersResponse { + // The list of User + repeated User users = 1; + + // A token identifying a page of results the server should return. + string next_page_token = 2; + + // Locations that could not be reached. + repeated string unreachable = 3; +} + +// Message for getting a User +message GetUserRequest { + // Required. The name of the resource. For the required format, see the + // comment on the User.name field. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "alloydb.googleapis.com/User" } + ]; +} + +// Message for creating a User +message CreateUserRequest { + // Required. Value for parent. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "alloydb.googleapis.com/User" + } + ]; + + // Required. ID of the requesting object. + string user_id = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The resource being created + User user = 3 [(google.api.field_behavior) = REQUIRED]; + + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes since the first request. + // + // For example, consider a situation where you make an initial request and + // the request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If set, the backend validates the request, but doesn't actually + // execute it. + bool validate_only = 5 [(google.api.field_behavior) = OPTIONAL]; +} + +// Message for updating a User +message UpdateUserRequest { + // Optional. Field mask is used to specify the fields to be overwritten in the + // User resource by the update. + // The fields specified in the update_mask are relative to the resource, not + // the full request. A field will be overwritten if it is in the mask. If the + // user does not provide a mask then all fields will be overwritten. + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = OPTIONAL]; + + // Required. The resource being updated + User user = 2 [(google.api.field_behavior) = REQUIRED]; + + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes since the first request. + // + // For example, consider a situation where you make an initial request and + // the request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If set, the backend validates the request, but doesn't actually + // execute it. + bool validate_only = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Allow missing fields in the update mask. + bool allow_missing = 5 [(google.api.field_behavior) = OPTIONAL]; +} + +// Message for deleting a User +message DeleteUserRequest { + // Required. The name of the resource. For the required format, see the + // comment on the User.name field. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "alloydb.googleapis.com/User" } + ]; + + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes after the first request. + // + // For example, consider a situation where you make an initial request and + // the request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If set, the backend validates the request, but doesn't actually + // execute it. + bool validate_only = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// Message for requesting list of Databases. +message ListDatabasesRequest { + // Required. Parent value for ListDatabasesRequest. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "alloydb.googleapis.com/Database" + } + ]; + + // Optional. The maximum number of databases to return. The service may return + // fewer than this value. If unspecified, an appropriate number of databases + // will be returned. The max value will be 2000, values above max will be + // coerced to max. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. A page token, received from a previous `ListDatabases` call. + // This should be provided to retrieve the subsequent page. + // This field is currently not supported, its value will be ignored if passed. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Filtering results. + // This field is currently not supported, its value will be ignored if passed. + string filter = 4 [(google.api.field_behavior) = OPTIONAL]; +} + +// Message for response to listing Databases. +message ListDatabasesResponse { + // The list of databases + repeated Database databases = 1; + + // A token identifying the next page of results the server should return. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; +} diff --git a/third_party/googleapis/google/cloud/alloydb/v1beta/BUILD.bazel b/third_party/googleapis/google/cloud/alloydb/v1beta/BUILD.bazel index f505602df..a9b5d8af7 100644 --- a/third_party/googleapis/google/cloud/alloydb/v1beta/BUILD.bazel +++ b/third_party/googleapis/google/cloud/alloydb/v1beta/BUILD.bazel @@ -82,9 +82,9 @@ java_gapic_library( rest_numeric_enums = True, service_yaml = "alloydb_v1beta.yaml", test_deps = [ + ":alloydb_java_grpc", "//google/cloud/location:location_java_grpc", "//google/iam/v1:iam_java_grpc", - ":alloydb_java_grpc", ], transport = "grpc+rest", deps = [ @@ -125,7 +125,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -163,19 +162,13 @@ go_gapic_library( ], ) -go_test( - name = "alloydb_go_gapic_test", - srcs = [":alloydb_go_gapic_srcjar_test"], - embed = [":alloydb_go_gapic"], - importpath = "cloud.google.com/go/alloydb/apiv1beta", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-alloydb-v1beta-go", deps = [ ":alloydb_go_gapic", ":alloydb_go_gapic_srcjar-metadata.srcjar", + ":alloydb_go_gapic_srcjar-snippets.srcjar", ":alloydb_go_gapic_srcjar-test.srcjar", ":alloydb_go_proto", ], @@ -228,7 +221,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -237,12 +229,6 @@ php_proto_library( deps = [":alloydb_proto"], ) -php_grpc_library( - name = "alloydb_php_grpc", - srcs = [":alloydb_proto"], - deps = [":alloydb_php_proto"], -) - php_gapic_library( name = "alloydb_php_gapic", srcs = [":alloydb_proto_with_info"], @@ -250,10 +236,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "alloydb_v1beta.yaml", transport = "grpc+rest", - deps = [ - ":alloydb_php_grpc", - ":alloydb_php_proto", - ], + deps = [":alloydb_php_proto"], ) # Open Source Packages @@ -261,7 +244,6 @@ php_gapic_assembly_pkg( name = "google-cloud-alloydb-v1beta-php", deps = [ ":alloydb_php_gapic", - ":alloydb_php_grpc", ":alloydb_php_proto", ], ) @@ -322,11 +304,13 @@ ruby_cloud_gapic_library( name = "alloydb_ruby_gapic", srcs = [":alloydb_proto_with_info"], extra_protoc_parameters = [ - "ruby-cloud-gem-name=google-cloud-alloydb-v1beta", + "ruby-cloud-gem-name=google-cloud-alloy_db-v1beta", + "ruby-cloud-gem-namespace=Google::Cloud::AlloyDB::V1beta", ], grpc_service_config = "alloydb_v1beta_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "alloydb_v1beta.yaml", + transport = "grpc+rest", deps = [ ":alloydb_ruby_grpc", ":alloydb_ruby_proto", diff --git a/third_party/googleapis/google/cloud/alloydb/v1beta/alloydb_v1beta.yaml b/third_party/googleapis/google/cloud/alloydb/v1beta/alloydb_v1beta.yaml index e5c69fcf7..d93b73621 100644 --- a/third_party/googleapis/google/cloud/alloydb/v1beta/alloydb_v1beta.yaml +++ b/third_party/googleapis/google/cloud/alloydb/v1beta/alloydb_v1beta.yaml @@ -108,94 +108,16 @@ authentication: https://www.googleapis.com/auth/cloud-platform publishing: - organization: CLOUD - new_issue_uri: 'https://issuetracker.google.com/issues/new?component=1029828' - documentation_uri: 'https://cloud.google.com/alloydb/docs' - api_short_name: 'alloydb' + new_issue_uri: https://issuetracker.google.com/issues/new?component=1194526&template=1689942 + documentation_uri: https://cloud.google.com/alloydb/docs + api_short_name: alloydb github_label: 'api: alloydb' - doc_tag_prefix: 'alloydb' - codeowner_github_teams: + doc_tag_prefix: alloydb + organization: CLOUD library_settings: - - version: 'google.cloud.alloydb.v1' - launch_stage: GA - rest_numeric_enums: false - java_settings: - library_package: '' - service_class_names: - common: - destinations: - - PACKAGE_MANAGER - cpp_settings: - common: - destinations: - - PACKAGE_MANAGER - php_settings: - common: - destinations: - - PACKAGE_MANAGER - python_settings: - common: - destinations: - - PACKAGE_MANAGER - node_settings: - common: - destinations: - - PACKAGE_MANAGER - dotnet_settings: - common: - destinations: - - PACKAGE_MANAGER - ruby_settings: - common: - destinations: - - PACKAGE_MANAGER - go_settings: - common: - destinations: - - PACKAGE_MANAGER - - version: 'google.cloud.alloydb.v1beta' + - version: google.cloud.alloydb.v1beta launch_stage: BETA - rest_numeric_enums: false - java_settings: - library_package: '' - service_class_names: - common: - destinations: - - PACKAGE_MANAGER - cpp_settings: - common: - destinations: - - PACKAGE_MANAGER - php_settings: - common: - destinations: - - PACKAGE_MANAGER - python_settings: - common: - destinations: - - PACKAGE_MANAGER - node_settings: - common: - destinations: - - PACKAGE_MANAGER - dotnet_settings: - common: - destinations: - - PACKAGE_MANAGER - ruby_settings: - common: - destinations: - - PACKAGE_MANAGER - go_settings: - common: - destinations: - - PACKAGE_MANAGER - - version: 'google.cloud.alloydb.v1alpha' - launch_stage: ALPHA - rest_numeric_enums: false java_settings: - library_package: '' - service_class_names: common: destinations: - PACKAGE_MANAGER diff --git a/third_party/googleapis/google/cloud/alloydb/v1beta/resources.proto b/third_party/googleapis/google/cloud/alloydb/v1beta/resources.proto index 8f71c71fa..bbcfd96d3 100644 --- a/third_party/googleapis/google/cloud/alloydb/v1beta/resources.proto +++ b/third_party/googleapis/google/cloud/alloydb/v1beta/resources.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -30,7 +30,7 @@ option java_multiple_files = true; option java_outer_classname = "ResourcesProto"; option java_package = "com.google.cloud.alloydb.v1beta"; option php_namespace = "Google\\Cloud\\AlloyDb\\V1beta"; -option ruby_package = "Google::Cloud::AlloyDb::V1beta"; +option ruby_package = "Google::Cloud::AlloyDB::V1beta"; option (google.api.resource_definition) = { type: "cloudkms.googleapis.com/CryptoKeyVersion" pattern: "projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}" @@ -40,18 +40,6 @@ option (google.api.resource_definition) = { pattern: "projects/{project}/global/networks/{network}" }; -// The supported database engine versions. -enum DatabaseVersion { - // This is an unknown database version. - DATABASE_VERSION_UNSPECIFIED = 0; - - // DEPRECATED - The database version is Postgres 13. - POSTGRES_13 = 1 [deprecated = true]; - - // The database version is Postgres 14. - POSTGRES_14 = 2; -} - // View on Instance. Pass this enum to rpcs that returns an Instance message to // control which subsets of fields to get. enum InstanceView { @@ -68,6 +56,38 @@ enum InstanceView { INSTANCE_VIEW_FULL = 2; } +// View on Cluster. Pass this enum to rpcs that returns a cluster message to +// control which subsets of fields to get. +enum ClusterView { + // CLUSTER_VIEW_UNSPECIFIED Not specified, equivalent to BASIC. + CLUSTER_VIEW_UNSPECIFIED = 0; + + // BASIC server responses include all the relevant cluster details, excluding + // Cluster.ContinuousBackupInfo.EarliestRestorableTime and other view-specific + // fields. The default value. + CLUSTER_VIEW_BASIC = 1; + + // CONTINUOUS_BACKUP response returns all the fields from BASIC plus + // the earliest restorable time if continuous backups are enabled. + // May increase latency. + CLUSTER_VIEW_CONTINUOUS_BACKUP = 2; +} + +// The supported database engine versions. +enum DatabaseVersion { + // This is an unknown database version. + DATABASE_VERSION_UNSPECIFIED = 0; + + // DEPRECATED - The database version is Postgres 13. + POSTGRES_13 = 1 [deprecated = true]; + + // The database version is Postgres 14. + POSTGRES_14 = 2; + + // The database version is Postgres 15. + POSTGRES_15 = 3; +} + // The username/password for a database user. Used for specifying initial // users at cluster creation time. message UserPassword { @@ -141,25 +161,31 @@ message EncryptionInfo { ]; } -// SSL configuration for an AlloyDB Cluster. +// SSL configuration. message SslConfig { // SSL mode options. enum SslMode { - // SSL mode not specified. Defaults to SSL_MODE_ALLOW. + // SSL mode not specified. Defaults to ENCRYPTED_ONLY. SSL_MODE_UNSPECIFIED = 0; // SSL connections are optional. CA verification not enforced. - SSL_MODE_ALLOW = 1; + SSL_MODE_ALLOW = 1 [deprecated = true]; // SSL connections are required. CA verification not enforced. // Clients may use locally self-signed certificates (default psql client // behavior). - SSL_MODE_REQUIRE = 2; + SSL_MODE_REQUIRE = 2 [deprecated = true]; // SSL connections are required. CA verification enforced. // Clients must have certificates signed by a Cluster CA, e.g. via // GenerateClientCertificate. - SSL_MODE_VERIFY_CA = 3; + SSL_MODE_VERIFY_CA = 3 [deprecated = true]; + + // SSL connections are optional. CA verification not enforced. + ALLOW_UNENCRYPTED_AND_ENCRYPTED = 4; + + // SSL connections are required. CA verification not enforced. + ENCRYPTED_ONLY = 5; } // Certificate Authority (CA) source for SSL/TLS certificates. @@ -285,9 +311,9 @@ message ContinuousBackupConfig { // Whether ContinuousBackup is enabled. optional bool enabled = 1; - // The number of days backups and logs will be retained, which determines the - // window of time that data is recoverable for. If not set, it defaults to 14 - // days. + // The number of days that are eligible to restore from using PITR. To support + // the entire recovery window, backups and logs are retained for one day more + // than the recovery window. If not set, defaults to 14 days. int32 recovery_window_days = 4; // The encryption config can be specified to encrypt the @@ -314,6 +340,11 @@ message ContinuousBackupInfo { // only field. Ignored if passed into the request. repeated google.type.DayOfWeek schedule = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The earliest restorable time that can be restored to. Output + // only field. + google.protobuf.Timestamp earliest_restorable_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Message describing a BackupSource. @@ -353,6 +384,31 @@ message Cluster { style: DECLARATIVE_FRIENDLY }; + // Metadata related to network configuration. + message NetworkConfig { + // Required. The resource link for the VPC network in which cluster + // resources are created and from which they are accessible via Private IP. + // The network must belong to the same project as the cluster. It is + // specified in the form: + // "projects/{project_number}/global/networks/{network_id}". This is + // required to create a cluster. + string network = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "compute.googleapis.com/Network" + } + ]; + + // Optional. Name of the allocated IP range for the private IP AlloyDB + // cluster, for example: "google-managed-services-default". If set, the + // instance IPs for this cluster will be created in the allocated range. The + // range name must comply with RFC 1035. Specifically, the name must be 1-63 + // characters long and match the regular expression + // [a-z]([-a-z0-9]*[a-z0-9])?. + // Field name is intended to be consistent with CloudSQL. + string allocated_ip_range = 2 [(google.api.field_behavior) = OPTIONAL]; + } + // Configuration information for the secondary cluster. This should be set // if and only if the cluster is of type SECONDARY. message SecondaryConfig { @@ -475,18 +531,21 @@ message Cluster { // the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster` ClusterType cluster_type = 24 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The database engine major version. This is an output-only - // field and it's populated at the Cluster creation time. This field cannot be - // changed after cluster creation. - DatabaseVersion database_version = 9 - [(google.api.field_behavior) = OUTPUT_ONLY]; + // Optional. The database engine major version. This is an optional field and + // it is populated at the Cluster creation time. If a database version is not + // supplied at cluster creation time, then a default database version will + // be used. + DatabaseVersion database_version = 9 [(google.api.field_behavior) = OPTIONAL]; + + NetworkConfig network_config = 29 [(google.api.field_behavior) = OPTIONAL]; // Required. The resource link for the VPC network in which cluster resources // are created and from which they are accessible via Private IP. The network // must belong to the same project as the cluster. It is specified in the - // form: "projects/{project_number}/global/networks/{network_id}". This is - // required to create a cluster. It can be updated, but it cannot be removed. + // form: "projects/{project}/global/networks/{network_id}". This is required + // to create a cluster. Deprecated, use network_config.network instead. string network = 10 [ + deprecated = true, (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { type: "compute.googleapis.com/Network" } ]; @@ -519,8 +578,8 @@ message Cluster { // documentation for the message type. AutomatedBackupPolicy automated_backup_policy = 17; - // SSL configuration for this AlloyDB Cluster. - SslConfig ssl_config = 18; + // SSL configuration for this AlloyDB cluster. + SslConfig ssl_config = 18 [deprecated = true]; // Optional. The encryption config can be specified to encrypt the data disks // and other persistent data resources of a cluster with a @@ -610,6 +669,35 @@ message Instance { int32 node_count = 1; } + // Policy to be used while updating the instance. + message UpdatePolicy { + // Specifies the available modes of update. + enum Mode { + // Mode is unknown. + MODE_UNSPECIFIED = 0; + + // Least disruptive way to apply the update. + DEFAULT = 1; + + // Performs a forced update when applicable. This will be fast but may + // incur a downtime. + FORCE_APPLY = 2; + } + + // Mode for updating the instance. + Mode mode = 1; + } + + // Client connection configuration + message ClientConnectionConfig { + // Optional. Configuration to enforce connectors only (ex: AuthProxy) + // connections to the database. + bool require_connectors = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. SSL config option for this instance. + SslConfig ssl_config = 2 [(google.api.field_behavior) = OPTIONAL]; + } + // Instance State enum State { // The state of the instance is unknown. @@ -667,10 +755,11 @@ message Instance { } // The Availability type of an instance. Potential values: - //
ZONAL: The instance serves data from only one zone. - // Outages in that zone affect instance availability. - //
REGIONAL: The instance can serve data from more than one zone - // in a region (it is highly available). + // + // - ZONAL: The instance serves data from only one zone. Outages in that + // zone affect instance availability. + // - REGIONAL: The instance can serve data from more than one zone in a + // region (it is highly available). enum AvailabilityType { // This is an unknown Availability type. AVAILABILITY_TYPE_UNSPECIFIED = 0; @@ -726,8 +815,11 @@ message Instance { MachineConfig machine_config = 10; // Availability type of an Instance. - // Defaults to REGIONAL for both primary and read instances. - // Note that primary and read instances can have different availability types. + // If empty, defaults to REGIONAL for primary instances. + // For read pools, availability_type is always UNSPECIFIED. Instances in the + // read pools are evenly distributed across available zones within the region + // (i.e. read pools with more than one node will have a node in at + // least two zones). AvailabilityType availability_type = 11; // The Compute Engine zone that the instance should serve from, per @@ -786,6 +878,16 @@ message Instance { // This is distinct from labels. // https://google.aip.dev/128 map annotations = 18; + + // Update policy that will be applied during instance update. + // This field is not persisted when you update the instance. + // To use a non-default update policy, you must + // specify explicitly specify the value in each update request. + UpdatePolicy update_policy = 22; + + // Optional. Client connection specific configurations + ClientConnectionConfig client_connection_config = 23 + [(google.api.field_behavior) = OPTIONAL]; } // ConnectionInfo singleton resource. @@ -801,14 +903,15 @@ message ConnectionInfo { // This field currently has no semantic meaning. string name = 1; - // Output only. The IP address for the Instance. - // This is the connection endpoint for an end-user application. + // Output only. The private network IP address for the Instance. This is the + // default IP for the instance and is always created (even if enable_public_ip + // is set). This is the connection endpoint for an end-user application. string ip_address = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The pem-encoded chain that may be used to verify the X.509 // certificate. Expected to be in issuer-to-root order according to RFC 5246. repeated string pem_certificate_chain = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; + [deprecated = true, (google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The unique ID of the Instance. string instance_uid = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -822,6 +925,29 @@ message Backup { style: DECLARATIVE_FRIENDLY }; + // A backup's position in a quantity-based retention queue, of backups with + // the same source cluster and type, with length, retention, specified by the + // backup's retention policy. + // Once the position is greater than the retention, the backup is eligible to + // be garbage collected. + // + // Example: 5 backups from the same source cluster and type with a + // quantity-based retention of 3 and denoted by backup_id (position, + // retention). + // + // Safe: backup_5 (1, 3), backup_4, (2, 3), backup_3 (3, 3). + // Awaiting garbage collection: backup_2 (4, 3), backup_1 (5, 3) + message QuantityBasedExpiry { + // Output only. The backup's position among its backups with the same source + // cluster and type, by descending chronological order create time(i.e. + // newest first). + int32 retention_count = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The length of the quantity-based queue, specified by the + // backup's retention policy. + int32 total_retention_count = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + } + // Backup State enum State { // The state of the backup is unknown. @@ -905,7 +1031,7 @@ message Backup { string cluster_uid = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; // Required. The full resource name of the backup source cluster - // (e.g., projects//locations//clusters/). + // (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}). string cluster_name = 10 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { type: "alloydb.googleapis.com/Cluster" } @@ -944,6 +1070,18 @@ message Backup { // added to the backup's create_time. google.protobuf.Timestamp expiry_time = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The QuantityBasedExpiry of the backup, specified by the + // backup's retention policy. Once the expiry quantity is over retention, the + // backup is eligible to be garbage collected. + QuantityBasedExpiry expiry_quantity = 20 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The database engine major version of the cluster this backup + // was created from. Any restored cluster created from this backup will have + // the same database version. + DatabaseVersion database_version = 22 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // SupportedDatabaseFlag gives general information about a database flag, @@ -1026,3 +1164,39 @@ message SupportedDatabaseFlag { // availability SLO's). bool requires_db_restart = 6; } + +// Message describing User object. +message User { + option (google.api.resource) = { + type: "alloydb.googleapis.com/User" + pattern: "projects/{project}/locations/{location}/clusters/{cluster}/users/{user}" + style: DECLARATIVE_FRIENDLY + }; + + // Enum that details the user type. + enum UserType { + // Unspecified user type. + USER_TYPE_UNSPECIFIED = 0; + + // The default user type that authenticates via password-based + // authentication. + ALLOYDB_BUILT_IN = 1; + + // Database user that can authenticate via IAM-Based authentication. + ALLOYDB_IAM_USER = 2; + } + + // Output only. Name of the resource in the form of + // projects/{project}/locations/{location}/cluster/{cluster}/users/{user}. + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Input only. Password for the user. + string password = 2 [(google.api.field_behavior) = INPUT_ONLY]; + + // Optional. List of database roles this user has. + // The database role strings are subject to the PostgreSQL naming conventions. + repeated string database_roles = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Type of this user. + UserType user_type = 5 [(google.api.field_behavior) = OPTIONAL]; +} diff --git a/third_party/googleapis/google/cloud/alloydb/v1beta/service.proto b/third_party/googleapis/google/cloud/alloydb/v1beta/service.proto index 4b081d95b..df23a56f1 100644 --- a/third_party/googleapis/google/cloud/alloydb/v1beta/service.proto +++ b/third_party/googleapis/google/cloud/alloydb/v1beta/service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -34,7 +34,7 @@ option java_multiple_files = true; option java_outer_classname = "ServiceProto"; option java_package = "com.google.cloud.alloydb.v1beta"; option php_namespace = "Google\\Cloud\\AlloyDb\\V1beta"; -option ruby_package = "Google::Cloud::AlloyDb::V1beta"; +option ruby_package = "Google::Cloud::AlloyDB::V1beta"; // Service describing handlers for resources service AlloyDBAdmin { @@ -255,6 +255,20 @@ service AlloyDBAdmin { }; } + // Injects fault in an instance. + // Imperative only. + rpc InjectFault(InjectFaultRequest) returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1beta/{name=projects/*/locations/*/clusters/*/instances/*}:injectFault" + body: "*" + }; + option (google.api.method_signature) = "fault_type,name"; + option (google.longrunning.operation_info) = { + response_type: "Instance" + metadata_type: "OperationMetadata" + }; + } + // Restart an Instance in a cluster. // Imperative only. rpc RestartInstance(RestartInstanceRequest) @@ -334,10 +348,10 @@ service AlloyDBAdmin { } // Generate a client certificate signed by a Cluster CA. - // The sole purpose of this endpoint is to support the Auth Proxy client and - // the endpoint's behavior is subject to change without notice, so do not rely - // on its behavior remaining constant. Future changes will not break the Auth - // Proxy client. + // The sole purpose of this endpoint is to support AlloyDB connectors and the + // Auth Proxy client. The endpoint's behavior is subject to change without + // notice, so do not rely on its behavior remaining constant. Future changes + // will not break AlloyDB connectors or the Auth Proxy client. rpc GenerateClientCertificate(GenerateClientCertificateRequest) returns (GenerateClientCertificateResponse) { option (google.api.http) = { @@ -354,6 +368,48 @@ service AlloyDBAdmin { }; option (google.api.method_signature) = "parent"; } + + // Lists Users in a given project and location. + rpc ListUsers(ListUsersRequest) returns (ListUsersResponse) { + option (google.api.http) = { + get: "/v1beta/{parent=projects/*/locations/*/clusters/*}/users" + }; + option (google.api.method_signature) = "parent"; + } + + // Gets details of a single User. + rpc GetUser(GetUserRequest) returns (User) { + option (google.api.http) = { + get: "/v1beta/{name=projects/*/locations/*/clusters/*/users/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Creates a new User in a given project, location, and cluster. + rpc CreateUser(CreateUserRequest) returns (User) { + option (google.api.http) = { + post: "/v1beta/{parent=projects/*/locations/*/clusters/*}/users" + body: "user" + }; + option (google.api.method_signature) = "parent,user,user_id"; + } + + // Updates the parameters of a single User. + rpc UpdateUser(UpdateUserRequest) returns (User) { + option (google.api.http) = { + patch: "/v1beta/{user.name=projects/*/locations/*/clusters/*/users/*}" + body: "user" + }; + option (google.api.method_signature) = "user,update_mask"; + } + + // Deletes a single User. + rpc DeleteUser(DeleteUserRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1beta/{name=projects/*/locations/*/clusters/*/users/*}" + }; + option (google.api.method_signature) = "name"; + } } // Message for requesting list of Clusters @@ -403,11 +459,15 @@ message GetClusterRequest { (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { type: "alloydb.googleapis.com/Cluster" } ]; + + // Optional. The view of the cluster to return. Returns all default fields if + // not set. + ClusterView view = 2 [(google.api.field_behavior) = OPTIONAL]; } message CreateSecondaryClusterRequest { - // Required. The name of the parent resource (the primary cluster). For the - // required format, see the comment on the Cluster.name field. + // Required. The location of the new cluster. For the required + // format, see the comment on the Cluster.name field. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -444,7 +504,7 @@ message CreateSecondaryClusterRequest { // Message for creating a Cluster message CreateClusterRequest { - // Required. The name of the parent resource. For the required format, see the + // Required. The location of the new cluster. For the required format, see the // comment on the Cluster.name field. string parent = 1 [ (google.api.field_behavior) = REQUIRED, @@ -815,6 +875,7 @@ message BatchCreateInstancesResponse { } // Message for metadata that is specific to BatchCreateInstances API. +// NEXT_ID: 3 message BatchCreateInstancesMetadata { // The instances being created in the API call. Each string in this list // is the server defined resource path for target instances in the request @@ -842,6 +903,7 @@ message BatchCreateInstancesMetadata { // 2. Instance2 = ROLLED_BACK // 3. Instance3 = FAILED // 4. Instance4 = FAILED +// // However, while the operation is running, the instance might be in other // states including PENDING_CREATE, ACTIVE, DELETING and CREATING. The states // / do not get further updated once the operation is done. @@ -1001,6 +1063,51 @@ message FailoverInstanceRequest { bool validate_only = 3 [(google.api.field_behavior) = OPTIONAL]; } +// Message for triggering fault injection on an instance +message InjectFaultRequest { + // FaultType contains all valid types of faults that can be injected to an + // instance. + enum FaultType { + // The fault type is unknown. + FAULT_TYPE_UNSPECIFIED = 0; + + // Stop the VM + STOP_VM = 1; + } + + // Required. The type of fault to be injected in an instance. + FaultType fault_type = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The name of the resource. For the required format, see the + // comment on the Instance.name field. + string name = 2 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "alloydb.googleapis.com/Instance" + } + ]; + + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes after the first request. + // + // For example, consider a situation where you make an initial request and + // the request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If set, performs request validation (e.g. permission checks and + // any other type of validation), but do not actually execute the fault + // injection. + bool validate_only = 4 [(google.api.field_behavior) = OPTIONAL]; +} + message RestartInstanceRequest { // Required. The name of the resource. For the required format, see the // comment on the Instance.name field. @@ -1242,7 +1349,8 @@ message GenerateClientCertificateRequest { string request_id = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. A pem-encoded X.509 certificate signing request (CSR). - string pem_csr = 3 [(google.api.field_behavior) = OPTIONAL]; + string pem_csr = 3 + [deprecated = true, (google.api.field_behavior) = OPTIONAL]; // Optional. An optional hint to the endpoint to generate the client // certificate with the requested duration. The duration can be from 1 hour to @@ -1251,6 +1359,14 @@ message GenerateClientCertificateRequest { // default duration. google.protobuf.Duration cert_duration = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The public key from the client. + string public_key = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. An optional hint to the endpoint to generate a client + // ceritificate that can be used by AlloyDB connectors to exchange additional + // metadata with the server after TLS handshake. + bool use_metadata_exchange = 6 [(google.api.field_behavior) = OPTIONAL]; } // Message returned by a GenerateClientCertificate operation. @@ -1262,6 +1378,9 @@ message GenerateClientCertificateResponse { // certificate. Expected to be in issuer-to-root order according to RFC 5246. repeated string pem_certificate_chain = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. The pem-encoded cluster ca X.509 certificate. + string ca_cert = 3 [(google.api.field_behavior) = OPTIONAL]; } // Request message for GetConnectionInfo. @@ -1327,3 +1446,150 @@ message OperationMetadata { // Output only. API version used to start the operation. string api_version = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; } + +// Message for requesting list of Users +message ListUsersRequest { + // Required. Parent value for ListUsersRequest + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "alloydb.googleapis.com/User" + } + ]; + + // Optional. Requested page size. Server may return fewer items than + // requested. If unspecified, server will pick an appropriate default. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. A token identifying a page of results the server should return. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Filtering results + string filter = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Hint for how to order the results + string order_by = 5 [(google.api.field_behavior) = OPTIONAL]; +} + +// Message for response to listing Users +message ListUsersResponse { + // The list of User + repeated User users = 1; + + // A token identifying a page of results the server should return. + string next_page_token = 2; + + // Locations that could not be reached. + repeated string unreachable = 3; +} + +// Message for getting a User +message GetUserRequest { + // Required. The name of the resource. For the required format, see the + // comment on the User.name field. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "alloydb.googleapis.com/User" } + ]; +} + +// Message for creating a User +message CreateUserRequest { + // Required. Value for parent. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "alloydb.googleapis.com/User" + } + ]; + + // Required. ID of the requesting object. + string user_id = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The resource being created + User user = 3 [(google.api.field_behavior) = REQUIRED]; + + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes since the first request. + // + // For example, consider a situation where you make an initial request and + // the request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If set, the backend validates the request, but doesn't actually + // execute it. + bool validate_only = 5 [(google.api.field_behavior) = OPTIONAL]; +} + +// Message for updating a User +message UpdateUserRequest { + // Optional. Field mask is used to specify the fields to be overwritten in the + // User resource by the update. + // The fields specified in the update_mask are relative to the resource, not + // the full request. A field will be overwritten if it is in the mask. If the + // user does not provide a mask then all fields will be overwritten. + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = OPTIONAL]; + + // Required. The resource being updated + User user = 2 [(google.api.field_behavior) = REQUIRED]; + + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes since the first request. + // + // For example, consider a situation where you make an initial request and + // the request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If set, the backend validates the request, but doesn't actually + // execute it. + bool validate_only = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Allow missing fields in the update mask. + bool allow_missing = 5 [(google.api.field_behavior) = OPTIONAL]; +} + +// Message for deleting a User +message DeleteUserRequest { + // Required. The name of the resource. For the required format, see the + // comment on the User.name field. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "alloydb.googleapis.com/User" } + ]; + + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes after the first request. + // + // For example, consider a situation where you make an initial request and + // the request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If set, the backend validates the request, but doesn't actually + // execute it. + bool validate_only = 3 [(google.api.field_behavior) = OPTIONAL]; +} diff --git a/third_party/googleapis/google/cloud/apigateway/BUILD.bazel b/third_party/googleapis/google/cloud/apigateway/BUILD.bazel index 835255afb..5fa07f5cb 100644 --- a/third_party/googleapis/google/cloud/apigateway/BUILD.bazel +++ b/third_party/googleapis/google/cloud/apigateway/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-api_gateway", "ruby-cloud-env-prefix=API_GATEWAY", - "ruby-cloud-wrapper-of=v1:0.1", + "ruby-cloud-wrapper-of=v1:0.6", "ruby-cloud-product-url=https://cloud.google.com/api-gateway/", "ruby-cloud-api-id=apigateway.googleapis.com", "ruby-cloud-api-shortname=apigateway", ], ruby_cloud_description = "API Gateway enables you to provide secure access to your backend services through a well-defined REST API that is consistent across all of your services, regardless of the service implementation. Clients consume your REST APIS to implement standalone apps for a mobile device or tablet, through apps running in a browser, or through any other type of app that can make a request to an HTTP endpoint.", ruby_cloud_title = "API Gateway", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/apigateway/v1/BUILD.bazel b/third_party/googleapis/google/cloud/apigateway/v1/BUILD.bazel index 0de112cf0..c2ddcc1f2 100644 --- a/third_party/googleapis/google/cloud/apigateway/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/apigateway/v1/BUILD.bazel @@ -72,12 +72,14 @@ java_gapic_library( srcs = [":apigateway_proto_with_info"], grpc_service_config = "apigateway_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "apigateway_v1.yaml", test_deps = [ ":apigateway_java_grpc", ], transport = "grpc+rest", deps = [ ":apigateway_java_proto", + "//google/api:api_java_proto", ], ) @@ -111,7 +113,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -143,19 +144,13 @@ go_gapic_library( ], ) -go_test( - name = "apigateway_go_gapic_test", - srcs = [":apigateway_go_gapic_srcjar_test"], - embed = [":apigateway_go_gapic"], - importpath = "cloud.google.com/go/apigateway/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-apigateway-v1-go", deps = [ ":apigateway_go_gapic", ":apigateway_go_gapic_srcjar-metadata.srcjar", + ":apigateway_go_gapic_srcjar-snippets.srcjar", ":apigateway_go_gapic_srcjar-test.srcjar", ":apigateway_go_proto", ], @@ -206,7 +201,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -215,23 +209,15 @@ php_proto_library( deps = [":apigateway_proto"], ) -php_grpc_library( - name = "apigateway_php_grpc", - srcs = [":apigateway_proto"], - deps = [":apigateway_php_proto"], -) - php_gapic_library( name = "apigateway_php_gapic", srcs = [":apigateway_proto_with_info"], grpc_service_config = "apigateway_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "apigateway_v1.yaml", transport = "grpc+rest", - deps = [ - ":apigateway_php_grpc", - ":apigateway_php_proto", - ], + deps = [":apigateway_php_proto"], ) # Open Source Packages @@ -239,7 +225,6 @@ php_gapic_assembly_pkg( name = "google-cloud-apigateway-v1-php", deps = [ ":apigateway_php_gapic", - ":apigateway_php_grpc", ":apigateway_php_proto", ], ) @@ -311,6 +296,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "API Gateway enables you to provide secure access to your backend services through a well-defined REST API that is consistent across all of your services, regardless of the service implementation. Clients consume your REST APIS to implement standalone apps for a mobile device or tablet, through apps running in a browser, or through any other type of app that can make a request to an HTTP endpoint.", ruby_cloud_title = "API Gateway V1", service_yaml = "apigateway_v1.yaml", + transport = "grpc+rest", deps = [ ":apigateway_ruby_grpc", ":apigateway_ruby_proto", diff --git a/third_party/googleapis/google/cloud/apigeeconnect/BUILD.bazel b/third_party/googleapis/google/cloud/apigeeconnect/BUILD.bazel index b61287641..58009eb67 100644 --- a/third_party/googleapis/google/cloud/apigeeconnect/BUILD.bazel +++ b/third_party/googleapis/google/cloud/apigeeconnect/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-apigee_connect", "ruby-cloud-env-prefix=APIGEE_CONNECT", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.6", "ruby-cloud-product-url=https://cloud.google.com/apigee/docs/hybrid/v1.4/apigee-connect", "ruby-cloud-api-id=apigeeconnect.googleapis.com", "ruby-cloud-api-shortname=apigeeconnect", ], ruby_cloud_description = "Apigee Connect allows the Apigee hybrid management plane to connect securely to the MART service in the runtime plane without requiring you to expose the MART endpoint on the internet. If you use Apigee Connect, you do not need to configure the MART ingress gateway with a host alias and an authorized DNS certificate.", ruby_cloud_title = "Apigee Connect", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/apigeeconnect/v1/BUILD.bazel b/third_party/googleapis/google/cloud/apigeeconnect/v1/BUILD.bazel index da7448ade..8412880d2 100644 --- a/third_party/googleapis/google/cloud/apigeeconnect/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/apigeeconnect/v1/BUILD.bazel @@ -70,6 +70,7 @@ java_gapic_library( srcs = [":apigeeconnect_proto_with_info"], grpc_service_config = "connection_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "apigeeconnect_v1.yaml", test_deps = [ ":apigeeconnect_java_grpc", ], @@ -110,7 +111,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -139,19 +139,13 @@ go_gapic_library( ], ) -go_test( - name = "apigeeconnect_go_gapic_test", - srcs = [":apigeeconnect_go_gapic_srcjar_test"], - embed = [":apigeeconnect_go_gapic"], - importpath = "cloud.google.com/go/apigeeconnect/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-apigeeconnect-v1-go", deps = [ ":apigeeconnect_go_gapic", ":apigeeconnect_go_gapic_srcjar-metadata.srcjar", + ":apigeeconnect_go_gapic_srcjar-snippets.srcjar", ":apigeeconnect_go_gapic_srcjar-test.srcjar", ":apigeeconnect_go_proto", ], @@ -202,7 +196,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -211,23 +204,15 @@ php_proto_library( deps = [":apigeeconnect_proto"], ) -php_grpc_library( - name = "apigeeconnect_php_grpc", - srcs = [":apigeeconnect_proto"], - deps = [":apigeeconnect_php_proto"], -) - php_gapic_library( name = "apigeeconnect_php_gapic", srcs = [":apigeeconnect_proto_with_info"], grpc_service_config = "connection_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "apigeeconnect_v1.yaml", transport = "grpc+rest", - deps = [ - ":apigeeconnect_php_grpc", - ":apigeeconnect_php_proto", - ], + deps = [":apigeeconnect_php_proto"], ) # Open Source Packages @@ -235,7 +220,6 @@ php_gapic_assembly_pkg( name = "google-cloud-apigeeconnect-v1-php", deps = [ ":apigeeconnect_php_gapic", - ":apigeeconnect_php_grpc", ":apigeeconnect_php_proto", ], ) @@ -307,6 +291,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Apigee Connect allows the Apigee hybrid management plane to connect securely to the MART service in the runtime plane without requiring you to expose the MART endpoint on the internet. If you use Apigee Connect, you do not need to configure the MART ingress gateway with a host alias and an authorized DNS certificate.", ruby_cloud_title = "Apigee Connect V1", service_yaml = "apigeeconnect_v1.yaml", + transport = "grpc+rest", deps = [ ":apigeeconnect_ruby_grpc", ":apigeeconnect_ruby_proto", diff --git a/third_party/googleapis/google/cloud/apigeeregistry/BUILD.bazel b/third_party/googleapis/google/cloud/apigeeregistry/BUILD.bazel index 907465d61..a24e2bb99 100644 --- a/third_party/googleapis/google/cloud/apigeeregistry/BUILD.bazel +++ b/third_party/googleapis/google/cloud/apigeeregistry/BUILD.bazel @@ -24,10 +24,11 @@ ruby_cloud_gapic_library( "ruby-cloud-api-shortname=apigeeregistry", "ruby-cloud-gem-name=google-cloud-apigee_registry", "ruby-cloud-product-url=https://cloud.google.com/apigee/docs/api-hub/get-started-registry-api/", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.7", ], ruby_cloud_description = "The Apigee Registry API allows teams to upload and share machine-readable descriptions of APIs that are in use and in development. These descriptions include API specifications in standard formats like OpenAPI, the Google API Discovery Service Format, and the Protocol Buffers Language. These API specifications can be used by tools like linters, browsers, documentation generators, test runners, proxies, and API client and server generators. The Registry API itself can be seen as a machine-readable enterprise API catalog designed to back online directories, portals, and workflow managers.", ruby_cloud_title = "Apigee Registry", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/apigeeregistry/v1/BUILD.bazel b/third_party/googleapis/google/cloud/apigeeregistry/v1/BUILD.bazel index ececc3e65..257fff5bf 100644 --- a/third_party/googleapis/google/cloud/apigeeregistry/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/apigeeregistry/v1/BUILD.bazel @@ -124,7 +124,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -145,7 +144,7 @@ go_gapic_library( grpc_service_config = "apigeeregistry_grpc_service_config.json", importpath = "cloud.google.com/go/apigeeregistry/apiv1;apigeeregistry", metadata = True, - release_level = "beta", + release_level = "ga", rest_numeric_enums = True, service_yaml = "apigeeregistry_v1.yaml", deps = [ @@ -159,19 +158,13 @@ go_gapic_library( ], ) -go_test( - name = "apigeeregistry_go_gapic_test", - srcs = [":apigeeregistry_go_gapic_srcjar_test"], - embed = [":apigeeregistry_go_gapic"], - importpath = "cloud.google.com/go/apigeeregistry/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-apigeeregistry-v1-go", deps = [ ":apigeeregistry_go_gapic", ":apigeeregistry_go_gapic_srcjar-metadata.srcjar", + ":apigeeregistry_go_gapic_srcjar-snippets.srcjar", ":apigeeregistry_go_gapic_srcjar-test.srcjar", ":apigeeregistry_go_proto", ], @@ -229,7 +222,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -238,23 +230,15 @@ php_proto_library( deps = [":apigeeregistry_proto"], ) -php_grpc_library( - name = "apigeeregistry_php_grpc", - srcs = [":apigeeregistry_proto"], - deps = [":apigeeregistry_php_proto"], -) - php_gapic_library( name = "apigeeregistry_php_gapic", srcs = [":apigeeregistry_proto_with_info"], grpc_service_config = "apigeeregistry_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "apigeeregistry_v1.yaml", transport = "grpc+rest", - deps = [ - ":apigeeregistry_php_grpc", - ":apigeeregistry_php_proto", - ], + deps = [":apigeeregistry_php_proto"], ) # Open Source Packages @@ -262,7 +246,6 @@ php_gapic_assembly_pkg( name = "google-cloud-apigeeregistry-v1-php", deps = [ ":apigeeregistry_php_gapic", - ":apigeeregistry_php_grpc", ":apigeeregistry_php_proto", ], ) @@ -333,6 +316,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "The Apigee Registry API allows teams to upload and share machine-readable descriptions of APIs that are in use and in development. These descriptions include API specifications in standard formats like OpenAPI, the Google API Discovery Service Format, and the Protocol Buffers Language. These API specifications can be used by tools like linters, browsers, documentation generators, test runners, proxies, and API client and server generators. The Registry API itself can be seen as a machine-readable enterprise API catalog designed to back online directories, portals, and workflow managers.", ruby_cloud_title = "Apigee Registry V1", service_yaml = "apigeeregistry_v1.yaml", + transport = "grpc+rest", deps = [ ":apigeeregistry_ruby_grpc", ":apigeeregistry_ruby_proto", diff --git a/third_party/googleapis/google/cloud/asset/BUILD.bazel b/third_party/googleapis/google/cloud/asset/BUILD.bazel index 242ca6e28..ad51f696b 100644 --- a/third_party/googleapis/google/cloud/asset/BUILD.bazel +++ b/third_party/googleapis/google/cloud/asset/BUILD.bazel @@ -22,7 +22,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-asset", "ruby-cloud-env-prefix=ASSET", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.29", "ruby-cloud-product-url=https://cloud.google.com/asset-inventory/", "ruby-cloud-api-id=cloudasset.googleapis.com", "ruby-cloud-api-shortname=cloudasset", @@ -30,6 +30,7 @@ ruby_cloud_gapic_library( ], ruby_cloud_description = "A metadata inventory service that allows you to view, monitor, and analyze all your GCP and Anthos assets across projects and services.", ruby_cloud_title = "Cloud Asset", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/asset/v1/BUILD.bazel b/third_party/googleapis/google/cloud/asset/v1/BUILD.bazel index 3301aa00d..b5af68636 100644 --- a/third_party/googleapis/google/cloud/asset/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/asset/v1/BUILD.bazel @@ -1,3 +1,4 @@ + # This file was automatically generated by BuildFileGenerator # This is an API workspace, having public visibility by default makes perfect sense. @@ -23,6 +24,7 @@ proto_library( "//google/cloud/orgpolicy/v1:orgpolicy_proto", "//google/cloud/osconfig/v1:osconfig_proto", "//google/iam/v1:policy_proto", + "//google/identity/accesscontextmanager/type:type_proto", "//google/identity/accesscontextmanager/v1:accesscontextmanager_proto", "//google/longrunning:operations_proto", "//google/rpc:code_proto", @@ -73,6 +75,7 @@ java_gapic_library( srcs = [":asset_proto_with_info"], grpc_service_config = "cloudasset_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "cloudasset_v1.yaml", test_deps = [ ":asset_java_grpc", "//google/iam/v1:iam_java_grpc", @@ -80,6 +83,7 @@ java_gapic_library( transport = "grpc+rest", deps = [ ":asset_java_proto", + "//google/api:api_java_proto", "//google/iam/v1:iam_java_proto", ], ) @@ -114,7 +118,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -156,18 +159,12 @@ go_gapic_library( ], ) -go_test( - name = "asset_go_gapic_test", - srcs = [":asset_go_gapic_srcjar_test"], - embed = [":asset_go_gapic"], - importpath = "cloud.google.com/go/asset/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-asset-v1-go", deps = [ ":asset_go_gapic", + ":asset_go_gapic_srcjar-snippets.srcjar", ":asset_go_gapic_srcjar-test.srcjar", ":asset_go_proto", ], @@ -180,19 +177,28 @@ load( "@com_google_googleapis_imports//:imports.bzl", "py_gapic_assembly_pkg", "py_gapic_library", + "py_import", "py_test", ) +py_import( + name = "osconfig", + srcs = [ + "//google/cloud/osconfig/v1:osconfig_py_gapic", + ], +) + py_gapic_library( name = "asset_py_gapic", srcs = [":asset_proto"], grpc_service_config = "cloudasset_grpc_service_config.json", + opt_args = ["proto-plus-deps=google.cloud.osconfig.v1"], rest_numeric_enums = True, service_yaml = "cloudasset_v1.yaml", transport = "grpc+rest", deps = [ + ":osconfig", "//google/cloud/orgpolicy/v1:orgpolicy_py_original_proto", - "//google/cloud/osconfig/v1:osconfig_py_proto", "//google/iam/v1:policy_py_proto", "//google/identity/accesscontextmanager/v1:access_level_py_proto", "//google/identity/accesscontextmanager/v1:access_policy_py_proto", @@ -225,7 +231,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -234,23 +239,15 @@ php_proto_library( deps = [":asset_proto"], ) -php_grpc_library( - name = "asset_php_grpc", - srcs = [":asset_proto"], - deps = [":asset_php_proto"], -) - php_gapic_library( name = "asset_php_gapic", srcs = [":asset_proto_with_info"], grpc_service_config = "cloudasset_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "cloudasset_v1.yaml", transport = "grpc+rest", - deps = [ - ":asset_php_grpc", - ":asset_php_proto", - ], + deps = [":asset_php_proto"], ) # Open Source Packages @@ -258,7 +255,6 @@ php_gapic_assembly_pkg( name = "google-cloud-asset-v1-php", deps = [ ":asset_php_gapic", - ":asset_php_grpc", ":asset_php_proto", ], ) @@ -290,8 +286,11 @@ nodejs_gapic_assembly_pkg( deps = [ ":asset_nodejs_gapic", ":asset_proto", + "//google/cloud/orgpolicy/v1:orgpolicy_proto", "//google/cloud/osconfig/v1:osconfig_proto", - ], + "//google/identity/accesscontextmanager/v1:accesscontextmanager_proto", + "//google/identity/accesscontextmanager/type:type_proto", + ], ) ############################################################################## @@ -328,13 +327,14 @@ ruby_cloud_gapic_library( "ruby-cloud-product-url=https://cloud.google.com/asset-inventory/", "ruby-cloud-api-id=cloudasset.googleapis.com", "ruby-cloud-api-shortname=cloudasset", - "ruby-cloud-extra-dependencies=google-identity-access_context_manager-v1=> 0.0|< 2.a;google-cloud-os_config-v1=> 0.0|< 2.a", + "ruby-cloud-extra-dependencies=google-identity-access_context_manager-v1=>0.0+<2.a;google-cloud-os_config-v1=>0.0+<2.a", ], grpc_service_config = "cloudasset_grpc_service_config.json", rest_numeric_enums = True, ruby_cloud_description = "A metadata inventory service that allows you to view, monitor, and analyze all your GCP and Anthos assets across projects and services.", ruby_cloud_title = "Cloud Asset V1", service_yaml = "cloudasset_v1.yaml", + transport = "grpc+rest", deps = [ ":asset_ruby_grpc", ":asset_ruby_proto", diff --git a/third_party/googleapis/google/cloud/asset/v1/asset_service.proto b/third_party/googleapis/google/cloud/asset/v1/asset_service.proto index d024e6a0f..d87a37167 100644 --- a/third_party/googleapis/google/cloud/asset/v1/asset_service.proto +++ b/third_party/googleapis/google/cloud/asset/v1/asset_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -199,8 +199,7 @@ service AssetService { } // Issue a job that queries assets using a SQL statement compatible with - // [BigQuery Standard - // SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql). + // [BigQuery SQL](https://cloud.google.com/bigquery/docs/introduction-sql). // // If the query execution finishes within timeout and there's no pagination, // the full query results will be returned in the `QueryAssetsResponse`. @@ -209,9 +208,8 @@ service AssetService { // with the `job_reference` from the a previous `QueryAssets` call. // // Note, the query result has approximately 10 GB limitation enforced by - // BigQuery - // https://cloud.google.com/bigquery/docs/best-practices-performance-output, - // queries return larger results will result in errors. + // [BigQuery](https://cloud.google.com/bigquery/docs/best-practices-performance-output). + // Queries return larger results will result in errors. rpc QueryAssets(QueryAssetsRequest) returns (QueryAssetsResponse) { option (google.api.http) = { post: "/v1/{parent=*/*}:queryAssets" @@ -306,9 +304,8 @@ service AssetService { // * compute.requireOsLogin // * compute.disableNestedVirtualization // - // This RPC only returns either resources of types supported by [searchable - // asset - // types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types), + // This RPC only returns either resources of types [supported by search + // APIs](https://cloud.google.com/asset-inventory/docs/supported-asset-types) // or IAM policies. rpc AnalyzeOrgPolicyGovernedAssets(AnalyzeOrgPolicyGovernedAssetsRequest) returns (AnalyzeOrgPolicyGovernedAssetsResponse) { @@ -563,7 +560,7 @@ message CreateFeedRequest { // Required. The name of the project/folder/organization where this feed // should be created in. It can only be an organization number (such as // "organizations/123"), a folder number (such as "folders/123"), a project ID - // (such as "projects/my-project-id")", or a project number (such as + // (such as "projects/my-project-id"), or a project number (such as // "projects/12345"). string parent = 1 [(google.api.field_behavior) = REQUIRED]; @@ -911,55 +908,83 @@ message SearchAllResourcesRequest { // Examples: // // * `name:Important` to find Google Cloud resources whose name contains - // "Important" as a word. + // `Important` as a word. // * `name=Important` to find the Google Cloud resource whose name is exactly - // "Important". + // `Important`. // * `displayName:Impor*` to find Google Cloud resources whose display name - // contains "Impor" as a prefix of any word in the field. + // contains `Impor` as a prefix of any word in the field. // * `location:us-west*` to find Google Cloud resources whose location - // contains both "us" and "west" as prefixes. - // * `labels:prod` to find Google Cloud resources whose labels contain "prod" + // contains both `us` and `west` as prefixes. + // * `labels:prod` to find Google Cloud resources whose labels contain `prod` // as a key or value. - // * `labels.env:prod` to find Google Cloud resources that have a label "env" - // and its value is "prod". - // * `labels.env:*` to find Google Cloud resources that have a label "env". + // * `labels.env:prod` to find Google Cloud resources that have a label `env` + // and its value is `prod`. + // * `labels.env:*` to find Google Cloud resources that have a label `env`. + // * `tagKeys:env` to find Google Cloud resources that have directly + // attached tags where the + // [`TagKey.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagKeys#resource:-tagkey) + // contains `env`. + // * `tagValues:prod*` to find Google Cloud resources that have directly + // attached tags where the + // [`TagValue.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue) + // contains a word prefixed by `prod`. + // * `tagValueIds=tagValues/123` to find Google Cloud resources that have + // directly attached tags where the + // [`TagValue.name`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue) + // is exactly `tagValues/123`. + // * `effectiveTagKeys:env` to find Google Cloud resources that have + // directly attached or inherited tags where the + // [`TagKey.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagKeys#resource:-tagkey) + // contains `env`. + // * `effectiveTagValues:prod*` to find Google Cloud resources that have + // directly attached or inherited tags where the + // [`TagValue.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue) + // contains a word prefixed by `prod`. + // * `effectiveTagValueIds=tagValues/123` to find Google Cloud resources that + // have directly attached or inherited tags where the + // [`TagValue.name`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue) + // is exactly `tagValues/123`. // * `kmsKey:key` to find Google Cloud resources encrypted with a - // customer-managed encryption key whose name contains "key" as a word. This - // field is deprecated. Please use the `kmsKeys` field to retrieve Cloud KMS + // customer-managed encryption key whose name contains `key` as a word. This + // field is deprecated. Use the `kmsKeys` field to retrieve Cloud KMS // key information. // * `kmsKeys:key` to find Google Cloud resources encrypted with - // customer-managed encryption keys whose name contains the word "key". + // customer-managed encryption keys whose name contains the word `key`. // * `relationships:instance-group-1` to find Google Cloud resources that have - // relationships with "instance-group-1" in the related resource name. + // relationships with `instance-group-1` in the related resource name. // * `relationships:INSTANCE_TO_INSTANCEGROUP` to find Compute Engine - // instances that have relationships of type "INSTANCE_TO_INSTANCEGROUP". + // instances that have relationships of type `INSTANCE_TO_INSTANCEGROUP`. // * `relationships.INSTANCE_TO_INSTANCEGROUP:instance-group-1` to find - // Compute Engine instances that have relationships with "instance-group-1" + // Compute Engine instances that have relationships with `instance-group-1` // in the Compute Engine instance group resource name, for relationship type - // "INSTANCE_TO_INSTANCEGROUP". + // `INSTANCE_TO_INSTANCEGROUP`. + // * `sccSecurityMarks.key=value` to find Cloud resources that are attached + // with security marks whose key is `key` and value is `value`. + // * `sccSecurityMarks.key:*` to find Cloud resources that are attached with + // security marks whose key is `key`. // * `state:ACTIVE` to find Google Cloud resources whose state contains - // "ACTIVE" as a word. + // `ACTIVE` as a word. // * `NOT state:ACTIVE` to find Google Cloud resources whose state doesn't - // contain "ACTIVE" as a word. + // contain `ACTIVE` as a word. // * `createTime<1609459200` to find Google Cloud resources that were created - // before "2021-01-01 00:00:00 UTC". 1609459200 is the epoch timestamp of - // "2021-01-01 00:00:00 UTC" in seconds. + // before `2021-01-01 00:00:00 UTC`. `1609459200` is the epoch timestamp of + // `2021-01-01 00:00:00 UTC` in seconds. // * `updateTime>1609459200` to find Google Cloud resources that were updated - // after "2021-01-01 00:00:00 UTC". 1609459200 is the epoch timestamp of - // "2021-01-01 00:00:00 UTC" in seconds. - // * `Important` to find Google Cloud resources that contain "Important" as a + // after `2021-01-01 00:00:00 UTC`. `1609459200` is the epoch timestamp of + // `2021-01-01 00:00:00 UTC` in seconds. + // * `Important` to find Google Cloud resources that contain `Important` as a // word in any of the searchable fields. - // * `Impor*` to find Google Cloud resources that contain "Impor" as a prefix + // * `Impor*` to find Google Cloud resources that contain `Impor` as a prefix // of any word in any of the searchable fields. // * `Important location:(us-west1 OR global)` to find Google Cloud - // resources that contain "Important" as a word in any of the searchable - // fields and are also located in the "us-west1" region or the "global" + // resources that contain `Important` as a word in any of the searchable + // fields and are also located in the `us-west1` region or the `global` // location. string query = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. A list of asset types that this request searches for. If empty, - // it will search all the [searchable asset - // types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types). + // it will search all the asset types [supported by search + // APIs](https://cloud.google.com/asset-inventory/docs/supported-asset-types). // // Regular expressions are also supported. For example: // @@ -974,10 +999,10 @@ message SearchAllResourcesRequest { repeated string asset_types = 3 [(google.api.field_behavior) = OPTIONAL]; // Optional. The page size for search result pagination. Page size is capped - // at 500 even if a larger value is given. If set to zero, server will pick an - // appropriate default. Returned results may be fewer than requested. When - // this happens, there could be more results as long as `next_page_token` is - // returned. + // at 500 even if a larger value is given. If set to zero or a negative value, + // server will pick an appropriate default. Returned results may be fewer than + // requested. When this happens, there could be more results as long as + // `next_page_token` is returned. int32 page_size = 4 [(google.api.field_behavior) = OPTIONAL]; // Optional. If present, then retrieve the next batch of results from the @@ -990,7 +1015,7 @@ message SearchAllResourcesRequest { // the results. The default order is ascending. Add " DESC" after the field // name to indicate descending order. Redundant space characters are ignored. // Example: "location DESC, name". - // Only singular primitive fields in the response are sortable: + // Only the following fields in the response are sortable: // // * name // * assetType @@ -1003,44 +1028,38 @@ message SearchAllResourcesRequest { // * state // * parentFullResourceName // * parentAssetType - // - // All the other fields such as repeated fields (e.g., `networkTags`, - // `kmsKeys`), map fields (e.g., `labels`) and struct fields (e.g., - // `additionalAttributes`) are not supported. string order_by = 6 [(google.api.field_behavior) = OPTIONAL]; - // Optional. A comma-separated list of fields specifying which fields to be - // returned in ResourceSearchResult. Only '*' or combination of top level - // fields can be specified. Field names of both snake_case and camelCase are - // supported. Examples: `"*"`, `"name,location"`, `"name,versionedResources"`. - // - // The read_mask paths must be valid field paths listed but not limited to - // (both snake_case and camelCase are supported): - // - // * name - // * assetType - // * project - // * displayName - // * description - // * location - // * tagKeys - // * tagValues - // * tagValueIds - // * labels - // * networkTags - // * kmsKey (This field is deprecated. Please use the `kmsKeys` field to - // retrieve Cloud KMS key information.) - // * kmsKeys - // * createTime - // * updateTime - // * state - // * additionalAttributes - // * versionedResources - // - // If read_mask is not specified, all fields except versionedResources will - // be returned. - // If only '*' is specified, all fields including versionedResources will be - // returned. + // Optional. A comma-separated list of fields that you want returned in the + // results. The following fields are returned by default if not specified: + // + // * `name` + // * `assetType` + // * `project` + // * `folders` + // * `organization` + // * `displayName` + // * `description` + // * `location` + // * `labels` + // * `tags` + // * `effectiveTags` + // * `networkTags` + // * `kmsKeys` + // * `createTime` + // * `updateTime` + // * `state` + // * `additionalAttributes` + // * `parentFullResourceName` + // * `parentAssetType` + // + // Some fields of large size, such as `versionedResources`, + // `attachedResources`, `effectiveTags` etc., are not returned by default, but + // you can specify them in the `read_mask` parameter if you want to include + // them. If `"*"` is specified, all [available + // fields](https://cloud.google.com/asset-inventory/docs/reference/rest/v1/TopLevel/searchAllResources#resourcesearchresult) + // are returned. + // Examples: `"name,location"`, `"name,versionedResources"`, `"*"`. // Any invalid field path will trigger INVALID_ARGUMENT error. google.protobuf.FieldMask read_mask = 8 [(google.api.field_behavior) = OPTIONAL]; @@ -1119,10 +1138,10 @@ message SearchAllIamPoliciesRequest { string query = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. The page size for search result pagination. Page size is capped - // at 500 even if a larger value is given. If set to zero, server will pick an - // appropriate default. Returned results may be fewer than requested. When - // this happens, there could be more results as long as `next_page_token` is - // returned. + // at 500 even if a larger value is given. If set to zero or a negative value, + // server will pick an appropriate default. Returned results may be fewer than + // requested. When this happens, there could be more results as long as + // `next_page_token` is returned. int32 page_size = 3 [(google.api.field_behavior) = OPTIONAL]; // Optional. If present, retrieve the next batch of results from the preceding @@ -1132,9 +1151,9 @@ message SearchAllIamPoliciesRequest { string page_token = 4 [(google.api.field_behavior) = OPTIONAL]; // Optional. A list of asset types that the IAM policies are attached to. If - // empty, it will search the IAM policies that are attached to all the - // [searchable asset - // types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types). + // empty, it will search the IAM policies that are attached to all the asset + // types [supported by search + // APIs](https://cloud.google.com/asset-inventory/docs/supported-asset-types) // // Regular expressions are also supported. For example: // @@ -1384,7 +1403,7 @@ message AnalyzeIamPolicyRequest { // If both `analysis_query` and `saved_analysis_query` are provided, they // will be merged together with the `saved_analysis_query` as base and // the `analysis_query` as overrides. For more details of the merge behavior, - // please refer to the + // refer to the // [MergeFrom](https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.message#Message.MergeFrom.details) // page. // @@ -1540,7 +1559,7 @@ message AnalyzeIamPolicyLongrunningRequest { // If both `analysis_query` and `saved_analysis_query` are provided, they // will be merged together with the `saved_analysis_query` as base and // the `analysis_query` as overrides. For more details of the merge behavior, - // please refer to the + // refer to the // [MergeFrom](https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.message#Message.MergeFrom.details) // doc. // @@ -1621,8 +1640,8 @@ message CreateSavedQueryRequest { // Required. The name of the project/folder/organization where this // saved_query should be created in. It can only be an organization number // (such as "organizations/123"), a folder number (such as "folders/123"), a - // project ID (such as "projects/my-project-id")", or a project number (such - // as "projects/12345"). + // project ID (such as "projects/my-project-id"), or a project number (such as + // "projects/12345"). string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1684,8 +1703,8 @@ message ListSavedQueriesRequest { // Optional. The maximum number of saved queries to return per page. The // service may return fewer than this value. If unspecified, at most 50 will - // be returned. - // The maximum value is 1000; values above 1000 will be coerced to 1000. + // be returned. The maximum value is 1000; values above 1000 will be coerced + // to 1000. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. A page token, received from a previous `ListSavedQueries` call. @@ -1760,14 +1779,22 @@ message AnalyzeMoveRequest { // Only Google Cloud projects are supported as of today. Hence, this can only // be a project ID (such as "projects/my-project-id") or a project number // (such as "projects/12345"). - string resource = 1 [(google.api.field_behavior) = REQUIRED]; + string resource = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudresourcemanager.googleapis.com/Project" + } + ]; // Required. Name of the Google Cloud folder or organization to reparent the // target resource. The analysis will be performed against hypothetically // moving the resource to this specified desitination parent. This can only be // a folder number (such as "folders/123") or an organization number (such as // "organizations/123"). - string destination_parent = 2 [(google.api.field_behavior) = REQUIRED]; + string destination_parent = 2 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "*" } + ]; // Analysis view indicating what information should be included in the // analysis response. If unspecified, the default view is FULL. @@ -1861,8 +1888,8 @@ message QueryAssetsRequest { ]; oneof query { - // Optional. A SQL statement that's compatible with [BigQuery Standard - // SQL](http://cloud/bigquery/docs/reference/standard-sql/enabling-standard-sql). + // Optional. A SQL statement that's compatible with [BigQuery + // SQL](https://cloud.google.com/bigquery/docs/introduction-sql). string statement = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. Reference to the query job, which is from the @@ -2036,8 +2063,8 @@ message BatchGetEffectiveIamPoliciesRequest { // Required. The names refer to the [full_resource_names] // (https://cloud.google.com/asset-inventory/docs/resource-name-format) - // of [searchable asset - // types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types). + // of the asset types [supported by search + // APIs](https://cloud.google.com/asset-inventory/docs/supported-asset-types). // A maximum of 20 resources' effective policies can be retrieved in a batch. repeated string names = 3 [ (google.api.field_behavior) = REQUIRED, @@ -2108,7 +2135,10 @@ message BatchGetEffectiveIamPoliciesResponse { // in the original organization policy with some new fields for analysis // purpose. message AnalyzerOrgPolicy { - // Represents a rule defined in an organization policy + // This rule message is a customized version of the one defined in the + // Organization Policy system. In addition to the fields defined in the + // original organization policy, it contains additional field(s) under + // specific circumstances to support analysis results. message Rule { // The string values for the list constraints. message StringValues { @@ -2336,12 +2366,15 @@ message AnalyzeOrgPoliciesRequest { // The expression to filter // [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results]. - // The only supported field is `consolidated_policy.attached_resource`, and - // the only supported operator is `=`. + // Filtering is currently available for bare literal values and the following + // fields: + // * consolidated_policy.attached_resource + // * consolidated_policy.rules.enforce // - // Example: + // When filtering by a specific field, the only supported operator is `=`. + // For example, filtering by // consolidated_policy.attached_resource="//cloudresourcemanager.googleapis.com/folders/001" - // will return the org policy results of"folders/001". + // will return all the Organization Policy results attached to "folders/001". string filter = 3; // The maximum number of items to return per page. If unspecified, @@ -2404,13 +2437,17 @@ message AnalyzeOrgPolicyGovernedContainersRequest { // constraint. string constraint = 2 [(google.api.field_behavior) = REQUIRED]; - // The expression to filter the governed containers in result. - // The only supported field is `parent`, and the only supported operator is - // `=`. - // - // Example: - // parent="//cloudresourcemanager.googleapis.com/folders/001" will return all - // containers under "folders/001". + // The expression to filter + // [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers]. + // Filtering is currently available for bare literal values and the following + // fields: + // * parent + // * consolidated_policy.rules.enforce + // + // When filtering by a specific field, the only supported operator is `=`. + // For example, filtering by + // parent="//cloudresourcemanager.googleapis.com/folders/001" + // will return all the containers under "folders/001". string filter = 3; // The maximum number of items to return per page. If unspecified, @@ -2483,18 +2520,33 @@ message AnalyzeOrgPolicyGovernedAssetsRequest { // constraint. string constraint = 2 [(google.api.field_behavior) = REQUIRED]; - // The expression to filter the governed assets in result. The only supported - // fields for governed resources are `governed_resource.project` and - // `governed_resource.folders`. The only supported fields for governed iam - // policies are `governed_iam_policy.project` and - // `governed_iam_policy.folders`. The only supported operator is `=`. - // - // Example 1: governed_resource.project="projects/12345678" filter will return - // all governed resources under projects/12345678 including the project - // ifself, if applicable. + // The expression to filter + // [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets]. // - // Example 2: governed_iam_policy.folders="folders/12345678" filter will - // return all governed iam policies under folders/12345678, if applicable. + // For governed resources, filtering is currently available for bare literal + // values and the following fields: + // * governed_resource.project + // * governed_resource.folders + // * consolidated_policy.rules.enforce + // When filtering by `governed_resource.project` or + // `consolidated_policy.rules.enforce`, the only supported operator is `=`. + // When filtering by `governed_resource.folders`, the supported operators + // are `=` and `:`. + // For example, filtering by `governed_resource.project="projects/12345678"` + // will return all the governed resources under "projects/12345678", + // including the project itself if applicable. + // + // For governed IAM policies, filtering is currently available for bare + // literal values and the following fields: + // * governed_iam_policy.project + // * governed_iam_policy.folders + // * consolidated_policy.rules.enforce + // When filtering by `governed_iam_policy.project` or + // `consolidated_policy.rules.enforce`, the only supported operator is `=`. + // When filtering by `governed_iam_policy.folders`, the supported operators + // are `=` and `:`. + // For example, filtering by `governed_iam_policy.folders:"folders/12345678"` + // will return all the governed IAM policies under "folders/001". string filter = 3; // The maximum number of items to return per page. If unspecified, @@ -2523,26 +2575,26 @@ message AnalyzeOrgPolicyGovernedAssetsResponse { // [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name]. string parent = 2; - // The project that this resource belongs to, in the form of + // The project that this resource belongs to, in the format of // projects/{PROJECT_NUMBER}. This field is available when the resource // belongs to a project. string project = 5; - // The folder(s) that this resource belongs to, in the form of + // The folder(s) that this resource belongs to, in the format of // folders/{FOLDER_NUMBER}. This field is available when the resource - // belongs(directly or cascadingly) to one or more folders. + // belongs (directly or cascadingly) to one or more folders. repeated string folders = 6; - // The organization that this resource belongs to, in the form of + // The organization that this resource belongs to, in the format of // organizations/{ORGANIZATION_NUMBER}. This field is available when the - // resource belongs(directly or cascadingly) to an organization. + // resource belongs (directly or cascadingly) to an organization. string organization = 7; } // The IAM policies governed by the organization policies of the // [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint]. message GovernedIamPolicy { - // The full resource name of the resource associated with this IAM policy. + // The full resource name of the resource on which this IAM policy is set. // Example: // `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. // See [Cloud Asset Inventory Resource Name @@ -2553,19 +2605,19 @@ message AnalyzeOrgPolicyGovernedAssetsResponse { // The IAM policy directly set on the given resource. google.iam.v1.Policy policy = 2; - // The project that this IAM policy belongs to, in the form of + // The project that this IAM policy belongs to, in the format of // projects/{PROJECT_NUMBER}. This field is available when the IAM policy // belongs to a project. string project = 5; - // The folder(s) that this IAM policy belongs to, in the form of + // The folder(s) that this IAM policy belongs to, in the format of // folders/{FOLDER_NUMBER}. This field is available when the IAM policy - // belongs(directly or cascadingly) to one or more folders. + // belongs (directly or cascadingly) to one or more folders. repeated string folders = 6; - // The organization that this IAM policy belongs to, in the form of + // The organization that this IAM policy belongs to, in the format of // organizations/{ORGANIZATION_NUMBER}. This field is available when the - // IAM policy belongs(directly or cascadingly) to an organization. + // IAM policy belongs (directly or cascadingly) to an organization. string organization = 7; } diff --git a/third_party/googleapis/google/cloud/asset/v1/assets.proto b/third_party/googleapis/google/cloud/asset/v1/assets.proto index e540bf60d..7cfc80d05 100644 --- a/third_party/googleapis/google/cloud/asset/v1/assets.proto +++ b/third_party/googleapis/google/cloud/asset/v1/assets.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.asset.v1; -import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/orgpolicy/v1/orgpolicy.proto"; import "google/cloud/osconfig/v1/inventory.proto"; @@ -141,15 +140,15 @@ message Asset { // A representation of an [access // policy](https://cloud.google.com/access-context-manager/docs/overview#access-policies). oneof access_context_policy { - // Please also refer to the [access policy user + // Also refer to the [access policy user // guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies). google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; - // Please also refer to the [access level user + // Also refer to the [access level user // guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels). google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; - // Please also refer to the [service perimeter user + // Also refer to the [service perimeter user // guide](https://cloud.google.com/vpc-service-controls/docs/overview). google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9; @@ -218,8 +217,6 @@ message Resource { // hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy). // Example: // `//cloudresourcemanager.googleapis.com/projects/my_project_123` - // - // For third-party assets, this field may be set differently. string parent = 5; // The content of the resource, in which some sensitive fields are removed @@ -306,8 +303,42 @@ message RelatedAsset { string relationship_type = 4; } +// The key and value for a +// [tag](https://cloud.google.com/resource-manager/docs/tags/tags-overview), +message Tag { + // TagKey namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}. + optional string tag_key = 1; + + // TagValue namespaced name, in the format of + // {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}. + optional string tag_value = 3; + + // TagValue ID, in the format of tagValues/{TAG_VALUE_ID}. + optional string tag_value_id = 4; +} + +// The effective tags and the ancestor resources from which they were inherited. +message EffectiveTagDetails { + // The [full resource + // name](https://cloud.google.com/asset-inventory/docs/resource-name-format) + // of the ancestor from which an [effective_tag][] is inherited, according to + // [tag + // inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance). + optional string attached_resource = 1; + + // The effective tags inherited from the + // [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource]. + // Note that tags with the same key but different values may attach to + // resources at a different hierarchy levels. The lower hierarchy tag value + // will overwrite the higher hierarchy tag value of the same tag key. In this + // case, the tag value at the higher hierarchy level will be removed. For more + // information, see [tag + // inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance). + repeated Tag effective_tags = 2; +} + // A result of Resource Search, containing information of a cloud resource. -// Next ID: 31 +// Next ID: 34 message ResourceSearchResult { // The full resource name of this resource. Example: // `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. @@ -424,8 +455,8 @@ message ResourceSearchResult { // [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions) // name. // - // This field only presents for the purpose of backward compatibility. Please - // use the `kms_keys` field to retrieve Cloud KMS key information. This field + // This field only presents for the purpose of backward compatibility. + // Use the `kms_keys` field to retrieve Cloud KMS key information. This field // is available only when the resource's Protobuf contains it and will only be // populated for [these resource // types](https://cloud.google.com/asset-inventory/docs/legacy-field-names#resource_types_with_the_to_be_deprecated_kmskey_field) @@ -505,7 +536,7 @@ message ResourceSearchResult { // metadata fields that are returned by the List or Get APIs provided by the // corresponding Google Cloud service (e.g., Compute Engine). see [API // references and supported searchable - // attributes](https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types) + // attributes](https://cloud.google.com/asset-inventory/docs/supported-asset-types) // to see which fields are included. // // You can search values of these fields through free text search. However, @@ -555,6 +586,9 @@ message ResourceSearchResult { // types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#supported_relationship_types). map relationships = 21; + // This field is only present for the purpose of backward compatibility. + // Use the `tags` field instead. + // // TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}. // To search against the `tagKeys`: // @@ -565,8 +599,11 @@ message ResourceSearchResult { // // * Use a free text query. Example: // - `env` - repeated string tag_keys = 23; + repeated string tag_keys = 23 [deprecated = true]; + // This field is only present for the purpose of backward compatibility. + // Use the `tags` field instead. + // // TagValue namespaced names, in the format of // {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}. // To search against the `tagValues`: @@ -579,18 +616,56 @@ message ResourceSearchResult { // // * Use a free text query. Example: // - `prod` - repeated string tag_values = 25; + repeated string tag_values = 25 [deprecated = true]; + // This field is only present for the purpose of backward compatibility. + // Use the `tags` field instead. + // // TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}. // To search against the `tagValueIds`: // // * Use a field query. Example: - // - `tagValueIds:"456"` // - `tagValueIds="tagValues/456"` // // * Use a free text query. Example: // - `456` - repeated string tag_value_ids = 26; + repeated string tag_value_ids = 26 [deprecated = true]; + + // The tags directly attached to this resource. + // + // To search against the `tags`: + // + // * Use a field query. Example: + // - `tagKeys:"123456789/env*"` + // - `tagKeys="123456789/env"` + // - `tagKeys:"env"` + // - `tagValues:"env"` + // - `tagValues:"env/prod"` + // - `tagValues:"123456789/env/prod*"` + // - `tagValues="123456789/env/prod"` + // - `tagValueIds="tagValues/456"` + // + // * Use a free text query. Example: + // - `env/prod` + repeated Tag tags = 29; + + // The effective tags on this resource. All of the tags that are both attached + // to and inherited by a resource are collectively called the effective + // tags. For more information, see [tag + // inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance). + // + // To search against the `effective_tags`: + // + // * Use a field query. Example: + // - `effectiveTagKeys:"123456789/env*"` + // - `effectiveTagKeys="123456789/env"` + // - `effectiveTagKeys:"env"` + // - `effectiveTagValues:"env"` + // - `effectiveTagValues:"env/prod"` + // - `effectiveTagValues:"123456789/env/prod*"` + // - `effectiveTagValues="123456789/env/prod"` + // - `effectiveTagValueIds="tagValues/456"` + repeated EffectiveTagDetails effective_tags = 30; // The type of this resource's immediate parent, if there is one. // @@ -601,6 +676,17 @@ message ResourceSearchResult { // * Use a free text query. Example: // `cloudresourcemanager.googleapis.com/Project` string parent_asset_type = 103; + + // The actual content of Security Command Center security marks associated + // with the asset. + // + // + // To search against SCC SecurityMarks field: + // + // * Use a field query: + // - query by a given key value pair. Example: `sccSecurityMarks.foo=bar` + // - query by a given key's existence. Example: `sccSecurityMarks.foo:*` + map scc_security_marks = 32; } // Resource representation as defined by the corresponding service providing the @@ -625,7 +711,7 @@ message VersionedResource { // // You can find the resource definition for each supported resource type in // this table: - // `https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types` + // `https://cloud.google.com/asset-inventory/docs/supported-asset-types` google.protobuf.Struct resource = 2; } @@ -638,7 +724,7 @@ message AttachedResource { // // You can find the supported attached asset types of each resource in this // table: - // `https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types` + // `https://cloud.google.com/asset-inventory/docs/supported-asset-types` string asset_type = 1; // Versioned resource representations of this attached resource. This is @@ -824,17 +910,17 @@ message IamPolicyAnalysisResult { // An identity under analysis. message Identity { - // The identity name in any form of members appear in + // The identity of members, formatted as appear in an // [IAM policy - // binding](https://cloud.google.com/iam/reference/rest/v1/Binding), such - // as: + // binding](https://cloud.google.com/iam/reference/rest/v1/Binding). For + // example, they might be formatted like the following: + // // - user:foo@google.com // - group:group1@google.com // - serviceAccount:s1@prj1.iam.gserviceaccount.com // - projectOwner:some_project_id // - domain:google.com // - allUsers - // - etc. string name = 1; // The analysis state of this identity. diff --git a/third_party/googleapis/google/cloud/asset/v1/cloudasset_grpc_service_config.json b/third_party/googleapis/google/cloud/asset/v1/cloudasset_grpc_service_config.json index cb3cd7228..1474ffd52 100755 --- a/third_party/googleapis/google/cloud/asset/v1/cloudasset_grpc_service_config.json +++ b/third_party/googleapis/google/cloud/asset/v1/cloudasset_grpc_service_config.json @@ -62,6 +62,18 @@ { "service": "google.cloud.asset.v1.AssetService", "method": "DeleteSavedQuery" + }, + { + "service": "google.cloud.asset.v1.AssetService", + "method": "AnalyzeOrgPolicies" + }, + { + "service": "google.cloud.asset.v1.AssetService", + "method": "AnalyzeOrgPolicyGovernedContainers" + }, + { + "service": "google.cloud.asset.v1.AssetService", + "method": "AnalyzeOrgPolicyGovernedAssets" } ], "timeout": "60s", @@ -163,6 +175,40 @@ "UNAVAILABLE" ] } + }, + { + "name": [ + { + "service": "google.cloud.asset.v1.AssetService", + "method": "TraverseGraph" + } + ], + "timeout": "60s", + "retryPolicy": { + "initialBackoff": "0.100s", + "maxBackoff": "60s", + "backoffMultiplier": 1.3, + "retryableStatusCodes": [ + "UNAVAILABLE" + ] + } + }, + { + "name": [ + { + "service": "google.cloud.asset.v1.AssetService", + "method": "IngestAsset" + } + ], + "timeout": "60s", + "retryPolicy": { + "initialBackoff": "0.100s", + "maxBackoff": "60s", + "backoffMultiplier": 1.3, + "retryableStatusCodes": [ + "UNAVAILABLE" + ] + } } ] } diff --git a/third_party/googleapis/google/cloud/asset/v1/cloudasset_v1.yaml b/third_party/googleapis/google/cloud/asset/v1/cloudasset_v1.yaml index 0ffb3c8d3..717bb2861 100644 --- a/third_party/googleapis/google/cloud/asset/v1/cloudasset_v1.yaml +++ b/third_party/googleapis/google/cloud/asset/v1/cloudasset_v1.yaml @@ -26,13 +26,6 @@ documentation: Read more documents here: https://cloud.google.com/asset-inventory/docs -backend: - rules: - - selector: 'google.cloud.asset.v1.AssetService.*' - deadline: 600.0 - - selector: google.longrunning.Operations.GetOperation - deadline: 60.0 - http: rules: - selector: google.longrunning.Operations.GetOperation diff --git a/third_party/googleapis/google/cloud/asset/v1p1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/asset/v1p1beta1/BUILD.bazel index 55a3a70e8..c7ce56b2d 100644 --- a/third_party/googleapis/google/cloud/asset/v1p1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/asset/v1p1beta1/BUILD.bazel @@ -59,6 +59,7 @@ java_gapic_library( srcs = [":asset_proto_with_info"], grpc_service_config = "cloudasset_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "cloudasset_v1p1beta1.yaml", test_deps = [ ":asset_java_grpc", "//google/iam/v1:iam_java_grpc", @@ -100,7 +101,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -129,18 +129,12 @@ go_gapic_library( ], ) -go_test( - name = "asset_go_gapic_test", - srcs = [":asset_go_gapic_srcjar_test"], - embed = [":asset_go_gapic"], - importpath = "cloud.google.com/go/asset/apiv1p1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-asset-v1p1beta1-go", deps = [ ":asset_go_gapic", + ":asset_go_gapic_srcjar-snippets.srcjar", ":asset_go_gapic_srcjar-test.srcjar", ":asset_go_proto", ], @@ -192,7 +186,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -201,12 +194,6 @@ php_proto_library( deps = [":asset_proto"], ) -php_grpc_library( - name = "asset_php_grpc", - srcs = [":asset_proto"], - deps = [":asset_php_proto"], -) - php_gapic_library( name = "asset_php_gapic", srcs = [":asset_proto_with_info"], @@ -214,10 +201,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "cloudasset_v1p1beta1.yaml", transport = "grpc+rest", - deps = [ - ":asset_php_grpc", - ":asset_php_proto", - ], + deps = [":asset_php_proto"], ) # Open Source Packages @@ -225,7 +209,6 @@ php_gapic_assembly_pkg( name = "google-cloud-asset-v1p1beta1-php", deps = [ ":asset_php_gapic", - ":asset_php_grpc", ":asset_php_proto", ], ) @@ -288,6 +271,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-asset-v1p1beta1"], rest_numeric_enums = True, service_yaml = "cloudasset_v1p1beta1.yaml", + transport = "grpc+rest", deps = [ ":asset_ruby_grpc", ":asset_ruby_proto", diff --git a/third_party/googleapis/google/cloud/asset/v1p1beta1/asset_service.proto b/third_party/googleapis/google/cloud/asset/v1p1beta1/asset_service.proto index e3b256f88..a7bdbbb88 100644 --- a/third_party/googleapis/google/cloud/asset/v1p1beta1/asset_service.proto +++ b/third_party/googleapis/google/cloud/asset/v1p1beta1/asset_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/asset/v1p1beta1/assets.proto b/third_party/googleapis/google/cloud/asset/v1p1beta1/assets.proto index b10008930..4aed0e52b 100644 --- a/third_party/googleapis/google/cloud/asset/v1p1beta1/assets.proto +++ b/third_party/googleapis/google/cloud/asset/v1p1beta1/assets.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/asset/v1p1beta1/cloudasset_v1p1beta1.yaml b/third_party/googleapis/google/cloud/asset/v1p1beta1/cloudasset_v1p1beta1.yaml index 96c1be248..519426634 100644 --- a/third_party/googleapis/google/cloud/asset/v1p1beta1/cloudasset_v1p1beta1.yaml +++ b/third_party/googleapis/google/cloud/asset/v1p1beta1/cloudasset_v1p1beta1.yaml @@ -22,15 +22,6 @@ documentation: Read more documents here: https://cloud.google.com/asset-inventory/docs -backend: - rules: - - selector: google.cloud.asset.v1p1beta1.AssetService.SearchAllIamPolicies - deadline: 600.0 - - selector: google.cloud.asset.v1p1beta1.AssetService.SearchAllResources - deadline: 600.0 - - selector: google.longrunning.Operations.GetOperation - deadline: 60.0 - authentication: rules: - selector: google.cloud.asset.v1p1beta1.AssetService.SearchAllIamPolicies diff --git a/third_party/googleapis/google/cloud/asset/v1p2beta1/BUILD.bazel b/third_party/googleapis/google/cloud/asset/v1p2beta1/BUILD.bazel index 6cb65974d..adbaf4947 100644 --- a/third_party/googleapis/google/cloud/asset/v1p2beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/asset/v1p2beta1/BUILD.bazel @@ -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"]) @@ -20,9 +29,10 @@ proto_library( "//google/api:client_proto", "//google/api:field_behavior_proto", "//google/api:resource_proto", + "//google/cloud/orgpolicy/v1:orgpolicy_proto", "//google/iam/v1:policy_proto", + "//google/identity/accesscontextmanager/v1:accesscontextmanager_proto", "//google/longrunning:operations_proto", - "@com_google_protobuf//:any_proto", "@com_google_protobuf//:empty_proto", "@com_google_protobuf//:field_mask_proto", "@com_google_protobuf//:struct_proto", @@ -64,8 +74,10 @@ java_grpc_library( java_gapic_library( name = "asset_java_gapic", srcs = [":asset_proto_with_info"], + gapic_yaml = "cloudasset_gapic.yaml", grpc_service_config = "cloudasset_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "cloudasset_v1p2beta1.yaml", test_deps = [ ":asset_java_grpc", "//google/iam/v1:iam_java_grpc", @@ -73,6 +85,7 @@ java_gapic_library( transport = "grpc+rest", deps = [ ":asset_java_proto", + "//google/api:api_java_proto", "//google/iam/v1:iam_java_proto", ], ) @@ -107,7 +120,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -117,7 +129,9 @@ go_proto_library( protos = [":asset_proto"], deps = [ "//google/api:annotations_go_proto", + "//google/cloud/orgpolicy/v1:orgpolicy_go_proto", "//google/iam/v1:iam_go_proto", + "//google/identity/accesscontextmanager/v1:accesscontextmanager_go_proto", "//google/longrunning:longrunning_go_proto", ], ) @@ -127,6 +141,7 @@ go_gapic_library( srcs = [":asset_proto_with_info"], grpc_service_config = "cloudasset_grpc_service_config.json", importpath = "cloud.google.com/go/asset/apiv1p2beta1;asset", + metadata = True, release_level = "beta", rest_numeric_enums = True, service_yaml = "cloudasset_v1p2beta1.yaml", @@ -137,23 +152,17 @@ go_gapic_library( "//google/longrunning:longrunning_go_proto", "@com_google_cloud_go_longrunning//:go_default_library", "@com_google_cloud_go_longrunning//autogen:go_default_library", - "@io_bazel_rules_go//proto/wkt:any_go_proto", "@io_bazel_rules_go//proto/wkt:struct_go_proto", ], ) -go_test( - name = "asset_go_gapic_test", - srcs = [":asset_go_gapic_srcjar_test"], - embed = [":asset_go_gapic"], - importpath = "cloud.google.com/go/asset/apiv1p2beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-asset-v1p2beta1-go", deps = [ ":asset_go_gapic", + ":asset_go_gapic_srcjar-metadata.srcjar", + ":asset_go_gapic_srcjar-snippets.srcjar", ":asset_go_gapic_srcjar-test.srcjar", ":asset_go_proto", ], @@ -178,6 +187,11 @@ py_gapic_library( transport = "grpc+rest", deps = [ "//google/iam/v1:iam_policy_py_proto", + "//google/cloud/orgpolicy/v1:orgpolicy_py_original_proto", + "//google/identity/accesscontextmanager/v1:access_level_py_proto", + "//google/identity/accesscontextmanager/v1:access_policy_py_proto", + "//google/identity/accesscontextmanager/v1:accesscontextmanager_py_gapic", + "//google/identity/accesscontextmanager/v1:service_perimeter_py_proto", ], ) @@ -191,6 +205,7 @@ py_test( deps = [":asset_py_gapic"], ) +# Open Source Packages py_gapic_assembly_pkg( name = "asset-v1p2beta1-py", deps = [ @@ -205,7 +220,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -214,21 +228,15 @@ php_proto_library( deps = [":asset_proto"], ) -php_grpc_library( - name = "asset_php_grpc", - srcs = [":asset_proto"], - deps = [":asset_php_proto"], -) - php_gapic_library( name = "asset_php_gapic", srcs = [":asset_proto_with_info"], grpc_service_config = "cloudasset_grpc_service_config.json", + migration_mode = "PRE_MIGRATION_SURFACE_ONLY", rest_numeric_enums = True, service_yaml = "cloudasset_v1p2beta1.yaml", transport = "grpc+rest", deps = [ - ":asset_php_grpc", ":asset_php_proto", ], ) @@ -238,7 +246,6 @@ php_gapic_assembly_pkg( name = "google-cloud-asset-v1p2beta1-php", deps = [ ":asset_php_gapic", - ":asset_php_grpc", ":asset_php_proto", ], ) @@ -270,6 +277,10 @@ nodejs_gapic_assembly_pkg( deps = [ ":asset_nodejs_gapic", ":asset_proto", + "//google/cloud/orgpolicy/v1:orgpolicy_proto", + "//google/iam/v1:policy_proto", + "//google/identity/accesscontextmanager/v1:accesscontextmanager_proto", + "//google/identity/accesscontextmanager/type:type_proto", ], ) @@ -299,8 +310,10 @@ ruby_cloud_gapic_library( name = "asset_ruby_gapic", srcs = [":asset_proto_with_info"], extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-asset-v1p2beta1"], + grpc_service_config = "cloudasset_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "cloudasset_v1p2beta1.yaml", + transport = "grpc+rest", deps = [ ":asset_ruby_grpc", ":asset_ruby_proto", @@ -330,6 +343,7 @@ load( csharp_proto_library( name = "asset_csharp_proto", + extra_opts = [], deps = [":asset_proto"], ) @@ -339,30 +353,47 @@ csharp_grpc_library( deps = [":asset_csharp_proto"], ) -# Invalid C# namespaces, cannot build. -# csharp_gapic_library( -# name = "asset_csharp_gapic", -# srcs = [":asset_proto_with_info"], -# grpc_service_config = "cloudasset_grpc_service_config.json", -# common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -# service_yaml = "cloudasset_v1p2beta1.yaml", -# deps = [ -# ":asset_csharp_grpc", -# ":asset_csharp_proto", -# ], -# ) - -# # Open Source Packages -# csharp_gapic_assembly_pkg( -# name = "google-cloud-asset-v1p2beta1-csharp", -# deps = [ -# ":asset_csharp_gapic", -# ":asset_csharp_grpc", -# ":asset_csharp_proto", -# ], -# ) +csharp_gapic_library( + name = "asset_csharp_gapic", + srcs = [":asset_proto_with_info"], + common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", + grpc_service_config = "cloudasset_grpc_service_config.json", + rest_numeric_enums = True, + service_yaml = "cloudasset_v1p2beta1.yaml", + transport = "grpc+rest", + deps = [ + ":asset_csharp_grpc", + ":asset_csharp_proto", + ], +) + +# Open Source Packages +csharp_gapic_assembly_pkg( + name = "google-cloud-asset-v1p2beta1-csharp", + deps = [ + ":asset_csharp_gapic", + ":asset_csharp_grpc", + ":asset_csharp_proto", + ], +) ############################################################################## # C++ ############################################################################## -# Put your C++ rules here +load( + "@com_google_googleapis_imports//:imports.bzl", + "cc_grpc_library", + "cc_proto_library", +) + +cc_proto_library( + name = "asset_cc_proto", + deps = [":asset_proto"], +) + +cc_grpc_library( + name = "asset_cc_grpc", + srcs = [":asset_proto"], + grpc_only = True, + deps = [":asset_cc_proto"], +) diff --git a/third_party/googleapis/google/cloud/asset/v1p2beta1/asset_service.proto b/third_party/googleapis/google/cloud/asset/v1p2beta1/asset_service.proto index 025af8062..5a48e8da0 100644 --- a/third_party/googleapis/google/cloud/asset/v1p2beta1/asset_service.proto +++ b/third_party/googleapis/google/cloud/asset/v1p2beta1/asset_service.proto @@ -1,4 +1,4 @@ -// Copyright 2019 Google LLC. +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,7 +11,6 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -// syntax = "proto3"; @@ -24,8 +23,9 @@ import "google/api/resource.proto"; import "google/cloud/asset/v1p2beta1/assets.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; +import "google/protobuf/timestamp.proto"; -option csharp_namespace = "Google.Cloud.Asset.V1p2Beta1"; +option csharp_namespace = "Google.Cloud.Asset.V1P2Beta1"; option go_package = "cloud.google.com/go/asset/apiv1p2beta1/assetpb;assetpb"; option java_multiple_files = true; option java_outer_classname = "AssetServiceProto"; @@ -35,7 +35,8 @@ option php_namespace = "Google\\Cloud\\Asset\\V1p2beta1"; // Asset service definition. service AssetService { option (google.api.default_host) = "cloudasset.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Creates a feed in a parent project/folder/organization to listen to its // asset updates. @@ -81,12 +82,31 @@ service AssetService { } } +// The export asset response. This message is returned by the +// [google.longrunning.Operations.GetOperation][google.longrunning.Operations.GetOperation] +// method in the returned +// [google.longrunning.Operation.response][google.longrunning.Operation.response] +// field. +message ExportAssetsResponse { + // Time the snapshot was taken. + google.protobuf.Timestamp read_time = 1; + + // Output configuration indicating where the results were output to. + OutputConfig output_config = 2; +} + +// Batch get assets history response. +message BatchGetAssetsHistoryResponse { + // A list of assets with valid time windows. + repeated TemporalAsset assets = 1; +} + // Create asset feed request. message CreateFeedRequest { // Required. The name of the project/folder/organization where this feed // should be created in. It can only be an organization number (such as // "organizations/123"), a folder number (such as "folders/123"), a project ID - // (such as "projects/my-project-id")", or a project number (such as + // (such as "projects/my-project-id"), or a project number (such as // "projects/12345"). string parent = 1 [(google.api.field_behavior) = REQUIRED]; @@ -94,9 +114,8 @@ message CreateFeedRequest { // be unique under a specific parent project/folder/organization. string feed_id = 2 [(google.api.field_behavior) = REQUIRED]; - // Required. The feed details. The field `name` must be empty and it will be generated - // in the format of: - // projects/project_number/feeds/feed_id + // Required. The feed details. The field `name` must be empty and it will be + // generated in the format of: projects/project_number/feeds/feed_id // folders/folder_number/feeds/feed_id // organizations/organization_number/feeds/feed_id Feed feed = 3 [(google.api.field_behavior) = REQUIRED]; @@ -110,9 +129,7 @@ message GetFeedRequest { // organizations/organization_number/feeds/feed_id string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "cloudasset.googleapis.com/Feed" - } + (google.api.resource_reference) = { type: "cloudasset.googleapis.com/Feed" } ]; } @@ -131,8 +148,8 @@ message ListFeedsResponse { // Update asset feed request. message UpdateFeedRequest { - // Required. The new values of feed details. It must match an existing feed and the - // field `name` must be in the format of: + // Required. The new values of feed details. It must match an existing feed + // and the field `name` must be in the format of: // projects/project_number/feeds/feed_id or // folders/folder_number/feeds/feed_id or // organizations/organization_number/feeds/feed_id. @@ -141,7 +158,8 @@ message UpdateFeedRequest { // Required. Only updates the `feed` fields indicated by this mask. // The field mask must not be empty, and it must not contain fields that // are immutable or only set by the server. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; } message DeleteFeedRequest { @@ -151,9 +169,7 @@ message DeleteFeedRequest { // organizations/organization_number/feeds/feed_id string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "cloudasset.googleapis.com/Feed" - } + (google.api.resource_reference) = { type: "cloudasset.googleapis.com/Feed" } ]; } @@ -170,7 +186,7 @@ message OutputConfig { message GcsDestination { // Required. oneof object_uri { - // The uri of the Cloud Storage object. It's the same uri that is used by + // The URI of the Cloud Storage object. It's the same URI that is used by // gsutil. For example: "gs://bucket_name/object_name". See [Viewing and // Editing Object // Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata) @@ -179,9 +195,21 @@ message GcsDestination { } } -// A Cloud Pubsub destination. +// Asset content type. +enum ContentType { + // Unspecified content type. + CONTENT_TYPE_UNSPECIFIED = 0; + + // Resource metadata. + RESOURCE = 1; + + // The actual IAM policy set on a resource. + IAM_POLICY = 2; +} + +// A Pub/Sub destination. message PubsubDestination { - // The name of the Cloud Pub/Sub topic to publish to. + // The name of the Pub/Sub topic to publish to. // For example: `projects/PROJECT_ID/topics/TOPIC_ID`. string topic = 1; } @@ -190,7 +218,7 @@ message PubsubDestination { message FeedOutputConfig { // Asset feed destination. oneof destination { - // Destination on Cloud Pubsub. + // Destination on Pub/Sub. PubsubDestination pubsub_destination = 1; } } @@ -220,7 +248,7 @@ message Feed { // A list of the full names of the assets to receive updates. You must specify // either or both of asset_names and asset_types. Only asset updates matching - // specified asset_names and asset_types are exported to the feed. For + // specified asset_names or asset_types are exported to the feed. For // example: // `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. // See [Resource @@ -230,7 +258,7 @@ message Feed { // A list of types of the assets to receive updates. You must specify either // or both of asset_names and asset_types. Only asset updates matching - // specified asset_names and asset_types are exported to the feed. + // specified asset_names or asset_types are exported to the feed. // For example: // "compute.googleapis.com/Disk" See [Introduction to Cloud Asset // Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview) @@ -243,17 +271,6 @@ message Feed { // Required. Feed output configuration defining where the asset updates are // published to. - FeedOutputConfig feed_output_config = 5 [(google.api.field_behavior) = REQUIRED]; -} - -// Asset content type. -enum ContentType { - // Unspecified content type. - CONTENT_TYPE_UNSPECIFIED = 0; - - // Resource metadata. - RESOURCE = 1; - - // The actual IAM policy set on a resource. - IAM_POLICY = 2; + FeedOutputConfig feed_output_config = 5 + [(google.api.field_behavior) = REQUIRED]; } diff --git a/third_party/googleapis/google/cloud/asset/v1p2beta1/assets.proto b/third_party/googleapis/google/cloud/asset/v1p2beta1/assets.proto index abeb14569..e51006f9c 100644 --- a/third_party/googleapis/google/cloud/asset/v1p2beta1/assets.proto +++ b/third_party/googleapis/google/cloud/asset/v1p2beta1/assets.proto @@ -1,4 +1,4 @@ -// Copyright 2019 Google LLC. +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,98 +11,153 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -// syntax = "proto3"; package google.cloud.asset.v1p2beta1; +import "google/api/resource.proto"; +import "google/cloud/orgpolicy/v1/orgpolicy.proto"; import "google/iam/v1/policy.proto"; +import "google/identity/accesscontextmanager/v1/access_level.proto"; +import "google/identity/accesscontextmanager/v1/access_policy.proto"; +import "google/identity/accesscontextmanager/v1/service_perimeter.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; -option csharp_namespace = "Google.Cloud.Asset.v1p2beta1"; +option csharp_namespace = "Google.Cloud.Asset.V1P2Beta1"; option go_package = "cloud.google.com/go/asset/apiv1p2beta1/assetpb;assetpb"; option java_multiple_files = true; option java_outer_classname = "AssetProto"; option java_package = "com.google.cloud.asset.v1p2beta1"; option php_namespace = "Google\\Cloud\\Asset\\V1p2beta1"; -// Temporal asset. In addition to the asset, the temporal asset includes the -// status of the asset and valid from and to time of it. +// An asset in Google Cloud and its temporal metadata, including the time window +// when it was observed and its status during that window. message TemporalAsset { // The time window when the asset data and state was observed. TimeWindow window = 1; - // If the asset is deleted or not. + // Whether the asset has been deleted or not. bool deleted = 2; - // Asset. + // An asset in Google Cloud. Asset asset = 3; } -// A time window of (start_time, end_time]. +// A time window specified by its `start_time` and `end_time`. message TimeWindow { // Start time of the time window (exclusive). google.protobuf.Timestamp start_time = 1; - // End time of the time window (inclusive). - // Current timestamp if not specified. + // End time of the time window (inclusive). If not specified, the current + // timestamp is used instead. google.protobuf.Timestamp end_time = 2; } -// Cloud asset. This includes all Google Cloud Platform resources, -// Cloud IAM policies, and other non-GCP assets. +// An asset in Google Cloud. An asset can be any resource in the Google Cloud +// [resource +// hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), +// a resource outside the Google Cloud resource hierarchy (such as Google +// Kubernetes Engine clusters and objects), or a policy (e.g. IAM policy). +// See [Supported asset +// types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) +// for more information. message Asset { - // The full name of the asset. For example: - // `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. + option (google.api.resource) = { + type: "cloudasset.googleapis.com/Asset" + pattern: "*" + }; + + // The full name of the asset. Example: + // `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1` + // // See [Resource - // Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) + // names](https://cloud.google.com/apis/design/resource_names#full_resource_name) // for more information. string name = 1; - // Type of the asset. Example: "compute.googleapis.com/Disk". + // The type of the asset. Example: `compute.googleapis.com/Disk` + // + // See [Supported asset + // types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) + // for more information. string asset_type = 2; - // Representation of the resource. + // A representation of the resource. Resource resource = 3; - // Representation of the actual Cloud IAM policy set on a cloud resource. For - // each resource, there must be at most one Cloud IAM policy set on it. + // A representation of the IAM policy set on a Google Cloud resource. + // There can be a maximum of one IAM policy set on any given resource. + // In addition, IAM policies inherit their granted access scope from any + // policies set on parent resources in the resource hierarchy. Therefore, the + // effectively policy is the union of both the policy set on this resource + // and each policy set on all of the resource's ancestry resource levels in + // the hierarchy. See + // [this topic](https://cloud.google.com/iam/help/allow-policies/inheritance) + // for more information. google.iam.v1.Policy iam_policy = 4; - // Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy, - // represented as a list of relative resource names. Ancestry path starts with - // the closest CRM ancestor and ends at root. If the asset is a CRM - // project/folder/organization, this starts from the asset itself. + // The ancestry path of an asset in Google Cloud [resource + // hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), + // represented as a list of relative resource names. An ancestry path starts + // with the closest ancestor in the hierarchy and ends at root. If the asset + // is a project, folder, or organization, the ancestry path starts from the + // asset itself. // - // Example: ["projects/123456789", "folders/5432", "organizations/1234"] + // Example: `["projects/123456789", "folders/5432", "organizations/1234"]` repeated string ancestors = 6; + + // A representation of an [access + // policy](https://cloud.google.com/access-context-manager/docs/overview#access-policies). + oneof access_context_policy { + // Please also refer to the [access policy user + // guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies). + google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7; + + // Please also refer to the [access level user + // guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels). + google.identity.accesscontextmanager.v1.AccessLevel access_level = 8; + + // Please also refer to the [service perimeter user + // guide](https://cloud.google.com/vpc-service-controls/docs/overview). + google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = + 9; + } + + // A representation of an [organization + // policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy). + // There can be more than one organization policy with different constraints + // set on a given resource. + repeated google.cloud.orgpolicy.v1.Policy org_policy = 10; } -// Representation of a cloud resource. +// A representation of a Google Cloud resource. message Resource { - // The API version. Example: "v1". + // The API version. Example: `v1` string version = 1; // The URL of the discovery document containing the resource's JSON schema. - // For example: - // `"https://www.googleapis.com/discovery/v1/apis/compute/v1/rest"`. - // It will be left unspecified for resources without a discovery-based API, - // such as Cloud Bigtable. + // Example: + // `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest` + // + // This value is unspecified for resources that do not have an API based on a + // discovery document, such as Cloud Bigtable. string discovery_document_uri = 2; - // The JSON schema name listed in the discovery document. - // Example: "Project". It will be left unspecified for resources (such as - // Cloud Bigtable) without a discovery-based API. + // The JSON schema name listed in the discovery document. Example: + // `Project` + // + // This value is unspecified for resources that do not have an API based on a + // discovery document, such as Cloud Bigtable. string discovery_name = 3; - // The REST URL for accessing the resource. An HTTP GET operation using this - // URL returns the resource itself. - // Example: - // `https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123`. - // It will be left unspecified for resources without a REST API. + // The REST URL for accessing the resource. An HTTP `GET` request using this + // URL returns the resource itself. Example: + // `https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123` + // + // This value is unspecified for resources without a REST API. string resource_url = 4; // The full name of the immediate parent of this resource. See @@ -110,15 +165,16 @@ message Resource { // Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) // for more information. // - // For GCP assets, it is the parent resource defined in the [Cloud IAM policy + // For Google Cloud assets, this value is the parent resource defined in the + // [IAM policy // hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy). - // For example: - // `"//cloudresourcemanager.googleapis.com/projects/my_project_123"`. + // Example: + // `//cloudresourcemanager.googleapis.com/projects/my_project_123` // - // For third-party assets, it is up to the users to define. + // For third-party assets, this field may be set differently. string parent = 5; - // The content of the resource, in which some sensitive fields are scrubbed - // away and may not be present. + // The content of the resource, in which some sensitive fields are removed + // and may not be present. google.protobuf.Struct data = 6; } diff --git a/third_party/googleapis/google/cloud/asset/v1p2beta1/cloudasset_v1p2beta1.yaml b/third_party/googleapis/google/cloud/asset/v1p2beta1/cloudasset_v1p2beta1.yaml index 19bc8819f..fda05aa06 100644 --- a/third_party/googleapis/google/cloud/asset/v1p2beta1/cloudasset_v1p2beta1.yaml +++ b/third_party/googleapis/google/cloud/asset/v1p2beta1/cloudasset_v1p2beta1.yaml @@ -5,26 +5,27 @@ title: Cloud Asset API apis: - name: google.cloud.asset.v1p2beta1.AssetService +- name: google.longrunning.Operations documentation: - summary: The cloud asset API manages the history and inventory of cloud resources. + summary: |- + The Cloud Asset API manages the history and inventory of Google Cloud + resources. overview: |- # Cloud Asset API - The Cloud Asset API keeps a history of Google Cloud Platform (GCP) asset - metadata, and allows GCP users to download a dump of all asset metadata - for the resource types listed below within an organization or a project at - a given timestamp. + The Cloud Asset API keeps a history of Google Cloud asset metadata, and + allows Google Cloud users to download a dump of all asset metadata for the + resource types listed below within an organization or a project at a given + timestamp. Read more documents here: https://cloud.google.com/asset-inventory/docs -backend: +http: rules: - - selector: 'google.cloud.asset.v1p2beta1.AssetService.*' - deadline: 600.0 - selector: google.longrunning.Operations.GetOperation - deadline: 60.0 + get: '/v1p2beta1/{name=*/*/operations/*/**}' authentication: rules: diff --git a/third_party/googleapis/google/cloud/asset/v1p5beta1/BUILD.bazel b/third_party/googleapis/google/cloud/asset/v1p5beta1/BUILD.bazel index 3f79aa9ae..5134c4cff 100644 --- a/third_party/googleapis/google/cloud/asset/v1p5beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/asset/v1p5beta1/BUILD.bazel @@ -65,6 +65,7 @@ java_gapic_library( srcs = [":asset_proto_with_info"], grpc_service_config = "cloudasset_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "cloudasset_v1p5beta1.yaml", test_deps = [ ":asset_java_grpc", "//google/iam/v1:iam_java_grpc", @@ -106,7 +107,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -137,18 +137,12 @@ go_gapic_library( ], ) -go_test( - name = "asset_go_gapic_test", - srcs = [":asset_go_gapic_srcjar_test"], - embed = [":asset_go_gapic"], - importpath = "cloud.google.com/go/asset/apiv1p5beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-asset-v1p5beta1-go", deps = [ ":asset_go_gapic", + ":asset_go_gapic_srcjar-snippets.srcjar", ":asset_go_gapic_srcjar-test.srcjar", ":asset_go_proto", ], @@ -205,7 +199,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -214,22 +207,13 @@ php_proto_library( deps = [":asset_proto"], ) -php_grpc_library( - name = "asset_php_grpc", - srcs = [":asset_proto"], - deps = [":asset_php_proto"], -) - php_gapic_library( name = "asset_php_gapic", srcs = [":asset_proto_with_info"], rest_numeric_enums = True, service_yaml = "cloudasset_v1p5beta1.yaml", transport = "grpc+rest", - deps = [ - ":asset_php_grpc", - ":asset_php_proto", - ], + deps = [":asset_php_proto"], ) # Open Source Packages @@ -237,7 +221,6 @@ php_gapic_assembly_pkg( name = "google-cloud-asset-v1p5beta1-php", deps = [ ":asset_php_gapic", - ":asset_php_grpc", ":asset_php_proto", ], ) @@ -268,6 +251,10 @@ nodejs_gapic_assembly_pkg( deps = [ ":asset_nodejs_gapic", ":asset_proto", + "//google/cloud/orgpolicy/v1:orgpolicy_proto", + "//google/cloud/osconfig/v1:osconfig_proto", + "//google/identity/accesscontextmanager/v1:accesscontextmanager_proto", + "//google/identity/accesscontextmanager/type:type_proto", ], ) @@ -320,8 +307,6 @@ ruby_gapic_assembly_pkg( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "csharp_gapic_assembly_pkg", - "csharp_gapic_library", "csharp_grpc_library", "csharp_proto_library", ) diff --git a/third_party/googleapis/google/cloud/asset/v1p5beta1/asset_service.proto b/third_party/googleapis/google/cloud/asset/v1p5beta1/asset_service.proto index 86bf48920..0e02a4dac 100644 --- a/third_party/googleapis/google/cloud/asset/v1p5beta1/asset_service.proto +++ b/third_party/googleapis/google/cloud/asset/v1p5beta1/asset_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/asset/v1p5beta1/assets.proto b/third_party/googleapis/google/cloud/asset/v1p5beta1/assets.proto index b277e3083..d71e80fe1 100644 --- a/third_party/googleapis/google/cloud/asset/v1p5beta1/assets.proto +++ b/third_party/googleapis/google/cloud/asset/v1p5beta1/assets.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/asset/v1p5beta1/cloudasset_v1p5beta1.yaml b/third_party/googleapis/google/cloud/asset/v1p5beta1/cloudasset_v1p5beta1.yaml index 3d9a00735..f43cb10d4 100644 --- a/third_party/googleapis/google/cloud/asset/v1p5beta1/cloudasset_v1p5beta1.yaml +++ b/third_party/googleapis/google/cloud/asset/v1p5beta1/cloudasset_v1p5beta1.yaml @@ -22,13 +22,6 @@ documentation: Read more documents here: https://cloud.google.com/asset-inventory/docs -backend: - rules: - - selector: google.cloud.asset.v1p5beta1.AssetService.ListAssets - deadline: 600.0 - - selector: google.longrunning.Operations.GetOperation - deadline: 60.0 - authentication: rules: - selector: google.cloud.asset.v1p5beta1.AssetService.ListAssets diff --git a/third_party/googleapis/google/cloud/asset/v1p7beta1/BUILD.bazel b/third_party/googleapis/google/cloud/asset/v1p7beta1/BUILD.bazel index 19a60b361..417c19bd7 100644 --- a/third_party/googleapis/google/cloud/asset/v1p7beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/asset/v1p7beta1/BUILD.bazel @@ -20,7 +20,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -30,7 +29,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -92,6 +90,7 @@ java_gapic_library( srcs = [":asset_proto_with_info"], grpc_service_config = "cloudasset_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "cloudasset_v1p7beta1.yaml", test_deps = [ ":asset_java_grpc", "//google/iam/v1:iam_java_grpc", @@ -160,19 +159,13 @@ go_gapic_library( ], ) -go_test( - name = "asset_go_gapic_test", - srcs = [":asset_go_gapic_srcjar_test"], - embed = [":asset_go_gapic"], - importpath = "cloud.google.com/go/asset/apiv1p7beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-asset-v1p7beta1-go", deps = [ ":asset_go_gapic", ":asset_go_gapic_srcjar-metadata.srcjar", + ":asset_go_gapic_srcjar-snippets.srcjar", ":asset_go_gapic_srcjar-test.srcjar", ":asset_go_proto", ], @@ -185,18 +178,24 @@ py_gapic_library( rest_numeric_enums = True, service_yaml = "cloudasset_v1p7beta1.yaml", transport = "grpc", + deps = [ + "//google/cloud/orgpolicy/v1:orgpolicy_py_original_proto", + "//google/iam/v1:policy_py_proto", + "//google/identity/accesscontextmanager/v1:access_level_py_proto", + "//google/identity/accesscontextmanager/v1:access_policy_py_proto", + "//google/identity/accesscontextmanager/v1:service_perimeter_py_proto", + ], ) -# Uncomment once https://github.com/googleapis/gapic-generator-python/issues/1376 is fixed -#py_test( -# name = "asset_py_gapic_test", -# srcs = [ -# "asset_py_gapic_pytest.py", -# "asset_py_gapic_test.py", -# ], -# legacy_create_init = False, -# deps = [":asset_py_gapic"], -#) +py_test( + name = "asset_py_gapic_test", + srcs = [ + "asset_py_gapic_pytest.py", + "asset_py_gapic_test.py", + ], + legacy_create_init = False, + deps = [":asset_py_gapic"], +) # Open Source Packages py_gapic_assembly_pkg( @@ -211,12 +210,6 @@ php_proto_library( deps = [":asset_proto"], ) -php_grpc_library( - name = "asset_php_grpc", - srcs = [":asset_proto"], - deps = [":asset_php_proto"], -) - php_gapic_library( name = "asset_php_gapic", srcs = [":asset_proto_with_info"], @@ -224,10 +217,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "cloudasset_v1p7beta1.yaml", transport = "grpc+rest", - deps = [ - ":asset_php_grpc", - ":asset_php_proto", - ], + deps = [":asset_php_proto"], ) # Open Source Packages @@ -235,7 +225,6 @@ php_gapic_assembly_pkg( name = "google-cloud-asset-v1p7beta1-php", deps = [ ":asset_php_gapic", - ":asset_php_grpc", ":asset_php_proto", ], ) @@ -258,6 +247,10 @@ nodejs_gapic_assembly_pkg( deps = [ ":asset_nodejs_gapic", ":asset_proto", + "//google/cloud/orgpolicy/v1:orgpolicy_proto", + "//google/cloud/osconfig/v1:osconfig_proto", + "//google/identity/accesscontextmanager/v1:accesscontextmanager_proto", + "//google/identity/accesscontextmanager/type:type_proto", ], ) diff --git a/third_party/googleapis/google/cloud/asset/v1p7beta1/asset_service.proto b/third_party/googleapis/google/cloud/asset/v1p7beta1/asset_service.proto index 46333d1c1..e42db949d 100644 --- a/third_party/googleapis/google/cloud/asset/v1p7beta1/asset_service.proto +++ b/third_party/googleapis/google/cloud/asset/v1p7beta1/asset_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/asset/v1p7beta1/assets.proto b/third_party/googleapis/google/cloud/asset/v1p7beta1/assets.proto index 275d955e1..a82e39d64 100644 --- a/third_party/googleapis/google/cloud/asset/v1p7beta1/assets.proto +++ b/third_party/googleapis/google/cloud/asset/v1p7beta1/assets.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/asset/v1p7beta1/cloudasset_v1p7beta1.yaml b/third_party/googleapis/google/cloud/asset/v1p7beta1/cloudasset_v1p7beta1.yaml index bee999b70..6787da243 100644 --- a/third_party/googleapis/google/cloud/asset/v1p7beta1/cloudasset_v1p7beta1.yaml +++ b/third_party/googleapis/google/cloud/asset/v1p7beta1/cloudasset_v1p7beta1.yaml @@ -25,13 +25,6 @@ documentation: Read more documents here: https://cloud.google.com/asset-inventory/docs -backend: - rules: - - selector: google.cloud.asset.v1p7beta1.AssetService.ExportAssets - deadline: 600.0 - - selector: google.longrunning.Operations.GetOperation - deadline: 60.0 - http: rules: - selector: google.longrunning.Operations.GetOperation diff --git a/third_party/googleapis/google/cloud/assuredworkloads/BUILD.bazel b/third_party/googleapis/google/cloud/assuredworkloads/BUILD.bazel index be51065ad..f0e6af8ac 100644 --- a/third_party/googleapis/google/cloud/assuredworkloads/BUILD.bazel +++ b/third_party/googleapis/google/cloud/assuredworkloads/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-assured_workloads", "ruby-cloud-env-prefix=ASSURED_WORKLOADS", - "ruby-cloud-wrapper-of=v1:0.0;v1beta1:0.0", + "ruby-cloud-wrapper-of=v1:0.9;v1beta1:0.17", "ruby-cloud-product-url=https://cloud.google.com/assured-workloads/", "ruby-cloud-api-id=assuredworkloads.googleapis.com", "ruby-cloud-api-shortname=assuredworkloads", ], ruby_cloud_description = "Assured Workloads for Government secures government workloads and accelerates the path to running compliant workloads on Google Cloud.", ruby_cloud_title = "Assured Workloads for Government", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/assuredworkloads/regulatoryintercept/logging/v1/BUILD.bazel b/third_party/googleapis/google/cloud/assuredworkloads/regulatoryintercept/logging/v1/BUILD.bazel index fd1f14a90..8c79edcdf 100644 --- a/third_party/googleapis/google/cloud/assuredworkloads/regulatoryintercept/logging/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/assuredworkloads/regulatoryintercept/logging/v1/BUILD.bazel @@ -87,7 +87,6 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -96,20 +95,9 @@ php_proto_library( deps = [":logging_proto"], ) -php_grpc_library( - name = "logging_php_grpc", - srcs = [":logging_proto"], - deps = [":logging_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/assuredworkloads/v1/BUILD.bazel b/third_party/googleapis/google/cloud/assuredworkloads/v1/BUILD.bazel index 76b833295..7f686b481 100644 --- a/third_party/googleapis/google/cloud/assuredworkloads/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/assuredworkloads/v1/BUILD.bazel @@ -114,7 +114,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -147,19 +146,13 @@ go_gapic_library( ], ) -go_test( - name = "assuredworkloads_go_gapic_test", - srcs = [":assuredworkloads_go_gapic_srcjar_test"], - embed = [":assuredworkloads_go_gapic"], - importpath = "cloud.google.com/go/assuredworkloads/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-assuredworkloads-v1-go", deps = [ ":assuredworkloads_go_gapic", ":assuredworkloads_go_gapic_srcjar-metadata.srcjar", + ":assuredworkloads_go_gapic_srcjar-snippets.srcjar", ":assuredworkloads_go_gapic_srcjar-test.srcjar", ":assuredworkloads_go_proto", ], @@ -212,7 +205,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -221,23 +213,15 @@ php_proto_library( deps = [":assuredworkloads_proto"], ) -php_grpc_library( - name = "assuredworkloads_php_grpc", - srcs = [":assuredworkloads_proto"], - deps = [":assuredworkloads_php_proto"], -) - php_gapic_library( name = "assuredworkloads_php_gapic", srcs = [":assuredworkloads_proto_with_info"], grpc_service_config = "assuredworkloads_grpc_service_config.json", + migration_mode = "NEW_SURFACE_ONLY", rest_numeric_enums = True, service_yaml = "assuredworkloads_v1.yaml", transport = "grpc+rest", - deps = [ - ":assuredworkloads_php_grpc", - ":assuredworkloads_php_proto", - ], + deps = [":assuredworkloads_php_proto"], ) # Open Source Packages @@ -245,7 +229,6 @@ php_gapic_assembly_pkg( name = "google-cloud-assuredworkloads-v1-php", deps = [ ":assuredworkloads_php_gapic", - ":assuredworkloads_php_grpc", ":assuredworkloads_php_proto", ], ) @@ -317,6 +300,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Assured Workloads for Government secures government workloads and accelerates the path to running compliant workloads on Google Cloud.", ruby_cloud_title = "Assured Workloads for Government V1", service_yaml = "assuredworkloads_v1.yaml", + transport = "grpc+rest", deps = [ ":assuredworkloads_ruby_grpc", ":assuredworkloads_ruby_proto", diff --git a/third_party/googleapis/google/cloud/assuredworkloads/v1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/assuredworkloads/v1beta1/BUILD.bazel index e61922fe7..04cd64baa 100644 --- a/third_party/googleapis/google/cloud/assuredworkloads/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/assuredworkloads/v1beta1/BUILD.bazel @@ -115,7 +115,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -148,19 +147,13 @@ go_gapic_library( ], ) -go_test( - name = "assuredworkloads_go_gapic_test", - srcs = [":assuredworkloads_go_gapic_srcjar_test"], - embed = [":assuredworkloads_go_gapic"], - importpath = "cloud.google.com/go/assuredworkloads/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-assuredworkloads-v1beta1-go", deps = [ ":assuredworkloads_go_gapic", ":assuredworkloads_go_gapic_srcjar-metadata.srcjar", + ":assuredworkloads_go_gapic_srcjar-snippets.srcjar", ":assuredworkloads_go_gapic_srcjar-test.srcjar", ":assuredworkloads_go_proto", ], @@ -211,7 +204,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -220,12 +212,6 @@ php_proto_library( deps = [":assuredworkloads_proto"], ) -php_grpc_library( - name = "assuredworkloads_php_grpc", - srcs = [":assuredworkloads_proto"], - deps = [":assuredworkloads_php_proto"], -) - php_gapic_library( name = "assuredworkloads_php_gapic", srcs = [":assuredworkloads_proto_with_info"], @@ -233,10 +219,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "assuredworkloads_v1beta1.yaml", transport = "grpc+rest", - deps = [ - ":assuredworkloads_php_grpc", - ":assuredworkloads_php_proto", - ], + deps = [":assuredworkloads_php_proto"], ) # Open Source Packages @@ -244,7 +227,6 @@ php_gapic_assembly_pkg( name = "google-cloud-assuredworkloads-v1beta1-php", deps = [ ":assuredworkloads_php_gapic", - ":assuredworkloads_php_grpc", ":assuredworkloads_php_proto", ], ) @@ -316,6 +298,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Assured Workloads for Government secures government workloads and accelerates the path to running compliant workloads on Google Cloud.", ruby_cloud_title = "Assured Workloads for Government V1beta1", service_yaml = "assuredworkloads_v1beta1.yaml", + transport = "grpc+rest", deps = [ ":assuredworkloads_ruby_grpc", ":assuredworkloads_ruby_proto", diff --git a/third_party/googleapis/google/cloud/audit/BUILD.bazel b/third_party/googleapis/google/cloud/audit/BUILD.bazel index 1473bb495..8a3865c1d 100644 --- a/third_party/googleapis/google/cloud/audit/BUILD.bazel +++ b/third_party/googleapis/google/cloud/audit/BUILD.bazel @@ -50,7 +50,6 @@ proto_library_with_info( load( "@com_google_googleapis_imports//:imports.bzl", "java_gapic_assembly_gradle_pkg", - "java_grpc_library", "java_proto_library", ) @@ -59,12 +58,6 @@ java_proto_library( deps = [":audit_proto"], ) -java_grpc_library( - name = "audit_java_grpc", - srcs = [":audit_proto"], - deps = [":audit_java_proto"], -) - # Please DO-NOT-REMOVE this section. # This is required to generate java files for these protos. # Open Source Packages @@ -72,7 +65,6 @@ java_gapic_assembly_gradle_pkg( name = "google-cloud-audit-java", transport = "grpc+rest", deps = [ - ":audit_java_grpc", ":audit_java_proto", ":audit_proto", ], @@ -140,7 +132,7 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", + "php_gapic_assembly_pkg", "php_proto_library", ) @@ -149,20 +141,15 @@ php_proto_library( deps = [":audit_proto"], ) -php_grpc_library( - name = "audit_php_grpc", - srcs = [":audit_proto"], +# Open Source Packages +php_gapic_assembly_pkg( + name = "google-cloud-audit-php", deps = [":audit_php_proto"], ) ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/audit/bigquery_audit_metadata.proto b/third_party/googleapis/google/cloud/audit/bigquery_audit_metadata.proto index 0cc20ce37..1adc41c62 100644 --- a/third_party/googleapis/google/cloud/audit/bigquery_audit_metadata.proto +++ b/third_party/googleapis/google/cloud/audit/bigquery_audit_metadata.proto @@ -1077,7 +1077,14 @@ message BigQueryAuditMetadata { int64 total_slot_ms = 10; // Reservation usage attributed from each tier of a reservation hierarchy. - repeated ReservationResourceUsage reservation_usage = 11; + // This field reported misleading information and will no longer be + // populated. Aggregate usage of all jobs submitted to a reservation + // should provide a more reliable indicator of reservation imbalance. + repeated ReservationResourceUsage reservation_usage = 11 + [deprecated = true]; + + // Reservation name or "unreserved" for on-demand resource usage. + string reservation = 14; // Parent job name. Only present for child jobs. string parent_job_name = 12; diff --git a/third_party/googleapis/google/cloud/automl/BUILD.bazel b/third_party/googleapis/google/cloud/automl/BUILD.bazel index f776d8224..41e22dc7e 100644 --- a/third_party/googleapis/google/cloud/automl/BUILD.bazel +++ b/third_party/googleapis/google/cloud/automl/BUILD.bazel @@ -23,7 +23,7 @@ ruby_cloud_gapic_library( "ruby-cloud-gem-name=google-cloud-automl", "ruby-cloud-gem-namespace=Google::Cloud::AutoML", "ruby-cloud-env-prefix=AUTOML", - "ruby-cloud-wrapper-of=v1:0.0;v1beta1:0.0", + "ruby-cloud-wrapper-of=v1:0.9;v1beta1:0.10", "ruby-cloud-product-url=https://cloud.google.com/automl", "ruby-cloud-api-id=automl.googleapis.com", "ruby-cloud-api-shortname=automl", @@ -33,6 +33,7 @@ ruby_cloud_gapic_library( ], ruby_cloud_description = "AutoML makes the power of machine learning available to you even if you have limited knowledge of machine learning. You can use AutoML to build on Google's machine learning capabilities to create your own custom machine learning models that are tailored to your business needs, and then integrate those models into your applications and web sites.", ruby_cloud_title = "Cloud AutoML", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/automl/v1/BUILD.bazel b/third_party/googleapis/google/cloud/automl/v1/BUILD.bazel index 4520253cb..687fd2f8d 100644 --- a/third_party/googleapis/google/cloud/automl/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/automl/v1/BUILD.bazel @@ -84,12 +84,14 @@ java_gapic_library( srcs = [":automl_proto_with_info"], grpc_service_config = "automl_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "automl_v1.yaml", test_deps = [ ":automl_java_grpc", ], transport = "grpc+rest", deps = [ ":automl_java_proto", + "//google/api:api_java_proto", ], ) @@ -125,7 +127,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -161,18 +162,12 @@ go_gapic_library( ], ) -go_test( - name = "automl_go_gapic_test", - srcs = [":automl_go_gapic_srcjar_test"], - embed = [":automl_go_gapic"], - importpath = "cloud.google.com/go/automl/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-automl-v1-go", deps = [ ":automl_go_gapic", + ":automl_go_gapic_srcjar-snippets.srcjar", ":automl_go_gapic_srcjar-test.srcjar", ":automl_go_proto", ], @@ -222,7 +217,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -231,23 +225,15 @@ php_proto_library( deps = [":automl_proto"], ) -php_grpc_library( - name = "automl_php_grpc", - srcs = [":automl_proto"], - deps = [":automl_php_proto"], -) - php_gapic_library( name = "automl_php_gapic", srcs = [":automl_proto_with_info"], grpc_service_config = "automl_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "automl_v1.yaml", transport = "grpc+rest", - deps = [ - ":automl_php_grpc", - ":automl_php_proto", - ], + deps = [":automl_php_proto"], ) # Open Source Packages @@ -255,7 +241,6 @@ php_gapic_assembly_pkg( name = "google-cloud-automl-v1-php", deps = [ ":automl_php_gapic", - ":automl_php_grpc", ":automl_php_proto", ], ) @@ -331,6 +316,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "AutoML makes the power of machine learning available to you even if you have limited knowledge of machine learning. You can use AutoML to build on Google's machine learning capabilities to create your own custom machine learning models that are tailored to your business needs, and then integrate those models into your applications and web sites.", ruby_cloud_title = "Cloud AutoML V1", service_yaml = "automl_v1.yaml", + transport = "grpc+rest", deps = [ ":automl_ruby_grpc", ":automl_ruby_proto", diff --git a/third_party/googleapis/google/cloud/automl/v1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/automl/v1beta1/BUILD.bazel index 36fbf9cfe..d62b9b20d 100644 --- a/third_party/googleapis/google/cloud/automl/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/automl/v1beta1/BUILD.bazel @@ -93,12 +93,14 @@ java_gapic_library( srcs = [":automl_proto_with_info"], grpc_service_config = "automl_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "automl_v1beta1.yaml", test_deps = [ ":automl_java_grpc", ], transport = "grpc+rest", deps = [ ":automl_java_proto", + "//google/api:api_java_proto", ], ) @@ -134,7 +136,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -170,18 +171,12 @@ go_gapic_library( ], ) -go_test( - name = "automl_go_gapic_test", - srcs = [":automl_go_gapic_srcjar_test"], - embed = [":automl_go_gapic"], - importpath = "cloud.google.com/go/automl/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-automl-v1beta1-go", deps = [ ":automl_go_gapic", + ":automl_go_gapic_srcjar-snippets.srcjar", ":automl_go_gapic_srcjar-test.srcjar", ":automl_go_proto", ], @@ -231,7 +226,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -240,12 +234,6 @@ php_proto_library( deps = [":automl_proto"], ) -php_grpc_library( - name = "automl_php_grpc", - srcs = [":automl_proto"], - deps = [":automl_php_proto"], -) - php_gapic_library( name = "automl_php_gapic", srcs = [":automl_proto_with_info"], @@ -253,10 +241,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "automl_v1beta1.yaml", transport = "grpc+rest", - deps = [ - ":automl_php_grpc", - ":automl_php_proto", - ], + deps = [":automl_php_proto"], ) # Open Source Packages @@ -264,7 +249,6 @@ php_gapic_assembly_pkg( name = "google-cloud-automl-v1beta1-php", deps = [ ":automl_php_gapic", - ":automl_php_grpc", ":automl_php_proto", ], ) @@ -339,6 +323,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "AutoML makes the power of machine learning available to you even if you have limited knowledge of machine learning. You can use AutoML to build on Google's machine learning capabilities to create your own custom machine learning models that are tailored to your business needs, and then integrate those models into your applications and web sites.", ruby_cloud_title = "Cloud AutoML V1beta1", service_yaml = "automl_v1beta1.yaml", + transport = "grpc+rest", deps = [ ":automl_ruby_grpc", ":automl_ruby_proto", diff --git a/third_party/googleapis/google/cloud/backupdr/logging/v1/BUILD.bazel b/third_party/googleapis/google/cloud/backupdr/logging/v1/BUILD.bazel index 5a216ae2c..10e456184 100644 --- a/third_party/googleapis/google/cloud/backupdr/logging/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/backupdr/logging/v1/BUILD.bazel @@ -1,122 +1,90 @@ -# TODO(pandeydeeksha): describe this package. - # This file was automatically generated by BuildFileGenerator +# This is an API workspace, having public visibility by default makes perfect sense. +package(default_visibility = ["//visibility:public"]) + ############################################################################## # Common ############################################################################## load("@rules_proto//proto:defs.bzl", "proto_library") +proto_library( + name = "logging_proto", + srcs = [ + "eventlog.proto", + "reportlog.proto", + ], + deps = [ + + ], +) + ############################################################################## # Java ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "java_grpc_library", "java_proto_library", + "java_gapic_assembly_gradle_pkg", ) -############################################################################## -# Go -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "go_proto_library", +java_proto_library( + name = "logging_java_proto", + deps = [":logging_proto"], ) -############################################################################## -# Python -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "moved_proto_library", - "py_grpc_library", - "py_proto_library", +# Open Source Packages +java_gapic_assembly_gradle_pkg( + name = "google-cloud-backupdr-logging-v1-java", + deps = [ + ":logging_proto", + ":logging_java_proto", + ], ) ############################################################################## -# PHP +# Go ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", - "php_proto_library", + "go_proto_library", + "go_gapic_assembly_pkg", ) -############################################################################## -# Node.js -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) +go_proto_library( + name = "logging_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], + importpath = "cloud.google.com/go/backupdr/logging/apiv1/loggingpb", + protos = [":logging_proto"], + deps = [ -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "ruby_grpc_library", - "ruby_proto_library", + ], ) -############################################################################## -# C# -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "csharp_grpc_library", - "csharp_proto_library", +go_gapic_assembly_pkg( + name = "google-cloud-backupdr-logging-v1-go", + deps = [ + ":logging_go_proto", + ], ) ############################################################################## -# C++ +# Python ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "cc_grpc_library", - "cc_proto_library", -) - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) - -proto_library( - name = "logging_proto", - srcs = [ - "eventlog.proto", - ], - deps = [ - "@com_google_protobuf//:timestamp_proto", - ], -) - -java_proto_library( - name = "logging_java_proto", - deps = [":logging_proto"], -) - -java_grpc_library( - name = "logging_java_grpc", - srcs = [":logging_proto"], - deps = [":logging_java_proto"], -) - -go_proto_library( - name = "logging_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "cloud.google.com/go/backupdr/logging/apiv1/loggingpb", - protos = [":logging_proto"], - deps = [ - ], + "moved_proto_library", + "py_grpc_library", + "py_proto_library", + "py_gapic_library", + "py_gapic_assembly_pkg", ) moved_proto_library( name = "logging_moved_proto", srcs = [":logging_proto"], deps = [ - "@com_google_protobuf//:timestamp_proto", + ], ) @@ -131,15 +99,49 @@ py_grpc_library( deps = [":logging_py_proto"], ) +py_gapic_library( + name = "logging_py_gapic", + srcs = [":logging_proto"], + rest_numeric_enums = False, + transport = "grpc+rest", +) + +# Open Source Packages +py_gapic_assembly_pkg( + name = "google-cloud-backupdr-logging-v1-py", + deps = [ + ":logging_py_gapic", + ], +) + +############################################################################## +# PHP +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "php_gapic_assembly_pkg", + "php_proto_library", +) + php_proto_library( name = "logging_php_proto", deps = [":logging_proto"], ) -php_grpc_library( - name = "logging_php_grpc", - srcs = [":logging_proto"], - deps = [":logging_php_proto"], +php_gapic_assembly_pkg( + name = "google-cloud-backupdr-logging-v1-php", + deps = [ + ":logging_php_proto", + ], +) + +############################################################################## +# Ruby +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "ruby_grpc_library", + "ruby_proto_library", ) ruby_proto_library( @@ -153,15 +155,37 @@ ruby_grpc_library( deps = [":logging_ruby_proto"], ) +############################################################################## +# C# +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "csharp_proto_library", + "csharp_gapic_assembly_pkg", +) + csharp_proto_library( name = "logging_csharp_proto", deps = [":logging_proto"], ) -csharp_grpc_library( - name = "logging_csharp_grpc", - srcs = [":logging_proto"], - deps = [":logging_csharp_proto"], +# Open Source Packages +csharp_gapic_assembly_pkg( + name = "google-cloud-backupdr-logging-v1-csharp", + package_name = "Google.Cloud.BackupDR.Logging.V1", + generate_nongapic_package = True, + deps = [ + ":logging_csharp_proto", + ], +) + +############################################################################## +# C++ +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "cc_grpc_library", + "cc_proto_library", ) cc_proto_library( diff --git a/third_party/googleapis/google/cloud/backupdr/logging/v1/eventlog.proto b/third_party/googleapis/google/cloud/backupdr/logging/v1/eventlog.proto index 441ad0997..2d16efc5b 100644 --- a/third_party/googleapis/google/cloud/backupdr/logging/v1/eventlog.proto +++ b/third_party/googleapis/google/cloud/backupdr/logging/v1/eventlog.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,20 +16,18 @@ syntax = "proto3"; package google.cloud.backupdr.logging.v1; -import "google/protobuf/timestamp.proto"; - option go_package = "cloud.google.com/go/backupdr/logging/apiv1/loggingpb;loggingpb"; // This is an event message Event { // The event_time field displays the time when the event was reported - google.protobuf.Timestamp event_time = 1; + string event_time = 1; // The srcid field displays unique id of the event occurred in the backup // appliance int64 srcid = 2; - // The error_message field describes the detailed error associated with the + // The errormessage field describes the detailed error associated with the // event string error_message = 3; @@ -41,22 +39,16 @@ message Event { // The appliance_id field displays unique id of the appliance on which event // occurred - int64 appliance_id = 6; - // The appliance_name field displays name of the appliance on which event - // occurred - string appliance_name = 7; - // The source_event_time field displays the time when the event occurred at - // appliance - google.protobuf.Timestamp source_event_time = 8; + int64 appliance_name = 6; - // The app_name field displays name of the application associated with the + // The appname field displays name of the application associated with the // event - string app_name = 9; + string app_name = 7; - // The app_type field displays type of the application associated with the + // The apptype field displays type of the application associated with the // event - string app_type = 10; + string app_type = 8; - // The job_name field displays name of the job associated with the event - string job_name = 11; + // The jobname field displays name of the job associated with the event + string job_name = 9; } diff --git a/third_party/googleapis/google/cloud/baremetalsolution/BUILD.bazel b/third_party/googleapis/google/cloud/baremetalsolution/BUILD.bazel index 23aade64f..cf830df59 100644 --- a/third_party/googleapis/google/cloud/baremetalsolution/BUILD.bazel +++ b/third_party/googleapis/google/cloud/baremetalsolution/BUILD.bazel @@ -24,10 +24,11 @@ ruby_cloud_gapic_library( "ruby-cloud-api-shortname=baremetalsolution", "ruby-cloud-gem-name=google-cloud-bare_metal_solution", "ruby-cloud-product-url=https://cloud.google.com/bare-metal/", - "ruby-cloud-wrapper-of=v2:0.0", + "ruby-cloud-wrapper-of=v2:0.7", ], ruby_cloud_description = "Bare Metal Solution is a managed solution that provides purpose-built HPE or Atos bare-metal servers in regional extensions that are connected to Google Cloud by a managed, high-performance connection with a low-latency network fabric.", ruby_cloud_title = "Bare Metal Solution", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/baremetalsolution/v2/BUILD.bazel b/third_party/googleapis/google/cloud/baremetalsolution/v2/BUILD.bazel index 4141b28fe..392470900 100644 --- a/third_party/googleapis/google/cloud/baremetalsolution/v2/BUILD.bazel +++ b/third_party/googleapis/google/cloud/baremetalsolution/v2/BUILD.bazel @@ -22,11 +22,16 @@ proto_library( name = "baremetalsolution_proto", srcs = [ "baremetalsolution.proto", + "common.proto", "instance.proto", "lun.proto", "network.proto", "nfs_share.proto", + "osimage.proto", + "provisioning.proto", + "ssh_key.proto", "volume.proto", + "volume_snapshot.proto", ], deps = [ "//google/api:annotations_proto", @@ -45,6 +50,8 @@ proto_library_with_info( deps = [ ":baremetalsolution_proto", "//google/cloud:common_resources_proto", + "//google/cloud/location:location_proto", + "//google/iam/v1:iam_policy_proto", ], ) @@ -79,12 +86,16 @@ java_gapic_library( rest_numeric_enums = True, service_yaml = "baremetalsolution_v2.yaml", test_deps = [ + "//google/cloud/location:location_java_grpc", + "//google/iam/v1:iam_java_grpc", ":baremetalsolution_java_grpc", ], transport = "grpc+rest", deps = [ ":baremetalsolution_java_proto", "//google/api:api_java_proto", + "//google/cloud/location:location_java_proto", + "//google/iam/v1:iam_java_proto", ], ) @@ -118,7 +129,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -138,32 +148,27 @@ go_gapic_library( grpc_service_config = "baremetalsolution_grpc_service_config.json", importpath = "cloud.google.com/go/baremetalsolution/apiv2;baremetalsolution", metadata = True, - release_level = "beta", + release_level = "ga", rest_numeric_enums = True, service_yaml = "baremetalsolution_v2.yaml", transport = "grpc+rest", deps = [ ":baremetalsolution_go_proto", "//google/cloud/location:location_go_proto", + "//google/iam/v1:iam_go_proto", "//google/longrunning:longrunning_go_proto", "@com_google_cloud_go_longrunning//:go_default_library", "@com_google_cloud_go_longrunning//autogen:go_default_library", ], ) -go_test( - name = "baremetalsolution_go_gapic_test", - srcs = [":baremetalsolution_go_gapic_srcjar_test"], - embed = [":baremetalsolution_go_gapic"], - importpath = "cloud.google.com/go/baremetalsolution/apiv2", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-baremetalsolution-v2-go", deps = [ ":baremetalsolution_go_gapic", ":baremetalsolution_go_gapic_srcjar-metadata.srcjar", + ":baremetalsolution_go_gapic_srcjar-snippets.srcjar", ":baremetalsolution_go_gapic_srcjar-test.srcjar", ":baremetalsolution_go_proto", ], @@ -184,14 +189,16 @@ py_gapic_library( srcs = [":baremetalsolution_proto"], grpc_service_config = "baremetalsolution_grpc_service_config.json", opt_args = [ - "warehouse-package-name=google-cloud-bare-metal-solution", - "python-gapic-namespace=google.cloud", "python-gapic-name=bare_metal_solution", + "python-gapic-namespace=google.cloud", + "warehouse-package-name=google-cloud-bare-metal-solution", ], rest_numeric_enums = True, service_yaml = "baremetalsolution_v2.yaml", transport = "grpc+rest", - deps = ["//google/iam/v1:iam_policy_py_proto",] + deps = [ + "//google/iam/v1:iam_policy_py_proto", + ], ) py_test( @@ -219,7 +226,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -228,21 +234,15 @@ php_proto_library( deps = [":baremetalsolution_proto"], ) -php_grpc_library( - name = "baremetalsolution_php_grpc", - srcs = [":baremetalsolution_proto"], - deps = [":baremetalsolution_php_proto"], -) - php_gapic_library( name = "baremetalsolution_php_gapic", srcs = [":baremetalsolution_proto_with_info"], grpc_service_config = "baremetalsolution_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "baremetalsolution_v2.yaml", transport = "grpc+rest", deps = [ - ":baremetalsolution_php_grpc", ":baremetalsolution_php_proto", ], ) @@ -252,7 +252,6 @@ php_gapic_assembly_pkg( name = "google-cloud-baremetalsolution-v2-php", deps = [ ":baremetalsolution_php_gapic", - ":baremetalsolution_php_grpc", ":baremetalsolution_php_proto", ], ) @@ -323,6 +322,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Bare Metal Solution is a managed solution that provides purpose-built HPE or Atos bare-metal servers in regional extensions that are connected to Google Cloud by a managed, high-performance connection with a low-latency network fabric.", ruby_cloud_title = "Bare Metal Solution V2", service_yaml = "baremetalsolution_v2.yaml", + transport = "grpc+rest", deps = [ ":baremetalsolution_ruby_grpc", ":baremetalsolution_ruby_proto", diff --git a/third_party/googleapis/google/cloud/baremetalsolution/v2/baremetalsolution.proto b/third_party/googleapis/google/cloud/baremetalsolution/v2/baremetalsolution.proto index 975145b63..ebff23dc8 100644 --- a/third_party/googleapis/google/cloud/baremetalsolution/v2/baremetalsolution.proto +++ b/third_party/googleapis/google/cloud/baremetalsolution/v2/baremetalsolution.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -23,8 +23,13 @@ import "google/cloud/baremetalsolution/v2/instance.proto"; import "google/cloud/baremetalsolution/v2/lun.proto"; import "google/cloud/baremetalsolution/v2/network.proto"; import "google/cloud/baremetalsolution/v2/nfs_share.proto"; +import "google/cloud/baremetalsolution/v2/osimage.proto"; +import "google/cloud/baremetalsolution/v2/provisioning.proto"; +import "google/cloud/baremetalsolution/v2/ssh_key.proto"; import "google/cloud/baremetalsolution/v2/volume.proto"; +import "google/cloud/baremetalsolution/v2/volume_snapshot.proto"; import "google/longrunning/operations.proto"; +import "google/protobuf/empty.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.BareMetalSolution.V2"; @@ -45,7 +50,8 @@ option ruby_package = "Google::Cloud::BareMetalSolution::V2"; // upon specific servers in your Bare Metal Solution environment. service BareMetalSolution { option (google.api.default_host) = "baremetalsolution.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // List servers in a given project and location. rpc ListInstances(ListInstancesRequest) returns (ListInstancesResponse) { @@ -64,7 +70,8 @@ service BareMetalSolution { } // Update details of a single server. - rpc UpdateInstance(UpdateInstanceRequest) returns (google.longrunning.Operation) { + rpc UpdateInstance(UpdateInstanceRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v2/{instance.name=projects/*/locations/*/instances/*}" body: "instance" @@ -76,9 +83,20 @@ service BareMetalSolution { }; } + // RenameInstance sets a new name for an instance. + // Use with caution, previous names become immediately invalidated. + rpc RenameInstance(RenameInstanceRequest) returns (Instance) { + option (google.api.http) = { + post: "/v2/{name=projects/*/locations/*/instances/*}:rename" + body: "*" + }; + option (google.api.method_signature) = "name,new_instance_id"; + } + // Perform an ungraceful, hard reset on a server. Equivalent to shutting the // power off and then turning it back on. - rpc ResetInstance(ResetInstanceRequest) returns (google.longrunning.Operation) { + rpc ResetInstance(ResetInstanceRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v2/{name=projects/*/locations/*/instances/*}:reset" body: "*" @@ -91,7 +109,8 @@ service BareMetalSolution { } // Starts a server that was shutdown. - rpc StartInstance(StartInstanceRequest) returns (google.longrunning.Operation) { + rpc StartInstance(StartInstanceRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v2/{name=projects/*/locations/*/instances/*}:start" body: "*" @@ -116,6 +135,34 @@ service BareMetalSolution { }; } + // Enable the interactive serial console feature on an instance. + rpc EnableInteractiveSerialConsole(EnableInteractiveSerialConsoleRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v2/{name=projects/*/locations/*/instances/*}:enableInteractiveSerialConsole" + body: "*" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "EnableInteractiveSerialConsoleResponse" + metadata_type: "OperationMetadata" + }; + } + + // Disable the interactive serial console feature on an instance. + rpc DisableInteractiveSerialConsole(DisableInteractiveSerialConsoleRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v2/{name=projects/*/locations/*/instances/*}:disableInteractiveSerialConsole" + body: "*" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "DisableInteractiveSerialConsoleResponse" + metadata_type: "OperationMetadata" + }; + } + // Detach LUN from Instance. rpc DetachLun(DetachLunRequest) returns (google.longrunning.Operation) { option (google.api.http) = { @@ -129,6 +176,33 @@ service BareMetalSolution { }; } + // Lists the public SSH keys registered for the specified project. + // These SSH keys are used only for the interactive serial console feature. + rpc ListSSHKeys(ListSSHKeysRequest) returns (ListSSHKeysResponse) { + option (google.api.http) = { + get: "/v2/{parent=projects/*/locations/*}/sshKeys" + }; + option (google.api.method_signature) = "parent"; + } + + // Register a public SSH key in the specified project for use with the + // interactive serial console feature. + rpc CreateSSHKey(CreateSSHKeyRequest) returns (SSHKey) { + option (google.api.http) = { + post: "/v2/{parent=projects/*/locations/*}/sshKeys" + body: "ssh_key" + }; + option (google.api.method_signature) = "parent,ssh_key,ssh_key_id"; + } + + // Deletes a public SSH key registered in the specified project. + rpc DeleteSSHKey(DeleteSSHKeyRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v2/{name=projects/*/locations/*/sshKeys/*}" + }; + option (google.api.method_signature) = "name"; + } + // List storage volumes in a given project and location. rpc ListVolumes(ListVolumesRequest) returns (ListVolumesResponse) { option (google.api.http) = { @@ -158,6 +232,30 @@ service BareMetalSolution { }; } + // RenameVolume sets a new name for a volume. + // Use with caution, previous names become immediately invalidated. + rpc RenameVolume(RenameVolumeRequest) returns (Volume) { + option (google.api.http) = { + post: "/v2/{name=projects/*/locations/*/volumes/*}:rename" + body: "*" + }; + option (google.api.method_signature) = "name,new_volume_id"; + } + + // Skips volume's cooloff and deletes it now. + // Volume must be in cooloff state. + rpc EvictVolume(EvictVolumeRequest) returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v2/{name=projects/*/locations/*/volumes/*}:evict" + body: "*" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "OperationMetadata" + }; + } + // Emergency Volume resize. rpc ResizeVolume(ResizeVolumeRequest) returns (google.longrunning.Operation) { option (google.api.http) = { @@ -181,7 +279,8 @@ service BareMetalSolution { // List all Networks (and used IPs for each Network) in the vendor account // associated with the specified project. - rpc ListNetworkUsage(ListNetworkUsageRequest) returns (ListNetworkUsageResponse) { + rpc ListNetworkUsage(ListNetworkUsageRequest) + returns (ListNetworkUsageResponse) { option (google.api.http) = { get: "/v2/{location=projects/*/locations/*}/networks:listNetworkUsage" }; @@ -197,7 +296,8 @@ service BareMetalSolution { } // Update details of a single network. - rpc UpdateNetwork(UpdateNetworkRequest) returns (google.longrunning.Operation) { + rpc UpdateNetwork(UpdateNetworkRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v2/{network.name=projects/*/locations/*/networks/*}" body: "network" @@ -209,6 +309,62 @@ service BareMetalSolution { }; } + // Takes a snapshot of a boot volume. + // Returns INVALID_ARGUMENT if called for a non-boot volume. + rpc CreateVolumeSnapshot(CreateVolumeSnapshotRequest) + returns (VolumeSnapshot) { + option (google.api.http) = { + post: "/v2/{parent=projects/*/locations/*/volumes/*}/snapshots" + body: "volume_snapshot" + }; + option (google.api.method_signature) = "parent,volume_snapshot"; + } + + // Uses the specified snapshot to restore its parent volume. + // Returns INVALID_ARGUMENT if called for a non-boot volume. + rpc RestoreVolumeSnapshot(RestoreVolumeSnapshotRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v2/{volume_snapshot=projects/*/locations/*/volumes/*/snapshots/*}:restoreVolumeSnapshot" + body: "*" + }; + option (google.api.method_signature) = "volume_snapshot"; + option (google.longrunning.operation_info) = { + response_type: "VolumeSnapshot" + metadata_type: "OperationMetadata" + }; + } + + // Deletes a volume snapshot. + // Returns INVALID_ARGUMENT if called for a non-boot volume. + rpc DeleteVolumeSnapshot(DeleteVolumeSnapshotRequest) + returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v2/{name=projects/*/locations/*/volumes/*/snapshots/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Returns the specified snapshot resource. + // Returns INVALID_ARGUMENT if called for a non-boot volume. + rpc GetVolumeSnapshot(GetVolumeSnapshotRequest) returns (VolumeSnapshot) { + option (google.api.http) = { + get: "/v2/{name=projects/*/locations/*/volumes/*/snapshots/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Retrieves the list of snapshots for the specified volume. + // Returns a response with an empty list of snapshots if called + // for a non-boot volume. + rpc ListVolumeSnapshots(ListVolumeSnapshotsRequest) + returns (ListVolumeSnapshotsResponse) { + option (google.api.http) = { + get: "/v2/{parent=projects/*/locations/*/volumes/*}/snapshots" + }; + option (google.api.method_signature) = "parent"; + } + // Get details of a single storage logical unit number(LUN). rpc GetLun(GetLunRequest) returns (Lun) { option (google.api.http) = { @@ -225,6 +381,20 @@ service BareMetalSolution { option (google.api.method_signature) = "parent"; } + // Skips lun's cooloff and deletes it now. + // Lun must be in cooloff state. + rpc EvictLun(EvictLunRequest) returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v2/{name=projects/*/locations/*/volumes/*/luns/*}:evict" + body: "*" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "OperationMetadata" + }; + } + // Get details of a single NFS share. rpc GetNfsShare(GetNfsShareRequest) returns (NfsShare) { option (google.api.http) = { @@ -242,7 +412,8 @@ service BareMetalSolution { } // Update details of a single NFS share. - rpc UpdateNfsShare(UpdateNfsShareRequest) returns (google.longrunning.Operation) { + rpc UpdateNfsShare(UpdateNfsShareRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v2/{nfs_share.name=projects/*/locations/*/nfsShares/*}" body: "nfs_share" @@ -253,38 +424,140 @@ service BareMetalSolution { metadata_type: "OperationMetadata" }; } + + // Create an NFS share. + rpc CreateNfsShare(CreateNfsShareRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v2/{parent=projects/*/locations/*}/nfsShares" + body: "nfs_share" + }; + option (google.api.method_signature) = "parent,nfs_share"; + option (google.longrunning.operation_info) = { + response_type: "NfsShare" + metadata_type: "OperationMetadata" + }; + } + + // RenameNfsShare sets a new name for an nfsshare. + // Use with caution, previous names become immediately invalidated. + rpc RenameNfsShare(RenameNfsShareRequest) returns (NfsShare) { + option (google.api.http) = { + post: "/v2/{name=projects/*/locations/*/nfsShares/*}:rename" + body: "*" + }; + option (google.api.method_signature) = "name,new_nfsshare_id"; + } + + // Delete an NFS share. The underlying volume is automatically deleted. + rpc DeleteNfsShare(DeleteNfsShareRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + delete: "/v2/{name=projects/*/locations/*/nfsShares/*}" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "OperationMetadata" + }; + } + + // List the budget details to provision resources on a given project. + rpc ListProvisioningQuotas(ListProvisioningQuotasRequest) + returns (ListProvisioningQuotasResponse) { + option (google.api.http) = { + get: "/v2/{parent=projects/*/locations/*}/provisioningQuotas" + }; + option (google.api.method_signature) = "parent"; + } + + // Submit a provisiong configuration for a given project. + rpc SubmitProvisioningConfig(SubmitProvisioningConfigRequest) + returns (SubmitProvisioningConfigResponse) { + option (google.api.http) = { + post: "/v2/{parent=projects/*/locations/*}/provisioningConfigs:submit" + body: "*" + }; + option (google.api.method_signature) = "parent,provisioning_config"; + } + + // Get ProvisioningConfig by name. + rpc GetProvisioningConfig(GetProvisioningConfigRequest) + returns (ProvisioningConfig) { + option (google.api.http) = { + get: "/v2/{name=projects/*/locations/*/provisioningConfigs/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Create new ProvisioningConfig. + rpc CreateProvisioningConfig(CreateProvisioningConfigRequest) + returns (ProvisioningConfig) { + option (google.api.http) = { + post: "/v2/{parent=projects/*/locations/*}/provisioningConfigs" + body: "provisioning_config" + }; + option (google.api.method_signature) = "parent,provisioning_config"; + } + + // Update existing ProvisioningConfig. + rpc UpdateProvisioningConfig(UpdateProvisioningConfigRequest) + returns (ProvisioningConfig) { + option (google.api.http) = { + patch: "/v2/{provisioning_config.name=projects/*/locations/*/provisioningConfigs/*}" + body: "provisioning_config" + }; + option (google.api.method_signature) = "provisioning_config,update_mask"; + } + + // RenameNetwork sets a new name for a network. + // Use with caution, previous names become immediately invalidated. + rpc RenameNetwork(RenameNetworkRequest) returns (Network) { + option (google.api.http) = { + post: "/v2/{name=projects/*/locations/*/networks/*}:rename" + body: "*" + }; + option (google.api.method_signature) = "name,new_network_id"; + } + + // Retrieves the list of OS images which are currently approved. + rpc ListOSImages(ListOSImagesRequest) returns (ListOSImagesResponse) { + option (google.api.http) = { + get: "/v2/{parent=projects/*/locations/*}/osImages" + }; + option (google.api.method_signature) = "parent"; + } } // Represents the metadata from a long-running operation. message OperationMetadata { - // The time the operation was created. + // Output only. The time the operation was created. google.protobuf.Timestamp create_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // The time the operation finished running. + // Output only. The time the operation finished running. google.protobuf.Timestamp end_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Server-defined resource path for the target of the operation. + // Output only. Server-defined resource path for the target of the operation. string target = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Name of the action executed by the operation. + // Output only. Name of the action executed by the operation. string verb = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Human-readable status of the operation, if any. + // Output only. Human-readable status of the operation, if any. string status_message = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Identifies whether the user requested the cancellation + // Output only. Identifies whether the user requested the cancellation // of the operation. Operations that have been successfully cancelled - // have [Operation.error][] value with a [google.rpc.Status.code][] of 1, - // corresponding to `Code.CANCELLED`. + // have [Operation.error][] value with a + // [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to + // `Code.CANCELLED`. bool requested_cancellation = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - // API version used with the operation. + // Output only. API version used with the operation. string api_version = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Response message from resetting a server. -message ResetInstanceResponse { - -} +message ResetInstanceResponse {} diff --git a/third_party/googleapis/google/cloud/baremetalsolution/v2/baremetalsolution_v2.yaml b/third_party/googleapis/google/cloud/baremetalsolution/v2/baremetalsolution_v2.yaml index 2a489e279..9a83824b0 100644 --- a/third_party/googleapis/google/cloud/baremetalsolution/v2/baremetalsolution_v2.yaml +++ b/third_party/googleapis/google/cloud/baremetalsolution/v2/baremetalsolution_v2.yaml @@ -10,8 +10,13 @@ apis: - name: google.longrunning.Operations types: +- name: google.cloud.baremetalsolution.v2.DisableInteractiveSerialConsoleResponse +- name: google.cloud.baremetalsolution.v2.EnableInteractiveSerialConsoleResponse - name: google.cloud.baremetalsolution.v2.OperationMetadata - name: google.cloud.baremetalsolution.v2.ResetInstanceResponse +- name: google.cloud.baremetalsolution.v2.ServerNetworkTemplate +- name: google.cloud.baremetalsolution.v2.StartInstanceResponse +- name: google.cloud.baremetalsolution.v2.StopInstanceResponse documentation: summary: |- @@ -28,6 +33,8 @@ backend: rules: - selector: 'google.cloud.baremetalsolution.v2.BareMetalSolution.*' deadline: 60.0 + - selector: google.cloud.baremetalsolution.v2.BareMetalSolution.UpdateInstance + deadline: 120.0 - selector: google.cloud.location.Locations.GetLocation deadline: 60.0 - selector: google.cloud.location.Locations.ListLocations @@ -56,6 +63,10 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform + - selector: 'google.iam.v1.IAMPolicy.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform - selector: 'google.longrunning.Operations.*' oauth: canonical_scopes: |- diff --git a/third_party/googleapis/google/cloud/baremetalsolution/v2/instance.proto b/third_party/googleapis/google/cloud/baremetalsolution/v2/instance.proto index 364029ee6..ed4827b59 100644 --- a/third_party/googleapis/google/cloud/baremetalsolution/v2/instance.proto +++ b/third_party/googleapis/google/cloud/baremetalsolution/v2/instance.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,8 +18,10 @@ package google.cloud.baremetalsolution.v2; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/cloud/baremetalsolution/v2/common.proto"; import "google/cloud/baremetalsolution/v2/lun.proto"; import "google/cloud/baremetalsolution/v2/network.proto"; +import "google/cloud/baremetalsolution/v2/volume.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; @@ -51,31 +53,45 @@ message Instance { // The server has been deleted. DELETED = 3; + + // The server is being updated. + UPDATING = 4; + + // The server is starting. + STARTING = 5; + + // The server is stopping. + STOPPING = 6; + + // The server is shutdown. + SHUTDOWN = 7; } - // Output only. The resource name of this `Instance`. + // Immutable. The resource name of this `Instance`. // Resource names are schemeless URIs that follow the conventions in // https://cloud.google.com/apis/design/resource_names. // Format: // `projects/{project}/locations/{location}/instances/{instance}` - string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + string name = 1 [(google.api.field_behavior) = IMMUTABLE]; - // An identifier for the `Instance`, generated by the backend. - string id = 11; + // Output only. An identifier for the `Instance`, generated by the backend. + string id = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Create a time stamp. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Update a time stamp. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // The server type. + // Immutable. The server type. // [Available server // types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations) - string machine_type = 4; + string machine_type = 4 [(google.api.field_behavior) = IMMUTABLE]; - // The state of the server. - State state = 5; + // Output only. The state of the server. + State state = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; // True if you enable hyperthreading for the server, otherwise false. // The default value is false. @@ -84,16 +100,20 @@ message Instance { // Labels as key value pairs. map labels = 7; - // List of LUNs associated with this server. - repeated Lun luns = 8; + // Immutable. List of LUNs associated with this server. + repeated Lun luns = 8 [(google.api.field_behavior) = IMMUTABLE]; - // List of networks associated with this server. - repeated Network networks = 9; + // Input only. List of Volumes to attach to this Instance on creation. + // This field won't be populated in Get/List responses. + repeated Volume volumes = 16 [(google.api.field_behavior) = INPUT_ONLY]; - // True if the interactive serial console feature is enabled for the instance, - // false otherwise. - // The default value is false. - bool interactive_serial_console_enabled = 10; + // Output only. List of networks associated with this server. + repeated Network networks = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. True if the interactive serial console feature is enabled for + // the instance, false otherwise. The default value is false. + bool interactive_serial_console_enabled = 10 + [(google.api.field_behavior) = OUTPUT_ONLY]; // The OS image currently installed on the server. string os_image = 12; @@ -108,8 +128,8 @@ message Instance { // Generally, the template name follows the syntax of // "bond" or "nic". string network_template = 14 [(google.api.resource_reference) = { - type: "baremetalsolution.googleapis.com/ServerNetworkTemplate" - }]; + type: "baremetalsolution.googleapis.com/ServerNetworkTemplate" + }]; // List of logical interfaces for the instance. The number of logical // interfaces will be the same as number of hardware bond/nic on the chosen @@ -119,6 +139,15 @@ message Instance { // be filled to ensure backward compatibility. For the others, only // Instance.logical_interfaces will be filled. repeated LogicalInterface logical_interfaces = 15; + + // Output only. Text field about info for logging in. + string login_info = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // The workload profile for the instance. + WorkloadProfile workload_profile = 18; + + // Output only. The firmware version for the instance. + string firmware_version = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Message for requesting server information. @@ -181,6 +210,21 @@ message UpdateInstanceRequest { google.protobuf.FieldMask update_mask = 2; } +// Message requesting rename of a server. +message RenameInstanceRequest { + // Required. The `name` field is used to identify the instance. + // Format: projects/{project}/locations/{location}/instances/{instance} + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "baremetalsolution.googleapis.com/Instance" + } + ]; + + // Required. The new `id` of the instance. + string new_instance_id = 2 [(google.api.field_behavior) = REQUIRED]; +} + // Message requesting to reset a server. message ResetInstanceRequest { // Required. Name of the resource. @@ -203,6 +247,9 @@ message StartInstanceRequest { ]; } +// Response message from starting a server. +message StartInstanceResponse {} + // Message requesting to stop a server. message StopInstanceRequest { // Required. Name of the resource. @@ -214,6 +261,37 @@ message StopInstanceRequest { ]; } +// Response message from stopping a server. +message StopInstanceResponse {} + +// Message for enabling the interactive serial console on an instance. +message EnableInteractiveSerialConsoleRequest { + // Required. Name of the resource. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "baremetalsolution.googleapis.com/Instance" + } + ]; +} + +// Message for response of EnableInteractiveSerialConsole. +message EnableInteractiveSerialConsoleResponse {} + +// Message for disabling the interactive serial console on an instance. +message DisableInteractiveSerialConsoleRequest { + // Required. Name of the resource. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "baremetalsolution.googleapis.com/Instance" + } + ]; +} + +// Message for response of DisableInteractiveSerialConsole. +message DisableInteractiveSerialConsoleResponse {} + // Message for detach specific LUN from an Instance. message DetachLunRequest { // Required. Name of the instance. @@ -231,6 +309,9 @@ message DetachLunRequest { type: "baremetalsolution.googleapis.com/Lun" } ]; + + // If true, performs lun unmapping without instance reboot. + bool skip_reboot = 3; } // Network template. @@ -268,7 +349,8 @@ message ServerNetworkTemplate { bool required = 3; } - // Output only. Template's unique name. The full resource name follows the pattern: + // Output only. Template's unique name. The full resource name follows the + // pattern: // `projects/{project}/locations/{location}/serverNetworkTemplate/{server_network_template}` // Generally, the {server_network_template} follows the syntax of // "bond" or "nic". @@ -280,9 +362,3 @@ message ServerNetworkTemplate { // Logical interfaces. repeated LogicalInterface logical_interfaces = 3; } - -// Response message from starting a server. -message StartInstanceResponse {} - -// Response message from stopping a server. -message StopInstanceResponse {} diff --git a/third_party/googleapis/google/cloud/baremetalsolution/v2/lun.proto b/third_party/googleapis/google/cloud/baremetalsolution/v2/lun.proto index 11bcf7466..379e1e678 100644 --- a/third_party/googleapis/google/cloud/baremetalsolution/v2/lun.proto +++ b/third_party/googleapis/google/cloud/baremetalsolution/v2/lun.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,6 +18,7 @@ package google.cloud.baremetalsolution.v2; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.BareMetalSolution.V2"; option go_package = "cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb;baremetalsolutionpb"; @@ -50,6 +51,9 @@ message Lun { // The LUN has been requested to be deleted. DELETING = 4; + + // The LUN is in cool off state. It will be deleted after `expire_time`. + COOL_OFF = 5; } // Display the operating systems present for the LUN multiprotocol type. @@ -91,8 +95,8 @@ message Lun { // Display the storage volume for this LUN. string storage_volume = 5 [(google.api.resource_reference) = { - type: "baremetalsolution.googleapis.com/Volume" - }]; + type: "baremetalsolution.googleapis.com/Volume" + }]; // Display if this LUN can be shared between multiple physical servers. bool shareable = 6; @@ -105,6 +109,19 @@ message Lun { // The WWID for this LUN. string wwid = 9; + + // Output only. Time after which LUN will be fully deleted. + // It is filled only for LUNs in COOL_OFF state. + google.protobuf.Timestamp expire_time = 11 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Instances this Lun is attached to. + repeated string instances = 12 [ + (google.api.field_behavior) = OUTPUT_ONLY, + (google.api.resource_reference) = { + type: "baremetalsolution.googleapis.com/Instance" + } + ]; } // Message for requesting storage lun information. @@ -147,3 +164,14 @@ message ListLunsResponse { // Locations that could not be reached. repeated string unreachable = 3; } + +// Request for skip lun cooloff and delete it. +message EvictLunRequest { + // Required. The name of the lun. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "baremetalsolution.googleapis.com/Lun" + } + ]; +} diff --git a/third_party/googleapis/google/cloud/baremetalsolution/v2/network.proto b/third_party/googleapis/google/cloud/baremetalsolution/v2/network.proto index e46eab9af..d61660c95 100644 --- a/third_party/googleapis/google/cloud/baremetalsolution/v2/network.proto +++ b/third_party/googleapis/google/cloud/baremetalsolution/v2/network.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -27,6 +27,10 @@ option java_outer_classname = "NetworkProto"; option java_package = "com.google.cloud.baremetalsolution.v2"; option php_namespace = "Google\\Cloud\\BareMetalSolution\\V2"; option ruby_package = "Google::Cloud::BareMetalSolution::V2"; +option (google.api.resource_definition) = { + type: "compute.googleapis.com/InterconnectAttachment" + pattern: "projects/{project}/regions/{region}/interconnectAttachments/{interconnect_attachment}" +}; // A Network. message Network { @@ -57,6 +61,12 @@ message Network { // The Network has been provisioned. PROVISIONED = 2; + + // The Network is being deprovisioned. + DEPROVISIONING = 3; + + // The Network is being updated. + UPDATING = 4; } // Output only. The resource name of this `Network`. @@ -100,6 +110,19 @@ message Network { // When updating this field, an error will be generated if a reservation // conflicts with an IP address already allocated to a physical server. repeated NetworkAddressReservation reservations = 13; + + // Output only. Pod name. + string pod = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Input only. List of mount points to attach the network to. + repeated NetworkMountPoint mount_points = 15 + [(google.api.field_behavior) = INPUT_ONLY]; + + // Whether network uses standard frames or jumbo ones. + bool jumbo_frames_enabled = 16; + + // Output only. Gateway ip address. + string gateway_ip = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; } // A reservation of one or more addresses in a network. @@ -148,6 +171,25 @@ message VRF { // The router IP of the attachment. string router_ip = 3; + + // Input only. Pairing key. + string pairing_key = 4 [(google.api.field_behavior) = INPUT_ONLY]; + + // The QOS policy applied to this VLAN attachment. + // This value should be preferred to using qos at vrf level. + QosPolicy qos_policy = 5; + + // Immutable. The identifier of the attachment within vrf. + string id = 6 [(google.api.field_behavior) = IMMUTABLE]; + + // Optional. The name of the vlan attachment within vrf. This is of the form + // projects/{project_number}/regions/{region}/interconnectAttachments/{interconnect_attachment} + string interconnect_attachment = 7 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.resource_reference) = { + type: "compute.googleapis.com/InterconnectAttachment" + } + ]; } // The name of the VRF. @@ -157,6 +199,9 @@ message VRF { State state = 5; // The QOS policy applied to this VRF. + // The value is only meaningful when all the vlan attachments have the same + // QoS. This field should not be used for new integrations, use vlan + // attachment level qos instead. The field is left for backward-compatibility. QosPolicy qos_policy = 6; // The list of VLAN attachments for the VRF. @@ -195,8 +240,8 @@ message LogicalInterface { string name = 2; // The index of the logical interface mapping to the index of the hardware - // bond or nic on the chosen network template. - int32 interface_index = 3; + // bond or nic on the chosen network template. This field is deprecated. + int32 interface_index = 3 [deprecated = true]; } // Message for requesting network information. @@ -253,7 +298,7 @@ message UpdateNetworkRequest { // The list of fields to update. // The only currently supported fields are: - // `labels`, `reservations` + // `labels`, `reservations`, `vrf.vlan_attachments` google.protobuf.FieldMask update_mask = 2; } @@ -282,3 +327,35 @@ message ListNetworkUsageResponse { // Networks with IPs. repeated NetworkUsage networks = 1; } + +// Mount point for a network. +message NetworkMountPoint { + // Instance to attach network to. + string instance = 1 [(google.api.resource_reference) = { + type: "baremetalsolution.googleapis.com/Instance" + }]; + + // Logical interface to detach from. + string logical_interface = 2; + + // Network should be a default gateway. + bool default_gateway = 3; + + // Ip address of the server. + string ip_address = 4; +} + +// Message requesting rename of a server. +message RenameNetworkRequest { + // Required. The `name` field is used to identify the network. + // Format: projects/{project}/locations/{location}/networks/{network} + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "baremetalsolution.googleapis.com/Network" + } + ]; + + // Required. The new `id` of the network. + string new_network_id = 2 [(google.api.field_behavior) = REQUIRED]; +} diff --git a/third_party/googleapis/google/cloud/baremetalsolution/v2/nfs_share.proto b/third_party/googleapis/google/cloud/baremetalsolution/v2/nfs_share.proto index f8a63e8e5..5b99cfdc3 100644 --- a/third_party/googleapis/google/cloud/baremetalsolution/v2/nfs_share.proto +++ b/third_party/googleapis/google/cloud/baremetalsolution/v2/nfs_share.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -42,6 +42,15 @@ message NfsShare { // The share has been provisioned. PROVISIONED = 1; + + // The NFS Share is being created. + CREATING = 2; + + // The NFS Share is being updated. + UPDATING = 3; + + // The NFS Share has been requested to be deleted. + DELETING = 4; } // The possible mount permissions. @@ -60,11 +69,12 @@ message NfsShare { message AllowedClient { // The network the access point sits on. string network = 1 [(google.api.resource_reference) = { - type: "baremetalsolution.googleapis.com/Network" - }]; + type: "baremetalsolution.googleapis.com/Network" + }]; - // The IP address of the share on this network. - string share_ip = 2; + // Output only. The IP address of the share on this network. Assigned + // automatically during provisioning based on the network's services_cidr. + string share_ip = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // The subnet of IP addresses permitted to access the share. string allowed_clients_cidr = 3; @@ -82,27 +92,59 @@ message NfsShare { // Root squash is a special mapping of the remote superuser (root) identity // when using identity authentication. bool no_root_squash = 7; + + // Output only. The path to access NFS, in format shareIP:/InstanceID + // InstanceID is the generated ID instead of customer provided name. + // example like "10.0.0.0:/g123456789-nfs001" + string nfs_path = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; } - // Output only. The name of the NFS share. - string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + // The storage type for a volume. + enum StorageType { + // The storage type for this volume is unknown. + STORAGE_TYPE_UNSPECIFIED = 0; + + // The storage type for this volume is SSD. + SSD = 1; + + // This storage type for this volume is HDD. + HDD = 2; + } + + // Immutable. The name of the NFS share. + string name = 1 [(google.api.field_behavior) = IMMUTABLE]; // Output only. An identifier for the NFS share, generated by the backend. + // This field will be deprecated in the future, use `id` instead. string nfs_share_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - // The state of the NFS share. - State state = 3; + // Output only. An identifier for the NFS share, generated by the backend. + // This is the same value as nfs_share_id and will replace it in the future. + string id = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - // The volume containing the share. - string volume = 4 [(google.api.resource_reference) = { - type: "baremetalsolution.googleapis.com/Volume" - }]; + // Output only. The state of the NFS share. + State state = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The underlying volume of the share. Created automatically + // during provisioning. + string volume = 4 [ + (google.api.field_behavior) = OUTPUT_ONLY, + (google.api.resource_reference) = { + type: "baremetalsolution.googleapis.com/Volume" + } + ]; // List of allowed access points. repeated AllowedClient allowed_clients = 5; // Labels as key value pairs. map labels = 6; + + // The requested size, in GiB. + int64 requested_size_gib = 7; + + // Immutable. The storage type of the underlying volume. + StorageType storage_type = 9 [(google.api.field_behavior) = IMMUTABLE]; } // Message for requesting NFS share information. @@ -149,7 +191,7 @@ message ListNfsSharesResponse { repeated string unreachable = 3; } -// Message requesting to updating a NFS share. +// Message requesting to updating an NFS share. message UpdateNfsShareRequest { // Required. The NFS share to update. // @@ -160,5 +202,46 @@ message UpdateNfsShareRequest { // The list of fields to update. // The only currently supported fields are: // `labels` + // `allowed_clients` google.protobuf.FieldMask update_mask = 2; } + +// Message requesting rename of a server. +message RenameNfsShareRequest { + // Required. The `name` field is used to identify the nfsshare. + // Format: projects/{project}/locations/{location}/nfsshares/{nfsshare} + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "baremetalsolution.googleapis.com/NFSShare" + } + ]; + + // Required. The new `id` of the nfsshare. + string new_nfsshare_id = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// Message for creating an NFS share. +message CreateNfsShareRequest { + // Required. The parent project and location. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "locations.googleapis.com/Location" + } + ]; + + // Required. The NfsShare to create. + NfsShare nfs_share = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// Message for deleting an NFS share. +message DeleteNfsShareRequest { + // Required. The name of the NFS share to delete. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "baremetalsolution.googleapis.com/NFSShare" + } + ]; +} diff --git a/third_party/googleapis/google/cloud/baremetalsolution/v2/volume.proto b/third_party/googleapis/google/cloud/baremetalsolution/v2/volume.proto index 8920a6f15..8b732a38d 100644 --- a/third_party/googleapis/google/cloud/baremetalsolution/v2/volume.proto +++ b/third_party/googleapis/google/cloud/baremetalsolution/v2/volume.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,7 +18,9 @@ package google.cloud.baremetalsolution.v2; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/cloud/baremetalsolution/v2/common.proto"; import "google/protobuf/field_mask.proto"; +import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.BareMetalSolution.V2"; option go_package = "cloud.google.com/go/baremetalsolution/apiv2/baremetalsolutionpb;baremetalsolutionpb"; @@ -60,6 +62,13 @@ message Volume { // The storage volume has been requested to be deleted. DELETING = 3; + + // The storage volume is being updated. + UPDATING = 4; + + // The storage volume is in cool off state. It will be deleted after + // `expire_time`. + COOL_OFF = 5; } // Details about snapshot space reservation and usage on the storage volume. @@ -102,6 +111,31 @@ message Volume { NEWEST_FIRST = 3; } + // Storage protocol. + enum Protocol { + // Value is not specified. + PROTOCOL_UNSPECIFIED = 0; + + // Fibre Channel protocol. + FIBRE_CHANNEL = 1; + + // NFS protocol means Volume is a NFS Share volume. + // Such volumes cannot be manipulated via Volumes API. + NFS = 2; + } + + // The possible values for a workload profile. + enum WorkloadProfile { + // The workload profile is in an unknown state. + WORKLOAD_PROFILE_UNSPECIFIED = 0; + + // The workload profile is generic. + GENERIC = 1; + + // The workload profile is hana. + HANA = 2; + } + // Output only. The resource name of this `Volume`. // Resource names are schemeless URIs that follow the conventions in // https://cloud.google.com/apis/design/resource_names. @@ -121,6 +155,9 @@ message Volume { // The requested size of this storage volume, in GiB. int64 requested_size_gib = 4; + // Originally requested size, in GiB. + int64 originally_requested_size_gib = 16; + // The current size of this storage volume, in GiB, including space reserved // for snapshots. This size might be different than the requested size if the // storage volume has been configured with auto grow or auto shrink. @@ -130,6 +167,9 @@ message Volume { // current_size_gib includes this value. int64 emergency_size_gib = 14; + // Maximum size volume can be expanded to in case of evergency, in GiB. + int64 max_size_gib = 17; + // The size, in GiB, that this storage volume has expanded as a result of an // auto grow policy. In the absence of auto-grow, the value is 0. int64 auto_grown_size_gib = 6; @@ -152,6 +192,44 @@ message Volume { // Immutable. Pod name. string pod = 15 [(google.api.field_behavior) = IMMUTABLE]; + + // Output only. Storage protocol for the Volume. + Protocol protocol = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Whether this volume is a boot volume. A boot volume is one + // which contains a boot LUN. + bool boot_volume = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Immutable. Performance tier of the Volume. + // Default is SHARED. + VolumePerformanceTier performance_tier = 20 + [(google.api.field_behavior) = IMMUTABLE]; + + // Input only. User-specified notes for new Volume. + // Used to provision Volumes that require manual intervention. + string notes = 21 [(google.api.field_behavior) = INPUT_ONLY]; + + // The workload profile for the volume. + WorkloadProfile workload_profile = 22; + + // Output only. Time after which volume will be fully deleted. + // It is filled only for volumes in COOLOFF state. + google.protobuf.Timestamp expire_time = 24 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Instances this Volume is attached to. + // This field is set only in Get requests. + repeated string instances = 25 [ + (google.api.field_behavior) = OUTPUT_ONLY, + (google.api.resource_reference) = { + type: "baremetalsolution.googleapis.com/Instance" + } + ]; + + // Output only. Is the Volume attached at at least one instance. + // This field is a lightweight counterpart of `instances` field. + // It is filled in List responses as well. + bool attached = 26 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Message for requesting storage volume information. @@ -208,14 +286,36 @@ message UpdateVolumeRequest { // The list of fields to update. // The only currently supported fields are: - // `snapshot_auto_delete_behavior` - // `snapshot_schedule_policy_name` // 'labels' - // 'snapshot_enabled' - // 'snapshot_reservation_detail.reserved_space_percent' google.protobuf.FieldMask update_mask = 2; } +// Message requesting rename of a server. +message RenameVolumeRequest { + // Required. The `name` field is used to identify the volume. + // Format: projects/{project}/locations/{location}/volumes/{volume} + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "baremetalsolution.googleapis.com/Volume" + } + ]; + + // Required. The new `id` of the volume. + string new_volume_id = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// Request for skip volume cooloff and delete it. +message EvictVolumeRequest { + // Required. The name of the Volume. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "baremetalsolution.googleapis.com/Volume" + } + ]; +} + // Request for emergency resize Volume. message ResizeVolumeRequest { // Required. Volume to resize. diff --git a/third_party/googleapis/google/cloud/batch/BUILD.bazel b/third_party/googleapis/google/cloud/batch/BUILD.bazel index ab30882b2..e9ec01a81 100644 --- a/third_party/googleapis/google/cloud/batch/BUILD.bazel +++ b/third_party/googleapis/google/cloud/batch/BUILD.bazel @@ -23,10 +23,11 @@ ruby_cloud_gapic_library( "ruby-cloud-api-id=batch.googleapis.com", "ruby-cloud-api-shortname=batch", "ruby-cloud-gem-name=google-cloud-batch", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.15", ], ruby_cloud_description = "Google Cloud Batch is a fully managed service used by scientists, VFX artists, developers to easily and efficiently run batch workloads on Google Cloud. This service manages provisioning of resources to satisfy the requirements of the batch jobs for a variety of workloads including ML, HPC, VFX rendering, transcoding, genomics and others.", ruby_cloud_title = "Batch", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/batch/v1/BUILD.bazel b/third_party/googleapis/google/cloud/batch/v1/BUILD.bazel index 5141d69a3..0d9c9eb89 100644 --- a/third_party/googleapis/google/cloud/batch/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/batch/v1/BUILD.bazel @@ -30,6 +30,7 @@ proto_library( "//google/api:annotations_proto", "//google/api:client_proto", "//google/api:field_behavior_proto", + "//google/api:field_info_proto", "//google/api:resource_proto", "//google/longrunning:operations_proto", "@com_google_protobuf//:duration_proto", @@ -122,7 +123,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -142,7 +142,7 @@ go_gapic_library( grpc_service_config = "batch_v1_grpc_service_config.json", importpath = "cloud.google.com/go/batch/apiv1;batch", metadata = True, - release_level = "beta", + release_level = "ga", rest_numeric_enums = True, service_yaml = "batch_v1.yaml", transport = "grpc+rest", @@ -157,19 +157,13 @@ go_gapic_library( ], ) -go_test( - name = "batch_go_gapic_test", - srcs = [":batch_go_gapic_srcjar_test"], - embed = [":batch_go_gapic"], - importpath = "cloud.google.com/go/batch/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-batch-v1-go", deps = [ ":batch_go_gapic", ":batch_go_gapic_srcjar-metadata.srcjar", + ":batch_go_gapic_srcjar-snippets.srcjar", ":batch_go_gapic_srcjar-test.srcjar", ":batch_go_proto", ], @@ -222,7 +216,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -231,23 +224,15 @@ php_proto_library( deps = [":batch_proto"], ) -php_grpc_library( - name = "batch_php_grpc", - srcs = [":batch_proto"], - deps = [":batch_php_proto"], -) - php_gapic_library( name = "batch_php_gapic", srcs = [":batch_proto_with_info"], grpc_service_config = "batch_v1_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "batch_v1.yaml", transport = "grpc+rest", - deps = [ - ":batch_php_grpc", - ":batch_php_proto", - ], + deps = [":batch_php_proto"], ) # Open Source Packages @@ -255,7 +240,6 @@ php_gapic_assembly_pkg( name = "google-cloud-batch-v1-php", deps = [ ":batch_php_gapic", - ":batch_php_grpc", ":batch_php_proto", ], ) @@ -325,6 +309,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Google Cloud Batch is a fully managed service used by scientists, VFX artists, developers to easily and efficiently run batch workloads on Google Cloud. This service manages provisioning of resources to satisfy the requirements of the batch jobs for a variety of workloads including ML, HPC, VFX rendering, transcoding, genomics and others.", ruby_cloud_title = "Batch V1", service_yaml = "batch_v1.yaml", + transport = "grpc+rest", deps = [ ":batch_ruby_grpc", ":batch_ruby_proto", diff --git a/third_party/googleapis/google/cloud/batch/v1/batch.proto b/third_party/googleapis/google/cloud/batch/v1/batch.proto index 4e2e0d9c3..443f14ac5 100644 --- a/third_party/googleapis/google/cloud/batch/v1/batch.proto +++ b/third_party/googleapis/google/cloud/batch/v1/batch.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -19,6 +19,7 @@ package google.cloud.batch.v1; import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; +import "google/api/field_info.proto"; import "google/api/resource.proto"; import "google/cloud/batch/v1/job.proto"; import "google/cloud/batch/v1/task.proto"; @@ -177,6 +178,10 @@ message ListJobsRequest { // List filter. string filter = 4; + // Optional. Sort results. Supported are "name", "name desc", "create_time", + // and "create_time desc". + string order_by = 5 [(google.api.field_behavior) = OPTIONAL]; + // Page size. int32 page_size = 2; diff --git a/third_party/googleapis/google/cloud/batch/v1/batch_v1.yaml b/third_party/googleapis/google/cloud/batch/v1/batch_v1.yaml index f934d6334..e6125f736 100644 --- a/third_party/googleapis/google/cloud/batch/v1/batch_v1.yaml +++ b/third_party/googleapis/google/cloud/batch/v1/batch_v1.yaml @@ -13,7 +13,7 @@ types: documentation: summary: An API to manage the running of batch jobs on Google Cloud Platform. - overview: '(== google/cloud/batch/doc/overview.md ==)' + overview: '(include == google/cloud/batch/doc/overview.md ==)' rules: - selector: google.cloud.location.Locations.GetLocation description: Gets information about a location. @@ -21,17 +21,6 @@ documentation: - selector: google.cloud.location.Locations.ListLocations description: Lists information about the supported locations for this service. -backend: - rules: - - selector: 'google.cloud.batch.v1.BatchService.*' - deadline: 60.0 - - selector: google.cloud.location.Locations.GetLocation - deadline: 60.0 - - selector: google.cloud.location.Locations.ListLocations - deadline: 60.0 - - selector: 'google.longrunning.Operations.*' - deadline: 60.0 - http: rules: - selector: google.cloud.location.Locations.GetLocation @@ -66,13 +55,3 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform - -publishing: - organization: CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED - new_issue_uri: '' - documentation_uri: '' - api_short_name: '' - github_label: '' - doc_tag_prefix: '' - codeowner_github_teams: - library_settings: diff --git a/third_party/googleapis/google/cloud/batch/v1/batch_v1_grpc_service_config.json b/third_party/googleapis/google/cloud/batch/v1/batch_v1_grpc_service_config.json index 718129c28..4cb79a490 100644 --- a/third_party/googleapis/google/cloud/batch/v1/batch_v1_grpc_service_config.json +++ b/third_party/googleapis/google/cloud/batch/v1/batch_v1_grpc_service_config.json @@ -18,7 +18,8 @@ { "name": [ { "service": "google.cloud.batch.v1.BatchService", "method": "CreateJob" }, - { "service": "google.cloud.batch.v1.BatchService", "method": "DeleteJob" } + { "service": "google.cloud.batch.v1.BatchService", "method": "DeleteJob" }, + { "service": "google.cloud.batch.v1.BatchService", "method": "CancelJob"} ], "timeout": "60s" }] diff --git a/third_party/googleapis/google/cloud/batch/v1/job.proto b/third_party/googleapis/google/cloud/batch/v1/job.proto index d41b2e1fe..7d97e5cc0 100644 --- a/third_party/googleapis/google/cloud/batch/v1/job.proto +++ b/third_party/googleapis/google/cloud/batch/v1/job.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -91,6 +91,21 @@ message Job { // LogsPolicy describes how outputs from a Job's Tasks (stdout/stderr) will be // preserved. message LogsPolicy { + // `CloudLoggingOption` contains additional settings for Cloud Logging logs + // generated by Batch job. + message CloudLoggingOption { + // Optional. Set this flag to true to change the [monitored resource + // type](https://cloud.google.com/monitoring/api/resources) for + // Cloud Logging logs generated by this Batch job from + // the + // [`batch.googleapis.com/Job`](https://cloud.google.com/monitoring/api/resources#tag_batch.googleapis.com/Job) + // type to the formerly used + // [`generic_task`](https://cloud.google.com/monitoring/api/resources#tag_generic_task) + // type. + bool use_generic_task_monitored_resource = 1 + [(google.api.field_behavior) = OPTIONAL]; + } + // The destination (if any) for logs. enum Destination { // Logs are not preserved. @@ -110,6 +125,11 @@ message LogsPolicy { // local file path on the VM, or under the mount point of a Persistent Disk or // Filestore, or a Cloud Storage path. string logs_path = 2; + + // Optional. Additional settings for Cloud Logging. It will only take effect + // when the destination of `LogsPolicy` is set to `CLOUD_LOGGING`. + CloudLoggingOption cloud_logging_option = 3 + [(google.api.field_behavior) = OPTIONAL]; } // Job status. @@ -141,6 +161,7 @@ message JobStatus { // Valid Job states. enum State { + // Job state unspecified. STATE_UNSPECIFIED = 0; // Job is admitted (validated and persisted) and waiting for resources. @@ -183,8 +204,12 @@ message JobStatus { // Notification configurations. message JobNotification { // Message details. - // Describe the attribute that a message should have. - // Without specified message attributes, no message will be sent by default. + // Describe the conditions under which messages will be sent. + // If no attribute is defined, no message will be sent by default. + // One message should specify either the job or the task level attributes, + // but not both. For example, + // job level: JOB_STATE_CHANGED and/or a specified new_job_state; + // task level: TASK_STATE_CHANGED and/or a specified new_task_state. message Message { // The message type. Type type = 1; @@ -209,8 +234,8 @@ message JobNotification { } // The Pub/Sub topic where notifications like the job state changes - // will be published. This topic exist in the same project as the job - // and billings will be charged to this project. + // will be published. The topic must exist in the same project as + // the job and billings will be charged to this project. // If not specified, no Pub/Sub messages will be sent. // Topic format: `projects/{project}/topics/{topic}`. string pubsub_topic = 1; @@ -225,12 +250,14 @@ message JobNotification { message AllocationPolicy { message LocationPolicy { // A list of allowed location names represented by internal URLs. + // // Each location can be a region or a zone. // Only one region or multiple zones in one region is supported now. // For example, // ["regions/us-central1"] allow VMs in any zones in region us-central1. // ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs // in zones us-central1-a and us-central1-c. + // // All locations end up in different regions would cause errors. // For example, // ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", @@ -241,25 +268,31 @@ message AllocationPolicy { // A new persistent disk or a local ssd. // A VM can only have one local SSD setting but multiple local SSD partitions. - // https://cloud.google.com/compute/docs/disks#pdspecs. + // See https://cloud.google.com/compute/docs/disks#pdspecs and // https://cloud.google.com/compute/docs/disks#localssds. message Disk { // A data source from which a PD will be created. oneof data_source { - // Name of a public or custom image used as the data source. + // URL for a VM image to use as the data source for this disk. // For example, the following are all valid URLs: - // (1) Specify the image by its family name: + // + // * Specify the image by its family name: // projects/{project}/global/images/family/{image_family} - // (2) Specify the image version: + // * Specify the image version: // projects/{project}/global/images/{image_version} + // // You can also use Batch customized image in short names. // The following image values are supported for a boot disk: - // "batch-debian": use Batch Debian images. - // "batch-centos": use Batch CentOS images. - // "batch-cos": use Batch Container-Optimized images. + // + // * `batch-debian`: use Batch Debian images. + // * `batch-centos`: use Batch CentOS images. + // * `batch-cos`: use Batch Container-Optimized images. + // * `batch-hpc-centos`: use Batch HPC CentOS images. + // * `batch-hpc-rocky`: use Batch HPC Rocky Linux images. string image = 4; // Name of a snapshot used as the data source. + // Snapshot is not supported as boot disk now. string snapshot = 5; } @@ -270,19 +303,31 @@ message AllocationPolicy { string type = 1; // Disk size in GB. - // For persistent disk, this field is ignored if `data_source` is `image` or - // `snapshot`. - // For local SSD, size_gb should be a multiple of 375GB, - // otherwise, the final size will be the next greater multiple of 375 GB. - // For boot disk, Batch will calculate the boot disk size based on source + // + // **Non-Boot Disk**: + // If the `type` specifies a persistent disk, this field + // is ignored if `data_source` is set as `image` or `snapshot`. + // If the `type` specifies a local SSD, this field should be a multiple of + // 375 GB, otherwise, the final size will be the next greater multiple of + // 375 GB. + // + // **Boot Disk**: + // Batch will calculate the boot disk size based on source // image and task requirements if you do not speicify the size. - // If both this field and the boot_disk_mib field in task spec's - // compute_resource are defined, Batch will only honor this field. + // If both this field and the `boot_disk_mib` field in task spec's + // `compute_resource` are defined, Batch will only honor this field. + // Also, this field should be no smaller than the source disk's + // size when the `data_source` is set as `snapshot` or `image`. + // For example, if you set an image as the `data_source` field and the + // image's default disk size 30 GB, you can only use this field to make the + // disk larger or equal to 30 GB. int64 size_gb = 2; // Local SSDs are available through both "SCSI" and "NVMe" interfaces. // If not indicated, "NVMe" will be the default one for local ssds. - // We only support "SCSI" for persistent disks now. + // This field is ignored for persistent disks as the interface is chosen + // automatically. See + // https://cloud.google.com/compute/docs/disks/persistent-disks#choose_an_interface. string disk_interface = 6; } @@ -314,6 +359,15 @@ message AllocationPolicy { // Deprecated: please use instances[0].install_gpu_drivers instead. bool install_gpu_drivers = 3 [deprecated = true]; + + // Optional. The NVIDIA GPU driver version that should be installed for this + // type. + // + // You can define the specific driver version such as "470.103.01", + // following the driver version requirements in + // https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver. + // Batch will install the specific accelerator driver if qualified. + string driver_version = 4 [(google.api.field_behavior) = OPTIONAL]; } // InstancePolicy describes an instance type and resources attached to each VM @@ -324,8 +378,7 @@ message AllocationPolicy { // The minimum CPU platform. // See - // `https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform`. - // Not yet implemented. + // https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform. string min_cpu_platform = 3; // The provisioning model. @@ -334,16 +387,27 @@ message AllocationPolicy { // The accelerators attached to each VM instance. repeated Accelerator accelerators = 5; - // Book disk to be created and attached to each VM by this InstancePolicy. + // Boot disk to be created and attached to each VM by this InstancePolicy. // Boot disk will be deleted when the VM is deleted. + // Batch API now only supports booting from image. Disk boot_disk = 8; // Non-boot disks to be attached for each VM created by this InstancePolicy. // New disks will be deleted when the VM is deleted. + // A non-boot disk is a disk that can be of a device with a + // file system or a raw storage drive that is not ready for data + // storage and accessing. repeated AttachedDisk disks = 6; + + // Optional. If specified, VMs will consume only the specified reservation. + // If not specified (default), VMs will consume any applicable reservation. + string reservation = 7 [(google.api.field_behavior) = OPTIONAL]; } - // Either an InstancePolicy or an instance template. + // InstancePolicyOrTemplate lets you define the type of resources to use for + // this job either with an InstancePolicy or an instance template. + // If undefined, Batch picks the type of VM to use and doesn't include + // optional VM resources such as GPUs and extra disks. message InstancePolicyOrTemplate { oneof policy_template { // InstancePolicy. @@ -359,6 +423,12 @@ message AllocationPolicy { // third party location and install them for GPUs specified in // policy.accelerators or instance_template on their behalf. Default is // false. + // + // For Container-Optimized Image cases, Batch will install the + // accelerator driver following milestones of + // https://cloud.google.com/container-optimized-os/docs/release-notes. For + // non Container-Optimized Image cases, following + // https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py. bool install_gpu_drivers = 3; } @@ -366,18 +436,22 @@ message AllocationPolicy { message NetworkInterface { // The URL of an existing network resource. // You can specify the network as a full or partial URL. + // // For example, the following are all valid URLs: - // https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} - // projects/{project}/global/networks/{network} - // global/networks/{network} + // + // * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} + // * projects/{project}/global/networks/{network} + // * global/networks/{network} string network = 1; // The URL of an existing subnetwork resource in the network. // You can specify the subnetwork as a full or partial URL. + // // For example, the following are all valid URLs: - // https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork} - // projects/{project}/regions/{region}/subnetworks/{subnetwork} - // regions/{region}/subnetworks/{subnetwork} + // + // * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork} + // * projects/{project}/regions/{region}/subnetworks/{subnetwork} + // * regions/{region}/subnetworks/{subnetwork} string subnetwork = 2; // Default is false (with an external IP address). Required if @@ -396,6 +470,23 @@ message AllocationPolicy { repeated NetworkInterface network_interfaces = 1; } + // PlacementPolicy describes a group placement policy for the VMs controlled + // by this AllocationPolicy. + message PlacementPolicy { + // UNSPECIFIED vs. COLLOCATED (default UNSPECIFIED). Use COLLOCATED when you + // want VMs to be located close to each other for low network latency + // between the VMs. No placement policy will be generated when collocation + // is UNSPECIFIED. + string collocation = 1; + + // When specified, causes the job to fail if more than max_distance logical + // switches are required between VMs. Batch uses the most compact possible + // placement of VMs even when max_distance is not specified. An explicit + // max_distance makes that level of compactness a strict requirement. + // Not yet implemented + int64 max_distance = 2; + } + // Compute Engine VM instance provisioning model. enum ProvisioningModel { // Unspecified. @@ -436,17 +527,45 @@ message AllocationPolicy { map labels = 6; // The network policy. + // + // If you define an instance template in the `InstancePolicyOrTemplate` field, + // Batch will use the network settings in the instance template instead of + // this field. NetworkPolicy network = 7; + + // The placement policy. + PlacementPolicy placement = 10; + + // Optional. Tags applied to the VM instances. + // + // The tags identify valid sources or targets for network firewalls. + // Each tag must be 1-63 characters long, and comply with + // [RFC1035](https://www.ietf.org/rfc/rfc1035.txt). + repeated string tags = 11 [(google.api.field_behavior) = OPTIONAL]; } -// A TaskGroup contains one or multiple Tasks that share the same -// Runnable but with different runtime parameters. +// A TaskGroup defines one or more Tasks that all share the same TaskSpec. message TaskGroup { option (google.api.resource) = { type: "batch.googleapis.com/TaskGroup" pattern: "projects/{project}/locations/{location}/jobs/{job}/taskGroups/{task_group}" }; + // How Tasks in the TaskGroup should be scheduled relative to each other. + enum SchedulingPolicy { + // Unspecified. + SCHEDULING_POLICY_UNSPECIFIED = 0; + + // Run Tasks as soon as resources are available. + // + // Tasks might be executed in parallel depending on parallelism and + // task_count values. + AS_SOON_AS_POSSIBLE = 1; + + // Run Tasks sequentially with increased task index. + IN_ORDER = 2; + } + // Output only. TaskGroup name. // The system generates this field based on parent Job name. // For example: @@ -457,13 +576,19 @@ message TaskGroup { TaskSpec task_spec = 3 [(google.api.field_behavior) = REQUIRED]; // Number of Tasks in the TaskGroup. - // default is 1 + // Default is 1. int64 task_count = 4; // Max number of tasks that can run in parallel. - // Default to min(task_count, 1000). + // Default to min(task_count, parallel tasks per job limit). + // See: [Job Limits](https://cloud.google.com/batch/quotas#job_limits). + // Field parallelism must be 1 if the scheduling_policy is IN_ORDER. int64 parallelism = 5; + // Scheduling policy for Tasks in the TaskGroup. + // The default value is AS_SOON_AS_POSSIBLE. + SchedulingPolicy scheduling_policy = 6; + // An array of environment variable mappings, which are passed to Tasks with // matching indices. If task_environments is used then task_count should // not be specified in the request (and will be ignored). Task count will be @@ -473,8 +598,6 @@ message TaskGroup { // addition to any environment variables set in task_environments, specifying // the number of Tasks in the Task's parent TaskGroup, and the specific Task's // index in the TaskGroup (0 through BATCH_TASK_COUNT - 1). - // - // task_environments supports up to 200 entries. repeated Environment task_environments = 9; // Max number of tasks that can be run on a VM at the same time. @@ -490,6 +613,12 @@ message TaskGroup { // When true, Batch will configure SSH to allow passwordless login between // VMs running the Batch tasks in the same TaskGroup. bool permissive_ssh = 12; + + // Optional. If not set or set to false, Batch will use root user to execute + // runnables. If set to true, Batch will make sure to run the runnables using + // non-root user. Currently, the non-root user Batch used is generated by OS + // login. Reference: https://cloud.google.com/compute/docs/oslogin + bool run_as_non_root = 14 [(google.api.field_behavior) = OPTIONAL]; } // Carries information about a Google Cloud service account. diff --git a/third_party/googleapis/google/cloud/batch/v1/task.proto b/third_party/googleapis/google/cloud/batch/v1/task.proto index a4d4ba45c..1f97a0000 100644 --- a/third_party/googleapis/google/cloud/batch/v1/task.proto +++ b/third_party/googleapis/google/cloud/batch/v1/task.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,6 +16,7 @@ syntax = "proto3"; package google.cloud.batch.v1; +import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/batch/v1/volume.proto"; import "google/protobuf/duration.proto"; @@ -30,12 +31,50 @@ option objc_class_prefix = "GCB"; option php_namespace = "Google\\Cloud\\Batch\\V1"; option ruby_package = "Google::Cloud::Batch::V1"; -// Compute resource requirements +// Compute resource requirements. +// +// ComputeResource defines the amount of resources required for each task. +// Make sure your tasks have enough resources to successfully run. +// If you also define the types of resources for a job to use with the +// [InstancePolicyOrTemplate](https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicyortemplate) +// field, make sure both fields are compatible with each other. message ComputeResource { // The milliCPU count. + // + // `cpuMilli` defines the amount of CPU resources per task in milliCPU units. + // For example, `1000` corresponds to 1 vCPU per task. If undefined, the + // default value is `2000`. + // + // If you also define the VM's machine type using the `machineType` in + // [InstancePolicy](https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicy) + // field or inside the `instanceTemplate` in the + // [InstancePolicyOrTemplate](https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicyortemplate) + // field, make sure the CPU resources for both fields are compatible with each + // other and with how many tasks you want to allow to run on the same VM at + // the same time. + // + // For example, if you specify the `n2-standard-2` machine type, which has 2 + // vCPUs each, you are recommended to set `cpuMilli` no more than `2000`, or + // you are recommended to run two tasks on the same VM if you set `cpuMilli` + // to `1000` or less. int64 cpu_milli = 1; // Memory in MiB. + // + // `memoryMib` defines the amount of memory per task in MiB units. + // If undefined, the default value is `2000`. + // If you also define the VM's machine type using the `machineType` in + // [InstancePolicy](https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicy) + // field or inside the `instanceTemplate` in the + // [InstancePolicyOrTemplate](https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicyortemplate) + // field, make sure the memory resources for both fields are compatible with + // each other and with how many tasks you want to allow to run on the same VM + // at the same time. + // + // For example, if you specify the `n2-standard-2` machine type, which has 8 + // GiB each, you are recommended to set `memoryMib` to no more than `8192`, + // or you are recommended to run two tasks on the same VM if you set + // `memoryMib` to `4096` or less. int64 memory_mib = 2; // Extra boot disk size in MiB for each task. @@ -72,7 +111,7 @@ message TaskExecution { message TaskStatus { // Task states. enum State { - // unknown state + // Unknown state. STATE_UNSPECIFIED = 0; // The Task is created and waiting for resources. @@ -89,6 +128,9 @@ message TaskStatus { // The Task has succeeded. SUCCEEDED = 5; + + // The Task has not been executed when the Job finishes. + UNEXECUTED = 6; } // Task state @@ -117,6 +159,14 @@ message Runnable { // Volumes to mount (bind mount) from the host machine files or directories // into the container, formatted to match docker run's --volume option, // e.g. /foo:/bar, or /foo:/bar:ro + // + // If the `TaskSpec.Volumes` field is specified but this field is not, Batch + // will mount each volume from the host machine to the container with the + // same mount path by default. In this case, the default mount option for + // containers will be read-only (ro) for existing persistent disks and + // read-write (rw) for other volume types, regardless of the original mount + // options specified in `TaskSpec.Volumes`. If you need different mount + // settings, you can explicitly configure them in this field. repeated string volumes = 7; // Arbitrary additional options to include in the "docker run" command when @@ -124,8 +174,9 @@ message Runnable { string options = 8; // If set to true, external network access to and from container will be - // blocked. The container will use the default internal network - // 'goog-internal'. + // blocked, containers that are with block_external_network as true can + // still communicate with each other, network cannot be specified in the + // `container.options` field. bool block_external_network = 9; // Optional username for logging in to a docker registry. If username @@ -137,6 +188,25 @@ message Runnable { // matches `projects/*/secrets/*/versions/*` then Batch will read the // password from the Secret Manager; string password = 11; + + // Optional. If set to true, this container runnable uses Image streaming. + // + // Use Image streaming to allow the runnable to initialize without + // waiting for the entire container image to download, which can + // significantly reduce startup time for large container images. + // + // When `enableImageStreaming` is set to true, the container + // runtime is [containerd](https://containerd.io/) instead of Docker. + // Additionally, this container runnable only supports the following + // `container` subfields: `imageUri`, + // `commands[]`, `entrypoint`, and + // `volumes[]`; any other `container` subfields are ignored. + // + // For more information about the requirements and limitations for using + // Image streaming with Batch, see the [`image-streaming` + // sample on + // GitHub](https://github.com/GoogleCloudPlatform/batch-samples/tree/main/api-samples/image-streaming). + bool enable_image_streaming = 12 [(google.api.field_behavior) = OPTIONAL]; } // Script runnable. @@ -183,6 +253,12 @@ message Runnable { Barrier barrier = 6; } + // Optional. DisplayName is an optional field that can be provided by the + // caller. If provided, it will be used in logs and other outputs to identify + // the script, making it easier for users to understand the logs. If not + // provided the index of the runnable will be used for outputs. + string display_name = 10 [(google.api.field_behavior) = OPTIONAL]; + // Normally, a non-zero exit status causes the Task to fail. This flag allows // execution of other Runnables to continue instead. bool ignore_exit_status = 3; @@ -208,6 +284,9 @@ message Runnable { // Timeout for this Runnable. google.protobuf.Duration timeout = 8; + + // Labels for this Runnable. + map labels = 9; } // Spec of a task diff --git a/third_party/googleapis/google/cloud/batch/v1/volume.proto b/third_party/googleapis/google/cloud/batch/v1/volume.proto index 77413de82..8447d992c 100644 --- a/third_party/googleapis/google/cloud/batch/v1/volume.proto +++ b/third_party/googleapis/google/cloud/batch/v1/volume.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/batch/v1alpha/BUILD.bazel b/third_party/googleapis/google/cloud/batch/v1alpha/BUILD.bazel index 351edd5e5..f7a81f519 100644 --- a/third_party/googleapis/google/cloud/batch/v1alpha/BUILD.bazel +++ b/third_party/googleapis/google/cloud/batch/v1alpha/BUILD.bazel @@ -30,6 +30,7 @@ proto_library( "//google/api:annotations_proto", "//google/api:client_proto", "//google/api:field_behavior_proto", + "//google/api:field_info_proto", "//google/api:resource_proto", "//google/longrunning:operations_proto", "@com_google_protobuf//:duration_proto", @@ -44,7 +45,6 @@ proto_library_with_info( ":batch_proto", "//google/cloud:common_resources_proto", "//google/cloud/location:location_proto", - "//google/iam/v1:iam_policy_proto", ], ) @@ -81,14 +81,12 @@ java_gapic_library( test_deps = [ ":batch_java_grpc", "//google/cloud/location:location_java_grpc", - "//google/iam/v1:iam_java_grpc", ], transport = "grpc+rest", deps = [ ":batch_java_proto", "//google/api:api_java_proto", "//google/cloud/location:location_java_proto", - "//google/iam/v1:iam_java_proto", ], ) @@ -122,7 +120,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -149,7 +146,6 @@ go_gapic_library( deps = [ ":batch_go_proto", "//google/cloud/location:location_go_proto", - "//google/iam/v1:iam_go_proto", "//google/longrunning:longrunning_go_proto", "@com_google_cloud_go_longrunning//:go_default_library", "@com_google_cloud_go_longrunning//autogen:go_default_library", @@ -157,19 +153,13 @@ go_gapic_library( ], ) -go_test( - name = "batch_go_gapic_test", - srcs = [":batch_go_gapic_srcjar_test"], - embed = [":batch_go_gapic"], - importpath = "cloud.google.com/go/batch/apiv1alpha", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-batch-v1alpha-go", deps = [ ":batch_go_gapic", ":batch_go_gapic_srcjar-metadata.srcjar", + ":batch_go_gapic_srcjar-snippets.srcjar", ":batch_go_gapic_srcjar-test.srcjar", ":batch_go_proto", ], @@ -193,7 +183,6 @@ py_gapic_library( service_yaml = "batch_v1alpha.yaml", transport = "grpc+rest", deps = [ - "//google/iam/v1:iam_policy_py_proto", ], ) @@ -222,7 +211,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -231,21 +219,15 @@ php_proto_library( deps = [":batch_proto"], ) -php_grpc_library( - name = "batch_php_grpc", - srcs = [":batch_proto"], - deps = [":batch_php_proto"], -) - php_gapic_library( name = "batch_php_gapic", srcs = [":batch_proto_with_info"], grpc_service_config = "batch_v1alpha_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "batch_v1alpha.yaml", transport = "grpc+rest", deps = [ - ":batch_php_grpc", ":batch_php_proto", ], ) @@ -255,7 +237,6 @@ php_gapic_assembly_pkg( name = "google-cloud-batch-v1alpha-php", deps = [ ":batch_php_gapic", - ":batch_php_grpc", ":batch_php_proto", ], ) @@ -325,6 +306,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Google Cloud Batch is a fully managed service used by scientists, VFX artists, developers to easily and efficiently run batch workloads on Google Cloud. This service manages provisioning of resources to satisfy the requirements of the batch jobs for a variety of workloads including ML, HPC, VFX rendering, transcoding, genomics and others.", ruby_cloud_title = "Batch V1alpha", service_yaml = "batch_v1alpha.yaml", + transport = "grpc+rest", deps = [ ":batch_ruby_grpc", ":batch_ruby_proto", @@ -354,6 +336,7 @@ load( csharp_proto_library( name = "batch_csharp_proto", + extra_opts = [], deps = [":batch_proto"], ) diff --git a/third_party/googleapis/google/cloud/batch/v1alpha/batch.proto b/third_party/googleapis/google/cloud/batch/v1alpha/batch.proto index d26b4c9e5..05d0dff30 100644 --- a/third_party/googleapis/google/cloud/batch/v1alpha/batch.proto +++ b/third_party/googleapis/google/cloud/batch/v1alpha/batch.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -19,6 +19,7 @@ package google.cloud.batch.v1alpha; import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; +import "google/api/field_info.proto"; import "google/api/resource.proto"; import "google/cloud/batch/v1alpha/job.proto"; import "google/cloud/batch/v1alpha/task.proto"; @@ -177,6 +178,10 @@ message ListJobsRequest { // List filter. string filter = 4; + // Optional. Sort results. Supported are "name", "name desc", "create_time", + // and "create_time desc". + string order_by = 5 [(google.api.field_behavior) = OPTIONAL]; + // Page size. int32 page_size = 2; @@ -211,6 +216,9 @@ message ListTasksRequest { // State=RUNNING string filter = 2; + // Not implemented. + string order_by = 5; + // Page size. int32 page_size = 3; diff --git a/third_party/googleapis/google/cloud/batch/v1alpha/batch_v1alpha.yaml b/third_party/googleapis/google/cloud/batch/v1alpha/batch_v1alpha.yaml index af92e184b..dab6826a9 100644 --- a/third_party/googleapis/google/cloud/batch/v1alpha/batch_v1alpha.yaml +++ b/third_party/googleapis/google/cloud/batch/v1alpha/batch_v1alpha.yaml @@ -13,7 +13,7 @@ types: documentation: summary: An API to manage the running of batch jobs on Google Cloud Platform. - overview: '(== google/cloud/batch/doc/overview.md ==)' + overview: '(include == google/cloud/batch/doc/overview.md ==)' rules: - selector: google.cloud.location.Locations.GetLocation description: Gets information about a location. @@ -21,17 +21,6 @@ documentation: - selector: google.cloud.location.Locations.ListLocations description: Lists information about the supported locations for this service. -backend: - rules: - - selector: 'google.cloud.batch.v1alpha.BatchService.*' - deadline: 60.0 - - selector: google.cloud.location.Locations.GetLocation - deadline: 60.0 - - selector: google.cloud.location.Locations.ListLocations - deadline: 60.0 - - selector: 'google.longrunning.Operations.*' - deadline: 60.0 - http: rules: - selector: google.cloud.location.Locations.GetLocation @@ -66,13 +55,3 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform - -publishing: - organization: CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED - new_issue_uri: '' - documentation_uri: '' - api_short_name: '' - github_label: '' - doc_tag_prefix: '' - codeowner_github_teams: - library_settings: diff --git a/third_party/googleapis/google/cloud/batch/v1alpha/batch_v1alpha_grpc_service_config.json b/third_party/googleapis/google/cloud/batch/v1alpha/batch_v1alpha_grpc_service_config.json index 12e2097f4..b68939fad 100644 --- a/third_party/googleapis/google/cloud/batch/v1alpha/batch_v1alpha_grpc_service_config.json +++ b/third_party/googleapis/google/cloud/batch/v1alpha/batch_v1alpha_grpc_service_config.json @@ -18,7 +18,8 @@ { "name": [ { "service": "google.cloud.batch.v1alpha.BatchService", "method": "CreateJob" }, - { "service": "google.cloud.batch.v1alpha.BatchService", "method": "DeleteJob" } + { "service": "google.cloud.batch.v1alpha.BatchService", "method": "DeleteJob" }, + { "service": "google.cloud.batch.v1alpha.BatchService", "method": "CancelJob"} ], "timeout": "60s" }] diff --git a/third_party/googleapis/google/cloud/batch/v1alpha/job.proto b/third_party/googleapis/google/cloud/batch/v1alpha/job.proto index 8edd462ea..d5461738a 100644 --- a/third_party/googleapis/google/cloud/batch/v1alpha/job.proto +++ b/third_party/googleapis/google/cloud/batch/v1alpha/job.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -114,6 +114,21 @@ message Job { // LogsPolicy describes how outputs from a Job's Tasks (stdout/stderr) will be // preserved. message LogsPolicy { + // `CloudLoggingOption` contains additional settings for Cloud Logging logs + // generated by Batch job. + message CloudLoggingOption { + // Optional. Set this flag to true to change the [monitored resource + // type](https://cloud.google.com/monitoring/api/resources) for + // Cloud Logging logs generated by this Batch job from + // the + // [`batch.googleapis.com/Job`](https://cloud.google.com/monitoring/api/resources#tag_batch.googleapis.com/Job) + // type to the formerly used + // [`generic_task`](https://cloud.google.com/monitoring/api/resources#tag_generic_task) + // type. + bool use_generic_task_monitored_resource = 1 + [(google.api.field_behavior) = OPTIONAL]; + } + // The destination (if any) for logs. enum Destination { // Logs are not preserved. @@ -133,6 +148,11 @@ message LogsPolicy { // local file path on the VM, or under the mount point of a Persistent Disk or // Filestore, or a Cloud Storage path. string logs_path = 2; + + // Optional. Additional settings for Cloud Logging. It will only take effect + // when the destination of `LogsPolicy` is set to `CLOUD_LOGGING`. + CloudLoggingOption cloud_logging_option = 3 + [(google.api.field_behavior) = OPTIONAL]; } // JobDependency describes the state of other Jobs that the start of this Job @@ -191,6 +211,7 @@ message JobStatus { // Valid Job states. enum State { + // Job state unspecified. STATE_UNSPECIFIED = 0; // Job is admitted (validated and persisted) and waiting for resources. @@ -242,8 +263,12 @@ message ResourceUsage { // Notification configurations. message JobNotification { // Message details. - // Describe the attribute that a message should have. - // Without specified message attributes, no message will be sent by default. + // Describe the conditions under which messages will be sent. + // If no attribute is defined, no message will be sent by default. + // One message should specify either the job or the task level attributes, + // but not both. For example, + // job level: JOB_STATE_CHANGED and/or a specified new_job_state; + // task level: TASK_STATE_CHANGED and/or a specified new_task_state. message Message { // The message type. Type type = 1; @@ -268,8 +293,8 @@ message JobNotification { } // The Pub/Sub topic where notifications like the job state changes - // will be published. This topic exist in the same project as the job - // and billings will be charged to this project. + // will be published. The topic must exist in the same project as + // the job and billings will be charged to this project. // If not specified, no Pub/Sub messages will be sent. // Topic format: `projects/{project}/topics/{topic}`. string pubsub_topic = 1; @@ -284,12 +309,14 @@ message JobNotification { message AllocationPolicy { message LocationPolicy { // A list of allowed location names represented by internal URLs. + // // Each location can be a region or a zone. // Only one region or multiple zones in one region is supported now. // For example, // ["regions/us-central1"] allow VMs in any zones in region us-central1. // ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs // in zones us-central1-a and us-central1-c. + // // All locations end up in different regions would cause errors. // For example, // ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", @@ -305,25 +332,31 @@ message AllocationPolicy { // A new persistent disk or a local ssd. // A VM can only have one local SSD setting but multiple local SSD partitions. - // https://cloud.google.com/compute/docs/disks#pdspecs. + // See https://cloud.google.com/compute/docs/disks#pdspecs and // https://cloud.google.com/compute/docs/disks#localssds. message Disk { // A data source from which a PD will be created. oneof data_source { - // Name of a public or custom image used as the data source. + // URL for a VM image to use as the data source for this disk. // For example, the following are all valid URLs: - // (1) Specify the image by its family name: + // + // * Specify the image by its family name: // projects/{project}/global/images/family/{image_family} - // (2) Specify the image version: + // * Specify the image version: // projects/{project}/global/images/{image_version} + // // You can also use Batch customized image in short names. // The following image values are supported for a boot disk: - // "batch-debian": use Batch Debian images. - // "batch-centos": use Batch CentOS images. - // "batch-cos": use Batch Container-Optimized images. + // + // * `batch-debian`: use Batch Debian images. + // * `batch-centos`: use Batch CentOS images. + // * `batch-cos`: use Batch Container-Optimized images. + // * `batch-hpc-centos`: use Batch HPC CentOS images. + // * `batch-hpc-rocky`: use Batch HPC Rocky Linux images. string image = 4; // Name of a snapshot used as the data source. + // Snapshot is not supported as boot disk now. string snapshot = 5; } @@ -334,19 +367,31 @@ message AllocationPolicy { string type = 1; // Disk size in GB. - // For persistent disk, this field is ignored if `data_source` is `image` or - // `snapshot`. - // For local SSD, size_gb should be a multiple of 375GB, - // otherwise, the final size will be the next greater multiple of 375 GB. - // For boot disk, Batch will calculate the boot disk size based on source + // + // **Non-Boot Disk**: + // If the `type` specifies a persistent disk, this field + // is ignored if `data_source` is set as `image` or `snapshot`. + // If the `type` specifies a local SSD, this field should be a multiple of + // 375 GB, otherwise, the final size will be the next greater multiple of + // 375 GB. + // + // **Boot Disk**: + // Batch will calculate the boot disk size based on source // image and task requirements if you do not speicify the size. - // If both this field and the boot_disk_mib field in task spec's - // compute_resource are defined, Batch will only honor this field. + // If both this field and the `boot_disk_mib` field in task spec's + // `compute_resource` are defined, Batch will only honor this field. + // Also, this field should be no smaller than the source disk's + // size when the `data_source` is set as `snapshot` or `image`. + // For example, if you set an image as the `data_source` field and the + // image's default disk size 30 GB, you can only use this field to make the + // disk larger or equal to 30 GB. int64 size_gb = 2; // Local SSDs are available through both "SCSI" and "NVMe" interfaces. // If not indicated, "NVMe" will be the default one for local ssds. - // We only support "SCSI" for persistent disks now. + // This field is ignored for persistent disks as the interface is chosen + // automatically. See + // https://cloud.google.com/compute/docs/disks/persistent-disks#choose_an_interface. string disk_interface = 6; } @@ -378,6 +423,15 @@ message AllocationPolicy { // Deprecated: please use instances[0].install_gpu_drivers instead. bool install_gpu_drivers = 3 [deprecated = true]; + + // Optional. The NVIDIA GPU driver version that should be installed for this + // type. + // + // You can define the specific driver version such as "470.103.01", + // following the driver version requirements in + // https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver. + // Batch will install the specific accelerator driver if qualified. + string driver_version = 4 [(google.api.field_behavior) = OPTIONAL]; } // InstancePolicy describes an instance type and resources attached to each VM @@ -391,8 +445,7 @@ message AllocationPolicy { // The minimum CPU platform. // See - // `https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform`. - // Not yet implemented. + // https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform. string min_cpu_platform = 3; // The provisioning model. @@ -401,19 +454,27 @@ message AllocationPolicy { // The accelerators attached to each VM instance. repeated Accelerator accelerators = 5; - // Book disk to be created and attached to each VM by this InstancePolicy. + // Boot disk to be created and attached to each VM by this InstancePolicy. // Boot disk will be deleted when the VM is deleted. + // Batch API now only supports booting from image. Disk boot_disk = 8; // Non-boot disks to be attached for each VM created by this InstancePolicy. // New disks will be deleted when the VM is deleted. + // A non-boot disk is a disk that can be of a device with a + // file system or a raw storage drive that is not ready for data + // storage and accessing. repeated AttachedDisk disks = 6; - // If specified, VMs will be allocated only inside the matching reservation. - string reservation = 7; + // Optional. If specified, VMs will consume only the specified reservation. + // If not specified (default), VMs will consume any applicable reservation. + string reservation = 7 [(google.api.field_behavior) = OPTIONAL]; } - // Either an InstancePolicy or an instance template. + // InstancePolicyOrTemplate lets you define the type of resources to use for + // this job either with an InstancePolicy or an instance template. + // If undefined, Batch picks the type of VM to use and doesn't include + // optional VM resources such as GPUs and extra disks. message InstancePolicyOrTemplate { oneof policy_template { // InstancePolicy. @@ -429,6 +490,12 @@ message AllocationPolicy { // third party location and install them for GPUs specified in // policy.accelerators or instance_template on their behalf. Default is // false. + // + // For Container-Optimized Image cases, Batch will install the + // accelerator driver following milestones of + // https://cloud.google.com/container-optimized-os/docs/release-notes. For + // non Container-Optimized Image cases, following + // https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py. bool install_gpu_drivers = 3; } @@ -436,18 +503,22 @@ message AllocationPolicy { message NetworkInterface { // The URL of an existing network resource. // You can specify the network as a full or partial URL. + // // For example, the following are all valid URLs: - // https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} - // projects/{project}/global/networks/{network} - // global/networks/{network} + // + // * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network} + // * projects/{project}/global/networks/{network} + // * global/networks/{network} string network = 1; // The URL of an existing subnetwork resource in the network. // You can specify the subnetwork as a full or partial URL. + // // For example, the following are all valid URLs: - // https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork} - // projects/{project}/regions/{region}/subnetworks/{subnetwork} - // regions/{region}/subnetworks/{subnetwork} + // + // * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork} + // * projects/{project}/regions/{region}/subnetworks/{subnetwork} + // * regions/{region}/subnetworks/{subnetwork} string subnetwork = 2; // Default is false (with an external IP address). Required if @@ -466,6 +537,23 @@ message AllocationPolicy { repeated NetworkInterface network_interfaces = 1; } + // PlacementPolicy describes a group placement policy for the VMs controlled + // by this AllocationPolicy. + message PlacementPolicy { + // UNSPECIFIED vs. COLLOCATED (default UNSPECIFIED). Use COLLOCATED when you + // want VMs to be located close to each other for low network latency + // between the VMs. No placement policy will be generated when collocation + // is UNSPECIFIED. + string collocation = 1; + + // When specified, causes the job to fail if more than max_distance logical + // switches are required between VMs. Batch uses the most compact possible + // placement of VMs even when max_distance is not specified. An explicit + // max_distance makes that level of compactness a strict requirement. + // Not yet implemented + int64 max_distance = 2; + } + // Compute Engine VM instance provisioning model. enum ProvisioningModel { // Unspecified. @@ -518,11 +606,24 @@ message AllocationPolicy { map labels = 6; // The network policy. + // + // If you define an instance template in the `InstancePolicyOrTemplate` field, + // Batch will use the network settings in the instance template instead of + // this field. NetworkPolicy network = 7; + + // The placement policy. + PlacementPolicy placement = 10; + + // Optional. Tags applied to the VM instances. + // + // The tags identify valid sources or targets for network firewalls. + // Each tag must be 1-63 characters long, and comply with + // [RFC1035](https://www.ietf.org/rfc/rfc1035.txt). + repeated string tags = 11 [(google.api.field_behavior) = OPTIONAL]; } -// A TaskGroup contains one or multiple Tasks that share the same -// Runnable but with different runtime parameters. +// A TaskGroup defines one or more Tasks that all share the same TaskSpec. message TaskGroup { option (google.api.resource) = { type: "batch.googleapis.com/TaskGroup" @@ -535,7 +636,13 @@ message TaskGroup { SCHEDULING_POLICY_UNSPECIFIED = 0; // Run Tasks as soon as resources are available. + // + // Tasks might be executed in parallel depending on parallelism and + // task_count values. AS_SOON_AS_POSSIBLE = 1; + + // Run Tasks sequentially with increased task index. + IN_ORDER = 2; } // Output only. TaskGroup name. @@ -548,14 +655,17 @@ message TaskGroup { TaskSpec task_spec = 3 [(google.api.field_behavior) = REQUIRED]; // Number of Tasks in the TaskGroup. - // default is 1 + // Default is 1. int64 task_count = 4; // Max number of tasks that can run in parallel. - // Default to min(task_count, 1000). + // Default to min(task_count, parallel tasks per job limit). + // See: [Job Limits](https://cloud.google.com/batch/quotas#job_limits). + // Field parallelism must be 1 if the scheduling_policy is IN_ORDER. int64 parallelism = 5; // Scheduling policy for Tasks in the TaskGroup. + // The default value is AS_SOON_AS_POSSIBLE. SchedulingPolicy scheduling_policy = 6; // Compute resource allocation for the TaskGroup. @@ -579,8 +689,6 @@ message TaskGroup { // addition to any environment variables set in task_environments, specifying // the number of Tasks in the Task's parent TaskGroup, and the specific Task's // index in the TaskGroup (0 through BATCH_TASK_COUNT - 1). - // - // task_environments supports up to 200 entries. repeated Environment task_environments = 9; // Max number of tasks that can be run on a VM at the same time. @@ -596,6 +704,12 @@ message TaskGroup { // When true, Batch will configure SSH to allow passwordless login between // VMs running the Batch tasks in the same TaskGroup. bool permissive_ssh = 12; + + // Optional. If not set or set to false, Batch will use root user to execute + // runnables. If set to true, Batch will make sure to run the runnables using + // non-root user. Currently, the non-root user Batch used is generated by OS + // login. Reference: https://cloud.google.com/compute/docs/oslogin + bool run_as_non_root = 14 [(google.api.field_behavior) = OPTIONAL]; } // Carries information about a Google Cloud service account. diff --git a/third_party/googleapis/google/cloud/batch/v1alpha/task.proto b/third_party/googleapis/google/cloud/batch/v1alpha/task.proto index 389694974..40c3128d7 100644 --- a/third_party/googleapis/google/cloud/batch/v1alpha/task.proto +++ b/third_party/googleapis/google/cloud/batch/v1alpha/task.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,6 +16,7 @@ syntax = "proto3"; package google.cloud.batch.v1alpha; +import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/batch/v1alpha/volume.proto"; import "google/protobuf/duration.proto"; @@ -30,12 +31,50 @@ option objc_class_prefix = "GCB"; option php_namespace = "Google\\Cloud\\Batch\\V1alpha"; option ruby_package = "Google::Cloud::Batch::V1alpha"; -// Compute resource requirements +// Compute resource requirements. +// +// ComputeResource defines the amount of resources required for each task. +// Make sure your tasks have enough resources to successfully run. +// If you also define the types of resources for a job to use with the +// [InstancePolicyOrTemplate](https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicyortemplate) +// field, make sure both fields are compatible with each other. message ComputeResource { // The milliCPU count. + // + // `cpuMilli` defines the amount of CPU resources per task in milliCPU units. + // For example, `1000` corresponds to 1 vCPU per task. If undefined, the + // default value is `2000`. + // + // If you also define the VM's machine type using the `machineType` in + // [InstancePolicy](https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicy) + // field or inside the `instanceTemplate` in the + // [InstancePolicyOrTemplate](https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicyortemplate) + // field, make sure the CPU resources for both fields are compatible with each + // other and with how many tasks you want to allow to run on the same VM at + // the same time. + // + // For example, if you specify the `n2-standard-2` machine type, which has 2 + // vCPUs each, you are recommended to set `cpuMilli` no more than `2000`, or + // you are recommended to run two tasks on the same VM if you set `cpuMilli` + // to `1000` or less. int64 cpu_milli = 1; // Memory in MiB. + // + // `memoryMib` defines the amount of memory per task in MiB units. + // If undefined, the default value is `2000`. + // If you also define the VM's machine type using the `machineType` in + // [InstancePolicy](https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicy) + // field or inside the `instanceTemplate` in the + // [InstancePolicyOrTemplate](https://cloud.google.com/batch/docs/reference/rest/v1/projects.locations.jobs#instancepolicyortemplate) + // field, make sure the memory resources for both fields are compatible with + // each other and with how many tasks you want to allow to run on the same VM + // at the same time. + // + // For example, if you specify the `n2-standard-2` machine type, which has 8 + // GiB each, you are recommended to set `memoryMib` to no more than `8192`, + // or you are recommended to run two tasks on the same VM if you set + // `memoryMib` to `4096` or less. int64 memory_mib = 2; // The GPU count. @@ -71,13 +110,17 @@ message TaskExecution { // When task is completed as the status of FAILED or SUCCEEDED, // exit code is for one task execution result, default is 0 as success. int32 exit_code = 1; + + // Optional. The tail end of any content written to standard error by the task + // execution. This field will be populated only when the execution failed. + string stderr_snippet = 2 [(google.api.field_behavior) = OPTIONAL]; } // Status of a task message TaskStatus { // Task states. enum State { - // unknown state + // Unknown state. STATE_UNSPECIFIED = 0; // The Task is created and waiting for resources. @@ -94,6 +137,9 @@ message TaskStatus { // The Task has succeeded. SUCCEEDED = 5; + + // The Task has not been executed when the Job finishes. + UNEXECUTED = 6; } // Task state @@ -132,6 +178,14 @@ message Runnable { // Volumes to mount (bind mount) from the host machine files or directories // into the container, formatted to match docker run's --volume option, // e.g. /foo:/bar, or /foo:/bar:ro + // + // If the `TaskSpec.Volumes` field is specified but this field is not, Batch + // will mount each volume from the host machine to the container with the + // same mount path by default. In this case, the default mount option for + // containers will be read-only (ro) for existing persistent disks and + // read-write (rw) for other volume types, regardless of the original mount + // options specified in `TaskSpec.Volumes`. If you need different mount + // settings, you can explicitly configure them in this field. repeated string volumes = 7; // Arbitrary additional options to include in the "docker run" command when @@ -139,8 +193,9 @@ message Runnable { string options = 8; // If set to true, external network access to and from container will be - // blocked. The container will use the default internal network - // 'goog-internal'. + // blocked, containers that are with block_external_network as true can + // still communicate with each other, network cannot be specified in the + // `container.options` field. bool block_external_network = 9; // Optional username for logging in to a docker registry. If username @@ -152,6 +207,25 @@ message Runnable { // matches `projects/*/secrets/*/versions/*` then Batch will read the // password from the Secret Manager; string password = 11; + + // Optional. If set to true, this container runnable uses Image streaming. + // + // Use Image streaming to allow the runnable to initialize without + // waiting for the entire container image to download, which can + // significantly reduce startup time for large container images. + // + // When `enableImageStreaming` is set to true, the container + // runtime is [containerd](https://containerd.io/) instead of Docker. + // Additionally, this container runnable only supports the following + // `container` subfields: `imageUri`, + // `commands[]`, `entrypoint`, and + // `volumes[]`; any other `container` subfields are ignored. + // + // For more information about the requirements and limitations for using + // Image streaming with Batch, see the [`image-streaming` + // sample on + // GitHub](https://github.com/GoogleCloudPlatform/batch-samples/tree/main/api-samples/image-streaming). + bool enable_image_streaming = 12 [(google.api.field_behavior) = OPTIONAL]; } // Script runnable. @@ -198,6 +272,12 @@ message Runnable { Barrier barrier = 6; } + // Optional. DisplayName is an optional field that can be provided by the + // caller. If provided, it will be used in logs and other outputs to identify + // the script, making it easier for users to understand the logs. If not + // provided the index of the runnable will be used for outputs. + string display_name = 10 [(google.api.field_behavior) = OPTIONAL]; + // Normally, a non-zero exit status causes the Task to fail. This flag allows // execution of other Runnables to continue instead. bool ignore_exit_status = 3; diff --git a/third_party/googleapis/google/cloud/batch/v1alpha/volume.proto b/third_party/googleapis/google/cloud/batch/v1alpha/volume.proto index 11ef3a8cf..5b3d72a7e 100644 --- a/third_party/googleapis/google/cloud/batch/v1alpha/volume.proto +++ b/third_party/googleapis/google/cloud/batch/v1alpha/volume.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/beyondcorp/appconnections/BUILD.bazel b/third_party/googleapis/google/cloud/beyondcorp/appconnections/BUILD.bazel index b714492be..35721c003 100644 --- a/third_party/googleapis/google/cloud/beyondcorp/appconnections/BUILD.bazel +++ b/third_party/googleapis/google/cloud/beyondcorp/appconnections/BUILD.bazel @@ -24,10 +24,11 @@ ruby_cloud_gapic_library( "ruby-cloud-api-shortname=beyondcorp", "ruby-cloud-gem-name=google-cloud-beyond_corp-app_connections", "ruby-cloud-product-url=https://cloud.google.com/beyondcorp/", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.4", ], ruby_cloud_description = "Beyondcorp Enterprise provides identity and context aware access controls for enterprise resources and enables zero-trust access. Using the Beyondcorp Enterprise APIs, enterprises can set up multi-cloud and on-prem connectivity using the App Connector hybrid connectivity solution.", ruby_cloud_title = "BeyondCorp AppConnections", + transport = "grpc", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/beyondcorp/appconnections/v1/BUILD.bazel b/third_party/googleapis/google/cloud/beyondcorp/appconnections/v1/BUILD.bazel index 81c00a9b7..7c0b91456 100644 --- a/third_party/googleapis/google/cloud/beyondcorp/appconnections/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/beyondcorp/appconnections/v1/BUILD.bazel @@ -24,7 +24,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -34,7 +33,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -146,7 +144,7 @@ go_gapic_library( grpc_service_config = "beyondcorp-appconnections_grpc_service_config.json", importpath = "cloud.google.com/go/beyondcorp/appconnections/apiv1;appconnections", metadata = True, - release_level = "beta", + release_level = "ga", rest_numeric_enums = True, service_yaml = "beyondcorp_v1.yaml", deps = [ @@ -159,19 +157,13 @@ go_gapic_library( ], ) -go_test( - name = "appconnections_go_gapic_test", - srcs = [":appconnections_go_gapic_srcjar_test"], - embed = [":appconnections_go_gapic"], - importpath = "cloud.google.com/go/beyondcorp/appconnections/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-beyondcorp-appconnections-v1-go", deps = [ ":appconnections_go_gapic", ":appconnections_go_gapic_srcjar-metadata.srcjar", + ":appconnections_go_gapic_srcjar-snippets.srcjar", ":appconnections_go_gapic_srcjar-test.srcjar", ":appconnections_go_proto", ], @@ -217,23 +209,15 @@ php_proto_library( deps = [":appconnections_proto"], ) -php_grpc_library( - name = "appconnections_php_grpc", - srcs = [":appconnections_proto"], - deps = [":appconnections_php_proto"], -) - php_gapic_library( name = "appconnections_php_gapic", srcs = [":appconnections_proto_with_info"], grpc_service_config = "beyondcorp-appconnections_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "beyondcorp_v1.yaml", transport = "grpc+rest", - deps = [ - ":appconnections_php_grpc", - ":appconnections_php_proto", - ], + deps = [":appconnections_php_proto"], ) # Open Source Packages @@ -241,7 +225,6 @@ php_gapic_assembly_pkg( name = "google-cloud-beyondcorp-appconnections-v1-php", deps = [ ":appconnections_php_gapic", - ":appconnections_php_grpc", ":appconnections_php_proto", ], ) @@ -293,6 +276,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Beyondcorp Enterprise provides identity and context aware access controls for enterprise resources and enables zero-trust access. Using the Beyondcorp Enterprise APIs, enterprises can set up multi-cloud and on-prem connectivity using the App Connector hybrid connectivity solution.", ruby_cloud_title = "BeyondCorp AppConnections V1", service_yaml = "beyondcorp_v1.yaml", + transport = "grpc", deps = [ ":appconnections_ruby_grpc", ":appconnections_ruby_proto", diff --git a/third_party/googleapis/google/cloud/beyondcorp/appconnectors/BUILD.bazel b/third_party/googleapis/google/cloud/beyondcorp/appconnectors/BUILD.bazel index ec8cd4b6e..473aca366 100644 --- a/third_party/googleapis/google/cloud/beyondcorp/appconnectors/BUILD.bazel +++ b/third_party/googleapis/google/cloud/beyondcorp/appconnectors/BUILD.bazel @@ -24,10 +24,11 @@ ruby_cloud_gapic_library( "ruby-cloud-api-shortname=beyondcorp", "ruby-cloud-gem-name=google-cloud-beyond_corp-app_connectors", "ruby-cloud-product-url=https://cloud.google.com/beyondcorp/", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.4", ], ruby_cloud_description = "Beyondcorp Enterprise provides identity and context aware access controls for enterprise resources and enables zero-trust access. Using the Beyondcorp Enterprise APIs, enterprises can set up multi-cloud and on-prem connectivity using the App Connector hybrid connectivity solution.", ruby_cloud_title = "BeyondCorp AppConnectors", + transport = "grpc", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/beyondcorp/appconnectors/v1/BUILD.bazel b/third_party/googleapis/google/cloud/beyondcorp/appconnectors/v1/BUILD.bazel index 6e00d19b7..731befd15 100644 --- a/third_party/googleapis/google/cloud/beyondcorp/appconnectors/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/beyondcorp/appconnectors/v1/BUILD.bazel @@ -24,7 +24,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -34,7 +33,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -149,7 +147,7 @@ go_gapic_library( grpc_service_config = "beyondcorp-appconnectors_grpc_service_config.json", importpath = "cloud.google.com/go/beyondcorp/appconnectors/apiv1;appconnectors", metadata = True, - release_level = "beta", + release_level = "ga", rest_numeric_enums = True, service_yaml = "beyondcorp_v1.yaml", deps = [ @@ -163,19 +161,13 @@ go_gapic_library( ], ) -go_test( - name = "appconnectors_go_gapic_test", - srcs = [":appconnectors_go_gapic_srcjar_test"], - embed = [":appconnectors_go_gapic"], - importpath = "cloud.google.com/go/beyondcorp/appconnectors/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-beyondcorp-appconnectors-v1-go", deps = [ ":appconnectors_go_gapic", ":appconnectors_go_gapic_srcjar-metadata.srcjar", + ":appconnectors_go_gapic_srcjar-snippets.srcjar", ":appconnectors_go_gapic_srcjar-test.srcjar", ":appconnectors_go_proto", ], @@ -221,23 +213,15 @@ php_proto_library( deps = [":appconnectors_proto"], ) -php_grpc_library( - name = "appconnectors_php_grpc", - srcs = [":appconnectors_proto"], - deps = [":appconnectors_php_proto"], -) - php_gapic_library( name = "appconnectors_php_gapic", srcs = [":appconnectors_proto_with_info"], grpc_service_config = "beyondcorp-appconnectors_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "beyondcorp_v1.yaml", transport = "grpc+rest", - deps = [ - ":appconnectors_php_grpc", - ":appconnectors_php_proto", - ], + deps = [":appconnectors_php_proto"], ) # Open Source Packages @@ -245,7 +229,6 @@ php_gapic_assembly_pkg( name = "google-cloud-beyondcorp-appconnectors-v1-php", deps = [ ":appconnectors_php_gapic", - ":appconnectors_php_grpc", ":appconnectors_php_proto", ], ) @@ -297,6 +280,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Beyondcorp Enterprise provides identity and context aware access controls for enterprise resources and enables zero-trust access. Using the Beyondcorp Enterprise APIs, enterprises can set up multi-cloud and on-prem connectivity using the App Connector hybrid connectivity solution.", ruby_cloud_title = "BeyondCorp AppConnectors V1", service_yaml = "beyondcorp_v1.yaml", + transport = "grpc", deps = [ ":appconnectors_ruby_grpc", ":appconnectors_ruby_proto", diff --git a/third_party/googleapis/google/cloud/beyondcorp/appgateways/BUILD.bazel b/third_party/googleapis/google/cloud/beyondcorp/appgateways/BUILD.bazel index 643ccad8c..ad92a37a5 100644 --- a/third_party/googleapis/google/cloud/beyondcorp/appgateways/BUILD.bazel +++ b/third_party/googleapis/google/cloud/beyondcorp/appgateways/BUILD.bazel @@ -24,10 +24,11 @@ ruby_cloud_gapic_library( "ruby-cloud-api-shortname=beyondcorp", "ruby-cloud-gem-name=google-cloud-beyond_corp-app_gateways", "ruby-cloud-product-url=https://cloud.google.com/beyondcorp/", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.4", ], ruby_cloud_description = "Beyondcorp Enterprise provides identity and context aware access controls for enterprise resources and enables zero-trust access. Using the Beyondcorp Enterprise APIs, enterprises can set up multi-cloud and on-prem connectivity using the App Connector hybrid connectivity solution.", ruby_cloud_title = "BeyondCorp AppGateways", + transport = "grpc", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/beyondcorp/appgateways/v1/BUILD.bazel b/third_party/googleapis/google/cloud/beyondcorp/appgateways/v1/BUILD.bazel index d8660cf38..e18dd981b 100644 --- a/third_party/googleapis/google/cloud/beyondcorp/appgateways/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/beyondcorp/appgateways/v1/BUILD.bazel @@ -24,7 +24,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -34,7 +33,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -145,7 +143,7 @@ go_gapic_library( grpc_service_config = "beyondcorp-appgateways_grpc_service_config.json", importpath = "cloud.google.com/go/beyondcorp/appgateways/apiv1;appgateways", metadata = True, - release_level = "beta", + release_level = "ga", rest_numeric_enums = True, service_yaml = "beyondcorp_v1.yaml", deps = [ @@ -158,19 +156,13 @@ go_gapic_library( ], ) -go_test( - name = "appgateways_go_gapic_test", - srcs = [":appgateways_go_gapic_srcjar_test"], - embed = [":appgateways_go_gapic"], - importpath = "cloud.google.com/go/beyondcorp/appgateways/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-beyondcorp-appgateways-v1-go", deps = [ ":appgateways_go_gapic", ":appgateways_go_gapic_srcjar-metadata.srcjar", + ":appgateways_go_gapic_srcjar-snippets.srcjar", ":appgateways_go_gapic_srcjar-test.srcjar", ":appgateways_go_proto", ], @@ -216,23 +208,15 @@ php_proto_library( deps = [":appgateways_proto"], ) -php_grpc_library( - name = "appgateways_php_grpc", - srcs = [":appgateways_proto"], - deps = [":appgateways_php_proto"], -) - php_gapic_library( name = "appgateways_php_gapic", srcs = [":appgateways_proto_with_info"], grpc_service_config = "beyondcorp-appgateways_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "beyondcorp_v1.yaml", transport = "grpc+rest", - deps = [ - ":appgateways_php_grpc", - ":appgateways_php_proto", - ], + deps = [":appgateways_php_proto"], ) # Open Source Packages @@ -240,7 +224,6 @@ php_gapic_assembly_pkg( name = "google-cloud-beyondcorp-appgateways-v1-php", deps = [ ":appgateways_php_gapic", - ":appgateways_php_grpc", ":appgateways_php_proto", ], ) @@ -292,6 +275,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Beyondcorp Enterprise provides identity and context aware access controls for enterprise resources and enables zero-trust access. Using the Beyondcorp Enterprise APIs, enterprises can set up multi-cloud and on-prem connectivity using the App Connector hybrid connectivity solution.", ruby_cloud_title = "BeyondCorp AppGateways V1", service_yaml = "beyondcorp_v1.yaml", + transport = "grpc", deps = [ ":appgateways_ruby_grpc", ":appgateways_ruby_proto", diff --git a/third_party/googleapis/google/cloud/beyondcorp/clientconnectorservices/BUILD.bazel b/third_party/googleapis/google/cloud/beyondcorp/clientconnectorservices/BUILD.bazel index 8d48bb2e1..dbe58ef4f 100644 --- a/third_party/googleapis/google/cloud/beyondcorp/clientconnectorservices/BUILD.bazel +++ b/third_party/googleapis/google/cloud/beyondcorp/clientconnectorservices/BUILD.bazel @@ -24,10 +24,11 @@ ruby_cloud_gapic_library( "ruby-cloud-api-shortname=beyondcorp", "ruby-cloud-gem-name=google-cloud-beyond_corp-client_connector_services", "ruby-cloud-product-url=https://cloud.google.com/beyondcorp/", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.4", ], ruby_cloud_description = "Beyondcorp Enterprise provides identity and context aware access controls for enterprise resources and enables zero-trust access. Using the Beyondcorp Enterprise APIs, enterprises can set up multi-cloud and on-prem connectivity using the App Connector hybrid connectivity solution.", ruby_cloud_title = "BeyondCorp ClientConnectorServices", + transport = "grpc", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/beyondcorp/clientconnectorservices/v1/BUILD.bazel b/third_party/googleapis/google/cloud/beyondcorp/clientconnectorservices/v1/BUILD.bazel index d5154626f..ac7a86eae 100644 --- a/third_party/googleapis/google/cloud/beyondcorp/clientconnectorservices/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/beyondcorp/clientconnectorservices/v1/BUILD.bazel @@ -24,7 +24,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -34,7 +33,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -146,7 +144,7 @@ go_gapic_library( grpc_service_config = "beyondcorp-clientconnectorservices_grpc_service_config.json", importpath = "cloud.google.com/go/beyondcorp/clientconnectorservices/apiv1;clientconnectorservices", metadata = True, - release_level = "beta", + release_level = "ga", rest_numeric_enums = True, service_yaml = "beyondcorp_v1.yaml", deps = [ @@ -159,19 +157,13 @@ go_gapic_library( ], ) -go_test( - name = "clientconnectorservices_go_gapic_test", - srcs = [":clientconnectorservices_go_gapic_srcjar_test"], - embed = [":clientconnectorservices_go_gapic"], - importpath = "cloud.google.com/go/beyondcorp/clientconnectorservices/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-beyondcorp-clientconnectorservices-v1-go", deps = [ ":clientconnectorservices_go_gapic", ":clientconnectorservices_go_gapic_srcjar-metadata.srcjar", + ":clientconnectorservices_go_gapic_srcjar-snippets.srcjar", ":clientconnectorservices_go_gapic_srcjar-test.srcjar", ":clientconnectorservices_go_proto", ], @@ -217,23 +209,15 @@ php_proto_library( deps = [":clientconnectorservices_proto"], ) -php_grpc_library( - name = "clientconnectorservices_php_grpc", - srcs = [":clientconnectorservices_proto"], - deps = [":clientconnectorservices_php_proto"], -) - php_gapic_library( name = "clientconnectorservices_php_gapic", srcs = [":clientconnectorservices_proto_with_info"], grpc_service_config = "beyondcorp-clientconnectorservices_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "beyondcorp_v1.yaml", transport = "grpc+rest", - deps = [ - ":clientconnectorservices_php_grpc", - ":clientconnectorservices_php_proto", - ], + deps = [":clientconnectorservices_php_proto"], ) # Open Source Packages @@ -241,7 +225,6 @@ php_gapic_assembly_pkg( name = "google-cloud-beyondcorp-clientconnectorservices-v1-php", deps = [ ":clientconnectorservices_php_gapic", - ":clientconnectorservices_php_grpc", ":clientconnectorservices_php_proto", ], ) @@ -293,6 +276,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Beyondcorp Enterprise provides identity and context aware access controls for enterprise resources and enables zero-trust access. Using the Beyondcorp Enterprise APIs, enterprises can set up multi-cloud and on-prem connectivity using the App Connector hybrid connectivity solution.", ruby_cloud_title = "BeyondCorp ClientConnectorServices V1", service_yaml = "beyondcorp_v1.yaml", + transport = "grpc", deps = [ ":clientconnectorservices_ruby_grpc", ":clientconnectorservices_ruby_proto", diff --git a/third_party/googleapis/google/cloud/beyondcorp/clientgateways/BUILD.bazel b/third_party/googleapis/google/cloud/beyondcorp/clientgateways/BUILD.bazel index 47b8b1216..c3d4774b5 100644 --- a/third_party/googleapis/google/cloud/beyondcorp/clientgateways/BUILD.bazel +++ b/third_party/googleapis/google/cloud/beyondcorp/clientgateways/BUILD.bazel @@ -24,10 +24,11 @@ ruby_cloud_gapic_library( "ruby-cloud-api-shortname=beyondcorp", "ruby-cloud-gem-name=google-cloud-beyond_corp-client_gateways", "ruby-cloud-product-url=https://cloud.google.com/beyondcorp/", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.4", ], ruby_cloud_description = "Beyondcorp Enterprise provides identity and context aware access controls for enterprise resources and enables zero-trust access. Using the Beyondcorp Enterprise APIs, enterprises can set up multi-cloud and on-prem connectivity using the App Connector hybrid connectivity solution.", ruby_cloud_title = "BeyondCorp ClientGateways", + transport = "grpc", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/beyondcorp/clientgateways/v1/BUILD.bazel b/third_party/googleapis/google/cloud/beyondcorp/clientgateways/v1/BUILD.bazel index 52e979f33..56ee779ee 100644 --- a/third_party/googleapis/google/cloud/beyondcorp/clientgateways/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/beyondcorp/clientgateways/v1/BUILD.bazel @@ -24,7 +24,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -34,7 +33,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -145,7 +143,7 @@ go_gapic_library( grpc_service_config = "beyondcorp-clientgateways_grpc_service_config.json", importpath = "cloud.google.com/go/beyondcorp/clientgateways/apiv1;clientgateways", metadata = True, - release_level = "beta", + release_level = "ga", rest_numeric_enums = True, service_yaml = "beyondcorp_v1.yaml", deps = [ @@ -158,19 +156,13 @@ go_gapic_library( ], ) -go_test( - name = "clientgateways_go_gapic_test", - srcs = [":clientgateways_go_gapic_srcjar_test"], - embed = [":clientgateways_go_gapic"], - importpath = "cloud.google.com/go/beyondcorp/clientgateways/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-beyondcorp-clientgateways-v1-go", deps = [ ":clientgateways_go_gapic", ":clientgateways_go_gapic_srcjar-metadata.srcjar", + ":clientgateways_go_gapic_srcjar-snippets.srcjar", ":clientgateways_go_gapic_srcjar-test.srcjar", ":clientgateways_go_proto", ], @@ -216,23 +208,15 @@ php_proto_library( deps = [":clientgateways_proto"], ) -php_grpc_library( - name = "clientgateways_php_grpc", - srcs = [":clientgateways_proto"], - deps = [":clientgateways_php_proto"], -) - php_gapic_library( name = "clientgateways_php_gapic", srcs = [":clientgateways_proto_with_info"], grpc_service_config = "beyondcorp-clientgateways_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "beyondcorp_v1.yaml", transport = "grpc+rest", - deps = [ - ":clientgateways_php_grpc", - ":clientgateways_php_proto", - ], + deps = [":clientgateways_php_proto"], ) # Open Source Packages @@ -240,7 +224,6 @@ php_gapic_assembly_pkg( name = "google-cloud-beyondcorp-clientgateways-v1-php", deps = [ ":clientgateways_php_gapic", - ":clientgateways_php_grpc", ":clientgateways_php_proto", ], ) @@ -292,6 +275,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Beyondcorp Enterprise provides identity and context aware access controls for enterprise resources and enables zero-trust access. Using the Beyondcorp Enterprise APIs, enterprises can set up multi-cloud and on-prem connectivity using the App Connector hybrid connectivity solution.", ruby_cloud_title = "BeyondCorp ClientGateways V1", service_yaml = "beyondcorp_v1.yaml", + transport = "grpc", deps = [ ":clientgateways_ruby_grpc", ":clientgateways_ruby_proto", diff --git a/third_party/googleapis/google/cloud/bigquery/analyticshub/BUILD.bazel b/third_party/googleapis/google/cloud/bigquery/analyticshub/BUILD.bazel index 38a033374..cec0f48d9 100644 --- a/third_party/googleapis/google/cloud/bigquery/analyticshub/BUILD.bazel +++ b/third_party/googleapis/google/cloud/bigquery/analyticshub/BUILD.bazel @@ -21,7 +21,7 @@ ruby_cloud_gapic_library( srcs = ["//google/cloud/bigquery/analyticshub/v1:analyticshub_proto_with_info"], extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-bigquery-analytics_hub", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.5", "ruby-cloud-product-url=https://cloud.google.com/bigquery", "ruby-cloud-api-id=analyticshub.googleapis.com", "ruby-cloud-api-shortname=analyticshub", diff --git a/third_party/googleapis/google/cloud/bigquery/analyticshub/v1/BUILD.bazel b/third_party/googleapis/google/cloud/bigquery/analyticshub/v1/BUILD.bazel index 28ef70265..83e144934 100644 --- a/third_party/googleapis/google/cloud/bigquery/analyticshub/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/bigquery/analyticshub/v1/BUILD.bazel @@ -30,8 +30,10 @@ proto_library( "//google/api:resource_proto", "//google/iam/v1:iam_policy_proto", "//google/iam/v1:policy_proto", + "//google/longrunning:operations_proto", "@com_google_protobuf//:empty_proto", "@com_google_protobuf//:field_mask_proto", + "@com_google_protobuf//:timestamp_proto", "@com_google_protobuf//:wrappers_proto", ], ) @@ -75,8 +77,8 @@ java_gapic_library( rest_numeric_enums = False, service_yaml = "analyticshub_v1.yaml", test_deps = [ - ":analyticshub_java_grpc", "//google/iam/v1:iam_java_grpc", + ":analyticshub_java_grpc", ], transport = "grpc+rest", deps = [ @@ -116,7 +118,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -127,6 +128,7 @@ go_proto_library( deps = [ "//google/api:annotations_go_proto", "//google/iam/v1:iam_go_proto", + "//google/longrunning:longrunning_go_proto", ], ) @@ -136,29 +138,26 @@ go_gapic_library( grpc_service_config = "analyticshub_v1_grpc_service_config.json", importpath = "cloud.google.com/go/bigquery/analyticshub/apiv1;analyticshub", metadata = True, - release_level = "beta", + release_level = "ga", rest_numeric_enums = False, service_yaml = "analyticshub_v1.yaml", transport = "grpc+rest", deps = [ ":analyticshub_go_proto", "//google/iam/v1:iam_go_proto", + "//google/longrunning:longrunning_go_proto", + "@com_google_cloud_go_longrunning//:go_default_library", + "@com_google_cloud_go_longrunning//autogen:go_default_library", ], ) -go_test( - name = "analyticshub_go_gapic_test", - srcs = [":analyticshub_go_gapic_srcjar_test"], - embed = [":analyticshub_go_gapic"], - importpath = "cloud.google.com/go/bigquery/analyticshub/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-bigquery-analyticshub-v1-go", deps = [ ":analyticshub_go_gapic", ":analyticshub_go_gapic_srcjar-metadata.srcjar", + ":analyticshub_go_gapic_srcjar-snippets.srcjar", ":analyticshub_go_gapic_srcjar-test.srcjar", ":analyticshub_go_proto", ], @@ -178,6 +177,10 @@ py_gapic_library( name = "analyticshub_py_gapic", srcs = [":analyticshub_proto"], grpc_service_config = "analyticshub_v1_grpc_service_config.json", + opt_args = [ + "python-gapic-name=bigquery_analyticshub", + "python-gapic-namespace=google.cloud", + ], rest_numeric_enums = False, service_yaml = "analyticshub_v1.yaml", transport = "grpc", @@ -211,7 +214,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -220,21 +222,15 @@ php_proto_library( deps = [":analyticshub_proto"], ) -php_grpc_library( - name = "analyticshub_php_grpc", - srcs = [":analyticshub_proto"], - deps = [":analyticshub_php_proto"], -) - php_gapic_library( name = "analyticshub_php_gapic", srcs = [":analyticshub_proto_with_info"], grpc_service_config = "analyticshub_v1_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = False, service_yaml = "analyticshub_v1.yaml", transport = "grpc+rest", deps = [ - ":analyticshub_php_grpc", ":analyticshub_php_proto", ], ) @@ -244,7 +240,6 @@ php_gapic_assembly_pkg( name = "google-cloud-bigquery-analyticshub-v1-php", deps = [ ":analyticshub_php_gapic", - ":analyticshub_php_grpc", ":analyticshub_php_proto", ], ) @@ -315,6 +310,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Analytics Hub is a data exchange platform that enables you to share data and insights at scale across organizational boundaries with a robust security and privacy framework. With Analytics Hub, you can discover and access a data library curated by various data providers.", ruby_cloud_title = "Analytics Hub V1", service_yaml = "analyticshub_v1.yaml", + transport = "grpc+rest", deps = [ ":analyticshub_ruby_grpc", ":analyticshub_ruby_proto", @@ -344,6 +340,7 @@ load( csharp_proto_library( name = "analyticshub_csharp_proto", + extra_opts = [], deps = [":analyticshub_proto"], ) diff --git a/third_party/googleapis/google/cloud/bigquery/analyticshub/v1/analyticshub.proto b/third_party/googleapis/google/cloud/bigquery/analyticshub/v1/analyticshub.proto index bd1882a69..b947b88f3 100644 --- a/third_party/googleapis/google/cloud/bigquery/analyticshub/v1/analyticshub.proto +++ b/third_party/googleapis/google/cloud/bigquery/analyticshub/v1/analyticshub.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -22,8 +22,10 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/iam/v1/iam_policy.proto"; import "google/iam/v1/policy.proto"; +import "google/longrunning/operations.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; +import "google/protobuf/timestamp.proto"; import "google/protobuf/wrappers.proto"; option csharp_namespace = "Google.Cloud.BigQuery.AnalyticsHub.V1"; @@ -51,7 +53,8 @@ service AnalyticsHubService { "https://www.googleapis.com/auth/cloud-platform"; // Lists all data exchanges in a given project and location. - rpc ListDataExchanges(ListDataExchangesRequest) returns (ListDataExchangesResponse) { + rpc ListDataExchanges(ListDataExchangesRequest) + returns (ListDataExchangesResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/dataExchanges" }; @@ -60,7 +63,8 @@ service AnalyticsHubService { // Lists all data exchanges from projects in a given organization and // location. - rpc ListOrgDataExchanges(ListOrgDataExchangesRequest) returns (ListOrgDataExchangesResponse) { + rpc ListOrgDataExchanges(ListOrgDataExchangesRequest) + returns (ListOrgDataExchangesResponse) { option (google.api.http) = { get: "/v1/{organization=organizations/*/locations/*}/dataExchanges" }; @@ -94,7 +98,8 @@ service AnalyticsHubService { } // Deletes an existing data exchange. - rpc DeleteDataExchange(DeleteDataExchangeRequest) returns (google.protobuf.Empty) { + rpc DeleteDataExchange(DeleteDataExchangeRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/dataExchanges/*}" }; @@ -149,7 +154,8 @@ service AnalyticsHubService { // reference only BigQuery datasets. // Upon subscription to a listing for a BigQuery dataset, Analytics Hub // creates a linked dataset in the subscriber's project. - rpc SubscribeListing(SubscribeListingRequest) returns (SubscribeListingResponse) { + rpc SubscribeListing(SubscribeListingRequest) + returns (SubscribeListingResponse) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/dataExchanges/*/listings/*}:subscribe" body: "*" @@ -157,8 +163,92 @@ service AnalyticsHubService { option (google.api.method_signature) = "name"; } + // Creates a Subscription to a Data Exchange. This is a long-running operation + // as it will create one or more linked datasets. + rpc SubscribeDataExchange(SubscribeDataExchangeRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/*/dataExchanges/*}:subscribe" + body: "*" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "SubscribeDataExchangeResponse" + metadata_type: "OperationMetadata" + }; + } + + // Refreshes a Subscription to a Data Exchange. A Data Exchange can become + // stale when a publisher adds or removes data. This is a long-running + // operation as it may create many linked datasets. + rpc RefreshSubscription(RefreshSubscriptionRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/*/subscriptions/*}:refresh" + body: "*" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "RefreshSubscriptionResponse" + metadata_type: "OperationMetadata" + }; + } + + // Gets the details of a Subscription. + rpc GetSubscription(GetSubscriptionRequest) returns (Subscription) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*/subscriptions/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Lists all subscriptions in a given project and location. + rpc ListSubscriptions(ListSubscriptionsRequest) + returns (ListSubscriptionsResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*}/subscriptions" + }; + option (google.api.method_signature) = "parent"; + } + + // Lists all subscriptions on a given Data Exchange or Listing. + rpc ListSharedResourceSubscriptions(ListSharedResourceSubscriptionsRequest) + returns (ListSharedResourceSubscriptionsResponse) { + option (google.api.http) = { + get: "/v1/{resource=projects/*/locations/*/dataExchanges/*}:listSubscriptions" + additional_bindings { + get: "/v1/{resource=projects/*/locations/*/dataExchanges/*/listings/*}:listSubscriptions" + } + }; + option (google.api.method_signature) = "resource"; + } + + // Revokes a given subscription. + rpc RevokeSubscription(RevokeSubscriptionRequest) + returns (RevokeSubscriptionResponse) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/*/subscriptions/*}:revoke" + body: "*" + }; + option (google.api.method_signature) = "name"; + } + + // Deletes a subscription. + rpc DeleteSubscription(DeleteSubscriptionRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + delete: "/v1/{name=projects/*/locations/*/subscriptions/*}" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "OperationMetadata" + }; + } + // Gets the IAM policy. - rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v1/{resource=projects/*/locations/*/dataExchanges/*}:getIamPolicy" body: "*" @@ -170,7 +260,8 @@ service AnalyticsHubService { } // Sets the IAM policy. - rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v1/{resource=projects/*/locations/*/dataExchanges/*}:setIamPolicy" body: "*" @@ -182,7 +273,8 @@ service AnalyticsHubService { } // Returns the permissions that a caller has. - rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) { + rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) + returns (google.iam.v1.TestIamPermissionsResponse) { option (google.api.http) = { post: "/v1/{resource=projects/*/locations/*/dataExchanges/*}:testIamPermissions" body: "*" @@ -207,22 +299,21 @@ message DataExchange { // e.g. `projects/myproject/locations/US/dataExchanges/123`. string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Required. Human-readable display name of the data exchange. The display name must - // contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), - // spaces ( ), ampersands (&) and must not start or end with spaces. - // Default value is an empty string. - // Max length: 63 bytes. + // Required. Human-readable display name of the data exchange. The display + // name must contain only Unicode letters, numbers (0-9), underscores (_), + // dashes (-), spaces ( ), ampersands (&) and must not start or end with + // spaces. Default value is an empty string. Max length: 63 bytes. string display_name = 2 [(google.api.field_behavior) = REQUIRED]; - // Optional. Description of the data exchange. The description must not contain Unicode - // non-characters as well as C0 and C1 control codes except tabs (HT), - // new lines (LF), carriage returns (CR), and page breaks (FF). + // Optional. Description of the data exchange. The description must not + // contain Unicode non-characters as well as C0 and C1 control codes except + // tabs (HT), new lines (LF), carriage returns (CR), and page breaks (FF). // Default value is an empty string. // Max length: 2000 bytes. string description = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Email or URL of the primary point of contact of the data exchange. - // Max Length: 1000 bytes. + // Optional. Email or URL of the primary point of contact of the data + // exchange. Max Length: 1000 bytes. string primary_contact = 4 [(google.api.field_behavior) = OPTIONAL]; // Optional. Documentation describing the data exchange. @@ -231,12 +322,34 @@ message DataExchange { // Output only. Number of listings contained in the data exchange. int32 listing_count = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Optional. Base64 encoded image representing the data exchange. Max Size: 3.0MiB - // Expected image dimensions are 512x512 pixels, however the API only - // performs validation on size of the encoded data. - // Note: For byte fields, the content of the fields are base64-encoded (which - // increases the size of the data by 33-36%) when using JSON on the wire. + // Optional. Base64 encoded image representing the data exchange. Max + // Size: 3.0MiB Expected image dimensions are 512x512 pixels, however the API + // only performs validation on size of the encoded data. Note: For byte + // fields, the content of the fields are base64-encoded (which increases the + // size of the data by 33-36%) when using JSON on the wire. bytes icon = 7 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Configurable data sharing environment option for a data exchange. + SharingEnvironmentConfig sharing_environment_config = 8 + [(google.api.field_behavior) = OPTIONAL]; +} + +// Sharing environment is a behavior model for sharing data within a +// data exchange. This option is configurable for a data exchange. +message SharingEnvironmentConfig { + // Default Analytics Hub data exchange, used for secured data sharing. + message DefaultExchangeConfig {} + + // Data Clean Room (DCR), used for privacy-safe and secured data sharing. + message DcrExchangeConfig {} + + oneof environment { + // Default Analytics Hub data exchange, used for secured data sharing. + DefaultExchangeConfig default_exchange_config = 1; + + // Data Clean Room (DCR), used for privacy-safe and secured data sharing. + DcrExchangeConfig dcr_exchange_config = 2; + } } // Contains details of the data provider. @@ -273,13 +386,16 @@ message DestinationDatasetReference { // Defines the destination bigquery dataset. message DestinationDataset { // Required. A reference that identifies the destination dataset. - DestinationDatasetReference dataset_reference = 1 [(google.api.field_behavior) = REQUIRED]; + DestinationDatasetReference dataset_reference = 1 + [(google.api.field_behavior) = REQUIRED]; // Optional. A descriptive name for the dataset. - google.protobuf.StringValue friendly_name = 2 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.StringValue friendly_name = 2 + [(google.api.field_behavior) = OPTIONAL]; // Optional. A user-friendly description of the dataset. - google.protobuf.StringValue description = 3 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.StringValue description = 3 + [(google.api.field_behavior) = OPTIONAL]; // Optional. The labels associated with this dataset. You can use these // to organize and group your datasets. @@ -315,8 +431,24 @@ message Listing { // Resource name of the dataset source for this listing. // e.g. `projects/myproject/datasets/123` string dataset = 1 [(google.api.resource_reference) = { - type: "bigquery.googleapis.com/Dataset" - }]; + type: "bigquery.googleapis.com/Dataset" + }]; + } + + // Restricted export config, used to configure restricted export on linked + // dataset. + message RestrictedExportConfig { + // Optional. If true, enable restricted export. + bool enabled = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Output only. If true, restrict direct table access(read + // api/tabledata.list) on linked table. + bool restrict_direct_table_access = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. If true, restrict export of query result derived from + // restricted linked dataset table. + bool restrict_query_result = 2 [(google.api.field_behavior) = OPTIONAL]; } // State of the listing. @@ -375,25 +507,24 @@ message Listing { // Listing source. oneof source { // Required. Shared dataset i.e. BigQuery dataset source. - BigQueryDatasetSource bigquery_dataset = 6 [(google.api.field_behavior) = REQUIRED]; + BigQueryDatasetSource bigquery_dataset = 6 + [(google.api.field_behavior) = REQUIRED]; } // Output only. The resource name of the listing. // e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456` string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Required. Human-readable display name of the listing. The display name must contain - // only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces - // ( ), ampersands (&) and can't start or end with spaces. - // Default value is an empty string. - // Max length: 63 bytes. + // Required. Human-readable display name of the listing. The display name must + // contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), + // spaces ( ), ampersands (&) and can't start or end with spaces. Default + // value is an empty string. Max length: 63 bytes. string display_name = 2 [(google.api.field_behavior) = REQUIRED]; - // Optional. Short description of the listing. The description must not contain - // Unicode non-characters and C0 and C1 control codes except tabs (HT), - // new lines (LF), carriage returns (CR), and page breaks (FF). - // Default value is an empty string. - // Max length: 2000 bytes. + // Optional. Short description of the listing. The description must not + // contain Unicode non-characters and C0 and C1 control codes except tabs + // (HT), new lines (LF), carriage returns (CR), and page breaks (FF). Default + // value is an empty string. Max length: 2000 bytes. string description = 3 [(google.api.field_behavior) = OPTIONAL]; // Optional. Email or URL of the primary point of contact of the listing. @@ -427,6 +558,92 @@ message Listing { // Subscribers can use this reference to request access. // Max Length: 1000 bytes. string request_access = 12 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If set, restricted export configuration will be propagated and + // enforced on the linked dataset. + RestrictedExportConfig restricted_export_config = 13 + [(google.api.field_behavior) = OPTIONAL]; +} + +// A subscription represents a subscribers' access to a particular set of +// published data. It contains references to associated listings, +// data exchanges, and linked datasets. +message Subscription { + option (google.api.resource) = { + type: "analyticshub.googleapis.com/Subscription" + pattern: "projects/{project}/locations/{location}/subscriptions/{subscription}" + }; + + // Reference to a linked resource tracked by this Subscription. + message LinkedResource { + oneof reference { + // Output only. Name of the linked dataset, e.g. + // projects/subscriberproject/datasets/linked_dataset + string linked_dataset = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + } + } + + // State of the subscription. + enum State { + // Default value. This value is unused. + STATE_UNSPECIFIED = 0; + + // This subscription is active and the data is accessible. + STATE_ACTIVE = 1; + + // The data referenced by this subscription is out of date and should be + // refreshed. This can happen when a data provider adds or removes datasets. + STATE_STALE = 2; + + // This subscription has been cancelled or revoked and the data is no longer + // accessible. + STATE_INACTIVE = 3; + } + + oneof resource_name { + // Output only. Resource name of the source Listing. + // e.g. projects/123/locations/US/dataExchanges/456/listings/789 + string listing = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Resource name of the source Data Exchange. + // e.g. projects/123/locations/US/dataExchanges/456 + string data_exchange = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + } + + // Output only. The resource name of the subscription. + // e.g. `projects/myproject/locations/US/subscriptions/123`. + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Timestamp when the subscription was created. + google.protobuf.Timestamp creation_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Timestamp when the subscription was last modified. + google.protobuf.Timestamp last_modify_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Organization of the project this subscription belongs to. + string organization_id = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Display name of the project of this subscription. + string organization_display_name = 10 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Current state of the subscription. + State state = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Map of listing resource names to associated linked resource, + // e.g. projects/123/locations/US/dataExchanges/456/listings/789 + // -> + // projects/123/datasets/my_dataset + // + // For listing-level subscriptions, this is a map of size 1. + // Only contains values if state == STATE_ACTIVE. + map linked_dataset_map = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Email of the subscriber. + string subscriber_contact = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Message for requesting the list of data exchanges. @@ -436,7 +653,7 @@ message ListDataExchangesRequest { string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { - type: "locations.googleapis.com/Location" + child_type: "analyticshub.googleapis.com/DataExchange" } ]; @@ -461,8 +678,8 @@ message ListDataExchangesResponse { // Message for requesting the list of data exchanges from projects in an // organization and location. message ListOrgDataExchangesRequest { - // Required. The organization resource path of the projects containing DataExchanges. - // e.g. `organizations/myorg/locations/US`. + // Required. The organization resource path of the projects containing + // DataExchanges. e.g. `organizations/myorg/locations/US`. string organization = 1 [(google.api.field_behavior) = REQUIRED]; // The maximum number of results to return in a single response page. Leverage @@ -503,7 +720,7 @@ message CreateDataExchangeRequest { string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { - type: "locations.googleapis.com/Location" + child_type: "analyticshub.googleapis.com/DataExchange" } ]; @@ -523,7 +740,8 @@ message UpdateDataExchangeRequest { // Required. Field mask specifies the fields to update in the data exchange // resource. The fields specified in the // `updateMask` are relative to the resource and are not a full request. - google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = REQUIRED]; + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = REQUIRED]; // Required. The data exchange to update. DataExchange data_exchange = 2 [(google.api.field_behavior) = REQUIRED]; @@ -531,8 +749,8 @@ message UpdateDataExchangeRequest { // Message for deleting a data exchange. message DeleteDataExchangeRequest { - // Required. The full name of the data exchange resource that you want to delete. - // For example, `projects/myproject/locations/US/dataExchanges/123`. + // Required. The full name of the data exchange resource that you want to + // delete. For example, `projects/myproject/locations/US/dataExchanges/123`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -606,10 +824,11 @@ message CreateListingRequest { // Message for updating a Listing. message UpdateListingRequest { - // Required. Field mask specifies the fields to update in the listing resource. The - // fields specified in the `updateMask` are relative to the resource and are - // not a full request. - google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = REQUIRED]; + // Required. Field mask specifies the fields to update in the listing + // resource. The fields specified in the `updateMask` are relative to the + // resource and are not a full request. + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = REQUIRED]; // Required. The listing to update. Listing listing = 2 [(google.api.field_behavior) = REQUIRED]; @@ -647,5 +866,188 @@ message SubscribeListingRequest { // Message for response when you subscribe to a listing. message SubscribeListingResponse { + // Subscription object created from this subscribe action. + Subscription subscription = 1; +} + +// Message for subscribing to a Data Exchange. +message SubscribeDataExchangeRequest { + // Required. Resource name of the Data Exchange. + // e.g. `projects/publisherproject/locations/US/dataExchanges/123` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "analyticshub.googleapis.com/DataExchange" + } + ]; + + // Required. The parent resource path of the Subscription. + // e.g. `projects/subscriberproject/locations/US` + string destination = 2 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "locations.googleapis.com/Location" + } + ]; + + // Required. Name of the subscription to create. + // e.g. `subscription1` + string subscription = 4 [(google.api.field_behavior) = REQUIRED]; + + // Email of the subscriber. + string subscriber_contact = 3; +} + +// Message for response when you subscribe to a Data Exchange. +message SubscribeDataExchangeResponse { + // Subscription object created from this subscribe action. + Subscription subscription = 1; +} + +// Message for refreshing a subscription. +message RefreshSubscriptionRequest { + // Required. Resource name of the Subscription to refresh. + // e.g. `projects/subscriberproject/locations/US/subscriptions/123` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "analyticshub.googleapis.com/Subscription" + } + ]; +} + +// Message for response when you refresh a subscription. +message RefreshSubscriptionResponse { + // The refreshed subscription resource. + Subscription subscription = 1; +} + +// Message for getting a subscription. +message GetSubscriptionRequest { + // Required. Resource name of the subscription. + // e.g. projects/123/locations/US/subscriptions/456 + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "analyticshub.googleapis.com/Subscription" + } + ]; +} + +// Message for listing subscriptions. +message ListSubscriptionsRequest { + // Required. The parent resource path of the subscription. + // e.g. projects/myproject/locations/US + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "analyticshub.googleapis.com/Subscription" + } + ]; + + // The filter expression may be used to filter by Data Exchange or Listing. + string filter = 2; + + // The maximum number of results to return in a single response page. + int32 page_size = 3; + + // Page token, returned by a previous call. + string page_token = 4; +} + +// Message for response to the listing of subscriptions. +message ListSubscriptionsResponse { + // The list of subscriptions. + repeated Subscription subscriptions = 1; + + // Next page token. + string next_page_token = 2; +} + +// Message for listing subscriptions of a shared resource. +message ListSharedResourceSubscriptionsRequest { + // Required. Resource name of the requested target. This resource may be + // either a Listing or a DataExchange. e.g. + // projects/123/locations/US/dataExchanges/456 OR e.g. + // projects/123/locations/US/dataExchanges/456/listings/789 + string resource = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "*" } + ]; + + // If selected, includes deleted subscriptions in the response + // (up to 63 days after deletion). + bool include_deleted_subscriptions = 2; + + // The maximum number of results to return in a single response page. + int32 page_size = 3; + + // Page token, returned by a previous call. + string page_token = 4; +} + +// Message for response to the listing of shared resource subscriptions. +message ListSharedResourceSubscriptionsResponse { + // The list of subscriptions. + repeated Subscription shared_resource_subscriptions = 1; + + // Next page token. + string next_page_token = 2; +} + +// Message for revoking a subscription. +message RevokeSubscriptionRequest { + // Required. Resource name of the subscription to revoke. + // e.g. projects/123/locations/US/subscriptions/456 + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "analyticshub.googleapis.com/Subscription" + } + ]; +} + +// Message for response when you revoke a subscription. +message RevokeSubscriptionResponse {} + +// Message for deleting a subscription. +message DeleteSubscriptionRequest { + // Required. Resource name of the subscription to delete. + // e.g. projects/123/locations/US/subscriptions/456 + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "analyticshub.googleapis.com/Subscription" + } + ]; +} + +// Represents the metadata of a long-running operation in Analytics Hub. +message OperationMetadata { + // Output only. The time the operation was created. + google.protobuf.Timestamp create_time = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The time the operation finished running. + google.protobuf.Timestamp end_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Server-defined resource path for the target of the operation. + string target = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Name of the verb executed by the operation. + string verb = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Human-readable status of the operation, if any. + string status_message = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Identifies whether the user has requested cancellation + // of the operation. Operations that have successfully been cancelled + // have [Operation.error][] value with a + // [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to + // `Code.CANCELLED`. + bool requested_cancellation = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. API version used to start the operation. + string api_version = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/cloud/bigquery/analyticshub/v1/analyticshub_v1.yaml b/third_party/googleapis/google/cloud/bigquery/analyticshub/v1/analyticshub_v1.yaml index 2b54e1e21..6ca8e69c3 100644 --- a/third_party/googleapis/google/cloud/bigquery/analyticshub/v1/analyticshub_v1.yaml +++ b/third_party/googleapis/google/cloud/bigquery/analyticshub/v1/analyticshub_v1.yaml @@ -5,15 +5,16 @@ title: Analytics Hub API apis: - name: google.cloud.bigquery.analyticshub.v1.AnalyticsHubService +- name: google.longrunning.Operations + +types: +- name: google.cloud.bigquery.analyticshub.v1.OperationMetadata +- name: google.cloud.bigquery.analyticshub.v1.RefreshSubscriptionResponse +- name: google.cloud.bigquery.analyticshub.v1.SubscribeDataExchangeResponse documentation: summary: Exchange data and analytics assets securely and efficiently. -backend: - rules: - - selector: 'google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.*' - deadline: 60.0 - authentication: rules: - selector: 'google.cloud.bigquery.analyticshub.v1.AnalyticsHubService.*' diff --git a/third_party/googleapis/google/cloud/bigquery/biglake/v1alpha1/BUILD.bazel b/third_party/googleapis/google/cloud/bigquery/biglake/v1alpha1/BUILD.bazel index 091949547..14aaa7a53 100644 --- a/third_party/googleapis/google/cloud/bigquery/biglake/v1alpha1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/bigquery/biglake/v1alpha1/BUILD.bazel @@ -112,7 +112,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -140,19 +139,13 @@ go_gapic_library( ], ) -go_test( - name = "biglake_go_gapic_test", - srcs = [":biglake_go_gapic_srcjar_test"], - embed = [":biglake_go_gapic"], - importpath = "cloud.google.com/go/bigquery/biglake/apiv1alpha1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-bigquery-biglake-v1alpha1-go", deps = [ ":biglake_go_gapic", ":biglake_go_gapic_srcjar-metadata.srcjar", + ":biglake_go_gapic_srcjar-snippets.srcjar", ":biglake_go_gapic_srcjar-test.srcjar", ":biglake_go_proto", ], @@ -172,6 +165,10 @@ py_gapic_library( name = "biglake_py_gapic", srcs = [":biglake_proto"], grpc_service_config = "biglake_v1alpha1_grpc_service_config.json", + opt_args = [ + "python-gapic-namespace=google.cloud", + "python-gapic-name=bigquery_biglake", + ], rest_numeric_enums = True, service_yaml = "biglake_v1alpha1.yaml", transport = "grpc+rest", @@ -204,7 +201,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -213,12 +209,6 @@ php_proto_library( deps = [":biglake_proto"], ) -php_grpc_library( - name = "biglake_php_grpc", - srcs = [":biglake_proto"], - deps = [":biglake_php_proto"], -) - php_gapic_library( name = "biglake_php_gapic", srcs = [":biglake_proto_with_info"], @@ -226,10 +216,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "biglake_v1alpha1.yaml", transport = "grpc+rest", - deps = [ - ":biglake_php_grpc", - ":biglake_php_proto", - ], + deps = [":biglake_php_proto"], ) # Open Source Packages @@ -237,7 +224,6 @@ php_gapic_assembly_pkg( name = "google-cloud-bigquery-biglake-v1alpha1-php", deps = [ ":biglake_php_gapic", - ":biglake_php_grpc", ":biglake_php_proto", ], ) diff --git a/third_party/googleapis/google/cloud/bigquery/biglake/v1alpha1/biglake_v1alpha1.yaml b/third_party/googleapis/google/cloud/bigquery/biglake/v1alpha1/biglake_v1alpha1.yaml index da0fbaba4..6e5a25be4 100644 --- a/third_party/googleapis/google/cloud/bigquery/biglake/v1alpha1/biglake_v1alpha1.yaml +++ b/third_party/googleapis/google/cloud/bigquery/biglake/v1alpha1/biglake_v1alpha1.yaml @@ -15,7 +15,7 @@ documentation: backend: rules: - selector: 'google.cloud.bigquery.biglake.v1alpha1.MetastoreService.*' - deadline: 60.0 + deadline: 30.0 authentication: rules: @@ -24,3 +24,27 @@ authentication: canonical_scopes: |- https://www.googleapis.com/auth/bigquery, https://www.googleapis.com/auth/cloud-platform + +publishing: + new_issue_uri: https://issuetracker.google.com/issues/new?component=187149&template=1019829 + documentation_uri: https://cloud.google.com/bigquery/docs/iceberg-tables#create-using-biglake-metastore + api_short_name: biglake + github_label: 'api: biglake' + doc_tag_prefix: biglake + organization: CLOUD + library_settings: + - version: google.cloud.bigquery.biglake.v1alpha1 + launch_stage: ALPHA + rest_numeric_enums: true + java_settings: + common: + destinations: + - PACKAGE_MANAGER + python_settings: + common: + destinations: + - PACKAGE_MANAGER + go_settings: + common: + destinations: + - PACKAGE_MANAGER diff --git a/third_party/googleapis/google/cloud/bigquery/biglake/v1alpha1/metastore.proto b/third_party/googleapis/google/cloud/bigquery/biglake/v1alpha1/metastore.proto index 7f6b67596..85952d7fc 100644 --- a/third_party/googleapis/google/cloud/bigquery/biglake/v1alpha1/metastore.proto +++ b/third_party/googleapis/google/cloud/bigquery/biglake/v1alpha1/metastore.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -146,6 +146,15 @@ service MetastoreService { option (google.api.method_signature) = "table,update_mask"; } + // Renames an existing table specified by the table ID. + rpc RenameTable(RenameTableRequest) returns (Table) { + option (google.api.http) = { + post: "/v1alpha1/{name=projects/*/locations/*/catalogs/*/databases/*/tables/*}:rename" + body: "*" + }; + option (google.api.method_signature) = "name,new_name"; + } + // Gets the table specified by the resource name. rpc GetTable(GetTableRequest) returns (Table) { option (google.api.http) = { @@ -197,6 +206,20 @@ service MetastoreService { } } +// View on Table. Represents which fields will be populated for calls that +// return Table objects. +enum TableView { + // Default value. The API will default to the BASIC view. + TABLE_VIEW_UNSPECIFIED = 0; + + // Include only table names. + // This is the default value. + BASIC = 1; + + // Include everything. + FULL = 2; +} + // Catalog is the container of databases. message Catalog { option (google.api.resource) = { @@ -336,6 +359,12 @@ message Table { // The table type. Type type = 6; + + // The checksum of a table object computed by the server based on the value of + // other fields. It may be sent on update requests to ensure the client has an + // up-to-date value before proceeding. It is only checked for update table + // operations. + string etag = 8; } // Represents a lock. @@ -602,7 +631,7 @@ message DeleteTableRequest { message UpdateTableRequest { // Required. The table to update. // - // The table's `name` field is used to identify the database to update. + // The table's `name` field is used to identify the table to update. // Format: // projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id} Table table = 1 [(google.api.field_behavior) = REQUIRED]; @@ -615,6 +644,25 @@ message UpdateTableRequest { google.protobuf.FieldMask update_mask = 2; } +// Request message for the RenameTable method in MetastoreService +message RenameTableRequest { + // Required. The table's `name` field is used to identify the table to rename. + // Format: + // projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id} + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "biglake.googleapis.com/Table" } + ]; + + // Required. The new `name` for the specified table, must be in the same + // database. Format: + // projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id} + string new_name = 2 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "biglake.googleapis.com/Table" } + ]; +} + // Request message for the GetTable method. message GetTableRequest { // Required. The name of the table to retrieve. @@ -650,6 +698,9 @@ message ListTablesRequest { // When paginating, all other parameters provided to `ListTables` must match // the call that provided the page token. string page_token = 3; + + // The view for the returned tables. + TableView view = 4; } // Response message for the ListTables method. diff --git a/third_party/googleapis/google/cloud/bigquery/connection/BUILD.bazel b/third_party/googleapis/google/cloud/bigquery/connection/BUILD.bazel index c9d0ec742..4c9360e47 100644 --- a/third_party/googleapis/google/cloud/bigquery/connection/BUILD.bazel +++ b/third_party/googleapis/google/cloud/bigquery/connection/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-bigquery-connection", "ruby-cloud-env-prefix=BIGQUERY_CONNECTION", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.17", "ruby-cloud-product-url=https://cloud.google.com/bigquery/docs/reference/bigqueryconnection", "ruby-cloud-api-id=bigqueryconnection.googleapis.com", "ruby-cloud-api-shortname=bigqueryconnection", ], ruby_cloud_description = "The BigQuery Connection API allows users to manage BigQuery connections to external data sources.", ruby_cloud_title = "BigQuery Connection", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/bigquery/connection/v1/BUILD.bazel b/third_party/googleapis/google/cloud/bigquery/connection/v1/BUILD.bazel index 29d455ef7..4d675a883 100644 --- a/third_party/googleapis/google/cloud/bigquery/connection/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/bigquery/connection/v1/BUILD.bazel @@ -64,6 +64,7 @@ java_gapic_library( gapic_yaml = "connection_gapic.yaml", grpc_service_config = "bigqueryconnection_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "bigqueryconnection_v1.yaml", test_deps = [ ":connection_java_grpc", "//google/iam/v1:iam_java_grpc", @@ -105,7 +106,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -135,18 +135,12 @@ go_gapic_library( ], ) -go_test( - name = "connection_go_gapic_test", - srcs = [":connection_go_gapic_srcjar_test"], - embed = [":connection_go_gapic"], - importpath = "cloud.google.com/go/bigquery/connection/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-bigquery-connection-v1-go", deps = [ ":connection_go_gapic", + ":connection_go_gapic_srcjar-snippets.srcjar", ":connection_go_gapic_srcjar-test.srcjar", ":connection_go_proto", ], @@ -203,7 +197,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -212,23 +205,15 @@ php_proto_library( deps = [":connection_proto"], ) -php_grpc_library( - name = "connection_php_grpc", - srcs = [":connection_proto"], - deps = [":connection_php_proto"], -) - php_gapic_library( name = "connection_php_gapic", srcs = [":connection_proto_with_info"], grpc_service_config = "bigqueryconnection_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "bigqueryconnection_v1.yaml", transport = "grpc+rest", - deps = [ - ":connection_php_grpc", - ":connection_php_proto", - ], + deps = [":connection_php_proto"], ) # Open Source Packages @@ -236,7 +221,6 @@ php_gapic_assembly_pkg( name = "google-cloud-bigquery-connection-v1-php", deps = [ ":connection_php_gapic", - ":connection_php_grpc", ":connection_php_proto", ], ) @@ -309,6 +293,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "The BigQuery Connection API allows users to manage BigQuery connections to external data sources.", ruby_cloud_title = "BigQuery Connection V1", service_yaml = "bigqueryconnection_v1.yaml", + transport = "grpc+rest", deps = [ ":connection_ruby_grpc", ":connection_ruby_proto", diff --git a/third_party/googleapis/google/cloud/bigquery/connection/v1/connection.proto b/third_party/googleapis/google/cloud/bigquery/connection/v1/connection.proto index 6ab5a8b54..d09418ad7 100644 --- a/third_party/googleapis/google/cloud/bigquery/connection/v1/connection.proto +++ b/third_party/googleapis/google/cloud/bigquery/connection/v1/connection.proto @@ -30,6 +30,14 @@ option go_package = "cloud.google.com/go/bigquery/connection/apiv1/connectionpb; option java_multiple_files = true; option java_package = "com.google.cloud.bigquery.connection.v1"; option php_namespace = "Google\\Cloud\\BigQuery\\Connection\\V1"; +option (google.api.resource_definition) = { + type: "dataproc.googleapis.com/Cluster" + pattern: "projects/{project}/regions/{region}/clusters/{cluster}" +}; +option (google.api.resource_definition) = { + type: "metastore.googleapis.com/Service" + pattern: "projects/{project}/locations/{location}/services/{service}" +}; // Manages external data source connections and credentials. service ConnectionService { @@ -252,6 +260,15 @@ message Connection { // Cloud Resource properties. CloudResourceProperties cloud_resource = 22; + + // Spark properties. + SparkProperties spark = 23; + + // Optional. Salesforce DataCloud properties. This field is intended for + // use only by Salesforce partner projects. This field contains properties + // for your Salesforce DataCloud connection. + SalesforceDataCloudProperties salesforce_data_cloud = 24 + [(google.api.field_behavior) = OPTIONAL]; } // Output only. The creation timestamp of the connection. @@ -316,23 +333,39 @@ message CloudSpannerProperties { // If parallelism should be used when reading from Cloud Spanner bool use_parallelism = 2; + // Allows setting max parallelism per query when executing on Spanner + // independent compute resources. If unspecified, default values of + // parallelism are chosen that are dependent on the Cloud Spanner instance + // configuration. + // + // REQUIRES: `use_parallelism` must be set. + // REQUIRES: Either `use_data_boost` or `use_serverless_analytics` must be + // set. + int32 max_parallelism = 5; + // If the serverless analytics service should be used to read data from Cloud // Spanner. // Note: `use_parallelism` must be set when using serverless analytics. bool use_serverless_analytics = 3; + // If set, the request will be executed via Spanner independent compute + // resources. + // REQUIRES: `use_parallelism` must be set. + // + // NOTE: `use_serverless_analytics` will be deprecated. Prefer + // `use_data_boost` over `use_serverless_analytics`. + bool use_data_boost = 6; + // Optional. Cloud Spanner database role for fine-grained access control. - // A database role is a collection of fine-grained access privileges. Example: - // Admin predefines roles that provides user a set of permissions (SELECT, - // INSERT, ..). The user can then specify a predefined role on a connection to - // execute their Cloud Spanner query. The role is passthrough here. If the - // user is not authorized to use the specified role, they get an error. This - // validation happens on Cloud Spanner. + // The Cloud Spanner admin should have provisioned the database role with + // appropriate permissions, such as `SELECT` and `INSERT`. Other users should + // only use roles provided by their Cloud Spanner admins. // - // See https://cloud.google.com/spanner/docs/fgac-about for more details. + // For more details, see [About fine-grained access control] + // (https://cloud.google.com/spanner/docs/fgac-about). // - // REQUIRES: database role name must start with uppercase/lowercase letter - // and only contain uppercase/lowercase letters, numbers, and underscores. + // REQUIRES: The database role name must start with a letter, and can only + // contain letters, numbers, and underscores. string database_role = 4 [(google.api.field_behavior) = OPTIONAL]; } @@ -424,3 +457,73 @@ message CloudResourceProperties { // @gcp-sa-bigquery-cloudresource.iam.gserviceaccount.com string service_account_id = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; } + +// Configuration of the Dataproc Metastore Service. +message MetastoreServiceConfig { + // Optional. Resource name of an existing Dataproc Metastore service. + // + // Example: + // + // * `projects/[project_id]/locations/[region]/services/[service_id]` + string metastore_service = 1 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.resource_reference) = { + type: "metastore.googleapis.com/Service" + } + ]; +} + +// Configuration of the Spark History Server. +message SparkHistoryServerConfig { + // Optional. Resource name of an existing Dataproc Cluster to act as a Spark + // History Server for the connection. + // + // Example: + // + // * `projects/[project_id]/regions/[region]/clusters/[cluster_name]` + string dataproc_cluster = 1 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.resource_reference) = { + type: "dataproc.googleapis.com/Cluster" + } + ]; +} + +// Container for connection properties to execute stored procedures for Apache +// Spark. +message SparkProperties { + // Output only. The account ID of the service created for the purpose of this + // connection. + // + // The service account does not have any permissions associated with it when + // it is created. After creation, customers delegate permissions to the + // service account. When the connection is used in the context of a stored + // procedure for Apache Spark in BigQuery, the service account is used to + // connect to the desired resources in Google Cloud. + // + // The account ID is in the form of: + // bqcx--@gcp-sa-bigquery-consp.iam.gserviceaccount.com + string service_account_id = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. Dataproc Metastore Service configuration for the connection. + MetastoreServiceConfig metastore_service_config = 3 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Spark History Server configuration for the connection. + SparkHistoryServerConfig spark_history_server_config = 4 + [(google.api.field_behavior) = OPTIONAL]; +} + +// Connection properties specific to Salesforce DataCloud. This is intended for +// use only by Salesforce partner projects. +message SalesforceDataCloudProperties { + // The URL to the user's Salesforce DataCloud instance. + string instance_uri = 1; + + // Output only. A unique Google-owned and Google-generated service account + // identity for the connection. + string identity = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // The ID of the user's Salesforce tenant. + string tenant_id = 3; +} diff --git a/third_party/googleapis/google/cloud/bigquery/connection/v1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/bigquery/connection/v1beta1/BUILD.bazel index 143b51ece..445482ef4 100644 --- a/third_party/googleapis/google/cloud/bigquery/connection/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/bigquery/connection/v1beta1/BUILD.bazel @@ -63,6 +63,7 @@ java_gapic_library( srcs = [":connection_proto_with_info"], grpc_service_config = "bigqueryconnection_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "bigqueryconnection_v1beta1.yaml", test_deps = [ ":connection_java_grpc", "//google/iam/v1:iam_java_grpc", @@ -104,7 +105,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -134,18 +134,12 @@ go_gapic_library( ], ) -go_test( - name = "connection_go_gapic_test", - srcs = [":connection_go_gapic_srcjar_test"], - embed = [":connection_go_gapic"], - importpath = "cloud.google.com/go/bigquery/connection/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-bigquery-connection-v1beta1-go", deps = [ ":connection_go_gapic", + ":connection_go_gapic_srcjar-snippets.srcjar", ":connection_go_gapic_srcjar-test.srcjar", ":connection_go_proto", ], @@ -197,7 +191,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -206,12 +199,6 @@ php_proto_library( deps = [":connection_proto"], ) -php_grpc_library( - name = "connection_php_grpc", - srcs = [":connection_proto"], - deps = [":connection_php_proto"], -) - php_gapic_library( name = "connection_php_gapic", srcs = [":connection_proto_with_info"], @@ -219,10 +206,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "bigqueryconnection_v1beta1.yaml", transport = "grpc+rest", - deps = [ - ":connection_php_grpc", - ":connection_php_proto", - ], + deps = [":connection_php_proto"], ) # Open Source Packages @@ -230,7 +214,6 @@ php_gapic_assembly_pkg( name = "google-cloud-bigquery-connection-v1beta1-php", deps = [ ":connection_php_gapic", - ":connection_php_grpc", ":connection_php_proto", ], ) @@ -292,6 +275,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-connection-v1beta1"], rest_numeric_enums = True, service_yaml = "bigqueryconnection_v1beta1.yaml", + transport = "grpc+rest", deps = [ ":connection_ruby_grpc", ":connection_ruby_proto", diff --git a/third_party/googleapis/google/cloud/bigquery/dataexchange/BUILD.bazel b/third_party/googleapis/google/cloud/bigquery/dataexchange/BUILD.bazel index c2457cb72..584143e80 100644 --- a/third_party/googleapis/google/cloud/bigquery/dataexchange/BUILD.bazel +++ b/third_party/googleapis/google/cloud/bigquery/dataexchange/BUILD.bazel @@ -24,7 +24,7 @@ ruby_cloud_gapic_library( "ruby-cloud-api-shortname=analyticshub", "ruby-cloud-gem-name=google-cloud-bigquery-data_exchange", "ruby-cloud-product-url=https://cloud.google.com/analytics-hub/", - "ruby-cloud-wrapper-of=v1beta1:0.0", + "ruby-cloud-wrapper-of=v1beta1:0.6", ], ruby_cloud_description = "Analytics Hub is a data exchange that allows you to efficiently and securely exchange data assets across organizations to address challenges of data reliability and cost. Curate a library of internal and external assets, including unique datasets like Google Trends, backed by the power of BigQuery.", ruby_cloud_title = "Analytics Hub", diff --git a/third_party/googleapis/google/cloud/bigquery/dataexchange/v1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/bigquery/dataexchange/v1beta1/BUILD.bazel index 0086e0d45..9c322092b 100644 --- a/third_party/googleapis/google/cloud/bigquery/dataexchange/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/bigquery/dataexchange/v1beta1/BUILD.bazel @@ -119,7 +119,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -150,19 +149,13 @@ go_gapic_library( ], ) -go_test( - name = "dataexchange_go_gapic_test", - srcs = [":dataexchange_go_gapic_srcjar_test"], - embed = [":dataexchange_go_gapic"], - importpath = "cloud.google.com/go/bigquery/dataexchange/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-bigquery-dataexchange-v1beta1-go", deps = [ ":dataexchange_go_gapic", ":dataexchange_go_gapic_srcjar-metadata.srcjar", + ":dataexchange_go_gapic_srcjar-snippets.srcjar", ":dataexchange_go_gapic_srcjar-test.srcjar", ":dataexchange_go_proto", ], @@ -220,7 +213,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -229,23 +221,15 @@ php_proto_library( deps = [":dataexchange_proto"], ) -php_grpc_library( - name = "dataexchange_php_grpc", - srcs = [":dataexchange_proto"], - deps = [":dataexchange_php_proto"], -) - php_gapic_library( name = "dataexchange_php_gapic", srcs = [":dataexchange_proto_with_info"], grpc_service_config = "analyticshub_v1beta1_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = False, service_yaml = "analyticshub_v1beta1.yaml", transport = "grpc+rest", - deps = [ - ":dataexchange_php_grpc", - ":dataexchange_php_proto", - ], + deps = [":dataexchange_php_proto"], ) # Open Source Packages @@ -253,7 +237,6 @@ php_gapic_assembly_pkg( name = "google-cloud-bigquery-dataexchange-v1beta1-php", deps = [ ":dataexchange_php_gapic", - ":dataexchange_php_grpc", ":dataexchange_php_proto", ], ) diff --git a/third_party/googleapis/google/cloud/bigquery/datapolicies/BUILD.bazel b/third_party/googleapis/google/cloud/bigquery/datapolicies/BUILD.bazel index 4a7f205d8..2b6fb1a0c 100644 --- a/third_party/googleapis/google/cloud/bigquery/datapolicies/BUILD.bazel +++ b/third_party/googleapis/google/cloud/bigquery/datapolicies/BUILD.bazel @@ -21,13 +21,14 @@ ruby_cloud_gapic_library( srcs = ["//google/cloud/bigquery/datapolicies/v1:datapolicies_proto_with_info"], extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-bigquery-data_policies", - "ruby-cloud-wrapper-of=v1:0.0;v1beta1:0.0", + "ruby-cloud-wrapper-of=v1:0.7;v1beta1:0.4", "ruby-cloud-product-url=https://cloud.google.com/bigquery", "ruby-cloud-api-id=bigquerydatapolicy.googleapis.com", "ruby-cloud-api-shortname=bigquerydatapolicy", ], ruby_cloud_description = "The Data Policy Service provides APIs for managing the BigQuery label-policy bindings.", ruby_cloud_title = "BigQuery Data Policy Service V1beta1", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/bigquery/datapolicies/v1/BUILD.bazel b/third_party/googleapis/google/cloud/bigquery/datapolicies/v1/BUILD.bazel index 4f0819c19..6c11ff48d 100644 --- a/third_party/googleapis/google/cloud/bigquery/datapolicies/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/bigquery/datapolicies/v1/BUILD.bazel @@ -115,7 +115,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -135,7 +134,7 @@ go_gapic_library( grpc_service_config = "datapolicies_v1_grpc_service_config.json", importpath = "cloud.google.com/go/bigquery/datapolicies/apiv1;datapolicies", metadata = True, - release_level = "beta", + release_level = "ga", rest_numeric_enums = True, service_yaml = "bigquerydatapolicy_v1.yaml", transport = "grpc+rest", @@ -145,19 +144,13 @@ go_gapic_library( ], ) -go_test( - name = "datapolicies_go_gapic_test", - srcs = [":datapolicies_go_gapic_srcjar_test"], - embed = [":datapolicies_go_gapic"], - importpath = "cloud.google.com/go/bigquery/datapolicies/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-bigquery-datapolicies-v1-go", deps = [ ":datapolicies_go_gapic", ":datapolicies_go_gapic_srcjar-metadata.srcjar", + ":datapolicies_go_gapic_srcjar-snippets.srcjar", ":datapolicies_go_gapic_srcjar-test.srcjar", ":datapolicies_go_proto", ], @@ -177,6 +170,10 @@ py_gapic_library( name = "datapolicies_py_gapic", srcs = [":datapolicies_proto"], grpc_service_config = "datapolicies_v1_grpc_service_config.json", + opt_args = [ + "python-gapic-namespace=google.cloud", + "python-gapic-name=bigquery_datapolicies", + ], rest_numeric_enums = True, service_yaml = "bigquerydatapolicy_v1.yaml", transport = "grpc+rest", @@ -210,7 +207,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -219,23 +215,15 @@ php_proto_library( deps = [":datapolicies_proto"], ) -php_grpc_library( - name = "datapolicies_php_grpc", - srcs = [":datapolicies_proto"], - deps = [":datapolicies_php_proto"], -) - php_gapic_library( name = "datapolicies_php_gapic", srcs = [":datapolicies_proto_with_info"], grpc_service_config = "datapolicies_v1_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "bigquerydatapolicy_v1.yaml", transport = "grpc+rest", - deps = [ - ":datapolicies_php_grpc", - ":datapolicies_php_proto", - ], + deps = [":datapolicies_php_proto"], ) # Open Source Packages @@ -243,7 +231,6 @@ php_gapic_assembly_pkg( name = "google-cloud-bigquery-datapolicies-v1-php", deps = [ ":datapolicies_php_gapic", - ":datapolicies_php_grpc", ":datapolicies_php_proto", ], ) @@ -314,6 +301,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "The Data Policy Service provides APIs for managing the BigQuery label-policy bindings.", ruby_cloud_title = "BigQuery Data Policy Service V1", service_yaml = "bigquerydatapolicy_v1.yaml", + transport = "grpc+rest", deps = [ ":datapolicies_ruby_grpc", ":datapolicies_ruby_proto", diff --git a/third_party/googleapis/google/cloud/bigquery/datapolicies/v1/datapolicy.proto b/third_party/googleapis/google/cloud/bigquery/datapolicies/v1/datapolicy.proto index 1677e7eb7..0557bc810 100644 --- a/third_party/googleapis/google/cloud/bigquery/datapolicies/v1/datapolicy.proto +++ b/third_party/googleapis/google/cloud/bigquery/datapolicies/v1/datapolicy.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -214,9 +214,10 @@ message ListDataPoliciesRequest { // are associated with. Currently filter only supports // "policy_tag" based filtering and OR based predicates. Sample // filter can be "policy_tag: - // `'projects/1/locations/us/taxonomies/2/policyTags/3'`". You may use - // wildcard such as "policy_tag: - // `'projects/1/locations/us/taxonomies/2/*'`". + // projects/1/locations/us/taxonomies/2/policyTags/3". + // You may also use wildcard such as "policy_tag: + // projects/1/locations/us/taxonomies/2*". Please note that OR predicates + // cannot be used with wildcard filters. string filter = 4; } @@ -300,21 +301,68 @@ message DataMaskingPolicy { // * FLOAT: 0.0 // * NUMERIC: 0 // * BOOLEAN: FALSE - // * TIMESTAMP: 0001-01-01 00:00:00 UTC - // * DATE: 0001-01-01 + // * TIMESTAMP: 1970-01-01 00:00:00 UTC + // * DATE: 1970-01-01 // * TIME: 00:00:00 - // * DATETIME: 0001-01-01T00:00:00 + // * DATETIME: 1970-01-01T00:00:00 // * GEOGRAPHY: POINT(0 0) // * BIGNUMERIC: 0 // * ARRAY: [] // * STRUCT: NOT_APPLICABLE // * JSON: NULL DEFAULT_MASKING_VALUE = 7; + + // Masking expression shows the last four characters of text. + // The masking behavior is as follows: + // + // * If text length > 4 characters: Replace text with XXXXX, append last + // four characters of original text. + // * If text length <= 4 characters: Apply SHA-256 hash. + LAST_FOUR_CHARACTERS = 9; + + // Masking expression shows the first four characters of text. + // The masking behavior is as follows: + // + // * If text length > 4 characters: Replace text with XXXXX, prepend first + // four characters of original text. + // * If text length <= 4 characters: Apply SHA-256 hash. + FIRST_FOUR_CHARACTERS = 10; + + // Masking expression for email addresses. + // The masking behavior is as follows: + // + // * Syntax-valid email address: Replace username with XXXXX. For example, + // cloudysanfrancisco@gmail.com becomes XXXXX@gmail.com. + // * Syntax-invalid email address: Apply SHA-256 hash. + // + // For more information, see [Email + // mask](https://cloud.google.com/bigquery/docs/column-data-masking-intro#masking_options). + EMAIL_MASK = 12; + + // Masking expression to only show the year of `Date`, + // `DateTime` and `TimeStamp`. For example, with the + // year 2076: + // + // * DATE : 2076-01-01 + // * DATETIME : 2076-01-01T00:00:00 + // * TIMESTAMP : 2076-01-01 00:00:00 UTC + // + // Truncation occurs according to the UTC time zone. To change this, adjust + // the default time zone using the `time_zone` system variable. + // For more information, see the System + // variables reference. + DATE_YEAR_MASK = 13; } // A masking expression to bind to the data masking rule. oneof masking_expression { // A predefined masking expression. PredefinedExpression predefined_expression = 1; + + // The name of the BigQuery routine that contains the custom masking + // routine, in the format of + // `projects/{project_number}/datasets/{dataset_id}/routines/{routine_id}`. + string routine = 3; } } diff --git a/third_party/googleapis/google/cloud/bigquery/datapolicies/v1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/bigquery/datapolicies/v1beta1/BUILD.bazel index 821352bf3..27a1aa82a 100644 --- a/third_party/googleapis/google/cloud/bigquery/datapolicies/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/bigquery/datapolicies/v1beta1/BUILD.bazel @@ -115,7 +115,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -145,19 +144,13 @@ go_gapic_library( ], ) -go_test( - name = "datapolicies_go_gapic_test", - srcs = [":datapolicies_go_gapic_srcjar_test"], - embed = [":datapolicies_go_gapic"], - importpath = "cloud.google.com/go/bigquery/datapolicies/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-bigquery-datapolicies-v1beta1-go", deps = [ ":datapolicies_go_gapic", ":datapolicies_go_gapic_srcjar-metadata.srcjar", + ":datapolicies_go_gapic_srcjar-snippets.srcjar", ":datapolicies_go_gapic_srcjar-test.srcjar", ":datapolicies_go_proto", ], @@ -177,6 +170,10 @@ py_gapic_library( name = "datapolicies_py_gapic", srcs = [":datapolicies_proto"], grpc_service_config = "datapolicies_v1beta1_grpc_service_config.json", + opt_args = [ + "python-gapic-namespace=google.cloud", + "python-gapic-name=bigquery_datapolicies", + ], rest_numeric_enums = False, service_yaml = "bigquerydatapolicy_v1beta1.yaml", transport = "grpc", @@ -210,7 +207,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -219,12 +215,6 @@ php_proto_library( deps = [":datapolicies_proto"], ) -php_grpc_library( - name = "datapolicies_php_grpc", - srcs = [":datapolicies_proto"], - deps = [":datapolicies_php_proto"], -) - php_gapic_library( name = "datapolicies_php_gapic", srcs = [":datapolicies_proto_with_info"], @@ -232,10 +222,7 @@ php_gapic_library( rest_numeric_enums = False, service_yaml = "bigquerydatapolicy_v1beta1.yaml", transport = "grpc+rest", - deps = [ - ":datapolicies_php_grpc", - ":datapolicies_php_proto", - ], + deps = [":datapolicies_php_proto"], ) # Open Source Packages @@ -243,7 +230,6 @@ php_gapic_assembly_pkg( name = "google-cloud-bigquery-datapolicies-v1beta1-php", deps = [ ":datapolicies_php_gapic", - ":datapolicies_php_grpc", ":datapolicies_php_proto", ], ) diff --git a/third_party/googleapis/google/cloud/bigquery/datatransfer/BUILD.bazel b/third_party/googleapis/google/cloud/bigquery/datatransfer/BUILD.bazel index 911042b26..6e8969f76 100644 --- a/third_party/googleapis/google/cloud/bigquery/datatransfer/BUILD.bazel +++ b/third_party/googleapis/google/cloud/bigquery/datatransfer/BUILD.bazel @@ -22,7 +22,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-bigquery-data_transfer", "ruby-cloud-env-prefix=DATA_TRANSFER", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.12", "ruby-cloud-product-url=https://cloud.google.com/bigquery/transfer", "ruby-cloud-api-id=bigquerydatatransfer.googleapis.com", "ruby-cloud-api-shortname=bigquerydatatransfer", @@ -30,6 +30,7 @@ ruby_cloud_gapic_library( ], ruby_cloud_description = "Schedules queries and transfers external data from SaaS applications to Google BigQuery on a regular basis.", ruby_cloud_title = "BigQuery Data Transfer Service", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/bigquery/datatransfer/v1/BUILD.bazel b/third_party/googleapis/google/cloud/bigquery/datatransfer/v1/BUILD.bazel index b77d3d37e..cb4ca955c 100644 --- a/third_party/googleapis/google/cloud/bigquery/datatransfer/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/bigquery/datatransfer/v1/BUILD.bazel @@ -120,7 +120,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -151,19 +150,13 @@ go_gapic_library( ], ) -go_test( - name = "datatransfer_go_gapic_test", - srcs = [":datatransfer_go_gapic_srcjar_test"], - embed = [":datatransfer_go_gapic"], - importpath = "cloud.google.com/go/bigquery/datatransfer/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-bigquery-datatransfer-v1-go", deps = [ ":datatransfer_go_gapic", ":datatransfer_go_gapic_srcjar-metadata.srcjar", + ":datatransfer_go_gapic_srcjar-snippets.srcjar", ":datatransfer_go_gapic_srcjar-test.srcjar", ":datatransfer_go_proto", ], @@ -219,7 +212,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -228,23 +220,15 @@ php_proto_library( deps = [":datatransfer_proto"], ) -php_grpc_library( - name = "datatransfer_php_grpc", - srcs = [":datatransfer_proto"], - deps = [":datatransfer_php_proto"], -) - php_gapic_library( name = "datatransfer_php_gapic", srcs = [":datatransfer_proto_with_info"], grpc_service_config = "bigquerydatatransfer_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "bigquerydatatransfer_v1.yaml", transport = "grpc+rest", - deps = [ - ":datatransfer_php_grpc", - ":datatransfer_php_proto", - ], + deps = [":datatransfer_php_proto"], ) # Open Source Packages @@ -252,7 +236,6 @@ php_gapic_assembly_pkg( name = "google-cloud-bigquery-datatransfer-v1-php", deps = [ ":datatransfer_php_gapic", - ":datatransfer_php_grpc", ":datatransfer_php_proto", ], ) @@ -325,6 +308,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Schedules queries and transfers external data from SaaS applications to Google BigQuery on a regular basis.", ruby_cloud_title = "BigQuery Data Transfer Service V1", service_yaml = "bigquerydatatransfer_v1.yaml", + transport = "grpc+rest", deps = [ ":datatransfer_ruby_grpc", ":datatransfer_ruby_proto", diff --git a/third_party/googleapis/google/cloud/bigquery/datatransfer/v1/datatransfer.proto b/third_party/googleapis/google/cloud/bigquery/datatransfer/v1/datatransfer.proto index 03bfb3b6d..67f7e4226 100644 --- a/third_party/googleapis/google/cloud/bigquery/datatransfer/v1/datatransfer.proto +++ b/third_party/googleapis/google/cloud/bigquery/datatransfer/v1/datatransfer.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -236,6 +236,18 @@ service DataTransferService { } }; } + + // Unenroll data sources in a user project. This allows users to remove + // transfer configurations for these data sources. They will no longer appear + // in the ListDataSources RPC and will also no longer appear in the [BigQuery + // UI](https://console.cloud.google.com/bigquery). + rpc UnenrollDataSources(UnenrollDataSourcesRequest) + returns (google.protobuf.Empty) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/*}:unenrollDataSources" + body: "*" + }; + } } // A parameter used to define custom fields in a data source definition. @@ -263,6 +275,9 @@ message DataSourceParameter { // Page ID for a Google+ Page. PLUS_PAGE = 6; + + // List of strings parameter. + LIST = 7; } // Parameter identifier. @@ -861,11 +876,16 @@ message StartManualTransferRunsRequest { // The requested time specification - this can be a time range or a specific // run_time. oneof time { - // Time range for the transfer runs that should be started. + // A time_range start and end timestamp for historical data files or reports + // that are scheduled to be transferred by the scheduled transfer run. + // requested_time_range must be a past time and cannot include future time + // values. TimeRange requested_time_range = 3; - // Specific run_time for a transfer run to be started. The - // requested_run_time must not be in the future. + // A run_time timestamp for historical data files or reports + // that are scheduled to be transferred by the scheduled transfer run. + // requested_run_time must be a past time and cannot include future time + // values. google.protobuf.Timestamp requested_run_time = 4; } } @@ -886,3 +906,14 @@ message EnrollDataSourcesRequest { // data source id. repeated string data_source_ids = 2; } + +// A request to unenroll a set of data sources so they are no longer visible in +// the BigQuery UI's `Transfer` tab. +message UnenrollDataSourcesRequest { + // The name of the project resource in the form: `projects/{project_id}` + string name = 1; + + // Data sources that are unenrolled. It is required to provide at least one + // data source id. + repeated string data_source_ids = 2; +} diff --git a/third_party/googleapis/google/cloud/bigquery/datatransfer/v1/transfer.proto b/third_party/googleapis/google/cloud/bigquery/datatransfer/v1/transfer.proto index 4c9eca8cf..e65b536bc 100644 --- a/third_party/googleapis/google/cloud/bigquery/datatransfer/v1/transfer.proto +++ b/third_party/googleapis/google/cloud/bigquery/datatransfer/v1/transfer.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,6 +20,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; +import "google/protobuf/wrappers.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.BigQuery.DataTransfer.V1"; @@ -117,9 +118,10 @@ message TransferConfig { }; // The resource name of the transfer config. - // Transfer config names have the form - // `projects/{project_id}/locations/{region}/transferConfigs/{config_id}`. - // Where `config_id` is usually a uuid, even though it is not + // Transfer config names have the form either + // `projects/{project_id}/locations/{region}/transferConfigs/{config_id}` or + // `projects/{project_id}/transferConfigs/{config_id}`, + // where `config_id` is usually a UUID, even though it is not // guaranteed or required. The name is ignored when creating a transfer // config. string name = 1; @@ -207,6 +209,19 @@ message TransferConfig { // transfer data. Populated only for `transferConfigs.get` requests. In case // the user information is not available, this field will not be populated. optional UserInfo owner_info = 27 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // The encryption configuration part. Currently, it is only used for the + // optional KMS key name. The BigQuery service account of your project must be + // granted permissions to use the key. Read methods will return the key name + // applied in effect. Write methods will apply the key if it is present, or + // otherwise try to apply project default keys if it is absent. + EncryptionConfiguration encryption_configuration = 28; +} + +// Represents the encryption configuration for a transfer. +message EncryptionConfiguration { + // The name of the KMS key used for encrypting BigQuery data. + google.protobuf.StringValue kms_key_name = 1; } // Represents a data transfer run. diff --git a/third_party/googleapis/google/cloud/bigquery/logging/v1/BUILD.bazel b/third_party/googleapis/google/cloud/bigquery/logging/v1/BUILD.bazel index b5188a8cf..b6da4da76 100644 --- a/third_party/googleapis/google/cloud/bigquery/logging/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/bigquery/logging/v1/BUILD.bazel @@ -95,7 +95,6 @@ py_gapic_assembly_pkg( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -104,20 +103,9 @@ php_proto_library( deps = [":logging_proto"], ) -php_grpc_library( - name = "logging_php_grpc", - srcs = [":logging_proto"], - deps = [":logging_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/bigquery/logging/v1/audit_data.proto b/third_party/googleapis/google/cloud/bigquery/logging/v1/audit_data.proto index e74e012dd..1f5bc5e43 100644 --- a/third_party/googleapis/google/cloud/bigquery/logging/v1/audit_data.proto +++ b/third_party/googleapis/google/cloud/bigquery/logging/v1/audit_data.proto @@ -22,6 +22,7 @@ import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; +option csharp_namespace = "Google.Cloud.BigQuery.Logging.V1"; option go_package = "cloud.google.com/go/bigquery/logging/apiv1/loggingpb;loggingpb"; option java_multiple_files = true; option java_outer_classname = "AuditDataProto"; @@ -564,8 +565,14 @@ message JobStatistics { // The total number of slot-ms consumed by the query job. int64 total_slot_ms = 8; - // Reservation usage. - repeated ReservationResourceUsage reservation_usage = 14; + // Reservation usage. This field reported misleading information and will + // no longer be populated. Aggregate usage of all jobs submitted to a + // reservation should provide a more reliable indicator of reservation + // imbalance. + repeated ReservationResourceUsage reservation_usage = 14 [deprecated = true]; + + // Reservation name or "unreserved" for on-demand resource usage. + string reservation = 16; // The first N tables accessed by the query job. Older queries that // reference a large number of tables may not have all of their diff --git a/third_party/googleapis/google/cloud/bigquery/migration/BUILD.bazel b/third_party/googleapis/google/cloud/bigquery/migration/BUILD.bazel index 9a8aa74c1..443a5e518 100644 --- a/third_party/googleapis/google/cloud/bigquery/migration/BUILD.bazel +++ b/third_party/googleapis/google/cloud/bigquery/migration/BUILD.bazel @@ -21,7 +21,7 @@ ruby_cloud_gapic_library( srcs = ["//google/cloud/bigquery/migration/v2:migration_proto_with_info"], extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-bigquery-migration", - "ruby-cloud-wrapper-of=v2:0.0", + "ruby-cloud-wrapper-of=v2:0.9", "ruby-cloud-product-url=https://cloud.google.com/bigquery/docs/reference/migration", "ruby-cloud-api-id=bigquerymigration.googleapis.com", "ruby-cloud-api-shortname=bigquerymigration", diff --git a/third_party/googleapis/google/cloud/bigquery/migration/v2/BUILD.bazel b/third_party/googleapis/google/cloud/bigquery/migration/v2/BUILD.bazel index d714f40b4..aaf7e701b 100644 --- a/third_party/googleapis/google/cloud/bigquery/migration/v2/BUILD.bazel +++ b/third_party/googleapis/google/cloud/bigquery/migration/v2/BUILD.bazel @@ -119,7 +119,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -151,19 +150,13 @@ go_gapic_library( ], ) -go_test( - name = "migration_go_gapic_test", - srcs = [":migration_go_gapic_srcjar_test"], - embed = [":migration_go_gapic"], - importpath = "cloud.google.com/go/bigquery/migration/apiv2", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-bigquery-migration-v2-go", deps = [ ":migration_go_gapic", ":migration_go_gapic_srcjar-metadata.srcjar", + ":migration_go_gapic_srcjar-snippets.srcjar", ":migration_go_gapic_srcjar-test.srcjar", ":migration_go_proto", ], @@ -217,7 +210,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -226,23 +218,15 @@ php_proto_library( deps = [":migration_proto"], ) -php_grpc_library( - name = "migration_php_grpc", - srcs = [":migration_proto"], - deps = [":migration_php_proto"], -) - php_gapic_library( name = "migration_php_gapic", srcs = [":migration_proto_with_info"], grpc_service_config = "bigquerymigration_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = False, service_yaml = "bigquerymigration_v2.yaml", transport = "grpc+rest", - deps = [ - ":migration_php_grpc", - ":migration_php_proto", - ], + deps = [":migration_php_proto"], ) # Open Source Packages @@ -250,7 +234,6 @@ php_gapic_assembly_pkg( name = "google-cloud-bigquery-migration-v2-php", deps = [ ":migration_php_gapic", - ":migration_php_grpc", ":migration_php_proto", ], ) diff --git a/third_party/googleapis/google/cloud/bigquery/migration/v2/migration_entities.proto b/third_party/googleapis/google/cloud/bigquery/migration/v2/migration_entities.proto index 5cdf85a0c..39b6f4e3d 100644 --- a/third_party/googleapis/google/cloud/bigquery/migration/v2/migration_entities.proto +++ b/third_party/googleapis/google/cloud/bigquery/migration/v2/migration_entities.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -135,7 +135,8 @@ message MigrationTask { // Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ, // Translation_Snowflake2BQ, Translation_Netezza2BQ, // Translation_AzureSynapse2BQ, Translation_Vertica2BQ, - // Translation_SQLServer2BQ, Translation_Presto2BQ, Translation_MySQL2BQ. + // Translation_SQLServer2BQ, Translation_Presto2BQ, Translation_MySQL2BQ, + // Translation_Postgresql2BQ. string type = 2; // Output only. The current state of the task. @@ -182,6 +183,10 @@ message MigrationSubtask { // The subtask is paused, i.e., it will not be scheduled. If it was already // assigned,it might still finish but no new lease renewals will be granted. PAUSED = 5; + + // The subtask is pending a dependency. It will be scheduled once its + // dependencies are done. + PENDING_DEPENDENCY = 6; } // Output only. Immutable. The resource name for the migration subtask. The ID diff --git a/third_party/googleapis/google/cloud/bigquery/migration/v2/migration_error_details.proto b/third_party/googleapis/google/cloud/bigquery/migration/v2/migration_error_details.proto index 09f241f57..244f52f0e 100644 --- a/third_party/googleapis/google/cloud/bigquery/migration/v2/migration_error_details.proto +++ b/third_party/googleapis/google/cloud/bigquery/migration/v2/migration_error_details.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -29,13 +29,15 @@ option php_namespace = "Google\\Cloud\\BigQuery\\Migration\\V2"; // Provides details for errors and the corresponding resources. message ResourceErrorDetail { // Required. Information about the resource where the error is located. - google.rpc.ResourceInfo resource_info = 1 [(google.api.field_behavior) = REQUIRED]; + google.rpc.ResourceInfo resource_info = 1 + [(google.api.field_behavior) = REQUIRED]; // Required. The error details for the resource. - repeated ErrorDetail error_details = 2 [(google.api.field_behavior) = REQUIRED]; + repeated ErrorDetail error_details = 2 + [(google.api.field_behavior) = REQUIRED]; - // Required. How many errors there are in total for the resource. Truncation can be - // indicated by having an `error_count` that is higher than the size of + // Required. How many errors there are in total for the resource. Truncation + // can be indicated by having an `error_count` that is higher than the size of // `error_details`. int32 error_count = 3 [(google.api.field_behavior) = REQUIRED]; } @@ -52,11 +54,11 @@ message ErrorDetail { // Holds information about where the error is located. message ErrorLocation { - // Optional. If applicable, denotes the line where the error occurred. A zero value - // means that there is no line information. + // Optional. If applicable, denotes the line where the error occurred. A zero + // value means that there is no line information. int32 line = 1 [(google.api.field_behavior) = OPTIONAL]; - // Optional. If applicable, denotes the column where the error occurred. A zero value - // means that there is no columns information. + // Optional. If applicable, denotes the column where the error occurred. A + // zero value means that there is no columns information. int32 column = 2 [(google.api.field_behavior) = OPTIONAL]; } diff --git a/third_party/googleapis/google/cloud/bigquery/migration/v2/migration_metrics.proto b/third_party/googleapis/google/cloud/bigquery/migration/v2/migration_metrics.proto index 0155740be..35bd4546f 100644 --- a/third_party/googleapis/google/cloud/bigquery/migration/v2/migration_metrics.proto +++ b/third_party/googleapis/google/cloud/bigquery/migration/v2/migration_metrics.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -36,7 +36,8 @@ message TimeSeries { string metric = 1 [(google.api.field_behavior) = REQUIRED]; // Required. The value type of the time series. - google.api.MetricDescriptor.ValueType value_type = 2 [(google.api.field_behavior) = REQUIRED]; + google.api.MetricDescriptor.ValueType value_type = 2 + [(google.api.field_behavior) = REQUIRED]; // Optional. The metric kind of the time series. // @@ -44,10 +45,11 @@ message TimeSeries { // metric. If the associated metric's descriptor must be auto-created, then // this field specifies the metric kind of the new descriptor and must be // either `GAUGE` (the default) or `CUMULATIVE`. - google.api.MetricDescriptor.MetricKind metric_kind = 3 [(google.api.field_behavior) = OPTIONAL]; + google.api.MetricDescriptor.MetricKind metric_kind = 3 + [(google.api.field_behavior) = OPTIONAL]; - // Required. The data points of this time series. When listing time series, points are - // returned in reverse time order. + // Required. The data points of this time series. When listing time series, + // points are returned in reverse time order. // // When creating a time series, this field must contain exactly one point and // the point's type must be the same as the value type of the associated @@ -81,10 +83,12 @@ message TimeInterval { // Optional. The beginning of the time interval. The default value // for the start time is the end time. The start time must not be // later than the end time. - google.protobuf.Timestamp start_time = 1 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.Timestamp start_time = 1 + [(google.api.field_behavior) = OPTIONAL]; // Required. The end of the time interval. - google.protobuf.Timestamp end_time = 2 [(google.api.field_behavior) = REQUIRED]; + google.protobuf.Timestamp end_time = 2 + [(google.api.field_behavior) = REQUIRED]; } // A single strongly-typed value. diff --git a/third_party/googleapis/google/cloud/bigquery/migration/v2/migration_service.proto b/third_party/googleapis/google/cloud/bigquery/migration/v2/migration_service.proto index 27303e21b..3053a519a 100644 --- a/third_party/googleapis/google/cloud/bigquery/migration/v2/migration_service.proto +++ b/third_party/googleapis/google/cloud/bigquery/migration/v2/migration_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -34,10 +34,12 @@ option php_namespace = "Google\\Cloud\\BigQuery\\Migration\\V2"; // Service to handle EDW migrations. service MigrationService { option (google.api.default_host) = "bigquerymigration.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Creates a migration workflow. - rpc CreateMigrationWorkflow(CreateMigrationWorkflowRequest) returns (MigrationWorkflow) { + rpc CreateMigrationWorkflow(CreateMigrationWorkflowRequest) + returns (MigrationWorkflow) { option (google.api.http) = { post: "/v2/{parent=projects/*/locations/*}/workflows" body: "migration_workflow" @@ -46,7 +48,8 @@ service MigrationService { } // Gets a previously created migration workflow. - rpc GetMigrationWorkflow(GetMigrationWorkflowRequest) returns (MigrationWorkflow) { + rpc GetMigrationWorkflow(GetMigrationWorkflowRequest) + returns (MigrationWorkflow) { option (google.api.http) = { get: "/v2/{name=projects/*/locations/*/workflows/*}" }; @@ -54,7 +57,8 @@ service MigrationService { } // Lists previously created migration workflow. - rpc ListMigrationWorkflows(ListMigrationWorkflowsRequest) returns (ListMigrationWorkflowsResponse) { + rpc ListMigrationWorkflows(ListMigrationWorkflowsRequest) + returns (ListMigrationWorkflowsResponse) { option (google.api.http) = { get: "/v2/{parent=projects/*/locations/*}/workflows" }; @@ -62,7 +66,8 @@ service MigrationService { } // Deletes a migration workflow by name. - rpc DeleteMigrationWorkflow(DeleteMigrationWorkflowRequest) returns (google.protobuf.Empty) { + rpc DeleteMigrationWorkflow(DeleteMigrationWorkflowRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v2/{name=projects/*/locations/*/workflows/*}" }; @@ -73,7 +78,8 @@ service MigrationService { // from DRAFT to RUNNING. This is a no-op if the state is already RUNNING. // An error will be signaled if the state is anything other than DRAFT or // RUNNING. - rpc StartMigrationWorkflow(StartMigrationWorkflowRequest) returns (google.protobuf.Empty) { + rpc StartMigrationWorkflow(StartMigrationWorkflowRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { post: "/v2/{name=projects/*/locations/*/workflows/*}:start" body: "*" @@ -82,7 +88,8 @@ service MigrationService { } // Gets a previously created migration subtask. - rpc GetMigrationSubtask(GetMigrationSubtaskRequest) returns (MigrationSubtask) { + rpc GetMigrationSubtask(GetMigrationSubtaskRequest) + returns (MigrationSubtask) { option (google.api.http) = { get: "/v2/{name=projects/*/locations/*/workflows/*/subtasks/*}" }; @@ -90,7 +97,8 @@ service MigrationService { } // Lists previously created migration subtasks. - rpc ListMigrationSubtasks(ListMigrationSubtasksRequest) returns (ListMigrationSubtasksResponse) { + rpc ListMigrationSubtasks(ListMigrationSubtasksRequest) + returns (ListMigrationSubtasksResponse) { option (google.api.http) = { get: "/v2/{parent=projects/*/locations/*/workflows/*}/subtasks" }; @@ -110,7 +118,8 @@ message CreateMigrationWorkflowRequest { ]; // Required. The migration workflow to create. - MigrationWorkflow migration_workflow = 2 [(google.api.field_behavior) = REQUIRED]; + MigrationWorkflow migration_workflow = 2 + [(google.api.field_behavior) = REQUIRED]; } // A request to get a previously created migration workflow. @@ -200,7 +209,8 @@ message GetMigrationSubtaskRequest { ]; // Optional. The list of fields to be retrieved. - google.protobuf.FieldMask read_mask = 2 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.FieldMask read_mask = 2 + [(google.api.field_behavior) = OPTIONAL]; } // A request to list previously created migration subtasks. @@ -215,22 +225,23 @@ message ListMigrationSubtasksRequest { ]; // Optional. The list of fields to be retrieved. - google.protobuf.FieldMask read_mask = 2 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.FieldMask read_mask = 2 + [(google.api.field_behavior) = OPTIONAL]; - // Optional. The maximum number of migration tasks to return. The service may return - // fewer than this number. + // Optional. The maximum number of migration tasks to return. The service may + // return fewer than this number. int32 page_size = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. A page token, received from previous `ListMigrationSubtasks` call. - // Provide this to retrieve the subsequent page. + // Optional. A page token, received from previous `ListMigrationSubtasks` + // call. Provide this to retrieve the subsequent page. // // When paginating, all other parameters provided to `ListMigrationSubtasks` // must match the call that provided the page token. string page_token = 4 [(google.api.field_behavior) = OPTIONAL]; - // Optional. The filter to apply. This can be used to get the subtasks of a specific - // tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the - // task ID (not the name in the named map). + // Optional. The filter to apply. This can be used to get the subtasks of a + // specific tasks in a workflow, e.g. `migration_task = "ab012"` where + // `"ab012"` is the task ID (not the name in the named map). string filter = 5 [(google.api.field_behavior) = OPTIONAL]; } diff --git a/third_party/googleapis/google/cloud/bigquery/migration/v2/translation_config.proto b/third_party/googleapis/google/cloud/bigquery/migration/v2/translation_config.proto index 946f48f39..83ef4a61f 100644 --- a/third_party/googleapis/google/cloud/bigquery/migration/v2/translation_config.proto +++ b/third_party/googleapis/google/cloud/bigquery/migration/v2/translation_config.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -38,12 +38,6 @@ message TranslationConfigDetails { string gcs_target_path = 2; } - // The dialect of the input files. - Dialect source_dialect = 3; - - // The target dialect for the engine to translate the input to. - Dialect target_dialect = 4; - // The mapping of full SQL object names from their current state to the // desired output. oneof output_name_mapping { @@ -51,8 +45,17 @@ message TranslationConfigDetails { ObjectNameMappingList name_mapping_list = 5; } + // The dialect of the input files. + Dialect source_dialect = 3; + + // The target dialect for the engine to translate the input to. + Dialect target_dialect = 4; + // The default source environment values for the translation. SourceEnv source_env = 6; + + // The indicator to show translation request initiator. + string request_source = 8; } // The possible dialect options for translation. diff --git a/third_party/googleapis/google/cloud/bigquery/migration/v2alpha/BUILD.bazel b/third_party/googleapis/google/cloud/bigquery/migration/v2alpha/BUILD.bazel index 765a41d86..a488b1cce 100644 --- a/third_party/googleapis/google/cloud/bigquery/migration/v2alpha/BUILD.bazel +++ b/third_party/googleapis/google/cloud/bigquery/migration/v2alpha/BUILD.bazel @@ -80,6 +80,7 @@ java_gapic_library( srcs = [":migration_proto_with_info"], grpc_service_config = "bigquerymigration_grpc_service_config.json", rest_numeric_enums = False, + service_yaml = "bigquerymigration_v2alpha.yaml", test_deps = [ ":migration_java_grpc", ], @@ -119,7 +120,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -150,19 +150,13 @@ go_gapic_library( ], ) -go_test( - name = "migration_go_gapic_test", - srcs = [":migration_go_gapic_srcjar_test"], - embed = [":migration_go_gapic"], - importpath = "cloud.google.com/go/bigquery/migration/apiv2alpha", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-bigquery-migration-v2alpha-go", deps = [ ":migration_go_gapic", ":migration_go_gapic_srcjar-metadata.srcjar", + ":migration_go_gapic_srcjar-snippets.srcjar", ":migration_go_gapic_srcjar-test.srcjar", ":migration_go_proto", ], @@ -216,7 +210,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -225,12 +218,6 @@ php_proto_library( deps = [":migration_proto"], ) -php_grpc_library( - name = "migration_php_grpc", - srcs = [":migration_proto"], - deps = [":migration_php_proto"], -) - php_gapic_library( name = "migration_php_gapic", srcs = [":migration_proto_with_info"], @@ -238,10 +225,7 @@ php_gapic_library( rest_numeric_enums = False, service_yaml = "bigquerymigration_v2alpha.yaml", transport = "grpc+rest", - deps = [ - ":migration_php_grpc", - ":migration_php_proto", - ], + deps = [":migration_php_proto"], ) # Open Source Packages @@ -249,7 +233,6 @@ php_gapic_assembly_pkg( name = "google-cloud-bigquery-migration-v2alpha-php", deps = [ ":migration_php_gapic", - ":migration_php_grpc", ":migration_php_proto", ], ) diff --git a/third_party/googleapis/google/cloud/bigquery/reservation/BUILD.bazel b/third_party/googleapis/google/cloud/bigquery/reservation/BUILD.bazel index f06075737..95fd2a419 100644 --- a/third_party/googleapis/google/cloud/bigquery/reservation/BUILD.bazel +++ b/third_party/googleapis/google/cloud/bigquery/reservation/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-bigquery-reservation", "ruby-cloud-env-prefix=BIGQUERY_RESERVATION", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.11", "ruby-cloud-product-url=https://cloud.google.com/bigquery/docs/reference/reservations", "ruby-cloud-api-id=bigqueryreservation.googleapis.com", "ruby-cloud-api-shortname=bigqueryreservation", ], ruby_cloud_description = "The BigQuery Reservation API provides the mechanisms by which enterprise users can provision and manage dedicated resources such as slots and BigQuery BI Engine memory allocations.", ruby_cloud_title = "BigQuery Reservation", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/bigquery/reservation/v1/BUILD.bazel b/third_party/googleapis/google/cloud/bigquery/reservation/v1/BUILD.bazel index bcd1658f6..4aba03f3d 100644 --- a/third_party/googleapis/google/cloud/bigquery/reservation/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/bigquery/reservation/v1/BUILD.bazel @@ -113,7 +113,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -142,19 +141,13 @@ go_gapic_library( ], ) -go_test( - name = "reservation_go_gapic_test", - srcs = [":reservation_go_gapic_srcjar_test"], - embed = [":reservation_go_gapic"], - importpath = "cloud.google.com/go/bigquery/reservation/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-bigquery-reservation-v1-go", deps = [ ":reservation_go_gapic", ":reservation_go_gapic_srcjar-metadata.srcjar", + ":reservation_go_gapic_srcjar-snippets.srcjar", ":reservation_go_gapic_srcjar-test.srcjar", ":reservation_go_proto", ], @@ -208,7 +201,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -217,23 +209,15 @@ php_proto_library( deps = [":reservation_proto"], ) -php_grpc_library( - name = "reservation_php_grpc", - srcs = [":reservation_proto"], - deps = [":reservation_php_proto"], -) - php_gapic_library( name = "reservation_php_gapic", srcs = [":reservation_proto_with_info"], grpc_service_config = "bigqueryreservation_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "bigqueryreservation_v1.yaml", transport = "grpc+rest", - deps = [ - ":reservation_php_grpc", - ":reservation_php_proto", - ], + deps = [":reservation_php_proto"], ) # Open Source Packages @@ -241,7 +225,6 @@ php_gapic_assembly_pkg( name = "google-cloud-bigquery-reservation-v1-php", deps = [ ":reservation_php_gapic", - ":reservation_php_grpc", ":reservation_php_proto", ], ) @@ -313,6 +296,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "The BigQuery Reservation API provides the mechanisms by which enterprise users can provision and manage dedicated resources such as slots and BigQuery BI Engine memory allocations.", ruby_cloud_title = "BigQuery Reservation V1", service_yaml = "bigqueryreservation_v1.yaml", + transport = "grpc+rest", deps = [ ":reservation_ruby_grpc", ":reservation_ruby_proto", diff --git a/third_party/googleapis/google/cloud/bigquery/reservation/v1/bigqueryreservation_v1.yaml b/third_party/googleapis/google/cloud/bigquery/reservation/v1/bigqueryreservation_v1.yaml index ebb2e983f..2a42dacd6 100644 --- a/third_party/googleapis/google/cloud/bigquery/reservation/v1/bigqueryreservation_v1.yaml +++ b/third_party/googleapis/google/cloud/bigquery/reservation/v1/bigqueryreservation_v1.yaml @@ -12,10 +12,6 @@ documentation: backend: rules: - selector: 'google.cloud.bigquery.reservation.v1.ReservationService.*' - deadline: 30.0 - - selector: google.cloud.bigquery.reservation.v1.ReservationService.CreateCapacityCommitment - deadline: 300.0 - - selector: google.cloud.bigquery.reservation.v1.ReservationService.DeleteCapacityCommitment deadline: 300.0 authentication: diff --git a/third_party/googleapis/google/cloud/bigquery/reservation/v1/reservation.proto b/third_party/googleapis/google/cloud/bigquery/reservation/v1/reservation.proto index 013095ef3..a3d262c40 100644 --- a/third_party/googleapis/google/cloud/bigquery/reservation/v1/reservation.proto +++ b/third_party/googleapis/google/cloud/bigquery/reservation/v1/reservation.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -32,7 +32,7 @@ option java_outer_classname = "ReservationProto"; option java_package = "com.google.cloud.bigquery.reservation.v1"; option php_namespace = "Google\\Cloud\\BigQuery\\Reservation\\V1"; -// This API allows users to manage their flat-rate BigQuery reservations. +// This API allows users to manage their BigQuery reservations. // // A reservation provides computational resource guarantees, in the form of // [slots](https://cloud.google.com/bigquery/docs/slots), to users. A slot is a @@ -63,7 +63,8 @@ service ReservationService { } // Lists all the reservations for the project in the specified location. - rpc ListReservations(ListReservationsRequest) returns (ListReservationsResponse) { + rpc ListReservations(ListReservationsRequest) + returns (ListReservationsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/reservations" }; @@ -81,7 +82,8 @@ service ReservationService { // Deletes a reservation. // Returns `google.rpc.Code.FAILED_PRECONDITION` when reservation has // assignments. - rpc DeleteReservation(DeleteReservationRequest) returns (google.protobuf.Empty) { + rpc DeleteReservation(DeleteReservationRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/reservations/*}" }; @@ -98,7 +100,8 @@ service ReservationService { } // Creates a new capacity commitment resource. - rpc CreateCapacityCommitment(CreateCapacityCommitmentRequest) returns (CapacityCommitment) { + rpc CreateCapacityCommitment(CreateCapacityCommitmentRequest) + returns (CapacityCommitment) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/capacityCommitments" body: "capacity_commitment" @@ -107,7 +110,8 @@ service ReservationService { } // Lists all the capacity commitments for the admin project. - rpc ListCapacityCommitments(ListCapacityCommitmentsRequest) returns (ListCapacityCommitmentsResponse) { + rpc ListCapacityCommitments(ListCapacityCommitmentsRequest) + returns (ListCapacityCommitmentsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/capacityCommitments" }; @@ -115,7 +119,8 @@ service ReservationService { } // Returns information about the capacity commitment. - rpc GetCapacityCommitment(GetCapacityCommitmentRequest) returns (CapacityCommitment) { + rpc GetCapacityCommitment(GetCapacityCommitmentRequest) + returns (CapacityCommitment) { option (google.api.http) = { get: "/v1/{name=projects/*/locations/*/capacityCommitments/*}" }; @@ -125,7 +130,8 @@ service ReservationService { // Deletes a capacity commitment. Attempting to delete capacity commitment // before its commitment_end_time will fail with the error code // `google.rpc.Code.FAILED_PRECONDITION`. - rpc DeleteCapacityCommitment(DeleteCapacityCommitmentRequest) returns (google.protobuf.Empty) { + rpc DeleteCapacityCommitment(DeleteCapacityCommitmentRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/capacityCommitments/*}" }; @@ -139,7 +145,8 @@ service ReservationService { // Plan can only be changed to a plan of a longer commitment period. // Attempting to change to a plan with shorter commitment period will fail // with the error code `google.rpc.Code.FAILED_PRECONDITION`. - rpc UpdateCapacityCommitment(UpdateCapacityCommitmentRequest) returns (CapacityCommitment) { + rpc UpdateCapacityCommitment(UpdateCapacityCommitmentRequest) + returns (CapacityCommitment) { option (google.api.http) = { patch: "/v1/{capacity_commitment.name=projects/*/locations/*/capacityCommitments/*}" body: "capacity_commitment" @@ -155,7 +162,8 @@ service ReservationService { // For example, in order to downgrade from 10000 slots to 8000, you might // split a 10000 capacity commitment into commitments of 2000 and 8000. Then, // you delete the first one after the commitment end time passes. - rpc SplitCapacityCommitment(SplitCapacityCommitmentRequest) returns (SplitCapacityCommitmentResponse) { + rpc SplitCapacityCommitment(SplitCapacityCommitmentRequest) + returns (SplitCapacityCommitmentResponse) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/capacityCommitments/*}:split" body: "*" @@ -170,7 +178,8 @@ service ReservationService { // // Attempting to merge capacity commitments of different plan will fail // with the error code `google.rpc.Code.FAILED_PRECONDITION`. - rpc MergeCapacityCommitments(MergeCapacityCommitmentsRequest) returns (CapacityCommitment) { + rpc MergeCapacityCommitments(MergeCapacityCommitmentsRequest) + returns (CapacityCommitment) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/capacityCommitments:merge" body: "*" @@ -242,7 +251,8 @@ service ReservationService { // specified project and location will be listed. // // **Note** "-" cannot be used for projects nor locations. - rpc ListAssignments(ListAssignmentsRequest) returns (ListAssignmentsResponse) { + rpc ListAssignments(ListAssignmentsRequest) + returns (ListAssignmentsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*/reservations/*}/assignments" }; @@ -264,7 +274,8 @@ service ReservationService { // affect the other assignment ``. After said deletion, // queries from `project1` will still use `res1` while queries from // `project2` will switch to use on-demand mode. - rpc DeleteAssignment(DeleteAssignmentRequest) returns (google.protobuf.Empty) { + rpc DeleteAssignment(DeleteAssignmentRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/reservations/*/assignments/*}" }; @@ -294,7 +305,8 @@ service ReservationService { // // **Note** "-" cannot be used for projects // nor locations. - rpc SearchAssignments(SearchAssignmentsRequest) returns (SearchAssignmentsResponse) { + rpc SearchAssignments(SearchAssignmentsRequest) + returns (SearchAssignmentsResponse) { option deprecated = true; option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}:searchAssignments" @@ -322,7 +334,8 @@ service ReservationService { // 2. Hierarchy lookup (project->folder->organization) happens in this API. // 3. Parent here is `projects/*/locations/*`, instead of // `projects/*/locations/*reservations/*`. - rpc SearchAllAssignments(SearchAllAssignmentsRequest) returns (SearchAllAssignmentsResponse) { + rpc SearchAllAssignments(SearchAllAssignmentsRequest) + returns (SearchAllAssignmentsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}:searchAllAssignments" }; @@ -385,6 +398,16 @@ message Reservation { pattern: "projects/{project}/locations/{location}/reservations/{reservation}" }; + // Auto scaling settings. + message Autoscale { + // Output only. The slot capacity added to this reservation when autoscale + // happens. Will be between [0, max_slots]. + int64 current_slots = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Number of slots to be scaled when needed. + int64 max_slots = 2; + } + // The resource name of the reservation, e.g., // `projects/*/locations/*/reservations/team1-prod`. // The reservation_id must only contain lower case alphanumeric characters or @@ -398,10 +421,10 @@ message Reservation { // Queries using this reservation might use more slots during runtime if // ignore_idle_slots is set to false. // - // If the new reservation's slot capacity exceeds the project's slot capacity - // or if total slot capacity of the new reservation and its siblings exceeds - // the project's slot capacity, the request will fail with - // `google.rpc.Code.RESOURCE_EXHAUSTED`. + // If total slot_capacity of the reservation and its siblings + // exceeds the total slot_count of all capacity commitments, the request will + // fail with `google.rpc.Code.RESOURCE_EXHAUSTED`. + // // // NOTE: for reservations in US or EU multi-regions, slot capacity constraints // are checked separately for default and auxiliary regions. See @@ -414,18 +437,27 @@ message Reservation { // capacity specified in the slot_capacity field at most. bool ignore_idle_slots = 4; - // Maximum number of queries that are allowed to run concurrently in this - // reservation. This is a soft limit due to asynchronous nature of the system - // and various optimizations for small queries. - // Default value is 0 which means that concurrency will be automatically set - // based on the reservation size. + // The configuration parameters for the auto scaling feature. Note this is an + // alpha feature. + Autoscale autoscale = 7; + + // Job concurrency target which sets a soft upper bound on the number of jobs + // that can run concurrently in this reservation. This is a soft target due to + // asynchronous nature of the system and various optimizations for small + // queries. + // Default value is 0 which means that concurrency target will be + // automatically computed by the system. + // NOTE: this field is exposed as `target_job_concurrency` in the Information + // Schema, DDL and BQ CLI. int64 concurrency = 16; // Output only. Creation time of the reservation. - google.protobuf.Timestamp creation_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp creation_time = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Last update time of the reservation. - google.protobuf.Timestamp update_time = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 9 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Applicable only for reservations located within one of the BigQuery // multi-regions (US or EU). @@ -433,7 +465,13 @@ message Reservation { // If set to true, this reservation is placed in the organization's // secondary region which is designated for disaster recovery purposes. // If false, this reservation is placed in the organization's default region. + // + // NOTE: this is a preview feature. Project must be allow-listed in order to + // set this field. bool multi_region_auxiliary = 14; + + // Edition of the reservation. + Edition edition = 17; } // Capacity commitment is a way to purchase compute capacity for BigQuery jobs @@ -464,6 +502,10 @@ message CapacityCommitment { // any time. FLEX = 3; + // Same as FLEX, should only be used if flat-rate commitments are still + // available. + FLEX_FLAT_RATE = 7 [deprecated = true]; + // Trial commitments have a committed period of 182 days after becoming // ACTIVE. After that, they are converted to a new commitment based on the // `renewal_plan`. Default `renewal_plan` for Trial commitment is Flex so @@ -475,10 +517,31 @@ message CapacityCommitment { // removed any time. MONTHLY = 2; + // Same as MONTHLY, should only be used if flat-rate commitments are still + // available. + MONTHLY_FLAT_RATE = 8 [deprecated = true]; + // Annual commitments have a committed period of 365 days after becoming // ACTIVE. After that they are converted to a new commitment based on the // renewal_plan. ANNUAL = 4; + + // Same as ANNUAL, should only be used if flat-rate commitments are still + // available. + ANNUAL_FLAT_RATE = 9 [deprecated = true]; + + // 3-year commitments have a committed period of 1095(3 * 365) days after + // becoming ACTIVE. After that they are converted to a new commitment based + // on the renewal_plan. + THREE_YEAR = 10; + + // Should only be used for `renewal_plan` and is only meaningful if + // edition is specified to values other than EDITION_UNSPECIFIED. Otherwise + // CreateCapacityCommitmentRequest or UpdateCapacityCommitmentRequest will + // be rejected with error code `google.rpc.Code.INVALID_ARGUMENT`. If the + // renewal_plan is NONE, capacity commitment will be removed at the end of + // its commitment period. + NONE = 6; } // Capacity commitment can either become ACTIVE right away or transition @@ -515,16 +578,19 @@ message CapacityCommitment { // Output only. State of the commitment. State state = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The start of the current commitment period. It is applicable only for - // ACTIVE capacity commitments. - google.protobuf.Timestamp commitment_start_time = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The start of the current commitment period. It is applicable + // only for ACTIVE capacity commitments. + google.protobuf.Timestamp commitment_start_time = 9 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The end of the current commitment period. It is applicable only for ACTIVE - // capacity commitments. - google.protobuf.Timestamp commitment_end_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The end of the current commitment period. It is applicable + // only for ACTIVE capacity commitments. + google.protobuf.Timestamp commitment_end_time = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. For FAILED commitment plan, provides the reason of failure. - google.rpc.Status failure_status = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.rpc.Status failure_status = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; // The plan this capacity commitment is converted to after commitment_end_time // passes. Once the plan is changed, committed period is extended according to @@ -537,10 +603,17 @@ message CapacityCommitment { // If set to true, this commitment is placed in the organization's // secondary region which is designated for disaster recovery purposes. // If false, this commitment is placed in the organization's default region. + // + // NOTE: this is a preview feature. Project must be allow-listed in order to + // set this field. bool multi_region_auxiliary = 10; + + // Edition of the capacity commitment. + Edition edition = 12; } -// The request for [ReservationService.CreateReservation][google.cloud.bigquery.reservation.v1.ReservationService.CreateReservation]. +// The request for +// [ReservationService.CreateReservation][google.cloud.bigquery.reservation.v1.ReservationService.CreateReservation]. message CreateReservationRequest { // Required. Project, location. E.g., // `projects/myproject/locations/US` @@ -560,7 +633,8 @@ message CreateReservationRequest { Reservation reservation = 3; } -// The request for [ReservationService.ListReservations][google.cloud.bigquery.reservation.v1.ReservationService.ListReservations]. +// The request for +// [ReservationService.ListReservations][google.cloud.bigquery.reservation.v1.ReservationService.ListReservations]. message ListReservationsRequest { // Required. The parent resource name containing project and location, e.g.: // `projects/myproject/locations/US` @@ -578,7 +652,8 @@ message ListReservationsRequest { string page_token = 3; } -// The response for [ReservationService.ListReservations][google.cloud.bigquery.reservation.v1.ReservationService.ListReservations]. +// The response for +// [ReservationService.ListReservations][google.cloud.bigquery.reservation.v1.ReservationService.ListReservations]. message ListReservationsResponse { // List of reservations visible to the user. repeated Reservation reservations = 1; @@ -588,7 +663,8 @@ message ListReservationsResponse { string next_page_token = 2; } -// The request for [ReservationService.GetReservation][google.cloud.bigquery.reservation.v1.ReservationService.GetReservation]. +// The request for +// [ReservationService.GetReservation][google.cloud.bigquery.reservation.v1.ReservationService.GetReservation]. message GetReservationRequest { // Required. Resource name of the reservation to retrieve. E.g., // `projects/myproject/locations/US/reservations/team1-prod` @@ -600,7 +676,8 @@ message GetReservationRequest { ]; } -// The request for [ReservationService.DeleteReservation][google.cloud.bigquery.reservation.v1.ReservationService.DeleteReservation]. +// The request for +// [ReservationService.DeleteReservation][google.cloud.bigquery.reservation.v1.ReservationService.DeleteReservation]. message DeleteReservationRequest { // Required. Resource name of the reservation to retrieve. E.g., // `projects/myproject/locations/US/reservations/team1-prod` @@ -612,7 +689,8 @@ message DeleteReservationRequest { ]; } -// The request for [ReservationService.UpdateReservation][google.cloud.bigquery.reservation.v1.ReservationService.UpdateReservation]. +// The request for +// [ReservationService.UpdateReservation][google.cloud.bigquery.reservation.v1.ReservationService.UpdateReservation]. message UpdateReservationRequest { // Content of the reservation to update. Reservation reservation = 1; @@ -621,7 +699,8 @@ message UpdateReservationRequest { google.protobuf.FieldMask update_mask = 2; } -// The request for [ReservationService.CreateCapacityCommitment][google.cloud.bigquery.reservation.v1.ReservationService.CreateCapacityCommitment]. +// The request for +// [ReservationService.CreateCapacityCommitment][google.cloud.bigquery.reservation.v1.ReservationService.CreateCapacityCommitment]. message CreateCapacityCommitmentRequest { // Required. Resource name of the parent reservation. E.g., // `projects/myproject/locations/US` @@ -647,7 +726,8 @@ message CreateCapacityCommitmentRequest { string capacity_commitment_id = 5; } -// The request for [ReservationService.ListCapacityCommitments][google.cloud.bigquery.reservation.v1.ReservationService.ListCapacityCommitments]. +// The request for +// [ReservationService.ListCapacityCommitments][google.cloud.bigquery.reservation.v1.ReservationService.ListCapacityCommitments]. message ListCapacityCommitmentsRequest { // Required. Resource name of the parent reservation. E.g., // `projects/myproject/locations/US` @@ -665,7 +745,8 @@ message ListCapacityCommitmentsRequest { string page_token = 3; } -// The response for [ReservationService.ListCapacityCommitments][google.cloud.bigquery.reservation.v1.ReservationService.ListCapacityCommitments]. +// The response for +// [ReservationService.ListCapacityCommitments][google.cloud.bigquery.reservation.v1.ReservationService.ListCapacityCommitments]. message ListCapacityCommitmentsResponse { // List of capacity commitments visible to the user. repeated CapacityCommitment capacity_commitments = 1; @@ -675,7 +756,8 @@ message ListCapacityCommitmentsResponse { string next_page_token = 2; } -// The request for [ReservationService.GetCapacityCommitment][google.cloud.bigquery.reservation.v1.ReservationService.GetCapacityCommitment]. +// The request for +// [ReservationService.GetCapacityCommitment][google.cloud.bigquery.reservation.v1.ReservationService.GetCapacityCommitment]. message GetCapacityCommitmentRequest { // Required. Resource name of the capacity commitment to retrieve. E.g., // `projects/myproject/locations/US/capacityCommitments/123` @@ -687,7 +769,8 @@ message GetCapacityCommitmentRequest { ]; } -// The request for [ReservationService.DeleteCapacityCommitment][google.cloud.bigquery.reservation.v1.ReservationService.DeleteCapacityCommitment]. +// The request for +// [ReservationService.DeleteCapacityCommitment][google.cloud.bigquery.reservation.v1.ReservationService.DeleteCapacityCommitment]. message DeleteCapacityCommitmentRequest { // Required. Resource name of the capacity commitment to delete. E.g., // `projects/myproject/locations/US/capacityCommitments/123` @@ -704,7 +787,8 @@ message DeleteCapacityCommitmentRequest { bool force = 3; } -// The request for [ReservationService.UpdateCapacityCommitment][google.cloud.bigquery.reservation.v1.ReservationService.UpdateCapacityCommitment]. +// The request for +// [ReservationService.UpdateCapacityCommitment][google.cloud.bigquery.reservation.v1.ReservationService.UpdateCapacityCommitment]. message UpdateCapacityCommitmentRequest { // Content of the capacity commitment to update. CapacityCommitment capacity_commitment = 1; @@ -713,7 +797,8 @@ message UpdateCapacityCommitmentRequest { google.protobuf.FieldMask update_mask = 2; } -// The request for [ReservationService.SplitCapacityCommitment][google.cloud.bigquery.reservation.v1.ReservationService.SplitCapacityCommitment]. +// The request for +// [ReservationService.SplitCapacityCommitment][google.cloud.bigquery.reservation.v1.ReservationService.SplitCapacityCommitment]. message SplitCapacityCommitmentRequest { // Required. The resource name e.g.,: // `projects/myproject/locations/US/capacityCommitments/123` @@ -728,7 +813,8 @@ message SplitCapacityCommitmentRequest { int64 slot_count = 2; } -// The response for [ReservationService.SplitCapacityCommitment][google.cloud.bigquery.reservation.v1.ReservationService.SplitCapacityCommitment]. +// The response for +// [ReservationService.SplitCapacityCommitment][google.cloud.bigquery.reservation.v1.ReservationService.SplitCapacityCommitment]. message SplitCapacityCommitmentResponse { // First capacity commitment, result of a split. CapacityCommitment first = 1; @@ -737,13 +823,14 @@ message SplitCapacityCommitmentResponse { CapacityCommitment second = 2; } -// The request for [ReservationService.MergeCapacityCommitments][google.cloud.bigquery.reservation.v1.ReservationService.MergeCapacityCommitments]. +// The request for +// [ReservationService.MergeCapacityCommitments][google.cloud.bigquery.reservation.v1.ReservationService.MergeCapacityCommitments]. message MergeCapacityCommitmentsRequest { // Parent resource that identifies admin project and location e.g., // `projects/myproject/locations/us` string parent = 1 [(google.api.resource_reference) = { - child_type: "bigqueryreservation.googleapis.com/CapacityCommitment" - }]; + child_type: "bigqueryreservation.googleapis.com/CapacityCommitment" + }]; // Ids of capacity commitments to merge. // These capacity commitments must exist under admin project and location @@ -776,6 +863,9 @@ message Assignment { // BigQuery ML jobs that use services external to BigQuery for model // training. These jobs will not utilize idle slots from other reservations. ML_EXTERNAL = 3; + + // Background jobs that BigQuery runs for the customers in the background. + BACKGROUND = 4; } // Assignment will remain in PENDING state if no active capacity commitment is @@ -810,7 +900,8 @@ message Assignment { State state = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; } -// The request for [ReservationService.CreateAssignment][google.cloud.bigquery.reservation.v1.ReservationService.CreateAssignment]. +// The request for +// [ReservationService.CreateAssignment][google.cloud.bigquery.reservation.v1.ReservationService.CreateAssignment]. // Note: "bigquery.reservationAssignments.create" permission is required on the // related assignee. message CreateAssignmentRequest { @@ -833,7 +924,8 @@ message CreateAssignmentRequest { string assignment_id = 4; } -// The request for [ReservationService.ListAssignments][google.cloud.bigquery.reservation.v1.ReservationService.ListAssignments]. +// The request for +// [ReservationService.ListAssignments][google.cloud.bigquery.reservation.v1.ReservationService.ListAssignments]. message ListAssignmentsRequest { // Required. The parent resource name e.g.: // @@ -856,7 +948,8 @@ message ListAssignmentsRequest { string page_token = 3; } -// The response for [ReservationService.ListAssignments][google.cloud.bigquery.reservation.v1.ReservationService.ListAssignments]. +// The response for +// [ReservationService.ListAssignments][google.cloud.bigquery.reservation.v1.ReservationService.ListAssignments]. message ListAssignmentsResponse { // List of assignments visible to the user. repeated Assignment assignments = 1; @@ -866,7 +959,8 @@ message ListAssignmentsResponse { string next_page_token = 2; } -// The request for [ReservationService.DeleteAssignment][google.cloud.bigquery.reservation.v1.ReservationService.DeleteAssignment]. +// The request for +// [ReservationService.DeleteAssignment][google.cloud.bigquery.reservation.v1.ReservationService.DeleteAssignment]. // Note: "bigquery.reservationAssignments.delete" permission is required on the // related assignee. message DeleteAssignmentRequest { @@ -885,8 +979,8 @@ message DeleteAssignmentRequest { // Note: "bigquery.reservationAssignments.search" permission is required on the // related assignee. message SearchAssignmentsRequest { - // Required. The resource name of the admin project(containing project and location), - // e.g.: + // Required. The resource name of the admin project(containing project and + // location), e.g.: // `projects/myproject/locations/US`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, @@ -916,8 +1010,8 @@ message SearchAssignmentsRequest { // Note: "bigquery.reservationAssignments.search" permission is required on the // related assignee. message SearchAllAssignmentsRequest { - // Required. The resource name with location (project name could be the wildcard '-'), - // e.g.: + // Required. The resource name with location (project name could be the + // wildcard '-'), e.g.: // `projects/-/locations/US`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, @@ -942,7 +1036,8 @@ message SearchAllAssignmentsRequest { string page_token = 4; } -// The response for [ReservationService.SearchAssignments][google.cloud.bigquery.reservation.v1.ReservationService.SearchAssignments]. +// The response for +// [ReservationService.SearchAssignments][google.cloud.bigquery.reservation.v1.ReservationService.SearchAssignments]. message SearchAssignmentsResponse { // List of assignments visible to the user. repeated Assignment assignments = 1; @@ -952,7 +1047,8 @@ message SearchAssignmentsResponse { string next_page_token = 2; } -// The response for [ReservationService.SearchAllAssignments][google.cloud.bigquery.reservation.v1.ReservationService.SearchAllAssignments]. +// The response for +// [ReservationService.SearchAllAssignments][google.cloud.bigquery.reservation.v1.ReservationService.SearchAllAssignments]. message SearchAllAssignmentsResponse { // List of assignments visible to the user. repeated Assignment assignments = 1; @@ -985,11 +1081,19 @@ message MoveAssignmentRequest { // The new reservation ID, e.g.: // `projects/myotherproject/locations/US/reservations/team2-prod` string destination_id = 3 [(google.api.resource_reference) = { - child_type: "bigqueryreservation.googleapis.com/Assignment" - }]; + child_type: "bigqueryreservation.googleapis.com/Assignment" + }]; + + // The optional assignment ID. A new assignment name is generated if this + // field is empty. + // + // This field can contain only lowercase alphanumeric characters or dashes. + // Max length is 64 characters. + string assignment_id = 5; } -// The request for [ReservationService.UpdateAssignment][google.cloud.bigquery.reservation.v1.ReservationService.UpdateAssignment]. +// The request for +// [ReservationService.UpdateAssignment][google.cloud.bigquery.reservation.v1.ReservationService.UpdateAssignment]. message UpdateAssignmentRequest { // Content of the assignment to update. Assignment assignment = 1; @@ -1024,7 +1128,8 @@ message BiReservation { string name = 1; // Output only. The last update timestamp of a reservation. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Size of a reservation, in bytes. int64 size = 4; @@ -1053,3 +1158,20 @@ message UpdateBiReservationRequest { // A list of fields to be updated in this request. google.protobuf.FieldMask update_mask = 2; } + +// The type of editions. +// Different features and behaviors are provided to different editions +// Capacity commitments and reservations are linked to editions. +enum Edition { + // Default value, which will be treated as ENTERPRISE. + EDITION_UNSPECIFIED = 0; + + // Standard edition. + STANDARD = 1; + + // Enterprise edition. + ENTERPRISE = 2; + + // Enterprise plus edition. + ENTERPRISE_PLUS = 3; +} diff --git a/third_party/googleapis/google/cloud/bigquery/storage/BUILD.bazel b/third_party/googleapis/google/cloud/bigquery/storage/BUILD.bazel index 3fa480868..e5d9a7f88 100644 --- a/third_party/googleapis/google/cloud/bigquery/storage/BUILD.bazel +++ b/third_party/googleapis/google/cloud/bigquery/storage/BUILD.bazel @@ -22,7 +22,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-bigquery-storage", "ruby-cloud-env-prefix=BIGQUERY_STORAGE", - "ruby-cloud-wrapper-of=v1:0.8", + "ruby-cloud-wrapper-of=v1:0.25", "ruby-cloud-product-url=https://cloud.google.com/bigquery/docs/reference/storage", "ruby-cloud-api-id=bigquerystorage.googleapis.com", "ruby-cloud-api-shortname=bigquerystorage", diff --git a/third_party/googleapis/google/cloud/bigquery/storage/v1/BUILD.bazel b/third_party/googleapis/google/cloud/bigquery/storage/v1/BUILD.bazel index f093d4b7c..2447e938d 100644 --- a/third_party/googleapis/google/cloud/bigquery/storage/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/bigquery/storage/v1/BUILD.bazel @@ -13,7 +13,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -23,7 +22,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -86,6 +84,7 @@ java_gapic_library( gapic_yaml = "bigquerystorage_gapic.yaml", grpc_service_config = "bigquerystorage_grpc_service_config.json", rest_numeric_enums = False, + service_yaml = "bigquerystorage_v1.yaml", test_deps = [ ":storage_java_grpc", ], @@ -142,18 +141,12 @@ go_gapic_library( ], ) -go_test( - name = "storage_go_gapic_test", - srcs = [":storage_go_gapic_srcjar_test"], - embed = [":storage_go_gapic"], - importpath = "cloud.google.com/go/bigquery/storage/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-bigquery-storage-v1-go", deps = [ ":storage_go_gapic", + ":storage_go_gapic_srcjar-snippets.srcjar", ":storage_go_gapic_srcjar-test.srcjar", ":storage_go_proto", ], @@ -198,23 +191,15 @@ php_proto_library( deps = [":storage_proto"], ) -php_grpc_library( - name = "storage_php_grpc", - srcs = [":storage_proto"], - deps = [":storage_php_proto"], -) - php_gapic_library( name = "storage_php_gapic", srcs = [":storage_proto_with_info"], grpc_service_config = "bigquerystorage_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = False, service_yaml = "bigquerystorage_v1.yaml", transport = "grpc+rest", - deps = [ - ":storage_php_grpc", - ":storage_php_proto", - ], + deps = [":storage_php_proto"], ) # Open Source Packages @@ -222,7 +207,6 @@ php_gapic_assembly_pkg( name = "google-cloud-bigquery-storage-v1-php", deps = [ ":storage_php_gapic", - ":storage_php_grpc", ":storage_php_proto", ], ) diff --git a/third_party/googleapis/google/cloud/bigquery/storage/v1/arrow.proto b/third_party/googleapis/google/cloud/bigquery/storage/v1/arrow.proto index 4ac268c8b..05036d21d 100644 --- a/third_party/googleapis/google/cloud/bigquery/storage/v1/arrow.proto +++ b/third_party/googleapis/google/cloud/bigquery/storage/v1/arrow.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/bigquery/storage/v1/avro.proto b/third_party/googleapis/google/cloud/bigquery/storage/v1/avro.proto index 52441e9fc..588406aba 100644 --- a/third_party/googleapis/google/cloud/bigquery/storage/v1/avro.proto +++ b/third_party/googleapis/google/cloud/bigquery/storage/v1/avro.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/bigquery/storage/v1/bigquerystorage_grpc_service_config.json b/third_party/googleapis/google/cloud/bigquery/storage/v1/bigquerystorage_grpc_service_config.json index 039f0b337..4e9160c53 100644 --- a/third_party/googleapis/google/cloud/bigquery/storage/v1/bigquerystorage_grpc_service_config.json +++ b/third_party/googleapis/google/cloud/bigquery/storage/v1/bigquerystorage_grpc_service_config.json @@ -96,7 +96,8 @@ "backoffMultiplier": 1.3, "retryableStatusCodes": [ "DEADLINE_EXCEEDED", - "UNAVAILABLE" + "UNAVAILABLE", + "RESOURCE_EXHAUSTED" ] } }, { diff --git a/third_party/googleapis/google/cloud/bigquery/storage/v1/protobuf.proto b/third_party/googleapis/google/cloud/bigquery/storage/v1/protobuf.proto index 05ac778f0..e12f4d8db 100644 --- a/third_party/googleapis/google/cloud/bigquery/storage/v1/protobuf.proto +++ b/third_party/googleapis/google/cloud/bigquery/storage/v1/protobuf.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/bigquery/storage/v1/storage.proto b/third_party/googleapis/google/cloud/bigquery/storage/v1/storage.proto index e84a58df7..97eb35c21 100644 --- a/third_party/googleapis/google/cloud/bigquery/storage/v1/storage.proto +++ b/third_party/googleapis/google/cloud/bigquery/storage/v1/storage.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -348,6 +348,23 @@ message ReadRowsResponse { // Output only. Arrow schema. ArrowSchema arrow_schema = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; } + + // Optional. If the row data in this ReadRowsResponse is compressed, then + // uncompressed byte size is the original size of the uncompressed row data. + // If it is set to a value greater than 0, then decompress into a buffer of + // size uncompressed_byte_size using the compression codec that was requested + // during session creation time and which is specified in + // TableReadOptions.response_compression_codec in ReadSession. + // This value is not set if no response_compression_codec was not requested + // and it is -1 if the requested compression would not have reduced the size + // of this ReadRowsResponse's row data. This attempts to match Apache Arrow's + // behavior described here https://github.com/apache/arrow/issues/15102 where + // the uncompressed length may be set to -1 to indicate that the data that + // follows is not compressed, which can be useful for cases where compression + // does not yield appreciable savings. When uncompressed_byte_size is not + // greater than 0, the client should skip decompression. + optional int64 uncompressed_byte_size = 9 + [(google.api.field_behavior) = OPTIONAL]; } // Request message for `SplitReadStream`. @@ -397,9 +414,10 @@ message CreateWriteStreamRequest { // Request message for `AppendRows`. // -// Due to the nature of AppendRows being a bidirectional streaming RPC, certain -// parts of the AppendRowsRequest need only be specified for the first request -// sent each time the gRPC network connection is opened/reopened. +// Because AppendRows is a bidirectional streaming RPC, certain parts of the +// AppendRowsRequest need only be specified for the first request before +// switching table destinations. You can also switch table destinations within +// the same connection for the default stream. // // The size of a single AppendRowsRequest must be less than 10 MB in size. // Requests larger than this return an error, typically `INVALID_ARGUMENT`. @@ -407,9 +425,14 @@ message AppendRowsRequest { // ProtoData contains the data rows and schema when constructing append // requests. message ProtoData { - // Proto schema used to serialize the data. This value only needs to be - // provided as part of the first request on a gRPC network connection, - // and will be ignored for subsequent requests on the connection. + // The protocol buffer schema used to serialize the data. Provide this value + // whenever: + // + // * You send the first request of an RPC connection. + // + // * You change the input schema. + // + // * You specify a new destination table. ProtoSchema writer_schema = 1; // Serialized row data in protobuf message format. @@ -419,10 +442,9 @@ message AppendRowsRequest { ProtoRows rows = 2; } - // An enum to indicate how to interpret missing values. Missing values are - // fields present in user schema but missing in rows. A missing value can - // represent a NULL or a column default value defined in BigQuery table - // schema. + // An enum to indicate how to interpret missing values of fields that are + // present in user schema but missing in rows. A missing value can represent a + // NULL or a column default value defined in BigQuery table schema. enum MissingValueInterpretation { // Invalid missing value interpretation. Requests with this value will be // rejected. @@ -436,10 +458,14 @@ message AppendRowsRequest { DEFAULT_VALUE = 2; } - // Required. The write_stream identifies the target of the append operation, - // and only needs to be specified as part of the first request on the gRPC - // connection. If provided for subsequent requests, it must match the value of - // the first request. + // Required. The write_stream identifies the append operation. It must be + // provided in the following scenarios: + // + // * In the first request to an AppendRows connection. + // + // * In all subsequent requests to an AppendRows connection, if you use the + // same connection to write to multiple tables or change the input schema for + // default streams. // // For explicitly created write streams, the format is: // @@ -448,6 +474,22 @@ message AppendRowsRequest { // For the special default stream, the format is: // // * `projects/{project}/datasets/{dataset}/tables/{table}/streams/_default`. + // + // An example of a possible sequence of requests with write_stream fields + // within a single connection: + // + // * r1: {write_stream: stream_name_1} + // + // * r2: {write_stream: /*omit*/} + // + // * r3: {write_stream: /*omit*/} + // + // * r4: {write_stream: stream_name_2} + // + // * r5: {write_stream: stream_name_2} + // + // The destination changed in request_4, so the write_stream field must be + // populated in all subsequent requests in this stream. string write_stream = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -493,6 +535,18 @@ message AppendRowsRequest { // Currently, field name can only be top-level column name, can't be a struct // field path like 'foo.bar'. map missing_value_interpretations = 7; + + // Optional. Default missing value interpretation for all columns in the + // table. When a value is specified on an `AppendRowsRequest`, it is applied + // to all requests on the connection from that point forward, until a + // subsequent `AppendRowsRequest` sets it to a different value. + // `missing_value_interpretation` can override + // `default_missing_value_interpretation`. For example, if you want to write + // `NULL` instead of using default values for some columns, you can set + // `default_missing_value_interpretation` to `DEFAULT_VALUE` and at the same + // time, set `missing_value_interpretations` to `NULL_VALUE` on those columns. + MissingValueInterpretation default_missing_value_interpretation = 8 + [(google.api.field_behavior) = OPTIONAL]; } // Response message for `AppendRows`. @@ -669,6 +723,23 @@ message StorageError { // Offset out of range. OFFSET_OUT_OF_RANGE = 9; + + // Customer-managed encryption key (CMEK) not provided for CMEK-enabled + // data. + CMEK_NOT_PROVIDED = 10; + + // Customer-managed encryption key (CMEK) was incorrectly provided. + INVALID_CMEK_PROVIDED = 11; + + // There is an encryption error while using customer-managed encryption key. + CMEK_ENCRYPTION_ERROR = 12; + + // Key Management Service (KMS) service returned an error, which can be + // retried. + KMS_SERVICE_ERROR = 13; + + // Permission denied while using customer-managed encryption key. + KMS_PERMISSION_DENIED = 14; } // BigQuery Storage specific error code. diff --git a/third_party/googleapis/google/cloud/bigquery/storage/v1/stream.proto b/third_party/googleapis/google/cloud/bigquery/storage/v1/stream.proto index 85f6dd825..c75c637cf 100644 --- a/third_party/googleapis/google/cloud/bigquery/storage/v1/stream.proto +++ b/third_party/googleapis/google/cloud/bigquery/storage/v1/stream.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -59,6 +59,21 @@ message ReadSession { // Options dictating how we read a table. message TableReadOptions { + // Specifies which compression codec to attempt on the entire serialized + // response payload (either Arrow record batch or Avro rows). This is + // not to be confused with the Apache Arrow native compression codecs + // specified in ArrowSerializationOptions. For performance reasons, when + // creating a read session requesting Arrow responses, setting both native + // Arrow compression and application-level response compression will not be + // allowed - choose, at most, one kind of compression. + enum ResponseCompressionCodec { + // Default is no compression. + RESPONSE_COMPRESSION_CODEC_UNSPECIFIED = 0; + + // Use raw LZ4 compression. + RESPONSE_COMPRESSION_CODEC_LZ4 = 2; + } + // Optional. The names of the fields in the table to be returned. If no // field names are specified, then all fields in the table are returned. // @@ -129,6 +144,20 @@ message ReadSession { AvroSerializationOptions avro_serialization_options = 4 [(google.api.field_behavior) = OPTIONAL]; } + + // Optional. Specifies a table sampling percentage. Specifically, the query + // planner will use TABLESAMPLE SYSTEM (sample_percentage PERCENT). The + // sampling percentage is applied at the data block granularity. It will + // randomly choose for each data block whether to read the rows in that data + // block. For more details, see + // https://cloud.google.com/bigquery/docs/table-sampling) + optional double sample_percentage = 5 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Set response_compression_codec when creating a read session to + // enable application-level compression of ReadRows responses. + optional ResponseCompressionCodec response_compression_codec = 6 + [(google.api.field_behavior) = OPTIONAL]; } // Output only. Unique identifier for the session, in the form @@ -185,6 +214,14 @@ message ReadSession { int64 estimated_total_bytes_scanned = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. A pre-projected estimate of the total physical size of files + // (in bytes) that this session will scan when all streams are consumed. This + // estimate is independent of the selected columns and can be based on + // incomplete or stale metadata from the table. This field is only set for + // BigLake tables. + int64 estimated_total_physical_file_size = 15 + [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. An estimate on the number of rows present in this session's // streams. This estimate is based on metadata from the table which might be // incomplete or stale. diff --git a/third_party/googleapis/google/cloud/bigquery/storage/v1/table.proto b/third_party/googleapis/google/cloud/bigquery/storage/v1/table.proto index c9b62d793..47629c510 100644 --- a/third_party/googleapis/google/cloud/bigquery/storage/v1/table.proto +++ b/third_party/googleapis/google/cloud/bigquery/storage/v1/table.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/bigquery/storage/v1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/bigquery/storage/v1beta1/BUILD.bazel index c45ae3cd5..3e11b2303 100644 --- a/third_party/googleapis/google/cloud/bigquery/storage/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/bigquery/storage/v1beta1/BUILD.bazel @@ -15,7 +15,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -25,7 +24,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -84,6 +82,7 @@ java_gapic_library( gapic_yaml = "bigquerystorage_gapic.yaml", grpc_service_config = "bigquerystorage_grpc_service_config.json", rest_numeric_enums = False, + service_yaml = "bigquerystorage_v1beta1.yaml", test_deps = [ ":storage_java_grpc", ], @@ -139,18 +138,12 @@ go_gapic_library( ], ) -go_test( - name = "storage_go_gapic_test", - srcs = [":storage_go_gapic_srcjar_test"], - embed = [":storage_go_gapic"], - importpath = "cloud.google.com/go/bigquery/storage/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-bigquery-storage-v1beta1-go", deps = [ ":storage_go_gapic", + ":storage_go_gapic_srcjar-snippets.srcjar", ":storage_go_gapic_srcjar-test.srcjar", ":storage_go_proto", ], @@ -187,12 +180,6 @@ php_proto_library( deps = [":storage_proto"], ) -php_grpc_library( - name = "storage_php_grpc", - srcs = [":storage_proto"], - deps = [":storage_php_proto"], -) - php_gapic_library( name = "storage_php_gapic", srcs = [":storage_proto_with_info"], @@ -200,10 +187,7 @@ php_gapic_library( rest_numeric_enums = False, service_yaml = "bigquerystorage_v1beta1.yaml", transport = "grpc+rest", - deps = [ - ":storage_php_grpc", - ":storage_php_proto", - ], + deps = [":storage_php_proto"], ) # Open Source Packages @@ -211,7 +195,6 @@ php_gapic_assembly_pkg( name = "google-cloud-bigquery-storage-v1beta1-php", deps = [ ":storage_php_gapic", - ":storage_php_grpc", ":storage_php_proto", ], ) diff --git a/third_party/googleapis/google/cloud/bigquery/storage/v1beta1/arrow.proto b/third_party/googleapis/google/cloud/bigquery/storage/v1beta1/arrow.proto index 77dbfe3eb..4894e2fea 100644 --- a/third_party/googleapis/google/cloud/bigquery/storage/v1beta1/arrow.proto +++ b/third_party/googleapis/google/cloud/bigquery/storage/v1beta1/arrow.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/bigquery/storage/v1beta1/avro.proto b/third_party/googleapis/google/cloud/bigquery/storage/v1beta1/avro.proto index 222bdcc13..ad388d42d 100644 --- a/third_party/googleapis/google/cloud/bigquery/storage/v1beta1/avro.proto +++ b/third_party/googleapis/google/cloud/bigquery/storage/v1beta1/avro.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/bigquery/storage/v1beta1/bigquerystorage_v1beta1.yaml b/third_party/googleapis/google/cloud/bigquery/storage/v1beta1/bigquerystorage_v1beta1.yaml index 74689be3f..e66778e16 100644 --- a/third_party/googleapis/google/cloud/bigquery/storage/v1beta1/bigquerystorage_v1beta1.yaml +++ b/third_party/googleapis/google/cloud/bigquery/storage/v1beta1/bigquerystorage_v1beta1.yaml @@ -19,5 +19,4 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/bigquery, - https://www.googleapis.com/auth/bigquery.readonly, https://www.googleapis.com/auth/cloud-platform diff --git a/third_party/googleapis/google/cloud/bigquery/storage/v1beta1/read_options.proto b/third_party/googleapis/google/cloud/bigquery/storage/v1beta1/read_options.proto index 90fb7f3e4..2a4a90761 100644 --- a/third_party/googleapis/google/cloud/bigquery/storage/v1beta1/read_options.proto +++ b/third_party/googleapis/google/cloud/bigquery/storage/v1beta1/read_options.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,19 +21,64 @@ option java_package = "com.google.cloud.bigquery.storage.v1beta1"; // Options dictating how we read a table. message TableReadOptions { - // Optional. Names of the fields in the table that should be read. If empty, - // all fields will be read. If the specified field is a nested field, all the - // sub-fields in the field will be selected. The output field order is - // unrelated to the order of fields in selected_fields. + // Optional. The names of the fields in the table to be returned. If no + // field names are specified, then all fields in the table are returned. + // + // Nested fields -- the child elements of a STRUCT field -- can be selected + // individually using their fully-qualified names, and will be returned as + // record fields containing only the selected nested fields. If a STRUCT + // field is specified in the selected fields list, all of the child elements + // will be returned. + // + // As an example, consider a table with the following schema: + // + // { + // "name": "struct_field", + // "type": "RECORD", + // "mode": "NULLABLE", + // "fields": [ + // { + // "name": "string_field1", + // "type": "STRING", + // . "mode": "NULLABLE" + // }, + // { + // "name": "string_field2", + // "type": "STRING", + // "mode": "NULLABLE" + // } + // ] + // } + // + // Specifying "struct_field" in the selected fields list will result in a + // read session schema with the following logical structure: + // + // struct_field { + // string_field1 + // string_field2 + // } + // + // Specifying "struct_field.string_field1" in the selected fields list will + // result in a read session schema with the following logical structure: + // + // struct_field { + // string_field1 + // } + // + // The order of the fields in the read session schema is derived from the + // table schema and does not correspond to the order in which the fields are + // specified in this list. repeated string selected_fields = 1; // Optional. SQL text filtering statement, similar to a WHERE clause in - // a query. Aggregates are not supported. + // a SQL query. Aggregates are not supported. // // Examples: "int_field > 5" // "date_field = CAST('2014-9-27' as DATE)" // "nullable_field is not NULL" // "st_equals(geo_field, st_geofromtext("POINT(2, 2)"))" // "numeric_field BETWEEN 1.0 AND 5.0" + // + // Restricted to a maximum length for 1 MB. string row_restriction = 2; } diff --git a/third_party/googleapis/google/cloud/bigquery/storage/v1beta1/storage.proto b/third_party/googleapis/google/cloud/bigquery/storage/v1beta1/storage.proto index 2bf2a2c09..3f9f218f1 100644 --- a/third_party/googleapis/google/cloud/bigquery/storage/v1beta1/storage.proto +++ b/third_party/googleapis/google/cloud/bigquery/storage/v1beta1/storage.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -33,6 +33,11 @@ option java_package = "com.google.cloud.bigquery.storage.v1beta1"; // BigQuery storage API. // // The BigQuery storage API can be used to read data stored in BigQuery. +// +// The v1beta1 API is not yet officially deprecated, and will go through a full +// deprecation cycle (https://cloud.google.com/products#product-launch-stages) +// before the service is turned down. However, new code should use the v1 API +// going forward. service BigQueryStorage { option (google.api.default_host) = "bigquerystorage.googleapis.com"; option (google.api.oauth_scopes) = @@ -49,7 +54,7 @@ service BigQueryStorage { // reached the end of each stream in the session, then all the data in the // table has been read. // - // Read sessions automatically expire 24 hours after they are created and do + // Read sessions automatically expire 6 hours after they are created and do // not require manual clean-up by the caller. rpc CreateReadSession(CreateReadSessionRequest) returns (ReadSession) { option (google.api.http) = { @@ -60,7 +65,8 @@ service BigQueryStorage { body: "*" } }; - option (google.api.method_signature) = "table_reference,parent,requested_streams"; + option (google.api.method_signature) = + "table_reference,parent,requested_streams"; } // Reads rows from the table in the format prescribed by the read session. @@ -82,7 +88,8 @@ service BigQueryStorage { // Creates additional streams for a ReadSession. This API can be used to // dynamically adjust the parallelism of a batch processing task upwards by // adding additional workers. - rpc BatchCreateReadSessionStreams(BatchCreateReadSessionStreamsRequest) returns (BatchCreateReadSessionStreamsResponse) { + rpc BatchCreateReadSessionStreams(BatchCreateReadSessionStreamsRequest) + returns (BatchCreateReadSessionStreamsResponse) { option (google.api.http) = { post: "/v1beta1/{session.name=projects/*/sessions/*}" body: "*" @@ -90,7 +97,7 @@ service BigQueryStorage { option (google.api.method_signature) = "session,requested_streams"; } - // Triggers the graceful termination of a single stream in a ReadSession. This + // Causes a single stream in a ReadSession to gracefully stop. This // API can be used to dynamically adjust the parallelism of a batch processing // task downwards without losing data. // @@ -125,7 +132,8 @@ service BigQueryStorage { // completion. // // This method is guaranteed to be idempotent. - rpc SplitReadStream(SplitReadStreamRequest) returns (SplitReadStreamResponse) { + rpc SplitReadStream(SplitReadStreamRequest) + returns (SplitReadStreamResponse) { option (google.api.http) = { get: "/v1beta1/{original_stream.name=projects/*/streams/*}" }; @@ -193,6 +201,40 @@ message ReadSession { ShardingStrategy sharding_strategy = 9; } +// Data format for input or output data. +enum DataFormat { + // Data format is unspecified. + DATA_FORMAT_UNSPECIFIED = 0; + + // Avro is a standard open source row based file format. + // See https://avro.apache.org/ for more details. + AVRO = 1; + + // Arrow is a standard open source column-based message format. + // See https://arrow.apache.org/ for more details. + ARROW = 3; +} + +// Strategy for distributing data among multiple streams in a read session. +enum ShardingStrategy { + // Same as LIQUID. + SHARDING_STRATEGY_UNSPECIFIED = 0; + + // Assigns data to each stream based on the client's read rate. The faster the + // client reads from a stream, the more data is assigned to the stream. In + // this strategy, it's possible to read all data from a single stream even if + // there are other streams present. + LIQUID = 1; + + // Assigns data to each stream such that roughly the same number of rows can + // be read from each stream. Because the server-side unit for assigning data + // is collections of rows, the API does not guarantee that each stream will + // return the same number or rows. Additionally, the limits are enforced based + // on the number of pre-filtering rows, so some filters can lead to lopsided + // assignments. + BALANCED = 2; +} + // Creates a new read session, which may include additional options such as // requested parallelism, projection filters and constraints. message CreateReadSessionRequest { @@ -225,6 +267,7 @@ message CreateReadSessionRequest { TableReadOptions read_options = 4; // Data output format. Currently default to Avro. + // DATA_FORMAT_UNSPECIFIED not supported. DataFormat format = 5; // The strategy to use for distributing data among multiple streams. Currently @@ -232,38 +275,6 @@ message CreateReadSessionRequest { ShardingStrategy sharding_strategy = 7; } -// Data format for input or output data. -enum DataFormat { - // Data format is unspecified. - DATA_FORMAT_UNSPECIFIED = 0; - - // Avro is a standard open source row based file format. - // See https://avro.apache.org/ for more details. - AVRO = 1; - - ARROW = 3; -} - -// Strategy for distributing data among multiple streams in a read session. -enum ShardingStrategy { - // Same as LIQUID. - SHARDING_STRATEGY_UNSPECIFIED = 0; - - // Assigns data to each stream based on the client's read rate. The faster the - // client reads from a stream, the more data is assigned to the stream. In - // this strategy, it's possible to read all data from a single stream even if - // there are other streams present. - LIQUID = 1; - - // Assigns data to each stream such that roughly the same number of rows can - // be read from each stream. Because the server-side unit for assigning data - // is collections of rows, the API does not guarantee that each stream will - // return the same number or rows. Additionally, the limits are enforced based - // on the number of pre-filtering rows, so some filters can lead to lopsided - // assignments. - BALANCED = 2; -} - // Requesting row data via `ReadRows` must provide Stream position information. message ReadRowsRequest { // Required. Identifier of the position in the stream to start reading from. @@ -349,6 +360,19 @@ message ReadRowsResponse { // Throttling status. If unset, the latest response still describes // the current throttling status. ThrottleStatus throttle_status = 5; + + // The schema for the read. If read_options.selected_fields is set, the + // schema may be different from the table schema as it will only contain + // the selected fields. This schema is equivalent to the one returned by + // CreateSession. This field is only populated in the first ReadRowsResponse + // RPC. + oneof schema { + // Output only. Avro schema. + AvroSchema avro_schema = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Arrow schema. + ArrowSchema arrow_schema = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + } } // Information needed to request additional streams for an established read diff --git a/third_party/googleapis/google/cloud/bigquery/storage/v1beta1/table_reference.proto b/third_party/googleapis/google/cloud/bigquery/storage/v1beta1/table_reference.proto index 9f643cd65..3fe3dfe27 100644 --- a/third_party/googleapis/google/cloud/bigquery/storage/v1beta1/table_reference.proto +++ b/third_party/googleapis/google/cloud/bigquery/storage/v1beta1/table_reference.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/bigquery/storage/v1beta2/BUILD.bazel b/third_party/googleapis/google/cloud/bigquery/storage/v1beta2/BUILD.bazel index 7819880d7..cae50e025 100644 --- a/third_party/googleapis/google/cloud/bigquery/storage/v1beta2/BUILD.bazel +++ b/third_party/googleapis/google/cloud/bigquery/storage/v1beta2/BUILD.bazel @@ -67,6 +67,7 @@ java_gapic_library( gapic_yaml = "bigquerystorage_gapic.yaml", grpc_service_config = "bigquerystorage_grpc_service_config.json", rest_numeric_enums = False, + service_yaml = "bigquerystorage_v1beta2.yaml", test_deps = [ ":storage_java_grpc", ], @@ -105,7 +106,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -134,18 +134,12 @@ go_gapic_library( ], ) -go_test( - name = "storage_go_gapic_test", - srcs = [":storage_go_gapic_srcjar_test"], - embed = [":storage_go_gapic"], - importpath = "cloud.google.com/go/bigquery/storage/apiv1beta2", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-bigquery-storage-v1beta2-go", deps = [ ":storage_go_gapic", + ":storage_go_gapic_srcjar-snippets.srcjar", ":storage_go_gapic_srcjar-test.srcjar", ":storage_go_proto", ], @@ -198,7 +192,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -207,12 +200,6 @@ php_proto_library( deps = [":storage_proto"], ) -php_grpc_library( - name = "storage_php_grpc", - srcs = [":storage_proto"], - deps = [":storage_php_proto"], -) - php_gapic_library( name = "storage_php_gapic", srcs = [":storage_proto_with_info"], @@ -220,10 +207,7 @@ php_gapic_library( rest_numeric_enums = False, service_yaml = "bigquerystorage_v1beta2.yaml", transport = "grpc+rest", - deps = [ - ":storage_php_grpc", - ":storage_php_proto", - ], + deps = [":storage_php_proto"], ) # Open Source Packages @@ -231,7 +215,6 @@ php_gapic_assembly_pkg( name = "google-cloud-bigquery-storage-v1beta2-php", deps = [ ":storage_php_gapic", - ":storage_php_grpc", ":storage_php_proto", ], ) diff --git a/third_party/googleapis/google/cloud/bigquery/storage/v1beta2/storage.proto b/third_party/googleapis/google/cloud/bigquery/storage/v1beta2/storage.proto index b8fca3af5..dc982d3ad 100644 --- a/third_party/googleapis/google/cloud/bigquery/storage/v1beta2/storage.proto +++ b/third_party/googleapis/google/cloud/bigquery/storage/v1beta2/storage.proto @@ -70,7 +70,8 @@ service BigQueryRead { post: "/v1beta2/{read_session.table=projects/*/datasets/*/tables/*}" body: "*" }; - option (google.api.method_signature) = "parent,read_session,max_stream_count"; + option (google.api.method_signature) = + "parent,read_session,max_stream_count"; } // Reads rows from the stream in the format prescribed by the ReadSession. @@ -99,7 +100,8 @@ service BigQueryRead { // original, primary, and residual, that original[0-j] = primary[0-j] and // original[j-n] = residual[0-m] once the streams have been read to // completion. - rpc SplitReadStream(SplitReadStreamRequest) returns (SplitReadStreamResponse) { + rpc SplitReadStream(SplitReadStreamRequest) + returns (SplitReadStreamResponse) { option (google.api.http) = { get: "/v1beta2/{name=projects/*/locations/*/sessions/*/streams/*}" }; @@ -109,6 +111,10 @@ service BigQueryRead { // BigQuery Write API. // // The Write API can be used to write data to BigQuery. +// +// The [google.cloud.bigquery.storage.v1 +// API](/bigquery/docs/reference/storage/rpc/google.cloud.bigquery.storage.v1) +// should be used instead of the v1beta2 API for BigQueryWrite operations. service BigQueryWrite { option (google.api.default_host) = "bigquerystorage.googleapis.com"; option (google.api.oauth_scopes) = @@ -168,7 +174,8 @@ service BigQueryWrite { // Finalize a write stream so that no new data can be appended to the // stream. Finalize is not supported on the '_default' stream. - rpc FinalizeWriteStream(FinalizeWriteStreamRequest) returns (FinalizeWriteStreamResponse) { + rpc FinalizeWriteStream(FinalizeWriteStreamRequest) + returns (FinalizeWriteStreamResponse) { option (google.api.http) = { post: "/v1beta2/{name=projects/*/datasets/*/tables/*/streams/*}" body: "*" @@ -181,7 +188,8 @@ service BigQueryWrite { // Streams must be finalized before commit and cannot be committed multiple // times. Once a stream is committed, data in the stream becomes available // for read operations. - rpc BatchCommitWriteStreams(BatchCommitWriteStreamsRequest) returns (BatchCommitWriteStreamsResponse) { + rpc BatchCommitWriteStreams(BatchCommitWriteStreamsRequest) + returns (BatchCommitWriteStreamsResponse) { option (google.api.http) = { get: "/v1beta2/{parent=projects/*/datasets/*/tables/*}" }; @@ -350,9 +358,7 @@ message CreateWriteStreamRequest { // of `projects/{project}/datasets/{dataset}/tables/{table}`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "bigquery.googleapis.com/Table" - } + (google.api.resource_reference) = { type: "bigquery.googleapis.com/Table" } ]; // Required. Stream to be created. @@ -370,9 +376,9 @@ message AppendRowsRequest { ProtoRows rows = 2; } - // Required. The stream that is the target of the append operation. This value must be - // specified for the initial request. If subsequent requests specify the - // stream name, it must equal to the value provided in the first request. + // Required. The stream that is the target of the append operation. This value + // must be specified for the initial request. If subsequent requests specify + // the stream name, it must equal to the value provided in the first request. // To write to the _default stream, populate this field with a string in the // format `projects/{project}/datasets/{dataset}/tables/{table}/_default`. string write_stream = 1 [ @@ -458,11 +464,9 @@ message GetWriteStreamRequest { // Request message for `BatchCommitWriteStreams`. message BatchCommitWriteStreamsRequest { - // Required. Parent table that all the streams should belong to, in the form of - // `projects/{project}/datasets/{dataset}/tables/{table}`. - string parent = 1 [ - (google.api.field_behavior) = REQUIRED - ]; + // Required. Parent table that all the streams should belong to, in the form + // of `projects/{project}/datasets/{dataset}/tables/{table}`. + string parent = 1 [(google.api.field_behavior) = REQUIRED]; // Required. The group of streams that will be committed atomically. repeated string write_streams = 2 [(google.api.field_behavior) = REQUIRED]; diff --git a/third_party/googleapis/google/cloud/bigquery/v2/BUILD.bazel b/third_party/googleapis/google/cloud/bigquery/v2/BUILD.bazel deleted file mode 100644 index 4305bf479..000000000 --- a/third_party/googleapis/google/cloud/bigquery/v2/BUILD.bazel +++ /dev/null @@ -1,368 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) - -############################################################################## -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( - name = "bigquery_proto", - srcs = [ - "encryption_config.proto", - "model.proto", - "model_reference.proto", - "standard_sql.proto", - "table_reference.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:timestamp_proto", - "@com_google_protobuf//:wrappers_proto", - ], -) - -proto_library_with_info( - name = "bigquery_proto_with_info", - deps = [ - ":bigquery_proto", - "//google/cloud:common_resources_proto", - ], -) - -############################################################################## -# Java -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "java_gapic_assembly_gradle_pkg", - "java_gapic_library", - "java_gapic_test", - "java_grpc_library", - "java_proto_library", -) - -java_proto_library( - name = "bigquery_java_proto", - deps = [":bigquery_proto"], -) - -java_grpc_library( - name = "bigquery_java_grpc", - srcs = [":bigquery_proto"], - deps = [":bigquery_java_proto"], -) - -java_gapic_library( - name = "bigquery_java_gapic", - srcs = [":bigquery_proto_with_info"], - grpc_service_config = "bigquery_grpc_service_config.json", - rest_numeric_enums = False, - test_deps = [ - ":bigquery_java_grpc", - ], - transport = "grpc+rest", - deps = [ - ":bigquery_java_proto", - ], -) - -java_gapic_test( - name = "bigquery_java_gapic_test_suite", - test_classes = [ - "com.google.cloud.bigquery.v2.ModelServiceClientHttpJsonTest", - "com.google.cloud.bigquery.v2.ModelServiceClientTest", - ], - runtime_deps = [":bigquery_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( - name = "google-cloud-bigquery-v2-java", - include_samples = True, - transport = "grpc+rest", - deps = [ - ":bigquery_java_gapic", - ":bigquery_java_grpc", - ":bigquery_java_proto", - ":bigquery_proto", - ], -) - -############################################################################## -# Go -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "go_gapic_assembly_pkg", - "go_gapic_library", - "go_proto_library", - "go_test", -) - -go_proto_library( - name = "bigquery_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "cloud.google.com/go/bigquery/apiv2/bigquerypb", - protos = [":bigquery_proto"], - deps = [ - "//google/api:annotations_go_proto", - ], -) - -go_gapic_library( - name = "bigquery_go_gapic", - srcs = [":bigquery_proto_with_info"], - grpc_service_config = "bigquery_grpc_service_config.json", - importpath = "cloud.google.com/go/bigquery/apiv2;bigquery", - release_level = "ga", - rest_numeric_enums = False, - service_yaml = "bigquery_v2.yaml", - transport = "grpc", - deps = [ - ":bigquery_go_proto", - ], -) - -go_test( - name = "bigquery_go_gapic_test", - srcs = [":bigquery_go_gapic_srcjar_test"], - embed = [":bigquery_go_gapic"], - importpath = "cloud.google.com/go/bigquery/apiv2", -) - -# Open Source Packages -go_gapic_assembly_pkg( - name = "gapi-cloud-bigquery-v2-go", - deps = [ - ":bigquery_go_gapic", - ":bigquery_go_gapic_srcjar-test.srcjar", - ":bigquery_go_proto", - ], -) - -############################################################################## -# Python -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "py_gapic_assembly_pkg", - "py_gapic_library", -) - -py_gapic_library( - name = "bigquery_py_gapic", - srcs = [":bigquery_proto"], - grpc_service_config = "bigquery_grpc_service_config.json", - opt_args = ["autogen-snippets=False"], - rest_numeric_enums = False, - service_yaml = "bigquery_v2.yaml", - transport = "grpc", -) - -py_test( - name = "bigquery_py_gapic_test", - srcs = [ - "bigquery_py_gapic_pytest.py", - "bigquery_py_gapic_test.py", - ], - legacy_create_init = False, - deps = [":bigquery_py_gapic"], -) - -py_gapic_assembly_pkg( - name = "bigquery-v2-py", - deps = [ - ":bigquery_py_gapic", - ], -) - -############################################################################## -# PHP -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "php_gapic_assembly_pkg", - "php_gapic_library", - "php_grpc_library", - "php_proto_library", -) - -php_proto_library( - name = "bigquery_php_proto", - deps = [":bigquery_proto"], -) - -php_grpc_library( - name = "bigquery_php_grpc", - srcs = [":bigquery_proto"], - deps = [":bigquery_php_proto"], -) - -# Add api.http options to all RPCs in the services to enable PHP GAPIC -#php_gapic_library( -# name = "bigquery_php_gapic", -# src = ":bigquery_proto_with_info", -# gapic_yaml = "bigquery_gapic.yaml", -# package = "google.cloud.bigquery.v2", -# service_yaml = "bigquery_v2.yaml", -# deps = [ -# ":bigquery_php_grpc", -# ":bigquery_php_proto", -# ], -#) -# -## Open Source Packages -#php_gapic_assembly_pkg( -# name = "google-cloud-bigquery-v2-php", -# deps = [ -# ":bigquery_php_gapic", -# ":bigquery_php_grpc", -# ":bigquery_php_proto", -# ], -#) - -############################################################################## -# Node.js -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) - -nodejs_gapic_library( - name = "bigquery_nodejs_gapic", - src = ":bigquery_proto_with_info", - extra_protoc_parameters = ["metadata"], - grpc_service_config = "bigquery_grpc_service_config.json", - package = "google.cloud.bigquery.v2", - rest_numeric_enums = False, - service_yaml = "bigquery_v2.yaml", - transport = "grpc", - deps = [], -) - -nodejs_gapic_assembly_pkg( - name = "bigquery-v2-nodejs", - deps = [ - ":bigquery_nodejs_gapic", - ":bigquery_proto", - ], -) - -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( - name = "bigquery_ruby_proto", - deps = [":bigquery_proto"], -) - -ruby_grpc_library( - name = "bigquery_ruby_grpc", - srcs = [":bigquery_proto"], - deps = [":bigquery_ruby_proto"], -) - -ruby_cloud_gapic_library( - name = "bigquery_ruby_gapic", - srcs = [":bigquery_proto_with_info"], - extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-bigquery-v2"], - rest_numeric_enums = False, - service_yaml = "bigquery_v2.yaml", - deps = [ - ":bigquery_ruby_grpc", - ":bigquery_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( - name = "google-cloud-bigquery-v2-ruby", - deps = [ - ":bigquery_ruby_gapic", - ":bigquery_ruby_grpc", - ":bigquery_ruby_proto", - ], -) - -############################################################################## -# C# -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "csharp_gapic_assembly_pkg", - "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", -) - -csharp_proto_library( - name = "bigquery_csharp_proto", - deps = [":bigquery_proto"], -) - -csharp_grpc_library( - name = "bigquery_csharp_grpc", - srcs = [":bigquery_proto"], - deps = [":bigquery_csharp_proto"], -) - -csharp_gapic_library( - name = "bigquery_csharp_gapic", - srcs = [":bigquery_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", - grpc_service_config = "bigquery_grpc_service_config.json", - rest_numeric_enums = False, - service_yaml = "bigquery_v2.yaml", - deps = [ - ":bigquery_csharp_grpc", - ":bigquery_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( - name = "google-cloud-bigquery-v2-csharp", - deps = [ - ":bigquery_csharp_gapic", - ":bigquery_csharp_grpc", - ":bigquery_csharp_proto", - ], -) - -############################################################################## -# C++ -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "cc_grpc_library", - "cc_proto_library", -) - -cc_proto_library( - name = "bigquery_cc_proto", - deps = [":bigquery_proto"], -) - -cc_grpc_library( - name = "bigquery_cc_grpc", - srcs = [":bigquery_proto"], - grpc_only = True, - deps = [":bigquery_cc_proto"], -) diff --git a/third_party/googleapis/google/cloud/bigquery/v2/bigquery_grpc_service_config.json b/third_party/googleapis/google/cloud/bigquery/v2/bigquery_grpc_service_config.json deleted file mode 100755 index 9dcb0e879..000000000 --- a/third_party/googleapis/google/cloud/bigquery/v2/bigquery_grpc_service_config.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "methodConfig": [ - { - "name": [ - { - "service": "google.cloud.bigquery.v2.ModelService", - "method": "GetModel" - }, - { - "service": "google.cloud.bigquery.v2.ModelService", - "method": "ListModels" - }, - { - "service": "google.cloud.bigquery.v2.ModelService", - "method": "PatchModel" - }, - { - "service": "google.cloud.bigquery.v2.ModelService", - "method": "DeleteModel" - } - ], - "timeout": "600s" - } - ] -} diff --git a/third_party/googleapis/google/cloud/bigquery/v2/bigquery_v2.yaml b/third_party/googleapis/google/cloud/bigquery/v2/bigquery_v2.yaml deleted file mode 100644 index 8f9e6ced5..000000000 --- a/third_party/googleapis/google/cloud/bigquery/v2/bigquery_v2.yaml +++ /dev/null @@ -1,104 +0,0 @@ -type: google.api.Service -config_version: 3 -name: bigquery.googleapis.com -title: BigQuery API - -apis: -- name: google.cloud.bigquery.v2.ModelService - -documentation: - summary: 'A data platform for customers to create, manage, share and query data.' - rules: - - selector: google.iam.v1.IAMPolicy.GetIamPolicy - description: |- - Gets the access control policy for a resource. Returns an empty policy - if the resource exists and does not have a policy set. - - - selector: google.iam.v1.IAMPolicy.SetIamPolicy - description: |- - Sets the access control policy on the specified resource. Replaces - any existing policy. - - Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` - errors. - - - selector: google.iam.v1.IAMPolicy.TestIamPermissions - description: |- - Returns permissions that a caller has on the specified resource. If the - resource does not exist, this will return an empty set of - permissions, not a `NOT_FOUND` error. - - Note: This operation is designed to be used for building - permission-aware UIs and command-line tools, not for authorization - checking. This operation may "fail open" without warning. - -http: - rules: - - selector: google.iam.v1.IAMPolicy.GetIamPolicy - post: '/bigquery/v2/{resource=projects/*/datasets/*}:getIamPolicy' - body: '*' - additional_bindings: - - post: '/bigquery/v2/{resource=projects/*/datasets/*/tables/*}:getIamPolicy' - body: '*' - - post: '/bigquery/v2/{resource=projects/*/datasets/*/tables/*/rowAccessPolicies/*}:getIamPolicy' - body: '*' - - selector: google.iam.v1.IAMPolicy.SetIamPolicy - post: '/bigquery/v2/{resource=projects/*/datasets/*}:setIamPolicy' - body: '*' - additional_bindings: - - post: '/bigquery/v2/{resource=projects/*/datasets/*/tables/*}:setIamPolicy' - body: '*' - - selector: google.iam.v1.IAMPolicy.TestIamPermissions - post: '/bigquery/v2/{resource=projects/*/datasets/*}:testIamPermissions' - body: '*' - additional_bindings: - - post: '/bigquery/v2/{resource=projects/*/datasets/*/tables/*}:testIamPermissions' - body: '*' - - post: '/bigquery/v2/{resource=projects/*/datasets/*/tables/*/rowAccessPolicies/*}:testIamPermissions' - body: '*' - -authentication: - rules: - - selector: google.cloud.bigquery.v2.ModelService.DeleteModel - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/bigquery, - https://www.googleapis.com/auth/cloud-platform - - selector: google.cloud.bigquery.v2.ModelService.GetModel - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/bigquery, - https://www.googleapis.com/auth/bigquery.readonly, - https://www.googleapis.com/auth/cloud-platform, - https://www.googleapis.com/auth/cloud-platform.read-only - - selector: google.cloud.bigquery.v2.ModelService.ListModels - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/bigquery, - https://www.googleapis.com/auth/bigquery.readonly, - https://www.googleapis.com/auth/cloud-platform, - https://www.googleapis.com/auth/cloud-platform.read-only - - selector: google.cloud.bigquery.v2.ModelService.PatchModel - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/bigquery, - https://www.googleapis.com/auth/cloud-platform - - selector: google.iam.v1.IAMPolicy.GetIamPolicy - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/bigquery, - https://www.googleapis.com/auth/bigquery.readonly, - https://www.googleapis.com/auth/cloud-platform, - https://www.googleapis.com/auth/cloud-platform.read-only - - selector: google.iam.v1.IAMPolicy.SetIamPolicy - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/bigquery, - https://www.googleapis.com/auth/cloud-platform - - selector: google.iam.v1.IAMPolicy.TestIamPermissions - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/bigquery, - https://www.googleapis.com/auth/bigquery.readonly, - https://www.googleapis.com/auth/cloud-platform, - https://www.googleapis.com/auth/cloud-platform.read-only diff --git a/third_party/googleapis/google/cloud/bigquery/v2/encryption_config.proto b/third_party/googleapis/google/cloud/bigquery/v2/encryption_config.proto deleted file mode 100644 index dfbc21832..000000000 --- a/third_party/googleapis/google/cloud/bigquery/v2/encryption_config.proto +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2021 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.cloud.bigquery.v2; - -import "google/api/field_behavior.proto"; -import "google/protobuf/wrappers.proto"; - -option go_package = "cloud.google.com/go/bigquery/apiv2/bigquerypb;bigquerypb"; -option java_outer_classname = "EncryptionConfigProto"; -option java_package = "com.google.cloud.bigquery.v2"; - -message EncryptionConfiguration { - // Optional. Describes the Cloud KMS encryption key that will be used to - // protect destination BigQuery table. The BigQuery Service Account associated - // with your project requires access to this encryption key. - google.protobuf.StringValue kms_key_name = 1 [(google.api.field_behavior) = OPTIONAL]; -} diff --git a/third_party/googleapis/google/cloud/bigquery/v2/model.proto b/third_party/googleapis/google/cloud/bigquery/v2/model.proto deleted file mode 100644 index fddd2f5e3..000000000 --- a/third_party/googleapis/google/cloud/bigquery/v2/model.proto +++ /dev/null @@ -1,1288 +0,0 @@ -// Copyright 2021 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.cloud.bigquery.v2; - -import "google/api/client.proto"; -import "google/api/field_behavior.proto"; -import "google/cloud/bigquery/v2/encryption_config.proto"; -import "google/cloud/bigquery/v2/model_reference.proto"; -import "google/cloud/bigquery/v2/standard_sql.proto"; -import "google/cloud/bigquery/v2/table_reference.proto"; -import "google/protobuf/empty.proto"; -import "google/protobuf/timestamp.proto"; -import "google/protobuf/wrappers.proto"; -import "google/api/annotations.proto"; - -option go_package = "cloud.google.com/go/bigquery/apiv2/bigquerypb;bigquerypb"; -option java_outer_classname = "ModelProto"; -option java_package = "com.google.cloud.bigquery.v2"; - -service ModelService { - option (google.api.default_host) = "bigquery.googleapis.com"; - option (google.api.oauth_scopes) = - "https://www.googleapis.com/auth/bigquery," - "https://www.googleapis.com/auth/bigquery.readonly," - "https://www.googleapis.com/auth/cloud-platform," - "https://www.googleapis.com/auth/cloud-platform.read-only"; - - // Gets the specified model resource by model ID. - rpc GetModel(GetModelRequest) returns (Model) { - option (google.api.http) = { - get: "/bigquery/v2/projects/{project_id=*}/datasets/{dataset_id=*}/models/{model_id=*}" - }; - option (google.api.method_signature) = "project_id,dataset_id,model_id"; - } - - // Lists all models in the specified dataset. Requires the READER dataset - // role. After retrieving the list of models, you can get information about a - // particular model by calling the models.get method. - rpc ListModels(ListModelsRequest) returns (ListModelsResponse) { - option (google.api.http) = { - get: "/bigquery/v2/projects/{project_id=*}/datasets/{dataset_id=*}/models" - }; - option (google.api.method_signature) = "project_id,dataset_id,max_results"; - } - - // Patch specific fields in the specified model. - rpc PatchModel(PatchModelRequest) returns (Model) { - option (google.api.http) = { - patch: "/bigquery/v2/projects/{project_id=*}/datasets/{dataset_id=*}/models/{model_id=*}" - body: "model" - }; - option (google.api.method_signature) = "project_id,dataset_id,model_id,model"; - } - - // Deletes the model specified by modelId from the dataset. - rpc DeleteModel(DeleteModelRequest) returns (google.protobuf.Empty) { - option (google.api.http) = { - delete: "/bigquery/v2/projects/{project_id=*}/datasets/{dataset_id=*}/models/{model_id=*}" - }; - option (google.api.method_signature) = "project_id,dataset_id,model_id"; - } -} - -message Model { - message SeasonalPeriod { - enum SeasonalPeriodType { - SEASONAL_PERIOD_TYPE_UNSPECIFIED = 0; - - // No seasonality - NO_SEASONALITY = 1; - - // Daily period, 24 hours. - DAILY = 2; - - // Weekly period, 7 days. - WEEKLY = 3; - - // Monthly period, 30 days or irregular. - MONTHLY = 4; - - // Quarterly period, 90 days or irregular. - QUARTERLY = 5; - - // Yearly period, 365 days or irregular. - YEARLY = 6; - } - - - } - - message KmeansEnums { - // Indicates the method used to initialize the centroids for KMeans - // clustering algorithm. - enum KmeansInitializationMethod { - // Unspecified initialization method. - KMEANS_INITIALIZATION_METHOD_UNSPECIFIED = 0; - - // Initializes the centroids randomly. - RANDOM = 1; - - // Initializes the centroids using data specified in - // kmeans_initialization_column. - CUSTOM = 2; - - // Initializes with kmeans++. - KMEANS_PLUS_PLUS = 3; - } - - - } - - // Evaluation metrics for regression and explicit feedback type matrix - // factorization models. - message RegressionMetrics { - // Mean absolute error. - google.protobuf.DoubleValue mean_absolute_error = 1; - - // Mean squared error. - google.protobuf.DoubleValue mean_squared_error = 2; - - // Mean squared log error. - google.protobuf.DoubleValue mean_squared_log_error = 3; - - // Median absolute error. - google.protobuf.DoubleValue median_absolute_error = 4; - - // R^2 score. This corresponds to r2_score in ML.EVALUATE. - google.protobuf.DoubleValue r_squared = 5; - } - - // Aggregate metrics for classification/classifier models. For multi-class - // models, the metrics are either macro-averaged or micro-averaged. When - // macro-averaged, the metrics are calculated for each label and then an - // unweighted average is taken of those values. When micro-averaged, the - // metric is calculated globally by counting the total number of correctly - // predicted rows. - message AggregateClassificationMetrics { - // Precision is the fraction of actual positive predictions that had - // positive actual labels. For multiclass this is a macro-averaged - // metric treating each class as a binary classifier. - google.protobuf.DoubleValue precision = 1; - - // Recall is the fraction of actual positive labels that were given a - // positive prediction. For multiclass this is a macro-averaged metric. - google.protobuf.DoubleValue recall = 2; - - // Accuracy is the fraction of predictions given the correct label. For - // multiclass this is a micro-averaged metric. - google.protobuf.DoubleValue accuracy = 3; - - // Threshold at which the metrics are computed. For binary - // classification models this is the positive class threshold. - // For multi-class classfication models this is the confidence - // threshold. - google.protobuf.DoubleValue threshold = 4; - - // The F1 score is an average of recall and precision. For multiclass - // this is a macro-averaged metric. - google.protobuf.DoubleValue f1_score = 5; - - // Logarithmic Loss. For multiclass this is a macro-averaged metric. - google.protobuf.DoubleValue log_loss = 6; - - // Area Under a ROC Curve. For multiclass this is a macro-averaged - // metric. - google.protobuf.DoubleValue roc_auc = 7; - } - - // Evaluation metrics for binary classification/classifier models. - message BinaryClassificationMetrics { - // Confusion matrix for binary classification models. - message BinaryConfusionMatrix { - // Threshold value used when computing each of the following metric. - google.protobuf.DoubleValue positive_class_threshold = 1; - - // Number of true samples predicted as true. - google.protobuf.Int64Value true_positives = 2; - - // Number of false samples predicted as true. - google.protobuf.Int64Value false_positives = 3; - - // Number of true samples predicted as false. - google.protobuf.Int64Value true_negatives = 4; - - // Number of false samples predicted as false. - google.protobuf.Int64Value false_negatives = 5; - - // The fraction of actual positive predictions that had positive actual - // labels. - google.protobuf.DoubleValue precision = 6; - - // The fraction of actual positive labels that were given a positive - // prediction. - google.protobuf.DoubleValue recall = 7; - - // The equally weighted average of recall and precision. - google.protobuf.DoubleValue f1_score = 8; - - // The fraction of predictions given the correct label. - google.protobuf.DoubleValue accuracy = 9; - } - - // Aggregate classification metrics. - AggregateClassificationMetrics aggregate_classification_metrics = 1; - - // Binary confusion matrix at multiple thresholds. - repeated BinaryConfusionMatrix binary_confusion_matrix_list = 2; - - // Label representing the positive class. - string positive_label = 3; - - // Label representing the negative class. - string negative_label = 4; - } - - // Evaluation metrics for multi-class classification/classifier models. - message MultiClassClassificationMetrics { - // Confusion matrix for multi-class classification models. - message ConfusionMatrix { - // A single entry in the confusion matrix. - message Entry { - // The predicted label. For confidence_threshold > 0, we will - // also add an entry indicating the number of items under the - // confidence threshold. - string predicted_label = 1; - - // Number of items being predicted as this label. - google.protobuf.Int64Value item_count = 2; - } - - // A single row in the confusion matrix. - message Row { - // The original label of this row. - string actual_label = 1; - - // Info describing predicted label distribution. - repeated Entry entries = 2; - } - - // Confidence threshold used when computing the entries of the - // confusion matrix. - google.protobuf.DoubleValue confidence_threshold = 1; - - // One row per actual label. - repeated Row rows = 2; - } - - // Aggregate classification metrics. - AggregateClassificationMetrics aggregate_classification_metrics = 1; - - // Confusion matrix at different thresholds. - repeated ConfusionMatrix confusion_matrix_list = 2; - } - - // Evaluation metrics for clustering models. - message ClusteringMetrics { - // Message containing the information about one cluster. - message Cluster { - // Representative value of a single feature within the cluster. - message FeatureValue { - // Representative value of a categorical feature. - message CategoricalValue { - // Represents the count of a single category within the cluster. - message CategoryCount { - // The name of category. - string category = 1; - - // The count of training samples matching the category within the - // cluster. - google.protobuf.Int64Value count = 2; - } - - // Counts of all categories for the categorical feature. If there are - // more than ten categories, we return top ten (by count) and return - // one more CategoryCount with category "_OTHER_" and count as - // aggregate counts of remaining categories. - repeated CategoryCount category_counts = 1; - } - - // The feature column name. - string feature_column = 1; - - oneof value { - // The numerical feature value. This is the centroid value for this - // feature. - google.protobuf.DoubleValue numerical_value = 2; - - // The categorical feature value. - CategoricalValue categorical_value = 3; - } - } - - // Centroid id. - int64 centroid_id = 1; - - // Values of highly variant features for this cluster. - repeated FeatureValue feature_values = 2; - - // Count of training data rows that were assigned to this cluster. - google.protobuf.Int64Value count = 3; - } - - // Davies-Bouldin index. - google.protobuf.DoubleValue davies_bouldin_index = 1; - - // Mean of squared distances between each sample to its cluster centroid. - google.protobuf.DoubleValue mean_squared_distance = 2; - - // Information for all clusters. - repeated Cluster clusters = 3; - } - - // Evaluation metrics used by weighted-ALS models specified by - // feedback_type=implicit. - message RankingMetrics { - // Calculates a precision per user for all the items by ranking them and - // then averages all the precisions across all the users. - google.protobuf.DoubleValue mean_average_precision = 1; - - // Similar to the mean squared error computed in regression and explicit - // recommendation models except instead of computing the rating directly, - // the output from evaluate is computed against a preference which is 1 or 0 - // depending on if the rating exists or not. - google.protobuf.DoubleValue mean_squared_error = 2; - - // A metric to determine the goodness of a ranking calculated from the - // predicted confidence by comparing it to an ideal rank measured by the - // original ratings. - google.protobuf.DoubleValue normalized_discounted_cumulative_gain = 3; - - // Determines the goodness of a ranking by computing the percentile rank - // from the predicted confidence and dividing it by the original rank. - google.protobuf.DoubleValue average_rank = 4; - } - - // Model evaluation metrics for ARIMA forecasting models. - message ArimaForecastingMetrics { - // Model evaluation metrics for a single ARIMA forecasting model. - message ArimaSingleModelForecastingMetrics { - // Non-seasonal order. - ArimaOrder non_seasonal_order = 1; - - // Arima fitting metrics. - ArimaFittingMetrics arima_fitting_metrics = 2; - - // Is arima model fitted with drift or not. It is always false when d - // is not 1. - bool has_drift = 3; - - // The time_series_id value for this time series. It will be one of - // the unique values from the time_series_id_column specified during - // ARIMA model training. Only present when time_series_id_column - // training option was used. - string time_series_id = 4; - - // The tuple of time_series_ids identifying this time series. It will - // be one of the unique tuples of values present in the - // time_series_id_columns specified during ARIMA model training. Only - // present when time_series_id_columns training option was used and - // the order of values here are same as the order of - // time_series_id_columns. - repeated string time_series_ids = 9; - - // Seasonal periods. Repeated because multiple periods are supported - // for one time series. - repeated SeasonalPeriod.SeasonalPeriodType seasonal_periods = 5; - - // If true, holiday_effect is a part of time series decomposition result. - google.protobuf.BoolValue has_holiday_effect = 6; - - // If true, spikes_and_dips is a part of time series decomposition result. - google.protobuf.BoolValue has_spikes_and_dips = 7; - - // If true, step_changes is a part of time series decomposition result. - google.protobuf.BoolValue has_step_changes = 8; - } - - // Non-seasonal order. - repeated ArimaOrder non_seasonal_order = 1 [deprecated = true]; - - // Arima model fitting metrics. - repeated ArimaFittingMetrics arima_fitting_metrics = 2 [deprecated = true]; - - // Seasonal periods. Repeated because multiple periods are supported for one - // time series. - repeated SeasonalPeriod.SeasonalPeriodType seasonal_periods = 3 [deprecated = true]; - - // Whether Arima model fitted with drift or not. It is always false when d - // is not 1. - repeated bool has_drift = 4 [deprecated = true]; - - // Id to differentiate different time series for the large-scale case. - repeated string time_series_id = 5 [deprecated = true]; - - // Repeated as there can be many metric sets (one for each model) in - // auto-arima and the large-scale case. - repeated ArimaSingleModelForecastingMetrics arima_single_model_forecasting_metrics = 6; - } - - // Evaluation metrics of a model. These are either computed on all training - // data or just the eval data based on whether eval data was used during - // training. These are not present for imported models. - message EvaluationMetrics { - oneof metrics { - // Populated for regression models and explicit feedback type matrix - // factorization models. - RegressionMetrics regression_metrics = 1; - - // Populated for binary classification/classifier models. - BinaryClassificationMetrics binary_classification_metrics = 2; - - // Populated for multi-class classification/classifier models. - MultiClassClassificationMetrics multi_class_classification_metrics = 3; - - // Populated for clustering models. - ClusteringMetrics clustering_metrics = 4; - - // Populated for implicit feedback type matrix factorization models. - RankingMetrics ranking_metrics = 5; - - // Populated for ARIMA models. - ArimaForecastingMetrics arima_forecasting_metrics = 6; - } - } - - // Data split result. This contains references to the training and evaluation - // data tables that were used to train the model. - message DataSplitResult { - // Table reference of the training data after split. - TableReference training_table = 1; - - // Table reference of the evaluation data after split. - TableReference evaluation_table = 2; - } - - // Arima order, can be used for both non-seasonal and seasonal parts. - message ArimaOrder { - // Order of the autoregressive part. - int64 p = 1; - - // Order of the differencing part. - int64 d = 2; - - // Order of the moving-average part. - int64 q = 3; - } - - // ARIMA model fitting metrics. - message ArimaFittingMetrics { - // Log-likelihood. - double log_likelihood = 1; - - // AIC. - double aic = 2; - - // Variance. - double variance = 3; - } - - // Global explanations containing the top most important features - // after training. - message GlobalExplanation { - // Explanation for a single feature. - message Explanation { - // Full name of the feature. For non-numerical features, will be - // formatted like .. Overall size of - // feature name will always be truncated to first 120 characters. - string feature_name = 1; - - // Attribution of feature. - google.protobuf.DoubleValue attribution = 2; - } - - // A list of the top global explanations. Sorted by absolute value of - // attribution in descending order. - repeated Explanation explanations = 1; - - // Class label for this set of global explanations. Will be empty/null for - // binary logistic and linear regression models. Sorted alphabetically in - // descending order. - string class_label = 2; - } - - // Information about a single training query run for the model. - message TrainingRun { - // Options used in model training. - message TrainingOptions { - // The maximum number of iterations in training. Used only for iterative - // training algorithms. - int64 max_iterations = 1; - - // Type of loss function used during training run. - LossType loss_type = 2; - - // Learning rate in training. Used only for iterative training algorithms. - double learn_rate = 3; - - // L1 regularization coefficient. - google.protobuf.DoubleValue l1_regularization = 4; - - // L2 regularization coefficient. - google.protobuf.DoubleValue l2_regularization = 5; - - // When early_stop is true, stops training when accuracy improvement is - // less than 'min_relative_progress'. Used only for iterative training - // algorithms. - google.protobuf.DoubleValue min_relative_progress = 6; - - // Whether to train a model from the last checkpoint. - google.protobuf.BoolValue warm_start = 7; - - // Whether to stop early when the loss doesn't improve significantly - // any more (compared to min_relative_progress). Used only for iterative - // training algorithms. - google.protobuf.BoolValue early_stop = 8; - - // Name of input label columns in training data. - repeated string input_label_columns = 9; - - // The data split type for training and evaluation, e.g. RANDOM. - DataSplitMethod data_split_method = 10; - - // The fraction of evaluation data over the whole input data. The rest - // of data will be used as training data. The format should be double. - // Accurate to two decimal places. - // Default value is 0.2. - double data_split_eval_fraction = 11; - - // The column to split data with. This column won't be used as a - // feature. - // 1. When data_split_method is CUSTOM, the corresponding column should - // be boolean. The rows with true value tag are eval data, and the false - // are training data. - // 2. When data_split_method is SEQ, the first DATA_SPLIT_EVAL_FRACTION - // rows (from smallest to largest) in the corresponding column are used - // as training data, and the rest are eval data. It respects the order - // in Orderable data types: - // https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types#data-type-properties - string data_split_column = 12; - - // The strategy to determine learn rate for the current iteration. - LearnRateStrategy learn_rate_strategy = 13; - - // Specifies the initial learning rate for the line search learn rate - // strategy. - double initial_learn_rate = 16; - - // Weights associated with each label class, for rebalancing the - // training data. Only applicable for classification models. - map label_class_weights = 17; - - // User column specified for matrix factorization models. - string user_column = 18; - - // Item column specified for matrix factorization models. - string item_column = 19; - - // Distance type for clustering models. - DistanceType distance_type = 20; - - // Number of clusters for clustering models. - int64 num_clusters = 21; - - // Google Cloud Storage URI from which the model was imported. Only - // applicable for imported models. - string model_uri = 22; - - // Optimization strategy for training linear regression models. - OptimizationStrategy optimization_strategy = 23; - - // Hidden units for dnn models. - repeated int64 hidden_units = 24; - - // Batch size for dnn models. - int64 batch_size = 25; - - // Dropout probability for dnn models. - google.protobuf.DoubleValue dropout = 26; - - // Maximum depth of a tree for boosted tree models. - int64 max_tree_depth = 27; - - // Subsample fraction of the training data to grow tree to prevent - // overfitting for boosted tree models. - double subsample = 28; - - // Minimum split loss for boosted tree models. - google.protobuf.DoubleValue min_split_loss = 29; - - // Num factors specified for matrix factorization models. - int64 num_factors = 30; - - // Feedback type that specifies which algorithm to run for matrix - // factorization. - FeedbackType feedback_type = 31; - - // Hyperparameter for matrix factoration when implicit feedback type is - // specified. - google.protobuf.DoubleValue wals_alpha = 32; - - // The method used to initialize the centroids for kmeans algorithm. - KmeansEnums.KmeansInitializationMethod kmeans_initialization_method = 33; - - // The column used to provide the initial centroids for kmeans algorithm - // when kmeans_initialization_method is CUSTOM. - string kmeans_initialization_column = 34; - - // Column to be designated as time series timestamp for ARIMA model. - string time_series_timestamp_column = 35; - - // Column to be designated as time series data for ARIMA model. - string time_series_data_column = 36; - - // Whether to enable auto ARIMA or not. - bool auto_arima = 37; - - // A specification of the non-seasonal part of the ARIMA model: the three - // components (p, d, q) are the AR order, the degree of differencing, and - // the MA order. - ArimaOrder non_seasonal_order = 38; - - // The data frequency of a time series. - DataFrequency data_frequency = 39; - - // Include drift when fitting an ARIMA model. - bool include_drift = 41; - - // The geographical region based on which the holidays are considered in - // time series modeling. If a valid value is specified, then holiday - // effects modeling is enabled. - HolidayRegion holiday_region = 42; - - // The time series id column that was used during ARIMA model training. - string time_series_id_column = 43; - - // The time series id columns that were used during ARIMA model training. - repeated string time_series_id_columns = 51; - - // The number of periods ahead that need to be forecasted. - int64 horizon = 44; - - // Whether to preserve the input structs in output feature names. - // Suppose there is a struct A with field b. - // When false (default), the output feature name is A_b. - // When true, the output feature name is A.b. - bool preserve_input_structs = 45; - - // The max value of non-seasonal p and q. - int64 auto_arima_max_order = 46; - - // If true, perform decompose time series and save the results. - google.protobuf.BoolValue decompose_time_series = 50; - - // If true, clean spikes and dips in the input time series. - google.protobuf.BoolValue clean_spikes_and_dips = 52; - - // If true, detect step changes and make data adjustment in the input time - // series. - google.protobuf.BoolValue adjust_step_changes = 53; - } - - // Information about a single iteration of the training run. - message IterationResult { - // Information about a single cluster for clustering model. - message ClusterInfo { - // Centroid id. - int64 centroid_id = 1; - - // Cluster radius, the average distance from centroid - // to each point assigned to the cluster. - google.protobuf.DoubleValue cluster_radius = 2; - - // Cluster size, the total number of points assigned to the cluster. - google.protobuf.Int64Value cluster_size = 3; - } - - // (Auto-)arima fitting result. Wrap everything in ArimaResult for easier - // refactoring if we want to use model-specific iteration results. - message ArimaResult { - // Arima coefficients. - message ArimaCoefficients { - // Auto-regressive coefficients, an array of double. - repeated double auto_regressive_coefficients = 1; - - // Moving-average coefficients, an array of double. - repeated double moving_average_coefficients = 2; - - // Intercept coefficient, just a double not an array. - double intercept_coefficient = 3; - } - - // Arima model information. - message ArimaModelInfo { - // Non-seasonal order. - ArimaOrder non_seasonal_order = 1; - - // Arima coefficients. - ArimaCoefficients arima_coefficients = 2; - - // Arima fitting metrics. - ArimaFittingMetrics arima_fitting_metrics = 3; - - // Whether Arima model fitted with drift or not. It is always false - // when d is not 1. - bool has_drift = 4; - - // The time_series_id value for this time series. It will be one of - // the unique values from the time_series_id_column specified during - // ARIMA model training. Only present when time_series_id_column - // training option was used. - string time_series_id = 5; - - // The tuple of time_series_ids identifying this time series. It will - // be one of the unique tuples of values present in the - // time_series_id_columns specified during ARIMA model training. Only - // present when time_series_id_columns training option was used and - // the order of values here are same as the order of - // time_series_id_columns. - repeated string time_series_ids = 10; - - // Seasonal periods. Repeated because multiple periods are supported - // for one time series. - repeated SeasonalPeriod.SeasonalPeriodType seasonal_periods = 6; - - // If true, holiday_effect is a part of time series decomposition - // result. - google.protobuf.BoolValue has_holiday_effect = 7; - - // If true, spikes_and_dips is a part of time series decomposition - // result. - google.protobuf.BoolValue has_spikes_and_dips = 8; - - // If true, step_changes is a part of time series decomposition - // result. - google.protobuf.BoolValue has_step_changes = 9; - } - - // This message is repeated because there are multiple arima models - // fitted in auto-arima. For non-auto-arima model, its size is one. - repeated ArimaModelInfo arima_model_info = 1; - - // Seasonal periods. Repeated because multiple periods are supported for - // one time series. - repeated SeasonalPeriod.SeasonalPeriodType seasonal_periods = 2; - } - - // Index of the iteration, 0 based. - google.protobuf.Int32Value index = 1; - - // Time taken to run the iteration in milliseconds. - google.protobuf.Int64Value duration_ms = 4; - - // Loss computed on the training data at the end of iteration. - google.protobuf.DoubleValue training_loss = 5; - - // Loss computed on the eval data at the end of iteration. - google.protobuf.DoubleValue eval_loss = 6; - - // Learn rate used for this iteration. - double learn_rate = 7; - - // Information about top clusters for clustering models. - repeated ClusterInfo cluster_infos = 8; - - ArimaResult arima_result = 9; - } - - // Options that were used for this training run, includes - // user specified and default options that were used. - TrainingOptions training_options = 1; - - // The start time of this training run. - google.protobuf.Timestamp start_time = 8; - - // Output of each iteration run, results.size() <= max_iterations. - repeated IterationResult results = 6; - - // The evaluation metrics over training/eval data that were computed at the - // end of training. - EvaluationMetrics evaluation_metrics = 7; - - // Data split result of the training run. Only set when the input data is - // actually split. - DataSplitResult data_split_result = 9; - - // Global explanations for important features of the model. For multi-class - // models, there is one entry for each label class. For other models, there - // is only one entry in the list. - repeated GlobalExplanation global_explanations = 10; - } - - // Indicates the type of the Model. - enum ModelType { - MODEL_TYPE_UNSPECIFIED = 0; - - // Linear regression model. - LINEAR_REGRESSION = 1; - - // Logistic regression based classification model. - LOGISTIC_REGRESSION = 2; - - // K-means clustering model. - KMEANS = 3; - - // Matrix factorization model. - MATRIX_FACTORIZATION = 4; - - // DNN classifier model. - DNN_CLASSIFIER = 5; - - // An imported TensorFlow model. - TENSORFLOW = 6; - - // DNN regressor model. - DNN_REGRESSOR = 7; - - // Boosted tree regressor model. - BOOSTED_TREE_REGRESSOR = 9; - - // Boosted tree classifier model. - BOOSTED_TREE_CLASSIFIER = 10; - - // ARIMA model. - ARIMA = 11; - - // [Beta] AutoML Tables regression model. - AUTOML_REGRESSOR = 12; - - // [Beta] AutoML Tables classification model. - AUTOML_CLASSIFIER = 13; - - // New name for the ARIMA model. - ARIMA_PLUS = 19; - } - - // Loss metric to evaluate model training performance. - enum LossType { - LOSS_TYPE_UNSPECIFIED = 0; - - // Mean squared loss, used for linear regression. - MEAN_SQUARED_LOSS = 1; - - // Mean log loss, used for logistic regression. - MEAN_LOG_LOSS = 2; - } - - // Distance metric used to compute the distance between two points. - enum DistanceType { - DISTANCE_TYPE_UNSPECIFIED = 0; - - // Eculidean distance. - EUCLIDEAN = 1; - - // Cosine distance. - COSINE = 2; - } - - // Indicates the method to split input data into multiple tables. - enum DataSplitMethod { - DATA_SPLIT_METHOD_UNSPECIFIED = 0; - - // Splits data randomly. - RANDOM = 1; - - // Splits data with the user provided tags. - CUSTOM = 2; - - // Splits data sequentially. - SEQUENTIAL = 3; - - // Data split will be skipped. - NO_SPLIT = 4; - - // Splits data automatically: Uses NO_SPLIT if the data size is small. - // Otherwise uses RANDOM. - AUTO_SPLIT = 5; - } - - // Type of supported data frequency for time series forecasting models. - enum DataFrequency { - DATA_FREQUENCY_UNSPECIFIED = 0; - - // Automatically inferred from timestamps. - AUTO_FREQUENCY = 1; - - // Yearly data. - YEARLY = 2; - - // Quarterly data. - QUARTERLY = 3; - - // Monthly data. - MONTHLY = 4; - - // Weekly data. - WEEKLY = 5; - - // Daily data. - DAILY = 6; - - // Hourly data. - HOURLY = 7; - - // Per-minute data. - PER_MINUTE = 8; - } - - // Type of supported holiday regions for time series forecasting models. - enum HolidayRegion { - // Holiday region unspecified. - HOLIDAY_REGION_UNSPECIFIED = 0; - - // Global. - GLOBAL = 1; - - // North America. - NA = 2; - - // Japan and Asia Pacific: Korea, Greater China, India, Australia, and New - // Zealand. - JAPAC = 3; - - // Europe, the Middle East and Africa. - EMEA = 4; - - // Latin America and the Caribbean. - LAC = 5; - - // United Arab Emirates - AE = 6; - - // Argentina - AR = 7; - - // Austria - AT = 8; - - // Australia - AU = 9; - - // Belgium - BE = 10; - - // Brazil - BR = 11; - - // Canada - CA = 12; - - // Switzerland - CH = 13; - - // Chile - CL = 14; - - // China - CN = 15; - - // Colombia - CO = 16; - - // Czechoslovakia - CS = 17; - - // Czech Republic - CZ = 18; - - // Germany - DE = 19; - - // Denmark - DK = 20; - - // Algeria - DZ = 21; - - // Ecuador - EC = 22; - - // Estonia - EE = 23; - - // Egypt - EG = 24; - - // Spain - ES = 25; - - // Finland - FI = 26; - - // France - FR = 27; - - // Great Britain (United Kingdom) - GB = 28; - - // Greece - GR = 29; - - // Hong Kong - HK = 30; - - // Hungary - HU = 31; - - // Indonesia - ID = 32; - - // Ireland - IE = 33; - - // Israel - IL = 34; - - // India - IN = 35; - - // Iran - IR = 36; - - // Italy - IT = 37; - - // Japan - JP = 38; - - // Korea (South) - KR = 39; - - // Latvia - LV = 40; - - // Morocco - MA = 41; - - // Mexico - MX = 42; - - // Malaysia - MY = 43; - - // Nigeria - NG = 44; - - // Netherlands - NL = 45; - - // Norway - NO = 46; - - // New Zealand - NZ = 47; - - // Peru - PE = 48; - - // Philippines - PH = 49; - - // Pakistan - PK = 50; - - // Poland - PL = 51; - - // Portugal - PT = 52; - - // Romania - RO = 53; - - // Serbia - RS = 54; - - // Russian Federation - RU = 55; - - // Saudi Arabia - SA = 56; - - // Sweden - SE = 57; - - // Singapore - SG = 58; - - // Slovenia - SI = 59; - - // Slovakia - SK = 60; - - // Thailand - TH = 61; - - // Turkey - TR = 62; - - // Taiwan - TW = 63; - - // Ukraine - UA = 64; - - // United States - US = 65; - - // Venezuela - VE = 66; - - // Viet Nam - VN = 67; - - // South Africa - ZA = 68; - } - - // Indicates the learning rate optimization strategy to use. - enum LearnRateStrategy { - LEARN_RATE_STRATEGY_UNSPECIFIED = 0; - - // Use line search to determine learning rate. - LINE_SEARCH = 1; - - // Use a constant learning rate. - CONSTANT = 2; - } - - // Indicates the optimization strategy used for training. - enum OptimizationStrategy { - OPTIMIZATION_STRATEGY_UNSPECIFIED = 0; - - // Uses an iterative batch gradient descent algorithm. - BATCH_GRADIENT_DESCENT = 1; - - // Uses a normal equation to solve linear regression problem. - NORMAL_EQUATION = 2; - } - - // Indicates the training algorithm to use for matrix factorization models. - enum FeedbackType { - FEEDBACK_TYPE_UNSPECIFIED = 0; - - // Use weighted-als for implicit feedback problems. - IMPLICIT = 1; - - // Use nonweighted-als for explicit feedback problems. - EXPLICIT = 2; - } - - // Output only. A hash of this resource. - string etag = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Required. Unique identifier for this model. - ModelReference model_reference = 2 [(google.api.field_behavior) = REQUIRED]; - - // Output only. The time when this model was created, in millisecs since the epoch. - int64 creation_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The time when this model was last modified, in millisecs since the epoch. - int64 last_modified_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Optional. A user-friendly description of this model. - string description = 12 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. A descriptive name for this model. - string friendly_name = 14 [(google.api.field_behavior) = OPTIONAL]; - - // The labels associated with this model. You can use these to organize - // and group your models. Label keys and values can be no longer - // than 63 characters, can only contain lowercase letters, numeric - // characters, underscores and dashes. International characters are allowed. - // Label values are optional. Label keys must start with a letter and each - // label in the list must have a different key. - map labels = 15; - - // Optional. The time when this model expires, in milliseconds since the epoch. - // If not present, the model will persist indefinitely. Expired models - // will be deleted and their storage reclaimed. The defaultTableExpirationMs - // property of the encapsulating dataset can be used to set a default - // expirationTime on newly created models. - int64 expiration_time = 16 [(google.api.field_behavior) = OPTIONAL]; - - // Output only. The geographic location where the model resides. This value - // is inherited from the dataset. - string location = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Custom encryption configuration (e.g., Cloud KMS keys). This shows the - // encryption configuration of the model data while stored in BigQuery - // storage. This field can be used with PatchModel to update encryption key - // for an already encrypted model. - EncryptionConfiguration encryption_configuration = 17; - - // Output only. Type of the model resource. - ModelType model_type = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Information for all training runs in increasing order of start_time. - repeated TrainingRun training_runs = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Input feature columns that were used to train this model. - repeated StandardSqlField feature_columns = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Label columns that were used to train this model. - // The output of the model will have a "predicted_" prefix to these columns. - repeated StandardSqlField label_columns = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The best trial_id across all training runs. - int64 best_trial_id = 19 [deprecated = true]; -} - -message GetModelRequest { - // Required. Project ID of the requested model. - string project_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. Dataset ID of the requested model. - string dataset_id = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. Model ID of the requested model. - string model_id = 3 [(google.api.field_behavior) = REQUIRED]; -} - -message PatchModelRequest { - // Required. Project ID of the model to patch. - string project_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. Dataset ID of the model to patch. - string dataset_id = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. Model ID of the model to patch. - string model_id = 3 [(google.api.field_behavior) = REQUIRED]; - - // Required. Patched model. - // Follows RFC5789 patch semantics. Missing fields are not updated. - // To clear a field, explicitly set to default value. - Model model = 4 [(google.api.field_behavior) = REQUIRED]; -} - -message DeleteModelRequest { - // Required. Project ID of the model to delete. - string project_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. Dataset ID of the model to delete. - string dataset_id = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. Model ID of the model to delete. - string model_id = 3 [(google.api.field_behavior) = REQUIRED]; -} - -message ListModelsRequest { - // Required. Project ID of the models to list. - string project_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. Dataset ID of the models to list. - string dataset_id = 2 [(google.api.field_behavior) = REQUIRED]; - - // The maximum number of results to return in a single response page. - // Leverage the page tokens to iterate through the entire collection. - google.protobuf.UInt32Value max_results = 3; - - // Page token, returned by a previous call to request the next page of - // results - string page_token = 4; -} - -message ListModelsResponse { - // Models in the requested dataset. Only the following fields are populated: - // model_reference, model_type, creation_time, last_modified_time and - // labels. - repeated Model models = 1; - - // A token to request the next page of results. - string next_page_token = 2; -} diff --git a/third_party/googleapis/google/cloud/bigquery/v2/model_reference.proto b/third_party/googleapis/google/cloud/bigquery/v2/model_reference.proto deleted file mode 100644 index e50943167..000000000 --- a/third_party/googleapis/google/cloud/bigquery/v2/model_reference.proto +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2021 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.cloud.bigquery.v2; - -import "google/api/field_behavior.proto"; - -option go_package = "cloud.google.com/go/bigquery/apiv2/bigquerypb;bigquerypb"; -option java_outer_classname = "ModelReferenceProto"; -option java_package = "com.google.cloud.bigquery.v2"; - -// Id path of a model. -message ModelReference { - // Required. The ID of the project containing this model. - string project_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The ID of the dataset containing this model. - string dataset_id = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. The ID of the model. The ID must contain only - // letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum - // length is 1,024 characters. - string model_id = 3 [(google.api.field_behavior) = REQUIRED]; -} diff --git a/third_party/googleapis/google/cloud/bigquery/v2/standard_sql.proto b/third_party/googleapis/google/cloud/bigquery/v2/standard_sql.proto deleted file mode 100644 index c8d2c78e6..000000000 --- a/third_party/googleapis/google/cloud/bigquery/v2/standard_sql.proto +++ /dev/null @@ -1,123 +0,0 @@ -// Copyright 2021 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.cloud.bigquery.v2; - -import "google/api/field_behavior.proto"; - -option go_package = "cloud.google.com/go/bigquery/apiv2/bigquerypb;bigquerypb"; -option java_outer_classname = "StandardSqlProto"; -option java_package = "com.google.cloud.bigquery.v2"; - -// The type of a variable, e.g., a function argument. -// Examples: -// INT64: {type_kind="INT64"} -// ARRAY: {type_kind="ARRAY", array_element_type="STRING"} -// STRUCT>: -// {type_kind="STRUCT", -// struct_type={fields=[ -// {name="x", type={type_kind="STRING"}}, -// {name="y", type={type_kind="ARRAY", array_element_type="DATE"}} -// ]}} -message StandardSqlDataType { - enum TypeKind { - // Invalid type. - TYPE_KIND_UNSPECIFIED = 0; - - // Encoded as a string in decimal format. - INT64 = 2; - - // Encoded as a boolean "false" or "true". - BOOL = 5; - - // Encoded as a number, or string "NaN", "Infinity" or "-Infinity". - FLOAT64 = 7; - - // Encoded as a string value. - STRING = 8; - - // Encoded as a base64 string per RFC 4648, section 4. - BYTES = 9; - - // Encoded as an RFC 3339 timestamp with mandatory "Z" time zone string: - // 1985-04-12T23:20:50.52Z - TIMESTAMP = 19; - - // Encoded as RFC 3339 full-date format string: 1985-04-12 - DATE = 10; - - // Encoded as RFC 3339 partial-time format string: 23:20:50.52 - TIME = 20; - - // Encoded as RFC 3339 full-date "T" partial-time: 1985-04-12T23:20:50.52 - DATETIME = 21; - - // Encoded as fully qualified 3 part: 0-5 15 2:30:45.6 - INTERVAL = 26; - - // Encoded as WKT - GEOGRAPHY = 22; - - // Encoded as a decimal string. - NUMERIC = 23; - - // Encoded as a decimal string. - BIGNUMERIC = 24; - - // Encoded as a string. - JSON = 25; - - // Encoded as a list with types matching Type.array_type. - ARRAY = 16; - - // Encoded as a list with fields of type Type.struct_type[i]. List is used - // because a JSON object cannot have duplicate field names. - STRUCT = 17; - } - - // Required. The top level type of this field. - // Can be any standard SQL data type (e.g., "INT64", "DATE", "ARRAY"). - TypeKind type_kind = 1 [(google.api.field_behavior) = REQUIRED]; - - oneof sub_type { - // The type of the array's elements, if type_kind = "ARRAY". - StandardSqlDataType array_element_type = 2; - - // The fields of this struct, in order, if type_kind = "STRUCT". - StandardSqlStructType struct_type = 3; - } -} - -// A field or a column. -message StandardSqlField { - // Optional. The name of this field. Can be absent for struct fields. - string name = 1 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The type of this parameter. Absent if not explicitly - // specified (e.g., CREATE FUNCTION statement can omit the return type; - // in this case the output parameter does not have this "type" field). - StandardSqlDataType type = 2 [(google.api.field_behavior) = OPTIONAL]; -} - -message StandardSqlStructType { - repeated StandardSqlField fields = 1; -} - -// A table type -message StandardSqlTableType { - // The columns in this table type - repeated StandardSqlField columns = 1; -} diff --git a/third_party/googleapis/google/cloud/bigquery/v2/table_reference.proto b/third_party/googleapis/google/cloud/bigquery/v2/table_reference.proto deleted file mode 100644 index 708e6a602..000000000 --- a/third_party/googleapis/google/cloud/bigquery/v2/table_reference.proto +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright 2021 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.cloud.bigquery.v2; - -import "google/api/field_behavior.proto"; - -option go_package = "cloud.google.com/go/bigquery/apiv2/bigquerypb;bigquerypb"; -option java_outer_classname = "TableReferenceProto"; -option java_package = "com.google.cloud.bigquery.v2"; - -message TableReference { - // Required. The ID of the project containing this table. - string project_id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The ID of the dataset containing this table. - string dataset_id = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. The ID of the table. The ID must contain only - // letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum - // length is 1,024 characters. Certain operations allow - // suffixing of the table ID with a partition decorator, such as - // `sample_table$20190123`. - string table_id = 3 [(google.api.field_behavior) = REQUIRED]; - - // The alternative field that will be used when ESF is not able to translate - // the received data to the project_id field. - repeated string project_id_alternative = 4; - - // The alternative field that will be used when ESF is not able to translate - // the received data to the project_id field. - repeated string dataset_id_alternative = 5; - - // The alternative field that will be used when ESF is not able to translate - // the received data to the project_id field. - repeated string table_id_alternative = 6; -} diff --git a/third_party/googleapis/google/cloud/billing/BUILD.bazel b/third_party/googleapis/google/cloud/billing/BUILD.bazel index 6b01e1a26..527fa480a 100644 --- a/third_party/googleapis/google/cloud/billing/BUILD.bazel +++ b/third_party/googleapis/google/cloud/billing/BUILD.bazel @@ -22,7 +22,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-billing", "ruby-cloud-env-prefix=BILLING", - "ruby-cloud-wrapper-of=v1:0.1", + "ruby-cloud-wrapper-of=v1:0.17", "ruby-cloud-product-url=https://cloud.google.com/billing", "ruby-cloud-api-id=cloudbilling.googleapis.com", "ruby-cloud-api-shortname=cloudbilling", @@ -30,6 +30,7 @@ ruby_cloud_gapic_library( ], ruby_cloud_description = "Allows developers to manage billing for their Google Cloud Platform projects programmatically.", ruby_cloud_title = "Billing", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/billing/budgets/BUILD.bazel b/third_party/googleapis/google/cloud/billing/budgets/BUILD.bazel index 04f98744d..459414b7b 100644 --- a/third_party/googleapis/google/cloud/billing/budgets/BUILD.bazel +++ b/third_party/googleapis/google/cloud/billing/budgets/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-billing-budgets", "ruby-cloud-env-prefix=BILLING_BUDGETS", - "ruby-cloud-wrapper-of=v1:0.0;v1beta1:0.0", + "ruby-cloud-wrapper-of=v1:0.7;v1beta1:0.11", "ruby-cloud-product-url=https://cloud.google.com/billing/docs/how-to/budget-api-overview", "ruby-cloud-api-id=billingbudgets.googleapis.com", "ruby-cloud-api-shortname=billingbudgets", ], ruby_cloud_description = "Provides methods to view, create, and manage Cloud Billing budgets programmatically at scale.", ruby_cloud_title = "Billing Budgets", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/billing/budgets/v1/BUILD.bazel b/third_party/googleapis/google/cloud/billing/budgets/v1/BUILD.bazel index 89d1a0dc8..8112ad321 100644 --- a/third_party/googleapis/google/cloud/billing/budgets/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/billing/budgets/v1/BUILD.bazel @@ -15,6 +15,8 @@ load("@rules_proto//proto:defs.bzl", "proto_library") load( "@com_google_googleapis_imports//:imports.bzl", + "cc_grpc_library", + "cc_proto_library", "csharp_gapic_assembly_pkg", "csharp_gapic_library", "csharp_grpc_library", @@ -22,7 +24,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -32,7 +33,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -88,14 +88,17 @@ java_grpc_library( java_gapic_library( name = "budgets_java_gapic", srcs = [":budgets_proto_with_info"], + gapic_yaml = "billingbudget_gapic.yaml", grpc_service_config = "billingbudgets_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "billingbudgets.yaml", test_deps = [ ":budgets_java_grpc", ], transport = "grpc+rest", deps = [ ":budgets_java_proto", + "//google/api:api_java_proto", ], ) @@ -148,19 +151,13 @@ go_gapic_library( ], ) -go_test( - name = "budgets_go_gapic_test", - srcs = [":budgets_go_gapic_srcjar_test"], - embed = [":budgets_go_gapic"], - importpath = "cloud.google.com/go/billing/budgets/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-billing-budgets-v1-go", deps = [ ":budgets_go_gapic", ":budgets_go_gapic_srcjar-metadata.srcjar", + ":budgets_go_gapic_srcjar-snippets.srcjar", ":budgets_go_gapic_srcjar-test.srcjar", ":budgets_go_proto", ], @@ -173,6 +170,8 @@ py_gapic_library( rest_numeric_enums = True, service_yaml = "billingbudgets.yaml", transport = "grpc+rest", + deps = [ + ], ) py_test( @@ -198,21 +197,15 @@ php_proto_library( deps = [":budgets_proto"], ) -php_grpc_library( - name = "budgets_php_grpc", - srcs = [":budgets_proto"], - deps = [":budgets_php_proto"], -) - php_gapic_library( name = "budgets_php_gapic", srcs = [":budgets_proto_with_info"], grpc_service_config = "billingbudgets_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "billingbudgets.yaml", transport = "grpc+rest", deps = [ - ":budgets_php_grpc", ":budgets_php_proto", ], ) @@ -222,7 +215,6 @@ php_gapic_assembly_pkg( name = "google-cloud-billing-budgets-v1-php", deps = [ ":budgets_php_gapic", - ":budgets_php_grpc", ":budgets_php_proto", ], ) @@ -274,6 +266,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Provides methods to view, create, and manage Cloud Billing budgets programmatically at scale.", ruby_cloud_title = "Billing Budgets V1", service_yaml = "billingbudgets.yaml", + transport = "grpc+rest", deps = [ ":budgets_ruby_grpc", ":budgets_ruby_proto", @@ -325,15 +318,6 @@ csharp_gapic_assembly_pkg( ], ) -############################################################################## -# C++ -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "cc_grpc_library", - "cc_proto_library", -) - cc_proto_library( name = "budgets_cc_proto", deps = [":budgets_proto"], diff --git a/third_party/googleapis/google/cloud/billing/budgets/v1/budget_model.proto b/third_party/googleapis/google/cloud/billing/budgets/v1/budget_model.proto index 6fd3f0b1a..559f0e4f4 100644 --- a/third_party/googleapis/google/cloud/billing/budgets/v1/budget_model.proto +++ b/third_party/googleapis/google/cloud/billing/budgets/v1/budget_model.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -57,6 +57,10 @@ message Budget { // Optional. Rules that trigger alerts (notifications of thresholds // being crossed) when spend exceeds the specified percentages of the budget. + // + // Optional for `pubsubTopic` notifications. + // + // Required if using email notifications. repeated ThresholdRule threshold_rules = 5 [(google.api.field_behavior) = OPTIONAL]; @@ -67,7 +71,7 @@ message Budget { // Optional. Etag to validate that the object is unchanged for a // read-modify-write operation. - // An empty etag will cause an update to overwrite other changes. + // An empty etag causes an update to overwrite other changes. string etag = 7 [(google.api.field_behavior) = OPTIONAL]; } @@ -95,20 +99,33 @@ message BudgetAmount { // [Filter.calendar_period][google.cloud.billing.budgets.v1.Filter.calendar_period] // spend. At this time, the amount is automatically 100% of the last calendar // period's spend; that is, there are no other options yet. -// Future configuration options will be described here (for example, configuring -// a percentage of last period's spend). // LastPeriodAmount cannot be set for a budget configured with // a // [Filter.custom_period][google.cloud.billing.budgets.v1.Filter.custom_period]. message LastPeriodAmount {} -// ThresholdRule contains a definition of a threshold which triggers -// an alert (a notification of a threshold being crossed) to be sent when -// spend goes above the specified amount. -// Alerts are automatically e-mailed to users with the Billing Account -// Administrator role or the Billing Account User role. -// The thresholds here have no effect on notifications sent to anything -// configured under `Budget.all_updates_rule`. +// ThresholdRule contains the definition of a threshold. Threshold rules define +// the triggering events used to generate a budget notification email. When a +// threshold is crossed (spend exceeds the specified percentages of the +// budget), budget alert emails are sent to the email recipients you specify +// in the +// [NotificationsRule](#notificationsrule). +// +// Threshold rules also affect the fields included in the +// [JSON data +// object](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#notification_format) +// sent to a Pub/Sub topic. +// +// Threshold rules are _required_ if using email notifications. +// +// Threshold rules are _optional_ if only setting a +// [`pubsubTopic` NotificationsRule](#NotificationsRule), +// unless you want your JSON data object to include data about the thresholds +// you set. +// +// For more information, see +// [set budget threshold rules and +// actions](https://cloud.google.com/billing/docs/how-to/budgets#budget-actions). message ThresholdRule { // The type of basis used to determine if spend has passed the threshold. enum Basis { @@ -140,17 +157,32 @@ message ThresholdRule { // NotificationsRule defines notifications that are sent based on budget spend // and thresholds. message NotificationsRule { - // Optional. The name of the Pub/Sub topic where budget related messages will - // be published, in the form `projects/{project_id}/topics/{topic_id}`. - // Updates are sent at regular intervals to the topic. The topic needs to be - // created before the budget is created; see - // https://cloud.google.com/billing/docs/how-to/budgets#manage-notifications - // for more details. - // Caller is expected to have - // `pubsub.topics.setIamPolicy` permission on the topic when it's set for a - // budget, otherwise, the API call will fail with PERMISSION_DENIED. See - // https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications - // for more details on Pub/Sub roles and permissions. + // Optional. The name of the Pub/Sub topic where budget-related messages are + // published, in the form `projects/{project_id}/topics/{topic_id}`. Updates + // are sent to the topic at regular intervals; the timing of the updates is + // not dependent on the [threshold rules](#thresholdrule) you've set. + // + // Note that if you want your + // [Pub/Sub JSON + // object](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#notification_format) + // to contain data for `alertThresholdExceeded`, you need at least one + // [alert threshold rule](#thresholdrule). When you set threshold rules, you + // must also enable at least one of the email notification options, either + // using the default IAM recipients or Cloud Monitoring email notification + // channels. + // + // To use Pub/Sub topics with budgets, you must do the following: + // + // 1. Create the Pub/Sub topic + // before connecting it to your budget. For guidance, see + // [Manage programmatic budget alert + // notifications](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications). + // + // 2. Grant the API caller the `pubsub.topics.setIamPolicy` permission on + // the Pub/Sub topic. If not set, the API call fails with PERMISSION_DENIED. + // For additional details on Pub/Sub roles and permissions, see + // [Permissions required for this + // task](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#permissions_required_for_this_task). string pubsub_topic = 1 [(google.api.field_behavior) = OPTIONAL]; // Optional. Required when @@ -161,14 +193,28 @@ message NotificationsRule { // https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#notification_format. string schema_version = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Targets to send notifications to when a threshold is exceeded. - // This is in addition to default recipients who have billing account IAM - // roles. The value is the full REST resource name of a monitoring - // notification channel with the form - // `projects/{project_id}/notificationChannels/{channel_id}`. A maximum of 5 - // channels are allowed. See - // https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients - // for more details. + // Optional. Email targets to send notifications to when a threshold is + // exceeded. This is in addition to the `DefaultIamRecipients` who receive + // alert emails based on their billing account IAM role. The value is the full + // REST resource name of a Cloud Monitoring email notification channel with + // the form `projects/{project_id}/notificationChannels/{channel_id}`. A + // maximum of 5 email notifications are allowed. + // + // To customize budget alert email recipients with monitoring notification + // channels, you _must create the monitoring notification channels before + // you link them to a budget_. For guidance on setting up notification + // channels to use with budgets, see + // [Customize budget alert email + // recipients](https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients). + // + // For Cloud Billing budget alerts, you _must use email notification + // channels_. The other types of notification channels are _not_ + // supported, such as Slack, SMS, or PagerDuty. If you want to + // [send budget notifications to + // Slack](https://cloud.google.com/billing/docs/how-to/notify#send_notifications_to_slack), + // use a pubsubTopic and configure + // [programmatic + // notifications](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications). repeated string monitoring_notification_channels = 3 [(google.api.field_behavior) = OPTIONAL]; @@ -178,6 +224,16 @@ message NotificationsRule { // account. bool disable_default_iam_recipients = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. When set to true, and when the budget has a single project + // configured, notifications will be sent to project level recipients of that + // project. This field will be ignored if the budget has multiple or no + // project configured. + // + // Currently, project level recipients are the users with `Owner` role on a + // cloud project. + bool enable_project_level_recipients = 5 + [(google.api.field_behavior) = OPTIONAL]; } // A filter for a budget, limiting the scope of the cost to calculate. @@ -207,11 +263,20 @@ message Filter { // Optional. A set of projects of the form `projects/{project}`, // specifying that usage from only this set of projects should be - // included in the budget. If omitted, the report will include all usage for + // included in the budget. If omitted, the report includes all usage for // the billing account, regardless of which project the usage occurred on. - // Only zero or one project can be specified currently. repeated string projects = 1 [(google.api.field_behavior) = OPTIONAL]; + // Optional. A set of folder and organization names of the form + // `folders/{folderId}` or `organizations/{organizationId}`, specifying that + // usage from only this set of folders and organizations should be included in + // the budget. If omitted, the budget includes all usage that the billing + // account pays for. If the folder or organization contains projects that are + // paid for by a different Cloud Billing account, the budget *doesn't* apply + // to those projects. + repeated string resource_ancestors = 2 + [(google.api.field_behavior) = OPTIONAL]; + // Optional. If // [Filter.credit_types_treatment][google.cloud.billing.budgets.v1.Filter.credit_types_treatment] // is INCLUDE_SPECIFIED_CREDITS, this is a list of credit types to be @@ -230,7 +295,7 @@ message Filter { // Optional. A set of services of the form `services/{service_id}`, // specifying that usage from only this set of services should be - // included in the budget. If omitted, the report will include usage for + // included in the budget. If omitted, the report includes usage for // all the services. // The service names are available through the Catalog API: // https://cloud.google.com/billing/v1/how-tos/catalog-api. @@ -239,26 +304,31 @@ message Filter { // Optional. A set of subaccounts of the form `billingAccounts/{account_id}`, // specifying that usage from only this set of subaccounts should be included // in the budget. If a subaccount is set to the name of the parent account, - // usage from the parent account will be included. If the field is omitted, - // the report will include usage from the parent account and all subaccounts, + // usage from the parent account is included. If the field is omitted, + // the report includes usage from the parent account and all subaccounts, // if they exist. repeated string subaccounts = 5 [(google.api.field_behavior) = OPTIONAL]; // Optional. A single label and value pair specifying that usage from only - // this set of labeled resources should be included in the budget. Currently, - // multiple entries or multiple values per entry are not allowed. If omitted, - // the report will include all labeled and unlabeled usage. + // this set of labeled resources should be included in the budget. If omitted, + // the report includes all labeled and unlabeled usage. + // + // An object containing a single `"key": value` pair. Example: `{ "name": + // "wrench" }`. + // + // _Currently, multiple entries or multiple values per entry are not + // allowed._ map labels = 6 [(google.api.field_behavior) = OPTIONAL]; // Multiple options to choose the budget's time period, specifying that only // usage that occurs during this time period should be included in the budget. - // If not set, the `usage_period` defaults to CalendarPeriod.MONTH. + // If not set, the usage_period defaults to CalendarPeriod.MONTH. oneof usage_period { // Optional. Specifies to track usage for recurring calendar period. - // For example, assume that CalendarPeriod.QUARTER is set. The budget will - // track usage from April 1 to June 30, when the current calendar month is - // April, May, June. After that, it will track usage from July 1 to + // For example, assume that CalendarPeriod.QUARTER is set. The budget + // tracks usage from April 1 to June 30, when the current calendar month is + // April, May, June. After that, it tracks usage from July 1 to // September 30 when the current calendar month is July, August, September, // so on. CalendarPeriod calendar_period = 8 [(google.api.field_behavior) = OPTIONAL]; @@ -285,6 +355,8 @@ message CustomPeriod { // `CalendarPeriod`". All calendar times begin at 12 AM US and Canadian // Pacific Time (UTC-8). enum CalendarPeriod { + // Calendar period is unset. This is the default if the budget is for a + // custom time period (CustomPeriod). CALENDAR_PERIOD_UNSPECIFIED = 0; // A month. Month starts on the first day of each month, such as January 1, diff --git a/third_party/googleapis/google/cloud/billing/budgets/v1/budget_service.proto b/third_party/googleapis/google/cloud/billing/budgets/v1/budget_service.proto index c5dd2f85c..b892dc255 100644 --- a/third_party/googleapis/google/cloud/billing/budgets/v1/budget_service.proto +++ b/third_party/googleapis/google/cloud/billing/budgets/v1/budget_service.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -150,6 +150,14 @@ message ListBudgetsRequest { } ]; + // Optional. Set the scope of the budgets to be returned, in the format of the + // resource name. The scope of a budget is the cost that it tracks, such as + // costs for a single project, or the costs for all projects in a folder. Only + // project scope (in the format of "projects/project-id" or "projects/123") is + // supported in this field. When this field is set to a project's resource + // name, the budgets returned are tracking the costs for that project. + string scope = 4 [(google.api.field_behavior) = OPTIONAL]; + // Optional. The maximum number of budgets to return per page. // The default and maximum value are 100. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; diff --git a/third_party/googleapis/google/cloud/billing/budgets/v1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/billing/budgets/v1beta1/BUILD.bazel index c975c001a..b9dd69fb4 100644 --- a/third_party/googleapis/google/cloud/billing/budgets/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/billing/budgets/v1beta1/BUILD.bazel @@ -9,14 +9,43 @@ # * 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"]) - ############################################################################## # Common ############################################################################## load("@rules_proto//proto:defs.bzl", "proto_library") -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +load( + "@com_google_googleapis_imports//:imports.bzl", + "cc_grpc_library", + "cc_proto_library", + "csharp_gapic_assembly_pkg", + "csharp_gapic_library", + "csharp_grpc_library", + "csharp_proto_library", + "go_gapic_assembly_pkg", + "go_gapic_library", + "go_proto_library", + "java_gapic_assembly_gradle_pkg", + "java_gapic_library", + "java_gapic_test", + "java_grpc_library", + "java_proto_library", + "nodejs_gapic_assembly_pkg", + "nodejs_gapic_library", + "php_gapic_assembly_pkg", + "php_gapic_library", + "php_proto_library", + "proto_library_with_info", + "py_gapic_assembly_pkg", + "py_gapic_library", + "py_test", + "ruby_cloud_gapic_library", + "ruby_gapic_assembly_pkg", + "ruby_grpc_library", + "ruby_proto_library", +) + +# This is an API workspace, having public visibility by default makes perfect sense. +package(default_visibility = ["//visibility:public"]) proto_library( name = "budgets_proto", @@ -45,18 +74,6 @@ proto_library_with_info( ], ) -############################################################################## -# Java -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "java_gapic_assembly_gradle_pkg", - "java_gapic_library", - "java_gapic_test", - "java_grpc_library", - "java_proto_library", -) - java_proto_library( name = "budgets_java_proto", deps = [":budgets_proto"], @@ -71,14 +88,17 @@ java_grpc_library( java_gapic_library( name = "budgets_java_gapic", srcs = [":budgets_proto_with_info"], + gapic_yaml = None, grpc_service_config = "billingbudgets_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "billingbudgets.yaml", test_deps = [ ":budgets_java_grpc", ], transport = "grpc", deps = [ ":budgets_java_proto", + "//google/api:api_java_proto", ], ) @@ -103,17 +123,6 @@ java_gapic_assembly_gradle_pkg( ], ) -############################################################################## -# Go -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "go_gapic_assembly_pkg", - "go_gapic_library", - "go_proto_library", - "go_test", -) - go_proto_library( name = "budgets_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], @@ -141,34 +150,18 @@ go_gapic_library( ], ) -go_test( - name = "budgets_go_gapic_test", - srcs = [":budgets_go_gapic_srcjar_test"], - embed = [":budgets_go_gapic"], - importpath = "cloud.google.com/go/billing/budgets/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-billing-budgets-v1beta1-go", deps = [ ":budgets_go_gapic", ":budgets_go_gapic_srcjar-metadata.srcjar", + ":budgets_go_gapic_srcjar-snippets.srcjar", ":budgets_go_gapic_srcjar-test.srcjar", ":budgets_go_proto", ], ) -############################################################################## -# Python -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "py_gapic_assembly_pkg", - "py_gapic_library", - "py_test", -) - py_gapic_library( name = "budgets_py_gapic", srcs = [":budgets_proto"], @@ -176,6 +169,8 @@ py_gapic_library( rest_numeric_enums = True, service_yaml = "billingbudgets.yaml", transport = "grpc", + deps = [ + ], ) py_test( @@ -196,37 +191,20 @@ py_gapic_assembly_pkg( ], ) -############################################################################## -# PHP -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "php_gapic_assembly_pkg", - "php_gapic_library", - "php_grpc_library", - "php_proto_library", -) - php_proto_library( name = "budgets_php_proto", deps = [":budgets_proto"], ) -php_grpc_library( - name = "budgets_php_grpc", - srcs = [":budgets_proto"], - deps = [":budgets_php_proto"], -) - php_gapic_library( name = "budgets_php_gapic", srcs = [":budgets_proto_with_info"], grpc_service_config = "billingbudgets_grpc_service_config.json", + migration_mode = "PRE_MIGRATION_SURFACE_ONLY", rest_numeric_enums = True, service_yaml = "billingbudgets.yaml", transport = "grpc+rest", deps = [ - ":budgets_php_grpc", ":budgets_php_proto", ], ) @@ -236,20 +214,10 @@ php_gapic_assembly_pkg( name = "google-cloud-billing-budgets-v1beta1-php", deps = [ ":budgets_php_gapic", - ":budgets_php_grpc", ":budgets_php_proto", ], ) -############################################################################## -# Node.js -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) - nodejs_gapic_library( name = "budgets_nodejs_gapic", package_name = "@google-cloud/billing-budgets", @@ -271,17 +239,6 @@ nodejs_gapic_assembly_pkg( ], ) -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - ruby_proto_library( name = "budgets_ruby_proto", deps = [":budgets_proto"], @@ -308,6 +265,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Provides methods to view, create, and manage Cloud Billing budgets programmatically at scale.", ruby_cloud_title = "Billing Budgets V1beta1", service_yaml = "billingbudgets.yaml", + transport = "grpc", deps = [ ":budgets_ruby_grpc", ":budgets_ruby_proto", @@ -324,17 +282,6 @@ ruby_gapic_assembly_pkg( ], ) -############################################################################## -# C# -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "csharp_gapic_assembly_pkg", - "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", -) - csharp_proto_library( name = "budgets_csharp_proto", deps = [":budgets_proto"], @@ -370,7 +317,14 @@ csharp_gapic_assembly_pkg( ], ) -############################################################################## -# C++ -############################################################################## -# Put your C++ rules here +cc_proto_library( + name = "budgets_cc_proto", + deps = [":budgets_proto"], +) + +cc_grpc_library( + name = "budgets_cc_grpc", + srcs = [":budgets_proto"], + grpc_only = True, + deps = [":budgets_cc_proto"], +) diff --git a/third_party/googleapis/google/cloud/billing/budgets/v1beta1/budget_model.proto b/third_party/googleapis/google/cloud/billing/budgets/v1beta1/budget_model.proto index 167e8e465..3eb3f7844 100644 --- a/third_party/googleapis/google/cloud/billing/budgets/v1beta1/budget_model.proto +++ b/third_party/googleapis/google/cloud/billing/budgets/v1beta1/budget_model.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -46,9 +46,9 @@ message Budget { // Validation: <= 60 chars. string display_name = 2; - // Optional. Filters that define which resources are used to compute the actual spend - // against the budget amount, such as projects, services, and the budget's - // time period, as well as other filters. + // Optional. Filters that define which resources are used to compute the + // actual spend against the budget amount, such as projects, services, and the + // budget's time period, as well as other filters. Filter budget_filter = 3 [(google.api.field_behavior) = OPTIONAL]; // Required. Budgeted amount. @@ -60,9 +60,11 @@ message Budget { // Optional for `pubsubTopic` notifications. // // Required if using email notifications. - repeated ThresholdRule threshold_rules = 5 [(google.api.field_behavior) = OPTIONAL]; + repeated ThresholdRule threshold_rules = 5 + [(google.api.field_behavior) = OPTIONAL]; - // Optional. Rules to apply to notifications sent based on budget spend and thresholds. + // Optional. Rules to apply to notifications sent based on budget spend and + // thresholds. AllUpdatesRule all_updates_rule = 6 [(google.api.field_behavior) = OPTIONAL]; // Optional. Etag to validate that the object is unchanged for a @@ -84,22 +86,23 @@ message BudgetAmount { // Use the last period's actual spend as the budget for the present period. // LastPeriodAmount can only be set when the budget's time period is a - // [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period]. It cannot be set in combination with + // [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period]. + // It cannot be set in combination with // [Filter.custom_period][google.cloud.billing.budgets.v1beta1.Filter.custom_period]. LastPeriodAmount last_period_amount = 2; } } -// Describes a budget amount targeted to the last [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period] +// Describes a budget amount targeted to the last +// [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period] // spend. At this time, the amount is automatically 100% of the last calendar // period's spend; that is, there are no other options yet. // Future configuration options will be described here (for example, configuring // a percentage of last period's spend). // LastPeriodAmount cannot be set for a budget configured with -// a [Filter.custom_period][google.cloud.billing.budgets.v1beta1.Filter.custom_period]. -message LastPeriodAmount { - -} +// a +// [Filter.custom_period][google.cloud.billing.budgets.v1beta1.Filter.custom_period]. +message LastPeriodAmount {} // ThresholdRule contains the definition of a threshold. Threshold rules define // the triggering events used to generate a budget notification email. When a @@ -135,7 +138,8 @@ message ThresholdRule { // Use forecasted spend for the period as the basis for comparison against // the threshold. // FORECASTED_SPEND can only be set when the budget's time period is a - // [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period]. It cannot be set in combination with + // [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period]. + // It cannot be set in combination with // [Filter.custom_period][google.cloud.billing.budgets.v1beta1.Filter.custom_period]. FORECASTED_SPEND = 2; } @@ -153,10 +157,10 @@ message ThresholdRule { // AllUpdatesRule defines notifications that are sent based on budget spend // and thresholds. message AllUpdatesRule { - // Optional. The name of the Pub/Sub topic where budget related messages will be - // published, in the form `projects/{project_id}/topics/{topic_id}`. Updates - // are sent at regular intervals to the topic. - // The topic needs to be created before the budget is created; see + // Optional. The name of the Pub/Sub topic where budget related messages will + // be published, in the form `projects/{project_id}/topics/{topic_id}`. + // Updates are sent at regular intervals to the topic. The topic needs to be + // created before the budget is created; see // https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications // for more details. // Caller is expected to have @@ -166,26 +170,41 @@ message AllUpdatesRule { // for more details on Pub/Sub roles and permissions. string pubsub_topic = 1 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Required when [AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.AllUpdatesRule.pubsub_topic] is set. The schema version of - // the notification sent to [AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.AllUpdatesRule.pubsub_topic]. Only "1.0" is - // accepted. It represents the JSON schema as defined in + // Optional. Required when + // [AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.AllUpdatesRule.pubsub_topic] + // is set. The schema version of the notification sent to + // [AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.AllUpdatesRule.pubsub_topic]. + // Only "1.0" is accepted. It represents the JSON schema as defined in // https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#notification_format. string schema_version = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Targets to send notifications to when a threshold is exceeded. This is in - // addition to default recipients who have billing account IAM roles. - // The value is the full REST resource name of a monitoring notification - // channel with the form + // Optional. Targets to send notifications to when a threshold is exceeded. + // This is in addition to default recipients who have billing account IAM + // roles. The value is the full REST resource name of a monitoring + // notification channel with the form // `projects/{project_id}/notificationChannels/{channel_id}`. A maximum of 5 // channels are allowed. See // https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients // for more details. - repeated string monitoring_notification_channels = 3 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. When set to true, disables default notifications sent when a threshold is - // exceeded. Default notifications are sent to those with Billing Account - // Administrator and Billing Account User IAM roles for the target account. - bool disable_default_iam_recipients = 4 [(google.api.field_behavior) = OPTIONAL]; + repeated string monitoring_notification_channels = 3 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. When set to true, disables default notifications sent when a + // threshold is exceeded. Default notifications are sent to those with Billing + // Account Administrator and Billing Account User IAM roles for the target + // account. + bool disable_default_iam_recipients = 4 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. When set to true, and when the budget has a single project + // configured, notifications will be sent to project level recipients of that + // project. This field will be ignored if the budget has multiple or no + // project configured. + // + // Currently, project level recipients are the users with `Owner` role on a + // cloud project. + bool enable_project_level_recipients = 5 + [(google.api.field_behavior) = OPTIONAL]; } // A filter for a budget, limiting the scope of the cost to calculate. @@ -217,21 +236,33 @@ message Filter { // specifying that usage from only this set of projects should be // included in the budget. If omitted, the report will include all usage for // the billing account, regardless of which project the usage occurred on. - // Only zero or one project can be specified currently. repeated string projects = 1 [(google.api.field_behavior) = OPTIONAL]; - // Optional. If [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment] is INCLUDE_SPECIFIED_CREDITS, this is - // a list of credit types to be subtracted from gross cost to determine the - // spend for threshold calculations. See - // [a list of acceptable credit type + // Optional. A set of folder and organization names of the form + // `folders/{folderId}` or `organizations/{organizationId}`, specifying that + // usage from only this set of folders and organizations should be included in + // the budget. If omitted, the budget includes all usage that the billing + // account pays for. If the folder or organization contains projects that are + // paid for by a different Cloud Billing account, the budget *doesn't* apply + // to those projects. + repeated string resource_ancestors = 2 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If + // [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment] + // is INCLUDE_SPECIFIED_CREDITS, this is a list of credit types to be + // subtracted from gross cost to determine the spend for threshold + // calculations. See [a list of acceptable credit type // values](https://cloud.google.com/billing/docs/how-to/export-data-bigquery-tables#credits-type). // - // If [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment] is **not** INCLUDE_SPECIFIED_CREDITS, - // this field must be empty. + // If + // [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment] + // is **not** INCLUDE_SPECIFIED_CREDITS, this field must be empty. repeated string credit_types = 7 [(google.api.field_behavior) = OPTIONAL]; // Optional. If not set, default behavior is `INCLUDE_ALL_CREDITS`. - CreditTypesTreatment credit_types_treatment = 4 [(google.api.field_behavior) = OPTIONAL]; + CreditTypesTreatment credit_types_treatment = 4 + [(google.api.field_behavior) = OPTIONAL]; // Optional. A set of services of the form `services/{service_id}`, // specifying that usage from only this set of services should be @@ -241,24 +272,25 @@ message Filter { // https://cloud.google.com/billing/v1/how-tos/catalog-api. repeated string services = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. A set of subaccounts of the form `billingAccounts/{account_id}`, specifying - // that usage from only this set of subaccounts should be included in the - // budget. If a subaccount is set to the name of the parent account, + // Optional. A set of subaccounts of the form `billingAccounts/{account_id}`, + // specifying that usage from only this set of subaccounts should be included + // in the budget. If a subaccount is set to the name of the parent account, // usage from the parent account will be included. If omitted, the // report will include usage from the parent account and all // subaccounts, if they exist. repeated string subaccounts = 5 [(google.api.field_behavior) = OPTIONAL]; - // Optional. A single label and value pair specifying that usage from only this set of - // labeled resources should be included in the budget. If omitted, the - // report will include all labeled and unlabeled usage. + // Optional. A single label and value pair specifying that usage from only + // this set of labeled resources should be included in the budget. If omitted, + // the report will include all labeled and unlabeled usage. // // An object containing a single `"key": value` pair. Example: `{ "name": // "wrench" }`. // // _Currently, multiple entries or multiple values per entry are not // allowed._ - map labels = 6 [(google.api.field_behavior) = OPTIONAL]; + map labels = 6 + [(google.api.field_behavior) = OPTIONAL]; // Multiple options to choose the budget's time period, specifying that only // usage that occurs during this time period should be included in the budget. @@ -272,8 +304,8 @@ message Filter { // so on. CalendarPeriod calendar_period = 8 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Specifies to track usage from any start date (required) to any end date - // (optional). This time period is static, it does not recur. + // Optional. Specifies to track usage from any start date (required) to any + // end date (optional). This time period is static, it does not recur. CustomPeriod custom_period = 9 [(google.api.field_behavior) = OPTIONAL]; } } @@ -283,9 +315,9 @@ message CustomPeriod { // Required. The start date must be after January 1, 2017. google.type.Date start_date = 1 [(google.api.field_behavior) = REQUIRED]; - // Optional. The end date of the time period. Budgets with elapsed end date won't be - // processed. If unset, specifies to track all usage - // incurred since the start_date. + // Optional. The end date of the time period. Budgets with elapsed end date + // won't be processed. If unset, specifies to track all usage incurred since + // the start_date. google.type.Date end_date = 2 [(google.api.field_behavior) = OPTIONAL]; } diff --git a/third_party/googleapis/google/cloud/billing/budgets/v1beta1/budget_service.proto b/third_party/googleapis/google/cloud/billing/budgets/v1beta1/budget_service.proto index 3651785ea..7884c64ff 100644 --- a/third_party/googleapis/google/cloud/billing/budgets/v1beta1/budget_service.proto +++ b/third_party/googleapis/google/cloud/billing/budgets/v1beta1/budget_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -117,7 +117,8 @@ message UpdateBudgetRequest { // updated. See // https://developers.google.com/protocol-buffers/docs/proto3#default for more // details about default values. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = OPTIONAL]; } // Request for GetBudget @@ -143,6 +144,14 @@ message ListBudgetsRequest { } ]; + // Optional. Set the scope of the budgets to be returned, in the format of the + // resource name. The scope of a budget is the cost that it tracks, such as + // costs for a single project, or the costs for all projects in a folder. Only + // project scope (in the format of "projects/project-id" or "projects/123") is + // supported in this field. When this field is set to a project's resource + // name, the budgets returned are tracking the costs for that project. + string scope = 4 [(google.api.field_behavior) = OPTIONAL]; + // Optional. The maximum number of budgets to return per page. // The default and maximum value are 100. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; diff --git a/third_party/googleapis/google/cloud/billing/v1/BUILD.bazel b/third_party/googleapis/google/cloud/billing/v1/BUILD.bazel index 65f2ab853..73fe5cfa4 100644 --- a/third_party/googleapis/google/cloud/billing/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/billing/v1/BUILD.bazel @@ -41,7 +41,6 @@ proto_library_with_info( name = "billing_proto_with_info", deps = [ ":billing_proto", - "//google/cloud:common_resources_proto", ], ) @@ -90,7 +89,9 @@ java_gapic_library( java_gapic_test( name = "billing_java_gapic_test_suite", test_classes = [ - "com.google.cloud.billing.v1.CloudBillingClientHttpJsonTest", + # This test is temporarily disabled due to the issue: + # https://github.com/googleapis/sdk-platform-java/issues/1780 + # "com.google.cloud.billing.v1.CloudBillingClientHttpJsonTest", "com.google.cloud.billing.v1.CloudBillingClientTest", "com.google.cloud.billing.v1.CloudCatalogClientHttpJsonTest", "com.google.cloud.billing.v1.CloudCatalogClientTest", @@ -119,7 +120,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -150,19 +150,13 @@ go_gapic_library( ], ) -go_test( - name = "billing_go_gapic_test", - srcs = [":billing_go_gapic_srcjar_test"], - embed = [":billing_go_gapic"], - importpath = "cloud.google.com/go/billing/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-billing-v1-go", deps = [ ":billing_go_gapic", ":billing_go_gapic_srcjar-metadata.srcjar", + ":billing_go_gapic_srcjar-snippets.srcjar", ":billing_go_gapic_srcjar-test.srcjar", ":billing_go_proto", ], @@ -215,7 +209,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -224,23 +217,15 @@ php_proto_library( deps = [":billing_proto"], ) -php_grpc_library( - name = "billing_php_grpc", - srcs = [":billing_proto"], - deps = [":billing_php_proto"], -) - php_gapic_library( name = "billing_php_gapic", srcs = [":billing_proto_with_info"], grpc_service_config = "cloud_billing_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "cloudbilling_v1.yaml", transport = "grpc+rest", - deps = [ - ":billing_php_grpc", - ":billing_php_proto", - ], + deps = [":billing_php_proto"], ) # Open Source Packages @@ -248,7 +233,6 @@ php_gapic_assembly_pkg( name = "google-cloud-billing-v1-php", deps = [ ":billing_php_gapic", - ":billing_php_grpc", ":billing_php_proto", ], ) @@ -320,6 +304,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Allows developers to manage billing for their Google Cloud Platform projects programmatically.", ruby_cloud_title = "Billing V1", service_yaml = "cloudbilling_v1.yaml", + transport = "grpc+rest", deps = [ ":billing_ruby_grpc", ":billing_ruby_proto", diff --git a/third_party/googleapis/google/cloud/billing/v1/cloud_billing.proto b/third_party/googleapis/google/cloud/billing/v1/cloud_billing.proto index be9f94719..b340497f8 100644 --- a/third_party/googleapis/google/cloud/billing/v1/cloud_billing.proto +++ b/third_party/googleapis/google/cloud/billing/v1/cloud_billing.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -28,6 +28,14 @@ option go_package = "cloud.google.com/go/billing/apiv1/billingpb;billingpb"; option java_multiple_files = true; option java_outer_classname = "CloudBillingProto"; option java_package = "com.google.cloud.billing.v1"; +option (google.api.resource_definition) = { + type: "cloudresourcemanager.googleapis.com/Project" + pattern: "projects/{project}" +}; +option (google.api.resource_definition) = { + type: "cloudresourcemanager.googleapis.com/Organization" + pattern: "organizations/{organization}" +}; // Retrieves the Google Cloud Console billing accounts and associates them with // projects. @@ -55,8 +63,13 @@ service CloudBilling { returns (ListBillingAccountsResponse) { option (google.api.http) = { get: "/v1/billingAccounts" + additional_bindings { + get: "/v1/{parent=organizations/*}/billingAccounts" + } + additional_bindings { get: "/v1/{parent=billingAccounts/*}/subAccounts" } }; option (google.api.method_signature) = ""; + option (google.api.method_signature) = "parent"; } // Updates a billing account's fields. @@ -88,14 +101,23 @@ service CloudBilling { // typically given to billing account // [administrators](https://cloud.google.com/billing/docs/how-to/billing-access). // This method will return an error if the parent account has not been - // provisioned as a reseller account. + // provisioned for subaccounts. rpc CreateBillingAccount(CreateBillingAccountRequest) returns (BillingAccount) { option (google.api.http) = { post: "/v1/billingAccounts" body: "billing_account" + additional_bindings { + post: "/v1/{parent=organizations/*}/billingAccounts" + body: "billing_account" + } + additional_bindings { + post: "/v1/{parent=billingAccounts/*}/subAccounts" + body: "billing_account" + } }; option (google.api.method_signature) = "billing_account"; + option (google.api.method_signature) = "billing_account,parent"; } // Lists the projects associated with a billing account. The current @@ -136,7 +158,8 @@ service CloudBilling { // account, even if the charge occurred before the new billing account was // assigned to the project. // - // The current authenticated user must have ownership privileges for both the + // The current authenticated user must have ownership privileges for both + // the // [project](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo // ) and the [billing // account](https://cloud.google.com/billing/docs/how-to/billing-access). @@ -200,12 +223,31 @@ service CloudBilling { }; option (google.api.method_signature) = "resource,permissions"; } + + // Changes which parent organization a billing account belongs to. + rpc MoveBillingAccount(MoveBillingAccountRequest) returns (BillingAccount) { + option (google.api.http) = { + post: "/v1/{name=billingAccounts/*}:move" + body: "*" + additional_bindings { + get: "/v1/{destination_parent=organizations/*}/{name=billingAccounts/*}:move" + } + }; + } } // A billing account in the // [Google Cloud Console](https://console.cloud.google.com/). You can assign a // billing account to one or more projects. message BillingAccount { + option (google.api.resource) = { + type: "cloudbilling.googleapis.com/BillingAccount" + pattern: "billingAccounts/{billing_account}" + pattern: "organizations/{organization}/billingAccounts/{billing_account}" + plural: "billingAccounts" + singular: "billingAccount" + }; + // Output only. The resource name of the billing account. The resource name // has the form `billingAccounts/{billing_account_id}`. For example, // `billingAccounts/012345-567890-ABCDEF` would be the resource name for @@ -219,8 +261,8 @@ message BillingAccount { // Output only. True if the billing account is open, and will therefore be // charged for any usage on associated projects. False if the billing account - // is closed, and therefore projects associated with it will be unable to use - // paid services. + // is closed, and therefore projects associated with it are unable to use paid + // services. bool open = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // The display name given to the billing account, such as `My Billing @@ -233,32 +275,47 @@ message BillingAccount { // resold through. // Otherwise this will be empty. string master_billing_account = 4; + + // Output only. The billing account's parent resource identifier. + // Use the `MoveBillingAccount` method to update the account's parent resource + // if it is a organization. + // Format: + // - `organizations/{organization_id}`, for example, + // `organizations/12345678` + // - `billingAccounts/{billing_account_id}`, for example, + // `billingAccounts/012345-567890-ABCDEF` + string parent = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Encapsulation of billing information for a Google Cloud Console project. A // project has at most one associated billing account at a time (but a billing // account can be assigned to multiple projects). message ProjectBillingInfo { - // The resource name for the `ProjectBillingInfo`; has the form + option (google.api.resource) = { + type: "cloudbilling.googleapis.com/ProjectBillingInfo" + pattern: "projects/{project}/billingInfo" + }; + + // Output only. The resource name for the `ProjectBillingInfo`; has the form // `projects/{project_id}/billingInfo`. For example, the resource name for the // billing information for project `tokyo-rain-123` would be - // `projects/tokyo-rain-123/billingInfo`. This field is read-only. - string name = 1; + // `projects/tokyo-rain-123/billingInfo`. + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // The ID of the project that this `ProjectBillingInfo` represents, such as - // `tokyo-rain-123`. This is a convenience field so that you don't need to - // parse the `name` field to obtain a project ID. This field is read-only. - string project_id = 2; + // Output only. The ID of the project that this `ProjectBillingInfo` + // represents, such as `tokyo-rain-123`. This is a convenience field so that + // you don't need to parse the `name` field to obtain a project ID. + string project_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // The resource name of the billing account associated with the project, if // any. For example, `billingAccounts/012345-567890-ABCDEF`. string billing_account_name = 3; - // True if the project is associated with an open billing account, to which - // usage on the project is charged. False if the project is associated with a - // closed billing account, or no billing account at all, and therefore cannot - // use paid services. This field is read-only. - bool billing_enabled = 4; + // Output only. True if the project is associated with an open billing + // account, to which usage on the project is charged. False if the project is + // associated with a closed billing account, or no billing account at all, and + // therefore cannot use paid services. + bool billing_enabled = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Request message for `GetBillingAccount`. @@ -285,12 +342,21 @@ message ListBillingAccountsRequest { string page_token = 2; // Options for how to filter the returned billing accounts. - // Currently this only supports filtering for + // This only supports filtering for // [subaccounts](https://cloud.google.com/billing/docs/concepts) under a - // single provided reseller billing account. - // (e.g. "master_billing_account=billingAccounts/012345-678901-ABCDEF"). + // single provided parent billing account. + // (for example, + // `master_billing_account=billingAccounts/012345-678901-ABCDEF`). // Boolean algebra and other fields are not currently supported. string filter = 3; + + // Optional. The parent resource to list billing accounts from. + // Format: + // - `organizations/{organization_id}`, for example, + // `organizations/12345678` + // - `billingAccounts/{billing_account_id}`, for example, + // `billingAccounts/012345-567890-ABCDEF` + string parent = 4 [(google.api.field_behavior) = OPTIONAL]; } // Response message for `ListBillingAccounts`. @@ -311,6 +377,12 @@ message CreateBillingAccountRequest { // any created billing accounts must be under a provided parent billing // account. BillingAccount billing_account = 1 [(google.api.field_behavior) = REQUIRED]; + + // Optional. The parent to create a billing account from. + // Format: + // - `billingAccounts/{billing_account_id}`, for example, + // `billingAccounts/012345-567890-ABCDEF` + string parent = 2 [(google.api.field_behavior) = OPTIONAL]; } // Request message for `UpdateBillingAccount`. @@ -370,7 +442,12 @@ message ListProjectBillingInfoResponse { message GetProjectBillingInfoRequest { // Required. The resource name of the project for which billing information is // retrieved. For example, `projects/tokyo-rain-123`. - string name = 1 [(google.api.field_behavior) = REQUIRED]; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudresourcemanager.googleapis.com/Project" + } + ]; } // Request message for `UpdateProjectBillingInfo`. @@ -380,7 +457,32 @@ message UpdateProjectBillingInfoRequest { // `projects/tokyo-rain-123`. string name = 1 [(google.api.field_behavior) = REQUIRED]; - // The new billing information for the project. Read-only fields are ignored; - // thus, you can leave empty all fields except `billing_account_name`. + // The new billing information for the project. Output-only fields are + // ignored; thus, you can leave empty all fields except + // `billing_account_name`. ProjectBillingInfo project_billing_info = 2; } + +// Request message for `MoveBillingAccount` RPC. +message MoveBillingAccountRequest { + // Required. The resource name of the billing account to move. + // Must be of the form `billingAccounts/{billing_account_id}`. + // The specified billing account cannot be a subaccount, since a subaccount + // always belongs to the same organization as its parent account. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudbilling.googleapis.com/BillingAccount" + } + ]; + + // Required. The resource name of the Organization to move + // the billing account under. + // Must be of the form `organizations/{organization_id}`. + string destination_parent = 2 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudresourcemanager.googleapis.com/Organization" + } + ]; +} diff --git a/third_party/googleapis/google/cloud/billing/v1/cloud_catalog.proto b/third_party/googleapis/google/cloud/billing/v1/cloud_catalog.proto index 1cbb8c18a..ed1028dcc 100644 --- a/third_party/googleapis/google/cloud/billing/v1/cloud_catalog.proto +++ b/third_party/googleapis/google/cloud/billing/v1/cloud_catalog.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/billing/v1/cloudbilling_v1.yaml b/third_party/googleapis/google/cloud/billing/v1/cloudbilling_v1.yaml index 3f4c56751..b94ace9b9 100644 --- a/third_party/googleapis/google/cloud/billing/v1/cloudbilling_v1.yaml +++ b/third_party/googleapis/google/cloud/billing/v1/cloudbilling_v1.yaml @@ -25,6 +25,11 @@ authentication: canonical_scopes: |- https://www.googleapis.com/auth/cloud-billing, https://www.googleapis.com/auth/cloud-platform + - selector: google.cloud.billing.v1.CloudBilling.MoveBillingAccount + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-billing, + https://www.googleapis.com/auth/cloud-platform - selector: google.cloud.billing.v1.CloudBilling.SetIamPolicy oauth: canonical_scopes: |- diff --git a/third_party/googleapis/google/cloud/binaryauthorization/BUILD.bazel b/third_party/googleapis/google/cloud/binaryauthorization/BUILD.bazel index 43bc81548..971861d88 100644 --- a/third_party/googleapis/google/cloud/binaryauthorization/BUILD.bazel +++ b/third_party/googleapis/google/cloud/binaryauthorization/BUILD.bazel @@ -22,7 +22,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-binary_authorization", "ruby-cloud-env-prefix=BINARY_AUTHORIZATION", - "ruby-cloud-wrapper-of=v1:0.0;v1beta1:0.0", + "ruby-cloud-wrapper-of=v1:0.6;v1beta1:0.12", "ruby-cloud-product-url=https://cloud.google.com/binary-authorization/", "ruby-cloud-api-id=binaryauthorization.googleapis.com", "ruby-cloud-api-shortname=binaryauthorization", @@ -30,6 +30,7 @@ ruby_cloud_gapic_library( ], ruby_cloud_description = "Binary Authorization is a service on Google Cloud that provides centralized software supply-chain security for applications that run on Google Kubernetes Engine (GKE) and GKE on-prem.", ruby_cloud_title = "Binary Authorization", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/binaryauthorization/v1/BUILD.bazel b/third_party/googleapis/google/cloud/binaryauthorization/v1/BUILD.bazel index 5963408fc..5fd1698d2 100644 --- a/third_party/googleapis/google/cloud/binaryauthorization/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/binaryauthorization/v1/BUILD.bazel @@ -118,7 +118,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -147,19 +146,13 @@ go_gapic_library( ], ) -go_test( - name = "binaryauthorization_go_gapic_test", - srcs = [":binaryauthorization_go_gapic_srcjar_test"], - embed = [":binaryauthorization_go_gapic"], - importpath = "cloud.google.com/go/binaryauthorization/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-binaryauthorization-v1-go", deps = [ ":binaryauthorization_go_gapic", ":binaryauthorization_go_gapic_srcjar-metadata.srcjar", + ":binaryauthorization_go_gapic_srcjar-snippets.srcjar", ":binaryauthorization_go_gapic_srcjar-test.srcjar", ":binaryauthorization_go_proto", ], @@ -215,7 +208,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -224,23 +216,15 @@ php_proto_library( deps = [":binaryauthorization_proto"], ) -php_grpc_library( - name = "binaryauthorization_php_grpc", - srcs = [":binaryauthorization_proto"], - deps = [":binaryauthorization_php_proto"], -) - php_gapic_library( name = "binaryauthorization_php_gapic", srcs = [":binaryauthorization_proto_with_info"], grpc_service_config = "binaryauthorization_grpc_service_config.json", + migration_mode = "NEW_SURFACE_ONLY", rest_numeric_enums = True, service_yaml = "binaryauthorization_v1.yaml", transport = "grpc+rest", - deps = [ - ":binaryauthorization_php_grpc", - ":binaryauthorization_php_proto", - ], + deps = [":binaryauthorization_php_proto"], ) # Open Source Packages @@ -248,7 +232,6 @@ php_gapic_assembly_pkg( name = "google-cloud-binaryauthorization-v1-php", deps = [ ":binaryauthorization_php_gapic", - ":binaryauthorization_php_grpc", ":binaryauthorization_php_proto", ], ) @@ -316,7 +299,7 @@ ruby_cloud_gapic_library( "ruby-cloud-gem-name=google-cloud-binary_authorization-v1", "ruby-cloud-product-url=https://cloud.google.com/binary-authorization/", "ruby-cloud-service-override=BinauthzManagementServiceV1=BinauthzManagementService;SystemPolicyV1=SystemPolicy;ValidationHelperV1=ValidationHelper", - "ruby-cloud-extra-dependencies=grafeas-v1=> 0.0|< 2.a", + "ruby-cloud-extra-dependencies=grafeas-v1=>0.0+<2.a", "ruby-cloud-yard-strict=false", ], grpc_service_config = "binaryauthorization_grpc_service_config.json", @@ -324,6 +307,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Binary Authorization is a service on Google Cloud that provides centralized software supply-chain security for applications that run on Google Kubernetes Engine (GKE) and GKE on-prem.", ruby_cloud_title = "Binary Authorization V1", service_yaml = "binaryauthorization_v1.yaml", + transport = "grpc+rest", deps = [ ":binaryauthorization_ruby_grpc", ":binaryauthorization_ruby_proto", diff --git a/third_party/googleapis/google/cloud/binaryauthorization/v1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/binaryauthorization/v1beta1/BUILD.bazel index 37cdf4c09..6a3947063 100644 --- a/third_party/googleapis/google/cloud/binaryauthorization/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/binaryauthorization/v1beta1/BUILD.bazel @@ -71,6 +71,7 @@ java_gapic_library( srcs = [":binaryauthorization_proto_with_info"], grpc_service_config = "binaryauthorization_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "binaryauthorization_v1beta1.yaml", test_deps = [ ":binaryauthorization_java_grpc", ], @@ -110,7 +111,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -138,19 +138,13 @@ go_gapic_library( ], ) -go_test( - name = "binaryauthorization_go_gapic_test", - srcs = [":binaryauthorization_go_gapic_srcjar_test"], - embed = [":binaryauthorization_go_gapic"], - importpath = "cloud.google.com/go/binaryauthorization/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-binaryauthorization-v1beta1-go", deps = [ ":binaryauthorization_go_gapic", ":binaryauthorization_go_gapic_srcjar-metadata.srcjar", + ":binaryauthorization_go_gapic_srcjar-snippets.srcjar", ":binaryauthorization_go_gapic_srcjar-test.srcjar", ":binaryauthorization_go_proto", ], @@ -203,7 +197,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -212,12 +205,6 @@ php_proto_library( deps = [":binaryauthorization_proto"], ) -php_grpc_library( - name = "binaryauthorization_php_grpc", - srcs = [":binaryauthorization_proto"], - deps = [":binaryauthorization_php_proto"], -) - php_gapic_library( name = "binaryauthorization_php_gapic", srcs = [":binaryauthorization_proto_with_info"], @@ -225,10 +212,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "binaryauthorization_v1beta1.yaml", transport = "grpc+rest", - deps = [ - ":binaryauthorization_php_grpc", - ":binaryauthorization_php_proto", - ], + deps = [":binaryauthorization_php_proto"], ) # Open Source Packages @@ -236,7 +220,6 @@ php_gapic_assembly_pkg( name = "google-cloud-binaryauthorization-v1beta1-php", deps = [ ":binaryauthorization_php_gapic", - ":binaryauthorization_php_grpc", ":binaryauthorization_php_proto", ], ) @@ -309,6 +292,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Binary Authorization is a service on Google Cloud that provides centralized software supply-chain security for applications that run on Google Kubernetes Engine (GKE) and GKE on-prem.", ruby_cloud_title = "Binary Authorization V1beta1", service_yaml = "binaryauthorization_v1beta1.yaml", + transport = "grpc+rest", deps = [ ":binaryauthorization_ruby_grpc", ":binaryauthorization_ruby_proto", diff --git a/third_party/googleapis/google/cloud/binaryauthorization/v1beta1/continuous_validation_logging.proto b/third_party/googleapis/google/cloud/binaryauthorization/v1beta1/continuous_validation_logging.proto index c4539f8c2..87bb5dba4 100644 --- a/third_party/googleapis/google/cloud/binaryauthorization/v1beta1/continuous_validation_logging.proto +++ b/third_party/googleapis/google/cloud/binaryauthorization/v1beta1/continuous_validation_logging.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -42,6 +42,23 @@ message ContinuousValidationEvent { // Container image with auditing details. message ImageDetails { + // The container type. + enum ContainerType { + // The container type should always be specified. This is an error. + CONTAINER_TYPE_UNSPECIFIED = 0; + + // A regular deployment. + CONTAINER = 1; + + // Init container defined as specified at + // https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ + INIT_CONTAINER = 2; + + // Ephemeral container defined as specified at + // https://kubernetes.io/docs/concepts/workloads/pods/ephemeral-containers/ + EPHEMERAL_CONTAINER = 3; + } + // Result of the audit. enum AuditResult { // Unspecified result. This is an error. @@ -54,14 +71,75 @@ message ContinuousValidationEvent { DENY = 2; } + message CheckResult { + // A scope specifier for check sets. + message CheckSetScope { + oneof scope { + // Matches a single Kubernetes service account, e.g. + // 'my-namespace:my-service-account'. + // `kubernetes_service_account` scope is always more specific than + // `kubernetes_namespace` scope for the same namespace. + string kubernetes_service_account = 1; + + // Matches all Kubernetes service accounts in the provided + // namespace, unless a more specific `kubernetes_service_account` + // scope already matched. + string kubernetes_namespace = 2; + } + } + + // Result of evaluating one check. + enum CheckVerdict { + // We should always have a verdict. This is an error. + CHECK_VERDICT_UNSPECIFIED = 0; + + // The check was successfully evaluated and the image did not satisfy + // the check. + NON_CONFORMANT = 1; + } + + // The index of the check set. + string check_set_index = 1; + + // The name of the check set. + string check_set_name = 2; + + // The scope of the check set. + CheckSetScope check_set_scope = 3; + + // The index of the check. + string check_index = 4; + + // The name of the check. + string check_name = 5; + + // The type of the check. + string check_type = 6; + + // The verdict of this check. + CheckVerdict verdict = 7; + + // User-friendly explanation of this check result. + string explanation = 8; + } + // The name of the image. string image = 1; + // The name of the container. + string container_name = 5; + + // The container type that this image belongs to. + ContainerType container_type = 6; + // The result of the audit for this image. AuditResult result = 2; // Description of the above result. string description = 3; + + // List of check results. + repeated CheckResult check_results = 4; } // The k8s namespace of the Pod. @@ -70,6 +148,9 @@ message ContinuousValidationEvent { // The name of the Pod. string pod = 1; + // The name of the policy. + string policy_name = 8; + // Deploy time of the Pod from k8s. google.protobuf.Timestamp deploy_time = 2; @@ -83,9 +164,10 @@ message ContinuousValidationEvent { repeated ImageDetails images = 5; } - // An event describing that the project policy is unsupported by CV. - message UnsupportedPolicyEvent { - // A description of the unsupported policy. + // An event describing a user-actionable configuration issue that prevents CV + // from auditing. + message ConfigErrorEvent { + // A description of the issue. string description = 1; } @@ -94,7 +176,7 @@ message ContinuousValidationEvent { // Pod event. ContinuousValidationPodEvent pod_event = 1; - // Unsupported policy event. - UnsupportedPolicyEvent unsupported_policy_event = 2; + // Config error event. + ConfigErrorEvent config_error_event = 4; } } diff --git a/third_party/googleapis/google/cloud/certificatemanager/BUILD.bazel b/third_party/googleapis/google/cloud/certificatemanager/BUILD.bazel index a1df191d7..9d9aba606 100644 --- a/third_party/googleapis/google/cloud/certificatemanager/BUILD.bazel +++ b/third_party/googleapis/google/cloud/certificatemanager/BUILD.bazel @@ -21,13 +21,14 @@ ruby_cloud_gapic_library( srcs = ["//google/cloud/certificatemanager/v1:certificatemanager_proto_with_info"], extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-certificate_manager", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.8", "ruby-cloud-product-url=https://cloud.google.com/certificate-manager", "ruby-cloud-api-id=certificatemanager.googleapis.com", "ruby-cloud-api-shortname=certificatemanager", ], ruby_cloud_description = "Certificate Manager lets you acquire and manage Transport Layer Security (TLS) (SSL) certificates for use with classic external HTTP(S) load balancers in Google Cloud.", ruby_cloud_title = "Certificate Manager", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/certificatemanager/logging/v1/BUILD.bazel b/third_party/googleapis/google/cloud/certificatemanager/logging/v1/BUILD.bazel index 2d1b030a1..8383a690f 100644 --- a/third_party/googleapis/google/cloud/certificatemanager/logging/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/certificatemanager/logging/v1/BUILD.bazel @@ -89,7 +89,6 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -98,20 +97,9 @@ php_proto_library( deps = [":logging_proto"], ) -php_grpc_library( - name = "logging_php_grpc", - srcs = [":logging_proto"], - deps = [":logging_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/certificatemanager/v1/BUILD.bazel b/third_party/googleapis/google/cloud/certificatemanager/v1/BUILD.bazel index a9c8ef8bb..2b6c8f6cd 100644 --- a/third_party/googleapis/google/cloud/certificatemanager/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/certificatemanager/v1/BUILD.bazel @@ -118,7 +118,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -152,19 +151,13 @@ go_gapic_library( ], ) -go_test( - name = "certificatemanager_go_gapic_test", - srcs = [":certificatemanager_go_gapic_srcjar_test"], - embed = [":certificatemanager_go_gapic"], - importpath = "cloud.google.com/go/certificatemanager/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-certificatemanager-v1-go", deps = [ ":certificatemanager_go_gapic", ":certificatemanager_go_gapic_srcjar-metadata.srcjar", + ":certificatemanager_go_gapic_srcjar-snippets.srcjar", ":certificatemanager_go_gapic_srcjar-test.srcjar", ":certificatemanager_go_proto", ], @@ -221,7 +214,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -230,23 +222,15 @@ php_proto_library( deps = [":certificatemanager_proto"], ) -php_grpc_library( - name = "certificatemanager_php_grpc", - srcs = [":certificatemanager_proto"], - deps = [":certificatemanager_php_proto"], -) - php_gapic_library( name = "certificatemanager_php_gapic", srcs = [":certificatemanager_proto_with_info"], grpc_service_config = "certificatemanager_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "certificatemanager_v1.yaml", transport = "grpc+rest", - deps = [ - ":certificatemanager_php_grpc", - ":certificatemanager_php_proto", - ], + deps = [":certificatemanager_php_proto"], ) # Open Source Packages @@ -254,7 +238,6 @@ php_gapic_assembly_pkg( name = "google-cloud-certificatemanager-v1-php", deps = [ ":certificatemanager_php_gapic", - ":certificatemanager_php_grpc", ":certificatemanager_php_proto", ], ) @@ -325,6 +308,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Certificate Manager lets you acquire and manage Transport Layer Security (TLS) (SSL) certificates for use with classic external HTTP(S) load balancers in Google Cloud.", ruby_cloud_title = "Certificate Manager V1", service_yaml = "certificatemanager_v1.yaml", + transport = "grpc+rest", deps = [ ":certificatemanager_ruby_grpc", ":certificatemanager_ruby_proto", diff --git a/third_party/googleapis/google/cloud/channel/BUILD.bazel b/third_party/googleapis/google/cloud/channel/BUILD.bazel index 858802046..e2873fcd5 100644 --- a/third_party/googleapis/google/cloud/channel/BUILD.bazel +++ b/third_party/googleapis/google/cloud/channel/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-channel", "ruby-cloud-env-prefix=CHANNEL", - "ruby-cloud-wrapper-of=v1:0.13", + "ruby-cloud-wrapper-of=v1:0.23", "ruby-cloud-product-url=https://cloud.google.com/channel", "ruby-cloud-api-id=cloudchannel.googleapis.com", "ruby-cloud-api-shortname=cloudchannel", ], ruby_cloud_description = "You can use Channel Services to manage your relationships with your partners and your customers. Channel Services include a console and APIs to view and provision links between distributors and resellers, customers and entitlements.", ruby_cloud_title = "Cloud Channel", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/channel/v1/BUILD.bazel b/third_party/googleapis/google/cloud/channel/v1/BUILD.bazel index 4fb0faedb..310e8e074 100644 --- a/third_party/googleapis/google/cloud/channel/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/channel/v1/BUILD.bazel @@ -21,9 +21,11 @@ load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") proto_library( name = "channel_proto", srcs = [ + "billing_accounts.proto", "channel_partner_links.proto", "common.proto", "customers.proto", + "entitlement_changes.proto", "entitlements.proto", "offers.proto", "operations.proto", @@ -129,7 +131,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -167,19 +168,13 @@ go_gapic_library( ], ) -go_test( - name = "channel_go_gapic_test", - srcs = [":channel_go_gapic_srcjar_test"], - embed = [":channel_go_gapic"], - importpath = "cloud.google.com/go/channel/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-channel-v1-go", deps = [ ":channel_go_gapic", ":channel_go_gapic_srcjar-metadata.srcjar", + ":channel_go_gapic_srcjar-snippets.srcjar", ":channel_go_gapic_srcjar-test.srcjar", ":channel_go_proto", ], @@ -229,7 +224,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -238,23 +232,15 @@ php_proto_library( deps = [":channel_proto"], ) -php_grpc_library( - name = "channel_php_grpc", - srcs = [":channel_proto"], - deps = [":channel_php_proto"], -) - php_gapic_library( name = "channel_php_gapic", srcs = [":channel_proto_with_info"], grpc_service_config = "cloudchannel_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "cloudchannel_v1.yaml", transport = "grpc+rest", - deps = [ - ":channel_php_grpc", - ":channel_php_proto", - ], + deps = [":channel_php_proto"], ) # Open Source Packages @@ -262,7 +248,6 @@ php_gapic_assembly_pkg( name = "google-cloud-channel-v1-php", deps = [ ":channel_php_gapic", - ":channel_php_grpc", ":channel_php_proto", ], ) @@ -334,6 +319,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "You can use Channel Services to manage your relationships with your partners and your customers. Channel Services include a console and APIs to view and provision links between distributors and resellers, customers and entitlements.", ruby_cloud_title = "Cloud Channel V1", service_yaml = "cloudchannel_v1.yaml", + transport = "grpc+rest", deps = [ ":channel_ruby_grpc", ":channel_ruby_proto", diff --git a/third_party/googleapis/google/cloud/channel/v1/channel_partner_links.proto b/third_party/googleapis/google/cloud/channel/v1/channel_partner_links.proto index 5f51b3f2e..edc3ca052 100644 --- a/third_party/googleapis/google/cloud/channel/v1/channel_partner_links.proto +++ b/third_party/googleapis/google/cloud/channel/v1/channel_partner_links.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -99,4 +99,4 @@ message ChannelPartnerLink { // Output only. Cloud Identity info of the channel partner (IR). CloudIdentityInfo channel_partner_cloud_identity_info = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; -} \ No newline at end of file +} diff --git a/third_party/googleapis/google/cloud/channel/v1/common.proto b/third_party/googleapis/google/cloud/channel/v1/common.proto index 9e899fd78..0f7a21e4c 100644 --- a/third_party/googleapis/google/cloud/channel/v1/common.proto +++ b/third_party/googleapis/google/cloud/channel/v1/common.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -149,4 +149,4 @@ message AdminUser { // Family name of the admin user. string family_name = 3; -} \ No newline at end of file +} diff --git a/third_party/googleapis/google/cloud/channel/v1/customers.proto b/third_party/googleapis/google/cloud/channel/v1/customers.proto index e355420c8..304a07496 100644 --- a/third_party/googleapis/google/cloud/channel/v1/customers.proto +++ b/third_party/googleapis/google/cloud/channel/v1/customers.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -42,9 +42,9 @@ message Customer { string org_display_name = 2 [(google.api.field_behavior) = REQUIRED]; // Required. The organization address for the customer. To enforce US laws and - // embargoes, we require a region and zip code. You must provide valid - // addresses for every customer. To set the customer's language, use the - // Customer-level language code. + // embargoes, we require a region, postal code, and address lines. You must + // provide valid addresses for every customer. To set the customer's + // language, use the Customer-level language code. google.type.PostalAddress org_postal_address = 3 [(google.api.field_behavior) = REQUIRED]; @@ -87,6 +87,10 @@ message Customer { // Cloud Identity ID of the customer's channel partner. // Populated only if a channel partner exists for this customer. string channel_partner_id = 13; + + // Optional. External CRM ID for the customer. + // Populated only if a CRM ID exists for this customer. + string correlation_id = 14 [(google.api.field_behavior) = OPTIONAL]; } // Contact information for a customer account. @@ -111,4 +115,4 @@ message ContactInfo { // The customer account's contact phone number. string phone = 7; -} \ No newline at end of file +} diff --git a/third_party/googleapis/google/cloud/channel/v1/entitlements.proto b/third_party/googleapis/google/cloud/channel/v1/entitlements.proto index 9fef42d0e..f0b168922 100644 --- a/third_party/googleapis/google/cloud/channel/v1/entitlements.proto +++ b/third_party/googleapis/google/cloud/channel/v1/entitlements.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -126,14 +126,27 @@ message Entitlement { // parameter names and values are defined in the // [Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions]. // - // The response may include the following output-only Parameters: + // For Google Workspace, the following Parameters may be accepted as input: + // + // - max_units: The maximum assignable units for a flexible offer + // + // OR + // + // - num_units: The total commitment for commitment-based offers + // + // The response may additionally include the following output-only Parameters: // // - assigned_units: The number of licenses assigned to users. // - // - max_units: The maximum assignable units for a flexible offer. + // For Google Cloud billing subaccounts, the following Parameter may be + // accepted as input: // - // - num_units: The total commitment for commitment-based offers. + // - display_name: The display name of the billing subaccount. repeated Parameter parameters = 26; + + // Optional. The billing account resource name that is used to pay for this + // entitlement. + string billing_account = 28 [(google.api.field_behavior) = OPTIONAL]; } // Definition for extended entitlement parameters. @@ -161,8 +174,8 @@ message AssociationInfo { // Service provisioned for an entitlement. message ProvisionedService { // Output only. Provisioning ID of the entitlement. For Google Workspace, this - // is the underlying Subscription ID. For Google Cloud Platform, this is the - // Billing Account ID of the billing subaccount." + // is the underlying Subscription ID. For Google Cloud, this is the Billing + // Account ID of the billing subaccount. string provisioning_id = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The product pertaining to the provisioning resource as @@ -249,6 +262,10 @@ message TransferEligibility { // SKU subscription is suspended SKU_SUSPENDED = 3; + + // The reseller is not authorized to transact on this Product. See + // https://support.google.com/channelservices/answer/9759265 + CHANNEL_PARTNER_NOT_AUTHORIZED_FOR_SKU = 4; } // Whether reseller is eligible to transfer the SKU. @@ -259,4 +276,4 @@ message TransferEligibility { // Specified the reason for ineligibility. Reason ineligibility_reason = 3; -} \ No newline at end of file +} diff --git a/third_party/googleapis/google/cloud/channel/v1/offers.proto b/third_party/googleapis/google/cloud/channel/v1/offers.proto index eb24f871d..6f40198e0 100644 --- a/third_party/googleapis/google/cloud/channel/v1/offers.proto +++ b/third_party/googleapis/google/cloud/channel/v1/offers.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -98,14 +98,13 @@ enum ResourceType { // Voice usage. MINUTES = 5; - // For IaaS SKUs like Google Cloud Platform, monetization is based on usage - // accrued on your billing account irrespective of the type of monetizable - // resource. This enum represents an aggregated resource/container for all - // usage SKUs on a billing account. Currently, only applicable to Google Cloud - // Platform. + // For IaaS SKUs like Google Cloud, monetization is based on usage accrued on + // your billing account irrespective of the type of monetizable resource. This + // enum represents an aggregated resource/container for all usage SKUs on a + // billing account. Currently, only applicable to Google Cloud. IAAS_USAGE = 6; - // For Google Cloud Platform subscriptions like Anthos or SAP. + // For Google Cloud subscriptions like Anthos or SAP. SUBSCRIPTION = 7; } @@ -182,6 +181,9 @@ message ParameterDefinition { // Double type. DOUBLE = 3; + + // Boolean type. + BOOLEAN = 4; } // Name of the parameter. @@ -249,7 +251,7 @@ message Plan { Period trial_period = 4; // Reseller Billing account to charge after an offer transaction. - // Only present for Google Cloud Platform offers. + // Only present for Google Cloud offers. string billing_account = 5; } @@ -327,4 +329,4 @@ message Period { // Period Type. PeriodType period_type = 2; -} \ No newline at end of file +} diff --git a/third_party/googleapis/google/cloud/channel/v1/operations.proto b/third_party/googleapis/google/cloud/channel/v1/operations.proto index 242ae3d8a..112a85319 100644 --- a/third_party/googleapis/google/cloud/channel/v1/operations.proto +++ b/third_party/googleapis/google/cloud/channel/v1/operations.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -65,4 +65,4 @@ message OperationMetadata { // The RPC that initiated this Long Running Operation. OperationType operation_type = 1; -} \ No newline at end of file +} diff --git a/third_party/googleapis/google/cloud/channel/v1/products.proto b/third_party/googleapis/google/cloud/channel/v1/products.proto index 07c50c65d..02b2199bf 100644 --- a/third_party/googleapis/google/cloud/channel/v1/products.proto +++ b/third_party/googleapis/google/cloud/channel/v1/products.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -91,4 +91,4 @@ message Media { // Type of the media. MediaType type = 3; -} \ No newline at end of file +} diff --git a/third_party/googleapis/google/cloud/channel/v1/reports_service.proto b/third_party/googleapis/google/cloud/channel/v1/reports_service.proto index ed3211bb2..9188fb9cb 100644 --- a/third_party/googleapis/google/cloud/channel/v1/reports_service.proto +++ b/third_party/googleapis/google/cloud/channel/v1/reports_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,6 +20,7 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/cloud/channel/v1/operations.proto"; import "google/longrunning/operations.proto"; import "google/protobuf/timestamp.proto"; import "google/type/date.proto"; @@ -34,9 +35,14 @@ option java_package = "com.google.cloud.channel.v1"; // CloudChannelReportsService lets Google Cloud resellers and // distributors retrieve and combine a variety of data in Cloud Channel for -// multiple products (Google Cloud Platform (GCP), Google Voice, and -// Google Workspace.) +// multiple products (Google Cloud, Google Voice, and Google Workspace.) +// +// Deprecated: This service is being deprecated. Please use [Export Channel +// Services data to +// BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery) +// instead. service CloudChannelReportsService { + option deprecated = true; option (google.api.default_host) = "cloudchannel.googleapis.com"; option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/apps.reports.usage.readonly"; @@ -66,7 +72,12 @@ service CloudChannelReportsService { // [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults] // with the // [RunReportJobResponse.report_job][google.cloud.channel.v1.RunReportJobResponse.report_job]. + // + // Deprecated: Please use [Export Channel Services data to + // BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery) + // instead. rpc RunReportJob(RunReportJobRequest) returns (google.longrunning.Operation) { + option deprecated = true; option (google.api.http) = { post: "/v1/{name=accounts/*/reports/*}:run" body: "*" @@ -79,8 +90,13 @@ service CloudChannelReportsService { // Retrieves data generated by // [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob]. + // + // Deprecated: Please use [Export Channel Services data to + // BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery) + // instead. rpc FetchReportResults(FetchReportResultsRequest) returns (FetchReportResultsResponse) { + option deprecated = true; option (google.api.http) = { post: "/v1/{report_job=accounts/*/reportJobs/*}:fetchReportResults" body: "*" @@ -90,7 +106,12 @@ service CloudChannelReportsService { // Lists the reports that RunReportJob can run. These reports include an ID, // a description, and the list of columns that will be in the result. + // + // Deprecated: Please use [Export Channel Services data to + // BigQuery](https://cloud.google.com/channel/docs/rebilling/export-data-to-bigquery) + // instead. rpc ListReports(ListReportsRequest) returns (ListReportsResponse) { + option deprecated = true; option (google.api.http) = { get: "/v1/{parent=accounts/*}/reports" }; @@ -101,6 +122,8 @@ service CloudChannelReportsService { // Request message for // [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob]. message RunReportJobRequest { + option deprecated = true; + // Required. The report's resource name. Specifies the account and report used // to generate report data. The report_id identifier is a UID (for example, // `613bf59q`). @@ -138,6 +161,8 @@ message RunReportJobRequest { // Response message for // [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob]. message RunReportJobResponse { + option deprecated = true; + // Pass `report_job.name` to // [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job] // to retrieve the report's results. @@ -152,6 +177,8 @@ message RunReportJobResponse { // Request message for // [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults]. message FetchReportResultsRequest { + option deprecated = true; + // Required. The report job created by // [CloudChannelReportsService.RunReportJob][google.cloud.channel.v1.CloudChannelReportsService.RunReportJob]. // Report_job uses the format: @@ -178,12 +205,18 @@ message FetchReportResultsRequest { // [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults] // call. string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. List of keys specifying which report partitions to return. + // If empty, returns all partitions. + repeated string partition_keys = 4 [(google.api.field_behavior) = OPTIONAL]; } // Response message for // [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults]. // Contains a tabular representation of the report results. message FetchReportResultsResponse { + option deprecated = true; + // The metadata for the report results (display name, columns, row count, and // date ranges). ReportResultsMetadata report_metadata = 1; @@ -201,6 +234,8 @@ message FetchReportResultsResponse { // Request message for // [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports]. message ListReportsRequest { + option deprecated = true; + // Required. The resource name of the partner account to list available // reports for. Parent uses the format: accounts/{account_id} string parent = 1 [(google.api.field_behavior) = REQUIRED]; @@ -228,6 +263,8 @@ message ListReportsRequest { // Response message for // [CloudChannelReportsService.ListReports][google.cloud.channel.v1.CloudChannelReportsService.ListReports]. message ListReportsResponse { + option deprecated = true; + // The reports available to the partner. repeated Report reports = 1; @@ -241,6 +278,7 @@ message ListReportsResponse { // [FetchReportResultsRequest.report_job][google.cloud.channel.v1.FetchReportResultsRequest.report_job] // and the status of the operation. message ReportJob { + option deprecated = true; option (google.api.resource) = { type: "cloudchannel.googleapis.com/ReportJob" pattern: "accounts/{account}/reportJobs/{report_job}" @@ -260,6 +298,8 @@ message ReportJob { // and // [CloudChannelReportsService.FetchReportResults][google.cloud.channel.v1.CloudChannelReportsService.FetchReportResults]. message ReportResultsMetadata { + option deprecated = true; + // Details of the completed report. Report report = 1; @@ -281,6 +321,8 @@ message ReportResultsMetadata { // The definition of a report column. Specifies the data properties // in the corresponding position of the report rows. message Column { + option deprecated = true; + // Available data types for columns. Corresponds to the fields in the // ReportValue `oneof` field. enum DataType { @@ -322,6 +364,8 @@ message Column { // A representation of usage or invoice date ranges. message DateRange { + option deprecated = true; + // The earliest usage date time (inclusive). // // If you use time groupings (daily, weekly, etc), each group uses @@ -340,26 +384,33 @@ message DateRange { // The earliest invoice date (inclusive). // - // If your product uses monthly invoices, and this value is not the beginning - // of a month, this will adjust the date to the first day of the given month. + // If this value is not the first day of a month, this will move it back to + // the first day of the given month. google.type.Date invoice_start_date = 3; - // The latest invoice date (exclusive). + // The latest invoice date (inclusive). // - // If your product uses monthly invoices, and this value is not the beginning - // of a month, this will adjust the date to the first day of the following - // month. + // If this value is not the last day of a month, this will move it forward to + // the last day of the given month. google.type.Date invoice_end_date = 4; } // A row of report values. message Row { + option deprecated = true; + // The list of values in the row. repeated ReportValue values = 1; + + // The key for the partition this row belongs to. This field is empty + // if the report is not partitioned. + string partition_key = 2; } // A single report value. message ReportValue { + option deprecated = true; + // A single report value. oneof value { // A value of type `string`. @@ -387,6 +438,8 @@ message ReportValue { // Status of a report generation process. message ReportStatus { + option deprecated = true; + // Available states of report generation. enum State { // Not used. @@ -416,8 +469,10 @@ message ReportStatus { } // The ID and description of a report that was used to generate report data. -// For example, "GCP Daily Spend", "Google Workspace License Activity", etc. +// For example, "Google Cloud Daily Spend", "Google Workspace License Activity", +// etc. message Report { + option deprecated = true; option (google.api.resource) = { type: "cloudchannel.googleapis.com/Report" pattern: "accounts/{account}/reports/{report}" @@ -441,4 +496,4 @@ message Report { // A description of other aspects of the report, such as the products // it supports. string description = 4; -} \ No newline at end of file +} diff --git a/third_party/googleapis/google/cloud/channel/v1/repricing.proto b/third_party/googleapis/google/cloud/channel/v1/repricing.proto index 9d0cfaf8c..c452619a6 100644 --- a/third_party/googleapis/google/cloud/channel/v1/repricing.proto +++ b/third_party/googleapis/google/cloud/channel/v1/repricing.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -106,17 +106,39 @@ message RepricingConfig { // Applies the repricing configuration at the channel partner level. // The channel partner value is derived from the resource name. Takes an // empty json object. - message ChannelPartnerGranularity {} + // Deprecated: This is no longer supported. Use + // [RepricingConfig.EntitlementGranularity][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity] + // instead. + message ChannelPartnerGranularity { + option deprecated = true; + } // Required. Defines the granularity for repricing. oneof granularity { - // Applies the repricing configuration at the entitlement level. This is - // the only supported value for CustomerRepricingConfig. + // Applies the repricing configuration at the entitlement level. + // + // Note: If a + // [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] + // using + // [RepricingConfig.EntitlementGranularity][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity] + // becomes effective, then no existing or future + // [RepricingConfig.ChannelPartnerGranularity][google.cloud.channel.v1.RepricingConfig.ChannelPartnerGranularity] + // will apply to the + // [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement]. + // This is the recommended value for both + // [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] + // and + // [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig]. EntitlementGranularity entitlement_granularity = 4; // Applies the repricing configuration at the channel partner level. - // This is the only supported value for ChannelPartnerRepricingConfig. - ChannelPartnerGranularity channel_partner_granularity = 5; + // Only + // [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] + // supports this value. Deprecated: This is no longer supported. Use + // [RepricingConfig.entitlement_granularity][google.cloud.channel.v1.RepricingConfig.entitlement_granularity] + // instead. + ChannelPartnerGranularity channel_partner_granularity = 5 + [deprecated = true]; } // Required. The YearMonth when these adjustments activate. The Day field @@ -191,4 +213,4 @@ message SkuGroupCondition { // Example: // "accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041". string sku_group = 1; -} \ No newline at end of file +} diff --git a/third_party/googleapis/google/cloud/channel/v1/service.proto b/third_party/googleapis/google/cloud/channel/v1/service.proto index 36627bf36..98aa066f7 100644 --- a/third_party/googleapis/google/cloud/channel/v1/service.proto +++ b/third_party/googleapis/google/cloud/channel/v1/service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,11 +20,14 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/cloud/channel/v1/billing_accounts.proto"; import "google/cloud/channel/v1/channel_partner_links.proto"; import "google/cloud/channel/v1/common.proto"; import "google/cloud/channel/v1/customers.proto"; +import "google/cloud/channel/v1/entitlement_changes.proto"; import "google/cloud/channel/v1/entitlements.proto"; import "google/cloud/channel/v1/offers.proto"; +import "google/cloud/channel/v1/operations.proto"; import "google/cloud/channel/v1/products.proto"; import "google/cloud/channel/v1/repricing.proto"; import "google/longrunning/operations.proto"; @@ -136,8 +139,11 @@ service CloudChannelService { // // Possible error codes: // - // * PERMISSION_DENIED: The reseller account making the request is different - // from the reseller account in the API request. + // * PERMISSION_DENIED: + // * The reseller account making the request is different from the + // reseller account in the API request. + // * You are not authorized to create a customer. See + // https://support.google.com/channelservices/answer/9759265 // * INVALID_ARGUMENT: // * Required request parameters are missing or invalid. // * Domain field value doesn't match the primary email domain. @@ -206,8 +212,11 @@ service CloudChannelService { // // Possible error codes: // - // * PERMISSION_DENIED: The reseller account making the request is different - // from the reseller account in the API request. + // * PERMISSION_DENIED: + // * The reseller account making the request is different from the + // reseller account in the API request. + // * You are not authorized to import the customer. See + // https://support.google.com/channelservices/answer/9759265 // * NOT_FOUND: Cloud Identity doesn't exist or was deleted. // * INVALID_ARGUMENT: Required parameters are missing, or the auth_token is // expired or invalid. @@ -232,7 +241,10 @@ service CloudChannelService { // // Possible error codes: // - // * PERMISSION_DENIED: The customer doesn't belong to the reseller. + // * PERMISSION_DENIED: + // * The customer doesn't belong to the reseller. + // * You are not authorized to provision cloud identity id. See + // https://support.google.com/channelservices/answer/9759265 // * INVALID_ARGUMENT: Required request parameters are missing or invalid. // * NOT_FOUND: The customer was not found. // * ALREADY_EXISTS: The customer's primary email already exists. Retry @@ -320,6 +332,8 @@ service CloudChannelService { // auth token. // * The reseller account making the request is different // from the reseller account in the query. + // * The reseller is not authorized to transact on this Product. See + // https://support.google.com/channelservices/answer/9759265 // * INVALID_ARGUMENT: Required request parameters are missing or invalid. // // Return value: @@ -354,7 +368,10 @@ service CloudChannelService { // // Possible error codes: // - // * PERMISSION_DENIED: The customer doesn't belong to the reseller. + // * PERMISSION_DENIED: + // * The customer doesn't belong to the reseller. + // * The reseller is not authorized to transact on this Product. See + // https://support.google.com/channelservices/answer/9759265 // * INVALID_ARGUMENT: // * Required request parameters are missing or invalid. // * There is already a customer entitlement for a SKU from the same @@ -650,7 +667,10 @@ service CloudChannelService { // // Possible error codes: // - // * PERMISSION_DENIED: The customer doesn't belong to the reseller. + // * PERMISSION_DENIED: + // * The customer doesn't belong to the reseller. + // * The reseller is not authorized to transact on this Product. See + // https://support.google.com/channelservices/answer/9759265 // * INVALID_ARGUMENT: Required request parameters are missing or invalid. // * NOT_FOUND: The customer or offer resource was not found. // * ALREADY_EXISTS: The SKU was already transferred for the customer. @@ -873,7 +893,8 @@ service CloudChannelService { // [CustomerRepricingConfig][google.cloud.channel.v1.CustomerRepricingConfig] // resources. The data for each resource is displayed in the ascending order // of: - // * customer ID + // + // * Customer ID // * [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement] // * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] // * [CustomerRepricingConfig.update_time][google.cloud.channel.v1.CustomerRepricingConfig.update_time] @@ -904,12 +925,12 @@ service CloudChannelService { // * The new config will not modify exports used with other configs. // Changes to the config may be immediate, but may take up to 24 hours. // * There is a limit of ten configs for any - // [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement] - // or + // [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement], + // for any // [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]. // * The contained // [CustomerRepricingConfig.repricing_config][google.cloud.channel.v1.CustomerRepricingConfig.repricing_config] - // vaule must be different from the value used in the current config for a + // value must be different from the value used in the current config for a // [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement]. // // Possible Error Codes: @@ -1047,7 +1068,8 @@ service CloudChannelService { // [ChannelPartnerRepricingConfig][google.cloud.channel.v1.ChannelPartnerRepricingConfig] // resources. The data for each resource is displayed in the ascending order // of: - // * channel partner ID + // + // * Channel Partner ID // * [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month] // * [ChannelPartnerRepricingConfig.update_time][google.cloud.channel.v1.ChannelPartnerRepricingConfig.update_time] // @@ -1079,10 +1101,12 @@ service CloudChannelService { // * The new config will not modify exports used with other configs. // Changes to the config may be immediate, but may take up to 24 hours. // * There is a limit of ten configs for any ChannelPartner or + // [RepricingConfig.EntitlementGranularity.entitlement][google.cloud.channel.v1.RepricingConfig.EntitlementGranularity.entitlement], + // for any // [RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month]. // * The contained // [ChannelPartnerRepricingConfig.repricing_config][google.cloud.channel.v1.ChannelPartnerRepricingConfig.repricing_config] - // vaule must be different from the value used in the current config for a + // value must be different from the value used in the current config for a // ChannelPartner. // // Possible Error Codes: @@ -1181,6 +1205,59 @@ service CloudChannelService { option (google.api.method_signature) = "name"; } + // Lists the Rebilling supported SKU groups the account is authorized to + // sell. + // Reference: https://cloud.google.com/skus/sku-groups + // + // Possible Error Codes: + // + // * PERMISSION_DENIED: If the account making the request and the account + // being queried are different, or the account doesn't exist. + // * INTERNAL: Any non-user error related to technical issues in the + // backend. In this case, contact Cloud Channel support. + // + // Return Value: + // If successful, the [SkuGroup][google.cloud.channel.v1.SkuGroup] resources. + // The data for each resource is displayed in the alphabetical order of SKU + // group display name. + // The data for each resource is displayed in the ascending order of + // [SkuGroup.display_name][google.cloud.channel.v1.SkuGroup.display_name] + // + // If unsuccessful, returns an error. + rpc ListSkuGroups(ListSkuGroupsRequest) returns (ListSkuGroupsResponse) { + option (google.api.http) = { + get: "/v1/{parent=accounts/*}/skuGroups" + }; + option (google.api.method_signature) = "parent"; + } + + // Lists the Billable SKUs in a given SKU group. + // + // Possible error codes: + // PERMISSION_DENIED: If the account making the request and the account + // being queried for are different, or the account doesn't exist. + // INVALID_ARGUMENT: Missing or invalid required parameters in the + // request. + // INTERNAL: Any non-user error related to technical issue in the + // backend. In this case, contact cloud channel support. + // + // Return Value: + // If successful, the [BillableSku][google.cloud.channel.v1.BillableSku] + // resources. The data for each resource is displayed in the ascending order + // of: + // + // * [BillableSku.service_display_name][google.cloud.channel.v1.BillableSku.service_display_name] + // * [BillableSku.sku_display_name][google.cloud.channel.v1.BillableSku.sku_display_name] + // + // If unsuccessful, returns an error. + rpc ListSkuGroupBillableSkus(ListSkuGroupBillableSkusRequest) + returns (ListSkuGroupBillableSkusResponse) { + option (google.api.http) = { + get: "/v1/{parent=accounts/*/skuGroups/*}/billableSkus" + }; + option (google.api.method_signature) = "parent"; + } + // Returns the requested [Offer][google.cloud.channel.v1.Offer] resource. // // Possible error codes: @@ -1253,7 +1330,10 @@ service CloudChannelService { // // Possible error codes: // - // * PERMISSION_DENIED: The customer doesn't belong to the reseller + // * PERMISSION_DENIED: + // * The customer doesn't belong to the reseller + // * The reseller is not authorized to transact on this Product. See + // https://support.google.com/channelservices/answer/9759265 // * INVALID_ARGUMENT: Required request parameters are missing or invalid. rpc ListPurchasableOffers(ListPurchasableOffersRequest) returns (ListPurchasableOffersResponse) { @@ -1262,6 +1342,25 @@ service CloudChannelService { }; } + // Lists the billing accounts that are eligible to purchase particular SKUs + // for a given customer. + // + // Possible error codes: + // + // * PERMISSION_DENIED: The customer doesn't belong to the reseller. + // * INVALID_ARGUMENT: Required request parameters are missing or invalid. + // + // Return value: + // Based on the provided list of SKUs, returns a list of SKU groups that must + // be purchased using the same billing account and the billing accounts + // eligible to purchase each SKU group. + rpc QueryEligibleBillingAccounts(QueryEligibleBillingAccountsRequest) + returns (QueryEligibleBillingAccountsResponse) { + option (google.api.http) = { + get: "/v1/{customer=accounts/*/customers/*}:queryEligibleBillingAccounts" + }; + } + // Registers a service account with subscriber privileges on the Cloud Pub/Sub // topic for this Channel Services account. After you create a // subscriber, you get the events through @@ -1340,6 +1439,30 @@ service CloudChannelService { get: "/v1/{account=accounts/*}:listSubscribers" }; } + + // List entitlement history. + // + // Possible error codes: + // + // * PERMISSION_DENIED: The reseller account making the request and the + // provided reseller account are different. + // * INVALID_ARGUMENT: Missing or invalid required fields in the request. + // * NOT_FOUND: The parent resource doesn't exist. Usually the result of an + // invalid name parameter. + // * INTERNAL: Any non-user error related to a technical issue in the backend. + // In this case, contact CloudChannel support. + // * UNKNOWN: Any non-user error related to a technical issue in the backend. + // In this case, contact Cloud Channel support. + // + // Return value: + // List of [EntitlementChange][google.cloud.channel.v1.EntitlementChange]s. + rpc ListEntitlementChanges(ListEntitlementChangesRequest) + returns (ListEntitlementChangesResponse) { + option (google.api.http) = { + get: "/v1/{parent=accounts/*/customers/*/entitlements/*}:listEntitlementChanges" + }; + option (google.api.method_signature) = "parent"; + } } // Request message for @@ -1676,6 +1799,13 @@ message ListTransferableOffersRequest { // response will localize in the corresponding language code, if specified. // The default value is "en-US". string language_code = 7 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The Billing Account to look up Offers for. Format: + // accounts/{account_id}/billingAccounts/{billing_account_id}. + // + // This field is only relevant for multi-currency accounts. It should be left + // empty for single currency accounts. + string billing_account = 8 [(google.api.field_behavior) = OPTIONAL]; } // Response message for @@ -2007,6 +2137,110 @@ message DeleteChannelPartnerRepricingConfigRequest { ]; } +// Request message for ListSkuGroups. +message ListSkuGroupsRequest { + // Required. The resource name of the account from which to list SKU groups. + // Parent uses the format: accounts/{account}. + string parent = 1 [(google.api.field_behavior) = REQUIRED]; + + // Optional. The maximum number of SKU groups to return. The service may + // return fewer than this value. If unspecified, returns a maximum of 1000 SKU + // groups. The maximum value is 1000; values above 1000 will be coerced to + // 1000. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. A token identifying a page of results beyond the first page. + // Obtained through + // [ListSkuGroups.next_page_token][] of the previous + // [CloudChannelService.ListSkuGroups][google.cloud.channel.v1.CloudChannelService.ListSkuGroups] + // call. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// Request message for ListSkuGroupBillableSkus. +message ListSkuGroupBillableSkusRequest { + // Required. Resource name of the SKU group. + // Format: accounts/{account}/skuGroups/{sku_group}. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudchannel.googleapis.com/SkuGroup" + } + ]; + + // Optional. The maximum number of SKUs to return. The service may return + // fewer than this value. If unspecified, returns a maximum of 100000 SKUs. + // The maximum value is 100000; values above 100000 will be coerced to 100000. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. A token identifying a page of results beyond the first page. + // Obtained through + // [ListSkuGroupBillableSkus.next_page_token][] of the previous + // [CloudChannelService.ListSkuGroupBillableSkus][google.cloud.channel.v1.CloudChannelService.ListSkuGroupBillableSkus] + // call. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// Response message for ListSkuGroups. +message ListSkuGroupsResponse { + // The list of SKU groups requested. + repeated SkuGroup sku_groups = 1; + + // A token to retrieve the next page of results. + // Pass to [ListSkuGroups.page_token][] to obtain that + // page. + string next_page_token = 2; +} + +// Response message for ListSkuGroupBillableSkus. +message ListSkuGroupBillableSkusResponse { + // The list of billable SKUs in the requested SKU group. + repeated BillableSku billable_skus = 1; + + // A token to retrieve the next page of results. + // Pass to [ListSkuGroupBillableSkus.page_token][] to obtain that + // page. + string next_page_token = 2; +} + +// Represents the SKU group information. +message SkuGroup { + option (google.api.resource) = { + type: "cloudchannel.googleapis.com/SkuGroup" + pattern: "accounts/{account}/skuGroups/{sku_group}" + }; + + // Resource name of SKU group. Format: + // accounts/{account}/skuGroups/{sku_group}. + // Example: + // "accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041". + string name = 1; + + // Unique human readable identifier for the SKU group. + string display_name = 2; +} + +// Represents the Billable SKU information. +message BillableSku { + // Resource name of Billable SKU. Format: + // billableSkus/{sku}. + // Example: + // billableSkus/6E1B-6634-470F". + string sku = 1; + + // Unique human readable name for the SKU. + string sku_display_name = 2; + + // Resource name of Service which contains Repricing SKU. Format: + // services/{service}. + // Example: + // "services/B7D9-FDCB-15D8". + string service = 3; + + // Unique human readable name for the Service. + string service_display_name = 4; +} + // Request message for // [CloudChannelService.CreateEntitlement][google.cloud.channel.v1.CloudChannelService.CreateEntitlement] message CreateEntitlementRequest { @@ -2204,6 +2438,13 @@ message ChangeOfferRequest { // with the exception that zero UUID is not supported // (`00000000-0000-0000-0000-000000000000`). string request_id = 6 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The billing account resource name that is used to pay for this + // entitlement when setting up billing on a trial subscription. + // + // This field is only relevant for multi-currency accounts. It should be + // left empty for single currency accounts. + string billing_account = 7 [(google.api.field_behavior) = OPTIONAL]; } // Request message for @@ -2405,6 +2646,12 @@ message ListOffersRequest { // response will localize in the corresponding language code, if specified. // The default value is "en-US". string language_code = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. A boolean flag that determines if a response returns future + // offers 30 days from now. If the show_future_offers is true, the response + // will only contain offers that are scheduled to be available 30 days from + // now. + bool show_future_offers = 7 [(google.api.field_behavior) = OPTIONAL]; } // Response message for ListOffers. @@ -2507,6 +2754,10 @@ message ListPurchasableOffersRequest { // Required. SKU that the result should be restricted to. // Format: products/{product_id}/skus/{sku_id}. string sku = 1 [(google.api.field_behavior) = REQUIRED]; + + // Optional. Billing account that the result should be restricted to. + // Format: accounts/{account_id}/billingAccounts/{billing_account_id}. + string billing_account = 2 [(google.api.field_behavior) = OPTIONAL]; } // List Offers for ChangeOffer purchase. @@ -2520,6 +2771,14 @@ message ListPurchasableOffersRequest { // upgrading or downgrading an entitlement. Format: // products/{product_id}/skus/{sku_id} string new_sku = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Resource name of the new target Billing Account. Provide this + // Billing Account when setting up billing for a trial subscription. Format: + // accounts/{account_id}/billingAccounts/{billing_account_id}. + // + // This field is only relevant for multi-currency accounts. It should be + // left empty for single currency accounts. + string billing_account = 3 [(google.api.field_behavior) = OPTIONAL]; } // Defines the intended purchase. @@ -2570,6 +2829,48 @@ message PurchasableOffer { Offer offer = 1; } +// Request message for QueryEligibleBillingAccounts. +message QueryEligibleBillingAccountsRequest { + // Required. The resource name of the customer to list eligible billing + // accounts for. Format: accounts/{account_id}/customers/{customer_id}. + string customer = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudchannel.googleapis.com/Customer" + } + ]; + + // Required. List of SKUs to list eligible billing accounts for. At least one + // SKU is required. Format: products/{product_id}/skus/{sku_id}. + repeated string skus = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// Response message for QueryEligibleBillingAccounts. +message QueryEligibleBillingAccountsResponse { + // List of SKU purchase groups where each group represents a set of SKUs that + // must be purchased using the same billing account. Each SKU from + // [QueryEligibleBillingAccountsRequest.skus] will appear in exactly one SKU + // group. + repeated SkuPurchaseGroup sku_purchase_groups = 1; +} + +// Represents a set of SKUs that must be purchased using the same billing +// account. +message SkuPurchaseGroup { + // Resource names of the SKUs included in this group. + // Format: products/{product_id}/skus/{sku_id}. + repeated string skus = 1; + + // List of billing accounts that are eligible to purhcase these SKUs. + repeated BillingAccountPurchaseInfo billing_account_purchase_infos = 2; +} + +// Represents a billing account that can be used to make a purchase. +message BillingAccountPurchaseInfo { + // The billing account resource. + BillingAccount billing_account = 1; +} + // Request Message for RegisterSubscriber. message RegisterSubscriberRequest { // Required. Resource name of the account. @@ -2632,4 +2933,49 @@ message ListSubscribersResponse { // A token that can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are no subsequent pages. string next_page_token = 3; -} \ No newline at end of file +} + +// Request message for +// [CloudChannelService.ListEntitlementChanges][google.cloud.channel.v1.CloudChannelService.ListEntitlementChanges] +message ListEntitlementChangesRequest { + // Required. The resource name of the entitlement for which to list + // entitlement changes. The `-` wildcard may be used to match entitlements + // across a customer. Formats: + // + // * accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} + // * accounts/{account_id}/customers/{customer_id}/entitlements/- + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudchannel.googleapis.com/Entitlement" + } + ]; + + // Optional. The maximum number of entitlement changes to return. The service + // may return fewer than this value. If unspecified, returns at most 10 + // entitlement changes. The maximum value is 50; the server will coerce values + // above 50. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. A page token, received from a previous + // [CloudChannelService.ListEntitlementChanges][google.cloud.channel.v1.CloudChannelService.ListEntitlementChanges] + // call. Provide this to retrieve the subsequent page. + // + // When paginating, all other parameters provided to + // [CloudChannelService.ListEntitlementChanges][google.cloud.channel.v1.CloudChannelService.ListEntitlementChanges] + // must match the call that provided the page token. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Filters applied to the list results. + string filter = 4 [(google.api.field_behavior) = OPTIONAL]; +} + +// Response message for +// [CloudChannelService.ListEntitlementChanges][google.cloud.channel.v1.CloudChannelService.ListEntitlementChanges] +message ListEntitlementChangesResponse { + // The list of entitlement changes. + repeated EntitlementChange entitlement_changes = 1; + + // A token to list the next page of results. + string next_page_token = 2; +} diff --git a/third_party/googleapis/google/cloud/channel/v1/subscriber_event.proto b/third_party/googleapis/google/cloud/channel/v1/subscriber_event.proto index 57504ca45..51e13c1f1 100644 --- a/third_party/googleapis/google/cloud/channel/v1/subscriber_event.proto +++ b/third_party/googleapis/google/cloud/channel/v1/subscriber_event.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -116,4 +116,4 @@ message SubscriberEvent { // Entitlement event sent as part of Pub/Sub event to partners. EntitlementEvent entitlement_event = 2; } -} \ No newline at end of file +} diff --git a/third_party/googleapis/google/cloud/clouddms/BUILD.bazel b/third_party/googleapis/google/cloud/clouddms/BUILD.bazel index 31de45a5c..432abc8e1 100644 --- a/third_party/googleapis/google/cloud/clouddms/BUILD.bazel +++ b/third_party/googleapis/google/cloud/clouddms/BUILD.bazel @@ -22,7 +22,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-cloud_dms", "ruby-cloud-env-prefix=DATABASE_MIGRATION", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.7", "ruby-cloud-product-url=https://cloud.google.com/database-migration/", "ruby-cloud-api-id=datamigration.googleapis.com", "ruby-cloud-api-shortname=datamigration", @@ -30,6 +30,7 @@ ruby_cloud_gapic_library( ], ruby_cloud_description = "Database Migration Service makes it easier for you to migrate your data to Google Cloud. Database Migration Service helps you lift and shift your MySQL and PostgreSQL workloads into Cloud SQL. Database Migration Service streamlines networking workflow, manages the initial snapshot and ongoing replication, and provides a status of the migration operation.", ruby_cloud_title = "Cloud Database Migration Service", + transport = "grpc", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/clouddms/logging/v1/BUILD.bazel b/third_party/googleapis/google/cloud/clouddms/logging/v1/BUILD.bazel index 95d3a9030..199ba6116 100644 --- a/third_party/googleapis/google/cloud/clouddms/logging/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/clouddms/logging/v1/BUILD.bazel @@ -97,7 +97,6 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -106,20 +105,9 @@ php_proto_library( deps = [":logging_proto"], ) -php_grpc_library( - name = "logging_php_grpc", - srcs = [":logging_proto"], - deps = [":logging_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/clouddms/v1/BUILD.bazel b/third_party/googleapis/google/cloud/clouddms/v1/BUILD.bazel index fb1a38534..3aaaf098b 100644 --- a/third_party/googleapis/google/cloud/clouddms/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/clouddms/v1/BUILD.bazel @@ -23,17 +23,21 @@ proto_library( srcs = [ "clouddms.proto", "clouddms_resources.proto", + "conversionworkspace_resources.proto", ], deps = [ "//google/api:annotations_proto", "//google/api:client_proto", "//google/api:field_behavior_proto", "//google/api:resource_proto", + "//google/cloud/location:location_proto", + "//google/iam/v1:iam_policy_proto", "//google/longrunning:operations_proto", "//google/rpc:status_proto", "@com_google_protobuf//:duration_proto", "@com_google_protobuf//:empty_proto", "@com_google_protobuf//:field_mask_proto", + "@com_google_protobuf//:struct_proto", "@com_google_protobuf//:timestamp_proto", "@com_google_protobuf//:wrappers_proto", ], @@ -75,6 +79,7 @@ java_gapic_library( srcs = [":clouddms_proto_with_info"], grpc_service_config = "library_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "datamigration_v1.yaml", test_deps = [ ":clouddms_java_grpc", ], @@ -113,7 +118,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -140,6 +144,8 @@ go_gapic_library( transport = "grpc", deps = [ ":clouddms_go_proto", + "//google/cloud/location:location_go_proto", + "//google/iam/v1:iam_go_proto", "//google/longrunning:longrunning_go_proto", "@com_google_cloud_go_longrunning//:go_default_library", "@com_google_cloud_go_longrunning//autogen:go_default_library", @@ -147,19 +153,13 @@ go_gapic_library( ], ) -go_test( - name = "clouddms_go_gapic_test", - srcs = [":clouddms_go_gapic_srcjar_test"], - embed = [":clouddms_go_gapic"], - importpath = "cloud.google.com/go/clouddms/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-clouddms-v1-go", deps = [ ":clouddms_go_gapic", ":clouddms_go_gapic_srcjar-metadata.srcjar", + ":clouddms_go_gapic_srcjar-snippets.srcjar", ":clouddms_go_gapic_srcjar-test.srcjar", ":clouddms_go_proto", ], @@ -183,6 +183,9 @@ py_gapic_library( rest_numeric_enums = True, service_yaml = "datamigration_v1.yaml", transport = "grpc", + deps = [ + "//google/iam/v1:iam_policy_py_proto", + ], ) py_test( @@ -210,7 +213,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -219,23 +221,15 @@ php_proto_library( deps = [":clouddms_proto"], ) -php_grpc_library( - name = "clouddms_php_grpc", - srcs = [":clouddms_proto"], - deps = [":clouddms_php_proto"], -) - php_gapic_library( name = "clouddms_php_gapic", srcs = [":clouddms_proto_with_info"], grpc_service_config = "library_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "datamigration_v1.yaml", transport = "grpc+rest", - deps = [ - ":clouddms_php_grpc", - ":clouddms_php_proto", - ], + deps = [":clouddms_php_proto"], ) # Open Source Packages @@ -243,7 +237,6 @@ php_gapic_assembly_pkg( name = "google-cloud-clouddms-v1-php", deps = [ ":clouddms_php_gapic", - ":clouddms_php_grpc", ":clouddms_php_proto", ], ) @@ -317,6 +310,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Database Migration Service makes it easier for you to migrate your data to Google Cloud. Database Migration Service helps you lift and shift your MySQL and PostgreSQL workloads into Cloud SQL. Database Migration Service streamlines networking workflow, manages the initial snapshot and ongoing replication, and provides a status of the migration operation.", ruby_cloud_title = "Cloud Database Migration Service V1", service_yaml = "datamigration_v1.yaml", + transport = "grpc", deps = [ ":clouddms_ruby_grpc", ":clouddms_ruby_proto", diff --git a/third_party/googleapis/google/cloud/clouddms/v1/clouddms.proto b/third_party/googleapis/google/cloud/clouddms/v1/clouddms.proto index 0126c9c3a..0403e5a54 100644 --- a/third_party/googleapis/google/cloud/clouddms/v1/clouddms.proto +++ b/third_party/googleapis/google/cloud/clouddms/v1/clouddms.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,7 +21,9 @@ import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/clouddms/v1/clouddms_resources.proto"; +import "google/cloud/clouddms/v1/conversionworkspace_resources.proto"; import "google/longrunning/operations.proto"; +import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; @@ -36,10 +38,12 @@ option ruby_package = "Google::Cloud::CloudDMS::V1"; // Database Migration service service DataMigrationService { option (google.api.default_host) = "datamigration.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Lists migration jobs in a given project and location. - rpc ListMigrationJobs(ListMigrationJobsRequest) returns (ListMigrationJobsResponse) { + rpc ListMigrationJobs(ListMigrationJobsRequest) + returns (ListMigrationJobsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/migrationJobs" }; @@ -55,12 +59,14 @@ service DataMigrationService { } // Creates a new migration job in a given project and location. - rpc CreateMigrationJob(CreateMigrationJobRequest) returns (google.longrunning.Operation) { + rpc CreateMigrationJob(CreateMigrationJobRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/migrationJobs" body: "migration_job" }; - option (google.api.method_signature) = "parent,migration_job,migration_job_id"; + option (google.api.method_signature) = + "parent,migration_job,migration_job_id"; option (google.longrunning.operation_info) = { response_type: "MigrationJob" metadata_type: "OperationMetadata" @@ -68,7 +74,8 @@ service DataMigrationService { } // Updates the parameters of a single migration job. - rpc UpdateMigrationJob(UpdateMigrationJobRequest) returns (google.longrunning.Operation) { + rpc UpdateMigrationJob(UpdateMigrationJobRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v1/{migration_job.name=projects/*/locations/*/migrationJobs/*}" body: "migration_job" @@ -81,7 +88,8 @@ service DataMigrationService { } // Deletes a single migration job. - rpc DeleteMigrationJob(DeleteMigrationJobRequest) returns (google.longrunning.Operation) { + rpc DeleteMigrationJob(DeleteMigrationJobRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/migrationJobs/*}" }; @@ -93,7 +101,8 @@ service DataMigrationService { } // Start an already created migration job. - rpc StartMigrationJob(StartMigrationJobRequest) returns (google.longrunning.Operation) { + rpc StartMigrationJob(StartMigrationJobRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/migrationJobs/*}:start" body: "*" @@ -105,7 +114,8 @@ service DataMigrationService { } // Stops a running migration job. - rpc StopMigrationJob(StopMigrationJobRequest) returns (google.longrunning.Operation) { + rpc StopMigrationJob(StopMigrationJobRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/migrationJobs/*}:stop" body: "*" @@ -118,7 +128,8 @@ service DataMigrationService { // Resume a migration job that is currently stopped and is resumable (was // stopped during CDC phase). - rpc ResumeMigrationJob(ResumeMigrationJobRequest) returns (google.longrunning.Operation) { + rpc ResumeMigrationJob(ResumeMigrationJobRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/migrationJobs/*}:resume" body: "*" @@ -131,7 +142,8 @@ service DataMigrationService { // Promote a migration job, stopping replication to the destination and // promoting the destination to be a standalone database. - rpc PromoteMigrationJob(PromoteMigrationJobRequest) returns (google.longrunning.Operation) { + rpc PromoteMigrationJob(PromoteMigrationJobRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/migrationJobs/*}:promote" body: "*" @@ -144,7 +156,8 @@ service DataMigrationService { // Verify a migration job, making sure the destination can reach the source // and that all configuration and prerequisites are met. - rpc VerifyMigrationJob(VerifyMigrationJobRequest) returns (google.longrunning.Operation) { + rpc VerifyMigrationJob(VerifyMigrationJobRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/migrationJobs/*}:verify" body: "*" @@ -158,7 +171,8 @@ service DataMigrationService { // Restart a stopped or failed migration job, resetting the destination // instance to its original state and starting the migration process from // scratch. - rpc RestartMigrationJob(RestartMigrationJobRequest) returns (google.longrunning.Operation) { + rpc RestartMigrationJob(RestartMigrationJobRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/migrationJobs/*}:restart" body: "*" @@ -178,8 +192,20 @@ service DataMigrationService { }; } - // Retrieve a list of all connection profiles in a given project and location. - rpc ListConnectionProfiles(ListConnectionProfilesRequest) returns (ListConnectionProfilesResponse) { + // Generate a TCP Proxy configuration script to configure a cloud-hosted VM + // running a TCP Proxy. + rpc GenerateTcpProxyScript(GenerateTcpProxyScriptRequest) + returns (TcpProxyScript) { + option (google.api.http) = { + post: "/v1/{migration_job=projects/*/locations/*/migrationJobs/*}:generateTcpProxyScript" + body: "*" + }; + } + + // Retrieves a list of all connection profiles in a given project and + // location. + rpc ListConnectionProfiles(ListConnectionProfilesRequest) + returns (ListConnectionProfilesResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/connectionProfiles" }; @@ -187,7 +213,8 @@ service DataMigrationService { } // Gets details of a single connection profile. - rpc GetConnectionProfile(GetConnectionProfileRequest) returns (ConnectionProfile) { + rpc GetConnectionProfile(GetConnectionProfileRequest) + returns (ConnectionProfile) { option (google.api.http) = { get: "/v1/{name=projects/*/locations/*/connectionProfiles/*}" }; @@ -195,12 +222,14 @@ service DataMigrationService { } // Creates a new connection profile in a given project and location. - rpc CreateConnectionProfile(CreateConnectionProfileRequest) returns (google.longrunning.Operation) { + rpc CreateConnectionProfile(CreateConnectionProfileRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/connectionProfiles" body: "connection_profile" }; - option (google.api.method_signature) = "parent,connection_profile,connection_profile_id"; + option (google.api.method_signature) = + "parent,connection_profile,connection_profile_id"; option (google.longrunning.operation_info) = { response_type: "ConnectionProfile" metadata_type: "OperationMetadata" @@ -208,7 +237,8 @@ service DataMigrationService { } // Update the configuration of a single connection profile. - rpc UpdateConnectionProfile(UpdateConnectionProfileRequest) returns (google.longrunning.Operation) { + rpc UpdateConnectionProfile(UpdateConnectionProfileRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v1/{connection_profile.name=projects/*/locations/*/connectionProfiles/*}" body: "connection_profile" @@ -223,7 +253,8 @@ service DataMigrationService { // Deletes a single Database Migration Service connection profile. // A connection profile can only be deleted if it is not in use by any // active migration jobs. - rpc DeleteConnectionProfile(DeleteConnectionProfileRequest) returns (google.longrunning.Operation) { + rpc DeleteConnectionProfile(DeleteConnectionProfileRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/connectionProfiles/*}" }; @@ -233,11 +264,278 @@ service DataMigrationService { metadata_type: "OperationMetadata" }; } + + // Creates a new private connection in a given project and location. + rpc CreatePrivateConnection(CreatePrivateConnectionRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*}/privateConnections" + body: "private_connection" + }; + option (google.api.method_signature) = + "parent,private_connection,private_connection_id"; + option (google.longrunning.operation_info) = { + response_type: "PrivateConnection" + metadata_type: "OperationMetadata" + }; + } + + // Gets details of a single private connection. + rpc GetPrivateConnection(GetPrivateConnectionRequest) + returns (PrivateConnection) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*/privateConnections/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Retrieves a list of private connections in a given project and location. + rpc ListPrivateConnections(ListPrivateConnectionsRequest) + returns (ListPrivateConnectionsResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*}/privateConnections" + }; + option (google.api.method_signature) = "parent"; + } + + // Deletes a single Database Migration Service private connection. + rpc DeletePrivateConnection(DeletePrivateConnectionRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + delete: "/v1/{name=projects/*/locations/*/privateConnections/*}" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "OperationMetadata" + }; + } + + // Gets details of a single conversion workspace. + rpc GetConversionWorkspace(GetConversionWorkspaceRequest) + returns (ConversionWorkspace) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*/conversionWorkspaces/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Lists conversion workspaces in a given project and location. + rpc ListConversionWorkspaces(ListConversionWorkspacesRequest) + returns (ListConversionWorkspacesResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*}/conversionWorkspaces" + }; + option (google.api.method_signature) = "parent"; + } + + // Creates a new conversion workspace in a given project and location. + rpc CreateConversionWorkspace(CreateConversionWorkspaceRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*}/conversionWorkspaces" + body: "conversion_workspace" + }; + option (google.api.method_signature) = + "parent,conversion_workspace,conversion_workspace_id"; + option (google.longrunning.operation_info) = { + response_type: "ConversionWorkspace" + metadata_type: "OperationMetadata" + }; + } + + // Updates the parameters of a single conversion workspace. + rpc UpdateConversionWorkspace(UpdateConversionWorkspaceRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + patch: "/v1/{conversion_workspace.name=projects/*/locations/*/conversionWorkspaces/*}" + body: "conversion_workspace" + }; + option (google.api.method_signature) = "conversion_workspace,update_mask"; + option (google.longrunning.operation_info) = { + response_type: "ConversionWorkspace" + metadata_type: "OperationMetadata" + }; + } + + // Deletes a single conversion workspace. + rpc DeleteConversionWorkspace(DeleteConversionWorkspaceRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + delete: "/v1/{name=projects/*/locations/*/conversionWorkspaces/*}" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "OperationMetadata" + }; + } + + // Creates a new mapping rule for a given conversion workspace. + rpc CreateMappingRule(CreateMappingRuleRequest) returns (MappingRule) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*/conversionWorkspaces/*}/mappingRules" + body: "mapping_rule" + }; + option (google.api.method_signature) = + "parent,mapping_rule,mapping_rule_id"; + } + + // Deletes a single mapping rule. + rpc DeleteMappingRule(DeleteMappingRuleRequest) + returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1/{name=projects/*/locations/*/conversionWorkspaces/*/mappingRules/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Lists the mapping rules for a specific conversion workspace. + rpc ListMappingRules(ListMappingRulesRequest) + returns (ListMappingRulesResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*/conversionWorkspaces/*}/mappingRules" + }; + option (google.api.method_signature) = "parent"; + } + + // Gets the details of a mapping rule. + rpc GetMappingRule(GetMappingRuleRequest) returns (MappingRule) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*/conversionWorkspaces/*/mappingRules/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Imports a snapshot of the source database into the + // conversion workspace. + rpc SeedConversionWorkspace(SeedConversionWorkspaceRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/*/conversionWorkspaces/*}:seed" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "ConversionWorkspace" + metadata_type: "OperationMetadata" + }; + } + + // Imports the mapping rules for a given conversion workspace. + // Supports various formats of external rules files. + rpc ImportMappingRules(ImportMappingRulesRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*/conversionWorkspaces/*}/mappingRules:import" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "ConversionWorkspace" + metadata_type: "OperationMetadata" + }; + } + + // Creates a draft tree schema for the destination database. + rpc ConvertConversionWorkspace(ConvertConversionWorkspaceRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/*/conversionWorkspaces/*}:convert" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "ConversionWorkspace" + metadata_type: "OperationMetadata" + }; + } + + // Marks all the data in the conversion workspace as committed. + rpc CommitConversionWorkspace(CommitConversionWorkspaceRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/*/conversionWorkspaces/*}:commit" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "ConversionWorkspace" + metadata_type: "OperationMetadata" + }; + } + + // Rolls back a conversion workspace to the last committed snapshot. + rpc RollbackConversionWorkspace(RollbackConversionWorkspaceRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/*/conversionWorkspaces/*}:rollback" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "ConversionWorkspace" + metadata_type: "OperationMetadata" + }; + } + + // Applies draft tree onto a specific destination database. + rpc ApplyConversionWorkspace(ApplyConversionWorkspaceRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/*/conversionWorkspaces/*}:apply" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "ConversionWorkspace" + metadata_type: "OperationMetadata" + }; + } + + // Describes the database entities tree for a specific conversion workspace + // and a specific tree type. + // + // Database entities are not resources like conversion workspaces or mapping + // rules, and they can't be created, updated or deleted. Instead, they are + // simple data objects describing the structure of the client database. + rpc DescribeDatabaseEntities(DescribeDatabaseEntitiesRequest) + returns (DescribeDatabaseEntitiesResponse) { + option (google.api.http) = { + get: "/v1/{conversion_workspace=projects/*/locations/*/conversionWorkspaces/*}:describeDatabaseEntities" + }; + } + + // Searches/lists the background jobs for a specific + // conversion workspace. + // + // The background jobs are not resources like conversion workspaces or + // mapping rules, and they can't be created, updated or deleted. + // Instead, they are a way to expose the data plane jobs log. + rpc SearchBackgroundJobs(SearchBackgroundJobsRequest) + returns (SearchBackgroundJobsResponse) { + option (google.api.http) = { + get: "/v1/{conversion_workspace=projects/*/locations/*/conversionWorkspaces/*}:searchBackgroundJobs" + }; + } + + // Retrieves a list of committed revisions of a specific conversion + // workspace. + rpc DescribeConversionWorkspaceRevisions( + DescribeConversionWorkspaceRevisionsRequest) + returns (DescribeConversionWorkspaceRevisionsResponse) { + option (google.api.http) = { + get: "/v1/{conversion_workspace=projects/*/locations/*/conversionWorkspaces/*}:describeConversionWorkspaceRevisions" + }; + } + + // Fetches a set of static IP addresses that need to be allowlisted by the + // customer when using the static-IP connectivity method. + rpc FetchStaticIps(FetchStaticIpsRequest) returns (FetchStaticIpsResponse) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*}:fetchStaticIps" + }; + option (google.api.method_signature) = "name"; + } } -// Retrieve a list of all migration jobs in a given project and location. +// Retrieves a list of all migration jobs in a given project and location. message ListMigrationJobsRequest { - // Required. The parent, which owns this collection of migrationJobs. + // Required. The parent which owns this collection of migrationJobs. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -247,7 +545,7 @@ message ListMigrationJobsRequest { // The maximum number of migration jobs to return. The service may return // fewer than this value. If unspecified, at most 50 migration jobs will be - // returned. The maximum value is 1000; values above 1000 will be coerced to + // returned. The maximum value is 1000; values above 1000 are coerced to // 1000. int32 page_size = 2; @@ -279,7 +577,7 @@ message ListMigrationJobsResponse { // The list of migration jobs objects. repeated MigrationJob migration_jobs = 1; - // A token, which can be sent as `page_token` to retrieve the next page. + // A token which can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are no subsequent pages. string next_page_token = 2; @@ -301,7 +599,7 @@ message GetMigrationJobRequest { // Request message to create a new Database Migration Service migration job // in the specified project and region. message CreateMigrationJobRequest { - // Required. The parent, which owns this collection of migration jobs. + // Required. The parent which owns this collection of migration jobs. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -317,31 +615,32 @@ message CreateMigrationJobRequest { // object. MigrationJob migration_job = 3 [(google.api.field_behavior) = REQUIRED]; - // A unique id used to identify the request. If the server receives two - // requests with the same id, then the second request will be ignored. + // Optional. A unique ID used to identify the request. If the server receives + // two requests with the same ID, then the second request is ignored. // // It is recommended to always set this value to a UUID. // - // The id must contain only letters (a-z, A-Z), numbers (0-9), underscores + // The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores // (_), and hyphens (-). The maximum length is 40 characters. - string request_id = 4; + string request_id = 4 [(google.api.field_behavior) = OPTIONAL]; } // Request message for 'UpdateMigrationJob' request. message UpdateMigrationJobRequest { - // Required. Field mask is used to specify the fields to be overwritten in the - // migration job resource by the update. - google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = REQUIRED]; + // Required. Field mask is used to specify the fields to be overwritten by the + // update in the conversion workspace resource. + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = REQUIRED]; // Required. The migration job parameters to update. MigrationJob migration_job = 2 [(google.api.field_behavior) = REQUIRED]; - // A unique id used to identify the request. If the server receives two - // requests with the same id, then the second request will be ignored. + // A unique ID used to identify the request. If the server receives two + // requests with the same ID, then the second request is ignored. // // It is recommended to always set this value to a UUID. // - // The id must contain only letters (a-z, A-Z), numbers (0-9), underscores + // The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores // (_), and hyphens (-). The maximum length is 40 characters. string request_id = 3; } @@ -356,12 +655,12 @@ message DeleteMigrationJobRequest { } ]; - // A unique id used to identify the request. If the server receives two - // requests with the same id, then the second request will be ignored. + // A unique ID used to identify the request. If the server receives two + // requests with the same ID, then the second request is ignored. // // It is recommended to always set this value to a UUID. // - // The id must contain only letters (a-z, A-Z), numbers (0-9), underscores + // The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores // (_), and hyphens (-). The maximum length is 40 characters. string request_id = 2; @@ -375,56 +674,73 @@ message DeleteMigrationJobRequest { message StartMigrationJobRequest { // Name of the migration job resource to start. string name = 1 [(google.api.resource_reference) = { - type: "datamigration.googleapis.com/MigrationJob" - }]; + type: "datamigration.googleapis.com/MigrationJob" + }]; + + // Optional. Start the migration job without running prior configuration + // verification. Defaults to `false`. + bool skip_validation = 2 [(google.api.field_behavior) = OPTIONAL]; } // Request message for 'StopMigrationJob' request. message StopMigrationJobRequest { // Name of the migration job resource to stop. string name = 1 [(google.api.resource_reference) = { - type: "datamigration.googleapis.com/MigrationJob" - }]; + type: "datamigration.googleapis.com/MigrationJob" + }]; } // Request message for 'ResumeMigrationJob' request. message ResumeMigrationJobRequest { // Name of the migration job resource to resume. string name = 1 [(google.api.resource_reference) = { - type: "datamigration.googleapis.com/MigrationJob" - }]; + type: "datamigration.googleapis.com/MigrationJob" + }]; } // Request message for 'PromoteMigrationJob' request. message PromoteMigrationJobRequest { // Name of the migration job resource to promote. string name = 1 [(google.api.resource_reference) = { - type: "datamigration.googleapis.com/MigrationJob" - }]; + type: "datamigration.googleapis.com/MigrationJob" + }]; } // Request message for 'VerifyMigrationJob' request. message VerifyMigrationJobRequest { // Name of the migration job resource to verify. string name = 1 [(google.api.resource_reference) = { - type: "datamigration.googleapis.com/MigrationJob" - }]; + type: "datamigration.googleapis.com/MigrationJob" + }]; + + // Optional. Field mask is used to specify the changed fields to be verified. + // It will not update the migration job. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The changed migration job parameters to verify. + // It will not update the migration job. + MigrationJob migration_job = 3 [(google.api.field_behavior) = OPTIONAL]; } // Request message for 'RestartMigrationJob' request. message RestartMigrationJobRequest { // Name of the migration job resource to restart. string name = 1 [(google.api.resource_reference) = { - type: "datamigration.googleapis.com/MigrationJob" - }]; + type: "datamigration.googleapis.com/MigrationJob" + }]; + + // Optional. Restart the migration job without running prior configuration + // verification. Defaults to `false`. + bool skip_validation = 2 [(google.api.field_behavior) = OPTIONAL]; } // Request message for 'GenerateSshScript' request. message GenerateSshScriptRequest { // Name of the migration job resource to generate the SSH script. string migration_job = 1 [(google.api.resource_reference) = { - type: "datamigration.googleapis.com/MigrationJob" - }]; + type: "datamigration.googleapis.com/MigrationJob" + }]; // Required. Bastion VM Instance name to use or to create. string vm = 2 [(google.api.field_behavior) = REQUIRED]; @@ -438,7 +754,7 @@ message GenerateSshScriptRequest { VmSelectionConfig vm_selection_config = 101; } - // The port that will be open on the bastion host + // The port that will be open on the bastion host. int32 vm_port = 3; } @@ -466,9 +782,41 @@ message SshScript { string script = 1; } +// Request message for 'GenerateTcpProxyScript' request. +message GenerateTcpProxyScriptRequest { + // Name of the migration job resource to generate the TCP Proxy script. + string migration_job = 1 [(google.api.resource_reference) = { + type: "datamigration.googleapis.com/MigrationJob" + }]; + + // Required. The name of the Compute instance that will host the proxy. + string vm_name = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The type of the Compute instance that will host the proxy. + string vm_machine_type = 3 [(google.api.field_behavior) = REQUIRED]; + + // Optional. The Google Cloud Platform zone to create the VM in. The fully + // qualified name of the zone must be specified, including the region name, + // for example "us-central1-b". If not specified, uses the "-b" zone of the + // destination Connection Profile's region. + string vm_zone = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Required. The name of the subnet the Compute instance will use for private + // connectivity. Must be supplied in the form of + // projects/{project}/regions/{region}/subnetworks/{subnetwork}. + // Note: the region for the subnet must match the Compute instance region. + string vm_subnet = 5 [(google.api.field_behavior) = REQUIRED]; +} + +// Response message for 'GenerateTcpProxyScript' request. +message TcpProxyScript { + // The TCP Proxy configuration script. + string script = 1; +} + // Request message for 'ListConnectionProfiles' request. message ListConnectionProfilesRequest { - // Required. The parent, which owns this collection of connection profiles. + // Required. The parent which owns this collection of connection profiles. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -478,7 +826,7 @@ message ListConnectionProfilesRequest { // The maximum number of connection profiles to return. The service may return // fewer than this value. If unspecified, at most 50 connection profiles will - // be returned. The maximum value is 1000; values above 1000 will be coerced + // be returned. The maximum value is 1000; values above 1000 are coerced // to 1000. int32 page_size = 2; @@ -500,7 +848,7 @@ message ListConnectionProfilesRequest { // connect with a specific username. string filter = 4; - // the order by fields for the result. + // A comma-separated list of fields to order results according to. string order_by = 5; } @@ -509,7 +857,7 @@ message ListConnectionProfilesResponse { // The response list of connection profiles. repeated ConnectionProfile connection_profiles = 1; - // A token, which can be sent as `page_token` to retrieve the next page. + // A token which can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are no subsequent pages. string next_page_token = 2; @@ -530,11 +878,11 @@ message GetConnectionProfileRequest { // Request message for 'CreateConnectionProfile' request. message CreateConnectionProfileRequest { - // Required. The parent, which owns this collection of connection profiles. + // Required. The parent which owns this collection of connection profiles. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { - type: "datamigration.googleapis.com/ConnectionProfile" + child_type: "datamigration.googleapis.com/ConnectionProfile" } ]; @@ -542,35 +890,58 @@ message CreateConnectionProfileRequest { string connection_profile_id = 2 [(google.api.field_behavior) = REQUIRED]; // Required. The create request body including the connection profile data - ConnectionProfile connection_profile = 3 [(google.api.field_behavior) = REQUIRED]; + ConnectionProfile connection_profile = 3 + [(google.api.field_behavior) = REQUIRED]; - // A unique id used to identify the request. If the server receives two - // requests with the same id, then the second request will be ignored. + // Optional. A unique ID used to identify the request. If the server receives + // two requests with the same ID, then the second request is ignored. // // It is recommended to always set this value to a UUID. // - // The id must contain only letters (a-z, A-Z), numbers (0-9), underscores + // The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores // (_), and hyphens (-). The maximum length is 40 characters. - string request_id = 4; + string request_id = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Only validate the connection profile, but don't create any + // resources. The default is false. Only supported for Oracle connection + // profiles. + bool validate_only = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Create the connection profile without validating it. + // The default is false. + // Only supported for Oracle connection profiles. + bool skip_validation = 6 [(google.api.field_behavior) = OPTIONAL]; } // Request message for 'UpdateConnectionProfile' request. message UpdateConnectionProfileRequest { - // Required. Field mask is used to specify the fields to be overwritten in the - // connection profile resource by the update. - google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = REQUIRED]; + // Required. Field mask is used to specify the fields to be overwritten by the + // update in the conversion workspace resource. + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = REQUIRED]; // Required. The connection profile parameters to update. - ConnectionProfile connection_profile = 2 [(google.api.field_behavior) = REQUIRED]; + ConnectionProfile connection_profile = 2 + [(google.api.field_behavior) = REQUIRED]; - // A unique id used to identify the request. If the server receives two - // requests with the same id, then the second request will be ignored. + // Optional. A unique ID used to identify the request. If the server receives + // two requests with the same ID, then the second request is ignored. // // It is recommended to always set this value to a UUID. // - // The id must contain only letters (a-z, A-Z), numbers (0-9), underscores + // The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores // (_), and hyphens (-). The maximum length is 40 characters. - string request_id = 3; + string request_id = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Only validate the connection profile, but don't update any + // resources. The default is false. Only supported for Oracle connection + // profiles. + bool validate_only = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Update the connection profile without validating it. + // The default is false. + // Only supported for Oracle connection profiles. + bool skip_validation = 5 [(google.api.field_behavior) = OPTIONAL]; } // Request message for 'DeleteConnectionProfile' request. @@ -583,12 +954,12 @@ message DeleteConnectionProfileRequest { } ]; - // A unique id used to identify the request. If the server receives two - // requests with the same id, then the second request will be ignored. + // A unique ID used to identify the request. If the server receives two + // requests with the same ID, then the second request is ignored. // // It is recommended to always set this value to a UUID. // - // The id must contain only letters (a-z, A-Z), numbers (0-9), underscores + // The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores // (_), and hyphens (-). The maximum length is 40 characters. string request_id = 2; @@ -597,13 +968,126 @@ message DeleteConnectionProfileRequest { bool force = 3; } +// Request message to create a new private connection in the specified project +// and region. +message CreatePrivateConnectionRequest { + // Required. The parent that owns the collection of PrivateConnections. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "datamigration.googleapis.com/PrivateConnection" + } + ]; + + // Required. The private connection identifier. + string private_connection_id = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The private connection resource to create. + PrivateConnection private_connection = 3 + [(google.api.field_behavior) = REQUIRED]; + + // Optional. A unique ID used to identify the request. If the server receives + // two requests with the same ID, then the second request is ignored. + // + // It is recommended to always set this value to a UUID. + // + // The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores + // (_), and hyphens (-). The maximum length is 40 characters. + string request_id = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If set to true, will skip validations. + bool skip_validation = 5 [(google.api.field_behavior) = OPTIONAL]; +} + +// Request message to retrieve a list of private connections in a given project +// and location. +message ListPrivateConnectionsRequest { + // Required. The parent that owns the collection of private connections. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "datamigration.googleapis.com/PrivateConnection" + } + ]; + + // Maximum number of private connections to return. + // If unspecified, at most 50 private connections that are returned. + // The maximum value is 1000; values above 1000 are coerced to 1000. + int32 page_size = 2; + + // Page token received from a previous `ListPrivateConnections` call. + // Provide this to retrieve the subsequent page. + // + // When paginating, all other parameters provided to + // `ListPrivateConnections` must match the call that provided the page + // token. + string page_token = 3; + + // A filter expression that filters private connections listed in the + // response. The expression must specify the field name, a comparison + // operator, and the value that you want to use for filtering. The value must + // be a string, a number, or a boolean. The comparison operator must be either + // =, !=, >, or <. For example, list private connections created this year by + // specifying **createTime %gt; 2021-01-01T00:00:00.000000000Z**. + string filter = 4; + + // Order by fields for the result. + string order_by = 5; +} + +// Response message for 'ListPrivateConnections' request. +message ListPrivateConnectionsResponse { + // List of private connections. + repeated PrivateConnection private_connections = 1; + + // A token which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; + + // Locations that could not be reached. + repeated string unreachable = 3; +} + +// Request message to delete a private connection. +message DeletePrivateConnectionRequest { + // Required. The name of the private connection to delete. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "datamigration.googleapis.com/PrivateConnection" + } + ]; + + // Optional. A unique ID used to identify the request. If the server receives + // two requests with the same ID, then the second request is ignored. + // + // It is recommended to always set this value to a UUID. + // + // The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores + // (_), and hyphens (-). The maximum length is 40 characters. + string request_id = 2 [(google.api.field_behavior) = OPTIONAL]; +} + +// Request message to get a private connection resource. +message GetPrivateConnectionRequest { + // Required. The name of the private connection to get. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "datamigration.googleapis.com/PrivateConnection" + } + ]; +} + // Represents the metadata of the long-running operation. message OperationMetadata { // Output only. The time the operation was created. - google.protobuf.Timestamp create_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time the operation finished running. - google.protobuf.Timestamp end_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp end_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Server-defined resource path for the target of the operation. string target = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -616,10 +1100,554 @@ message OperationMetadata { // Output only. Identifies whether the user has requested cancellation // of the operation. Operations that have successfully been cancelled - // have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, - // corresponding to `Code.CANCELLED`. + // have [Operation.error][] value with a + // [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to + // `Code.CANCELLED`. bool requested_cancellation = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. API version used to start the operation. string api_version = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; } + +// Retrieve a list of all conversion workspaces in a given project and location. +message ListConversionWorkspacesRequest { + // Required. The parent which owns this collection of conversion workspaces. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "datamigration.googleapis.com/ConversionWorkspace" + } + ]; + + // The maximum number of conversion workspaces to return. The service may + // return fewer than this value. If unspecified, at most 50 sets are returned. + int32 page_size = 2; + + // The nextPageToken value received in the previous call to + // conversionWorkspaces.list, used in the subsequent request to retrieve the + // next page of results. On first call this should be left blank. When + // paginating, all other parameters provided to conversionWorkspaces.list must + // match the call that provided the page token. + string page_token = 3; + + // A filter expression that filters conversion workspaces listed in the + // response. The expression must specify the field name, a comparison + // operator, and the value that you want to use for filtering. The value must + // be a string, a number, or a boolean. The comparison operator must be either + // =, !=, >, or <. For example, list conversion workspaces created this year + // by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z.** You can + // also filter nested fields. For example, you could specify + // **source.version = "12.c.1"** to select all conversion workspaces with + // source database version equal to 12.c.1. + string filter = 4; +} + +// Response message for 'ListConversionWorkspaces' request. +message ListConversionWorkspacesResponse { + // The list of conversion workspace objects. + repeated ConversionWorkspace conversion_workspaces = 1; + + // A token which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; + + // Locations that could not be reached. + repeated string unreachable = 3; +} + +// Request message for 'GetConversionWorkspace' request. +message GetConversionWorkspaceRequest { + // Required. Name of the conversion workspace resource to get. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "datamigration.googleapis.com/ConversionWorkspace" + } + ]; +} + +// Request message to create a new Conversion Workspace +// in the specified project and region. +message CreateConversionWorkspaceRequest { + // Required. The parent which owns this collection of conversion workspaces. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "datamigration.googleapis.com/ConversionWorkspace" + } + ]; + + // Required. The ID of the conversion workspace to create. + string conversion_workspace_id = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. Represents a conversion workspace object. + ConversionWorkspace conversion_workspace = 3 + [(google.api.field_behavior) = REQUIRED]; + + // A unique ID used to identify the request. If the server receives two + // requests with the same ID, then the second request is ignored. + // + // It is recommended to always set this value to a UUID. + // + // The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores + // (_), and hyphens (-). The maximum length is 40 characters. + string request_id = 4; +} + +// Request message for 'UpdateConversionWorkspace' request. +message UpdateConversionWorkspaceRequest { + // Required. Field mask is used to specify the fields to be overwritten by the + // update in the conversion workspace resource. + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = REQUIRED]; + + // Required. The conversion workspace parameters to update. + ConversionWorkspace conversion_workspace = 2 + [(google.api.field_behavior) = REQUIRED]; + + // A unique ID used to identify the request. If the server receives two + // requests with the same ID, then the second request is ignored. + // + // It is recommended to always set this value to a UUID. + // + // The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores + // (_), and hyphens (-). The maximum length is 40 characters. + string request_id = 3; +} + +// Request message for 'DeleteConversionWorkspace' request. +message DeleteConversionWorkspaceRequest { + // Required. Name of the conversion workspace resource to delete. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "datamigration.googleapis.com/ConversionWorkspace" + } + ]; + + // A unique ID used to identify the request. If the server receives two + // requests with the same ID, then the second request is ignored. + // + // It is recommended to always set this value to a UUID. + // + // The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores + // (_), and hyphens (-). The maximum length is 40 characters. + string request_id = 2; + + // Force delete the conversion workspace, even if there's a running migration + // that is using the workspace. + bool force = 3; +} + +// Request message for 'CommitConversionWorkspace' request. +message CommitConversionWorkspaceRequest { + // Required. Name of the conversion workspace resource to commit. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "datamigration.googleapis.com/ConversionWorkspace" + } + ]; + + // Optional. Optional name of the commit. + string commit_name = 2 [(google.api.field_behavior) = OPTIONAL]; +} + +// Request message for 'RollbackConversionWorkspace' request. +message RollbackConversionWorkspaceRequest { + // Required. Name of the conversion workspace resource to roll back to. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "datamigration.googleapis.com/ConversionWorkspace" + } + ]; +} + +// Request message for 'ApplyConversionWorkspace' request. +message ApplyConversionWorkspaceRequest { + // Required. The name of the conversion workspace resource for which to apply + // the draft tree. Must be in the form of: + // projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "datamigration.googleapis.com/ConversionWorkspace" + } + ]; + + // Filter which entities to apply. Leaving this field empty will apply all of + // the entities. Supports Google AIP 160 based filtering. + string filter = 2; + + // Optional. Only validates the apply process, but doesn't change the + // destination database. Only works for PostgreSQL destination connection + // profile. + bool dry_run = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Specifies whether the conversion workspace is to be committed + // automatically after the apply. + bool auto_commit = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Which destination to use when applying the conversion workspace. + oneof destination { + // Optional. Fully qualified (Uri) name of the destination connection + // profile. + string connection_profile = 100 [(google.api.field_behavior) = OPTIONAL]; + } +} + +// Retrieve a list of all mapping rules in a given conversion workspace. +message ListMappingRulesRequest { + // Required. Name of the conversion workspace resource whose mapping rules are + // listed in the form of: + // projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "datamigration.googleapis.com/ConversionWorkspace" + } + ]; + + // The maximum number of rules to return. The service may return + // fewer than this value. + int32 page_size = 2; + + // The nextPageToken value received in the previous call to + // mappingRules.list, used in the subsequent request to retrieve the next + // page of results. On first call this should be left blank. When paginating, + // all other parameters provided to mappingRules.list must match the call + // that provided the page token. + string page_token = 3; +} + +// Response message for 'ListMappingRulesRequest' request. +message ListMappingRulesResponse { + // The list of conversion workspace mapping rules. + repeated MappingRule mapping_rules = 1; + + // A token which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; +} + +// Request message for 'GetMappingRule' request. +message GetMappingRuleRequest { + // Required. Name of the mapping rule resource to get. + // Example: conversionWorkspaces/123/mappingRules/rule123 + // + // In order to retrieve a previous revision of the mapping rule, also provide + // the revision ID. + // Example: + // conversionWorkspace/123/mappingRules/rule123@c7cfa2a8c7cfa2a8c7cfa2a8c7cfa2a8 + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "datamigration.googleapis.com/MappingRule" + } + ]; +} + +// Request message for 'SeedConversionWorkspace' request. +message SeedConversionWorkspaceRequest { + // Name of the conversion workspace resource to seed with new database + // structure, in the form of: + // projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}. + string name = 1 [(google.api.resource_reference) = { + type: "datamigration.googleapis.com/ConversionWorkspace" + }]; + + // Should the conversion workspace be committed automatically after the + // seed operation. + bool auto_commit = 2; + + // The input to be used for seeding the conversion workspace. The input can + // either be from the source or destination databases and it can be provided + // through a connection profile or a DDL file. + oneof seed_from { + // Optional. Fully qualified (Uri) name of the source connection profile. + string source_connection_profile = 100 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Fully qualified (Uri) name of the destination connection + // profile. + string destination_connection_profile = 101 + [(google.api.field_behavior) = OPTIONAL]; + } +} + +// Request message for 'ConvertConversionWorkspace' request. +message ConvertConversionWorkspaceRequest { + // Name of the conversion workspace resource to convert in the form of: + // projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}. + string name = 1 [(google.api.resource_reference) = { + type: "datamigration.googleapis.com/ConversionWorkspace" + }]; + + // Optional. Specifies whether the conversion workspace is to be committed + // automatically after the conversion. + bool auto_commit = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Filter the entities to convert. Leaving this field empty will + // convert all of the entities. Supports Google AIP-160 style filtering. + string filter = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Automatically convert the full entity path for each entity + // specified by the filter. For example, if the filter specifies a table, that + // table schema (and database if there is one) will also be converted. + bool convert_full_path = 6 [(google.api.field_behavior) = OPTIONAL]; +} + +// Request message for 'ImportMappingRules' request. +message ImportMappingRulesRequest { + // Details of a single rules file. + message RulesFile { + // Required. The filename of the rules that needs to be converted. The + // filename is used mainly so that future logs of the import rules job + // contain it, and can therefore be searched by it. + string rules_source_filename = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The text content of the rules that needs to be converted. + string rules_content = 2 [(google.api.field_behavior) = REQUIRED]; + } + + // Required. Name of the conversion workspace resource to import the rules to + // in the form of: + // projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "datamigration.googleapis.com/ConversionWorkspace" + } + ]; + + // Required. The format of the rules content file. + ImportRulesFileFormat rules_format = 2 + [(google.api.field_behavior) = REQUIRED]; + + // Required. One or more rules files. + repeated RulesFile rules_files = 3 [(google.api.field_behavior) = REQUIRED]; + + // Required. Should the conversion workspace be committed automatically after + // the import operation. + bool auto_commit = 6 [(google.api.field_behavior) = REQUIRED]; +} + +// Request message for 'DescribeDatabaseEntities' request. +message DescribeDatabaseEntitiesRequest { + // The type of a tree to return + enum DBTreeType { + // Unspecified tree type. + DB_TREE_TYPE_UNSPECIFIED = 0; + + // The source database tree. + SOURCE_TREE = 1; + + // The draft database tree. + DRAFT_TREE = 2; + + // The destination database tree. + DESTINATION_TREE = 3; + } + + // Required. Name of the conversion workspace resource whose database entities + // are described. Must be in the form of: + // projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}. + string conversion_workspace = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "datamigration.googleapis.com/ConversionWorkspace" + } + ]; + + // Optional. The maximum number of entities to return. The service may return + // fewer entities than the value specifies. + int32 page_size = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The nextPageToken value received in the previous call to + // conversionWorkspace.describeDatabaseEntities, used in the subsequent + // request to retrieve the next page of results. On first call this should be + // left blank. When paginating, all other parameters provided to + // conversionWorkspace.describeDatabaseEntities must match the call that + // provided the page token. + string page_token = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Required. The tree to fetch. + DBTreeType tree = 6 [(google.api.field_behavior) = REQUIRED]; + + // Optional. Whether to retrieve the latest committed version of the entities + // or the latest version. This field is ignored if a specific commit_id is + // specified. + bool uncommitted = 11 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Request a specific commit ID. If not specified, the entities from + // the latest commit are returned. + string commit_id = 12 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Filter the returned entities based on AIP-160 standard. + string filter = 13 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Results view based on AIP-157 + DatabaseEntityView view = 14 [(google.api.field_behavior) = OPTIONAL]; +} + +// Response message for 'DescribeDatabaseEntities' request. +message DescribeDatabaseEntitiesResponse { + // The list of database entities for the conversion workspace. + repeated DatabaseEntity database_entities = 1; + + // A token which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; +} + +// Request message for 'SearchBackgroundJobs' request. +message SearchBackgroundJobsRequest { + // Required. Name of the conversion workspace resource whose jobs are listed, + // in the form of: + // projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}. + string conversion_workspace = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "datamigration.googleapis.com/ConversionWorkspace" + } + ]; + + // Optional. Whether or not to return just the most recent job per job type, + bool return_most_recent_per_job_type = 2 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The maximum number of jobs to return. The service may return + // fewer than this value. If unspecified, at most 100 jobs are + // returned. The maximum value is 100; values above 100 are coerced to + // 100. + int32 max_size = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If provided, only returns jobs that completed until (not + // including) the given timestamp. + google.protobuf.Timestamp completed_until_time = 4 + [(google.api.field_behavior) = OPTIONAL]; +} + +// Response message for 'SearchBackgroundJobs' request. +message SearchBackgroundJobsResponse { + // The list of conversion workspace mapping rules. + repeated BackgroundJobLogEntry jobs = 1; +} + +// Request message for 'DescribeConversionWorkspaceRevisions' request. +message DescribeConversionWorkspaceRevisionsRequest { + // Required. Name of the conversion workspace resource whose revisions are + // listed. Must be in the form of: + // projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}. + string conversion_workspace = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "datamigration.googleapis.com/ConversionWorkspace" + } + ]; + + // Optional. Optional filter to request a specific commit ID. + string commit_id = 2 [(google.api.field_behavior) = OPTIONAL]; +} + +// Response message for 'DescribeConversionWorkspaceRevisions' request. +message DescribeConversionWorkspaceRevisionsResponse { + // The list of conversion workspace revisions. + repeated ConversionWorkspace revisions = 1; +} + +// Request message for 'CreateMappingRule' command. +message CreateMappingRuleRequest { + // Required. The parent which owns this collection of mapping rules. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "datamigration.googleapis.com/MappingRule" + } + ]; + + // Required. The ID of the rule to create. + string mapping_rule_id = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. Represents a [mapping rule] + // (https://cloud.google.com/database-migration/reference/rest/v1/projects.locations.mappingRules) + // object. + MappingRule mapping_rule = 3 [(google.api.field_behavior) = REQUIRED]; + + // A unique ID used to identify the request. If the server receives two + // requests with the same ID, then the second request is ignored. + // + // It is recommended to always set this value to a UUID. + // + // The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores + // (_), and hyphens (-). The maximum length is 40 characters. + string request_id = 4; +} + +// Request message for 'DeleteMappingRule' request. +message DeleteMappingRuleRequest { + // Required. Name of the mapping rule resource to delete. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "datamigration.googleapis.com/MappingRule" + } + ]; + + // Optional. A unique ID used to identify the request. If the server receives + // two requests with the same ID, then the second request is ignored. + // + // It is recommended to always set this value to a UUID. + // + // The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores + // (_), and hyphens (-). The maximum length is 40 characters. + string request_id = 2 [(google.api.field_behavior) = OPTIONAL]; +} + +// Request message for 'FetchStaticIps' request. +message FetchStaticIpsRequest { + // Required. The resource name for the location for which static IPs should be + // returned. Must be in the format `projects/*/locations/*`. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "locations.googleapis.com/Location" + } + ]; + + // Maximum number of IPs to return. + int32 page_size = 2; + + // A page token, received from a previous `FetchStaticIps` call. + string page_token = 3; +} + +// Response message for a 'FetchStaticIps' request. +message FetchStaticIpsResponse { + // List of static IPs. + repeated string static_ips = 1; + + // A token that can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; +} + +// AIP-157 Partial Response view for Database Entity. +enum DatabaseEntityView { + // Unspecified view. Defaults to basic view. + DATABASE_ENTITY_VIEW_UNSPECIFIED = 0; + + // Default view. Does not return DDLs or Issues. + DATABASE_ENTITY_VIEW_BASIC = 1; + + // Return full entity details including mappings, ddl and issues. + DATABASE_ENTITY_VIEW_FULL = 2; + + // Top-most (Database, Schema) nodes which are returned contains summary + // details for their decendents such as the number of entities per type and + // issues rollups. When this view is used, only a single page of result is + // returned and the page_size property of the request is ignored. The + // returned page will only include the top-most node types. + DATABASE_ENTITY_VIEW_ROOT_SUMMARY = 3; +} diff --git a/third_party/googleapis/google/cloud/clouddms/v1/clouddms_resources.proto b/third_party/googleapis/google/cloud/clouddms/v1/clouddms_resources.proto index 67a6356d2..313b9f312 100644 --- a/third_party/googleapis/google/cloud/clouddms/v1/clouddms_resources.proto +++ b/third_party/googleapis/google/cloud/clouddms/v1/clouddms_resources.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -30,6 +30,10 @@ option java_outer_classname = "ClouddmsResourcesProto"; option java_package = "com.google.cloud.clouddms.v1"; option php_namespace = "Google\\Cloud\\CloudDms\\V1"; option ruby_package = "Google::Cloud::CloudDMS::V1"; +option (google.api.resource_definition) = { + type: "compute.googleapis.com/Networks" + pattern: "projects/{project}/global/networks/{network}" +}; // SSL configuration information. message SslConfig { @@ -46,23 +50,23 @@ message SslConfig { SERVER_CLIENT = 2; } - // Output only. The ssl config type according to 'client_key', 'client_certificate' and - // 'ca_certificate'. + // Output only. The ssl config type according to 'client_key', + // 'client_certificate' and 'ca_certificate'. SslType type = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Input only. The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with - // the Client Certificate. If this field is used then the 'client_certificate' - // field is mandatory. + // Input only. The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key + // associated with the Client Certificate. If this field is used then the + // 'client_certificate' field is mandatory. string client_key = 2 [(google.api.field_behavior) = INPUT_ONLY]; - // Input only. The x509 PEM-encoded certificate that will be used by the replica to - // authenticate against the source database server.If this field is used then - // the 'client_key' field is mandatory. + // Input only. The x509 PEM-encoded certificate that will be used by the + // replica to authenticate against the source database server.If this field is + // used then the 'client_key' field is mandatory. string client_certificate = 3 [(google.api.field_behavior) = INPUT_ONLY]; - // Required. Input only. The x509 PEM-encoded certificate of the CA that signed the source database - // server's certificate. The replica will use this certificate to verify - // it's connecting to the right host. + // Required. Input only. The x509 PEM-encoded certificate of the CA that + // signed the source database server's certificate. The replica will use this + // certificate to verify it's connecting to the right host. string ca_certificate = 4 [ (google.api.field_behavior) = INPUT_ONLY, (google.api.field_behavior) = REQUIRED @@ -77,13 +81,15 @@ message MySqlConnectionProfile { // Required. The network port of the source MySQL database. int32 port = 2 [(google.api.field_behavior) = REQUIRED]; - // Required. The username that Database Migration Service will use to connect to the - // database. The value is encrypted when stored in Database Migration Service. + // Required. The username that Database Migration Service will use to connect + // to the database. The value is encrypted when stored in Database Migration + // Service. string username = 3 [(google.api.field_behavior) = REQUIRED]; - // Required. Input only. The password for the user that Database Migration Service will be using to - // connect to the database. This field is not returned on request, and the - // value is encrypted when stored in Database Migration Service. + // Required. Input only. The password for the user that Database Migration + // Service will be using to connect to the database. This field is not + // returned on request, and the value is encrypted when stored in Database + // Migration Service. string password = 4 [ (google.api.field_behavior) = INPUT_ONLY, (google.api.field_behavior) = REQUIRED @@ -100,6 +106,16 @@ message MySqlConnectionProfile { string cloud_sql_id = 7; } +enum NetworkArchitecture { + NETWORK_ARCHITECTURE_UNSPECIFIED = 0; + + // Instance is in Cloud SQL's old producer network architecture. + NETWORK_ARCHITECTURE_OLD_CSQL_PRODUCER = 1; + + // Instance is in Cloud SQL's new producer network architecture. + NETWORK_ARCHITECTURE_NEW_CSQL_PRODUCER = 2; +} + // Specifies connection parameters required specifically for PostgreSQL // databases. message PostgreSqlConnectionProfile { @@ -109,13 +125,15 @@ message PostgreSqlConnectionProfile { // Required. The network port of the source PostgreSQL database. int32 port = 2 [(google.api.field_behavior) = REQUIRED]; - // Required. The username that Database Migration Service will use to connect to the - // database. The value is encrypted when stored in Database Migration Service. + // Required. The username that Database Migration Service will use to connect + // to the database. The value is encrypted when stored in Database Migration + // Service. string username = 3 [(google.api.field_behavior) = REQUIRED]; - // Required. Input only. The password for the user that Database Migration Service will be using to - // connect to the database. This field is not returned on request, and the - // value is encrypted when stored in Database Migration Service. + // Required. Input only. The password for the user that Database Migration + // Service will be using to connect to the database. This field is not + // returned on request, and the value is encrypted when stored in Database + // Migration Service. string password = 4 [ (google.api.field_behavior) = INPUT_ONLY, (google.api.field_behavior) = REQUIRED @@ -130,12 +148,76 @@ message PostgreSqlConnectionProfile { // If the source is a Cloud SQL database, use this field to // provide the Cloud SQL instance ID of the source. string cloud_sql_id = 7; + + // Output only. If the source is a Cloud SQL database, this field indicates + // the network architecture it's associated with. + NetworkArchitecture network_architecture = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Connectivity options used to establish a connection to the database server. + oneof connectivity { + // Static ip connectivity data (default, no additional details needed). + StaticIpConnectivity static_ip_connectivity = 100; + + // Private service connect connectivity. + PrivateServiceConnectConnectivity private_service_connect_connectivity = + 101; + } +} + +// Specifies connection parameters required specifically for Oracle +// databases. +message OracleConnectionProfile { + // Required. The IP or hostname of the source Oracle database. + string host = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The network port of the source Oracle database. + int32 port = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The username that Database Migration Service will use to connect + // to the database. The value is encrypted when stored in Database Migration + // Service. + string username = 3 [(google.api.field_behavior) = REQUIRED]; + + // Required. Input only. The password for the user that Database Migration + // Service will be using to connect to the database. This field is not + // returned on request, and the value is encrypted when stored in Database + // Migration Service. + string password = 4 [ + (google.api.field_behavior) = INPUT_ONLY, + (google.api.field_behavior) = REQUIRED + ]; + + // Output only. Indicates whether a new password is included in the request. + bool password_set = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Required. Database service for the Oracle connection. + string database_service = 6 [(google.api.field_behavior) = REQUIRED]; + + // SSL configuration for the connection to the source Oracle database. + // + // * Only `SERVER_ONLY` configuration is supported for Oracle SSL. + // * SSL is supported for Oracle versions 12 and above. + SslConfig ssl = 7; + + // Connectivity options used to establish a connection to the database server. + oneof connectivity { + // Static Service IP connectivity. + StaticServiceIpConnectivity static_service_ip_connectivity = 100; + + // Forward SSH tunnel connectivity. + ForwardSshTunnelConnectivity forward_ssh_connectivity = 101; + + // Private connectivity. + PrivateConnectivity private_connectivity = 102; + } } // Specifies required connection parameters, and, optionally, the parameters // required to create a Cloud SQL destination database instance. message CloudSqlConnectionProfile { - // Output only. The Cloud SQL instance ID that this connection profile is associated with. + // Output only. The Cloud SQL instance ID that this connection profile is + // associated with. string cloud_sql_id = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Immutable. Metadata used to create the destination Cloud SQL database. @@ -146,6 +228,22 @@ message CloudSqlConnectionProfile { // Output only. The Cloud SQL database instance's public IP. string public_ip = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The Cloud SQL database instance's additional (outgoing) public + // IP. Used when the Cloud SQL database availability type is REGIONAL (i.e. + // multiple zones / highly available). + string additional_public_ip = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// Specifies required connection parameters, and the parameters +// required to create an AlloyDB destination cluster. +message AlloyDbConnectionProfile { + // Required. The AlloyDB cluster ID that this connection profile is associated + // with. + string cluster_id = 1 [(google.api.field_behavior) = REQUIRED]; + + // Immutable. Metadata used to create the destination AlloyDB cluster. + AlloyDbSettings settings = 2 [(google.api.field_behavior) = IMMUTABLE]; } // An entry for an Access Control list. @@ -161,7 +259,8 @@ message SqlAclEntry { google.protobuf.Timestamp expire_time = 10; // Input only. The time-to-leave of this access control entry. - google.protobuf.Duration ttl = 11 [(google.api.field_behavior) = INPUT_ONLY]; + google.protobuf.Duration ttl = 11 + [(google.api.field_behavior) = INPUT_ONLY]; } // A label to identify this entry. @@ -179,6 +278,14 @@ message SqlIpConfig { // be updated, but it cannot be removed after it is set. string private_network = 2; + // Optional. The name of the allocated IP address range for the private IP + // Cloud SQL instance. This name refers to an already allocated IP range + // address. If set, the instance IP address will be created in the allocated + // range. Note that this IP address range can't be modified after the instance + // is created. If you change the VPC when configuring connectivity settings + // for the migration job, this field is not relevant. + string allocated_ip_range = 5 [(google.api.field_behavior) = OPTIONAL]; + // Whether SSL connections over IP should be enforced or not. google.protobuf.BoolValue require_ssl = 3; @@ -243,6 +350,37 @@ message CloudSqlSettings { // PostgreSQL 13. POSTGRES_13 = 8; + + // PostgreSQL 14. + POSTGRES_14 = 17; + + // PostgreSQL 15. + POSTGRES_15 = 18; + } + + // The availability type of the given Cloud SQL instance. + enum SqlAvailabilityType { + // This is an unknown Availability type. + SQL_AVAILABILITY_TYPE_UNSPECIFIED = 0; + + // Zonal availablility instance. + ZONAL = 1; + + // Regional availability instance. + REGIONAL = 2; + } + + // The edition of the given Cloud SQL instance. + // Can be ENTERPRISE or ENTERPRISE_PLUS. + enum Edition { + // The instance did not specify the edition. + EDITION_UNSPECIFIED = 0; + + // The instance is an enterprise edition. + ENTERPRISE = 2; + + // The instance is an enterprise plus edition. + ENTERPRISE_PLUS = 3; } // The database engine type and version. @@ -301,10 +439,15 @@ message CloudSqlSettings { // The minimum (and default) size is 10GB. google.protobuf.Int64Value data_disk_size_gb = 10; - // The Google Cloud Platform zone where your Cloud SQL datdabse instance is + // The Google Cloud Platform zone where your Cloud SQL database instance is // located. string zone = 11; + // Optional. The Google Cloud Platform zone where the failover Cloud SQL + // database instance is located. Used when the Cloud SQL database availability + // type is REGIONAL (i.e. multiple zones / highly available). + string secondary_zone = 18 [(google.api.field_behavior) = OPTIONAL]; + // The Database Migration Service source connection profile ID, // in the format: // `projects/my_project_name/locations/us-central1/connectionProfiles/connection_profile_ID` @@ -318,14 +461,118 @@ message CloudSqlSettings { // The Cloud SQL default instance level collation. string collation = 15; + + // The KMS key name used for the csql instance. + string cmek_key_name = 16; + + // Optional. Availability type. Potential values: + // * `ZONAL`: The instance serves data from only one zone. Outages in that + // zone affect data availability. + // * `REGIONAL`: The instance can serve data from more than one zone in a + // region (it is highly available). + SqlAvailabilityType availability_type = 17 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The edition of the given Cloud SQL instance. + Edition edition = 19 [(google.api.field_behavior) = OPTIONAL]; } -// The source database will allow incoming connections from the destination -// database's public IP. You can retrieve the Cloud SQL instance's public IP -// from the Cloud SQL console or using Cloud SQL APIs. No additional -// configuration is required. -message StaticIpConnectivity { +// Settings for creating an AlloyDB cluster. +message AlloyDbSettings { + // The username/password for a database user. Used for specifying initial + // users at cluster creation time. + message UserPassword { + // The database username. + string user = 1; + + // The initial password for the user. + string password = 2; + + // Output only. Indicates if the initial_user.password field has been set. + bool password_set = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + } + // Settings for the cluster's primary instance + message PrimaryInstanceSettings { + // MachineConfig describes the configuration of a machine. + message MachineConfig { + // The number of CPU's in the VM instance. + int32 cpu_count = 1; + } + + // Required. The ID of the AlloyDB primary instance. The ID must satisfy the + // regex expression "[a-z0-9-]+". + string id = 1 [(google.api.field_behavior) = REQUIRED]; + + // Configuration for the machines that host the underlying + // database engine. + MachineConfig machine_config = 2; + + // Database flags to pass to AlloyDB when DMS is creating the AlloyDB + // cluster and instances. See the AlloyDB documentation for how these can be + // used. + map database_flags = 6; + + // Labels for the AlloyDB primary instance created by DMS. An object + // containing a list of 'key', 'value' pairs. + map labels = 7; + + // Output only. The private IP address for the Instance. + // This is the connection endpoint for an end-user application. + string private_ip = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + } + + // EncryptionConfig describes the encryption config of a cluster that is + // encrypted with a CMEK (customer-managed encryption key). + message EncryptionConfig { + // The fully-qualified resource name of the KMS key. + // Each Cloud KMS key is regionalized and has the following format: + // projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME] + string kms_key_name = 1; + } + + // Required. Input only. Initial user to setup during cluster creation. + // Required. + UserPassword initial_user = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.field_behavior) = INPUT_ONLY + ]; + + // Required. The resource link for the VPC network in which cluster resources + // are created and from which they are accessible via Private IP. The network + // must belong to the same project as the cluster. It is specified in the + // form: "projects/{project_number}/global/networks/{network_id}". This is + // required to create a cluster. + string vpc_network = 2 [(google.api.field_behavior) = REQUIRED]; + + // Labels for the AlloyDB cluster created by DMS. An object containing a list + // of 'key', 'value' pairs. + map labels = 3; + + PrimaryInstanceSettings primary_instance_settings = 4; + + // Optional. The encryption config can be specified to encrypt the data disks + // and other persistent data resources of a cluster with a + // customer-managed encryption key (CMEK). When this field is not + // specified, the cluster will then use default encryption scheme to + // protect the user data. + EncryptionConfig encryption_config = 5 + [(google.api.field_behavior) = OPTIONAL]; +} + +// The source database will allow incoming connections from the public IP of the +// destination database. You can retrieve the public IP of the Cloud SQL +// instance from the Cloud SQL console or using Cloud SQL APIs. No additional +// configuration is required. +message StaticIpConnectivity {} + +// [Private Service Connect +// connectivity](https://cloud.google.com/vpc/docs/private-service-connect#service-attachments) +message PrivateServiceConnectConnectivity { + // Required. A service attachment that exposes a database, and has the + // following format: + // projects/{project}/regions/{region}/serviceAttachments/{service_attachment_name} + string service_attachment = 1 [(google.api.field_behavior) = REQUIRED]; } // The details needed to configure a reverse SSH tunnel between the source and @@ -335,12 +582,12 @@ message StaticIpConnectivity { // to produce the script that will help set up the reverse SSH tunnel, and to // set up the VPC peering between the Cloud SQL private network and the VPC. message ReverseSshConnectivity { - // Required. The IP of the virtual machine (Compute Engine) used as the bastion server - // for the SSH tunnel. + // Required. The IP of the virtual machine (Compute Engine) used as the + // bastion server for the SSH tunnel. string vm_ip = 1 [(google.api.field_behavior) = REQUIRED]; - // Required. The forwarding port of the virtual machine (Compute Engine) used as the - // bastion server for the SSH tunnel. + // Required. The forwarding port of the virtual machine (Compute Engine) used + // as the bastion server for the SSH tunnel. int32 vm_port = 2 [(google.api.field_behavior) = REQUIRED]; // The name of the virtual machine (Compute Engine) used as the bastion server @@ -359,6 +606,35 @@ message VpcPeeringConnectivity { string vpc = 1; } +// Forward SSH Tunnel connectivity. +message ForwardSshTunnelConnectivity { + // Required. Hostname for the SSH tunnel. + string hostname = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. Username for the SSH tunnel. + string username = 2 [(google.api.field_behavior) = REQUIRED]; + + // Port for the SSH tunnel, default value is 22. + int32 port = 3; + + oneof authentication_method { + // Input only. SSH password. + string password = 100 [(google.api.field_behavior) = INPUT_ONLY]; + + // Input only. SSH private key. + string private_key = 101 [(google.api.field_behavior) = INPUT_ONLY]; + } +} + +// Static IP address connectivity configured on service project. +message StaticServiceIpConnectivity {} + +// Private Connectivity. +message PrivateConnectivity { + // Required. The resource name (URI) of the private connection. + string private_connection = 1 [(google.api.field_behavior) = REQUIRED]; +} + // A message defining the database engine and provider. message DatabaseType { // The database provider. @@ -459,19 +735,57 @@ message MigrationJob { CONTINUOUS = 2; } + // Dump flag definition. + message DumpFlag { + // The name of the flag + string name = 1; + + // The value of the flag. + string value = 2; + } + + // Dump flags definition. + message DumpFlags { + // The flags for the initial dump. + repeated DumpFlag dump_flags = 1; + } + + // Performance configuration definition. + message PerformanceConfig { + // Describes the parallelism level during initial dump. + enum DumpParallelLevel { + // Unknown dump parallel level. Will be defaulted to OPTIMAL. + DUMP_PARALLEL_LEVEL_UNSPECIFIED = 0; + + // Minimal parallel level. + MIN = 1; + + // Optimal parallel level. + OPTIMAL = 2; + + // Maximum parallel level. + MAX = 3; + } + + // Initial dump parallelism level. + DumpParallelLevel dump_parallel_level = 1; + } + // The name (URI) of this migration job resource, in the form of: - // projects/{project}/locations/{location}/instances/{instance}. + // projects/{project}/locations/{location}/migrationJobs/{migrationJob}. string name = 1; // Output only. The timestamp when the migration job resource was created. // A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. // Example: "2014-10-02T15:01:23.045123456Z". - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The timestamp when the migration job resource was last updated. - // A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. + // Output only. The timestamp when the migration job resource was last + // updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. // Example: "2014-10-02T15:01:23.045123456Z". - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // The resource labels for migration job to use to annotate any related // underlying resources such as Compute Engine VMs. An object containing a @@ -494,8 +808,13 @@ message MigrationJob { // The path to the dump file in Google Cloud Storage, // in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]). + // This field and the "dump_flags" field are mutually exclusive. string dump_path = 9; + // The initial dump flags. + // This field and the "dump_path" field are mutually exclusive. + DumpFlags dump_flags = 17; + // Required. The resource name (URI) of the source connection profile. string source = 10 [(google.api.field_behavior) = REQUIRED]; @@ -515,9 +834,11 @@ message MigrationJob { StaticIpConnectivity static_ip_connectivity = 103; } - // Output only. The duration of the migration job (in seconds). A duration in seconds - // with up to nine fractional digits, terminated by 's'. Example: "3.5s". - google.protobuf.Duration duration = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The duration of the migration job (in seconds). A duration in + // seconds with up to nine fractional digits, terminated by 's'. Example: + // "3.5s". + google.protobuf.Duration duration = 12 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The error details in case of state FAILED. google.rpc.Status error = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -528,8 +849,47 @@ message MigrationJob { // The database engine type and provider of the destination. DatabaseType destination_database = 15; - // Output only. If the migration job is completed, the time when it was completed. - google.protobuf.Timestamp end_time = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. If the migration job is completed, the time when it was + // completed. + google.protobuf.Timestamp end_time = 16 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // The conversion workspace used by the migration. + ConversionWorkspaceInfo conversion_workspace = 18; + + // This field can be used to select the entities to migrate as part of + // the migration job. It uses AIP-160 notation to select a subset of the + // entities configured on the associated conversion-workspace. This field + // should not be set on migration-jobs that are not associated with a + // conversion workspace. + string filter = 20; + + // The CMEK (customer-managed encryption key) fully qualified key name used + // for the migration job. + // This field supports all migration jobs types except for: + // * Mysql to Mysql (use the cmek field in the cloudsql connection profile + // instead). + // * PostrgeSQL to PostgreSQL (use the cmek field in the cloudsql + // connection profile instead). + // * PostgreSQL to AlloyDB (use the kms_key_name field in the alloydb + // connection profile instead). + // Each Cloud CMEK key has the following format: + // projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME] + string cmek_key_name = 21; + + // Optional. Data dump parallelism settings used by the migration. + // Currently applicable only for MySQL to Cloud SQL for MySQL migrations only. + PerformanceConfig performance_config = 22 + [(google.api.field_behavior) = OPTIONAL]; +} + +// A conversion workspace's version. +message ConversionWorkspaceInfo { + // The resource name (URI) of the conversion workspace. + string name = 1; + + // The commit ID of the conversion workspace. + string commit_id = 2; } // A connection profile definition. @@ -567,18 +927,20 @@ message ConnectionProfile { } // The name of this connection profile resource in the form of - // projects/{project}/locations/{location}/instances/{instance}. + // projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}. string name = 1; // Output only. The timestamp when the resource was created. // A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. // Example: "2014-10-02T15:01:23.045123456Z". - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The timestamp when the resource was last updated. // A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. // Example: "2014-10-02T15:01:23.045123456Z". - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // The resource labels for connection profile to use to annotate any related // underlying resources such as Compute Engine VMs. An object containing a @@ -601,8 +963,14 @@ message ConnectionProfile { // A PostgreSQL database connection profile. PostgreSqlConnectionProfile postgresql = 101; + // An Oracle database connection profile. + OracleConnectionProfile oracle = 104; + // A CloudSQL database connection profile. CloudSqlConnectionProfile cloudsql = 102; + + // An AlloyDB cluster connection profile. + AlloyDbConnectionProfile alloydb = 105; } // Output only. The error details in case of state FAILED. @@ -678,12 +1046,40 @@ message MigrationJobVerificationError { // Migration is already running at the time of restart request. CANT_RESTART_RUNNING_MIGRATION = 21; + + // The source already has a replication setup. + SOURCE_ALREADY_SETUP = 23; + + // The source has tables with limited support. + // E.g. PostgreSQL tables without primary keys. + TABLES_WITH_LIMITED_SUPPORT = 24; + + // The source uses an unsupported locale. + UNSUPPORTED_DATABASE_LOCALE = 25; + + // The source uses an unsupported Foreign Data Wrapper configuration. + UNSUPPORTED_DATABASE_FDW_CONFIG = 26; + + // There was an underlying RDBMS error. + ERROR_RDBMS = 27; + + // The source DB size in Bytes exceeds a certain threshold. The migration + // might require an increase of quota, or might not be supported. + SOURCE_SIZE_EXCEEDS_THRESHOLD = 28; + + // The destination DB contains existing databases that are conflicting with + // those in the source DB. + EXISTING_CONFLICTING_DATABASES = 29; + + // Insufficient privilege to enable the parallelism configuration. + PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE = 30; } // Output only. An instance of ErrorCode specifying the error that occurred. ErrorCode error_code = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. A formatted message with further details about the error and a CTA. + // Output only. A formatted message with further details about the error and a + // CTA. string error_message = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. A specific detailed error message, if supplied by the engine. @@ -700,6 +1096,9 @@ enum DatabaseEngine { // The source engine is PostgreSQL. POSTGRESQL = 2; + + // The source engine is Oracle. + ORACLE = 4; } // The database providers. @@ -712,4 +1111,90 @@ enum DatabaseProvider { // RDS runs the database. RDS = 2; + + // Amazon Aurora. + AURORA = 3; + + // AlloyDB. + ALLOYDB = 4; +} + +// The PrivateConnection resource is used to establish private connectivity +// with the customer's network. +message PrivateConnection { + option (google.api.resource) = { + type: "datamigration.googleapis.com/PrivateConnection" + pattern: "projects/{project}/locations/{location}/privateConnections/{private_connection}" + }; + + // Private Connection state. + enum State { + STATE_UNSPECIFIED = 0; + + // The private connection is in creation state - creating resources. + CREATING = 1; + + // The private connection has been created with all of its resources. + CREATED = 2; + + // The private connection creation has failed. + FAILED = 3; + + // The private connection is being deleted. + DELETING = 4; + + // Delete request has failed, resource is in invalid state. + FAILED_TO_DELETE = 5; + + // The private connection has been deleted. + DELETED = 6; + } + + // The name of the resource. + string name = 1; + + // Output only. The create time of the resource. + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The last update time of the resource. + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // The resource labels for private connections to use to annotate any related + // underlying resources such as Compute Engine VMs. An object containing a + // list of "key": "value" pairs. + // + // Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. + map labels = 4; + + // The private connection display name. + string display_name = 5; + + // Output only. The state of the private connection. + State state = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The error details in case of state FAILED. + google.rpc.Status error = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + + oneof connectivity { + // VPC peering configuration. + VpcPeeringConfig vpc_peering_config = 100; + } +} + +// The VPC peering configuration is used to create VPC peering with the +// consumer's VPC. +message VpcPeeringConfig { + // Required. Fully qualified name of the VPC that Database Migration Service + // will peer to. + string vpc_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "compute.googleapis.com/Networks" + } + ]; + + // Required. A free subnet for peering. (CIDR of /29) + string subnet = 2 [(google.api.field_behavior) = REQUIRED]; } diff --git a/third_party/googleapis/google/cloud/clouddms/v1/datamigration_v1.yaml b/third_party/googleapis/google/cloud/clouddms/v1/datamigration_v1.yaml index d46f848e9..60b4567ef 100644 --- a/third_party/googleapis/google/cloud/clouddms/v1/datamigration_v1.yaml +++ b/third_party/googleapis/google/cloud/clouddms/v1/datamigration_v1.yaml @@ -5,12 +5,18 @@ title: Database Migration API apis: - name: google.cloud.clouddms.v1.DataMigrationService +- name: google.cloud.location.Locations +- name: google.iam.v1.IAMPolicy +- name: google.longrunning.Operations types: - name: google.cloud.clouddms.v1.ConnectionProfile +- name: google.cloud.clouddms.v1.ConversionWorkspace +- name: google.cloud.clouddms.v1.MappingRule - name: google.cloud.clouddms.v1.MigrationJob - name: google.cloud.clouddms.v1.MigrationJobVerificationError - name: google.cloud.clouddms.v1.OperationMetadata +- name: google.cloud.clouddms.v1.PrivateConnection documentation: summary: Manage Cloud Database Migration Service resources on Google Cloud Platform. @@ -72,18 +78,28 @@ http: get: '/v1/{resource=projects/*/locations/*/connectionProfiles/*}:getIamPolicy' additional_bindings: - get: '/v1/{resource=projects/*/locations/*/migrationJobs/*}:getIamPolicy' + - get: '/v1/{resource=projects/*/locations/*/conversionWorkspaces/*}:getIamPolicy' + - get: '/v1/{resource=projects/*/locations/*/privateConnections/*}:getIamPolicy' - selector: google.iam.v1.IAMPolicy.SetIamPolicy post: '/v1/{resource=projects/*/locations/*/connectionProfiles/*}:setIamPolicy' body: '*' additional_bindings: - post: '/v1/{resource=projects/*/locations/*/migrationJobs/*}:setIamPolicy' body: '*' + - post: '/v1/{resource=projects/*/locations/*/conversionWorkspaces/*}:setIamPolicy' + body: '*' + - post: '/v1/{resource=projects/*/locations/*/privateConnections/*}:setIamPolicy' + body: '*' - selector: google.iam.v1.IAMPolicy.TestIamPermissions post: '/v1/{resource=projects/*/locations/*/migrationJobs/*}:testIamPermissions' body: '*' additional_bindings: - post: '/v1/{resource=projects/*/locations/*/connectionProfiles/*}:testIamPermissions' body: '*' + - post: '/v1/{resource=projects/*/locations/*/conversionWorkspaces/*}:testIamPermissions' + body: '*' + - post: '/v1/{resource=projects/*/locations/*/privateConnections/*}:testIamPermissions' + body: '*' - selector: google.longrunning.Operations.CancelOperation post: '/v1/{name=projects/*/locations/*/operations/*}:cancel' body: '*' diff --git a/third_party/googleapis/google/cloud/clouddms/v1/library_grpc_service_config.json b/third_party/googleapis/google/cloud/clouddms/v1/library_grpc_service_config.json index e6caa9ab1..fc0e3c01e 100644 --- a/third_party/googleapis/google/cloud/clouddms/v1/library_grpc_service_config.json +++ b/third_party/googleapis/google/cloud/clouddms/v1/library_grpc_service_config.json @@ -28,7 +28,26 @@ { "service": "google.cloud.clouddms.v1.DataMigrationService", "method": "ResumeMigrationJob" }, { "service": "google.cloud.clouddms.v1.DataMigrationService", "method": "RestartMigrationJob" }, { "service": "google.cloud.clouddms.v1.DataMigrationService", "method": "PromoteMigrationJob" }, - { "service": "google.cloud.clouddms.v1.DataMigrationService", "method": "GenerateSshScript" } + { "service": "google.cloud.clouddms.v1.DataMigrationService", "method": "GenerateSshScript" }, + { "service": "google.cloud.clouddms.v1.DataMigrationService", "method": "CreatePrivateConnection" }, + { "service": "google.cloud.clouddms.v1.DataMigrationService", "method": "GetPrivateConnection" }, + { "service": "google.cloud.clouddms.v1.DataMigrationService", "method": "ListPrivateConnections" }, + { "service": "google.cloud.clouddms.v1.DataMigrationService", "method": "DeletePrivateConnection" }, + { "service": "google.cloud.clouddms.v1.DataMigrationService", "method": "CreateConversionWorkspace" }, + { "service": "google.cloud.clouddms.v1.DataMigrationService", "method": "GetConversionWorkspace" }, + { "service": "google.cloud.clouddms.v1.DataMigrationService", "method": "ListConversionWorkspaces" }, + { "service": "google.cloud.clouddms.v1.DataMigrationService", "method": "DeleteConversionWorkspace" }, + { "service": "google.cloud.clouddms.v1.DataMigrationService", "method": "UpdateConversionWorkspace" }, + { "service": "google.cloud.clouddms.v1.DataMigrationService", "method": "SeedConversionWorkspace" }, + { "service": "google.cloud.clouddms.v1.DataMigrationService", "method": "ImportMappingRules" }, + { "service": "google.cloud.clouddms.v1.DataMigrationService", "method": "ConvertConversionWorkspace" }, + { "service": "google.cloud.clouddms.v1.DataMigrationService", "method": "CommitConversionWorkspace" }, + { "service": "google.cloud.clouddms.v1.DataMigrationService", "method": "RollbackConversionWorkspace" }, + { "service": "google.cloud.clouddms.v1.DataMigrationService", "method": "ApplyConversionWorkspace" }, + { "service": "google.cloud.clouddms.v1.DataMigrationService", "method": "DescribeDatabaseEntities" }, + { "service": "google.cloud.clouddms.v1.DataMigrationService", "method": "SearchBackgroundJobs" }, + { "service": "google.cloud.clouddms.v1.DataMigrationService", "method": "DescribeConversionWorkspaceRevisions" }, + { "service": "google.cloud.clouddms.v1.DataMigrationService", "method": "FetchStaticIps" } ], "timeout": "60s" }] diff --git a/third_party/googleapis/google/cloud/cloudsetup/logging/v1/BUILD.bazel b/third_party/googleapis/google/cloud/cloudsetup/logging/v1/BUILD.bazel index 780783845..2a3c7fea4 100644 --- a/third_party/googleapis/google/cloud/cloudsetup/logging/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/cloudsetup/logging/v1/BUILD.bazel @@ -93,7 +93,6 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -102,21 +101,9 @@ php_proto_library( deps = [":logging_proto"], ) -php_grpc_library( - name = "logging_php_grpc", - srcs = [":logging_proto"], - deps = [":logging_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) - ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/commerce/consumer/procurement/v1alpha1/BUILD.bazel b/third_party/googleapis/google/cloud/commerce/consumer/procurement/v1alpha1/BUILD.bazel index 99a56d016..e7d230dcf 100644 --- a/third_party/googleapis/google/cloud/commerce/consumer/procurement/v1alpha1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/commerce/consumer/procurement/v1alpha1/BUILD.bazel @@ -112,7 +112,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -144,19 +143,13 @@ go_gapic_library( ], ) -go_test( - name = "procurement_go_gapic_test", - srcs = [":procurement_go_gapic_srcjar_test"], - embed = [":procurement_go_gapic"], - importpath = "cloud.google.com/go/commerce/consumer/procurement/apiv1alpha1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-consumer-procurement-v1alpha1-go", deps = [ ":procurement_go_gapic", ":procurement_go_gapic_srcjar-metadata.srcjar", + ":procurement_go_gapic_srcjar-snippets.srcjar", ":procurement_go_gapic_srcjar-test.srcjar", ":procurement_go_proto", ], @@ -179,6 +172,10 @@ py_gapic_library( rest_numeric_enums = True, service_yaml = "cloudcommerceconsumerprocurement_v1alpha1.yaml", transport = "grpc+rest", + opt_args = [ + "python-gapic-namespace=google.cloud", + "python-gapic-name=commerce_consumer_procurement", + ], ) py_test( @@ -206,7 +203,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -215,12 +211,6 @@ php_proto_library( deps = [":procurement_proto"], ) -php_grpc_library( - name = "procurement_php_grpc", - srcs = [":procurement_proto"], - deps = [":procurement_php_proto"], -) - php_gapic_library( name = "procurement_php_gapic", srcs = [":procurement_proto_with_info"], @@ -228,10 +218,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "cloudcommerceconsumerprocurement_v1alpha1.yaml", transport = "grpc+rest", - deps = [ - ":procurement_php_grpc", - ":procurement_php_proto", - ], + deps = [":procurement_php_proto"], ) # Open Source Packages @@ -239,7 +226,6 @@ php_gapic_assembly_pkg( name = "google-cloud-consumer-procurement-v1alpha1-php", deps = [ ":procurement_php_gapic", - ":procurement_php_grpc", ":procurement_php_proto", ], ) @@ -305,6 +291,7 @@ ruby_cloud_gapic_library( grpc_service_config = "commerceconsumerprocurement_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "cloudcommerceconsumerprocurement_v1alpha1.yaml", + transport = "grpc+rest", deps = [ ":procurement_ruby_grpc", ":procurement_ruby_proto", diff --git a/third_party/googleapis/google/cloud/commerce/consumer/procurement/v1alpha1/cloudcommerceconsumerprocurement_v1alpha1.yaml b/third_party/googleapis/google/cloud/commerce/consumer/procurement/v1alpha1/cloudcommerceconsumerprocurement_v1alpha1.yaml index 144fd6c3d..bbd0defae 100644 --- a/third_party/googleapis/google/cloud/commerce/consumer/procurement/v1alpha1/cloudcommerceconsumerprocurement_v1alpha1.yaml +++ b/third_party/googleapis/google/cloud/commerce/consumer/procurement/v1alpha1/cloudcommerceconsumerprocurement_v1alpha1.yaml @@ -17,6 +17,8 @@ http: rules: - selector: google.longrunning.Operations.GetOperation get: '/v1alpha1/{name=billingAccounts/*/orders/*/operations/*}' + additional_bindings: + - get: '/v1alpha1/{name=billingAccounts/*/orders/*/orderAttributions/*/operations/*}' authentication: rules: diff --git a/third_party/googleapis/google/cloud/commerce/consumer/procurement/v1alpha1/order.proto b/third_party/googleapis/google/cloud/commerce/consumer/procurement/v1alpha1/order.proto index 8f694d214..fb84c0819 100644 --- a/third_party/googleapis/google/cloud/commerce/consumer/procurement/v1alpha1/order.proto +++ b/third_party/googleapis/google/cloud/commerce/consumer/procurement/v1alpha1/order.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -29,6 +29,70 @@ option (google.api.resource_definition) = { pattern: "billingAccounts/{consumer_billing_account}/offers/{offer}" }; +// Type of a line item change. +enum LineItemChangeType { + // Sentinel value. Do not use. + LINE_ITEM_CHANGE_TYPE_UNSPECIFIED = 0; + + // The change is to create a new line item. + LINE_ITEM_CHANGE_TYPE_CREATE = 1; + + // The change is to update an existing line item. + LINE_ITEM_CHANGE_TYPE_UPDATE = 2; + + // The change is to cancel an existing line item. + LINE_ITEM_CHANGE_TYPE_CANCEL = 3; + + // The change is to revert a cancellation. + LINE_ITEM_CHANGE_TYPE_REVERT_CANCELLATION = 4; +} + +// State of a change. +enum LineItemChangeState { + // Sentinel value. Do not use. + LINE_ITEM_CHANGE_STATE_UNSPECIFIED = 0; + + // Change is in this state when a change is initiated and waiting for + // partner approval. + LINE_ITEM_CHANGE_STATE_PENDING_APPROVAL = 1; + + // Change is in this state after it's approved by the partner or auto-approved + // but before it takes effect. The change can be overwritten + // or cancelled depending on the new line item info property (pending Private + // Offer change cannot be cancelled and can only be overwritten by another + // Private Offer). + LINE_ITEM_CHANGE_STATE_APPROVED = 2; + + // Change is in this state after it's been activated. + LINE_ITEM_CHANGE_STATE_COMPLETED = 3; + + // Change is in this state if it was rejected by the partner. + LINE_ITEM_CHANGE_STATE_REJECTED = 4; + + // Change is in this state if it was abandoned by the user. + LINE_ITEM_CHANGE_STATE_ABANDONED = 5; + + // Change is in this state if it's currently being provisioned downstream. The + // change can't be overwritten or cancelled when it's in this state. + LINE_ITEM_CHANGE_STATE_ACTIVATING = 6; +} + +// Predefined types for line item change state reason. +enum LineItemChangeStateReasonType { + // Default value, indicating there's no predefined type for change state + // reason. + LINE_ITEM_CHANGE_STATE_REASON_TYPE_UNSPECIFIED = 0; + + // Change is in current state due to term expiration. + LINE_ITEM_CHANGE_STATE_REASON_TYPE_EXPIRED = 1; + + // Change is in current state due to user-initiated cancellation. + LINE_ITEM_CHANGE_STATE_REASON_TYPE_USER_CANCELLED = 2; + + // Change is in current state due to system-initiated cancellation. + LINE_ITEM_CHANGE_STATE_REASON_TYPE_SYSTEM_CANCELLED = 3; +} + // Represents a purchase made by a customer on Cloud Marketplace. // Creating an order makes sure that both the Google backend systems // as well as external service provider's systems (if needed) allow use of @@ -51,20 +115,22 @@ message Order { string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Required. The user-specified name of the order. - // Must be unique within a billing account. string display_name = 10 [(google.api.field_behavior) = REQUIRED]; // Output only. The items being purchased. repeated LineItem line_items = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Line items that were cancelled. - repeated LineItem cancelled_line_items = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated LineItem cancelled_line_items = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The creation timestamp. - google.protobuf.Timestamp create_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The last update timestamp. - google.protobuf.Timestamp update_time = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 9 + [(google.api.field_behavior) = OUTPUT_ONLY]; // The weak etag of the order. string etag = 11; @@ -84,10 +150,12 @@ message LineItem { // a change. LineItemChange pending_change = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Changes made on the item that are not pending anymore which might be - // because they already took effect, were reverted by the customer, or were - // rejected by the partner. No more operations are allowed on these changes. - repeated LineItemChange change_history = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Changes made on the item that are not pending anymore which + // might be because they already took effect, were reverted by the customer, + // or were rejected by the partner. No more operations are allowed on these + // changes. + repeated LineItemChange change_history = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // A change made on a line item. @@ -100,13 +168,15 @@ message LineItemChange { LineItemChangeType change_type = 2 [(google.api.field_behavior) = REQUIRED]; // Output only. Line item info before the change. - LineItemInfo old_line_item_info = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + LineItemInfo old_line_item_info = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Line item info after the change. LineItemInfo new_line_item_info = 4; // Output only. State of the change. - LineItemChangeState change_state = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + LineItemChangeState change_state = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Provider-supplied message explaining the LineItemChange's // state. Mainly used to communicate progress and ETA for provisioning in the @@ -114,23 +184,27 @@ message LineItemChange { // denied or canceled in the case of `REJECTED` and `CANCELED` states. string state_reason = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Predefined enum types for why this line item change is in current state. - // For example, a line item change's state could be + // Output only. Predefined enum types for why this line item change is in + // current state. For example, a line item change's state could be // `LINE_ITEM_CHANGE_STATE_COMPLETED` because of end-of-term expiration, // immediate cancellation initiated by the user, or system-initiated // cancellation. - LineItemChangeStateReasonType change_state_reason_type = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; + LineItemChangeStateReasonType change_state_reason_type = 10 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. A time at which the change became or will become (in case of // pending change) effective. - google.protobuf.Timestamp change_effective_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp change_effective_time = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time when change was initiated. - google.protobuf.Timestamp create_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time when change was updated, e.g. approved/rejected by // partners or cancelled by the user. - google.protobuf.Timestamp update_time = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 9 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Line item information. @@ -175,70 +249,6 @@ message Parameter { Value value = 2; } -// Type of a line item change. -enum LineItemChangeType { - // Sentinel value. Do not use. - LINE_ITEM_CHANGE_TYPE_UNSPECIFIED = 0; - - // The change is to create a new line item. - LINE_ITEM_CHANGE_TYPE_CREATE = 1; - - // The change is to update an existing line item. - LINE_ITEM_CHANGE_TYPE_UPDATE = 2; - - // The change is to cancel an existing line item. - LINE_ITEM_CHANGE_TYPE_CANCEL = 3; - - // The change is to revert a cancellation. - LINE_ITEM_CHANGE_TYPE_REVERT_CANCELLATION = 4; -} - -// State of a change. -enum LineItemChangeState { - // Sentinel value. Do not use. - LINE_ITEM_CHANGE_STATE_UNSPECIFIED = 0; - - // Change is in this state when a change is initiated and waiting for - // partner approval. - LINE_ITEM_CHANGE_STATE_PENDING_APPROVAL = 1; - - // Change is in this state after it's approved by the partner or auto-approved - // but before it takes effect. The change can be overwritten - // or cancelled depending on the new line item info property (pending Private - // Offer change cannot be cancelled and can only be overwritten by another - // Private Offer). - LINE_ITEM_CHANGE_STATE_APPROVED = 2; - - // Change is in this state after it's been activated. - LINE_ITEM_CHANGE_STATE_COMPLETED = 3; - - // Change is in this state if it was rejected by the partner. - LINE_ITEM_CHANGE_STATE_REJECTED = 4; - - // Change is in this state if it was abandoned by the user. - LINE_ITEM_CHANGE_STATE_ABANDONED = 5; - - // Change is in this state if it's currently being provisioned downstream. The - // change can't be overwritten or cancelled when it's in this state. - LINE_ITEM_CHANGE_STATE_ACTIVATING = 6; -} - -// Predefined types for line item change state reason. -enum LineItemChangeStateReasonType { - // Default value, indicating there's no predefined type for change state - // reason. - LINE_ITEM_CHANGE_STATE_REASON_TYPE_UNSPECIFIED = 0; - - // Change is in current state due to term expiration. - LINE_ITEM_CHANGE_STATE_REASON_TYPE_EXPIRED = 1; - - // Change is in current state due to user-initiated cancellation. - LINE_ITEM_CHANGE_STATE_REASON_TYPE_USER_CANCELLED = 2; - - // Change is in current state due to system-initiated cancellation. - LINE_ITEM_CHANGE_STATE_REASON_TYPE_SYSTEM_CANCELLED = 3; -} - // Subscription information. message Subscription { // The timestamp when the subscription begins, if applicable. diff --git a/third_party/googleapis/google/cloud/commerce/consumer/procurement/v1alpha1/procurement_service.proto b/third_party/googleapis/google/cloud/commerce/consumer/procurement/v1alpha1/procurement_service.proto index 6fae1e4c7..e5e29005a 100644 --- a/third_party/googleapis/google/cloud/commerce/consumer/procurement/v1alpha1/procurement_service.proto +++ b/third_party/googleapis/google/cloud/commerce/consumer/procurement/v1alpha1/procurement_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -32,20 +32,28 @@ option java_package = "com.google.cloud.commerce.consumer.procurement.v1alpha1"; // // // When purchases are made, the -// [ConsumerProcurementService][google.cloud.commerce.consumer.procurement.v1alpha1.ConsumerProcurementService] programs the appropriate backends, including -// both Google's own infrastructure, as well as third-party systems, and to -// enable billing setup for charging for the procured item. +// [ConsumerProcurementService][google.cloud.commerce.consumer.procurement.v1alpha1.ConsumerProcurementService] +// programs the appropriate backends, including both Google's own +// infrastructure, as well as third-party systems, and to enable billing setup +// for charging for the procured item. // service ConsumerProcurementService { - option (google.api.default_host) = "cloudcommerceconsumerprocurement.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.default_host) = + "cloudcommerceconsumerprocurement.googleapis.com"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; - // Creates a new [Order][google.cloud.commerce.consumer.procurement.v1alpha1.Order]. + // Creates a new + // [Order][google.cloud.commerce.consumer.procurement.v1alpha1.Order]. + // + // This API only supports GCP spend-based committed use + // discounts specified by GCP documentation. // // The returned long-running operation is in-progress until the backend // completes the creation of the resource. Once completed, the order is - // in [OrderState.ORDER_STATE_ACTIVE][google.cloud.commerce.consumer.procurement.v1alpha1.OrderState.ORDER_STATE_ACTIVE]. In case of failure, the - // order resource will be removed. + // in + // [OrderState.ORDER_STATE_ACTIVE][google.cloud.commerce.consumer.procurement.v1alpha1.OrderState.ORDER_STATE_ACTIVE]. + // In case of failure, the order resource will be removed. rpc PlaceOrder(PlaceOrderRequest) returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1alpha1/{parent=billingAccounts/*}/orders:place" @@ -57,23 +65,29 @@ service ConsumerProcurementService { }; } - // Returns the requested [Order][google.cloud.commerce.consumer.procurement.v1alpha1.Order] resource. + // Returns the requested + // [Order][google.cloud.commerce.consumer.procurement.v1alpha1.Order] + // resource. rpc GetOrder(GetOrderRequest) returns (Order) { option (google.api.http) = { get: "/v1alpha1/{name=billingAccounts/*/orders/*}" }; + option (google.api.method_signature) = "name"; } - // Lists [Order][google.cloud.commerce.consumer.procurement.v1alpha1.Order] resources that the user has access to, within the - // scope of the parent resource. + // Lists [Order][google.cloud.commerce.consumer.procurement.v1alpha1.Order] + // resources that the user has access to, within the scope of the parent + // resource. rpc ListOrders(ListOrdersRequest) returns (ListOrdersResponse) { option (google.api.http) = { get: "/v1alpha1/{parent=billingAccounts/*}/orders" }; + option (google.api.method_signature) = "parent"; } } -// Request message for [ConsumerProcurementService.PlaceOrder][google.cloud.commerce.consumer.procurement.v1alpha1.ConsumerProcurementService.PlaceOrder]. +// Request message for +// [ConsumerProcurementService.PlaceOrder][google.cloud.commerce.consumer.procurement.v1alpha1.ConsumerProcurementService.PlaceOrder]. message PlaceOrderRequest { // Required. The resource name of the parent resource. // This field has the form `billingAccounts/{billing-account-id}`. @@ -85,11 +99,12 @@ message PlaceOrderRequest { ]; // Required. The user-specified name of the order being placed. - // Must be unique within a billing account. string display_name = 6 [(google.api.field_behavior) = REQUIRED]; - // Optional. Places order for offer. Required when an offer-based order is being placed. - repeated LineItemInfo line_item_info = 10 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Places order for offer. Required when an offer-based order is + // being placed. + repeated LineItemInfo line_item_info = 10 + [(google.api.field_behavior) = OPTIONAL]; // Optional. A unique identifier for this request. // The server will ignore subsequent requests that provide a duplicate request @@ -102,17 +117,17 @@ message PlaceOrderRequest { // Message stored in the metadata field of the Operation returned by // [ConsumerProcurementService.PlaceOrder][google.cloud.commerce.consumer.procurement.v1alpha1.ConsumerProcurementService.PlaceOrder]. -message PlaceOrderMetadata { - -} +message PlaceOrderMetadata {} -// Request message for [ConsumerProcurementService.GetOrder][google.cloud.commerce.consumer.procurement.v1alpha1.ConsumerProcurementService.GetOrder] +// Request message for +// [ConsumerProcurementService.GetOrder][google.cloud.commerce.consumer.procurement.v1alpha1.ConsumerProcurementService.GetOrder] message GetOrderRequest { // Required. The name of the order to retrieve. string name = 1 [(google.api.field_behavior) = REQUIRED]; } -// Request message for [ConsumerProcurementService.ListOrders][google.cloud.commerce.consumer.procurement.v1alpha1.ConsumerProcurementService.ListOrders]. +// Request message for +// [ConsumerProcurementService.ListOrders][google.cloud.commerce.consumer.procurement.v1alpha1.ConsumerProcurementService.ListOrders]. message ListOrdersRequest { // Required. The parent resource to query for orders. // This field has the form `billingAccounts/{billing-account-id}`. @@ -144,7 +159,8 @@ message ListOrdersRequest { string filter = 4; } -// Response message for [ConsumerProcurementService.ListOrders][google.cloud.commerce.consumer.procurement.v1alpha1.ConsumerProcurementService.ListOrders]. +// Response message for +// [ConsumerProcurementService.ListOrders][google.cloud.commerce.consumer.procurement.v1alpha1.ConsumerProcurementService.ListOrders]. message ListOrdersResponse { // The list of orders in this response. repeated Order orders = 1; diff --git a/third_party/googleapis/google/cloud/common/BUILD.bazel b/third_party/googleapis/google/cloud/common/BUILD.bazel index da4653ee9..ad195011e 100644 --- a/third_party/googleapis/google/cloud/common/BUILD.bazel +++ b/third_party/googleapis/google/cloud/common/BUILD.bazel @@ -68,7 +68,7 @@ go_proto_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", + "php_gapic_assembly_pkg", "php_proto_library", ) @@ -77,10 +77,12 @@ php_proto_library( deps = [":common_proto"], ) -php_grpc_library( - name = "common_php_grpc", - srcs = [":common_proto"], - deps = [":common_php_proto"], +# Open Source Packages +php_gapic_assembly_pkg( + name = "google-cloud-common-php", + deps = [ + ":common_php_proto", + ], ) ############################################################################## diff --git a/third_party/googleapis/google/cloud/compute/BUILD.bazel b/third_party/googleapis/google/cloud/compute/BUILD.bazel index de076ab31..1362ba517 100644 --- a/third_party/googleapis/google/cloud/compute/BUILD.bazel +++ b/third_party/googleapis/google/cloud/compute/BUILD.bazel @@ -21,7 +21,7 @@ ruby_cloud_gapic_library( srcs = ["//google/cloud/compute/v1:compute_proto_with_info"], extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-compute", - "ruby-cloud-wrapper-of=v1:2.0", + "ruby-cloud-wrapper-of=v1:2.7", "ruby-cloud-product-url=https://cloud.google.com/compute/", "ruby-cloud-api-id=compute.googleapis.com", "ruby-cloud-api-shortname=compute", diff --git a/third_party/googleapis/google/cloud/compute/v1/BUILD.bazel b/third_party/googleapis/google/cloud/compute/v1/BUILD.bazel index ebb5f4e8b..ce21863af 100644 --- a/third_party/googleapis/google/cloud/compute/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/compute/v1/BUILD.bazel @@ -42,25 +42,25 @@ _SERVICE_IGNORELIST = [ proto_from_disco( name = "compute_gen", src = "compute.v1.json", - previous_proto = "compute.proto", enums_as_strings = True, message_ignorelist = _MESSAGE_IGNORE_LIST, + previous_proto = "compute.proto", service_ignorelist = _SERVICE_IGNORELIST, ) grpc_service_config_from_disco( name = "compute_grpc_service_config_gen", src = "compute.v1.json", - previous_proto = "compute.proto", message_ignorelist = _MESSAGE_IGNORE_LIST, + previous_proto = "compute.proto", service_ignorelist = _SERVICE_IGNORELIST, ) gapic_yaml_from_disco( name = "compute_gapic_gen", src = "compute.v1.json", - previous_proto = "compute.proto", message_ignorelist = _MESSAGE_IGNORE_LIST, + previous_proto = "compute.proto", service_ignorelist = _SERVICE_IGNORELIST, ) @@ -81,6 +81,7 @@ proto_library( "@com_google_googleapis//google/api:field_behavior_proto", "@com_google_googleapis//google/api:resource_proto", "@com_google_googleapis//google/cloud:extended_operations_proto", + "@com_google_protobuf//:any_proto", "@com_google_protobuf//:descriptor_proto", ], ) @@ -212,6 +213,7 @@ java_gapic_test( # Open Source Packages java_gapic_assembly_gradle_pkg( name = "google-cloud-compute-v1-java", + include_samples = True, transport = "rest", deps = [ ":compute_java_gapic", @@ -237,7 +239,6 @@ py_gapic_library( ], opt_args = [ "transport=rest", - "autogen-snippets=False", ], ) @@ -280,6 +281,7 @@ php_gapic_library( grpc_service_config = "compute_grpc_service_config.json", service_yaml = "compute_v1.yaml", transport = "rest", + migration_mode = "MIGRATION_MODE_UNSPECIFIED", deps = [ ":compute_php_proto", ], @@ -307,8 +309,8 @@ nodejs_gapic_library( name = "compute_nodejs_gapic", package_name = "@google-cloud/compute", src = ":compute_proto_with_info", - extra_protoc_parameters = ["metadata"], diregapic = True, + extra_protoc_parameters = ["metadata"], deps = [], ) @@ -317,6 +319,7 @@ nodejs_gapic_assembly_pkg( deps = [ ":compute_nodejs_gapic", ":compute_proto", + "@com_google_googleapis//google/cloud:extended_operations_proto", ], ) @@ -365,7 +368,6 @@ ruby_gapic_assembly_pkg( ], ) - ############################################################################## # C# ############################################################################## @@ -410,3 +412,54 @@ csharp_gapic_assembly_pkg( ":compute_csharp_proto", ], ) + +############################################################################## +# Go +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "go_gapic_assembly_pkg", + "go_gapic_library", + "go_proto_library", +) + +go_proto_library( + name = "compute_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], + importpath = "cloud.google.com/go/compute/apiv1/computepb", + protos = [":compute_proto"], + deps = [ + "//google/api:annotations_go_proto", + "//google/cloud:extended_operations_go_proto", + ], +) + +go_gapic_library( + name = "compute_go_gapic", + srcs = [":compute_proto_with_info"], + diregapic = True, + grpc_service_config = "compute_grpc_service_config.json", + importpath = "cloud.google.com/go/compute/apiv1;compute", + metadata = True, + release_level = "ga", + rest_numeric_enums = False, + service_yaml = "compute_v1.yaml", + transport = "rest", + deps = [ + ":compute_go_proto", + "@io_bazel_rules_go//proto/wkt:any_go_proto", + "@io_bazel_rules_go//proto/wkt:duration_go_proto", + ], +) + +# Open Source Packages +go_gapic_assembly_pkg( + name = "gapi-cloud-compute-v1-go", + deps = [ + ":compute_go_gapic", + ":compute_go_gapic_srcjar-metadata.srcjar", + ":compute_go_gapic_srcjar-snippets.srcjar", + ":compute_go_gapic_srcjar-test.srcjar", + ":compute_go_proto", + ], +) diff --git a/third_party/googleapis/google/cloud/compute/v1/compute.proto b/third_party/googleapis/google/cloud/compute/v1/compute.proto index 8a6341f34..b4cd73e3c 100644 --- a/third_party/googleapis/google/cloud/compute/v1/compute.proto +++ b/third_party/googleapis/google/cloud/compute/v1/compute.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -14,7 +14,7 @@ // Generated by the disco-to-proto3-converter. DO NOT EDIT! // Source Discovery file: compute.v1.json -// Source file revision: 20230103 +// Source file revision: 20240130 // API name: compute // API version: v1 @@ -22,6 +22,7 @@ syntax = "proto3"; package google.cloud.compute.v1; +import "google/protobuf/any.proto"; import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; @@ -32,7 +33,7 @@ import "google/cloud/extended_operations.proto"; // File Options // option csharp_namespace = "Google.Cloud.Compute.V1"; -option go_package = "google.golang.org/genproto/googleapis/cloud/compute/v1;compute"; +option go_package = "cloud.google.com/go/compute/apiv1/computepb;computepb"; option java_multiple_files = true; option java_package = "com.google.cloud.compute.v1"; option php_namespace = "Google\\Cloud\\Compute\\V1"; @@ -41,6 +42,22 @@ option ruby_package = "Google::Cloud::Compute::V1"; // // Messages // +// Contains the configurations necessary to generate a signature for access to private storage buckets that support Signature Version 4 for authentication. The service name for generating the authentication header will always default to 's3'. +message AWSV4Signature { + // The access key used for s3 bucket authentication. Required for updating or creating a backend that uses AWS v4 signature authentication, but will not be returned as part of the configuration when queried with a REST API GET request. @InputOnly + optional string access_key = 468922628; + + // The identifier of an access key used for s3 bucket authentication. + optional string access_key_id = 292975158; + + // The optional version identifier for the access key. You can use this to keep track of different iterations of your access key. + optional string access_key_version = 80261277; + + // The name of the cloud region of your origin. This is a free-form field with the name of the region your cloud uses to host your origin. For example, "us-east-1" for AWS or "us-ashburn-1" for OCI. + optional string origin_region = 265305645; + +} + // A request message for InstanceGroupManagers.AbandonInstances. See the method description for details. message AbandonInstancesInstanceGroupManagerRequest { // The name of the managed instance group. @@ -194,7 +211,7 @@ message Accelerators { // Number of accelerator cards exposed to the guest. optional int32 guest_accelerator_count = 479079316; - // The accelerator type resource name, not a full URL, e.g. 'nvidia-tesla-k80'. + // The accelerator type resource name, not a full URL, e.g. nvidia-tesla-t4. optional string guest_accelerator_type = 293064725; } @@ -220,7 +237,7 @@ message AccessConfig { } - // The type of configuration. The default and only option is ONE_TO_ONE_NAT. + // The type of configuration. In accessConfigs (IPv4), the default and only option is ONE_TO_ONE_NAT. In ipv6AccessConfigs, the default and only option is DIRECT_IPV6. enum Type { // A value indicating that the enum field is not set. UNDEFINED_TYPE = 0; @@ -231,19 +248,19 @@ message AccessConfig { } - // The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. The field is output only, an IPv6 address from a subnetwork associated with the instance will be allocated dynamically. + // Applies to ipv6AccessConfigs only. The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. To use a static external IP address, it must be unused and in the same region as the instance's zone. If not specified, Google Cloud will automatically assign an external IPv6 address from the instance's subnetwork. optional string external_ipv6 = 532703707; - // The prefix length of the external IPv6 range. + // Applies to ipv6AccessConfigs only. The prefix length of the external IPv6 range. optional int32 external_ipv6_prefix_length = 425672143; // [Output Only] Type of the resource. Always compute#accessConfig for access configs. optional string kind = 3292052; - // The name of this access configuration. The default and recommended name is External NAT, but you can use any arbitrary string, such as My external IP or Network Access. + // The name of this access configuration. In accessConfigs (IPv4), the default and recommended name is External NAT, but you can use any arbitrary string, such as My external IP or Network Access. In ipv6AccessConfigs, the recommend name is External IPv6. optional string name = 3373707; - // An external IP address associated with this instance. Specify an unused static external IP address available to the project or leave this field undefined to use an IP from a shared ephemeral IP address pool. If you specify a static external IP address, it must live in the same region as the zone of the instance. + // Applies to accessConfigs (IPv4) only. An external IP address associated with this instance. Specify an unused static external IP address available to the project or leave this field undefined to use an IP from a shared ephemeral IP address pool. If you specify a static external IP address, it must live in the same region as the zone of the instance. optional string nat_i_p = 117634556; // This signifies the networking tier used for configuring this access configuration and can only take the following values: PREMIUM, STANDARD. If an AccessConfig is specified without a valid external IP address, an ephemeral IP will be created with this networkTier. If an AccessConfig with a valid external IP address is specified, it must match that of the networkTier associated with the Address resource owning that IP. @@ -253,10 +270,13 @@ message AccessConfig { // The DNS domain name for the public PTR record. You can set this field only if the `setPublicPtr` field is enabled in accessConfig. If this field is unspecified in ipv6AccessConfig, a default PTR record will be createc for first IP in associated external IPv6 range. optional string public_ptr_domain_name = 316599167; + // [Output Only] The resource URL for the security policy associated with this access config. + optional string security_policy = 171082513; + // Specifies whether a public DNS 'PTR' record should be created to map the external IP address of the instance to a DNS domain name. This field is not used in ipv6AccessConfig. A default PTR record will be created if the VM has external IPv6 range associated. optional bool set_public_ptr = 523870229; - // The type of configuration. The default and only option is ONE_TO_ONE_NAT. + // The type of configuration. In accessConfigs (IPv4), the default and only option is ONE_TO_ONE_NAT. In ipv6AccessConfigs, the default and only option is DIRECT_IPV6. // Check the Type enum for the list of possible values. optional string type = 3575610; @@ -619,6 +639,31 @@ message AddRuleRegionNetworkFirewallPolicyRequest { } +// A request message for RegionSecurityPolicies.AddRule. See the method description for details. +message AddRuleRegionSecurityPolicyRequest { + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // Name of the region scoping this request. + string region = 138946292 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "region" + ]; + + // Name of the security policy to update. + string security_policy = 171082513 [(google.api.field_behavior) = REQUIRED]; + + // The body resource for this request + SecurityPolicyRule security_policy_rule_resource = 402693443 [(google.api.field_behavior) = REQUIRED]; + + // If true, the request will not be committed. + optional bool validate_only = 242744629; + +} + // A request message for SecurityPolicies.AddRule. See the method description for details. message AddRuleSecurityPolicyRequest { // Project ID for this request. @@ -693,7 +738,7 @@ message Address { } - // The IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address. + // The IP version that will be used by this address. Valid options are IPV4 or IPV6. enum IpVersion { // A value indicating that the enum field is not set. UNDEFINED_IP_VERSION = 0; @@ -749,7 +794,7 @@ message Address { // VM internal/alias IP, Internal LB service IP, etc. GCE_ENDPOINT = 230515243; - // A regional internal IP address range reserved for the VLAN attachment that is used in HA VPN over Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment���s IP address range. + // A regional internal IP address range reserved for the VLAN attachment that is used in HA VPN over Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment’s IP address range. IPSEC_INTERCONNECT = 340437251; // External IP automatically reserved for Cloud NAT. @@ -801,7 +846,7 @@ message Address { // [Output Only] The unique identifier for the resource. This identifier is defined by the server. optional uint64 id = 3355; - // The IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address. + // The IP version that will be used by this address. Valid options are IPV4 or IPV6. // Check the IpVersion enum for the list of possible values. optional string ip_version = 294959552; @@ -812,6 +857,12 @@ message Address { // [Output Only] Type of the resource. Always compute#address for addresses. optional string kind = 3292052; + // A fingerprint for the labels being applied to this Address, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an Address. + optional string label_fingerprint = 178124825; + + // Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty. + map labels = 500195327; + // Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit. optional string name = 3373707; @@ -922,7 +973,7 @@ message AdvancedMachineFeatures { // A request message for AcceleratorTypes.AggregatedList. See the method description for details. message AggregatedListAcceleratorTypesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. @@ -943,11 +994,14 @@ message AggregatedListAcceleratorTypesRequest { // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. optional bool return_partial_success = 517198390; + // The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. + optional int64 service_project_number = 316757497; + } // A request message for Addresses.AggregatedList. See the method description for details. message AggregatedListAddressesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. @@ -968,11 +1022,14 @@ message AggregatedListAddressesRequest { // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. optional bool return_partial_success = 517198390; + // The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. + optional int64 service_project_number = 316757497; + } // A request message for Autoscalers.AggregatedList. See the method description for details. message AggregatedListAutoscalersRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. @@ -993,11 +1050,14 @@ message AggregatedListAutoscalersRequest { // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. optional bool return_partial_success = 517198390; + // The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. + optional int64 service_project_number = 316757497; + } // A request message for BackendServices.AggregatedList. See the method description for details. message AggregatedListBackendServicesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. @@ -1018,11 +1078,14 @@ message AggregatedListBackendServicesRequest { // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. optional bool return_partial_success = 517198390; + // The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. + optional int64 service_project_number = 316757497; + } // A request message for DiskTypes.AggregatedList. See the method description for details. message AggregatedListDiskTypesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. @@ -1043,11 +1106,14 @@ message AggregatedListDiskTypesRequest { // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. optional bool return_partial_success = 517198390; + // The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. + optional int64 service_project_number = 316757497; + } // A request message for Disks.AggregatedList. See the method description for details. message AggregatedListDisksRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. @@ -1068,11 +1134,14 @@ message AggregatedListDisksRequest { // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. optional bool return_partial_success = 517198390; + // The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. + optional int64 service_project_number = 316757497; + } // A request message for ForwardingRules.AggregatedList. See the method description for details. message AggregatedListForwardingRulesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. @@ -1093,11 +1162,14 @@ message AggregatedListForwardingRulesRequest { // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. optional bool return_partial_success = 517198390; + // The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. + optional int64 service_project_number = 316757497; + } // A request message for GlobalOperations.AggregatedList. See the method description for details. message AggregatedListGlobalOperationsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. @@ -1118,11 +1190,14 @@ message AggregatedListGlobalOperationsRequest { // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. optional bool return_partial_success = 517198390; + // The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. + optional int64 service_project_number = 316757497; + } // A request message for HealthChecks.AggregatedList. See the method description for details. message AggregatedListHealthChecksRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. @@ -1143,11 +1218,14 @@ message AggregatedListHealthChecksRequest { // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. optional bool return_partial_success = 517198390; + // The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. + optional int64 service_project_number = 316757497; + } // A request message for InstanceGroupManagers.AggregatedList. See the method description for details. message AggregatedListInstanceGroupManagersRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. @@ -1168,11 +1246,14 @@ message AggregatedListInstanceGroupManagersRequest { // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. optional bool return_partial_success = 517198390; + // The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. + optional int64 service_project_number = 316757497; + } // A request message for InstanceGroups.AggregatedList. See the method description for details. message AggregatedListInstanceGroupsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. @@ -1193,11 +1274,42 @@ message AggregatedListInstanceGroupsRequest { // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. optional bool return_partial_success = 517198390; + // The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. + optional int64 service_project_number = 316757497; + +} + +// A request message for InstanceTemplates.AggregatedList. See the method description for details. +message AggregatedListInstanceTemplatesRequest { + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. + optional string filter = 336120696; + + // Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. + optional bool include_all_scopes = 391327988; + + // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + optional uint32 max_results = 54715419; + + // Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + optional string order_by = 160562920; + + // Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + optional string page_token = 19994697; + + // Name of the project scoping this request. + string project = 227560217 [(google.api.field_behavior) = REQUIRED]; + + // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + optional bool return_partial_success = 517198390; + + // The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. + optional int64 service_project_number = 316757497; + } // A request message for Instances.AggregatedList. See the method description for details. message AggregatedListInstancesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. @@ -1218,11 +1330,14 @@ message AggregatedListInstancesRequest { // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. optional bool return_partial_success = 517198390; + // The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. + optional int64 service_project_number = 316757497; + } // A request message for InterconnectAttachments.AggregatedList. See the method description for details. message AggregatedListInterconnectAttachmentsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. @@ -1243,11 +1358,14 @@ message AggregatedListInterconnectAttachmentsRequest { // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. optional bool return_partial_success = 517198390; + // The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. + optional int64 service_project_number = 316757497; + } // A request message for MachineTypes.AggregatedList. See the method description for details. message AggregatedListMachineTypesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. @@ -1268,11 +1386,14 @@ message AggregatedListMachineTypesRequest { // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. optional bool return_partial_success = 517198390; + // The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. + optional int64 service_project_number = 316757497; + } // A request message for NetworkAttachments.AggregatedList. See the method description for details. message AggregatedListNetworkAttachmentsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. @@ -1293,11 +1414,14 @@ message AggregatedListNetworkAttachmentsRequest { // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. optional bool return_partial_success = 517198390; + // The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. + optional int64 service_project_number = 316757497; + } // A request message for NetworkEdgeSecurityServices.AggregatedList. See the method description for details. message AggregatedListNetworkEdgeSecurityServicesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. @@ -1318,11 +1442,14 @@ message AggregatedListNetworkEdgeSecurityServicesRequest { // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. optional bool return_partial_success = 517198390; + // The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. + optional int64 service_project_number = 316757497; + } // A request message for NetworkEndpointGroups.AggregatedList. See the method description for details. message AggregatedListNetworkEndpointGroupsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. @@ -1343,11 +1470,14 @@ message AggregatedListNetworkEndpointGroupsRequest { // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. optional bool return_partial_success = 517198390; + // The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. + optional int64 service_project_number = 316757497; + } // A request message for NodeGroups.AggregatedList. See the method description for details. message AggregatedListNodeGroupsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. @@ -1368,11 +1498,14 @@ message AggregatedListNodeGroupsRequest { // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. optional bool return_partial_success = 517198390; + // The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. + optional int64 service_project_number = 316757497; + } // A request message for NodeTemplates.AggregatedList. See the method description for details. message AggregatedListNodeTemplatesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. @@ -1393,11 +1526,14 @@ message AggregatedListNodeTemplatesRequest { // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. optional bool return_partial_success = 517198390; + // The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. + optional int64 service_project_number = 316757497; + } // A request message for NodeTypes.AggregatedList. See the method description for details. message AggregatedListNodeTypesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. @@ -1418,11 +1554,14 @@ message AggregatedListNodeTypesRequest { // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. optional bool return_partial_success = 517198390; + // The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. + optional int64 service_project_number = 316757497; + } // A request message for PacketMirrorings.AggregatedList. See the method description for details. message AggregatedListPacketMirroringsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. @@ -1443,11 +1582,14 @@ message AggregatedListPacketMirroringsRequest { // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. optional bool return_partial_success = 517198390; + // The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. + optional int64 service_project_number = 316757497; + } // A request message for PublicDelegatedPrefixes.AggregatedList. See the method description for details. message AggregatedListPublicDelegatedPrefixesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. @@ -1468,11 +1610,14 @@ message AggregatedListPublicDelegatedPrefixesRequest { // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. optional bool return_partial_success = 517198390; + // The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. + optional int64 service_project_number = 316757497; + } // A request message for RegionCommitments.AggregatedList. See the method description for details. message AggregatedListRegionCommitmentsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. @@ -1493,11 +1638,14 @@ message AggregatedListRegionCommitmentsRequest { // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. optional bool return_partial_success = 517198390; + // The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. + optional int64 service_project_number = 316757497; + } // A request message for Reservations.AggregatedList. See the method description for details. message AggregatedListReservationsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. @@ -1518,11 +1666,14 @@ message AggregatedListReservationsRequest { // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. optional bool return_partial_success = 517198390; + // The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. + optional int64 service_project_number = 316757497; + } // A request message for ResourcePolicies.AggregatedList. See the method description for details. message AggregatedListResourcePoliciesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. @@ -1543,11 +1694,14 @@ message AggregatedListResourcePoliciesRequest { // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. optional bool return_partial_success = 517198390; + // The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. + optional int64 service_project_number = 316757497; + } // A request message for Routers.AggregatedList. See the method description for details. message AggregatedListRoutersRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. @@ -1568,11 +1722,14 @@ message AggregatedListRoutersRequest { // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. optional bool return_partial_success = 517198390; + // The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. + optional int64 service_project_number = 316757497; + } // A request message for SecurityPolicies.AggregatedList. See the method description for details. message AggregatedListSecurityPoliciesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. @@ -1593,11 +1750,14 @@ message AggregatedListSecurityPoliciesRequest { // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. optional bool return_partial_success = 517198390; + // The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. + optional int64 service_project_number = 316757497; + } // A request message for ServiceAttachments.AggregatedList. See the method description for details. message AggregatedListServiceAttachmentsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. @@ -1618,11 +1778,14 @@ message AggregatedListServiceAttachmentsRequest { // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. optional bool return_partial_success = 517198390; + // The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. + optional int64 service_project_number = 316757497; + } // A request message for SslCertificates.AggregatedList. See the method description for details. message AggregatedListSslCertificatesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. @@ -1643,11 +1806,14 @@ message AggregatedListSslCertificatesRequest { // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. optional bool return_partial_success = 517198390; + // The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. + optional int64 service_project_number = 316757497; + } // A request message for SslPolicies.AggregatedList. See the method description for details. message AggregatedListSslPoliciesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. @@ -1668,11 +1834,14 @@ message AggregatedListSslPoliciesRequest { // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. optional bool return_partial_success = 517198390; + // The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. + optional int64 service_project_number = 316757497; + } // A request message for Subnetworks.AggregatedList. See the method description for details. message AggregatedListSubnetworksRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. @@ -1693,11 +1862,14 @@ message AggregatedListSubnetworksRequest { // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. optional bool return_partial_success = 517198390; + // The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. + optional int64 service_project_number = 316757497; + } // A request message for TargetHttpProxies.AggregatedList. See the method description for details. message AggregatedListTargetHttpProxiesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. @@ -1718,11 +1890,14 @@ message AggregatedListTargetHttpProxiesRequest { // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. optional bool return_partial_success = 517198390; + // The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. + optional int64 service_project_number = 316757497; + } // A request message for TargetHttpsProxies.AggregatedList. See the method description for details. message AggregatedListTargetHttpsProxiesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. @@ -1743,11 +1918,14 @@ message AggregatedListTargetHttpsProxiesRequest { // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. optional bool return_partial_success = 517198390; + // The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. + optional int64 service_project_number = 316757497; + } // A request message for TargetInstances.AggregatedList. See the method description for details. message AggregatedListTargetInstancesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. @@ -1768,11 +1946,14 @@ message AggregatedListTargetInstancesRequest { // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. optional bool return_partial_success = 517198390; + // The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. + optional int64 service_project_number = 316757497; + } // A request message for TargetPools.AggregatedList. See the method description for details. message AggregatedListTargetPoolsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. @@ -1793,11 +1974,14 @@ message AggregatedListTargetPoolsRequest { // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. optional bool return_partial_success = 517198390; + // The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. + optional int64 service_project_number = 316757497; + } // A request message for TargetTcpProxies.AggregatedList. See the method description for details. message AggregatedListTargetTcpProxiesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. @@ -1818,11 +2002,14 @@ message AggregatedListTargetTcpProxiesRequest { // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. optional bool return_partial_success = 517198390; + // The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. + optional int64 service_project_number = 316757497; + } // A request message for TargetVpnGateways.AggregatedList. See the method description for details. message AggregatedListTargetVpnGatewaysRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. @@ -1843,11 +2030,14 @@ message AggregatedListTargetVpnGatewaysRequest { // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. optional bool return_partial_success = 517198390; + // The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. + optional int64 service_project_number = 316757497; + } // A request message for UrlMaps.AggregatedList. See the method description for details. message AggregatedListUrlMapsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. @@ -1868,11 +2058,14 @@ message AggregatedListUrlMapsRequest { // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. optional bool return_partial_success = 517198390; + // The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. + optional int64 service_project_number = 316757497; + } // A request message for VpnGateways.AggregatedList. See the method description for details. message AggregatedListVpnGatewaysRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. @@ -1893,11 +2086,14 @@ message AggregatedListVpnGatewaysRequest { // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. optional bool return_partial_success = 517198390; + // The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. + optional int64 service_project_number = 316757497; + } // A request message for VpnTunnels.AggregatedList. See the method description for details. message AggregatedListVpnTunnelsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. @@ -1918,6 +2114,9 @@ message AggregatedListVpnTunnelsRequest { // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. optional bool return_partial_success = 517198390; + // The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api. + optional int64 service_project_number = 316757497; + } // An alias IP range attached to an instance's network interface. @@ -1930,14 +2129,79 @@ message AliasIpRange { } +// This reservation type is specified by total resource amounts (e.g. total count of CPUs) and can account for multiple instance SKUs. In other words, one can create instances of varying shapes against this reservation. +message AllocationAggregateReservation { + // The VM family that all instances scheduled against this reservation must belong to. + enum VmFamily { + // A value indicating that the enum field is not set. + UNDEFINED_VM_FAMILY = 0; + + VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L = 108020067; + + VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP = 18705267; + + VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P = 517384407; + + } + + // The workload type of the instances that will target this reservation. + enum WorkloadType { + // A value indicating that the enum field is not set. + UNDEFINED_WORKLOAD_TYPE = 0; + + // Reserved resources will be optimized for BATCH workloads, such as ML training. + BATCH = 62971674; + + // Reserved resources will be optimized for SERVING workloads, such as ML inference. + SERVING = 17781740; + + UNSPECIFIED = 526786327; + + } + + // [Output only] List of resources currently in use. + repeated AllocationAggregateReservationReservedResourceInfo in_use_resources = 409009107; + + // List of reserved resources (CPUs, memory, accelerators). + repeated AllocationAggregateReservationReservedResourceInfo reserved_resources = 213217742; + + // The VM family that all instances scheduled against this reservation must belong to. + // Check the VmFamily enum for the list of possible values. + optional string vm_family = 125017580; + + // The workload type of the instances that will target this reservation. + // Check the WorkloadType enum for the list of possible values. + optional string workload_type = 273432322; + +} + // +message AllocationAggregateReservationReservedResourceInfo { + // Properties of accelerator resources in this reservation. + optional AllocationAggregateReservationReservedResourceInfoAccelerator accelerator = 424338027; + +} + +// +message AllocationAggregateReservationReservedResourceInfoAccelerator { + // Number of accelerators of specified type. + optional int32 accelerator_count = 504879675; + + // Full or partial URL to accelerator type. e.g. "projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l" + optional string accelerator_type = 138031246; + +} + +// [Output Only] Contains output only fields. message AllocationResourceStatus { + // Allocation Properties of this reservation. optional AllocationResourceStatusSpecificSKUAllocation specific_sku_allocation = 196231151; } -// +// Contains Properties set for the reservation. message AllocationResourceStatusSpecificSKUAllocation { + // ID of the instance template used to populate reservation properties. optional string source_instance_template_id = 111196154; } @@ -2012,6 +2276,44 @@ message Allowed { } +// A request message for PublicAdvertisedPrefixes.Announce. See the method description for details. +message AnnouncePublicAdvertisedPrefixeRequest { + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // The name of the public advertised prefix. It should comply with RFC1035. + string public_advertised_prefix = 101874590 [(google.api.field_behavior) = REQUIRED]; + + // An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + optional string request_id = 37109963; + +} + +// A request message for PublicDelegatedPrefixes.Announce. See the method description for details. +message AnnouncePublicDelegatedPrefixeRequest { + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // The name of the public delegated prefix. It should comply with RFC1035. + string public_delegated_prefix = 204238440 [(google.api.field_behavior) = REQUIRED]; + + // The name of the region where the public delegated prefix is located. It should comply with RFC1035. + string region = 138946292 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "region" + ]; + + // An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + optional string request_id = 37109963; + +} + // A request message for InstanceGroupManagers.ApplyUpdatesToInstances. See the method description for details. message ApplyUpdatesToInstancesInstanceGroupManagerRequest { // The name of the managed instance group, should conform to RFC1035. @@ -2128,6 +2430,31 @@ message AttachNetworkEndpointsNetworkEndpointGroupRequest { } +// A request message for RegionNetworkEndpointGroups.AttachNetworkEndpoints. See the method description for details. +message AttachNetworkEndpointsRegionNetworkEndpointGroupRequest { + // The name of the network endpoint group where you are attaching network endpoints to. It should comply with RFC1035. + string network_endpoint_group = 433907078 [(google.api.field_behavior) = REQUIRED]; + + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // The name of the region where you want to create the network endpoint group. It should comply with RFC1035. + string region = 138946292 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "region" + ]; + + // The body resource for this request + RegionNetworkEndpointGroupsAttachEndpointsRequest region_network_endpoint_groups_attach_endpoints_request_resource = 334986492 [(google.api.field_behavior) = REQUIRED]; + + // An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + optional string request_id = 37109963; + +} + // An instance-attached disk resource. message AttachedDisk { // [Output Only] The architecture of the attached disk. Valid values are ARM64 or X86_64. @@ -2170,6 +2497,19 @@ message AttachedDisk { } + // For LocalSSD disks on VM Instances in STOPPED or SUSPENDED state, this field is set to PRESERVED if the LocalSSD data has been saved to a persistent location by customer request. (see the discard_local_ssd option on Stop/Suspend). Read-only in the api. + enum SavedState { + // A value indicating that the enum field is not set. + UNDEFINED_SAVED_STATE = 0; + + // *[Default]* Disk state has not been preserved. + DISK_SAVED_STATE_UNSPECIFIED = 391290831; + + // Disk state has been preserved. + PRESERVED = 254159736; + + } + // Specifies the type of the disk, either SCRATCH or PERSISTENT. If not specified, the default is PERSISTENT. enum Type { // A value indicating that the enum field is not set. @@ -2226,6 +2566,10 @@ message AttachedDisk { // Check the Mode enum for the list of possible values. optional string mode = 3357091; + // For LocalSSD disks on VM Instances in STOPPED or SUSPENDED state, this field is set to PRESERVED if the LocalSSD data has been saved to a persistent location by customer request. (see the discard_local_ssd option on Stop/Suspend). Read-only in the api. + // Check the SavedState enum for the list of possible values. + optional string saved_state = 411587801; + // [Output Only] shielded vm initial state stored on disk optional InitialStateConfig shielded_instance_initial_state = 192356867; @@ -2288,6 +2632,9 @@ message AttachedDiskInitializeParams { // Specifies the disk type to use to create the instance. If not specified, the default is pd-standard, specified using the full URL. For example: https://www.googleapis.com/compute/v1/projects/project/zones/zone /diskTypes/pd-standard For a full list of acceptable values, see Persistent disk types. If you specify this field when creating a VM, you can provide either the full or partial URL. For example, the following values are valid: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /diskTypes/diskType - projects/project/zones/zone/diskTypes/diskType - zones/zone/diskTypes/diskType If you specify this field when creating or updating an instance template or all-instances configuration, specify the type of the disk, not the URL. For example: pd-standard. optional string disk_type = 93009052; + // Whether this disk is using confidential compute mode. + optional bool enable_confidential_compute = 102135228; + // Labels to apply to this disk. These can be later modified by the disks.setLabels method. This field is only applicable for persistent disks. map labels = 500195327; @@ -2301,6 +2648,12 @@ message AttachedDiskInitializeParams { // Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. Values must be between 10,000 and 120,000. For more details, see the Extreme persistent disk documentation. optional int64 provisioned_iops = 186769108; + // Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle. Values must be between 1 and 7,124. + optional int64 provisioned_throughput = 526524181; + + // Required for each regional disk associated with the instance. Specify the URLs of the zones where the disk should be replicated to. You must provide exactly two replica zones, and one zone must be the same as the instance zone. + repeated string replica_zones = 48438272; + // Resource manager tags to be bound to the disk. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty. map resource_manager_tags = 377671164; @@ -2599,7 +2952,7 @@ message AutoscalersScopedList { // Cloud Autoscaler policy. message AutoscalingPolicy { - // Defines operating mode for this policy. + // Defines the operating mode for this policy. The following modes are available: - OFF: Disables the autoscaler but maintains its configuration. - ONLY_SCALE_OUT: Restricts the autoscaler to add VM instances only. - ON: Enables all autoscaler activities according to its policy. For more information, see "Turning off or restricting an autoscaler" enum Mode { // A value indicating that the enum field is not set. UNDEFINED_MODE = 0; @@ -2618,7 +2971,7 @@ message AutoscalingPolicy { } - // The number of seconds that the autoscaler waits before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. The default time autoscaler waits is 60 seconds. Virtual machine initialization times might vary because of numerous factors. We recommend that you test how long an instance may take to initialize. To do this, create an instance and time the startup process. + // The number of seconds that your application takes to initialize on a VM instance. This is referred to as the [initialization period](/compute/docs/autoscaler#cool_down_period). Specifying an accurate initialization period improves autoscaler decisions. For example, when scaling out, the autoscaler ignores data from VMs that are still initializing because those VMs might not yet represent normal usage of your application. The default initialization period is 60 seconds. Initialization periods might vary because of numerous factors. We recommend that you test how long your application takes to initialize. To do this, create a VM and time your application's startup process. optional int32 cool_down_period_sec = 107692954; // Defines the CPU utilization policy that allows the autoscaler to scale based on the average CPU utilization of a managed instance group. @@ -2636,7 +2989,7 @@ message AutoscalingPolicy { // The minimum number of replicas that the autoscaler can scale in to. This cannot be less than 0. If not provided, autoscaler chooses a default value depending on maximum number of instances allowed. optional int32 min_num_replicas = 535329825; - // Defines operating mode for this policy. + // Defines the operating mode for this policy. The following modes are available: - OFF: Disables the autoscaler but maintains its configuration. - ONLY_SCALE_OUT: Restricts the autoscaler to add VM instances only. - ON: Enables all autoscaler activities according to its policy. For more information, see "Turning off or restricting an autoscaler" // Check the Mode enum for the list of possible values. optional string mode = 3357091; @@ -2741,7 +3094,7 @@ message AutoscalingPolicyScalingSchedule { // The start timestamps of time intervals when this scaling schedule is to provide a scaling signal. This field uses the extended cron format (with an optional year field). The expression can describe a single timestamp if the optional year is set, in which case the scaling schedule runs once. The schedule is interpreted with respect to time_zone. This field is required. Note: These timestamps only describe when autoscaler starts providing the scaling signal. The VMs need additional time to become serving. optional string schedule = 375820951; - // The time zone to use when interpreting the schedule. The value of this field must be a time zone name from the tz database: http://en.wikipedia.org/wiki/Tz_database. This field is assigned a default value of ���UTC��� if left empty. + // The time zone to use when interpreting the schedule. The value of this field must be a time zone name from the tz database: https://en.wikipedia.org/wiki/Tz_database. This field is assigned a default value of "UTC" if left empty. optional string time_zone = 36848094; } @@ -2831,7 +3184,7 @@ message BackendBucket { // [Output Only] Creation timestamp in RFC3339 text format. optional string creation_timestamp = 30525366; - // Headers that the HTTP/S load balancer should add to proxied responses. + // Headers that the Application Load Balancer should add to proxied responses. repeated string custom_response_headers = 387539094; // An optional textual description of the resource; provided by the client when the resource is created. @@ -2985,16 +3338,16 @@ message BackendService { // A value indicating that the enum field is not set. UNDEFINED_LOAD_BALANCING_SCHEME = 0; - // Signifies that this will be used for external HTTP(S), SSL Proxy, TCP Proxy, or Network Load Balancing + // Signifies that this will be used for classic Application Load Balancers, global external proxy Network Load Balancers, or external passthrough Network Load Balancers. EXTERNAL = 35607499; - // Signifies that this will be used for External Managed HTTP(S) Load Balancing. + // Signifies that this will be used for global external Application Load Balancers, regional external Application Load Balancers, or regional external proxy Network Load Balancers. EXTERNAL_MANAGED = 512006923; - // Signifies that this will be used for Internal TCP/UDP Load Balancing. + // Signifies that this will be used for internal passthrough Network Load Balancers. INTERNAL = 279295677; - // Signifies that this will be used for Internal HTTP(S) Load Balancing. + // Signifies that this will be used for internal Application Load Balancers. INTERNAL_MANAGED = 37350397; // Signifies that this will be used by Traffic Director. @@ -3004,7 +3357,7 @@ message BackendService { } - // The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. If sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity settings will not take effect. Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. + // The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED, INTERNAL_MANAGED, or EXTERNAL_MANAGED. If sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity settings will not take effect. Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. enum LocalityLbPolicy { // A value indicating that the enum field is not set. UNDEFINED_LOCALITY_LB_POLICY = 0; @@ -3029,6 +3382,9 @@ message BackendService { // This is a simple policy in which each healthy backend is selected in round robin order. This is the default. ROUND_ROBIN = 153895801; + // Per-instance weighted Load Balancing via health check reported weights. If set, the Backend Service must configure a non legacy HTTP-based Health Check, and health check replies are expected to contain non-standard HTTP response header field X-Load-Balancing-Endpoint-Weight to specify the per-instance weights. If set, Load Balancing is weighted based on the per-instance weights reported in the last processed health check replies, as long as every instance either reported a valid weight or had UNAVAILABLE_WEIGHT. Otherwise, Load Balancing remains equal-weight. This option is only supported in Network Load Balancing. + WEIGHTED_MAGLEV = 254930962; + } // The protocol this BackendService uses to communicate with backends. Possible values are HTTP, HTTPS, HTTP2, TCP, SSL, UDP or GRPC. depending on the chosen load balancer or Traffic Director configuration. Refer to the documentation for the load balancers or for Traffic Director for more information. Must be set to GRPC when the backend service is referenced by a URL map that is bound to target gRPC proxy. @@ -3091,7 +3447,7 @@ message BackendService { } - // Lifetime of cookies in seconds. This setting is applicable to external and internal HTTP(S) load balancers and Traffic Director and requires GENERATED_COOKIE or HTTP_COOKIE session affinity. If set to 0, the cookie is non-persistent and lasts only until the end of the browser session (or equivalent). The maximum allowed value is two weeks (1,209,600). Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. + // Lifetime of cookies in seconds. This setting is applicable to Application Load Balancers and Traffic Director and requires GENERATED_COOKIE or HTTP_COOKIE session affinity. If set to 0, the cookie is non-persistent and lasts only until the end of the browser session (or equivalent). The maximum allowed value is two weeks (1,209,600). Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. optional int32 affinity_cookie_ttl_sec = 369996954; // The list of backends that serve this BackendService. @@ -3108,7 +3464,7 @@ message BackendService { optional ConnectionDraining connection_draining = 461096747; - // Connection Tracking configuration for this BackendService. Connection tracking policy settings are only available for Network Load Balancing and Internal TCP/UDP Load Balancing. + // Connection Tracking configuration for this BackendService. Connection tracking policy settings are only available for external passthrough Network Load Balancers and internal passthrough Network Load Balancers. optional BackendServiceConnectionTrackingPolicy connection_tracking_policy = 143994969; // Consistent Hash-based load balancing can be used to provide soft session affinity based on HTTP headers, cookies or other properties. This load balancing policy is applicable only for HTTP connections. The affinity to a particular destination host will be lost when one or more hosts are added/removed from the destination service. This field specifies parameters that control consistent hashing. This field is only applicable when localityLbPolicy is set to MAGLEV or RING_HASH. This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. @@ -3129,10 +3485,10 @@ message BackendService { // [Output Only] The resource URL for the edge security policy associated with this backend service. optional string edge_security_policy = 41036943; - // If true, enables Cloud CDN for the backend service of an external HTTP(S) load balancer. + // If true, enables Cloud CDN for the backend service of a global external Application Load Balancer. optional bool enable_c_d_n = 250733499; - // Requires at least one backend instance group to be defined as a backup (failover) backend. For load balancers that have configurable failover: [Internal TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/internal/failover-overview) and [external TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview). + // Requires at least one backend instance group to be defined as a backup (failover) backend. For load balancers that have configurable failover: [Internal passthrough Network Load Balancers](https://cloud.google.com/load-balancing/docs/internal/failover-overview) and [external passthrough Network Load Balancers](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview). optional BackendServiceFailoverPolicy failover_policy = 105658655; // Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a BackendService. An up-to-date fingerprint must be provided in order to update the BackendService, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a BackendService. @@ -3141,7 +3497,7 @@ message BackendService { // The list of URLs to the healthChecks, httpHealthChecks (legacy), or httpsHealthChecks (legacy) resource for health checking this backend service. Not all backend services support legacy health checks. See Load balancer guide. Currently, at most one health check can be specified for each backend service. Backend services with instance group or zonal NEG backends must have a health check. Backend services with internet or serverless NEG backends must not have a health check. repeated string health_checks = 448370606; - // The configurations for Identity-Aware Proxy on this resource. Not available for Internal TCP/UDP Load Balancing and Network Load Balancing. + // The configurations for Identity-Aware Proxy on this resource. Not available for internal passthrough Network Load Balancers and external passthrough Network Load Balancers. optional BackendServiceIAP iap = 104024; // [Output Only] The unique identifier for the resource. This identifier is defined by the server. @@ -3154,10 +3510,10 @@ message BackendService { // Check the LoadBalancingScheme enum for the list of possible values. optional string load_balancing_scheme = 363890244; - // A list of locality load balancing policies to be used in order of preference. Either the policy or the customPolicy field should be set. Overrides any value set in the localityLbPolicy field. localityLbPolicies is only supported when the BackendService is referenced by a URL Map that is referenced by a target gRPC proxy that has the validateForProxyless field set to true. + // A list of locality load-balancing policies to be used in order of preference. When you use localityLbPolicies, you must set at least one value for either the localityLbPolicies[].policy or the localityLbPolicies[].customPolicy field. localityLbPolicies overrides any value set in the localityLbPolicy field. For an example of how to use this field, see Define a list of preferred policies. Caution: This field and its children are intended for use in a service mesh that includes gRPC clients only. Envoy proxies can't use backend services that have this configuration. repeated BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557; - // The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. If sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity settings will not take effect. Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. + // The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED, INTERNAL_MANAGED, or EXTERNAL_MANAGED. If sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity settings will not take effect. Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. // Check the LocalityLbPolicy enum for the list of possible values. optional string locality_lb_policy = 131431487; @@ -3167,19 +3523,22 @@ message BackendService { // Specifies the default maximum duration (timeout) for streams to this service. Duration is computed from the beginning of the stream until the response has been completely processed, including all retries. A stream that does not complete in this duration is closed. If not specified, there will be no timeout limit, i.e. the maximum duration is infinite. This value can be overridden in the PathMatcher configuration of the UrlMap that references this backend service. This field is only allowed when the loadBalancingScheme of the backend service is INTERNAL_SELF_MANAGED. optional Duration max_stream_duration = 61428376; + // Deployment metadata associated with the resource to be set by a GKE hub controller and read by the backend RCTH + map metadatas = 8514340; + // Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. optional string name = 3373707; // The URL of the network to which this backend service belongs. This field can only be specified when the load balancing scheme is set to INTERNAL. optional string network = 232872494; - // Settings controlling the eviction of unhealthy hosts from the load balancing pool for the backend service. If not set, this feature is considered disabled. This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, HTTP2, or GRPC, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. + // Settings controlling the ejection of unhealthy backend endpoints from the load balancing pool of each individual proxy instance that processes the traffic for the given backend service. If not set, this feature is considered disabled. Results of the outlier detection algorithm (ejection of endpoints from the load balancing pool and returning them back to the pool) are executed independently by each proxy instance of the load balancer. In most cases, more than one proxy instance handles the traffic received by a backend service. Thus, it is possible that an unhealthy endpoint is detected and ejected by only some of the proxies, and while this happens, other proxies may continue to send requests to the same unhealthy endpoint until they detect and eject the unhealthy endpoint. Applicable backend endpoints can be: - VM instances in an Instance Group - Endpoints in a Zonal NEG (GCE_VM_IP, GCE_VM_IP_PORT) - Endpoints in a Hybrid Connectivity NEG (NON_GCP_PRIVATE_IP_PORT) - Serverless NEGs, that resolve to Cloud Run, App Engine, or Cloud Functions Services - Private Service Connect NEGs, that resolve to Google-managed regional API endpoints or managed services published using Private Service Connect Applicable backend service types can be: - A global backend service with the loadBalancingScheme set to INTERNAL_SELF_MANAGED or EXTERNAL_MANAGED. - A regional backend service with the serviceProtocol set to HTTP, HTTPS, or HTTP2, and loadBalancingScheme set to INTERNAL_MANAGED or EXTERNAL_MANAGED. Not supported for Serverless NEGs. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. optional OutlierDetection outlier_detection = 354625086; - // Deprecated in favor of portName. The TCP port to connect on the backend. The default value is 80. For Internal TCP/UDP Load Balancing and Network Load Balancing, omit port. + // Deprecated in favor of portName. The TCP port to connect on the backend. The default value is 80. For internal passthrough Network Load Balancers and external passthrough Network Load Balancers, omit port. optional int32 port = 3446913; - // A named port on a backend instance group representing the port for communication to the backend VMs in that group. The named port must be [defined on each backend instance group](https://cloud.google.com/load-balancing/docs/backend-service#named_ports). This parameter has no meaning if the backends are NEGs. For Internal TCP/UDP Load Balancing and Network Load Balancing, omit port_name. + // A named port on a backend instance group representing the port for communication to the backend VMs in that group. The named port must be [defined on each backend instance group](https://cloud.google.com/load-balancing/docs/backend-service#named_ports). This parameter has no meaning if the backends are NEGs. For internal passthrough Network Load Balancers and external passthrough Network Load Balancers, omit port_name. optional string port_name = 41534345; // The protocol this BackendService uses to communicate with backends. Possible values are HTTP, HTTPS, HTTP2, TCP, SSL, UDP or GRPC. depending on the chosen load balancer or Traffic Director configuration. Refer to the documentation for the load balancers or for Traffic Director for more information. Must be set to GRPC when the backend service is referenced by a URL map that is bound to target gRPC proxy. @@ -3210,6 +3569,8 @@ message BackendService { // The backend service timeout has a different meaning depending on the type of load balancer. For more information see, Backend service settings. The default is 30 seconds. The full range of timeout values allowed goes from 1 through 2,147,483,647 seconds. This value can be overridden in the PathMatcher configuration of the UrlMap that references this backend service. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. Instead, use maxStreamDuration. optional int32 timeout_sec = 79994995; + repeated BackendServiceUsedBy used_by = 389320729; + } // Contains a list of BackendServicesScopedList. @@ -3345,10 +3706,10 @@ message BackendServiceConnectionTrackingPolicy { // Check the ConnectionPersistenceOnUnhealthyBackends enum for the list of possible values. optional string connection_persistence_on_unhealthy_backends = 152439033; - // Enable Strong Session Affinity for Network Load Balancing. This option is not available publicly. + // Enable Strong Session Affinity for external passthrough Network Load Balancers. This option is not available publicly. optional bool enable_strong_affinity = 24539924; - // Specifies how long to keep a Connection Tracking entry while there is no matching traffic (in seconds). For Internal TCP/UDP Load Balancing: - The minimum (default) is 10 minutes and the maximum is 16 hours. - It can be set only if Connection Tracking is less than 5-tuple (i.e. Session Affinity is CLIENT_IP_NO_DESTINATION, CLIENT_IP or CLIENT_IP_PROTO, and Tracking Mode is PER_SESSION). For Network Load Balancer the default is 60 seconds. This option is not available publicly. + // Specifies how long to keep a Connection Tracking entry while there is no matching traffic (in seconds). For internal passthrough Network Load Balancers: - The minimum (default) is 10 minutes and the maximum is 16 hours. - It can be set only if Connection Tracking is less than 5-tuple (i.e. Session Affinity is CLIENT_IP_NO_DESTINATION, CLIENT_IP or CLIENT_IP_PROTO, and Tracking Mode is PER_SESSION). For external passthrough Network Load Balancers the default is 60 seconds. This option is not available publicly. optional int32 idle_timeout_sec = 24977544; // Specifies the key used for connection tracking. There are two options: - PER_CONNECTION: This is the default mode. The Connection Tracking is performed as per the Connection Key (default Hash Method) for the specific protocol. - PER_SESSION: The Connection Tracking is performed as per the configured Session Affinity. It matches the configured Session Affinity. For more details, see [Tracking Mode for Network Load Balancing](https://cloud.google.com/load-balancing/docs/network/networklb-backend-service#tracking-mode) and [Tracking Mode for Internal TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/internal#tracking-mode). @@ -3357,12 +3718,12 @@ message BackendServiceConnectionTrackingPolicy { } -// For load balancers that have configurable failover: [Internal TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/internal/failover-overview) and [external TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview). On failover or failback, this field indicates whether connection draining will be honored. Google Cloud has a fixed connection draining timeout of 10 minutes. A setting of true terminates existing TCP connections to the active pool during failover and failback, immediately draining traffic. A setting of false allows existing TCP connections to persist, even on VMs no longer in the active pool, for up to the duration of the connection draining timeout (10 minutes). +// For load balancers that have configurable failover: [Internal passthrough Network Load Balancers](https://cloud.google.com/load-balancing/docs/internal/failover-overview) and [external passthrough Network Load Balancers](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview). On failover or failback, this field indicates whether connection draining will be honored. Google Cloud has a fixed connection draining timeout of 10 minutes. A setting of true terminates existing TCP connections to the active pool during failover and failback, immediately draining traffic. A setting of false allows existing TCP connections to persist, even on VMs no longer in the active pool, for up to the duration of the connection draining timeout (10 minutes). message BackendServiceFailoverPolicy { // This can be set to true only if the protocol is TCP. The default is false. optional bool disable_connection_drain_on_failover = 182150753; - // If set to true, connections to the load balancer are dropped when all primary and all backup backend VMs are unhealthy.If set to false, connections are distributed among all primary VMs when all primary and all backup backend VMs are unhealthy. For load balancers that have configurable failover: [Internal TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/internal/failover-overview) and [external TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview). The default is false. + // If set to true, connections to the load balancer are dropped when all primary and all backup backend VMs are unhealthy.If set to false, connections are distributed among all primary VMs when all primary and all backup backend VMs are unhealthy. For load balancers that have configurable failover: [Internal passthrough Network Load Balancers](https://cloud.google.com/load-balancing/docs/internal/failover-overview) and [external passthrough Network Load Balancers](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview). The default is false. optional bool drop_traffic_if_unhealthy = 112289428; // The value of the field must be in the range [0, 1]. If the value is 0, the load balancer performs a failover when the number of healthy primary VMs equals zero. For all other values, the load balancer performs a failover when the total number of healthy primary VMs is less than this ratio. For load balancers that have configurable failover: [Internal TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/internal/failover-overview) and [external TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview). @@ -3385,7 +3746,7 @@ message BackendServiceGroupHealth { // Identity-Aware Proxy message BackendServiceIAP { - // Whether the serving infrastructure will authenticate and authorize all incoming requests. If true, the oauth2ClientId and oauth2ClientSecret fields must be non-empty. + // Whether the serving infrastructure will authenticate and authorize all incoming requests. optional bool enabled = 1018689; // OAuth2 client ID to use for the authentication flow. @@ -3421,6 +3782,28 @@ message BackendServiceList { } +// Contains a list of usable BackendService resources. +message BackendServiceListUsable { + // [Output Only] Unique identifier for the resource; defined by the server. + optional string id = 3355; + + // A list of BackendService resources. + repeated BackendService items = 100526016; + + // [Output Only] Type of resource. Always compute#usableBackendServiceList for lists of usable backend services. + optional string kind = 3292052; + + // [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + optional string next_page_token = 79797525; + + // [Output Only] Server-defined URL for this resource. + optional string self_link = 456214797; + + // [Output Only] Informational warning message. + optional Warning warning = 50704284; + +} + // Container for either a built-in LB policy supported by gRPC or Envoy or a custom one implemented by the end user. message BackendServiceLocalityLoadBalancingPolicyConfig { optional BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy custom_policy = 4818368; @@ -3434,14 +3817,14 @@ message BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy { // An optional, arbitrary JSON object with configuration data, understood by a locally installed custom policy implementation. optional string data = 3076010; - // Identifies the custom policy. The value should match the type the custom implementation is registered with on the gRPC clients. It should follow protocol buffer message naming conventions and include the full path (e.g. myorg.CustomLbPolicy). The maximum length is 256 characters. Note that specifying the same custom policy more than once for a backend is not a valid configuration and will be rejected. + // Identifies the custom policy. The value should match the name of a custom implementation registered on the gRPC clients. It should follow protocol buffer message naming conventions and include the full path (for example, myorg.CustomLbPolicy). The maximum length is 256 characters. Do not specify the same custom policy more than once for a backend. If you do, the configuration is rejected. For an example of how to use this field, see Use a custom policy. optional string name = 3373707; } // The configuration for a built-in load balancing policy. message BackendServiceLocalityLoadBalancingPolicyConfigPolicy { - // The name of a locality load balancer policy to be used. The value should be one of the predefined ones as supported by localityLbPolicy, although at the moment only ROUND_ROBIN is supported. This field should only be populated when the customPolicy field is not used. Note that specifying the same policy more than once for a backend is not a valid configuration and will be rejected. + // The name of a locality load-balancing policy. Valid values include ROUND_ROBIN and, for Java clients, LEAST_REQUEST. For information about these values, see the description of localityLbPolicy. Do not specify the same policy more than once for a backend. If you do, the configuration is rejected. enum Name { // A value indicating that the enum field is not set. UNDEFINED_NAME = 0; @@ -3466,9 +3849,12 @@ message BackendServiceLocalityLoadBalancingPolicyConfigPolicy { // This is a simple policy in which each healthy backend is selected in round robin order. This is the default. ROUND_ROBIN = 153895801; + // Per-instance weighted Load Balancing via health check reported weights. If set, the Backend Service must configure a non legacy HTTP-based Health Check, and health check replies are expected to contain non-standard HTTP response header field X-Load-Balancing-Endpoint-Weight to specify the per-instance weights. If set, Load Balancing is weighted based on the per-instance weights reported in the last processed health check replies, as long as every instance either reported a valid weight or had UNAVAILABLE_WEIGHT. Otherwise, Load Balancing remains equal-weight. This option is only supported in Network Load Balancing. + WEIGHTED_MAGLEV = 254930962; + } - // The name of a locality load balancer policy to be used. The value should be one of the predefined ones as supported by localityLbPolicy, although at the moment only ROUND_ROBIN is supported. This field should only be populated when the customPolicy field is not used. Note that specifying the same policy more than once for a backend is not a valid configuration and will be rejected. + // The name of a locality load-balancing policy. Valid values include ROUND_ROBIN and, for Java clients, LEAST_REQUEST. For information about these values, see the description of localityLbPolicy. Do not specify the same policy more than once for a backend. If you do, the configuration is rejected. // Check the Name enum for the list of possible values. optional string name = 3373707; @@ -3476,9 +3862,32 @@ message BackendServiceLocalityLoadBalancingPolicyConfigPolicy { // The available logging options for the load balancer traffic served by this backend service. message BackendServiceLogConfig { + // This field can only be specified if logging is enabled for this backend service. Configures whether all, none or a subset of optional fields should be added to the reported logs. One of [INCLUDE_ALL_OPTIONAL, EXCLUDE_ALL_OPTIONAL, CUSTOM]. Default is EXCLUDE_ALL_OPTIONAL. + enum OptionalMode { + // A value indicating that the enum field is not set. + UNDEFINED_OPTIONAL_MODE = 0; + + // A subset of optional fields. + CUSTOM = 388595569; + + // None optional fields. + EXCLUDE_ALL_OPTIONAL = 168636099; + + // All optional fields. + INCLUDE_ALL_OPTIONAL = 535606965; + + } + // Denotes whether to enable logging for the load balancer traffic served by this backend service. The default value is false. optional bool enable = 311764355; + // This field can only be specified if logging is enabled for this backend service and "logConfig.optionalMode" was set to CUSTOM. Contains a list of optional fields you want to include in the logs. For example: serverInstance, serverGkeDetails.cluster, serverGkeDetails.pod.podNamespace + repeated string optional_fields = 528589944; + + // This field can only be specified if logging is enabled for this backend service. Configures whether all, none or a subset of optional fields should be added to the reported logs. One of [INCLUDE_ALL_OPTIONAL, EXCLUDE_ALL_OPTIONAL, CUSTOM]. Default is EXCLUDE_ALL_OPTIONAL. + // Check the OptionalMode enum for the list of possible values. + optional string optional_mode = 128697122; + // This field can only be specified if logging is enabled for this backend service. The value of the field must be in [0, 1]. This configures the sampling rate of requests to the load balancer where 1.0 means all logged requests are reported and 0.0 means no logged requests are reported. The default value is 1.0. optional float sample_rate = 153193045; @@ -3490,6 +3899,12 @@ message BackendServiceReference { } +// +message BackendServiceUsedBy { + optional string reference = 148586315; + +} + // message BackendServicesScopedList { // A list of BackendServices contained in this scope. @@ -3716,14 +4131,43 @@ message Binding { // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). optional Expr condition = 212430107; - // Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. + // Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. repeated string members = 412010777; - // Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + // Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles). optional string role = 3506294; } +// A request message for Disks.BulkInsert. See the method description for details. +message BulkInsertDiskRequest { + // The body resource for this request + BulkInsertDiskResource bulk_insert_disk_resource_resource = 289799382 [(google.api.field_behavior) = REQUIRED]; + + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + optional string request_id = 37109963; + + // The name of the zone for this request. + string zone = 3744684 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "zone" + ]; + +} + +// A transient resource used in compute.disks.bulkInsert and compute.regionDisks.bulkInsert. It is only used to process requests and is not persisted. +message BulkInsertDiskResource { + // The URL of the DiskConsistencyGroupPolicy for the group of disks to clone. This may be a full or partial URL, such as: - https://www.googleapis.com/compute/v1/projects/project/regions/region /resourcePolicies/resourcePolicy - projects/project/regions/region/resourcePolicies/resourcePolicy - regions/region/resourcePolicies/resourcePolicy + optional string source_consistency_group_policy = 19616093; + +} + // A request message for Instances.BulkInsert. See the method description for details. message BulkInsertInstanceRequest { // The body resource for this request @@ -3773,11 +4217,74 @@ message BulkInsertInstanceResource { // Per-instance properties to be set on individual instances. To be extended in the future. message BulkInsertInstanceResourcePerInstanceProperties { + // Specifies the hostname of the instance. More details in: https://cloud.google.com/compute/docs/instances/custom-hostname-vm#naming_convention + optional string hostname = 237067315; + // This field is only temporary. It will be removed. Do not use it. optional string name = 3373707; } +// +message BulkInsertOperationStatus { + // [Output Only] Creation status of BulkInsert operation - information if the flow is rolling forward or rolling back. + enum Status { + // A value indicating that the enum field is not set. + UNDEFINED_STATUS = 0; + + // Rolling forward - creating VMs. + CREATING = 455564985; + + // Done + DONE = 2104194; + + // Rolling back - cleaning up after an error. + ROLLING_BACK = 259411649; + + STATUS_UNSPECIFIED = 42133066; + + } + + // [Output Only] Count of VMs successfully created so far. + optional int32 created_vm_count = 396924158; + + // [Output Only] Count of VMs that got deleted during rollback. + optional int32 deleted_vm_count = 271756013; + + // [Output Only] Count of VMs that started creating but encountered an error. + optional int32 failed_to_create_vm_count = 58384104; + + // [Output Only] Creation status of BulkInsert operation - information if the flow is rolling forward or rolling back. + // Check the Status enum for the list of possible values. + optional string status = 181260274; + + // [Output Only] Count of VMs originally planned to be created. + optional int32 target_vm_count = 532975733; + +} + +// A request message for RegionDisks.BulkInsert. See the method description for details. +message BulkInsertRegionDiskRequest { + // The body resource for this request + BulkInsertDiskResource bulk_insert_disk_resource_resource = 289799382 [(google.api.field_behavior) = REQUIRED]; + + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // The name of the region for this request. + string region = 138946292 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "region" + ]; + + // An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + optional string request_id = 37109963; + +} + // A request message for RegionInstances.BulkInsert. See the method description for details. message BulkInsertRegionInstanceRequest { // The body resource for this request @@ -3945,6 +4452,7 @@ message Commitment { ACTIVE = 314733318; + // Deprecate CANCELED status. Will use separate status to differentiate cancel by mergeCud or manual cancellation. CANCELLED = 41957681; CREATING = 455564985; @@ -3962,10 +4470,18 @@ message Commitment { ACCELERATOR_OPTIMIZED = 280848403; + ACCELERATOR_OPTIMIZED_A3 = 158574526; + COMPUTE_OPTIMIZED = 158349023; COMPUTE_OPTIMIZED_C2D = 383246453; + COMPUTE_OPTIMIZED_C3 = 428004784; + + COMPUTE_OPTIMIZED_C3D = 383246484; + + COMPUTE_OPTIMIZED_H3 = 428004939; + GENERAL_PURPOSE = 299793543; GENERAL_PURPOSE_E2 = 301911877; @@ -3976,10 +4492,14 @@ message Commitment { GENERAL_PURPOSE_T2D = 232477166; + GRAPHICS_OPTIMIZED = 68500563; + MEMORY_OPTIMIZED = 281753417; MEMORY_OPTIMIZED_M3 = 276301372; + STORAGE_OPTIMIZED_Z3 = 316796085; + TYPE_UNSPECIFIED = 437714322; } @@ -4000,6 +4520,9 @@ message Commitment { // [Output Only] Commitment end time in RFC3339 text format. optional string end_timestamp = 468096690; + // Specifies the already existing reservations to attach to the Commitment. This field is optional, and it can be a full or partial URL. For example, the following are valid URLs to an reservation: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /reservations/reservation - projects/project/zones/zone/reservations/reservation + repeated string existing_reservations = 493028443; + // [Output Only] The unique identifier for the resource. This identifier is defined by the server. optional uint64 id = 3355; @@ -4022,7 +4545,7 @@ message Commitment { // [Output Only] URL of the region where this commitment may be used. optional string region = 138946292; - // List of reservations in this commitment. + // List of create-on-create reservations for this commitment. repeated Reservation reservations = 399717927; // A list of commitment amounts for particular resources. Note that VCPU and MEMORY resource commitments must occur together. @@ -4031,7 +4554,7 @@ message Commitment { // [Output Only] Server-defined URL for the resource. optional string self_link = 456214797; - // Source commitment to be splitted into a new commitment. + // Source commitment to be split into a new commitment. optional string split_source_commitment = 402611156; // [Output Only] Commitment start time in RFC3339 text format. @@ -4378,7 +4901,7 @@ message CreateSnapshotRegionDiskRequest { // message CustomerEncryptionKey { - // The name of the encryption key that is stored in Google Cloud KMS. For example: "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key + // The name of the encryption key that is stored in Google Cloud KMS. For example: "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key The fully-qualifed key name may be returned for resource GET requests. For example: "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key /cryptoKeyVersions/1 optional string kms_key_name = 484373913; // The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used. For example: "kmsKeyServiceAccount": "name@project_id.iam.gserviceaccount.com/ @@ -5334,6 +5857,28 @@ message DeleteRegionInstanceGroupManagerRequest { } +// A request message for RegionInstanceTemplates.Delete. See the method description for details. +message DeleteRegionInstanceTemplateRequest { + // The name of the instance template to delete. + string instance_template = 309248228 [(google.api.field_behavior) = REQUIRED]; + + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // The name of the region for this request. + string region = 138946292 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "region" + ]; + + // An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + optional string request_id = 37109963; + +} + // A request message for RegionNetworkEndpointGroups.Delete. See the method description for details. message DeleteRegionNetworkEndpointGroupRequest { // The name of the network endpoint group to delete. It should comply with RFC1035. @@ -6155,6 +6700,31 @@ message DetachNetworkEndpointsNetworkEndpointGroupRequest { } +// A request message for RegionNetworkEndpointGroups.DetachNetworkEndpoints. See the method description for details. +message DetachNetworkEndpointsRegionNetworkEndpointGroupRequest { + // The name of the network endpoint group you are detaching network endpoints from. It should comply with RFC1035. + string network_endpoint_group = 433907078 [(google.api.field_behavior) = REQUIRED]; + + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // The name of the region where the network endpoint group is located. It should comply with RFC1035. + string region = 138946292 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "region" + ]; + + // The body resource for this request + RegionNetworkEndpointGroupsDetachEndpointsRequest region_network_endpoint_groups_detach_endpoints_request_resource = 313193198 [(google.api.field_behavior) = REQUIRED]; + + // An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). end_interface: MixerMutationRequestBuilder + optional string request_id = 37109963; + +} + // A request message for Projects.DisableXpnHost. See the method description for details. message DisableXpnHostProjectRequest { // Project ID for this request. @@ -6228,6 +6798,12 @@ message Disk { // Check the Architecture enum for the list of possible values. optional string architecture = 302803283; + // Disk asynchronously replicated into this disk. + optional DiskAsyncReplication async_primary_disk = 180517533; + + // [Output Only] A list of disks this disk is asynchronously replicated to. + map async_secondary_disks = 322925608; + // [Output Only] Creation timestamp in RFC3339 text format. optional string creation_timestamp = 30525366; @@ -6237,6 +6813,9 @@ message Disk { // Encrypts the disk using a customer-supplied encryption key or a customer-managed encryption key. Encryption keys do not protect access to metadata of the disk. After you encrypt a disk with a customer-supplied key, you must provide the same key if you use the disk later. For example, to create a disk snapshot, to create a disk image, to create a machine image, or to attach the disk to a virtual machine. After you encrypt a disk with a customer-managed key, the diskEncryptionKey.kmsKeyName is set to a key *version* name once the disk is created. The disk is encrypted with this version of the key. In the response, diskEncryptionKey.kmsKeyName appears in the following format: "diskEncryptionKey.kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key /cryptoKeysVersions/version If you do not provide an encryption key when creating the disk, then the disk is encrypted using an automatically generated key and you don't need to provide a key to use the disk later. optional CustomerEncryptionKey disk_encryption_key = 271660677; + // Whether this disk is using confidential compute mode. + optional bool enable_confidential_compute = 102135228; + // A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options. repeated GuestOsFeature guest_os_features = 79294545; @@ -6282,6 +6861,9 @@ message Disk { // Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. Values must be between 10,000 and 120,000. For more details, see the Extreme persistent disk documentation. optional int64 provisioned_iops = 186769108; + // Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle. Values must be between 1 and 7,124. + optional int64 provisioned_throughput = 526524181; + // [Output Only] URL of the region where the disk resides. Only applicable for regional resources. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. optional string region = 138946292; @@ -6291,15 +6873,27 @@ message Disk { // Resource policies applied to this disk for automatic snapshot creations. repeated string resource_policies = 22220385; + // [Output Only] Status information for the disk resource. + optional DiskResourceStatus resource_status = 249429315; + + // Output only. Reserved for future use. + optional bool satisfies_pzi = 480964257; + // [Output Only] Reserved for future use. optional bool satisfies_pzs = 480964267; // [Output Only] Server-defined fully-qualified URL for this resource. optional string self_link = 456214797; - // Size, in GB, of the persistent disk. You can specify this field when creating a persistent disk using the sourceImage, sourceSnapshot, or sourceDisk parameter, or specify it alone to create an empty persistent disk. If you specify this field along with a source, the value of sizeGb must not be less than the size of the source. Acceptable values are 1 to 65536, inclusive. + // Size, in GB, of the persistent disk. You can specify this field when creating a persistent disk using the sourceImage, sourceSnapshot, or sourceDisk parameter, or specify it alone to create an empty persistent disk. If you specify this field along with a source, the value of sizeGb must not be less than the size of the source. Acceptable values are greater than 0. optional int64 size_gb = 494929369; + // [Output Only] URL of the DiskConsistencyGroupPolicy for a secondary disk that was created using a consistency group. + optional string source_consistency_group_policy = 19616093; + + // [Output Only] ID of the DiskConsistencyGroupPolicy for a secondary disk that was created using a consistency group. + optional string source_consistency_group_policy_id = 267568957; + // The source disk used to create this disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - https://www.googleapis.com/compute/v1/projects/project/regions/region /disks/disk - projects/project/zones/zone/disks/disk - projects/project/regions/region/disks/disk - zones/zone/disks/disk - regions/region/disks/disk optional string source_disk = 451753793; @@ -6367,6 +6961,28 @@ message DiskAggregatedList { } +// +message DiskAsyncReplication { + // [Output Only] URL of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group. + optional string consistency_group_policy = 1991097; + + // [Output Only] ID of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group. + optional string consistency_group_policy_id = 261065057; + + // The other disk asynchronously replicated to or from the current disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk + optional string disk = 3083677; + + // [Output Only] The unique ID of the other disk asynchronously replicated to or from the current disk. This value identifies the exact disk that was used to create this replication. For example, if you started replicating the persistent disk from a disk that was later deleted and recreated under the same name, the disk ID would identify the exact version of the disk that was used. + optional string disk_id = 60990205; + +} + +// +message DiskAsyncReplicationList { + optional DiskAsyncReplication async_replication_disk = 231794067; + +} + // A specification of the desired way to instantiate a disk in the instance template when its created from a source instance. message DiskInstantiationConfig { // Specifies whether to include the disk and what image to use. Possible values are: - source-image: to use the same image that was used to create the source instance's corresponding disk. Applicable to the boot disk and additional read-write disks. - source-image-family: to use the same image family that was used to create the source instance's corresponding disk. Applicable to the boot disk and additional read-write disks. - custom-image: to use a user-provided image url for disk creation. Applicable to the boot disk and additional read-write disks. - attach-read-only: to attach a read-only disk. Applicable to read-only disks. - do-not-include: to exclude a disk from the template. Applicable to additional read-write disks, local SSDs, and read-only disks. @@ -6451,6 +7067,47 @@ message DiskParams { } +// +message DiskResourceStatus { + optional DiskResourceStatusAsyncReplicationStatus async_primary_disk = 180517533; + + // Key: disk, value: AsyncReplicationStatus message + map async_secondary_disks = 322925608; + +} + +// +message DiskResourceStatusAsyncReplicationStatus { + // + enum State { + // A value indicating that the enum field is not set. + UNDEFINED_STATE = 0; + + // Replication is active. + ACTIVE = 314733318; + + // Secondary disk is created and is waiting for replication to start. + CREATED = 135924424; + + // Replication is starting. + STARTING = 488820800; + + STATE_UNSPECIFIED = 470755401; + + // Replication is stopped. + STOPPED = 444276141; + + // Replication is stopping. + STOPPING = 350791796; + + } + + // + // Check the State enum for the list of possible values. + optional string state = 109757585; + +} + // Represents a Disk Type resource. Google Compute Engine has two Disk Type resources: * [Regional](/compute/docs/reference/rest/v1/regionDiskTypes) * [Zonal](/compute/docs/reference/rest/v1/diskTypes) You can choose from a variety of disk types based on your needs. For more information, read Storage options. The diskTypes resource represents disk types for a zonal persistent disk. For more information, read Zonal persistent disks. The regionDiskTypes resource represents disk types for a regional persistent disk. For more information, read Regional persistent disks. message DiskType { // [Output Only] Creation timestamp in RFC3339 text format. @@ -6576,6 +7233,20 @@ message DisksScopedList { } +// +message DisksStartAsyncReplicationRequest { + // The secondary disk to start asynchronous replication to. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - https://www.googleapis.com/compute/v1/projects/project/regions/region /disks/disk - projects/project/zones/zone/disks/disk - projects/project/regions/region/disks/disk - zones/zone/disks/disk - regions/region/disks/disk + optional string async_secondary_disk = 131645867; + +} + +// A transient resource used in compute.disks.stopGroupAsyncReplication and compute.regionDisks.stopGroupAsyncReplication. It is only used to process requests and is not persisted. +message DisksStopGroupAsyncReplicationResource { + // The URL of the DiskConsistencyGroupPolicy for the group of disks to stop. This may be a full or partial URL, such as: - https://www.googleapis.com/compute/v1/projects/project/regions/region /resourcePolicies/resourcePolicy - projects/project/regions/region/resourcePolicies/resourcePolicy - regions/region/resourcePolicies/resourcePolicy + optional string resource_policy = 159240835; + +} + // A set of Display Device options message DisplayDevice { // Defines whether the instance has Display enabled. @@ -6593,6 +7264,9 @@ message DistributionPolicy { // The group picks zones for creating VM instances to fulfill the requested number of VMs within present resource constraints and to maximize utilization of unused zonal reservations. Recommended for batch workloads that do not require high availability. ANY = 64972; + // The group creates all VM instances within a single zone. The zone is selected based on the present resource constraints and to maximize utilization of unused zonal reservations. Recommended for batch workloads with heavy interprocess communication. + ANY_SINGLE_ZONE = 61100880; + // The group prioritizes acquisition of resources, scheduling VMs in zones where resources are available while distributing VMs as evenly as possible across selected zones to minimize the impact of zonal failure. Recommended for highly available serving workloads. BALANCED = 468409608; @@ -7172,6 +7846,9 @@ message FirewallPolicyRule { // [Output Only] Calculation of the complexity of a single firewall policy rule. optional int32 rule_tuple_count = 388342037; + // A fully-qualified URL of a SecurityProfile resource instance. Example: https://networksecurity.googleapis.com/v1/projects/{project}/locations/{location}/securityProfileGroups/my-security-profile-group Must be specified if action = 'apply_security_profile_group' and cannot be specified for other actions. + optional string security_profile_group = 207411626; + // A list of network resource URLs to which this rule applies. This field allows you to control which network's VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule. repeated string target_resources = 528230647; @@ -7181,22 +7858,49 @@ message FirewallPolicyRule { // A list of service accounts indicating the sets of instances that are applied with this rule. repeated string target_service_accounts = 457639710; + // Boolean flag indicating if the traffic should be TLS decrypted. Can be set only if action = 'apply_security_profile_group' and cannot be set for other actions. + optional bool tls_inspect = 43425488; + } // Represents a match condition that incoming traffic is evaluated against. Exactly one field must be specified. message FirewallPolicyRuleMatcher { + // Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10. + repeated string dest_address_groups = 468760508; + + // Fully Qualified Domain Name (FQDN) which should be matched against traffic destination. Maximum number of destination fqdn allowed is 100. + repeated string dest_fqdns = 370712737; + // CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000. repeated string dest_ip_ranges = 337357713; + // Region codes whose IP addresses will be used to match for destination of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of dest region codes allowed is 5000. + repeated string dest_region_codes = 199120280; + + // Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic destination. + repeated string dest_threat_intelligences = 119896492; + // Pairs of IP protocols and ports that the rule should match. repeated FirewallPolicyRuleMatcherLayer4Config layer4_configs = 373534261; + // Address groups which should be matched against the traffic source. Maximum number of source address groups is 10. + repeated string src_address_groups = 436423738; + + // Fully Qualified Domain Name (FQDN) which should be matched against traffic source. Maximum number of source fqdn allowed is 100. + repeated string src_fqdns = 435906147; + // CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000. repeated string src_ip_ranges = 432128083; + // Region codes whose IP addresses will be used to match for source of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US" Maximum number of source region codes allowed is 5000. + repeated string src_region_codes = 99086742; + // List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256. repeated FirewallPolicyRuleSecureTag src_secure_tags = 508791302; + // Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic source. + repeated string src_threat_intelligences = 323631018; + } // @@ -7244,7 +7948,7 @@ message FixedOrPercent { } -// Represents a Forwarding Rule resource. Forwarding rule resources in Google Cloud can be either regional or global in scope: * [Global](https://cloud.google.com/compute/docs/reference/rest/v1/globalForwardingRules) * [Regional](https://cloud.google.com/compute/docs/reference/rest/v1/forwardingRules) A forwarding rule and its corresponding IP address represent the frontend configuration of a Google Cloud Platform load balancer. Forwarding rules can also reference target instances and Cloud VPN Classic gateways (targetVpnGateway). For more information, read Forwarding rule concepts and Using protocol forwarding. +// Represents a Forwarding Rule resource. Forwarding rule resources in Google Cloud can be either regional or global in scope: * [Global](https://cloud.google.com/compute/docs/reference/rest/v1/globalForwardingRules) * [Regional](https://cloud.google.com/compute/docs/reference/rest/v1/forwardingRules) A forwarding rule and its corresponding IP address represent the frontend configuration of a Google Cloud load balancer. Forwarding rules can also reference target instances and Cloud VPN Classic gateways (targetVpnGateway). For more information, read Forwarding rule concepts and Using protocol forwarding. message ForwardingRule { // The IP protocol to which this rule applies. For protocol forwarding, valid options are TCP, UDP, ESP, AH, SCTP, ICMP and L3_DEFAULT. The valid IP protocols are different for different load balancing products as described in [Load balancing features](https://cloud.google.com/load-balancing/docs/features#protocols_from_the_load_balancer_to_the_backends). enum IPProtocolEnum { @@ -7349,15 +8053,21 @@ message ForwardingRule { // Check the IPProtocolEnum enum for the list of possible values. optional string I_p_protocol = 488094525; - // This field can only be used: - If IPProtocol is one of TCP, UDP, or SCTP. - By internal TCP/UDP load balancers, backend service-based network load balancers, and internal and external protocol forwarding. Set this field to true to allow packets addressed to any port or packets lacking destination port information (for example, UDP fragments after the first fragment) to be forwarded to the backends configured with this forwarding rule. The ports, port_range, and allPorts fields are mutually exclusive. + // The ports, portRange, and allPorts fields are mutually exclusive. Only packets addressed to ports in the specified range will be forwarded to the backends configured with this forwarding rule. The allPorts field has the following limitations: - It requires that the forwarding rule IPProtocol be TCP, UDP, SCTP, or L3_DEFAULT. - It's applicable only to the following products: internal passthrough Network Load Balancers, backend service-based external passthrough Network Load Balancers, and internal and external protocol forwarding. - Set this field to true to allow packets addressed to any port or packets lacking destination port information (for example, UDP fragments after the first fragment) to be forwarded to the backends configured with this forwarding rule. The L3_DEFAULT protocol requires allPorts be set to true. optional bool all_ports = 445175796; - // This field is used along with the backend_service field for internal load balancing or with the target field for internal TargetInstance. If the field is set to TRUE, clients can access ILB from all regions. Otherwise only allows access from clients in the same region as the internal load balancer. + // If set to true, clients can access the internal passthrough Network Load Balancers, the regional internal Application Load Balancer, and the regional internal proxy Network Load Balancer from all regions. If false, only allows access from the local region the load balancer is located at. Note that for INTERNAL_MANAGED forwarding rules, this field cannot be changed after the forwarding rule is created. optional bool allow_global_access = 499409674; - // Identifies the backend service to which the forwarding rule sends traffic. Required for Internal TCP/UDP Load Balancing and Network Load Balancing; must be omitted for all other load balancer types. + // This is used in PSC consumer ForwardingRule to control whether the PSC endpoint can be accessed from another region. + optional bool allow_psc_global_access = 263471819; + + // Identifies the backend service to which the forwarding rule sends traffic. Required for internal and external passthrough Network Load Balancers; must be omitted for all other load balancer types. optional string backend_service = 306946058; + // [Output Only] The URL for the corresponding base forwarding rule. By base forwarding rule, we mean the forwarding rule that has the same IP address, protocol, and port settings with the current forwarding rule, but without sourceIPRanges specified. Always empty if the current forwarding rule does not have sourceIPRanges specified. + optional string base_forwarding_rule = 524873104; + // [Output Only] Creation timestamp in RFC3339 text format. optional string creation_timestamp = 30525366; @@ -7377,7 +8087,7 @@ message ForwardingRule { // Indicates whether or not this load balancer can be used as a collector for packet mirroring. To prevent mirroring loops, instances behind this load balancer will not have their traffic mirrored even if a PacketMirroring rule applies to them. This can only be set to true for load balancers that have their loadBalancingScheme set to INTERNAL. optional bool is_mirroring_collector = 119255164; - // [Output Only] Type of the resource. Always compute#forwardingRule for Forwarding Rule resources. + // [Output Only] Type of the resource. Always compute#forwardingRule for forwarding rule resources. optional string kind = 3292052; // A fingerprint for the labels being applied to this resource, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a ForwardingRule. @@ -7396,23 +8106,23 @@ message ForwardingRule { // Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. For Private Service Connect forwarding rules that forward traffic to Google APIs, the forwarding rule name must be a 1-20 characters string with lowercase letters and numbers and must start with a letter. optional string name = 3373707; - // This field is not used for external load balancing. For Internal TCP/UDP Load Balancing, this field identifies the network that the load balanced IP should belong to for this Forwarding Rule. If this field is not specified, the default network will be used. For Private Service Connect forwarding rules that forward traffic to Google APIs, a network must be provided. + // This field is not used for global external load balancing. For internal passthrough Network Load Balancers, this field identifies the network that the load balanced IP should belong to for this forwarding rule. If the subnetwork is specified, the network of the subnetwork will be used. If neither subnetwork nor this field is specified, the default network will be used. For Private Service Connect forwarding rules that forward traffic to Google APIs, a network must be provided. optional string network = 232872494; // This signifies the networking tier used for configuring this load balancer and can only take the following values: PREMIUM, STANDARD. For regional ForwardingRule, the valid values are PREMIUM and STANDARD. For GlobalForwardingRule, the valid value is PREMIUM. If this field is not specified, it is assumed to be PREMIUM. If IPAddress is specified, this value must be equal to the networkTier of the Address. // Check the NetworkTier enum for the list of possible values. optional string network_tier = 517397843; - // This is used in PSC consumer ForwardingRule to control whether it should try to auto-generate a DNS zone or not. Non-PSC forwarding rules do not use this field. + // This is used in PSC consumer ForwardingRule to control whether it should try to auto-generate a DNS zone or not. Non-PSC forwarding rules do not use this field. Once set, this field is not mutable. optional bool no_automate_dns_zone = 64546991; - // This field can only be used: - If IPProtocol is one of TCP, UDP, or SCTP. - By backend service-based network load balancers, target pool-based network load balancers, internal proxy load balancers, external proxy load balancers, Traffic Director, external protocol forwarding, and Classic VPN. Some products have restrictions on what ports can be used. See port specifications for details. Only packets addressed to ports in the specified range will be forwarded to the backends configured with this forwarding rule. The ports, port_range, and allPorts fields are mutually exclusive. For external forwarding rules, two or more forwarding rules cannot use the same [IPAddress, IPProtocol] pair, and cannot have overlapping portRanges. For internal forwarding rules within the same VPC network, two or more forwarding rules cannot use the same [IPAddress, IPProtocol] pair, and cannot have overlapping portRanges. @pattern: \\d+(?:-\\d+)? + // The ports, portRange, and allPorts fields are mutually exclusive. Only packets addressed to ports in the specified range will be forwarded to the backends configured with this forwarding rule. The portRange field has the following limitations: - It requires that the forwarding rule IPProtocol be TCP, UDP, or SCTP, and - It's applicable only to the following products: external passthrough Network Load Balancers, internal and external proxy Network Load Balancers, internal and external Application Load Balancers, external protocol forwarding, and Classic VPN. - Some products have restrictions on what ports can be used. See port specifications for details. For external forwarding rules, two or more forwarding rules cannot use the same [IPAddress, IPProtocol] pair, and cannot have overlapping portRanges. For internal forwarding rules within the same VPC network, two or more forwarding rules cannot use the same [IPAddress, IPProtocol] pair, and cannot have overlapping portRanges. @pattern: \\d+(?:-\\d+)? optional string port_range = 217518079; - // This field can only be used: - If IPProtocol is one of TCP, UDP, or SCTP. - By internal TCP/UDP load balancers, backend service-based network load balancers, and internal protocol forwarding. You can specify a list of up to five ports by number, separated by commas. The ports can be contiguous or discontiguous. Only packets addressed to these ports will be forwarded to the backends configured with this forwarding rule. For external forwarding rules, two or more forwarding rules cannot use the same [IPAddress, IPProtocol] pair, and cannot share any values defined in ports. For internal forwarding rules within the same VPC network, two or more forwarding rules cannot use the same [IPAddress, IPProtocol] pair, and cannot share any values defined in ports. The ports, port_range, and allPorts fields are mutually exclusive. @pattern: \\d+(?:-\\d+)? + // The ports, portRange, and allPorts fields are mutually exclusive. Only packets addressed to ports in the specified range will be forwarded to the backends configured with this forwarding rule. The ports field has the following limitations: - It requires that the forwarding rule IPProtocol be TCP, UDP, or SCTP, and - It's applicable only to the following products: internal passthrough Network Load Balancers, backend service-based external passthrough Network Load Balancers, and internal protocol forwarding. - You can specify a list of up to five ports by number, separated by commas. The ports can be contiguous or discontiguous. For external forwarding rules, two or more forwarding rules cannot use the same [IPAddress, IPProtocol] pair if they share at least one port number. For internal forwarding rules within the same VPC network, two or more forwarding rules cannot use the same [IPAddress, IPProtocol] pair if they share at least one port number. @pattern: \\d+(?:-\\d+)? repeated string ports = 106854418; - // [Output Only] The PSC connection id of the PSC Forwarding Rule. + // [Output Only] The PSC connection id of the PSC forwarding rule. optional uint64 psc_connection_id = 292082397; // @@ -7428,16 +8138,19 @@ message ForwardingRule { // Service Directory resources to register this forwarding rule with. Currently, only supports a single Service Directory resource. repeated ForwardingRuleServiceDirectoryRegistration service_directory_registrations = 223549694; - // An optional prefix to the service name for this Forwarding Rule. If specified, the prefix is the first label of the fully qualified service name. The label must be 1-63 characters long, and comply with RFC1035. Specifically, the label must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. This field is only used for internal load balancing. + // An optional prefix to the service name for this forwarding rule. If specified, the prefix is the first label of the fully qualified service name. The label must be 1-63 characters long, and comply with RFC1035. Specifically, the label must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. This field is only used for internal load balancing. optional string service_label = 417008874; - // [Output Only] The internal fully qualified service name for this Forwarding Rule. This field is only used for internal load balancing. + // [Output Only] The internal fully qualified service name for this forwarding rule. This field is only used for internal load balancing. optional string service_name = 359880149; - // This field identifies the subnetwork that the load balanced IP should belong to for this Forwarding Rule, used in internal load balancing and network load balancing with IPv6. If the network specified is in auto subnet mode, this field is optional. However, a subnetwork must be specified if the network is in custom subnet mode or when creating external forwarding rule with IPv6. + // If not empty, this forwarding rule will only forward the traffic when the source IP address matches one of the IP addresses or CIDR ranges set here. Note that a forwarding rule can only have up to 64 source IP ranges, and this field can only be used with a regional forwarding rule whose scheme is EXTERNAL. Each source_ip_range entry should be either an IP address (for example, 1.2.3.4) or a CIDR range (for example, 1.2.3.0/24). + repeated string source_ip_ranges = 111563210; + + // This field identifies the subnetwork that the load balanced IP should belong to for this forwarding rule, used with internal load balancers and external passthrough Network Load Balancers with IPv6. If the network specified is in auto subnet mode, this field is optional. However, a subnetwork must be specified if the network is in custom subnet mode or when creating external forwarding rule with IPv6. optional string subnetwork = 307827694; - // The URL of the target resource to receive the matched traffic. For regional forwarding rules, this target must be in the same region as the forwarding rule. For global forwarding rules, this target must be a global load balancing resource. The forwarded traffic must be of a type appropriate to the target object. - For load balancers, see the "Target" column in [Port specifications](https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications). - For Private Service Connect forwarding rules that forward traffic to Google APIs, provide the name of a supported Google API bundle: - vpc-sc - APIs that support VPC Service Controls. - all-apis - All supported Google APIs. - For Private Service Connect forwarding rules that forward traffic to managed services, the target must be a service attachment. + // The URL of the target resource to receive the matched traffic. For regional forwarding rules, this target must be in the same region as the forwarding rule. For global forwarding rules, this target must be a global load balancing resource. The forwarded traffic must be of a type appropriate to the target object. - For load balancers, see the "Target" column in [Port specifications](https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications). - For Private Service Connect forwarding rules that forward traffic to Google APIs, provide the name of a supported Google API bundle: - vpc-sc - APIs that support VPC Service Controls. - all-apis - All supported Google APIs. - For Private Service Connect forwarding rules that forward traffic to managed services, the target must be a service attachment. The target is not mutable once set as a service attachment. optional string target = 192835985; } @@ -7495,7 +8208,7 @@ message ForwardingRuleReference { } -// Describes the auto-registration of the Forwarding Rule to Service Directory. The region and project of the Service Directory resource generated from this registration will be the same as this Forwarding Rule. +// Describes the auto-registration of the forwarding rule to Service Directory. The region and project of the Service Directory resource generated from this registration will be the same as this forwarding rule. message ForwardingRuleServiceDirectoryRegistration { // Service Directory namespace to register the forwarding rule under. optional string namespace = 178476379; @@ -7503,7 +8216,7 @@ message ForwardingRuleServiceDirectoryRegistration { // Service Directory service to register the forwarding rule under. optional string service = 373540533; - // [Optional] Service Directory region to register this global forwarding rule under. Default to "us-central1". Only used for PSC for Google APIs. All PSC for Google APIs Forwarding Rules on the same network should use the same Service Directory region. + // [Optional] Service Directory region to register this global forwarding rule under. Default to "us-central1". Only used for PSC for Google APIs. All PSC for Google APIs forwarding rules on the same network should use the same Service Directory region. optional string service_directory_region = 74030416; } @@ -7520,7 +8233,7 @@ message ForwardingRulesScopedList { // message GRPCHealthCheck { - // Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. + // Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for passthrough load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for passthrough load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. enum PortSpecification { // A value indicating that the enum field is not set. UNDEFINED_PORT_SPECIFICATION = 0; @@ -7545,7 +8258,7 @@ message GRPCHealthCheck { // Not supported. optional string port_name = 41534345; - // Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. + // Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for passthrough load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for passthrough load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. // Check the PortSpecification enum for the list of possible values. optional string port_specification = 51590597; @@ -7769,7 +8482,7 @@ message GetFromFamilyImageRequest { // Name of the image family to search for. string family = 328751972 [(google.api.field_behavior) = REQUIRED]; - // Project ID for this request. + // The image project that the image belongs to. For example, to get a CentOS image, specify centos-cloud as the image project. string project = 227560217 [(google.api.field_behavior) = REQUIRED]; } @@ -7912,6 +8625,19 @@ message GetHealthTargetPoolRequest { } +// A request message for BackendBuckets.GetIamPolicy. See the method description for details. +message GetIamPolicyBackendBucketRequest { + // Requested IAM Policy version. + optional int32 options_requested_policy_version = 499220029; + + // Project ID for this request. + string project = 227560217 [(google.api.field_behavior) = REQUIRED]; + + // Name or id of the resource for this request. + string resource = 195806222 [(google.api.field_behavior) = REQUIRED]; + +} + // A request message for BackendServices.GetIamPolicy. See the method description for details. message GetIamPolicyBackendServiceRequest { // Requested IAM Policy version. @@ -8300,6 +9026,16 @@ message GetInterconnectLocationRequest { } +// A request message for InterconnectRemoteLocations.Get. See the method description for details. +message GetInterconnectRemoteLocationRequest { + // Name of the interconnect remote location to return. + string interconnect_remote_location = 290153949 [(google.api.field_behavior) = REQUIRED]; + + // Project ID for this request. + string project = 227560217 [(google.api.field_behavior) = REQUIRED]; + +} + // A request message for Interconnects.Get. See the method description for details. message GetInterconnectRequest { // Name of the interconnect to return. @@ -8353,14 +9089,43 @@ message GetMachineTypeRequest { } +// A request message for Interconnects.GetMacsecConfig. See the method description for details. +message GetMacsecConfigInterconnectRequest { + // Name of the interconnect resource to query. + string interconnect = 224601230 [(google.api.field_behavior) = REQUIRED]; + + // Project ID for this request. + string project = 227560217 [(google.api.field_behavior) = REQUIRED]; + +} + +// A request message for Routers.GetNatIpInfo. See the method description for details. +message GetNatIpInfoRouterRequest { + // Name of the nat service to filter the NAT IP information. If it is omitted, all nats for this router will be returned. Name should conform to RFC1035. + optional string nat_name = 425596649; + + // Project ID for this request. + string project = 227560217 [(google.api.field_behavior) = REQUIRED]; + + // Name of the region for this request. + string region = 138946292 [(google.api.field_behavior) = REQUIRED]; + + // Name of the Router resource to query for Nat IP information. The name should conform to RFC1035. + string router = 148608841 [(google.api.field_behavior) = REQUIRED]; + +} + // A request message for Routers.GetNatMappingInfo. See the method description for details. message GetNatMappingInfoRoutersRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) optional uint32 max_results = 54715419; + // Name of the nat service to filter the Nat Mapping information. If it is omitted, all nats for this router will be returned. Name should conform to RFC1035. + optional string nat_name = 425596649; + // Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. optional string order_by = 160562920; @@ -8639,6 +9404,19 @@ message GetRegionInstanceGroupRequest { } +// A request message for RegionInstanceTemplates.Get. See the method description for details. +message GetRegionInstanceTemplateRequest { + // The name of the instance template. + string instance_template = 309248228 [(google.api.field_behavior) = REQUIRED]; + + // Project ID for this request. + string project = 227560217 [(google.api.field_behavior) = REQUIRED]; + + // The name of the region for this request. + string region = 138946292 [(google.api.field_behavior) = REQUIRED]; + +} + // A request message for RegionNetworkEndpointGroups.Get. See the method description for details. message GetRegionNetworkEndpointGroupRequest { // The name of the network endpoint group. It should comply with RFC1035. @@ -8896,6 +9674,22 @@ message GetRuleRegionNetworkFirewallPolicyRequest { } +// A request message for RegionSecurityPolicies.GetRule. See the method description for details. +message GetRuleRegionSecurityPolicyRequest { + // The priority of the rule to get from the security policy. + optional int32 priority = 445151652; + + // Project ID for this request. + string project = 227560217 [(google.api.field_behavior) = REQUIRED]; + + // Name of the region scoping this request. + string region = 138946292 [(google.api.field_behavior) = REQUIRED]; + + // Name of the security policy to which the queried rule belongs. + string security_policy = 171082513 [(google.api.field_behavior) = REQUIRED]; + +} + // A request message for SecurityPolicies.GetRule. See the method description for details. message GetRuleSecurityPolicyRequest { // The priority of the rule to get from the security policy. @@ -8987,6 +9781,13 @@ message GetSnapshotRequest { } +// A request message for SnapshotSettingsService.Get. See the method description for details. +message GetSnapshotSettingRequest { + // Project ID for this request. + string project = 227560217 [(google.api.field_behavior) = REQUIRED]; + +} + // A request message for SslCertificates.Get. See the method description for details. message GetSslCertificateRequest { // Project ID for this request. @@ -9167,7 +9968,7 @@ message GetXpnHostProjectRequest { // A request message for Projects.GetXpnResources. See the method description for details. message GetXpnResourcesProjectsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -9213,6 +10014,16 @@ message GetZoneRequest { } +// +message GlobalAddressesMoveRequest { + // An optional destination address description if intended to be different from the source. + optional string description = 422937596; + + // The URL of the destination address to move to. This can be a full or partial URL. For example, the following are all valid URLs to a address: - https://www.googleapis.com/compute/v1/projects/project /global/addresses/address - projects/project/global/addresses/address Note that destination project must be different from the source project. So /global/addresses/address is not valid partial url. + optional string destination_address = 371693763; + +} + // message GlobalNetworkEndpointGroupsAttachEndpointsRequest { // The list of network endpoints to be attached. @@ -9306,7 +10117,7 @@ message GuestAttributesValue { // Guest OS features. message GuestOsFeature { - // The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_SNP_CAPABLE For more information, see Enabling guest operating system features. + // The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE - TDX_CAPABLE - IDPF For more information, see Enabling guest operating system features. enum Type { // A value indicating that the enum field is not set. UNDEFINED_TYPE = 0; @@ -9315,12 +10126,18 @@ message GuestOsFeature { GVNIC = 68209305; + IDPF = 2242641; + MULTI_IP_SUBNET = 151776719; SECURE_BOOT = 376811194; SEV_CAPABLE = 87083793; + SEV_LIVE_MIGRATABLE = 392039820; + + SEV_LIVE_MIGRATABLE_V2 = 168551983; + SEV_SNP_CAPABLE = 426919; UEFI_COMPATIBLE = 195865408; @@ -9331,7 +10148,7 @@ message GuestOsFeature { } - // The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_SNP_CAPABLE For more information, see Enabling guest operating system features. + // The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE - TDX_CAPABLE - IDPF For more information, see Enabling guest operating system features. // Check the Type enum for the list of possible values. optional string type = 3575610; @@ -9339,7 +10156,7 @@ message GuestOsFeature { // message HTTP2HealthCheck { - // Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. + // Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for passthrough load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for passthrough load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. enum PortSpecification { // A value indicating that the enum field is not set. UNDEFINED_PORT_SPECIFICATION = 0; @@ -9375,7 +10192,7 @@ message HTTP2HealthCheck { // Not supported. optional string port_name = 41534345; - // Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. + // Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for passthrough load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for passthrough load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. // Check the PortSpecification enum for the list of possible values. optional string port_specification = 51590597; @@ -9393,7 +10210,7 @@ message HTTP2HealthCheck { // message HTTPHealthCheck { - // Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Also supported in legacy HTTP health checks for target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. + // Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for passthrough load balancers and backend services for proxy load balancers. Also supported in legacy HTTP health checks for target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. enum PortSpecification { // A value indicating that the enum field is not set. UNDEFINED_PORT_SPECIFICATION = 0; @@ -9429,7 +10246,7 @@ message HTTPHealthCheck { // Not supported. optional string port_name = 41534345; - // Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Also supported in legacy HTTP health checks for target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. + // Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for passthrough load balancers and backend services for proxy load balancers. Also supported in legacy HTTP health checks for target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. // Check the PortSpecification enum for the list of possible values. optional string port_specification = 51590597; @@ -9447,7 +10264,7 @@ message HTTPHealthCheck { // message HTTPSHealthCheck { - // Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. + // Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for passthrough load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for passthrough load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. enum PortSpecification { // A value indicating that the enum field is not set. UNDEFINED_PORT_SPECIFICATION = 0; @@ -9483,7 +10300,7 @@ message HTTPSHealthCheck { // Not supported. optional string port_name = 41534345; - // Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. + // Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for passthrough load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for passthrough load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. // Check the PortSpecification enum for the list of possible values. optional string port_specification = 51590597; @@ -9499,7 +10316,7 @@ message HTTPSHealthCheck { } -// Represents a Health Check resource. Google Compute Engine has two Health Check resources: * [Global](/compute/docs/reference/rest/v1/healthChecks) * [Regional](/compute/docs/reference/rest/v1/regionHealthChecks) Internal HTTP(S) load balancers must use regional health checks (`compute.v1.regionHealthChecks`). Traffic Director must use global health checks (`compute.v1.HealthChecks`). Internal TCP/UDP load balancers can use either regional or global health checks (`compute.v1.regionHealthChecks` or `compute.v1.HealthChecks`). External HTTP(S), TCP proxy, and SSL proxy load balancers as well as managed instance group auto-healing must use global health checks (`compute.v1.HealthChecks`). Backend service-based network load balancers must use regional health checks (`compute.v1.regionHealthChecks`). Target pool-based network load balancers must use legacy HTTP health checks (`compute.v1.httpHealthChecks`). For more information, see Health checks overview. +// Represents a health check resource. Google Compute Engine has two health check resources: * [Regional](/compute/docs/reference/rest/v1/regionHealthChecks) * [Global](/compute/docs/reference/rest/v1/healthChecks) These health check resources can be used for load balancing and for autohealing VMs in a managed instance group (MIG). **Load balancing** Health check requirements vary depending on the type of load balancer. For details about the type of health check supported for each load balancer and corresponding backend type, see Health checks overview: Load balancer guide. **Autohealing in MIGs** The health checks that you use for autohealing VMs in a MIG can be either regional or global. For more information, see Set up an application health check and autohealing. For more information, see Health checks overview. message HealthCheck { // Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS, HTTP2 or GRPC. Exactly one of the protocol-specific health check fields must be specified, which must match type field. enum Type { @@ -9730,7 +10547,7 @@ message HealthChecksScopedList { // message HealthStatus { - // Health state of the instance. + // Health state of the IPv4 address of the instance. enum HealthState { // A value indicating that the enum field is not set. UNDEFINED_HEALTH_STATE = 0; @@ -9769,7 +10586,7 @@ message HealthStatus { // A forwarding rule IP address assigned to this instance. optional string forwarding_rule_ip = 172250632; - // Health state of the instance. + // Health state of the IPv4 address of the instance. // Check the HealthState enum for the list of possible values. optional string health_state = 324007150; @@ -9797,12 +10614,16 @@ message HealthStatusForNetworkEndpoint { // A value indicating that the enum field is not set. UNDEFINED_HEALTH_STATE = 0; + // Endpoint is being drained. DRAINING = 480455402; + // Endpoint is healthy. HEALTHY = 439801213; + // Endpoint is unhealthy. UNHEALTHY = 462118084; + // Health status of the endpoint is unknown. UNKNOWN = 433141802; } @@ -10021,7 +10842,7 @@ message HttpRouteAction { // The specification for allowing client-side cross-origin requests. For more information about the W3C recommendation for cross-origin resource sharing (CORS), see Fetch API Living Standard. Not supported when the URL map is bound to a target gRPC proxy. optional CorsPolicy cors_policy = 398943748; - // The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy if: 1. The traffic is generated by fault injection AND 2. The fault injection is not a delay fault injection. Fault injection is not supported with the global external HTTP(S) load balancer (classic). To see which load balancers support fault injection, see Load balancing: Routing and traffic management features. + // The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy if: 1. The traffic is generated by fault injection AND 2. The fault injection is not a delay fault injection. Fault injection is not supported with the classic Application Load Balancer . To see which load balancers support fault injection, see Load balancing: Routing and traffic management features. optional HttpFaultInjection fault_injection_policy = 412781079; // Specifies the maximum duration (timeout) for streams on the selected route. Unlike the timeout field where the timeout duration starts from the time the request has been fully processed (known as *end-of-stream*), the duration in this field is computed from the beginning of the stream until the response has been processed, including all retries. A stream that does not complete in this duration is closed. If not specified, this field uses the maximum maxStreamDuration value among all backend services associated with the route. This field is only allowed if the Url map is used with backend services with loadBalancingScheme set to INTERNAL_SELF_MANAGED. @@ -10036,7 +10857,7 @@ message HttpRouteAction { // Specifies the timeout for the selected route. Timeout is computed from the time the request has been fully processed (known as *end-of-stream*) up until the response has been processed. Timeout includes all retries. If not specified, this field uses the largest timeout among all backend services associated with the route. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true. optional Duration timeout = 296701281; - // The spec to modify the URL of the request, before forwarding the request to the matched service. urlRewrite is the only action supported in UrlMaps for external HTTP(S) load balancers. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true. + // The spec to modify the URL of the request, before forwarding the request to the matched service. urlRewrite is the only action supported in UrlMaps for classic Application Load Balancers. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true. optional UrlRewrite url_rewrite = 273333948; // A list of weighted backend services to send traffic to when a route match occurs. The weights determine the fraction of traffic that flows to their corresponding backend service. If all traffic needs to go to a single backend service, there must be one weightedBackendService with weight set to a non-zero number. After a backend service is identified and before forwarding the request to the backend service, advanced routing actions such as URL rewrites and header transformations are applied depending on additional settings specified in this HttpRouteAction. @@ -10058,7 +10879,7 @@ message HttpRouteRule { // For routeRules within a given pathMatcher, priority determines the order in which a load balancer interprets routeRules. RouteRules are evaluated in order of priority, from the lowest to highest number. The priority of a rule decreases as its number increases (1, 2, 3, N+1). The first rule that matches the request is applied. You cannot configure two or more routeRules with the same priority. Priority for each rule must be set to a number from 0 to 2147483647 inclusive. Priority numbers can have gaps, which enable you to add or remove rules in the future without affecting the rest of the rules. For example, 1, 2, 3, 4, 5, 9, 12, 16 is a valid series of priority numbers to which you could add rules numbered from 6 to 8, 10 to 11, and 13 to 15 in the future without any impact on existing rules. optional int32 priority = 445151652; - // In response to a matching matchRule, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of urlRedirect, service or routeAction.weightedBackendService must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within a route rule's routeAction. + // In response to a matching matchRule, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of urlRedirect, service or routeAction.weightedBackendService must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a route rule's routeAction. optional HttpRouteAction route_action = 424563948; // The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set. @@ -10083,6 +10904,9 @@ message HttpRouteRuleMatch { // Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to the load balancer, xDS clients present node metadata. When there is a match, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. If multiple metadata filters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here is applied after those specified in ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true. repeated MetadataFilter metadata_filters = 464725739; + // If specified, the route is a pattern match expression that must match the :path header once the query string is removed. A pattern match allows you to match - The value must be between 1 and 1024 characters - The pattern must start with a leading slash ("/") - There may be no more than 5 operators in pattern Precisely one of prefix_match, full_path_match, regex_match or path_template_match must be set. + optional string path_template_match = 292348186; + // For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch. prefixMatch must begin with a /. The value must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. optional string prefix_match = 257898968; @@ -10159,7 +10983,10 @@ message Image { // Size of the image when restored onto a persistent disk (in GB). optional int64 disk_size_gb = 316263735; - // The name of the image family to which this image belongs. You can create disks by specifying an image family instead of a specific image name. The image family always returns its latest image that is not deprecated. The name of the image family must comply with RFC1035. + // Whether this image is created from a confidential compute mode disk. [Output Only]: This field is not set by user, but from source disk. + optional bool enable_confidential_compute = 102135228; + + // The name of the image family to which this image belongs. The image family name can be from a publicly managed image family provided by Compute Engine, or from a custom image family you create. For example, centos-stream-9 is a publicly available image family. For more information, see Image family best practices. When creating disks, you can specify an image family instead of a specific image name. The image family always returns its latest image that is not deprecated. The name of the image family must comply with RFC1035. optional string family = 328751972; // A list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available options, see the guestOSfeatures[].type parameter. @@ -10192,6 +11019,9 @@ message Image { // The parameters of the raw disk image. optional RawDisk raw_disk = 503113556; + // Output only. Reserved for future use. + optional bool satisfies_pzi = 480964257; + // [Output Only] Reserved for future use. optional bool satisfies_pzs = 480964267; @@ -11085,6 +11915,28 @@ message InsertRegionInstanceGroupManagerRequest { } +// A request message for RegionInstanceTemplates.Insert. See the method description for details. +message InsertRegionInstanceTemplateRequest { + // The body resource for this request + InstanceTemplate instance_template_resource = 10679561 [(google.api.field_behavior) = REQUIRED]; + + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // The name of the region for this request. + string region = 138946292 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "region" + ]; + + // An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + optional string request_id = 37109963; + +} + // A request message for RegionNetworkEndpointGroups.Insert. See the method description for details. message InsertRegionNetworkEndpointGroupRequest { // The body resource for this request @@ -11746,7 +12598,7 @@ message Instance { // A value indicating that the enum field is not set. UNDEFINED_STATUS = 0; - // The Nanny is halted and we are performing tear down tasks like network deprogramming, releasing quota, IP, tearing down disks etc. + // The instance is halted and we are performing tear down tasks like network deprogramming, releasing quota, IP, tearing down disks etc. DEPROVISIONING = 428935662; // Resources are being allocated for the instance. @@ -11816,6 +12668,9 @@ message Instance { // [Output Only] The unique identifier for the resource. This identifier is defined by the server. optional uint64 id = 3355; + // Encrypts suspended data for an instance with a customer-managed encryption key. If you are creating a new instance, this field will encrypt the local SSD and in-memory contents of the instance during the suspend operation. If you do not provide an encryption key when creating the instance, then the local SSD and in-memory contents will be encrypted using an automatically generated key during the suspend operation. + optional CustomerEncryptionKey instance_encryption_key = 64741517; + // KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. // Check the KeyRevocationActionType enum for the list of possible values. optional string key_revocation_action_type = 235941474; @@ -11871,6 +12726,9 @@ message Instance { // [Output Only] Specifies values set for instance attributes as compared to the values requested by user in the corresponding input only field. optional ResourceStatus resource_status = 249429315; + // [Output Only] Reserved for future use. + optional bool satisfies_pzi = 480964257; + // [Output Only] Reserved for future use. optional bool satisfies_pzs = 480964267; @@ -12067,6 +12925,9 @@ message InstanceGroupManager { } + // Specifies configuration that overrides the instance template configuration for the group. + optional InstanceGroupManagerAllInstancesConfig all_instances_config = 112596737; + // The autohealing policy for this managed instance group. You can specify only one value. repeated InstanceGroupManagerAutoHealingPolicy auto_healing_policies = 456799109; @@ -12094,6 +12955,9 @@ message InstanceGroupManager { // [Output Only] The URL of the Instance Group resource. optional string instance_group = 81095253; + // The repair policy for this managed instance group. + optional InstanceGroupManagerInstanceLifecyclePolicy instance_lifecycle_policy = 447961617; + // The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE. optional string instance_template = 309248228; @@ -12207,16 +13071,42 @@ message InstanceGroupManagerAggregatedList { } +// +message InstanceGroupManagerAllInstancesConfig { + // Properties to set on all instances in the group. You can add or modify properties using the instanceGroupManagers.patch or regionInstanceGroupManagers.patch. After setting allInstancesConfig on the group, you must update the group's instances to apply the configuration. To apply the configuration, set the group's updatePolicy.type field to use proactive updates or use the applyUpdatesToInstances method. + optional InstancePropertiesPatch properties = 147688755; + +} + // message InstanceGroupManagerAutoHealingPolicy { // The URL for the health check that signals autohealing. optional string health_check = 308876645; - // The number of seconds that the managed instance group waits before it applies autohealing policies to new instances or recently recreated instances. This initial delay allows instances to initialize and run their startup scripts before the instance group determines that they are UNHEALTHY. This prevents the managed instance group from recreating its instances prematurely. This value must be from range [0, 3600]. + // The initial delay is the number of seconds that a new VM takes to initialize and run its startup script. During a VM's initial delay period, the MIG ignores unsuccessful health checks because the VM might be in the startup process. This prevents the MIG from prematurely recreating a VM. If the health check receives a healthy response during the initial delay, it indicates that the startup process is complete and the VM is ready. The value of initial delay must be between 0 and 3600 seconds. The default value is 0. optional int32 initial_delay_sec = 263207002; } +// +message InstanceGroupManagerInstanceLifecyclePolicy { + // A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair. + enum ForceUpdateOnRepair { + // A value indicating that the enum field is not set. + UNDEFINED_FORCE_UPDATE_ON_REPAIR = 0; + + NO = 2497; + + YES = 87751; + + } + + // A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair. + // Check the ForceUpdateOnRepair enum for the list of possible values. + optional string force_update_on_repair = 356302027; + +} + // [Output Only] A list of managed instance groups. message InstanceGroupManagerList { // [Output Only] Unique identifier for the resource; defined by the server. @@ -12241,6 +13131,9 @@ message InstanceGroupManagerList { // message InstanceGroupManagerStatus { + // [Output only] Status of all-instances configuration on the group. + optional InstanceGroupManagerStatusAllInstancesConfig all_instances_config = 112596737; + // [Output Only] The URL of the Autoscaler that targets this instance group manager. optional string autoscaler = 517258967; @@ -12255,6 +13148,16 @@ message InstanceGroupManagerStatus { } +// +message InstanceGroupManagerStatusAllInstancesConfig { + // [Output Only] Current all-instances configuration revision. This value is in RFC3339 text format. + optional string current_revision = 38355937; + + // [Output Only] A bit indicating whether this configuration has been applied to all managed instances in the group. + optional bool effective = 141961639; + +} + // message InstanceGroupManagerStatusStateful { // [Output Only] A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions. @@ -12303,7 +13206,7 @@ message InstanceGroupManagerUpdatePolicy { } - // Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all. + // Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to avoid restarting the VM and to limit disruption as much as possible. RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all. // Additional supported values which may be not listed in the enum directly due to technical reasons: // NONE // REFRESH @@ -12328,14 +13231,14 @@ message InstanceGroupManagerUpdatePolicy { } - // The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls). + // The type of update process. You can specify either PROACTIVE so that the MIG automatically updates VMs to the latest configurations or OPPORTUNISTIC so that you can select the VMs that you want to update. // Additional supported values which may be not listed in the enum directly due to technical reasons: // PROACTIVE enum Type { // A value indicating that the enum field is not set. UNDEFINED_TYPE = 0; - // No action is being proactively performed in order to bring this IGM to its target version distribution (regardless of whether this distribution is expressed using instanceTemplate or versions field). + // MIG will apply new configurations to existing VMs only when you selectively target specific or all VMs to be updated. OPPORTUNISTIC = 429530089; } @@ -12354,7 +13257,7 @@ message InstanceGroupManagerUpdatePolicy { // Check the MinimalAction enum for the list of possible values. optional string minimal_action = 270567060; - // Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all. + // Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to avoid restarting the VM and to limit disruption as much as possible. RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all. // Check the MostDisruptiveAllowedAction enum for the list of possible values. optional string most_disruptive_allowed_action = 66103053; @@ -12362,7 +13265,7 @@ message InstanceGroupManagerUpdatePolicy { // Check the ReplacementMethod enum for the list of possible values. optional string replacement_method = 505931694; - // The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls). + // The type of update process. You can specify either PROACTIVE so that the MIG automatically updates VMs to the latest configurations or OPPORTUNISTIC so that you can select the VMs that you want to update. // Check the Type enum for the list of possible values. optional string type = 3575610; @@ -12390,7 +13293,7 @@ message InstanceGroupManagersAbandonInstancesRequest { // InstanceGroupManagers.applyUpdatesToInstances message InstanceGroupManagersApplyUpdatesRequest { - // The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update. + // The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance and limit disruption as much as possible. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update. // Additional supported values which may be not listed in the enum directly due to technical reasons: // NONE // REFRESH @@ -12402,7 +13305,7 @@ message InstanceGroupManagersApplyUpdatesRequest { } - // The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail. + // The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance and limit disruption as much as possible. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail. // Additional supported values which may be not listed in the enum directly due to technical reasons: // NONE // REFRESH @@ -12414,17 +13317,17 @@ message InstanceGroupManagersApplyUpdatesRequest { } - // Flag to update all instances instead of specified list of ���instances���. If the flag is set to true then the instances may not be specified in the request. + // Flag to update all instances instead of specified list of “instances”. If the flag is set to true then the instances may not be specified in the request. optional bool all_instances = 403676512; // The list of URLs of one or more instances for which you want to apply updates. Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]. repeated string instances = 29097598; - // The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update. + // The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance and limit disruption as much as possible. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update. // Check the MinimalAction enum for the list of possible values. optional string minimal_action = 270567060; - // The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail. + // The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance and limit disruption as much as possible. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail. // Check the MostDisruptiveAllowedAction enum for the list of possible values. optional string most_disruptive_allowed_action = 66103053; @@ -12439,7 +13342,7 @@ message InstanceGroupManagersCreateInstancesRequest { // message InstanceGroupManagersDeleteInstancesRequest { - // The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]. + // The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]. Queued instances do not have URL and can be deleted only by name. One cannot specify both URLs and names in a single request. repeated string instances = 29097598; // Specifies whether the request should proceed despite the inclusion of instances that are not members of the group or that are already in the process of being deleted or abandoned. If this field is set to `false` and such an instance is specified in the request, the operation fails. The operation always fails if the request contains a malformed instance URL or a reference to an instance that exists in a zone or region other than the group's zone or region. @@ -12857,6 +13760,16 @@ message InstanceProperties { } +// Represents the change that you want to make to the instance properties. +message InstancePropertiesPatch { + // The label key-value pairs that you want to patch onto the instance. + map labels = 500195327; + + // The metadata key-value pairs that you want to patch onto the instance. For more information, see Project and instance metadata. + map metadata = 86866735; + +} + // message InstanceReference { // The URL for a specific instance. @required compute.instancegroups.addInstances/removeInstances @@ -12864,7 +13777,7 @@ message InstanceReference { } -// Represents an Instance Template resource. You can use instance templates to create VM instances and managed instance groups. For more information, read Instance Templates. +// Represents an Instance Template resource. Google Compute Engine has two Instance Template resources: * [Global](/compute/docs/reference/rest/v1/instanceTemplates) * [Regional](/compute/docs/reference/rest/v1/regionInstanceTemplates) You can reuse a global instance template in different regions whereas you can use a regional instance template in a specified region only. If you want to reduce cross-region dependency or achieve data residency, use a regional instance template. To create VMs, managed instance groups, and reservations, you can use either global or regional instance templates. For more information, read Instance Templates. message InstanceTemplate { // [Output Only] The creation timestamp for this instance template in RFC3339 text format. optional string creation_timestamp = 30525366; @@ -12884,6 +13797,9 @@ message InstanceTemplate { // The instance properties for this instance template. optional InstanceProperties properties = 147688755; + // [Output Only] URL of the region where the instance template resides. Only applicable for regional resources. + optional string region = 138946292; + // [Output Only] The URL for this instance template. The server defines this URL. optional string self_link = 456214797; @@ -12895,6 +13811,28 @@ message InstanceTemplate { } +// Contains a list of InstanceTemplatesScopedList. +message InstanceTemplateAggregatedList { + // [Output Only] Unique identifier for the resource; defined by the server. + optional string id = 3355; + + // A list of InstanceTemplatesScopedList resources. + map items = 100526016; + + // Type of resource. + optional string kind = 3292052; + + // [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + optional string next_page_token = 79797525; + + // [Output Only] Server-defined URL for this resource. + optional string self_link = 456214797; + + // [Output Only] Informational warning message. + optional Warning warning = 50704284; + +} + // A list of instance templates. message InstanceTemplateList { // [Output Only] Unique identifier for the resource; defined by the server. @@ -12917,6 +13855,16 @@ message InstanceTemplateList { } +// +message InstanceTemplatesScopedList { + // [Output Only] A list of instance templates that are contained within the specified project and zone. + repeated InstanceTemplate instance_templates = 459889679; + + // [Output Only] An informational warning that replaces the list of instance templates when the list is empty. + optional Warning warning = 50704284; + +} + // message InstanceWithNamedPorts { // [Output Only] The status of the instance. @@ -12924,7 +13872,7 @@ message InstanceWithNamedPorts { // A value indicating that the enum field is not set. UNDEFINED_STATUS = 0; - // The Nanny is halted and we are performing tear down tasks like network deprogramming, releasing quota, IP, tearing down disks etc. + // The instance is halted and we are performing tear down tasks like network deprogramming, releasing quota, IP, tearing down disks etc. DEPROVISIONING = 428935662; // Resources are being allocated for the instance. @@ -12975,6 +13923,13 @@ message InstancesAddResourcePoliciesRequest { } +// +message InstancesBulkInsertOperationMetadata { + // Status information per location (location name is key). Example key: zones/us-central1-a + map per_location_status = 167851162; + +} + // message InstancesGetEffectiveFirewallsResponse { // Effective firewalls from firewall policies. @@ -13067,6 +14022,26 @@ message InstancesSetMinCpuPlatformRequest { } +// +message InstancesSetNameRequest { + // The current name of this resource, used to prevent conflicts. Provide the latest name when making a request to change name. + optional string current_name = 394983825; + + // The name to be applied to the instance. Needs to be RFC 1035 compliant. + optional string name = 3373707; + +} + +// +message InstancesSetSecurityPolicyRequest { + // The network interfaces that the security policy will be applied to. Network interfaces use the nicN naming format. You can only set a security policy for network interfaces with an access config. + repeated string network_interfaces = 52735243; + + // A full or partial URL to a security policy to add to this instance. If this field is set to an empty string it will remove the associated security policy. + optional string security_policy = 171082513; + +} + // message InstancesSetServiceAccountRequest { // Email address of the service account. @@ -13094,8 +14069,17 @@ message Int64RangeMatch { } -// Represents an Interconnect resource. An Interconnect resource is a dedicated connection between the GCP network and your on-premises network. For more information, read the Dedicated Interconnect Overview. +// Represents an Interconnect resource. An Interconnect resource is a dedicated connection between the Google Cloud network and your on-premises network. For more information, read the Dedicated Interconnect Overview. message Interconnect { + // + // Additional supported values which may be not listed in the enum directly due to technical reasons: + // IF_MACSEC + enum AvailableFeatures { + // A value indicating that the enum field is not set. + UNDEFINED_AVAILABLE_FEATURES = 0; + + } + // Type of interconnect, which can take one of the following values: - PARTNER: A partner-managed interconnection shared between customers though a partner. - DEDICATED: A dedicated physical interconnection with the customer. Note that a value IT_PRIVATE has been deprecated in favor of DEDICATED. enum InterconnectType { // A value indicating that the enum field is not set. @@ -13138,6 +14122,15 @@ message Interconnect { } + // + // Additional supported values which may be not listed in the enum directly due to technical reasons: + // IF_MACSEC + enum RequestedFeatures { + // A value indicating that the enum field is not set. + UNDEFINED_REQUESTED_FEATURES = 0; + + } + // [Output Only] The current state of Interconnect functionality, which can take one of the following values: - ACTIVE: The Interconnect is valid, turned up and ready to use. Attachments may be provisioned on this Interconnect. - UNPROVISIONED: The Interconnect has not completed turnup. No attachments may be provisioned on this Interconnect. - UNDER_MAINTENANCE: The Interconnect is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect. enum State { // A value indicating that the enum field is not set. @@ -13154,6 +14147,10 @@ message Interconnect { // Administrative status of the interconnect. When this is set to true, the Interconnect is functional and can carry traffic. When set to false, no packets can be carried over the interconnect and no BGP routes are exchanged over it. By default, the status is set to true. optional bool admin_enabled = 445675089; + // [Output only] List of features available for this Interconnect connection, which can take one of the following values: - MACSEC If present then the Interconnect connection is provisioned on MACsec capable hardware ports. If not present then the Interconnect connection is provisioned on non-MACsec capable ports and MACsec isn't supported and enabling MACsec fails. + // Check the AvailableFeatures enum for the list of possible values. + repeated string available_features = 496344307; + // [Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG. repeated InterconnectCircuitInfo circuit_infos = 164839855; @@ -13188,6 +14185,12 @@ message Interconnect { // [Output Only] Type of the resource. Always compute#interconnect for interconnects. optional string kind = 3292052; + // A fingerprint for the labels being applied to this Interconnect, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an Interconnect. + optional string label_fingerprint = 178124825; + + // Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty. + map labels = 500195327; + // Type of link requested, which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics. Note that this field indicates the speed of each of the links in the bundle, not the speed of the entire bundle. // Check the LinkType enum for the list of possible values. optional string link_type = 523207775; @@ -13195,6 +14198,12 @@ message Interconnect { // URL of the InterconnectLocation object that represents where this connection is to be provisioned. optional string location = 290430901; + // Configuration that enables Media Access Control security (MACsec) on the Cloud Interconnect connection between Google and your on-premises router. + optional InterconnectMacsec macsec = 528867490; + + // Enable or disable MACsec on this Interconnect connection. MACsec enablement fails if the MACsec object is not specified. + optional bool macsec_enabled = 194203812; + // Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. optional string name = 3373707; @@ -13211,10 +14220,17 @@ message Interconnect { // [Output Only] Number of links actually provisioned in this interconnect. optional int32 provisioned_link_count = 410888565; + // Indicates that this is a Cross-Cloud Interconnect. This field specifies the location outside of Google's network that the interconnect is connected to. + optional string remote_location = 324388750; + + // Optional. List of features requested for this Interconnect connection, which can take one of the following values: - MACSEC If specified then the connection is created on MACsec capable hardware ports. If not specified, the default value is false, which allocates non-MACsec capable ports first if available. This parameter can be provided only with Interconnect INSERT. It isn't valid for Interconnect PATCH. + // Check the RequestedFeatures enum for the list of possible values. + repeated string requested_features = 461240814; + // Target number of physical links in the link bundle, as requested by the customer. optional int32 requested_link_count = 45051387; - // [Output Only] Set to true if the resource satisfies the zone separation organization policy constraints and false otherwise. Defaults to false if the field is not present. + // [Output Only] Reserved for future use. optional bool satisfies_pzs = 480964267; // [Output Only] Server-defined URL for the resource. @@ -13388,6 +14404,9 @@ message InterconnectAttachment { // This field is not available. optional string cloud_router_ipv6_interface_id = 521282701; + // [Output Only] Constraints for this attachment, if any. The attachment does not work if these constraints are not met. + optional InterconnectAttachmentConfigurationConstraints configuration_constraints = 179681389; + // [Output Only] Creation timestamp in RFC3339 text format. optional string creation_timestamp = 30525366; @@ -13423,12 +14442,18 @@ message InterconnectAttachment { // URL of the underlying Interconnect object that this attachment's traffic will traverse through. optional string interconnect = 224601230; - // A list of URLs of addresses that have been reserved for the VLAN attachment. Used only for the VLAN attachment that has the encryption option as IPSEC. The addresses must be regional internal IP address ranges. When creating an HA VPN gateway over the VLAN attachment, if the attachment is configured to use a regional internal IP address, then the VPN gateway's IP address is allocated from the IP address range specified here. For example, if the HA VPN gateway's interface 0 is paired to this VLAN attachment, then a regional internal IP address for the VPN gateway interface 0 will be allocated from the IP address specified for this VLAN attachment. If this field is not specified when creating the VLAN attachment, then later on when creating an HA VPN gateway on this VLAN attachment, the HA VPN gateway's IP address is allocated from the regional external IP address pool. Not currently available publicly. + // A list of URLs of addresses that have been reserved for the VLAN attachment. Used only for the VLAN attachment that has the encryption option as IPSEC. The addresses must be regional internal IP address ranges. When creating an HA VPN gateway over the VLAN attachment, if the attachment is configured to use a regional internal IP address, then the VPN gateway's IP address is allocated from the IP address range specified here. For example, if the HA VPN gateway's interface 0 is paired to this VLAN attachment, then a regional internal IP address for the VPN gateway interface 0 will be allocated from the IP address specified for this VLAN attachment. If this field is not specified when creating the VLAN attachment, then later on when creating an HA VPN gateway on this VLAN attachment, the HA VPN gateway's IP address is allocated from the regional external IP address pool. repeated string ipsec_internal_addresses = 407648565; // [Output Only] Type of the resource. Always compute#interconnectAttachment for interconnect attachments. optional string kind = 3292052; + // A fingerprint for the labels being applied to this InterconnectAttachment, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an InterconnectAttachment. + optional string label_fingerprint = 178124825; + + // Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty. + map labels = 500195327; + // Maximum Transmission Unit (MTU), in bytes, of packets passing through this interconnect attachment. Only 1440 and 1500 are allowed. If not specified, the value will default to 1440. optional int32 mtu = 108462; @@ -13439,13 +14464,13 @@ message InterconnectAttachment { // Check the OperationalStatus enum for the list of possible values. optional string operational_status = 201070847; - // [Output only for type PARTNER. Input only for PARTNER_PROVIDER. Not present for DEDICATED]. The opaque identifier of an PARTNER attachment used to initiate provisioning with a selected partner. Of the form "XXXXX/region/domain" + // [Output only for type PARTNER. Input only for PARTNER_PROVIDER. Not present for DEDICATED]. The opaque identifier of a PARTNER attachment used to initiate provisioning with a selected partner. Of the form "XXXXX/region/domain" optional string pairing_key = 439695464; // Optional BGP ASN for the router supplied by a Layer 3 Partner if they configured BGP on behalf of the customer. Output only for PARTNER type, input only for PARTNER_PROVIDER, not available for DEDICATED. optional int64 partner_asn = 438166149; - // Informational metadata about Partner attachments from Partners to display to customers. Output only for for PARTNER type, mutable for PARTNER_PROVIDER, not available for DEDICATED. + // Informational metadata about Partner attachments from Partners to display to customers. Output only for PARTNER type, mutable for PARTNER_PROVIDER, not available for DEDICATED. optional InterconnectAttachmentPartnerMetadata partner_metadata = 65908934; // [Output Only] Information specific to an InterconnectAttachment. This property is populated if the interconnect that this is attached to is of type DEDICATED. @@ -13454,10 +14479,13 @@ message InterconnectAttachment { // [Output Only] URL of the region where the regional interconnect attachment resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. optional string region = 138946292; + // [Output Only] If the attachment is on a Cross-Cloud Interconnect connection, this field contains the interconnect's remote location service provider. Example values: "Amazon Web Services" "Microsoft Azure". The field is set only for attachments on Cross-Cloud Interconnect connections. Its value is copied from the InterconnectRemoteLocation remoteService field. + optional string remote_service = 391954364; + // URL of the Cloud Router to be used for dynamic routing. This router must be in the same region as this InterconnectAttachment. The InterconnectAttachment will automatically connect the Interconnect to the network & region within which the Cloud Router is configured. optional string router = 148608841; - // [Output Only] Set to true if the resource satisfies the zone separation organization policy constraints and false otherwise. Defaults to false if the field is not present. + // [Output Only] Reserved for future use. optional bool satisfies_pzs = 480964267; // [Output Only] Server-defined URL for the resource. @@ -13471,11 +14499,14 @@ message InterconnectAttachment { // Check the State enum for the list of possible values. optional string state = 109757585; + // Length of the IPv4 subnet mask. Allowed values: - 29 (default) - 30 The default value is 29, except for Cross-Cloud Interconnect connections that use an InterconnectRemoteLocation with a constraints.subnetLengthRange.min equal to 30. For example, connections that use an Azure remote location fall into this category. In these cases, the default value is 30, and requesting 29 returns an error. Where both 29 and 30 are allowed, 29 is preferred, because it gives Google Cloud Support more debugging visibility. + optional int32 subnet_length = 279831048; + // The type of interconnect attachment this is, which can take one of the following values: - DEDICATED: an attachment to a Dedicated Interconnect. - PARTNER: an attachment to a Partner Interconnect, created by the customer. - PARTNER_PROVIDER: an attachment to a Partner Interconnect, created by the partner. // Check the Type enum for the list of possible values. optional string type = 3575610; - // The IEEE 802.1Q VLAN tag for this attachment, in the range 2-4094. Only specified at creation time. + // The IEEE 802.1Q VLAN tag for this attachment, in the range 2-4093. Only specified at creation time. optional int32 vlan_tag8021q = 119927836; } @@ -13505,6 +14536,41 @@ message InterconnectAttachmentAggregatedList { } +// +message InterconnectAttachmentConfigurationConstraints { + // [Output Only] Whether the attachment's BGP session requires/allows/disallows BGP MD5 authentication. This can take one of the following values: MD5_OPTIONAL, MD5_REQUIRED, MD5_UNSUPPORTED. For example, a Cross-Cloud Interconnect connection to a remote cloud provider that requires BGP MD5 authentication has the interconnectRemoteLocation attachment_configuration_constraints.bgp_md5 field set to MD5_REQUIRED, and that property is propagated to the attachment. Similarly, if BGP MD5 is MD5_UNSUPPORTED, an error is returned if MD5 is requested. + enum BgpMd5 { + // A value indicating that the enum field is not set. + UNDEFINED_BGP_MD5 = 0; + + // MD5_OPTIONAL: BGP MD5 authentication is supported and can optionally be configured. + MD5_OPTIONAL = 532156673; + + // MD5_REQUIRED: BGP MD5 authentication must be configured. + MD5_REQUIRED = 218034496; + + // MD5_UNSUPPORTED: BGP MD5 authentication must not be configured + MD5_UNSUPPORTED = 86962388; + + } + + // [Output Only] Whether the attachment's BGP session requires/allows/disallows BGP MD5 authentication. This can take one of the following values: MD5_OPTIONAL, MD5_REQUIRED, MD5_UNSUPPORTED. For example, a Cross-Cloud Interconnect connection to a remote cloud provider that requires BGP MD5 authentication has the interconnectRemoteLocation attachment_configuration_constraints.bgp_md5 field set to MD5_REQUIRED, and that property is propagated to the attachment. Similarly, if BGP MD5 is MD5_UNSUPPORTED, an error is returned if MD5 is requested. + // Check the BgpMd5 enum for the list of possible values. + optional string bgp_md5 = 373093386; + + // [Output Only] List of ASN ranges that the remote location is known to support. Formatted as an array of inclusive ranges {min: min-value, max: max-value}. For example, [{min: 123, max: 123}, {min: 64512, max: 65534}] allows the peer ASN to be 123 or anything in the range 64512-65534. This field is only advisory. Although the API accepts other ranges, these are the ranges that we recommend. + repeated InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange bgp_peer_asn_ranges = 475946370; + +} + +// +message InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange { + optional uint32 max = 107876; + + optional uint32 min = 108114; + +} + // Response to the list request, and contains a list of interconnect attachments. message InterconnectAttachmentList { // [Output Only] Unique identifier for the resource; defined by the server. @@ -13570,7 +14636,7 @@ message InterconnectCircuitInfo { } -// Diagnostics information about interconnect, contains detailed and current technical information about Google's side of the connection. +// Diagnostics information about the Interconnect connection, which contains detailed and current technical information about Google's side of the connection. message InterconnectDiagnostics { // The aggregation type of the bundle interface. enum BundleAggregationType { @@ -13713,6 +14779,9 @@ message InterconnectDiagnosticsLinkStatus { optional InterconnectDiagnosticsLinkLACPStatus lacp_status = 361210415; + // Describes the status of MACsec encryption on this link. + optional InterconnectDiagnosticsMacsecStatus macsec = 528867490; + // The operational status of the link. // Check the OperationalStatus enum for the list of possible values. optional string operational_status = 201070847; @@ -13725,6 +14794,16 @@ message InterconnectDiagnosticsLinkStatus { } +// Describes the status of MACsec encryption on the link. +message InterconnectDiagnosticsMacsecStatus { + // Indicates the Connectivity Association Key Name (CKN) currently being used if MACsec is operational. + optional string ckn = 98566; + + // Indicates whether or not MACsec is operational on this link. + optional bool operational = 129704914; + +} + // Response to the list request, and contains a list of interconnects. message InterconnectList { // [Output Only] Unique identifier for the resource; defined by the server. @@ -13749,6 +14828,29 @@ message InterconnectList { // Represents an Interconnect Attachment (VLAN) Location resource. You can use this resource to find location details about an Interconnect attachment (VLAN). For more information about interconnect attachments, read Creating VLAN Attachments. message InterconnectLocation { + // + enum AvailableFeatures { + // A value indicating that the enum field is not set. + UNDEFINED_AVAILABLE_FEATURES = 0; + + // Media Access Control security (MACsec) + IF_MACSEC = 396279300; + + } + + // + enum AvailableLinkTypes { + // A value indicating that the enum field is not set. + UNDEFINED_AVAILABLE_LINK_TYPES = 0; + + // 100G Ethernet, LR Optics. + LINK_TYPE_ETHERNET_100G_LR = 337672551; + + // 10G Ethernet, LR Optics. [(rate_bps) = 10000000000]; + LINK_TYPE_ETHERNET_10G_LR = 236739749; + + } + // [Output Only] Continent for this location, which can take one of the following values: - AFRICA - ASIA_PAC - EUROPE - NORTH_AMERICA - SOUTH_AMERICA enum Continent { // A value indicating that the enum field is not set. @@ -13795,6 +14897,14 @@ message InterconnectLocation { // [Output Only] Availability zone for this InterconnectLocation. Within a metropolitan area (metro), maintenance will not be simultaneously scheduled in more than one availability zone. Example: "zone1" or "zone2". optional string availability_zone = 158459920; + // [Output only] List of features available at this InterconnectLocation, which can take one of the following values: - MACSEC + // Check the AvailableFeatures enum for the list of possible values. + repeated string available_features = 496344307; + + // [Output only] List of link types available at this InterconnectLocation, which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR - LINK_TYPE_ETHERNET_100G_LR + // Check the AvailableLinkTypes enum for the list of possible values. + repeated string available_link_types = 509504298; + // [Output Only] Metropolitan area designator that indicates which city an interconnect is located. For example: "Chicago, IL", "Amsterdam, Netherlands". optional string city = 3053931; @@ -13836,7 +14946,7 @@ message InterconnectLocation { // Check the Status enum for the list of possible values. optional string status = 181260274; - // [Output Only] Set to true for locations that support physical zone separation. Defaults to false if the field is not present. + // [Output Only] Reserved for future use. optional bool supports_pzs = 83983214; } @@ -13896,6 +15006,49 @@ message InterconnectLocationRegionInfo { } +// Configuration information for enabling Media Access Control security (MACsec) on this Cloud Interconnect connection between Google and your on-premises router. +message InterconnectMacsec { + // If set to true, the Interconnect connection is configured with a should-secure MACsec security policy, that allows the Google router to fallback to cleartext traffic if the MKA session cannot be established. By default, the Interconnect connection is configured with a must-secure security policy that drops all traffic if the MKA session cannot be established with your router. + optional bool fail_open = 532597451; + + // Required. A keychain placeholder describing a set of named key objects along with their start times. A MACsec CKN/CAK is generated for each key in the key chain. Google router automatically picks the key with the most recent startTime when establishing or re-establishing a MACsec secure link. + repeated InterconnectMacsecPreSharedKey pre_shared_keys = 420308466; + +} + +// MACsec configuration information for the Interconnect connection. Contains the generated Connectivity Association Key Name (CKN) and the key (CAK) for this Interconnect connection. +message InterconnectMacsecConfig { + // A keychain placeholder describing a set of named key objects along with their start times. A MACsec CKN/CAK is generated for each key in the key chain. Google router automatically picks the key with the most recent startTime when establishing or re-establishing a MACsec secure link. + repeated InterconnectMacsecConfigPreSharedKey pre_shared_keys = 420308466; + +} + +// Describes a pre-shared key used to setup MACsec in static connectivity association key (CAK) mode. +message InterconnectMacsecConfigPreSharedKey { + // An auto-generated Connectivity Association Key (CAK) for this key. + optional string cak = 98253; + + // An auto-generated Connectivity Association Key Name (CKN) for this key. + optional string ckn = 98566; + + // User provided name for this pre-shared key. + optional string name = 3373707; + + // User provided timestamp on or after which this key is valid. + optional string start_time = 37467274; + +} + +// Describes a pre-shared key used to setup MACsec in static connectivity association key (CAK) mode. +message InterconnectMacsecPreSharedKey { + // Required. A name for this pre-shared key. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + optional string name = 3373707; + + // A RFC3339 timestamp on or after which the key is valid. startTime can be in the future. If the keychain has a single key, startTime can be omitted. If the keychain has multiple keys, startTime is mandatory for each key. The start times of keys must be in increasing order. The start times of two consecutive keys must be at least 6 hours apart. + optional string start_time = 37467274; + +} + // Description of a planned outage on this Interconnect. message InterconnectOutageNotification { // Form this outage is expected to take, which can take one of the following values: - OUTAGE: The Interconnect may be completely out of service for some or all of the specified window. - PARTIAL_OUTAGE: Some circuits comprising the Interconnect as a whole should remain up, but with reduced bandwidth. Note that the versions of this enum prefixed with "IT_" have been deprecated in favor of the unprefixed values. @@ -13981,12 +15134,209 @@ message InterconnectOutageNotification { } +// Represents a Cross-Cloud Interconnect Remote Location resource. You can use this resource to find remote location details about an Interconnect attachment (VLAN). +message InterconnectRemoteLocation { + // [Output Only] Continent for this location, which can take one of the following values: - AFRICA - ASIA_PAC - EUROPE - NORTH_AMERICA - SOUTH_AMERICA + enum Continent { + // A value indicating that the enum field is not set. + UNDEFINED_CONTINENT = 0; + + AFRICA = 317443706; + + ASIA_PAC = 119782269; + + EUROPE = 445819298; + + NORTH_AMERICA = 448015508; + + SOUTH_AMERICA = 32597340; + + } + + // [Output Only] Link Aggregation Control Protocol (LACP) constraints, which can take one of the following values: LACP_SUPPORTED, LACP_UNSUPPORTED + enum Lacp { + // A value indicating that the enum field is not set. + UNDEFINED_LACP = 0; + + // LACP_SUPPORTED: LACP is supported, and enabled by default on the Cross-Cloud Interconnect. + LACP_SUPPORTED = 339576113; + + // LACP_UNSUPPORTED: LACP is not supported and is not be enabled on this port. GetDiagnostics shows bundleAggregationType as "static". GCP does not support LAGs without LACP, so requestedLinkCount must be 1. + LACP_UNSUPPORTED = 203930104; + + } + + // [Output Only] The status of this InterconnectRemoteLocation, which can take one of the following values: - CLOSED: The InterconnectRemoteLocation is closed and is unavailable for provisioning new Cross-Cloud Interconnects. - AVAILABLE: The InterconnectRemoteLocation is available for provisioning new Cross-Cloud Interconnects. + enum Status { + // A value indicating that the enum field is not set. + UNDEFINED_STATUS = 0; + + // The InterconnectRemoteLocation is available for provisioning new Cross-Cloud Interconnects. + AVAILABLE = 442079913; + + // The InterconnectRemoteLocation is closed for provisioning new Cross-Cloud Interconnects. + CLOSED = 380163436; + + } + + // [Output Only] The postal address of the Point of Presence, each line in the address is separated by a newline character. + optional string address = 462920692; + + // [Output Only] Subset of fields from InterconnectAttachment's |configurationConstraints| field that apply to all attachments for this remote location. + optional InterconnectAttachmentConfigurationConstraints attachment_configuration_constraints = 326825041; + + // [Output Only] Metropolitan area designator that indicates which city an interconnect is located. For example: "Chicago, IL", "Amsterdam, Netherlands". + optional string city = 3053931; + + // [Output Only] Constraints on the parameters for creating Cross-Cloud Interconnect and associated InterconnectAttachments. + optional InterconnectRemoteLocationConstraints constraints = 3909174; + + // [Output Only] Continent for this location, which can take one of the following values: - AFRICA - ASIA_PAC - EUROPE - NORTH_AMERICA - SOUTH_AMERICA + // Check the Continent enum for the list of possible values. + optional string continent = 133442996; + + // [Output Only] Creation timestamp in RFC3339 text format. + optional string creation_timestamp = 30525366; + + // [Output Only] An optional description of the resource. + optional string description = 422937596; + + // [Output Only] The name of the provider for this facility (e.g., EQUINIX). + optional string facility_provider = 533303309; + + // [Output Only] A provider-assigned Identifier for this facility (e.g., Ashburn-DC1). + optional string facility_provider_facility_id = 87269125; + + // [Output Only] The unique identifier for the resource. This identifier is defined by the server. + optional uint64 id = 3355; + + // [Output Only] Type of the resource. Always compute#interconnectRemoteLocation for interconnect remote locations. + optional string kind = 3292052; + + // [Output Only] Link Aggregation Control Protocol (LACP) constraints, which can take one of the following values: LACP_SUPPORTED, LACP_UNSUPPORTED + // Check the Lacp enum for the list of possible values. + optional string lacp = 3313826; + + // [Output Only] The maximum number of 100 Gbps ports supported in a link aggregation group (LAG). When linkType is 100 Gbps, requestedLinkCount cannot exceed max_lag_size_100_gbps. + optional int32 max_lag_size100_gbps = 245219253; + + // [Output Only] The maximum number of 10 Gbps ports supported in a link aggregation group (LAG). When linkType is 10 Gbps, requestedLinkCount cannot exceed max_lag_size_10_gbps. + optional int32 max_lag_size10_gbps = 294007573; + + // [Output Only] Name of the resource. + optional string name = 3373707; + + // [Output Only] The peeringdb identifier for this facility (corresponding with a netfac type in peeringdb). + optional string peeringdb_facility_id = 536567094; + + // [Output Only] Permitted connections. + repeated InterconnectRemoteLocationPermittedConnections permitted_connections = 442063278; + + // [Output Only] Indicates the service provider present at the remote location. Example values: "Amazon Web Services", "Microsoft Azure". + optional string remote_service = 391954364; + + // [Output Only] Server-defined URL for the resource. + optional string self_link = 456214797; + + // [Output Only] The status of this InterconnectRemoteLocation, which can take one of the following values: - CLOSED: The InterconnectRemoteLocation is closed and is unavailable for provisioning new Cross-Cloud Interconnects. - AVAILABLE: The InterconnectRemoteLocation is available for provisioning new Cross-Cloud Interconnects. + // Check the Status enum for the list of possible values. + optional string status = 181260274; + +} + +// +message InterconnectRemoteLocationConstraints { + // [Output Only] Port pair remote location constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION. GCP's API refers only to individual ports, but the UI uses this field when ordering a pair of ports, to prevent users from accidentally ordering something that is incompatible with their cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud Interconnect ports, and one of them uses a remote location with portPairMatchingRemoteLocation set to matching, the UI requires that both ports use the same remote location. + enum PortPairRemoteLocation { + // A value indicating that the enum field is not set. + UNDEFINED_PORT_PAIR_REMOTE_LOCATION = 0; + + // If PORT_PAIR_MATCHING_REMOTE_LOCATION, the remote cloud provider allocates ports in pairs, and the user should choose the same remote location for both ports. + PORT_PAIR_MATCHING_REMOTE_LOCATION = 207291859; + + // If PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, a user may opt to provision a redundant pair of Cross-Cloud Interconnects using two different remote locations in the same city. + PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION = 60609829; + + } + + // [Output Only] Port pair VLAN constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_VLAN, PORT_PAIR_MATCHING_VLAN + enum PortPairVlan { + // A value indicating that the enum field is not set. + UNDEFINED_PORT_PAIR_VLAN = 0; + + // If PORT_PAIR_MATCHING_VLAN, the Interconnect for this attachment is part of a pair of ports that should have matching VLAN allocations. This occurs with Cross-Cloud Interconnect to Azure remote locations. While GCP's API does not explicitly group pairs of ports, the UI uses this field to ensure matching VLAN ids when configuring a redundant VLAN pair. + PORT_PAIR_MATCHING_VLAN = 250295358; + + // PORT_PAIR_UNCONSTRAINED_VLAN means there is no constraint. + PORT_PAIR_UNCONSTRAINED_VLAN = 175227948; + + } + + // [Output Only] Port pair remote location constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION. GCP's API refers only to individual ports, but the UI uses this field when ordering a pair of ports, to prevent users from accidentally ordering something that is incompatible with their cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud Interconnect ports, and one of them uses a remote location with portPairMatchingRemoteLocation set to matching, the UI requires that both ports use the same remote location. + // Check the PortPairRemoteLocation enum for the list of possible values. + optional string port_pair_remote_location = 495917351; + + // [Output Only] Port pair VLAN constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_VLAN, PORT_PAIR_MATCHING_VLAN + // Check the PortPairVlan enum for the list of possible values. + optional string port_pair_vlan = 478214506; + + // [Output Only] [min-length, max-length] The minimum and maximum value (inclusive) for the IPv4 subnet length. For example, an interconnectRemoteLocation for Azure has {min: 30, max: 30} because Azure requires /30 subnets. This range specifies the values supported by both cloud providers. Interconnect currently supports /29 and /30 IPv4 subnet lengths. If a remote cloud has no constraint on IPv4 subnet length, the range would thus be {min: 29, max: 30}. + optional InterconnectRemoteLocationConstraintsSubnetLengthRange subnet_length_range = 184473670; + +} + +// +message InterconnectRemoteLocationConstraintsSubnetLengthRange { + optional int32 max = 107876; + + optional int32 min = 108114; + +} + +// Response to the list request, and contains a list of interconnect remote locations. +message InterconnectRemoteLocationList { + // [Output Only] Unique identifier for the resource; defined by the server. + optional string id = 3355; + + // A list of InterconnectRemoteLocation resources. + repeated InterconnectRemoteLocation items = 100526016; + + // [Output Only] Type of resource. Always compute#interconnectRemoteLocationList for lists of interconnect remote locations. + optional string kind = 3292052; + + // [Output Only] This token lets you get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + optional string next_page_token = 79797525; + + // [Output Only] Server-defined URL for this resource. + optional string self_link = 456214797; + + // [Output Only] Informational warning message. + optional Warning warning = 50704284; + +} + +// +message InterconnectRemoteLocationPermittedConnections { + // [Output Only] URL of an Interconnect location that is permitted to connect to this Interconnect remote location. + optional string interconnect_location = 492235846; + +} + // Response for the InterconnectsGetDiagnosticsRequest. message InterconnectsGetDiagnosticsResponse { optional InterconnectDiagnostics result = 139315229; } +// Response for the InterconnectsGetMacsecConfigRequest. +message InterconnectsGetMacsecConfigResponse { + // end_interface: MixerGetResponseWithEtagBuilder + optional string etag = 3123477; + + optional InterconnectMacsecConfig result = 139315229; + +} + // A request message for UrlMaps.InvalidateCache. See the method description for details. message InvalidateCacheUrlMapRequest { // The body resource for this request @@ -14156,7 +15506,7 @@ message LicensesListResponse { // A request message for AcceleratorTypes.List. See the method description for details. message ListAcceleratorTypesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -14181,7 +15531,7 @@ message ListAcceleratorTypesRequest { // A request message for Addresses.List. See the method description for details. message ListAddressesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -14213,7 +15563,7 @@ message ListAssociationsFirewallPolicyRequest { // A request message for Autoscalers.List. See the method description for details. message ListAutoscalersRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -14238,7 +15588,7 @@ message ListAutoscalersRequest { // A request message for RegionSslPolicies.ListAvailableFeatures. See the method description for details. message ListAvailableFeaturesRegionSslPoliciesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -14263,7 +15613,7 @@ message ListAvailableFeaturesRegionSslPoliciesRequest { // A request message for SslPolicies.ListAvailableFeatures. See the method description for details. message ListAvailableFeaturesSslPoliciesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -14285,7 +15635,7 @@ message ListAvailableFeaturesSslPoliciesRequest { // A request message for BackendBuckets.List. See the method description for details. message ListBackendBucketsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -14307,7 +15657,7 @@ message ListBackendBucketsRequest { // A request message for BackendServices.List. See the method description for details. message ListBackendServicesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -14329,7 +15679,7 @@ message ListBackendServicesRequest { // A request message for DiskTypes.List. See the method description for details. message ListDiskTypesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -14354,7 +15704,7 @@ message ListDiskTypesRequest { // A request message for Disks.List. See the method description for details. message ListDisksRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -14379,7 +15729,7 @@ message ListDisksRequest { // A request message for InstanceGroupManagers.ListErrors. See the method description for details. message ListErrorsInstanceGroupManagersRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The name of the managed instance group. It must be a string that meets the requirements in RFC1035, or an unsigned long integer: must match regexp pattern: (?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?)|1-9{0,19}. @@ -14407,7 +15757,7 @@ message ListErrorsInstanceGroupManagersRequest { // A request message for RegionInstanceGroupManagers.ListErrors. See the method description for details. message ListErrorsRegionInstanceGroupManagersRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The name of the managed instance group. It must be a string that meets the requirements in RFC1035, or an unsigned long integer: must match regexp pattern: (?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?)|1-9{0,19}. @@ -14435,7 +15785,7 @@ message ListErrorsRegionInstanceGroupManagersRequest { // A request message for ExternalVpnGateways.List. See the method description for details. message ListExternalVpnGatewaysRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -14457,7 +15807,7 @@ message ListExternalVpnGatewaysRequest { // A request message for FirewallPolicies.List. See the method description for details. message ListFirewallPoliciesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -14469,7 +15819,7 @@ message ListFirewallPoliciesRequest { // Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. optional string page_token = 19994697; - // Parent ID for this request. + // Parent ID for this request. The ID can be either be "folders/[FOLDER_ID]" if the parent is a folder or "organizations/[ORGANIZATION_ID]" if the parent is an organization. optional string parent_id = 459714768; // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. @@ -14479,7 +15829,7 @@ message ListFirewallPoliciesRequest { // A request message for Firewalls.List. See the method description for details. message ListFirewallsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -14501,7 +15851,7 @@ message ListFirewallsRequest { // A request message for ForwardingRules.List. See the method description for details. message ListForwardingRulesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -14526,7 +15876,7 @@ message ListForwardingRulesRequest { // A request message for GlobalAddresses.List. See the method description for details. message ListGlobalAddressesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -14548,7 +15898,7 @@ message ListGlobalAddressesRequest { // A request message for GlobalForwardingRules.List. See the method description for details. message ListGlobalForwardingRulesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -14570,7 +15920,7 @@ message ListGlobalForwardingRulesRequest { // A request message for GlobalNetworkEndpointGroups.List. See the method description for details. message ListGlobalNetworkEndpointGroupsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -14592,7 +15942,7 @@ message ListGlobalNetworkEndpointGroupsRequest { // A request message for GlobalOperations.List. See the method description for details. message ListGlobalOperationsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -14614,7 +15964,7 @@ message ListGlobalOperationsRequest { // A request message for GlobalOrganizationOperations.List. See the method description for details. message ListGlobalOrganizationOperationsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -14636,7 +15986,7 @@ message ListGlobalOrganizationOperationsRequest { // A request message for GlobalPublicDelegatedPrefixes.List. See the method description for details. message ListGlobalPublicDelegatedPrefixesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -14658,7 +16008,7 @@ message ListGlobalPublicDelegatedPrefixesRequest { // A request message for HealthChecks.List. See the method description for details. message ListHealthChecksRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -14680,7 +16030,7 @@ message ListHealthChecksRequest { // A request message for Images.List. See the method description for details. message ListImagesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -14702,7 +16052,7 @@ message ListImagesRequest { // A request message for InstanceGroupManagers.List. See the method description for details. message ListInstanceGroupManagersRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -14727,7 +16077,7 @@ message ListInstanceGroupManagersRequest { // A request message for InstanceGroups.List. See the method description for details. message ListInstanceGroupsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -14752,7 +16102,7 @@ message ListInstanceGroupsRequest { // A request message for InstanceTemplates.List. See the method description for details. message ListInstanceTemplatesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -14774,7 +16124,7 @@ message ListInstanceTemplatesRequest { // A request message for InstanceGroups.ListInstances. See the method description for details. message ListInstancesInstanceGroupsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The name of the instance group from which you want to generate a list of included instances. @@ -14805,7 +16155,7 @@ message ListInstancesInstanceGroupsRequest { // A request message for RegionInstanceGroups.ListInstances. See the method description for details. message ListInstancesRegionInstanceGroupsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // Name of the regional instance group for which we want to list the instances. @@ -14836,7 +16186,7 @@ message ListInstancesRegionInstanceGroupsRequest { // A request message for Instances.List. See the method description for details. message ListInstancesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -14861,7 +16211,7 @@ message ListInstancesRequest { // A request message for InterconnectAttachments.List. See the method description for details. message ListInterconnectAttachmentsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -14886,7 +16236,29 @@ message ListInterconnectAttachmentsRequest { // A request message for InterconnectLocations.List. See the method description for details. message ListInterconnectLocationsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. + optional string filter = 336120696; + + // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + optional uint32 max_results = 54715419; + + // Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + optional string order_by = 160562920; + + // Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + optional string page_token = 19994697; + + // Project ID for this request. + string project = 227560217 [(google.api.field_behavior) = REQUIRED]; + + // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + optional bool return_partial_success = 517198390; + +} + +// A request message for InterconnectRemoteLocations.List. See the method description for details. +message ListInterconnectRemoteLocationsRequest { + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -14908,7 +16280,7 @@ message ListInterconnectLocationsRequest { // A request message for Interconnects.List. See the method description for details. message ListInterconnectsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -14930,7 +16302,7 @@ message ListInterconnectsRequest { // A request message for Licenses.List. See the method description for details. message ListLicensesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -14952,7 +16324,7 @@ message ListLicensesRequest { // A request message for MachineImages.List. See the method description for details. message ListMachineImagesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -14974,7 +16346,7 @@ message ListMachineImagesRequest { // A request message for MachineTypes.List. See the method description for details. message ListMachineTypesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -14999,7 +16371,7 @@ message ListMachineTypesRequest { // A request message for InstanceGroupManagers.ListManagedInstances. See the method description for details. message ListManagedInstancesInstanceGroupManagersRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The name of the managed instance group. @@ -15027,7 +16399,7 @@ message ListManagedInstancesInstanceGroupManagersRequest { // A request message for RegionInstanceGroupManagers.ListManagedInstances. See the method description for details. message ListManagedInstancesRegionInstanceGroupManagersRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The name of the managed instance group. @@ -15055,7 +16427,7 @@ message ListManagedInstancesRegionInstanceGroupManagersRequest { // A request message for NetworkAttachments.List. See the method description for details. message ListNetworkAttachmentsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -15080,7 +16452,7 @@ message ListNetworkAttachmentsRequest { // A request message for NetworkEndpointGroups.List. See the method description for details. message ListNetworkEndpointGroupsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -15105,7 +16477,7 @@ message ListNetworkEndpointGroupsRequest { // A request message for GlobalNetworkEndpointGroups.ListNetworkEndpoints. See the method description for details. message ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -15130,7 +16502,7 @@ message ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest { // A request message for NetworkEndpointGroups.ListNetworkEndpoints. See the method description for details. message ListNetworkEndpointsNetworkEndpointGroupsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -15159,9 +16531,37 @@ message ListNetworkEndpointsNetworkEndpointGroupsRequest { } +// A request message for RegionNetworkEndpointGroups.ListNetworkEndpoints. See the method description for details. +message ListNetworkEndpointsRegionNetworkEndpointGroupsRequest { + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. + optional string filter = 336120696; + + // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + optional uint32 max_results = 54715419; + + // The name of the network endpoint group from which you want to generate a list of included network endpoints. It should comply with RFC1035. + string network_endpoint_group = 433907078 [(google.api.field_behavior) = REQUIRED]; + + // Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + optional string order_by = 160562920; + + // Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + optional string page_token = 19994697; + + // Project ID for this request. + string project = 227560217 [(google.api.field_behavior) = REQUIRED]; + + // The name of the region where the network endpoint group is located. It should comply with RFC1035. + string region = 138946292 [(google.api.field_behavior) = REQUIRED]; + + // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + optional bool return_partial_success = 517198390; + +} + // A request message for NetworkFirewallPolicies.List. See the method description for details. message ListNetworkFirewallPoliciesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -15183,7 +16583,7 @@ message ListNetworkFirewallPoliciesRequest { // A request message for Networks.List. See the method description for details. message ListNetworksRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -15205,7 +16605,7 @@ message ListNetworksRequest { // A request message for NodeGroups.List. See the method description for details. message ListNodeGroupsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -15230,7 +16630,7 @@ message ListNodeGroupsRequest { // A request message for NodeTemplates.List. See the method description for details. message ListNodeTemplatesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -15255,7 +16655,7 @@ message ListNodeTemplatesRequest { // A request message for NodeTypes.List. See the method description for details. message ListNodeTypesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -15280,7 +16680,7 @@ message ListNodeTypesRequest { // A request message for NodeGroups.ListNodes. See the method description for details. message ListNodesNodeGroupsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -15308,7 +16708,7 @@ message ListNodesNodeGroupsRequest { // A request message for PacketMirrorings.List. See the method description for details. message ListPacketMirroringsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -15350,7 +16750,7 @@ message ListPeeringRoutesNetworksRequest { // Check the Direction enum for the list of possible values. optional string direction = 111150975; - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -15381,7 +16781,7 @@ message ListPeeringRoutesNetworksRequest { // A request message for InstanceGroupManagers.ListPerInstanceConfigs. See the method description for details. message ListPerInstanceConfigsInstanceGroupManagersRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The name of the managed instance group. It should conform to RFC1035. @@ -15409,7 +16809,7 @@ message ListPerInstanceConfigsInstanceGroupManagersRequest { // A request message for RegionInstanceGroupManagers.ListPerInstanceConfigs. See the method description for details. message ListPerInstanceConfigsRegionInstanceGroupManagersRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The name of the managed instance group. It should conform to RFC1035. @@ -15437,7 +16837,7 @@ message ListPerInstanceConfigsRegionInstanceGroupManagersRequest { // A request message for SecurityPolicies.ListPreconfiguredExpressionSets. See the method description for details. message ListPreconfiguredExpressionSetsSecurityPoliciesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -15459,7 +16859,7 @@ message ListPreconfiguredExpressionSetsSecurityPoliciesRequest { // A request message for PublicAdvertisedPrefixes.List. See the method description for details. message ListPublicAdvertisedPrefixesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -15481,7 +16881,7 @@ message ListPublicAdvertisedPrefixesRequest { // A request message for PublicDelegatedPrefixes.List. See the method description for details. message ListPublicDelegatedPrefixesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -15506,7 +16906,7 @@ message ListPublicDelegatedPrefixesRequest { // A request message for Instances.ListReferrers. See the method description for details. message ListReferrersInstancesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // Name of the target instance scoping this request, or '-' if the request should span over all instances in the container. @@ -15534,7 +16934,7 @@ message ListReferrersInstancesRequest { // A request message for RegionAutoscalers.List. See the method description for details. message ListRegionAutoscalersRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -15559,7 +16959,7 @@ message ListRegionAutoscalersRequest { // A request message for RegionBackendServices.List. See the method description for details. message ListRegionBackendServicesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -15584,7 +16984,7 @@ message ListRegionBackendServicesRequest { // A request message for RegionCommitments.List. See the method description for details. message ListRegionCommitmentsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -15609,7 +17009,7 @@ message ListRegionCommitmentsRequest { // A request message for RegionDiskTypes.List. See the method description for details. message ListRegionDiskTypesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -15634,7 +17034,7 @@ message ListRegionDiskTypesRequest { // A request message for RegionDisks.List. See the method description for details. message ListRegionDisksRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -15659,7 +17059,7 @@ message ListRegionDisksRequest { // A request message for RegionHealthCheckServices.List. See the method description for details. message ListRegionHealthCheckServicesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -15684,7 +17084,7 @@ message ListRegionHealthCheckServicesRequest { // A request message for RegionHealthChecks.List. See the method description for details. message ListRegionHealthChecksRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -15709,7 +17109,7 @@ message ListRegionHealthChecksRequest { // A request message for RegionInstanceGroupManagers.List. See the method description for details. message ListRegionInstanceGroupManagersRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -15734,7 +17134,7 @@ message ListRegionInstanceGroupManagersRequest { // A request message for RegionInstanceGroups.List. See the method description for details. message ListRegionInstanceGroupsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -15757,9 +17157,34 @@ message ListRegionInstanceGroupsRequest { } +// A request message for RegionInstanceTemplates.List. See the method description for details. +message ListRegionInstanceTemplatesRequest { + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. + optional string filter = 336120696; + + // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + optional uint32 max_results = 54715419; + + // Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + optional string order_by = 160562920; + + // Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + optional string page_token = 19994697; + + // Project ID for this request. + string project = 227560217 [(google.api.field_behavior) = REQUIRED]; + + // The name of the regions for this request. + string region = 138946292 [(google.api.field_behavior) = REQUIRED]; + + // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + optional bool return_partial_success = 517198390; + +} + // A request message for RegionNetworkEndpointGroups.List. See the method description for details. message ListRegionNetworkEndpointGroupsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -15784,7 +17209,7 @@ message ListRegionNetworkEndpointGroupsRequest { // A request message for RegionNetworkFirewallPolicies.List. See the method description for details. message ListRegionNetworkFirewallPoliciesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -15809,7 +17234,7 @@ message ListRegionNetworkFirewallPoliciesRequest { // A request message for RegionNotificationEndpoints.List. See the method description for details. message ListRegionNotificationEndpointsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -15834,7 +17259,7 @@ message ListRegionNotificationEndpointsRequest { // A request message for RegionOperations.List. See the method description for details. message ListRegionOperationsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -15859,7 +17284,7 @@ message ListRegionOperationsRequest { // A request message for RegionSecurityPolicies.List. See the method description for details. message ListRegionSecurityPoliciesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -15884,7 +17309,7 @@ message ListRegionSecurityPoliciesRequest { // A request message for RegionSslCertificates.List. See the method description for details. message ListRegionSslCertificatesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -15909,7 +17334,7 @@ message ListRegionSslCertificatesRequest { // A request message for RegionSslPolicies.List. See the method description for details. message ListRegionSslPoliciesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -15934,7 +17359,7 @@ message ListRegionSslPoliciesRequest { // A request message for RegionTargetHttpProxies.List. See the method description for details. message ListRegionTargetHttpProxiesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -15959,7 +17384,7 @@ message ListRegionTargetHttpProxiesRequest { // A request message for RegionTargetHttpsProxies.List. See the method description for details. message ListRegionTargetHttpsProxiesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -15984,7 +17409,7 @@ message ListRegionTargetHttpsProxiesRequest { // A request message for RegionTargetTcpProxies.List. See the method description for details. message ListRegionTargetTcpProxiesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -16009,7 +17434,7 @@ message ListRegionTargetTcpProxiesRequest { // A request message for RegionUrlMaps.List. See the method description for details. message ListRegionUrlMapsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -16032,9 +17457,34 @@ message ListRegionUrlMapsRequest { } +// A request message for RegionZones.List. See the method description for details. +message ListRegionZonesRequest { + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. + optional string filter = 336120696; + + // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + optional uint32 max_results = 54715419; + + // Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + optional string order_by = 160562920; + + // Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + optional string page_token = 19994697; + + // Project ID for this request. + string project = 227560217 [(google.api.field_behavior) = REQUIRED]; + + // Region for this request. + string region = 138946292 [(google.api.field_behavior) = REQUIRED]; + + // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + optional bool return_partial_success = 517198390; + +} + // A request message for Regions.List. See the method description for details. message ListRegionsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -16056,7 +17506,7 @@ message ListRegionsRequest { // A request message for Reservations.List. See the method description for details. message ListReservationsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -16081,7 +17531,7 @@ message ListReservationsRequest { // A request message for ResourcePolicies.List. See the method description for details. message ListResourcePoliciesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -16106,7 +17556,7 @@ message ListResourcePoliciesRequest { // A request message for Routers.List. See the method description for details. message ListRoutersRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -16131,7 +17581,7 @@ message ListRoutersRequest { // A request message for Routes.List. See the method description for details. message ListRoutesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -16153,7 +17603,7 @@ message ListRoutesRequest { // A request message for SecurityPolicies.List. See the method description for details. message ListSecurityPoliciesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -16175,7 +17625,7 @@ message ListSecurityPoliciesRequest { // A request message for ServiceAttachments.List. See the method description for details. message ListServiceAttachmentsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -16200,7 +17650,7 @@ message ListServiceAttachmentsRequest { // A request message for Snapshots.List. See the method description for details. message ListSnapshotsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -16222,7 +17672,7 @@ message ListSnapshotsRequest { // A request message for SslCertificates.List. See the method description for details. message ListSslCertificatesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -16244,7 +17694,7 @@ message ListSslCertificatesRequest { // A request message for SslPolicies.List. See the method description for details. message ListSslPoliciesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -16266,7 +17716,7 @@ message ListSslPoliciesRequest { // A request message for Subnetworks.List. See the method description for details. message ListSubnetworksRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -16291,7 +17741,7 @@ message ListSubnetworksRequest { // A request message for TargetGrpcProxies.List. See the method description for details. message ListTargetGrpcProxiesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -16313,7 +17763,7 @@ message ListTargetGrpcProxiesRequest { // A request message for TargetHttpProxies.List. See the method description for details. message ListTargetHttpProxiesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -16335,7 +17785,7 @@ message ListTargetHttpProxiesRequest { // A request message for TargetHttpsProxies.List. See the method description for details. message ListTargetHttpsProxiesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -16357,7 +17807,7 @@ message ListTargetHttpsProxiesRequest { // A request message for TargetInstances.List. See the method description for details. message ListTargetInstancesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -16382,7 +17832,7 @@ message ListTargetInstancesRequest { // A request message for TargetPools.List. See the method description for details. message ListTargetPoolsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -16407,7 +17857,7 @@ message ListTargetPoolsRequest { // A request message for TargetSslProxies.List. See the method description for details. message ListTargetSslProxiesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -16429,7 +17879,7 @@ message ListTargetSslProxiesRequest { // A request message for TargetTcpProxies.List. See the method description for details. message ListTargetTcpProxiesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -16451,7 +17901,7 @@ message ListTargetTcpProxiesRequest { // A request message for TargetVpnGateways.List. See the method description for details. message ListTargetVpnGatewaysRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -16476,7 +17926,51 @@ message ListTargetVpnGatewaysRequest { // A request message for UrlMaps.List. See the method description for details. message ListUrlMapsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. + optional string filter = 336120696; + + // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + optional uint32 max_results = 54715419; + + // Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + optional string order_by = 160562920; + + // Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + optional string page_token = 19994697; + + // Project ID for this request. + string project = 227560217 [(google.api.field_behavior) = REQUIRED]; + + // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + optional bool return_partial_success = 517198390; + +} + +// A request message for BackendServices.ListUsable. See the method description for details. +message ListUsableBackendServicesRequest { + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. + optional string filter = 336120696; + + // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + optional uint32 max_results = 54715419; + + // Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + optional string order_by = 160562920; + + // Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + optional string page_token = 19994697; + + // Project ID for this request. + string project = 227560217 [(google.api.field_behavior) = REQUIRED]; + + // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + optional bool return_partial_success = 517198390; + +} + +// A request message for RegionBackendServices.ListUsable. See the method description for details. +message ListUsableRegionBackendServicesRequest { + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -16491,6 +17985,9 @@ message ListUrlMapsRequest { // Project ID for this request. string project = 227560217 [(google.api.field_behavior) = REQUIRED]; + // Name of the region scoping this request. It must be a string that meets the requirements in RFC1035. + string region = 138946292 [(google.api.field_behavior) = REQUIRED]; + // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. optional bool return_partial_success = 517198390; @@ -16498,7 +17995,7 @@ message ListUrlMapsRequest { // A request message for Subnetworks.ListUsable. See the method description for details. message ListUsableSubnetworksRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -16520,7 +18017,7 @@ message ListUsableSubnetworksRequest { // A request message for VpnGateways.List. See the method description for details. message ListVpnGatewaysRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -16545,7 +18042,7 @@ message ListVpnGatewaysRequest { // A request message for VpnTunnels.List. See the method description for details. message ListVpnTunnelsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -16570,7 +18067,7 @@ message ListVpnTunnelsRequest { // A request message for Projects.ListXpnHosts. See the method description for details. message ListXpnHostsProjectsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -16595,7 +18092,7 @@ message ListXpnHostsProjectsRequest { // A request message for ZoneOperations.List. See the method description for details. message ListZoneOperationsRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -16620,7 +18117,7 @@ message ListZoneOperationsRequest { // A request message for Zones.List. See the method description for details. message ListZonesRequest { - // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + // A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions. optional string filter = 336120696; // The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) @@ -16851,6 +18348,9 @@ message MachineImage { // Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. optional string name = 3373707; + // Output only. Reserved for future use. + optional bool satisfies_pzi = 480964257; + // [Output Only] Reserved for future use. optional bool satisfies_pzs = 480964267; @@ -17065,7 +18565,7 @@ message ManagedInstance { // A value indicating that the enum field is not set. UNDEFINED_INSTANCE_STATUS = 0; - // The Nanny is halted and we are performing tear down tasks like network deprogramming, releasing quota, IP, tearing down disks etc. + // The instance is halted and we are performing tear down tasks like network deprogramming, releasing quota, IP, tearing down disks etc. DEPROVISIONING = 428935662; // Resources are being allocated for the instance. @@ -17115,6 +18615,9 @@ message ManagedInstance { // [Output Only] Information about the last attempt to create or delete the instance. optional ManagedInstanceLastAttempt last_attempt = 434771492; + // [Output Only] The name of the instance. The name always exists even if the instance has not yet been created. + optional string name = 3373707; + // [Output Only] Preserved state applied from per-instance config for this instance. optional PreservedState preserved_state_from_config = 98661858; @@ -17226,6 +18729,31 @@ message MetadataFilterLabelMatch { } +// A request message for Addresses.Move. See the method description for details. +message MoveAddressRequest { + // Name of the address resource to move. + string address = 462920692 [(google.api.field_behavior) = REQUIRED]; + + // Source project ID which the Address is moved from. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // Name of the region for this request. + string region = 138946292 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "region" + ]; + + // The body resource for this request + RegionAddressesMoveRequest region_addresses_move_request_resource = 409081924 [(google.api.field_behavior) = REQUIRED]; + + // An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + optional string request_id = 37109963; + +} + // A request message for Projects.MoveDisk. See the method description for details. message MoveDiskProjectRequest { // The body resource for this request @@ -17247,7 +18775,7 @@ message MoveFirewallPolicyRequest { // Name of the firewall policy to update. string firewall_policy = 498173265 [(google.api.field_behavior) = REQUIRED]; - // The new parent of the firewall policy. + // The new parent of the firewall policy. The ID can be either be "folders/[FOLDER_ID]" if the parent is a folder or "organizations/[ORGANIZATION_ID]" if the parent is an organization. string parent_id = 459714768 [ (google.api.field_behavior) = REQUIRED, (google.cloud.operation_request_field) = "parent_id" @@ -17258,6 +18786,25 @@ message MoveFirewallPolicyRequest { } +// A request message for GlobalAddresses.Move. See the method description for details. +message MoveGlobalAddressRequest { + // Name of the address resource to move. + string address = 462920692 [(google.api.field_behavior) = REQUIRED]; + + // The body resource for this request + GlobalAddressesMoveRequest global_addresses_move_request_resource = 302807283 [(google.api.field_behavior) = REQUIRED]; + + // Source project ID which the Address is moved from. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + optional string request_id = 37109963; + +} + // A request message for Projects.MoveInstance. See the method description for details. message MoveInstanceProjectRequest { // The body resource for this request @@ -17284,6 +18831,60 @@ message NamedPort { } +// Contains NAT IP information of a NAT config (i.e. usage status, mode). +message NatIpInfo { + // A list of all NAT IPs assigned to this NAT config. + repeated NatIpInfoNatIpInfoMapping nat_ip_info_mappings = 241401884; + + // Name of the NAT config which the NAT IP belongs to. + optional string nat_name = 425596649; + +} + +// Contains information of a NAT IP. +message NatIpInfoNatIpInfoMapping { + // Specifies whether NAT IP is auto or manual. + enum Mode { + // A value indicating that the enum field is not set. + UNDEFINED_MODE = 0; + + AUTO = 2020783; + + MANUAL = 119397318; + + } + + // Specifies whether NAT IP is currently serving at least one endpoint or not. + enum Usage { + // A value indicating that the enum field is not set. + UNDEFINED_USAGE = 0; + + IN_USE = 17393485; + + UNUSED = 360643030; + + } + + // Specifies whether NAT IP is auto or manual. + // Check the Mode enum for the list of possible values. + optional string mode = 3357091; + + // NAT IP address. For example: 203.0.113.11. + optional string nat_ip = 21113093; + + // Specifies whether NAT IP is currently serving at least one endpoint or not. + // Check the Usage enum for the list of possible values. + optional string usage = 111574433; + +} + +// +message NatIpInfoResponse { + // [Output Only] A list of NAT IP information. + repeated NatIpInfo result = 139315229; + +} + // Represents a VPC Network resource. Networks connect resources to each other and to the internet. For more information, read Virtual Private Cloud (VPC) Network. message Network { // The network firewall policy enforcement order. Can be either AFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to AFTER_CLASSIC_FIREWALL if the field is not specified. @@ -17315,7 +18916,7 @@ message Network { // [Output Only] URL of the firewall policy the network is associated with. optional string firewall_policy = 498173265; - // [Output Only] The gateway address for default routing out of the network, selected by GCP. + // [Output Only] The gateway address for default routing out of the network, selected by Google Cloud. optional string gateway_i_pv4 = 178678877; // [Output Only] The unique identifier for the resource. This identifier is defined by the server. @@ -17382,7 +18983,7 @@ message NetworkAttachment { // An optional description of this resource. Provide this property when you create the resource. optional string description = 422937596; - // [Output Only] Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. An up-to-date fingerprint must be provided in order to patch. + // Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. An up-to-date fingerprint must be provided in order to patch. optional string fingerprint = 234678500; // [Output Only] The unique identifier for the resource type. The server generates this identifier. @@ -17394,7 +18995,7 @@ message NetworkAttachment { // Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. optional string name = 3373707; - // [Output Only] The URL of the network which the Network Attachment belongs to. + // [Output Only] The URL of the network which the Network Attachment belongs to. Practically it is inferred by fetching the network of the first subnetwork associated. Because it is required that all the subnetworks must be from the same network, it is assured that the Network Attachment belongs to the same network as all the subnetworks. optional string network = 232872494; // Projects that are allowed to connect to this network attachment. The project can be specified using its id or number. @@ -17464,13 +19065,16 @@ message NetworkAttachmentConnectedEndpoint { } - // The IP address assigned to the producer instance network interface. This value will be a range in case of Serverless. + // The IPv4 address assigned to the producer instance network interface. This value will be a range in case of Serverless. optional string ip_address = 406272220; + // The IPv6 address assigned to the producer instance network interface. This is only assigned when the stack types of both the instance network interface and the consumer subnet are IPv4_IPv6. + optional string ipv6_address = 341563804; + // The project id or number of the interface to which the IP was assigned. optional string project_id_or_num = 349783336; - // Alias IP ranges from the same subnetwork + // Alias IP ranges from the same subnetwork. repeated string secondary_ip_cidr_ranges = 117184788; // The status of a connected endpoint to this network attachment. @@ -17480,6 +19084,9 @@ message NetworkAttachmentConnectedEndpoint { // The subnetwork used to assign the IP to the producer instance network interface. optional string subnetwork = 307827694; + // [Output Only] The CIDR range of the subnet from which the IPv4 internal IP was allocated from. + optional string subnetwork_cidr_range = 383249827; + } // @@ -17592,18 +19199,18 @@ message NetworkEndpoint { // Optional fully qualified domain name of network endpoint. This can only be specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT. optional string fqdn = 3150485; - // The name for a specific VM instance that the IP address belongs to. This is required for network endpoints of type GCE_VM_IP_PORT. The instance must be in the same zone of network endpoint group. The name must be 1-63 characters long, and comply with RFC1035. + // The name or a URL of VM instance of this network endpoint. This field is required for network endpoints of type GCE_VM_IP and GCE_VM_IP_PORT. The instance must be in the same zone of network endpoint group (for zonal NEGs) or in the zone within the region of the NEG (for regional NEGs). If the ipAddress is specified, it must belongs to the VM instance. The name must be 1-63 characters long, and comply with RFC1035 or be a valid URL pointing to an existing instance. optional string instance = 18257045; - // Optional IPv4 address of network endpoint. The IP address must belong to a VM in Compute Engine (either the primary IP or as part of an aliased IP range). If the IP address is not specified, then the primary IP address for the VM instance in the network that the network endpoint group belongs to will be used. + // Optional IPv4 address of network endpoint. The IP address must belong to a VM in Compute Engine (either the primary IP or as part of an aliased IP range). If the IP address is not specified, then the primary IP address for the VM instance in the network that the network endpoint group belongs to will be used. This field is redundant and need not be set for network endpoints of type GCE_VM_IP. If set, it must be set to the primary internal IP address of the attached VM instance that matches the subnetwork of the NEG. The primary internal IP address from any NIC of a multi-NIC VM instance can be added to a NEG as long as it matches the NEG subnetwork. optional string ip_address = 406272220; - // Optional port number of network endpoint. If not specified, the defaultPort for the network endpoint group will be used. + // Optional port number of network endpoint. If not specified, the defaultPort for the network endpoint group will be used. This field can not be set for network endpoints of type GCE_VM_IP. optional int32 port = 3446913; } -// Represents a collection of network endpoints. A network endpoint group (NEG) defines how a set of endpoints should be reached, whether they are reachable, and where they are located. For more information about using NEGs, see Setting up external HTTP(S) Load Balancing with internet NEGs, Setting up zonal NEGs, or Setting up external HTTP(S) Load Balancing with serverless NEGs. +// Represents a collection of network endpoints. A network endpoint group (NEG) defines how a set of endpoints should be reached, whether they are reachable, and where they are located. For more information about using NEGs for different use cases, see Network endpoint groups overview. message NetworkEndpointGroup { // Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT. enum NetworkEndpointType { @@ -17636,19 +19243,19 @@ message NetworkEndpointGroup { // Metadata defined as annotations on the network endpoint group. map annotations = 112032548; - // Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set. + // Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or cloudFunction may be set. optional NetworkEndpointGroupAppEngine app_engine = 340788768; - // Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set. + // Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or cloudFunction may be set. optional NetworkEndpointGroupCloudFunction cloud_function = 519893666; - // Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set. + // Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or cloudFunction may be set. optional NetworkEndpointGroupCloudRun cloud_run = 111060353; // [Output Only] Creation timestamp in RFC3339 text format. optional string creation_timestamp = 30525366; - // The default port used if the port number is not specified in the network endpoint. + // The default port used if the port number is not specified in the network endpoint. If the network endpoint type is either GCE_VM_IP, SERVERLESS or PRIVATE_SERVICE_CONNECT, this field must not be specified. optional int32 default_port = 423377855; // An optional description of this resource. Provide this property when you create the resource. @@ -17663,7 +19270,7 @@ message NetworkEndpointGroup { // Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. optional string name = 3373707; - // The URL of the network to which all network endpoints in the NEG belong. Uses "default" project network if unspecified. + // The URL of the network to which all network endpoints in the NEG belong. Uses default project network if unspecified. optional string network = 232872494; // Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT. @@ -17672,7 +19279,7 @@ message NetworkEndpointGroup { optional NetworkEndpointGroupPscData psc_data = 71937481; - // The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment. An example value is: "asia-northeast3-cloudkms.googleapis.com" + // The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment. An example value is: asia-northeast3-cloudkms.googleapis.com optional string psc_target_service = 269132134; // [Output Only] The URL of the region where the network endpoint group is located. @@ -17719,23 +19326,23 @@ message NetworkEndpointGroupAggregatedList { // Configuration for an App Engine network endpoint group (NEG). The service is optional, may be provided explicitly or in the URL mask. The version is optional and can only be provided explicitly or in the URL mask when service is present. Note: App Engine service must be in the same project and located in the same region as the Serverless NEG. message NetworkEndpointGroupAppEngine { - // Optional serving service. The service name is case-sensitive and must be 1-63 characters long. Example value: "default", "my-service". + // Optional serving service. The service name is case-sensitive and must be 1-63 characters long. Example value: default, my-service. optional string service = 373540533; - // A template to parse service and version fields from a request URL. URL mask allows for routing to multiple App Engine services without having to create multiple Network Endpoint Groups and backend services. For example, the request URLs "foo1-dot-appname.appspot.com/v1" and "foo1-dot-appname.appspot.com/v2" can be backed by the same Serverless NEG with URL mask "-dot-appname.appspot.com/". The URL mask will parse them to { service = "foo1", version = "v1" } and { service = "foo1", version = "v2" } respectively. + // An URL mask is one of the main components of the Cloud Function. A template to parse service and version fields from a request URL. URL mask allows for routing to multiple App Engine services without having to create multiple Network Endpoint Groups and backend services. For example, the request URLs foo1-dot-appname.appspot.com/v1 and foo1-dot-appname.appspot.com/v2 can be backed by the same Serverless NEG with URL mask -dot-appname.appspot.com/. The URL mask will parse them to { service = "foo1", version = "v1" } and { service = "foo1", version = "v2" } respectively. optional string url_mask = 103352252; - // Optional serving version. The version name is case-sensitive and must be 1-100 characters long. Example value: "v1", "v2". + // Optional serving version. The version name is case-sensitive and must be 1-100 characters long. Example value: v1, v2. optional string version = 351608024; } // Configuration for a Cloud Function network endpoint group (NEG). The function must be provided explicitly or in the URL mask. Note: Cloud Function must be in the same project and located in the same region as the Serverless NEG. message NetworkEndpointGroupCloudFunction { - // A user-defined name of the Cloud Function. The function name is case-sensitive and must be 1-63 characters long. Example value: "func1". + // A user-defined name of the Cloud Function. The function name is case-sensitive and must be 1-63 characters long. Example value: func1. optional string function = 307196888; - // A template to parse function field from a request URL. URL mask allows for routing to multiple Cloud Functions without having to create multiple Network Endpoint Groups and backend services. For example, request URLs " mydomain.com/function1" and "mydomain.com/function2" can be backed by the same Serverless NEG with URL mask "/". The URL mask will parse them to { function = "function1" } and { function = "function2" } respectively. + // An URL mask is one of the main components of the Cloud Function. A template to parse function field from a request URL. URL mask allows for routing to multiple Cloud Functions without having to create multiple Network Endpoint Groups and backend services. For example, request URLs mydomain.com/function1 and mydomain.com/function2 can be backed by the same Serverless NEG with URL mask /. The URL mask will parse them to { function = "function1" } and { function = "function2" } respectively. optional string url_mask = 103352252; } @@ -17748,7 +19355,7 @@ message NetworkEndpointGroupCloudRun { // Optional Cloud Run tag represents the "named-revision" to provide additional fine-grained traffic routing information. The tag must be 1-63 characters long, and comply with RFC1035. Example value: "revision-0010". optional string tag = 114586; - // A template to parse and fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services. For example, request URLs "foo1.domain.com/bar1" and "foo1.domain.com/bar2" can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask ".domain.com/". The URL mask will parse them to { service="bar1", tag="foo1" } and { service="bar2", tag="foo2" } respectively. + // An URL mask is one of the main components of the Cloud Function. A template to parse and fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services. For example, request URLs foo1.domain.com/bar1 and foo1.domain.com/bar2 can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask .domain.com/. The URL mask will parse them to { service="bar1", tag="foo1" } and { service="bar2", tag="foo2" } respectively. optional string url_mask = 103352252; } @@ -17920,7 +19527,7 @@ message NetworkInterface { } - // The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used. This field can be both set at instance creation and update network interface operations. + // The stack type for this network interface. To assign only IPv4 addresses, use IPV4_ONLY. To assign both IPv4 and IPv6 addresses, use IPV4_IPV6. If not specified, IPV4_ONLY is used. This field can be both set at instance creation and update network interface operations. enum StackType { // A value indicating that the enum field is not set. UNDEFINED_STACK_TYPE = 0; @@ -17954,7 +19561,7 @@ message NetworkInterface { // Check the Ipv6AccessType enum for the list of possible values. optional string ipv6_access_type = 504658653; - // An IPv6 internal network address for this network interface. + // An IPv6 internal network address for this network interface. To use a static internal IP address, it must be unused and in the same region as the instance's zone. If not specified, Google Cloud will automatically assign an internal IPv6 address from the instance's subnetwork. optional string ipv6_address = 341563804; // [Output Only] Type of the resource. Always compute#networkInterface for network interfaces. @@ -17979,7 +19586,7 @@ message NetworkInterface { // The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It'll be empty if not specified by the users. optional int32 queue_count = 503708769; - // The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used. This field can be both set at instance creation and update network interface operations. + // The stack type for this network interface. To assign only IPv4 addresses, use IPV4_ONLY. To assign both IPv4 and IPv6 addresses, use IPV4_IPV6. If not specified, IPV4_ONLY is used. This field can be both set at instance creation and update network interface operations. // Check the StackType enum for the list of possible values. optional string stack_type = 425908881; @@ -18490,6 +20097,13 @@ message NodeGroupsSetNodeTemplateRequest { } +// +message NodeGroupsSimulateMaintenanceEventRequest { + // Names of the nodes to go under maintenance simulation. + repeated string nodes = 104993457; + +} + // Represent a sole-tenant Node Template resource. You can use a template to define properties for nodes in a node group. For more information, read Creating node groups and instances. message NodeTemplate { // CPU overcommit. @@ -18553,7 +20167,7 @@ message NodeTemplate { // The node type to use for nodes group that are created from this template. optional string node_type = 465832791; - // The flexible properties of the desired node type. Node groups that use this node template will create nodes of a type that matches these properties. This field is mutually exclusive with the node_type property; you can only define one or the other, but not both. + // Do not use. Instead, use the node_type property. optional NodeTemplateNodeTypeFlexibility node_type_flexibility = 315257905; // [Output Only] The name of the region where the node template resides, such as us-central1. @@ -18807,7 +20421,7 @@ message NotificationEndpointList { } -// Represents an Operation resource. Google Compute Engine has three Operation resources: * [Global](/compute/docs/reference/rest/v1/globalOperations) * [Regional](/compute/docs/reference/rest/v1/regionOperations) * [Zonal](/compute/docs/reference/rest/v1/zoneOperations) You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses. Operations can be global, regional or zonal. - For global operations, use the `globalOperations` resource. - For regional operations, use the `regionOperations` resource. - For zonal operations, use the `zonalOperations` resource. For more information, read Global, Regional, and Zonal Resources. +// Represents an Operation resource. Google Compute Engine has three Operation resources: * [Global](/compute/docs/reference/rest/v1/globalOperations) * [Regional](/compute/docs/reference/rest/v1/regionOperations) * [Zonal](/compute/docs/reference/rest/v1/zoneOperations) You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses. Operations can be global, regional or zonal. - For global operations, use the `globalOperations` resource. - For regional operations, use the `regionOperations` resource. - For zonal operations, use the `zoneOperations` resource. For more information, read Global, Regional, and Zonal Resources. Note that completed Operation resources have a limited retention period. message Operation { // [Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`. enum Status { @@ -18849,6 +20463,8 @@ message Operation { // [Output Only] The time that this operation was requested. This value is in RFC3339 text format. optional string insert_time = 433722515; + optional InstancesBulkInsertOperationMetadata instances_bulk_insert_operation_metadata = 89146177; + // [Output Only] Type of the resource. Always `compute#operation` for Operation resources. optional string kind = 3292052; @@ -18870,6 +20486,9 @@ message Operation { // [Output Only] Server-defined URL for the resource. optional string self_link = 456214797; + // [Output Only] If the operation is for projects.setCommonInstanceMetadata, this field will contain information on all underlying zonal actions and their state. + optional SetCommonInstanceMetadataOperationMetadata set_common_instance_metadata_operation_metadata = 490378980; + // [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format. optional string start_time = 37467274; @@ -18885,7 +20504,7 @@ message Operation { // [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from. optional string target_link = 62671336; - // [Output Only] User who requested the operation, for example: `user@example.com`. + // [Output Only] User who requested the operation, for example: `user@example.com` or `alice_smith_identifier (global/workforcePools/example-com-us-employees)`. optional string user = 3599307; // [Output Only] If warning messages are generated during processing of the operation, this field will be populated. @@ -18955,37 +20574,37 @@ message OperationsScopedList { // Settings controlling the eviction of unhealthy hosts from the load balancing pool for the backend service. message OutlierDetection { - // The base time that a host is ejected for. The real ejection time is equal to the base ejection time multiplied by the number of times the host has been ejected. Defaults to 30000ms or 30s. + // The base time that a backend endpoint is ejected for. Defaults to 30000ms or 30s. After a backend endpoint is returned back to the load balancing pool, it can be ejected again in another ejection analysis. Thus, the total ejection time is equal to the base ejection time multiplied by the number of times the backend endpoint has been ejected. Defaults to 30000ms or 30s. optional Duration base_ejection_time = 80997255; - // Number of errors before a host is ejected from the connection pool. When the backend host is accessed over HTTP, a 5xx return code qualifies as an error. Defaults to 5. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. + // Number of consecutive errors before a backend endpoint is ejected from the load balancing pool. When the backend endpoint is accessed over HTTP, a 5xx return code qualifies as an error. Defaults to 5. optional int32 consecutive_errors = 387193248; - // The number of consecutive gateway failures (502, 503, 504 status or connection errors that are mapped to one of those status codes) before a consecutive gateway failure ejection occurs. Defaults to 3. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. + // The number of consecutive gateway failures (502, 503, 504 status or connection errors that are mapped to one of those status codes) before a consecutive gateway failure ejection occurs. Defaults to 3. optional int32 consecutive_gateway_failure = 417504250; - // The percentage chance that a host will be actually ejected when an outlier status is detected through consecutive 5xx. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 0. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. + // The percentage chance that a backend endpoint will be ejected when an outlier status is detected through consecutive 5xx. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 0. optional int32 enforcing_consecutive_errors = 213133760; - // The percentage chance that a host will be actually ejected when an outlier status is detected through consecutive gateway failures. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 100. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. + // The percentage chance that a backend endpoint will be ejected when an outlier status is detected through consecutive gateway failures. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 100. optional int32 enforcing_consecutive_gateway_failure = 394440666; - // The percentage chance that a host will be actually ejected when an outlier status is detected through success rate statistics. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 100. + // The percentage chance that a backend endpoint will be ejected when an outlier status is detected through success rate statistics. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 100. Not supported when the backend service uses Serverless NEG. optional int32 enforcing_success_rate = 194508732; - // Time interval between ejection analysis sweeps. This can result in both new ejections as well as hosts being returned to service. Defaults to 1 second. + // Time interval between ejection analysis sweeps. This can result in both new ejections and backend endpoints being returned to service. The interval is equal to the number of seconds as defined in outlierDetection.interval.seconds plus the number of nanoseconds as defined in outlierDetection.interval.nanos. Defaults to 1 second. optional Duration interval = 33547461; - // Maximum percentage of hosts in the load balancing pool for the backend service that can be ejected. Defaults to 50%. + // Maximum percentage of backend endpoints in the load balancing pool for the backend service that can be ejected if the ejection conditions are met. Defaults to 50%. optional int32 max_ejection_percent = 18436888; - // The number of hosts in a cluster that must have enough request volume to detect success rate outliers. If the number of hosts is less than this setting, outlier detection via success rate statistics is not performed for any host in the cluster. Defaults to 5. + // The number of backend endpoints in the load balancing pool that must have enough request volume to detect success rate outliers. If the number of backend endpoints is fewer than this setting, outlier detection via success rate statistics is not performed for any backend endpoint in the load balancing pool. Defaults to 5. Not supported when the backend service uses Serverless NEG. optional int32 success_rate_minimum_hosts = 525766903; - // The minimum number of total requests that must be collected in one interval (as defined by the interval duration above) to include this host in success rate based outlier detection. If the volume is lower than this setting, outlier detection via success rate statistics is not performed for that host. Defaults to 100. + // The minimum number of total requests that must be collected in one interval (as defined by the interval duration above) to include this backend endpoint in success rate based outlier detection. If the volume is lower than this setting, outlier detection via success rate statistics is not performed for that backend endpoint. Defaults to 100. Not supported when the backend service uses Serverless NEG. optional int32 success_rate_request_volume = 281425357; - // This factor is used to determine the ejection threshold for success rate outlier ejection. The ejection threshold is the difference between the mean success rate, and the product of this factor and the standard deviation of the mean success rate: mean - (stdev * success_rate_stdev_factor). This factor is divided by a thousand to get a double. That is, if the desired factor is 1.9, the runtime value should be 1900. Defaults to 1900. + // This factor is used to determine the ejection threshold for success rate outlier ejection. The ejection threshold is the difference between the mean success rate, and the product of this factor and the standard deviation of the mean success rate: mean - (stdev * successRateStdevFactor). This factor is divided by a thousand to get a double. That is, if the desired factor is 1.9, the runtime value should be 1900. Defaults to 1900. Not supported when the backend service uses Serverless NEG. optional int32 success_rate_stdev_factor = 174735773; } @@ -19146,10 +20765,10 @@ message PacketMirroringFilter { } - // Protocols that apply as filter on mirrored traffic. If no protocols are specified, all traffic that matches the specified CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored. + // Protocols that apply as filter on mirrored traffic. If no protocols are specified, all traffic that matches the specified CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. repeated string I_p_protocols = 98544854; - // IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. Only IPv4 is supported. If no ranges are specified, all traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored. + // One or more IPv4 or IPv6 CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use "0.0.0.0/0,::/0". Note: Support for IPv6 traffic is in preview. repeated string cidr_ranges = 487901697; // Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH. @@ -19508,6 +21127,31 @@ message PatchInterconnectRequest { } +// A request message for NetworkAttachments.Patch. See the method description for details. +message PatchNetworkAttachmentRequest { + // Name of the NetworkAttachment resource to patch. + string network_attachment = 224644052 [(google.api.field_behavior) = REQUIRED]; + + // The body resource for this request + NetworkAttachment network_attachment_resource = 210974745 [(google.api.field_behavior) = REQUIRED]; + + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // Name of the region for this request. + string region = 138946292 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "region" + ]; + + // An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). end_interface: MixerMutationRequestBuilder + optional string request_id = 37109963; + +} + // A request message for NetworkEdgeSecurityServices.Patch. See the method description for details. message PatchNetworkEdgeSecurityServiceRequest { // Name of the network edge security service to update. @@ -19893,6 +21537,9 @@ message PatchRegionSecurityPolicyRequest { // The body resource for this request SecurityPolicy security_policy_resource = 216159612 [(google.api.field_behavior) = REQUIRED]; + // Indicates fields to be cleared as part of this request. + optional string update_mask = 500079778; + } // A request message for RegionSslPolicies.Patch. See the method description for details. @@ -19970,6 +21617,34 @@ message PatchRegionUrlMapRequest { } +// A request message for ResourcePolicies.Patch. See the method description for details. +message PatchResourcePolicyRequest { + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // Name of the region for this request. + string region = 138946292 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "region" + ]; + + // An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + optional string request_id = 37109963; + + // Id of the resource policy to patch. + string resource_policy = 159240835 [(google.api.field_behavior) = REQUIRED]; + + // The body resource for this request + ResourcePolicy resource_policy_resource = 76826186 [(google.api.field_behavior) = REQUIRED]; + + // update_mask indicates fields to be updated as part of this request. + optional string update_mask = 500079778; + +} + // A request message for Routers.Patch. See the method description for details. message PatchRouterRequest { // Project ID for this request. @@ -20061,6 +21736,37 @@ message PatchRuleRegionNetworkFirewallPolicyRequest { } +// A request message for RegionSecurityPolicies.PatchRule. See the method description for details. +message PatchRuleRegionSecurityPolicyRequest { + // The priority of the rule to patch. + optional int32 priority = 445151652; + + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // Name of the region scoping this request. + string region = 138946292 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "region" + ]; + + // Name of the security policy to update. + string security_policy = 171082513 [(google.api.field_behavior) = REQUIRED]; + + // The body resource for this request + SecurityPolicyRule security_policy_rule_resource = 402693443 [(google.api.field_behavior) = REQUIRED]; + + // Indicates fields to be cleared as part of this request. + optional string update_mask = 500079778; + + // If true, the request will not be committed. + optional bool validate_only = 242744629; + +} + // A request message for SecurityPolicies.PatchRule. See the method description for details. message PatchRuleSecurityPolicyRequest { // The priority of the rule to patch. @@ -20078,6 +21784,9 @@ message PatchRuleSecurityPolicyRequest { // The body resource for this request SecurityPolicyRule security_policy_rule_resource = 402693443 [(google.api.field_behavior) = REQUIRED]; + // Indicates fields to be cleared as part of this request. + optional string update_mask = 500079778; + // If true, the request will not be committed. optional bool validate_only = 242744629; @@ -20100,6 +21809,9 @@ message PatchSecurityPolicyRequest { // The body resource for this request SecurityPolicy security_policy_resource = 216159612 [(google.api.field_behavior) = REQUIRED]; + // Indicates fields to be cleared as part of this request. + optional string update_mask = 500079778; + } // A request message for ServiceAttachments.Patch. See the method description for details. @@ -20127,6 +21839,25 @@ message PatchServiceAttachmentRequest { } +// A request message for SnapshotSettingsService.Patch. See the method description for details. +message PatchSnapshotSettingRequest { + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + optional string request_id = 37109963; + + // The body resource for this request + SnapshotSettings snapshot_settings_resource = 357664495 [(google.api.field_behavior) = REQUIRED]; + + // update_mask indicates fields to be updated as part of this request. + optional string update_mask = 500079778; + +} + // A request message for SslPolicies.Patch. See the method description for details. message PatchSslPolicyRequest { // Project ID for this request. @@ -20252,7 +21983,7 @@ message PatchUrlMapRequest { // A matcher for the path portion of the URL. The BackendService from the longest-matched rule will serve the URL. If no rule was matched, the default service is used. message PathMatcher { - // defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within a path matcher's defaultRouteAction. + // defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction. optional HttpRouteAction default_route_action = 378919466; // The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use @@ -20283,7 +22014,7 @@ message PathRule { // The list of path patterns to match. Each must start with / and the only place a * is allowed is at the end following a /. The string fed to the path matcher does not include any text after the first ? or #, and those chars are not allowed here. repeated string paths = 106438894; - // In response to a matching path, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of routeAction or urlRedirect must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within a path rule's routeAction. + // In response to a matching path, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of routeAction or urlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path rule's routeAction. optional HttpRouteAction route_action = 424563948; // The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set. @@ -20336,7 +22067,29 @@ message PerInstanceConfig { } -// An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/). +// A request message for Instances.PerformMaintenance. See the method description for details. +message PerformMaintenanceInstanceRequest { + // Name of the instance scoping this request. + string instance = 18257045 [(google.api.field_behavior) = REQUIRED]; + + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + optional string request_id = 37109963; + + // The name of the zone for this request. + string zone = 3744684 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "zone" + ]; + +} + +// An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/). message Policy { // Specifies cloud audit logging configuration for this policy. repeated AuditConfig audit_configs = 328080653; @@ -20369,6 +22122,12 @@ message PreservedState { // Preserved disks defined for this instance. This map is keyed with the device names of the disks. map disks = 95594102; + // Preserved external IPs defined for this instance. This map is keyed with the name of the network interface. + map external_i_ps = 532687245; + + // Preserved internal IPs defined for this instance. This map is keyed with the name of the network interface. + map internal_i_ps = 215731675; + // Preserved metadata defined for this instance. map metadata = 86866735; @@ -20413,6 +22172,38 @@ message PreservedStatePreservedDisk { } +// +message PreservedStatePreservedNetworkIp { + // These stateful IPs will never be released during autohealing, update or VM instance recreate operations. This flag is used to configure if the IP reservation should be deleted after it is no longer used by the group, e.g. when the given instance or the whole group is deleted. + enum AutoDelete { + // A value indicating that the enum field is not set. + UNDEFINED_AUTO_DELETE = 0; + + NEVER = 74175084; + + ON_PERMANENT_INSTANCE_DELETION = 95727719; + + } + + // These stateful IPs will never be released during autohealing, update or VM instance recreate operations. This flag is used to configure if the IP reservation should be deleted after it is no longer used by the group, e.g. when the given instance or the whole group is deleted. + // Check the AutoDelete enum for the list of possible values. + optional string auto_delete = 464761403; + + // Ip address representation + optional PreservedStatePreservedNetworkIpIpAddress ip_address = 406272220; + +} + +// +message PreservedStatePreservedNetworkIpIpAddress { + // The URL of the reservation for this IP address. + optional string address = 462920692; + + // An IPv4 internal network address to assign to the instance for this network interface. + optional string literal = 182460591; + +} + // A request message for Routers.Preview. See the method description for details. message PreviewRouterRequest { // Project ID for this request. @@ -20586,11 +22377,43 @@ message ProjectsSetDefaultNetworkTierRequest { // A public advertised prefix represents an aggregated IP prefix or netblock which customers bring to cloud. The IP prefix is a single unit of route advertisement and is announced globally to the internet. message PublicAdvertisedPrefix { + // [Output Only] The version of BYOIP API. + enum ByoipApiVersion { + // A value indicating that the enum field is not set. + UNDEFINED_BYOIP_API_VERSION = 0; + + // This public advertised prefix can be used to create both regional and global public delegated prefixes. It usually takes 4 weeks to create or delete a public delegated prefix. The BGP status cannot be changed. + V1 = 2715; + + // This public advertised prefix can only be used to create regional public delegated prefixes. Public delegated prefix creation and deletion takes minutes and the BGP status can be modified. + V2 = 2716; + + } + + // Specifies how child public delegated prefix will be scoped. It could be one of following values: - `REGIONAL`: The public delegated prefix is regional only. The provisioning will take a few minutes. - `GLOBAL`: The public delegated prefix is global only. The provisioning will take ~4 weeks. - `GLOBAL_AND_REGIONAL` [output only]: The public delegated prefixes is BYOIP V1 legacy prefix. This is output only value and no longer supported in BYOIP V2. + enum PdpScope { + // A value indicating that the enum field is not set. + UNDEFINED_PDP_SCOPE = 0; + + // The public delegated prefix is global only. The provisioning will take ~4 weeks. + GLOBAL = 494663587; + + // The public delegated prefixes is BYOIP V1 legacy prefix. This is output only value and no longer supported in BYOIP V2. + GLOBAL_AND_REGIONAL = 318053059; + + // The public delegated prefix is regional only. The provisioning will take a few minutes. + REGIONAL = 92288543; + + } + // The status of the public advertised prefix. Possible values include: - `INITIAL`: RPKI validation is complete. - `PTR_CONFIGURED`: User has configured the PTR. - `VALIDATED`: Reverse DNS lookup is successful. - `REVERSE_DNS_LOOKUP_FAILED`: Reverse DNS lookup failed. - `PREFIX_CONFIGURATION_IN_PROGRESS`: The prefix is being configured. - `PREFIX_CONFIGURATION_COMPLETE`: The prefix is fully configured. - `PREFIX_REMOVAL_IN_PROGRESS`: The prefix is being removed. enum Status { // A value indicating that the enum field is not set. UNDEFINED_STATUS = 0; + // The prefix is announced to Internet. + ANNOUNCED_TO_INTERNET = 177880897; + // RPKI validation is complete. INITIAL = 518841124; @@ -20606,6 +22429,9 @@ message PublicAdvertisedPrefix { // User has configured the PTR. PTR_CONFIGURED = 513497167; + // The prefix is currently withdrawn but ready to be announced. + READY_TO_ANNOUNCE = 64641265; + // Reverse DNS lookup failed. REVERSE_DNS_LOOKUP_FAILED = 295755183; @@ -20614,13 +22440,17 @@ message PublicAdvertisedPrefix { } + // [Output Only] The version of BYOIP API. + // Check the ByoipApiVersion enum for the list of possible values. + optional string byoip_api_version = 162683283; + // [Output Only] Creation timestamp in RFC3339 text format. optional string creation_timestamp = 30525366; // An optional description of this resource. Provide this property when you create the resource. optional string description = 422937596; - // The IPv4 address to be used for reverse DNS verification. + // The address to be used for reverse DNS verification. optional string dns_verification_ip = 241011381; // Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a new PublicAdvertisedPrefix. An up-to-date fingerprint must be provided in order to update the PublicAdvertisedPrefix, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a PublicAdvertisedPrefix. @@ -20629,7 +22459,7 @@ message PublicAdvertisedPrefix { // [Output Only] The unique identifier for the resource type. The server generates this identifier. optional uint64 id = 3355; - // The IPv4 address range, in CIDR format, represented by this public advertised prefix. + // The address range, in CIDR format, represented by this public advertised prefix. optional string ip_cidr_range = 98117322; // [Output Only] Type of the resource. Always compute#publicAdvertisedPrefix for public advertised prefixes. @@ -20638,6 +22468,10 @@ message PublicAdvertisedPrefix { // Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. optional string name = 3373707; + // Specifies how child public delegated prefix will be scoped. It could be one of following values: - `REGIONAL`: The public delegated prefix is regional only. The provisioning will take a few minutes. - `GLOBAL`: The public delegated prefix is global only. The provisioning will take ~4 weeks. - `GLOBAL_AND_REGIONAL` [output only]: The public delegated prefixes is BYOIP V1 legacy prefix. This is output only value and no longer supported in BYOIP V2. + // Check the PdpScope enum for the list of possible values. + optional string pdp_scope = 524264785; + // [Output Only] The list of public delegated prefixes that exist for this public advertised prefix. repeated PublicAdvertisedPrefixPublicDelegatedPrefix public_delegated_prefixs = 425811723; @@ -20696,6 +22530,19 @@ message PublicAdvertisedPrefixPublicDelegatedPrefix { // A PublicDelegatedPrefix resource represents an IP block within a PublicAdvertisedPrefix that is configured within a single cloud scope (global or region). IPs in the block can be allocated to resources within that scope. Public delegated prefixes may be further broken up into smaller IP blocks in the same scope as the parent block. message PublicDelegatedPrefix { + // [Output Only] The version of BYOIP API. + enum ByoipApiVersion { + // A value indicating that the enum field is not set. + UNDEFINED_BYOIP_API_VERSION = 0; + + // This public delegated prefix usually takes 4 weeks to delete, and the BGP status cannot be changed. Announce and Withdraw APIs can not be used on this prefix. + V1 = 2715; + + // This public delegated prefix takes minutes to delete. Announce and Withdraw APIs can be used on this prefix to change the BGP status. + V2 = 2716; + + } + // [Output Only] The status of the public delegated prefix, which can be one of following values: - `INITIALIZING` The public delegated prefix is being initialized and addresses cannot be created yet. - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration prefix and is active. - `ANNOUNCED` The public delegated prefix is active. - `DELETING` The public delegated prefix is being deprovsioned. enum Status { // A value indicating that the enum field is not set. @@ -20704,6 +22551,12 @@ message PublicDelegatedPrefix { // The public delegated prefix is active. ANNOUNCED = 365103355; + // The prefix is announced within Google network. + ANNOUNCED_TO_GOOGLE = 454875705; + + // The prefix is announced to Internet and within Google. + ANNOUNCED_TO_INTERNET = 177880897; + // The public delegated prefix is being deprovsioned. DELETING = 528602024; @@ -20715,6 +22568,10 @@ message PublicDelegatedPrefix { } + // [Output Only] The version of BYOIP API. + // Check the ByoipApiVersion enum for the list of possible values. + optional string byoip_api_version = 162683283; + // [Output Only] Creation timestamp in RFC3339 text format. optional string creation_timestamp = 30525366; @@ -20727,7 +22584,7 @@ message PublicDelegatedPrefix { // [Output Only] The unique identifier for the resource type. The server generates this identifier. optional uint64 id = 3355; - // The IPv4 address range, in CIDR format, represented by this public delegated prefix. + // The IP address range, in CIDR format, represented by this public delegated prefix. optional string ip_cidr_range = 98117322; // If true, the prefix will be live migrated. @@ -20823,7 +22680,7 @@ message PublicDelegatedPrefixPublicDelegatedSubPrefix { // An optional description of this resource. Provide this property when you create the resource. optional string description = 422937596; - // The IPv4 address range, in CIDR format, represented by this sub public delegated prefix. + // The IP address range, in CIDR format, represented by this sub public delegated prefix. optional string ip_cidr_range = 98117322; // Whether the sub prefix is delegated to create Address resources in the delegatee project. @@ -20906,8 +22763,12 @@ message Quota { COMMITTED_NVIDIA_A100_GPUS = 375799445; + COMMITTED_NVIDIA_H100_GPUS = 71649180; + COMMITTED_NVIDIA_K80_GPUS = 3857188; + COMMITTED_NVIDIA_L4_GPUS = 19163645; + COMMITTED_NVIDIA_P100_GPUS = 107528100; COMMITTED_NVIDIA_P4_GPUS = 347952897; @@ -20920,6 +22781,8 @@ message Quota { COMMITTED_T2D_CPUS = 382266439; + COMMITTED_Z3_CPUS = 263844686; + // Guest CPUs CPUS = 2075595; @@ -21005,10 +22868,18 @@ message Quota { NETWORKS = 485481477; + NETWORK_ATTACHMENTS = 149028575; + NETWORK_ENDPOINT_GROUPS = 102144909; NETWORK_FIREWALL_POLICIES = 101117374; + NET_LB_SECURITY_POLICIES_PER_REGION = 157892269; + + NET_LB_SECURITY_POLICY_RULES_PER_REGION = 356090931; + + NET_LB_SECURITY_POLICY_RULE_ATTRIBUTES_PER_REGION = 311243888; + NODE_GROUPS = 24624817; NODE_TEMPLATES = 474896668; @@ -21019,6 +22890,8 @@ message Quota { NVIDIA_K80_GPUS = 163886599; + NVIDIA_L4_GPUS = 491923130; + NVIDIA_P100_GPUS = 236601633; NVIDIA_P100_VWS_GPUS = 213970574; @@ -21045,8 +22918,12 @@ message Quota { PREEMPTIBLE_NVIDIA_A100_GPUS = 68832784; + PREEMPTIBLE_NVIDIA_H100_GPUS = 301553431; + PREEMPTIBLE_NVIDIA_K80_GPUS = 374960201; + PREEMPTIBLE_NVIDIA_L4_GPUS = 100408376; + PREEMPTIBLE_NVIDIA_P100_GPUS = 337432351; PREEMPTIBLE_NVIDIA_P100_VWS_GPUS = 313544076; @@ -21061,6 +22938,12 @@ message Quota { PREEMPTIBLE_NVIDIA_V100_GPUS = 230123813; + PREEMPTIBLE_TPU_LITE_DEVICE_V5 = 174262523; + + PREEMPTIBLE_TPU_LITE_PODSLICE_V5 = 112281796; + + PREEMPTIBLE_TPU_PODSLICE_V4 = 425541132; + PSC_ILB_CONSUMER_FORWARDING_RULES_PER_PRODUCER_NETWORK = 231164291; PSC_INTERNAL_LB_FORWARDING_RULES = 169005435; @@ -21093,6 +22976,8 @@ message Quota { SECURITY_POLICIES_PER_REGION = 249041734; + SECURITY_POLICY_ADVANCED_RULES_PER_REGION = 371815341; + SECURITY_POLICY_CEVAL_RULES = 470815689; SECURITY_POLICY_RULES = 203549225; @@ -21134,6 +23019,12 @@ message Quota { TARGET_VPN_GATEWAYS = 75029928; + TPU_LITE_DEVICE_V5 = 449577597; + + TPU_LITE_PODSLICE_V5 = 12708294; + + TPU_PODSLICE_V4 = 214467530; + URL_MAPS = 378660743; VPN_GATEWAYS = 35620282; @@ -21161,9 +23052,25 @@ message Quota { // Additional details for quota exceeded error for resource quota. message QuotaExceededInfo { + // Rollout status of the future quota limit. + enum RolloutStatus { + // A value indicating that the enum field is not set. + UNDEFINED_ROLLOUT_STATUS = 0; + + // IN_PROGRESS - A rollout is in process which will change the limit value to future limit. + IN_PROGRESS = 469193735; + + // ROLLOUT_STATUS_UNSPECIFIED - Rollout status is not specified. The default value. + ROLLOUT_STATUS_UNSPECIFIED = 26864568; + + } + // The map holding related quota dimensions. map dimensions = 414334925; + // Future quota limit being rolled out. The limit's unit depends on the quota type or metric. + optional double future_limit = 456564287; + // Current effective quota limit. The limit's unit depends on the quota type or metric. optional double limit = 102976443; @@ -21173,6 +23080,10 @@ message QuotaExceededInfo { // The Compute Engine quota metric name. optional string metric_name = 409881530; + // Rollout status of the future quota limit. + // Check the RolloutStatus enum for the list of possible values. + optional string rollout_status = 476426816; + } // The parameters of the raw disk image. @@ -21313,6 +23224,16 @@ message Region { } +// +message RegionAddressesMoveRequest { + // An optional destination address description if intended to be different from the source. + optional string description = 422937596; + + // The URL of the destination address to move to. This can be a full or partial URL. For example, the following are all valid URLs to a address: - https://www.googleapis.com/compute/v1/projects/project/regions/region /addresses/address - projects/project/regions/region/addresses/address Note that destination project must be different from the source project. So /regions/region/addresses/address is not valid partial url. + optional string destination_address = 371693763; + +} + // Contains a list of autoscalers. message RegionAutoscalerList { // [Output Only] Unique identifier for the resource; defined by the server. @@ -21378,6 +23299,13 @@ message RegionDisksResizeRequest { } +// +message RegionDisksStartAsyncReplicationRequest { + // The secondary disk to start asynchronous replication to. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - https://www.googleapis.com/compute/v1/projects/project/regions/region /disks/disk - projects/project/zones/zone/disks/disk - projects/project/regions/region/disks/disk - zones/zone/disks/disk - regions/region/disks/disk + optional string async_secondary_disk = 131645867; + +} + // Contains a list of InstanceGroup resources. message RegionInstanceGroupList { // [Output Only] Unique identifier for the resource; defined by the server. @@ -21452,7 +23380,7 @@ message RegionInstanceGroupManagersAbandonInstancesRequest { // RegionInstanceGroupManagers.applyUpdatesToInstances message RegionInstanceGroupManagersApplyUpdatesRequest { - // The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update. + // The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance and limit disruption as much as possible. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update. // Additional supported values which may be not listed in the enum directly due to technical reasons: // NONE // REFRESH @@ -21464,7 +23392,7 @@ message RegionInstanceGroupManagersApplyUpdatesRequest { } - // The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail. + // The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance and limit disruption as much as possible. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail. // Additional supported values which may be not listed in the enum directly due to technical reasons: // NONE // REFRESH @@ -21476,17 +23404,17 @@ message RegionInstanceGroupManagersApplyUpdatesRequest { } - // Flag to update all instances instead of specified list of ���instances���. If the flag is set to true then the instances may not be specified in the request. + // Flag to update all instances instead of specified list of “instances”. If the flag is set to true then the instances may not be specified in the request. optional bool all_instances = 403676512; // The list of URLs of one or more instances for which you want to apply updates. Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]. repeated string instances = 29097598; - // The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update. + // The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance and limit disruption as much as possible. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update. // Check the MinimalAction enum for the list of possible values. optional string minimal_action = 270567060; - // The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail. + // The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance and limit disruption as much as possible. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail. // Check the MostDisruptiveAllowedAction enum for the list of possible values. optional string most_disruptive_allowed_action = 66103053; @@ -21644,6 +23572,20 @@ message RegionList { } +// +message RegionNetworkEndpointGroupsAttachEndpointsRequest { + // The list of network endpoints to be attached. + repeated NetworkEndpoint network_endpoints = 149850285; + +} + +// +message RegionNetworkEndpointGroupsDetachEndpointsRequest { + // The list of network endpoints to be detached. + repeated NetworkEndpoint network_endpoints = 149850285; + +} + // message RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse { // Effective firewalls from firewall policy. @@ -22006,6 +23948,28 @@ message RemoveRuleRegionNetworkFirewallPolicyRequest { } +// A request message for RegionSecurityPolicies.RemoveRule. See the method description for details. +message RemoveRuleRegionSecurityPolicyRequest { + // The priority of the rule to remove from the security policy. + optional int32 priority = 445151652; + + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // Name of the region scoping this request. + string region = 138946292 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "region" + ]; + + // Name of the security policy to update. + string security_policy = 171082513 [(google.api.field_behavior) = REQUIRED]; + +} + // A request message for SecurityPolicies.RemoveRule. See the method description for details. message RemoveRuleSecurityPolicyRequest { // The priority of the rule to remove from the security policy. @@ -22052,6 +24016,9 @@ message Reservation { } + // Reservation for aggregated resources, providing shape flexibility. + optional AllocationAggregateReservation aggregate_reservation = 291567948; + // [Output Only] Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment. optional string commitment = 482134805; @@ -22070,6 +24037,7 @@ message Reservation { // The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. optional string name = 3373707; + // Resource policies to be added to this reservation. The key is defined by user, and the value is resource policy url. This is to define placement policy with reservation. map resource_policies = 22220385; // [Output Only] Status information for Reservation resource. @@ -22418,6 +24386,9 @@ message ResourcePolicy { optional string description = 422937596; + // Resource policy for disk consistency groups. + optional ResourcePolicyDiskConsistencyGroupPolicy disk_consistency_group_policy = 473727515; + // Resource policy for instances for placement configuration. optional ResourcePolicyGroupPlacementPolicy group_placement_policy = 10931596; @@ -22490,6 +24461,10 @@ message ResourcePolicyDailyCycle { } +// Resource policy for disk consistency groups. +message ResourcePolicyDiskConsistencyGroupPolicy { +} + // A GroupPlacementPolicy specifies resource placement configuration. It specifies the failure bucket separation as well as network locality message ResourcePolicyGroupPlacementPolicy { // Specifies network collocation @@ -22536,7 +24511,7 @@ message ResourcePolicyInstanceSchedulePolicy { // The start time of the schedule. The timestamp is an RFC3339 string. optional string start_time = 37467274; - // Specifies the time zone to be used in interpreting Schedule.schedule. The value of this field must be a time zone name from the tz database: http://en.wikipedia.org/wiki/Tz_database. + // Specifies the time zone to be used in interpreting Schedule.schedule. The value of this field must be a time zone name from the tz database: https://wikipedia.org/wiki/Tz_database. optional string time_zone = 36848094; // Specifies the schedule for starting instances. @@ -22707,6 +24682,8 @@ message ResourceStatus { // [Output Only] An opaque ID of the host on which the VM is running. optional string physical_host = 464370704; + optional UpcomingMaintenance upcoming_maintenance = 227348592; + } // A request message for Instances.Resume. See the method description for details. @@ -22776,7 +24753,7 @@ message Route { // An optional description of this resource. Provide this field when you create the resource. optional string description = 422937596; - // The destination range of outgoing packets that this route applies to. Both IPv4 and IPv6 are supported. + // The destination range of outgoing packets that this route applies to. Both IPv4 and IPv6 are supported. Must specify an IPv4 range (e.g. 192.0.2.0/24) or an IPv6 range in RFC 4291 format (e.g. 2001:db8::/32). IPv6 range will be displayed using RFC 5952 compressed format. optional string dest_range = 381327712; // [Output Only] The unique identifier for the resource. This identifier is defined by the server. @@ -22794,13 +24771,16 @@ message Route { // The URL to a gateway that should handle matching packets. You can only specify the internet gateway using a full or partial valid URL: projects/ project/global/gateways/default-internet-gateway optional string next_hop_gateway = 377175298; + // [Output Only] The full resource name of the Network Connectivity Center hub that will handle matching packets. + optional string next_hop_hub = 198679219; + // The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule. For example, the following are all valid URLs: - 10.128.0.56 - https://www.googleapis.com/compute/v1/projects/project/regions/region /forwardingRules/forwardingRule - regions/region/forwardingRules/forwardingRule optional string next_hop_ilb = 198679901; // The URL to an instance that should handle matching packets. You can specify this as a full or partial URL. For example: https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/ optional string next_hop_instance = 393508247; - // The network IP address of an instance that should handle matching packets. Only IPv4 is supported. + // The network IP address of an instance that should handle matching packets. Both IPv6 address and IPv4 addresses are supported. Must specify an IPv4 address in dot-decimal notation (e.g. 192.0.2.99) or an IPv6 address in RFC 4291 format (e.g. 2001:db8::2d9:51:0:0 or 2001:db8:0:0:2d9:51:0:0). IPv6 addresses will be displayed using RFC 5952 compressed format (e.g. 2001:db8::2d9:51:0:0). Should never be an IPv4-mapped IPv6 address. optional string next_hop_ip = 110319529; // The URL of the local network if it should handle matching packets. @@ -22902,7 +24882,7 @@ message Router { // [Output Only] The unique identifier for the resource. This identifier is defined by the server. optional uint64 id = 3355; - // Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both. + // Router interfaces. To create a BGP peer that uses a router interface, the interface must have one of the following fields specified: - linkedVpnTunnel - linkedInterconnectAttachment - subnetwork You can create a router interface without any of these fields specified. However, you cannot create a BGP peer that uses that interface. repeated RouterInterface interfaces = 12073562; // [Output Only] Type of resource. Always compute#router for routers. @@ -23056,7 +25036,7 @@ message RouterBgpPeer { // Check the AdvertiseMode enum for the list of possible values. optional string advertise_mode = 312134331; - // User-specified list of prefix groups to advertise in custom mode, which can take one of the following options: - ALL_SUBNETS: Advertises all available subnets, including peer VPC subnets. - ALL_VPC_SUBNETS: Advertises the router's own VPC subnets. Note that this field can only be populated if advertise_mode is CUSTOM and overrides the list defined for the router (in the "bgp" message). These groups are advertised in addition to any specified prefixes. Leave this field blank to advertise no custom groups. + // User-specified list of prefix groups to advertise in custom mode, which currently supports the following option: - ALL_SUBNETS: Advertises all of the router's own VPC subnets. This excludes any routes learned for subnets that use VPC Network Peering. Note that this field can only be populated if advertise_mode is CUSTOM and overrides the list defined for the router (in the "bgp" message). These groups are advertised in addition to any specified prefixes. Leave this field blank to advertise no custom groups. // Check the AdvertisedGroups enum for the list of possible values. repeated string advertised_groups = 21065526; @@ -23069,6 +25049,12 @@ message RouterBgpPeer { // BFD configuration for the BGP peering. optional RouterBgpPeerBfd bfd = 97440; + // A list of user-defined custom learned route IP address ranges for a BGP session. + repeated RouterBgpPeerCustomLearnedIpRange custom_learned_ip_ranges = 481363012; + + // The user-defined custom learned route priority for a BGP session. This value is applied to all custom learned route ranges for the session. You can choose a value from `0` to `65335`. If you don't provide a value, Google Cloud assigns a priority of `100` to the ranges. + optional int32 custom_learned_route_priority = 330412356; + // The status of the BGP peer connection. If set to FALSE, any active session with the peer is terminated and all associated routing information is removed. If set to TRUE, the peer connection can be established with routing information. The default is TRUE. // Check the Enable enum for the list of possible values. optional string enable = 311764355; @@ -23139,6 +25125,13 @@ message RouterBgpPeerBfd { } +// +message RouterBgpPeerCustomLearnedIpRange { + // The custom learned route IP address range. Must be a valid CIDR-formatted prefix. If an IP address is provided without a subnet mask, it is interpreted as, for IPv4, a `/32` singular IP address range, and, for IPv6, `/128`. + optional string range = 108280125; + +} + // message RouterInterface { // [Output Only] The resource that configures and manages this interface. - MANAGED_BY_USER is the default value and can be managed directly by users. - MANAGED_BY_ATTACHMENT is an interface that is configured and managed by Cloud Interconnect, specifically, by an InterconnectAttachment of type PARTNER. Google automatically creates, updates, and deletes this type of interface when the PARTNER InterconnectAttachment is created, updated, or deleted. @@ -23157,10 +25150,10 @@ message RouterInterface { // IP address and range of the interface. The IP range must be in the RFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE: Do not truncate the address as it represents the IP address of the interface. optional string ip_range = 145092645; - // URI of the linked Interconnect attachment. It must be in the same region as the router. Each interface can have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a virtual machine instance. + // URI of the linked Interconnect attachment. It must be in the same region as the router. Each interface can have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a subnetwork. optional string linked_interconnect_attachment = 501085518; - // URI of the linked VPN tunnel, which must be in the same region as the router. Each interface can have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a virtual machine instance. + // URI of the linked VPN tunnel, which must be in the same region as the router. Each interface can have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a subnetwork. optional string linked_vpn_tunnel = 352296953; // [Output Only] The resource that configures and manages this interface. - MANAGED_BY_USER is the default value and can be managed directly by users. - MANAGED_BY_ATTACHMENT is an interface that is configured and managed by Cloud Interconnect, specifically, by an InterconnectAttachment of type PARTNER. Google automatically creates, updates, and deletes this type of interface when the PARTNER InterconnectAttachment is created, updated, or deleted. @@ -23208,18 +25201,40 @@ message RouterMd5AuthenticationKey { // [Input only] Value of the key. For patch and update calls, it can be skipped to copy the value from the previous configuration. This is allowed if the key with the same name existed before the operation. Maximum length is 80 characters. Can only contain printable ASCII characters. optional string key = 106079; - // Name used to identify the key. Must be unique within a router. Must be referenced by at least one bgpPeer. Must comply with RFC1035. + // Name used to identify the key. Must be unique within a router. Must be referenced by exactly one bgpPeer. Must comply with RFC1035. optional string name = 3373707; } // Represents a Nat resource. It enables the VMs within the specified subnetworks to access Internet without external IP addresses. It specifies a list of subnetworks (and the ranges within) that want to use NAT. Customers can also provide the external IPs that would be used for NAT. GCP would auto-allocate ephemeral IPs if no external IPs are provided. message RouterNat { + // The network tier to use when automatically reserving NAT IP addresses. Must be one of: PREMIUM, STANDARD. If not specified, then the current project-level default tier is used. + enum AutoNetworkTier { + // A value indicating that the enum field is not set. + UNDEFINED_AUTO_NETWORK_TIER = 0; + + // Public internet quality with fixed bandwidth. + FIXED_STANDARD = 310464328; + + // High quality, Google-grade network tier, support for all networking products. + PREMIUM = 399530551; + + // Public internet quality, only limited support for other networking products. + STANDARD = 484642493; + + // (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured. + STANDARD_OVERRIDES_FIXED_STANDARD = 465847234; + + } + // enum EndpointTypes { // A value indicating that the enum field is not set. UNDEFINED_ENDPOINT_TYPES = 0; + // This is used for regional Application Load Balancers (internal and external) and regional proxy Network Load Balancers (internal and external) endpoints. + ENDPOINT_TYPE_MANAGED_PROXY_LB = 439196930; + // This is used for Secure Web Gateway endpoints. ENDPOINT_TYPE_SWG = 159344456; @@ -23241,7 +25256,7 @@ message RouterNat { } - // Specify the Nat option, which can take one of the following values: - ALL_SUBNETWORKS_ALL_IP_RANGES: All of the IP ranges in every Subnetwork are allowed to Nat. - ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES: All of the primary IP ranges in every Subnetwork are allowed to Nat. - LIST_OF_SUBNETWORKS: A list of Subnetworks are allowed to Nat (specified in the field subnetwork below) The default is SUBNETWORK_IP_RANGE_TO_NAT_OPTION_UNSPECIFIED. Note that if this field contains ALL_SUBNETWORKS_ALL_IP_RANGES or ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES, then there should not be any other Router.Nat section in any Router for this network in this region. + // Specify the Nat option, which can take one of the following values: - ALL_SUBNETWORKS_ALL_IP_RANGES: All of the IP ranges in every Subnetwork are allowed to Nat. - ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES: All of the primary IP ranges in every Subnetwork are allowed to Nat. - LIST_OF_SUBNETWORKS: A list of Subnetworks are allowed to Nat (specified in the field subnetwork below) The default is SUBNETWORK_IP_RANGE_TO_NAT_OPTION_UNSPECIFIED. Note that if this field contains ALL_SUBNETWORKS_ALL_IP_RANGES then there should not be any other Router.Nat section in any Router for this network in this region. enum SourceSubnetworkIpRangesToNat { // A value indicating that the enum field is not set. UNDEFINED_SOURCE_SUBNETWORK_IP_RANGES_TO_NAT = 0; @@ -23257,6 +25272,23 @@ message RouterNat { } + // Indicates whether this NAT is used for public or private IP translation. If unspecified, it defaults to PUBLIC. + enum Type { + // A value indicating that the enum field is not set. + UNDEFINED_TYPE = 0; + + // NAT used for private IP translation. + PRIVATE = 403485027; + + // NAT used for public IP translation. This is the default. + PUBLIC = 223389289; + + } + + // The network tier to use when automatically reserving NAT IP addresses. Must be one of: PREMIUM, STANDARD. If not specified, then the current project-level default tier is used. + // Check the AutoNetworkTier enum for the list of possible values. + optional string auto_network_tier = 269770211; + // A list of URLs of the IP resources to be drained. These IPs must be valid static external IPs that have been assigned to the NAT. These IPs should be used for updating/patching a NAT only. repeated string drain_nat_ips = 504078535; @@ -23294,7 +25326,7 @@ message RouterNat { // A list of rules associated with this NAT. repeated RouterNatRule rules = 108873975; - // Specify the Nat option, which can take one of the following values: - ALL_SUBNETWORKS_ALL_IP_RANGES: All of the IP ranges in every Subnetwork are allowed to Nat. - ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES: All of the primary IP ranges in every Subnetwork are allowed to Nat. - LIST_OF_SUBNETWORKS: A list of Subnetworks are allowed to Nat (specified in the field subnetwork below) The default is SUBNETWORK_IP_RANGE_TO_NAT_OPTION_UNSPECIFIED. Note that if this field contains ALL_SUBNETWORKS_ALL_IP_RANGES or ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES, then there should not be any other Router.Nat section in any Router for this network in this region. + // Specify the Nat option, which can take one of the following values: - ALL_SUBNETWORKS_ALL_IP_RANGES: All of the IP ranges in every Subnetwork are allowed to Nat. - ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES: All of the primary IP ranges in every Subnetwork are allowed to Nat. - LIST_OF_SUBNETWORKS: A list of Subnetworks are allowed to Nat (specified in the field subnetwork below) The default is SUBNETWORK_IP_RANGE_TO_NAT_OPTION_UNSPECIFIED. Note that if this field contains ALL_SUBNETWORKS_ALL_IP_RANGES then there should not be any other Router.Nat section in any Router for this network in this region. // Check the SourceSubnetworkIpRangesToNat enum for the list of possible values. optional string source_subnetwork_ip_ranges_to_nat = 252213211; @@ -23310,6 +25342,10 @@ message RouterNat { // Timeout (in seconds) for TCP transitory connections. Defaults to 30s if not set. optional int32 tcp_transitory_idle_timeout_sec = 205028774; + // Indicates whether this NAT is used for public or private IP translation. If unspecified, it defaults to PUBLIC. + // Check the Type enum for the list of possible values. + optional string type = 3575610; + // Timeout (in seconds) for UDP connections. Defaults to 30s if not set. optional int32 udp_idle_timeout_sec = 64919878; @@ -23350,7 +25386,7 @@ message RouterNatRule { // An optional description of this rule. optional string description = 422937596; - // CEL expression that specifies the match condition that egress traffic from a VM is evaluated against. If it evaluates to true, the corresponding `action` is enforced. The following examples are valid match expressions for public NAT: "inIpRange(destination.ip, '1.1.0.0/16') || inIpRange(destination.ip, '2.2.0.0/16')" "destination.ip == '1.1.0.1' || destination.ip == '8.8.8.8'" The following example is a valid match expression for private NAT: "nexthop.hub == 'https://networkconnectivity.googleapis.com/v1alpha1/projects/my-project/global/hub/hub-1'" + // CEL expression that specifies the match condition that egress traffic from a VM is evaluated against. If it evaluates to true, the corresponding `action` is enforced. The following examples are valid match expressions for public NAT: "inIpRange(destination.ip, '1.1.0.0/16') || inIpRange(destination.ip, '2.2.0.0/16')" "destination.ip == '1.1.0.1' || destination.ip == '8.8.8.8'" The following example is a valid match expression for private NAT: "nexthop.hub == '//networkconnectivity.googleapis.com/projects/my-project/locations/global/hubs/hub-1'" optional string match = 103668165; // An integer uniquely identifying a rule in the list. The rule number must be a positive value between 0 and 65000, and must be unique among rules within a NAT. @@ -23363,9 +25399,15 @@ message RouterNatRuleAction { // A list of URLs of the IP resources used for this NAT rule. These IP addresses must be valid static external IP addresses assigned to the project. This field is used for public NAT. repeated string source_nat_active_ips = 210378229; + // A list of URLs of the subnetworks used as source ranges for this NAT Rule. These subnetworks must have purpose set to PRIVATE_NAT. This field is used for private NAT. + repeated string source_nat_active_ranges = 190556269; + // A list of URLs of the IP resources to be drained. These IPs must be valid static external IPs that have been assigned to the NAT. These IPs should be used for updating/patching a NAT rule only. This field is used for public NAT. repeated string source_nat_drain_ips = 340812451; + // A list of URLs of subnetworks representing source ranges to be drained. This is only supported on patch/update, and these subnetworks must have previously been used as active ranges in this NAT Rule. This field is used for private NAT. + repeated string source_nat_drain_ranges = 84802815; + } // Defines the IP ranges that want to use NAT for a subnetwork. @@ -23625,7 +25667,7 @@ message Rule { // message SSLHealthCheck { - // Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. + // Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for passthrough load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for passthrough load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. enum PortSpecification { // A value indicating that the enum field is not set. UNDEFINED_PORT_SPECIFICATION = 0; @@ -23658,7 +25700,7 @@ message SSLHealthCheck { // Not supported. optional string port_name = 41534345; - // Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. + // Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for passthrough load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for passthrough load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. // Check the PortSpecification enum for the list of possible values. optional string port_specification = 51590597; @@ -23908,6 +25950,9 @@ message Scheduling { // Check the InstanceTerminationAction enum for the list of possible values. optional string instance_termination_action = 107380667; + // Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted. Its value should be in between 0 and 168 hours with hour granularity and the default value being 1 hour. + optional Duration local_ssd_recovery_timeout = 268015590; + // An opaque location hint used to place the instance close to other resources. This field is for use by internal tools that use the public API. optional string location_hint = 350519505; @@ -24027,7 +26072,7 @@ message SecurityPoliciesWafConfig { // Represents a Google Cloud Armor security policy resource. Only external backend services that use load balancers can reference a security policy. For more information, see Google Cloud Armor security policy overview. message SecurityPolicy { - // The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. This field can be set only at resource creation time. + // The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. - CLOUD_ARMOR_NETWORK: Cloud Armor network policies can be configured to filter packets targeting network load balancing resources such as backend services, target pools, target instances, and instances with external IPs. They filter requests before the request is served from the application. This field can be set only at resource creation time. enum Type { // A value indicating that the enum field is not set. UNDEFINED_TYPE = 0; @@ -24061,6 +26106,12 @@ message SecurityPolicy { // [Output only] Type of the resource. Always compute#securityPolicyfor security policies optional string kind = 3292052; + // A fingerprint for the labels being applied to this security policy, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make get() request to the security policy. + optional string label_fingerprint = 178124825; + + // Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty. + map labels = 500195327; + // Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. optional string name = 3373707; @@ -24075,10 +26126,13 @@ message SecurityPolicy { // [Output Only] Server-defined URL for the resource. optional string self_link = 456214797; - // The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. This field can be set only at resource creation time. + // The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. - CLOUD_ARMOR_NETWORK: Cloud Armor network policies can be configured to filter packets targeting network load balancing resources such as backend services, target pools, target instances, and instances with external IPs. They filter requests before the request is served from the application. This field can be set only at resource creation time. // Check the Type enum for the list of possible values. optional string type = 3575610; + // Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies. A user-defined field consists of up to 4 bytes extracted from a fixed offset in the packet, relative to the IPv4, IPv6, TCP, or UDP header, with an optional mask to select certain bits. Rules may then specify matching values for these fields. Example: userDefinedFields: - name: "ipv4_fragment_offset" base: IPV4 offset: 6 size: 2 mask: "0x1fff" + repeated SecurityPolicyUserDefinedField user_defined_fields = 28312739; + } // Configuration options for Cloud Armor Adaptive Protection (CAAP). @@ -24088,9 +26142,9 @@ message SecurityPolicyAdaptiveProtectionConfig { } -// Configuration options for L7 DDoS detection. +// Configuration options for L7 DDoS detection. This field is only supported in Global Security Policies of type CLOUD_ARMOR. message SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig { - // Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules. + // Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules. This field is only supported in Global Security Policies of type CLOUD_ARMOR. enum RuleVisibility { // A value indicating that the enum field is not set. UNDEFINED_RULE_VISIBILITY = 0; @@ -24101,13 +26155,31 @@ message SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig { } - // If set to true, enables CAAP for L7 DDoS detection. + // If set to true, enables CAAP for L7 DDoS detection. This field is only supported in Global Security Policies of type CLOUD_ARMOR. optional bool enable = 311764355; - // Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules. + // Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules. This field is only supported in Global Security Policies of type CLOUD_ARMOR. // Check the RuleVisibility enum for the list of possible values. optional string rule_visibility = 453258293; + // Configuration options for layer7 adaptive protection for various customizable thresholds. + repeated SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig threshold_configs = 60347805; + +} + +// +message SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig { + optional float auto_deploy_confidence_threshold = 84309694; + + optional int32 auto_deploy_expiration_sec = 69638793; + + optional float auto_deploy_impacted_baseline_threshold = 292441667; + + optional float auto_deploy_load_threshold = 522227738; + + // The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the security policy. + optional string name = 3373707; + } // @@ -24121,6 +26193,8 @@ message SecurityPolicyAdvancedOptionsConfig { STANDARD = 484642493; + STANDARD_WITH_GRAPHQL = 106979218; + } // @@ -24145,6 +26219,9 @@ message SecurityPolicyAdvancedOptionsConfig { // Check the LogLevel enum for the list of possible values. optional string log_level = 140582601; + // An optional list of case-insensitive request header names to use for resolving the callers client IP address. + repeated string user_ip_request_headers = 421050290; + } // @@ -24194,7 +26271,7 @@ message SecurityPolicyList { // message SecurityPolicyRecaptchaOptionsConfig { - // An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used. + // An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used. This field is only supported in Global Security Policies of type CLOUD_ARMOR. optional string redirect_site_key = 447677034; } @@ -24207,13 +26284,13 @@ message SecurityPolicyReference { // Represents a rule that describes one or more match conditions along with the action to be taken when traffic matches this condition (allow or deny). message SecurityPolicyRule { - // The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(): deny access to target, returns the HTTP response code specified (valid values are 403, 404, and 502). - rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. - throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this. + // The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(STATUS): deny access to target, returns the HTTP response code specified. Valid values for `STATUS` are 403, 404, and 502. - rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. This action is only supported in Global Security Policies of type CLOUD_ARMOR. - throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this. optional string action = 187661878; // An optional description of this resource. Provide this property when you create the resource. optional string description = 422937596; - // Optional, additional actions that are performed on headers. + // Optional, additional actions that are performed on headers. This field is only supported in Global Security Policies of type CLOUD_ARMOR. optional SecurityPolicyRuleHttpHeaderAction header_action = 328077352; // [Output only] Type of the resource. Always compute#securityPolicyRule for security policy rules @@ -24222,6 +26299,12 @@ message SecurityPolicyRule { // A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced. optional SecurityPolicyRuleMatcher match = 103668165; + // A match condition that incoming packets are evaluated against for CLOUD_ARMOR_NETWORK security policies. If it matches, the corresponding 'action' is enforced. The match criteria for a rule consists of built-in match fields (like 'srcIpRanges') and potentially multiple user-defined match fields ('userDefinedFields'). Field values may be extracted directly from the packet or derived from it (e.g. 'srcRegionCodes'). Some fields may not be present in every packet (e.g. 'srcPorts'). A user-defined field is only present if the base header is found in the packet and the entire field is in bounds. Each match field may specify which values can match it, listing one or more ranges, prefixes, or exact values that are considered a match for the field. A field value must be present in order to match a specified match field. If no match values are specified for a match field, then any field value is considered to match it, and it's not required to be present. For strings specifying '*' is also equivalent to match all. For a packet to match a rule, all specified match fields must match the corresponding field values derived from the packet. Example: networkMatch: srcIpRanges: - "192.0.2.0/24" - "198.51.100.0/24" userDefinedFields: - name: "ipv4_fragment_offset" values: - "1-0x1fff" The above match condition matches packets with a source IP in 192.0.2.0/24 or 198.51.100.0/24 and a user-defined field named "ipv4_fragment_offset" with a value between 1 and 0x1fff inclusive. + optional SecurityPolicyRuleNetworkMatcher network_match = 463387764; + + // Preconfigured WAF configuration to be applied for the rule. If the rule does not evaluate preconfigured WAF rules, i.e., if evaluatePreconfiguredWaf() is not used, this field will have no effect. + optional SecurityPolicyRulePreconfiguredWafConfig preconfigured_waf_config = 117805027; + // If set to true, the specified action is not enforced. optional bool preview = 218686408; @@ -24231,7 +26314,7 @@ message SecurityPolicyRule { // Must be specified if the action is "rate_based_ban" or "throttle". Cannot be specified for any other actions. optional SecurityPolicyRuleRateLimitOptions rate_limit_options = 67544315; - // Parameters defining the redirect action. Cannot be specified for any other actions. + // Parameters defining the redirect action. Cannot be specified for any other actions. This field is only supported in Global Security Policies of type CLOUD_ARMOR. optional SecurityPolicyRuleRedirectOptions redirect_options = 163285307; } @@ -24268,9 +26351,12 @@ message SecurityPolicyRuleMatcher { // The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified. optional SecurityPolicyRuleMatcherConfig config = 255820610; - // User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header. + // User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header. Expressions containing `evaluateThreatIntelligence` require Cloud Armor Managed Protection Plus tier and are not supported in Edge Policies nor in Regional Policies. Expressions containing `evaluatePreconfiguredExpr('sourceiplist-*')` require Cloud Armor Managed Protection Plus tier and are only supported in Global Security Policies. optional Expr expr = 3127797; + // The configuration options available when specifying a user defined CEVAL expression (i.e., 'expr'). + optional SecurityPolicyRuleMatcherExprOptions expr_options = 486220372; + // Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config. // Check the VersionedExpr enum for the list of possible values. optional string versioned_expr = 322286013; @@ -24284,9 +26370,126 @@ message SecurityPolicyRuleMatcherConfig { } +// +message SecurityPolicyRuleMatcherExprOptions { + // reCAPTCHA configuration options to be applied for the rule. If the rule does not evaluate reCAPTCHA tokens, this field has no effect. + optional SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions recaptcha_options = 389151558; + +} + +// +message SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions { + // A list of site keys to be used during the validation of reCAPTCHA action-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created. + repeated string action_token_site_keys = 59929885; + + // A list of site keys to be used during the validation of reCAPTCHA session-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created. + repeated string session_token_site_keys = 333363581; + +} + +// Represents a match condition that incoming network traffic is evaluated against. +message SecurityPolicyRuleNetworkMatcher { + // Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format. + repeated string dest_ip_ranges = 337357713; + + // Destination port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023"). + repeated string dest_ports = 379902005; + + // IPv4 protocol / IPv6 next header (after extension headers). Each element can be an 8-bit unsigned decimal number (e.g. "6"), range (e.g. "253-254"), or one of the following protocol names: "tcp", "udp", "icmp", "esp", "ah", "ipip", or "sctp". + repeated string ip_protocols = 259213251; + + // BGP Autonomous System Number associated with the source IP address. + repeated uint32 src_asns = 117825266; + + // Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format. + repeated string src_ip_ranges = 432128083; + + // Source port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. "80") or range (e.g. "0-1023"). + repeated string src_ports = 445095415; + + // Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address. + repeated string src_region_codes = 99086742; + + // User-defined fields. Each element names a defined field and lists the matching values for that field. + repeated SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch user_defined_fields = 28312739; + +} + +// +message SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch { + // Name of the user-defined field, as given in the definition. + optional string name = 3373707; + + // Matching values of the field. Each element can be a 32-bit unsigned decimal or hexadecimal (starting with "0x") number (e.g. "64") or range (e.g. "0x400-0x7ff"). + repeated string values = 249928994; + +} + +// +message SecurityPolicyRulePreconfiguredWafConfig { + // A list of exclusions to apply during preconfigured WAF evaluation. + repeated SecurityPolicyRulePreconfiguredWafConfigExclusion exclusions = 208665701; + +} + +// +message SecurityPolicyRulePreconfiguredWafConfigExclusion { + // A list of request cookie names whose value will be excluded from inspection during preconfigured WAF evaluation. + repeated SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams request_cookies_to_exclude = 156757878; + + // A list of request header names whose value will be excluded from inspection during preconfigured WAF evaluation. + repeated SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams request_headers_to_exclude = 63230495; + + // A list of request query parameter names whose value will be excluded from inspection during preconfigured WAF evaluation. Note that the parameter can be in the query string or in the POST body. + repeated SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams request_query_params_to_exclude = 340692744; + + // A list of request URIs from the request line to be excluded from inspection during preconfigured WAF evaluation. When specifying this field, the query or fragment part should be excluded. + repeated SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams request_uris_to_exclude = 90690846; + + // A list of target rule IDs under the WAF rule set to apply the preconfigured WAF exclusion. If omitted, it refers to all the rule IDs under the WAF rule set. + repeated string target_rule_ids = 498430435; + + // Target WAF rule set to apply the preconfigured WAF exclusion. + optional string target_rule_set = 498440077; + +} + +// +message SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams { + // The match operator for the field. + enum Op { + // A value indicating that the enum field is not set. + UNDEFINED_OP = 0; + + // The operator matches if the field value contains the specified value. + CONTAINS = 215180831; + + // The operator matches if the field value ends with the specified value. + ENDS_WITH = 490402221; + + // The operator matches if the field value equals the specified value. + EQUALS = 442201023; + + // The operator matches if the field value is any value. + EQUALS_ANY = 337226060; + + // The operator matches if the field value starts with the specified value. + STARTS_WITH = 139505652; + + } + + // The match operator for the field. + // Check the Op enum for the list of possible values. + optional string op = 3553; + + // The value of the field. + optional string val = 116513; + +} + // message SecurityPolicyRuleRateLimitOptions { - // Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if "enforceOnKey" is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates. + // Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if "enforceOnKey" is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates. - TLS_JA3_FINGERPRINT: JA3 TLS/SSL fingerprint if the client connects using HTTPS, HTTP/2 or HTTP/3. If not available, the key type defaults to ALL. - USER_IP: The IP address of the originating client, which is resolved based on "userIpRequestHeaders" configured with the security policy. If there is no "userIpRequestHeaders" configuration or an IP address cannot be resolved from it, the key type defaults to IP. enum EnforceOnKey { // A value indicating that the enum field is not set. UNDEFINED_ENFORCE_ON_KEY = 0; @@ -24305,6 +26508,10 @@ message SecurityPolicyRuleRateLimitOptions { SNI = 82254; + TLS_JA3_FINGERPRINT = 327127933; + + USER_IP = 34009627; + XFF_IP = 438707118; } @@ -24318,17 +26525,20 @@ message SecurityPolicyRuleRateLimitOptions { // Action to take for requests that are under the configured rate limit threshold. Valid option is "allow" only. optional string conform_action = 517612367; - // Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if "enforceOnKey" is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates. + // Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if "enforceOnKey" is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates. - TLS_JA3_FINGERPRINT: JA3 TLS/SSL fingerprint if the client connects using HTTPS, HTTP/2 or HTTP/3. If not available, the key type defaults to ALL. - USER_IP: The IP address of the originating client, which is resolved based on "userIpRequestHeaders" configured with the security policy. If there is no "userIpRequestHeaders" configuration or an IP address cannot be resolved from it, the key type defaults to IP. // Check the EnforceOnKey enum for the list of possible values. optional string enforce_on_key = 416648956; + // If specified, any combination of values of enforce_on_key_type/enforce_on_key_name is treated as the key on which ratelimit threshold/action is enforced. You can specify up to 3 enforce_on_key_configs. If enforce_on_key_configs is specified, enforce_on_key must not be specified. + repeated SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig enforce_on_key_configs = 33906478; + // Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key value. optional string enforce_on_key_name = 132555246; - // Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny(status)", where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceedRedirectOptions below. + // Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are `deny(STATUS)`, where valid values for `STATUS` are 403, 404, 429, and 502, and `redirect`, where the redirect parameters come from `exceedRedirectOptions` below. The `redirect` action is only supported in Global Security Policies of type CLOUD_ARMOR. optional string exceed_action = 167159073; - // Parameters defining the redirect action that is used as the exceed action. Cannot be specified if the exceed action is not redirect. + // Parameters defining the redirect action that is used as the exceed action. Cannot be specified if the exceed action is not redirect. This field is only supported in Global Security Policies of type CLOUD_ARMOR. optional SecurityPolicyRuleRedirectOptions exceed_redirect_options = 473646694; // Threshold at which to begin ratelimiting. @@ -24336,6 +26546,44 @@ message SecurityPolicyRuleRateLimitOptions { } +// +message SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig { + // Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if "enforceOnKeyConfigs" is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates. - TLS_JA3_FINGERPRINT: JA3 TLS/SSL fingerprint if the client connects using HTTPS, HTTP/2 or HTTP/3. If not available, the key type defaults to ALL. - USER_IP: The IP address of the originating client, which is resolved based on "userIpRequestHeaders" configured with the security policy. If there is no "userIpRequestHeaders" configuration or an IP address cannot be resolved from it, the key type defaults to IP. + enum EnforceOnKeyType { + // A value indicating that the enum field is not set. + UNDEFINED_ENFORCE_ON_KEY_TYPE = 0; + + ALL = 64897; + + HTTP_COOKIE = 494981627; + + HTTP_HEADER = 91597348; + + HTTP_PATH = 311503228; + + IP = 2343; + + REGION_CODE = 79559768; + + SNI = 82254; + + TLS_JA3_FINGERPRINT = 327127933; + + USER_IP = 34009627; + + XFF_IP = 438707118; + + } + + // Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key value. + optional string enforce_on_key_name = 132555246; + + // Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if "enforceOnKeyConfigs" is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates. - TLS_JA3_FINGERPRINT: JA3 TLS/SSL fingerprint if the client connects using HTTPS, HTTP/2 or HTTP/3. If not available, the key type defaults to ALL. - USER_IP: The IP address of the originating client, which is resolved based on "userIpRequestHeaders" configured with the security policy. If there is no "userIpRequestHeaders" configuration or an IP address cannot be resolved from it, the key type defaults to IP. + // Check the EnforceOnKeyType enum for the list of possible values. + optional string enforce_on_key_type = 132757149; + +} + // message SecurityPolicyRuleRateLimitOptionsThreshold { // Number of HTTP(S) requests for calculating the threshold. @@ -24368,12 +26616,50 @@ message SecurityPolicyRuleRedirectOptions { } +// +message SecurityPolicyUserDefinedField { + // The base relative to which 'offset' is measured. Possible values are: - IPV4: Points to the beginning of the IPv4 header. - IPV6: Points to the beginning of the IPv6 header. - TCP: Points to the beginning of the TCP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. - UDP: Points to the beginning of the UDP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. required + enum Base { + // A value indicating that the enum field is not set. + UNDEFINED_BASE = 0; + + IPV4 = 2254341; + + IPV6 = 2254343; + + TCP = 82881; + + UDP = 83873; + + } + + // The base relative to which 'offset' is measured. Possible values are: - IPV4: Points to the beginning of the IPv4 header. - IPV6: Points to the beginning of the IPv6 header. - TCP: Points to the beginning of the TCP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. - UDP: Points to the beginning of the UDP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. required + // Check the Base enum for the list of possible values. + optional string base = 3016401; + + // If specified, apply this mask (bitwise AND) to the field to ignore bits before matching. Encoded as a hexadecimal number (starting with "0x"). The last byte of the field (in network byte order) corresponds to the least significant byte of the mask. + optional string mask = 3344108; + + // The name of this field. Must be unique within the policy. + optional string name = 3373707; + + // Offset of the first byte of the field (in network byte order) relative to 'base'. + optional int32 offset = 53961875; + + // Size of the field in bytes. Valid values: 1-4. + optional int32 size = 3530753; + +} + // The authentication and authorization settings for a BackendService. message SecuritySettings { - // Optional. A URL referring to a networksecurity.ClientTlsPolicy resource that describes how clients should authenticate with this service's backends. clientTlsPolicy only applies to a global BackendService with the loadBalancingScheme set to INTERNAL_SELF_MANAGED. If left blank, communications are not encrypted. Note: This field currently has no impact. + // The configuration needed to generate a signature for access to private storage buckets that support AWS's Signature Version 4 for authentication. Allowed only for INTERNET_IP_PORT and INTERNET_FQDN_PORT NEG backends. + optional AWSV4Signature aws_v4_authentication = 433993111; + + // Optional. A URL referring to a networksecurity.ClientTlsPolicy resource that describes how clients should authenticate with this service's backends. clientTlsPolicy only applies to a global BackendService with the loadBalancingScheme set to INTERNAL_SELF_MANAGED. If left blank, communications are not encrypted. optional string client_tls_policy = 462325226; - // Optional. A list of Subject Alternative Names (SANs) that the client verifies during a mutual TLS handshake with an server/endpoint for this BackendService. When the server presents its X.509 certificate to the client, the client inspects the certificate's subjectAltName field. If the field contains one of the specified values, the communication continues. Otherwise, it fails. This additional check enables the client to verify that the server is authorized to run the requested service. Note that the contents of the server certificate's subjectAltName field are configured by the Public Key Infrastructure which provisions server identities. Only applies to a global BackendService with loadBalancingScheme set to INTERNAL_SELF_MANAGED. Only applies when BackendService has an attached clientTlsPolicy with clientCertificate (mTLS mode). Note: This field currently has no impact. + // Optional. A list of Subject Alternative Names (SANs) that the client verifies during a mutual TLS handshake with an server/endpoint for this BackendService. When the server presents its X.509 certificate to the client, the client inspects the certificate's subjectAltName field. If the field contains one of the specified values, the communication continues. Otherwise, it fails. This additional check enables the client to verify that the server is authorized to run the requested service. Note that the contents of the server certificate's subjectAltName field are configured by the Public Key Infrastructure which provisions server identities. Only applies to a global BackendService with loadBalancingScheme set to INTERNAL_SELF_MANAGED. Only applies when BackendService has an attached clientTlsPolicy with clientCertificate (mTLS mode). repeated string subject_alt_names = 330029535; } @@ -24447,7 +26733,7 @@ message ServiceAccount { } -// Represents a ServiceAttachment resource. A service attachment represents a service that a producer has exposed. It encapsulates the load balancer which fronts the service runs and a list of NAT IP ranges that the producers uses to represent the consumers connecting to the service. next tag = 20 +// Represents a ServiceAttachment resource. A service attachment represents a service that a producer has exposed. It encapsulates the load balancer which fronts the service runs and a list of NAT IP ranges that the producers uses to represent the consumers connecting to the service. message ServiceAttachment { // The connection preference of service attachment. The value can be set to ACCEPT_AUTOMATIC. An ACCEPT_AUTOMATIC service attachment is one that always accepts the connection from consumer forwarding rules. enum ConnectionPreference { @@ -24508,6 +26794,9 @@ message ServiceAttachment { // [Output Only] An 128-bit global unique ID of the PSC service attachment. optional Uint128 psc_service_attachment_id = 527695214; + // This flag determines whether a consumer accept/reject list change can reconcile the statuses of existing ACCEPTED or REJECTED PSC endpoints. - If false, connection policy update will only affect existing PENDING PSC endpoints. Existing ACCEPTED/REJECTED endpoints will remain untouched regardless how the connection policy is modified . - If true, update will affect both PENDING and ACCEPTED/REJECTED PSC endpoints. For example, an ACCEPTED PSC endpoint will be moved to REJECTED if its project is added to the reject list. For newly created service attachment, this boolean defaults to false. + optional bool reconcile_connections = 125493732; + // [Output Only] URL of the region where the service attachment resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. optional string region = 138946292; @@ -24570,6 +26859,9 @@ message ServiceAttachmentConnectedEndpoint { } + // The url of the consumer network. + optional string consumer_network = 254357221; + // The url of a connected endpoint. optional string endpoint = 130489749; @@ -24731,6 +27023,51 @@ message SetCertificateMapTargetSslProxyRequest { } +// +message SetCommonInstanceMetadataOperationMetadata { + // [Output Only] The client operation id. + optional string client_operation_id = 297240295; + + // [Output Only] Status information per location (location name is key). Example key: zones/us-central1-a + map per_location_operations = 408987796; + +} + +// +message SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo { + // [Output Only] Status of the action, which can be one of the following: `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`. + enum State { + // A value indicating that the enum field is not set. + UNDEFINED_STATE = 0; + + // Operation not tracked in this location e.g. zone is marked as DOWN. + ABANDONED = 81797556; + + // Operation has completed successfully. + DONE = 2104194; + + // Operation is in an error state. + FAILED = 455706685; + + // Operation is confirmed to be in the location. + PROPAGATED = 507550299; + + // Operation is not yet confirmed to have been created in the location. + PROPAGATING = 164807046; + + UNSPECIFIED = 526786327; + + } + + // [Output Only] If state is `ABANDONED` or `FAILED`, this field is populated. + optional Status error = 96784904; + + // [Output Only] Status of the action, which can be one of the following: `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`. + // Check the State enum for the list of possible values. + optional string state = 109757585; + +} + // A request message for Projects.SetCommonInstanceMetadata. See the method description for details. message SetCommonInstanceMetadataProjectRequest { // The body resource for this request @@ -24818,7 +27155,7 @@ message SetDiskAutoDeleteInstanceRequest { // A request message for BackendBuckets.SetEdgeSecurityPolicy. See the method description for details. message SetEdgeSecurityPolicyBackendBucketRequest { - // Name of the BackendService resource to which the security policy should be set. The name should conform to RFC1035. + // Name of the BackendBucket resource to which the security policy should be set. The name should conform to RFC1035. string backend_bucket = 91714037 [(google.api.field_behavior) = REQUIRED]; // Project ID for this request. @@ -24854,6 +27191,19 @@ message SetEdgeSecurityPolicyBackendServiceRequest { } +// A request message for BackendBuckets.SetIamPolicy. See the method description for details. +message SetIamPolicyBackendBucketRequest { + // The body resource for this request + GlobalSetPolicyRequest global_set_policy_request_resource = 337048498 [(google.api.field_behavior) = REQUIRED]; + + // Project ID for this request. + string project = 227560217 [(google.api.field_behavior) = REQUIRED]; + + // Name or id of the resource for this request. + string resource = 195806222 [(google.api.field_behavior) = REQUIRED]; + +} + // A request message for BackendServices.SetIamPolicy. See the method description for details. message SetIamPolicyBackendServiceRequest { // The body resource for this request @@ -25634,6 +27984,31 @@ message SetMinCpuPlatformInstanceRequest { } +// A request message for Instances.SetName. See the method description for details. +message SetNameInstanceRequest { + // The instance name for this request. + string instance = 18257045 [(google.api.field_behavior) = REQUIRED]; + + // The body resource for this request + InstancesSetNameRequest instances_set_name_request_resource = 272080980 [(google.api.field_behavior) = REQUIRED]; + + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + optional string request_id = 37109963; + + // The name of the zone for this request. + string zone = 3744684 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "zone" + ]; + +} + // A request message for InstanceGroups.SetNamedPorts. See the method description for details. message SetNamedPortsInstanceGroupRequest { // The name of the instance group where the named ports are updated. @@ -25835,6 +28210,106 @@ message SetSecurityPolicyBackendServiceRequest { } +// A request message for Instances.SetSecurityPolicy. See the method description for details. +message SetSecurityPolicyInstanceRequest { + // Name of the Instance resource to which the security policy should be set. The name should conform to RFC1035. + string instance = 18257045 [(google.api.field_behavior) = REQUIRED]; + + // The body resource for this request + InstancesSetSecurityPolicyRequest instances_set_security_policy_request_resource = 248424586 [(google.api.field_behavior) = REQUIRED]; + + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + optional string request_id = 37109963; + + // Name of the zone scoping this request. + string zone = 3744684 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "zone" + ]; + +} + +// A request message for RegionBackendServices.SetSecurityPolicy. See the method description for details. +message SetSecurityPolicyRegionBackendServiceRequest { + // Name of the BackendService resource to which the security policy should be set. The name should conform to RFC1035. + string backend_service = 306946058 [(google.api.field_behavior) = REQUIRED]; + + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // Name of the region scoping this request. + string region = 138946292 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "region" + ]; + + // An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + optional string request_id = 37109963; + + // The body resource for this request + SecurityPolicyReference security_policy_reference_resource = 204135024 [(google.api.field_behavior) = REQUIRED]; + +} + +// A request message for TargetInstances.SetSecurityPolicy. See the method description for details. +message SetSecurityPolicyTargetInstanceRequest { + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + optional string request_id = 37109963; + + // The body resource for this request + SecurityPolicyReference security_policy_reference_resource = 204135024 [(google.api.field_behavior) = REQUIRED]; + + // Name of the TargetInstance resource to which the security policy should be set. The name should conform to RFC1035. + string target_instance = 289769347 [(google.api.field_behavior) = REQUIRED]; + + // Name of the zone scoping this request. + string zone = 3744684 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "zone" + ]; + +} + +// A request message for TargetPools.SetSecurityPolicy. See the method description for details. +message SetSecurityPolicyTargetPoolRequest { + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // Name of the region scoping this request. + string region = 138946292 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "region" + ]; + + // An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + optional string request_id = 37109963; + + // The body resource for this request + SecurityPolicyReference security_policy_reference_resource = 204135024 [(google.api.field_behavior) = REQUIRED]; + + // Name of the TargetPool resource to which the security policy should be set. The name should conform to RFC1035. + string target_pool = 62796298 [(google.api.field_behavior) = REQUIRED]; + +} + // A request message for Instances.SetServiceAccount. See the method description for details. message SetServiceAccountInstanceRequest { // Name of the instance resource to start. @@ -26310,6 +28785,37 @@ message SimulateMaintenanceEventInstanceRequest { (google.cloud.operation_request_field) = "project" ]; + // An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + optional string request_id = 37109963; + + // Determines whether the customers receive notifications before migration. Only applicable to SF vms. + optional bool with_extended_notifications = 405957627; + + // The name of the zone for this request. + string zone = 3744684 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "zone" + ]; + +} + +// A request message for NodeGroups.SimulateMaintenanceEvent. See the method description for details. +message SimulateMaintenanceEventNodeGroupRequest { + // Name of the NodeGroup resource whose nodes will go under maintenance simulation. + string node_group = 469958146 [(google.api.field_behavior) = REQUIRED]; + + // The body resource for this request + NodeGroupsSimulateMaintenanceEventRequest node_groups_simulate_maintenance_event_request_resource = 351468764 [(google.api.field_behavior) = REQUIRED]; + + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + optional string request_id = 37109963; + // The name of the zone for this request. string zone = 3744684 [ (google.api.field_behavior) = REQUIRED, @@ -26405,6 +28911,12 @@ message Snapshot { // [Output Only] Number of bytes downloaded to restore a snapshot to a disk. optional int64 download_bytes = 435054068; + // Whether this snapshot is created from a confidential compute mode disk. [Output Only]: This field is not set by user, but from source disk. + optional bool enable_confidential_compute = 102135228; + + // [Output Only] A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options. + repeated GuestOsFeature guest_os_features = 79294545; + // [Output Only] The unique identifier for the resource. This identifier is defined by the server. optional uint64 id = 3355; @@ -26429,6 +28941,9 @@ message Snapshot { // Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. optional string name = 3373707; + // Output only. Reserved for future use. + optional bool satisfies_pzi = 480964257; + // [Output Only] Reserved for future use. optional bool satisfies_pzs = 480964267; @@ -26448,6 +28963,9 @@ message Snapshot { // The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key. optional CustomerEncryptionKey source_disk_encryption_key = 531501153; + // The source disk whose recovery checkpoint will be used to create this snapshot. + optional string source_disk_for_recovery_checkpoint = 359837950; + // [Output Only] The ID value of the disk used to create this snapshot. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given disk name. optional string source_disk_id = 454190809; @@ -26495,6 +29013,49 @@ message SnapshotList { } +// +message SnapshotSettings { + // Policy of which storage location is going to be resolved, and additional data that particularizes how the policy is going to be carried out. + optional SnapshotSettingsStorageLocationSettings storage_location = 460859641; + +} + +// +message SnapshotSettingsStorageLocationSettings { + // The chosen location policy. + enum Policy { + // A value indicating that the enum field is not set. + UNDEFINED_POLICY = 0; + + // Store snapshot in the same region as with the originating disk. No additional parameters are needed. + LOCAL_REGION = 403535464; + + // Store snapshot to the nearest multi region GCS bucket, relative to the originating disk. No additional parameters are needed. + NEAREST_MULTI_REGION = 212467515; + + // Store snapshot in the specific locations, as specified by the user. The list of regions to store must be defined under the `locations` field. + SPECIFIC_LOCATIONS = 280093809; + + STORAGE_LOCATION_POLICY_UNSPECIFIED = 250644592; + + } + + // When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the locations listed in this field. Keys are GCS bucket locations. + map locations = 413423454; + + // The chosen location policy. + // Check the Policy enum for the list of possible values. + optional string policy = 91071794; + +} + +// A structure for specifying storage locations. +message SnapshotSettingsStorageLocationSettingsStorageLocationPreference { + // Name of the location. It should be one of the GCS buckets. + optional string name = 3373707; + +} + // message SourceDiskEncryptionKey { // The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key. @@ -26575,7 +29136,7 @@ message SourceInstanceProperties { } -// Represents an SSL Certificate resource. Google Compute Engine has two SSL Certificate resources: * [Global](/compute/docs/reference/rest/v1/sslCertificates) * [Regional](/compute/docs/reference/rest/v1/regionSslCertificates) The sslCertificates are used by: - external HTTPS load balancers - SSL proxy load balancers The regionSslCertificates are used by internal HTTPS load balancers. Optionally, certificate file contents that you upload can contain a set of up to five PEM-encoded certificates. The API call creates an object (sslCertificate) that holds this data. You can use SSL keys and certificates to secure connections to a load balancer. For more information, read Creating and using SSL certificates, SSL certificates quotas and limits, and Troubleshooting SSL certificates. +// Represents an SSL certificate resource. Google Compute Engine has two SSL certificate resources: * [Global](/compute/docs/reference/rest/v1/sslCertificates) * [Regional](/compute/docs/reference/rest/v1/regionSslCertificates) The global SSL certificates (sslCertificates) are used by: - Global external Application Load Balancers - Classic Application Load Balancers - Proxy Network Load Balancers (with target SSL proxies) The regional SSL certificates (regionSslCertificates) are used by: - Regional external Application Load Balancers - Regional internal Application Load Balancers Optionally, certificate file contents that you upload can contain a set of up to five PEM-encoded certificates. The API call creates an object (sslCertificate) that holds this data. You can use SSL keys and certificates to secure connections to a load balancer. For more information, read Creating and using SSL certificates, SSL certificates quotas and limits, and Troubleshooting SSL certificates. message SslCertificate { // (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used. enum Type { @@ -26807,7 +29368,7 @@ message SslPoliciesScopedList { } -// Represents an SSL Policy resource. Use SSL policies to control the SSL features, such as versions and cipher suites, offered by an HTTPS or SSL Proxy load balancer. For more information, read SSL Policy Concepts. +// Represents an SSL Policy resource. Use SSL policies to control SSL features, such as versions and cipher suites, that are offered by Application Load Balancers and proxy Network Load Balancers. For more information, read SSL policies overview. message SslPolicy { // The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2. enum MinTlsVersion { @@ -26894,6 +29455,56 @@ message SslPolicyReference { } +// A request message for Disks.StartAsyncReplication. See the method description for details. +message StartAsyncReplicationDiskRequest { + // The name of the persistent disk. + string disk = 3083677 [(google.api.field_behavior) = REQUIRED]; + + // The body resource for this request + DisksStartAsyncReplicationRequest disks_start_async_replication_request_resource = 470814554 [(google.api.field_behavior) = REQUIRED]; + + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + optional string request_id = 37109963; + + // The name of the zone for this request. + string zone = 3744684 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "zone" + ]; + +} + +// A request message for RegionDisks.StartAsyncReplication. See the method description for details. +message StartAsyncReplicationRegionDiskRequest { + // The name of the persistent disk. + string disk = 3083677 [(google.api.field_behavior) = REQUIRED]; + + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // The name of the region for this request. + string region = 138946292 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "region" + ]; + + // The body resource for this request + RegionDisksStartAsyncReplicationRequest region_disks_start_async_replication_request_resource = 474326021 [(google.api.field_behavior) = REQUIRED]; + + // An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + optional string request_id = 37109963; + +} + // A request message for Instances.Start. See the method description for details. message StartInstanceRequest { // Name of the instance resource to start. @@ -26952,6 +29563,12 @@ message StatefulPolicyPreservedState { // Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks. map disks = 95594102; + // External network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name. + map external_i_ps = 532687245; + + // Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name. + map internal_i_ps = 215731675; + } // @@ -26973,9 +29590,129 @@ message StatefulPolicyPreservedStateDiskDevice { } +// +message StatefulPolicyPreservedStateNetworkIp { + // These stateful IPs will never be released during autohealing, update or VM instance recreate operations. This flag is used to configure if the IP reservation should be deleted after it is no longer used by the group, e.g. when the given instance or the whole group is deleted. + enum AutoDelete { + // A value indicating that the enum field is not set. + UNDEFINED_AUTO_DELETE = 0; + + NEVER = 74175084; + + ON_PERMANENT_INSTANCE_DELETION = 95727719; + + } + + // These stateful IPs will never be released during autohealing, update or VM instance recreate operations. This flag is used to configure if the IP reservation should be deleted after it is no longer used by the group, e.g. when the given instance or the whole group is deleted. + // Check the AutoDelete enum for the list of possible values. + optional string auto_delete = 464761403; + +} + +// The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). +message Status { + // The status code, which should be an enum value of google.rpc.Code. + optional int32 code = 3059181; + + // A list of messages that carry the error details. There is a common set of message types for APIs to use. + repeated google.protobuf.Any details = 483979842; + + // A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. + optional string message = 418054151; + +} + +// A request message for Disks.StopAsyncReplication. See the method description for details. +message StopAsyncReplicationDiskRequest { + // The name of the persistent disk. + string disk = 3083677 [(google.api.field_behavior) = REQUIRED]; + + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + optional string request_id = 37109963; + + // The name of the zone for this request. + string zone = 3744684 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "zone" + ]; + +} + +// A request message for RegionDisks.StopAsyncReplication. See the method description for details. +message StopAsyncReplicationRegionDiskRequest { + // The name of the persistent disk. + string disk = 3083677 [(google.api.field_behavior) = REQUIRED]; + + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // The name of the region for this request. + string region = 138946292 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "region" + ]; + + // An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + optional string request_id = 37109963; + +} + +// A request message for Disks.StopGroupAsyncReplication. See the method description for details. +message StopGroupAsyncReplicationDiskRequest { + // The body resource for this request + DisksStopGroupAsyncReplicationResource disks_stop_group_async_replication_resource_resource = 346815509 [(google.api.field_behavior) = REQUIRED]; + + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + optional string request_id = 37109963; + + // The name of the zone for this request. This must be the zone of the primary or secondary disks in the consistency group. + string zone = 3744684 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "zone" + ]; + +} + +// A request message for RegionDisks.StopGroupAsyncReplication. See the method description for details. +message StopGroupAsyncReplicationRegionDiskRequest { + // The body resource for this request + DisksStopGroupAsyncReplicationResource disks_stop_group_async_replication_resource_resource = 346815509 [(google.api.field_behavior) = REQUIRED]; + + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // The name of the region for this request. This must be the region of the primary or secondary disks in the consistency group. + string region = 138946292 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "region" + ]; + + // An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + optional string request_id = 37109963; + +} + // A request message for Instances.Stop. See the method description for details. message StopInstanceRequest { - // If true, discard the contents of any attached localSSD partitions. Default value is false. + // This property is required if the instance has any attached Local SSD disks. If false, Local SSD data will be preserved when the instance is suspended. If true, the contents of any attached Local SSD disks will be discarded. optional bool discard_local_ssd = 319517903; // Name of the instance resource to stop. @@ -27031,29 +29768,35 @@ message Subnetwork { } - // The purpose of the resource. This field can be either PRIVATE_RFC_1918 or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER. + // The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. Subnets with purpose set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks that are reserved for Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY. enum Purpose { // A value indicating that the enum field is not set. UNDEFINED_PURPOSE = 0; - // Subnet reserved for Internal HTTP(S) Load Balancing. + // Subnet reserved for Global Envoy-based Load Balancing. + GLOBAL_MANAGED_PROXY = 236463602; + + // Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy purpose, please use REGIONAL_MANAGED_PROXY instead. INTERNAL_HTTPS_LOAD_BALANCER = 248748889; // Regular user created or automatically created subnet. PRIVATE = 403485027; + // Subnetwork used as source range for Private NAT Gateways. + PRIVATE_NAT = 367764517; + // Regular user created or automatically created subnet. PRIVATE_RFC_1918 = 254902107; // Subnetworks created for Private Service Connect in the producer network. PRIVATE_SERVICE_CONNECT = 48134724; - // Subnetwork used for Regional Internal/External HTTP(S) Load Balancing. + // Subnetwork used for Regional Envoy-based Load Balancing. REGIONAL_MANAGED_PROXY = 153049966; } - // The role of subnetwork. Currently, this field is only used when purpose = INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Internal HTTP(S) Load Balancing. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request. + // The role of subnetwork. Currently, this field is only used when purpose is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Envoy-based load balancers in a region. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request. enum Role { // A value indicating that the enum field is not set. UNDEFINED_ROLE = 0; @@ -27100,7 +29843,7 @@ message Subnetwork { // An optional description of this resource. Provide this property when you create the resource. This field can be set only at resource creation time. optional string description = 422937596; - // Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is determined by the org policy, if there is no org policy specified, then it will default to disabled. This field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER. + // Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is determined by the org policy, if there is no org policy specified, then it will default to disabled. This field isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY. optional bool enable_flow_logs = 151544420; // The external IPv6 address range that is owned by this subnetwork. @@ -27147,14 +29890,17 @@ message Subnetwork { // Check the PrivateIpv6GoogleAccess enum for the list of possible values. optional string private_ipv6_google_access = 48277006; - // The purpose of the resource. This field can be either PRIVATE_RFC_1918 or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER. + // The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. Subnets with purpose set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks that are reserved for Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY. // Check the Purpose enum for the list of possible values. optional string purpose = 316407070; // URL of the region where the Subnetwork resides. This field can be set only at resource creation time. optional string region = 138946292; - // The role of subnetwork. Currently, this field is only used when purpose = INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Internal HTTP(S) Load Balancing. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request. + // The URL of the reserved internal range. + optional string reserved_internal_range = 286248754; + + // The role of subnetwork. Currently, this field is only used when purpose is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Envoy-based load balancers in a region. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request. // Check the Role enum for the list of possible values. optional string role = 3506294; @@ -27259,7 +30005,7 @@ message SubnetworkLogConfig { // Check the AggregationInterval enum for the list of possible values. optional string aggregation_interval = 174919042; - // Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is determined by the org policy, if there is no org policy specified, then it will default to disabled. + // Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is determined by the org policy, if there is no org policy specified, then it will default to disabled. Flow logging isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY. optional bool enable = 311764355; // Can only be specified if VPC flow logs for this subnetwork is enabled. The filter expression is used to define which VPC flow logs should be exported to Cloud Logging. @@ -27285,6 +30031,9 @@ message SubnetworkSecondaryRange { // The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork. optional string range_name = 332216397; + // The URL of the reserved internal range. + optional string reserved_internal_range = 286248754; + } // @@ -27333,7 +30082,7 @@ message Subsetting { // A request message for Instances.Suspend. See the method description for details. message SuspendInstanceRequest { - // If true, discard the contents of any attached localSSD partitions. Default value is false. + // This property is required if the instance has any attached Local SSD disks. If false, Local SSD data will be preserved when the instance is suspended. If true, the contents of any attached Local SSD disks will be discarded. optional bool discard_local_ssd = 319517903; // Name of the instance resource to suspend. @@ -27374,7 +30123,7 @@ message SwitchToCustomModeNetworkRequest { // message TCPHealthCheck { - // Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. + // Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for passthrough load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for passthrough load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. enum PortSpecification { // A value indicating that the enum field is not set. UNDEFINED_PORT_SPECIFICATION = 0; @@ -27407,7 +30156,7 @@ message TCPHealthCheck { // Not supported. optional string port_name = 41534345; - // Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. + // Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for passthrough load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for passthrough load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports. // Check the PortSpecification enum for the list of possible values. optional string port_specification = 51590597; @@ -27499,7 +30248,7 @@ message TargetHttpProxiesScopedList { } -// Represents a Target HTTP Proxy resource. Google Compute Engine has two Target HTTP Proxy resources: * [Global](/compute/docs/reference/rest/v1/targetHttpProxies) * [Regional](/compute/docs/reference/rest/v1/regionTargetHttpProxies) A target HTTP proxy is a component of GCP HTTP load balancers. * targetHttpProxies are used by external HTTP load balancers and Traffic Director. * regionTargetHttpProxies are used by internal HTTP load balancers. Forwarding rules reference a target HTTP proxy, and the target proxy then references a URL map. For more information, read Using Target Proxies and Forwarding rule concepts. +// Represents a Target HTTP Proxy resource. Google Compute Engine has two Target HTTP Proxy resources: * [Global](/compute/docs/reference/rest/v1/targetHttpProxies) * [Regional](/compute/docs/reference/rest/v1/regionTargetHttpProxies) A target HTTP proxy is a component of Google Cloud HTTP load balancers. * targetHttpProxies are used by global external Application Load Balancers, classic Application Load Balancers, cross-region internal Application Load Balancers, and Traffic Director. * regionTargetHttpProxies are used by regional internal Application Load Balancers and regional external Application Load Balancers. Forwarding rules reference a target HTTP proxy, and the target proxy then references a URL map. For more information, read Using Target Proxies and Forwarding rule concepts. message TargetHttpProxy { // [Output Only] Creation timestamp in RFC3339 text format. optional string creation_timestamp = 30525366; @@ -27510,6 +30259,9 @@ message TargetHttpProxy { // Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a TargetHttpProxy. An up-to-date fingerprint must be provided in order to patch/update the TargetHttpProxy; otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the TargetHttpProxy. optional string fingerprint = 234678500; + // Specifies how long to keep a connection open, after completing a response, while there is no matching traffic (in seconds). If an HTTP keep-alive is not specified, a default value (610 seconds) will be used. For global external Application Load Balancers, the minimum allowed value is 5 seconds and the maximum allowed value is 1200 seconds. For classic Application Load Balancers, this option is not supported. + optional int32 http_keep_alive_timeout_sec = 447326046; + // [Output Only] The unique identifier for the resource. This identifier is defined by the server. optional uint64 id = 3355; @@ -27589,7 +30341,7 @@ message TargetHttpsProxiesScopedList { // message TargetHttpsProxiesSetCertificateMapRequest { - // URL of the Certificate Map to associate with this TargetHttpsProxy. + // URL of the Certificate Map to associate with this TargetHttpsProxy. Accepted format is //certificatemanager.googleapis.com/projects/{project }/locations/{location}/certificateMaps/{resourceName}. optional string certificate_map = 156463796; } @@ -27625,7 +30377,7 @@ message TargetHttpsProxiesSetSslCertificatesRequest { } -// Represents a Target HTTPS Proxy resource. Google Compute Engine has two Target HTTPS Proxy resources: * [Global](/compute/docs/reference/rest/v1/targetHttpsProxies) * [Regional](/compute/docs/reference/rest/v1/regionTargetHttpsProxies) A target HTTPS proxy is a component of GCP HTTPS load balancers. * targetHttpsProxies are used by external HTTPS load balancers. * regionTargetHttpsProxies are used by internal HTTPS load balancers. Forwarding rules reference a target HTTPS proxy, and the target proxy then references a URL map. For more information, read Using Target Proxies and Forwarding rule concepts. +// Represents a Target HTTPS Proxy resource. Google Compute Engine has two Target HTTPS Proxy resources: * [Global](/compute/docs/reference/rest/v1/targetHttpsProxies) * [Regional](/compute/docs/reference/rest/v1/regionTargetHttpsProxies) A target HTTPS proxy is a component of GCP HTTPS load balancers. * targetHttpProxies are used by global external Application Load Balancers, classic Application Load Balancers, cross-region internal Application Load Balancers, and Traffic Director. * regionTargetHttpProxies are used by regional internal Application Load Balancers and regional external Application Load Balancers. Forwarding rules reference a target HTTPS proxy, and the target proxy then references a URL map. For more information, read Using Target Proxies and Forwarding rule concepts. message TargetHttpsProxy { // Specifies the QUIC override policy for this TargetHttpsProxy resource. This setting determines whether the load balancer attempts to negotiate QUIC with clients. You can specify NONE, ENABLE, or DISABLE. - When quic-override is set to NONE, Google manages whether QUIC is used. - When quic-override is set to ENABLE, the load balancer uses QUIC when possible. - When quic-override is set to DISABLE, the load balancer doesn't use QUIC. - If the quic-override flag is not specified, NONE is implied. enum QuicOverride { @@ -27646,7 +30398,7 @@ message TargetHttpsProxy { // Optional. A URL referring to a networksecurity.AuthorizationPolicy resource that describes how the proxy should authorize inbound traffic. If left blank, access will not be restricted by an authorization policy. Refer to the AuthorizationPolicy resource for additional details. authorizationPolicy only applies to a global TargetHttpsProxy attached to globalForwardingRules with the loadBalancingScheme set to INTERNAL_SELF_MANAGED. Note: This field currently has no impact. optional string authorization_policy = 33945528; - // URL of a certificate map that identifies a certificate map associated with the given target proxy. This field can only be set for global target proxies. If set, sslCertificates will be ignored. + // URL of a certificate map that identifies a certificate map associated with the given target proxy. This field can only be set for global target proxies. If set, sslCertificates will be ignored. Accepted format is //certificatemanager.googleapis.com/projects/{project }/locations/{location}/certificateMaps/{resourceName}. optional string certificate_map = 156463796; // [Output Only] Creation timestamp in RFC3339 text format. @@ -27658,6 +30410,9 @@ message TargetHttpsProxy { // Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a TargetHttpsProxy. An up-to-date fingerprint must be provided in order to patch the TargetHttpsProxy; otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the TargetHttpsProxy. optional string fingerprint = 234678500; + // Specifies how long to keep a connection open, after completing a response, while there is no matching traffic (in seconds). If an HTTP keep-alive is not specified, a default value (610 seconds) will be used. For global external Application Load Balancers, the minimum allowed value is 5 seconds and the maximum allowed value is 1200 seconds. For classic Application Load Balancers, this option is not supported. + optional int32 http_keep_alive_timeout_sec = 447326046; + // [Output Only] The unique identifier for the resource. This identifier is defined by the server. optional uint64 id = 3355; @@ -27680,7 +30435,7 @@ message TargetHttpsProxy { // [Output Only] Server-defined URL for the resource. optional string self_link = 456214797; - // Optional. A URL referring to a networksecurity.ServerTlsPolicy resource that describes how the proxy should authenticate inbound traffic. serverTlsPolicy only applies to a global TargetHttpsProxy attached to globalForwardingRules with the loadBalancingScheme set to INTERNAL_SELF_MANAGED. If left blank, communications are not encrypted. Note: This field currently has no impact. + // Optional. A URL referring to a networksecurity.ServerTlsPolicy resource that describes how the proxy should authenticate inbound traffic. serverTlsPolicy only applies to a global TargetHttpsProxy attached to globalForwardingRules with the loadBalancingScheme set to INTERNAL_SELF_MANAGED or EXTERNAL or EXTERNAL_MANAGED. For details which ServerTlsPolicy resources are accepted with INTERNAL_SELF_MANAGED and which with EXTERNAL, EXTERNAL_MANAGED loadBalancingScheme consult ServerTlsPolicy documentation. If left blank, communications are not encrypted. optional string server_tls_policy = 295825266; // URLs to SslCertificate resources that are used to authenticate connections between users and the load balancer. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates. sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED. @@ -27778,6 +30533,9 @@ message TargetInstance { // The URL of the network this target instance uses to forward traffic. If not specified, the traffic will be forwarded to the network that the default network interface belongs to. optional string network = 232872494; + // [Output Only] The resource URL for the security policy associated with this target instance. + optional string security_policy = 171082513; + // [Output Only] Server-defined URL for the resource. optional string self_link = 456214797; @@ -27843,7 +30601,7 @@ message TargetInstancesScopedList { } -// Represents a Target Pool resource. Target pools are used for network TCP/UDP load balancing. A target pool references member instances, an associated legacy HttpHealthCheck resource, and, optionally, a backup target pool. For more information, read Using target pools. +// Represents a Target Pool resource. Target pools are used with external passthrough Network Load Balancers. A target pool references member instances, an associated legacy HttpHealthCheck resource, and, optionally, a backup target pool. For more information, read Using target pools. message TargetPool { // Session affinity option, must be one of the following values: NONE: Connections from the same client IP may go to any instance in the pool. CLIENT_IP: Connections from the same client IP will go to the same instance in the pool while that instance remains healthy. CLIENT_IP_PROTO: Connections from the same client IP with the same IP protocol will go to the same instance in the pool while that instance remains healthy. enum SessionAffinity { @@ -27906,6 +30664,9 @@ message TargetPool { // [Output Only] URL of the region where the target pool resides. optional string region = 138946292; + // [Output Only] The resource URL for the security policy associated with this target pool. + optional string security_policy = 171082513; + // [Output Only] Server-defined URL for the resource. optional string self_link = 456214797; @@ -28024,7 +30785,7 @@ message TargetSslProxiesSetBackendServiceRequest { // message TargetSslProxiesSetCertificateMapRequest { - // URL of the Certificate Map to associate with this TargetSslProxy. + // URL of the Certificate Map to associate with this TargetSslProxy. Accepted format is //certificatemanager.googleapis.com/projects/{project }/locations/{location}/certificateMaps/{resourceName}. optional string certificate_map = 156463796; } @@ -28055,7 +30816,7 @@ message TargetSslProxiesSetSslCertificatesRequest { } -// Represents a Target SSL Proxy resource. A target SSL proxy is a component of a SSL Proxy load balancer. Global forwarding rules reference a target SSL proxy, and the target proxy then references an external backend service. For more information, read Using Target Proxies. +// Represents a Target SSL Proxy resource. A target SSL proxy is a component of a Proxy Network Load Balancer. The forwarding rule references the target SSL proxy, and the target proxy then references a backend service. For more information, read Proxy Network Load Balancer overview. message TargetSslProxy { // Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. enum ProxyHeader { @@ -28068,7 +30829,7 @@ message TargetSslProxy { } - // URL of a certificate map that identifies a certificate map associated with the given target proxy. This field can only be set for global target proxies. If set, sslCertificates will be ignored. + // URL of a certificate map that identifies a certificate map associated with the given target proxy. This field can only be set for global target proxies. If set, sslCertificates will be ignored. Accepted format is //certificatemanager.googleapis.com/projects/{project }/locations/{location}/certificateMaps/{resourceName}. optional string certificate_map = 156463796; // [Output Only] Creation timestamp in RFC3339 text format. @@ -28162,7 +30923,7 @@ message TargetTcpProxiesSetProxyHeaderRequest { } -// Represents a Target TCP Proxy resource. A target TCP proxy is a component of a TCP Proxy load balancer. Global forwarding rules reference target TCP proxy, and the target proxy then references an external backend service. For more information, read TCP Proxy Load Balancing overview. +// Represents a Target TCP Proxy resource. A target TCP proxy is a component of a Proxy Network Load Balancer. The forwarding rule references the target TCP proxy, and the target proxy then references a backend service. For more information, read Proxy Network Load Balancer overview. message TargetTcpProxy { // Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. enum ProxyHeader { @@ -28287,6 +31048,12 @@ message TargetVpnGateway { // [Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways. optional string kind = 3292052; + // A fingerprint for the labels being applied to this TargetVpnGateway, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a TargetVpnGateway. + optional string label_fingerprint = 178124825; + + // Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty. + map labels = 500195327; + // Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. optional string name = 3373707; @@ -28396,6 +31163,32 @@ message TestFailure { } +// A request message for BackendBuckets.TestIamPermissions. See the method description for details. +message TestIamPermissionsBackendBucketRequest { + // Project ID for this request. + string project = 227560217 [(google.api.field_behavior) = REQUIRED]; + + // Name or id of the resource for this request. + string resource = 195806222 [(google.api.field_behavior) = REQUIRED]; + + // The body resource for this request + TestPermissionsRequest test_permissions_request_resource = 439214758 [(google.api.field_behavior) = REQUIRED]; + +} + +// A request message for BackendServices.TestIamPermissions. See the method description for details. +message TestIamPermissionsBackendServiceRequest { + // Project ID for this request. + string project = 227560217 [(google.api.field_behavior) = REQUIRED]; + + // Name or id of the resource for this request. + string resource = 195806222 [(google.api.field_behavior) = REQUIRED]; + + // The body resource for this request + TestPermissionsRequest test_permissions_request_resource = 439214758 [(google.api.field_behavior) = REQUIRED]; + +} + // A request message for Disks.TestIamPermissions. See the method description for details. message TestIamPermissionsDiskRequest { // Project ID for this request. @@ -28609,6 +31402,22 @@ message TestIamPermissionsPacketMirroringRequest { } +// A request message for RegionBackendServices.TestIamPermissions. See the method description for details. +message TestIamPermissionsRegionBackendServiceRequest { + // Project ID for this request. + string project = 227560217 [(google.api.field_behavior) = REQUIRED]; + + // The name of the region for this request. + string region = 138946292 [(google.api.field_behavior) = REQUIRED]; + + // Name or id of the resource for this request. + string resource = 195806222 [(google.api.field_behavior) = REQUIRED]; + + // The body resource for this request + TestPermissionsRequest test_permissions_request_resource = 439214758 [(google.api.field_behavior) = REQUIRED]; + +} + // A request message for RegionDisks.TestIamPermissions. See the method description for details. message TestIamPermissionsRegionDiskRequest { // Project ID for this request. @@ -28756,6 +31565,62 @@ message Uint128 { } +// Upcoming Maintenance notification information. +message UpcomingMaintenance { + // + enum MaintenanceStatus { + // A value indicating that the enum field is not set. + UNDEFINED_MAINTENANCE_STATUS = 0; + + // There is ongoing maintenance on this VM. + ONGOING = 473158491; + + // There is pending maintenance. + PENDING = 35394935; + + // Unknown maintenance status. Do not use this value. + UNKNOWN = 433141802; + + } + + // Defines the type of maintenance. + enum Type { + // A value indicating that the enum field is not set. + UNDEFINED_TYPE = 0; + + // Scheduled maintenance (e.g. maintenance after uptime guarantee is complete). + SCHEDULED = 478400653; + + // No type specified. Do not use this value. + UNKNOWN_TYPE = 490705455; + + // Unscheduled maintenance (e.g. emergency maintenance during uptime guarantee). + UNSCHEDULED = 450077204; + + } + + // Indicates if the maintenance can be customer triggered. + optional bool can_reschedule = 95981977; + + // The latest time for the planned maintenance window to start. This timestamp value is in RFC3339 text format. + optional string latest_window_start_time = 128032129; + + // + // Check the MaintenanceStatus enum for the list of possible values. + optional string maintenance_status = 81645214; + + // Defines the type of maintenance. + // Check the Type enum for the list of possible values. + optional string type = 3575610; + + // The time by which the maintenance disruption will be completed. This timestamp value is in RFC3339 text format. + optional string window_end_time = 271816480; + + // The current start time of the maintenance window. This timestamp value is in RFC3339 text format. + optional string window_start_time = 473061433; + +} + // A request message for Instances.UpdateAccessConfig. See the method description for details. message UpdateAccessConfigInstanceRequest { // The body resource for this request @@ -28847,6 +31712,36 @@ message UpdateBackendServiceRequest { } +// A request message for Disks.Update. See the method description for details. +message UpdateDiskRequest { + // The disk name for this request. + string disk = 3083677 [(google.api.field_behavior) = REQUIRED]; + + // The body resource for this request + Disk disk_resource = 25880688 [(google.api.field_behavior) = REQUIRED]; + + optional string paths = 106438894; + + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + optional string request_id = 37109963; + + // update_mask indicates fields to be updated as part of this request. + optional string update_mask = 500079778; + + // The name of the zone for this request. + string zone = 3744684 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "zone" + ]; + +} + // A request message for Instances.UpdateDisplayDevice. See the method description for details. message UpdateDisplayDeviceInstanceRequest { // The body resource for this request @@ -29144,6 +32039,36 @@ message UpdateRegionCommitmentRequest { } +// A request message for RegionDisks.Update. See the method description for details. +message UpdateRegionDiskRequest { + // The disk name for this request. + string disk = 3083677 [(google.api.field_behavior) = REQUIRED]; + + // The body resource for this request + Disk disk_resource = 25880688 [(google.api.field_behavior) = REQUIRED]; + + optional string paths = 106438894; + + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // The name of the region for this request. + string region = 138946292 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "region" + ]; + + // An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + optional string request_id = 37109963; + + // update_mask indicates fields to be updated as part of this request. + optional string update_mask = 500079778; + +} + // A request message for RegionHealthChecks.Update. See the method description for details. message UpdateRegionHealthCheckRequest { // Name of the HealthCheck resource to update. @@ -29293,12 +32218,12 @@ message UpdateUrlMapRequest { } -// Represents a URL Map resource. Compute Engine has two URL Map resources: * [Global](/compute/docs/reference/rest/v1/urlMaps) * [Regional](/compute/docs/reference/rest/v1/regionUrlMaps) A URL map resource is a component of certain types of cloud load balancers and Traffic Director: * urlMaps are used by external HTTP(S) load balancers and Traffic Director. * regionUrlMaps are used by internal HTTP(S) load balancers. For a list of supported URL map features by the load balancer type, see the Load balancing features: Routing and traffic management table. For a list of supported URL map features for Traffic Director, see the Traffic Director features: Routing and traffic management table. This resource defines mappings from hostnames and URL paths to either a backend service or a backend bucket. To use the global urlMaps resource, the backend service must have a loadBalancingScheme of either EXTERNAL or INTERNAL_SELF_MANAGED. To use the regionUrlMaps resource, the backend service must have a loadBalancingScheme of INTERNAL_MANAGED. For more information, read URL Map Concepts. +// Represents a URL Map resource. Compute Engine has two URL Map resources: * [Global](/compute/docs/reference/rest/v1/urlMaps) * [Regional](/compute/docs/reference/rest/v1/regionUrlMaps) A URL map resource is a component of certain types of cloud load balancers and Traffic Director: * urlMaps are used by global external Application Load Balancers, classic Application Load Balancers, and cross-region internal Application Load Balancers. * regionUrlMaps are used by internal Application Load Balancers, regional external Application Load Balancers and regional internal Application Load Balancers. For a list of supported URL map features by the load balancer type, see the Load balancing features: Routing and traffic management table. For a list of supported URL map features for Traffic Director, see the Traffic Director features: Routing and traffic management table. This resource defines mappings from hostnames and URL paths to either a backend service or a backend bucket. To use the global urlMaps resource, the backend service must have a loadBalancingScheme of either EXTERNAL or INTERNAL_SELF_MANAGED. To use the regionUrlMaps resource, the backend service must have a loadBalancingScheme of INTERNAL_MANAGED. For more information, read URL Map Concepts. message UrlMap { // [Output Only] Creation timestamp in RFC3339 text format. optional string creation_timestamp = 30525366; - // defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true. + // defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true. optional HttpRouteAction default_route_action = 378919466; // The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true. @@ -29461,18 +32386,18 @@ message UrlMapsValidateRequest { // A value indicating that the enum field is not set. UNDEFINED_LOAD_BALANCING_SCHEMES = 0; - // Signifies that this will be used for Classic L7 External Load Balancing. + // Signifies that this will be used for classic Application Load Balancers. EXTERNAL = 35607499; - // Signifies that this will be used for Envoy-based L7 External Load Balancing. + // Signifies that this will be used for Envoy-based global external Application Load Balancers. EXTERNAL_MANAGED = 512006923; - // If unspecified, the validation will try to infer the scheme from the backend service resources this Url map references. If the inferrence is not possible, EXTERNAL will be used as the default type. + // If unspecified, the validation will try to infer the scheme from the backend service resources this Url map references. If the inference is not possible, EXTERNAL will be used as the default type. LOAD_BALANCING_SCHEME_UNSPECIFIED = 526507452; } - // Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for HTTP/HTTPS External Global Load Balancer with Advanced Traffic Management. Use EXTERNAL for Classic HTTP/HTTPS External Global Load Balancer. Other load balancer types are not supported. For more information, refer to Choosing a load balancer. If unspecified, the load balancing scheme will be inferred from the backend service resources this URL map references. If that can not be inferred (for example, this URL map only references backend buckets, or this Url map is for rewrites and redirects only and doesn't reference any backends), EXTERNAL will be used as the default type. If specified, the scheme(s) must not conflict with the load balancing scheme of the backend service resources this Url map references. + // Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for global external Application Load Balancers and regional external Application Load Balancers. Use EXTERNAL for classic Application Load Balancers. Use INTERNAL_MANAGED for internal Application Load Balancers. For more information, refer to Choosing a load balancer. If unspecified, the load balancing scheme will be inferred from the backend service resources this URL map references. If that can not be inferred (for example, this URL map only references backend buckets, or this Url map is for rewrites and redirects only and doesn't reference any backends), EXTERNAL will be used as the default type. If specified, the scheme(s) must not conflict with the load balancing scheme of the backend service resources this Url map references. // Check the LoadBalancingSchemes enum for the list of possible values. repeated string load_balancing_schemes = 6308527; @@ -29495,6 +32420,9 @@ message UrlRewrite { // Before forwarding the request to the selected backend service, the matching portion of the request's path is replaced by pathPrefixRewrite. The value must be from 1 to 1024 characters. optional string path_prefix_rewrite = 41186361; + // If specified, the pattern rewrites the URL path (based on the :path header) using the HTTP template syntax. A corresponding path_template_match must be specified. Any template variables must exist in the path_template_match field. - -At least one variable must be specified in the path_template_match field - You can omit variables from the rewritten URL - The * and ** operators cannot be matched unless they have a corresponding variable name - e.g. {format=*} or {var=**}. For example, a path_template_match of /static/{format=**} could be rewritten as /static/content/{format} to prefix /content to the URL. Variables can also be re-ordered in a rewrite, so that /{country}/{format}/{suffix=**} can be rewritten as /content/{format}/{country}/{suffix}. At least one non-empty routeRules[].matchRules[].path_template_match is required. Only one of path_prefix_rewrite or path_template_rewrite may be specified. + optional string path_template_rewrite = 423409569; + } // Subnetwork which the current user has compute.subnetworks.use permission on. @@ -29512,29 +32440,35 @@ message UsableSubnetwork { } - // The purpose of the resource. This field can be either PRIVATE_RFC_1918 or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER. + // The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. Subnets with purpose set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks that are reserved for Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY. enum Purpose { // A value indicating that the enum field is not set. UNDEFINED_PURPOSE = 0; - // Subnet reserved for Internal HTTP(S) Load Balancing. + // Subnet reserved for Global Envoy-based Load Balancing. + GLOBAL_MANAGED_PROXY = 236463602; + + // Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy purpose, please use REGIONAL_MANAGED_PROXY instead. INTERNAL_HTTPS_LOAD_BALANCER = 248748889; // Regular user created or automatically created subnet. PRIVATE = 403485027; + // Subnetwork used as source range for Private NAT Gateways. + PRIVATE_NAT = 367764517; + // Regular user created or automatically created subnet. PRIVATE_RFC_1918 = 254902107; // Subnetworks created for Private Service Connect in the producer network. PRIVATE_SERVICE_CONNECT = 48134724; - // Subnetwork used for Regional Internal/External HTTP(S) Load Balancing. + // Subnetwork used for Regional Envoy-based Load Balancing. REGIONAL_MANAGED_PROXY = 153049966; } - // The role of subnetwork. Currently, this field is only used when purpose = INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Internal HTTP(S) Load Balancing. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request. + // The role of subnetwork. Currently, this field is only used when purpose is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Envoy-based load balancers in a region. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request. enum Role { // A value indicating that the enum field is not set. UNDEFINED_ROLE = 0; @@ -29576,11 +32510,11 @@ message UsableSubnetwork { // Network URL. optional string network = 232872494; - // The purpose of the resource. This field can be either PRIVATE_RFC_1918 or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER. + // The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. Subnets with purpose set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks that are reserved for Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY. // Check the Purpose enum for the list of possible values. optional string purpose = 316407070; - // The role of subnetwork. Currently, this field is only used when purpose = INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Internal HTTP(S) Load Balancing. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request. + // The role of subnetwork. Currently, this field is only used when purpose is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Envoy-based load balancers in a region. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request. // Check the Role enum for the list of possible values. optional string role = 3506294; @@ -29769,7 +32703,7 @@ message VpnGateway { // [Output Only] Type of resource. Always compute#vpnGateway for VPN gateways. optional string kind = 3292052; - // A fingerprint for the labels being applied to this VpnGateway, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an VpnGateway. + // A fingerprint for the labels being applied to this VpnGateway, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a VpnGateway. optional string label_fingerprint = 178124825; // Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty. @@ -29889,7 +32823,7 @@ message VpnGatewayStatusTunnel { // The VPN gateway interface this VPN tunnel is associated with. optional uint32 local_gateway_interface = 158764330; - // The peer gateway interface this VPN tunnel is connected to, the peer gateway could either be an external VPN gateway or GCP VPN gateway. + // The peer gateway interface this VPN tunnel is connected to, the peer gateway could either be an external VPN gateway or a Google Cloud VPN gateway. optional uint32 peer_gateway_interface = 214380385; // URL reference to the VPN tunnel. @@ -29897,7 +32831,7 @@ message VpnGatewayStatusTunnel { } -// A VPN connection contains all VPN tunnels connected from this VpnGateway to the same peer gateway. The peer gateway could either be a external VPN gateway or GCP VPN gateway. +// A VPN connection contains all VPN tunnels connected from this VpnGateway to the same peer gateway. The peer gateway could either be an external VPN gateway or a Google Cloud VPN gateway. message VpnGatewayStatusVpnConnection { // URL reference to the peer external VPN gateways to which the VPN tunnels in this VPN connection are connected. This field is mutually exclusive with peer_gcp_gateway. optional string peer_external_gateway = 384956173; @@ -30008,6 +32942,12 @@ message VpnTunnel { // [Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels. optional string kind = 3292052; + // A fingerprint for the labels being applied to this VpnTunnel, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a VpnTunnel. + optional string label_fingerprint = 178124825; + + // Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty. + map labels = 500195327; + // Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges must be disjoint. Only IPv4 is supported. repeated string local_traffic_selector = 317314613; @@ -30020,7 +32960,7 @@ message VpnTunnel { // The interface ID of the external VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. Possible values are: `0`, `1`, `2`, `3`. The number of IDs in use depends on the external VPN gateway redundancy type. optional int32 peer_external_gateway_interface = 452768391; - // URL of the peer side HA GCP VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. This field can be used when creating highly available VPN from VPC network to VPC network, the field is exclusive with the field peerExternalGateway. If provided, the VPN tunnel will automatically use the same vpnGatewayInterface ID in the peer GCP VPN gateway. + // URL of the peer side HA VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. This field can be used when creating highly available VPN from VPC network to VPC network, the field is exclusive with the field peerExternalGateway. If provided, the VPN tunnel will automatically use the same vpnGatewayInterface ID in the peer Google Cloud VPN gateway. optional string peer_gcp_gateway = 281867452; // IP address of the peer VPN gateway. Only IPv4 is supported. @@ -30134,6 +33074,9 @@ message WafExpressionSetExpression { // Expression ID should uniquely identify the origin of the expression. E.g. owasp-crs-v020901-id973337 identifies Owasp core rule set version 2.9.1 rule id 973337. The ID could be used to determine the individual attack definition that has been detected. It could also be used to exclude it from the policy in case of false positive. required optional string id = 3355; + // The sensitivity value associated with the WAF rule ID. This corresponds to the ModSecurity paranoia level, ranging from 1 to 4. 0 is reserved for opt-in only rules. + optional int32 sensitivity = 27532959; + } // A request message for GlobalOperations.Wait. See the method description for details. @@ -30209,6 +33152,9 @@ message Warning { // When deploying a deployment with a exceedingly large number of resources LARGE_DEPLOYMENT_WARNING = 481440678; + // Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter. + LIST_OVERHEAD_QUOTA_EXCEED = 47618117; + // A resource depends on a missing type MISSING_TYPE_DEPENDENCY = 344505463; @@ -30311,6 +33257,9 @@ message Warnings { // When deploying a deployment with a exceedingly large number of resources LARGE_DEPLOYMENT_WARNING = 481440678; + // Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter. + LIST_OVERHEAD_QUOTA_EXCEED = 47618117; + // A resource depends on a missing type MISSING_TYPE_DEPENDENCY = 344505463; @@ -30389,6 +33338,44 @@ message WeightedBackendService { } +// A request message for PublicAdvertisedPrefixes.Withdraw. See the method description for details. +message WithdrawPublicAdvertisedPrefixeRequest { + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // The name of the public advertised prefix. It should comply with RFC1035. + string public_advertised_prefix = 101874590 [(google.api.field_behavior) = REQUIRED]; + + // An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + optional string request_id = 37109963; + +} + +// A request message for PublicDelegatedPrefixes.Withdraw. See the method description for details. +message WithdrawPublicDelegatedPrefixeRequest { + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // The name of the public delegated prefix. It should comply with RFC1035. + string public_delegated_prefix = 204238440 [(google.api.field_behavior) = REQUIRED]; + + // The name of the region where the public delegated prefix is located. It should comply with RFC1035. + string region = 138946292 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "region" + ]; + + // An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + optional string request_id = 37109963; + +} + // message XpnHostList { // [Output Only] Unique identifier for the resource; defined by the server. @@ -30618,6 +33605,16 @@ service Addresses { option (google.api.method_signature) = "project,region"; } + // Moves the specified address resource. + rpc Move(MoveAddressRequest) returns (Operation) { + option (google.api.http) = { + body: "region_addresses_move_request_resource" + post: "/compute/v1/projects/{project}/regions/{region}/addresses/{address}/move" + }; + option (google.api.method_signature) = "project,region,address,region_addresses_move_request_resource"; + option (google.cloud.operation_service) = "RegionOperations"; + } + // Sets the labels on an Address. To learn more about labels, read the Labeling Resources documentation. rpc SetLabels(SetLabelsAddressRequest) returns (Operation) { option (google.api.http) = { @@ -30656,7 +33653,7 @@ service Autoscalers { option (google.cloud.operation_service) = "ZoneOperations"; } - // Returns the specified autoscaler resource. Gets a list of available autoscalers by making a list() request. + // Returns the specified autoscaler resource. rpc Get(GetAutoscalerRequest) returns (Autoscaler) { option (google.api.http) = { get: "/compute/v1/projects/{project}/zones/{zone}/autoscalers/{autoscaler}" @@ -30741,7 +33738,7 @@ service BackendBuckets { option (google.cloud.operation_service) = "GlobalOperations"; } - // Returns the specified BackendBucket resource. Gets a list of available backend buckets by making a list() request. + // Returns the specified BackendBucket resource. rpc Get(GetBackendBucketRequest) returns (BackendBucket) { option (google.api.http) = { get: "/compute/v1/projects/{project}/global/backendBuckets/{backend_bucket}" @@ -30749,6 +33746,14 @@ service BackendBuckets { option (google.api.method_signature) = "project,backend_bucket"; } + // Gets the access control policy for a resource. May be empty if no such policy or resource exists. + rpc GetIamPolicy(GetIamPolicyBackendBucketRequest) returns (Policy) { + option (google.api.http) = { + get: "/compute/v1/projects/{project}/global/backendBuckets/{resource}/getIamPolicy" + }; + option (google.api.method_signature) = "project,resource"; + } + // Creates a BackendBucket resource in the specified project using the data included in the request. rpc Insert(InsertBackendBucketRequest) returns (Operation) { option (google.api.http) = { @@ -30787,6 +33792,24 @@ service BackendBuckets { option (google.cloud.operation_service) = "GlobalOperations"; } + // Sets the access control policy on the specified resource. Replaces any existing policy. + rpc SetIamPolicy(SetIamPolicyBackendBucketRequest) returns (Policy) { + option (google.api.http) = { + body: "global_set_policy_request_resource" + post: "/compute/v1/projects/{project}/global/backendBuckets/{resource}/setIamPolicy" + }; + option (google.api.method_signature) = "project,resource,global_set_policy_request_resource"; + } + + // Returns permissions that a caller has on the specified resource. + rpc TestIamPermissions(TestIamPermissionsBackendBucketRequest) returns (TestPermissionsResponse) { + option (google.api.http) = { + body: "test_permissions_request_resource" + post: "/compute/v1/projects/{project}/global/backendBuckets/{resource}/testIamPermissions" + }; + option (google.api.method_signature) = "project,resource,test_permissions_request_resource"; + } + // Updates the specified BackendBucket resource with the data included in the request. rpc Update(UpdateBackendBucketRequest) returns (Operation) { option (google.api.http) = { @@ -30844,7 +33867,7 @@ service BackendServices { option (google.cloud.operation_service) = "GlobalOperations"; } - // Returns the specified BackendService resource. Gets a list of available backend services. + // Returns the specified BackendService resource. rpc Get(GetBackendServiceRequest) returns (BackendService) { option (google.api.http) = { get: "/compute/v1/projects/{project}/global/backendServices/{backend_service}" @@ -30887,6 +33910,14 @@ service BackendServices { option (google.api.method_signature) = "project"; } + // Retrieves an aggregated list of all usable backend services in the specified project. + rpc ListUsable(ListUsableBackendServicesRequest) returns (BackendServiceListUsable) { + option (google.api.http) = { + get: "/compute/v1/projects/{project}/global/backendServices/listUsable" + }; + option (google.api.method_signature) = "project"; + } + // Patches the specified BackendService resource with the data included in the request. For more information, see Backend services overview. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. rpc Patch(PatchBackendServiceRequest) returns (Operation) { option (google.api.http) = { @@ -30926,6 +33957,15 @@ service BackendServices { option (google.cloud.operation_service) = "GlobalOperations"; } + // Returns permissions that a caller has on the specified resource. + rpc TestIamPermissions(TestIamPermissionsBackendServiceRequest) returns (TestPermissionsResponse) { + option (google.api.http) = { + body: "test_permissions_request_resource" + post: "/compute/v1/projects/{project}/global/backendServices/{resource}/testIamPermissions" + }; + option (google.api.method_signature) = "project,resource,test_permissions_request_resource"; + } + // Updates the specified BackendService resource with the data included in the request. For more information, see Backend services overview. rpc Update(UpdateBackendServiceRequest) returns (Operation) { option (google.api.http) = { @@ -30956,7 +33996,7 @@ service DiskTypes { option (google.api.method_signature) = "project"; } - // Returns the specified disk type. Gets a list of available disk types by making a list() request. + // Returns the specified disk type. rpc Get(GetDiskTypeRequest) returns (DiskType) { option (google.api.http) = { get: "/compute/v1/projects/{project}/zones/{zone}/diskTypes/{disk_type}" @@ -31001,6 +34041,16 @@ service Disks { option (google.api.method_signature) = "project"; } + // Bulk create a set of disks. + rpc BulkInsert(BulkInsertDiskRequest) returns (Operation) { + option (google.api.http) = { + body: "bulk_insert_disk_resource_resource" + post: "/compute/v1/projects/{project}/zones/{zone}/disks/bulkInsert" + }; + option (google.api.method_signature) = "project,zone,bulk_insert_disk_resource_resource"; + option (google.cloud.operation_service) = "ZoneOperations"; + } + // Creates a snapshot of a specified persistent disk. For regular snapshot creation, consider using snapshots.insert instead, as that method supports more features, such as creating snapshots in a project different from the source disk project. rpc CreateSnapshot(CreateSnapshotDiskRequest) returns (Operation) { option (google.api.http) = { @@ -31020,7 +34070,7 @@ service Disks { option (google.cloud.operation_service) = "ZoneOperations"; } - // Returns a specified persistent disk. Gets a list of available persistent disks by making a list() request. + // Returns the specified persistent disk. rpc Get(GetDiskRequest) returns (Disk) { option (google.api.http) = { get: "/compute/v1/projects/{project}/zones/{zone}/disks/{disk}" @@ -31093,6 +34143,35 @@ service Disks { option (google.cloud.operation_service) = "ZoneOperations"; } + // Starts asynchronous replication. Must be invoked on the primary disk. + rpc StartAsyncReplication(StartAsyncReplicationDiskRequest) returns (Operation) { + option (google.api.http) = { + body: "disks_start_async_replication_request_resource" + post: "/compute/v1/projects/{project}/zones/{zone}/disks/{disk}/startAsyncReplication" + }; + option (google.api.method_signature) = "project,zone,disk,disks_start_async_replication_request_resource"; + option (google.cloud.operation_service) = "ZoneOperations"; + } + + // Stops asynchronous replication. Can be invoked either on the primary or on the secondary disk. + rpc StopAsyncReplication(StopAsyncReplicationDiskRequest) returns (Operation) { + option (google.api.http) = { + post: "/compute/v1/projects/{project}/zones/{zone}/disks/{disk}/stopAsyncReplication" + }; + option (google.api.method_signature) = "project,zone,disk"; + option (google.cloud.operation_service) = "ZoneOperations"; + } + + // Stops asynchronous replication for a consistency group of disks. Can be invoked either in the primary or secondary scope. + rpc StopGroupAsyncReplication(StopGroupAsyncReplicationDiskRequest) returns (Operation) { + option (google.api.http) = { + body: "disks_stop_group_async_replication_resource_resource" + post: "/compute/v1/projects/{project}/zones/{zone}/disks/stopGroupAsyncReplication" + }; + option (google.api.method_signature) = "project,zone,disks_stop_group_async_replication_resource_resource"; + option (google.cloud.operation_service) = "ZoneOperations"; + } + // Returns permissions that a caller has on the specified resource. rpc TestIamPermissions(TestIamPermissionsDiskRequest) returns (TestPermissionsResponse) { option (google.api.http) = { @@ -31102,6 +34181,16 @@ service Disks { option (google.api.method_signature) = "project,zone,resource,test_permissions_request_resource"; } + // Updates the specified disk with the data included in the request. The update is performed only on selected fields included as part of update-mask. Only the following fields can be modified: user_license. + rpc Update(UpdateDiskRequest) returns (Operation) { + option (google.api.http) = { + body: "disk_resource" + patch: "/compute/v1/projects/{project}/zones/{zone}/disks/{disk}" + }; + option (google.api.method_signature) = "project,zone,disk,disk_resource"; + option (google.cloud.operation_service) = "ZoneOperations"; + } + } // The ExternalVpnGateways API. @@ -31509,7 +34598,7 @@ service GlobalAddresses { option (google.cloud.operation_service) = "GlobalOperations"; } - // Returns the specified address resource. Gets a list of available addresses by making a list() request. + // Returns the specified address resource. rpc Get(GetGlobalAddressRequest) returns (Address) { option (google.api.http) = { get: "/compute/v1/projects/{project}/global/addresses/{address}" @@ -31535,6 +34624,16 @@ service GlobalAddresses { option (google.api.method_signature) = "project"; } + // Moves the specified address resource from one project to another project. + rpc Move(MoveGlobalAddressRequest) returns (Operation) { + option (google.api.http) = { + body: "global_addresses_move_request_resource" + post: "/compute/v1/projects/{project}/global/addresses/{address}/move" + }; + option (google.api.method_signature) = "project,address,global_addresses_move_request_resource"; + option (google.cloud.operation_service) = "GlobalOperations"; + } + // Sets the labels on a GlobalAddress. To learn more about labels, read the Labeling Resources documentation. rpc SetLabels(SetLabelsGlobalAddressRequest) returns (Operation) { option (google.api.http) = { @@ -31661,7 +34760,7 @@ service GlobalNetworkEndpointGroups { option (google.cloud.operation_service) = "GlobalOperations"; } - // Returns the specified network endpoint group. Gets a list of available network endpoint groups by making a list() request. + // Returns the specified network endpoint group. rpc Get(GetGlobalNetworkEndpointGroupRequest) returns (NetworkEndpointGroup) { option (google.api.http) = { get: "/compute/v1/projects/{project}/global/networkEndpointGroups/{network_endpoint_group}" @@ -31867,7 +34966,7 @@ service HealthChecks { option (google.cloud.operation_service) = "GlobalOperations"; } - // Returns the specified HealthCheck resource. Gets a list of available health checks by making a list() request. + // Returns the specified HealthCheck resource. rpc Get(GetHealthCheckRequest) returns (HealthCheck) { option (google.api.http) = { get: "/compute/v1/projects/{project}/global/healthChecks/{health_check}" @@ -31963,7 +35062,7 @@ service Images { option (google.cloud.operation_service) = "GlobalOperations"; } - // Returns the specified image. Gets a list of available images by making a list() request. + // Returns the specified image. rpc Get(GetImageRequest) returns (Image) { option (google.api.http) = { get: "/compute/v1/projects/{project}/global/images/{image}" @@ -31971,7 +35070,7 @@ service Images { option (google.api.method_signature) = "project,image"; } - // Returns the latest image that is part of an image family and is not deprecated. + // Returns the latest image that is part of an image family and is not deprecated. For more information on image families, see Public image families documentation. rpc GetFromFamily(GetFromFamilyImageRequest) returns (Image) { option (google.api.http) = { get: "/compute/v1/projects/{project}/global/images/family/{family}" @@ -32121,7 +35220,7 @@ service InstanceGroupManagers { option (google.cloud.operation_service) = "ZoneOperations"; } - // Returns all of the details about the specified managed instance group. Gets a list of available managed instance groups by making a list() request. + // Returns all of the details about the specified managed instance group. rpc Get(GetInstanceGroupManagerRequest) returns (InstanceGroupManager) { option (google.api.http) = { get: "/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instance_group_manager}" @@ -32155,7 +35254,7 @@ service InstanceGroupManagers { option (google.api.method_signature) = "project,zone,instance_group_manager"; } - // Lists all of the instances in the managed instance group. Each instance in the list has a currentAction, which indicates the action that the managed instance group is performing on the instance. For example, if the group is still creating an instance, the currentAction is CREATING. If a previous action failed, the list displays the errors for that failed action. The orderBy query parameter is not supported. The `pageToken` query parameter is supported only in the alpha and beta API and only if the group's `listManagedInstancesResults` field is set to `PAGINATED`. + // Lists all of the instances in the managed instance group. Each instance in the list has a currentAction, which indicates the action that the managed instance group is performing on the instance. For example, if the group is still creating an instance, the currentAction is CREATING. If a previous action failed, the list displays the errors for that failed action. The orderBy query parameter is not supported. The `pageToken` query parameter is supported only if the group's `listManagedInstancesResults` field is set to `PAGINATED`. rpc ListManagedInstances(ListManagedInstancesInstanceGroupManagersRequest) returns (InstanceGroupManagersListManagedInstancesResponse) { option (google.api.http) = { post: "/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instance_group_manager}/listManagedInstances" @@ -32344,6 +35443,14 @@ service InstanceTemplates { "https://www.googleapis.com/auth/compute," "https://www.googleapis.com/auth/cloud-platform"; + // Retrieves the list of all InstanceTemplates resources, regional and global, available to the specified project. + rpc AggregatedList(AggregatedListInstanceTemplatesRequest) returns (InstanceTemplateAggregatedList) { + option (google.api.http) = { + get: "/compute/v1/projects/{project}/aggregated/instanceTemplates" + }; + option (google.api.method_signature) = "project"; + } + // Deletes the specified instance template. Deleting an instance template is permanent and cannot be undone. It is not possible to delete templates that are already in use by a managed instance group. rpc Delete(DeleteInstanceTemplateRequest) returns (Operation) { option (google.api.http) = { @@ -32353,7 +35460,7 @@ service InstanceTemplates { option (google.cloud.operation_service) = "GlobalOperations"; } - // Returns the specified instance template. Gets a list of available instance templates by making a list() request. + // Returns the specified instance template. rpc Get(GetInstanceTemplateRequest) returns (InstanceTemplate) { option (google.api.http) = { get: "/compute/v1/projects/{project}/global/instanceTemplates/{instance_template}" @@ -32491,7 +35598,7 @@ service Instances { option (google.cloud.operation_service) = "ZoneOperations"; } - // Returns the specified Instance resource. Gets a list of available instances by making a list() request. + // Returns the specified Instance resource. rpc Get(GetInstanceRequest) returns (Instance) { option (google.api.http) = { get: "/compute/v1/projects/{project}/zones/{zone}/instances/{instance}" @@ -32573,6 +35680,15 @@ service Instances { option (google.api.method_signature) = "project,zone,instance"; } + // Perform a manual maintenance on the instance. + rpc PerformMaintenance(PerformMaintenanceInstanceRequest) returns (Operation) { + option (google.api.http) = { + post: "/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/performMaintenance" + }; + option (google.api.method_signature) = "project,zone,instance"; + option (google.cloud.operation_service) = "ZoneOperations"; + } + // Removes resource policies from an instance. rpc RemoveResourcePolicies(RemoveResourcePoliciesInstanceRequest) returns (Operation) { option (google.api.http) = { @@ -32686,6 +35802,16 @@ service Instances { option (google.cloud.operation_service) = "ZoneOperations"; } + // Sets name of an instance. + rpc SetName(SetNameInstanceRequest) returns (Operation) { + option (google.api.http) = { + body: "instances_set_name_request_resource" + post: "/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/setName" + }; + option (google.api.method_signature) = "project,zone,instance,instances_set_name_request_resource"; + option (google.cloud.operation_service) = "ZoneOperations"; + } + // Sets an instance's scheduling options. You can only call this method on a stopped instance, that is, a VM instance that is in a `TERMINATED` state. See Instance Life Cycle for more information on the possible instance states. For more information about setting scheduling options for a VM, see Set VM host maintenance policy. rpc SetScheduling(SetSchedulingInstanceRequest) returns (Operation) { option (google.api.http) = { @@ -32696,6 +35822,16 @@ service Instances { option (google.cloud.operation_service) = "ZoneOperations"; } + // Sets the Google Cloud Armor security policy for the specified instance. For more information, see Google Cloud Armor Overview + rpc SetSecurityPolicy(SetSecurityPolicyInstanceRequest) returns (Operation) { + option (google.api.http) = { + body: "instances_set_security_policy_request_resource" + post: "/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/setSecurityPolicy" + }; + option (google.api.method_signature) = "project,zone,instance,instances_set_security_policy_request_resource"; + option (google.cloud.operation_service) = "ZoneOperations"; + } + // Sets the service account on the instance. For more information, read Changing the service account and access scopes for an instance. rpc SetServiceAccount(SetServiceAccountInstanceRequest) returns (Operation) { option (google.api.http) = { @@ -32935,6 +36071,34 @@ service InterconnectLocations { } +// The InterconnectRemoteLocations API. +service InterconnectRemoteLocations { + option (google.api.default_host) = + "compute.googleapis.com"; + + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/compute.readonly," + "https://www.googleapis.com/auth/compute," + "https://www.googleapis.com/auth/cloud-platform"; + + // Returns the details for the specified interconnect remote location. Gets a list of available interconnect remote locations by making a list() request. + rpc Get(GetInterconnectRemoteLocationRequest) returns (InterconnectRemoteLocation) { + option (google.api.http) = { + get: "/compute/v1/projects/{project}/global/interconnectRemoteLocations/{interconnect_remote_location}" + }; + option (google.api.method_signature) = "project,interconnect_remote_location"; + } + + // Retrieves the list of interconnect remote locations available to the specified project. + rpc List(ListInterconnectRemoteLocationsRequest) returns (InterconnectRemoteLocationList) { + option (google.api.http) = { + get: "/compute/v1/projects/{project}/global/interconnectRemoteLocations" + }; + option (google.api.method_signature) = "project"; + } + +} + // The Interconnects API. service Interconnects { option (google.api.default_host) = @@ -32961,7 +36125,7 @@ service Interconnects { option (google.api.method_signature) = "project,interconnect"; } - // Returns the interconnectDiagnostics for the specified Interconnect. + // Returns the interconnectDiagnostics for the specified Interconnect. In the event of a global outage, do not use this API to make decisions about where to redirect your network traffic. Unlike a VLAN attachment, which is regional, a Cloud Interconnect connection is a global resource. A global outage can prevent this API from functioning properly. rpc GetDiagnostics(GetDiagnosticsInterconnectRequest) returns (InterconnectsGetDiagnosticsResponse) { option (google.api.http) = { get: "/compute/v1/projects/{project}/global/interconnects/{interconnect}/getDiagnostics" @@ -32969,6 +36133,14 @@ service Interconnects { option (google.api.method_signature) = "project,interconnect"; } + // Returns the interconnectMacsecConfig for the specified Interconnect. + rpc GetMacsecConfig(GetMacsecConfigInterconnectRequest) returns (InterconnectsGetMacsecConfigResponse) { + option (google.api.http) = { + get: "/compute/v1/projects/{project}/global/interconnects/{interconnect}/getMacsecConfig" + }; + option (google.api.method_signature) = "project,interconnect"; + } + // Creates an Interconnect in the specified project using the data included in the request. rpc Insert(InsertInterconnectRequest) returns (Operation) { option (google.api.http) = { @@ -33128,7 +36300,7 @@ service MachineImages { option (google.cloud.operation_service) = "GlobalOperations"; } - // Returns the specified machine image. Gets a list of available machine images by making a list() request. + // Returns the specified machine image. rpc Get(GetMachineImageRequest) returns (MachineImage) { option (google.api.http) = { get: "/compute/v1/projects/{project}/global/machineImages/{machine_image}" @@ -33200,7 +36372,7 @@ service MachineTypes { option (google.api.method_signature) = "project"; } - // Returns the specified machine type. Gets a list of available machine types by making a list() request. + // Returns the specified machine type. rpc Get(GetMachineTypeRequest) returns (MachineType) { option (google.api.http) = { get: "/compute/v1/projects/{project}/zones/{zone}/machineTypes/{machine_type}" @@ -33278,6 +36450,16 @@ service NetworkAttachments { option (google.api.method_signature) = "project,region"; } + // Patches the specified NetworkAttachment resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. + rpc Patch(PatchNetworkAttachmentRequest) returns (Operation) { + option (google.api.http) = { + body: "network_attachment_resource" + patch: "/compute/v1/projects/{project}/regions/{region}/networkAttachments/{network_attachment}" + }; + option (google.api.method_signature) = "project,region,network_attachment,network_attachment_resource"; + option (google.cloud.operation_service) = "RegionOperations"; + } + // Sets the access control policy on the specified resource. Replaces any existing policy. rpc SetIamPolicy(SetIamPolicyNetworkAttachmentRequest) returns (Policy) { option (google.api.http) = { @@ -33400,7 +36582,7 @@ service NetworkEndpointGroups { option (google.cloud.operation_service) = "ZoneOperations"; } - // Returns the specified network endpoint group. Gets a list of available network endpoint groups by making a list() request. + // Returns the specified network endpoint group. rpc Get(GetNetworkEndpointGroupRequest) returns (NetworkEndpointGroup) { option (google.api.http) = { get: "/compute/v1/projects/{project}/zones/{zone}/networkEndpointGroups/{network_endpoint_group}" @@ -33629,7 +36811,7 @@ service Networks { option (google.cloud.operation_service) = "GlobalOperations"; } - // Returns the specified network. Gets a list of available networks by making a list() request. + // Returns the specified network. rpc Get(GetNetworkRequest) returns (Network) { option (google.api.http) = { get: "/compute/v1/projects/{project}/global/networks/{network}" @@ -33829,6 +37011,16 @@ service NodeGroups { option (google.cloud.operation_service) = "ZoneOperations"; } + // Simulates maintenance event on specified nodes from the node group. + rpc SimulateMaintenanceEvent(SimulateMaintenanceEventNodeGroupRequest) returns (Operation) { + option (google.api.http) = { + body: "node_groups_simulate_maintenance_event_request_resource" + post: "/compute/v1/projects/{project}/zones/{zone}/nodeGroups/{node_group}/simulateMaintenanceEvent" + }; + option (google.api.method_signature) = "project,zone,node_group,node_groups_simulate_maintenance_event_request_resource"; + option (google.cloud.operation_service) = "ZoneOperations"; + } + // Returns permissions that a caller has on the specified resource. rpc TestIamPermissions(TestIamPermissionsNodeGroupRequest) returns (TestPermissionsResponse) { option (google.api.http) = { @@ -33866,7 +37058,7 @@ service NodeTemplates { option (google.cloud.operation_service) = "RegionOperations"; } - // Returns the specified node template. Gets a list of available node templates by making a list() request. + // Returns the specified node template. rpc Get(GetNodeTemplateRequest) returns (NodeTemplate) { option (google.api.http) = { get: "/compute/v1/projects/{project}/regions/{region}/nodeTemplates/{node_template}" @@ -33938,7 +37130,7 @@ service NodeTypes { option (google.api.method_signature) = "project"; } - // Returns the specified node type. Gets a list of available node types by making a list() request. + // Returns the specified node type. rpc Get(GetNodeTypeRequest) returns (NodeType) { option (google.api.http) = { get: "/compute/v1/projects/{project}/zones/{zone}/nodeTypes/{node_type}" @@ -34119,7 +37311,7 @@ service Projects { option (google.cloud.operation_service) = "GlobalOperations"; } - // Moves an instance and its attached persistent disks from one zone to another. *Note*: Moving VMs or disks by using this method might cause unexpected behavior. For more information, see the [known issue](/compute/docs/troubleshooting/known-issues#moving_vms_or_disks_using_the_moveinstance_api_or_the_causes_unexpected_behavior). + // Moves an instance and its attached persistent disks from one zone to another. *Note*: Moving VMs or disks by using this method might cause unexpected behavior. For more information, see the [known issue](/compute/docs/troubleshooting/known-issues#moving_vms_or_disks_using_the_moveinstance_api_or_the_causes_unexpected_behavior). [Deprecated] This method is deprecated. See [moving instance across zones](/compute/docs/instances/moving-instance-across-zones) instead. rpc MoveInstance(MoveInstanceProjectRequest) returns (Operation) { option (google.api.http) = { body: "instance_move_request_resource" @@ -34170,6 +37362,15 @@ service PublicAdvertisedPrefixes { "https://www.googleapis.com/auth/compute," "https://www.googleapis.com/auth/cloud-platform"; + // Announces the specified PublicAdvertisedPrefix + rpc Announce(AnnouncePublicAdvertisedPrefixeRequest) returns (Operation) { + option (google.api.http) = { + post: "/compute/v1/projects/{project}/global/publicAdvertisedPrefixes/{public_advertised_prefix}/announce" + }; + option (google.api.method_signature) = "project,public_advertised_prefix"; + option (google.cloud.operation_service) = "GlobalOperations"; + } + // Deletes the specified PublicAdvertisedPrefix rpc Delete(DeletePublicAdvertisedPrefixeRequest) returns (Operation) { option (google.api.http) = { @@ -34215,6 +37416,15 @@ service PublicAdvertisedPrefixes { option (google.cloud.operation_service) = "GlobalOperations"; } + // Withdraws the specified PublicAdvertisedPrefix + rpc Withdraw(WithdrawPublicAdvertisedPrefixeRequest) returns (Operation) { + option (google.api.http) = { + post: "/compute/v1/projects/{project}/global/publicAdvertisedPrefixes/{public_advertised_prefix}/withdraw" + }; + option (google.api.method_signature) = "project,public_advertised_prefix"; + option (google.cloud.operation_service) = "GlobalOperations"; + } + } // The PublicDelegatedPrefixes API. @@ -34234,6 +37444,15 @@ service PublicDelegatedPrefixes { option (google.api.method_signature) = "project"; } + // Announces the specified PublicDelegatedPrefix in the given region. + rpc Announce(AnnouncePublicDelegatedPrefixeRequest) returns (Operation) { + option (google.api.http) = { + post: "/compute/v1/projects/{project}/regions/{region}/publicDelegatedPrefixes/{public_delegated_prefix}/announce" + }; + option (google.api.method_signature) = "project,region,public_delegated_prefix"; + option (google.cloud.operation_service) = "RegionOperations"; + } + // Deletes the specified PublicDelegatedPrefix in the given region. rpc Delete(DeletePublicDelegatedPrefixeRequest) returns (Operation) { option (google.api.http) = { @@ -34279,6 +37498,15 @@ service PublicDelegatedPrefixes { option (google.cloud.operation_service) = "RegionOperations"; } + // Withdraws the specified PublicDelegatedPrefix in the given region. + rpc Withdraw(WithdrawPublicDelegatedPrefixeRequest) returns (Operation) { + option (google.api.http) = { + post: "/compute/v1/projects/{project}/regions/{region}/publicDelegatedPrefixes/{public_delegated_prefix}/withdraw" + }; + option (google.api.method_signature) = "project,region,public_delegated_prefix"; + option (google.cloud.operation_service) = "RegionOperations"; + } + } // The RegionAutoscalers API. @@ -34408,6 +37636,14 @@ service RegionBackendServices { option (google.api.method_signature) = "project,region"; } + // Retrieves an aggregated list of all usable backend services in the specified project in the given region. + rpc ListUsable(ListUsableRegionBackendServicesRequest) returns (BackendServiceListUsable) { + option (google.api.http) = { + get: "/compute/v1/projects/{project}/regions/{region}/backendServices/listUsable" + }; + option (google.api.method_signature) = "project,region"; + } + // Updates the specified regional BackendService resource with the data included in the request. For more information, see Understanding backend services This method supports PATCH semantics and uses the JSON merge patch format and processing rules. rpc Patch(PatchRegionBackendServiceRequest) returns (Operation) { option (google.api.http) = { @@ -34427,6 +37663,25 @@ service RegionBackendServices { option (google.api.method_signature) = "project,region,resource,region_set_policy_request_resource"; } + // Sets the Google Cloud Armor security policy for the specified backend service. For more information, see Google Cloud Armor Overview + rpc SetSecurityPolicy(SetSecurityPolicyRegionBackendServiceRequest) returns (Operation) { + option (google.api.http) = { + body: "security_policy_reference_resource" + post: "/compute/v1/projects/{project}/regions/{region}/backendServices/{backend_service}/setSecurityPolicy" + }; + option (google.api.method_signature) = "project,region,backend_service,security_policy_reference_resource"; + option (google.cloud.operation_service) = "RegionOperations"; + } + + // Returns permissions that a caller has on the specified resource. + rpc TestIamPermissions(TestIamPermissionsRegionBackendServiceRequest) returns (TestPermissionsResponse) { + option (google.api.http) = { + body: "test_permissions_request_resource" + post: "/compute/v1/projects/{project}/regions/{region}/backendServices/{resource}/testIamPermissions" + }; + option (google.api.method_signature) = "project,region,resource,test_permissions_request_resource"; + } + // Updates the specified regional BackendService resource with the data included in the request. For more information, see Backend services overview . rpc Update(UpdateRegionBackendServiceRequest) returns (Operation) { option (google.api.http) = { @@ -34456,7 +37711,7 @@ service RegionCommitments { option (google.api.method_signature) = "project"; } - // Returns the specified commitment resource. Gets a list of available commitments by making a list() request. + // Returns the specified commitment resource. rpc Get(GetRegionCommitmentRequest) returns (Commitment) { option (google.api.http) = { get: "/compute/v1/projects/{project}/regions/{region}/commitments/{commitment}" @@ -34504,7 +37759,7 @@ service RegionDiskTypes { "https://www.googleapis.com/auth/compute," "https://www.googleapis.com/auth/cloud-platform"; - // Returns the specified regional disk type. Gets a list of available disk types by making a list() request. + // Returns the specified regional disk type. rpc Get(GetRegionDiskTypeRequest) returns (DiskType) { option (google.api.http) = { get: "/compute/v1/projects/{project}/regions/{region}/diskTypes/{disk_type}" @@ -34541,6 +37796,16 @@ service RegionDisks { option (google.cloud.operation_service) = "RegionOperations"; } + // Bulk create a set of disks. + rpc BulkInsert(BulkInsertRegionDiskRequest) returns (Operation) { + option (google.api.http) = { + body: "bulk_insert_disk_resource_resource" + post: "/compute/v1/projects/{project}/regions/{region}/disks/bulkInsert" + }; + option (google.api.method_signature) = "project,region,bulk_insert_disk_resource_resource"; + option (google.cloud.operation_service) = "RegionOperations"; + } + // Creates a snapshot of a specified persistent disk. For regular snapshot creation, consider using snapshots.insert instead, as that method supports more features, such as creating snapshots in a project different from the source disk project. rpc CreateSnapshot(CreateSnapshotRegionDiskRequest) returns (Operation) { option (google.api.http) = { @@ -34633,6 +37898,35 @@ service RegionDisks { option (google.cloud.operation_service) = "RegionOperations"; } + // Starts asynchronous replication. Must be invoked on the primary disk. + rpc StartAsyncReplication(StartAsyncReplicationRegionDiskRequest) returns (Operation) { + option (google.api.http) = { + body: "region_disks_start_async_replication_request_resource" + post: "/compute/v1/projects/{project}/regions/{region}/disks/{disk}/startAsyncReplication" + }; + option (google.api.method_signature) = "project,region,disk,region_disks_start_async_replication_request_resource"; + option (google.cloud.operation_service) = "RegionOperations"; + } + + // Stops asynchronous replication. Can be invoked either on the primary or on the secondary disk. + rpc StopAsyncReplication(StopAsyncReplicationRegionDiskRequest) returns (Operation) { + option (google.api.http) = { + post: "/compute/v1/projects/{project}/regions/{region}/disks/{disk}/stopAsyncReplication" + }; + option (google.api.method_signature) = "project,region,disk"; + option (google.cloud.operation_service) = "RegionOperations"; + } + + // Stops asynchronous replication for a consistency group of disks. Can be invoked either in the primary or secondary scope. + rpc StopGroupAsyncReplication(StopGroupAsyncReplicationRegionDiskRequest) returns (Operation) { + option (google.api.http) = { + body: "disks_stop_group_async_replication_resource_resource" + post: "/compute/v1/projects/{project}/regions/{region}/disks/stopGroupAsyncReplication" + }; + option (google.api.method_signature) = "project,region,disks_stop_group_async_replication_resource_resource"; + option (google.cloud.operation_service) = "RegionOperations"; + } + // Returns permissions that a caller has on the specified resource. rpc TestIamPermissions(TestIamPermissionsRegionDiskRequest) returns (TestPermissionsResponse) { option (google.api.http) = { @@ -34642,6 +37936,16 @@ service RegionDisks { option (google.api.method_signature) = "project,region,resource,test_permissions_request_resource"; } + // Update the specified disk with the data included in the request. Update is performed only on selected fields included as part of update-mask. Only the following fields can be modified: user_license. + rpc Update(UpdateRegionDiskRequest) returns (Operation) { + option (google.api.http) = { + body: "disk_resource" + patch: "/compute/v1/projects/{project}/regions/{region}/disks/{disk}" + }; + option (google.api.method_signature) = "project,region,disk,disk_resource"; + option (google.cloud.operation_service) = "RegionOperations"; + } + } // The RegionHealthCheckServices API. @@ -34718,7 +38022,7 @@ service RegionHealthChecks { option (google.cloud.operation_service) = "RegionOperations"; } - // Returns the specified HealthCheck resource. Gets a list of available health checks by making a list() request. + // Returns the specified HealthCheck resource. rpc Get(GetRegionHealthCheckRequest) returns (HealthCheck) { option (google.api.http) = { get: "/compute/v1/projects/{project}/regions/{region}/healthChecks/{health_check}" @@ -34868,7 +38172,7 @@ service RegionInstanceGroupManagers { option (google.api.method_signature) = "project,region,instance_group_manager"; } - // Lists the instances in the managed instance group and instances that are scheduled to be created. The list includes any current actions that the group has scheduled for its instances. The orderBy query parameter is not supported. The `pageToken` query parameter is supported only in the alpha and beta API and only if the group's `listManagedInstancesResults` field is set to `PAGINATED`. + // Lists the instances in the managed instance group and instances that are scheduled to be created. The list includes any current actions that the group has scheduled for its instances. The orderBy query parameter is not supported. The `pageToken` query parameter is supported only if the group's `listManagedInstancesResults` field is set to `PAGINATED`. rpc ListManagedInstances(ListManagedInstancesRegionInstanceGroupManagersRequest) returns (RegionInstanceGroupManagersListInstancesResponse) { option (google.api.http) = { post: "/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers/{instance_group_manager}/listManagedInstances" @@ -35001,6 +38305,52 @@ service RegionInstanceGroups { } +// The RegionInstanceTemplates API. +service RegionInstanceTemplates { + option (google.api.default_host) = + "compute.googleapis.com"; + + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/compute," + "https://www.googleapis.com/auth/cloud-platform"; + + // Deletes the specified instance template. Deleting an instance template is permanent and cannot be undone. + rpc Delete(DeleteRegionInstanceTemplateRequest) returns (Operation) { + option (google.api.http) = { + delete: "/compute/v1/projects/{project}/regions/{region}/instanceTemplates/{instance_template}" + }; + option (google.api.method_signature) = "project,region,instance_template"; + option (google.cloud.operation_service) = "RegionOperations"; + } + + // Returns the specified instance template. + rpc Get(GetRegionInstanceTemplateRequest) returns (InstanceTemplate) { + option (google.api.http) = { + get: "/compute/v1/projects/{project}/regions/{region}/instanceTemplates/{instance_template}" + }; + option (google.api.method_signature) = "project,region,instance_template"; + } + + // Creates an instance template in the specified project and region using the global instance template whose URL is included in the request. + rpc Insert(InsertRegionInstanceTemplateRequest) returns (Operation) { + option (google.api.http) = { + body: "instance_template_resource" + post: "/compute/v1/projects/{project}/regions/{region}/instanceTemplates" + }; + option (google.api.method_signature) = "project,region,instance_template_resource"; + option (google.cloud.operation_service) = "RegionOperations"; + } + + // Retrieves a list of instance templates that are contained within the specified project and region. + rpc List(ListRegionInstanceTemplatesRequest) returns (InstanceTemplateList) { + option (google.api.http) = { + get: "/compute/v1/projects/{project}/regions/{region}/instanceTemplates" + }; + option (google.api.method_signature) = "project,region"; + } + +} + // The RegionInstances API. service RegionInstances { option (google.api.default_host) = @@ -35031,6 +38381,16 @@ service RegionNetworkEndpointGroups { "https://www.googleapis.com/auth/compute," "https://www.googleapis.com/auth/cloud-platform"; + // Attach a list of network endpoints to the specified network endpoint group. + rpc AttachNetworkEndpoints(AttachNetworkEndpointsRegionNetworkEndpointGroupRequest) returns (Operation) { + option (google.api.http) = { + body: "region_network_endpoint_groups_attach_endpoints_request_resource" + post: "/compute/v1/projects/{project}/regions/{region}/networkEndpointGroups/{network_endpoint_group}/attachNetworkEndpoints" + }; + option (google.api.method_signature) = "project,region,network_endpoint_group,region_network_endpoint_groups_attach_endpoints_request_resource"; + option (google.cloud.operation_service) = "RegionOperations"; + } + // Deletes the specified network endpoint group. Note that the NEG cannot be deleted if it is configured as a backend of a backend service. rpc Delete(DeleteRegionNetworkEndpointGroupRequest) returns (Operation) { option (google.api.http) = { @@ -35040,7 +38400,17 @@ service RegionNetworkEndpointGroups { option (google.cloud.operation_service) = "RegionOperations"; } - // Returns the specified network endpoint group. Gets a list of available network endpoint groups by making a list() request. + // Detach the network endpoint from the specified network endpoint group. + rpc DetachNetworkEndpoints(DetachNetworkEndpointsRegionNetworkEndpointGroupRequest) returns (Operation) { + option (google.api.http) = { + body: "region_network_endpoint_groups_detach_endpoints_request_resource" + post: "/compute/v1/projects/{project}/regions/{region}/networkEndpointGroups/{network_endpoint_group}/detachNetworkEndpoints" + }; + option (google.api.method_signature) = "project,region,network_endpoint_group,region_network_endpoint_groups_detach_endpoints_request_resource"; + option (google.cloud.operation_service) = "RegionOperations"; + } + + // Returns the specified network endpoint group. rpc Get(GetRegionNetworkEndpointGroupRequest) returns (NetworkEndpointGroup) { option (google.api.http) = { get: "/compute/v1/projects/{project}/regions/{region}/networkEndpointGroups/{network_endpoint_group}" @@ -35066,6 +38436,14 @@ service RegionNetworkEndpointGroups { option (google.api.method_signature) = "project,region"; } + // Lists the network endpoints in the specified network endpoint group. + rpc ListNetworkEndpoints(ListNetworkEndpointsRegionNetworkEndpointGroupsRequest) returns (NetworkEndpointGroupsListNetworkEndpoints) { + option (google.api.http) = { + post: "/compute/v1/projects/{project}/regions/{region}/networkEndpointGroups/{network_endpoint_group}/listNetworkEndpoints" + }; + option (google.api.method_signature) = "project,region,network_endpoint_group"; + } + } // The RegionNetworkFirewallPolicies API. @@ -35330,6 +38708,16 @@ service RegionSecurityPolicies { "https://www.googleapis.com/auth/compute," "https://www.googleapis.com/auth/cloud-platform"; + // Inserts a rule into a security policy. + rpc AddRule(AddRuleRegionSecurityPolicyRequest) returns (Operation) { + option (google.api.http) = { + body: "security_policy_rule_resource" + post: "/compute/v1/projects/{project}/regions/{region}/securityPolicies/{security_policy}/addRule" + }; + option (google.api.method_signature) = "project,region,security_policy,security_policy_rule_resource"; + option (google.cloud.operation_service) = "RegionOperations"; + } + // Deletes the specified policy. rpc Delete(DeleteRegionSecurityPolicyRequest) returns (Operation) { option (google.api.http) = { @@ -35347,6 +38735,14 @@ service RegionSecurityPolicies { option (google.api.method_signature) = "project,region,security_policy"; } + // Gets a rule at the specified priority. + rpc GetRule(GetRuleRegionSecurityPolicyRequest) returns (SecurityPolicyRule) { + option (google.api.http) = { + get: "/compute/v1/projects/{project}/regions/{region}/securityPolicies/{security_policy}/getRule" + }; + option (google.api.method_signature) = "project,region,security_policy"; + } + // Creates a new policy in the specified project using the data included in the request. rpc Insert(InsertRegionSecurityPolicyRequest) returns (Operation) { option (google.api.http) = { @@ -35365,7 +38761,7 @@ service RegionSecurityPolicies { option (google.api.method_signature) = "project,region"; } - // Patches the specified policy with the data included in the request. To clear fields in the rule, leave the fields empty and specify them in the updateMask. This cannot be used to be update the rules in the policy. Please use the per rule methods like addRule, patchRule, and removeRule instead. + // Patches the specified policy with the data included in the request. To clear fields in the policy, leave the fields empty and specify them in the updateMask. This cannot be used to be update the rules in the policy. Please use the per rule methods like addRule, patchRule, and removeRule instead. rpc Patch(PatchRegionSecurityPolicyRequest) returns (Operation) { option (google.api.http) = { body: "security_policy_resource" @@ -35375,6 +38771,25 @@ service RegionSecurityPolicies { option (google.cloud.operation_service) = "RegionOperations"; } + // Patches a rule at the specified priority. To clear fields in the rule, leave the fields empty and specify them in the updateMask. + rpc PatchRule(PatchRuleRegionSecurityPolicyRequest) returns (Operation) { + option (google.api.http) = { + body: "security_policy_rule_resource" + post: "/compute/v1/projects/{project}/regions/{region}/securityPolicies/{security_policy}/patchRule" + }; + option (google.api.method_signature) = "project,region,security_policy,security_policy_rule_resource"; + option (google.cloud.operation_service) = "RegionOperations"; + } + + // Deletes a rule at the specified priority. + rpc RemoveRule(RemoveRuleRegionSecurityPolicyRequest) returns (Operation) { + option (google.api.http) = { + post: "/compute/v1/projects/{project}/regions/{region}/securityPolicies/{security_policy}/removeRule" + }; + option (google.api.method_signature) = "project,region,security_policy"; + option (google.cloud.operation_service) = "RegionOperations"; + } + } // The RegionSslCertificates API. @@ -35505,7 +38920,7 @@ service RegionTargetHttpProxies { option (google.cloud.operation_service) = "RegionOperations"; } - // Returns the specified TargetHttpProxy resource in the specified region. Gets a list of available target HTTP proxies by making a list() request. + // Returns the specified TargetHttpProxy resource in the specified region. rpc Get(GetRegionTargetHttpProxyRequest) returns (TargetHttpProxy) { option (google.api.http) = { get: "/compute/v1/projects/{project}/regions/{region}/targetHttpProxies/{target_http_proxy}" @@ -35561,7 +38976,7 @@ service RegionTargetHttpsProxies { option (google.cloud.operation_service) = "RegionOperations"; } - // Returns the specified TargetHttpsProxy resource in the specified region. Gets a list of available target HTTP proxies by making a list() request. + // Returns the specified TargetHttpsProxy resource in the specified region. rpc Get(GetRegionTargetHttpsProxyRequest) returns (TargetHttpsProxy) { option (google.api.http) = { get: "/compute/v1/projects/{project}/regions/{region}/targetHttpsProxies/{target_https_proxy}" @@ -35683,7 +39098,7 @@ service RegionUrlMaps { option (google.cloud.operation_service) = "RegionOperations"; } - // Returns the specified UrlMap resource. Gets a list of available URL maps by making a list() request. + // Returns the specified UrlMap resource. rpc Get(GetRegionUrlMapRequest) returns (UrlMap) { option (google.api.http) = { get: "/compute/v1/projects/{project}/regions/{region}/urlMaps/{url_map}" @@ -35740,6 +39155,26 @@ service RegionUrlMaps { } +// The RegionZones API. +service RegionZones { + option (google.api.default_host) = + "compute.googleapis.com"; + + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/compute.readonly," + "https://www.googleapis.com/auth/compute," + "https://www.googleapis.com/auth/cloud-platform"; + + // Retrieves the list of Zone resources under the specific region available to the specified project. + rpc List(ListRegionZonesRequest) returns (ZoneList) { + option (google.api.http) = { + get: "/compute/v1/projects/{project}/regions/{region}/zones" + }; + option (google.api.method_signature) = "project,region"; + } + +} + // The Regions API. service Regions { option (google.api.default_host) = @@ -35750,7 +39185,7 @@ service Regions { "https://www.googleapis.com/auth/compute," "https://www.googleapis.com/auth/cloud-platform"; - // Returns the specified Region resource. Gets a list of available regions by making a list() request. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request. + // Returns the specified Region resource. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request. rpc Get(GetRegionRequest) returns (Region) { option (google.api.http) = { get: "/compute/v1/projects/{project}/regions/{region}" @@ -35928,6 +39363,16 @@ service ResourcePolicies { option (google.api.method_signature) = "project,region"; } + // Modify the specified resource policy. + rpc Patch(PatchResourcePolicyRequest) returns (Operation) { + option (google.api.http) = { + body: "resource_policy_resource" + patch: "/compute/v1/projects/{project}/regions/{region}/resourcePolicies/{resource_policy}" + }; + option (google.api.method_signature) = "project,region,resource_policy,resource_policy_resource"; + option (google.cloud.operation_service) = "RegionOperations"; + } + // Sets the access control policy on the specified resource. Replaces any existing policy. rpc SetIamPolicy(SetIamPolicyResourcePolicyRequest) returns (Policy) { option (google.api.http) = { @@ -35974,7 +39419,7 @@ service Routers { option (google.cloud.operation_service) = "RegionOperations"; } - // Returns the specified Router resource. Gets a list of available routers by making a list() request. + // Returns the specified Router resource. rpc Get(GetRouterRequest) returns (Router) { option (google.api.http) = { get: "/compute/v1/projects/{project}/regions/{region}/routers/{router}" @@ -35982,6 +39427,14 @@ service Routers { option (google.api.method_signature) = "project,region,router"; } + // Retrieves runtime NAT IP information. + rpc GetNatIpInfo(GetNatIpInfoRouterRequest) returns (NatIpInfoResponse) { + option (google.api.http) = { + get: "/compute/v1/projects/{project}/regions/{region}/routers/{router}/getNatIpInfo" + }; + option (google.api.method_signature) = "project,region,router"; + } + // Retrieves runtime Nat mapping information of VM endpoints. rpc GetNatMappingInfo(GetNatMappingInfoRoutersRequest) returns (VmEndpointNatMappingsList) { option (google.api.http) = { @@ -36065,7 +39518,7 @@ service Routes { option (google.cloud.operation_service) = "GlobalOperations"; } - // Returns the specified Route resource. Gets a list of available routes by making a list() request. + // Returns the specified Route resource. rpc Get(GetRouteRequest) returns (Route) { option (google.api.http) = { get: "/compute/v1/projects/{project}/global/routes/{route}" @@ -36171,7 +39624,7 @@ service SecurityPolicies { option (google.api.method_signature) = "project"; } - // Patches the specified policy with the data included in the request. To clear fields in the rule, leave the fields empty and specify them in the updateMask. This cannot be used to be update the rules in the policy. Please use the per rule methods like addRule, patchRule, and removeRule instead. + // Patches the specified policy with the data included in the request. To clear fields in the policy, leave the fields empty and specify them in the updateMask. This cannot be used to be update the rules in the policy. Please use the per rule methods like addRule, patchRule, and removeRule instead. rpc Patch(PatchSecurityPolicyRequest) returns (Operation) { option (google.api.http) = { body: "security_policy_resource" @@ -36181,7 +39634,7 @@ service SecurityPolicies { option (google.cloud.operation_service) = "GlobalOperations"; } - // Patches a rule at the specified priority. + // Patches a rule at the specified priority. To clear fields in the rule, leave the fields empty and specify them in the updateMask. rpc PatchRule(PatchRuleSecurityPolicyRequest) returns (Operation) { option (google.api.http) = { body: "security_policy_rule_resource" @@ -36302,6 +39755,35 @@ service ServiceAttachments { } +// The SnapshotSettings API. +service SnapshotSettingsService { + option (google.api.default_host) = + "compute.googleapis.com"; + + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/compute," + "https://www.googleapis.com/auth/cloud-platform"; + + // Get snapshot settings. + rpc Get(GetSnapshotSettingRequest) returns (SnapshotSettings) { + option (google.api.http) = { + get: "/compute/v1/projects/{project}/global/snapshotSettings" + }; + option (google.api.method_signature) = "project"; + } + + // Patch snapshot settings. + rpc Patch(PatchSnapshotSettingRequest) returns (Operation) { + option (google.api.http) = { + body: "snapshot_settings_resource" + patch: "/compute/v1/projects/{project}/global/snapshotSettings" + }; + option (google.api.method_signature) = "project,snapshot_settings_resource"; + option (google.cloud.operation_service) = "GlobalOperations"; + } + +} + // The Snapshots API. service Snapshots { option (google.api.default_host) = @@ -36320,7 +39802,7 @@ service Snapshots { option (google.cloud.operation_service) = "GlobalOperations"; } - // Returns the specified Snapshot resource. Gets a list of available snapshots by making a list() request. + // Returns the specified Snapshot resource. rpc Get(GetSnapshotRequest) returns (Snapshot) { option (google.api.http) = { get: "/compute/v1/projects/{project}/global/snapshots/{snapshot}" @@ -36410,7 +39892,7 @@ service SslCertificates { option (google.cloud.operation_service) = "GlobalOperations"; } - // Returns the specified SslCertificate resource. Gets a list of available SSL certificates by making a list() request. + // Returns the specified SslCertificate resource. rpc Get(GetSslCertificateRequest) returns (SslCertificate) { option (google.api.http) = { get: "/compute/v1/projects/{project}/global/sslCertificates/{ssl_certificate}" @@ -36472,7 +39954,7 @@ service SslPolicies { option (google.api.method_signature) = "project,ssl_policy"; } - // Returns the specified SSL policy resource. Gets a list of available SSL policies by making a list() request. + // Returns the specified SSL policy resource. rpc Insert(InsertSslPolicyRequest) returns (Operation) { option (google.api.http) = { body: "ssl_policy_resource" @@ -36546,7 +40028,7 @@ service Subnetworks { option (google.cloud.operation_service) = "RegionOperations"; } - // Returns the specified subnetwork. Gets a list of available subnetworks list() request. + // Returns the specified subnetwork. rpc Get(GetSubnetworkRequest) returns (Subnetwork) { option (google.api.http) = { get: "/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}" @@ -36710,7 +40192,7 @@ service TargetHttpProxies { option (google.cloud.operation_service) = "GlobalOperations"; } - // Returns the specified TargetHttpProxy resource. Gets a list of available target HTTP proxies by making a list() request. + // Returns the specified TargetHttpProxy resource. rpc Get(GetTargetHttpProxyRequest) returns (TargetHttpProxy) { option (google.api.http) = { get: "/compute/v1/projects/{project}/global/targetHttpProxies/{target_http_proxy}" @@ -36784,7 +40266,7 @@ service TargetHttpsProxies { option (google.cloud.operation_service) = "GlobalOperations"; } - // Returns the specified TargetHttpsProxy resource. Gets a list of available target HTTPS proxies by making a list() request. + // Returns the specified TargetHttpsProxy resource. rpc Get(GetTargetHttpsProxyRequest) returns (TargetHttpsProxy) { option (google.api.http) = { get: "/compute/v1/projects/{project}/global/targetHttpsProxies/{target_https_proxy}" @@ -36898,7 +40380,7 @@ service TargetInstances { option (google.cloud.operation_service) = "ZoneOperations"; } - // Returns the specified TargetInstance resource. Gets a list of available target instances by making a list() request. + // Returns the specified TargetInstance resource. rpc Get(GetTargetInstanceRequest) returns (TargetInstance) { option (google.api.http) = { get: "/compute/v1/projects/{project}/zones/{zone}/targetInstances/{target_instance}" @@ -36924,6 +40406,16 @@ service TargetInstances { option (google.api.method_signature) = "project,zone"; } + // Sets the Google Cloud Armor security policy for the specified target instance. For more information, see Google Cloud Armor Overview + rpc SetSecurityPolicy(SetSecurityPolicyTargetInstanceRequest) returns (Operation) { + option (google.api.http) = { + body: "security_policy_reference_resource" + post: "/compute/v1/projects/{project}/zones/{zone}/targetInstances/{target_instance}/setSecurityPolicy" + }; + option (google.api.method_signature) = "project,zone,target_instance,security_policy_reference_resource"; + option (google.cloud.operation_service) = "ZoneOperations"; + } + } // The TargetPools API. @@ -36972,7 +40464,7 @@ service TargetPools { option (google.cloud.operation_service) = "RegionOperations"; } - // Returns the specified target pool. Gets a list of available target pools by making a list() request. + // Returns the specified target pool. rpc Get(GetTargetPoolRequest) returns (TargetPool) { option (google.api.http) = { get: "/compute/v1/projects/{project}/regions/{region}/targetPools/{target_pool}" @@ -37037,6 +40529,16 @@ service TargetPools { option (google.cloud.operation_service) = "RegionOperations"; } + // Sets the Google Cloud Armor security policy for the specified target pool. For more information, see Google Cloud Armor Overview + rpc SetSecurityPolicy(SetSecurityPolicyTargetPoolRequest) returns (Operation) { + option (google.api.http) = { + body: "security_policy_reference_resource" + post: "/compute/v1/projects/{project}/regions/{region}/targetPools/{target_pool}/setSecurityPolicy" + }; + option (google.api.method_signature) = "project,region,target_pool,security_policy_reference_resource"; + option (google.cloud.operation_service) = "RegionOperations"; + } + } // The TargetSslProxies API. @@ -37057,7 +40559,7 @@ service TargetSslProxies { option (google.cloud.operation_service) = "GlobalOperations"; } - // Returns the specified TargetSslProxy resource. Gets a list of available target SSL proxies by making a list() request. + // Returns the specified TargetSslProxy resource. rpc Get(GetTargetSslProxyRequest) returns (TargetSslProxy) { option (google.api.http) = { get: "/compute/v1/projects/{project}/global/targetSslProxies/{target_ssl_proxy}" @@ -37123,7 +40625,7 @@ service TargetSslProxies { option (google.cloud.operation_service) = "GlobalOperations"; } - // Sets the SSL policy for TargetSslProxy. The SSL policy specifies the server-side support for SSL features. This affects connections between clients and the SSL proxy load balancer. They do not affect the connection between the load balancer and the backends. + // Sets the SSL policy for TargetSslProxy. The SSL policy specifies the server-side support for SSL features. This affects connections between clients and the load balancer. They do not affect the connection between the load balancer and the backends. rpc SetSslPolicy(SetSslPolicyTargetSslProxyRequest) returns (Operation) { option (google.api.http) = { body: "ssl_policy_reference_resource" @@ -37161,7 +40663,7 @@ service TargetTcpProxies { option (google.cloud.operation_service) = "GlobalOperations"; } - // Returns the specified TargetTcpProxy resource. Gets a list of available target TCP proxies by making a list() request. + // Returns the specified TargetTcpProxy resource. rpc Get(GetTargetTcpProxyRequest) returns (TargetTcpProxy) { option (google.api.http) = { get: "/compute/v1/projects/{project}/global/targetTcpProxies/{target_tcp_proxy}" @@ -37235,7 +40737,7 @@ service TargetVpnGateways { option (google.cloud.operation_service) = "RegionOperations"; } - // Returns the specified target VPN gateway. Gets a list of available target VPN gateways by making a list() request. + // Returns the specified target VPN gateway. rpc Get(GetTargetVpnGatewayRequest) returns (TargetVpnGateway) { option (google.api.http) = { get: "/compute/v1/projects/{project}/regions/{region}/targetVpnGateways/{target_vpn_gateway}" @@ -37299,7 +40801,7 @@ service UrlMaps { option (google.cloud.operation_service) = "GlobalOperations"; } - // Returns the specified UrlMap resource. Gets a list of available URL maps by making a list() request. + // Returns the specified UrlMap resource. rpc Get(GetUrlMapRequest) returns (UrlMap) { option (google.api.http) = { get: "/compute/v1/projects/{project}/global/urlMaps/{url_map}" @@ -37392,7 +40894,7 @@ service VpnGateways { option (google.cloud.operation_service) = "RegionOperations"; } - // Returns the specified VPN gateway. Gets a list of available VPN gateways by making a list() request. + // Returns the specified VPN gateway. rpc Get(GetVpnGatewayRequest) returns (VpnGateway) { option (google.api.http) = { get: "/compute/v1/projects/{project}/regions/{region}/vpnGateways/{vpn_gateway}" @@ -37473,7 +40975,7 @@ service VpnTunnels { option (google.cloud.operation_service) = "RegionOperations"; } - // Returns the specified VpnTunnel resource. Gets a list of available VPN tunnels by making a list() request. + // Returns the specified VpnTunnel resource. rpc Get(GetVpnTunnelRequest) returns (VpnTunnel) { option (google.api.http) = { get: "/compute/v1/projects/{project}/regions/{region}/vpnTunnels/{vpn_tunnel}" @@ -37565,7 +41067,7 @@ service Zones { "https://www.googleapis.com/auth/compute," "https://www.googleapis.com/auth/cloud-platform"; - // Returns the specified Zone resource. Gets a list of available zones by making a list() request. + // Returns the specified Zone resource. rpc Get(GetZoneRequest) returns (Zone) { option (google.api.http) = { get: "/compute/v1/projects/{project}/zones/{zone}" diff --git a/third_party/googleapis/google/cloud/compute/v1/compute.v1.json b/third_party/googleapis/google/cloud/compute/v1/compute.v1.json index c30c2e0c6..0e49aa691 100644 --- a/third_party/googleapis/google/cloud/compute/v1/compute.v1.json +++ b/third_party/googleapis/google/cloud/compute/v1/compute.v1.json @@ -1,209 +1,129 @@ { "title": "Compute Engine API", - "icons": { - "x16": "https://www.google.com/images/icons/product/compute_engine-16.png", - "x32": "https://www.google.com/images/icons/product/compute_engine-32.png" - }, - "revision": "20230103", - "parameters": { - "alt": { - "type": "string", - "location": "query", - "enum": [ - "json", - "media", - "proto" - ], - "description": "Data format for response.", - "default": "json", - "enumDescriptions": [ - "Responses with Content-Type of application/json", - "Media download with context-dependent Content-Type", - "Responses with Content-Type of application/x-protobuf" - ] - }, - "userIp": { - "type": "string", - "location": "query", - "description": "Legacy name for parameter that has been superseded by `quotaUser`." - }, - "prettyPrint": { - "type": "boolean", - "description": "Returns response with indentations and line breaks.", - "default": "true", - "location": "query" - }, - "access_token": { - "location": "query", - "type": "string", - "description": "OAuth access token." - }, - "$.xgafv": { - "description": "V1 error format.", - "enum": [ - "1", - "2" - ], - "enumDescriptions": [ - "v1 error format", - "v2 error format" - ], - "location": "query", - "type": "string" - }, - "uploadType": { - "type": "string", - "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", - "location": "query" - }, - "fields": { - "type": "string", - "description": "Selector specifying which fields to include in a partial response.", - "location": "query" - }, - "key": { - "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", - "type": "string", - "location": "query" - }, - "oauth_token": { - "description": "OAuth 2.0 token for the current user.", - "type": "string", - "location": "query" - }, - "upload_protocol": { - "type": "string", - "location": "query", - "description": "Upload protocol for media (e.g. \"raw\", \"multipart\")." - }, - "callback": { - "location": "query", - "description": "JSONP", - "type": "string" - }, - "quotaUser": { - "location": "query", - "type": "string", - "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters." - } - }, - "mtlsRootUrl": "https://compute.mtls.googleapis.com/", - "baseUrl": "https://compute.googleapis.com/compute/v1/", - "basePath": "/compute/v1/", - "rootUrl": "https://compute.googleapis.com/", - "batchPath": "batch/compute/v1", - "servicePath": "compute/v1/", - "schemas": { - "PreservedState": { - "id": "PreservedState", - "type": "object", - "description": "Preserved state for a given instance.", - "properties": { - "metadata": { - "description": "Preserved metadata defined for this instance.", - "type": "object", - "additionalProperties": { - "type": "string" - } + "id": "compute:v1", + "kind": "discovery#restDescription", + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/cloud-platform": { + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." }, - "disks": { - "type": "object", - "additionalProperties": { - "$ref": "PreservedStatePreservedDisk" - }, - "description": "Preserved disks defined for this instance. This map is keyed with the device names of the disks." - } - } - }, - "SecurityPolicyRuleRateLimitOptionsThreshold": { - "id": "SecurityPolicyRuleRateLimitOptionsThreshold", - "properties": { - "count": { - "description": "Number of HTTP(S) requests for calculating the threshold.", - "format": "int32", - "type": "integer" + "https://www.googleapis.com/auth/compute": { + "description": "View and manage your Google Compute Engine resources" }, - "intervalSec": { - "description": "Interval over which the threshold is computed.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "Binding": { - "properties": { - "members": { - "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ", - "items": { - "type": "string" - }, - "type": "array" + "https://www.googleapis.com/auth/compute.readonly": { + "description": "View your Google Compute Engine resources" }, - "role": { - "description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.", - "type": "string" + "https://www.googleapis.com/auth/devstorage.full_control": { + "description": "Manage your data and permissions in Cloud Storage and see the email address for your Google Account" }, - "condition": { - "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", - "$ref": "Expr" + "https://www.googleapis.com/auth/devstorage.read_only": { + "description": "View your data in Google Cloud Storage" }, - "bindingId": { - "type": "string", - "description": "This is deprecated and has no effect. Do not use." + "https://www.googleapis.com/auth/devstorage.read_write": { + "description": "Manage your data in Cloud Storage and see the email address of your Google Account" } - }, + } + } + }, + "description": "Creates and runs virtual machines on Google Cloud Platform. ", + "schemas": { + "AcceleratorTypeList": { + "id": "AcceleratorTypeList", + "description": "Contains a list of accelerator types.", "type": "object", - "description": "Associates `members`, or principals, with a `role`.", - "id": "Binding" - }, - "SslCertificateAggregatedList": { "properties": { - "items": { - "additionalProperties": { - "description": "Name of the scope containing this set of SslCertificates.", - "$ref": "SslCertificatesScopedList" - }, - "type": "object", - "description": "A list of SslCertificatesScopedList resources." - }, "kind": { - "description": "[Output Only] Type of resource. Always compute#sslCertificateAggregatedList for lists of SSL Certificates.", - "default": "compute#sslCertificateAggregatedList", + "description": "[Output Only] Type of resource. Always compute#acceleratorTypeList for lists of accelerator types.", + "default": "compute#acceleratorTypeList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", "type": "string" }, + "items": { + "description": "A list of AcceleratorType resources.", + "type": "array", + "items": { + "$ref": "AcceleratorType" + } + }, "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" }, "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" }, "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - }, - "data": { - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "type": "array", - "items": { - "properties": { - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - }, - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - } - }, - "type": "object" - } - }, "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -215,6 +135,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -232,9 +153,155 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], - "type": "string", + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + } + } + }, + "AcceleratorType": { + "id": "AcceleratorType", + "description": "Represents an Accelerator Type resource. Google Cloud Platform provides graphics processing units (accelerators) that you can add to VM instances to improve or accelerate performance when working with intensive workloads. For more information, read GPUs on Compute Engine.", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] The type of the resource. Always compute#acceleratorType for accelerator types.", + "default": "compute#acceleratorType", + "type": "string" + }, + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", + "type": "string", + "format": "uint64" + }, + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" + }, + "name": { + "description": "[Output Only] Name of the resource.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "type": "string" + }, + "description": { + "description": "[Output Only] An optional textual description of the resource.", + "type": "string" + }, + "deprecated": { + "description": "[Output Only] The deprecation status associated with this accelerator type.", + "$ref": "DeprecationStatus" + }, + "zone": { + "description": "[Output Only] The name of the zone where the accelerator type resides, such as us-central1-a. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined, fully qualified URL for this resource.", + "type": "string" + }, + "maximumCardsPerInstance": { + "description": "[Output Only] Maximum number of accelerator cards allowed per instance.", + "type": "integer", + "format": "int32" + } + } + }, + "DeprecationStatus": { + "id": "DeprecationStatus", + "description": "Deprecation status for a public resource.", + "type": "object", + "properties": { + "state": { + "description": "The deprecation state of this resource. This can be ACTIVE, DEPRECATED, OBSOLETE, or DELETED. Operations which communicate the end of life date for an image, can use ACTIVE. Operations which create a new resource using a DEPRECATED resource will return successfully, but with a warning indicating the deprecated resource and recommending its replacement. Operations which use OBSOLETE or DELETED resources will be rejected and result in an error.", + "type": "string", + "enumDescriptions": [ + "", + "", + "", + "" + ], + "enum": [ + "ACTIVE", + "DELETED", + "DEPRECATED", + "OBSOLETE" + ] + }, + "replacement": { + "description": "The URL of the suggested replacement for a deprecated resource. The suggested replacement resource must be the same kind of resource as the deprecated resource.", + "type": "string" + }, + "deprecated": { + "description": "An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DEPRECATED. This is only informational and the status will not change unless the client explicitly changes it.", + "type": "string" + }, + "obsolete": { + "description": "An optional RFC3339 timestamp on or after which the state of this resource is intended to change to OBSOLETE. This is only informational and the status will not change unless the client explicitly changes it.", + "type": "string" + }, + "deleted": { + "description": "An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DELETED. This is only informational and the status will not change unless the client explicitly changes it.", + "type": "string" + } + } + }, + "AcceleratorTypeAggregatedList": { + "id": "AcceleratorTypeAggregatedList", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of resource. Always compute#acceleratorTypeAggregatedList for aggregated lists of accelerator types.", + "default": "compute#acceleratorTypeAggregatedList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of AcceleratorTypesScopedList resources.", + "type": "object", + "additionalProperties": { + "description": "[Output Only] Name of the scope containing this set of accelerator types.", + "$ref": "AcceleratorTypesScopedList" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, + "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", + "properties": { + "code": { "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -246,6 +313,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -263,69 +331,117 @@ "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", "When undeclared properties in the schema are present", "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" ] - } - }, - "type": "object", - "description": "[Output Only] Informational warning message." - }, - "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", - "type": "string" - }, - "unreachables": { - "items": { - "type": "string" - }, - "type": "array", - "description": "[Output Only] Unreachable resources." - } - }, - "type": "object", - "id": "SslCertificateAggregatedList" - }, - "SubnetworkAggregatedList": { - "id": "SubnetworkAggregatedList", - "properties": { - "unreachables": { - "type": "array", - "description": "[Output Only] Unreachable resources.", - "items": { - "type": "string" - } - }, - "items": { - "type": "object", - "additionalProperties": { - "$ref": "SubnetworksScopedList", - "description": "Name of the scope containing this set of Subnetworks." - }, - "description": "A list of SubnetworksScopedList resources." - }, - "warning": { - "properties": { + }, "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" }, "data": { "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", "items": { "type": "object", "properties": { "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" }, "value": { "description": "[Output Only] A warning data value corresponding to the key.", "type": "string" } } - }, - "type": "array" - }, + } + } + } + }, + "unreachables": { + "description": "[Output Only] Unreachable resources.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "AcceleratorTypesScopedList": { + "id": "AcceleratorTypesScopedList", + "type": "object", + "properties": { + "acceleratorTypes": { + "description": "[Output Only] A list of accelerator types contained in this scope.", + "type": "array", + "items": { + "$ref": "AcceleratorType" + } + }, + "warning": { + "description": "[Output Only] An informational warning that appears when the accelerator types list is empty.", + "type": "object", + "properties": { "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", @@ -338,6 +454,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -356,7 +473,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -368,6 +514,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -386,500 +533,68 @@ "UNDECLARED_PROPERTIES", "UNREACHABLE" ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } } - }, - "description": "[Output Only] Informational warning message.", - "type": "object" - }, - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." - }, - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", - "type": "string" - }, + } + } + } + }, + "OperationList": { + "id": "OperationList", + "description": "Contains a list of Operation resources.", + "type": "object", + "properties": { "kind": { - "type": "string", - "default": "compute#subnetworkAggregatedList", - "description": "[Output Only] Type of resource. Always compute#subnetworkAggregatedList for aggregated lists of subnetworks." + "description": "[Output Only] Type of resource. Always `compute#operations` for Operations resource.", + "default": "compute#operationList", + "type": "string" }, "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", "type": "string" - } - }, - "type": "object" - }, - "SubnetworkSecondaryRange": { - "properties": { - "rangeName": { - "type": "string", - "description": "The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork." }, - "ipCidrRange": { - "type": "string", - "description": "The range of IP addresses belonging to this subnetwork secondary range. Provide this property when you create the subnetwork. Ranges must be unique and non-overlapping with all primary and secondary IP ranges within a network. Only IPv4 is supported. The range can be any range listed in the Valid ranges list." - } - }, - "type": "object", - "id": "SubnetworkSecondaryRange", - "description": "Represents a secondary IP range of a subnetwork." - }, - "BfdStatus": { - "description": "Next free: 15", - "type": "object", - "properties": { - "controlPacketIntervals": { - "items": { - "$ref": "PacketIntervals" - }, + "items": { + "description": "[Output Only] A list of Operation resources.", "type": "array", - "description": "Inter-packet time interval statistics for control packets." - }, - "localState": { - "enumDescriptions": [ - "", - "", - "", - "", - "" - ], - "description": "The current BFD session state as seen by the transmitting system. These states are specified in section 4.1 of RFC5880", - "enum": [ - "ADMIN_DOWN", - "DOWN", - "INIT", - "STATE_UNSPECIFIED", - "UP" - ], - "type": "string" - }, - "uptimeMs": { - "type": "string", - "format": "int64", - "description": "Session uptime in milliseconds. Value will be 0 if session is not up." - }, - "configUpdateTimestampMicros": { - "format": "int64", - "description": "Unix timestamp of the most recent config update.", - "type": "string" - }, - "localDiagnostic": { - "type": "string", - "description": "The diagnostic code specifies the local system's reason for the last change in session state. This allows remote systems to determine the reason that the previous session failed, for example. These diagnostic codes are specified in section 4.1 of RFC5880", - "enum": [ - "ADMINISTRATIVELY_DOWN", - "CONCATENATED_PATH_DOWN", - "CONTROL_DETECTION_TIME_EXPIRED", - "DIAGNOSTIC_UNSPECIFIED", - "ECHO_FUNCTION_FAILED", - "FORWARDING_PLANE_RESET", - "NEIGHBOR_SIGNALED_SESSION_DOWN", - "NO_DIAGNOSTIC", - "PATH_DOWN", - "REVERSE_CONCATENATED_PATH_DOWN" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ] - }, - "controlPacketCounts": { - "description": "Control packet counts for the current BFD session.", - "$ref": "BfdStatusPacketCounts" - }, - "bfdSessionInitializationMode": { - "enum": [ - "ACTIVE", - "DISABLED", - "PASSIVE" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string", - "description": "The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer." - }, - "txPacket": { - "$ref": "BfdPacket", - "description": "The most recent Tx control packet for this BFD session." - }, - "rxPacket": { - "description": "The most recent Rx control packet for this BFD session.", - "$ref": "BfdPacket" - }, - "negotiatedLocalControlTxIntervalMs": { - "type": "integer", - "description": "Negotiated transmit interval for control packets.", - "format": "uint32" - } - }, - "id": "BfdStatus" - }, - "InstanceGroupsRemoveInstancesRequest": { - "type": "object", - "id": "InstanceGroupsRemoveInstancesRequest", - "properties": { - "instances": { - "items": { - "$ref": "InstanceReference" - }, - "description": "The list of instances to remove from the instance group.", - "type": "array" - } - } - }, - "Project": { - "description": "Represents a Project resource. A project is used to organize resources in a Google Cloud Platform environment. For more information, read about the Resource Hierarchy.", - "type": "object", - "properties": { - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for the resource." - }, - "defaultNetworkTier": { - "enum": [ - "FIXED_STANDARD", - "PREMIUM", - "STANDARD", - "STANDARD_OVERRIDES_FIXED_STANDARD" - ], - "enumDescriptions": [ - "Public internet quality with fixed bandwidth.", - "High quality, Google-grade network tier, support for all networking products.", - "Public internet quality, only limited support for other networking products.", - "(Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured." - ], - "type": "string", - "description": "This signifies the default network tier used for configuring resources of the project and can only take the following values: PREMIUM, STANDARD. Initially the default network tier is PREMIUM." - }, - "creationTimestamp": { - "description": "[Output Only] Creation timestamp in RFC3339 text format.", - "type": "string" - }, - "name": { - "type": "string", - "description": "The project ID. For example: my-example-project. Use the project ID to make requests to Compute Engine." - }, - "vmDnsSetting": { - "description": "[Output Only] Default internal DNS setting used by VMs running in this project.", - "enum": [ - "GLOBAL_DEFAULT", - "UNSPECIFIED_VM_DNS_SETTING", - "ZONAL_DEFAULT", - "ZONAL_ONLY" - ], - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string" - }, - "id": { - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server. This is *not* the project ID, and is just a unique ID used by Compute Engine to identify resources.", - "type": "string", - "format": "uint64" - }, - "kind": { - "type": "string", - "description": "[Output Only] Type of the resource. Always compute#project for projects.", - "default": "compute#project" - }, - "defaultServiceAccount": { - "description": "[Output Only] Default service account used by VMs running in this project.", - "type": "string" - }, - "xpnProjectStatus": { - "enum": [ - "HOST", - "UNSPECIFIED_XPN_PROJECT_STATUS" - ], - "type": "string", - "description": "[Output Only] The role this project has in a shared VPC configuration. Currently, only projects with the host role, which is specified by the value HOST, are differentiated.", - "enumDescriptions": [ - "", - "" - ] - }, - "enabledFeatures": { - "items": { - "type": "string" - }, - "description": "Restricted features enabled for use on this project.", - "type": "array" - }, - "usageExportLocation": { - "description": "The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored.", - "$ref": "UsageExportLocation" - }, - "quotas": { - "items": { - "$ref": "Quota" - }, - "description": "[Output Only] Quotas assigned to this project.", - "type": "array" - }, - "description": { - "type": "string", - "description": "An optional textual description of the resource." - }, - "commonInstanceMetadata": { - "description": "Metadata key/value pairs available to all instances contained in this project. See Custom metadata for more information.", - "$ref": "Metadata" - } - }, - "id": "Project" - }, - "NetworkEndpointWithHealthStatus": { - "id": "NetworkEndpointWithHealthStatus", - "properties": { - "healths": { - "items": { - "$ref": "HealthStatusForNetworkEndpoint" - }, - "description": "[Output only] The health status of network endpoint;", - "type": "array" - }, - "networkEndpoint": { - "$ref": "NetworkEndpoint", - "description": "[Output only] The network endpoint;" - } - }, - "type": "object" - }, - "InterconnectAttachmentPrivateInfo": { - "properties": { - "tag8021q": { - "format": "uint32", - "description": "[Output Only] 802.1q encapsulation tag to be used for traffic between Google and the customer, going to and from this network and region.", - "type": "integer" - } - }, - "description": "Information for an interconnect attachment when this belongs to an interconnect of type DEDICATED.", - "id": "InterconnectAttachmentPrivateInfo", - "type": "object" - }, - "InstanceProperties": { - "type": "object", - "properties": { - "description": { - "description": "An optional text description for the instances that are created from these properties.", - "type": "string" - }, - "disks": { "items": { - "$ref": "AttachedDisk" - }, - "type": "array", - "description": "An array of disks that are associated with the instances that are created from these properties." - }, - "minCpuPlatform": { - "description": "Minimum cpu/platform to be used by instances. The instance may be scheduled on the specified or newer cpu/platform. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: \"Intel Haswell\" or minCpuPlatform: \"Intel Sandy Bridge\". For more information, read Specifying a Minimum CPU Platform.", - "type": "string" + "$ref": "Operation" + } }, - "machineType": { - "description": "The machine type to use for instances that are created from these properties.", - "annotations": { - "required": [ - "compute.instanceTemplates.insert" - ] - }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than `maxResults`, use the `nextPageToken` as a value for the query parameter `pageToken` in the next list request. Subsequent list requests will have their own `nextPageToken` to continue paging through the results.", "type": "string" }, - "shieldedInstanceConfig": { - "description": "Note that for MachineImage, this is not supported yet.", - "$ref": "ShieldedInstanceConfig" - }, - "metadata": { - "$ref": "Metadata", - "description": "The metadata key/value pairs to assign to instances that are created from these properties. These pairs can consist of custom metadata or predefined keys. See Project and instance metadata for more information." - }, - "advancedMachineFeatures": { - "$ref": "AdvancedMachineFeatures", - "description": "Controls for advanced machine-related behavior features. Note that for MachineImage, this is not supported yet." - }, - "confidentialInstanceConfig": { - "description": "Specifies the Confidential Instance options. Note that for MachineImage, this is not supported yet.", - "$ref": "ConfidentialInstanceConfig" - }, - "reservationAffinity": { - "$ref": "ReservationAffinity", - "description": "Specifies the reservations that instances can consume from. Note that for MachineImage, this is not supported yet." - }, - "privateIpv6GoogleAccess": { - "description": "The private IPv6 google access type for VMs. If not specified, use INHERIT_FROM_SUBNETWORK as default. Note that for MachineImage, this is not supported yet.", - "type": "string", - "enum": [ - "ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE", - "ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE", - "INHERIT_FROM_SUBNETWORK" - ], - "enumDescriptions": [ - "Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.", - "Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.", - "Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork." - ] - }, - "guestAccelerators": { - "items": { - "$ref": "AcceleratorConfig" - }, - "description": "A list of guest accelerator cards' type and count to use for instances created from these properties.", - "type": "array" - }, - "resourcePolicies": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Resource policies (names, not URLs) applied to instances created from these properties. Note that for MachineImage, this is not supported yet." - }, - "canIpForward": { - "type": "boolean", - "description": "Enables instances created based on these properties to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own. If these instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, specify true. If unsure, leave this set to false. See the Enable IP forwarding documentation for more information." - }, - "serviceAccounts": { - "items": { - "$ref": "ServiceAccount" - }, - "type": "array", - "description": "A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances." - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Labels to apply to instances that are created from these properties.", - "type": "object" - }, - "networkInterfaces": { - "type": "array", - "items": { - "$ref": "NetworkInterface" - }, - "description": "An array of network access configurations for this interface." - }, - "tags": { - "$ref": "Tags", - "description": "A list of tags to apply to the instances that are created from these properties. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035." - }, - "networkPerformanceConfig": { - "description": "Note that for MachineImage, this is not supported yet.", - "$ref": "NetworkPerformanceConfig" - }, - "scheduling": { - "$ref": "Scheduling", - "description": "Specifies the scheduling options for the instances that are created from these properties." - }, - "keyRevocationActionType": { - "description": "KeyRevocationActionType of the instance. Supported options are \"STOP\" and \"NONE\". The default value is \"NONE\" if it is not specified.", - "type": "string", - "enumDescriptions": [ - "Default value. This value is unused.", - "Indicates user chose no operation.", - "Indicates user chose to opt for VM shutdown on key revocation." - ], - "enum": [ - "KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED", - "NONE", - "STOP" - ] - }, - "resourceManagerTags": { - "type": "object", - "description": "Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty.", - "additionalProperties": { - "type": "string" - } - } - }, - "id": "InstanceProperties" - }, - "AllocationResourceStatusSpecificSKUAllocation": { - "type": "object", - "properties": { - "sourceInstanceTemplateId": { - "type": "string" - } - }, - "id": "AllocationResourceStatusSpecificSKUAllocation" - }, - "HealthCheckServicesList": { - "type": "object", - "id": "HealthCheckServicesList", - "properties": { "selfLink": { "description": "[Output Only] Server-defined URL for this resource.", "type": "string" }, "warning": { + "description": "[Output Only] Informational warning message.", "type": "object", "properties": { - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, - "data": { - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "type": "array", - "items": { - "type": "object", - "properties": { - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - }, - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - } - } - } - }, "code": { - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -891,6 +606,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -909,73 +625,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "type": "string" - } - }, - "description": "[Output Only] Informational warning message." - }, - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." - }, - "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", - "type": "string" - }, - "items": { - "description": "A list of HealthCheckService resources.", - "items": { - "$ref": "HealthCheckService" - }, - "type": "array" - }, - "kind": { - "default": "compute#healthCheckServicesList", - "type": "string", - "description": "[Output Only] Type of the resource. Always compute#healthCheckServicesList for lists of HealthCheckServices." - } - } - }, - "AutoscalingPolicyScalingSchedule": { - "type": "object", - "properties": { - "minRequiredReplicas": { - "type": "integer", - "description": "The minimum number of VM instances that the autoscaler will recommend in time intervals starting according to schedule. This field is required.", - "format": "int32" - }, - "timeZone": { - "description": "The time zone to use when interpreting the schedule. The value of this field must be a time zone name from the tz database: http://en.wikipedia.org/wiki/Tz_database. This field is assigned a default value of “UTC” if left empty.", - "type": "string" - }, - "disabled": { - "type": "boolean", - "description": "A boolean value that specifies whether a scaling schedule can influence autoscaler recommendations. If set to true, then a scaling schedule has no effect. This field is optional, and its value is false by default." - }, - "description": { - "description": "A description of a scaling schedule.", - "type": "string" - }, - "durationSec": { - "description": "The duration of time intervals, in seconds, for which this scaling schedule is to run. The minimum allowed value is 300. This field is required.", - "format": "int32", - "type": "integer" - }, - "schedule": { - "description": "The start timestamps of time intervals when this scaling schedule is to provide a scaling signal. This field uses the extended cron format (with an optional year field). The expression can describe a single timestamp if the optional year is set, in which case the scaling schedule runs once. The schedule is interpreted with respect to time_zone. This field is required. Note: These timestamps only describe when autoscaler starts providing the scaling signal. The VMs need additional time to become serving.", - "type": "string" - } - }, - "id": "AutoscalingPolicyScalingSchedule", - "description": "Scaling based on user-defined schedule. The message describes a single scaling schedule. A scaling schedule changes the minimum number of VM instances an autoscaler can recommend, which can trigger scaling out." - }, - "DiskTypesScopedList": { - "id": "DiskTypesScopedList", - "type": "object", - "properties": { - "warning": { - "properties": { - "code": { + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -987,6 +666,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -1004,343 +684,357 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], - "type": "string", - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." ] }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, "data": { "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", "items": { + "type": "object", "properties": { "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" }, "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" } - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." + } + } } - }, - "description": "[Output Only] Informational warning which replaces the list of disk types when the list is empty.", - "type": "object" - }, - "diskTypes": { - "items": { - "$ref": "DiskType" - }, - "description": "[Output Only] A list of disk types contained in this scope.", - "type": "array" + } } } }, - "LogConfigCounterOptionsCustomField": { + "Operation": { + "id": "Operation", + "description": "Represents an Operation resource. Google Compute Engine has three Operation resources: * [Global](/compute/docs/reference/rest/v1/globalOperations) * [Regional](/compute/docs/reference/rest/v1/regionOperations) * [Zonal](/compute/docs/reference/rest/v1/zoneOperations) You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses. Operations can be global, regional or zonal. - For global operations, use the `globalOperations` resource. - For regional operations, use the `regionOperations` resource. - For zonal operations, use the `zoneOperations` resource. For more information, read Global, Regional, and Zonal Resources. Note that completed Operation resources have a limited retention period.", "type": "object", "properties": { - "name": { - "description": "This is deprecated and has no effect. Do not use.", + "kind": { + "description": "[Output Only] Type of the resource. Always `compute#operation` for Operation resources.", + "default": "compute#operation", "type": "string" }, - "value": { + "id": { + "description": "[Output Only] The unique identifier for the operation. This identifier is defined by the server.", "type": "string", - "description": "This is deprecated and has no effect. Do not use." - } - }, - "id": "LogConfigCounterOptionsCustomField", - "description": "This is deprecated and has no effect. Do not use." - }, - "TargetInstanceAggregatedList": { - "id": "TargetInstanceAggregatedList", - "properties": { - "items": { - "type": "object", - "description": "A list of TargetInstance resources.", - "additionalProperties": { - "$ref": "TargetInstancesScopedList", - "description": "Name of the scope containing this set of target instances." - } + "format": "uint64" }, - "warning": { - "type": "object", - "description": "[Output Only] Informational warning message.", - "properties": { - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - }, - "data": { - "type": "array", - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "items": { - "properties": { - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - }, - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - } - }, - "type": "object" - } - }, - "code": { - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "type": "string", - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ] - } - } + "creationTimestamp": { + "description": "[Deprecated] This field is deprecated.", + "type": "string" }, - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", + "name": { + "description": "[Output Only] Name of the operation.", "type": "string" }, - "unreachables": { - "type": "array", - "items": { - "type": "string" - }, - "description": "[Output Only] Unreachable resources." + "zone": { + "description": "[Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.", + "type": "string" }, - "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "clientOperationId": { + "description": "[Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.", "type": "string" }, - "kind": { - "default": "compute#targetInstanceAggregatedList", - "description": "Type of resource.", + "operationType": { + "description": "[Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.", "type": "string" }, - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "targetLink": { + "description": "[Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.", "type": "string" - } - }, - "type": "object" - }, - "GuestAttributesValue": { - "properties": { - "items": { - "type": "array", - "items": { - "$ref": "GuestAttributesEntry" - } - } - }, - "id": "GuestAttributesValue", - "description": "Array of guest attribute namespace/key/value tuples.", - "type": "object" - }, - "Reservation": { - "description": "Represents a reservation resource. A reservation ensures that capacity is held in a specific zone even if the reserved VMs are not running. For more information, read Reserving zonal resources.", - "type": "object", - "properties": { + }, + "targetId": { + "description": "[Output Only] The unique target ID, which identifies a specific incarnation of the target resource.", + "type": "string", + "format": "uint64" + }, "status": { - "enum": [ - "CREATING", - "DELETING", - "INVALID", - "READY", - "UPDATING" - ], - "description": "[Output Only] The status of the reservation.", + "description": "[Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.", + "type": "string", "enumDescriptions": [ - "Resources are being allocated for the reservation.", - "Reservation is currently being deleted.", "", - "Reservation has allocated all its resources.", - "Reservation is currently being resized." + "", + "" ], + "enum": [ + "DONE", + "PENDING", + "RUNNING" + ] + }, + "statusMessage": { + "description": "[Output Only] An optional textual description of the current status of the operation.", "type": "string" }, - "resourceStatus": { - "$ref": "AllocationResourceStatus", - "description": "[Output Only] Status information for Reservation resource." + "user": { + "description": "[Output Only] User who requested the operation, for example: `user@example.com` or `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.", + "type": "string" }, - "shareSettings": { - "$ref": "ShareSettings", - "description": "Specify share-settings to create a shared reservation. This property is optional. For more information about the syntax and options for this field and its subfields, see the guide for creating a shared reservation." + "progress": { + "description": "[Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.", + "type": "integer", + "format": "int32" }, - "commitment": { - "description": "[Output Only] Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment.", + "insertTime": { + "description": "[Output Only] The time that this operation was requested. This value is in RFC3339 text format.", "type": "string" }, - "specificReservation": { - "description": "Reservation for instances with specific machine shapes.", - "$ref": "AllocationSpecificSKUReservation" + "startTime": { + "description": "[Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.", + "type": "string" }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined fully-qualified URL for this resource." + "endTime": { + "description": "[Output Only] The time that this operation was completed. This value is in RFC3339 text format.", + "type": "string" }, - "name": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", - "annotations": { - "required": [ - "compute.instances.insert" - ] - }, - "description": "The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash." + "error": { + "description": "[Output Only] If errors are generated during processing of the operation, this field will be populated.", + "type": "object", + "properties": { + "errors": { + "description": "[Output Only] The array of errors encountered while processing this operation.", + "type": "array", + "items": { + "type": "object", + "properties": { + "code": { + "description": "[Output Only] The error type identifier for this error.", + "type": "string" + }, + "location": { + "description": "[Output Only] Indicates the field in the request that caused the error. This property is optional.", + "type": "string" + }, + "message": { + "description": "[Output Only] An optional, human-readable error message.", + "type": "string" + }, + "errorDetails": { + "description": "[Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED.", + "type": "array", + "items": { + "type": "object", + "properties": { + "errorInfo": { + "$ref": "ErrorInfo" + }, + "quotaInfo": { + "$ref": "QuotaExceededInfo" + }, + "help": { + "$ref": "Help" + }, + "localizedMessage": { + "$ref": "LocalizedMessage" + } + } + } + } + } + } + } + } }, - "description": { - "type": "string", - "description": "An optional description of this resource. Provide this property when you create the resource." + "warnings": { + "description": "[Output Only] If warning messages are generated during processing of the operation, this field will be populated.", + "type": "array", + "items": { + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + } }, - "kind": { - "description": "[Output Only] Type of the resource. Always compute#reservations for reservations.", - "default": "compute#reservation", - "type": "string" + "httpErrorStatusCode": { + "description": "[Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a `404` means the resource was not found.", + "type": "integer", + "format": "int32" }, - "creationTimestamp": { - "type": "string", - "description": "[Output Only] Creation timestamp in RFC3339 text format." + "httpErrorMessage": { + "description": "[Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.", + "type": "string" }, - "specificReservationRequired": { - "type": "boolean", - "description": "Indicates whether the reservation can be consumed by VMs with affinity for \"any\" reservation. If the field is set, then only VMs that target the reservation by name can consume from this reservation." + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", + "type": "string" }, - "id": { - "format": "uint64", - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", + "region": { + "description": "[Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.", "type": "string" }, - "satisfiesPzs": { - "description": "[Output Only] Reserved for future use.", - "type": "boolean" + "description": { + "description": "[Output Only] A textual description of the operation, which is set when the operation is created.", + "type": "string" }, - "zone": { - "description": "Zone in which the reservation resides. A zone must be provided if the reservation is created within a commitment.", + "operationGroupId": { + "description": "[Output Only] An ID that represents a group of operations, such as when a group of operations results from a `bulkInsert` API request.", "type": "string" + }, + "setCommonInstanceMetadataOperationMetadata": { + "description": "[Output Only] If the operation is for projects.setCommonInstanceMetadata, this field will contain information on all underlying zonal actions and their state.", + "$ref": "SetCommonInstanceMetadataOperationMetadata" + }, + "instancesBulkInsertOperationMetadata": { + "$ref": "InstancesBulkInsertOperationMetadata" } - }, - "id": "Reservation" + } }, - "BulkInsertInstanceResourcePerInstanceProperties": { - "id": "BulkInsertInstanceResourcePerInstanceProperties", - "description": "Per-instance properties to be set on individual instances. To be extended in the future.", + "ErrorInfo": { + "id": "ErrorInfo", + "description": "Describes the cause of the error with structured details. Example of an error when contacting the \"pubsub.googleapis.com\" API when it is not enabled: { \"reason\": \"API_DISABLED\" \"domain\": \"googleapis.com\" \"metadata\": { \"resource\": \"projects/123\", \"service\": \"pubsub.googleapis.com\" } } This response indicates that the pubsub.googleapis.com API is not enabled. Example of an error that is returned when attempting to create a Spanner instance in a region that is out of stock: { \"reason\": \"STOCKOUT\" \"domain\": \"spanner.googleapis.com\", \"metadata\": { \"availableRegions\": \"us-central1,us-east2\" } }", + "type": "object", "properties": { - "name": { - "description": "This field is only temporary. It will be removed. Do not use it.", + "reason": { + "description": "The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors. This should be at most 63 characters and match a regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.", "type": "string" - } - }, - "type": "object" - }, - "Int64RangeMatch": { - "properties": { - "rangeEnd": { - "type": "string", - "description": "The end of the range (exclusive) in signed long integer format.", - "format": "int64" }, - "rangeStart": { - "format": "int64", - "type": "string", - "description": "The start of the range (inclusive) in signed long integer format." + "domain": { + "description": "The logical grouping to which the \"reason\" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: \"pubsub.googleapis.com\". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is \"googleapis.com\".", + "type": "string" + }, + "metadatas": { + "description": "Additional structured details about this error. Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {\"instanceLimit\": \"100/request\"}, should be returned as, {\"instanceLimitPerRequest\": \"100\"}, if the client exceeds the number of instances that can be created in a single (batch) request.", + "type": "object", + "additionalProperties": { + "type": "string" + } } - }, - "id": "Int64RangeMatch", - "type": "object", - "description": "HttpRouteRuleMatch criteria for field values that must stay within the specified integer range." + } }, "QuotaExceededInfo": { + "id": "QuotaExceededInfo", + "description": "Additional details for quota exceeded error for resource quota.", + "type": "object", "properties": { + "metricName": { + "description": "The Compute Engine quota metric name.", + "type": "string" + }, + "limitName": { + "description": "The name of the quota limit.", + "type": "string" + }, "dimensions": { "description": "The map holding related quota dimensions.", "type": "object", @@ -1348,577 +1042,239 @@ "type": "string" } }, - "limitName": { - "type": "string", - "description": "The name of the quota limit." - }, - "metricName": { - "type": "string", - "description": "The Compute Engine quota metric name." - }, "limit": { - "type": "number", "description": "Current effective quota limit. The limit's unit depends on the quota type or metric.", + "type": "number", "format": "double" + }, + "futureLimit": { + "description": "Future quota limit being rolled out. The limit's unit depends on the quota type or metric.", + "type": "number", + "format": "double" + }, + "rolloutStatus": { + "description": "Rollout status of the future quota limit.", + "type": "string", + "enumDescriptions": [ + "IN_PROGRESS - A rollout is in process which will change the limit value to future limit.", + "ROLLOUT_STATUS_UNSPECIFIED - Rollout status is not specified. The default value." + ], + "enum": [ + "IN_PROGRESS", + "ROLLOUT_STATUS_UNSPECIFIED" + ] } - }, - "id": "QuotaExceededInfo", - "type": "object", - "description": "Additional details for quota exceeded error for resource quota." + } }, - "RegionInstanceGroupManagersCreateInstancesRequest": { - "id": "RegionInstanceGroupManagersCreateInstancesRequest", + "Help": { + "id": "Help", + "description": "Provides links to documentation or for performing an out of band action. For example, if a quota check failed with an error indicating the calling project hasn't enabled the accessed service, this can contain a URL pointing directly to the right place in the developer console to flip the bit.", "type": "object", - "description": "RegionInstanceGroupManagers.createInstances", "properties": { - "instances": { + "links": { + "description": "URL(s) pointing to additional information on handling the current error.", + "type": "array", "items": { - "$ref": "PerInstanceConfig" - }, - "description": "[Required] List of specifications of per-instance configs.", - "type": "array" + "$ref": "HelpLink" + } } } }, - "HttpRedirectAction": { - "description": "Specifies settings for an HTTP redirect.", + "HelpLink": { + "id": "HelpLink", + "description": "Describes a URL link.", "type": "object", - "id": "HttpRedirectAction", "properties": { - "stripQuery": { - "type": "boolean", - "description": "If set to true, any accompanying query portion of the original URL is removed before redirecting the request. If set to false, the query portion of the original URL is retained. The default is set to false. " - }, - "redirectResponseCode": { - "enumDescriptions": [ - "Http Status Code 302 - Found.", - "Http Status Code 301 - Moved Permanently.", - "Http Status Code 308 - Permanent Redirect maintaining HTTP method.", - "Http Status Code 303 - See Other.", - "Http Status Code 307 - Temporary Redirect maintaining HTTP method." - ], - "type": "string", - "description": "The HTTP Status code to use for this RedirectAction. Supported values are: - MOVED_PERMANENTLY_DEFAULT, which is the default value and corresponds to 301. - FOUND, which corresponds to 302. - SEE_OTHER which corresponds to 303. - TEMPORARY_REDIRECT, which corresponds to 307. In this case, the request method is retained. - PERMANENT_REDIRECT, which corresponds to 308. In this case, the request method is retained. ", - "enum": [ - "FOUND", - "MOVED_PERMANENTLY_DEFAULT", - "PERMANENT_REDIRECT", - "SEE_OTHER", - "TEMPORARY_REDIRECT" - ] - }, - "prefixRedirect": { - "description": "The prefix that replaces the prefixMatch specified in the HttpRouteRuleMatch, retaining the remaining portion of the URL before redirecting the request. prefixRedirect cannot be supplied together with pathRedirect. Supply one alone or neither. If neither is supplied, the path of the original request is used for the redirect. The value must be from 1 to 1024 characters.", + "description": { + "description": "Describes what the link offers.", "type": "string" }, - "pathRedirect": { - "description": "The path that is used in the redirect response instead of the one that was supplied in the request. pathRedirect cannot be supplied together with prefixRedirect. Supply one alone or neither. If neither is supplied, the path of the original request is used for the redirect. The value must be from 1 to 1024 characters.", + "url": { + "description": "The URL of the link.", "type": "string" - }, - "hostRedirect": { - "description": "The host that is used in the redirect response instead of the one that was supplied in the request. The value must be from 1 to 255 characters.", + } + } + }, + "LocalizedMessage": { + "id": "LocalizedMessage", + "description": "Provides a localized error message that is safe to return to the user which can be attached to an RPC error.", + "type": "object", + "properties": { + "locale": { + "description": "The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: \"en-US\", \"fr-CH\", \"es-MX\"", "type": "string" }, - "httpsRedirect": { - "type": "boolean", - "description": "If set to true, the URL scheme in the redirected request is set to HTTPS. If set to false, the URL scheme of the redirected request remains the same as that of the request. This must only be set for URL maps used in TargetHttpProxys. Setting this true for TargetHttpsProxy is not permitted. The default is set to false." + "message": { + "description": "The localized error message in the above locale.", + "type": "string" } } }, - "SecurityPoliciesWafConfig": { - "id": "SecurityPoliciesWafConfig", + "SetCommonInstanceMetadataOperationMetadata": { + "id": "SetCommonInstanceMetadataOperationMetadata", + "type": "object", "properties": { - "wafRules": { - "$ref": "PreconfiguredWafSet" - } - }, - "type": "object" - }, - "RegionInstanceGroupManagerPatchInstanceConfigReq": { - "properties": { - "perInstanceConfigs": { - "items": { - "$ref": "PerInstanceConfig" - }, - "description": "The list of per-instance configurations to insert or patch on this managed instance group.", - "type": "array" - } - }, - "id": "RegionInstanceGroupManagerPatchInstanceConfigReq", - "description": "RegionInstanceGroupManagers.patchPerInstanceConfigs", - "type": "object" - }, - "InstancesSetServiceAccountRequest": { - "properties": { - "scopes": { - "description": "The list of scopes to be made available for this service account.", - "type": "array", - "items": { - "type": "string" - } - }, - "email": { - "description": "Email address of the service account.", - "type": "string" - } - }, - "type": "object", - "id": "InstancesSetServiceAccountRequest" - }, - "AliasIpRange": { - "description": "An alias IP range attached to an instance's network interface.", - "id": "AliasIpRange", - "type": "object", - "properties": { - "subnetworkRangeName": { - "description": "The name of a subnetwork secondary IP range from which to allocate an IP alias range. If not specified, the primary range of the subnetwork is used.", + "clientOperationId": { + "description": "[Output Only] The client operation id.", "type": "string" }, - "ipCidrRange": { - "description": "The IP alias ranges to allocate for this interface. This IP CIDR range must belong to the specified subnetwork and cannot contain IP addresses reserved by system or used by other network interfaces. This range may be a single IP address (such as 10.2.3.4), a netmask (such as /24) or a CIDR-formatted string (such as 10.1.2.0/24).", - "type": "string" + "perLocationOperations": { + "description": "[Output Only] Status information per location (location name is key). Example key: zones/us-central1-a", + "type": "object", + "additionalProperties": { + "$ref": "SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo" + } } } }, - "SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig": { + "SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo": { + "id": "SetCommonInstanceMetadataOperationMetadataPerLocationOperationInfo", "type": "object", "properties": { - "ruleVisibility": { + "state": { + "description": "[Output Only] Status of the action, which can be one of the following: `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.", + "type": "string", "enumDescriptions": [ - "", + "Operation not tracked in this location e.g. zone is marked as DOWN.", + "Operation has completed successfully.", + "Operation is in an error state.", + "Operation is confirmed to be in the location.", + "Operation is not yet confirmed to have been created in the location.", "" ], - "type": "string", - "description": "Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules.", "enum": [ - "PREMIUM", - "STANDARD" + "ABANDONED", + "DONE", + "FAILED", + "PROPAGATED", + "PROPAGATING", + "UNSPECIFIED" ] }, - "enable": { - "description": "If set to true, enables CAAP for L7 DDoS detection.", - "type": "boolean" + "error": { + "description": "[Output Only] If state is `ABANDONED` or `FAILED`, this field is populated.", + "$ref": "Status" } - }, - "id": "SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig", - "description": "Configuration options for L7 DDoS detection." + } }, - "FirewallPolicyAssociation": { + "Status": { + "id": "Status", + "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", + "type": "object", "properties": { - "attachmentTarget": { - "description": "The target that the firewall policy is attached to.", - "type": "string" + "code": { + "description": "The status code, which should be an enum value of google.rpc.Code.", + "type": "integer", + "format": "int32" }, - "displayName": { - "description": "[Output Only] Deprecated, please use short name instead. The display name of the firewall policy of the association.", + "message": { + "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", "type": "string" }, - "name": { - "type": "string", - "description": "The name for an association." - }, - "shortName": { - "type": "string", - "description": "[Output Only] The short name of the firewall policy of the association." - }, - "firewallPolicyId": { - "type": "string", - "description": "[Output Only] The firewall policy ID of the association." + "details": { + "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "any", + "description": "Properties of the object. Contains field @type with type URL." + } + } } - }, - "id": "FirewallPolicyAssociation", - "type": "object" + } }, - "ForwardingRule": { - "id": "ForwardingRule", + "InstancesBulkInsertOperationMetadata": { + "id": "InstancesBulkInsertOperationMetadata", + "type": "object", "properties": { - "selfLink": { - "description": "[Output Only] Server-defined URL for the resource.", - "type": "string" - }, - "networkTier": { - "enumDescriptions": [ - "Public internet quality with fixed bandwidth.", - "High quality, Google-grade network tier, support for all networking products.", - "Public internet quality, only limited support for other networking products.", - "(Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured." - ], - "description": "This signifies the networking tier used for configuring this load balancer and can only take the following values: PREMIUM, STANDARD. For regional ForwardingRule, the valid values are PREMIUM and STANDARD. For GlobalForwardingRule, the valid value is PREMIUM. If this field is not specified, it is assumed to be PREMIUM. If IPAddress is specified, this value must be equal to the networkTier of the Address.", + "perLocationStatus": { + "description": "Status information per location (location name is key). Example key: zones/us-central1-a", + "type": "object", + "additionalProperties": { + "$ref": "BulkInsertOperationStatus" + } + } + } + }, + "BulkInsertOperationStatus": { + "id": "BulkInsertOperationStatus", + "type": "object", + "properties": { + "status": { + "description": "[Output Only] Creation status of BulkInsert operation - information if the flow is rolling forward or rolling back.", "type": "string", - "enum": [ - "FIXED_STANDARD", - "PREMIUM", - "STANDARD", - "STANDARD_OVERRIDES_FIXED_STANDARD" - ] - }, - "labelFingerprint": { - "description": "A fingerprint for the labels being applied to this resource, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a ForwardingRule.", - "format": "byte", - "type": "string" - }, - "region": { - "description": "[Output Only] URL of the region where the regional forwarding rule resides. This field is not applicable to global forwarding rules. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.", - "type": "string" - }, - "fingerprint": { - "format": "byte", - "description": "Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a ForwardingRule. Include the fingerprint in patch request to ensure that you do not overwrite changes that were applied from another concurrent request. To see the latest fingerprint, make a get() request to retrieve a ForwardingRule.", - "type": "string" - }, - "pscConnectionId": { - "description": "[Output Only] The PSC connection id of the PSC Forwarding Rule.", - "format": "uint64", - "type": "string" - }, - "IPProtocol": { - "enum": [ - "AH", - "ESP", - "ICMP", - "L3_DEFAULT", - "SCTP", - "TCP", - "UDP" - ], "enumDescriptions": [ - "", - "", - "", - "", - "", - "", + "Rolling forward - creating VMs.", + "Done", + "Rolling back - cleaning up after an error.", "" ], - "description": "The IP protocol to which this rule applies. For protocol forwarding, valid options are TCP, UDP, ESP, AH, SCTP, ICMP and L3_DEFAULT. The valid IP protocols are different for different load balancing products as described in [Load balancing features](https://cloud.google.com/load-balancing/docs/features#protocols_from_the_load_balancer_to_the_backends).", - "type": "string" - }, - "IPAddress": { - "type": "string", - "description": "IP address for which this forwarding rule accepts traffic. When a client sends traffic to this IP address, the forwarding rule directs the traffic to the referenced target or backendService. While creating a forwarding rule, specifying an IPAddress is required under the following circumstances: - When the target is set to targetGrpcProxy and validateForProxyless is set to true, the IPAddress should be set to 0.0.0.0. - When the target is a Private Service Connect Google APIs bundle, you must specify an IPAddress. Otherwise, you can optionally specify an IP address that references an existing static (reserved) IP address resource. When omitted, Google Cloud assigns an ephemeral IP address. Use one of the following formats to specify an IP address while creating a forwarding rule: * IP address number, as in `100.1.2.3` * IPv6 address range, as in `2600:1234::/96` * Full resource URL, as in https://www.googleapis.com/compute/v1/projects/ project_id/regions/region/addresses/address-name * Partial URL or by name, as in: - projects/project_id/regions/region/addresses/address-name - regions/region/addresses/address-name - global/addresses/address-name - address-name The forwarding rule's target or backendService, and in most cases, also the loadBalancingScheme, determine the type of IP address that you can use. For detailed information, see [IP address specifications](https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications). When reading an IPAddress, the API always returns the IP address number." - }, - "creationTimestamp": { - "description": "[Output Only] Creation timestamp in RFC3339 text format.", - "type": "string" - }, - "pscConnectionStatus": { - "type": "string", "enum": [ - "ACCEPTED", - "CLOSED", - "NEEDS_ATTENTION", - "PENDING", - "REJECTED", + "CREATING", + "DONE", + "ROLLING_BACK", "STATUS_UNSPECIFIED" - ], - "enumDescriptions": [ - "The connection has been accepted by the producer.", - "The connection has been closed by the producer and will not serve traffic going forward.", - "The connection has been accepted by the producer, but the producer needs to take further action before the forwarding rule can serve traffic.", - "The connection is pending acceptance by the producer.", - "The connection has been rejected by the producer.", - "" - ] - }, - "labels": { - "description": "Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.", - "additionalProperties": { - "type": "string" - }, - "type": "object" - }, - "allowGlobalAccess": { - "type": "boolean", - "description": "This field is used along with the backend_service field for internal load balancing or with the target field for internal TargetInstance. If the field is set to TRUE, clients can access ILB from all regions. Otherwise only allows access from clients in the same region as the internal load balancer." - }, - "name": { - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. For Private Service Connect forwarding rules that forward traffic to Google APIs, the forwarding rule name must be a 1-20 characters string with lowercase letters and numbers and must start with a letter." - }, - "target": { - "type": "string", - "description": "The URL of the target resource to receive the matched traffic. For regional forwarding rules, this target must be in the same region as the forwarding rule. For global forwarding rules, this target must be a global load balancing resource. The forwarded traffic must be of a type appropriate to the target object. - For load balancers, see the \"Target\" column in [Port specifications](https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications). - For Private Service Connect forwarding rules that forward traffic to Google APIs, provide the name of a supported Google API bundle: - vpc-sc - APIs that support VPC Service Controls. - all-apis - All supported Google APIs. - For Private Service Connect forwarding rules that forward traffic to managed services, the target must be a service attachment. " - }, - "ports": { - "items": { - "type": "string" - }, - "description": "This field can only be used: - If IPProtocol is one of TCP, UDP, or SCTP. - By internal TCP/UDP load balancers, backend service-based network load balancers, and internal protocol forwarding. You can specify a list of up to five ports by number, separated by commas. The ports can be contiguous or discontiguous. Only packets addressed to these ports will be forwarded to the backends configured with this forwarding rule. For external forwarding rules, two or more forwarding rules cannot use the same [IPAddress, IPProtocol] pair, and cannot share any values defined in ports. For internal forwarding rules within the same VPC network, two or more forwarding rules cannot use the same [IPAddress, IPProtocol] pair, and cannot share any values defined in ports. The ports, port_range, and allPorts fields are mutually exclusive. @pattern: \\\\d+(?:-\\\\d+)?", - "type": "array" - }, - "portRange": { - "description": "This field can only be used: - If IPProtocol is one of TCP, UDP, or SCTP. - By backend service-based network load balancers, target pool-based network load balancers, internal proxy load balancers, external proxy load balancers, Traffic Director, external protocol forwarding, and Classic VPN. Some products have restrictions on what ports can be used. See port specifications for details. Only packets addressed to ports in the specified range will be forwarded to the backends configured with this forwarding rule. The ports, port_range, and allPorts fields are mutually exclusive. For external forwarding rules, two or more forwarding rules cannot use the same [IPAddress, IPProtocol] pair, and cannot have overlapping portRanges. For internal forwarding rules within the same VPC network, two or more forwarding rules cannot use the same [IPAddress, IPProtocol] pair, and cannot have overlapping portRanges. @pattern: \\\\d+(?:-\\\\d+)?", - "type": "string" - }, - "serviceName": { - "type": "string", - "description": "[Output Only] The internal fully qualified service name for this Forwarding Rule. This field is only used for internal load balancing." - }, - "isMirroringCollector": { - "type": "boolean", - "description": "Indicates whether or not this load balancer can be used as a collector for packet mirroring. To prevent mirroring loops, instances behind this load balancer will not have their traffic mirrored even if a PacketMirroring rule applies to them. This can only be set to true for load balancers that have their loadBalancingScheme set to INTERNAL." - }, - "backendService": { - "description": "Identifies the backend service to which the forwarding rule sends traffic. Required for Internal TCP/UDP Load Balancing and Network Load Balancing; must be omitted for all other load balancer types.", - "type": "string" - }, - "noAutomateDnsZone": { - "type": "boolean", - "description": "This is used in PSC consumer ForwardingRule to control whether it should try to auto-generate a DNS zone or not. Non-PSC forwarding rules do not use this field." - }, - "id": { - "format": "uint64", - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", - "type": "string" - }, - "metadataFilters": { - "type": "array", - "items": { - "$ref": "MetadataFilter" - }, - "description": "Opaque filter criteria used by load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to load balancer, xDS clients present node metadata. When there is a match, the relevant configuration is made available to those proxies. Otherwise, all the resources (e.g. TargetHttpProxy, UrlMap) referenced by the ForwardingRule are not visible to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. If multiple metadataFilters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here will be applifed before those specified in the UrlMap that this ForwardingRule references. metadataFilters only applies to Loadbalancers that have their loadBalancingScheme set to INTERNAL_SELF_MANAGED." - }, - "description": { - "type": "string", - "description": "An optional description of this resource. Provide this property when you create the resource." - }, - "ipVersion": { - "type": "string", - "description": "The IP Version that will be used by this forwarding rule. Valid options are IPV4 or IPV6.", - "enum": [ - "IPV4", - "IPV6", - "UNSPECIFIED_VERSION" - ], - "enumDescriptions": [ - "", - "", - "" ] }, - "serviceDirectoryRegistrations": { - "type": "array", - "items": { - "$ref": "ForwardingRuleServiceDirectoryRegistration" - }, - "description": "Service Directory resources to register this forwarding rule with. Currently, only supports a single Service Directory resource." - }, - "allPorts": { - "description": "This field can only be used: - If IPProtocol is one of TCP, UDP, or SCTP. - By internal TCP/UDP load balancers, backend service-based network load balancers, and internal and external protocol forwarding. Set this field to true to allow packets addressed to any port or packets lacking destination port information (for example, UDP fragments after the first fragment) to be forwarded to the backends configured with this forwarding rule. The ports, port_range, and allPorts fields are mutually exclusive.", - "type": "boolean" - }, - "loadBalancingScheme": { - "enum": [ - "EXTERNAL", - "EXTERNAL_MANAGED", - "INTERNAL", - "INTERNAL_MANAGED", - "INTERNAL_SELF_MANAGED", - "INVALID" - ], - "enumDescriptions": [ - "", - "", - "", - "", - "", - "" - ], - "type": "string", - "description": "Specifies the forwarding rule type. For more information about forwarding rules, refer to Forwarding rule concepts." - }, - "kind": { - "description": "[Output Only] Type of the resource. Always compute#forwardingRule for Forwarding Rule resources.", - "type": "string", - "default": "compute#forwardingRule" - }, - "network": { - "type": "string", - "description": "This field is not used for external load balancing. For Internal TCP/UDP Load Balancing, this field identifies the network that the load balanced IP should belong to for this Forwarding Rule. If this field is not specified, the default network will be used. For Private Service Connect forwarding rules that forward traffic to Google APIs, a network must be provided." + "targetVmCount": { + "description": "[Output Only] Count of VMs originally planned to be created.", + "type": "integer", + "format": "int32" }, - "serviceLabel": { - "type": "string", - "description": "An optional prefix to the service name for this Forwarding Rule. If specified, the prefix is the first label of the fully qualified service name. The label must be 1-63 characters long, and comply with RFC1035. Specifically, the label must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. This field is only used for internal load balancing.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "createdVmCount": { + "description": "[Output Only] Count of VMs successfully created so far.", + "type": "integer", + "format": "int32" }, - "subnetwork": { - "type": "string", - "description": "This field identifies the subnetwork that the load balanced IP should belong to for this Forwarding Rule, used in internal load balancing and network load balancing with IPv6. If the network specified is in auto subnet mode, this field is optional. However, a subnetwork must be specified if the network is in custom subnet mode or when creating external forwarding rule with IPv6." - } - }, - "type": "object", - "description": "Represents a Forwarding Rule resource. Forwarding rule resources in Google Cloud can be either regional or global in scope: * [Global](https://cloud.google.com/compute/docs/reference/rest/v1/globalForwardingRules) * [Regional](https://cloud.google.com/compute/docs/reference/rest/v1/forwardingRules) A forwarding rule and its corresponding IP address represent the frontend configuration of a Google Cloud Platform load balancer. Forwarding rules can also reference target instances and Cloud VPN Classic gateways (targetVpnGateway). For more information, read Forwarding rule concepts and Using protocol forwarding." - }, - "SslPolicyReference": { - "id": "SslPolicyReference", - "type": "object", - "properties": { - "sslPolicy": { - "description": "URL of the SSL policy resource. Set this to empty string to clear any existing SSL policy associated with the target proxy resource.", - "type": "string" - } - } - }, - "ResourcePolicyResourceStatus": { - "description": "Contains output only fields. Use this sub-message for all output fields set on ResourcePolicy. The internal structure of this \"status\" field should mimic the structure of ResourcePolicy proto specification.", - "type": "object", - "properties": { - "instanceSchedulePolicy": { - "$ref": "ResourcePolicyResourceStatusInstanceSchedulePolicyStatus", - "description": "[Output Only] Specifies a set of output values reffering to the instance_schedule_policy system status. This field should have the same name as corresponding policy field." - } - }, - "id": "ResourcePolicyResourceStatus" - }, - "ResourcePolicyResourceStatusInstanceSchedulePolicyStatus": { - "id": "ResourcePolicyResourceStatusInstanceSchedulePolicyStatus", - "type": "object", - "properties": { - "nextRunStartTime": { - "type": "string", - "description": "[Output Only] The next time the schedule is planned to run. The actual time might be slightly different. The timestamp is an RFC3339 string." + "failedToCreateVmCount": { + "description": "[Output Only] Count of VMs that started creating but encountered an error.", + "type": "integer", + "format": "int32" }, - "lastRunStartTime": { - "description": "[Output Only] The last time the schedule successfully ran. The timestamp is an RFC3339 string.", - "type": "string" + "deletedVmCount": { + "description": "[Output Only] Count of VMs that got deleted during rollback.", + "type": "integer", + "format": "int32" } } }, - "FirewallPolicy": { + "OperationAggregatedList": { + "id": "OperationAggregatedList", "type": "object", - "description": "Represents a Firewall Policy resource.", - "id": "FirewallPolicy", "properties": { - "region": { - "type": "string", - "description": "[Output Only] URL of the region where the regional firewall policy resides. This field is not applicable to global firewall policies. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body." - }, - "name": { - "description": "Name of the resource. For Organization Firewall Policies it's a [Output Only] numeric ID allocated by Google Cloud which uniquely identifies the Organization Firewall Policy.", - "type": "string" - }, - "displayName": { - "description": "Deprecated, please use short name instead. User-provided name of the Organization firewall policy. The name should be unique in the organization in which the firewall policy is created. This field is not applicable to network firewall policies. This name must be set on creation and cannot be changed. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string" - }, - "creationTimestamp": { - "type": "string", - "description": "[Output Only] Creation timestamp in RFC3339 text format." - }, - "shortName": { - "description": "User-provided name of the Organization firewall policy. The name should be unique in the organization in which the firewall policy is created. This field is not applicable to network firewall policies. This name must be set on creation and cannot be changed. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "kind": { + "description": "[Output Only] Type of resource. Always `compute#operationAggregatedList` for aggregated lists of operations.", + "default": "compute#operationAggregatedList", "type": "string" }, "id": { - "type": "string", - "format": "uint64", - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server." - }, - "rules": { - "type": "array", - "items": { - "$ref": "FirewallPolicyRule" - }, - "description": "A list of rules that belong to this policy. There must always be a default rule (rule with priority 2147483647 and match \"*\"). If no rules are provided when creating a firewall policy, a default rule with action \"allow\" will be added." - }, - "selfLinkWithId": { - "description": "[Output Only] Server-defined URL for this resource with the resource id.", - "type": "string" - }, - "kind": { - "type": "string", - "description": "[Output only] Type of the resource. Always compute#firewallPolicyfor firewall policies", - "default": "compute#firewallPolicy" - }, - "ruleTupleCount": { - "format": "int32", - "description": "[Output Only] Total count of all firewall policy rule tuples. A firewall policy can not exceed a set number of tuples.", - "type": "integer" - }, - "description": { - "description": "An optional description of this resource. Provide this property when you create the resource.", + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", "type": "string" }, - "fingerprint": { - "format": "byte", - "type": "string", - "description": "Specifies a fingerprint for this resource, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make get() request to the firewall policy." - }, - "parent": { - "type": "string", - "description": "[Output Only] The parent of the firewall policy. This field is not applicable to network firewall policies." - }, - "associations": { - "description": "A list of associations that belong to this firewall policy.", - "items": { - "$ref": "FirewallPolicyAssociation" - }, - "type": "array" + "items": { + "description": "[Output Only] A map of scoped operation lists.", + "type": "object", + "additionalProperties": { + "description": "[Output Only] Name of the scope containing this set of operations.", + "$ref": "OperationsScopedList" + } }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for the resource." - } - } - }, - "AutoscalerAggregatedList": { - "properties": { "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." - }, - "unreachables": { - "items": { - "type": "string" - }, - "type": "array", - "description": "[Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder" - }, - "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", - "type": "string" - }, - "kind": { - "default": "compute#autoscalerAggregatedList", - "description": "[Output Only] Type of resource. Always compute#autoscalerAggregatedList for aggregated lists of autoscalers.", + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than `maxResults`, use the `nextPageToken` as a value for the query parameter `pageToken` in the next list request. Subsequent list requests will have their own `nextPageToken` to continue paging through the results.", "type": "string" }, "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." - }, - "items": { - "additionalProperties": { - "$ref": "AutoscalersScopedList", - "description": "[Output Only] Name of the scope containing this set of autoscalers." - }, - "description": "A list of AutoscalersScopedList resources.", - "type": "object" + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" }, "warning": { + "description": "[Output Only] Informational warning message.", "type": "object", "properties": { - "data": { - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "items": { - "type": "object", - "properties": { - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - }, - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - } - } - }, - "type": "array" - }, "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -1930,6 +1286,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -1948,6 +1305,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -1959,6 +1346,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -1976,29 +1364,54 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "type": "string" + ] }, "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } } - }, - "description": "[Output Only] Informational warning message." + } + }, + "unreachables": { + "description": "[Output Only] Unreachable resources.", + "type": "array", + "items": { + "type": "string" + } } - }, - "type": "object", - "id": "AutoscalerAggregatedList" + } }, - "TargetSslProxyList": { - "id": "TargetSslProxyList", + "OperationsScopedList": { + "id": "OperationsScopedList", + "type": "object", "properties": { - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." + "operations": { + "description": "[Output Only] A list of operations contained in this scope.", + "type": "array", + "items": { + "$ref": "Operation" + } }, "warning": { + "description": "[Output Only] Informational warning which replaces the list of operations when the list is empty.", + "type": "object", "properties": { "code": { "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", @@ -2014,6 +1427,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -2032,6 +1446,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -2043,6 +1487,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -2063,8 +1508,8 @@ ] }, "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" }, "data": { "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", @@ -2073,114 +1518,52 @@ "type": "object", "properties": { "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" }, "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" } } } } - }, - "type": "object", - "description": "[Output Only] Informational warning message." - }, + } + } + } + }, + "AddressList": { + "id": "AddressList", + "description": "Contains a list of addresses.", + "type": "object", + "properties": { "kind": { - "description": "Type of resource.", - "default": "compute#targetSslProxyList", + "description": "[Output Only] Type of resource. Always compute#addressList for lists of addresses.", + "default": "compute#addressList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", "type": "string" }, "items": { - "description": "A list of TargetSslProxy resources.", + "description": "A list of Address resources.", "type": "array", "items": { - "$ref": "TargetSslProxy" + "$ref": "Address" } }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." - }, - "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", "type": "string" - } - }, - "description": "Contains a list of TargetSslProxy resources.", - "type": "object" - }, - "TargetPoolAggregatedList": { - "properties": { - "items": { - "type": "object", - "description": "A list of TargetPool resources.", - "additionalProperties": { - "$ref": "TargetPoolsScopedList", - "description": "Name of the scope containing this set of target pools." - } - }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." - }, - "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." - }, - "kind": { - "default": "compute#targetPoolAggregatedList", - "type": "string", - "description": "[Output Only] Type of resource. Always compute#targetPoolAggregatedList for aggregated lists of target pools." - }, - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." - }, - "unreachables": { - "description": "[Output Only] Unreachable resources.", - "type": "array", - "items": { - "type": "string" - } }, "warning": { "description": "[Output Only] Informational warning message.", "type": "object", "properties": { "code": { - "type": "string", "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -2192,6 +1575,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -2209,74 +1593,337 @@ "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", "When undeclared properties in the schema are present", "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" ] }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", "items": { + "type": "object", "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, "value": { "description": "[Output Only] A warning data value corresponding to the key.", "type": "string" - }, - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." } - }, - "type": "object" - }, - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "type": "array" - }, - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" + } + } } } + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" } - }, - "type": "object", - "id": "TargetPoolAggregatedList" + } }, - "InstanceAggregatedList": { + "Address": { + "id": "Address", + "description": "Represents an IP Address resource. Google Compute Engine has two IP Address resources: * [Global (external and internal)](https://cloud.google.com/compute/docs/reference/rest/v1/globalAddresses) * [Regional (external and internal)](https://cloud.google.com/compute/docs/reference/rest/v1/addresses) For more information, see Reserving a static external IP address.", "type": "object", - "id": "InstanceAggregatedList", "properties": { - "unreachables": { - "description": "[Output Only] Unreachable resources.", + "kind": { + "description": "[Output Only] Type of the resource. Always compute#address for addresses.", + "default": "compute#address", + "type": "string" + }, + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", + "type": "string", + "format": "uint64" + }, + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" + }, + "name": { + "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "annotations": { + "required": [ + "compute.addresses.insert" + ] + }, + "type": "string" + }, + "description": { + "description": "An optional description of this resource. Provide this field when you create the resource.", + "type": "string" + }, + "address": { + "description": "The static IP address represented by this resource.", + "type": "string" + }, + "prefixLength": { + "description": "The prefix length if the resource represents an IP range.", + "type": "integer", + "format": "int32" + }, + "status": { + "description": "[Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. An address that is RESERVING is currently in the process of being reserved. A RESERVED address is currently reserved and available to use. An IN_USE address is currently being used by another resource and is not available.", + "type": "string", + "enumDescriptions": [ + "Address is being used by another resource and is not available.", + "Address is reserved and available to use.", + "Address is being reserved." + ], + "enum": [ + "IN_USE", + "RESERVED", + "RESERVING" + ] + }, + "region": { + "description": "[Output Only] The URL of the region where a regional address resides. For regional addresses, you must specify the region as a path parameter in the HTTP request URL. *This field is not applicable to global addresses.*", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", + "type": "string" + }, + "users": { + "description": "[Output Only] The URLs of the resources that are using this address.", "type": "array", "items": { "type": "string" } }, - "id": { + "networkTier": { + "description": "This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Internal IP addresses are always Premium Tier; global external IP addresses are always Premium Tier; regional external IP addresses can be either Standard or Premium Tier. If this field is not specified, it is assumed to be PREMIUM.", + "type": "string", + "enumDescriptions": [ + "Public internet quality with fixed bandwidth.", + "High quality, Google-grade network tier, support for all networking products.", + "Public internet quality, only limited support for other networking products.", + "(Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured." + ], + "enum": [ + "FIXED_STANDARD", + "PREMIUM", + "STANDARD", + "STANDARD_OVERRIDES_FIXED_STANDARD" + ] + }, + "labels": { + "description": "Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "labelFingerprint": { + "description": "A fingerprint for the labels being applied to this Address, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an Address.", "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." + "format": "byte" }, - "kind": { + "ipVersion": { + "description": "The IP version that will be used by this address. Valid options are IPV4 or IPV6.", "type": "string", - "description": "[Output Only] Type of resource. Always compute#instanceAggregatedList for aggregated lists of Instance resources.", - "default": "compute#instanceAggregatedList" + "enumDescriptions": [ + "", + "", + "" + ], + "enum": [ + "IPV4", + "IPV6", + "UNSPECIFIED_VERSION" + ] }, - "selfLink": { + "addressType": { + "description": "The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL.", + "type": "string", + "enumDescriptions": [ + "A publicly visible external IP address.", + "A private network IP address, for use with an Instance or Internal Load Balancer forwarding rule.", + "" + ], + "enum": [ + "EXTERNAL", + "INTERNAL", + "UNSPECIFIED_TYPE" + ] + }, + "purpose": { + "description": "The purpose of this resource, which can be one of the following values: - GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges, load balancers, and similar resources. - DNS_RESOLVER for a DNS resolver address in a subnetwork for a Cloud DNS inbound forwarder IP addresses (regional internal IP address in a subnet of a VPC network) - VPC_PEERING for global internal IP addresses used for private services access allocated ranges. - NAT_AUTO for the regional external IP addresses used by Cloud NAT when allocating addresses using automatic NAT IP address allocation. - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an *HA VPN over Cloud Interconnect* configuration. These addresses are regional resources. - `SHARED_LOADBALANCER_VIP` for an internal IP address that is assigned to multiple internal forwarding rules. - `PRIVATE_SERVICE_CONNECT` for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose. ", + "type": "string", + "enumDescriptions": [ + "DNS resolver address in the subnetwork.", + "VM internal/alias IP, Internal LB service IP, etc.", + "A regional internal IP address range reserved for the VLAN attachment that is used in HA VPN over Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment’s IP address range.", + "External IP automatically reserved for Cloud NAT.", + "A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL", + "A regional internal IP address range reserved for Serverless.", + "A private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.", + "IP range for peer networks." + ], + "enum": [ + "DNS_RESOLVER", + "GCE_ENDPOINT", + "IPSEC_INTERCONNECT", + "NAT_AUTO", + "PRIVATE_SERVICE_CONNECT", + "SERVERLESS", + "SHARED_LOADBALANCER_VIP", + "VPC_PEERING" + ] + }, + "subnetwork": { + "description": "The URL of the subnetwork in which to reserve the address. If an IP address is specified, it must be within the subnetwork's IP range. This field can only be used with INTERNAL type with a GCE_ENDPOINT or DNS_RESOLVER purpose.", + "type": "string" + }, + "network": { + "description": "The URL of the network in which to reserve the address. This field can only be used with INTERNAL type with the VPC_PEERING purpose.", + "type": "string" + }, + "ipv6EndpointType": { + "description": "The endpoint type of this address, which should be VM or NETLB. This is used for deciding which type of endpoint this address can be used after the external IPv6 address reservation.", + "type": "string", + "enumDescriptions": [ + "Reserved IPv6 address can be used on network load balancer.", + "Reserved IPv6 address can be used on VM." + ], + "enum": [ + "NETLB", + "VM" + ] + } + } + }, + "GlobalAddressesMoveRequest": { + "id": "GlobalAddressesMoveRequest", + "type": "object", + "properties": { + "destinationAddress": { + "description": "The URL of the destination address to move to. This can be a full or partial URL. For example, the following are all valid URLs to a address: - https://www.googleapis.com/compute/v1/projects/project /global/addresses/address - projects/project/global/addresses/address Note that destination project must be different from the source project. So /global/addresses/address is not valid partial url.", + "type": "string" + }, + "description": { + "description": "An optional destination address description if intended to be different from the source.", + "type": "string" + } + } + }, + "GlobalSetLabelsRequest": { + "id": "GlobalSetLabelsRequest", + "type": "object", + "properties": { + "labels": { + "description": "A list of labels to apply for this resource. Each label must comply with the requirements for labels. For example, \"webserver-frontend\": \"images\". A label value can also be empty (e.g. \"my-label\": \"\").", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "labelFingerprint": { + "description": "The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash when updating or changing labels, otherwise the request will fail with error 412 conditionNotMet. Make a get() request to the resource to get the latest fingerprint.", "type": "string", - "description": "[Output Only] Server-defined URL for this resource." + "format": "byte" + } + } + }, + "AddressAggregatedList": { + "id": "AddressAggregatedList", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of resource. Always compute#addressAggregatedList for aggregated lists of addresses.", + "default": "compute#addressAggregatedList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" }, "items": { - "description": "An object that contains a list of instances scoped by zone.", + "description": "A list of AddressesScopedList resources.", "type": "object", "additionalProperties": { - "description": "[Output Only] Name of the scope containing this set of instances.", - "$ref": "InstancesScopedList" + "description": "[Output Only] Name of the scope containing this set of addresses.", + "$ref": "AddressesScopedList" } }, "nextPageToken": { "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", "type": "string" }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", @@ -2289,6 +1936,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -2307,7 +1955,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -2319,6 +1996,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -2344,6 +2022,7 @@ }, "data": { "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", "items": { "type": "object", "properties": { @@ -2352,47 +2031,101 @@ "type": "string" }, "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" } } - }, - "type": "array" + } } - }, - "description": "[Output Only] Informational warning message.", - "type": "object" + } + }, + "unreachables": { + "description": "[Output Only] Unreachable resources.", + "type": "array", + "items": { + "type": "string" + } } } }, - "TargetTcpProxyAggregatedList": { + "AddressesScopedList": { + "id": "AddressesScopedList", "type": "object", - "id": "TargetTcpProxyAggregatedList", "properties": { + "addresses": { + "description": "[Output Only] A list of addresses contained in this scope.", + "type": "array", + "items": { + "$ref": "Address" + } + }, "warning": { + "description": "[Output Only] Informational warning which replaces the list of addresses when the list is empty.", + "type": "object", "properties": { - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - }, - "data": { - "type": "array", - "items": { - "properties": { - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - }, - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - } - }, - "type": "object" - }, - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } " - }, "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -2404,6 +2137,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -2421,8 +2155,101 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + } + } + }, + "RegionAddressesMoveRequest": { + "id": "RegionAddressesMoveRequest", + "type": "object", + "properties": { + "destinationAddress": { + "description": "The URL of the destination address to move to. This can be a full or partial URL. For example, the following are all valid URLs to a address: - https://www.googleapis.com/compute/v1/projects/project/regions/region /addresses/address - projects/project/regions/region/addresses/address Note that destination project must be different from the source project. So /regions/region/addresses/address is not valid partial url.", + "type": "string" + }, + "description": { + "description": "An optional destination address description if intended to be different from the source.", + "type": "string" + } + } + }, + "RegionSetLabelsRequest": { + "id": "RegionSetLabelsRequest", + "type": "object", + "properties": { + "labels": { + "description": "The labels to set for this resource.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "labelFingerprint": { + "description": "The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. Make a get() request to the resource to get the latest fingerprint.", + "type": "string", + "format": "byte" + } + } + }, + "ImageList": { + "id": "ImageList", + "description": "Contains a list of images.", + "type": "object", + "properties": { + "kind": { + "description": "Type of resource.", + "default": "compute#imageList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of Image resources.", + "type": "array", + "items": { + "$ref": "Image" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, + "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", + "properties": { + "code": { "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -2434,6 +2261,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -2452,169 +2280,35 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "type": "string" - } - }, - "description": "[Output Only] Informational warning message.", - "type": "object" - }, - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", - "type": "string" - }, - "unreachables": { - "items": { - "type": "string" - }, - "description": "[Output Only] Unreachable resources.", - "type": "array" - }, - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", - "type": "string" - }, - "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." - }, - "items": { - "additionalProperties": { - "description": "Name of the scope containing this set of TargetTcpProxies.", - "$ref": "TargetTcpProxiesScopedList" - }, - "description": "A list of TargetTcpProxiesScopedList resources.", - "type": "object" - }, - "kind": { - "description": "[Output Only] Type of resource. Always compute#targetTcpProxyAggregatedList for lists of Target TCP Proxies.", - "default": "compute#targetTcpProxyAggregatedList", - "type": "string" - } - } - }, - "ResourcePolicySnapshotSchedulePolicy": { - "id": "ResourcePolicySnapshotSchedulePolicy", - "description": "A snapshot schedule policy specifies when and how frequently snapshots are to be created for the target disk. Also specifies how many and how long these scheduled snapshots should be retained.", - "type": "object", - "properties": { - "schedule": { - "$ref": "ResourcePolicySnapshotSchedulePolicySchedule", - "description": "A Vm Maintenance Policy specifies what kind of infrastructure maintenance we are allowed to perform on this VM and when. Schedule that is applied to disks covered by this policy." - }, - "snapshotProperties": { - "$ref": "ResourcePolicySnapshotSchedulePolicySnapshotProperties", - "description": "Properties with which snapshots are created such as labels, encryption keys." - }, - "retentionPolicy": { - "description": "Retention policy applied to snapshots created by this resource policy.", - "$ref": "ResourcePolicySnapshotSchedulePolicyRetentionPolicy" - } - } - }, - "SecurityPolicyAdvancedOptionsConfig": { - "properties": { - "jsonCustomConfig": { - "$ref": "SecurityPolicyAdvancedOptionsConfigJsonCustomConfig", - "description": "Custom configuration to apply the JSON parsing. Only applicable when json_parsing is set to STANDARD." - }, - "jsonParsing": { - "enumDescriptions": [ - "", - "" - ], - "enum": [ - "DISABLED", - "STANDARD" - ], - "type": "string" - }, - "logLevel": { - "type": "string", - "enum": [ - "NORMAL", - "VERBOSE" - ], - "enumDescriptions": [ - "", - "" - ] - } - }, - "id": "SecurityPolicyAdvancedOptionsConfig", - "type": "object" - }, - "FirewallPolicyList": { - "id": "FirewallPolicyList", - "properties": { - "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." - }, - "kind": { - "default": "compute#firewallPolicyList", - "type": "string", - "description": "[Output Only] Type of resource. Always compute#firewallPolicyList for listsof FirewallPolicies" - }, - "items": { - "items": { - "$ref": "FirewallPolicy" - }, - "type": "array", - "description": "A list of FirewallPolicy resources." - }, - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", - "type": "string" - }, - "warning": { - "description": "[Output Only] Informational warning message.", - "properties": { - "data": { - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "items": { - "properties": { - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - }, - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "code": { - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false ], "enum": [ "CLEANUP_FAILED", @@ -2627,6 +2321,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -2644,951 +2339,863 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], - "type": "string", - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response." + ] }, "message": { "description": "[Output Only] A human-readable description of the warning code.", "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } } - }, - "type": "object" - } - }, - "type": "object" - }, - "DistributionPolicyZoneConfiguration": { - "id": "DistributionPolicyZoneConfiguration", - "properties": { - "zone": { - "description": "The URL of the zone. The zone must exist in the region where the managed instance group is located.", - "annotations": { - "required": [ - "compute.regionInstanceGroupManagers.insert" - ] - }, - "type": "string" - } - }, - "type": "object" - }, - "PacketMirroringFilter": { - "id": "PacketMirroringFilter", - "type": "object", - "properties": { - "direction": { - "enumDescriptions": [ - "Default, both directions are mirrored.", - "Only egress traffic is mirrored.", - "Only ingress traffic is mirrored." - ], - "enum": [ - "BOTH", - "EGRESS", - "INGRESS" - ], - "description": "Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH.", - "type": "string" - }, - "cidrRanges": { - "type": "array", - "items": { - "type": "string" - }, - "description": "IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. Only IPv4 is supported. If no ranges are specified, all traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored." - }, - "IPProtocols": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Protocols that apply as filter on mirrored traffic. If no protocols are specified, all traffic that matches the specified CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored." + } } } }, - "Operation": { + "Image": { + "id": "Image", + "description": "Represents an Image resource. You can use images to create boot disks for your VM instances. For more information, read Images.", "type": "object", - "description": "Represents an Operation resource. Google Compute Engine has three Operation resources: * [Global](/compute/docs/reference/rest/v1/globalOperations) * [Regional](/compute/docs/reference/rest/v1/regionOperations) * [Zonal](/compute/docs/reference/rest/v1/zoneOperations) You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses. Operations can be global, regional or zonal. - For global operations, use the `globalOperations` resource. - For regional operations, use the `regionOperations` resource. - For zonal operations, use the `zonalOperations` resource. For more information, read Global, Regional, and Zonal Resources.", - "id": "Operation", "properties": { - "user": { - "description": "[Output Only] User who requested the operation, for example: `user@example.com`.", + "kind": { + "description": "[Output Only] Type of the resource. Always compute#image for images.", + "default": "compute#image", "type": "string" }, - "httpErrorStatusCode": { - "format": "int32", - "description": "[Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a `404` means the resource was not found.", - "type": "integer" - }, - "warnings": { - "items": { - "type": "object", - "properties": { - "data": { - "items": { - "type": "object", - "properties": { - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - }, - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - } - } - }, - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "type": "array" - }, - "code": { - "type": "string", - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response." - }, - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - } - } - }, - "description": "[Output Only] If warning messages are generated during processing of the operation, this field will be populated.", - "type": "array" - }, - "operationGroupId": { - "description": "[Output Only] An ID that represents a group of operations, such as when a group of operations results from a `bulkInsert` API request.", - "type": "string" + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", + "type": "string", + "format": "uint64" }, "creationTimestamp": { - "description": "[Deprecated] This field is deprecated.", - "type": "string" - }, - "insertTime": { - "description": "[Output Only] The time that this operation was requested. This value is in RFC3339 text format.", + "description": "[Output Only] Creation timestamp in RFC3339 text format.", "type": "string" }, - "error": { - "properties": { - "errors": { - "items": { - "type": "object", - "properties": { - "message": { - "description": "[Output Only] An optional, human-readable error message.", - "type": "string" - }, - "code": { - "description": "[Output Only] The error type identifier for this error.", - "type": "string" - }, - "errorDetails": { - "description": "[Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED.", - "items": { - "type": "object", - "properties": { - "help": { - "$ref": "Help" - }, - "errorInfo": { - "$ref": "ErrorInfo" - }, - "localizedMessage": { - "$ref": "LocalizedMessage" - }, - "quotaInfo": { - "$ref": "QuotaExceededInfo" - } - } - }, - "type": "array" - }, - "location": { - "type": "string", - "description": "[Output Only] Indicates the field in the request that caused the error. This property is optional." - } - } - }, - "description": "[Output Only] The array of errors encountered while processing this operation.", - "type": "array" - } + "name": { + "description": "Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "annotations": { + "required": [ + "compute.images.insert" + ] }, - "type": "object", - "description": "[Output Only] If errors are generated during processing of the operation, this field will be populated." - }, - "zone": { - "description": "[Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.", - "type": "string" - }, - "region": { - "description": "[Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.", "type": "string" }, "description": { - "type": "string", - "description": "[Output Only] A textual description of the operation, which is set when the operation is created." + "description": "An optional description of this resource. Provide this property when you create the resource.", + "type": "string" }, - "operationType": { + "sourceType": { + "description": "The type of the image used to create this disk. The default and only valid value is RAW.", + "default": "RAW", "type": "string", - "description": "[Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on." - }, - "progress": { - "description": "[Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.", - "type": "integer", - "format": "int32" + "enumDescriptions": [ + "" + ], + "enum": [ + "RAW" + ] }, - "clientOperationId": { - "description": "[Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.", - "type": "string" + "rawDisk": { + "description": "The parameters of the raw disk image.", + "type": "object", + "properties": { + "source": { + "description": "The full Google Cloud Storage URL where the raw disk image archive is stored. The following are valid formats for the URL: - https://storage.googleapis.com/bucket_name/image_archive_name - https://storage.googleapis.com/bucket_name/folder_name/ image_archive_name In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL ", + "type": "string" + }, + "sha1Checksum": { + "description": "[Deprecated] This field is deprecated. An optional SHA1 checksum of the disk image before unpackaging provided by the client when the disk image is created.", + "pattern": "[a-f0-9]{40}", + "deprecated": true, + "type": "string" + }, + "containerType": { + "description": "The format used to encode and transmit the block device, which should be TAR. This is just a container and transmission format and not a runtime format. Provided by the client when the disk image is created.", + "type": "string", + "enumDescriptions": [ + "" + ], + "enum": [ + "TAR" + ] + } + } }, - "endTime": { - "description": "[Output Only] The time that this operation was completed. This value is in RFC3339 text format.", - "type": "string" + "deprecated": { + "description": "The deprecation status associated with this image.", + "$ref": "DeprecationStatus" }, - "statusMessage": { + "status": { + "description": "[Output Only] The status of the image. An image can be used to create other resources, such as instances, only after the image has been successfully created and the status is set to READY. Possible values are FAILED, PENDING, or READY.", "type": "string", - "description": "[Output Only] An optional textual description of the current status of the operation." + "enumDescriptions": [ + "Image is deleting.", + "Image creation failed due to an error.", + "Image hasn't been created as yet.", + "Image has been successfully created." + ], + "enum": [ + "DELETING", + "FAILED", + "PENDING", + "READY" + ] }, - "kind": { + "archiveSizeBytes": { + "description": "Size of the image tar.gz archive stored in Google Cloud Storage (in bytes).", "type": "string", - "description": "[Output Only] Type of the resource. Always `compute#operation` for Operation resources.", - "default": "compute#operation" + "format": "int64" }, - "targetId": { - "description": "[Output Only] The unique target ID, which identifies a specific incarnation of the target resource.", + "diskSizeGb": { + "description": "Size of the image when restored onto a persistent disk (in GB).", "type": "string", - "format": "uint64" + "format": "int64" }, - "startTime": { - "description": "[Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.", + "sourceDisk": { + "description": "URL of the source disk used to create this image. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL ", "type": "string" }, - "name": { - "description": "[Output Only] Name of the operation.", + "sourceDiskId": { + "description": "[Output Only] The ID value of the disk used to create this image. This value may be used to determine whether the image was taken from the current or a previous instance of a given disk name.", "type": "string" }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for the resource." + "licenses": { + "description": "Any applicable license URI.", + "type": "array", + "items": { + "type": "string" + } }, - "id": { - "type": "string", - "description": "[Output Only] The unique identifier for the operation. This identifier is defined by the server.", - "format": "uint64" + "family": { + "description": "The name of the image family to which this image belongs. The image family name can be from a publicly managed image family provided by Compute Engine, or from a custom image family you create. For example, centos-stream-9 is a publicly available image family. For more information, see Image family best practices. When creating disks, you can specify an image family instead of a specific image name. The image family always returns its latest image that is not deprecated. The name of the image family must comply with RFC1035.", + "type": "string" }, - "status": { - "description": "[Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.", - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string", - "enum": [ - "DONE", - "PENDING", - "RUNNING" - ] + "imageEncryptionKey": { + "description": "Encrypts the image using a customer-supplied encryption key. After you encrypt an image with a customer-supplied key, you must provide the same key if you use the image later (e.g. to create a disk from the image). Customer-supplied encryption keys do not protect access to metadata of the disk. If you do not provide an encryption key when creating the image, then the disk will be encrypted using an automatically generated key and you do not need to provide a key to use the image later.", + "$ref": "CustomerEncryptionKey" }, - "targetLink": { - "description": "[Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.", - "type": "string" + "sourceDiskEncryptionKey": { + "description": "The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.", + "$ref": "CustomerEncryptionKey" }, - "httpErrorMessage": { - "type": "string", - "description": "[Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`." - } - } - }, - "AddressAggregatedList": { - "id": "AddressAggregatedList", - "properties": { "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", + "description": "[Output Only] Server-defined URL for the resource.", "type": "string" }, - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." - }, - "items": { + "labels": { + "description": "Labels to apply to this image. These can be later modified by the setLabels method.", "type": "object", "additionalProperties": { - "description": "[Output Only] Name of the scope containing this set of addresses.", - "$ref": "AddressesScopedList" - }, - "description": "A list of AddressesScopedList resources." + "type": "string" + } }, - "unreachables": { + "labelFingerprint": { + "description": "A fingerprint for the labels being applied to this image, which is essentially a hash of the labels used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an image.", + "type": "string", + "format": "byte" + }, + "guestOsFeatures": { + "description": "A list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available options, see the guestOSfeatures[].type parameter.", "type": "array", "items": { - "type": "string" - }, - "description": "[Output Only] Unreachable resources." + "$ref": "GuestOsFeature" + } }, - "warning": { - "description": "[Output Only] Informational warning message.", - "properties": { - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, - "data": { - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "items": { - "type": "object", - "properties": { - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - }, - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - } - } - }, - "type": "array" - }, - "code": { - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ], - "type": "string", - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response." - } - }, - "type": "object" - }, - "kind": { - "default": "compute#addressAggregatedList", - "description": "[Output Only] Type of resource. Always compute#addressAggregatedList for aggregated lists of addresses.", - "type": "string" - }, - "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." - } - }, - "type": "object" - }, - "Route": { - "id": "Route", - "type": "object", - "properties": { - "name": { - "annotations": { - "required": [ - "compute.routes.insert" - ] - }, - "type": "string", - "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "licenseCodes": { + "description": "Integer license codes indicating which licenses are attached to this image.", + "type": "array", + "items": { + "type": "string", + "format": "int64" + } }, - "description": { - "description": "An optional description of this resource. Provide this field when you create the resource.", + "sourceImage": { + "description": "URL of the source image used to create this image. The following are valid formats for the URL: - https://www.googleapis.com/compute/v1/projects/project_id/global/ images/image_name - projects/project_id/global/images/image_name In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL ", "type": "string" }, - "selfLink": { - "description": "[Output Only] Server-defined fully-qualified URL for this resource.", + "sourceImageId": { + "description": "[Output Only] The ID value of the image used to create this image. This value may be used to determine whether the image was taken from the current or a previous instance of a given image name.", "type": "string" }, - "id": { - "type": "string", - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", - "format": "uint64" + "sourceImageEncryptionKey": { + "description": "The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key.", + "$ref": "CustomerEncryptionKey" }, - "nextHopGateway": { - "description": "The URL to a gateway that should handle matching packets. You can only specify the internet gateway using a full or partial valid URL: projects/ project/global/gateways/default-internet-gateway", + "sourceSnapshot": { + "description": "URL of the source snapshot used to create this image. The following are valid formats for the URL: - https://www.googleapis.com/compute/v1/projects/project_id/global/ snapshots/snapshot_name - projects/project_id/global/snapshots/snapshot_name In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL ", "type": "string" }, - "asPaths": { - "description": "[Output Only] AS path.", - "items": { - "$ref": "RouteAsPath" - }, - "type": "array" - }, - "kind": { - "type": "string", - "description": "[Output Only] Type of this resource. Always compute#routes for Route resources.", - "default": "compute#route" - }, - "creationTimestamp": { - "type": "string", - "description": "[Output Only] Creation timestamp in RFC3339 text format." - }, - "priority": { - "annotations": { - "required": [ - "compute.routes.insert" - ] - }, - "description": "The priority of this route. Priority is used to break ties in cases where there is more than one matching route of equal prefix length. In cases where multiple routes have equal prefix length, the one with the lowest-numbered priority value wins. The default value is `1000`. The priority value must be from `0` to `65535`, inclusive.", - "type": "integer", - "format": "uint32" - }, - "nextHopIp": { - "type": "string", - "description": "The network IP address of an instance that should handle matching packets. Only IPv4 is supported." - }, - "destRange": { - "description": "The destination range of outgoing packets that this route applies to. Both IPv4 and IPv6 are supported.", - "type": "string", - "annotations": { - "required": [ - "compute.routes.insert" - ] - } - }, - "network": { - "type": "string", - "annotations": { - "required": [ - "compute.routes.insert" - ] - }, - "description": "Fully-qualified URL of the network that this route applies to." + "sourceSnapshotId": { + "description": "[Output Only] The ID value of the snapshot used to create this image. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given snapshot name.", + "type": "string" }, - "nextHopPeering": { - "type": "string", - "description": "[Output Only] The network peering name that should handle matching packets, which should conform to RFC1035." + "sourceSnapshotEncryptionKey": { + "description": "The customer-supplied encryption key of the source snapshot. Required if the source snapshot is protected by a customer-supplied encryption key.", + "$ref": "CustomerEncryptionKey" }, - "tags": { - "description": "A list of instance tags to which this route applies.", - "annotations": { - "required": [ - "compute.routes.insert" - ] - }, + "storageLocations": { + "description": "Cloud Storage bucket storage location of the image (regional or multi-regional).", "type": "array", "items": { "type": "string" } }, - "warnings": { - "type": "array", - "description": "[Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages.", - "items": { - "properties": { - "code": { - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], - "type": "string", - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ] - }, - "data": { - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "type": "array", - "items": { - "type": "object", - "properties": { - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - }, - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - } - } - } - }, - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - } - }, - "type": "object" - } - }, - "nextHopInstance": { - "type": "string", - "description": "The URL to an instance that should handle matching packets. You can specify this as a full or partial URL. For example: https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/" + "shieldedInstanceInitialState": { + "description": "Set the secure boot keys of shielded instance.", + "$ref": "InitialStateConfig" }, - "nextHopNetwork": { - "description": "The URL of the local network if it should handle matching packets.", - "type": "string" + "satisfiesPzs": { + "description": "[Output Only] Reserved for future use.", + "type": "boolean" }, - "routeStatus": { - "enum": [ - "ACTIVE", - "DROPPED", - "INACTIVE", - "PENDING" - ], + "architecture": { + "description": "The architecture of the image. Valid values are ARM64 or X86_64.", "type": "string", "enumDescriptions": [ - "This route is processed and active.", - "The route is dropped due to the VPC exceeding the dynamic route limit. For dynamic route limit, please refer to the Learned route example", - "This route is processed but inactive due to failure from the backend. The backend may have rejected the route", - "This route is being processed internally. The status will change once processed." + "Default value indicating Architecture is not set.", + "Machines with architecture ARM64", + "Machines with architecture X86_64" ], - "description": "[Output only] The status of the route." + "enum": [ + "ARCHITECTURE_UNSPECIFIED", + "ARM64", + "X86_64" + ] }, - "nextHopIlb": { - "type": "string", - "description": "The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule. For example, the following are all valid URLs: - 10.128.0.56 - https://www.googleapis.com/compute/v1/projects/project/regions/region /forwardingRules/forwardingRule - regions/region/forwardingRules/forwardingRule " + "enableConfidentialCompute": { + "description": "Whether this image is created from a confidential compute mode disk. [Output Only]: This field is not set by user, but from source disk.", + "type": "boolean" }, - "nextHopVpnTunnel": { - "description": "The URL to a VpnTunnel that should handle matching packets.", + "satisfiesPzi": { + "description": "Output only. Reserved for future use.", + "readOnly": true, + "type": "boolean" + } + } + }, + "CustomerEncryptionKey": { + "id": "CustomerEncryptionKey", + "type": "object", + "properties": { + "rawKey": { + "description": "Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey. For example: \"rawKey\": \"SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0=\" ", "type": "string" }, - "routeType": { + "rsaEncryptedKey": { + "description": "Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey. For example: \"rsaEncryptedKey\": \"ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH z0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD D6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==\" The key must meet the following requirements before you can provide it to Compute Engine: 1. The key is wrapped using a RSA public key certificate provided by Google. 2. After being wrapped, the key must be encoded in RFC 4648 base64 encoding. Gets the RSA public key certificate provided by Google at: https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem ", + "type": "string" + }, + "kmsKeyName": { + "description": "The name of the encryption key that is stored in Google Cloud KMS. For example: \"kmsKeyName\": \"projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key The fully-qualifed key name may be returned for resource GET requests. For example: \"kmsKeyName\": \"projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key /cryptoKeyVersions/1 ", + "type": "string" + }, + "sha256": { + "description": "[Output only] The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource.", + "type": "string" + }, + "kmsKeyServiceAccount": { + "description": "The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used. For example: \"kmsKeyServiceAccount\": \"name@project_id.iam.gserviceaccount.com/ ", + "type": "string" + } + } + }, + "GuestOsFeature": { + "id": "GuestOsFeature", + "description": "Guest OS features.", + "type": "object", + "properties": { + "type": { + "description": "The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE - TDX_CAPABLE - IDPF For more information, see Enabling guest operating system features.", + "type": "string", "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "", + "", "", "", "", "" ], - "type": "string", - "description": "[Output Only] The type of this route, which can be one of the following values: - 'TRANSIT' for a transit route that this router learned from another Cloud Router and will readvertise to one of its BGP peers - 'SUBNET' for a route from a subnet of the VPC - 'BGP' for a route learned from a BGP peer of this router - 'STATIC' for a static route", "enum": [ - "BGP", - "STATIC", - "SUBNET", - "TRANSIT" + "FEATURE_TYPE_UNSPECIFIED", + "GVNIC", + "IDPF", + "MULTI_IP_SUBNET", + "SECURE_BOOT", + "SEV_CAPABLE", + "SEV_LIVE_MIGRATABLE", + "SEV_LIVE_MIGRATABLE_V2", + "SEV_SNP_CAPABLE", + "UEFI_COMPATIBLE", + "VIRTIO_SCSI_MULTIQUEUE", + "WINDOWS" ] } - }, - "description": "Represents a Route resource. A route defines a path from VM instances in the VPC network to a specific destination. This destination can be inside or outside the VPC network. For more information, read the Routes overview." + } }, - "PublicDelegatedPrefixesScopedList": { + "InitialStateConfig": { + "id": "InitialStateConfig", + "description": "Initial State for shielded instance, these are public keys which are safe to store in public", + "type": "object", "properties": { - "publicDelegatedPrefixes": { + "pk": { + "description": "The Platform Key (PK).", + "$ref": "FileContentBuffer" + }, + "keks": { + "description": "The Key Exchange Key (KEK).", "type": "array", - "description": "[Output Only] A list of PublicDelegatedPrefixes contained in this scope.", "items": { - "$ref": "PublicDelegatedPrefix" + "$ref": "FileContentBuffer" } }, - "warning": { - "description": "[Output Only] Informational warning which replaces the list of public delegated prefixes when the list is empty.", - "properties": { - "data": { - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "items": { - "properties": { - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - }, - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - } - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - }, - "code": { - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], - "type": "string", - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response." - } - }, - "type": "object" + "dbs": { + "description": "The Key Database (db).", + "type": "array", + "items": { + "$ref": "FileContentBuffer" + } + }, + "dbxs": { + "description": "The forbidden key database (dbx).", + "type": "array", + "items": { + "$ref": "FileContentBuffer" + } } - }, - "type": "object", - "id": "PublicDelegatedPrefixesScopedList" + } }, - "InterconnectDiagnosticsLinkOpticalPower": { + "FileContentBuffer": { + "id": "FileContentBuffer", "type": "object", - "id": "InterconnectDiagnosticsLinkOpticalPower", "properties": { - "state": { - "enum": [ - "HIGH_ALARM", - "HIGH_WARNING", - "LOW_ALARM", - "LOW_WARNING", - "OK" - ], + "content": { + "description": "The raw content in the secure keys file.", + "type": "string", + "format": "byte" + }, + "fileType": { + "description": "The file type of source file.", "type": "string", "enumDescriptions": [ - "The value has crossed above the high alarm threshold.", - "The value of the current optical power has crossed above the high warning threshold.", - "The value of the current optical power has crossed below the low alarm threshold.", - "The value of the current optical power has crossed below the low warning threshold.", - "The value of the current optical power has not crossed a warning threshold." + "", + "", + "" ], - "description": "The status of the current value when compared to the warning and alarm levels for the receiving or transmitting transceiver. Possible states include: - OK: The value has not crossed a warning threshold. - LOW_WARNING: The value has crossed below the low warning threshold. - HIGH_WARNING: The value has crossed above the high warning threshold. - LOW_ALARM: The value has crossed below the low alarm threshold. - HIGH_ALARM: The value has crossed above the high alarm threshold. " - }, - "value": { - "description": "Value of the current receiving or transmitting optical power, read in dBm. Take a known good optical value, give it a 10% margin and trigger warnings relative to that value. In general, a -7dBm warning and a -11dBm alarm are good optical value estimates for most links.", - "type": "number", - "format": "float" + "enum": [ + "BIN", + "UNDEFINED", + "X509" + ] } } }, - "RouterBgpPeer": { + "Policy": { + "id": "Policy", + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time \u003c timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time \u003c timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", "type": "object", "properties": { - "managementType": { + "version": { + "description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", + "type": "integer", + "format": "int32" + }, + "bindings": { + "description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", + "type": "array", + "items": { + "$ref": "Binding" + } + }, + "auditConfigs": { + "description": "Specifies cloud audit logging configuration for this policy.", + "type": "array", + "items": { + "$ref": "AuditConfig" + } + }, + "rules": { + "description": "This is deprecated and has no effect. Do not use.", + "type": "array", + "items": { + "$ref": "Rule" + } + }, + "etag": { + "description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", "type": "string", - "enum": [ - "MANAGED_BY_ATTACHMENT", - "MANAGED_BY_USER" - ], - "description": "[Output Only] The resource that configures and manages this BGP peer. - MANAGED_BY_USER is the default value and can be managed by you or other users - MANAGED_BY_ATTACHMENT is a BGP peer that is configured and managed by Cloud Interconnect, specifically by an InterconnectAttachment of type PARTNER. Google automatically creates, updates, and deletes this type of BGP peer when the PARTNER InterconnectAttachment is created, updated, or deleted. ", - "enumDescriptions": [ - "The BGP peer is automatically created for PARTNER type InterconnectAttachment; Google will automatically create/delete this BGP peer when the PARTNER InterconnectAttachment is created/deleted, and Google will update the ipAddress and peerIpAddress when the PARTNER InterconnectAttachment is provisioned. This type of BGP peer cannot be created or deleted, but can be modified for all fields except for name, ipAddress and peerIpAddress.", - "Default value, the BGP peer is manually created and managed by user." - ] + "format": "byte" + } + } + }, + "Binding": { + "id": "Binding", + "description": "Associates `members`, or principals, with a `role`.", + "type": "object", + "properties": { + "role": { + "description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", + "type": "string" }, - "routerApplianceInstance": { - "description": "URI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances. The VM instance must be located in zones contained in the same region as this Cloud Router. The VM instance is the peer side of the BGP session.", + "members": { + "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", + "type": "array", + "items": { + "type": "string" + } + }, + "condition": { + "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", + "$ref": "Expr" + }, + "bindingId": { + "description": "This is deprecated and has no effect. Do not use.", + "type": "string" + } + } + }, + "Expr": { + "id": "Expr", + "description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() \u003c 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", + "type": "object", + "properties": { + "expression": { + "description": "Textual representation of an expression in Common Expression Language syntax.", "type": "string" }, - "ipAddress": { - "type": "string", - "description": "IP address of the interface inside Google Cloud Platform. Only IPv4 is supported." + "title": { + "description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", + "type": "string" }, - "enable": { - "description": "The status of the BGP peer connection. If set to FALSE, any active session with the peer is terminated and all associated routing information is removed. If set to TRUE, the peer connection can be established with routing information. The default is TRUE.", + "description": { + "description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", + "type": "string" + }, + "location": { + "description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", + "type": "string" + } + } + }, + "AuditLogConfig": { + "id": "AuditLogConfig", + "description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", + "type": "object", + "properties": { + "logType": { + "description": "The log type that this config enables.", + "type": "string", "enumDescriptions": [ - "", - "" + "Admin reads. Example: CloudIAM getIamPolicy", + "Data reads. Example: CloudSQL Users list", + "Data writes. Example: CloudSQL Users create", + "Default case. Should never be this." ], "enum": [ - "FALSE", - "TRUE" - ], - "type": "string" + "ADMIN_READ", + "DATA_READ", + "DATA_WRITE", + "LOG_TYPE_UNSPECIFIED" + ] }, - "enableIpv6": { - "type": "boolean", - "description": "Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default." + "exemptedMembers": { + "description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", + "type": "array", + "items": { + "type": "string" + } }, - "ipv6NexthopAddress": { - "description": "IPv6 address of the interface inside Google Cloud Platform.", + "ignoreChildExemptions": { + "description": "This is deprecated and has no effect. Do not use.", + "type": "boolean" + } + } + }, + "Rule": { + "id": "Rule", + "description": "This is deprecated and has no effect. Do not use.", + "type": "object", + "properties": { + "description": { + "description": "This is deprecated and has no effect. Do not use.", "type": "string" }, - "peerAsn": { - "type": "integer", - "format": "uint32", - "description": "Peer BGP Autonomous System Number (ASN). Each BGP interface may use a different value.", - "annotations": { - "required": [ - "compute.routers.insert" - ] + "permissions": { + "description": "This is deprecated and has no effect. Do not use.", + "type": "array", + "items": { + "type": "string" } }, - "peerIpAddress": { - "description": "IP address of the BGP interface outside Google Cloud Platform. Only IPv4 is supported.", - "type": "string" + "action": { + "description": "This is deprecated and has no effect. Do not use.", + "type": "string", + "enumDescriptions": [ + "This is deprecated and has no effect. Do not use.", + "This is deprecated and has no effect. Do not use.", + "This is deprecated and has no effect. Do not use.", + "This is deprecated and has no effect. Do not use.", + "This is deprecated and has no effect. Do not use.", + "This is deprecated and has no effect. Do not use." + ], + "enum": [ + "ALLOW", + "ALLOW_WITH_LOG", + "DENY", + "DENY_WITH_LOG", + "LOG", + "NO_ACTION" + ] }, - "advertisedGroups": { + "ins": { + "description": "This is deprecated and has no effect. Do not use.", "type": "array", - "description": "User-specified list of prefix groups to advertise in custom mode, which can take one of the following options: - ALL_SUBNETS: Advertises all available subnets, including peer VPC subnets. - ALL_VPC_SUBNETS: Advertises the router's own VPC subnets. Note that this field can only be populated if advertise_mode is CUSTOM and overrides the list defined for the router (in the \"bgp\" message). These groups are advertised in addition to any specified prefixes. Leave this field blank to advertise no custom groups.", "items": { - "type": "string", - "enumDescriptions": [ - "Advertise all available subnets (including peer VPC subnets)." - ], - "enum": [ - "ALL_SUBNETS" - ] + "type": "string" } }, - "bfd": { - "description": "BFD configuration for the BGP peering.", - "$ref": "RouterBgpPeerBfd" + "notIns": { + "description": "This is deprecated and has no effect. Do not use.", + "type": "array", + "items": { + "type": "string" + } }, - "advertisedRoutePriority": { - "description": "The priority of routes advertised to this BGP peer. Where there is more than one matching route of maximum length, the routes with the lowest priority value win.", - "type": "integer", - "format": "uint32" + "conditions": { + "description": "This is deprecated and has no effect. Do not use.", + "type": "array", + "items": { + "$ref": "Condition" + } }, - "advertiseMode": { + "logConfigs": { + "description": "This is deprecated and has no effect. Do not use.", + "type": "array", + "items": { + "$ref": "LogConfig" + } + } + } + }, + "Condition": { + "id": "Condition", + "description": "This is deprecated and has no effect. Do not use.", + "type": "object", + "properties": { + "iam": { + "description": "This is deprecated and has no effect. Do not use.", "type": "string", "enumDescriptions": [ - "", - "" + "This is deprecated and has no effect. Do not use.", + "This is deprecated and has no effect. Do not use.", + "This is deprecated and has no effect. Do not use.", + "This is deprecated and has no effect. Do not use.", + "This is deprecated and has no effect. Do not use.", + "This is deprecated and has no effect. Do not use.", + "This is deprecated and has no effect. Do not use.", + "This is deprecated and has no effect. Do not use." ], "enum": [ - "CUSTOM", - "DEFAULT" + "APPROVER", + "ATTRIBUTION", + "AUTHORITY", + "CREDENTIALS_TYPE", + "CREDS_ASSERTION", + "JUSTIFICATION_TYPE", + "NO_ATTR", + "SECURITY_REALM" + ] + }, + "sys": { + "description": "This is deprecated and has no effect. Do not use.", + "type": "string", + "enumDescriptions": [ + "This is deprecated and has no effect. Do not use.", + "This is deprecated and has no effect. Do not use.", + "This is deprecated and has no effect. Do not use.", + "This is deprecated and has no effect. Do not use.", + "This is deprecated and has no effect. Do not use." ], - "description": "User-specified flag to indicate which mode to use for advertisement." + "enum": [ + "IP", + "NAME", + "NO_ATTR", + "REGION", + "SERVICE" + ] }, - "name": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "annotations": { - "required": [ - "compute.routers.insert" - ] - }, - "description": "Name of this BGP peer. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "svc": { + "description": "This is deprecated and has no effect. Do not use.", "type": "string" }, - "interfaceName": { - "description": "Name of the interface the BGP peer is associated with.", + "op": { + "description": "This is deprecated and has no effect. Do not use.", + "type": "string", + "enumDescriptions": [ + "This is deprecated and has no effect. Do not use.", + "This is deprecated and has no effect. Do not use.", + "This is deprecated and has no effect. Do not use.", + "This is deprecated and has no effect. Do not use.", + "This is deprecated and has no effect. Do not use.", + "This is deprecated and has no effect. Do not use." + ], + "enum": [ + "DISCHARGED", + "EQUALS", + "IN", + "NOT_EQUALS", + "NOT_IN", + "NO_OP" + ] + }, + "values": { + "description": "This is deprecated and has no effect. Do not use.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "LogConfig": { + "id": "LogConfig", + "description": "This is deprecated and has no effect. Do not use.", + "type": "object", + "properties": { + "counter": { + "description": "This is deprecated and has no effect. Do not use.", + "$ref": "LogConfigCounterOptions" + }, + "dataAccess": { + "description": "This is deprecated and has no effect. Do not use.", + "$ref": "LogConfigDataAccessOptions" + }, + "cloudAudit": { + "description": "This is deprecated and has no effect. Do not use.", + "$ref": "LogConfigCloudAuditOptions" + } + } + }, + "LogConfigCounterOptions": { + "id": "LogConfigCounterOptions", + "description": "This is deprecated and has no effect. Do not use.", + "type": "object", + "properties": { + "metric": { + "description": "This is deprecated and has no effect. Do not use.", "type": "string" }, - "peerIpv6NexthopAddress": { - "description": "IPv6 address of the BGP interface outside Google Cloud Platform.", + "field": { + "description": "This is deprecated and has no effect. Do not use.", "type": "string" }, - "advertisedIpRanges": { + "customFields": { + "description": "This is deprecated and has no effect. Do not use.", + "type": "array", "items": { - "$ref": "RouterAdvertisedIpRange" - }, - "description": "User-specified list of individual IP ranges to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and overrides the list defined for the router (in the \"bgp\" message). These IP ranges are advertised in addition to any specified groups. Leave this field blank to advertise no custom IP ranges.", - "type": "array" + "$ref": "LogConfigCounterOptionsCustomField" + } + } + } + }, + "LogConfigCounterOptionsCustomField": { + "id": "LogConfigCounterOptionsCustomField", + "description": "This is deprecated and has no effect. Do not use.", + "type": "object", + "properties": { + "name": { + "description": "This is deprecated and has no effect. Do not use.", + "type": "string" }, - "md5AuthenticationKeyName": { - "description": "Present if MD5 authentication is enabled for the peering. Must be the name of one of the entries in the Router.md5_authentication_keys. The field must comply with RFC1035.", + "value": { + "description": "This is deprecated and has no effect. Do not use.", "type": "string" } - }, - "id": "RouterBgpPeer" + } }, - "SecurityPoliciesScopedList": { + "LogConfigDataAccessOptions": { + "id": "LogConfigDataAccessOptions", + "description": "This is deprecated and has no effect. Do not use.", + "type": "object", "properties": { - "securityPolicies": { - "description": "A list of SecurityPolicies contained in this scope.", + "logMode": { + "description": "This is deprecated and has no effect. Do not use.", + "type": "string", + "enumDescriptions": [ + "This is deprecated and has no effect. Do not use.", + "This is deprecated and has no effect. Do not use." + ], + "enum": [ + "LOG_FAIL_CLOSED", + "LOG_MODE_UNSPECIFIED" + ] + } + } + }, + "LogConfigCloudAuditOptions": { + "id": "LogConfigCloudAuditOptions", + "description": "This is deprecated and has no effect. Do not use.", + "type": "object", + "properties": { + "logName": { + "description": "This is deprecated and has no effect. Do not use.", + "type": "string", + "enumDescriptions": [ + "This is deprecated and has no effect. Do not use.", + "This is deprecated and has no effect. Do not use.", + "This is deprecated and has no effect. Do not use." + ], + "enum": [ + "ADMIN_ACTIVITY", + "DATA_ACCESS", + "UNSPECIFIED_LOG_NAME" + ] + }, + "authorizationLoggingOptions": { + "description": "This is deprecated and has no effect. Do not use.", + "$ref": "AuthorizationLoggingOptions" + } + } + }, + "AuthorizationLoggingOptions": { + "id": "AuthorizationLoggingOptions", + "description": "This is deprecated and has no effect. Do not use.", + "type": "object", + "properties": { + "permissionType": { + "description": "This is deprecated and has no effect. Do not use.", + "type": "string", + "enumDescriptions": [ + "This is deprecated and has no effect. Do not use.", + "This is deprecated and has no effect. Do not use.", + "This is deprecated and has no effect. Do not use.", + "This is deprecated and has no effect. Do not use.", + "This is deprecated and has no effect. Do not use." + ], + "enum": [ + "ADMIN_READ", + "ADMIN_WRITE", + "DATA_READ", + "DATA_WRITE", + "PERMISSION_TYPE_UNSPECIFIED" + ] + } + } + }, + "GlobalSetPolicyRequest": { + "id": "GlobalSetPolicyRequest", + "type": "object", + "properties": { + "policy": { + "description": "REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them.", + "$ref": "Policy" + }, + "bindings": { + "description": "Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.", + "type": "array", "items": { - "$ref": "SecurityPolicy" - }, - "type": "array" + "$ref": "Binding" + } + }, + "etag": { + "description": "Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.", + "type": "string", + "format": "byte" + } + } + }, + "TestPermissionsRequest": { + "id": "TestPermissionsRequest", + "type": "object", + "properties": { + "permissions": { + "description": "The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "TestPermissionsResponse": { + "id": "TestPermissionsResponse", + "type": "object", + "properties": { + "permissions": { + "description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "ImageFamilyView": { + "id": "ImageFamilyView", + "type": "object", + "properties": { + "image": { + "description": "The latest image that is part of the specified image family in the requested location, and that is not deprecated.", + "$ref": "Image" + } + } + }, + "SnapshotList": { + "id": "SnapshotList", + "description": "Contains a list of Snapshot resources.", + "type": "object", + "properties": { + "kind": { + "description": "Type of resource.", + "default": "compute#snapshotList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of Snapshot resources.", + "type": "array", + "items": { + "$ref": "Snapshot" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" }, "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { "code": { "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -3600,6 +3207,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -3618,6 +3226,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -3629,6 +3267,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -3646,716 +3285,279 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", "type": "string" }, "data": { - "type": "array", "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", "items": { "type": "object", "properties": { - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - }, "key": { "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", "type": "string" - } - } - } - }, - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } } - }, - "description": "Informational warning which replaces the list of security policies when the list is empty.", - "type": "object" + } } - }, - "type": "object", - "id": "SecurityPoliciesScopedList" + } }, - "BackendBucket": { + "Snapshot": { + "id": "Snapshot", + "description": "Represents a Persistent Disk Snapshot resource. You can use snapshots to back up data on a regular interval. For more information, read Creating persistent disk snapshots.", "type": "object", "properties": { - "enableCdn": { - "type": "boolean", - "description": "If true, enable Cloud CDN for this BackendBucket." - }, - "customResponseHeaders": { - "items": { - "type": "string" - }, - "description": "Headers that the HTTP/S load balancer should add to proxied responses.", - "type": "array" - }, "kind": { - "type": "string", - "description": "Type of the resource.", - "default": "compute#backendBucket" - }, - "edgeSecurityPolicy": { - "type": "string", - "description": "[Output Only] The resource URL for the edge security policy associated with this backend bucket." - }, - "cdnPolicy": { - "$ref": "BackendBucketCdnPolicy", - "description": "Cloud CDN configuration for this BackendBucket." - }, - "creationTimestamp": { - "type": "string", - "description": "[Output Only] Creation timestamp in RFC3339 text format." - }, - "id": { - "type": "string", - "format": "uint64", - "description": "[Output Only] Unique identifier for the resource; defined by the server." - }, - "description": { - "description": "An optional textual description of the resource; provided by the client when the resource is created.", + "description": "[Output Only] Type of the resource. Always compute#snapshot for Snapshot resources.", + "default": "compute#snapshot", "type": "string" }, - "bucketName": { - "type": "string", - "description": "Cloud Storage bucket name." - }, - "selfLink": { + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", "type": "string", - "description": "[Output Only] Server-defined URL for the resource." + "format": "uint64" }, - "compressionMode": { - "enum": [ - "AUTOMATIC", - "DISABLED" - ], - "description": "Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.", - "enumDescriptions": [ - "Automatically uses the best compression based on the Accept-Encoding header sent by the client.", - "Disables compression. Existing compressed responses cached by Cloud CDN will not be served to clients." - ], + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", "type": "string" }, "name": { + "description": "Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", - "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash." - } - }, - "description": "Represents a Cloud Storage Bucket resource. This Cloud Storage bucket resource is referenced by a URL map of a load balancer. For more information, read Backend Buckets.", - "id": "BackendBucket" - }, - "PreservedStatePreservedDisk": { - "id": "PreservedStatePreservedDisk", - "properties": { - "source": { - "type": "string", - "description": "The URL of the disk resource that is stateful and should be attached to the VM instance." - }, - "mode": { - "description": "The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not specified, the default is to attach the disk in READ_WRITE mode.", - "enum": [ - "READ_ONLY", - "READ_WRITE" - ], - "enumDescriptions": [ - "Attaches this disk in read-only mode. Multiple VM instances can use a disk in READ_ONLY mode at a time.", - "*[Default]* Attaches this disk in READ_WRITE mode. Only one VM instance at a time can be attached to a disk in READ_WRITE mode." - ], - "type": "string" - }, - "autoDelete": { - "enum": [ - "NEVER", - "ON_PERMANENT_INSTANCE_DELETION" - ], - "type": "string", - "enumDescriptions": [ - "", - "" - ], - "description": "These stateful disks will never be deleted during autohealing, update, instance recreate operations. This flag is used to configure if the disk should be deleted after it is no longer used by the group, e.g. when the given instance or the whole MIG is deleted. Note: disks attached in READ_ONLY mode cannot be auto-deleted." - } - }, - "type": "object" - }, - "SslPolicy": { - "properties": { - "warnings": { - "items": { - "properties": { - "code": { - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ], - "type": "string", - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response." - }, - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - }, - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - }, - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - } - } - }, - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } " - } - }, - "type": "object" + "annotations": { + "required": [ + "compute.disks.createSnapshot", + "compute.snapshots.insert" + ] }, - "type": "array", - "description": "[Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages." + "type": "string" }, - "region": { - "type": "string", - "description": "[Output Only] URL of the region where the regional SSL policy resides. This field is not applicable to global SSL policies." + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource.", + "type": "string" }, - "minTlsVersion": { + "status": { + "description": "[Output Only] The status of the snapshot. This can be CREATING, DELETING, FAILED, READY, or UPLOADING.", "type": "string", "enumDescriptions": [ - "TLS 1.0", - "TLS 1.1", - "TLS 1.2" + "Snapshot creation is in progress.", + "Snapshot is currently being deleted.", + "Snapshot creation failed.", + "Snapshot has been created successfully.", + "Snapshot is being uploaded." ], - "description": "The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2.", "enum": [ - "TLS_1_0", - "TLS_1_1", - "TLS_1_2" + "CREATING", + "DELETING", + "FAILED", + "READY", + "UPLOADING" ] }, - "id": { - "type": "string", - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", - "format": "uint64" - }, - "profile": { - "enumDescriptions": [ - "Compatible profile. Allows the broadset set of clients, even those which support only out-of-date SSL features to negotiate with the load balancer.", - "Custom profile. Allow only the set of allowed SSL features specified in the customFeatures field.", - "Modern profile. Supports a wide set of SSL features, allowing modern clients to negotiate SSL with the load balancer.", - "Restricted profile. Supports a reduced set of SSL features, intended to meet stricter compliance requirements." - ], - "description": "Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field.", - "enum": [ - "COMPATIBLE", - "CUSTOM", - "MODERN", - "RESTRICTED" - ], + "sourceDisk": { + "description": "The source disk used to create this snapshot.", "type": "string" }, - "kind": { - "type": "string", - "description": "[Output only] Type of the resource. Always compute#sslPolicyfor SSL policies.", - "default": "compute#sslPolicy" - }, - "name": { - "description": "Name of the resource. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" - }, - "fingerprint": { - "type": "string", - "description": "Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a SslPolicy. An up-to-date fingerprint must be provided in order to update the SslPolicy, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an SslPolicy.", - "format": "byte" - }, - "customFeatures": { - "description": "A list of features enabled when the selected profile is CUSTOM. The method returns the set of features that can be specified in this list. This field must be empty if the profile is not CUSTOM.", - "items": { - "type": "string" - }, - "type": "array" - }, - "creationTimestamp": { - "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "sourceDiskId": { + "description": "[Output Only] The ID value of the disk used to create this snapshot. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given disk name.", "type": "string" }, - "enabledFeatures": { - "type": "array", - "items": { - "type": "string" - }, - "description": "[Output Only] The list of features enabled in the SSL policy." - }, - "selfLink": { + "diskSizeGb": { + "description": "[Output Only] Size of the source disk, specified in GB.", "type": "string", - "description": "[Output Only] Server-defined URL for the resource." + "format": "int64" }, - "description": { - "description": "An optional description of this resource. Provide this property when you create the resource.", - "type": "string" - } - }, - "id": "SslPolicy", - "description": "Represents an SSL Policy resource. Use SSL policies to control the SSL features, such as versions and cipher suites, offered by an HTTPS or SSL Proxy load balancer. For more information, read SSL Policy Concepts.", - "type": "object" - }, - "UrlMapsValidateResponse": { - "type": "object", - "id": "UrlMapsValidateResponse", - "properties": { - "result": { - "$ref": "UrlMapValidationResult" - } - } - }, - "SavedAttachedDisk": { - "description": "DEPRECATED: Please use compute#savedDisk instead. An instance-attached disk resource.", - "type": "object", - "properties": { "storageBytes": { - "format": "int64", + "description": "[Output Only] A size of the storage used by the snapshot. As snapshots share storage, this number is expected to change with snapshot creation/deletion.", "type": "string", - "description": "[Output Only] A size of the storage used by the disk's snapshot by this machine image." - }, - "diskSizeGb": { - "type": "string", - "format": "int64", - "description": "The size of the disk in base-2 GB." - }, - "diskEncryptionKey": { - "description": "The encryption key for the disk.", - "$ref": "CustomerEncryptionKey" - }, - "licenses": { - "type": "array", - "items": { - "type": "string" - }, - "description": "[Output Only] Any valid publicly visible licenses." - }, - "mode": { - "enum": [ - "READ_ONLY", - "READ_WRITE" - ], - "enumDescriptions": [ - "Attaches this disk in read-only mode. Multiple virtual machines can use a disk in read-only mode at a time.", - "*[Default]* Attaches this disk in read-write mode. Only one virtual machine at a time can be attached to a disk in read-write mode." - ], - "description": "The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY.", - "type": "string" + "format": "int64" }, "storageBytesStatus": { - "enum": [ - "UPDATING", - "UP_TO_DATE" - ], - "type": "string", "description": "[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date.", - "enumDescriptions": [ - "", - "" - ] - }, - "type": { - "description": "Specifies the type of the attached disk, either SCRATCH or PERSISTENT.", - "enumDescriptions": [ - "", - "" - ], - "enum": [ - "PERSISTENT", - "SCRATCH" - ], - "type": "string" - }, - "deviceName": { - "type": "string", - "description": "Specifies the name of the disk attached to the source instance." - }, - "source": { "type": "string", - "description": "Specifies a URL of the disk attached to the source instance." - }, - "interface": { "enumDescriptions": [ "", "" ], - "type": "string", - "description": "Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.", "enum": [ - "NVME", - "SCSI" + "UPDATING", + "UP_TO_DATE" ] }, - "autoDelete": { - "type": "boolean", - "description": "Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance)." + "licenses": { + "description": "[Output Only] A list of public visible licenses that apply to this snapshot. This can be because the original image had licenses attached (such as a Windows image).", + "type": "array", + "items": { + "type": "string" + } }, - "boot": { - "type": "boolean", - "description": "Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem." + "snapshotEncryptionKey": { + "description": "Encrypts the snapshot using a customer-supplied encryption key. After you encrypt a snapshot using a customer-supplied key, you must provide the same key if you use the snapshot later. For example, you must provide the encryption key when you create a disk from the encrypted snapshot in a future request. Customer-supplied encryption keys do not protect access to metadata of the snapshot. If you do not provide an encryption key when creating the snapshot, then the snapshot will be encrypted using an automatically generated key and you do not need to provide a key to use the snapshot later.", + "$ref": "CustomerEncryptionKey" }, - "diskType": { - "type": "string", - "description": "[Output Only] URL of the disk type resource. For example: projects/project /zones/zone/diskTypes/pd-standard or pd-ssd" + "sourceDiskEncryptionKey": { + "description": "The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.", + "$ref": "CustomerEncryptionKey" }, - "guestOsFeatures": { - "description": "A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.", - "items": { - "$ref": "GuestOsFeature" - }, - "type": "array" + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", + "type": "string" }, - "kind": { - "description": "[Output Only] Type of the resource. Always compute#attachedDisk for attached disks.", - "type": "string", - "default": "compute#savedAttachedDisk" + "labels": { + "description": "Labels to apply to this snapshot. These can be later modified by the setLabels method. Label values may be empty.", + "type": "object", + "additionalProperties": { + "type": "string" + } }, - "index": { - "type": "integer", - "format": "int32", - "description": "Specifies zero-based index of the disk that is attached to the source instance." - } - }, - "id": "SavedAttachedDisk" - }, - "FirewallPoliciesListAssociationsResponse": { - "properties": { - "kind": { + "labelFingerprint": { + "description": "A fingerprint for the labels being applied to this snapshot, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a snapshot.", "type": "string", - "default": "compute#firewallPoliciesListAssociationsResponse", - "description": "[Output Only] Type of firewallPolicy associations. Always compute#FirewallPoliciesListAssociations for lists of firewallPolicy associations." + "format": "byte" }, - "associations": { - "description": "A list of associations.", + "licenseCodes": { + "description": "[Output Only] Integer license codes indicating which licenses are attached to this snapshot.", "type": "array", "items": { - "$ref": "FirewallPolicyAssociation" + "type": "string", + "format": "int64" } - } - }, - "type": "object", - "id": "FirewallPoliciesListAssociationsResponse" - }, - "Image": { - "description": "Represents an Image resource. You can use images to create boot disks for your VM instances. For more information, read Images.", - "id": "Image", - "properties": { - "rawDisk": { - "properties": { - "sha1Checksum": { - "description": "[Deprecated] This field is deprecated. An optional SHA1 checksum of the disk image before unpackaging provided by the client when the disk image is created.", - "pattern": "[a-f0-9]{40}", - "type": "string" - }, - "containerType": { - "type": "string", - "enum": [ - "TAR" - ], - "description": "The format used to encode and transmit the block device, which should be TAR. This is just a container and transmission format and not a runtime format. Provided by the client when the disk image is created.", - "enumDescriptions": [ - "" - ] - }, - "source": { - "description": "The full Google Cloud Storage URL where the raw disk image archive is stored. The following are valid formats for the URL: - https://storage.googleapis.com/bucket_name/image_archive_name - https://storage.googleapis.com/bucket_name/folder_name/ image_archive_name In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL ", - "type": "string" - } - }, - "type": "object", - "description": "The parameters of the raw disk image." }, "storageLocations": { + "description": "Cloud Storage bucket storage location of the snapshot (regional or multi-regional).", "type": "array", "items": { "type": "string" - }, - "description": "Cloud Storage bucket storage location of the image (regional or multi-regional)." + } }, - "sourceDiskEncryptionKey": { - "description": "The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.", - "$ref": "CustomerEncryptionKey" + "autoCreated": { + "description": "[Output Only] Set to true if snapshots are automatically created by applying resource policy on the target disk.", + "type": "boolean" }, - "sourceImageId": { - "description": "[Output Only] The ID value of the image used to create this image. This value may be used to determine whether the image was taken from the current or a previous instance of a given image name.", - "type": "string" + "guestOsFeatures": { + "description": "[Output Only] A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.", + "type": "array", + "items": { + "$ref": "GuestOsFeature" + } }, - "archiveSizeBytes": { - "description": "Size of the image tar.gz archive stored in Google Cloud Storage (in bytes).", + "downloadBytes": { + "description": "[Output Only] Number of bytes downloaded to restore a snapshot to a disk.", "type": "string", "format": "int64" }, - "labelFingerprint": { - "format": "byte", - "type": "string", - "description": "A fingerprint for the labels being applied to this image, which is essentially a hash of the labels used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an image." - }, - "deprecated": { - "description": "The deprecation status associated with this image.", - "$ref": "DeprecationStatus" - }, - "description": { - "description": "An optional description of this resource. Provide this property when you create the resource.", - "type": "string" - }, - "sourceSnapshotEncryptionKey": { - "$ref": "CustomerEncryptionKey", - "description": "The customer-supplied encryption key of the source snapshot. Required if the source snapshot is protected by a customer-supplied encryption key." - }, - "sourceType": { - "enum": [ - "RAW" - ], - "enumDescriptions": [ - "" - ], - "default": "RAW", - "description": "The type of the image used to create this disk. The default and only valid value is RAW.", + "chainName": { + "description": "Creates the new snapshot in the snapshot chain labeled with the specified name. The chain name must be 1-63 characters long and comply with RFC1035. This is an uncommon option only for advanced service owners who needs to create separate snapshot chains, for example, for chargeback tracking. When you describe your snapshot resource, this field is visible only if it has a non-empty value.", "type": "string" }, - "kind": { - "type": "string", - "default": "compute#image", - "description": "[Output Only] Type of the resource. Always compute#image for images." - }, - "licenses": { - "items": { - "type": "string" - }, - "description": "Any applicable license URI.", - "type": "array" + "satisfiesPzs": { + "description": "[Output Only] Reserved for future use.", + "type": "boolean" }, - "id": { - "format": "uint64", - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", + "locationHint": { + "description": "An opaque location hint used to place the snapshot close to other resources. This field is for use by internal tools that use the public API.", "type": "string" }, - "licenseCodes": { - "description": "Integer license codes indicating which licenses are attached to this image.", - "type": "array", - "items": { - "format": "int64", - "type": "string" - } - }, - "sourceSnapshotId": { - "description": "[Output Only] The ID value of the snapshot used to create this image. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given snapshot name.", + "sourceSnapshotSchedulePolicy": { + "description": "[Output Only] URL of the resource policy which created this scheduled snapshot.", "type": "string" }, - "selfLink": { - "description": "[Output Only] Server-defined URL for the resource.", + "sourceSnapshotSchedulePolicyId": { + "description": "[Output Only] ID of the resource policy which created this scheduled snapshot.", "type": "string" }, "architecture": { + "description": "[Output Only] The architecture of the snapshot. Valid values are ARM64 or X86_64.", + "type": "string", "enumDescriptions": [ "Default value indicating Architecture is not set.", "Machines with architecture ARM64", "Machines with architecture X86_64" ], - "type": "string", - "description": "The architecture of the image. Valid values are ARM64 or X86_64.", "enum": [ "ARCHITECTURE_UNSPECIFIED", "ARM64", "X86_64" ] }, - "name": { + "snapshotType": { + "description": "Indicates the type of the snapshot.", "type": "string", - "annotations": { - "required": [ - "compute.images.insert" - ] - }, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash." - }, - "diskSizeGb": { - "type": "string", - "format": "int64", - "description": "Size of the image when restored onto a persistent disk (in GB)." - }, - "sourceImageEncryptionKey": { - "$ref": "CustomerEncryptionKey", - "description": "The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key." - }, - "family": { - "type": "string", - "description": "The name of the image family to which this image belongs. You can create disks by specifying an image family instead of a specific image name. The image family always returns its latest image that is not deprecated. The name of the image family must comply with RFC1035." - }, - "sourceDiskId": { - "type": "string", - "description": "[Output Only] The ID value of the disk used to create this image. This value may be used to determine whether the image was taken from the current or a previous instance of a given disk name." - }, - "guestOsFeatures": { - "items": { - "$ref": "GuestOsFeature" - }, - "type": "array", - "description": "A list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available options, see the guestOSfeatures[].type parameter." - }, - "imageEncryptionKey": { - "description": "Encrypts the image using a customer-supplied encryption key. After you encrypt an image with a customer-supplied key, you must provide the same key if you use the image later (e.g. to create a disk from the image). Customer-supplied encryption keys do not protect access to metadata of the disk. If you do not provide an encryption key when creating the image, then the disk will be encrypted using an automatically generated key and you do not need to provide a key to use the image later.", - "$ref": "CustomerEncryptionKey" - }, - "sourceDisk": { - "type": "string", - "description": "URL of the source disk used to create this image. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL " + "enumDescriptions": [ + "", + "" + ], + "enum": [ + "ARCHIVE", + "STANDARD" + ] }, - "creationTimestamp": { + "creationSizeBytes": { + "description": "[Output Only] Size in bytes of the snapshot at creation time.", "type": "string", - "description": "[Output Only] Creation timestamp in RFC3339 text format." - }, - "shieldedInstanceInitialState": { - "$ref": "InitialStateConfig", - "description": "Set the secure boot keys of shielded instance." - }, - "sourceSnapshot": { - "description": "URL of the source snapshot used to create this image. The following are valid formats for the URL: - https://www.googleapis.com/compute/v1/projects/project_id/global/ snapshots/snapshot_name - projects/project_id/global/snapshots/snapshot_name In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL ", - "type": "string" + "format": "int64" }, - "status": { - "type": "string", - "description": "[Output Only] The status of the image. An image can be used to create other resources, such as instances, only after the image has been successfully created and the status is set to READY. Possible values are FAILED, PENDING, or READY.", - "enum": [ - "DELETING", - "FAILED", - "PENDING", - "READY" - ], - "enumDescriptions": [ - "Image is deleting.", - "Image creation failed due to an error.", - "Image hasn't been created as yet.", - "Image has been successfully created." - ] + "enableConfidentialCompute": { + "description": "Whether this snapshot is created from a confidential compute mode disk. [Output Only]: This field is not set by user, but from source disk.", + "type": "boolean" }, - "sourceImage": { - "description": "URL of the source image used to create this image. The following are valid formats for the URL: - https://www.googleapis.com/compute/v1/projects/project_id/global/ images/image_name - projects/project_id/global/images/image_name In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL ", + "sourceDiskForRecoveryCheckpoint": { + "description": "The source disk whose recovery checkpoint will be used to create this snapshot.", "type": "string" }, - "satisfiesPzs": { - "description": "[Output Only] Reserved for future use.", + "satisfiesPzi": { + "description": "Output only. Reserved for future use.", + "readOnly": true, "type": "boolean" - }, - "labels": { - "type": "object", - "description": "Labels to apply to this image. These can be later modified by the setLabels method.", - "additionalProperties": { - "type": "string" - } } - }, - "type": "object" + } }, - "HttpHealthCheckList": { - "description": "Contains a list of HttpHealthCheck resources.", + "DiskList": { + "id": "DiskList", + "description": "A list of Disk resources.", + "type": "object", "properties": { + "kind": { + "description": "[Output Only] Type of resource. Always compute#diskList for lists of disks.", + "default": "compute#diskList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, "items": { - "description": "A list of HttpHealthCheck resources.", + "description": "A list of Disk resources.", "type": "array", "items": { - "$ref": "HttpHealthCheck" + "$ref": "Disk" } }, "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" }, - "kind": { - "description": "Type of resource.", - "default": "compute#httpHealthCheckList", + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", "type": "string" }, "warning": { + "description": "[Output Only] Informational warning message.", "type": "object", "properties": { - "data": { - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "items": { - "type": "object", - "properties": { - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - }, - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - } - } - }, - "type": "array" - }, - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - }, "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -4367,6 +3569,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -4385,7 +3588,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "type": "string", + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -4397,6 +3629,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -4414,268 +3647,407 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response." + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } } - }, - "description": "[Output Only] Informational warning message." - }, - "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." - }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." + } } - }, - "id": "HttpHealthCheckList", - "type": "object" + } }, - "GRPCHealthCheck": { + "Disk": { + "id": "Disk", + "description": "Represents a Persistent Disk resource. Google Compute Engine has two Disk resources: * [Zonal](/compute/docs/reference/rest/v1/disks) * [Regional](/compute/docs/reference/rest/v1/regionDisks) Persistent disks are required for running your VM instances. Create both boot and non-boot (data) persistent disks. For more information, read Persistent Disks. For more storage options, read Storage options. The disks resource represents a zonal persistent disk. For more information, read Zonal persistent disks. The regionDisks resource represents a regional persistent disk. For more information, read Regional resources.", "type": "object", - "id": "GRPCHealthCheck", "properties": { - "portName": { + "kind": { + "description": "[Output Only] Type of the resource. Always compute#disk for disks.", + "default": "compute#disk", + "type": "string" + }, + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", "type": "string", - "description": "Not supported." + "format": "uint64" }, - "portSpecification": { + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" + }, + "name": { + "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "annotations": { + "required": [ + "compute.disks.insert" + ] + }, + "type": "string" + }, + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource.", + "type": "string" + }, + "sizeGb": { + "description": "Size, in GB, of the persistent disk. You can specify this field when creating a persistent disk using the sourceImage, sourceSnapshot, or sourceDisk parameter, or specify it alone to create an empty persistent disk. If you specify this field along with a source, the value of sizeGb must not be less than the size of the source. Acceptable values are greater than 0.", + "type": "string", + "format": "int64" + }, + "zone": { + "description": "[Output Only] URL of the zone where the disk resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.", + "type": "string" + }, + "status": { + "description": "[Output Only] The status of disk creation. - CREATING: Disk is provisioning. - RESTORING: Source data is being copied into the disk. - FAILED: Disk creation failed. - READY: Disk is ready for use. - DELETING: Disk is deleting. ", "type": "string", - "description": "Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports.", "enumDescriptions": [ - "The port number in the health check's port is used for health checking. Applies to network endpoint group and instance group backends.", - "Not supported.", - "For network endpoint group backends, the health check uses the port number specified on each endpoint in the network endpoint group. For instance group backends, the health check uses the port number specified for the backend service's named port defined in the instance group's named ports." + "Disk is provisioning", + "Disk is deleting.", + "Disk creation failed.", + "Disk is ready for use.", + "Source data is being copied into the disk." ], "enum": [ - "USE_FIXED_PORT", - "USE_NAMED_PORT", - "USE_SERVING_PORT" + "CREATING", + "DELETING", + "FAILED", + "READY", + "RESTORING" ] }, - "grpcServiceName": { + "sourceSnapshot": { + "description": "The source snapshot used to create this disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project /global/snapshots/snapshot - projects/project/global/snapshots/snapshot - global/snapshots/snapshot ", + "type": "string" + }, + "sourceSnapshotId": { + "description": "[Output Only] The unique ID of the snapshot used to create this disk. This value identifies the exact snapshot that was used to create this persistent disk. For example, if you created the persistent disk from a snapshot that was later deleted and recreated under the same name, the source snapshot ID would identify the exact version of the snapshot that was used.", + "type": "string" + }, + "sourceStorageObject": { + "description": "The full Google Cloud Storage URI where the disk image is stored. This file must be a gzip-compressed tarball whose name ends in .tar.gz or virtual machine disk whose name ends in vmdk. Valid URIs may start with gs:// or https://storage.googleapis.com/. This flag is not optimized for creating multiple disks from a source storage object. To create many disks from a source storage object, use gcloud compute images import instead.", + "type": "string" + }, + "options": { + "description": "Internal use only.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined fully-qualified URL for this resource.", + "type": "string" + }, + "sourceImage": { + "description": "The source image used to create this disk. If the source image is deleted, this field will not be set. To create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/debian-9 to use the latest Debian 9 image: projects/debian-cloud/global/images/family/debian-9 Alternatively, use a specific version of a public operating system image: projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD To create a disk with a custom image that you created, specify the image name in the following format: global/images/my-custom-image You can also specify a custom image by its image family, which returns the latest version of the image in that family. Replace the image name with family/family-name: global/images/family/my-image-family ", + "type": "string" + }, + "sourceImageId": { + "description": "[Output Only] The ID value of the image used to create this disk. This value identifies the exact image that was used to create this persistent disk. For example, if you created the persistent disk from an image that was later deleted and recreated under the same name, the source image ID would identify the exact version of the image that was used.", + "type": "string" + }, + "type": { + "description": "URL of the disk type resource describing which disk type to use to create the disk. Provide this when creating the disk. For example: projects/project /zones/zone/diskTypes/pd-ssd . See Persistent disk types.", + "type": "string" + }, + "licenses": { + "description": "A list of publicly visible licenses. Reserved for Google's use.", + "type": "array", + "items": { + "type": "string" + } + }, + "guestOsFeatures": { + "description": "A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.", + "type": "array", + "items": { + "$ref": "GuestOsFeature" + } + }, + "lastAttachTimestamp": { + "description": "[Output Only] Last attach timestamp in RFC3339 text format.", + "type": "string" + }, + "lastDetachTimestamp": { + "description": "[Output Only] Last detach timestamp in RFC3339 text format.", + "type": "string" + }, + "users": { + "description": "[Output Only] Links to the users of the disk (attached instances) in form: projects/project/zones/zone/instances/instance", + "type": "array", + "items": { + "type": "string" + } + }, + "diskEncryptionKey": { + "description": "Encrypts the disk using a customer-supplied encryption key or a customer-managed encryption key. Encryption keys do not protect access to metadata of the disk. After you encrypt a disk with a customer-supplied key, you must provide the same key if you use the disk later. For example, to create a disk snapshot, to create a disk image, to create a machine image, or to attach the disk to a virtual machine. After you encrypt a disk with a customer-managed key, the diskEncryptionKey.kmsKeyName is set to a key *version* name once the disk is created. The disk is encrypted with this version of the key. In the response, diskEncryptionKey.kmsKeyName appears in the following format: \"diskEncryptionKey.kmsKeyName\": \"projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key /cryptoKeysVersions/version If you do not provide an encryption key when creating the disk, then the disk is encrypted using an automatically generated key and you don't need to provide a key to use the disk later.", + "$ref": "CustomerEncryptionKey" + }, + "sourceImageEncryptionKey": { + "description": "The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key.", + "$ref": "CustomerEncryptionKey" + }, + "sourceSnapshotEncryptionKey": { + "description": "The customer-supplied encryption key of the source snapshot. Required if the source snapshot is protected by a customer-supplied encryption key.", + "$ref": "CustomerEncryptionKey" + }, + "labels": { + "description": "Labels to apply to this disk. These can be later modified by the setLabels method.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "labelFingerprint": { + "description": "A fingerprint for the labels being applied to this disk, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a disk.", "type": "string", - "description": "The gRPC service name for the health check. This field is optional. The value of grpc_service_name has the following meanings by convention: - Empty service_name means the overall status of all services at the backend. - Non-empty service_name means the health of that gRPC service, as defined by the owner of the service. The grpc_service_name can only be ASCII." + "format": "byte" }, - "port": { - "type": "integer", - "description": "The TCP port number to which the health check prober sends packets. Valid values are 1 through 65535.", - "format": "int32" - } - } - }, - "HTTPHealthCheck": { - "type": "object", - "properties": { - "port": { - "type": "integer", - "description": "The TCP port number to which the health check prober sends packets. The default value is 80. Valid values are 1 through 65535.", - "format": "int32" + "region": { + "description": "[Output Only] URL of the region where the disk resides. Only applicable for regional resources. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.", + "type": "string" }, - "portName": { + "replicaZones": { + "description": "URLs of the zones where the disk should be replicated to. Only applicable for regional resources.", + "type": "array", + "items": { + "type": "string" + } + }, + "licenseCodes": { + "description": "Integer license codes indicating which licenses are attached to this disk.", + "type": "array", + "items": { + "type": "string", + "format": "int64" + } + }, + "physicalBlockSizeBytes": { + "description": "Physical block size of the persistent disk, in bytes. If not present in a request, a default value is used. The currently supported size is 4096, other sizes may be added in the future. If an unsupported value is requested, the error message will list the supported values for the caller's project.", "type": "string", - "description": "Not supported." + "format": "int64" }, - "requestPath": { - "description": "The request path of the HTTP health check request. The default value is /.", + "resourcePolicies": { + "description": "Resource policies applied to this disk for automatic snapshot creations.", + "type": "array", + "items": { + "type": "string" + } + }, + "sourceDisk": { + "description": "The source disk used to create this disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - https://www.googleapis.com/compute/v1/projects/project/regions/region /disks/disk - projects/project/zones/zone/disks/disk - projects/project/regions/region/disks/disk - zones/zone/disks/disk - regions/region/disks/disk ", "type": "string" }, - "response": { + "sourceDiskId": { + "description": "[Output Only] The unique ID of the disk used to create this disk. This value identifies the exact disk that was used to create this persistent disk. For example, if you created the persistent disk from a disk that was later deleted and recreated under the same name, the source disk ID would identify the exact version of the disk that was used.", + "type": "string" + }, + "provisionedIops": { + "description": "Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. Values must be between 10,000 and 120,000. For more details, see the Extreme persistent disk documentation.", "type": "string", - "description": "Creates a content-based HTTP health check. In addition to the required HTTP 200 (OK) status code, you can configure the health check to pass only when the backend sends this specific ASCII response string within the first 1024 bytes of the HTTP response body. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-http" + "format": "int64" }, - "proxyHeader": { - "enum": [ - "NONE", - "PROXY_V1" - ], - "description": "Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.", + "provisionedThroughput": { + "description": "Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle. Values must be between 1 and 7,124.", "type": "string", - "enumDescriptions": [ - "", - "" - ] + "format": "int64" }, - "host": { - "description": "The value of the host header in the HTTP health check request. If left empty (default value), the host header is set to the destination IP address to which health check packets are sent. The destination IP address depends on the type of load balancer. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#hc-packet-dest", + "enableConfidentialCompute": { + "description": "Whether this disk is using confidential compute mode.", + "type": "boolean" + }, + "satisfiesPzs": { + "description": "[Output Only] Reserved for future use.", + "type": "boolean" + }, + "satisfiesPzi": { + "description": "Output only. Reserved for future use.", + "readOnly": true, + "type": "boolean" + }, + "locationHint": { + "description": "An opaque location hint used to place the disk close to other resources. This field is for use by internal tools that use the public API.", "type": "string" }, - "portSpecification": { - "enum": [ - "USE_FIXED_PORT", - "USE_NAMED_PORT", - "USE_SERVING_PORT" - ], + "asyncPrimaryDisk": { + "description": "Disk asynchronously replicated into this disk.", + "$ref": "DiskAsyncReplication" + }, + "asyncSecondaryDisks": { + "description": "[Output Only] A list of disks this disk is asynchronously replicated to.", + "type": "object", + "additionalProperties": { + "$ref": "DiskAsyncReplicationList" + } + }, + "resourceStatus": { + "description": "[Output Only] Status information for the disk resource.", + "$ref": "DiskResourceStatus" + }, + "sourceConsistencyGroupPolicy": { + "description": "[Output Only] URL of the DiskConsistencyGroupPolicy for a secondary disk that was created using a consistency group.", + "type": "string" + }, + "sourceConsistencyGroupPolicyId": { + "description": "[Output Only] ID of the DiskConsistencyGroupPolicy for a secondary disk that was created using a consistency group.", + "type": "string" + }, + "architecture": { + "description": "The architecture of the disk. Valid values are ARM64 or X86_64.", "type": "string", "enumDescriptions": [ - "The port number in the health check's port is used for health checking. Applies to network endpoint group and instance group backends.", - "Not supported.", - "For network endpoint group backends, the health check uses the port number specified on each endpoint in the network endpoint group. For instance group backends, the health check uses the port number specified for the backend service's named port defined in the instance group's named ports." + "Default value indicating Architecture is not set.", + "Machines with architecture ARM64", + "Machines with architecture X86_64" ], - "description": "Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Also supported in legacy HTTP health checks for target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports." + "enum": [ + "ARCHITECTURE_UNSPECIFIED", + "ARM64", + "X86_64" + ] + }, + "params": { + "description": "Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.", + "$ref": "DiskParams" } - }, - "id": "HTTPHealthCheck" + } }, - "LocationPolicyLocationConstraints": { - "description": "Per-zone constraints on location policy for this zone.", - "id": "LocationPolicyLocationConstraints", + "DiskAsyncReplication": { + "id": "DiskAsyncReplication", + "type": "object", "properties": { - "maxCount": { - "type": "integer", - "format": "int32", - "description": "Maximum number of items that are allowed to be placed in this zone. The value must be non-negative." + "disk": { + "description": "The other disk asynchronously replicated to or from the current disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk ", + "type": "string" + }, + "diskId": { + "description": "[Output Only] The unique ID of the other disk asynchronously replicated to or from the current disk. This value identifies the exact disk that was used to create this replication. For example, if you started replicating the persistent disk from a disk that was later deleted and recreated under the same name, the disk ID would identify the exact version of the disk that was used.", + "type": "string" + }, + "consistencyGroupPolicy": { + "description": "[Output Only] URL of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group.", + "type": "string" + }, + "consistencyGroupPolicyId": { + "description": "[Output Only] ID of the DiskConsistencyGroupPolicy if replication was started on the disk as a member of a group.", + "type": "string" } - }, - "type": "object" + } }, - "BackendServiceCdnPolicyBypassCacheOnRequestHeader": { + "DiskAsyncReplicationList": { + "id": "DiskAsyncReplicationList", + "type": "object", "properties": { - "headerName": { - "type": "string", - "description": "The header field name to match on when bypassing cache. Values are case-insensitive." + "asyncReplicationDisk": { + "$ref": "DiskAsyncReplication" } - }, - "description": "Bypass the cache when the specified request headers are present, e.g. Pragma or Authorization headers. Values are case insensitive. The presence of such a header overrides the cache_mode setting.", - "type": "object", - "id": "BackendServiceCdnPolicyBypassCacheOnRequestHeader" + } }, - "LicenseResourceRequirements": { + "DiskResourceStatus": { + "id": "DiskResourceStatus", "type": "object", "properties": { - "minMemoryMb": { - "type": "integer", - "format": "int32", - "description": "Minimum memory required to use the Instance. Enforced at Instance creation and Instance start." + "asyncPrimaryDisk": { + "$ref": "DiskResourceStatusAsyncReplicationStatus" }, - "minGuestCpuCount": { - "description": "Minimum number of guest cpus required to use the Instance. Enforced at Instance creation and Instance start.", - "format": "int32", - "type": "integer" + "asyncSecondaryDisks": { + "description": "Key: disk, value: AsyncReplicationStatus message", + "type": "object", + "additionalProperties": { + "$ref": "DiskResourceStatusAsyncReplicationStatus" + } } - }, - "id": "LicenseResourceRequirements" + } }, - "ServiceAttachmentConnectedEndpoint": { - "id": "ServiceAttachmentConnectedEndpoint", - "description": "[Output Only] A connection connected to this service attachment.", + "DiskResourceStatusAsyncReplicationStatus": { + "id": "DiskResourceStatusAsyncReplicationStatus", "type": "object", "properties": { - "pscConnectionId": { - "type": "string", - "format": "uint64", - "description": "The PSC connection id of the connected endpoint." - }, - "status": { + "state": { "type": "string", "enumDescriptions": [ - "The connection has been accepted by the producer.", - "The connection has been closed by the producer.", - "The connection has been accepted by the producer, but the producer needs to take further action before the forwarding rule can serve traffic.", - "The connection is pending acceptance by the producer.", - "The consumer is still connected but not using the connection.", - "" + "Replication is active.", + "Secondary disk is created and is waiting for replication to start.", + "Replication is starting.", + "", + "Replication is stopped.", + "Replication is stopping." ], "enum": [ - "ACCEPTED", - "CLOSED", - "NEEDS_ATTENTION", - "PENDING", - "REJECTED", - "STATUS_UNSPECIFIED" - ], - "description": "The status of a connected endpoint to this service attachment." - }, - "endpoint": { - "description": "The url of a connected endpoint.", - "type": "string" + "ACTIVE", + "CREATED", + "STARTING", + "STATE_UNSPECIFIED", + "STOPPED", + "STOPPING" + ] } } }, - "PerInstanceConfig": { - "id": "PerInstanceConfig", + "DiskParams": { + "id": "DiskParams", + "description": "Additional disk params.", "type": "object", "properties": { - "status": { - "enumDescriptions": [ - "The per-instance configuration is being applied to the instance, but is not yet effective, possibly waiting for the instance to, for example, REFRESH.", - "The per-instance configuration deletion is being applied on the instance, possibly waiting for the instance to, for example, REFRESH.", - "The per-instance configuration is effective on the instance, meaning that all disks, ips and metadata specified in this configuration are attached or set on the instance.", - "*[Default]* The default status, when no per-instance configuration exists.", - "The per-instance configuration is set on an instance but not been applied yet.", - "The per-instance configuration has been deleted, but the deletion is not yet applied." - ], - "enum": [ - "APPLYING", - "DELETING", - "EFFECTIVE", - "NONE", - "UNAPPLIED", - "UNAPPLIED_DELETION" - ], - "type": "string", - "description": "The status of applying this per-instance configuration on the corresponding managed instance." - }, - "name": { - "description": "The name of a per-instance configuration and its corresponding instance. Serves as a merge key during UpdatePerInstanceConfigs operations, that is, if a per-instance configuration with the same name exists then it will be updated, otherwise a new one will be created for the VM instance with the same name. An attempt to create a per-instance configconfiguration for a VM instance that either doesn't exist or is not part of the group will result in an error.", - "type": "string" - }, - "fingerprint": { - "description": "Fingerprint of this per-instance config. This field can be used in optimistic locking. It is ignored when inserting a per-instance config. An up-to-date fingerprint must be provided in order to update an existing per-instance configuration or the field needs to be unset.", - "type": "string", - "format": "byte" - }, - "preservedState": { - "description": "The intended preserved state for the given instance. Does not contain preserved state generated from a stateful policy.", - "$ref": "PreservedState" + "resourceManagerTags": { + "description": "Resource manager tags to be bound to the disk. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty.", + "type": "object", + "additionalProperties": { + "type": "string" + } } } }, - "InstanceTemplateList": { + "DiskAggregatedList": { + "id": "DiskAggregatedList", + "type": "object", "properties": { - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." - }, "kind": { - "description": "[Output Only] The resource type, which is always compute#instanceTemplatesListResponse for instance template lists.", - "type": "string", - "default": "compute#instanceTemplateList" + "description": "[Output Only] Type of resource. Always compute#diskAggregatedList for aggregated lists of persistent disks.", + "default": "compute#diskAggregatedList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of DisksScopedList resources.", + "type": "object", + "additionalProperties": { + "description": "[Output Only] Name of the scope containing this set of disks.", + "$ref": "DisksScopedList" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" }, "warning": { + "description": "[Output Only] Informational warning message.", "type": "object", "properties": { "code": { - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", "type": "string", "enumDescriptions": [ @@ -4689,6 +4061,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -4706,9 +4079,75 @@ "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", "When undeclared properties in the schema are present", "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" ] }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", "items": { "type": "object", "properties": { @@ -4717,47 +4156,41 @@ "type": "string" }, "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" } } - }, - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "type": "array" - }, - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." + } } - }, - "description": "[Output Only] Informational warning message." - }, - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", - "type": "string" + } }, - "items": { + "unreachables": { + "description": "[Output Only] Unreachable resources.", "type": "array", "items": { - "$ref": "InstanceTemplate" - }, - "description": "A list of InstanceTemplate resources." - }, - "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." + "type": "string" + } } - }, - "type": "object", - "description": "A list of instance templates.", - "id": "InstanceTemplateList" + } }, - "SslCertificateList": { + "DisksScopedList": { + "id": "DisksScopedList", + "type": "object", "properties": { + "disks": { + "description": "[Output Only] A list of disks contained in this scope.", + "type": "array", + "items": { + "$ref": "Disk" + } + }, "warning": { + "description": "[Output Only] Informational warning which replaces the list of disks when the list is empty.", "type": "object", "properties": { "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -4769,6 +4202,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -4787,6 +4221,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -4798,6 +4262,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -4815,104 +4280,247 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], - "type": "string", - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response." + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" }, "data": { "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", "type": "array", "items": { + "type": "object", "properties": { "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" }, "value": { "description": "[Output Only] A warning data value corresponding to the key.", "type": "string" } - }, - "type": "object" + } } - }, - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." } - }, - "description": "[Output Only] Informational warning message." + } + } + } + }, + "ZoneSetLabelsRequest": { + "id": "ZoneSetLabelsRequest", + "type": "object", + "properties": { + "labels": { + "description": "The labels to set for this resource.", + "type": "object", + "additionalProperties": { + "type": "string" + } }, - "id": { + "labelFingerprint": { + "description": "The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. Make a get() request to the resource to get the latest fingerprint.", "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." - }, - "kind": { + "format": "byte" + } + } + }, + "DisksResizeRequest": { + "id": "DisksResizeRequest", + "type": "object", + "properties": { + "sizeGb": { + "description": "The new size of the persistent disk, which is specified in GB.", "type": "string", - "default": "compute#sslCertificateList", - "description": "Type of resource." - }, - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", - "type": "string" + "format": "int64" + } + } + }, + "DisksAddResourcePoliciesRequest": { + "id": "DisksAddResourcePoliciesRequest", + "type": "object", + "properties": { + "resourcePolicies": { + "description": "Full or relative path to the resource policy to be added to this disk. You can only specify one resource policy.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "DisksRemoveResourcePoliciesRequest": { + "id": "DisksRemoveResourcePoliciesRequest", + "type": "object", + "properties": { + "resourcePolicies": { + "description": "Resource policies to be removed from this disk.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "ZoneSetPolicyRequest": { + "id": "ZoneSetPolicyRequest", + "type": "object", + "properties": { + "policy": { + "description": "REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them.", + "$ref": "Policy" }, - "items": { - "description": "A list of SslCertificate resources.", + "bindings": { + "description": "Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify bindings.", + "type": "array", "items": { - "$ref": "SslCertificate" - }, - "type": "array" + "$ref": "Binding" + } }, - "selfLink": { + "etag": { + "description": "Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.", "type": "string", - "description": "[Output Only] Server-defined URL for this resource." + "format": "byte" } - }, - "description": "Contains a list of SslCertificate resources.", + } + }, + "DisksStartAsyncReplicationRequest": { + "id": "DisksStartAsyncReplicationRequest", "type": "object", - "id": "SslCertificateList" + "properties": { + "asyncSecondaryDisk": { + "description": "The secondary disk to start asynchronous replication to. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - https://www.googleapis.com/compute/v1/projects/project/regions/region /disks/disk - projects/project/zones/zone/disks/disk - projects/project/regions/region/disks/disk - zones/zone/disks/disk - regions/region/disks/disk ", + "type": "string" + } + } }, - "ShieldedInstanceConfig": { - "description": "A set of Shielded Instance options.", + "DisksStopGroupAsyncReplicationResource": { + "id": "DisksStopGroupAsyncReplicationResource", + "description": "A transient resource used in compute.disks.stopGroupAsyncReplication and compute.regionDisks.stopGroupAsyncReplication. It is only used to process requests and is not persisted.", + "type": "object", "properties": { - "enableIntegrityMonitoring": { - "description": "Defines whether the instance has integrity monitoring enabled. Enabled by default.", - "type": "boolean" + "resourcePolicy": { + "description": "The URL of the DiskConsistencyGroupPolicy for the group of disks to stop. This may be a full or partial URL, such as: - https://www.googleapis.com/compute/v1/projects/project/regions/region /resourcePolicies/resourcePolicy - projects/project/regions/region/resourcePolicies/resourcePolicy - regions/region/resourcePolicies/resourcePolicy ", + "type": "string" + } + } + }, + "BulkInsertDiskResource": { + "id": "BulkInsertDiskResource", + "description": "A transient resource used in compute.disks.bulkInsert and compute.regionDisks.bulkInsert. It is only used to process requests and is not persisted.", + "type": "object", + "properties": { + "sourceConsistencyGroupPolicy": { + "description": "The URL of the DiskConsistencyGroupPolicy for the group of disks to clone. This may be a full or partial URL, such as: - https://www.googleapis.com/compute/v1/projects/project/regions/region /resourcePolicies/resourcePolicy - projects/project/regions/region/resourcePolicies/resourcePolicy - regions/region/resourcePolicies/resourcePolicy ", + "type": "string" + } + } + }, + "RegionDisksResizeRequest": { + "id": "RegionDisksResizeRequest", + "type": "object", + "properties": { + "sizeGb": { + "description": "The new size of the regional persistent disk, which is specified in GB.", + "type": "string", + "format": "int64" + } + } + }, + "RegionDisksAddResourcePoliciesRequest": { + "id": "RegionDisksAddResourcePoliciesRequest", + "type": "object", + "properties": { + "resourcePolicies": { + "description": "Resource policies to be added to this disk.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "RegionDisksRemoveResourcePoliciesRequest": { + "id": "RegionDisksRemoveResourcePoliciesRequest", + "type": "object", + "properties": { + "resourcePolicies": { + "description": "Resource policies to be removed from this disk.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "RegionSetPolicyRequest": { + "id": "RegionSetPolicyRequest", + "type": "object", + "properties": { + "policy": { + "description": "REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them.", + "$ref": "Policy" }, - "enableVtpm": { - "description": "Defines whether the instance has the vTPM enabled. Enabled by default.", - "type": "boolean" + "bindings": { + "description": "Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify bindings.", + "type": "array", + "items": { + "$ref": "Binding" + } }, - "enableSecureBoot": { - "type": "boolean", - "description": "Defines whether the instance has Secure Boot enabled. Disabled by default." + "etag": { + "description": "Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.", + "type": "string", + "format": "byte" } - }, + } + }, + "RegionDisksStartAsyncReplicationRequest": { + "id": "RegionDisksStartAsyncReplicationRequest", "type": "object", - "id": "ShieldedInstanceConfig" + "properties": { + "asyncSecondaryDisk": { + "description": "The secondary disk to start asynchronous replication to. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - https://www.googleapis.com/compute/v1/projects/project/regions/region /disks/disk - projects/project/zones/zone/disks/disk - projects/project/regions/region/disks/disk - zones/zone/disks/disk - regions/region/disks/disk ", + "type": "string" + } + } }, - "NodeTypeList": { - "description": "Contains a list of node types.", - "id": "NodeTypeList", + "FirewallList": { + "id": "FirewallList", + "description": "Contains a list of firewalls.", "type": "object", "properties": { - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." + "kind": { + "description": "[Output Only] Type of resource. Always compute#firewallList for lists of firewalls.", + "default": "compute#firewallList", + "type": "string" }, "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" }, - "kind": { - "description": "[Output Only] Type of resource.Always compute#nodeTypeList for lists of node types.", - "default": "compute#nodeTypeList", + "items": { + "description": "A list of Firewall resources.", + "type": "array", + "items": { + "$ref": "Firewall" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", "type": "string" }, "warning": { "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -4924,6 +4532,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -4942,6 +4551,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -4953,6 +4592,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -4970,252 +4610,238 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", "type": "string" }, "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", "items": { + "type": "object", "properties": { - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - }, "key": { "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" } - }, - "type": "object" - }, - "type": "array", - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } " - }, - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" + } + } } - }, - "type": "object" - }, - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." - }, - "items": { - "description": "A list of NodeType resources.", - "type": "array", - "items": { - "$ref": "NodeType" } } } }, - "ResourcePolicySnapshotSchedulePolicySnapshotProperties": { - "description": "Specified snapshot properties for scheduled snapshots created by this policy.", + "Firewall": { + "id": "Firewall", + "description": "Represents a Firewall Rule resource. Firewall rules allow or deny ingress traffic to, and egress traffic from your instances. For more information, read Firewall rules.", + "type": "object", "properties": { - "chainName": { + "kind": { + "description": "[Output Only] Type of the resource. Always compute#firewall for firewall rules.", + "default": "compute#firewall", + "type": "string" + }, + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", "type": "string", - "description": "Chain name that the snapshot is created in." + "format": "uint64" }, - "storageLocations": { + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" + }, + "name": { + "description": "Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "annotations": { + "required": [ + "compute.firewalls.insert", + "compute.firewalls.patch" + ] + }, + "type": "string" + }, + "description": { + "description": "An optional description of this resource. Provide this field when you create the resource.", + "type": "string" + }, + "network": { + "description": "URL of the network resource for this firewall rule. If not specified when creating a firewall rule, the default network is used: global/networks/default If you choose to specify this field, you can specify the network as a full or partial URL. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/myproject/global/networks/my-network - projects/myproject/global/networks/my-network - global/networks/default ", + "type": "string" + }, + "priority": { + "description": "Priority for this rule. This is an integer between `0` and `65535`, both inclusive. The default value is `1000`. Relative priorities determine which rule takes effect if multiple rules apply. Lower values indicate higher priority. For example, a rule with priority `0` has higher precedence than a rule with priority `1`. DENY rules take precedence over ALLOW rules if they have equal priority. Note that VPC networks have implied rules with a priority of `65535`. To avoid conflicts with the implied rules, use a priority number less than `65535`.", + "type": "integer", + "format": "int32" + }, + "sourceRanges": { + "description": "If source ranges are specified, the firewall rule applies only to traffic that has a source IP address in these ranges. These ranges must be expressed in CIDR format. One or both of sourceRanges and sourceTags may be set. If both fields are set, the rule applies to traffic that has a source IP address within sourceRanges OR a source IP from a resource with a matching tag listed in the sourceTags field. The connection does not need to match both fields for the rule to apply. Both IPv4 and IPv6 are supported.", "type": "array", - "description": "Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).", "items": { "type": "string" } }, - "guestFlush": { - "description": "Indication to perform a 'guest aware' snapshot.", - "type": "boolean" - }, - "labels": { - "description": "Labels to apply to scheduled snapshots. These can be later modified by the setLabels method. Label values may be empty.", - "additionalProperties": { + "destinationRanges": { + "description": "If destination ranges are specified, the firewall rule applies only to traffic that has destination IP address in these ranges. These ranges must be expressed in CIDR format. Both IPv4 and IPv6 are supported.", + "type": "array", + "items": { "type": "string" - }, - "type": "object" - } - }, - "id": "ResourcePolicySnapshotSchedulePolicySnapshotProperties", - "type": "object" - }, - "VpnGatewayVpnGatewayInterface": { - "description": "A VPN gateway interface.", - "type": "object", - "id": "VpnGatewayVpnGatewayInterface", - "properties": { - "interconnectAttachment": { - "description": "URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, the VPN gateway is used for HA VPN over Cloud Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the specified VLAN attachment resource.", - "type": "string" - }, - "ipAddress": { - "type": "string", - "description": "[Output Only] IP address for this VPN interface associated with the VPN gateway. The IP address could be either a regional external IP address or a regional internal IP address. The two IP addresses for a VPN gateway must be all regional external or regional internal IP addresses. There cannot be a mix of regional external IP addresses and regional internal IP addresses. For HA VPN over Cloud Interconnect, the IP addresses for both interfaces could either be regional internal IP addresses or regional external IP addresses. For regular (non HA VPN over Cloud Interconnect) HA VPN tunnels, the IP address must be a regional external IP address." + } }, - "id": { - "description": "[Output Only] Numeric identifier for this VPN interface associated with the VPN gateway.", - "format": "uint32", - "type": "integer" - } - } - }, - "PublicDelegatedPrefixAggregatedList": { - "type": "object", - "properties": { - "kind": { - "description": "[Output Only] Type of the resource. Always compute#publicDelegatedPrefixAggregatedList for aggregated lists of public delegated prefixes.", - "default": "compute#publicDelegatedPrefixAggregatedList", - "type": "string" + "sourceTags": { + "description": "If source tags are specified, the firewall rule applies only to traffic with source IPs that match the primary network interfaces of VM instances that have the tag and are in the same VPC network. Source tags cannot be used to control traffic to an instance's external IP address, it only applies to traffic between instances in the same virtual network. Because tags are associated with instances, not IP addresses. One or both of sourceRanges and sourceTags may be set. If both fields are set, the firewall applies to traffic that has a source IP address within sourceRanges OR a source IP from a resource with a matching tag listed in the sourceTags field. The connection does not need to match both fields for the firewall to apply.", + "type": "array", + "items": { + "type": "string" + } }, - "unreachables": { + "targetTags": { + "description": "A list of tags that controls which instances the firewall rule applies to. If targetTags are specified, then the firewall rule applies only to instances in the VPC network that have one of those tags. If no targetTags are specified, the firewall rule applies to all instances on the specified network.", "type": "array", - "description": "[Output Only] Unreachable resources.", "items": { "type": "string" } }, - "items": { - "type": "object", - "description": "A list of PublicDelegatedPrefixesScopedList resources.", - "additionalProperties": { - "$ref": "PublicDelegatedPrefixesScopedList", - "description": "[Output Only] Name of the scope containing this set of PublicDelegatedPrefixes." + "sourceServiceAccounts": { + "description": "If source service accounts are specified, the firewall rules apply only to traffic originating from an instance with a service account in this list. Source service accounts cannot be used to control traffic to an instance's external IP address because service accounts are associated with an instance, not an IP address. sourceRanges can be set at the same time as sourceServiceAccounts. If both are set, the firewall applies to traffic that has a source IP address within the sourceRanges OR a source IP that belongs to an instance with service account listed in sourceServiceAccount. The connection does not need to match both fields for the firewall to apply. sourceServiceAccounts cannot be used at the same time as sourceTags or targetTags.", + "type": "array", + "items": { + "type": "string" } }, - "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", - "type": "string" + "targetServiceAccounts": { + "description": "A list of service accounts indicating sets of instances located in the network that may make network connections as specified in allowed[]. targetServiceAccounts cannot be used at the same time as targetTags or sourceTags. If neither targetServiceAccounts nor targetTags are specified, the firewall rule applies to all instances on the specified network.", + "type": "array", + "items": { + "type": "string" + } }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." + "allowed": { + "description": "The list of ALLOW rules specified by this firewall. Each rule specifies a protocol and port-range tuple that describes a permitted connection.", + "type": "array", + "items": { + "type": "object", + "properties": { + "IPProtocol": { + "description": "The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp) or the IP protocol number.", + "type": "string" + }, + "ports": { + "description": "An optional list of ports to which this rule applies. This field is only applicable for the UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: [\"22\"], [\"80\",\"443\"], and [\"12345-12349\"].", + "type": "array", + "items": { + "type": "string" + } + } + } + } }, - "warning": { - "properties": { - "data": { - "items": { - "type": "object", - "properties": { - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - }, - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - } - } + "denied": { + "description": "The list of DENY rules specified by this firewall. Each rule specifies a protocol and port-range tuple that describes a denied connection.", + "type": "array", + "items": { + "type": "object", + "properties": { + "IPProtocol": { + "description": "The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp) or the IP protocol number.", + "type": "string" }, - "type": "array", - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } " - }, - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, - "code": { - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ], - "type": "string" + "ports": { + "description": "An optional list of ports to which this rule applies. This field is only applicable for the UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: [\"22\"], [\"80\",\"443\"], and [\"12345-12349\"].", + "type": "array", + "items": { + "type": "string" + } + } } - }, - "description": "[Output Only] Informational warning message.", - "type": "object" + } }, - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "direction": { + "description": "Direction of traffic to which this firewall applies, either `INGRESS` or `EGRESS`. The default is `INGRESS`. For `EGRESS` traffic, you cannot specify the sourceTags fields.", + "type": "string", + "enumDescriptions": [ + "Indicates that firewall should apply to outgoing traffic.", + "Indicates that firewall should apply to incoming traffic." + ], + "enum": [ + "EGRESS", + "INGRESS" + ] + }, + "logConfig": { + "description": "This field denotes the logging options for a particular firewall rule. If logging is enabled, logs will be exported to Cloud Logging.", + "$ref": "FirewallLogConfig" + }, + "disabled": { + "description": "Denotes whether the firewall rule is disabled. When set to true, the firewall rule is not enforced and the network behaves as if it did not exist. If this is unspecified, the firewall rule will be enabled.", + "type": "boolean" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", "type": "string" } - }, - "id": "PublicDelegatedPrefixAggregatedList" + } }, - "SubnetworksScopedList": { + "FirewallLogConfig": { + "id": "FirewallLogConfig", + "description": "The available logging options for a firewall rule.", + "type": "object", + "properties": { + "enable": { + "description": "This field denotes whether to enable logging for a particular firewall rule.", + "type": "boolean" + }, + "metadata": { + "description": "This field can only be specified for a particular firewall rule if logging is enabled for that rule. This field denotes whether to include or exclude metadata for firewall logs.", + "type": "string", + "enumDescriptions": [ + "", + "" + ], + "enum": [ + "EXCLUDE_ALL_METADATA", + "INCLUDE_ALL_METADATA" + ] + } + } + }, + "FirewallPolicyList": { + "id": "FirewallPolicyList", "type": "object", "properties": { + "kind": { + "description": "[Output Only] Type of resource. Always compute#firewallPolicyList for listsof FirewallPolicies", + "default": "compute#firewallPolicyList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of FirewallPolicy resources.", + "type": "array", + "items": { + "$ref": "FirewallPolicy" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, "warning": { + "description": "[Output Only] Informational warning message.", "type": "object", "properties": { - "data": { - "items": { - "type": "object", - "properties": { - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - }, - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - } - } - }, - "type": "array", - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } " - }, - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, "code": { "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -5227,6 +4853,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -5245,7 +4872,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "type": "string", + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -5257,6 +4913,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -5275,90 +4932,224 @@ "UNDECLARED_PROPERTIES", "UNREACHABLE" ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } } - }, - "description": "An informational warning that appears when the list of addresses is empty." - }, - "subnetworks": { - "type": "array", - "items": { - "$ref": "Subnetwork" - }, - "description": "A list of subnetworks contained in this scope." + } } - }, - "id": "SubnetworksScopedList" + } }, - "DisksRemoveResourcePoliciesRequest": { + "FirewallPolicy": { + "id": "FirewallPolicy", + "description": "Represents a Firewall Policy resource.", + "type": "object", "properties": { - "resourcePolicies": { - "description": "Resource policies to be removed from this disk.", + "kind": { + "description": "[Output only] Type of the resource. Always compute#firewallPolicyfor firewall policies", + "default": "compute#firewallPolicy", + "type": "string" + }, + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", + "type": "string", + "format": "uint64" + }, + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" + }, + "name": { + "description": "Name of the resource. For Organization Firewall Policies it's a [Output Only] numeric ID allocated by Google Cloud which uniquely identifies the Organization Firewall Policy.", + "type": "string" + }, + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource.", + "type": "string" + }, + "rules": { + "description": "A list of rules that belong to this policy. There must always be a default rule (rule with priority 2147483647 and match \"*\"). If no rules are provided when creating a firewall policy, a default rule with action \"allow\" will be added.", + "type": "array", "items": { - "type": "string" - }, - "type": "array" + "$ref": "FirewallPolicyRule" + } + }, + "fingerprint": { + "description": "Specifies a fingerprint for this resource, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make get() request to the firewall policy.", + "type": "string", + "format": "byte" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", + "type": "string" + }, + "selfLinkWithId": { + "description": "[Output Only] Server-defined URL for this resource with the resource id.", + "type": "string" + }, + "associations": { + "description": "A list of associations that belong to this firewall policy.", + "type": "array", + "items": { + "$ref": "FirewallPolicyAssociation" + } + }, + "ruleTupleCount": { + "description": "[Output Only] Total count of all firewall policy rule tuples. A firewall policy can not exceed a set number of tuples.", + "type": "integer", + "format": "int32" + }, + "shortName": { + "description": "User-provided name of the Organization firewall policy. The name should be unique in the organization in which the firewall policy is created. This field is not applicable to network firewall policies. This name must be set on creation and cannot be changed. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "type": "string" + }, + "displayName": { + "description": "Deprecated, please use short name instead. User-provided name of the Organization firewall policy. The name should be unique in the organization in which the firewall policy is created. This field is not applicable to network firewall policies. This name must be set on creation and cannot be changed. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "deprecated": true, + "type": "string" + }, + "parent": { + "description": "[Output Only] The parent of the firewall policy. This field is not applicable to network firewall policies.", + "type": "string" + }, + "region": { + "description": "[Output Only] URL of the region where the regional firewall policy resides. This field is not applicable to global firewall policies. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.", + "type": "string" } - }, - "id": "DisksRemoveResourcePoliciesRequest", - "type": "object" + } }, - "RouterBgp": { + "FirewallPolicyRule": { + "id": "FirewallPolicyRule", + "description": "Represents a rule that describes one or more match conditions along with the action to be taken when traffic matches this condition (allow or deny).", "type": "object", "properties": { - "advertiseMode": { - "enum": [ - "CUSTOM", - "DEFAULT" - ], - "description": "User-specified flag to indicate which mode to use for advertisement. The options are DEFAULT or CUSTOM.", + "kind": { + "description": "[Output only] Type of the resource. Always compute#firewallPolicyRule for firewall policy rules", + "default": "compute#firewallPolicyRule", + "type": "string" + }, + "ruleName": { + "description": "An optional name for the rule. This field is not a unique identifier and can be updated.", + "type": "string" + }, + "description": { + "description": "An optional description for this resource.", + "type": "string" + }, + "priority": { + "description": "An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest prority.", + "type": "integer", + "format": "int32" + }, + "match": { + "description": "A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.", + "$ref": "FirewallPolicyRuleMatcher" + }, + "action": { + "description": "The Action to perform when the client connection triggers the rule. Valid actions are \"allow\", \"deny\" and \"goto_next\".", + "type": "string" + }, + "securityProfileGroup": { + "description": "A fully-qualified URL of a SecurityProfile resource instance. Example: https://networksecurity.googleapis.com/v1/projects/{project}/locations/{location}/securityProfileGroups/my-security-profile-group Must be specified if action = 'apply_security_profile_group' and cannot be specified for other actions.", + "type": "string" + }, + "tlsInspect": { + "description": "Boolean flag indicating if the traffic should be TLS decrypted. Can be set only if action = 'apply_security_profile_group' and cannot be set for other actions.", + "type": "boolean" + }, + "direction": { + "description": "The direction in which this rule applies.", "type": "string", "enumDescriptions": [ "", "" + ], + "enum": [ + "EGRESS", + "INGRESS" ] }, - "keepaliveInterval": { - "description": "The interval in seconds between BGP keepalive messages that are sent to the peer. Hold time is three times the interval at which keepalive messages are sent, and the hold time is the maximum number of seconds allowed to elapse between successive keepalive messages that BGP receives from a peer. BGP will use the smaller of either the local hold time value or the peer's hold time value as the hold time for the BGP connection between the two peers. If set, this value must be between 20 and 60. The default is 20.", - "type": "integer", - "format": "uint32" - }, - "advertisedIpRanges": { - "items": { - "$ref": "RouterAdvertisedIpRange" - }, + "targetResources": { + "description": "A list of network resource URLs to which this rule applies. This field allows you to control which network's VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule.", "type": "array", - "description": "User-specified list of individual IP ranges to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These IP ranges will be advertised in addition to any specified groups. Leave this field blank to advertise no custom IP ranges." + "items": { + "type": "string" + } }, - "asn": { - "format": "uint32", - "description": "Local BGP Autonomous System Number (ASN). Must be an RFC6996 private ASN, either 16-bit or 32-bit. The value will be fixed for this router resource. All VPN tunnels that link to this router will have the same local ASN.", - "type": "integer" + "enableLogging": { + "description": "Denotes whether to enable logging for a particular rule. If logging is enabled, logs will be exported to the configured export destination in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging on \"goto_next\" rules.", + "type": "boolean" }, - "advertisedGroups": { - "description": "User-specified list of prefix groups to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These groups will be advertised in addition to any specified prefixes. Leave this field blank to advertise no custom groups.", + "ruleTupleCount": { + "description": "[Output Only] Calculation of the complexity of a single firewall policy rule.", + "type": "integer", + "format": "int32" + }, + "targetServiceAccounts": { + "description": "A list of service accounts indicating the sets of instances that are applied with this rule.", "type": "array", "items": { - "enum": [ - "ALL_SUBNETS" - ], - "enumDescriptions": [ - "Advertise all available subnets (including peer VPC subnets)." - ], "type": "string" } + }, + "targetSecureTags": { + "description": "A list of secure tags that controls which instances the firewall rule applies to. If targetSecureTag are specified, then the firewall rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the target_secure_tag are in INEFFECTIVE state, then this rule will be ignored. targetSecureTag may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag are specified, the firewall rule applies to all instances on the specified network. Maximum number of target label tags allowed is 256.", + "type": "array", + "items": { + "$ref": "FirewallPolicyRuleSecureTag" + } + }, + "disabled": { + "description": "Denotes whether the firewall policy rule is disabled. When set to true, the firewall policy rule is not enforced and traffic behaves as if it did not exist. If this is unspecified, the firewall policy rule will be enabled.", + "type": "boolean" } - }, - "id": "RouterBgp" + } }, "FirewallPolicyRuleMatcher": { + "id": "FirewallPolicyRuleMatcher", "description": "Represents a match condition that incoming traffic is evaluated against. Exactly one field must be specified.", + "type": "object", "properties": { - "destIpRanges": { + "srcIpRanges": { + "description": "CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.", + "type": "array", "items": { "type": "string" - }, + } + }, + "destIpRanges": { "description": "CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.", - "type": "array" + "type": "array", + "items": { + "type": "string" + } + }, + "layer4Configs": { + "description": "Pairs of IP protocols and ports that the rule should match.", + "type": "array", + "items": { + "$ref": "FirewallPolicyRuleMatcherLayer4Config" + } }, "srcSecureTags": { "description": "List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.", @@ -5367,613 +5158,259 @@ "$ref": "FirewallPolicyRuleSecureTag" } }, - "layer4Configs": { - "description": "Pairs of IP protocols and ports that the rule should match.", + "destAddressGroups": { + "description": "Address groups which should be matched against the traffic destination. Maximum number of destination address groups is 10.", "type": "array", "items": { - "$ref": "FirewallPolicyRuleMatcherLayer4Config" + "type": "string" } }, - "srcIpRanges": { - "description": "CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.", + "srcAddressGroups": { + "description": "Address groups which should be matched against the traffic source. Maximum number of source address groups is 10.", "type": "array", "items": { "type": "string" } - } - }, - "id": "FirewallPolicyRuleMatcher", - "type": "object" - }, - "ZoneSetLabelsRequest": { - "id": "ZoneSetLabelsRequest", - "properties": { - "labels": { - "type": "object", - "additionalProperties": { + }, + "srcFqdns": { + "description": "Fully Qualified Domain Name (FQDN) which should be matched against traffic source. Maximum number of source fqdn allowed is 100.", + "type": "array", + "items": { "type": "string" - }, - "description": "The labels to set for this resource." + } }, - "labelFingerprint": { - "format": "byte", - "description": "The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. Make a get() request to the resource to get the latest fingerprint.", - "type": "string" + "destFqdns": { + "description": "Fully Qualified Domain Name (FQDN) which should be matched against traffic destination. Maximum number of destination fqdn allowed is 100.", + "type": "array", + "items": { + "type": "string" + } + }, + "srcRegionCodes": { + "description": "Region codes whose IP addresses will be used to match for source of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex.\"US\" Maximum number of source region codes allowed is 5000.", + "type": "array", + "items": { + "type": "string" + } + }, + "destRegionCodes": { + "description": "Region codes whose IP addresses will be used to match for destination of traffic. Should be specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex.\"US\" Maximum number of dest region codes allowed is 5000.", + "type": "array", + "items": { + "type": "string" + } + }, + "destThreatIntelligences": { + "description": "Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic destination.", + "type": "array", + "items": { + "type": "string" + } + }, + "srcThreatIntelligences": { + "description": "Names of Network Threat Intelligence lists. The IPs in these lists will be matched against traffic source.", + "type": "array", + "items": { + "type": "string" + } } - }, - "type": "object" + } }, - "ShieldedInstanceIntegrityPolicy": { - "id": "ShieldedInstanceIntegrityPolicy", + "FirewallPolicyRuleMatcherLayer4Config": { + "id": "FirewallPolicyRuleMatcherLayer4Config", "type": "object", - "description": "The policy describes the baseline against which Instance boot integrity is measured.", "properties": { - "updateAutoLearnPolicy": { - "description": "Updates the integrity policy baseline using the measurements from the VM instance's most recent boot.", - "type": "boolean" + "ipProtocol": { + "description": "The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.", + "type": "string" + }, + "ports": { + "description": "An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: [\"22\"], [\"80\",\"443\"], and [\"12345-12349\"].", + "type": "array", + "items": { + "type": "string" + } } } }, - "MachineType": { + "FirewallPolicyRuleSecureTag": { + "id": "FirewallPolicyRuleSecureTag", + "type": "object", "properties": { - "scratchDisks": { - "description": "[Output Only] A list of extended scratch disks assigned to the instance.", - "type": "array", - "items": { - "properties": { - "diskGb": { - "type": "integer", - "description": "Size of the scratch disk, defined in GB.", - "format": "int32" - } - }, - "type": "object" - } + "name": { + "description": "Name of the secure tag, created with TagManager's TagValue API.", + "pattern": "tagValues/[0-9]+", + "type": "string" }, - "id": { + "state": { + "description": "[Output Only] State of the secure tag, either `EFFECTIVE` or `INEFFECTIVE`. A secure tag is `INEFFECTIVE` when it is deleted or its network is deleted.", "type": "string", - "format": "uint64", - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server." + "enumDescriptions": [ + "", + "" + ], + "enum": [ + "EFFECTIVE", + "INEFFECTIVE" + ] + } + } + }, + "FirewallPolicyAssociation": { + "id": "FirewallPolicyAssociation", + "type": "object", + "properties": { + "name": { + "description": "The name for an association.", + "type": "string" }, - "isSharedCpu": { - "description": "[Output Only] Whether this machine type has a shared CPU. See Shared-core machine types for more information.", - "type": "boolean" + "attachmentTarget": { + "description": "The target that the firewall policy is attached to.", + "type": "string" }, - "selfLink": { - "description": "[Output Only] Server-defined URL for the resource.", + "firewallPolicyId": { + "description": "[Output Only] The firewall policy ID of the association.", "type": "string" }, - "name": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "[Output Only] Name of the resource.", - "type": "string" - }, - "maximumPersistentDisksSizeGb": { - "description": "[Output Only] Maximum total persistent disks size (GB) allowed.", - "format": "int64", - "type": "string" - }, - "imageSpaceGb": { - "format": "int32", - "type": "integer", - "description": "[Deprecated] This property is deprecated and will never be populated with any relevant values." - }, - "creationTimestamp": { - "type": "string", - "description": "[Output Only] Creation timestamp in RFC3339 text format." - }, - "kind": { - "description": "[Output Only] The type of the resource. Always compute#machineType for machine types.", - "default": "compute#machineType", - "type": "string" - }, - "memoryMb": { - "type": "integer", - "format": "int32", - "description": "[Output Only] The amount of physical memory available to the instance, defined in MB." - }, - "description": { - "description": "[Output Only] An optional textual description of the resource.", + "shortName": { + "description": "[Output Only] The short name of the firewall policy of the association.", "type": "string" }, - "accelerators": { - "items": { - "type": "object", - "properties": { - "guestAcceleratorCount": { - "format": "int32", - "type": "integer", - "description": "Number of accelerator cards exposed to the guest." - }, - "guestAcceleratorType": { - "type": "string", - "description": "The accelerator type resource name, not a full URL, e.g. 'nvidia-tesla-k80'." - } - } - }, - "description": "[Output Only] A list of accelerator configurations assigned to this machine type.", - "type": "array" - }, - "zone": { - "description": "[Output Only] The name of the zone where the machine type resides, such as us-central1-a.", + "displayName": { + "description": "[Output Only] Deprecated, please use short name instead. The display name of the firewall policy of the association.", + "deprecated": true, "type": "string" - }, - "guestCpus": { - "format": "int32", - "type": "integer", - "description": "[Output Only] The number of virtual CPUs that are available to the instance." - }, - "deprecated": { - "description": "[Output Only] The deprecation status associated with this machine type. Only applicable if the machine type is unavailable.", - "$ref": "DeprecationStatus" - }, - "maximumPersistentDisks": { - "description": "[Output Only] Maximum persistent disks allowed.", - "format": "int32", - "type": "integer" } - }, - "type": "object", - "description": "Represents a Machine Type resource. You can use specific machine types for your VM instances based on performance and pricing requirements. For more information, read Machine Types.", - "id": "MachineType" + } }, - "NetworkEndpointGroupAppEngine": { + "FirewallPoliciesListAssociationsResponse": { + "id": "FirewallPoliciesListAssociationsResponse", + "type": "object", "properties": { - "service": { - "description": "Optional serving service. The service name is case-sensitive and must be 1-63 characters long. Example value: \"default\", \"my-service\".", - "type": "string" - }, - "version": { - "description": "Optional serving version. The version name is case-sensitive and must be 1-100 characters long. Example value: \"v1\", \"v2\".", + "kind": { + "description": "[Output Only] Type of firewallPolicy associations. Always compute#FirewallPoliciesListAssociations for lists of firewallPolicy associations.", + "default": "compute#firewallPoliciesListAssociationsResponse", "type": "string" }, - "urlMask": { - "description": "A template to parse service and version fields from a request URL. URL mask allows for routing to multiple App Engine services without having to create multiple Network Endpoint Groups and backend services. For example, the request URLs \"foo1-dot-appname.appspot.com/v1\" and \"foo1-dot-appname.appspot.com/v2\" can be backed by the same Serverless NEG with URL mask \"\u003cservice\u003e-dot-appname.appspot.com/\u003cversion\u003e\". The URL mask will parse them to { service = \"foo1\", version = \"v1\" } and { service = \"foo1\", version = \"v2\" } respectively.", - "type": "string" - } - }, - "id": "NetworkEndpointGroupAppEngine", - "description": "Configuration for an App Engine network endpoint group (NEG). The service is optional, may be provided explicitly or in the URL mask. The version is optional and can only be provided explicitly or in the URL mask when service is present. Note: App Engine service must be in the same project and located in the same region as the Serverless NEG.", - "type": "object" - }, - "GlobalNetworkEndpointGroupsDetachEndpointsRequest": { - "type": "object", - "properties": { - "networkEndpoints": { - "type": "array", - "items": { - "$ref": "NetworkEndpoint" - }, - "description": "The list of network endpoints to be detached." - } - }, - "id": "GlobalNetworkEndpointGroupsDetachEndpointsRequest" - }, - "InstanceGroupManagersListManagedInstancesResponse": { - "properties": { - "managedInstances": { + "associations": { + "description": "A list of associations.", "type": "array", - "description": "[Output Only] The list of instances in the managed instance group.", "items": { - "$ref": "ManagedInstance" + "$ref": "FirewallPolicyAssociation" } - }, - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." } - }, - "id": "InstanceGroupManagersListManagedInstancesResponse", - "type": "object" + } }, - "CustomerEncryptionKey": { + "GlobalOrganizationSetPolicyRequest": { + "id": "GlobalOrganizationSetPolicyRequest", "type": "object", - "id": "CustomerEncryptionKey", "properties": { - "kmsKeyServiceAccount": { - "description": "The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used. For example: \"kmsKeyServiceAccount\": \"name@project_id.iam.gserviceaccount.com/ ", - "type": "string" - }, - "sha256": { - "type": "string", - "description": "[Output only] The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource." + "policy": { + "description": "REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them.", + "$ref": "Policy" }, - "rsaEncryptedKey": { - "description": "Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey. For example: \"rsaEncryptedKey\": \"ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH z0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD D6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==\" The key must meet the following requirements before you can provide it to Compute Engine: 1. The key is wrapped using a RSA public key certificate provided by Google. 2. After being wrapped, the key must be encoded in RFC 4648 base64 encoding. Gets the RSA public key certificate provided by Google at: https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingress.pem ", - "type": "string" + "bindings": { + "description": "Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.", + "type": "array", + "items": { + "$ref": "Binding" + } }, - "rawKey": { + "etag": { + "description": "Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.", "type": "string", - "description": "Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey. For example: \"rawKey\": \"SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0=\" " - }, - "kmsKeyName": { - "description": "The name of the encryption key that is stored in Google Cloud KMS. For example: \"kmsKeyName\": \"projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key ", - "type": "string" + "format": "byte" } } }, - "AcceleratorTypeList": { + "RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse": { + "id": "RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse", + "type": "object", "properties": { - "warning": { - "description": "[Output Only] Informational warning message.", - "type": "object", - "properties": { - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, - "data": { - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "items": { - "type": "object", - "properties": { - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - }, - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - } - } - }, - "type": "array" - }, - "code": { - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], - "type": "string", - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response." - } + "firewalls": { + "description": "Effective firewalls on the network.", + "type": "array", + "items": { + "$ref": "Firewall" } }, - "items": { + "firewallPolicys": { + "description": "Effective firewalls from firewall policy.", "type": "array", - "description": "A list of AcceleratorType resources.", "items": { - "$ref": "AcceleratorType" + "$ref": "RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy" } - }, - "kind": { - "default": "compute#acceleratorTypeList", - "description": "[Output Only] Type of resource. Always compute#acceleratorTypeList for lists of accelerator types.", - "type": "string" - }, - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", - "type": "string" - }, - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", - "type": "string" - }, - "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", - "type": "string" - } - }, - "description": "Contains a list of accelerator types.", - "type": "object", - "id": "AcceleratorTypeList" - }, - "SecurityPolicyReference": { - "id": "SecurityPolicyReference", - "type": "object", - "properties": { - "securityPolicy": { - "type": "string" } } }, - "InstancesRemoveResourcePoliciesRequest": { - "id": "InstancesRemoveResourcePoliciesRequest", - "properties": { - "resourcePolicies": { - "items": { - "type": "string" - }, - "type": "array", - "description": "Resource policies to be removed from this instance." - } - }, - "type": "object" - }, - "FirewallLogConfig": { - "id": "FirewallLogConfig", - "description": "The available logging options for a firewall rule.", + "RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy": { + "id": "RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy", "type": "object", "properties": { - "enable": { - "description": "This field denotes whether to enable logging for a particular firewall rule.", - "type": "boolean" - }, - "metadata": { - "description": "This field can only be specified for a particular firewall rule if logging is enabled for that rule. This field denotes whether to include or exclude metadata for firewall logs.", - "enumDescriptions": [ - "", - "" - ], - "type": "string", - "enum": [ - "EXCLUDE_ALL_METADATA", - "INCLUDE_ALL_METADATA" - ] - } - } - }, - "TargetSslProxy": { - "properties": { - "sslCertificates": { - "type": "array", - "items": { - "type": "string" - }, - "description": "URLs to SslCertificate resources that are used to authenticate connections to Backends. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates. sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED." - }, - "kind": { - "default": "compute#targetSslProxy", - "type": "string", - "description": "[Output Only] Type of the resource. Always compute#targetSslProxy for target SSL proxies." - }, - "service": { - "description": "URL to the BackendService resource.", - "type": "string" - }, - "creationTimestamp": { - "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "name": { + "description": "[Output Only] The name of the firewall policy.", "type": "string" }, - "proxyHeader": { + "type": { + "description": "[Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.", "type": "string", "enumDescriptions": [ + "", + "", "", "" ], "enum": [ - "NONE", - "PROXY_V1" - ], - "description": "Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE." - }, - "id": { - "format": "uint64", - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", - "type": "string" - }, - "selfLink": { - "description": "[Output Only] Server-defined URL for the resource.", - "type": "string" - }, - "description": { - "type": "string", - "description": "An optional description of this resource. Provide this property when you create the resource." - }, - "sslPolicy": { - "type": "string", - "description": "URL of SslPolicy resource that will be associated with the TargetSslProxy resource. If not set, the TargetSslProxy resource will not have any SSL policy configured." + "HIERARCHY", + "NETWORK", + "NETWORK_REGIONAL", + "UNSPECIFIED" + ] }, - "certificateMap": { - "description": "URL of a certificate map that identifies a certificate map associated with the given target proxy. This field can only be set for global target proxies. If set, sslCertificates will be ignored.", + "displayName": { + "description": "[Output Only] The display name of the firewall policy.", "type": "string" }, - "name": { - "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string" + "rules": { + "description": "The rules that apply to the network.", + "type": "array", + "items": { + "$ref": "FirewallPolicyRule" + } } - }, - "description": "Represents a Target SSL Proxy resource. A target SSL proxy is a component of a SSL Proxy load balancer. Global forwarding rules reference a target SSL proxy, and the target proxy then references an external backend service. For more information, read Using Target Proxies.", - "type": "object", - "id": "TargetSslProxy" + } }, - "NetworkEndpointGroupList": { + "SecurityPolicyList": { + "id": "SecurityPolicyList", + "type": "object", "properties": { - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", - "type": "string" - }, "kind": { - "type": "string", - "default": "compute#networkEndpointGroupList", - "description": "[Output Only] The resource type, which is always compute#networkEndpointGroupList for network endpoint group lists." - }, - "warning": { - "type": "object", - "description": "[Output Only] Informational warning message.", - "properties": { - "data": { - "items": { - "properties": { - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - }, - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - } - }, - "type": "object" - }, - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "type": "array" - }, - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - }, - "code": { - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "type": "string", - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ] - } - } + "description": "[Output Only] Type of resource. Always compute#securityPolicyList for listsof securityPolicies", + "default": "compute#securityPolicyList", + "type": "string" }, "id": { "description": "[Output Only] Unique identifier for the resource; defined by the server.", "type": "string" }, "items": { + "description": "A list of SecurityPolicy resources.", + "type": "array", "items": { - "$ref": "NetworkEndpointGroup" - }, - "description": "A list of NetworkEndpointGroup resources.", - "type": "array" + "$ref": "SecurityPolicy" + } }, "nextPageToken": { "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", "type": "string" - } - }, - "type": "object", - "id": "NetworkEndpointGroupList" - }, - "LogConfig": { - "type": "object", - "properties": { - "cloudAudit": { - "description": "This is deprecated and has no effect. Do not use.", - "$ref": "LogConfigCloudAuditOptions" }, - "dataAccess": { - "$ref": "LogConfigDataAccessOptions", - "description": "This is deprecated and has no effect. Do not use." - }, - "counter": { - "$ref": "LogConfigCounterOptions", - "description": "This is deprecated and has no effect. Do not use." - } - }, - "description": "This is deprecated and has no effect. Do not use.", - "id": "LogConfig" - }, - "ReservationList": { - "type": "object", - "properties": { "warning": { "description": "[Output Only] Informational warning message.", "type": "object", "properties": { - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - }, "code": { - "type": "string", "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -5985,6 +5422,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -6003,6 +5441,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -6014,6 +5482,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -6033,10 +5502,15 @@ "UNREACHABLE" ] }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, "data": { - "type": "array", "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", "items": { + "type": "object", "properties": { "key": { "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", @@ -6046,475 +5520,868 @@ "description": "[Output Only] A warning data value corresponding to the key.", "type": "string" } - }, - "type": "object" + } } } } + } + } + }, + "SecurityPolicy": { + "id": "SecurityPolicy", + "description": "Represents a Google Cloud Armor security policy resource. Only external backend services that use load balancers can reference a security policy. For more information, see Google Cloud Armor security policy overview.", + "type": "object", + "properties": { + "userDefinedFields": { + "description": "Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies. A user-defined field consists of up to 4 bytes extracted from a fixed offset in the packet, relative to the IPv4, IPv6, TCP, or UDP header, with an optional mask to select certain bits. Rules may then specify matching values for these fields. Example: userDefinedFields: - name: \"ipv4_fragment_offset\" base: IPV4 offset: 6 size: 2 mask: \"0x1fff\"", + "type": "array", + "items": { + "$ref": "SecurityPolicyUserDefinedField" + } }, "kind": { - "default": "compute#reservationList", - "description": "[Output Only] Type of resource.Always compute#reservationsList for listsof reservations", - "type": "string" - }, - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", + "description": "[Output only] Type of the resource. Always compute#securityPolicyfor security policies", + "default": "compute#securityPolicy", "type": "string" }, - "nextPageToken": { + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." + "format": "uint64" }, - "items": { - "description": "[Output Only] A list of Allocation resources.", - "type": "array", - "items": { - "$ref": "Reservation" - } + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" }, - "id": { + "name": { + "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "type": "string" + }, + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource.", + "type": "string" + }, + "rules": { + "description": "A list of rules that belong to this policy. There must always be a default rule which is a rule with priority 2147483647 and match all condition (for the match condition this means match \"*\" for srcIpRanges and for the networkMatch condition every field must be either match \"*\" or not set). If no rules are provided when creating a security policy, a default rule with action \"allow\" will be added.", + "type": "array", + "items": { + "$ref": "SecurityPolicyRule" + } + }, + "adaptiveProtectionConfig": { + "$ref": "SecurityPolicyAdaptiveProtectionConfig" + }, + "ddosProtectionConfig": { + "$ref": "SecurityPolicyDdosProtectionConfig" + }, + "advancedOptionsConfig": { + "$ref": "SecurityPolicyAdvancedOptionsConfig" + }, + "recaptchaOptionsConfig": { + "$ref": "SecurityPolicyRecaptchaOptionsConfig" + }, + "fingerprint": { + "description": "Specifies a fingerprint for this resource, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make get() request to the security policy.", "type": "string", - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server." - } - }, - "id": "ReservationList" - }, - "TargetSslProxiesSetCertificateMapRequest": { - "properties": { - "certificateMap": { + "format": "byte" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", + "type": "string" + }, + "type": { + "description": "The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. - CLOUD_ARMOR_NETWORK: Cloud Armor network policies can be configured to filter packets targeting network load balancing resources such as backend services, target pools, target instances, and instances with external IPs. They filter requests before the request is served from the application. This field can be set only at resource creation time.", + "type": "string", + "enumDescriptions": [ + "", + "", + "" + ], + "enum": [ + "CLOUD_ARMOR", + "CLOUD_ARMOR_EDGE", + "CLOUD_ARMOR_NETWORK" + ] + }, + "labels": { + "description": "Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "labelFingerprint": { + "description": "A fingerprint for the labels being applied to this security policy, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make get() request to the security policy.", "type": "string", - "description": "URL of the Certificate Map to associate with this TargetSslProxy." + "format": "byte" + }, + "region": { + "description": "[Output Only] URL of the region where the regional security policy resides. This field is not applicable to global security policies.", + "type": "string" } - }, - "id": "TargetSslProxiesSetCertificateMapRequest", - "type": "object" + } }, - "HTTPSHealthCheck": { + "SecurityPolicyUserDefinedField": { + "id": "SecurityPolicyUserDefinedField", "type": "object", "properties": { - "proxyHeader": { - "enum": [ - "NONE", - "PROXY_V1" - ], - "description": "Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.", + "name": { + "description": "The name of this field. Must be unique within the policy.", + "type": "string" + }, + "base": { + "description": "The base relative to which 'offset' is measured. Possible values are: - IPV4: Points to the beginning of the IPv4 header. - IPV6: Points to the beginning of the IPv6 header. - TCP: Points to the beginning of the TCP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. - UDP: Points to the beginning of the UDP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. required", "type": "string", "enumDescriptions": [ + "", + "", "", "" + ], + "enum": [ + "IPV4", + "IPV6", + "TCP", + "UDP" ] }, - "port": { - "description": "The TCP port number to which the health check prober sends packets. The default value is 443. Valid values are 1 through 65535.", + "offset": { + "description": "Offset of the first byte of the field (in network byte order) relative to 'base'.", "type": "integer", "format": "int32" }, - "response": { - "type": "string", - "description": "Creates a content-based HTTPS health check. In addition to the required HTTP 200 (OK) status code, you can configure the health check to pass only when the backend sends this specific ASCII response string within the first 1024 bytes of the HTTP response body. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-http" + "size": { + "description": "Size of the field in bytes. Valid values: 1-4.", + "type": "integer", + "format": "int32" }, - "portName": { - "description": "Not supported.", + "mask": { + "description": "If specified, apply this mask (bitwise AND) to the field to ignore bits before matching. Encoded as a hexadecimal number (starting with \"0x\"). The last byte of the field (in network byte order) corresponds to the least significant byte of the mask.", "type": "string" - }, - "portSpecification": { - "enumDescriptions": [ - "The port number in the health check's port is used for health checking. Applies to network endpoint group and instance group backends.", - "Not supported.", - "For network endpoint group backends, the health check uses the port number specified on each endpoint in the network endpoint group. For instance group backends, the health check uses the port number specified for the backend service's named port defined in the instance group's named ports." - ], - "enum": [ - "USE_FIXED_PORT", - "USE_NAMED_PORT", - "USE_SERVING_PORT" - ], - "description": "Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports.", + } + } + }, + "SecurityPolicyRule": { + "id": "SecurityPolicyRule", + "description": "Represents a rule that describes one or more match conditions along with the action to be taken when traffic matches this condition (allow or deny).", + "type": "object", + "properties": { + "kind": { + "description": "[Output only] Type of the resource. Always compute#securityPolicyRule for security policy rules", + "default": "compute#securityPolicyRule", "type": "string" }, - "host": { - "description": "The value of the host header in the HTTPS health check request. If left empty (default value), the host header is set to the destination IP address to which health check packets are sent. The destination IP address depends on the type of load balancer. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#hc-packet-dest", + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource.", "type": "string" }, - "requestPath": { - "description": "The request path of the HTTPS health check request. The default value is /.", + "priority": { + "description": "An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest priority.", + "type": "integer", + "format": "int32" + }, + "match": { + "description": "A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.", + "$ref": "SecurityPolicyRuleMatcher" + }, + "networkMatch": { + "description": "A match condition that incoming packets are evaluated against for CLOUD_ARMOR_NETWORK security policies. If it matches, the corresponding 'action' is enforced. The match criteria for a rule consists of built-in match fields (like 'srcIpRanges') and potentially multiple user-defined match fields ('userDefinedFields'). Field values may be extracted directly from the packet or derived from it (e.g. 'srcRegionCodes'). Some fields may not be present in every packet (e.g. 'srcPorts'). A user-defined field is only present if the base header is found in the packet and the entire field is in bounds. Each match field may specify which values can match it, listing one or more ranges, prefixes, or exact values that are considered a match for the field. A field value must be present in order to match a specified match field. If no match values are specified for a match field, then any field value is considered to match it, and it's not required to be present. For strings specifying '*' is also equivalent to match all. For a packet to match a rule, all specified match fields must match the corresponding field values derived from the packet. Example: networkMatch: srcIpRanges: - \"192.0.2.0/24\" - \"198.51.100.0/24\" userDefinedFields: - name: \"ipv4_fragment_offset\" values: - \"1-0x1fff\" The above match condition matches packets with a source IP in 192.0.2.0/24 or 198.51.100.0/24 and a user-defined field named \"ipv4_fragment_offset\" with a value between 1 and 0x1fff inclusive.", + "$ref": "SecurityPolicyRuleNetworkMatcher" + }, + "action": { + "description": "The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(STATUS): deny access to target, returns the HTTP response code specified. Valid values for `STATUS` are 403, 404, and 502. - rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. This action is only supported in Global Security Policies of type CLOUD_ARMOR. - throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this. ", "type": "string" + }, + "preview": { + "description": "If set to true, the specified action is not enforced.", + "type": "boolean" + }, + "rateLimitOptions": { + "description": "Must be specified if the action is \"rate_based_ban\" or \"throttle\". Cannot be specified for any other actions.", + "$ref": "SecurityPolicyRuleRateLimitOptions" + }, + "headerAction": { + "description": "Optional, additional actions that are performed on headers. This field is only supported in Global Security Policies of type CLOUD_ARMOR.", + "$ref": "SecurityPolicyRuleHttpHeaderAction" + }, + "redirectOptions": { + "description": "Parameters defining the redirect action. Cannot be specified for any other actions. This field is only supported in Global Security Policies of type CLOUD_ARMOR.", + "$ref": "SecurityPolicyRuleRedirectOptions" + }, + "preconfiguredWafConfig": { + "description": "Preconfigured WAF configuration to be applied for the rule. If the rule does not evaluate preconfigured WAF rules, i.e., if evaluatePreconfiguredWaf() is not used, this field will have no effect.", + "$ref": "SecurityPolicyRulePreconfiguredWafConfig" } - }, - "id": "HTTPSHealthCheck" + } }, - "NetworkEndpointGroupsDetachEndpointsRequest": { - "id": "NetworkEndpointGroupsDetachEndpointsRequest", + "SecurityPolicyRuleMatcher": { + "id": "SecurityPolicyRuleMatcher", + "description": "Represents a match condition that incoming traffic is evaluated against. Exactly one field must be specified.", "type": "object", "properties": { - "networkEndpoints": { + "expr": { + "description": "User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header. Expressions containing `evaluateThreatIntelligence` require Cloud Armor Managed Protection Plus tier and are not supported in Edge Policies nor in Regional Policies. Expressions containing `evaluatePreconfiguredExpr('sourceiplist-*')` require Cloud Armor Managed Protection Plus tier and are only supported in Global Security Policies.", + "$ref": "Expr" + }, + "exprOptions": { + "description": "The configuration options available when specifying a user defined CEVAL expression (i.e., 'expr').", + "$ref": "SecurityPolicyRuleMatcherExprOptions" + }, + "versionedExpr": { + "description": "Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config.", + "type": "string", + "enumDescriptions": [ + "Matches the source IP address of a request to the IP ranges supplied in config." + ], + "enum": [ + "SRC_IPS_V1" + ] + }, + "config": { + "description": "The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified.", + "$ref": "SecurityPolicyRuleMatcherConfig" + } + } + }, + "SecurityPolicyRuleMatcherExprOptions": { + "id": "SecurityPolicyRuleMatcherExprOptions", + "type": "object", + "properties": { + "recaptchaOptions": { + "description": "reCAPTCHA configuration options to be applied for the rule. If the rule does not evaluate reCAPTCHA tokens, this field has no effect.", + "$ref": "SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions" + } + } + }, + "SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions": { + "id": "SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions", + "type": "object", + "properties": { + "actionTokenSiteKeys": { + "description": "A list of site keys to be used during the validation of reCAPTCHA action-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.", "type": "array", "items": { - "$ref": "NetworkEndpoint" - }, - "description": "The list of network endpoints to be detached." + "type": "string" + } + }, + "sessionTokenSiteKeys": { + "description": "A list of site keys to be used during the validation of reCAPTCHA session-tokens. The provided site keys need to be created from reCAPTCHA API under the same project where the security policy is created.", + "type": "array", + "items": { + "type": "string" + } } } }, - "NodeGroupsAddNodesRequest": { - "id": "NodeGroupsAddNodesRequest", + "SecurityPolicyRuleMatcherConfig": { + "id": "SecurityPolicyRuleMatcherConfig", + "type": "object", "properties": { - "additionalNodeCount": { - "description": "Count of additional nodes to be added to the node group.", - "type": "integer", - "format": "int32" + "srcIpRanges": { + "description": "CIDR IP address range. Maximum number of src_ip_ranges allowed is 10.", + "type": "array", + "items": { + "type": "string" + } } - }, - "type": "object" + } }, - "Snapshot": { - "description": "Represents a Persistent Disk Snapshot resource. You can use snapshots to back up data on a regular interval. For more information, read Creating persistent disk snapshots.", - "id": "Snapshot", + "SecurityPolicyRuleNetworkMatcher": { + "id": "SecurityPolicyRuleNetworkMatcher", + "description": "Represents a match condition that incoming network traffic is evaluated against.", "type": "object", "properties": { - "chainName": { - "description": "Creates the new snapshot in the snapshot chain labeled with the specified name. The chain name must be 1-63 characters long and comply with RFC1035. This is an uncommon option only for advanced service owners who needs to create separate snapshot chains, for example, for chargeback tracking. When you describe your snapshot resource, this field is visible only if it has a non-empty value.", - "type": "string" + "userDefinedFields": { + "description": "User-defined fields. Each element names a defined field and lists the matching values for that field.", + "type": "array", + "items": { + "$ref": "SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch" + } }, - "snapshotEncryptionKey": { - "$ref": "CustomerEncryptionKey", - "description": "Encrypts the snapshot using a customer-supplied encryption key. After you encrypt a snapshot using a customer-supplied key, you must provide the same key if you use the snapshot later. For example, you must provide the encryption key when you create a disk from the encrypted snapshot in a future request. Customer-supplied encryption keys do not protect access to metadata of the snapshot. If you do not provide an encryption key when creating the snapshot, then the snapshot will be encrypted using an automatically generated key and you do not need to provide a key to use the snapshot later." + "srcIpRanges": { + "description": "Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.", + "type": "array", + "items": { + "type": "string" + } }, - "snapshotType": { - "type": "string", - "enum": [ - "ARCHIVE", - "STANDARD" - ], - "enumDescriptions": [ - "", - "" - ], - "description": "Indicates the type of the snapshot." + "destIpRanges": { + "description": "Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.", + "type": "array", + "items": { + "type": "string" + } }, - "storageLocations": { + "ipProtocols": { + "description": "IPv4 protocol / IPv6 next header (after extension headers). Each element can be an 8-bit unsigned decimal number (e.g. \"6\"), range (e.g. \"253-254\"), or one of the following protocol names: \"tcp\", \"udp\", \"icmp\", \"esp\", \"ah\", \"ipip\", or \"sctp\".", + "type": "array", "items": { "type": "string" - }, - "description": "Cloud Storage bucket storage location of the snapshot (regional or multi-regional).", - "type": "array" + } }, - "diskSizeGb": { - "type": "string", - "format": "int64", - "description": "[Output Only] Size of the source disk, specified in GB." + "srcPorts": { + "description": "Source port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. \"80\") or range (e.g. \"0-1023\").", + "type": "array", + "items": { + "type": "string" + } }, - "licenseCodes": { + "destPorts": { + "description": "Destination port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned decimal number (e.g. \"80\") or range (e.g. \"0-1023\").", "type": "array", - "description": "[Output Only] Integer license codes indicating which licenses are attached to this snapshot.", "items": { - "format": "int64", "type": "string" } }, - "sourceSnapshotSchedulePolicyId": { - "description": "[Output Only] ID of the resource policy which created this scheduled snapshot.", - "type": "string" + "srcRegionCodes": { + "description": "Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.", + "type": "array", + "items": { + "type": "string" + } }, - "creationSizeBytes": { - "format": "int64", - "description": "[Output Only] Size in bytes of the snapshot at creation time.", + "srcAsns": { + "description": "BGP Autonomous System Number associated with the source IP address.", + "type": "array", + "items": { + "type": "integer", + "format": "uint32" + } + } + } + }, + "SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch": { + "id": "SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch", + "type": "object", + "properties": { + "name": { + "description": "Name of the user-defined field, as given in the definition.", "type": "string" }, - "labelFingerprint": { - "type": "string", - "description": "A fingerprint for the labels being applied to this snapshot, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a snapshot.", - "format": "byte" + "values": { + "description": "Matching values of the field. Each element can be a 32-bit unsigned decimal or hexadecimal (starting with \"0x\") number (e.g. \"64\") or range (e.g. \"0x400-0x7ff\").", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "SecurityPolicyRuleRateLimitOptions": { + "id": "SecurityPolicyRuleRateLimitOptions", + "type": "object", + "properties": { + "rateLimitThreshold": { + "description": "Threshold at which to begin ratelimiting.", + "$ref": "SecurityPolicyRuleRateLimitOptionsThreshold" }, - "creationTimestamp": { - "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "conformAction": { + "description": "Action to take for requests that are under the configured rate limit threshold. Valid option is \"allow\" only.", "type": "string" }, - "sourceSnapshotSchedulePolicy": { - "type": "string", - "description": "[Output Only] URL of the resource policy which created this scheduled snapshot." - }, - "downloadBytes": { - "description": "[Output Only] Number of bytes downloaded to restore a snapshot to a disk.", - "format": "int64", + "exceedAction": { + "description": "Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are `deny(STATUS)`, where valid values for `STATUS` are 403, 404, 429, and 502, and `redirect`, where the redirect parameters come from `exceedRedirectOptions` below. The `redirect` action is only supported in Global Security Policies of type CLOUD_ARMOR.", "type": "string" }, - "sourceDiskEncryptionKey": { - "$ref": "CustomerEncryptionKey", - "description": "The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key." + "exceedRedirectOptions": { + "description": "Parameters defining the redirect action that is used as the exceed action. Cannot be specified if the exceed action is not redirect. This field is only supported in Global Security Policies of type CLOUD_ARMOR.", + "$ref": "SecurityPolicyRuleRedirectOptions" }, - "status": { + "enforceOnKey": { + "description": "Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if \"enforceOnKey\" is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under \"enforceOnKeyName\". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under \"enforceOnKeyName\". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates. - TLS_JA3_FINGERPRINT: JA3 TLS/SSL fingerprint if the client connects using HTTPS, HTTP/2 or HTTP/3. If not available, the key type defaults to ALL. - USER_IP: The IP address of the originating client, which is resolved based on \"userIpRequestHeaders\" configured with the security policy. If there is no \"userIpRequestHeaders\" configuration or an IP address cannot be resolved from it, the key type defaults to IP. ", + "type": "string", "enumDescriptions": [ - "Snapshot creation is in progress.", - "Snapshot is currently being deleted.", - "Snapshot creation failed.", - "Snapshot has been created successfully.", - "Snapshot is being uploaded." + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" ], - "type": "string", - "description": "[Output Only] The status of the snapshot. This can be CREATING, DELETING, FAILED, READY, or UPLOADING.", "enum": [ - "CREATING", - "DELETING", - "FAILED", - "READY", - "UPLOADING" + "ALL", + "HTTP_COOKIE", + "HTTP_HEADER", + "HTTP_PATH", + "IP", + "REGION_CODE", + "SNI", + "TLS_JA3_FINGERPRINT", + "USER_IP", + "XFF_IP" ] }, - "locationHint": { - "description": "An opaque location hint used to place the snapshot close to other resources. This field is for use by internal tools that use the public API.", - "type": "string" - }, - "storageBytes": { - "format": "int64", - "type": "string", - "description": "[Output Only] A size of the storage used by the snapshot. As snapshots share storage, this number is expected to change with snapshot creation/deletion." - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Labels to apply to this snapshot. These can be later modified by the setLabels method. Label values may be empty.", - "type": "object" - }, - "sourceDisk": { - "description": "The source disk used to create this snapshot.", - "type": "string" - }, - "id": { - "type": "string", - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", - "format": "uint64" - }, - "satisfiesPzs": { - "description": "[Output Only] Reserved for future use.", - "type": "boolean" - }, - "autoCreated": { - "description": "[Output Only] Set to true if snapshots are automatically created by applying resource policy on the target disk.", - "type": "boolean" - }, - "name": { - "type": "string", - "annotations": { - "required": [ - "compute.snapshots.insert" - ] - }, - "description": "Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" - }, - "kind": { - "default": "compute#snapshot", - "description": "[Output Only] Type of the resource. Always compute#snapshot for Snapshot resources.", - "type": "string" - }, - "sourceDiskId": { - "type": "string", - "description": "[Output Only] The ID value of the disk used to create this snapshot. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given disk name." - }, - "selfLink": { - "description": "[Output Only] Server-defined URL for the resource.", + "enforceOnKeyName": { + "description": "Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key value.", "type": "string" }, - "architecture": { - "description": "[Output Only] The architecture of the snapshot. Valid values are ARM64 or X86_64.", - "enumDescriptions": [ - "Default value indicating Architecture is not set.", - "Machines with architecture ARM64", - "Machines with architecture X86_64" - ], - "type": "string", - "enum": [ - "ARCHITECTURE_UNSPECIFIED", - "ARM64", - "X86_64" - ] - }, - "licenses": { - "description": "[Output Only] A list of public visible licenses that apply to this snapshot. This can be because the original image had licenses attached (such as a Windows image).", + "enforceOnKeyConfigs": { + "description": "If specified, any combination of values of enforce_on_key_type/enforce_on_key_name is treated as the key on which ratelimit threshold/action is enforced. You can specify up to 3 enforce_on_key_configs. If enforce_on_key_configs is specified, enforce_on_key must not be specified.", "type": "array", "items": { - "type": "string" + "$ref": "SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig" } }, - "storageBytesStatus": { - "enumDescriptions": [ - "", - "" - ], - "description": "[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date.", - "type": "string", - "enum": [ - "UPDATING", - "UP_TO_DATE" - ] + "banThreshold": { + "description": "Can only be specified if the action for the rule is \"rate_based_ban\". If specified, the key will be banned for the configured 'ban_duration_sec' when the number of requests that exceed the 'rate_limit_threshold' also exceed this 'ban_threshold'.", + "$ref": "SecurityPolicyRuleRateLimitOptionsThreshold" }, - "description": { - "description": "An optional description of this resource. Provide this property when you create the resource.", - "type": "string" + "banDurationSec": { + "description": "Can only be specified if the action for the rule is \"rate_based_ban\". If specified, determines the time (in seconds) the traffic will continue to be banned by the rate limit after the rate falls below the threshold.", + "type": "integer", + "format": "int32" } } }, - "RouterStatusResponse": { - "id": "RouterStatusResponse", + "SecurityPolicyRuleRateLimitOptionsThreshold": { + "id": "SecurityPolicyRuleRateLimitOptionsThreshold", "type": "object", "properties": { - "kind": { - "type": "string", - "default": "compute#routerStatusResponse", - "description": "Type of resource." + "count": { + "description": "Number of HTTP(S) requests for calculating the threshold.", + "type": "integer", + "format": "int32" }, - "result": { - "$ref": "RouterStatus" + "intervalSec": { + "description": "Interval over which the threshold is computed.", + "type": "integer", + "format": "int32" } } }, - "PacketIntervals": { - "description": "Next free: 7", + "SecurityPolicyRuleRedirectOptions": { + "id": "SecurityPolicyRuleRedirectOptions", + "type": "object", "properties": { "type": { + "description": "Type of the redirect action.", "type": "string", "enumDescriptions": [ - "Only applies to Echo packets. This shows the intervals between sending and receiving the same packet.", - "Intervals between received packets.", - "Intervals between transmitted packets.", + "", "" ], "enum": [ - "LOOPBACK", - "RECEIVE", - "TRANSMIT", - "TYPE_UNSPECIFIED" - ], - "description": "The type of packets for which inter-packet intervals were computed." + "EXTERNAL_302", + "GOOGLE_RECAPTCHA" + ] }, - "duration": { - "enum": [ - "DURATION_UNSPECIFIED", - "HOUR", - "MAX", - "MINUTE" - ], - "description": "From how long ago in the past these intervals were observed.", + "target": { + "description": "Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA.", + "type": "string" + } + } + }, + "SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig": { + "id": "SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig", + "type": "object", + "properties": { + "enforceOnKeyType": { + "description": "Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if \"enforceOnKeyConfigs\" is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under \"enforceOnKeyName\". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under \"enforceOnKeyName\". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates. - TLS_JA3_FINGERPRINT: JA3 TLS/SSL fingerprint if the client connects using HTTPS, HTTP/2 or HTTP/3. If not available, the key type defaults to ALL. - USER_IP: The IP address of the originating client, which is resolved based on \"userIpRequestHeaders\" configured with the security policy. If there is no \"userIpRequestHeaders\" configuration or an IP address cannot be resolved from it, the key type defaults to IP. ", "type": "string", "enumDescriptions": [ "", "", - "From BfdSession object creation time.", + "", + "", + "", + "", + "", + "", + "", "" + ], + "enum": [ + "ALL", + "HTTP_COOKIE", + "HTTP_HEADER", + "HTTP_PATH", + "IP", + "REGION_CODE", + "SNI", + "TLS_JA3_FINGERPRINT", + "USER_IP", + "XFF_IP" ] }, - "numIntervals": { - "format": "int64", - "type": "string", - "description": "Number of inter-packet intervals from which these statistics were derived." - }, - "avgMs": { - "format": "int64", - "type": "string", - "description": "Average observed inter-packet interval in milliseconds." - }, - "maxMs": { - "format": "int64", - "type": "string", - "description": "Maximum observed inter-packet interval in milliseconds." - }, - "minMs": { - "format": "int64", - "description": "Minimum observed inter-packet interval in milliseconds.", + "enforceOnKeyName": { + "description": "Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key value.", "type": "string" } - }, - "type": "object", - "id": "PacketIntervals" + } }, - "InstanceGroupManagersUpdatePerInstanceConfigsReq": { - "description": "InstanceGroupManagers.updatePerInstanceConfigs", - "id": "InstanceGroupManagersUpdatePerInstanceConfigsReq", + "SecurityPolicyRuleHttpHeaderAction": { + "id": "SecurityPolicyRuleHttpHeaderAction", "type": "object", "properties": { - "perInstanceConfigs": { - "description": "The list of per-instance configurations to insert or patch on this managed instance group.", + "requestHeadersToAdds": { + "description": "The list of request headers to add or overwrite if they're already present.", "type": "array", "items": { - "$ref": "PerInstanceConfig" + "$ref": "SecurityPolicyRuleHttpHeaderActionHttpHeaderOption" } } } }, - "BackendServiceConnectionTrackingPolicy": { - "description": "Connection Tracking configuration for this BackendService.", - "id": "BackendServiceConnectionTrackingPolicy", + "SecurityPolicyRuleHttpHeaderActionHttpHeaderOption": { + "id": "SecurityPolicyRuleHttpHeaderActionHttpHeaderOption", + "type": "object", "properties": { - "enableStrongAffinity": { - "description": "Enable Strong Session Affinity for Network Load Balancing. This option is not available publicly.", + "headerName": { + "description": "The name of the header to set.", + "type": "string" + }, + "headerValue": { + "description": "The value to set the named header to.", + "type": "string" + } + } + }, + "SecurityPolicyRulePreconfiguredWafConfig": { + "id": "SecurityPolicyRulePreconfiguredWafConfig", + "type": "object", + "properties": { + "exclusions": { + "description": "A list of exclusions to apply during preconfigured WAF evaluation.", + "type": "array", + "items": { + "$ref": "SecurityPolicyRulePreconfiguredWafConfigExclusion" + } + } + } + }, + "SecurityPolicyRulePreconfiguredWafConfigExclusion": { + "id": "SecurityPolicyRulePreconfiguredWafConfigExclusion", + "type": "object", + "properties": { + "targetRuleSet": { + "description": "Target WAF rule set to apply the preconfigured WAF exclusion.", + "type": "string" + }, + "targetRuleIds": { + "description": "A list of target rule IDs under the WAF rule set to apply the preconfigured WAF exclusion. If omitted, it refers to all the rule IDs under the WAF rule set.", + "type": "array", + "items": { + "type": "string" + } + }, + "requestHeadersToExclude": { + "description": "A list of request header names whose value will be excluded from inspection during preconfigured WAF evaluation.", + "type": "array", + "items": { + "$ref": "SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams" + } + }, + "requestCookiesToExclude": { + "description": "A list of request cookie names whose value will be excluded from inspection during preconfigured WAF evaluation.", + "type": "array", + "items": { + "$ref": "SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams" + } + }, + "requestQueryParamsToExclude": { + "description": "A list of request query parameter names whose value will be excluded from inspection during preconfigured WAF evaluation. Note that the parameter can be in the query string or in the POST body.", + "type": "array", + "items": { + "$ref": "SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams" + } + }, + "requestUrisToExclude": { + "description": "A list of request URIs from the request line to be excluded from inspection during preconfigured WAF evaluation. When specifying this field, the query or fragment part should be excluded.", + "type": "array", + "items": { + "$ref": "SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams" + } + } + } + }, + "SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams": { + "id": "SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams", + "type": "object", + "properties": { + "val": { + "description": "The value of the field.", + "type": "string" + }, + "op": { + "description": "The match operator for the field.", + "type": "string", + "enumDescriptions": [ + "The operator matches if the field value contains the specified value.", + "The operator matches if the field value ends with the specified value.", + "The operator matches if the field value equals the specified value.", + "The operator matches if the field value is any value.", + "The operator matches if the field value starts with the specified value." + ], + "enum": [ + "CONTAINS", + "ENDS_WITH", + "EQUALS", + "EQUALS_ANY", + "STARTS_WITH" + ] + } + } + }, + "SecurityPolicyAdaptiveProtectionConfig": { + "id": "SecurityPolicyAdaptiveProtectionConfig", + "description": "Configuration options for Cloud Armor Adaptive Protection (CAAP).", + "type": "object", + "properties": { + "layer7DdosDefenseConfig": { + "description": "If set to true, enables Cloud Armor Machine Learning.", + "$ref": "SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig" + } + } + }, + "SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig": { + "id": "SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig", + "description": "Configuration options for L7 DDoS detection. This field is only supported in Global Security Policies of type CLOUD_ARMOR.", + "type": "object", + "properties": { + "enable": { + "description": "If set to true, enables CAAP for L7 DDoS detection. This field is only supported in Global Security Policies of type CLOUD_ARMOR.", "type": "boolean" }, - "trackingMode": { + "ruleVisibility": { + "description": "Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules. This field is only supported in Global Security Policies of type CLOUD_ARMOR.", + "type": "string", "enumDescriptions": [ - "", "", "" ], - "type": "string", "enum": [ - "INVALID_TRACKING_MODE", - "PER_CONNECTION", - "PER_SESSION" - ], - "description": "Specifies the key used for connection tracking. There are two options: - PER_CONNECTION: This is the default mode. The Connection Tracking is performed as per the Connection Key (default Hash Method) for the specific protocol. - PER_SESSION: The Connection Tracking is performed as per the configured Session Affinity. It matches the configured Session Affinity. For more details, see [Tracking Mode for Network Load Balancing](https://cloud.google.com/load-balancing/docs/network/networklb-backend-service#tracking-mode) and [Tracking Mode for Internal TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/internal#tracking-mode)." + "PREMIUM", + "STANDARD" + ] }, - "connectionPersistenceOnUnhealthyBackends": { + "thresholdConfigs": { + "description": "Configuration options for layer7 adaptive protection for various customizable thresholds.", + "type": "array", + "items": { + "$ref": "SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig" + } + } + } + }, + "SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig": { + "id": "SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig", + "type": "object", + "properties": { + "name": { + "description": "The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the security policy.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "type": "string" + }, + "autoDeployLoadThreshold": { + "type": "number", + "format": "float" + }, + "autoDeployConfidenceThreshold": { + "type": "number", + "format": "float" + }, + "autoDeployImpactedBaselineThreshold": { + "type": "number", + "format": "float" + }, + "autoDeployExpirationSec": { + "type": "integer", + "format": "int32" + } + } + }, + "SecurityPolicyDdosProtectionConfig": { + "id": "SecurityPolicyDdosProtectionConfig", + "type": "object", + "properties": { + "ddosProtection": { "type": "string", - "enum": [ - "ALWAYS_PERSIST", - "DEFAULT_FOR_PROTOCOL", - "NEVER_PERSIST" + "enumDescriptions": [ + "", + "" ], + "enum": [ + "ADVANCED", + "STANDARD" + ] + } + } + }, + "SecurityPolicyAdvancedOptionsConfig": { + "id": "SecurityPolicyAdvancedOptionsConfig", + "type": "object", + "properties": { + "jsonParsing": { + "type": "string", "enumDescriptions": [ "", "", "" ], - "description": "Specifies connection persistence when backends are unhealthy. The default value is DEFAULT_FOR_PROTOCOL. If set to DEFAULT_FOR_PROTOCOL, the existing connections persist on unhealthy backends only for connection-oriented protocols (TCP and SCTP) and only if the Tracking Mode is PER_CONNECTION (default tracking mode) or the Session Affinity is configured for 5-tuple. They do not persist for UDP. If set to NEVER_PERSIST, after a backend becomes unhealthy, the existing connections on the unhealthy backend are never persisted on the unhealthy backend. They are always diverted to newly selected healthy backends (unless all backends are unhealthy). If set to ALWAYS_PERSIST, existing connections always persist on unhealthy backends regardless of protocol and session affinity. It is generally not recommended to use this mode overriding the default. For more details, see [Connection Persistence for Network Load Balancing](https://cloud.google.com/load-balancing/docs/network/networklb-backend-service#connection-persistence) and [Connection Persistence for Internal TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/internal#connection-persistence)." + "enum": [ + "DISABLED", + "STANDARD", + "STANDARD_WITH_GRAPHQL" + ] + }, + "jsonCustomConfig": { + "description": "Custom configuration to apply the JSON parsing. Only applicable when json_parsing is set to STANDARD.", + "$ref": "SecurityPolicyAdvancedOptionsConfigJsonCustomConfig" + }, + "logLevel": { + "type": "string", + "enumDescriptions": [ + "", + "" + ], + "enum": [ + "NORMAL", + "VERBOSE" + ] }, - "idleTimeoutSec": { - "format": "int32", + "userIpRequestHeaders": { + "description": "An optional list of case-insensitive request header names to use for resolving the callers client IP address.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "SecurityPolicyAdvancedOptionsConfigJsonCustomConfig": { + "id": "SecurityPolicyAdvancedOptionsConfigJsonCustomConfig", + "type": "object", + "properties": { + "contentTypes": { + "description": "A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type \"/\" subtype *[\";\" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "SecurityPolicyRecaptchaOptionsConfig": { + "id": "SecurityPolicyRecaptchaOptionsConfig", + "type": "object", + "properties": { + "redirectSiteKey": { + "description": "An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used. This field is only supported in Global Security Policies of type CLOUD_ARMOR.", + "type": "string" + } + } + }, + "SecurityPoliciesListPreconfiguredExpressionSetsResponse": { + "id": "SecurityPoliciesListPreconfiguredExpressionSetsResponse", + "type": "object", + "properties": { + "preconfiguredExpressionSets": { + "$ref": "SecurityPoliciesWafConfig" + } + } + }, + "SecurityPoliciesWafConfig": { + "id": "SecurityPoliciesWafConfig", + "type": "object", + "properties": { + "wafRules": { + "$ref": "PreconfiguredWafSet" + } + } + }, + "PreconfiguredWafSet": { + "id": "PreconfiguredWafSet", + "type": "object", + "properties": { + "expressionSets": { + "description": "List of entities that are currently supported for WAF rules.", + "type": "array", + "items": { + "$ref": "WafExpressionSet" + } + } + } + }, + "WafExpressionSet": { + "id": "WafExpressionSet", + "type": "object", + "properties": { + "id": { + "description": "Google specified expression set ID. The format should be: - E.g. XSS-20170329 required", + "type": "string" + }, + "aliases": { + "description": "A list of alternate IDs. The format should be: - E.g. XSS-stable Generic suffix like \"stable\" is particularly useful if a policy likes to avail newer set of expressions without having to change the policy. A given alias name can't be used for more than one entity set.", + "type": "array", + "items": { + "type": "string" + } + }, + "expressions": { + "description": "List of available expressions.", + "type": "array", + "items": { + "$ref": "WafExpressionSetExpression" + } + } + } + }, + "WafExpressionSetExpression": { + "id": "WafExpressionSetExpression", + "type": "object", + "properties": { + "id": { + "description": "Expression ID should uniquely identify the origin of the expression. E.g. owasp-crs-v020901-id973337 identifies Owasp core rule set version 2.9.1 rule id 973337. The ID could be used to determine the individual attack definition that has been detected. It could also be used to exclude it from the policy in case of false positive. required", + "type": "string" + }, + "sensitivity": { + "description": "The sensitivity value associated with the WAF rule ID. This corresponds to the ModSecurity paranoia level, ranging from 1 to 4. 0 is reserved for opt-in only rules.", "type": "integer", - "description": "Specifies how long to keep a Connection Tracking entry while there is no matching traffic (in seconds). For Internal TCP/UDP Load Balancing: - The minimum (default) is 10 minutes and the maximum is 16 hours. - It can be set only if Connection Tracking is less than 5-tuple (i.e. Session Affinity is CLIENT_IP_NO_DESTINATION, CLIENT_IP or CLIENT_IP_PROTO, and Tracking Mode is PER_SESSION). For Network Load Balancer the default is 60 seconds. This option is not available publicly." + "format": "int32" } - }, - "type": "object" + } }, - "ExternalVpnGatewayList": { + "SecurityPoliciesAggregatedList": { + "id": "SecurityPoliciesAggregatedList", "type": "object", - "description": "Response to the list request, and contains a list of externalVpnGateways.", "properties": { + "kind": { + "description": "[Output Only] Type of resource. Always compute#securityPolicyAggregatedList for lists of Security Policies.", + "default": "compute#securityPoliciesAggregatedList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of SecurityPoliciesScopedList resources.", + "type": "object", + "additionalProperties": { + "description": "Name of the scope containing this set of security policies.", + "$ref": "SecurityPoliciesScopedList" + } + }, "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" }, "warning": { "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { - "data": { - "type": "array", - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "items": { - "type": "object", - "properties": { - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - }, - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - } - } - } - }, "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -6526,6 +6393,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -6544,8 +6412,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "type": "string", + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -6557,6 +6453,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -6577,145 +6474,55 @@ ] }, "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } } - }, - "type": "object" - }, - "kind": { - "default": "compute#externalVpnGatewayList", - "description": "[Output Only] Type of resource. Always compute#externalVpnGatewayList for lists of externalVpnGateways.", - "type": "string" + } }, "etag": { "type": "string" }, - "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", - "type": "string" - }, - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", - "type": "string" - }, - "items": { - "items": { - "$ref": "ExternalVpnGateway" - }, + "unreachables": { + "description": "[Output Only] Unreachable resources.", "type": "array", - "description": "A list of ExternalVpnGateway resources." - } - }, - "id": "ExternalVpnGatewayList" - }, - "PublicAdvertisedPrefixPublicDelegatedPrefix": { - "description": "Represents a CIDR range which can be used to assign addresses.", - "type": "object", - "id": "PublicAdvertisedPrefixPublicDelegatedPrefix", - "properties": { - "project": { - "type": "string", - "description": "The project number of the public delegated prefix" - }, - "status": { - "description": "The status of the public delegated prefix. Possible values are: INITIALIZING: The public delegated prefix is being initialized and addresses cannot be created yet. ANNOUNCED: The public delegated prefix is active.", - "type": "string" - }, - "name": { - "description": "The name of the public delegated prefix", - "type": "string" - }, - "region": { - "description": "The region of the public delegated prefix if it is regional. If absent, the prefix is global.", - "type": "string" - }, - "ipRange": { - "type": "string", - "description": "The IP address range of the public delegated prefix" + "items": { + "type": "string" + } } } }, - "TargetTcpProxiesSetProxyHeaderRequest": { - "type": "object", - "properties": { - "proxyHeader": { - "enum": [ - "NONE", - "PROXY_V1" - ], - "description": "The new type of proxy header to append before sending data to the backend. NONE or PROXY_V1 are allowed.", - "enumDescriptions": [ - "", - "" - ], - "type": "string" - } - }, - "id": "TargetTcpProxiesSetProxyHeaderRequest" - }, - "BackendServiceLogConfig": { - "description": "The available logging options for the load balancer traffic served by this backend service.", - "properties": { - "enable": { - "description": "Denotes whether to enable logging for the load balancer traffic served by this backend service. The default value is false.", - "type": "boolean" - }, - "sampleRate": { - "description": "This field can only be specified if logging is enabled for this backend service. The value of the field must be in [0, 1]. This configures the sampling rate of requests to the load balancer where 1.0 means all logged requests are reported and 0.0 means no logged requests are reported. The default value is 1.0.", - "type": "number", - "format": "float" - } - }, - "id": "BackendServiceLogConfig", - "type": "object" - }, - "BackendServiceList": { + "SecurityPoliciesScopedList": { + "id": "SecurityPoliciesScopedList", "type": "object", "properties": { - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." - }, - "kind": { - "default": "compute#backendServiceList", - "type": "string", - "description": "[Output Only] Type of resource. Always compute#backendServiceList for lists of backend services." - }, - "items": { + "securityPolicies": { + "description": "A list of SecurityPolicies contained in this scope.", "type": "array", - "description": "A list of BackendService resources.", "items": { - "$ref": "BackendService" + "$ref": "SecurityPolicy" } }, - "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." - }, "warning": { + "description": "Informational warning which replaces the list of security policies when the list is empty.", + "type": "object", "properties": { - "data": { - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "items": { - "type": "object", - "properties": { - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - }, - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - } - } - }, - "type": "array" - }, - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, "code": { "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", "type": "string", @@ -6730,6 +6537,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -6748,6 +6556,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -6759,6 +6597,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -6777,93 +6616,68 @@ "UNDECLARED_PROPERTIES", "UNREACHABLE" ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } } - }, - "description": "[Output Only] Informational warning message.", - "type": "object" - }, - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", - "type": "string" - } - }, - "id": "BackendServiceList", - "description": "Contains a list of BackendService resources." - }, - "InstanceGroupManagersCreateInstancesRequest": { - "properties": { - "instances": { - "type": "array", - "items": { - "$ref": "PerInstanceConfig" - }, - "description": "[Required] List of specifications of per-instance configs." + } } - }, - "description": "InstanceGroupManagers.createInstances", - "type": "object", - "id": "InstanceGroupManagersCreateInstancesRequest" + } }, - "DisplayDevice": { - "description": "A set of Display Device options", + "InstanceList": { + "id": "InstanceList", + "description": "Contains a list of instances.", "type": "object", - "properties": { - "enableDisplay": { - "type": "boolean", - "description": "Defines whether the instance has Display enabled." - } - }, - "id": "DisplayDevice" - }, - "InstanceGroupManagerList": { - "description": "[Output Only] A list of managed instance groups.", "properties": { "kind": { - "type": "string", - "default": "compute#instanceGroupManagerList", - "description": "[Output Only] The resource type, which is always compute#instanceGroupManagerList for a list of managed instance groups." + "description": "[Output Only] Type of resource. Always compute#instanceList for lists of Instance resources.", + "default": "compute#instanceList", + "type": "string" }, - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", "type": "string" }, "items": { + "description": "A list of Instance resources.", "type": "array", "items": { - "$ref": "InstanceGroupManager" - }, - "description": "A list of InstanceGroupManager resources." + "$ref": "Instance" + } }, "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" }, - "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", "type": "string" }, "warning": { "description": "[Output Only] Informational warning message.", "type": "object", "properties": { - "data": { - "type": "array", - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "items": { - "properties": { - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - }, - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - } - }, - "type": "object" - } - }, "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -6875,6 +6689,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -6893,8 +6708,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "type": "string", - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -6906,6 +6749,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -6926,1040 +6770,1256 @@ ] }, "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } } } } - }, - "id": "InstanceGroupManagerList", - "type": "object" + } }, - "Metadata": { + "Instance": { + "id": "Instance", + "description": "Represents an Instance resource. An instance is a virtual machine that is hosted on Google Cloud Platform. For more information, read Virtual Machine Instances.", + "type": "object", "properties": { "kind": { + "description": "[Output Only] Type of the resource. Always compute#instance for instances.", + "default": "compute#instance", + "type": "string" + }, + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", "type": "string", - "default": "compute#metadata", - "description": "[Output Only] Type of the resource. Always compute#metadata for metadata." + "format": "uint64" }, - "items": { + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" + }, + "name": { + "description": "The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "annotations": { + "required": [ + "compute.instances.insert" + ] + }, + "type": "string" + }, + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource.", + "type": "string" + }, + "tags": { + "description": "Tags to apply to this instance. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during instance creation. The tags can be later modified by the setTags method. Each tag within the list must comply with RFC1035. Multiple tags can be specified via the 'tags.items' field.", + "$ref": "Tags" + }, + "machineType": { + "description": "Full or partial URL of the machine type resource to use for this instance, in the format: zones/zone/machineTypes/machine-type. This is provided by the client when the instance is created. For example, the following is a valid partial url to a predefined machine type: zones/us-central1-f/machineTypes/n1-standard-1 To create a custom machine type, provide a URL to a machine type in the following format, where CPUS is 1 or an even number up to 32 (2, 4, 6, ... 24, etc), and MEMORY is the total memory for this instance. Memory must be a multiple of 256 MB and must be supplied in MB (e.g. 5 GB of memory is 5120 MB): zones/zone/machineTypes/custom-CPUS-MEMORY For example: zones/us-central1-f/machineTypes/custom-4-5120 For a full list of restrictions, read the Specifications for custom machine types.", + "type": "string" + }, + "status": { + "description": "[Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.", + "type": "string", + "enumDescriptions": [ + "The instance is halted and we are performing tear down tasks like network deprogramming, releasing quota, IP, tearing down disks etc.", + "Resources are being allocated for the instance.", + "The instance is in repair.", + "The instance is running.", + "All required resources have been allocated and the instance is being started.", + "The instance has stopped successfully.", + "The instance is currently stopping (either being deleted or killed).", + "The instance has suspended.", + "The instance is suspending.", + "The instance has stopped (either by explicit action or underlying failure)." + ], + "enum": [ + "DEPROVISIONING", + "PROVISIONING", + "REPAIRING", + "RUNNING", + "STAGING", + "STOPPED", + "STOPPING", + "SUSPENDED", + "SUSPENDING", + "TERMINATED" + ] + }, + "statusMessage": { + "description": "[Output Only] An optional, human-readable explanation of the status.", + "type": "string" + }, + "zone": { + "description": "[Output Only] URL of the zone where the instance resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.", + "type": "string" + }, + "canIpForward": { + "description": "Allows this instance to send and receive packets with non-matching destination or source IPs. This is required if you plan to use this instance to forward routes. For more information, see Enabling IP Forwarding .", + "type": "boolean" + }, + "networkInterfaces": { + "description": "An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance.", "type": "array", - "description": "Array of key/value pairs. The total size of all keys and values must be less than 512 KB.", "items": { - "description": "Metadata", - "properties": { - "key": { - "pattern": "[a-zA-Z0-9-_]{1,128}", - "type": "string", - "annotations": { - "required": [ - "compute.instances.insert", - "compute.projects.setCommonInstanceMetadata" - ] - }, - "description": "Key for the metadata entry. Keys must conform to the following regexp: [a-zA-Z0-9-_]+, and be less than 128 bytes in length. This is reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project." - }, - "value": { - "type": "string", - "annotations": { - "required": [ - "compute.instances.insert", - "compute.projects.setCommonInstanceMetadata" - ] - }, - "description": "Value for the metadata entry. These are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on values is that their size must be less than or equal to 262144 bytes (256 KiB)." - } - }, - "type": "object" + "$ref": "NetworkInterface" } }, - "fingerprint": { - "format": "byte", - "description": "Specifies a fingerprint for this request, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the resource.", + "disks": { + "description": "Array of disks associated with this instance. Persistent disks must be created before you can assign them.", + "type": "array", + "items": { + "$ref": "AttachedDisk" + } + }, + "metadata": { + "description": "The metadata key/value pairs assigned to this instance. This includes custom metadata and predefined keys.", + "$ref": "Metadata" + }, + "serviceAccounts": { + "description": "A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported. Service accounts generate access tokens that can be accessed through the metadata server and used to authenticate applications on the instance. See Service Accounts for more information.", + "type": "array", + "items": { + "$ref": "ServiceAccount" + } + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", "type": "string" - } - }, - "type": "object", - "id": "Metadata", - "description": "A metadata key/value entry." - }, - "BfdStatusPacketCounts": { - "id": "BfdStatusPacketCounts", - "properties": { - "numRxRejected": { - "description": "Number of packets received that were rejected because of errors since the beginning of the current BFD session.", - "type": "integer", - "format": "uint32" }, - "numTx": { - "format": "uint32", - "type": "integer", - "description": "Number of packets transmitted since the beginning of the current BFD session." + "scheduling": { + "description": "Sets the scheduling options for this instance.", + "$ref": "Scheduling" }, - "numRxSuccessful": { - "format": "uint32", - "type": "integer", - "description": "Number of packets received that were successfully processed since the beginning of the current BFD session." + "cpuPlatform": { + "description": "[Output Only] The CPU platform used by this instance.", + "type": "string" }, - "numRx": { - "description": "Number of packets received since the beginning of the current BFD session.", - "type": "integer", - "format": "uint32" - } - }, - "type": "object" - }, - "SecurityPolicyRule": { - "type": "object", - "description": "Represents a rule that describes one or more match conditions along with the action to be taken when traffic matches this condition (allow or deny).", - "id": "SecurityPolicyRule", - "properties": { - "description": { + "labels": { + "description": "Labels to apply to this instance. These can be later modified by the setLabels method.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "params": { + "description": "Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.", + "$ref": "InstanceParams" + }, + "labelFingerprint": { + "description": "A fingerprint for this request, which is essentially a hash of the label's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make get() request to the instance.", "type": "string", - "description": "An optional description of this resource. Provide this property when you create the resource." + "format": "byte" }, - "priority": { - "format": "int32", - "description": "An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest priority.", - "type": "integer" + "instanceEncryptionKey": { + "description": "Encrypts suspended data for an instance with a customer-managed encryption key. If you are creating a new instance, this field will encrypt the local SSD and in-memory contents of the instance during the suspend operation. If you do not provide an encryption key when creating the instance, then the local SSD and in-memory contents will be encrypted using an automatically generated key during the suspend operation.", + "$ref": "CustomerEncryptionKey" }, - "kind": { - "description": "[Output only] Type of the resource. Always compute#securityPolicyRule for security policy rules", - "default": "compute#securityPolicyRule", + "minCpuPlatform": { + "description": "Specifies a minimum CPU platform for the VM instance. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: \"Intel Haswell\" or minCpuPlatform: \"Intel Sandy Bridge\".", "type": "string" }, - "rateLimitOptions": { - "description": "Must be specified if the action is \"rate_based_ban\" or \"throttle\". Cannot be specified for any other actions.", - "$ref": "SecurityPolicyRuleRateLimitOptions" + "guestAccelerators": { + "description": "A list of the type and count of accelerator cards attached to the instance.", + "type": "array", + "items": { + "$ref": "AcceleratorConfig" + } }, - "action": { - "description": "The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(): deny access to target, returns the HTTP response code specified (valid values are 403, 404, and 502). - rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. - throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this. ", + "startRestricted": { + "description": "[Output Only] Whether a VM has been restricted for start because Compute Engine has detected suspicious activity.", + "type": "boolean" + }, + "deletionProtection": { + "description": "Whether the resource should be protected against deletion.", + "type": "boolean" + }, + "resourcePolicies": { + "description": "Resource policies applied to this instance.", + "type": "array", + "items": { + "type": "string" + } + }, + "sourceMachineImage": { + "description": "Source machine image", "type": "string" }, - "redirectOptions": { - "description": "Parameters defining the redirect action. Cannot be specified for any other actions.", - "$ref": "SecurityPolicyRuleRedirectOptions" + "reservationAffinity": { + "description": "Specifies the reservations that this instance can consume from.", + "$ref": "ReservationAffinity" }, - "preview": { - "description": "If set to true, the specified action is not enforced.", + "hostname": { + "description": "Specifies the hostname of the instance. The specified hostname must be RFC1035 compliant. If hostname is not specified, the default hostname is [INSTANCE_NAME].c.[PROJECT_ID].internal when using the global DNS, and [INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal when using zonal DNS.", + "type": "string" + }, + "displayDevice": { + "description": "Enables display device for the instance.", + "$ref": "DisplayDevice" + }, + "shieldedInstanceConfig": { + "$ref": "ShieldedInstanceConfig" + }, + "shieldedInstanceIntegrityPolicy": { + "$ref": "ShieldedInstanceIntegrityPolicy" + }, + "sourceMachineImageEncryptionKey": { + "description": "Source machine image encryption key when creating an instance from a machine image.", + "$ref": "CustomerEncryptionKey" + }, + "confidentialInstanceConfig": { + "$ref": "ConfidentialInstanceConfig" + }, + "fingerprint": { + "description": "Specifies a fingerprint for this resource, which is essentially a hash of the instance's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update the instance. You must always provide an up-to-date fingerprint hash in order to update the instance. To see the latest fingerprint, make get() request to the instance.", + "type": "string", + "format": "byte" + }, + "privateIpv6GoogleAccess": { + "description": "The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.", + "type": "string", + "enumDescriptions": [ + "Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.", + "Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.", + "Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork." + ], + "enum": [ + "ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE", + "ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE", + "INHERIT_FROM_SUBNETWORK" + ] + }, + "advancedMachineFeatures": { + "description": "Controls for advanced machine-related behavior features.", + "$ref": "AdvancedMachineFeatures" + }, + "lastStartTimestamp": { + "description": "[Output Only] Last start timestamp in RFC3339 text format.", + "type": "string" + }, + "lastStopTimestamp": { + "description": "[Output Only] Last stop timestamp in RFC3339 text format.", + "type": "string" + }, + "lastSuspendedTimestamp": { + "description": "[Output Only] Last suspended timestamp in RFC3339 text format.", + "type": "string" + }, + "satisfiesPzs": { + "description": "[Output Only] Reserved for future use.", "type": "boolean" }, - "match": { - "description": "A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.", - "$ref": "SecurityPolicyRuleMatcher" + "satisfiesPzi": { + "description": "[Output Only] Reserved for future use.", + "type": "boolean" }, - "headerAction": { - "$ref": "SecurityPolicyRuleHttpHeaderAction", - "description": "Optional, additional actions that are performed on headers." + "resourceStatus": { + "description": "[Output Only] Specifies values set for instance attributes as compared to the values requested by user in the corresponding input only field.", + "$ref": "ResourceStatus" + }, + "networkPerformanceConfig": { + "$ref": "NetworkPerformanceConfig" + }, + "keyRevocationActionType": { + "description": "KeyRevocationActionType of the instance. Supported options are \"STOP\" and \"NONE\". The default value is \"NONE\" if it is not specified.", + "type": "string", + "enumDescriptions": [ + "Default value. This value is unused.", + "Indicates user chose no operation.", + "Indicates user chose to opt for VM shutdown on key revocation." + ], + "enum": [ + "KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED", + "NONE", + "STOP" + ] } } }, - "InstanceConsumptionInfo": { + "Tags": { + "id": "Tags", + "description": "A set of instance tags.", "type": "object", - "id": "InstanceConsumptionInfo", "properties": { - "localSsdGb": { - "description": "The amount of local SSD storage available to the instance, defined in GiB.", - "type": "integer", - "format": "int32" + "items": { + "description": "An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "type": "array", + "items": { + "type": "string" + } }, - "memoryMb": { + "fingerprint": { + "description": "Specifies a fingerprint for this request, which is essentially a hash of the tags' contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update tags. You must always provide an up-to-date fingerprint hash in order to update or change tags. To see the latest fingerprint, make get() request to the instance.", + "type": "string", + "format": "byte" + } + } + }, + "NetworkInterface": { + "id": "NetworkInterface", + "description": "A network interface resource attached to an instance.", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of the resource. Always compute#networkInterface for network interfaces.", + "default": "compute#networkInterface", + "type": "string" + }, + "network": { + "description": "URL of the VPC network resource for this instance. When creating an instance, if neither the network nor the subnetwork is specified, the default network global/networks/default is used. If the selected project doesn't have the default network, you must specify a network or subnet. If the network is not specified but the subnetwork is specified, the network is inferred. If you specify this property, you can specify the network as a full or partial URL. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/global/networks/ network - projects/project/global/networks/network - global/networks/default ", + "type": "string" + }, + "subnetwork": { + "description": "The URL of the Subnetwork resource for this instance. If the network resource is in legacy mode, do not specify this field. If the network is in auto subnet mode, specifying the subnetwork is optional. If the network is in custom subnet mode, specifying the subnetwork is required. If you specify this field, you can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/regions/region /subnetworks/subnetwork - regions/region/subnetworks/subnetwork ", + "type": "string" + }, + "networkIP": { + "description": "An IPv4 internal IP address to assign to the instance for this network interface. If not specified by the user, an unused internal IP is assigned by the system.", + "type": "string" + }, + "ipv6Address": { + "description": "An IPv6 internal network address for this network interface. To use a static internal IP address, it must be unused and in the same region as the instance's zone. If not specified, Google Cloud will automatically assign an internal IPv6 address from the instance's subnetwork.", + "type": "string" + }, + "internalIpv6PrefixLength": { + "description": "The prefix length of the primary internal IPv6 range.", "type": "integer", - "description": "The amount of physical memory available to the instance, defined in MiB.", "format": "int32" }, - "minNodeCpus": { - "format": "int32", - "description": "The minimal guaranteed number of virtual CPUs that are reserved.", - "type": "integer" + "name": { + "description": "[Output Only] The name of the network interface, which is generated by the server. For a VM, the network interface uses the nicN naming format. Where N is a value between 0 and 7. The default interface value is nic0.", + "type": "string" }, - "guestCpus": { - "description": "The number of virtual CPUs that are available to the instance.", + "accessConfigs": { + "description": "An array of configurations for this interface. Currently, only one access config, ONE_TO_ONE_NAT, is supported. If there are no accessConfigs specified, then this instance will have no external internet access.", + "type": "array", + "items": { + "$ref": "AccessConfig" + } + }, + "ipv6AccessConfigs": { + "description": "An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.", + "type": "array", + "items": { + "$ref": "AccessConfig" + } + }, + "aliasIpRanges": { + "description": "An array of alias IP ranges for this network interface. You can only specify this field for network interfaces in VPC networks.", + "type": "array", + "items": { + "$ref": "AliasIpRange" + } + }, + "fingerprint": { + "description": "Fingerprint hash of contents stored in this network interface. This field will be ignored when inserting an Instance or adding a NetworkInterface. An up-to-date fingerprint must be provided in order to update the NetworkInterface. The request will fail with error 400 Bad Request if the fingerprint is not provided, or 412 Precondition Failed if the fingerprint is out of date.", + "type": "string", + "format": "byte" + }, + "stackType": { + "description": "The stack type for this network interface. To assign only IPv4 addresses, use IPV4_ONLY. To assign both IPv4 and IPv6 addresses, use IPV4_IPV6. If not specified, IPV4_ONLY is used. This field can be both set at instance creation and update network interface operations.", + "type": "string", + "enumDescriptions": [ + "The network interface can have both IPv4 and IPv6 addresses.", + "The network interface will be assigned IPv4 address." + ], + "enum": [ + "IPV4_IPV6", + "IPV4_ONLY" + ] + }, + "ipv6AccessType": { + "description": "[Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork. Valid only if stackType is IPV4_IPV6.", + "type": "string", + "enumDescriptions": [ + "This network interface can have external IPv6.", + "This network interface can have internal IPv6." + ], + "enum": [ + "EXTERNAL", + "INTERNAL" + ] + }, + "queueCount": { + "description": "The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It'll be empty if not specified by the users.", "type": "integer", "format": "int32" - } - } - }, - "NetworksRemovePeeringRequest": { - "id": "NetworksRemovePeeringRequest", - "properties": { - "name": { + }, + "nicType": { + "description": "The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.", "type": "string", - "description": "Name of the peering, which should conform to RFC1035." + "enumDescriptions": [ + "GVNIC", + "No type specified.", + "VIRTIO" + ], + "enum": [ + "GVNIC", + "UNSPECIFIED_NIC_TYPE", + "VIRTIO_NET" + ] + }, + "networkAttachment": { + "description": "The URL of the network attachment that this interface should connect to in the following format: projects/{project_number}/regions/{region_name}/networkAttachments/{network_attachment_name}.", + "type": "string" } - }, - "type": "object" + } }, - "RouteList": { - "id": "RouteList", - "description": "Contains a list of Route resources.", + "AccessConfig": { + "id": "AccessConfig", + "description": "An access configuration attached to an instance's network interface. Only one access config per instance is supported.", + "type": "object", "properties": { - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." - }, "kind": { - "default": "compute#routeList", + "description": "[Output Only] Type of the resource. Always compute#accessConfig for access configs.", + "default": "compute#accessConfig", + "type": "string" + }, + "type": { + "description": "The type of configuration. In accessConfigs (IPv4), the default and only option is ONE_TO_ONE_NAT. In ipv6AccessConfigs, the default and only option is DIRECT_IPV6.", "type": "string", - "description": "Type of resource." + "enumDescriptions": [ + "", + "" + ], + "enum": [ + "DIRECT_IPV6", + "ONE_TO_ONE_NAT" + ] }, - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", + "name": { + "description": "The name of this access configuration. In accessConfigs (IPv4), the default and recommended name is External NAT, but you can use any arbitrary string, such as My external IP or Network Access. In ipv6AccessConfigs, the recommend name is External IPv6.", "type": "string" }, - "items": { - "description": "A list of Route resources.", - "type": "array", - "items": { - "$ref": "Route" - } + "natIP": { + "description": "Applies to accessConfigs (IPv4) only. An external IP address associated with this instance. Specify an unused static external IP address available to the project or leave this field undefined to use an IP from a shared ephemeral IP address pool. If you specify a static external IP address, it must live in the same region as the zone of the instance.", + "type": "string" }, - "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "externalIpv6": { + "description": "Applies to ipv6AccessConfigs only. The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. To use a static external IP address, it must be unused and in the same region as the instance's zone. If not specified, Google Cloud will automatically assign an external IPv6 address from the instance's subnetwork.", "type": "string" }, - "warning": { - "description": "[Output Only] Informational warning message.", - "properties": { - "data": { - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "type": "array", - "items": { - "type": "object", - "properties": { - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - }, - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - } - } - } - }, - "code": { - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ], - "type": "string" - }, - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - } - }, - "type": "object" - } - }, - "type": "object" - }, - "Quota": { - "properties": { - "owner": { - "type": "string", - "description": "[Output Only] Owning resource. This is the resource on which this quota is applied." + "externalIpv6PrefixLength": { + "description": "Applies to ipv6AccessConfigs only. The prefix length of the external IPv6 range.", + "type": "integer", + "format": "int32" }, - "limit": { - "format": "double", - "description": "[Output Only] Quota limit for this metric.", - "type": "number" + "setPublicPtr": { + "description": "Specifies whether a public DNS 'PTR' record should be created to map the external IP address of the instance to a DNS domain name. This field is not used in ipv6AccessConfig. A default PTR record will be created if the VM has external IPv6 range associated.", + "type": "boolean" }, - "usage": { - "description": "[Output Only] Current usage of this metric.", - "type": "number", - "format": "double" + "publicPtrDomainName": { + "description": "The DNS domain name for the public PTR record. You can set this field only if the `setPublicPtr` field is enabled in accessConfig. If this field is unspecified in ipv6AccessConfig, a default PTR record will be createc for first IP in associated external IPv6 range.", + "type": "string" }, - "metric": { - "description": "[Output Only] Name of the quota metric.", + "networkTier": { + "description": "This signifies the networking tier used for configuring this access configuration and can only take the following values: PREMIUM, STANDARD. If an AccessConfig is specified without a valid external IP address, an ephemeral IP will be created with this networkTier. If an AccessConfig with a valid external IP address is specified, it must match that of the networkTier associated with the Address resource owning that IP.", "type": "string", - "enum": [ - "A2_CPUS", - "AFFINITY_GROUPS", - "AUTOSCALERS", - "BACKEND_BUCKETS", - "BACKEND_SERVICES", - "C2D_CPUS", - "C2_CPUS", - "C3_CPUS", - "COMMITMENTS", - "COMMITTED_A2_CPUS", - "COMMITTED_C2D_CPUS", - "COMMITTED_C2_CPUS", - "COMMITTED_C3_CPUS", - "COMMITTED_CPUS", - "COMMITTED_E2_CPUS", - "COMMITTED_LICENSES", - "COMMITTED_LOCAL_SSD_TOTAL_GB", - "COMMITTED_M3_CPUS", - "COMMITTED_MEMORY_OPTIMIZED_CPUS", - "COMMITTED_N2A_CPUS", - "COMMITTED_N2D_CPUS", - "COMMITTED_N2_CPUS", - "COMMITTED_NVIDIA_A100_80GB_GPUS", - "COMMITTED_NVIDIA_A100_GPUS", - "COMMITTED_NVIDIA_K80_GPUS", - "COMMITTED_NVIDIA_P100_GPUS", - "COMMITTED_NVIDIA_P4_GPUS", - "COMMITTED_NVIDIA_T4_GPUS", - "COMMITTED_NVIDIA_V100_GPUS", - "COMMITTED_T2A_CPUS", - "COMMITTED_T2D_CPUS", - "CPUS", - "CPUS_ALL_REGIONS", - "DISKS_TOTAL_GB", - "E2_CPUS", - "EXTERNAL_MANAGED_FORWARDING_RULES", - "EXTERNAL_NETWORK_LB_FORWARDING_RULES", - "EXTERNAL_PROTOCOL_FORWARDING_RULES", - "EXTERNAL_VPN_GATEWAYS", - "FIREWALLS", - "FORWARDING_RULES", - "GLOBAL_EXTERNAL_MANAGED_BACKEND_SERVICES", - "GLOBAL_EXTERNAL_MANAGED_FORWARDING_RULES", - "GLOBAL_EXTERNAL_PROXY_LB_BACKEND_SERVICES", - "GLOBAL_INTERNAL_ADDRESSES", - "GLOBAL_INTERNAL_MANAGED_BACKEND_SERVICES", - "GLOBAL_INTERNAL_TRAFFIC_DIRECTOR_BACKEND_SERVICES", - "GPUS_ALL_REGIONS", - "HEALTH_CHECKS", - "IMAGES", - "INSTANCES", - "INSTANCE_GROUPS", - "INSTANCE_GROUP_MANAGERS", - "INSTANCE_TEMPLATES", - "INTERCONNECTS", - "INTERCONNECT_ATTACHMENTS_PER_REGION", - "INTERCONNECT_ATTACHMENTS_TOTAL_MBPS", - "INTERCONNECT_TOTAL_GBPS", - "INTERNAL_ADDRESSES", - "INTERNAL_TRAFFIC_DIRECTOR_FORWARDING_RULES", - "IN_PLACE_SNAPSHOTS", - "IN_USE_ADDRESSES", - "IN_USE_BACKUP_SCHEDULES", - "IN_USE_SNAPSHOT_SCHEDULES", - "LOCAL_SSD_TOTAL_GB", - "M1_CPUS", - "M2_CPUS", - "M3_CPUS", - "MACHINE_IMAGES", - "N2A_CPUS", - "N2D_CPUS", - "N2_CPUS", - "NETWORKS", - "NETWORK_ENDPOINT_GROUPS", - "NETWORK_FIREWALL_POLICIES", - "NODE_GROUPS", - "NODE_TEMPLATES", - "NVIDIA_A100_80GB_GPUS", - "NVIDIA_A100_GPUS", - "NVIDIA_K80_GPUS", - "NVIDIA_P100_GPUS", - "NVIDIA_P100_VWS_GPUS", - "NVIDIA_P4_GPUS", - "NVIDIA_P4_VWS_GPUS", - "NVIDIA_T4_GPUS", - "NVIDIA_T4_VWS_GPUS", - "NVIDIA_V100_GPUS", - "PACKET_MIRRORINGS", - "PD_EXTREME_TOTAL_PROVISIONED_IOPS", - "PREEMPTIBLE_CPUS", - "PREEMPTIBLE_LOCAL_SSD_GB", - "PREEMPTIBLE_NVIDIA_A100_80GB_GPUS", - "PREEMPTIBLE_NVIDIA_A100_GPUS", - "PREEMPTIBLE_NVIDIA_K80_GPUS", - "PREEMPTIBLE_NVIDIA_P100_GPUS", - "PREEMPTIBLE_NVIDIA_P100_VWS_GPUS", - "PREEMPTIBLE_NVIDIA_P4_GPUS", - "PREEMPTIBLE_NVIDIA_P4_VWS_GPUS", - "PREEMPTIBLE_NVIDIA_T4_GPUS", - "PREEMPTIBLE_NVIDIA_T4_VWS_GPUS", - "PREEMPTIBLE_NVIDIA_V100_GPUS", - "PSC_ILB_CONSUMER_FORWARDING_RULES_PER_PRODUCER_NETWORK", - "PSC_INTERNAL_LB_FORWARDING_RULES", - "PUBLIC_ADVERTISED_PREFIXES", - "PUBLIC_DELEGATED_PREFIXES", - "REGIONAL_AUTOSCALERS", - "REGIONAL_EXTERNAL_MANAGED_BACKEND_SERVICES", - "REGIONAL_EXTERNAL_NETWORK_LB_BACKEND_SERVICES", - "REGIONAL_INSTANCE_GROUP_MANAGERS", - "REGIONAL_INTERNAL_LB_BACKEND_SERVICES", - "REGIONAL_INTERNAL_MANAGED_BACKEND_SERVICES", - "RESERVATIONS", - "RESOURCE_POLICIES", - "ROUTERS", - "ROUTES", - "SECURITY_POLICIES", - "SECURITY_POLICIES_PER_REGION", - "SECURITY_POLICY_CEVAL_RULES", - "SECURITY_POLICY_RULES", - "SECURITY_POLICY_RULES_PER_REGION", - "SERVICE_ATTACHMENTS", - "SNAPSHOTS", - "SSD_TOTAL_GB", - "SSL_CERTIFICATES", - "STATIC_ADDRESSES", - "STATIC_BYOIP_ADDRESSES", - "STATIC_EXTERNAL_IPV6_ADDRESS_RANGES", - "SUBNETWORKS", - "T2A_CPUS", - "T2D_CPUS", - "TARGET_HTTPS_PROXIES", - "TARGET_HTTP_PROXIES", - "TARGET_INSTANCES", - "TARGET_POOLS", - "TARGET_SSL_PROXIES", - "TARGET_TCP_PROXIES", - "TARGET_VPN_GATEWAYS", - "URL_MAPS", - "VPN_GATEWAYS", - "VPN_TUNNELS", - "XPN_SERVICE_PROJECTS" - ], "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "Guest CPUs", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "The total number of snapshots allowed for a single project.", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" + "Public internet quality with fixed bandwidth.", + "High quality, Google-grade network tier, support for all networking products.", + "Public internet quality, only limited support for other networking products.", + "(Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured." + ], + "enum": [ + "FIXED_STANDARD", + "PREMIUM", + "STANDARD", + "STANDARD_OVERRIDES_FIXED_STANDARD" ] + }, + "securityPolicy": { + "description": "[Output Only] The resource URL for the security policy associated with this access config.", + "type": "string" } - }, - "type": "object", - "id": "Quota", - "description": "A quotas entry." + } }, - "DistributionPolicy": { + "AliasIpRange": { + "id": "AliasIpRange", + "description": "An alias IP range attached to an instance's network interface.", + "type": "object", "properties": { - "zones": { - "type": "array", - "items": { - "$ref": "DistributionPolicyZoneConfiguration" - }, - "description": "Zones where the regional managed instance group will create and manage its instances." + "ipCidrRange": { + "description": "The IP alias ranges to allocate for this interface. This IP CIDR range must belong to the specified subnetwork and cannot contain IP addresses reserved by system or used by other network interfaces. This range may be a single IP address (such as 10.2.3.4), a netmask (such as /24) or a CIDR-formatted string (such as 10.1.2.0/24).", + "type": "string" }, - "targetShape": { - "enum": [ - "ANY", - "BALANCED", - "EVEN" - ], - "description": "The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType).", - "enumDescriptions": [ - "The group picks zones for creating VM instances to fulfill the requested number of VMs within present resource constraints and to maximize utilization of unused zonal reservations. Recommended for batch workloads that do not require high availability.", - "The group prioritizes acquisition of resources, scheduling VMs in zones where resources are available while distributing VMs as evenly as possible across selected zones to minimize the impact of zonal failure. Recommended for highly available serving workloads.", - "The group schedules VM instance creation and deletion to achieve and maintain an even number of managed instances across the selected zones. The distribution is even when the number of managed instances does not differ by more than 1 between any two zones. Recommended for highly available serving workloads." - ], + "subnetworkRangeName": { + "description": "The name of a subnetwork secondary IP range from which to allocate an IP alias range. If not specified, the primary range of the subnetwork is used.", "type": "string" } - }, - "type": "object", - "id": "DistributionPolicy" + } }, - "RegionInstanceGroupManagersApplyUpdatesRequest": { - "description": "RegionInstanceGroupManagers.applyUpdatesToInstances", - "id": "RegionInstanceGroupManagersApplyUpdatesRequest", + "AttachedDisk": { + "id": "AttachedDisk", + "description": "An instance-attached disk resource.", + "type": "object", "properties": { - "minimalAction": { - "enum": [ - "NONE", - "REFRESH", - "REPLACE", - "RESTART" - ], + "kind": { + "description": "[Output Only] Type of the resource. Always compute#attachedDisk for attached disks.", + "default": "compute#attachedDisk", + "type": "string" + }, + "type": { + "description": "Specifies the type of the disk, either SCRATCH or PERSISTENT. If not specified, the default is PERSISTENT.", + "type": "string", "enumDescriptions": [ - "Do not perform any action.", - "Updates applied in runtime, instances will not be disrupted.", - "Old instances will be deleted. New instances will be created from the target template.", - "Every instance will be restarted." + "", + "" ], - "type": "string", - "description": "The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update." + "enum": [ + "PERSISTENT", + "SCRATCH" + ] }, - "mostDisruptiveAllowedAction": { + "mode": { + "description": "The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not specified, the default is to attach the disk in READ_WRITE mode.", "type": "string", - "description": "The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail.", - "enum": [ - "NONE", - "REFRESH", - "REPLACE", - "RESTART" + "enumDescriptions": [ + "Attaches this disk in read-only mode. Multiple virtual machines can use a disk in read-only mode at a time.", + "*[Default]* Attaches this disk in read-write mode. Only one virtual machine at a time can be attached to a disk in read-write mode." ], + "enum": [ + "READ_ONLY", + "READ_WRITE" + ] + }, + "savedState": { + "description": "For LocalSSD disks on VM Instances in STOPPED or SUSPENDED state, this field is set to PRESERVED if the LocalSSD data has been saved to a persistent location by customer request. (see the discard_local_ssd option on Stop/Suspend). Read-only in the api.", + "type": "string", "enumDescriptions": [ - "Do not perform any action.", - "Updates applied in runtime, instances will not be disrupted.", - "Old instances will be deleted. New instances will be created from the target template.", - "Every instance will be restarted." + "*[Default]* Disk state has not been preserved.", + "Disk state has been preserved." + ], + "enum": [ + "DISK_SAVED_STATE_UNSPECIFIED", + "PRESERVED" ] }, - "allInstances": { - "description": "Flag to update all instances instead of specified list of “instances”. If the flag is set to true then the instances may not be specified in the request.", + "source": { + "description": "Specifies a valid partial or full URL to an existing Persistent Disk resource. When creating a new instance, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required except for local SSD. If desired, you can also attach existing non-root persistent disks using this property. This field is only applicable for persistent disks. Note that for InstanceTemplate, specify the disk name for zonal disk, and the URL for regional disk.", + "type": "string" + }, + "deviceName": { + "description": "Specifies a unique device name of your choice that is reflected into the /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. This name can be used to reference the device for mounting, resizing, and so on, from within the instance. If not specified, the server chooses a default device name to apply to this disk, in the form persistent-disk-x, where x is a number assigned by Google Compute Engine. This field is only applicable for persistent disks.", + "type": "string" + }, + "index": { + "description": "[Output Only] A zero-based index to this disk, where 0 is reserved for the boot disk. If you have many disks attached to an instance, each disk would have a unique index number.", + "type": "integer", + "format": "int32" + }, + "boot": { + "description": "Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem.", "type": "boolean" }, - "instances": { + "initializeParams": { + "description": "[Input Only] Specifies the parameters for a new disk that will be created alongside the new instance. Use initialization parameters to create boot disks or local SSDs attached to the new instance. This property is mutually exclusive with the source property; you can only define one or the other, but not both.", + "$ref": "AttachedDiskInitializeParams" + }, + "autoDelete": { + "description": "Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).", + "type": "boolean" + }, + "licenses": { + "description": "[Output Only] Any valid publicly visible licenses.", + "type": "array", "items": { "type": "string" - }, - "type": "array", - "description": "The list of URLs of one or more instances for which you want to apply updates. Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]." - } - }, - "type": "object" - }, - "ManagedInstanceVersion": { - "type": "object", - "properties": { - "name": { - "description": "[Output Only] Name of the version.", - "type": "string" - }, - "instanceTemplate": { - "type": "string", - "description": "[Output Only] The intended template of the instance. This field is empty when current_action is one of { DELETING, ABANDONING }." - } - }, - "id": "ManagedInstanceVersion" - }, - "RegionList": { - "type": "object", - "id": "RegionList", - "description": "Contains a list of region resources.", - "properties": { - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." + } }, - "kind": { + "interface": { + "description": "Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. For most machine types, the default is SCSI. Local SSDs can use either NVME or SCSI. In certain configurations, persistent disks can use NVMe. For more information, see About persistent disks.", "type": "string", - "default": "compute#regionList", - "description": "[Output Only] Type of resource. Always compute#regionList for lists of regions." + "enumDescriptions": [ + "", + "" + ], + "enum": [ + "NVME", + "SCSI" + ] }, - "warning": { - "description": "[Output Only] Informational warning message.", - "type": "object", - "properties": { - "data": { - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "items": { - "type": "object", - "properties": { - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - }, - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - } - } - }, - "type": "array" - }, - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, - "code": { - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], - "type": "string" - } + "guestOsFeatures": { + "description": "A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.", + "type": "array", + "items": { + "$ref": "GuestOsFeature" } }, - "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." + "diskEncryptionKey": { + "description": "Encrypts or decrypts a disk using a customer-supplied encryption key. If you are creating a new disk, this field encrypts the new disk using an encryption key that you provide. If you are attaching an existing disk that is already encrypted, this field decrypts the disk using the customer-supplied encryption key. If you encrypt a disk using a customer-supplied key, you must provide the same key again when you attempt to use this resource at a later time. For example, you must provide the key when you create a snapshot or an image from the disk or when you attach the disk to a virtual machine instance. If you do not provide an encryption key, then the disk will be encrypted using an automatically generated key and you do not need to provide a key to use the disk later. Instance templates do not store customer-supplied encryption keys, so you cannot use your own keys to encrypt disks in a managed instance group.", + "$ref": "CustomerEncryptionKey" }, - "nextPageToken": { + "diskSizeGb": { + "description": "The size of the disk in GB.", "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." + "format": "int64" }, - "items": { - "type": "array", - "items": { - "$ref": "Region" - }, - "description": "A list of Region resources." + "shieldedInstanceInitialState": { + "description": "[Output Only] shielded vm initial state stored on disk", + "$ref": "InitialStateConfig" + }, + "forceAttach": { + "description": "[Input Only] Whether to force attach the regional disk even if it's currently attached to another instance. If you try to force attach a zonal disk to an instance, you will receive an error.", + "type": "boolean" + }, + "architecture": { + "description": "[Output Only] The architecture of the attached disk. Valid values are ARM64 or X86_64.", + "type": "string", + "enumDescriptions": [ + "Default value indicating Architecture is not set.", + "Machines with architecture ARM64", + "Machines with architecture X86_64" + ], + "enum": [ + "ARCHITECTURE_UNSPECIFIED", + "ARM64", + "X86_64" + ] } } }, - "UrlMap": { - "description": "Represents a URL Map resource. Compute Engine has two URL Map resources: * [Global](/compute/docs/reference/rest/v1/urlMaps) * [Regional](/compute/docs/reference/rest/v1/regionUrlMaps) A URL map resource is a component of certain types of cloud load balancers and Traffic Director: * urlMaps are used by external HTTP(S) load balancers and Traffic Director. * regionUrlMaps are used by internal HTTP(S) load balancers. For a list of supported URL map features by the load balancer type, see the Load balancing features: Routing and traffic management table. For a list of supported URL map features for Traffic Director, see the Traffic Director features: Routing and traffic management table. This resource defines mappings from hostnames and URL paths to either a backend service or a backend bucket. To use the global urlMaps resource, the backend service must have a loadBalancingScheme of either EXTERNAL or INTERNAL_SELF_MANAGED. To use the regionUrlMaps resource, the backend service must have a loadBalancingScheme of INTERNAL_MANAGED. For more information, read URL Map Concepts.", - "id": "UrlMap", + "AttachedDiskInitializeParams": { + "id": "AttachedDiskInitializeParams", + "description": "[Input Only] Specifies the parameters for a new disk that will be created alongside the new instance. Use initialization parameters to create boot disks or local SSDs attached to the new instance. This field is persisted and returned for instanceTemplate and not returned in the context of instance. This property is mutually exclusive with the source property; you can only define one or the other, but not both.", + "type": "object", "properties": { - "defaultUrlRedirect": { - "description": "When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.", - "$ref": "HttpRedirectAction" + "diskName": { + "description": "Specifies the disk name. If not specified, the default is to use the name of the instance. If a disk with the same name already exists in the given region, the existing disk is attached to the new instance and the new disk is not created.", + "type": "string" }, - "kind": { - "description": "[Output Only] Type of the resource. Always compute#urlMaps for url maps.", - "type": "string", - "default": "compute#urlMap" + "sourceImage": { + "description": "The source image to create this disk. When creating a new instance, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required except for local SSD. To create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/debian-9 to use the latest Debian 9 image: projects/debian-cloud/global/images/family/debian-9 Alternatively, use a specific version of a public operating system image: projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD To create a disk with a custom image that you created, specify the image name in the following format: global/images/my-custom-image You can also specify a custom image by its image family, which returns the latest version of the image in that family. Replace the image name with family/family-name: global/images/family/my-image-family If the source image is deleted later, this field will not be set.", + "type": "string" }, - "selfLink": { + "diskSizeGb": { + "description": "Specifies the size of the disk in base-2 GB. The size must be at least 10 GB. If you specify a sourceImage, which is required for boot disks, the default size is the size of the sourceImage. If you do not specify a sourceImage, the default disk size is 500 GB.", "type": "string", - "description": "[Output Only] Server-defined URL for the resource." + "format": "int64" }, - "pathMatchers": { - "type": "array", - "description": "The list of named PathMatchers to use against the URL.", - "items": { - "$ref": "PathMatcher" + "diskType": { + "description": "Specifies the disk type to use to create the instance. If not specified, the default is pd-standard, specified using the full URL. For example: https://www.googleapis.com/compute/v1/projects/project/zones/zone /diskTypes/pd-standard For a full list of acceptable values, see Persistent disk types. If you specify this field when creating a VM, you can provide either the full or partial URL. For example, the following values are valid: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /diskTypes/diskType - projects/project/zones/zone/diskTypes/diskType - zones/zone/diskTypes/diskType If you specify this field when creating or updating an instance template or all-instances configuration, specify the type of the disk, not the URL. For example: pd-standard.", + "type": "string" + }, + "sourceImageEncryptionKey": { + "description": "The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key. InstanceTemplate and InstancePropertiesPatch do not store customer-supplied encryption keys, so you cannot create disks for instances in a managed instance group if the source images are encrypted with your own keys.", + "$ref": "CustomerEncryptionKey" + }, + "labels": { + "description": "Labels to apply to this disk. These can be later modified by the disks.setLabels method. This field is only applicable for persistent disks.", + "type": "object", + "additionalProperties": { + "type": "string" } }, - "defaultService": { - "description": "The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.", + "sourceSnapshot": { + "description": "The source snapshot to create this disk. When creating a new instance, one of initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.source is required except for local SSD. To create a disk with a snapshot that you created, specify the snapshot name in the following format: global/snapshots/my-backup If the source snapshot is deleted later, this field will not be set.", "type": "string" }, - "tests": { + "sourceSnapshotEncryptionKey": { + "description": "The customer-supplied encryption key of the source snapshot.", + "$ref": "CustomerEncryptionKey" + }, + "description": { + "description": "An optional description. Provide this property when creating the disk.", + "type": "string" + }, + "replicaZones": { + "description": "Required for each regional disk associated with the instance. Specify the URLs of the zones where the disk should be replicated to. You must provide exactly two replica zones, and one zone must be the same as the instance zone.", "type": "array", - "description": "The list of expected URL mapping tests. Request to update the UrlMap succeeds only if all test cases pass. You can specify a maximum of 100 tests per UrlMap. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.", "items": { - "$ref": "UrlMapTest" + "type": "string" } }, - "creationTimestamp": { - "description": "[Output Only] Creation timestamp in RFC3339 text format.", - "type": "string" + "resourcePolicies": { + "description": "Resource policies applied to this disk for automatic snapshot creations. Specified using the full or partial URL. For instance template, specify only the resource policy name.", + "type": "array", + "items": { + "type": "string" + } }, - "name": { - "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string" + "onUpdateAction": { + "description": "Specifies which action to take on instance update with this disk. Default is to use the existing disk.", + "type": "string", + "enumDescriptions": [ + "Always recreate the disk.", + "Recreate the disk if source (image, snapshot) of this disk is different from source of existing disk.", + "Use the existing disk, this is the default behaviour." + ], + "enum": [ + "RECREATE_DISK", + "RECREATE_DISK_IF_SOURCE_CHANGED", + "USE_EXISTING_DISK" + ] }, - "defaultRouteAction": { - "description": "defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.", - "$ref": "HttpRouteAction" + "provisionedIops": { + "description": "Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. Values must be between 10,000 and 120,000. For more details, see the Extreme persistent disk documentation.", + "type": "string", + "format": "int64" }, - "hostRules": { - "description": "The list of host rules to use against the URL.", + "licenses": { + "description": "A list of publicly visible licenses. Reserved for Google's use.", "type": "array", "items": { - "$ref": "HostRule" + "type": "string" } }, - "region": { + "architecture": { + "description": "The architecture of the attached disk. Valid values are arm64 or x86_64.", "type": "string", - "description": "[Output Only] URL of the region where the regional URL map resides. This field is not applicable to global URL maps. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body." + "enumDescriptions": [ + "Default value indicating Architecture is not set.", + "Machines with architecture ARM64", + "Machines with architecture X86_64" + ], + "enum": [ + "ARCHITECTURE_UNSPECIFIED", + "ARM64", + "X86_64" + ] }, - "id": { - "format": "uint64", - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", - "type": "string" + "resourceManagerTags": { + "description": "Resource manager tags to be bound to the disk. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty.", + "type": "object", + "additionalProperties": { + "type": "string" + } }, - "fingerprint": { + "provisionedThroughput": { + "description": "Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle. Values must be between 1 and 7,124.", "type": "string", - "format": "byte", - "description": "Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field is ignored when inserting a UrlMap. An up-to-date fingerprint must be provided in order to update the UrlMap, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a UrlMap." - }, - "headerAction": { - "description": "Specifies changes to request and response headers that need to take effect for the selected backendService. The headerAction specified here take effect after headerAction specified under pathMatcher. headerAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.", - "$ref": "HttpHeaderAction" + "format": "int64" }, - "description": { - "description": "An optional description of this resource. Provide this property when you create the resource.", - "type": "string" + "enableConfidentialCompute": { + "description": "Whether this disk is using confidential compute mode.", + "type": "boolean" } - }, - "type": "object" + } }, - "ForwardingRulesScopedList": { + "Metadata": { + "id": "Metadata", + "description": "A metadata key/value entry.", "type": "object", - "id": "ForwardingRulesScopedList", "properties": { - "forwardingRules": { - "description": "A list of forwarding rules contained in this scope.", - "items": { - "$ref": "ForwardingRule" - }, - "type": "array" + "kind": { + "description": "[Output Only] Type of the resource. Always compute#metadata for metadata.", + "default": "compute#metadata", + "type": "string" }, - "warning": { - "properties": { - "code": { - "type": "string", - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ], - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response." - }, - "data": { - "type": "array", - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "items": { - "type": "object", - "properties": { - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - }, - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - } - } + "fingerprint": { + "description": "Specifies a fingerprint for this request, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the resource.", + "type": "string", + "format": "byte" + }, + "items": { + "description": "Array of key/value pairs. The total size of all keys and values must be less than 512 KB.", + "type": "array", + "items": { + "description": "Metadata", + "type": "object", + "properties": { + "key": { + "description": "Key for the metadata entry. Keys must conform to the following regexp: [a-zA-Z0-9-_]+, and be less than 128 bytes in length. This is reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project.", + "pattern": "[a-zA-Z0-9-_]{1,128}", + "annotations": { + "required": [ + "compute.instances.insert", + "compute.projects.setCommonInstanceMetadata" + ] + }, + "type": "string" + }, + "value": { + "description": "Value for the metadata entry. These are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on values is that their size must be less than or equal to 262144 bytes (256 KiB).", + "annotations": { + "required": [ + "compute.instances.insert", + "compute.projects.setCommonInstanceMetadata" + ] + }, + "type": "string" } - }, - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." } - }, - "type": "object", - "description": "Informational warning which replaces the list of forwarding rules when the list is empty." + } } } }, - "TargetPoolsRemoveInstanceRequest": { - "id": "TargetPoolsRemoveInstanceRequest", + "ServiceAccount": { + "id": "ServiceAccount", + "description": "A service account.", "type": "object", "properties": { - "instances": { - "description": "URLs of the instances to be removed from target pool.", + "email": { + "description": "Email address of the service account.", + "type": "string" + }, + "scopes": { + "description": "The list of scopes to be made available for this service account.", + "type": "array", "items": { - "$ref": "InstanceReference" - }, - "type": "array" + "type": "string" + } } } }, - "FirewallList": { + "Scheduling": { + "id": "Scheduling", + "description": "Sets the scheduling options for an Instance.", + "type": "object", "properties": { - "items": { - "description": "A list of Firewall resources.", + "onHostMaintenance": { + "description": "Defines the maintenance behavior for this instance. For standard instances, the default behavior is MIGRATE. For preemptible instances, the default and only possible behavior is TERMINATE. For more information, see Set VM host maintenance policy.", + "type": "string", + "enumDescriptions": [ + "*[Default]* Allows Compute Engine to automatically migrate instances out of the way of maintenance events.", + "Tells Compute Engine to terminate and (optionally) restart the instance away from the maintenance activity. If you would like your instance to be restarted, set the automaticRestart flag to true. Your instance may be restarted more than once, and it may be restarted outside the window of maintenance events." + ], + "enum": [ + "MIGRATE", + "TERMINATE" + ] + }, + "automaticRestart": { + "description": "Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). You can only set the automatic restart option for standard instances. Preemptible instances cannot be automatically restarted. By default, this is set to true so an instance is automatically restarted if it is terminated by Compute Engine.", + "type": "boolean" + }, + "preemptible": { + "description": "Defines whether the instance is preemptible. This can only be set during instance creation or while the instance is stopped and therefore, in a `TERMINATED` state. See Instance Life Cycle for more information on the possible instance states.", + "type": "boolean" + }, + "nodeAffinities": { + "description": "A set of node affinity and anti-affinity configurations. Refer to Configuring node affinity for more information. Overrides reservationAffinity.", + "type": "array", "items": { - "$ref": "Firewall" - }, - "type": "array" + "$ref": "SchedulingNodeAffinity" + } }, - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." + "minNodeCpus": { + "description": "The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node.", + "type": "integer", + "format": "int32" }, - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", + "locationHint": { + "description": "An opaque location hint used to place the instance close to other resources. This field is for use by internal tools that use the public API.", "type": "string" }, - "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "provisioningModel": { + "description": "Specifies the provisioning model of the instance.", + "type": "string", + "enumDescriptions": [ + "Heavily discounted, no guaranteed runtime.", + "Standard provisioning with user controlled runtime, no discounts." + ], + "enum": [ + "SPOT", + "STANDARD" + ] + }, + "instanceTerminationAction": { + "description": "Specifies the termination action for the instance.", + "type": "string", + "enumDescriptions": [ + "Delete the VM.", + "Default value. This value is unused.", + "Stop the VM without storing in-memory content. default action." + ], + "enum": [ + "DELETE", + "INSTANCE_TERMINATION_ACTION_UNSPECIFIED", + "STOP" + ] + }, + "localSsdRecoveryTimeout": { + "description": "Specifies the maximum amount of time a Local Ssd Vm should wait while recovery of the Local Ssd state is attempted. Its value should be in between 0 and 168 hours with hour granularity and the default value being 1 hour.", + "$ref": "Duration" + } + } + }, + "SchedulingNodeAffinity": { + "id": "SchedulingNodeAffinity", + "description": "Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled.", + "type": "object", + "properties": { + "key": { + "description": "Corresponds to the label key of Node resource.", "type": "string" }, - "kind": { - "default": "compute#firewallList", + "operator": { + "description": "Defines the operation of node selection. Valid operators are IN for affinity and NOT_IN for anti-affinity.", "type": "string", - "description": "[Output Only] Type of resource. Always compute#firewallList for lists of firewalls." + "enumDescriptions": [ + "Requires Compute Engine to seek for matched nodes.", + "Requires Compute Engine to avoid certain nodes.", + "" + ], + "enum": [ + "IN", + "NOT_IN", + "OPERATOR_UNSPECIFIED" + ] }, - "warning": { + "values": { + "description": "Corresponds to the label values of Node resource.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "Duration": { + "id": "Duration", + "description": "A Duration represents a fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution. It is independent of any calendar and concepts like \"day\" or \"month\". Range is approximately 10,000 years.", + "type": "object", + "properties": { + "seconds": { + "description": "Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years", + "type": "string", + "format": "int64" + }, + "nanos": { + "description": "Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 `seconds` field and a positive `nanos` field. Must be from 0 to 999,999,999 inclusive.", + "type": "integer", + "format": "int32" + } + } + }, + "InstanceParams": { + "id": "InstanceParams", + "description": "Additional instance params.", + "type": "object", + "properties": { + "resourceManagerTags": { + "description": "Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty.", "type": "object", - "description": "[Output Only] Informational warning message.", - "properties": { - "code": { - "type": "string", + "additionalProperties": { + "type": "string" + } + } + } + }, + "AcceleratorConfig": { + "id": "AcceleratorConfig", + "description": "A specification of the type and number of accelerator cards attached to the instance.", + "type": "object", + "properties": { + "acceleratorType": { + "description": "Full or partial URL of the accelerator type resource to attach to this instance. For example: projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full list of accelerator types.", + "type": "string" + }, + "acceleratorCount": { + "description": "The number of the guest accelerator cards exposed to this instance.", + "type": "integer", + "format": "int32" + } + } + }, + "ReservationAffinity": { + "id": "ReservationAffinity", + "description": "Specifies the reservations that this instance can consume from.", + "type": "object", + "properties": { + "consumeReservationType": { + "description": "Specifies the type of reservation from which this instance can consume resources: ANY_RESERVATION (default), SPECIFIC_RESERVATION, or NO_RESERVATION. See Consuming reserved instances for examples.", + "type": "string", + "enumDescriptions": [ + "Consume any allocation available.", + "Do not consume from any allocated capacity.", + "Must consume from a specific reservation. Must specify key value fields for specifying the reservations.", + "" + ], + "enum": [ + "ANY_RESERVATION", + "NO_RESERVATION", + "SPECIFIC_RESERVATION", + "UNSPECIFIED" + ] + }, + "key": { + "description": "Corresponds to the label key of a reservation resource. To target a SPECIFIC_RESERVATION by name, specify googleapis.com/reservation-name as the key and specify the name of your reservation as its value.", + "type": "string" + }, + "values": { + "description": "Corresponds to the label values of a reservation resource. This can be either a name to a reservation in the same project or \"projects/different-project/reservations/some-reservation-name\" to target a shared reservation in the same zone but in a different project.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "DisplayDevice": { + "id": "DisplayDevice", + "description": "A set of Display Device options", + "type": "object", + "properties": { + "enableDisplay": { + "description": "Defines whether the instance has Display enabled.", + "type": "boolean" + } + } + }, + "ShieldedInstanceConfig": { + "id": "ShieldedInstanceConfig", + "description": "A set of Shielded Instance options.", + "type": "object", + "properties": { + "enableSecureBoot": { + "description": "Defines whether the instance has Secure Boot enabled. Disabled by default.", + "type": "boolean" + }, + "enableVtpm": { + "description": "Defines whether the instance has the vTPM enabled. Enabled by default.", + "type": "boolean" + }, + "enableIntegrityMonitoring": { + "description": "Defines whether the instance has integrity monitoring enabled. Enabled by default.", + "type": "boolean" + } + } + }, + "ShieldedInstanceIntegrityPolicy": { + "id": "ShieldedInstanceIntegrityPolicy", + "description": "The policy describes the baseline against which Instance boot integrity is measured.", + "type": "object", + "properties": { + "updateAutoLearnPolicy": { + "description": "Updates the integrity policy baseline using the measurements from the VM instance's most recent boot.", + "type": "boolean" + } + } + }, + "ConfidentialInstanceConfig": { + "id": "ConfidentialInstanceConfig", + "description": "A set of Confidential Instance options.", + "type": "object", + "properties": { + "enableConfidentialCompute": { + "description": "Defines whether the instance should have confidential compute enabled.", + "type": "boolean" + } + } + }, + "AdvancedMachineFeatures": { + "id": "AdvancedMachineFeatures", + "description": "Specifies options for controlling advanced machine features. Options that would traditionally be configured in a BIOS belong here. Features that require operating system support may have corresponding entries in the GuestOsFeatures of an Image (e.g., whether or not the OS in the Image supports nested virtualization being enabled or disabled).", + "type": "object", + "properties": { + "enableNestedVirtualization": { + "description": "Whether to enable nested virtualization or not (default is false).", + "type": "boolean" + }, + "threadsPerCore": { + "description": "The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.", + "type": "integer", + "format": "int32" + }, + "visibleCoreCount": { + "description": "The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance's nominal CPU count and the underlying platform's SMT width.", + "type": "integer", + "format": "int32" + }, + "enableUefiNetworking": { + "description": "Whether to enable UEFI networking for instance creation.", + "type": "boolean" + } + } + }, + "ResourceStatus": { + "id": "ResourceStatus", + "description": "Contains output only fields. Use this sub-message for actual values set on Instance attributes as compared to the value requested by the user (intent) in their instance CRUD calls.", + "type": "object", + "properties": { + "upcomingMaintenance": { + "$ref": "UpcomingMaintenance" + }, + "physicalHost": { + "description": "[Output Only] An opaque ID of the host on which the VM is running.", + "type": "string" + } + } + }, + "UpcomingMaintenance": { + "id": "UpcomingMaintenance", + "description": "Upcoming Maintenance notification information.", + "type": "object", + "properties": { + "type": { + "description": "Defines the type of maintenance.", + "type": "string", + "enumDescriptions": [ + "Scheduled maintenance (e.g. maintenance after uptime guarantee is complete).", + "No type specified. Do not use this value.", + "Unscheduled maintenance (e.g. emergency maintenance during uptime guarantee)." + ], + "enum": [ + "SCHEDULED", + "UNKNOWN_TYPE", + "UNSCHEDULED" + ] + }, + "canReschedule": { + "description": "Indicates if the maintenance can be customer triggered.", + "type": "boolean" + }, + "windowStartTime": { + "description": "The current start time of the maintenance window. This timestamp value is in RFC3339 text format.", + "type": "string" + }, + "windowEndTime": { + "description": "The time by which the maintenance disruption will be completed. This timestamp value is in RFC3339 text format.", + "type": "string" + }, + "latestWindowStartTime": { + "description": "The latest time for the planned maintenance window to start. This timestamp value is in RFC3339 text format.", + "type": "string" + }, + "maintenanceStatus": { + "type": "string", + "enumDescriptions": [ + "There is ongoing maintenance on this VM.", + "There is pending maintenance.", + "Unknown maintenance status. Do not use this value." + ], + "enum": [ + "ONGOING", + "PENDING", + "UNKNOWN" + ] + } + } + }, + "NetworkPerformanceConfig": { + "id": "NetworkPerformanceConfig", + "type": "object", + "properties": { + "totalEgressBandwidthTier": { + "type": "string", + "enumDescriptions": [ + "", + "" + ], + "enum": [ + "DEFAULT", + "TIER_1" + ] + } + } + }, + "InstanceAggregatedList": { + "id": "InstanceAggregatedList", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of resource. Always compute#instanceAggregatedList for aggregated lists of Instance resources.", + "default": "compute#instanceAggregatedList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "An object that contains a list of instances scoped by zone.", + "type": "object", + "additionalProperties": { + "description": "[Output Only] Name of the scope containing this set of instances.", + "$ref": "InstancesScopedList" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, + "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", + "properties": { + "code": { "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -7971,6 +8031,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -7988,7 +8049,58 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + }, + "unreachables": { + "description": "[Output Only] Unreachable resources.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "InstancesScopedList": { + "id": "InstancesScopedList", + "type": "object", + "properties": { + "instances": { + "description": "[Output Only] A list of instances contained in this scope.", + "type": "array", + "items": { + "$ref": "Instance" + } + }, + "warning": { + "description": "[Output Only] Informational warning which replaces the list of instances when the list is empty.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -8000,6 +8112,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -8017,82 +8130,128 @@ "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", "When undeclared properties in the schema are present", "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" ] }, "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" }, "data": { "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", "items": { + "type": "object", "properties": { "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" }, "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" } - }, - "type": "object" - }, - "type": "array" + } + } } } } - }, - "id": "FirewallList", - "type": "object", - "description": "Contains a list of firewalls." - }, - "NodeGroupsSetNodeTemplateRequest": { - "properties": { - "nodeTemplate": { - "type": "string", - "description": "Full or partial URL of the node template resource to be updated for this node group." - } - }, - "type": "object", - "id": "NodeGroupsSetNodeTemplateRequest" + } }, "InstanceListReferrers": { - "description": "Contains a list of instance referrers.", "id": "InstanceListReferrers", + "description": "Contains a list of instance referrers.", + "type": "object", "properties": { - "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "kind": { + "description": "[Output Only] Type of resource. Always compute#instanceListReferrers for lists of Instance referrers.", + "default": "compute#instanceListReferrers", "type": "string" }, - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", "type": "string" }, "items": { + "description": "A list of Reference resources.", "type": "array", "items": { "$ref": "Reference" - }, - "description": "A list of Reference resources." + } }, - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", "type": "string" }, - "kind": { - "description": "[Output Only] Type of resource. Always compute#instanceListReferrers for lists of Instance referrers.", - "default": "compute#instanceListReferrers", + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", "type": "string" }, "warning": { "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", @@ -8105,6 +8264,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -8123,7 +8283,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -8135,6 +8324,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -8154,696 +8344,699 @@ "UNREACHABLE" ] }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", "type": "array", "items": { + "type": "object", "properties": { "key": { "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", "type": "string" }, "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" } - }, - "type": "object" - }, - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } " + } + } } - }, - "type": "object" + } } - }, - "type": "object" + } }, - "ScalingScheduleStatus": { + "Reference": { + "id": "Reference", + "description": "Represents a reference to a resource.", "type": "object", "properties": { - "lastStartTime": { - "type": "string", - "description": "[Output Only] The last time the scaling schedule became active. Note: this is a timestamp when a schedule actually became active, not when it was planned to do so. The timestamp is in RFC3339 text format." + "kind": { + "description": "[Output Only] Type of the resource. Always compute#reference for references.", + "default": "compute#reference", + "type": "string" }, - "nextStartTime": { - "description": "[Output Only] The next time the scaling schedule is to become active. Note: this is a timestamp when a schedule is planned to run, but the actual time might be slightly different. The timestamp is in RFC3339 text format.", + "target": { + "description": "URL of the resource to which this reference points.", "type": "string" }, - "state": { - "enumDescriptions": [ - "The current autoscaling recommendation is influenced by this scaling schedule.", - "This scaling schedule has been disabled by the user.", - "This scaling schedule will never become active again.", - "The current autoscaling recommendation is not influenced by this scaling schedule." - ], - "type": "string", - "description": "[Output Only] The current state of a scaling schedule.", - "enum": [ - "ACTIVE", - "DISABLED", - "OBSOLETE", - "READY" - ] - } - }, - "id": "ScalingScheduleStatus" - }, - "SslPoliciesListAvailableFeaturesResponse": { - "id": "SslPoliciesListAvailableFeaturesResponse", - "type": "object", - "properties": { - "features": { - "type": "array", - "items": { - "type": "string" - } + "referenceType": { + "description": "A description of the reference type with no implied semantics. Possible values include: 1. MEMBER_OF ", + "type": "string" + }, + "referrer": { + "description": "URL of the resource which refers to the target.", + "type": "string" } } }, - "SecurityPolicy": { - "description": "Represents a Google Cloud Armor security policy resource. Only external backend services that use load balancers can reference a security policy. For more information, see Google Cloud Armor security policy overview.", + "SerialPortOutput": { + "id": "SerialPortOutput", + "description": "An instance serial console output.", "type": "object", - "id": "SecurityPolicy", "properties": { - "recaptchaOptionsConfig": { - "$ref": "SecurityPolicyRecaptchaOptionsConfig" - }, - "id": { - "format": "uint64", - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", - "type": "string" - }, - "fingerprint": { - "description": "Specifies a fingerprint for this resource, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make get() request to the security policy.", - "type": "string", - "format": "byte" - }, - "creationTimestamp": { - "type": "string", - "description": "[Output Only] Creation timestamp in RFC3339 text format." - }, - "adaptiveProtectionConfig": { - "$ref": "SecurityPolicyAdaptiveProtectionConfig" - }, - "type": { - "type": "string", - "enumDescriptions": [ - "", - "", - "" - ], - "description": "The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. This field can be set only at resource creation time.", - "enum": [ - "CLOUD_ARMOR", - "CLOUD_ARMOR_EDGE", - "CLOUD_ARMOR_NETWORK" - ] - }, - "description": { - "description": "An optional description of this resource. Provide this property when you create the resource.", - "type": "string" - }, "kind": { - "type": "string", - "default": "compute#securityPolicy", - "description": "[Output only] Type of the resource. Always compute#securityPolicyfor security policies" - }, - "name": { - "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "description": "[Output Only] Type of the resource. Always compute#serialPortOutput for serial port output.", + "default": "compute#serialPortOutput", "type": "string" }, - "ddosProtectionConfig": { - "$ref": "SecurityPolicyDdosProtectionConfig" - }, - "region": { - "description": "[Output Only] URL of the region where the regional security policy resides. This field is not applicable to global security policies.", + "contents": { + "description": "[Output Only] The contents of the console output.", "type": "string" }, - "advancedOptionsConfig": { - "$ref": "SecurityPolicyAdvancedOptionsConfig" + "start": { + "description": "The starting byte position of the output that was returned. This should match the start parameter sent with the request. If the serial console output exceeds the size of the buffer (1 MB), older output is overwritten by newer content. The output start value will indicate the byte position of the output that was returned, which might be different than the `start` value that was specified in the request.", + "type": "string", + "format": "int64" }, - "rules": { - "items": { - "$ref": "SecurityPolicyRule" - }, - "description": "A list of rules that belong to this policy. There must always be a default rule which is a rule with priority 2147483647 and match all condition (for the match condition this means match \"*\" for srcIpRanges and for the networkMatch condition every field must be either match \"*\" or not set). If no rules are provided when creating a security policy, a default rule with action \"allow\" will be added.", - "type": "array" + "next": { + "description": "[Output Only] The position of the next byte of content, regardless of whether the content exists, following the output returned in the `contents` property. Use this value in the next request as the start parameter.", + "type": "string", + "format": "int64" }, "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for the resource." + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" } } }, - "DisksAddResourcePoliciesRequest": { + "Screenshot": { + "id": "Screenshot", + "description": "An instance's screenshot.", "type": "object", "properties": { - "resourcePolicies": { - "items": { - "type": "string" - }, - "description": "Full or relative path to the resource policy to be added to this disk. You can only specify one resource policy.", - "type": "array" + "kind": { + "description": "[Output Only] Type of the resource. Always compute#screenshot for the screenshots.", + "default": "compute#screenshot", + "type": "string" + }, + "contents": { + "description": "[Output Only] The Base64-encoded screenshot data.", + "type": "string" } - }, - "id": "DisksAddResourcePoliciesRequest" + } }, - "ResourceGroupReference": { + "GuestAttributes": { + "id": "GuestAttributes", + "description": "A guest attributes entry.", "type": "object", "properties": { - "group": { - "description": "A URI referencing one of the instance groups or network endpoint groups listed in the backend service.", + "kind": { + "description": "[Output Only] Type of the resource. Always compute#guestAttributes for guest attributes entry.", + "default": "compute#guestAttributes", + "type": "string" + }, + "variableKey": { + "description": "The key to search for.", + "type": "string" + }, + "variableValue": { + "description": "[Output Only] The value found for the requested key.", + "type": "string" + }, + "queryPath": { + "description": "The path to be queried. This can be the default namespace ('') or a nested namespace ('\\/') or a specified key ('\\/\\').", + "type": "string" + }, + "queryValue": { + "description": "[Output Only] The value of the requested queried path.", + "$ref": "GuestAttributesValue" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", "type": "string" } - }, - "id": "ResourceGroupReference" + } }, - "InterconnectOutageNotification": { + "GuestAttributesValue": { + "id": "GuestAttributesValue", + "description": "Array of guest attribute namespace/key/value tuples.", "type": "object", - "id": "InterconnectOutageNotification", - "description": "Description of a planned outage on this Interconnect.", "properties": { - "description": { - "type": "string", - "description": "A description about the purpose of the outage." - }, - "affectedCircuits": { + "items": { + "type": "array", "items": { - "type": "string" - }, - "description": "If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.", - "type": "array" - }, - "issueType": { - "enum": [ - "IT_OUTAGE", - "IT_PARTIAL_OUTAGE", - "OUTAGE", - "PARTIAL_OUTAGE" - ], - "description": "Form this outage is expected to take, which can take one of the following values: - OUTAGE: The Interconnect may be completely out of service for some or all of the specified window. - PARTIAL_OUTAGE: Some circuits comprising the Interconnect as a whole should remain up, but with reduced bandwidth. Note that the versions of this enum prefixed with \"IT_\" have been deprecated in favor of the unprefixed values.", - "type": "string", - "enumDescriptions": [ - "[Deprecated] The Interconnect may be completely out of service for some or all of the specified window.", - "[Deprecated] Some circuits comprising the Interconnect will be out of service during the expected window. The interconnect as a whole should remain up, albeit with reduced bandwidth.", - "The Interconnect may be completely out of service for some or all of the specified window.", - "Some circuits comprising the Interconnect will be out of service during the expected window. The interconnect as a whole should remain up, albeit with reduced bandwidth." - ] - }, - "endTime": { - "description": "Scheduled end time for the outage (milliseconds since Unix epoch).", - "type": "string", - "format": "int64" - }, - "name": { - "description": "Unique identifier for this outage notification.", + "$ref": "GuestAttributesEntry" + } + } + } + }, + "GuestAttributesEntry": { + "id": "GuestAttributesEntry", + "description": "A guest attributes namespace/key/value entry.", + "type": "object", + "properties": { + "namespace": { + "description": "Namespace for the guest attribute entry.", "type": "string" }, - "startTime": { - "format": "int64", - "description": "Scheduled start time for the outage (milliseconds since Unix epoch).", + "key": { + "description": "Key for the guest attribute entry.", "type": "string" }, - "state": { - "description": "State of this notification, which can take one of the following values: - ACTIVE: This outage notification is active. The event could be in the past, present, or future. See start_time and end_time for scheduling. - CANCELLED: The outage associated with this notification was cancelled before the outage was due to start. - COMPLETED: The outage associated with this notification is complete. Note that the versions of this enum prefixed with \"NS_\" have been deprecated in favor of the unprefixed values.", - "enum": [ - "ACTIVE", - "CANCELLED", - "COMPLETED", - "NS_ACTIVE", - "NS_CANCELED" - ], - "enumDescriptions": [ - "This outage notification is active. The event could be in the future, present, or past. See start_time and end_time for scheduling.", - "The outage associated with this notification was cancelled before the outage was due to start.", - "The outage associated with this notification is complete.", - "[Deprecated] This outage notification is active. The event could be in the future, present, or past. See start_time and end_time for scheduling.", - "[Deprecated] The outage associated with this notification was canceled before the outage was due to start." - ], + "value": { + "description": "Value for the guest attribute entry.", "type": "string" - }, - "source": { - "enum": [ - "GOOGLE", - "NSRC_GOOGLE" - ], - "description": "The party that generated this notification, which can take the following value: - GOOGLE: this notification as generated by Google. Note that the value of NSRC_GOOGLE has been deprecated in favor of GOOGLE.", - "type": "string", - "enumDescriptions": [ - "This notification was generated by Google.", - "[Deprecated] This notification was generated by Google." - ] } } }, - "VpnTunnel": { + "InstancesSetMachineResourcesRequest": { + "id": "InstancesSetMachineResourcesRequest", + "type": "object", "properties": { - "peerIp": { - "description": "IP address of the peer VPN gateway. Only IPv4 is supported.", + "guestAccelerators": { + "description": "A list of the type and count of accelerator cards attached to the instance.", + "type": "array", + "items": { + "$ref": "AcceleratorConfig" + } + } + } + }, + "InstancesSetMachineTypeRequest": { + "id": "InstancesSetMachineTypeRequest", + "type": "object", + "properties": { + "machineType": { + "description": "Full or partial URL of the machine type resource. See Machine Types for a full list of machine types. For example: zones/us-central1-f/machineTypes/n1-standard-1", "type": "string" - }, - "targetVpnGateway": { - "description": "URL of the Target VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created.", + } + } + }, + "InstancesSetMinCpuPlatformRequest": { + "id": "InstancesSetMinCpuPlatformRequest", + "type": "object", + "properties": { + "minCpuPlatform": { + "description": "Minimum cpu/platform this instance should be started at.", "type": "string" + } + } + }, + "InstancesSetLabelsRequest": { + "id": "InstancesSetLabelsRequest", + "type": "object", + "properties": { + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + } }, - "kind": { + "labelFingerprint": { + "description": "Fingerprint of the previous set of labels for this resource, used to prevent conflicts. Provide the latest fingerprint value when making a request to add or change labels.", "type": "string", - "description": "[Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels.", - "default": "compute#vpnTunnel" - }, - "peerExternalGatewayInterface": { - "format": "int32", - "type": "integer", - "description": "The interface ID of the external VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. Possible values are: `0`, `1`, `2`, `3`. The number of IDs in use depends on the external VPN gateway redundancy type." - }, + "format": "byte" + } + } + }, + "InstancesSetNameRequest": { + "id": "InstancesSetNameRequest", + "type": "object", + "properties": { "name": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", - "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", - "annotations": { - "required": [ - "compute.vpnTunnels.insert" - ] + "description": "The name to be applied to the instance. Needs to be RFC 1035 compliant.", + "type": "string" + }, + "currentName": { + "description": "The current name of this resource, used to prevent conflicts. Provide the latest name when making a request to change name.", + "type": "string" + } + } + }, + "InstancesStartWithEncryptionKeyRequest": { + "id": "InstancesStartWithEncryptionKeyRequest", + "type": "object", + "properties": { + "disks": { + "description": "Array of disks associated with this instance that are protected with a customer-supplied encryption key. In order to start the instance, the disk url and its corresponding key must be provided. If the disk is not protected with a customer-supplied encryption key it should not be specified.", + "type": "array", + "items": { + "$ref": "CustomerEncryptionKeyProtectedDisk" } + } + } + }, + "CustomerEncryptionKeyProtectedDisk": { + "id": "CustomerEncryptionKeyProtectedDisk", + "type": "object", + "properties": { + "source": { + "description": "Specifies a valid partial or full URL to an existing Persistent Disk resource. This field is only applicable for persistent disks. For example: \"source\": \"/compute/v1/projects/project_id/zones/zone/disks/ disk_name ", + "type": "string" }, - "region": { - "description": "[Output Only] URL of the region where the VPN tunnel resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.", + "diskEncryptionKey": { + "description": "Decrypts data associated with the disk with a customer-supplied encryption key.", + "$ref": "CustomerEncryptionKey" + } + } + }, + "InstancesSetServiceAccountRequest": { + "id": "InstancesSetServiceAccountRequest", + "type": "object", + "properties": { + "email": { + "description": "Email address of the service account.", "type": "string" }, - "remoteTrafficSelector": { + "scopes": { + "description": "The list of scopes to be made available for this service account.", + "type": "array", "items": { "type": "string" - }, - "description": "Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be disjoint. Only IPv4 is supported.", - "type": "array" - }, - "description": { - "type": "string", - "description": "An optional description of this resource. Provide this property when you create the resource." - }, - "sharedSecret": { - "type": "string", - "description": "Shared secret used to set the secure session between the Cloud VPN gateway and the peer VPN gateway." - }, - "id": { - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", - "format": "uint64", + } + } + } + }, + "InstancesAddResourcePoliciesRequest": { + "id": "InstancesAddResourcePoliciesRequest", + "type": "object", + "properties": { + "resourcePolicies": { + "description": "Resource policies to be added to this instance.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "InstancesRemoveResourcePoliciesRequest": { + "id": "InstancesRemoveResourcePoliciesRequest", + "type": "object", + "properties": { + "resourcePolicies": { + "description": "Resource policies to be removed from this instance.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "InstancesSetSecurityPolicyRequest": { + "id": "InstancesSetSecurityPolicyRequest", + "type": "object", + "properties": { + "securityPolicy": { + "description": "A full or partial URL to a security policy to add to this instance. If this field is set to an empty string it will remove the associated security policy.", "type": "string" }, - "router": { - "type": "string", - "description": "URL of the router resource to be used for dynamic routing." + "networkInterfaces": { + "description": "The network interfaces that the security policy will be applied to. Network interfaces use the nicN naming format. You can only set a security policy for network interfaces with an access config.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "ShieldedInstanceIdentity": { + "id": "ShieldedInstanceIdentity", + "description": "A Shielded Instance Identity.", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of the resource. Always compute#shieldedInstanceIdentity for shielded Instance identity entry.", + "default": "compute#shieldedInstanceIdentity", + "type": "string" }, - "peerGcpGateway": { - "type": "string", - "description": "URL of the peer side HA GCP VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. This field can be used when creating highly available VPN from VPC network to VPC network, the field is exclusive with the field peerExternalGateway. If provided, the VPN tunnel will automatically use the same vpnGatewayInterface ID in the peer GCP VPN gateway." + "signingKey": { + "description": "An Attestation Key (AK) made by the RSA 2048 algorithm issued to the Shielded Instance's vTPM.", + "$ref": "ShieldedInstanceIdentityEntry" }, - "peerExternalGateway": { - "description": "URL of the peer side external VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. This field is exclusive with the field peerGcpGateway.", + "encryptionKey": { + "description": "An Endorsement Key (EK) made by the RSA 2048 algorithm issued to the Shielded Instance's vTPM.", + "$ref": "ShieldedInstanceIdentityEntry" + } + } + }, + "ShieldedInstanceIdentityEntry": { + "id": "ShieldedInstanceIdentityEntry", + "description": "A Shielded Instance Identity Entry.", + "type": "object", + "properties": { + "ekCert": { + "description": "A PEM-encoded X.509 certificate. This field can be empty.", "type": "string" }, - "sharedSecretHash": { + "ekPub": { + "description": "A PEM-encoded public key.", + "type": "string" + } + } + }, + "BulkInsertInstanceResource": { + "id": "BulkInsertInstanceResource", + "description": "A transient resource used in compute.instances.bulkInsert and compute.regionInstances.bulkInsert . This resource is not persisted anywhere, it is used only for processing the requests.", + "type": "object", + "properties": { + "count": { + "description": "The maximum number of instances to create.", "type": "string", - "description": "Hash of the shared secret." - }, - "vpnGatewayInterface": { - "format": "int32", - "type": "integer", - "description": "The interface ID of the VPN gateway with which this VPN tunnel is associated. Possible values are: `0`, `1`." - }, - "localTrafficSelector": { - "items": { - "type": "string" - }, - "type": "array", - "description": "Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges must be disjoint. Only IPv4 is supported." + "format": "int64" }, - "detailedStatus": { + "minCount": { + "description": "The minimum number of instances to create. If no min_count is specified then count is used as the default value. If min_count instances cannot be created, then no instances will be created and instances already created will be deleted.", "type": "string", - "description": "[Output Only] Detailed status message for the VPN tunnel." + "format": "int64" }, - "selfLink": { - "description": "[Output Only] Server-defined URL for the resource.", + "namePattern": { + "description": "The string pattern used for the names of the VMs. Either name_pattern or per_instance_properties must be set. The pattern must contain one continuous sequence of placeholder hash characters (#) with each character corresponding to one digit of the generated instance name. Example: a name_pattern of inst-#### generates instance names such as inst-0001 and inst-0002. If existing instances in the same project and zone have names that match the name pattern then the generated instance numbers start after the biggest existing number. For example, if there exists an instance with name inst-0050, then instance names generated using the pattern inst-#### begin with inst-0051. The name pattern placeholder #...# can contain up to 18 characters.", "type": "string" }, - "ikeVersion": { - "type": "integer", - "format": "int32", - "description": "IKE protocol version to use when establishing the VPN tunnel with the peer VPN gateway. Acceptable IKE versions are 1 or 2. The default version is 2." + "perInstanceProperties": { + "description": "Per-instance properties to be set on individual instances. Keys of this map specify requested instance names. Can be empty if name_pattern is used.", + "type": "object", + "additionalProperties": { + "$ref": "BulkInsertInstanceResourcePerInstanceProperties" + } }, - "creationTimestamp": { - "type": "string", - "description": "[Output Only] Creation timestamp in RFC3339 text format." + "sourceInstanceTemplate": { + "description": "Specifies the instance template from which to create instances. You may combine sourceInstanceTemplate with instanceProperties to override specific values from an existing instance template. Bulk API follows the semantics of JSON Merge Patch described by RFC 7396. It can be a full or partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project /global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate This field is optional.", + "type": "string" }, - "status": { - "enum": [ - "ALLOCATING_RESOURCES", - "AUTHORIZATION_ERROR", - "DEPROVISIONING", - "ESTABLISHED", - "FAILED", - "FIRST_HANDSHAKE", - "NEGOTIATION_FAILURE", - "NETWORK_ERROR", - "NO_INCOMING_PACKETS", - "PROVISIONING", - "REJECTED", - "STOPPED", - "WAITING_FOR_FULL_CONFIG" - ], - "enumDescriptions": [ - "Cloud VPN is in the process of allocating all required resources (specifically, a borg task).", - "Auth error (e.g. bad shared secret).", - "Resources is being deallocated for the VPN tunnel.", - "Secure session is successfully established with peer VPN.", - "Tunnel creation has failed and the tunnel is not ready to be used.", - "Successful first handshake with peer VPN.", - "Handshake failed.", - "Deprecated, replaced by NO_INCOMING_PACKETS", - "No incoming packets from peer", - "Resource is being allocated for the VPN tunnel.", - "Tunnel configuration was rejected, can be result of being denylisted.", - "Tunnel is stopped due to its Forwarding Rules being deleted.", - "Waiting to receive all VPN-related configs from user. Network, TargetVpnGateway, VpnTunnel, ForwardingRule and Route resources are needed to setup VPN tunnel." - ], - "type": "string", - "description": "[Output Only] The status of the VPN tunnel, which can be one of the following: - PROVISIONING: Resource is being allocated for the VPN tunnel. - WAITING_FOR_FULL_CONFIG: Waiting to receive all VPN-related configs from the user. Network, TargetVpnGateway, VpnTunnel, ForwardingRule, and Route resources are needed to setup the VPN tunnel. - FIRST_HANDSHAKE: Successful first handshake with the peer VPN. - ESTABLISHED: Secure session is successfully established with the peer VPN. - NETWORK_ERROR: Deprecated, replaced by NO_INCOMING_PACKETS - AUTHORIZATION_ERROR: Auth error (for example, bad shared secret). - NEGOTIATION_FAILURE: Handshake failed. - DEPROVISIONING: Resources are being deallocated for the VPN tunnel. - FAILED: Tunnel creation has failed and the tunnel is not ready to be used. - NO_INCOMING_PACKETS: No incoming packets from peer. - REJECTED: Tunnel configuration was rejected, can be result of being denied access. - ALLOCATING_RESOURCES: Cloud VPN is in the process of allocating all required resources. - STOPPED: Tunnel is stopped due to its Forwarding Rules being deleted for Classic VPN tunnels or the project is in frozen state. - PEER_IDENTITY_MISMATCH: Peer identity does not match peer IP, probably behind NAT. - TS_NARROWING_NOT_ALLOWED: Traffic selector narrowing not allowed for an HA-VPN tunnel. " + "instanceProperties": { + "description": "The instance properties defining the VM instances to be created. Required if sourceInstanceTemplate is not provided.", + "$ref": "InstanceProperties" }, - "vpnGateway": { - "description": "URL of the VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created. This must be used (instead of target_vpn_gateway) if a High Availability VPN gateway resource is created.", - "type": "string" + "locationPolicy": { + "description": "Policy for chosing target zone. For more information, see Create VMs in bulk .", + "$ref": "LocationPolicy" } - }, - "id": "VpnTunnel", - "type": "object", - "description": "Represents a Cloud VPN Tunnel resource. For more information about VPN, read the the Cloud VPN Overview." + } }, - "PacketMirroringForwardingRuleInfo": { - "id": "PacketMirroringForwardingRuleInfo", + "BulkInsertInstanceResourcePerInstanceProperties": { + "id": "BulkInsertInstanceResourcePerInstanceProperties", + "description": "Per-instance properties to be set on individual instances. To be extended in the future.", "type": "object", "properties": { - "canonicalUrl": { - "type": "string", - "description": "[Output Only] Unique identifier for the forwarding rule; defined by the server." + "name": { + "description": "This field is only temporary. It will be removed. Do not use it.", + "type": "string" }, - "url": { - "description": "Resource URL to the forwarding rule representing the ILB configured as destination of the mirrored traffic.", + "hostname": { + "description": "Specifies the hostname of the instance. More details in: https://cloud.google.com/compute/docs/instances/custom-hostname-vm#naming_convention", "type": "string" } } }, - "RouterStatusBgpPeerStatus": { - "id": "RouterStatusBgpPeerStatus", + "InstanceProperties": { + "id": "InstanceProperties", + "type": "object", "properties": { - "advertisedRoutes": { + "description": { + "description": "An optional text description for the instances that are created from these properties.", + "type": "string" + }, + "tags": { + "description": "A list of tags to apply to the instances that are created from these properties. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035.", + "$ref": "Tags" + }, + "resourceManagerTags": { + "description": "Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "machineType": { + "description": "The machine type to use for instances that are created from these properties.", + "annotations": { + "required": [ + "compute.instanceTemplates.insert" + ] + }, + "type": "string" + }, + "canIpForward": { + "description": "Enables instances created based on these properties to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own. If these instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, specify true. If unsure, leave this set to false. See the Enable IP forwarding documentation for more information.", + "type": "boolean" + }, + "networkInterfaces": { + "description": "An array of network access configurations for this interface.", "type": "array", - "description": "Routes that were advertised to the remote BGP peer", "items": { - "$ref": "Route" + "$ref": "NetworkInterface" } }, - "bfdStatus": { - "$ref": "BfdStatus" + "disks": { + "description": "An array of disks that are associated with the instances that are created from these properties.", + "type": "array", + "items": { + "$ref": "AttachedDisk" + } }, - "linkedVpnTunnel": { - "description": "URL of the VPN tunnel that this BGP peer controls.", - "type": "string" + "metadata": { + "description": "The metadata key/value pairs to assign to instances that are created from these properties. These pairs can consist of custom metadata or predefined keys. See Project and instance metadata for more information.", + "$ref": "Metadata" }, - "numLearnedRoutes": { - "description": "Number of routes learned from the remote BGP Peer.", - "type": "integer", - "format": "uint32" + "serviceAccounts": { + "description": "A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.", + "type": "array", + "items": { + "$ref": "ServiceAccount" + } }, - "uptime": { - "description": "Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds", - "type": "string" + "scheduling": { + "description": "Specifies the scheduling options for the instances that are created from these properties.", + "$ref": "Scheduling" }, - "ipv6NexthopAddress": { - "type": "string", - "description": "IPv6 address of the local BGP interface." + "labels": { + "description": "Labels to apply to instances that are created from these properties.", + "type": "object", + "additionalProperties": { + "type": "string" + } }, - "state": { - "type": "string", - "description": "The state of the BGP session. For a list of possible values for this field, see BGP session states." + "guestAccelerators": { + "description": "A list of guest accelerator cards' type and count to use for instances created from these properties.", + "type": "array", + "items": { + "$ref": "AcceleratorConfig" + } }, - "peerIpv6NexthopAddress": { - "description": "IPv6 address of the remote BGP interface.", + "minCpuPlatform": { + "description": "Minimum cpu/platform to be used by instances. The instance may be scheduled on the specified or newer cpu/platform. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: \"Intel Haswell\" or minCpuPlatform: \"Intel Sandy Bridge\". For more information, read Specifying a Minimum CPU Platform.", "type": "string" }, - "ipAddress": { - "type": "string", - "description": "IP address of the local BGP interface." + "reservationAffinity": { + "description": "Specifies the reservations that instances can consume from. Note that for MachineImage, this is not supported yet.", + "$ref": "ReservationAffinity" }, - "status": { - "description": "Status of the BGP peer: {UP, DOWN}", + "shieldedInstanceConfig": { + "description": "Note that for MachineImage, this is not supported yet.", + "$ref": "ShieldedInstanceConfig" + }, + "resourcePolicies": { + "description": "Resource policies (names, not URLs) applied to instances created from these properties. Note that for MachineImage, this is not supported yet.", + "type": "array", + "items": { + "type": "string" + } + }, + "confidentialInstanceConfig": { + "description": "Specifies the Confidential Instance options. Note that for MachineImage, this is not supported yet.", + "$ref": "ConfidentialInstanceConfig" + }, + "privateIpv6GoogleAccess": { + "description": "The private IPv6 google access type for VMs. If not specified, use INHERIT_FROM_SUBNETWORK as default. Note that for MachineImage, this is not supported yet.", "type": "string", "enumDescriptions": [ - "", - "", - "" + "Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.", + "Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.", + "Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork." ], "enum": [ - "DOWN", - "UNKNOWN", - "UP" + "ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE", + "ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE", + "INHERIT_FROM_SUBNETWORK" ] }, - "md5AuthEnabled": { - "description": "Informs whether MD5 authentication is enabled on this BGP peer.", - "type": "boolean" + "advancedMachineFeatures": { + "description": "Controls for advanced machine-related behavior features. Note that for MachineImage, this is not supported yet.", + "$ref": "AdvancedMachineFeatures" }, - "routerApplianceInstance": { - "type": "string", - "description": "[Output only] URI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances. The VM instance is the peer side of the BGP session." + "networkPerformanceConfig": { + "description": "Note that for MachineImage, this is not supported yet.", + "$ref": "NetworkPerformanceConfig" }, - "uptimeSeconds": { + "keyRevocationActionType": { + "description": "KeyRevocationActionType of the instance. Supported options are \"STOP\" and \"NONE\". The default value is \"NONE\" if it is not specified.", "type": "string", - "description": "Time this session has been up, in seconds. Format: 145" - }, - "name": { - "description": "Name of this BGP peer. Unique within the Routers resource.", - "type": "string" - }, - "enableIpv6": { - "type": "boolean", - "description": "Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default." - }, - "statusReason": { - "enum": [ - "MD5_AUTH_INTERNAL_PROBLEM", - "STATUS_REASON_UNSPECIFIED" - ], - "description": "Indicates why particular status was returned.", "enumDescriptions": [ - "Indicates internal problems with configuration of MD5 authentication. This particular reason can only be returned when md5AuthEnabled is true and status is DOWN.", - "" + "Default value. This value is unused.", + "Indicates user chose no operation.", + "Indicates user chose to opt for VM shutdown on key revocation." ], - "type": "string" - }, - "peerIpAddress": { - "type": "string", - "description": "IP address of the remote BGP interface." + "enum": [ + "KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED", + "NONE", + "STOP" + ] } - }, - "type": "object" + } }, - "SslPoliciesList": { + "LocationPolicy": { + "id": "LocationPolicy", + "description": "Configuration for location policy among multiple possible locations (e.g. preferences for zone selection among zones in a single region).", "type": "object", "properties": { - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." - }, - "items": { - "description": "A list of SslPolicy resources.", - "items": { - "$ref": "SslPolicy" - }, - "type": "array" - }, - "warning": { + "locations": { + "description": "Location configurations mapped by location name. Currently only zone names are supported and must be represented as valid internal URLs, such as zones/us-central1-a.", "type": "object", - "description": "[Output Only] Informational warning message.", - "properties": { - "code": { - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ], - "type": "string", - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response." - }, - "data": { - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - }, - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - } - } - } - }, - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - } + "additionalProperties": { + "$ref": "LocationPolicyLocation" } }, - "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." - }, - "kind": { - "description": "[Output Only] Type of the resource. Always compute#sslPoliciesList for lists of sslPolicies.", - "default": "compute#sslPoliciesList", - "type": "string" - }, - "selfLink": { + "targetShape": { + "description": "Strategy for distributing VMs across zones in a region.", "type": "string", - "description": "[Output Only] Server-defined URL for this resource." + "enumDescriptions": [ + "GCE picks zones for creating VM instances to fulfill the requested number of VMs within present resource constraints and to maximize utilization of unused zonal reservations. Recommended for batch workloads that do not require high availability.", + "GCE always selects a single zone for all the VMs, optimizing for resource quotas, available reservations and general capacity. Recommended for batch workloads that cannot tollerate distribution over multiple zones. This the default shape in Bulk Insert and Capacity Advisor APIs.", + "GCE prioritizes acquisition of resources, scheduling VMs in zones where resources are available while distributing VMs as evenly as possible across allowed zones to minimize the impact of zonal failure. Recommended for highly available serving workloads." + ], + "enum": [ + "ANY", + "ANY_SINGLE_ZONE", + "BALANCED" + ] } - }, - "id": "SslPoliciesList" + } }, - "ZoneSetPolicyRequest": { + "LocationPolicyLocation": { + "id": "LocationPolicyLocation", "type": "object", - "id": "ZoneSetPolicyRequest", "properties": { - "etag": { + "preference": { + "description": "Preference for a given location. Set to either ALLOW or DENY.", "type": "string", - "description": "Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.", - "format": "byte" + "enumDescriptions": [ + "Location is allowed for use.", + "Location is prohibited.", + "Default value, unused." + ], + "enum": [ + "ALLOW", + "DENY", + "PREFERENCE_UNSPECIFIED" + ] }, - "bindings": { + "constraints": { + "description": "Constraints that the caller requires on the result distribution in this zone.", + "$ref": "LocationPolicyLocationConstraints" + } + } + }, + "LocationPolicyLocationConstraints": { + "id": "LocationPolicyLocationConstraints", + "description": "Per-zone constraints on location policy for this zone.", + "type": "object", + "properties": { + "maxCount": { + "description": "Maximum number of items that are allowed to be placed in this zone. The value must be non-negative.", + "type": "integer", + "format": "int32" + } + } + }, + "InstancesGetEffectiveFirewallsResponse": { + "id": "InstancesGetEffectiveFirewallsResponse", + "type": "object", + "properties": { + "firewalls": { + "description": "Effective firewalls on the instance.", + "type": "array", "items": { - "$ref": "Binding" - }, - "description": "Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify bindings.", - "type": "array" + "$ref": "Firewall" + } }, - "policy": { - "description": "REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them.", - "$ref": "Policy" + "firewallPolicys": { + "description": "Effective firewalls from firewall policies.", + "type": "array", + "items": { + "$ref": "InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy" + } } } }, - "ResourcePolicyGroupPlacementPolicy": { - "id": "ResourcePolicyGroupPlacementPolicy", - "description": "A GroupPlacementPolicy specifies resource placement configuration. It specifies the failure bucket separation as well as network locality", + "InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy": { + "id": "InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy", "type": "object", "properties": { - "availabilityDomainCount": { - "format": "int32", - "description": "The number of availability domains to spread instances across. If two instances are in different availability domain, they are not in the same low latency network.", - "type": "integer" + "name": { + "description": "[Output Only] The name of the firewall policy.", + "type": "string" }, - "collocation": { + "type": { + "description": "[Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.", "type": "string", - "description": "Specifies network collocation", - "enum": [ - "COLLOCATED", - "UNSPECIFIED_COLLOCATION" - ], "enumDescriptions": [ + "", + "", "", "" + ], + "enum": [ + "HIERARCHY", + "NETWORK", + "NETWORK_REGIONAL", + "UNSPECIFIED" ] }, - "vmCount": { - "format": "int32", - "type": "integer", - "description": "Number of VMs in this placement group. Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs." + "shortName": { + "description": "[Output Only] The short name of the firewall policy.", + "type": "string" + }, + "displayName": { + "description": "[Output Only] Deprecated, please use short name instead. The display name of the firewall policy.", + "deprecated": true, + "type": "string" + }, + "rules": { + "description": "The rules that apply to the network.", + "type": "array", + "items": { + "$ref": "FirewallPolicyRule" + } } } }, - "ServiceAttachmentList": { + "ReservationList": { + "id": "ReservationList", + "type": "object", "properties": { + "kind": { + "description": "[Output Only] Type of resource.Always compute#reservationsList for listsof reservations", + "default": "compute#reservationList", + "type": "string" + }, + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", + "type": "string" + }, + "items": { + "description": "[Output Only] A list of Allocation resources.", + "type": "array", + "items": { + "$ref": "Reservation" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, "warning": { "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - }, - "data": { - "type": "array", - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "items": { - "properties": { - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - }, - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - } - }, - "type": "object" - } - }, "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -8855,6 +9048,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -8873,7 +9067,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "type": "string", + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -8885,6 +9108,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -8902,291 +9126,392 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response." + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } } - }, - "type": "object" + } }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + } + } + }, + "Reservation": { + "id": "Reservation", + "description": "Represents a reservation resource. A reservation ensures that capacity is held in a specific zone even if the reserved VMs are not running. For more information, read Reserving zonal resources.", + "type": "object", + "properties": { "kind": { - "description": "[Output Only] Type of the resource. Always compute#serviceAttachment for service attachments.", + "description": "[Output Only] Type of the resource. Always compute#reservations for reservations.", + "default": "compute#reservation", + "type": "string" + }, + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", "type": "string", - "default": "compute#serviceAttachmentList" + "format": "uint64" + }, + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" }, "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." + "description": "[Output Only] Server-defined fully-qualified URL for this resource.", + "type": "string" }, - "items": { - "type": "array", - "items": { - "$ref": "ServiceAttachment" + "zone": { + "description": "Zone in which the reservation resides. A zone must be provided if the reservation is created within a commitment.", + "type": "string" + }, + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource.", + "type": "string" + }, + "name": { + "description": "The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "annotations": { + "required": [ + "compute.instances.insert" + ] }, - "description": "A list of ServiceAttachment resources." + "type": "string" }, - "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "specificReservation": { + "description": "Reservation for instances with specific machine shapes.", + "$ref": "AllocationSpecificSKUReservation" + }, + "aggregateReservation": { + "description": "Reservation for aggregated resources, providing shape flexibility.", + "$ref": "AllocationAggregateReservation" + }, + "commitment": { + "description": "[Output Only] Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment.", "type": "string" }, - "nextPageToken": { + "specificReservationRequired": { + "description": "Indicates whether the reservation can be consumed by VMs with affinity for \"any\" reservation. If the field is set, then only VMs that target the reservation by name can consume from this reservation.", + "type": "boolean" + }, + "status": { + "description": "[Output Only] The status of the reservation.", "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." + "enumDescriptions": [ + "Resources are being allocated for the reservation.", + "Reservation is currently being deleted.", + "", + "Reservation has allocated all its resources.", + "Reservation is currently being resized." + ], + "enum": [ + "CREATING", + "DELETING", + "INVALID", + "READY", + "UPDATING" + ] + }, + "shareSettings": { + "description": "Specify share-settings to create a shared reservation. This property is optional. For more information about the syntax and options for this field and its subfields, see the guide for creating a shared reservation.", + "$ref": "ShareSettings" + }, + "satisfiesPzs": { + "description": "[Output Only] Reserved for future use.", + "type": "boolean" + }, + "resourcePolicies": { + "description": "Resource policies to be added to this reservation. The key is defined by user, and the value is resource policy url. This is to define placement policy with reservation.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "resourceStatus": { + "description": "[Output Only] Status information for Reservation resource.", + "$ref": "AllocationResourceStatus" } - }, - "type": "object", - "id": "ServiceAttachmentList" + } }, - "HttpRetryPolicy": { - "description": "The retry policy associates with HttpRouteRule", + "AllocationSpecificSKUReservation": { + "id": "AllocationSpecificSKUReservation", + "description": "This reservation type allows to pre allocate specific instance configuration. Next ID: 6", "type": "object", "properties": { - "numRetries": { - "type": "integer", - "format": "uint32", - "description": "Specifies the allowed number retries. This number must be \u003e 0. If not specified, defaults to 1." + "instanceProperties": { + "description": "The instance properties for the reservation.", + "$ref": "AllocationSpecificSKUAllocationReservedInstanceProperties" }, - "perTryTimeout": { - "$ref": "Duration", - "description": "Specifies a non-zero timeout per retry attempt. If not specified, will use the timeout set in the HttpRouteAction field. If timeout in the HttpRouteAction field is not set, this field uses the largest timeout among all backend services associated with the route. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true." + "count": { + "description": "Specifies the number of resources that are allocated.", + "type": "string", + "format": "int64" }, - "retryConditions": { - "items": { - "type": "string" - }, - "description": "Specifies one or more conditions when this retry policy applies. Valid values are: - 5xx: retry is attempted if the instance or endpoint responds with any 5xx response code, or if the instance or endpoint does not respond at all. For example, disconnects, reset, read timeout, connection failure, and refused streams. - gateway-error: Similar to 5xx, but only applies to response codes 502, 503 or 504. - connect-failure: a retry is attempted on failures connecting to the instance or endpoint. For example, connection timeouts. - retriable-4xx: a retry is attempted if the instance or endpoint responds with a 4xx response code. The only error that you can retry is error code 409. - refused-stream: a retry is attempted if the instance or endpoint resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry. - cancelled: a retry is attempted if the gRPC status code in the response header is set to cancelled. - deadline-exceeded: a retry is attempted if the gRPC status code in the response header is set to deadline-exceeded. - internal: a retry is attempted if the gRPC status code in the response header is set to internal. - resource-exhausted: a retry is attempted if the gRPC status code in the response header is set to resource-exhausted. - unavailable: a retry is attempted if the gRPC status code in the response header is set to unavailable. Only the following codes are supported when the URL map is bound to target gRPC proxy that has validateForProxyless field set to true. - cancelled - deadline-exceeded - internal - resource-exhausted - unavailable ", - "type": "array" + "inUseCount": { + "description": "[Output Only] Indicates how many instances are in use.", + "type": "string", + "format": "int64" + }, + "assuredCount": { + "description": "[Output Only] Indicates how many instances are actually usable currently.", + "type": "string", + "format": "int64" + }, + "sourceInstanceTemplate": { + "description": "Specifies the instance template to create the reservation. If you use this field, you must exclude the instanceProperties field. This field is optional, and it can be a full or partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project /global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate ", + "type": "string" } - }, - "id": "HttpRetryPolicy" + } }, - "HttpQueryParameterMatch": { + "AllocationSpecificSKUAllocationReservedInstanceProperties": { + "id": "AllocationSpecificSKUAllocationReservedInstanceProperties", + "description": "Properties of the SKU instances being reserved. Next ID: 9", + "type": "object", "properties": { - "regexMatch": { - "type": "string", - "description": "The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED. " + "machineType": { + "description": "Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.", + "type": "string" }, - "name": { - "description": "The name of the query parameter to match. The query parameter must exist in the request, in the absence of which the request match fails.", + "guestAccelerators": { + "description": "Specifies accelerator type and count.", + "type": "array", + "items": { + "$ref": "AcceleratorConfig" + } + }, + "minCpuPlatform": { + "description": "Minimum cpu platform the reservation.", "type": "string" }, - "exactMatch": { + "localSsds": { + "description": "Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.", + "type": "array", + "items": { + "$ref": "AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk" + } + }, + "locationHint": { + "description": "An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API.", + "type": "string" + } + } + }, + "AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk": { + "id": "AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk", + "type": "object", + "properties": { + "diskSizeGb": { + "description": "Specifies the size of the disk in base-2 GB.", "type": "string", - "description": "The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch. Only one of presentMatch, exactMatch, or regexMatch must be set. " + "format": "int64" }, - "presentMatch": { - "type": "boolean", - "description": "Specifies that the queryParameterMatch matches if the request contains the query parameter, irrespective of whether the parameter has a value or not. Only one of presentMatch, exactMatch, or regexMatch must be set. " + "interface": { + "description": "Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.", + "type": "string", + "enumDescriptions": [ + "", + "" + ], + "enum": [ + "NVME", + "SCSI" + ] } - }, - "description": "HttpRouteRuleMatch criteria for a request's query parameter.", - "id": "HttpQueryParameterMatch", - "type": "object" + } }, - "TargetTcpProxiesScopedList": { - "id": "TargetTcpProxiesScopedList", + "AllocationAggregateReservation": { + "id": "AllocationAggregateReservation", + "description": "This reservation type is specified by total resource amounts (e.g. total count of CPUs) and can account for multiple instance SKUs. In other words, one can create instances of varying shapes against this reservation.", "type": "object", "properties": { - "warning": { - "properties": { - "data": { - "items": { - "type": "object", - "properties": { - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - }, - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - } - } - }, - "type": "array", - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } " - }, - "code": { - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "type": "string", - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ] - }, - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - } - }, - "description": "Informational warning which replaces the list of backend services when the list is empty.", - "type": "object" + "vmFamily": { + "description": "The VM family that all instances scheduled against this reservation must belong to.", + "type": "string", + "enumDescriptions": [ + "", + "", + "" + ], + "enum": [ + "VM_FAMILY_CLOUD_TPU_LITE_DEVICE_CT5L", + "VM_FAMILY_CLOUD_TPU_LITE_POD_SLICE_CT5LP", + "VM_FAMILY_CLOUD_TPU_POD_SLICE_CT4P" + ] }, - "targetTcpProxies": { + "reservedResources": { + "description": "List of reserved resources (CPUs, memory, accelerators).", "type": "array", - "description": "A list of TargetTcpProxies contained in this scope.", "items": { - "$ref": "TargetTcpProxy" + "$ref": "AllocationAggregateReservationReservedResourceInfo" + } + }, + "inUseResources": { + "description": "[Output only] List of resources currently in use.", + "type": "array", + "items": { + "$ref": "AllocationAggregateReservationReservedResourceInfo" } + }, + "workloadType": { + "description": "The workload type of the instances that will target this reservation.", + "type": "string", + "enumDescriptions": [ + "Reserved resources will be optimized for BATCH workloads, such as ML training.", + "Reserved resources will be optimized for SERVING workloads, such as ML inference.", + "" + ], + "enum": [ + "BATCH", + "SERVING", + "UNSPECIFIED" + ] } } }, - "AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk": { + "AllocationAggregateReservationReservedResourceInfo": { + "id": "AllocationAggregateReservationReservedResourceInfo", "type": "object", "properties": { - "interface": { - "enum": [ - "NVME", - "SCSI" - ], - "type": "string", - "description": "Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.", - "enumDescriptions": [ - "", - "" - ] - }, - "diskSizeGb": { - "type": "string", - "description": "Specifies the size of the disk in base-2 GB.", - "format": "int64" + "accelerator": { + "description": "Properties of accelerator resources in this reservation.", + "$ref": "AllocationAggregateReservationReservedResourceInfoAccelerator" } - }, - "id": "AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk" + } }, - "BackendServiceFailoverPolicy": { - "id": "BackendServiceFailoverPolicy", + "AllocationAggregateReservationReservedResourceInfoAccelerator": { + "id": "AllocationAggregateReservationReservedResourceInfoAccelerator", "type": "object", "properties": { - "dropTrafficIfUnhealthy": { - "type": "boolean", - "description": "If set to true, connections to the load balancer are dropped when all primary and all backup backend VMs are unhealthy.If set to false, connections are distributed among all primary VMs when all primary and all backup backend VMs are unhealthy. For load balancers that have configurable failover: [Internal TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/internal/failover-overview) and [external TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview). The default is false." - }, - "failoverRatio": { - "type": "number", - "description": "The value of the field must be in the range [0, 1]. If the value is 0, the load balancer performs a failover when the number of healthy primary VMs equals zero. For all other values, the load balancer performs a failover when the total number of healthy primary VMs is less than this ratio. For load balancers that have configurable failover: [Internal TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/internal/failover-overview) and [external TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview).", - "format": "float" + "acceleratorCount": { + "description": "Number of accelerators of specified type.", + "type": "integer", + "format": "int32" }, - "disableConnectionDrainOnFailover": { - "description": "This can be set to true only if the protocol is TCP. The default is false.", - "type": "boolean" + "acceleratorType": { + "description": "Full or partial URL to accelerator type. e.g. \"projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l\"", + "type": "string" } - }, - "description": "For load balancers that have configurable failover: [Internal TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/internal/failover-overview) and [external TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview). On failover or failback, this field indicates whether connection draining will be honored. Google Cloud has a fixed connection draining timeout of 10 minutes. A setting of true terminates existing TCP connections to the active pool during failover and failback, immediately draining traffic. A setting of false allows existing TCP connections to persist, even on VMs no longer in the active pool, for up to the duration of the connection draining timeout (10 minutes)." + } }, - "ResourcePolicyInstanceSchedulePolicySchedule": { - "id": "ResourcePolicyInstanceSchedulePolicySchedule", + "ShareSettings": { + "id": "ShareSettings", + "description": "The share setting for reservations and sole tenancy node groups.", + "type": "object", "properties": { - "schedule": { + "shareType": { + "description": "Type of sharing for this shared-reservation", "type": "string", - "description": "Specifies the frequency for the operation, using the unix-cron format." + "enumDescriptions": [ + "Default value.", + "Shared-reservation is open to entire Organization", + "Default value. This value is unused.", + "Shared-reservation is open to specific projects" + ], + "enum": [ + "LOCAL", + "ORGANIZATION", + "SHARE_TYPE_UNSPECIFIED", + "SPECIFIC_PROJECTS" + ] + }, + "projectMap": { + "description": "A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.", + "type": "object", + "additionalProperties": { + "$ref": "ShareSettingsProjectConfig" + } } - }, - "type": "object", - "description": "Schedule for an instance operation." + } }, - "BackendServiceReference": { - "id": "BackendServiceReference", + "ShareSettingsProjectConfig": { + "id": "ShareSettingsProjectConfig", + "description": "Config for each project in the share settings.", "type": "object", "properties": { - "backendService": { + "projectId": { + "description": "The project ID, should be same as the key of this project config in the parent map.", "type": "string" } } }, - "PacketMirroringMirroredResourceInfoInstanceInfo": { - "id": "PacketMirroringMirroredResourceInfoInstanceInfo", + "AllocationResourceStatus": { + "id": "AllocationResourceStatus", + "description": "[Output Only] Contains output only fields.", "type": "object", "properties": { - "canonicalUrl": { - "type": "string", - "description": "[Output Only] Unique identifier for the instance; defined by the server." - }, - "url": { - "type": "string", - "description": "Resource URL to the virtual machine instance which is being mirrored." + "specificSkuAllocation": { + "description": "Allocation Properties of this reservation.", + "$ref": "AllocationResourceStatusSpecificSKUAllocation" } } }, - "PacketMirroringsScopedList": { + "AllocationResourceStatusSpecificSKUAllocation": { + "id": "AllocationResourceStatusSpecificSKUAllocation", + "description": "Contains Properties set for the reservation.", + "type": "object", + "properties": { + "sourceInstanceTemplateId": { + "description": "ID of the instance template used to populate reservation properties.", + "type": "string" + } + } + }, + "ReservationAggregatedList": { + "id": "ReservationAggregatedList", + "description": "Contains a list of reservations.", + "type": "object", "properties": { + "kind": { + "description": "Type of resource.", + "default": "compute#reservationAggregatedList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of Allocation resources.", + "type": "object", + "additionalProperties": { + "description": "Name of the scope containing this set of reservations.", + "$ref": "ReservationsScopedList" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { - "data": { - "type": "array", - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "items": { - "type": "object", - "properties": { - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - }, - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - } - } - } - }, - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", @@ -9199,6 +9524,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -9217,6 +9543,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -9228,6 +9584,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -9245,205 +9602,58 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response." + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } } - }, - "description": "Informational warning which replaces the list of packetMirrorings when the list is empty.", - "type": "object" + } }, - "packetMirrorings": { + "unreachables": { + "description": "[Output Only] Unreachable resources.", "type": "array", - "items": { - "$ref": "PacketMirroring" - }, - "description": "A list of packetMirrorings contained in this scope." - } - }, - "id": "PacketMirroringsScopedList", - "type": "object" - }, - "Region": { - "type": "object", - "properties": { - "name": { - "description": "[Output Only] Name of the resource.", - "type": "string" - }, - "deprecated": { - "$ref": "DeprecationStatus", - "description": "[Output Only] The deprecation status associated with this region." - }, - "zones": { "items": { "type": "string" - }, - "type": "array", - "description": "[Output Only] A list of zones available in this region, in the form of resource URLs." - }, - "quotas": { - "items": { - "$ref": "Quota" - }, - "description": "[Output Only] Quotas assigned to this region.", - "type": "array" - }, - "id": { - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", - "type": "string", - "format": "uint64" - }, - "kind": { - "default": "compute#region", - "type": "string", - "description": "[Output Only] Type of the resource. Always compute#region for regions." - }, - "status": { - "type": "string", - "enum": [ - "DOWN", - "UP" - ], - "description": "[Output Only] Status of the region, either UP or DOWN.", - "enumDescriptions": [ - "", - "" - ] - }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for the resource." - }, - "description": { - "description": "[Output Only] Textual description of the resource.", - "type": "string" - }, - "supportsPzs": { - "type": "boolean", - "description": "[Output Only] Reserved for future use." - }, - "creationTimestamp": { - "type": "string", - "description": "[Output Only] Creation timestamp in RFC3339 text format." + } } - }, - "id": "Region", - "description": "Represents a Region resource. A region is a geographical area where a resource is located. For more information, read Regions and Zones." + } }, - "BackendServiceGroupHealth": { + "ReservationsScopedList": { + "id": "ReservationsScopedList", "type": "object", - "id": "BackendServiceGroupHealth", "properties": { - "kind": { - "default": "compute#backendServiceGroupHealth", - "description": "[Output Only] Type of resource. Always compute#backendServiceGroupHealth for the health of backend services.", - "type": "string" - }, - "annotations": { - "additionalProperties": { - "type": "string" - }, - "type": "object", - "description": "Metadata defined as annotations on the network endpoint group." - }, - "healthStatus": { + "reservations": { + "description": "A list of reservations contained in this scope.", "type": "array", - "description": "Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.", "items": { - "$ref": "HealthStatus" + "$ref": "Reservation" } - } - } - }, - "Backend": { - "properties": { - "failover": { - "description": "This field designates whether this is a failover backend. More than one failover backend can be configured for a given BackendService.", - "type": "boolean" - }, - "maxRate": { - "description": "Defines a maximum number of HTTP requests per second (RPS). For usage guidelines, see Rate balancing mode and Utilization balancing mode. Not available if the backend's balancingMode is CONNECTION.", - "type": "integer", - "format": "int32" - }, - "maxRatePerInstance": { - "description": "Defines a maximum target for requests per second (RPS). For usage guidelines, see Rate balancing mode and Utilization balancing mode. Not available if the backend's balancingMode is CONNECTION.", - "type": "number", - "format": "float" - }, - "capacityScaler": { - "type": "number", - "description": "A multiplier applied to the backend's target capacity of its balancing mode. The default value is 1, which means the group serves up to 100% of its configured capacity (depending on balancingMode). A setting of 0 means the group is completely drained, offering 0% of its available capacity. The valid ranges are 0.0 and [0.1,1.0]. You cannot configure a setting larger than 0 and smaller than 0.1. You cannot configure a setting of 0 when there is only one backend attached to the backend service. Not available with backends that don't support using a balancingMode. This includes backends such as global internet NEGs, regional serverless NEGs, and PSC NEGs.", - "format": "float" - }, - "maxConnections": { - "format": "int32", - "description": "Defines a target maximum number of simultaneous connections. For usage guidelines, see Connection balancing mode and Utilization balancing mode. Not available if the backend's balancingMode is RATE.", - "type": "integer" - }, - "group": { - "type": "string", - "description": "The fully-qualified URL of an instance group or network endpoint group (NEG) resource. To determine what types of backends a load balancer supports, see the [Backend services overview](https://cloud.google.com/load-balancing/docs/backend-service#backends). You must use the *fully-qualified* URL (starting with https://www.googleapis.com/) to specify the instance group or NEG. Partial URLs are not supported." - }, - "maxRatePerEndpoint": { - "format": "float", - "description": "Defines a maximum target for requests per second (RPS). For usage guidelines, see Rate balancing mode and Utilization balancing mode. Not available if the backend's balancingMode is CONNECTION.", - "type": "number" - }, - "balancingMode": { - "description": "Specifies how to determine whether the backend of a load balancer can handle additional traffic or is fully loaded. For usage guidelines, see Connection balancing mode. Backends must use compatible balancing modes. For more information, see Supported balancing modes and target capacity settings and Restrictions and guidance for instance groups. Note: Currently, if you use the API to configure incompatible balancing modes, the configuration might be accepted even though it has no impact and is ignored. Specifically, Backend.maxUtilization is ignored when Backend.balancingMode is RATE. In the future, this incompatible combination will be rejected.", - "enum": [ - "CONNECTION", - "RATE", - "UTILIZATION" - ], - "type": "string", - "enumDescriptions": [ - "Balance based on the number of simultaneous connections.", - "Balance based on requests per second (RPS).", - "Balance based on the backend utilization." - ] - }, - "description": { - "type": "string", - "description": "An optional description of this resource. Provide this property when you create the resource." - }, - "maxConnectionsPerInstance": { - "format": "int32", - "type": "integer", - "description": "Defines a target maximum number of simultaneous connections. For usage guidelines, see Connection balancing mode and Utilization balancing mode. Not available if the backend's balancingMode is RATE." - }, - "maxConnectionsPerEndpoint": { - "description": "Defines a target maximum number of simultaneous connections. For usage guidelines, see Connection balancing mode and Utilization balancing mode. Not available if the backend's balancingMode is RATE.", - "format": "int32", - "type": "integer" }, - "maxUtilization": { - "type": "number", - "format": "float", - "description": "Optional parameter to define a target capacity for the UTILIZATION balancing mode. The valid range is [0.0, 1.0]. For usage guidelines, see Utilization balancing mode." - } - }, - "type": "object", - "id": "Backend", - "description": "Message containing information of one individual backend." - }, - "VpnGatewaysGetStatusResponse": { - "id": "VpnGatewaysGetStatusResponse", - "properties": { - "result": { - "$ref": "VpnGatewayStatus" - } - }, - "type": "object" - }, - "InstancesScopedList": { - "id": "InstancesScopedList", - "properties": { "warning": { - "description": "[Output Only] Informational warning which replaces the list of instances when the list is empty.", + "description": "Informational warning which replaces the list of reservations when the list is empty.", + "type": "object", "properties": { "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -9455,6 +9665,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -9473,8 +9684,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "type": "string", - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -9486,6 +9725,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -9510,333 +9750,373 @@ "type": "string" }, "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", "items": { "type": "object", "properties": { "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" }, "value": { "description": "[Output Only] A warning data value corresponding to the key.", "type": "string" } } - }, - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "type": "array" + } } - }, - "type": "object" - }, - "instances": { - "items": { - "$ref": "Instance" - }, - "type": "array", - "description": "[Output Only] A list of instances contained in this scope." + } } - }, - "type": "object" + } }, - "Instance": { - "id": "Instance", + "ReservationsResizeRequest": { + "id": "ReservationsResizeRequest", + "type": "object", "properties": { - "id": { - "format": "uint64", + "specificSkuCount": { + "description": "Number of allocated resources can be resized with minimum = 1 and maximum = 1000.", "type": "string", - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server." - }, - "machineType": { - "annotations": { - "required": [ - "compute.instances.insert" - ] - }, - "description": "Full or partial URL of the machine type resource to use for this instance, in the format: zones/zone/machineTypes/machine-type. This is provided by the client when the instance is created. For example, the following is a valid partial url to a predefined machine type: zones/us-central1-f/machineTypes/n1-standard-1 To create a custom machine type, provide a URL to a machine type in the following format, where CPUS is 1 or an even number up to 32 (2, 4, 6, ... 24, etc), and MEMORY is the total memory for this instance. Memory must be a multiple of 256 MB and must be supplied in MB (e.g. 5 GB of memory is 5120 MB): zones/zone/machineTypes/custom-CPUS-MEMORY For example: zones/us-central1-f/machineTypes/custom-4-5120 For a full list of restrictions, read the Specifications for custom machine types.", + "format": "int64" + } + } + }, + "InstanceGroupList": { + "id": "InstanceGroupList", + "description": "A list of InstanceGroup resources.", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] The resource type, which is always compute#instanceGroupList for instance group lists.", + "default": "compute#instanceGroupList", "type": "string" }, - "networkPerformanceConfig": { - "$ref": "NetworkPerformanceConfig" + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" }, - "serviceAccounts": { + "items": { + "description": "A list of InstanceGroup resources.", + "type": "array", "items": { - "$ref": "ServiceAccount" - }, - "description": "A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported. Service accounts generate access tokens that can be accessed through the metadata server and used to authenticate applications on the instance. See Service Accounts for more information.", - "type": "array" - }, - "params": { - "$ref": "InstanceParams", - "description": "Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload." - }, - "shieldedInstanceConfig": { - "$ref": "ShieldedInstanceConfig" + "$ref": "InstanceGroup" + } }, - "displayDevice": { - "$ref": "DisplayDevice", - "description": "Enables display device for the instance." + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" }, - "labelFingerprint": { - "type": "string", - "description": "A fingerprint for this request, which is essentially a hash of the label's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make get() request to the instance.", - "format": "byte" + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" }, - "status": { - "description": "[Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.", - "enumDescriptions": [ - "The Nanny is halted and we are performing tear down tasks like network deprogramming, releasing quota, IP, tearing down disks etc.", - "Resources are being allocated for the instance.", - "The instance is in repair.", - "The instance is running.", - "All required resources have been allocated and the instance is being started.", - "The instance has stopped successfully.", - "The instance is currently stopping (either being deleted or killed).", - "The instance has suspended.", - "The instance is suspending.", - "The instance has stopped (either by explicit action or underlying failure)." - ], - "type": "string", - "enum": [ - "DEPROVISIONING", - "PROVISIONING", - "REPAIRING", - "RUNNING", - "STAGING", - "STOPPED", - "STOPPING", - "SUSPENDED", - "SUSPENDING", - "TERMINATED" - ] - }, - "tags": { - "description": "Tags to apply to this instance. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during instance creation. The tags can be later modified by the setTags method. Each tag within the list must comply with RFC1035. Multiple tags can be specified via the 'tags.items' field.", - "$ref": "Tags" - }, - "confidentialInstanceConfig": { - "$ref": "ConfidentialInstanceConfig" - }, - "statusMessage": { - "type": "string", - "description": "[Output Only] An optional, human-readable explanation of the status." - }, - "lastStopTimestamp": { - "description": "[Output Only] Last stop timestamp in RFC3339 text format.", + "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + } + } + }, + "InstanceGroup": { + "id": "InstanceGroup", + "description": "Represents an Instance Group resource. Instance Groups can be used to configure a target for load balancing. Instance groups can either be managed or unmanaged. To create managed instance groups, use the instanceGroupManager or regionInstanceGroupManager resource instead. Use zonal unmanaged instance groups if you need to apply load balancing to groups of heterogeneous instances or if you need to manage the instances yourself. You cannot create regional unmanaged instance groups. For more information, read Instance groups.", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] The resource type, which is always compute#instanceGroup for instance groups.", + "default": "compute#instanceGroup", "type": "string" }, - "description": { - "type": "string", - "description": "An optional description of this resource. Provide this property when you create the resource." - }, - "startRestricted": { - "description": "[Output Only] Whether a VM has been restricted for start because Compute Engine has detected suspicious activity.", - "type": "boolean" - }, - "advancedMachineFeatures": { - "description": "Controls for advanced machine-related behavior features.", - "$ref": "AdvancedMachineFeatures" - }, - "zone": { + "id": { + "description": "[Output Only] A unique identifier for this instance group, generated by the server.", "type": "string", - "description": "[Output Only] URL of the zone where the instance resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body." + "format": "uint64" }, "creationTimestamp": { - "type": "string", - "description": "[Output Only] Creation timestamp in RFC3339 text format." - }, - "minCpuPlatform": { - "type": "string", - "description": "Specifies a minimum CPU platform for the VM instance. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: \"Intel Haswell\" or minCpuPlatform: \"Intel Sandy Bridge\"." - }, - "satisfiesPzs": { - "description": "[Output Only] Reserved for future use.", - "type": "boolean" - }, - "deletionProtection": { - "description": "Whether the resource should be protected against deletion.", - "type": "boolean" - }, - "disks": { - "items": { - "$ref": "AttachedDisk" - }, - "description": "Array of disks associated with this instance. Persistent disks must be created before you can assign them.", - "type": "array" - }, - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", + "description": "[Output Only] The creation timestamp for this instance group in RFC3339 text format.", "type": "string" }, - "fingerprint": { - "format": "byte", - "type": "string", - "description": "Specifies a fingerprint for this resource, which is essentially a hash of the instance's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update the instance. You must always provide an up-to-date fingerprint hash in order to update the instance. To see the latest fingerprint, make get() request to the instance." - }, - "guestAccelerators": { - "description": "A list of the type and count of accelerator cards attached to the instance.", - "type": "array", - "items": { - "$ref": "AcceleratorConfig" - } - }, - "lastStartTimestamp": { - "description": "[Output Only] Last start timestamp in RFC3339 text format.", + "name": { + "description": "The name of the instance group. The name must be 1-63 characters long, and comply with RFC1035.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "annotations": { + "required": [ + "compute.instanceGroups.insert" + ] + }, "type": "string" }, - "resourcePolicies": { - "description": "Resource policies applied to this instance.", - "type": "array", - "items": { - "type": "string" - } - }, - "reservationAffinity": { - "description": "Specifies the reservations that this instance can consume from.", - "$ref": "ReservationAffinity" - }, - "metadata": { - "description": "The metadata key/value pairs assigned to this instance. This includes custom metadata and predefined keys.", - "$ref": "Metadata" - }, - "cpuPlatform": { - "description": "[Output Only] The CPU platform used by this instance.", + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource.", "type": "string" }, - "shieldedInstanceIntegrityPolicy": { - "$ref": "ShieldedInstanceIntegrityPolicy" - }, - "networkInterfaces": { + "namedPorts": { + "description": " Assigns a name to a port number. For example: {name: \"http\", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: \"app1\", port: 8080}, {name: \"app1\", port: 8081}, {name: \"app2\", port: 8082}] Named ports apply to all instances in this instance group. ", "type": "array", - "description": "An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance.", "items": { - "$ref": "NetworkInterface" + "$ref": "NamedPort" } }, - "labels": { - "description": "Labels to apply to this instance. These can be later modified by the setLabels method.", - "additionalProperties": { - "type": "string" - }, - "type": "object" - }, - "keyRevocationActionType": { - "description": "KeyRevocationActionType of the instance. Supported options are \"STOP\" and \"NONE\". The default value is \"NONE\" if it is not specified.", - "enum": [ - "KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED", - "NONE", - "STOP" - ], - "enumDescriptions": [ - "Default value. This value is unused.", - "Indicates user chose no operation.", - "Indicates user chose to opt for VM shutdown on key revocation." - ], + "network": { + "description": "[Output Only] The URL of the network to which all instances in the instance group belong. If your instance has multiple network interfaces, then the network and subnetwork fields only refer to the network and subnet used by your primary interface (nic0).", "type": "string" }, - "scheduling": { - "$ref": "Scheduling", - "description": "Sets the scheduling options for this instance." - }, - "hostname": { + "fingerprint": { + "description": "[Output Only] The fingerprint of the named ports. The system uses this fingerprint to detect conflicts when multiple users change the named ports concurrently.", "type": "string", - "description": "Specifies the hostname of the instance. The specified hostname must be RFC1035 compliant. If hostname is not specified, the default hostname is [INSTANCE_NAME].c.[PROJECT_ID].internal when using the global DNS, and [INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal when using zonal DNS." - }, - "sourceMachineImageEncryptionKey": { - "$ref": "CustomerEncryptionKey", - "description": "Source machine image encryption key when creating an instance from a machine image." - }, - "resourceStatus": { - "$ref": "ResourceStatus", - "description": "[Output Only] Specifies values set for instance attributes as compared to the values requested by user in the corresponding input only field." + "format": "byte" }, - "name": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "annotations": { - "required": [ - "compute.instances.insert" - ] - }, - "description": "The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "zone": { + "description": "[Output Only] The URL of the zone where the instance group is located (for zonal resources).", "type": "string" }, - "sourceMachineImage": { - "description": "Source machine image", + "selfLink": { + "description": "[Output Only] The URL for this instance group. The server generates this URL.", "type": "string" }, - "lastSuspendedTimestamp": { - "type": "string", - "description": "[Output Only] Last suspended timestamp in RFC3339 text format." - }, - "canIpForward": { - "description": "Allows this instance to send and receive packets with non-matching destination or source IPs. This is required if you plan to use this instance to forward routes. For more information, see Enabling IP Forwarding .", - "type": "boolean" - }, - "kind": { - "type": "string", - "default": "compute#instance", - "description": "[Output Only] Type of the resource. Always compute#instance for instances." - }, - "privateIpv6GoogleAccess": { - "enumDescriptions": [ - "Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.", - "Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before.", - "Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork." - ], - "description": "The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.", - "type": "string", - "enum": [ - "ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE", - "ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE", - "INHERIT_FROM_SUBNETWORK" - ] - } - }, - "type": "object", - "description": "Represents an Instance resource. An instance is a virtual machine that is hosted on Google Cloud Platform. For more information, read Virtual Machine Instances." - }, - "VpnGatewayStatusTunnel": { - "type": "object", - "id": "VpnGatewayStatusTunnel", - "description": "Contains some information about a VPN tunnel.", - "properties": { - "peerGatewayInterface": { + "size": { + "description": "[Output Only] The total number of instances in the instance group.", "type": "integer", - "format": "uint32", - "description": "The peer gateway interface this VPN tunnel is connected to, the peer gateway could either be an external VPN gateway or GCP VPN gateway." + "format": "int32" }, - "localGatewayInterface": { - "description": "The VPN gateway interface this VPN tunnel is associated with.", - "type": "integer", - "format": "uint32" + "region": { + "description": "[Output Only] The URL of the region where the instance group is located (for regional resources).", + "type": "string" }, - "tunnelUrl": { - "description": "URL reference to the VPN tunnel.", + "subnetwork": { + "description": "[Output Only] The URL of the subnetwork to which all instances in the instance group belong. If your instance has multiple network interfaces, then the network and subnetwork fields only refer to the network and subnet used by your primary interface (nic0).", "type": "string" } } }, - "TestPermissionsResponse": { + "NamedPort": { + "id": "NamedPort", + "description": "The named port. For example: \u003c\"http\", 80\u003e.", "type": "object", - "id": "TestPermissionsResponse", "properties": { - "permissions": { - "items": { - "type": "string" - }, - "type": "array", - "description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed." + "name": { + "description": "The name for this named port. The name must be 1-63 characters long, and comply with RFC1035.", + "type": "string" + }, + "port": { + "description": "The port number, which can be a value between 1 and 65535.", + "type": "integer", + "format": "int32" } } }, - "AddressList": { + "InstanceGroupAggregatedList": { + "id": "InstanceGroupAggregatedList", "type": "object", - "id": "AddressList", "properties": { + "kind": { + "description": "[Output Only] The resource type, which is always compute#instanceGroupAggregatedList for aggregated lists of instance groups.", + "default": "compute#instanceGroupAggregatedList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of InstanceGroupsScopedList resources.", + "type": "object", + "additionalProperties": { + "description": "The name of the scope that contains this set of instance groups.", + "$ref": "InstanceGroupsScopedList" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, "warning": { + "description": "[Output Only] Informational warning message.", "type": "object", "properties": { "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -9848,6 +10128,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -9865,7 +10146,56 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + }, + "unreachables": { + "description": "[Output Only] Unreachable resources.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "InstanceGroupsScopedList": { + "id": "InstanceGroupsScopedList", + "type": "object", + "properties": { + "instanceGroups": { + "description": "[Output Only] The list of instance groups that are contained in this scope.", + "type": "array", + "items": { + "$ref": "InstanceGroup" + } + }, + "warning": { + "description": "[Output Only] An informational warning that replaces the list of instance groups when the list is empty.", + "type": "object", + "properties": { + "code": { "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", "type": "string", "enumDescriptions": [ @@ -9879,6 +10209,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -9896,1154 +10227,1486 @@ "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", "When undeclared properties in the schema are present", "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" ] }, "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" }, "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", "type": "array", "items": { + "type": "object", "properties": { - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - }, "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" } - }, - "type": "object" - }, - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } " + } + } } - }, - "description": "[Output Only] Informational warning message." - }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." - }, - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", - "type": "string" - }, - "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." - }, - "items": { - "items": { - "$ref": "Address" - }, + } + } + } + }, + "InstanceGroupsAddInstancesRequest": { + "id": "InstanceGroupsAddInstancesRequest", + "type": "object", + "properties": { + "instances": { + "description": "The list of instances to add to the instance group.", "type": "array", - "description": "A list of Address resources." - }, - "kind": { - "description": "[Output Only] Type of resource. Always compute#addressList for lists of addresses.", - "default": "compute#addressList", - "type": "string" + "items": { + "$ref": "InstanceReference" + } } - }, - "description": "Contains a list of addresses." + } }, - "DeprecationStatus": { - "description": "Deprecation status for a public resource.", + "InstanceReference": { + "id": "InstanceReference", + "type": "object", "properties": { - "replacement": { - "type": "string", - "description": "The URL of the suggested replacement for a deprecated resource. The suggested replacement resource must be the same kind of resource as the deprecated resource." - }, - "deprecated": { - "type": "string", - "description": "An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DEPRECATED. This is only informational and the status will not change unless the client explicitly changes it." - }, - "obsolete": { - "description": "An optional RFC3339 timestamp on or after which the state of this resource is intended to change to OBSOLETE. This is only informational and the status will not change unless the client explicitly changes it.", - "type": "string" - }, - "state": { - "type": "string", - "enum": [ - "ACTIVE", - "DELETED", - "DEPRECATED", - "OBSOLETE" - ], - "description": "The deprecation state of this resource. This can be ACTIVE, DEPRECATED, OBSOLETE, or DELETED. Operations which communicate the end of life date for an image, can use ACTIVE. Operations which create a new resource using a DEPRECATED resource will return successfully, but with a warning indicating the deprecated resource and recommending its replacement. Operations which use OBSOLETE or DELETED resources will be rejected and result in an error.", - "enumDescriptions": [ - "", - "", - "", - "" - ] - }, - "deleted": { - "type": "string", - "description": "An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DELETED. This is only informational and the status will not change unless the client explicitly changes it." - } - }, - "id": "DeprecationStatus", - "type": "object" - }, - "ConsistentHashLoadBalancerSettings": { - "description": "This message defines settings for a consistent hash style load balancer.", - "type": "object", - "id": "ConsistentHashLoadBalancerSettings", - "properties": { - "httpCookie": { - "description": "Hash is based on HTTP Cookie. This field describes a HTTP cookie that will be used as the hash key for the consistent hash load balancer. If the cookie is not present, it will be generated. This field is applicable if the sessionAffinity is set to HTTP_COOKIE. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.", - "$ref": "ConsistentHashLoadBalancerSettingsHttpCookie" - }, - "httpHeaderName": { - "description": "The hash based on the value of the specified header field. This field is applicable if the sessionAffinity is set to HEADER_FIELD.", + "instance": { + "description": "The URL for a specific instance. @required compute.instancegroups.addInstances/removeInstances", "type": "string" - }, - "minimumRingSize": { - "format": "int64", - "type": "string", - "description": "The minimum number of virtual nodes to use for the hash ring. Defaults to 1024. Larger ring sizes result in more granular load distributions. If the number of hosts in the load balancing pool is larger than the ring size, each host will be assigned a single virtual node." } } }, - "VmEndpointNatMappingsInterfaceNatMappings": { - "properties": { - "natIpPortRanges": { - "description": "A list of all IP:port-range mappings assigned to this interface. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: [\"2.2.2.2:12345-12355\", \"1.1.1.1:2234-2234\"].", - "items": { - "type": "string" - }, - "type": "array" - }, - "numTotalNatPorts": { - "description": "Total number of ports across all NAT IPs allocated to this interface. It equals to the aggregated port number in the field nat_ip_port_ranges.", - "format": "int32", - "type": "integer" - }, - "sourceVirtualIp": { - "description": "Primary IP of the VM for this NIC.", - "type": "string" - }, - "numTotalDrainNatPorts": { - "type": "integer", - "description": "Total number of drain ports across all NAT IPs allocated to this interface. It equals to the aggregated port number in the field drain_nat_ip_port_ranges.", - "format": "int32" - }, - "drainNatIpPortRanges": { - "description": "List of all drain IP:port-range mappings assigned to this interface. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: [\"2.2.2.2:12345-12355\", \"1.1.1.1:2234-2234\"].", - "items": { - "type": "string" - }, - "type": "array" - }, - "ruleMappings": { - "type": "array", - "items": { - "$ref": "VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings" - }, - "description": "Information about mappings provided by rules in this NAT." - }, - "sourceAliasIpRange": { - "type": "string", - "description": "Alias IP range for this interface endpoint. It will be a private (RFC 1918) IP range. Examples: \"10.33.4.55/32\", or \"192.168.5.0/24\"." - } - }, - "type": "object", - "id": "VmEndpointNatMappingsInterfaceNatMappings", - "description": "Contain information of Nat mapping for an interface of this endpoint." - }, - "ForwardingRuleReference": { - "id": "ForwardingRuleReference", - "properties": { - "forwardingRule": { - "type": "string" - } - }, - "type": "object" - }, - "UrlMapsValidateRequest": { + "InstanceGroupsRemoveInstancesRequest": { + "id": "InstanceGroupsRemoveInstancesRequest", "type": "object", "properties": { - "loadBalancingSchemes": { + "instances": { + "description": "The list of instances to remove from the instance group.", "type": "array", "items": { - "enum": [ - "EXTERNAL", - "EXTERNAL_MANAGED", - "LOAD_BALANCING_SCHEME_UNSPECIFIED" - ], - "enumDescriptions": [ - "Signifies that this will be used for Classic L7 External Load Balancing.", - "Signifies that this will be used for Envoy-based L7 External Load Balancing.", - "If unspecified, the validation will try to infer the scheme from the backend service resources this Url map references. If the inferrence is not possible, EXTERNAL will be used as the default type." - ], - "type": "string" - }, - "description": "Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for HTTP/HTTPS External Global Load Balancer with Advanced Traffic Management. Use EXTERNAL for Classic HTTP/HTTPS External Global Load Balancer. Other load balancer types are not supported. For more information, refer to Choosing a load balancer. If unspecified, the load balancing scheme will be inferred from the backend service resources this URL map references. If that can not be inferred (for example, this URL map only references backend buckets, or this Url map is for rewrites and redirects only and doesn't reference any backends), EXTERNAL will be used as the default type. If specified, the scheme(s) must not conflict with the load balancing scheme of the backend service resources this Url map references." - }, - "resource": { - "$ref": "UrlMap", - "description": "Content of the UrlMap to be validated." + "$ref": "InstanceReference" + } } - }, - "id": "UrlMapsValidateRequest" + } }, - "Interconnect": { - "description": "Represents an Interconnect resource. An Interconnect resource is a dedicated connection between the GCP network and your on-premises network. For more information, read the Dedicated Interconnect Overview.", + "InstanceGroupsListInstancesRequest": { + "id": "InstanceGroupsListInstancesRequest", + "type": "object", "properties": { - "interconnectType": { - "description": "Type of interconnect, which can take one of the following values: - PARTNER: A partner-managed interconnection shared between customers though a partner. - DEDICATED: A dedicated physical interconnection with the customer. Note that a value IT_PRIVATE has been deprecated in favor of DEDICATED.", + "instanceState": { + "description": "A filter for the state of the instances in the instance group. Valid options are ALL or RUNNING. If you do not specify this parameter the list includes all instances regardless of their state.", "type": "string", - "enum": [ - "DEDICATED", - "IT_PRIVATE", - "PARTNER" - ], "enumDescriptions": [ - "A dedicated physical interconnection with the customer.", - "[Deprecated] A private, physical interconnection with the customer.", - "A partner-managed interconnection shared between customers via partner." + "Includes all instances in the generated list regardless of their state.", + "Includes instances in the generated list only if they have a RUNNING state." + ], + "enum": [ + "ALL", + "RUNNING" ] - }, - "circuitInfos": { - "type": "array", - "items": { - "$ref": "InterconnectCircuitInfo" - }, - "description": "[Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG." - }, - "selfLink": { - "description": "[Output Only] Server-defined URL for the resource.", + } + } + }, + "InstanceGroupsListInstances": { + "id": "InstanceGroupsListInstances", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] The resource type, which is always compute#instanceGroupsListInstances for the list of instances in the specified instance group.", + "default": "compute#instanceGroupsListInstances", "type": "string" }, - "adminEnabled": { - "type": "boolean", - "description": "Administrative status of the interconnect. When this is set to true, the Interconnect is functional and can carry traffic. When set to false, no packets can be carried over the interconnect and no BGP routes are exchanged over it. By default, the status is set to true." - }, - "peerIpAddress": { - "description": "[Output Only] IP address configured on the customer side of the Interconnect link. The customer should configure this IP address during turnup when prompted by Google NOC. This can be used only for ping tests.", + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", "type": "string" }, - "interconnectAttachments": { + "items": { + "description": "A list of InstanceWithNamedPorts resources.", "type": "array", "items": { - "type": "string" - }, - "description": "[Output Only] A list of the URLs of all InterconnectAttachments configured to use this Interconnect." - }, - "kind": { - "default": "compute#interconnect", - "type": "string", - "description": "[Output Only] Type of the resource. Always compute#interconnect for interconnects." - }, - "nocContactEmail": { - "type": "string", - "description": "Email address to contact the customer NOC for operations and maintenance notifications regarding this Interconnect. If specified, this will be used for notifications in addition to all other forms described, such as Cloud Monitoring logs alerting and Cloud Notifications. This field is required for users who sign up for Cloud Interconnect using workforce identity federation." - }, - "expectedOutages": { - "items": { - "$ref": "InterconnectOutageNotification" - }, - "description": "[Output Only] A list of outages expected for this Interconnect.", - "type": "array" - }, - "customerName": { - "type": "string", - "description": "Customer name, to put in the Letter of Authorization as the party authorized to request a crossconnect." - }, - "satisfiesPzs": { - "type": "boolean", - "description": "[Output Only] Set to true if the resource satisfies the zone separation organization policy constraints and false otherwise. Defaults to false if the field is not present." + "$ref": "InstanceWithNamedPorts" + } }, - "id": { - "format": "uint64", - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", "type": "string" }, - "description": { - "type": "string", - "description": "An optional description of this resource. Provide this property when you create the resource." - }, - "location": { - "description": "URL of the InterconnectLocation object that represents where this connection is to be provisioned.", + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", "type": "string" }, - "linkType": { - "enumDescriptions": [ - "100G Ethernet, LR Optics.", - "10G Ethernet, LR Optics. [(rate_bps) = 10000000000];" - ], - "type": "string", - "enum": [ - "LINK_TYPE_ETHERNET_100G_LR", - "LINK_TYPE_ETHERNET_10G_LR" - ], - "description": "Type of link requested, which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics. Note that this field indicates the speed of each of the links in the bundle, not the speed of the entire bundle." - }, - "requestedLinkCount": { - "type": "integer", - "format": "int32", - "description": "Target number of physical links in the link bundle, as requested by the customer." - }, - "provisionedLinkCount": { - "format": "int32", - "description": "[Output Only] Number of links actually provisioned in this interconnect.", - "type": "integer" - }, - "operationalStatus": { - "type": "string", - "description": "[Output Only] The current status of this Interconnect's functionality, which can take one of the following values: - OS_ACTIVE: A valid Interconnect, which is turned up and is ready to use. Attachments may be provisioned on this Interconnect. - OS_UNPROVISIONED: An Interconnect that has not completed turnup. No attachments may be provisioned on this Interconnect. - OS_UNDER_MAINTENANCE: An Interconnect that is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect. ", - "enum": [ - "OS_ACTIVE", - "OS_UNPROVISIONED" - ], - "enumDescriptions": [ - "The interconnect is valid, turned up, and ready to use. Attachments may be provisioned on this interconnect.", - "The interconnect has not completed turnup. No attachments may be provisioned on this interconnect." - ] - }, - "googleReferenceId": { - "description": "[Output Only] Google reference ID to be used when raising support tickets with Google or otherwise to debug backend connectivity issues.", + "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + } + } + }, + "InstanceWithNamedPorts": { + "id": "InstanceWithNamedPorts", + "type": "object", + "properties": { + "instance": { + "description": "[Output Only] The URL of the instance.", "type": "string" }, - "creationTimestamp": { + "status": { + "description": "[Output Only] The status of the instance.", "type": "string", - "description": "[Output Only] Creation timestamp in RFC3339 text format." - }, - "state": { "enumDescriptions": [ - "The interconnect is valid, turned up, and ready to use. Attachments may be provisioned on this interconnect.", - "The interconnect has not completed turnup. No attachments may be provisioned on this interconnect." + "The instance is halted and we are performing tear down tasks like network deprogramming, releasing quota, IP, tearing down disks etc.", + "Resources are being allocated for the instance.", + "The instance is in repair.", + "The instance is running.", + "All required resources have been allocated and the instance is being started.", + "The instance has stopped successfully.", + "The instance is currently stopping (either being deleted or killed).", + "The instance has suspended.", + "The instance is suspending.", + "The instance has stopped (either by explicit action or underlying failure)." ], - "type": "string", "enum": [ - "ACTIVE", - "UNPROVISIONED" - ], - "description": "[Output Only] The current state of Interconnect functionality, which can take one of the following values: - ACTIVE: The Interconnect is valid, turned up and ready to use. Attachments may be provisioned on this Interconnect. - UNPROVISIONED: The Interconnect has not completed turnup. No attachments may be provisioned on this Interconnect. - UNDER_MAINTENANCE: The Interconnect is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect. " - }, - "name": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", - "annotations": { - "required": [ - "compute.interconnects.insert" - ] - }, - "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash." - }, - "googleIpAddress": { - "description": "[Output Only] IP address configured on the Google side of the Interconnect link. This can be used only for ping tests.", - "type": "string" - } - }, - "id": "Interconnect", - "type": "object" - }, - "InstanceGroupsSetNamedPortsRequest": { - "id": "InstanceGroupsSetNamedPortsRequest", - "properties": { - "fingerprint": { - "format": "byte", - "type": "string", - "description": "The fingerprint of the named ports information for this instance group. Use this optional property to prevent conflicts when multiple users change the named ports settings concurrently. Obtain the fingerprint with the instanceGroups.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request. A request with an incorrect fingerprint will fail with error 412 conditionNotMet." + "DEPROVISIONING", + "PROVISIONING", + "REPAIRING", + "RUNNING", + "STAGING", + "STOPPED", + "STOPPING", + "SUSPENDED", + "SUSPENDING", + "TERMINATED" + ] }, "namedPorts": { + "description": "[Output Only] The named ports that belong to this instance group.", "type": "array", - "description": "The list of named ports to set for this instance group.", "items": { "$ref": "NamedPort" } } - }, - "type": "object" - }, - "RegionDisksAddResourcePoliciesRequest": { - "type": "object", - "id": "RegionDisksAddResourcePoliciesRequest", - "properties": { - "resourcePolicies": { - "type": "array", - "description": "Resource policies to be added to this disk.", - "items": { - "type": "string" - } - } } }, - "InstanceGroupManagerStatusStatefulPerInstanceConfigs": { - "properties": { - "allEffective": { - "type": "boolean", - "description": "A bit indicating if all of the group's per-instance configurations (listed in the output of a listPerInstanceConfigs API call) have status EFFECTIVE or there are no per-instance-configs." - } - }, + "InstanceGroupsSetNamedPortsRequest": { + "id": "InstanceGroupsSetNamedPortsRequest", "type": "object", - "id": "InstanceGroupManagerStatusStatefulPerInstanceConfigs" - }, - "Help": { - "description": "Provides links to documentation or for performing an out of band action. For example, if a quota check failed with an error indicating the calling project hasn't enabled the accessed service, this can contain a URL pointing directly to the right place in the developer console to flip the bit.", - "id": "Help", "properties": { - "links": { + "namedPorts": { + "description": "The list of named ports to set for this instance group.", "type": "array", "items": { - "$ref": "HelpLink" - }, - "description": "URL(s) pointing to additional information on handling the current error." - } - }, - "type": "object" - }, - "RouterNatLogConfig": { - "properties": { - "enable": { - "description": "Indicates whether or not to export logs. This is false by default.", - "type": "boolean" - }, - "filter": { - "enumDescriptions": [ - "Export logs for all (successful and unsuccessful) connections.", - "Export logs for connection failures only.", - "Export logs for successful connections only." - ], - "enum": [ - "ALL", - "ERRORS_ONLY", - "TRANSLATIONS_ONLY" - ], - "description": "Specify the desired filtering of logs on this NAT. If unspecified, logs are exported for all connections handled by this NAT. This option can take one of the following values: - ERRORS_ONLY: Export logs only for connection failures. - TRANSLATIONS_ONLY: Export logs only for successful connections. - ALL: Export logs for all connections, successful and unsuccessful. ", - "type": "string" - } - }, - "type": "object", - "description": "Configuration of logging on a NAT.", - "id": "RouterNatLogConfig" - }, - "PublicDelegatedPrefixPublicDelegatedSubPrefix": { - "description": "Represents a sub PublicDelegatedPrefix.", - "properties": { - "region": { - "type": "string", - "description": "[Output Only] The region of the sub public delegated prefix if it is regional. If absent, the sub prefix is global." - }, - "isAddress": { - "type": "boolean", - "description": "Whether the sub prefix is delegated to create Address resources in the delegatee project." - }, - "ipCidrRange": { - "type": "string", - "description": "The IPv4 address range, in CIDR format, represented by this sub public delegated prefix." - }, - "delegateeProject": { - "type": "string", - "description": "Name of the project scoping this PublicDelegatedSubPrefix." - }, - "status": { - "description": "[Output Only] The status of the sub public delegated prefix.", - "enumDescriptions": [ - "", - "" - ], - "type": "string", - "enum": [ - "ACTIVE", - "INACTIVE" - ] - }, - "description": { - "type": "string", - "description": "An optional description of this resource. Provide this property when you create the resource." + "$ref": "NamedPort" + } }, - "name": { + "fingerprint": { + "description": "The fingerprint of the named ports information for this instance group. Use this optional property to prevent conflicts when multiple users change the named ports settings concurrently. Obtain the fingerprint with the instanceGroups.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request. A request with an incorrect fingerprint will fail with error 412 conditionNotMet.", "type": "string", - "description": "The name of the sub public delegated prefix." + "format": "byte" } - }, - "type": "object", - "id": "PublicDelegatedPrefixPublicDelegatedSubPrefix" + } }, - "HelpLink": { - "description": "Describes a URL link.", + "RegionInstanceGroupList": { + "id": "RegionInstanceGroupList", + "description": "Contains a list of InstanceGroup resources.", "type": "object", "properties": { - "url": { - "description": "The URL of the link.", + "kind": { + "description": "The resource type.", + "default": "compute#regionInstanceGroupList", "type": "string" }, - "description": { - "type": "string", - "description": "Describes what the link offers." - } - }, - "id": "HelpLink" - }, - "Screenshot": { - "type": "object", - "id": "Screenshot", - "properties": { - "kind": { - "description": "[Output Only] Type of the resource. Always compute#screenshot for the screenshots.", - "type": "string", - "default": "compute#screenshot" + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" }, - "contents": { - "type": "string", - "description": "[Output Only] The Base64-encoded screenshot data." - } - }, - "description": "An instance's screenshot." - }, - "NodeGroupNode": { - "properties": { - "disks": { + "items": { + "description": "A list of InstanceGroup resources.", "type": "array", - "description": "Local disk configurations.", "items": { - "$ref": "LocalDisk" + "$ref": "InstanceGroup" } }, - "cpuOvercommitType": { - "description": "CPU overcommit.", - "enumDescriptions": [ - "", - "", - "" - ], - "enum": [ - "CPU_OVERCOMMIT_TYPE_UNSPECIFIED", - "ENABLED", - "NONE" - ], + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", "type": "string" }, - "name": { - "description": "The name of the node.", + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", "type": "string" }, - "accelerators": { - "description": "Accelerators for this node.", - "items": { - "$ref": "AcceleratorConfig" - }, - "type": "array" - }, - "serverId": { - "description": "Server ID associated with this node.", - "type": "string" - }, - "consumedResources": { - "description": "Node resources that are reserved by all instances.", - "$ref": "InstanceConsumptionInfo" - }, - "instanceConsumptionData": { - "type": "array", - "items": { - "$ref": "InstanceConsumptionData" - }, - "description": "Instance data that shows consumed resources on the node." - }, - "serverBinding": { - "description": "Binding properties for the physical server.", - "$ref": "ServerBinding" - }, - "nodeType": { + "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + } + } + }, + "RegionInstanceGroupsListInstancesRequest": { + "id": "RegionInstanceGroupsListInstancesRequest", + "type": "object", + "properties": { + "instanceState": { + "description": "Instances in which state should be returned. Valid options are: 'ALL', 'RUNNING'. By default, it lists all instances.", "type": "string", - "description": "The type of this node." - }, - "totalResources": { - "description": "Total amount of available resources on the node.", - "$ref": "InstanceConsumptionInfo" - }, - "satisfiesPzs": { - "type": "boolean", - "description": "[Output Only] Reserved for future use." - }, - "status": { "enumDescriptions": [ - "", - "", - "", - "", - "" + "Matches any status of the instances, running, non-running and others.", + "Instance is in RUNNING state if it is running." ], "enum": [ - "CREATING", - "DELETING", - "INVALID", - "READY", - "REPAIRING" - ], - "type": "string" + "ALL", + "RUNNING" + ] }, - "instances": { - "description": "Instances scheduled on this node.", - "type": "array", - "items": { - "type": "string" - } + "portName": { + "description": "Name of port user is interested in. It is optional. If it is set, only information about this ports will be returned. If it is not set, all the named ports will be returned. Always lists all instances.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "type": "string" } - }, - "id": "NodeGroupNode", - "type": "object" + } }, - "RouterStatusNatStatus": { + "RegionInstanceGroupsListInstances": { + "id": "RegionInstanceGroupsListInstances", "type": "object", "properties": { - "numVmEndpointsWithNatMappings": { - "description": "Number of VM endpoints (i.e., Nics) that can use NAT.", - "format": "int32", - "type": "integer" - }, - "userAllocatedNatIps": { - "items": { - "type": "string" - }, - "type": "array", - "description": "A list of IPs user-allocated for NAT. They will be raw IP strings like \"179.12.26.133\"." + "kind": { + "description": "The resource type.", + "default": "compute#regionInstanceGroupsListInstances", + "type": "string" }, - "userAllocatedNatIpResources": { - "items": { - "type": "string" - }, - "type": "array", - "description": "A list of fully qualified URLs of reserved IP address resources." + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" }, - "ruleStatus": { - "description": "Status of rules in this NAT.", + "items": { + "description": "A list of InstanceWithNamedPorts resources.", "type": "array", "items": { - "$ref": "RouterStatusNatStatusNatRuleStatus" + "$ref": "InstanceWithNamedPorts" } }, - "name": { - "type": "string", - "description": "Unique name of this NAT." - }, - "autoAllocatedNatIps": { - "type": "array", - "description": "A list of IPs auto-allocated for NAT. Example: [\"1.1.1.1\", \"129.2.16.89\"]", - "items": { - "type": "string" - } + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" }, - "minExtraNatIpsNeeded": { - "format": "int32", - "type": "integer", - "description": "The number of extra IPs to allocate. This will be greater than 0 only if user-specified IPs are NOT enough to allow all configured VMs to use NAT. This value is meaningful only when auto-allocation of NAT IPs is *not* used." + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" }, - "drainUserAllocatedNatIps": { - "description": "A list of IPs user-allocated for NAT that are in drain mode. Example: [\"1.1.1.1\", \"179.12.26.133\"].", + "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + } + } + }, + "RegionInstanceGroupsSetNamedPortsRequest": { + "id": "RegionInstanceGroupsSetNamedPortsRequest", + "type": "object", + "properties": { + "namedPorts": { + "description": "The list of named ports to set for this instance group.", "type": "array", "items": { - "type": "string" + "$ref": "NamedPort" } }, - "drainAutoAllocatedNatIps": { - "description": "A list of IPs auto-allocated for NAT that are in drain mode. Example: [\"1.1.1.1\", \"179.12.26.133\"].", - "items": { - "type": "string" - }, - "type": "array" + "fingerprint": { + "description": "The fingerprint of the named ports information for this instance group. Use this optional property to prevent conflicts when multiple users change the named ports settings concurrently. Obtain the fingerprint with the instanceGroups.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request.", + "type": "string", + "format": "byte" } - }, - "id": "RouterStatusNatStatus", - "description": "Status of a NAT contained in this router." + } }, - "InterconnectDiagnosticsLinkStatus": { + "InstanceGroupManagerList": { + "id": "InstanceGroupManagerList", + "description": "[Output Only] A list of managed instance groups.", "type": "object", - "id": "InterconnectDiagnosticsLinkStatus", "properties": { - "circuitId": { - "description": "The unique ID for this link assigned during turn up by Google.", - "type": "string" - }, - "googleDemarc": { - "description": "The Demarc address assigned by Google and provided in the LoA.", + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", "type": "string" }, - "transmittingOpticalPower": { - "$ref": "InterconnectDiagnosticsLinkOpticalPower", - "description": "An InterconnectDiagnostics.LinkOpticalPower object, describing the current value and status of the transmitted light level." + "items": { + "description": "A list of InstanceGroupManager resources.", + "type": "array", + "items": { + "$ref": "InstanceGroupManager" + } }, - "operationalStatus": { - "type": "string", - "description": "The operational status of the link.", - "enumDescriptions": [ - "The interface is unable to communicate with the remote end.", - "The interface has low level communication with the remote end." - ], - "enum": [ - "LINK_OPERATIONAL_STATUS_DOWN", - "LINK_OPERATIONAL_STATUS_UP" - ] + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" }, - "receivingOpticalPower": { - "description": "An InterconnectDiagnostics.LinkOpticalPower object, describing the current value and status of the received light level.", - "$ref": "InterconnectDiagnosticsLinkOpticalPower" + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" }, - "arpCaches": { - "description": "A list of InterconnectDiagnostics.ARPEntry objects, describing the ARP neighbor entries seen on this link. This will be empty if the link is bundled", - "items": { - "$ref": "InterconnectDiagnosticsARPEntry" - }, - "type": "array" + "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } }, - "lacpStatus": { - "$ref": "InterconnectDiagnosticsLinkLACPStatus" + "kind": { + "description": "[Output Only] The resource type, which is always compute#instanceGroupManagerList for a list of managed instance groups.", + "default": "compute#instanceGroupManagerList", + "type": "string" } } }, - "Network": { - "description": "Represents a VPC Network resource. Networks connect resources to each other and to the internet. For more information, read Virtual Private Cloud (VPC) Network.", + "InstanceGroupManager": { + "id": "InstanceGroupManager", + "description": "Represents a Managed Instance Group resource. An instance group is a collection of VM instances that you can manage as a single entity. For more information, read Instance groups. For zonal Managed Instance Group, use the instanceGroupManagers resource. For regional Managed Instance Group, use the regionInstanceGroupManagers resource.", + "type": "object", "properties": { - "networkFirewallPolicyEnforcementOrder": { - "enum": [ - "AFTER_CLASSIC_FIREWALL", - "BEFORE_CLASSIC_FIREWALL" - ], - "description": "The network firewall policy enforcement order. Can be either AFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to AFTER_CLASSIC_FIREWALL if the field is not specified.", - "type": "string", - "enumDescriptions": [ - "", - "" - ] - }, - "autoCreateSubnetworks": { - "description": "Must be set to create a VPC network. If not set, a legacy network is created. When set to true, the VPC network is created in auto mode. When set to false, the VPC network is created in custom mode. An auto mode VPC network starts with one subnet per region. Each subnet has a predetermined range as described in Auto mode VPC network IP ranges. For custom mode VPC networks, you can add subnets using the subnetworks insert method.", - "type": "boolean" - }, - "mtu": { - "description": "Maximum Transmission Unit in bytes. The minimum value for this field is 1300 and the maximum value is 8896. The suggested value is 1500, which is the default MTU used on the Internet, or 8896 if you want to use Jumbo frames. If unspecified, the value defaults to 1460.", - "format": "int32", - "type": "integer" + "kind": { + "description": "[Output Only] The resource type, which is always compute#instanceGroupManager for managed instance groups.", + "default": "compute#instanceGroupManager", + "type": "string" }, - "firewallPolicy": { + "id": { + "description": "[Output Only] A unique identifier for this resource type. The server generates this identifier.", "type": "string", - "description": "[Output Only] URL of the firewall policy the network is associated with." + "format": "uint64" }, - "selfLink": { - "description": "[Output Only] Server-defined URL for the resource.", + "creationTimestamp": { + "description": "[Output Only] The creation timestamp for this managed instance group in RFC3339 text format.", "type": "string" }, - "gatewayIPv4": { - "description": "[Output Only] The gateway address for default routing out of the network, selected by GCP.", - "pattern": "[0-9]{1,3}(?:\\.[0-9]{1,3}){3}", + "name": { + "description": "The name of the managed instance group. The name must be 1-63 characters long, and comply with RFC1035.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "annotations": { + "required": [ + "compute.instanceGroupManagers.insert", + "compute.regionInstanceGroupManagers.insert" + ] + }, "type": "string" }, - "selfLinkWithId": { - "description": "[Output Only] Server-defined URL for this resource with the resource id.", + "description": { + "description": "An optional description of this resource.", "type": "string" }, - "subnetworks": { - "items": { - "type": "string" - }, - "description": "[Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network.", - "type": "array" - }, - "internalIpv6Range": { - "type": "string", - "description": "When enabling ula internal ipv6, caller optionally can specify the /48 range they want from the google defined ULA prefix fd20::/20. The input must be a valid /48 ULA IPv6 address and must be within the fd20::/20. Operation will fail if the speficied /48 is already in used by another resource. If the field is not speficied, then a /48 range will be randomly allocated from fd20::/20 and returned via this field. ." + "zone": { + "description": "[Output Only] The URL of a zone where the managed instance group is located (for zonal resources).", + "type": "string" }, - "description": { - "description": "An optional description of this resource. Provide this field when you create the resource.", + "region": { + "description": "[Output Only] The URL of the region where the managed instance group resides (for regional resources).", "type": "string" }, - "kind": { - "default": "compute#network", - "type": "string", - "description": "[Output Only] Type of the resource. Always compute#network for networks." + "distributionPolicy": { + "description": "Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.", + "$ref": "DistributionPolicy" }, - "id": { - "format": "uint64", - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", + "instanceTemplate": { + "description": "The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE.", "type": "string" }, - "name": { + "versions": { + "description": "Specifies the instance templates used by this managed instance group to create instances. Each version is defined by an instanceTemplate and a name. Every version can appear at most once per instance group. This field overrides the top-level instanceTemplate field. Read more about the relationships between these fields. Exactly one version must leave the targetSize field unset. That version will be applied to all remaining instances. For more information, read about canary updates.", + "type": "array", + "items": { + "$ref": "InstanceGroupManagerVersion" + } + }, + "allInstancesConfig": { + "description": "Specifies configuration that overrides the instance template configuration for the group.", + "$ref": "InstanceGroupManagerAllInstancesConfig" + }, + "instanceGroup": { + "description": "[Output Only] The URL of the Instance Group resource.", + "type": "string" + }, + "targetPools": { + "description": "The URLs for all TargetPool resources to which instances in the instanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.", + "type": "array", + "items": { + "type": "string" + } + }, + "baseInstanceName": { + "description": "The base instance name to use for instances in this group. The value must be 1-58 characters long. Instances are named by appending a hyphen and a random four-character string to the base instance name. The base instance name must comply with RFC1035.", + "pattern": "[a-z][-a-z0-9]{0,57}", + "type": "string" + }, + "fingerprint": { + "description": "Fingerprint of this resource. This field may be used in optimistic locking. It will be ignored when inserting an InstanceGroupManager. An up-to-date fingerprint must be provided in order to update the InstanceGroupManager, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an InstanceGroupManager.", "type": "string", - "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "format": "byte" + }, + "currentActions": { + "description": "[Output Only] The list of instance actions and the number of instances in this managed instance group that are scheduled for each of those actions.", + "$ref": "InstanceGroupManagerActionsSummary" + }, + "status": { + "description": "[Output Only] The status of this managed instance group.", + "$ref": "InstanceGroupManagerStatus" + }, + "targetSize": { + "description": "The target number of running instances for this managed instance group. You can reduce this number by using the instanceGroupManager deleteInstances or abandonInstances methods. Resizing the group also changes this number.", "annotations": { "required": [ - "compute.networks.insert" + "compute.instanceGroupManagers.insert", + "compute.regionInstanceGroupManagers.insert" ] - } + }, + "type": "integer", + "format": "int32" }, - "peerings": { + "listManagedInstancesResults": { + "description": "Pagination behavior of the listManagedInstances API method for this managed instance group.", + "type": "string", + "enumDescriptions": [ + "(Default) Pagination is disabled for the group's listManagedInstances API method. maxResults and pageToken query parameters are ignored and all instances are returned in a single response.", + "Pagination is enabled for the group's listManagedInstances API method. maxResults and pageToken query parameters are respected." + ], + "enum": [ + "PAGELESS", + "PAGINATED" + ] + }, + "selfLink": { + "description": "[Output Only] The URL for this managed instance group. The server defines this URL.", + "type": "string" + }, + "autoHealingPolicies": { + "description": "The autohealing policy for this managed instance group. You can specify only one value.", "type": "array", - "description": "[Output Only] A list of network peerings for the resource.", "items": { - "$ref": "NetworkPeering" + "$ref": "InstanceGroupManagerAutoHealingPolicy" } }, - "routingConfig": { - "description": "The network-level routing configuration for this network. Used by Cloud Router to determine what type of network-wide routing behavior to enforce.", - "$ref": "NetworkRoutingConfig" + "updatePolicy": { + "description": "The update policy for this managed instance group.", + "$ref": "InstanceGroupManagerUpdatePolicy" }, - "IPv4Range": { - "description": "Deprecated in favor of subnet mode networks. The range of internal addresses that are legal on this network. This range is a CIDR specification, for example: 192.168.0.0/16. Provided by the client when the network is created.", - "pattern": "[0-9]{1,3}(?:\\.[0-9]{1,3}){3}/[0-9]{1,2}", - "type": "string" + "namedPorts": { + "description": "Named ports configured for the Instance Groups complementary to this Instance Group Manager.", + "type": "array", + "items": { + "$ref": "NamedPort" + } }, - "creationTimestamp": { - "type": "string", - "description": "[Output Only] Creation timestamp in RFC3339 text format." + "statefulPolicy": { + "description": "Stateful configuration for this Instanced Group Manager", + "$ref": "StatefulPolicy" }, - "enableUlaInternalIpv6": { - "type": "boolean", - "description": "Enable ULA internal ipv6 on this network. Enabling this feature will assign a /48 from google defined ULA prefix fd20::/20. ." + "instanceLifecyclePolicy": { + "description": "The repair policy for this managed instance group.", + "$ref": "InstanceGroupManagerInstanceLifecyclePolicy" } - }, - "id": "Network", - "type": "object" + } }, - "InstanceGroupManagersDeletePerInstanceConfigsReq": { + "DistributionPolicy": { + "id": "DistributionPolicy", + "type": "object", "properties": { - "names": { + "zones": { + "description": "Zones where the regional managed instance group will create and manage its instances.", + "type": "array", "items": { - "type": "string" - }, - "description": "The list of instance names for which we want to delete per-instance configs on this managed instance group.", - "type": "array" + "$ref": "DistributionPolicyZoneConfiguration" + } + }, + "targetShape": { + "description": "The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType).", + "type": "string", + "enumDescriptions": [ + "The group picks zones for creating VM instances to fulfill the requested number of VMs within present resource constraints and to maximize utilization of unused zonal reservations. Recommended for batch workloads that do not require high availability.", + "The group creates all VM instances within a single zone. The zone is selected based on the present resource constraints and to maximize utilization of unused zonal reservations. Recommended for batch workloads with heavy interprocess communication.", + "The group prioritizes acquisition of resources, scheduling VMs in zones where resources are available while distributing VMs as evenly as possible across selected zones to minimize the impact of zonal failure. Recommended for highly available serving workloads.", + "The group schedules VM instance creation and deletion to achieve and maintain an even number of managed instances across the selected zones. The distribution is even when the number of managed instances does not differ by more than 1 between any two zones. Recommended for highly available serving workloads." + ], + "enum": [ + "ANY", + "ANY_SINGLE_ZONE", + "BALANCED", + "EVEN" + ] } - }, - "description": "InstanceGroupManagers.deletePerInstanceConfigs", - "type": "object", - "id": "InstanceGroupManagersDeletePerInstanceConfigsReq" + } }, - "UrlMapReference": { - "id": "UrlMapReference", + "DistributionPolicyZoneConfiguration": { + "id": "DistributionPolicyZoneConfiguration", "type": "object", "properties": { - "urlMap": { + "zone": { + "description": "The URL of the zone. The zone must exist in the region where the managed instance group is located.", + "annotations": { + "required": [ + "compute.regionInstanceGroupManagers.insert" + ] + }, "type": "string" } } }, - "AutoscalerStatusDetails": { + "InstanceGroupManagerVersion": { + "id": "InstanceGroupManagerVersion", + "type": "object", "properties": { - "message": { - "description": "The status message.", + "name": { + "description": "Name of the version. Unique among all versions in the scope of this managed instance group.", "type": "string" }, - "type": { - "description": "The type of error, warning, or notice returned. Current set of possible values: - ALL_INSTANCES_UNHEALTHY (WARNING): All instances in the instance group are unhealthy (not in RUNNING state). - BACKEND_SERVICE_DOES_NOT_EXIST (ERROR): There is no backend service attached to the instance group. - CAPPED_AT_MAX_NUM_REPLICAS (WARNING): Autoscaler recommends a size greater than maxNumReplicas. - CUSTOM_METRIC_DATA_POINTS_TOO_SPARSE (WARNING): The custom metric samples are not exported often enough to be a credible base for autoscaling. - CUSTOM_METRIC_INVALID (ERROR): The custom metric that was specified does not exist or does not have the necessary labels. - MIN_EQUALS_MAX (WARNING): The minNumReplicas is equal to maxNumReplicas. This means the autoscaler cannot add or remove instances from the instance group. - MISSING_CUSTOM_METRIC_DATA_POINTS (WARNING): The autoscaler did not receive any data from the custom metric configured for autoscaling. - MISSING_LOAD_BALANCING_DATA_POINTS (WARNING): The autoscaler is configured to scale based on a load balancing signal but the instance group has not received any requests from the load balancer. - MODE_OFF (WARNING): Autoscaling is turned off. The number of instances in the group won't change automatically. The autoscaling configuration is preserved. - MODE_ONLY_UP (WARNING): Autoscaling is in the \"Autoscale only out\" mode. The autoscaler can add instances but not remove any. - MORE_THAN_ONE_BACKEND_SERVICE (ERROR): The instance group cannot be autoscaled because it has more than one backend service attached to it. - NOT_ENOUGH_QUOTA_AVAILABLE (ERROR): There is insufficient quota for the necessary resources, such as CPU or number of instances. - REGION_RESOURCE_STOCKOUT (ERROR): Shown only for regional autoscalers: there is a resource stockout in the chosen region. - SCALING_TARGET_DOES_NOT_EXIST (ERROR): The target to be scaled does not exist. - UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFIGURATION (ERROR): Autoscaling does not work with an HTTP/S load balancer that has been configured for maxRate. - ZONE_RESOURCE_STOCKOUT (ERROR): For zonal autoscalers: there is a resource stockout in the chosen zone. For regional autoscalers: in at least one of the zones you're using there is a resource stockout. New values might be added in the future. Some of the values might not be available in all API versions.", - "type": "string", - "enum": [ - "ALL_INSTANCES_UNHEALTHY", - "BACKEND_SERVICE_DOES_NOT_EXIST", - "CAPPED_AT_MAX_NUM_REPLICAS", - "CUSTOM_METRIC_DATA_POINTS_TOO_SPARSE", - "CUSTOM_METRIC_INVALID", - "MIN_EQUALS_MAX", - "MISSING_CUSTOM_METRIC_DATA_POINTS", - "MISSING_LOAD_BALANCING_DATA_POINTS", - "MODE_OFF", - "MODE_ONLY_SCALE_OUT", - "MODE_ONLY_UP", - "MORE_THAN_ONE_BACKEND_SERVICE", - "NOT_ENOUGH_QUOTA_AVAILABLE", - "REGION_RESOURCE_STOCKOUT", - "SCALING_TARGET_DOES_NOT_EXIST", - "SCHEDULED_INSTANCES_GREATER_THAN_AUTOSCALER_MAX", - "SCHEDULED_INSTANCES_LESS_THAN_AUTOSCALER_MIN", - "UNKNOWN", - "UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFIGURATION", - "ZONE_RESOURCE_STOCKOUT" - ], - "enumDescriptions": [ - "All instances in the instance group are unhealthy (not in RUNNING state).", - "There is no backend service attached to the instance group.", - "Autoscaler recommends a size greater than maxNumReplicas.", - "The custom metric samples are not exported often enough to be a credible base for autoscaling.", - "The custom metric that was specified does not exist or does not have the necessary labels.", - "The minNumReplicas is equal to maxNumReplicas. This means the autoscaler cannot add or remove instances from the instance group.", - "The autoscaler did not receive any data from the custom metric configured for autoscaling.", - "The autoscaler is configured to scale based on a load balancing signal but the instance group has not received any requests from the load balancer.", - "Autoscaling is turned off. The number of instances in the group won't change automatically. The autoscaling configuration is preserved.", - "Autoscaling is in the \"Autoscale only scale out\" mode. Instances in the group will be only added.", - "Autoscaling is in the \"Autoscale only out\" mode. Instances in the group will be only added.", - "The instance group cannot be autoscaled because it has more than one backend service attached to it.", - "There is insufficient quota for the necessary resources, such as CPU or number of instances.", - "Showed only for regional autoscalers: there is a resource stockout in the chosen region.", - "The target to be scaled does not exist.", - "For some scaling schedules minRequiredReplicas is greater than maxNumReplicas. Autoscaler always recommends at most maxNumReplicas instances.", - "For some scaling schedules minRequiredReplicas is less than minNumReplicas. Autoscaler always recommends at least minNumReplicas instances.", - "", - "Autoscaling does not work with an HTTP/S load balancer that has been configured for maxRate.", - "For zonal autoscalers: there is a resource stockout in the chosen zone. For regional autoscalers: in at least one of the zones you're using there is a resource stockout." - ] + "instanceTemplate": { + "description": "The URL of the instance template that is specified for this managed instance group. The group uses this template to create new instances in the managed instance group until the `targetSize` for this version is reached. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE; in those cases, existing instances are updated until the `targetSize` for this version is reached.", + "type": "string" + }, + "targetSize": { + "description": "Specifies the intended number of instances to be created from the instanceTemplate. The final number of instances created from the template will be equal to: - If expressed as a fixed number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. - if expressed as a percent, the targetSize would be (targetSize.percent/100 * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded. If unset, this version will update any remaining instances not updated by another version. Read Starting a canary update for more information.", + "$ref": "FixedOrPercent" } - }, - "type": "object", - "id": "AutoscalerStatusDetails" + } }, - "SourceDiskEncryptionKey": { + "FixedOrPercent": { + "id": "FixedOrPercent", + "description": "Encapsulates numeric value that can be either absolute or relative.", + "type": "object", "properties": { - "diskEncryptionKey": { - "description": "The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.", - "$ref": "CustomerEncryptionKey" + "fixed": { + "description": "Specifies a fixed number of VM instances. This must be a positive integer.", + "type": "integer", + "format": "int32" }, - "sourceDisk": { - "type": "string", - "description": "URL of the disk attached to the source instance. This can be a full or valid partial URL. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk " + "percent": { + "description": "Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%.", + "type": "integer", + "format": "int32" + }, + "calculated": { + "description": "[Output Only] Absolute value of VM instances calculated based on the specific mode. - If the value is fixed, then the calculated value is equal to the fixed value. - If the value is a percent, then the calculated value is percent/100 * targetSize. For example, the calculated value of a 80% of a managed instance group with 150 instances would be (80/100 * 150) = 120 VM instances. If there is a remainder, the number is rounded. ", + "type": "integer", + "format": "int32" } - }, + } + }, + "InstanceGroupManagerAllInstancesConfig": { + "id": "InstanceGroupManagerAllInstancesConfig", "type": "object", - "id": "SourceDiskEncryptionKey" + "properties": { + "properties": { + "description": "Properties to set on all instances in the group. You can add or modify properties using the instanceGroupManagers.patch or regionInstanceGroupManagers.patch. After setting allInstancesConfig on the group, you must update the group's instances to apply the configuration. To apply the configuration, set the group's updatePolicy.type field to use proactive updates or use the applyUpdatesToInstances method.", + "$ref": "InstancePropertiesPatch" + } + } }, - "InstanceGroupManagersListErrorsResponse": { + "InstancePropertiesPatch": { + "id": "InstancePropertiesPatch", + "description": "Represents the change that you want to make to the instance properties.", + "type": "object", "properties": { - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", - "type": "string" + "metadata": { + "description": "The metadata key-value pairs that you want to patch onto the instance. For more information, see Project and instance metadata.", + "type": "object", + "additionalProperties": { + "type": "string" + } }, - "items": { - "type": "array", - "description": "[Output Only] The list of errors of the managed instance group.", - "items": { - "$ref": "InstanceManagedByIgmError" + "labels": { + "description": "The label key-value pairs that you want to patch onto the instance.", + "type": "object", + "additionalProperties": { + "type": "string" } } - }, - "id": "InstanceGroupManagersListErrorsResponse", - "type": "object" + } }, - "ServiceAccount": { + "InstanceGroupManagerActionsSummary": { + "id": "InstanceGroupManagerActionsSummary", + "type": "object", "properties": { - "email": { - "type": "string", - "description": "Email address of the service account." + "none": { + "description": "[Output Only] The number of instances in the managed instance group that are running and have no scheduled actions.", + "type": "integer", + "format": "int32" }, - "scopes": { - "description": "The list of scopes to be made available for this service account.", - "items": { - "type": "string" - }, - "type": "array" + "creating": { + "description": "[Output Only] The number of instances in the managed instance group that are scheduled to be created or are currently being created. If the group fails to create any of these instances, it tries again until it creates the instance successfully. If you have disabled creation retries, this field will not be populated; instead, the creatingWithoutRetries field will be populated.", + "type": "integer", + "format": "int32" + }, + "creatingWithoutRetries": { + "description": "[Output Only] The number of instances that the managed instance group will attempt to create. The group attempts to create each instance only once. If the group fails to create any of these instances, it decreases the group's targetSize value accordingly.", + "type": "integer", + "format": "int32" + }, + "verifying": { + "description": "[Output Only] The number of instances in the managed instance group that are being verified. See the managedInstances[].currentAction property in the listManagedInstances method documentation.", + "type": "integer", + "format": "int32" + }, + "recreating": { + "description": "[Output Only] The number of instances in the managed instance group that are scheduled to be recreated or are currently being being recreated. Recreating an instance deletes the existing root persistent disk and creates a new disk from the image that is defined in the instance template.", + "type": "integer", + "format": "int32" + }, + "deleting": { + "description": "[Output Only] The number of instances in the managed instance group that are scheduled to be deleted or are currently being deleted.", + "type": "integer", + "format": "int32" + }, + "abandoning": { + "description": "[Output Only] The total number of instances in the managed instance group that are scheduled to be abandoned. Abandoning an instance removes it from the managed instance group without deleting it.", + "type": "integer", + "format": "int32" + }, + "restarting": { + "description": "[Output Only] The number of instances in the managed instance group that are scheduled to be restarted or are currently being restarted.", + "type": "integer", + "format": "int32" + }, + "refreshing": { + "description": "[Output Only] The number of instances in the managed instance group that are being reconfigured with properties that do not require a restart or a recreate action. For example, setting or removing target pools for the instance.", + "type": "integer", + "format": "int32" + }, + "suspending": { + "description": "[Output Only] The number of instances in the managed instance group that are scheduled to be suspended or are currently being suspended.", + "type": "integer", + "format": "int32" + }, + "resuming": { + "description": "[Output Only] The number of instances in the managed instance group that are scheduled to be resumed or are currently being resumed.", + "type": "integer", + "format": "int32" + }, + "stopping": { + "description": "[Output Only] The number of instances in the managed instance group that are scheduled to be stopped or are currently being stopped.", + "type": "integer", + "format": "int32" + }, + "starting": { + "description": "[Output Only] The number of instances in the managed instance group that are scheduled to be started or are currently being started.", + "type": "integer", + "format": "int32" } - }, - "description": "A service account.", - "type": "object", - "id": "ServiceAccount" + } }, - "RegionInstanceGroupManagersListErrorsResponse": { + "InstanceGroupManagerStatus": { + "id": "InstanceGroupManagerStatus", + "type": "object", "properties": { - "items": { - "type": "array", - "description": "[Output Only] The list of errors of the managed instance group.", - "items": { - "$ref": "InstanceManagedByIgmError" - } + "isStable": { + "description": "[Output Only] A bit indicating whether the managed instance group is in a stable state. A stable state means that: none of the instances in the managed instance group is currently undergoing any type of change (for example, creation, restart, or deletion); no future changes are scheduled for instances in the managed instance group; and the managed instance group itself is not being modified.", + "type": "boolean" }, - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "allInstancesConfig": { + "description": "[Output only] Status of all-instances configuration on the group.", + "$ref": "InstanceGroupManagerStatusAllInstancesConfig" + }, + "versionTarget": { + "description": "[Output Only] A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager.", + "$ref": "InstanceGroupManagerStatusVersionTarget" + }, + "stateful": { + "description": "[Output Only] Stateful status of the given Instance Group Manager.", + "$ref": "InstanceGroupManagerStatusStateful" + }, + "autoscaler": { + "description": "[Output Only] The URL of the Autoscaler that targets this instance group manager.", "type": "string" } - }, - "id": "RegionInstanceGroupManagersListErrorsResponse", - "type": "object" + } }, - "BackendServiceCdnPolicyNegativeCachingPolicy": { + "InstanceGroupManagerStatusAllInstancesConfig": { + "id": "InstanceGroupManagerStatusAllInstancesConfig", + "type": "object", "properties": { - "code": { - "type": "integer", - "description": "The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 302, 307, 308, 404, 405, 410, 421, 451 and 501 are can be specified as values, and you cannot specify a status code more than once.", - "format": "int32" + "effective": { + "description": "[Output Only] A bit indicating whether this configuration has been applied to all managed instances in the group.", + "type": "boolean" }, - "ttl": { - "type": "integer", - "description": "The TTL (in seconds) for which to cache responses with the corresponding status code. The maximum allowed value is 1800s (30 minutes), noting that infrequently accessed objects may be evicted from the cache before the defined TTL.", - "format": "int32" + "currentRevision": { + "description": "[Output Only] Current all-instances configuration revision. This value is in RFC3339 text format.", + "type": "string" } - }, + } + }, + "InstanceGroupManagerStatusVersionTarget": { + "id": "InstanceGroupManagerStatusVersionTarget", "type": "object", - "description": "Specify CDN TTLs for response error codes.", - "id": "BackendServiceCdnPolicyNegativeCachingPolicy" + "properties": { + "isReached": { + "description": "[Output Only] A bit indicating whether version target has been reached in this managed instance group, i.e. all instances are in their target version. Instances' target version are specified by version field on Instance Group Manager.", + "type": "boolean" + } + } }, - "ImageFamilyView": { + "InstanceGroupManagerStatusStateful": { + "id": "InstanceGroupManagerStatusStateful", "type": "object", "properties": { - "image": { - "description": "The latest image that is part of the specified image family in the requested location, and that is not deprecated.", - "$ref": "Image" + "hasStatefulConfig": { + "description": "[Output Only] A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions.", + "type": "boolean" + }, + "perInstanceConfigs": { + "description": "[Output Only] Status of per-instance configurations on the instance.", + "$ref": "InstanceGroupManagerStatusStatefulPerInstanceConfigs" } - }, - "id": "ImageFamilyView" + } }, - "PreconfiguredWafSet": { - "id": "PreconfiguredWafSet", + "InstanceGroupManagerStatusStatefulPerInstanceConfigs": { + "id": "InstanceGroupManagerStatusStatefulPerInstanceConfigs", + "type": "object", "properties": { - "expressionSets": { - "description": "List of entities that are currently supported for WAF rules.", - "type": "array", - "items": { - "$ref": "WafExpressionSet" - } + "allEffective": { + "description": "A bit indicating if all of the group's per-instance configurations (listed in the output of a listPerInstanceConfigs API call) have status EFFECTIVE or there are no per-instance-configs.", + "type": "boolean" } - }, - "type": "object" + } }, - "DiskAggregatedList": { + "InstanceGroupManagerAutoHealingPolicy": { + "id": "InstanceGroupManagerAutoHealingPolicy", + "type": "object", "properties": { - "id": { + "healthCheck": { + "description": "The URL for the health check that signals autohealing.", + "type": "string" + }, + "initialDelaySec": { + "description": "The initial delay is the number of seconds that a new VM takes to initialize and run its startup script. During a VM's initial delay period, the MIG ignores unsuccessful health checks because the VM might be in the startup process. This prevents the MIG from prematurely recreating a VM. If the health check receives a healthy response during the initial delay, it indicates that the startup process is complete and the VM is ready. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.", + "type": "integer", + "format": "int32" + } + } + }, + "InstanceGroupManagerUpdatePolicy": { + "id": "InstanceGroupManagerUpdatePolicy", + "type": "object", + "properties": { + "type": { + "description": "The type of update process. You can specify either PROACTIVE so that the MIG automatically updates VMs to the latest configurations or OPPORTUNISTIC so that you can select the VMs that you want to update.", "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." + "enumDescriptions": [ + "MIG will apply new configurations to existing VMs only when you selectively target specific or all VMs to be updated.", + "MIG will automatically apply new configurations to all or a subset of existing VMs and also to new VMs that are added to the group." + ], + "enum": [ + "OPPORTUNISTIC", + "PROACTIVE" + ] }, - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", - "type": "string" + "instanceRedistributionType": { + "description": "The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled. ", + "type": "string", + "enumDescriptions": [ + "No action is being proactively performed in order to bring this IGM to its target instance distribution.", + "This IGM will actively converge to its target instance distribution." + ], + "enum": [ + "NONE", + "PROACTIVE" + ] }, - "kind": { - "description": "[Output Only] Type of resource. Always compute#diskAggregatedList for aggregated lists of persistent disks.", - "default": "compute#diskAggregatedList", - "type": "string" + "minimalAction": { + "description": "Minimal action to be taken on an instance. Use this option to minimize disruption as much as possible or to apply a more disruptive action than is necessary. - To limit disruption as much as possible, set the minimal action to REFRESH. If your update requires a more disruptive action, Compute Engine performs the necessary action to execute the update. - To apply a more disruptive action than is strictly necessary, set the minimal action to RESTART or REPLACE. For example, Compute Engine does not need to restart a VM to change its metadata. But if your application reads instance metadata only when a VM is restarted, you can set the minimal action to RESTART in order to pick up metadata changes. ", + "type": "string", + "enumDescriptions": [ + "Do not perform any action.", + "Do not stop the instance.", + "(Default.) Replace the instance according to the replacement method option.", + "Stop the instance and start it again." + ], + "enum": [ + "NONE", + "REFRESH", + "REPLACE", + "RESTART" + ] }, - "items": { + "mostDisruptiveAllowedAction": { + "description": "Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to avoid restarting the VM and to limit disruption as much as possible. RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.", + "type": "string", + "enumDescriptions": [ + "Do not perform any action.", + "Do not stop the instance.", + "(Default.) Replace the instance according to the replacement method option.", + "Stop the instance and start it again." + ], + "enum": [ + "NONE", + "REFRESH", + "REPLACE", + "RESTART" + ] + }, + "maxSurge": { + "description": "The maximum number of instances that can be created above the specified targetSize during the update process. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxSurge is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxSurge.", + "$ref": "FixedOrPercent" + }, + "maxUnavailable": { + "description": "The maximum number of instances that can be unavailable during the update process. An instance is considered available if all of the following conditions are satisfied: - The instance's status is RUNNING. - If there is a health check on the instance group, the instance's health check status must be HEALTHY at least once. If there is no health check on the group, then the instance only needs to have a status of RUNNING to be considered available. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxUnavailable is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxUnavailable.", + "$ref": "FixedOrPercent" + }, + "replacementMethod": { + "description": "What action should be used to replace instances. See minimal_action.REPLACE", + "type": "string", + "enumDescriptions": [ + "Instances will be recreated (with the same name)", + "Default option: instances will be deleted and created (with a new name)" + ], + "enum": [ + "RECREATE", + "SUBSTITUTE" + ] + } + } + }, + "StatefulPolicy": { + "id": "StatefulPolicy", + "type": "object", + "properties": { + "preservedState": { + "$ref": "StatefulPolicyPreservedState" + } + } + }, + "StatefulPolicyPreservedState": { + "id": "StatefulPolicyPreservedState", + "description": "Configuration of preserved resources.", + "type": "object", + "properties": { + "disks": { + "description": "Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.", + "type": "object", "additionalProperties": { - "$ref": "DisksScopedList", - "description": "[Output Only] Name of the scope containing this set of disks." - }, - "description": "A list of DisksScopedList resources.", - "type": "object" + "$ref": "StatefulPolicyPreservedStateDiskDevice" + } }, - "warning": { - "description": "[Output Only] Informational warning message.", + "internalIPs": { + "description": "Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.", "type": "object", - "properties": { - "data": { - "type": "array", - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "items": { - "properties": { - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - }, - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - } - }, - "type": "object" - } - }, - "code": { - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ], - "type": "string" - }, - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - } + "additionalProperties": { + "$ref": "StatefulPolicyPreservedStateNetworkIp" } }, - "unreachables": { - "items": { - "type": "string" - }, - "type": "array", - "description": "[Output Only] Unreachable resources." - }, - "selfLink": { + "externalIPs": { + "description": "External network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.", + "type": "object", + "additionalProperties": { + "$ref": "StatefulPolicyPreservedStateNetworkIp" + } + } + } + }, + "StatefulPolicyPreservedStateDiskDevice": { + "id": "StatefulPolicyPreservedStateDiskDevice", + "type": "object", + "properties": { + "autoDelete": { + "description": "These stateful disks will never be deleted during autohealing, update or VM instance recreate operations. This flag is used to configure if the disk should be deleted after it is no longer used by the group, e.g. when the given instance or the whole group is deleted. Note: disks attached in READ_ONLY mode cannot be auto-deleted.", "type": "string", - "description": "[Output Only] Server-defined URL for this resource." + "enumDescriptions": [ + "", + "" + ], + "enum": [ + "NEVER", + "ON_PERMANENT_INSTANCE_DELETION" + ] } - }, - "id": "DiskAggregatedList", - "type": "object" + } }, - "NodeTemplatesScopedList": { + "StatefulPolicyPreservedStateNetworkIp": { + "id": "StatefulPolicyPreservedStateNetworkIp", + "type": "object", "properties": { - "nodeTemplates": { - "type": "array", - "description": "[Output Only] A list of node templates contained in this scope.", - "items": { - "$ref": "NodeTemplate" + "autoDelete": { + "description": "These stateful IPs will never be released during autohealing, update or VM instance recreate operations. This flag is used to configure if the IP reservation should be deleted after it is no longer used by the group, e.g. when the given instance or the whole group is deleted.", + "type": "string", + "enumDescriptions": [ + "", + "" + ], + "enum": [ + "NEVER", + "ON_PERMANENT_INSTANCE_DELETION" + ] + } + } + }, + "InstanceGroupManagerInstanceLifecyclePolicy": { + "id": "InstanceGroupManagerInstanceLifecyclePolicy", + "type": "object", + "properties": { + "forceUpdateOnRepair": { + "description": "A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair. ", + "type": "string", + "enumDescriptions": [ + "", + "" + ], + "enum": [ + "NO", + "YES" + ] + } + } + }, + "InstanceGroupManagerAggregatedList": { + "id": "InstanceGroupManagerAggregatedList", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] The resource type, which is always compute#instanceGroupManagerAggregatedList for an aggregated list of managed instance groups.", + "default": "compute#instanceGroupManagerAggregatedList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of InstanceGroupManagersScopedList resources.", + "type": "object", + "additionalProperties": { + "description": "[Output Only] The name of the scope that contains this set of managed instance groups.", + "$ref": "InstanceGroupManagersScopedList" } }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, "warning": { - "description": "[Output Only] An informational warning that appears when the node templates list is empty.", + "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { - "data": { - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "items": { - "properties": { - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - }, - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - } - }, - "type": "object" - }, - "type": "array" - }, "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -11055,6 +11718,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -11073,8 +11737,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "type": "string", - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -11086,6 +11778,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -11106,53 +11799,55 @@ ] }, "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } } - }, - "type": "object" + } + }, + "unreachables": { + "description": "[Output Only] Unreachable resources.", + "type": "array", + "items": { + "type": "string" + } } - }, - "type": "object", - "id": "NodeTemplatesScopedList" + } }, - "MachineTypesScopedList": { + "InstanceGroupManagersScopedList": { + "id": "InstanceGroupManagersScopedList", "type": "object", "properties": { - "machineTypes": { + "instanceGroupManagers": { + "description": "[Output Only] The list of managed instance groups that are contained in the specified project and zone.", + "type": "array", "items": { - "$ref": "MachineType" - }, - "description": "[Output Only] A list of machine types contained in this scope.", - "type": "array" + "$ref": "InstanceGroupManager" + } }, "warning": { - "description": "[Output Only] An informational warning that appears when the machine types list is empty.", + "description": "[Output Only] The warning that replaces the list of managed instance groups when the list is empty.", "type": "object", "properties": { - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, - "data": { - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "items": { - "properties": { - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - }, - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, "code": { "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -11164,6 +11859,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -11182,6 +11878,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -11193,6 +11919,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -11210,528 +11937,545 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", "type": "string" - } - } - } - }, - "id": "MachineTypesScopedList" - }, - "InstanceReference": { - "properties": { - "instance": { - "description": "The URL for a specific instance. @required compute.instancegroups.addInstances/removeInstances", - "type": "string" - } - }, - "id": "InstanceReference", - "type": "object" - }, - "TargetVpnGatewayList": { - "description": "Contains a list of TargetVpnGateway resources.", - "properties": { - "warning": { - "description": "[Output Only] Informational warning message.", - "properties": { + }, "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", "type": "array", "items": { "type": "object", "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, "value": { "description": "[Output Only] A warning data value corresponding to the key.", "type": "string" - }, - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." } } - }, - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } " - }, - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - }, - "code": { - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ], - "type": "string", - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response." + } } - }, - "type": "object" - }, - "kind": { - "type": "string", - "default": "compute#targetVpnGatewayList", - "description": "[Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways." - }, - "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", - "type": "string" - }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." - }, - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", - "type": "string" - }, - "items": { - "items": { - "$ref": "TargetVpnGateway" - }, - "type": "array", - "description": "A list of TargetVpnGateway resources." - } - }, - "id": "TargetVpnGatewayList", - "type": "object" - }, - "HealthCheckServiceReference": { - "description": "A full or valid partial URL to a health check service. For example, the following are valid URLs: - https://www.googleapis.com/compute/beta/projects/project-id/regions/us-west1/healthCheckServices/health-check-service - projects/project-id/regions/us-west1/healthCheckServices/health-check-service - regions/us-west1/healthCheckServices/health-check-service ", - "id": "HealthCheckServiceReference", - "properties": { - "healthCheckService": { - "type": "string" + } } - }, - "type": "object" + } }, - "SecurityPolicyRuleRedirectOptions": { - "id": "SecurityPolicyRuleRedirectOptions", + "InstanceGroupManagersDeleteInstancesRequest": { + "id": "InstanceGroupManagersDeleteInstancesRequest", + "type": "object", "properties": { - "type": { - "type": "string", - "enumDescriptions": [ - "", - "" - ], - "enum": [ - "EXTERNAL_302", - "GOOGLE_RECAPTCHA" - ], - "description": "Type of the redirect action." + "instances": { + "description": "The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]. Queued instances do not have URL and can be deleted only by name. One cannot specify both URLs and names in a single request.", + "type": "array", + "items": { + "type": "string" + } }, - "target": { - "description": "Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA.", - "type": "string" + "skipInstancesOnValidationError": { + "description": "Specifies whether the request should proceed despite the inclusion of instances that are not members of the group or that are already in the process of being deleted or abandoned. If this field is set to `false` and such an instance is specified in the request, the operation fails. The operation always fails if the request contains a malformed instance URL or a reference to an instance that exists in a zone or region other than the group's zone or region.", + "type": "boolean" } - }, - "type": "object" + } }, - "HttpFaultDelay": { - "id": "HttpFaultDelay", + "InstanceGroupManagersAbandonInstancesRequest": { + "id": "InstanceGroupManagersAbandonInstancesRequest", + "type": "object", "properties": { - "fixedDelay": { - "$ref": "Duration", - "description": "Specifies the value of the fixed delay interval." - }, - "percentage": { - "format": "double", - "type": "number", - "description": "The percentage of traffic for connections, operations, or requests for which a delay is introduced as part of fault injection. The value must be from 0.0 to 100.0 inclusive." + "instances": { + "description": "The URLs of one or more instances to abandon. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].", + "type": "array", + "items": { + "type": "string" + } } - }, - "description": "Specifies the delay introduced by the load balancer before forwarding the request to the backend service as part of fault injection.", - "type": "object" + } }, - "InstanceParams": { + "InstanceGroupManagersRecreateInstancesRequest": { + "id": "InstanceGroupManagersRecreateInstancesRequest", "type": "object", "properties": { - "resourceManagerTags": { - "additionalProperties": { + "instances": { + "description": "The URLs of one or more instances to recreate. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].", + "type": "array", + "items": { "type": "string" - }, - "type": "object", - "description": "Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty." + } } - }, - "id": "InstanceParams", - "description": "Additional instance params." + } }, - "LogConfigDataAccessOptions": { - "description": "This is deprecated and has no effect. Do not use.", - "id": "LogConfigDataAccessOptions", + "InstanceGroupManagersSetInstanceTemplateRequest": { + "id": "InstanceGroupManagersSetInstanceTemplateRequest", + "type": "object", "properties": { - "logMode": { - "description": "This is deprecated and has no effect. Do not use.", - "enum": [ - "LOG_FAIL_CLOSED", - "LOG_MODE_UNSPECIFIED" - ], - "enumDescriptions": [ - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use." - ], + "instanceTemplate": { + "description": "The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE.", "type": "string" } - }, - "type": "object" + } }, - "SignedUrlKey": { + "InstanceGroupManagersSetTargetPoolsRequest": { + "id": "InstanceGroupManagersSetTargetPoolsRequest", "type": "object", "properties": { - "keyValue": { - "type": "string", - "description": "128-bit key value used for signing the URL. The key value must be a valid RFC 4648 Section 5 base64url encoded string." + "targetPools": { + "description": "The list of target pool URLs that instances in this managed instance group belong to. The managed instance group applies these target pools to all of the instances in the group. Existing instances and new instances in the group all receive these target pool settings.", + "type": "array", + "items": { + "type": "string" + } }, - "keyName": { + "fingerprint": { + "description": "The fingerprint of the target pools information. Use this optional property to prevent conflicts when multiple users change the target pools settings concurrently. Obtain the fingerprint with the instanceGroupManagers.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request.", "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the key. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash." + "format": "byte" } - }, - "description": "Represents a customer-supplied Signing Key used by Cloud CDN Signed URLs", - "id": "SignedUrlKey" + } }, - "ShareSettings": { + "InstanceGroupManagersListManagedInstancesResponse": { + "id": "InstanceGroupManagersListManagedInstancesResponse", "type": "object", - "id": "ShareSettings", "properties": { - "shareType": { - "type": "string", - "description": "Type of sharing for this shared-reservation", - "enum": [ - "LOCAL", - "ORGANIZATION", - "SHARE_TYPE_UNSPECIFIED", - "SPECIFIC_PROJECTS" - ], - "enumDescriptions": [ - "Default value.", - "Shared-reservation is open to entire Organization", - "Default value. This value is unused.", - "Shared-reservation is open to specific projects" - ] + "managedInstances": { + "description": "[Output Only] The list of instances in the managed instance group.", + "type": "array", + "items": { + "$ref": "ManagedInstance" + } }, - "projectMap": { - "type": "object", - "additionalProperties": { - "$ref": "ShareSettingsProjectConfig" - }, - "description": "A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS." + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" } - }, - "description": "The share setting for reservations and sole tenancy node groups." + } }, - "VpnTunnelsScopedList": { + "ManagedInstance": { + "id": "ManagedInstance", + "description": "A Managed Instance resource.", + "type": "object", "properties": { - "vpnTunnels": { - "description": "A list of VPN tunnels contained in this scope.", - "items": { - "$ref": "VpnTunnel" - }, - "type": "array" + "name": { + "description": "[Output Only] The name of the instance. The name always exists even if the instance has not yet been created.", + "type": "string" }, - "warning": { - "properties": { - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, - "code": { - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "type": "string", - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ] - }, - "data": { - "type": "array", - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "items": { - "type": "object", - "properties": { - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - }, - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - } - } - } - } - }, - "description": "Informational warning which replaces the list of addresses when the list is empty.", - "type": "object" - } - }, - "id": "VpnTunnelsScopedList", - "type": "object" - }, - "CacheKeyPolicy": { - "description": "Message containing what to include in the cache key for a request for Cloud CDN.", - "id": "CacheKeyPolicy", - "type": "object", - "properties": { - "queryStringWhitelist": { - "items": { - "type": "string" - }, - "type": "array", - "description": "Names of query string parameters to include in cache keys. All other parameters will be excluded. Either specify query_string_whitelist or query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters." + "instance": { + "description": "[Output Only] The URL of the instance. The URL can exist even if the instance has not yet been created.", + "type": "string" }, - "includeHost": { - "type": "boolean", - "description": "If true, requests to different hosts will be cached separately." + "id": { + "description": "[Output only] The unique identifier for this resource. This field is empty when instance does not exist.", + "type": "string", + "format": "uint64" }, - "includeQueryString": { - "type": "boolean", - "description": "If true, include query string parameters in the cache key according to query_string_whitelist and query_string_blacklist. If neither is set, the entire query string will be included. If false, the query string will be excluded from the cache key entirely." + "instanceStatus": { + "description": "[Output Only] The status of the instance. This field is empty when the instance does not exist.", + "type": "string", + "enumDescriptions": [ + "The instance is halted and we are performing tear down tasks like network deprogramming, releasing quota, IP, tearing down disks etc.", + "Resources are being allocated for the instance.", + "The instance is in repair.", + "The instance is running.", + "All required resources have been allocated and the instance is being started.", + "The instance has stopped successfully.", + "The instance is currently stopping (either being deleted or killed).", + "The instance has suspended.", + "The instance is suspending.", + "The instance has stopped (either by explicit action or underlying failure)." + ], + "enum": [ + "DEPROVISIONING", + "PROVISIONING", + "REPAIRING", + "RUNNING", + "STAGING", + "STOPPED", + "STOPPING", + "SUSPENDED", + "SUSPENDING", + "TERMINATED" + ] }, - "includeProtocol": { - "description": "If true, http and https requests will be cached separately.", - "type": "boolean" + "version": { + "description": "[Output Only] Intended version of this instance.", + "$ref": "ManagedInstanceVersion" }, - "includeNamedCookies": { - "items": { - "type": "string" - }, - "description": "Allows HTTP cookies (by name) to be used in the cache key. The name=value pair will be used in the cache key Cloud CDN generates.", - "type": "array" + "preservedStateFromPolicy": { + "description": "[Output Only] Preserved state generated based on stateful policy for this instance.", + "$ref": "PreservedState" }, - "includeHttpHeaders": { - "description": "Allows HTTP request headers (by name) to be used in the cache key.", + "preservedStateFromConfig": { + "description": "[Output Only] Preserved state applied from per-instance config for this instance.", + "$ref": "PreservedState" + }, + "currentAction": { + "description": "[Output Only] The current action that the managed instance group has scheduled for the instance. Possible values: - NONE The instance is running, and the managed instance group does not have any scheduled actions for this instance. - CREATING The managed instance group is creating this instance. If the group fails to create this instance, it will try again until it is successful. - CREATING_WITHOUT_RETRIES The managed instance group is attempting to create this instance only once. If the group fails to create this instance, it does not try again and the group's targetSize value is decreased instead. - RECREATING The managed instance group is recreating this instance. - DELETING The managed instance group is permanently deleting this instance. - ABANDONING The managed instance group is abandoning this instance. The instance will be removed from the instance group and from any target pools that are associated with this group. - RESTARTING The managed instance group is restarting the instance. - REFRESHING The managed instance group is applying configuration changes to the instance without stopping it. For example, the group can update the target pool list for an instance without stopping that instance. - VERIFYING The managed instance group has created the instance and it is in the process of being verified. ", + "type": "string", + "enumDescriptions": [ + "The managed instance group is abandoning this instance. The instance will be removed from the instance group and from any target pools that are associated with this group.", + "The managed instance group is creating this instance. If the group fails to create this instance, it will try again until it is successful.", + "The managed instance group is attempting to create this instance only once. If the group fails to create this instance, it does not try again and the group's targetSize value is decreased.", + "The managed instance group is permanently deleting this instance.", + "The managed instance group has not scheduled any actions for this instance.", + "The managed instance group is recreating this instance.", + "The managed instance group is applying configuration changes to the instance without stopping it. For example, the group can update the target pool list for an instance without stopping that instance.", + "The managed instance group is restarting this instance.", + "The managed instance group is resuming this instance.", + "The managed instance group is starting this instance.", + "The managed instance group is stopping this instance.", + "The managed instance group is suspending this instance.", + "The managed instance group is verifying this already created instance. Verification happens every time the instance is (re)created or restarted and consists of: 1. Waiting until health check specified as part of this managed instance group's autohealing policy reports HEALTHY. Note: Applies only if autohealing policy has a health check specified 2. Waiting for addition verification steps performed as post-instance creation (subject to future extensions)." + ], + "enum": [ + "ABANDONING", + "CREATING", + "CREATING_WITHOUT_RETRIES", + "DELETING", + "NONE", + "RECREATING", + "REFRESHING", + "RESTARTING", + "RESUMING", + "STARTING", + "STOPPING", + "SUSPENDING", + "VERIFYING" + ] + }, + "instanceHealth": { + "description": "[Output Only] Health state of the instance per health-check.", "type": "array", "items": { - "type": "string" + "$ref": "ManagedInstanceInstanceHealth" } }, - "queryStringBlacklist": { - "description": "Names of query string parameters to exclude in cache keys. All other parameters will be included. Either specify query_string_whitelist or query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters.", - "type": "array", - "items": { + "lastAttempt": { + "description": "[Output Only] Information about the last attempt to create or delete the instance.", + "$ref": "ManagedInstanceLastAttempt" + } + } + }, + "ManagedInstanceVersion": { + "id": "ManagedInstanceVersion", + "type": "object", + "properties": { + "name": { + "description": "[Output Only] Name of the version.", + "type": "string" + }, + "instanceTemplate": { + "description": "[Output Only] The intended template of the instance. This field is empty when current_action is one of { DELETING, ABANDONING }.", + "type": "string" + } + } + }, + "PreservedState": { + "id": "PreservedState", + "description": "Preserved state for a given instance.", + "type": "object", + "properties": { + "disks": { + "description": "Preserved disks defined for this instance. This map is keyed with the device names of the disks.", + "type": "object", + "additionalProperties": { + "$ref": "PreservedStatePreservedDisk" + } + }, + "metadata": { + "description": "Preserved metadata defined for this instance.", + "type": "object", + "additionalProperties": { "type": "string" } + }, + "internalIPs": { + "description": "Preserved internal IPs defined for this instance. This map is keyed with the name of the network interface.", + "type": "object", + "additionalProperties": { + "$ref": "PreservedStatePreservedNetworkIp" + } + }, + "externalIPs": { + "description": "Preserved external IPs defined for this instance. This map is keyed with the name of the network interface.", + "type": "object", + "additionalProperties": { + "$ref": "PreservedStatePreservedNetworkIp" + } } } }, - "ReservationAffinity": { + "PreservedStatePreservedDisk": { + "id": "PreservedStatePreservedDisk", + "type": "object", "properties": { - "consumeReservationType": { - "description": "Specifies the type of reservation from which this instance can consume resources: ANY_RESERVATION (default), SPECIFIC_RESERVATION, or NO_RESERVATION. See Consuming reserved instances for examples.", + "source": { + "description": "The URL of the disk resource that is stateful and should be attached to the VM instance.", + "type": "string" + }, + "mode": { + "description": "The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not specified, the default is to attach the disk in READ_WRITE mode.", "type": "string", + "enumDescriptions": [ + "Attaches this disk in read-only mode. Multiple VM instances can use a disk in READ_ONLY mode at a time.", + "*[Default]* Attaches this disk in READ_WRITE mode. Only one VM instance at a time can be attached to a disk in READ_WRITE mode." + ], "enum": [ - "ANY_RESERVATION", - "NO_RESERVATION", - "SPECIFIC_RESERVATION", - "UNSPECIFIED" + "READ_ONLY", + "READ_WRITE" + ] + }, + "autoDelete": { + "description": "These stateful disks will never be deleted during autohealing, update, instance recreate operations. This flag is used to configure if the disk should be deleted after it is no longer used by the group, e.g. when the given instance or the whole MIG is deleted. Note: disks attached in READ_ONLY mode cannot be auto-deleted.", + "type": "string", + "enumDescriptions": [ + "", + "" ], + "enum": [ + "NEVER", + "ON_PERMANENT_INSTANCE_DELETION" + ] + } + } + }, + "PreservedStatePreservedNetworkIp": { + "id": "PreservedStatePreservedNetworkIp", + "type": "object", + "properties": { + "autoDelete": { + "description": "These stateful IPs will never be released during autohealing, update or VM instance recreate operations. This flag is used to configure if the IP reservation should be deleted after it is no longer used by the group, e.g. when the given instance or the whole group is deleted.", + "type": "string", "enumDescriptions": [ - "Consume any allocation available.", - "Do not consume from any allocated capacity.", - "Must consume from a specific reservation. Must specify key value fields for specifying the reservations.", + "", "" + ], + "enum": [ + "NEVER", + "ON_PERMANENT_INSTANCE_DELETION" ] }, - "key": { - "description": "Corresponds to the label key of a reservation resource. To target a SPECIFIC_RESERVATION by name, specify googleapis.com/reservation-name as the key and specify the name of your reservation as its value.", + "ipAddress": { + "description": "Ip address representation", + "$ref": "PreservedStatePreservedNetworkIpIpAddress" + } + } + }, + "PreservedStatePreservedNetworkIpIpAddress": { + "id": "PreservedStatePreservedNetworkIpIpAddress", + "type": "object", + "properties": { + "literal": { + "description": "An IPv4 internal network address to assign to the instance for this network interface.", "type": "string" }, - "values": { - "items": { - "type": "string" - }, - "description": "Corresponds to the label values of a reservation resource. This can be either a name to a reservation in the same project or \"projects/different-project/reservations/some-reservation-name\" to target a shared reservation in the same zone but in a different project.", - "type": "array" + "address": { + "description": "The URL of the reservation for this IP address.", + "type": "string" } - }, - "type": "object", - "description": "Specifies the reservations that this instance can consume from.", - "id": "ReservationAffinity" + } }, - "InstanceMoveRequest": { - "id": "InstanceMoveRequest", + "ManagedInstanceInstanceHealth": { + "id": "ManagedInstanceInstanceHealth", "type": "object", "properties": { - "targetInstance": { - "type": "string", - "description": "The URL of the target instance to move. This can be a full or partial URL. For example, the following are all valid URLs to an instance: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /instances/instance - projects/project/zones/zone/instances/instance - zones/zone/instances/instance " + "healthCheck": { + "description": "[Output Only] The URL for the health check that verifies whether the instance is healthy.", + "type": "string" }, - "destinationZone": { + "detailedHealthState": { + "description": "[Output Only] The current detailed instance health state.", "type": "string", - "description": "The URL of the destination zone to move the instance. This can be a full or partial URL. For example, the following are all valid URLs to a zone: - https://www.googleapis.com/compute/v1/projects/project/zones/zone - projects/project/zones/zone - zones/zone " + "enumDescriptions": [ + "The instance is being drained. The existing connections to the instance have time to complete, but the new ones are being refused.", + "The instance is reachable i.e. a connection to the application health checking endpoint can be established, and conforms to the requirements defined by the health check.", + "The instance is unreachable i.e. a connection to the application health checking endpoint cannot be established, or the server does not respond within the specified timeout.", + "The instance is reachable, but does not conform to the requirements defined by the health check.", + "The health checking system is aware of the instance but its health is not known at the moment." + ], + "enum": [ + "DRAINING", + "HEALTHY", + "TIMEOUT", + "UNHEALTHY", + "UNKNOWN" + ] } } }, - "AcceleratorTypeAggregatedList": { + "ManagedInstanceLastAttempt": { + "id": "ManagedInstanceLastAttempt", "type": "object", "properties": { - "kind": { - "type": "string", - "description": "[Output Only] Type of resource. Always compute#acceleratorTypeAggregatedList for aggregated lists of accelerator types.", - "default": "compute#acceleratorTypeAggregatedList" - }, - "unreachables": { - "items": { - "type": "string" - }, + "errors": { + "description": "[Output Only] Encountered errors during the last attempt to create or delete the instance.", + "type": "object", + "properties": { + "errors": { + "description": "[Output Only] The array of errors encountered while processing this operation.", + "type": "array", + "items": { + "type": "object", + "properties": { + "code": { + "description": "[Output Only] The error type identifier for this error.", + "type": "string" + }, + "location": { + "description": "[Output Only] Indicates the field in the request that caused the error. This property is optional.", + "type": "string" + }, + "message": { + "description": "[Output Only] An optional, human-readable error message.", + "type": "string" + }, + "errorDetails": { + "description": "[Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED.", + "type": "array", + "items": { + "type": "object", + "properties": { + "errorInfo": { + "$ref": "ErrorInfo" + }, + "quotaInfo": { + "$ref": "QuotaExceededInfo" + }, + "help": { + "$ref": "Help" + }, + "localizedMessage": { + "$ref": "LocalizedMessage" + } + } + } + } + } + } + } + } + } + } + }, + "InstanceGroupManagersListErrorsResponse": { + "id": "InstanceGroupManagersListErrorsResponse", + "type": "object", + "properties": { + "items": { + "description": "[Output Only] The list of errors of the managed instance group.", "type": "array", - "description": "[Output Only] Unreachable resources." + "items": { + "$ref": "InstanceManagedByIgmError" + } }, "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + } + } + }, + "InstanceManagedByIgmError": { + "id": "InstanceManagedByIgmError", + "type": "object", + "properties": { + "error": { + "description": "[Output Only] Contents of the error.", + "$ref": "InstanceManagedByIgmErrorManagedInstanceError" + }, + "timestamp": { + "description": "[Output Only] The time that this error occurred. This value is in RFC3339 text format.", + "type": "string" + }, + "instanceActionDetails": { + "description": "[Output Only] Details of the instance action that triggered this error. May be null, if the error was not caused by an action on an instance. This field is optional.", + "$ref": "InstanceManagedByIgmErrorInstanceActionDetails" + } + } + }, + "InstanceManagedByIgmErrorManagedInstanceError": { + "id": "InstanceManagedByIgmErrorManagedInstanceError", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] Error code.", + "type": "string" + }, + "message": { + "description": "[Output Only] Error message.", + "type": "string" + } + } + }, + "InstanceManagedByIgmErrorInstanceActionDetails": { + "id": "InstanceManagedByIgmErrorInstanceActionDetails", + "type": "object", + "properties": { + "action": { + "description": "[Output Only] Action that managed instance group was executing on the instance when the error occurred. Possible values:", "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." + "enumDescriptions": [ + "The managed instance group is abandoning this instance. The instance will be removed from the instance group and from any target pools that are associated with this group.", + "The managed instance group is creating this instance. If the group fails to create this instance, it will try again until it is successful.", + "The managed instance group is attempting to create this instance only once. If the group fails to create this instance, it does not try again and the group's targetSize value is decreased.", + "The managed instance group is permanently deleting this instance.", + "The managed instance group has not scheduled any actions for this instance.", + "The managed instance group is recreating this instance.", + "The managed instance group is applying configuration changes to the instance without stopping it. For example, the group can update the target pool list for an instance without stopping that instance.", + "The managed instance group is restarting this instance.", + "The managed instance group is resuming this instance.", + "The managed instance group is starting this instance.", + "The managed instance group is stopping this instance.", + "The managed instance group is suspending this instance.", + "The managed instance group is verifying this already created instance. Verification happens every time the instance is (re)created or restarted and consists of: 1. Waiting until health check specified as part of this managed instance group's autohealing policy reports HEALTHY. Note: Applies only if autohealing policy has a health check specified 2. Waiting for addition verification steps performed as post-instance creation (subject to future extensions)." + ], + "enum": [ + "ABANDONING", + "CREATING", + "CREATING_WITHOUT_RETRIES", + "DELETING", + "NONE", + "RECREATING", + "REFRESHING", + "RESTARTING", + "RESUMING", + "STARTING", + "STOPPING", + "SUSPENDING", + "VERIFYING" + ] }, - "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "instance": { + "description": "[Output Only] The URL of the instance. The URL can be set even if the instance has not yet been created.", "type": "string" }, + "version": { + "description": "[Output Only] Version this instance was created from, or was being created from, but the creation failed. Corresponds to one of the versions that were set on the Instance Group Manager resource at the time this instance was being created.", + "$ref": "ManagedInstanceVersion" + } + } + }, + "InstanceGroupManagersListPerInstanceConfigsResp": { + "id": "InstanceGroupManagersListPerInstanceConfigsResp", + "type": "object", + "properties": { "items": { - "additionalProperties": { - "description": "[Output Only] Name of the scope containing this set of accelerator types.", - "$ref": "AcceleratorTypesScopedList" - }, - "type": "object", - "description": "A list of AcceleratorTypesScopedList resources." + "description": "[Output Only] The list of PerInstanceConfig.", + "type": "array", + "items": { + "$ref": "PerInstanceConfig" + } }, - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", "type": "string" }, "warning": { "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, - "data": { - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "items": { - "type": "object", - "properties": { - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - }, - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - } - } - }, - "type": "array" - }, "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", @@ -11744,6 +12488,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -11762,7 +12507,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -11774,6 +12548,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -11792,49 +12567,134 @@ "UNDECLARED_PROPERTIES", "UNREACHABLE" ] - } - }, - "type": "object" - } - }, - "id": "AcceleratorTypeAggregatedList" - }, - "XpnResourceId": { - "properties": { - "type": { - "enumDescriptions": [ - "", - "" - ], - "type": "string", - "description": "The type of the service resource.", - "enum": [ - "PROJECT", - "XPN_RESOURCE_TYPE_UNSPECIFIED" - ] - }, - "id": { + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + } + } + }, + "PerInstanceConfig": { + "id": "PerInstanceConfig", + "type": "object", + "properties": { + "name": { + "description": "The name of a per-instance configuration and its corresponding instance. Serves as a merge key during UpdatePerInstanceConfigs operations, that is, if a per-instance configuration with the same name exists then it will be updated, otherwise a new one will be created for the VM instance with the same name. An attempt to create a per-instance configconfiguration for a VM instance that either doesn't exist or is not part of the group will result in an error.", + "type": "string" + }, + "preservedState": { + "description": "The intended preserved state for the given instance. Does not contain preserved state generated from a stateful policy.", + "$ref": "PreservedState" + }, + "status": { + "description": "The status of applying this per-instance configuration on the corresponding managed instance.", + "type": "string", + "enumDescriptions": [ + "The per-instance configuration is being applied to the instance, but is not yet effective, possibly waiting for the instance to, for example, REFRESH.", + "The per-instance configuration deletion is being applied on the instance, possibly waiting for the instance to, for example, REFRESH.", + "The per-instance configuration is effective on the instance, meaning that all disks, ips and metadata specified in this configuration are attached or set on the instance.", + "*[Default]* The default status, when no per-instance configuration exists.", + "The per-instance configuration is set on an instance but not been applied yet.", + "The per-instance configuration has been deleted, but the deletion is not yet applied." + ], + "enum": [ + "APPLYING", + "DELETING", + "EFFECTIVE", + "NONE", + "UNAPPLIED", + "UNAPPLIED_DELETION" + ] + }, + "fingerprint": { + "description": "Fingerprint of this per-instance config. This field can be used in optimistic locking. It is ignored when inserting a per-instance config. An up-to-date fingerprint must be provided in order to update an existing per-instance configuration or the field needs to be unset.", "type": "string", - "description": "The ID of the service resource. In the case of projects, this field supports project id (e.g., my-project-123) and project number (e.g. 12345678)." + "format": "byte" } - }, - "description": "Service resource (a.k.a service project) ID.", + } + }, + "InstanceGroupManagersUpdatePerInstanceConfigsReq": { + "id": "InstanceGroupManagersUpdatePerInstanceConfigsReq", + "description": "InstanceGroupManagers.updatePerInstanceConfigs", "type": "object", - "id": "XpnResourceId" + "properties": { + "perInstanceConfigs": { + "description": "The list of per-instance configurations to insert or patch on this managed instance group.", + "type": "array", + "items": { + "$ref": "PerInstanceConfig" + } + } + } }, - "InstanceGroupManagerUpdatePolicy": { - "id": "InstanceGroupManagerUpdatePolicy", + "InstanceGroupManagersPatchPerInstanceConfigsReq": { + "id": "InstanceGroupManagersPatchPerInstanceConfigsReq", + "description": "InstanceGroupManagers.patchPerInstanceConfigs", + "type": "object", + "properties": { + "perInstanceConfigs": { + "description": "The list of per-instance configurations to insert or patch on this managed instance group.", + "type": "array", + "items": { + "$ref": "PerInstanceConfig" + } + } + } + }, + "InstanceGroupManagersDeletePerInstanceConfigsReq": { + "id": "InstanceGroupManagersDeletePerInstanceConfigsReq", + "description": "InstanceGroupManagers.deletePerInstanceConfigs", + "type": "object", + "properties": { + "names": { + "description": "The list of instance names for which we want to delete per-instance configs on this managed instance group.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "InstanceGroupManagersApplyUpdatesRequest": { + "id": "InstanceGroupManagersApplyUpdatesRequest", + "description": "InstanceGroupManagers.applyUpdatesToInstances", "type": "object", "properties": { + "instances": { + "description": "The list of URLs of one or more instances for which you want to apply updates. Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].", + "type": "array", + "items": { + "type": "string" + } + }, "minimalAction": { + "description": "The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance and limit disruption as much as possible. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update.", "type": "string", "enumDescriptions": [ "Do not perform any action.", - "Updates applied in runtime, instances will not be disrupted.", - "Old instances will be deleted. New instances will be created from the target template.", - "Every instance will be restarted." + "Do not stop the instance.", + "(Default.) Replace the instance according to the replacement method option.", + "Stop the instance and start it again." ], - "description": "Minimal action to be taken on an instance. Use this option to minimize disruption as much as possible or to apply a more disruptive action than is necessary. - To limit disruption as much as possible, set the minimal action to REFRESH. If your update requires a more disruptive action, Compute Engine performs the necessary action to execute the update. - To apply a more disruptive action than is strictly necessary, set the minimal action to RESTART or REPLACE. For example, Compute Engine does not need to restart a VM to change its metadata. But if your application reads instance metadata only when a VM is restarted, you can set the minimal action to RESTART in order to pick up metadata changes. ", "enum": [ "NONE", "REFRESH", @@ -11842,99 +12702,78 @@ "RESTART" ] }, - "type": { - "description": "The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).", - "enum": [ - "OPPORTUNISTIC", - "PROACTIVE" - ], - "type": "string", - "enumDescriptions": [ - "No action is being proactively performed in order to bring this IGM to its target version distribution (regardless of whether this distribution is expressed using instanceTemplate or versions field).", - "This IGM will actively converge to its target version distribution (regardless of whether this distribution is expressed using instanceTemplate or versions field)." - ] - }, - "replacementMethod": { + "mostDisruptiveAllowedAction": { + "description": "The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance and limit disruption as much as possible. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail.", "type": "string", - "description": "What action should be used to replace instances. See minimal_action.REPLACE", - "enum": [ - "RECREATE", - "SUBSTITUTE" - ], "enumDescriptions": [ - "Instances will be recreated (with the same name)", - "Default option: instances will be deleted and created (with a new name)" - ] - }, - "maxUnavailable": { - "$ref": "FixedOrPercent", - "description": "The maximum number of instances that can be unavailable during the update process. An instance is considered available if all of the following conditions are satisfied: - The instance's status is RUNNING. - If there is a health check on the instance group, the instance's health check status must be HEALTHY at least once. If there is no health check on the group, then the instance only needs to have a status of RUNNING to be considered available. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxUnavailable is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxUnavailable." - }, - "instanceRedistributionType": { - "enum": [ - "NONE", - "PROACTIVE" + "Do not perform any action.", + "Do not stop the instance.", + "(Default.) Replace the instance according to the replacement method option.", + "Stop the instance and start it again." ], - "type": "string", - "description": "The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled. ", - "enumDescriptions": [ - "No action is being proactively performed in order to bring this IGM to its target instance distribution.", - "This IGM will actively converge to its target instance distribution." - ] - }, - "mostDisruptiveAllowedAction": { - "description": "Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.", "enum": [ "NONE", "REFRESH", "REPLACE", "RESTART" - ], - "type": "string", - "enumDescriptions": [ - "Do not perform any action.", - "Updates applied in runtime, instances will not be disrupted.", - "Old instances will be deleted. New instances will be created from the target template.", - "Every instance will be restarted." ] }, - "maxSurge": { - "$ref": "FixedOrPercent", - "description": "The maximum number of instances that can be created above the specified targetSize during the update process. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxSurge is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxSurge." + "allInstances": { + "description": "Flag to update all instances instead of specified list of “instances”. If the flag is set to true then the instances may not be specified in the request.", + "type": "boolean" } } }, - "TargetHttpsProxiesSetCertificateMapRequest": { - "id": "TargetHttpsProxiesSetCertificateMapRequest", + "InstanceGroupManagersCreateInstancesRequest": { + "id": "InstanceGroupManagersCreateInstancesRequest", + "description": "InstanceGroupManagers.createInstances", + "type": "object", "properties": { - "certificateMap": { - "description": "URL of the Certificate Map to associate with this TargetHttpsProxy.", - "type": "string" + "instances": { + "description": "[Required] List of specifications of per-instance configs.", + "type": "array", + "items": { + "$ref": "PerInstanceConfig" + } } - }, - "type": "object" + } }, - "PublicDelegatedPrefixList": { - "id": "PublicDelegatedPrefixList", + "RegionInstanceGroupManagerList": { + "id": "RegionInstanceGroupManagerList", + "description": "Contains a list of managed instance groups.", "type": "object", "properties": { - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", - "type": "string" - }, "kind": { - "description": "[Output Only] Type of the resource. Always compute#publicDelegatedPrefixList for public delegated prefixes.", - "type": "string", - "default": "compute#publicDelegatedPrefixList" + "description": "[Output Only] The resource type, which is always compute#instanceGroupManagerList for a list of managed instance groups that exist in th regional scope.", + "default": "compute#regionInstanceGroupManagerList", + "type": "string" }, "id": { "description": "[Output Only] Unique identifier for the resource; defined by the server.", "type": "string" }, + "items": { + "description": "A list of InstanceGroupManager resources.", + "type": "array", + "items": { + "$ref": "InstanceGroupManager" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, "warning": { "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -11946,6 +12785,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -11964,6 +12804,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -11975,6 +12845,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -11992,177 +12863,160 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], - "type": "string", - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response." + ] }, "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" }, "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", "type": "array", "items": { "type": "object", "properties": { "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" }, "value": { "description": "[Output Only] A warning data value corresponding to the key.", "type": "string" } } - }, - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } " + } } - }, - "type": "object" - }, - "items": { + } + } + } + }, + "RegionInstanceGroupManagersDeleteInstancesRequest": { + "id": "RegionInstanceGroupManagersDeleteInstancesRequest", + "type": "object", + "properties": { + "instances": { + "description": "The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].", "type": "array", - "description": "A list of PublicDelegatedPrefix resources.", "items": { - "$ref": "PublicDelegatedPrefix" + "type": "string" } }, - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", - "type": "string" + "skipInstancesOnValidationError": { + "description": "Specifies whether the request should proceed despite the inclusion of instances that are not members of the group or that are already in the process of being deleted or abandoned. If this field is set to `false` and such an instance is specified in the request, the operation fails. The operation always fails if the request contains a malformed instance URL or a reference to an instance that exists in a zone or region other than the group's zone or region.", + "type": "boolean" } } }, - "SslCertificatesScopedList": { - "id": "SslCertificatesScopedList", + "RegionInstanceGroupManagersAbandonInstancesRequest": { + "id": "RegionInstanceGroupManagersAbandonInstancesRequest", + "type": "object", "properties": { - "warning": { - "description": "Informational warning which replaces the list of backend services when the list is empty.", - "properties": { - "data": { - "items": { - "type": "object", - "properties": { - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - }, - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - } - } - }, - "type": "array", - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } " - }, - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - }, - "code": { - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "type": "string" - } - }, - "type": "object" - }, - "sslCertificates": { + "instances": { + "description": "The URLs of one or more instances to abandon. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].", "type": "array", - "description": "List of SslCertificates contained in this scope.", "items": { - "$ref": "SslCertificate" + "type": "string" } } - }, - "type": "object" + } }, - "ForwardingRuleServiceDirectoryRegistration": { - "description": "Describes the auto-registration of the Forwarding Rule to Service Directory. The region and project of the Service Directory resource generated from this registration will be the same as this Forwarding Rule.", + "RegionInstanceGroupManagersRecreateRequest": { + "id": "RegionInstanceGroupManagersRecreateRequest", + "type": "object", "properties": { - "service": { + "instances": { + "description": "The URLs of one or more instances to recreate. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "RegionInstanceGroupManagersSetTemplateRequest": { + "id": "RegionInstanceGroupManagersSetTemplateRequest", + "type": "object", + "properties": { + "instanceTemplate": { + "description": "URL of the InstanceTemplate resource from which all new instances will be created.", + "type": "string" + } + } + }, + "RegionInstanceGroupManagersSetTargetPoolsRequest": { + "id": "RegionInstanceGroupManagersSetTargetPoolsRequest", + "type": "object", + "properties": { + "targetPools": { + "description": "The URL of all TargetPool resources to which instances in the instanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.", + "type": "array", + "items": { + "type": "string" + } + }, + "fingerprint": { + "description": "Fingerprint of the target pools information, which is a hash of the contents. This field is used for optimistic locking when you update the target pool entries. This field is optional.", "type": "string", - "description": "Service Directory service to register the forwarding rule under." + "format": "byte" + } + } + }, + "RegionInstanceGroupManagersListInstancesResponse": { + "id": "RegionInstanceGroupManagersListInstancesResponse", + "type": "object", + "properties": { + "managedInstances": { + "description": "A list of managed instances.", + "type": "array", + "items": { + "$ref": "ManagedInstance" + } }, - "serviceDirectoryRegion": { - "description": "[Optional] Service Directory region to register this global forwarding rule under. Default to \"us-central1\". Only used for PSC for Google APIs. All PSC for Google APIs Forwarding Rules on the same network should use the same Service Directory region.", + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", "type": "string" + } + } + }, + "RegionInstanceGroupManagersListErrorsResponse": { + "id": "RegionInstanceGroupManagersListErrorsResponse", + "type": "object", + "properties": { + "items": { + "description": "[Output Only] The list of errors of the managed instance group.", + "type": "array", + "items": { + "$ref": "InstanceManagedByIgmError" + } }, - "namespace": { - "description": "Service Directory namespace to register the forwarding rule under.", + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", "type": "string" } - }, - "type": "object", - "id": "ForwardingRuleServiceDirectoryRegistration" + } }, - "CommitmentsScopedList": { + "RegionInstanceGroupManagersListInstanceConfigsResp": { + "id": "RegionInstanceGroupManagersListInstanceConfigsResp", "type": "object", - "id": "CommitmentsScopedList", "properties": { + "items": { + "description": "[Output Only] The list of PerInstanceConfig.", + "type": "array", + "items": { + "$ref": "PerInstanceConfig" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, "warning": { + "description": "[Output Only] Informational warning message.", "type": "object", - "description": "[Output Only] Informational warning which replaces the list of commitments when the list is empty.", "properties": { "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -12174,6 +13028,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -12192,8 +13047,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "type": "string", + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -12205,6 +13088,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -12224,259 +13108,172 @@ "UNREACHABLE" ] }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, "data": { "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", "type": "array", "items": { "type": "object", "properties": { - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - }, "key": { "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" } } } - }, - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." } } - }, - "commitments": { - "items": { - "$ref": "Commitment" - }, + } + } + }, + "RegionInstanceGroupManagerUpdateInstanceConfigReq": { + "id": "RegionInstanceGroupManagerUpdateInstanceConfigReq", + "description": "RegionInstanceGroupManagers.updatePerInstanceConfigs", + "type": "object", + "properties": { + "perInstanceConfigs": { + "description": "The list of per-instance configurations to insert or patch on this managed instance group.", "type": "array", - "description": "[Output Only] A list of commitments contained in this scope." + "items": { + "$ref": "PerInstanceConfig" + } } } }, - "AdvancedMachineFeatures": { + "RegionInstanceGroupManagerPatchInstanceConfigReq": { + "id": "RegionInstanceGroupManagerPatchInstanceConfigReq", + "description": "RegionInstanceGroupManagers.patchPerInstanceConfigs", + "type": "object", "properties": { - "enableUefiNetworking": { - "type": "boolean", - "description": "Whether to enable UEFI networking for instance creation." - }, - "visibleCoreCount": { - "type": "integer", - "description": "The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance's nominal CPU count and the underlying platform's SMT width.", - "format": "int32" - }, - "threadsPerCore": { - "format": "int32", - "description": "The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.", - "type": "integer" - }, - "enableNestedVirtualization": { - "type": "boolean", - "description": "Whether to enable nested virtualization or not (default is false)." + "perInstanceConfigs": { + "description": "The list of per-instance configurations to insert or patch on this managed instance group.", + "type": "array", + "items": { + "$ref": "PerInstanceConfig" + } } - }, + } + }, + "RegionInstanceGroupManagerDeleteInstanceConfigReq": { + "id": "RegionInstanceGroupManagerDeleteInstanceConfigReq", + "description": "RegionInstanceGroupManagers.deletePerInstanceConfigs", "type": "object", - "description": "Specifies options for controlling advanced machine features. Options that would traditionally be configured in a BIOS belong here. Features that require operating system support may have corresponding entries in the GuestOsFeatures of an Image (e.g., whether or not the OS in the Image supports nested virtualization being enabled or disabled).", - "id": "AdvancedMachineFeatures" + "properties": { + "names": { + "description": "The list of instance names for which we want to delete per-instance configs on this managed instance group.", + "type": "array", + "items": { + "type": "string" + } + } + } }, - "NodeTemplateList": { + "RegionInstanceGroupManagersApplyUpdatesRequest": { + "id": "RegionInstanceGroupManagersApplyUpdatesRequest", + "description": "RegionInstanceGroupManagers.applyUpdatesToInstances", "type": "object", "properties": { - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." - }, - "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." + "instances": { + "description": "The list of URLs of one or more instances for which you want to apply updates. Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].", + "type": "array", + "items": { + "type": "string" + } }, - "kind": { - "default": "compute#nodeTemplateList", + "minimalAction": { + "description": "The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance and limit disruption as much as possible. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update.", "type": "string", - "description": "[Output Only] Type of resource.Always compute#nodeTemplateList for lists of node templates." - }, - "warning": { - "description": "[Output Only] Informational warning message.", - "type": "object", - "properties": { - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, - "data": { - "type": "array", - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "items": { - "properties": { - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - }, - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - } - }, - "type": "object" - } - }, - "code": { - "type": "string", - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ] - } - } + "enumDescriptions": [ + "Do not perform any action.", + "Do not stop the instance.", + "(Default.) Replace the instance according to the replacement method option.", + "Stop the instance and start it again." + ], + "enum": [ + "NONE", + "REFRESH", + "REPLACE", + "RESTART" + ] }, - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", - "type": "string" + "mostDisruptiveAllowedAction": { + "description": "The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance and limit disruption as much as possible. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail.", + "type": "string", + "enumDescriptions": [ + "Do not perform any action.", + "Do not stop the instance.", + "(Default.) Replace the instance according to the replacement method option.", + "Stop the instance and start it again." + ], + "enum": [ + "NONE", + "REFRESH", + "REPLACE", + "RESTART" + ] }, - "items": { - "items": { - "$ref": "NodeTemplate" - }, + "allInstances": { + "description": "Flag to update all instances instead of specified list of “instances”. If the flag is set to true then the instances may not be specified in the request.", + "type": "boolean" + } + } + }, + "RegionInstanceGroupManagersCreateInstancesRequest": { + "id": "RegionInstanceGroupManagersCreateInstancesRequest", + "description": "RegionInstanceGroupManagers.createInstances", + "type": "object", + "properties": { + "instances": { + "description": "[Required] List of specifications of per-instance configs.", "type": "array", - "description": "A list of NodeTemplate resources." + "items": { + "$ref": "PerInstanceConfig" + } } - }, - "id": "NodeTemplateList", - "description": "Contains a list of node templates." + } }, - "SerialPortOutput": { - "description": "An instance serial console output.", + "AutoscalerList": { + "id": "AutoscalerList", + "description": "Contains a list of Autoscaler resources.", "type": "object", "properties": { - "start": { - "format": "int64", - "description": "The starting byte position of the output that was returned. This should match the start parameter sent with the request. If the serial console output exceeds the size of the buffer (1 MB), older output is overwritten by newer content. The output start value will indicate the byte position of the output that was returned, which might be different than the `start` value that was specified in the request.", + "kind": { + "description": "[Output Only] Type of resource. Always compute#autoscalerList for lists of autoscalers.", + "default": "compute#autoscalerList", "type": "string" }, - "contents": { - "type": "string", - "description": "[Output Only] The contents of the console output." + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" }, - "next": { - "format": "int64", - "description": "[Output Only] The position of the next byte of content, regardless of whether the content exists, following the output returned in the `contents` property. Use this value in the next request as the start parameter.", + "items": { + "description": "A list of Autoscaler resources.", + "type": "array", + "items": { + "$ref": "Autoscaler" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", "type": "string" }, "selfLink": { "description": "[Output Only] Server-defined URL for this resource.", "type": "string" }, - "kind": { - "type": "string", - "default": "compute#serialPortOutput", - "description": "[Output Only] Type of the resource. Always compute#serialPortOutput for serial port output." - } - }, - "id": "SerialPortOutput" - }, - "SecurityPolicyRuleMatcherConfig": { - "properties": { - "srcIpRanges": { - "items": { - "type": "string" - }, - "description": "CIDR IP address range. Maximum number of src_ip_ranges allowed is 10.", - "type": "array" - } - }, - "id": "SecurityPolicyRuleMatcherConfig", - "type": "object" - }, - "AutoscalersScopedList": { - "properties": { - "autoscalers": { - "items": { - "$ref": "Autoscaler" - }, - "type": "array", - "description": "[Output Only] A list of autoscalers contained in this scope." - }, "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { - "data": { - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "type": "array", - "items": { - "properties": { - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - }, - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - } - }, - "type": "object" - } - }, - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", @@ -12489,6 +13286,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -12507,58 +13305,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response." - } - }, - "description": "[Output Only] Informational warning which replaces the list of autoscalers when the list is empty.", - "type": "object" - } - }, - "id": "AutoscalersScopedList", - "type": "object" - }, - "VpnTunnelList": { - "type": "object", - "id": "VpnTunnelList", - "properties": { - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", - "type": "string" - }, - "warning": { - "type": "object", - "properties": { - "code": { - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -12570,6 +13346,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -12587,270 +13364,575 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], - "type": "string", - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." ] }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", "items": { "type": "object", "properties": { - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - }, "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" } } - }, - "type": "array", - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } " - }, - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." + } } - }, - "description": "[Output Only] Informational warning message." - }, - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", - "type": "string" - }, - "items": { - "type": "array", - "items": { - "$ref": "VpnTunnel" - }, - "description": "A list of VpnTunnel resources." - }, + } + } + } + }, + "Autoscaler": { + "id": "Autoscaler", + "description": "Represents an Autoscaler resource. Google Compute Engine has two Autoscaler resources: * [Zonal](/compute/docs/reference/rest/v1/autoscalers) * [Regional](/compute/docs/reference/rest/v1/regionAutoscalers) Use autoscalers to automatically add or delete instances from a managed instance group according to your defined autoscaling policy. For more information, read Autoscaling Groups of Instances. For zonal managed instance groups resource, use the autoscaler resource. For regional managed instance groups, use the regionAutoscalers resource.", + "type": "object", + "properties": { "kind": { - "type": "string", - "description": "[Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels.", - "default": "compute#vpnTunnelList" + "description": "[Output Only] Type of the resource. Always compute#autoscaler for autoscalers.", + "default": "compute#autoscaler", + "type": "string" }, "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." - } - }, - "description": "Contains a list of VpnTunnel resources." - }, - "SslPoliciesAggregatedList": { - "properties": { - "unreachables": { - "description": "[Output Only] Unreachable resources.", - "items": { - "type": "string" - }, - "type": "array" + "format": "uint64" }, - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", "type": "string" }, - "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "name": { + "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "annotations": { + "required": [ + "compute.autoscalers.insert" + ] + }, "type": "string" }, - "etag": { + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource.", "type": "string" }, - "warning": { - "description": "[Output Only] Informational warning message.", - "properties": { - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - }, - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - } - } - }, - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } " - }, - "code": { - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ], - "type": "string", - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response." - }, - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - } - }, - "type": "object" + "target": { + "description": "URL of the managed instance group that this autoscaler will scale. This field is required when creating an autoscaler.", + "type": "string" }, - "items": { - "type": "object", - "additionalProperties": { - "description": "Name of the scope containing this set of SSL policies.", - "$ref": "SslPoliciesScopedList" - }, - "description": "A list of SslPoliciesScopedList resources." + "autoscalingPolicy": { + "description": "The configuration parameters for the autoscaling algorithm. You can define one or more signals for an autoscaler: cpuUtilization, customMetricUtilizations, and loadBalancingUtilization. If none of these are specified, the default will be to autoscale based on cpuUtilization to 0.6 or 60%.", + "$ref": "AutoscalingPolicy" }, - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "zone": { + "description": "[Output Only] URL of the zone where the instance group resides (for autoscalers living in zonal scope).", "type": "string" }, - "kind": { - "default": "compute#sslPoliciesAggregatedList", + "region": { + "description": "[Output Only] URL of the region where the instance group resides (for autoscalers living in regional scope).", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", + "type": "string" + }, + "status": { + "description": "[Output Only] The status of the autoscaler configuration. Current set of possible values: - PENDING: Autoscaler backend hasn't read new/updated configuration. - DELETING: Configuration is being deleted. - ACTIVE: Configuration is acknowledged to be effective. Some warnings might be present in the statusDetails field. - ERROR: Configuration has errors. Actionable for users. Details are present in the statusDetails field. New values might be added in the future.", "type": "string", - "description": "[Output Only] Type of resource. Always compute#sslPolicyAggregatedList for lists of SSL Policies." - } - }, - "type": "object", - "id": "SslPoliciesAggregatedList" - }, - "SecurityPolicyAdvancedOptionsConfigJsonCustomConfig": { - "type": "object", - "properties": { - "contentTypes": { + "enumDescriptions": [ + "Configuration is acknowledged to be effective", + "Configuration is being deleted", + "Configuration has errors. Actionable for users.", + "Autoscaler backend hasn't read new/updated configuration" + ], + "enum": [ + "ACTIVE", + "DELETING", + "ERROR", + "PENDING" + ] + }, + "statusDetails": { + "description": "[Output Only] Human-readable details about the current state of the autoscaler. Read the documentation for Commonly returned status messages for examples of status messages you might encounter.", "type": "array", - "description": "A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type \"/\" subtype *[\";\" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded.", "items": { - "type": "string" + "$ref": "AutoscalerStatusDetails" + } + }, + "recommendedSize": { + "description": "[Output Only] Target recommended MIG size (number of instances) computed by autoscaler. Autoscaler calculates the recommended MIG size even when the autoscaling policy mode is different from ON. This field is empty when autoscaler is not connected to an existing managed instance group or autoscaler did not generate its prediction.", + "type": "integer", + "format": "int32" + }, + "scalingScheduleStatus": { + "description": "[Output Only] Status information of existing scaling schedules.", + "type": "object", + "additionalProperties": { + "$ref": "ScalingScheduleStatus" } } - }, - "id": "SecurityPolicyAdvancedOptionsConfigJsonCustomConfig" + } }, - "InstanceList": { + "AutoscalingPolicy": { + "id": "AutoscalingPolicy", + "description": "Cloud Autoscaler policy.", "type": "object", - "id": "InstanceList", - "description": "Contains a list of instances.", "properties": { - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." - }, - "kind": { - "default": "compute#instanceList", - "type": "string", - "description": "[Output Only] Type of resource. Always compute#instanceList for lists of Instance resources." + "minNumReplicas": { + "description": "The minimum number of replicas that the autoscaler can scale in to. This cannot be less than 0. If not provided, autoscaler chooses a default value depending on maximum number of instances allowed.", + "type": "integer", + "format": "int32" }, - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." + "maxNumReplicas": { + "description": "The maximum number of instances that the autoscaler can scale out to. This is required when creating or updating an autoscaler. The maximum number of replicas must not be lower than minimal number of replicas.", + "type": "integer", + "format": "int32" + }, + "scaleInControl": { + "$ref": "AutoscalingPolicyScaleInControl" + }, + "coolDownPeriodSec": { + "description": "The number of seconds that your application takes to initialize on a VM instance. This is referred to as the [initialization period](/compute/docs/autoscaler#cool_down_period). Specifying an accurate initialization period improves autoscaler decisions. For example, when scaling out, the autoscaler ignores data from VMs that are still initializing because those VMs might not yet represent normal usage of your application. The default initialization period is 60 seconds. Initialization periods might vary because of numerous factors. We recommend that you test how long your application takes to initialize. To do this, create a VM and time your application's startup process.", + "type": "integer", + "format": "int32" + }, + "cpuUtilization": { + "description": "Defines the CPU utilization policy that allows the autoscaler to scale based on the average CPU utilization of a managed instance group.", + "$ref": "AutoscalingPolicyCpuUtilization" + }, + "customMetricUtilizations": { + "description": "Configuration parameters of autoscaling based on a custom metric.", + "type": "array", + "items": { + "$ref": "AutoscalingPolicyCustomMetricUtilization" + } + }, + "loadBalancingUtilization": { + "description": "Configuration parameters of autoscaling based on load balancer.", + "$ref": "AutoscalingPolicyLoadBalancingUtilization" + }, + "mode": { + "description": "Defines the operating mode for this policy. The following modes are available: - OFF: Disables the autoscaler but maintains its configuration. - ONLY_SCALE_OUT: Restricts the autoscaler to add VM instances only. - ON: Enables all autoscaler activities according to its policy. For more information, see \"Turning off or restricting an autoscaler\"", + "type": "string", + "enumDescriptions": [ + "Do not automatically scale the MIG in or out. The recommended_size field contains the size of MIG that would be set if the actuation mode was enabled.", + "Automatically scale the MIG in and out according to the policy.", + "Automatically create VMs according to the policy, but do not scale the MIG in.", + "Automatically create VMs according to the policy, but do not scale the MIG in." + ], + "enum": [ + "OFF", + "ON", + "ONLY_SCALE_OUT", + "ONLY_UP" + ] + }, + "scalingSchedules": { + "description": "Scaling schedules defined for an autoscaler. Multiple schedules can be set on an autoscaler, and they can overlap. During overlapping periods the greatest min_required_replicas of all scaling schedules is applied. Up to 128 scaling schedules are allowed.", + "type": "object", + "additionalProperties": { + "$ref": "AutoscalingPolicyScalingSchedule" + } + } + } + }, + "AutoscalingPolicyScaleInControl": { + "id": "AutoscalingPolicyScaleInControl", + "description": "Configuration that allows for slower scale in so that even if Autoscaler recommends an abrupt scale in of a MIG, it will be throttled as specified by the parameters below.", + "type": "object", + "properties": { + "maxScaledInReplicas": { + "description": "Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step.", + "$ref": "FixedOrPercent" + }, + "timeWindowSec": { + "description": "How far back autoscaling looks when computing recommendations to include directives regarding slower scale in, as described above.", + "type": "integer", + "format": "int32" + } + } + }, + "AutoscalingPolicyCpuUtilization": { + "id": "AutoscalingPolicyCpuUtilization", + "description": "CPU utilization policy.", + "type": "object", + "properties": { + "utilizationTarget": { + "description": "The target CPU utilization that the autoscaler maintains. Must be a float value in the range (0, 1]. If not specified, the default is 0.6. If the CPU level is below the target utilization, the autoscaler scales in the number of instances until it reaches the minimum number of instances you specified or until the average CPU of your instances reaches the target utilization. If the average CPU is above the target utilization, the autoscaler scales out until it reaches the maximum number of instances you specified or until the average utilization reaches the target utilization.", + "type": "number", + "format": "double" + }, + "predictiveMethod": { + "description": "Indicates whether predictive autoscaling based on CPU metric is enabled. Valid values are: * NONE (default). No predictive method is used. The autoscaler scales the group to meet current demand based on real-time metrics. * OPTIMIZE_AVAILABILITY. Predictive autoscaling improves availability by monitoring daily and weekly load patterns and scaling out ahead of anticipated demand.", + "type": "string", + "enumDescriptions": [ + "No predictive method is used. The autoscaler scales the group to meet current demand based on real-time metrics", + "Predictive autoscaling improves availability by monitoring daily and weekly load patterns and scaling out ahead of anticipated demand." + ], + "enum": [ + "NONE", + "OPTIMIZE_AVAILABILITY" + ] + } + } + }, + "AutoscalingPolicyCustomMetricUtilization": { + "id": "AutoscalingPolicyCustomMetricUtilization", + "description": "Custom utilization metric policy.", + "type": "object", + "properties": { + "metric": { + "description": "The identifier (type) of the Stackdriver Monitoring metric. The metric cannot have negative values. The metric must have a value type of INT64 or DOUBLE.", + "type": "string" + }, + "filter": { + "description": "A filter string, compatible with a Stackdriver Monitoring filter string for TimeSeries.list API call. This filter is used to select a specific TimeSeries for the purpose of autoscaling and to determine whether the metric is exporting per-instance or per-group data. For the filter to be valid for autoscaling purposes, the following rules apply: - You can only use the AND operator for joining selectors. - You can only use direct equality comparison operator (=) without any functions for each selector. - You can specify the metric in both the filter string and in the metric field. However, if specified in both places, the metric must be identical. - The monitored resource type determines what kind of values are expected for the metric. If it is a gce_instance, the autoscaler expects the metric to include a separate TimeSeries for each instance in a group. In such a case, you cannot filter on resource labels. If the resource type is any other value, the autoscaler expects this metric to contain values that apply to the entire autoscaled instance group and resource label filtering can be performed to point autoscaler at the correct TimeSeries to scale upon. This is called a *per-group metric* for the purpose of autoscaling. If not specified, the type defaults to gce_instance. Try to provide a filter that is selective enough to pick just one TimeSeries for the autoscaled group or for each of the instances (if you are using gce_instance resource type). If multiple TimeSeries are returned upon the query execution, the autoscaler will sum their respective values to obtain its scaling value.", + "type": "string" + }, + "utilizationTarget": { + "description": "The target value of the metric that autoscaler maintains. This must be a positive value. A utilization metric scales number of virtual machines handling requests to increase or decrease proportionally to the metric. For example, a good metric to use as a utilization_target is https://www.googleapis.com/compute/v1/instance/network/received_bytes_count. The autoscaler works to keep this value constant for each of the instances.", + "type": "number", + "format": "double" + }, + "singleInstanceAssignment": { + "description": "If scaling is based on a per-group metric value that represents the total amount of work to be done or resource usage, set this value to an amount assigned for a single instance of the scaled group. Autoscaler keeps the number of instances proportional to the value of this metric. The metric itself does not change value due to group resizing. A good metric to use with the target is for example pubsub.googleapis.com/subscription/num_undelivered_messages or a custom metric exporting the total number of requests coming to your instances. A bad example would be a metric exporting an average or median latency, since this value can't include a chunk assignable to a single instance, it could be better used with utilization_target instead.", + "type": "number", + "format": "double" + }, + "utilizationTargetType": { + "description": "Defines how target utilization value is expressed for a Stackdriver Monitoring metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE.", + "type": "string", + "enumDescriptions": [ + "Sets the utilization target value for a cumulative or delta metric, expressed as the rate of growth per minute.", + "Sets the utilization target value for a cumulative or delta metric, expressed as the rate of growth per second.", + "Sets the utilization target value for a gauge metric. The autoscaler will collect the average utilization of the virtual machines from the last couple of minutes, and compare the value to the utilization target value to perform autoscaling." + ], + "enum": [ + "DELTA_PER_MINUTE", + "DELTA_PER_SECOND", + "GAUGE" + ] + } + } + }, + "AutoscalingPolicyLoadBalancingUtilization": { + "id": "AutoscalingPolicyLoadBalancingUtilization", + "description": "Configuration parameters of autoscaling based on load balancing.", + "type": "object", + "properties": { + "utilizationTarget": { + "description": "Fraction of backend capacity utilization (set in HTTP(S) load balancing configuration) that the autoscaler maintains. Must be a positive float value. If not defined, the default is 0.8.", + "type": "number", + "format": "double" + } + } + }, + "AutoscalingPolicyScalingSchedule": { + "id": "AutoscalingPolicyScalingSchedule", + "description": "Scaling based on user-defined schedule. The message describes a single scaling schedule. A scaling schedule changes the minimum number of VM instances an autoscaler can recommend, which can trigger scaling out.", + "type": "object", + "properties": { + "minRequiredReplicas": { + "description": "The minimum number of VM instances that the autoscaler will recommend in time intervals starting according to schedule. This field is required.", + "type": "integer", + "format": "int32" + }, + "schedule": { + "description": "The start timestamps of time intervals when this scaling schedule is to provide a scaling signal. This field uses the extended cron format (with an optional year field). The expression can describe a single timestamp if the optional year is set, in which case the scaling schedule runs once. The schedule is interpreted with respect to time_zone. This field is required. Note: These timestamps only describe when autoscaler starts providing the scaling signal. The VMs need additional time to become serving.", + "type": "string" + }, + "timeZone": { + "description": "The time zone to use when interpreting the schedule. The value of this field must be a time zone name from the tz database: https://en.wikipedia.org/wiki/Tz_database. This field is assigned a default value of \"UTC\" if left empty.", + "type": "string" + }, + "durationSec": { + "description": "The duration of time intervals, in seconds, for which this scaling schedule is to run. The minimum allowed value is 300. This field is required.", + "type": "integer", + "format": "int32" + }, + "disabled": { + "description": "A boolean value that specifies whether a scaling schedule can influence autoscaler recommendations. If set to true, then a scaling schedule has no effect. This field is optional, and its value is false by default.", + "type": "boolean" + }, + "description": { + "description": "A description of a scaling schedule.", + "type": "string" + } + } + }, + "AutoscalerStatusDetails": { + "id": "AutoscalerStatusDetails", + "type": "object", + "properties": { + "message": { + "description": "The status message.", + "type": "string" + }, + "type": { + "description": "The type of error, warning, or notice returned. Current set of possible values: - ALL_INSTANCES_UNHEALTHY (WARNING): All instances in the instance group are unhealthy (not in RUNNING state). - BACKEND_SERVICE_DOES_NOT_EXIST (ERROR): There is no backend service attached to the instance group. - CAPPED_AT_MAX_NUM_REPLICAS (WARNING): Autoscaler recommends a size greater than maxNumReplicas. - CUSTOM_METRIC_DATA_POINTS_TOO_SPARSE (WARNING): The custom metric samples are not exported often enough to be a credible base for autoscaling. - CUSTOM_METRIC_INVALID (ERROR): The custom metric that was specified does not exist or does not have the necessary labels. - MIN_EQUALS_MAX (WARNING): The minNumReplicas is equal to maxNumReplicas. This means the autoscaler cannot add or remove instances from the instance group. - MISSING_CUSTOM_METRIC_DATA_POINTS (WARNING): The autoscaler did not receive any data from the custom metric configured for autoscaling. - MISSING_LOAD_BALANCING_DATA_POINTS (WARNING): The autoscaler is configured to scale based on a load balancing signal but the instance group has not received any requests from the load balancer. - MODE_OFF (WARNING): Autoscaling is turned off. The number of instances in the group won't change automatically. The autoscaling configuration is preserved. - MODE_ONLY_UP (WARNING): Autoscaling is in the \"Autoscale only out\" mode. The autoscaler can add instances but not remove any. - MORE_THAN_ONE_BACKEND_SERVICE (ERROR): The instance group cannot be autoscaled because it has more than one backend service attached to it. - NOT_ENOUGH_QUOTA_AVAILABLE (ERROR): There is insufficient quota for the necessary resources, such as CPU or number of instances. - REGION_RESOURCE_STOCKOUT (ERROR): Shown only for regional autoscalers: there is a resource stockout in the chosen region. - SCALING_TARGET_DOES_NOT_EXIST (ERROR): The target to be scaled does not exist. - UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFIGURATION (ERROR): Autoscaling does not work with an HTTP/S load balancer that has been configured for maxRate. - ZONE_RESOURCE_STOCKOUT (ERROR): For zonal autoscalers: there is a resource stockout in the chosen zone. For regional autoscalers: in at least one of the zones you're using there is a resource stockout. New values might be added in the future. Some of the values might not be available in all API versions.", + "type": "string", + "enumDescriptions": [ + "All instances in the instance group are unhealthy (not in RUNNING state).", + "There is no backend service attached to the instance group.", + "Autoscaler recommends a size greater than maxNumReplicas.", + "The custom metric samples are not exported often enough to be a credible base for autoscaling.", + "The custom metric that was specified does not exist or does not have the necessary labels.", + "The minNumReplicas is equal to maxNumReplicas. This means the autoscaler cannot add or remove instances from the instance group.", + "The autoscaler did not receive any data from the custom metric configured for autoscaling.", + "The autoscaler is configured to scale based on a load balancing signal but the instance group has not received any requests from the load balancer.", + "Autoscaling is turned off. The number of instances in the group won't change automatically. The autoscaling configuration is preserved.", + "Autoscaling is in the \"Autoscale only scale out\" mode. Instances in the group will be only added.", + "Autoscaling is in the \"Autoscale only out\" mode. Instances in the group will be only added.", + "The instance group cannot be autoscaled because it has more than one backend service attached to it.", + "There is insufficient quota for the necessary resources, such as CPU or number of instances.", + "Showed only for regional autoscalers: there is a resource stockout in the chosen region.", + "The target to be scaled does not exist.", + "For some scaling schedules minRequiredReplicas is greater than maxNumReplicas. Autoscaler always recommends at most maxNumReplicas instances.", + "For some scaling schedules minRequiredReplicas is less than minNumReplicas. Autoscaler always recommends at least minNumReplicas instances.", + "", + "Autoscaling does not work with an HTTP/S load balancer that has been configured for maxRate.", + "For zonal autoscalers: there is a resource stockout in the chosen zone. For regional autoscalers: in at least one of the zones you're using there is a resource stockout." + ], + "enum": [ + "ALL_INSTANCES_UNHEALTHY", + "BACKEND_SERVICE_DOES_NOT_EXIST", + "CAPPED_AT_MAX_NUM_REPLICAS", + "CUSTOM_METRIC_DATA_POINTS_TOO_SPARSE", + "CUSTOM_METRIC_INVALID", + "MIN_EQUALS_MAX", + "MISSING_CUSTOM_METRIC_DATA_POINTS", + "MISSING_LOAD_BALANCING_DATA_POINTS", + "MODE_OFF", + "MODE_ONLY_SCALE_OUT", + "MODE_ONLY_UP", + "MORE_THAN_ONE_BACKEND_SERVICE", + "NOT_ENOUGH_QUOTA_AVAILABLE", + "REGION_RESOURCE_STOCKOUT", + "SCALING_TARGET_DOES_NOT_EXIST", + "SCHEDULED_INSTANCES_GREATER_THAN_AUTOSCALER_MAX", + "SCHEDULED_INSTANCES_LESS_THAN_AUTOSCALER_MIN", + "UNKNOWN", + "UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFIGURATION", + "ZONE_RESOURCE_STOCKOUT" + ] + } + } + }, + "ScalingScheduleStatus": { + "id": "ScalingScheduleStatus", + "type": "object", + "properties": { + "nextStartTime": { + "description": "[Output Only] The next time the scaling schedule is to become active. Note: this is a timestamp when a schedule is planned to run, but the actual time might be slightly different. The timestamp is in RFC3339 text format.", + "type": "string" + }, + "lastStartTime": { + "description": "[Output Only] The last time the scaling schedule became active. Note: this is a timestamp when a schedule actually became active, not when it was planned to do so. The timestamp is in RFC3339 text format.", + "type": "string" + }, + "state": { + "description": "[Output Only] The current state of a scaling schedule.", + "type": "string", + "enumDescriptions": [ + "The current autoscaling recommendation is influenced by this scaling schedule.", + "This scaling schedule has been disabled by the user.", + "This scaling schedule will never become active again.", + "The current autoscaling recommendation is not influenced by this scaling schedule." + ], + "enum": [ + "ACTIVE", + "DISABLED", + "OBSOLETE", + "READY" + ] + } + } + }, + "AutoscalerAggregatedList": { + "id": "AutoscalerAggregatedList", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of resource. Always compute#autoscalerAggregatedList for aggregated lists of autoscalers.", + "default": "compute#autoscalerAggregatedList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of AutoscalersScopedList resources.", + "type": "object", + "additionalProperties": { + "description": "[Output Only] Name of the scope containing this set of autoscalers.", + "$ref": "AutoscalersScopedList" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" }, "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, "data": { "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", "items": { "type": "object", "properties": { - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - }, "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" } } - }, - "type": "array" - }, - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, + } + } + } + }, + "unreachables": { + "description": "[Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "AutoscalersScopedList": { + "id": "AutoscalersScopedList", + "type": "object", + "properties": { + "autoscalers": { + "description": "[Output Only] A list of autoscalers contained in this scope.", + "type": "array", + "items": { + "$ref": "Autoscaler" + } + }, + "warning": { + "description": "[Output Only] Informational warning which replaces the list of autoscalers when the list is empty.", + "type": "object", + "properties": { "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -12862,6 +13944,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -12880,8 +13963,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "type": "string", + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -12893,6 +14004,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -12911,71 +14023,67 @@ "UNDECLARED_PROPERTIES", "UNREACHABLE" ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } } - }, - "description": "[Output Only] Informational warning message.", - "type": "object" + } + } + } + }, + "RegionAutoscalerList": { + "id": "RegionAutoscalerList", + "description": "Contains a list of autoscalers.", + "type": "object", + "properties": { + "kind": { + "description": "Type of resource.", + "default": "compute#regionAutoscalerList", + "type": "string" }, "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" }, "items": { + "description": "A list of Autoscaler resources.", "type": "array", - "description": "A list of Instance resources.", "items": { - "$ref": "Instance" + "$ref": "Autoscaler" } - } - } - }, - "HttpHeaderAction": { - "description": "The request and response header transformations that take effect before the request is passed along to the selected backendService.", - "id": "HttpHeaderAction", - "properties": { - "requestHeadersToAdd": { - "description": "Headers to add to a matching request before forwarding the request to the backendService.", - "items": { - "$ref": "HttpHeaderOption" - }, - "type": "array" }, - "responseHeadersToAdd": { - "items": { - "$ref": "HttpHeaderOption" - }, - "description": "Headers to add the response before sending the response back to the client.", - "type": "array" + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" }, - "requestHeadersToRemove": { - "items": { - "type": "string" - }, - "type": "array", - "description": "A list of header names for headers that need to be removed from the request before forwarding the request to the backendService." + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" }, - "responseHeadersToRemove": { - "items": { - "type": "string" - }, - "type": "array", - "description": "A list of header names for headers that need to be removed from the response before sending the response back to the client." - } - }, - "type": "object" - }, - "RegionInstanceGroupsListInstances": { - "type": "object", - "id": "RegionInstanceGroupsListInstances", - "properties": { "warning": { "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - }, "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", @@ -12988,6 +14096,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -13006,7 +14115,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -13018,6 +14156,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -13037,200 +14176,67 @@ "UNREACHABLE" ] }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, "data": { "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", "type": "array", "items": { "type": "object", "properties": { - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - }, "key": { "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" } } } } - }, - "type": "object" + } + } + } + }, + "BackendBucketList": { + "id": "BackendBucketList", + "description": "Contains a list of BackendBucket resources.", + "type": "object", + "properties": { + "kind": { + "description": "Type of resource.", + "default": "compute#backendBucketList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" }, "items": { + "description": "A list of BackendBucket resources.", + "type": "array", "items": { - "$ref": "InstanceWithNamedPorts" - }, - "description": "A list of InstanceWithNamedPorts resources.", - "type": "array" + "$ref": "BackendBucket" + } }, "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." - }, - "kind": { - "type": "string", - "description": "The resource type.", - "default": "compute#regionInstanceGroupsListInstances" + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" }, "selfLink": { "description": "[Output Only] Server-defined URL for this resource.", "type": "string" }, - "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", - "type": "string" - } - } - }, - "HttpFaultInjection": { - "id": "HttpFaultInjection", - "type": "object", - "properties": { - "abort": { - "$ref": "HttpFaultAbort", - "description": "The specification for how client requests are aborted as part of fault injection." - }, - "delay": { - "$ref": "HttpFaultDelay", - "description": "The specification for how client requests are delayed as part of fault injection, before being sent to a backend service." - } - }, - "description": "The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by the load balancer on a percentage of requests before sending those request to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests." - }, - "FileContentBuffer": { - "properties": { - "fileType": { - "type": "string", - "enumDescriptions": [ - "", - "", - "" - ], - "description": "The file type of source file.", - "enum": [ - "BIN", - "UNDEFINED", - "X509" - ] - }, - "content": { - "type": "string", - "format": "byte", - "description": "The raw content in the secure keys file." - } - }, - "type": "object", - "id": "FileContentBuffer" - }, - "Tags": { - "type": "object", - "description": "A set of instance tags.", - "properties": { - "items": { - "description": "An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035.", - "type": "array", - "items": { - "type": "string" - }, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" - }, - "fingerprint": { - "description": "Specifies a fingerprint for this request, which is essentially a hash of the tags' contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update tags. You must always provide an up-to-date fingerprint hash in order to update or change tags. To see the latest fingerprint, make get() request to the instance.", - "type": "string", - "format": "byte" - } - }, - "id": "Tags" - }, - "ProjectsSetDefaultNetworkTierRequest": { - "id": "ProjectsSetDefaultNetworkTierRequest", - "type": "object", - "properties": { - "networkTier": { - "type": "string", - "enumDescriptions": [ - "Public internet quality with fixed bandwidth.", - "High quality, Google-grade network tier, support for all networking products.", - "Public internet quality, only limited support for other networking products.", - "(Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured." - ], - "description": "Default network tier to be set.", - "enum": [ - "FIXED_STANDARD", - "PREMIUM", - "STANDARD", - "STANDARD_OVERRIDES_FIXED_STANDARD" - ] - } - } - }, - "InstanceGroupManagerAggregatedList": { - "type": "object", - "properties": { - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." - }, - "unreachables": { - "description": "[Output Only] Unreachable resources.", - "items": { - "type": "string" - }, - "type": "array" - }, "warning": { + "description": "[Output Only] Informational warning message.", "type": "object", "properties": { - "data": { - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "items": { - "properties": { - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - }, - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - } - }, - "type": "object" - }, - "type": "array" - }, "code": { - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], - "type": "string", "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -13242,6 +14248,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -13259,56 +14266,37 @@ "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", "When undeclared properties in the schema are present", "A given scope cannot be reached." - ] - }, - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - } - }, - "description": "[Output Only] Informational warning message." - }, - "items": { - "description": "A list of InstanceGroupManagersScopedList resources.", - "additionalProperties": { - "$ref": "InstanceGroupManagersScopedList", - "description": "[Output Only] The name of the scope that contains this set of managed instance groups." - }, - "type": "object" - }, - "kind": { - "default": "compute#instanceGroupManagerAggregatedList", - "description": "[Output Only] The resource type, which is always compute#instanceGroupManagerAggregatedList for an aggregated list of managed instance groups.", - "type": "string" - }, - "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." - }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." - } - }, - "id": "InstanceGroupManagerAggregatedList" - }, - "NetworkEdgeSecurityServicesScopedList": { - "type": "object", - "id": "NetworkEdgeSecurityServicesScopedList", - "properties": { - "networkEdgeSecurityServices": { - "items": { - "$ref": "NetworkEdgeSecurityService" - }, - "description": "A list of NetworkEdgeSecurityServices contained in this scope.", - "type": "array" - }, - "warning": { - "description": "Informational warning which replaces the list of security policies when the list is empty.", - "type": "object", - "properties": { - "code": { - "type": "string", + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -13320,6 +14308,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -13337,176 +14326,293 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." ] }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", "items": { + "type": "object", "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, "value": { "description": "[Output Only] A warning data value corresponding to the key.", "type": "string" - }, - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." } - }, - "type": "object" - }, - "type": "array", - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } " - }, - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." + } + } } } } } }, - "ResourcePolicySnapshotSchedulePolicyRetentionPolicy": { + "BackendBucket": { + "id": "BackendBucket", + "description": "Represents a Cloud Storage Bucket resource. This Cloud Storage bucket resource is referenced by a URL map of a load balancer. For more information, read Backend Buckets.", "type": "object", "properties": { - "maxRetentionDays": { - "format": "int32", - "description": "Maximum age of the snapshot that is allowed to be kept.", - "type": "integer" + "kind": { + "description": "Type of the resource.", + "default": "compute#backendBucket", + "type": "string" }, - "onSourceDiskDelete": { - "description": "Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.", + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", "type": "string", - "enum": [ - "APPLY_RETENTION_POLICY", - "KEEP_AUTO_SNAPSHOTS", - "UNSPECIFIED_ON_SOURCE_DISK_DELETE" + "format": "uint64" + }, + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" + }, + "name": { + "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "type": "string" + }, + "description": { + "description": "An optional textual description of the resource; provided by the client when the resource is created.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", + "type": "string" + }, + "bucketName": { + "description": "Cloud Storage bucket name.", + "type": "string" + }, + "enableCdn": { + "description": "If true, enable Cloud CDN for this BackendBucket.", + "type": "boolean" + }, + "cdnPolicy": { + "description": "Cloud CDN configuration for this BackendBucket.", + "$ref": "BackendBucketCdnPolicy" + }, + "customResponseHeaders": { + "description": "Headers that the Application Load Balancer should add to proxied responses.", + "type": "array", + "items": { + "type": "string" + } + }, + "edgeSecurityPolicy": { + "description": "[Output Only] The resource URL for the edge security policy associated with this backend bucket.", + "type": "string" + }, + "compressionMode": { + "description": "Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.", + "type": "string", + "enumDescriptions": [ + "Automatically uses the best compression based on the Accept-Encoding header sent by the client.", + "Disables compression. Existing compressed responses cached by Cloud CDN will not be served to clients." ], + "enum": [ + "AUTOMATIC", + "DISABLED" + ] + } + } + }, + "BackendBucketCdnPolicy": { + "id": "BackendBucketCdnPolicy", + "description": "Message containing Cloud CDN configuration for a backend bucket.", + "type": "object", + "properties": { + "signedUrlKeyNames": { + "description": "[Output Only] Names of the keys for signing request URLs.", + "type": "array", + "items": { + "type": "string" + } + }, + "signedUrlCacheMaxAgeSec": { + "description": "Maximum number of seconds the response to a signed URL request will be considered fresh. After this time period, the response will be revalidated before being served. Defaults to 1hr (3600s). When serving responses to signed URL requests, Cloud CDN will internally behave as though all responses from this backend had a \"Cache-Control: public, max-age=[TTL]\" header, regardless of any existing Cache-Control header. The actual headers served in responses will not be altered.", + "type": "string", + "format": "int64" + }, + "requestCoalescing": { + "description": "If true then Cloud CDN will combine multiple concurrent cache fill requests into a small number of requests to the origin.", + "type": "boolean" + }, + "cacheMode": { + "description": "Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. FORCE_CACHE_ALL Cache all content, ignoring any \"private\", \"no-store\" or \"no-cache\" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached.", + "type": "string", "enumDescriptions": [ + "Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached.", + "Cache all content, ignoring any \"private\", \"no-store\" or \"no-cache\" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content.", "", - "", - "" + "Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server." + ], + "enum": [ + "CACHE_ALL_STATIC", + "FORCE_CACHE_ALL", + "INVALID_CACHE_MODE", + "USE_ORIGIN_HEADERS" ] + }, + "defaultTtl": { + "description": "Specifies the default TTL for cached content served by this origin for responses that do not have an existing valid TTL (max-age or s-max-age). Setting a TTL of \"0\" means \"always revalidate\". The value of defaultTTL cannot be set to a value greater than that of maxTTL, but can be equal. When the cacheMode is set to FORCE_CACHE_ALL, the defaultTTL will overwrite the TTL set in all responses. The maximum allowed value is 31,622,400s (1 year), noting that infrequently accessed objects may be evicted from the cache before the defined TTL.", + "type": "integer", + "format": "int32" + }, + "maxTtl": { + "description": "Specifies the maximum allowed TTL for cached content served by this origin. Cache directives that attempt to set a max-age or s-maxage higher than this, or an Expires header more than maxTTL seconds in the future will be capped at the value of maxTTL, as if it were the value of an s-maxage Cache-Control directive. Headers sent to the client will not be modified. Setting a TTL of \"0\" means \"always revalidate\". The maximum allowed value is 31,622,400s (1 year), noting that infrequently accessed objects may be evicted from the cache before the defined TTL.", + "type": "integer", + "format": "int32" + }, + "clientTtl": { + "description": "Specifies a separate client (e.g. browser client) maximum TTL. This is used to clamp the max-age (or Expires) value sent to the client. With FORCE_CACHE_ALL, the lesser of client_ttl and default_ttl is used for the response max-age directive, along with a \"public\" directive. For cacheable content in CACHE_ALL_STATIC mode, client_ttl clamps the max-age from the origin (if specified), or else sets the response max-age directive to the lesser of the client_ttl and default_ttl, and also ensures a \"public\" cache-control directive is present. If a client TTL is not specified, a default value (1 hour) will be used. The maximum allowed value is 31,622,400s (1 year).", + "type": "integer", + "format": "int32" + }, + "negativeCaching": { + "description": "Negative caching allows per-status code TTLs to be set, in order to apply fine-grained caching for common errors or redirects. This can reduce the load on your origin and improve end-user experience by reducing response latency. When the cache mode is set to CACHE_ALL_STATIC or USE_ORIGIN_HEADERS, negative caching applies to responses with the specified response code that lack any Cache-Control, Expires, or Pragma: no-cache directives. When the cache mode is set to FORCE_CACHE_ALL, negative caching applies to all responses with the specified response code, and override any caching headers. By default, Cloud CDN will apply the following default TTLs to these status codes: HTTP 300 (Multiple Choice), 301, 308 (Permanent Redirects): 10m HTTP 404 (Not Found), 410 (Gone), 451 (Unavailable For Legal Reasons): 120s HTTP 405 (Method Not Found), 421 (Misdirected Request), 501 (Not Implemented): 60s. These defaults can be overridden in negative_caching_policy.", + "type": "boolean" + }, + "negativeCachingPolicy": { + "description": "Sets a cache TTL for the specified HTTP status code. negative_caching must be enabled to configure negative_caching_policy. Omitting the policy and leaving negative_caching enabled will use Cloud CDN's default cache TTLs. Note that when specifying an explicit negative_caching_policy, you should take care to specify a cache TTL for all response codes that you wish to cache. Cloud CDN will not apply any default negative caching when a policy exists.", + "type": "array", + "items": { + "$ref": "BackendBucketCdnPolicyNegativeCachingPolicy" + } + }, + "bypassCacheOnRequestHeaders": { + "description": "Bypass the cache when the specified request headers are matched - e.g. Pragma or Authorization headers. Up to 5 headers can be specified. The cache is bypassed for all cdnPolicy.cacheMode settings.", + "type": "array", + "items": { + "$ref": "BackendBucketCdnPolicyBypassCacheOnRequestHeader" + } + }, + "serveWhileStale": { + "description": "Serve existing content from the cache (if available) when revalidating content with the origin, or when an error is encountered when refreshing the cache. This setting defines the default \"max-stale\" duration for any cached responses that do not specify a max-stale directive. Stale responses that exceed the TTL configured here will not be served. The default limit (max-stale) is 86400s (1 day), which will allow stale content to be served up to this limit beyond the max-age (or s-max-age) of a cached response. The maximum allowed value is 604800 (1 week). Set this to zero (0) to disable serve-while-stale.", + "type": "integer", + "format": "int32" + }, + "cacheKeyPolicy": { + "description": "The CacheKeyPolicy for this CdnPolicy.", + "$ref": "BackendBucketCdnPolicyCacheKeyPolicy" } - }, - "id": "ResourcePolicySnapshotSchedulePolicyRetentionPolicy", - "description": "Policy for retention of scheduled snapshots." + } }, - "WafExpressionSet": { - "id": "WafExpressionSet", + "BackendBucketCdnPolicyNegativeCachingPolicy": { + "id": "BackendBucketCdnPolicyNegativeCachingPolicy", + "description": "Specify CDN TTLs for response error codes.", + "type": "object", "properties": { - "id": { - "description": "Google specified expression set ID. The format should be: - E.g. XSS-20170329 required", - "type": "string" + "code": { + "description": "The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 302, 307, 308, 404, 405, 410, 421, 451 and 501 are can be specified as values, and you cannot specify a status code more than once.", + "type": "integer", + "format": "int32" }, - "aliases": { - "description": "A list of alternate IDs. The format should be: - E.g. XSS-stable Generic suffix like \"stable\" is particularly useful if a policy likes to avail newer set of expressions without having to change the policy. A given alias name can't be used for more than one entity set.", + "ttl": { + "description": "The TTL (in seconds) for which to cache responses with the corresponding status code. The maximum allowed value is 1800s (30 minutes), noting that infrequently accessed objects may be evicted from the cache before the defined TTL.", + "type": "integer", + "format": "int32" + } + } + }, + "BackendBucketCdnPolicyBypassCacheOnRequestHeader": { + "id": "BackendBucketCdnPolicyBypassCacheOnRequestHeader", + "description": "Bypass the cache when the specified request headers are present, e.g. Pragma or Authorization headers. Values are case insensitive. The presence of such a header overrides the cache_mode setting.", + "type": "object", + "properties": { + "headerName": { + "description": "The header field name to match on when bypassing cache. Values are case-insensitive.", + "type": "string" + } + } + }, + "BackendBucketCdnPolicyCacheKeyPolicy": { + "id": "BackendBucketCdnPolicyCacheKeyPolicy", + "description": "Message containing what to include in the cache key for a request for Cloud CDN.", + "type": "object", + "properties": { + "queryStringWhitelist": { + "description": "Names of query string parameters to include in cache keys. Default parameters are always included. '&' and '=' will be percent encoded and not treated as delimiters.", "type": "array", "items": { "type": "string" } }, - "expressions": { + "includeHttpHeaders": { + "description": "Allows HTTP request headers (by name) to be used in the cache key.", "type": "array", - "description": "List of available expressions.", "items": { - "$ref": "WafExpressionSetExpression" + "type": "string" } } - }, - "type": "object" + } }, - "NodeTypesScopedList": { + "SignedUrlKey": { + "id": "SignedUrlKey", + "description": "Represents a customer-supplied Signing Key used by Cloud CDN Signed URLs", + "type": "object", "properties": { - "nodeTypes": { + "keyName": { + "description": "Name of the key. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "type": "string" + }, + "keyValue": { + "description": "128-bit key value used for signing the URL. The key value must be a valid RFC 4648 Section 5 base64url encoded string.", + "type": "string" + } + } + }, + "SecurityPolicyReference": { + "id": "SecurityPolicyReference", + "type": "object", + "properties": { + "securityPolicy": { + "type": "string" + } + } + }, + "BackendServiceList": { + "id": "BackendServiceList", + "description": "Contains a list of BackendService resources.", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of resource. Always compute#backendServiceList for lists of backend services.", + "default": "compute#backendServiceList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of BackendService resources.", + "type": "array", "items": { - "$ref": "NodeType" - }, - "description": "[Output Only] A list of node types contained in this scope.", - "type": "array" + "$ref": "BackendService" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" }, "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, - "data": { - "type": "array", - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "items": { - "type": "object", - "properties": { - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - }, - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - } - } - } - }, "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", "type": "string", - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -13518,6 +14624,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -13536,53 +14643,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response." - } - }, - "type": "object", - "description": "[Output Only] An informational warning that appears when the node types list is empty." - } - }, - "id": "NodeTypesScopedList", - "type": "object" - }, - "ShieldedInstanceIdentityEntry": { - "description": "A Shielded Instance Identity Entry.", - "properties": { - "ekCert": { - "description": "A PEM-encoded X.509 certificate. This field can be empty.", - "type": "string" - }, - "ekPub": { - "type": "string", - "description": "A PEM-encoded public key." - } - }, - "id": "ShieldedInstanceIdentityEntry", - "type": "object" - }, - "TargetPoolsScopedList": { - "id": "TargetPoolsScopedList", - "type": "object", - "properties": { - "targetPools": { - "items": { - "$ref": "TargetPool" - }, - "type": "array", - "description": "A list of target pools contained in this scope." - }, - "warning": { - "description": "Informational warning which replaces the list of addresses when the list is empty.", - "type": "object", - "properties": { - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, - "code": { - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "type": "string", + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -13594,6 +14684,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -13611,787 +14702,1040 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." ] }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, "data": { - "type": "array", "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", "items": { + "type": "object", "properties": { "key": { "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", "type": "string" }, "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" } - }, - "type": "object" + } } } } } } }, - "ProjectsEnableXpnResourceRequest": { - "properties": { - "xpnResource": { - "description": "Service resource (a.k.a service project) ID.", - "$ref": "XpnResourceId" - } - }, + "BackendService": { + "id": "BackendService", + "description": "Represents a Backend Service resource. A backend service defines how Google Cloud load balancers distribute traffic. The backend service configuration contains a set of values, such as the protocol used to connect to backends, various distribution and session settings, health checks, and timeouts. These settings provide fine-grained control over how your load balancer behaves. Most of the settings have default values that allow for easy configuration if you need to get started quickly. Backend services in Google Compute Engine can be either regionally or globally scoped. * [Global](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) * [Regional](https://cloud.google.com/compute/docs/reference/rest/v1/regionBackendServices) For more information, see Backend Services.", "type": "object", - "id": "ProjectsEnableXpnResourceRequest" - }, - "RouterBgpPeerBfd": { - "id": "RouterBgpPeerBfd", "properties": { - "multiplier": { - "description": "The number of consecutive BFD packets that must be missed before BFD declares that a peer is unavailable. If set, the value must be a value between 5 and 16. The default is 5.", - "type": "integer", - "format": "uint32" + "kind": { + "description": "[Output Only] Type of resource. Always compute#backendService for backend services.", + "default": "compute#backendService", + "type": "string" }, - "sessionInitializationMode": { - "description": "The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is DISABLED.", + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", "type": "string", - "enum": [ - "ACTIVE", - "DISABLED", - "PASSIVE" - ], - "enumDescriptions": [ - "", - "", - "" - ] + "format": "uint64" }, - "minReceiveInterval": { - "format": "uint32", - "description": "The minimum interval, in milliseconds, between BFD control packets received from the peer router. The actual value is negotiated between the two routers and is equal to the greater of this value and the transmit interval of the other router. If set, this value must be between 1000 and 30000. The default is 1000.", - "type": "integer" + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" }, - "minTransmitInterval": { - "description": "The minimum interval, in milliseconds, between BFD control packets transmitted to the peer router. The actual value is negotiated between the two routers and is equal to the greater of this value and the corresponding receive interval of the other router. If set, this value must be between 1000 and 30000. The default is 1000.", - "type": "integer", - "format": "uint32" - } - }, - "type": "object" - }, - "PublicAdvertisedPrefixList": { - "id": "PublicAdvertisedPrefixList", - "type": "object", - "properties": { - "warning": { - "properties": { - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - }, - "code": { - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ], - "type": "string", - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response." - }, - "data": { - "items": { - "type": "object", - "properties": { - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - }, - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - } - } - }, - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "type": "array" - } - }, - "type": "object", - "description": "[Output Only] Informational warning message." + "name": { + "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "type": "string" }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource.", + "type": "string" }, - "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", "type": "string" }, - "items": { - "description": "A list of PublicAdvertisedPrefix resources.", + "backends": { + "description": "The list of backends that serve this BackendService.", "type": "array", "items": { - "$ref": "PublicAdvertisedPrefix" + "$ref": "Backend" } }, - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", - "type": "string" + "healthChecks": { + "description": "The list of URLs to the healthChecks, httpHealthChecks (legacy), or httpsHealthChecks (legacy) resource for health checking this backend service. Not all backend services support legacy health checks. See Load balancer guide. Currently, at most one health check can be specified for each backend service. Backend services with instance group or zonal NEG backends must have a health check. Backend services with internet or serverless NEG backends must not have a health check.", + "type": "array", + "items": { + "type": "string" + } }, - "kind": { + "timeoutSec": { + "description": "The backend service timeout has a different meaning depending on the type of load balancer. For more information see, Backend service settings. The default is 30 seconds. The full range of timeout values allowed goes from 1 through 2,147,483,647 seconds. This value can be overridden in the PathMatcher configuration of the UrlMap that references this backend service. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. Instead, use maxStreamDuration.", + "type": "integer", + "format": "int32" + }, + "port": { + "description": "Deprecated in favor of portName. The TCP port to connect on the backend. The default value is 80. For internal passthrough Network Load Balancers and external passthrough Network Load Balancers, omit port.", + "deprecated": true, + "type": "integer", + "format": "int32" + }, + "protocol": { + "description": "The protocol this BackendService uses to communicate with backends. Possible values are HTTP, HTTPS, HTTP2, TCP, SSL, UDP or GRPC. depending on the chosen load balancer or Traffic Director configuration. Refer to the documentation for the load balancers or for Traffic Director for more information. Must be set to GRPC when the backend service is referenced by a URL map that is bound to target gRPC proxy.", "type": "string", - "description": "[Output Only] Type of the resource. Always compute#publicAdvertisedPrefix for public advertised prefixes.", - "default": "compute#publicAdvertisedPrefixList" - } - } - }, - "TargetSslProxiesSetProxyHeaderRequest": { - "type": "object", - "id": "TargetSslProxiesSetProxyHeaderRequest", - "properties": { - "proxyHeader": { "enumDescriptions": [ + "gRPC (available for Traffic Director).", "", - "" + "HTTP/2 with SSL.", + "", + "TCP proxying with SSL.", + "TCP proxying or TCP pass-through.", + "UDP.", + "If a Backend Service has UNSPECIFIED as its protocol, it can be used with any L3/L4 Forwarding Rules." ], - "description": "The new type of proxy header to append before sending data to the backend. NONE or PROXY_V1 are allowed.", - "type": "string", "enum": [ - "NONE", - "PROXY_V1" + "GRPC", + "HTTP", + "HTTP2", + "HTTPS", + "SSL", + "TCP", + "UDP", + "UNSPECIFIED" ] - } - } - }, - "InterconnectsGetDiagnosticsResponse": { - "type": "object", - "properties": { - "result": { - "$ref": "InterconnectDiagnostics" - } - }, - "description": "Response for the InterconnectsGetDiagnosticsRequest.", - "id": "InterconnectsGetDiagnosticsResponse" - }, - "GuestAttributes": { - "properties": { - "variableKey": { + }, + "fingerprint": { + "description": "Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a BackendService. An up-to-date fingerprint must be provided in order to update the BackendService, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a BackendService.", "type": "string", - "description": "The key to search for." + "format": "byte" }, - "queryPath": { - "description": "The path to be queried. This can be the default namespace ('') or a nested namespace ('\\/') or a specified key ('\\/\\').", + "portName": { + "description": "A named port on a backend instance group representing the port for communication to the backend VMs in that group. The named port must be [defined on each backend instance group](https://cloud.google.com/load-balancing/docs/backend-service#named_ports). This parameter has no meaning if the backends are NEGs. For internal passthrough Network Load Balancers and external passthrough Network Load Balancers, omit port_name.", "type": "string" }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." + "enableCDN": { + "description": "If true, enables Cloud CDN for the backend service of a global external Application Load Balancer.", + "type": "boolean" }, - "kind": { - "default": "compute#guestAttributes", + "sessionAffinity": { + "description": "Type of session affinity to use. The default is NONE. Only NONE and HEADER_FIELD are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. For more details, see: [Session Affinity](https://cloud.google.com/load-balancing/docs/backend-service#session_affinity).", "type": "string", - "description": "[Output Only] Type of the resource. Always compute#guestAttributes for guest attributes entry." + "enumDescriptions": [ + "2-tuple hash on packet's source and destination IP addresses. Connections from the same source IP address to the same destination IP address will be served by the same backend VM while that VM remains healthy.", + "1-tuple hash only on packet's source IP address. Connections from the same source IP address will be served by the same backend VM while that VM remains healthy. This option can only be used for Internal TCP/UDP Load Balancing.", + "5-tuple hash on packet's source and destination IP addresses, IP protocol, and source and destination ports. Connections for the same IP protocol from the same source IP address and port to the same destination IP address and port will be served by the same backend VM while that VM remains healthy. This option cannot be used for HTTP(S) load balancing.", + "3-tuple hash on packet's source and destination IP addresses, and IP protocol. Connections for the same IP protocol from the same source IP address to the same destination IP address will be served by the same backend VM while that VM remains healthy. This option cannot be used for HTTP(S) load balancing.", + "Hash based on a cookie generated by the L7 loadbalancer. Only valid for HTTP(S) load balancing.", + "The hash is based on a user specified header field.", + "The hash is based on a user provided cookie.", + "No session affinity. Connections from the same client IP may go to any instance in the pool." + ], + "enum": [ + "CLIENT_IP", + "CLIENT_IP_NO_DESTINATION", + "CLIENT_IP_PORT_PROTO", + "CLIENT_IP_PROTO", + "GENERATED_COOKIE", + "HEADER_FIELD", + "HTTP_COOKIE", + "NONE" + ] }, - "queryValue": { - "$ref": "GuestAttributesValue", - "description": "[Output Only] The value of the requested queried path." + "affinityCookieTtlSec": { + "description": "Lifetime of cookies in seconds. This setting is applicable to Application Load Balancers and Traffic Director and requires GENERATED_COOKIE or HTTP_COOKIE session affinity. If set to 0, the cookie is non-persistent and lasts only until the end of the browser session (or equivalent). The maximum allowed value is two weeks (1,209,600). Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.", + "type": "integer", + "format": "int32" }, - "variableValue": { - "type": "string", - "description": "[Output Only] The value found for the requested key." - } - }, - "description": "A guest attributes entry.", - "id": "GuestAttributes", - "type": "object" - }, - "SecurityPolicyList": { - "id": "SecurityPolicyList", - "properties": { - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." + "region": { + "description": "[Output Only] URL of the region where the regional backend service resides. This field is not applicable to global backend services. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.", + "type": "string" }, - "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." + "failoverPolicy": { + "description": "Requires at least one backend instance group to be defined as a backup (failover) backend. For load balancers that have configurable failover: [Internal passthrough Network Load Balancers](https://cloud.google.com/load-balancing/docs/internal/failover-overview) and [external passthrough Network Load Balancers](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview).", + "$ref": "BackendServiceFailoverPolicy" }, - "kind": { + "loadBalancingScheme": { + "description": "Specifies the load balancer type. A backend service created for one type of load balancer cannot be used with another. For more information, refer to Choosing a load balancer.", "type": "string", - "description": "[Output Only] Type of resource. Always compute#securityPolicyList for listsof securityPolicies", - "default": "compute#securityPolicyList" + "enumDescriptions": [ + "Signifies that this will be used for classic Application Load Balancers, global external proxy Network Load Balancers, or external passthrough Network Load Balancers.", + "Signifies that this will be used for global external Application Load Balancers, regional external Application Load Balancers, or regional external proxy Network Load Balancers.", + "Signifies that this will be used for internal passthrough Network Load Balancers.", + "Signifies that this will be used for internal Application Load Balancers.", + "Signifies that this will be used by Traffic Director.", + "" + ], + "enum": [ + "EXTERNAL", + "EXTERNAL_MANAGED", + "INTERNAL", + "INTERNAL_MANAGED", + "INTERNAL_SELF_MANAGED", + "INVALID_LOAD_BALANCING_SCHEME" + ] }, - "items": { - "description": "A list of SecurityPolicy resources.", - "items": { - "$ref": "SecurityPolicy" - }, - "type": "array" + "connectionDraining": { + "$ref": "ConnectionDraining" }, - "warning": { - "properties": { - "code": { - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], - "type": "string", - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ] - }, - "data": { - "items": { - "type": "object", - "properties": { - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - }, - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - } - } - }, - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "type": "array" - }, - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - } - }, - "description": "[Output Only] Informational warning message.", - "type": "object" - } - }, - "type": "object" - }, - "ResourcePolicy": { - "properties": { - "instanceSchedulePolicy": { - "$ref": "ResourcePolicyInstanceSchedulePolicy", - "description": "Resource policy for scheduling instance operations." + "iap": { + "description": "The configurations for Identity-Aware Proxy on this resource. Not available for internal passthrough Network Load Balancers and external passthrough Network Load Balancers.", + "$ref": "BackendServiceIAP" }, - "description": { - "type": "string" + "cdnPolicy": { + "description": "Cloud CDN configuration for this BackendService. Only available for specified load balancer types.", + "$ref": "BackendServiceCdnPolicy" }, - "groupPlacementPolicy": { - "description": "Resource policy for instances for placement configuration.", - "$ref": "ResourcePolicyGroupPlacementPolicy" + "customRequestHeaders": { + "description": "Headers that the load balancer adds to proxied requests. See [Creating custom headers](https://cloud.google.com/load-balancing/docs/custom-headers).", + "type": "array", + "items": { + "type": "string" + } }, - "name": { - "description": "The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", - "annotations": { - "required": [ - "compute.instances.insert" - ] - }, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string" + "customResponseHeaders": { + "description": "Headers that the load balancer adds to proxied responses. See [Creating custom headers](https://cloud.google.com/load-balancing/docs/custom-headers).", + "type": "array", + "items": { + "type": "string" + } }, - "region": { + "securityPolicy": { + "description": "[Output Only] The resource URL for the security policy associated with this backend service.", "type": "string" }, - "id": { - "type": "string", - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", - "format": "uint64" - }, - "creationTimestamp": { - "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "edgeSecurityPolicy": { + "description": "[Output Only] The resource URL for the edge security policy associated with this backend service.", "type": "string" }, - "snapshotSchedulePolicy": { - "description": "Resource policy for persistent disks for creating snapshots.", - "$ref": "ResourcePolicySnapshotSchedulePolicy" + "logConfig": { + "description": "This field denotes the logging options for the load balancer traffic served by this backend service. If logging is enabled, logs will be exported to Stackdriver.", + "$ref": "BackendServiceLogConfig" }, - "resourceStatus": { - "description": "[Output Only] The system status of the resource policy.", - "$ref": "ResourcePolicyResourceStatus" + "securitySettings": { + "description": "This field specifies the security settings that apply to this backend service. This field is applicable to a global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED.", + "$ref": "SecuritySettings" }, - "status": { + "localityLbPolicy": { + "description": "The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED, INTERNAL_MANAGED, or EXTERNAL_MANAGED. If sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity settings will not take effect. Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.", "type": "string", "enumDescriptions": [ - "Resource policy is being created.", - "Resource policy is being deleted.", - "Resource policy is expired and will not run again.", "", - "Resource policy is ready to be used." + "An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests.", + "This algorithm implements consistent hashing to backends. Maglev can be used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824", + "Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer.", + "The load balancer selects a random healthy host.", + "The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests.", + "This is a simple policy in which each healthy backend is selected in round robin order. This is the default.", + "Per-instance weighted Load Balancing via health check reported weights. If set, the Backend Service must configure a non legacy HTTP-based Health Check, and health check replies are expected to contain non-standard HTTP response header field X-Load-Balancing-Endpoint-Weight to specify the per-instance weights. If set, Load Balancing is weighted based on the per-instance weights reported in the last processed health check replies, as long as every instance either reported a valid weight or had UNAVAILABLE_WEIGHT. Otherwise, Load Balancing remains equal-weight. This option is only supported in Network Load Balancing." ], "enum": [ - "CREATING", - "DELETING", - "EXPIRED", - "INVALID", - "READY" - ], - "description": "[Output Only] The status of resource policy creation." + "INVALID_LB_POLICY", + "LEAST_REQUEST", + "MAGLEV", + "ORIGINAL_DESTINATION", + "RANDOM", + "RING_HASH", + "ROUND_ROBIN", + "WEIGHTED_MAGLEV" + ] }, - "selfLink": { + "consistentHash": { + "description": "Consistent Hash-based load balancing can be used to provide soft session affinity based on HTTP headers, cookies or other properties. This load balancing policy is applicable only for HTTP connections. The affinity to a particular destination host will be lost when one or more hosts are added/removed from the destination service. This field specifies parameters that control consistent hashing. This field is only applicable when localityLbPolicy is set to MAGLEV or RING_HASH. This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. ", + "$ref": "ConsistentHashLoadBalancerSettings" + }, + "circuitBreakers": { + "$ref": "CircuitBreakers" + }, + "outlierDetection": { + "description": "Settings controlling the ejection of unhealthy backend endpoints from the load balancing pool of each individual proxy instance that processes the traffic for the given backend service. If not set, this feature is considered disabled. Results of the outlier detection algorithm (ejection of endpoints from the load balancing pool and returning them back to the pool) are executed independently by each proxy instance of the load balancer. In most cases, more than one proxy instance handles the traffic received by a backend service. Thus, it is possible that an unhealthy endpoint is detected and ejected by only some of the proxies, and while this happens, other proxies may continue to send requests to the same unhealthy endpoint until they detect and eject the unhealthy endpoint. Applicable backend endpoints can be: - VM instances in an Instance Group - Endpoints in a Zonal NEG (GCE_VM_IP, GCE_VM_IP_PORT) - Endpoints in a Hybrid Connectivity NEG (NON_GCP_PRIVATE_IP_PORT) - Serverless NEGs, that resolve to Cloud Run, App Engine, or Cloud Functions Services - Private Service Connect NEGs, that resolve to Google-managed regional API endpoints or managed services published using Private Service Connect Applicable backend service types can be: - A global backend service with the loadBalancingScheme set to INTERNAL_SELF_MANAGED or EXTERNAL_MANAGED. - A regional backend service with the serviceProtocol set to HTTP, HTTPS, or HTTP2, and loadBalancingScheme set to INTERNAL_MANAGED or EXTERNAL_MANAGED. Not supported for Serverless NEGs. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.", + "$ref": "OutlierDetection" + }, + "network": { + "description": "The URL of the network to which this backend service belongs. This field can only be specified when the load balancing scheme is set to INTERNAL.", + "type": "string" + }, + "subsetting": { + "$ref": "Subsetting" + }, + "connectionTrackingPolicy": { + "description": "Connection Tracking configuration for this BackendService. Connection tracking policy settings are only available for external passthrough Network Load Balancers and internal passthrough Network Load Balancers.", + "$ref": "BackendServiceConnectionTrackingPolicy" + }, + "maxStreamDuration": { + "description": "Specifies the default maximum duration (timeout) for streams to this service. Duration is computed from the beginning of the stream until the response has been completely processed, including all retries. A stream that does not complete in this duration is closed. If not specified, there will be no timeout limit, i.e. the maximum duration is infinite. This value can be overridden in the PathMatcher configuration of the UrlMap that references this backend service. This field is only allowed when the loadBalancingScheme of the backend service is INTERNAL_SELF_MANAGED.", + "$ref": "Duration" + }, + "compressionMode": { + "description": "Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.", "type": "string", - "description": "[Output Only] Server-defined fully-qualified URL for this resource." + "enumDescriptions": [ + "Automatically uses the best compression based on the Accept-Encoding header sent by the client.", + "Disables compression. Existing compressed responses cached by Cloud CDN will not be served to clients." + ], + "enum": [ + "AUTOMATIC", + "DISABLED" + ] }, - "kind": { + "serviceBindings": { + "description": "URLs of networkservices.ServiceBinding resources. Can only be set if load balancing scheme is INTERNAL_SELF_MANAGED. If set, lists of backends and health checks must be both empty.", + "type": "array", + "items": { + "type": "string" + } + }, + "localityLbPolicies": { + "description": "A list of locality load-balancing policies to be used in order of preference. When you use localityLbPolicies, you must set at least one value for either the localityLbPolicies[].policy or the localityLbPolicies[].customPolicy field. localityLbPolicies overrides any value set in the localityLbPolicy field. For an example of how to use this field, see Define a list of preferred policies. Caution: This field and its children are intended for use in a service mesh that includes gRPC clients only. Envoy proxies can't use backend services that have this configuration.", + "type": "array", + "items": { + "$ref": "BackendServiceLocalityLoadBalancingPolicyConfig" + } + }, + "metadatas": { + "description": "Deployment metadata associated with the resource to be set by a GKE hub controller and read by the backend RCTH", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "usedBy": { + "type": "array", + "items": { + "$ref": "BackendServiceUsedBy" + } + } + } + }, + "Backend": { + "id": "Backend", + "description": "Message containing information of one individual backend.", + "type": "object", + "properties": { + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource.", + "type": "string" + }, + "group": { + "description": "The fully-qualified URL of an instance group or network endpoint group (NEG) resource. To determine what types of backends a load balancer supports, see the [Backend services overview](https://cloud.google.com/load-balancing/docs/backend-service#backends). You must use the *fully-qualified* URL (starting with https://www.googleapis.com/) to specify the instance group or NEG. Partial URLs are not supported.", + "type": "string" + }, + "balancingMode": { + "description": "Specifies how to determine whether the backend of a load balancer can handle additional traffic or is fully loaded. For usage guidelines, see Connection balancing mode. Backends must use compatible balancing modes. For more information, see Supported balancing modes and target capacity settings and Restrictions and guidance for instance groups. Note: Currently, if you use the API to configure incompatible balancing modes, the configuration might be accepted even though it has no impact and is ignored. Specifically, Backend.maxUtilization is ignored when Backend.balancingMode is RATE. In the future, this incompatible combination will be rejected.", "type": "string", - "default": "compute#resourcePolicy", - "description": "[Output Only] Type of the resource. Always compute#resource_policies for resource policies." + "enumDescriptions": [ + "Balance based on the number of simultaneous connections.", + "Balance based on requests per second (RPS).", + "Balance based on the backend utilization." + ], + "enum": [ + "CONNECTION", + "RATE", + "UTILIZATION" + ] + }, + "maxUtilization": { + "description": "Optional parameter to define a target capacity for the UTILIZATION balancing mode. The valid range is [0.0, 1.0]. For usage guidelines, see Utilization balancing mode.", + "type": "number", + "format": "float" + }, + "maxRate": { + "description": "Defines a maximum number of HTTP requests per second (RPS). For usage guidelines, see Rate balancing mode and Utilization balancing mode. Not available if the backend's balancingMode is CONNECTION.", + "type": "integer", + "format": "int32" + }, + "maxRatePerInstance": { + "description": "Defines a maximum target for requests per second (RPS). For usage guidelines, see Rate balancing mode and Utilization balancing mode. Not available if the backend's balancingMode is CONNECTION.", + "type": "number", + "format": "float" + }, + "maxRatePerEndpoint": { + "description": "Defines a maximum target for requests per second (RPS). For usage guidelines, see Rate balancing mode and Utilization balancing mode. Not available if the backend's balancingMode is CONNECTION.", + "type": "number", + "format": "float" + }, + "maxConnections": { + "description": "Defines a target maximum number of simultaneous connections. For usage guidelines, see Connection balancing mode and Utilization balancing mode. Not available if the backend's balancingMode is RATE.", + "type": "integer", + "format": "int32" + }, + "maxConnectionsPerInstance": { + "description": "Defines a target maximum number of simultaneous connections. For usage guidelines, see Connection balancing mode and Utilization balancing mode. Not available if the backend's balancingMode is RATE.", + "type": "integer", + "format": "int32" + }, + "maxConnectionsPerEndpoint": { + "description": "Defines a target maximum number of simultaneous connections. For usage guidelines, see Connection balancing mode and Utilization balancing mode. Not available if the backend's balancingMode is RATE.", + "type": "integer", + "format": "int32" + }, + "capacityScaler": { + "description": "A multiplier applied to the backend's target capacity of its balancing mode. The default value is 1, which means the group serves up to 100% of its configured capacity (depending on balancingMode). A setting of 0 means the group is completely drained, offering 0% of its available capacity. The valid ranges are 0.0 and [0.1,1.0]. You cannot configure a setting larger than 0 and smaller than 0.1. You cannot configure a setting of 0 when there is only one backend attached to the backend service. Not available with backends that don't support using a balancingMode. This includes backends such as global internet NEGs, regional serverless NEGs, and PSC NEGs.", + "type": "number", + "format": "float" + }, + "failover": { + "description": "This field designates whether this is a failover backend. More than one failover backend can be configured for a given BackendService.", + "type": "boolean" } - }, - "description": "Represents a Resource Policy resource. You can use resource policies to schedule actions for some Compute Engine resources. For example, you can use them to schedule persistent disk snapshots.", + } + }, + "BackendServiceFailoverPolicy": { + "id": "BackendServiceFailoverPolicy", + "description": "For load balancers that have configurable failover: [Internal passthrough Network Load Balancers](https://cloud.google.com/load-balancing/docs/internal/failover-overview) and [external passthrough Network Load Balancers](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview). On failover or failback, this field indicates whether connection draining will be honored. Google Cloud has a fixed connection draining timeout of 10 minutes. A setting of true terminates existing TCP connections to the active pool during failover and failback, immediately draining traffic. A setting of false allows existing TCP connections to persist, even on VMs no longer in the active pool, for up to the duration of the connection draining timeout (10 minutes).", "type": "object", - "id": "ResourcePolicy" + "properties": { + "disableConnectionDrainOnFailover": { + "description": "This can be set to true only if the protocol is TCP. The default is false.", + "type": "boolean" + }, + "dropTrafficIfUnhealthy": { + "description": "If set to true, connections to the load balancer are dropped when all primary and all backup backend VMs are unhealthy.If set to false, connections are distributed among all primary VMs when all primary and all backup backend VMs are unhealthy. For load balancers that have configurable failover: [Internal passthrough Network Load Balancers](https://cloud.google.com/load-balancing/docs/internal/failover-overview) and [external passthrough Network Load Balancers](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview). The default is false.", + "type": "boolean" + }, + "failoverRatio": { + "description": "The value of the field must be in the range [0, 1]. If the value is 0, the load balancer performs a failover when the number of healthy primary VMs equals zero. For all other values, the load balancer performs a failover when the total number of healthy primary VMs is less than this ratio. For load balancers that have configurable failover: [Internal TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/internal/failover-overview) and [external TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview).", + "type": "number", + "format": "float" + } + } }, - "ReservationsResizeRequest": { + "ConnectionDraining": { + "id": "ConnectionDraining", + "description": "Message containing connection draining configuration.", + "type": "object", "properties": { - "specificSkuCount": { - "description": "Number of allocated resources can be resized with minimum = 1 and maximum = 1000.", - "type": "string", - "format": "int64" + "drainingTimeoutSec": { + "description": "Configures a duration timeout for existing requests on a removed backend instance. For supported load balancers and protocols, as described in Enabling connection draining.", + "type": "integer", + "format": "int32" } - }, - "id": "ReservationsResizeRequest", - "type": "object" + } }, - "InterconnectAttachmentAggregatedList": { - "id": "InterconnectAttachmentAggregatedList", + "BackendServiceIAP": { + "id": "BackendServiceIAP", + "description": "Identity-Aware Proxy", "type": "object", "properties": { - "warning": { - "type": "object", - "description": "[Output Only] Informational warning message.", - "properties": { - "data": { - "type": "array", - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "items": { - "properties": { - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - }, - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - } - }, - "type": "object" - } - }, - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - }, - "code": { - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ], - "type": "string" - } - } + "enabled": { + "description": "Whether the serving infrastructure will authenticate and authorize all incoming requests.", + "type": "boolean" }, - "kind": { - "default": "compute#interconnectAttachmentAggregatedList", - "type": "string", - "description": "[Output Only] Type of resource. Always compute#interconnectAttachmentAggregatedList for aggregated lists of interconnect attachments." + "oauth2ClientId": { + "description": "OAuth2 client ID to use for the authentication flow.", + "type": "string" }, - "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "oauth2ClientSecret": { + "description": "OAuth2 client secret to use for the authentication flow. For security reasons, this value cannot be retrieved via the API. Instead, the SHA-256 hash of the value is returned in the oauth2ClientSecretSha256 field. @InputOnly", "type": "string" }, - "nextPageToken": { + "oauth2ClientSecretSha256": { + "description": "[Output Only] SHA256 hash value for the field oauth2_client_secret above.", + "type": "string" + } + } + }, + "BackendServiceCdnPolicy": { + "id": "BackendServiceCdnPolicy", + "description": "Message containing Cloud CDN configuration for a backend service.", + "type": "object", + "properties": { + "cacheKeyPolicy": { + "description": "The CacheKeyPolicy for this CdnPolicy.", + "$ref": "CacheKeyPolicy" + }, + "signedUrlKeyNames": { + "description": "[Output Only] Names of the keys for signing request URLs.", + "type": "array", + "items": { + "type": "string" + } + }, + "signedUrlCacheMaxAgeSec": { + "description": "Maximum number of seconds the response to a signed URL request will be considered fresh. After this time period, the response will be revalidated before being served. Defaults to 1hr (3600s). When serving responses to signed URL requests, Cloud CDN will internally behave as though all responses from this backend had a \"Cache-Control: public, max-age=[TTL]\" header, regardless of any existing Cache-Control header. The actual headers served in responses will not be altered.", "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." + "format": "int64" }, - "selfLink": { + "requestCoalescing": { + "description": "If true then Cloud CDN will combine multiple concurrent cache fill requests into a small number of requests to the origin.", + "type": "boolean" + }, + "cacheMode": { + "description": "Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. FORCE_CACHE_ALL Cache all content, ignoring any \"private\", \"no-store\" or \"no-cache\" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached.", "type": "string", - "description": "[Output Only] Server-defined URL for this resource." + "enumDescriptions": [ + "Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached.", + "Cache all content, ignoring any \"private\", \"no-store\" or \"no-cache\" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content.", + "", + "Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server." + ], + "enum": [ + "CACHE_ALL_STATIC", + "FORCE_CACHE_ALL", + "INVALID_CACHE_MODE", + "USE_ORIGIN_HEADERS" + ] }, - "items": { - "additionalProperties": { - "description": "Name of the scope containing this set of interconnect attachments.", - "$ref": "InterconnectAttachmentsScopedList" - }, - "type": "object", - "description": "A list of InterconnectAttachmentsScopedList resources." + "defaultTtl": { + "description": "Specifies the default TTL for cached content served by this origin for responses that do not have an existing valid TTL (max-age or s-max-age). Setting a TTL of \"0\" means \"always revalidate\". The value of defaultTTL cannot be set to a value greater than that of maxTTL, but can be equal. When the cacheMode is set to FORCE_CACHE_ALL, the defaultTTL will overwrite the TTL set in all responses. The maximum allowed value is 31,622,400s (1 year), noting that infrequently accessed objects may be evicted from the cache before the defined TTL.", + "type": "integer", + "format": "int32" }, - "unreachables": { + "maxTtl": { + "description": "Specifies the maximum allowed TTL for cached content served by this origin. Cache directives that attempt to set a max-age or s-maxage higher than this, or an Expires header more than maxTTL seconds in the future will be capped at the value of maxTTL, as if it were the value of an s-maxage Cache-Control directive. Headers sent to the client will not be modified. Setting a TTL of \"0\" means \"always revalidate\". The maximum allowed value is 31,622,400s (1 year), noting that infrequently accessed objects may be evicted from the cache before the defined TTL.", + "type": "integer", + "format": "int32" + }, + "clientTtl": { + "description": "Specifies a separate client (e.g. browser client) maximum TTL. This is used to clamp the max-age (or Expires) value sent to the client. With FORCE_CACHE_ALL, the lesser of client_ttl and default_ttl is used for the response max-age directive, along with a \"public\" directive. For cacheable content in CACHE_ALL_STATIC mode, client_ttl clamps the max-age from the origin (if specified), or else sets the response max-age directive to the lesser of the client_ttl and default_ttl, and also ensures a \"public\" cache-control directive is present. If a client TTL is not specified, a default value (1 hour) will be used. The maximum allowed value is 31,622,400s (1 year).", + "type": "integer", + "format": "int32" + }, + "negativeCaching": { + "description": "Negative caching allows per-status code TTLs to be set, in order to apply fine-grained caching for common errors or redirects. This can reduce the load on your origin and improve end-user experience by reducing response latency. When the cache mode is set to CACHE_ALL_STATIC or USE_ORIGIN_HEADERS, negative caching applies to responses with the specified response code that lack any Cache-Control, Expires, or Pragma: no-cache directives. When the cache mode is set to FORCE_CACHE_ALL, negative caching applies to all responses with the specified response code, and override any caching headers. By default, Cloud CDN will apply the following default TTLs to these status codes: HTTP 300 (Multiple Choice), 301, 308 (Permanent Redirects): 10m HTTP 404 (Not Found), 410 (Gone), 451 (Unavailable For Legal Reasons): 120s HTTP 405 (Method Not Found), 421 (Misdirected Request), 501 (Not Implemented): 60s. These defaults can be overridden in negative_caching_policy.", + "type": "boolean" + }, + "negativeCachingPolicy": { + "description": "Sets a cache TTL for the specified HTTP status code. negative_caching must be enabled to configure negative_caching_policy. Omitting the policy and leaving negative_caching enabled will use Cloud CDN's default cache TTLs. Note that when specifying an explicit negative_caching_policy, you should take care to specify a cache TTL for all response codes that you wish to cache. Cloud CDN will not apply any default negative caching when a policy exists.", + "type": "array", "items": { - "type": "string" - }, - "description": "[Output Only] Unreachable resources.", - "type": "array" + "$ref": "BackendServiceCdnPolicyNegativeCachingPolicy" + } + }, + "bypassCacheOnRequestHeaders": { + "description": "Bypass the cache when the specified request headers are matched - e.g. Pragma or Authorization headers. Up to 5 headers can be specified. The cache is bypassed for all cdnPolicy.cacheMode settings.", + "type": "array", + "items": { + "$ref": "BackendServiceCdnPolicyBypassCacheOnRequestHeader" + } + }, + "serveWhileStale": { + "description": "Serve existing content from the cache (if available) when revalidating content with the origin, or when an error is encountered when refreshing the cache. This setting defines the default \"max-stale\" duration for any cached responses that do not specify a max-stale directive. Stale responses that exceed the TTL configured here will not be served. The default limit (max-stale) is 86400s (1 day), which will allow stale content to be served up to this limit beyond the max-age (or s-max-age) of a cached response. The maximum allowed value is 604800 (1 week). Set this to zero (0) to disable serve-while-stale.", + "type": "integer", + "format": "int32" } } }, - "HealthCheckService": { + "CacheKeyPolicy": { + "id": "CacheKeyPolicy", + "description": "Message containing what to include in the cache key for a request for Cloud CDN.", "type": "object", - "id": "HealthCheckService", "properties": { - "networkEndpointGroups": { - "items": { - "type": "string" - }, - "type": "array", - "description": "A list of URLs to the NetworkEndpointGroup resources. Must not have more than 100. For regional HealthCheckService, NEGs must be in zones in the region of the HealthCheckService. For global HealthCheckServices, the NetworkEndpointGroups must be global INTERNET_IP_PORT." - }, - "creationTimestamp": { - "description": "[Output Only] Creation timestamp in RFC3339 text format.", - "type": "string" - }, - "fingerprint": { - "type": "string", - "description": "Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a HealthCheckService. An up-to-date fingerprint must be provided in order to patch/update the HealthCheckService; Otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the HealthCheckService.", - "format": "byte" + "includeProtocol": { + "description": "If true, http and https requests will be cached separately.", + "type": "boolean" }, - "kind": { - "default": "compute#healthCheckService", - "type": "string", - "description": "[Output only] Type of the resource. Always compute#healthCheckServicefor health check services." + "includeHost": { + "description": "If true, requests to different hosts will be cached separately.", + "type": "boolean" }, - "name": { - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the resource. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash." + "includeQueryString": { + "description": "If true, include query string parameters in the cache key according to query_string_whitelist and query_string_blacklist. If neither is set, the entire query string will be included. If false, the query string will be excluded from the cache key entirely.", + "type": "boolean" }, - "healthChecks": { - "description": "A list of URLs to the HealthCheck resources. Must have at least one HealthCheck, and not more than 10 for regional HealthCheckService, and not more than 1 for global HealthCheckService. HealthCheck resources must have portSpecification=USE_SERVING_PORT or portSpecification=USE_FIXED_PORT. For regional HealthCheckService, the HealthCheck must be regional and in the same region. For global HealthCheckService, HealthCheck must be global. Mix of regional and global HealthChecks is not supported. Multiple regional HealthChecks must belong to the same region. Regional HealthChecks must belong to the same region as zones of NetworkEndpointGroups. For global HealthCheckService using global INTERNET_IP_PORT NetworkEndpointGroups, the global HealthChecks must specify sourceRegions, and HealthChecks that specify sourceRegions can only be used with global INTERNET_IP_PORT NetworkEndpointGroups.", + "queryStringWhitelist": { + "description": "Names of query string parameters to include in cache keys. All other parameters will be excluded. Either specify query_string_whitelist or query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters.", "type": "array", "items": { "type": "string" } }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for the resource." - }, - "notificationEndpoints": { + "queryStringBlacklist": { + "description": "Names of query string parameters to exclude in cache keys. All other parameters will be included. Either specify query_string_whitelist or query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters.", + "type": "array", "items": { "type": "string" - }, - "description": "A list of URLs to the NotificationEndpoint resources. Must not have more than 10. A list of endpoints for receiving notifications of change in health status. For regional HealthCheckService, NotificationEndpoint must be regional and in the same region. For global HealthCheckService, NotificationEndpoint must be global.", - "type": "array" + } }, - "id": { - "type": "string", - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", - "format": "uint64" + "includeHttpHeaders": { + "description": "Allows HTTP request headers (by name) to be used in the cache key.", + "type": "array", + "items": { + "type": "string" + } }, - "region": { - "type": "string", - "description": "[Output Only] URL of the region where the health check service resides. This field is not applicable to global health check services. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body." + "includeNamedCookies": { + "description": "Allows HTTP cookies (by name) to be used in the cache key. The name=value pair will be used in the cache key Cloud CDN generates.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "BackendServiceCdnPolicyNegativeCachingPolicy": { + "id": "BackendServiceCdnPolicyNegativeCachingPolicy", + "description": "Specify CDN TTLs for response error codes.", + "type": "object", + "properties": { + "code": { + "description": "The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 302, 307, 308, 404, 405, 410, 421, 451 and 501 are can be specified as values, and you cannot specify a status code more than once.", + "type": "integer", + "format": "int32" }, - "description": { - "description": "An optional description of this resource. Provide this property when you create the resource.", + "ttl": { + "description": "The TTL (in seconds) for which to cache responses with the corresponding status code. The maximum allowed value is 1800s (30 minutes), noting that infrequently accessed objects may be evicted from the cache before the defined TTL.", + "type": "integer", + "format": "int32" + } + } + }, + "BackendServiceCdnPolicyBypassCacheOnRequestHeader": { + "id": "BackendServiceCdnPolicyBypassCacheOnRequestHeader", + "description": "Bypass the cache when the specified request headers are present, e.g. Pragma or Authorization headers. Values are case insensitive. The presence of such a header overrides the cache_mode setting.", + "type": "object", + "properties": { + "headerName": { + "description": "The header field name to match on when bypassing cache. Values are case-insensitive.", "type": "string" - }, - "healthStatusAggregationPolicy": { - "type": "string", - "enumDescriptions": [ - "If any backend's health check reports UNHEALTHY, then UNHEALTHY is the HealthState of the entire health check service. If all backend's are healthy, the HealthState of the health check service is HEALTHY.", - "An EndpointHealth message is returned for each backend in the health check service." - ], - "description": "Optional. Policy for how the results from multiple health checks for the same endpoint are aggregated. Defaults to NO_AGGREGATION if unspecified. - NO_AGGREGATION. An EndpointHealth message is returned for each pair in the health check service. - AND. If any health check of an endpoint reports UNHEALTHY, then UNHEALTHY is the HealthState of the endpoint. If all health checks report HEALTHY, the HealthState of the endpoint is HEALTHY. . This is only allowed with regional HealthCheckService.", - "enum": [ - "AND", - "NO_AGGREGATION" - ] } - }, - "description": "Represents a Health-Check as a Service resource." + } }, - "InstanceGroupsListInstancesRequest": { - "id": "InstanceGroupsListInstancesRequest", + "BackendServiceLogConfig": { + "id": "BackendServiceLogConfig", + "description": "The available logging options for the load balancer traffic served by this backend service.", + "type": "object", "properties": { - "instanceState": { + "enable": { + "description": "Denotes whether to enable logging for the load balancer traffic served by this backend service. The default value is false.", + "type": "boolean" + }, + "sampleRate": { + "description": "This field can only be specified if logging is enabled for this backend service. The value of the field must be in [0, 1]. This configures the sampling rate of requests to the load balancer where 1.0 means all logged requests are reported and 0.0 means no logged requests are reported. The default value is 1.0.", + "type": "number", + "format": "float" + }, + "optionalMode": { + "description": "This field can only be specified if logging is enabled for this backend service. Configures whether all, none or a subset of optional fields should be added to the reported logs. One of [INCLUDE_ALL_OPTIONAL, EXCLUDE_ALL_OPTIONAL, CUSTOM]. Default is EXCLUDE_ALL_OPTIONAL.", + "type": "string", "enumDescriptions": [ - "Includes all instances in the generated list regardless of their state.", - "Includes instances in the generated list only if they have a RUNNING state." + "A subset of optional fields.", + "None optional fields.", + "All optional fields." ], - "description": "A filter for the state of the instances in the instance group. Valid options are ALL or RUNNING. If you do not specify this parameter the list includes all instances regardless of their state.", - "type": "string", "enum": [ - "ALL", - "RUNNING" + "CUSTOM", + "EXCLUDE_ALL_OPTIONAL", + "INCLUDE_ALL_OPTIONAL" ] + }, + "optionalFields": { + "description": "This field can only be specified if logging is enabled for this backend service and \"logConfig.optionalMode\" was set to CUSTOM. Contains a list of optional fields you want to include in the logs. For example: serverInstance, serverGkeDetails.cluster, serverGkeDetails.pod.podNamespace", + "type": "array", + "items": { + "type": "string" + } } - }, - "type": "object" + } }, - "VmEndpointNatMappings": { - "description": "Contain information of Nat mapping for a VM endpoint (i.e., NIC).", - "id": "VmEndpointNatMappings", + "SecuritySettings": { + "id": "SecuritySettings", + "description": "The authentication and authorization settings for a BackendService.", "type": "object", "properties": { - "interfaceNatMappings": { + "clientTlsPolicy": { + "description": "Optional. A URL referring to a networksecurity.ClientTlsPolicy resource that describes how clients should authenticate with this service's backends. clientTlsPolicy only applies to a global BackendService with the loadBalancingScheme set to INTERNAL_SELF_MANAGED. If left blank, communications are not encrypted.", + "type": "string" + }, + "subjectAltNames": { + "description": "Optional. A list of Subject Alternative Names (SANs) that the client verifies during a mutual TLS handshake with an server/endpoint for this BackendService. When the server presents its X.509 certificate to the client, the client inspects the certificate's subjectAltName field. If the field contains one of the specified values, the communication continues. Otherwise, it fails. This additional check enables the client to verify that the server is authorized to run the requested service. Note that the contents of the server certificate's subjectAltName field are configured by the Public Key Infrastructure which provisions server identities. Only applies to a global BackendService with loadBalancingScheme set to INTERNAL_SELF_MANAGED. Only applies when BackendService has an attached clientTlsPolicy with clientCertificate (mTLS mode).", "type": "array", "items": { - "$ref": "VmEndpointNatMappingsInterfaceNatMappings" + "type": "string" } }, - "instanceName": { - "description": "Name of the VM instance which the endpoint belongs to", - "type": "string" + "awsV4Authentication": { + "description": "The configuration needed to generate a signature for access to private storage buckets that support AWS's Signature Version 4 for authentication. Allowed only for INTERNET_IP_PORT and INTERNET_FQDN_PORT NEG backends.", + "$ref": "AWSV4Signature" } } }, - "NetworksGetEffectiveFirewallsResponse": { + "AWSV4Signature": { + "id": "AWSV4Signature", + "description": "Contains the configurations necessary to generate a signature for access to private storage buckets that support Signature Version 4 for authentication. The service name for generating the authentication header will always default to 's3'.", + "type": "object", "properties": { - "firewalls": { - "type": "array", - "items": { - "$ref": "Firewall" - }, - "description": "Effective firewalls on the network." + "accessKeyId": { + "description": "The identifier of an access key used for s3 bucket authentication.", + "type": "string" }, - "firewallPolicys": { - "description": "Effective firewalls from firewall policy.", - "type": "array", - "items": { - "$ref": "NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy" - } + "accessKey": { + "description": "The access key used for s3 bucket authentication. Required for updating or creating a backend that uses AWS v4 signature authentication, but will not be returned as part of the configuration when queried with a REST API GET request. @InputOnly", + "type": "string" + }, + "accessKeyVersion": { + "description": "The optional version identifier for the access key. You can use this to keep track of different iterations of your access key.", + "type": "string" + }, + "originRegion": { + "description": "The name of the cloud region of your origin. This is a free-form field with the name of the region your cloud uses to host your origin. For example, \"us-east-1\" for AWS or \"us-ashburn-1\" for OCI.", + "type": "string" + } + } + }, + "ConsistentHashLoadBalancerSettings": { + "id": "ConsistentHashLoadBalancerSettings", + "description": "This message defines settings for a consistent hash style load balancer.", + "type": "object", + "properties": { + "httpCookie": { + "description": "Hash is based on HTTP Cookie. This field describes a HTTP cookie that will be used as the hash key for the consistent hash load balancer. If the cookie is not present, it will be generated. This field is applicable if the sessionAffinity is set to HTTP_COOKIE. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.", + "$ref": "ConsistentHashLoadBalancerSettingsHttpCookie" + }, + "httpHeaderName": { + "description": "The hash based on the value of the specified header field. This field is applicable if the sessionAffinity is set to HEADER_FIELD.", + "type": "string" + }, + "minimumRingSize": { + "description": "The minimum number of virtual nodes to use for the hash ring. Defaults to 1024. Larger ring sizes result in more granular load distributions. If the number of hosts in the load balancing pool is larger than the ring size, each host will be assigned a single virtual node.", + "type": "string", + "format": "int64" + } + } + }, + "ConsistentHashLoadBalancerSettingsHttpCookie": { + "id": "ConsistentHashLoadBalancerSettingsHttpCookie", + "description": "The information about the HTTP Cookie on which the hash function is based for load balancing policies that use a consistent hash.", + "type": "object", + "properties": { + "name": { + "description": "Name of the cookie.", + "type": "string" + }, + "path": { + "description": "Path to set for the cookie.", + "type": "string" + }, + "ttl": { + "description": "Lifetime of the cookie.", + "$ref": "Duration" + } + } + }, + "CircuitBreakers": { + "id": "CircuitBreakers", + "description": "Settings controlling the volume of requests, connections and retries to this backend service.", + "type": "object", + "properties": { + "maxRequestsPerConnection": { + "description": "Maximum requests for a single connection to the backend service. This parameter is respected by both the HTTP/1.1 and HTTP/2 implementations. If not specified, there is no limit. Setting this parameter to 1 will effectively disable keep alive. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.", + "type": "integer", + "format": "int32" + }, + "maxConnections": { + "description": "The maximum number of connections to the backend service. If not specified, there is no limit. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.", + "type": "integer", + "format": "int32" + }, + "maxPendingRequests": { + "description": "The maximum number of pending requests allowed to the backend service. If not specified, there is no limit. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.", + "type": "integer", + "format": "int32" + }, + "maxRequests": { + "description": "The maximum number of parallel requests that allowed to the backend service. If not specified, there is no limit.", + "type": "integer", + "format": "int32" + }, + "maxRetries": { + "description": "The maximum number of parallel retries allowed to the backend cluster. If not specified, the default is 1. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.", + "type": "integer", + "format": "int32" + } + } + }, + "OutlierDetection": { + "id": "OutlierDetection", + "description": "Settings controlling the eviction of unhealthy hosts from the load balancing pool for the backend service.", + "type": "object", + "properties": { + "consecutiveErrors": { + "description": "Number of consecutive errors before a backend endpoint is ejected from the load balancing pool. When the backend endpoint is accessed over HTTP, a 5xx return code qualifies as an error. Defaults to 5.", + "type": "integer", + "format": "int32" + }, + "interval": { + "description": "Time interval between ejection analysis sweeps. This can result in both new ejections and backend endpoints being returned to service. The interval is equal to the number of seconds as defined in outlierDetection.interval.seconds plus the number of nanoseconds as defined in outlierDetection.interval.nanos. Defaults to 1 second.", + "$ref": "Duration" + }, + "baseEjectionTime": { + "description": "The base time that a backend endpoint is ejected for. Defaults to 30000ms or 30s. After a backend endpoint is returned back to the load balancing pool, it can be ejected again in another ejection analysis. Thus, the total ejection time is equal to the base ejection time multiplied by the number of times the backend endpoint has been ejected. Defaults to 30000ms or 30s.", + "$ref": "Duration" + }, + "maxEjectionPercent": { + "description": "Maximum percentage of backend endpoints in the load balancing pool for the backend service that can be ejected if the ejection conditions are met. Defaults to 50%.", + "type": "integer", + "format": "int32" + }, + "enforcingConsecutiveErrors": { + "description": "The percentage chance that a backend endpoint will be ejected when an outlier status is detected through consecutive 5xx. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 0.", + "type": "integer", + "format": "int32" + }, + "enforcingSuccessRate": { + "description": "The percentage chance that a backend endpoint will be ejected when an outlier status is detected through success rate statistics. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 100. Not supported when the backend service uses Serverless NEG.", + "type": "integer", + "format": "int32" + }, + "successRateMinimumHosts": { + "description": "The number of backend endpoints in the load balancing pool that must have enough request volume to detect success rate outliers. If the number of backend endpoints is fewer than this setting, outlier detection via success rate statistics is not performed for any backend endpoint in the load balancing pool. Defaults to 5. Not supported when the backend service uses Serverless NEG.", + "type": "integer", + "format": "int32" + }, + "successRateRequestVolume": { + "description": "The minimum number of total requests that must be collected in one interval (as defined by the interval duration above) to include this backend endpoint in success rate based outlier detection. If the volume is lower than this setting, outlier detection via success rate statistics is not performed for that backend endpoint. Defaults to 100. Not supported when the backend service uses Serverless NEG.", + "type": "integer", + "format": "int32" + }, + "successRateStdevFactor": { + "description": "This factor is used to determine the ejection threshold for success rate outlier ejection. The ejection threshold is the difference between the mean success rate, and the product of this factor and the standard deviation of the mean success rate: mean - (stdev * successRateStdevFactor). This factor is divided by a thousand to get a double. That is, if the desired factor is 1.9, the runtime value should be 1900. Defaults to 1900. Not supported when the backend service uses Serverless NEG.", + "type": "integer", + "format": "int32" + }, + "consecutiveGatewayFailure": { + "description": "The number of consecutive gateway failures (502, 503, 504 status or connection errors that are mapped to one of those status codes) before a consecutive gateway failure ejection occurs. Defaults to 3.", + "type": "integer", + "format": "int32" + }, + "enforcingConsecutiveGatewayFailure": { + "description": "The percentage chance that a backend endpoint will be ejected when an outlier status is detected through consecutive gateway failures. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 100.", + "type": "integer", + "format": "int32" } - }, + } + }, + "Subsetting": { + "id": "Subsetting", + "description": "Subsetting configuration for this BackendService. Currently this is applicable only for Internal TCP/UDP load balancing, Internal HTTP(S) load balancing and Traffic Director.", + "type": "object", + "properties": { + "policy": { + "type": "string", + "enumDescriptions": [ + "Subsetting based on consistent hashing. For Traffic Director, the number of backends per backend group (the subset size) is based on the `subset_size` parameter. For Internal HTTP(S) load balancing, the number of backends per backend group (the subset size) is dynamically adjusted in two cases: - As the number of proxy instances participating in Internal HTTP(S) load balancing increases, the subset size decreases. - When the total number of backends in a network exceeds the capacity of a single proxy instance, subset sizes are reduced automatically for each service that has backend subsetting enabled.", + "No Subsetting. Clients may open connections and send traffic to all backends of this backend service. This can lead to performance issues if there is substantial imbalance in the count of clients and backends." + ], + "enum": [ + "CONSISTENT_HASH_SUBSETTING", + "NONE" + ] + } + } + }, + "BackendServiceConnectionTrackingPolicy": { + "id": "BackendServiceConnectionTrackingPolicy", + "description": "Connection Tracking configuration for this BackendService.", + "type": "object", + "properties": { + "trackingMode": { + "description": "Specifies the key used for connection tracking. There are two options: - PER_CONNECTION: This is the default mode. The Connection Tracking is performed as per the Connection Key (default Hash Method) for the specific protocol. - PER_SESSION: The Connection Tracking is performed as per the configured Session Affinity. It matches the configured Session Affinity. For more details, see [Tracking Mode for Network Load Balancing](https://cloud.google.com/load-balancing/docs/network/networklb-backend-service#tracking-mode) and [Tracking Mode for Internal TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/internal#tracking-mode).", + "type": "string", + "enumDescriptions": [ + "", + "", + "" + ], + "enum": [ + "INVALID_TRACKING_MODE", + "PER_CONNECTION", + "PER_SESSION" + ] + }, + "connectionPersistenceOnUnhealthyBackends": { + "description": "Specifies connection persistence when backends are unhealthy. The default value is DEFAULT_FOR_PROTOCOL. If set to DEFAULT_FOR_PROTOCOL, the existing connections persist on unhealthy backends only for connection-oriented protocols (TCP and SCTP) and only if the Tracking Mode is PER_CONNECTION (default tracking mode) or the Session Affinity is configured for 5-tuple. They do not persist for UDP. If set to NEVER_PERSIST, after a backend becomes unhealthy, the existing connections on the unhealthy backend are never persisted on the unhealthy backend. They are always diverted to newly selected healthy backends (unless all backends are unhealthy). If set to ALWAYS_PERSIST, existing connections always persist on unhealthy backends regardless of protocol and session affinity. It is generally not recommended to use this mode overriding the default. For more details, see [Connection Persistence for Network Load Balancing](https://cloud.google.com/load-balancing/docs/network/networklb-backend-service#connection-persistence) and [Connection Persistence for Internal TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/internal#connection-persistence).", + "type": "string", + "enumDescriptions": [ + "", + "", + "" + ], + "enum": [ + "ALWAYS_PERSIST", + "DEFAULT_FOR_PROTOCOL", + "NEVER_PERSIST" + ] + }, + "idleTimeoutSec": { + "description": "Specifies how long to keep a Connection Tracking entry while there is no matching traffic (in seconds). For internal passthrough Network Load Balancers: - The minimum (default) is 10 minutes and the maximum is 16 hours. - It can be set only if Connection Tracking is less than 5-tuple (i.e. Session Affinity is CLIENT_IP_NO_DESTINATION, CLIENT_IP or CLIENT_IP_PROTO, and Tracking Mode is PER_SESSION). For external passthrough Network Load Balancers the default is 60 seconds. This option is not available publicly.", + "type": "integer", + "format": "int32" + }, + "enableStrongAffinity": { + "description": "Enable Strong Session Affinity for external passthrough Network Load Balancers. This option is not available publicly.", + "type": "boolean" + } + } + }, + "BackendServiceLocalityLoadBalancingPolicyConfig": { + "id": "BackendServiceLocalityLoadBalancingPolicyConfig", + "description": "Container for either a built-in LB policy supported by gRPC or Envoy or a custom one implemented by the end user.", + "type": "object", + "properties": { + "policy": { + "$ref": "BackendServiceLocalityLoadBalancingPolicyConfigPolicy" + }, + "customPolicy": { + "$ref": "BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy" + } + } + }, + "BackendServiceLocalityLoadBalancingPolicyConfigPolicy": { + "id": "BackendServiceLocalityLoadBalancingPolicyConfigPolicy", + "description": "The configuration for a built-in load balancing policy.", + "type": "object", + "properties": { + "name": { + "description": "The name of a locality load-balancing policy. Valid values include ROUND_ROBIN and, for Java clients, LEAST_REQUEST. For information about these values, see the description of localityLbPolicy. Do not specify the same policy more than once for a backend. If you do, the configuration is rejected.", + "type": "string", + "enumDescriptions": [ + "", + "An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests.", + "This algorithm implements consistent hashing to backends. Maglev can be used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824", + "Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer.", + "The load balancer selects a random healthy host.", + "The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests.", + "This is a simple policy in which each healthy backend is selected in round robin order. This is the default.", + "Per-instance weighted Load Balancing via health check reported weights. If set, the Backend Service must configure a non legacy HTTP-based Health Check, and health check replies are expected to contain non-standard HTTP response header field X-Load-Balancing-Endpoint-Weight to specify the per-instance weights. If set, Load Balancing is weighted based on the per-instance weights reported in the last processed health check replies, as long as every instance either reported a valid weight or had UNAVAILABLE_WEIGHT. Otherwise, Load Balancing remains equal-weight. This option is only supported in Network Load Balancing." + ], + "enum": [ + "INVALID_LB_POLICY", + "LEAST_REQUEST", + "MAGLEV", + "ORIGINAL_DESTINATION", + "RANDOM", + "RING_HASH", + "ROUND_ROBIN", + "WEIGHTED_MAGLEV" + ] + } + } + }, + "BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy": { + "id": "BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy", + "description": "The configuration for a custom policy implemented by the user and deployed with the client.", + "type": "object", + "properties": { + "name": { + "description": "Identifies the custom policy. The value should match the name of a custom implementation registered on the gRPC clients. It should follow protocol buffer message naming conventions and include the full path (for example, myorg.CustomLbPolicy). The maximum length is 256 characters. Do not specify the same custom policy more than once for a backend. If you do, the configuration is rejected. For an example of how to use this field, see Use a custom policy.", + "type": "string" + }, + "data": { + "description": "An optional, arbitrary JSON object with configuration data, understood by a locally installed custom policy implementation.", + "type": "string" + } + } + }, + "BackendServiceUsedBy": { + "id": "BackendServiceUsedBy", "type": "object", - "id": "NetworksGetEffectiveFirewallsResponse" + "properties": { + "reference": { + "type": "string" + } + } }, "BackendServiceAggregatedList": { "id": "BackendServiceAggregatedList", + "description": "Contains a list of BackendServicesScopedList.", + "type": "object", "properties": { "kind": { - "type": "string", "description": "Type of resource.", - "default": "compute#backendServiceAggregatedList" - }, - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", + "default": "compute#backendServiceAggregatedList", "type": "string" }, "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" }, "items": { - "type": "object", "description": "A list of BackendServicesScopedList resources.", + "type": "object", "additionalProperties": { - "$ref": "BackendServicesScopedList", - "description": "Name of the scope containing this set of BackendServices." + "description": "Name of the scope containing this set of BackendServices.", + "$ref": "BackendServicesScopedList" } }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, "warning": { "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { - "data": { - "type": "array", - "items": { - "properties": { - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - }, - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - } - }, - "type": "object" - }, - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } " - }, "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -14403,6 +15747,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -14420,8 +15765,58 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + }, + "unreachables": { + "description": "[Output Only] Unreachable resources.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "BackendServicesScopedList": { + "id": "BackendServicesScopedList", + "type": "object", + "properties": { + "backendServices": { + "description": "A list of BackendServices contained in this scope.", + "type": "array", + "items": { + "$ref": "BackendService" + } + }, + "warning": { + "description": "Informational warning which replaces the list of backend services when the list is empty.", + "type": "object", + "properties": { + "code": { "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -14433,6 +15828,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -14450,39 +15846,37 @@ "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", "When undeclared properties in the schema are present", "A given scope cannot be reached." - ] - }, - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - } - }, - "type": "object" - }, - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." - }, - "unreachables": { - "items": { - "type": "string" - }, - "type": "array", - "description": "[Output Only] Unreachable resources." - } - }, - "type": "object", - "description": "Contains a list of BackendServicesScopedList." - }, - "PacketMirroringList": { - "id": "PacketMirroringList", - "description": "Contains a list of PacketMirroring resources.", - "type": "object", - "properties": { - "warning": { - "properties": { - "code": { - "type": "string", + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -14494,6 +15888,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -14511,7 +15906,69 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + } + } + }, + "BackendServiceListUsable": { + "id": "BackendServiceListUsable", + "description": "Contains a list of usable BackendService resources.", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of resource. Always compute#usableBackendServiceList for lists of usable backend services.", + "default": "compute#usableBackendServiceList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of BackendService resources.", + "type": "array", + "items": { + "$ref": "BackendService" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, + "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -14523,6 +15980,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -14541,219 +15999,227 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response." + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" }, "data": { "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", "items": { "type": "object", "properties": { - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - }, "key": { "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" } } - }, - "type": "array" - }, - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." + } } - }, - "description": "[Output Only] Informational warning message.", - "type": "object" - }, - "items": { - "items": { - "$ref": "PacketMirroring" - }, - "type": "array", - "description": "A list of PacketMirroring resources." - }, - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", - "type": "string" - }, - "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." - }, - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", - "type": "string" - }, - "kind": { - "description": "[Output Only] Type of resource. Always compute#packetMirroring for packetMirrorings.", - "default": "compute#packetMirroringList", + } + } + } + }, + "ResourceGroupReference": { + "id": "ResourceGroupReference", + "type": "object", + "properties": { + "group": { + "description": "A URI referencing one of the instance groups or network endpoint groups listed in the backend service.", "type": "string" } } }, - "NetworkEndpointGroupCloudRun": { - "id": "NetworkEndpointGroupCloudRun", - "properties": { - "urlMask": { - "type": "string", - "description": "A template to parse \u003cservice\u003e and \u003ctag\u003e fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services. For example, request URLs \"foo1.domain.com/bar1\" and \"foo1.domain.com/bar2\" can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask \"\u003ctag\u003e.domain.com/\u003cservice\u003e\". The URL mask will parse them to { service=\"bar1\", tag=\"foo1\" } and { service=\"bar2\", tag=\"foo2\" } respectively." - }, - "tag": { - "type": "string", - "description": "Optional Cloud Run tag represents the \"named-revision\" to provide additional fine-grained traffic routing information. The tag must be 1-63 characters long, and comply with RFC1035. Example value: \"revision-0010\"." - }, - "service": { - "description": "Cloud Run service is the main resource of Cloud Run. The service must be 1-63 characters long, and comply with RFC1035. Example value: \"run-service\".", - "type": "string" - } - }, + "BackendServiceGroupHealth": { + "id": "BackendServiceGroupHealth", "type": "object", - "description": "Configuration for a Cloud Run network endpoint group (NEG). The service must be provided explicitly or in the URL mask. The tag is optional, may be provided explicitly or in the URL mask. Note: Cloud Run service must be in the same project and located in the same region as the Serverless NEG." - }, - "BulkInsertInstanceResource": { "properties": { - "sourceInstanceTemplate": { - "type": "string", - "description": "Specifies the instance template from which to create instances. You may combine sourceInstanceTemplate with instanceProperties to override specific values from an existing instance template. Bulk API follows the semantics of JSON Merge Patch described by RFC 7396. It can be a full or partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project /global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate This field is optional." + "kind": { + "description": "[Output Only] Type of resource. Always compute#backendServiceGroupHealth for the health of backend services.", + "default": "compute#backendServiceGroupHealth", + "type": "string" }, - "instanceProperties": { - "$ref": "InstanceProperties", - "description": "The instance properties defining the VM instances to be created. Required if sourceInstanceTemplate is not provided." + "healthStatus": { + "description": "Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.", + "type": "array", + "items": { + "$ref": "HealthStatus" + } }, - "perInstanceProperties": { - "description": "Per-instance properties to be set on individual instances. Keys of this map specify requested instance names. Can be empty if name_pattern is used.", + "annotations": { + "description": "Metadata defined as annotations on the network endpoint group.", "type": "object", "additionalProperties": { - "$ref": "BulkInsertInstanceResourcePerInstanceProperties" + "type": "string" } - }, - "locationPolicy": { - "$ref": "LocationPolicy", - "description": "Policy for chosing target zone. For more information, see Create VMs in bulk ." - }, - "namePattern": { - "type": "string", - "description": "The string pattern used for the names of the VMs. Either name_pattern or per_instance_properties must be set. The pattern must contain one continuous sequence of placeholder hash characters (#) with each character corresponding to one digit of the generated instance name. Example: a name_pattern of inst-#### generates instance names such as inst-0001 and inst-0002. If existing instances in the same project and zone have names that match the name pattern then the generated instance numbers start after the biggest existing number. For example, if there exists an instance with name inst-0050, then instance names generated using the pattern inst-#### begin with inst-0051. The name pattern placeholder #...# can contain up to 18 characters." - }, - "count": { - "format": "int64", - "description": "The maximum number of instances to create.", - "type": "string" - }, - "minCount": { - "description": "The minimum number of instances to create. If no min_count is specified then count is used as the default value. If min_count instances cannot be created, then no instances will be created and instances already created will be deleted.", - "type": "string", - "format": "int64" } - }, - "type": "object", - "id": "BulkInsertInstanceResource", - "description": "A transient resource used in compute.instances.bulkInsert and compute.regionInstances.bulkInsert . This resource is not persisted anywhere, it is used only for processing the requests." + } }, - "RouterInterface": { - "id": "RouterInterface", + "HealthStatus": { + "id": "HealthStatus", "type": "object", "properties": { - "managementType": { - "enum": [ - "MANAGED_BY_ATTACHMENT", - "MANAGED_BY_USER" - ], - "type": "string", - "description": "[Output Only] The resource that configures and manages this interface. - MANAGED_BY_USER is the default value and can be managed directly by users. - MANAGED_BY_ATTACHMENT is an interface that is configured and managed by Cloud Interconnect, specifically, by an InterconnectAttachment of type PARTNER. Google automatically creates, updates, and deletes this type of interface when the PARTNER InterconnectAttachment is created, updated, or deleted. ", - "enumDescriptions": [ - "The interface is automatically created for PARTNER type InterconnectAttachment, Google will automatically create/update/delete this interface when the PARTNER InterconnectAttachment is created/provisioned/deleted. This type of interface cannot be manually managed by user.", - "Default value, the interface is manually created and managed by user." - ] + "ipAddress": { + "description": "For target pool based Network Load Balancing, it indicates the forwarding rule's IP address assigned to this instance. For other types of load balancing, the field indicates VM internal ip.", + "type": "string" }, - "ipRange": { - "type": "string", - "description": "IP address and range of the interface. The IP range must be in the RFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE: Do not truncate the address as it represents the IP address of the interface." + "port": { + "description": "The named port of the instance group, not necessarily the port that is health-checked.", + "type": "integer", + "format": "int32" }, - "subnetwork": { - "type": "string", - "description": "The URI of the subnetwork resource that this interface belongs to, which must be in the same region as the Cloud Router. When you establish a BGP session to a VM instance using this interface, the VM instance must belong to the same subnetwork as the subnetwork specified here." + "instance": { + "description": "URL of the instance resource.", + "type": "string" }, - "linkedInterconnectAttachment": { + "healthState": { + "description": "Health state of the IPv4 address of the instance.", "type": "string", - "description": "URI of the linked Interconnect attachment. It must be in the same region as the router. Each interface can have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a virtual machine instance." + "enumDescriptions": [ + "", + "" + ], + "enum": [ + "HEALTHY", + "UNHEALTHY" + ] }, - "name": { - "annotations": { - "required": [ - "compute.routers.insert" - ] - }, - "type": "string", - "description": "Name of this interface entry. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "annotations": { + "description": "Metadata defined as annotations for network endpoint.", + "type": "object", + "additionalProperties": { + "type": "string" + } }, - "privateIpAddress": { - "description": "The regional private internal IP address that is used to establish BGP sessions to a VM instance acting as a third-party Router Appliance, such as a Next Gen Firewall, a Virtual Router, or an SD-WAN VM.", + "weight": { "type": "string" }, - "linkedVpnTunnel": { + "weightError": { "type": "string", - "description": "URI of the linked VPN tunnel, which must be in the same region as the router. Each interface can have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a virtual machine instance." + "enumDescriptions": [ + "The response to a Health Check probe had the HTTP response header field X-Load-Balancing-Endpoint-Weight, but its content was invalid (i.e., not a non-negative single-precision floating-point number in decimal string representation).", + "The response to a Health Check probe did not have the HTTP response header field X-Load-Balancing-Endpoint-Weight.", + "This is the value when the accompanied health status is either TIMEOUT (i.e.,the Health Check probe was not able to get a response in time) or UNKNOWN. For the latter, it should be typically because there has not been sufficient time to parse and report the weight for a new backend (which is with 0.0.0.0 ip address). However, it can be also due to an outage case for which the health status is explicitly reset to UNKNOWN.", + "This is the default value when WeightReportMode is DISABLE, and is also the initial value when WeightReportMode has just updated to ENABLE or DRY_RUN and there has not been sufficient time to parse and report the backend weight." + ], + "enum": [ + "INVALID_WEIGHT", + "MISSING_WEIGHT", + "UNAVAILABLE_WEIGHT", + "WEIGHT_NONE" + ] }, - "redundantInterface": { - "type": "string", - "description": "Name of the interface that will be redundant with the current interface you are creating. The redundantInterface must belong to the same Cloud Router as the interface here. To establish the BGP session to a Router Appliance VM, you must create two BGP peers. The two BGP peers must be attached to two separate interfaces that are redundant with each other. The redundant_interface must be 1-63 characters long, and comply with RFC1035. Specifically, the redundant_interface must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "forwardingRuleIp": { + "description": "A forwarding rule IP address assigned to this instance.", + "type": "string" + }, + "forwardingRule": { + "description": "URL of the forwarding rule associated with the health status of the instance.", + "type": "string" } } }, - "TargetHttpsProxiesScopedList": { - "id": "TargetHttpsProxiesScopedList", + "CommitmentList": { + "id": "CommitmentList", + "description": "Contains a list of Commitment resources.", + "type": "object", "properties": { - "targetHttpsProxies": { + "kind": { + "description": "[Output Only] Type of resource. Always compute#commitmentList for lists of commitments.", + "default": "compute#commitmentList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of Commitment resources.", "type": "array", "items": { - "$ref": "TargetHttpsProxy" - }, - "description": "A list of TargetHttpsProxies contained in this scope." + "$ref": "Commitment" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" }, "warning": { + "description": "[Output Only] Informational warning message.", "type": "object", "properties": { - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", "type": "string", - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -14765,6 +16231,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -14783,12 +16250,76 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response." + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" }, "data": { "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", "type": "array", "items": { + "type": "object", "properties": { "key": { "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", @@ -14798,177 +16329,344 @@ "description": "[Output Only] A warning data value corresponding to the key.", "type": "string" } - }, - "type": "object" + } } } - }, - "description": "Informational warning which replaces the list of backend services when the list is empty." - } - }, - "type": "object" - }, - "RegionInstanceGroupManagersDeleteInstancesRequest": { - "properties": { - "skipInstancesOnValidationError": { - "description": "Specifies whether the request should proceed despite the inclusion of instances that are not members of the group or that are already in the process of being deleted or abandoned. If this field is set to `false` and such an instance is specified in the request, the operation fails. The operation always fails if the request contains a malformed instance URL or a reference to an instance that exists in a zone or region other than the group's zone or region.", - "type": "boolean" - }, - "instances": { - "type": "array", - "description": "The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].", - "items": { - "type": "string" } } - }, - "type": "object", - "id": "RegionInstanceGroupManagersDeleteInstancesRequest" + } }, - "NetworkInterface": { + "Commitment": { + "id": "Commitment", + "description": "Represents a regional Commitment resource. Creating a commitment resource means that you are purchasing a committed use contract with an explicit start and end time. You can create commitments based on vCPUs and memory usage and receive discounted rates. For full details, read Signing Up for Committed Use Discounts.", "type": "object", - "description": "A network interface resource attached to an instance.", "properties": { - "ipv6AccessType": { + "kind": { + "description": "[Output Only] Type of the resource. Always compute#commitment for commitments.", + "default": "compute#commitment", + "type": "string" + }, + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", + "type": "string", + "format": "uint64" + }, + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" + }, + "name": { + "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "type": "string" + }, + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource.", + "type": "string" + }, + "region": { + "description": "[Output Only] URL of the region where this commitment may be used.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", + "type": "string" + }, + "status": { + "description": "[Output Only] Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED.", "type": "string", "enumDescriptions": [ - "This network interface can have external IPv6.", - "This network interface can have internal IPv6." + "", + "Deprecate CANCELED status. Will use separate status to differentiate cancel by mergeCud or manual cancellation.", + "", + "", + "" ], "enum": [ - "EXTERNAL", - "INTERNAL" - ], - "description": "[Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork. Valid only if stackType is IPV4_IPV6." - }, - "queueCount": { - "type": "integer", - "format": "int32", - "description": "The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It'll be empty if not specified by the users." + "ACTIVE", + "CANCELLED", + "CREATING", + "EXPIRED", + "NOT_YET_ACTIVE" + ] }, - "kind": { - "type": "string", - "description": "[Output Only] Type of the resource. Always compute#networkInterface for network interfaces.", - "default": "compute#networkInterface" + "statusMessage": { + "description": "[Output Only] An optional, human-readable explanation of the status.", + "type": "string" }, - "ipv6Address": { + "plan": { + "description": "The plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_SIX_MONTH (3 years).", "type": "string", - "description": "An IPv6 internal network address for this network interface." + "enumDescriptions": [ + "", + "", + "" + ], + "enum": [ + "INVALID", + "THIRTY_SIX_MONTH", + "TWELVE_MONTH" + ] }, - "internalIpv6PrefixLength": { - "description": "The prefix length of the primary internal IPv6 range.", - "format": "int32", - "type": "integer" + "startTimestamp": { + "description": "[Output Only] Commitment start time in RFC3339 text format.", + "type": "string" }, - "networkIP": { - "description": "An IPv4 internal IP address to assign to the instance for this network interface. If not specified by the user, an unused internal IP is assigned by the system.", + "endTimestamp": { + "description": "[Output Only] Commitment end time in RFC3339 text format.", "type": "string" }, - "aliasIpRanges": { - "description": "An array of alias IP ranges for this network interface. You can only specify this field for network interfaces in VPC networks.", + "resources": { + "description": "A list of commitment amounts for particular resources. Note that VCPU and MEMORY resource commitments must occur together.", + "type": "array", "items": { - "$ref": "AliasIpRange" - }, - "type": "array" + "$ref": "ResourceCommitment" + } }, - "accessConfigs": { + "type": { + "description": "The type of commitment, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines.", + "type": "string", + "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "enum": [ + "ACCELERATOR_OPTIMIZED", + "ACCELERATOR_OPTIMIZED_A3", + "COMPUTE_OPTIMIZED", + "COMPUTE_OPTIMIZED_C2D", + "COMPUTE_OPTIMIZED_C3", + "COMPUTE_OPTIMIZED_C3D", + "COMPUTE_OPTIMIZED_H3", + "GENERAL_PURPOSE", + "GENERAL_PURPOSE_E2", + "GENERAL_PURPOSE_N2", + "GENERAL_PURPOSE_N2D", + "GENERAL_PURPOSE_T2D", + "GRAPHICS_OPTIMIZED", + "MEMORY_OPTIMIZED", + "MEMORY_OPTIMIZED_M3", + "STORAGE_OPTIMIZED_Z3", + "TYPE_UNSPECIFIED" + ] + }, + "reservations": { + "description": "List of create-on-create reservations for this commitment.", "type": "array", "items": { - "$ref": "AccessConfig" - }, - "description": "An array of configurations for this interface. Currently, only one access config, ONE_TO_ONE_NAT, is supported. If there are no accessConfigs specified, then this instance will have no external internet access." + "$ref": "Reservation" + } }, - "stackType": { + "category": { + "description": "The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified.", + "type": "string", "enumDescriptions": [ - "The network interface can have both IPv4 and IPv6 addresses.", - "The network interface will be assigned IPv4 address." + "", + "", + "" ], - "type": "string", "enum": [ - "IPV4_IPV6", - "IPV4_ONLY" - ], - "description": "The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used. This field can be both set at instance creation and update network interface operations." + "CATEGORY_UNSPECIFIED", + "LICENSE", + "MACHINE" + ] }, - "network": { - "description": "URL of the VPC network resource for this instance. When creating an instance, if neither the network nor the subnetwork is specified, the default network global/networks/default is used. If the selected project doesn't have the default network, you must specify a network or subnet. If the network is not specified but the subnetwork is specified, the network is inferred. If you specify this property, you can specify the network as a full or partial URL. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/global/networks/ network - projects/project/global/networks/network - global/networks/default ", - "type": "string" + "licenseResource": { + "description": "The license specification required as part of a license commitment.", + "$ref": "LicenseResourceCommitment" }, - "subnetwork": { - "description": "The URL of the Subnetwork resource for this instance. If the network resource is in legacy mode, do not specify this field. If the network is in auto subnet mode, specifying the subnetwork is optional. If the network is in custom subnet mode, specifying the subnetwork is required. If you specify this field, you can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/regions/region /subnetworks/subnetwork - regions/region/subnetworks/subnetwork ", - "type": "string" + "autoRenew": { + "description": "Specifies whether to enable automatic renewal for the commitment. The default value is false if not specified. The field can be updated until the day of the commitment expiration at 12:00am PST. If the field is set to true, the commitment will be automatically renewed for either one or three years according to the terms of the existing commitment.", + "type": "boolean" }, - "networkAttachment": { - "type": "string", - "description": "The URL of the network attachment that this interface should connect to in the following format: projects/{project_number}/regions/{region_name}/networkAttachments/{network_attachment_name}." + "mergeSourceCommitments": { + "description": "List of source commitments to be merged into a new commitment.", + "type": "array", + "items": { + "type": "string" + } }, - "fingerprint": { - "type": "string", - "format": "byte", - "description": "Fingerprint hash of contents stored in this network interface. This field will be ignored when inserting an Instance or adding a NetworkInterface. An up-to-date fingerprint must be provided in order to update the NetworkInterface. The request will fail with error 400 Bad Request if the fingerprint is not provided, or 412 Precondition Failed if the fingerprint is out of date." + "splitSourceCommitment": { + "description": "Source commitment to be split into a new commitment.", + "type": "string" }, - "ipv6AccessConfigs": { - "items": { - "$ref": "AccessConfig" - }, + "existingReservations": { + "description": "Specifies the already existing reservations to attach to the Commitment. This field is optional, and it can be a full or partial URL. For example, the following are valid URLs to an reservation: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /reservations/reservation - projects/project/zones/zone/reservations/reservation ", "type": "array", - "description": "An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access." - }, - "name": { + "items": { + "type": "string" + } + } + } + }, + "ResourceCommitment": { + "id": "ResourceCommitment", + "description": "Commitment for a particular resource (a Commitment is composed of one or more of these).", + "type": "object", + "properties": { + "type": { + "description": "Type of resource for which this commitment applies. Possible values are VCPU, MEMORY, LOCAL_SSD, and ACCELERATOR.", "type": "string", - "description": "[Output Only] The name of the network interface, which is generated by the server. For a VM, the network interface uses the nicN naming format. Where N is a value between 0 and 7. The default interface value is nic0." - }, - "nicType": { "enumDescriptions": [ - "GVNIC", - "No type specified.", - "VIRTIO" + "", + "", + "", + "", + "" ], "enum": [ - "GVNIC", - "UNSPECIFIED_NIC_TYPE", - "VIRTIO_NET" - ], + "ACCELERATOR", + "LOCAL_SSD", + "MEMORY", + "UNSPECIFIED", + "VCPU" + ] + }, + "amount": { + "description": "The amount of the resource purchased (in a type-dependent unit, such as bytes). For vCPUs, this can just be an integer. For memory, this must be provided in MB. Memory must be a multiple of 256 MB, with up to 6.5GB of memory per every vCPU.", "type": "string", - "description": "The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet." + "format": "int64" + }, + "acceleratorType": { + "description": "Name of the accelerator type resource. Applicable only when the type is ACCELERATOR.", + "type": "string" } - }, - "id": "NetworkInterface" + } }, - "SecurityPolicyRuleHttpHeaderAction": { + "LicenseResourceCommitment": { + "id": "LicenseResourceCommitment", + "description": "Commitment for a particular license resource.", "type": "object", - "id": "SecurityPolicyRuleHttpHeaderAction", "properties": { - "requestHeadersToAdds": { - "description": "The list of request headers to add or overwrite if they're already present.", - "items": { - "$ref": "SecurityPolicyRuleHttpHeaderActionHttpHeaderOption" - }, - "type": "array" + "license": { + "description": "Any applicable license URI.", + "type": "string" + }, + "amount": { + "description": "The number of licenses purchased.", + "type": "string", + "format": "int64" + }, + "coresPerLicense": { + "description": "Specifies the core range of the instance for which this license applies.", + "type": "string" } } }, - "NetworkAttachmentList": { - "id": "NetworkAttachmentList", + "CommitmentAggregatedList": { + "id": "CommitmentAggregatedList", "type": "object", "properties": { + "kind": { + "description": "[Output Only] Type of resource. Always compute#commitmentAggregatedList for aggregated lists of commitments.", + "default": "compute#commitmentAggregatedList", + "type": "string" + }, "id": { "description": "[Output Only] Unique identifier for the resource; defined by the server.", "type": "string" }, "items": { - "items": { - "$ref": "NetworkAttachment" - }, - "type": "array", - "description": "A list of NetworkAttachment resources." + "description": "A list of CommitmentsScopedList resources.", + "type": "object", + "additionalProperties": { + "description": "[Output Only] Name of the scope containing this set of commitments.", + "$ref": "CommitmentsScopedList" + } }, - "warning": { - "properties": { - "code": { - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, + "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", "DEPRECATED_TYPE_USED", "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", "EXPERIMENTAL_TYPE_USED", @@ -14977,6 +16675,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -14994,7 +16693,58 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + }, + "unreachables": { + "description": "[Output Only] Unreachable resources.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "CommitmentsScopedList": { + "id": "CommitmentsScopedList", + "type": "object", + "properties": { + "commitments": { + "description": "[Output Only] A list of commitments contained in this scope.", + "type": "array", + "items": { + "$ref": "Commitment" + } + }, + "warning": { + "description": "[Output Only] Informational warning which replaces the list of commitments when the list is empty.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -15006,6 +16756,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -15024,158 +16775,128 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "type": "string", - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response." + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" }, "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", "items": { "type": "object", "properties": { "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" }, "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" } } - }, - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "type": "array" - }, - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" + } } - }, - "type": "object", - "description": "[Output Only] Informational warning message." - }, - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", - "type": "string" - }, - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", - "type": "string" - }, - "kind": { - "type": "string", - "default": "compute#networkAttachmentList" + } } } }, - "InterconnectDiagnostics": { + "DiskTypeList": { + "id": "DiskTypeList", + "description": "Contains a list of disk types.", "type": "object", "properties": { - "arpCaches": { - "items": { - "$ref": "InterconnectDiagnosticsARPEntry" - }, - "description": "A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently seen by the Google router in the ARP cache for the Interconnect. This will be empty when the Interconnect is not bundled.", - "type": "array" - }, - "macAddress": { - "type": "string", - "description": "The MAC address of the Interconnect's bundle interface." - }, - "bundleAggregationType": { - "description": "The aggregation type of the bundle interface.", - "enum": [ - "BUNDLE_AGGREGATION_TYPE_LACP", - "BUNDLE_AGGREGATION_TYPE_STATIC" - ], - "enumDescriptions": [ - "LACP is enabled.", - "LACP is disabled." - ], + "kind": { + "description": "[Output Only] Type of resource. Always compute#diskTypeList for disk types.", + "default": "compute#diskTypeList", "type": "string" }, - "bundleOperationalStatus": { - "enumDescriptions": [ - "If bundleAggregationType is LACP: LACP is not established and/or all links in the bundle have DOWN operational status. If bundleAggregationType is STATIC: one or more links in the bundle has DOWN operational status.", - "If bundleAggregationType is LACP: LACP is established and at least one link in the bundle has UP operational status. If bundleAggregationType is STATIC: all links in the bundle (typically just one) have UP operational status." - ], - "type": "string", - "enum": [ - "BUNDLE_OPERATIONAL_STATUS_DOWN", - "BUNDLE_OPERATIONAL_STATUS_UP" - ], - "description": "The operational status of the bundle interface." + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" }, - "links": { - "description": "A list of InterconnectDiagnostics.LinkStatus objects, describing the status for each link on the Interconnect.", + "items": { + "description": "A list of DiskType resources.", + "type": "array", "items": { - "$ref": "InterconnectDiagnosticsLinkStatus" - }, - "type": "array" - } - }, - "id": "InterconnectDiagnostics", - "description": "Diagnostics information about interconnect, contains detailed and current technical information about Google's side of the connection." - }, - "AuthorizationLoggingOptions": { - "type": "object", - "description": "This is deprecated and has no effect. Do not use.", - "properties": { - "permissionType": { - "type": "string", - "enumDescriptions": [ - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use." - ], - "description": "This is deprecated and has no effect. Do not use.", - "enum": [ - "ADMIN_READ", - "ADMIN_WRITE", - "DATA_READ", - "DATA_WRITE", - "PERMISSION_TYPE_UNSPECIFIED" - ] - } - }, - "id": "AuthorizationLoggingOptions" - }, - "InterconnectList": { - "type": "object", - "id": "InterconnectList", - "description": "Response to the list request, and contains a list of interconnects.", - "properties": { - "kind": { - "default": "compute#interconnectList", - "description": "[Output Only] Type of resource. Always compute#interconnectList for lists of interconnects.", + "$ref": "DiskType" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", "type": "string" }, "warning": { "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { - "data": { - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "type": "array", - "items": { - "properties": { - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - }, - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - } - }, - "type": "object" - } - }, - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - }, "code": { "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -15187,6 +16908,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -15205,6 +16927,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -15216,6 +16968,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -15233,152 +16986,124 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } } - }, - "type": "object" - }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." - }, - "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." - }, - "items": { - "type": "array", - "items": { - "$ref": "Interconnect" - }, - "description": "A list of Interconnect resources." - }, - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", - "type": "string" + } } } }, - "InstanceManagedByIgmError": { + "DiskType": { + "id": "DiskType", + "description": "Represents a Disk Type resource. Google Compute Engine has two Disk Type resources: * [Regional](/compute/docs/reference/rest/v1/regionDiskTypes) * [Zonal](/compute/docs/reference/rest/v1/diskTypes) You can choose from a variety of disk types based on your needs. For more information, read Storage options. The diskTypes resource represents disk types for a zonal persistent disk. For more information, read Zonal persistent disks. The regionDiskTypes resource represents disk types for a regional persistent disk. For more information, read Regional persistent disks.", "type": "object", "properties": { - "instanceActionDetails": { - "$ref": "InstanceManagedByIgmErrorInstanceActionDetails", - "description": "[Output Only] Details of the instance action that triggered this error. May be null, if the error was not caused by an action on an instance. This field is optional." + "kind": { + "description": "[Output Only] Type of the resource. Always compute#diskType for disk types.", + "default": "compute#diskType", + "type": "string" }, - "timestamp": { + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", "type": "string", - "description": "[Output Only] The time that this error occurred. This value is in RFC3339 text format." + "format": "uint64" }, - "error": { - "description": "[Output Only] Contents of the error.", - "$ref": "InstanceManagedByIgmErrorManagedInstanceError" - } - }, - "id": "InstanceManagedByIgmError" - }, - "RouterStatusNatStatusNatRuleStatus": { - "properties": { - "drainNatIps": { - "items": { - "type": "string" - }, - "description": "A list of IPs for NAT that are in drain mode. Example: [\"1.1.1.1\", \"179.12.26.133\"].", - "type": "array" + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" }, - "minExtraIpsNeeded": { - "format": "int32", - "type": "integer", - "description": "The number of extra IPs to allocate. This will be greater than 0 only if the existing IPs in this NAT Rule are NOT enough to allow all configured VMs to use NAT." + "name": { + "description": "[Output Only] Name of the resource.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "type": "string" }, - "ruleNumber": { - "type": "integer", - "format": "int32", - "description": "Rule number of the rule." + "description": { + "description": "[Output Only] An optional description of this resource.", + "type": "string" }, - "activeNatIps": { - "items": { - "type": "string" - }, - "description": "A list of active IPs for NAT. Example: [\"1.1.1.1\", \"179.12.26.133\"].", - "type": "array" + "validDiskSize": { + "description": "[Output Only] An optional textual description of the valid disk size, such as \"10GB-10TB\".", + "type": "string" }, - "numVmEndpointsWithNatMappings": { - "type": "integer", - "description": "Number of VM endpoints (i.e., NICs) that have NAT Mappings from this NAT Rule.", - "format": "int32" + "deprecated": { + "description": "[Output Only] The deprecation status associated with this disk type.", + "$ref": "DeprecationStatus" + }, + "zone": { + "description": "[Output Only] URL of the zone where the disk type resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", + "type": "string" + }, + "defaultDiskSizeGb": { + "description": "[Output Only] Server-defined default disk size in GB.", + "type": "string", + "format": "int64" + }, + "region": { + "description": "[Output Only] URL of the region where the disk type resides. Only applicable for regional resources. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.", + "type": "string" } - }, - "type": "object", - "description": "Status of a NAT Rule contained in this NAT.", - "id": "RouterStatusNatStatusNatRuleStatus" + } }, - "ReservationsScopedList": { - "id": "ReservationsScopedList", + "DiskTypeAggregatedList": { + "id": "DiskTypeAggregatedList", + "type": "object", "properties": { - "reservations": { - "type": "array", - "description": "A list of reservations contained in this scope.", - "items": { - "$ref": "Reservation" + "kind": { + "description": "[Output Only] Type of resource. Always compute#diskTypeAggregatedList.", + "default": "compute#diskTypeAggregatedList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of DiskTypesScopedList resources.", + "type": "object", + "additionalProperties": { + "description": "[Output Only] Name of the scope containing this set of disk types.", + "$ref": "DiskTypesScopedList" } }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, "warning": { - "description": "Informational warning which replaces the list of reservations when the list is empty.", + "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - }, - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - } - } - }, - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } " - }, - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", "type": "string", - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -15390,6 +17115,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -15408,363 +17134,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response." - } - }, - "type": "object" - } - }, - "type": "object" - }, - "RouterNatSubnetworkToNat": { - "properties": { - "secondaryIpRangeNames": { - "items": { - "type": "string" - }, - "description": "A list of the secondary ranges of the Subnetwork that are allowed to use NAT. This can be populated only if \"LIST_OF_SECONDARY_IP_RANGES\" is one of the values in source_ip_ranges_to_nat.", - "type": "array" - }, - "sourceIpRangesToNat": { - "type": "array", - "description": "Specify the options for NAT ranges in the Subnetwork. All options of a single value are valid except NAT_IP_RANGE_OPTION_UNSPECIFIED. The only valid option with multiple values is: [\"PRIMARY_IP_RANGE\", \"LIST_OF_SECONDARY_IP_RANGES\"] Default: [ALL_IP_RANGES]", - "items": { - "type": "string", - "enumDescriptions": [ - "The primary and all the secondary ranges are allowed to Nat.", - "A list of secondary ranges are allowed to Nat.", - "The primary range is allowed to Nat." - ], - "enum": [ - "ALL_IP_RANGES", - "LIST_OF_SECONDARY_IP_RANGES", - "PRIMARY_IP_RANGE" - ] - } - }, - "name": { - "type": "string", - "description": "URL for the subnetwork resource that will use NAT." - } - }, - "id": "RouterNatSubnetworkToNat", - "type": "object", - "description": "Defines the IP ranges that want to use NAT for a subnetwork." - }, - "SchedulingNodeAffinity": { - "id": "SchedulingNodeAffinity", - "type": "object", - "properties": { - "values": { - "items": { - "type": "string" - }, - "type": "array", - "description": "Corresponds to the label values of Node resource." - }, - "operator": { - "description": "Defines the operation of node selection. Valid operators are IN for affinity and NOT_IN for anti-affinity.", - "enumDescriptions": [ - "Requires Compute Engine to seek for matched nodes.", - "Requires Compute Engine to avoid certain nodes.", - "" - ], - "enum": [ - "IN", - "NOT_IN", - "OPERATOR_UNSPECIFIED" - ], - "type": "string" - }, - "key": { - "description": "Corresponds to the label key of Node resource.", - "type": "string" - } - }, - "description": "Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled." - }, - "BackendServiceCdnPolicy": { - "id": "BackendServiceCdnPolicy", - "description": "Message containing Cloud CDN configuration for a backend service.", - "properties": { - "negativeCaching": { - "description": "Negative caching allows per-status code TTLs to be set, in order to apply fine-grained caching for common errors or redirects. This can reduce the load on your origin and improve end-user experience by reducing response latency. When the cache mode is set to CACHE_ALL_STATIC or USE_ORIGIN_HEADERS, negative caching applies to responses with the specified response code that lack any Cache-Control, Expires, or Pragma: no-cache directives. When the cache mode is set to FORCE_CACHE_ALL, negative caching applies to all responses with the specified response code, and override any caching headers. By default, Cloud CDN will apply the following default TTLs to these status codes: HTTP 300 (Multiple Choice), 301, 308 (Permanent Redirects): 10m HTTP 404 (Not Found), 410 (Gone), 451 (Unavailable For Legal Reasons): 120s HTTP 405 (Method Not Found), 421 (Misdirected Request), 501 (Not Implemented): 60s. These defaults can be overridden in negative_caching_policy.", - "type": "boolean" - }, - "maxTtl": { - "format": "int32", - "description": "Specifies the maximum allowed TTL for cached content served by this origin. Cache directives that attempt to set a max-age or s-maxage higher than this, or an Expires header more than maxTTL seconds in the future will be capped at the value of maxTTL, as if it were the value of an s-maxage Cache-Control directive. Headers sent to the client will not be modified. Setting a TTL of \"0\" means \"always revalidate\". The maximum allowed value is 31,622,400s (1 year), noting that infrequently accessed objects may be evicted from the cache before the defined TTL.", - "type": "integer" - }, - "signedUrlCacheMaxAgeSec": { - "format": "int64", - "type": "string", - "description": "Maximum number of seconds the response to a signed URL request will be considered fresh. After this time period, the response will be revalidated before being served. Defaults to 1hr (3600s). When serving responses to signed URL requests, Cloud CDN will internally behave as though all responses from this backend had a \"Cache-Control: public, max-age=[TTL]\" header, regardless of any existing Cache-Control header. The actual headers served in responses will not be altered." - }, - "defaultTtl": { - "type": "integer", - "format": "int32", - "description": "Specifies the default TTL for cached content served by this origin for responses that do not have an existing valid TTL (max-age or s-max-age). Setting a TTL of \"0\" means \"always revalidate\". The value of defaultTTL cannot be set to a value greater than that of maxTTL, but can be equal. When the cacheMode is set to FORCE_CACHE_ALL, the defaultTTL will overwrite the TTL set in all responses. The maximum allowed value is 31,622,400s (1 year), noting that infrequently accessed objects may be evicted from the cache before the defined TTL." - }, - "negativeCachingPolicy": { - "type": "array", - "description": "Sets a cache TTL for the specified HTTP status code. negative_caching must be enabled to configure negative_caching_policy. Omitting the policy and leaving negative_caching enabled will use Cloud CDN's default cache TTLs. Note that when specifying an explicit negative_caching_policy, you should take care to specify a cache TTL for all response codes that you wish to cache. Cloud CDN will not apply any default negative caching when a policy exists.", - "items": { - "$ref": "BackendServiceCdnPolicyNegativeCachingPolicy" - } - }, - "cacheKeyPolicy": { - "description": "The CacheKeyPolicy for this CdnPolicy.", - "$ref": "CacheKeyPolicy" - }, - "requestCoalescing": { - "description": "If true then Cloud CDN will combine multiple concurrent cache fill requests into a small number of requests to the origin.", - "type": "boolean" - }, - "signedUrlKeyNames": { - "type": "array", - "items": { - "type": "string" - }, - "description": "[Output Only] Names of the keys for signing request URLs." - }, - "cacheMode": { - "type": "string", - "enum": [ - "CACHE_ALL_STATIC", - "FORCE_CACHE_ALL", - "INVALID_CACHE_MODE", - "USE_ORIGIN_HEADERS" - ], - "enumDescriptions": [ - "Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached.", - "Cache all content, ignoring any \"private\", \"no-store\" or \"no-cache\" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content.", - "", - "Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server." - ], - "description": "Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. FORCE_CACHE_ALL Cache all content, ignoring any \"private\", \"no-store\" or \"no-cache\" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached." - }, - "clientTtl": { - "description": "Specifies a separate client (e.g. browser client) maximum TTL. This is used to clamp the max-age (or Expires) value sent to the client. With FORCE_CACHE_ALL, the lesser of client_ttl and default_ttl is used for the response max-age directive, along with a \"public\" directive. For cacheable content in CACHE_ALL_STATIC mode, client_ttl clamps the max-age from the origin (if specified), or else sets the response max-age directive to the lesser of the client_ttl and default_ttl, and also ensures a \"public\" cache-control directive is present. If a client TTL is not specified, a default value (1 hour) will be used. The maximum allowed value is 31,622,400s (1 year).", - "format": "int32", - "type": "integer" - }, - "bypassCacheOnRequestHeaders": { - "items": { - "$ref": "BackendServiceCdnPolicyBypassCacheOnRequestHeader" - }, - "type": "array", - "description": "Bypass the cache when the specified request headers are matched - e.g. Pragma or Authorization headers. Up to 5 headers can be specified. The cache is bypassed for all cdnPolicy.cacheMode settings." - }, - "serveWhileStale": { - "format": "int32", - "description": "Serve existing content from the cache (if available) when revalidating content with the origin, or when an error is encountered when refreshing the cache. This setting defines the default \"max-stale\" duration for any cached responses that do not specify a max-stale directive. Stale responses that exceed the TTL configured here will not be served. The default limit (max-stale) is 86400s (1 day), which will allow stale content to be served up to this limit beyond the max-age (or s-max-age) of a cached response. The maximum allowed value is 604800 (1 week). Set this to zero (0) to disable serve-while-stale.", - "type": "integer" - } - }, - "type": "object" - }, - "TargetPool": { - "type": "object", - "properties": { - "healthChecks": { - "items": { - "type": "string" - }, - "type": "array", - "description": "The URL of the HttpHealthCheck resource. A member instance in this pool is considered healthy if and only if the health checks pass. Only legacy HttpHealthChecks are supported. Only one health check may be specified." - }, - "creationTimestamp": { - "type": "string", - "description": "[Output Only] Creation timestamp in RFC3339 text format." - }, - "id": { - "format": "uint64", - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", - "type": "string" - }, - "kind": { - "default": "compute#targetPool", - "description": "[Output Only] Type of the resource. Always compute#targetPool for target pools.", - "type": "string" - }, - "sessionAffinity": { - "enum": [ - "CLIENT_IP", - "CLIENT_IP_NO_DESTINATION", - "CLIENT_IP_PORT_PROTO", - "CLIENT_IP_PROTO", - "GENERATED_COOKIE", - "HEADER_FIELD", - "HTTP_COOKIE", - "NONE" - ], - "enumDescriptions": [ - "2-tuple hash on packet's source and destination IP addresses. Connections from the same source IP address to the same destination IP address will be served by the same backend VM while that VM remains healthy.", - "1-tuple hash only on packet's source IP address. Connections from the same source IP address will be served by the same backend VM while that VM remains healthy. This option can only be used for Internal TCP/UDP Load Balancing.", - "5-tuple hash on packet's source and destination IP addresses, IP protocol, and source and destination ports. Connections for the same IP protocol from the same source IP address and port to the same destination IP address and port will be served by the same backend VM while that VM remains healthy. This option cannot be used for HTTP(S) load balancing.", - "3-tuple hash on packet's source and destination IP addresses, and IP protocol. Connections for the same IP protocol from the same source IP address to the same destination IP address will be served by the same backend VM while that VM remains healthy. This option cannot be used for HTTP(S) load balancing.", - "Hash based on a cookie generated by the L7 loadbalancer. Only valid for HTTP(S) load balancing.", - "The hash is based on a user specified header field.", - "The hash is based on a user provided cookie.", - "No session affinity. Connections from the same client IP may go to any instance in the pool." - ], - "description": "Session affinity option, must be one of the following values: NONE: Connections from the same client IP may go to any instance in the pool. CLIENT_IP: Connections from the same client IP will go to the same instance in the pool while that instance remains healthy. CLIENT_IP_PROTO: Connections from the same client IP with the same IP protocol will go to the same instance in the pool while that instance remains healthy.", - "type": "string" - }, - "name": { - "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" - }, - "instances": { - "items": { - "type": "string" - }, - "type": "array", - "description": "A list of resource URLs to the virtual machine instances serving this pool. They must live in zones contained in the same region as this pool." - }, - "region": { - "type": "string", - "description": "[Output Only] URL of the region where the target pool resides." - }, - "backupPool": { - "description": "The server-defined URL for the resource. This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool, and its failoverRatio field is properly set to a value between [0, 1]. backupPool and failoverRatio together define the fallback behavior of the primary target pool: if the ratio of the healthy instances in the primary pool is at or below failoverRatio, traffic arriving at the load-balanced IP will be directed to the backup pool. In case where failoverRatio and backupPool are not set, or all the instances in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the \"force\" mode, where traffic will be spread to the healthy instances with the best effort, or to all instances when no instance is healthy.", - "type": "string" - }, - "description": { - "type": "string", - "description": "An optional description of this resource. Provide this property when you create the resource." - }, - "failoverRatio": { - "type": "number", - "description": "This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool (i.e., not as a backup pool to some other target pool). The value of the field must be in [0, 1]. If set, backupPool must also be set. They together define the fallback behavior of the primary target pool: if the ratio of the healthy instances in the primary pool is at or below this number, traffic arriving at the load-balanced IP will be directed to the backup pool. In case where failoverRatio is not set or all the instances in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the \"force\" mode, where traffic will be spread to the healthy instances with the best effort, or to all instances when no instance is healthy.", - "format": "float" - }, - "selfLink": { - "description": "[Output Only] Server-defined URL for the resource.", - "type": "string" - } - }, - "description": "Represents a Target Pool resource. Target pools are used for network TCP/UDP load balancing. A target pool references member instances, an associated legacy HttpHealthCheck resource, and, optionally, a backup target pool. For more information, read Using target pools.", - "id": "TargetPool" - }, - "FirewallPolicyRule": { - "type": "object", - "id": "FirewallPolicyRule", - "description": "Represents a rule that describes one or more match conditions along with the action to be taken when traffic matches this condition (allow or deny).", - "properties": { - "targetSecureTags": { - "items": { - "$ref": "FirewallPolicyRuleSecureTag" - }, - "type": "array", - "description": "A list of secure tags that controls which instances the firewall rule applies to. If targetSecureTag are specified, then the firewall rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the target_secure_tag are in INEFFECTIVE state, then this rule will be ignored. targetSecureTag may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag are specified, the firewall rule applies to all instances on the specified network. Maximum number of target label tags allowed is 256." - }, - "priority": { - "description": "An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest prority.", - "type": "integer", - "format": "int32" - }, - "disabled": { - "type": "boolean", - "description": "Denotes whether the firewall policy rule is disabled. When set to true, the firewall policy rule is not enforced and traffic behaves as if it did not exist. If this is unspecified, the firewall policy rule will be enabled." - }, - "match": { - "description": "A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.", - "$ref": "FirewallPolicyRuleMatcher" - }, - "ruleName": { - "type": "string", - "description": "An optional name for the rule. This field is not a unique identifier and can be updated." - }, - "targetServiceAccounts": { - "type": "array", - "items": { - "type": "string" - }, - "description": "A list of service accounts indicating the sets of instances that are applied with this rule." - }, - "enableLogging": { - "description": "Denotes whether to enable logging for a particular rule. If logging is enabled, logs will be exported to the configured export destination in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging on \"goto_next\" rules.", - "type": "boolean" - }, - "direction": { - "description": "The direction in which this rule applies.", - "enumDescriptions": [ - "", - "" - ], - "enum": [ - "EGRESS", - "INGRESS" - ], - "type": "string" - }, - "targetResources": { - "items": { - "type": "string" - }, - "description": "A list of network resource URLs to which this rule applies. This field allows you to control which network's VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule.", - "type": "array" - }, - "kind": { - "type": "string", - "description": "[Output only] Type of the resource. Always compute#firewallPolicyRule for firewall policy rules", - "default": "compute#firewallPolicyRule" - }, - "ruleTupleCount": { - "format": "int32", - "type": "integer", - "description": "[Output Only] Calculation of the complexity of a single firewall policy rule." - }, - "action": { - "description": "The Action to perform when the client connection triggers the rule. Valid actions are \"allow\", \"deny\" and \"goto_next\".", - "type": "string" - }, - "description": { - "description": "An optional description for this resource.", - "type": "string" - } - } - }, - "TargetHttpsProxyList": { - "description": "Contains a list of TargetHttpsProxy resources.", - "type": "object", - "id": "TargetHttpsProxyList", - "properties": { - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", - "type": "string" - }, - "warning": { - "type": "object", - "description": "[Output Only] Informational warning message.", - "properties": { - "data": { - "type": "array", - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "items": { - "properties": { - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - }, - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - } - }, - "type": "object" - } - }, - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, - "code": { - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "type": "string", + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -15776,6 +17175,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -15793,7 +17193,58 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + }, + "unreachables": { + "description": "[Output Only] Unreachable resources.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "DiskTypesScopedList": { + "id": "DiskTypesScopedList", + "type": "object", + "properties": { + "diskTypes": { + "description": "[Output Only] A list of disk types contained in this scope.", + "type": "array", + "items": { + "$ref": "DiskType" + } + }, + "warning": { + "description": "[Output Only] Informational warning which replaces the list of disk types when the list is empty.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -15805,6 +17256,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -15822,73 +17274,37 @@ "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", "When undeclared properties in the schema are present", "A given scope cannot be reached." - ] - } - } - }, - "kind": { - "default": "compute#targetHttpsProxyList", - "description": "Type of resource. Always compute#targetHttpsProxyList for lists of target HTTPS proxies.", - "type": "string" - }, - "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." - }, - "items": { - "type": "array", - "description": "A list of TargetHttpsProxy resources.", - "items": { - "$ref": "TargetHttpsProxy" - } - }, - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", - "type": "string" - } - } - }, - "ResourcePolicyAggregatedList": { - "id": "ResourcePolicyAggregatedList", - "type": "object", - "properties": { - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." - }, - "items": { - "type": "object", - "additionalProperties": { - "description": "Name of the scope containing this set of resourcePolicies.", - "$ref": "ResourcePoliciesScopedList" - }, - "description": "A list of ResourcePolicy resources." - }, - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", - "type": "string" - }, - "kind": { - "default": "compute#resourcePolicyAggregatedList", - "type": "string", - "description": "Type of resource." - }, - "etag": { - "type": "string" - }, - "unreachables": { - "type": "array", - "items": { - "type": "string" - }, - "description": "[Output Only] Unreachable resources." - }, - "warning": { - "type": "object", - "description": "[Output Only] Informational warning message.", - "properties": { - "code": { - "type": "string", + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -15900,6 +17316,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -15917,8 +17334,68 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + } + } + }, + "RegionDiskTypeList": { + "id": "RegionDiskTypeList", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of resource. Always compute#regionDiskTypeList for region disk types.", + "default": "compute#regionDiskTypeList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of DiskType resources.", + "type": "array", + "items": { + "$ref": "DiskType" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, + "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", + "properties": { + "code": { "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -15930,6 +17407,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -15947,12 +17425,77 @@ "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", "When undeclared properties in the schema are present", "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" ] }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, "data": { "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", "type": "array", "items": { + "type": "object", "properties": { "key": { "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", @@ -15962,296 +17505,132 @@ "description": "[Output Only] A warning data value corresponding to the key.", "type": "string" } - }, - "type": "object" + } } - }, - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." } } - }, - "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", - "type": "string" } - }, - "description": "Contains a list of resourcePolicies." + } }, - "InterconnectDiagnosticsLinkLACPStatus": { + "ExternalVpnGateway": { + "id": "ExternalVpnGateway", + "description": "Represents an external VPN gateway. External VPN gateway is the on-premises VPN gateway(s) or another cloud provider's VPN gateway that connects to your Google Cloud VPN gateway. To create a highly available VPN from Google Cloud Platform to your VPN gateway or another cloud provider's VPN gateway, you must create a external VPN gateway resource with information about the other gateway. For more information about using external VPN gateways, see Creating an HA VPN gateway and tunnel pair to a peer VPN.", "type": "object", "properties": { - "neighborSystemId": { - "description": "System ID of the port on the neighbor's side of the LACP exchange.", + "kind": { + "description": "[Output Only] Type of the resource. Always compute#externalVpnGateway for externalVpnGateways.", + "default": "compute#externalVpnGateway", "type": "string" }, - "googleSystemId": { - "description": "System ID of the port on Google's side of the LACP exchange.", + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource.", "type": "string" }, - "state": { - "enumDescriptions": [ - "The link is configured and active within the bundle.", - "The link is not configured within the bundle, this means the rest of the object should be empty." - ], - "enum": [ - "ACTIVE", - "DETACHED" - ], + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", + "type": "string" + }, + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", "type": "string", - "description": "The state of a LACP link, which can take one of the following values: - ACTIVE: The link is configured and active within the bundle. - DETACHED: The link is not configured within the bundle. This means that the rest of the object should be empty. " - } - }, - "id": "InterconnectDiagnosticsLinkLACPStatus" - }, - "NodeGroupMaintenanceWindow": { - "description": "Time window specified for daily maintenance operations. GCE's internal maintenance will be performed within this window.", - "properties": { - "maintenanceDuration": { - "description": "[Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.", - "$ref": "Duration" - }, - "startTime": { - "type": "string", - "description": "Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid." - } - }, - "type": "object", - "id": "NodeGroupMaintenanceWindow" - }, - "BackendServiceLocalityLoadBalancingPolicyConfigPolicy": { - "type": "object", - "description": "The configuration for a built-in load balancing policy.", - "properties": { - "name": { - "type": "string", - "enum": [ - "INVALID_LB_POLICY", - "LEAST_REQUEST", - "MAGLEV", - "ORIGINAL_DESTINATION", - "RANDOM", - "RING_HASH", - "ROUND_ROBIN" - ], - "enumDescriptions": [ - "", - "An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests.", - "This algorithm implements consistent hashing to backends. Maglev can be used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824", - "Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer.", - "The load balancer selects a random healthy host.", - "The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests.", - "This is a simple policy in which each healthy backend is selected in round robin order. This is the default." - ], - "description": "The name of a locality load balancer policy to be used. The value should be one of the predefined ones as supported by localityLbPolicy, although at the moment only ROUND_ROBIN is supported. This field should only be populated when the customPolicy field is not used. Note that specifying the same policy more than once for a backend is not a valid configuration and will be rejected." - } - }, - "id": "BackendServiceLocalityLoadBalancingPolicyConfigPolicy" - }, - "VpnGateway": { - "id": "VpnGateway", - "properties": { - "id": { - "type": "string", - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", "format": "uint64" }, - "vpnInterfaces": { - "type": "array", - "description": "The list of VPN interfaces associated with this VPN gateway.", - "items": { - "$ref": "VpnGatewayVpnGatewayInterface" - } - }, - "stackType": { - "type": "string", - "enum": [ - "IPV4_IPV6", - "IPV4_ONLY" - ], - "description": "The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified, IPV4_ONLY will be used.", - "enumDescriptions": [ - "Enable VPN gateway with both IPv4 and IPv6 protocols.", - "Enable VPN gateway with only IPv4 protocol." - ] - }, - "description": { - "description": "An optional description of this resource. Provide this property when you create the resource.", + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", "type": "string" }, "name": { - "type": "string", "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "annotations": { "required": [ - "compute.vpnGateways.insert" - ] - } - }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for the resource." - }, - "network": { - "annotations": { - "required": [ - "compute.vpnGateways.insert" + "compute.externalVpnGateways.insert" ] }, - "description": "URL of the network to which this VPN gateway is attached. Provided by the client when the VPN gateway is created.", "type": "string" }, - "region": { + "redundancyType": { + "description": "Indicates the user-supplied redundancy type of this external VPN gateway.", "type": "string", - "description": "[Output Only] URL of the region where the VPN gateway resides." + "enumDescriptions": [ + "The external VPN gateway has four public IP addresses; at the time of writing this API, the AWS virtual private gateway is an example which has four public IP addresses for high availability connections; there should be two VPN connections in the AWS virtual private gateway , each AWS VPN connection has two public IP addresses; please make sure to put two public IP addresses from one AWS VPN connection into interfaces 0 and 1 of this external VPN gateway, and put the other two public IP addresses from another AWS VPN connection into interfaces 2 and 3 of this external VPN gateway. When displaying highly available configuration status for the VPN tunnels connected to FOUR_IPS_REDUNDANCY external VPN gateway, Google will always detect whether interfaces 0 and 1 are connected on one interface of HA Cloud VPN gateway, and detect whether interfaces 2 and 3 are connected to another interface of the HA Cloud VPN gateway.", + "The external VPN gateway has only one public IP address which internally provide redundancy or failover.", + "The external VPN gateway has two public IP addresses which are redundant with each other, the following two types of setup on your on-premises side would have this type of redundancy: (1) Two separate on-premises gateways, each with one public IP address, the two on-premises gateways are redundant with each other. (2) A single on-premise gateway with two public IP addresses that are redundant with eatch other." + ], + "enum": [ + "FOUR_IPS_REDUNDANCY", + "SINGLE_IP_INTERNALLY_REDUNDANT", + "TWO_IPS_REDUNDANCY" + ] }, - "creationTimestamp": { - "description": "[Output Only] Creation timestamp in RFC3339 text format.", - "type": "string" + "interfaces": { + "description": "A list of interfaces for this external VPN gateway. If your peer-side gateway is an on-premises gateway and non-AWS cloud providers' gateway, at most two interfaces can be provided for an external VPN gateway. If your peer side is an AWS virtual private gateway, four interfaces should be provided for an external VPN gateway.", + "type": "array", + "items": { + "$ref": "ExternalVpnGatewayInterface" + } }, "labels": { + "description": "Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.", + "type": "object", "additionalProperties": { "type": "string" - }, - "type": "object", - "description": "Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty." + } }, "labelFingerprint": { + "description": "A fingerprint for the labels being applied to this ExternalVpnGateway, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an ExternalVpnGateway.", "type": "string", - "format": "byte", - "description": "A fingerprint for the labels being applied to this VpnGateway, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an VpnGateway." - }, - "kind": { - "type": "string", - "default": "compute#vpnGateway", - "description": "[Output Only] Type of resource. Always compute#vpnGateway for VPN gateways." + "format": "byte" } - }, - "type": "object", - "description": "Represents a HA VPN gateway. HA VPN is a high-availability (HA) Cloud VPN solution that lets you securely connect your on-premises network to your Google Cloud Virtual Private Cloud network through an IPsec VPN connection in a single region. For more information about Cloud HA VPN solutions, see Cloud VPN topologies ." + } }, - "SslCertificateManagedSslCertificate": { + "ExternalVpnGatewayInterface": { + "id": "ExternalVpnGatewayInterface", + "description": "The interface for the external VPN gateway.", "type": "object", - "description": "Configuration and status of a managed SSL certificate.", "properties": { - "status": { - "type": "string", - "enum": [ - "ACTIVE", - "MANAGED_CERTIFICATE_STATUS_UNSPECIFIED", - "PROVISIONING", - "PROVISIONING_FAILED", - "PROVISIONING_FAILED_PERMANENTLY", - "RENEWAL_FAILED" - ], - "enumDescriptions": [ - "The certificate management is working, and a certificate has been provisioned.", - "", - "The certificate management is working. GCP will attempt to provision the first certificate.", - "Certificate provisioning failed due to an issue with the DNS or load balancing configuration. For details of which domain failed, consult domain_status field.", - "Certificate provisioning failed due to an issue with the DNS or load balancing configuration. It won't be retried. To try again delete and create a new managed SslCertificate resource. For details of which domain failed, consult domain_status field.", - "Renewal of the certificate has failed due to an issue with the DNS or load balancing configuration. The existing cert is still serving; however, it will expire shortly. To provision a renewed certificate, delete and create a new managed SslCertificate resource. For details on which domain failed, consult domain_status field." - ], - "description": "[Output only] Status of the managed certificate resource." - }, - "domainStatus": { - "description": "[Output only] Detailed statuses of the domains specified for managed certificate resource.", - "additionalProperties": { - "type": "string", - "enumDescriptions": [ - "A managed certificate can be provisioned, no issues for this domain.", - "", - "Failed to check CAA records for the domain.", - "Certificate issuance forbidden by an explicit CAA record for the domain.", - "There seems to be problem with the user's DNS or load balancer configuration for this domain.", - "Reached rate-limit for certificates per top-level private domain.", - "Certificate provisioning for this domain is under way. GCP will attempt to provision the first certificate." - ], - "enum": [ - "ACTIVE", - "DOMAIN_STATUS_UNSPECIFIED", - "FAILED_CAA_CHECKING", - "FAILED_CAA_FORBIDDEN", - "FAILED_NOT_VISIBLE", - "FAILED_RATE_LIMITED", - "PROVISIONING" - ] - }, - "type": "object" + "id": { + "description": "The numeric ID of this interface. The allowed input values for this id for different redundancy types of external VPN gateway: - SINGLE_IP_INTERNALLY_REDUNDANT - 0 - TWO_IPS_REDUNDANCY - 0, 1 - FOUR_IPS_REDUNDANCY - 0, 1, 2, 3 ", + "type": "integer", + "format": "uint32" }, - "domains": { - "items": { - "type": "string" - }, - "description": "The domains for which a managed SSL certificate will be generated. Each Google-managed SSL certificate supports up to the [maximum number of domains per Google-managed SSL certificate](/load-balancing/docs/quotas#ssl_certificates).", - "type": "array" + "ipAddress": { + "description": "IP address of the interface in the external VPN gateway. Only IPv4 is supported. This IP address can be either from your on-premise gateway or another Cloud provider's VPN gateway, it cannot be an IP address from Google Compute Engine.", + "type": "string" } - }, - "id": "SslCertificateManagedSslCertificate" + } }, - "AllocationSpecificSKUAllocationReservedInstanceProperties": { - "description": "Properties of the SKU instances being reserved. Next ID: 9", + "ExternalVpnGatewayList": { + "id": "ExternalVpnGatewayList", + "description": "Response to the list request, and contains a list of externalVpnGateways.", "type": "object", "properties": { - "guestAccelerators": { - "description": "Specifies accelerator type and count.", - "items": { - "$ref": "AcceleratorConfig" - }, - "type": "array" - }, - "localSsds": { - "type": "array", - "items": { - "$ref": "AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk" - }, - "description": "Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd." + "kind": { + "description": "[Output Only] Type of resource. Always compute#externalVpnGatewayList for lists of externalVpnGateways.", + "default": "compute#externalVpnGatewayList", + "type": "string" }, - "machineType": { - "description": "Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.", + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", "type": "string" }, - "minCpuPlatform": { - "type": "string", - "description": "Minimum cpu platform the reservation." + "items": { + "description": "A list of ExternalVpnGateway resources.", + "type": "array", + "items": { + "$ref": "ExternalVpnGateway" + } }, - "locationHint": { - "description": "An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API.", - "type": "string" - } - }, - "id": "AllocationSpecificSKUAllocationReservedInstanceProperties" - }, - "TargetTcpProxyList": { - "type": "object", - "properties": { "nextPageToken": { "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", "type": "string" }, - "items": { - "description": "A list of TargetTcpProxy resources.", - "items": { - "$ref": "TargetTcpProxy" - }, - "type": "array" - }, "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." - }, - "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." - }, - "kind": { - "description": "Type of resource.", - "default": "compute#targetTcpProxyList", + "description": "[Output Only] Server-defined URL for this resource.", "type": "string" }, "warning": { + "description": "[Output Only] Informational warning message.", "type": "object", "properties": { "code": { @@ -16268,6 +17647,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -16286,6 +17666,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -16297,6 +17707,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -16317,13 +17728,14 @@ ] }, "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" }, "data": { "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", "type": "array", "items": { + "type": "object", "properties": { "key": { "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", @@ -16333,187 +17745,52 @@ "description": "[Output Only] A warning data value corresponding to the key.", "type": "string" } - }, - "type": "object" + } } } - }, - "description": "[Output Only] Informational warning message." - } - }, - "description": "Contains a list of TargetTcpProxy resources.", - "id": "TargetTcpProxyList" - }, - "NetworksUpdatePeeringRequest": { - "id": "NetworksUpdatePeeringRequest", - "type": "object", - "properties": { - "networkPeering": { - "$ref": "NetworkPeering" + } + }, + "etag": { + "type": "string" } } }, - "Uint128": { + "ForwardingRuleList": { + "id": "ForwardingRuleList", + "description": "Contains a list of ForwardingRule resources.", "type": "object", "properties": { - "high": { - "format": "uint64", + "kind": { + "description": "Type of resource.", + "default": "compute#forwardingRuleList", "type": "string" }, - "low": { - "format": "uint64", + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", "type": "string" - } - }, - "id": "Uint128" - }, - "RegionTargetHttpsProxiesSetSslCertificatesRequest": { - "type": "object", - "properties": { - "sslCertificates": { - "description": "New set of SslCertificate resources to associate with this TargetHttpsProxy resource.", - "type": "array", - "items": { - "type": "string" - } - } - }, - "id": "RegionTargetHttpsProxiesSetSslCertificatesRequest" - }, - "RegionUrlMapsValidateRequest": { - "properties": { - "resource": { - "$ref": "UrlMap", - "description": "Content of the UrlMap to be validated." - } - }, - "id": "RegionUrlMapsValidateRequest", - "type": "object" - }, - "VpnGatewaysScopedList": { - "type": "object", - "properties": { - "vpnGateways": { + }, + "items": { + "description": "A list of ForwardingRule resources.", "type": "array", - "description": "[Output Only] A list of VPN gateways contained in this scope.", "items": { - "$ref": "VpnGateway" + "$ref": "ForwardingRule" } }, - "warning": { - "type": "object", - "properties": { - "code": { - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], - "type": "string", - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ] - }, - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - }, - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - }, - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - } - } - }, - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } " - } - }, - "description": "[Output Only] Informational warning which replaces the list of addresses when the list is empty." - } - }, - "id": "VpnGatewaysScopedList" - }, - "ImageList": { - "properties": { "nextPageToken": { "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", "type": "string" }, - "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." - }, - "items": { - "description": "A list of Image resources.", - "items": { - "$ref": "Image" - }, - "type": "array" + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" }, "warning": { "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { "code": { "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -16525,6 +17802,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -16543,6 +17821,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -16554,6 +17862,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -16571,485 +17880,376 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], - "type": "string" + ] }, "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" }, "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", "type": "array", "items": { "type": "object", "properties": { - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - }, "key": { "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" } } - }, - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } " + } } - }, - "type": "object" - }, - "kind": { - "default": "compute#imageList", - "type": "string", - "description": "Type of resource." - }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." + } } - }, - "type": "object", - "description": "Contains a list of images.", - "id": "ImageList" + } }, - "NetworkPeering": { - "description": "A network peering attached to a network resource. The message includes the peering name, peer network, peering state, and a flag indicating whether Google Compute Engine should automatically create routes for the peering.", - "id": "NetworkPeering", + "ForwardingRule": { + "id": "ForwardingRule", + "description": "Represents a Forwarding Rule resource. Forwarding rule resources in Google Cloud can be either regional or global in scope: * [Global](https://cloud.google.com/compute/docs/reference/rest/v1/globalForwardingRules) * [Regional](https://cloud.google.com/compute/docs/reference/rest/v1/forwardingRules) A forwarding rule and its corresponding IP address represent the frontend configuration of a Google Cloud load balancer. Forwarding rules can also reference target instances and Cloud VPN Classic gateways (targetVpnGateway). For more information, read Forwarding rule concepts and Using protocol forwarding.", "type": "object", "properties": { - "exportCustomRoutes": { - "description": "Whether to export the custom routes to peer network. The default value is false.", - "type": "boolean" + "kind": { + "description": "[Output Only] Type of the resource. Always compute#forwardingRule for forwarding rule resources.", + "default": "compute#forwardingRule", + "type": "string" }, - "importCustomRoutes": { - "description": "Whether to import the custom routes from peer network. The default value is false.", - "type": "boolean" + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", + "type": "string", + "format": "uint64" }, - "peerMtu": { - "type": "integer", - "description": "Maximum Transmission Unit in bytes.", - "format": "int32" + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" }, - "exchangeSubnetRoutes": { - "type": "boolean", - "description": "Indicates whether full mesh connectivity is created and managed automatically between peered networks. Currently this field should always be true since Google Compute Engine will automatically create and manage subnetwork routes between two networks when peering state is ACTIVE." + "name": { + "description": "Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. For Private Service Connect forwarding rules that forward traffic to Google APIs, the forwarding rule name must be a 1-20 characters string with lowercase letters and numbers and must start with a letter.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "type": "string" }, - "network": { - "description": "The URL of the peer network. It can be either full URL or partial URL. The peer network may belong to a different project. If the partial URL does not contain project, it is assumed that the peer network is in the same project as the current network.", + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource.", "type": "string" }, - "state": { - "enumDescriptions": [ - "Matching configuration exists on the peer.", - "There is no matching configuration on the peer, including the case when peer does not exist." - ], - "enum": [ - "ACTIVE", - "INACTIVE" - ], - "description": "[Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. The peering is `ACTIVE` when there's a matching configuration in the peer network.", + "region": { + "description": "[Output Only] URL of the region where the regional forwarding rule resides. This field is not applicable to global forwarding rules. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.", "type": "string" }, - "name": { - "type": "string", - "description": "Name of this peering. Provided by the client when the peering is created. The name must comply with RFC1035. Specifically, the name must be 1-63 characters long and match regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a lowercase letter, and all the following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash." + "IPAddress": { + "description": "IP address for which this forwarding rule accepts traffic. When a client sends traffic to this IP address, the forwarding rule directs the traffic to the referenced target or backendService. While creating a forwarding rule, specifying an IPAddress is required under the following circumstances: - When the target is set to targetGrpcProxy and validateForProxyless is set to true, the IPAddress should be set to 0.0.0.0. - When the target is a Private Service Connect Google APIs bundle, you must specify an IPAddress. Otherwise, you can optionally specify an IP address that references an existing static (reserved) IP address resource. When omitted, Google Cloud assigns an ephemeral IP address. Use one of the following formats to specify an IP address while creating a forwarding rule: * IP address number, as in `100.1.2.3` * IPv6 address range, as in `2600:1234::/96` * Full resource URL, as in https://www.googleapis.com/compute/v1/projects/ project_id/regions/region/addresses/address-name * Partial URL or by name, as in: - projects/project_id/regions/region/addresses/address-name - regions/region/addresses/address-name - global/addresses/address-name - address-name The forwarding rule's target or backendService, and in most cases, also the loadBalancingScheme, determine the type of IP address that you can use. For detailed information, see [IP address specifications](https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications). When reading an IPAddress, the API always returns the IP address number.", + "type": "string" }, - "stateDetails": { + "IPProtocol": { + "description": "The IP protocol to which this rule applies. For protocol forwarding, valid options are TCP, UDP, ESP, AH, SCTP, ICMP and L3_DEFAULT. The valid IP protocols are different for different load balancing products as described in [Load balancing features](https://cloud.google.com/load-balancing/docs/features#protocols_from_the_load_balancer_to_the_backends).", "type": "string", - "description": "[Output Only] Details about the current state of the peering." + "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "" + ], + "enum": [ + "AH", + "ESP", + "ICMP", + "L3_DEFAULT", + "SCTP", + "TCP", + "UDP" + ] }, - "exportSubnetRoutesWithPublicIp": { - "type": "boolean", - "description": "Whether subnet routes with public IP range are exported. The default value is true, all subnet routes are exported. IPv4 special-use ranges are always exported to peers and are not controlled by this field." + "portRange": { + "description": "The ports, portRange, and allPorts fields are mutually exclusive. Only packets addressed to ports in the specified range will be forwarded to the backends configured with this forwarding rule. The portRange field has the following limitations: - It requires that the forwarding rule IPProtocol be TCP, UDP, or SCTP, and - It's applicable only to the following products: external passthrough Network Load Balancers, internal and external proxy Network Load Balancers, internal and external Application Load Balancers, external protocol forwarding, and Classic VPN. - Some products have restrictions on what ports can be used. See port specifications for details. For external forwarding rules, two or more forwarding rules cannot use the same [IPAddress, IPProtocol] pair, and cannot have overlapping portRanges. For internal forwarding rules within the same VPC network, two or more forwarding rules cannot use the same [IPAddress, IPProtocol] pair, and cannot have overlapping portRanges. @pattern: \\\\d+(?:-\\\\d+)?", + "type": "string" }, - "importSubnetRoutesWithPublicIp": { - "description": "Whether subnet routes with public IP range are imported. The default value is false. IPv4 special-use ranges are always imported from peers and are not controlled by this field.", - "type": "boolean" + "ports": { + "description": "The ports, portRange, and allPorts fields are mutually exclusive. Only packets addressed to ports in the specified range will be forwarded to the backends configured with this forwarding rule. The ports field has the following limitations: - It requires that the forwarding rule IPProtocol be TCP, UDP, or SCTP, and - It's applicable only to the following products: internal passthrough Network Load Balancers, backend service-based external passthrough Network Load Balancers, and internal protocol forwarding. - You can specify a list of up to five ports by number, separated by commas. The ports can be contiguous or discontiguous. For external forwarding rules, two or more forwarding rules cannot use the same [IPAddress, IPProtocol] pair if they share at least one port number. For internal forwarding rules within the same VPC network, two or more forwarding rules cannot use the same [IPAddress, IPProtocol] pair if they share at least one port number. @pattern: \\\\d+(?:-\\\\d+)?", + "type": "array", + "items": { + "type": "string" + } }, - "autoCreateRoutes": { - "type": "boolean", - "description": "This field will be deprecated soon. Use the exchange_subnet_routes field instead. Indicates whether full mesh connectivity is created and managed automatically between peered networks. Currently this field should always be true since Google Compute Engine will automatically create and manage subnetwork routes between two networks when peering state is ACTIVE." + "target": { + "description": "The URL of the target resource to receive the matched traffic. For regional forwarding rules, this target must be in the same region as the forwarding rule. For global forwarding rules, this target must be a global load balancing resource. The forwarded traffic must be of a type appropriate to the target object. - For load balancers, see the \"Target\" column in [Port specifications](https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#ip_address_specifications). - For Private Service Connect forwarding rules that forward traffic to Google APIs, provide the name of a supported Google API bundle: - vpc-sc - APIs that support VPC Service Controls. - all-apis - All supported Google APIs. - For Private Service Connect forwarding rules that forward traffic to managed services, the target must be a service attachment. The target is not mutable once set as a service attachment. ", + "type": "string" }, - "stackType": { - "enum": [ - "IPV4_IPV6", - "IPV4_ONLY" - ], + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", + "type": "string" + }, + "loadBalancingScheme": { + "description": "Specifies the forwarding rule type. For more information about forwarding rules, refer to Forwarding rule concepts.", "type": "string", - "description": "Which IP version(s) of traffic and routes are allowed to be imported or exported between peer networks. The default value is IPV4_ONLY.", "enumDescriptions": [ - "This Peering will allow IPv4 traffic and routes to be exchanged. Additionally if the matching peering is IPV4_IPV6, IPv6 traffic and routes will be exchanged as well.", - "This Peering will only allow IPv4 traffic and routes to be exchanged, even if the matching peering is IPV4_IPV6." + "", + "", + "", + "", + "", + "" + ], + "enum": [ + "EXTERNAL", + "EXTERNAL_MANAGED", + "INTERNAL", + "INTERNAL_MANAGED", + "INTERNAL_SELF_MANAGED", + "INVALID" ] - } - } - }, - "InstanceGroupManagersSetTargetPoolsRequest": { - "properties": { - "targetPools": { - "items": { - "type": "string" - }, - "type": "array", - "description": "The list of target pool URLs that instances in this managed instance group belong to. The managed instance group applies these target pools to all of the instances in the group. Existing instances and new instances in the group all receive these target pool settings." }, - "fingerprint": { - "description": "The fingerprint of the target pools information. Use this optional property to prevent conflicts when multiple users change the target pools settings concurrently. Obtain the fingerprint with the instanceGroupManagers.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request.", - "format": "byte", + "subnetwork": { + "description": "This field identifies the subnetwork that the load balanced IP should belong to for this forwarding rule, used with internal load balancers and external passthrough Network Load Balancers with IPv6. If the network specified is in auto subnet mode, this field is optional. However, a subnetwork must be specified if the network is in custom subnet mode or when creating external forwarding rule with IPv6.", "type": "string" - } - }, - "id": "InstanceGroupManagersSetTargetPoolsRequest", - "type": "object" - }, - "SslCertificateSelfManagedSslCertificate": { - "type": "object", - "id": "SslCertificateSelfManagedSslCertificate", - "description": "Configuration and status of a self-managed SSL certificate.", - "properties": { - "certificate": { - "description": "A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.", + }, + "network": { + "description": "This field is not used for global external load balancing. For internal passthrough Network Load Balancers, this field identifies the network that the load balanced IP should belong to for this forwarding rule. If the subnetwork is specified, the network of the subnetwork will be used. If neither subnetwork nor this field is specified, the default network will be used. For Private Service Connect forwarding rules that forward traffic to Google APIs, a network must be provided.", "type": "string" }, - "privateKey": { - "description": "A write-only private key in PEM format. Only insert requests will include this field.", + "backendService": { + "description": "Identifies the backend service to which the forwarding rule sends traffic. Required for internal and external passthrough Network Load Balancers; must be omitted for all other load balancer types.", "type": "string" - } - } - }, - "Router": { - "description": "Represents a Cloud Router resource. For more information about Cloud Router, read the Cloud Router overview.", - "id": "Router", - "type": "object", - "properties": { - "nats": { + }, + "serviceDirectoryRegistrations": { + "description": "Service Directory resources to register this forwarding rule with. Currently, only supports a single Service Directory resource.", "type": "array", "items": { - "$ref": "RouterNat" - }, - "description": "A list of NAT services created in this router." - }, - "region": { - "type": "string", - "description": "[Output Only] URI of the region where the router resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body." + "$ref": "ForwardingRuleServiceDirectoryRegistration" + } }, - "encryptedInterconnectRouter": { - "description": "Indicates if a router is dedicated for use with encrypted VLAN attachments (interconnectAttachments).", - "type": "boolean" + "serviceLabel": { + "description": "An optional prefix to the service name for this forwarding rule. If specified, the prefix is the first label of the fully qualified service name. The label must be 1-63 characters long, and comply with RFC1035. Specifically, the label must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. This field is only used for internal load balancing.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "type": "string" }, - "selfLink": { - "description": "[Output Only] Server-defined URL for the resource.", + "serviceName": { + "description": "[Output Only] The internal fully qualified service name for this forwarding rule. This field is only used for internal load balancing.", "type": "string" }, - "description": { + "networkTier": { + "description": "This signifies the networking tier used for configuring this load balancer and can only take the following values: PREMIUM, STANDARD. For regional ForwardingRule, the valid values are PREMIUM and STANDARD. For GlobalForwardingRule, the valid value is PREMIUM. If this field is not specified, it is assumed to be PREMIUM. If IPAddress is specified, this value must be equal to the networkTier of the Address.", "type": "string", - "description": "An optional description of this resource. Provide this property when you create the resource." + "enumDescriptions": [ + "Public internet quality with fixed bandwidth.", + "High quality, Google-grade network tier, support for all networking products.", + "Public internet quality, only limited support for other networking products.", + "(Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured." + ], + "enum": [ + "FIXED_STANDARD", + "PREMIUM", + "STANDARD", + "STANDARD_OVERRIDES_FIXED_STANDARD" + ] }, - "name": { - "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", - "annotations": { - "required": [ - "compute.routers.insert" - ] - }, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string" + "labels": { + "description": "Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.", + "type": "object", + "additionalProperties": { + "type": "string" + } }, - "md5AuthenticationKeys": { - "description": "Keys used for MD5 authentication.", - "items": { - "$ref": "RouterMd5AuthenticationKey" - }, - "type": "array" + "labelFingerprint": { + "description": "A fingerprint for the labels being applied to this resource, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a ForwardingRule.", + "type": "string", + "format": "byte" }, - "id": { - "format": "uint64", + "ipVersion": { + "description": "The IP Version that will be used by this forwarding rule. Valid options are IPV4 or IPV6.", "type": "string", - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server." + "enumDescriptions": [ + "", + "", + "" + ], + "enum": [ + "IPV4", + "IPV6", + "UNSPECIFIED_VERSION" + ] }, - "bgpPeers": { + "fingerprint": { + "description": "Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a ForwardingRule. Include the fingerprint in patch request to ensure that you do not overwrite changes that were applied from another concurrent request. To see the latest fingerprint, make a get() request to retrieve a ForwardingRule.", + "type": "string", + "format": "byte" + }, + "allPorts": { + "description": "The ports, portRange, and allPorts fields are mutually exclusive. Only packets addressed to ports in the specified range will be forwarded to the backends configured with this forwarding rule. The allPorts field has the following limitations: - It requires that the forwarding rule IPProtocol be TCP, UDP, SCTP, or L3_DEFAULT. - It's applicable only to the following products: internal passthrough Network Load Balancers, backend service-based external passthrough Network Load Balancers, and internal and external protocol forwarding. - Set this field to true to allow packets addressed to any port or packets lacking destination port information (for example, UDP fragments after the first fragment) to be forwarded to the backends configured with this forwarding rule. The L3_DEFAULT protocol requires allPorts be set to true. ", + "type": "boolean" + }, + "allowGlobalAccess": { + "description": "If set to true, clients can access the internal passthrough Network Load Balancers, the regional internal Application Load Balancer, and the regional internal proxy Network Load Balancer from all regions. If false, only allows access from the local region the load balancer is located at. Note that for INTERNAL_MANAGED forwarding rules, this field cannot be changed after the forwarding rule is created.", + "type": "boolean" + }, + "metadataFilters": { + "description": "Opaque filter criteria used by load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to load balancer, xDS clients present node metadata. When there is a match, the relevant configuration is made available to those proxies. Otherwise, all the resources (e.g. TargetHttpProxy, UrlMap) referenced by the ForwardingRule are not visible to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. If multiple metadataFilters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here will be applifed before those specified in the UrlMap that this ForwardingRule references. metadataFilters only applies to Loadbalancers that have their loadBalancingScheme set to INTERNAL_SELF_MANAGED.", "type": "array", - "description": "BGP information that must be configured into the routing stack to establish BGP peering. This information must specify the peer ASN and either the interface name, IP address, or peer IP address. Please refer to RFC4273.", "items": { - "$ref": "RouterBgpPeer" + "$ref": "MetadataFilter" } }, - "kind": { - "default": "compute#router", - "description": "[Output Only] Type of resource. Always compute#router for routers.", - "type": "string" - }, - "creationTimestamp": { - "type": "string", - "description": "[Output Only] Creation timestamp in RFC3339 text format." + "isMirroringCollector": { + "description": "Indicates whether or not this load balancer can be used as a collector for packet mirroring. To prevent mirroring loops, instances behind this load balancer will not have their traffic mirrored even if a PacketMirroring rule applies to them. This can only be set to true for load balancers that have their loadBalancingScheme set to INTERNAL.", + "type": "boolean" }, - "interfaces": { + "sourceIpRanges": { + "description": "If not empty, this forwarding rule will only forward the traffic when the source IP address matches one of the IP addresses or CIDR ranges set here. Note that a forwarding rule can only have up to 64 source IP ranges, and this field can only be used with a regional forwarding rule whose scheme is EXTERNAL. Each source_ip_range entry should be either an IP address (for example, 1.2.3.4) or a CIDR range (for example, 1.2.3.0/24).", "type": "array", - "description": "Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.", "items": { - "$ref": "RouterInterface" + "type": "string" } }, - "network": { - "description": "URI of the network to which this router belongs.", + "pscConnectionId": { + "description": "[Output Only] The PSC connection id of the PSC forwarding rule.", "type": "string", - "annotations": { - "required": [ - "compute.routers.insert", - "compute.routers.update" - ] - } + "format": "uint64" }, - "bgp": { - "$ref": "RouterBgp", - "description": "BGP information specific to this router." - } - } - }, - "Reference": { - "type": "object", - "properties": { - "kind": { - "description": "[Output Only] Type of the resource. Always compute#reference for references.", + "pscConnectionStatus": { "type": "string", - "default": "compute#reference" + "enumDescriptions": [ + "The connection has been accepted by the producer.", + "The connection has been closed by the producer and will not serve traffic going forward.", + "The connection has been accepted by the producer, but the producer needs to take further action before the forwarding rule can serve traffic.", + "The connection is pending acceptance by the producer.", + "The connection has been rejected by the producer.", + "" + ], + "enum": [ + "ACCEPTED", + "CLOSED", + "NEEDS_ATTENTION", + "PENDING", + "REJECTED", + "STATUS_UNSPECIFIED" + ] }, - "referenceType": { - "description": "A description of the reference type with no implied semantics. Possible values include: 1. MEMBER_OF ", + "baseForwardingRule": { + "description": "[Output Only] The URL for the corresponding base forwarding rule. By base forwarding rule, we mean the forwarding rule that has the same IP address, protocol, and port settings with the current forwarding rule, but without sourceIPRanges specified. Always empty if the current forwarding rule does not have sourceIPRanges specified.", "type": "string" }, - "referrer": { - "type": "string", - "description": "URL of the resource which refers to the target." + "allowPscGlobalAccess": { + "description": "This is used in PSC consumer ForwardingRule to control whether the PSC endpoint can be accessed from another region.", + "type": "boolean" }, - "target": { - "description": "URL of the resource to which this reference points.", - "type": "string" + "noAutomateDnsZone": { + "description": "This is used in PSC consumer ForwardingRule to control whether it should try to auto-generate a DNS zone or not. Non-PSC forwarding rules do not use this field. Once set, this field is not mutable.", + "type": "boolean" } - }, - "description": "Represents a reference to a resource.", - "id": "Reference" + } }, - "ServiceAttachmentConsumerProjectLimit": { - "id": "ServiceAttachmentConsumerProjectLimit", + "ForwardingRuleServiceDirectoryRegistration": { + "id": "ForwardingRuleServiceDirectoryRegistration", + "description": "Describes the auto-registration of the forwarding rule to Service Directory. The region and project of the Service Directory resource generated from this registration will be the same as this forwarding rule.", "type": "object", "properties": { - "networkUrl": { - "type": "string", - "description": "The network URL for the network to set the limit for." - }, - "connectionLimit": { - "format": "uint32", - "type": "integer", - "description": "The value of the limit to set." + "namespace": { + "description": "Service Directory namespace to register the forwarding rule under.", + "type": "string" }, - "projectIdOrNum": { - "description": "The project id or number for the project to set the limit for.", + "service": { + "description": "Service Directory service to register the forwarding rule under.", "type": "string" - } - } - }, - "LocalizedMessage": { - "properties": { - "message": { - "type": "string", - "description": "The localized error message in the above locale." }, - "locale": { - "description": "The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: \"en-US\", \"fr-CH\", \"es-MX\"", + "serviceDirectoryRegion": { + "description": "[Optional] Service Directory region to register this global forwarding rule under. Default to \"us-central1\". Only used for PSC for Google APIs. All PSC for Google APIs forwarding rules on the same network should use the same Service Directory region.", "type": "string" } - }, - "type": "object", - "id": "LocalizedMessage", - "description": "Provides a localized error message that is safe to return to the user which can be attached to an RPC error." + } }, - "NetworkAttachment": { - "description": "NetworkAttachments A network attachment resource ...", + "MetadataFilter": { + "id": "MetadataFilter", + "description": "Opaque filter criteria used by load balancers to restrict routing configuration to a limited set of load balancing proxies. Proxies and sidecars involved in load balancing would typically present metadata to the load balancers that need to match criteria specified here. If a match takes place, the relevant configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. An example for using metadataFilters would be: if load balancing involves Envoys, they receive routing configuration when values in metadataFilters match values supplied in of their XDS requests to loadbalancers.", "type": "object", "properties": { - "subnetworks": { - "type": "array", - "items": { - "type": "string" - }, - "description": "An array of URLs where each entry is the URL of a subnet provided by the service consumer to use for endpoints in the producers that connect to this network attachment." - }, - "creationTimestamp": { - "description": "[Output Only] Creation timestamp in RFC3339 text format.", - "type": "string" - }, - "network": { - "description": "[Output Only] The URL of the network which the Network Attachment belongs to.", - "type": "string" - }, - "producerAcceptLists": { - "description": "Projects that are allowed to connect to this network attachment. The project can be specified using its id or number.", - "type": "array", - "items": { - "type": "string" - } - }, - "producerRejectLists": { - "items": { - "type": "string" - }, - "description": "Projects that are not allowed to connect to this network attachment. The project can be specified using its id or number.", - "type": "array" - }, - "connectionEndpoints": { - "type": "array", - "items": { - "$ref": "NetworkAttachmentConnectedEndpoint" - }, - "description": "[Output Only] An array of connections for all the producers connected to this network attachment." - }, - "fingerprint": { - "format": "byte", - "description": "[Output Only] Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. An up-to-date fingerprint must be provided in order to patch.", - "type": "string" - }, - "region": { - "description": "[Output Only] URL of the region where the network attachment resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.", - "type": "string" - }, - "kind": { - "type": "string", - "default": "compute#networkAttachment", - "description": "[Output Only] Type of the resource." - }, - "description": { - "type": "string", - "description": "An optional description of this resource. Provide this property when you create the resource." - }, - "connectionPreference": { - "enum": [ - "ACCEPT_AUTOMATIC", - "ACCEPT_MANUAL", - "INVALID" - ], + "filterMatchCriteria": { + "description": "Specifies how individual filter label matches within the list of filterLabels and contributes toward the overall metadataFilter match. Supported values are: - MATCH_ANY: at least one of the filterLabels must have a matching label in the provided metadata. - MATCH_ALL: all filterLabels must have matching labels in the provided metadata. ", "type": "string", "enumDescriptions": [ - "", - "", - "" + "Specifies that all filterLabels must match for the metadataFilter to be considered a match.", + "Specifies that any filterLabel must match for the metadataFilter to be considered a match.", + "Indicates that the match criteria was not set. A metadataFilter must never be created with this value." + ], + "enum": [ + "MATCH_ALL", + "MATCH_ANY", + "NOT_SET" ] }, - "name": { - "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", - "annotations": { - "required": [ - "compute.networkAttachments.insert" - ] - }, - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" - }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for the resource." - }, - "selfLinkWithId": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource's resource id." - }, - "id": { - "type": "string", - "format": "uint64", - "description": "[Output Only] The unique identifier for the resource type. The server generates this identifier." + "filterLabels": { + "description": "The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list must not be empty and can have at the most 64 entries.", + "type": "array", + "items": { + "$ref": "MetadataFilterLabelMatch" + } } - }, - "id": "NetworkAttachment" + } }, - "LocationPolicy": { + "MetadataFilterLabelMatch": { + "id": "MetadataFilterLabelMatch", + "description": "MetadataFilter label name value pairs that are expected to match corresponding labels presented as metadata to the load balancer.", + "type": "object", "properties": { - "targetShape": { - "enum": [ - "ANY", - "ANY_SINGLE_ZONE", - "BALANCED" - ], - "enumDescriptions": [ - "GCE picks zones for creating VM instances to fulfill the requested number of VMs within present resource constraints and to maximize utilization of unused zonal reservations. Recommended for batch workloads that do not require high availability.", - "GCE always selects a single zone for all the VMs, optimizing for resource quotas, available reservations and general capacity. Recommended for batch workloads that cannot tollerate distribution over multiple zones. This the default shape in Bulk Insert and Capacity Advisor APIs.", - "GCE prioritizes acquisition of resources, scheduling VMs in zones where resources are available while distributing VMs as evenly as possible across allowed zones to minimize the impact of zonal failure. Recommended for highly available serving workloads." - ], - "type": "string", - "description": "Strategy for distributing VMs across zones in a region." + "name": { + "description": "Name of metadata label. The name can have a maximum length of 1024 characters and must be at least 1 character long.", + "type": "string" }, - "locations": { - "additionalProperties": { - "$ref": "LocationPolicyLocation" - }, - "type": "object", - "description": "Location configurations mapped by location name. Currently only zone names are supported and must be represented as valid internal URLs, such as zones/us-central1-a." + "value": { + "description": "The value of the label must match the specified value. value can have a maximum length of 1024 characters.", + "type": "string" } - }, - "description": "Configuration for location policy among multiple possible locations (e.g. preferences for zone selection among zones in a single region).", - "id": "LocationPolicy", - "type": "object" + } }, - "NetworkEndpointGroupCloudFunction": { - "id": "NetworkEndpointGroupCloudFunction", - "description": "Configuration for a Cloud Function network endpoint group (NEG). The function must be provided explicitly or in the URL mask. Note: Cloud Function must be in the same project and located in the same region as the Serverless NEG.", + "TargetReference": { + "id": "TargetReference", + "type": "object", "properties": { - "urlMask": { - "description": "A template to parse function field from a request URL. URL mask allows for routing to multiple Cloud Functions without having to create multiple Network Endpoint Groups and backend services. For example, request URLs \" mydomain.com/function1\" and \"mydomain.com/function2\" can be backed by the same Serverless NEG with URL mask \"/\u003cfunction\u003e\". The URL mask will parse them to { function = \"function1\" } and { function = \"function2\" } respectively.", + "target": { "type": "string" - }, - "function": { - "type": "string", - "description": "A user-defined name of the Cloud Function. The function name is case-sensitive and must be 1-63 characters long. Example value: \"func1\"." } - }, - "type": "object" + } }, - "RouterAdvertisedIpRange": { - "description": "Description-tagged IP ranges for the router to advertise.", + "ForwardingRuleAggregatedList": { + "id": "ForwardingRuleAggregatedList", + "type": "object", "properties": { - "range": { - "description": "The IP range to advertise. The value must be a CIDR-formatted string.", + "kind": { + "description": "[Output Only] Type of resource. Always compute#forwardingRuleAggregatedList for lists of forwarding rules.", + "default": "compute#forwardingRuleAggregatedList", "type": "string" }, - "description": { - "description": "User-specified description for the IP range.", + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", "type": "string" - } - }, - "type": "object", - "id": "RouterAdvertisedIpRange" - }, - "RegionInstanceGroupManagerList": { - "properties": { + }, "items": { - "type": "array", - "description": "A list of InstanceGroupManager resources.", - "items": { - "$ref": "InstanceGroupManager" + "description": "A list of ForwardingRulesScopedList resources.", + "type": "object", + "additionalProperties": { + "description": "Name of the scope containing this set of addresses.", + "$ref": "ForwardingRulesScopedList" } }, - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", "type": "string" }, - "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", "type": "string" }, - "kind": { - "type": "string", - "description": "[Output Only] The resource type, which is always compute#instanceGroupManagerList for a list of managed instance groups that exist in th regional scope.", - "default": "compute#regionInstanceGroupManagerList" - }, "warning": { "description": "[Output Only] Informational warning message.", "type": "object", "properties": { - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - }, "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -17061,6 +18261,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -17079,7 +18280,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -17091,6 +18321,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -17108,268 +18339,57 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", "type": "string" }, "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", "items": { "type": "object", "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, "value": { "description": "[Output Only] A warning data value corresponding to the key.", "type": "string" - }, - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." } } - }, - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "type": "array" + } } } }, - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." - } - }, - "id": "RegionInstanceGroupManagerList", - "description": "Contains a list of managed instance groups.", - "type": "object" - }, - "TargetSslProxiesSetBackendServiceRequest": { - "properties": { - "service": { - "description": "The URL of the new BackendService resource for the targetSslProxy.", - "type": "string" + "unreachables": { + "description": "[Output Only] Unreachable resources.", + "type": "array", + "items": { + "type": "string" + } } - }, - "id": "TargetSslProxiesSetBackendServiceRequest", - "type": "object" + } }, - "PacketMirroring": { - "properties": { - "id": { - "format": "uint64", - "type": "string", - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server." - }, - "description": { - "description": "An optional description of this resource. Provide this property when you create the resource.", - "type": "string" - }, - "priority": { - "description": "The priority of applying this configuration. Priority is used to break ties in cases where there is more than one matching rule. In the case of two rules that apply for a given Instance, the one with the lowest-numbered priority value wins. Default value is 1000. Valid range is 0 through 65535.", - "format": "uint32", - "type": "integer" - }, - "filter": { - "$ref": "PacketMirroringFilter", - "description": "Filter for mirrored traffic. If unspecified, all traffic is mirrored." - }, - "selfLink": { - "description": "[Output Only] Server-defined URL for the resource.", - "type": "string" - }, - "enable": { - "type": "string", - "enumDescriptions": [ - "", - "" - ], - "description": "Indicates whether or not this packet mirroring takes effect. If set to FALSE, this packet mirroring policy will not be enforced on the network. The default is TRUE.", - "enum": [ - "FALSE", - "TRUE" - ] - }, - "collectorIlb": { - "$ref": "PacketMirroringForwardingRuleInfo", - "description": "The Forwarding Rule resource of type loadBalancingScheme=INTERNAL that will be used as collector for mirrored traffic. The specified forwarding rule must have isMirroringCollector set to true." - }, - "creationTimestamp": { - "description": "[Output Only] Creation timestamp in RFC3339 text format.", - "type": "string" - }, - "kind": { - "default": "compute#packetMirroring", - "type": "string", - "description": "[Output Only] Type of the resource. Always compute#packetMirroring for packet mirrorings." - }, - "network": { - "$ref": "PacketMirroringNetworkInfo", - "annotations": { - "required": [ - "compute.packetMirrorings.insert" - ] - }, - "description": "Specifies the mirrored VPC network. Only packets in this network will be mirrored. All mirrored VMs should have a NIC in the given network. All mirrored subnetworks should belong to the given network." - }, - "mirroredResources": { - "$ref": "PacketMirroringMirroredResourceInfo", - "description": "PacketMirroring mirroredResourceInfos. MirroredResourceInfo specifies a set of mirrored VM instances, subnetworks and/or tags for which traffic from/to all VM instances will be mirrored." - }, - "region": { - "type": "string", - "description": "[Output Only] URI of the region where the packetMirroring resides." - }, - "name": { - "description": "Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", - "annotations": { - "required": [ - "compute.packetMirrorings.insert" - ] - }, - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" - } - }, + "ForwardingRulesScopedList": { + "id": "ForwardingRulesScopedList", "type": "object", - "description": "Represents a Packet Mirroring resource. Packet Mirroring clones the traffic of specified instances in your Virtual Private Cloud (VPC) network and forwards it to a collector destination, such as an instance group of an internal TCP/UDP load balancer, for analysis or examination. For more information about setting up Packet Mirroring, see Using Packet Mirroring.", - "id": "PacketMirroring" - }, - "Condition": { "properties": { - "svc": { - "type": "string", - "description": "This is deprecated and has no effect. Do not use." - }, - "sys": { - "enumDescriptions": [ - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use." - ], - "enum": [ - "IP", - "NAME", - "NO_ATTR", - "REGION", - "SERVICE" - ], - "type": "string", - "description": "This is deprecated and has no effect. Do not use." - }, - "values": { - "items": { - "type": "string" - }, - "description": "This is deprecated and has no effect. Do not use.", - "type": "array" - }, - "iam": { - "enum": [ - "APPROVER", - "ATTRIBUTION", - "AUTHORITY", - "CREDENTIALS_TYPE", - "CREDS_ASSERTION", - "JUSTIFICATION_TYPE", - "NO_ATTR", - "SECURITY_REALM" - ], - "description": "This is deprecated and has no effect. Do not use.", - "type": "string", - "enumDescriptions": [ - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use." - ] - }, - "op": { - "enumDescriptions": [ - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use." - ], - "enum": [ - "DISCHARGED", - "EQUALS", - "IN", - "NOT_EQUALS", - "NOT_IN", - "NO_OP" - ], - "description": "This is deprecated and has no effect. Do not use.", - "type": "string" - } - }, - "type": "object", - "id": "Condition", - "description": "This is deprecated and has no effect. Do not use." - }, - "HttpsHealthCheckList": { - "id": "HttpsHealthCheckList", - "properties": { - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", - "type": "string" - }, - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." - }, - "items": { - "items": { - "$ref": "HttpsHealthCheck" - }, + "forwardingRules": { + "description": "A list of forwarding rules contained in this scope.", "type": "array", - "description": "A list of HttpsHealthCheck resources." - }, - "kind": { - "type": "string", - "default": "compute#httpsHealthCheckList", - "description": "Type of resource." + "items": { + "$ref": "ForwardingRule" + } }, "warning": { + "description": "Informational warning which replaces the list of forwarding rules when the list is empty.", + "type": "object", "properties": { - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - }, "code": { "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", @@ -17382,6 +18402,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -17399,8 +18420,72 @@ "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", "When undeclared properties in the schema are present", "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" ] }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, "data": { "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", "type": "array", @@ -17412,346 +18497,51 @@ "type": "string" }, "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" } } } } - }, - "description": "[Output Only] Informational warning message.", - "type": "object" - }, - "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", - "type": "string" - } - }, - "description": "Contains a list of HttpsHealthCheck resources.", - "type": "object" - }, - "PacketMirroringNetworkInfo": { - "properties": { - "canonicalUrl": { - "description": "[Output Only] Unique identifier for the network; defined by the server.", - "type": "string" - }, - "url": { - "description": "URL of the network resource.", - "type": "string" - } - }, - "type": "object", - "id": "PacketMirroringNetworkInfo" - }, - "UsableSubnetwork": { - "properties": { - "externalIpv6Prefix": { - "type": "string", - "description": "[Output Only] The external IPv6 address range that is assigned to this subnetwork." - }, - "network": { - "description": "Network URL.", - "type": "string" - }, - "purpose": { - "description": "The purpose of the resource. This field can be either PRIVATE_RFC_1918 or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER.", - "type": "string", - "enum": [ - "INTERNAL_HTTPS_LOAD_BALANCER", - "PRIVATE", - "PRIVATE_RFC_1918", - "PRIVATE_SERVICE_CONNECT", - "REGIONAL_MANAGED_PROXY" - ], - "enumDescriptions": [ - "Subnet reserved for Internal HTTP(S) Load Balancing.", - "Regular user created or automatically created subnet.", - "Regular user created or automatically created subnet.", - "Subnetworks created for Private Service Connect in the producer network.", - "Subnetwork used for Regional Internal/External HTTP(S) Load Balancing." - ] - }, - "stackType": { - "description": "The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch.", - "enum": [ - "IPV4_IPV6", - "IPV4_ONLY" - ], - "type": "string", - "enumDescriptions": [ - "New VMs in this subnet can have both IPv4 and IPv6 addresses.", - "New VMs in this subnet will only be assigned IPv4 addresses." - ] - }, - "role": { - "enum": [ - "ACTIVE", - "BACKUP" - ], - "type": "string", - "description": "The role of subnetwork. Currently, this field is only used when purpose = INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Internal HTTP(S) Load Balancing. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request.", - "enumDescriptions": [ - "The ACTIVE subnet that is currently used.", - "The BACKUP subnet that could be promoted to ACTIVE." - ] - }, - "internalIpv6Prefix": { - "description": "[Output Only] The internal IPv6 address range that is assigned to this subnetwork.", - "type": "string" - }, - "ipCidrRange": { - "type": "string", - "description": "The range of internal addresses that are owned by this subnetwork." - }, - "ipv6AccessType": { - "type": "string", - "description": "The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack.", - "enumDescriptions": [ - "VMs on this subnet will be assigned IPv6 addresses that are accessible via the Internet, as well as the VPC network.", - "VMs on this subnet will be assigned IPv6 addresses that are only accessible over the VPC network." - ], - "enum": [ - "EXTERNAL", - "INTERNAL" - ] - }, - "secondaryIpRanges": { - "items": { - "$ref": "UsableSubnetworkSecondaryRange" - }, - "description": "Secondary IP ranges.", - "type": "array" - }, - "subnetwork": { - "description": "Subnetwork URL.", - "type": "string" - } - }, - "id": "UsableSubnetwork", - "description": "Subnetwork which the current user has compute.subnetworks.use permission on.", - "type": "object" - }, - "ProjectsGetXpnResources": { - "id": "ProjectsGetXpnResources", - "type": "object", - "properties": { - "kind": { - "default": "compute#projectsGetXpnResources", - "description": "[Output Only] Type of resource. Always compute#projectsGetXpnResources for lists of service resources (a.k.a service projects)", - "type": "string" - }, - "resources": { - "description": "Service resources (a.k.a service projects) attached to this project as their shared VPC host.", - "type": "array", - "items": { - "$ref": "XpnResourceId" } - }, - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." } } }, - "PathRule": { - "description": "A path-matching rule for a URL. If matched, will use the specified BackendService to handle the traffic arriving at this URL.", - "id": "PathRule", - "properties": { - "urlRedirect": { - "$ref": "HttpRedirectAction", - "description": "When a path pattern is matched, the request is redirected to a URL specified by urlRedirect. If urlRedirect is specified, service or routeAction must not be set. Not supported when the URL map is bound to a target gRPC proxy." - }, - "paths": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The list of path patterns to match. Each must start with / and the only place a * is allowed is at the end following a /. The string fed to the path matcher does not include any text after the first ? or #, and those chars are not allowed here." - }, - "service": { - "type": "string", - "description": "The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set." - }, - "routeAction": { - "description": "In response to a matching path, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of routeAction or urlRedirect must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within a path rule's routeAction.", - "$ref": "HttpRouteAction" - } - }, - "type": "object" - }, - "Subsetting": { - "description": "Subsetting configuration for this BackendService. Currently this is applicable only for Internal TCP/UDP load balancing, Internal HTTP(S) load balancing and Traffic Director.", + "HealthCheckServicesList": { + "id": "HealthCheckServicesList", "type": "object", - "id": "Subsetting", - "properties": { - "policy": { - "enum": [ - "CONSISTENT_HASH_SUBSETTING", - "NONE" - ], - "enumDescriptions": [ - "Subsetting based on consistent hashing. For Traffic Director, the number of backends per backend group (the subset size) is based on the `subset_size` parameter. For Internal HTTP(S) load balancing, the number of backends per backend group (the subset size) is dynamically adjusted in two cases: - As the number of proxy instances participating in Internal HTTP(S) load balancing increases, the subset size decreases. - When the total number of backends in a network exceeds the capacity of a single proxy instance, subset sizes are reduced automatically for each service that has backend subsetting enabled.", - "No Subsetting. Clients may open connections and send traffic to all backends of this backend service. This can lead to performance issues if there is substantial imbalance in the count of clients and backends." - ], - "type": "string" - } - } - }, - "ExternalVpnGateway": { - "id": "ExternalVpnGateway", "properties": { "kind": { - "description": "[Output Only] Type of the resource. Always compute#externalVpnGateway for externalVpnGateways.", - "type": "string", - "default": "compute#externalVpnGateway" - }, - "name": { - "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", - "annotations": { - "required": [ - "compute.externalVpnGateways.insert" - ] - }, - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" - }, - "selfLink": { - "description": "[Output Only] Server-defined URL for the resource.", - "type": "string" - }, - "labels": { - "description": "Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.", - "additionalProperties": { - "type": "string" - }, - "type": "object" - }, - "description": { - "type": "string", - "description": "An optional description of this resource. Provide this property when you create the resource." - }, - "labelFingerprint": { - "description": "A fingerprint for the labels being applied to this ExternalVpnGateway, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an ExternalVpnGateway.", - "type": "string", - "format": "byte" - }, - "creationTimestamp": { - "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "description": "[Output Only] Type of the resource. Always compute#healthCheckServicesList for lists of HealthCheckServices.", + "default": "compute#healthCheckServicesList", "type": "string" }, - "interfaces": { - "description": "A list of interfaces for this external VPN gateway. If your peer-side gateway is an on-premises gateway and non-AWS cloud providers' gateway, at most two interfaces can be provided for an external VPN gateway. If your peer side is an AWS virtual private gateway, four interfaces should be provided for an external VPN gateway.", - "items": { - "$ref": "ExternalVpnGatewayInterface" - }, - "type": "array" - }, "id": { - "format": "uint64", - "type": "string", - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server." - }, - "redundancyType": { - "enumDescriptions": [ - "The external VPN gateway has four public IP addresses; at the time of writing this API, the AWS virtual private gateway is an example which has four public IP addresses for high availability connections; there should be two VPN connections in the AWS virtual private gateway , each AWS VPN connection has two public IP addresses; please make sure to put two public IP addresses from one AWS VPN connection into interfaces 0 and 1 of this external VPN gateway, and put the other two public IP addresses from another AWS VPN connection into interfaces 2 and 3 of this external VPN gateway. When displaying highly available configuration status for the VPN tunnels connected to FOUR_IPS_REDUNDANCY external VPN gateway, Google will always detect whether interfaces 0 and 1 are connected on one interface of HA Cloud VPN gateway, and detect whether interfaces 2 and 3 are connected to another interface of the HA Cloud VPN gateway.", - "The external VPN gateway has only one public IP address which internally provide redundancy or failover.", - "The external VPN gateway has two public IP addresses which are redundant with each other, the following two types of setup on your on-premises side would have this type of redundancy: (1) Two separate on-premises gateways, each with one public IP address, the two on-premises gateways are redundant with each other. (2) A single on-premise gateway with two public IP addresses that are redundant with eatch other." - ], - "description": "Indicates the user-supplied redundancy type of this external VPN gateway.", - "type": "string", - "enum": [ - "FOUR_IPS_REDUNDANCY", - "SINGLE_IP_INTERNALLY_REDUNDANT", - "TWO_IPS_REDUNDANCY" - ] - } - }, - "description": "Represents an external VPN gateway. External VPN gateway is the on-premises VPN gateway(s) or another cloud provider's VPN gateway that connects to your Google Cloud VPN gateway. To create a highly available VPN from Google Cloud Platform to your VPN gateway or another cloud provider's VPN gateway, you must create a external VPN gateway resource with information about the other gateway. For more information about using external VPN gateways, see Creating an HA VPN gateway and tunnel pair to a peer VPN.", - "type": "object" - }, - "InstanceGroupManagerVersion": { - "properties": { - "name": { - "type": "string", - "description": "Name of the version. Unique among all versions in the scope of this managed instance group." - }, - "instanceTemplate": { - "type": "string", - "description": "The URL of the instance template that is specified for this managed instance group. The group uses this template to create new instances in the managed instance group until the `targetSize` for this version is reached. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE; in those cases, existing instances are updated until the `targetSize` for this version is reached." - }, - "targetSize": { - "$ref": "FixedOrPercent", - "description": "Specifies the intended number of instances to be created from the instanceTemplate. The final number of instances created from the template will be equal to: - If expressed as a fixed number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. - if expressed as a percent, the targetSize would be (targetSize.percent/100 * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded. If unset, this version will update any remaining instances not updated by another version. Read Starting a canary update for more information." - } - }, - "type": "object", - "id": "InstanceGroupManagerVersion" - }, - "ErrorInfo": { - "type": "object", - "id": "ErrorInfo", - "description": "Describes the cause of the error with structured details. Example of an error when contacting the \"pubsub.googleapis.com\" API when it is not enabled: { \"reason\": \"API_DISABLED\" \"domain\": \"googleapis.com\" \"metadata\": { \"resource\": \"projects/123\", \"service\": \"pubsub.googleapis.com\" } } This response indicates that the pubsub.googleapis.com API is not enabled. Example of an error that is returned when attempting to create a Spanner instance in a region that is out of stock: { \"reason\": \"STOCKOUT\" \"domain\": \"spanner.googleapis.com\", \"metadata\": { \"availableRegions\": \"us-central1,us-east2\" } }", - "properties": { - "reason": { - "type": "string", - "description": "The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors. This should be at most 63 characters and match a regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE." - }, - "metadatas": { - "description": "Additional structured details about this error. Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {\"instanceLimit\": \"100/request\"}, should be returned as, {\"instanceLimitPerRequest\": \"100\"}, if the client exceeds the number of instances that can be created in a single (batch) request.", - "type": "object", - "additionalProperties": { - "type": "string" - } + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" }, - "domain": { - "type": "string", - "description": "The logical grouping to which the \"reason\" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: \"pubsub.googleapis.com\". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is \"googleapis.com\"." - } - } - }, - "MachineTypeList": { - "properties": { "items": { - "description": "A list of MachineType resources.", + "description": "A list of HealthCheckService resources.", + "type": "array", "items": { - "$ref": "MachineType" - }, - "type": "array" + "$ref": "HealthCheckService" + } }, - "kind": { - "type": "string", - "default": "compute#machineTypeList", - "description": "[Output Only] Type of resource. Always compute#machineTypeList for lists of machine types." + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" }, "selfLink": { "description": "[Output Only] Server-defined URL for this resource.", "type": "string" }, "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { - "data": { - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - }, - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - } - } - } - }, - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -17763,6 +18553,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -17781,7 +18572,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "type": "string", + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -17793,6 +18613,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -17810,492 +18631,145 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response." - } - }, - "description": "[Output Only] Informational warning message.", - "type": "object" - }, - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", - "type": "string" - }, - "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." - } - }, - "id": "MachineTypeList", - "type": "object", - "description": "Contains a list of machine types." - }, - "OperationsScopedList": { - "type": "object", - "id": "OperationsScopedList", - "properties": { - "warning": { - "properties": { + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", "items": { "type": "object", "properties": { - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - }, "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" } } - }, - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "type": "array" - }, - "code": { - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "type": "string", - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ] - }, - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" + } } - }, - "description": "[Output Only] Informational warning which replaces the list of operations when the list is empty.", - "type": "object" - }, - "operations": { - "type": "array", - "items": { - "$ref": "Operation" - }, - "description": "[Output Only] A list of operations contained in this scope." + } } } }, - "FirewallPolicyRuleSecureTag": { - "id": "FirewallPolicyRuleSecureTag", - "properties": { - "name": { - "type": "string", - "description": "Name of the secure tag, created with TagManager's TagValue API.", - "pattern": "tagValues/[0-9]+" - }, - "state": { - "type": "string", - "enumDescriptions": [ - "", - "" - ], - "enum": [ - "EFFECTIVE", - "INEFFECTIVE" - ], - "description": "[Output Only] State of the secure tag, either `EFFECTIVE` or `INEFFECTIVE`. A secure tag is `INEFFECTIVE` when it is deleted or its network is deleted." - } - }, - "type": "object" - }, - "BackendService": { - "description": "Represents a Backend Service resource. A backend service defines how Google Cloud load balancers distribute traffic. The backend service configuration contains a set of values, such as the protocol used to connect to backends, various distribution and session settings, health checks, and timeouts. These settings provide fine-grained control over how your load balancer behaves. Most of the settings have default values that allow for easy configuration if you need to get started quickly. Backend services in Google Compute Engine can be either regionally or globally scoped. * [Global](https://cloud.google.com/compute/docs/reference/rest/v1/backendServices) * [Regional](https://cloud.google.com/compute/docs/reference/rest/v1/regionBackendServices) For more information, see Backend Services.", + "HealthCheckService": { + "id": "HealthCheckService", + "description": "Represents a Health-Check as a Service resource.", + "type": "object", "properties": { - "description": { - "type": "string", - "description": "An optional description of this resource. Provide this property when you create the resource." - }, - "securityPolicy": { - "type": "string", - "description": "[Output Only] The resource URL for the security policy associated with this backend service." - }, - "region": { - "type": "string", - "description": "[Output Only] URL of the region where the regional backend service resides. This field is not applicable to global backend services. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body." - }, - "selfLink": { - "description": "[Output Only] Server-defined URL for the resource.", + "kind": { + "description": "[Output only] Type of the resource. Always compute#healthCheckServicefor health check services.", + "default": "compute#healthCheckService", "type": "string" }, - "protocol": { - "type": "string", - "description": "The protocol this BackendService uses to communicate with backends. Possible values are HTTP, HTTPS, HTTP2, TCP, SSL, UDP or GRPC. depending on the chosen load balancer or Traffic Director configuration. Refer to the documentation for the load balancers or for Traffic Director for more information. Must be set to GRPC when the backend service is referenced by a URL map that is bound to target gRPC proxy.", - "enum": [ - "GRPC", - "HTTP", - "HTTP2", - "HTTPS", - "SSL", - "TCP", - "UDP", - "UNSPECIFIED" - ], - "enumDescriptions": [ - "gRPC (available for Traffic Director).", - "", - "HTTP/2 with SSL.", - "", - "TCP proxying with SSL.", - "TCP proxying or TCP pass-through.", - "UDP.", - "If a Backend Service has UNSPECIFIED as its protocol, it can be used with any L3/L4 Forwarding Rules." - ] - }, - "circuitBreakers": { - "$ref": "CircuitBreakers" - }, - "localityLbPolicy": { - "description": "The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. If sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity settings will not take effect. Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.", - "type": "string", - "enum": [ - "INVALID_LB_POLICY", - "LEAST_REQUEST", - "MAGLEV", - "ORIGINAL_DESTINATION", - "RANDOM", - "RING_HASH", - "ROUND_ROBIN" - ], - "enumDescriptions": [ - "", - "An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests.", - "This algorithm implements consistent hashing to backends. Maglev can be used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824", - "Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer.", - "The load balancer selects a random healthy host.", - "The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests.", - "This is a simple policy in which each healthy backend is selected in round robin order. This is the default." - ] - }, - "port": { - "format": "int32", - "description": "Deprecated in favor of portName. The TCP port to connect on the backend. The default value is 80. For Internal TCP/UDP Load Balancing and Network Load Balancing, omit port.", - "type": "integer" - }, - "timeoutSec": { - "type": "integer", - "description": "The backend service timeout has a different meaning depending on the type of load balancer. For more information see, Backend service settings. The default is 30 seconds. The full range of timeout values allowed goes from 1 through 2,147,483,647 seconds. This value can be overridden in the PathMatcher configuration of the UrlMap that references this backend service. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. Instead, use maxStreamDuration.", - "format": "int32" - }, - "loadBalancingScheme": { - "enum": [ - "EXTERNAL", - "EXTERNAL_MANAGED", - "INTERNAL", - "INTERNAL_MANAGED", - "INTERNAL_SELF_MANAGED", - "INVALID_LOAD_BALANCING_SCHEME" - ], - "description": "Specifies the load balancer type. A backend service created for one type of load balancer cannot be used with another. For more information, refer to Choosing a load balancer.", + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", "type": "string", - "enumDescriptions": [ - "Signifies that this will be used for external HTTP(S), SSL Proxy, TCP Proxy, or Network Load Balancing", - "Signifies that this will be used for External Managed HTTP(S) Load Balancing.", - "Signifies that this will be used for Internal TCP/UDP Load Balancing.", - "Signifies that this will be used for Internal HTTP(S) Load Balancing.", - "Signifies that this will be used by Traffic Director.", - "" - ] - }, - "maxStreamDuration": { - "description": "Specifies the default maximum duration (timeout) for streams to this service. Duration is computed from the beginning of the stream until the response has been completely processed, including all retries. A stream that does not complete in this duration is closed. If not specified, there will be no timeout limit, i.e. the maximum duration is infinite. This value can be overridden in the PathMatcher configuration of the UrlMap that references this backend service. This field is only allowed when the loadBalancingScheme of the backend service is INTERNAL_SELF_MANAGED.", - "$ref": "Duration" + "format": "uint64" }, "creationTimestamp": { "description": "[Output Only] Creation timestamp in RFC3339 text format.", "type": "string" }, - "affinityCookieTtlSec": { - "description": "Lifetime of cookies in seconds. This setting is applicable to external and internal HTTP(S) load balancers and Traffic Director and requires GENERATED_COOKIE or HTTP_COOKIE session affinity. If set to 0, the cookie is non-persistent and lasts only until the end of the browser session (or equivalent). The maximum allowed value is two weeks (1,209,600). Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.", - "type": "integer", - "format": "int32" - }, - "consistentHash": { - "description": "Consistent Hash-based load balancing can be used to provide soft session affinity based on HTTP headers, cookies or other properties. This load balancing policy is applicable only for HTTP connections. The affinity to a particular destination host will be lost when one or more hosts are added/removed from the destination service. This field specifies parameters that control consistent hashing. This field is only applicable when localityLbPolicy is set to MAGLEV or RING_HASH. This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. ", - "$ref": "ConsistentHashLoadBalancerSettings" + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", + "type": "string" }, - "serviceBindings": { - "items": { - "type": "string" - }, - "type": "array", - "description": "URLs of networkservices.ServiceBinding resources. Can only be set if load balancing scheme is INTERNAL_SELF_MANAGED. If set, lists of backends and health checks must be both empty." + "name": { + "description": "Name of the resource. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "type": "string" }, - "sessionAffinity": { - "description": "Type of session affinity to use. The default is NONE. Only NONE and HEADER_FIELD are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. For more details, see: [Session Affinity](https://cloud.google.com/load-balancing/docs/backend-service#session_affinity).", - "type": "string", - "enum": [ - "CLIENT_IP", - "CLIENT_IP_NO_DESTINATION", - "CLIENT_IP_PORT_PROTO", - "CLIENT_IP_PROTO", - "GENERATED_COOKIE", - "HEADER_FIELD", - "HTTP_COOKIE", - "NONE" - ], - "enumDescriptions": [ - "2-tuple hash on packet's source and destination IP addresses. Connections from the same source IP address to the same destination IP address will be served by the same backend VM while that VM remains healthy.", - "1-tuple hash only on packet's source IP address. Connections from the same source IP address will be served by the same backend VM while that VM remains healthy. This option can only be used for Internal TCP/UDP Load Balancing.", - "5-tuple hash on packet's source and destination IP addresses, IP protocol, and source and destination ports. Connections for the same IP protocol from the same source IP address and port to the same destination IP address and port will be served by the same backend VM while that VM remains healthy. This option cannot be used for HTTP(S) load balancing.", - "3-tuple hash on packet's source and destination IP addresses, and IP protocol. Connections for the same IP protocol from the same source IP address to the same destination IP address will be served by the same backend VM while that VM remains healthy. This option cannot be used for HTTP(S) load balancing.", - "Hash based on a cookie generated by the L7 loadbalancer. Only valid for HTTP(S) load balancing.", - "The hash is based on a user specified header field.", - "The hash is based on a user provided cookie.", - "No session affinity. Connections from the same client IP may go to any instance in the pool." - ] + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource.", + "type": "string" }, - "portName": { - "type": "string", - "description": "A named port on a backend instance group representing the port for communication to the backend VMs in that group. The named port must be [defined on each backend instance group](https://cloud.google.com/load-balancing/docs/backend-service#named_ports). This parameter has no meaning if the backends are NEGs. For Internal TCP/UDP Load Balancing and Network Load Balancing, omit port_name." + "region": { + "description": "[Output Only] URL of the region where the health check service resides. This field is not applicable to global health check services. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.", + "type": "string" }, - "compressionMode": { + "healthStatusAggregationPolicy": { + "description": "Optional. Policy for how the results from multiple health checks for the same endpoint are aggregated. Defaults to NO_AGGREGATION if unspecified. - NO_AGGREGATION. An EndpointHealth message is returned for each pair in the health check service. - AND. If any health check of an endpoint reports UNHEALTHY, then UNHEALTHY is the HealthState of the endpoint. If all health checks report HEALTHY, the HealthState of the endpoint is HEALTHY. . This is only allowed with regional HealthCheckService.", "type": "string", - "description": "Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.", "enumDescriptions": [ - "Automatically uses the best compression based on the Accept-Encoding header sent by the client.", - "Disables compression. Existing compressed responses cached by Cloud CDN will not be served to clients." + "If any backend's health check reports UNHEALTHY, then UNHEALTHY is the HealthState of the entire health check service. If all backend's are healthy, the HealthState of the health check service is HEALTHY.", + "An EndpointHealth message is returned for each backend in the health check service." ], "enum": [ - "AUTOMATIC", - "DISABLED" + "AND", + "NO_AGGREGATION" ] }, - "outlierDetection": { - "description": "Settings controlling the eviction of unhealthy hosts from the load balancing pool for the backend service. If not set, this feature is considered disabled. This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, HTTP2, or GRPC, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. ", - "$ref": "OutlierDetection" - }, - "localityLbPolicies": { - "items": { - "$ref": "BackendServiceLocalityLoadBalancingPolicyConfig" - }, + "healthChecks": { + "description": "A list of URLs to the HealthCheck resources. Must have at least one HealthCheck, and not more than 10 for regional HealthCheckService, and not more than 1 for global HealthCheckService. HealthCheck resources must have portSpecification=USE_SERVING_PORT or portSpecification=USE_FIXED_PORT. For regional HealthCheckService, the HealthCheck must be regional and in the same region. For global HealthCheckService, HealthCheck must be global. Mix of regional and global HealthChecks is not supported. Multiple regional HealthChecks must belong to the same region. Regional HealthChecks must belong to the same region as zones of NetworkEndpointGroups. For global HealthCheckService using global INTERNET_IP_PORT NetworkEndpointGroups, the global HealthChecks must specify sourceRegions, and HealthChecks that specify sourceRegions can only be used with global INTERNET_IP_PORT NetworkEndpointGroups.", "type": "array", - "description": "A list of locality load balancing policies to be used in order of preference. Either the policy or the customPolicy field should be set. Overrides any value set in the localityLbPolicy field. localityLbPolicies is only supported when the BackendService is referenced by a URL Map that is referenced by a target gRPC proxy that has the validateForProxyless field set to true." - }, - "failoverPolicy": { - "description": "Requires at least one backend instance group to be defined as a backup (failover) backend. For load balancers that have configurable failover: [Internal TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/internal/failover-overview) and [external TCP/UDP Load Balancing](https://cloud.google.com/load-balancing/docs/network/networklb-failover-overview).", - "$ref": "BackendServiceFailoverPolicy" - }, - "customRequestHeaders": { "items": { "type": "string" - }, - "type": "array", - "description": "Headers that the load balancer adds to proxied requests. See [Creating custom headers](https://cloud.google.com/load-balancing/docs/custom-headers)." - }, - "connectionTrackingPolicy": { - "$ref": "BackendServiceConnectionTrackingPolicy", - "description": "Connection Tracking configuration for this BackendService. Connection tracking policy settings are only available for Network Load Balancing and Internal TCP/UDP Load Balancing." - }, - "cdnPolicy": { - "$ref": "BackendServiceCdnPolicy", - "description": "Cloud CDN configuration for this BackendService. Only available for specified load balancer types." - }, - "fingerprint": { - "description": "Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a BackendService. An up-to-date fingerprint must be provided in order to update the BackendService, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a BackendService.", - "format": "byte", - "type": "string" + } }, - "healthChecks": { + "networkEndpointGroups": { + "description": "A list of URLs to the NetworkEndpointGroup resources. Must not have more than 100. For regional HealthCheckService, NEGs must be in zones in the region of the HealthCheckService. For global HealthCheckServices, the NetworkEndpointGroups must be global INTERNET_IP_PORT.", + "type": "array", "items": { "type": "string" - }, - "type": "array", - "description": "The list of URLs to the healthChecks, httpHealthChecks (legacy), or httpsHealthChecks (legacy) resource for health checking this backend service. Not all backend services support legacy health checks. See Load balancer guide. Currently, at most one health check can be specified for each backend service. Backend services with instance group or zonal NEG backends must have a health check. Backend services with internet or serverless NEG backends must not have a health check." - }, - "connectionDraining": { - "$ref": "ConnectionDraining" - }, - "kind": { - "type": "string", - "default": "compute#backendService", - "description": "[Output Only] Type of resource. Always compute#backendService for backend services." + } }, - "customResponseHeaders": { + "notificationEndpoints": { + "description": "A list of URLs to the NotificationEndpoint resources. Must not have more than 10. A list of endpoints for receiving notifications of change in health status. For regional HealthCheckService, NotificationEndpoint must be regional and in the same region. For global HealthCheckService, NotificationEndpoint must be global.", "type": "array", - "description": "Headers that the load balancer adds to proxied responses. See [Creating custom headers](https://cloud.google.com/load-balancing/docs/custom-headers).", "items": { "type": "string" } }, - "iap": { - "$ref": "BackendServiceIAP", - "description": "The configurations for Identity-Aware Proxy on this resource. Not available for Internal TCP/UDP Load Balancing and Network Load Balancing." - }, - "logConfig": { - "$ref": "BackendServiceLogConfig", - "description": "This field denotes the logging options for the load balancer traffic served by this backend service. If logging is enabled, logs will be exported to Stackdriver." - }, - "edgeSecurityPolicy": { - "type": "string", - "description": "[Output Only] The resource URL for the edge security policy associated with this backend service." - }, - "network": { - "type": "string", - "description": "The URL of the network to which this backend service belongs. This field can only be specified when the load balancing scheme is set to INTERNAL." - }, - "securitySettings": { - "$ref": "SecuritySettings", - "description": "This field specifies the security settings that apply to this backend service. This field is applicable to a global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED." - }, - "id": { - "format": "uint64", - "type": "string", - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server." - }, - "name": { + "fingerprint": { + "description": "Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a HealthCheckService. An up-to-date fingerprint must be provided in order to patch/update the HealthCheckService; Otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the HealthCheckService.", "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash." - }, - "subsetting": { - "$ref": "Subsetting" - }, - "enableCDN": { - "type": "boolean", - "description": "If true, enables Cloud CDN for the backend service of an external HTTP(S) load balancer." - }, - "backends": { - "type": "array", - "description": "The list of backends that serve this BackendService.", - "items": { - "$ref": "Backend" - } - } - }, - "id": "BackendService", - "type": "object" - }, - "ConfidentialInstanceConfig": { - "description": "A set of Confidential Instance options.", - "id": "ConfidentialInstanceConfig", - "properties": { - "enableConfidentialCompute": { - "type": "boolean", - "description": "Defines whether the instance should have confidential compute enabled." + "format": "byte" } - }, - "type": "object" + } }, - "InstanceGroupManagerStatus": { - "properties": { - "isStable": { - "description": "[Output Only] A bit indicating whether the managed instance group is in a stable state. A stable state means that: none of the instances in the managed instance group is currently undergoing any type of change (for example, creation, restart, or deletion); no future changes are scheduled for instances in the managed instance group; and the managed instance group itself is not being modified.", - "type": "boolean" - }, - "stateful": { - "$ref": "InstanceGroupManagerStatusStateful", - "description": "[Output Only] Stateful status of the given Instance Group Manager." - }, - "versionTarget": { - "$ref": "InstanceGroupManagerStatusVersionTarget", - "description": "[Output Only] A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager." - }, - "autoscaler": { - "description": "[Output Only] The URL of the Autoscaler that targets this instance group manager.", - "type": "string" - } - }, + "HealthCheckList": { + "id": "HealthCheckList", + "description": "Contains a list of HealthCheck resources.", "type": "object", - "id": "InstanceGroupManagerStatus" - }, - "DiskTypeAggregatedList": { "properties": { "kind": { - "type": "string", - "default": "compute#diskTypeAggregatedList", - "description": "[Output Only] Type of resource. Always compute#diskTypeAggregatedList." + "description": "Type of resource.", + "default": "compute#healthCheckList", + "type": "string" }, "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." - }, - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "description": "[Output Only] Unique identifier for the resource; defined by the server.", "type": "string" }, "items": { - "description": "A list of DiskTypesScopedList resources.", - "type": "object", - "additionalProperties": { - "$ref": "DiskTypesScopedList", - "description": "[Output Only] Name of the scope containing this set of disk types." + "description": "A list of HealthCheck resources.", + "type": "array", + "items": { + "$ref": "HealthCheck" } }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, "selfLink": { "description": "[Output Only] Server-defined URL for this resource.", "type": "string" }, - "unreachables": { - "description": "[Output Only] Unreachable resources.", - "type": "array", - "items": { - "type": "string" - } - }, "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -18307,6 +18781,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -18325,8 +18800,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "type": "string", + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -18338,6 +18841,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -18357,347 +18861,467 @@ "UNREACHABLE" ] }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", "items": { "type": "object", "properties": { - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - }, "key": { "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" } } - }, - "type": "array", - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } " + } } - }, - "type": "object", - "description": "[Output Only] Informational warning message." - } - }, - "id": "DiskTypeAggregatedList", - "type": "object" - }, - "BackendBucketCdnPolicyCacheKeyPolicy": { - "id": "BackendBucketCdnPolicyCacheKeyPolicy", - "properties": { - "includeHttpHeaders": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Allows HTTP request headers (by name) to be used in the cache key." - }, - "queryStringWhitelist": { - "items": { - "type": "string" - }, - "type": "array", - "description": "Names of query string parameters to include in cache keys. Default parameters are always included. '&' and '=' will be percent encoded and not treated as delimiters." + } } - }, - "description": "Message containing what to include in the cache key for a request for Cloud CDN.", - "type": "object" + } }, - "License": { + "HealthCheck": { + "id": "HealthCheck", + "description": "Represents a health check resource. Google Compute Engine has two health check resources: * [Regional](/compute/docs/reference/rest/v1/regionHealthChecks) * [Global](/compute/docs/reference/rest/v1/healthChecks) These health check resources can be used for load balancing and for autohealing VMs in a managed instance group (MIG). **Load balancing** Health check requirements vary depending on the type of load balancer. For details about the type of health check supported for each load balancer and corresponding backend type, see Health checks overview: Load balancer guide. **Autohealing in MIGs** The health checks that you use for autohealing VMs in a MIG can be either regional or global. For more information, see Set up an application health check and autohealing. For more information, see Health checks overview.", "type": "object", "properties": { - "selfLink": { - "description": "[Output Only] Server-defined URL for the resource.", + "kind": { + "description": "Type of the resource.", + "default": "compute#healthCheck", "type": "string" }, - "resourceRequirements": { - "$ref": "LicenseResourceRequirements" + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", + "type": "string", + "format": "uint64" }, "creationTimestamp": { - "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "description": "[Output Only] Creation timestamp in 3339 text format.", "type": "string" }, - "kind": { - "default": "compute#license", - "type": "string", - "description": "[Output Only] Type of resource. Always compute#license for licenses." - }, "name": { - "type": "string", - "description": "Name of the resource. The name must be 1-63 characters long and comply with RFC1035.", - "annotations": { - "required": [ - "compute.images.insert" - ] - }, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" - }, - "chargesUseFee": { - "type": "boolean", - "description": "[Output Only] Deprecated. This field no longer reflects whether a license charges a usage fee." - }, - "transferable": { - "type": "boolean", - "description": "If false, licenses will not be copied from the source resource when creating an image from a disk, disk from snapshot, or snapshot from disk." - }, - "licenseCode": { - "format": "uint64", - "description": "[Output Only] The unique code used to attach this license to images, snapshots, and disks.", + "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. For example, a name that is 1-63 characters long, matches the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`, and otherwise complies with RFC1035. This regular expression describes a name where the first character is a lowercase letter, and all following characters are a dash, lowercase letter, or digit, except the last character, which isn't a dash.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "type": "string" }, - "id": { - "type": "string", - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", - "format": "uint64" - }, "description": { - "description": "An optional textual description of the resource; provided by the client when the resource is created.", + "description": "An optional description of this resource. Provide this property when you create the resource.", "type": "string" - } - }, - "id": "License", - "description": "Represents a License resource. A License represents billing and aggregate usage data for public and marketplace images. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. " - }, - "LogConfigCounterOptions": { - "properties": { - "customFields": { - "type": "array", - "items": { - "$ref": "LogConfigCounterOptionsCustomField" - }, - "description": "This is deprecated and has no effect. Do not use." }, - "metric": { - "description": "This is deprecated and has no effect. Do not use.", - "type": "string" + "checkIntervalSec": { + "description": "How often (in seconds) to send a health check. The default value is 5 seconds.", + "type": "integer", + "format": "int32" }, - "field": { + "timeoutSec": { + "description": "How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have greater value than checkIntervalSec.", + "type": "integer", + "format": "int32" + }, + "unhealthyThreshold": { + "description": "A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.", + "type": "integer", + "format": "int32" + }, + "healthyThreshold": { + "description": "A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.", + "type": "integer", + "format": "int32" + }, + "type": { + "description": "Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS, HTTP2 or GRPC. Exactly one of the protocol-specific health check fields must be specified, which must match type field.", "type": "string", - "description": "This is deprecated and has no effect. Do not use." - } - }, - "type": "object", - "id": "LogConfigCounterOptions", - "description": "This is deprecated and has no effect. Do not use." - }, - "LocationPolicyLocation": { - "properties": { - "preference": { - "description": "Preference for a given location. Set to either ALLOW or DENY.", "enumDescriptions": [ - "Location is allowed for use.", - "Location is prohibited.", - "Default value, unused." + "", + "", + "", + "", + "", + "", + "" ], "enum": [ - "ALLOW", - "DENY", - "PREFERENCE_UNSPECIFIED" - ], - "type": "string" + "GRPC", + "HTTP", + "HTTP2", + "HTTPS", + "INVALID", + "SSL", + "TCP" + ] }, - "constraints": { - "description": "Constraints that the caller requires on the result distribution in this zone.", - "$ref": "LocationPolicyLocationConstraints" + "tcpHealthCheck": { + "$ref": "TCPHealthCheck" + }, + "sslHealthCheck": { + "$ref": "SSLHealthCheck" + }, + "httpHealthCheck": { + "$ref": "HTTPHealthCheck" + }, + "httpsHealthCheck": { + "$ref": "HTTPSHealthCheck" + }, + "http2HealthCheck": { + "$ref": "HTTP2HealthCheck" + }, + "grpcHealthCheck": { + "$ref": "GRPCHealthCheck" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", + "type": "string" + }, + "region": { + "description": "[Output Only] Region where the health check resides. Not applicable to global health checks.", + "type": "string" + }, + "logConfig": { + "description": "Configure logging on this health check.", + "$ref": "HealthCheckLogConfig" } - }, - "type": "object", - "id": "LocationPolicyLocation" + } }, - "AccessConfig": { - "id": "AccessConfig", + "TCPHealthCheck": { + "id": "TCPHealthCheck", + "type": "object", "properties": { - "externalIpv6PrefixLength": { - "format": "int32", - "description": "The prefix length of the external IPv6 range.", - "type": "integer" - }, - "kind": { - "type": "string", - "default": "compute#accessConfig", - "description": "[Output Only] Type of the resource. Always compute#accessConfig for access configs." + "port": { + "description": "The TCP port number to which the health check prober sends packets. The default value is 80. Valid values are 1 through 65535.", + "type": "integer", + "format": "int32" }, - "setPublicPtr": { - "description": "Specifies whether a public DNS 'PTR' record should be created to map the external IP address of the instance to a DNS domain name. This field is not used in ipv6AccessConfig. A default PTR record will be created if the VM has external IPv6 range associated.", - "type": "boolean" + "portName": { + "description": "Not supported.", + "type": "string" }, - "name": { + "portSpecification": { + "description": "Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for passthrough load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for passthrough load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports.", "type": "string", - "description": "The name of this access configuration. The default and recommended name is External NAT, but you can use any arbitrary string, such as My external IP or Network Access." - }, - "networkTier": { "enumDescriptions": [ - "Public internet quality with fixed bandwidth.", - "High quality, Google-grade network tier, support for all networking products.", - "Public internet quality, only limited support for other networking products.", - "(Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured." + "The port number in the health check's port is used for health checking. Applies to network endpoint group and instance group backends.", + "Not supported.", + "For network endpoint group backends, the health check uses the port number specified on each endpoint in the network endpoint group. For instance group backends, the health check uses the port number specified for the backend service's named port defined in the instance group's named ports." ], - "type": "string", "enum": [ - "FIXED_STANDARD", - "PREMIUM", - "STANDARD", - "STANDARD_OVERRIDES_FIXED_STANDARD" - ], - "description": "This signifies the networking tier used for configuring this access configuration and can only take the following values: PREMIUM, STANDARD. If an AccessConfig is specified without a valid external IP address, an ephemeral IP will be created with this networkTier. If an AccessConfig with a valid external IP address is specified, it must match that of the networkTier associated with the Address resource owning that IP." + "USE_FIXED_PORT", + "USE_NAMED_PORT", + "USE_SERVING_PORT" + ] }, - "publicPtrDomainName": { - "type": "string", - "description": "The DNS domain name for the public PTR record. You can set this field only if the `setPublicPtr` field is enabled in accessConfig. If this field is unspecified in ipv6AccessConfig, a default PTR record will be createc for first IP in associated external IPv6 range." + "request": { + "description": "Instructs the health check prober to send this exact ASCII string, up to 1024 bytes in length, after establishing the TCP connection.", + "type": "string" }, - "type": { - "enum": [ - "DIRECT_IPV6", - "ONE_TO_ONE_NAT" - ], - "default": "ONE_TO_ONE_NAT", - "description": "The type of configuration. The default and only option is ONE_TO_ONE_NAT.", + "response": { + "description": "Creates a content-based TCP health check. In addition to establishing a TCP connection, you can configure the health check to pass only when the backend sends this exact response ASCII string, up to 1024 bytes in length. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-ssl-tcp", + "type": "string" + }, + "proxyHeader": { + "description": "Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.", "type": "string", "enumDescriptions": [ "", "" + ], + "enum": [ + "NONE", + "PROXY_V1" ] + } + } + }, + "SSLHealthCheck": { + "id": "SSLHealthCheck", + "type": "object", + "properties": { + "port": { + "description": "The TCP port number to which the health check prober sends packets. The default value is 443. Valid values are 1 through 65535.", + "type": "integer", + "format": "int32" }, - "natIP": { + "portName": { + "description": "Not supported.", + "type": "string" + }, + "portSpecification": { + "description": "Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for passthrough load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for passthrough load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports.", "type": "string", - "description": "An external IP address associated with this instance. Specify an unused static external IP address available to the project or leave this field undefined to use an IP from a shared ephemeral IP address pool. If you specify a static external IP address, it must live in the same region as the zone of the instance." + "enumDescriptions": [ + "The port number in the health check's port is used for health checking. Applies to network endpoint group and instance group backends.", + "Not supported.", + "For network endpoint group backends, the health check uses the port number specified on each endpoint in the network endpoint group. For instance group backends, the health check uses the port number specified for the backend service's named port defined in the instance group's named ports." + ], + "enum": [ + "USE_FIXED_PORT", + "USE_NAMED_PORT", + "USE_SERVING_PORT" + ] }, - "externalIpv6": { + "request": { + "description": "Instructs the health check prober to send this exact ASCII string, up to 1024 bytes in length, after establishing the TCP connection and SSL handshake.", + "type": "string" + }, + "response": { + "description": "Creates a content-based SSL health check. In addition to establishing a TCP connection and the TLS handshake, you can configure the health check to pass only when the backend sends this exact response ASCII string, up to 1024 bytes in length. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-ssl-tcp", + "type": "string" + }, + "proxyHeader": { + "description": "Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.", "type": "string", - "description": "The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. The field is output only, an IPv6 address from a subnetwork associated with the instance will be allocated dynamically." + "enumDescriptions": [ + "", + "" + ], + "enum": [ + "NONE", + "PROXY_V1" + ] } - }, - "description": "An access configuration attached to an instance's network interface. Only one access config per instance is supported.", - "type": "object" + } }, - "NetworkEndpointGroup": { + "HTTPHealthCheck": { + "id": "HTTPHealthCheck", + "type": "object", "properties": { - "subnetwork": { - "description": "Optional URL of the subnetwork to which all network endpoints in the NEG belong.", + "port": { + "description": "The TCP port number to which the health check prober sends packets. The default value is 80. Valid values are 1 through 65535.", + "type": "integer", + "format": "int32" + }, + "portName": { + "description": "Not supported.", "type": "string" }, - "cloudFunction": { - "$ref": "NetworkEndpointGroupCloudFunction", - "description": "Only valid when networkEndpointType is \"SERVERLESS\". Only one of cloudRun, appEngine or cloudFunction may be set." + "portSpecification": { + "description": "Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for passthrough load balancers and backend services for proxy load balancers. Also supported in legacy HTTP health checks for target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports.", + "type": "string", + "enumDescriptions": [ + "The port number in the health check's port is used for health checking. Applies to network endpoint group and instance group backends.", + "Not supported.", + "For network endpoint group backends, the health check uses the port number specified on each endpoint in the network endpoint group. For instance group backends, the health check uses the port number specified for the backend service's named port defined in the instance group's named ports." + ], + "enum": [ + "USE_FIXED_PORT", + "USE_NAMED_PORT", + "USE_SERVING_PORT" + ] }, - "kind": { - "default": "compute#networkEndpointGroup", - "description": "[Output Only] Type of the resource. Always compute#networkEndpointGroup for network endpoint group.", + "host": { + "description": "The value of the host header in the HTTP health check request. If left empty (default value), the host header is set to the destination IP address to which health check packets are sent. The destination IP address depends on the type of load balancer. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#hc-packet-dest", "type": "string" }, - "creationTimestamp": { - "type": "string", - "description": "[Output Only] Creation timestamp in RFC3339 text format." + "requestPath": { + "description": "The request path of the HTTP health check request. The default value is /.", + "type": "string" }, - "networkEndpointType": { - "description": "Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT.", - "enum": [ - "GCE_VM_IP", - "GCE_VM_IP_PORT", - "INTERNET_FQDN_PORT", - "INTERNET_IP_PORT", - "NON_GCP_PRIVATE_IP_PORT", - "PRIVATE_SERVICE_CONNECT", - "SERVERLESS" - ], + "proxyHeader": { + "description": "Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.", + "type": "string", "enumDescriptions": [ - "The network endpoint is represented by an IP address.", - "The network endpoint is represented by IP address and port pair.", - "The network endpoint is represented by fully qualified domain name and port.", - "The network endpoint is represented by an internet IP address and port.", - "The network endpoint is represented by an IP address and port. The endpoint belongs to a VM or pod running in a customer's on-premises.", - "The network endpoint is either public Google APIs or services exposed by other GCP Project with a Service Attachment. The connection is set up by private service connect", - "The network endpoint is handled by specified serverless infrastructure." + "", + "" ], + "enum": [ + "NONE", + "PROXY_V1" + ] + }, + "response": { + "description": "Creates a content-based HTTP health check. In addition to the required HTTP 200 (OK) status code, you can configure the health check to pass only when the backend sends this specific ASCII response string within the first 1024 bytes of the HTTP response body. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-http", "type": "string" + } + } + }, + "HTTPSHealthCheck": { + "id": "HTTPSHealthCheck", + "type": "object", + "properties": { + "port": { + "description": "The TCP port number to which the health check prober sends packets. The default value is 443. Valid values are 1 through 65535.", + "type": "integer", + "format": "int32" }, - "pscData": { - "$ref": "NetworkEndpointGroupPscData" + "portName": { + "description": "Not supported.", + "type": "string" }, - "cloudRun": { - "$ref": "NetworkEndpointGroupCloudRun", - "description": "Only valid when networkEndpointType is \"SERVERLESS\". Only one of cloudRun, appEngine or cloudFunction may be set." + "portSpecification": { + "description": "Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for passthrough load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for passthrough load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports.", + "type": "string", + "enumDescriptions": [ + "The port number in the health check's port is used for health checking. Applies to network endpoint group and instance group backends.", + "Not supported.", + "For network endpoint group backends, the health check uses the port number specified on each endpoint in the network endpoint group. For instance group backends, the health check uses the port number specified for the backend service's named port defined in the instance group's named ports." + ], + "enum": [ + "USE_FIXED_PORT", + "USE_NAMED_PORT", + "USE_SERVING_PORT" + ] }, - "id": { - "format": "uint64", - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", + "host": { + "description": "The value of the host header in the HTTPS health check request. If left empty (default value), the host header is set to the destination IP address to which health check packets are sent. The destination IP address depends on the type of load balancer. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#hc-packet-dest", "type": "string" }, - "name": { - "type": "string", - "description": "Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash." + "requestPath": { + "description": "The request path of the HTTPS health check request. The default value is /.", + "type": "string" }, - "pscTargetService": { + "proxyHeader": { + "description": "Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.", "type": "string", - "description": "The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment. An example value is: \"asia-northeast3-cloudkms.googleapis.com\"" + "enumDescriptions": [ + "", + "" + ], + "enum": [ + "NONE", + "PROXY_V1" + ] }, - "region": { - "description": "[Output Only] The URL of the region where the network endpoint group is located.", + "response": { + "description": "Creates a content-based HTTPS health check. In addition to the required HTTP 200 (OK) status code, you can configure the health check to pass only when the backend sends this specific ASCII response string within the first 1024 bytes of the HTTP response body. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-http", "type": "string" + } + } + }, + "HTTP2HealthCheck": { + "id": "HTTP2HealthCheck", + "type": "object", + "properties": { + "port": { + "description": "The TCP port number to which the health check prober sends packets. The default value is 443. Valid values are 1 through 65535.", + "type": "integer", + "format": "int32" }, - "zone": { - "description": "[Output Only] The URL of the zone where the network endpoint group is located.", + "portName": { + "description": "Not supported.", "type": "string" }, - "annotations": { - "additionalProperties": { - "type": "string" - }, - "type": "object", - "description": "Metadata defined as annotations on the network endpoint group." - }, - "selfLink": { + "portSpecification": { + "description": "Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for passthrough load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for passthrough load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports.", "type": "string", - "description": "[Output Only] Server-defined URL for the resource." + "enumDescriptions": [ + "The port number in the health check's port is used for health checking. Applies to network endpoint group and instance group backends.", + "Not supported.", + "For network endpoint group backends, the health check uses the port number specified on each endpoint in the network endpoint group. For instance group backends, the health check uses the port number specified for the backend service's named port defined in the instance group's named ports." + ], + "enum": [ + "USE_FIXED_PORT", + "USE_NAMED_PORT", + "USE_SERVING_PORT" + ] }, - "network": { - "description": "The URL of the network to which all network endpoints in the NEG belong. Uses \"default\" project network if unspecified.", + "host": { + "description": "The value of the host header in the HTTP/2 health check request. If left empty (default value), the host header is set to the destination IP address to which health check packets are sent. The destination IP address depends on the type of load balancer. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#hc-packet-dest", "type": "string" }, - "description": { - "type": "string", - "description": "An optional description of this resource. Provide this property when you create the resource." + "requestPath": { + "description": "The request path of the HTTP/2 health check request. The default value is /.", + "type": "string" }, - "size": { - "description": "[Output only] Number of network endpoints in the network endpoint group.", - "format": "int32", - "type": "integer" + "proxyHeader": { + "description": "Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.", + "type": "string", + "enumDescriptions": [ + "", + "" + ], + "enum": [ + "NONE", + "PROXY_V1" + ] }, - "defaultPort": { + "response": { + "description": "Creates a content-based HTTP/2 health check. In addition to the required HTTP 200 (OK) status code, you can configure the health check to pass only when the backend sends this specific ASCII response string within the first 1024 bytes of the HTTP response body. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-http", + "type": "string" + } + } + }, + "GRPCHealthCheck": { + "id": "GRPCHealthCheck", + "type": "object", + "properties": { + "port": { + "description": "The TCP port number to which the health check prober sends packets. Valid values are 1 through 65535.", "type": "integer", - "description": "The default port used if the port number is not specified in the network endpoint.", "format": "int32" }, - "appEngine": { - "description": "Only valid when networkEndpointType is \"SERVERLESS\". Only one of cloudRun, appEngine or cloudFunction may be set.", - "$ref": "NetworkEndpointGroupAppEngine" + "portName": { + "description": "Not supported.", + "type": "string" + }, + "portSpecification": { + "description": "Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for passthrough load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for passthrough load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports.", + "type": "string", + "enumDescriptions": [ + "The port number in the health check's port is used for health checking. Applies to network endpoint group and instance group backends.", + "Not supported.", + "For network endpoint group backends, the health check uses the port number specified on each endpoint in the network endpoint group. For instance group backends, the health check uses the port number specified for the backend service's named port defined in the instance group's named ports." + ], + "enum": [ + "USE_FIXED_PORT", + "USE_NAMED_PORT", + "USE_SERVING_PORT" + ] + }, + "grpcServiceName": { + "description": "The gRPC service name for the health check. This field is optional. The value of grpc_service_name has the following meanings by convention: - Empty service_name means the overall status of all services at the backend. - Non-empty service_name means the health of that gRPC service, as defined by the owner of the service. The grpc_service_name can only be ASCII.", + "type": "string" } - }, - "type": "object", - "id": "NetworkEndpointGroup", - "description": "Represents a collection of network endpoints. A network endpoint group (NEG) defines how a set of endpoints should be reached, whether they are reachable, and where they are located. For more information about using NEGs, see Setting up external HTTP(S) Load Balancing with internet NEGs, Setting up zonal NEGs, or Setting up external HTTP(S) Load Balancing with serverless NEGs." + } }, - "StatefulPolicy": { - "id": "StatefulPolicy", + "HealthCheckLogConfig": { + "id": "HealthCheckLogConfig", + "description": "Configuration of logging on a health check. If logging is enabled, logs will be exported to Stackdriver.", "type": "object", "properties": { - "preservedState": { - "$ref": "StatefulPolicyPreservedState" + "enable": { + "description": "Indicates whether or not to export logs. This is false by default, which means no health check logging will be done.", + "type": "boolean" } } }, "HealthChecksAggregatedList": { + "id": "HealthChecksAggregatedList", + "type": "object", "properties": { + "kind": { + "description": "Type of resource.", + "default": "compute#healthChecksAggregatedList", + "type": "string" + }, "id": { "description": "[Output Only] Unique identifier for the resource; defined by the server.", "type": "string" }, + "items": { + "description": "A list of HealthChecksScopedList resources.", + "type": "object", + "additionalProperties": { + "description": "Name of the scope containing this set of HealthChecks.", + "$ref": "HealthChecksScopedList" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, "code": { "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", "type": "string", @@ -18712,6 +19336,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -18730,6 +19355,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -18741,6 +19396,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -18760,77 +19416,52 @@ "UNREACHABLE" ] }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, "data": { "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", "type": "array", "items": { + "type": "object", "properties": { - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - }, "key": { "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" } - }, - "type": "object" + } } } - }, - "type": "object", - "description": "[Output Only] Informational warning message." - }, - "kind": { - "default": "compute#healthChecksAggregatedList", - "description": "Type of resource.", - "type": "string" - }, - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", - "type": "string" - }, - "items": { - "type": "object", - "additionalProperties": { - "$ref": "HealthChecksScopedList", - "description": "Name of the scope containing this set of HealthChecks." - }, - "description": "A list of HealthChecksScopedList resources." + } }, "unreachables": { + "description": "[Output Only] Unreachable resources.", + "type": "array", "items": { "type": "string" - }, - "description": "[Output Only] Unreachable resources.", - "type": "array" - }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." + } } - }, - "type": "object", - "id": "HealthChecksAggregatedList" + } }, - "NodeGroupList": { + "HealthChecksScopedList": { + "id": "HealthChecksScopedList", "type": "object", "properties": { - "kind": { - "default": "compute#nodeGroupList", - "description": "[Output Only] Type of resource.Always compute#nodeGroupList for lists of node groups.", - "type": "string" - }, - "items": { - "description": "A list of NodeGroup resources.", + "healthChecks": { + "description": "A list of HealthChecks contained in this scope.", + "type": "array", "items": { - "$ref": "NodeGroup" - }, - "type": "array" + "$ref": "HealthCheck" + } }, "warning": { + "description": "Informational warning which replaces the list of backend services when the list is empty.", "type": "object", - "description": "[Output Only] Informational warning message.", "properties": { "code": { "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", @@ -18846,6 +19477,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -18864,6 +19496,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -18875,6 +19537,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -18894,61 +19557,67 @@ "UNREACHABLE" ] }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", "items": { + "type": "object", "properties": { - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - }, "key": { "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" } - }, - "type": "object" - }, - "type": "array", - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } " - }, - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." + } + } } } - }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." - }, - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." - }, - "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", - "type": "string" } - }, - "id": "NodeGroupList", - "description": "Contains a list of nodeGroups." + } }, - "BackendServicesScopedList": { + "HttpHealthCheckList": { + "id": "HttpHealthCheckList", + "description": "Contains a list of HttpHealthCheck resources.", "type": "object", - "id": "BackendServicesScopedList", "properties": { - "backendServices": { - "items": { - "$ref": "BackendService" - }, + "kind": { + "description": "Type of resource.", + "default": "compute#httpHealthCheckList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of HttpHealthCheck resources.", "type": "array", - "description": "A list of BackendServices contained in this scope." + "items": { + "$ref": "HttpHealthCheck" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" }, "warning": { + "description": "[Output Only] Informational warning message.", "type": "object", - "description": "Informational warning which replaces the list of backend services when the list is empty.", "properties": { "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -18960,6 +19629,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -18978,6 +19648,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -18989,6 +19689,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -19006,8 +19707,10 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", "type": "string" }, "data": { @@ -19017,205 +19720,123 @@ "type": "object", "properties": { "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" }, "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" } } } - }, - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" } } } } }, - "HttpFaultAbort": { + "HttpHealthCheck": { + "id": "HttpHealthCheck", + "description": "Represents a legacy HTTP Health Check resource. Legacy HTTP health checks are now only required by target pool-based network load balancers. For all other load balancers, including backend service-based network load balancers, and for managed instance group auto-healing, you must use modern (non-legacy) health checks. For more information, see Health checks overview .", "type": "object", - "id": "HttpFaultAbort", - "description": "Specification for how requests are aborted as part of fault injection.", - "properties": { - "httpStatus": { - "format": "uint32", - "description": "The HTTP status code used to abort the request. The value must be from 200 to 599 inclusive. For gRPC protocol, the gRPC status code is mapped to HTTP status code according to this mapping table. HTTP status 200 is mapped to gRPC status UNKNOWN. Injecting an OK status is currently not supported by Traffic Director.", - "type": "integer" - }, - "percentage": { - "format": "double", - "type": "number", - "description": "The percentage of traffic for connections, operations, or requests that is aborted as part of fault injection. The value must be from 0.0 to 100.0 inclusive." - } - } - }, - "NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy": { "properties": { - "displayName": { - "description": "[Output Only] Deprecated, please use short name instead. The display name of the firewall policy.", + "kind": { + "description": "[Output Only] Type of the resource. Always compute#httpHealthCheck for HTTP health checks.", + "default": "compute#httpHealthCheck", "type": "string" }, - "rules": { - "items": { - "$ref": "FirewallPolicyRule" - }, - "type": "array", - "description": "The rules that apply to the network." + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", + "type": "string", + "format": "uint64" }, - "name": { - "description": "[Output Only] The name of the firewall policy.", + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", "type": "string" }, - "type": { - "enum": [ - "HIERARCHY", - "NETWORK", - "UNSPECIFIED" - ], - "enumDescriptions": [ - "", - "", - "" - ], - "description": "[Output Only] The type of the firewall policy.", + "name": { + "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "type": "string" }, - "shortName": { - "description": "[Output Only] The short name of the firewall policy.", + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource.", "type": "string" - } - }, - "type": "object", - "id": "NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy" - }, - "WeightedBackendService": { - "properties": { - "weight": { - "format": "uint32", - "type": "integer", - "description": "Specifies the fraction of traffic sent to a backend service, computed as weight / (sum of all weightedBackendService weights in routeAction) . The selection of a backend service is determined only for new traffic. Once a user's request has been directed to a backend service, subsequent requests are sent to the same backend service as determined by the backend service's session affinity policy. The value must be from 0 to 1000." - }, - "headerAction": { - "$ref": "HttpHeaderAction", - "description": "Specifies changes to request and response headers that need to take effect for the selected backendService. headerAction specified here take effect before headerAction in the enclosing HttpRouteRule, PathMatcher and UrlMap. headerAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true." - }, - "backendService": { - "type": "string", - "description": "The full or partial URL to the default BackendService resource. Before forwarding the request to backendService, the load balancer applies any relevant headerActions specified as part of this backendServiceWeight." - } - }, - "description": "In contrast to a single BackendService in HttpRouteAction to which all matching traffic is directed to, WeightedBackendService allows traffic to be split across multiple backend services. The volume of traffic for each backend service is proportional to the weight specified in each WeightedBackendService", - "type": "object", - "id": "WeightedBackendService" - }, - "TargetGrpcProxy": { - "properties": { - "kind": { - "description": "[Output Only] Type of the resource. Always compute#targetGrpcProxy for target grpc proxies.", - "type": "string", - "default": "compute#targetGrpcProxy" }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for the resource." - }, - "urlMap": { - "type": "string", - "description": "URL to the UrlMap resource that defines the mapping from URL to the BackendService. The protocol field in the BackendService must be set to GRPC." + "host": { + "description": "The value of the host header in the HTTP health check request. If left empty (default value), the public IP on behalf of which this health check is performed will be used.", + "type": "string" }, - "fingerprint": { - "type": "string", - "format": "byte", - "description": "Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a TargetGrpcProxy. An up-to-date fingerprint must be provided in order to patch/update the TargetGrpcProxy; otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the TargetGrpcProxy." + "requestPath": { + "description": "The request path of the HTTP health check request. The default value is /. This field does not support query parameters. Must comply with RFC3986.", + "type": "string" }, - "selfLinkWithId": { - "type": "string", - "description": "[Output Only] Server-defined URL with id for the resource." + "port": { + "description": "The TCP port number for the HTTP health check request. The default value is 80.", + "type": "integer", + "format": "int32" }, - "validateForProxyless": { - "type": "boolean", - "description": "If true, indicates that the BackendServices referenced by the urlMap may be accessed by gRPC applications without using a sidecar proxy. This will enable configuration checks on urlMap and its referenced BackendServices to not allow unsupported features. A gRPC application must use \"xds:///\" scheme in the target URI of the service it is connecting to. If false, indicates that the BackendServices referenced by the urlMap will be accessed by gRPC applications via a sidecar proxy. In this case, a gRPC application must not use \"xds:///\" scheme in the target URI of the service it is connecting to" + "checkIntervalSec": { + "description": "How often (in seconds) to send a health check. The default value is 5 seconds.", + "type": "integer", + "format": "int32" }, - "creationTimestamp": { - "type": "string", - "description": "[Output Only] Creation timestamp in RFC3339 text format." + "timeoutSec": { + "description": "How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have greater value than checkIntervalSec.", + "type": "integer", + "format": "int32" }, - "id": { - "type": "string", - "description": "[Output Only] The unique identifier for the resource type. The server generates this identifier.", - "format": "uint64" + "unhealthyThreshold": { + "description": "A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.", + "type": "integer", + "format": "int32" }, - "description": { - "type": "string", - "description": "An optional description of this resource. Provide this property when you create the resource." + "healthyThreshold": { + "description": "A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.", + "type": "integer", + "format": "int32" }, - "name": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "annotations": { - "required": [ - "compute.targetGrpcProxies.insert" - ] - }, - "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", "type": "string" } - }, - "id": "TargetGrpcProxy", - "type": "object", - "description": "Represents a Target gRPC Proxy resource. A target gRPC proxy is a component of load balancers intended for load balancing gRPC traffic. Only global forwarding rules with load balancing scheme INTERNAL_SELF_MANAGED can reference a target gRPC proxy. The target gRPC Proxy references a URL map that specifies how traffic is routed to gRPC backend services." + } }, - "UrlMapsAggregatedList": { - "id": "UrlMapsAggregatedList", + "HttpsHealthCheckList": { + "id": "HttpsHealthCheckList", + "description": "Contains a list of HttpsHealthCheck resources.", + "type": "object", "properties": { "kind": { - "type": "string", - "default": "compute#urlMapsAggregatedList", - "description": "Type of resource." + "description": "Type of resource.", + "default": "compute#httpsHealthCheckList", + "type": "string" }, "id": { "description": "[Output Only] Unique identifier for the resource; defined by the server.", "type": "string" }, "items": { - "type": "object", - "description": "A list of UrlMapsScopedList resources.", - "additionalProperties": { - "$ref": "UrlMapsScopedList", - "description": "Name of the scope containing this set of UrlMaps." + "description": "A list of HttpsHealthCheck resources.", + "type": "array", + "items": { + "$ref": "HttpsHealthCheck" } }, - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", - "type": "string" - }, "nextPageToken": { "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", "type": "string" }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, "warning": { + "description": "[Output Only] Informational warning message.", "type": "object", "properties": { - "data": { - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "type": "array", - "items": { - "type": "object", - "properties": { - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - }, - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - } - } - } - }, "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -19227,6 +19848,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -19245,8 +19867,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "type": "string", - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -19258,6 +19908,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -19280,109 +19931,131 @@ "message": { "description": "[Output Only] A human-readable description of the warning code.", "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } } - }, - "description": "[Output Only] Informational warning message." - }, - "unreachables": { - "description": "[Output Only] Unreachable resources.", - "type": "array", - "items": { - "type": "string" } } - }, - "type": "object" + } }, - "AuditConfig": { - "id": "AuditConfig", - "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.", + "HttpsHealthCheck": { + "id": "HttpsHealthCheck", + "description": "Represents a legacy HTTPS Health Check resource. Legacy HTTPS health checks have been deprecated. If you are using a target pool-based network load balancer, you must use a legacy HTTP (not HTTPS) health check. For all other load balancers, including backend service-based network load balancers, and for managed instance group auto-healing, you must use modern (non-legacy) health checks. For more information, see Health checks overview .", "type": "object", "properties": { - "exemptedMembers": { - "items": { - "type": "string" - }, - "description": "This is deprecated and has no effect. Do not use.", - "type": "array" + "kind": { + "description": "Type of the resource.", + "default": "compute#httpsHealthCheck", + "type": "string" }, - "service": { + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", "type": "string", - "description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services." + "format": "uint64" }, - "auditLogConfigs": { - "type": "array", - "description": "The configuration for logging of each type of permission.", - "items": { - "$ref": "AuditLogConfig" - } - } - } - }, - "InstanceGroupManagersApplyUpdatesRequest": { - "type": "object", - "description": "InstanceGroupManagers.applyUpdatesToInstances", - "properties": { - "allInstances": { - "description": "Flag to update all instances instead of specified list of “instances”. If the flag is set to true then the instances may not be specified in the request.", - "type": "boolean" + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" }, - "minimalAction": { - "enumDescriptions": [ - "Do not perform any action.", - "Updates applied in runtime, instances will not be disrupted.", - "Old instances will be deleted. New instances will be created from the target template.", - "Every instance will be restarted." - ], - "enum": [ - "NONE", - "REFRESH", - "REPLACE", - "RESTART" - ], - "description": "The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update.", + "name": { + "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "type": "string" }, - "mostDisruptiveAllowedAction": { - "description": "The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail.", - "enumDescriptions": [ - "Do not perform any action.", - "Updates applied in runtime, instances will not be disrupted.", - "Old instances will be deleted. New instances will be created from the target template.", - "Every instance will be restarted." - ], - "type": "string", - "enum": [ - "NONE", - "REFRESH", - "REPLACE", - "RESTART" - ] + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource.", + "type": "string" }, - "instances": { - "description": "The list of URLs of one or more instances for which you want to apply updates. Each URL can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].", - "items": { - "type": "string" - }, - "type": "array" + "host": { + "description": "The value of the host header in the HTTPS health check request. If left empty (default value), the public IP on behalf of which this health check is performed will be used.", + "type": "string" + }, + "requestPath": { + "description": "The request path of the HTTPS health check request. The default value is \"/\". Must comply with RFC3986.", + "type": "string" + }, + "port": { + "description": "The TCP port number for the HTTPS health check request. The default value is 443.", + "type": "integer", + "format": "int32" + }, + "checkIntervalSec": { + "description": "How often (in seconds) to send a health check. The default value is 5 seconds.", + "type": "integer", + "format": "int32" + }, + "timeoutSec": { + "description": "How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have a greater value than checkIntervalSec.", + "type": "integer", + "format": "int32" + }, + "unhealthyThreshold": { + "description": "A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.", + "type": "integer", + "format": "int32" + }, + "healthyThreshold": { + "description": "A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.", + "type": "integer", + "format": "int32" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", + "type": "string" } - }, - "id": "InstanceGroupManagersApplyUpdatesRequest" + } }, - "ResourcePoliciesScopedList": { - "id": "ResourcePoliciesScopedList", + "InstanceTemplateList": { + "id": "InstanceTemplateList", + "description": "A list of instance templates.", "type": "object", "properties": { - "resourcePolicies": { - "description": "A list of resourcePolicies contained in this scope.", + "kind": { + "description": "[Output Only] The resource type, which is always compute#instanceTemplatesListResponse for instance template lists.", + "default": "compute#instanceTemplateList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of InstanceTemplate resources.", "type": "array", "items": { - "$ref": "ResourcePolicy" + "$ref": "InstanceTemplate" } }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -19394,6 +20067,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -19412,8 +20086,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "type": "string", - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -19425,6 +20127,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -19449,111 +20152,173 @@ "type": "string" }, "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", "type": "array", "items": { + "type": "object", "properties": { "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" }, "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" } - }, - "type": "object" - }, - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } " + } + } } - }, - "description": "Informational warning which replaces the list of resourcePolicies when the list is empty.", - "type": "object" + } } } }, - "Expr": { - "description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() \u003c 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", - "id": "Expr", + "InstanceTemplate": { + "id": "InstanceTemplate", + "description": "Represents an Instance Template resource. Google Compute Engine has two Instance Template resources: * [Global](/compute/docs/reference/rest/v1/instanceTemplates) * [Regional](/compute/docs/reference/rest/v1/regionInstanceTemplates) You can reuse a global instance template in different regions whereas you can use a regional instance template in a specified region only. If you want to reduce cross-region dependency or achieve data residency, use a regional instance template. To create VMs, managed instance groups, and reservations, you can use either global or regional instance templates. For more information, read Instance Templates.", + "type": "object", "properties": { - "description": { - "description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", + "kind": { + "description": "[Output Only] The resource type, which is always compute#instanceTemplate for instance templates.", + "default": "compute#instanceTemplate", "type": "string" }, - "title": { + "id": { + "description": "[Output Only] A unique identifier for this instance template. The server defines this identifier.", "type": "string", - "description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression." + "format": "uint64" }, - "expression": { - "type": "string", - "description": "Textual representation of an expression in Common Expression Language syntax." + "creationTimestamp": { + "description": "[Output Only] The creation timestamp for this instance template in RFC3339 text format.", + "type": "string" }, - "location": { - "description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", + "name": { + "description": "Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "annotations": { + "required": [ + "compute.instanceTemplates.insert" + ] + }, + "type": "string" + }, + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource.", + "type": "string" + }, + "properties": { + "description": "The instance properties for this instance template.", + "$ref": "InstanceProperties" + }, + "selfLink": { + "description": "[Output Only] The URL for this instance template. The server defines this URL.", + "type": "string" + }, + "sourceInstance": { + "description": "The source instance used to create the template. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /instances/instance - projects/project/zones/zone/instances/instance ", + "type": "string" + }, + "sourceInstanceParams": { + "description": "The source instance params to use to create this instance template.", + "$ref": "SourceInstanceParams" + }, + "region": { + "description": "[Output Only] URL of the region where the instance template resides. Only applicable for regional resources.", "type": "string" } - }, - "type": "object" + } }, - "MetadataFilter": { - "id": "MetadataFilter", + "SourceInstanceParams": { + "id": "SourceInstanceParams", + "description": "A specification of the parameters to use when creating the instance template from a source instance.", + "type": "object", "properties": { - "filterLabels": { + "diskConfigs": { + "description": "Attached disks configuration. If not provided, defaults are applied: For boot disk and any other R/W disks, the source images for each disk will be used. For read-only disks, they will be attached in read-only mode. Local SSD disks will be created as blank volumes.", + "type": "array", "items": { - "$ref": "MetadataFilterLabelMatch" - }, - "description": "The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list must not be empty and can have at the most 64 entries.", - "type": "array" - }, - "filterMatchCriteria": { - "enum": [ - "MATCH_ALL", - "MATCH_ANY", - "NOT_SET" - ], - "description": "Specifies how individual filter label matches within the list of filterLabels and contributes toward the overall metadataFilter match. Supported values are: - MATCH_ANY: at least one of the filterLabels must have a matching label in the provided metadata. - MATCH_ALL: all filterLabels must have matching labels in the provided metadata. ", - "enumDescriptions": [ - "Specifies that all filterLabels must match for the metadataFilter to be considered a match.", - "Specifies that any filterLabel must match for the metadataFilter to be considered a match.", - "Indicates that the match criteria was not set. A metadataFilter must never be created with this value." - ], - "type": "string" + "$ref": "DiskInstantiationConfig" + } } - }, - "description": "Opaque filter criteria used by load balancers to restrict routing configuration to a limited set of load balancing proxies. Proxies and sidecars involved in load balancing would typically present metadata to the load balancers that need to match criteria specified here. If a match takes place, the relevant configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. An example for using metadataFilters would be: if load balancing involves Envoys, they receive routing configuration when values in metadataFilters match values supplied in of their XDS requests to loadbalancers.", - "type": "object" + } }, - "InterconnectDiagnosticsARPEntry": { + "DiskInstantiationConfig": { + "id": "DiskInstantiationConfig", + "description": "A specification of the desired way to instantiate a disk in the instance template when its created from a source instance.", "type": "object", - "id": "InterconnectDiagnosticsARPEntry", "properties": { - "ipAddress": { + "deviceName": { + "description": "Specifies the device name of the disk to which the configurations apply to.", + "type": "string" + }, + "instantiateFrom": { + "description": "Specifies whether to include the disk and what image to use. Possible values are: - source-image: to use the same image that was used to create the source instance's corresponding disk. Applicable to the boot disk and additional read-write disks. - source-image-family: to use the same image family that was used to create the source instance's corresponding disk. Applicable to the boot disk and additional read-write disks. - custom-image: to use a user-provided image url for disk creation. Applicable to the boot disk and additional read-write disks. - attach-read-only: to attach a read-only disk. Applicable to read-only disks. - do-not-include: to exclude a disk from the template. Applicable to additional read-write disks, local SSDs, and read-only disks. ", "type": "string", - "description": "The IP address of this ARP neighbor." + "enumDescriptions": [ + "Attach the existing disk in read-only mode. The request will fail if the disk was attached in read-write mode on the source instance. Applicable to: read-only disks.", + "Create a blank disk. The disk will be created unformatted. Applicable to: additional read-write disks, local SSDs.", + "Use the custom image specified in the custom_image field. Applicable to: boot disk, additional read-write disks.", + "Use the default instantiation option for the corresponding type of disk. For boot disk and any other R/W disks, new custom images will be created from each disk. For read-only disks, they will be attached in read-only mode. Local SSD disks will be created as blank volumes.", + "Do not include the disk in the instance template. Applicable to: additional read-write disks, local SSDs, read-only disks.", + "Use the same source image used for creation of the source instance's corresponding disk. The request will fail if the source VM's disk was created from a snapshot. Applicable to: boot disk, additional read-write disks.", + "Use the same source image family used for creation of the source instance's corresponding disk. The request will fail if the source image of the source disk does not belong to any image family. Applicable to: boot disk, additional read-write disks." + ], + "enum": [ + "ATTACH_READ_ONLY", + "BLANK", + "CUSTOM_IMAGE", + "DEFAULT", + "DO_NOT_INCLUDE", + "SOURCE_IMAGE", + "SOURCE_IMAGE_FAMILY" + ] }, - "macAddress": { - "description": "The MAC address of this ARP neighbor.", + "autoDelete": { + "description": "Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).", + "type": "boolean" + }, + "customImage": { + "description": "The custom source image to be used to restore this disk when instantiating this instance template.", "type": "string" } - }, - "description": "Describing the ARP neighbor entries seen on this link" - }, - "SecurityPoliciesListPreconfiguredExpressionSetsResponse": { - "id": "SecurityPoliciesListPreconfiguredExpressionSetsResponse", - "properties": { - "preconfiguredExpressionSets": { - "$ref": "SecurityPoliciesWafConfig" - } - }, - "type": "object" + } }, - "SslPoliciesScopedList": { + "InstanceTemplateAggregatedList": { + "id": "InstanceTemplateAggregatedList", + "description": "Contains a list of InstanceTemplatesScopedList.", "type": "object", "properties": { + "kind": { + "description": "Type of resource.", + "default": "compute#instanceTemplateAggregatedList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of InstanceTemplatesScopedList resources.", + "type": "object", + "additionalProperties": { + "description": "The name of the scope that contains this set of instance templates.", + "$ref": "InstanceTemplatesScopedList" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, "warning": { + "description": "[Output Only] Informational warning message.", "type": "object", - "description": "Informational warning which replaces the list of SSL policies when the list is empty.", "properties": { "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -19565,6 +20330,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -19583,8 +20349,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "type": "string", + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -19596,6 +20390,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -19615,82 +20410,49 @@ "UNREACHABLE" ] }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, "data": { "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", "items": { + "type": "object", "properties": { - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - }, "key": { "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" } - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" + } + } } } - }, - "sslPolicies": { - "items": { - "$ref": "SslPolicy" - }, - "type": "array", - "description": "A list of SslPolicies contained in this scope." - } - }, - "id": "SslPoliciesScopedList" - }, - "UrlMapTestHeader": { - "id": "UrlMapTestHeader", - "type": "object", - "description": "HTTP headers used in UrlMapTests.", - "properties": { - "value": { - "description": "Header value.", - "type": "string" - }, - "name": { - "type": "string", - "description": "Header name." - } - } - }, - "RegionInstanceGroupManagersAbandonInstancesRequest": { - "type": "object", - "id": "RegionInstanceGroupManagersAbandonInstancesRequest", - "properties": { - "instances": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The URLs of one or more instances to abandon. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]." } } }, - "NodeGroupsListNodes": { + "InstanceTemplatesScopedList": { + "id": "InstanceTemplatesScopedList", "type": "object", "properties": { - "items": { - "description": "A list of Node resources.", + "instanceTemplates": { + "description": "[Output Only] A list of instance templates that are contained within the specified project and zone.", "type": "array", "items": { - "$ref": "NodeGroupNode" + "$ref": "InstanceTemplate" } }, "warning": { + "description": "[Output Only] An informational warning that replaces the list of instance templates when the list is empty.", "type": "object", - "description": "[Output Only] Informational warning message.", "properties": { "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -19702,6 +20464,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -19720,7 +20483,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -19732,6 +20524,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -19749,271 +20542,68 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], - "type": "string" + ] }, "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" }, "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", "items": { + "type": "object", "properties": { - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - }, "key": { "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" } - }, - "type": "object" - }, - "type": "array", - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } " + } + } } } - }, - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", - "type": "string" - }, - "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." - }, - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", - "type": "string" - }, - "kind": { - "description": "[Output Only] The resource type, which is always compute.nodeGroupsListNodes for the list of nodes in the specified node group.", - "default": "compute#nodeGroupsListNodes", - "type": "string" } - }, - "id": "NodeGroupsListNodes" + } }, - "BfdPacket": { - "id": "BfdPacket", + "InterconnectAttachmentList": { + "id": "InterconnectAttachmentList", + "description": "Response to the list request, and contains a list of interconnect attachments.", "type": "object", "properties": { - "multipoint": { - "type": "boolean", - "description": "The multipoint bit of the BFD packet. This is specified in section 4.1 of RFC5880" - }, - "length": { - "type": "integer", - "description": "The length of the BFD Control packet in bytes. This is specified in section 4.1 of RFC5880", - "format": "uint32" - }, - "minEchoRxIntervalMs": { - "description": "The Required Min Echo RX Interval value in the BFD packet. This is specified in section 4.1 of RFC5880", - "format": "uint32", - "type": "integer" - }, - "controlPlaneIndependent": { - "description": "The Control Plane Independent bit of the BFD packet. This is specified in section 4.1 of RFC5880", - "type": "boolean" - }, - "myDiscriminator": { - "description": "The My Discriminator value in the BFD packet. This is specified in section 4.1 of RFC5880", - "format": "uint32", - "type": "integer" - }, - "state": { - "description": "The current BFD session state as seen by the transmitting system. These states are specified in section 4.1 of RFC5880", - "enumDescriptions": [ - "", - "", - "", - "", - "" - ], - "type": "string", - "enum": [ - "ADMIN_DOWN", - "DOWN", - "INIT", - "STATE_UNSPECIFIED", - "UP" - ] - }, - "diagnostic": { - "description": "The diagnostic code specifies the local system's reason for the last change in session state. This allows remote systems to determine the reason that the previous session failed, for example. These diagnostic codes are specified in section 4.1 of RFC5880", - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "type": "string", - "enum": [ - "ADMINISTRATIVELY_DOWN", - "CONCATENATED_PATH_DOWN", - "CONTROL_DETECTION_TIME_EXPIRED", - "DIAGNOSTIC_UNSPECIFIED", - "ECHO_FUNCTION_FAILED", - "FORWARDING_PLANE_RESET", - "NEIGHBOR_SIGNALED_SESSION_DOWN", - "NO_DIAGNOSTIC", - "PATH_DOWN", - "REVERSE_CONCATENATED_PATH_DOWN" - ] - }, - "authenticationPresent": { - "description": "The Authentication Present bit of the BFD packet. This is specified in section 4.1 of RFC5880", - "type": "boolean" - }, - "version": { - "description": "The version number of the BFD protocol, as specified in section 4.1 of RFC5880.", - "format": "uint32", - "type": "integer" - }, - "yourDiscriminator": { - "format": "uint32", - "description": "The Your Discriminator value in the BFD packet. This is specified in section 4.1 of RFC5880", - "type": "integer" - }, - "minTxIntervalMs": { - "format": "uint32", - "type": "integer", - "description": "The Desired Min TX Interval value in the BFD packet. This is specified in section 4.1 of RFC5880" - }, - "minRxIntervalMs": { - "type": "integer", - "description": "The Required Min RX Interval value in the BFD packet. This is specified in section 4.1 of RFC5880", - "format": "uint32" - }, - "demand": { - "description": "The demand bit of the BFD packet. This is specified in section 4.1 of RFC5880", - "type": "boolean" - }, - "poll": { - "type": "boolean", - "description": "The Poll bit of the BFD packet. This is specified in section 4.1 of RFC5880" + "kind": { + "description": "[Output Only] Type of resource. Always compute#interconnectAttachmentList for lists of interconnect attachments.", + "default": "compute#interconnectAttachmentList", + "type": "string" }, - "final": { - "type": "boolean", - "description": "The Final bit of the BFD packet. This is specified in section 4.1 of RFC5880" + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" }, - "multiplier": { - "format": "uint32", - "type": "integer", - "description": "The detection time multiplier of the BFD packet. This is specified in section 4.1 of RFC5880" - } - } - }, - "SecuritySettings": { - "description": "The authentication and authorization settings for a BackendService.", - "id": "SecuritySettings", - "properties": { - "subjectAltNames": { - "description": "Optional. A list of Subject Alternative Names (SANs) that the client verifies during a mutual TLS handshake with an server/endpoint for this BackendService. When the server presents its X.509 certificate to the client, the client inspects the certificate's subjectAltName field. If the field contains one of the specified values, the communication continues. Otherwise, it fails. This additional check enables the client to verify that the server is authorized to run the requested service. Note that the contents of the server certificate's subjectAltName field are configured by the Public Key Infrastructure which provisions server identities. Only applies to a global BackendService with loadBalancingScheme set to INTERNAL_SELF_MANAGED. Only applies when BackendService has an attached clientTlsPolicy with clientCertificate (mTLS mode). Note: This field currently has no impact.", + "items": { + "description": "A list of InterconnectAttachment resources.", + "type": "array", "items": { - "type": "string" - }, - "type": "array" + "$ref": "InterconnectAttachment" + } }, - "clientTlsPolicy": { - "description": "Optional. A URL referring to a networksecurity.ClientTlsPolicy resource that describes how clients should authenticate with this service's backends. clientTlsPolicy only applies to a global BackendService with the loadBalancingScheme set to INTERNAL_SELF_MANAGED. If left blank, communications are not encrypted. Note: This field currently has no impact.", + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", "type": "string" - } - }, - "type": "object" - }, - "TargetVpnGatewayAggregatedList": { - "type": "object", - "id": "TargetVpnGatewayAggregatedList", - "properties": { - "unreachables": { - "items": { - "type": "string" - }, - "description": "[Output Only] Unreachable resources.", - "type": "array" }, "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." - }, - "kind": { - "default": "compute#targetVpnGatewayAggregatedList", - "type": "string", - "description": "[Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways." - }, - "items": { - "additionalProperties": { - "description": "[Output Only] Name of the scope containing this set of target VPN gateways.", - "$ref": "TargetVpnGatewaysScopedList" - }, - "description": "A list of TargetVpnGateway resources.", - "type": "object" - }, - "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" }, "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { - "data": { - "items": { - "type": "object", - "properties": { - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - }, - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - } - } - }, - "type": "array", - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } " - }, - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - }, "code": { - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", @@ -20026,6 +20616,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -20044,65 +20635,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response." - } - }, - "description": "[Output Only] Informational warning message.", - "type": "object" - }, - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." - } - } - }, - "NamedPort": { - "type": "object", - "properties": { - "port": { - "type": "integer", - "format": "int32", - "description": "The port number, which can be a value between 1 and 65535." - }, - "name": { - "description": "The name for this named port. The name must be 1-63 characters long, and comply with RFC1035.", - "type": "string" - } - }, - "description": "The named port. For example: \u003c\"http\", 80\u003e.", - "id": "NamedPort" - }, - "NetworkAttachmentAggregatedList": { - "id": "NetworkAttachmentAggregatedList", - "description": "Contains a list of NetworkAttachmentsScopedList.", - "type": "object", - "properties": { - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", - "type": "string" - }, - "items": { - "type": "object", - "description": "A list of NetworkAttachmentsScopedList resources.", - "additionalProperties": { - "$ref": "NetworkAttachmentsScopedList", - "description": "Name of the scope containing this set of NetworkAttachments." - } - }, - "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." - }, - "kind": { - "default": "compute#networkAttachmentAggregatedList", - "type": "string" - }, - "warning": { - "description": "[Output Only] Informational warning message.", - "type": "object", - "properties": { - "code": { - "type": "string", + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -20114,6 +20676,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -20131,97 +20694,15 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response." - }, - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." + ] }, - "data": { - "type": "array", - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "items": { - "type": "object", - "properties": { - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - }, - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - } - } - } - } - } - }, - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", - "type": "string" - } - } - }, - "ServerBinding": { - "type": "object", - "id": "ServerBinding", - "properties": { - "type": { - "enumDescriptions": [ - "Node may associate with any physical server over its lifetime.", - "Node may associate with minimal physical servers over its lifetime.", - "" - ], - "enum": [ - "RESTART_NODE_ON_ANY_SERVER", - "RESTART_NODE_ON_MINIMAL_SERVERS", - "SERVER_BINDING_TYPE_UNSPECIFIED" - ], - "type": "string" - } - } - }, - "RoutersScopedList": { - "id": "RoutersScopedList", - "properties": { - "warning": { - "properties": { "message": { "description": "[Output Only] A human-readable description of the warning code.", "type": "string" }, "data": { "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", "items": { "type": "object", "properties": { @@ -20230,656 +20711,403 @@ "type": "string" }, "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" } } - }, - "type": "array" - }, - "code": { - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ], - "type": "string", - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ] + } } - }, - "type": "object", - "description": "Informational warning which replaces the list of routers when the list is empty." - }, - "routers": { - "description": "A list of routers contained in this scope.", - "type": "array", - "items": { - "$ref": "Router" } } - }, - "type": "object" - }, - "BackendBucketCdnPolicyBypassCacheOnRequestHeader": { - "properties": { - "headerName": { - "type": "string", - "description": "The header field name to match on when bypassing cache. Values are case-insensitive." - } - }, - "type": "object", - "id": "BackendBucketCdnPolicyBypassCacheOnRequestHeader", - "description": "Bypass the cache when the specified request headers are present, e.g. Pragma or Authorization headers. Values are case insensitive. The presence of such a header overrides the cache_mode setting." + } }, - "BackendBucketCdnPolicyNegativeCachingPolicy": { + "InterconnectAttachment": { + "id": "InterconnectAttachment", + "description": "Represents an Interconnect Attachment (VLAN) resource. You can use Interconnect attachments (VLANS) to connect your Virtual Private Cloud networks to your on-premises networks through an Interconnect. For more information, read Creating VLAN Attachments.", "type": "object", - "id": "BackendBucketCdnPolicyNegativeCachingPolicy", - "description": "Specify CDN TTLs for response error codes.", "properties": { - "code": { - "description": "The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 302, 307, 308, 404, 405, 410, 421, 451 and 501 are can be specified as values, and you cannot specify a status code more than once.", - "type": "integer", - "format": "int32" + "kind": { + "description": "[Output Only] Type of the resource. Always compute#interconnectAttachment for interconnect attachments.", + "default": "compute#interconnectAttachment", + "type": "string" }, - "ttl": { - "format": "int32", - "description": "The TTL (in seconds) for which to cache responses with the corresponding status code. The maximum allowed value is 1800s (30 minutes), noting that infrequently accessed objects may be evicted from the cache before the defined TTL.", - "type": "integer" - } - } - }, - "AutoscalingPolicy": { - "description": "Cloud Autoscaler policy.", - "properties": { - "coolDownPeriodSec": { - "description": "The number of seconds that the autoscaler waits before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. The default time autoscaler waits is 60 seconds. Virtual machine initialization times might vary because of numerous factors. We recommend that you test how long an instance may take to initialize. To do this, create an instance and time the startup process.", - "type": "integer", - "format": "int32" + "description": { + "description": "An optional description of this resource.", + "type": "string" }, - "scaleInControl": { - "$ref": "AutoscalingPolicyScaleInControl" + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", + "type": "string" }, - "scalingSchedules": { - "type": "object", - "description": "Scaling schedules defined for an autoscaler. Multiple schedules can be set on an autoscaler, and they can overlap. During overlapping periods the greatest min_required_replicas of all scaling schedules is applied. Up to 128 scaling schedules are allowed.", - "additionalProperties": { - "$ref": "AutoscalingPolicyScalingSchedule" - } + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", + "type": "string", + "format": "uint64" }, - "maxNumReplicas": { - "type": "integer", - "description": "The maximum number of instances that the autoscaler can scale out to. This is required when creating or updating an autoscaler. The maximum number of replicas must not be lower than minimal number of replicas.", - "format": "int32" + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" }, - "mode": { - "enumDescriptions": [ - "Do not automatically scale the MIG in or out. The recommended_size field contains the size of MIG that would be set if the actuation mode was enabled.", - "Automatically scale the MIG in and out according to the policy.", - "Automatically create VMs according to the policy, but do not scale the MIG in.", - "Automatically create VMs according to the policy, but do not scale the MIG in." - ], - "enum": [ - "OFF", - "ON", - "ONLY_SCALE_OUT", - "ONLY_UP" - ], - "description": "Defines operating mode for this policy.", + "name": { + "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "type": "string" }, - "customMetricUtilizations": { - "type": "array", - "items": { - "$ref": "AutoscalingPolicyCustomMetricUtilization" - }, - "description": "Configuration parameters of autoscaling based on a custom metric." + "interconnect": { + "description": "URL of the underlying Interconnect object that this attachment's traffic will traverse through.", + "type": "string" }, - "cpuUtilization": { - "description": "Defines the CPU utilization policy that allows the autoscaler to scale based on the average CPU utilization of a managed instance group.", - "$ref": "AutoscalingPolicyCpuUtilization" + "router": { + "description": "URL of the Cloud Router to be used for dynamic routing. This router must be in the same region as this InterconnectAttachment. The InterconnectAttachment will automatically connect the Interconnect to the network & region within which the Cloud Router is configured.", + "type": "string" }, - "minNumReplicas": { - "description": "The minimum number of replicas that the autoscaler can scale in to. This cannot be less than 0. If not provided, autoscaler chooses a default value depending on maximum number of instances allowed.", + "region": { + "description": "[Output Only] URL of the region where the regional interconnect attachment resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.", + "type": "string" + }, + "googleReferenceId": { + "description": "[Output Only] Google reference ID, to be used when raising support tickets with Google or otherwise to debug backend connectivity issues. [Deprecated] This field is not used.", + "deprecated": true, + "type": "string" + }, + "mtu": { + "description": "Maximum Transmission Unit (MTU), in bytes, of packets passing through this interconnect attachment. Only 1440 and 1500 are allowed. If not specified, the value will default to 1440.", "type": "integer", "format": "int32" }, - "loadBalancingUtilization": { - "$ref": "AutoscalingPolicyLoadBalancingUtilization", - "description": "Configuration parameters of autoscaling based on load balancer." - } - }, - "id": "AutoscalingPolicy", - "type": "object" - }, - "Scheduling": { - "properties": { - "minNodeCpus": { - "description": "The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node.", - "format": "int32", - "type": "integer" + "privateInterconnectInfo": { + "description": "[Output Only] Information specific to an InterconnectAttachment. This property is populated if the interconnect that this is attached to is of type DEDICATED.", + "$ref": "InterconnectAttachmentPrivateInfo" }, - "instanceTerminationAction": { + "operationalStatus": { + "description": "[Output Only] The current status of whether or not this interconnect attachment is functional, which can take one of the following values: - OS_ACTIVE: The attachment has been turned up and is ready to use. - OS_UNPROVISIONED: The attachment is not ready to use yet, because turnup is not complete. ", "type": "string", - "description": "Specifies the termination action for the instance.", - "enum": [ - "DELETE", - "INSTANCE_TERMINATION_ACTION_UNSPECIFIED", - "STOP" - ], "enumDescriptions": [ - "Delete the VM.", - "Default value. This value is unused.", - "Stop the VM without storing in-memory content. default action." + "Indicates that attachment has been turned up and is ready to use.", + "Indicates that attachment is not ready to use yet, because turnup is not complete." + ], + "enum": [ + "OS_ACTIVE", + "OS_UNPROVISIONED" ] }, - "provisioningModel": { - "enum": [ - "SPOT", - "STANDARD" - ], - "enumDescriptions": [ - "Heavily discounted, no guaranteed runtime.", - "Standard provisioning with user controlled runtime, no discounts." - ], - "description": "Specifies the provisioning model of the instance.", + "cloudRouterIpAddress": { + "description": "[Output Only] IPv4 address + prefix length to be configured on Cloud Router Interface for this interconnect attachment.", "type": "string" }, - "nodeAffinities": { - "items": { - "$ref": "SchedulingNodeAffinity" - }, - "type": "array", - "description": "A set of node affinity and anti-affinity configurations. Refer to Configuring node affinity for more information. Overrides reservationAffinity." + "customerRouterIpAddress": { + "description": "[Output Only] IPv4 address + prefix length to be configured on the customer router subinterface for this interconnect attachment.", + "type": "string" }, - "locationHint": { + "type": { + "description": "The type of interconnect attachment this is, which can take one of the following values: - DEDICATED: an attachment to a Dedicated Interconnect. - PARTNER: an attachment to a Partner Interconnect, created by the customer. - PARTNER_PROVIDER: an attachment to a Partner Interconnect, created by the partner. ", "type": "string", - "description": "An opaque location hint used to place the instance close to other resources. This field is for use by internal tools that use the public API." - }, - "onHostMaintenance": { - "description": "Defines the maintenance behavior for this instance. For standard instances, the default behavior is MIGRATE. For preemptible instances, the default and only possible behavior is TERMINATE. For more information, see Set VM host maintenance policy.", "enumDescriptions": [ - "*[Default]* Allows Compute Engine to automatically migrate instances out of the way of maintenance events.", - "Tells Compute Engine to terminate and (optionally) restart the instance away from the maintenance activity. If you would like your instance to be restarted, set the automaticRestart flag to true. Your instance may be restarted more than once, and it may be restarted outside the window of maintenance events." + "Attachment to a dedicated interconnect.", + "Attachment to a partner interconnect, created by the customer.", + "Attachment to a partner interconnect, created by the partner." ], - "type": "string", "enum": [ - "MIGRATE", - "TERMINATE" + "DEDICATED", + "PARTNER", + "PARTNER_PROVIDER" ] }, - "preemptible": { - "description": "Defines whether the instance is preemptible. This can only be set during instance creation or while the instance is stopped and therefore, in a `TERMINATED` state. See Instance Life Cycle for more information on the possible instance states.", + "pairingKey": { + "description": "[Output only for type PARTNER. Input only for PARTNER_PROVIDER. Not present for DEDICATED]. The opaque identifier of a PARTNER attachment used to initiate provisioning with a selected partner. Of the form \"XXXXX/region/domain\"", + "type": "string" + }, + "adminEnabled": { + "description": "Determines whether this Attachment will carry packets. Not present for PARTNER_PROVIDER.", "type": "boolean" }, - "automaticRestart": { - "type": "boolean", - "description": "Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). You can only set the automatic restart option for standard instances. Preemptible instances cannot be automatically restarted. By default, this is set to true so an instance is automatically restarted if it is terminated by Compute Engine." - } - }, - "type": "object", - "description": "Sets the scheduling options for an Instance.", - "id": "Scheduling" - }, - "SubnetworkLogConfig": { - "description": "The available logging options for this subnetwork.", - "type": "object", - "id": "SubnetworkLogConfig", - "properties": { - "filterExpr": { - "type": "string", - "description": "Can only be specified if VPC flow logs for this subnetwork is enabled. The filter expression is used to define which VPC flow logs should be exported to Cloud Logging." + "vlanTag8021q": { + "description": "The IEEE 802.1Q VLAN tag for this attachment, in the range 2-4093. Only specified at creation time.", + "type": "integer", + "format": "int32" }, - "metadata": { + "edgeAvailabilityDomain": { + "description": "Desired availability domain for the attachment. Only available for type PARTNER, at creation time, and can take one of the following values: - AVAILABILITY_DOMAIN_ANY - AVAILABILITY_DOMAIN_1 - AVAILABILITY_DOMAIN_2 For improved reliability, customers should configure a pair of attachments, one per availability domain. The selected availability domain will be provided to the Partner via the pairing key, so that the provisioned circuit will lie in the specified domain. If not specified, the value will default to AVAILABILITY_DOMAIN_ANY.", + "type": "string", "enumDescriptions": [ "", "", "" ], - "type": "string", "enum": [ - "CUSTOM_METADATA", - "EXCLUDE_ALL_METADATA", - "INCLUDE_ALL_METADATA" - ], - "description": "Can only be specified if VPC flow logs for this subnetwork is enabled. Configures whether all, none or a subset of metadata fields should be added to the reported VPC flow logs. Default is EXCLUDE_ALL_METADATA." - }, - "flowSampling": { - "format": "float", - "description": "Can only be specified if VPC flow logging for this subnetwork is enabled. The value of the field must be in [0, 1]. Set the sampling rate of VPC flow logs within the subnetwork where 1.0 means all collected logs are reported and 0.0 means no logs are reported. Default is 0.5 unless otherwise specified by the org policy, which means half of all collected logs are reported.", - "type": "number" + "AVAILABILITY_DOMAIN_1", + "AVAILABILITY_DOMAIN_2", + "AVAILABILITY_DOMAIN_ANY" + ] }, - "enable": { - "description": "Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is determined by the org policy, if there is no org policy specified, then it will default to disabled.", - "type": "boolean" + "candidateSubnets": { + "description": "Up to 16 candidate prefixes that can be used to restrict the allocation of cloudRouterIpAddress and customerRouterIpAddress for this attachment. All prefixes must be within link-local address space (169.254.0.0/16) and must be /29 or shorter (/28, /27, etc). Google will attempt to select an unused /29 from the supplied candidate prefix(es). The request will fail if all possible /29s are in use on Google's edge. If not supplied, Google will randomly select an unused /29 from all of link-local space.", + "type": "array", + "items": { + "type": "string" + } }, - "aggregationInterval": { + "bandwidth": { + "description": "Provisioned bandwidth capacity for the interconnect attachment. For attachments of type DEDICATED, the user can set the bandwidth. For attachments of type PARTNER, the Google Partner that is operating the interconnect must set the bandwidth. Output only for PARTNER type, mutable for PARTNER_PROVIDER and DEDICATED, and can take one of the following values: - BPS_50M: 50 Mbit/s - BPS_100M: 100 Mbit/s - BPS_200M: 200 Mbit/s - BPS_300M: 300 Mbit/s - BPS_400M: 400 Mbit/s - BPS_500M: 500 Mbit/s - BPS_1G: 1 Gbit/s - BPS_2G: 2 Gbit/s - BPS_5G: 5 Gbit/s - BPS_10G: 10 Gbit/s - BPS_20G: 20 Gbit/s - BPS_50G: 50 Gbit/s ", + "type": "string", "enumDescriptions": [ - "", - "", - "", - "", - "", - "" + "100 Mbit/s", + "10 Gbit/s", + "1 Gbit/s", + "200 Mbit/s", + "20 Gbit/s", + "2 Gbit/s", + "300 Mbit/s", + "400 Mbit/s", + "500 Mbit/s", + "50 Gbit/s", + "50 Mbit/s", + "5 Gbit/s" ], "enum": [ - "INTERVAL_10_MIN", - "INTERVAL_15_MIN", - "INTERVAL_1_MIN", - "INTERVAL_30_SEC", - "INTERVAL_5_MIN", - "INTERVAL_5_SEC" - ], - "description": "Can only be specified if VPC flow logging for this subnetwork is enabled. Toggles the aggregation interval for collecting flow logs. Increasing the interval time will reduce the amount of generated flow logs for long lasting connections. Default is an interval of 5 seconds per connection.", - "type": "string" + "BPS_100M", + "BPS_10G", + "BPS_1G", + "BPS_200M", + "BPS_20G", + "BPS_2G", + "BPS_300M", + "BPS_400M", + "BPS_500M", + "BPS_50G", + "BPS_50M", + "BPS_5G" + ] }, - "metadataFields": { - "description": "Can only be specified if VPC flow logs for this subnetwork is enabled and \"metadata\" was set to CUSTOM_METADATA.", - "items": { + "partnerMetadata": { + "description": "Informational metadata about Partner attachments from Partners to display to customers. Output only for PARTNER type, mutable for PARTNER_PROVIDER, not available for DEDICATED.", + "$ref": "InterconnectAttachmentPartnerMetadata" + }, + "labels": { + "description": "Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.", + "type": "object", + "additionalProperties": { "type": "string" - }, - "type": "array" - } - } - }, - "RouterNat": { - "type": "object", - "properties": { - "subnetworks": { - "items": { - "$ref": "RouterNatSubnetworkToNat" - }, - "type": "array", - "description": "A list of Subnetwork resources whose traffic should be translated by NAT Gateway. It is used only when LIST_OF_SUBNETWORKS is selected for the SubnetworkIpRangeToNatOption above." + } }, - "tcpTransitoryIdleTimeoutSec": { - "description": "Timeout (in seconds) for TCP transitory connections. Defaults to 30s if not set.", - "type": "integer", - "format": "int32" + "labelFingerprint": { + "description": "A fingerprint for the labels being applied to this InterconnectAttachment, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an InterconnectAttachment.", + "type": "string", + "format": "byte" }, - "tcpEstablishedIdleTimeoutSec": { - "type": "integer", - "description": "Timeout (in seconds) for TCP established connections. Defaults to 1200s if not set.", - "format": "int32" + "state": { + "description": "[Output Only] The current state of this attachment's functionality. Enum values ACTIVE and UNPROVISIONED are shared by DEDICATED/PRIVATE, PARTNER, and PARTNER_PROVIDER interconnect attachments, while enum values PENDING_PARTNER, PARTNER_REQUEST_RECEIVED, and PENDING_CUSTOMER are used for only PARTNER and PARTNER_PROVIDER interconnect attachments. This state can take one of the following values: - ACTIVE: The attachment has been turned up and is ready to use. - UNPROVISIONED: The attachment is not ready to use yet, because turnup is not complete. - PENDING_PARTNER: A newly-created PARTNER attachment that has not yet been configured on the Partner side. - PARTNER_REQUEST_RECEIVED: A PARTNER attachment is in the process of provisioning after a PARTNER_PROVIDER attachment was created that references it. - PENDING_CUSTOMER: A PARTNER or PARTNER_PROVIDER attachment that is waiting for a customer to activate it. - DEFUNCT: The attachment was deleted externally and is no longer functional. This could be because the associated Interconnect was removed, or because the other side of a Partner attachment was deleted. ", + "type": "string", + "enumDescriptions": [ + "Indicates that attachment has been turned up and is ready to use.", + "The attachment was deleted externally and is no longer functional. This could be because the associated Interconnect was wiped out, or because the other side of a Partner attachment was deleted.", + "A PARTNER attachment is in the process of provisioning after a PARTNER_PROVIDER attachment was created that references it.", + "PARTNER or PARTNER_PROVIDER attachment that is waiting for the customer to activate.", + "A newly created PARTNER attachment that has not yet been configured on the Partner side.", + "", + "Indicates that attachment is not ready to use yet, because turnup is not complete." + ], + "enum": [ + "ACTIVE", + "DEFUNCT", + "PARTNER_REQUEST_RECEIVED", + "PENDING_CUSTOMER", + "PENDING_PARTNER", + "STATE_UNSPECIFIED", + "UNPROVISIONED" + ] }, - "endpointTypes": { - "items": { - "enum": [ - "ENDPOINT_TYPE_SWG", - "ENDPOINT_TYPE_VM" - ], - "type": "string", - "enumDescriptions": [ - "This is used for Secure Web Gateway endpoints.", - "This is the default." - ] - }, - "type": "array", - "description": "List of NAT-ted endpoint types supported by the Nat Gateway. If the list is empty, then it will be equivalent to include ENDPOINT_TYPE_VM" + "partnerAsn": { + "description": "Optional BGP ASN for the router supplied by a Layer 3 Partner if they configured BGP on behalf of the customer. Output only for PARTNER type, input only for PARTNER_PROVIDER, not available for DEDICATED.", + "type": "string", + "format": "int64" }, - "natIpAllocateOption": { + "encryption": { + "description": "Indicates the user-supplied encryption option of this VLAN attachment (interconnectAttachment). Can only be specified at attachment creation for PARTNER or DEDICATED attachments. Possible values are: - NONE - This is the default value, which means that the VLAN attachment carries unencrypted traffic. VMs are able to send traffic to, or receive traffic from, such a VLAN attachment. - IPSEC - The VLAN attachment carries only encrypted traffic that is encrypted by an IPsec device, such as an HA VPN gateway or third-party IPsec VPN. VMs cannot directly send traffic to, or receive traffic from, such a VLAN attachment. To use *HA VPN over Cloud Interconnect*, the VLAN attachment must be created with this option. ", + "type": "string", "enumDescriptions": [ - "Nat IPs are allocated by GCP; customers can not specify any Nat IPs.", - "Only use Nat IPs provided by customers. When specified Nat IPs are not enough then the Nat service fails for new VMs." + "The interconnect attachment will carry only encrypted traffic that is encrypted by an IPsec device such as HA VPN gateway; VMs cannot directly send traffic to or receive traffic from such an interconnect attachment. To use HA VPN over Cloud Interconnect, the interconnect attachment must be created with this option.", + "This is the default value, which means the Interconnect Attachment will carry unencrypted traffic. VMs will be able to send traffic to or receive traffic from such interconnect attachment." ], - "description": "Specify the NatIpAllocateOption, which can take one of the following values: - MANUAL_ONLY: Uses only Nat IP addresses provided by customers. When there are not enough specified Nat IPs, the Nat service fails for new VMs. - AUTO_ONLY: Nat IPs are allocated by Google Cloud Platform; customers can't specify any Nat IPs. When choosing AUTO_ONLY, then nat_ip should be empty. ", "enum": [ - "AUTO_ONLY", - "MANUAL_ONLY" - ], - "type": "string" + "IPSEC", + "NONE" + ] }, - "udpIdleTimeoutSec": { + "ipsecInternalAddresses": { + "description": "A list of URLs of addresses that have been reserved for the VLAN attachment. Used only for the VLAN attachment that has the encryption option as IPSEC. The addresses must be regional internal IP address ranges. When creating an HA VPN gateway over the VLAN attachment, if the attachment is configured to use a regional internal IP address, then the VPN gateway's IP address is allocated from the IP address range specified here. For example, if the HA VPN gateway's interface 0 is paired to this VLAN attachment, then a regional internal IP address for the VPN gateway interface 0 will be allocated from the IP address specified for this VLAN attachment. If this field is not specified when creating the VLAN attachment, then later on when creating an HA VPN gateway on this VLAN attachment, the HA VPN gateway's IP address is allocated from the regional external IP address pool.", + "type": "array", + "items": { + "type": "string" + } + }, + "dataplaneVersion": { + "description": "[Output Only] Dataplane version for this InterconnectAttachment. This field is only present for Dataplane version 2 and higher. Absence of this field in the API output indicates that the Dataplane is version 1.", "type": "integer", - "description": "Timeout (in seconds) for UDP connections. Defaults to 30s if not set.", "format": "int32" }, - "enableEndpointIndependentMapping": { + "satisfiesPzs": { + "description": "[Output Only] Reserved for future use.", "type": "boolean" }, - "tcpTimeWaitTimeoutSec": { - "description": "Timeout (in seconds) for TCP connections that are in TIME_WAIT state. Defaults to 120s if not set.", - "type": "integer", - "format": "int32" - }, - "sourceSubnetworkIpRangesToNat": { - "enum": [ - "ALL_SUBNETWORKS_ALL_IP_RANGES", - "ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES", - "LIST_OF_SUBNETWORKS" - ], - "description": "Specify the Nat option, which can take one of the following values: - ALL_SUBNETWORKS_ALL_IP_RANGES: All of the IP ranges in every Subnetwork are allowed to Nat. - ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES: All of the primary IP ranges in every Subnetwork are allowed to Nat. - LIST_OF_SUBNETWORKS: A list of Subnetworks are allowed to Nat (specified in the field subnetwork below) The default is SUBNETWORK_IP_RANGE_TO_NAT_OPTION_UNSPECIFIED. Note that if this field contains ALL_SUBNETWORKS_ALL_IP_RANGES or ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES, then there should not be any other Router.Nat section in any Router for this network in this region.", + "stackType": { + "description": "The stack type for this interconnect attachment to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used. This field can be both set at interconnect attachments creation and update interconnect attachment operations.", "type": "string", "enumDescriptions": [ - "All the IP ranges in every Subnetwork are allowed to Nat.", - "All the primary IP ranges in every Subnetwork are allowed to Nat.", - "A list of Subnetworks are allowed to Nat (specified in the field subnetwork below)" + "The interconnect attachment can have both IPv4 and IPv6 addresses.", + "The interconnect attachment will only be assigned IPv4 addresses." + ], + "enum": [ + "IPV4_IPV6", + "IPV4_ONLY" ] }, - "logConfig": { - "$ref": "RouterNatLogConfig", - "description": "Configure logging on this NAT." + "cloudRouterIpv6Address": { + "description": "[Output Only] IPv6 address + prefix length to be configured on Cloud Router Interface for this interconnect attachment.", + "type": "string" }, - "name": { - "type": "string", - "description": "Unique name of this Nat service. The name must be 1-63 characters long and comply with RFC1035.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "customerRouterIpv6Address": { + "description": "[Output Only] IPv6 address + prefix length to be configured on the customer router subinterface for this interconnect attachment.", + "type": "string" }, - "drainNatIps": { + "candidateIpv6Subnets": { + "description": "This field is not available.", "type": "array", "items": { "type": "string" - }, - "description": "A list of URLs of the IP resources to be drained. These IPs must be valid static external IPs that have been assigned to the NAT. These IPs should be used for updating/patching a NAT only." - }, - "minPortsPerVm": { - "description": "Minimum number of ports allocated to a VM from this NAT config. If not set, a default number of ports is allocated to a VM. This is rounded up to the nearest power of 2. For example, if the value of this field is 50, at least 64 ports are allocated to a VM.", - "format": "int32", - "type": "integer" + } }, - "natIps": { - "items": { - "type": "string" - }, - "type": "array", - "description": "A list of URLs of the IP resources used for this Nat service. These IP addresses must be valid static external IP addresses assigned to the project." + "cloudRouterIpv6InterfaceId": { + "description": "This field is not available.", + "type": "string" }, - "enableDynamicPortAllocation": { - "type": "boolean", - "description": "Enable Dynamic Port Allocation. If not specified, it is disabled by default. If set to true, - Dynamic Port Allocation will be enabled on this NAT config. - enableEndpointIndependentMapping cannot be set to true. - If minPorts is set, minPortsPerVm must be set to a power of two greater than or equal to 32. If minPortsPerVm is not set, a minimum of 32 ports will be allocated to a VM from this NAT config. " + "customerRouterIpv6InterfaceId": { + "description": "This field is not available.", + "type": "string" }, - "maxPortsPerVm": { + "subnetLength": { + "description": "Length of the IPv4 subnet mask. Allowed values: - 29 (default) - 30 The default value is 29, except for Cross-Cloud Interconnect connections that use an InterconnectRemoteLocation with a constraints.subnetLengthRange.min equal to 30. For example, connections that use an Azure remote location fall into this category. In these cases, the default value is 30, and requesting 29 returns an error. Where both 29 and 30 are allowed, 29 is preferred, because it gives Google Cloud Support more debugging visibility. ", "type": "integer", - "description": "Maximum number of ports allocated to a VM from this NAT config when Dynamic Port Allocation is enabled. If Dynamic Port Allocation is not enabled, this field has no effect. If Dynamic Port Allocation is enabled, and this field is set, it must be set to a power of two greater than minPortsPerVm, or 64 if minPortsPerVm is not set. If Dynamic Port Allocation is enabled and this field is not set, a maximum of 65536 ports will be allocated to a VM from this NAT config.", "format": "int32" }, - "icmpIdleTimeoutSec": { - "description": "Timeout (in seconds) for ICMP connections. Defaults to 30s if not set.", - "format": "int32", - "type": "integer" + "remoteService": { + "description": "[Output Only] If the attachment is on a Cross-Cloud Interconnect connection, this field contains the interconnect's remote location service provider. Example values: \"Amazon Web Services\" \"Microsoft Azure\". The field is set only for attachments on Cross-Cloud Interconnect connections. Its value is copied from the InterconnectRemoteLocation remoteService field.", + "type": "string" }, - "rules": { - "type": "array", - "description": "A list of rules associated with this NAT.", - "items": { - "$ref": "RouterNatRule" - } + "configurationConstraints": { + "description": "[Output Only] Constraints for this attachment, if any. The attachment does not work if these constraints are not met.", + "$ref": "InterconnectAttachmentConfigurationConstraints" } - }, - "id": "RouterNat", - "description": "Represents a Nat resource. It enables the VMs within the specified subnetworks to access Internet without external IP addresses. It specifies a list of subnetworks (and the ranges within) that want to use NAT. Customers can also provide the external IPs that would be used for NAT. GCP would auto-allocate ephemeral IPs if no external IPs are provided." + } }, - "ResourcePolicyWeeklyCycle": { + "InterconnectAttachmentPrivateInfo": { + "id": "InterconnectAttachmentPrivateInfo", + "description": "Information for an interconnect attachment when this belongs to an interconnect of type DEDICATED.", "type": "object", - "id": "ResourcePolicyWeeklyCycle", "properties": { - "dayOfWeeks": { - "type": "array", - "items": { - "$ref": "ResourcePolicyWeeklyCycleDayOfWeek" - }, - "description": "Up to 7 intervals/windows, one for each day of the week." + "tag8021q": { + "description": "[Output Only] 802.1q encapsulation tag to be used for traffic between Google and the customer, going to and from this network and region.", + "type": "integer", + "format": "uint32" } - }, - "description": "Time window specified for weekly operations." + } }, - "DisksResizeRequest": { - "id": "DisksResizeRequest", + "InterconnectAttachmentPartnerMetadata": { + "id": "InterconnectAttachmentPartnerMetadata", + "description": "Informational metadata about Partner attachments from Partners to display to customers. These fields are propagated from PARTNER_PROVIDER attachments to their corresponding PARTNER attachments.", + "type": "object", "properties": { - "sizeGb": { - "description": "The new size of the persistent disk, which is specified in GB.", - "format": "int64", + "partnerName": { + "description": "Plain text name of the Partner providing this attachment. This value may be validated to match approved Partner values.", + "type": "string" + }, + "interconnectName": { + "description": "Plain text name of the Interconnect this attachment is connected to, as displayed in the Partner's portal. For instance \"Chicago 1\". This value may be validated to match approved Partner values.", + "type": "string" + }, + "portalUrl": { + "description": "URL of the Partner's portal for this Attachment. Partners may customise this to be a deep link to the specific resource on the Partner portal. This value may be validated to match approved Partner values.", "type": "string" } - }, - "type": "object" + } }, - "RegionInstanceGroupManagerUpdateInstanceConfigReq": { - "id": "RegionInstanceGroupManagerUpdateInstanceConfigReq", + "InterconnectAttachmentConfigurationConstraints": { + "id": "InterconnectAttachmentConfigurationConstraints", + "type": "object", "properties": { - "perInstanceConfigs": { - "items": { - "$ref": "PerInstanceConfig" - }, + "bgpMd5": { + "description": "[Output Only] Whether the attachment's BGP session requires/allows/disallows BGP MD5 authentication. This can take one of the following values: MD5_OPTIONAL, MD5_REQUIRED, MD5_UNSUPPORTED. For example, a Cross-Cloud Interconnect connection to a remote cloud provider that requires BGP MD5 authentication has the interconnectRemoteLocation attachment_configuration_constraints.bgp_md5 field set to MD5_REQUIRED, and that property is propagated to the attachment. Similarly, if BGP MD5 is MD5_UNSUPPORTED, an error is returned if MD5 is requested.", + "type": "string", + "enumDescriptions": [ + "MD5_OPTIONAL: BGP MD5 authentication is supported and can optionally be configured.", + "MD5_REQUIRED: BGP MD5 authentication must be configured.", + "MD5_UNSUPPORTED: BGP MD5 authentication must not be configured" + ], + "enum": [ + "MD5_OPTIONAL", + "MD5_REQUIRED", + "MD5_UNSUPPORTED" + ] + }, + "bgpPeerAsnRanges": { + "description": "[Output Only] List of ASN ranges that the remote location is known to support. Formatted as an array of inclusive ranges {min: min-value, max: max-value}. For example, [{min: 123, max: 123}, {min: 64512, max: 65534}] allows the peer ASN to be 123 or anything in the range 64512-65534. This field is only advisory. Although the API accepts other ranges, these are the ranges that we recommend.", "type": "array", - "description": "The list of per-instance configurations to insert or patch on this managed instance group." + "items": { + "$ref": "InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange" + } } - }, - "description": "RegionInstanceGroupManagers.updatePerInstanceConfigs", - "type": "object" + } }, - "UsableSubnetworksAggregatedList": { - "id": "UsableSubnetworksAggregatedList", + "InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange": { + "id": "InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange", + "type": "object", + "properties": { + "min": { + "type": "integer", + "format": "uint32" + }, + "max": { + "type": "integer", + "format": "uint32" + } + } + }, + "InterconnectAttachmentAggregatedList": { + "id": "InterconnectAttachmentAggregatedList", "type": "object", "properties": { + "kind": { + "description": "[Output Only] Type of resource. Always compute#interconnectAttachmentAggregatedList for aggregated lists of interconnect attachments.", + "default": "compute#interconnectAttachmentAggregatedList", + "type": "string" + }, "id": { - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", + "description": "[Output Only] Unique identifier for the resource; defined by the server.", "type": "string" }, - "kind": { - "description": "[Output Only] Type of resource. Always compute#usableSubnetworksAggregatedList for aggregated lists of usable subnetworks.", - "type": "string", - "default": "compute#usableSubnetworksAggregatedList" + "items": { + "description": "A list of InterconnectAttachmentsScopedList resources.", + "type": "object", + "additionalProperties": { + "description": "Name of the scope containing this set of interconnect attachments.", + "$ref": "InterconnectAttachmentsScopedList" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" }, "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { - "data": { - "items": { - "type": "object", - "properties": { - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - }, - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - } - } - }, - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "type": "array" - }, - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, "code": { - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ], "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "type": "string" - } - }, - "type": "object", - "description": "[Output Only] Informational warning message." - }, - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. In special cases listUsable may return 0 subnetworks and nextPageToken which still should be used to get the next page of results.", - "type": "string" - }, - "items": { - "type": "array", - "items": { - "$ref": "UsableSubnetwork" - }, - "description": "[Output] A list of usable subnetwork URLs." - }, - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", - "type": "string" - } - } - }, - "TargetHttpProxiesScopedList": { - "type": "object", - "id": "TargetHttpProxiesScopedList", - "properties": { - "warning": { - "description": "Informational warning which replaces the list of backend services when the list is empty.", - "type": "object", - "properties": { - "data": { - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "items": { - "type": "object", - "properties": { - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - }, - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - } - } - }, - "type": "array" - }, - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, - "code": { "type": "string", - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -20891,6 +21119,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -20908,90 +21137,37 @@ "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", "When undeclared properties in the schema are present", "A given scope cannot be reached." - ] - } - } - }, - "targetHttpProxies": { - "description": "A list of TargetHttpProxies contained in this scope.", - "type": "array", - "items": { - "$ref": "TargetHttpProxy" - } - } - } - }, - "InstancesAddResourcePoliciesRequest": { - "properties": { - "resourcePolicies": { - "type": "array", - "description": "Resource policies to be added to this instance.", - "items": { - "type": "string" - } - } - }, - "id": "InstancesAddResourcePoliciesRequest", - "type": "object" - }, - "NodeGroupAutoscalingPolicy": { - "id": "NodeGroupAutoscalingPolicy", - "type": "object", - "properties": { - "minNodes": { - "description": "The minimum number of nodes that the group should have.", - "format": "int32", - "type": "integer" - }, - "mode": { - "enum": [ - "MODE_UNSPECIFIED", - "OFF", - "ON", - "ONLY_SCALE_OUT" - ], - "description": "The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more information, see Autoscaler modes.", - "type": "string", - "enumDescriptions": [ - "", - "Autoscaling is disabled.", - "Autocaling is fully enabled.", - "Autoscaling will only scale out and will not remove nodes." - ] - }, - "maxNodes": { - "format": "int32", - "description": "The maximum number of nodes that the group should have. Must be set if autoscaling is enabled. Maximum value allowed is 100.", - "type": "integer" - } - } - }, - "NetworkEdgeSecurityServiceAggregatedList": { - "id": "NetworkEdgeSecurityServiceAggregatedList", - "properties": { - "etag": { - "type": "string" - }, - "items": { - "type": "object", - "description": "A list of NetworkEdgeSecurityServicesScopedList resources.", - "additionalProperties": { - "description": "Name of the scope containing this set of security policies.", - "$ref": "NetworkEdgeSecurityServicesScopedList" - } - }, - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." - }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." - }, - "warning": { - "description": "[Output Only] Informational warning message.", - "properties": { - "code": { + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -21003,6 +21179,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -21020,43 +21197,17 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ], - "type": "string", - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response." + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" }, "data": { - "type": "array", "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", "items": { + "type": "object", "properties": { "key": { "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", @@ -21066,148 +21217,37 @@ "description": "[Output Only] A warning data value corresponding to the key.", "type": "string" } - }, - "type": "object" + } } - }, - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" } - }, - "type": "object" - }, - "kind": { - "description": "[Output Only] Type of resource. Always compute#networkEdgeSecurityServiceAggregatedList for lists of Network Edge Security Services.", - "type": "string", - "default": "compute#networkEdgeSecurityServiceAggregatedList" - }, - "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", - "type": "string" + } }, "unreachables": { - "items": { - "type": "string" - }, "description": "[Output Only] Unreachable resources.", - "type": "array" - } - }, - "type": "object" - }, - "LicenseCodeLicenseAlias": { - "id": "LicenseCodeLicenseAlias", - "type": "object", - "properties": { - "description": { - "description": "[Output Only] Description of this License Code.", - "type": "string" - }, - "selfLink": { - "description": "[Output Only] URL of license corresponding to this License Code.", - "type": "string" - } - } - }, - "TargetPoolInstanceHealth": { - "id": "TargetPoolInstanceHealth", - "type": "object", - "properties": { - "kind": { - "default": "compute#targetPoolInstanceHealth", - "type": "string", - "description": "[Output Only] Type of resource. Always compute#targetPoolInstanceHealth when checking the health of an instance." - }, - "healthStatus": { + "type": "array", "items": { - "$ref": "HealthStatus" - }, - "type": "array" - } - } - }, - "HealthStatusForNetworkEndpoint": { - "id": "HealthStatusForNetworkEndpoint", - "type": "object", - "properties": { - "healthState": { - "type": "string", - "enumDescriptions": [ - "", - "", - "", - "" - ], - "enum": [ - "DRAINING", - "HEALTHY", - "UNHEALTHY", - "UNKNOWN" - ], - "description": "Health state of the network endpoint determined based on the health checks configured." - }, - "backendService": { - "$ref": "BackendServiceReference", - "description": "URL of the backend service associated with the health state of the network endpoint." - }, - "healthCheck": { - "description": "URL of the health check associated with the health state of the network endpoint.", - "$ref": "HealthCheckReference" - }, - "forwardingRule": { - "description": "URL of the forwarding rule associated with the health state of the network endpoint.", - "$ref": "ForwardingRuleReference" - }, - "healthCheckService": { - "$ref": "HealthCheckServiceReference", - "description": "URL of the health check service associated with the health state of the network endpoint." + "type": "string" + } } } }, - "CommitmentList": { - "description": "Contains a list of Commitment resources.", + "InterconnectAttachmentsScopedList": { + "id": "InterconnectAttachmentsScopedList", "type": "object", - "id": "CommitmentList", "properties": { - "kind": { - "description": "[Output Only] Type of resource. Always compute#commitmentList for lists of commitments.", - "type": "string", - "default": "compute#commitmentList" - }, - "items": { + "interconnectAttachments": { + "description": "A list of interconnect attachments contained in this scope.", + "type": "array", "items": { - "$ref": "Commitment" - }, - "description": "A list of Commitment resources.", - "type": "array" - }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." + "$ref": "InterconnectAttachment" + } }, "warning": { + "description": "Informational warning which replaces the list of addresses when the list is empty.", "type": "object", - "description": "[Output Only] Informational warning message.", "properties": { - "data": { - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "items": { - "type": "object", - "properties": { - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - }, - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - } - } - }, - "type": "array" - }, "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", @@ -21220,6 +21260,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -21238,7 +21279,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -21250,6 +21320,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -21272,448 +21343,396 @@ "message": { "description": "[Output Only] A human-readable description of the warning code.", "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } } } - }, - "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." - }, - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." } } }, - "TargetReference": { - "properties": { - "target": { - "type": "string" - } - }, - "type": "object", - "id": "TargetReference" - }, - "NotificationEndpointGrpcSettings": { + "Interconnect": { + "id": "Interconnect", + "description": "Represents an Interconnect resource. An Interconnect resource is a dedicated connection between the Google Cloud network and your on-premises network. For more information, read the Dedicated Interconnect Overview.", "type": "object", - "description": "Represents a gRPC setting that describes one gRPC notification endpoint and the retry duration attempting to send notification to this endpoint.", - "id": "NotificationEndpointGrpcSettings", "properties": { - "retryDurationSec": { - "format": "uint32", - "description": "How much time (in seconds) is spent attempting notification retries until a successful response is received. Default is 30s. Limit is 20m (1200s). Must be a positive number.", - "type": "integer" - }, - "resendInterval": { - "description": "Optional. This field is used to configure how often to send a full update of all non-healthy backends. If unspecified, full updates are not sent. If specified, must be in the range between 600 seconds to 3600 seconds. Nanos are disallowed. Can only be set for regional notification endpoints.", - "$ref": "Duration" + "kind": { + "description": "[Output Only] Type of the resource. Always compute#interconnect for interconnects.", + "default": "compute#interconnect", + "type": "string" }, - "payloadName": { - "type": "string", - "description": "Optional. If specified, this field is used to populate the \"name\" field in gRPC requests." + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource.", + "type": "string" }, - "authority": { - "description": "Optional. If specified, this field is used to set the authority header by the sender of notifications. See https://tools.ietf.org/html/rfc7540#section-8.1.2.3", + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", "type": "string" }, - "endpoint": { + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", "type": "string", - "description": "Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name." - } - } - }, - "NetworksAddPeeringRequest": { - "properties": { - "networkPeering": { - "description": "Network peering parameters. In order to specify route policies for peering using import and export custom routes, you must specify all peering related parameters (name, peer network, exchange_subnet_routes) in the network_peering field. The corresponding fields in NetworksAddPeeringRequest will be deprecated soon.", - "$ref": "NetworkPeering" + "format": "uint64" }, - "autoCreateRoutes": { - "description": "This field will be deprecated soon. Use exchange_subnet_routes in network_peering instead. Indicates whether full mesh connectivity is created and managed automatically between peered networks. Currently this field should always be true since Google Compute Engine will automatically create and manage subnetwork routes between two networks when peering state is ACTIVE.", - "type": "boolean" + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" }, "name": { + "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "annotations": { "required": [ - "compute.networks.addPeering" + "compute.interconnects.insert" ] }, - "description": "Name of the peering, which should conform to RFC1035.", "type": "string" }, - "peerNetwork": { - "description": "URL of the peer network. It can be either full URL or partial URL. The peer network may belong to a different project. If the partial URL does not contain project, it is assumed that the peer network is in the same project as the current network.", + "location": { + "description": "URL of the InterconnectLocation object that represents where this connection is to be provisioned.", "type": "string" - } - }, - "id": "NetworksAddPeeringRequest", - "type": "object" - }, - "NodeTypeAggregatedList": { - "properties": { - "warning": { - "type": "object", - "description": "[Output Only] Informational warning message.", - "properties": { - "code": { - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "type": "string", - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ], - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ] - }, - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, - "data": { - "type": "array", - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "items": { - "type": "object", - "properties": { - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - }, - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - } - } - } - } - } }, - "unreachables": { + "linkType": { + "description": "Type of link requested, which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics. Note that this field indicates the speed of each of the links in the bundle, not the speed of the entire bundle.", + "type": "string", + "enumDescriptions": [ + "100G Ethernet, LR Optics.", + "10G Ethernet, LR Optics. [(rate_bps) = 10000000000];" + ], + "enum": [ + "LINK_TYPE_ETHERNET_100G_LR", + "LINK_TYPE_ETHERNET_10G_LR" + ] + }, + "requestedLinkCount": { + "description": "Target number of physical links in the link bundle, as requested by the customer.", + "type": "integer", + "format": "int32" + }, + "interconnectType": { + "description": "Type of interconnect, which can take one of the following values: - PARTNER: A partner-managed interconnection shared between customers though a partner. - DEDICATED: A dedicated physical interconnection with the customer. Note that a value IT_PRIVATE has been deprecated in favor of DEDICATED.", + "type": "string", + "enumDescriptions": [ + "A dedicated physical interconnection with the customer.", + "[Deprecated] A private, physical interconnection with the customer.", + "A partner-managed interconnection shared between customers via partner." + ], + "enum": [ + "DEDICATED", + "IT_PRIVATE", + "PARTNER" + ] + }, + "adminEnabled": { + "description": "Administrative status of the interconnect. When this is set to true, the Interconnect is functional and can carry traffic. When set to false, no packets can be carried over the interconnect and no BGP routes are exchanged over it. By default, the status is set to true.", + "type": "boolean" + }, + "nocContactEmail": { + "description": "Email address to contact the customer NOC for operations and maintenance notifications regarding this Interconnect. If specified, this will be used for notifications in addition to all other forms described, such as Cloud Monitoring logs alerting and Cloud Notifications. This field is required for users who sign up for Cloud Interconnect using workforce identity federation.", + "type": "string" + }, + "customerName": { + "description": "Customer name, to put in the Letter of Authorization as the party authorized to request a crossconnect.", + "type": "string" + }, + "operationalStatus": { + "description": "[Output Only] The current status of this Interconnect's functionality, which can take one of the following values: - OS_ACTIVE: A valid Interconnect, which is turned up and is ready to use. Attachments may be provisioned on this Interconnect. - OS_UNPROVISIONED: An Interconnect that has not completed turnup. No attachments may be provisioned on this Interconnect. - OS_UNDER_MAINTENANCE: An Interconnect that is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect. ", + "type": "string", + "enumDescriptions": [ + "The interconnect is valid, turned up, and ready to use. Attachments may be provisioned on this interconnect.", + "The interconnect has not completed turnup. No attachments may be provisioned on this interconnect." + ], + "enum": [ + "OS_ACTIVE", + "OS_UNPROVISIONED" + ] + }, + "provisionedLinkCount": { + "description": "[Output Only] Number of links actually provisioned in this interconnect.", + "type": "integer", + "format": "int32" + }, + "interconnectAttachments": { + "description": "[Output Only] A list of the URLs of all InterconnectAttachments configured to use this Interconnect.", + "type": "array", "items": { "type": "string" - }, - "description": "[Output Only] Unreachable resources.", - "type": "array" + } }, - "items": { + "peerIpAddress": { + "description": "[Output Only] IP address configured on the customer side of the Interconnect link. The customer should configure this IP address during turnup when prompted by Google NOC. This can be used only for ping tests.", + "type": "string" + }, + "googleIpAddress": { + "description": "[Output Only] IP address configured on the Google side of the Interconnect link. This can be used only for ping tests.", + "type": "string" + }, + "googleReferenceId": { + "description": "[Output Only] Google reference ID to be used when raising support tickets with Google or otherwise to debug backend connectivity issues.", + "type": "string" + }, + "expectedOutages": { + "description": "[Output Only] A list of outages expected for this Interconnect.", + "type": "array", + "items": { + "$ref": "InterconnectOutageNotification" + } + }, + "circuitInfos": { + "description": "[Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG.", + "type": "array", + "items": { + "$ref": "InterconnectCircuitInfo" + } + }, + "labels": { + "description": "Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.", "type": "object", - "description": "A list of NodeTypesScopedList resources.", "additionalProperties": { - "$ref": "NodeTypesScopedList", - "description": "[Output Only] Name of the scope containing this set of node types." + "type": "string" } }, - "id": { + "labelFingerprint": { + "description": "A fingerprint for the labels being applied to this Interconnect, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an Interconnect.", "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." + "format": "byte" }, - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", + "state": { + "description": "[Output Only] The current state of Interconnect functionality, which can take one of the following values: - ACTIVE: The Interconnect is valid, turned up and ready to use. Attachments may be provisioned on this Interconnect. - UNPROVISIONED: The Interconnect has not completed turnup. No attachments may be provisioned on this Interconnect. - UNDER_MAINTENANCE: The Interconnect is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect. ", + "type": "string", + "enumDescriptions": [ + "The interconnect is valid, turned up, and ready to use. Attachments may be provisioned on this interconnect.", + "The interconnect has not completed turnup. No attachments may be provisioned on this interconnect." + ], + "enum": [ + "ACTIVE", + "UNPROVISIONED" + ] + }, + "satisfiesPzs": { + "description": "[Output Only] Reserved for future use.", + "type": "boolean" + }, + "macsec": { + "description": "Configuration that enables Media Access Control security (MACsec) on the Cloud Interconnect connection between Google and your on-premises router.", + "$ref": "InterconnectMacsec" + }, + "macsecEnabled": { + "description": "Enable or disable MACsec on this Interconnect connection. MACsec enablement fails if the MACsec object is not specified.", + "type": "boolean" + }, + "remoteLocation": { + "description": "Indicates that this is a Cross-Cloud Interconnect. This field specifies the location outside of Google's network that the interconnect is connected to.", "type": "string" }, - "kind": { - "default": "compute#nodeTypeAggregatedList", - "type": "string", - "description": "[Output Only] Type of resource.Always compute#nodeTypeAggregatedList for aggregated lists of node types." + "requestedFeatures": { + "description": "Optional. List of features requested for this Interconnect connection, which can take one of the following values: - MACSEC If specified then the connection is created on MACsec capable hardware ports. If not specified, the default value is false, which allocates non-MACsec capable ports first if available. This parameter can be provided only with Interconnect INSERT. It isn't valid for Interconnect PATCH.", + "type": "array", + "items": { + "type": "string", + "enumDescriptions": [ + "Media Access Control security (MACsec)" + ], + "enum": [ + "IF_MACSEC" + ] + } }, - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." + "availableFeatures": { + "description": "[Output only] List of features available for this Interconnect connection, which can take one of the following values: - MACSEC If present then the Interconnect connection is provisioned on MACsec capable hardware ports. If not present then the Interconnect connection is provisioned on non-MACsec capable ports and MACsec isn't supported and enabling MACsec fails.", + "type": "array", + "items": { + "type": "string", + "enumDescriptions": [ + "Media Access Control security (MACsec)" + ], + "enum": [ + "IF_MACSEC" + ] + } } - }, - "type": "object", - "id": "NodeTypeAggregatedList" + } }, - "ForwardingRuleAggregatedList": { + "InterconnectOutageNotification": { + "id": "InterconnectOutageNotification", + "description": "Description of a planned outage on this Interconnect.", + "type": "object", "properties": { - "warning": { - "properties": { - "code": { - "type": "string", - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ] - }, - "data": { - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "items": { - "properties": { - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - }, - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - } - }, - "description": "[Output Only] Informational warning message.", - "type": "object" + "name": { + "description": "Unique identifier for this outage notification.", + "type": "string" }, - "selfLink": { + "description": { + "description": "A description about the purpose of the outage.", + "type": "string" + }, + "source": { + "description": "The party that generated this notification, which can take the following value: - GOOGLE: this notification as generated by Google. Note that the value of NSRC_GOOGLE has been deprecated in favor of GOOGLE.", "type": "string", - "description": "[Output Only] Server-defined URL for this resource." + "enumDescriptions": [ + "This notification was generated by Google.", + "[Deprecated] This notification was generated by Google." + ], + "enum": [ + "GOOGLE", + "NSRC_GOOGLE" + ] }, - "id": { + "state": { + "description": "State of this notification, which can take one of the following values: - ACTIVE: This outage notification is active. The event could be in the past, present, or future. See start_time and end_time for scheduling. - CANCELLED: The outage associated with this notification was cancelled before the outage was due to start. - COMPLETED: The outage associated with this notification is complete. Note that the versions of this enum prefixed with \"NS_\" have been deprecated in favor of the unprefixed values.", + "type": "string", + "enumDescriptions": [ + "This outage notification is active. The event could be in the future, present, or past. See start_time and end_time for scheduling.", + "The outage associated with this notification was cancelled before the outage was due to start.", + "The outage associated with this notification is complete.", + "[Deprecated] This outage notification is active. The event could be in the future, present, or past. See start_time and end_time for scheduling.", + "[Deprecated] The outage associated with this notification was canceled before the outage was due to start." + ], + "enum": [ + "ACTIVE", + "CANCELLED", + "COMPLETED", + "NS_ACTIVE", + "NS_CANCELED" + ] + }, + "issueType": { + "description": "Form this outage is expected to take, which can take one of the following values: - OUTAGE: The Interconnect may be completely out of service for some or all of the specified window. - PARTIAL_OUTAGE: Some circuits comprising the Interconnect as a whole should remain up, but with reduced bandwidth. Note that the versions of this enum prefixed with \"IT_\" have been deprecated in favor of the unprefixed values.", "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." + "enumDescriptions": [ + "[Deprecated] The Interconnect may be completely out of service for some or all of the specified window.", + "[Deprecated] Some circuits comprising the Interconnect will be out of service during the expected window. The interconnect as a whole should remain up, albeit with reduced bandwidth.", + "The Interconnect may be completely out of service for some or all of the specified window.", + "Some circuits comprising the Interconnect will be out of service during the expected window. The interconnect as a whole should remain up, albeit with reduced bandwidth." + ], + "enum": [ + "IT_OUTAGE", + "IT_PARTIAL_OUTAGE", + "OUTAGE", + "PARTIAL_OUTAGE" + ] }, - "unreachables": { - "description": "[Output Only] Unreachable resources.", + "affectedCircuits": { + "description": "If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected.", + "type": "array", "items": { "type": "string" - }, - "type": "array" - }, - "items": { - "additionalProperties": { - "description": "Name of the scope containing this set of addresses.", - "$ref": "ForwardingRulesScopedList" - }, - "type": "object", - "description": "A list of ForwardingRulesScopedList resources." + } }, - "nextPageToken": { + "startTime": { + "description": "Scheduled start time for the outage (milliseconds since Unix epoch).", "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." + "format": "int64" }, - "kind": { - "description": "[Output Only] Type of resource. Always compute#forwardingRuleAggregatedList for lists of forwarding rules.", - "default": "compute#forwardingRuleAggregatedList", - "type": "string" + "endTime": { + "description": "Scheduled end time for the outage (milliseconds since Unix epoch).", + "type": "string", + "format": "int64" } - }, - "id": "ForwardingRuleAggregatedList", - "type": "object" + } }, - "ManagedInstance": { + "InterconnectCircuitInfo": { + "id": "InterconnectCircuitInfo", + "description": "Describes a single physical circuit between the Customer and Google. CircuitInfo objects are created by Google, so all fields are output only.", "type": "object", "properties": { - "currentAction": { - "description": "[Output Only] The current action that the managed instance group has scheduled for the instance. Possible values: - NONE The instance is running, and the managed instance group does not have any scheduled actions for this instance. - CREATING The managed instance group is creating this instance. If the group fails to create this instance, it will try again until it is successful. - CREATING_WITHOUT_RETRIES The managed instance group is attempting to create this instance only once. If the group fails to create this instance, it does not try again and the group's targetSize value is decreased instead. - RECREATING The managed instance group is recreating this instance. - DELETING The managed instance group is permanently deleting this instance. - ABANDONING The managed instance group is abandoning this instance. The instance will be removed from the instance group and from any target pools that are associated with this group. - RESTARTING The managed instance group is restarting the instance. - REFRESHING The managed instance group is applying configuration changes to the instance without stopping it. For example, the group can update the target pool list for an instance without stopping that instance. - VERIFYING The managed instance group has created the instance and it is in the process of being verified. ", - "enumDescriptions": [ - "The managed instance group is abandoning this instance. The instance will be removed from the instance group and from any target pools that are associated with this group.", - "The managed instance group is creating this instance. If the group fails to create this instance, it will try again until it is successful.", - "The managed instance group is attempting to create this instance only once. If the group fails to create this instance, it does not try again and the group's targetSize value is decreased.", - "The managed instance group is permanently deleting this instance.", - "The managed instance group has not scheduled any actions for this instance.", - "The managed instance group is recreating this instance.", - "The managed instance group is applying configuration changes to the instance without stopping it. For example, the group can update the target pool list for an instance without stopping that instance.", - "The managed instance group is restarting this instance.", - "The managed instance group is resuming this instance.", - "The managed instance group is starting this instance.", - "The managed instance group is stopping this instance.", - "The managed instance group is suspending this instance.", - "The managed instance group is verifying this already created instance. Verification happens every time the instance is (re)created or restarted and consists of: 1. Waiting until health check specified as part of this managed instance group's autohealing policy reports HEALTHY. Note: Applies only if autohealing policy has a health check specified 2. Waiting for addition verification steps performed as post-instance creation (subject to future extensions)." - ], - "enum": [ - "ABANDONING", - "CREATING", - "CREATING_WITHOUT_RETRIES", - "DELETING", - "NONE", - "RECREATING", - "REFRESHING", - "RESTARTING", - "RESUMING", - "STARTING", - "STOPPING", - "SUSPENDING", - "VERIFYING" - ], + "googleCircuitId": { + "description": "Google-assigned unique ID for this circuit. Assigned at circuit turn-up.", "type": "string" }, - "preservedStateFromPolicy": { - "description": "[Output Only] Preserved state generated based on stateful policy for this instance.", - "$ref": "PreservedState" + "googleDemarcId": { + "description": "Google-side demarc ID for this circuit. Assigned at circuit turn-up and provided by Google to the customer in the LOA.", + "type": "string" }, - "instanceHealth": { + "customerDemarcId": { + "description": "Customer-side demarc ID for this circuit.", + "type": "string" + } + } + }, + "InterconnectMacsec": { + "id": "InterconnectMacsec", + "description": "Configuration information for enabling Media Access Control security (MACsec) on this Cloud Interconnect connection between Google and your on-premises router.", + "type": "object", + "properties": { + "preSharedKeys": { + "description": "Required. A keychain placeholder describing a set of named key objects along with their start times. A MACsec CKN/CAK is generated for each key in the key chain. Google router automatically picks the key with the most recent startTime when establishing or re-establishing a MACsec secure link.", "type": "array", "items": { - "$ref": "ManagedInstanceInstanceHealth" - }, - "description": "[Output Only] Health state of the instance per health-check." + "$ref": "InterconnectMacsecPreSharedKey" + } }, - "lastAttempt": { - "$ref": "ManagedInstanceLastAttempt", - "description": "[Output Only] Information about the last attempt to create or delete the instance." + "failOpen": { + "description": "If set to true, the Interconnect connection is configured with a should-secure MACsec security policy, that allows the Google router to fallback to cleartext traffic if the MKA session cannot be established. By default, the Interconnect connection is configured with a must-secure security policy that drops all traffic if the MKA session cannot be established with your router.", + "type": "boolean" + } + } + }, + "InterconnectMacsecPreSharedKey": { + "id": "InterconnectMacsecPreSharedKey", + "description": "Describes a pre-shared key used to setup MACsec in static connectivity association key (CAK) mode.", + "type": "object", + "properties": { + "name": { + "description": "Required. A name for this pre-shared key. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "type": "string" }, - "instance": { - "description": "[Output Only] The URL of the instance. The URL can exist even if the instance has not yet been created.", + "startTime": { + "description": "A RFC3339 timestamp on or after which the key is valid. startTime can be in the future. If the keychain has a single key, startTime can be omitted. If the keychain has multiple keys, startTime is mandatory for each key. The start times of keys must be in increasing order. The start times of two consecutive keys must be at least 6 hours apart.", + "type": "string" + } + } + }, + "InterconnectList": { + "id": "InterconnectList", + "description": "Response to the list request, and contains a list of interconnects.", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of resource. Always compute#interconnectList for lists of interconnects.", + "default": "compute#interconnectList", "type": "string" }, "id": { - "format": "uint64", - "description": "[Output only] The unique identifier for this resource. This field is empty when instance does not exist.", + "description": "[Output Only] Unique identifier for the resource; defined by the server.", "type": "string" }, - "preservedStateFromConfig": { - "$ref": "PreservedState", - "description": "[Output Only] Preserved state applied from per-instance config for this instance." + "items": { + "description": "A list of Interconnect resources.", + "type": "array", + "items": { + "$ref": "Interconnect" + } }, - "instanceStatus": { - "enumDescriptions": [ - "The Nanny is halted and we are performing tear down tasks like network deprogramming, releasing quota, IP, tearing down disks etc.", - "Resources are being allocated for the instance.", - "The instance is in repair.", - "The instance is running.", - "All required resources have been allocated and the instance is being started.", - "The instance has stopped successfully.", - "The instance is currently stopping (either being deleted or killed).", - "The instance has suspended.", - "The instance is suspending.", - "The instance has stopped (either by explicit action or underlying failure)." - ], - "type": "string", - "description": "[Output Only] The status of the instance. This field is empty when the instance does not exist.", - "enum": [ - "DEPROVISIONING", - "PROVISIONING", - "REPAIRING", - "RUNNING", - "STAGING", - "STOPPED", - "STOPPING", - "SUSPENDED", - "SUSPENDING", - "TERMINATED" - ] + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" }, - "version": { - "$ref": "ManagedInstanceVersion", - "description": "[Output Only] Intended version of this instance." - } - }, - "description": "A Managed Instance resource.", - "id": "ManagedInstance" - }, - "InstanceGroupManagersListPerInstanceConfigsResp": { - "id": "InstanceGroupManagersListPerInstanceConfigsResp", - "properties": { "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - }, "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -21725,6 +21744,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -21743,6 +21763,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -21754,6 +21804,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -21771,559 +21822,312 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", "type": "string" }, "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", "items": { + "type": "object", "properties": { "key": { "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", "type": "string" }, "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" } - }, - "type": "object" - }, - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "type": "array" + } + } } - }, - "description": "[Output Only] Informational warning message.", - "type": "object" - }, - "items": { - "type": "array", - "description": "[Output Only] The list of PerInstanceConfig.", - "items": { - "$ref": "PerInstanceConfig" } - }, - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", - "type": "string" } - }, - "type": "object" + } }, - "DiskParams": { - "description": "Additional disk params.", + "InterconnectsGetDiagnosticsResponse": { + "id": "InterconnectsGetDiagnosticsResponse", + "description": "Response for the InterconnectsGetDiagnosticsRequest.", "type": "object", - "id": "DiskParams", "properties": { - "resourceManagerTags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Resource manager tags to be bound to the disk. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty." + "result": { + "$ref": "InterconnectDiagnostics" } } }, - "Address": { + "InterconnectDiagnostics": { + "id": "InterconnectDiagnostics", + "description": "Diagnostics information about the Interconnect connection, which contains detailed and current technical information about Google's side of the connection.", "type": "object", "properties": { - "ipVersion": { - "enum": [ - "IPV4", - "IPV6", - "UNSPECIFIED_VERSION" - ], - "description": "The IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address.", - "type": "string", - "enumDescriptions": [ - "", - "", - "" - ] - }, - "address": { - "description": "The static IP address represented by this resource.", + "macAddress": { + "description": "The MAC address of the Interconnect's bundle interface.", "type": "string" }, - "addressType": { - "enum": [ - "EXTERNAL", - "INTERNAL", - "UNSPECIFIED_TYPE" - ], - "type": "string", - "enumDescriptions": [ - "A publicly visible external IP address.", - "A private network IP address, for use with an Instance or Internal Load Balancer forwarding rule.", - "" - ], - "description": "The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL." + "arpCaches": { + "description": "A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently seen by the Google router in the ARP cache for the Interconnect. This will be empty when the Interconnect is not bundled.", + "type": "array", + "items": { + "$ref": "InterconnectDiagnosticsARPEntry" + } }, - "creationTimestamp": { - "description": "[Output Only] Creation timestamp in RFC3339 text format.", - "type": "string" + "links": { + "description": "A list of InterconnectDiagnostics.LinkStatus objects, describing the status for each link on the Interconnect.", + "type": "array", + "items": { + "$ref": "InterconnectDiagnosticsLinkStatus" + } }, - "networkTier": { - "enum": [ - "FIXED_STANDARD", - "PREMIUM", - "STANDARD", - "STANDARD_OVERRIDES_FIXED_STANDARD" - ], + "bundleOperationalStatus": { + "description": "The operational status of the bundle interface.", + "type": "string", "enumDescriptions": [ - "Public internet quality with fixed bandwidth.", - "High quality, Google-grade network tier, support for all networking products.", - "Public internet quality, only limited support for other networking products.", - "(Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured." + "If bundleAggregationType is LACP: LACP is not established and/or all links in the bundle have DOWN operational status. If bundleAggregationType is STATIC: one or more links in the bundle has DOWN operational status.", + "If bundleAggregationType is LACP: LACP is established and at least one link in the bundle has UP operational status. If bundleAggregationType is STATIC: all links in the bundle (typically just one) have UP operational status." ], - "description": "This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Internal IP addresses are always Premium Tier; global external IP addresses are always Premium Tier; regional external IP addresses can be either Standard or Premium Tier. If this field is not specified, it is assumed to be PREMIUM.", - "type": "string" - }, - "selfLink": { - "description": "[Output Only] Server-defined URL for the resource.", - "type": "string" - }, - "ipv6EndpointType": { "enum": [ - "NETLB", - "VM" - ], - "description": "The endpoint type of this address, which should be VM or NETLB. This is used for deciding which type of endpoint this address can be used after the external IPv6 address reservation.", - "type": "string", - "enumDescriptions": [ - "Reserved IPv6 address can be used on network load balancer.", - "Reserved IPv6 address can be used on VM." + "BUNDLE_OPERATIONAL_STATUS_DOWN", + "BUNDLE_OPERATIONAL_STATUS_UP" ] }, - "id": { - "format": "uint64", - "type": "string", - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server." - }, - "status": { + "bundleAggregationType": { + "description": "The aggregation type of the bundle interface.", "type": "string", - "enum": [ - "IN_USE", - "RESERVED", - "RESERVING" - ], - "description": "[Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. An address that is RESERVING is currently in the process of being reserved. A RESERVED address is currently reserved and available to use. An IN_USE address is currently being used by another resource and is not available.", "enumDescriptions": [ - "Address is being used by another resource and is not available.", - "Address is reserved and available to use.", - "Address is being reserved." - ] - }, - "description": { - "description": "An optional description of this resource. Provide this field when you create the resource.", - "type": "string" - }, - "prefixLength": { - "description": "The prefix length if the resource represents an IP range.", - "type": "integer", - "format": "int32" - }, - "network": { - "type": "string", - "description": "The URL of the network in which to reserve the address. This field can only be used with INTERNAL type with the VPC_PEERING purpose." - }, - "purpose": { - "enum": [ - "DNS_RESOLVER", - "GCE_ENDPOINT", - "IPSEC_INTERCONNECT", - "NAT_AUTO", - "PRIVATE_SERVICE_CONNECT", - "SERVERLESS", - "SHARED_LOADBALANCER_VIP", - "VPC_PEERING" + "LACP is enabled.", + "LACP is disabled." ], - "type": "string", - "description": "The purpose of this resource, which can be one of the following values: - GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges, load balancers, and similar resources. - DNS_RESOLVER for a DNS resolver address in a subnetwork for a Cloud DNS inbound forwarder IP addresses (regional internal IP address in a subnet of a VPC network) - VPC_PEERING for global internal IP addresses used for private services access allocated ranges. - NAT_AUTO for the regional external IP addresses used by Cloud NAT when allocating addresses using automatic NAT IP address allocation. - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an *HA VPN over Cloud Interconnect* configuration. These addresses are regional resources. - `SHARED_LOADBALANCER_VIP` for an internal IP address that is assigned to multiple internal forwarding rules. - `PRIVATE_SERVICE_CONNECT` for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose. ", - "enumDescriptions": [ - "DNS resolver address in the subnetwork.", - "VM internal/alias IP, Internal LB service IP, etc.", - "A regional internal IP address range reserved for the VLAN attachment that is used in HA VPN over Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment’s IP address range.", - "External IP automatically reserved for Cloud NAT.", - "A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL", - "A regional internal IP address range reserved for Serverless.", - "A private network IP address that can be shared by multiple Internal Load Balancer forwarding rules.", - "IP range for peer networks." + "enum": [ + "BUNDLE_AGGREGATION_TYPE_LACP", + "BUNDLE_AGGREGATION_TYPE_STATIC" ] - }, - "kind": { - "default": "compute#address", - "type": "string", - "description": "[Output Only] Type of the resource. Always compute#address for addresses." - }, - "region": { - "description": "[Output Only] The URL of the region where a regional address resides. For regional addresses, you must specify the region as a path parameter in the HTTP request URL. *This field is not applicable to global addresses.*", + } + } + }, + "InterconnectDiagnosticsARPEntry": { + "id": "InterconnectDiagnosticsARPEntry", + "description": "Describing the ARP neighbor entries seen on this link", + "type": "object", + "properties": { + "macAddress": { + "description": "The MAC address of this ARP neighbor.", "type": "string" }, - "name": { - "annotations": { - "required": [ - "compute.addresses.insert" - ] - }, - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit." - }, - "subnetwork": { - "type": "string", - "description": "The URL of the subnetwork in which to reserve the address. If an IP address is specified, it must be within the subnetwork's IP range. This field can only be used with INTERNAL type with a GCE_ENDPOINT or DNS_RESOLVER purpose." - }, - "users": { - "description": "[Output Only] The URLs of the resources that are using this address.", - "type": "array", - "items": { - "type": "string" - } + "ipAddress": { + "description": "The IP address of this ARP neighbor.", + "type": "string" } - }, - "id": "Address", - "description": "Represents an IP Address resource. Google Compute Engine has two IP Address resources: * [Global (external and internal)](https://cloud.google.com/compute/docs/reference/rest/v1/globalAddresses) * [Regional (external and internal)](https://cloud.google.com/compute/docs/reference/rest/v1/addresses) For more information, see Reserving a static external IP address." + } }, - "SourceInstanceProperties": { + "InterconnectDiagnosticsLinkStatus": { + "id": "InterconnectDiagnosticsLinkStatus", + "type": "object", "properties": { - "networkInterfaces": { - "type": "array", - "items": { - "$ref": "NetworkInterface" - }, - "description": "An array of network access configurations for this interface." + "circuitId": { + "description": "The unique ID for this link assigned during turn up by Google.", + "type": "string" }, - "scheduling": { - "description": "Specifies the scheduling options for the instances that are created from this machine image.", - "$ref": "Scheduling" + "googleDemarc": { + "description": "The Demarc address assigned by Google and provided in the LoA.", + "type": "string" }, - "deletionProtection": { - "description": "Whether the instance created from this machine image should be protected against deletion.", - "type": "boolean" + "receivingOpticalPower": { + "description": "An InterconnectDiagnostics.LinkOpticalPower object, describing the current value and status of the received light level.", + "$ref": "InterconnectDiagnosticsLinkOpticalPower" }, - "serviceAccounts": { - "type": "array", - "items": { - "$ref": "ServiceAccount" - }, - "description": "A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from this machine image. Use metadata queries to obtain the access tokens for these instances." + "transmittingOpticalPower": { + "description": "An InterconnectDiagnostics.LinkOpticalPower object, describing the current value and status of the transmitted light level.", + "$ref": "InterconnectDiagnosticsLinkOpticalPower" }, - "tags": { - "$ref": "Tags", - "description": "A list of tags to apply to the instances that are created from this machine image. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035." + "lacpStatus": { + "$ref": "InterconnectDiagnosticsLinkLACPStatus" }, - "minCpuPlatform": { - "description": "Minimum cpu/platform to be used by instances created from this machine image. The instance may be scheduled on the specified or newer cpu/platform. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: \"Intel Haswell\" or minCpuPlatform: \"Intel Sandy Bridge\". For more information, read Specifying a Minimum CPU Platform.", - "type": "string" + "operationalStatus": { + "description": "The operational status of the link.", + "type": "string", + "enumDescriptions": [ + "The interface is unable to communicate with the remote end.", + "The interface has low level communication with the remote end." + ], + "enum": [ + "LINK_OPERATIONAL_STATUS_DOWN", + "LINK_OPERATIONAL_STATUS_UP" + ] }, - "guestAccelerators": { - "items": { - "$ref": "AcceleratorConfig" - }, + "arpCaches": { + "description": "A list of InterconnectDiagnostics.ARPEntry objects, describing the ARP neighbor entries seen on this link. This will be empty if the link is bundled", "type": "array", - "description": "A list of guest accelerator cards' type and count to use for instances created from this machine image." - }, - "disks": { "items": { - "$ref": "SavedAttachedDisk" - }, - "type": "array", - "description": "An array of disks that are associated with the instances that are created from this machine image." - }, - "metadata": { - "$ref": "Metadata", - "description": "The metadata key/value pairs to assign to instances that are created from this machine image. These pairs can consist of custom metadata or predefined keys. See Project and instance metadata for more information." - }, - "description": { - "description": "An optional text description for the instances that are created from this machine image.", - "type": "string" - }, - "labels": { - "type": "object", - "description": "Labels to apply to instances that are created from this machine image.", - "additionalProperties": { - "type": "string" + "$ref": "InterconnectDiagnosticsARPEntry" } }, - "canIpForward": { - "description": "Enables instances created based on this machine image to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own. If these instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, specify true. If unsure, leave this set to false. See the Enable IP forwarding documentation for more information.", - "type": "boolean" - }, - "machineType": { - "description": "The machine type to use for instances that are created from this machine image.", - "type": "string" + "macsec": { + "description": "Describes the status of MACsec encryption on this link.", + "$ref": "InterconnectDiagnosticsMacsecStatus" + } + } + }, + "InterconnectDiagnosticsLinkOpticalPower": { + "id": "InterconnectDiagnosticsLinkOpticalPower", + "type": "object", + "properties": { + "value": { + "description": "Value of the current receiving or transmitting optical power, read in dBm. Take a known good optical value, give it a 10% margin and trigger warnings relative to that value. In general, a -7dBm warning and a -11dBm alarm are good optical value estimates for most links.", + "type": "number", + "format": "float" }, - "keyRevocationActionType": { + "state": { + "description": "The status of the current value when compared to the warning and alarm levels for the receiving or transmitting transceiver. Possible states include: - OK: The value has not crossed a warning threshold. - LOW_WARNING: The value has crossed below the low warning threshold. - HIGH_WARNING: The value has crossed above the high warning threshold. - LOW_ALARM: The value has crossed below the low alarm threshold. - HIGH_ALARM: The value has crossed above the high alarm threshold. ", "type": "string", - "description": "KeyRevocationActionType of the instance. Supported options are \"STOP\" and \"NONE\". The default value is \"NONE\" if it is not specified.", "enumDescriptions": [ - "Default value. This value is unused.", - "Indicates user chose no operation.", - "Indicates user chose to opt for VM shutdown on key revocation." + "The value has crossed above the high alarm threshold.", + "The value of the current optical power has crossed above the high warning threshold.", + "The value of the current optical power has crossed below the low alarm threshold.", + "The value of the current optical power has crossed below the low warning threshold.", + "The value of the current optical power has not crossed a warning threshold." ], "enum": [ - "KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED", - "NONE", - "STOP" + "HIGH_ALARM", + "HIGH_WARNING", + "LOW_ALARM", + "LOW_WARNING", + "OK" ] } - }, - "description": "DEPRECATED: Please use compute#instanceProperties instead. New properties will not be added to this field.", - "id": "SourceInstanceProperties", - "type": "object" + } }, - "BackendBucketCdnPolicy": { + "InterconnectDiagnosticsLinkLACPStatus": { + "id": "InterconnectDiagnosticsLinkLACPStatus", + "type": "object", "properties": { - "requestCoalescing": { - "description": "If true then Cloud CDN will combine multiple concurrent cache fill requests into a small number of requests to the origin.", - "type": "boolean" - }, - "signedUrlCacheMaxAgeSec": { - "format": "int64", - "type": "string", - "description": "Maximum number of seconds the response to a signed URL request will be considered fresh. After this time period, the response will be revalidated before being served. Defaults to 1hr (3600s). When serving responses to signed URL requests, Cloud CDN will internally behave as though all responses from this backend had a \"Cache-Control: public, max-age=[TTL]\" header, regardless of any existing Cache-Control header. The actual headers served in responses will not be altered." - }, - "cacheMode": { - "description": "Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. FORCE_CACHE_ALL Cache all content, ignoring any \"private\", \"no-store\" or \"no-cache\" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached.", + "state": { + "description": "The state of a LACP link, which can take one of the following values: - ACTIVE: The link is configured and active within the bundle. - DETACHED: The link is not configured within the bundle. This means that the rest of the object should be empty. ", "type": "string", - "enum": [ - "CACHE_ALL_STATIC", - "FORCE_CACHE_ALL", - "INVALID_CACHE_MODE", - "USE_ORIGIN_HEADERS" - ], "enumDescriptions": [ - "Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached.", - "Cache all content, ignoring any \"private\", \"no-store\" or \"no-cache\" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content.", - "", - "Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server." + "The link is configured and active within the bundle.", + "The link is not configured within the bundle, this means the rest of the object should be empty." + ], + "enum": [ + "ACTIVE", + "DETACHED" ] }, - "bypassCacheOnRequestHeaders": { - "items": { - "$ref": "BackendBucketCdnPolicyBypassCacheOnRequestHeader" - }, - "type": "array", - "description": "Bypass the cache when the specified request headers are matched - e.g. Pragma or Authorization headers. Up to 5 headers can be specified. The cache is bypassed for all cdnPolicy.cacheMode settings." - }, - "clientTtl": { - "format": "int32", - "description": "Specifies a separate client (e.g. browser client) maximum TTL. This is used to clamp the max-age (or Expires) value sent to the client. With FORCE_CACHE_ALL, the lesser of client_ttl and default_ttl is used for the response max-age directive, along with a \"public\" directive. For cacheable content in CACHE_ALL_STATIC mode, client_ttl clamps the max-age from the origin (if specified), or else sets the response max-age directive to the lesser of the client_ttl and default_ttl, and also ensures a \"public\" cache-control directive is present. If a client TTL is not specified, a default value (1 hour) will be used. The maximum allowed value is 31,622,400s (1 year).", - "type": "integer" - }, - "signedUrlKeyNames": { - "type": "array", - "description": "[Output Only] Names of the keys for signing request URLs.", - "items": { - "type": "string" - } - }, - "maxTtl": { - "type": "integer", - "format": "int32", - "description": "Specifies the maximum allowed TTL for cached content served by this origin. Cache directives that attempt to set a max-age or s-maxage higher than this, or an Expires header more than maxTTL seconds in the future will be capped at the value of maxTTL, as if it were the value of an s-maxage Cache-Control directive. Headers sent to the client will not be modified. Setting a TTL of \"0\" means \"always revalidate\". The maximum allowed value is 31,622,400s (1 year), noting that infrequently accessed objects may be evicted from the cache before the defined TTL." - }, - "negativeCachingPolicy": { - "items": { - "$ref": "BackendBucketCdnPolicyNegativeCachingPolicy" - }, - "type": "array", - "description": "Sets a cache TTL for the specified HTTP status code. negative_caching must be enabled to configure negative_caching_policy. Omitting the policy and leaving negative_caching enabled will use Cloud CDN's default cache TTLs. Note that when specifying an explicit negative_caching_policy, you should take care to specify a cache TTL for all response codes that you wish to cache. Cloud CDN will not apply any default negative caching when a policy exists." - }, - "cacheKeyPolicy": { - "$ref": "BackendBucketCdnPolicyCacheKeyPolicy", - "description": "The CacheKeyPolicy for this CdnPolicy." - }, - "serveWhileStale": { - "description": "Serve existing content from the cache (if available) when revalidating content with the origin, or when an error is encountered when refreshing the cache. This setting defines the default \"max-stale\" duration for any cached responses that do not specify a max-stale directive. Stale responses that exceed the TTL configured here will not be served. The default limit (max-stale) is 86400s (1 day), which will allow stale content to be served up to this limit beyond the max-age (or s-max-age) of a cached response. The maximum allowed value is 604800 (1 week). Set this to zero (0) to disable serve-while-stale.", - "type": "integer", - "format": "int32" - }, - "negativeCaching": { - "type": "boolean", - "description": "Negative caching allows per-status code TTLs to be set, in order to apply fine-grained caching for common errors or redirects. This can reduce the load on your origin and improve end-user experience by reducing response latency. When the cache mode is set to CACHE_ALL_STATIC or USE_ORIGIN_HEADERS, negative caching applies to responses with the specified response code that lack any Cache-Control, Expires, or Pragma: no-cache directives. When the cache mode is set to FORCE_CACHE_ALL, negative caching applies to all responses with the specified response code, and override any caching headers. By default, Cloud CDN will apply the following default TTLs to these status codes: HTTP 300 (Multiple Choice), 301, 308 (Permanent Redirects): 10m HTTP 404 (Not Found), 410 (Gone), 451 (Unavailable For Legal Reasons): 120s HTTP 405 (Method Not Found), 421 (Misdirected Request), 501 (Not Implemented): 60s. These defaults can be overridden in negative_caching_policy." + "googleSystemId": { + "description": "System ID of the port on Google's side of the LACP exchange.", + "type": "string" }, - "defaultTtl": { - "format": "int32", - "description": "Specifies the default TTL for cached content served by this origin for responses that do not have an existing valid TTL (max-age or s-max-age). Setting a TTL of \"0\" means \"always revalidate\". The value of defaultTTL cannot be set to a value greater than that of maxTTL, but can be equal. When the cacheMode is set to FORCE_CACHE_ALL, the defaultTTL will overwrite the TTL set in all responses. The maximum allowed value is 31,622,400s (1 year), noting that infrequently accessed objects may be evicted from the cache before the defined TTL.", - "type": "integer" + "neighborSystemId": { + "description": "System ID of the port on the neighbor's side of the LACP exchange.", + "type": "string" } - }, - "id": "BackendBucketCdnPolicy", - "description": "Message containing Cloud CDN configuration for a backend bucket.", - "type": "object" + } }, - "BackendServiceLocalityLoadBalancingPolicyConfig": { - "id": "BackendServiceLocalityLoadBalancingPolicyConfig", + "InterconnectDiagnosticsMacsecStatus": { + "id": "InterconnectDiagnosticsMacsecStatus", + "description": "Describes the status of MACsec encryption on the link.", + "type": "object", "properties": { - "policy": { - "$ref": "BackendServiceLocalityLoadBalancingPolicyConfigPolicy" + "operational": { + "description": "Indicates whether or not MACsec is operational on this link.", + "type": "boolean" }, - "customPolicy": { - "$ref": "BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy" + "ckn": { + "description": "Indicates the Connectivity Association Key Name (CKN) currently being used if MACsec is operational.", + "type": "string" } - }, - "type": "object", - "description": "Container for either a built-in LB policy supported by gRPC or Envoy or a custom one implemented by the end user." + } }, - "ResourceStatus": { - "id": "ResourceStatus", + "InterconnectsGetMacsecConfigResponse": { + "id": "InterconnectsGetMacsecConfigResponse", + "description": "Response for the InterconnectsGetMacsecConfigRequest.", "type": "object", - "description": "Contains output only fields. Use this sub-message for actual values set on Instance attributes as compared to the value requested by the user (intent) in their instance CRUD calls.", "properties": { - "physicalHost": { - "description": "[Output Only] An opaque ID of the host on which the VM is running.", + "result": { + "$ref": "InterconnectMacsecConfig" + }, + "etag": { + "description": "end_interface: MixerGetResponseWithEtagBuilder", "type": "string" } } }, - "AttachedDisk": { - "id": "AttachedDisk", + "InterconnectMacsecConfig": { + "id": "InterconnectMacsecConfig", + "description": "MACsec configuration information for the Interconnect connection. Contains the generated Connectivity Association Key Name (CKN) and the key (CAK) for this Interconnect connection.", + "type": "object", "properties": { - "source": { - "type": "string", - "description": "Specifies a valid partial or full URL to an existing Persistent Disk resource. When creating a new instance, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required except for local SSD. If desired, you can also attach existing non-root persistent disks using this property. This field is only applicable for persistent disks. Note that for InstanceTemplate, specify the disk name for zonal disk, and the URL for regional disk." - }, - "autoDelete": { - "type": "boolean", - "description": "Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance)." - }, - "licenses": { - "items": { - "type": "string" - }, - "description": "[Output Only] Any valid publicly visible licenses.", - "type": "array" - }, - "shieldedInstanceInitialState": { - "description": "[Output Only] shielded vm initial state stored on disk", - "$ref": "InitialStateConfig" - }, - "kind": { - "description": "[Output Only] Type of the resource. Always compute#attachedDisk for attached disks.", - "default": "compute#attachedDisk", - "type": "string" - }, - "guestOsFeatures": { + "preSharedKeys": { + "description": "A keychain placeholder describing a set of named key objects along with their start times. A MACsec CKN/CAK is generated for each key in the key chain. Google router automatically picks the key with the most recent startTime when establishing or re-establishing a MACsec secure link.", "type": "array", "items": { - "$ref": "GuestOsFeature" - }, - "description": "A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options." - }, - "initializeParams": { - "$ref": "AttachedDiskInitializeParams", - "description": "[Input Only] Specifies the parameters for a new disk that will be created alongside the new instance. Use initialization parameters to create boot disks or local SSDs attached to the new instance. This property is mutually exclusive with the source property; you can only define one or the other, but not both." - }, - "mode": { - "description": "The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not specified, the default is to attach the disk in READ_WRITE mode.", - "type": "string", - "enumDescriptions": [ - "Attaches this disk in read-only mode. Multiple virtual machines can use a disk in read-only mode at a time.", - "*[Default]* Attaches this disk in read-write mode. Only one virtual machine at a time can be attached to a disk in read-write mode." - ], - "enum": [ - "READ_ONLY", - "READ_WRITE" - ] - }, - "type": { - "description": "Specifies the type of the disk, either SCRATCH or PERSISTENT. If not specified, the default is PERSISTENT.", - "enumDescriptions": [ - "", - "" - ], - "type": "string", - "enum": [ - "PERSISTENT", - "SCRATCH" - ] - }, - "diskSizeGb": { - "description": "The size of the disk in GB.", - "format": "int64", + "$ref": "InterconnectMacsecConfigPreSharedKey" + } + } + } + }, + "InterconnectMacsecConfigPreSharedKey": { + "id": "InterconnectMacsecConfigPreSharedKey", + "description": "Describes a pre-shared key used to setup MACsec in static connectivity association key (CAK) mode.", + "type": "object", + "properties": { + "name": { + "description": "User provided name for this pre-shared key.", "type": "string" }, - "forceAttach": { - "type": "boolean", - "description": "[Input Only] Whether to force attach the regional disk even if it's currently attached to another instance. If you try to force attach a zonal disk to an instance, you will receive an error." - }, - "index": { - "type": "integer", - "format": "int32", - "description": "[Output Only] A zero-based index to this disk, where 0 is reserved for the boot disk. If you have many disks attached to an instance, each disk would have a unique index number." - }, - "diskEncryptionKey": { - "$ref": "CustomerEncryptionKey", - "description": "Encrypts or decrypts a disk using a customer-supplied encryption key. If you are creating a new disk, this field encrypts the new disk using an encryption key that you provide. If you are attaching an existing disk that is already encrypted, this field decrypts the disk using the customer-supplied encryption key. If you encrypt a disk using a customer-supplied key, you must provide the same key again when you attempt to use this resource at a later time. For example, you must provide the key when you create a snapshot or an image from the disk or when you attach the disk to a virtual machine instance. If you do not provide an encryption key, then the disk will be encrypted using an automatically generated key and you do not need to provide a key to use the disk later. Instance templates do not store customer-supplied encryption keys, so you cannot use your own keys to encrypt disks in a managed instance group." - }, - "architecture": { - "enum": [ - "ARCHITECTURE_UNSPECIFIED", - "ARM64", - "X86_64" - ], - "enumDescriptions": [ - "Default value indicating Architecture is not set.", - "Machines with architecture ARM64", - "Machines with architecture X86_64" - ], - "type": "string", - "description": "[Output Only] The architecture of the attached disk. Valid values are ARM64 or X86_64." - }, - "deviceName": { - "description": "Specifies a unique device name of your choice that is reflected into the /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. This name can be used to reference the device for mounting, resizing, and so on, from within the instance. If not specified, the server chooses a default device name to apply to this disk, in the form persistent-disk-x, where x is a number assigned by Google Compute Engine. This field is only applicable for persistent disks.", + "ckn": { + "description": "An auto-generated Connectivity Association Key Name (CKN) for this key.", "type": "string" }, - "boot": { - "description": "Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem.", - "type": "boolean" + "cak": { + "description": "An auto-generated Connectivity Association Key (CAK) for this key.", + "type": "string" }, - "interface": { - "description": "Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. For most machine types, the default is SCSI. Local SSDs can use either NVME or SCSI. In certain configurations, persistent disks can use NVMe. For more information, see About persistent disks.", - "enumDescriptions": [ - "", - "" - ], - "type": "string", - "enum": [ - "NVME", - "SCSI" - ] + "startTime": { + "description": "User provided timestamp on or after which this key is valid.", + "type": "string" } - }, - "type": "object", - "description": "An instance-attached disk resource." + } }, - "TargetHttpProxyList": { - "id": "TargetHttpProxyList", + "InterconnectLocationList": { + "id": "InterconnectLocationList", + "description": "Response to the list request, and contains a list of interconnect locations.", "type": "object", "properties": { + "kind": { + "description": "[Output Only] Type of resource. Always compute#interconnectLocationList for lists of interconnect locations.", + "default": "compute#interconnectLocationList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, "items": { - "description": "A list of TargetHttpProxy resources.", + "description": "A list of InterconnectLocation resources.", + "type": "array", "items": { - "$ref": "TargetHttpProxy" - }, - "type": "array" + "$ref": "InterconnectLocation" + } }, - "kind": { - "type": "string", - "default": "compute#targetHttpProxyList", - "description": "Type of resource. Always compute#targetHttpProxyList for lists of target HTTP proxies." + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" }, "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" }, "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, "code": { "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -22335,6 +22139,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -22353,7 +22158,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "type": "string", + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -22365,6 +22199,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -22384,251 +22219,235 @@ "UNREACHABLE" ] }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, "data": { "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", "items": { + "type": "object", "properties": { - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - }, "key": { "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" } - }, - "type": "object" - }, - "type": "array" + } + } } - }, - "type": "object", - "description": "[Output Only] Informational warning message." - }, - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", - "type": "string" - }, - "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", - "type": "string" - } - }, - "description": "A list of TargetHttpProxy resources." - }, - "TargetInstancesScopedList": { - "id": "TargetInstancesScopedList", - "type": "object", - "properties": { - "targetInstances": { - "type": "array", - "items": { - "$ref": "TargetInstance" - }, - "description": "A list of target instances contained in this scope." - }, - "warning": { - "type": "object", - "properties": { - "code": { - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "type": "string", - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ] - }, - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, - "data": { - "items": { - "type": "object", - "properties": { - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - }, - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - } - } - }, - "type": "array", - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } " - } - }, - "description": "Informational warning which replaces the list of addresses when the list is empty." + } } } }, - "TargetTcpProxy": { + "InterconnectLocation": { + "id": "InterconnectLocation", + "description": "Represents an Interconnect Attachment (VLAN) Location resource. You can use this resource to find location details about an Interconnect attachment (VLAN). For more information about interconnect attachments, read Creating VLAN Attachments.", "type": "object", - "description": "Represents a Target TCP Proxy resource. A target TCP proxy is a component of a TCP Proxy load balancer. Global forwarding rules reference target TCP proxy, and the target proxy then references an external backend service. For more information, read TCP Proxy Load Balancing overview.", - "id": "TargetTcpProxy", "properties": { + "kind": { + "description": "[Output Only] Type of the resource. Always compute#interconnectLocation for interconnect locations.", + "default": "compute#interconnectLocation", + "type": "string" + }, + "description": { + "description": "[Output Only] An optional description of the resource.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", + "type": "string" + }, "id": { "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", - "format": "uint64", + "type": "string", + "format": "uint64" + }, + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", "type": "string" }, - "region": { - "type": "string", - "description": "[Output Only] URL of the region where the regional TCP proxy resides. This field is not applicable to global TCP proxy." + "name": { + "description": "[Output Only] Name of the resource.", + "type": "string" }, - "service": { - "type": "string", - "description": "URL to the BackendService resource." + "peeringdbFacilityId": { + "description": "[Output Only] The peeringdb identifier for this facility (corresponding with a netfac type in peeringdb).", + "type": "string" }, - "description": { - "type": "string", - "description": "An optional description of this resource. Provide this property when you create the resource." + "address": { + "description": "[Output Only] The postal address of the Point of Presence, each line in the address is separated by a newline character.", + "type": "string" }, - "proxyBind": { - "description": "This field only applies when the forwarding rule that references this target proxy has a loadBalancingScheme set to INTERNAL_SELF_MANAGED. When this field is set to true, Envoy proxies set up inbound traffic interception and bind to the IP address and port specified in the forwarding rule. This is generally useful when using Traffic Director to configure Envoy as a gateway or middle proxy (in other words, not a sidecar proxy). The Envoy proxy listens for inbound requests and handles requests when it receives them. The default is false.", - "type": "boolean" + "facilityProvider": { + "description": "[Output Only] The name of the provider for this facility (e.g., EQUINIX).", + "type": "string" }, - "creationTimestamp": { + "facilityProviderFacilityId": { + "description": "[Output Only] A provider-assigned Identifier for this facility (e.g., Ashburn-DC1).", + "type": "string" + }, + "regionInfos": { + "description": "[Output Only] A list of InterconnectLocation.RegionInfo objects, that describe parameters pertaining to the relation between this InterconnectLocation and various Google Cloud regions.", + "type": "array", + "items": { + "$ref": "InterconnectLocationRegionInfo" + } + }, + "continent": { + "description": "[Output Only] Continent for this location, which can take one of the following values: - AFRICA - ASIA_PAC - EUROPE - NORTH_AMERICA - SOUTH_AMERICA ", "type": "string", - "description": "[Output Only] Creation timestamp in RFC3339 text format." + "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "enum": [ + "AFRICA", + "ASIA_PAC", + "C_AFRICA", + "C_ASIA_PAC", + "C_EUROPE", + "C_NORTH_AMERICA", + "C_SOUTH_AMERICA", + "EUROPE", + "NORTH_AMERICA", + "SOUTH_AMERICA" + ] }, - "kind": { - "default": "compute#targetTcpProxy", - "description": "[Output Only] Type of the resource. Always compute#targetTcpProxy for target TCP proxies.", + "city": { + "description": "[Output Only] Metropolitan area designator that indicates which city an interconnect is located. For example: \"Chicago, IL\", \"Amsterdam, Netherlands\".", "type": "string" }, - "name": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "availabilityZone": { + "description": "[Output Only] Availability zone for this InterconnectLocation. Within a metropolitan area (metro), maintenance will not be simultaneously scheduled in more than one availability zone. Example: \"zone1\" or \"zone2\".", + "type": "string" + }, + "status": { + "description": "[Output Only] The status of this InterconnectLocation, which can take one of the following values: - CLOSED: The InterconnectLocation is closed and is unavailable for provisioning new Interconnects. - AVAILABLE: The InterconnectLocation is available for provisioning new Interconnects. ", "type": "string", - "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash." + "enumDescriptions": [ + "The InterconnectLocation is available for provisioning new Interconnects.", + "The InterconnectLocation is closed for provisioning new Interconnects." + ], + "enum": [ + "AVAILABLE", + "CLOSED" + ] }, - "selfLink": { - "description": "[Output Only] Server-defined URL for the resource.", + "supportsPzs": { + "description": "[Output Only] Reserved for future use.", + "type": "boolean" + }, + "availableFeatures": { + "description": "[Output only] List of features available at this InterconnectLocation, which can take one of the following values: - MACSEC ", + "type": "array", + "items": { + "type": "string", + "enumDescriptions": [ + "Media Access Control security (MACsec)" + ], + "enum": [ + "IF_MACSEC" + ] + } + }, + "availableLinkTypes": { + "description": "[Output only] List of link types available at this InterconnectLocation, which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR - LINK_TYPE_ETHERNET_100G_LR ", + "type": "array", + "items": { + "type": "string", + "enumDescriptions": [ + "100G Ethernet, LR Optics.", + "10G Ethernet, LR Optics. [(rate_bps) = 10000000000];" + ], + "enum": [ + "LINK_TYPE_ETHERNET_100G_LR", + "LINK_TYPE_ETHERNET_10G_LR" + ] + } + } + } + }, + "InterconnectLocationRegionInfo": { + "id": "InterconnectLocationRegionInfo", + "description": "Information about any potential InterconnectAttachments between an Interconnect at a specific InterconnectLocation, and a specific Cloud Region.", + "type": "object", + "properties": { + "region": { + "description": "URL for the region of this location.", "type": "string" }, - "proxyHeader": { - "description": "Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.", + "expectedRttMs": { + "description": "Expected round-trip time in milliseconds, from this InterconnectLocation to a VM in this region.", + "type": "string", + "format": "int64" + }, + "locationPresence": { + "description": "Identifies the network presence of this location.", "type": "string", - "enum": [ - "NONE", - "PROXY_V1" - ], "enumDescriptions": [ - "", - "" + "This region is not in any common network presence with this InterconnectLocation.", + "This region shares the same regional network presence as this InterconnectLocation.", + "[Deprecated] This region is not in any common network presence with this InterconnectLocation.", + "[Deprecated] This region shares the same regional network presence as this InterconnectLocation." + ], + "enum": [ + "GLOBAL", + "LOCAL_REGION", + "LP_GLOBAL", + "LP_LOCAL_REGION" ] } } }, - "OperationAggregatedList": { + "InterconnectRemoteLocationList": { + "id": "InterconnectRemoteLocationList", + "description": "Response to the list request, and contains a list of interconnect remote locations.", "type": "object", "properties": { - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", + "kind": { + "description": "[Output Only] Type of resource. Always compute#interconnectRemoteLocationList for lists of interconnect remote locations.", + "default": "compute#interconnectRemoteLocationList", "type": "string" }, - "unreachables": { + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of InterconnectRemoteLocation resources.", "type": "array", "items": { - "type": "string" - }, - "description": "[Output Only] Unreachable resources." + "$ref": "InterconnectRemoteLocation" + } }, - "kind": { - "description": "[Output Only] Type of resource. Always `compute#operationAggregatedList` for aggregated lists of operations.", - "type": "string", - "default": "compute#operationAggregatedList" + "nextPageToken": { + "description": "[Output Only] This token lets you get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" }, "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { "code": { - "type": "string", "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -22640,6 +22459,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -22657,80 +22477,37 @@ "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", "When undeclared properties in the schema are present", "A given scope cannot be reached." - ] - }, - "data": { - "type": "array", - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "items": { - "type": "object", - "properties": { - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - }, - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - } - } - } - }, - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - } - }, - "type": "object", - "description": "[Output Only] Informational warning message." - }, - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than `maxResults`, use the `nextPageToken` as a value for the query parameter `pageToken` in the next list request. Subsequent list requests will have their own `nextPageToken` to continue paging through the results." - }, - "items": { - "type": "object", - "description": "[Output Only] A map of scoped operation lists.", - "additionalProperties": { - "description": "[Output Only] Name of the scope containing this set of operations.", - "$ref": "OperationsScopedList" - } - }, - "id": { - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", - "type": "string" - } - }, - "id": "OperationAggregatedList" - }, - "NotificationEndpointList": { - "type": "object", - "id": "NotificationEndpointList", - "properties": { - "warning": { - "properties": { - "data": { - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "items": { - "type": "object", - "properties": { - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - }, - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - } - } - }, - "type": "array" - }, - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, - "code": { + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -22742,6 +22519,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -22759,195 +22537,398 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], - "type": "string", - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response." + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } } - }, - "description": "[Output Only] Informational warning message.", - "type": "object" - }, - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", - "type": "string" - }, - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", - "type": "string" - }, - "items": { - "description": "A list of NotificationEndpoint resources.", - "type": "array", - "items": { - "$ref": "NotificationEndpoint" } - }, - "kind": { - "default": "compute#notificationEndpointList", - "type": "string", - "description": "[Output Only] Type of the resource. Always compute#notificationEndpoint for notification endpoints." - }, - "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", - "type": "string" } } }, - "HealthCheckLogConfig": { - "id": "HealthCheckLogConfig", - "properties": { - "enable": { - "description": "Indicates whether or not to export logs. This is false by default, which means no health check logging will be done.", - "type": "boolean" - } - }, - "description": "Configuration of logging on a health check. If logging is enabled, logs will be exported to Stackdriver.", - "type": "object" - }, - "StatefulPolicyPreservedState": { - "id": "StatefulPolicyPreservedState", - "properties": { - "disks": { - "description": "Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.", - "additionalProperties": { - "$ref": "StatefulPolicyPreservedStateDiskDevice" - }, - "type": "object" - } - }, - "description": "Configuration of preserved resources.", - "type": "object" - }, - "RouterMd5AuthenticationKey": { - "id": "RouterMd5AuthenticationKey", + "InterconnectRemoteLocation": { + "id": "InterconnectRemoteLocation", + "description": "Represents a Cross-Cloud Interconnect Remote Location resource. You can use this resource to find remote location details about an Interconnect attachment (VLAN).", + "type": "object", "properties": { - "name": { - "description": "Name used to identify the key. Must be unique within a router. Must be referenced by at least one bgpPeer. Must comply with RFC1035.", - "annotations": { - "required": [ - "compute.routers.insert", - "compute.routers.update" - ] - }, + "kind": { + "description": "[Output Only] Type of the resource. Always compute#interconnectRemoteLocation for interconnect remote locations.", + "default": "compute#interconnectRemoteLocation", "type": "string" }, - "key": { - "annotations": { - "required": [ - "compute.routers.insert" - ] - }, - "description": "[Input only] Value of the key. For patch and update calls, it can be skipped to copy the value from the previous configuration. This is allowed if the key with the same name existed before the operation. Maximum length is 80 characters. Can only contain printable ASCII characters.", + "description": { + "description": "[Output Only] An optional description of the resource.", "type": "string" - } - }, - "type": "object" - }, - "NodeGroupAggregatedList": { - "id": "NodeGroupAggregatedList", - "type": "object", - "properties": { - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", "type": "string" }, "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", + "type": "string", + "format": "uint64" + }, + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", "type": "string" }, - "items": { - "description": "A list of NodeGroupsScopedList resources.", - "additionalProperties": { - "description": "[Output Only] Name of the scope containing this set of node groups.", - "$ref": "NodeGroupsScopedList" + "name": { + "description": "[Output Only] Name of the resource.", + "type": "string" + }, + "peeringdbFacilityId": { + "description": "[Output Only] The peeringdb identifier for this facility (corresponding with a netfac type in peeringdb).", + "type": "string" + }, + "address": { + "description": "[Output Only] The postal address of the Point of Presence, each line in the address is separated by a newline character.", + "type": "string" + }, + "facilityProvider": { + "description": "[Output Only] The name of the provider for this facility (e.g., EQUINIX).", + "type": "string" + }, + "facilityProviderFacilityId": { + "description": "[Output Only] A provider-assigned Identifier for this facility (e.g., Ashburn-DC1).", + "type": "string" + }, + "continent": { + "description": "[Output Only] Continent for this location, which can take one of the following values: - AFRICA - ASIA_PAC - EUROPE - NORTH_AMERICA - SOUTH_AMERICA ", + "type": "string", + "enumDescriptions": [ + "", + "", + "", + "", + "" + ], + "enum": [ + "AFRICA", + "ASIA_PAC", + "EUROPE", + "NORTH_AMERICA", + "SOUTH_AMERICA" + ] + }, + "city": { + "description": "[Output Only] Metropolitan area designator that indicates which city an interconnect is located. For example: \"Chicago, IL\", \"Amsterdam, Netherlands\".", + "type": "string" + }, + "status": { + "description": "[Output Only] The status of this InterconnectRemoteLocation, which can take one of the following values: - CLOSED: The InterconnectRemoteLocation is closed and is unavailable for provisioning new Cross-Cloud Interconnects. - AVAILABLE: The InterconnectRemoteLocation is available for provisioning new Cross-Cloud Interconnects. ", + "type": "string", + "enumDescriptions": [ + "The InterconnectRemoteLocation is available for provisioning new Cross-Cloud Interconnects.", + "The InterconnectRemoteLocation is closed for provisioning new Cross-Cloud Interconnects." + ], + "enum": [ + "AVAILABLE", + "CLOSED" + ] + }, + "remoteService": { + "description": "[Output Only] Indicates the service provider present at the remote location. Example values: \"Amazon Web Services\", \"Microsoft Azure\".", + "type": "string" + }, + "permittedConnections": { + "description": "[Output Only] Permitted connections.", + "type": "array", + "items": { + "$ref": "InterconnectRemoteLocationPermittedConnections" + } + }, + "constraints": { + "description": "[Output Only] Constraints on the parameters for creating Cross-Cloud Interconnect and associated InterconnectAttachments.", + "$ref": "InterconnectRemoteLocationConstraints" + }, + "attachmentConfigurationConstraints": { + "description": "[Output Only] Subset of fields from InterconnectAttachment's |configurationConstraints| field that apply to all attachments for this remote location.", + "$ref": "InterconnectAttachmentConfigurationConstraints" + }, + "lacp": { + "description": "[Output Only] Link Aggregation Control Protocol (LACP) constraints, which can take one of the following values: LACP_SUPPORTED, LACP_UNSUPPORTED", + "type": "string", + "enumDescriptions": [ + "LACP_SUPPORTED: LACP is supported, and enabled by default on the Cross-Cloud Interconnect.", + "LACP_UNSUPPORTED: LACP is not supported and is not be enabled on this port. GetDiagnostics shows bundleAggregationType as \"static\". GCP does not support LAGs without LACP, so requestedLinkCount must be 1." + ], + "enum": [ + "LACP_SUPPORTED", + "LACP_UNSUPPORTED" + ] + }, + "maxLagSize100Gbps": { + "description": "[Output Only] The maximum number of 100 Gbps ports supported in a link aggregation group (LAG). When linkType is 100 Gbps, requestedLinkCount cannot exceed max_lag_size_100_gbps.", + "type": "integer", + "format": "int32" + }, + "maxLagSize10Gbps": { + "description": "[Output Only] The maximum number of 10 Gbps ports supported in a link aggregation group (LAG). When linkType is 10 Gbps, requestedLinkCount cannot exceed max_lag_size_10_gbps.", + "type": "integer", + "format": "int32" + } + } + }, + "InterconnectRemoteLocationPermittedConnections": { + "id": "InterconnectRemoteLocationPermittedConnections", + "type": "object", + "properties": { + "interconnectLocation": { + "description": "[Output Only] URL of an Interconnect location that is permitted to connect to this Interconnect remote location.", + "type": "string" + } + } + }, + "InterconnectRemoteLocationConstraints": { + "id": "InterconnectRemoteLocationConstraints", + "type": "object", + "properties": { + "subnetLengthRange": { + "description": "[Output Only] [min-length, max-length] The minimum and maximum value (inclusive) for the IPv4 subnet length. For example, an interconnectRemoteLocation for Azure has {min: 30, max: 30} because Azure requires /30 subnets. This range specifies the values supported by both cloud providers. Interconnect currently supports /29 and /30 IPv4 subnet lengths. If a remote cloud has no constraint on IPv4 subnet length, the range would thus be {min: 29, max: 30}. ", + "$ref": "InterconnectRemoteLocationConstraintsSubnetLengthRange" + }, + "portPairVlan": { + "description": "[Output Only] Port pair VLAN constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_VLAN, PORT_PAIR_MATCHING_VLAN", + "type": "string", + "enumDescriptions": [ + "If PORT_PAIR_MATCHING_VLAN, the Interconnect for this attachment is part of a pair of ports that should have matching VLAN allocations. This occurs with Cross-Cloud Interconnect to Azure remote locations. While GCP's API does not explicitly group pairs of ports, the UI uses this field to ensure matching VLAN ids when configuring a redundant VLAN pair.", + "PORT_PAIR_UNCONSTRAINED_VLAN means there is no constraint." + ], + "enum": [ + "PORT_PAIR_MATCHING_VLAN", + "PORT_PAIR_UNCONSTRAINED_VLAN" + ] + }, + "portPairRemoteLocation": { + "description": "[Output Only] Port pair remote location constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION. GCP's API refers only to individual ports, but the UI uses this field when ordering a pair of ports, to prevent users from accidentally ordering something that is incompatible with their cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud Interconnect ports, and one of them uses a remote location with portPairMatchingRemoteLocation set to matching, the UI requires that both ports use the same remote location.", + "type": "string", + "enumDescriptions": [ + "If PORT_PAIR_MATCHING_REMOTE_LOCATION, the remote cloud provider allocates ports in pairs, and the user should choose the same remote location for both ports.", + "If PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, a user may opt to provision a redundant pair of Cross-Cloud Interconnects using two different remote locations in the same city." + ], + "enum": [ + "PORT_PAIR_MATCHING_REMOTE_LOCATION", + "PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION" + ] + } + } + }, + "InterconnectRemoteLocationConstraintsSubnetLengthRange": { + "id": "InterconnectRemoteLocationConstraintsSubnetLengthRange", + "type": "object", + "properties": { + "min": { + "type": "integer", + "format": "int32" + }, + "max": { + "type": "integer", + "format": "int32" + } + } + }, + "LicenseCode": { + "id": "LicenseCode", + "description": "Represents a License Code resource. A License Code is a unique identifier used to represent a license resource. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. ", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of resource. Always compute#licenseCode for licenses.", + "default": "compute#licenseCode", + "type": "string" + }, + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", + "type": "string", + "format": "uint64" + }, + "name": { + "description": "[Output Only] Name of the resource. The name is 1-20 characters long and must be a valid 64 bit integer.", + "pattern": "[0-9]{0,20}?", + "annotations": { + "required": [ + "compute.licenses.insert" + ] + }, + "type": "string" + }, + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" + }, + "description": { + "description": "[Output Only] Description of this License Code.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", + "type": "string" + }, + "transferable": { + "description": "[Output Only] If true, the license will remain attached when creating images or snapshots from disks. Otherwise, the license is not transferred.", + "type": "boolean" + }, + "state": { + "description": "[Output Only] Current state of this License Code.", + "type": "string", + "enumDescriptions": [ + "Machines are not allowed to attach boot disks with this License Code. Requests to create new resources with this license will be rejected.", + "Use is allowed for anyone with USE_READ_ONLY access to this License Code.", + "Use of this license is limited to a project whitelist.", + "", + "Reserved state." + ], + "enum": [ + "DISABLED", + "ENABLED", + "RESTRICTED", + "STATE_UNSPECIFIED", + "TERMINATED" + ] + }, + "licenseAlias": { + "description": "[Output Only] URL and description aliases of Licenses with the same License Code.", + "type": "array", + "items": { + "$ref": "LicenseCodeLicenseAlias" + } + } + } + }, + "LicenseCodeLicenseAlias": { + "id": "LicenseCodeLicenseAlias", + "type": "object", + "properties": { + "selfLink": { + "description": "[Output Only] URL of license corresponding to this License Code.", + "type": "string" + }, + "description": { + "description": "[Output Only] Description of this License Code.", + "type": "string" + } + } + }, + "License": { + "id": "License", + "description": "Represents a License resource. A License represents billing and aggregate usage data for public and marketplace images. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. ", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of resource. Always compute#license for licenses.", + "default": "compute#license", + "type": "string" + }, + "name": { + "description": "Name of the resource. The name must be 1-63 characters long and comply with RFC1035.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "annotations": { + "required": [ + "compute.images.insert" + ] }, - "type": "object" + "type": "string" + }, + "chargesUseFee": { + "description": "[Output Only] Deprecated. This field no longer reflects whether a license charges a usage fee.", + "type": "boolean" + }, + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", + "type": "string", + "format": "uint64" + }, + "licenseCode": { + "description": "[Output Only] The unique code used to attach this license to images, snapshots, and disks.", + "type": "string", + "format": "uint64" + }, + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" + }, + "description": { + "description": "An optional textual description of the resource; provided by the client when the resource is created.", + "type": "string" + }, + "transferable": { + "description": "If false, licenses will not be copied from the source resource when creating an image from a disk, disk from snapshot, or snapshot from disk.", + "type": "boolean" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", + "type": "string" + }, + "resourceRequirements": { + "$ref": "LicenseResourceRequirements" + } + } + }, + "LicenseResourceRequirements": { + "id": "LicenseResourceRequirements", + "type": "object", + "properties": { + "minGuestCpuCount": { + "description": "Minimum number of guest cpus required to use the Instance. Enforced at Instance creation and Instance start.", + "type": "integer", + "format": "int32" + }, + "minMemoryMb": { + "description": "Minimum memory required to use the Instance. Enforced at Instance creation and Instance start.", + "type": "integer", + "format": "int32" + } + } + }, + "LicensesListResponse": { + "id": "LicensesListResponse", + "type": "object", + "properties": { + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of License resources.", + "type": "array", + "items": { + "$ref": "License" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" }, "warning": { + "description": "[Output Only] Informational warning message.", "type": "object", "properties": { - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - }, - "data": { - "items": { - "properties": { - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - }, - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - } - }, - "type": "object" - }, - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "type": "array" - }, "code": { - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], - "type": "string", "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -22959,6 +22940,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -22976,73 +22958,37 @@ "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", "When undeclared properties in the schema are present", "A given scope cannot be reached." - ] - } - }, - "description": "[Output Only] Informational warning message." - }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." - }, - "kind": { - "default": "compute#nodeGroupAggregatedList", - "description": "[Output Only] Type of resource.Always compute#nodeGroupAggregatedList for aggregated lists of node groups.", - "type": "string" - }, - "unreachables": { - "items": { - "type": "string" - }, - "description": "[Output Only] Unreachable resources.", - "type": "array" - } - } - }, - "InstancesStartWithEncryptionKeyRequest": { - "properties": { - "disks": { - "description": "Array of disks associated with this instance that are protected with a customer-supplied encryption key. In order to start the instance, the disk url and its corresponding key must be provided. If the disk is not protected with a customer-supplied encryption key it should not be specified.", - "type": "array", - "items": { - "$ref": "CustomerEncryptionKeyProtectedDisk" - } - } - }, - "type": "object", - "id": "InstancesStartWithEncryptionKeyRequest" - }, - "TargetHttpsProxyAggregatedList": { - "properties": { - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", - "type": "string" - }, - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", - "type": "string" - }, - "items": { - "description": "A list of TargetHttpsProxiesScopedList resources.", - "type": "object", - "additionalProperties": { - "$ref": "TargetHttpsProxiesScopedList", - "description": "Name of the scope containing this set of TargetHttpsProxies." - } - }, - "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." - }, - "warning": { - "description": "[Output Only] Informational warning message.", - "type": "object", - "properties": { - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - }, - "code": { + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -23054,6 +23000,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -23071,7 +23018,67 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + } + } + }, + "MachineImageList": { + "id": "MachineImageList", + "description": "A list of machine images.", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] The resource type, which is always compute#machineImagesListResponse for machine image lists.", + "default": "compute#machineImageList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of MachineImage resources.", + "type": "array", + "items": { + "$ref": "MachineImage" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, + "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", + "properties": { + "code": { "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", "type": "string", "enumDescriptions": [ @@ -23085,6 +23092,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -23102,8 +23110,72 @@ "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", "When undeclared properties in the schema are present", "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" ] }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, "data": { "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", "type": "array", @@ -23111,8 +23183,8 @@ "type": "object", "properties": { "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" }, "value": { "description": "[Output Only] A warning data value corresponding to the key.", @@ -23122,595 +23194,419 @@ } } } - }, - "unreachables": { - "items": { - "type": "string" - }, - "type": "array", - "description": "[Output Only] Unreachable resources." - }, - "kind": { - "description": "[Output Only] Type of resource. Always compute#targetHttpsProxyAggregatedList for lists of Target HTTP Proxies.", - "default": "compute#targetHttpsProxyAggregatedList", - "type": "string" } - }, - "type": "object", - "id": "TargetHttpsProxyAggregatedList" + } }, - "PublicDelegatedPrefix": { + "MachineImage": { + "id": "MachineImage", + "description": "Represents a machine image resource. A machine image is a Compute Engine resource that stores all the configuration, metadata, permissions, and data from one or more disks required to create a Virtual machine (VM) instance. For more information, see Machine images.", "type": "object", "properties": { - "isLiveMigration": { - "description": "If true, the prefix will be live migrated.", - "type": "boolean" + "kind": { + "description": "[Output Only] The resource type, which is always compute#machineImage for machine image.", + "default": "compute#machineImage", + "type": "string" }, - "region": { + "id": { + "description": "[Output Only] A unique identifier for this machine image. The server defines this identifier.", "type": "string", - "description": "[Output Only] URL of the region where the public delegated prefix resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body." - }, - "status": { - "type": "string", - "enumDescriptions": [ - "The public delegated prefix is active.", - "The public delegated prefix is being deprovsioned.", - "The public delegated prefix is being initialized and addresses cannot be created yet.", - "The public delegated prefix is currently withdrawn but ready to be announced." - ], - "enum": [ - "ANNOUNCED", - "DELETING", - "INITIALIZING", - "READY_TO_ANNOUNCE" - ], - "description": "[Output Only] The status of the public delegated prefix, which can be one of following values: - `INITIALIZING` The public delegated prefix is being initialized and addresses cannot be created yet. - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration prefix and is active. - `ANNOUNCED` The public delegated prefix is active. - `DELETING` The public delegated prefix is being deprovsioned. " - }, - "description": { - "type": "string", - "description": "An optional description of this resource. Provide this property when you create the resource." - }, - "publicDelegatedSubPrefixs": { - "type": "array", - "description": "The list of sub public delegated prefixes that exist for this public delegated prefix.", - "items": { - "$ref": "PublicDelegatedPrefixPublicDelegatedSubPrefix" - } + "format": "uint64" }, "creationTimestamp": { - "type": "string", - "description": "[Output Only] Creation timestamp in RFC3339 text format." + "description": "[Output Only] The creation timestamp for this machine image in RFC3339 text format.", + "type": "string" }, "name": { - "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", - "type": "string", + "description": "Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "annotations": { "required": [ - "compute.publicDelegatedPrefixes.insert" + "compute.machineImages.insert" ] - } - }, - "parentPrefix": { - "description": "The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix.", + }, "type": "string" }, - "id": { - "description": "[Output Only] The unique identifier for the resource type. The server generates this identifier.", - "type": "string", - "format": "uint64" + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource.", + "type": "string" }, "selfLink": { - "description": "[Output Only] Server-defined URL for the resource.", + "description": "[Output Only] The URL for this machine image. The server defines this URL.", "type": "string" }, - "fingerprint": { - "type": "string", - "description": "Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a new PublicDelegatedPrefix. An up-to-date fingerprint must be provided in order to update the PublicDelegatedPrefix, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a PublicDelegatedPrefix.", - "format": "byte" + "sourceInstance": { + "description": "The source instance used to create the machine image. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /instances/instance - projects/project/zones/zone/instances/instance ", + "type": "string" }, - "kind": { - "default": "compute#publicDelegatedPrefix", + "status": { + "description": "[Output Only] The status of the machine image. One of the following values: INVALID, CREATING, READY, DELETING, and UPLOADING.", "type": "string", - "description": "[Output Only] Type of the resource. Always compute#publicDelegatedPrefix for public delegated prefixes." + "enumDescriptions": [ + "", + "", + "", + "", + "" + ], + "enum": [ + "CREATING", + "DELETING", + "INVALID", + "READY", + "UPLOADING" + ] }, - "ipCidrRange": { + "sourceInstanceProperties": { + "description": "[Output Only] DEPRECATED: Please use instance_properties instead for source instance related properties. New properties will not be added to this field.", + "$ref": "SourceInstanceProperties" + }, + "instanceProperties": { + "description": "[Output Only] Properties of source instance", + "$ref": "InstanceProperties" + }, + "savedDisks": { + "description": "An array of Machine Image specific properties for disks attached to the source instance", + "type": "array", + "items": { + "$ref": "SavedDisk" + } + }, + "storageLocations": { + "description": "The regional or multi-regional Cloud Storage bucket location where the machine image is stored.", + "type": "array", + "items": { + "type": "string" + } + }, + "machineImageEncryptionKey": { + "description": "Encrypts the machine image using a customer-supplied encryption key. After you encrypt a machine image using a customer-supplied key, you must provide the same key if you use the machine image later. For example, you must provide the encryption key when you create an instance from the encrypted machine image in a future request. Customer-supplied encryption keys do not protect access to metadata of the machine image. If you do not provide an encryption key when creating the machine image, then the machine image will be encrypted using an automatically generated key and you do not need to provide a key to use the machine image later.", + "$ref": "CustomerEncryptionKey" + }, + "guestFlush": { + "description": "[Input Only] Whether to attempt an application consistent machine image by informing the OS to prepare for the snapshot process.", + "type": "boolean" + }, + "sourceDiskEncryptionKeys": { + "description": "[Input Only] The customer-supplied encryption key of the disks attached to the source instance. Required if the source disk is protected by a customer-supplied encryption key.", + "type": "array", + "items": { + "$ref": "SourceDiskEncryptionKey" + } + }, + "totalStorageBytes": { + "description": "[Output Only] Total size of the storage used by the machine image.", "type": "string", - "description": "The IPv4 address range, in CIDR format, represented by this public delegated prefix." + "format": "int64" + }, + "satisfiesPzs": { + "description": "[Output Only] Reserved for future use.", + "type": "boolean" + }, + "satisfiesPzi": { + "description": "Output only. Reserved for future use.", + "readOnly": true, + "type": "boolean" } - }, - "description": "A PublicDelegatedPrefix resource represents an IP block within a PublicAdvertisedPrefix that is configured within a single cloud scope (global or region). IPs in the block can be allocated to resources within that scope. Public delegated prefixes may be further broken up into smaller IP blocks in the same scope as the parent block.", - "id": "PublicDelegatedPrefix" + } }, - "AutoscalingPolicyCpuUtilization": { + "SourceInstanceProperties": { + "id": "SourceInstanceProperties", + "description": "DEPRECATED: Please use compute#instanceProperties instead. New properties will not be added to this field.", "type": "object", "properties": { - "predictiveMethod": { - "description": "Indicates whether predictive autoscaling based on CPU metric is enabled. Valid values are: * NONE (default). No predictive method is used. The autoscaler scales the group to meet current demand based on real-time metrics. * OPTIMIZE_AVAILABILITY. Predictive autoscaling improves availability by monitoring daily and weekly load patterns and scaling out ahead of anticipated demand.", - "enumDescriptions": [ - "No predictive method is used. The autoscaler scales the group to meet current demand based on real-time metrics", - "Predictive autoscaling improves availability by monitoring daily and weekly load patterns and scaling out ahead of anticipated demand." - ], - "enum": [ - "NONE", - "OPTIMIZE_AVAILABILITY" - ], + "description": { + "description": "An optional text description for the instances that are created from this machine image.", "type": "string" }, - "utilizationTarget": { - "type": "number", - "format": "double", - "description": "The target CPU utilization that the autoscaler maintains. Must be a float value in the range (0, 1]. If not specified, the default is 0.6. If the CPU level is below the target utilization, the autoscaler scales in the number of instances until it reaches the minimum number of instances you specified or until the average CPU of your instances reaches the target utilization. If the average CPU is above the target utilization, the autoscaler scales out until it reaches the maximum number of instances you specified or until the average utilization reaches the target utilization." - } - }, - "id": "AutoscalingPolicyCpuUtilization", - "description": "CPU utilization policy." - }, - "ConsistentHashLoadBalancerSettingsHttpCookie": { - "id": "ConsistentHashLoadBalancerSettingsHttpCookie", - "properties": { - "ttl": { - "$ref": "Duration", - "description": "Lifetime of the cookie." + "tags": { + "description": "A list of tags to apply to the instances that are created from this machine image. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035.", + "$ref": "Tags" }, - "name": { - "type": "string", - "description": "Name of the cookie." + "machineType": { + "description": "The machine type to use for instances that are created from this machine image.", + "type": "string" }, - "path": { - "description": "Path to set for the cookie.", + "canIpForward": { + "description": "Enables instances created based on this machine image to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own. If these instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, specify true. If unsure, leave this set to false. See the Enable IP forwarding documentation for more information.", + "type": "boolean" + }, + "networkInterfaces": { + "description": "An array of network access configurations for this interface.", + "type": "array", + "items": { + "$ref": "NetworkInterface" + } + }, + "disks": { + "description": "An array of disks that are associated with the instances that are created from this machine image.", + "type": "array", + "items": { + "$ref": "SavedAttachedDisk" + } + }, + "metadata": { + "description": "The metadata key/value pairs to assign to instances that are created from this machine image. These pairs can consist of custom metadata or predefined keys. See Project and instance metadata for more information.", + "$ref": "Metadata" + }, + "serviceAccounts": { + "description": "A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from this machine image. Use metadata queries to obtain the access tokens for these instances.", + "type": "array", + "items": { + "$ref": "ServiceAccount" + } + }, + "scheduling": { + "description": "Specifies the scheduling options for the instances that are created from this machine image.", + "$ref": "Scheduling" + }, + "labels": { + "description": "Labels to apply to instances that are created from this machine image.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "guestAccelerators": { + "description": "A list of guest accelerator cards' type and count to use for instances created from this machine image.", + "type": "array", + "items": { + "$ref": "AcceleratorConfig" + } + }, + "minCpuPlatform": { + "description": "Minimum cpu/platform to be used by instances created from this machine image. The instance may be scheduled on the specified or newer cpu/platform. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: \"Intel Haswell\" or minCpuPlatform: \"Intel Sandy Bridge\". For more information, read Specifying a Minimum CPU Platform.", "type": "string" - } - }, - "type": "object", - "description": "The information about the HTTP Cookie on which the hash function is based for load balancing policies that use a consistent hash." - }, - "RegionInstanceGroupsListInstancesRequest": { - "id": "RegionInstanceGroupsListInstancesRequest", - "properties": { - "instanceState": { + }, + "deletionProtection": { + "description": "Whether the instance created from this machine image should be protected against deletion.", + "type": "boolean" + }, + "keyRevocationActionType": { + "description": "KeyRevocationActionType of the instance. Supported options are \"STOP\" and \"NONE\". The default value is \"NONE\" if it is not specified.", + "type": "string", "enumDescriptions": [ - "Matches any status of the instances, running, non-running and others.", - "Instance is in RUNNING state if it is running." + "Default value. This value is unused.", + "Indicates user chose no operation.", + "Indicates user chose to opt for VM shutdown on key revocation." ], - "type": "string", - "description": "Instances in which state should be returned. Valid options are: 'ALL', 'RUNNING'. By default, it lists all instances.", "enum": [ - "ALL", - "RUNNING" + "KEY_REVOCATION_ACTION_TYPE_UNSPECIFIED", + "NONE", + "STOP" ] - }, - "portName": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", - "description": "Name of port user is interested in. It is optional. If it is set, only information about this ports will be returned. If it is not set, all the named ports will be returned. Always lists all instances." - } - }, - "type": "object" - }, - "InstanceGroupManagerAutoHealingPolicy": { - "id": "InstanceGroupManagerAutoHealingPolicy", - "type": "object", - "properties": { - "initialDelaySec": { - "type": "integer", - "description": "The number of seconds that the managed instance group waits before it applies autohealing policies to new instances or recently recreated instances. This initial delay allows instances to initialize and run their startup scripts before the instance group determines that they are UNHEALTHY. This prevents the managed instance group from recreating its instances prematurely. This value must be from range [0, 3600].", - "format": "int32" - }, - "healthCheck": { - "type": "string", - "description": "The URL for the health check that signals autohealing." } } }, - "Commitment": { + "SavedAttachedDisk": { + "id": "SavedAttachedDisk", + "description": "DEPRECATED: Please use compute#savedDisk instead. An instance-attached disk resource.", "type": "object", - "description": "Represents a regional Commitment resource. Creating a commitment resource means that you are purchasing a committed use contract with an explicit start and end time. You can create commitments based on vCPUs and memory usage and receive discounted rates. For full details, read Signing Up for Committed Use Discounts.", "properties": { - "autoRenew": { - "type": "boolean", - "description": "Specifies whether to enable automatic renewal for the commitment. The default value is false if not specified. The field can be updated until the day of the commitment expiration at 12:00am PST. If the field is set to true, the commitment will be automatically renewed for either one or three years according to the terms of the existing commitment." - }, "kind": { - "description": "[Output Only] Type of the resource. Always compute#commitment for commitments.", - "type": "string", - "default": "compute#commitment" - }, - "creationTimestamp": { - "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "description": "[Output Only] Type of the resource. Always compute#attachedDisk for attached disks.", + "default": "compute#savedAttachedDisk", "type": "string" }, - "plan": { - "description": "The plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_SIX_MONTH (3 years).", + "type": { + "description": "Specifies the type of the attached disk, either SCRATCH or PERSISTENT.", + "type": "string", "enumDescriptions": [ - "", "", "" ], - "type": "string", "enum": [ - "INVALID", - "THIRTY_SIX_MONTH", - "TWELVE_MONTH" + "PERSISTENT", + "SCRATCH" ] }, - "status": { + "mode": { + "description": "The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY.", "type": "string", "enumDescriptions": [ - "", - "", - "", - "", - "" + "Attaches this disk in read-only mode. Multiple virtual machines can use a disk in read-only mode at a time.", + "*[Default]* Attaches this disk in read-write mode. Only one virtual machine at a time can be attached to a disk in read-write mode." ], "enum": [ - "ACTIVE", - "CANCELLED", - "CREATING", - "EXPIRED", - "NOT_YET_ACTIVE" - ], - "description": "[Output Only] Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED." - }, - "licenseResource": { - "description": "The license specification required as part of a license commitment.", - "$ref": "LicenseResourceCommitment" + "READ_ONLY", + "READ_WRITE" + ] }, - "type": { - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "description": "The type of commitment, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines.", - "enum": [ - "ACCELERATOR_OPTIMIZED", - "COMPUTE_OPTIMIZED", - "COMPUTE_OPTIMIZED_C2D", - "GENERAL_PURPOSE", - "GENERAL_PURPOSE_E2", - "GENERAL_PURPOSE_N2", - "GENERAL_PURPOSE_N2D", - "GENERAL_PURPOSE_T2D", - "MEMORY_OPTIMIZED", - "MEMORY_OPTIMIZED_M3", - "TYPE_UNSPECIFIED" - ], + "source": { + "description": "Specifies a URL of the disk attached to the source instance.", "type": "string" }, - "statusMessage": { - "description": "[Output Only] An optional, human-readable explanation of the status.", + "deviceName": { + "description": "Specifies the name of the disk attached to the source instance.", "type": "string" }, - "name": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", - "type": "string" + "index": { + "description": "Specifies zero-based index of the disk that is attached to the source instance.", + "type": "integer", + "format": "int32" }, - "region": { - "type": "string", - "description": "[Output Only] URL of the region where this commitment may be used." + "boot": { + "description": "Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem.", + "type": "boolean" }, - "startTimestamp": { - "type": "string", - "description": "[Output Only] Commitment start time in RFC3339 text format." + "autoDelete": { + "description": "Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).", + "type": "boolean" }, - "category": { - "enum": [ - "CATEGORY_UNSPECIFIED", - "LICENSE", - "MACHINE" - ], + "licenses": { + "description": "[Output Only] Any valid publicly visible licenses.", + "type": "array", + "items": { + "type": "string" + } + }, + "interface": { + "description": "Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.", + "type": "string", "enumDescriptions": [ - "", "", "" ], - "type": "string", - "description": "The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified." - }, - "id": { - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", - "type": "string", - "format": "uint64" - }, - "reservations": { - "description": "List of reservations in this commitment.", - "items": { - "$ref": "Reservation" - }, - "type": "array" - }, - "description": { - "description": "An optional description of this resource. Provide this property when you create the resource.", - "type": "string" - }, - "endTimestamp": { - "type": "string", - "description": "[Output Only] Commitment end time in RFC3339 text format." + "enum": [ + "NVME", + "SCSI" + ] }, - "resources": { - "description": "A list of commitment amounts for particular resources. Note that VCPU and MEMORY resource commitments must occur together.", + "guestOsFeatures": { + "description": "A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.", "type": "array", "items": { - "$ref": "ResourceCommitment" + "$ref": "GuestOsFeature" } }, - "selfLink": { + "diskEncryptionKey": { + "description": "The encryption key for the disk.", + "$ref": "CustomerEncryptionKey" + }, + "diskSizeGb": { + "description": "The size of the disk in base-2 GB.", "type": "string", - "description": "[Output Only] Server-defined URL for the resource." + "format": "int64" }, - "mergeSourceCommitments": { - "description": "List of source commitments to be merged into a new commitment.", - "items": { - "type": "string" - }, - "type": "array" + "storageBytes": { + "description": "[Output Only] A size of the storage used by the disk's snapshot by this machine image.", + "type": "string", + "format": "int64" }, - "splitSourceCommitment": { + "storageBytesStatus": { + "description": "[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date.", "type": "string", - "description": "Source commitment to be splitted into a new commitment." - } - }, - "id": "Commitment" - }, - "RegionInstanceGroupManagersListInstancesResponse": { - "id": "RegionInstanceGroupManagersListInstancesResponse", - "type": "object", - "properties": { - "managedInstances": { - "items": { - "$ref": "ManagedInstance" - }, - "description": "A list of managed instances.", - "type": "array" + "enumDescriptions": [ + "", + "" + ], + "enum": [ + "UPDATING", + "UP_TO_DATE" + ] }, - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "diskType": { + "description": "[Output Only] URL of the disk type resource. For example: projects/project /zones/zone/diskTypes/pd-standard or pd-ssd", "type": "string" } } }, - "FixedOrPercent": { + "SavedDisk": { + "id": "SavedDisk", + "description": "An instance-attached disk resource.", "type": "object", "properties": { - "fixed": { - "description": "Specifies a fixed number of VM instances. This must be a positive integer.", - "format": "int32", - "type": "integer" + "kind": { + "description": "[Output Only] Type of the resource. Always compute#savedDisk for attached disks.", + "default": "compute#savedDisk", + "type": "string" }, - "calculated": { - "type": "integer", - "description": "[Output Only] Absolute value of VM instances calculated based on the specific mode. - If the value is fixed, then the calculated value is equal to the fixed value. - If the value is a percent, then the calculated value is percent/100 * targetSize. For example, the calculated value of a 80% of a managed instance group with 150 instances would be (80/100 * 150) = 120 VM instances. If there is a remainder, the number is rounded. ", - "format": "int32" + "sourceDisk": { + "description": "Specifies a URL of the disk attached to the source instance.", + "type": "string" }, - "percent": { - "format": "int32", - "description": "Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%.", - "type": "integer" - } - }, - "description": "Encapsulates numeric value that can be either absolute or relative.", - "id": "FixedOrPercent" - }, - "SSLHealthCheck": { - "properties": { - "portName": { + "storageBytes": { + "description": "[Output Only] Size of the individual disk snapshot used by this machine image.", "type": "string", - "description": "Not supported." - }, - "request": { - "description": "Instructs the health check prober to send this exact ASCII string, up to 1024 bytes in length, after establishing the TCP connection and SSL handshake.", - "type": "string" + "format": "int64" }, - "proxyHeader": { + "storageBytesStatus": { + "description": "[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date.", "type": "string", - "enum": [ - "NONE", - "PROXY_V1" - ], - "description": "Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.", "enumDescriptions": [ "", "" + ], + "enum": [ + "UPDATING", + "UP_TO_DATE" ] }, - "response": { + "architecture": { + "description": "[Output Only] The architecture of the attached disk.", "type": "string", - "description": "Creates a content-based SSL health check. In addition to establishing a TCP connection and the TLS handshake, you can configure the health check to pass only when the backend sends this exact response ASCII string, up to 1024 bytes in length. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-ssl-tcp" - }, - "port": { - "type": "integer", - "format": "int32", - "description": "The TCP port number to which the health check prober sends packets. The default value is 443. Valid values are 1 through 65535." - }, - "portSpecification": { "enumDescriptions": [ - "The port number in the health check's port is used for health checking. Applies to network endpoint group and instance group backends.", - "Not supported.", - "For network endpoint group backends, the health check uses the port number specified on each endpoint in the network endpoint group. For instance group backends, the health check uses the port number specified for the backend service's named port defined in the instance group's named ports." + "Default value indicating Architecture is not set.", + "Machines with architecture ARM64", + "Machines with architecture X86_64" ], "enum": [ - "USE_FIXED_PORT", - "USE_NAMED_PORT", - "USE_SERVING_PORT" - ], - "type": "string", - "description": "Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports." + "ARCHITECTURE_UNSPECIFIED", + "ARM64", + "X86_64" + ] } - }, - "id": "SSLHealthCheck", - "type": "object" + } }, - "ManagedInstanceLastAttempt": { - "id": "ManagedInstanceLastAttempt", + "SourceDiskEncryptionKey": { + "id": "SourceDiskEncryptionKey", + "type": "object", "properties": { - "errors": { - "type": "object", - "description": "[Output Only] Encountered errors during the last attempt to create or delete the instance.", - "properties": { - "errors": { - "type": "array", - "description": "[Output Only] The array of errors encountered while processing this operation.", - "items": { - "properties": { - "code": { - "description": "[Output Only] The error type identifier for this error.", - "type": "string" - }, - "errorDetails": { - "description": "[Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED.", - "type": "array", - "items": { - "properties": { - "errorInfo": { - "$ref": "ErrorInfo" - }, - "quotaInfo": { - "$ref": "QuotaExceededInfo" - }, - "help": { - "$ref": "Help" - }, - "localizedMessage": { - "$ref": "LocalizedMessage" - } - }, - "type": "object" - } - }, - "message": { - "description": "[Output Only] An optional, human-readable error message.", - "type": "string" - }, - "location": { - "type": "string", - "description": "[Output Only] Indicates the field in the request that caused the error. This property is optional." - } - }, - "type": "object" - } - } - } - } - }, - "type": "object" - }, - "GuestAttributesEntry": { - "properties": { - "namespace": { - "description": "Namespace for the guest attribute entry.", - "type": "string" - }, - "key": { - "description": "Key for the guest attribute entry.", + "sourceDisk": { + "description": "URL of the disk attached to the source instance. This can be a full or valid partial URL. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk ", "type": "string" }, - "value": { - "type": "string", - "description": "Value for the guest attribute entry." + "diskEncryptionKey": { + "description": "The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.", + "$ref": "CustomerEncryptionKey" } - }, - "id": "GuestAttributesEntry", - "description": "A guest attributes namespace/key/value entry.", - "type": "object" + } }, - "HealthStatus": { + "MachineTypeList": { + "id": "MachineTypeList", + "description": "Contains a list of machine types.", "type": "object", "properties": { - "annotations": { - "additionalProperties": { - "type": "string" - }, - "description": "Metadata defined as annotations for network endpoint.", - "type": "object" - }, - "ipAddress": { - "type": "string", - "description": "For target pool based Network Load Balancing, it indicates the forwarding rule's IP address assigned to this instance. For other types of load balancing, the field indicates VM internal ip." - }, - "instance": { - "type": "string", - "description": "URL of the instance resource." - }, - "port": { - "description": "The named port of the instance group, not necessarily the port that is health-checked.", - "format": "int32", - "type": "integer" + "kind": { + "description": "[Output Only] Type of resource. Always compute#machineTypeList for lists of machine types.", + "default": "compute#machineTypeList", + "type": "string" }, - "forwardingRuleIp": { - "description": "A forwarding rule IP address assigned to this instance.", + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", "type": "string" }, - "healthState": { - "type": "string", - "description": "Health state of the instance.", - "enumDescriptions": [ - "", - "" - ], - "enum": [ - "HEALTHY", - "UNHEALTHY" - ] + "items": { + "description": "A list of MachineType resources.", + "type": "array", + "items": { + "$ref": "MachineType" + } }, - "forwardingRule": { - "description": "URL of the forwarding rule associated with the health status of the instance.", + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", "type": "string" }, - "weight": { + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", "type": "string" }, - "weightError": { - "enumDescriptions": [ - "The response to a Health Check probe had the HTTP response header field X-Load-Balancing-Endpoint-Weight, but its content was invalid (i.e., not a non-negative single-precision floating-point number in decimal string representation).", - "The response to a Health Check probe did not have the HTTP response header field X-Load-Balancing-Endpoint-Weight.", - "This is the value when the accompanied health status is either TIMEOUT (i.e.,the Health Check probe was not able to get a response in time) or UNKNOWN. For the latter, it should be typically because there has not been sufficient time to parse and report the weight for a new backend (which is with 0.0.0.0 ip address). However, it can be also due to an outage case for which the health status is explicitly reset to UNKNOWN.", - "This is the default value when WeightReportMode is DISABLE, and is also the initial value when WeightReportMode has just updated to ENABLE or DRY_RUN and there has not been sufficient time to parse and report the backend weight." - ], - "type": "string", - "enum": [ - "INVALID_WEIGHT", - "MISSING_WEIGHT", - "UNAVAILABLE_WEIGHT", - "WEIGHT_NONE" - ] - } - }, - "id": "HealthStatus" - }, - "DisksScopedList": { - "type": "object", - "id": "DisksScopedList", - "properties": { "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { - "data": { - "items": { - "type": "object", - "properties": { - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - }, - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - } - } - }, - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "type": "array" - }, "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -23722,6 +23618,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -23740,8 +23637,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "type": "string", - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -23753,6 +23678,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -23773,226 +23699,229 @@ ] }, "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } } - }, - "description": "[Output Only] Informational warning which replaces the list of disks when the list is empty.", - "type": "object" - }, - "disks": { - "description": "[Output Only] A list of disks contained in this scope.", - "items": { - "$ref": "Disk" - }, - "type": "array" + } } } }, - "Subnetwork": { + "MachineType": { + "id": "MachineType", + "description": "Represents a Machine Type resource. You can use specific machine types for your VM instances based on performance and pricing requirements. For more information, read Machine Types.", "type": "object", - "id": "Subnetwork", - "description": "Represents a Subnetwork resource. A subnetwork (also known as a subnet) is a logical partition of a Virtual Private Cloud network with one primary IP range and zero or more secondary IP ranges. For more information, read Virtual Private Cloud (VPC) Network.", "properties": { - "ipCidrRange": { - "description": "The range of internal addresses that are owned by this subnetwork. Provide this property when you create the subnetwork. For example, 10.0.0.0/8 or 100.64.0.0/10. Ranges must be unique and non-overlapping within a network. Only IPv4 is supported. This field is set at resource creation time. The range can be any range listed in the Valid ranges list. The range can be expanded after creation using expandIpCidrRange.", + "kind": { + "description": "[Output Only] The type of the resource. Always compute#machineType for machine types.", + "default": "compute#machineType", "type": "string" }, - "gatewayAddress": { - "type": "string", - "description": "[Output Only] The gateway address for default routes to reach destination addresses outside this subnetwork." - }, - "fingerprint": { - "format": "byte", + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", "type": "string", - "description": "Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a Subnetwork. An up-to-date fingerprint must be provided in order to update the Subnetwork, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a Subnetwork." + "format": "uint64" }, "creationTimestamp": { - "type": "string", - "description": "[Output Only] Creation timestamp in RFC3339 text format." - }, - "secondaryIpRanges": { - "type": "array", - "description": "An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with a patch request.", - "items": { - "$ref": "SubnetworkSecondaryRange" - } - }, - "ipv6AccessType": { - "type": "string", - "enumDescriptions": [ - "VMs on this subnet will be assigned IPv6 addresses that are accessible via the Internet, as well as the VPC network.", - "VMs on this subnet will be assigned IPv6 addresses that are only accessible over the VPC network." - ], - "enum": [ - "EXTERNAL", - "INTERNAL" - ], - "description": "The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack." + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" }, - "privateIpv6GoogleAccess": { - "type": "string", - "description": "This field is for internal use. This field can be both set at resource creation time and updated using patch.", - "enum": [ - "DISABLE_GOOGLE_ACCESS", - "ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE", - "ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE" - ], - "enumDescriptions": [ - "Disable private IPv6 access to/from Google services.", - "Bidirectional private IPv6 access to/from Google services.", - "Outbound private IPv6 access from VMs in this subnet to Google services." - ] + "name": { + "description": "[Output Only] Name of the resource.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "type": "string" }, - "role": { - "description": "The role of subnetwork. Currently, this field is only used when purpose = INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Internal HTTP(S) Load Balancing. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request.", - "enumDescriptions": [ - "The ACTIVE subnet that is currently used.", - "The BACKUP subnet that could be promoted to ACTIVE." - ], - "enum": [ - "ACTIVE", - "BACKUP" - ], + "description": { + "description": "[Output Only] An optional textual description of the resource.", "type": "string" }, - "region": { - "type": "string", - "description": "URL of the region where the Subnetwork resides. This field can be set only at resource creation time." + "guestCpus": { + "description": "[Output Only] The number of virtual CPUs that are available to the instance.", + "type": "integer", + "format": "int32" }, - "privateIpGoogleAccess": { - "description": "Whether the VMs in this subnet can access Google services without assigned external IP addresses. This field can be both set at resource creation time and updated using setPrivateIpGoogleAccess.", - "type": "boolean" + "memoryMb": { + "description": "[Output Only] The amount of physical memory available to the instance, defined in MB.", + "type": "integer", + "format": "int32" }, - "state": { - "enum": [ - "DRAINING", - "READY" - ], - "description": "[Output Only] The state of the subnetwork, which can be one of the following values: READY: Subnetwork is created and ready to use DRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained. A subnetwork that is draining cannot be used or modified until it reaches a status of READY", - "type": "string", - "enumDescriptions": [ - "Subnetwork is being drained.", - "Subnetwork is ready for use." - ] + "imageSpaceGb": { + "description": "[Deprecated] This property is deprecated and will never be populated with any relevant values.", + "type": "integer", + "format": "int32" }, - "enableFlowLogs": { - "description": "Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is determined by the org policy, if there is no org policy specified, then it will default to disabled. This field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER.", - "type": "boolean" + "scratchDisks": { + "description": "[Output Only] A list of extended scratch disks assigned to the instance.", + "type": "array", + "items": { + "type": "object", + "properties": { + "diskGb": { + "description": "Size of the scratch disk, defined in GB.", + "type": "integer", + "format": "int32" + } + } + } }, - "externalIpv6Prefix": { - "type": "string", - "description": "The external IPv6 address range that is owned by this subnetwork." + "maximumPersistentDisks": { + "description": "[Output Only] Maximum persistent disks allowed.", + "type": "integer", + "format": "int32" }, - "kind": { + "maximumPersistentDisksSizeGb": { + "description": "[Output Only] Maximum total persistent disks size (GB) allowed.", "type": "string", - "default": "compute#subnetwork", - "description": "[Output Only] Type of the resource. Always compute#subnetwork for Subnetwork resources." + "format": "int64" }, - "network": { - "type": "string", - "description": "The URL of the network to which this subnetwork belongs, provided by the client when initially creating the subnetwork. This field can be set only at resource creation time." + "deprecated": { + "description": "[Output Only] The deprecation status associated with this machine type. Only applicable if the machine type is unavailable.", + "$ref": "DeprecationStatus" }, - "logConfig": { - "$ref": "SubnetworkLogConfig", - "description": "This field denotes the VPC flow logging options for this subnetwork. If logging is enabled, logs are exported to Cloud Logging." + "zone": { + "description": "[Output Only] The name of the zone where the machine type resides, such as us-central1-a.", + "type": "string" }, "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for the resource." - }, - "stackType": { - "type": "string", - "description": "The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch.", - "enumDescriptions": [ - "New VMs in this subnet can have both IPv4 and IPv6 addresses.", - "New VMs in this subnet will only be assigned IPv4 addresses." - ], - "enum": [ - "IPV4_IPV6", - "IPV4_ONLY" - ] - }, - "purpose": { - "description": "The purpose of the resource. This field can be either PRIVATE_RFC_1918 or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER.", - "type": "string", - "enum": [ - "INTERNAL_HTTPS_LOAD_BALANCER", - "PRIVATE", - "PRIVATE_RFC_1918", - "PRIVATE_SERVICE_CONNECT", - "REGIONAL_MANAGED_PROXY" - ], - "enumDescriptions": [ - "Subnet reserved for Internal HTTP(S) Load Balancing.", - "Regular user created or automatically created subnet.", - "Regular user created or automatically created subnet.", - "Subnetworks created for Private Service Connect in the producer network.", - "Subnetwork used for Regional Internal/External HTTP(S) Load Balancing." - ] - }, - "description": { - "description": "An optional description of this resource. Provide this property when you create the resource. This field can be set only at resource creation time.", + "description": "[Output Only] Server-defined URL for the resource.", "type": "string" }, - "id": { - "format": "uint64", - "type": "string", - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server." - }, - "name": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", - "description": "The name of the resource, provided by the client when initially creating the resource. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash." - }, - "internalIpv6Prefix": { - "description": "[Output Only] The internal IPv6 address range that is assigned to this subnetwork.", - "type": "string" + "isSharedCpu": { + "description": "[Output Only] Whether this machine type has a shared CPU. See Shared-core machine types for more information.", + "type": "boolean" }, - "ipv6CidrRange": { - "type": "string", - "description": "[Output Only] This field is for internal use." + "accelerators": { + "description": "[Output Only] A list of accelerator configurations assigned to this machine type.", + "type": "array", + "items": { + "type": "object", + "properties": { + "guestAcceleratorType": { + "description": "The accelerator type resource name, not a full URL, e.g. nvidia-tesla-t4.", + "type": "string" + }, + "guestAcceleratorCount": { + "description": "Number of accelerator cards exposed to the guest.", + "type": "integer", + "format": "int32" + } + } + } } } }, - "NetworkEndpointGroupAggregatedList": { - "id": "NetworkEndpointGroupAggregatedList", + "MachineTypeAggregatedList": { + "id": "MachineTypeAggregatedList", + "type": "object", "properties": { - "unreachables": { - "items": { - "type": "string" - }, - "type": "array", - "description": "[Output Only] Unreachable resources." + "kind": { + "description": "[Output Only] Type of resource. Always compute#machineTypeAggregatedList for aggregated lists of machine types.", + "default": "compute#machineTypeAggregatedList", + "type": "string" }, "id": { "description": "[Output Only] Unique identifier for the resource; defined by the server.", "type": "string" }, + "items": { + "description": "A list of MachineTypesScopedList resources.", + "type": "object", + "additionalProperties": { + "description": "[Output Only] Name of the scope containing this set of machine types.", + "$ref": "MachineTypesScopedList" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - }, - "data": { - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "items": { - "properties": { - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - }, - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - } - }, - "type": "object" - }, - "type": "array" - }, "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -24004,6 +23933,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -24021,7 +23951,58 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + }, + "unreachables": { + "description": "[Output Only] Unreachable resources.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "MachineTypesScopedList": { + "id": "MachineTypesScopedList", + "type": "object", + "properties": { + "machineTypes": { + "description": "[Output Only] A list of machine types contained in this scope.", + "type": "array", + "items": { + "$ref": "MachineType" + } + }, + "warning": { + "description": "[Output Only] An informational warning that appears when the machine types list is empty.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -24033,6 +24014,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -24051,406 +24033,188 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", "type": "string" - } - }, - "type": "object", - "description": "[Output Only] Informational warning message." - }, - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", - "type": "string" - }, - "items": { - "additionalProperties": { - "description": "The name of the scope that contains this set of network endpoint groups.", - "$ref": "NetworkEndpointGroupsScopedList" - }, - "type": "object", - "description": "A list of NetworkEndpointGroupsScopedList resources." - }, - "kind": { - "default": "compute#networkEndpointGroupAggregatedList", - "description": "[Output Only] The resource type, which is always compute#networkEndpointGroupAggregatedList for aggregated lists of network endpoint groups.", - "type": "string" - }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." - } - }, - "type": "object" - }, - "HttpRouteAction": { - "id": "HttpRouteAction", - "type": "object", - "properties": { - "urlRewrite": { - "description": "The spec to modify the URL of the request, before forwarding the request to the matched service. urlRewrite is the only action supported in UrlMaps for external HTTP(S) load balancers. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.", - "$ref": "UrlRewrite" - }, - "faultInjectionPolicy": { - "description": "The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy if: 1. The traffic is generated by fault injection AND 2. The fault injection is not a delay fault injection. Fault injection is not supported with the global external HTTP(S) load balancer (classic). To see which load balancers support fault injection, see Load balancing: Routing and traffic management features.", - "$ref": "HttpFaultInjection" - }, - "weightedBackendServices": { - "description": "A list of weighted backend services to send traffic to when a route match occurs. The weights determine the fraction of traffic that flows to their corresponding backend service. If all traffic needs to go to a single backend service, there must be one weightedBackendService with weight set to a non-zero number. After a backend service is identified and before forwarding the request to the backend service, advanced routing actions such as URL rewrites and header transformations are applied depending on additional settings specified in this HttpRouteAction.", - "items": { - "$ref": "WeightedBackendService" - }, - "type": "array" - }, - "requestMirrorPolicy": { - "$ref": "RequestMirrorPolicy", - "description": "Specifies the policy on how requests intended for the route's backends are shadowed to a separate mirrored backend service. The load balancer does not wait for responses from the shadow service. Before sending traffic to the shadow service, the host / authority header is suffixed with -shadow. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true." - }, - "corsPolicy": { - "$ref": "CorsPolicy", - "description": "The specification for allowing client-side cross-origin requests. For more information about the W3C recommendation for cross-origin resource sharing (CORS), see Fetch API Living Standard. Not supported when the URL map is bound to a target gRPC proxy." - }, - "maxStreamDuration": { - "description": "Specifies the maximum duration (timeout) for streams on the selected route. Unlike the timeout field where the timeout duration starts from the time the request has been fully processed (known as *end-of-stream*), the duration in this field is computed from the beginning of the stream until the response has been processed, including all retries. A stream that does not complete in this duration is closed. If not specified, this field uses the maximum maxStreamDuration value among all backend services associated with the route. This field is only allowed if the Url map is used with backend services with loadBalancingScheme set to INTERNAL_SELF_MANAGED.", - "$ref": "Duration" - }, - "timeout": { - "description": "Specifies the timeout for the selected route. Timeout is computed from the time the request has been fully processed (known as *end-of-stream*) up until the response has been processed. Timeout includes all retries. If not specified, this field uses the largest timeout among all backend services associated with the route. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.", - "$ref": "Duration" - }, - "retryPolicy": { - "$ref": "HttpRetryPolicy", - "description": "Specifies the retry policy associated with this route." + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } } } }, - "SavedDisk": { + "NetworkAttachmentAggregatedList": { + "id": "NetworkAttachmentAggregatedList", + "description": "Contains a list of NetworkAttachmentsScopedList.", "type": "object", - "id": "SavedDisk", - "properties": { - "kind": { - "default": "compute#savedDisk", - "description": "[Output Only] Type of the resource. Always compute#savedDisk for attached disks.", - "type": "string" - }, - "storageBytes": { - "description": "[Output Only] Size of the individual disk snapshot used by this machine image.", - "type": "string", - "format": "int64" - }, - "sourceDisk": { - "type": "string", - "description": "Specifies a URL of the disk attached to the source instance." - }, - "architecture": { - "enumDescriptions": [ - "Default value indicating Architecture is not set.", - "Machines with architecture ARM64", - "Machines with architecture X86_64" - ], - "description": "[Output Only] The architecture of the attached disk.", - "enum": [ - "ARCHITECTURE_UNSPECIFIED", - "ARM64", - "X86_64" - ], - "type": "string" - }, - "storageBytesStatus": { - "type": "string", - "enum": [ - "UPDATING", - "UP_TO_DATE" - ], - "enumDescriptions": [ - "", - "" - ], - "description": "[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date." - } - }, - "description": "An instance-attached disk resource." - }, - "NodeGroup": { "properties": { "kind": { - "default": "compute#nodeGroup", - "type": "string", - "description": "[Output Only] The type of the resource. Always compute#nodeGroup for node group." - }, - "zone": { - "type": "string", - "description": "[Output Only] The name of the zone where the node group resides, such as us-central1-a." - }, - "fingerprint": { - "type": "string", - "format": "byte" - }, - "locationHint": { - "description": "An opaque location hint used to place the Node close to other resources. This field is for use by internal tools that use the public API. The location hint here on the NodeGroup overrides any location_hint present in the NodeTemplate.", - "type": "string" - }, - "autoscalingPolicy": { - "description": "Specifies how autoscaling should behave.", - "$ref": "NodeGroupAutoscalingPolicy" - }, - "size": { - "description": "[Output Only] The total number of nodes in the node group.", - "type": "integer", - "format": "int32" - }, - "name": { - "type": "string", - "description": "The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash." - }, - "maintenancePolicy": { - "description": "Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies.", - "enum": [ - "DEFAULT", - "MAINTENANCE_POLICY_UNSPECIFIED", - "MIGRATE_WITHIN_NODE_GROUP", - "RESTART_IN_PLACE" - ], - "enumDescriptions": [ - "Allow the node and corresponding instances to retain default maintenance behavior.", - "", - "When maintenance must be done on a node, the instances on that node will be moved to other nodes in the group. Instances with onHostMaintenance = MIGRATE will live migrate to their destinations while instances with onHostMaintenance = TERMINATE will terminate and then restart on their destination nodes if automaticRestart = true.", - "Instances in this group will restart on the same node when maintenance has completed. Instances must have onHostMaintenance = TERMINATE, and they will only restart if automaticRestart = true." - ], - "type": "string" - }, - "selfLink": { - "description": "[Output Only] Server-defined URL for the resource.", - "type": "string" - }, - "shareSettings": { - "$ref": "ShareSettings", - "description": "Share-settings for the node group" - }, - "id": { - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", - "format": "uint64", - "type": "string" - }, - "nodeTemplate": { - "description": "URL of the node template to create the node group from.", - "type": "string" - }, - "description": { - "type": "string", - "description": "An optional description of this resource. Provide this property when you create the resource." - }, - "creationTimestamp": { - "type": "string", - "description": "[Output Only] Creation timestamp in RFC3339 text format." - }, - "maintenanceWindow": { - "$ref": "NodeGroupMaintenanceWindow" - }, - "status": { - "enumDescriptions": [ - "", - "", - "", - "" - ], - "enum": [ - "CREATING", - "DELETING", - "INVALID", - "READY" - ], - "type": "string" - } - }, - "description": "Represents a sole-tenant Node Group resource. A sole-tenant node is a physical server that is dedicated to hosting VM instances only for your specific project. Use sole-tenant nodes to keep your instances physically separated from instances in other projects, or to group your instances together on the same host hardware. For more information, read Sole-tenant nodes.", - "type": "object", - "id": "NodeGroup" - }, - "ResourcePolicyHourlyCycle": { - "id": "ResourcePolicyHourlyCycle", - "description": "Time window specified for hourly operations.", - "properties": { - "hoursInCycle": { - "type": "integer", - "format": "int32", - "description": "Defines a schedule with units measured in hours. The value determines how many hours pass between the start of each cycle." - }, - "startTime": { - "description": "Time within the window to start the operations. It must be in format \"HH:MM\", where HH : [00-23] and MM : [00-00] GMT.", - "type": "string" - }, - "duration": { - "type": "string", - "description": "[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario." - } - }, - "type": "object" - }, - "InstancesSetMachineTypeRequest": { - "type": "object", - "id": "InstancesSetMachineTypeRequest", - "properties": { - "machineType": { - "description": "Full or partial URL of the machine type resource. See Machine Types for a full list of machine types. For example: zones/us-central1-f/machineTypes/n1-standard-1", - "type": "string" - } - } - }, - "TargetHttpsProxy": { - "id": "TargetHttpsProxy", - "properties": { - "authorizationPolicy": { - "type": "string", - "description": "Optional. A URL referring to a networksecurity.AuthorizationPolicy resource that describes how the proxy should authorize inbound traffic. If left blank, access will not be restricted by an authorization policy. Refer to the AuthorizationPolicy resource for additional details. authorizationPolicy only applies to a global TargetHttpsProxy attached to globalForwardingRules with the loadBalancingScheme set to INTERNAL_SELF_MANAGED. Note: This field currently has no impact." - }, - "region": { - "description": "[Output Only] URL of the region where the regional TargetHttpsProxy resides. This field is not applicable to global TargetHttpsProxies.", + "default": "compute#networkAttachmentAggregatedList", "type": "string" }, - "creationTimestamp": { - "type": "string", - "description": "[Output Only] Creation timestamp in RFC3339 text format." - }, - "fingerprint": { - "type": "string", - "format": "byte", - "description": "Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a TargetHttpsProxy. An up-to-date fingerprint must be provided in order to patch the TargetHttpsProxy; otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the TargetHttpsProxy." - }, "id": { - "format": "uint64", - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", - "type": "string" - }, - "kind": { - "default": "compute#targetHttpsProxy", - "type": "string", - "description": "[Output Only] Type of resource. Always compute#targetHttpsProxy for target HTTPS proxies." - }, - "sslCertificates": { - "description": "URLs to SslCertificate resources that are used to authenticate connections between users and the load balancer. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates. sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED.", - "type": "array", - "items": { - "type": "string" - } - }, - "quicOverride": { - "enumDescriptions": [ - "The load balancer will not attempt to negotiate QUIC with clients.", - "The load balancer will attempt to negotiate QUIC with clients.", - "No overrides to the default QUIC policy. This option is implicit if no QUIC override has been specified in the request." - ], - "description": "Specifies the QUIC override policy for this TargetHttpsProxy resource. This setting determines whether the load balancer attempts to negotiate QUIC with clients. You can specify NONE, ENABLE, or DISABLE. - When quic-override is set to NONE, Google manages whether QUIC is used. - When quic-override is set to ENABLE, the load balancer uses QUIC when possible. - When quic-override is set to DISABLE, the load balancer doesn't use QUIC. - If the quic-override flag is not specified, NONE is implied. ", - "type": "string", - "enum": [ - "DISABLE", - "ENABLE", - "NONE" - ] - }, - "urlMap": { - "type": "string", - "description": "A fully-qualified or valid partial URL to the UrlMap resource that defines the mapping from URL to the BackendService. For example, the following are all valid URLs for specifying a URL map: - https://www.googleapis.compute/v1/projects/project/global/urlMaps/ url-map - projects/project/global/urlMaps/url-map - global/urlMaps/url-map " - }, - "proxyBind": { - "type": "boolean", - "description": "This field only applies when the forwarding rule that references this target proxy has a loadBalancingScheme set to INTERNAL_SELF_MANAGED. When this field is set to true, Envoy proxies set up inbound traffic interception and bind to the IP address and port specified in the forwarding rule. This is generally useful when using Traffic Director to configure Envoy as a gateway or middle proxy (in other words, not a sidecar proxy). The Envoy proxy listens for inbound requests and handles requests when it receives them. The default is false." - }, - "serverTlsPolicy": { - "type": "string", - "description": "Optional. A URL referring to a networksecurity.ServerTlsPolicy resource that describes how the proxy should authenticate inbound traffic. serverTlsPolicy only applies to a global TargetHttpsProxy attached to globalForwardingRules with the loadBalancingScheme set to INTERNAL_SELF_MANAGED. If left blank, communications are not encrypted. Note: This field currently has no impact." - }, - "name": { - "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" - }, - "sslPolicy": { - "description": "URL of SslPolicy resource that will be associated with the TargetHttpsProxy resource. If not set, the TargetHttpsProxy resource has no SSL policy configured.", - "type": "string" - }, - "selfLink": { - "description": "[Output Only] Server-defined URL for the resource.", - "type": "string" - }, - "certificateMap": { - "type": "string", - "description": "URL of a certificate map that identifies a certificate map associated with the given target proxy. This field can only be set for global target proxies. If set, sslCertificates will be ignored." - }, - "description": { - "description": "An optional description of this resource. Provide this property when you create the resource.", + "description": "[Output Only] Unique identifier for the resource; defined by the server.", "type": "string" - } - }, - "description": "Represents a Target HTTPS Proxy resource. Google Compute Engine has two Target HTTPS Proxy resources: * [Global](/compute/docs/reference/rest/v1/targetHttpsProxies) * [Regional](/compute/docs/reference/rest/v1/regionTargetHttpsProxies) A target HTTPS proxy is a component of GCP HTTPS load balancers. * targetHttpsProxies are used by external HTTPS load balancers. * regionTargetHttpsProxies are used by internal HTTPS load balancers. Forwarding rules reference a target HTTPS proxy, and the target proxy then references a URL map. For more information, read Using Target Proxies and Forwarding rule concepts.", - "type": "object" - }, - "RouteAsPath": { - "id": "RouteAsPath", - "type": "object", - "properties": { - "pathSegmentType": { - "description": "[Output Only] The type of the AS Path, which can be one of the following values: - 'AS_SET': unordered set of autonomous systems that the route in has traversed - 'AS_SEQUENCE': ordered set of autonomous systems that the route has traversed - 'AS_CONFED_SEQUENCE': ordered set of Member Autonomous Systems in the local confederation that the route has traversed - 'AS_CONFED_SET': unordered set of Member Autonomous Systems in the local confederation that the route has traversed ", - "enumDescriptions": [ - "", - "", - "", - "" - ], - "type": "string", - "enum": [ - "AS_CONFED_SEQUENCE", - "AS_CONFED_SET", - "AS_SEQUENCE", - "AS_SET" - ] }, - "asLists": { - "items": { - "format": "uint32", - "type": "integer" - }, - "description": "[Output Only] The AS numbers of the AS Path.", - "type": "array" - } - } - }, - "SnapshotList": { - "type": "object", - "id": "SnapshotList", - "properties": { "items": { - "description": "A list of Snapshot resources.", - "type": "array", - "items": { - "$ref": "Snapshot" + "description": "A list of NetworkAttachmentsScopedList resources.", + "type": "object", + "additionalProperties": { + "description": "Name of the scope containing this set of NetworkAttachments.", + "$ref": "NetworkAttachmentsScopedList" } }, - "kind": { - "default": "compute#snapshotList", - "type": "string", - "description": "Type of resource." - }, - "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", - "type": "string" - }, "nextPageToken": { "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", "type": "string" }, "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" }, "warning": { + "description": "[Output Only] Informational warning message.", "type": "object", "properties": { - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -24462,6 +24226,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -24479,7 +24244,51 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + } + } + }, + "NetworkAttachmentsScopedList": { + "id": "NetworkAttachmentsScopedList", + "type": "object", + "properties": { + "networkAttachments": { + "description": "A list of NetworkAttachments contained in this scope.", + "type": "array", + "items": { + "$ref": "NetworkAttachment" + } + }, + "warning": { + "description": "Informational warning which replaces the list of network attachments when the list is empty.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -24491,6 +24300,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -24509,7 +24319,70 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response." + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" }, "data": { "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", @@ -24518,8 +24391,8 @@ "type": "object", "properties": { "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" }, "value": { "description": "[Output Only] A warning data value corresponding to the key.", @@ -24528,471 +24401,195 @@ } } } - }, - "description": "[Output Only] Informational warning message." - } - }, - "description": "Contains a list of Snapshot resources." - }, - "TargetSslProxiesSetSslCertificatesRequest": { - "type": "object", - "properties": { - "sslCertificates": { - "type": "array", - "items": { - "type": "string" - }, - "description": "New set of URLs to SslCertificate resources to associate with this TargetSslProxy. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates." + } } - }, - "id": "TargetSslProxiesSetSslCertificatesRequest" + } }, - "HttpHealthCheck": { - "description": "Represents a legacy HTTP Health Check resource. Legacy HTTP health checks are now only required by target pool-based network load balancers. For all other load balancers, including backend service-based network load balancers, and for managed instance group auto-healing, you must use modern (non-legacy) health checks. For more information, see Health checks overview .", + "NetworkAttachment": { + "id": "NetworkAttachment", + "description": "NetworkAttachments A network attachment resource ...", "type": "object", "properties": { "kind": { + "description": "[Output Only] Type of the resource.", + "default": "compute#networkAttachment", + "type": "string" + }, + "id": { + "description": "[Output Only] The unique identifier for the resource type. The server generates this identifier.", "type": "string", - "default": "compute#httpHealthCheck", - "description": "[Output Only] Type of the resource. Always compute#httpHealthCheck for HTTP health checks." + "format": "uint64" }, - "requestPath": { - "description": "The request path of the HTTP health check request. The default value is /. This field does not support query parameters.", + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", "type": "string" }, "name": { + "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", - "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash." - }, - "unhealthyThreshold": { - "description": "A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.", - "type": "integer", - "format": "int32" + "annotations": { + "required": [ + "compute.networkAttachments.insert" + ] + }, + "type": "string" }, "description": { "description": "An optional description of this resource. Provide this property when you create the resource.", "type": "string" }, - "id": { - "format": "uint64", - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", "type": "string" }, - "creationTimestamp": { - "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "selfLinkWithId": { + "description": "[Output Only] Server-defined URL for this resource's resource id.", "type": "string" }, - "timeoutSec": { - "type": "integer", - "description": "How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have greater value than checkIntervalSec.", - "format": "int32" - }, - "checkIntervalSec": { - "description": "How often (in seconds) to send a health check. The default value is 5 seconds.", - "type": "integer", - "format": "int32" - }, - "healthyThreshold": { - "type": "integer", - "format": "int32", - "description": "A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2." - }, - "host": { - "description": "The value of the host header in the HTTP health check request. If left empty (default value), the public IP on behalf of which this health check is performed will be used.", + "region": { + "description": "[Output Only] URL of the region where the network attachment resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.", "type": "string" }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for the resource." - }, - "port": { - "description": "The TCP port number for the HTTP health check request. The default value is 80.", - "type": "integer", - "format": "int32" - } - }, - "id": "HttpHealthCheck" - }, - "AutoscalingPolicyCustomMetricUtilization": { - "description": "Custom utilization metric policy.", - "id": "AutoscalingPolicyCustomMetricUtilization", - "properties": { - "singleInstanceAssignment": { - "type": "number", - "format": "double", - "description": "If scaling is based on a per-group metric value that represents the total amount of work to be done or resource usage, set this value to an amount assigned for a single instance of the scaled group. Autoscaler keeps the number of instances proportional to the value of this metric. The metric itself does not change value due to group resizing. A good metric to use with the target is for example pubsub.googleapis.com/subscription/num_undelivered_messages or a custom metric exporting the total number of requests coming to your instances. A bad example would be a metric exporting an average or median latency, since this value can't include a chunk assignable to a single instance, it could be better used with utilization_target instead." - }, - "metric": { - "type": "string", - "description": "The identifier (type) of the Stackdriver Monitoring metric. The metric cannot have negative values. The metric must have a value type of INT64 or DOUBLE." - }, - "filter": { + "connectionPreference": { "type": "string", - "description": "A filter string, compatible with a Stackdriver Monitoring filter string for TimeSeries.list API call. This filter is used to select a specific TimeSeries for the purpose of autoscaling and to determine whether the metric is exporting per-instance or per-group data. For the filter to be valid for autoscaling purposes, the following rules apply: - You can only use the AND operator for joining selectors. - You can only use direct equality comparison operator (=) without any functions for each selector. - You can specify the metric in both the filter string and in the metric field. However, if specified in both places, the metric must be identical. - The monitored resource type determines what kind of values are expected for the metric. If it is a gce_instance, the autoscaler expects the metric to include a separate TimeSeries for each instance in a group. In such a case, you cannot filter on resource labels. If the resource type is any other value, the autoscaler expects this metric to contain values that apply to the entire autoscaled instance group and resource label filtering can be performed to point autoscaler at the correct TimeSeries to scale upon. This is called a *per-group metric* for the purpose of autoscaling. If not specified, the type defaults to gce_instance. Try to provide a filter that is selective enough to pick just one TimeSeries for the autoscaled group or for each of the instances (if you are using gce_instance resource type). If multiple TimeSeries are returned upon the query execution, the autoscaler will sum their respective values to obtain its scaling value." - }, - "utilizationTarget": { - "description": "The target value of the metric that autoscaler maintains. This must be a positive value. A utilization metric scales number of virtual machines handling requests to increase or decrease proportionally to the metric. For example, a good metric to use as a utilization_target is https://www.googleapis.com/compute/v1/instance/network/received_bytes_count. The autoscaler works to keep this value constant for each of the instances.", - "type": "number", - "format": "double" - }, - "utilizationTargetType": { "enumDescriptions": [ - "Sets the utilization target value for a cumulative or delta metric, expressed as the rate of growth per minute.", - "Sets the utilization target value for a cumulative or delta metric, expressed as the rate of growth per second.", - "Sets the utilization target value for a gauge metric. The autoscaler will collect the average utilization of the virtual machines from the last couple of minutes, and compare the value to the utilization target value to perform autoscaling." + "", + "", + "" ], - "type": "string", - "description": "Defines how target utilization value is expressed for a Stackdriver Monitoring metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE.", "enum": [ - "DELTA_PER_MINUTE", - "DELTA_PER_SECOND", - "GAUGE" + "ACCEPT_AUTOMATIC", + "ACCEPT_MANUAL", + "INVALID" ] - } - }, - "type": "object" - }, - "HostRule": { - "type": "object", - "description": "UrlMaps A host-matching rule for a URL. If matched, will use the named PathMatcher to select the BackendService.", - "properties": { - "hosts": { - "description": "The list of host patterns to match. They must be valid hostnames with optional port numbers in the format host:port. * matches any string of ([a-z0-9-.]*). In that case, * must be the first character, and if followed by anything, the immediate following character must be either - or .. * based matching is not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.", + }, + "connectionEndpoints": { + "description": "[Output Only] An array of connections for all the producers connected to this network attachment.", "type": "array", "items": { - "type": "string" + "$ref": "NetworkAttachmentConnectedEndpoint" } }, - "pathMatcher": { - "description": "The name of the PathMatcher to use to match the path portion of the URL if the hostRule matches the URL's host portion.", - "type": "string" - }, - "description": { - "description": "An optional description of this resource. Provide this property when you create the resource.", - "type": "string" - } - }, - "id": "HostRule" - }, - "HttpsHealthCheck": { - "description": "Represents a legacy HTTPS Health Check resource. Legacy HTTPS health checks have been deprecated. If you are using a target pool-based network load balancer, you must use a legacy HTTP (not HTTPS) health check. For all other load balancers, including backend service-based network load balancers, and for managed instance group auto-healing, you must use modern (non-legacy) health checks. For more information, see Health checks overview .", - "type": "object", - "properties": { - "timeoutSec": { - "type": "integer", - "format": "int32", - "description": "How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have a greater value than checkIntervalSec." - }, - "unhealthyThreshold": { - "format": "int32", - "description": "A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.", - "type": "integer" - }, - "host": { - "description": "The value of the host header in the HTTPS health check request. If left empty (default value), the public IP on behalf of which this health check is performed will be used.", - "type": "string" - }, - "description": { - "description": "An optional description of this resource. Provide this property when you create the resource.", - "type": "string" - }, - "healthyThreshold": { - "description": "A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.", - "type": "integer", - "format": "int32" - }, - "name": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", - "type": "string" + "subnetworks": { + "description": "An array of URLs where each entry is the URL of a subnet provided by the service consumer to use for endpoints in the producers that connect to this network attachment.", + "type": "array", + "items": { + "type": "string" + } }, - "kind": { - "type": "string", - "default": "compute#httpsHealthCheck", - "description": "Type of the resource." + "producerRejectLists": { + "description": "Projects that are not allowed to connect to this network attachment. The project can be specified using its id or number.", + "type": "array", + "items": { + "type": "string" + } }, - "creationTimestamp": { - "description": "[Output Only] Creation timestamp in RFC3339 text format.", - "type": "string" + "producerAcceptLists": { + "description": "Projects that are allowed to connect to this network attachment. The project can be specified using its id or number.", + "type": "array", + "items": { + "type": "string" + } }, - "id": { + "fingerprint": { + "description": "Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. An up-to-date fingerprint must be provided in order to patch.", "type": "string", - "format": "uint64", - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server." - }, - "requestPath": { - "description": "The request path of the HTTPS health check request. The default value is \"/\".", - "type": "string" - }, - "checkIntervalSec": { - "description": "How often (in seconds) to send a health check. The default value is 5 seconds.", - "format": "int32", - "type": "integer" - }, - "port": { - "description": "The TCP port number for the HTTPS health check request. The default value is 443.", - "format": "int32", - "type": "integer" + "format": "byte" }, - "selfLink": { - "description": "[Output Only] Server-defined URL for the resource.", - "type": "string" - } - }, - "id": "HttpsHealthCheck" - }, - "TargetTcpProxiesSetBackendServiceRequest": { - "id": "TargetTcpProxiesSetBackendServiceRequest", - "properties": { - "service": { - "description": "The URL of the new BackendService resource for the targetTcpProxy.", + "network": { + "description": "[Output Only] The URL of the network which the Network Attachment belongs to. Practically it is inferred by fetching the network of the first subnetwork associated. Because it is required that all the subnetworks must be from the same network, it is assured that the Network Attachment belongs to the same network as all the subnetworks.", "type": "string" } - }, - "type": "object" + } }, - "HealthCheck": { + "NetworkAttachmentConnectedEndpoint": { + "id": "NetworkAttachmentConnectedEndpoint", + "description": "[Output Only] A connection connected to this network attachment.", "type": "object", - "description": "Represents a Health Check resource. Google Compute Engine has two Health Check resources: * [Global](/compute/docs/reference/rest/v1/healthChecks) * [Regional](/compute/docs/reference/rest/v1/regionHealthChecks) Internal HTTP(S) load balancers must use regional health checks (`compute.v1.regionHealthChecks`). Traffic Director must use global health checks (`compute.v1.HealthChecks`). Internal TCP/UDP load balancers can use either regional or global health checks (`compute.v1.regionHealthChecks` or `compute.v1.HealthChecks`). External HTTP(S), TCP proxy, and SSL proxy load balancers as well as managed instance group auto-healing must use global health checks (`compute.v1.HealthChecks`). Backend service-based network load balancers must use regional health checks (`compute.v1.regionHealthChecks`). Target pool-based network load balancers must use legacy HTTP health checks (`compute.v1.httpHealthChecks`). For more information, see Health checks overview.", - "id": "HealthCheck", "properties": { - "timeoutSec": { - "type": "integer", - "format": "int32", - "description": "How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have greater value than checkIntervalSec." - }, - "logConfig": { - "$ref": "HealthCheckLogConfig", - "description": "Configure logging on this health check." - }, - "healthyThreshold": { - "type": "integer", - "description": "A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.", - "format": "int32" - }, - "creationTimestamp": { - "description": "[Output Only] Creation timestamp in 3339 text format.", - "type": "string" - }, - "kind": { - "description": "Type of the resource.", - "default": "compute#healthCheck", - "type": "string" - }, - "http2HealthCheck": { - "$ref": "HTTP2HealthCheck" - }, - "description": { - "description": "An optional description of this resource. Provide this property when you create the resource.", - "type": "string" - }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for the resource." - }, - "id": { - "type": "string", - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", - "format": "uint64" - }, - "httpHealthCheck": { - "$ref": "HTTPHealthCheck" - }, - "unhealthyThreshold": { - "description": "A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.", - "format": "int32", - "type": "integer" - }, - "region": { + "status": { + "description": "The status of a connected endpoint to this network attachment.", "type": "string", - "description": "[Output Only] Region where the health check resides. Not applicable to global health checks." - }, - "tcpHealthCheck": { - "$ref": "TCPHealthCheck" - }, - "grpcHealthCheck": { - "$ref": "GRPCHealthCheck" - }, - "type": { - "description": "Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS, HTTP2 or GRPC. Exactly one of the protocol-specific health check fields must be specified, which must match type field.", "enumDescriptions": [ - "", - "", - "", - "", - "", - "", + "The consumer allows traffic from the producer to reach its VPC.", + "The consumer network attachment no longer exists.", + "The consumer needs to take further action before traffic can be served.", + "The consumer neither allows nor prohibits traffic from the producer to reach its VPC.", + "The consumer prohibits traffic from the producer to reach its VPC.", "" ], - "type": "string", "enum": [ - "GRPC", - "HTTP", - "HTTP2", - "HTTPS", - "INVALID", - "SSL", - "TCP" + "ACCEPTED", + "CLOSED", + "NEEDS_ATTENTION", + "PENDING", + "REJECTED", + "STATUS_UNSPECIFIED" ] }, - "name": { - "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. For example, a name that is 1-63 characters long, matches the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`, and otherwise complies with RFC1035. This regular expression describes a name where the first character is a lowercase letter, and all following characters are a dash, lowercase letter, or digit, except the last character, which isn't a dash.", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" - }, - "checkIntervalSec": { - "format": "int32", - "type": "integer", - "description": "How often (in seconds) to send a health check. The default value is 5 seconds." - }, - "httpsHealthCheck": { - "$ref": "HTTPSHealthCheck" - }, - "sslHealthCheck": { - "$ref": "SSLHealthCheck" - } - } - }, - "InterconnectLocationRegionInfo": { - "id": "InterconnectLocationRegionInfo", - "properties": { - "expectedRttMs": { - "format": "int64", - "type": "string", - "description": "Expected round-trip time in milliseconds, from this InterconnectLocation to a VM in this region." - }, - "region": { - "type": "string", - "description": "URL for the region of this location." - }, - "locationPresence": { - "enumDescriptions": [ - "This region is not in any common network presence with this InterconnectLocation.", - "This region shares the same regional network presence as this InterconnectLocation.", - "[Deprecated] This region is not in any common network presence with this InterconnectLocation.", - "[Deprecated] This region shares the same regional network presence as this InterconnectLocation." - ], - "description": "Identifies the network presence of this location.", - "enum": [ - "GLOBAL", - "LOCAL_REGION", - "LP_GLOBAL", - "LP_LOCAL_REGION" - ], - "type": "string" - } - }, - "type": "object", - "description": "Information about any potential InterconnectAttachments between an Interconnect at a specific InterconnectLocation, and a specific Cloud Region." - }, - "DiskType": { - "description": "Represents a Disk Type resource. Google Compute Engine has two Disk Type resources: * [Regional](/compute/docs/reference/rest/v1/regionDiskTypes) * [Zonal](/compute/docs/reference/rest/v1/diskTypes) You can choose from a variety of disk types based on your needs. For more information, read Storage options. The diskTypes resource represents disk types for a zonal persistent disk. For more information, read Zonal persistent disks. The regionDiskTypes resource represents disk types for a regional persistent disk. For more information, read Regional persistent disks.", - "properties": { - "description": { - "description": "[Output Only] An optional description of this resource.", + "projectIdOrNum": { + "description": "The project id or number of the interface to which the IP was assigned.", "type": "string" }, - "validDiskSize": { - "description": "[Output Only] An optional textual description of the valid disk size, such as \"10GB-10TB\".", + "subnetwork": { + "description": "The subnetwork used to assign the IP to the producer instance network interface.", "type": "string" }, - "name": { - "description": "[Output Only] Name of the resource.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "ipAddress": { + "description": "The IPv4 address assigned to the producer instance network interface. This value will be a range in case of Serverless.", "type": "string" }, - "deprecated": { - "description": "[Output Only] The deprecation status associated with this disk type.", - "$ref": "DeprecationStatus" - }, - "kind": { - "type": "string", - "default": "compute#diskType", - "description": "[Output Only] Type of the resource. Always compute#diskType for disk types." - }, - "region": { - "description": "[Output Only] URL of the region where the disk type resides. Only applicable for regional resources. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.", + "ipv6Address": { + "description": "The IPv6 address assigned to the producer instance network interface. This is only assigned when the stack types of both the instance network interface and the consumer subnet are IPv4_IPv6.", "type": "string" }, - "defaultDiskSizeGb": { - "type": "string", - "description": "[Output Only] Server-defined default disk size in GB.", - "format": "int64" - }, - "creationTimestamp": { - "type": "string", - "description": "[Output Only] Creation timestamp in RFC3339 text format." - }, - "zone": { - "type": "string", - "description": "[Output Only] URL of the zone where the disk type resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body." - }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for the resource." - }, - "id": { - "format": "uint64", - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", - "type": "string" - } - }, - "id": "DiskType", - "type": "object" - }, - "RegionInstanceGroupManagersRecreateRequest": { - "id": "RegionInstanceGroupManagersRecreateRequest", - "type": "object", - "properties": { - "instances": { + "secondaryIpCidrRanges": { + "description": "Alias IP ranges from the same subnetwork.", "type": "array", - "description": "The URLs of one or more instances to recreate. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].", "items": { "type": "string" } + }, + "subnetworkCidrRange": { + "description": "[Output Only] The CIDR range of the subnet from which the IPv4 internal IP was allocated from.", + "type": "string" } } }, - "VpnGatewayAggregatedList": { + "NetworkAttachmentList": { + "id": "NetworkAttachmentList", "type": "object", "properties": { - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", + "kind": { + "default": "compute#networkAttachmentList", "type": "string" }, - "unreachables": { - "items": { - "type": "string" - }, - "type": "array", - "description": "[Output Only] Unreachable resources." + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" }, "items": { - "type": "object", - "additionalProperties": { - "description": "[Output Only] Name of the scope containing this set of VPN gateways.", - "$ref": "VpnGatewaysScopedList" - }, - "description": "A list of VpnGateway resources." + "description": "A list of NetworkAttachment resources.", + "type": "array", + "items": { + "$ref": "NetworkAttachment" + } }, "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" }, - "kind": { - "description": "[Output Only] Type of resource. Always compute#vpnGateway for VPN gateways.", - "type": "string", - "default": "compute#vpnGatewayAggregatedList" + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" }, "warning": { + "description": "[Output Only] Informational warning message.", "type": "object", "properties": { - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -25004,6 +24601,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -25022,6 +24620,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -25033,6 +24661,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -25050,46 +24679,120 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", "type": "string" }, "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", "items": { "type": "object", "properties": { - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - }, "key": { "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" } } - }, - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "type": "array" + } } - }, - "description": "[Output Only] Informational warning message." + } + } + } + }, + "NetworkEdgeSecurityService": { + "id": "NetworkEdgeSecurityService", + "description": "Represents a Google Cloud Armor network edge security service resource.", + "type": "object", + "properties": { + "kind": { + "description": "[Output only] Type of the resource. Always compute#networkEdgeSecurityService for NetworkEdgeSecurityServices", + "default": "compute#networkEdgeSecurityService", + "type": "string" }, "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", + "type": "string", + "format": "uint64" + }, + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" + }, + "name": { + "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "type": "string" + }, + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", + "type": "string" + }, + "selfLinkWithId": { + "description": "[Output Only] Server-defined URL for this resource with the resource id.", + "type": "string" + }, + "region": { + "description": "[Output Only] URL of the region where the resource resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.", + "type": "string" + }, + "fingerprint": { + "description": "Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be provided in order to update the NetworkEdgeSecurityService, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a NetworkEdgeSecurityService.", + "type": "string", + "format": "byte" + }, + "securityPolicy": { + "description": "The resource URL for the network edge security service associated with this network edge security service.", "type": "string" } - }, - "id": "VpnGatewayAggregatedList" + } }, - "RegionAutoscalerList": { - "id": "RegionAutoscalerList", - "description": "Contains a list of autoscalers.", + "NetworkEdgeSecurityServiceAggregatedList": { + "id": "NetworkEdgeSecurityServiceAggregatedList", + "type": "object", "properties": { + "kind": { + "description": "[Output Only] Type of resource. Always compute#networkEdgeSecurityServiceAggregatedList for lists of Network Edge Security Services.", + "default": "compute#networkEdgeSecurityServiceAggregatedList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of NetworkEdgeSecurityServicesScopedList resources.", + "type": "object", + "additionalProperties": { + "description": "Name of the scope containing this set of security policies.", + "$ref": "NetworkEdgeSecurityServicesScopedList" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { "code": { - "type": "string", "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -25101,6 +24804,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -25119,6 +24823,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -25130,6 +24864,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -25149,303 +24884,59 @@ "UNREACHABLE" ] }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, "data": { "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", "type": "array", "items": { "type": "object", "properties": { - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - }, "key": { "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" } } } - }, - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." } - }, - "description": "[Output Only] Informational warning message.", - "type": "object" - }, - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." - }, - "items": { - "items": { - "$ref": "Autoscaler" - }, - "type": "array", - "description": "A list of Autoscaler resources." + } }, - "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "etag": { "type": "string" }, - "kind": { - "default": "compute#regionAutoscalerList", - "type": "string", - "description": "Type of resource." - }, - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", - "type": "string" - } - }, - "type": "object" - }, - "TargetPoolsRemoveHealthCheckRequest": { - "id": "TargetPoolsRemoveHealthCheckRequest", - "properties": { - "healthChecks": { + "unreachables": { + "description": "[Output Only] Unreachable resources.", "type": "array", - "description": "Health check URL to be removed. This can be a full or valid partial URL. For example, the following are valid URLs: - https://www.googleapis.com/compute/beta/projects/project /global/httpHealthChecks/health-check - projects/project/global/httpHealthChecks/health-check - global/httpHealthChecks/health-check ", "items": { - "$ref": "HealthCheckReference" + "type": "string" } } - }, - "type": "object" + } }, - "Firewall": { + "NetworkEdgeSecurityServicesScopedList": { + "id": "NetworkEdgeSecurityServicesScopedList", + "type": "object", "properties": { - "sourceRanges": { - "description": "If source ranges are specified, the firewall rule applies only to traffic that has a source IP address in these ranges. These ranges must be expressed in CIDR format. One or both of sourceRanges and sourceTags may be set. If both fields are set, the rule applies to traffic that has a source IP address within sourceRanges OR a source IP from a resource with a matching tag listed in the sourceTags field. The connection does not need to match both fields for the rule to apply. Both IPv4 and IPv6 are supported.", + "networkEdgeSecurityServices": { + "description": "A list of NetworkEdgeSecurityServices contained in this scope.", "type": "array", "items": { - "type": "string" + "$ref": "NetworkEdgeSecurityService" } }, - "creationTimestamp": { - "description": "[Output Only] Creation timestamp in RFC3339 text format.", - "type": "string" - }, - "sourceServiceAccounts": { - "description": "If source service accounts are specified, the firewall rules apply only to traffic originating from an instance with a service account in this list. Source service accounts cannot be used to control traffic to an instance's external IP address because service accounts are associated with an instance, not an IP address. sourceRanges can be set at the same time as sourceServiceAccounts. If both are set, the firewall applies to traffic that has a source IP address within the sourceRanges OR a source IP that belongs to an instance with service account listed in sourceServiceAccount. The connection does not need to match both fields for the firewall to apply. sourceServiceAccounts cannot be used at the same time as sourceTags or targetTags.", - "items": { - "type": "string" - }, - "type": "array" - }, - "direction": { - "description": "Direction of traffic to which this firewall applies, either `INGRESS` or `EGRESS`. The default is `INGRESS`. For `EGRESS` traffic, you cannot specify the sourceTags fields.", - "type": "string", - "enumDescriptions": [ - "Indicates that firewall should apply to outgoing traffic.", - "Indicates that firewall should apply to incoming traffic." - ], - "enum": [ - "EGRESS", - "INGRESS" - ] - }, - "disabled": { - "description": "Denotes whether the firewall rule is disabled. When set to true, the firewall rule is not enforced and the network behaves as if it did not exist. If this is unspecified, the firewall rule will be enabled.", - "type": "boolean" - }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for the resource." - }, - "denied": { - "type": "array", - "items": { - "type": "object", - "properties": { - "IPProtocol": { - "description": "The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp) or the IP protocol number.", - "type": "string" - }, - "ports": { - "description": "An optional list of ports to which this rule applies. This field is only applicable for the UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: [\"22\"], [\"80\",\"443\"], and [\"12345-12349\"].", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "description": "The list of DENY rules specified by this firewall. Each rule specifies a protocol and port-range tuple that describes a denied connection." - }, - "network": { - "description": "URL of the network resource for this firewall rule. If not specified when creating a firewall rule, the default network is used: global/networks/default If you choose to specify this field, you can specify the network as a full or partial URL. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/myproject/global/networks/my-network - projects/myproject/global/networks/my-network - global/networks/default ", - "type": "string" - }, - "allowed": { - "type": "array", - "description": "The list of ALLOW rules specified by this firewall. Each rule specifies a protocol and port-range tuple that describes a permitted connection.", - "items": { - "type": "object", - "properties": { - "IPProtocol": { - "type": "string", - "description": "The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp) or the IP protocol number." - }, - "ports": { - "items": { - "type": "string" - }, - "description": "An optional list of ports to which this rule applies. This field is only applicable for the UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: [\"22\"], [\"80\",\"443\"], and [\"12345-12349\"].", - "type": "array" - } - } - } - }, - "priority": { - "description": "Priority for this rule. This is an integer between `0` and `65535`, both inclusive. The default value is `1000`. Relative priorities determine which rule takes effect if multiple rules apply. Lower values indicate higher priority. For example, a rule with priority `0` has higher precedence than a rule with priority `1`. DENY rules take precedence over ALLOW rules if they have equal priority. Note that VPC networks have implied rules with a priority of `65535`. To avoid conflicts with the implied rules, use a priority number less than `65535`.", - "format": "int32", - "type": "integer" - }, - "description": { - "type": "string", - "description": "An optional description of this resource. Provide this field when you create the resource." - }, - "name": { - "description": "Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit.", - "annotations": { - "required": [ - "compute.firewalls.insert", - "compute.firewalls.patch" - ] - }, - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" - }, - "logConfig": { - "$ref": "FirewallLogConfig", - "description": "This field denotes the logging options for a particular firewall rule. If logging is enabled, logs will be exported to Cloud Logging." - }, - "targetTags": { - "type": "array", - "items": { - "type": "string" - }, - "description": "A list of tags that controls which instances the firewall rule applies to. If targetTags are specified, then the firewall rule applies only to instances in the VPC network that have one of those tags. If no targetTags are specified, the firewall rule applies to all instances on the specified network." - }, - "kind": { - "type": "string", - "description": "[Output Only] Type of the resource. Always compute#firewall for firewall rules.", - "default": "compute#firewall" - }, - "id": { - "format": "uint64", - "type": "string", - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server." - }, - "sourceTags": { - "items": { - "type": "string" - }, - "type": "array", - "description": "If source tags are specified, the firewall rule applies only to traffic with source IPs that match the primary network interfaces of VM instances that have the tag and are in the same VPC network. Source tags cannot be used to control traffic to an instance's external IP address, it only applies to traffic between instances in the same virtual network. Because tags are associated with instances, not IP addresses. One or both of sourceRanges and sourceTags may be set. If both fields are set, the firewall applies to traffic that has a source IP address within sourceRanges OR a source IP from a resource with a matching tag listed in the sourceTags field. The connection does not need to match both fields for the firewall to apply." - }, - "targetServiceAccounts": { - "type": "array", - "items": { - "type": "string" - }, - "description": "A list of service accounts indicating sets of instances located in the network that may make network connections as specified in allowed[]. targetServiceAccounts cannot be used at the same time as targetTags or sourceTags. If neither targetServiceAccounts nor targetTags are specified, the firewall rule applies to all instances on the specified network." - }, - "destinationRanges": { - "items": { - "type": "string" - }, - "type": "array", - "description": "If destination ranges are specified, the firewall rule applies only to traffic that has destination IP address in these ranges. These ranges must be expressed in CIDR format. Both IPv4 and IPv6 are supported." - } - }, - "type": "object", - "description": "Represents a Firewall Rule resource. Firewall rules allow or deny ingress traffic to, and egress traffic from your instances. For more information, read Firewall rules.", - "id": "Firewall" - }, - "InterconnectCircuitInfo": { - "type": "object", - "properties": { - "customerDemarcId": { - "type": "string", - "description": "Customer-side demarc ID for this circuit." - }, - "googleCircuitId": { - "type": "string", - "description": "Google-assigned unique ID for this circuit. Assigned at circuit turn-up." - }, - "googleDemarcId": { - "description": "Google-side demarc ID for this circuit. Assigned at circuit turn-up and provided by Google to the customer in the LOA.", - "type": "string" - } - }, - "id": "InterconnectCircuitInfo", - "description": "Describes a single physical circuit between the Customer and Google. CircuitInfo objects are created by Google, so all fields are output only." - }, - "DiskList": { - "description": "A list of Disk resources.", - "id": "DiskList", - "properties": { - "items": { - "items": { - "$ref": "Disk" - }, - "type": "array", - "description": "A list of Disk resources." - }, "warning": { + "description": "Informational warning which replaces the list of security policies when the list is empty.", + "type": "object", "properties": { - "data": { - "items": { - "properties": { - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - }, - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - } - }, - "type": "object" - }, - "type": "array", - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } " - }, "code": { - "type": "string", "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -25457,6 +24948,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -25474,302 +24966,128 @@ "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", "When undeclared properties in the schema are present", "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" ] }, "message": { "description": "[Output Only] A human-readable description of the warning code.", "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } } - }, - "description": "[Output Only] Informational warning message.", - "type": "object" - }, - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", - "type": "string" - }, - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", - "type": "string" - }, - "kind": { - "default": "compute#diskList", - "description": "[Output Only] Type of resource. Always compute#diskList for lists of disks.", - "type": "string" - }, - "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." - } - }, - "type": "object" - }, - "AutoscalingPolicyLoadBalancingUtilization": { - "id": "AutoscalingPolicyLoadBalancingUtilization", - "properties": { - "utilizationTarget": { - "description": "Fraction of backend capacity utilization (set in HTTP(S) load balancing configuration) that the autoscaler maintains. Must be a positive float value. If not defined, the default is 0.8.", - "format": "double", - "type": "number" - } - }, - "description": "Configuration parameters of autoscaling based on load balancing.", - "type": "object" - }, - "InstanceGroupManagerStatusVersionTarget": { - "id": "InstanceGroupManagerStatusVersionTarget", - "type": "object", - "properties": { - "isReached": { - "type": "boolean", - "description": "[Output Only] A bit indicating whether version target has been reached in this managed instance group, i.e. all instances are in their target version. Instances' target version are specified by version field on Instance Group Manager." + } } } }, - "Disk": { + "NetworkEndpointGroupList": { + "id": "NetworkEndpointGroupList", + "type": "object", "properties": { - "physicalBlockSizeBytes": { - "description": "Physical block size of the persistent disk, in bytes. If not present in a request, a default value is used. The currently supported size is 4096, other sizes may be added in the future. If an unsupported value is requested, the error message will list the supported values for the caller's project.", - "type": "string", - "format": "int64" - }, - "selfLink": { - "description": "[Output Only] Server-defined fully-qualified URL for this resource.", - "type": "string" - }, - "sourceDiskId": { - "description": "[Output Only] The unique ID of the disk used to create this disk. This value identifies the exact disk that was used to create this persistent disk. For example, if you created the persistent disk from a disk that was later deleted and recreated under the same name, the source disk ID would identify the exact version of the disk that was used.", - "type": "string" - }, - "locationHint": { - "type": "string", - "description": "An opaque location hint used to place the disk close to other resources. This field is for use by internal tools that use the public API." - }, - "type": { - "type": "string", - "description": "URL of the disk type resource describing which disk type to use to create the disk. Provide this when creating the disk. For example: projects/project /zones/zone/diskTypes/pd-ssd . See Persistent disk types." - }, - "users": { - "items": { - "type": "string" - }, - "description": "[Output Only] Links to the users of the disk (attached instances) in form: projects/project/zones/zone/instances/instance", - "type": "array" - }, - "sourceDisk": { - "description": "The source disk used to create this disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - https://www.googleapis.com/compute/v1/projects/project/regions/region /disks/disk - projects/project/zones/zone/disks/disk - projects/project/regions/region/disks/disk - zones/zone/disks/disk - regions/region/disks/disk ", - "type": "string" - }, - "licenseCodes": { - "description": "Integer license codes indicating which licenses are attached to this disk.", - "items": { - "type": "string", - "format": "int64" - }, - "type": "array" - }, - "provisionedIops": { - "type": "string", - "format": "int64", - "description": "Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. Values must be between 10,000 and 120,000. For more details, see the Extreme persistent disk documentation." - }, - "sourceStorageObject": { - "description": "The full Google Cloud Storage URI where the disk image is stored. This file must be a gzip-compressed tarball whose name ends in .tar.gz or virtual machine disk whose name ends in vmdk. Valid URIs may start with gs:// or https://storage.googleapis.com/. This flag is not optimized for creating multiple disks from a source storage object. To create many disks from a source storage object, use gcloud compute images import instead.", - "type": "string" - }, - "status": { - "enum": [ - "CREATING", - "DELETING", - "FAILED", - "READY", - "RESTORING" - ], - "enumDescriptions": [ - "Disk is provisioning", - "Disk is deleting.", - "Disk creation failed.", - "Disk is ready for use.", - "Source data is being copied into the disk." - ], - "description": "[Output Only] The status of disk creation. - CREATING: Disk is provisioning. - RESTORING: Source data is being copied into the disk. - FAILED: Disk creation failed. - READY: Disk is ready for use. - DELETING: Disk is deleting. ", - "type": "string" - }, - "lastDetachTimestamp": { - "type": "string", - "description": "[Output Only] Last detach timestamp in RFC3339 text format." - }, - "sourceImage": { - "description": "The source image used to create this disk. If the source image is deleted, this field will not be set. To create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/debian-9 to use the latest Debian 9 image: projects/debian-cloud/global/images/family/debian-9 Alternatively, use a specific version of a public operating system image: projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD To create a disk with a custom image that you created, specify the image name in the following format: global/images/my-custom-image You can also specify a custom image by its image family, which returns the latest version of the image in that family. Replace the image name with family/family-name: global/images/family/my-image-family ", + "kind": { + "description": "[Output Only] The resource type, which is always compute#networkEndpointGroupList for network endpoint group lists.", + "default": "compute#networkEndpointGroupList", "type": "string" }, - "licenses": { - "type": "array", - "description": "A list of publicly visible licenses. Reserved for Google's use.", - "items": { - "type": "string" - } - }, - "kind": { - "description": "[Output Only] Type of the resource. Always compute#disk for disks.", - "default": "compute#disk", + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", "type": "string" }, - "replicaZones": { + "items": { + "description": "A list of NetworkEndpointGroup resources.", "type": "array", - "description": "URLs of the zones where the disk should be replicated to. Only applicable for regional resources.", "items": { - "type": "string" - } - }, - "labelFingerprint": { - "type": "string", - "description": "A fingerprint for the labels being applied to this disk, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a disk.", - "format": "byte" - }, - "diskEncryptionKey": { - "description": "Encrypts the disk using a customer-supplied encryption key or a customer-managed encryption key. Encryption keys do not protect access to metadata of the disk. After you encrypt a disk with a customer-supplied key, you must provide the same key if you use the disk later. For example, to create a disk snapshot, to create a disk image, to create a machine image, or to attach the disk to a virtual machine. After you encrypt a disk with a customer-managed key, the diskEncryptionKey.kmsKeyName is set to a key *version* name once the disk is created. The disk is encrypted with this version of the key. In the response, diskEncryptionKey.kmsKeyName appears in the following format: \"diskEncryptionKey.kmsKeyName\": \"projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key /cryptoKeysVersions/version If you do not provide an encryption key when creating the disk, then the disk is encrypted using an automatically generated key and you don't need to provide a key to use the disk later.", - "$ref": "CustomerEncryptionKey" - }, - "sizeGb": { - "format": "int64", - "type": "string", - "description": "Size, in GB, of the persistent disk. You can specify this field when creating a persistent disk using the sourceImage, sourceSnapshot, or sourceDisk parameter, or specify it alone to create an empty persistent disk. If you specify this field along with a source, the value of sizeGb must not be less than the size of the source. Acceptable values are 1 to 65536, inclusive." - }, - "zone": { - "description": "[Output Only] URL of the zone where the disk resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.", - "type": "string" - }, - "architecture": { - "enumDescriptions": [ - "Default value indicating Architecture is not set.", - "Machines with architecture ARM64", - "Machines with architecture X86_64" - ], - "type": "string", - "enum": [ - "ARCHITECTURE_UNSPECIFIED", - "ARM64", - "X86_64" - ], - "description": "The architecture of the disk. Valid values are ARM64 or X86_64." - }, - "lastAttachTimestamp": { - "type": "string", - "description": "[Output Only] Last attach timestamp in RFC3339 text format." - }, - "creationTimestamp": { - "description": "[Output Only] Creation timestamp in RFC3339 text format.", - "type": "string" - }, - "params": { - "$ref": "DiskParams", - "description": "Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload." - }, - "region": { - "type": "string", - "description": "[Output Only] URL of the region where the disk resides. Only applicable for regional resources. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body." - }, - "sourceSnapshotId": { - "type": "string", - "description": "[Output Only] The unique ID of the snapshot used to create this disk. This value identifies the exact snapshot that was used to create this persistent disk. For example, if you created the persistent disk from a snapshot that was later deleted and recreated under the same name, the source snapshot ID would identify the exact version of the snapshot that was used." - }, - "labels": { - "description": "Labels to apply to this disk. These can be later modified by the setLabels method.", - "type": "object", - "additionalProperties": { - "type": "string" + "$ref": "NetworkEndpointGroup" } }, - "sourceImageEncryptionKey": { - "description": "The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key.", - "$ref": "CustomerEncryptionKey" - }, - "sourceSnapshot": { - "description": "The source snapshot used to create this disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project /global/snapshots/snapshot - projects/project/global/snapshots/snapshot - global/snapshots/snapshot ", + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", "type": "string" }, - "name": { - "type": "string", - "annotations": { - "required": [ - "compute.disks.insert" - ] - }, - "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" - }, - "description": { - "type": "string", - "description": "An optional description of this resource. Provide this property when you create the resource." - }, - "resourcePolicies": { - "items": { - "type": "string" - }, - "description": "Resource policies applied to this disk for automatic snapshot creations.", - "type": "array" - }, - "id": { - "type": "string", - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", - "format": "uint64" - }, - "options": { - "description": "Internal use only.", + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", "type": "string" }, - "guestOsFeatures": { - "type": "array", - "items": { - "$ref": "GuestOsFeature" - }, - "description": "A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options." - }, - "satisfiesPzs": { - "type": "boolean", - "description": "[Output Only] Reserved for future use." - }, - "sourceSnapshotEncryptionKey": { - "description": "The customer-supplied encryption key of the source snapshot. Required if the source snapshot is protected by a customer-supplied encryption key.", - "$ref": "CustomerEncryptionKey" - }, - "sourceImageId": { - "description": "[Output Only] The ID value of the image used to create this disk. This value identifies the exact image that was used to create this persistent disk. For example, if you created the persistent disk from an image that was later deleted and recreated under the same name, the source image ID would identify the exact version of the image that was used.", - "type": "string" - } - }, - "type": "object", - "description": "Represents a Persistent Disk resource. Google Compute Engine has two Disk resources: * [Zonal](/compute/docs/reference/rest/v1/disks) * [Regional](/compute/docs/reference/rest/v1/regionDisks) Persistent disks are required for running your VM instances. Create both boot and non-boot (data) persistent disks. For more information, read Persistent Disks. For more storage options, read Storage options. The disks resource represents a zonal persistent disk. For more information, read Zonal persistent disks. The regionDisks resource represents a regional persistent disk. For more information, read Regional resources.", - "id": "Disk" - }, - "XpnHostList": { - "properties": { "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { - "data": { - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "items": { - "type": "object", - "properties": { - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - }, - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - } - } - }, - "type": "array" - }, - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, "code": { "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -25781,6 +25099,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -25799,7 +25118,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "type": "string", + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -25811,6 +25159,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -25829,319 +25178,264 @@ "UNDECLARED_PROPERTIES", "UNREACHABLE" ] - } - }, - "description": "[Output Only] Informational warning message.", - "type": "object" - }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." - }, - "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." - }, - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." - }, - "items": { - "description": "[Output Only] A list of shared VPC host project URLs.", - "items": { - "$ref": "Project" - }, - "type": "array" - }, - "kind": { - "type": "string", - "description": "[Output Only] Type of resource. Always compute#xpnHostList for lists of shared VPC hosts.", - "default": "compute#xpnHostList" - } - }, - "type": "object", - "id": "XpnHostList" - }, - "TestPermissionsRequest": { - "type": "object", - "id": "TestPermissionsRequest", - "properties": { - "permissions": { - "type": "array", - "description": "The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.", - "items": { - "type": "string" - } - } - } - }, - "OperationList": { - "description": "Contains a list of Operation resources.", - "properties": { - "kind": { - "description": "[Output Only] Type of resource. Always `compute#operations` for Operations resource.", - "type": "string", - "default": "compute#operationList" - }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." - }, - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than `maxResults`, use the `nextPageToken` as a value for the query parameter `pageToken` in the next list request. Subsequent list requests will have their own `nextPageToken` to continue paging through the results." - }, - "id": { - "type": "string", - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server." - }, - "items": { - "items": { - "$ref": "Operation" - }, - "description": "[Output Only] A list of Operation resources.", - "type": "array" - }, - "warning": { - "description": "[Output Only] Informational warning message.", - "type": "object", - "properties": { + }, "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" }, "data": { - "type": "array", "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", "items": { + "type": "object", "properties": { - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - }, "key": { "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" } - }, - "type": "object" + } } - }, - "code": { - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "type": "string", - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ] } } } - }, - "type": "object", - "id": "OperationList" + } }, - "InstanceGroupManager": { + "NetworkEndpointGroup": { + "id": "NetworkEndpointGroup", + "description": "Represents a collection of network endpoints. A network endpoint group (NEG) defines how a set of endpoints should be reached, whether they are reachable, and where they are located. For more information about using NEGs for different use cases, see Network endpoint groups overview.", + "type": "object", "properties": { - "region": { - "description": "[Output Only] The URL of the region where the managed instance group resides (for regional resources).", + "kind": { + "description": "[Output Only] Type of the resource. Always compute#networkEndpointGroup for network endpoint group.", + "default": "compute#networkEndpointGroup", "type": "string" }, - "updatePolicy": { - "description": "The update policy for this managed instance group.", - "$ref": "InstanceGroupManagerUpdatePolicy" + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", + "type": "string", + "format": "uint64" }, - "currentActions": { - "$ref": "InstanceGroupManagerActionsSummary", - "description": "[Output Only] The list of instance actions and the number of instances in this managed instance group that are scheduled for each of those actions." + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" }, - "distributionPolicy": { - "$ref": "DistributionPolicy", - "description": "Policy specifying the intended distribution of managed instances across zones in a regional managed instance group." + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", + "type": "string" }, - "fingerprint": { - "format": "byte", - "description": "Fingerprint of this resource. This field may be used in optimistic locking. It will be ignored when inserting an InstanceGroupManager. An up-to-date fingerprint must be provided in order to update the InstanceGroupManager, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an InstanceGroupManager.", + "name": { + "description": "Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", "type": "string" }, - "instanceGroup": { - "description": "[Output Only] The URL of the Instance Group resource.", + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource.", "type": "string" }, - "zone": { + "networkEndpointType": { + "description": "Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT.", "type": "string", - "description": "[Output Only] The URL of a zone where the managed instance group is located (for zonal resources)." + "enumDescriptions": [ + "The network endpoint is represented by an IP address.", + "The network endpoint is represented by IP address and port pair.", + "The network endpoint is represented by fully qualified domain name and port.", + "The network endpoint is represented by an internet IP address and port.", + "The network endpoint is represented by an IP address and port. The endpoint belongs to a VM or pod running in a customer's on-premises.", + "The network endpoint is either public Google APIs or services exposed by other GCP Project with a Service Attachment. The connection is set up by private service connect", + "The network endpoint is handled by specified serverless infrastructure." + ], + "enum": [ + "GCE_VM_IP", + "GCE_VM_IP_PORT", + "INTERNET_FQDN_PORT", + "INTERNET_IP_PORT", + "NON_GCP_PRIVATE_IP_PORT", + "PRIVATE_SERVICE_CONNECT", + "SERVERLESS" + ] }, - "versions": { - "items": { - "$ref": "InstanceGroupManagerVersion" - }, - "description": "Specifies the instance templates used by this managed instance group to create instances. Each version is defined by an instanceTemplate and a name. Every version can appear at most once per instance group. This field overrides the top-level instanceTemplate field. Read more about the relationships between these fields. Exactly one version must leave the targetSize field unset. That version will be applied to all remaining instances. For more information, read about canary updates.", - "type": "array" + "size": { + "description": "[Output only] Number of network endpoints in the network endpoint group.", + "type": "integer", + "format": "int32" }, - "description": { - "type": "string", - "description": "An optional description of this resource." + "region": { + "description": "[Output Only] The URL of the region where the network endpoint group is located.", + "type": "string" }, - "status": { - "$ref": "InstanceGroupManagerStatus", - "description": "[Output Only] The status of this managed instance group." + "zone": { + "description": "[Output Only] The URL of the zone where the network endpoint group is located.", + "type": "string" }, - "baseInstanceName": { - "annotations": { - "required": [ - "compute.instanceGroupManagers.insert" - ] - }, - "pattern": "[a-z][-a-z0-9]{0,57}", - "description": "The base instance name to use for instances in this group. The value must be 1-58 characters long. Instances are named by appending a hyphen and a random four-character string to the base instance name. The base instance name must comply with RFC1035.", + "network": { + "description": "The URL of the network to which all network endpoints in the NEG belong. Uses default project network if unspecified.", "type": "string" }, - "targetPools": { - "items": { + "subnetwork": { + "description": "Optional URL of the subnetwork to which all network endpoints in the NEG belong.", + "type": "string" + }, + "defaultPort": { + "description": "The default port used if the port number is not specified in the network endpoint. If the network endpoint type is either GCE_VM_IP, SERVERLESS or PRIVATE_SERVICE_CONNECT, this field must not be specified.", + "type": "integer", + "format": "int32" + }, + "annotations": { + "description": "Metadata defined as annotations on the network endpoint group.", + "type": "object", + "additionalProperties": { "type": "string" - }, - "type": "array", - "description": "The URLs for all TargetPool resources to which instances in the instanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group." + } }, - "autoHealingPolicies": { - "type": "array", - "items": { - "$ref": "InstanceGroupManagerAutoHealingPolicy" - }, - "description": "The autohealing policy for this managed instance group. You can specify only one value." + "cloudRun": { + "description": "Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or cloudFunction may be set.", + "$ref": "NetworkEndpointGroupCloudRun" }, - "name": { - "type": "string", - "annotations": { - "required": [ - "compute.instanceGroupManagers.insert", - "compute.regionInstanceGroupManagers.insert" - ] - }, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "The name of the managed instance group. The name must be 1-63 characters long, and comply with RFC1035." + "appEngine": { + "description": "Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or cloudFunction may be set.", + "$ref": "NetworkEndpointGroupAppEngine" }, - "kind": { - "type": "string", - "default": "compute#instanceGroupManager", - "description": "[Output Only] The resource type, which is always compute#instanceGroupManager for managed instance groups." + "cloudFunction": { + "description": "Only valid when networkEndpointType is SERVERLESS. Only one of cloudRun, appEngine or cloudFunction may be set.", + "$ref": "NetworkEndpointGroupCloudFunction" }, - "selfLink": { - "type": "string", - "description": "[Output Only] The URL for this managed instance group. The server defines this URL." + "pscTargetService": { + "description": "The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment. An example value is: asia-northeast3-cloudkms.googleapis.com", + "type": "string" }, - "listManagedInstancesResults": { - "description": "Pagination behavior of the listManagedInstances API method for this managed instance group.", - "type": "string", - "enum": [ - "PAGELESS", - "PAGINATED" - ], - "enumDescriptions": [ - "(Default) Pagination is disabled for the group's listManagedInstances API method. maxResults and pageToken query parameters are ignored and all instances are returned in a single response.", - "Pagination is enabled for the group's listManagedInstances API method. maxResults and pageToken query parameters are respected." - ] + "pscData": { + "$ref": "NetworkEndpointGroupPscData" + } + } + }, + "NetworkEndpointGroupCloudRun": { + "id": "NetworkEndpointGroupCloudRun", + "description": "Configuration for a Cloud Run network endpoint group (NEG). The service must be provided explicitly or in the URL mask. The tag is optional, may be provided explicitly or in the URL mask. Note: Cloud Run service must be in the same project and located in the same region as the Serverless NEG.", + "type": "object", + "properties": { + "service": { + "description": "Cloud Run service is the main resource of Cloud Run. The service must be 1-63 characters long, and comply with RFC1035. Example value: \"run-service\".", + "type": "string" }, - "id": { - "type": "string", - "format": "uint64", - "description": "[Output Only] A unique identifier for this resource type. The server generates this identifier." + "tag": { + "description": "Optional Cloud Run tag represents the \"named-revision\" to provide additional fine-grained traffic routing information. The tag must be 1-63 characters long, and comply with RFC1035. Example value: \"revision-0010\".", + "type": "string" }, - "instanceTemplate": { - "description": "The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE.", + "urlMask": { + "description": "An URL mask is one of the main components of the Cloud Function. A template to parse \u003cservice\u003e and \u003ctag\u003e fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services. For example, request URLs foo1.domain.com/bar1 and foo1.domain.com/bar2 can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask \u003ctag\u003e.domain.com/\u003cservice\u003e. The URL mask will parse them to { service=\"bar1\", tag=\"foo1\" } and { service=\"bar2\", tag=\"foo2\" } respectively.", + "type": "string" + } + } + }, + "NetworkEndpointGroupAppEngine": { + "id": "NetworkEndpointGroupAppEngine", + "description": "Configuration for an App Engine network endpoint group (NEG). The service is optional, may be provided explicitly or in the URL mask. The version is optional and can only be provided explicitly or in the URL mask when service is present. Note: App Engine service must be in the same project and located in the same region as the Serverless NEG.", + "type": "object", + "properties": { + "service": { + "description": "Optional serving service. The service name is case-sensitive and must be 1-63 characters long. Example value: default, my-service.", "type": "string" }, - "creationTimestamp": { - "description": "[Output Only] The creation timestamp for this managed instance group in RFC3339 text format.", + "version": { + "description": "Optional serving version. The version name is case-sensitive and must be 1-100 characters long. Example value: v1, v2.", "type": "string" }, - "namedPorts": { - "description": "Named ports configured for the Instance Groups complementary to this Instance Group Manager.", - "items": { - "$ref": "NamedPort" - }, - "type": "array" + "urlMask": { + "description": "An URL mask is one of the main components of the Cloud Function. A template to parse service and version fields from a request URL. URL mask allows for routing to multiple App Engine services without having to create multiple Network Endpoint Groups and backend services. For example, the request URLs foo1-dot-appname.appspot.com/v1 and foo1-dot-appname.appspot.com/v2 can be backed by the same Serverless NEG with URL mask \u003cservice\u003e-dot-appname.appspot.com/\u003cversion\u003e. The URL mask will parse them to { service = \"foo1\", version = \"v1\" } and { service = \"foo1\", version = \"v2\" } respectively.", + "type": "string" + } + } + }, + "NetworkEndpointGroupCloudFunction": { + "id": "NetworkEndpointGroupCloudFunction", + "description": "Configuration for a Cloud Function network endpoint group (NEG). The function must be provided explicitly or in the URL mask. Note: Cloud Function must be in the same project and located in the same region as the Serverless NEG.", + "type": "object", + "properties": { + "function": { + "description": "A user-defined name of the Cloud Function. The function name is case-sensitive and must be 1-63 characters long. Example value: func1.", + "type": "string" }, - "targetSize": { - "annotations": { - "required": [ - "compute.instanceGroupManagers.insert", - "compute.regionInstanceGroupManagers.insert" - ] - }, - "description": "The target number of running instances for this managed instance group. You can reduce this number by using the instanceGroupManager deleteInstances or abandonInstances methods. Resizing the group also changes this number.", - "format": "int32", - "type": "integer" + "urlMask": { + "description": "An URL mask is one of the main components of the Cloud Function. A template to parse function field from a request URL. URL mask allows for routing to multiple Cloud Functions without having to create multiple Network Endpoint Groups and backend services. For example, request URLs mydomain.com/function1 and mydomain.com/function2 can be backed by the same Serverless NEG with URL mask /\u003cfunction\u003e. The URL mask will parse them to { function = \"function1\" } and { function = \"function2\" } respectively.", + "type": "string" + } + } + }, + "NetworkEndpointGroupPscData": { + "id": "NetworkEndpointGroupPscData", + "description": "All data that is specifically relevant to only network endpoint groups of type PRIVATE_SERVICE_CONNECT.", + "type": "object", + "properties": { + "consumerPscAddress": { + "description": "[Output Only] Address allocated from given subnetwork for PSC. This IP address acts as a VIP for a PSC NEG, allowing it to act as an endpoint in L7 PSC-XLB.", + "type": "string" }, - "statefulPolicy": { - "$ref": "StatefulPolicy", - "description": "Stateful configuration for this Instanced Group Manager" + "pscConnectionId": { + "description": "[Output Only] The PSC connection id of the PSC Network Endpoint Group Consumer.", + "type": "string", + "format": "uint64" + }, + "pscConnectionStatus": { + "description": "[Output Only] The connection status of the PSC Forwarding Rule.", + "type": "string", + "enumDescriptions": [ + "The connection has been accepted by the producer.", + "The connection has been closed by the producer and will not serve traffic going forward.", + "The connection has been accepted by the producer, but the producer needs to take further action before the forwarding rule can serve traffic.", + "The connection is pending acceptance by the producer.", + "The connection has been rejected by the producer.", + "" + ], + "enum": [ + "ACCEPTED", + "CLOSED", + "NEEDS_ATTENTION", + "PENDING", + "REJECTED", + "STATUS_UNSPECIFIED" + ] } - }, - "description": "Represents a Managed Instance Group resource. An instance group is a collection of VM instances that you can manage as a single entity. For more information, read Instance groups. For zonal Managed Instance Group, use the instanceGroupManagers resource. For regional Managed Instance Group, use the regionInstanceGroupManagers resource.", - "id": "InstanceGroupManager", - "type": "object" + } }, - "VpnTunnelAggregatedList": { + "NetworkEndpointGroupAggregatedList": { + "id": "NetworkEndpointGroupAggregatedList", + "type": "object", "properties": { + "kind": { + "description": "[Output Only] The resource type, which is always compute#networkEndpointGroupAggregatedList for aggregated lists of network endpoint groups.", + "default": "compute#networkEndpointGroupAggregatedList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of NetworkEndpointGroupsScopedList resources.", + "type": "object", + "additionalProperties": { + "description": "The name of the scope that contains this set of network endpoint groups.", + "$ref": "NetworkEndpointGroupsScopedList" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -26153,6 +25447,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -26171,7 +25466,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -26183,6 +25507,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -26200,171 +25525,58 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", "type": "string" }, "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", "items": { "type": "object", "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, "value": { "description": "[Output Only] A warning data value corresponding to the key.", "type": "string" - }, - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." } } - }, - "type": "array", - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } " - }, - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." + } } - }, - "type": "object", - "description": "[Output Only] Informational warning message." - }, - "items": { - "type": "object", - "additionalProperties": { - "$ref": "VpnTunnelsScopedList", - "description": "Name of the scope containing this set of VPN tunnels." - }, - "description": "A list of VpnTunnelsScopedList resources." + } }, "unreachables": { "description": "[Output Only] Unreachable resources.", + "type": "array", "items": { "type": "string" - }, - "type": "array" - }, - "kind": { - "description": "[Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels.", - "default": "compute#vpnTunnelAggregatedList", - "type": "string" - }, - "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", - "type": "string" - }, - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." - }, - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", - "type": "string" + } } - }, - "type": "object", - "id": "VpnTunnelAggregatedList" + } }, - "NodeGroupsDeleteNodesRequest": { + "NetworkEndpointGroupsScopedList": { + "id": "NetworkEndpointGroupsScopedList", "type": "object", "properties": { - "nodes": { + "networkEndpointGroups": { + "description": "[Output Only] The list of network endpoint groups that are contained in this scope.", "type": "array", - "description": "Names of the nodes to delete.", "items": { - "type": "string" + "$ref": "NetworkEndpointGroup" } - } - }, - "id": "NodeGroupsDeleteNodesRequest" - }, - "NodeType": { - "properties": { - "kind": { - "type": "string", - "description": "[Output Only] The type of the resource. Always compute#nodeType for node types.", - "default": "compute#nodeType" - }, - "selfLink": { - "description": "[Output Only] Server-defined URL for the resource.", - "type": "string" - }, - "id": { - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", - "type": "string", - "format": "uint64" - }, - "creationTimestamp": { - "description": "[Output Only] Creation timestamp in RFC3339 text format.", - "type": "string" - }, - "localSsdGb": { - "type": "integer", - "description": "[Output Only] Local SSD available to the node type, defined in GB.", - "format": "int32" - }, - "memoryMb": { - "format": "int32", - "description": "[Output Only] The amount of physical memory available to the node type, defined in MB.", - "type": "integer" - }, - "description": { - "description": "[Output Only] An optional textual description of the resource.", - "type": "string" - }, - "cpuPlatform": { - "type": "string", - "description": "[Output Only] The CPU platform used by this node type." - }, - "zone": { - "description": "[Output Only] The name of the zone where the node type resides, such as us-central1-a.", - "type": "string" - }, - "guestCpus": { - "format": "int32", - "description": "[Output Only] The number of virtual CPUs that are available to the node type.", - "type": "integer" - }, - "deprecated": { - "description": "[Output Only] The deprecation status associated with this node type.", - "$ref": "DeprecationStatus" }, - "name": { - "type": "string", - "description": "[Output Only] Name of the resource.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" - } - }, - "description": "Represent a sole-tenant Node Type resource. Each node within a node group must have a node type. A node type specifies the total amount of cores and memory for that node. Currently, the only available node type is n1-node-96-624 node type that has 96 vCPUs and 624 GB of memory, available in multiple zones. For more information read Node types.", - "type": "object", - "id": "NodeType" - }, - "AddressesScopedList": { - "type": "object", - "properties": { "warning": { + "description": "[Output Only] An informational warning that replaces the list of network endpoint groups when the list is empty.", + "type": "object", "properties": { - "message": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, - "data": { - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "items": { - "type": "object", - "properties": { - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - }, - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - } - } - }, - "type": "array" - }, - "code": { "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -26376,6 +25588,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -26394,6 +25607,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -26405,6 +25648,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -26422,107 +25666,138 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], - "type": "string", - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response." + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } } - }, - "type": "object", - "description": "[Output Only] Informational warning which replaces the list of addresses when the list is empty." - }, - "addresses": { - "type": "array", - "description": "[Output Only] A list of addresses contained in this scope.", - "items": { - "$ref": "Address" } } - }, - "id": "AddressesScopedList" + } }, - "ManagedInstanceInstanceHealth": { - "properties": { - "detailedHealthState": { - "description": "[Output Only] The current detailed instance health state.", - "type": "string", - "enumDescriptions": [ - "The instance is being drained. The existing connections to the instance have time to complete, but the new ones are being refused.", - "The instance is reachable i.e. a connection to the application health checking endpoint can be established, and conforms to the requirements defined by the health check.", - "The instance is unreachable i.e. a connection to the application health checking endpoint cannot be established, or the server does not respond within the specified timeout.", - "The instance is reachable, but does not conform to the requirements defined by the health check.", - "The health checking system is aware of the instance but its health is not known at the moment." - ], - "enum": [ - "DRAINING", - "HEALTHY", - "TIMEOUT", - "UNHEALTHY", - "UNKNOWN" - ] - }, - "healthCheck": { - "description": "[Output Only] The URL for the health check that verifies whether the instance is healthy.", - "type": "string" - } - }, + "NetworkEndpointGroupsAttachEndpointsRequest": { + "id": "NetworkEndpointGroupsAttachEndpointsRequest", "type": "object", - "id": "ManagedInstanceInstanceHealth" - }, - "FirewallPolicyRuleMatcherLayer4Config": { - "id": "FirewallPolicyRuleMatcherLayer4Config", "properties": { - "ports": { - "description": "An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: [\"22\"], [\"80\",\"443\"], and [\"12345-12349\"].", + "networkEndpoints": { + "description": "The list of network endpoints to be attached.", "type": "array", "items": { - "type": "string" + "$ref": "NetworkEndpoint" } - }, - "ipProtocol": { - "description": "The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.", - "type": "string" } - }, - "type": "object" + } }, - "GlobalSetLabelsRequest": { - "id": "GlobalSetLabelsRequest", + "NetworkEndpoint": { + "id": "NetworkEndpoint", + "description": "The network endpoint.", "type": "object", "properties": { - "labels": { - "additionalProperties": { - "type": "string" - }, - "type": "object", - "description": "A list of labels to apply for this resource. Each label must comply with the requirements for labels. For example, \"webserver-frontend\": \"images\". A label value can also be empty (e.g. \"my-label\": \"\")." + "ipAddress": { + "description": "Optional IPv4 address of network endpoint. The IP address must belong to a VM in Compute Engine (either the primary IP or as part of an aliased IP range). If the IP address is not specified, then the primary IP address for the VM instance in the network that the network endpoint group belongs to will be used. This field is redundant and need not be set for network endpoints of type GCE_VM_IP. If set, it must be set to the primary internal IP address of the attached VM instance that matches the subnetwork of the NEG. The primary internal IP address from any NIC of a multi-NIC VM instance can be added to a NEG as long as it matches the NEG subnetwork.", + "type": "string" }, - "labelFingerprint": { - "description": "The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash when updating or changing labels, otherwise the request will fail with error 412 conditionNotMet. Make a get() request to the resource to get the latest fingerprint.", - "format": "byte", + "fqdn": { + "description": "Optional fully qualified domain name of network endpoint. This can only be specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT.", + "type": "string" + }, + "port": { + "description": "Optional port number of network endpoint. If not specified, the defaultPort for the network endpoint group will be used. This field can not be set for network endpoints of type GCE_VM_IP.", + "type": "integer", + "format": "int32" + }, + "instance": { + "description": "The name or a URL of VM instance of this network endpoint. This field is required for network endpoints of type GCE_VM_IP and GCE_VM_IP_PORT. The instance must be in the same zone of network endpoint group (for zonal NEGs) or in the zone within the region of the NEG (for regional NEGs). If the ipAddress is specified, it must belongs to the VM instance. The name must be 1-63 characters long, and comply with RFC1035 or be a valid URL pointing to an existing instance.", "type": "string" + }, + "annotations": { + "description": "Metadata defined as annotations on the network endpoint.", + "type": "object", + "additionalProperties": { + "type": "string" + } } } }, - "InstanceGroupManagersAbandonInstancesRequest": { + "NetworkEndpointGroupsDetachEndpointsRequest": { + "id": "NetworkEndpointGroupsDetachEndpointsRequest", "type": "object", - "id": "InstanceGroupManagersAbandonInstancesRequest", "properties": { - "instances": { - "description": "The URLs of one or more instances to abandon. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].", + "networkEndpoints": { + "description": "The list of network endpoints to be detached.", "type": "array", "items": { - "type": "string" + "$ref": "NetworkEndpoint" } } } }, - "TargetGrpcProxyList": { + "NetworkEndpointGroupsListEndpointsRequest": { + "id": "NetworkEndpointGroupsListEndpointsRequest", + "type": "object", + "properties": { + "healthStatus": { + "description": "Optional query parameter for showing the health status of each network endpoint. Valid options are SKIP or SHOW. If you don't specify this parameter, the health status of network endpoints will not be provided.", + "type": "string", + "enumDescriptions": [ + "Show the health status for each network endpoint. Impacts latency of the call.", + "Health status for network endpoints will not be provided." + ], + "enum": [ + "SHOW", + "SKIP" + ] + } + } + }, + "NetworkEndpointGroupsListNetworkEndpoints": { + "id": "NetworkEndpointGroupsListNetworkEndpoints", + "type": "object", "properties": { + "kind": { + "description": "[Output Only] The resource type, which is always compute#networkEndpointGroupsListNetworkEndpoints for the list of network endpoints in the specified network endpoint group.", + "default": "compute#networkEndpointGroupsListNetworkEndpoints", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of NetworkEndpointWithHealthStatus resources.", + "type": "array", + "items": { + "$ref": "NetworkEndpointWithHealthStatus" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, "warning": { - "type": "object", "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", @@ -26535,6 +25810,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -26553,6 +25829,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -26564,6 +25870,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -26581,108 +25888,214 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response." + ] }, "message": { "description": "[Output Only] A human-readable description of the warning code.", "type": "string" }, "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", "type": "array", "items": { + "type": "object", "properties": { - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - }, "key": { "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" } - }, - "type": "object" - }, - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } " + } + } } } + } + } + }, + "NetworkEndpointWithHealthStatus": { + "id": "NetworkEndpointWithHealthStatus", + "type": "object", + "properties": { + "networkEndpoint": { + "description": "[Output only] The network endpoint;", + "$ref": "NetworkEndpoint" }, - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", - "type": "string" + "healths": { + "description": "[Output only] The health status of network endpoint;", + "type": "array", + "items": { + "$ref": "HealthStatusForNetworkEndpoint" + } + } + } + }, + "HealthStatusForNetworkEndpoint": { + "id": "HealthStatusForNetworkEndpoint", + "type": "object", + "properties": { + "forwardingRule": { + "description": "URL of the forwarding rule associated with the health state of the network endpoint.", + "$ref": "ForwardingRuleReference" }, - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", - "type": "string" + "backendService": { + "description": "URL of the backend service associated with the health state of the network endpoint.", + "$ref": "BackendServiceReference" }, - "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." + "healthCheck": { + "description": "URL of the health check associated with the health state of the network endpoint.", + "$ref": "HealthCheckReference" }, - "items": { - "description": "A list of TargetGrpcProxy resources.", + "healthCheckService": { + "description": "URL of the health check service associated with the health state of the network endpoint.", + "$ref": "HealthCheckServiceReference" + }, + "healthState": { + "description": "Health state of the network endpoint determined based on the health checks configured.", + "type": "string", + "enumDescriptions": [ + "Endpoint is being drained.", + "Endpoint is healthy.", + "Endpoint is unhealthy.", + "Health status of the endpoint is unknown." + ], + "enum": [ + "DRAINING", + "HEALTHY", + "UNHEALTHY", + "UNKNOWN" + ] + } + } + }, + "ForwardingRuleReference": { + "id": "ForwardingRuleReference", + "type": "object", + "properties": { + "forwardingRule": { + "type": "string" + } + } + }, + "BackendServiceReference": { + "id": "BackendServiceReference", + "type": "object", + "properties": { + "backendService": { + "type": "string" + } + } + }, + "HealthCheckReference": { + "id": "HealthCheckReference", + "description": "A full or valid partial URL to a health check. For example, the following are valid URLs: - https://www.googleapis.com/compute/beta/projects/project-id/global/httpHealthChecks/health-check - projects/project-id/global/httpHealthChecks/health-check - global/httpHealthChecks/health-check ", + "type": "object", + "properties": { + "healthCheck": { + "type": "string" + } + } + }, + "HealthCheckServiceReference": { + "id": "HealthCheckServiceReference", + "description": "A full or valid partial URL to a health check service. For example, the following are valid URLs: - https://www.googleapis.com/compute/beta/projects/project-id/regions/us-west1/healthCheckServices/health-check-service - projects/project-id/regions/us-west1/healthCheckServices/health-check-service - regions/us-west1/healthCheckServices/health-check-service ", + "type": "object", + "properties": { + "healthCheckService": { + "type": "string" + } + } + }, + "GlobalNetworkEndpointGroupsAttachEndpointsRequest": { + "id": "GlobalNetworkEndpointGroupsAttachEndpointsRequest", + "type": "object", + "properties": { + "networkEndpoints": { + "description": "The list of network endpoints to be attached.", "type": "array", "items": { - "$ref": "TargetGrpcProxy" + "$ref": "NetworkEndpoint" } - }, - "kind": { - "default": "compute#targetGrpcProxyList", - "type": "string", - "description": "[Output Only] Type of the resource. Always compute#targetGrpcProxy for target grpc proxies." } - }, - "id": "TargetGrpcProxyList", - "type": "object" + } }, - "AllocationResourceStatus": { - "id": "AllocationResourceStatus", + "GlobalNetworkEndpointGroupsDetachEndpointsRequest": { + "id": "GlobalNetworkEndpointGroupsDetachEndpointsRequest", + "type": "object", "properties": { - "specificSkuAllocation": { - "$ref": "AllocationResourceStatusSpecificSKUAllocation" + "networkEndpoints": { + "description": "The list of network endpoints to be detached.", + "type": "array", + "items": { + "$ref": "NetworkEndpoint" + } } - }, - "type": "object" + } }, - "RegionDisksResizeRequest": { + "RegionNetworkEndpointGroupsAttachEndpointsRequest": { + "id": "RegionNetworkEndpointGroupsAttachEndpointsRequest", "type": "object", "properties": { - "sizeGb": { - "description": "The new size of the regional persistent disk, which is specified in GB.", - "type": "string", - "format": "int64" + "networkEndpoints": { + "description": "The list of network endpoints to be attached.", + "type": "array", + "items": { + "$ref": "NetworkEndpoint" + } } - }, - "id": "RegionDisksResizeRequest" + } }, - "AcceleratorTypesScopedList": { + "RegionNetworkEndpointGroupsDetachEndpointsRequest": { + "id": "RegionNetworkEndpointGroupsDetachEndpointsRequest", + "type": "object", + "properties": { + "networkEndpoints": { + "description": "The list of network endpoints to be detached.", + "type": "array", + "items": { + "$ref": "NetworkEndpoint" + } + } + } + }, + "NetworkList": { + "id": "NetworkList", + "description": "Contains a list of networks.", + "type": "object", "properties": { + "kind": { + "description": "[Output Only] Type of resource. Always compute#networkList for lists of networks.", + "default": "compute#networkList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of Network resources.", + "type": "array", + "items": { + "$ref": "Network" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, "warning": { - "description": "[Output Only] An informational warning that appears when the accelerator types list is empty.", + "description": "[Output Only] Informational warning message.", "type": "object", "properties": { - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - }, - "data": { - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "items": { - "type": "object", - "properties": { - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - }, - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - } - } - }, - "type": "array" - }, "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -26694,6 +26107,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -26712,6 +26126,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -26723,6 +26167,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -26740,252 +26185,369 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } } } - }, - "acceleratorTypes": { - "items": { - "$ref": "AcceleratorType" - }, - "description": "[Output Only] A list of accelerator types contained in this scope.", - "type": "array" } - }, - "id": "AcceleratorTypesScopedList", - "type": "object" + } }, - "SslCertificate": { - "description": "Represents an SSL Certificate resource. Google Compute Engine has two SSL Certificate resources: * [Global](/compute/docs/reference/rest/v1/sslCertificates) * [Regional](/compute/docs/reference/rest/v1/regionSslCertificates) The sslCertificates are used by: - external HTTPS load balancers - SSL proxy load balancers The regionSslCertificates are used by internal HTTPS load balancers. Optionally, certificate file contents that you upload can contain a set of up to five PEM-encoded certificates. The API call creates an object (sslCertificate) that holds this data. You can use SSL keys and certificates to secure connections to a load balancer. For more information, read Creating and using SSL certificates, SSL certificates quotas and limits, and Troubleshooting SSL certificates.", + "Network": { + "id": "Network", + "description": "Represents a VPC Network resource. Networks connect resources to each other and to the internet. For more information, read Virtual Private Cloud (VPC) Network.", "type": "object", "properties": { - "managed": { - "description": "Configuration and status of a managed SSL certificate.", - "$ref": "SslCertificateManagedSslCertificate" + "kind": { + "description": "[Output Only] Type of the resource. Always compute#network for networks.", + "default": "compute#network", + "type": "string" }, - "selfManaged": { - "$ref": "SslCertificateSelfManagedSslCertificate", - "description": "Configuration and status of a self-managed SSL certificate." + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", + "type": "string", + "format": "uint64" + }, + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" + }, + "name": { + "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "annotations": { + "required": [ + "compute.networks.insert" + ] + }, + "type": "string" }, "description": { - "description": "An optional description of this resource. Provide this property when you create the resource.", + "description": "An optional description of this resource. Provide this field when you create the resource.", "type": "string" }, - "certificate": { - "type": "string", - "description": "A value read into memory from a certificate file. The certificate file must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert." + "IPv4Range": { + "description": "Deprecated in favor of subnet mode networks. The range of internal addresses that are legal on this network. This range is a CIDR specification, for example: 192.168.0.0/16. Provided by the client when the network is created.", + "pattern": "[0-9]{1,3}(?:\\.[0-9]{1,3}){3}/[0-9]{1,2}", + "deprecated": true, + "type": "string" }, - "expireTime": { - "description": "[Output Only] Expire time of the certificate. RFC3339", + "gatewayIPv4": { + "description": "[Output Only] The gateway address for default routing out of the network, selected by Google Cloud.", + "pattern": "[0-9]{1,3}(?:\\.[0-9]{1,3}){3}", "type": "string" }, - "type": { - "type": "string", - "description": "(Optional) Specifies the type of SSL certificate, either \"SELF_MANAGED\" or \"MANAGED\". If not specified, the certificate is self-managed and the fields certificate and private_key are used.", - "enum": [ - "MANAGED", - "SELF_MANAGED", - "TYPE_UNSPECIFIED" - ], - "enumDescriptions": [ - "Google-managed SSLCertificate.", - "Certificate uploaded by user.", - "" - ] + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", + "type": "string" }, - "region": { - "description": "[Output Only] URL of the region where the regional SSL Certificate resides. This field is not applicable to global SSL Certificate.", + "selfLinkWithId": { + "description": "[Output Only] Server-defined URL for this resource with the resource id.", "type": "string" }, - "id": { - "type": "string", - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", - "format": "uint64" + "autoCreateSubnetworks": { + "description": "Must be set to create a VPC network. If not set, a legacy network is created. When set to true, the VPC network is created in auto mode. When set to false, the VPC network is created in custom mode. An auto mode VPC network starts with one subnet per region. Each subnet has a predetermined range as described in Auto mode VPC network IP ranges. For custom mode VPC networks, you can add subnets using the subnetworks insert method.", + "type": "boolean" }, - "subjectAlternativeNames": { - "description": "[Output Only] Domains associated with the certificate via Subject Alternative Name.", + "subnetworks": { + "description": "[Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network.", + "type": "array", "items": { "type": "string" - }, - "type": "array" + } }, - "privateKey": { - "type": "string", - "description": "A value read into memory from a write-only private key file. The private key file must be in PEM format. For security, only insert requests include this field." + "peerings": { + "description": "[Output Only] A list of network peerings for the resource.", + "type": "array", + "items": { + "$ref": "NetworkPeering" + } }, - "creationTimestamp": { - "type": "string", - "description": "[Output Only] Creation timestamp in RFC3339 text format." + "routingConfig": { + "description": "The network-level routing configuration for this network. Used by Cloud Router to determine what type of network-wide routing behavior to enforce.", + "$ref": "NetworkRoutingConfig" }, - "selfLink": { - "description": "[Output only] Server-defined URL for the resource.", + "mtu": { + "description": "Maximum Transmission Unit in bytes. The minimum value for this field is 1300 and the maximum value is 8896. The suggested value is 1500, which is the default MTU used on the Internet, or 8896 if you want to use Jumbo frames. If unspecified, the value defaults to 1460.", + "type": "integer", + "format": "int32" + }, + "firewallPolicy": { + "description": "[Output Only] URL of the firewall policy the network is associated with.", "type": "string" }, - "name": { - "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "networkFirewallPolicyEnforcementOrder": { + "description": "The network firewall policy enforcement order. Can be either AFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to AFTER_CLASSIC_FIREWALL if the field is not specified.", "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "enumDescriptions": [ + "", + "" + ], + "enum": [ + "AFTER_CLASSIC_FIREWALL", + "BEFORE_CLASSIC_FIREWALL" + ] }, - "kind": { - "default": "compute#sslCertificate", - "type": "string", - "description": "[Output Only] Type of the resource. Always compute#sslCertificate for SSL certificates." - } - }, - "id": "SslCertificate" - }, - "VpnGatewayStatusHighAvailabilityRequirementState": { + "enableUlaInternalIpv6": { + "description": "Enable ULA internal ipv6 on this network. Enabling this feature will assign a /48 from google defined ULA prefix fd20::/20. .", + "type": "boolean" + }, + "internalIpv6Range": { + "description": "When enabling ula internal ipv6, caller optionally can specify the /48 range they want from the google defined ULA prefix fd20::/20. The input must be a valid /48 ULA IPv6 address and must be within the fd20::/20. Operation will fail if the speficied /48 is already in used by another resource. If the field is not speficied, then a /48 range will be randomly allocated from fd20::/20 and returned via this field. .", + "type": "string" + } + } + }, + "NetworkPeering": { + "id": "NetworkPeering", + "description": "A network peering attached to a network resource. The message includes the peering name, peer network, peering state, and a flag indicating whether Google Compute Engine should automatically create routes for the peering.", "type": "object", - "description": "Describes the high availability requirement state for the VPN connection between this Cloud VPN gateway and a peer gateway.", - "id": "VpnGatewayStatusHighAvailabilityRequirementState", "properties": { + "name": { + "description": "Name of this peering. Provided by the client when the peering is created. The name must comply with RFC1035. Specifically, the name must be 1-63 characters long and match regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a lowercase letter, and all the following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "type": "string" + }, + "network": { + "description": "The URL of the peer network. It can be either full URL or partial URL. The peer network may belong to a different project. If the partial URL does not contain project, it is assumed that the peer network is in the same project as the current network.", + "type": "string" + }, "state": { - "enum": [ - "CONNECTION_REDUNDANCY_MET", - "CONNECTION_REDUNDANCY_NOT_MET" - ], - "description": "Indicates the high availability requirement state for the VPN connection. Valid values are CONNECTION_REDUNDANCY_MET, CONNECTION_REDUNDANCY_NOT_MET.", + "description": "[Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. The peering is `ACTIVE` when there's a matching configuration in the peer network.", "type": "string", "enumDescriptions": [ - "VPN tunnels are configured with adequate redundancy from Cloud VPN gateway to the peer VPN gateway. For both GCP-to-non-GCP and GCP-to-GCP connections, the adequate redundancy is a pre-requirement for users to get 99.99% availability on GCP side; please note that for any connection, end-to-end 99.99% availability is subject to proper configuration on the peer VPN gateway.", - "VPN tunnels are not configured with adequate redundancy from the Cloud VPN gateway to the peer gateway" + "Matching configuration exists on the peer.", + "There is no matching configuration on the peer, including the case when peer does not exist." + ], + "enum": [ + "ACTIVE", + "INACTIVE" ] }, - "unsatisfiedReason": { - "enum": [ - "INCOMPLETE_TUNNELS_COVERAGE" + "stateDetails": { + "description": "[Output Only] Details about the current state of the peering.", + "type": "string" + }, + "autoCreateRoutes": { + "description": "This field will be deprecated soon. Use the exchange_subnet_routes field instead. Indicates whether full mesh connectivity is created and managed automatically between peered networks. Currently this field should always be true since Google Compute Engine will automatically create and manage subnetwork routes between two networks when peering state is ACTIVE.", + "type": "boolean" + }, + "exportCustomRoutes": { + "description": "Whether to export the custom routes to peer network. The default value is false.", + "type": "boolean" + }, + "importCustomRoutes": { + "description": "Whether to import the custom routes from peer network. The default value is false.", + "type": "boolean" + }, + "exchangeSubnetRoutes": { + "description": "Indicates whether full mesh connectivity is created and managed automatically between peered networks. Currently this field should always be true since Google Compute Engine will automatically create and manage subnetwork routes between two networks when peering state is ACTIVE.", + "type": "boolean" + }, + "exportSubnetRoutesWithPublicIp": { + "description": "Whether subnet routes with public IP range are exported. The default value is true, all subnet routes are exported. IPv4 special-use ranges are always exported to peers and are not controlled by this field.", + "type": "boolean" + }, + "importSubnetRoutesWithPublicIp": { + "description": "Whether subnet routes with public IP range are imported. The default value is false. IPv4 special-use ranges are always imported from peers and are not controlled by this field.", + "type": "boolean" + }, + "peerMtu": { + "description": "Maximum Transmission Unit in bytes.", + "type": "integer", + "format": "int32" + }, + "stackType": { + "description": "Which IP version(s) of traffic and routes are allowed to be imported or exported between peer networks. The default value is IPV4_ONLY.", + "type": "string", + "enumDescriptions": [ + "This Peering will allow IPv4 traffic and routes to be exchanged. Additionally if the matching peering is IPV4_IPV6, IPv6 traffic and routes will be exchanged as well.", + "This Peering will only allow IPv4 traffic and routes to be exchanged, even if the matching peering is IPV4_IPV6." ], - "description": "Indicates the reason why the VPN connection does not meet the high availability redundancy criteria/requirement. Valid values is INCOMPLETE_TUNNELS_COVERAGE.", + "enum": [ + "IPV4_IPV6", + "IPV4_ONLY" + ] + } + } + }, + "NetworkRoutingConfig": { + "id": "NetworkRoutingConfig", + "description": "A routing configuration attached to a network resource. The message includes the list of routers associated with the network, and a flag indicating the type of routing behavior to enforce network-wide.", + "type": "object", + "properties": { + "routingMode": { + "description": "The network-wide routing mode to use. If set to REGIONAL, this network's Cloud Routers will only advertise routes with subnets of this network in the same region as the router. If set to GLOBAL, this network's Cloud Routers will advertise routes with all subnets of this network, across regions.", "type": "string", "enumDescriptions": [ + "", "" + ], + "enum": [ + "GLOBAL", + "REGIONAL" ] } } }, - "AuditLogConfig": { + "NetworksUpdatePeeringRequest": { + "id": "NetworksUpdatePeeringRequest", + "type": "object", "properties": { - "exemptedMembers": { - "type": "array", - "items": { - "type": "string" + "networkPeering": { + "$ref": "NetworkPeering" + } + } + }, + "NetworksAddPeeringRequest": { + "id": "NetworksAddPeeringRequest", + "type": "object", + "properties": { + "name": { + "description": "Name of the peering, which should conform to RFC1035.", + "annotations": { + "required": [ + "compute.networks.addPeering" + ] }, - "description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members." + "type": "string" }, - "ignoreChildExemptions": { - "description": "This is deprecated and has no effect. Do not use.", + "peerNetwork": { + "description": "URL of the peer network. It can be either full URL or partial URL. The peer network may belong to a different project. If the partial URL does not contain project, it is assumed that the peer network is in the same project as the current network.", + "type": "string" + }, + "autoCreateRoutes": { + "description": "This field will be deprecated soon. Use exchange_subnet_routes in network_peering instead. Indicates whether full mesh connectivity is created and managed automatically between peered networks. Currently this field should always be true since Google Compute Engine will automatically create and manage subnetwork routes between two networks when peering state is ACTIVE.", "type": "boolean" }, - "logType": { - "type": "string", - "enum": [ - "ADMIN_READ", - "DATA_READ", - "DATA_WRITE", - "LOG_TYPE_UNSPECIFIED" - ], - "enumDescriptions": [ - "Admin reads. Example: CloudIAM getIamPolicy", - "Data reads. Example: CloudSQL Users list", - "Data writes. Example: CloudSQL Users create", - "Default case. Should never be this." - ], - "description": "The log type that this config enables." + "networkPeering": { + "description": "Network peering parameters. In order to specify route policies for peering using import and export custom routes, you must specify all peering related parameters (name, peer network, exchange_subnet_routes) in the network_peering field. The corresponding fields in NetworksAddPeeringRequest will be deprecated soon.", + "$ref": "NetworkPeering" } - }, - "description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", - "id": "AuditLogConfig", - "type": "object" + } }, - "NetworkEndpointGroupPscData": { + "NetworksRemovePeeringRequest": { + "id": "NetworksRemovePeeringRequest", + "type": "object", "properties": { - "consumerPscAddress": { - "description": "[Output Only] Address allocated from given subnetwork for PSC. This IP address acts as a VIP for a PSC NEG, allowing it to act as an endpoint in L7 PSC-XLB.", + "name": { + "description": "Name of the peering, which should conform to RFC1035.", "type": "string" + } + } + }, + "NetworksGetEffectiveFirewallsResponse": { + "id": "NetworksGetEffectiveFirewallsResponse", + "type": "object", + "properties": { + "firewalls": { + "description": "Effective firewalls on the network.", + "type": "array", + "items": { + "$ref": "Firewall" + } }, - "pscConnectionId": { - "description": "[Output Only] The PSC connection id of the PSC Network Endpoint Group Consumer.", - "format": "uint64", + "firewallPolicys": { + "description": "Effective firewalls from firewall policy.", + "type": "array", + "items": { + "$ref": "NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy" + } + } + } + }, + "NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy": { + "id": "NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy", + "type": "object", + "properties": { + "name": { + "description": "[Output Only] The name of the firewall policy.", "type": "string" }, - "pscConnectionStatus": { - "description": "[Output Only] The connection status of the PSC Forwarding Rule.", + "type": { + "description": "[Output Only] The type of the firewall policy.", "type": "string", - "enum": [ - "ACCEPTED", - "CLOSED", - "NEEDS_ATTENTION", - "PENDING", - "REJECTED", - "STATUS_UNSPECIFIED" - ], "enumDescriptions": [ - "The connection has been accepted by the producer.", - "The connection has been closed by the producer and will not serve traffic going forward.", - "The connection has been accepted by the producer, but the producer needs to take further action before the forwarding rule can serve traffic.", - "The connection is pending acceptance by the producer.", - "The connection has been rejected by the producer.", + "", + "", "" + ], + "enum": [ + "HIERARCHY", + "NETWORK", + "UNSPECIFIED" ] + }, + "shortName": { + "description": "[Output Only] The short name of the firewall policy.", + "type": "string" + }, + "displayName": { + "description": "[Output Only] Deprecated, please use short name instead. The display name of the firewall policy.", + "deprecated": true, + "type": "string" + }, + "rules": { + "description": "The rules that apply to the network.", + "type": "array", + "items": { + "$ref": "FirewallPolicyRule" + } } - }, - "description": "All data that is specifically relevant to only network endpoint groups of type PRIVATE_SERVICE_CONNECT.", - "type": "object", - "id": "NetworkEndpointGroupPscData" + } }, - "ReservationAggregatedList": { + "ExchangedPeeringRoutesList": { + "id": "ExchangedPeeringRoutesList", "type": "object", "properties": { - "unreachables": { + "kind": { + "description": "[Output Only] Type of resource. Always compute#exchangedPeeringRoutesList for exchanged peering routes lists.", + "default": "compute#exchangedPeeringRoutesList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of ExchangedPeeringRoute resources.", "type": "array", "items": { - "type": "string" - }, - "description": "[Output Only] Unreachable resources." + "$ref": "ExchangedPeeringRoute" + } }, "nextPageToken": { "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", "type": "string" }, - "kind": { - "type": "string", - "description": "Type of resource.", - "default": "compute#reservationAggregatedList" - }, - "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." - }, - "items": { - "description": "A list of Allocation resources.", - "additionalProperties": { - "$ref": "ReservationsScopedList", - "description": "Name of the scope containing this set of reservations." - }, - "type": "object" + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" }, "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { - "data": { - "type": "array", - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "items": { - "type": "object", - "properties": { - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - }, - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - } - } - } - }, "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", @@ -26998,6 +26560,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -27016,6 +26579,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -27027,6 +26620,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -27044,252 +26638,106 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response." + ] }, "message": { "description": "[Output Only] A human-readable description of the warning code.", "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } } - }, - "type": "object", - "description": "[Output Only] Informational warning message." - }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." + } } - }, - "description": "Contains a list of reservations.", - "id": "ReservationAggregatedList" + } }, - "RegionInstanceGroupsSetNamedPortsRequest": { + "ExchangedPeeringRoute": { + "id": "ExchangedPeeringRoute", "type": "object", "properties": { - "namedPorts": { - "type": "array", - "items": { - "$ref": "NamedPort" - }, - "description": "The list of named ports to set for this instance group." + "destRange": { + "description": "The destination range of the route.", + "type": "string" }, - "fingerprint": { - "type": "string", - "format": "byte", - "description": "The fingerprint of the named ports information for this instance group. Use this optional property to prevent conflicts when multiple users change the named ports settings concurrently. Obtain the fingerprint with the instanceGroups.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request." - } - }, - "id": "RegionInstanceGroupsSetNamedPortsRequest" - }, - "GuestOsFeature": { - "type": "object", - "properties": { "type": { + "description": "The type of the peering route.", "type": "string", - "description": "The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_SNP_CAPABLE For more information, see Enabling guest operating system features.", "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "" + "For routes exported from local network.", + "The peering route.", + "The peering route corresponding to subnetwork range." ], "enum": [ - "FEATURE_TYPE_UNSPECIFIED", - "GVNIC", - "MULTI_IP_SUBNET", - "SECURE_BOOT", - "SEV_CAPABLE", - "SEV_SNP_CAPABLE", - "UEFI_COMPATIBLE", - "VIRTIO_SCSI_MULTIQUEUE", - "WINDOWS" + "DYNAMIC_PEERING_ROUTE", + "STATIC_PEERING_ROUTE", + "SUBNET_PEERING_ROUTE" ] - } - }, - "description": "Guest OS features.", - "id": "GuestOsFeature" - }, - "InstanceManagedByIgmErrorInstanceActionDetails": { - "id": "InstanceManagedByIgmErrorInstanceActionDetails", - "properties": { - "version": { - "description": "[Output Only] Version this instance was created from, or was being created from, but the creation failed. Corresponds to one of the versions that were set on the Instance Group Manager resource at the time this instance was being created.", - "$ref": "ManagedInstanceVersion" }, - "instance": { - "type": "string", - "description": "[Output Only] The URL of the instance. The URL can be set even if the instance has not yet been created." + "nextHopRegion": { + "description": "The region of peering route next hop, only applies to dynamic routes.", + "type": "string" }, - "action": { - "enum": [ - "ABANDONING", - "CREATING", - "CREATING_WITHOUT_RETRIES", - "DELETING", - "NONE", - "RECREATING", - "REFRESHING", - "RESTARTING", - "RESUMING", - "STARTING", - "STOPPING", - "SUSPENDING", - "VERIFYING" - ], - "type": "string", - "enumDescriptions": [ - "The managed instance group is abandoning this instance. The instance will be removed from the instance group and from any target pools that are associated with this group.", - "The managed instance group is creating this instance. If the group fails to create this instance, it will try again until it is successful.", - "The managed instance group is attempting to create this instance only once. If the group fails to create this instance, it does not try again and the group's targetSize value is decreased.", - "The managed instance group is permanently deleting this instance.", - "The managed instance group has not scheduled any actions for this instance.", - "The managed instance group is recreating this instance.", - "The managed instance group is applying configuration changes to the instance without stopping it. For example, the group can update the target pool list for an instance without stopping that instance.", - "The managed instance group is restarting this instance.", - "The managed instance group is resuming this instance.", - "The managed instance group is starting this instance.", - "The managed instance group is stopping this instance.", - "The managed instance group is suspending this instance.", - "The managed instance group is verifying this already created instance. Verification happens every time the instance is (re)created or restarted and consists of: 1. Waiting until health check specified as part of this managed instance group's autohealing policy reports HEALTHY. Note: Applies only if autohealing policy has a health check specified 2. Waiting for addition verification steps performed as post-instance creation (subject to future extensions)." - ], - "description": "[Output Only] Action that managed instance group was executing on the instance when the error occurred. Possible values:" + "priority": { + "description": "The priority of the peering route.", + "type": "integer", + "format": "uint32" + }, + "imported": { + "description": "True if the peering route has been imported from a peer. The actual import happens if the field networkPeering.importCustomRoutes is true for this network, and networkPeering.exportCustomRoutes is true for the peer network, and the import does not result in a route conflict.", + "type": "boolean" } - }, - "type": "object" + } }, - "PublicAdvertisedPrefix": { + "NodeGroupList": { + "id": "NodeGroupList", + "description": "Contains a list of nodeGroups.", "type": "object", - "id": "PublicAdvertisedPrefix", - "description": "A public advertised prefix represents an aggregated IP prefix or netblock which customers bring to cloud. The IP prefix is a single unit of route advertisement and is announced globally to the internet.", "properties": { - "selfLink": { - "description": "[Output Only] Server-defined URL for the resource.", - "type": "string" - }, - "sharedSecret": { - "description": "[Output Only] The shared secret to be used for reverse DNS verification.", - "type": "string" - }, - "dnsVerificationIp": { - "description": "The IPv4 address to be used for reverse DNS verification.", + "kind": { + "description": "[Output Only] Type of resource.Always compute#nodeGroupList for lists of node groups.", + "default": "compute#nodeGroupList", "type": "string" }, - "fingerprint": { - "type": "string", - "format": "byte", - "description": "Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a new PublicAdvertisedPrefix. An up-to-date fingerprint must be provided in order to update the PublicAdvertisedPrefix, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a PublicAdvertisedPrefix." - }, "id": { - "description": "[Output Only] The unique identifier for the resource type. The server generates this identifier.", - "format": "uint64", + "description": "[Output Only] Unique identifier for the resource; defined by the server.", "type": "string" }, - "publicDelegatedPrefixs": { + "items": { + "description": "A list of NodeGroup resources.", "type": "array", "items": { - "$ref": "PublicAdvertisedPrefixPublicDelegatedPrefix" - }, - "description": "[Output Only] The list of public delegated prefixes that exist for this public advertised prefix." - }, - "kind": { - "type": "string", - "description": "[Output Only] Type of the resource. Always compute#publicAdvertisedPrefix for public advertised prefixes.", - "default": "compute#publicAdvertisedPrefix" + "$ref": "NodeGroup" + } }, - "description": { - "description": "An optional description of this resource. Provide this property when you create the resource.", + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", "type": "string" }, - "creationTimestamp": { - "type": "string", - "description": "[Output Only] Creation timestamp in RFC3339 text format." - }, - "status": { - "type": "string", - "description": "The status of the public advertised prefix. Possible values include: - `INITIAL`: RPKI validation is complete. - `PTR_CONFIGURED`: User has configured the PTR. - `VALIDATED`: Reverse DNS lookup is successful. - `REVERSE_DNS_LOOKUP_FAILED`: Reverse DNS lookup failed. - `PREFIX_CONFIGURATION_IN_PROGRESS`: The prefix is being configured. - `PREFIX_CONFIGURATION_COMPLETE`: The prefix is fully configured. - `PREFIX_REMOVAL_IN_PROGRESS`: The prefix is being removed. ", - "enumDescriptions": [ - "RPKI validation is complete.", - "The prefix is fully configured.", - "The prefix is being configured.", - "The prefix is being removed.", - "User has configured the PTR.", - "Reverse DNS lookup failed.", - "Reverse DNS lookup is successful." - ], - "enum": [ - "INITIAL", - "PREFIX_CONFIGURATION_COMPLETE", - "PREFIX_CONFIGURATION_IN_PROGRESS", - "PREFIX_REMOVAL_IN_PROGRESS", - "PTR_CONFIGURED", - "REVERSE_DNS_LOOKUP_FAILED", - "VALIDATED" - ] - }, - "ipCidrRange": { - "description": "The IPv4 address range, in CIDR format, represented by this public advertised prefix.", + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", "type": "string" }, - "name": { - "type": "string", - "annotations": { - "required": [ - "compute.publicAdvertisedPrefixes.insert" - ] - }, - "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" - } - } - }, - "NetworkEndpointGroupsListNetworkEndpoints": { - "type": "object", - "id": "NetworkEndpointGroupsListNetworkEndpoints", - "properties": { - "kind": { - "type": "string", - "description": "[Output Only] The resource type, which is always compute#networkEndpointGroupsListNetworkEndpoints for the list of network endpoints in the specified network endpoint group.", - "default": "compute#networkEndpointGroupsListNetworkEndpoints" - }, "warning": { "description": "[Output Only] Informational warning message.", "type": "object", "properties": { "code": { - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -27301,6 +26749,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -27319,70 +26768,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "type": "string" - }, - "data": { - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "type": "array", - "items": { - "properties": { - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - }, - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - } - }, - "type": "object" - } - }, - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - } - } - }, - "items": { - "type": "array", - "description": "A list of NetworkEndpointWithHealthStatus resources.", - "items": { - "$ref": "NetworkEndpointWithHealthStatus" - } - }, - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", - "type": "string" - }, - "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", - "type": "string" - } - } - }, - "UrlMapsScopedList": { - "id": "UrlMapsScopedList", - "type": "object", - "properties": { - "urlMaps": { - "description": "A list of UrlMaps contained in this scope.", - "type": "array", - "items": { - "$ref": "UrlMap" - } - }, - "warning": { - "type": "object", - "properties": { - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - }, - "code": { - "type": "string", - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -27394,6 +26809,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -27411,284 +26827,212 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." ] }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", "type": "array", "items": { "type": "object", "properties": { - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - }, "key": { "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" } } - }, - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } " + } } - }, - "description": "Informational warning which replaces the list of backend services when the list is empty." + } } } }, - "HttpHeaderMatch": { - "id": "HttpHeaderMatch", - "description": "matchRule criteria for request header matches.", + "NodeGroup": { + "id": "NodeGroup", + "description": "Represents a sole-tenant Node Group resource. A sole-tenant node is a physical server that is dedicated to hosting VM instances only for your specific project. Use sole-tenant nodes to keep your instances physically separated from instances in other projects, or to group your instances together on the same host hardware. For more information, read Sole-tenant nodes.", + "type": "object", "properties": { - "exactMatch": { - "description": "The value should exactly match contents of exactMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.", - "type": "string" - }, - "regexMatch": { - "description": "The value of the header must match the regular expression specified in regexMatch. For more information about regular expression syntax, see Syntax. For matching against a port specified in the HTTP request, use a headerMatch with headerName set to PORT and a regular expression that satisfies the RFC2616 Host header's port specifier. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.", + "kind": { + "description": "[Output Only] The type of the resource. Always compute#nodeGroup for node group.", + "default": "compute#nodeGroup", "type": "string" }, - "headerName": { + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", "type": "string", - "description": "The name of the HTTP header to match. For matching against the HTTP request's authority, use a headerMatch with the header name \":authority\". For matching a request's method, use the headerName \":method\". When the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true, only non-binary user-specified custom metadata and the `content-type` header are supported. The following transport-level headers cannot be used in header matching rules: `:authority`, `:method`, `:path`, `:scheme`, `user-agent`, `accept-encoding`, `content-encoding`, `grpc-accept-encoding`, `grpc-encoding`, `grpc-previous-rpc-attempts`, `grpc-tags-bin`, `grpc-timeout` and `grpc-trace-bin`." - }, - "presentMatch": { - "description": "A header with the contents of headerName must exist. The match takes place whether or not the request's header has a value. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.", - "type": "boolean" - }, - "invertMatch": { - "type": "boolean", - "description": "If set to false, the headerMatch is considered a match if the preceding match criteria are met. If set to true, the headerMatch is considered a match if the preceding match criteria are NOT met. The default setting is false. " + "format": "uint64" }, - "prefixMatch": { - "description": "The value of the header must start with the contents of prefixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.", + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", "type": "string" }, - "suffixMatch": { - "type": "string", - "description": "The value of the header must end with the contents of suffixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set." - }, - "rangeMatch": { - "description": "The header value must be an integer and its value must be in the range specified in rangeMatch. If the header does not contain an integer, number or is empty, the match fails. For example for a range [-5, 0] - -3 will match. - 0 will not match. - 0.25 will not match. - -3someString will not match. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. rangeMatch is not supported for load balancers that have loadBalancingScheme set to EXTERNAL.", - "$ref": "Int64RangeMatch" - } - }, - "type": "object" - }, - "InterconnectAttachmentPartnerMetadata": { - "type": "object", - "id": "InterconnectAttachmentPartnerMetadata", - "properties": { - "portalUrl": { - "type": "string", - "description": "URL of the Partner's portal for this Attachment. Partners may customise this to be a deep link to the specific resource on the Partner portal. This value may be validated to match approved Partner values." - }, - "interconnectName": { - "type": "string", - "description": "Plain text name of the Interconnect this attachment is connected to, as displayed in the Partner's portal. For instance \"Chicago 1\". This value may be validated to match approved Partner values." + "name": { + "description": "The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "type": "string" }, - "partnerName": { - "description": "Plain text name of the Partner providing this attachment. This value may be validated to match approved Partner values.", + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource.", "type": "string" - } - }, - "description": "Informational metadata about Partner attachments from Partners to display to customers. These fields are propagated from PARTNER_PROVIDER attachments to their corresponding PARTNER attachments." - }, - "ConnectionDraining": { - "properties": { - "drainingTimeoutSec": { - "type": "integer", - "description": "Configures a duration timeout for existing requests on a removed backend instance. For supported load balancers and protocols, as described in Enabling connection draining.", - "format": "int32" - } - }, - "id": "ConnectionDraining", - "description": "Message containing connection draining configuration.", - "type": "object" - }, - "TargetInstance": { - "id": "TargetInstance", - "description": "Represents a Target Instance resource. You can use a target instance to handle traffic for one or more forwarding rules, which is ideal for forwarding protocol traffic that is managed by a single source. For example, ESP, AH, TCP, or UDP. For more information, read Target instances.", - "properties": { - "creationTimestamp": { - "description": "[Output Only] Creation timestamp in RFC3339 text format.", + }, + "nodeTemplate": { + "description": "URL of the node template to create the node group from.", "type": "string" }, "zone": { - "description": "[Output Only] URL of the zone where the target instance resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.", + "description": "[Output Only] The name of the zone where the node group resides, such as us-central1-a.", "type": "string" }, - "name": { - "type": "string", - "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" - }, "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for the resource." + "description": "[Output Only] Server-defined URL for the resource.", + "type": "string" }, - "id": { - "format": "uint64", + "status": { "type": "string", - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server." + "enumDescriptions": [ + "", + "", + "", + "" + ], + "enum": [ + "CREATING", + "DELETING", + "INVALID", + "READY" + ] }, - "instance": { - "type": "string", - "description": "A URL to the virtual machine instance that handles traffic for this target instance. When creating a target instance, you can provide the fully-qualified URL or a valid partial URL to the desired virtual machine. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /instances/instance - projects/project/zones/zone/instances/instance - zones/zone/instances/instance " + "size": { + "description": "[Output Only] The total number of nodes in the node group.", + "type": "integer", + "format": "int32" }, - "network": { - "description": "The URL of the network this target instance uses to forward traffic. If not specified, the traffic will be forwarded to the network that the default network interface belongs to.", - "type": "string" + "autoscalingPolicy": { + "description": "Specifies how autoscaling should behave.", + "$ref": "NodeGroupAutoscalingPolicy" }, - "natPolicy": { + "maintenancePolicy": { + "description": "Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies.", "type": "string", "enumDescriptions": [ - "No NAT performed." + "Allow the node and corresponding instances to retain default maintenance behavior.", + "", + "When maintenance must be done on a node, the instances on that node will be moved to other nodes in the group. Instances with onHostMaintenance = MIGRATE will live migrate to their destinations while instances with onHostMaintenance = TERMINATE will terminate and then restart on their destination nodes if automaticRestart = true.", + "Instances in this group will restart on the same node when maintenance has completed. Instances must have onHostMaintenance = TERMINATE, and they will only restart if automaticRestart = true." ], "enum": [ - "NO_NAT" - ], - "description": "Must have a value of NO_NAT. Protocol forwarding delivers packets while preserving the destination IP address of the forwarding rule referencing the target instance." + "DEFAULT", + "MAINTENANCE_POLICY_UNSPECIFIED", + "MIGRATE_WITHIN_NODE_GROUP", + "RESTART_IN_PLACE" + ] }, - "description": { - "description": "An optional description of this resource. Provide this property when you create the resource.", + "locationHint": { + "description": "An opaque location hint used to place the Node close to other resources. This field is for use by internal tools that use the public API. The location hint here on the NodeGroup overrides any location_hint present in the NodeTemplate.", "type": "string" }, - "kind": { - "default": "compute#targetInstance", - "description": "[Output Only] The type of the resource. Always compute#targetInstance for target instances.", - "type": "string" + "fingerprint": { + "type": "string", + "format": "byte" + }, + "maintenanceWindow": { + "$ref": "NodeGroupMaintenanceWindow" + }, + "shareSettings": { + "description": "Share-settings for the node group", + "$ref": "ShareSettings" } - }, - "type": "object" + } }, - "ResourcePolicyInstanceSchedulePolicy": { + "NodeGroupAutoscalingPolicy": { + "id": "NodeGroupAutoscalingPolicy", + "type": "object", "properties": { - "startTime": { + "mode": { + "description": "The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more information, see Autoscaler modes.", "type": "string", - "description": "The start time of the schedule. The timestamp is an RFC3339 string." - }, - "expirationTime": { - "description": "The expiration time of the schedule. The timestamp is an RFC3339 string.", - "type": "string" - }, - "timeZone": { - "description": "Specifies the time zone to be used in interpreting Schedule.schedule. The value of this field must be a time zone name from the tz database: http://en.wikipedia.org/wiki/Tz_database.", - "type": "string" + "enumDescriptions": [ + "", + "Autoscaling is disabled.", + "Autocaling is fully enabled.", + "Autoscaling will only scale out and will not remove nodes." + ], + "enum": [ + "MODE_UNSPECIFIED", + "OFF", + "ON", + "ONLY_SCALE_OUT" + ] }, - "vmStopSchedule": { - "description": "Specifies the schedule for stopping instances.", - "$ref": "ResourcePolicyInstanceSchedulePolicySchedule" + "minNodes": { + "description": "The minimum number of nodes that the group should have.", + "type": "integer", + "format": "int32" }, - "vmStartSchedule": { - "description": "Specifies the schedule for starting instances.", - "$ref": "ResourcePolicyInstanceSchedulePolicySchedule" + "maxNodes": { + "description": "The maximum number of nodes that the group should have. Must be set if autoscaling is enabled. Maximum value allowed is 100.", + "type": "integer", + "format": "int32" } - }, - "type": "object", - "id": "ResourcePolicyInstanceSchedulePolicy", - "description": "An InstanceSchedulePolicy specifies when and how frequent certain operations are performed on the instance." + } }, - "InstanceGroupManagersPatchPerInstanceConfigsReq": { - "id": "InstanceGroupManagersPatchPerInstanceConfigsReq", + "NodeGroupMaintenanceWindow": { + "id": "NodeGroupMaintenanceWindow", + "description": "Time window specified for daily maintenance operations. GCE's internal maintenance will be performed within this window.", "type": "object", "properties": { - "perInstanceConfigs": { - "items": { - "$ref": "PerInstanceConfig" - }, - "description": "The list of per-instance configurations to insert or patch on this managed instance group.", - "type": "array" + "startTime": { + "description": "Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.", + "type": "string" + }, + "maintenanceDuration": { + "description": "[Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.", + "$ref": "Duration" } - }, - "description": "InstanceGroupManagers.patchPerInstanceConfigs" + } }, - "NetworkAttachmentConnectedEndpoint": { + "NodeGroupAggregatedList": { + "id": "NodeGroupAggregatedList", + "type": "object", "properties": { - "projectIdOrNum": { - "description": "The project id or number of the interface to which the IP was assigned.", + "kind": { + "description": "[Output Only] Type of resource.Always compute#nodeGroupAggregatedList for aggregated lists of node groups.", + "default": "compute#nodeGroupAggregatedList", "type": "string" }, - "ipAddress": { - "description": "The IP address assigned to the producer instance network interface. This value will be a range in case of Serverless.", + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", "type": "string" }, - "subnetwork": { - "type": "string", - "description": "The subnetwork used to assign the IP to the producer instance network interface." + "items": { + "description": "A list of NodeGroupsScopedList resources.", + "type": "object", + "additionalProperties": { + "description": "[Output Only] Name of the scope containing this set of node groups.", + "$ref": "NodeGroupsScopedList" + } }, - "secondaryIpCidrRanges": { - "items": { - "type": "string" - }, - "description": "Alias IP ranges from the same subnetwork", - "type": "array" + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" }, - "status": { - "enum": [ - "ACCEPTED", - "CLOSED", - "NEEDS_ATTENTION", - "PENDING", - "REJECTED", - "STATUS_UNSPECIFIED" - ], - "type": "string", - "enumDescriptions": [ - "The consumer allows traffic from the producer to reach its VPC.", - "The consumer network attachment no longer exists.", - "The consumer needs to take further action before traffic can be served.", - "The consumer neither allows nor prohibits traffic from the producer to reach its VPC.", - "The consumer prohibits traffic from the producer to reach its VPC.", - "" - ], - "description": "The status of a connected endpoint to this network attachment." - } - }, - "type": "object", - "id": "NetworkAttachmentConnectedEndpoint", - "description": "[Output Only] A connection connected to this network attachment." - }, - "NetworkList": { - "id": "NetworkList", - "description": "Contains a list of networks.", - "properties": { "warning": { "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -27700,6 +27044,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -27718,6 +27063,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -27729,6 +27104,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -27746,101 +27122,58 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", "type": "string" }, "data": { "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", "type": "array", "items": { + "type": "object", "properties": { - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - }, "key": { "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" } - }, - "type": "object" + } } } - }, - "type": "object" - }, - "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." - }, - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", - "type": "string" + } }, - "items": { - "items": { - "$ref": "Network" - }, + "unreachables": { + "description": "[Output Only] Unreachable resources.", "type": "array", - "description": "A list of Network resources." - }, - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." - }, - "kind": { - "type": "string", - "default": "compute#networkList", - "description": "[Output Only] Type of resource. Always compute#networkList for lists of networks." + "items": { + "type": "string" + } } - }, - "type": "object" + } }, - "InstanceGroupsListInstances": { + "NodeGroupsScopedList": { + "id": "NodeGroupsScopedList", + "type": "object", "properties": { - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." - }, - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", - "type": "string" - }, - "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", - "type": "string" - }, - "kind": { - "description": "[Output Only] The resource type, which is always compute#instanceGroupsListInstances for the list of instances in the specified instance group.", - "default": "compute#instanceGroupsListInstances", - "type": "string" + "nodeGroups": { + "description": "[Output Only] A list of node groups contained in this scope.", + "type": "array", + "items": { + "$ref": "NodeGroup" + } }, "warning": { - "description": "[Output Only] Informational warning message.", + "description": "[Output Only] An informational warning that appears when the nodeGroup list is empty.", + "type": "object", "properties": { - "data": { - "items": { - "properties": { - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - }, - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - } - }, - "type": "object" - }, - "type": "array", - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } " - }, - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - }, "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -27852,6 +27185,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -27870,8 +27204,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "type": "string", + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -27883,6 +27245,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -27901,58 +27264,14 @@ "UNDECLARED_PROPERTIES", "UNREACHABLE" ] - } - }, - "type": "object" - }, - "items": { - "items": { - "$ref": "InstanceWithNamedPorts" - }, - "description": "A list of InstanceWithNamedPorts resources.", - "type": "array" - } - }, - "type": "object", - "id": "InstanceGroupsListInstances" - }, - "SubnetworkList": { - "type": "object", - "description": "Contains a list of Subnetwork resources.", - "id": "SubnetworkList", - "properties": { - "items": { - "description": "A list of Subnetwork resources.", - "type": "array", - "items": { - "$ref": "Subnetwork" - } - }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." - }, - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." - }, - "kind": { - "default": "compute#subnetworkList", - "type": "string", - "description": "[Output Only] Type of resource. Always compute#subnetworkList for lists of subnetworks." - }, - "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." - }, - "warning": { - "description": "[Output Only] Informational warning message.", - "properties": { + }, "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" }, "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", "items": { "type": "object", "properties": { @@ -27965,103 +27284,71 @@ "type": "string" } } - }, - "type": "array", - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } " - }, - "code": { - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], - "type": "string", - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ] + } } - }, - "type": "object" + } } } }, - "ZoneList": { + "NodeGroupsAddNodesRequest": { + "id": "NodeGroupsAddNodesRequest", + "type": "object", + "properties": { + "additionalNodeCount": { + "description": "Count of additional nodes to be added to the node group.", + "type": "integer", + "format": "int32" + } + } + }, + "NodeGroupsDeleteNodesRequest": { + "id": "NodeGroupsDeleteNodesRequest", + "type": "object", + "properties": { + "nodes": { + "description": "Names of the nodes to delete.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "NodeGroupsListNodes": { + "id": "NodeGroupsListNodes", + "type": "object", "properties": { + "kind": { + "description": "[Output Only] The resource type, which is always compute.nodeGroupsListNodes for the list of nodes in the specified node group.", + "default": "compute#nodeGroupsListNodes", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of Node resources.", + "type": "array", + "items": { + "$ref": "NodeGroupNode" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, - "data": { - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "type": "array", - "items": { - "type": "object", - "properties": { - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - }, - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - } - } - } - }, "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -28073,6 +27360,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -28091,6 +27379,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -28102,6 +27420,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -28119,161 +27438,264 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], - "type": "string", - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response." + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } } - }, - "description": "[Output Only] Informational warning message.", - "type": "object" - }, - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", + } + } + } + }, + "NodeGroupNode": { + "id": "NodeGroupNode", + "type": "object", + "properties": { + "name": { + "description": "The name of the node.", "type": "string" }, - "nextPageToken": { + "status": { "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." + "enumDescriptions": [ + "", + "", + "", + "", + "" + ], + "enum": [ + "CREATING", + "DELETING", + "INVALID", + "READY", + "REPAIRING" + ] }, - "kind": { - "description": "Type of resource.", - "default": "compute#zoneList", + "nodeType": { + "description": "The type of this node.", "type": "string" }, - "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." + "serverBinding": { + "description": "Binding properties for the physical server.", + "$ref": "ServerBinding" }, - "items": { - "description": "A list of Zone resources.", + "serverId": { + "description": "Server ID associated with this node.", + "type": "string" + }, + "disks": { + "description": "Local disk configurations.", "type": "array", "items": { - "$ref": "Zone" + "$ref": "LocalDisk" + } + }, + "accelerators": { + "description": "Accelerators for this node.", + "type": "array", + "items": { + "$ref": "AcceleratorConfig" + } + }, + "instances": { + "description": "Instances scheduled on this node.", + "type": "array", + "items": { + "type": "string" + } + }, + "instanceConsumptionData": { + "description": "Instance data that shows consumed resources on the node.", + "type": "array", + "items": { + "$ref": "InstanceConsumptionData" } + }, + "consumedResources": { + "description": "Node resources that are reserved by all instances.", + "$ref": "InstanceConsumptionInfo" + }, + "totalResources": { + "description": "Total amount of available resources on the node.", + "$ref": "InstanceConsumptionInfo" + }, + "cpuOvercommitType": { + "description": "CPU overcommit.", + "type": "string", + "enumDescriptions": [ + "", + "", + "" + ], + "enum": [ + "CPU_OVERCOMMIT_TYPE_UNSPECIFIED", + "ENABLED", + "NONE" + ] + }, + "satisfiesPzs": { + "description": "[Output Only] Reserved for future use.", + "type": "boolean" } - }, + } + }, + "ServerBinding": { + "id": "ServerBinding", "type": "object", - "description": "Contains a list of zone resources.", - "id": "ZoneList" + "properties": { + "type": { + "type": "string", + "enumDescriptions": [ + "Node may associate with any physical server over its lifetime.", + "Node may associate with minimal physical servers over its lifetime.", + "" + ], + "enum": [ + "RESTART_NODE_ON_ANY_SERVER", + "RESTART_NODE_ON_MINIMAL_SERVERS", + "SERVER_BINDING_TYPE_UNSPECIFIED" + ] + } + } }, - "AcceleratorConfig": { + "LocalDisk": { + "id": "LocalDisk", "type": "object", - "description": "A specification of the type and number of accelerator cards attached to the instance.", - "id": "AcceleratorConfig", "properties": { - "acceleratorType": { - "description": "Full or partial URL of the accelerator type resource to attach to this instance. For example: projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full list of accelerator types.", + "diskType": { + "description": "Specifies the desired disk type on the node. This disk type must be a local storage type (e.g.: local-ssd). Note that for nodeTemplates, this should be the name of the disk type and not its URL.", "type": "string" }, - "acceleratorCount": { - "format": "int32", - "description": "The number of the guest accelerator cards exposed to this instance.", - "type": "integer" + "diskSizeGb": { + "description": "Specifies the size of the disk in base-2 GB.", + "type": "integer", + "format": "int32" + }, + "diskCount": { + "description": "Specifies the number of such disks.", + "type": "integer", + "format": "int32" } } }, - "InitialStateConfig": { - "description": "Initial State for shielded instance, these are public keys which are safe to store in public", + "InstanceConsumptionData": { + "id": "InstanceConsumptionData", + "type": "object", "properties": { - "dbxs": { - "type": "array", - "description": "The forbidden key database (dbx).", - "items": { - "$ref": "FileContentBuffer" - } + "instance": { + "description": "Server-defined URL for the instance.", + "type": "string" }, - "pk": { - "description": "The Platform Key (PK).", - "$ref": "FileContentBuffer" + "consumptionInfo": { + "description": "Resources consumed by the instance.", + "$ref": "InstanceConsumptionInfo" + } + } + }, + "InstanceConsumptionInfo": { + "id": "InstanceConsumptionInfo", + "type": "object", + "properties": { + "minNodeCpus": { + "description": "The minimal guaranteed number of virtual CPUs that are reserved.", + "type": "integer", + "format": "int32" }, - "dbs": { + "guestCpus": { + "description": "The number of virtual CPUs that are available to the instance.", + "type": "integer", + "format": "int32" + }, + "memoryMb": { + "description": "The amount of physical memory available to the instance, defined in MiB.", + "type": "integer", + "format": "int32" + }, + "localSsdGb": { + "description": "The amount of local SSD storage available to the instance, defined in GiB.", + "type": "integer", + "format": "int32" + } + } + }, + "NodeGroupsSetNodeTemplateRequest": { + "id": "NodeGroupsSetNodeTemplateRequest", + "type": "object", + "properties": { + "nodeTemplate": { + "description": "Full or partial URL of the node template resource to be updated for this node group.", + "type": "string" + } + } + }, + "NodeGroupsSimulateMaintenanceEventRequest": { + "id": "NodeGroupsSimulateMaintenanceEventRequest", + "type": "object", + "properties": { + "nodes": { + "description": "Names of the nodes to go under maintenance simulation.", "type": "array", - "description": "The Key Database (db).", "items": { - "$ref": "FileContentBuffer" + "type": "string" } - }, - "keks": { - "description": "The Key Exchange Key (KEK).", - "items": { - "$ref": "FileContentBuffer" - }, - "type": "array" } - }, - "id": "InitialStateConfig", - "type": "object" + } }, - "InstanceGroupList": { + "NodeTemplateList": { + "id": "NodeTemplateList", + "description": "Contains a list of node templates.", "type": "object", "properties": { - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", + "kind": { + "description": "[Output Only] Type of resource.Always compute#nodeTemplateList for lists of node templates.", + "default": "compute#nodeTemplateList", "type": "string" }, - "kind": { - "description": "[Output Only] The resource type, which is always compute#instanceGroupList for instance group lists.", - "default": "compute#instanceGroupList", + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", "type": "string" }, "items": { - "items": { - "$ref": "InstanceGroup" - }, + "description": "A list of NodeTemplate resources.", "type": "array", - "description": "A list of InstanceGroup resources." + "items": { + "$ref": "NodeTemplate" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" }, "warning": { - "type": "object", "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { - "data": { - "items": { - "type": "object", - "properties": { - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - }, - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - } - } - }, - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "type": "array" - }, "code": { - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -28285,6 +27707,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -28303,217 +27726,305 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "type": "string", - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response." + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] }, "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } } } - }, - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." - }, - "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." } - }, - "id": "InstanceGroupList", - "description": "A list of InstanceGroup resources." + } }, - "InstanceGroup": { + "NodeTemplate": { + "id": "NodeTemplate", + "description": "Represent a sole-tenant Node Template resource. You can use a template to define properties for nodes in a node group. For more information, read Creating node groups and instances.", + "type": "object", "properties": { - "creationTimestamp": { - "type": "string", - "description": "[Output Only] The creation timestamp for this instance group in RFC3339 text format." - }, - "selfLink": { - "description": "[Output Only] The URL for this instance group. The server generates this URL.", + "kind": { + "description": "[Output Only] The type of the resource. Always compute#nodeTemplate for node templates.", + "default": "compute#nodeTemplate", "type": "string" }, - "description": { + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", "type": "string", - "description": "An optional description of this resource. Provide this property when you create the resource." + "format": "uint64" + }, + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" }, "name": { - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "annotations": { - "required": [ - "compute.instanceGroups.insert" - ] - }, - "description": "The name of the instance group. The name must be 1-63 characters long, and comply with RFC1035." + "description": "The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "type": "string" }, - "size": { - "description": "[Output Only] The total number of instances in the instance group.", - "type": "integer", - "format": "int32" + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource.", + "type": "string" }, - "namedPorts": { - "description": " Assigns a name to a port number. For example: {name: \"http\", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: \"app1\", port: 8080}, {name: \"app1\", port: 8081}, {name: \"app2\", port: 8082}] Named ports apply to all instances in this instance group. ", - "type": "array", - "items": { - "$ref": "NamedPort" + "nodeType": { + "description": "The node type to use for nodes group that are created from this template.", + "type": "string" + }, + "nodeAffinityLabels": { + "description": "Labels to use for node affinity, which will be used in instance scheduling.", + "type": "object", + "additionalProperties": { + "type": "string" } }, - "kind": { + "status": { + "description": "[Output Only] The status of the node template. One of the following values: CREATING, READY, and DELETING.", "type": "string", - "default": "compute#instanceGroup", - "description": "[Output Only] The resource type, which is always compute#instanceGroup for instance groups." + "enumDescriptions": [ + "Resources are being allocated.", + "The node template is currently being deleted.", + "Invalid status.", + "The node template is ready." + ], + "enum": [ + "CREATING", + "DELETING", + "INVALID", + "READY" + ] }, - "subnetwork": { - "type": "string", - "description": "[Output Only] The URL of the subnetwork to which all instances in the instance group belong. If your instance has multiple network interfaces, then the network and subnetwork fields only refer to the network and subnet used by your primary interface (nic0)." + "statusMessage": { + "description": "[Output Only] An optional, human-readable explanation of the status.", + "type": "string" }, - "zone": { - "type": "string", - "description": "[Output Only] The URL of the zone where the instance group is located (for zonal resources)." + "region": { + "description": "[Output Only] The name of the region where the node template resides, such as us-central1.", + "type": "string" }, - "network": { - "description": "[Output Only] The URL of the network to which all instances in the instance group belong. If your instance has multiple network interfaces, then the network and subnetwork fields only refer to the network and subnet used by your primary interface (nic0).", + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", "type": "string" }, - "region": { - "type": "string", - "description": "[Output Only] The URL of the region where the instance group is located (for regional resources)." + "nodeTypeFlexibility": { + "description": "Do not use. Instead, use the node_type property.", + "$ref": "NodeTemplateNodeTypeFlexibility" }, - "id": { - "type": "string", - "description": "[Output Only] A unique identifier for this instance group, generated by the server.", - "format": "uint64" + "serverBinding": { + "description": "Sets the binding properties for the physical server. Valid values include: - *[Default]* RESTART_NODE_ON_ANY_SERVER: Restarts VMs on any available physical server - RESTART_NODE_ON_MINIMAL_SERVER: Restarts VMs on the same physical server whenever possible See Sole-tenant node options for more information.", + "$ref": "ServerBinding" }, - "fingerprint": { - "description": "[Output Only] The fingerprint of the named ports. The system uses this fingerprint to detect conflicts when multiple users change the named ports concurrently.", - "format": "byte", - "type": "string" - } - }, - "description": "Represents an Instance Group resource. Instance Groups can be used to configure a target for load balancing. Instance groups can either be managed or unmanaged. To create managed instance groups, use the instanceGroupManager or regionInstanceGroupManager resource instead. Use zonal unmanaged instance groups if you need to apply load balancing to groups of heterogeneous instances or if you need to manage the instances yourself. You cannot create regional unmanaged instance groups. For more information, read Instance groups.", - "type": "object", - "id": "InstanceGroup" - }, - "NetworkRoutingConfig": { - "properties": { - "routingMode": { - "enum": [ - "GLOBAL", - "REGIONAL" - ], - "description": "The network-wide routing mode to use. If set to REGIONAL, this network's Cloud Routers will only advertise routes with subnets of this network in the same region as the router. If set to GLOBAL, this network's Cloud Routers will advertise routes with all subnets of this network, across regions.", + "disks": { + "type": "array", + "items": { + "$ref": "LocalDisk" + } + }, + "accelerators": { + "type": "array", + "items": { + "$ref": "AcceleratorConfig" + } + }, + "cpuOvercommitType": { + "description": "CPU overcommit.", "type": "string", "enumDescriptions": [ + "", "", "" + ], + "enum": [ + "CPU_OVERCOMMIT_TYPE_UNSPECIFIED", + "ENABLED", + "NONE" ] } - }, - "type": "object", - "description": "A routing configuration attached to a network resource. The message includes the list of routers associated with the network, and a flag indicating the type of routing behavior to enforce network-wide.", - "id": "NetworkRoutingConfig" + } }, - "UsableSubnetworkSecondaryRange": { - "description": "Secondary IP range of a usable subnetwork.", - "id": "UsableSubnetworkSecondaryRange", + "NodeTemplateNodeTypeFlexibility": { + "id": "NodeTemplateNodeTypeFlexibility", + "type": "object", "properties": { - "rangeName": { - "type": "string", - "description": "The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork." + "cpus": { + "type": "string" }, - "ipCidrRange": { - "type": "string", - "description": "The range of IP addresses belonging to this subnetwork secondary range." + "memory": { + "type": "string" + }, + "localSsd": { + "type": "string" } - }, - "type": "object" + } }, - "InstanceTemplate": { - "description": "Represents an Instance Template resource. You can use instance templates to create VM instances and managed instance groups. For more information, read Instance Templates.", - "id": "InstanceTemplate", + "NodeTemplateAggregatedList": { + "id": "NodeTemplateAggregatedList", + "type": "object", "properties": { - "sourceInstanceParams": { - "$ref": "SourceInstanceParams", - "description": "The source instance params to use to create this instance template." - }, - "name": { - "annotations": { - "required": [ - "compute.instanceTemplates.insert" - ] - }, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", - "description": "Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash." - }, - "creationTimestamp": { - "description": "[Output Only] The creation timestamp for this instance template in RFC3339 text format.", + "kind": { + "description": "[Output Only] Type of resource.Always compute#nodeTemplateAggregatedList for aggregated lists of node templates.", + "default": "compute#nodeTemplateAggregatedList", "type": "string" }, - "selfLink": { - "type": "string", - "description": "[Output Only] The URL for this instance template. The server defines this URL." - }, "id": { - "format": "uint64", - "type": "string", - "description": "[Output Only] A unique identifier for this instance template. The server defines this identifier." - }, - "sourceInstance": { - "type": "string", - "description": "The source instance used to create the template. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /instances/instance - projects/project/zones/zone/instances/instance " + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" }, - "properties": { - "$ref": "InstanceProperties", - "description": "The instance properties for this instance template." + "items": { + "description": "A list of NodeTemplatesScopedList resources.", + "type": "object", + "additionalProperties": { + "description": "[Output Only] Name of the scope containing this set of node templates.", + "$ref": "NodeTemplatesScopedList" + } }, - "kind": { - "type": "string", - "description": "[Output Only] The resource type, which is always compute#instanceTemplate for instance templates.", - "default": "compute#instanceTemplate" + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" }, - "description": { - "description": "An optional description of this resource. Provide this property when you create the resource.", + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", "type": "string" - } - }, - "type": "object" - }, - "HealthChecksScopedList": { - "properties": { - "healthChecks": { - "description": "A list of HealthChecks contained in this scope.", - "items": { - "$ref": "HealthCheck" - }, - "type": "array" }, "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { - "data": { - "type": "array", - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "items": { - "type": "object", - "properties": { - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - }, - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - } - } - } - }, - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - }, "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -28525,6 +28036,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -28542,7 +28054,57 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + }, + "unreachables": { + "description": "[Output Only] Unreachable resources.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "NodeTemplatesScopedList": { + "id": "NodeTemplatesScopedList", + "type": "object", + "properties": { + "nodeTemplates": { + "description": "[Output Only] A list of node templates contained in this scope.", + "type": "array", + "items": { + "$ref": "NodeTemplate" + } + }, + "warning": { + "description": "[Output Only] An informational warning that appears when the node templates list is empty.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", @@ -28555,6 +28117,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -28573,169 +28136,128 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response." + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } } - }, - "description": "Informational warning which replaces the list of backend services when the list is empty.", - "type": "object" - } - }, - "type": "object", - "id": "HealthChecksScopedList" - }, - "SecurityPolicyRuleRateLimitOptions": { - "properties": { - "conformAction": { - "type": "string", - "description": "Action to take for requests that are under the configured rate limit threshold. Valid option is \"allow\" only." - }, - "banDurationSec": { - "type": "integer", - "description": "Can only be specified if the action for the rule is \"rate_based_ban\". If specified, determines the time (in seconds) the traffic will continue to be banned by the rate limit after the rate falls below the threshold.", - "format": "int32" - }, - "exceedAction": { - "type": "string", - "description": "Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are \"deny(status)\", where valid values for status are 403, 404, 429, and 502, and \"redirect\" where the redirect parameters come from exceedRedirectOptions below." - }, - "enforceOnKey": { - "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "" - ], - "description": "Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if \"enforceOnKey\" is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under \"enforceOnKeyName\". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under \"enforceOnKeyName\". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates. ", - "enum": [ - "ALL", - "HTTP_COOKIE", - "HTTP_HEADER", - "HTTP_PATH", - "IP", - "REGION_CODE", - "SNI", - "XFF_IP" - ], - "type": "string" - }, - "rateLimitThreshold": { - "$ref": "SecurityPolicyRuleRateLimitOptionsThreshold", - "description": "Threshold at which to begin ratelimiting." - }, - "enforceOnKeyName": { - "type": "string", - "description": "Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key value." - }, - "banThreshold": { - "$ref": "SecurityPolicyRuleRateLimitOptionsThreshold", - "description": "Can only be specified if the action for the rule is \"rate_based_ban\". If specified, the key will be banned for the configured 'ban_duration_sec' when the number of requests that exceed the 'rate_limit_threshold' also exceed this 'ban_threshold'." - }, - "exceedRedirectOptions": { - "$ref": "SecurityPolicyRuleRedirectOptions", - "description": "Parameters defining the redirect action that is used as the exceed action. Cannot be specified if the exceed action is not redirect." + } } - }, - "type": "object", - "id": "SecurityPolicyRuleRateLimitOptions" + } }, - "HttpRouteRuleMatch": { + "NodeTypeList": { + "id": "NodeTypeList", + "description": "Contains a list of node types.", "type": "object", - "description": "HttpRouteRuleMatch specifies a set of criteria for matching requests to an HttpRouteRule. All specified criteria must be satisfied for a match to occur.", "properties": { - "prefixMatch": { - "description": "For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch. prefixMatch must begin with a /. The value must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.", + "kind": { + "description": "[Output Only] Type of resource.Always compute#nodeTypeList for lists of node types.", + "default": "compute#nodeTypeList", "type": "string" }, - "metadataFilters": { - "description": "Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to the load balancer, xDS clients present node metadata. When there is a match, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. If multiple metadata filters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here is applied after those specified in ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.", - "type": "array", - "items": { - "$ref": "MetadataFilter" - } - }, - "ignoreCase": { - "description": "Specifies that prefixMatch and fullPathMatch matches are case sensitive. The default value is false. ignoreCase must not be used with regexMatch. Not supported when the URL map is bound to a target gRPC proxy.", - "type": "boolean" - }, - "headerMatches": { - "type": "array", - "description": "Specifies a list of header match criteria, all of which must match corresponding headers in the request.", - "items": { - "$ref": "HttpHeaderMatch" - } - }, - "regexMatch": { - "description": "For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL. For more information about regular expression syntax, see Syntax. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.", + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", "type": "string" }, - "queryParameterMatches": { - "description": "Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request. Not supported when the URL map is bound to a target gRPC proxy.", + "items": { + "description": "A list of NodeType resources.", "type": "array", "items": { - "$ref": "HttpQueryParameterMatch" + "$ref": "NodeType" } }, - "fullPathMatch": { - "description": "For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL. fullPathMatch must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.", + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", "type": "string" - } - }, - "id": "HttpRouteRuleMatch" - }, - "CommitmentAggregatedList": { - "id": "CommitmentAggregatedList", - "properties": { - "items": { - "additionalProperties": { - "$ref": "CommitmentsScopedList", - "description": "[Output Only] Name of the scope containing this set of commitments." - }, - "description": "A list of CommitmentsScopedList resources.", - "type": "object" }, "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." - }, - "kind": { - "default": "compute#commitmentAggregatedList", - "description": "[Output Only] Type of resource. Always compute#commitmentAggregatedList for aggregated lists of commitments.", + "description": "[Output Only] Server-defined URL for this resource.", "type": "string" }, - "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." - }, - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." - }, "warning": { - "type": "object", "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { - "data": { - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "items": { - "type": "object", - "properties": { - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - }, - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - } - } - }, - "type": "array" - }, "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -28747,6 +28269,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -28765,6 +28288,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -28776,6 +28329,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -28793,216 +28347,190 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "type": "string" + ] }, "message": { "description": "[Output Only] A human-readable description of the warning code.", "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } } } - }, - "unreachables": { - "description": "[Output Only] Unreachable resources.", - "items": { - "type": "string" - }, - "type": "array" } - }, - "type": "object" + } }, - "VpnGatewayStatusVpnConnection": { - "id": "VpnGatewayStatusVpnConnection", + "NodeType": { + "id": "NodeType", + "description": "Represent a sole-tenant Node Type resource. Each node within a node group must have a node type. A node type specifies the total amount of cores and memory for that node. Currently, the only available node type is n1-node-96-624 node type that has 96 vCPUs and 624 GB of memory, available in multiple zones. For more information read Node types.", "type": "object", "properties": { - "tunnels": { - "type": "array", - "items": { - "$ref": "VpnGatewayStatusTunnel" - }, - "description": "List of VPN tunnels that are in this VPN connection." + "kind": { + "description": "[Output Only] The type of the resource. Always compute#nodeType for node types.", + "default": "compute#nodeType", + "type": "string" }, - "peerGcpGateway": { + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", "type": "string", - "description": "URL reference to the peer side VPN gateways to which the VPN tunnels in this VPN connection are connected. This field is mutually exclusive with peer_gcp_gateway." + "format": "uint64" }, - "peerExternalGateway": { - "type": "string", - "description": "URL reference to the peer external VPN gateways to which the VPN tunnels in this VPN connection are connected. This field is mutually exclusive with peer_gcp_gateway." + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" }, - "state": { - "description": "HighAvailabilityRequirementState for the VPN connection.", - "$ref": "VpnGatewayStatusHighAvailabilityRequirementState" - } - }, - "description": "A VPN connection contains all VPN tunnels connected from this VpnGateway to the same peer gateway. The peer gateway could either be a external VPN gateway or GCP VPN gateway." - }, - "ServiceAttachment": { - "id": "ServiceAttachment", - "description": "Represents a ServiceAttachment resource. A service attachment represents a service that a producer has exposed. It encapsulates the load balancer which fronts the service runs and a list of NAT IP ranges that the producers uses to represent the consumers connecting to the service. next tag = 20", - "type": "object", - "properties": { "name": { + "description": "[Output Only] Name of the resource.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", - "annotations": { - "required": [ - "compute.serviceAttachments.insert" - ] - }, - "type": "string" - }, - "connectedEndpoints": { - "type": "array", - "items": { - "$ref": "ServiceAttachmentConnectedEndpoint" - }, - "description": "[Output Only] An array of connections for all the consumers connected to this service attachment." - }, - "id": { - "type": "string", - "description": "[Output Only] The unique identifier for the resource type. The server generates this identifier.", - "format": "uint64" - }, - "targetService": { - "type": "string", - "description": "The URL of a service serving the endpoint identified by this service attachment." - }, - "producerForwardingRule": { - "description": "The URL of a forwarding rule with loadBalancingScheme INTERNAL* that is serving the endpoint identified by this service attachment.", "type": "string" }, - "consumerAcceptLists": { - "type": "array", - "items": { - "$ref": "ServiceAttachmentConsumerProjectLimit" - }, - "description": "Projects that are allowed to connect to this service attachment." - }, - "selfLink": { - "description": "[Output Only] Server-defined URL for the resource.", + "description": { + "description": "[Output Only] An optional textual description of the resource.", "type": "string" }, - "region": { - "type": "string", - "description": "[Output Only] URL of the region where the service attachment resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body." - }, - "fingerprint": { - "description": "Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a ServiceAttachment. An up-to-date fingerprint must be provided in order to patch/update the ServiceAttachment; otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the ServiceAttachment.", - "format": "byte", + "cpuPlatform": { + "description": "[Output Only] The CPU platform used by this node type.", "type": "string" }, - "kind": { - "type": "string", - "default": "compute#serviceAttachment", - "description": "[Output Only] Type of the resource. Always compute#serviceAttachment for service attachments." - }, - "creationTimestamp": { - "type": "string", - "description": "[Output Only] Creation timestamp in RFC3339 text format." - }, - "domainNames": { - "description": "If specified, the domain name will be used during the integration between the PSC connected endpoints and the Cloud DNS. For example, this is a valid domain name: \"p.mycompany.com.\". Current max number of domain names supported is 1.", - "type": "array", - "items": { - "type": "string" - } - }, - "pscServiceAttachmentId": { - "$ref": "Uint128", - "description": "[Output Only] An 128-bit global unique ID of the PSC service attachment." + "guestCpus": { + "description": "[Output Only] The number of virtual CPUs that are available to the node type.", + "type": "integer", + "format": "int32" }, - "connectionPreference": { - "enumDescriptions": [ - "", - "", - "" - ], - "type": "string", - "enum": [ - "ACCEPT_AUTOMATIC", - "ACCEPT_MANUAL", - "CONNECTION_PREFERENCE_UNSPECIFIED" - ], - "description": "The connection preference of service attachment. The value can be set to ACCEPT_AUTOMATIC. An ACCEPT_AUTOMATIC service attachment is one that always accepts the connection from consumer forwarding rules." + "memoryMb": { + "description": "[Output Only] The amount of physical memory available to the node type, defined in MB.", + "type": "integer", + "format": "int32" }, - "consumerRejectLists": { - "items": { - "type": "string" - }, - "description": "Projects that are not allowed to connect to this service attachment. The project can be specified using its id or number.", - "type": "array" + "localSsdGb": { + "description": "[Output Only] Local SSD available to the node type, defined in GB.", + "type": "integer", + "format": "int32" }, - "description": { - "type": "string", - "description": "An optional description of this resource. Provide this property when you create the resource." + "deprecated": { + "description": "[Output Only] The deprecation status associated with this node type.", + "$ref": "DeprecationStatus" }, - "enableProxyProtocol": { - "description": "If true, enable the proxy protocol which is for supplying client TCP/IP address data in TCP connections that traverse proxies on their way to destination servers.", - "type": "boolean" + "zone": { + "description": "[Output Only] The name of the zone where the node type resides, such as us-central1-a.", + "type": "string" }, - "natSubnets": { - "type": "array", - "description": "An array of URLs where each entry is the URL of a subnet provided by the service producer to use for NAT in this service attachment.", - "items": { - "type": "string" - } + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", + "type": "string" } } }, - "MachineImageList": { - "description": "A list of machine images.", - "id": "MachineImageList", + "NodeTypeAggregatedList": { + "id": "NodeTypeAggregatedList", "type": "object", "properties": { + "kind": { + "description": "[Output Only] Type of resource.Always compute#nodeTypeAggregatedList for aggregated lists of node types.", + "default": "compute#nodeTypeAggregatedList", + "type": "string" + }, "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." + "items": { + "description": "A list of NodeTypesScopedList resources.", + "type": "object", + "additionalProperties": { + "description": "[Output Only] Name of the scope containing this set of node types.", + "$ref": "NodeTypesScopedList" + } }, "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" }, - "items": { - "description": "A list of MachineImage resources.", - "items": { - "$ref": "MachineImage" - }, - "type": "array" + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" }, "warning": { "description": "[Output Only] Informational warning message.", "type": "object", "properties": { - "data": { - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "items": { - "properties": { - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - }, - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - } - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -29014,6 +28542,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -29031,8 +28560,58 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + }, + "unreachables": { + "description": "[Output Only] Unreachable resources.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "NodeTypesScopedList": { + "id": "NodeTypesScopedList", + "type": "object", + "properties": { + "nodeTypes": { + "description": "[Output Only] A list of node types contained in this scope.", + "type": "array", + "items": { + "$ref": "NodeType" + } + }, + "warning": { + "description": "[Output Only] An informational warning that appears when the node types list is empty.", + "type": "object", + "properties": { + "code": { "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -29044,6 +28623,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -29061,93 +28641,128 @@ "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", "When undeclared properties in the schema are present", "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } } } - }, - "kind": { - "default": "compute#machineImageList", - "type": "string", - "description": "[Output Only] The resource type, which is always compute#machineImagesListResponse for machine image lists." } } }, - "LicenseResourceCommitment": { - "properties": { - "amount": { - "description": "The number of licenses purchased.", - "type": "string", - "format": "int64" - }, - "coresPerLicense": { - "type": "string", - "description": "Specifies the core range of the instance for which this license applies." - }, - "license": { - "type": "string", - "description": "Any applicable license URI." - } - }, - "type": "object", - "description": "Commitment for a particular license resource.", - "id": "LicenseResourceCommitment" - }, - "InstanceGroupManagerStatusStateful": { + "NotificationEndpointList": { + "id": "NotificationEndpointList", "type": "object", "properties": { - "perInstanceConfigs": { - "$ref": "InstanceGroupManagerStatusStatefulPerInstanceConfigs", - "description": "[Output Only] Status of per-instance configurations on the instance." + "kind": { + "description": "[Output Only] Type of the resource. Always compute#notificationEndpoint for notification endpoints.", + "default": "compute#notificationEndpointList", + "type": "string" }, - "hasStatefulConfig": { - "type": "boolean", - "description": "[Output Only] A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions." - } - }, - "id": "InstanceGroupManagerStatusStateful" - }, - "RouterList": { - "description": "Contains a list of Router resources.", - "type": "object", - "id": "RouterList", - "properties": { - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", "type": "string" }, + "items": { + "description": "A list of NotificationEndpoint resources.", + "type": "array", + "items": { + "$ref": "NotificationEndpoint" + } + }, "nextPageToken": { "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", "type": "string" }, - "kind": { - "type": "string", - "description": "[Output Only] Type of resource. Always compute#router for routers.", - "default": "compute#routerList" + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" }, "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { - "data": { - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "type": "array", - "items": { - "properties": { - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - }, - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - } - }, - "type": "object" - } - }, - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - }, "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -29159,6 +28774,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -29177,6 +28793,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -29188,6 +28834,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -29205,176 +28852,397 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], - "type": "string", - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response." + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } } - }, - "description": "[Output Only] Informational warning message.", - "type": "object" - }, - "items": { - "description": "A list of Router resources.", - "items": { - "$ref": "Router" - }, - "type": "array" - }, - "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." + } } } }, - "NetworkPerformanceConfig": { - "id": "NetworkPerformanceConfig", - "properties": { - "totalEgressBandwidthTier": { - "enum": [ - "DEFAULT", - "TIER_1" - ], - "type": "string", - "enumDescriptions": [ - "", - "" - ] - } - }, - "type": "object" - }, - "NodeTemplate": { + "NotificationEndpoint": { + "id": "NotificationEndpoint", + "description": "Represents a notification endpoint. A notification endpoint resource defines an endpoint to receive notifications when there are status changes detected by the associated health check service. For more information, see Health checks overview.", "type": "object", - "id": "NodeTemplate", "properties": { - "nodeTypeFlexibility": { - "description": "The flexible properties of the desired node type. Node groups that use this node template will create nodes of a type that matches these properties. This field is mutually exclusive with the node_type property; you can only define one or the other, but not both.", - "$ref": "NodeTemplateNodeTypeFlexibility" - }, - "accelerators": { - "items": { - "$ref": "AcceleratorConfig" - }, - "type": "array" + "kind": { + "description": "[Output Only] Type of the resource. Always compute#notificationEndpoint for notification endpoints.", + "default": "compute#notificationEndpoint", + "type": "string" }, - "serverBinding": { - "description": "Sets the binding properties for the physical server. Valid values include: - *[Default]* RESTART_NODE_ON_ANY_SERVER: Restarts VMs on any available physical server - RESTART_NODE_ON_MINIMAL_SERVER: Restarts VMs on the same physical server whenever possible See Sole-tenant node options for more information.", - "$ref": "ServerBinding" + "id": { + "description": "[Output Only] A unique identifier for this resource type. The server generates this identifier.", + "type": "string", + "format": "uint64" }, - "statusMessage": { - "description": "[Output Only] An optional, human-readable explanation of the status.", + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", "type": "string" }, - "id": { - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", - "format": "uint64", + "name": { + "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "type": "string" }, "description": { "description": "An optional description of this resource. Provide this property when you create the resource.", "type": "string" }, - "creationTimestamp": { - "type": "string", - "description": "[Output Only] Creation timestamp in RFC3339 text format." - }, - "nodeType": { - "description": "The node type to use for nodes group that are created from this template.", + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", "type": "string" }, "region": { - "type": "string", - "description": "[Output Only] The name of the region where the node template resides, such as us-central1." + "description": "[Output Only] URL of the region where the notification endpoint resides. This field applies only to the regional resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.", + "type": "string" }, - "kind": { - "description": "[Output Only] The type of the resource. Always compute#nodeTemplate for node templates.", - "type": "string", - "default": "compute#nodeTemplate" + "grpcSettings": { + "description": "Settings of the gRPC notification endpoint including the endpoint URL and the retry duration.", + "$ref": "NotificationEndpointGrpcSettings" + } + } + }, + "NotificationEndpointGrpcSettings": { + "id": "NotificationEndpointGrpcSettings", + "description": "Represents a gRPC setting that describes one gRPC notification endpoint and the retry duration attempting to send notification to this endpoint.", + "type": "object", + "properties": { + "endpoint": { + "description": "Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.", + "type": "string" }, - "disks": { - "items": { - "$ref": "LocalDisk" - }, - "type": "array" + "retryDurationSec": { + "description": "How much time (in seconds) is spent attempting notification retries until a successful response is received. Default is 30s. Limit is 20m (1200s). Must be a positive number.", + "type": "integer", + "format": "uint32" }, - "nodeAffinityLabels": { - "description": "Labels to use for node affinity, which will be used in instance scheduling.", - "additionalProperties": { - "type": "string" - }, - "type": "object" + "payloadName": { + "description": "Optional. If specified, this field is used to populate the \"name\" field in gRPC requests.", + "type": "string" }, - "selfLink": { - "description": "[Output Only] Server-defined URL for the resource.", + "authority": { + "description": "Optional. If specified, this field is used to set the authority header by the sender of notifications. See https://tools.ietf.org/html/rfc7540#section-8.1.2.3", "type": "string" }, - "status": { + "resendInterval": { + "description": "Optional. This field is used to configure how often to send a full update of all non-healthy backends. If unspecified, full updates are not sent. If specified, must be in the range between 600 seconds to 3600 seconds. Nanos are disallowed. Can only be set for regional notification endpoints.", + "$ref": "Duration" + } + } + }, + "PacketMirroring": { + "id": "PacketMirroring", + "description": "Represents a Packet Mirroring resource. Packet Mirroring clones the traffic of specified instances in your Virtual Private Cloud (VPC) network and forwards it to a collector destination, such as an instance group of an internal TCP/UDP load balancer, for analysis or examination. For more information about setting up Packet Mirroring, see Using Packet Mirroring.", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of the resource. Always compute#packetMirroring for packet mirrorings.", + "default": "compute#packetMirroring", + "type": "string" + }, + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", "type": "string", - "enumDescriptions": [ - "Resources are being allocated.", - "The node template is currently being deleted.", - "Invalid status.", - "The node template is ready." - ], - "enum": [ - "CREATING", - "DELETING", - "INVALID", - "READY" - ], - "description": "[Output Only] The status of the node template. One of the following values: CREATING, READY, and DELETING." + "format": "uint64" }, - "cpuOvercommitType": { + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", + "type": "string" + }, + "name": { + "description": "Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "annotations": { + "required": [ + "compute.packetMirrorings.insert" + ] + }, + "type": "string" + }, + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource.", + "type": "string" + }, + "region": { + "description": "[Output Only] URI of the region where the packetMirroring resides.", + "type": "string" + }, + "network": { + "description": "Specifies the mirrored VPC network. Only packets in this network will be mirrored. All mirrored VMs should have a NIC in the given network. All mirrored subnetworks should belong to the given network.", + "annotations": { + "required": [ + "compute.packetMirrorings.insert" + ] + }, + "$ref": "PacketMirroringNetworkInfo" + }, + "priority": { + "description": "The priority of applying this configuration. Priority is used to break ties in cases where there is more than one matching rule. In the case of two rules that apply for a given Instance, the one with the lowest-numbered priority value wins. Default value is 1000. Valid range is 0 through 65535.", + "type": "integer", + "format": "uint32" + }, + "collectorIlb": { + "description": "The Forwarding Rule resource of type loadBalancingScheme=INTERNAL that will be used as collector for mirrored traffic. The specified forwarding rule must have isMirroringCollector set to true.", + "$ref": "PacketMirroringForwardingRuleInfo" + }, + "mirroredResources": { + "description": "PacketMirroring mirroredResourceInfos. MirroredResourceInfo specifies a set of mirrored VM instances, subnetworks and/or tags for which traffic from/to all VM instances will be mirrored.", + "$ref": "PacketMirroringMirroredResourceInfo" + }, + "filter": { + "description": "Filter for mirrored traffic. If unspecified, all traffic is mirrored.", + "$ref": "PacketMirroringFilter" + }, + "enable": { + "description": "Indicates whether or not this packet mirroring takes effect. If set to FALSE, this packet mirroring policy will not be enforced on the network. The default is TRUE.", "type": "string", - "description": "CPU overcommit.", - "enum": [ - "CPU_OVERCOMMIT_TYPE_UNSPECIFIED", - "ENABLED", - "NONE" - ], "enumDescriptions": [ - "", "", "" + ], + "enum": [ + "FALSE", + "TRUE" ] + } + } + }, + "PacketMirroringNetworkInfo": { + "id": "PacketMirroringNetworkInfo", + "type": "object", + "properties": { + "url": { + "description": "URL of the network resource.", + "type": "string" }, - "name": { - "description": "The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "canonicalUrl": { + "description": "[Output Only] Unique identifier for the network; defined by the server.", "type": "string" } - }, - "description": "Represent a sole-tenant Node Template resource. You can use a template to define properties for nodes in a node group. For more information, read Creating node groups and instances." + } }, - "RegionInstanceGroupManagersListInstanceConfigsResp": { + "PacketMirroringForwardingRuleInfo": { + "id": "PacketMirroringForwardingRuleInfo", + "type": "object", + "properties": { + "url": { + "description": "Resource URL to the forwarding rule representing the ILB configured as destination of the mirrored traffic.", + "type": "string" + }, + "canonicalUrl": { + "description": "[Output Only] Unique identifier for the forwarding rule; defined by the server.", + "type": "string" + } + } + }, + "PacketMirroringMirroredResourceInfo": { + "id": "PacketMirroringMirroredResourceInfo", + "type": "object", + "properties": { + "subnetworks": { + "description": "A set of subnetworks for which traffic from/to all VM instances will be mirrored. They must live in the same region as this packetMirroring. You may specify a maximum of 5 subnetworks.", + "type": "array", + "items": { + "$ref": "PacketMirroringMirroredResourceInfoSubnetInfo" + } + }, + "instances": { + "description": "A set of virtual machine instances that are being mirrored. They must live in zones contained in the same region as this packetMirroring. Note that this config will apply only to those network interfaces of the Instances that belong to the network specified in this packetMirroring. You may specify a maximum of 50 Instances.", + "type": "array", + "items": { + "$ref": "PacketMirroringMirroredResourceInfoInstanceInfo" + } + }, + "tags": { + "description": "A set of mirrored tags. Traffic from/to all VM instances that have one or more of these tags will be mirrored.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "PacketMirroringMirroredResourceInfoSubnetInfo": { + "id": "PacketMirroringMirroredResourceInfoSubnetInfo", + "type": "object", + "properties": { + "url": { + "description": "Resource URL to the subnetwork for which traffic from/to all VM instances will be mirrored.", + "type": "string" + }, + "canonicalUrl": { + "description": "[Output Only] Unique identifier for the subnetwork; defined by the server.", + "type": "string" + } + } + }, + "PacketMirroringMirroredResourceInfoInstanceInfo": { + "id": "PacketMirroringMirroredResourceInfoInstanceInfo", + "type": "object", + "properties": { + "url": { + "description": "Resource URL to the virtual machine instance which is being mirrored.", + "type": "string" + }, + "canonicalUrl": { + "description": "[Output Only] Unique identifier for the instance; defined by the server.", + "type": "string" + } + } + }, + "PacketMirroringFilter": { + "id": "PacketMirroringFilter", + "type": "object", + "properties": { + "cidrRanges": { + "description": "One or more IPv4 or IPv6 CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. If no ranges are specified, all IPv4 traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored. To mirror all IPv4 and IPv6 traffic, use \"0.0.0.0/0,::/0\". Note: Support for IPv6 traffic is in preview.", + "type": "array", + "items": { + "type": "string" + } + }, + "IPProtocols": { + "description": "Protocols that apply as filter on mirrored traffic. If no protocols are specified, all traffic that matches the specified CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is mirrored.", + "type": "array", + "items": { + "type": "string" + } + }, + "direction": { + "description": "Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH.", + "type": "string", + "enumDescriptions": [ + "Default, both directions are mirrored.", + "Only egress traffic is mirrored.", + "Only ingress traffic is mirrored." + ], + "enum": [ + "BOTH", + "EGRESS", + "INGRESS" + ] + } + } + }, + "PacketMirroringList": { + "id": "PacketMirroringList", + "description": "Contains a list of PacketMirroring resources.", "type": "object", - "id": "RegionInstanceGroupManagersListInstanceConfigsResp", "properties": { + "kind": { + "description": "[Output Only] Type of resource. Always compute#packetMirroring for packetMirrorings.", + "default": "compute#packetMirroringList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of PacketMirroring resources.", + "type": "array", + "items": { + "$ref": "PacketMirroring" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, "warning": { "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { - "data": { - "type": "array", - "items": { - "properties": { - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - }, - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - } - }, - "type": "object" - }, - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } " - }, - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - }, "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -29386,6 +29254,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -29403,8 +29272,70 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + } + } + }, + "PacketMirroringAggregatedList": { + "id": "PacketMirroringAggregatedList", + "description": "Contains a list of packetMirrorings.", + "type": "object", + "properties": { + "kind": { + "description": "Type of resource.", + "default": "compute#packetMirroringAggregatedList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of PacketMirroring resources.", + "type": "object", + "additionalProperties": { + "description": "Name of the scope containing this set of packetMirrorings.", + "$ref": "PacketMirroringsScopedList" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, + "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", + "properties": { + "code": { "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -29416,6 +29347,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -29433,47 +29365,118 @@ "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", "When undeclared properties in the schema are present", "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } } - }, - "type": "object" + } }, - "items": { + "unreachables": { + "description": "[Output Only] Unreachable resources.", + "type": "array", "items": { - "$ref": "PerInstanceConfig" - }, - "description": "[Output Only] The list of PerInstanceConfig.", - "type": "array" - }, - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", - "type": "string" + "type": "string" + } } } }, - "LicensesListResponse": { + "PacketMirroringsScopedList": { + "id": "PacketMirroringsScopedList", "type": "object", "properties": { - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", - "type": "string" - }, - "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", - "type": "string" - }, - "items": { + "packetMirrorings": { + "description": "A list of packetMirrorings contained in this scope.", "type": "array", "items": { - "$ref": "License" - }, - "description": "A list of License resources." + "$ref": "PacketMirroring" + } }, "warning": { - "description": "[Output Only] Informational warning message.", + "description": "Informational warning which replaces the list of packetMirrorings when the list is empty.", "type": "object", "properties": { "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -29485,6 +29488,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -29503,8 +29507,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "type": "string", - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -29516,6 +29548,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -29535,1024 +29568,567 @@ "UNREACHABLE" ] }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, "data": { "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", "type": "array", "items": { + "type": "object", "properties": { - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - }, "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" } - }, - "type": "object" + } } - }, - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." } } - }, - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", - "type": "string" - } - }, - "id": "LicensesListResponse" - }, - "UrlMapValidationResult": { - "description": "Message representing the validation result for a UrlMap.", - "id": "UrlMapValidationResult", - "type": "object", - "properties": { - "loadErrors": { - "items": { - "type": "string" - }, - "type": "array" - }, - "loadSucceeded": { - "description": "Whether the given UrlMap can be successfully loaded. If false, 'loadErrors' indicates the reasons.", - "type": "boolean" - }, - "testPassed": { - "description": "If successfully loaded, this field indicates whether the test passed. If false, 'testFailures's indicate the reason of failure.", - "type": "boolean" - }, - "testFailures": { - "items": { - "$ref": "TestFailure" - }, - "type": "array" } } }, - "LicenseCode": { + "Project": { + "id": "Project", + "description": "Represents a Project resource. A project is used to organize resources in a Google Cloud Platform environment. For more information, read about the Resource Hierarchy.", "type": "object", - "id": "LicenseCode", - "description": "Represents a License Code resource. A License Code is a unique identifier used to represent a license resource. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. ", "properties": { - "licenseAlias": { - "type": "array", - "items": { - "$ref": "LicenseCodeLicenseAlias" - }, - "description": "[Output Only] URL and description aliases of Licenses with the same License Code." - }, - "name": { - "description": "[Output Only] Name of the resource. The name is 1-20 characters long and must be a valid 64 bit integer.", - "type": "string", - "annotations": { - "required": [ - "compute.licenses.insert" - ] - }, - "pattern": "[0-9]{0,20}?" - }, - "description": { - "description": "[Output Only] Description of this License Code.", + "kind": { + "description": "[Output Only] Type of the resource. Always compute#project for projects.", + "default": "compute#project", "type": "string" }, - "state": { - "type": "string", - "enumDescriptions": [ - "Machines are not allowed to attach boot disks with this License Code. Requests to create new resources with this license will be rejected.", - "Use is allowed for anyone with USE_READ_ONLY access to this License Code.", - "Use of this license is limited to a project whitelist.", - "", - "Reserved state." - ], - "description": "[Output Only] Current state of this License Code.", - "enum": [ - "DISABLED", - "ENABLED", - "RESTRICTED", - "STATE_UNSPECIFIED", - "TERMINATED" - ] - }, "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server. This is *not* the project ID, and is just a unique ID used by Compute Engine to identify resources.", "type": "string", - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", "format": "uint64" }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for the resource." - }, - "transferable": { - "description": "[Output Only] If true, the license will remain attached when creating images or snapshots from disks. Otherwise, the license is not transferred.", - "type": "boolean" + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" }, - "kind": { - "description": "[Output Only] Type of resource. Always compute#licenseCode for licenses.", - "default": "compute#licenseCode", + "name": { + "description": "The project ID. For example: my-example-project. Use the project ID to make requests to Compute Engine.", "type": "string" }, - "creationTimestamp": { - "type": "string", - "description": "[Output Only] Creation timestamp in RFC3339 text format." - } - } - }, - "CircuitBreakers": { - "id": "CircuitBreakers", - "description": "Settings controlling the volume of requests, connections and retries to this backend service.", - "type": "object", - "properties": { - "maxConnections": { - "type": "integer", - "format": "int32", - "description": "The maximum number of connections to the backend service. If not specified, there is no limit. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true." - }, - "maxRequests": { - "format": "int32", - "description": "The maximum number of parallel requests that allowed to the backend service. If not specified, there is no limit.", - "type": "integer" - }, - "maxRetries": { - "type": "integer", - "format": "int32", - "description": "The maximum number of parallel retries allowed to the backend cluster. If not specified, the default is 1. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true." - }, - "maxRequestsPerConnection": { - "format": "int32", - "type": "integer", - "description": "Maximum requests for a single connection to the backend service. This parameter is respected by both the HTTP/1.1 and HTTP/2 implementations. If not specified, there is no limit. Setting this parameter to 1 will effectively disable keep alive. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true." - }, - "maxPendingRequests": { - "type": "integer", - "description": "The maximum number of pending requests allowed to the backend service. If not specified, there is no limit. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.", - "format": "int32" - } - } - }, - "ExchangedPeeringRoute": { - "properties": { - "imported": { - "type": "boolean", - "description": "True if the peering route has been imported from a peer. The actual import happens if the field networkPeering.importCustomRoutes is true for this network, and networkPeering.exportCustomRoutes is true for the peer network, and the import does not result in a route conflict." - }, - "destRange": { - "description": "The destination range of the route.", - "type": "string" - }, - "priority": { - "format": "uint32", - "type": "integer", - "description": "The priority of the peering route." - }, - "nextHopRegion": { - "type": "string", - "description": "The region of peering route next hop, only applies to dynamic routes." - }, - "type": { - "enumDescriptions": [ - "For routes exported from local network.", - "The peering route.", - "The peering route corresponding to subnetwork range." - ], - "description": "The type of the peering route.", - "type": "string", - "enum": [ - "DYNAMIC_PEERING_ROUTE", - "STATIC_PEERING_ROUTE", - "SUBNET_PEERING_ROUTE" - ] - } - }, - "id": "ExchangedPeeringRoute", - "type": "object" - }, - "UrlMapTest": { - "id": "UrlMapTest", - "description": "Message for the expected URL mappings.", - "properties": { - "headers": { - "items": { - "$ref": "UrlMapTestHeader" - }, - "type": "array", - "description": "HTTP headers for this request. If headers contains a host header, then host must also match the header value." - }, - "path": { - "type": "string", - "description": "Path portion of the URL." - }, - "host": { - "type": "string", - "description": "Host portion of the URL. If headers contains a host header, then host must also match the header value." - }, - "expectedOutputUrl": { - "type": "string", - "description": "The expected output URL evaluated by the load balancer containing the scheme, host, path and query parameters. For rules that forward requests to backends, the test passes only when expectedOutputUrl matches the request forwarded by the load balancer to backends. For rules with urlRewrite, the test verifies that the forwarded request matches hostRewrite and pathPrefixRewrite in the urlRewrite action. When service is specified, expectedOutputUrl`s scheme is ignored. For rules with urlRedirect, the test passes only if expectedOutputUrl matches the URL in the load balancer's redirect response. If urlRedirect specifies https_redirect, the test passes only if the scheme in expectedOutputUrl is also set to HTTPS. If urlRedirect specifies strip_query, the test passes only if expectedOutputUrl does not contain any query parameters. expectedOutputUrl is optional when service is specified." - }, "description": { - "description": "Description of this test case.", + "description": "An optional textual description of the resource.", "type": "string" }, - "expectedRedirectResponseCode": { - "type": "integer", - "format": "int32", - "description": "For rules with urlRedirect, the test passes only if expectedRedirectResponseCode matches the HTTP status code in load balancer's redirect response. expectedRedirectResponseCode cannot be set when service is set." + "commonInstanceMetadata": { + "description": "Metadata key/value pairs available to all instances contained in this project. See Custom metadata for more information.", + "$ref": "Metadata" }, - "service": { - "description": "Expected BackendService or BackendBucket resource the given URL should be mapped to. The service field cannot be set if expectedRedirectResponseCode is set.", - "type": "string" - } - }, - "type": "object" - }, - "TargetInstanceList": { - "id": "TargetInstanceList", - "properties": { - "items": { - "description": "A list of TargetInstance resources.", + "quotas": { + "description": "[Output Only] Quotas assigned to this project.", "type": "array", "items": { - "$ref": "TargetInstance" + "$ref": "Quota" } }, - "warning": { - "properties": { - "code": { - "type": "string", - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response." - }, - "data": { - "items": { - "properties": { - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - }, - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - } - }, - "type": "object" - }, - "type": "array", - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } " - }, - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - } - }, - "description": "[Output Only] Informational warning message.", - "type": "object" - }, - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", - "type": "string" - }, - "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", - "type": "string" + "usageExportLocation": { + "description": "The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored.", + "$ref": "UsageExportLocation" }, - "kind": { - "description": "Type of resource.", - "default": "compute#targetInstanceList", - "type": "string" + "enabledFeatures": { + "description": "Restricted features enabled for use on this project.", + "type": "array", + "items": { + "type": "string" + } }, "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." - } - }, - "type": "object", - "description": "Contains a list of TargetInstance resources." - }, - "TCPHealthCheck": { - "type": "object", - "id": "TCPHealthCheck", - "properties": { - "portName": { - "description": "Not supported.", + "description": "[Output Only] Server-defined URL for the resource.", "type": "string" }, - "request": { - "type": "string", - "description": "Instructs the health check prober to send this exact ASCII string, up to 1024 bytes in length, after establishing the TCP connection." - }, - "portSpecification": { - "type": "string", - "description": "Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports.", - "enum": [ - "USE_FIXED_PORT", - "USE_NAMED_PORT", - "USE_SERVING_PORT" - ], - "enumDescriptions": [ - "The port number in the health check's port is used for health checking. Applies to network endpoint group and instance group backends.", - "Not supported.", - "For network endpoint group backends, the health check uses the port number specified on each endpoint in the network endpoint group. For instance group backends, the health check uses the port number specified for the backend service's named port defined in the instance group's named ports." - ] - }, - "response": { - "description": "Creates a content-based TCP health check. In addition to establishing a TCP connection, you can configure the health check to pass only when the backend sends this exact response ASCII string, up to 1024 bytes in length. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-ssl-tcp", + "defaultServiceAccount": { + "description": "[Output Only] Default service account used by VMs running in this project.", "type": "string" }, - "port": { - "description": "The TCP port number to which the health check prober sends packets. The default value is 80. Valid values are 1 through 65535.", - "type": "integer", - "format": "int32" - }, - "proxyHeader": { - "enum": [ - "NONE", - "PROXY_V1" - ], - "description": "Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.", + "xpnProjectStatus": { + "description": "[Output Only] The role this project has in a shared VPC configuration. Currently, only projects with the host role, which is specified by the value HOST, are differentiated.", "type": "string", "enumDescriptions": [ "", "" + ], + "enum": [ + "HOST", + "UNSPECIFIED_XPN_PROJECT_STATUS" ] - } - } - }, - "PacketMirroringMirroredResourceInfoSubnetInfo": { - "properties": { - "url": { - "type": "string", - "description": "Resource URL to the subnetwork for which traffic from/to all VM instances will be mirrored." - }, - "canonicalUrl": { - "description": "[Output Only] Unique identifier for the subnetwork; defined by the server.", - "type": "string" - } - }, - "type": "object", - "id": "PacketMirroringMirroredResourceInfoSubnetInfo" - }, - "NetworkEndpointGroupsScopedList": { - "type": "object", - "properties": { - "warning": { - "description": "[Output Only] An informational warning that replaces the list of network endpoint groups when the list is empty.", - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - }, - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - } - } - }, - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } " - }, - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - }, - "code": { - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], - "type": "string", - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ] - } - } - }, - "networkEndpointGroups": { - "items": { - "$ref": "NetworkEndpointGroup" - }, - "type": "array", - "description": "[Output Only] The list of network endpoint groups that are contained in this scope." - } - }, - "id": "NetworkEndpointGroupsScopedList" - }, - "MachineImage": { - "description": "Represents a machine image resource. A machine image is a Compute Engine resource that stores all the configuration, metadata, permissions, and data from one or more disks required to create a Virtual machine (VM) instance. For more information, see Machine images.", - "type": "object", - "properties": { - "sourceInstance": { - "type": "string", - "description": "The source instance used to create the machine image. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /instances/instance - projects/project/zones/zone/instances/instance " - }, - "machineImageEncryptionKey": { - "$ref": "CustomerEncryptionKey", - "description": "Encrypts the machine image using a customer-supplied encryption key. After you encrypt a machine image using a customer-supplied key, you must provide the same key if you use the machine image later. For example, you must provide the encryption key when you create an instance from the encrypted machine image in a future request. Customer-supplied encryption keys do not protect access to metadata of the machine image. If you do not provide an encryption key when creating the machine image, then the machine image will be encrypted using an automatically generated key and you do not need to provide a key to use the machine image later." - }, - "kind": { - "description": "[Output Only] The resource type, which is always compute#machineImage for machine image.", - "default": "compute#machineImage", - "type": "string" - }, - "sourceDiskEncryptionKeys": { - "type": "array", - "items": { - "$ref": "SourceDiskEncryptionKey" - }, - "description": "[Input Only] The customer-supplied encryption key of the disks attached to the source instance. Required if the source disk is protected by a customer-supplied encryption key." - }, - "name": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", - "description": "Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", - "annotations": { - "required": [ - "compute.machineImages.insert" - ] - } - }, - "savedDisks": { - "description": "An array of Machine Image specific properties for disks attached to the source instance", - "items": { - "$ref": "SavedDisk" - }, - "type": "array" - }, - "selfLink": { - "description": "[Output Only] The URL for this machine image. The server defines this URL.", - "type": "string" }, - "satisfiesPzs": { - "description": "[Output Only] Reserved for future use.", - "type": "boolean" - }, - "totalStorageBytes": { - "type": "string", - "format": "int64", - "description": "[Output Only] Total size of the storage used by the machine image." - }, - "description": { + "defaultNetworkTier": { + "description": "This signifies the default network tier used for configuring resources of the project and can only take the following values: PREMIUM, STANDARD. Initially the default network tier is PREMIUM.", "type": "string", - "description": "An optional description of this resource. Provide this property when you create the resource." - }, - "storageLocations": { - "items": { - "type": "string" - }, - "type": "array", - "description": "The regional or multi-regional Cloud Storage bucket location where the machine image is stored." - }, - "instanceProperties": { - "description": "[Output Only] Properties of source instance", - "$ref": "InstanceProperties" + "enumDescriptions": [ + "Public internet quality with fixed bandwidth.", + "High quality, Google-grade network tier, support for all networking products.", + "Public internet quality, only limited support for other networking products.", + "(Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured." + ], + "enum": [ + "FIXED_STANDARD", + "PREMIUM", + "STANDARD", + "STANDARD_OVERRIDES_FIXED_STANDARD" + ] }, - "id": { + "vmDnsSetting": { + "description": "[Output Only] Default internal DNS setting used by VMs running in this project.", "type": "string", - "description": "[Output Only] A unique identifier for this machine image. The server defines this identifier.", - "format": "uint64" - }, - "status": { "enumDescriptions": [ "", "", "", - "", "" ], - "type": "string", - "enum": [ - "CREATING", - "DELETING", - "INVALID", - "READY", - "UPLOADING" - ], - "description": "[Output Only] The status of the machine image. One of the following values: INVALID, CREATING, READY, DELETING, and UPLOADING." - }, - "guestFlush": { - "description": "[Input Only] Whether to attempt an application consistent machine image by informing the OS to prepare for the snapshot process.", - "type": "boolean" - }, - "creationTimestamp": { - "type": "string", - "description": "[Output Only] The creation timestamp for this machine image in RFC3339 text format." - }, - "sourceInstanceProperties": { - "$ref": "SourceInstanceProperties", - "description": "[Output Only] DEPRECATED: Please use instance_properties instead for source instance related properties. New properties will not be added to this field." - } - }, - "id": "MachineImage" - }, - "LogConfigCloudAuditOptions": { - "id": "LogConfigCloudAuditOptions", - "properties": { - "logName": { "enum": [ - "ADMIN_ACTIVITY", - "DATA_ACCESS", - "UNSPECIFIED_LOG_NAME" - ], - "type": "string", - "description": "This is deprecated and has no effect. Do not use.", - "enumDescriptions": [ - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use." + "GLOBAL_DEFAULT", + "UNSPECIFIED_VM_DNS_SETTING", + "ZONAL_DEFAULT", + "ZONAL_ONLY" ] - }, - "authorizationLoggingOptions": { - "$ref": "AuthorizationLoggingOptions", - "description": "This is deprecated and has no effect. Do not use." } - }, - "description": "This is deprecated and has no effect. Do not use.", - "type": "object" + } }, - "RouterNatRule": { + "Quota": { + "id": "Quota", + "description": "A quotas entry.", "type": "object", "properties": { - "description": { - "type": "string", - "description": "An optional description of this rule." - }, - "ruleNumber": { - "description": "An integer uniquely identifying a rule in the list. The rule number must be a positive value between 0 and 65000, and must be unique among rules within a NAT.", - "format": "uint32", - "type": "integer" - }, - "action": { - "$ref": "RouterNatRuleAction", - "description": "The action to be enforced for traffic that matches this rule." - }, - "match": { - "type": "string", - "description": "CEL expression that specifies the match condition that egress traffic from a VM is evaluated against. If it evaluates to true, the corresponding `action` is enforced. The following examples are valid match expressions for public NAT: \"inIpRange(destination.ip, '1.1.0.0/16') || inIpRange(destination.ip, '2.2.0.0/16')\" \"destination.ip == '1.1.0.1' || destination.ip == '8.8.8.8'\" The following example is a valid match expression for private NAT: \"nexthop.hub == 'https://networkconnectivity.googleapis.com/v1alpha1/projects/my-project/global/hub/hub-1'\"" - } - }, - "id": "RouterNatRule" - }, - "AcceleratorType": { - "properties": { - "kind": { - "type": "string", - "description": "[Output Only] The type of the resource. Always compute#acceleratorType for accelerator types.", - "default": "compute#acceleratorType" - }, - "description": { + "metric": { + "description": "[Output Only] Name of the quota metric.", "type": "string", - "description": "[Output Only] An optional textual description of the resource." - }, - "deprecated": { - "$ref": "DeprecationStatus", - "description": "[Output Only] The deprecation status associated with this accelerator type." - }, - "maximumCardsPerInstance": { - "type": "integer", - "description": "[Output Only] Maximum number of accelerator cards allowed per instance.", - "format": "int32" - }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined, fully qualified URL for this resource." - }, - "name": { - "type": "string", - "description": "[Output Only] Name of the resource.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" - }, - "zone": { - "description": "[Output Only] The name of the zone where the accelerator type resides, such as us-central1-a. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.", - "type": "string" - }, - "id": { - "format": "uint64", - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", - "type": "string" - }, - "creationTimestamp": { - "type": "string", - "description": "[Output Only] Creation timestamp in RFC3339 text format." - } - }, - "description": "Represents an Accelerator Type resource. Google Cloud Platform provides graphics processing units (accelerators) that you can add to VM instances to improve or accelerate performance when working with intensive workloads. For more information, read GPUs on Compute Engine.", - "id": "AcceleratorType", - "type": "object" - }, - "InterconnectAttachment": { - "properties": { - "type": { - "type": "string", - "description": "The type of interconnect attachment this is, which can take one of the following values: - DEDICATED: an attachment to a Dedicated Interconnect. - PARTNER: an attachment to a Partner Interconnect, created by the customer. - PARTNER_PROVIDER: an attachment to a Partner Interconnect, created by the partner. ", - "enumDescriptions": [ - "Attachment to a dedicated interconnect.", - "Attachment to a partner interconnect, created by the customer.", - "Attachment to a partner interconnect, created by the partner." - ], - "enum": [ - "DEDICATED", - "PARTNER", - "PARTNER_PROVIDER" - ] - }, - "satisfiesPzs": { - "type": "boolean", - "description": "[Output Only] Set to true if the resource satisfies the zone separation organization policy constraints and false otherwise. Defaults to false if the field is not present." - }, - "dataplaneVersion": { - "description": "[Output Only] Dataplane version for this InterconnectAttachment. This field is only present for Dataplane version 2 and higher. Absence of this field in the API output indicates that the Dataplane is version 1.", - "format": "int32", - "type": "integer" - }, - "id": { - "format": "uint64", - "type": "string", - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server." - }, - "edgeAvailabilityDomain": { - "enum": [ - "AVAILABILITY_DOMAIN_1", - "AVAILABILITY_DOMAIN_2", - "AVAILABILITY_DOMAIN_ANY" - ], "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "Guest CPUs", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "The total number of snapshots allowed for a single project.", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", "", "", "" ], - "description": "Desired availability domain for the attachment. Only available for type PARTNER, at creation time, and can take one of the following values: - AVAILABILITY_DOMAIN_ANY - AVAILABILITY_DOMAIN_1 - AVAILABILITY_DOMAIN_2 For improved reliability, customers should configure a pair of attachments, one per availability domain. The selected availability domain will be provided to the Partner via the pairing key, so that the provisioned circuit will lie in the specified domain. If not specified, the value will default to AVAILABILITY_DOMAIN_ANY.", - "type": "string" - }, - "description": { - "type": "string", - "description": "An optional description of this resource." + "enum": [ + "A2_CPUS", + "AFFINITY_GROUPS", + "AUTOSCALERS", + "BACKEND_BUCKETS", + "BACKEND_SERVICES", + "C2D_CPUS", + "C2_CPUS", + "C3_CPUS", + "COMMITMENTS", + "COMMITTED_A2_CPUS", + "COMMITTED_C2D_CPUS", + "COMMITTED_C2_CPUS", + "COMMITTED_C3_CPUS", + "COMMITTED_CPUS", + "COMMITTED_E2_CPUS", + "COMMITTED_LICENSES", + "COMMITTED_LOCAL_SSD_TOTAL_GB", + "COMMITTED_M3_CPUS", + "COMMITTED_MEMORY_OPTIMIZED_CPUS", + "COMMITTED_N2A_CPUS", + "COMMITTED_N2D_CPUS", + "COMMITTED_N2_CPUS", + "COMMITTED_NVIDIA_A100_80GB_GPUS", + "COMMITTED_NVIDIA_A100_GPUS", + "COMMITTED_NVIDIA_H100_GPUS", + "COMMITTED_NVIDIA_K80_GPUS", + "COMMITTED_NVIDIA_L4_GPUS", + "COMMITTED_NVIDIA_P100_GPUS", + "COMMITTED_NVIDIA_P4_GPUS", + "COMMITTED_NVIDIA_T4_GPUS", + "COMMITTED_NVIDIA_V100_GPUS", + "COMMITTED_T2A_CPUS", + "COMMITTED_T2D_CPUS", + "COMMITTED_Z3_CPUS", + "CPUS", + "CPUS_ALL_REGIONS", + "DISKS_TOTAL_GB", + "E2_CPUS", + "EXTERNAL_MANAGED_FORWARDING_RULES", + "EXTERNAL_NETWORK_LB_FORWARDING_RULES", + "EXTERNAL_PROTOCOL_FORWARDING_RULES", + "EXTERNAL_VPN_GATEWAYS", + "FIREWALLS", + "FORWARDING_RULES", + "GLOBAL_EXTERNAL_MANAGED_BACKEND_SERVICES", + "GLOBAL_EXTERNAL_MANAGED_FORWARDING_RULES", + "GLOBAL_EXTERNAL_PROXY_LB_BACKEND_SERVICES", + "GLOBAL_INTERNAL_ADDRESSES", + "GLOBAL_INTERNAL_MANAGED_BACKEND_SERVICES", + "GLOBAL_INTERNAL_TRAFFIC_DIRECTOR_BACKEND_SERVICES", + "GPUS_ALL_REGIONS", + "HEALTH_CHECKS", + "IMAGES", + "INSTANCES", + "INSTANCE_GROUPS", + "INSTANCE_GROUP_MANAGERS", + "INSTANCE_TEMPLATES", + "INTERCONNECTS", + "INTERCONNECT_ATTACHMENTS_PER_REGION", + "INTERCONNECT_ATTACHMENTS_TOTAL_MBPS", + "INTERCONNECT_TOTAL_GBPS", + "INTERNAL_ADDRESSES", + "INTERNAL_TRAFFIC_DIRECTOR_FORWARDING_RULES", + "IN_PLACE_SNAPSHOTS", + "IN_USE_ADDRESSES", + "IN_USE_BACKUP_SCHEDULES", + "IN_USE_SNAPSHOT_SCHEDULES", + "LOCAL_SSD_TOTAL_GB", + "M1_CPUS", + "M2_CPUS", + "M3_CPUS", + "MACHINE_IMAGES", + "N2A_CPUS", + "N2D_CPUS", + "N2_CPUS", + "NETWORKS", + "NETWORK_ATTACHMENTS", + "NETWORK_ENDPOINT_GROUPS", + "NETWORK_FIREWALL_POLICIES", + "NET_LB_SECURITY_POLICIES_PER_REGION", + "NET_LB_SECURITY_POLICY_RULES_PER_REGION", + "NET_LB_SECURITY_POLICY_RULE_ATTRIBUTES_PER_REGION", + "NODE_GROUPS", + "NODE_TEMPLATES", + "NVIDIA_A100_80GB_GPUS", + "NVIDIA_A100_GPUS", + "NVIDIA_K80_GPUS", + "NVIDIA_L4_GPUS", + "NVIDIA_P100_GPUS", + "NVIDIA_P100_VWS_GPUS", + "NVIDIA_P4_GPUS", + "NVIDIA_P4_VWS_GPUS", + "NVIDIA_T4_GPUS", + "NVIDIA_T4_VWS_GPUS", + "NVIDIA_V100_GPUS", + "PACKET_MIRRORINGS", + "PD_EXTREME_TOTAL_PROVISIONED_IOPS", + "PREEMPTIBLE_CPUS", + "PREEMPTIBLE_LOCAL_SSD_GB", + "PREEMPTIBLE_NVIDIA_A100_80GB_GPUS", + "PREEMPTIBLE_NVIDIA_A100_GPUS", + "PREEMPTIBLE_NVIDIA_H100_GPUS", + "PREEMPTIBLE_NVIDIA_K80_GPUS", + "PREEMPTIBLE_NVIDIA_L4_GPUS", + "PREEMPTIBLE_NVIDIA_P100_GPUS", + "PREEMPTIBLE_NVIDIA_P100_VWS_GPUS", + "PREEMPTIBLE_NVIDIA_P4_GPUS", + "PREEMPTIBLE_NVIDIA_P4_VWS_GPUS", + "PREEMPTIBLE_NVIDIA_T4_GPUS", + "PREEMPTIBLE_NVIDIA_T4_VWS_GPUS", + "PREEMPTIBLE_NVIDIA_V100_GPUS", + "PREEMPTIBLE_TPU_LITE_DEVICE_V5", + "PREEMPTIBLE_TPU_LITE_PODSLICE_V5", + "PREEMPTIBLE_TPU_PODSLICE_V4", + "PSC_ILB_CONSUMER_FORWARDING_RULES_PER_PRODUCER_NETWORK", + "PSC_INTERNAL_LB_FORWARDING_RULES", + "PUBLIC_ADVERTISED_PREFIXES", + "PUBLIC_DELEGATED_PREFIXES", + "REGIONAL_AUTOSCALERS", + "REGIONAL_EXTERNAL_MANAGED_BACKEND_SERVICES", + "REGIONAL_EXTERNAL_NETWORK_LB_BACKEND_SERVICES", + "REGIONAL_INSTANCE_GROUP_MANAGERS", + "REGIONAL_INTERNAL_LB_BACKEND_SERVICES", + "REGIONAL_INTERNAL_MANAGED_BACKEND_SERVICES", + "RESERVATIONS", + "RESOURCE_POLICIES", + "ROUTERS", + "ROUTES", + "SECURITY_POLICIES", + "SECURITY_POLICIES_PER_REGION", + "SECURITY_POLICY_ADVANCED_RULES_PER_REGION", + "SECURITY_POLICY_CEVAL_RULES", + "SECURITY_POLICY_RULES", + "SECURITY_POLICY_RULES_PER_REGION", + "SERVICE_ATTACHMENTS", + "SNAPSHOTS", + "SSD_TOTAL_GB", + "SSL_CERTIFICATES", + "STATIC_ADDRESSES", + "STATIC_BYOIP_ADDRESSES", + "STATIC_EXTERNAL_IPV6_ADDRESS_RANGES", + "SUBNETWORKS", + "T2A_CPUS", + "T2D_CPUS", + "TARGET_HTTPS_PROXIES", + "TARGET_HTTP_PROXIES", + "TARGET_INSTANCES", + "TARGET_POOLS", + "TARGET_SSL_PROXIES", + "TARGET_TCP_PROXIES", + "TARGET_VPN_GATEWAYS", + "TPU_LITE_DEVICE_V5", + "TPU_LITE_PODSLICE_V5", + "TPU_PODSLICE_V4", + "URL_MAPS", + "VPN_GATEWAYS", + "VPN_TUNNELS", + "XPN_SERVICE_PROJECTS" + ] }, - "candidateSubnets": { - "description": "Up to 16 candidate prefixes that can be used to restrict the allocation of cloudRouterIpAddress and customerRouterIpAddress for this attachment. All prefixes must be within link-local address space (169.254.0.0/16) and must be /29 or shorter (/28, /27, etc). Google will attempt to select an unused /29 from the supplied candidate prefix(es). The request will fail if all possible /29s are in use on Google's edge. If not supplied, Google will randomly select an unused /29 from all of link-local space.", - "items": { - "type": "string" - }, - "type": "array" + "limit": { + "description": "[Output Only] Quota limit for this metric.", + "type": "number", + "format": "double" }, - "mtu": { - "type": "integer", - "format": "int32", - "description": "Maximum Transmission Unit (MTU), in bytes, of packets passing through this interconnect attachment. Only 1440 and 1500 are allowed. If not specified, the value will default to 1440." + "usage": { + "description": "[Output Only] Current usage of this metric.", + "type": "number", + "format": "double" }, - "creationTimestamp": { - "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "owner": { + "description": "[Output Only] Owning resource. This is the resource on which this quota is applied.", + "type": "string" + } + } + }, + "UsageExportLocation": { + "id": "UsageExportLocation", + "description": "The location in Cloud Storage and naming method of the daily usage report. Contains bucket_name and report_name prefix.", + "type": "object", + "properties": { + "bucketName": { + "description": "The name of an existing bucket in Cloud Storage where the usage report object is stored. The Google Service Account is granted write access to this bucket. This can either be the bucket name by itself, such as example-bucket, or the bucket name with gs:// or https://storage.googleapis.com/ in front of it, such as gs://example-bucket.", "type": "string" }, - "router": { - "type": "string", - "description": "URL of the Cloud Router to be used for dynamic routing. This router must be in the same region as this InterconnectAttachment. The InterconnectAttachment will automatically connect the Interconnect to the network & region within which the Cloud Router is configured." - }, - "adminEnabled": { - "type": "boolean", - "description": "Determines whether this Attachment will carry packets. Not present for PARTNER_PROVIDER." - }, - "stackType": { - "type": "string", - "enumDescriptions": [ - "The interconnect attachment can have both IPv4 and IPv6 addresses.", - "The interconnect attachment will only be assigned IPv4 addresses." - ], - "description": "The stack type for this interconnect attachment to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used. This field can be both set at interconnect attachments creation and update interconnect attachment operations.", - "enum": [ - "IPV4_IPV6", - "IPV4_ONLY" - ] - }, - "bandwidth": { - "enumDescriptions": [ - "100 Mbit/s", - "10 Gbit/s", - "1 Gbit/s", - "200 Mbit/s", - "20 Gbit/s", - "2 Gbit/s", - "300 Mbit/s", - "400 Mbit/s", - "500 Mbit/s", - "50 Gbit/s", - "50 Mbit/s", - "5 Gbit/s" - ], - "description": "Provisioned bandwidth capacity for the interconnect attachment. For attachments of type DEDICATED, the user can set the bandwidth. For attachments of type PARTNER, the Google Partner that is operating the interconnect must set the bandwidth. Output only for PARTNER type, mutable for PARTNER_PROVIDER and DEDICATED, and can take one of the following values: - BPS_50M: 50 Mbit/s - BPS_100M: 100 Mbit/s - BPS_200M: 200 Mbit/s - BPS_300M: 300 Mbit/s - BPS_400M: 400 Mbit/s - BPS_500M: 500 Mbit/s - BPS_1G: 1 Gbit/s - BPS_2G: 2 Gbit/s - BPS_5G: 5 Gbit/s - BPS_10G: 10 Gbit/s - BPS_20G: 20 Gbit/s - BPS_50G: 50 Gbit/s ", - "type": "string", - "enum": [ - "BPS_100M", - "BPS_10G", - "BPS_1G", - "BPS_200M", - "BPS_20G", - "BPS_2G", - "BPS_300M", - "BPS_400M", - "BPS_500M", - "BPS_50G", - "BPS_50M", - "BPS_5G" - ] - }, - "cloudRouterIpv6Address": { - "description": "[Output Only] IPv6 address + prefix length to be configured on Cloud Router Interface for this interconnect attachment.", + "reportNamePrefix": { + "description": "An optional prefix for the name of the usage report object stored in bucketName. If not supplied, defaults to usage_gce. The report is stored as a CSV file named report_name_prefix_gce_YYYYMMDD.csv where YYYYMMDD is the day of the usage according to Pacific Time. If you supply a prefix, it should conform to Cloud Storage object naming conventions.", + "type": "string" + } + } + }, + "InstanceMoveRequest": { + "id": "InstanceMoveRequest", + "type": "object", + "properties": { + "targetInstance": { + "description": "The URL of the target instance to move. This can be a full or partial URL. For example, the following are all valid URLs to an instance: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /instances/instance - projects/project/zones/zone/instances/instance - zones/zone/instances/instance ", "type": "string" }, - "customerRouterIpv6Address": { - "type": "string", - "description": "[Output Only] IPv6 address + prefix length to be configured on the customer router subinterface for this interconnect attachment." + "destinationZone": { + "description": "The URL of the destination zone to move the instance. This can be a full or partial URL. For example, the following are all valid URLs to a zone: - https://www.googleapis.com/compute/v1/projects/project/zones/zone - projects/project/zones/zone - zones/zone ", + "type": "string" + } + } + }, + "DiskMoveRequest": { + "id": "DiskMoveRequest", + "type": "object", + "properties": { + "targetDisk": { + "description": "The URL of the target disk to move. This can be a full or partial URL. For example, the following are all valid URLs to a disk: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk ", + "type": "string" }, + "destinationZone": { + "description": "The URL of the destination zone to move the disk. This can be a full or partial URL. For example, the following are all valid URLs to a zone: - https://www.googleapis.com/compute/v1/projects/project/zones/zone - projects/project/zones/zone - zones/zone ", + "type": "string" + } + } + }, + "ProjectsListXpnHostsRequest": { + "id": "ProjectsListXpnHostsRequest", + "type": "object", + "properties": { + "organization": { + "description": "Optional organization ID managed by Cloud Resource Manager, for which to list shared VPC host projects. If not specified, the organization will be inferred from the project.", + "type": "string" + } + } + }, + "XpnHostList": { + "id": "XpnHostList", + "type": "object", + "properties": { "kind": { - "default": "compute#interconnectAttachment", - "description": "[Output Only] Type of the resource. Always compute#interconnectAttachment for interconnect attachments.", + "description": "[Output Only] Type of resource. Always compute#xpnHostList for lists of shared VPC hosts.", + "default": "compute#xpnHostList", "type": "string" }, - "name": { - "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", "type": "string" }, - "pairingKey": { - "type": "string", - "description": "[Output only for type PARTNER. Input only for PARTNER_PROVIDER. Not present for DEDICATED]. The opaque identifier of an PARTNER attachment used to initiate provisioning with a selected partner. Of the form \"XXXXX/region/domain\"" + "items": { + "description": "[Output Only] A list of shared VPC host project URLs.", + "type": "array", + "items": { + "$ref": "Project" + } }, - "interconnect": { - "description": "URL of the underlying Interconnect object that this attachment's traffic will traverse through.", + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", "type": "string" }, - "ipsecInternalAddresses": { - "items": { - "type": "string" - }, - "type": "array", - "description": "A list of URLs of addresses that have been reserved for the VLAN attachment. Used only for the VLAN attachment that has the encryption option as IPSEC. The addresses must be regional internal IP address ranges. When creating an HA VPN gateway over the VLAN attachment, if the attachment is configured to use a regional internal IP address, then the VPN gateway's IP address is allocated from the IP address range specified here. For example, if the HA VPN gateway's interface 0 is paired to this VLAN attachment, then a regional internal IP address for the VPN gateway interface 0 will be allocated from the IP address specified for this VLAN attachment. If this field is not specified when creating the VLAN attachment, then later on when creating an HA VPN gateway on this VLAN attachment, the HA VPN gateway's IP address is allocated from the regional external IP address pool. Not currently available publicly. " - }, - "operationalStatus": { - "enumDescriptions": [ - "Indicates that attachment has been turned up and is ready to use.", - "Indicates that attachment is not ready to use yet, because turnup is not complete." - ], - "type": "string", - "enum": [ - "OS_ACTIVE", - "OS_UNPROVISIONED" - ], - "description": "[Output Only] The current status of whether or not this interconnect attachment is functional, which can take one of the following values: - OS_ACTIVE: The attachment has been turned up and is ready to use. - OS_UNPROVISIONED: The attachment is not ready to use yet, because turnup is not complete. " - }, - "privateInterconnectInfo": { - "$ref": "InterconnectAttachmentPrivateInfo", - "description": "[Output Only] Information specific to an InterconnectAttachment. This property is populated if the interconnect that this is attached to is of type DEDICATED." - }, - "state": { - "description": "[Output Only] The current state of this attachment's functionality. Enum values ACTIVE and UNPROVISIONED are shared by DEDICATED/PRIVATE, PARTNER, and PARTNER_PROVIDER interconnect attachments, while enum values PENDING_PARTNER, PARTNER_REQUEST_RECEIVED, and PENDING_CUSTOMER are used for only PARTNER and PARTNER_PROVIDER interconnect attachments. This state can take one of the following values: - ACTIVE: The attachment has been turned up and is ready to use. - UNPROVISIONED: The attachment is not ready to use yet, because turnup is not complete. - PENDING_PARTNER: A newly-created PARTNER attachment that has not yet been configured on the Partner side. - PARTNER_REQUEST_RECEIVED: A PARTNER attachment is in the process of provisioning after a PARTNER_PROVIDER attachment was created that references it. - PENDING_CUSTOMER: A PARTNER or PARTNER_PROVIDER attachment that is waiting for a customer to activate it. - DEFUNCT: The attachment was deleted externally and is no longer functional. This could be because the associated Interconnect was removed, or because the other side of a Partner attachment was deleted. ", - "enumDescriptions": [ - "Indicates that attachment has been turned up and is ready to use.", - "The attachment was deleted externally and is no longer functional. This could be because the associated Interconnect was wiped out, or because the other side of a Partner attachment was deleted.", - "A PARTNER attachment is in the process of provisioning after a PARTNER_PROVIDER attachment was created that references it.", - "PARTNER or PARTNER_PROVIDER attachment that is waiting for the customer to activate.", - "A newly created PARTNER attachment that has not yet been configured on the Partner side.", - "", - "Indicates that attachment is not ready to use yet, because turnup is not complete." - ], - "enum": [ - "ACTIVE", - "DEFUNCT", - "PARTNER_REQUEST_RECEIVED", - "PENDING_CUSTOMER", - "PENDING_PARTNER", - "STATE_UNSPECIFIED", - "UNPROVISIONED" - ], - "type": "string" - }, - "cloudRouterIpAddress": { - "description": "[Output Only] IPv4 address + prefix length to be configured on Cloud Router Interface for this interconnect attachment.", - "type": "string" - }, - "region": { - "description": "[Output Only] URL of the region where the regional interconnect attachment resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.", - "type": "string" - }, - "selfLink": { - "description": "[Output Only] Server-defined URL for the resource.", - "type": "string" - }, - "customerRouterIpv6InterfaceId": { - "type": "string", - "description": "This field is not available." - }, - "partnerAsn": { - "description": "Optional BGP ASN for the router supplied by a Layer 3 Partner if they configured BGP on behalf of the customer. Output only for PARTNER type, input only for PARTNER_PROVIDER, not available for DEDICATED.", - "type": "string", - "format": "int64" - }, - "cloudRouterIpv6InterfaceId": { - "description": "This field is not available.", - "type": "string" - }, - "encryption": { - "enum": [ - "IPSEC", - "NONE" - ], - "enumDescriptions": [ - "The interconnect attachment will carry only encrypted traffic that is encrypted by an IPsec device such as HA VPN gateway; VMs cannot directly send traffic to or receive traffic from such an interconnect attachment. To use HA VPN over Cloud Interconnect, the interconnect attachment must be created with this option.", - "This is the default value, which means the Interconnect Attachment will carry unencrypted traffic. VMs will be able to send traffic to or receive traffic from such interconnect attachment." - ], - "description": "Indicates the user-supplied encryption option of this VLAN attachment (interconnectAttachment). Can only be specified at attachment creation for PARTNER or DEDICATED attachments. Possible values are: - NONE - This is the default value, which means that the VLAN attachment carries unencrypted traffic. VMs are able to send traffic to, or receive traffic from, such a VLAN attachment. - IPSEC - The VLAN attachment carries only encrypted traffic that is encrypted by an IPsec device, such as an HA VPN gateway or third-party IPsec VPN. VMs cannot directly send traffic to, or receive traffic from, such a VLAN attachment. To use *HA VPN over Cloud Interconnect*, the VLAN attachment must be created with this option. ", - "type": "string" - }, - "googleReferenceId": { - "type": "string", - "description": "[Output Only] Google reference ID, to be used when raising support tickets with Google or otherwise to debug backend connectivity issues. [Deprecated] This field is not used." - }, - "partnerMetadata": { - "$ref": "InterconnectAttachmentPartnerMetadata", - "description": "Informational metadata about Partner attachments from Partners to display to customers. Output only for for PARTNER type, mutable for PARTNER_PROVIDER, not available for DEDICATED." - }, - "vlanTag8021q": { - "format": "int32", - "description": "The IEEE 802.1Q VLAN tag for this attachment, in the range 2-4094. Only specified at creation time.", - "type": "integer" - }, - "candidateIpv6Subnets": { - "items": { - "type": "string" - }, - "type": "array", - "description": "This field is not available." - }, - "customerRouterIpAddress": { - "type": "string", - "description": "[Output Only] IPv4 address + prefix length to be configured on the customer router subinterface for this interconnect attachment." - } - }, - "type": "object", - "description": "Represents an Interconnect Attachment (VLAN) resource. You can use Interconnect attachments (VLANS) to connect your Virtual Private Cloud networks to your on-premises networks through an Interconnect. For more information, read Creating VLAN Attachments.", - "id": "InterconnectAttachment" - }, - "RouterAggregatedList": { - "id": "RouterAggregatedList", - "type": "object", - "description": "Contains a list of routers.", - "properties": { - "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", - "type": "string" - }, - "kind": { - "description": "Type of resource.", - "default": "compute#routerAggregatedList", - "type": "string" - }, - "unreachables": { - "description": "[Output Only] Unreachable resources.", - "type": "array", - "items": { - "type": "string" - } - }, - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." - }, - "items": { - "additionalProperties": { - "$ref": "RoutersScopedList", - "description": "Name of the scope containing this set of routers." - }, - "type": "object", - "description": "A list of Router resources." - }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" }, "warning": { "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - }, "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -30564,6 +30140,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -30582,7 +30159,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "type": "string", + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -30594,6 +30200,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -30611,88 +30218,155 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response." + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" }, "data": { "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", "items": { + "type": "object", "properties": { "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" }, "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" } - }, - "type": "object" - }, - "type": "array" + } + } } - }, - "type": "object" + } } } }, - "HttpRouteRule": { - "id": "HttpRouteRule", + "ProjectsEnableXpnResourceRequest": { + "id": "ProjectsEnableXpnResourceRequest", "type": "object", "properties": { - "matchRules": { - "items": { - "$ref": "HttpRouteRuleMatch" - }, - "type": "array", - "description": "The list of criteria for matching attributes of a request to this routeRule. This list has OR semantics: the request matches this routeRule when any of the matchRules are satisfied. However predicates within a given matchRule have AND semantics. All predicates within a matchRule must match for the request to match the rule." - }, - "headerAction": { - "$ref": "HttpHeaderAction", - "description": "Specifies changes to request and response headers that need to take effect for the selected backendService. The headerAction value specified here is applied before the matching pathMatchers[].headerAction and after pathMatchers[].routeRules[].routeAction.weightedBackendService.backendServiceWeightAction[].headerAction HeaderAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true." - }, - "description": { + "xpnResource": { + "description": "Service resource (a.k.a service project) ID.", + "$ref": "XpnResourceId" + } + } + }, + "XpnResourceId": { + "id": "XpnResourceId", + "description": "Service resource (a.k.a service project) ID.", + "type": "object", + "properties": { + "type": { + "description": "The type of the service resource.", "type": "string", - "description": "The short description conveying the intent of this routeRule. The description can have a maximum length of 1024 characters." - }, - "routeAction": { - "$ref": "HttpRouteAction", - "description": "In response to a matching matchRule, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of urlRedirect, service or routeAction.weightedBackendService must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within a route rule's routeAction." + "enumDescriptions": [ + "", + "" + ], + "enum": [ + "PROJECT", + "XPN_RESOURCE_TYPE_UNSPECIFIED" + ] }, - "service": { - "type": "string", - "description": "The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set." + "id": { + "description": "The ID of the service resource. In the case of projects, this field supports project id (e.g., my-project-123) and project number (e.g. 12345678).", + "type": "string" + } + } + }, + "ProjectsDisableXpnResourceRequest": { + "id": "ProjectsDisableXpnResourceRequest", + "type": "object", + "properties": { + "xpnResource": { + "description": "Service resource (a.k.a service project) ID.", + "$ref": "XpnResourceId" + } + } + }, + "ProjectsGetXpnResources": { + "id": "ProjectsGetXpnResources", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of resource. Always compute#projectsGetXpnResources for lists of service resources (a.k.a service projects)", + "default": "compute#projectsGetXpnResources", + "type": "string" }, - "priority": { - "description": "For routeRules within a given pathMatcher, priority determines the order in which a load balancer interprets routeRules. RouteRules are evaluated in order of priority, from the lowest to highest number. The priority of a rule decreases as its number increases (1, 2, 3, N+1). The first rule that matches the request is applied. You cannot configure two or more routeRules with the same priority. Priority for each rule must be set to a number from 0 to 2147483647 inclusive. Priority numbers can have gaps, which enable you to add or remove rules in the future without affecting the rest of the rules. For example, 1, 2, 3, 4, 5, 9, 12, 16 is a valid series of priority numbers to which you could add rules numbered from 6 to 8, 10 to 11, and 13 to 15 in the future without any impact on existing rules.", - "format": "int32", - "type": "integer" + "resources": { + "description": "Service resources (a.k.a service projects) attached to this project as their shared VPC host.", + "type": "array", + "items": { + "$ref": "XpnResourceId" + } }, - "urlRedirect": { - "description": "When this rule is matched, the request is redirected to a URL specified by urlRedirect. If urlRedirect is specified, service or routeAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.", - "$ref": "HttpRedirectAction" + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" } - }, - "description": "The HttpRouteRule setting specifies how to match an HTTP request and the corresponding routing action that load balancing proxies perform." + } }, - "NetworkAttachmentsScopedList": { + "ProjectsSetDefaultNetworkTierRequest": { + "id": "ProjectsSetDefaultNetworkTierRequest", + "type": "object", "properties": { - "networkAttachments": { + "networkTier": { + "description": "Default network tier to be set.", + "type": "string", + "enumDescriptions": [ + "Public internet quality with fixed bandwidth.", + "High quality, Google-grade network tier, support for all networking products.", + "Public internet quality, only limited support for other networking products.", + "(Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured." + ], + "enum": [ + "FIXED_STANDARD", + "PREMIUM", + "STANDARD", + "STANDARD_OVERRIDES_FIXED_STANDARD" + ] + } + } + }, + "PublicAdvertisedPrefixList": { + "id": "PublicAdvertisedPrefixList", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of the resource. Always compute#publicAdvertisedPrefix for public advertised prefixes.", + "default": "compute#publicAdvertisedPrefixList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of PublicAdvertisedPrefix resources.", "type": "array", - "description": "A list of NetworkAttachments contained in this scope.", "items": { - "$ref": "NetworkAttachment" + "$ref": "PublicAdvertisedPrefix" } }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, "warning": { + "description": "[Output Only] Informational warning message.", "type": "object", - "description": "Informational warning which replaces the list of network attachments when the list is empty.", "properties": { - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - }, "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -30704,6 +30378,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -30722,7 +30397,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -30734,6 +30438,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -30751,10 +30456,15 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", "type": "string" }, "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", "items": { "type": "object", "properties": { @@ -30763,80 +30473,193 @@ "type": "string" }, "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" } } - }, - "type": "array", - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } " + } } } } - }, - "id": "NetworkAttachmentsScopedList", - "type": "object" + } }, - "TargetPoolList": { + "PublicAdvertisedPrefix": { + "id": "PublicAdvertisedPrefix", + "description": "A public advertised prefix represents an aggregated IP prefix or netblock which customers bring to cloud. The IP prefix is a single unit of route advertisement and is announced globally to the internet.", "type": "object", - "id": "TargetPoolList", - "description": "Contains a list of TargetPool resources.", "properties": { - "nextPageToken": { + "kind": { + "description": "[Output Only] Type of the resource. Always compute#publicAdvertisedPrefix for public advertised prefixes.", + "default": "compute#publicAdvertisedPrefix", + "type": "string" + }, + "id": { + "description": "[Output Only] The unique identifier for the resource type. The server generates this identifier.", "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." + "format": "uint64" + }, + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" + }, + "name": { + "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "annotations": { + "required": [ + "compute.publicAdvertisedPrefixes.insert" + ] + }, + "type": "string" + }, + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource.", + "type": "string" }, "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", + "type": "string" + }, + "ipCidrRange": { + "description": "The address range, in CIDR format, represented by this public advertised prefix.", + "type": "string" + }, + "dnsVerificationIp": { + "description": "The address to be used for reverse DNS verification.", + "type": "string" + }, + "sharedSecret": { + "description": "[Output Only] The shared secret to be used for reverse DNS verification.", + "type": "string" + }, + "status": { + "description": "The status of the public advertised prefix. Possible values include: - `INITIAL`: RPKI validation is complete. - `PTR_CONFIGURED`: User has configured the PTR. - `VALIDATED`: Reverse DNS lookup is successful. - `REVERSE_DNS_LOOKUP_FAILED`: Reverse DNS lookup failed. - `PREFIX_CONFIGURATION_IN_PROGRESS`: The prefix is being configured. - `PREFIX_CONFIGURATION_COMPLETE`: The prefix is fully configured. - `PREFIX_REMOVAL_IN_PROGRESS`: The prefix is being removed. ", "type": "string", - "description": "[Output Only] Server-defined URL for this resource." + "enumDescriptions": [ + "The prefix is announced to Internet.", + "RPKI validation is complete.", + "The prefix is fully configured.", + "The prefix is being configured.", + "The prefix is being removed.", + "User has configured the PTR.", + "The prefix is currently withdrawn but ready to be announced.", + "Reverse DNS lookup failed.", + "Reverse DNS lookup is successful." + ], + "enum": [ + "ANNOUNCED_TO_INTERNET", + "INITIAL", + "PREFIX_CONFIGURATION_COMPLETE", + "PREFIX_CONFIGURATION_IN_PROGRESS", + "PREFIX_REMOVAL_IN_PROGRESS", + "PTR_CONFIGURED", + "READY_TO_ANNOUNCE", + "REVERSE_DNS_LOOKUP_FAILED", + "VALIDATED" + ] }, - "items": { + "pdpScope": { + "description": "Specifies how child public delegated prefix will be scoped. It could be one of following values: - `REGIONAL`: The public delegated prefix is regional only. The provisioning will take a few minutes. - `GLOBAL`: The public delegated prefix is global only. The provisioning will take ~4 weeks. - `GLOBAL_AND_REGIONAL` [output only]: The public delegated prefixes is BYOIP V1 legacy prefix. This is output only value and no longer supported in BYOIP V2. ", + "type": "string", + "enumDescriptions": [ + "The public delegated prefix is global only. The provisioning will take ~4 weeks.", + "The public delegated prefixes is BYOIP V1 legacy prefix. This is output only value and no longer supported in BYOIP V2.", + "The public delegated prefix is regional only. The provisioning will take a few minutes." + ], + "enum": [ + "GLOBAL", + "GLOBAL_AND_REGIONAL", + "REGIONAL" + ] + }, + "publicDelegatedPrefixs": { + "description": "[Output Only] The list of public delegated prefixes that exist for this public advertised prefix.", "type": "array", "items": { - "$ref": "TargetPool" - }, - "description": "A list of TargetPool resources." + "$ref": "PublicAdvertisedPrefixPublicDelegatedPrefix" + } }, - "kind": { + "fingerprint": { + "description": "Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a new PublicAdvertisedPrefix. An up-to-date fingerprint must be provided in order to update the PublicAdvertisedPrefix, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a PublicAdvertisedPrefix.", "type": "string", - "description": "[Output Only] Type of resource. Always compute#targetPoolList for lists of target pools.", - "default": "compute#targetPoolList" + "format": "byte" + }, + "byoipApiVersion": { + "description": "[Output Only] The version of BYOIP API.", + "type": "string", + "enumDescriptions": [ + "This public advertised prefix can be used to create both regional and global public delegated prefixes. It usually takes 4 weeks to create or delete a public delegated prefix. The BGP status cannot be changed.", + "This public advertised prefix can only be used to create regional public delegated prefixes. Public delegated prefix creation and deletion takes minutes and the BGP status can be modified." + ], + "enum": [ + "V1", + "V2" + ] + } + } + }, + "PublicAdvertisedPrefixPublicDelegatedPrefix": { + "id": "PublicAdvertisedPrefixPublicDelegatedPrefix", + "description": "Represents a CIDR range which can be used to assign addresses.", + "type": "object", + "properties": { + "name": { + "description": "The name of the public delegated prefix", + "type": "string" + }, + "region": { + "description": "The region of the public delegated prefix if it is regional. If absent, the prefix is global.", + "type": "string" + }, + "project": { + "description": "The project number of the public delegated prefix", + "type": "string" + }, + "status": { + "description": "The status of the public delegated prefix. Possible values are: INITIALIZING: The public delegated prefix is being initialized and addresses cannot be created yet. ANNOUNCED: The public delegated prefix is active.", + "type": "string" + }, + "ipRange": { + "description": "The IP address range of the public delegated prefix", + "type": "string" + } + } + }, + "PublicDelegatedPrefixList": { + "id": "PublicDelegatedPrefixList", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of the resource. Always compute#publicDelegatedPrefixList for public delegated prefixes.", + "default": "compute#publicDelegatedPrefixList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of PublicDelegatedPrefix resources.", + "type": "array", + "items": { + "$ref": "PublicDelegatedPrefix" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" }, "warning": { "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { "code": { - "type": "string", "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -30848,6 +30671,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -30865,83 +30689,271 @@ "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", "When undeclared properties in the schema are present", "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" ] }, "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" }, "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", "type": "array", "items": { + "type": "object", "properties": { "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" }, "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" } - }, - "type": "object" - }, - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } " + } + } } - }, - "type": "object" - }, - "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." + } } } }, - "NetworkEndpointGroupsAttachEndpointsRequest": { + "PublicDelegatedPrefix": { + "id": "PublicDelegatedPrefix", + "description": "A PublicDelegatedPrefix resource represents an IP block within a PublicAdvertisedPrefix that is configured within a single cloud scope (global or region). IPs in the block can be allocated to resources within that scope. Public delegated prefixes may be further broken up into smaller IP blocks in the same scope as the parent block.", "type": "object", "properties": { - "networkEndpoints": { - "description": "The list of network endpoints to be attached.", - "items": { - "$ref": "NetworkEndpoint" + "kind": { + "description": "[Output Only] Type of the resource. Always compute#publicDelegatedPrefix for public delegated prefixes.", + "default": "compute#publicDelegatedPrefix", + "type": "string" + }, + "id": { + "description": "[Output Only] The unique identifier for the resource type. The server generates this identifier.", + "type": "string", + "format": "uint64" + }, + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" + }, + "name": { + "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "annotations": { + "required": [ + "compute.publicDelegatedPrefixes.insert" + ] }, - "type": "array" + "type": "string" + }, + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", + "type": "string" + }, + "region": { + "description": "[Output Only] URL of the region where the public delegated prefix resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.", + "type": "string" + }, + "ipCidrRange": { + "description": "The IP address range, in CIDR format, represented by this public delegated prefix.", + "type": "string" + }, + "status": { + "description": "[Output Only] The status of the public delegated prefix, which can be one of following values: - `INITIALIZING` The public delegated prefix is being initialized and addresses cannot be created yet. - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration prefix and is active. - `ANNOUNCED` The public delegated prefix is active. - `DELETING` The public delegated prefix is being deprovsioned. ", + "type": "string", + "enumDescriptions": [ + "The public delegated prefix is active.", + "The prefix is announced within Google network.", + "The prefix is announced to Internet and within Google.", + "The public delegated prefix is being deprovsioned.", + "The public delegated prefix is being initialized and addresses cannot be created yet.", + "The public delegated prefix is currently withdrawn but ready to be announced." + ], + "enum": [ + "ANNOUNCED", + "ANNOUNCED_TO_GOOGLE", + "ANNOUNCED_TO_INTERNET", + "DELETING", + "INITIALIZING", + "READY_TO_ANNOUNCE" + ] + }, + "parentPrefix": { + "description": "The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix.", + "type": "string" + }, + "publicDelegatedSubPrefixs": { + "description": "The list of sub public delegated prefixes that exist for this public delegated prefix.", + "type": "array", + "items": { + "$ref": "PublicDelegatedPrefixPublicDelegatedSubPrefix" + } + }, + "isLiveMigration": { + "description": "If true, the prefix will be live migrated.", + "type": "boolean" + }, + "fingerprint": { + "description": "Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a new PublicDelegatedPrefix. An up-to-date fingerprint must be provided in order to update the PublicDelegatedPrefix, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a PublicDelegatedPrefix.", + "type": "string", + "format": "byte" + }, + "byoipApiVersion": { + "description": "[Output Only] The version of BYOIP API.", + "type": "string", + "enumDescriptions": [ + "This public delegated prefix usually takes 4 weeks to delete, and the BGP status cannot be changed. Announce and Withdraw APIs can not be used on this prefix.", + "This public delegated prefix takes minutes to delete. Announce and Withdraw APIs can be used on this prefix to change the BGP status." + ], + "enum": [ + "V1", + "V2" + ] } - }, - "id": "NetworkEndpointGroupsAttachEndpointsRequest" + } }, - "InstanceGroupManagersDeleteInstancesRequest": { - "id": "InstanceGroupManagersDeleteInstancesRequest", + "PublicDelegatedPrefixPublicDelegatedSubPrefix": { + "id": "PublicDelegatedPrefixPublicDelegatedSubPrefix", + "description": "Represents a sub PublicDelegatedPrefix.", "type": "object", "properties": { - "skipInstancesOnValidationError": { - "type": "boolean", - "description": "Specifies whether the request should proceed despite the inclusion of instances that are not members of the group or that are already in the process of being deleted or abandoned. If this field is set to `false` and such an instance is specified in the request, the operation fails. The operation always fails if the request contains a malformed instance URL or a reference to an instance that exists in a zone or region other than the group's zone or region." + "name": { + "description": "The name of the sub public delegated prefix.", + "type": "string" }, - "instances": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]." + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource.", + "type": "string" + }, + "region": { + "description": "[Output Only] The region of the sub public delegated prefix if it is regional. If absent, the sub prefix is global.", + "type": "string" + }, + "status": { + "description": "[Output Only] The status of the sub public delegated prefix.", + "type": "string", + "enumDescriptions": [ + "", + "" + ], + "enum": [ + "ACTIVE", + "INACTIVE" + ] + }, + "ipCidrRange": { + "description": "The IP address range, in CIDR format, represented by this sub public delegated prefix.", + "type": "string" + }, + "delegateeProject": { + "description": "Name of the project scoping this PublicDelegatedSubPrefix.", + "type": "string" + }, + "isAddress": { + "description": "Whether the sub prefix is delegated to create Address resources in the delegatee project.", + "type": "boolean" } } }, - "VmEndpointNatMappingsList": { + "PublicDelegatedPrefixAggregatedList": { + "id": "PublicDelegatedPrefixAggregatedList", + "type": "object", "properties": { - "result": { - "description": "[Output Only] A list of Nat mapping information of VM endpoints.", - "type": "array", - "items": { - "$ref": "VmEndpointNatMappings" + "kind": { + "description": "[Output Only] Type of the resource. Always compute#publicDelegatedPrefixAggregatedList for aggregated lists of public delegated prefixes.", + "default": "compute#publicDelegatedPrefixAggregatedList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of PublicDelegatedPrefixesScopedList resources.", + "type": "object", + "additionalProperties": { + "description": "[Output Only] Name of the scope containing this set of PublicDelegatedPrefixes.", + "$ref": "PublicDelegatedPrefixesScopedList" } }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, "warning": { - "type": "object", "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { "code": { "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -30953,6 +30965,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -30971,6 +30984,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -30982,6 +31025,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -30999,17 +31043,17 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], - "type": "string" + ] }, "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" }, "data": { - "type": "array", "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", "items": { + "type": "object", "properties": { "key": { "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", @@ -31019,62 +31063,37 @@ "description": "[Output Only] A warning data value corresponding to the key.", "type": "string" } - }, - "type": "object" + } } } } }, - "kind": { - "type": "string", - "description": "[Output Only] Type of resource. Always compute#vmEndpointNatMappingsList for lists of Nat mappings of VM endpoints.", - "default": "compute#vmEndpointNatMappingsList" - }, - "id": { - "type": "string", - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server." - }, - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." - }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." + "unreachables": { + "description": "[Output Only] Unreachable resources.", + "type": "array", + "items": { + "type": "string" + } } - }, - "id": "VmEndpointNatMappingsList", - "description": "Contains a list of VmEndpointNatMappings.", - "type": "object" + } }, - "ExchangedPeeringRoutesList": { + "PublicDelegatedPrefixesScopedList": { + "id": "PublicDelegatedPrefixesScopedList", "type": "object", "properties": { + "publicDelegatedPrefixes": { + "description": "[Output Only] A list of PublicDelegatedPrefixes contained in this scope.", + "type": "array", + "items": { + "$ref": "PublicDelegatedPrefix" + } + }, "warning": { - "description": "[Output Only] Informational warning message.", + "description": "[Output Only] Informational warning which replaces the list of public delegated prefixes when the list is empty.", + "type": "object", "properties": { - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, - "data": { - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "type": "array", - "items": { - "properties": { - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - }, - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - } - }, - "type": "object" - } - }, "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", @@ -31087,6 +31106,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -31105,6 +31125,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -31116,6 +31166,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -31133,238 +31184,69 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response." + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } } - }, - "type": "object" - }, - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." - }, - "items": { - "type": "array", - "description": "A list of ExchangedPeeringRoute resources.", - "items": { - "$ref": "ExchangedPeeringRoute" } - }, - "kind": { - "description": "[Output Only] Type of resource. Always compute#exchangedPeeringRoutesList for exchanged peering routes lists.", - "default": "compute#exchangedPeeringRoutesList", - "type": "string" - }, - "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." - }, - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", - "type": "string" } - }, - "id": "ExchangedPeeringRoutesList" + } }, - "CorsPolicy": { + "RegionList": { + "id": "RegionList", + "description": "Contains a list of region resources.", "type": "object", - "id": "CorsPolicy", "properties": { - "maxAge": { - "format": "int32", - "type": "integer", - "description": "Specifies how long results of a preflight request can be cached in seconds. This field translates to the Access-Control-Max-Age header." - }, - "disabled": { - "type": "boolean", - "description": "If true, the setting specifies the CORS policy is disabled. The default value of false, which indicates that the CORS policy is in effect." - }, - "allowOrigins": { - "items": { - "type": "string" - }, - "type": "array", - "description": "Specifies the list of origins that is allowed to do CORS requests. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes." - }, - "allowCredentials": { - "description": "In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This field translates to the Access-Control-Allow-Credentials header. Default is false.", - "type": "boolean" - }, - "allowMethods": { - "description": "Specifies the content for the Access-Control-Allow-Methods header.", - "type": "array", - "items": { - "type": "string" - } - }, - "allowHeaders": { - "description": "Specifies the content for the Access-Control-Allow-Headers header.", - "items": { - "type": "string" - }, - "type": "array" - }, - "allowOriginRegexes": { - "type": "array", - "description": "Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.", - "items": { - "type": "string" - } + "kind": { + "description": "[Output Only] Type of resource. Always compute#regionList for lists of regions.", + "default": "compute#regionList", + "type": "string" }, - "exposeHeaders": { - "items": { - "type": "string" - }, - "type": "array", - "description": "Specifies the content for the Access-Control-Expose-Headers header." - } - }, - "description": "The specification for allowing client-side cross-origin requests. For more information about the W3C recommendation for cross-origin resource sharing (CORS), see Fetch API Living Standard." - }, - "Duration": { - "description": "A Duration represents a fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution. It is independent of any calendar and concepts like \"day\" or \"month\". Range is approximately 10,000 years.", - "id": "Duration", - "type": "object", - "properties": { - "seconds": { - "format": "int64", - "description": "Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years", + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", "type": "string" }, - "nanos": { - "format": "int32", - "description": "Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 `seconds` field and a positive `nanos` field. Must be from 0 to 999,999,999 inclusive.", - "type": "integer" - } - } - }, - "TargetHttpProxyAggregatedList": { - "properties": { - "unreachables": { + "items": { + "description": "A list of Region resources.", "type": "array", - "description": "[Output Only] Unreachable resources.", "items": { - "type": "string" + "$ref": "Region" } }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." - }, - "items": { - "type": "object", - "additionalProperties": { - "description": "Name of the scope containing this set of TargetHttpProxies.", - "$ref": "TargetHttpProxiesScopedList" - }, - "description": "A list of TargetHttpProxiesScopedList resources." - }, - "kind": { - "description": "[Output Only] Type of resource. Always compute#targetHttpProxyAggregatedList for lists of Target HTTP Proxies.", - "default": "compute#targetHttpProxyAggregatedList", - "type": "string" - }, "nextPageToken": { "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", "type": "string" }, - "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", - "type": "string" - } - }, - "id": "TargetHttpProxyAggregatedList", - "type": "object" - }, - "NetworkEndpointGroupsListEndpointsRequest": { - "id": "NetworkEndpointGroupsListEndpointsRequest", - "type": "object", - "properties": { - "healthStatus": { - "description": "Optional query parameter for showing the health status of each network endpoint. Valid options are SKIP or SHOW. If you don't specify this parameter, the health status of network endpoints will not be provided.", - "enum": [ - "SHOW", - "SKIP" - ], - "enumDescriptions": [ - "Show the health status for each network endpoint. Impacts latency of the call.", - "Health status for network endpoints will not be provided." - ], - "type": "string" - } - } - }, - "RegionDiskTypeList": { - "id": "RegionDiskTypeList", - "type": "object", - "properties": { - "items": { - "items": { - "$ref": "DiskType" - }, - "type": "array", - "description": "A list of DiskType resources." - }, "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" }, "warning": { + "description": "[Output Only] Informational warning message.", "type": "object", "properties": { - "data": { - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - }, - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - } - } - } - }, - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - }, "code": { - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], - "type": "string", "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -31376,6 +31258,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -31393,431 +31276,188 @@ "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", "When undeclared properties in the schema are present", "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } } - }, - "description": "[Output Only] Informational warning message." - }, - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", - "type": "string" - }, - "kind": { - "description": "[Output Only] Type of resource. Always compute#regionDiskTypeList for region disk types.", - "default": "compute#regionDiskTypeList", - "type": "string" - }, - "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", - "type": "string" + } } } }, - "ResourcePolicyWeeklyCycleDayOfWeek": { + "Region": { + "id": "Region", + "description": "Represents a Region resource. A region is a geographical area where a resource is located. For more information, read Regions and Zones.", + "type": "object", "properties": { - "duration": { - "description": "[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.", + "kind": { + "description": "[Output Only] Type of the resource. Always compute#region for regions.", + "default": "compute#region", "type": "string" }, - "startTime": { + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", "type": "string", - "description": "Time within the window to start the operations. It must be in format \"HH:MM\", where HH : [00-23] and MM : [00-00] GMT." + "format": "uint64" }, - "day": { - "enum": [ - "FRIDAY", - "INVALID", - "MONDAY", - "SATURDAY", - "SUNDAY", - "THURSDAY", - "TUESDAY", - "WEDNESDAY" - ], + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" + }, + "name": { + "description": "[Output Only] Name of the resource.", + "type": "string" + }, + "description": { + "description": "[Output Only] Textual description of the resource.", + "type": "string" + }, + "status": { + "description": "[Output Only] Status of the region, either UP or DOWN.", + "type": "string", "enumDescriptions": [ - "", - "", - "", - "", - "", - "", "", "" ], - "type": "string", - "description": "Defines a schedule that runs on specific days of the week. Specify one or more days. The following options are available: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY." - } - }, - "type": "object", - "id": "ResourcePolicyWeeklyCycleDayOfWeek" - }, - "VpnGatewayList": { - "id": "VpnGatewayList", - "description": "Contains a list of VpnGateway resources.", - "type": "object", - "properties": { - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." + "enum": [ + "DOWN", + "UP" + ] }, - "warning": { - "properties": { - "data": { - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "items": { - "type": "object", - "properties": { - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - }, - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - } - } - }, - "type": "array" - }, - "code": { - "type": "string", - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response." - }, - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - } - }, - "type": "object", - "description": "[Output Only] Informational warning message." + "zones": { + "description": "[Output Only] A list of zones available in this region, in the form of resource URLs.", + "type": "array", + "items": { + "type": "string" + } }, - "items": { + "quotas": { + "description": "[Output Only] Quotas assigned to this region.", "type": "array", "items": { - "$ref": "VpnGateway" - }, - "description": "A list of VpnGateway resources." + "$ref": "Quota" + } }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." + "deprecated": { + "description": "[Output Only] The deprecation status associated with this region.", + "$ref": "DeprecationStatus" }, - "kind": { - "default": "compute#vpnGatewayList", - "description": "[Output Only] Type of resource. Always compute#vpnGateway for VPN gateways.", + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", "type": "string" }, - "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." + "supportsPzs": { + "description": "[Output Only] Reserved for future use.", + "type": "boolean" } } }, - "LocalDisk": { + "ResourcePolicyList": { + "id": "ResourcePolicyList", "type": "object", - "id": "LocalDisk", - "properties": { - "diskSizeGb": { - "description": "Specifies the size of the disk in base-2 GB.", - "type": "integer", - "format": "int32" - }, - "diskType": { - "description": "Specifies the desired disk type on the node. This disk type must be a local storage type (e.g.: local-ssd). Note that for nodeTemplates, this should be the name of the disk type and not its URL.", - "type": "string" - }, - "diskCount": { - "format": "int32", - "type": "integer", - "description": "Specifies the number of such disks." - } - } - }, - "HttpHeaderOption": { - "id": "HttpHeaderOption", - "description": "Specification determining how headers are added to requests or responses.", - "properties": { - "headerName": { - "description": "The name of the header.", - "type": "string" - }, - "replace": { - "type": "boolean", - "description": "If false, headerValue is appended to any values that already exist for the header. If true, headerValue is set for the header, discarding any values that were set for that header. The default value is false. " - }, - "headerValue": { - "type": "string", - "description": "The value of the header to add." - } - }, - "type": "object" - }, - "AutoscalerList": { - "id": "AutoscalerList", "properties": { "kind": { - "type": "string", - "description": "[Output Only] Type of resource. Always compute#autoscalerList for lists of autoscalers.", - "default": "compute#autoscalerList" - }, - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." + "description": "[Output Only] Type of resource.Always compute#resourcePoliciesList for listsof resourcePolicies", + "default": "compute#resourcePolicyList", + "type": "string" }, "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", "type": "string" }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." - }, "items": { - "description": "A list of Autoscaler resources.", - "type": "array", - "items": { - "$ref": "Autoscaler" - } - }, - "warning": { - "description": "[Output Only] Informational warning message.", - "properties": { - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - }, - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - } - } - }, - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } " - }, - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, - "code": { - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "type": "string", - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ] - } - }, - "type": "object" - } - }, - "type": "object", - "description": "Contains a list of Autoscaler resources." - }, - "GlobalOrganizationSetPolicyRequest": { - "type": "object", - "id": "GlobalOrganizationSetPolicyRequest", - "properties": { - "etag": { - "type": "string", - "format": "byte", - "description": "Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag." - }, - "policy": { - "$ref": "Policy", - "description": "REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them." - }, - "bindings": { + "description": "[Output Only] A list of ResourcePolicy resources.", "type": "array", - "description": "Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.", "items": { - "$ref": "Binding" + "$ref": "ResourcePolicy" } - } - } - }, - "RegionSetLabelsRequest": { - "type": "object", - "id": "RegionSetLabelsRequest", - "properties": { - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "The labels to set for this resource.", - "type": "object" }, - "labelFingerprint": { - "description": "The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. Make a get() request to the resource to get the latest fingerprint.", - "format": "byte", - "type": "string" - } - } - }, - "HealthCheckReference": { - "type": "object", - "id": "HealthCheckReference", - "description": "A full or valid partial URL to a health check. For example, the following are valid URLs: - https://www.googleapis.com/compute/beta/projects/project-id/global/httpHealthChecks/health-check - projects/project-id/global/httpHealthChecks/health-check - global/httpHealthChecks/health-check ", - "properties": { - "healthCheck": { + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", "type": "string" - } - } - }, - "RegionInstanceGroupList": { - "id": "RegionInstanceGroupList", - "type": "object", - "properties": { - "kind": { - "description": "The resource type.", - "type": "string", - "default": "compute#regionInstanceGroupList" - }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." }, "warning": { "description": "[Output Only] Informational warning message.", "type": "object", "properties": { - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - }, - "data": { - "items": { - "type": "object", - "properties": { - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - }, - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - } - } - }, - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "type": "array" - }, "code": { "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", "type": "string", @@ -31832,6 +31472,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -31850,6 +31491,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -31861,6 +31532,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -31879,157 +31551,434 @@ "UNDECLARED_PROPERTIES", "UNREACHABLE" ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } } } }, - "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", "type": "string" }, - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "etag": { "type": "string" - }, - "items": { - "items": { - "$ref": "InstanceGroup" - }, - "type": "array", - "description": "A list of InstanceGroup resources." } - }, - "description": "Contains a list of InstanceGroup resources." + } }, - "SecurityPolicyRuleHttpHeaderActionHttpHeaderOption": { + "ResourcePolicy": { + "id": "ResourcePolicy", + "description": "Represents a Resource Policy resource. You can use resource policies to schedule actions for some Compute Engine resources. For example, you can use them to schedule persistent disk snapshots.", "type": "object", - "id": "SecurityPolicyRuleHttpHeaderActionHttpHeaderOption", "properties": { - "headerValue": { - "description": "The value to set the named header to.", + "kind": { + "description": "[Output Only] Type of the resource. Always compute#resource_policies for resource policies.", + "default": "compute#resourcePolicy", "type": "string" }, - "headerName": { + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", "type": "string", - "description": "The name of the header to set." - } - } - }, - "NodeTemplateNodeTypeFlexibility": { - "type": "object", - "id": "NodeTemplateNodeTypeFlexibility", - "properties": { - "localSsd": { + "format": "uint64" + }, + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", "type": "string" }, - "cpus": { + "selfLink": { + "description": "[Output Only] Server-defined fully-qualified URL for this resource.", "type": "string" }, - "memory": { + "region": { + "type": "string" + }, + "description": { + "type": "string" + }, + "name": { + "description": "The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "annotations": { + "required": [ + "compute.instances.insert" + ] + }, "type": "string" + }, + "snapshotSchedulePolicy": { + "description": "Resource policy for persistent disks for creating snapshots.", + "$ref": "ResourcePolicySnapshotSchedulePolicy" + }, + "groupPlacementPolicy": { + "description": "Resource policy for instances for placement configuration.", + "$ref": "ResourcePolicyGroupPlacementPolicy" + }, + "instanceSchedulePolicy": { + "description": "Resource policy for scheduling instance operations.", + "$ref": "ResourcePolicyInstanceSchedulePolicy" + }, + "diskConsistencyGroupPolicy": { + "description": "Resource policy for disk consistency groups.", + "$ref": "ResourcePolicyDiskConsistencyGroupPolicy" + }, + "status": { + "description": "[Output Only] The status of resource policy creation.", + "type": "string", + "enumDescriptions": [ + "Resource policy is being created.", + "Resource policy is being deleted.", + "Resource policy is expired and will not run again.", + "", + "Resource policy is ready to be used." + ], + "enum": [ + "CREATING", + "DELETING", + "EXPIRED", + "INVALID", + "READY" + ] + }, + "resourceStatus": { + "description": "[Output Only] The system status of the resource policy.", + "$ref": "ResourcePolicyResourceStatus" } } }, - "TargetHttpsProxiesSetSslCertificatesRequest": { + "ResourcePolicySnapshotSchedulePolicy": { + "id": "ResourcePolicySnapshotSchedulePolicy", + "description": "A snapshot schedule policy specifies when and how frequently snapshots are to be created for the target disk. Also specifies how many and how long these scheduled snapshots should be retained.", "type": "object", "properties": { - "sslCertificates": { - "items": { - "type": "string" - }, - "type": "array", - "description": "New set of SslCertificate resources to associate with this TargetHttpsProxy resource. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates." + "schedule": { + "description": "A Vm Maintenance Policy specifies what kind of infrastructure maintenance we are allowed to perform on this VM and when. Schedule that is applied to disks covered by this policy.", + "$ref": "ResourcePolicySnapshotSchedulePolicySchedule" + }, + "retentionPolicy": { + "description": "Retention policy applied to snapshots created by this resource policy.", + "$ref": "ResourcePolicySnapshotSchedulePolicyRetentionPolicy" + }, + "snapshotProperties": { + "description": "Properties with which snapshots are created such as labels, encryption keys.", + "$ref": "ResourcePolicySnapshotSchedulePolicySnapshotProperties" } - }, - "id": "TargetHttpsProxiesSetSslCertificatesRequest" + } }, - "BackendServiceIAP": { + "ResourcePolicySnapshotSchedulePolicySchedule": { + "id": "ResourcePolicySnapshotSchedulePolicySchedule", + "description": "A schedule for disks where the schedueled operations are performed.", + "type": "object", "properties": { - "oauth2ClientSecretSha256": { - "description": "[Output Only] SHA256 hash value for the field oauth2_client_secret above.", - "type": "string" - }, - "enabled": { - "type": "boolean", - "description": "Whether the serving infrastructure will authenticate and authorize all incoming requests. If true, the oauth2ClientId and oauth2ClientSecret fields must be non-empty." + "hourlySchedule": { + "$ref": "ResourcePolicyHourlyCycle" }, - "oauth2ClientSecret": { - "type": "string", - "description": "OAuth2 client secret to use for the authentication flow. For security reasons, this value cannot be retrieved via the API. Instead, the SHA-256 hash of the value is returned in the oauth2ClientSecretSha256 field. @InputOnly" + "dailySchedule": { + "$ref": "ResourcePolicyDailyCycle" }, - "oauth2ClientId": { - "description": "OAuth2 client ID to use for the authentication flow.", - "type": "string" + "weeklySchedule": { + "$ref": "ResourcePolicyWeeklyCycle" } - }, - "id": "BackendServiceIAP", - "description": "Identity-Aware Proxy", - "type": "object" + } }, - "ResourcePolicyList": { - "id": "ResourcePolicyList", + "ResourcePolicyHourlyCycle": { + "id": "ResourcePolicyHourlyCycle", + "description": "Time window specified for hourly operations.", + "type": "object", "properties": { - "items": { + "hoursInCycle": { + "description": "Defines a schedule with units measured in hours. The value determines how many hours pass between the start of each cycle.", + "type": "integer", + "format": "int32" + }, + "startTime": { + "description": "Time within the window to start the operations. It must be in format \"HH:MM\", where HH : [00-23] and MM : [00-00] GMT.", + "type": "string" + }, + "duration": { + "description": "[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.", + "type": "string" + } + } + }, + "ResourcePolicyDailyCycle": { + "id": "ResourcePolicyDailyCycle", + "description": "Time window specified for daily operations.", + "type": "object", + "properties": { + "daysInCycle": { + "description": "Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle.", + "type": "integer", + "format": "int32" + }, + "startTime": { + "description": "Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.", + "type": "string" + }, + "duration": { + "description": "[Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.", + "type": "string" + } + } + }, + "ResourcePolicyWeeklyCycle": { + "id": "ResourcePolicyWeeklyCycle", + "description": "Time window specified for weekly operations.", + "type": "object", + "properties": { + "dayOfWeeks": { + "description": "Up to 7 intervals/windows, one for each day of the week.", "type": "array", - "description": "[Output Only] A list of ResourcePolicy resources.", "items": { - "$ref": "ResourcePolicy" + "$ref": "ResourcePolicyWeeklyCycleDayOfWeek" + } + } + } + }, + "ResourcePolicyWeeklyCycleDayOfWeek": { + "id": "ResourcePolicyWeeklyCycleDayOfWeek", + "type": "object", + "properties": { + "day": { + "description": "Defines a schedule that runs on specific days of the week. Specify one or more days. The following options are available: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY.", + "type": "string", + "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "", + "" + ], + "enum": [ + "FRIDAY", + "INVALID", + "MONDAY", + "SATURDAY", + "SUNDAY", + "THURSDAY", + "TUESDAY", + "WEDNESDAY" + ] + }, + "startTime": { + "description": "Time within the window to start the operations. It must be in format \"HH:MM\", where HH : [00-23] and MM : [00-00] GMT.", + "type": "string" + }, + "duration": { + "description": "[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.", + "type": "string" + } + } + }, + "ResourcePolicySnapshotSchedulePolicyRetentionPolicy": { + "id": "ResourcePolicySnapshotSchedulePolicyRetentionPolicy", + "description": "Policy for retention of scheduled snapshots.", + "type": "object", + "properties": { + "maxRetentionDays": { + "description": "Maximum age of the snapshot that is allowed to be kept.", + "type": "integer", + "format": "int32" + }, + "onSourceDiskDelete": { + "description": "Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.", + "type": "string", + "enumDescriptions": [ + "", + "", + "" + ], + "enum": [ + "APPLY_RETENTION_POLICY", + "KEEP_AUTO_SNAPSHOTS", + "UNSPECIFIED_ON_SOURCE_DISK_DELETE" + ] + } + } + }, + "ResourcePolicySnapshotSchedulePolicySnapshotProperties": { + "id": "ResourcePolicySnapshotSchedulePolicySnapshotProperties", + "description": "Specified snapshot properties for scheduled snapshots created by this policy.", + "type": "object", + "properties": { + "labels": { + "description": "Labels to apply to scheduled snapshots. These can be later modified by the setLabels method. Label values may be empty.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "storageLocations": { + "description": "Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).", + "type": "array", + "items": { + "type": "string" + } + }, + "guestFlush": { + "description": "Indication to perform a 'guest aware' snapshot.", + "type": "boolean" + }, + "chainName": { + "description": "Chain name that the snapshot is created in.", + "type": "string" + } + } + }, + "ResourcePolicyGroupPlacementPolicy": { + "id": "ResourcePolicyGroupPlacementPolicy", + "description": "A GroupPlacementPolicy specifies resource placement configuration. It specifies the failure bucket separation as well as network locality", + "type": "object", + "properties": { + "vmCount": { + "description": "Number of VMs in this placement group. Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs.", + "type": "integer", + "format": "int32" + }, + "availabilityDomainCount": { + "description": "The number of availability domains to spread instances across. If two instances are in different availability domain, they are not in the same low latency network.", + "type": "integer", + "format": "int32" + }, + "collocation": { + "description": "Specifies network collocation", + "type": "string", + "enumDescriptions": [ + "", + "" + ], + "enum": [ + "COLLOCATED", + "UNSPECIFIED_COLLOCATION" + ] + } + } + }, + "ResourcePolicyInstanceSchedulePolicy": { + "id": "ResourcePolicyInstanceSchedulePolicy", + "description": "An InstanceSchedulePolicy specifies when and how frequent certain operations are performed on the instance.", + "type": "object", + "properties": { + "vmStartSchedule": { + "description": "Specifies the schedule for starting instances.", + "$ref": "ResourcePolicyInstanceSchedulePolicySchedule" + }, + "vmStopSchedule": { + "description": "Specifies the schedule for stopping instances.", + "$ref": "ResourcePolicyInstanceSchedulePolicySchedule" + }, + "timeZone": { + "description": "Specifies the time zone to be used in interpreting Schedule.schedule. The value of this field must be a time zone name from the tz database: https://wikipedia.org/wiki/Tz_database.", + "type": "string" + }, + "startTime": { + "description": "The start time of the schedule. The timestamp is an RFC3339 string.", + "type": "string" + }, + "expirationTime": { + "description": "The expiration time of the schedule. The timestamp is an RFC3339 string.", + "type": "string" + } + } + }, + "ResourcePolicyInstanceSchedulePolicySchedule": { + "id": "ResourcePolicyInstanceSchedulePolicySchedule", + "description": "Schedule for an instance operation.", + "type": "object", + "properties": { + "schedule": { + "description": "Specifies the frequency for the operation, using the unix-cron format.", + "type": "string" + } + } + }, + "ResourcePolicyDiskConsistencyGroupPolicy": { + "id": "ResourcePolicyDiskConsistencyGroupPolicy", + "description": "Resource policy for disk consistency groups.", + "type": "object", + "properties": {} + }, + "ResourcePolicyResourceStatus": { + "id": "ResourcePolicyResourceStatus", + "description": "Contains output only fields. Use this sub-message for all output fields set on ResourcePolicy. The internal structure of this \"status\" field should mimic the structure of ResourcePolicy proto specification.", + "type": "object", + "properties": { + "instanceSchedulePolicy": { + "description": "[Output Only] Specifies a set of output values reffering to the instance_schedule_policy system status. This field should have the same name as corresponding policy field.", + "$ref": "ResourcePolicyResourceStatusInstanceSchedulePolicyStatus" + } + } + }, + "ResourcePolicyResourceStatusInstanceSchedulePolicyStatus": { + "id": "ResourcePolicyResourceStatusInstanceSchedulePolicyStatus", + "type": "object", + "properties": { + "nextRunStartTime": { + "description": "[Output Only] The next time the schedule is planned to run. The actual time might be slightly different. The timestamp is an RFC3339 string.", + "type": "string" + }, + "lastRunStartTime": { + "description": "[Output Only] The last time the schedule successfully ran. The timestamp is an RFC3339 string.", + "type": "string" + } + } + }, + "ResourcePolicyAggregatedList": { + "id": "ResourcePolicyAggregatedList", + "description": "Contains a list of resourcePolicies.", + "type": "object", + "properties": { + "kind": { + "description": "Type of resource.", + "default": "compute#resourcePolicyAggregatedList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of ResourcePolicy resources.", + "type": "object", + "additionalProperties": { + "description": "Name of the scope containing this set of resourcePolicies.", + "$ref": "ResourcePoliciesScopedList" } }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, "warning": { "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { - "data": { - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "items": { - "properties": { - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - }, - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - } - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - }, "code": { "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", @@ -32042,6 +31991,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -32059,106 +32009,37 @@ "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", "When undeclared properties in the schema are present", "A given scope cannot be reached." - ] - } - }, - "type": "object" - }, - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", - "type": "string" - }, - "id": { - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", - "type": "string" - }, - "kind": { - "type": "string", - "description": "[Output Only] Type of resource.Always compute#resourcePoliciesList for listsof resourcePolicies", - "default": "compute#resourcePolicyList" - }, - "etag": { - "type": "string" - }, - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." - } - }, - "type": "object" - }, - "RouterStatus": { - "id": "RouterStatus", - "properties": { - "bgpPeerStatus": { - "items": { - "$ref": "RouterStatusBgpPeerStatus" - }, - "type": "array" - }, - "bestRoutesForRouter": { - "type": "array", - "items": { - "$ref": "Route" - }, - "description": "Best routes learned by this router." - }, - "network": { - "description": "URI of the network to which this router belongs.", - "type": "string" - }, - "natStatus": { - "items": { - "$ref": "RouterStatusNatStatus" - }, - "type": "array" - }, - "bestRoutes": { - "type": "array", - "description": "Best routes for this router's network.", - "items": { - "$ref": "Route" - } - } - }, - "type": "object" - }, - "TargetHttpsProxiesSetQuicOverrideRequest": { - "properties": { - "quicOverride": { - "description": "QUIC policy for the TargetHttpsProxy resource.", - "enum": [ - "DISABLE", - "ENABLE", - "NONE" - ], - "type": "string", - "enumDescriptions": [ - "The load balancer will not attempt to negotiate QUIC with clients.", - "The load balancer will attempt to negotiate QUIC with clients.", - "No overrides to the default QUIC policy. This option is implicit if no QUIC override has been specified in the request." - ] - } - }, - "id": "TargetHttpsProxiesSetQuicOverrideRequest", - "type": "object" - }, - "InterconnectAttachmentsScopedList": { - "id": "InterconnectAttachmentsScopedList", - "type": "object", - "properties": { - "interconnectAttachments": { - "type": "array", - "items": { - "$ref": "InterconnectAttachment" - }, - "description": "A list of interconnect attachments contained in this scope." - }, - "warning": { - "type": "object", - "description": "Informational warning which replaces the list of addresses when the list is empty.", - "properties": { - "code": { + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -32170,6 +32051,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -32187,108 +32069,60 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ], - "type": "string", - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response." + ] }, "message": { "description": "[Output Only] A human-readable description of the warning code.", "type": "string" }, "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", "type": "array", "items": { "type": "object", "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, "value": { "description": "[Output Only] A warning data value corresponding to the key.", "type": "string" - }, - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." } } - }, - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } " + } } } + }, + "etag": { + "type": "string" + }, + "unreachables": { + "description": "[Output Only] Unreachable resources.", + "type": "array", + "items": { + "type": "string" + } } } }, - "MachineTypeAggregatedList": { + "ResourcePoliciesScopedList": { + "id": "ResourcePoliciesScopedList", "type": "object", - "id": "MachineTypeAggregatedList", "properties": { - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." - }, - "items": { - "additionalProperties": { - "description": "[Output Only] Name of the scope containing this set of machine types.", - "$ref": "MachineTypesScopedList" - }, - "type": "object", - "description": "A list of MachineTypesScopedList resources." - }, - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." + "resourcePolicies": { + "description": "A list of resourcePolicies contained in this scope.", + "type": "array", + "items": { + "$ref": "ResourcePolicy" + } }, "warning": { + "description": "Informational warning which replaces the list of resourcePolicies when the list is empty.", + "type": "object", "properties": { - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - }, - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - } - } - }, - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } " - }, "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", @@ -32301,6 +32135,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -32319,6 +32154,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -32330,6 +32195,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -32347,49 +32213,69 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response." + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } } - }, - "description": "[Output Only] Informational warning message.", - "type": "object" - }, - "unreachables": { - "items": { - "type": "string" - }, - "type": "array", - "description": "[Output Only] Unreachable resources." - }, - "kind": { - "type": "string", - "description": "[Output Only] Type of resource. Always compute#machineTypeAggregatedList for aggregated lists of machine types.", - "default": "compute#machineTypeAggregatedList" - }, - "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." + } } } }, - "DiskTypeList": { - "id": "DiskTypeList", + "RouteList": { + "id": "RouteList", + "description": "Contains a list of Route resources.", "type": "object", - "description": "Contains a list of disk types.", "properties": { + "kind": { + "description": "Type of resource.", + "default": "compute#routeList", + "type": "string" + }, "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" }, - "kind": { - "type": "string", - "default": "compute#diskTypeList", - "description": "[Output Only] Type of resource. Always compute#diskTypeList for disk types." + "items": { + "description": "A list of Route resources.", + "type": "array", + "items": { + "$ref": "Route" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" }, "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { "code": { "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -32401,6 +32287,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -32419,6 +32306,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -32430,6 +32347,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -32447,7 +32365,10 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", "type": "string" }, "data": { @@ -32466,739 +32387,1035 @@ } } } - }, - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." } - }, - "type": "object", - "description": "[Output Only] Informational warning message." - }, - "items": { - "type": "array", - "items": { - "$ref": "DiskType" - }, - "description": "A list of DiskType resources." - }, - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." - }, - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", - "type": "string" - } - } - }, - "RoutersPreviewResponse": { - "id": "RoutersPreviewResponse", - "type": "object", - "properties": { - "resource": { - "description": "Preview of given router.", - "$ref": "Router" + } } } }, - "UrlRewrite": { + "Route": { + "id": "Route", + "description": "Represents a Route resource. A route defines a path from VM instances in the VPC network to a specific destination. This destination can be inside or outside the VPC network. For more information, read the Routes overview.", "type": "object", - "id": "UrlRewrite", "properties": { - "pathPrefixRewrite": { - "description": "Before forwarding the request to the selected backend service, the matching portion of the request's path is replaced by pathPrefixRewrite. The value must be from 1 to 1024 characters.", + "kind": { + "description": "[Output Only] Type of this resource. Always compute#routes for Route resources.", + "default": "compute#route", "type": "string" }, - "hostRewrite": { - "description": "Before forwarding the request to the selected service, the request's host header is replaced with contents of hostRewrite. The value must be from 1 to 255 characters.", - "type": "string" - } - }, - "description": "The spec for modifying the path before sending the request to the matched backend service." - }, - "ShareSettingsProjectConfig": { - "description": "Config for each project in the share settings.", - "properties": { - "projectId": { + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", "type": "string", - "description": "The project ID, should be same as the key of this project config in the parent map." - } - }, - "type": "object", - "id": "ShareSettingsProjectConfig" - }, - "Autoscaler": { - "type": "object", - "properties": { - "scalingScheduleStatus": { - "type": "object", - "additionalProperties": { - "$ref": "ScalingScheduleStatus" - }, - "description": "[Output Only] Status information of existing scaling schedules." + "format": "uint64" }, - "region": { - "description": "[Output Only] URL of the region where the instance group resides (for autoscalers living in regional scope).", + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", "type": "string" }, - "status": { - "enumDescriptions": [ - "Configuration is acknowledged to be effective", - "Configuration is being deleted", - "Configuration has errors. Actionable for users.", - "Autoscaler backend hasn't read new/updated configuration" - ], - "enum": [ - "ACTIVE", - "DELETING", - "ERROR", - "PENDING" - ], - "type": "string", - "description": "[Output Only] The status of the autoscaler configuration. Current set of possible values: - PENDING: Autoscaler backend hasn't read new/updated configuration. - DELETING: Configuration is being deleted. - ACTIVE: Configuration is acknowledged to be effective. Some warnings might be present in the statusDetails field. - ERROR: Configuration has errors. Actionable for users. Details are present in the statusDetails field. New values might be added in the future." + "name": { + "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "annotations": { + "required": [ + "compute.routes.insert" + ] + }, + "type": "string" }, "description": { - "description": "An optional description of this resource. Provide this property when you create the resource.", + "description": "An optional description of this resource. Provide this field when you create the resource.", "type": "string" }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for the resource." - }, - "creationTimestamp": { - "type": "string", - "description": "[Output Only] Creation timestamp in RFC3339 text format." + "network": { + "description": "Fully-qualified URL of the network that this route applies to.", + "annotations": { + "required": [ + "compute.routes.insert" + ] + }, + "type": "string" }, - "statusDetails": { - "description": "[Output Only] Human-readable details about the current state of the autoscaler. Read the documentation for Commonly returned status messages for examples of status messages you might encounter.", - "items": { - "$ref": "AutoscalerStatusDetails" + "tags": { + "description": "A list of instance tags to which this route applies.", + "annotations": { + "required": [ + "compute.routes.insert" + ] }, - "type": "array" + "type": "array", + "items": { + "type": "string" + } }, - "id": { - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", - "type": "string", - "format": "uint64" + "destRange": { + "description": "The destination range of outgoing packets that this route applies to. Both IPv4 and IPv6 are supported. Must specify an IPv4 range (e.g. 192.0.2.0/24) or an IPv6 range in RFC 4291 format (e.g. 2001:db8::/32). IPv6 range will be displayed using RFC 5952 compressed format.", + "annotations": { + "required": [ + "compute.routes.insert" + ] + }, + "type": "string" }, - "recommendedSize": { - "format": "int32", + "priority": { + "description": "The priority of this route. Priority is used to break ties in cases where there is more than one matching route of equal prefix length. In cases where multiple routes have equal prefix length, the one with the lowest-numbered priority value wins. The default value is `1000`. The priority value must be from `0` to `65535`, inclusive.", + "annotations": { + "required": [ + "compute.routes.insert" + ] + }, "type": "integer", - "description": "[Output Only] Target recommended MIG size (number of instances) computed by autoscaler. Autoscaler calculates the recommended MIG size even when the autoscaling policy mode is different from ON. This field is empty when autoscaler is not connected to an existing managed instance group or autoscaler did not generate its prediction." + "format": "uint32" }, - "zone": { - "type": "string", - "description": "[Output Only] URL of the zone where the instance group resides (for autoscalers living in zonal scope)." + "nextHopInstance": { + "description": "The URL to an instance that should handle matching packets. You can specify this as a full or partial URL. For example: https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/", + "type": "string" }, - "target": { - "description": "URL of the managed instance group that this autoscaler will scale. This field is required when creating an autoscaler.", + "nextHopIp": { + "description": "The network IP address of an instance that should handle matching packets. Both IPv6 address and IPv4 addresses are supported. Must specify an IPv4 address in dot-decimal notation (e.g. 192.0.2.99) or an IPv6 address in RFC 4291 format (e.g. 2001:db8::2d9:51:0:0 or 2001:db8:0:0:2d9:51:0:0). IPv6 addresses will be displayed using RFC 5952 compressed format (e.g. 2001:db8::2d9:51:0:0). Should never be an IPv4-mapped IPv6 address.", "type": "string" }, - "kind": { - "description": "[Output Only] Type of the resource. Always compute#autoscaler for autoscalers.", - "default": "compute#autoscaler", + "nextHopNetwork": { + "description": "The URL of the local network if it should handle matching packets.", "type": "string" }, - "name": { - "annotations": { - "required": [ - "compute.autoscalers.insert" - ] - }, - "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "nextHopGateway": { + "description": "The URL to a gateway that should handle matching packets. You can only specify the internet gateway using a full or partial valid URL: projects/ project/global/gateways/default-internet-gateway", "type": "string" }, - "autoscalingPolicy": { - "$ref": "AutoscalingPolicy", - "description": "The configuration parameters for the autoscaling algorithm. You can define one or more signals for an autoscaler: cpuUtilization, customMetricUtilizations, and loadBalancingUtilization. If none of these are specified, the default will be to autoscale based on cpuUtilization to 0.6 or 60%." - } - }, - "description": "Represents an Autoscaler resource. Google Compute Engine has two Autoscaler resources: * [Zonal](/compute/docs/reference/rest/v1/autoscalers) * [Regional](/compute/docs/reference/rest/v1/regionAutoscalers) Use autoscalers to automatically add or delete instances from a managed instance group according to your defined autoscaling policy. For more information, read Autoscaling Groups of Instances. For zonal managed instance groups resource, use the autoscaler resource. For regional managed instance groups, use the regionAutoscalers resource.", - "id": "Autoscaler" - }, - "SourceInstanceParams": { - "description": "A specification of the parameters to use when creating the instance template from a source instance.", - "type": "object", - "properties": { - "diskConfigs": { - "type": "array", - "items": { - "$ref": "DiskInstantiationConfig" - }, - "description": "Attached disks configuration. If not provided, defaults are applied: For boot disk and any other R/W disks, the source images for each disk will be used. For read-only disks, they will be attached in read-only mode. Local SSD disks will be created as blank volumes." - } - }, - "id": "SourceInstanceParams" - }, - "InstancesSetMinCpuPlatformRequest": { - "id": "InstancesSetMinCpuPlatformRequest", - "type": "object", - "properties": { - "minCpuPlatform": { - "description": "Minimum cpu/platform this instance should be started at.", + "nextHopPeering": { + "description": "[Output Only] The network peering name that should handle matching packets, which should conform to RFC1035.", "type": "string" - } - } - }, - "SubnetworksExpandIpCidrRangeRequest": { - "id": "SubnetworksExpandIpCidrRangeRequest", - "properties": { - "ipCidrRange": { - "type": "string", - "description": "The IP (in CIDR format or netmask) of internal addresses that are legal on this Subnetwork. This range should be disjoint from other subnetworks within this network. This range can only be larger than (i.e. a superset of) the range previously defined before the update." - } - }, - "type": "object" - }, - "RegionInstanceGroupManagersSetTemplateRequest": { - "properties": { - "instanceTemplate": { - "description": "URL of the InstanceTemplate resource from which all new instances will be created.", + }, + "nextHopIlb": { + "description": "The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule. For example, the following are all valid URLs: - 10.128.0.56 - https://www.googleapis.com/compute/v1/projects/project/regions/region /forwardingRules/forwardingRule - regions/region/forwardingRules/forwardingRule ", "type": "string" - } - }, - "type": "object", - "id": "RegionInstanceGroupManagersSetTemplateRequest" - }, - "SecurityPolicyRecaptchaOptionsConfig": { - "id": "SecurityPolicyRecaptchaOptionsConfig", - "type": "object", - "properties": { - "redirectSiteKey": { - "type": "string", - "description": "An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used." - } - } - }, - "Rule": { - "properties": { - "conditions": { + }, + "warnings": { + "description": "[Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages.", "type": "array", "items": { - "$ref": "Condition" - }, - "description": "This is deprecated and has no effect. Do not use." + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + } }, - "notIns": { - "description": "This is deprecated and has no effect. Do not use.", - "items": { - "type": "string" - }, - "type": "array" + "nextHopVpnTunnel": { + "description": "The URL to a VpnTunnel that should handle matching packets.", + "type": "string" }, - "action": { + "nextHopHub": { + "description": "[Output Only] The full resource name of the Network Connectivity Center hub that will handle matching packets.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined fully-qualified URL for this resource.", + "type": "string" + }, + "routeType": { + "description": "[Output Only] The type of this route, which can be one of the following values: - 'TRANSIT' for a transit route that this router learned from another Cloud Router and will readvertise to one of its BGP peers - 'SUBNET' for a route from a subnet of the VPC - 'BGP' for a route learned from a BGP peer of this router - 'STATIC' for a static route", + "type": "string", "enumDescriptions": [ - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use.", - "This is deprecated and has no effect. Do not use." + "", + "", + "", + "" ], "enum": [ - "ALLOW", - "ALLOW_WITH_LOG", - "DENY", - "DENY_WITH_LOG", - "LOG", - "NO_ACTION" - ], - "type": "string", - "description": "This is deprecated and has no effect. Do not use." - }, - "ins": { - "type": "array", - "items": { - "type": "string" - }, - "description": "This is deprecated and has no effect. Do not use." - }, - "permissions": { - "description": "This is deprecated and has no effect. Do not use.", - "items": { - "type": "string" - }, - "type": "array" + "BGP", + "STATIC", + "SUBNET", + "TRANSIT" + ] }, - "logConfigs": { + "asPaths": { + "description": "[Output Only] AS path.", "type": "array", "items": { - "$ref": "LogConfig" - }, - "description": "This is deprecated and has no effect. Do not use." + "$ref": "RouteAsPath" + } }, - "description": { + "routeStatus": { + "description": "[Output only] The status of the route.", "type": "string", - "description": "This is deprecated and has no effect. Do not use." + "enumDescriptions": [ + "This route is processed and active.", + "The route is dropped due to the VPC exceeding the dynamic route limit. For dynamic route limit, please refer to the Learned route example", + "This route is processed but inactive due to failure from the backend. The backend may have rejected the route", + "This route is being processed internally. The status will change once processed." + ], + "enum": [ + "ACTIVE", + "DROPPED", + "INACTIVE", + "PENDING" + ] } - }, - "id": "Rule", - "type": "object", - "description": "This is deprecated and has no effect. Do not use." + } }, - "ResourcePolicyDailyCycle": { - "description": "Time window specified for daily operations.", + "RouteAsPath": { + "id": "RouteAsPath", + "type": "object", "properties": { - "startTime": { - "description": "Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.", - "type": "string" - }, - "duration": { + "pathSegmentType": { + "description": "[Output Only] The type of the AS Path, which can be one of the following values: - 'AS_SET': unordered set of autonomous systems that the route in has traversed - 'AS_SEQUENCE': ordered set of autonomous systems that the route has traversed - 'AS_CONFED_SEQUENCE': ordered set of Member Autonomous Systems in the local confederation that the route has traversed - 'AS_CONFED_SET': unordered set of Member Autonomous Systems in the local confederation that the route has traversed ", "type": "string", - "description": "[Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario." + "enumDescriptions": [ + "", + "", + "", + "" + ], + "enum": [ + "AS_CONFED_SEQUENCE", + "AS_CONFED_SET", + "AS_SEQUENCE", + "AS_SET" + ] }, - "daysInCycle": { - "format": "int32", - "type": "integer", - "description": "Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle." - } - }, - "type": "object", - "id": "ResourcePolicyDailyCycle" - }, - "VpnGatewayStatus": { - "properties": { - "vpnConnections": { - "description": "List of VPN connection for this VpnGateway.", + "asLists": { + "description": "[Output Only] The AS numbers of the AS Path.", "type": "array", "items": { - "$ref": "VpnGatewayStatusVpnConnection" + "type": "integer", + "format": "uint32" } } - }, - "type": "object", - "id": "VpnGatewayStatus" - }, - "AutoscalingPolicyScaleInControl": { - "properties": { - "timeWindowSec": { - "description": "How far back autoscaling looks when computing recommendations to include directives regarding slower scale in, as described above.", - "type": "integer", - "format": "int32" - }, - "maxScaledInReplicas": { - "$ref": "FixedOrPercent", - "description": "Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step." - } - }, - "id": "AutoscalingPolicyScaleInControl", - "type": "object", - "description": "Configuration that allows for slower scale in so that even if Autoscaler recommends an abrupt scale in of a MIG, it will be throttled as specified by the parameters below." + } }, - "ForwardingRuleList": { + "Router": { + "id": "Router", + "description": "Represents a Cloud Router resource. For more information about Cloud Router, read the Cloud Router overview.", "type": "object", "properties": { "kind": { - "default": "compute#forwardingRuleList", + "description": "[Output Only] Type of resource. Always compute#router for routers.", + "default": "compute#router", + "type": "string" + }, + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", "type": "string", - "description": "Type of resource." + "format": "uint64" }, - "warning": { - "type": "object", - "description": "[Output Only] Informational warning message.", - "properties": { - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - }, - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - } - } - }, - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } " - }, - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, - "code": { - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ], - "type": "string" - } - } - }, - "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" }, - "items": { - "items": { - "$ref": "ForwardingRule" + "name": { + "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "annotations": { + "required": [ + "compute.routers.insert" + ] }, - "type": "array", - "description": "A list of ForwardingRule resources." + "type": "string" }, - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource.", "type": "string" }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." - } - }, - "id": "ForwardingRuleList", - "description": "Contains a list of ForwardingRule resources." - }, - "PathMatcher": { - "type": "object", - "properties": { - "pathRules": { - "items": { - "$ref": "PathRule" + "region": { + "description": "[Output Only] URI of the region where the router resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.", + "type": "string" + }, + "network": { + "description": "URI of the network to which this router belongs.", + "annotations": { + "required": [ + "compute.routers.insert", + "compute.routers.update" + ] }, - "description": "The list of path rules. Use this list instead of routeRules when routing based on simple path matching is all that's required. The order by which path rules are specified does not matter. Matches are always done on the longest-path-first basis. For example: a pathRule with a path /a/b/c/* will match before /a/b/* irrespective of the order in which those paths appear in this list. Within a given pathMatcher, only one of pathRules or routeRules must be set.", - "type": "array" + "type": "string" }, - "defaultRouteAction": { - "description": "defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within a path matcher's defaultRouteAction.", - "$ref": "HttpRouteAction" + "interfaces": { + "description": "Router interfaces. To create a BGP peer that uses a router interface, the interface must have one of the following fields specified: - linkedVpnTunnel - linkedInterconnectAttachment - subnetwork You can create a router interface without any of these fields specified. However, you cannot create a BGP peer that uses that interface.", + "type": "array", + "items": { + "$ref": "RouterInterface" + } }, - "description": { - "type": "string", - "description": "An optional description of this resource. Provide this property when you create the resource." + "bgpPeers": { + "description": "BGP information that must be configured into the routing stack to establish BGP peering. This information must specify the peer ASN and either the interface name, IP address, or peer IP address. Please refer to RFC4273.", + "type": "array", + "items": { + "$ref": "RouterBgpPeer" + } }, - "defaultService": { - "type": "string", - "description": "The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use " + "bgp": { + "description": "BGP information specific to this router.", + "$ref": "RouterBgp" }, - "defaultUrlRedirect": { - "$ref": "HttpRedirectAction", - "description": "When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy." + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", + "type": "string" }, - "routeRules": { + "nats": { + "description": "A list of NAT services created in this router.", "type": "array", - "description": "The list of HTTP route rules. Use this list instead of pathRules when advanced route matching and routing actions are desired. routeRules are evaluated in order of priority, from the lowest to highest number. Within a given pathMatcher, you can set only one of pathRules or routeRules.", "items": { - "$ref": "HttpRouteRule" + "$ref": "RouterNat" } }, - "name": { - "description": "The name to which this PathMatcher is referred by the HostRule.", - "type": "string" + "encryptedInterconnectRouter": { + "description": "Indicates if a router is dedicated for use with encrypted VLAN attachments (interconnectAttachments).", + "type": "boolean" }, - "headerAction": { - "$ref": "HttpHeaderAction", - "description": "Specifies changes to request and response headers that need to take effect for the selected backend service. HeaderAction specified here are applied after the matching HttpRouteRule HeaderAction and before the HeaderAction in the UrlMap HeaderAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true." + "md5AuthenticationKeys": { + "description": "Keys used for MD5 authentication.", + "type": "array", + "items": { + "$ref": "RouterMd5AuthenticationKey" + } } - }, - "id": "PathMatcher", - "description": "A matcher for the path portion of the URL. The BackendService from the longest-matched rule will serve the URL. If no rule was matched, the default service is used." + } }, - "InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy": { + "RouterInterface": { + "id": "RouterInterface", + "type": "object", "properties": { "name": { - "description": "[Output Only] The name of the firewall policy.", + "description": "Name of this interface entry. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "annotations": { + "required": [ + "compute.routers.insert" + ] + }, "type": "string" }, - "shortName": { - "description": "[Output Only] The short name of the firewall policy.", + "linkedVpnTunnel": { + "description": "URI of the linked VPN tunnel, which must be in the same region as the router. Each interface can have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a subnetwork.", "type": "string" }, - "type": { - "enum": [ - "HIERARCHY", - "NETWORK", - "NETWORK_REGIONAL", - "UNSPECIFIED" - ], + "linkedInterconnectAttachment": { + "description": "URI of the linked Interconnect attachment. It must be in the same region as the router. Each interface can have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a subnetwork.", + "type": "string" + }, + "ipRange": { + "description": "IP address and range of the interface. The IP range must be in the RFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE: Do not truncate the address as it represents the IP address of the interface.", + "type": "string" + }, + "managementType": { + "description": "[Output Only] The resource that configures and manages this interface. - MANAGED_BY_USER is the default value and can be managed directly by users. - MANAGED_BY_ATTACHMENT is an interface that is configured and managed by Cloud Interconnect, specifically, by an InterconnectAttachment of type PARTNER. Google automatically creates, updates, and deletes this type of interface when the PARTNER InterconnectAttachment is created, updated, or deleted. ", + "type": "string", "enumDescriptions": [ - "", - "", - "", - "" + "The interface is automatically created for PARTNER type InterconnectAttachment, Google will automatically create/update/delete this interface when the PARTNER InterconnectAttachment is created/provisioned/deleted. This type of interface cannot be manually managed by user.", + "Default value, the interface is manually created and managed by user." ], - "description": "[Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.", + "enum": [ + "MANAGED_BY_ATTACHMENT", + "MANAGED_BY_USER" + ] + }, + "privateIpAddress": { + "description": "The regional private internal IP address that is used to establish BGP sessions to a VM instance acting as a third-party Router Appliance, such as a Next Gen Firewall, a Virtual Router, or an SD-WAN VM.", "type": "string" }, - "rules": { - "items": { - "$ref": "FirewallPolicyRule" - }, - "description": "The rules that apply to the network.", - "type": "array" + "redundantInterface": { + "description": "Name of the interface that will be redundant with the current interface you are creating. The redundantInterface must belong to the same Cloud Router as the interface here. To establish the BGP session to a Router Appliance VM, you must create two BGP peers. The two BGP peers must be attached to two separate interfaces that are redundant with each other. The redundant_interface must be 1-63 characters long, and comply with RFC1035. Specifically, the redundant_interface must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "type": "string" }, - "displayName": { - "type": "string", - "description": "[Output Only] Deprecated, please use short name instead. The display name of the firewall policy." + "subnetwork": { + "description": "The URI of the subnetwork resource that this interface belongs to, which must be in the same region as the Cloud Router. When you establish a BGP session to a VM instance using this interface, the VM instance must belong to the same subnetwork as the subnetwork specified here.", + "type": "string" } - }, - "id": "InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy", - "type": "object" + } }, - "TargetHttpProxy": { - "description": "Represents a Target HTTP Proxy resource. Google Compute Engine has two Target HTTP Proxy resources: * [Global](/compute/docs/reference/rest/v1/targetHttpProxies) * [Regional](/compute/docs/reference/rest/v1/regionTargetHttpProxies) A target HTTP proxy is a component of GCP HTTP load balancers. * targetHttpProxies are used by external HTTP load balancers and Traffic Director. * regionTargetHttpProxies are used by internal HTTP load balancers. Forwarding rules reference a target HTTP proxy, and the target proxy then references a URL map. For more information, read Using Target Proxies and Forwarding rule concepts.", + "RouterBgpPeer": { + "id": "RouterBgpPeer", "type": "object", - "id": "TargetHttpProxy", "properties": { - "region": { - "type": "string", - "description": "[Output Only] URL of the region where the regional Target HTTP Proxy resides. This field is not applicable to global Target HTTP Proxies." - }, - "urlMap": { - "description": "URL to the UrlMap resource that defines the mapping from URL to the BackendService.", + "name": { + "description": "Name of this BGP peer. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "annotations": { + "required": [ + "compute.routers.insert" + ] + }, "type": "string" }, - "creationTimestamp": { - "type": "string", - "description": "[Output Only] Creation timestamp in RFC3339 text format." - }, - "kind": { - "description": "[Output Only] Type of resource. Always compute#targetHttpProxy for target HTTP proxies.", - "type": "string", - "default": "compute#targetHttpProxy" - }, - "fingerprint": { - "format": "byte", - "description": "Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a TargetHttpProxy. An up-to-date fingerprint must be provided in order to patch/update the TargetHttpProxy; otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the TargetHttpProxy.", + "interfaceName": { + "description": "Name of the interface the BGP peer is associated with.", "type": "string" }, - "proxyBind": { - "description": "This field only applies when the forwarding rule that references this target proxy has a loadBalancingScheme set to INTERNAL_SELF_MANAGED. When this field is set to true, Envoy proxies set up inbound traffic interception and bind to the IP address and port specified in the forwarding rule. This is generally useful when using Traffic Director to configure Envoy as a gateway or middle proxy (in other words, not a sidecar proxy). The Envoy proxy listens for inbound requests and handles requests when it receives them. The default is false.", - "type": "boolean" - }, - "selfLink": { - "description": "[Output Only] Server-defined URL for the resource.", + "ipAddress": { + "description": "IP address of the interface inside Google Cloud Platform. Only IPv4 is supported.", "type": "string" }, - "description": { - "description": "An optional description of this resource. Provide this property when you create the resource.", + "peerIpAddress": { + "description": "IP address of the BGP interface outside Google Cloud Platform. Only IPv4 is supported.", "type": "string" }, - "id": { - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", - "type": "string", - "format": "uint64" + "peerAsn": { + "description": "Peer BGP Autonomous System Number (ASN). Each BGP interface may use a different value.", + "annotations": { + "required": [ + "compute.routers.insert" + ] + }, + "type": "integer", + "format": "uint32" }, - "name": { + "advertisedRoutePriority": { + "description": "The priority of routes advertised to this BGP peer. Where there is more than one matching route of maximum length, the routes with the lowest priority value win.", + "type": "integer", + "format": "uint32" + }, + "advertiseMode": { + "description": "User-specified flag to indicate which mode to use for advertisement.", "type": "string", - "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" - } - } - }, - "InterconnectLocation": { - "description": "Represents an Interconnect Attachment (VLAN) Location resource. You can use this resource to find location details about an Interconnect attachment (VLAN). For more information about interconnect attachments, read Creating VLAN Attachments.", - "type": "object", - "id": "InterconnectLocation", - "properties": { - "regionInfos": { + "enumDescriptions": [ + "", + "" + ], + "enum": [ + "CUSTOM", + "DEFAULT" + ] + }, + "advertisedGroups": { + "description": "User-specified list of prefix groups to advertise in custom mode, which currently supports the following option: - ALL_SUBNETS: Advertises all of the router's own VPC subnets. This excludes any routes learned for subnets that use VPC Network Peering. Note that this field can only be populated if advertise_mode is CUSTOM and overrides the list defined for the router (in the \"bgp\" message). These groups are advertised in addition to any specified prefixes. Leave this field blank to advertise no custom groups.", "type": "array", "items": { - "$ref": "InterconnectLocationRegionInfo" - }, - "description": "[Output Only] A list of InterconnectLocation.RegionInfo objects, that describe parameters pertaining to the relation between this InterconnectLocation and various Google Cloud regions." + "type": "string", + "enumDescriptions": [ + "Advertise all available subnets (including peer VPC subnets)." + ], + "enum": [ + "ALL_SUBNETS" + ] + } }, - "peeringdbFacilityId": { - "type": "string", - "description": "[Output Only] The peeringdb identifier for this facility (corresponding with a netfac type in peeringdb)." + "advertisedIpRanges": { + "description": "User-specified list of individual IP ranges to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and overrides the list defined for the router (in the \"bgp\" message). These IP ranges are advertised in addition to any specified groups. Leave this field blank to advertise no custom IP ranges.", + "type": "array", + "items": { + "$ref": "RouterAdvertisedIpRange" + } }, - "continent": { - "enum": [ - "AFRICA", - "ASIA_PAC", - "C_AFRICA", - "C_ASIA_PAC", - "C_EUROPE", - "C_NORTH_AMERICA", - "C_SOUTH_AMERICA", - "EUROPE", - "NORTH_AMERICA", - "SOUTH_AMERICA" + "managementType": { + "description": "[Output Only] The resource that configures and manages this BGP peer. - MANAGED_BY_USER is the default value and can be managed by you or other users - MANAGED_BY_ATTACHMENT is a BGP peer that is configured and managed by Cloud Interconnect, specifically by an InterconnectAttachment of type PARTNER. Google automatically creates, updates, and deletes this type of BGP peer when the PARTNER InterconnectAttachment is created, updated, or deleted. ", + "type": "string", + "enumDescriptions": [ + "The BGP peer is automatically created for PARTNER type InterconnectAttachment; Google will automatically create/delete this BGP peer when the PARTNER InterconnectAttachment is created/deleted, and Google will update the ipAddress and peerIpAddress when the PARTNER InterconnectAttachment is provisioned. This type of BGP peer cannot be created or deleted, but can be modified for all fields except for name, ipAddress and peerIpAddress.", + "Default value, the BGP peer is manually created and managed by user." ], - "description": "[Output Only] Continent for this location, which can take one of the following values: - AFRICA - ASIA_PAC - EUROPE - NORTH_AMERICA - SOUTH_AMERICA ", + "enum": [ + "MANAGED_BY_ATTACHMENT", + "MANAGED_BY_USER" + ] + }, + "enable": { + "description": "The status of the BGP peer connection. If set to FALSE, any active session with the peer is terminated and all associated routing information is removed. If set to TRUE, the peer connection can be established with routing information. The default is TRUE.", "type": "string", "enumDescriptions": [ - "", - "", - "", - "", - "", - "", - "", - "", "", "" + ], + "enum": [ + "FALSE", + "TRUE" ] }, - "address": { - "description": "[Output Only] The postal address of the Point of Presence, each line in the address is separated by a newline character.", - "type": "string" + "bfd": { + "description": "BFD configuration for the BGP peering.", + "$ref": "RouterBgpPeerBfd" }, - "name": { - "description": "[Output Only] Name of the resource.", + "routerApplianceInstance": { + "description": "URI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances. The VM instance must be located in zones contained in the same region as this Cloud Router. The VM instance is the peer side of the BGP session.", "type": "string" }, - "facilityProviderFacilityId": { - "type": "string", - "description": "[Output Only] A provider-assigned Identifier for this facility (e.g., Ashburn-DC1)." + "enableIpv6": { + "description": "Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.", + "type": "boolean" }, - "city": { - "description": "[Output Only] Metropolitan area designator that indicates which city an interconnect is located. For example: \"Chicago, IL\", \"Amsterdam, Netherlands\".", + "ipv6NexthopAddress": { + "description": "IPv6 address of the interface inside Google Cloud Platform.", "type": "string" }, - "supportsPzs": { - "type": "boolean", - "description": "[Output Only] Set to true for locations that support physical zone separation. Defaults to false if the field is not present." + "peerIpv6NexthopAddress": { + "description": "IPv6 address of the BGP interface outside Google Cloud Platform.", + "type": "string" }, - "description": { - "type": "string", - "description": "[Output Only] An optional description of the resource." + "md5AuthenticationKeyName": { + "description": "Present if MD5 authentication is enabled for the peering. Must be the name of one of the entries in the Router.md5_authentication_keys. The field must comply with RFC1035.", + "type": "string" }, - "availabilityZone": { - "type": "string", - "description": "[Output Only] Availability zone for this InterconnectLocation. Within a metropolitan area (metro), maintenance will not be simultaneously scheduled in more than one availability zone. Example: \"zone1\" or \"zone2\"." + "customLearnedRoutePriority": { + "description": "The user-defined custom learned route priority for a BGP session. This value is applied to all custom learned route ranges for the session. You can choose a value from `0` to `65335`. If you don't provide a value, Google Cloud assigns a priority of `100` to the ranges.", + "type": "integer", + "format": "int32" }, - "selfLink": { - "description": "[Output Only] Server-defined URL for the resource.", + "customLearnedIpRanges": { + "description": "A list of user-defined custom learned route IP address ranges for a BGP session.", + "type": "array", + "items": { + "$ref": "RouterBgpPeerCustomLearnedIpRange" + } + } + } + }, + "RouterAdvertisedIpRange": { + "id": "RouterAdvertisedIpRange", + "description": "Description-tagged IP ranges for the router to advertise.", + "type": "object", + "properties": { + "range": { + "description": "The IP range to advertise. The value must be a CIDR-formatted string.", "type": "string" }, - "kind": { - "default": "compute#interconnectLocation", - "description": "[Output Only] Type of the resource. Always compute#interconnectLocation for interconnect locations.", + "description": { + "description": "User-specified description for the IP range.", "type": "string" + } + } + }, + "RouterBgpPeerBfd": { + "id": "RouterBgpPeerBfd", + "type": "object", + "properties": { + "sessionInitializationMode": { + "description": "The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is DISABLED.", + "type": "string", + "enumDescriptions": [ + "", + "", + "" + ], + "enum": [ + "ACTIVE", + "DISABLED", + "PASSIVE" + ] }, - "id": { - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", - "format": "uint64", - "type": "string" + "minTransmitInterval": { + "description": "The minimum interval, in milliseconds, between BFD control packets transmitted to the peer router. The actual value is negotiated between the two routers and is equal to the greater of this value and the corresponding receive interval of the other router. If set, this value must be between 1000 and 30000. The default is 1000.", + "type": "integer", + "format": "uint32" }, - "facilityProvider": { - "description": "[Output Only] The name of the provider for this facility (e.g., EQUINIX).", - "type": "string" + "minReceiveInterval": { + "description": "The minimum interval, in milliseconds, between BFD control packets received from the peer router. The actual value is negotiated between the two routers and is equal to the greater of this value and the transmit interval of the other router. If set, this value must be between 1000 and 30000. The default is 1000.", + "type": "integer", + "format": "uint32" }, - "creationTimestamp": { - "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "multiplier": { + "description": "The number of consecutive BFD packets that must be missed before BFD declares that a peer is unavailable. If set, the value must be a value between 5 and 16. The default is 5.", + "type": "integer", + "format": "uint32" + } + } + }, + "RouterBgpPeerCustomLearnedIpRange": { + "id": "RouterBgpPeerCustomLearnedIpRange", + "type": "object", + "properties": { + "range": { + "description": "The custom learned route IP address range. Must be a valid CIDR-formatted prefix. If an IP address is provided without a subnet mask, it is interpreted as, for IPv4, a `/32` singular IP address range, and, for IPv6, `/128`.", "type": "string" + } + } + }, + "RouterBgp": { + "id": "RouterBgp", + "type": "object", + "properties": { + "asn": { + "description": "Local BGP Autonomous System Number (ASN). Must be an RFC6996 private ASN, either 16-bit or 32-bit. The value will be fixed for this router resource. All VPN tunnels that link to this router will have the same local ASN.", + "type": "integer", + "format": "uint32" }, - "status": { - "description": "[Output Only] The status of this InterconnectLocation, which can take one of the following values: - CLOSED: The InterconnectLocation is closed and is unavailable for provisioning new Interconnects. - AVAILABLE: The InterconnectLocation is available for provisioning new Interconnects. ", + "advertiseMode": { + "description": "User-specified flag to indicate which mode to use for advertisement. The options are DEFAULT or CUSTOM.", + "type": "string", "enumDescriptions": [ - "The InterconnectLocation is available for provisioning new Interconnects.", - "The InterconnectLocation is closed for provisioning new Interconnects." + "", + "" ], - "type": "string", "enum": [ - "AVAILABLE", - "CLOSED" + "CUSTOM", + "DEFAULT" ] + }, + "advertisedGroups": { + "description": "User-specified list of prefix groups to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These groups will be advertised in addition to any specified prefixes. Leave this field blank to advertise no custom groups.", + "type": "array", + "items": { + "type": "string", + "enumDescriptions": [ + "Advertise all available subnets (including peer VPC subnets)." + ], + "enum": [ + "ALL_SUBNETS" + ] + } + }, + "advertisedIpRanges": { + "description": "User-specified list of individual IP ranges to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These IP ranges will be advertised in addition to any specified groups. Leave this field blank to advertise no custom IP ranges.", + "type": "array", + "items": { + "$ref": "RouterAdvertisedIpRange" + } + }, + "keepaliveInterval": { + "description": "The interval in seconds between BGP keepalive messages that are sent to the peer. Hold time is three times the interval at which keepalive messages are sent, and the hold time is the maximum number of seconds allowed to elapse between successive keepalive messages that BGP receives from a peer. BGP will use the smaller of either the local hold time value or the peer's hold time value as the hold time for the BGP connection between the two peers. If set, this value must be between 20 and 60. The default is 20.", + "type": "integer", + "format": "uint32" } } }, - "InstanceGroupsScopedList": { + "RouterNat": { + "id": "RouterNat", + "description": "Represents a Nat resource. It enables the VMs within the specified subnetworks to access Internet without external IP addresses. It specifies a list of subnetworks (and the ranges within) that want to use NAT. Customers can also provide the external IPs that would be used for NAT. GCP would auto-allocate ephemeral IPs if no external IPs are provided.", + "type": "object", "properties": { - "instanceGroups": { - "items": { - "$ref": "InstanceGroup" - }, - "description": "[Output Only] The list of instance groups that are contained in this scope.", - "type": "array" + "name": { + "description": "Unique name of this Nat service. The name must be 1-63 characters long and comply with RFC1035.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "type": "string" }, - "warning": { - "description": "[Output Only] An informational warning that replaces the list of instance groups when the list is empty.", - "properties": { - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, - "code": { - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], + "type": { + "description": "Indicates whether this NAT is used for public or private IP translation. If unspecified, it defaults to PUBLIC.", + "type": "string", + "enumDescriptions": [ + "NAT used for private IP translation.", + "NAT used for public IP translation. This is the default." + ], + "enum": [ + "PRIVATE", + "PUBLIC" + ] + }, + "autoNetworkTier": { + "description": "The network tier to use when automatically reserving NAT IP addresses. Must be one of: PREMIUM, STANDARD. If not specified, then the current project-level default tier is used.", + "type": "string", + "enumDescriptions": [ + "Public internet quality with fixed bandwidth.", + "High quality, Google-grade network tier, support for all networking products.", + "Public internet quality, only limited support for other networking products.", + "(Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured." + ], + "enum": [ + "FIXED_STANDARD", + "PREMIUM", + "STANDARD", + "STANDARD_OVERRIDES_FIXED_STANDARD" + ] + }, + "endpointTypes": { + "description": "List of NAT-ted endpoint types supported by the Nat Gateway. If the list is empty, then it will be equivalent to include ENDPOINT_TYPE_VM", + "type": "array", + "items": { + "type": "string", + "enumDescriptions": [ + "This is used for regional Application Load Balancers (internal and external) and regional proxy Network Load Balancers (internal and external) endpoints.", + "This is used for Secure Web Gateway endpoints.", + "This is the default." + ], + "enum": [ + "ENDPOINT_TYPE_MANAGED_PROXY_LB", + "ENDPOINT_TYPE_SWG", + "ENDPOINT_TYPE_VM" + ] + } + }, + "sourceSubnetworkIpRangesToNat": { + "description": "Specify the Nat option, which can take one of the following values: - ALL_SUBNETWORKS_ALL_IP_RANGES: All of the IP ranges in every Subnetwork are allowed to Nat. - ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES: All of the primary IP ranges in every Subnetwork are allowed to Nat. - LIST_OF_SUBNETWORKS: A list of Subnetworks are allowed to Nat (specified in the field subnetwork below) The default is SUBNETWORK_IP_RANGE_TO_NAT_OPTION_UNSPECIFIED. Note that if this field contains ALL_SUBNETWORKS_ALL_IP_RANGES then there should not be any other Router.Nat section in any Router for this network in this region.", + "type": "string", + "enumDescriptions": [ + "All the IP ranges in every Subnetwork are allowed to Nat.", + "All the primary IP ranges in every Subnetwork are allowed to Nat.", + "A list of Subnetworks are allowed to Nat (specified in the field subnetwork below)" + ], + "enum": [ + "ALL_SUBNETWORKS_ALL_IP_RANGES", + "ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES", + "LIST_OF_SUBNETWORKS" + ] + }, + "subnetworks": { + "description": "A list of Subnetwork resources whose traffic should be translated by NAT Gateway. It is used only when LIST_OF_SUBNETWORKS is selected for the SubnetworkIpRangeToNatOption above.", + "type": "array", + "items": { + "$ref": "RouterNatSubnetworkToNat" + } + }, + "natIps": { + "description": "A list of URLs of the IP resources used for this Nat service. These IP addresses must be valid static external IP addresses assigned to the project.", + "type": "array", + "items": { + "type": "string" + } + }, + "drainNatIps": { + "description": "A list of URLs of the IP resources to be drained. These IPs must be valid static external IPs that have been assigned to the NAT. These IPs should be used for updating/patching a NAT only.", + "type": "array", + "items": { + "type": "string" + } + }, + "natIpAllocateOption": { + "description": "Specify the NatIpAllocateOption, which can take one of the following values: - MANUAL_ONLY: Uses only Nat IP addresses provided by customers. When there are not enough specified Nat IPs, the Nat service fails for new VMs. - AUTO_ONLY: Nat IPs are allocated by Google Cloud Platform; customers can't specify any Nat IPs. When choosing AUTO_ONLY, then nat_ip should be empty. ", + "type": "string", + "enumDescriptions": [ + "Nat IPs are allocated by GCP; customers can not specify any Nat IPs.", + "Only use Nat IPs provided by customers. When specified Nat IPs are not enough then the Nat service fails for new VMs." + ], + "enum": [ + "AUTO_ONLY", + "MANUAL_ONLY" + ] + }, + "minPortsPerVm": { + "description": "Minimum number of ports allocated to a VM from this NAT config. If not set, a default number of ports is allocated to a VM. This is rounded up to the nearest power of 2. For example, if the value of this field is 50, at least 64 ports are allocated to a VM.", + "type": "integer", + "format": "int32" + }, + "maxPortsPerVm": { + "description": "Maximum number of ports allocated to a VM from this NAT config when Dynamic Port Allocation is enabled. If Dynamic Port Allocation is not enabled, this field has no effect. If Dynamic Port Allocation is enabled, and this field is set, it must be set to a power of two greater than minPortsPerVm, or 64 if minPortsPerVm is not set. If Dynamic Port Allocation is enabled and this field is not set, a maximum of 65536 ports will be allocated to a VM from this NAT config.", + "type": "integer", + "format": "int32" + }, + "enableDynamicPortAllocation": { + "description": "Enable Dynamic Port Allocation. If not specified, it is disabled by default. If set to true, - Dynamic Port Allocation will be enabled on this NAT config. - enableEndpointIndependentMapping cannot be set to true. - If minPorts is set, minPortsPerVm must be set to a power of two greater than or equal to 32. If minPortsPerVm is not set, a minimum of 32 ports will be allocated to a VM from this NAT config. ", + "type": "boolean" + }, + "udpIdleTimeoutSec": { + "description": "Timeout (in seconds) for UDP connections. Defaults to 30s if not set.", + "type": "integer", + "format": "int32" + }, + "icmpIdleTimeoutSec": { + "description": "Timeout (in seconds) for ICMP connections. Defaults to 30s if not set.", + "type": "integer", + "format": "int32" + }, + "tcpEstablishedIdleTimeoutSec": { + "description": "Timeout (in seconds) for TCP established connections. Defaults to 1200s if not set.", + "type": "integer", + "format": "int32" + }, + "tcpTransitoryIdleTimeoutSec": { + "description": "Timeout (in seconds) for TCP transitory connections. Defaults to 30s if not set.", + "type": "integer", + "format": "int32" + }, + "tcpTimeWaitTimeoutSec": { + "description": "Timeout (in seconds) for TCP connections that are in TIME_WAIT state. Defaults to 120s if not set.", + "type": "integer", + "format": "int32" + }, + "logConfig": { + "description": "Configure logging on this NAT.", + "$ref": "RouterNatLogConfig" + }, + "rules": { + "description": "A list of rules associated with this NAT.", + "type": "array", + "items": { + "$ref": "RouterNatRule" + } + }, + "enableEndpointIndependentMapping": { + "type": "boolean" + } + } + }, + "RouterNatSubnetworkToNat": { + "id": "RouterNatSubnetworkToNat", + "description": "Defines the IP ranges that want to use NAT for a subnetwork.", + "type": "object", + "properties": { + "name": { + "description": "URL for the subnetwork resource that will use NAT.", + "type": "string" + }, + "sourceIpRangesToNat": { + "description": "Specify the options for NAT ranges in the Subnetwork. All options of a single value are valid except NAT_IP_RANGE_OPTION_UNSPECIFIED. The only valid option with multiple values is: [\"PRIMARY_IP_RANGE\", \"LIST_OF_SECONDARY_IP_RANGES\"] Default: [ALL_IP_RANGES]", + "type": "array", + "items": { + "type": "string", + "enumDescriptions": [ + "The primary and all the secondary ranges are allowed to Nat.", + "A list of secondary ranges are allowed to Nat.", + "The primary range is allowed to Nat." + ], + "enum": [ + "ALL_IP_RANGES", + "LIST_OF_SECONDARY_IP_RANGES", + "PRIMARY_IP_RANGE" + ] + } + }, + "secondaryIpRangeNames": { + "description": "A list of the secondary ranges of the Subnetwork that are allowed to use NAT. This can be populated only if \"LIST_OF_SECONDARY_IP_RANGES\" is one of the values in source_ip_ranges_to_nat.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "RouterNatLogConfig": { + "id": "RouterNatLogConfig", + "description": "Configuration of logging on a NAT.", + "type": "object", + "properties": { + "enable": { + "description": "Indicates whether or not to export logs. This is false by default.", + "type": "boolean" + }, + "filter": { + "description": "Specify the desired filtering of logs on this NAT. If unspecified, logs are exported for all connections handled by this NAT. This option can take one of the following values: - ERRORS_ONLY: Export logs only for connection failures. - TRANSLATIONS_ONLY: Export logs only for successful connections. - ALL: Export logs for all connections, successful and unsuccessful. ", + "type": "string", + "enumDescriptions": [ + "Export logs for all (successful and unsuccessful) connections.", + "Export logs for connection failures only.", + "Export logs for successful connections only." + ], + "enum": [ + "ALL", + "ERRORS_ONLY", + "TRANSLATIONS_ONLY" + ] + } + } + }, + "RouterNatRule": { + "id": "RouterNatRule", + "type": "object", + "properties": { + "ruleNumber": { + "description": "An integer uniquely identifying a rule in the list. The rule number must be a positive value between 0 and 65000, and must be unique among rules within a NAT.", + "type": "integer", + "format": "uint32" + }, + "description": { + "description": "An optional description of this rule.", + "type": "string" + }, + "match": { + "description": "CEL expression that specifies the match condition that egress traffic from a VM is evaluated against. If it evaluates to true, the corresponding `action` is enforced. The following examples are valid match expressions for public NAT: \"inIpRange(destination.ip, '1.1.0.0/16') || inIpRange(destination.ip, '2.2.0.0/16')\" \"destination.ip == '1.1.0.1' || destination.ip == '8.8.8.8'\" The following example is a valid match expression for private NAT: \"nexthop.hub == '//networkconnectivity.googleapis.com/projects/my-project/locations/global/hubs/hub-1'\"", + "type": "string" + }, + "action": { + "description": "The action to be enforced for traffic that matches this rule.", + "$ref": "RouterNatRuleAction" + } + } + }, + "RouterNatRuleAction": { + "id": "RouterNatRuleAction", + "type": "object", + "properties": { + "sourceNatActiveIps": { + "description": "A list of URLs of the IP resources used for this NAT rule. These IP addresses must be valid static external IP addresses assigned to the project. This field is used for public NAT.", + "type": "array", + "items": { + "type": "string" + } + }, + "sourceNatDrainIps": { + "description": "A list of URLs of the IP resources to be drained. These IPs must be valid static external IPs that have been assigned to the NAT. These IPs should be used for updating/patching a NAT rule only. This field is used for public NAT.", + "type": "array", + "items": { + "type": "string" + } + }, + "sourceNatActiveRanges": { + "description": "A list of URLs of the subnetworks used as source ranges for this NAT Rule. These subnetworks must have purpose set to PRIVATE_NAT. This field is used for private NAT.", + "type": "array", + "items": { + "type": "string" + } + }, + "sourceNatDrainRanges": { + "description": "A list of URLs of subnetworks representing source ranges to be drained. This is only supported on patch/update, and these subnetworks must have previously been used as active ranges in this NAT Rule. This field is used for private NAT.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "RouterMd5AuthenticationKey": { + "id": "RouterMd5AuthenticationKey", + "type": "object", + "properties": { + "name": { + "description": "Name used to identify the key. Must be unique within a router. Must be referenced by exactly one bgpPeer. Must comply with RFC1035.", + "annotations": { + "required": [ + "compute.routers.insert", + "compute.routers.update" + ] + }, + "type": "string" + }, + "key": { + "description": "[Input only] Value of the key. For patch and update calls, it can be skipped to copy the value from the previous configuration. This is allowed if the key with the same name existed before the operation. Maximum length is 80 characters. Can only contain printable ASCII characters.", + "annotations": { + "required": [ + "compute.routers.insert" + ] + }, + "type": "string" + } + } + }, + "RouterList": { + "id": "RouterList", + "description": "Contains a list of Router resources.", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of resource. Always compute#router for routers.", + "default": "compute#routerList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of Router resources.", + "type": "array", + "items": { + "$ref": "Router" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, + "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", + "properties": { + "code": { "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -33210,6 +33427,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -33228,46 +33446,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "type": "string" - }, - "data": { - "items": { - "type": "object", - "properties": { - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - }, - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - } - } - }, - "type": "array", - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } " - } - }, - "type": "object" - } - }, - "type": "object", - "id": "InstanceGroupsScopedList" - }, - "ServiceAttachmentsScopedList": { - "type": "object", - "properties": { - "warning": { - "type": "object", - "description": "Informational warning which replaces the list of service attachments when the list is empty.", - "properties": { - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, - "code": { - "type": "string", - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -33279,6 +33487,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -33296,7 +33505,70 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + } + } + }, + "RouterAggregatedList": { + "id": "RouterAggregatedList", + "description": "Contains a list of routers.", + "type": "object", + "properties": { + "kind": { + "description": "Type of resource.", + "default": "compute#routerAggregatedList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of Router resources.", + "type": "object", + "additionalProperties": { + "description": "Name of the scope containing this set of routers.", + "$ref": "RoutersScopedList" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, + "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -33308,6 +33580,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -33325,123 +33598,37 @@ "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", "When undeclared properties in the schema are present", "A given scope cannot be reached." - ] - }, - "data": { - "type": "array", - "items": { - "properties": { - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - }, - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - } - }, - "type": "object" - }, - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } " - } - } - }, - "serviceAttachments": { - "items": { - "$ref": "ServiceAttachment" - }, - "type": "array", - "description": "A list of ServiceAttachments contained in this scope." - } - }, - "id": "ServiceAttachmentsScopedList" - }, - "HTTP2HealthCheck": { - "properties": { - "portSpecification": { - "enumDescriptions": [ - "The port number in the health check's port is used for health checking. Applies to network endpoint group and instance group backends.", - "Not supported.", - "For network endpoint group backends, the health check uses the port number specified on each endpoint in the network endpoint group. For instance group backends, the health check uses the port number specified for the backend service's named port defined in the instance group's named ports." - ], - "enum": [ - "USE_FIXED_PORT", - "USE_NAMED_PORT", - "USE_SERVING_PORT" - ], - "type": "string", - "description": "Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports." - }, - "response": { - "description": "Creates a content-based HTTP/2 health check. In addition to the required HTTP 200 (OK) status code, you can configure the health check to pass only when the backend sends this specific ASCII response string within the first 1024 bytes of the HTTP response body. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-http", - "type": "string" - }, - "requestPath": { - "type": "string", - "description": "The request path of the HTTP/2 health check request. The default value is /." - }, - "port": { - "format": "int32", - "type": "integer", - "description": "The TCP port number to which the health check prober sends packets. The default value is 443. Valid values are 1 through 65535." - }, - "portName": { - "description": "Not supported.", - "type": "string" - }, - "proxyHeader": { - "enumDescriptions": [ - "", - "" - ], - "enum": [ - "NONE", - "PROXY_V1" - ], - "type": "string", - "description": "Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE." - }, - "host": { - "description": "The value of the host header in the HTTP/2 health check request. If left empty (default value), the host header is set to the destination IP address to which health check packets are sent. The destination IP address depends on the type of load balancer. For details, see: https://cloud.google.com/load-balancing/docs/health-check-concepts#hc-packet-dest", - "type": "string" - } - }, - "id": "HTTP2HealthCheck", - "type": "object" - }, - "BackendBucketList": { - "description": "Contains a list of BackendBucket resources.", - "type": "object", - "properties": { - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." - }, - "warning": { - "type": "object", - "properties": { - "data": { - "items": { - "properties": { - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - }, - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - } - }, - "type": "object" - }, - "type": "array", - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } " - }, - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, - "code": { + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -33453,6 +33640,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -33470,103 +33658,58 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], - "type": "string", - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response." + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } } - }, - "description": "[Output Only] Informational warning message." - }, - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", - "type": "string" - }, - "kind": { - "type": "string", - "default": "compute#backendBucketList", - "description": "Type of resource." + } }, - "items": { + "unreachables": { + "description": "[Output Only] Unreachable resources.", "type": "array", - "description": "A list of BackendBucket resources.", "items": { - "$ref": "BackendBucket" + "type": "string" } - }, - "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", - "type": "string" } - }, - "id": "BackendBucketList" + } }, - "InstanceGroupAggregatedList": { + "RoutersScopedList": { + "id": "RoutersScopedList", + "type": "object", "properties": { - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", - "type": "string" - }, - "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." - }, - "unreachables": { + "routers": { + "description": "A list of routers contained in this scope.", + "type": "array", "items": { - "type": "string" - }, - "description": "[Output Only] Unreachable resources.", - "type": "array" - }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." - }, - "kind": { - "description": "[Output Only] The resource type, which is always compute#instanceGroupAggregatedList for aggregated lists of instance groups.", - "type": "string", - "default": "compute#instanceGroupAggregatedList" - }, - "items": { - "type": "object", - "description": "A list of InstanceGroupsScopedList resources.", - "additionalProperties": { - "$ref": "InstanceGroupsScopedList", - "description": "The name of the scope that contains this set of instance groups." + "$ref": "Router" } }, "warning": { + "description": "Informational warning which replaces the list of routers when the list is empty.", "type": "object", "properties": { "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -33578,6 +33721,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -33596,6 +33740,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -33607,6 +33781,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -33624,9 +33799,7 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], - "type": "string", - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response." + ] }, "message": { "description": "[Output Only] A human-readable description of the warning code.", @@ -33634,436 +33807,594 @@ }, "data": { "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", "items": { + "type": "object", "properties": { - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - }, "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" } - }, - "type": "object" - }, - "type": "array" + } + } } - }, - "description": "[Output Only] Informational warning message." + } } - }, - "type": "object", - "id": "InstanceGroupAggregatedList" + } }, - "PacketMirroringAggregatedList": { - "description": "Contains a list of packetMirrorings.", + "RouterStatusResponse": { + "id": "RouterStatusResponse", + "type": "object", "properties": { "kind": { - "default": "compute#packetMirroringAggregatedList", "description": "Type of resource.", + "default": "compute#routerStatusResponse", "type": "string" }, - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", + "result": { + "$ref": "RouterStatus" + } + } + }, + "RouterStatus": { + "id": "RouterStatus", + "type": "object", + "properties": { + "network": { + "description": "URI of the network to which this router belongs.", "type": "string" }, - "items": { - "additionalProperties": { - "description": "Name of the scope containing this set of packetMirrorings.", - "$ref": "PacketMirroringsScopedList" - }, - "description": "A list of PacketMirroring resources.", - "type": "object" - }, - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." - }, - "warning": { - "description": "[Output Only] Informational warning message.", - "properties": { - "code": { - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "type": "string", - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ] - }, - "data": { - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "type": "array", - "items": { - "properties": { - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - }, - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - } - }, - "type": "object" - } - }, - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - } - }, - "type": "object" - }, - "unreachables": { + "bestRoutes": { + "description": "Best routes for this router's network.", + "type": "array", "items": { - "type": "string" - }, + "$ref": "Route" + } + }, + "bestRoutesForRouter": { + "description": "Best routes learned by this router.", "type": "array", - "description": "[Output Only] Unreachable resources." + "items": { + "$ref": "Route" + } }, - "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", - "type": "string" - } - }, - "id": "PacketMirroringAggregatedList", - "type": "object" - }, - "RouterNatRuleAction": { - "properties": { - "sourceNatDrainIps": { + "bgpPeerStatus": { "type": "array", "items": { - "type": "string" - }, - "description": "A list of URLs of the IP resources to be drained. These IPs must be valid static external IPs that have been assigned to the NAT. These IPs should be used for updating/patching a NAT rule only. This field is used for public NAT." + "$ref": "RouterStatusBgpPeerStatus" + } }, - "sourceNatActiveIps": { - "description": "A list of URLs of the IP resources used for this NAT rule. These IP addresses must be valid static external IP addresses assigned to the project. This field is used for public NAT.", + "natStatus": { + "type": "array", "items": { - "type": "string" - }, - "type": "array" + "$ref": "RouterStatusNatStatus" + } } - }, - "id": "RouterNatRuleAction", - "type": "object" + } }, - "DiskInstantiationConfig": { - "id": "DiskInstantiationConfig", + "RouterStatusBgpPeerStatus": { + "id": "RouterStatusBgpPeerStatus", "type": "object", - "description": "A specification of the desired way to instantiate a disk in the instance template when its created from a source instance.", "properties": { - "deviceName": { - "description": "Specifies the device name of the disk to which the configurations apply to.", + "name": { + "description": "Name of this BGP peer. Unique within the Routers resource.", "type": "string" }, - "autoDelete": { - "type": "boolean", - "description": "Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance)." - }, - "instantiateFrom": { - "enum": [ - "ATTACH_READ_ONLY", - "BLANK", - "CUSTOM_IMAGE", - "DEFAULT", - "DO_NOT_INCLUDE", - "SOURCE_IMAGE", - "SOURCE_IMAGE_FAMILY" - ], - "type": "string", - "enumDescriptions": [ - "Attach the existing disk in read-only mode. The request will fail if the disk was attached in read-write mode on the source instance. Applicable to: read-only disks.", - "Create a blank disk. The disk will be created unformatted. Applicable to: additional read-write disks, local SSDs.", - "Use the custom image specified in the custom_image field. Applicable to: boot disk, additional read-write disks.", - "Use the default instantiation option for the corresponding type of disk. For boot disk and any other R/W disks, new custom images will be created from each disk. For read-only disks, they will be attached in read-only mode. Local SSD disks will be created as blank volumes.", - "Do not include the disk in the instance template. Applicable to: additional read-write disks, local SSDs, read-only disks.", - "Use the same source image used for creation of the source instance's corresponding disk. The request will fail if the source VM's disk was created from a snapshot. Applicable to: boot disk, additional read-write disks.", - "Use the same source image family used for creation of the source instance's corresponding disk. The request will fail if the source image of the source disk does not belong to any image family. Applicable to: boot disk, additional read-write disks." - ], - "description": "Specifies whether to include the disk and what image to use. Possible values are: - source-image: to use the same image that was used to create the source instance's corresponding disk. Applicable to the boot disk and additional read-write disks. - source-image-family: to use the same image family that was used to create the source instance's corresponding disk. Applicable to the boot disk and additional read-write disks. - custom-image: to use a user-provided image url for disk creation. Applicable to the boot disk and additional read-write disks. - attach-read-only: to attach a read-only disk. Applicable to read-only disks. - do-not-include: to exclude a disk from the template. Applicable to additional read-write disks, local SSDs, and read-only disks. " + "linkedVpnTunnel": { + "description": "URL of the VPN tunnel that this BGP peer controls.", + "type": "string" }, - "customImage": { - "type": "string", - "description": "The custom source image to be used to restore this disk when instantiating this instance template." - } - } - }, - "RegionDisksRemoveResourcePoliciesRequest": { - "id": "RegionDisksRemoveResourcePoliciesRequest", - "type": "object", - "properties": { - "resourcePolicies": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Resource policies to be removed from this disk." - } - } - }, - "InstanceConsumptionData": { - "properties": { - "consumptionInfo": { - "$ref": "InstanceConsumptionInfo", - "description": "Resources consumed by the instance." + "routerApplianceInstance": { + "description": "[Output only] URI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances. The VM instance is the peer side of the BGP session.", + "type": "string" }, - "instance": { - "type": "string", - "description": "Server-defined URL for the instance." - } - }, - "id": "InstanceConsumptionData", - "type": "object" - }, - "AttachedDiskInitializeParams": { - "description": "[Input Only] Specifies the parameters for a new disk that will be created alongside the new instance. Use initialization parameters to create boot disks or local SSDs attached to the new instance. This field is persisted and returned for instanceTemplate and not returned in the context of instance. This property is mutually exclusive with the source property; you can only define one or the other, but not both.", - "properties": { - "description": { - "type": "string", - "description": "An optional description. Provide this property when creating the disk." + "ipAddress": { + "description": "IP address of the local BGP interface.", + "type": "string" }, - "sourceSnapshot": { - "type": "string", - "description": "The source snapshot to create this disk. When creating a new instance, one of initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.source is required except for local SSD. To create a disk with a snapshot that you created, specify the snapshot name in the following format: global/snapshots/my-backup If the source snapshot is deleted later, this field will not be set." + "peerIpAddress": { + "description": "IP address of the remote BGP interface.", + "type": "string" }, - "sourceImage": { - "description": "The source image to create this disk. When creating a new instance, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required except for local SSD. To create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/debian-9 to use the latest Debian 9 image: projects/debian-cloud/global/images/family/debian-9 Alternatively, use a specific version of a public operating system image: projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD To create a disk with a custom image that you created, specify the image name in the following format: global/images/my-custom-image You can also specify a custom image by its image family, which returns the latest version of the image in that family. Replace the image name with family/family-name: global/images/family/my-image-family If the source image is deleted later, this field will not be set.", + "ipv6NexthopAddress": { + "description": "IPv6 address of the local BGP interface.", "type": "string" }, - "resourceManagerTags": { - "description": "Resource manager tags to be bound to the disk. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty.", - "type": "object", - "additionalProperties": { - "type": "string" - } + "peerIpv6NexthopAddress": { + "description": "IPv6 address of the remote BGP interface.", + "type": "string" }, - "licenses": { - "description": "A list of publicly visible licenses. Reserved for Google's use.", - "items": { - "type": "string" - }, - "type": "array" + "enableIpv6": { + "description": "Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.", + "type": "boolean" }, - "architecture": { + "status": { + "description": "Status of the BGP peer: {UP, DOWN}", "type": "string", - "enum": [ - "ARCHITECTURE_UNSPECIFIED", - "ARM64", - "X86_64" - ], "enumDescriptions": [ - "Default value indicating Architecture is not set.", - "Machines with architecture ARM64", - "Machines with architecture X86_64" + "", + "", + "" ], - "description": "The architecture of the attached disk. Valid values are arm64 or x86_64." + "enum": [ + "DOWN", + "UNKNOWN", + "UP" + ] }, - "resourcePolicies": { - "items": { - "type": "string" - }, - "type": "array", - "description": "Resource policies applied to this disk for automatic snapshot creations. Specified using the full or partial URL. For instance template, specify only the resource policy name." + "state": { + "description": "The state of the BGP session. For a list of possible values for this field, see BGP session states.", + "type": "string" }, - "provisionedIops": { - "description": "Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. Values must be between 10,000 and 120,000. For more details, see the Extreme persistent disk documentation.", - "format": "int64", + "uptime": { + "description": "Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds", "type": "string" }, - "diskSizeGb": { - "format": "int64", - "type": "string", - "description": "Specifies the size of the disk in base-2 GB. The size must be at least 10 GB. If you specify a sourceImage, which is required for boot disks, the default size is the size of the sourceImage. If you do not specify a sourceImage, the default disk size is 500 GB." + "uptimeSeconds": { + "description": "Time this session has been up, in seconds. Format: 145", + "type": "string" }, - "diskType": { - "type": "string", - "description": "Specifies the disk type to use to create the instance. If not specified, the default is pd-standard, specified using the full URL. For example: https://www.googleapis.com/compute/v1/projects/project/zones/zone /diskTypes/pd-standard For a full list of acceptable values, see Persistent disk types. If you specify this field when creating a VM, you can provide either the full or partial URL. For example, the following values are valid: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /diskTypes/diskType - projects/project/zones/zone/diskTypes/diskType - zones/zone/diskTypes/diskType If you specify this field when creating or updating an instance template or all-instances configuration, specify the type of the disk, not the URL. For example: pd-standard." + "numLearnedRoutes": { + "description": "Number of routes learned from the remote BGP Peer.", + "type": "integer", + "format": "uint32" }, - "sourceImageEncryptionKey": { - "description": "The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key. InstanceTemplate and InstancePropertiesPatch do not store customer-supplied encryption keys, so you cannot create disks for instances in a managed instance group if the source images are encrypted with your own keys.", - "$ref": "CustomerEncryptionKey" + "advertisedRoutes": { + "description": "Routes that were advertised to the remote BGP peer", + "type": "array", + "items": { + "$ref": "Route" + } }, - "sourceSnapshotEncryptionKey": { - "description": "The customer-supplied encryption key of the source snapshot.", - "$ref": "CustomerEncryptionKey" + "bfdStatus": { + "$ref": "BfdStatus" }, - "diskName": { - "description": "Specifies the disk name. If not specified, the default is to use the name of the instance. If a disk with the same name already exists in the given region, the existing disk is attached to the new instance and the new disk is not created.", - "type": "string" + "md5AuthEnabled": { + "description": "Informs whether MD5 authentication is enabled on this BGP peer.", + "type": "boolean" }, - "onUpdateAction": { - "enum": [ - "RECREATE_DISK", - "RECREATE_DISK_IF_SOURCE_CHANGED", - "USE_EXISTING_DISK" - ], - "description": "Specifies which action to take on instance update with this disk. Default is to use the existing disk.", + "statusReason": { + "description": "Indicates why particular status was returned.", + "type": "string", "enumDescriptions": [ - "Always recreate the disk.", - "Recreate the disk if source (image, snapshot) of this disk is different from source of existing disk.", - "Use the existing disk, this is the default behaviour." + "Indicates internal problems with configuration of MD5 authentication. This particular reason can only be returned when md5AuthEnabled is true and status is DOWN.", + "" ], - "type": "string" - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Labels to apply to this disk. These can be later modified by the disks.setLabels method. This field is only applicable for persistent disks.", - "type": "object" - } - }, - "id": "AttachedDiskInitializeParams", - "type": "object" - }, - "InstanceManagedByIgmErrorManagedInstanceError": { - "properties": { - "message": { - "type": "string", - "description": "[Output Only] Error message." - }, - "code": { - "type": "string", - "description": "[Output Only] Error code." + "enum": [ + "MD5_AUTH_INTERNAL_PROBLEM", + "STATUS_REASON_UNSPECIFIED" + ] } - }, - "type": "object", - "id": "InstanceManagedByIgmErrorManagedInstanceError" + } }, - "BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy": { + "BfdStatus": { + "id": "BfdStatus", + "description": "Next free: 15", "type": "object", "properties": { - "data": { + "uptimeMs": { + "description": "Session uptime in milliseconds. Value will be 0 if session is not up.", "type": "string", - "description": "An optional, arbitrary JSON object with configuration data, understood by a locally installed custom policy implementation." + "format": "int64" }, - "name": { - "description": "Identifies the custom policy. The value should match the type the custom implementation is registered with on the gRPC clients. It should follow protocol buffer message naming conventions and include the full path (e.g. myorg.CustomLbPolicy). The maximum length is 256 characters. Note that specifying the same custom policy more than once for a backend is not a valid configuration and will be rejected.", - "type": "string" - } - }, - "description": "The configuration for a custom policy implemented by the user and deployed with the client.", - "id": "BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy" - }, - "WafExpressionSetExpression": { - "id": "WafExpressionSetExpression", - "type": "object", - "properties": { - "id": { - "description": "Expression ID should uniquely identify the origin of the expression. E.g. owasp-crs-v020901-id973337 identifies Owasp core rule set version 2.9.1 rule id 973337. The ID could be used to determine the individual attack definition that has been detected. It could also be used to exclude it from the policy in case of false positive. required", - "type": "string" - } - } - }, - "VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings": { - "properties": { - "natIpPortRanges": { - "description": "A list of all IP:port-range mappings assigned to this interface by this rule. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: [\"2.2.2.2:12345-12355\", \"1.1.1.1:2234-2234\"].", - "items": { - "type": "string" - }, - "type": "array" + "localState": { + "description": "The current BFD session state as seen by the transmitting system. These states are specified in section 4.1 of RFC5880", + "type": "string", + "enumDescriptions": [ + "", + "", + "", + "", + "" + ], + "enum": [ + "ADMIN_DOWN", + "DOWN", + "INIT", + "STATE_UNSPECIFIED", + "UP" + ] }, - "numTotalNatPorts": { - "description": "Total number of ports across all NAT IPs allocated to this interface by this rule. It equals the aggregated port number in the field nat_ip_port_ranges.", - "format": "int32", - "type": "integer" + "localDiagnostic": { + "description": "The diagnostic code specifies the local system's reason for the last change in session state. This allows remote systems to determine the reason that the previous session failed, for example. These diagnostic codes are specified in section 4.1 of RFC5880", + "type": "string", + "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "enum": [ + "ADMINISTRATIVELY_DOWN", + "CONCATENATED_PATH_DOWN", + "CONTROL_DETECTION_TIME_EXPIRED", + "DIAGNOSTIC_UNSPECIFIED", + "ECHO_FUNCTION_FAILED", + "FORWARDING_PLANE_RESET", + "NEIGHBOR_SIGNALED_SESSION_DOWN", + "NO_DIAGNOSTIC", + "PATH_DOWN", + "REVERSE_CONCATENATED_PATH_DOWN" + ] }, - "drainNatIpPortRanges": { - "description": "List of all drain IP:port-range mappings assigned to this interface by this rule. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: [\"2.2.2.2:12345-12355\", \"1.1.1.1:2234-2234\"].", + "controlPacketCounts": { + "description": "Control packet counts for the current BFD session.", + "$ref": "BfdStatusPacketCounts" + }, + "txPacket": { + "description": "The most recent Tx control packet for this BFD session.", + "$ref": "BfdPacket" + }, + "rxPacket": { + "description": "The most recent Rx control packet for this BFD session.", + "$ref": "BfdPacket" + }, + "controlPacketIntervals": { + "description": "Inter-packet time interval statistics for control packets.", + "type": "array", + "items": { + "$ref": "PacketIntervals" + } + }, + "negotiatedLocalControlTxIntervalMs": { + "description": "Negotiated transmit interval for control packets.", + "type": "integer", + "format": "uint32" + }, + "bfdSessionInitializationMode": { + "description": "The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer.", + "type": "string", + "enumDescriptions": [ + "", + "", + "" + ], + "enum": [ + "ACTIVE", + "DISABLED", + "PASSIVE" + ] + }, + "configUpdateTimestampMicros": { + "description": "Unix timestamp of the most recent config update.", + "type": "string", + "format": "int64" + } + } + }, + "BfdStatusPacketCounts": { + "id": "BfdStatusPacketCounts", + "type": "object", + "properties": { + "numTx": { + "description": "Number of packets transmitted since the beginning of the current BFD session.", + "type": "integer", + "format": "uint32" + }, + "numRx": { + "description": "Number of packets received since the beginning of the current BFD session.", + "type": "integer", + "format": "uint32" + }, + "numRxSuccessful": { + "description": "Number of packets received that were successfully processed since the beginning of the current BFD session.", + "type": "integer", + "format": "uint32" + }, + "numRxRejected": { + "description": "Number of packets received that were rejected because of errors since the beginning of the current BFD session.", + "type": "integer", + "format": "uint32" + } + } + }, + "BfdPacket": { + "id": "BfdPacket", + "type": "object", + "properties": { + "version": { + "description": "The version number of the BFD protocol, as specified in section 4.1 of RFC5880.", + "type": "integer", + "format": "uint32" + }, + "diagnostic": { + "description": "The diagnostic code specifies the local system's reason for the last change in session state. This allows remote systems to determine the reason that the previous session failed, for example. These diagnostic codes are specified in section 4.1 of RFC5880", + "type": "string", + "enumDescriptions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "enum": [ + "ADMINISTRATIVELY_DOWN", + "CONCATENATED_PATH_DOWN", + "CONTROL_DETECTION_TIME_EXPIRED", + "DIAGNOSTIC_UNSPECIFIED", + "ECHO_FUNCTION_FAILED", + "FORWARDING_PLANE_RESET", + "NEIGHBOR_SIGNALED_SESSION_DOWN", + "NO_DIAGNOSTIC", + "PATH_DOWN", + "REVERSE_CONCATENATED_PATH_DOWN" + ] + }, + "state": { + "description": "The current BFD session state as seen by the transmitting system. These states are specified in section 4.1 of RFC5880", + "type": "string", + "enumDescriptions": [ + "", + "", + "", + "", + "" + ], + "enum": [ + "ADMIN_DOWN", + "DOWN", + "INIT", + "STATE_UNSPECIFIED", + "UP" + ] + }, + "poll": { + "description": "The Poll bit of the BFD packet. This is specified in section 4.1 of RFC5880", + "type": "boolean" + }, + "final": { + "description": "The Final bit of the BFD packet. This is specified in section 4.1 of RFC5880", + "type": "boolean" + }, + "controlPlaneIndependent": { + "description": "The Control Plane Independent bit of the BFD packet. This is specified in section 4.1 of RFC5880", + "type": "boolean" + }, + "authenticationPresent": { + "description": "The Authentication Present bit of the BFD packet. This is specified in section 4.1 of RFC5880", + "type": "boolean" + }, + "demand": { + "description": "The demand bit of the BFD packet. This is specified in section 4.1 of RFC5880", + "type": "boolean" + }, + "multipoint": { + "description": "The multipoint bit of the BFD packet. This is specified in section 4.1 of RFC5880", + "type": "boolean" + }, + "multiplier": { + "description": "The detection time multiplier of the BFD packet. This is specified in section 4.1 of RFC5880", + "type": "integer", + "format": "uint32" + }, + "length": { + "description": "The length of the BFD Control packet in bytes. This is specified in section 4.1 of RFC5880", + "type": "integer", + "format": "uint32" + }, + "myDiscriminator": { + "description": "The My Discriminator value in the BFD packet. This is specified in section 4.1 of RFC5880", + "type": "integer", + "format": "uint32" + }, + "yourDiscriminator": { + "description": "The Your Discriminator value in the BFD packet. This is specified in section 4.1 of RFC5880", + "type": "integer", + "format": "uint32" + }, + "minTxIntervalMs": { + "description": "The Desired Min TX Interval value in the BFD packet. This is specified in section 4.1 of RFC5880", + "type": "integer", + "format": "uint32" + }, + "minRxIntervalMs": { + "description": "The Required Min RX Interval value in the BFD packet. This is specified in section 4.1 of RFC5880", + "type": "integer", + "format": "uint32" + }, + "minEchoRxIntervalMs": { + "description": "The Required Min Echo RX Interval value in the BFD packet. This is specified in section 4.1 of RFC5880", + "type": "integer", + "format": "uint32" + } + } + }, + "PacketIntervals": { + "id": "PacketIntervals", + "description": "Next free: 7", + "type": "object", + "properties": { + "type": { + "description": "The type of packets for which inter-packet intervals were computed.", + "type": "string", + "enumDescriptions": [ + "Only applies to Echo packets. This shows the intervals between sending and receiving the same packet.", + "Intervals between received packets.", + "Intervals between transmitted packets.", + "" + ], + "enum": [ + "LOOPBACK", + "RECEIVE", + "TRANSMIT", + "TYPE_UNSPECIFIED" + ] + }, + "duration": { + "description": "From how long ago in the past these intervals were observed.", + "type": "string", + "enumDescriptions": [ + "", + "", + "From BfdSession object creation time.", + "" + ], + "enum": [ + "DURATION_UNSPECIFIED", + "HOUR", + "MAX", + "MINUTE" + ] + }, + "numIntervals": { + "description": "Number of inter-packet intervals from which these statistics were derived.", + "type": "string", + "format": "int64" + }, + "minMs": { + "description": "Minimum observed inter-packet interval in milliseconds.", + "type": "string", + "format": "int64" + }, + "maxMs": { + "description": "Maximum observed inter-packet interval in milliseconds.", + "type": "string", + "format": "int64" + }, + "avgMs": { + "description": "Average observed inter-packet interval in milliseconds.", + "type": "string", + "format": "int64" + } + } + }, + "RouterStatusNatStatus": { + "id": "RouterStatusNatStatus", + "description": "Status of a NAT contained in this router.", + "type": "object", + "properties": { + "name": { + "description": "Unique name of this NAT.", + "type": "string" + }, + "userAllocatedNatIpResources": { + "description": "A list of fully qualified URLs of reserved IP address resources.", "type": "array", "items": { "type": "string" } }, - "numTotalDrainNatPorts": { - "format": "int32", - "description": "Total number of drain ports across all NAT IPs allocated to this interface by this rule. It equals the aggregated port number in the field drain_nat_ip_port_ranges.", - "type": "integer" + "drainUserAllocatedNatIps": { + "description": "A list of IPs user-allocated for NAT that are in drain mode. Example: [\"1.1.1.1\", \"179.12.26.133\"].", + "type": "array", + "items": { + "type": "string" + } + }, + "userAllocatedNatIps": { + "description": "A list of IPs user-allocated for NAT. They will be raw IP strings like \"179.12.26.133\".", + "type": "array", + "items": { + "type": "string" + } + }, + "autoAllocatedNatIps": { + "description": "A list of IPs auto-allocated for NAT. Example: [\"1.1.1.1\", \"129.2.16.89\"]", + "type": "array", + "items": { + "type": "string" + } + }, + "drainAutoAllocatedNatIps": { + "description": "A list of IPs auto-allocated for NAT that are in drain mode. Example: [\"1.1.1.1\", \"179.12.26.133\"].", + "type": "array", + "items": { + "type": "string" + } + }, + "minExtraNatIpsNeeded": { + "description": "The number of extra IPs to allocate. This will be greater than 0 only if user-specified IPs are NOT enough to allow all configured VMs to use NAT. This value is meaningful only when auto-allocation of NAT IPs is *not* used.", + "type": "integer", + "format": "int32" + }, + "numVmEndpointsWithNatMappings": { + "description": "Number of VM endpoints (i.e., Nics) that can use NAT.", + "type": "integer", + "format": "int32" }, + "ruleStatus": { + "description": "Status of rules in this NAT.", + "type": "array", + "items": { + "$ref": "RouterStatusNatStatusNatRuleStatus" + } + } + } + }, + "RouterStatusNatStatusNatRuleStatus": { + "id": "RouterStatusNatStatusNatRuleStatus", + "description": "Status of a NAT Rule contained in this NAT.", + "type": "object", + "properties": { "ruleNumber": { - "format": "int32", + "description": "Rule number of the rule.", + "type": "integer", + "format": "int32" + }, + "activeNatIps": { + "description": "A list of active IPs for NAT. Example: [\"1.1.1.1\", \"179.12.26.133\"].", + "type": "array", + "items": { + "type": "string" + } + }, + "drainNatIps": { + "description": "A list of IPs for NAT that are in drain mode. Example: [\"1.1.1.1\", \"179.12.26.133\"].", + "type": "array", + "items": { + "type": "string" + } + }, + "minExtraIpsNeeded": { + "description": "The number of extra IPs to allocate. This will be greater than 0 only if the existing IPs in this NAT Rule are NOT enough to allow all configured VMs to use NAT.", "type": "integer", - "description": "Rule number of the NAT Rule." + "format": "int32" + }, + "numVmEndpointsWithNatMappings": { + "description": "Number of VM endpoints (i.e., NICs) that have NAT Mappings from this NAT Rule.", + "type": "integer", + "format": "int32" } - }, - "id": "VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings", - "description": "Contains information of NAT Mappings provided by a NAT Rule.", - "type": "object" + } }, - "UrlMapList": { - "description": "Contains a list of UrlMap resources.", - "id": "UrlMapList", + "VmEndpointNatMappingsList": { + "id": "VmEndpointNatMappingsList", + "description": "Contains a list of VmEndpointNatMappings.", "type": "object", "properties": { - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "kind": { + "description": "[Output Only] Type of resource. Always compute#vmEndpointNatMappingsList for lists of Nat mappings of VM endpoints.", + "default": "compute#vmEndpointNatMappingsList", "type": "string" }, "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", "type": "string" }, - "kind": { - "default": "compute#urlMapList", - "description": "Type of resource.", + "result": { + "description": "[Output Only] A list of Nat mapping information of VM endpoints.", + "type": "array", + "items": { + "$ref": "VmEndpointNatMappings" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", "type": "string" }, "selfLink": { @@ -34072,29 +34403,11 @@ }, "warning": { "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { - "data": { - "items": { - "properties": { - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - }, - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - } - }, - "type": "object" - }, - "type": "array", - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } " - }, - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - }, "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -34106,6 +34419,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -34124,7 +34438,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -34136,6 +34479,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -34153,483 +34497,242 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } } - }, - "type": "object" + } + } + } + }, + "VmEndpointNatMappings": { + "id": "VmEndpointNatMappings", + "description": "Contain information of Nat mapping for a VM endpoint (i.e., NIC).", + "type": "object", + "properties": { + "instanceName": { + "description": "Name of the VM instance which the endpoint belongs to", + "type": "string" }, - "items": { + "interfaceNatMappings": { "type": "array", - "description": "A list of UrlMap resources.", "items": { - "$ref": "UrlMap" + "$ref": "VmEndpointNatMappingsInterfaceNatMappings" } } } }, - "InterconnectAttachmentList": { + "VmEndpointNatMappingsInterfaceNatMappings": { + "id": "VmEndpointNatMappingsInterfaceNatMappings", + "description": "Contain information of Nat mapping for an interface of this endpoint.", "type": "object", - "description": "Response to the list request, and contains a list of interconnect attachments.", - "id": "InterconnectAttachmentList", "properties": { - "items": { - "description": "A list of InterconnectAttachment resources.", + "sourceVirtualIp": { + "description": "Primary IP of the VM for this NIC.", + "type": "string" + }, + "sourceAliasIpRange": { + "description": "Alias IP range for this interface endpoint. It will be a private (RFC 1918) IP range. Examples: \"10.33.4.55/32\", or \"192.168.5.0/24\".", + "type": "string" + }, + "numTotalNatPorts": { + "description": "Total number of ports across all NAT IPs allocated to this interface. It equals to the aggregated port number in the field nat_ip_port_ranges.", + "type": "integer", + "format": "int32" + }, + "natIpPortRanges": { + "description": "A list of all IP:port-range mappings assigned to this interface. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: [\"2.2.2.2:12345-12355\", \"1.1.1.1:2234-2234\"].", "type": "array", "items": { - "$ref": "InterconnectAttachment" + "type": "string" } }, - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." + "drainNatIpPortRanges": { + "description": "List of all drain IP:port-range mappings assigned to this interface. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: [\"2.2.2.2:12345-12355\", \"1.1.1.1:2234-2234\"].", + "type": "array", + "items": { + "type": "string" + } }, - "warning": { - "properties": { - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - }, - "data": { - "items": { - "properties": { - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - }, - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - } - }, - "type": "object" - }, - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "type": "array" - }, - "code": { - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", - "type": "string", - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ] - } - }, - "description": "[Output Only] Informational warning message.", - "type": "object" - }, - "kind": { - "description": "[Output Only] Type of resource. Always compute#interconnectAttachmentList for lists of interconnect attachments.", - "type": "string", - "default": "compute#interconnectAttachmentList" - }, - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", - "type": "string" + "numTotalDrainNatPorts": { + "description": "Total number of drain ports across all NAT IPs allocated to this interface. It equals to the aggregated port number in the field drain_nat_ip_port_ranges.", + "type": "integer", + "format": "int32" }, - "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", - "type": "string" + "ruleMappings": { + "description": "Information about mappings provided by rules in this NAT.", + "type": "array", + "items": { + "$ref": "VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings" + } } } }, - "SecurityPolicyRuleMatcher": { + "VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings": { + "id": "VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings", + "description": "Contains information of NAT Mappings provided by a NAT Rule.", "type": "object", - "description": "Represents a match condition that incoming traffic is evaluated against. Exactly one field must be specified.", - "id": "SecurityPolicyRuleMatcher", "properties": { - "versionedExpr": { - "enum": [ - "SRC_IPS_V1" - ], - "enumDescriptions": [ - "Matches the source IP address of a request to the IP ranges supplied in config." - ], - "description": "Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config.", - "type": "string" + "ruleNumber": { + "description": "Rule number of the NAT Rule.", + "type": "integer", + "format": "int32" }, - "config": { - "description": "The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified.", - "$ref": "SecurityPolicyRuleMatcherConfig" + "numTotalNatPorts": { + "description": "Total number of ports across all NAT IPs allocated to this interface by this rule. It equals the aggregated port number in the field nat_ip_port_ranges.", + "type": "integer", + "format": "int32" }, - "expr": { - "$ref": "Expr", - "description": "User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header." + "natIpPortRanges": { + "description": "A list of all IP:port-range mappings assigned to this interface by this rule. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: [\"2.2.2.2:12345-12355\", \"1.1.1.1:2234-2234\"].", + "type": "array", + "items": { + "type": "string" + } + }, + "drainNatIpPortRanges": { + "description": "List of all drain IP:port-range mappings assigned to this interface by this rule. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: [\"2.2.2.2:12345-12355\", \"1.1.1.1:2234-2234\"].", + "type": "array", + "items": { + "type": "string" + } + }, + "numTotalDrainNatPorts": { + "description": "Total number of drain ports across all NAT IPs allocated to this interface by this rule. It equals the aggregated port number in the field drain_nat_ip_port_ranges.", + "type": "integer", + "format": "int32" } } }, - "ProjectsListXpnHostsRequest": { - "id": "ProjectsListXpnHostsRequest", + "NatIpInfoResponse": { + "id": "NatIpInfoResponse", "type": "object", "properties": { - "organization": { - "description": "Optional organization ID managed by Cloud Resource Manager, for which to list shared VPC host projects. If not specified, the organization will be inferred from the project.", - "type": "string" + "result": { + "description": "[Output Only] A list of NAT IP information.", + "type": "array", + "items": { + "$ref": "NatIpInfo" + } } } }, - "RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse": { + "NatIpInfo": { + "id": "NatIpInfo", + "description": "Contains NAT IP information of a NAT config (i.e. usage status, mode).", "type": "object", - "id": "RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse", "properties": { - "firewallPolicys": { - "items": { - "$ref": "RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy" - }, - "description": "Effective firewalls from firewall policy.", - "type": "array" + "natName": { + "description": "Name of the NAT config which the NAT IP belongs to.", + "type": "string" }, - "firewalls": { - "description": "Effective firewalls on the network.", + "natIpInfoMappings": { + "description": "A list of all NAT IPs assigned to this NAT config.", "type": "array", "items": { - "$ref": "Firewall" + "$ref": "NatIpInfoNatIpInfoMapping" } } } }, - "TargetVpnGateway": { - "id": "TargetVpnGateway", + "NatIpInfoNatIpInfoMapping": { + "id": "NatIpInfoNatIpInfoMapping", + "description": "Contains information of a NAT IP.", + "type": "object", "properties": { - "selfLink": { - "description": "[Output Only] Server-defined URL for the resource.", - "type": "string" - }, - "kind": { - "default": "compute#targetVpnGateway", - "type": "string", - "description": "[Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways." - }, - "region": { - "description": "[Output Only] URL of the region where the target VPN gateway resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.", - "type": "string" - }, - "id": { - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", - "type": "string", - "format": "uint64" - }, - "name": { - "annotations": { - "required": [ - "compute.targetVpnGateways.insert" - ] - }, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", - "type": "string" - }, - "tunnels": { - "items": { - "type": "string" - }, - "description": "[Output Only] A list of URLs to VpnTunnel resources. VpnTunnels are created using the compute.vpntunnels.insert method and associated with a VPN gateway.", - "type": "array" - }, - "description": { - "description": "An optional description of this resource. Provide this property when you create the resource.", + "natIp": { + "description": "NAT IP address. For example: 203.0.113.11.", "type": "string" }, - "status": { - "description": "[Output Only] The status of the VPN gateway, which can be one of the following: CREATING, READY, FAILED, or DELETING.", + "usage": { + "description": "Specifies whether NAT IP is currently serving at least one endpoint or not.", "type": "string", "enumDescriptions": [ - "", - "", "", "" ], "enum": [ - "CREATING", - "DELETING", - "FAILED", - "READY" + "IN_USE", + "UNUSED" ] }, - "network": { - "description": "URL of the network to which this VPN gateway is attached. Provided by the client when the VPN gateway is created.", + "mode": { + "description": "Specifies whether NAT IP is auto or manual.", "type": "string", - "annotations": { - "required": [ - "compute.targetVpnGateways.insert" - ] - } - }, - "creationTimestamp": { - "description": "[Output Only] Creation timestamp in RFC3339 text format.", - "type": "string" - }, - "forwardingRules": { - "type": "array", - "description": "[Output Only] A list of URLs to the ForwardingRule resources. ForwardingRules are created using compute.forwardingRules.insert and associated with a VPN gateway.", - "items": { - "type": "string" - } + "enumDescriptions": [ + "", + "" + ], + "enum": [ + "AUTO", + "MANUAL" + ] } - }, - "type": "object", - "description": "Represents a Target VPN Gateway resource. The target VPN gateway resource represents a Classic Cloud VPN gateway. For more information, read the the Cloud VPN Overview." + } }, - "TestFailure": { - "id": "TestFailure", + "RoutersPreviewResponse": { + "id": "RoutersPreviewResponse", + "type": "object", "properties": { - "actualService": { - "type": "string", - "description": "BackendService or BackendBucket returned by load balancer." - }, - "headers": { - "type": "array", - "description": "HTTP headers of the request.", - "items": { - "$ref": "UrlMapTestHeader" - } - }, - "expectedRedirectResponseCode": { - "type": "integer", - "format": "int32", - "description": "Expected HTTP status code for rule with `urlRedirect` calculated by load balancer" - }, - "actualRedirectResponseCode": { - "description": "Actual HTTP status code for rule with `urlRedirect` calculated by load balancer", - "format": "int32", - "type": "integer" - }, - "path": { - "type": "string", - "description": "Path portion including query parameters in the URL." - }, - "host": { - "description": "Host portion of the URL.", - "type": "string" - }, - "actualOutputUrl": { - "description": "The actual output URL evaluated by a load balancer containing the scheme, host, path and query parameters.", - "type": "string" - }, - "expectedService": { - "type": "string", - "description": "Expected BackendService or BackendBucket resource the given URL should be mapped to." - }, - "expectedOutputUrl": { - "description": "The expected output URL evaluated by a load balancer containing the scheme, host, path and query parameters.", - "type": "string" + "resource": { + "description": "Preview of given router.", + "$ref": "Router" } - }, - "type": "object" + } }, - "AllocationSpecificSKUReservation": { - "id": "AllocationSpecificSKUReservation", + "ServiceAttachmentAggregatedList": { + "id": "ServiceAttachmentAggregatedList", + "description": "Contains a list of ServiceAttachmentsScopedList.", "type": "object", - "description": "This reservation type allows to pre allocate specific instance configuration. Next ID: 6", "properties": { - "inUseCount": { - "format": "int64", - "type": "string", - "description": "[Output Only] Indicates how many instances are in use." - }, - "count": { - "description": "Specifies the number of resources that are allocated.", - "format": "int64", + "kind": { + "description": "Type of resource.", + "default": "compute#serviceAttachmentAggregatedList", "type": "string" }, - "sourceInstanceTemplate": { - "description": "Specifies the instance template to create the reservation. If you use this field, you must exclude the instanceProperties field. This field is optional, and it can be a full or partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project /global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate ", + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", "type": "string" }, - "assuredCount": { - "format": "int64", - "type": "string", - "description": "[Output Only] Indicates how many instances are actually usable currently." - }, - "instanceProperties": { - "$ref": "AllocationSpecificSKUAllocationReservedInstanceProperties", - "description": "The instance properties for the reservation." - } - } - }, - "TargetPoolsAddInstanceRequest": { - "properties": { - "instances": { - "description": "A full or partial URL to an instance to add to this target pool. This can be a full or partial URL. For example, the following are valid URLs: - https://www.googleapis.com/compute/v1/projects/project-id/zones/zone /instances/instance-name - projects/project-id/zones/zone/instances/instance-name - zones/zone/instances/instance-name ", - "type": "array", - "items": { - "$ref": "InstanceReference" - } - } - }, - "id": "TargetPoolsAddInstanceRequest", - "type": "object" - }, - "Policy": { - "properties": { - "bindings": { - "description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", - "items": { - "$ref": "Binding" - }, - "type": "array" - }, - "rules": { - "items": { - "$ref": "Rule" - }, - "type": "array", - "description": "This is deprecated and has no effect. Do not use." - }, - "auditConfigs": { - "type": "array", - "description": "Specifies cloud audit logging configuration for this policy.", - "items": { - "$ref": "AuditConfig" + "items": { + "description": "A list of ServiceAttachmentsScopedList resources.", + "type": "object", + "additionalProperties": { + "description": "Name of the scope containing this set of ServiceAttachments.", + "$ref": "ServiceAttachmentsScopedList" } }, - "version": { - "format": "int32", - "type": "integer", - "description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." - }, - "etag": { - "type": "string", - "format": "byte", - "description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost." - } - }, - "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time \u003c timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time \u003c timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", - "type": "object", - "id": "Policy" - }, - "RegionInstanceGroupManagerDeleteInstanceConfigReq": { - "description": "RegionInstanceGroupManagers.deletePerInstanceConfigs", - "properties": { - "names": { - "description": "The list of instance names for which we want to delete per-instance configs on this managed instance group.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object", - "id": "RegionInstanceGroupManagerDeleteInstanceConfigReq" - }, - "RegionInstanceGroupManagersSetTargetPoolsRequest": { - "id": "RegionInstanceGroupManagersSetTargetPoolsRequest", - "properties": { - "targetPools": { - "description": "The URL of all TargetPool resources to which instances in the instanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.", - "items": { - "type": "string" - }, - "type": "array" - }, - "fingerprint": { - "description": "Fingerprint of the target pools information, which is a hash of the contents. This field is used for optimistic locking when you update the target pool entries. This field is optional.", - "format": "byte", + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", "type": "string" - } - }, - "type": "object" - }, - "RequestMirrorPolicy": { - "type": "object", - "id": "RequestMirrorPolicy", - "properties": { - "backendService": { - "description": "The full or partial URL to the BackendService resource being mirrored to. The backend service configured for a mirroring policy must reference backends that are of the same type as the original backend service matched in the URL map. Serverless NEG backends are not currently supported as a mirrored backend service. ", + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", "type": "string" - } - }, - "description": "A policy that specifies how requests intended for the route's backends are shadowed to a separate mirrored backend service. The load balancer doesn't wait for responses from the shadow service. Before sending traffic to the shadow service, the host or authority header is suffixed with -shadow." - }, - "NodeGroupsScopedList": { - "properties": { - "nodeGroups": { - "type": "array", - "description": "[Output Only] A list of node groups contained in this scope.", - "items": { - "$ref": "NodeGroup" - } }, "warning": { + "description": "[Output Only] Informational warning message.", "type": "object", - "description": "[Output Only] An informational warning that appears when the nodeGroup list is empty.", "properties": { - "data": { - "items": { - "properties": { - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - }, - "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." - } - }, - "type": "object" - }, - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "type": "array" - }, - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, "code": { "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", "type": "string", @@ -34644,6 +34747,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -34662,6 +34766,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -34673,6 +34807,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -34691,140 +34826,57 @@ "UNDECLARED_PROPERTIES", "UNREACHABLE" ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } } } - } - }, - "type": "object", - "id": "NodeGroupsScopedList" - }, - "NetworkEdgeSecurityService": { - "properties": { - "name": { - "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" - }, - "kind": { - "description": "[Output only] Type of the resource. Always compute#networkEdgeSecurityService for NetworkEdgeSecurityServices", - "type": "string", - "default": "compute#networkEdgeSecurityService" - }, - "selfLinkWithId": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource with the resource id." - }, - "creationTimestamp": { - "description": "[Output Only] Creation timestamp in RFC3339 text format.", - "type": "string" - }, - "selfLink": { - "description": "[Output Only] Server-defined URL for the resource.", - "type": "string" - }, - "id": { - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", - "format": "uint64", - "type": "string" }, - "fingerprint": { - "format": "byte", - "type": "string", - "description": "Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be provided in order to update the NetworkEdgeSecurityService, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a NetworkEdgeSecurityService." - }, - "securityPolicy": { - "type": "string", - "description": "The resource URL for the network edge security service associated with this network edge security service." - }, - "description": { - "description": "An optional description of this resource. Provide this property when you create the resource.", - "type": "string" - }, - "region": { - "type": "string", - "description": "[Output Only] URL of the region where the resource resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body." + "unreachables": { + "description": "[Output Only] Unreachable resources.", + "type": "array", + "items": { + "type": "string" + } } - }, - "id": "NetworkEdgeSecurityService", - "type": "object", - "description": "Represents a Google Cloud Armor network edge security service resource." + } }, - "SecurityPolicyAdaptiveProtectionConfig": { - "properties": { - "layer7DdosDefenseConfig": { - "$ref": "SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig", - "description": "If set to true, enables Cloud Armor Machine Learning." - } - }, + "ServiceAttachmentsScopedList": { + "id": "ServiceAttachmentsScopedList", "type": "object", - "description": "Configuration options for Cloud Armor Adaptive Protection (CAAP).", - "id": "SecurityPolicyAdaptiveProtectionConfig" - }, - "UsageExportLocation": { - "description": "The location in Cloud Storage and naming method of the daily usage report. Contains bucket_name and report_name prefix.", - "properties": { - "reportNamePrefix": { - "type": "string", - "description": "An optional prefix for the name of the usage report object stored in bucketName. If not supplied, defaults to usage_gce. The report is stored as a CSV file named report_name_prefix_gce_YYYYMMDD.csv where YYYYMMDD is the day of the usage according to Pacific Time. If you supply a prefix, it should conform to Cloud Storage object naming conventions." - }, - "bucketName": { - "description": "The name of an existing bucket in Cloud Storage where the usage report object is stored. The Google Service Account is granted write access to this bucket. This can either be the bucket name by itself, such as example-bucket, or the bucket name with gs:// or https://storage.googleapis.com/ in front of it, such as gs://example-bucket.", - "type": "string" - } - }, - "id": "UsageExportLocation", - "type": "object" - }, - "SecurityPoliciesAggregatedList": { - "id": "SecurityPoliciesAggregatedList", "properties": { - "id": { - "description": "[Output Only] Unique identifier for the resource; defined by the server.", - "type": "string" - }, - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." - }, - "kind": { - "description": "[Output Only] Type of resource. Always compute#securityPolicyAggregatedList for lists of Security Policies.", - "default": "compute#securityPoliciesAggregatedList", - "type": "string" + "serviceAttachments": { + "description": "A list of ServiceAttachments contained in this scope.", + "type": "array", + "items": { + "$ref": "ServiceAttachment" + } }, "warning": { - "description": "[Output Only] Informational warning message.", + "description": "Informational warning which replaces the list of service attachments when the list is empty.", + "type": "object", "properties": { "code": { - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -34836,6 +34888,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -34854,14 +34907,74 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "type": "string" - }, - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, "data": { "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", "items": { "type": "object", "properties": { @@ -34874,65 +34987,238 @@ "type": "string" } } - }, - "type": "array" + } } + } + } + } + }, + "ServiceAttachment": { + "id": "ServiceAttachment", + "description": "Represents a ServiceAttachment resource. A service attachment represents a service that a producer has exposed. It encapsulates the load balancer which fronts the service runs and a list of NAT IP ranges that the producers uses to represent the consumers connecting to the service.", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of the resource. Always compute#serviceAttachment for service attachments.", + "default": "compute#serviceAttachment", + "type": "string" + }, + "id": { + "description": "[Output Only] The unique identifier for the resource type. The server generates this identifier.", + "type": "string", + "format": "uint64" + }, + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" + }, + "name": { + "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "annotations": { + "required": [ + "compute.serviceAttachments.insert" + ] }, - "type": "object" + "type": "string" }, - "items": { - "description": "A list of SecurityPoliciesScopedList resources.", - "type": "object", - "additionalProperties": { - "$ref": "SecurityPoliciesScopedList", - "description": "Name of the scope containing this set of security policies." + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", + "type": "string" + }, + "region": { + "description": "[Output Only] URL of the region where the service attachment resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.", + "type": "string" + }, + "producerForwardingRule": { + "description": "The URL of a forwarding rule with loadBalancingScheme INTERNAL* that is serving the endpoint identified by this service attachment.", + "deprecated": true, + "type": "string" + }, + "targetService": { + "description": "The URL of a service serving the endpoint identified by this service attachment.", + "type": "string" + }, + "connectionPreference": { + "description": "The connection preference of service attachment. The value can be set to ACCEPT_AUTOMATIC. An ACCEPT_AUTOMATIC service attachment is one that always accepts the connection from consumer forwarding rules.", + "type": "string", + "enumDescriptions": [ + "", + "", + "" + ], + "enum": [ + "ACCEPT_AUTOMATIC", + "ACCEPT_MANUAL", + "CONNECTION_PREFERENCE_UNSPECIFIED" + ] + }, + "connectedEndpoints": { + "description": "[Output Only] An array of connections for all the consumers connected to this service attachment.", + "type": "array", + "items": { + "$ref": "ServiceAttachmentConnectedEndpoint" } }, - "unreachables": { + "natSubnets": { + "description": "An array of URLs where each entry is the URL of a subnet provided by the service producer to use for NAT in this service attachment.", + "type": "array", "items": { "type": "string" - }, - "description": "[Output Only] Unreachable resources.", - "type": "array" + } }, - "etag": { + "enableProxyProtocol": { + "description": "If true, enable the proxy protocol which is for supplying client TCP/IP address data in TCP connections that traverse proxies on their way to destination servers.", + "type": "boolean" + }, + "consumerRejectLists": { + "description": "Projects that are not allowed to connect to this service attachment. The project can be specified using its id or number.", + "type": "array", + "items": { + "type": "string" + } + }, + "consumerAcceptLists": { + "description": "Projects that are allowed to connect to this service attachment.", + "type": "array", + "items": { + "$ref": "ServiceAttachmentConsumerProjectLimit" + } + }, + "pscServiceAttachmentId": { + "description": "[Output Only] An 128-bit global unique ID of the PSC service attachment.", + "$ref": "Uint128" + }, + "fingerprint": { + "description": "Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a ServiceAttachment. An up-to-date fingerprint must be provided in order to patch/update the ServiceAttachment; otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the ServiceAttachment.", + "type": "string", + "format": "byte" + }, + "domainNames": { + "description": "If specified, the domain name will be used during the integration between the PSC connected endpoints and the Cloud DNS. For example, this is a valid domain name: \"p.mycompany.com.\". Current max number of domain names supported is 1.", + "type": "array", + "items": { + "type": "string" + } + }, + "reconcileConnections": { + "description": "This flag determines whether a consumer accept/reject list change can reconcile the statuses of existing ACCEPTED or REJECTED PSC endpoints. - If false, connection policy update will only affect existing PENDING PSC endpoints. Existing ACCEPTED/REJECTED endpoints will remain untouched regardless how the connection policy is modified . - If true, update will affect both PENDING and ACCEPTED/REJECTED PSC endpoints. For example, an ACCEPTED PSC endpoint will be moved to REJECTED if its project is added to the reject list. For newly created service attachment, this boolean defaults to false.", + "type": "boolean" + } + } + }, + "ServiceAttachmentConnectedEndpoint": { + "id": "ServiceAttachmentConnectedEndpoint", + "description": "[Output Only] A connection connected to this service attachment.", + "type": "object", + "properties": { + "status": { + "description": "The status of a connected endpoint to this service attachment.", + "type": "string", + "enumDescriptions": [ + "The connection has been accepted by the producer.", + "The connection has been closed by the producer.", + "The connection has been accepted by the producer, but the producer needs to take further action before the forwarding rule can serve traffic.", + "The connection is pending acceptance by the producer.", + "The consumer is still connected but not using the connection.", + "" + ], + "enum": [ + "ACCEPTED", + "CLOSED", + "NEEDS_ATTENTION", + "PENDING", + "REJECTED", + "STATUS_UNSPECIFIED" + ] + }, + "pscConnectionId": { + "description": "The PSC connection id of the connected endpoint.", + "type": "string", + "format": "uint64" + }, + "endpoint": { + "description": "The url of a connected endpoint.", "type": "string" }, - "selfLink": { + "consumerNetwork": { + "description": "The url of the consumer network.", + "type": "string" + } + } + }, + "ServiceAttachmentConsumerProjectLimit": { + "id": "ServiceAttachmentConsumerProjectLimit", + "type": "object", + "properties": { + "projectIdOrNum": { + "description": "The project id or number for the project to set the limit for.", + "type": "string" + }, + "networkUrl": { + "description": "The network URL for the network to set the limit for.", + "type": "string" + }, + "connectionLimit": { + "description": "The value of the limit to set.", + "type": "integer", + "format": "uint32" + } + } + }, + "Uint128": { + "id": "Uint128", + "type": "object", + "properties": { + "high": { + "type": "string", + "format": "uint64" + }, + "low": { "type": "string", - "description": "[Output Only] Server-defined URL for this resource." + "format": "uint64" } - }, - "type": "object" + } }, - "InstanceGroupManagersScopedList": { - "id": "InstanceGroupManagersScopedList", + "ServiceAttachmentList": { + "id": "ServiceAttachmentList", + "type": "object", "properties": { + "kind": { + "description": "[Output Only] Type of the resource. Always compute#serviceAttachment for service attachments.", + "default": "compute#serviceAttachmentList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of ServiceAttachment resources.", + "type": "array", + "items": { + "$ref": "ServiceAttachment" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, "warning": { + "description": "[Output Only] Informational warning message.", "type": "object", "properties": { - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - }, - "data": { - "type": "array", - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "items": { - "type": "object", - "properties": { - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - }, - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - } - } - } - }, "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -34944,6 +35230,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -34962,7 +35249,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "type": "string", + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -34974,6 +35290,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -34991,152 +35308,119 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response." + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } } - }, - "description": "[Output Only] The warning that replaces the list of managed instance groups when the list is empty." - }, - "instanceGroupManagers": { - "items": { - "$ref": "InstanceGroupManager" - }, - "type": "array", - "description": "[Output Only] The list of managed instance groups that are contained in the specified project and zone." + } } - }, - "type": "object" + } }, - "InstanceWithNamedPorts": { + "SnapshotSettings": { + "id": "SnapshotSettings", "type": "object", - "id": "InstanceWithNamedPorts", "properties": { - "namedPorts": { - "description": "[Output Only] The named ports that belong to this instance group.", - "type": "array", - "items": { - "$ref": "NamedPort" - } - }, - "status": { - "enum": [ - "DEPROVISIONING", - "PROVISIONING", - "REPAIRING", - "RUNNING", - "STAGING", - "STOPPED", - "STOPPING", - "SUSPENDED", - "SUSPENDING", - "TERMINATED" - ], - "enumDescriptions": [ - "The Nanny is halted and we are performing tear down tasks like network deprogramming, releasing quota, IP, tearing down disks etc.", - "Resources are being allocated for the instance.", - "The instance is in repair.", - "The instance is running.", - "All required resources have been allocated and the instance is being started.", - "The instance has stopped successfully.", - "The instance is currently stopping (either being deleted or killed).", - "The instance has suspended.", - "The instance is suspending.", - "The instance has stopped (either by explicit action or underlying failure)." - ], - "description": "[Output Only] The status of the instance.", - "type": "string" - }, - "instance": { - "type": "string", - "description": "[Output Only] The URL of the instance." + "storageLocation": { + "description": "Policy of which storage location is going to be resolved, and additional data that particularizes how the policy is going to be carried out.", + "$ref": "SnapshotSettingsStorageLocationSettings" } } }, - "SecurityPolicyDdosProtectionConfig": { + "SnapshotSettingsStorageLocationSettings": { + "id": "SnapshotSettingsStorageLocationSettings", "type": "object", - "id": "SecurityPolicyDdosProtectionConfig", "properties": { - "ddosProtection": { - "enum": [ - "ADVANCED", - "STANDARD" - ], + "policy": { + "description": "The chosen location policy.", + "type": "string", "enumDescriptions": [ - "", + "Store snapshot in the same region as with the originating disk. No additional parameters are needed.", + "Store snapshot to the nearest multi region GCS bucket, relative to the originating disk. No additional parameters are needed.", + "Store snapshot in the specific locations, as specified by the user. The list of regions to store must be defined under the `locations` field.", "" ], - "type": "string" + "enum": [ + "LOCAL_REGION", + "NEAREST_MULTI_REGION", + "SPECIFIC_LOCATIONS", + "STORAGE_LOCATION_POLICY_UNSPECIFIED" + ] + }, + "locations": { + "description": "When the policy is SPECIFIC_LOCATIONS, snapshots will be stored in the locations listed in this field. Keys are GCS bucket locations.", + "type": "object", + "additionalProperties": { + "$ref": "SnapshotSettingsStorageLocationSettingsStorageLocationPreference" + } } } }, - "MetadataFilterLabelMatch": { + "SnapshotSettingsStorageLocationSettingsStorageLocationPreference": { + "id": "SnapshotSettingsStorageLocationSettingsStorageLocationPreference", + "description": "A structure for specifying storage locations.", "type": "object", - "id": "MetadataFilterLabelMatch", - "description": "MetadataFilter label name value pairs that are expected to match corresponding labels presented as metadata to the load balancer.", "properties": { - "value": { - "description": "The value of the label must match the specified value. value can have a maximum length of 1024 characters.", - "type": "string" - }, "name": { - "type": "string", - "description": "Name of metadata label. The name can have a maximum length of 1024 characters and must be at least 1 character long." + "description": "Name of the location. It should be one of the GCS buckets.", + "type": "string" } } }, - "HealthCheckList": { - "description": "Contains a list of HealthCheck resources.", + "SslCertificateList": { + "id": "SslCertificateList", + "description": "Contains a list of SslCertificate resources.", + "type": "object", "properties": { + "kind": { + "description": "Type of resource.", + "default": "compute#sslCertificateList", + "type": "string" + }, "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" }, "items": { - "description": "A list of HealthCheck resources.", + "description": "A list of SslCertificate resources.", "type": "array", "items": { - "$ref": "HealthCheck" + "$ref": "SslCertificate" } }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, "warning": { "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - }, "code": { - "type": "string", - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -35148,6 +35432,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -35165,325 +35450,280 @@ "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", "When undeclared properties in the schema are present", "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" ] }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, "data": { - "type": "array", "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", "items": { + "type": "object", "properties": { - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - }, "key": { "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" } - }, - "type": "object" + } } } - }, - "type": "object" - }, - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + } + } + } + }, + "SslCertificate": { + "id": "SslCertificate", + "description": "Represents an SSL certificate resource. Google Compute Engine has two SSL certificate resources: * [Global](/compute/docs/reference/rest/v1/sslCertificates) * [Regional](/compute/docs/reference/rest/v1/regionSslCertificates) The global SSL certificates (sslCertificates) are used by: - Global external Application Load Balancers - Classic Application Load Balancers - Proxy Network Load Balancers (with target SSL proxies) The regional SSL certificates (regionSslCertificates) are used by: - Regional external Application Load Balancers - Regional internal Application Load Balancers Optionally, certificate file contents that you upload can contain a set of up to five PEM-encoded certificates. The API call creates an object (sslCertificate) that holds this data. You can use SSL keys and certificates to secure connections to a load balancer. For more information, read Creating and using SSL certificates, SSL certificates quotas and limits, and Troubleshooting SSL certificates.", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of the resource. Always compute#sslCertificate for SSL certificates.", + "default": "compute#sslCertificate", "type": "string" }, - "kind": { - "description": "Type of resource.", + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", "type": "string", - "default": "compute#healthCheckList" + "format": "uint64" + }, + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" + }, + "name": { + "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "type": "string" + }, + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource.", + "type": "string" }, "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." - } - }, - "id": "HealthCheckList", - "type": "object" - }, - "CustomerEncryptionKeyProtectedDisk": { - "properties": { - "source": { - "description": "Specifies a valid partial or full URL to an existing Persistent Disk resource. This field is only applicable for persistent disks. For example: \"source\": \"/compute/v1/projects/project_id/zones/zone/disks/ disk_name ", + "description": "[Output only] Server-defined URL for the resource.", "type": "string" }, - "diskEncryptionKey": { - "description": "Decrypts data associated with the disk with a customer-supplied encryption key.", - "$ref": "CustomerEncryptionKey" - } - }, - "type": "object", - "id": "CustomerEncryptionKeyProtectedDisk" - }, - "RegionSetPolicyRequest": { - "id": "RegionSetPolicyRequest", - "type": "object", - "properties": { - "bindings": { - "type": "array", - "items": { - "$ref": "Binding" - }, - "description": "Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify bindings." - }, - "policy": { - "$ref": "Policy", - "description": "REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them." - }, - "etag": { - "description": "Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.", - "format": "byte", - "type": "string" - } - } - }, - "CacheInvalidationRule": { - "type": "object", - "id": "CacheInvalidationRule", - "properties": { - "path": { + "certificate": { + "description": "A value read into memory from a certificate file. The certificate file must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.", "type": "string" }, - "host": { - "type": "string", - "description": "If set, this invalidation rule will only apply to requests with a Host header matching host." - } - } - }, - "ExternalVpnGatewayInterface": { - "type": "object", - "description": "The interface for the external VPN gateway.", - "id": "ExternalVpnGatewayInterface", - "properties": { - "ipAddress": { - "description": "IP address of the interface in the external VPN gateway. Only IPv4 is supported. This IP address can be either from your on-premise gateway or another Cloud provider's VPN gateway, it cannot be an IP address from Google Compute Engine.", + "privateKey": { + "description": "A value read into memory from a write-only private key file. The private key file must be in PEM format. For security, only insert requests include this field.", "type": "string" }, - "id": { - "format": "uint32", - "type": "integer", - "description": "The numeric ID of this interface. The allowed input values for this id for different redundancy types of external VPN gateway: - SINGLE_IP_INTERNALLY_REDUNDANT - 0 - TWO_IPS_REDUNDANCY - 0, 1 - FOUR_IPS_REDUNDANCY - 0, 1, 2, 3 " - } - } - }, - "SubnetworksSetPrivateIpGoogleAccessRequest": { - "id": "SubnetworksSetPrivateIpGoogleAccessRequest", - "type": "object", - "properties": { - "privateIpGoogleAccess": { - "type": "boolean" - } - } - }, - "Zone": { - "description": "Represents a Zone resource. A zone is a deployment area. These deployment areas are subsets of a region. For example the zone us-east1-a is located in the us-east1 region. For more information, read Regions and Zones.", - "id": "Zone", - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "[Output Only] Name of the resource." - }, - "id": { - "type": "string", - "format": "uint64", - "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server." - }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for the resource." - }, - "supportsPzs": { - "type": "boolean", - "description": "[Output Only] Reserved for future use." + "managed": { + "description": "Configuration and status of a managed SSL certificate.", + "$ref": "SslCertificateManagedSslCertificate" }, - "region": { - "description": "[Output Only] Full URL reference to the region which hosts the zone.", - "type": "string" + "selfManaged": { + "description": "Configuration and status of a self-managed SSL certificate.", + "$ref": "SslCertificateSelfManagedSslCertificate" }, - "status": { + "type": { + "description": "(Optional) Specifies the type of SSL certificate, either \"SELF_MANAGED\" or \"MANAGED\". If not specified, the certificate is self-managed and the fields certificate and private_key are used.", "type": "string", - "description": "[Output Only] Status of the zone, either UP or DOWN.", "enumDescriptions": [ - "", + "Google-managed SSLCertificate.", + "Certificate uploaded by user.", "" ], "enum": [ - "DOWN", - "UP" + "MANAGED", + "SELF_MANAGED", + "TYPE_UNSPECIFIED" ] }, - "description": { - "type": "string", - "description": "[Output Only] Textual description of the resource." - }, - "availableCpuPlatforms": { + "subjectAlternativeNames": { + "description": "[Output Only] Domains associated with the certificate via Subject Alternative Name.", "type": "array", - "description": "[Output Only] Available cpu/platform selections for the zone.", "items": { "type": "string" } }, - "creationTimestamp": { - "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "expireTime": { + "description": "[Output Only] Expire time of the certificate. RFC3339", "type": "string" }, - "deprecated": { - "$ref": "DeprecationStatus", - "description": "[Output Only] The deprecation status associated with this zone." - }, - "kind": { - "default": "compute#zone", - "type": "string", - "description": "[Output Only] Type of the resource. Always compute#zone for zones." + "region": { + "description": "[Output Only] URL of the region where the regional SSL Certificate resides. This field is not applicable to global SSL Certificate.", + "type": "string" } } }, - "InstancesSetMachineResourcesRequest": { + "SslCertificateManagedSslCertificate": { + "id": "SslCertificateManagedSslCertificate", + "description": "Configuration and status of a managed SSL certificate.", "type": "object", "properties": { - "guestAccelerators": { - "description": "A list of the type and count of accelerator cards attached to the instance.", - "items": { - "$ref": "AcceleratorConfig" - }, - "type": "array" - } - }, - "id": "InstancesSetMachineResourcesRequest" - }, - "TargetPoolsAddHealthCheckRequest": { - "properties": { - "healthChecks": { + "domains": { + "description": "The domains for which a managed SSL certificate will be generated. Each Google-managed SSL certificate supports up to the [maximum number of domains per Google-managed SSL certificate](/load-balancing/docs/quotas#ssl_certificates).", "type": "array", - "description": "The HttpHealthCheck to add to the target pool.", "items": { - "$ref": "HealthCheckReference" + "type": "string" } - } - }, - "id": "TargetPoolsAddHealthCheckRequest", - "type": "object" - }, - "ResourceCommitment": { - "description": "Commitment for a particular resource (a Commitment is composed of one or more of these).", - "properties": { - "acceleratorType": { - "type": "string", - "description": "Name of the accelerator type resource. Applicable only when the type is ACCELERATOR." }, - "type": { - "description": "Type of resource for which this commitment applies. Possible values are VCPU, MEMORY, LOCAL_SSD, and ACCELERATOR.", - "enum": [ - "ACCELERATOR", - "LOCAL_SSD", - "MEMORY", - "UNSPECIFIED", - "VCPU" - ], + "status": { + "description": "[Output only] Status of the managed certificate resource.", + "type": "string", "enumDescriptions": [ + "The certificate management is working, and a certificate has been provisioned.", "", - "", - "", - "", - "" + "The certificate management is working. GCP will attempt to provision the first certificate.", + "Certificate provisioning failed due to an issue with the DNS or load balancing configuration. For details of which domain failed, consult domain_status field.", + "Certificate provisioning failed due to an issue with the DNS or load balancing configuration. It won't be retried. To try again delete and create a new managed SslCertificate resource. For details of which domain failed, consult domain_status field.", + "Renewal of the certificate has failed due to an issue with the DNS or load balancing configuration. The existing cert is still serving; however, it will expire shortly. To provision a renewed certificate, delete and create a new managed SslCertificate resource. For details on which domain failed, consult domain_status field." ], - "type": "string" + "enum": [ + "ACTIVE", + "MANAGED_CERTIFICATE_STATUS_UNSPECIFIED", + "PROVISIONING", + "PROVISIONING_FAILED", + "PROVISIONING_FAILED_PERMANENTLY", + "RENEWAL_FAILED" + ] }, - "amount": { - "type": "string", - "format": "int64", - "description": "The amount of the resource purchased (in a type-dependent unit, such as bytes). For vCPUs, this can just be an integer. For memory, this must be provided in MB. Memory must be a multiple of 256 MB, with up to 6.5GB of memory per every vCPU." - } - }, - "id": "ResourceCommitment", - "type": "object" - }, - "GlobalNetworkEndpointGroupsAttachEndpointsRequest": { - "properties": { - "networkEndpoints": { - "type": "array", - "items": { - "$ref": "NetworkEndpoint" - }, - "description": "The list of network endpoints to be attached." + "domainStatus": { + "description": "[Output only] Detailed statuses of the domains specified for managed certificate resource.", + "type": "object", + "additionalProperties": { + "type": "string", + "enumDescriptions": [ + "A managed certificate can be provisioned, no issues for this domain.", + "", + "Failed to check CAA records for the domain.", + "Certificate issuance forbidden by an explicit CAA record for the domain.", + "There seems to be problem with the user's DNS or load balancer configuration for this domain.", + "Reached rate-limit for certificates per top-level private domain.", + "Certificate provisioning for this domain is under way. GCP will attempt to provision the first certificate." + ], + "enum": [ + "ACTIVE", + "DOMAIN_STATUS_UNSPECIFIED", + "FAILED_CAA_CHECKING", + "FAILED_CAA_FORBIDDEN", + "FAILED_NOT_VISIBLE", + "FAILED_RATE_LIMITED", + "PROVISIONING" + ] + } } - }, - "type": "object", - "id": "GlobalNetworkEndpointGroupsAttachEndpointsRequest" + } }, - "InstanceGroupManagersSetInstanceTemplateRequest": { + "SslCertificateSelfManagedSslCertificate": { + "id": "SslCertificateSelfManagedSslCertificate", + "description": "Configuration and status of a self-managed SSL certificate.", "type": "object", "properties": { - "instanceTemplate": { - "type": "string", - "description": "The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE." - } - }, - "id": "InstanceGroupManagersSetInstanceTemplateRequest" - }, - "InstancesGetEffectiveFirewallsResponse": { - "id": "InstancesGetEffectiveFirewallsResponse", - "properties": { - "firewalls": { - "items": { - "$ref": "Firewall" - }, - "type": "array", - "description": "Effective firewalls on the instance." + "certificate": { + "description": "A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.", + "type": "string" }, - "firewallPolicys": { - "items": { - "$ref": "InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy" - }, - "type": "array", - "description": "Effective firewalls from firewall policies." + "privateKey": { + "description": "A write-only private key in PEM format. Only insert requests will include this field.", + "type": "string" } - }, - "type": "object" + } }, - "ServiceAttachmentAggregatedList": { + "SslCertificateAggregatedList": { + "id": "SslCertificateAggregatedList", "type": "object", "properties": { + "kind": { + "description": "[Output Only] Type of resource. Always compute#sslCertificateAggregatedList for lists of SSL Certificates.", + "default": "compute#sslCertificateAggregatedList", + "type": "string" + }, "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of SslCertificatesScopedList resources.", + "type": "object", + "additionalProperties": { + "description": "Name of the scope containing this set of SslCertificates.", + "$ref": "SslCertificatesScopedList" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" }, "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { "code": { - "enum": [ - "CLEANUP_FAILED", - "DEPRECATED_RESOURCE_USED", - "DEPRECATED_TYPE_USED", - "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", - "EXPERIMENTAL_TYPE_USED", - "EXTERNAL_API_WARNING", - "FIELD_VALUE_OVERRIDEN", - "INJECTED_KERNELS_DEPRECATED", - "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", - "LARGE_DEPLOYMENT_WARNING", - "MISSING_TYPE_DEPENDENCY", - "NEXT_HOP_ADDRESS_NOT_ASSIGNED", - "NEXT_HOP_CANNOT_IP_FORWARD", - "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", - "NEXT_HOP_INSTANCE_NOT_FOUND", - "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", - "NEXT_HOP_NOT_RUNNING", - "NOT_CRITICAL_ERROR", - "NO_RESULTS_ON_PAGE", - "PARTIAL_SUCCESS", - "REQUIRED_TOS_AGREEMENT", - "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", - "RESOURCE_NOT_DELETED", - "SCHEMA_VALIDATION_IGNORED", - "SINGLE_INSTANCE_PROPERTY_TEMPLATE", - "UNDECLARED_PROPERTIES", - "UNREACHABLE" - ], "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", "type": "string", "enumDescriptions": [ @@ -35497,6 +35737,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -35514,77 +35755,37 @@ "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", "When undeclared properties in the schema are present", "A given scope cannot be reached." - ] - }, - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, - "data": { - "items": { - "type": "object", - "properties": { - "value": { - "description": "[Output Only] A warning data value corresponding to the key.", - "type": "string" - }, - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - } - } - }, - "type": "array", - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } " - } - }, - "type": "object", - "description": "[Output Only] Informational warning message." - }, - "unreachables": { - "items": { - "type": "string" - }, - "type": "array", - "description": "[Output Only] Unreachable resources." - }, - "nextPageToken": { - "type": "string", - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results." - }, - "items": { - "description": "A list of ServiceAttachmentsScopedList resources.", - "additionalProperties": { - "description": "Name of the scope containing this set of ServiceAttachments.", - "$ref": "ServiceAttachmentsScopedList" - }, - "type": "object" - }, - "kind": { - "description": "Type of resource.", - "default": "compute#serviceAttachmentAggregatedList", - "type": "string" - }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." - } - }, - "id": "ServiceAttachmentAggregatedList", - "description": "Contains a list of ServiceAttachmentsScopedList." - }, - "TargetVpnGatewaysScopedList": { - "type": "object", - "properties": { - "warning": { - "type": "object", - "properties": { - "message": { - "type": "string", - "description": "[Output Only] A human-readable description of the warning code." - }, - "code": { - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -35596,6 +35797,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -35613,202 +35815,58 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], - "enumDescriptions": [ - "Warning about failed cleanup of transient changes made by a failed operation.", - "A link to a deprecated resource was created.", - "When deploying and at least one of the resources has a type marked as deprecated", - "The user created a boot disk that is larger than image size.", - "When deploying and at least one of the resources has a type marked as experimental", - "Warning that is present in an external api call", - "Warning that value of a field has been overridden. Deprecated unused field.", - "The operation involved use of an injected kernel, which is deprecated.", - "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", - "When deploying a deployment with a exceedingly large number of resources", - "A resource depends on a missing type", - "The route's nextHopIp address is not assigned to an instance on the network.", - "The route's next hop instance cannot ip forward.", - "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", - "The route's nextHopInstance URL refers to an instance that does not exist.", - "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", - "The route's next hop instance does not have a status of RUNNING.", - "Error which is not critical. We decided to continue the process despite the mentioned error.", - "No results are present on a particular list page.", - "Success is reported, but some results may be missing due to errors", - "The user attempted to use a resource that requires a TOS they have not accepted.", - "Warning that a resource is in use.", - "One or more of the resources set to auto-delete could not be deleted because they were in use.", - "When a resource schema validation is ignored.", - "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", - "When undeclared properties in the schema are present", - "A given scope cannot be reached." - ], + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", "type": "string" }, "data": { - "type": "array", "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", "items": { + "type": "object", "properties": { "key": { - "type": "string", - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding)." + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" }, "value": { "description": "[Output Only] A warning data value corresponding to the key.", "type": "string" } - }, - "type": "object" + } } } - }, - "description": "[Output Only] Informational warning which replaces the list of addresses when the list is empty." + } }, - "targetVpnGateways": { + "unreachables": { + "description": "[Output Only] Unreachable resources.", "type": "array", - "items": { - "$ref": "TargetVpnGateway" - }, - "description": "[Output Only] A list of target VPN gateways contained in this scope." - } - }, - "id": "TargetVpnGatewaysScopedList" - }, - "InstanceGroupManagersRecreateInstancesRequest": { - "properties": { - "instances": { "items": { "type": "string" - }, - "type": "array", - "description": "The URLs of one or more instances to recreate. This can be a full URL or a partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME]." - } - }, - "id": "InstanceGroupManagersRecreateInstancesRequest", - "type": "object" - }, - "InstanceGroupManagerActionsSummary": { - "id": "InstanceGroupManagerActionsSummary", - "properties": { - "creating": { - "description": "[Output Only] The number of instances in the managed instance group that are scheduled to be created or are currently being created. If the group fails to create any of these instances, it tries again until it creates the instance successfully. If you have disabled creation retries, this field will not be populated; instead, the creatingWithoutRetries field will be populated.", - "type": "integer", - "format": "int32" - }, - "suspending": { - "type": "integer", - "format": "int32", - "description": "[Output Only] The number of instances in the managed instance group that are scheduled to be suspended or are currently being suspended." - }, - "none": { - "description": "[Output Only] The number of instances in the managed instance group that are running and have no scheduled actions.", - "type": "integer", - "format": "int32" - }, - "refreshing": { - "description": "[Output Only] The number of instances in the managed instance group that are being reconfigured with properties that do not require a restart or a recreate action. For example, setting or removing target pools for the instance.", - "format": "int32", - "type": "integer" - }, - "resuming": { - "format": "int32", - "description": "[Output Only] The number of instances in the managed instance group that are scheduled to be resumed or are currently being resumed.", - "type": "integer" - }, - "verifying": { - "description": "[Output Only] The number of instances in the managed instance group that are being verified. See the managedInstances[].currentAction property in the listManagedInstances method documentation.", - "format": "int32", - "type": "integer" - }, - "stopping": { - "format": "int32", - "type": "integer", - "description": "[Output Only] The number of instances in the managed instance group that are scheduled to be stopped or are currently being stopped." - }, - "abandoning": { - "type": "integer", - "format": "int32", - "description": "[Output Only] The total number of instances in the managed instance group that are scheduled to be abandoned. Abandoning an instance removes it from the managed instance group without deleting it." - }, - "restarting": { - "format": "int32", - "description": "[Output Only] The number of instances in the managed instance group that are scheduled to be restarted or are currently being restarted.", - "type": "integer" - }, - "recreating": { - "type": "integer", - "description": "[Output Only] The number of instances in the managed instance group that are scheduled to be recreated or are currently being being recreated. Recreating an instance deletes the existing root persistent disk and creates a new disk from the image that is defined in the instance template.", - "format": "int32" - }, - "starting": { - "type": "integer", - "description": "[Output Only] The number of instances in the managed instance group that are scheduled to be started or are currently being started.", - "format": "int32" - }, - "creatingWithoutRetries": { - "format": "int32", - "type": "integer", - "description": "[Output Only] The number of instances that the managed instance group will attempt to create. The group attempts to create each instance only once. If the group fails to create any of these instances, it decreases the group's targetSize value accordingly." - }, - "deleting": { - "format": "int32", - "description": "[Output Only] The number of instances in the managed instance group that are scheduled to be deleted or are currently being deleted.", - "type": "integer" - } - }, - "type": "object" - }, - "StatefulPolicyPreservedStateDiskDevice": { - "type": "object", - "id": "StatefulPolicyPreservedStateDiskDevice", - "properties": { - "autoDelete": { - "enum": [ - "NEVER", - "ON_PERMANENT_INSTANCE_DELETION" - ], - "enumDescriptions": [ - "", - "" - ], - "type": "string", - "description": "These stateful disks will never be deleted during autohealing, update or VM instance recreate operations. This flag is used to configure if the disk should be deleted after it is no longer used by the group, e.g. when the given instance or the whole group is deleted. Note: disks attached in READ_ONLY mode cannot be auto-deleted." + } } } }, - "InterconnectLocationList": { - "description": "Response to the list request, and contains a list of interconnect locations.", - "id": "InterconnectLocationList", + "SslCertificatesScopedList": { + "id": "SslCertificatesScopedList", + "type": "object", "properties": { - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", - "type": "string" + "sslCertificates": { + "description": "List of SslCertificates contained in this scope.", + "type": "array", + "items": { + "$ref": "SslCertificate" + } }, "warning": { + "description": "Informational warning which replaces the list of backend services when the list is empty.", + "type": "object", "properties": { - "data": { - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "items": { - "properties": { - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - }, - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - } - }, - "type": "object" - }, - "type": "array" - }, - "message": { - "description": "[Output Only] A human-readable description of the warning code.", - "type": "string" - }, "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", "A link to a deprecated resource was created.", @@ -35820,6 +35878,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -35838,8 +35897,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], - "type": "string", - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -35851,6 +35938,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -35869,221 +35957,441 @@ "UNDECLARED_PROPERTIES", "UNREACHABLE" ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } } - }, - "description": "[Output Only] Informational warning message.", - "type": "object" - }, - "selfLink": { - "type": "string", - "description": "[Output Only] Server-defined URL for this resource." - }, + } + } + } + }, + "SslPoliciesList": { + "id": "SslPoliciesList", + "type": "object", + "properties": { "kind": { - "default": "compute#interconnectLocationList", - "type": "string", - "description": "[Output Only] Type of resource. Always compute#interconnectLocationList for lists of interconnect locations." + "description": "[Output Only] Type of the resource. Always compute#sslPoliciesList for lists of sslPolicies.", + "default": "compute#sslPoliciesList", + "type": "string" }, "id": { "description": "[Output Only] Unique identifier for the resource; defined by the server.", "type": "string" }, "items": { + "description": "A list of SslPolicy resources.", + "type": "array", "items": { - "$ref": "InterconnectLocation" - }, - "description": "A list of InterconnectLocation resources.", - "type": "array" - } - }, - "type": "object" - }, - "OutlierDetection": { - "id": "OutlierDetection", - "description": "Settings controlling the eviction of unhealthy hosts from the load balancing pool for the backend service.", - "properties": { - "enforcingConsecutiveErrors": { - "format": "int32", - "description": "The percentage chance that a host will be actually ejected when an outlier status is detected through consecutive 5xx. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 0. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.", - "type": "integer" - }, - "consecutiveGatewayFailure": { - "format": "int32", - "description": "The number of consecutive gateway failures (502, 503, 504 status or connection errors that are mapped to one of those status codes) before a consecutive gateway failure ejection occurs. Defaults to 3. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.", - "type": "integer" - }, - "baseEjectionTime": { - "$ref": "Duration", - "description": "The base time that a host is ejected for. The real ejection time is equal to the base ejection time multiplied by the number of times the host has been ejected. Defaults to 30000ms or 30s." - }, - "successRateMinimumHosts": { - "description": "The number of hosts in a cluster that must have enough request volume to detect success rate outliers. If the number of hosts is less than this setting, outlier detection via success rate statistics is not performed for any host in the cluster. Defaults to 5.", - "type": "integer", - "format": "int32" - }, - "successRateStdevFactor": { - "description": "This factor is used to determine the ejection threshold for success rate outlier ejection. The ejection threshold is the difference between the mean success rate, and the product of this factor and the standard deviation of the mean success rate: mean - (stdev * success_rate_stdev_factor). This factor is divided by a thousand to get a double. That is, if the desired factor is 1.9, the runtime value should be 1900. Defaults to 1900.", - "format": "int32", - "type": "integer" - }, - "maxEjectionPercent": { - "format": "int32", - "description": "Maximum percentage of hosts in the load balancing pool for the backend service that can be ejected. Defaults to 50%.", - "type": "integer" - }, - "interval": { - "description": "Time interval between ejection analysis sweeps. This can result in both new ejections as well as hosts being returned to service. Defaults to 1 second.", - "$ref": "Duration" - }, - "enforcingConsecutiveGatewayFailure": { - "description": "The percentage chance that a host will be actually ejected when an outlier status is detected through consecutive gateway failures. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 100. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.", - "type": "integer", - "format": "int32" + "$ref": "SslPolicy" + } }, - "consecutiveErrors": { - "description": "Number of errors before a host is ejected from the connection pool. When the backend host is accessed over HTTP, a 5xx return code qualifies as an error. Defaults to 5. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.", - "type": "integer", - "format": "int32" + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" }, - "successRateRequestVolume": { - "type": "integer", - "description": "The minimum number of total requests that must be collected in one interval (as defined by the interval duration above) to include this host in success rate based outlier detection. If the volume is lower than this setting, outlier detection via success rate statistics is not performed for that host. Defaults to 100.", - "format": "int32" + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" }, - "enforcingSuccessRate": { - "description": "The percentage chance that a host will be actually ejected when an outlier status is detected through success rate statistics. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 100.", - "type": "integer", - "format": "int32" - } - }, - "type": "object" - }, - "InstanceGroupsAddInstancesRequest": { - "type": "object", - "id": "InstanceGroupsAddInstancesRequest", - "properties": { - "instances": { - "items": { - "$ref": "InstanceReference" - }, - "type": "array", - "description": "The list of instances to add to the instance group." + "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } } } }, - "NotificationEndpoint": { + "SslPolicy": { + "id": "SslPolicy", + "description": "Represents an SSL Policy resource. Use SSL policies to control SSL features, such as versions and cipher suites, that are offered by Application Load Balancers and proxy Network Load Balancers. For more information, read SSL policies overview.", + "type": "object", "properties": { - "id": { - "format": "uint64", - "type": "string", - "description": "[Output Only] A unique identifier for this resource type. The server generates this identifier." - }, "kind": { - "description": "[Output Only] Type of the resource. Always compute#notificationEndpoint for notification endpoints.", - "type": "string", - "default": "compute#notificationEndpoint" + "description": "[Output only] Type of the resource. Always compute#sslPolicyfor SSL policies.", + "default": "compute#sslPolicy", + "type": "string" }, - "grpcSettings": { - "$ref": "NotificationEndpointGrpcSettings", - "description": "Settings of the gRPC notification endpoint including the endpoint URL and the retry duration." + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", + "type": "string", + "format": "uint64" }, - "description": { - "description": "An optional description of this resource. Provide this property when you create the resource.", + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", "type": "string" }, "selfLink": { "description": "[Output Only] Server-defined URL for the resource.", "type": "string" }, - "region": { - "type": "string", - "description": "[Output Only] URL of the region where the notification endpoint resides. This field applies only to the regional resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body." - }, "name": { + "description": "Name of the resource. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", "type": "string" }, - "creationTimestamp": { + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource.", + "type": "string" + }, + "profile": { + "description": "Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field.", "type": "string", - "description": "[Output Only] Creation timestamp in RFC3339 text format." - } - }, - "id": "NotificationEndpoint", - "description": "Represents a notification endpoint. A notification endpoint resource defines an endpoint to receive notifications when there are status changes detected by the associated health check service. For more information, see Health checks overview.", - "type": "object" - }, - "NetworkEndpoint": { - "type": "object", - "properties": { - "port": { - "description": "Optional port number of network endpoint. If not specified, the defaultPort for the network endpoint group will be used.", - "type": "integer", - "format": "int32" + "enumDescriptions": [ + "Compatible profile. Allows the broadset set of clients, even those which support only out-of-date SSL features to negotiate with the load balancer.", + "Custom profile. Allow only the set of allowed SSL features specified in the customFeatures field.", + "Modern profile. Supports a wide set of SSL features, allowing modern clients to negotiate SSL with the load balancer.", + "Restricted profile. Supports a reduced set of SSL features, intended to meet stricter compliance requirements." + ], + "enum": [ + "COMPATIBLE", + "CUSTOM", + "MODERN", + "RESTRICTED" + ] }, - "fqdn": { + "minTlsVersion": { + "description": "The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2.", "type": "string", - "description": "Optional fully qualified domain name of network endpoint. This can only be specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT." + "enumDescriptions": [ + "TLS 1.0", + "TLS 1.1", + "TLS 1.2" + ], + "enum": [ + "TLS_1_0", + "TLS_1_1", + "TLS_1_2" + ] }, - "ipAddress": { - "description": "Optional IPv4 address of network endpoint. The IP address must belong to a VM in Compute Engine (either the primary IP or as part of an aliased IP range). If the IP address is not specified, then the primary IP address for the VM instance in the network that the network endpoint group belongs to will be used.", - "type": "string" + "enabledFeatures": { + "description": "[Output Only] The list of features enabled in the SSL policy.", + "type": "array", + "items": { + "type": "string" + } }, - "instance": { + "customFeatures": { + "description": "A list of features enabled when the selected profile is CUSTOM. The method returns the set of features that can be specified in this list. This field must be empty if the profile is not CUSTOM.", + "type": "array", + "items": { + "type": "string" + } + }, + "fingerprint": { + "description": "Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a SslPolicy. An up-to-date fingerprint must be provided in order to update the SslPolicy, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an SslPolicy.", "type": "string", - "description": "The name for a specific VM instance that the IP address belongs to. This is required for network endpoints of type GCE_VM_IP_PORT. The instance must be in the same zone of network endpoint group. The name must be 1-63 characters long, and comply with RFC1035." + "format": "byte" }, - "annotations": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Metadata defined as annotations on the network endpoint." - } - }, - "id": "NetworkEndpoint", - "description": "The network endpoint." - }, - "ShieldedInstanceIdentity": { - "description": "A Shielded Instance Identity.", - "properties": { - "signingKey": { - "description": "An Attestation Key (AK) made by the RSA 2048 algorithm issued to the Shielded Instance's vTPM.", - "$ref": "ShieldedInstanceIdentityEntry" + "warnings": { + "description": "[Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.", + "type": "array", + "items": { + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + } }, - "kind": { - "description": "[Output Only] Type of the resource. Always compute#shieldedInstanceIdentity for shielded Instance identity entry.", - "default": "compute#shieldedInstanceIdentity", + "region": { + "description": "[Output Only] URL of the region where the regional SSL policy resides. This field is not applicable to global SSL policies.", "type": "string" - }, - "encryptionKey": { - "description": "An Endorsement Key (EK) made by the RSA 2048 algorithm issued to the Shielded Instance's vTPM.", - "$ref": "ShieldedInstanceIdentityEntry" } - }, - "id": "ShieldedInstanceIdentity", - "type": "object" + } }, - "ResourcePolicySnapshotSchedulePolicySchedule": { + "SslPoliciesListAvailableFeaturesResponse": { + "id": "SslPoliciesListAvailableFeaturesResponse", "type": "object", "properties": { - "hourlySchedule": { - "$ref": "ResourcePolicyHourlyCycle" - }, - "weeklySchedule": { - "$ref": "ResourcePolicyWeeklyCycle" - }, - "dailySchedule": { - "$ref": "ResourcePolicyDailyCycle" + "features": { + "type": "array", + "items": { + "type": "string" + } } - }, - "description": "A schedule for disks where the schedueled operations are performed.", - "id": "ResourcePolicySnapshotSchedulePolicySchedule" + } }, - "NodeTemplateAggregatedList": { + "SslPoliciesAggregatedList": { + "id": "SslPoliciesAggregatedList", + "type": "object", "properties": { + "kind": { + "description": "[Output Only] Type of resource. Always compute#sslPolicyAggregatedList for lists of SSL Policies.", + "default": "compute#sslPoliciesAggregatedList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of SslPoliciesScopedList resources.", + "type": "object", + "additionalProperties": { + "description": "Name of the scope containing this set of SSL policies.", + "$ref": "SslPoliciesScopedList" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", "properties": { "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", "type": "string", "enumDescriptions": [ "Warning about failed cleanup of transient changes made by a failed operation.", @@ -36096,6 +36404,7 @@ "The operation involved use of an injected kernel, which is deprecated.", "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", "A resource depends on a missing type", "The route's nextHopIp address is not assigned to an instance on the network.", "The route's next hop instance cannot ip forward.", @@ -36114,6 +36423,36 @@ "When undeclared properties in the schema are present", "A given scope cannot be reached." ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], "enum": [ "CLEANUP_FAILED", "DEPRECATED_RESOURCE_USED", @@ -36125,6 +36464,7 @@ "INJECTED_KERNELS_DEPRECATED", "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", "MISSING_TYPE_DEPENDENCY", "NEXT_HOP_ADDRESS_NOT_ASSIGNED", "NEXT_HOP_CANNOT_IP_FORWARD", @@ -36142,692 +36482,13150 @@ "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNDECLARED_PROPERTIES", "UNREACHABLE" - ], - "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response." + ] }, "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + }, + "etag": { + "type": "string" + }, + "unreachables": { + "description": "[Output Only] Unreachable resources.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "SslPoliciesScopedList": { + "id": "SslPoliciesScopedList", + "type": "object", + "properties": { + "sslPolicies": { + "description": "A list of SslPolicies contained in this scope.", + "type": "array", + "items": { + "$ref": "SslPolicy" + } + }, + "warning": { + "description": "Informational warning which replaces the list of SSL policies when the list is empty.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", "type": "string", - "description": "[Output Only] A human-readable description of the warning code." + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + } + } + }, + "SubnetworkList": { + "id": "SubnetworkList", + "description": "Contains a list of Subnetwork resources.", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of resource. Always compute#subnetworkList for lists of subnetworks.", + "default": "compute#subnetworkList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of Subnetwork resources.", + "type": "array", + "items": { + "$ref": "Subnetwork" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, + "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + } + } + }, + "Subnetwork": { + "id": "Subnetwork", + "description": "Represents a Subnetwork resource. A subnetwork (also known as a subnet) is a logical partition of a Virtual Private Cloud network with one primary IP range and zero or more secondary IP ranges. For more information, read Virtual Private Cloud (VPC) Network.", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of the resource. Always compute#subnetwork for Subnetwork resources.", + "default": "compute#subnetwork", + "type": "string" + }, + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", + "type": "string", + "format": "uint64" + }, + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" + }, + "name": { + "description": "The name of the resource, provided by the client when initially creating the resource. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "type": "string" + }, + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource. This field can be set only at resource creation time.", + "type": "string" + }, + "network": { + "description": "The URL of the network to which this subnetwork belongs, provided by the client when initially creating the subnetwork. This field can be set only at resource creation time.", + "type": "string" + }, + "ipCidrRange": { + "description": "The range of internal addresses that are owned by this subnetwork. Provide this property when you create the subnetwork. For example, 10.0.0.0/8 or 100.64.0.0/10. Ranges must be unique and non-overlapping within a network. Only IPv4 is supported. This field is set at resource creation time. The range can be any range listed in the Valid ranges list. The range can be expanded after creation using expandIpCidrRange.", + "type": "string" + }, + "reservedInternalRange": { + "description": "The URL of the reserved internal range.", + "type": "string" + }, + "gatewayAddress": { + "description": "[Output Only] The gateway address for default routes to reach destination addresses outside this subnetwork.", + "type": "string" + }, + "region": { + "description": "URL of the region where the Subnetwork resides. This field can be set only at resource creation time.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", + "type": "string" + }, + "privateIpGoogleAccess": { + "description": "Whether the VMs in this subnet can access Google services without assigned external IP addresses. This field can be both set at resource creation time and updated using setPrivateIpGoogleAccess.", + "type": "boolean" + }, + "secondaryIpRanges": { + "description": "An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with a patch request.", + "type": "array", + "items": { + "$ref": "SubnetworkSecondaryRange" + } + }, + "fingerprint": { + "description": "Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a Subnetwork. An up-to-date fingerprint must be provided in order to update the Subnetwork, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a Subnetwork.", + "type": "string", + "format": "byte" + }, + "enableFlowLogs": { + "description": "Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is determined by the org policy, if there is no org policy specified, then it will default to disabled. This field isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY.", + "type": "boolean" + }, + "privateIpv6GoogleAccess": { + "description": "This field is for internal use. This field can be both set at resource creation time and updated using patch.", + "type": "string", + "enumDescriptions": [ + "Disable private IPv6 access to/from Google services.", + "Bidirectional private IPv6 access to/from Google services.", + "Outbound private IPv6 access from VMs in this subnet to Google services." + ], + "enum": [ + "DISABLE_GOOGLE_ACCESS", + "ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE", + "ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE" + ] + }, + "ipv6CidrRange": { + "description": "[Output Only] This field is for internal use.", + "type": "string" + }, + "externalIpv6Prefix": { + "description": "The external IPv6 address range that is owned by this subnetwork.", + "type": "string" + }, + "internalIpv6Prefix": { + "description": "[Output Only] The internal IPv6 address range that is assigned to this subnetwork.", + "type": "string" + }, + "purpose": { + "description": "The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. Subnets with purpose set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks that are reserved for Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY.", + "type": "string", + "enumDescriptions": [ + "Subnet reserved for Global Envoy-based Load Balancing.", + "Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy purpose, please use REGIONAL_MANAGED_PROXY instead.", + "Regular user created or automatically created subnet.", + "Subnetwork used as source range for Private NAT Gateways.", + "Regular user created or automatically created subnet.", + "Subnetworks created for Private Service Connect in the producer network.", + "Subnetwork used for Regional Envoy-based Load Balancing." + ], + "enum": [ + "GLOBAL_MANAGED_PROXY", + "INTERNAL_HTTPS_LOAD_BALANCER", + "PRIVATE", + "PRIVATE_NAT", + "PRIVATE_RFC_1918", + "PRIVATE_SERVICE_CONNECT", + "REGIONAL_MANAGED_PROXY" + ] + }, + "role": { + "description": "The role of subnetwork. Currently, this field is only used when purpose is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Envoy-based load balancers in a region. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request.", + "type": "string", + "enumDescriptions": [ + "The ACTIVE subnet that is currently used.", + "The BACKUP subnet that could be promoted to ACTIVE." + ], + "enum": [ + "ACTIVE", + "BACKUP" + ] + }, + "state": { + "description": "[Output Only] The state of the subnetwork, which can be one of the following values: READY: Subnetwork is created and ready to use DRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained. A subnetwork that is draining cannot be used or modified until it reaches a status of READY", + "type": "string", + "enumDescriptions": [ + "Subnetwork is being drained.", + "Subnetwork is ready for use." + ], + "enum": [ + "DRAINING", + "READY" + ] + }, + "logConfig": { + "description": "This field denotes the VPC flow logging options for this subnetwork. If logging is enabled, logs are exported to Cloud Logging.", + "$ref": "SubnetworkLogConfig" + }, + "stackType": { + "description": "The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch.", + "type": "string", + "enumDescriptions": [ + "New VMs in this subnet can have both IPv4 and IPv6 addresses.", + "New VMs in this subnet will only be assigned IPv4 addresses." + ], + "enum": [ + "IPV4_IPV6", + "IPV4_ONLY" + ] + }, + "ipv6AccessType": { + "description": "The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack.", + "type": "string", + "enumDescriptions": [ + "VMs on this subnet will be assigned IPv6 addresses that are accessible via the Internet, as well as the VPC network.", + "VMs on this subnet will be assigned IPv6 addresses that are only accessible over the VPC network." + ], + "enum": [ + "EXTERNAL", + "INTERNAL" + ] + } + } + }, + "SubnetworkSecondaryRange": { + "id": "SubnetworkSecondaryRange", + "description": "Represents a secondary IP range of a subnetwork.", + "type": "object", + "properties": { + "rangeName": { + "description": "The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork.", + "type": "string" + }, + "ipCidrRange": { + "description": "The range of IP addresses belonging to this subnetwork secondary range. Provide this property when you create the subnetwork. Ranges must be unique and non-overlapping with all primary and secondary IP ranges within a network. Only IPv4 is supported. The range can be any range listed in the Valid ranges list.", + "type": "string" + }, + "reservedInternalRange": { + "description": "The URL of the reserved internal range.", + "type": "string" + } + } + }, + "SubnetworkLogConfig": { + "id": "SubnetworkLogConfig", + "description": "The available logging options for this subnetwork.", + "type": "object", + "properties": { + "enable": { + "description": "Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is determined by the org policy, if there is no org policy specified, then it will default to disabled. Flow logging isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY.", + "type": "boolean" + }, + "aggregationInterval": { + "description": "Can only be specified if VPC flow logging for this subnetwork is enabled. Toggles the aggregation interval for collecting flow logs. Increasing the interval time will reduce the amount of generated flow logs for long lasting connections. Default is an interval of 5 seconds per connection.", + "type": "string", + "enumDescriptions": [ + "", + "", + "", + "", + "", + "" + ], + "enum": [ + "INTERVAL_10_MIN", + "INTERVAL_15_MIN", + "INTERVAL_1_MIN", + "INTERVAL_30_SEC", + "INTERVAL_5_MIN", + "INTERVAL_5_SEC" + ] + }, + "flowSampling": { + "description": "Can only be specified if VPC flow logging for this subnetwork is enabled. The value of the field must be in [0, 1]. Set the sampling rate of VPC flow logs within the subnetwork where 1.0 means all collected logs are reported and 0.0 means no logs are reported. Default is 0.5 unless otherwise specified by the org policy, which means half of all collected logs are reported.", + "type": "number", + "format": "float" + }, + "metadata": { + "description": "Can only be specified if VPC flow logs for this subnetwork is enabled. Configures whether all, none or a subset of metadata fields should be added to the reported VPC flow logs. Default is EXCLUDE_ALL_METADATA.", + "type": "string", + "enumDescriptions": [ + "", + "", + "" + ], + "enum": [ + "CUSTOM_METADATA", + "EXCLUDE_ALL_METADATA", + "INCLUDE_ALL_METADATA" + ] + }, + "metadataFields": { + "description": "Can only be specified if VPC flow logs for this subnetwork is enabled and \"metadata\" was set to CUSTOM_METADATA.", + "type": "array", + "items": { + "type": "string" + } + }, + "filterExpr": { + "description": "Can only be specified if VPC flow logs for this subnetwork is enabled. The filter expression is used to define which VPC flow logs should be exported to Cloud Logging.", + "type": "string" + } + } + }, + "SubnetworkAggregatedList": { + "id": "SubnetworkAggregatedList", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of resource. Always compute#subnetworkAggregatedList for aggregated lists of subnetworks.", + "default": "compute#subnetworkAggregatedList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of SubnetworksScopedList resources.", + "type": "object", + "additionalProperties": { + "description": "Name of the scope containing this set of Subnetworks.", + "$ref": "SubnetworksScopedList" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, + "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + }, + "unreachables": { + "description": "[Output Only] Unreachable resources.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "SubnetworksScopedList": { + "id": "SubnetworksScopedList", + "type": "object", + "properties": { + "subnetworks": { + "description": "A list of subnetworks contained in this scope.", + "type": "array", + "items": { + "$ref": "Subnetwork" + } + }, + "warning": { + "description": "An informational warning that appears when the list of addresses is empty.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + } + } + }, + "UsableSubnetworksAggregatedList": { + "id": "UsableSubnetworksAggregatedList", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of resource. Always compute#usableSubnetworksAggregatedList for aggregated lists of usable subnetworks.", + "default": "compute#usableSubnetworksAggregatedList", + "type": "string" + }, + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", + "type": "string" + }, + "items": { + "description": "[Output] A list of usable subnetwork URLs.", + "type": "array", + "items": { + "$ref": "UsableSubnetwork" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. In special cases listUsable may return 0 subnetworks and nextPageToken which still should be used to get the next page of results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, + "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + } + } + }, + "UsableSubnetwork": { + "id": "UsableSubnetwork", + "description": "Subnetwork which the current user has compute.subnetworks.use permission on.", + "type": "object", + "properties": { + "subnetwork": { + "description": "Subnetwork URL.", + "type": "string" + }, + "network": { + "description": "Network URL.", + "type": "string" + }, + "ipCidrRange": { + "description": "The range of internal addresses that are owned by this subnetwork.", + "type": "string" + }, + "secondaryIpRanges": { + "description": "Secondary IP ranges.", + "type": "array", + "items": { + "$ref": "UsableSubnetworkSecondaryRange" + } + }, + "stackType": { + "description": "The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch.", + "type": "string", + "enumDescriptions": [ + "New VMs in this subnet can have both IPv4 and IPv6 addresses.", + "New VMs in this subnet will only be assigned IPv4 addresses." + ], + "enum": [ + "IPV4_IPV6", + "IPV4_ONLY" + ] + }, + "ipv6AccessType": { + "description": "The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack.", + "type": "string", + "enumDescriptions": [ + "VMs on this subnet will be assigned IPv6 addresses that are accessible via the Internet, as well as the VPC network.", + "VMs on this subnet will be assigned IPv6 addresses that are only accessible over the VPC network." + ], + "enum": [ + "EXTERNAL", + "INTERNAL" + ] + }, + "purpose": { + "description": "The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. Subnets with purpose set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks that are reserved for Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY.", + "type": "string", + "enumDescriptions": [ + "Subnet reserved for Global Envoy-based Load Balancing.", + "Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy purpose, please use REGIONAL_MANAGED_PROXY instead.", + "Regular user created or automatically created subnet.", + "Subnetwork used as source range for Private NAT Gateways.", + "Regular user created or automatically created subnet.", + "Subnetworks created for Private Service Connect in the producer network.", + "Subnetwork used for Regional Envoy-based Load Balancing." + ], + "enum": [ + "GLOBAL_MANAGED_PROXY", + "INTERNAL_HTTPS_LOAD_BALANCER", + "PRIVATE", + "PRIVATE_NAT", + "PRIVATE_RFC_1918", + "PRIVATE_SERVICE_CONNECT", + "REGIONAL_MANAGED_PROXY" + ] + }, + "role": { + "description": "The role of subnetwork. Currently, this field is only used when purpose is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Envoy-based load balancers in a region. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request.", + "type": "string", + "enumDescriptions": [ + "The ACTIVE subnet that is currently used.", + "The BACKUP subnet that could be promoted to ACTIVE." + ], + "enum": [ + "ACTIVE", + "BACKUP" + ] + }, + "externalIpv6Prefix": { + "description": "[Output Only] The external IPv6 address range that is assigned to this subnetwork.", + "type": "string" + }, + "internalIpv6Prefix": { + "description": "[Output Only] The internal IPv6 address range that is assigned to this subnetwork.", + "type": "string" + } + } + }, + "UsableSubnetworkSecondaryRange": { + "id": "UsableSubnetworkSecondaryRange", + "description": "Secondary IP range of a usable subnetwork.", + "type": "object", + "properties": { + "rangeName": { + "description": "The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork.", + "type": "string" + }, + "ipCidrRange": { + "description": "The range of IP addresses belonging to this subnetwork secondary range.", + "type": "string" + } + } + }, + "SubnetworksExpandIpCidrRangeRequest": { + "id": "SubnetworksExpandIpCidrRangeRequest", + "type": "object", + "properties": { + "ipCidrRange": { + "description": "The IP (in CIDR format or netmask) of internal addresses that are legal on this Subnetwork. This range should be disjoint from other subnetworks within this network. This range can only be larger than (i.e. a superset of) the range previously defined before the update.", + "type": "string" + } + } + }, + "SubnetworksSetPrivateIpGoogleAccessRequest": { + "id": "SubnetworksSetPrivateIpGoogleAccessRequest", + "type": "object", + "properties": { + "privateIpGoogleAccess": { + "type": "boolean" + } + } + }, + "TargetGrpcProxyList": { + "id": "TargetGrpcProxyList", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of the resource. Always compute#targetGrpcProxy for target grpc proxies.", + "default": "compute#targetGrpcProxyList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of TargetGrpcProxy resources.", + "type": "array", + "items": { + "$ref": "TargetGrpcProxy" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, + "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + } + } + }, + "TargetGrpcProxy": { + "id": "TargetGrpcProxy", + "description": "Represents a Target gRPC Proxy resource. A target gRPC proxy is a component of load balancers intended for load balancing gRPC traffic. Only global forwarding rules with load balancing scheme INTERNAL_SELF_MANAGED can reference a target gRPC proxy. The target gRPC Proxy references a URL map that specifies how traffic is routed to gRPC backend services.", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of the resource. Always compute#targetGrpcProxy for target grpc proxies.", + "default": "compute#targetGrpcProxy", + "type": "string" + }, + "id": { + "description": "[Output Only] The unique identifier for the resource type. The server generates this identifier.", + "type": "string", + "format": "uint64" + }, + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" + }, + "name": { + "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "annotations": { + "required": [ + "compute.targetGrpcProxies.insert" + ] + }, + "type": "string" + }, + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", + "type": "string" + }, + "selfLinkWithId": { + "description": "[Output Only] Server-defined URL with id for the resource.", + "type": "string" + }, + "urlMap": { + "description": "URL to the UrlMap resource that defines the mapping from URL to the BackendService. The protocol field in the BackendService must be set to GRPC.", + "type": "string" + }, + "validateForProxyless": { + "description": "If true, indicates that the BackendServices referenced by the urlMap may be accessed by gRPC applications without using a sidecar proxy. This will enable configuration checks on urlMap and its referenced BackendServices to not allow unsupported features. A gRPC application must use \"xds:///\" scheme in the target URI of the service it is connecting to. If false, indicates that the BackendServices referenced by the urlMap will be accessed by gRPC applications via a sidecar proxy. In this case, a gRPC application must not use \"xds:///\" scheme in the target URI of the service it is connecting to", + "type": "boolean" + }, + "fingerprint": { + "description": "Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a TargetGrpcProxy. An up-to-date fingerprint must be provided in order to patch/update the TargetGrpcProxy; otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the TargetGrpcProxy.", + "type": "string", + "format": "byte" + } + } + }, + "TargetHttpProxyList": { + "id": "TargetHttpProxyList", + "description": "A list of TargetHttpProxy resources.", + "type": "object", + "properties": { + "kind": { + "description": "Type of resource. Always compute#targetHttpProxyList for lists of target HTTP proxies.", + "default": "compute#targetHttpProxyList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of TargetHttpProxy resources.", + "type": "array", + "items": { + "$ref": "TargetHttpProxy" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, + "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + } + } + }, + "TargetHttpProxy": { + "id": "TargetHttpProxy", + "description": "Represents a Target HTTP Proxy resource. Google Compute Engine has two Target HTTP Proxy resources: * [Global](/compute/docs/reference/rest/v1/targetHttpProxies) * [Regional](/compute/docs/reference/rest/v1/regionTargetHttpProxies) A target HTTP proxy is a component of Google Cloud HTTP load balancers. * targetHttpProxies are used by global external Application Load Balancers, classic Application Load Balancers, cross-region internal Application Load Balancers, and Traffic Director. * regionTargetHttpProxies are used by regional internal Application Load Balancers and regional external Application Load Balancers. Forwarding rules reference a target HTTP proxy, and the target proxy then references a URL map. For more information, read Using Target Proxies and Forwarding rule concepts.", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of resource. Always compute#targetHttpProxy for target HTTP proxies.", + "default": "compute#targetHttpProxy", + "type": "string" + }, + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", + "type": "string", + "format": "uint64" + }, + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" + }, + "name": { + "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "type": "string" + }, + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", + "type": "string" + }, + "urlMap": { + "description": "URL to the UrlMap resource that defines the mapping from URL to the BackendService.", + "type": "string" + }, + "region": { + "description": "[Output Only] URL of the region where the regional Target HTTP Proxy resides. This field is not applicable to global Target HTTP Proxies.", + "type": "string" + }, + "proxyBind": { + "description": "This field only applies when the forwarding rule that references this target proxy has a loadBalancingScheme set to INTERNAL_SELF_MANAGED. When this field is set to true, Envoy proxies set up inbound traffic interception and bind to the IP address and port specified in the forwarding rule. This is generally useful when using Traffic Director to configure Envoy as a gateway or middle proxy (in other words, not a sidecar proxy). The Envoy proxy listens for inbound requests and handles requests when it receives them. The default is false.", + "type": "boolean" + }, + "fingerprint": { + "description": "Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a TargetHttpProxy. An up-to-date fingerprint must be provided in order to patch/update the TargetHttpProxy; otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the TargetHttpProxy.", + "type": "string", + "format": "byte" + }, + "httpKeepAliveTimeoutSec": { + "description": "Specifies how long to keep a connection open, after completing a response, while there is no matching traffic (in seconds). If an HTTP keep-alive is not specified, a default value (610 seconds) will be used. For global external Application Load Balancers, the minimum allowed value is 5 seconds and the maximum allowed value is 1200 seconds. For classic Application Load Balancers, this option is not supported.", + "type": "integer", + "format": "int32" + } + } + }, + "UrlMapReference": { + "id": "UrlMapReference", + "type": "object", + "properties": { + "urlMap": { + "type": "string" + } + } + }, + "TargetHttpProxyAggregatedList": { + "id": "TargetHttpProxyAggregatedList", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of resource. Always compute#targetHttpProxyAggregatedList for lists of Target HTTP Proxies.", + "default": "compute#targetHttpProxyAggregatedList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of TargetHttpProxiesScopedList resources.", + "type": "object", + "additionalProperties": { + "description": "Name of the scope containing this set of TargetHttpProxies.", + "$ref": "TargetHttpProxiesScopedList" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, + "unreachables": { + "description": "[Output Only] Unreachable resources.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "TargetHttpProxiesScopedList": { + "id": "TargetHttpProxiesScopedList", + "type": "object", + "properties": { + "targetHttpProxies": { + "description": "A list of TargetHttpProxies contained in this scope.", + "type": "array", + "items": { + "$ref": "TargetHttpProxy" + } + }, + "warning": { + "description": "Informational warning which replaces the list of backend services when the list is empty.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + } + } + }, + "TargetHttpsProxyList": { + "id": "TargetHttpsProxyList", + "description": "Contains a list of TargetHttpsProxy resources.", + "type": "object", + "properties": { + "kind": { + "description": "Type of resource. Always compute#targetHttpsProxyList for lists of target HTTPS proxies.", + "default": "compute#targetHttpsProxyList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of TargetHttpsProxy resources.", + "type": "array", + "items": { + "$ref": "TargetHttpsProxy" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, + "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + } + } + }, + "TargetHttpsProxy": { + "id": "TargetHttpsProxy", + "description": "Represents a Target HTTPS Proxy resource. Google Compute Engine has two Target HTTPS Proxy resources: * [Global](/compute/docs/reference/rest/v1/targetHttpsProxies) * [Regional](/compute/docs/reference/rest/v1/regionTargetHttpsProxies) A target HTTPS proxy is a component of GCP HTTPS load balancers. * targetHttpProxies are used by global external Application Load Balancers, classic Application Load Balancers, cross-region internal Application Load Balancers, and Traffic Director. * regionTargetHttpProxies are used by regional internal Application Load Balancers and regional external Application Load Balancers. Forwarding rules reference a target HTTPS proxy, and the target proxy then references a URL map. For more information, read Using Target Proxies and Forwarding rule concepts.", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of resource. Always compute#targetHttpsProxy for target HTTPS proxies.", + "default": "compute#targetHttpsProxy", + "type": "string" + }, + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", + "type": "string", + "format": "uint64" + }, + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" + }, + "name": { + "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "type": "string" + }, + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", + "type": "string" + }, + "urlMap": { + "description": "A fully-qualified or valid partial URL to the UrlMap resource that defines the mapping from URL to the BackendService. For example, the following are all valid URLs for specifying a URL map: - https://www.googleapis.compute/v1/projects/project/global/urlMaps/ url-map - projects/project/global/urlMaps/url-map - global/urlMaps/url-map ", + "type": "string" + }, + "sslCertificates": { + "description": "URLs to SslCertificate resources that are used to authenticate connections between users and the load balancer. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates. sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED.", + "type": "array", + "items": { + "type": "string" + } + }, + "certificateMap": { + "description": "URL of a certificate map that identifies a certificate map associated with the given target proxy. This field can only be set for global target proxies. If set, sslCertificates will be ignored. Accepted format is //certificatemanager.googleapis.com/projects/{project }/locations/{location}/certificateMaps/{resourceName}.", + "type": "string" + }, + "quicOverride": { + "description": "Specifies the QUIC override policy for this TargetHttpsProxy resource. This setting determines whether the load balancer attempts to negotiate QUIC with clients. You can specify NONE, ENABLE, or DISABLE. - When quic-override is set to NONE, Google manages whether QUIC is used. - When quic-override is set to ENABLE, the load balancer uses QUIC when possible. - When quic-override is set to DISABLE, the load balancer doesn't use QUIC. - If the quic-override flag is not specified, NONE is implied. ", + "type": "string", + "enumDescriptions": [ + "The load balancer will not attempt to negotiate QUIC with clients.", + "The load balancer will attempt to negotiate QUIC with clients.", + "No overrides to the default QUIC policy. This option is implicit if no QUIC override has been specified in the request." + ], + "enum": [ + "DISABLE", + "ENABLE", + "NONE" + ] + }, + "sslPolicy": { + "description": "URL of SslPolicy resource that will be associated with the TargetHttpsProxy resource. If not set, the TargetHttpsProxy resource has no SSL policy configured.", + "type": "string" + }, + "region": { + "description": "[Output Only] URL of the region where the regional TargetHttpsProxy resides. This field is not applicable to global TargetHttpsProxies.", + "type": "string" + }, + "proxyBind": { + "description": "This field only applies when the forwarding rule that references this target proxy has a loadBalancingScheme set to INTERNAL_SELF_MANAGED. When this field is set to true, Envoy proxies set up inbound traffic interception and bind to the IP address and port specified in the forwarding rule. This is generally useful when using Traffic Director to configure Envoy as a gateway or middle proxy (in other words, not a sidecar proxy). The Envoy proxy listens for inbound requests and handles requests when it receives them. The default is false.", + "type": "boolean" + }, + "serverTlsPolicy": { + "description": "Optional. A URL referring to a networksecurity.ServerTlsPolicy resource that describes how the proxy should authenticate inbound traffic. serverTlsPolicy only applies to a global TargetHttpsProxy attached to globalForwardingRules with the loadBalancingScheme set to INTERNAL_SELF_MANAGED or EXTERNAL or EXTERNAL_MANAGED. For details which ServerTlsPolicy resources are accepted with INTERNAL_SELF_MANAGED and which with EXTERNAL, EXTERNAL_MANAGED loadBalancingScheme consult ServerTlsPolicy documentation. If left blank, communications are not encrypted.", + "type": "string" + }, + "authorizationPolicy": { + "description": "Optional. A URL referring to a networksecurity.AuthorizationPolicy resource that describes how the proxy should authorize inbound traffic. If left blank, access will not be restricted by an authorization policy. Refer to the AuthorizationPolicy resource for additional details. authorizationPolicy only applies to a global TargetHttpsProxy attached to globalForwardingRules with the loadBalancingScheme set to INTERNAL_SELF_MANAGED. Note: This field currently has no impact.", + "type": "string" + }, + "fingerprint": { + "description": "Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a TargetHttpsProxy. An up-to-date fingerprint must be provided in order to patch the TargetHttpsProxy; otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the TargetHttpsProxy.", + "type": "string", + "format": "byte" + }, + "httpKeepAliveTimeoutSec": { + "description": "Specifies how long to keep a connection open, after completing a response, while there is no matching traffic (in seconds). If an HTTP keep-alive is not specified, a default value (610 seconds) will be used. For global external Application Load Balancers, the minimum allowed value is 5 seconds and the maximum allowed value is 1200 seconds. For classic Application Load Balancers, this option is not supported.", + "type": "integer", + "format": "int32" + } + } + }, + "TargetHttpsProxyAggregatedList": { + "id": "TargetHttpsProxyAggregatedList", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of resource. Always compute#targetHttpsProxyAggregatedList for lists of Target HTTP Proxies.", + "default": "compute#targetHttpsProxyAggregatedList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of TargetHttpsProxiesScopedList resources.", + "type": "object", + "additionalProperties": { + "description": "Name of the scope containing this set of TargetHttpsProxies.", + "$ref": "TargetHttpsProxiesScopedList" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, + "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + }, + "unreachables": { + "description": "[Output Only] Unreachable resources.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "TargetHttpsProxiesScopedList": { + "id": "TargetHttpsProxiesScopedList", + "type": "object", + "properties": { + "targetHttpsProxies": { + "description": "A list of TargetHttpsProxies contained in this scope.", + "type": "array", + "items": { + "$ref": "TargetHttpsProxy" + } + }, + "warning": { + "description": "Informational warning which replaces the list of backend services when the list is empty.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + } + } + }, + "TargetHttpsProxiesSetSslCertificatesRequest": { + "id": "TargetHttpsProxiesSetSslCertificatesRequest", + "type": "object", + "properties": { + "sslCertificates": { + "description": "New set of SslCertificate resources to associate with this TargetHttpsProxy resource. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "TargetHttpsProxiesSetCertificateMapRequest": { + "id": "TargetHttpsProxiesSetCertificateMapRequest", + "type": "object", + "properties": { + "certificateMap": { + "description": "URL of the Certificate Map to associate with this TargetHttpsProxy. Accepted format is //certificatemanager.googleapis.com/projects/{project }/locations/{location}/certificateMaps/{resourceName}.", + "type": "string" + } + } + }, + "SslPolicyReference": { + "id": "SslPolicyReference", + "type": "object", + "properties": { + "sslPolicy": { + "description": "URL of the SSL policy resource. Set this to empty string to clear any existing SSL policy associated with the target proxy resource.", + "type": "string" + } + } + }, + "TargetHttpsProxiesSetQuicOverrideRequest": { + "id": "TargetHttpsProxiesSetQuicOverrideRequest", + "type": "object", + "properties": { + "quicOverride": { + "description": "QUIC policy for the TargetHttpsProxy resource.", + "type": "string", + "enumDescriptions": [ + "The load balancer will not attempt to negotiate QUIC with clients.", + "The load balancer will attempt to negotiate QUIC with clients.", + "No overrides to the default QUIC policy. This option is implicit if no QUIC override has been specified in the request." + ], + "enum": [ + "DISABLE", + "ENABLE", + "NONE" + ] + } + } + }, + "RegionTargetHttpsProxiesSetSslCertificatesRequest": { + "id": "RegionTargetHttpsProxiesSetSslCertificatesRequest", + "type": "object", + "properties": { + "sslCertificates": { + "description": "New set of SslCertificate resources to associate with this TargetHttpsProxy resource.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "TargetInstanceList": { + "id": "TargetInstanceList", + "description": "Contains a list of TargetInstance resources.", + "type": "object", + "properties": { + "kind": { + "description": "Type of resource.", + "default": "compute#targetInstanceList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of TargetInstance resources.", + "type": "array", + "items": { + "$ref": "TargetInstance" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, + "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + } + } + }, + "TargetInstance": { + "id": "TargetInstance", + "description": "Represents a Target Instance resource. You can use a target instance to handle traffic for one or more forwarding rules, which is ideal for forwarding protocol traffic that is managed by a single source. For example, ESP, AH, TCP, or UDP. For more information, read Target instances.", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] The type of the resource. Always compute#targetInstance for target instances.", + "default": "compute#targetInstance", + "type": "string" + }, + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", + "type": "string", + "format": "uint64" + }, + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" + }, + "name": { + "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "type": "string" + }, + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource.", + "type": "string" + }, + "zone": { + "description": "[Output Only] URL of the zone where the target instance resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.", + "type": "string" + }, + "natPolicy": { + "description": "Must have a value of NO_NAT. Protocol forwarding delivers packets while preserving the destination IP address of the forwarding rule referencing the target instance.", + "type": "string", + "enumDescriptions": [ + "No NAT performed." + ], + "enum": [ + "NO_NAT" + ] + }, + "instance": { + "description": "A URL to the virtual machine instance that handles traffic for this target instance. When creating a target instance, you can provide the fully-qualified URL or a valid partial URL to the desired virtual machine. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /instances/instance - projects/project/zones/zone/instances/instance - zones/zone/instances/instance ", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", + "type": "string" + }, + "network": { + "description": "The URL of the network this target instance uses to forward traffic. If not specified, the traffic will be forwarded to the network that the default network interface belongs to.", + "type": "string" + }, + "securityPolicy": { + "description": "[Output Only] The resource URL for the security policy associated with this target instance.", + "type": "string" + } + } + }, + "TargetInstanceAggregatedList": { + "id": "TargetInstanceAggregatedList", + "type": "object", + "properties": { + "kind": { + "description": "Type of resource.", + "default": "compute#targetInstanceAggregatedList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of TargetInstance resources.", + "type": "object", + "additionalProperties": { + "description": "Name of the scope containing this set of target instances.", + "$ref": "TargetInstancesScopedList" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, + "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + }, + "unreachables": { + "description": "[Output Only] Unreachable resources.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "TargetInstancesScopedList": { + "id": "TargetInstancesScopedList", + "type": "object", + "properties": { + "targetInstances": { + "description": "A list of target instances contained in this scope.", + "type": "array", + "items": { + "$ref": "TargetInstance" + } + }, + "warning": { + "description": "Informational warning which replaces the list of addresses when the list is empty.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + } + } + }, + "TargetPoolList": { + "id": "TargetPoolList", + "description": "Contains a list of TargetPool resources.", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of resource. Always compute#targetPoolList for lists of target pools.", + "default": "compute#targetPoolList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of TargetPool resources.", + "type": "array", + "items": { + "$ref": "TargetPool" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, + "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + } + } + }, + "TargetPool": { + "id": "TargetPool", + "description": "Represents a Target Pool resource. Target pools are used with external passthrough Network Load Balancers. A target pool references member instances, an associated legacy HttpHealthCheck resource, and, optionally, a backup target pool. For more information, read Using target pools.", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of the resource. Always compute#targetPool for target pools.", + "default": "compute#targetPool", + "type": "string" + }, + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", + "type": "string", + "format": "uint64" + }, + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" + }, + "name": { + "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "type": "string" + }, + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource.", + "type": "string" + }, + "region": { + "description": "[Output Only] URL of the region where the target pool resides.", + "type": "string" + }, + "healthChecks": { + "description": "The URL of the HttpHealthCheck resource. A member instance in this pool is considered healthy if and only if the health checks pass. Only legacy HttpHealthChecks are supported. Only one health check may be specified.", + "type": "array", + "items": { + "type": "string" + } + }, + "instances": { + "description": "A list of resource URLs to the virtual machine instances serving this pool. They must live in zones contained in the same region as this pool.", + "type": "array", + "items": { + "type": "string" + } + }, + "sessionAffinity": { + "description": "Session affinity option, must be one of the following values: NONE: Connections from the same client IP may go to any instance in the pool. CLIENT_IP: Connections from the same client IP will go to the same instance in the pool while that instance remains healthy. CLIENT_IP_PROTO: Connections from the same client IP with the same IP protocol will go to the same instance in the pool while that instance remains healthy.", + "type": "string", + "enumDescriptions": [ + "2-tuple hash on packet's source and destination IP addresses. Connections from the same source IP address to the same destination IP address will be served by the same backend VM while that VM remains healthy.", + "1-tuple hash only on packet's source IP address. Connections from the same source IP address will be served by the same backend VM while that VM remains healthy. This option can only be used for Internal TCP/UDP Load Balancing.", + "5-tuple hash on packet's source and destination IP addresses, IP protocol, and source and destination ports. Connections for the same IP protocol from the same source IP address and port to the same destination IP address and port will be served by the same backend VM while that VM remains healthy. This option cannot be used for HTTP(S) load balancing.", + "3-tuple hash on packet's source and destination IP addresses, and IP protocol. Connections for the same IP protocol from the same source IP address to the same destination IP address will be served by the same backend VM while that VM remains healthy. This option cannot be used for HTTP(S) load balancing.", + "Hash based on a cookie generated by the L7 loadbalancer. Only valid for HTTP(S) load balancing.", + "The hash is based on a user specified header field.", + "The hash is based on a user provided cookie.", + "No session affinity. Connections from the same client IP may go to any instance in the pool." + ], + "enum": [ + "CLIENT_IP", + "CLIENT_IP_NO_DESTINATION", + "CLIENT_IP_PORT_PROTO", + "CLIENT_IP_PROTO", + "GENERATED_COOKIE", + "HEADER_FIELD", + "HTTP_COOKIE", + "NONE" + ] + }, + "failoverRatio": { + "description": "This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool (i.e., not as a backup pool to some other target pool). The value of the field must be in [0, 1]. If set, backupPool must also be set. They together define the fallback behavior of the primary target pool: if the ratio of the healthy instances in the primary pool is at or below this number, traffic arriving at the load-balanced IP will be directed to the backup pool. In case where failoverRatio is not set or all the instances in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the \"force\" mode, where traffic will be spread to the healthy instances with the best effort, or to all instances when no instance is healthy.", + "type": "number", + "format": "float" + }, + "backupPool": { + "description": "The server-defined URL for the resource. This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool, and its failoverRatio field is properly set to a value between [0, 1]. backupPool and failoverRatio together define the fallback behavior of the primary target pool: if the ratio of the healthy instances in the primary pool is at or below failoverRatio, traffic arriving at the load-balanced IP will be directed to the backup pool. In case where failoverRatio and backupPool are not set, or all the instances in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the \"force\" mode, where traffic will be spread to the healthy instances with the best effort, or to all instances when no instance is healthy.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", + "type": "string" + }, + "securityPolicy": { + "description": "[Output Only] The resource URL for the security policy associated with this target pool.", + "type": "string" + } + } + }, + "TargetPoolAggregatedList": { + "id": "TargetPoolAggregatedList", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of resource. Always compute#targetPoolAggregatedList for aggregated lists of target pools.", + "default": "compute#targetPoolAggregatedList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of TargetPool resources.", + "type": "object", + "additionalProperties": { + "description": "Name of the scope containing this set of target pools.", + "$ref": "TargetPoolsScopedList" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, + "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + }, + "unreachables": { + "description": "[Output Only] Unreachable resources.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "TargetPoolsScopedList": { + "id": "TargetPoolsScopedList", + "type": "object", + "properties": { + "targetPools": { + "description": "A list of target pools contained in this scope.", + "type": "array", + "items": { + "$ref": "TargetPool" + } + }, + "warning": { + "description": "Informational warning which replaces the list of addresses when the list is empty.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + } + } + }, + "TargetPoolInstanceHealth": { + "id": "TargetPoolInstanceHealth", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of resource. Always compute#targetPoolInstanceHealth when checking the health of an instance.", + "default": "compute#targetPoolInstanceHealth", + "type": "string" + }, + "healthStatus": { + "type": "array", + "items": { + "$ref": "HealthStatus" + } + } + } + }, + "TargetPoolsAddHealthCheckRequest": { + "id": "TargetPoolsAddHealthCheckRequest", + "type": "object", + "properties": { + "healthChecks": { + "description": "The HttpHealthCheck to add to the target pool.", + "type": "array", + "items": { + "$ref": "HealthCheckReference" + } + } + } + }, + "TargetPoolsRemoveHealthCheckRequest": { + "id": "TargetPoolsRemoveHealthCheckRequest", + "type": "object", + "properties": { + "healthChecks": { + "description": "Health check URL to be removed. This can be a full or valid partial URL. For example, the following are valid URLs: - https://www.googleapis.com/compute/beta/projects/project /global/httpHealthChecks/health-check - projects/project/global/httpHealthChecks/health-check - global/httpHealthChecks/health-check ", + "type": "array", + "items": { + "$ref": "HealthCheckReference" + } + } + } + }, + "TargetPoolsAddInstanceRequest": { + "id": "TargetPoolsAddInstanceRequest", + "type": "object", + "properties": { + "instances": { + "description": "A full or partial URL to an instance to add to this target pool. This can be a full or partial URL. For example, the following are valid URLs: - https://www.googleapis.com/compute/v1/projects/project-id/zones/zone /instances/instance-name - projects/project-id/zones/zone/instances/instance-name - zones/zone/instances/instance-name ", + "type": "array", + "items": { + "$ref": "InstanceReference" + } + } + } + }, + "TargetPoolsRemoveInstanceRequest": { + "id": "TargetPoolsRemoveInstanceRequest", + "type": "object", + "properties": { + "instances": { + "description": "URLs of the instances to be removed from target pool.", + "type": "array", + "items": { + "$ref": "InstanceReference" + } + } + } + }, + "TargetSslProxyList": { + "id": "TargetSslProxyList", + "description": "Contains a list of TargetSslProxy resources.", + "type": "object", + "properties": { + "kind": { + "description": "Type of resource.", + "default": "compute#targetSslProxyList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of TargetSslProxy resources.", + "type": "array", + "items": { + "$ref": "TargetSslProxy" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, + "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + } + } + }, + "TargetSslProxy": { + "id": "TargetSslProxy", + "description": "Represents a Target SSL Proxy resource. A target SSL proxy is a component of a Proxy Network Load Balancer. The forwarding rule references the target SSL proxy, and the target proxy then references a backend service. For more information, read Proxy Network Load Balancer overview.", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of the resource. Always compute#targetSslProxy for target SSL proxies.", + "default": "compute#targetSslProxy", + "type": "string" + }, + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", + "type": "string", + "format": "uint64" + }, + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" + }, + "name": { + "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "type": "string" + }, + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", + "type": "string" + }, + "service": { + "description": "URL to the BackendService resource.", + "type": "string" + }, + "sslCertificates": { + "description": "URLs to SslCertificate resources that are used to authenticate connections to Backends. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates. sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED.", + "type": "array", + "items": { + "type": "string" + } + }, + "certificateMap": { + "description": "URL of a certificate map that identifies a certificate map associated with the given target proxy. This field can only be set for global target proxies. If set, sslCertificates will be ignored. Accepted format is //certificatemanager.googleapis.com/projects/{project }/locations/{location}/certificateMaps/{resourceName}.", + "type": "string" + }, + "proxyHeader": { + "description": "Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.", + "type": "string", + "enumDescriptions": [ + "", + "" + ], + "enum": [ + "NONE", + "PROXY_V1" + ] + }, + "sslPolicy": { + "description": "URL of SslPolicy resource that will be associated with the TargetSslProxy resource. If not set, the TargetSslProxy resource will not have any SSL policy configured.", + "type": "string" + } + } + }, + "TargetSslProxiesSetBackendServiceRequest": { + "id": "TargetSslProxiesSetBackendServiceRequest", + "type": "object", + "properties": { + "service": { + "description": "The URL of the new BackendService resource for the targetSslProxy.", + "type": "string" + } + } + }, + "TargetSslProxiesSetSslCertificatesRequest": { + "id": "TargetSslProxiesSetSslCertificatesRequest", + "type": "object", + "properties": { + "sslCertificates": { + "description": "New set of URLs to SslCertificate resources to associate with this TargetSslProxy. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "TargetSslProxiesSetCertificateMapRequest": { + "id": "TargetSslProxiesSetCertificateMapRequest", + "type": "object", + "properties": { + "certificateMap": { + "description": "URL of the Certificate Map to associate with this TargetSslProxy. Accepted format is //certificatemanager.googleapis.com/projects/{project }/locations/{location}/certificateMaps/{resourceName}.", + "type": "string" + } + } + }, + "TargetSslProxiesSetProxyHeaderRequest": { + "id": "TargetSslProxiesSetProxyHeaderRequest", + "type": "object", + "properties": { + "proxyHeader": { + "description": "The new type of proxy header to append before sending data to the backend. NONE or PROXY_V1 are allowed.", + "type": "string", + "enumDescriptions": [ + "", + "" + ], + "enum": [ + "NONE", + "PROXY_V1" + ] + } + } + }, + "TargetTcpProxyList": { + "id": "TargetTcpProxyList", + "description": "Contains a list of TargetTcpProxy resources.", + "type": "object", + "properties": { + "kind": { + "description": "Type of resource.", + "default": "compute#targetTcpProxyList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of TargetTcpProxy resources.", + "type": "array", + "items": { + "$ref": "TargetTcpProxy" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, + "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + } + } + }, + "TargetTcpProxy": { + "id": "TargetTcpProxy", + "description": "Represents a Target TCP Proxy resource. A target TCP proxy is a component of a Proxy Network Load Balancer. The forwarding rule references the target TCP proxy, and the target proxy then references a backend service. For more information, read Proxy Network Load Balancer overview.", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of the resource. Always compute#targetTcpProxy for target TCP proxies.", + "default": "compute#targetTcpProxy", + "type": "string" + }, + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", + "type": "string", + "format": "uint64" + }, + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" + }, + "name": { + "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "type": "string" + }, + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", + "type": "string" + }, + "service": { + "description": "URL to the BackendService resource.", + "type": "string" + }, + "proxyHeader": { + "description": "Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.", + "type": "string", + "enumDescriptions": [ + "", + "" + ], + "enum": [ + "NONE", + "PROXY_V1" + ] + }, + "proxyBind": { + "description": "This field only applies when the forwarding rule that references this target proxy has a loadBalancingScheme set to INTERNAL_SELF_MANAGED. When this field is set to true, Envoy proxies set up inbound traffic interception and bind to the IP address and port specified in the forwarding rule. This is generally useful when using Traffic Director to configure Envoy as a gateway or middle proxy (in other words, not a sidecar proxy). The Envoy proxy listens for inbound requests and handles requests when it receives them. The default is false.", + "type": "boolean" + }, + "region": { + "description": "[Output Only] URL of the region where the regional TCP proxy resides. This field is not applicable to global TCP proxy.", + "type": "string" + } + } + }, + "TargetTcpProxyAggregatedList": { + "id": "TargetTcpProxyAggregatedList", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of resource. Always compute#targetTcpProxyAggregatedList for lists of Target TCP Proxies.", + "default": "compute#targetTcpProxyAggregatedList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of TargetTcpProxiesScopedList resources.", + "type": "object", + "additionalProperties": { + "description": "Name of the scope containing this set of TargetTcpProxies.", + "$ref": "TargetTcpProxiesScopedList" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, + "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + }, + "unreachables": { + "description": "[Output Only] Unreachable resources.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "TargetTcpProxiesScopedList": { + "id": "TargetTcpProxiesScopedList", + "type": "object", + "properties": { + "targetTcpProxies": { + "description": "A list of TargetTcpProxies contained in this scope.", + "type": "array", + "items": { + "$ref": "TargetTcpProxy" + } + }, + "warning": { + "description": "Informational warning which replaces the list of backend services when the list is empty.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + } + } + }, + "TargetTcpProxiesSetBackendServiceRequest": { + "id": "TargetTcpProxiesSetBackendServiceRequest", + "type": "object", + "properties": { + "service": { + "description": "The URL of the new BackendService resource for the targetTcpProxy.", + "type": "string" + } + } + }, + "TargetTcpProxiesSetProxyHeaderRequest": { + "id": "TargetTcpProxiesSetProxyHeaderRequest", + "type": "object", + "properties": { + "proxyHeader": { + "description": "The new type of proxy header to append before sending data to the backend. NONE or PROXY_V1 are allowed.", + "type": "string", + "enumDescriptions": [ + "", + "" + ], + "enum": [ + "NONE", + "PROXY_V1" + ] + } + } + }, + "TargetVpnGatewayList": { + "id": "TargetVpnGatewayList", + "description": "Contains a list of TargetVpnGateway resources.", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways.", + "default": "compute#targetVpnGatewayList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of TargetVpnGateway resources.", + "type": "array", + "items": { + "$ref": "TargetVpnGateway" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, + "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + } + } + }, + "TargetVpnGateway": { + "id": "TargetVpnGateway", + "description": "Represents a Target VPN Gateway resource. The target VPN gateway resource represents a Classic Cloud VPN gateway. For more information, read the the Cloud VPN Overview.", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways.", + "default": "compute#targetVpnGateway", + "type": "string" + }, + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", + "type": "string", + "format": "uint64" + }, + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" + }, + "name": { + "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "annotations": { + "required": [ + "compute.targetVpnGateways.insert" + ] + }, + "type": "string" + }, + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource.", + "type": "string" + }, + "region": { + "description": "[Output Only] URL of the region where the target VPN gateway resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.", + "type": "string" + }, + "network": { + "description": "URL of the network to which this VPN gateway is attached. Provided by the client when the VPN gateway is created.", + "annotations": { + "required": [ + "compute.targetVpnGateways.insert" + ] + }, + "type": "string" + }, + "tunnels": { + "description": "[Output Only] A list of URLs to VpnTunnel resources. VpnTunnels are created using the compute.vpntunnels.insert method and associated with a VPN gateway.", + "type": "array", + "items": { + "type": "string" + } + }, + "status": { + "description": "[Output Only] The status of the VPN gateway, which can be one of the following: CREATING, READY, FAILED, or DELETING.", + "type": "string", + "enumDescriptions": [ + "", + "", + "", + "" + ], + "enum": [ + "CREATING", + "DELETING", + "FAILED", + "READY" + ] + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", + "type": "string" + }, + "forwardingRules": { + "description": "[Output Only] A list of URLs to the ForwardingRule resources. ForwardingRules are created using compute.forwardingRules.insert and associated with a VPN gateway.", + "type": "array", + "items": { + "type": "string" + } + }, + "labels": { + "description": "Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "labelFingerprint": { + "description": "A fingerprint for the labels being applied to this TargetVpnGateway, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a TargetVpnGateway.", + "type": "string", + "format": "byte" + } + } + }, + "TargetVpnGatewayAggregatedList": { + "id": "TargetVpnGatewayAggregatedList", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways.", + "default": "compute#targetVpnGatewayAggregatedList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of TargetVpnGateway resources.", + "type": "object", + "additionalProperties": { + "description": "[Output Only] Name of the scope containing this set of target VPN gateways.", + "$ref": "TargetVpnGatewaysScopedList" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, + "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + }, + "unreachables": { + "description": "[Output Only] Unreachable resources.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "TargetVpnGatewaysScopedList": { + "id": "TargetVpnGatewaysScopedList", + "type": "object", + "properties": { + "targetVpnGateways": { + "description": "[Output Only] A list of target VPN gateways contained in this scope.", + "type": "array", + "items": { + "$ref": "TargetVpnGateway" + } + }, + "warning": { + "description": "[Output Only] Informational warning which replaces the list of addresses when the list is empty.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + } + } + }, + "UrlMapList": { + "id": "UrlMapList", + "description": "Contains a list of UrlMap resources.", + "type": "object", + "properties": { + "kind": { + "description": "Type of resource.", + "default": "compute#urlMapList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of UrlMap resources.", + "type": "array", + "items": { + "$ref": "UrlMap" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, + "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + } + } + }, + "UrlMap": { + "id": "UrlMap", + "description": "Represents a URL Map resource. Compute Engine has two URL Map resources: * [Global](/compute/docs/reference/rest/v1/urlMaps) * [Regional](/compute/docs/reference/rest/v1/regionUrlMaps) A URL map resource is a component of certain types of cloud load balancers and Traffic Director: * urlMaps are used by global external Application Load Balancers, classic Application Load Balancers, and cross-region internal Application Load Balancers. * regionUrlMaps are used by internal Application Load Balancers, regional external Application Load Balancers and regional internal Application Load Balancers. For a list of supported URL map features by the load balancer type, see the Load balancing features: Routing and traffic management table. For a list of supported URL map features for Traffic Director, see the Traffic Director features: Routing and traffic management table. This resource defines mappings from hostnames and URL paths to either a backend service or a backend bucket. To use the global urlMaps resource, the backend service must have a loadBalancingScheme of either EXTERNAL or INTERNAL_SELF_MANAGED. To use the regionUrlMaps resource, the backend service must have a loadBalancingScheme of INTERNAL_MANAGED. For more information, read URL Map Concepts.", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of the resource. Always compute#urlMaps for url maps.", + "default": "compute#urlMap", + "type": "string" + }, + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", + "type": "string", + "format": "uint64" + }, + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" + }, + "name": { + "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "type": "string" + }, + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", + "type": "string" + }, + "hostRules": { + "description": "The list of host rules to use against the URL.", + "type": "array", + "items": { + "$ref": "HostRule" + } + }, + "pathMatchers": { + "description": "The list of named PathMatchers to use against the URL.", + "type": "array", + "items": { + "$ref": "PathMatcher" + } + }, + "tests": { + "description": "The list of expected URL mapping tests. Request to update the UrlMap succeeds only if all test cases pass. You can specify a maximum of 100 tests per UrlMap. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.", + "type": "array", + "items": { + "$ref": "UrlMapTest" + } + }, + "defaultService": { + "description": "The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.", + "type": "string" + }, + "defaultRouteAction": { + "description": "defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.", + "$ref": "HttpRouteAction" + }, + "defaultUrlRedirect": { + "description": "When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.", + "$ref": "HttpRedirectAction" + }, + "headerAction": { + "description": "Specifies changes to request and response headers that need to take effect for the selected backendService. The headerAction specified here take effect after headerAction specified under pathMatcher. headerAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.", + "$ref": "HttpHeaderAction" + }, + "fingerprint": { + "description": "Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field is ignored when inserting a UrlMap. An up-to-date fingerprint must be provided in order to update the UrlMap, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a UrlMap.", + "type": "string", + "format": "byte" + }, + "region": { + "description": "[Output Only] URL of the region where the regional URL map resides. This field is not applicable to global URL maps. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.", + "type": "string" + } + } + }, + "HostRule": { + "id": "HostRule", + "description": "UrlMaps A host-matching rule for a URL. If matched, will use the named PathMatcher to select the BackendService.", + "type": "object", + "properties": { + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource.", + "type": "string" + }, + "hosts": { + "description": "The list of host patterns to match. They must be valid hostnames with optional port numbers in the format host:port. * matches any string of ([a-z0-9-.]*). In that case, * must be the first character, and if followed by anything, the immediate following character must be either - or .. * based matching is not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.", + "type": "array", + "items": { + "type": "string" + } + }, + "pathMatcher": { + "description": "The name of the PathMatcher to use to match the path portion of the URL if the hostRule matches the URL's host portion.", + "type": "string" + } + } + }, + "PathMatcher": { + "id": "PathMatcher", + "description": "A matcher for the path portion of the URL. The BackendService from the longest-matched rule will serve the URL. If no rule was matched, the default service is used.", + "type": "object", + "properties": { + "name": { + "description": "The name to which this PathMatcher is referred by the HostRule.", + "type": "string" + }, + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource.", + "type": "string" + }, + "defaultService": { + "description": "The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - https://www.googleapis.com/compute/v1/projects/project /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use ", + "type": "string" + }, + "defaultRouteAction": { + "description": "defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path matcher's defaultRouteAction.", + "$ref": "HttpRouteAction" + }, + "defaultUrlRedirect": { + "description": "When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.", + "$ref": "HttpRedirectAction" + }, + "pathRules": { + "description": "The list of path rules. Use this list instead of routeRules when routing based on simple path matching is all that's required. The order by which path rules are specified does not matter. Matches are always done on the longest-path-first basis. For example: a pathRule with a path /a/b/c/* will match before /a/b/* irrespective of the order in which those paths appear in this list. Within a given pathMatcher, only one of pathRules or routeRules must be set.", + "type": "array", + "items": { + "$ref": "PathRule" + } + }, + "routeRules": { + "description": "The list of HTTP route rules. Use this list instead of pathRules when advanced route matching and routing actions are desired. routeRules are evaluated in order of priority, from the lowest to highest number. Within a given pathMatcher, you can set only one of pathRules or routeRules.", + "type": "array", + "items": { + "$ref": "HttpRouteRule" + } + }, + "headerAction": { + "description": "Specifies changes to request and response headers that need to take effect for the selected backend service. HeaderAction specified here are applied after the matching HttpRouteRule HeaderAction and before the HeaderAction in the UrlMap HeaderAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.", + "$ref": "HttpHeaderAction" + } + } + }, + "HttpRouteAction": { + "id": "HttpRouteAction", + "type": "object", + "properties": { + "weightedBackendServices": { + "description": "A list of weighted backend services to send traffic to when a route match occurs. The weights determine the fraction of traffic that flows to their corresponding backend service. If all traffic needs to go to a single backend service, there must be one weightedBackendService with weight set to a non-zero number. After a backend service is identified and before forwarding the request to the backend service, advanced routing actions such as URL rewrites and header transformations are applied depending on additional settings specified in this HttpRouteAction.", + "type": "array", + "items": { + "$ref": "WeightedBackendService" + } + }, + "urlRewrite": { + "description": "The spec to modify the URL of the request, before forwarding the request to the matched service. urlRewrite is the only action supported in UrlMaps for classic Application Load Balancers. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.", + "$ref": "UrlRewrite" + }, + "timeout": { + "description": "Specifies the timeout for the selected route. Timeout is computed from the time the request has been fully processed (known as *end-of-stream*) up until the response has been processed. Timeout includes all retries. If not specified, this field uses the largest timeout among all backend services associated with the route. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.", + "$ref": "Duration" + }, + "retryPolicy": { + "description": "Specifies the retry policy associated with this route.", + "$ref": "HttpRetryPolicy" + }, + "requestMirrorPolicy": { + "description": "Specifies the policy on how requests intended for the route's backends are shadowed to a separate mirrored backend service. The load balancer does not wait for responses from the shadow service. Before sending traffic to the shadow service, the host / authority header is suffixed with -shadow. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.", + "$ref": "RequestMirrorPolicy" + }, + "corsPolicy": { + "description": "The specification for allowing client-side cross-origin requests. For more information about the W3C recommendation for cross-origin resource sharing (CORS), see Fetch API Living Standard. Not supported when the URL map is bound to a target gRPC proxy.", + "$ref": "CorsPolicy" + }, + "faultInjectionPolicy": { + "description": "The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy if: 1. The traffic is generated by fault injection AND 2. The fault injection is not a delay fault injection. Fault injection is not supported with the classic Application Load Balancer . To see which load balancers support fault injection, see Load balancing: Routing and traffic management features.", + "$ref": "HttpFaultInjection" + }, + "maxStreamDuration": { + "description": "Specifies the maximum duration (timeout) for streams on the selected route. Unlike the timeout field where the timeout duration starts from the time the request has been fully processed (known as *end-of-stream*), the duration in this field is computed from the beginning of the stream until the response has been processed, including all retries. A stream that does not complete in this duration is closed. If not specified, this field uses the maximum maxStreamDuration value among all backend services associated with the route. This field is only allowed if the Url map is used with backend services with loadBalancingScheme set to INTERNAL_SELF_MANAGED.", + "$ref": "Duration" + } + } + }, + "WeightedBackendService": { + "id": "WeightedBackendService", + "description": "In contrast to a single BackendService in HttpRouteAction to which all matching traffic is directed to, WeightedBackendService allows traffic to be split across multiple backend services. The volume of traffic for each backend service is proportional to the weight specified in each WeightedBackendService", + "type": "object", + "properties": { + "backendService": { + "description": "The full or partial URL to the default BackendService resource. Before forwarding the request to backendService, the load balancer applies any relevant headerActions specified as part of this backendServiceWeight.", + "type": "string" + }, + "weight": { + "description": "Specifies the fraction of traffic sent to a backend service, computed as weight / (sum of all weightedBackendService weights in routeAction) . The selection of a backend service is determined only for new traffic. Once a user's request has been directed to a backend service, subsequent requests are sent to the same backend service as determined by the backend service's session affinity policy. The value must be from 0 to 1000.", + "type": "integer", + "format": "uint32" + }, + "headerAction": { + "description": "Specifies changes to request and response headers that need to take effect for the selected backendService. headerAction specified here take effect before headerAction in the enclosing HttpRouteRule, PathMatcher and UrlMap. headerAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.", + "$ref": "HttpHeaderAction" + } + } + }, + "HttpHeaderAction": { + "id": "HttpHeaderAction", + "description": "The request and response header transformations that take effect before the request is passed along to the selected backendService.", + "type": "object", + "properties": { + "requestHeadersToRemove": { + "description": "A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.", + "type": "array", + "items": { + "type": "string" + } + }, + "requestHeadersToAdd": { + "description": "Headers to add to a matching request before forwarding the request to the backendService.", + "type": "array", + "items": { + "$ref": "HttpHeaderOption" + } + }, + "responseHeadersToRemove": { + "description": "A list of header names for headers that need to be removed from the response before sending the response back to the client.", + "type": "array", + "items": { + "type": "string" + } + }, + "responseHeadersToAdd": { + "description": "Headers to add the response before sending the response back to the client.", + "type": "array", + "items": { + "$ref": "HttpHeaderOption" + } + } + } + }, + "HttpHeaderOption": { + "id": "HttpHeaderOption", + "description": "Specification determining how headers are added to requests or responses.", + "type": "object", + "properties": { + "headerName": { + "description": "The name of the header.", + "type": "string" + }, + "headerValue": { + "description": "The value of the header to add.", + "type": "string" + }, + "replace": { + "description": "If false, headerValue is appended to any values that already exist for the header. If true, headerValue is set for the header, discarding any values that were set for that header. The default value is false. ", + "type": "boolean" + } + } + }, + "UrlRewrite": { + "id": "UrlRewrite", + "description": "The spec for modifying the path before sending the request to the matched backend service.", + "type": "object", + "properties": { + "pathPrefixRewrite": { + "description": "Before forwarding the request to the selected backend service, the matching portion of the request's path is replaced by pathPrefixRewrite. The value must be from 1 to 1024 characters.", + "type": "string" + }, + "hostRewrite": { + "description": "Before forwarding the request to the selected service, the request's host header is replaced with contents of hostRewrite. The value must be from 1 to 255 characters.", + "type": "string" + }, + "pathTemplateRewrite": { + "description": " If specified, the pattern rewrites the URL path (based on the :path header) using the HTTP template syntax. A corresponding path_template_match must be specified. Any template variables must exist in the path_template_match field. - -At least one variable must be specified in the path_template_match field - You can omit variables from the rewritten URL - The * and ** operators cannot be matched unless they have a corresponding variable name - e.g. {format=*} or {var=**}. For example, a path_template_match of /static/{format=**} could be rewritten as /static/content/{format} to prefix /content to the URL. Variables can also be re-ordered in a rewrite, so that /{country}/{format}/{suffix=**} can be rewritten as /content/{format}/{country}/{suffix}. At least one non-empty routeRules[].matchRules[].path_template_match is required. Only one of path_prefix_rewrite or path_template_rewrite may be specified.", + "type": "string" + } + } + }, + "HttpRetryPolicy": { + "id": "HttpRetryPolicy", + "description": "The retry policy associates with HttpRouteRule", + "type": "object", + "properties": { + "retryConditions": { + "description": "Specifies one or more conditions when this retry policy applies. Valid values are: - 5xx: retry is attempted if the instance or endpoint responds with any 5xx response code, or if the instance or endpoint does not respond at all. For example, disconnects, reset, read timeout, connection failure, and refused streams. - gateway-error: Similar to 5xx, but only applies to response codes 502, 503 or 504. - connect-failure: a retry is attempted on failures connecting to the instance or endpoint. For example, connection timeouts. - retriable-4xx: a retry is attempted if the instance or endpoint responds with a 4xx response code. The only error that you can retry is error code 409. - refused-stream: a retry is attempted if the instance or endpoint resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry. - cancelled: a retry is attempted if the gRPC status code in the response header is set to cancelled. - deadline-exceeded: a retry is attempted if the gRPC status code in the response header is set to deadline-exceeded. - internal: a retry is attempted if the gRPC status code in the response header is set to internal. - resource-exhausted: a retry is attempted if the gRPC status code in the response header is set to resource-exhausted. - unavailable: a retry is attempted if the gRPC status code in the response header is set to unavailable. Only the following codes are supported when the URL map is bound to target gRPC proxy that has validateForProxyless field set to true. - cancelled - deadline-exceeded - internal - resource-exhausted - unavailable ", + "type": "array", + "items": { + "type": "string" + } + }, + "numRetries": { + "description": "Specifies the allowed number retries. This number must be \u003e 0. If not specified, defaults to 1.", + "type": "integer", + "format": "uint32" + }, + "perTryTimeout": { + "description": "Specifies a non-zero timeout per retry attempt. If not specified, will use the timeout set in the HttpRouteAction field. If timeout in the HttpRouteAction field is not set, this field uses the largest timeout among all backend services associated with the route. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.", + "$ref": "Duration" + } + } + }, + "RequestMirrorPolicy": { + "id": "RequestMirrorPolicy", + "description": "A policy that specifies how requests intended for the route's backends are shadowed to a separate mirrored backend service. The load balancer doesn't wait for responses from the shadow service. Before sending traffic to the shadow service, the host or authority header is suffixed with -shadow.", + "type": "object", + "properties": { + "backendService": { + "description": "The full or partial URL to the BackendService resource being mirrored to. The backend service configured for a mirroring policy must reference backends that are of the same type as the original backend service matched in the URL map. Serverless NEG backends are not currently supported as a mirrored backend service. ", + "type": "string" + } + } + }, + "CorsPolicy": { + "id": "CorsPolicy", + "description": "The specification for allowing client-side cross-origin requests. For more information about the W3C recommendation for cross-origin resource sharing (CORS), see Fetch API Living Standard.", + "type": "object", + "properties": { + "allowOrigins": { + "description": "Specifies the list of origins that is allowed to do CORS requests. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes.", + "type": "array", + "items": { + "type": "string" + } + }, + "allowOriginRegexes": { + "description": "Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.", + "type": "array", + "items": { + "type": "string" + } + }, + "allowMethods": { + "description": "Specifies the content for the Access-Control-Allow-Methods header.", + "type": "array", + "items": { + "type": "string" + } + }, + "allowHeaders": { + "description": "Specifies the content for the Access-Control-Allow-Headers header.", + "type": "array", + "items": { + "type": "string" + } + }, + "exposeHeaders": { + "description": "Specifies the content for the Access-Control-Expose-Headers header.", + "type": "array", + "items": { + "type": "string" + } + }, + "maxAge": { + "description": "Specifies how long results of a preflight request can be cached in seconds. This field translates to the Access-Control-Max-Age header.", + "type": "integer", + "format": "int32" + }, + "allowCredentials": { + "description": "In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This field translates to the Access-Control-Allow-Credentials header. Default is false.", + "type": "boolean" + }, + "disabled": { + "description": "If true, the setting specifies the CORS policy is disabled. The default value of false, which indicates that the CORS policy is in effect.", + "type": "boolean" + } + } + }, + "HttpFaultInjection": { + "id": "HttpFaultInjection", + "description": "The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by the load balancer on a percentage of requests before sending those request to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests.", + "type": "object", + "properties": { + "delay": { + "description": "The specification for how client requests are delayed as part of fault injection, before being sent to a backend service.", + "$ref": "HttpFaultDelay" + }, + "abort": { + "description": "The specification for how client requests are aborted as part of fault injection.", + "$ref": "HttpFaultAbort" + } + } + }, + "HttpFaultDelay": { + "id": "HttpFaultDelay", + "description": "Specifies the delay introduced by the load balancer before forwarding the request to the backend service as part of fault injection.", + "type": "object", + "properties": { + "fixedDelay": { + "description": "Specifies the value of the fixed delay interval.", + "$ref": "Duration" + }, + "percentage": { + "description": "The percentage of traffic for connections, operations, or requests for which a delay is introduced as part of fault injection. The value must be from 0.0 to 100.0 inclusive.", + "type": "number", + "format": "double" + } + } + }, + "HttpFaultAbort": { + "id": "HttpFaultAbort", + "description": "Specification for how requests are aborted as part of fault injection.", + "type": "object", + "properties": { + "httpStatus": { + "description": "The HTTP status code used to abort the request. The value must be from 200 to 599 inclusive. For gRPC protocol, the gRPC status code is mapped to HTTP status code according to this mapping table. HTTP status 200 is mapped to gRPC status UNKNOWN. Injecting an OK status is currently not supported by Traffic Director.", + "type": "integer", + "format": "uint32" + }, + "percentage": { + "description": "The percentage of traffic for connections, operations, or requests that is aborted as part of fault injection. The value must be from 0.0 to 100.0 inclusive.", + "type": "number", + "format": "double" + } + } + }, + "HttpRedirectAction": { + "id": "HttpRedirectAction", + "description": "Specifies settings for an HTTP redirect.", + "type": "object", + "properties": { + "hostRedirect": { + "description": "The host that is used in the redirect response instead of the one that was supplied in the request. The value must be from 1 to 255 characters.", + "type": "string" + }, + "pathRedirect": { + "description": "The path that is used in the redirect response instead of the one that was supplied in the request. pathRedirect cannot be supplied together with prefixRedirect. Supply one alone or neither. If neither is supplied, the path of the original request is used for the redirect. The value must be from 1 to 1024 characters.", + "type": "string" + }, + "prefixRedirect": { + "description": "The prefix that replaces the prefixMatch specified in the HttpRouteRuleMatch, retaining the remaining portion of the URL before redirecting the request. prefixRedirect cannot be supplied together with pathRedirect. Supply one alone or neither. If neither is supplied, the path of the original request is used for the redirect. The value must be from 1 to 1024 characters.", + "type": "string" + }, + "redirectResponseCode": { + "description": "The HTTP Status code to use for this RedirectAction. Supported values are: - MOVED_PERMANENTLY_DEFAULT, which is the default value and corresponds to 301. - FOUND, which corresponds to 302. - SEE_OTHER which corresponds to 303. - TEMPORARY_REDIRECT, which corresponds to 307. In this case, the request method is retained. - PERMANENT_REDIRECT, which corresponds to 308. In this case, the request method is retained. ", + "type": "string", + "enumDescriptions": [ + "Http Status Code 302 - Found.", + "Http Status Code 301 - Moved Permanently.", + "Http Status Code 308 - Permanent Redirect maintaining HTTP method.", + "Http Status Code 303 - See Other.", + "Http Status Code 307 - Temporary Redirect maintaining HTTP method." + ], + "enum": [ + "FOUND", + "MOVED_PERMANENTLY_DEFAULT", + "PERMANENT_REDIRECT", + "SEE_OTHER", + "TEMPORARY_REDIRECT" + ] + }, + "httpsRedirect": { + "description": "If set to true, the URL scheme in the redirected request is set to HTTPS. If set to false, the URL scheme of the redirected request remains the same as that of the request. This must only be set for URL maps used in TargetHttpProxys. Setting this true for TargetHttpsProxy is not permitted. The default is set to false.", + "type": "boolean" + }, + "stripQuery": { + "description": "If set to true, any accompanying query portion of the original URL is removed before redirecting the request. If set to false, the query portion of the original URL is retained. The default is set to false. ", + "type": "boolean" + } + } + }, + "PathRule": { + "id": "PathRule", + "description": "A path-matching rule for a URL. If matched, will use the specified BackendService to handle the traffic arriving at this URL.", + "type": "object", + "properties": { + "service": { + "description": "The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set.", + "type": "string" + }, + "routeAction": { + "description": "In response to a matching path, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of routeAction or urlRedirect must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a path rule's routeAction.", + "$ref": "HttpRouteAction" + }, + "urlRedirect": { + "description": "When a path pattern is matched, the request is redirected to a URL specified by urlRedirect. If urlRedirect is specified, service or routeAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.", + "$ref": "HttpRedirectAction" + }, + "paths": { + "description": "The list of path patterns to match. Each must start with / and the only place a * is allowed is at the end following a /. The string fed to the path matcher does not include any text after the first ? or #, and those chars are not allowed here.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "HttpRouteRule": { + "id": "HttpRouteRule", + "description": "The HttpRouteRule setting specifies how to match an HTTP request and the corresponding routing action that load balancing proxies perform.", + "type": "object", + "properties": { + "priority": { + "description": "For routeRules within a given pathMatcher, priority determines the order in which a load balancer interprets routeRules. RouteRules are evaluated in order of priority, from the lowest to highest number. The priority of a rule decreases as its number increases (1, 2, 3, N+1). The first rule that matches the request is applied. You cannot configure two or more routeRules with the same priority. Priority for each rule must be set to a number from 0 to 2147483647 inclusive. Priority numbers can have gaps, which enable you to add or remove rules in the future without affecting the rest of the rules. For example, 1, 2, 3, 4, 5, 9, 12, 16 is a valid series of priority numbers to which you could add rules numbered from 6 to 8, 10 to 11, and 13 to 15 in the future without any impact on existing rules.", + "type": "integer", + "format": "int32" + }, + "description": { + "description": "The short description conveying the intent of this routeRule. The description can have a maximum length of 1024 characters.", + "type": "string" + }, + "matchRules": { + "description": "The list of criteria for matching attributes of a request to this routeRule. This list has OR semantics: the request matches this routeRule when any of the matchRules are satisfied. However predicates within a given matchRule have AND semantics. All predicates within a matchRule must match for the request to match the rule.", + "type": "array", + "items": { + "$ref": "HttpRouteRuleMatch" + } + }, + "service": { + "description": "The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set.", + "type": "string" + }, + "routeAction": { + "description": "In response to a matching matchRule, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of urlRedirect, service or routeAction.weightedBackendService must be set. URL maps for classic Application Load Balancers only support the urlRewrite action within a route rule's routeAction.", + "$ref": "HttpRouteAction" + }, + "urlRedirect": { + "description": "When this rule is matched, the request is redirected to a URL specified by urlRedirect. If urlRedirect is specified, service or routeAction must not be set. Not supported when the URL map is bound to a target gRPC proxy.", + "$ref": "HttpRedirectAction" + }, + "headerAction": { + "description": "Specifies changes to request and response headers that need to take effect for the selected backendService. The headerAction value specified here is applied before the matching pathMatchers[].headerAction and after pathMatchers[].routeRules[].routeAction.weightedBackendService.backendServiceWeightAction[].headerAction HeaderAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.", + "$ref": "HttpHeaderAction" + } + } + }, + "HttpRouteRuleMatch": { + "id": "HttpRouteRuleMatch", + "description": "HttpRouteRuleMatch specifies a set of criteria for matching requests to an HttpRouteRule. All specified criteria must be satisfied for a match to occur.", + "type": "object", + "properties": { + "prefixMatch": { + "description": "For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch. prefixMatch must begin with a /. The value must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.", + "type": "string" + }, + "fullPathMatch": { + "description": "For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL. fullPathMatch must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified.", + "type": "string" + }, + "regexMatch": { + "description": "For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL. For more information about regular expression syntax, see Syntax. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.", + "type": "string" + }, + "ignoreCase": { + "description": "Specifies that prefixMatch and fullPathMatch matches are case sensitive. The default value is false. ignoreCase must not be used with regexMatch. Not supported when the URL map is bound to a target gRPC proxy.", + "type": "boolean" + }, + "headerMatches": { + "description": "Specifies a list of header match criteria, all of which must match corresponding headers in the request.", + "type": "array", + "items": { + "$ref": "HttpHeaderMatch" + } + }, + "queryParameterMatches": { + "description": "Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request. Not supported when the URL map is bound to a target gRPC proxy.", + "type": "array", + "items": { + "$ref": "HttpQueryParameterMatch" + } + }, + "metadataFilters": { + "description": "Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to the load balancer, xDS clients present node metadata. When there is a match, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. If multiple metadata filters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here is applied after those specified in ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.", + "type": "array", + "items": { + "$ref": "MetadataFilter" + } + }, + "pathTemplateMatch": { + "description": "If specified, the route is a pattern match expression that must match the :path header once the query string is removed. A pattern match allows you to match - The value must be between 1 and 1024 characters - The pattern must start with a leading slash (\"/\") - There may be no more than 5 operators in pattern Precisely one of prefix_match, full_path_match, regex_match or path_template_match must be set.", + "type": "string" + } + } + }, + "HttpHeaderMatch": { + "id": "HttpHeaderMatch", + "description": "matchRule criteria for request header matches.", + "type": "object", + "properties": { + "headerName": { + "description": "The name of the HTTP header to match. For matching against the HTTP request's authority, use a headerMatch with the header name \":authority\". For matching a request's method, use the headerName \":method\". When the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true, only non-binary user-specified custom metadata and the `content-type` header are supported. The following transport-level headers cannot be used in header matching rules: `:authority`, `:method`, `:path`, `:scheme`, `user-agent`, `accept-encoding`, `content-encoding`, `grpc-accept-encoding`, `grpc-encoding`, `grpc-previous-rpc-attempts`, `grpc-tags-bin`, `grpc-timeout` and `grpc-trace-bin`.", + "type": "string" + }, + "exactMatch": { + "description": "The value should exactly match contents of exactMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.", + "type": "string" + }, + "regexMatch": { + "description": "The value of the header must match the regular expression specified in regexMatch. For more information about regular expression syntax, see Syntax. For matching against a port specified in the HTTP request, use a headerMatch with headerName set to PORT and a regular expression that satisfies the RFC2616 Host header's port specifier. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.", + "type": "string" + }, + "rangeMatch": { + "description": "The header value must be an integer and its value must be in the range specified in rangeMatch. If the header does not contain an integer, number or is empty, the match fails. For example for a range [-5, 0] - -3 will match. - 0 will not match. - 0.25 will not match. - -3someString will not match. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. rangeMatch is not supported for load balancers that have loadBalancingScheme set to EXTERNAL.", + "$ref": "Int64RangeMatch" + }, + "presentMatch": { + "description": "A header with the contents of headerName must exist. The match takes place whether or not the request's header has a value. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.", + "type": "boolean" + }, + "prefixMatch": { + "description": "The value of the header must start with the contents of prefixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.", + "type": "string" + }, + "suffixMatch": { + "description": "The value of the header must end with the contents of suffixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set.", + "type": "string" + }, + "invertMatch": { + "description": "If set to false, the headerMatch is considered a match if the preceding match criteria are met. If set to true, the headerMatch is considered a match if the preceding match criteria are NOT met. The default setting is false. ", + "type": "boolean" + } + } + }, + "Int64RangeMatch": { + "id": "Int64RangeMatch", + "description": "HttpRouteRuleMatch criteria for field values that must stay within the specified integer range.", + "type": "object", + "properties": { + "rangeStart": { + "description": "The start of the range (inclusive) in signed long integer format.", + "type": "string", + "format": "int64" + }, + "rangeEnd": { + "description": "The end of the range (exclusive) in signed long integer format.", + "type": "string", + "format": "int64" + } + } + }, + "HttpQueryParameterMatch": { + "id": "HttpQueryParameterMatch", + "description": "HttpRouteRuleMatch criteria for a request's query parameter.", + "type": "object", + "properties": { + "name": { + "description": "The name of the query parameter to match. The query parameter must exist in the request, in the absence of which the request match fails.", + "type": "string" + }, + "presentMatch": { + "description": "Specifies that the queryParameterMatch matches if the request contains the query parameter, irrespective of whether the parameter has a value or not. Only one of presentMatch, exactMatch, or regexMatch must be set. ", + "type": "boolean" + }, + "exactMatch": { + "description": "The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch. Only one of presentMatch, exactMatch, or regexMatch must be set. ", + "type": "string" + }, + "regexMatch": { + "description": "The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED. ", + "type": "string" + } + } + }, + "UrlMapTest": { + "id": "UrlMapTest", + "description": "Message for the expected URL mappings.", + "type": "object", + "properties": { + "description": { + "description": "Description of this test case.", + "type": "string" + }, + "host": { + "description": "Host portion of the URL. If headers contains a host header, then host must also match the header value.", + "type": "string" + }, + "path": { + "description": "Path portion of the URL.", + "type": "string" + }, + "headers": { + "description": "HTTP headers for this request. If headers contains a host header, then host must also match the header value.", + "type": "array", + "items": { + "$ref": "UrlMapTestHeader" + } + }, + "service": { + "description": "Expected BackendService or BackendBucket resource the given URL should be mapped to. The service field cannot be set if expectedRedirectResponseCode is set.", + "type": "string" + }, + "expectedOutputUrl": { + "description": "The expected output URL evaluated by the load balancer containing the scheme, host, path and query parameters. For rules that forward requests to backends, the test passes only when expectedOutputUrl matches the request forwarded by the load balancer to backends. For rules with urlRewrite, the test verifies that the forwarded request matches hostRewrite and pathPrefixRewrite in the urlRewrite action. When service is specified, expectedOutputUrl`s scheme is ignored. For rules with urlRedirect, the test passes only if expectedOutputUrl matches the URL in the load balancer's redirect response. If urlRedirect specifies https_redirect, the test passes only if the scheme in expectedOutputUrl is also set to HTTPS. If urlRedirect specifies strip_query, the test passes only if expectedOutputUrl does not contain any query parameters. expectedOutputUrl is optional when service is specified.", + "type": "string" + }, + "expectedRedirectResponseCode": { + "description": "For rules with urlRedirect, the test passes only if expectedRedirectResponseCode matches the HTTP status code in load balancer's redirect response. expectedRedirectResponseCode cannot be set when service is set.", + "type": "integer", + "format": "int32" + } + } + }, + "UrlMapTestHeader": { + "id": "UrlMapTestHeader", + "description": "HTTP headers used in UrlMapTests.", + "type": "object", + "properties": { + "name": { + "description": "Header name.", + "type": "string" + }, + "value": { + "description": "Header value.", + "type": "string" + } + } + }, + "UrlMapsAggregatedList": { + "id": "UrlMapsAggregatedList", + "type": "object", + "properties": { + "kind": { + "description": "Type of resource.", + "default": "compute#urlMapsAggregatedList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of UrlMapsScopedList resources.", + "type": "object", + "additionalProperties": { + "description": "Name of the scope containing this set of UrlMaps.", + "$ref": "UrlMapsScopedList" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, + "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + }, + "unreachables": { + "description": "[Output Only] Unreachable resources.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "UrlMapsScopedList": { + "id": "UrlMapsScopedList", + "type": "object", + "properties": { + "urlMaps": { + "description": "A list of UrlMaps contained in this scope.", + "type": "array", + "items": { + "$ref": "UrlMap" + } + }, + "warning": { + "description": "Informational warning which replaces the list of backend services when the list is empty.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + } + } + }, + "UrlMapsValidateRequest": { + "id": "UrlMapsValidateRequest", + "type": "object", + "properties": { + "resource": { + "description": "Content of the UrlMap to be validated.", + "$ref": "UrlMap" + }, + "loadBalancingSchemes": { + "description": "Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for global external Application Load Balancers and regional external Application Load Balancers. Use EXTERNAL for classic Application Load Balancers. Use INTERNAL_MANAGED for internal Application Load Balancers. For more information, refer to Choosing a load balancer. If unspecified, the load balancing scheme will be inferred from the backend service resources this URL map references. If that can not be inferred (for example, this URL map only references backend buckets, or this Url map is for rewrites and redirects only and doesn't reference any backends), EXTERNAL will be used as the default type. If specified, the scheme(s) must not conflict with the load balancing scheme of the backend service resources this Url map references.", + "type": "array", + "items": { + "type": "string", + "enumDescriptions": [ + "Signifies that this will be used for classic Application Load Balancers.", + "Signifies that this will be used for Envoy-based global external Application Load Balancers.", + "If unspecified, the validation will try to infer the scheme from the backend service resources this Url map references. If the inference is not possible, EXTERNAL will be used as the default type." + ], + "enum": [ + "EXTERNAL", + "EXTERNAL_MANAGED", + "LOAD_BALANCING_SCHEME_UNSPECIFIED" + ] + } + } + } + }, + "UrlMapsValidateResponse": { + "id": "UrlMapsValidateResponse", + "type": "object", + "properties": { + "result": { + "$ref": "UrlMapValidationResult" + } + } + }, + "UrlMapValidationResult": { + "id": "UrlMapValidationResult", + "description": "Message representing the validation result for a UrlMap.", + "type": "object", + "properties": { + "loadSucceeded": { + "description": "Whether the given UrlMap can be successfully loaded. If false, 'loadErrors' indicates the reasons.", + "type": "boolean" + }, + "loadErrors": { + "type": "array", + "items": { + "type": "string" + } + }, + "testPassed": { + "description": "If successfully loaded, this field indicates whether the test passed. If false, 'testFailures's indicate the reason of failure.", + "type": "boolean" + }, + "testFailures": { + "type": "array", + "items": { + "$ref": "TestFailure" + } + } + } + }, + "TestFailure": { + "id": "TestFailure", + "type": "object", + "properties": { + "host": { + "description": "Host portion of the URL.", + "type": "string" + }, + "path": { + "description": "Path portion including query parameters in the URL.", + "type": "string" + }, + "headers": { + "description": "HTTP headers of the request.", + "type": "array", + "items": { + "$ref": "UrlMapTestHeader" + } + }, + "expectedService": { + "description": "Expected BackendService or BackendBucket resource the given URL should be mapped to.", + "type": "string" + }, + "actualService": { + "description": "BackendService or BackendBucket returned by load balancer.", + "type": "string" + }, + "expectedOutputUrl": { + "description": "The expected output URL evaluated by a load balancer containing the scheme, host, path and query parameters.", + "type": "string" + }, + "actualOutputUrl": { + "description": "The actual output URL evaluated by a load balancer containing the scheme, host, path and query parameters.", + "type": "string" + }, + "expectedRedirectResponseCode": { + "description": "Expected HTTP status code for rule with `urlRedirect` calculated by load balancer", + "type": "integer", + "format": "int32" + }, + "actualRedirectResponseCode": { + "description": "Actual HTTP status code for rule with `urlRedirect` calculated by load balancer", + "type": "integer", + "format": "int32" + } + } + }, + "CacheInvalidationRule": { + "id": "CacheInvalidationRule", + "type": "object", + "properties": { + "path": { + "type": "string" + }, + "host": { + "description": "If set, this invalidation rule will only apply to requests with a Host header matching host.", + "type": "string" + } + } + }, + "RegionUrlMapsValidateRequest": { + "id": "RegionUrlMapsValidateRequest", + "type": "object", + "properties": { + "resource": { + "description": "Content of the UrlMap to be validated.", + "$ref": "UrlMap" + } + } + }, + "VpnGatewayList": { + "id": "VpnGatewayList", + "description": "Contains a list of VpnGateway resources.", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of resource. Always compute#vpnGateway for VPN gateways.", + "default": "compute#vpnGatewayList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of VpnGateway resources.", + "type": "array", + "items": { + "$ref": "VpnGateway" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, + "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + } + } + }, + "VpnGateway": { + "id": "VpnGateway", + "description": "Represents a HA VPN gateway. HA VPN is a high-availability (HA) Cloud VPN solution that lets you securely connect your on-premises network to your Google Cloud Virtual Private Cloud network through an IPsec VPN connection in a single region. For more information about Cloud HA VPN solutions, see Cloud VPN topologies .", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of resource. Always compute#vpnGateway for VPN gateways.", + "default": "compute#vpnGateway", + "type": "string" + }, + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", + "type": "string", + "format": "uint64" + }, + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" + }, + "name": { + "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "annotations": { + "required": [ + "compute.vpnGateways.insert" + ] + }, + "type": "string" + }, + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource.", + "type": "string" + }, + "region": { + "description": "[Output Only] URL of the region where the VPN gateway resides.", + "type": "string" + }, + "network": { + "description": "URL of the network to which this VPN gateway is attached. Provided by the client when the VPN gateway is created.", + "annotations": { + "required": [ + "compute.vpnGateways.insert" + ] + }, + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", + "type": "string" + }, + "labels": { + "description": "Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "labelFingerprint": { + "description": "A fingerprint for the labels being applied to this VpnGateway, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a VpnGateway.", + "type": "string", + "format": "byte" + }, + "vpnInterfaces": { + "description": "The list of VPN interfaces associated with this VPN gateway.", + "type": "array", + "items": { + "$ref": "VpnGatewayVpnGatewayInterface" + } + }, + "stackType": { + "description": "The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified, IPV4_ONLY will be used.", + "type": "string", + "enumDescriptions": [ + "Enable VPN gateway with both IPv4 and IPv6 protocols.", + "Enable VPN gateway with only IPv4 protocol." + ], + "enum": [ + "IPV4_IPV6", + "IPV4_ONLY" + ] + } + } + }, + "VpnGatewayVpnGatewayInterface": { + "id": "VpnGatewayVpnGatewayInterface", + "description": "A VPN gateway interface.", + "type": "object", + "properties": { + "id": { + "description": "[Output Only] Numeric identifier for this VPN interface associated with the VPN gateway.", + "type": "integer", + "format": "uint32" + }, + "ipAddress": { + "description": "[Output Only] IP address for this VPN interface associated with the VPN gateway. The IP address could be either a regional external IP address or a regional internal IP address. The two IP addresses for a VPN gateway must be all regional external or regional internal IP addresses. There cannot be a mix of regional external IP addresses and regional internal IP addresses. For HA VPN over Cloud Interconnect, the IP addresses for both interfaces could either be regional internal IP addresses or regional external IP addresses. For regular (non HA VPN over Cloud Interconnect) HA VPN tunnels, the IP address must be a regional external IP address.", + "type": "string" + }, + "interconnectAttachment": { + "description": "URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, the VPN gateway is used for HA VPN over Cloud Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the specified VLAN attachment resource.", + "type": "string" + } + } + }, + "VpnGatewayAggregatedList": { + "id": "VpnGatewayAggregatedList", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of resource. Always compute#vpnGateway for VPN gateways.", + "default": "compute#vpnGatewayAggregatedList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of VpnGateway resources.", + "type": "object", + "additionalProperties": { + "description": "[Output Only] Name of the scope containing this set of VPN gateways.", + "$ref": "VpnGatewaysScopedList" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, + "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + }, + "unreachables": { + "description": "[Output Only] Unreachable resources.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "VpnGatewaysScopedList": { + "id": "VpnGatewaysScopedList", + "type": "object", + "properties": { + "vpnGateways": { + "description": "[Output Only] A list of VPN gateways contained in this scope.", + "type": "array", + "items": { + "$ref": "VpnGateway" + } + }, + "warning": { + "description": "[Output Only] Informational warning which replaces the list of addresses when the list is empty.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + } + } + }, + "VpnGatewaysGetStatusResponse": { + "id": "VpnGatewaysGetStatusResponse", + "type": "object", + "properties": { + "result": { + "$ref": "VpnGatewayStatus" + } + } + }, + "VpnGatewayStatus": { + "id": "VpnGatewayStatus", + "type": "object", + "properties": { + "vpnConnections": { + "description": "List of VPN connection for this VpnGateway.", + "type": "array", + "items": { + "$ref": "VpnGatewayStatusVpnConnection" + } + } + } + }, + "VpnGatewayStatusVpnConnection": { + "id": "VpnGatewayStatusVpnConnection", + "description": "A VPN connection contains all VPN tunnels connected from this VpnGateway to the same peer gateway. The peer gateway could either be an external VPN gateway or a Google Cloud VPN gateway.", + "type": "object", + "properties": { + "peerExternalGateway": { + "description": "URL reference to the peer external VPN gateways to which the VPN tunnels in this VPN connection are connected. This field is mutually exclusive with peer_gcp_gateway.", + "type": "string" + }, + "peerGcpGateway": { + "description": "URL reference to the peer side VPN gateways to which the VPN tunnels in this VPN connection are connected. This field is mutually exclusive with peer_gcp_gateway.", + "type": "string" + }, + "tunnels": { + "description": "List of VPN tunnels that are in this VPN connection.", + "type": "array", + "items": { + "$ref": "VpnGatewayStatusTunnel" + } + }, + "state": { + "description": "HighAvailabilityRequirementState for the VPN connection.", + "$ref": "VpnGatewayStatusHighAvailabilityRequirementState" + } + } + }, + "VpnGatewayStatusTunnel": { + "id": "VpnGatewayStatusTunnel", + "description": "Contains some information about a VPN tunnel.", + "type": "object", + "properties": { + "localGatewayInterface": { + "description": "The VPN gateway interface this VPN tunnel is associated with.", + "type": "integer", + "format": "uint32" + }, + "peerGatewayInterface": { + "description": "The peer gateway interface this VPN tunnel is connected to, the peer gateway could either be an external VPN gateway or a Google Cloud VPN gateway.", + "type": "integer", + "format": "uint32" + }, + "tunnelUrl": { + "description": "URL reference to the VPN tunnel.", + "type": "string" + } + } + }, + "VpnGatewayStatusHighAvailabilityRequirementState": { + "id": "VpnGatewayStatusHighAvailabilityRequirementState", + "description": "Describes the high availability requirement state for the VPN connection between this Cloud VPN gateway and a peer gateway.", + "type": "object", + "properties": { + "state": { + "description": "Indicates the high availability requirement state for the VPN connection. Valid values are CONNECTION_REDUNDANCY_MET, CONNECTION_REDUNDANCY_NOT_MET.", + "type": "string", + "enumDescriptions": [ + "VPN tunnels are configured with adequate redundancy from Cloud VPN gateway to the peer VPN gateway. For both GCP-to-non-GCP and GCP-to-GCP connections, the adequate redundancy is a pre-requirement for users to get 99.99% availability on GCP side; please note that for any connection, end-to-end 99.99% availability is subject to proper configuration on the peer VPN gateway.", + "VPN tunnels are not configured with adequate redundancy from the Cloud VPN gateway to the peer gateway" + ], + "enum": [ + "CONNECTION_REDUNDANCY_MET", + "CONNECTION_REDUNDANCY_NOT_MET" + ] + }, + "unsatisfiedReason": { + "description": "Indicates the reason why the VPN connection does not meet the high availability redundancy criteria/requirement. Valid values is INCOMPLETE_TUNNELS_COVERAGE.", + "type": "string", + "enumDescriptions": [ + "" + ], + "enum": [ + "INCOMPLETE_TUNNELS_COVERAGE" + ] + } + } + }, + "VpnTunnelList": { + "id": "VpnTunnelList", + "description": "Contains a list of VpnTunnel resources.", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels.", + "default": "compute#vpnTunnelList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of VpnTunnel resources.", + "type": "array", + "items": { + "$ref": "VpnTunnel" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, + "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + } + } + }, + "VpnTunnel": { + "id": "VpnTunnel", + "description": "Represents a Cloud VPN Tunnel resource. For more information about VPN, read the the Cloud VPN Overview.", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels.", + "default": "compute#vpnTunnel", + "type": "string" + }, + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", + "type": "string", + "format": "uint64" + }, + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" + }, + "name": { + "description": "Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "annotations": { + "required": [ + "compute.vpnTunnels.insert" + ] + }, + "type": "string" + }, + "description": { + "description": "An optional description of this resource. Provide this property when you create the resource.", + "type": "string" + }, + "region": { + "description": "[Output Only] URL of the region where the VPN tunnel resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.", + "type": "string" + }, + "targetVpnGateway": { + "description": "URL of the Target VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created.", + "type": "string" + }, + "vpnGateway": { + "description": "URL of the VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created. This must be used (instead of target_vpn_gateway) if a High Availability VPN gateway resource is created.", + "type": "string" + }, + "vpnGatewayInterface": { + "description": "The interface ID of the VPN gateway with which this VPN tunnel is associated. Possible values are: `0`, `1`.", + "type": "integer", + "format": "int32" + }, + "peerExternalGateway": { + "description": "URL of the peer side external VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. This field is exclusive with the field peerGcpGateway.", + "type": "string" + }, + "peerExternalGatewayInterface": { + "description": "The interface ID of the external VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. Possible values are: `0`, `1`, `2`, `3`. The number of IDs in use depends on the external VPN gateway redundancy type.", + "type": "integer", + "format": "int32" + }, + "peerGcpGateway": { + "description": "URL of the peer side HA VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. This field can be used when creating highly available VPN from VPC network to VPC network, the field is exclusive with the field peerExternalGateway. If provided, the VPN tunnel will automatically use the same vpnGatewayInterface ID in the peer Google Cloud VPN gateway.", + "type": "string" + }, + "router": { + "description": "URL of the router resource to be used for dynamic routing.", + "type": "string" + }, + "peerIp": { + "description": "IP address of the peer VPN gateway. Only IPv4 is supported.", + "type": "string" + }, + "sharedSecret": { + "description": "Shared secret used to set the secure session between the Cloud VPN gateway and the peer VPN gateway.", + "type": "string" + }, + "sharedSecretHash": { + "description": "Hash of the shared secret.", + "type": "string" + }, + "status": { + "description": "[Output Only] The status of the VPN tunnel, which can be one of the following: - PROVISIONING: Resource is being allocated for the VPN tunnel. - WAITING_FOR_FULL_CONFIG: Waiting to receive all VPN-related configs from the user. Network, TargetVpnGateway, VpnTunnel, ForwardingRule, and Route resources are needed to setup the VPN tunnel. - FIRST_HANDSHAKE: Successful first handshake with the peer VPN. - ESTABLISHED: Secure session is successfully established with the peer VPN. - NETWORK_ERROR: Deprecated, replaced by NO_INCOMING_PACKETS - AUTHORIZATION_ERROR: Auth error (for example, bad shared secret). - NEGOTIATION_FAILURE: Handshake failed. - DEPROVISIONING: Resources are being deallocated for the VPN tunnel. - FAILED: Tunnel creation has failed and the tunnel is not ready to be used. - NO_INCOMING_PACKETS: No incoming packets from peer. - REJECTED: Tunnel configuration was rejected, can be result of being denied access. - ALLOCATING_RESOURCES: Cloud VPN is in the process of allocating all required resources. - STOPPED: Tunnel is stopped due to its Forwarding Rules being deleted for Classic VPN tunnels or the project is in frozen state. - PEER_IDENTITY_MISMATCH: Peer identity does not match peer IP, probably behind NAT. - TS_NARROWING_NOT_ALLOWED: Traffic selector narrowing not allowed for an HA-VPN tunnel. ", + "type": "string", + "enumDescriptions": [ + "Cloud VPN is in the process of allocating all required resources (specifically, a borg task).", + "Auth error (e.g. bad shared secret).", + "Resources is being deallocated for the VPN tunnel.", + "Secure session is successfully established with peer VPN.", + "Tunnel creation has failed and the tunnel is not ready to be used.", + "Successful first handshake with peer VPN.", + "Handshake failed.", + "Deprecated, replaced by NO_INCOMING_PACKETS", + "No incoming packets from peer", + "Resource is being allocated for the VPN tunnel.", + "Tunnel configuration was rejected, can be result of being denylisted.", + "Tunnel is stopped due to its Forwarding Rules being deleted.", + "Waiting to receive all VPN-related configs from user. Network, TargetVpnGateway, VpnTunnel, ForwardingRule and Route resources are needed to setup VPN tunnel." + ], + "enum": [ + "ALLOCATING_RESOURCES", + "AUTHORIZATION_ERROR", + "DEPROVISIONING", + "ESTABLISHED", + "FAILED", + "FIRST_HANDSHAKE", + "NEGOTIATION_FAILURE", + "NETWORK_ERROR", + "NO_INCOMING_PACKETS", + "PROVISIONING", + "REJECTED", + "STOPPED", + "WAITING_FOR_FULL_CONFIG" + ] + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", + "type": "string" + }, + "ikeVersion": { + "description": "IKE protocol version to use when establishing the VPN tunnel with the peer VPN gateway. Acceptable IKE versions are 1 or 2. The default version is 2.", + "type": "integer", + "format": "int32" + }, + "detailedStatus": { + "description": "[Output Only] Detailed status message for the VPN tunnel.", + "type": "string" + }, + "localTrafficSelector": { + "description": "Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges must be disjoint. Only IPv4 is supported.", + "type": "array", + "items": { + "type": "string" + } + }, + "remoteTrafficSelector": { + "description": "Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be disjoint. Only IPv4 is supported.", + "type": "array", + "items": { + "type": "string" + } + }, + "labels": { + "description": "Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "labelFingerprint": { + "description": "A fingerprint for the labels being applied to this VpnTunnel, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a VpnTunnel.", + "type": "string", + "format": "byte" + } + } + }, + "VpnTunnelAggregatedList": { + "id": "VpnTunnelAggregatedList", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels.", + "default": "compute#vpnTunnelAggregatedList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of VpnTunnelsScopedList resources.", + "type": "object", + "additionalProperties": { + "description": "Name of the scope containing this set of VPN tunnels.", + "$ref": "VpnTunnelsScopedList" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, + "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + }, + "unreachables": { + "description": "[Output Only] Unreachable resources.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "VpnTunnelsScopedList": { + "id": "VpnTunnelsScopedList", + "type": "object", + "properties": { + "vpnTunnels": { + "description": "A list of VPN tunnels contained in this scope.", + "type": "array", + "items": { + "$ref": "VpnTunnel" + } + }, + "warning": { + "description": "Informational warning which replaces the list of addresses when the list is empty.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + } + } + }, + "ZoneList": { + "id": "ZoneList", + "description": "Contains a list of zone resources.", + "type": "object", + "properties": { + "kind": { + "description": "Type of resource.", + "default": "compute#zoneList", + "type": "string" + }, + "id": { + "description": "[Output Only] Unique identifier for the resource; defined by the server.", + "type": "string" + }, + "items": { + "description": "A list of Zone resources.", + "type": "array", + "items": { + "$ref": "Zone" + } + }, + "nextPageToken": { + "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for this resource.", + "type": "string" + }, + "warning": { + "description": "[Output Only] Informational warning message.", + "type": "object", + "properties": { + "code": { + "description": "[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.", + "type": "string", + "enumDescriptions": [ + "Warning about failed cleanup of transient changes made by a failed operation.", + "A link to a deprecated resource was created.", + "When deploying and at least one of the resources has a type marked as deprecated", + "The user created a boot disk that is larger than image size.", + "When deploying and at least one of the resources has a type marked as experimental", + "Warning that is present in an external api call", + "Warning that value of a field has been overridden. Deprecated unused field.", + "The operation involved use of an injected kernel, which is deprecated.", + "A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2.", + "When deploying a deployment with a exceedingly large number of resources", + "Resource can't be retrieved due to list overhead quota exceed which captures the amount of resources filtered out by user-defined list filter.", + "A resource depends on a missing type", + "The route's nextHopIp address is not assigned to an instance on the network.", + "The route's next hop instance cannot ip forward.", + "The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route.", + "The route's nextHopInstance URL refers to an instance that does not exist.", + "The route's nextHopInstance URL refers to an instance that is not on the same network as the route.", + "The route's next hop instance does not have a status of RUNNING.", + "Error which is not critical. We decided to continue the process despite the mentioned error.", + "No results are present on a particular list page.", + "Success is reported, but some results may be missing due to errors", + "The user attempted to use a resource that requires a TOS they have not accepted.", + "Warning that a resource is in use.", + "One or more of the resources set to auto-delete could not be deleted because they were in use.", + "When a resource schema validation is ignored.", + "Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group.", + "When undeclared properties in the schema are present", + "A given scope cannot be reached." + ], + "enumDeprecated": [ + false, + false, + false, + false, + false, + false, + true, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false, + false + ], + "enum": [ + "CLEANUP_FAILED", + "DEPRECATED_RESOURCE_USED", + "DEPRECATED_TYPE_USED", + "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", + "EXPERIMENTAL_TYPE_USED", + "EXTERNAL_API_WARNING", + "FIELD_VALUE_OVERRIDEN", + "INJECTED_KERNELS_DEPRECATED", + "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB", + "LARGE_DEPLOYMENT_WARNING", + "LIST_OVERHEAD_QUOTA_EXCEED", + "MISSING_TYPE_DEPENDENCY", + "NEXT_HOP_ADDRESS_NOT_ASSIGNED", + "NEXT_HOP_CANNOT_IP_FORWARD", + "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE", + "NEXT_HOP_INSTANCE_NOT_FOUND", + "NEXT_HOP_INSTANCE_NOT_ON_NETWORK", + "NEXT_HOP_NOT_RUNNING", + "NOT_CRITICAL_ERROR", + "NO_RESULTS_ON_PAGE", + "PARTIAL_SUCCESS", + "REQUIRED_TOS_AGREEMENT", + "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING", + "RESOURCE_NOT_DELETED", + "SCHEMA_VALIDATION_IGNORED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", + "UNDECLARED_PROPERTIES", + "UNREACHABLE" + ] + }, + "message": { + "description": "[Output Only] A human-readable description of the warning code.", + "type": "string" + }, + "data": { + "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", + "type": "string" + }, + "value": { + "description": "[Output Only] A warning data value corresponding to the key.", + "type": "string" + } + } + } + } + } + } + } + }, + "Zone": { + "id": "Zone", + "description": "Represents a Zone resource. A zone is a deployment area. These deployment areas are subsets of a region. For example the zone us-east1-a is located in the us-east1 region. For more information, read Regions and Zones.", + "type": "object", + "properties": { + "kind": { + "description": "[Output Only] Type of the resource. Always compute#zone for zones.", + "default": "compute#zone", + "type": "string" + }, + "id": { + "description": "[Output Only] The unique identifier for the resource. This identifier is defined by the server.", + "type": "string", + "format": "uint64" + }, + "creationTimestamp": { + "description": "[Output Only] Creation timestamp in RFC3339 text format.", + "type": "string" + }, + "name": { + "description": "[Output Only] Name of the resource.", + "type": "string" + }, + "description": { + "description": "[Output Only] Textual description of the resource.", + "type": "string" + }, + "status": { + "description": "[Output Only] Status of the zone, either UP or DOWN.", + "type": "string", + "enumDescriptions": [ + "", + "" + ], + "enum": [ + "DOWN", + "UP" + ] + }, + "deprecated": { + "description": "[Output Only] The deprecation status associated with this zone.", + "$ref": "DeprecationStatus" + }, + "region": { + "description": "[Output Only] Full URL reference to the region which hosts the zone.", + "type": "string" + }, + "selfLink": { + "description": "[Output Only] Server-defined URL for the resource.", + "type": "string" + }, + "availableCpuPlatforms": { + "description": "[Output Only] Available cpu/platform selections for the zone.", + "type": "array", + "items": { + "type": "string" + } + }, + "supportsPzs": { + "description": "[Output Only] Reserved for future use.", + "type": "boolean" + } + } + }, + "AuditConfig": { + "id": "AuditConfig", + "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.", + "type": "object", + "properties": { + "exemptedMembers": { + "description": "This is deprecated and has no effect. Do not use.", + "type": "array", + "items": { + "type": "string" + } + }, + "auditLogConfigs": { + "description": "The configuration for logging of each type of permission.", + "type": "array", + "items": { + "$ref": "AuditLogConfig" + } + }, + "service": { + "description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", + "type": "string" + } + } + } + }, + "batchPath": "batch/compute/v1", + "version": "v1", + "icons": { + "x16": "https://www.google.com/images/icons/product/compute_engine-16.png", + "x32": "https://www.google.com/images/icons/product/compute_engine-32.png" + }, + "discoveryVersion": "v1", + "revision": "20240130", + "documentationLink": "https://cloud.google.com/compute/", + "parameters": { + "access_token": { + "type": "string", + "description": "OAuth access token.", + "location": "query" + }, + "alt": { + "type": "string", + "description": "Data format for response.", + "default": "json", + "enum": [ + "json", + "media", + "proto" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query" + }, + "callback": { + "type": "string", + "description": "JSONP", + "location": "query" + }, + "fields": { + "type": "string", + "description": "Selector specifying which fields to include in a partial response.", + "location": "query" + }, + "key": { + "type": "string", + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query" + }, + "oauth_token": { + "type": "string", + "description": "OAuth 2.0 token for the current user.", + "location": "query" + }, + "prettyPrint": { + "type": "boolean", + "description": "Returns response with indentations and line breaks.", + "default": "true", + "location": "query" + }, + "quotaUser": { + "type": "string", + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", + "location": "query" + }, + "upload_protocol": { + "type": "string", + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "location": "query" + }, + "uploadType": { + "type": "string", + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query" + }, + "userIp": { + "type": "string", + "description": "Legacy name for parameter that has been superseded by `quotaUser`.", + "location": "query" + }, + "$.xgafv": { + "type": "string", + "description": "V1 error format.", + "enum": [ + "1", + "2" + ], + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query" + } + }, + "baseUrl": "https://compute.googleapis.com/compute/v1/", + "mtlsRootUrl": "https://compute.mtls.googleapis.com/", + "rootUrl": "https://compute.googleapis.com/", + "protocol": "rest", + "ownerDomain": "google.com", + "basePath": "/compute/v1/", + "servicePath": "compute/v1/", + "resources": { + "acceleratorTypes": { + "methods": { + "list": { + "id": "compute.acceleratorTypes.list", + "path": "projects/{project}/zones/{zone}/acceleratorTypes", + "flatPath": "projects/{project}/zones/{zone}/acceleratorTypes", + "httpMethod": "GET", + "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + }, + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "zone" + ], + "response": { + "$ref": "AcceleratorTypeList" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Retrieves a list of accelerator types that are available to the specified project." + }, + "aggregatedList": { + "id": "compute.acceleratorTypes.aggregatedList", + "path": "projects/{project}/aggregated/acceleratorTypes", + "flatPath": "projects/{project}/aggregated/acceleratorTypes", + "httpMethod": "GET", + "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "includeAllScopes": { + "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", + "location": "query", + "type": "boolean" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + }, + "serviceProjectNumber": { + "description": "The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.", + "location": "query", + "type": "string", + "format": "int64" + } + }, + "parameterOrder": [ + "project" + ], + "response": { + "$ref": "AcceleratorTypeAggregatedList" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Retrieves an aggregated list of accelerator types." + }, + "get": { + "id": "compute.acceleratorTypes.get", + "path": "projects/{project}/zones/{zone}/acceleratorTypes/{acceleratorType}", + "flatPath": "projects/{project}/zones/{zone}/acceleratorTypes/{acceleratorType}", + "httpMethod": "GET", + "parameters": { + "acceleratorType": { + "description": "Name of the accelerator type to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "zone", + "acceleratorType" + ], + "response": { + "$ref": "AcceleratorType" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Returns the specified accelerator type." + } + } + }, + "globalOperations": { + "methods": { + "list": { + "id": "compute.globalOperations.list", + "path": "projects/{project}/global/operations", + "flatPath": "projects/{project}/global/operations", + "httpMethod": "GET", + "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + } + }, + "parameterOrder": [ + "project" + ], + "response": { + "$ref": "OperationList" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Retrieves a list of Operation resources contained within the specified project." + }, + "aggregatedList": { + "id": "compute.globalOperations.aggregatedList", + "path": "projects/{project}/aggregated/operations", + "flatPath": "projects/{project}/aggregated/operations", + "httpMethod": "GET", + "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "includeAllScopes": { + "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", + "location": "query", + "type": "boolean" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + }, + "serviceProjectNumber": { + "description": "The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.", + "location": "query", + "type": "string", + "format": "int64" + } + }, + "parameterOrder": [ + "project" + ], + "response": { + "$ref": "OperationAggregatedList" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Retrieves an aggregated list of all operations." + }, + "get": { + "id": "compute.globalOperations.get", + "path": "projects/{project}/global/operations/{operation}", + "flatPath": "projects/{project}/global/operations/{operation}", + "httpMethod": "GET", + "parameters": { + "operation": { + "description": "Name of the Operations resource to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "operation" + ], + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Retrieves the specified Operations resource." + }, + "wait": { + "id": "compute.globalOperations.wait", + "path": "projects/{project}/global/operations/{operation}/wait", + "flatPath": "projects/{project}/global/operations/{operation}/wait", + "httpMethod": "POST", + "parameters": { + "operation": { + "description": "Name of the Operations resource to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "operation" + ], + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Waits for the specified Operation resource to return as `DONE` or for the request to approach the 2 minute deadline, and retrieves the specified Operation resource. This method differs from the `GET` method in that it waits for no more than the default deadline (2 minutes) and then returns the current state of the operation, which might be `DONE` or still in progress. This method is called on a best-effort basis. Specifically: - In uncommon cases, when the server is overloaded, the request might return before the default deadline is reached, or might return after zero seconds. - If the default deadline is reached, there is no guarantee that the operation is actually done when the method returns. Be prepared to retry if the operation is not `DONE`. " + }, + "delete": { + "id": "compute.globalOperations.delete", + "path": "projects/{project}/global/operations/{operation}", + "flatPath": "projects/{project}/global/operations/{operation}", + "httpMethod": "DELETE", + "parameters": { + "operation": { + "description": "Name of the Operations resource to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "operation" + ], + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Deletes the specified Operations resource." + } + } + }, + "globalOrganizationOperations": { + "methods": { + "list": { + "id": "compute.globalOrganizationOperations.list", + "path": "locations/global/operations", + "flatPath": "locations/global/operations", + "httpMethod": "GET", + "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, + "parentId": { + "description": "Parent ID for this request.", + "location": "query", + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + } + }, + "response": { + "$ref": "OperationList" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Retrieves a list of Operation resources contained within the specified organization." + }, + "get": { + "id": "compute.globalOrganizationOperations.get", + "path": "locations/global/operations/{operation}", + "flatPath": "locations/global/operations/{operation}", + "httpMethod": "GET", + "parameters": { + "operation": { + "description": "Name of the Operations resource to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "parentId": { + "description": "Parent ID for this request.", + "location": "query", + "type": "string" + } + }, + "parameterOrder": [ + "operation" + ], + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Retrieves the specified Operations resource. Gets a list of operations by making a `list()` request." + }, + "delete": { + "id": "compute.globalOrganizationOperations.delete", + "path": "locations/global/operations/{operation}", + "flatPath": "locations/global/operations/{operation}", + "httpMethod": "DELETE", + "parameters": { + "operation": { + "description": "Name of the Operations resource to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "parentId": { + "description": "Parent ID for this request.", + "location": "query", + "type": "string" + } + }, + "parameterOrder": [ + "operation" + ], + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Deletes the specified Operations resource." + } + } + }, + "zoneOperations": { + "methods": { + "list": { + "id": "compute.zoneOperations.list", + "path": "projects/{project}/zones/{zone}/operations", + "flatPath": "projects/{project}/zones/{zone}/operations", + "httpMethod": "GET", + "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + }, + "zone": { + "description": "Name of the zone for request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "zone" + ], + "response": { + "$ref": "OperationList" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Retrieves a list of Operation resources contained within the specified zone." + }, + "get": { + "id": "compute.zoneOperations.get", + "path": "projects/{project}/zones/{zone}/operations/{operation}", + "flatPath": "projects/{project}/zones/{zone}/operations/{operation}", + "httpMethod": "GET", + "parameters": { + "operation": { + "description": "Name of the Operations resource to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "zone": { + "description": "Name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "zone", + "operation" + ], + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Retrieves the specified zone-specific Operations resource." + }, + "wait": { + "id": "compute.zoneOperations.wait", + "path": "projects/{project}/zones/{zone}/operations/{operation}/wait", + "flatPath": "projects/{project}/zones/{zone}/operations/{operation}/wait", + "httpMethod": "POST", + "parameters": { + "operation": { + "description": "Name of the Operations resource to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "zone": { + "description": "Name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "zone", + "operation" + ], + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Waits for the specified Operation resource to return as `DONE` or for the request to approach the 2 minute deadline, and retrieves the specified Operation resource. This method waits for no more than the 2 minutes and then returns the current state of the operation, which might be `DONE` or still in progress. This method is called on a best-effort basis. Specifically: - In uncommon cases, when the server is overloaded, the request might return before the default deadline is reached, or might return after zero seconds. - If the default deadline is reached, there is no guarantee that the operation is actually done when the method returns. Be prepared to retry if the operation is not `DONE`. " + }, + "delete": { + "id": "compute.zoneOperations.delete", + "path": "projects/{project}/zones/{zone}/operations/{operation}", + "flatPath": "projects/{project}/zones/{zone}/operations/{operation}", + "httpMethod": "DELETE", + "parameters": { + "operation": { + "description": "Name of the Operations resource to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "zone": { + "description": "Name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "zone", + "operation" + ], + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Deletes the specified zone-specific Operations resource." + } + } + }, + "regionOperations": { + "methods": { + "list": { + "id": "compute.regionOperations.list", + "path": "projects/{project}/regions/{region}/operations", + "flatPath": "projects/{project}/regions/{region}/operations", + "httpMethod": "GET", + "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + } + }, + "parameterOrder": [ + "project", + "region" + ], + "response": { + "$ref": "OperationList" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Retrieves a list of Operation resources contained within the specified region." + }, + "get": { + "id": "compute.regionOperations.get", + "path": "projects/{project}/regions/{region}/operations/{operation}", + "flatPath": "projects/{project}/regions/{region}/operations/{operation}", + "httpMethod": "GET", + "parameters": { + "operation": { + "description": "Name of the Operations resource to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "region", + "operation" + ], + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Retrieves the specified region-specific Operations resource." + }, + "wait": { + "id": "compute.regionOperations.wait", + "path": "projects/{project}/regions/{region}/operations/{operation}/wait", + "flatPath": "projects/{project}/regions/{region}/operations/{operation}/wait", + "httpMethod": "POST", + "parameters": { + "operation": { + "description": "Name of the Operations resource to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "region", + "operation" + ], + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Waits for the specified Operation resource to return as `DONE` or for the request to approach the 2 minute deadline, and retrieves the specified Operation resource. This method differs from the `GET` method in that it waits for no more than the default deadline (2 minutes) and then returns the current state of the operation, which might be `DONE` or still in progress. This method is called on a best-effort basis. Specifically: - In uncommon cases, when the server is overloaded, the request might return before the default deadline is reached, or might return after zero seconds. - If the default deadline is reached, there is no guarantee that the operation is actually done when the method returns. Be prepared to retry if the operation is not `DONE`. " + }, + "delete": { + "id": "compute.regionOperations.delete", + "path": "projects/{project}/regions/{region}/operations/{operation}", + "flatPath": "projects/{project}/regions/{region}/operations/{operation}", + "httpMethod": "DELETE", + "parameters": { + "operation": { + "description": "Name of the Operations resource to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "region", + "operation" + ], + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Deletes the specified region-specific Operations resource." + } + } + }, + "globalAddresses": { + "methods": { + "list": { + "id": "compute.globalAddresses.list", + "path": "projects/{project}/global/addresses", + "flatPath": "projects/{project}/global/addresses", + "httpMethod": "GET", + "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + } + }, + "parameterOrder": [ + "project" + ], + "response": { + "$ref": "AddressList" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Retrieves a list of global addresses." + }, + "get": { + "id": "compute.globalAddresses.get", + "path": "projects/{project}/global/addresses/{address}", + "flatPath": "projects/{project}/global/addresses/{address}", + "httpMethod": "GET", + "parameters": { + "address": { + "description": "Name of the address resource to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "address" + ], + "response": { + "$ref": "Address" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Returns the specified address resource." + }, + "insert": { + "id": "compute.globalAddresses.insert", + "path": "projects/{project}/global/addresses", + "flatPath": "projects/{project}/global/addresses", + "httpMethod": "POST", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "parameterOrder": [ + "project" + ], + "request": { + "$ref": "Address" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Creates an address resource in the specified project by using the data included in the request." + }, + "delete": { + "id": "compute.globalAddresses.delete", + "path": "projects/{project}/global/addresses/{address}", + "flatPath": "projects/{project}/global/addresses/{address}", + "httpMethod": "DELETE", + "parameters": { + "address": { + "description": "Name of the address resource to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "parameterOrder": [ + "project", + "address" + ], + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Deletes the specified address resource." + }, + "move": { + "id": "compute.globalAddresses.move", + "path": "projects/{project}/global/addresses/{address}/move", + "flatPath": "projects/{project}/global/addresses/{address}/move", + "httpMethod": "POST", + "parameters": { + "address": { + "description": "Name of the address resource to move.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Source project ID which the Address is moved from.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "parameterOrder": [ + "project", + "address" + ], + "request": { + "$ref": "GlobalAddressesMoveRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Moves the specified address resource from one project to another project." + }, + "setLabels": { + "id": "compute.globalAddresses.setLabels", + "path": "projects/{project}/global/addresses/{resource}/setLabels", + "flatPath": "projects/{project}/global/addresses/{resource}/setLabels", + "httpMethod": "POST", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "resource" + ], + "request": { + "$ref": "GlobalSetLabelsRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Sets the labels on a GlobalAddress. To learn more about labels, read the Labeling Resources documentation." + } + } + }, + "addresses": { + "methods": { + "list": { + "id": "compute.addresses.list", + "path": "projects/{project}/regions/{region}/addresses", + "flatPath": "projects/{project}/regions/{region}/addresses", + "httpMethod": "GET", + "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + } + }, + "parameterOrder": [ + "project", + "region" + ], + "response": { + "$ref": "AddressList" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Retrieves a list of addresses contained within the specified region." + }, + "aggregatedList": { + "id": "compute.addresses.aggregatedList", + "path": "projects/{project}/aggregated/addresses", + "flatPath": "projects/{project}/aggregated/addresses", + "httpMethod": "GET", + "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "includeAllScopes": { + "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", + "location": "query", + "type": "boolean" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + }, + "serviceProjectNumber": { + "description": "The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.", + "location": "query", + "type": "string", + "format": "int64" + } + }, + "parameterOrder": [ + "project" + ], + "response": { + "$ref": "AddressAggregatedList" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Retrieves an aggregated list of addresses." + }, + "get": { + "id": "compute.addresses.get", + "path": "projects/{project}/regions/{region}/addresses/{address}", + "flatPath": "projects/{project}/regions/{region}/addresses/{address}", + "httpMethod": "GET", + "parameters": { + "address": { + "description": "Name of the address resource to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "region", + "address" + ], + "response": { + "$ref": "Address" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Returns the specified address resource." + }, + "insert": { + "id": "compute.addresses.insert", + "path": "projects/{project}/regions/{region}/addresses", + "flatPath": "projects/{project}/regions/{region}/addresses", + "httpMethod": "POST", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "parameterOrder": [ + "project", + "region" + ], + "request": { + "$ref": "Address" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Creates an address resource in the specified project by using the data included in the request." + }, + "delete": { + "id": "compute.addresses.delete", + "path": "projects/{project}/regions/{region}/addresses/{address}", + "flatPath": "projects/{project}/regions/{region}/addresses/{address}", + "httpMethod": "DELETE", + "parameters": { + "address": { + "description": "Name of the address resource to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "parameterOrder": [ + "project", + "region", + "address" + ], + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Deletes the specified address resource." + }, + "move": { + "id": "compute.addresses.move", + "path": "projects/{project}/regions/{region}/addresses/{address}/move", + "flatPath": "projects/{project}/regions/{region}/addresses/{address}/move", + "httpMethod": "POST", + "parameters": { + "address": { + "description": "Name of the address resource to move.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Source project ID which the Address is moved from.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "parameterOrder": [ + "project", + "region", + "address" + ], + "request": { + "$ref": "RegionAddressesMoveRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Moves the specified address resource." + }, + "setLabels": { + "id": "compute.addresses.setLabels", + "path": "projects/{project}/regions/{region}/addresses/{resource}/setLabels", + "flatPath": "projects/{project}/regions/{region}/addresses/{resource}/setLabels", + "httpMethod": "POST", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "The region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "region", + "resource" + ], + "request": { + "$ref": "RegionSetLabelsRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Sets the labels on an Address. To learn more about labels, read the Labeling Resources documentation." + } + } + }, + "images": { + "methods": { + "list": { + "id": "compute.images.list", + "path": "projects/{project}/global/images", + "flatPath": "projects/{project}/global/images", + "httpMethod": "GET", + "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + } + }, + "parameterOrder": [ + "project" + ], + "response": { + "$ref": "ImageList" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Retrieves the list of custom images available to the specified project. Custom images are images you create that belong to your project. This method does not get any images that belong to other projects, including publicly-available images, like Debian 8. If you want to get a list of publicly-available images, use this method to make a request to the respective image project, such as debian-cloud or windows-cloud." + }, + "get": { + "id": "compute.images.get", + "path": "projects/{project}/global/images/{image}", + "flatPath": "projects/{project}/global/images/{image}", + "httpMethod": "GET", + "parameters": { + "image": { + "description": "Name of the image resource to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "image" + ], + "response": { + "$ref": "Image" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Returns the specified image." + }, + "getFromFamily": { + "id": "compute.images.getFromFamily", + "path": "projects/{project}/global/images/family/{family}", + "flatPath": "projects/{project}/global/images/family/{family}", + "httpMethod": "GET", + "parameters": { + "family": { + "description": "Name of the image family to search for.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "The image project that the image belongs to. For example, to get a CentOS image, specify centos-cloud as the image project.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "family" + ], + "response": { + "$ref": "Image" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Returns the latest image that is part of an image family and is not deprecated. For more information on image families, see Public image families documentation." + }, + "insert": { + "id": "compute.images.insert", + "path": "projects/{project}/global/images", + "flatPath": "projects/{project}/global/images", + "httpMethod": "POST", + "parameters": { + "forceCreate": { + "description": "Force image creation if true.", + "location": "query", + "type": "boolean" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "parameterOrder": [ + "project" + ], + "request": { + "$ref": "Image" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/devstorage.full_control", + "https://www.googleapis.com/auth/devstorage.read_only", + "https://www.googleapis.com/auth/devstorage.read_write" + ], + "description": "Creates an image in the specified project using the data included in the request." + }, + "setLabels": { + "id": "compute.images.setLabels", + "path": "projects/{project}/global/images/{resource}/setLabels", + "flatPath": "projects/{project}/global/images/{resource}/setLabels", + "httpMethod": "POST", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "resource" + ], + "request": { + "$ref": "GlobalSetLabelsRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Sets the labels on an image. To learn more about labels, read the Labeling Resources documentation." + }, + "delete": { + "id": "compute.images.delete", + "path": "projects/{project}/global/images/{image}", + "flatPath": "projects/{project}/global/images/{image}", + "httpMethod": "DELETE", + "parameters": { + "image": { + "description": "Name of the image resource to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "parameterOrder": [ + "project", + "image" + ], + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Deletes the specified image." + }, + "deprecate": { + "id": "compute.images.deprecate", + "path": "projects/{project}/global/images/{image}/deprecate", + "flatPath": "projects/{project}/global/images/{image}/deprecate", + "httpMethod": "POST", + "parameters": { + "image": { + "description": "Image name.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "parameterOrder": [ + "project", + "image" + ], + "request": { + "$ref": "DeprecationStatus" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Sets the deprecation status of an image. If an empty request body is given, clears the deprecation status instead." + }, + "getIamPolicy": { + "id": "compute.images.getIamPolicy", + "path": "projects/{project}/global/images/{resource}/getIamPolicy", + "flatPath": "projects/{project}/global/images/{resource}/getIamPolicy", + "httpMethod": "GET", + "parameters": { + "optionsRequestedPolicyVersion": { + "description": "Requested IAM Policy version.", + "location": "query", + "type": "integer", + "format": "int32" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "resource" + ], + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists." + }, + "patch": { + "id": "compute.images.patch", + "path": "projects/{project}/global/images/{image}", + "flatPath": "projects/{project}/global/images/{image}", + "httpMethod": "PATCH", + "parameters": { + "image": { + "description": "Name of the image resource to patch.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "parameterOrder": [ + "project", + "image" + ], + "request": { + "$ref": "Image" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Patches the specified image with the data included in the request. Only the following fields can be modified: family, description, deprecation status." + }, + "setIamPolicy": { + "id": "compute.images.setIamPolicy", + "path": "projects/{project}/global/images/{resource}/setIamPolicy", + "flatPath": "projects/{project}/global/images/{resource}/setIamPolicy", + "httpMethod": "POST", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "resource" + ], + "request": { + "$ref": "GlobalSetPolicyRequest" + }, + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Sets the access control policy on the specified resource. Replaces any existing policy." + }, + "testIamPermissions": { + "id": "compute.images.testIamPermissions", + "path": "projects/{project}/global/images/{resource}/testIamPermissions", + "flatPath": "projects/{project}/global/images/{resource}/testIamPermissions", + "httpMethod": "POST", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "resource" + ], + "request": { + "$ref": "TestPermissionsRequest" + }, + "response": { + "$ref": "TestPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Returns permissions that a caller has on the specified resource." + } + } + }, + "imageFamilyViews": { + "methods": { + "get": { + "id": "compute.imageFamilyViews.get", + "path": "projects/{project}/zones/{zone}/imageFamilyViews/{family}", + "flatPath": "projects/{project}/zones/{zone}/imageFamilyViews/{family}", + "httpMethod": "GET", + "parameters": { + "family": { + "description": "Name of the image family to search for.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "zone", + "family" + ], + "response": { + "$ref": "ImageFamilyView" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Returns the latest image that is part of an image family, is not deprecated and is rolled out in the specified zone." + } + } + }, + "snapshots": { + "methods": { + "list": { + "id": "compute.snapshots.list", + "path": "projects/{project}/global/snapshots", + "flatPath": "projects/{project}/global/snapshots", + "httpMethod": "GET", + "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + } + }, + "parameterOrder": [ + "project" + ], + "response": { + "$ref": "SnapshotList" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Retrieves the list of Snapshot resources contained within the specified project." + }, + "get": { + "id": "compute.snapshots.get", + "path": "projects/{project}/global/snapshots/{snapshot}", + "flatPath": "projects/{project}/global/snapshots/{snapshot}", + "httpMethod": "GET", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "snapshot": { + "description": "Name of the Snapshot resource to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "snapshot" + ], + "response": { + "$ref": "Snapshot" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Returns the specified Snapshot resource." + }, + "insert": { + "id": "compute.snapshots.insert", + "path": "projects/{project}/global/snapshots", + "flatPath": "projects/{project}/global/snapshots", + "httpMethod": "POST", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "parameterOrder": [ + "project" + ], + "request": { + "$ref": "Snapshot" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Creates a snapshot in the specified project using the data included in the request. For regular snapshot creation, consider using this method instead of disks.createSnapshot, as this method supports more features, such as creating snapshots in a project different from the source disk project." + }, + "setLabels": { + "id": "compute.snapshots.setLabels", + "path": "projects/{project}/global/snapshots/{resource}/setLabels", + "flatPath": "projects/{project}/global/snapshots/{resource}/setLabels", + "httpMethod": "POST", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "resource" + ], + "request": { + "$ref": "GlobalSetLabelsRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Sets the labels on a snapshot. To learn more about labels, read the Labeling Resources documentation." + }, + "delete": { + "id": "compute.snapshots.delete", + "path": "projects/{project}/global/snapshots/{snapshot}", + "flatPath": "projects/{project}/global/snapshots/{snapshot}", + "httpMethod": "DELETE", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "snapshot": { + "description": "Name of the Snapshot resource to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "snapshot" + ], + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Deletes the specified Snapshot resource. Keep in mind that deleting a single snapshot might not necessarily delete all the data on that snapshot. If any data on the snapshot that is marked for deletion is needed for subsequent snapshots, the data will be moved to the next corresponding snapshot. For more information, see Deleting snapshots." + }, + "getIamPolicy": { + "id": "compute.snapshots.getIamPolicy", + "path": "projects/{project}/global/snapshots/{resource}/getIamPolicy", + "flatPath": "projects/{project}/global/snapshots/{resource}/getIamPolicy", + "httpMethod": "GET", + "parameters": { + "optionsRequestedPolicyVersion": { + "description": "Requested IAM Policy version.", + "location": "query", + "type": "integer", + "format": "int32" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "resource" + ], + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists." + }, + "setIamPolicy": { + "id": "compute.snapshots.setIamPolicy", + "path": "projects/{project}/global/snapshots/{resource}/setIamPolicy", + "flatPath": "projects/{project}/global/snapshots/{resource}/setIamPolicy", + "httpMethod": "POST", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "resource" + ], + "request": { + "$ref": "GlobalSetPolicyRequest" + }, + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Sets the access control policy on the specified resource. Replaces any existing policy." + }, + "testIamPermissions": { + "id": "compute.snapshots.testIamPermissions", + "path": "projects/{project}/global/snapshots/{resource}/testIamPermissions", + "flatPath": "projects/{project}/global/snapshots/{resource}/testIamPermissions", + "httpMethod": "POST", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "resource" + ], + "request": { + "$ref": "TestPermissionsRequest" + }, + "response": { + "$ref": "TestPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Returns permissions that a caller has on the specified resource." + } + } + }, + "disks": { + "methods": { + "list": { + "id": "compute.disks.list", + "path": "projects/{project}/zones/{zone}/disks", + "flatPath": "projects/{project}/zones/{zone}/disks", + "httpMethod": "GET", + "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + }, + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "zone" + ], + "response": { + "$ref": "DiskList" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Retrieves a list of persistent disks contained within the specified zone." + }, + "aggregatedList": { + "id": "compute.disks.aggregatedList", + "path": "projects/{project}/aggregated/disks", + "flatPath": "projects/{project}/aggregated/disks", + "httpMethod": "GET", + "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "includeAllScopes": { + "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", + "location": "query", + "type": "boolean" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + }, + "serviceProjectNumber": { + "description": "The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.", + "location": "query", + "type": "string", + "format": "int64" + } + }, + "parameterOrder": [ + "project" + ], + "response": { + "$ref": "DiskAggregatedList" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Retrieves an aggregated list of persistent disks." + }, + "get": { + "id": "compute.disks.get", + "path": "projects/{project}/zones/{zone}/disks/{disk}", + "flatPath": "projects/{project}/zones/{zone}/disks/{disk}", + "httpMethod": "GET", + "parameters": { + "disk": { + "description": "Name of the persistent disk to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "zone", + "disk" + ], + "response": { + "$ref": "Disk" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Returns the specified persistent disk." + }, + "insert": { + "id": "compute.disks.insert", + "path": "projects/{project}/zones/{zone}/disks", + "flatPath": "projects/{project}/zones/{zone}/disks", + "httpMethod": "POST", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "sourceImage": { + "description": "Source image to restore onto a disk. This field is optional.", + "location": "query", + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "zone" + ], + "request": { + "$ref": "Disk" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Creates a persistent disk in the specified project using the data in the request. You can create a disk from a source (sourceImage, sourceSnapshot, or sourceDisk) or create an empty 500 GB data disk by omitting all properties. You can also create a disk that is larger than the default size by specifying the sizeGb property." + }, + "setLabels": { + "id": "compute.disks.setLabels", + "path": "projects/{project}/zones/{zone}/disks/{resource}/setLabels", + "flatPath": "projects/{project}/zones/{zone}/disks/{resource}/setLabels", + "httpMethod": "POST", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "zone", + "resource" + ], + "request": { + "$ref": "ZoneSetLabelsRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Sets the labels on a disk. To learn more about labels, read the Labeling Resources documentation." + }, + "delete": { + "id": "compute.disks.delete", + "path": "projects/{project}/zones/{zone}/disks/{disk}", + "flatPath": "projects/{project}/zones/{zone}/disks/{disk}", + "httpMethod": "DELETE", + "parameters": { + "disk": { + "description": "Name of the persistent disk to delete.", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "zone", + "disk" + ], + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Deletes the specified persistent disk. Deleting a disk removes its data permanently and is irreversible. However, deleting a disk does not delete any snapshots previously made from the disk. You must separately delete snapshots." + }, + "createSnapshot": { + "id": "compute.disks.createSnapshot", + "path": "projects/{project}/zones/{zone}/disks/{disk}/createSnapshot", + "flatPath": "projects/{project}/zones/{zone}/disks/{disk}/createSnapshot", + "httpMethod": "POST", + "parameters": { + "disk": { + "description": "Name of the persistent disk to snapshot.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "guestFlush": { + "description": "[Input Only] Whether to attempt an application consistent snapshot by informing the OS to prepare for the snapshot process.", + "location": "query", + "type": "boolean" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "zone", + "disk" + ], + "request": { + "$ref": "Snapshot" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Creates a snapshot of a specified persistent disk. For regular snapshot creation, consider using snapshots.insert instead, as that method supports more features, such as creating snapshots in a project different from the source disk project." + }, + "resize": { + "id": "compute.disks.resize", + "path": "projects/{project}/zones/{zone}/disks/{disk}/resize", + "flatPath": "projects/{project}/zones/{zone}/disks/{disk}/resize", + "httpMethod": "POST", + "parameters": { + "disk": { + "description": "The name of the persistent disk.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "zone", + "disk" + ], + "request": { + "$ref": "DisksResizeRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Resizes the specified persistent disk. You can only increase the size of the disk." + }, + "addResourcePolicies": { + "id": "compute.disks.addResourcePolicies", + "path": "projects/{project}/zones/{zone}/disks/{disk}/addResourcePolicies", + "flatPath": "projects/{project}/zones/{zone}/disks/{disk}/addResourcePolicies", + "httpMethod": "POST", + "parameters": { + "disk": { + "description": "The disk name for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "zone", + "disk" + ], + "request": { + "$ref": "DisksAddResourcePoliciesRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Adds existing resource policies to a disk. You can only add one policy which will be applied to this disk for scheduling snapshot creation." + }, + "removeResourcePolicies": { + "id": "compute.disks.removeResourcePolicies", + "path": "projects/{project}/zones/{zone}/disks/{disk}/removeResourcePolicies", + "flatPath": "projects/{project}/zones/{zone}/disks/{disk}/removeResourcePolicies", + "httpMethod": "POST", + "parameters": { + "disk": { + "description": "The disk name for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "zone", + "disk" + ], + "request": { + "$ref": "DisksRemoveResourcePoliciesRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Removes resource policies from a disk." + }, + "getIamPolicy": { + "id": "compute.disks.getIamPolicy", + "path": "projects/{project}/zones/{zone}/disks/{resource}/getIamPolicy", + "flatPath": "projects/{project}/zones/{zone}/disks/{resource}/getIamPolicy", + "httpMethod": "GET", + "parameters": { + "optionsRequestedPolicyVersion": { + "description": "Requested IAM Policy version.", + "location": "query", + "type": "integer", + "format": "int32" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "zone", + "resource" + ], + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists." + }, + "setIamPolicy": { + "id": "compute.disks.setIamPolicy", + "path": "projects/{project}/zones/{zone}/disks/{resource}/setIamPolicy", + "flatPath": "projects/{project}/zones/{zone}/disks/{resource}/setIamPolicy", + "httpMethod": "POST", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "zone", + "resource" + ], + "request": { + "$ref": "ZoneSetPolicyRequest" + }, + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Sets the access control policy on the specified resource. Replaces any existing policy." + }, + "testIamPermissions": { + "id": "compute.disks.testIamPermissions", + "path": "projects/{project}/zones/{zone}/disks/{resource}/testIamPermissions", + "flatPath": "projects/{project}/zones/{zone}/disks/{resource}/testIamPermissions", + "httpMethod": "POST", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "zone", + "resource" + ], + "request": { + "$ref": "TestPermissionsRequest" + }, + "response": { + "$ref": "TestPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Returns permissions that a caller has on the specified resource." + }, + "update": { + "id": "compute.disks.update", + "path": "projects/{project}/zones/{zone}/disks/{disk}", + "flatPath": "projects/{project}/zones/{zone}/disks/{disk}", + "httpMethod": "PATCH", + "parameters": { + "disk": { + "description": "The disk name for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "paths": { + "location": "query", + "repeated": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "updateMask": { + "description": "update_mask indicates fields to be updated as part of this request.", + "location": "query", + "type": "string", + "format": "google-fieldmask" + }, + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "zone", + "disk" + ], + "request": { + "$ref": "Disk" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Updates the specified disk with the data included in the request. The update is performed only on selected fields included as part of update-mask. Only the following fields can be modified: user_license." + }, + "startAsyncReplication": { + "id": "compute.disks.startAsyncReplication", + "path": "projects/{project}/zones/{zone}/disks/{disk}/startAsyncReplication", + "flatPath": "projects/{project}/zones/{zone}/disks/{disk}/startAsyncReplication", + "httpMethod": "POST", + "parameters": { + "disk": { + "description": "The name of the persistent disk.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "zone", + "disk" + ], + "request": { + "$ref": "DisksStartAsyncReplicationRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Starts asynchronous replication. Must be invoked on the primary disk." + }, + "stopAsyncReplication": { + "id": "compute.disks.stopAsyncReplication", + "path": "projects/{project}/zones/{zone}/disks/{disk}/stopAsyncReplication", + "flatPath": "projects/{project}/zones/{zone}/disks/{disk}/stopAsyncReplication", + "httpMethod": "POST", + "parameters": { + "disk": { + "description": "The name of the persistent disk.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "zone", + "disk" + ], + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Stops asynchronous replication. Can be invoked either on the primary or on the secondary disk." + }, + "stopGroupAsyncReplication": { + "id": "compute.disks.stopGroupAsyncReplication", + "path": "projects/{project}/zones/{zone}/disks/stopGroupAsyncReplication", + "flatPath": "projects/{project}/zones/{zone}/disks/stopGroupAsyncReplication", + "httpMethod": "POST", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request. This must be the zone of the primary or secondary disks in the consistency group.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "zone" + ], + "request": { + "$ref": "DisksStopGroupAsyncReplicationResource" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Stops asynchronous replication for a consistency group of disks. Can be invoked either in the primary or secondary scope." + }, + "bulkInsert": { + "id": "compute.disks.bulkInsert", + "path": "projects/{project}/zones/{zone}/disks/bulkInsert", + "flatPath": "projects/{project}/zones/{zone}/disks/bulkInsert", + "httpMethod": "POST", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "zone" + ], + "request": { + "$ref": "BulkInsertDiskResource" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Bulk create a set of disks." + } + } + }, + "regionDisks": { + "methods": { + "list": { + "id": "compute.regionDisks.list", + "path": "projects/{project}/regions/{region}/disks", + "flatPath": "projects/{project}/regions/{region}/disks", + "httpMethod": "GET", + "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + } + }, + "parameterOrder": [ + "project", + "region" + ], + "response": { + "$ref": "DiskList" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Retrieves the list of persistent disks contained within the specified region." + }, + "get": { + "id": "compute.regionDisks.get", + "path": "projects/{project}/regions/{region}/disks/{disk}", + "flatPath": "projects/{project}/regions/{region}/disks/{disk}", + "httpMethod": "GET", + "parameters": { + "disk": { + "description": "Name of the regional persistent disk to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "region", + "disk" + ], + "response": { + "$ref": "Disk" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Returns a specified regional persistent disk." + }, + "insert": { + "id": "compute.regionDisks.insert", + "path": "projects/{project}/regions/{region}/disks", + "flatPath": "projects/{project}/regions/{region}/disks", + "httpMethod": "POST", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "sourceImage": { + "description": "Source image to restore onto a disk. This field is optional.", + "location": "query", + "type": "string" + } + }, + "parameterOrder": [ + "project", + "region" + ], + "request": { + "$ref": "Disk" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Creates a persistent regional disk in the specified project using the data included in the request." + }, + "setLabels": { + "id": "compute.regionDisks.setLabels", + "path": "projects/{project}/regions/{region}/disks/{resource}/setLabels", + "flatPath": "projects/{project}/regions/{region}/disks/{resource}/setLabels", + "httpMethod": "POST", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "The region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "region", + "resource" + ], + "request": { + "$ref": "RegionSetLabelsRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Sets the labels on the target regional disk." + }, + "delete": { + "id": "compute.regionDisks.delete", + "path": "projects/{project}/regions/{region}/disks/{disk}", + "flatPath": "projects/{project}/regions/{region}/disks/{disk}", + "httpMethod": "DELETE", + "parameters": { + "disk": { + "description": "Name of the regional persistent disk to delete.", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "parameterOrder": [ + "project", + "region", + "disk" + ], + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Deletes the specified regional persistent disk. Deleting a regional disk removes all the replicas of its data permanently and is irreversible. However, deleting a disk does not delete any snapshots previously made from the disk. You must separately delete snapshots." + }, + "createSnapshot": { + "id": "compute.regionDisks.createSnapshot", + "path": "projects/{project}/regions/{region}/disks/{disk}/createSnapshot", + "flatPath": "projects/{project}/regions/{region}/disks/{disk}/createSnapshot", + "httpMethod": "POST", + "parameters": { + "disk": { + "description": "Name of the regional persistent disk to snapshot.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "parameterOrder": [ + "project", + "region", + "disk" + ], + "request": { + "$ref": "Snapshot" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Creates a snapshot of a specified persistent disk. For regular snapshot creation, consider using snapshots.insert instead, as that method supports more features, such as creating snapshots in a project different from the source disk project." + }, + "resize": { + "id": "compute.regionDisks.resize", + "path": "projects/{project}/regions/{region}/disks/{disk}/resize", + "flatPath": "projects/{project}/regions/{region}/disks/{disk}/resize", + "httpMethod": "POST", + "parameters": { + "disk": { + "description": "Name of the regional persistent disk.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "The project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "parameterOrder": [ + "project", + "region", + "disk" + ], + "request": { + "$ref": "RegionDisksResizeRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Resizes the specified regional persistent disk." + }, + "addResourcePolicies": { + "id": "compute.regionDisks.addResourcePolicies", + "path": "projects/{project}/regions/{region}/disks/{disk}/addResourcePolicies", + "flatPath": "projects/{project}/regions/{region}/disks/{disk}/addResourcePolicies", + "httpMethod": "POST", + "parameters": { + "disk": { + "description": "The disk name for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "The name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "parameterOrder": [ + "project", + "region", + "disk" + ], + "request": { + "$ref": "RegionDisksAddResourcePoliciesRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Adds existing resource policies to a regional disk. You can only add one policy which will be applied to this disk for scheduling snapshot creation." + }, + "removeResourcePolicies": { + "id": "compute.regionDisks.removeResourcePolicies", + "path": "projects/{project}/regions/{region}/disks/{disk}/removeResourcePolicies", + "flatPath": "projects/{project}/regions/{region}/disks/{disk}/removeResourcePolicies", + "httpMethod": "POST", + "parameters": { + "disk": { + "description": "The disk name for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "The name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "parameterOrder": [ + "project", + "region", + "disk" + ], + "request": { + "$ref": "RegionDisksRemoveResourcePoliciesRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Removes resource policies from a regional disk." + }, + "getIamPolicy": { + "id": "compute.regionDisks.getIamPolicy", + "path": "projects/{project}/regions/{region}/disks/{resource}/getIamPolicy", + "flatPath": "projects/{project}/regions/{region}/disks/{resource}/getIamPolicy", + "httpMethod": "GET", + "parameters": { + "optionsRequestedPolicyVersion": { + "description": "Requested IAM Policy version.", + "location": "query", + "type": "integer", + "format": "int32" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "The name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "region", + "resource" + ], + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists." + }, + "setIamPolicy": { + "id": "compute.regionDisks.setIamPolicy", + "path": "projects/{project}/regions/{region}/disks/{resource}/setIamPolicy", + "flatPath": "projects/{project}/regions/{region}/disks/{resource}/setIamPolicy", + "httpMethod": "POST", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "The name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "region", + "resource" + ], + "request": { + "$ref": "RegionSetPolicyRequest" + }, + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Sets the access control policy on the specified resource. Replaces any existing policy." + }, + "testIamPermissions": { + "id": "compute.regionDisks.testIamPermissions", + "path": "projects/{project}/regions/{region}/disks/{resource}/testIamPermissions", + "flatPath": "projects/{project}/regions/{region}/disks/{resource}/testIamPermissions", + "httpMethod": "POST", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "The name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "region", + "resource" + ], + "request": { + "$ref": "TestPermissionsRequest" + }, + "response": { + "$ref": "TestPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Returns permissions that a caller has on the specified resource." + }, + "update": { + "id": "compute.regionDisks.update", + "path": "projects/{project}/regions/{region}/disks/{disk}", + "flatPath": "projects/{project}/regions/{region}/disks/{disk}", + "httpMethod": "PATCH", + "parameters": { + "disk": { + "description": "The disk name for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "paths": { + "location": "query", + "repeated": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "The name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "updateMask": { + "description": "update_mask indicates fields to be updated as part of this request.", + "location": "query", + "type": "string", + "format": "google-fieldmask" + } + }, + "parameterOrder": [ + "project", + "region", + "disk" + ], + "request": { + "$ref": "Disk" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Update the specified disk with the data included in the request. Update is performed only on selected fields included as part of update-mask. Only the following fields can be modified: user_license." + }, + "startAsyncReplication": { + "id": "compute.regionDisks.startAsyncReplication", + "path": "projects/{project}/regions/{region}/disks/{disk}/startAsyncReplication", + "flatPath": "projects/{project}/regions/{region}/disks/{disk}/startAsyncReplication", + "httpMethod": "POST", + "parameters": { + "disk": { + "description": "The name of the persistent disk.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "The name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "parameterOrder": [ + "project", + "region", + "disk" + ], + "request": { + "$ref": "RegionDisksStartAsyncReplicationRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Starts asynchronous replication. Must be invoked on the primary disk." + }, + "stopAsyncReplication": { + "id": "compute.regionDisks.stopAsyncReplication", + "path": "projects/{project}/regions/{region}/disks/{disk}/stopAsyncReplication", + "flatPath": "projects/{project}/regions/{region}/disks/{disk}/stopAsyncReplication", + "httpMethod": "POST", + "parameters": { + "disk": { + "description": "The name of the persistent disk.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "The name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "parameterOrder": [ + "project", + "region", + "disk" + ], + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Stops asynchronous replication. Can be invoked either on the primary or on the secondary disk." + }, + "stopGroupAsyncReplication": { + "id": "compute.regionDisks.stopGroupAsyncReplication", + "path": "projects/{project}/regions/{region}/disks/stopGroupAsyncReplication", + "flatPath": "projects/{project}/regions/{region}/disks/stopGroupAsyncReplication", + "httpMethod": "POST", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "The name of the region for this request. This must be the region of the primary or secondary disks in the consistency group.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "parameterOrder": [ + "project", + "region" + ], + "request": { + "$ref": "DisksStopGroupAsyncReplicationResource" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Stops asynchronous replication for a consistency group of disks. Can be invoked either in the primary or secondary scope." + }, + "bulkInsert": { + "id": "compute.regionDisks.bulkInsert", + "path": "projects/{project}/regions/{region}/disks/bulkInsert", + "flatPath": "projects/{project}/regions/{region}/disks/bulkInsert", + "httpMethod": "POST", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "The name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "parameterOrder": [ + "project", + "region" + ], + "request": { + "$ref": "BulkInsertDiskResource" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Bulk create a set of disks." + } + } + }, + "firewalls": { + "methods": { + "list": { + "id": "compute.firewalls.list", + "path": "projects/{project}/global/firewalls", + "flatPath": "projects/{project}/global/firewalls", + "httpMethod": "GET", + "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + } + }, + "parameterOrder": [ + "project" + ], + "response": { + "$ref": "FirewallList" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Retrieves the list of firewall rules available to the specified project." + }, + "get": { + "id": "compute.firewalls.get", + "path": "projects/{project}/global/firewalls/{firewall}", + "flatPath": "projects/{project}/global/firewalls/{firewall}", + "httpMethod": "GET", + "parameters": { + "firewall": { + "description": "Name of the firewall rule to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "firewall" + ], + "response": { + "$ref": "Firewall" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Returns the specified firewall." + }, + "insert": { + "id": "compute.firewalls.insert", + "path": "projects/{project}/global/firewalls", + "flatPath": "projects/{project}/global/firewalls", + "httpMethod": "POST", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "parameterOrder": [ + "project" + ], + "request": { + "$ref": "Firewall" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Creates a firewall rule in the specified project using the data included in the request." + }, + "delete": { + "id": "compute.firewalls.delete", + "path": "projects/{project}/global/firewalls/{firewall}", + "flatPath": "projects/{project}/global/firewalls/{firewall}", + "httpMethod": "DELETE", + "parameters": { + "firewall": { + "description": "Name of the firewall rule to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "parameterOrder": [ + "project", + "firewall" + ], + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Deletes the specified firewall." + }, + "update": { + "id": "compute.firewalls.update", + "path": "projects/{project}/global/firewalls/{firewall}", + "flatPath": "projects/{project}/global/firewalls/{firewall}", + "httpMethod": "PUT", + "parameters": { + "firewall": { + "description": "Name of the firewall rule to update.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "parameterOrder": [ + "project", + "firewall" + ], + "request": { + "$ref": "Firewall" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Updates the specified firewall rule with the data included in the request. Note that all fields will be updated if using PUT, even fields that are not specified. To update individual fields, please use PATCH instead." + }, + "patch": { + "id": "compute.firewalls.patch", + "path": "projects/{project}/global/firewalls/{firewall}", + "flatPath": "projects/{project}/global/firewalls/{firewall}", + "httpMethod": "PATCH", + "parameters": { + "firewall": { + "description": "Name of the firewall rule to patch.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "parameterOrder": [ + "project", + "firewall" + ], + "request": { + "$ref": "Firewall" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Updates the specified firewall rule with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules." + } + } + }, + "firewallPolicies": { + "methods": { + "list": { + "id": "compute.firewallPolicies.list", + "path": "locations/global/firewallPolicies", + "flatPath": "locations/global/firewallPolicies", + "httpMethod": "GET", + "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, + "parentId": { + "description": "Parent ID for this request. The ID can be either be \"folders/[FOLDER_ID]\" if the parent is a folder or \"organizations/[ORGANIZATION_ID]\" if the parent is an organization.", + "location": "query", + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + } + }, + "response": { + "$ref": "FirewallPolicyList" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Lists all the policies that have been configured for the specified folder or organization." + }, + "get": { + "id": "compute.firewallPolicies.get", + "path": "locations/global/firewallPolicies/{firewallPolicy}", + "flatPath": "locations/global/firewallPolicies/{firewallPolicy}", + "httpMethod": "GET", + "parameters": { + "firewallPolicy": { + "description": "Name of the firewall policy to get.", + "pattern": "(firewallPolicies/)?[0-9]{0,20}", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "firewallPolicy" + ], + "response": { + "$ref": "FirewallPolicy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Returns the specified firewall policy." + }, + "insert": { + "id": "compute.firewallPolicies.insert", + "path": "locations/global/firewallPolicies", + "flatPath": "locations/global/firewallPolicies", + "httpMethod": "POST", + "parameters": { + "parentId": { + "description": "Parent ID for this request. The ID can be either be \"folders/[FOLDER_ID]\" if the parent is a folder or \"organizations/[ORGANIZATION_ID]\" if the parent is an organization.", + "location": "query", + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "request": { + "$ref": "FirewallPolicy" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Creates a new policy in the specified project using the data included in the request." + }, + "delete": { + "id": "compute.firewallPolicies.delete", + "path": "locations/global/firewallPolicies/{firewallPolicy}", + "flatPath": "locations/global/firewallPolicies/{firewallPolicy}", + "httpMethod": "DELETE", + "parameters": { + "firewallPolicy": { + "description": "Name of the firewall policy to delete.", + "pattern": "(firewallPolicies/)?[0-9]{0,20}", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "parameterOrder": [ + "firewallPolicy" + ], + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Deletes the specified policy." + }, + "patch": { + "id": "compute.firewallPolicies.patch", + "path": "locations/global/firewallPolicies/{firewallPolicy}", + "flatPath": "locations/global/firewallPolicies/{firewallPolicy}", + "httpMethod": "PATCH", + "parameters": { + "firewallPolicy": { + "description": "Name of the firewall policy to update.", + "pattern": "(firewallPolicies/)?[0-9]{0,20}", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "parameterOrder": [ + "firewallPolicy" + ], + "request": { + "$ref": "FirewallPolicy" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Patches the specified policy with the data included in the request." + }, + "getRule": { + "id": "compute.firewallPolicies.getRule", + "path": "locations/global/firewallPolicies/{firewallPolicy}/getRule", + "flatPath": "locations/global/firewallPolicies/{firewallPolicy}/getRule", + "httpMethod": "GET", + "parameters": { + "firewallPolicy": { + "description": "Name of the firewall policy to which the queried rule belongs.", + "pattern": "(firewallPolicies/)?[0-9]{0,20}", + "location": "path", + "required": true, + "type": "string" + }, + "priority": { + "description": "The priority of the rule to get from the firewall policy.", + "location": "query", + "type": "integer", + "format": "int32" + } + }, + "parameterOrder": [ + "firewallPolicy" + ], + "response": { + "$ref": "FirewallPolicyRule" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Gets a rule of the specified priority." + }, + "addRule": { + "id": "compute.firewallPolicies.addRule", + "path": "locations/global/firewallPolicies/{firewallPolicy}/addRule", + "flatPath": "locations/global/firewallPolicies/{firewallPolicy}/addRule", + "httpMethod": "POST", + "parameters": { + "firewallPolicy": { + "description": "Name of the firewall policy to update.", + "pattern": "(firewallPolicies/)?[0-9]{0,20}", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "parameterOrder": [ + "firewallPolicy" + ], + "request": { + "$ref": "FirewallPolicyRule" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Inserts a rule into a firewall policy." + }, + "removeRule": { + "id": "compute.firewallPolicies.removeRule", + "path": "locations/global/firewallPolicies/{firewallPolicy}/removeRule", + "flatPath": "locations/global/firewallPolicies/{firewallPolicy}/removeRule", + "httpMethod": "POST", + "parameters": { + "firewallPolicy": { + "description": "Name of the firewall policy to update.", + "pattern": "(firewallPolicies/)?[0-9]{0,20}", + "location": "path", + "required": true, + "type": "string" + }, + "priority": { + "description": "The priority of the rule to remove from the firewall policy.", + "location": "query", + "type": "integer", + "format": "int32" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "parameterOrder": [ + "firewallPolicy" + ], + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Deletes a rule of the specified priority." + }, + "patchRule": { + "id": "compute.firewallPolicies.patchRule", + "path": "locations/global/firewallPolicies/{firewallPolicy}/patchRule", + "flatPath": "locations/global/firewallPolicies/{firewallPolicy}/patchRule", + "httpMethod": "POST", + "parameters": { + "firewallPolicy": { + "description": "Name of the firewall policy to update.", + "pattern": "(firewallPolicies/)?[0-9]{0,20}", + "location": "path", + "required": true, + "type": "string" + }, + "priority": { + "description": "The priority of the rule to patch.", + "location": "query", + "type": "integer", + "format": "int32" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "parameterOrder": [ + "firewallPolicy" + ], + "request": { + "$ref": "FirewallPolicyRule" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Patches a rule of the specified priority." + }, + "addAssociation": { + "id": "compute.firewallPolicies.addAssociation", + "path": "locations/global/firewallPolicies/{firewallPolicy}/addAssociation", + "flatPath": "locations/global/firewallPolicies/{firewallPolicy}/addAssociation", + "httpMethod": "POST", + "parameters": { + "firewallPolicy": { + "description": "Name of the firewall policy to update.", + "pattern": "(firewallPolicies/)?[0-9]{0,20}", + "location": "path", + "required": true, + "type": "string" + }, + "replaceExistingAssociation": { + "description": "Indicates whether or not to replace it if an association of the attachment already exists. This is false by default, in which case an error will be returned if an association already exists.", + "location": "query", + "type": "boolean" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "parameterOrder": [ + "firewallPolicy" + ], + "request": { + "$ref": "FirewallPolicyAssociation" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Inserts an association for the specified firewall policy." + }, + "removeAssociation": { + "id": "compute.firewallPolicies.removeAssociation", + "path": "locations/global/firewallPolicies/{firewallPolicy}/removeAssociation", + "flatPath": "locations/global/firewallPolicies/{firewallPolicy}/removeAssociation", + "httpMethod": "POST", + "parameters": { + "firewallPolicy": { + "description": "Name of the firewall policy to update.", + "pattern": "(firewallPolicies/)?[0-9]{0,20}", + "location": "path", + "required": true, + "type": "string" + }, + "name": { + "description": "Name for the attachment that will be removed.", + "location": "query", + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "parameterOrder": [ + "firewallPolicy" + ], + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Removes an association for the specified firewall policy." + }, + "listAssociations": { + "id": "compute.firewallPolicies.listAssociations", + "path": "locations/global/firewallPolicies/listAssociations", + "flatPath": "locations/global/firewallPolicies/listAssociations", + "httpMethod": "GET", + "parameters": { + "targetResource": { + "description": "The target resource to list associations. It is an organization, or a folder.", + "location": "query", + "type": "string" + } + }, + "response": { + "$ref": "FirewallPoliciesListAssociationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Lists associations of a specified target, i.e., organization or folder." + }, + "getAssociation": { + "id": "compute.firewallPolicies.getAssociation", + "path": "locations/global/firewallPolicies/{firewallPolicy}/getAssociation", + "flatPath": "locations/global/firewallPolicies/{firewallPolicy}/getAssociation", + "httpMethod": "GET", + "parameters": { + "firewallPolicy": { + "description": "Name of the firewall policy to which the queried rule belongs.", + "pattern": "(firewallPolicies/)?[0-9]{0,20}", + "location": "path", + "required": true, + "type": "string" }, - "data": { - "type": "array", - "description": "[Output Only] Metadata about this warning in key: value format. For example: \"data\": [ { \"key\": \"scope\", \"value\": \"zones/us-east1-d\" } ", - "items": { - "properties": { - "key": { - "description": "[Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).", - "type": "string" - }, - "value": { - "type": "string", - "description": "[Output Only] A warning data value corresponding to the key." - } - }, - "type": "object" - } + "name": { + "description": "The name of the association to get from the firewall policy.", + "location": "query", + "type": "string" } }, - "description": "[Output Only] Informational warning message.", - "type": "object" - }, - "items": { - "description": "A list of NodeTemplatesScopedList resources.", - "type": "object", - "additionalProperties": { - "description": "[Output Only] Name of the scope containing this set of node templates.", - "$ref": "NodeTemplatesScopedList" - } - }, - "unreachables": { - "description": "[Output Only] Unreachable resources.", - "items": { - "type": "string" + "parameterOrder": [ + "firewallPolicy" + ], + "response": { + "$ref": "FirewallPolicyAssociation" }, - "type": "array" - }, - "selfLink": { - "description": "[Output Only] Server-defined URL for this resource.", - "type": "string" - }, - "kind": { - "default": "compute#nodeTemplateAggregatedList", - "description": "[Output Only] Type of resource.Always compute#nodeTemplateAggregatedList for aggregated lists of node templates.", - "type": "string" - }, - "nextPageToken": { - "description": "[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.", - "type": "string" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Gets an association with the specified name." }, - "id": { - "type": "string", - "description": "[Output Only] Unique identifier for the resource; defined by the server." - } - }, - "id": "NodeTemplateAggregatedList", - "type": "object" - }, - "PacketMirroringMirroredResourceInfo": { - "id": "PacketMirroringMirroredResourceInfo", - "properties": { - "instances": { - "items": { - "$ref": "PacketMirroringMirroredResourceInfoInstanceInfo" + "cloneRules": { + "id": "compute.firewallPolicies.cloneRules", + "path": "locations/global/firewallPolicies/{firewallPolicy}/cloneRules", + "flatPath": "locations/global/firewallPolicies/{firewallPolicy}/cloneRules", + "httpMethod": "POST", + "parameters": { + "firewallPolicy": { + "description": "Name of the firewall policy to update.", + "pattern": "(firewallPolicies/)?[0-9]{0,20}", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "sourceFirewallPolicy": { + "description": "The firewall policy from which to copy rules.", + "location": "query", + "type": "string" + } }, - "description": "A set of virtual machine instances that are being mirrored. They must live in zones contained in the same region as this packetMirroring. Note that this config will apply only to those network interfaces of the Instances that belong to the network specified in this packetMirroring. You may specify a maximum of 50 Instances.", - "type": "array" - }, - "subnetworks": { - "items": { - "$ref": "PacketMirroringMirroredResourceInfoSubnetInfo" + "parameterOrder": [ + "firewallPolicy" + ], + "response": { + "$ref": "Operation" }, - "type": "array", - "description": "A set of subnetworks for which traffic from/to all VM instances will be mirrored. They must live in the same region as this packetMirroring. You may specify a maximum of 5 subnetworks." - }, - "tags": { - "type": "array", - "description": "A set of mirrored tags. Traffic from/to all VM instances that have one or more of these tags will be mirrored.", - "items": { - "type": "string" - } - } - }, - "type": "object" - }, - "RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy": { - "properties": { - "name": { - "type": "string", - "description": "[Output Only] The name of the firewall policy." + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Copies rules to the specified firewall policy." }, - "rules": { - "description": "The rules that apply to the network.", - "items": { - "$ref": "FirewallPolicyRule" + "move": { + "id": "compute.firewallPolicies.move", + "path": "locations/global/firewallPolicies/{firewallPolicy}/move", + "flatPath": "locations/global/firewallPolicies/{firewallPolicy}/move", + "httpMethod": "POST", + "parameters": { + "firewallPolicy": { + "description": "Name of the firewall policy to update.", + "pattern": "(firewallPolicies/)?[0-9]{0,20}", + "location": "path", + "required": true, + "type": "string" + }, + "parentId": { + "description": "The new parent of the firewall policy. The ID can be either be \"folders/[FOLDER_ID]\" if the parent is a folder or \"organizations/[ORGANIZATION_ID]\" if the parent is an organization.", + "location": "query", + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } }, - "type": "array" - }, - "type": { - "enum": [ - "HIERARCHY", - "NETWORK", - "NETWORK_REGIONAL", - "UNSPECIFIED" + "parameterOrder": [ + "firewallPolicy" ], - "description": "[Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.", - "enumDescriptions": [ - "", - "", - "", - "" + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" ], - "type": "string" - }, - "displayName": { - "description": "[Output Only] The display name of the firewall policy.", - "type": "string" - } - }, - "id": "RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy", - "type": "object" - }, - "GlobalSetPolicyRequest": { - "type": "object", - "id": "GlobalSetPolicyRequest", - "properties": { - "policy": { - "$ref": "Policy", - "description": "REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them." - }, - "etag": { - "description": "Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.", - "type": "string", - "format": "byte" + "description": "Moves the specified firewall policy." }, - "bindings": { - "type": "array", - "description": "Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings.", - "items": { - "$ref": "Binding" - } - } - } - }, - "DiskMoveRequest": { - "properties": { - "targetDisk": { - "description": "The URL of the target disk to move. This can be a full or partial URL. For example, the following are all valid URLs to a disk: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk ", - "type": "string" + "getIamPolicy": { + "id": "compute.firewallPolicies.getIamPolicy", + "path": "locations/global/firewallPolicies/{resource}/getIamPolicy", + "flatPath": "locations/global/firewallPolicies/{resource}/getIamPolicy", + "httpMethod": "GET", + "parameters": { + "optionsRequestedPolicyVersion": { + "description": "Requested IAM Policy version.", + "location": "query", + "type": "integer", + "format": "int32" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "(firewallPolicies/)?[0-9]{0,20}", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "resource" + ], + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists." }, - "destinationZone": { - "type": "string", - "description": "The URL of the destination zone to move the disk. This can be a full or partial URL. For example, the following are all valid URLs to a zone: - https://www.googleapis.com/compute/v1/projects/project/zones/zone - projects/project/zones/zone - zones/zone " - } - }, - "type": "object", - "id": "DiskMoveRequest" - }, - "ProjectsDisableXpnResourceRequest": { - "type": "object", - "id": "ProjectsDisableXpnResourceRequest", - "properties": { - "xpnResource": { - "description": "Service resource (a.k.a service project) ID.", - "$ref": "XpnResourceId" - } - } - }, - "InstancesSetLabelsRequest": { - "type": "object", - "id": "InstancesSetLabelsRequest", - "properties": { - "labels": { - "additionalProperties": { - "type": "string" + "setIamPolicy": { + "id": "compute.firewallPolicies.setIamPolicy", + "path": "locations/global/firewallPolicies/{resource}/setIamPolicy", + "flatPath": "locations/global/firewallPolicies/{resource}/setIamPolicy", + "httpMethod": "POST", + "parameters": { + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "(firewallPolicies/)?[0-9]{0,20}", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "resource" + ], + "request": { + "$ref": "GlobalOrganizationSetPolicyRequest" + }, + "response": { + "$ref": "Policy" }, - "type": "object" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Sets the access control policy on the specified resource. Replaces any existing policy." }, - "labelFingerprint": { - "type": "string", - "format": "byte", - "description": "Fingerprint of the previous set of labels for this resource, used to prevent conflicts. Provide the latest fingerprint value when making a request to add or change labels." + "testIamPermissions": { + "id": "compute.firewallPolicies.testIamPermissions", + "path": "locations/global/firewallPolicies/{resource}/testIamPermissions", + "flatPath": "locations/global/firewallPolicies/{resource}/testIamPermissions", + "httpMethod": "POST", + "parameters": { + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "(firewallPolicies/)?[0-9]{0,20}", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "resource" + ], + "request": { + "$ref": "TestPermissionsRequest" + }, + "response": { + "$ref": "TestPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Returns permissions that a caller has on the specified resource." } } - } - }, - "protocol": "rest", - "resources": { - "interconnectAttachments": { + }, + "networkFirewallPolicies": { "methods": { - "get": { - "id": "compute.interconnectAttachments.get", - "response": { - "$ref": "InterconnectAttachment" - }, - "flatPath": "projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}", + "list": { + "id": "compute.networkFirewallPolicies.list", + "path": "projects/{project}/global/firewallPolicies", + "flatPath": "projects/{project}/global/firewallPolicies", "httpMethod": "GET", - "path": "projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}", - "description": "Returns the specified interconnect attachment.", "parameters": { - "region": { - "description": "Name of the region for this request.", - "required": true, - "location": "path", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" }, - "interconnectAttachment": { + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + } + }, + "parameterOrder": [ + "project" + ], + "response": { + "$ref": "FirewallPolicyList" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Lists all the policies that have been configured for the specified project." + }, + "get": { + "id": "compute.networkFirewallPolicies.get", + "path": "projects/{project}/global/firewallPolicies/{firewallPolicy}", + "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}", + "httpMethod": "GET", + "parameters": { + "firewallPolicy": { + "description": "Name of the firewall policy to get.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", "required": true, - "description": "Name of the interconnect attachment to return." + "type": "string" }, "project": { - "type": "string", - "location": "path", "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true + "location": "path", + "required": true, + "type": "string" } }, "parameterOrder": [ "project", - "region", - "interconnectAttachment" + "firewallPolicy" ], + "response": { + "$ref": "FirewallPolicy" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" - ] + ], + "description": "Returns the specified network firewall policy." }, - "setLabels": { + "insert": { + "id": "compute.networkFirewallPolicies.insert", + "path": "projects/{project}/global/firewallPolicies", + "flatPath": "projects/{project}/global/firewallPolicies", "httpMethod": "POST", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "parameterOrder": [ + "project" + ], + "request": { + "$ref": "FirewallPolicy" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Creates a new policy in the specified project using the data included in the request." + }, + "delete": { + "id": "compute.networkFirewallPolicies.delete", + "path": "projects/{project}/global/firewallPolicies/{firewallPolicy}", + "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}", + "httpMethod": "DELETE", + "parameters": { + "firewallPolicy": { + "description": "Name of the firewall policy to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, "parameterOrder": [ "project", - "region", - "resource" + "firewallPolicy" ], - "path": "projects/{project}/regions/{region}/interconnectAttachments/{resource}/setLabels", "response": { "$ref": "Operation" }, - "id": "compute.interconnectAttachments.setLabels", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "description": "Sets the labels on an InterconnectAttachment. To learn more about labels, read the Labeling Resources documentation.", + "description": "Deletes the specified policy." + }, + "patch": { + "id": "compute.networkFirewallPolicies.patch", + "path": "projects/{project}/global/firewallPolicies/{firewallPolicy}", + "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}", + "httpMethod": "PATCH", + "parameters": { + "firewallPolicy": { + "description": "Name of the firewall policy to update.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "parameterOrder": [ + "project", + "firewallPolicy" + ], "request": { - "$ref": "RegionSetLabelsRequest" + "$ref": "FirewallPolicy" + }, + "response": { + "$ref": "Operation" }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Patches the specified policy with the data included in the request." + }, + "getRule": { + "id": "compute.networkFirewallPolicies.getRule", + "path": "projects/{project}/global/firewallPolicies/{firewallPolicy}/getRule", + "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/getRule", + "httpMethod": "GET", "parameters": { - "resource": { - "required": true, - "description": "Name or id of the resource for this request.", - "type": "string", + "firewallPolicy": { + "description": "Name of the firewall policy to which the queried rule belongs.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" - }, - "region": { - "description": "The region for this request.", "required": true, - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "location": "path" + "type": "string" }, - "requestId": { + "priority": { + "description": "The priority of the rule to get from the firewall policy.", "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "type": "integer", + "format": "int32" }, "project": { - "required": true, "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", - "location": "path" + "location": "path", + "required": true, + "type": "string" } }, - "flatPath": "projects/{project}/regions/{region}/interconnectAttachments/{resource}/setLabels" - }, - "aggregatedList": { - "id": "compute.interconnectAttachments.aggregatedList", + "parameterOrder": [ + "project", + "firewallPolicy" + ], + "response": { + "$ref": "FirewallPolicyRule" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "description": "Retrieves an aggregated list of interconnect attachments.", - "path": "projects/{project}/aggregated/interconnectAttachments", + "description": "Gets a rule of the specified priority." + }, + "addRule": { + "id": "compute.networkFirewallPolicies.addRule", + "path": "projects/{project}/global/firewallPolicies/{firewallPolicy}/addRule", + "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/addRule", + "httpMethod": "POST", "parameters": { - "maxResults": { + "firewallPolicy": { + "description": "Name of the firewall policy to update.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "maxPriority": { + "description": "When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority\u003e. This field is exclusive with rule.priority.", "location": "query", - "default": "500", - "format": "uint32", - "minimum": "0", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "type": "integer" + "type": "integer", + "format": "int32" }, - "pageToken": { + "minPriority": { + "description": "When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority\u003e. This field is exclusive with rule.priority.", "location": "query", - "type": "string", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results." + "type": "integer", + "format": "int32" }, "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "type": "string", - "description": "Project ID for this request." - }, - "returnPartialSuccess": { - "location": "query", - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." + "type": "string" }, - "includeAllScopes": { + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "type": "boolean", - "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included." - }, - "orderBy": { - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "type": "string", - "location": "query" - }, - "filter": { - "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "location": "query" + "type": "string" } }, - "response": { - "$ref": "InterconnectAttachmentAggregatedList" - }, - "flatPath": "projects/{project}/aggregated/interconnectAttachments", "parameterOrder": [ - "project" + "project", + "firewallPolicy" ], - "httpMethod": "GET" - }, - "list": { + "request": { + "$ref": "FirewallPolicyRule" + }, "response": { - "$ref": "InterconnectAttachmentList" + "$ref": "Operation" }, - "path": "projects/{project}/regions/{region}/interconnectAttachments", - "id": "compute.interconnectAttachments.list", - "flatPath": "projects/{project}/regions/{region}/interconnectAttachments", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], + "description": "Inserts a rule into a firewall policy." + }, + "removeRule": { + "id": "compute.networkFirewallPolicies.removeRule", + "path": "projects/{project}/global/firewallPolicies/{firewallPolicy}/removeRule", + "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/removeRule", + "httpMethod": "POST", "parameters": { - "orderBy": { - "type": "string", - "location": "query", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported." - }, - "pageToken": { - "type": "string", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "location": "query" - }, - "project": { - "required": true, + "firewallPolicy": { + "description": "Name of the firewall policy to update.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", - "description": "Project ID for this request." - }, - "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "type": "boolean", - "location": "query" - }, - "filter": { - "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "location": "query" + "required": true, + "type": "string" }, - "maxResults": { + "priority": { + "description": "The priority of the rule to remove from the firewall policy.", "location": "query", - "minimum": "0", - "format": "uint32", "type": "integer", - "default": "500", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)" + "format": "int32" }, - "region": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "description": "Name of the region for this request.", - "required": true + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, - "description": "Retrieves the list of interconnect attachments contained within the specified region.", "parameterOrder": [ "project", - "region" + "firewallPolicy" ], - "httpMethod": "GET" - }, - "delete": { - "description": "Deletes the specified interconnect attachment.", - "flatPath": "projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}", "response": { "$ref": "Operation" }, - "httpMethod": "DELETE", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "parameterOrder": [ - "project", - "region", - "interconnectAttachment" - ], + "description": "Deletes a rule of the specified priority." + }, + "patchRule": { + "id": "compute.networkFirewallPolicies.patchRule", + "path": "projects/{project}/global/firewallPolicies/{firewallPolicy}/patchRule", + "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/patchRule", + "httpMethod": "POST", "parameters": { - "interconnectAttachment": { - "type": "string", + "firewallPolicy": { + "description": "Name of the firewall policy to update.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, - "description": "Name of the interconnect attachment to delete." + "type": "string" + }, + "priority": { + "description": "The priority of the rule to patch.", + "location": "query", + "type": "integer", + "format": "int32" }, "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "description": "Project ID for this request.", - "type": "string", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "required": true + "required": true, + "type": "string" }, "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - }, - "region": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "location": "path", - "required": true, - "type": "string", - "description": "Name of the region for this request." + "type": "string" } }, - "path": "projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}", - "id": "compute.interconnectAttachments.delete" - }, - "insert": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "parameterOrder": [ + "project", + "firewallPolicy" ], - "id": "compute.interconnectAttachments.insert", + "request": { + "$ref": "FirewallPolicyRule" + }, "response": { "$ref": "Operation" }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Patches a rule of the specified priority." + }, + "getIamPolicy": { + "id": "compute.networkFirewallPolicies.getIamPolicy", + "path": "projects/{project}/global/firewallPolicies/{resource}/getIamPolicy", + "flatPath": "projects/{project}/global/firewallPolicies/{resource}/getIamPolicy", + "httpMethod": "GET", "parameters": { - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "optionsRequestedPolicyVersion": { + "description": "Requested IAM Policy version.", "location": "query", - "type": "string" + "type": "integer", + "format": "int32" }, - "region": { - "description": "Name of the region for this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, "type": "string" }, - "validateOnly": { - "location": "query", - "description": "If true, the request will not be committed.", - "type": "boolean" - }, - "project": { - "required": true, - "description": "Project ID for this request.", + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "required": true, + "type": "string" } }, - "request": { - "$ref": "InterconnectAttachment" - }, - "httpMethod": "POST", "parameterOrder": [ "project", - "region" + "resource" ], - "description": "Creates an InterconnectAttachment in the specified project using the data included in the request.", - "flatPath": "projects/{project}/regions/{region}/interconnectAttachments", - "path": "projects/{project}/regions/{region}/interconnectAttachments" + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists." }, - "patch": { - "description": "Updates the specified interconnect attachment with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.", + "setIamPolicy": { + "id": "compute.networkFirewallPolicies.setIamPolicy", + "path": "projects/{project}/global/firewallPolicies/{resource}/setIamPolicy", + "flatPath": "projects/{project}/global/firewallPolicies/{resource}/setIamPolicy", + "httpMethod": "POST", "parameters": { "project": { "description": "Project ID for this request.", - "location": "path", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", - "required": true - }, - "requestId": { - "type": "string", - "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - }, - "interconnectAttachment": { - "required": true, - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "description": "Name of the interconnect attachment to patch." - }, - "region": { "required": true, - "type": "string", - "description": "Name of the region scoping this request.", + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "required": true, + "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], "parameterOrder": [ "project", - "region", - "interconnectAttachment" + "resource" ], "request": { - "$ref": "InterconnectAttachment" + "$ref": "GlobalSetPolicyRequest" }, - "id": "compute.interconnectAttachments.patch", - "path": "projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}", - "flatPath": "projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}", - "httpMethod": "PATCH", - "response": { - "$ref": "Operation" - } - } - } - }, - "globalNetworkEndpointGroups": { - "methods": { - "listNetworkEndpoints": { "response": { - "$ref": "NetworkEndpointGroupsListNetworkEndpoints" + "$ref": "Policy" }, - "parameterOrder": [ - "project", - "networkEndpointGroup" - ], - "id": "compute.globalNetworkEndpointGroups.listNetworkEndpoints", - "path": "projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints", - "description": "Lists the network endpoints in the specified network endpoint group.", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], + "description": "Sets the access control policy on the specified resource. Replaces any existing policy." + }, + "testIamPermissions": { + "id": "compute.networkFirewallPolicies.testIamPermissions", + "path": "projects/{project}/global/firewallPolicies/{resource}/testIamPermissions", + "flatPath": "projects/{project}/global/firewallPolicies/{resource}/testIamPermissions", "httpMethod": "POST", - "flatPath": "projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints", "parameters": { - "pageToken": { - "location": "query", - "type": "string", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results." - }, - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "type": "string", - "location": "query" - }, - "returnPartialSuccess": { - "location": "query", - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." - }, - "maxResults": { - "default": "500", - "minimum": "0", - "location": "query", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "format": "uint32", - "type": "integer" - }, - "networkEndpointGroup": { - "type": "string", - "description": "The name of the network endpoint group from which you want to generate a list of included network endpoints. It should comply with RFC1035.", - "required": true, - "location": "path" - }, "project": { - "required": true, + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", "location": "path", - "description": "Project ID for this request." + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" } - } - }, - "list": { + }, + "parameterOrder": [ + "project", + "resource" + ], + "request": { + "$ref": "TestPermissionsRequest" + }, "response": { - "$ref": "NetworkEndpointGroupList" + "$ref": "TestPermissionsResponse" }, - "flatPath": "projects/{project}/global/networkEndpointGroups", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "path": "projects/{project}/global/networkEndpointGroups", + "description": "Returns permissions that a caller has on the specified resource." + }, + "addAssociation": { + "id": "compute.networkFirewallPolicies.addAssociation", + "path": "projects/{project}/global/firewallPolicies/{firewallPolicy}/addAssociation", + "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/addAssociation", + "httpMethod": "POST", "parameters": { - "pageToken": { - "location": "query", - "type": "string", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results." + "firewallPolicy": { + "description": "Name of the firewall policy to update.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" }, "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", - "description": "Project ID for this request.", - "required": true - }, - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "type": "string", - "location": "query" - }, - "orderBy": { - "location": "query", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "required": true, "type": "string" }, - "returnPartialSuccess": { - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "location": "query" + "replaceExistingAssociation": { + "description": "Indicates whether or not to replace it if an association of the attachment already exists. This is false by default, in which case an error will be returned if an association already exists.", + "location": "query", + "type": "boolean" }, - "maxResults": { - "type": "integer", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "format": "uint32", - "minimum": "0", + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "default": "500" + "type": "string" } }, - "httpMethod": "GET", - "description": "Retrieves the list of network endpoint groups that are located in the specified project.", - "parameterOrder": [ - "project" - ], - "id": "compute.globalNetworkEndpointGroups.list" - }, - "insert": { - "httpMethod": "POST", "parameterOrder": [ - "project" + "project", + "firewallPolicy" ], "request": { - "$ref": "NetworkEndpointGroup" + "$ref": "FirewallPolicyAssociation" }, - "id": "compute.globalNetworkEndpointGroups.insert", "response": { "$ref": "Operation" }, @@ -36835,274 +49633,278 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "path": "projects/{project}/global/networkEndpointGroups", - "description": "Creates a network endpoint group in the specified project using the parameters that are included in the request.", - "flatPath": "projects/{project}/global/networkEndpointGroups", - "parameters": { - "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", - "description": "Project ID for this request.", - "required": true, - "location": "path" - }, - "requestId": { - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" - } - } + "description": "Inserts an association for the specified firewall policy." }, - "get": { - "path": "projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}", - "httpMethod": "GET", - "response": { - "$ref": "NetworkEndpointGroup" - }, - "flatPath": "projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}", + "removeAssociation": { + "id": "compute.networkFirewallPolicies.removeAssociation", + "path": "projects/{project}/global/firewallPolicies/{firewallPolicy}/removeAssociation", + "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/removeAssociation", + "httpMethod": "POST", "parameters": { - "networkEndpointGroup": { - "description": "The name of the network endpoint group. It should comply with RFC1035.", - "required": true, - "type": "string", - "location": "path" - }, - "project": { + "firewallPolicy": { + "description": "Name of the firewall policy to update.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "type": "string", - "description": "Project ID for this request.", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "parameterOrder": [ - "project", - "networkEndpointGroup" - ], - "description": "Returns the specified network endpoint group. Gets a list of available network endpoint groups by making a list() request.", - "id": "compute.globalNetworkEndpointGroups.get" - }, - "delete": { - "httpMethod": "DELETE", - "flatPath": "projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}", - "path": "projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}", - "parameterOrder": [ - "project", - "networkEndpointGroup" - ], - "id": "compute.globalNetworkEndpointGroups.delete", - "parameters": { - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "type": "string" + }, + "name": { + "description": "Name for the attachment that will be removed.", "location": "query", "type": "string" }, "project": { - "type": "string", - "location": "path", "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" }, - "networkEndpointGroup": { - "location": "path", - "description": "The name of the network endpoint group to delete. It should comply with RFC1035.", - "type": "string", - "required": true + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, + "parameterOrder": [ + "project", + "firewallPolicy" + ], + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "description": "Deletes the specified network endpoint group.Note that the NEG cannot be deleted if there are backend services referencing it.", - "response": { - "$ref": "Operation" - } + "description": "Removes an association for the specified firewall policy." }, - "attachNetworkEndpoints": { - "request": { - "$ref": "GlobalNetworkEndpointGroupsAttachEndpointsRequest" - }, - "response": { - "$ref": "Operation" - }, - "description": "Attach a network endpoint to the specified network endpoint group.", - "id": "compute.globalNetworkEndpointGroups.attachNetworkEndpoints", - "httpMethod": "POST", + "getAssociation": { + "id": "compute.networkFirewallPolicies.getAssociation", + "path": "projects/{project}/global/firewallPolicies/{firewallPolicy}/getAssociation", + "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/getAssociation", + "httpMethod": "GET", "parameters": { - "requestId": { - "type": "string", + "firewallPolicy": { + "description": "Name of the firewall policy to which the queried association belongs.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "name": { + "description": "The name of the association to get from the firewall policy.", "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "type": "string" }, "project": { - "required": true, "description": "Project ID for this request.", - "type": "string", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "networkEndpointGroup": { - "type": "string", "required": true, - "location": "path", - "description": "The name of the network endpoint group where you are attaching network endpoints to. It should comply with RFC1035." + "type": "string" } }, - "flatPath": "projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints", "parameterOrder": [ "project", - "networkEndpointGroup" + "firewallPolicy" ], + "response": { + "$ref": "FirewallPolicyAssociation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "path": "projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints" + "description": "Gets an association with the specified name." }, - "detachNetworkEndpoints": { - "parameterOrder": [ - "project", - "networkEndpointGroup" - ], - "id": "compute.globalNetworkEndpointGroups.detachNetworkEndpoints", - "path": "projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints", + "cloneRules": { + "id": "compute.networkFirewallPolicies.cloneRules", + "path": "projects/{project}/global/firewallPolicies/{firewallPolicy}/cloneRules", + "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/cloneRules", "httpMethod": "POST", - "flatPath": "projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints", "parameters": { + "firewallPolicy": { + "description": "Name of the firewall policy to update.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "location": "path" + "type": "string" }, "requestId": { - "location": "query", "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", "type": "string" }, - "networkEndpointGroup": { - "location": "path", - "required": true, - "description": "The name of the network endpoint group where you are removing network endpoints. It should comply with RFC1035.", + "sourceFirewallPolicy": { + "description": "The firewall policy from which to copy rules.", + "location": "query", "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "parameterOrder": [ + "project", + "firewallPolicy" ], "response": { "$ref": "Operation" }, - "description": "Detach the network endpoint from the specified network endpoint group.", - "request": { - "$ref": "GlobalNetworkEndpointGroupsDetachEndpointsRequest" - } + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Copies rules to the specified firewall policy." } } }, - "vpnTunnels": { + "regionNetworkFirewallPolicies": { "methods": { - "aggregatedList": { - "parameterOrder": [ - "project" - ], - "response": { - "$ref": "VpnTunnelAggregatedList" - }, + "list": { + "id": "compute.regionNetworkFirewallPolicies.list", + "path": "projects/{project}/regions/{region}/firewallPolicies", + "flatPath": "projects/{project}/regions/{region}/firewallPolicies", "httpMethod": "GET", - "description": "Retrieves an aggregated list of VPN tunnels.", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "path": "projects/{project}/aggregated/vpnTunnels", - "id": "compute.vpnTunnels.aggregatedList", "parameters": { - "includeAllScopes": { - "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", "location": "query", - "type": "boolean" + "type": "string" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" }, "orderBy": { - "type": "string", "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "location": "query" + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" }, "project": { "description": "Project ID for this request.", - "type": "string", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "required": true - }, - "maxResults": { - "location": "query", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "type": "integer", - "minimum": "0", - "format": "uint32", - "default": "500" + "required": true, + "type": "string" }, - "filter": { - "type": "string", - "location": "query", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`." + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" }, "returnPartialSuccess": { "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", "location": "query", "type": "boolean" - }, - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "type": "string", - "location": "query" } }, - "flatPath": "projects/{project}/aggregated/vpnTunnels" - }, - "insert": { - "path": "projects/{project}/regions/{region}/vpnTunnels", - "httpMethod": "POST", "parameterOrder": [ "project", "region" ], - "flatPath": "projects/{project}/regions/{region}/vpnTunnels", - "description": "Creates a VpnTunnel resource in the specified project and region using the data included in the request.", + "response": { + "$ref": "FirewallPolicyList" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Lists all the network firewall policies that have been configured for the specified project in the given region." + }, + "get": { + "id": "compute.regionNetworkFirewallPolicies.get", + "path": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}", + "flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}", + "httpMethod": "GET", "parameters": { - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query", + "firewallPolicy": { + "description": "Name of the firewall policy to get.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, "type": "string" }, "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "region", + "firewallPolicy" + ], + "response": { + "$ref": "FirewallPolicy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Returns the specified network firewall policy." + }, + "insert": { + "id": "compute.regionNetworkFirewallPolicies.insert", + "path": "projects/{project}/regions/{region}/firewallPolicies", + "flatPath": "projects/{project}/regions/{region}/firewallPolicies", + "httpMethod": "POST", + "parameters": { + "project": { "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, "type": "string" }, "region": { + "description": "Name of the region scoping this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the region for this request.", - "type": "string", "location": "path", - "required": true + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, + "parameterOrder": [ + "project", + "region" + ], "request": { - "$ref": "VpnTunnel" + "$ref": "FirewallPolicy" }, "response": { "$ref": "Operation" @@ -37111,201 +49913,316 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "id": "compute.vpnTunnels.insert" + "description": "Creates a new network firewall policy in the specified project and region." }, - "setLabels": { - "request": { - "$ref": "RegionSetLabelsRequest" - }, - "id": "compute.vpnTunnels.setLabels", - "description": "Sets the labels on a VpnTunnel. To learn more about labels, read the Labeling Resources documentation.", + "delete": { + "id": "compute.regionNetworkFirewallPolicies.delete", + "path": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}", + "flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}", + "httpMethod": "DELETE", "parameters": { - "resource": { - "description": "Name or id of the resource for this request.", - "required": true, - "location": "path", + "firewallPolicy": { + "description": "Name of the firewall policy to delete.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, "type": "string" }, - "requestId": { - "type": "string", - "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" }, "region": { - "description": "The region for this request.", - "required": true, - "type": "string", + "description": "Name of the region scoping this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "location": "path" - }, - "project": { - "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", - "description": "Project ID for this request." + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, - "flatPath": "projects/{project}/regions/{region}/vpnTunnels/{resource}/setLabels", "parameterOrder": [ "project", "region", - "resource" + "firewallPolicy" ], "response": { "$ref": "Operation" }, - "httpMethod": "POST", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "path": "projects/{project}/regions/{region}/vpnTunnels/{resource}/setLabels" + "description": "Deletes the specified network firewall policy." }, - "get": { - "flatPath": "projects/{project}/regions/{region}/vpnTunnels/{vpnTunnel}", - "description": "Returns the specified VpnTunnel resource. Gets a list of available VPN tunnels by making a list() request.", + "patch": { + "id": "compute.regionNetworkFirewallPolicies.patch", + "path": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}", + "flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}", + "httpMethod": "PATCH", "parameters": { - "project": { + "firewallPolicy": { + "description": "Name of the firewall policy to update.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", + "required": true, + "type": "string" + }, + "project": { "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" }, "region": { - "location": "path", - "type": "string", + "description": "Name of the region scoping this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the region for this request.", - "required": true - }, - "vpnTunnel": { "location": "path", - "description": "Name of the VpnTunnel resource to return.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", - "required": true + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, - "httpMethod": "GET", + "parameterOrder": [ + "project", + "region", + "firewallPolicy" + ], + "request": { + "$ref": "FirewallPolicy" + }, "response": { - "$ref": "VpnTunnel" + "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], - "id": "compute.vpnTunnels.get", - "path": "projects/{project}/regions/{region}/vpnTunnels/{vpnTunnel}", + "description": "Patches the specified network firewall policy." + }, + "getRule": { + "id": "compute.regionNetworkFirewallPolicies.getRule", + "path": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/getRule", + "flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/getRule", + "httpMethod": "GET", + "parameters": { + "firewallPolicy": { + "description": "Name of the firewall policy to which the queried rule belongs.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "priority": { + "description": "The priority of the rule to get from the firewall policy.", + "location": "query", + "type": "integer", + "format": "int32" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + } + }, "parameterOrder": [ "project", "region", - "vpnTunnel" - ] - }, - "list": { + "firewallPolicy" + ], + "response": { + "$ref": "FirewallPolicyRule" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "httpMethod": "GET", - "path": "projects/{project}/regions/{region}/vpnTunnels", + "description": "Gets a rule of the specified priority." + }, + "addRule": { + "id": "compute.regionNetworkFirewallPolicies.addRule", + "path": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/addRule", + "flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/addRule", + "httpMethod": "POST", + "parameters": { + "firewallPolicy": { + "description": "Name of the firewall policy to update.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "maxPriority": { + "description": "When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority\u003e. This field is exclusive with rule.priority.", + "location": "query", + "type": "integer", + "format": "int32" + }, + "minPriority": { + "description": "When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority\u003e. This field is exclusive with rule.priority.", + "location": "query", + "type": "integer", + "format": "int32" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, "parameterOrder": [ "project", - "region" + "region", + "firewallPolicy" ], + "request": { + "$ref": "FirewallPolicyRule" + }, "response": { - "$ref": "VpnTunnelList" + "$ref": "Operation" }, - "flatPath": "projects/{project}/regions/{region}/vpnTunnels", - "id": "compute.vpnTunnels.list", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Inserts a rule into a network firewall policy." + }, + "removeRule": { + "id": "compute.regionNetworkFirewallPolicies.removeRule", + "path": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/removeRule", + "flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/removeRule", + "httpMethod": "POST", "parameters": { - "region": { + "firewallPolicy": { + "description": "Name of the firewall policy to update.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "required": true, - "type": "string", - "description": "Name of the region for this request." + "type": "string" }, - "orderBy": { - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "priority": { + "description": "The priority of the rule to remove from the firewall policy.", "location": "query", - "type": "string" + "type": "integer", + "format": "int32" }, "project": { - "location": "path", - "type": "string", "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "returnPartialSuccess": { - "type": "boolean", - "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." - }, - "maxResults": { - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "type": "integer", - "minimum": "0", - "format": "uint32", - "location": "query", - "default": "500" + "type": "string" }, - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "location": "query", + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, "type": "string" }, - "pageToken": { + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "type": "string", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results." + "type": "string" } }, - "description": "Retrieves a list of VpnTunnel resources contained in the specified project and region." + "parameterOrder": [ + "project", + "region", + "firewallPolicy" + ], + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Deletes a rule of the specified priority." }, - "delete": { - "description": "Deletes the specified VpnTunnel resource.", + "patchRule": { + "id": "compute.regionNetworkFirewallPolicies.patchRule", + "path": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/patchRule", + "flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/patchRule", + "httpMethod": "POST", "parameters": { - "region": { - "type": "string", - "description": "Name of the region for this request.", + "firewallPolicy": { + "description": "Name of the firewall policy to update.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "type": "string" + }, + "priority": { + "description": "The priority of the rule to patch.", + "location": "query", + "type": "integer", + "format": "int32" }, "project": { "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "type": "string", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" }, "requestId": { - "location": "query", "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", "type": "string" - }, - "vpnTunnel": { - "required": true, - "description": "Name of the VpnTunnel resource to delete.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", - "location": "path" } }, "parameterOrder": [ "project", "region", - "vpnTunnel" + "firewallPolicy" ], - "id": "compute.vpnTunnels.delete", - "flatPath": "projects/{project}/regions/{region}/vpnTunnels/{vpnTunnel}", + "request": { + "$ref": "FirewallPolicyRule" + }, "response": { "$ref": "Operation" }, @@ -37313,24 +50230,51 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "httpMethod": "DELETE", - "path": "projects/{project}/regions/{region}/vpnTunnels/{vpnTunnel}" - } - } - }, - "serviceAttachments": { - "methods": { - "patch": { - "path": "projects/{project}/regions/{region}/serviceAttachments/{serviceAttachment}", - "id": "compute.serviceAttachments.patch", - "description": "Patches the specified ServiceAttachment resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.", + "description": "Patches a rule of the specified priority." + }, + "cloneRules": { + "id": "compute.regionNetworkFirewallPolicies.cloneRules", + "path": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/cloneRules", + "flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/cloneRules", + "httpMethod": "POST", + "parameters": { + "firewallPolicy": { + "description": "Name of the firewall policy to update.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "sourceFirewallPolicy": { + "description": "The firewall policy from which to copy rules.", + "location": "query", + "type": "string" + } + }, "parameterOrder": [ "project", "region", - "serviceAttachment" + "firewallPolicy" ], - "flatPath": "projects/{project}/regions/{region}/serviceAttachments/{serviceAttachment}", - "httpMethod": "PATCH", "response": { "$ref": "Operation" }, @@ -37338,403 +50282,367 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], + "description": "Copies rules to the specified network firewall policy." + }, + "getAssociation": { + "id": "compute.regionNetworkFirewallPolicies.getAssociation", + "path": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/getAssociation", + "flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/getAssociation", + "httpMethod": "GET", "parameters": { - "project": { + "firewallPolicy": { + "description": "Name of the firewall policy to which the queried association belongs.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "type": "string" }, - "requestId": { + "name": { + "description": "The name of the association to get from the firewall policy.", "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "type": "string" }, - "serviceAttachment": { - "required": true, - "description": "The resource id of the ServiceAttachment to patch. It should conform to RFC1035 resource name or be a string form on an unsigned long number.", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", + "required": true, "type": "string" }, "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "description": "The region scoping this request and should conform to RFC1035.", "required": true, "type": "string" } }, - "request": { - "$ref": "ServiceAttachment" - } - }, - "insert": { - "request": { - "$ref": "ServiceAttachment" + "parameterOrder": [ + "project", + "region", + "firewallPolicy" + ], + "response": { + "$ref": "FirewallPolicyAssociation" }, - "description": "Creates a ServiceAttachment in the specified project in the given scope using the parameters that are included in the request.", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], + "description": "Gets an association with the specified name." + }, + "addAssociation": { + "id": "compute.regionNetworkFirewallPolicies.addAssociation", + "path": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/addAssociation", + "flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/addAssociation", "httpMethod": "POST", - "parameterOrder": [ - "project", - "region" - ], - "id": "compute.serviceAttachments.insert", "parameters": { - "region": { - "required": true, + "firewallPolicy": { + "description": "Name of the firewall policy to update.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", - "description": "Name of the region of this request." + "required": true, + "type": "string" }, "project": { - "required": true, - "type": "string", "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "location": "path" + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "replaceExistingAssociation": { + "description": "Indicates whether or not to replace it if an association already exists. This is false by default, in which case an error will be returned if an association already exists.", + "location": "query", + "type": "boolean" }, "requestId": { - "type": "string", "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" + "location": "query", + "type": "string" } }, - "path": "projects/{project}/regions/{region}/serviceAttachments", - "flatPath": "projects/{project}/regions/{region}/serviceAttachments", + "parameterOrder": [ + "project", + "region", + "firewallPolicy" + ], + "request": { + "$ref": "FirewallPolicyAssociation" + }, "response": { "$ref": "Operation" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Inserts an association for the specified network firewall policy." }, - "get": { - "path": "projects/{project}/regions/{region}/serviceAttachments/{serviceAttachment}", - "flatPath": "projects/{project}/regions/{region}/serviceAttachments/{serviceAttachment}", - "httpMethod": "GET", - "description": "Returns the specified ServiceAttachment resource in the given scope.", + "removeAssociation": { + "id": "compute.regionNetworkFirewallPolicies.removeAssociation", + "path": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/removeAssociation", + "flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/removeAssociation", + "httpMethod": "POST", "parameters": { - "project": { + "firewallPolicy": { + "description": "Name of the firewall policy to update.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", "required": true, + "type": "string" + }, + "name": { + "description": "Name for the association that will be removed.", + "location": "query", + "type": "string" + }, + "project": { "description": "Project ID for this request.", - "type": "string", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "location": "path" + "location": "path", + "required": true, + "type": "string" }, "region": { - "description": "Name of the region of this request.", - "location": "path", - "type": "string", + "description": "Name of the region scoping this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true - }, - "serviceAttachment": { "location": "path", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", - "description": "Name of the ServiceAttachment resource to return." + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, "parameterOrder": [ "project", "region", - "serviceAttachment" - ], - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "firewallPolicy" ], - "id": "compute.serviceAttachments.get", "response": { - "$ref": "ServiceAttachment" - } - }, - "getIamPolicy": { - "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.", - "parameterOrder": [ - "project", - "region", - "resource" - ], + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], - "id": "compute.serviceAttachments.getIamPolicy", + "description": "Removes an association for the specified network firewall policy." + }, + "getEffectiveFirewalls": { + "id": "compute.regionNetworkFirewallPolicies.getEffectiveFirewalls", + "path": "projects/{project}/regions/{region}/firewallPolicies/getEffectiveFirewalls", + "flatPath": "projects/{project}/regions/{region}/firewallPolicies/getEffectiveFirewalls", "httpMethod": "GET", - "flatPath": "projects/{project}/regions/{region}/serviceAttachments/{resource}/getIamPolicy", - "path": "projects/{project}/regions/{region}/serviceAttachments/{resource}/getIamPolicy", "parameters": { + "network": { + "description": "Network reference", + "location": "query", + "required": true, + "type": "string" + }, "project": { "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", - "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "resource": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name or id of the resource for this request.", - "type": "string", "required": true, - "location": "path" - }, - "optionsRequestedPolicyVersion": { - "description": "Requested IAM Policy version.", - "location": "query", - "type": "integer", - "format": "int32" + "type": "string" }, "region": { - "description": "The name of the region for this request.", - "type": "string", + "description": "Name of the region scoping this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", "required": true, - "location": "path" + "type": "string" } }, + "parameterOrder": [ + "project", + "region", + "network" + ], "response": { - "$ref": "Policy" - } - }, - "aggregatedList": { - "id": "compute.serviceAttachments.aggregatedList", - "flatPath": "projects/{project}/aggregated/serviceAttachments", - "response": { - "$ref": "ServiceAttachmentAggregatedList" + "$ref": "RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "parameterOrder": [ - "project" - ], + "description": "Returns the effective firewalls on a given network." + }, + "getIamPolicy": { + "id": "compute.regionNetworkFirewallPolicies.getIamPolicy", + "path": "projects/{project}/regions/{region}/firewallPolicies/{resource}/getIamPolicy", + "flatPath": "projects/{project}/regions/{region}/firewallPolicies/{resource}/getIamPolicy", "httpMethod": "GET", - "path": "projects/{project}/aggregated/serviceAttachments", - "description": "Retrieves the list of all ServiceAttachment resources, regional and global, available to the specified project.", "parameters": { - "orderBy": { - "location": "query", - "type": "string", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported." - }, - "pageToken": { - "type": "string", + "optionsRequestedPolicyVersion": { + "description": "Requested IAM Policy version.", "location": "query", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results." + "type": "integer", + "format": "int32" }, "project": { - "description": "Name of the project scoping this request.", - "type": "string", + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "location": "path" - }, - "includeAllScopes": { - "type": "boolean", - "location": "query", - "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included." - }, - "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "type": "boolean", - "location": "query" + "type": "string" }, - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "location": "query", + "region": { + "description": "The name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, "type": "string" }, - "maxResults": { - "default": "500", - "location": "query", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "type": "integer", - "minimum": "0", - "format": "uint32" + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" } - } - }, - "delete": { - "description": "Deletes the specified ServiceAttachment in the given scope", - "path": "projects/{project}/regions/{region}/serviceAttachments/{serviceAttachment}", - "id": "compute.serviceAttachments.delete", - "response": { - "$ref": "Operation" }, - "httpMethod": "DELETE", - "flatPath": "projects/{project}/regions/{region}/serviceAttachments/{serviceAttachment}", "parameterOrder": [ "project", "region", - "serviceAttachment" + "resource" ], + "response": { + "$ref": "Policy" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "parameters": { - "region": { - "location": "path", - "type": "string", - "required": true, - "description": "Name of the region of this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" - }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query", - "type": "string" - }, - "serviceAttachment": { - "location": "path", - "required": true, - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name of the ServiceAttachment resource to delete." - }, - "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", - "required": true, - "type": "string", - "location": "path" - } - } + "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists." }, "setIamPolicy": { - "flatPath": "projects/{project}/regions/{region}/serviceAttachments/{resource}/setIamPolicy", - "response": { - "$ref": "Policy" - }, + "id": "compute.regionNetworkFirewallPolicies.setIamPolicy", + "path": "projects/{project}/regions/{region}/firewallPolicies/{resource}/setIamPolicy", + "flatPath": "projects/{project}/regions/{region}/firewallPolicies/{resource}/setIamPolicy", + "httpMethod": "POST", "parameters": { "project": { - "location": "path", - "type": "string", "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" }, "region": { - "type": "string", - "location": "path", + "description": "The name of the region for this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", "required": true, - "description": "The name of the region for this request." + "type": "string" }, "resource": { - "required": true, "description": "Name or id of the resource for this request.", - "location": "path", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, "type": "string" } }, - "path": "projects/{project}/regions/{region}/serviceAttachments/{resource}/setIamPolicy", - "id": "compute.serviceAttachments.setIamPolicy", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "request": { - "$ref": "RegionSetPolicyRequest" - }, - "httpMethod": "POST", "parameterOrder": [ "project", "region", "resource" ], - "description": "Sets the access control policy on the specified resource. Replaces any existing policy." - }, - "testIamPermissions": { - "id": "compute.serviceAttachments.testIamPermissions", - "description": "Returns permissions that a caller has on the specified resource.", - "path": "projects/{project}/regions/{region}/serviceAttachments/{resource}/testIamPermissions", "request": { - "$ref": "TestPermissionsRequest" + "$ref": "RegionSetPolicyRequest" }, "response": { - "$ref": "TestPermissionsResponse" + "$ref": "Policy" }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Sets the access control policy on the specified resource. Replaces any existing policy." + }, + "testIamPermissions": { + "id": "compute.regionNetworkFirewallPolicies.testIamPermissions", + "path": "projects/{project}/regions/{region}/firewallPolicies/{resource}/testIamPermissions", + "flatPath": "projects/{project}/regions/{region}/firewallPolicies/{resource}/testIamPermissions", "httpMethod": "POST", "parameters": { - "resource": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "description": "Name or id of the resource for this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "type": "string" }, "region": { + "description": "The name of the region for this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true, "location": "path", - "description": "The name of the region for this request.", + "required": true, "type": "string" }, - "project": { + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "type": "string", - "description": "Project ID for this request.", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" } }, - "flatPath": "projects/{project}/regions/{region}/serviceAttachments/{resource}/testIamPermissions", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], "parameterOrder": [ "project", "region", "resource" - ] - }, - "list": { - "id": "compute.serviceAttachments.list", - "path": "projects/{project}/regions/{region}/serviceAttachments", + ], + "request": { + "$ref": "TestPermissionsRequest" + }, + "response": { + "$ref": "TestPermissionsResponse" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "parameterOrder": [ - "project", - "region" - ], + "description": "Returns permissions that a caller has on the specified resource." + } + } + }, + "securityPolicies": { + "methods": { + "list": { + "id": "compute.securityPolicies.list", + "path": "projects/{project}/global/securityPolicies", + "flatPath": "projects/{project}/global/securityPolicies", "httpMethod": "GET", - "response": { - "$ref": "ServiceAttachmentList" - }, "parameters": { - "region": { - "description": "Name of the region of this request.", - "required": true, - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", "type": "string" }, - "project": { - "description": "Project ID for this request.", - "location": "path", - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true - }, - "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "type": "boolean", - "location": "query" + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" }, "orderBy": { "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", @@ -37742,458 +50650,331 @@ "type": "string" }, "pageToken": { - "type": "string", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "location": "query" - }, - "maxResults": { - "location": "query", - "minimum": "0", - "type": "integer", - "format": "uint32", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "default": "500" - }, - "filter": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "location": "query", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } }, - "description": "Lists the ServiceAttachments for a project in the given scope.", - "flatPath": "projects/{project}/regions/{region}/serviceAttachments" - } - } - }, - "networkEndpointGroups": { - "methods": { - "detachNetworkEndpoints": { - "path": "projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints", "parameterOrder": [ - "project", - "zone", - "networkEndpointGroup" + "project" ], "response": { - "$ref": "Operation" + "$ref": "SecurityPolicyList" }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "List all the policies that have been configured for the specified project." + }, + "get": { + "id": "compute.securityPolicies.get", + "path": "projects/{project}/global/securityPolicies/{securityPolicy}", + "flatPath": "projects/{project}/global/securityPolicies/{securityPolicy}", + "httpMethod": "GET", "parameters": { "project": { - "location": "path", "description": "Project ID for this request.", - "required": true, - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "zone": { + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "description": "The name of the zone where the network endpoint group is located. It should comply with RFC1035.", "type": "string" }, - "requestId": { - "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - }, - "networkEndpointGroup": { - "type": "string", - "description": "The name of the network endpoint group where you are removing network endpoints. It should comply with RFC1035.", + "securityPolicy": { + "description": "Name of the security policy to get.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", "required": true, - "location": "path" + "type": "string" } }, - "flatPath": "projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints", - "request": { - "$ref": "NetworkEndpointGroupsDetachEndpointsRequest" + "parameterOrder": [ + "project", + "securityPolicy" + ], + "response": { + "$ref": "SecurityPolicy" }, - "description": "Detach a list of network endpoints from the specified network endpoint group.", - "id": "compute.networkEndpointGroups.detachNetworkEndpoints", - "httpMethod": "POST", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ] + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "List all of the ordered rules present in a single specified policy." }, "insert": { + "id": "compute.securityPolicies.insert", + "path": "projects/{project}/global/securityPolicies", + "flatPath": "projects/{project}/global/securityPolicies", + "httpMethod": "POST", "parameters": { - "zone": { - "location": "path", - "type": "string", - "required": true, - "description": "The name of the zone where you want to create the network endpoint group. It should comply with RFC1035." - }, "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "description": "Project ID for this request.", - "type": "string", - "location": "path" + "type": "string" }, "requestId": { "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", "type": "string" + }, + "validateOnly": { + "description": "If true, the request will not be committed.", + "location": "query", + "type": "boolean" } }, + "parameterOrder": [ + "project" + ], "request": { - "$ref": "NetworkEndpointGroup" + "$ref": "SecurityPolicy" }, - "path": "projects/{project}/zones/{zone}/networkEndpointGroups", "response": { "$ref": "Operation" }, - "description": "Creates a network endpoint group in the specified project using the parameters that are included in the request.", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "flatPath": "projects/{project}/zones/{zone}/networkEndpointGroups", - "id": "compute.networkEndpointGroups.insert", - "httpMethod": "POST", - "parameterOrder": [ - "project", - "zone" - ] + "description": "Creates a new policy in the specified project using the data included in the request." }, - "testIamPermissions": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "id": "compute.networkEndpointGroups.testIamPermissions", - "request": { - "$ref": "TestPermissionsRequest" - }, - "flatPath": "projects/{project}/zones/{zone}/networkEndpointGroups/{resource}/testIamPermissions", - "description": "Returns permissions that a caller has on the specified resource.", - "httpMethod": "POST", - "path": "projects/{project}/zones/{zone}/networkEndpointGroups/{resource}/testIamPermissions", + "delete": { + "id": "compute.securityPolicies.delete", + "path": "projects/{project}/global/securityPolicies/{securityPolicy}", + "flatPath": "projects/{project}/global/securityPolicies/{securityPolicy}", + "httpMethod": "DELETE", "parameters": { - "resource": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", - "description": "Name or id of the resource for this request." + "type": "string" }, - "zone": { - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", - "description": "The name of the zone for this request.", - "required": true + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" }, - "project": { - "description": "Project ID for this request.", + "securityPolicy": { + "description": "Name of the security policy to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "required": true, "type": "string" } }, "parameterOrder": [ "project", - "zone", - "resource" + "securityPolicy" ], - "response": { - "$ref": "TestPermissionsResponse" - } - }, - "delete": { - "description": "Deletes the specified network endpoint group. The network endpoints in the NEG and the VM instances they belong to are not terminated when the NEG is deleted. Note that the NEG cannot be deleted if there are backend services referencing it.", - "flatPath": "projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}", "response": { "$ref": "Operation" }, - "path": "projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}", - "parameterOrder": [ - "project", - "zone", - "networkEndpointGroup" - ], "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "httpMethod": "DELETE", + "description": "Deletes the specified policy." + }, + "patch": { + "id": "compute.securityPolicies.patch", + "path": "projects/{project}/global/securityPolicies/{securityPolicy}", + "flatPath": "projects/{project}/global/securityPolicies/{securityPolicy}", + "httpMethod": "PATCH", "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, "requestId": { - "location": "query", "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", "type": "string" }, - "networkEndpointGroup": { + "securityPolicy": { + "description": "Name of the security policy to update.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, - "description": "The name of the network endpoint group to delete. It should comply with RFC1035.", "type": "string" }, - "project": { - "required": true, - "type": "string", - "description": "Project ID for this request.", - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "zone": { - "description": "The name of the zone where the network endpoint group is located. It should comply with RFC1035.", + "updateMask": { + "description": "Indicates fields to be cleared as part of this request.", + "location": "query", "type": "string", - "location": "path", - "required": true + "format": "google-fieldmask" } }, - "id": "compute.networkEndpointGroups.delete" - }, - "list": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "parameterOrder": [ + "project", + "securityPolicy" ], + "request": { + "$ref": "SecurityPolicy" + }, "response": { - "$ref": "NetworkEndpointGroupList" + "$ref": "Operation" }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Patches the specified policy with the data included in the request. To clear fields in the policy, leave the fields empty and specify them in the updateMask. This cannot be used to be update the rules in the policy. Please use the per rule methods like addRule, patchRule, and removeRule instead." + }, + "getRule": { + "id": "compute.securityPolicies.getRule", + "path": "projects/{project}/global/securityPolicies/{securityPolicy}/getRule", + "flatPath": "projects/{project}/global/securityPolicies/{securityPolicy}/getRule", + "httpMethod": "GET", "parameters": { - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "type": "string", - "location": "query" - }, - "returnPartialSuccess": { - "type": "boolean", - "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." - }, - "maxResults": { + "priority": { + "description": "The priority of the rule to get from the security policy.", "location": "query", - "default": "500", - "minimum": "0", "type": "integer", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "format": "uint32" + "format": "int32" }, - "zone": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "description": "The name of the zone where the network endpoint group is located. It should comply with RFC1035.", "required": true, "type": "string" }, - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "location": "query", - "type": "string" - }, - "orderBy": { - "type": "string", - "location": "query", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported." - }, - "project": { - "type": "string", - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "securityPolicy": { + "description": "Name of the security policy to which the queried rule belongs.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", "required": true, - "location": "path" + "type": "string" } }, - "flatPath": "projects/{project}/zones/{zone}/networkEndpointGroups", - "id": "compute.networkEndpointGroups.list", - "path": "projects/{project}/zones/{zone}/networkEndpointGroups", - "description": "Retrieves the list of network endpoint groups that are located in the specified project and zone.", - "httpMethod": "GET", "parameterOrder": [ "project", - "zone" - ] - }, - "get": { - "path": "projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}", - "flatPath": "projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}", - "description": "Returns the specified network endpoint group. Gets a list of available network endpoint groups by making a list() request.", - "parameters": { - "zone": { - "description": "The name of the zone where the network endpoint group is located. It should comply with RFC1035.", - "required": true, - "type": "string", - "location": "path" - }, - "networkEndpointGroup": { - "type": "string", - "location": "path", - "description": "The name of the network endpoint group. It should comply with RFC1035.", - "required": true - }, - "project": { - "required": true, - "location": "path", - "type": "string", - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - } + "securityPolicy" + ], + "response": { + "$ref": "SecurityPolicyRule" }, - "httpMethod": "GET", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "response": { - "$ref": "NetworkEndpointGroup" - }, - "parameterOrder": [ - "project", - "zone", - "networkEndpointGroup" - ], - "id": "compute.networkEndpointGroups.get" + "description": "Gets a rule at the specified priority." }, - "aggregatedList": { + "addRule": { + "id": "compute.securityPolicies.addRule", + "path": "projects/{project}/global/securityPolicies/{securityPolicy}/addRule", + "flatPath": "projects/{project}/global/securityPolicies/{securityPolicy}/addRule", + "httpMethod": "POST", "parameters": { - "maxResults": { - "format": "uint32", - "type": "integer", - "minimum": "0", - "location": "query", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "default": "500" - }, - "includeAllScopes": { - "type": "boolean", - "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", - "location": "query" - }, - "returnPartialSuccess": { - "type": "boolean", - "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." - }, "project": { - "type": "string", + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "description": "Project ID for this request.", - "location": "path" - }, - "filter": { - "location": "query", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", "type": "string" }, - "orderBy": { - "type": "string", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "location": "query" + "securityPolicy": { + "description": "Name of the security policy to update.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" }, - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "type": "string", - "location": "query" + "validateOnly": { + "description": "If true, the request will not be committed.", + "location": "query", + "type": "boolean" } }, + "parameterOrder": [ + "project", + "securityPolicy" + ], + "request": { + "$ref": "SecurityPolicyRule" + }, "response": { - "$ref": "NetworkEndpointGroupAggregatedList" + "$ref": "Operation" }, - "httpMethod": "GET", - "description": "Retrieves the list of network endpoint groups and sorts them by zone.", - "id": "compute.networkEndpointGroups.aggregatedList", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "flatPath": "projects/{project}/aggregated/networkEndpointGroups", - "parameterOrder": [ - "project" + "https://www.googleapis.com/auth/compute" ], - "path": "projects/{project}/aggregated/networkEndpointGroups" + "description": "Inserts a rule into a security policy." }, - "listNetworkEndpoints": { - "description": "Lists the network endpoints in the specified network endpoint group.", - "flatPath": "projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "parameterOrder": [ - "project", - "zone", - "networkEndpointGroup" - ], - "path": "projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints", + "removeRule": { + "id": "compute.securityPolicies.removeRule", + "path": "projects/{project}/global/securityPolicies/{securityPolicy}/removeRule", + "flatPath": "projects/{project}/global/securityPolicies/{securityPolicy}/removeRule", + "httpMethod": "POST", "parameters": { - "pageToken": { - "location": "query", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "type": "string" - }, - "orderBy": { - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "location": "query", - "type": "string" - }, - "filter": { + "priority": { + "description": "The priority of the rule to remove from the security policy.", "location": "query", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "type": "string" + "type": "integer", + "format": "int32" }, "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, "type": "string" }, - "returnPartialSuccess": { - "location": "query", - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." - }, - "networkEndpointGroup": { - "required": true, - "type": "string", - "description": "The name of the network endpoint group from which you want to generate a list of included network endpoints. It should comply with RFC1035.", - "location": "path" - }, - "maxResults": { - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "type": "integer", - "minimum": "0", - "location": "query", - "format": "uint32", - "default": "500" - }, - "zone": { - "description": "The name of the zone where the network endpoint group is located. It should comply with RFC1035.", - "required": true, + "securityPolicy": { + "description": "Name of the security policy to update.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", + "required": true, "type": "string" } }, + "parameterOrder": [ + "project", + "securityPolicy" + ], "response": { - "$ref": "NetworkEndpointGroupsListNetworkEndpoints" - }, - "id": "compute.networkEndpointGroups.listNetworkEndpoints", - "request": { - "$ref": "NetworkEndpointGroupsListEndpointsRequest" + "$ref": "Operation" }, - "httpMethod": "POST" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Deletes a rule at the specified priority." }, - "attachNetworkEndpoints": { + "patchRule": { + "id": "compute.securityPolicies.patchRule", + "path": "projects/{project}/global/securityPolicies/{securityPolicy}/patchRule", + "flatPath": "projects/{project}/global/securityPolicies/{securityPolicy}/patchRule", + "httpMethod": "POST", "parameters": { - "networkEndpointGroup": { - "required": true, - "description": "The name of the network endpoint group where you are attaching network endpoints to. It should comply with RFC1035.", - "location": "path", - "type": "string" - }, - "requestId": { + "priority": { + "description": "The priority of the rule to patch.", "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string" + "type": "integer", + "format": "int32" }, "project": { "description": "Project ID for this request.", @@ -38202,713 +50983,597 @@ "required": true, "type": "string" }, - "zone": { - "type": "string", + "securityPolicy": { + "description": "Name of the security policy to update.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, - "description": "The name of the zone where the network endpoint group is located. It should comply with RFC1035." + "type": "string" + }, + "updateMask": { + "description": "Indicates fields to be cleared as part of this request.", + "location": "query", + "type": "string", + "format": "google-fieldmask" + }, + "validateOnly": { + "description": "If true, the request will not be committed.", + "location": "query", + "type": "boolean" } }, - "httpMethod": "POST", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], "parameterOrder": [ "project", - "zone", - "networkEndpointGroup" + "securityPolicy" ], - "id": "compute.networkEndpointGroups.attachNetworkEndpoints", "request": { - "$ref": "NetworkEndpointGroupsAttachEndpointsRequest" + "$ref": "SecurityPolicyRule" }, - "path": "projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints", - "description": "Attach a list of network endpoints to the specified network endpoint group.", - "flatPath": "projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints" - } - } - }, - "instanceGroups": { - "methods": { - "list": { - "description": "Retrieves the list of zonal instance group resources contained within the specified zone. For managed instance groups, use the instanceGroupManagers or regionInstanceGroupManagers methods instead.", - "parameterOrder": [ - "project", - "zone" - ], - "path": "projects/{project}/zones/{zone}/instanceGroups", - "id": "compute.instanceGroups.list", - "flatPath": "projects/{project}/zones/{zone}/instanceGroups", - "httpMethod": "GET", "response": { - "$ref": "InstanceGroupList" + "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], + "description": "Patches a rule at the specified priority. To clear fields in the rule, leave the fields empty and specify them in the updateMask." + }, + "listPreconfiguredExpressionSets": { + "id": "compute.securityPolicies.listPreconfiguredExpressionSets", + "path": "projects/{project}/global/securityPolicies/listPreconfiguredExpressionSets", + "flatPath": "projects/{project}/global/securityPolicies/listPreconfiguredExpressionSets", + "httpMethod": "GET", "parameters": { - "returnPartialSuccess": { - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "location": "query" - }, - "maxResults": { - "default": "500", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "type": "integer", - "minimum": "0", - "format": "uint32", - "location": "query" - }, - "pageToken": { - "type": "string", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "location": "query" - }, "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "type": "string", - "location": "query" + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" }, "orderBy": { "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "type": "string", - "location": "query" - }, - "project": { - "type": "string", - "description": "Project ID for this request.", - "location": "path", - "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "location": "query", + "type": "string" }, - "zone": { - "type": "string", - "description": "The name of the zone where the instance group is located.", - "required": true, - "location": "path" - } - } - }, - "delete": { - "flatPath": "projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}", - "httpMethod": "DELETE", - "description": "Deletes the specified instance group. The instances in the group are not deleted. Note that instance group must not belong to a backend service. Read Deleting an instance group for more information.", - "id": "compute.instanceGroups.delete", - "parameters": { - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "location": "query", "type": "string" }, "project": { - "required": true, - "location": "path", - "type": "string", "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "zone": { - "type": "string", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "description": "The name of the zone where the instance group is located.", - "location": "path" + "type": "string" }, - "instanceGroup": { - "location": "path", - "description": "The name of the instance group to delete.", - "type": "string", - "required": true + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } }, - "path": "projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}", "parameterOrder": [ - "project", - "zone", - "instanceGroup" - ], - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "project" ], "response": { - "$ref": "Operation" - } - }, - "addInstances": { - "flatPath": "projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/addInstances", - "request": { - "$ref": "InstanceGroupsAddInstancesRequest" + "$ref": "SecurityPoliciesListPreconfiguredExpressionSetsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "id": "compute.instanceGroups.addInstances", - "description": "Adds a list of instances to the specified instance group. All of the instances in the instance group must be in the same network/subnetwork. Read Adding instances for more information.", - "response": { - "$ref": "Operation" - }, - "parameterOrder": [ - "project", - "zone", - "instanceGroup" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "path": "projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/addInstances", + "description": "Gets the current list of preconfigured Web Application Firewall (WAF) expressions." + }, + "setLabels": { + "id": "compute.securityPolicies.setLabels", + "path": "projects/{project}/global/securityPolicies/{resource}/setLabels", + "flatPath": "projects/{project}/global/securityPolicies/{resource}/setLabels", "httpMethod": "POST", "parameters": { - "zone": { - "location": "path", - "type": "string", - "required": true, - "description": "The name of the zone where the instance group is located." - }, "project": { - "required": true, - "type": "string", - "location": "path", "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "instanceGroup": { - "type": "string", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "description": "The name of the instance group where you are adding instances." + "type": "string" }, - "requestId": { - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" } - } - }, - "setNamedPorts": { - "flatPath": "projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/setNamedPorts", - "id": "compute.instanceGroups.setNamedPorts", - "response": { - "$ref": "Operation" - }, - "request": { - "$ref": "InstanceGroupsSetNamedPortsRequest" }, - "path": "projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/setNamedPorts", "parameterOrder": [ "project", - "zone", - "instanceGroup" + "resource" ], - "httpMethod": "POST", + "request": { + "$ref": "GlobalSetLabelsRequest" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "description": "Sets the named ports for the specified instance group.", + "description": "Sets the labels on a security policy. To learn more about labels, read the Labeling Resources documentation." + }, + "aggregatedList": { + "id": "compute.securityPolicies.aggregatedList", + "path": "projects/{project}/aggregated/securityPolicies", + "flatPath": "projects/{project}/aggregated/securityPolicies", + "httpMethod": "GET", "parameters": { - "instanceGroup": { - "required": true, - "location": "path", - "description": "The name of the instance group where the named ports are updated.", + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", "type": "string" }, - "zone": { - "required": true, - "description": "The name of the zone where the instance group is located.", - "type": "string", - "location": "path" + "includeAllScopes": { + "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", + "location": "query", + "type": "boolean" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" }, "project": { - "description": "Project ID for this request.", - "required": true, + "description": "Name of the project scoping this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", + "required": true, "type": "string" }, - "requestId": { + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + }, + "serviceProjectNumber": { + "description": "The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.", + "location": "query", "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" + "format": "int64" } - } - }, - "listInstances": { + }, + "parameterOrder": [ + "project" + ], + "response": { + "$ref": "SecurityPoliciesAggregatedList" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Retrieves the list of all SecurityPolicy resources, regional and global, available to the specified project." + } + } + }, + "regionSecurityPolicies": { + "methods": { + "list": { + "id": "compute.regionSecurityPolicies.list", + "path": "projects/{project}/regions/{region}/securityPolicies", + "flatPath": "projects/{project}/regions/{region}/securityPolicies", + "httpMethod": "GET", "parameters": { - "instanceGroup": { - "type": "string", - "required": true, - "location": "path", - "description": "The name of the instance group from which you want to generate a list of included instances." - }, "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", "location": "query", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", "type": "string" }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, "orderBy": { "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "type": "string", - "location": "query" - }, - "zone": { - "description": "The name of the zone where the instance group is located.", - "type": "string", - "required": true, - "location": "path" - }, - "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", "location": "query", - "type": "boolean" + "type": "string" }, - "maxResults": { - "format": "uint32", - "minimum": "0", + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "location": "query", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "default": "500", - "type": "integer" + "type": "string" }, "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "type": "string", - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "required": true, + "type": "string" }, - "pageToken": { + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", "location": "query", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "type": "string" + "type": "boolean" } }, - "id": "compute.instanceGroups.listInstances", - "httpMethod": "POST", - "flatPath": "projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/listInstances", - "path": "projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/listInstances", "parameterOrder": [ "project", - "zone", - "instanceGroup" + "region" ], "response": { - "$ref": "InstanceGroupsListInstances" - }, - "description": "Lists the instances in the specified instance group. The orderBy query parameter is not supported. The filter query parameter is supported, but only for expressions that use `eq` (equal) or `ne` (not equal) operators.", - "request": { - "$ref": "InstanceGroupsListInstancesRequest" + "$ref": "SecurityPolicyList" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" - ] + ], + "description": "List all the policies that have been configured for the specified project and region." }, "get": { - "id": "compute.instanceGroups.get", - "path": "projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}", + "id": "compute.regionSecurityPolicies.get", + "path": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}", + "flatPath": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}", "httpMethod": "GET", - "response": { - "$ref": "InstanceGroup" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "parameterOrder": [ - "project", - "zone", - "instanceGroup" - ], - "flatPath": "projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}", "parameters": { - "zone": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", "required": true, - "description": "The name of the zone where the instance group is located." + "type": "string" }, - "instanceGroup": { - "type": "string", - "description": "The name of the instance group.", + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "required": true + "required": true, + "type": "string" }, - "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "securityPolicy": { + "description": "Name of the security policy to get.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", "required": true, - "type": "string", - "description": "Project ID for this request.", - "location": "path" + "type": "string" } }, - "description": "Returns the specified zonal instance group. Get a list of available zonal instance groups by making a list() request. For managed instance groups, use the instanceGroupManagers or regionInstanceGroupManagers methods instead." - }, - "removeInstances": { - "description": "Removes one or more instances from the specified instance group, but does not delete those instances. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration before the VM instance is removed or deleted.", - "httpMethod": "POST", - "id": "compute.instanceGroups.removeInstances", "parameterOrder": [ "project", - "zone", - "instanceGroup" + "region", + "securityPolicy" ], - "request": { - "$ref": "InstanceGroupsRemoveInstancesRequest" + "response": { + "$ref": "SecurityPolicy" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "flatPath": "projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/removeInstances", - "response": { - "$ref": "Operation" - }, + "description": "List all of the ordered rules present in a single specified policy." + }, + "insert": { + "id": "compute.regionSecurityPolicies.insert", + "path": "projects/{project}/regions/{region}/securityPolicies", + "flatPath": "projects/{project}/regions/{region}/securityPolicies", + "httpMethod": "POST", "parameters": { "project": { - "location": "path", - "required": true, "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, "type": "string" }, - "requestId": { - "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string" - }, - "instanceGroup": { - "description": "The name of the instance group where the specified instances will be removed.", - "required": true, + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", + "required": true, "type": "string" }, - "zone": { - "required": true, - "location": "path", - "description": "The name of the zone where the instance group is located.", + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", "type": "string" + }, + "validateOnly": { + "description": "If true, the request will not be committed.", + "location": "query", + "type": "boolean" } }, - "path": "projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/removeInstances" - }, - "insert": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "parameterOrder": [ + "project", + "region" ], + "request": { + "$ref": "SecurityPolicy" + }, "response": { "$ref": "Operation" }, - "parameterOrder": [ - "project", - "zone" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" ], - "httpMethod": "POST", + "description": "Creates a new policy in the specified project using the data included in the request." + }, + "delete": { + "id": "compute.regionSecurityPolicies.delete", + "path": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}", + "flatPath": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}", + "httpMethod": "DELETE", "parameters": { - "zone": { - "description": "The name of the zone where you want to create the instance group.", - "required": true, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", + "required": true, "type": "string" }, - "project": { - "type": "string", + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "description": "Project ID for this request.", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" }, "requestId": { - "type": "string", "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" - } - }, - "id": "compute.instanceGroups.insert", - "flatPath": "projects/{project}/zones/{zone}/instanceGroups", - "path": "projects/{project}/zones/{zone}/instanceGroups", - "description": "Creates an instance group in the specified project using the parameters that are included in the request.", - "request": { - "$ref": "InstanceGroup" - } - }, - "aggregatedList": { - "flatPath": "projects/{project}/aggregated/instanceGroups", - "id": "compute.instanceGroups.aggregatedList", - "description": "Retrieves the list of instance groups and sorts them by zone.", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "parameterOrder": [ - "project" - ], - "httpMethod": "GET", - "parameters": { - "returnPartialSuccess": { - "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "type": "boolean" - }, - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "type": "string", - "location": "query" - }, - "includeAllScopes": { - "location": "query", - "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", - "type": "boolean" - }, - "maxResults": { - "default": "500", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "minimum": "0", - "format": "uint32", "location": "query", - "type": "integer" - }, - "orderBy": { - "type": "string", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "location": "query" + "type": "string" }, - "project": { + "securityPolicy": { + "description": "Name of the security policy to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "type": "string", "required": true, - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "location": "query", "type": "string" } }, - "response": { - "$ref": "InstanceGroupAggregatedList" - }, - "path": "projects/{project}/aggregated/instanceGroups" - } - } - }, - "networkFirewallPolicies": { - "methods": { - "get": { - "path": "projects/{project}/global/firewallPolicies/{firewallPolicy}", - "id": "compute.networkFirewallPolicies.get", "parameterOrder": [ "project", - "firewallPolicy" + "region", + "securityPolicy" ], - "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}", "response": { - "$ref": "FirewallPolicy" + "$ref": "Operation" }, - "description": "Returns the specified network firewall policy.", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], + "description": "Deletes the specified policy." + }, + "patch": { + "id": "compute.regionSecurityPolicies.patch", + "path": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}", + "flatPath": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}", + "httpMethod": "PATCH", "parameters": { "project": { - "location": "path", - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "description": "Project ID for this request.", - "required": true - }, - "firewallPolicy": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", - "description": "Name of the firewall policy to get.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "location": "path" - } - }, - "httpMethod": "GET" - }, - "list": { - "description": "Lists all the policies that have been configured for the specified project.", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "parameterOrder": [ - "project" - ], - "parameters": { - "filter": { + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", "type": "string" }, - "project": { - "description": "Project ID for this request.", - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "securityPolicy": { + "description": "Name of the security policy to update.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", "required": true, - "location": "path" - }, - "orderBy": { - "type": "string", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "location": "query" - }, - "pageToken": { - "type": "string", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "location": "query" + "type": "string" }, - "maxResults": { - "format": "uint32", - "default": "500", - "minimum": "0", + "updateMask": { + "description": "Indicates fields to be cleared as part of this request.", "location": "query", - "type": "integer", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)" - }, - "returnPartialSuccess": { - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "location": "query" + "type": "string", + "format": "google-fieldmask" } }, - "id": "compute.networkFirewallPolicies.list", + "parameterOrder": [ + "project", + "region", + "securityPolicy" + ], + "request": { + "$ref": "SecurityPolicy" + }, "response": { - "$ref": "FirewallPolicyList" + "$ref": "Operation" }, - "flatPath": "projects/{project}/global/firewallPolicies", - "path": "projects/{project}/global/firewallPolicies", - "httpMethod": "GET" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Patches the specified policy with the data included in the request. To clear fields in the policy, leave the fields empty and specify them in the updateMask. This cannot be used to be update the rules in the policy. Please use the per rule methods like addRule, patchRule, and removeRule instead." }, "getRule": { + "id": "compute.regionSecurityPolicies.getRule", + "path": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/getRule", + "flatPath": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/getRule", + "httpMethod": "GET", "parameters": { "priority": { - "type": "integer", + "description": "The priority of the rule to get from the security policy.", "location": "query", - "format": "int32", - "description": "The priority of the rule to get from the firewall policy." + "type": "integer", + "format": "int32" }, "project": { - "type": "string", + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, "location": "path", - "description": "Project ID for this request." - }, - "firewallPolicy": { - "description": "Name of the firewall policy to which the queried rule belongs.", "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", + "required": true, + "type": "string" + }, + "securityPolicy": { + "description": "Name of the security policy to which the queried rule belongs.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, "type": "string" } }, - "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/getRule", - "id": "compute.networkFirewallPolicies.getRule", "parameterOrder": [ "project", - "firewallPolicy" + "region", + "securityPolicy" ], + "response": { + "$ref": "SecurityPolicyRule" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "path": "projects/{project}/global/firewallPolicies/{firewallPolicy}/getRule", - "description": "Gets a rule of the specified priority.", - "response": { - "$ref": "FirewallPolicyRule" - }, - "httpMethod": "GET" + "description": "Gets a rule at the specified priority." }, - "removeRule": { - "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/removeRule", - "description": "Deletes a rule of the specified priority.", + "addRule": { + "id": "compute.regionSecurityPolicies.addRule", + "path": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/addRule", + "flatPath": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/addRule", + "httpMethod": "POST", "parameters": { - "firewallPolicy": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true, - "type": "string", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "description": "Name of the firewall policy to update." + "required": true, + "type": "string" }, - "priority": { - "description": "The priority of the rule to remove from the firewall policy.", - "type": "integer", - "location": "query", - "format": "int32" + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" }, - "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", - "description": "Project ID for this request.", + "securityPolicy": { + "description": "Name of the security policy to update.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "required": true + "required": true, + "type": "string" }, - "requestId": { - "type": "string", + "validateOnly": { + "description": "If true, the request will not be committed.", "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "type": "boolean" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "parameterOrder": [ + "project", + "region", + "securityPolicy" ], - "httpMethod": "POST", + "request": { + "$ref": "SecurityPolicyRule" + }, "response": { "$ref": "Operation" }, - "path": "projects/{project}/global/firewallPolicies/{firewallPolicy}/removeRule", - "parameterOrder": [ - "project", - "firewallPolicy" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" ], - "id": "compute.networkFirewallPolicies.removeRule" + "description": "Inserts a rule into a security policy." }, - "removeAssociation": { + "removeRule": { + "id": "compute.regionSecurityPolicies.removeRule", + "path": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/removeRule", + "flatPath": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/removeRule", + "httpMethod": "POST", "parameters": { - "name": { - "type": "string", - "description": "Name for the attachment that will be removed.", - "location": "query" - }, - "requestId": { - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" + "priority": { + "description": "The priority of the rule to remove from the security policy.", + "location": "query", + "type": "integer", + "format": "int32" }, "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, "location": "path", - "type": "string", - "description": "Project ID for this request." + "required": true, + "type": "string" }, - "firewallPolicy": { + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "type": "string", "required": true, + "type": "string" + }, + "securityPolicy": { + "description": "Name of the security policy to update.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name of the firewall policy to update." + "location": "path", + "required": true, + "type": "string" } }, - "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/removeAssociation", - "path": "projects/{project}/global/firewallPolicies/{firewallPolicy}/removeAssociation", - "httpMethod": "POST", + "parameterOrder": [ + "project", + "region", + "securityPolicy" + ], "response": { "$ref": "Operation" }, @@ -38916,743 +51581,728 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "description": "Removes an association for the specified firewall policy.", - "id": "compute.networkFirewallPolicies.removeAssociation", - "parameterOrder": [ - "project", - "firewallPolicy" - ] + "description": "Deletes a rule at the specified priority." }, - "getAssociation": { - "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/getAssociation", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "parameterOrder": [ - "project", - "firewallPolicy" - ], - "path": "projects/{project}/global/firewallPolicies/{firewallPolicy}/getAssociation", + "patchRule": { + "id": "compute.regionSecurityPolicies.patchRule", + "path": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/patchRule", + "flatPath": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}/patchRule", + "httpMethod": "POST", "parameters": { - "firewallPolicy": { + "priority": { + "description": "The priority of the rule to patch.", + "location": "query", + "type": "integer", + "format": "int32" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name of the firewall policy to which the queried association belongs.", "required": true, "type": "string" }, - "name": { - "type": "string", - "location": "query", - "description": "The name of the association to get from the firewall policy." + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" }, - "project": { - "description": "Project ID for this request.", + "securityPolicy": { + "description": "Name of the security policy to update.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Indicates fields to be cleared as part of this request.", + "location": "query", "type": "string", - "required": true + "format": "google-fieldmask" + }, + "validateOnly": { + "description": "If true, the request will not be committed.", + "location": "query", + "type": "boolean" } }, - "response": { - "$ref": "FirewallPolicyAssociation" - }, - "httpMethod": "GET", - "description": "Gets an association with the specified name.", - "id": "compute.networkFirewallPolicies.getAssociation" - }, - "addRule": { - "path": "projects/{project}/global/firewallPolicies/{firewallPolicy}/addRule", - "id": "compute.networkFirewallPolicies.addRule", - "request": { - "$ref": "FirewallPolicyRule" - }, "parameterOrder": [ "project", - "firewallPolicy" + "region", + "securityPolicy" ], - "description": "Inserts a rule into a firewall policy.", - "httpMethod": "POST", + "request": { + "$ref": "SecurityPolicyRule" + }, "response": { "$ref": "Operation" }, - "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/addRule", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Patches a rule at the specified priority. To clear fields in the rule, leave the fields empty and specify them in the updateMask." + } + } + }, + "instances": { + "methods": { + "list": { + "id": "compute.instances.list", + "path": "projects/{project}/zones/{zone}/instances", + "flatPath": "projects/{project}/zones/{zone}/instances", + "httpMethod": "GET", "parameters": { - "project": { - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", - "required": true, + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", "type": "string" }, - "minPriority": { - "description": "When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority\u003e. This field is exclusive with rule.priority.", + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", "location": "query", - "format": "int32", - "type": "integer" - }, - "maxPriority": { "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", "location": "query", - "description": "When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority\u003e. This field is exclusive with rule.priority.", - "format": "int32" + "type": "string" }, - "firewallPolicy": { - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true, - "type": "string", - "description": "Name of the firewall policy to update." + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ] - }, - "delete": { - "parameters": { "project": { - "location": "path", "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" }, - "requestId": { + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string" + "type": "boolean" }, - "firewallPolicy": { - "description": "Name of the firewall policy to delete.", + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", - "required": true + "required": true, + "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "path": "projects/{project}/global/firewallPolicies/{firewallPolicy}", - "description": "Deletes the specified policy.", - "httpMethod": "DELETE", - "id": "compute.networkFirewallPolicies.delete", - "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}", "parameterOrder": [ "project", - "firewallPolicy" + "zone" ], "response": { - "$ref": "Operation" - } - }, - "insert": { - "flatPath": "projects/{project}/global/firewallPolicies", - "httpMethod": "POST", - "path": "projects/{project}/global/firewallPolicies", - "response": { - "$ref": "Operation" + "$ref": "InstanceList" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], + "description": "Retrieves the list of instances contained within the specified zone." + }, + "aggregatedList": { + "id": "compute.instances.aggregatedList", + "path": "projects/{project}/aggregated/instances", + "flatPath": "projects/{project}/aggregated/instances", + "httpMethod": "GET", "parameters": { - "requestId": { - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "includeAllScopes": { + "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", + "location": "query", + "type": "boolean" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" }, "project": { - "location": "path", + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + }, + "serviceProjectNumber": { + "description": "The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.", + "location": "query", "type": "string", - "description": "Project ID for this request." + "format": "int64" } }, - "request": { - "$ref": "FirewallPolicy" - }, "parameterOrder": [ "project" ], - "id": "compute.networkFirewallPolicies.insert", - "description": "Creates a new policy in the specified project using the data included in the request." - }, - "getIamPolicy": { "response": { - "$ref": "Policy" + "$ref": "InstanceAggregatedList" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], + "description": "Retrieves an aggregated list of all of the instances in your project across all regions and zones. The performance of this method degrades when a filter is specified on a project that has a very large number of instances." + }, + "listReferrers": { + "id": "compute.instances.listReferrers", + "path": "projects/{project}/zones/{zone}/instances/{instance}/referrers", + "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/referrers", "httpMethod": "GET", "parameters": { - "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "instance": { + "description": "Name of the target instance scoping this request, or '-' if the request should span over all instances in the container.", + "pattern": "-|[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, "type": "string" }, - "resource": { + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "required": true, - "description": "Name or id of the resource for this request." + "type": "string" }, - "optionsRequestedPolicyVersion": { - "description": "Requested IAM Policy version.", + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", "location": "query", - "format": "int32", - "type": "integer" + "type": "boolean" + }, + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" } }, - "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.", - "path": "projects/{project}/global/firewallPolicies/{resource}/getIamPolicy", - "flatPath": "projects/{project}/global/firewallPolicies/{resource}/getIamPolicy", "parameterOrder": [ "project", - "resource" + "zone", + "instance" ], - "id": "compute.networkFirewallPolicies.getIamPolicy" - }, - "cloneRules": { - "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/cloneRules", "response": { - "$ref": "Operation" + "$ref": "InstanceListReferrers" }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Retrieves a list of resources that refer to the VM instance specified in the request. For example, if the VM instance is part of a managed or unmanaged instance group, the referrers list includes the instance group. For more information, read Viewing referrers to VM instances." + }, + "get": { + "id": "compute.instances.get", + "path": "projects/{project}/zones/{zone}/instances/{instance}", + "flatPath": "projects/{project}/zones/{zone}/instances/{instance}", + "httpMethod": "GET", "parameters": { - "project": { - "required": true, + "instance": { + "description": "Name of the instance resource to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "description": "Project ID for this request.", - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "required": true, + "type": "string" }, - "firewallPolicy": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", - "description": "Name of the firewall policy to update.", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" - }, - "sourceFirewallPolicy": { - "description": "The firewall policy from which to copy rules.", - "type": "string", - "location": "query" + "type": "string" }, - "requestId": { - "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" } }, - "httpMethod": "POST", - "description": "Copies rules to the specified firewall policy.", - "id": "compute.networkFirewallPolicies.cloneRules", + "parameterOrder": [ + "project", + "zone", + "instance" + ], + "response": { + "$ref": "Instance" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "path": "projects/{project}/global/firewallPolicies/{firewallPolicy}/cloneRules", - "parameterOrder": [ - "project", - "firewallPolicy" - ] + "description": "Returns the specified Instance resource." }, - "addAssociation": { + "insert": { + "id": "compute.instances.insert", + "path": "projects/{project}/zones/{zone}/instances", + "flatPath": "projects/{project}/zones/{zone}/instances", "httpMethod": "POST", - "response": { - "$ref": "Operation" - }, - "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/addAssociation", - "id": "compute.networkFirewallPolicies.addAssociation", "parameters": { "project": { - "required": true, + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "description": "Project ID for this request.", - "type": "string" - }, - "firewallPolicy": { - "description": "Name of the firewall policy to update.", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", - "location": "path" + "type": "string" }, "requestId": { "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", "type": "string" }, - "replaceExistingAssociation": { - "description": "Indicates whether or not to replace it if an association of the attachment already exists. This is false by default, in which case an error will be returned if an association already exists.", - "type": "boolean", - "location": "query" + "sourceInstanceTemplate": { + "description": "Specifies instance template to create the instance. This field is optional. It can be a full or partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project /global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate ", + "location": "query", + "type": "string" + }, + "sourceMachineImage": { + "description": "Specifies the machine image to use to create the instance. This field is optional. It can be a full or partial URL. For example, the following are all valid URLs to a machine image: - https://www.googleapis.com/compute/v1/projects/project/global/global /machineImages/machineImage - projects/project/global/global/machineImages/machineImage - global/machineImages/machineImage ", + "location": "query", + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" } }, - "request": { - "$ref": "FirewallPolicyAssociation" - }, - "path": "projects/{project}/global/firewallPolicies/{firewallPolicy}/addAssociation", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "description": "Inserts an association for the specified firewall policy.", "parameterOrder": [ "project", - "firewallPolicy" - ] - }, - "patch": { + "zone" + ], "request": { - "$ref": "FirewallPolicy" + "$ref": "Instance" + }, + "response": { + "$ref": "Operation" }, - "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}", - "parameterOrder": [ - "project", - "firewallPolicy" - ], "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "path": "projects/{project}/global/firewallPolicies/{firewallPolicy}", - "id": "compute.networkFirewallPolicies.patch", - "description": "Patches the specified policy with the data included in the request.", + "description": "Creates an instance resource in the specified project using the data included in the request." + }, + "delete": { + "id": "compute.instances.delete", + "path": "projects/{project}/zones/{zone}/instances/{instance}", + "flatPath": "projects/{project}/zones/{zone}/instances/{instance}", + "httpMethod": "DELETE", "parameters": { - "requestId": { - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" - }, - "firewallPolicy": { + "instance": { + "description": "Name of the instance resource to delete.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "type": "string", - "description": "Name of the firewall policy to update.", - "required": true + "required": true, + "type": "string" }, "project": { "description": "Project ID for this request.", - "type": "string", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" } }, + "parameterOrder": [ + "project", + "zone", + "instance" + ], "response": { "$ref": "Operation" }, - "httpMethod": "PATCH" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Deletes the specified Instance resource. For more information, see Deleting an instance." }, - "patchRule": { - "request": { - "$ref": "FirewallPolicyRule" - }, - "response": { - "$ref": "Operation" - }, - "flatPath": "projects/{project}/global/firewallPolicies/{firewallPolicy}/patchRule", + "reset": { + "id": "compute.instances.reset", + "path": "projects/{project}/zones/{zone}/instances/{instance}/reset", + "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/reset", + "httpMethod": "POST", "parameters": { - "firewallPolicy": { - "location": "path", + "instance": { + "description": "Name of the instance scoping this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", + "location": "path", "required": true, - "description": "Name of the firewall policy to update." - }, - "priority": { - "type": "integer", - "description": "The priority of the rule to patch.", - "format": "int32", - "location": "query" + "type": "string" }, "project": { - "type": "string", - "location": "path", "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true + "location": "path", + "required": true, + "type": "string" }, "requestId": { "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" } }, - "httpMethod": "POST", - "path": "projects/{project}/global/firewallPolicies/{firewallPolicy}/patchRule", - "description": "Patches a rule of the specified priority.", + "parameterOrder": [ + "project", + "zone", + "instance" + ], + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "id": "compute.networkFirewallPolicies.patchRule", - "parameterOrder": [ - "project", - "firewallPolicy" - ] + "description": "Performs a reset on the instance. This is a hard reset. The VM does not do a graceful shutdown. For more information, see Resetting an instance." }, - "testIamPermissions": { - "id": "compute.networkFirewallPolicies.testIamPermissions", + "simulateMaintenanceEvent": { + "id": "compute.instances.simulateMaintenanceEvent", + "path": "projects/{project}/zones/{zone}/instances/{instance}/simulateMaintenanceEvent", + "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/simulateMaintenanceEvent", "httpMethod": "POST", "parameters": { - "project": { + "instance": { + "description": "Name of the instance scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, - "type": "string", - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" }, - "resource": { - "required": true, - "type": "string", - "description": "Name or id of the resource for this request.", - "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "location": "path" - } - }, - "path": "projects/{project}/global/firewallPolicies/{resource}/testIamPermissions", - "response": { - "$ref": "TestPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "request": { - "$ref": "TestPermissionsRequest" - }, - "flatPath": "projects/{project}/global/firewallPolicies/{resource}/testIamPermissions", - "description": "Returns permissions that a caller has on the specified resource.", - "parameterOrder": [ - "project", - "resource" - ] - }, - "setIamPolicy": { - "request": { - "$ref": "GlobalSetPolicyRequest" - }, - "parameters": { "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", + "location": "path", "required": true, - "description": "Project ID for this request.", - "location": "path" + "type": "string" }, - "resource": { - "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name or id of the resource for this request.", - "required": true, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "withExtendedNotifications": { + "description": "Determines whether the customers receive notifications before migration. Only applicable to SF vms.", + "location": "query", + "type": "boolean" + }, + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", + "required": true, "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "description": "Sets the access control policy on the specified resource. Replaces any existing policy.", - "path": "projects/{project}/global/firewallPolicies/{resource}/setIamPolicy", - "id": "compute.networkFirewallPolicies.setIamPolicy", - "response": { - "$ref": "Policy" - }, - "flatPath": "projects/{project}/global/firewallPolicies/{resource}/setIamPolicy", - "httpMethod": "POST", "parameterOrder": [ "project", - "resource" - ] - } - } - }, - "backendServices": { - "methods": { - "addSignedUrlKey": { - "description": "Adds a key for validating requests with signed URLs for this backend service.", + "zone", + "instance" + ], "response": { "$ref": "Operation" }, - "parameterOrder": [ - "project", - "backendService" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" ], + "description": "Simulates a host maintenance event on a VM. For more information, see Simulate a host maintenance event." + }, + "performMaintenance": { + "id": "compute.instances.performMaintenance", + "path": "projects/{project}/zones/{zone}/instances/{instance}/performMaintenance", + "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/performMaintenance", + "httpMethod": "POST", "parameters": { - "backendService": { - "description": "Name of the BackendService resource to which the Signed URL Key should be added. The name should conform to RFC1035.", + "instance": { + "description": "Name of the instance scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "type": "string", - "required": true + "required": true, + "type": "string" }, "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "type": "string", - "location": "path" + "type": "string" }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" - } - }, - "path": "projects/{project}/global/backendServices/{backendService}/addSignedUrlKey", - "id": "compute.backendServices.addSignedUrlKey", - "flatPath": "projects/{project}/global/backendServices/{backendService}/addSignedUrlKey", - "request": { - "$ref": "SignedUrlKey" - }, - "httpMethod": "POST", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ] - }, - "setSecurityPolicy": { - "httpMethod": "POST", - "path": "projects/{project}/global/backendServices/{backendService}/setSecurityPolicy", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "id": "compute.backendServices.setSecurityPolicy", - "parameters": { "requestId": { "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", "type": "string" }, - "project": { + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "description": "Project ID for this request.", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "type": "string" - }, - "backendService": { - "location": "path", - "type": "string", - "description": "Name of the BackendService resource to which the security policy should be set. The name should conform to RFC1035.", - "required": true } }, - "request": { - "$ref": "SecurityPolicyReference" - }, - "response": { - "$ref": "Operation" - }, - "parameterOrder": [ - "project", - "backendService" - ], - "flatPath": "projects/{project}/global/backendServices/{backendService}/setSecurityPolicy", - "description": "Sets the Google Cloud Armor security policy for the specified backend service. For more information, see Google Cloud Armor Overview" - }, - "setEdgeSecurityPolicy": { - "id": "compute.backendServices.setEdgeSecurityPolicy", "parameterOrder": [ "project", - "backendService" + "zone", + "instance" ], - "path": "projects/{project}/global/backendServices/{backendService}/setEdgeSecurityPolicy", - "parameters": { - "requestId": { - "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - }, - "backendService": { - "description": "Name of the BackendService resource to which the edge security policy should be set. The name should conform to RFC1035.", - "type": "string", - "location": "path", - "required": true - }, - "project": { - "type": "string", - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, - "description": "Project ID for this request." - } + "response": { + "$ref": "Operation" }, - "flatPath": "projects/{project}/global/backendServices/{backendService}/setEdgeSecurityPolicy", - "httpMethod": "POST", - "description": "Sets the edge security policy for the specified backend service.", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "request": { - "$ref": "SecurityPolicyReference" - }, - "response": { - "$ref": "Operation" - } + "description": "Perform a manual maintenance on the instance." }, - "insert": { + "addAccessConfig": { + "id": "compute.instances.addAccessConfig", + "path": "projects/{project}/zones/{zone}/instances/{instance}/addAccessConfig", + "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/addAccessConfig", "httpMethod": "POST", "parameters": { - "requestId": { - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" + "instance": { + "description": "The instance name for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "networkInterface": { + "description": "The name of the network interface to add to this instance.", + "location": "query", + "required": true, + "type": "string" }, "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", + "required": true, "type": "string" } }, - "description": "Creates a BackendService resource in the specified project using the data included in the request. For more information, see Backend services overview .", - "path": "projects/{project}/global/backendServices", "parameterOrder": [ - "project" + "project", + "zone", + "instance", + "networkInterface" ], + "request": { + "$ref": "AccessConfig" + }, "response": { "$ref": "Operation" }, - "request": { - "$ref": "BackendService" - }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "id": "compute.backendServices.insert", - "flatPath": "projects/{project}/global/backendServices" + "description": "Adds an access config to an instance's network interface." }, - "deleteSignedUrlKey": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "response": { - "$ref": "Operation" - }, - "path": "projects/{project}/global/backendServices/{backendService}/deleteSignedUrlKey", - "parameterOrder": [ - "project", - "backendService", - "keyName" - ], - "id": "compute.backendServices.deleteSignedUrlKey", - "flatPath": "projects/{project}/global/backendServices/{backendService}/deleteSignedUrlKey", + "deleteAccessConfig": { + "id": "compute.instances.deleteAccessConfig", + "path": "projects/{project}/zones/{zone}/instances/{instance}/deleteAccessConfig", + "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/deleteAccessConfig", + "httpMethod": "POST", "parameters": { - "backendService": { - "description": "Name of the BackendService resource to which the Signed URL Key should be added. The name should conform to RFC1035.", - "type": "string", + "accessConfig": { + "description": "The name of the access config to delete.", + "location": "query", "required": true, - "location": "path" + "type": "string" }, - "project": { + "instance": { + "description": "The instance name for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", - "description": "Project ID for this request." - }, - "keyName": { - "type": "string", - "description": "The name of the Signed URL Key to delete.", - "required": true, - "location": "query" + "type": "string" }, - "requestId": { - "type": "string", + "networkInterface": { + "description": "The name of the network interface.", "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - } - }, - "description": "Deletes a key for validating requests with signed URLs for this backend service.", - "httpMethod": "POST" - }, - "setIamPolicy": { - "description": "Sets the access control policy on the specified resource. Replaces any existing policy.", - "path": "projects/{project}/global/backendServices/{resource}/setIamPolicy", - "request": { - "$ref": "GlobalSetPolicyRequest" - }, - "parameters": { - "resource": { - "description": "Name or id of the resource for this request.", "required": true, - "location": "path", - "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "type": "string" }, "project": { - "location": "path", "description": "Project ID for this request.", - "type": "string", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" } }, "parameterOrder": [ "project", - "resource" + "zone", + "instance", + "accessConfig", + "networkInterface" ], - "httpMethod": "POST", "response": { - "$ref": "Policy" + "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "flatPath": "projects/{project}/global/backendServices/{resource}/setIamPolicy", - "id": "compute.backendServices.setIamPolicy" + "description": "Deletes an access config from an instance's network interface." }, - "delete": { + "updateAccessConfig": { + "id": "compute.instances.updateAccessConfig", + "path": "projects/{project}/zones/{zone}/instances/{instance}/updateAccessConfig", + "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/updateAccessConfig", + "httpMethod": "POST", "parameters": { - "backendService": { - "description": "Name of the BackendService resource to delete.", - "type": "string", + "instance": { + "description": "The instance name for this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "networkInterface": { + "description": "The name of the network interface where the access config is attached.", + "location": "query", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "location": "path" + "type": "string" }, "requestId": { "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", "type": "string" }, - "project": { - "description": "Project ID for this request.", - "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", + "required": true, "type": "string" } }, - "httpMethod": "DELETE", + "parameterOrder": [ + "project", + "zone", + "instance", + "networkInterface" + ], + "request": { + "$ref": "AccessConfig" + }, "response": { "$ref": "Operation" }, @@ -39660,1325 +52310,1212 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "description": "Deletes the specified BackendService resource.", - "id": "compute.backendServices.delete", - "flatPath": "projects/{project}/global/backendServices/{backendService}", - "path": "projects/{project}/global/backendServices/{backendService}", - "parameterOrder": [ - "project", - "backendService" - ] + "description": "Updates the specified access config from an instance's network interface with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules." }, - "patch": { + "updateNetworkInterface": { + "id": "compute.instances.updateNetworkInterface", + "path": "projects/{project}/zones/{zone}/instances/{instance}/updateNetworkInterface", + "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/updateNetworkInterface", "httpMethod": "PATCH", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "request": { - "$ref": "BackendService" - }, - "id": "compute.backendServices.patch", - "parameterOrder": [ - "project", - "backendService" - ], - "flatPath": "projects/{project}/global/backendServices/{backendService}", - "response": { - "$ref": "Operation" - }, - "path": "projects/{project}/global/backendServices/{backendService}", "parameters": { - "requestId": { - "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - }, - "backendService": { - "description": "Name of the BackendService resource to patch.", + "instance": { + "description": "The instance name for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "type": "string", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" + "type": "string" }, - "project": { + "networkInterface": { + "description": "The name of the network interface to update.", + "location": "query", "required": true, - "type": "string", + "type": "string" + }, + "project": { "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - } - }, - "description": "Patches the specified BackendService resource with the data included in the request. For more information, see Backend services overview. This method supports PATCH semantics and uses the JSON merge patch format and processing rules." - }, - "getHealth": { - "parameters": { - "backendService": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "required": true, - "type": "string", - "location": "path", - "description": "Name of the BackendService resource to which the queried instance belongs." + "type": "string" }, - "project": { - "type": "string", + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true + "required": true, + "type": "string" } }, "parameterOrder": [ "project", - "backendService" - ], - "path": "projects/{project}/global/backendServices/{backendService}/getHealth", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "zone", + "instance", + "networkInterface" ], - "flatPath": "projects/{project}/global/backendServices/{backendService}/getHealth", - "httpMethod": "POST", - "id": "compute.backendServices.getHealth", - "description": "Gets the most recent health check results for this BackendService. Example request body: { \"group\": \"/zones/us-east1-b/instanceGroups/lb-backend-example\" }", + "request": { + "$ref": "NetworkInterface" + }, "response": { - "$ref": "BackendServiceGroupHealth" + "$ref": "Operation" }, - "request": { - "$ref": "ResourceGroupReference" - } - }, - "update": { - "description": "Updates the specified BackendService resource with the data included in the request. For more information, see Backend services overview.", - "parameterOrder": [ - "project", - "backendService" - ], "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "id": "compute.backendServices.update", - "request": { - "$ref": "BackendService" - }, - "flatPath": "projects/{project}/global/backendServices/{backendService}", - "response": { - "$ref": "Operation" - }, - "httpMethod": "PUT", + "description": "Updates an instance's network interface. This method can only update an interface's alias IP range and attached network. See Modifying alias IP ranges for an existing instance for instructions on changing alias IP ranges. See Migrating a VM between networks for instructions on migrating an interface. This method follows PATCH semantics." + }, + "setScheduling": { + "id": "compute.instances.setScheduling", + "path": "projects/{project}/zones/{zone}/instances/{instance}/setScheduling", + "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setScheduling", + "httpMethod": "POST", "parameters": { - "backendService": { - "type": "string", - "required": true, + "instance": { + "description": "Instance name for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "description": "Name of the BackendService resource to update.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" - }, - "requestId": { - "type": "string", - "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "required": true, + "type": "string" }, "project": { "description": "Project ID for this request.", - "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", - "location": "path" - } - }, - "path": "projects/{project}/global/backendServices/{backendService}" - }, - "get": { - "parameters": { - "project": { - "required": true, "location": "path", - "type": "string", - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "backendService": { - "description": "Name of the BackendService resource to return.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", + "required": true, "type": "string" } }, "parameterOrder": [ "project", - "backendService" + "zone", + "instance" ], - "description": "Returns the specified BackendService resource. Gets a list of available backend services.", + "request": { + "$ref": "Scheduling" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], - "response": { - "$ref": "BackendService" - }, - "flatPath": "projects/{project}/global/backendServices/{backendService}", - "httpMethod": "GET", - "path": "projects/{project}/global/backendServices/{backendService}", - "id": "compute.backendServices.get" + "description": "Sets an instance's scheduling options. You can only call this method on a stopped instance, that is, a VM instance that is in a `TERMINATED` state. See Instance Life Cycle for more information on the possible instance states. For more information about setting scheduling options for a VM, see Set VM host maintenance policy." }, - "aggregatedList": { + "getSerialPortOutput": { + "id": "compute.instances.getSerialPortOutput", + "path": "projects/{project}/zones/{zone}/instances/{instance}/serialPort", + "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/serialPort", + "httpMethod": "GET", "parameters": { - "orderBy": { - "location": "query", - "type": "string", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported." - }, - "includeAllScopes": { - "location": "query", - "type": "boolean", - "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included." - }, - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "type": "string", - "location": "query" + "instance": { + "description": "Name of the instance for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" }, - "pageToken": { - "type": "string", + "port": { + "description": "Specifies which COM or serial port to retrieve data from.", + "default": "1", + "minimum": "1", + "maximum": "4", "location": "query", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results." - }, - "maxResults": { - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "format": "uint32", - "minimum": "0", "type": "integer", - "location": "query", - "default": "500" + "format": "int32" }, "project": { - "required": true, + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "description": "Name of the project scoping this request.", + "required": true, + "type": "string" + }, + "start": { + "description": "Specifies the starting byte position of the output to return. To start with the first byte of output to the specified port, omit this field or set it to `0`. If the output for that byte position is available, this field matches the `start` parameter sent with the request. If the amount of serial console output exceeds the size of the buffer (1 MB), the oldest output is discarded and is no longer available. If the requested start position refers to discarded output, the start position is adjusted to the oldest output still available, and the adjusted start position is returned as the `start` property value. You can also provide a negative start position, which translates to the most recent number of bytes written to the serial port. For example, -3 is interpreted as the most recent 3 bytes written to the serial console.", + "location": "query", "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "format": "int64" }, - "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "type": "boolean", - "location": "query" + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "parameterOrder": [ + "project", + "zone", + "instance" ], - "path": "projects/{project}/aggregated/backendServices", - "httpMethod": "GET", - "id": "compute.backendServices.aggregatedList", - "flatPath": "projects/{project}/aggregated/backendServices", - "description": "Retrieves the list of all BackendService resources, regional and global, available to the specified project.", "response": { - "$ref": "BackendServiceAggregatedList" + "$ref": "SerialPortOutput" }, - "parameterOrder": [ - "project" - ] - }, - "list": { - "id": "compute.backendServices.list", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "flatPath": "projects/{project}/global/backendServices", - "description": "Retrieves the list of BackendService resources available to the specified project.", + "description": "Returns the last 1 MB of serial port output from the specified instance." + }, + "getScreenshot": { + "id": "compute.instances.getScreenshot", + "path": "projects/{project}/zones/{zone}/instances/{instance}/screenshot", + "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/screenshot", "httpMethod": "GET", - "parameterOrder": [ - "project" - ], - "path": "projects/{project}/global/backendServices", "parameters": { - "returnPartialSuccess": { - "location": "query", - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." - }, - "pageToken": { - "location": "query", - "type": "string", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results." - }, - "filter": { - "location": "query", - "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`." - }, - "maxResults": { - "default": "500", - "format": "uint32", - "location": "query", - "minimum": "0", - "type": "integer", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)" + "instance": { + "description": "Name of the instance scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" }, "project": { - "required": true, "description": "Project ID for this request.", - "type": "string", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "location": "path" + "location": "path", + "required": true, + "type": "string" }, - "orderBy": { - "type": "string", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "location": "query" + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" } }, + "parameterOrder": [ + "project", + "zone", + "instance" + ], "response": { - "$ref": "BackendServiceList" - } - }, - "getIamPolicy": { - "path": "projects/{project}/global/backendServices/{resource}/getIamPolicy", - "response": { - "$ref": "Policy" + "$ref": "Screenshot" }, - "id": "compute.backendServices.getIamPolicy", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "parameterOrder": [ - "project", - "resource" - ], + "description": "Returns the screenshot from the specified instance." + }, + "sendDiagnosticInterrupt": { + "id": "compute.instances.sendDiagnosticInterrupt", + "path": "projects/{project}/zones/{zone}/instances/{instance}/sendDiagnosticInterrupt", + "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/sendDiagnosticInterrupt", + "httpMethod": "POST", "parameters": { - "resource": { - "type": "string", - "description": "Name or id of the resource for this request.", - "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "instance": { + "description": "Name of the instance scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", "required": true, - "location": "path" + "type": "string" }, "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "type": "string", - "description": "Project ID for this request.", - "location": "path" + "type": "string" }, - "optionsRequestedPolicyVersion": { - "format": "int32", - "description": "Requested IAM Policy version.", - "location": "query", - "type": "integer" + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" } }, - "flatPath": "projects/{project}/global/backendServices/{resource}/getIamPolicy", - "httpMethod": "GET", - "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists." - } - } - }, - "regionSecurityPolicies": { - "methods": { - "patch": { - "request": { - "$ref": "SecurityPolicy" - }, - "path": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}", - "response": { - "$ref": "Operation" - }, - "id": "compute.regionSecurityPolicies.patch", - "flatPath": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}", + "parameterOrder": [ + "project", + "zone", + "instance" + ], "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], + "description": "Sends diagnostic interrupt to the instance." + }, + "getGuestAttributes": { + "id": "compute.instances.getGuestAttributes", + "path": "projects/{project}/zones/{zone}/instances/{instance}/getGuestAttributes", + "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/getGuestAttributes", + "httpMethod": "GET", "parameters": { - "securityPolicy": { + "instance": { + "description": "Name of the instance scoping this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name of the security policy to update.", - "type": "string", "location": "path", - "required": true - }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query", + "required": true, "type": "string" }, "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", - "required": true + "required": true, + "type": "string" }, - "region": { - "description": "Name of the region scoping this request.", + "queryPath": { + "description": "Specifies the guest attributes path to be queried.", + "location": "query", + "type": "string" + }, + "variableKey": { + "description": "Specifies the key for the guest attributes entry.", + "location": "query", + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", "location": "path", - "required": true + "required": true, + "type": "string" } }, "parameterOrder": [ "project", - "region", - "securityPolicy" - ], - "httpMethod": "PATCH", - "description": "Patches the specified policy with the data included in the request. To clear fields in the rule, leave the fields empty and specify them in the updateMask. This cannot be used to be update the rules in the policy. Please use the per rule methods like addRule, patchRule, and removeRule instead." - }, - "insert": { - "httpMethod": "POST", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "zone", + "instance" ], - "description": "Creates a new policy in the specified project using the data included in the request.", - "path": "projects/{project}/regions/{region}/securityPolicies", - "id": "compute.regionSecurityPolicies.insert", - "flatPath": "projects/{project}/regions/{region}/securityPolicies", "response": { - "$ref": "Operation" + "$ref": "GuestAttributes" }, - "parameterOrder": [ - "project", - "region" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "request": { - "$ref": "SecurityPolicy" - }, + "description": "Returns the specified guest attributes entry." + }, + "attachDisk": { + "id": "compute.instances.attachDisk", + "path": "projects/{project}/zones/{zone}/instances/{instance}/attachDisk", + "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/attachDisk", + "httpMethod": "POST", "parameters": { - "validateOnly": { - "type": "boolean", + "forceAttach": { + "description": "Whether to force attach the regional disk even if it's currently attached to another instance. If you try to force attach a zonal disk to an instance, you will receive an error.", "location": "query", - "description": "If true, the request will not be committed." + "type": "boolean" + }, + "instance": { + "description": "The instance name for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" }, "project": { "description": "Project ID for this request.", - "type": "string", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "location": "path" + "type": "string" }, "requestId": { - "type": "string", "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" + "location": "query", + "type": "string" }, - "region": { - "required": true, + "zone": { + "description": "The name of the zone for this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the region scoping this request.", - "type": "string", - "location": "path" + "location": "path", + "required": true, + "type": "string" } - } + }, + "parameterOrder": [ + "project", + "zone", + "instance" + ], + "request": { + "$ref": "AttachedDisk" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Attaches an existing Disk resource to an instance. You must first create the disk before you can attach it. It is not possible to create and attach a disk at the same time. For more information, read Adding a persistent disk to your instance." }, - "get": { + "detachDisk": { + "id": "compute.instances.detachDisk", + "path": "projects/{project}/zones/{zone}/instances/{instance}/detachDisk", + "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/detachDisk", + "httpMethod": "POST", "parameters": { - "region": { - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the region scoping this request.", - "location": "path", - "required": true - }, - "securityPolicy": { - "type": "string", - "description": "Name of the security policy to get.", - "location": "path", + "deviceName": { + "description": "The device name of the disk to detach. Make a get() request on the instance to view currently attached disks and device names.", + "location": "query", + "required": true, + "type": "string" + }, + "instance": { + "description": "Instance name for this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true + "location": "path", + "required": true, + "type": "string" }, "project": { "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "type": "string" } }, - "description": "List all of the ordered rules present in a single specified policy.", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "id": "compute.regionSecurityPolicies.get", "parameterOrder": [ "project", - "region", - "securityPolicy" + "zone", + "instance", + "deviceName" ], - "path": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}", - "httpMethod": "GET", - "flatPath": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}", "response": { - "$ref": "SecurityPolicy" - } - }, - "list": { - "flatPath": "projects/{project}/regions/{region}/securityPolicies", - "description": "List all the policies that have been configured for the specified project and region.", - "path": "projects/{project}/regions/{region}/securityPolicies", + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "id": "compute.regionSecurityPolicies.list", - "parameterOrder": [ - "project", - "region" + "https://www.googleapis.com/auth/compute" ], - "httpMethod": "GET", + "description": "Detaches a disk from an instance." + }, + "setMachineResources": { + "id": "compute.instances.setMachineResources", + "path": "projects/{project}/zones/{zone}/instances/{instance}/setMachineResources", + "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setMachineResources", + "httpMethod": "POST", "parameters": { - "region": { - "type": "string", + "instance": { + "description": "Name of the instance scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", "required": true, - "description": "Name of the region scoping this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "location": "path" - }, - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "type": "string", - "location": "query" - }, - "filter": { - "location": "query", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", "type": "string" }, - "orderBy": { - "type": "string", - "location": "query", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported." - }, "project": { - "location": "path", - "type": "string", + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "description": "Project ID for this request." + "type": "string" }, - "returnPartialSuccess": { - "type": "boolean", + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." + "type": "string" }, - "maxResults": { - "type": "integer", - "location": "query", - "default": "500", - "format": "uint32", - "minimum": "0", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)" + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" } }, - "response": { - "$ref": "SecurityPolicyList" - } - }, - "delete": { - "response": { - "$ref": "Operation" - }, "parameterOrder": [ "project", - "region", - "securityPolicy" + "zone", + "instance" ], - "path": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}", - "flatPath": "projects/{project}/regions/{region}/securityPolicies/{securityPolicy}", - "id": "compute.regionSecurityPolicies.delete", + "request": { + "$ref": "InstancesSetMachineResourcesRequest" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], + "description": "Changes the number and/or type of accelerator for a stopped instance to the values specified in the request." + }, + "setMachineType": { + "id": "compute.instances.setMachineType", + "path": "projects/{project}/zones/{zone}/instances/{instance}/setMachineType", + "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setMachineType", + "httpMethod": "POST", "parameters": { - "requestId": { - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" - }, - "region": { - "description": "Name of the region scoping this request.", + "instance": { + "description": "Name of the instance scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "type": "string" }, - "securityPolicy": { - "type": "string", - "required": true, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name of the security policy to delete." + "required": true, + "type": "string" }, - "project": { - "type": "string", + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "description": "Project ID for this request.", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" } }, - "description": "Deletes the specified policy.", - "httpMethod": "DELETE" - } - } - }, - "packetMirrorings": { - "methods": { - "aggregatedList": { - "response": { - "$ref": "PacketMirroringAggregatedList" - }, "parameterOrder": [ - "project" + "project", + "zone", + "instance" ], + "request": { + "$ref": "InstancesSetMachineTypeRequest" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], - "id": "compute.packetMirrorings.aggregatedList", - "description": "Retrieves an aggregated list of packetMirrorings.", + "description": "Changes the machine type for a stopped instance to the machine type specified in the request." + }, + "setMetadata": { + "id": "compute.instances.setMetadata", + "path": "projects/{project}/zones/{zone}/instances/{instance}/setMetadata", + "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setMetadata", + "httpMethod": "POST", "parameters": { - "maxResults": { - "default": "500", - "format": "uint32", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "minimum": "0", - "type": "integer", - "location": "query" - }, - "pageToken": { - "location": "query", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "instance": { + "description": "Name of the instance scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, "type": "string" }, "project": { "description": "Project ID for this request.", - "type": "string", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "required": true - }, - "includeAllScopes": { - "location": "query", - "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", - "type": "boolean" - }, - "filter": { - "location": "query", - "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`." + "required": true, + "type": "string" }, - "orderBy": { + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", "type": "string" }, - "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "type": "boolean", - "location": "query" + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" } }, - "flatPath": "projects/{project}/aggregated/packetMirrorings", - "httpMethod": "GET", - "path": "projects/{project}/aggregated/packetMirrorings" - }, - "testIamPermissions": { "parameterOrder": [ "project", - "region", - "resource" + "zone", + "instance" ], - "id": "compute.packetMirrorings.testIamPermissions", + "request": { + "$ref": "Metadata" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Sets metadata for the specified instance to the data included in the request." + }, + "setMinCpuPlatform": { + "id": "compute.instances.setMinCpuPlatform", + "path": "projects/{project}/zones/{zone}/instances/{instance}/setMinCpuPlatform", + "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setMinCpuPlatform", + "httpMethod": "POST", "parameters": { - "project": { + "instance": { + "description": "Name of the instance scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", "required": true, - "description": "Project ID for this request." + "type": "string" }, - "resource": { - "description": "Name or id of the resource for this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "type": "string", - "location": "path" + "type": "string" }, - "region": { - "location": "path", - "type": "string", + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "The name of the region for this request.", - "required": true + "location": "path", + "required": true, + "type": "string" } }, - "response": { - "$ref": "TestPermissionsResponse" - }, - "path": "projects/{project}/regions/{region}/packetMirrorings/{resource}/testIamPermissions", - "description": "Returns permissions that a caller has on the specified resource.", + "parameterOrder": [ + "project", + "zone", + "instance" + ], "request": { - "$ref": "TestPermissionsRequest" + "$ref": "InstancesSetMinCpuPlatformRequest" + }, + "response": { + "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], - "flatPath": "projects/{project}/regions/{region}/packetMirrorings/{resource}/testIamPermissions", - "httpMethod": "POST" + "description": "Changes the minimum CPU platform that this instance should use. This method can only be called on a stopped instance. For more information, read Specifying a Minimum CPU Platform." }, - "delete": { - "path": "projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}", - "description": "Deletes the specified PacketMirroring resource.", - "id": "compute.packetMirrorings.delete", - "parameterOrder": [ - "project", - "region", - "packetMirroring" - ], - "flatPath": "projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}", + "setTags": { + "id": "compute.instances.setTags", + "path": "projects/{project}/zones/{zone}/instances/{instance}/setTags", + "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setTags", + "httpMethod": "POST", "parameters": { - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query", + "instance": { + "description": "Name of the instance scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, "type": "string" }, "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "type": "string", - "location": "path" + "type": "string" }, - "region": { - "location": "path", - "description": "Name of the region for this request.", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" }, - "packetMirroring": { - "required": true, - "type": "string", + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "description": "Name of the PacketMirroring resource to delete.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" + "required": true, + "type": "string" } }, + "parameterOrder": [ + "project", + "zone", + "instance" + ], + "request": { + "$ref": "Tags" + }, "response": { "$ref": "Operation" }, - "httpMethod": "DELETE", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" - ] - }, - "patch": { - "parameterOrder": [ - "project", - "region", - "packetMirroring" ], - "id": "compute.packetMirrorings.patch", - "request": { - "$ref": "PacketMirroring" - }, - "flatPath": "projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}", + "description": "Sets network tags for the specified instance to the data included in the request." + }, + "setLabels": { + "id": "compute.instances.setLabels", + "path": "projects/{project}/zones/{zone}/instances/{instance}/setLabels", + "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setLabels", + "httpMethod": "POST", "parameters": { - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" + "instance": { + "description": "Name of the instance scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" }, "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request." + "type": "string" }, - "packetMirroring": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name of the PacketMirroring resource to patch.", - "type": "string", - "required": true, - "location": "path" + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" }, - "region": { - "type": "string", - "location": "path", + "zone": { + "description": "The name of the zone for this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", "required": true, - "description": "Name of the region for this request." + "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "parameterOrder": [ + "project", + "zone", + "instance" ], - "description": "Patches the specified PacketMirroring resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.", + "request": { + "$ref": "InstancesSetLabelsRequest" + }, "response": { "$ref": "Operation" }, - "path": "projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}", - "httpMethod": "PATCH" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Sets labels on an instance. To learn more about labels, read the Labeling Resources documentation." }, - "list": { - "flatPath": "projects/{project}/regions/{region}/packetMirrorings", - "id": "compute.packetMirrorings.list", + "setName": { + "id": "compute.instances.setName", + "path": "projects/{project}/zones/{zone}/instances/{instance}/setName", + "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setName", + "httpMethod": "POST", "parameters": { - "region": { + "instance": { + "description": "The instance name for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, - "description": "Name of the region for this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "type": "string" }, - "orderBy": { - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "type": "string", - "location": "query" - }, - "returnPartialSuccess": { - "type": "boolean", - "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." - }, "project": { "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", + "location": "path", "required": true, - "location": "path" - }, - "maxResults": { - "minimum": "0", - "location": "query", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "format": "uint32", - "type": "integer", - "default": "500" + "type": "string" }, - "filter": { + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", "type": "string" }, - "pageToken": { - "location": "query", - "type": "string", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results." + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" } }, - "path": "projects/{project}/regions/{region}/packetMirrorings", "parameterOrder": [ "project", - "region" + "zone", + "instance" ], - "httpMethod": "GET", + "request": { + "$ref": "InstancesSetNameRequest" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], - "description": "Retrieves a list of PacketMirroring resources available to the specified project and region.", - "response": { - "$ref": "PacketMirroringList" - } + "description": "Sets name of an instance." }, - "insert": { - "response": { - "$ref": "Operation" - }, - "flatPath": "projects/{project}/regions/{region}/packetMirrorings", - "id": "compute.packetMirrorings.insert", + "setDiskAutoDelete": { + "id": "compute.instances.setDiskAutoDelete", + "path": "projects/{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete", + "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete", "httpMethod": "POST", - "description": "Creates a PacketMirroring resource in the specified project and region using the data included in the request.", - "request": { - "$ref": "PacketMirroring" - }, "parameters": { - "project": { + "autoDelete": { + "description": "Whether to auto-delete the disk when the instance is deleted.", + "location": "query", "required": true, - "type": "string", + "type": "boolean" + }, + "deviceName": { + "description": "The device name of the disk to modify. Make a get() request on the instance to view currently attached disks and device names.", + "pattern": "\\w[\\w.-]{0,254}", + "location": "query", + "required": true, + "type": "string" + }, + "instance": { + "description": "The instance name for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request." + "required": true, + "type": "string" }, - "region": { - "type": "string", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the region for this request." + "type": "string" }, "requestId": { - "type": "string", + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" } }, "parameterOrder": [ "project", - "region" - ], - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "path": "projects/{project}/regions/{region}/packetMirrorings" - }, - "get": { - "httpMethod": "GET", - "flatPath": "projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}", - "id": "compute.packetMirrorings.get", - "parameterOrder": [ - "project", - "region", - "packetMirroring" + "zone", + "instance", + "autoDelete", + "deviceName" ], - "path": "projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}", - "description": "Returns the specified PacketMirroring resource.", "response": { - "$ref": "PacketMirroring" + "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], + "description": "Sets the auto-delete flag for a disk attached to an instance." + }, + "start": { + "id": "compute.instances.start", + "path": "projects/{project}/zones/{zone}/instances/{instance}/start", + "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/start", + "httpMethod": "POST", "parameters": { - "region": { - "type": "string", + "instance": { + "description": "Name of the instance resource to start.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, - "description": "Name of the region for this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "type": "string" }, "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", - "description": "Project ID for this request.", - "required": true - }, - "packetMirroring": { "required": true, - "type": "string", - "description": "Name of the PacketMirroring resource to return.", + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" + "required": true, + "type": "string" } - } - } - } - }, - "globalOperations": { - "methods": { - "get": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + }, + "parameterOrder": [ + "project", + "zone", + "instance" ], "response": { "$ref": "Operation" }, - "parameterOrder": [ - "project", - "operation" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" ], + "description": "Starts an instance that was stopped using the instances().stop method. For more information, see Restart an instance." + }, + "startWithEncryptionKey": { + "id": "compute.instances.startWithEncryptionKey", + "path": "projects/{project}/zones/{zone}/instances/{instance}/startWithEncryptionKey", + "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/startWithEncryptionKey", + "httpMethod": "POST", "parameters": { - "operation": { - "required": true, - "type": "string", + "instance": { + "description": "Name of the instance resource to start.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "description": "Name of the Operations resource to return.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" + "required": true, + "type": "string" }, "project": { - "location": "path", "description": "Project ID for this request.", - "type": "string", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" } }, - "flatPath": "projects/{project}/global/operations/{operation}", - "id": "compute.globalOperations.get", - "httpMethod": "GET", - "description": "Retrieves the specified Operations resource.", - "path": "projects/{project}/global/operations/{operation}" - }, - "aggregatedList": { - "flatPath": "projects/{project}/aggregated/operations", "parameterOrder": [ - "project" + "project", + "zone", + "instance" ], + "request": { + "$ref": "InstancesStartWithEncryptionKeyRequest" + }, "response": { - "$ref": "OperationAggregatedList" + "$ref": "Operation" }, - "description": "Retrieves an aggregated list of all operations.", - "httpMethod": "GET", - "id": "compute.globalOperations.aggregatedList", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], + "description": "Starts an instance that was stopped using the instances().stop method. For more information, see Restart an instance." + }, + "stop": { + "id": "compute.instances.stop", + "path": "projects/{project}/zones/{zone}/instances/{instance}/stop", + "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/stop", + "httpMethod": "POST", "parameters": { - "project": { + "discardLocalSsd": { + "description": "This property is required if the instance has any attached Local SSD disks. If false, Local SSD data will be preserved when the instance is suspended. If true, the contents of any attached Local SSD disks will be discarded.", + "location": "query", + "type": "boolean" + }, + "instance": { + "description": "Name of the instance resource to stop.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", "required": true, + "type": "string" + }, + "project": { "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", + "required": true, "type": "string" }, - "returnPartialSuccess": { - "location": "query", - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." - }, - "orderBy": { - "type": "string", - "location": "query", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported." - }, - "includeAllScopes": { - "location": "query", - "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", - "type": "boolean" - }, - "maxResults": { - "type": "integer", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "location": "query", - "default": "500", - "minimum": "0", - "format": "uint32" - }, - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", "type": "string" }, - "pageToken": { - "type": "string", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "location": "query" + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" } }, - "path": "projects/{project}/aggregated/operations" - }, - "wait": { + "parameterOrder": [ + "project", + "zone", + "instance" + ], "response": { "$ref": "Operation" }, - "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Stops a running instance, shutting it down cleanly, and allows you to restart the instance at a later time. Stopped instances do not incur VM usage charges while they are stopped. However, resources that the VM is using, such as persistent disks and static IP addresses, will continue to be charged until they are deleted. For more information, see Stopping an instance." + }, + "getIamPolicy": { + "id": "compute.instances.getIamPolicy", + "path": "projects/{project}/zones/{zone}/instances/{resource}/getIamPolicy", + "flatPath": "projects/{project}/zones/{zone}/instances/{resource}/getIamPolicy", + "httpMethod": "GET", "parameters": { + "optionsRequestedPolicyVersion": { + "description": "Requested IAM Policy version.", + "location": "query", + "type": "integer", + "format": "int32" + }, "project": { - "required": true, + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", - "description": "Project ID for this request." + "required": true, + "type": "string" }, - "operation": { - "description": "Name of the Operations resource to return.", - "type": "string", - "location": "path", + "resource": { + "description": "Name or id of the resource for this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true + "location": "path", + "required": true, + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" } }, "parameterOrder": [ "project", - "operation" + "zone", + "resource" ], - "description": "Waits for the specified Operation resource to return as `DONE` or for the request to approach the 2 minute deadline, and retrieves the specified Operation resource. This method differs from the `GET` method in that it waits for no more than the default deadline (2 minutes) and then returns the current state of the operation, which might be `DONE` or still in progress. This method is called on a best-effort basis. Specifically: - In uncommon cases, when the server is overloaded, the request might return before the default deadline is reached, or might return after zero seconds. - If the default deadline is reached, there is no guarantee that the operation is actually done when the method returns. Be prepared to retry if the operation is not `DONE`. ", - "path": "projects/{project}/global/operations/{operation}/wait", + "response": { + "$ref": "Policy" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "flatPath": "projects/{project}/global/operations/{operation}/wait", - "id": "compute.globalOperations.wait" + "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists." }, - "list": { - "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "path": "projects/{project}/global/operations", - "description": "Retrieves a list of Operation resources contained within the specified project.", - "response": { - "$ref": "OperationList" - }, - "id": "compute.globalOperations.list", + "setIamPolicy": { + "id": "compute.instances.setIamPolicy", + "path": "projects/{project}/zones/{zone}/instances/{resource}/setIamPolicy", + "flatPath": "projects/{project}/zones/{zone}/instances/{resource}/setIamPolicy", + "httpMethod": "POST", "parameters": { - "maxResults": { - "minimum": "0", - "format": "uint32", - "default": "500", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "location": "query", - "type": "integer" - }, "project": { "description": "Project ID for this request.", - "required": true, - "type": "string", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "location": "query", + "required": true, "type": "string" }, - "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "location": "query", - "type": "boolean" - }, - "filter": { - "location": "query", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, "type": "string" }, - "orderBy": { - "location": "query", - "type": "string", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported." + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" } }, - "flatPath": "projects/{project}/global/operations", - "parameterOrder": [ - "project" - ] - }, - "delete": { - "httpMethod": "DELETE", "parameterOrder": [ "project", - "operation" + "zone", + "resource" ], - "description": "Deletes the specified Operations resource.", - "path": "projects/{project}/global/operations/{operation}", - "flatPath": "projects/{project}/global/operations/{operation}", + "request": { + "$ref": "ZoneSetPolicyRequest" + }, + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Sets the access control policy on the specified resource. Replaces any existing policy." + }, + "testIamPermissions": { + "id": "compute.instances.testIamPermissions", + "path": "projects/{project}/zones/{zone}/instances/{resource}/testIamPermissions", + "flatPath": "projects/{project}/zones/{zone}/instances/{resource}/testIamPermissions", + "httpMethod": "POST", "parameters": { "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", - "description": "Project ID for this request." + "required": true, + "type": "string" }, - "operation": { - "description": "Name of the Operations resource to delete.", + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "type": "string", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" + "type": "string" } }, - "id": "compute.globalOperations.delete", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ] - } - } - }, - "routers": { - "methods": { - "get": { - "flatPath": "projects/{project}/regions/{region}/routers/{router}", - "httpMethod": "GET", - "path": "projects/{project}/regions/{region}/routers/{router}", "parameterOrder": [ "project", - "region", - "router" + "zone", + "resource" ], + "request": { + "$ref": "TestPermissionsRequest" + }, "response": { - "$ref": "Router" + "$ref": "TestPermissionsResponse" }, - "id": "compute.routers.get", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], + "description": "Returns permissions that a caller has on the specified resource." + }, + "setServiceAccount": { + "id": "compute.instances.setServiceAccount", + "path": "projects/{project}/zones/{zone}/instances/{instance}/setServiceAccount", + "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setServiceAccount", + "httpMethod": "POST", "parameters": { - "router": { + "instance": { + "description": "Name of the instance resource to start.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "description": "Name of the Router resource to return.", - "type": "string", - "required": true - }, - "region": { "required": true, - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "location": "path", - "description": "Name of the region for this request." + "type": "string" }, "project": { - "required": true, - "location": "path", "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string" - } - }, - "description": "Returns the specified Router resource. Gets a list of available routers by making a list() request." - }, - "getRouterStatus": { - "id": "compute.routers.getRouterStatus", - "parameters": { - "project": { "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "required": true, - "description": "Project ID for this request.", "type": "string" }, - "region": { - "location": "path", - "required": true, - "type": "string", - "description": "Name of the region for this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" }, - "router": { - "required": true, - "description": "Name of the Router resource to query.", + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, "type": "string" } }, "parameterOrder": [ "project", - "region", - "router" + "zone", + "instance" ], - "flatPath": "projects/{project}/regions/{region}/routers/{router}/getRouterStatus", - "path": "projects/{project}/regions/{region}/routers/{router}/getRouterStatus", + "request": { + "$ref": "InstancesSetServiceAccountRequest" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], - "response": { - "$ref": "RouterStatusResponse" - }, - "httpMethod": "GET", - "description": "Retrieves runtime information of the specified router." + "description": "Sets the service account on the instance. For more information, read Changing the service account and access scopes for an instance." }, - "getNatMappingInfo": { - "id": "compute.routers.getNatMappingInfo", - "description": "Retrieves runtime Nat mapping information of VM endpoints.", - "parameterOrder": [ - "project", - "region", - "router" - ], - "response": { - "$ref": "VmEndpointNatMappingsList" - }, - "flatPath": "projects/{project}/regions/{region}/routers/{router}/getNatMappingInfo", - "httpMethod": "GET", + "setDeletionProtection": { + "id": "compute.instances.setDeletionProtection", + "path": "projects/{project}/zones/{zone}/instances/{resource}/setDeletionProtection", + "flatPath": "projects/{project}/zones/{zone}/instances/{resource}/setDeletionProtection", + "httpMethod": "POST", "parameters": { - "orderBy": { + "deletionProtection": { + "description": "Whether the resource should be protected against deletion.", + "default": "true", "location": "query", - "type": "string", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported." + "type": "boolean" }, "project": { "description": "Project ID for this request.", - "type": "string", - "location": "path", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true - }, - "pageToken": { - "type": "string", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "location": "query" + "location": "path", + "required": true, + "type": "string" }, - "returnPartialSuccess": { + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." + "type": "string" }, - "router": { + "resource": { + "description": "Name or id of the resource for this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true, - "type": "string", "location": "path", - "description": "Name of the Router resource to query for Nat Mapping information of VM endpoints." - }, - "maxResults": { - "minimum": "0", - "type": "integer", - "location": "query", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "default": "500", - "format": "uint32" + "required": true, + "type": "string" }, - "region": { + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "type": "string", - "description": "Name of the region for this request.", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" - }, - "filter": { - "location": "query", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", "type": "string" } }, - "path": "projects/{project}/regions/{region}/routers/{router}/getNatMappingInfo", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ] - }, - "update": { - "request": { - "$ref": "Router" - }, - "httpMethod": "PUT", - "flatPath": "projects/{project}/regions/{region}/routers/{router}", - "description": "Updates the specified Router resource with the data included in the request. This method conforms to PUT semantics, which requests that the state of the target resource be created or replaced with the state defined by the representation enclosed in the request message payload.", - "path": "projects/{project}/regions/{region}/routers/{router}", + "parameterOrder": [ + "project", + "zone", + "resource" + ], "response": { "$ref": "Operation" }, @@ -40986,11 +53523,30 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], + "description": "Sets deletion protection on the instance." + }, + "suspend": { + "id": "compute.instances.suspend", + "path": "projects/{project}/zones/{zone}/instances/{instance}/suspend", + "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/suspend", + "httpMethod": "POST", "parameters": { - "project": { + "discardLocalSsd": { + "description": "This property is required if the instance has any attached Local SSD disks. If false, Local SSD data will be preserved when the instance is suspended. If true, the contents of any attached Local SSD disks will be discarded.", + "location": "query", + "type": "boolean" + }, + "instance": { + "description": "Name of the instance resource to suspend.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", + "required": true, + "type": "string" + }, + "project": { "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, "type": "string" }, @@ -40999,1608 +53555,1501 @@ "location": "query", "type": "string" }, - "region": { - "location": "path", + "zone": { + "description": "The name of the zone for this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", - "required": true, - "description": "Name of the region for this request." - }, - "router": { + "location": "path", "required": true, - "type": "string", - "description": "Name of the Router resource to update.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "location": "path" + "type": "string" } }, "parameterOrder": [ "project", - "region", - "router" - ], - "id": "compute.routers.update" - }, - "preview": { - "httpMethod": "POST", - "parameterOrder": [ - "project", - "region", - "router" + "zone", + "instance" ], - "flatPath": "projects/{project}/regions/{region}/routers/{router}/preview", - "request": { - "$ref": "Router" + "response": { + "$ref": "Operation" }, - "id": "compute.routers.preview", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], - "response": { - "$ref": "RoutersPreviewResponse" - }, - "description": "Preview fields auto-generated during router create and update operations. Calling this method does NOT create or update the router.", + "description": "This method suspends a running instance, saving its state to persistent storage, and allows you to resume the instance at a later time. Suspended instances have no compute costs (cores or RAM), and incur only storage charges for the saved VM memory and localSSD data. Any charged resources the virtual machine was using, such as persistent disks and static IP addresses, will continue to be charged while the instance is suspended. For more information, see Suspending and resuming an instance." + }, + "resume": { + "id": "compute.instances.resume", + "path": "projects/{project}/zones/{zone}/instances/{instance}/resume", + "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/resume", + "httpMethod": "POST", "parameters": { - "router": { - "description": "Name of the Router resource to query.", + "instance": { + "description": "Name of the instance resource to resume.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true, "location": "path", - "type": "string" - }, - "region": { - "description": "Name of the region for this request.", "required": true, - "location": "path", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "type": "string" }, "project": { - "required": true, "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", - "location": "path" - } - }, - "path": "projects/{project}/regions/{region}/routers/{router}/preview" - }, - "patch": { - "description": "Patches the specified Router resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.", - "id": "compute.routers.patch", - "request": { - "$ref": "Router" - }, - "flatPath": "projects/{project}/regions/{region}/routers/{router}", - "parameters": { - "region": { - "required": true, - "type": "string", - "description": "Name of the region for this request.", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "required": true, + "type": "string" }, "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - }, - "router": { - "description": "Name of the Router resource to patch.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "location": "path", - "required": true, "type": "string" }, - "project": { - "type": "string", + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request." + "type": "string" } }, - "httpMethod": "PATCH", - "response": { - "$ref": "Operation" - }, "parameterOrder": [ "project", - "region", - "router" + "zone", + "instance" ], - "path": "projects/{project}/regions/{region}/routers/{router}", + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" - ] + ], + "description": "Resumes an instance that was suspended using the instances().suspend method." }, - "list": { - "path": "projects/{project}/regions/{region}/routers", - "flatPath": "projects/{project}/regions/{region}/routers", - "description": "Retrieves a list of Router resources available to the specified project.", + "addResourcePolicies": { + "id": "compute.instances.addResourcePolicies", + "path": "projects/{project}/zones/{zone}/instances/{instance}/addResourcePolicies", + "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/addResourcePolicies", + "httpMethod": "POST", "parameters": { - "region": { - "description": "Name of the region for this request.", + "instance": { + "description": "The instance name for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "type": "string", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" - }, - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "location": "query", - "type": "string" - }, - "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "type": "boolean", - "location": "query" - }, - "filter": { - "location": "query", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", "type": "string" }, - "maxResults": { - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "default": "500", - "location": "query", - "format": "uint32", - "type": "integer", - "minimum": "0" - }, "project": { - "required": true, "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", + "required": true, "type": "string" }, - "orderBy": { - "location": "query", - "type": "string", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported." - } - }, - "id": "compute.routers.list", - "response": { - "$ref": "RouterList" - }, - "parameterOrder": [ - "project", - "region" - ], - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "httpMethod": "GET" - }, - "insert": { - "response": { - "$ref": "Operation" - }, - "flatPath": "projects/{project}/regions/{region}/routers", - "parameters": { "requestId": { - "type": "string", "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" + "location": "query", + "type": "string" }, - "region": { - "description": "Name of the region for this request.", - "location": "path", + "zone": { + "description": "The name of the zone for this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", - "required": true - }, - "project": { - "description": "Project ID for this request.", "location": "path", "required": true, - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" } }, - "httpMethod": "POST", - "request": { - "$ref": "Router" - }, "parameterOrder": [ "project", - "region" + "zone", + "instance" ], - "path": "projects/{project}/regions/{region}/routers", - "id": "compute.routers.insert", - "description": "Creates a Router resource in the specified project and region using the data included in the request.", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ] - }, - "delete": { - "description": "Deletes the specified Router resource.", - "httpMethod": "DELETE", - "path": "projects/{project}/regions/{region}/routers/{router}", - "flatPath": "projects/{project}/regions/{region}/routers/{router}", + "request": { + "$ref": "InstancesAddResourcePoliciesRequest" + }, "response": { "$ref": "Operation" }, - "parameterOrder": [ - "project", - "region", - "router" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" ], - "id": "compute.routers.delete", + "description": "Adds existing resource policies to an instance. You can only add one policy right now which will be applied to this instance for scheduling live migrations." + }, + "removeResourcePolicies": { + "id": "compute.instances.removeResourcePolicies", + "path": "projects/{project}/zones/{zone}/instances/{instance}/removeResourcePolicies", + "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/removeResourcePolicies", + "httpMethod": "POST", "parameters": { - "project": { - "required": true, + "instance": { + "description": "The instance name for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "description": "Project ID for this request.", - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "region": { "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the region for this request.", + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", + "required": true, "type": "string" }, "requestId": { - "type": "string", + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "type": "string" }, - "router": { - "description": "Name of the Router resource to delete.", + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", "required": true, - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" + "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ] - }, - "aggregatedList": { - "description": "Retrieves an aggregated list of routers.", - "flatPath": "projects/{project}/aggregated/routers", - "id": "compute.routers.aggregatedList", "parameterOrder": [ - "project" + "project", + "zone", + "instance" ], - "httpMethod": "GET", - "path": "projects/{project}/aggregated/routers", + "request": { + "$ref": "InstancesRemoveResourcePoliciesRequest" + }, "response": { - "$ref": "RouterAggregatedList" + "$ref": "Operation" }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Removes resource policies from an instance." + }, + "update": { + "id": "compute.instances.update", + "path": "projects/{project}/zones/{zone}/instances/{instance}", + "flatPath": "projects/{project}/zones/{zone}/instances/{instance}", + "httpMethod": "PUT", "parameters": { - "orderBy": { - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "location": "query", + "instance": { + "description": "Name of the instance resource to update.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, "type": "string" }, - "maxResults": { - "minimum": "0", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "location": "query", - "default": "500", - "type": "integer", - "format": "uint32" - }, - "returnPartialSuccess": { + "minimalAction": { + "description": "Specifies the action to take when updating an instance even if the updated properties do not require it. If not specified, then Compute Engine acts based on the minimum action that the updated properties require.", "location": "query", - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." + "type": "string", + "enumDescriptions": [ + "", + "No changes can be made to the instance.", + "The instance will not restart.", + "The instance will restart." + ], + "enum": [ + "INVALID", + "NO_EFFECT", + "REFRESH", + "RESTART" + ] }, - "filter": { + "mostDisruptiveAllowedAction": { + "description": "Specifies the most disruptive action that can be taken on the instance as part of the update. Compute Engine returns an error if the instance properties require a more disruptive action as part of the instance update. Valid options from lowest to highest are NO_EFFECT, REFRESH, and RESTART.", "location": "query", "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`." + "enumDescriptions": [ + "", + "No changes can be made to the instance.", + "The instance will not restart.", + "The instance will restart." + ], + "enum": [ + "INVALID", + "NO_EFFECT", + "REFRESH", + "RESTART" + ] }, "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "description": "Project ID for this request.", "type": "string" }, - "includeAllScopes": { - "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", - "location": "query", - "type": "boolean" - }, - "pageToken": { - "location": "query", - "type": "string", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results." - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ] - } - } - }, - "zones": { - "methods": { - "list": { - "flatPath": "projects/{project}/zones", - "id": "compute.zones.list", - "response": { - "$ref": "ZoneList" - }, - "description": "Retrieves the list of Zone resources available to the specified project.", - "path": "projects/{project}/zones", - "parameters": { - "orderBy": { - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", "type": "string" }, - "maxResults": { - "location": "query", - "format": "uint32", - "minimum": "0", - "default": "500", - "type": "integer", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)" - }, - "returnPartialSuccess": { - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "location": "query" - }, - "project": { - "type": "string", - "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "description": "Project ID for this request." - }, - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "type": "string", - "location": "query" - }, - "pageToken": { - "location": "query", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "required": true, "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], "parameterOrder": [ - "project" + "project", + "zone", + "instance" ], - "httpMethod": "GET" - }, - "get": { + "request": { + "$ref": "Instance" + }, "response": { - "$ref": "Zone" + "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "parameterOrder": [ - "project", - "zone" + "https://www.googleapis.com/auth/compute" ], + "description": "Updates an instance only if the necessary resources are available. This method can update only a specific set of instance properties. See Updating a running instance for a list of updatable instance properties." + }, + "updateShieldedInstanceConfig": { + "id": "compute.instances.updateShieldedInstanceConfig", + "path": "projects/{project}/zones/{zone}/instances/{instance}/updateShieldedInstanceConfig", + "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/updateShieldedInstanceConfig", + "httpMethod": "PATCH", "parameters": { - "zone": { + "instance": { + "description": "Name or id of the instance scoping this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true, - "description": "Name of the zone resource to return.", "location": "path", + "required": true, "type": "string" }, "project": { - "location": "path", + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", "required": true, - "description": "Project ID for this request." + "type": "string" } }, - "id": "compute.zones.get", - "flatPath": "projects/{project}/zones/{zone}", - "description": "Returns the specified Zone resource. Gets a list of available zones by making a list() request.", - "path": "projects/{project}/zones/{zone}", - "httpMethod": "GET" - } - } - }, - "httpsHealthChecks": { - "methods": { - "get": { - "description": "Returns the specified HttpsHealthCheck resource. Gets a list of available HTTPS health checks by making a list() request.", - "httpMethod": "GET", - "id": "compute.httpsHealthChecks.get", - "flatPath": "projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}", "parameterOrder": [ "project", - "httpsHealthCheck" + "zone", + "instance" ], - "path": "projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}", + "request": { + "$ref": "ShieldedInstanceConfig" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], - "response": { - "$ref": "HttpsHealthCheck" - }, + "description": "Updates the Shielded Instance config for an instance. You can only use this method on a stopped instance. This method supports PATCH semantics and uses the JSON merge patch format and processing rules." + }, + "updateDisplayDevice": { + "id": "compute.instances.updateDisplayDevice", + "path": "projects/{project}/zones/{zone}/instances/{instance}/updateDisplayDevice", + "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/updateDisplayDevice", + "httpMethod": "PATCH", "parameters": { + "instance": { + "description": "Name of the instance scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, "project": { "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", "location": "path", - "required": true - }, - "httpsHealthCheck": { - "type": "string", "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "description": "Name of the HttpsHealthCheck resource to return.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" + "required": true, + "type": "string" } - } - }, - "insert": { + }, "parameterOrder": [ - "project" + "project", + "zone", + "instance" ], - "path": "projects/{project}/global/httpsHealthChecks", - "httpMethod": "POST", "request": { - "$ref": "HttpsHealthCheck" + "$ref": "DisplayDevice" }, "response": { "$ref": "Operation" }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Updates the Display config for a VM instance. You can only use this method on a stopped VM instance. This method supports PATCH semantics and uses the JSON merge patch format and processing rules." + }, + "setShieldedInstanceIntegrityPolicy": { + "id": "compute.instances.setShieldedInstanceIntegrityPolicy", + "path": "projects/{project}/zones/{zone}/instances/{instance}/setShieldedInstanceIntegrityPolicy", + "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setShieldedInstanceIntegrityPolicy", + "httpMethod": "PATCH", "parameters": { - "project": { + "instance": { + "description": "Name or id of the instance scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "type": "string", + "required": true, + "type": "string" + }, + "project": { "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true + "location": "path", + "required": true, + "type": "string" }, "requestId": { "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" } }, - "flatPath": "projects/{project}/global/httpsHealthChecks", + "parameterOrder": [ + "project", + "zone", + "instance" + ], + "request": { + "$ref": "ShieldedInstanceIntegrityPolicy" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "description": "Creates a HttpsHealthCheck resource in the specified project using the data included in the request.", - "id": "compute.httpsHealthChecks.insert" + "description": "Sets the Shielded Instance integrity policy for an instance. You can only use this method on a running instance. This method supports PATCH semantics and uses the JSON merge patch format and processing rules." }, - "update": { - "description": "Updates a HttpsHealthCheck resource in the specified project using the data included in the request.", - "parameterOrder": [ - "project", - "httpsHealthCheck" - ], - "flatPath": "projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}", + "setSecurityPolicy": { + "id": "compute.instances.setSecurityPolicy", + "path": "projects/{project}/zones/{zone}/instances/{instance}/setSecurityPolicy", + "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setSecurityPolicy", + "httpMethod": "POST", "parameters": { + "instance": { + "description": "Name of the Instance resource to which the security policy should be set. The name should conform to RFC1035.", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, "requestId": { "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", "type": "string" }, - "httpsHealthCheck": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name of the HttpsHealthCheck resource to update.", - "type": "string", + "zone": { + "description": "Name of the zone scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "required": true - }, - "project": { - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "required": true, - "location": "path", - "description": "Project ID for this request." + "type": "string" } }, - "id": "compute.httpsHealthChecks.update", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "parameterOrder": [ + "project", + "zone", + "instance" ], "request": { - "$ref": "HttpsHealthCheck" + "$ref": "InstancesSetSecurityPolicyRequest" }, - "path": "projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}", - "httpMethod": "PUT", "response": { "$ref": "Operation" - } - }, - "list": { - "flatPath": "projects/{project}/global/httpsHealthChecks", - "parameterOrder": [ - "project" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" ], + "description": "Sets the Google Cloud Armor security policy for the specified instance. For more information, see Google Cloud Armor Overview" + }, + "getShieldedInstanceIdentity": { + "id": "compute.instances.getShieldedInstanceIdentity", + "path": "projects/{project}/zones/{zone}/instances/{instance}/getShieldedInstanceIdentity", + "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/getShieldedInstanceIdentity", + "httpMethod": "GET", "parameters": { - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "location": "query", + "instance": { + "description": "Name or id of the instance scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, "type": "string" }, "project": { - "location": "path", - "required": true, "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, "type": "string" }, - "orderBy": { - "type": "string", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "location": "query" - }, - "filter": { - "location": "query", - "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`." - }, - "returnPartialSuccess": { - "location": "query", - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." - }, - "maxResults": { - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "minimum": "0", - "location": "query", - "type": "integer", - "format": "uint32", - "default": "500" + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" } }, + "parameterOrder": [ + "project", + "zone", + "instance" + ], + "response": { + "$ref": "ShieldedInstanceIdentity" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "description": "Retrieves the list of HttpsHealthCheck resources available to the specified project.", - "response": { - "$ref": "HttpsHealthCheckList" - }, - "id": "compute.httpsHealthChecks.list", - "httpMethod": "GET", - "path": "projects/{project}/global/httpsHealthChecks" + "description": "Returns the Shielded Instance Identity of an instance" }, - "delete": { + "bulkInsert": { + "id": "compute.instances.bulkInsert", + "path": "projects/{project}/zones/{zone}/instances/bulkInsert", + "flatPath": "projects/{project}/zones/{zone}/instances/bulkInsert", + "httpMethod": "POST", "parameters": { - "httpsHealthCheck": { - "description": "Name of the HttpsHealthCheck resource to delete.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "required": true + "required": true, + "type": "string" }, "requestId": { - "type": "string", + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "type": "string" }, - "project": { - "description": "Project ID for this request.", - "type": "string", + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" } }, - "path": "projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}", - "flatPath": "projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "response": { - "$ref": "Operation" - }, - "httpMethod": "DELETE", - "description": "Deletes the specified HttpsHealthCheck resource.", - "id": "compute.httpsHealthChecks.delete", "parameterOrder": [ "project", - "httpsHealthCheck" - ] - }, - "patch": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "zone" ], "request": { - "$ref": "HttpsHealthCheck" + "$ref": "BulkInsertInstanceResource" }, - "id": "compute.httpsHealthChecks.patch", - "description": "Updates a HttpsHealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.", - "httpMethod": "PATCH", "response": { "$ref": "Operation" }, - "flatPath": "projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}", - "parameterOrder": [ - "project", - "httpsHealthCheck" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" ], + "description": "Creates multiple instances. Count specifies the number of instances to create. For more information, see About bulk creation of VMs." + }, + "getEffectiveFirewalls": { + "id": "compute.instances.getEffectiveFirewalls", + "path": "projects/{project}/zones/{zone}/instances/{instance}/getEffectiveFirewalls", + "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/getEffectiveFirewalls", + "httpMethod": "GET", "parameters": { - "httpsHealthCheck": { + "instance": { + "description": "Name of the instance scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", "required": true, - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name of the HttpsHealthCheck resource to patch." + "type": "string" + }, + "networkInterface": { + "description": "The name of the network interface to get the effective firewalls.", + "location": "query", + "required": true, + "type": "string" }, "project": { - "type": "string", "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" } }, - "path": "projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}" + "parameterOrder": [ + "project", + "zone", + "instance", + "networkInterface" + ], + "response": { + "$ref": "InstancesGetEffectiveFirewallsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Returns effective firewalls applied to an interface of the instance." } } }, - "subnetworks": { + "regionInstances": { "methods": { - "delete": { - "path": "projects/{project}/regions/{region}/subnetworks/{subnetwork}", - "description": "Deletes the specified subnetwork.", + "bulkInsert": { + "id": "compute.regionInstances.bulkInsert", + "path": "projects/{project}/regions/{region}/instances/bulkInsert", + "flatPath": "projects/{project}/regions/{region}/instances/bulkInsert", + "httpMethod": "POST", "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, "region": { - "description": "Name of the region scoping this request.", + "description": "The name of the region for this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "type": "string", - "required": true - }, - "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", - "type": "string", "required": true, - "location": "path" + "type": "string" }, "requestId": { - "type": "string", "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" - }, - "subnetwork": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", - "required": true, - "location": "path", - "description": "Name of the Subnetwork resource to delete." + "location": "query", + "type": "string" } }, - "flatPath": "projects/{project}/regions/{region}/subnetworks/{subnetwork}", - "httpMethod": "DELETE", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "id": "compute.subnetworks.delete", "parameterOrder": [ "project", - "region", - "subnetwork" + "region" ], + "request": { + "$ref": "BulkInsertInstanceResource" + }, "response": { "$ref": "Operation" - } - }, - "listUsable": { - "httpMethod": "GET", - "flatPath": "projects/{project}/aggregated/subnetworks/listUsable", - "id": "compute.subnetworks.listUsable", - "parameterOrder": [ - "project" - ], + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], - "path": "projects/{project}/aggregated/subnetworks/listUsable", + "description": "Creates multiple instances in a given region. Count specifies the number of instances to create." + } + } + }, + "reservations": { + "methods": { + "list": { + "id": "compute.reservations.list", + "path": "projects/{project}/zones/{zone}/reservations", + "flatPath": "projects/{project}/zones/{zone}/reservations", + "httpMethod": "GET", "parameters": { "filter": { - "type": "string", - "location": "query", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`." - }, - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "type": "string", - "location": "query" - }, - "orderBy": { - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", "location": "query", "type": "string" }, - "returnPartialSuccess": { - "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "type": "boolean" - }, "maxResults": { - "minimum": "0", "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", "location": "query", "type": "integer", - "default": "500", "format": "uint32" }, - "project": { - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", - "required": true, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", "type": "string" - } - }, - "description": "Retrieves an aggregated list of all usable subnetworks in the project.", - "response": { - "$ref": "UsableSubnetworksAggregatedList" - } - }, - "insert": { - "request": { - "$ref": "Subnetwork" - }, - "httpMethod": "POST", - "response": { - "$ref": "Operation" - }, - "id": "compute.subnetworks.insert", - "description": "Creates a subnetwork in the specified project using the data included in the request.", - "parameterOrder": [ - "project", - "region" - ], - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "path": "projects/{project}/regions/{region}/subnetworks", - "flatPath": "projects/{project}/regions/{region}/subnetworks", - "parameters": { + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, "project": { "description": "Project ID for this request.", - "location": "path", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, "type": "string" }, - "requestId": { - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" }, - "region": { - "description": "Name of the region scoping this request.", - "type": "string", + "zone": { + "description": "Name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "type": "string" } - } - }, - "get": { - "path": "projects/{project}/regions/{region}/subnetworks/{subnetwork}", - "id": "compute.subnetworks.get", - "flatPath": "projects/{project}/regions/{region}/subnetworks/{subnetwork}", - "httpMethod": "GET", - "description": "Returns the specified subnetwork. Gets a list of available subnetworks list() request.", + }, + "parameterOrder": [ + "project", + "zone" + ], "response": { - "$ref": "Subnetwork" + "$ref": "ReservationList" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "parameters": { - "subnetwork": { - "description": "Name of the Subnetwork resource to return.", - "location": "path", - "type": "string", - "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" - }, - "region": { - "type": "string", - "description": "Name of the region scoping this request.", - "required": true, - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" - }, - "project": { - "required": true, - "type": "string", - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request." - } - }, - "parameterOrder": [ - "project", - "region", - "subnetwork" - ] + "description": "A list of all the reservations that have been configured for the specified project in specified zone." }, - "list": { - "description": "Retrieves a list of subnetworks available to the specified project.", + "aggregatedList": { + "id": "compute.reservations.aggregatedList", + "path": "projects/{project}/aggregated/reservations", + "flatPath": "projects/{project}/aggregated/reservations", + "httpMethod": "GET", "parameters": { - "pageToken": { - "type": "string", + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", "location": "query", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results." + "type": "string" }, - "project": { - "required": true, - "type": "string", - "location": "path", - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "includeAllScopes": { + "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", + "location": "query", + "type": "boolean" }, - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", "location": "query", - "type": "string" + "type": "integer", + "format": "uint32" }, "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", "location": "query", - "type": "string", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported." + "type": "string" }, - "returnPartialSuccess": { + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "location": "query", - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." + "type": "string" }, - "region": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the region scoping this request.", - "type": "string", - "location": "path" + "type": "string" }, - "maxResults": { - "minimum": "0", - "type": "integer", + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", "location": "query", - "default": "500", - "format": "uint32", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)" + "type": "boolean" + }, + "serviceProjectNumber": { + "description": "The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.", + "location": "query", + "type": "string", + "format": "int64" } }, - "flatPath": "projects/{project}/regions/{region}/subnetworks", - "id": "compute.subnetworks.list", - "path": "projects/{project}/regions/{region}/subnetworks", - "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "parameterOrder": [ + "project" ], "response": { - "$ref": "SubnetworkList" + "$ref": "ReservationAggregatedList" }, - "parameterOrder": [ - "project", - "region" - ] - }, - "getIamPolicy": { "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "id": "compute.subnetworks.getIamPolicy", + "description": "Retrieves an aggregated list of reservations." + }, + "get": { + "id": "compute.reservations.get", + "path": "projects/{project}/zones/{zone}/reservations/{reservation}", + "flatPath": "projects/{project}/zones/{zone}/reservations/{reservation}", "httpMethod": "GET", - "response": { - "$ref": "Policy" - }, "parameters": { - "optionsRequestedPolicyVersion": { - "description": "Requested IAM Policy version.", - "type": "integer", - "location": "query", - "format": "int32" - }, - "region": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "The name of the region for this request.", - "required": true, - "type": "string", - "location": "path" - }, "project": { "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "type": "string" }, - "resource": { - "description": "Name or id of the resource for this request.", + "reservation": { + "description": "Name of the reservation to retrieve.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "type": "string", - "required": true + "required": true, + "type": "string" + }, + "zone": { + "description": "Name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" } }, - "path": "projects/{project}/regions/{region}/subnetworks/{resource}/getIamPolicy", "parameterOrder": [ "project", - "region", - "resource" + "zone", + "reservation" ], - "flatPath": "projects/{project}/regions/{region}/subnetworks/{resource}/getIamPolicy", - "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists." - }, - "patch": { + "response": { + "$ref": "Reservation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "flatPath": "projects/{project}/regions/{region}/subnetworks/{subnetwork}", - "httpMethod": "PATCH", - "id": "compute.subnetworks.patch", + "description": "Retrieves information about the specified reservation." + }, + "insert": { + "id": "compute.reservations.insert", + "path": "projects/{project}/zones/{zone}/reservations", + "flatPath": "projects/{project}/zones/{zone}/reservations", + "httpMethod": "POST", "parameters": { - "subnetwork": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true, - "description": "Name of the Subnetwork resource to patch.", - "type": "string", - "location": "path" - }, "project": { - "required": true, "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", - "location": "path" - }, - "region": { - "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the region scoping this request.", "location": "path", + "required": true, "type": "string" }, - "drainTimeoutSeconds": { - "format": "int32", - "description": "The drain timeout specifies the upper bound in seconds on the amount of time allowed to drain connections from the current ACTIVE subnetwork to the current BACKUP subnetwork. The drain timeout is only applicable when the following conditions are true: - the subnetwork being patched has purpose = INTERNAL_HTTPS_LOAD_BALANCER - the subnetwork being patched has role = BACKUP - the patch request is setting the role to ACTIVE. Note that after this patch operation the roles of the ACTIVE and BACKUP subnetworks will be swapped.", - "type": "integer", - "location": "query" - }, "requestId": { - "type": "string", + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "type": "string" + }, + "zone": { + "description": "Name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" } }, "parameterOrder": [ "project", - "region", - "subnetwork" + "zone" ], - "response": { - "$ref": "Operation" - }, - "path": "projects/{project}/regions/{region}/subnetworks/{subnetwork}", "request": { - "$ref": "Subnetwork" + "$ref": "Reservation" }, - "description": "Patches the specified subnetwork with the data included in the request. Only certain fields can be updated with a patch request as indicated in the field descriptions. You must specify the current fingerprint of the subnetwork resource being patched." - }, - "setPrivateIpGoogleAccess": { "response": { "$ref": "Operation" }, - "path": "projects/{project}/regions/{region}/subnetworks/{subnetwork}/setPrivateIpGoogleAccess", - "httpMethod": "POST", - "flatPath": "projects/{project}/regions/{region}/subnetworks/{subnetwork}/setPrivateIpGoogleAccess", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "parameterOrder": [ - "project", - "region", - "subnetwork" - ], - "description": "Set whether VMs in this subnet can access Google services without assigning external IP addresses through Private Google Access.", - "request": { - "$ref": "SubnetworksSetPrivateIpGoogleAccessRequest" - }, - "id": "compute.subnetworks.setPrivateIpGoogleAccess", + "description": "Creates a new reservation. For more information, read Reserving zonal resources." + }, + "delete": { + "id": "compute.reservations.delete", + "path": "projects/{project}/zones/{zone}/reservations/{reservation}", + "flatPath": "projects/{project}/zones/{zone}/reservations/{reservation}", + "httpMethod": "DELETE", "parameters": { "project": { - "required": true, - "type": "string", "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "location": "path" + "location": "path", + "required": true, + "type": "string" }, "requestId": { - "type": "string", "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" + "location": "query", + "type": "string" }, - "region": { - "description": "Name of the region scoping this request.", - "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "reservation": { + "description": "Name of the reservation to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", + "required": true, "type": "string" }, - "subnetwork": { - "required": true, - "description": "Name of the Subnetwork resource.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "zone": { + "description": "Name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", + "required": true, "type": "string" } - } - }, - "expandIpCidrRange": { + }, "parameterOrder": [ "project", - "region", - "subnetwork" + "zone", + "reservation" ], - "id": "compute.subnetworks.expandIpCidrRange", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Deletes the specified reservation." + }, + "resize": { + "id": "compute.reservations.resize", + "path": "projects/{project}/zones/{zone}/reservations/{reservation}/resize", + "flatPath": "projects/{project}/zones/{zone}/reservations/{reservation}/resize", "httpMethod": "POST", "parameters": { "project": { - "type": "string", "description": "Project ID for this request.", - "required": true, + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "required": true, + "type": "string" }, "requestId": { "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", "type": "string" }, - "region": { - "required": true, + "reservation": { + "description": "Name of the reservation to update.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "type": "string", - "description": "Name of the region scoping this request." - }, - "subnetwork": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", "required": true, + "type": "string" + }, + "zone": { + "description": "Name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "description": "Name of the Subnetwork resource to update." + "required": true, + "type": "string" } }, - "description": "Expands the IP CIDR range of the subnetwork to a specified value.", + "parameterOrder": [ + "project", + "zone", + "reservation" + ], + "request": { + "$ref": "ReservationsResizeRequest" + }, "response": { "$ref": "Operation" }, - "path": "projects/{project}/regions/{region}/subnetworks/{subnetwork}/expandIpCidrRange", - "request": { - "$ref": "SubnetworksExpandIpCidrRangeRequest" - }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "flatPath": "projects/{project}/regions/{region}/subnetworks/{subnetwork}/expandIpCidrRange" + "description": "Resizes the reservation (applicable to standalone reservations only). For more information, read Modifying reservations." }, - "aggregatedList": { + "update": { + "id": "compute.reservations.update", + "path": "projects/{project}/zones/{zone}/reservations/{reservation}", + "flatPath": "projects/{project}/zones/{zone}/reservations/{reservation}", + "httpMethod": "PATCH", "parameters": { - "orderBy": { - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "paths": { "location": "query", + "repeated": true, "type": "string" }, "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request." + "type": "string" }, - "includeAllScopes": { - "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "type": "boolean" + "type": "string" }, - "maxResults": { - "default": "500", - "location": "query", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "type": "integer", - "format": "uint32", - "minimum": "0" + "reservation": { + "description": "Name of the reservation to update.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" }, - "returnPartialSuccess": { - "type": "boolean", + "updateMask": { + "description": "Update_mask indicates fields to be updated as part of this request.", "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." - }, - "pageToken": { "type": "string", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "location": "query" + "format": "google-fieldmask" }, - "filter": { - "location": "query", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", + "zone": { + "description": "Name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, "type": "string" } }, - "path": "projects/{project}/aggregated/subnetworks", + "parameterOrder": [ + "project", + "zone", + "reservation" + ], + "request": { + "$ref": "Reservation" + }, "response": { - "$ref": "SubnetworkAggregatedList" + "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], - "flatPath": "projects/{project}/aggregated/subnetworks", - "id": "compute.subnetworks.aggregatedList", + "description": "Update share settings of the reservation." + }, + "getIamPolicy": { + "id": "compute.reservations.getIamPolicy", + "path": "projects/{project}/zones/{zone}/reservations/{resource}/getIamPolicy", + "flatPath": "projects/{project}/zones/{zone}/reservations/{resource}/getIamPolicy", "httpMethod": "GET", + "parameters": { + "optionsRequestedPolicyVersion": { + "description": "Requested IAM Policy version.", + "location": "query", + "type": "integer", + "format": "int32" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + } + }, "parameterOrder": [ - "project" + "project", + "zone", + "resource" ], - "description": "Retrieves an aggregated list of subnetworks." - }, - "testIamPermissions": { - "id": "compute.subnetworks.testIamPermissions", + "response": { + "$ref": "Policy" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "flatPath": "projects/{project}/regions/{region}/subnetworks/{resource}/testIamPermissions", + "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists." + }, + "setIamPolicy": { + "id": "compute.reservations.setIamPolicy", + "path": "projects/{project}/zones/{zone}/reservations/{resource}/setIamPolicy", + "flatPath": "projects/{project}/zones/{zone}/reservations/{resource}/setIamPolicy", + "httpMethod": "POST", "parameters": { - "resource": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "description": "Name or id of the resource for this request.", - "location": "path" + "type": "string" }, - "project": { + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", - "description": "Project ID for this request." + "type": "string" }, - "region": { + "zone": { + "description": "The name of the zone for this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "type": "string", "required": true, - "description": "The name of the region for this request." + "type": "string" } }, - "request": { - "$ref": "TestPermissionsRequest" - }, - "description": "Returns permissions that a caller has on the specified resource.", "parameterOrder": [ "project", - "region", + "zone", "resource" ], - "response": { - "$ref": "TestPermissionsResponse" + "request": { + "$ref": "ZoneSetPolicyRequest" }, - "httpMethod": "POST", - "path": "projects/{project}/regions/{region}/subnetworks/{resource}/testIamPermissions" - }, - "setIamPolicy": { - "path": "projects/{project}/regions/{region}/subnetworks/{resource}/setIamPolicy", "response": { "$ref": "Policy" }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Sets the access control policy on the specified resource. Replaces any existing policy." + }, + "testIamPermissions": { + "id": "compute.reservations.testIamPermissions", + "path": "projects/{project}/zones/{zone}/reservations/{resource}/testIamPermissions", + "flatPath": "projects/{project}/zones/{zone}/reservations/{resource}/testIamPermissions", + "httpMethod": "POST", "parameters": { "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", "type": "string" }, "resource": { - "type": "string", - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "description": "Name or id of the resource for this request.", - "required": true - }, - "region": { + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", - "description": "The name of the region for this request." + "location": "path", + "required": true, + "type": "string" } }, "parameterOrder": [ "project", - "region", + "zone", "resource" ], - "httpMethod": "POST", - "flatPath": "projects/{project}/regions/{region}/subnetworks/{resource}/setIamPolicy", - "id": "compute.subnetworks.setIamPolicy", "request": { - "$ref": "RegionSetPolicyRequest" + "$ref": "TestPermissionsRequest" + }, + "response": { + "$ref": "TestPermissionsResponse" }, - "description": "Sets the access control policy on the specified resource. Replaces any existing policy.", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ] + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Returns permissions that a caller has on the specified resource." } } }, - "regionDisks": { + "instanceGroups": { "methods": { - "setLabels": { - "httpMethod": "POST", - "flatPath": "projects/{project}/regions/{region}/disks/{resource}/setLabels", - "id": "compute.regionDisks.setLabels", - "description": "Sets the labels on the target regional disk.", + "list": { + "id": "compute.instanceGroups.list", + "path": "projects/{project}/zones/{zone}/instanceGroups", + "flatPath": "projects/{project}/zones/{zone}/instanceGroups", + "httpMethod": "GET", "parameters": { - "resource": { - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true, - "location": "path", - "description": "Name or id of the resource for this request." + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" }, "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "description": "Project ID for this request.", "required": true, "type": "string" }, - "region": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true, - "type": "string", - "description": "The region for this request.", - "location": "path" + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" }, - "requestId": { - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" + "zone": { + "description": "The name of the zone where the instance group is located.", + "location": "path", + "required": true, + "type": "string" } }, "parameterOrder": [ "project", - "region", - "resource" + "zone" ], + "response": { + "$ref": "InstanceGroupList" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "response": { - "$ref": "Operation" - }, - "request": { - "$ref": "RegionSetLabelsRequest" - }, - "path": "projects/{project}/regions/{region}/disks/{resource}/setLabels" + "description": "Retrieves the list of zonal instance group resources contained within the specified zone. For managed instance groups, use the instanceGroupManagers or regionInstanceGroupManagers methods instead." }, - "getIamPolicy": { + "aggregatedList": { + "id": "compute.instanceGroups.aggregatedList", + "path": "projects/{project}/aggregated/instanceGroups", + "flatPath": "projects/{project}/aggregated/instanceGroups", "httpMethod": "GET", - "path": "projects/{project}/regions/{region}/disks/{resource}/getIamPolicy", - "response": { - "$ref": "Policy" + "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "includeAllScopes": { + "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", + "location": "query", + "type": "boolean" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + }, + "serviceProjectNumber": { + "description": "The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.", + "location": "query", + "type": "string", + "format": "int64" + } }, "parameterOrder": [ - "project", - "region", - "resource" + "project" ], + "response": { + "$ref": "InstanceGroupAggregatedList" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "id": "compute.regionDisks.getIamPolicy", + "description": "Retrieves the list of instance groups and sorts them by zone." + }, + "get": { + "id": "compute.instanceGroups.get", + "path": "projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}", + "flatPath": "projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}", + "httpMethod": "GET", "parameters": { - "resource": { + "instanceGroup": { + "description": "The name of the instance group.", "location": "path", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name or id of the resource for this request.", - "required": true - }, - "optionsRequestedPolicyVersion": { - "format": "int32", - "type": "integer", - "description": "Requested IAM Policy version.", - "location": "query" + "required": true, + "type": "string" }, "project": { - "type": "string", "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" }, - "region": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "zone": { + "description": "The name of the zone where the instance group is located.", "location": "path", "required": true, - "description": "The name of the region for this request.", "type": "string" } }, - "flatPath": "projects/{project}/regions/{region}/disks/{resource}/getIamPolicy", - "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists." + "parameterOrder": [ + "project", + "zone", + "instanceGroup" + ], + "response": { + "$ref": "InstanceGroup" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Returns the specified zonal instance group. Get a list of available zonal instance groups by making a list() request. For managed instance groups, use the instanceGroupManagers or regionInstanceGroupManagers methods instead." }, - "removeResourcePolicies": { - "flatPath": "projects/{project}/regions/{region}/disks/{disk}/removeResourcePolicies", - "id": "compute.regionDisks.removeResourcePolicies", + "insert": { + "id": "compute.instanceGroups.insert", + "path": "projects/{project}/zones/{zone}/instanceGroups", + "flatPath": "projects/{project}/zones/{zone}/instanceGroups", "httpMethod": "POST", - "path": "projects/{project}/regions/{region}/disks/{disk}/removeResourcePolicies", "parameters": { "project": { - "type": "string", - "required": true, - "location": "path", "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" }, "requestId": { "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", "type": "string" }, - "disk": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "The disk name for this request.", - "required": true, + "zone": { + "description": "The name of the zone where you want to create the instance group.", "location": "path", - "type": "string" - }, - "region": { - "type": "string", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "location": "path", - "description": "The name of the region for this request." + "type": "string" } }, + "parameterOrder": [ + "project", + "zone" + ], + "request": { + "$ref": "InstanceGroup" + }, "response": { "$ref": "Operation" }, - "request": { - "$ref": "RegionDisksRemoveResourcePoliciesRequest" - }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "description": "Removes resource policies from a regional disk.", - "parameterOrder": [ - "project", - "region", - "disk" - ] + "description": "Creates an instance group in the specified project using the parameters that are included in the request." }, - "createSnapshot": { - "request": { - "$ref": "Snapshot" - }, - "path": "projects/{project}/regions/{region}/disks/{disk}/createSnapshot", - "description": "Creates a snapshot of a specified persistent disk. For regular snapshot creation, consider using snapshots.insert instead, as that method supports more features, such as creating snapshots in a project different from the source disk project.", - "flatPath": "projects/{project}/regions/{region}/disks/{disk}/createSnapshot", - "parameterOrder": [ - "project", - "region", - "disk" - ], - "id": "compute.regionDisks.createSnapshot", + "delete": { + "id": "compute.instanceGroups.delete", + "path": "projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}", + "flatPath": "projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}", + "httpMethod": "DELETE", "parameters": { - "project": { + "instanceGroup": { + "description": "The name of the instance group to delete.", + "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", - "description": "Project ID for this request.", - "location": "path" + "type": "string" }, - "region": { - "type": "string", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the region for this request.", - "required": true + "required": true, + "type": "string" }, "requestId": { - "type": "string", + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "type": "string" }, - "disk": { - "type": "string", + "zone": { + "description": "The name of the zone where the instance group is located.", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "required": true, - "description": "Name of the regional persistent disk to snapshot." + "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "parameterOrder": [ + "project", + "zone", + "instanceGroup" ], - "httpMethod": "POST", "response": { "$ref": "Operation" - } - }, - "resize": { - "flatPath": "projects/{project}/regions/{region}/disks/{disk}/resize", - "httpMethod": "POST", - "id": "compute.regionDisks.resize", + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], + "description": "Deletes the specified instance group. The instances in the group are not deleted. Note that instance group must not belong to a backend service. Read Deleting an instance group for more information." + }, + "addInstances": { + "id": "compute.instanceGroups.addInstances", + "path": "projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/addInstances", + "flatPath": "projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/addInstances", + "httpMethod": "POST", "parameters": { - "requestId": { - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" + "instanceGroup": { + "description": "The name of the instance group where you are adding instances.", + "location": "path", + "required": true, + "type": "string" }, "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "description": "The project ID for this request.", - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" }, - "region": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", - "required": true, - "location": "path", - "description": "Name of the region for this request." + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" }, - "disk": { - "required": true, - "description": "Name of the regional persistent disk.", - "type": "string", + "zone": { + "description": "The name of the zone where the instance group is located.", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" + "required": true, + "type": "string" } }, - "description": "Resizes the specified regional persistent disk.", "parameterOrder": [ "project", - "region", - "disk" + "zone", + "instanceGroup" ], + "request": { + "$ref": "InstanceGroupsAddInstancesRequest" + }, "response": { "$ref": "Operation" }, - "path": "projects/{project}/regions/{region}/disks/{disk}/resize", - "request": { - "$ref": "RegionDisksResizeRequest" - } + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Adds a list of instances to the specified instance group. All of the instances in the instance group must be in the same network/subnetwork. Read Adding instances for more information." }, - "list": { - "response": { - "$ref": "DiskList" - }, + "removeInstances": { + "id": "compute.instanceGroups.removeInstances", + "path": "projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/removeInstances", + "flatPath": "projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/removeInstances", + "httpMethod": "POST", "parameters": { - "maxResults": { - "minimum": "0", - "location": "query", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "type": "integer", - "format": "uint32", - "default": "500" - }, - "region": { - "type": "string", + "instanceGroup": { + "description": "The name of the instance group where the specified instances will be removed.", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "required": true, - "description": "Name of the region for this request." - }, - "pageToken": { - "type": "string", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "location": "query" - }, - "filter": { - "type": "string", - "location": "query", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`." + "type": "string" }, "project": { - "required": true, + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", "location": "path", - "description": "Project ID for this request." + "required": true, + "type": "string" }, - "returnPartialSuccess": { + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." + "type": "string" }, - "orderBy": { - "type": "string", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "location": "query" + "zone": { + "description": "The name of the zone where the instance group is located.", + "location": "path", + "required": true, + "type": "string" } }, - "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], "parameterOrder": [ "project", - "region" + "zone", + "instanceGroup" ], - "description": "Retrieves the list of persistent disks contained within the specified region.", - "path": "projects/{project}/regions/{region}/disks", - "flatPath": "projects/{project}/regions/{region}/disks", - "id": "compute.regionDisks.list" - }, - "delete": { + "request": { + "$ref": "InstanceGroupsRemoveInstancesRequest" + }, "response": { "$ref": "Operation" }, @@ -42608,593 +55057,444 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "id": "compute.regionDisks.delete", - "flatPath": "projects/{project}/regions/{region}/disks/{disk}", - "description": "Deletes the specified regional persistent disk. Deleting a regional disk removes all the replicas of its data permanently and is irreversible. However, deleting a disk does not delete any snapshots previously made from the disk. You must separately delete snapshots.", + "description": "Removes one or more instances from the specified instance group, but does not delete those instances. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration before the VM instance is removed or deleted." + }, + "listInstances": { + "id": "compute.instanceGroups.listInstances", + "path": "projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/listInstances", + "flatPath": "projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/listInstances", + "httpMethod": "POST", "parameters": { - "disk": { - "required": true, - "description": "Name of the regional persistent disk to delete.", - "location": "path", + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", "type": "string" }, - "region": { - "type": "string", - "description": "Name of the region for this request.", + "instanceGroup": { + "description": "The name of the instance group from which you want to generate a list of included instances.", + "location": "path", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "location": "path" + "type": "string" }, - "requestId": { + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "type": "string" }, "project": { - "required": true, - "location": "path", - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request." - } - }, - "httpMethod": "DELETE", - "path": "projects/{project}/regions/{region}/disks/{disk}", - "parameterOrder": [ - "project", - "region", - "disk" - ] - }, - "testIamPermissions": { - "parameterOrder": [ - "project", - "region", - "resource" - ], - "path": "projects/{project}/regions/{region}/disks/{resource}/testIamPermissions", - "flatPath": "projects/{project}/regions/{region}/disks/{resource}/testIamPermissions", - "parameters": { - "project": { - "type": "string", - "required": true, "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "location": "path" - }, - "resource": { - "type": "string", - "description": "Name or id of the resource for this request.", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true + "required": true, + "type": "string" }, - "region": { - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "The name of the region for this request.", + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + }, + "zone": { + "description": "The name of the zone where the instance group is located.", + "location": "path", "required": true, - "location": "path" + "type": "string" } }, - "id": "compute.regionDisks.testIamPermissions", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "description": "Returns permissions that a caller has on the specified resource.", - "response": { - "$ref": "TestPermissionsResponse" - }, - "httpMethod": "POST", - "request": { - "$ref": "TestPermissionsRequest" - } - }, - "addResourcePolicies": { - "httpMethod": "POST", - "response": { - "$ref": "Operation" - }, "parameterOrder": [ "project", - "region", - "disk" + "zone", + "instanceGroup" ], "request": { - "$ref": "RegionDisksAddResourcePoliciesRequest" + "$ref": "InstanceGroupsListInstancesRequest" }, - "parameters": { - "disk": { - "type": "string", - "location": "path", - "description": "The disk name for this request.", - "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" - }, - "project": { - "required": true, - "description": "Project ID for this request.", - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string" - }, - "region": { - "required": true, - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "location": "path", - "description": "The name of the region for this request." - }, - "requestId": { - "type": "string", - "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - } + "response": { + "$ref": "InstanceGroupsListInstances" }, - "path": "projects/{project}/regions/{region}/disks/{disk}/addResourcePolicies", - "id": "compute.regionDisks.addResourcePolicies", - "flatPath": "projects/{project}/regions/{region}/disks/{disk}/addResourcePolicies", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "description": "Adds existing resource policies to a regional disk. You can only add one policy which will be applied to this disk for scheduling snapshot creation." - }, - "get": { - "httpMethod": "GET", - "parameterOrder": [ - "project", - "region", - "disk" - ], - "path": "projects/{project}/regions/{region}/disks/{disk}", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "flatPath": "projects/{project}/regions/{region}/disks/{disk}", - "response": { - "$ref": "Disk" - }, - "id": "compute.regionDisks.get", - "description": "Returns a specified regional persistent disk.", + "description": "Lists the instances in the specified instance group. The orderBy query parameter is not supported. The filter query parameter is supported, but only for expressions that use `eq` (equal) or `ne` (not equal) operators." + }, + "setNamedPorts": { + "id": "compute.instanceGroups.setNamedPorts", + "path": "projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/setNamedPorts", + "flatPath": "projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/setNamedPorts", + "httpMethod": "POST", "parameters": { - "disk": { - "type": "string", - "location": "path", - "required": true, - "description": "Name of the regional persistent disk to return.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" - }, - "project": { + "instanceGroup": { + "description": "The name of the instance group where the named ports are updated.", "location": "path", - "type": "string", "required": true, - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" }, - "region": { - "description": "Name of the region for this request.", - "type": "string", - "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "location": "path" - } - } - }, - "insert": { - "httpMethod": "POST", - "parameters": { "project": { - "type": "string", "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, - "location": "path" - }, - "region": { - "type": "string", - "required": true, "location": "path", - "description": "Name of the region for this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" - }, - "sourceImage": { - "type": "string", - "description": "Source image to restore onto a disk. This field is optional.", - "location": "query" + "required": true, + "type": "string" }, "requestId": { "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", "type": "string" + }, + "zone": { + "description": "The name of the zone where the instance group is located.", + "location": "path", + "required": true, + "type": "string" } }, - "flatPath": "projects/{project}/regions/{region}/disks", - "request": { - "$ref": "Disk" - }, - "id": "compute.regionDisks.insert", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], "parameterOrder": [ "project", - "region" + "zone", + "instanceGroup" ], + "request": { + "$ref": "InstanceGroupsSetNamedPortsRequest" + }, "response": { "$ref": "Operation" }, - "description": "Creates a persistent regional disk in the specified project using the data included in the request.", - "path": "projects/{project}/regions/{region}/disks" - }, - "setIamPolicy": { - "description": "Sets the access control policy on the specified resource. Replaces any existing policy.", - "path": "projects/{project}/regions/{region}/disks/{resource}/setIamPolicy", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Sets the named ports for the specified instance group." + } + } + }, + "regionInstanceGroups": { + "methods": { + "list": { + "id": "compute.regionInstanceGroups.list", + "path": "projects/{project}/regions/{region}/instanceGroups", + "flatPath": "projects/{project}/regions/{region}/instanceGroups", + "httpMethod": "GET", "parameters": { - "region": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "The name of the region for this request.", - "required": true, - "type": "string", - "location": "path" + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" }, - "resource": { - "type": "string", - "description": "Name or id of the resource for this request.", - "location": "path", - "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" }, "project": { - "required": true, + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", - "description": "Project ID for this request." + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request.", + "location": "path", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } }, "parameterOrder": [ "project", - "region", - "resource" - ], - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "region" ], - "id": "compute.regionDisks.setIamPolicy", "response": { - "$ref": "Policy" - }, - "request": { - "$ref": "RegionSetPolicyRequest" + "$ref": "RegionInstanceGroupList" }, - "httpMethod": "POST", - "flatPath": "projects/{project}/regions/{region}/disks/{resource}/setIamPolicy" - } - } - }, - "regionTargetHttpProxies": { - "methods": { - "get": { - "path": "projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "response": { - "$ref": "TargetHttpProxy" - }, - "parameterOrder": [ - "project", - "region", - "targetHttpProxy" - ], - "id": "compute.regionTargetHttpProxies.get", + "description": "Retrieves the list of instance group resources contained within the specified region." + }, + "get": { + "id": "compute.regionInstanceGroups.get", + "path": "projects/{project}/regions/{region}/instanceGroups/{instanceGroup}", + "flatPath": "projects/{project}/regions/{region}/instanceGroups/{instanceGroup}", "httpMethod": "GET", "parameters": { - "region": { - "description": "Name of the region scoping this request.", + "instanceGroup": { + "description": "Name of the instance group resource to return.", "location": "path", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "type": "string" }, - "targetHttpProxy": { - "required": true, - "type": "string", - "location": "path", - "description": "Name of the TargetHttpProxy resource to return.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" - }, "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "type": "string", - "description": "Project ID for this request." - } - }, - "description": "Returns the specified TargetHttpProxy resource in the specified region. Gets a list of available target HTTP proxies by making a list() request.", - "flatPath": "projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}" - }, - "delete": { - "httpMethod": "DELETE", - "path": "projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}", - "response": { - "$ref": "Operation" - }, - "parameterOrder": [ - "project", - "region", - "targetHttpProxy" - ], - "parameters": { - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query", "type": "string" }, - "targetHttpProxy": { - "description": "Name of the TargetHttpProxy resource to delete.", - "type": "string", - "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "location": "path" - }, - "project": { - "type": "string", - "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", - "location": "path" - }, "region": { - "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", "description": "Name of the region scoping this request.", - "location": "path" + "location": "path", + "required": true, + "type": "string" } }, - "flatPath": "projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}", - "id": "compute.regionTargetHttpProxies.delete", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "parameterOrder": [ + "project", + "region", + "instanceGroup" ], - "description": "Deletes the specified TargetHttpProxy resource." - }, - "insert": { "response": { - "$ref": "Operation" + "$ref": "InstanceGroup" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "parameterOrder": [ - "project", - "region" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "request": { - "$ref": "TargetHttpProxy" - }, + "description": "Returns the specified instance group resource." + }, + "listInstances": { + "id": "compute.regionInstanceGroups.listInstances", + "path": "projects/{project}/regions/{region}/instanceGroups/{instanceGroup}/listInstances", + "flatPath": "projects/{project}/regions/{region}/instanceGroups/{instanceGroup}/listInstances", "httpMethod": "POST", "parameters": { - "requestId": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "type": "string" }, - "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", - "type": "string", - "required": true, - "location": "path" - }, - "region": { - "location": "path", - "type": "string", - "description": "Name of the region scoping this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true - } - }, - "description": "Creates a TargetHttpProxy resource in the specified project and region using the data included in the request.", - "path": "projects/{project}/regions/{region}/targetHttpProxies", - "flatPath": "projects/{project}/regions/{region}/targetHttpProxies", - "id": "compute.regionTargetHttpProxies.insert" - }, - "list": { - "response": { - "$ref": "TargetHttpProxyList" - }, - "path": "projects/{project}/regions/{region}/targetHttpProxies", - "parameters": { - "region": { - "type": "string", + "instanceGroup": { + "description": "Name of the regional instance group for which we want to list the instances.", "location": "path", "required": true, - "description": "Name of the region scoping this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "type": "string" }, - "returnPartialSuccess": { - "type": "boolean", + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." + "type": "integer", + "format": "uint32" }, - "pageToken": { - "type": "string", + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", "location": "query", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results." - }, - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "type": "string", - "location": "query" + "type": "string" }, - "maxResults": { - "minimum": "0", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "location": "query", - "format": "uint32", - "default": "500", - "type": "integer" + "type": "string" }, "project": { - "required": true, - "type": "string", + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "description": "Project ID for this request." + "required": true, + "type": "string" }, - "orderBy": { - "location": "query", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "region": { + "description": "Name of the region scoping this request.", + "location": "path", + "required": true, "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } }, - "id": "compute.regionTargetHttpProxies.list", + "parameterOrder": [ + "project", + "region", + "instanceGroup" + ], + "request": { + "$ref": "RegionInstanceGroupsListInstancesRequest" + }, + "response": { + "$ref": "RegionInstanceGroupsListInstances" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "description": "Retrieves the list of TargetHttpProxy resources available to the specified project in the specified region.", - "parameterOrder": [ - "project", - "region" - ], - "httpMethod": "GET", - "flatPath": "projects/{project}/regions/{region}/targetHttpProxies" + "description": "Lists the instances in the specified instance group and displays information about the named ports. Depending on the specified options, this method can list all instances or only the instances that are running. The orderBy query parameter is not supported." }, - "setUrlMap": { - "path": "projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}/setUrlMap", + "setNamedPorts": { + "id": "compute.regionInstanceGroups.setNamedPorts", + "path": "projects/{project}/regions/{region}/instanceGroups/{instanceGroup}/setNamedPorts", + "flatPath": "projects/{project}/regions/{region}/instanceGroups/{instanceGroup}/setNamedPorts", "httpMethod": "POST", "parameters": { - "targetHttpProxy": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true, - "type": "string", + "instanceGroup": { + "description": "The name of the regional instance group where the named ports are updated.", "location": "path", - "description": "Name of the TargetHttpProxy to set a URL map for." - }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" + "required": true, + "type": "string" }, "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, "type": "string" }, "region": { - "type": "string", "description": "Name of the region scoping this request.", "location": "path", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, - "flatPath": "projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}/setUrlMap", - "id": "compute.regionTargetHttpProxies.setUrlMap", "parameterOrder": [ "project", "region", - "targetHttpProxy" + "instanceGroup" ], - "description": "Changes the URL map for TargetHttpProxy.", "request": { - "$ref": "UrlMapReference" + "$ref": "RegionInstanceGroupsSetNamedPortsRequest" + }, + "response": { + "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "response": { - "$ref": "Operation" - } + "description": "Sets the named ports for the specified regional instance group." } } }, - "regions": { + "instanceGroupManagers": { "methods": { - "get": { - "flatPath": "projects/{project}/regions/{region}", - "response": { - "$ref": "Region" + "list": { + "id": "compute.instanceGroupManagers.list", + "path": "projects/{project}/zones/{zone}/instanceGroupManagers", + "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers", + "httpMethod": "GET", + "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + }, + "zone": { + "description": "The name of the zone where the managed instance group is located.", + "location": "path", + "required": true, + "type": "string" + } }, - "path": "projects/{project}/regions/{region}", "parameterOrder": [ "project", - "region" + "zone" ], - "id": "compute.regions.get", + "response": { + "$ref": "InstanceGroupManagerList" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "description": "Returns the specified Region resource. Gets a list of available regions by making a list() request. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request.", - "parameters": { - "region": { - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name of the region resource to return.", - "type": "string", - "required": true - }, - "project": { - "required": true, - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", - "description": "Project ID for this request." - } - }, - "httpMethod": "GET" + "description": "Retrieves a list of managed instance groups that are contained within the specified project and zone." }, - "list": { - "parameterOrder": [ - "project" - ], - "description": "Retrieves the list of region resources available to the specified project. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `items.quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request.", + "aggregatedList": { + "id": "compute.instanceGroupManagers.aggregatedList", + "path": "projects/{project}/aggregated/instanceGroupManagers", + "flatPath": "projects/{project}/aggregated/instanceGroupManagers", + "httpMethod": "GET", "parameters": { - "project": { - "description": "Project ID for this request.", - "required": true, - "type": "string", - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "returnPartialSuccess": { - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "location": "query" - }, "filter": { - "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "location": "query" + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "includeAllScopes": { + "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", + "location": "query", + "type": "boolean" }, "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", "default": "500", "minimum": "0", + "location": "query", "type": "integer", - "format": "uint32", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "location": "query" + "format": "uint32" }, "orderBy": { "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", @@ -43202,497 +55502,559 @@ "type": "string" }, "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + }, + "serviceProjectNumber": { + "description": "The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.", "location": "query", "type": "string", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results." + "format": "int64" } }, - "httpMethod": "GET", - "id": "compute.regions.list", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "parameterOrder": [ + "project" ], "response": { - "$ref": "RegionList" + "$ref": "InstanceGroupManagerAggregatedList" }, - "flatPath": "projects/{project}/regions", - "path": "projects/{project}/regions" - } - } - }, - "images": { - "methods": { - "getFromFamily": { - "flatPath": "projects/{project}/global/images/family/{family}", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], + "description": "Retrieves the list of managed instance groups and groups them by zone." + }, + "get": { + "id": "compute.instanceGroupManagers.get", + "path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}", + "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}", + "httpMethod": "GET", "parameters": { - "family": { - "description": "Name of the image family to search for.", - "type": "string", + "instanceGroupManager": { + "description": "The name of the managed instance group.", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true + "required": true, + "type": "string" }, "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "type": "string", - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" + }, + "zone": { + "description": "The name of the zone where the managed instance group is located.", + "location": "path", + "required": true, + "type": "string" } }, "parameterOrder": [ "project", - "family" + "zone", + "instanceGroupManager" ], - "httpMethod": "GET", - "path": "projects/{project}/global/images/family/{family}", - "description": "Returns the latest image that is part of an image family and is not deprecated.", "response": { - "$ref": "Image" + "$ref": "InstanceGroupManager" }, - "id": "compute.images.getFromFamily" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Returns all of the details about the specified managed instance group." }, - "patch": { + "insert": { + "id": "compute.instanceGroupManagers.insert", + "path": "projects/{project}/zones/{zone}/instanceGroupManagers", + "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers", + "httpMethod": "POST", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "zone": { + "description": "The name of the zone where you want to create the managed instance group.", + "location": "path", + "required": true, + "type": "string" + } + }, "parameterOrder": [ "project", - "image" - ], - "path": "projects/{project}/global/images/{image}", - "httpMethod": "PATCH", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "zone" ], "request": { - "$ref": "Image" + "$ref": "InstanceGroupManager" }, "response": { "$ref": "Operation" }, - "description": "Patches the specified image with the data included in the request. Only the following fields can be modified: family, description, deprecation status.", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Creates a managed instance group using the information that you specify in the request. After the group is created, instances in the group are created using the specified instance template. This operation is marked as DONE when the group is created even if the instances in the group have not yet been created. You must separately verify the status of the individual instances with the listmanagedinstances method. A managed instance group can have up to 1000 VM instances per group. Please contact Cloud Support if you need an increase in this limit." + }, + "patch": { + "id": "compute.instanceGroupManagers.patch", + "path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}", + "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}", + "httpMethod": "PATCH", "parameters": { + "instanceGroupManager": { + "description": "The name of the instance group manager.", + "location": "path", + "required": true, + "type": "string" + }, "project": { "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "type": "string", - "location": "path" + "type": "string" }, "requestId": { "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", "type": "string" }, - "image": { - "description": "Name of the image resource to patch.", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "zone": { + "description": "The name of the zone where you want to create the managed instance group.", + "location": "path", "required": true, - "location": "path" + "type": "string" } }, - "id": "compute.images.patch", - "flatPath": "projects/{project}/global/images/{image}" - }, - "delete": { + "parameterOrder": [ + "project", + "zone", + "instanceGroupManager" + ], + "request": { + "$ref": "InstanceGroupManager" + }, "response": { "$ref": "Operation" }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Updates a managed instance group using the information that you specify in the request. This operation is marked as DONE when the group is patched even if the instances in the group are still in the process of being patched. You must separately verify the status of the individual instances with the listManagedInstances method. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. If you update your group to specify a new template or instance configuration, it's possible that your intended specification for each VM in the group is different from the current state of that VM. To learn how to apply an updated configuration to the VMs in a MIG, see Updating instances in a MIG." + }, + "delete": { + "id": "compute.instanceGroupManagers.delete", + "path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}", + "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}", "httpMethod": "DELETE", - "flatPath": "projects/{project}/global/images/{image}", - "path": "projects/{project}/global/images/{image}", "parameters": { - "image": { - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "instanceGroupManager": { + "description": "The name of the managed instance group to delete.", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "description": "Name of the image resource to delete." + "type": "string" }, "requestId": { - "type": "string", "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" + "location": "query", + "type": "string" }, - "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "zone": { + "description": "The name of the zone where the managed instance group is located.", "location": "path", "required": true, - "description": "Project ID for this request.", "type": "string" } }, - "description": "Deletes the specified image.", "parameterOrder": [ "project", - "image" + "zone", + "instanceGroupManager" ], - "id": "compute.images.delete", + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" - ] - }, - "get": { - "description": "Returns the specified image. Gets a list of available images by making a list() request.", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "parameterOrder": [ - "project", - "image" ], + "description": "Deletes the specified managed instance group and all of the instances in that group. Note that the instance group must not belong to a backend service. Read Deleting an instance group for more information." + }, + "deleteInstances": { + "id": "compute.instanceGroupManagers.deleteInstances", + "path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances", + "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances", + "httpMethod": "POST", "parameters": { - "image": { - "description": "Name of the image resource to return.", - "type": "string", - "required": true, + "instanceGroupManager": { + "description": "The name of the managed instance group.", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" + "required": true, + "type": "string" }, "project": { - "required": true, + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", - "description": "Project ID for this request." + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "zone": { + "description": "The name of the zone where the managed instance group is located.", + "location": "path", + "required": true, + "type": "string" } }, + "parameterOrder": [ + "project", + "zone", + "instanceGroupManager" + ], + "request": { + "$ref": "InstanceGroupManagersDeleteInstancesRequest" + }, "response": { - "$ref": "Image" + "$ref": "Operation" }, - "id": "compute.images.get", - "httpMethod": "GET", - "flatPath": "projects/{project}/global/images/{image}", - "path": "projects/{project}/global/images/{image}" - }, - "setIamPolicy": { - "path": "projects/{project}/global/images/{resource}/setIamPolicy", - "id": "compute.images.setIamPolicy", - "flatPath": "projects/{project}/global/images/{resource}/setIamPolicy", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], + "description": "Flags the specified instances in the managed instance group for immediate deletion. The instances are also removed from any target pools of which they were a member. This method reduces the targetSize of the managed instance group by the number of instances that you delete. This operation is marked as DONE when the action is scheduled even if the instances are still being deleted. You must separately verify the status of the deleting action with the listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request." + }, + "abandonInstances": { + "id": "compute.instanceGroupManagers.abandonInstances", + "path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances", + "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances", "httpMethod": "POST", "parameters": { + "instanceGroupManager": { + "description": "The name of the managed instance group.", + "location": "path", + "required": true, + "type": "string" + }, "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "type": "string", - "location": "path" + "type": "string" }, - "resource": { - "type": "string", + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "zone": { + "description": "The name of the zone where the managed instance group is located.", + "location": "path", "required": true, - "description": "Name or id of the resource for this request.", - "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "location": "path" + "type": "string" } }, - "description": "Sets the access control policy on the specified resource. Replaces any existing policy.", "parameterOrder": [ "project", - "resource" + "zone", + "instanceGroupManager" ], + "request": { + "$ref": "InstanceGroupManagersAbandonInstancesRequest" + }, "response": { - "$ref": "Policy" + "$ref": "Operation" }, - "request": { - "$ref": "GlobalSetPolicyRequest" - } + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Flags the specified instances to be removed from the managed instance group. Abandoning an instance does not delete the instance, but it does remove the instance from any target pools that are applied by the managed instance group. This method reduces the targetSize of the managed instance group by the number of instances that you abandon. This operation is marked as DONE when the action is scheduled even if the instances have not yet been removed from the group. You must separately verify the status of the abandoning action with the listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request." }, - "insert": { - "flatPath": "projects/{project}/global/images", + "recreateInstances": { + "id": "compute.instanceGroupManagers.recreateInstances", + "path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances", + "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances", + "httpMethod": "POST", "parameters": { + "instanceGroupManager": { + "description": "The name of the managed instance group.", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, "requestId": { "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", "type": "string" }, - "forceCreate": { - "location": "query", - "type": "boolean", - "description": "Force image creation if true." - }, - "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "zone": { + "description": "The name of the zone where the managed instance group is located.", "location": "path", - "type": "string", "required": true, - "description": "Project ID for this request." + "type": "string" } }, - "path": "projects/{project}/global/images", "parameterOrder": [ - "project" - ], - "description": "Creates an image in the specified project using the data included in the request.", - "id": "compute.images.insert", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/devstorage.full_control", - "https://www.googleapis.com/auth/devstorage.read_only", - "https://www.googleapis.com/auth/devstorage.read_write" + "project", + "zone", + "instanceGroupManager" ], - "httpMethod": "POST", "request": { - "$ref": "Image" + "$ref": "InstanceGroupManagersRecreateInstancesRequest" }, "response": { "$ref": "Operation" - } - }, - "testIamPermissions": { - "path": "projects/{project}/global/images/{resource}/testIamPermissions", - "request": { - "$ref": "TestPermissionsRequest" }, - "description": "Returns permissions that a caller has on the specified resource.", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], + "description": "Flags the specified VM instances in the managed instance group to be immediately recreated. Each instance is recreated using the group's current configuration. This operation is marked as DONE when the flag is set even if the instances have not yet been recreated. You must separately verify the status of each instance by checking its currentAction field; for more information, see Checking the status of managed instances. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request." + }, + "resize": { + "id": "compute.instanceGroupManagers.resize", + "path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize", + "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize", + "httpMethod": "POST", "parameters": { - "project": { + "instanceGroupManager": { + "description": "The name of the managed instance group.", "location": "path", - "type": "string", - "description": "Project ID for this request.", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" }, - "resource": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", - "description": "Name or id of the resource for this request.", "required": true, - "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" - } - }, - "httpMethod": "POST", - "flatPath": "projects/{project}/global/images/{resource}/testIamPermissions", - "response": { - "$ref": "TestPermissionsResponse" - }, - "parameterOrder": [ - "project", - "resource" - ], - "id": "compute.images.testIamPermissions" - }, - "getIamPolicy": { - "flatPath": "projects/{project}/global/images/{resource}/getIamPolicy", - "parameters": { - "optionsRequestedPolicyVersion": { - "format": "int32", + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "type": "integer", - "description": "Requested IAM Policy version." + "type": "string" }, - "resource": { + "size": { + "description": "The number of running instances that the managed instance group should maintain at any given time. The group automatically adds or removes instances to maintain the number of instances specified by this parameter.", + "location": "query", "required": true, - "description": "Name or id of the resource for this request.", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "location": "path" + "type": "integer", + "format": "int32" }, - "project": { - "type": "string", + "zone": { + "description": "The name of the zone where the managed instance group is located.", "location": "path", - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true + "required": true, + "type": "string" } }, - "id": "compute.images.getIamPolicy", - "path": "projects/{project}/global/images/{resource}/getIamPolicy", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.", "parameterOrder": [ "project", - "resource" + "zone", + "instanceGroupManager", + "size" ], "response": { - "$ref": "Policy" + "$ref": "Operation" }, - "httpMethod": "GET" - }, - "deprecate": { - "flatPath": "projects/{project}/global/images/{image}/deprecate", - "httpMethod": "POST", - "description": "Sets the deprecation status of an image. If an empty request body is given, clears the deprecation status instead.", - "id": "compute.images.deprecate", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "request": { - "$ref": "DeprecationStatus" - }, + "description": "Resizes the managed instance group. If you increase the size, the group creates new instances using the current instance template. If you decrease the size, the group deletes instances. The resize operation is marked DONE when the resize actions are scheduled even if the group has not yet added or deleted any instances. You must separately verify the status of the creating or deleting actions with the listmanagedinstances method. When resizing down, the instance group arbitrarily chooses the order in which VMs are deleted. The group takes into account some VM attributes when making the selection including: + The status of the VM instance. + The health of the VM instance. + The instance template version the VM is based on. + For regional managed instance groups, the location of the VM instance. This list is subject to change. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted." + }, + "setInstanceTemplate": { + "id": "compute.instanceGroupManagers.setInstanceTemplate", + "path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate", + "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate", + "httpMethod": "POST", "parameters": { - "requestId": { - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" - }, - "image": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "instanceGroupManager": { + "description": "The name of the managed instance group.", "location": "path", - "type": "string", "required": true, - "description": "Image name." + "type": "string" }, "project": { - "type": "string", + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request." + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "zone": { + "description": "The name of the zone where the managed instance group is located.", + "location": "path", + "required": true, + "type": "string" } }, "parameterOrder": [ "project", - "image" + "zone", + "instanceGroupManager" ], - "path": "projects/{project}/global/images/{image}/deprecate", + "request": { + "$ref": "InstanceGroupManagersSetInstanceTemplateRequest" + }, "response": { "$ref": "Operation" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Specifies the instance template to use when creating new instances in this group. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE." }, - "setLabels": { + "setTargetPools": { + "id": "compute.instanceGroupManagers.setTargetPools", + "path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools", + "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools", + "httpMethod": "POST", "parameters": { + "instanceGroupManager": { + "description": "The name of the managed instance group.", + "location": "path", + "required": true, + "type": "string" + }, "project": { "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" }, - "resource": { + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "zone": { + "description": "The name of the zone where the managed instance group is located.", "location": "path", "required": true, - "type": "string", - "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name or id of the resource for this request." + "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "parameterOrder": [ + "project", + "zone", + "instanceGroupManager" ], "request": { - "$ref": "GlobalSetLabelsRequest" + "$ref": "InstanceGroupManagersSetTargetPoolsRequest" }, "response": { "$ref": "Operation" }, - "id": "compute.images.setLabels", - "flatPath": "projects/{project}/global/images/{resource}/setLabels", - "httpMethod": "POST", - "description": "Sets the labels on an image. To learn more about labels, read the Labeling Resources documentation.", - "path": "projects/{project}/global/images/{resource}/setLabels", - "parameterOrder": [ - "project", - "resource" - ] - }, - "list": { - "httpMethod": "GET", - "parameterOrder": [ - "project" - ], - "id": "compute.images.list", - "response": { - "$ref": "ImageList" - }, - "path": "projects/{project}/global/images", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], - "flatPath": "projects/{project}/global/images", + "description": "Modifies the target pools to which all instances in this managed instance group are assigned. The target pools automatically apply to all of the instances in the managed instance group. This operation is marked DONE when you make the request even if the instances have not yet been added to their target pools. The change might take some time to apply to all of the instances in the group depending on the size of the group." + }, + "listManagedInstances": { + "id": "compute.instanceGroupManagers.listManagedInstances", + "path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances", + "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances", + "httpMethod": "POST", "parameters": { - "maxResults": { - "default": "500", - "minimum": "0", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "type": "integer", - "format": "uint32", - "location": "query" + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" }, - "project": { + "instanceGroupManager": { + "description": "The name of the managed instance group.", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", - "type": "string", - "required": true + "required": true, + "type": "string" }, - "filter": { - "type": "string", + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", "location": "query", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`." + "type": "integer", + "format": "uint32" }, "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", "location": "query", - "type": "string", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported." - }, - "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "location": "query", - "type": "boolean" + "type": "string" }, "pageToken": { "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "type": "string", - "location": "query" - } - }, - "description": "Retrieves the list of custom images available to the specified project. Custom images are images you create that belong to your project. This method does not get any images that belong to other projects, including publicly-available images, like Debian 8. If you want to get a list of publicly-available images, use this method to make a request to the respective image project, such as debian-cloud or windows-cloud." - } - } - }, - "regionSslPolicies": { - "methods": { - "insert": { - "id": "compute.regionSslPolicies.insert", - "request": { - "$ref": "SslPolicy" - }, - "path": "projects/{project}/regions/{region}/sslPolicies", - "parameters": { + "location": "query", + "type": "string" + }, "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, "location": "path", - "description": "Project ID for this request.", + "required": true, "type": "string" }, - "requestId": { + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "type": "boolean" }, - "region": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the region scoping this request.", + "zone": { + "description": "The name of the zone where the managed instance group is located.", "location": "path", "required": true, "type": "string" @@ -43700,1111 +56062,838 @@ }, "parameterOrder": [ "project", - "region" - ], - "flatPath": "projects/{project}/regions/{region}/sslPolicies", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "zone", + "instanceGroupManager" ], - "httpMethod": "POST", "response": { - "$ref": "Operation" - }, - "description": "Creates a new policy in the specified project and region using the data included in the request." - }, - "delete": { - "parameterOrder": [ - "project", - "region", - "sslPolicy" - ], - "path": "projects/{project}/regions/{region}/sslPolicies/{sslPolicy}", - "parameters": { - "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, - "description": "Project ID for this request.", - "type": "string", - "location": "path" - }, - "region": { - "location": "path", - "type": "string", - "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the region scoping this request." - }, - "requestId": { - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" - }, - "sslPolicy": { - "description": "Name of the SSL policy to delete. The name must be 1-63 characters long, and comply with RFC1035.", - "location": "path", - "type": "string", - "required": true - } + "$ref": "InstanceGroupManagersListManagedInstancesResponse" }, - "description": "Deletes the specified SSL policy. The SSL policy resource can be deleted only if it is not in use by any TargetHttpsProxy or TargetSslProxy resources.", - "flatPath": "projects/{project}/regions/{region}/sslPolicies/{sslPolicy}", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "id": "compute.regionSslPolicies.delete", - "httpMethod": "DELETE", - "response": { - "$ref": "Operation" - } + "description": "Lists all of the instances in the managed instance group. Each instance in the list has a currentAction, which indicates the action that the managed instance group is performing on the instance. For example, if the group is still creating an instance, the currentAction is CREATING. If a previous action failed, the list displays the errors for that failed action. The orderBy query parameter is not supported. The `pageToken` query parameter is supported only if the group's `listManagedInstancesResults` field is set to `PAGINATED`." }, - "list": { + "listErrors": { + "id": "compute.instanceGroupManagers.listErrors", + "path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listErrors", + "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listErrors", + "httpMethod": "GET", "parameters": { "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", "location": "query", - "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`." + "type": "string" }, - "project": { - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", + "instanceGroupManager": { + "description": "The name of the managed instance group. It must be a string that meets the requirements in RFC1035, or an unsigned long integer: must match regexp pattern: (?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?)|1-9{0,19}.", + "location": "path", "required": true, - "location": "path" - }, - "orderBy": { - "location": "query", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", "type": "string" }, - "returnPartialSuccess": { - "type": "boolean", + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." + "type": "integer", + "format": "uint32" }, - "region": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", - "description": "Name of the region scoping this request.", - "location": "path", - "required": true + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" }, "pageToken": { - "location": "query", "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", "type": "string" }, - "maxResults": { - "location": "query", - "default": "500", - "type": "integer", - "format": "uint32", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "minimum": "0" - } - }, - "httpMethod": "GET", - "description": "Lists all the SSL policies that have been configured for the specified project and region.", - "flatPath": "projects/{project}/regions/{region}/sslPolicies", - "parameterOrder": [ - "project", - "region" - ], - "path": "projects/{project}/regions/{region}/sslPolicies", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "id": "compute.regionSslPolicies.list", - "response": { - "$ref": "SslPoliciesList" - } - }, - "get": { - "description": "Lists all of the ordered rules present in a single specified policy.", - "parameters": { "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", "location": "path", "required": true, - "description": "Project ID for this request." + "type": "string" }, - "region": { - "location": "path", - "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", - "description": "Name of the region scoping this request." + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" }, - "sslPolicy": { + "zone": { + "description": "The name of the zone where the managed instance group is located. It should conform to RFC1035.", "location": "path", "required": true, - "description": "Name of the SSL policy to update. The name must be 1-63 characters long, and comply with RFC1035.", "type": "string" } }, - "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "response": { - "$ref": "SslPolicy" - }, - "path": "projects/{project}/regions/{region}/sslPolicies/{sslPolicy}", - "id": "compute.regionSslPolicies.get", - "flatPath": "projects/{project}/regions/{region}/sslPolicies/{sslPolicy}", - "parameterOrder": [ - "project", - "region", - "sslPolicy" - ] - }, - "patch": { - "flatPath": "projects/{project}/regions/{region}/sslPolicies/{sslPolicy}", - "path": "projects/{project}/regions/{region}/sslPolicies/{sslPolicy}", - "request": { - "$ref": "SslPolicy" - }, "parameterOrder": [ "project", - "region", - "sslPolicy" + "zone", + "instanceGroupManager" ], "response": { - "$ref": "Operation" + "$ref": "InstanceGroupManagersListErrorsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "id": "compute.regionSslPolicies.patch", + "description": "Lists all errors thrown by actions on instances for a given managed instance group. The filter and orderBy query parameters are not supported." + }, + "listPerInstanceConfigs": { + "id": "compute.instanceGroupManagers.listPerInstanceConfigs", + "path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs", + "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs", + "httpMethod": "POST", "parameters": { - "region": { - "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", - "description": "Name of the region scoping this request.", - "location": "path" - }, - "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "location": "path", - "description": "Project ID for this request.", - "required": true, + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", "type": "string" }, - "sslPolicy": { - "type": "string", + "instanceGroupManager": { + "description": "The name of the managed instance group. It should conform to RFC1035.", "location": "path", "required": true, - "description": "Name of the SSL policy to update. The name must be 1-63 characters long, and comply with RFC1035." + "type": "string" }, - "requestId": { - "type": "string", - "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - } - }, - "description": "Patches the specified SSL policy with the data included in the request.", - "httpMethod": "PATCH" - }, - "listAvailableFeatures": { - "parameters": { "maxResults": { - "minimum": "0", - "type": "integer", + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", "default": "500", + "minimum": "0", "location": "query", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "type": "integer", "format": "uint32" }, - "project": { - "type": "string", - "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "location": "path", - "description": "Project ID for this request." - }, - "region": { - "type": "string", - "required": true, - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the region scoping this request." - }, "orderBy": { - "type": "string", "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "location": "query" + "location": "query", + "type": "string" }, "pageToken": { - "type": "string", + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "location": "query", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results." + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" }, "returnPartialSuccess": { - "type": "boolean", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." + "type": "boolean" }, - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "type": "string", - "location": "query" + "zone": { + "description": "The name of the zone where the managed instance group is located. It should conform to RFC1035.", + "location": "path", + "required": true, + "type": "string" } }, - "httpMethod": "GET", + "parameterOrder": [ + "project", + "zone", + "instanceGroupManager" + ], + "response": { + "$ref": "InstanceGroupManagersListPerInstanceConfigsResp" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "description": "Lists all features that can be specified in the SSL policy when using custom profile.", - "flatPath": "projects/{project}/regions/{region}/sslPolicies/listAvailableFeatures", - "response": { - "$ref": "SslPoliciesListAvailableFeaturesResponse" - }, - "id": "compute.regionSslPolicies.listAvailableFeatures", - "parameterOrder": [ - "project", - "region" - ], - "path": "projects/{project}/regions/{region}/sslPolicies/listAvailableFeatures" - } - } - }, - "nodeGroups": { - "methods": { - "addNodes": { + "description": "Lists all of the per-instance configurations defined for the managed instance group. The orderBy query parameter is not supported." + }, + "updatePerInstanceConfigs": { + "id": "compute.instanceGroupManagers.updatePerInstanceConfigs", + "path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs", + "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs", + "httpMethod": "POST", "parameters": { - "zone": { - "type": "string", + "instanceGroupManager": { + "description": "The name of the managed instance group. It should conform to RFC1035.", + "location": "path", "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "description": "The name of the zone for this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "required": true, + "type": "string" }, "requestId": { "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", "type": "string" }, - "project": { + "zone": { + "description": "The name of the zone where the managed instance group is located. It should conform to RFC1035.", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", - "description": "Project ID for this request.", - "required": true - }, - "nodeGroup": { "required": true, - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name of the NodeGroup resource.", "type": "string" } }, - "response": { - "$ref": "Operation" - }, - "description": "Adds specified number of nodes to the node group.", - "httpMethod": "POST", - "request": { - "$ref": "NodeGroupsAddNodesRequest" - }, "parameterOrder": [ "project", "zone", - "nodeGroup" + "instanceGroupManager" ], - "flatPath": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/addNodes", + "request": { + "$ref": "InstanceGroupManagersUpdatePerInstanceConfigsReq" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "path": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/addNodes", - "id": "compute.nodeGroups.addNodes" + "description": "Inserts or updates per-instance configurations for the managed instance group. perInstanceConfig.name serves as a key used to distinguish whether to perform insert or patch." }, - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified resource.", - "response": { - "$ref": "TestPermissionsResponse" - }, - "path": "projects/{project}/zones/{zone}/nodeGroups/{resource}/testIamPermissions", - "request": { - "$ref": "TestPermissionsRequest" - }, - "id": "compute.nodeGroups.testIamPermissions", + "patchPerInstanceConfigs": { + "id": "compute.instanceGroupManagers.patchPerInstanceConfigs", + "path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/patchPerInstanceConfigs", + "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/patchPerInstanceConfigs", "httpMethod": "POST", - "flatPath": "projects/{project}/zones/{zone}/nodeGroups/{resource}/testIamPermissions", "parameters": { - "project": { - "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "instanceGroupManager": { + "description": "The name of the managed instance group. It should conform to RFC1035.", "location": "path", - "type": "string", - "description": "Project ID for this request." - }, - "zone": { "required": true, - "location": "path", - "type": "string", - "description": "The name of the zone for this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "type": "string" }, - "resource": { - "location": "path", - "required": true, - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name or id of the resource for this request." - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "parameterOrder": [ - "project", - "zone", - "resource" - ] - }, - "get": { - "flatPath": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}", - "response": { - "$ref": "NodeGroup" - }, - "parameters": { "project": { - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "description": "Project ID for this request.", - "required": true, - "location": "path" - }, - "nodeGroup": { + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "description": "Name of the node group to return.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", "type": "string" }, "zone": { - "description": "The name of the zone for this request.", - "type": "string", + "description": "The name of the zone where the managed instance group is located. It should conform to RFC1035.", + "location": "path", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "location": "path" + "type": "string" } }, - "description": "Returns the specified NodeGroup. Get a list of available NodeGroups by making a list() request. Note: the \"nodes\" field should not be used. Use nodeGroups.listNodes instead.", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], "parameterOrder": [ "project", "zone", - "nodeGroup" + "instanceGroupManager" ], - "httpMethod": "GET", - "id": "compute.nodeGroups.get", - "path": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}" - }, - "getIamPolicy": { + "request": { + "$ref": "InstanceGroupManagersPatchPerInstanceConfigsReq" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], - "id": "compute.nodeGroups.getIamPolicy", + "description": "Inserts or patches per-instance configurations for the managed instance group. perInstanceConfig.name serves as a key used to distinguish whether to perform insert or patch." + }, + "deletePerInstanceConfigs": { + "id": "compute.instanceGroupManagers.deletePerInstanceConfigs", + "path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs", + "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs", + "httpMethod": "POST", "parameters": { - "resource": { - "type": "string", - "description": "Name or id of the resource for this request.", + "instanceGroupManager": { + "description": "The name of the managed instance group. It should conform to RFC1035.", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true - }, - "zone": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "The name of the zone for this request.", "required": true, - "location": "path", "type": "string" }, - "optionsRequestedPolicyVersion": { - "format": "int32", - "type": "integer", - "description": "Requested IAM Policy version.", - "location": "query" - }, "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "type": "string", - "description": "Project ID for this request." + "type": "string" + }, + "zone": { + "description": "The name of the zone where the managed instance group is located. It should conform to RFC1035.", + "location": "path", + "required": true, + "type": "string" } }, - "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.", - "response": { - "$ref": "Policy" - }, - "path": "projects/{project}/zones/{zone}/nodeGroups/{resource}/getIamPolicy", - "httpMethod": "GET", "parameterOrder": [ "project", "zone", - "resource" + "instanceGroupManager" ], - "flatPath": "projects/{project}/zones/{zone}/nodeGroups/{resource}/getIamPolicy" - }, - "deleteNodes": { + "request": { + "$ref": "InstanceGroupManagersDeletePerInstanceConfigsReq" + }, "response": { "$ref": "Operation" }, - "httpMethod": "POST", - "description": "Deletes specified nodes from the node group.", - "parameterOrder": [ - "project", - "zone", - "nodeGroup" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" ], - "path": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/deleteNodes", - "flatPath": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/deleteNodes", - "id": "compute.nodeGroups.deleteNodes", + "description": "Deletes selected per-instance configurations for the managed instance group." + }, + "applyUpdatesToInstances": { + "id": "compute.instanceGroupManagers.applyUpdatesToInstances", + "path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances", + "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances", + "httpMethod": "POST", "parameters": { - "project": { + "instanceGroupManager": { + "description": "The name of the managed instance group, should conform to RFC1035.", "location": "path", - "description": "Project ID for this request.", "required": true, - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" + "type": "string" }, - "zone": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "The name of the zone for this request." + "type": "string" }, - "nodeGroup": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", + "zone": { + "description": "The name of the zone where the managed instance group is located. Should conform to RFC1035.", "location": "path", "required": true, - "description": "Name of the NodeGroup resource whose nodes will be deleted." + "type": "string" } }, + "parameterOrder": [ + "project", + "zone", + "instanceGroupManager" + ], + "request": { + "$ref": "InstanceGroupManagersApplyUpdatesRequest" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "request": { - "$ref": "NodeGroupsDeleteNodesRequest" - } + "description": "Applies changes to selected instances on the managed instance group. This method can be used to apply new overrides and/or new versions." }, - "insert": { + "createInstances": { + "id": "compute.instanceGroupManagers.createInstances", + "path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/createInstances", + "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/createInstances", "httpMethod": "POST", - "request": { - "$ref": "NodeGroup" - }, - "path": "projects/{project}/zones/{zone}/nodeGroups", "parameters": { - "project": { - "type": "string", - "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "instanceGroupManager": { + "description": "The name of the managed instance group. It should conform to RFC1035.", "location": "path", - "description": "Project ID for this request." + "required": true, + "type": "string" }, - "zone": { - "description": "The name of the zone for this request.", - "type": "string", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "type": "string" }, "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" - }, - "initialNodeCount": { - "description": "Initial count of nodes in the node group.", - "format": "int32", + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "type": "integer", - "required": true + "type": "string" + }, + "zone": { + "description": "The name of the zone where the managed instance group is located. It should conform to RFC1035.", + "location": "path", + "required": true, + "type": "string" } }, - "id": "compute.nodeGroups.insert", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "flatPath": "projects/{project}/zones/{zone}/nodeGroups", "parameterOrder": [ "project", "zone", - "initialNodeCount" + "instanceGroupManager" ], - "description": "Creates a NodeGroup resource in the specified project using the data included in the request.", + "request": { + "$ref": "InstanceGroupManagersCreateInstancesRequest" + }, "response": { "$ref": "Operation" - } - }, - "listNodes": { - "flatPath": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/listNodes", - "httpMethod": "POST", - "response": { - "$ref": "NodeGroupsListNodes" }, - "description": "Lists nodes in the node group.", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Creates instances with per-instance configurations in this managed instance group. Instances are created using the current instance template. The create instances operation is marked DONE if the createInstances request is successful. The underlying actions take additional time. You must separately verify the status of the creating or actions with the listmanagedinstances method." + } + } + }, + "regionInstanceGroupManagers": { + "methods": { + "list": { + "id": "compute.regionInstanceGroupManagers.list", + "path": "projects/{project}/regions/{region}/instanceGroupManagers", + "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers", + "httpMethod": "GET", "parameters": { - "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "type": "boolean", - "location": "query" - }, - "zone": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "location": "path", - "description": "The name of the zone for this request.", - "required": true, - "type": "string" - }, "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", "location": "query", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", "type": "string" }, - "pageToken": { - "type": "string", - "location": "query", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results." - }, "maxResults": { - "default": "500", - "location": "query", "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", "minimum": "0", + "location": "query", "type": "integer", "format": "uint32" }, "orderBy": { "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "type": "string", - "location": "query" + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" }, "project": { - "location": "path", "description": "Project ID for this request.", - "type": "string", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" }, - "nodeGroup": { - "required": true, - "description": "Name of the NodeGroup resource whose nodes you want to list.", + "region": { + "description": "Name of the region scoping this request.", "location": "path", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } }, "parameterOrder": [ "project", - "zone", - "nodeGroup" + "region" ], + "response": { + "$ref": "RegionInstanceGroupManagerList" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "path": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/listNodes", - "id": "compute.nodeGroups.listNodes" + "description": "Retrieves the list of managed instance groups that are contained within the specified region." }, - "setIamPolicy": { - "httpMethod": "POST", - "response": { - "$ref": "Policy" - }, + "get": { + "id": "compute.regionInstanceGroupManagers.get", + "path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}", + "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}", + "httpMethod": "GET", "parameters": { - "zone": { - "type": "string", - "required": true, - "description": "The name of the zone for this request.", + "instanceGroupManager": { + "description": "Name of the managed instance group to return.", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "required": true, + "type": "string" }, "project": { - "location": "path", - "required": true, "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, "type": "string" }, - "resource": { - "required": true, - "type": "string", + "region": { + "description": "Name of the region scoping this request.", "location": "path", - "description": "Name or id of the resource for this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" + "required": true, + "type": "string" } }, - "flatPath": "projects/{project}/zones/{zone}/nodeGroups/{resource}/setIamPolicy", - "path": "projects/{project}/zones/{zone}/nodeGroups/{resource}/setIamPolicy", "parameterOrder": [ "project", - "zone", - "resource" + "region", + "instanceGroupManager" ], - "request": { - "$ref": "ZoneSetPolicyRequest" + "response": { + "$ref": "InstanceGroupManager" }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "id": "compute.nodeGroups.setIamPolicy", - "description": "Sets the access control policy on the specified resource. Replaces any existing policy." - }, - "list": { "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "response": { - "$ref": "NodeGroupList" - }, - "id": "compute.nodeGroups.list", - "httpMethod": "GET", - "path": "projects/{project}/zones/{zone}/nodeGroups", - "parameterOrder": [ - "project", - "zone" - ], - "description": "Retrieves a list of node groups available to the specified project. Note: use nodeGroups.listNodes for more details about each group.", + "description": "Returns all of the details about the specified managed instance group." + }, + "insert": { + "id": "compute.regionInstanceGroupManagers.insert", + "path": "projects/{project}/regions/{region}/instanceGroupManagers", + "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers", + "httpMethod": "POST", "parameters": { - "returnPartialSuccess": { - "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "type": "boolean" - }, - "orderBy": { - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "type": "string", - "location": "query" - }, "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "description": "Project ID for this request.", - "type": "string", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "required": true - }, - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "location": "query", + "required": true, "type": "string" }, - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "type": "string", - "location": "query" - }, - "maxResults": { - "minimum": "0", - "type": "integer", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "default": "500", - "location": "query", - "format": "uint32" - }, - "zone": { - "description": "The name of the zone for this request.", + "region": { + "description": "Name of the region scoping this request.", "location": "path", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", "type": "string" } }, - "flatPath": "projects/{project}/zones/{zone}/nodeGroups" - }, - "patch": { - "httpMethod": "PATCH", - "request": { - "$ref": "NodeGroup" - }, - "path": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}", "parameterOrder": [ "project", - "zone", - "nodeGroup" + "region" ], - "id": "compute.nodeGroups.patch", - "description": "Updates the specified node group.", + "request": { + "$ref": "InstanceGroupManager" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "response": { - "$ref": "Operation" - }, - "flatPath": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}", + "description": "Creates a managed instance group using the information that you specify in the request. After the group is created, instances in the group are created using the specified instance template. This operation is marked as DONE when the group is created even if the instances in the group have not yet been created. You must separately verify the status of the individual instances with the listmanagedinstances method. A regional managed instance group can contain up to 2000 instances." + }, + "patch": { + "id": "compute.regionInstanceGroupManagers.patch", + "path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}", + "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}", + "httpMethod": "PATCH", "parameters": { - "project": { - "description": "Project ID for this request.", + "instanceGroupManager": { + "description": "The name of the instance group manager.", "location": "path", "required": true, - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "requestId": { - "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "type": "string" }, - "zone": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "description": "The name of the zone for this request.", "required": true, "type": "string" }, - "nodeGroup": { + "region": { + "description": "Name of the region scoping this request.", "location": "path", - "description": "Name of the NodeGroup resource to update.", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "type": "string" - } - } - }, - "delete": { - "parameters": { - "zone": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true, - "type": "string", - "description": "The name of the zone for this request.", - "location": "path" }, "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - }, - "nodeGroup": { - "description": "Name of the NodeGroup resource to delete.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true, - "location": "path", "type": "string" - }, - "project": { - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "location": "path", - "type": "string", - "required": true } }, - "flatPath": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}", - "response": { - "$ref": "Operation" - }, - "id": "compute.nodeGroups.delete", - "path": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}", - "description": "Deletes the specified NodeGroup resource.", - "httpMethod": "DELETE", "parameterOrder": [ "project", - "zone", - "nodeGroup" + "region", + "instanceGroupManager" ], + "request": { + "$ref": "InstanceGroupManager" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" - ] - }, - "aggregatedList": { - "parameterOrder": [ - "project" ], - "flatPath": "projects/{project}/aggregated/nodeGroups", - "httpMethod": "GET", + "description": "Updates a managed instance group using the information that you specify in the request. This operation is marked as DONE when the group is patched even if the instances in the group are still in the process of being patched. You must separately verify the status of the individual instances with the listmanagedinstances method. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. If you update your group to specify a new template or instance configuration, it's possible that your intended specification for each VM in the group is different from the current state of that VM. To learn how to apply an updated configuration to the VMs in a MIG, see Updating instances in a MIG." + }, + "delete": { + "id": "compute.regionInstanceGroupManagers.delete", + "path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}", + "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}", + "httpMethod": "DELETE", "parameters": { - "orderBy": { - "location": "query", - "type": "string", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported." - }, - "maxResults": { - "minimum": "0", - "location": "query", - "format": "uint32", - "default": "500", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "type": "integer" - }, - "includeAllScopes": { - "type": "boolean", - "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", - "location": "query" + "instanceGroupManager": { + "description": "Name of the managed instance group to delete.", + "location": "path", + "required": true, + "type": "string" }, - "pageToken": { - "location": "query", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, "type": "string" }, - "returnPartialSuccess": { - "location": "query", - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." + "region": { + "description": "Name of the region scoping this request.", + "location": "path", + "required": true, + "type": "string" }, - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", "type": "string" - }, - "project": { - "required": true, - "description": "Project ID for this request.", - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "location": "path" } }, - "description": "Retrieves an aggregated list of node groups. Note: use nodeGroups.listNodes for more details about each group.", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "parameterOrder": [ + "project", + "region", + "instanceGroupManager" ], - "response": { - "$ref": "NodeGroupAggregatedList" - }, - "id": "compute.nodeGroups.aggregatedList", - "path": "projects/{project}/aggregated/nodeGroups" - }, - "setNodeTemplate": { - "request": { - "$ref": "NodeGroupsSetNodeTemplateRequest" - }, "response": { "$ref": "Operation" }, - "description": "Updates the node template of the node group.", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Deletes the specified managed instance group and all of the instances in that group." + }, + "deleteInstances": { + "id": "compute.regionInstanceGroupManagers.deleteInstances", + "path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deleteInstances", + "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deleteInstances", "httpMethod": "POST", "parameters": { + "instanceGroupManager": { + "description": "Name of the managed instance group.", + "location": "path", + "required": true, + "type": "string" + }, "project": { "description": "Project ID for this request.", - "type": "string", - "required": true, + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "required": true, + "type": "string" }, - "nodeGroup": { - "description": "Name of the NodeGroup resource to update.", - "type": "string", + "region": { + "description": "Name of the region scoping this request.", + "location": "path", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "location": "path" + "type": "string" }, "requestId": { - "type": "string", + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - }, - "zone": { - "description": "The name of the zone for this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "location": "path", - "required": true, "type": "string" } }, "parameterOrder": [ "project", - "zone", - "nodeGroup" + "region", + "instanceGroupManager" ], - "id": "compute.nodeGroups.setNodeTemplate", - "flatPath": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/setNodeTemplate", - "path": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/setNodeTemplate", + "request": { + "$ref": "RegionInstanceGroupManagersDeleteInstancesRequest" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" - ] - } - } - }, - "externalVpnGateways": { - "methods": { - "list": { - "description": "Retrieves the list of ExternalVpnGateway available to the specified project.", - "httpMethod": "GET", + ], + "description": "Flags the specified instances in the managed instance group to be immediately deleted. The instances are also removed from any target pools of which they were a member. This method reduces the targetSize of the managed instance group by the number of instances that you delete. The deleteInstances operation is marked DONE if the deleteInstances request is successful. The underlying actions take additional time. You must separately verify the status of the deleting action with the listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request." + }, + "abandonInstances": { + "id": "compute.regionInstanceGroupManagers.abandonInstances", + "path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/abandonInstances", + "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/abandonInstances", + "httpMethod": "POST", "parameters": { - "maxResults": { - "type": "integer", - "location": "query", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "default": "500", - "minimum": "0", - "format": "uint32" + "instanceGroupManager": { + "description": "Name of the managed instance group.", + "location": "path", + "required": true, + "type": "string" }, "project": { - "location": "path", "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", - "required": true - }, - "orderBy": { - "location": "query", - "type": "string", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported." - }, - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "type": "string", - "location": "query" + "location": "path", + "required": true, + "type": "string" }, - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "type": "string", - "location": "query" + "region": { + "description": "Name of the region scoping this request.", + "location": "path", + "required": true, + "type": "string" }, - "returnPartialSuccess": { - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "location": "query" + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "parameterOrder": [ + "project", + "region", + "instanceGroupManager" ], - "id": "compute.externalVpnGateways.list", + "request": { + "$ref": "RegionInstanceGroupManagersAbandonInstancesRequest" + }, "response": { - "$ref": "ExternalVpnGatewayList" + "$ref": "Operation" }, - "parameterOrder": [ - "project" - ], - "flatPath": "projects/{project}/global/externalVpnGateways", - "path": "projects/{project}/global/externalVpnGateways" - }, - "delete": { "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "httpMethod": "DELETE", - "id": "compute.externalVpnGateways.delete", - "path": "projects/{project}/global/externalVpnGateways/{externalVpnGateway}", - "description": "Deletes the specified externalVpnGateway.", + "description": "Flags the specified instances to be immediately removed from the managed instance group. Abandoning an instance does not delete the instance, but it does remove the instance from any target pools that are applied by the managed instance group. This method reduces the targetSize of the managed instance group by the number of instances that you abandon. This operation is marked as DONE when the action is scheduled even if the instances have not yet been removed from the group. You must separately verify the status of the abandoning action with the listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request." + }, + "recreateInstances": { + "id": "compute.regionInstanceGroupManagers.recreateInstances", + "path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/recreateInstances", + "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/recreateInstances", + "httpMethod": "POST", "parameters": { - "requestId": { - "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - }, - "externalVpnGateway": { - "required": true, - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "instanceGroupManager": { + "description": "Name of the managed instance group.", "location": "path", - "description": "Name of the externalVpnGateways to delete." + "required": true, + "type": "string" }, "project": { - "type": "string", + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request.", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, "parameterOrder": [ "project", - "externalVpnGateway" + "region", + "instanceGroupManager" ], + "request": { + "$ref": "RegionInstanceGroupManagersRecreateRequest" + }, "response": { "$ref": "Operation" }, - "flatPath": "projects/{project}/global/externalVpnGateways/{externalVpnGateway}" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Flags the specified VM instances in the managed instance group to be immediately recreated. Each instance is recreated using the group's current configuration. This operation is marked as DONE when the flag is set even if the instances have not yet been recreated. You must separately verify the status of each instance by checking its currentAction field; for more information, see Checking the status of managed instances. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request." }, - "setLabels": { - "path": "projects/{project}/global/externalVpnGateways/{resource}/setLabels", - "request": { - "$ref": "GlobalSetLabelsRequest" - }, - "flatPath": "projects/{project}/global/externalVpnGateways/{resource}/setLabels", + "resize": { + "id": "compute.regionInstanceGroupManagers.resize", + "path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resize", + "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resize", + "httpMethod": "POST", "parameters": { - "resource": { - "type": "string", + "instanceGroupManager": { + "description": "Name of the managed instance group.", "location": "path", - "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "required": true, - "description": "Name or id of the resource for this request." + "type": "string" }, "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", "required": true, - "description": "Project ID for this request." + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request.", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "size": { + "description": "Number of instances that should exist in this instance group manager.", + "minimum": "0", + "location": "query", + "required": true, + "type": "integer", + "format": "int32" } }, - "response": { - "$ref": "Operation" - }, - "httpMethod": "POST", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "id": "compute.externalVpnGateways.setLabels", "parameterOrder": [ "project", - "resource" - ], - "description": "Sets the labels on an ExternalVpnGateway. To learn more about labels, read the Labeling Resources documentation." - }, - "insert": { - "flatPath": "projects/{project}/global/externalVpnGateways", - "parameterOrder": [ - "project" + "region", + "instanceGroupManager", + "size" ], "response": { "$ref": "Operation" }, - "description": "Creates a ExternalVpnGateway in the specified project using the data included in the request.", - "path": "projects/{project}/global/externalVpnGateways", - "httpMethod": "POST", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], + "description": "Changes the intended size of the managed instance group. If you increase the size, the group creates new instances using the current instance template. If you decrease the size, the group deletes one or more instances. The resize operation is marked DONE if the resize request is successful. The underlying actions take additional time. You must separately verify the status of the creating or deleting actions with the listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted." + }, + "setInstanceTemplate": { + "id": "compute.regionInstanceGroupManagers.setInstanceTemplate", + "path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate", + "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate", + "httpMethod": "POST", "parameters": { + "instanceGroupManager": { + "description": "The name of the managed instance group.", + "location": "path", + "required": true, + "type": "string" + }, "project": { "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", @@ -44812,2070 +56901,1818 @@ "required": true, "type": "string" }, + "region": { + "description": "Name of the region scoping this request.", + "location": "path", + "required": true, + "type": "string" + }, "requestId": { "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", "type": "string" } }, - "request": { - "$ref": "ExternalVpnGateway" - }, - "id": "compute.externalVpnGateways.insert" - }, - "get": { "parameterOrder": [ "project", - "externalVpnGateway" + "region", + "instanceGroupManager" ], - "id": "compute.externalVpnGateways.get", - "flatPath": "projects/{project}/global/externalVpnGateways/{externalVpnGateway}", - "response": { - "$ref": "ExternalVpnGateway" + "request": { + "$ref": "RegionInstanceGroupManagersSetTemplateRequest" }, - "description": "Returns the specified externalVpnGateway. Get a list of available externalVpnGateways by making a list() request.", - "parameters": { - "project": { - "description": "Project ID for this request.", - "location": "path", - "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string" - }, - "externalVpnGateway": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", - "description": "Name of the externalVpnGateway to return.", - "required": true, - "location": "path" - } + "response": { + "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], - "path": "projects/{project}/global/externalVpnGateways/{externalVpnGateway}", - "httpMethod": "GET" + "description": "Sets the instance template to use when creating new instances or recreating instances in this group. Existing instances are not affected." }, - "testIamPermissions": { - "parameterOrder": [ - "project", - "resource" - ], - "id": "compute.externalVpnGateways.testIamPermissions", - "flatPath": "projects/{project}/global/externalVpnGateways/{resource}/testIamPermissions", + "setTargetPools": { + "id": "compute.regionInstanceGroupManagers.setTargetPools", + "path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setTargetPools", + "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setTargetPools", "httpMethod": "POST", - "path": "projects/{project}/global/externalVpnGateways/{resource}/testIamPermissions", - "description": "Returns permissions that a caller has on the specified resource.", - "request": { - "$ref": "TestPermissionsRequest" - }, - "response": { - "$ref": "TestPermissionsResponse" - }, "parameters": { - "project": { - "type": "string", - "required": true, + "instanceGroupManager": { + "description": "Name of the managed instance group.", "location": "path", + "required": true, + "type": "string" + }, + "project": { "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" }, - "resource": { + "region": { + "description": "Name of the region scoping this request.", "location": "path", - "type": "string", "required": true, - "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name or id of the resource for this request." + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ] - } - } - }, - "targetHttpProxies": { - "methods": { - "patch": { + "parameterOrder": [ + "project", + "region", + "instanceGroupManager" + ], "request": { - "$ref": "TargetHttpProxy" + "$ref": "RegionInstanceGroupManagersSetTargetPoolsRequest" }, "response": { "$ref": "Operation" }, - "description": "Patches the specified TargetHttpProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.", - "id": "compute.targetHttpProxies.patch", - "flatPath": "projects/{project}/global/targetHttpProxies/{targetHttpProxy}", - "parameterOrder": [ - "project", - "targetHttpProxy" - ], "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "httpMethod": "PATCH", + "description": "Modifies the target pools to which all new instances in this group are assigned. Existing instances in the group are not affected." + }, + "listManagedInstances": { + "id": "compute.regionInstanceGroupManagers.listManagedInstances", + "path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances", + "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances", + "httpMethod": "POST", "parameters": { - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" }, - "targetHttpProxy": { - "required": true, + "instanceGroupManager": { + "description": "The name of the managed instance group.", "location": "path", - "type": "string", - "description": "Name of the TargetHttpProxy resource to patch.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" - }, - "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", "required": true, - "type": "string", - "location": "path" - } - }, - "path": "projects/{project}/global/targetHttpProxies/{targetHttpProxy}" - }, - "get": { - "id": "compute.targetHttpProxies.get", - "parameterOrder": [ - "project", - "targetHttpProxy" - ], - "parameters": { - "targetHttpProxy": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true, - "type": "string", - "location": "path", - "description": "Name of the TargetHttpProxy resource to return." + "type": "string" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" }, "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "type": "string", + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request.", "location": "path", - "description": "Project ID for this request." + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } }, - "httpMethod": "GET", - "flatPath": "projects/{project}/global/targetHttpProxies/{targetHttpProxy}", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "response": { - "$ref": "TargetHttpProxy" - }, - "path": "projects/{project}/global/targetHttpProxies/{targetHttpProxy}", - "description": "Returns the specified TargetHttpProxy resource. Gets a list of available target HTTP proxies by making a list() request." - }, - "list": { - "description": "Retrieves the list of TargetHttpProxy resources available to the specified project.", "parameterOrder": [ - "project" + "project", + "region", + "instanceGroupManager" ], "response": { - "$ref": "TargetHttpProxyList" + "$ref": "RegionInstanceGroupManagersListInstancesResponse" }, - "flatPath": "projects/{project}/global/targetHttpProxies", - "path": "projects/{project}/global/targetHttpProxies", - "id": "compute.targetHttpProxies.list", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], + "description": "Lists the instances in the managed instance group and instances that are scheduled to be created. The list includes any current actions that the group has scheduled for its instances. The orderBy query parameter is not supported. The `pageToken` query parameter is supported only if the group's `listManagedInstancesResults` field is set to `PAGINATED`." + }, + "listErrors": { + "id": "compute.regionInstanceGroupManagers.listErrors", + "path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listErrors", + "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listErrors", "httpMethod": "GET", "parameters": { - "pageToken": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", "location": "query", - "type": "string", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results." + "type": "string" }, - "orderBy": { - "type": "string", - "location": "query", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported." + "instanceGroupManager": { + "description": "The name of the managed instance group. It must be a string that meets the requirements in RFC1035, or an unsigned long integer: must match regexp pattern: (?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?)|1-9{0,19}.", + "location": "path", + "required": true, + "type": "string" }, "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", "default": "500", "minimum": "0", - "type": "integer", - "format": "uint32", "location": "query", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)" + "type": "integer", + "format": "uint32" }, - "filter": { - "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "location": "query" + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" }, - "returnPartialSuccess": { + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "type": "boolean" + "type": "string" }, "project": { "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - } - } - }, - "insert": { - "request": { - "$ref": "TargetHttpProxy" - }, - "description": "Creates a TargetHttpProxy resource in the specified project using the data included in the request.", - "httpMethod": "POST", - "id": "compute.targetHttpProxies.insert", - "response": { - "$ref": "Operation" - }, - "flatPath": "projects/{project}/global/targetHttpProxies", - "parameters": { - "project": { - "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request. This should conform to RFC1035.", "location": "path", + "required": true, "type": "string" }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", "location": "query", - "type": "string" + "type": "boolean" } }, - "path": "projects/{project}/global/targetHttpProxies", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], "parameterOrder": [ - "project" - ] - }, - "setUrlMap": { - "id": "compute.targetHttpProxies.setUrlMap", - "flatPath": "projects/{project}/targetHttpProxies/{targetHttpProxy}/setUrlMap", - "parameters": { - "requestId": { - "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - }, - "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", - "required": true, - "location": "path", - "description": "Project ID for this request." - }, - "targetHttpProxy": { - "description": "Name of the TargetHttpProxy to set a URL map for.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", - "location": "path", - "required": true - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "project", + "region", + "instanceGroupManager" ], - "path": "projects/{project}/targetHttpProxies/{targetHttpProxy}/setUrlMap", - "request": { - "$ref": "UrlMapReference" - }, "response": { - "$ref": "Operation" + "$ref": "RegionInstanceGroupManagersListErrorsResponse" }, - "httpMethod": "POST", - "description": "Changes the URL map for TargetHttpProxy.", - "parameterOrder": [ - "project", - "targetHttpProxy" - ] - }, - "aggregatedList": { - "flatPath": "projects/{project}/aggregated/targetHttpProxies", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], + "description": "Lists all errors thrown by actions on instances for a given regional managed instance group. The filter and orderBy query parameters are not supported." + }, + "listPerInstanceConfigs": { + "id": "compute.regionInstanceGroupManagers.listPerInstanceConfigs", + "path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs", + "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs", + "httpMethod": "POST", "parameters": { - "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "type": "boolean", - "location": "query" - }, - "pageToken": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", "location": "query", - "type": "string", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results." + "type": "string" }, - "orderBy": { - "type": "string", - "location": "query", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported." + "instanceGroupManager": { + "description": "The name of the managed instance group. It should conform to RFC1035.", + "location": "path", + "required": true, + "type": "string" }, "maxResults": { - "type": "integer", - "format": "uint32", + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", "default": "500", - "location": "query", "minimum": "0", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)" + "location": "query", + "type": "integer", + "format": "uint32" }, - "includeAllScopes": { + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", "location": "query", - "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", - "type": "boolean" + "type": "string" }, - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "type": "string", - "location": "query" + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" }, "project": { - "location": "path", - "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request, should conform to RFC1035.", + "location": "path", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } }, "parameterOrder": [ - "project" + "project", + "region", + "instanceGroupManager" ], - "description": "Retrieves the list of all TargetHttpProxy resources, regional and global, available to the specified project.", - "path": "projects/{project}/aggregated/targetHttpProxies", - "response": { - "$ref": "TargetHttpProxyAggregatedList" - }, - "httpMethod": "GET", - "id": "compute.targetHttpProxies.aggregatedList" - }, - "delete": { - "httpMethod": "DELETE", "response": { - "$ref": "Operation" + "$ref": "RegionInstanceGroupManagersListInstanceConfigsResp" }, - "path": "projects/{project}/global/targetHttpProxies/{targetHttpProxy}", - "id": "compute.targetHttpProxies.delete", - "flatPath": "projects/{project}/global/targetHttpProxies/{targetHttpProxy}", - "parameterOrder": [ - "project", - "targetHttpProxy" - ], "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], + "description": "Lists all of the per-instance configurations defined for the managed instance group. The orderBy query parameter is not supported." + }, + "updatePerInstanceConfigs": { + "id": "compute.regionInstanceGroupManagers.updatePerInstanceConfigs", + "path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs", + "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs", + "httpMethod": "POST", "parameters": { - "targetHttpProxy": { - "description": "Name of the TargetHttpProxy resource to delete.", - "type": "string", - "required": true, + "instanceGroupManager": { + "description": "The name of the managed instance group. It should conform to RFC1035.", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" + "required": true, + "type": "string" }, "project": { - "type": "string", + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request, should conform to RFC1035.", "location": "path", - "description": "Project ID for this request." + "required": true, + "type": "string" }, "requestId": { - "type": "string", "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" + "location": "query", + "type": "string" } }, - "description": "Deletes the specified TargetHttpProxy resource." - } - } - }, - "regionNotificationEndpoints": { - "methods": { - "list": { - "path": "projects/{project}/regions/{region}/notificationEndpoints", "parameterOrder": [ "project", - "region" + "region", + "instanceGroupManager" ], - "httpMethod": "GET", - "flatPath": "projects/{project}/regions/{region}/notificationEndpoints", + "request": { + "$ref": "RegionInstanceGroupManagerUpdateInstanceConfigReq" + }, "response": { - "$ref": "NotificationEndpointList" + "$ref": "Operation" }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Inserts or updates per-instance configurations for the managed instance group. perInstanceConfig.name serves as a key used to distinguish whether to perform insert or patch." + }, + "patchPerInstanceConfigs": { + "id": "compute.regionInstanceGroupManagers.patchPerInstanceConfigs", + "path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/patchPerInstanceConfigs", + "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/patchPerInstanceConfigs", + "httpMethod": "POST", "parameters": { - "orderBy": { - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "type": "string", - "location": "query" - }, - "region": { - "description": "Name of the region scoping this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true, + "instanceGroupManager": { + "description": "The name of the managed instance group. It should conform to RFC1035.", "location": "path", + "required": true, "type": "string" }, - "maxResults": { - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "format": "uint32", - "minimum": "0", - "location": "query", - "default": "500", - "type": "integer" - }, - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "type": "string", - "location": "query" - }, "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "description": "Project ID for this request.", - "type": "string", - "location": "path" + "type": "string" }, - "returnPartialSuccess": { - "type": "boolean", - "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." + "region": { + "description": "Name of the region scoping this request, should conform to RFC1035.", + "location": "path", + "required": true, + "type": "string" }, - "pageToken": { - "type": "string", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "location": "query" + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "description": "Lists the NotificationEndpoints for a project in the given region.", - "id": "compute.regionNotificationEndpoints.list" - }, - "insert": { - "id": "compute.regionNotificationEndpoints.insert", "parameterOrder": [ "project", - "region" + "region", + "instanceGroupManager" ], + "request": { + "$ref": "RegionInstanceGroupManagerPatchInstanceConfigReq" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "flatPath": "projects/{project}/regions/{region}/notificationEndpoints", + "description": "Inserts or patches per-instance configurations for the managed instance group. perInstanceConfig.name serves as a key used to distinguish whether to perform insert or patch." + }, + "deletePerInstanceConfigs": { + "id": "compute.regionInstanceGroupManagers.deletePerInstanceConfigs", + "path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs", + "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs", + "httpMethod": "POST", "parameters": { + "instanceGroupManager": { + "description": "The name of the managed instance group. It should conform to RFC1035.", + "location": "path", + "required": true, + "type": "string" + }, "project": { - "type": "string", "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "requestId": { - "type": "string", - "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "type": "string" }, "region": { - "type": "string", - "description": "Name of the region scoping this request.", + "description": "Name of the region scoping this request, should conform to RFC1035.", + "location": "path", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "location": "path" + "type": "string" } }, + "parameterOrder": [ + "project", + "region", + "instanceGroupManager" + ], "request": { - "$ref": "NotificationEndpoint" + "$ref": "RegionInstanceGroupManagerDeleteInstanceConfigReq" }, - "path": "projects/{project}/regions/{region}/notificationEndpoints", - "description": "Create a NotificationEndpoint in the specified project in the given region using the parameters that are included in the request.", - "httpMethod": "POST", - "response": { - "$ref": "Operation" - } - }, - "delete": { "response": { "$ref": "Operation" }, - "id": "compute.regionNotificationEndpoints.delete", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Deletes selected per-instance configurations for the managed instance group." + }, + "applyUpdatesToInstances": { + "id": "compute.regionInstanceGroupManagers.applyUpdatesToInstances", + "path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances", + "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances", + "httpMethod": "POST", "parameters": { - "requestId": { - "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - }, - "notificationEndpoint": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name of the NotificationEndpoint resource to delete.", - "required": true, + "instanceGroupManager": { + "description": "The name of the managed instance group, should conform to RFC1035.", "location": "path", + "required": true, "type": "string" }, "project": { - "type": "string", + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "description": "Project ID for this request.", - "location": "path" + "type": "string" }, "region": { - "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", + "description": "Name of the region scoping this request, should conform to RFC1035.", "location": "path", - "description": "Name of the region scoping this request." + "required": true, + "type": "string" } }, - "httpMethod": "DELETE", "parameterOrder": [ "project", "region", - "notificationEndpoint" + "instanceGroupManager" ], - "flatPath": "projects/{project}/regions/{region}/notificationEndpoints/{notificationEndpoint}", + "request": { + "$ref": "RegionInstanceGroupManagersApplyUpdatesRequest" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "description": "Deletes the specified NotificationEndpoint in the given region", - "path": "projects/{project}/regions/{region}/notificationEndpoints/{notificationEndpoint}" + "description": "Apply updates to selected instances the managed instance group." }, - "get": { - "path": "projects/{project}/regions/{region}/notificationEndpoints/{notificationEndpoint}", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], + "createInstances": { + "id": "compute.regionInstanceGroupManagers.createInstances", + "path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/createInstances", + "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/createInstances", + "httpMethod": "POST", "parameters": { - "notificationEndpoint": { - "required": true, - "description": "Name of the NotificationEndpoint resource to return.", + "instanceGroupManager": { + "description": "The name of the managed instance group. It should conform to RFC1035.", "location": "path", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" - }, - "region": { "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "location": "path", - "type": "string", - "description": "Name of the region scoping this request." + "type": "string" }, "project": { - "required": true, "description": "Project ID for this request.", - "type": "string", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "The name of the region where the managed instance group is located. It should conform to RFC1035.", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, - "httpMethod": "GET", - "description": "Returns the specified NotificationEndpoint resource in the given region.", - "flatPath": "projects/{project}/regions/{region}/notificationEndpoints/{notificationEndpoint}", - "response": { - "$ref": "NotificationEndpoint" - }, - "id": "compute.regionNotificationEndpoints.get", "parameterOrder": [ "project", "region", - "notificationEndpoint" - ] + "instanceGroupManager" + ], + "request": { + "$ref": "RegionInstanceGroupManagersCreateInstancesRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Creates instances with per-instance configurations in this regional managed instance group. Instances are created using the current instance template. The create instances operation is marked DONE if the createInstances request is successful. The underlying actions take additional time. You must separately verify the status of the creating or actions with the listmanagedinstances method." } } }, - "regionInstanceGroupManagers": { + "autoscalers": { "methods": { "list": { - "description": "Retrieves the list of managed instance groups that are contained within the specified region.", - "parameterOrder": [ - "project", - "region" - ], + "id": "compute.autoscalers.list", + "path": "projects/{project}/zones/{zone}/autoscalers", + "flatPath": "projects/{project}/zones/{zone}/autoscalers", + "httpMethod": "GET", "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, "maxResults": { - "default": "500", "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "format": "uint32", + "default": "500", "minimum": "0", "location": "query", - "type": "integer" + "type": "integer", + "format": "uint32" }, - "pageToken": { + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", "location": "query", + "type": "string" + }, + "pageToken": { "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", "type": "string" }, "project": { "description": "Project ID for this request.", - "location": "path", - "type": "string", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true + "location": "path", + "required": true, + "type": "string" }, "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", "location": "query", - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." + "type": "boolean" }, - "region": { - "type": "string", + "zone": { + "description": "Name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", "required": true, - "description": "Name of the region scoping this request." - }, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "zone" + ], + "response": { + "$ref": "AutoscalerList" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Retrieves a list of autoscalers contained within the specified zone." + }, + "aggregatedList": { + "id": "compute.autoscalers.aggregatedList", + "path": "projects/{project}/aggregated/autoscalers", + "flatPath": "projects/{project}/aggregated/autoscalers", + "httpMethod": "GET", + "parameters": { "filter": { - "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "location": "query" + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "includeAllScopes": { + "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", + "location": "query", + "type": "boolean" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" }, "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + }, + "serviceProjectNumber": { + "description": "The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.", "location": "query", "type": "string", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported." + "format": "int64" } }, - "httpMethod": "GET", + "parameterOrder": [ + "project" + ], + "response": { + "$ref": "AutoscalerAggregatedList" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers", - "response": { - "$ref": "RegionInstanceGroupManagerList" - }, - "path": "projects/{project}/regions/{region}/instanceGroupManagers", - "id": "compute.regionInstanceGroupManagers.list" + "description": "Retrieves an aggregated list of autoscalers." }, - "patch": { - "path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}", - "request": { - "$ref": "InstanceGroupManager" + "get": { + "id": "compute.autoscalers.get", + "path": "projects/{project}/zones/{zone}/autoscalers/{autoscaler}", + "flatPath": "projects/{project}/zones/{zone}/autoscalers/{autoscaler}", + "httpMethod": "GET", + "parameters": { + "autoscaler": { + "description": "Name of the autoscaler to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "zone": { + "description": "Name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + } }, + "parameterOrder": [ + "project", + "zone", + "autoscaler" + ], "response": { - "$ref": "Operation" + "$ref": "Autoscaler" }, - "description": "Updates a managed instance group using the information that you specify in the request. This operation is marked as DONE when the group is patched even if the instances in the group are still in the process of being patched. You must separately verify the status of the individual instances with the listmanagedinstances method. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. If you update your group to specify a new template or instance configuration, it's possible that your intended specification for each VM in the group is different from the current state of that VM. To learn how to apply an updated configuration to the VMs in a MIG, see Updating instances in a MIG.", - "httpMethod": "PATCH", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}", - "id": "compute.regionInstanceGroupManagers.patch", - "parameterOrder": [ - "project", - "region", - "instanceGroupManager" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], + "description": "Returns the specified autoscaler resource." + }, + "insert": { + "id": "compute.autoscalers.insert", + "path": "projects/{project}/zones/{zone}/autoscalers", + "flatPath": "projects/{project}/zones/{zone}/autoscalers", + "httpMethod": "POST", "parameters": { - "instanceGroupManager": { - "required": true, - "description": "The name of the instance group manager.", - "type": "string", - "location": "path" - }, "project": { - "required": true, - "type": "string", + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "description": "Project ID for this request." + "required": true, + "type": "string" }, "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "type": "string" }, - "region": { - "description": "Name of the region scoping this request.", - "type": "string", + "zone": { + "description": "Name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", "required": true, - "location": "path" + "type": "string" } - } - }, - "insert": { + }, + "parameterOrder": [ + "project", + "zone" + ], "request": { - "$ref": "InstanceGroupManager" + "$ref": "Autoscaler" + }, + "response": { + "$ref": "Operation" }, - "httpMethod": "POST", - "description": "Creates a managed instance group using the information that you specify in the request. After the group is created, instances in the group are created using the specified instance template. This operation is marked as DONE when the group is created even if the instances in the group have not yet been created. You must separately verify the status of the individual instances with the listmanagedinstances method. A regional managed instance group can contain up to 2000 instances.", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "response": { - "$ref": "Operation" - }, - "path": "projects/{project}/regions/{region}/instanceGroupManagers", + "description": "Creates an autoscaler in the specified project using the data included in the request." + }, + "update": { + "id": "compute.autoscalers.update", + "path": "projects/{project}/zones/{zone}/autoscalers", + "flatPath": "projects/{project}/zones/{zone}/autoscalers", + "httpMethod": "PUT", "parameters": { - "requestId": { + "autoscaler": { + "description": "Name of the autoscaler to update.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "type": "string" }, "project": { "description": "Project ID for this request.", - "required": true, - "type": "string", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "required": true, + "type": "string" }, - "region": { - "description": "Name of the region scoping this request.", + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "zone": { + "description": "Name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "type": "string", - "required": true + "required": true, + "type": "string" } }, "parameterOrder": [ "project", - "region" + "zone" ], - "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers", - "id": "compute.regionInstanceGroupManagers.insert" + "request": { + "$ref": "Autoscaler" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Updates an autoscaler in the specified project using the data included in the request." }, - "updatePerInstanceConfigs": { + "patch": { + "id": "compute.autoscalers.patch", + "path": "projects/{project}/zones/{zone}/autoscalers", + "flatPath": "projects/{project}/zones/{zone}/autoscalers", + "httpMethod": "PATCH", "parameters": { - "instanceGroupManager": { - "type": "string", - "description": "The name of the managed instance group. It should conform to RFC1035.", - "location": "path", - "required": true - }, - "region": { - "description": "Name of the region scoping this request, should conform to RFC1035.", - "type": "string", - "location": "path", - "required": true + "autoscaler": { + "description": "Name of the autoscaler to patch.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "query", + "type": "string" }, "project": { - "required": true, "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", - "location": "path" + "location": "path", + "required": true, + "type": "string" }, "requestId": { "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", "type": "string" + }, + "zone": { + "description": "Name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" } }, "parameterOrder": [ "project", - "region", - "instanceGroupManager" + "zone" ], - "description": "Inserts or updates per-instance configurations for the managed instance group. perInstanceConfig.name serves as a key used to distinguish whether to perform insert or patch.", - "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs", - "path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs", + "request": { + "$ref": "Autoscaler" + }, "response": { "$ref": "Operation" }, - "httpMethod": "POST", - "request": { - "$ref": "RegionInstanceGroupManagerUpdateInstanceConfigReq" - }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "id": "compute.regionInstanceGroupManagers.updatePerInstanceConfigs" + "description": "Updates an autoscaler in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules." }, - "abandonInstances": { - "parameterOrder": [ - "project", - "region", - "instanceGroupManager" - ], - "id": "compute.regionInstanceGroupManagers.abandonInstances", - "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/abandonInstances", - "path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/abandonInstances", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "description": "Flags the specified instances to be immediately removed from the managed instance group. Abandoning an instance does not delete the instance, but it does remove the instance from any target pools that are applied by the managed instance group. This method reduces the targetSize of the managed instance group by the number of instances that you abandon. This operation is marked as DONE when the action is scheduled even if the instances have not yet been removed from the group. You must separately verify the status of the abandoning action with the listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request.", - "httpMethod": "POST", - "response": { - "$ref": "Operation" - }, - "request": { - "$ref": "RegionInstanceGroupManagersAbandonInstancesRequest" - }, + "delete": { + "id": "compute.autoscalers.delete", + "path": "projects/{project}/zones/{zone}/autoscalers/{autoscaler}", + "flatPath": "projects/{project}/zones/{zone}/autoscalers/{autoscaler}", + "httpMethod": "DELETE", "parameters": { - "region": { + "autoscaler": { + "description": "Name of the autoscaler to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, - "description": "Name of the region scoping this request.", "type": "string" }, "project": { - "required": true, "description": "Project ID for this request.", - "type": "string", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "location": "path" + "location": "path", + "required": true, + "type": "string" }, "requestId": { "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" + "location": "query", + "type": "string" + }, + "zone": { + "description": "Name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "zone", + "autoscaler" + ], + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Deletes the specified autoscaler." + } + } + }, + "regionAutoscalers": { + "methods": { + "list": { + "id": "compute.regionAutoscalers.list", + "path": "projects/{project}/regions/{region}/autoscalers", + "flatPath": "projects/{project}/regions/{region}/autoscalers", + "httpMethod": "GET", + "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" }, - "instanceGroupManager": { - "type": "string", + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", "required": true, - "description": "Name of the managed instance group." + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } - } - }, - "get": { + }, + "parameterOrder": [ + "project", + "region" + ], "response": { - "$ref": "InstanceGroupManager" + "$ref": "RegionAutoscalerList" }, - "description": "Returns all of the details about the specified managed instance group.", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], + "description": "Retrieves a list of autoscalers contained within the specified region." + }, + "get": { + "id": "compute.regionAutoscalers.get", + "path": "projects/{project}/regions/{region}/autoscalers/{autoscaler}", + "flatPath": "projects/{project}/regions/{region}/autoscalers/{autoscaler}", + "httpMethod": "GET", "parameters": { - "instanceGroupManager": { + "autoscaler": { + "description": "Name of the autoscaler to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", "required": true, - "description": "Name of the managed instance group to return.", - "type": "string", - "location": "path" + "type": "string" }, "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", - "description": "Project ID for this request.", - "required": true + "required": true, + "type": "string" }, "region": { "description": "Name of the region scoping this request.", - "type": "string", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "required": true + "required": true, + "type": "string" } }, - "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}", - "httpMethod": "GET", - "path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}", "parameterOrder": [ "project", "region", - "instanceGroupManager" + "autoscaler" ], - "id": "compute.regionInstanceGroupManagers.get" - }, - "setTargetPools": { "response": { - "$ref": "Operation" + "$ref": "Autoscaler" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], + "description": "Returns the specified autoscaler." + }, + "insert": { + "id": "compute.regionAutoscalers.insert", + "path": "projects/{project}/regions/{region}/autoscalers", + "flatPath": "projects/{project}/regions/{region}/autoscalers", + "httpMethod": "POST", "parameters": { - "region": { - "description": "Name of the region scoping this request.", - "type": "string", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "location": "path" + "type": "string" }, - "instanceGroupManager": { - "type": "string", + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", "required": true, - "description": "Name of the managed instance group.", - "location": "path" + "type": "string" }, "requestId": { - "location": "query", "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", "type": "string" - }, - "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", - "required": true, - "type": "string", - "location": "path" } }, - "id": "compute.regionInstanceGroupManagers.setTargetPools", - "description": "Modifies the target pools to which all new instances in this group are assigned. Existing instances in the group are not affected.", - "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setTargetPools", - "httpMethod": "POST", "parameterOrder": [ "project", - "region", - "instanceGroupManager" + "region" ], "request": { - "$ref": "RegionInstanceGroupManagersSetTargetPoolsRequest" + "$ref": "Autoscaler" }, - "path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setTargetPools" - }, - "listErrors": { - "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listErrors", - "description": "Lists all errors thrown by actions on instances for a given regional managed instance group. The filter and orderBy query parameters are not supported.", - "id": "compute.regionInstanceGroupManagers.listErrors", "response": { - "$ref": "RegionInstanceGroupManagersListErrorsResponse" + "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "parameterOrder": [ - "project", - "region", - "instanceGroupManager" + "https://www.googleapis.com/auth/compute" ], - "path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listErrors", + "description": "Creates an autoscaler in the specified project using the data included in the request." + }, + "update": { + "id": "compute.regionAutoscalers.update", + "path": "projects/{project}/regions/{region}/autoscalers", + "flatPath": "projects/{project}/regions/{region}/autoscalers", + "httpMethod": "PUT", "parameters": { - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "autoscaler": { + "description": "Name of the autoscaler to update.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "query", "type": "string" }, - "instanceGroupManager": { - "required": true, - "type": "string", - "location": "path", - "description": "The name of the managed instance group. It must be a string that meets the requirements in RFC1035, or an unsigned long integer: must match regexp pattern: (?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?)|1-9{0,19}." - }, - "region": { - "required": true, - "location": "path", - "description": "Name of the region scoping this request. This should conform to RFC1035.", - "type": "string" - }, - "filter": { - "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "location": "query" - }, - "orderBy": { - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "type": "string", - "location": "query" - }, - "returnPartialSuccess": { - "location": "query", - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." - }, "project": { "description": "Project ID for this request.", - "required": true, + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "required": true, + "type": "string" }, - "maxResults": { - "location": "query", - "format": "uint32", - "type": "integer", - "default": "500", - "minimum": "0", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)" - } - }, - "httpMethod": "GET" - }, - "recreateInstances": { - "parameters": { "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", "required": true, - "type": "string", - "description": "Name of the region scoping this request." + "type": "string" }, "requestId": { "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", "type": "string" - }, - "project": { - "location": "path", - "required": true, - "description": "Project ID for this request.", - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "instanceGroupManager": { - "location": "path", - "description": "Name of the managed instance group.", - "required": true, - "type": "string" } }, "parameterOrder": [ "project", - "region", - "instanceGroupManager" + "region" ], - "id": "compute.regionInstanceGroupManagers.recreateInstances", "request": { - "$ref": "RegionInstanceGroupManagersRecreateRequest" + "$ref": "Autoscaler" + }, + "response": { + "$ref": "Operation" }, - "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/recreateInstances", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "description": "Flags the specified VM instances in the managed instance group to be immediately recreated. Each instance is recreated using the group's current configuration. This operation is marked as DONE when the flag is set even if the instances have not yet been recreated. You must separately verify the status of each instance by checking its currentAction field; for more information, see Checking the status of managed instances. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request.", - "path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/recreateInstances", - "response": { - "$ref": "Operation" - }, - "httpMethod": "POST" + "description": "Updates an autoscaler in the specified project using the data included in the request." }, - "deletePerInstanceConfigs": { - "parameterOrder": [ - "project", - "region", - "instanceGroupManager" - ], - "path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs", - "httpMethod": "POST", - "description": "Deletes selected per-instance configurations for the managed instance group.", - "response": { - "$ref": "Operation" - }, - "request": { - "$ref": "RegionInstanceGroupManagerDeleteInstanceConfigReq" - }, + "patch": { + "id": "compute.regionAutoscalers.patch", + "path": "projects/{project}/regions/{region}/autoscalers", + "flatPath": "projects/{project}/regions/{region}/autoscalers", + "httpMethod": "PATCH", "parameters": { + "autoscaler": { + "description": "Name of the autoscaler to patch.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "query", + "type": "string" + }, "project": { - "required": true, - "location": "path", - "type": "string", "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" }, "region": { - "type": "string", - "required": true, + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "description": "Name of the region scoping this request, should conform to RFC1035." - }, - "instanceGroupManager": { "required": true, - "description": "The name of the managed instance group. It should conform to RFC1035.", - "location": "path", + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", "type": "string" } }, + "parameterOrder": [ + "project", + "region" + ], + "request": { + "$ref": "Autoscaler" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "id": "compute.regionInstanceGroupManagers.deletePerInstanceConfigs", - "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs" + "description": "Updates an autoscaler in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules." }, - "listManagedInstances": { - "path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances", - "description": "Lists the instances in the managed instance group and instances that are scheduled to be created. The list includes any current actions that the group has scheduled for its instances. The orderBy query parameter is not supported. The `pageToken` query parameter is supported only in the alpha and beta API and only if the group's `listManagedInstancesResults` field is set to `PAGINATED`.", - "httpMethod": "POST", + "delete": { + "id": "compute.regionAutoscalers.delete", + "path": "projects/{project}/regions/{region}/autoscalers/{autoscaler}", + "flatPath": "projects/{project}/regions/{region}/autoscalers/{autoscaler}", + "httpMethod": "DELETE", "parameters": { - "region": { - "description": "Name of the region scoping this request.", + "autoscaler": { + "description": "Name of the autoscaler to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, "type": "string" }, "project": { - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, "type": "string" }, - "orderBy": { - "type": "string", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "location": "query" - }, - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "location": "query", + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, "type": "string" }, - "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "type": "boolean", - "location": "query" - }, - "maxResults": { - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "default": "500", - "format": "uint32", - "location": "query", - "minimum": "0", - "type": "integer" - }, - "pageToken": { - "type": "string", + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results." - }, - "instanceGroupManager": { - "required": true, - "description": "The name of the managed instance group.", - "location": "path", "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "id": "compute.regionInstanceGroupManagers.listManagedInstances", "parameterOrder": [ "project", "region", - "instanceGroupManager" + "autoscaler" ], - "response": { - "$ref": "RegionInstanceGroupManagersListInstancesResponse" - }, - "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances" - }, - "patchPerInstanceConfigs": { - "description": "Inserts or patches per-instance configurations for the managed instance group. perInstanceConfig.name serves as a key used to distinguish whether to perform insert or patch.", - "request": { - "$ref": "RegionInstanceGroupManagerPatchInstanceConfigReq" - }, - "httpMethod": "POST", "response": { "$ref": "Operation" }, - "parameterOrder": [ - "project", - "region", - "instanceGroupManager" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" ], + "description": "Deletes the specified autoscaler." + } + } + }, + "backendBuckets": { + "methods": { + "list": { + "id": "compute.backendBuckets.list", + "path": "projects/{project}/global/backendBuckets", + "flatPath": "projects/{project}/global/backendBuckets", + "httpMethod": "GET", "parameters": { - "requestId": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "type": "string" }, - "instanceGroupManager": { - "location": "path", - "description": "The name of the managed instance group. It should conform to RFC1035.", - "required": true, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", "type": "string" }, - "region": { - "description": "Name of the region scoping this request, should conform to RFC1035.", - "required": true, - "location": "path", + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", "type": "string" }, "project": { "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } }, - "path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/patchPerInstanceConfigs", + "parameterOrder": [ + "project" + ], + "response": { + "$ref": "BackendBucketList" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/patchPerInstanceConfigs", - "id": "compute.regionInstanceGroupManagers.patchPerInstanceConfigs" + "description": "Retrieves the list of BackendBucket resources available to the specified project." }, - "deleteInstances": { - "description": "Flags the specified instances in the managed instance group to be immediately deleted. The instances are also removed from any target pools of which they were a member. This method reduces the targetSize of the managed instance group by the number of instances that you delete. The deleteInstances operation is marked DONE if the deleteInstances request is successful. The underlying actions take additional time. You must separately verify the status of the deleting action with the listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request.", - "response": { - "$ref": "Operation" - }, + "get": { + "id": "compute.backendBuckets.get", + "path": "projects/{project}/global/backendBuckets/{backendBucket}", + "flatPath": "projects/{project}/global/backendBuckets/{backendBucket}", + "httpMethod": "GET", "parameters": { - "region": { - "required": true, - "description": "Name of the region scoping this request.", - "location": "path", - "type": "string" - }, - "instanceGroupManager": { + "backendBucket": { + "description": "Name of the BackendBucket resource to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "type": "string", "required": true, - "description": "Name of the managed instance group." - }, - "requestId": { - "type": "string", - "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "type": "string" }, "project": { - "required": true, - "location": "path", "description": "Project ID for this request.", - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" } }, - "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deleteInstances", + "parameterOrder": [ + "project", + "backendBucket" + ], + "response": { + "$ref": "BackendBucket" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deleteInstances", - "request": { - "$ref": "RegionInstanceGroupManagersDeleteInstancesRequest" - }, - "httpMethod": "POST", - "id": "compute.regionInstanceGroupManagers.deleteInstances", - "parameterOrder": [ - "project", - "region", - "instanceGroupManager" - ] + "description": "Returns the specified BackendBucket resource." }, - "listPerInstanceConfigs": { - "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs", - "description": "Lists all of the per-instance configurations defined for the managed instance group. The orderBy query parameter is not supported.", + "insert": { + "id": "compute.backendBuckets.insert", + "path": "projects/{project}/global/backendBuckets", + "flatPath": "projects/{project}/global/backendBuckets", "httpMethod": "POST", "parameters": { "project": { - "location": "path", - "type": "string", - "required": true, "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "region": { - "description": "Name of the region scoping this request, should conform to RFC1035.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", - "required": true - }, - "orderBy": { - "location": "query", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "type": "string" - }, - "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "location": "query", - "type": "boolean" - }, - "instanceGroupManager": { - "type": "string", "required": true, - "location": "path", - "description": "The name of the managed instance group. It should conform to RFC1035." - }, - "maxResults": { - "minimum": "0", - "default": "500", - "location": "query", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "type": "integer", - "format": "uint32" - }, - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "type": "string", - "location": "query" + "type": "string" }, - "filter": { - "type": "string", + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`." + "type": "string" } }, "parameterOrder": [ - "project", - "region", - "instanceGroupManager" + "project" ], - "path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs", + "request": { + "$ref": "BackendBucket" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], - "response": { - "$ref": "RegionInstanceGroupManagersListInstanceConfigsResp" - }, - "id": "compute.regionInstanceGroupManagers.listPerInstanceConfigs" + "description": "Creates a BackendBucket resource in the specified project using the data included in the request." }, "delete": { - "parameterOrder": [ - "project", - "region", - "instanceGroupManager" - ], + "id": "compute.backendBuckets.delete", + "path": "projects/{project}/global/backendBuckets/{backendBucket}", + "flatPath": "projects/{project}/global/backendBuckets/{backendBucket}", "httpMethod": "DELETE", - "path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}", - "id": "compute.regionInstanceGroupManagers.delete", - "description": "Deletes the specified managed instance group and all of the instances in that group.", "parameters": { - "region": { - "type": "string", - "required": true, + "backendBucket": { + "description": "Name of the BackendBucket resource to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "description": "Name of the region scoping this request." - }, - "instanceGroupManager": { "required": true, - "type": "string", - "location": "path", - "description": "Name of the managed instance group to delete." + "type": "string" }, "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "type": "string", - "description": "Project ID for this request.", - "location": "path" + "type": "string" }, "requestId": { - "type": "string", + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "type": "string" } }, - "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}", + "parameterOrder": [ + "project", + "backendBucket" + ], + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "response": { - "$ref": "Operation" - } + "description": "Deletes the specified BackendBucket resource." }, - "applyUpdatesToInstances": { + "update": { + "id": "compute.backendBuckets.update", + "path": "projects/{project}/global/backendBuckets/{backendBucket}", + "flatPath": "projects/{project}/global/backendBuckets/{backendBucket}", + "httpMethod": "PUT", "parameters": { - "region": { + "backendBucket": { + "description": "Name of the BackendBucket resource to update.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "description": "Name of the region scoping this request, should conform to RFC1035.", - "type": "string", - "required": true + "required": true, + "type": "string" }, "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "type": "string", - "description": "Project ID for this request.", - "location": "path" + "type": "string" }, - "instanceGroupManager": { - "type": "string", - "description": "The name of the managed instance group, should conform to RFC1035.", - "required": true, - "location": "path" + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, - "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances", - "description": "Apply updates to selected instances the managed instance group.", "parameterOrder": [ "project", - "region", - "instanceGroupManager" + "backendBucket" ], - "path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances", - "id": "compute.regionInstanceGroupManagers.applyUpdatesToInstances", + "request": { + "$ref": "BackendBucket" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "response": { - "$ref": "Operation" - }, - "httpMethod": "POST", - "request": { - "$ref": "RegionInstanceGroupManagersApplyUpdatesRequest" - } + "description": "Updates the specified BackendBucket resource with the data included in the request." }, - "createInstances": { - "response": { - "$ref": "Operation" - }, + "patch": { + "id": "compute.backendBuckets.patch", + "path": "projects/{project}/global/backendBuckets/{backendBucket}", + "flatPath": "projects/{project}/global/backendBuckets/{backendBucket}", + "httpMethod": "PATCH", "parameters": { - "region": { - "type": "string", - "description": "The name of the region where the managed instance group is located. It should conform to RFC1035.", + "backendBucket": { + "description": "Name of the BackendBucket resource to patch.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "required": true - }, - "requestId": { - "type": "string", - "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "required": true, + "type": "string" }, "project": { - "type": "string", + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" }, - "instanceGroupManager": { - "type": "string", - "description": "The name of the managed instance group. It should conform to RFC1035.", - "required": true, - "location": "path" + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, - "id": "compute.regionInstanceGroupManagers.createInstances", - "description": "Creates instances with per-instance configurations in this regional managed instance group. Instances are created using the current instance template. The create instances operation is marked DONE if the createInstances request is successful. The underlying actions take additional time. You must separately verify the status of the creating or actions with the listmanagedinstances method.", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "parameterOrder": [ + "project", + "backendBucket" ], "request": { - "$ref": "RegionInstanceGroupManagersCreateInstancesRequest" + "$ref": "BackendBucket" }, - "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/createInstances", - "path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/createInstances", - "httpMethod": "POST", - "parameterOrder": [ - "project", - "region", - "instanceGroupManager" - ] - }, - "setInstanceTemplate": { "response": { "$ref": "Operation" }, - "description": "Sets the instance template to use when creating new instances or recreating instances in this group. Existing instances are not affected.", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Updates the specified BackendBucket resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules." + }, + "addSignedUrlKey": { + "id": "compute.backendBuckets.addSignedUrlKey", + "path": "projects/{project}/global/backendBuckets/{backendBucket}/addSignedUrlKey", + "flatPath": "projects/{project}/global/backendBuckets/{backendBucket}/addSignedUrlKey", + "httpMethod": "POST", "parameters": { - "project": { - "required": true, + "backendBucket": { + "description": "Name of the BackendBucket resource to which the Signed URL Key should be added. The name should conform to RFC1035.", "location": "path", - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request." + "required": true, + "type": "string" }, - "region": { - "description": "Name of the region scoping this request.", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", - "required": true + "required": true, + "type": "string" }, "requestId": { "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" - }, - "instanceGroupManager": { - "type": "string", - "required": true, - "location": "path", - "description": "The name of the managed instance group." + "location": "query", + "type": "string" } }, - "httpMethod": "POST", - "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate", - "path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate", "parameterOrder": [ "project", - "region", - "instanceGroupManager" - ], - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "backendBucket" ], - "id": "compute.regionInstanceGroupManagers.setInstanceTemplate", "request": { - "$ref": "RegionInstanceGroupManagersSetTemplateRequest" - } - }, - "resize": { - "description": "Changes the intended size of the managed instance group. If you increase the size, the group creates new instances using the current instance template. If you decrease the size, the group deletes one or more instances. The resize operation is marked DONE if the resize request is successful. The underlying actions take additional time. You must separately verify the status of the creating or deleting actions with the listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted.", + "$ref": "SignedUrlKey" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "flatPath": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resize", + "description": "Adds a key for validating requests with signed URLs for this backend bucket." + }, + "deleteSignedUrlKey": { + "id": "compute.backendBuckets.deleteSignedUrlKey", + "path": "projects/{project}/global/backendBuckets/{backendBucket}/deleteSignedUrlKey", + "flatPath": "projects/{project}/global/backendBuckets/{backendBucket}/deleteSignedUrlKey", "httpMethod": "POST", - "path": "projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resize", - "response": { - "$ref": "Operation" - }, - "parameterOrder": [ - "project", - "region", - "instanceGroupManager", - "size" - ], "parameters": { - "region": { - "description": "Name of the region scoping this request.", - "required": true, - "type": "string", - "location": "path" - }, - "instanceGroupManager": { + "backendBucket": { + "description": "Name of the BackendBucket resource to which the Signed URL Key should be added. The name should conform to RFC1035.", "location": "path", "required": true, - "description": "Name of the managed instance group.", "type": "string" }, - "requestId": { - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" + "keyName": { + "description": "The name of the Signed URL Key to delete.", + "location": "query", + "required": true, + "type": "string" }, "project": { - "type": "string", + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "description": "Project ID for this request.", - "location": "path" + "type": "string" }, - "size": { - "minimum": "0", - "type": "integer", - "format": "int32", - "required": true, - "description": "Number of instances that should exist in this instance group manager.", - "location": "query" + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, - "id": "compute.regionInstanceGroupManagers.resize" - } - } - }, - "licenses": { - "methods": { - "insert": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/devstorage.full_control", - "https://www.googleapis.com/auth/devstorage.read_only", - "https://www.googleapis.com/auth/devstorage.read_write" + "parameterOrder": [ + "project", + "backendBucket", + "keyName" ], - "description": "Create a License resource in the specified project. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. ", - "id": "compute.licenses.insert", - "flatPath": "projects/{project}/global/licenses", - "request": { - "$ref": "License" - }, "response": { "$ref": "Operation" }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Deletes a key for validating requests with signed URLs for this backend bucket." + }, + "setEdgeSecurityPolicy": { + "id": "compute.backendBuckets.setEdgeSecurityPolicy", + "path": "projects/{project}/global/backendBuckets/{backendBucket}/setEdgeSecurityPolicy", + "flatPath": "projects/{project}/global/backendBuckets/{backendBucket}/setEdgeSecurityPolicy", + "httpMethod": "POST", "parameters": { + "backendBucket": { + "description": "Name of the BackendBucket resource to which the security policy should be set. The name should conform to RFC1035.", + "location": "path", + "required": true, + "type": "string" + }, "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", + "location": "path", "required": true, - "description": "Project ID for this request.", - "location": "path" + "type": "string" }, "requestId": { - "type": "string", "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" + "location": "query", + "type": "string" } }, - "path": "projects/{project}/global/licenses", - "httpMethod": "POST", - "parameterOrder": [ - "project" - ] - }, - "delete": { "parameterOrder": [ "project", - "license" + "backendBucket" ], - "flatPath": "projects/{project}/global/licenses/{license}", - "path": "projects/{project}/global/licenses/{license}", - "id": "compute.licenses.delete", - "httpMethod": "DELETE", + "request": { + "$ref": "SecurityPolicyReference" + }, "response": { "$ref": "Operation" }, - "description": "Deletes the specified license. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. ", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], + "description": "Sets the edge security policy for the specified backend bucket." + }, + "getIamPolicy": { + "id": "compute.backendBuckets.getIamPolicy", + "path": "projects/{project}/global/backendBuckets/{resource}/getIamPolicy", + "flatPath": "projects/{project}/global/backendBuckets/{resource}/getIamPolicy", + "httpMethod": "GET", "parameters": { - "requestId": { + "optionsRequestedPolicyVersion": { + "description": "Requested IAM Policy version.", "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "type": "integer", + "format": "int32" }, "project": { - "type": "string", + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "description": "Project ID for this request." + "type": "string" }, - "license": { - "required": true, - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", - "description": "Name of the license resource to delete." - } - } - }, - "testIamPermissions": { - "parameters": { "resource": { - "required": true, + "description": "Name or id of the resource for this request.", "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "type": "string", - "description": "Name or id of the resource for this request." - }, - "project": { - "type": "string", - "description": "Project ID for this request.", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "location": "path" + "type": "string" } }, - "request": { - "$ref": "TestPermissionsRequest" - }, "parameterOrder": [ "project", "resource" ], - "description": "Returns permissions that a caller has on the specified resource. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. ", "response": { - "$ref": "TestPermissionsResponse" + "$ref": "Policy" }, - "id": "compute.licenses.testIamPermissions", - "httpMethod": "POST", - "flatPath": "projects/{project}/global/licenses/{resource}/testIamPermissions", - "path": "projects/{project}/global/licenses/{resource}/testIamPermissions", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" - ] + ], + "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists." }, "setIamPolicy": { + "id": "compute.backendBuckets.setIamPolicy", + "path": "projects/{project}/global/backendBuckets/{resource}/setIamPolicy", + "flatPath": "projects/{project}/global/backendBuckets/{resource}/setIamPolicy", + "httpMethod": "POST", "parameters": { - "resource": { - "type": "string", - "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true, - "location": "path", - "description": "Name or id of the resource for this request." - }, "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", "required": true, - "description": "Project ID for this request." + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" } }, - "id": "compute.licenses.setIamPolicy", "parameterOrder": [ "project", "resource" ], - "description": "Sets the access control policy on the specified resource. Replaces any existing policy. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. ", - "flatPath": "projects/{project}/global/licenses/{resource}/setIamPolicy", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "response": { - "$ref": "Policy" - }, - "path": "projects/{project}/global/licenses/{resource}/setIamPolicy", - "httpMethod": "POST", "request": { "$ref": "GlobalSetPolicyRequest" - } - }, - "list": { - "parameters": { - "project": { - "location": "path", - "description": "Project ID for this request.", - "type": "string", - "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "pageToken": { - "type": "string", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "location": "query" - }, - "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "location": "query", - "type": "boolean" - }, - "orderBy": { - "location": "query", - "type": "string", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported." - }, - "filter": { - "location": "query", - "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`." - }, - "maxResults": { - "type": "integer", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "format": "uint32", - "location": "query", - "minimum": "0", - "default": "500" - } - }, - "parameterOrder": [ - "project" - ], - "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "flatPath": "projects/{project}/global/licenses", - "response": { - "$ref": "LicensesListResponse" - }, - "description": "Retrieves the list of licenses available in the specified project. This method does not get any licenses that belong to other projects, including licenses attached to publicly-available images, like Debian 9. If you want to get a list of publicly-available licenses, use this method to make a request to the respective image project, such as debian-cloud or windows-cloud. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. ", - "id": "compute.licenses.list", - "path": "projects/{project}/global/licenses" - }, - "get": { - "parameters": { - "project": { - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, - "location": "path", - "description": "Project ID for this request." - }, - "license": { - "required": true, - "description": "Name of the License resource to return.", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "location": "path" - } }, - "id": "compute.licenses.get", - "path": "projects/{project}/global/licenses/{license}", - "flatPath": "projects/{project}/global/licenses/{license}", "response": { - "$ref": "License" + "$ref": "Policy" }, - "httpMethod": "GET", - "parameterOrder": [ - "project", - "license" - ], - "description": "Returns the specified License resource. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. ", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ] - }, - "getIamPolicy": { - "flatPath": "projects/{project}/global/licenses/{resource}/getIamPolicy", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], - "path": "projects/{project}/global/licenses/{resource}/getIamPolicy", + "description": "Sets the access control policy on the specified resource. Replaces any existing policy." + }, + "testIamPermissions": { + "id": "compute.backendBuckets.testIamPermissions", + "path": "projects/{project}/global/backendBuckets/{resource}/testIamPermissions", + "flatPath": "projects/{project}/global/backendBuckets/{resource}/testIamPermissions", + "httpMethod": "POST", "parameters": { "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, - "type": "string", "location": "path", - "description": "Project ID for this request." - }, - "optionsRequestedPolicyVersion": { - "format": "int32", - "description": "Requested IAM Policy version.", - "type": "integer", - "location": "query" + "required": true, + "type": "string" }, "resource": { - "type": "string", - "required": true, "description": "Name or id of the resource for this request.", "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "location": "path" + "location": "path", + "required": true, + "type": "string" } }, - "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. ", - "id": "compute.licenses.getIamPolicy", - "httpMethod": "GET", - "response": { - "$ref": "Policy" - }, "parameterOrder": [ "project", "resource" - ] - } - } - }, - "sslPolicies": { - "methods": { - "insert": { - "httpMethod": "POST", - "description": "Returns the specified SSL policy resource. Gets a list of available SSL policies by making a list() request.", - "id": "compute.sslPolicies.insert", - "parameterOrder": [ - "project" ], - "path": "projects/{project}/global/sslPolicies", - "response": { - "$ref": "Operation" - }, "request": { - "$ref": "SslPolicy" + "$ref": "TestPermissionsRequest" }, - "parameters": { - "requestId": { - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" - }, - "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, - "location": "path", - "type": "string", - "description": "Project ID for this request." - } + "response": { + "$ref": "TestPermissionsResponse" }, - "flatPath": "projects/{project}/global/sslPolicies", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ] - }, - "list": { - "flatPath": "projects/{project}/global/sslPolicies", - "path": "projects/{project}/global/sslPolicies", - "id": "compute.sslPolicies.list", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "httpMethod": "GET", - "description": "Lists all the SSL policies that have been configured for the specified project.", - "parameters": { - "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "location": "query", - "type": "boolean" - }, - "orderBy": { + "description": "Returns permissions that a caller has on the specified resource." + } + } + }, + "backendServices": { + "methods": { + "list": { + "id": "compute.backendServices.list", + "path": "projects/{project}/global/backendServices", + "flatPath": "projects/{project}/global/backendServices", + "httpMethod": "GET", + "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", "location": "query", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", "type": "string" }, "maxResults": { - "format": "uint32", + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", "minimum": "0", "location": "query", - "default": "500", "type": "integer", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)" + "format": "uint32" }, - "filter": { - "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "location": "query" + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" }, "project": { - "location": "path", "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", - "required": true + "location": "path", + "required": true, + "type": "string" }, - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "type": "string", - "location": "query" + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } }, - "response": { - "$ref": "SslPoliciesList" - }, "parameterOrder": [ "project" - ] + ], + "response": { + "$ref": "BackendServiceList" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Retrieves the list of BackendService resources available to the specified project." }, "aggregatedList": { - "id": "compute.sslPolicies.aggregatedList", - "parameterOrder": [ - "project" - ], + "id": "compute.backendServices.aggregatedList", + "path": "projects/{project}/aggregated/backendServices", + "flatPath": "projects/{project}/aggregated/backendServices", + "httpMethod": "GET", "parameters": { "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", "location": "query", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", "type": "string" }, + "includeAllScopes": { + "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", + "location": "query", + "type": "boolean" + }, "maxResults": { - "minimum": "0", + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", "default": "500", - "format": "uint32", + "minimum": "0", "location": "query", "type": "integer", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)" + "format": "uint32" }, "orderBy": { - "location": "query", "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", "type": "string" }, "project": { + "description": "Name of the project scoping this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "type": "string", - "description": "Name of the project scoping this request.", - "location": "path" - }, - "includeAllScopes": { - "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", - "type": "boolean", - "location": "query" + "type": "string" }, "returnPartialSuccess": { "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "type": "boolean", - "location": "query" + "location": "query", + "type": "boolean" }, - "pageToken": { + "serviceProjectNumber": { + "description": "The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.", "location": "query", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "type": "string" + "type": "string", + "format": "int64" } }, + "parameterOrder": [ + "project" + ], "response": { - "$ref": "SslPoliciesAggregatedList" + "$ref": "BackendServiceAggregatedList" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "description": "Retrieves the list of all SslPolicy resources, regional and global, available to the specified project.", - "flatPath": "projects/{project}/aggregated/sslPolicies", - "httpMethod": "GET", - "path": "projects/{project}/aggregated/sslPolicies" + "description": "Retrieves the list of all BackendService resources, regional and global, available to the specified project." }, - "delete": { + "listUsable": { + "id": "compute.backendServices.listUsable", + "path": "projects/{project}/global/backendServices/listUsable", + "flatPath": "projects/{project}/global/backendServices/listUsable", + "httpMethod": "GET", "parameters": { - "project": { - "required": true, - "type": "string", - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request." - }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" }, - "sslPolicy": { - "required": true, - "type": "string", - "location": "path", - "description": "Name of the SSL policy to delete. The name must be 1-63 characters long, and comply with RFC1035." - } - }, - "flatPath": "projects/{project}/global/sslPolicies/{sslPolicy}", - "httpMethod": "DELETE", - "path": "projects/{project}/global/sslPolicies/{sslPolicy}", - "response": { - "$ref": "Operation" - }, - "description": "Deletes the specified SSL policy. The SSL policy resource can be deleted only if it is not in use by any TargetHttpsProxy or TargetSslProxy resources.", - "id": "compute.sslPolicies.delete", - "parameterOrder": [ - "project", - "sslPolicy" - ], - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ] - }, - "listAvailableFeatures": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "flatPath": "projects/{project}/global/sslPolicies/listAvailableFeatures", - "description": "Lists all features that can be specified in the SSL policy when using custom profile.", - "parameters": { "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", "minimum": "0", - "format": "uint32", "location": "query", "type": "integer", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "default": "500" + "format": "uint32" }, "orderBy": { - "type": "string", "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "location": "query" + "location": "query", + "type": "string" }, "pageToken": { "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", @@ -46883,839 +58720,796 @@ "type": "string" }, "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, "type": "string" }, - "filter": { - "location": "query", - "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`." - }, "returnPartialSuccess": { - "location": "query", "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", "type": "boolean" } }, - "response": { - "$ref": "SslPoliciesListAvailableFeaturesResponse" - }, - "path": "projects/{project}/global/sslPolicies/listAvailableFeatures", - "id": "compute.sslPolicies.listAvailableFeatures", - "httpMethod": "GET", "parameterOrder": [ "project" - ] + ], + "response": { + "$ref": "BackendServiceListUsable" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Retrieves an aggregated list of all usable backend services in the specified project." }, - "patch": { - "flatPath": "projects/{project}/global/sslPolicies/{sslPolicy}", - "path": "projects/{project}/global/sslPolicies/{sslPolicy}", - "description": "Patches the specified SSL policy with the data included in the request.", + "get": { + "id": "compute.backendServices.get", + "path": "projects/{project}/global/backendServices/{backendService}", + "flatPath": "projects/{project}/global/backendServices/{backendService}", + "httpMethod": "GET", "parameters": { - "sslPolicy": { - "description": "Name of the SSL policy to update. The name must be 1-63 characters long, and comply with RFC1035.", - "type": "string", + "backendService": { + "description": "Name of the BackendService resource to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", "required": true, - "location": "path" - }, - "requestId": { - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" + "type": "string" }, "project": { "description": "Project ID for this request.", - "type": "string", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "required": true + "required": true, + "type": "string" } }, - "httpMethod": "PATCH", "parameterOrder": [ "project", - "sslPolicy" + "backendService" ], "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "request": { - "$ref": "SslPolicy" + "$ref": "BackendService" }, - "id": "compute.sslPolicies.patch" - }, - "get": { "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "httpMethod": "GET", - "path": "projects/{project}/global/sslPolicies/{sslPolicy}", - "description": "Lists all of the ordered rules present in a single specified policy.", - "id": "compute.sslPolicies.get", + "description": "Returns the specified BackendService resource." + }, + "insert": { + "id": "compute.backendServices.insert", + "path": "projects/{project}/global/backendServices", + "flatPath": "projects/{project}/global/backendServices", + "httpMethod": "POST", "parameters": { "project": { - "required": true, - "location": "path", + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", - "description": "Project ID for this request." - }, - "sslPolicy": { "location": "path", - "type": "string", "required": true, - "description": "Name of the SSL policy to update. The name must be 1-63 characters long, and comply with RFC1035." + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, + "parameterOrder": [ + "project" + ], + "request": { + "$ref": "BackendService" + }, "response": { - "$ref": "SslPolicy" + "$ref": "Operation" }, - "flatPath": "projects/{project}/global/sslPolicies/{sslPolicy}", - "parameterOrder": [ - "project", - "sslPolicy" - ] - } - } - }, - "machineImages": { - "methods": { - "setIamPolicy": { - "parameterOrder": [ - "project", - "resource" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" ], + "description": "Creates a BackendService resource in the specified project using the data included in the request. For more information, see Backend services overview ." + }, + "delete": { + "id": "compute.backendServices.delete", + "path": "projects/{project}/global/backendServices/{backendService}", + "flatPath": "projects/{project}/global/backendServices/{backendService}", + "httpMethod": "DELETE", "parameters": { - "resource": { - "required": true, + "backendService": { + "description": "Name of the BackendService resource to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name or id of the resource for this request.", + "required": true, "type": "string" }, "project": { - "location": "path", + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", + "location": "path", "required": true, - "description": "Project ID for this request." + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, - "description": "Sets the access control policy on the specified resource. Replaces any existing policy.", - "httpMethod": "POST", - "flatPath": "projects/{project}/global/machineImages/{resource}/setIamPolicy", - "request": { - "$ref": "GlobalSetPolicyRequest" - }, + "parameterOrder": [ + "project", + "backendService" + ], "response": { - "$ref": "Policy" + "$ref": "Operation" }, - "id": "compute.machineImages.setIamPolicy", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "path": "projects/{project}/global/machineImages/{resource}/setIamPolicy" + "description": "Deletes the specified BackendService resource." }, - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified resource.", - "httpMethod": "POST", - "flatPath": "projects/{project}/global/machineImages/{resource}/testIamPermissions", - "response": { - "$ref": "TestPermissionsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "parameterOrder": [ - "project", - "resource" - ], - "path": "projects/{project}/global/machineImages/{resource}/testIamPermissions", - "request": { - "$ref": "TestPermissionsRequest" - }, - "id": "compute.machineImages.testIamPermissions", + "update": { + "id": "compute.backendServices.update", + "path": "projects/{project}/global/backendServices/{backendService}", + "flatPath": "projects/{project}/global/backendServices/{backendService}", + "httpMethod": "PUT", "parameters": { - "project": { - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "backendService": { + "description": "Name of the BackendService resource to update.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "type": "string", - "required": true - }, - "resource": { - "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "required": true, - "type": "string", - "location": "path", - "description": "Name or id of the resource for this request." - } - } - }, - "get": { - "parameters": { + "type": "string" + }, "project": { "description": "Project ID for this request.", - "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", + "required": true, "type": "string" }, - "machineImage": { - "description": "The name of the machine image.", - "type": "string", - "location": "path", - "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, - "id": "compute.machineImages.get", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "path": "projects/{project}/global/machineImages/{machineImage}", - "response": { - "$ref": "MachineImage" - }, - "description": "Returns the specified machine image. Gets a list of available machine images by making a list() request.", - "httpMethod": "GET", - "flatPath": "projects/{project}/global/machineImages/{machineImage}", "parameterOrder": [ "project", - "machineImage" - ] - }, - "insert": { + "backendService" + ], "request": { - "$ref": "MachineImage" + "$ref": "BackendService" + }, + "response": { + "$ref": "Operation" }, - "flatPath": "projects/{project}/global/machineImages", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], + "description": "Updates the specified BackendService resource with the data included in the request. For more information, see Backend services overview." + }, + "patch": { + "id": "compute.backendServices.patch", + "path": "projects/{project}/global/backendServices/{backendService}", + "flatPath": "projects/{project}/global/backendServices/{backendService}", + "httpMethod": "PATCH", "parameters": { + "backendService": { + "description": "Name of the BackendService resource to patch.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, "project": { - "type": "string", + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "description": "Project ID for this request.", - "required": true - }, - "sourceInstance": { - "description": "Required. Source instance that is used to create the machine image from.", - "type": "string", - "location": "query" + "required": true, + "type": "string" }, "requestId": { - "location": "query", "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", "type": "string" } }, - "response": { - "$ref": "Operation" - }, - "id": "compute.machineImages.insert", - "parameterOrder": [ - "project" - ], - "httpMethod": "POST", - "description": "Creates a machine image in the specified project using the data that is included in the request. If you are creating a new machine image to update an existing instance, your new machine image should use the same network or, if applicable, the same subnetwork as the original instance.", - "path": "projects/{project}/global/machineImages" - }, - "getIamPolicy": { - "id": "compute.machineImages.getIamPolicy", "parameterOrder": [ "project", - "resource" + "backendService" ], - "path": "projects/{project}/global/machineImages/{resource}/getIamPolicy", - "httpMethod": "GET", + "request": { + "$ref": "BackendService" + }, "response": { - "$ref": "Policy" + "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], + "description": "Patches the specified BackendService resource with the data included in the request. For more information, see Backend services overview. This method supports PATCH semantics and uses the JSON merge patch format and processing rules." + }, + "addSignedUrlKey": { + "id": "compute.backendServices.addSignedUrlKey", + "path": "projects/{project}/global/backendServices/{backendService}/addSignedUrlKey", + "flatPath": "projects/{project}/global/backendServices/{backendService}/addSignedUrlKey", + "httpMethod": "POST", "parameters": { + "backendService": { + "description": "Name of the BackendService resource to which the Signed URL Key should be added. The name should conform to RFC1035.", + "location": "path", + "required": true, + "type": "string" + }, "project": { "description": "Project ID for this request.", - "type": "string", - "location": "path", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true - }, - "optionsRequestedPolicyVersion": { - "type": "integer", - "format": "int32", - "location": "query", - "description": "Requested IAM Policy version." - }, - "resource": { - "type": "string", "location": "path", - "description": "Name or id of the resource for this request.", "required": true, - "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, - "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.", - "flatPath": "projects/{project}/global/machineImages/{resource}/getIamPolicy" - }, - "list": { - "path": "projects/{project}/global/machineImages", "parameterOrder": [ - "project" + "project", + "backendService" ], - "httpMethod": "GET", - "id": "compute.machineImages.list", + "request": { + "$ref": "SignedUrlKey" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], - "description": "Retrieves a list of machine images that are contained within the specified project.", - "flatPath": "projects/{project}/global/machineImages", + "description": "Adds a key for validating requests with signed URLs for this backend service." + }, + "deleteSignedUrlKey": { + "id": "compute.backendServices.deleteSignedUrlKey", + "path": "projects/{project}/global/backendServices/{backendService}/deleteSignedUrlKey", + "flatPath": "projects/{project}/global/backendServices/{backendService}/deleteSignedUrlKey", + "httpMethod": "POST", "parameters": { - "orderBy": { + "backendService": { + "description": "Name of the BackendService resource to which the Signed URL Key should be added. The name should conform to RFC1035.", + "location": "path", + "required": true, + "type": "string" + }, + "keyName": { + "description": "The name of the Signed URL Key to delete.", "location": "query", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "required": true, "type": "string" }, "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", + "location": "path", "required": true, - "description": "Project ID for this request.", - "location": "path" + "type": "string" }, - "maxResults": { - "minimum": "0", - "default": "500", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "format": "uint32", - "type": "integer", - "location": "query" + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, + "parameterOrder": [ + "project", + "backendService", + "keyName" + ], + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Deletes a key for validating requests with signed URLs for this backend service." + }, + "setSecurityPolicy": { + "id": "compute.backendServices.setSecurityPolicy", + "path": "projects/{project}/global/backendServices/{backendService}/setSecurityPolicy", + "flatPath": "projects/{project}/global/backendServices/{backendService}/setSecurityPolicy", + "httpMethod": "POST", + "parameters": { + "backendService": { + "description": "Name of the BackendService resource to which the security policy should be set. The name should conform to RFC1035.", + "location": "path", + "required": true, + "type": "string" }, - "pageToken": { - "location": "query", - "type": "string", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results." + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" }, - "returnPartialSuccess": { - "type": "boolean", + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." - }, - "filter": { - "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "location": "query" + "type": "string" } }, + "parameterOrder": [ + "project", + "backendService" + ], + "request": { + "$ref": "SecurityPolicyReference" + }, "response": { - "$ref": "MachineImageList" - } - }, - "delete": { - "description": "Deletes the specified machine image. Deleting a machine image is permanent and cannot be undone.", - "httpMethod": "DELETE", + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "path": "projects/{project}/global/machineImages/{machineImage}", - "id": "compute.machineImages.delete", - "response": { - "$ref": "Operation" - }, + "description": "Sets the Google Cloud Armor security policy for the specified backend service. For more information, see Google Cloud Armor Overview" + }, + "setEdgeSecurityPolicy": { + "id": "compute.backendServices.setEdgeSecurityPolicy", + "path": "projects/{project}/global/backendServices/{backendService}/setEdgeSecurityPolicy", + "flatPath": "projects/{project}/global/backendServices/{backendService}/setEdgeSecurityPolicy", + "httpMethod": "POST", "parameters": { - "machineImage": { + "backendService": { + "description": "Name of the BackendService resource to which the edge security policy should be set. The name should conform to RFC1035.", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", "required": true, - "description": "The name of the machine image to delete." - }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query", "type": "string" }, "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request." + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, "parameterOrder": [ "project", - "machineImage" + "backendService" ], - "flatPath": "projects/{project}/global/machineImages/{machineImage}" - } - } - }, - "zoneOperations": { - "methods": { - "get": { + "request": { + "$ref": "SecurityPolicyReference" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "parameterOrder": [ - "project", - "zone", - "operation" + "https://www.googleapis.com/auth/compute" ], - "id": "compute.zoneOperations.get", - "description": "Retrieves the specified zone-specific Operations resource.", + "description": "Sets the edge security policy for the specified backend service." + }, + "getHealth": { + "id": "compute.backendServices.getHealth", + "path": "projects/{project}/global/backendServices/{backendService}/getHealth", + "flatPath": "projects/{project}/global/backendServices/{backendService}/getHealth", + "httpMethod": "POST", "parameters": { - "zone": { - "required": true, + "backendService": { + "description": "Name of the BackendService resource to which the queried instance belongs.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", - "description": "Name of the zone for this request." - }, - "operation": { - "description": "Name of the Operations resource to return.", "required": true, - "type": "string", - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" + "type": "string" }, "project": { - "location": "path", - "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, "type": "string" } }, - "httpMethod": "GET", - "flatPath": "projects/{project}/zones/{zone}/operations/{operation}", + "parameterOrder": [ + "project", + "backendService" + ], + "request": { + "$ref": "ResourceGroupReference" + }, "response": { - "$ref": "Operation" + "$ref": "BackendServiceGroupHealth" }, - "path": "projects/{project}/zones/{zone}/operations/{operation}" - }, - "list": { "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "description": "Retrieves a list of Operation resources contained within the specified zone.", - "flatPath": "projects/{project}/zones/{zone}/operations", - "id": "compute.zoneOperations.list", + "description": "Gets the most recent health check results for this BackendService. Example request body: { \"group\": \"/zones/us-east1-b/instanceGroups/lb-backend-example\" }" + }, + "getIamPolicy": { + "id": "compute.backendServices.getIamPolicy", + "path": "projects/{project}/global/backendServices/{resource}/getIamPolicy", + "flatPath": "projects/{project}/global/backendServices/{resource}/getIamPolicy", + "httpMethod": "GET", "parameters": { + "optionsRequestedPolicyVersion": { + "description": "Requested IAM Policy version.", + "location": "query", + "type": "integer", + "format": "int32" + }, "project": { "description": "Project ID for this request.", - "location": "path", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, "type": "string" }, - "returnPartialSuccess": { - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "location": "query" - }, - "filter": { - "type": "string", - "location": "query", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`." - }, - "orderBy": { - "type": "string", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "location": "query" - }, - "maxResults": { - "default": "500", - "format": "uint32", - "minimum": "0", - "location": "query", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "type": "integer" - }, - "zone": { - "description": "Name of the zone for request.", + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true - }, - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "location": "query", + "required": true, "type": "string" } }, - "response": { - "$ref": "OperationList" - }, "parameterOrder": [ "project", - "zone" + "resource" ], - "path": "projects/{project}/zones/{zone}/operations", - "httpMethod": "GET" + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists." }, - "delete": { - "httpMethod": "DELETE", - "description": "Deletes the specified zone-specific Operations resource.", - "path": "projects/{project}/zones/{zone}/operations/{operation}", - "id": "compute.zoneOperations.delete", + "setIamPolicy": { + "id": "compute.backendServices.setIamPolicy", + "path": "projects/{project}/global/backendServices/{resource}/setIamPolicy", + "flatPath": "projects/{project}/global/backendServices/{resource}/setIamPolicy", + "httpMethod": "POST", "parameters": { "project": { - "location": "path", - "type": "string", + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, - "description": "Project ID for this request." - }, - "zone": { "location": "path", "required": true, - "description": "Name of the zone for this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "type": "string" }, - "operation": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", "required": true, - "type": "string", - "description": "Name of the Operations resource to delete.", - "location": "path" + "type": "string" } }, + "parameterOrder": [ + "project", + "resource" + ], + "request": { + "$ref": "GlobalSetPolicyRequest" + }, + "response": { + "$ref": "Policy" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "parameterOrder": [ - "project", - "zone", - "operation" - ], - "flatPath": "projects/{project}/zones/{zone}/operations/{operation}" + "description": "Sets the access control policy on the specified resource. Replaces any existing policy." }, - "wait": { - "id": "compute.zoneOperations.wait", - "flatPath": "projects/{project}/zones/{zone}/operations/{operation}/wait", + "testIamPermissions": { + "id": "compute.backendServices.testIamPermissions", + "path": "projects/{project}/global/backendServices/{resource}/testIamPermissions", + "flatPath": "projects/{project}/global/backendServices/{resource}/testIamPermissions", "httpMethod": "POST", - "path": "projects/{project}/zones/{zone}/operations/{operation}/wait", "parameters": { "project": { - "required": true, - "type": "string", "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "required": true, + "type": "string" }, - "operation": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name of the Operations resource to return.", + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "type": "string", - "required": true - }, - "zone": { - "type": "string", "required": true, - "location": "path", - "description": "Name of the zone for this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "type": "string" } }, - "description": "Waits for the specified Operation resource to return as `DONE` or for the request to approach the 2 minute deadline, and retrieves the specified Operation resource. This method waits for no more than the 2 minutes and then returns the current state of the operation, which might be `DONE` or still in progress. This method is called on a best-effort basis. Specifically: - In uncommon cases, when the server is overloaded, the request might return before the default deadline is reached, or might return after zero seconds. - If the default deadline is reached, there is no guarantee that the operation is actually done when the method returns. Be prepared to retry if the operation is not `DONE`. ", "parameterOrder": [ "project", - "zone", - "operation" + "resource" ], + "request": { + "$ref": "TestPermissionsRequest" + }, + "response": { + "$ref": "TestPermissionsResponse" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "response": { - "$ref": "Operation" - } + "description": "Returns permissions that a caller has on the specified resource." } } }, - "nodeTypes": { + "regionBackendServices": { "methods": { - "aggregatedList": { - "id": "compute.nodeTypes.aggregatedList", - "path": "projects/{project}/aggregated/nodeTypes", - "description": "Retrieves an aggregated list of node types.", + "list": { + "id": "compute.regionBackendServices.list", + "path": "projects/{project}/regions/{region}/backendServices", + "flatPath": "projects/{project}/regions/{region}/backendServices", + "httpMethod": "GET", "parameters": { - "includeAllScopes": { - "type": "boolean", - "location": "query", - "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included." - }, "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", "location": "query", "type": "string" }, - "pageToken": { - "location": "query", - "type": "string", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results." - }, "maxResults": { - "type": "integer", "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", "minimum": "0", - "format": "uint32", - "location": "query", - "default": "500" - }, - "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", "location": "query", - "type": "boolean" + "type": "integer", + "format": "uint32" }, "orderBy": { "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "type": "string", - "location": "query" + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" }, "project": { - "location": "path", + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "type": "string", - "description": "Project ID for this request." + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } }, - "httpMethod": "GET", - "flatPath": "projects/{project}/aggregated/nodeTypes", + "parameterOrder": [ + "project", + "region" + ], "response": { - "$ref": "NodeTypeAggregatedList" + "$ref": "BackendServiceList" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "parameterOrder": [ - "project" - ] + "description": "Retrieves the list of regional BackendService resources available to the specified project in the given region." }, - "list": { - "parameterOrder": [ - "project", - "zone" - ], - "path": "projects/{project}/zones/{zone}/nodeTypes", - "flatPath": "projects/{project}/zones/{zone}/nodeTypes", - "id": "compute.nodeTypes.list", - "description": "Retrieves a list of node types available to the specified project.", + "listUsable": { + "id": "compute.regionBackendServices.listUsable", + "path": "projects/{project}/regions/{region}/backendServices/listUsable", + "flatPath": "projects/{project}/regions/{region}/backendServices/listUsable", + "httpMethod": "GET", "parameters": { - "zone": { - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true, - "location": "path", - "description": "The name of the zone for this request." + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" }, - "returnPartialSuccess": { - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "location": "query" + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" }, "orderBy": { - "location": "query", "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", "type": "string" }, "pageToken": { - "type": "string", + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "location": "query", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results." + "type": "string" }, "project": { - "required": true, - "type": "string", "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "location": "path" + "location": "path", + "required": true, + "type": "string" }, - "maxResults": { - "minimum": "0", - "default": "500", - "location": "query", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "format": "uint32", - "type": "integer" + "region": { + "description": "Name of the region scoping this request. It must be a string that meets the requirements in RFC1035.", + "location": "path", + "required": true, + "type": "string" }, - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", "location": "query", - "type": "string" + "type": "boolean" } }, - "httpMethod": "GET", + "parameterOrder": [ + "project", + "region" + ], + "response": { + "$ref": "BackendServiceListUsable" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "response": { - "$ref": "NodeTypeList" - } + "description": "Retrieves an aggregated list of all usable backend services in the specified project in the given region." }, "get": { + "id": "compute.regionBackendServices.get", + "path": "projects/{project}/regions/{region}/backendServices/{backendService}", + "flatPath": "projects/{project}/regions/{region}/backendServices/{backendService}", "httpMethod": "GET", - "flatPath": "projects/{project}/zones/{zone}/nodeTypes/{nodeType}", - "path": "projects/{project}/zones/{zone}/nodeTypes/{nodeType}", "parameters": { - "project": { + "backendService": { + "description": "Name of the BackendService resource to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "description": "Project ID for this request.", - "type": "string", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" }, - "nodeType": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "description": "Name of the node type to return.", "required": true, - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" + "type": "string" }, - "zone": { - "location": "path", - "description": "The name of the zone for this request.", - "type": "string", + "region": { + "description": "Name of the region scoping this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true + "location": "path", + "required": true, + "type": "string" } }, - "description": "Returns the specified node type. Gets a list of available node types by making a list() request.", + "parameterOrder": [ + "project", + "region", + "backendService" + ], "response": { - "$ref": "NodeType" + "$ref": "BackendService" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], + "description": "Returns the specified regional BackendService resource." + }, + "insert": { + "id": "compute.regionBackendServices.insert", + "path": "projects/{project}/regions/{region}/backendServices", + "flatPath": "projects/{project}/regions/{region}/backendServices", + "httpMethod": "POST", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, "parameterOrder": [ "project", - "zone", - "nodeType" + "region" ], - "id": "compute.nodeTypes.get" - } - } - }, - "instanceGroupManagers": { - "methods": { - "listErrors": { + "request": { + "$ref": "BackendService" + }, "response": { - "$ref": "InstanceGroupManagersListErrorsResponse" + "$ref": "Operation" }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Creates a regional BackendService resource in the specified project using the data included in the request. For more information, see Backend services overview." + }, + "delete": { + "id": "compute.regionBackendServices.delete", + "path": "projects/{project}/regions/{region}/backendServices/{backendService}", + "flatPath": "projects/{project}/regions/{region}/backendServices/{backendService}", + "httpMethod": "DELETE", "parameters": { - "maxResults": { - "type": "integer", - "default": "500", - "minimum": "0", - "location": "query", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "format": "uint32" - }, - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "type": "string", - "location": "query" - }, - "returnPartialSuccess": { - "location": "query", - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." - }, - "filter": { - "type": "string", - "location": "query", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`." - }, - "orderBy": { - "type": "string", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "location": "query" - }, - "instanceGroupManager": { - "description": "The name of the managed instance group. It must be a string that meets the requirements in RFC1035, or an unsigned long integer: must match regexp pattern: (?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?)|1-9{0,19}.", + "backendService": { + "description": "Name of the BackendService resource to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "type": "string", - "required": true - }, - "zone": { - "description": "The name of the zone where the managed instance group is located. It should conform to RFC1035.", - "type": "string", "required": true, - "location": "path" + "type": "string" }, "project": { - "required": true, "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", "type": "string" } }, - "httpMethod": "GET", - "description": "Lists all errors thrown by actions on instances for a given managed instance group. The filter and orderBy query parameters are not supported.", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "parameterOrder": [ - "project", - "zone", - "instanceGroupManager" - ], - "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listErrors", - "path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listErrors", - "id": "compute.instanceGroupManagers.listErrors" - }, - "createInstances": { - "id": "compute.instanceGroupManagers.createInstances", "parameterOrder": [ "project", - "zone", - "instanceGroupManager" + "region", + "backendService" ], - "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/createInstances", "response": { "$ref": "Operation" }, @@ -47723,1156 +59517,1065 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/createInstances", + "description": "Deletes the specified regional BackendService resource." + }, + "update": { + "id": "compute.regionBackendServices.update", + "path": "projects/{project}/regions/{region}/backendServices/{backendService}", + "flatPath": "projects/{project}/regions/{region}/backendServices/{backendService}", + "httpMethod": "PUT", "parameters": { - "requestId": { - "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "backendService": { + "description": "Name of the BackendService resource to update.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" }, "project": { - "location": "path", "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, "type": "string" }, - "instanceGroupManager": { - "required": true, - "type": "string", + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "description": "The name of the managed instance group. It should conform to RFC1035." - }, - "zone": { - "type": "string", "required": true, - "description": "The name of the zone where the managed instance group is located. It should conform to RFC1035.", - "location": "path" + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, - "request": { - "$ref": "InstanceGroupManagersCreateInstancesRequest" - }, - "description": "Creates instances with per-instance configurations in this managed instance group. Instances are created using the current instance template. The create instances operation is marked DONE if the createInstances request is successful. The underlying actions take additional time. You must separately verify the status of the creating or actions with the listmanagedinstances method.", - "httpMethod": "POST" - }, - "abandonInstances": { - "id": "compute.instanceGroupManagers.abandonInstances", "parameterOrder": [ "project", - "zone", - "instanceGroupManager" + "region", + "backendService" ], + "request": { + "$ref": "BackendService" + }, "response": { "$ref": "Operation" }, - "request": { - "$ref": "InstanceGroupManagersAbandonInstancesRequest" - }, - "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "httpMethod": "POST", - "description": "Flags the specified instances to be removed from the managed instance group. Abandoning an instance does not delete the instance, but it does remove the instance from any target pools that are applied by the managed instance group. This method reduces the targetSize of the managed instance group by the number of instances that you abandon. This operation is marked as DONE when the action is scheduled even if the instances have not yet been removed from the group. You must separately verify the status of the abandoning action with the listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request.", + "description": "Updates the specified regional BackendService resource with the data included in the request. For more information, see Backend services overview ." + }, + "patch": { + "id": "compute.regionBackendServices.patch", + "path": "projects/{project}/regions/{region}/backendServices/{backendService}", + "flatPath": "projects/{project}/regions/{region}/backendServices/{backendService}", + "httpMethod": "PATCH", "parameters": { - "zone": { - "description": "The name of the zone where the managed instance group is located.", - "type": "string", - "required": true, - "location": "path" - }, - "instanceGroupManager": { + "backendService": { + "description": "Name of the BackendService resource to patch.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", "required": true, - "type": "string", - "description": "The name of the managed instance group.", - "location": "path" + "type": "string" }, "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "type": "string", - "location": "path" + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" }, "requestId": { - "type": "string", "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" + "location": "query", + "type": "string" } }, - "path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances" - }, - "aggregatedList": { "parameterOrder": [ - "project" + "project", + "region", + "backendService" ], + "request": { + "$ref": "BackendService" + }, "response": { - "$ref": "InstanceGroupManagerAggregatedList" + "$ref": "Operation" }, - "path": "projects/{project}/aggregated/instanceGroupManagers", - "description": "Retrieves the list of managed instance groups and groups them by zone.", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], - "flatPath": "projects/{project}/aggregated/instanceGroupManagers", + "description": "Updates the specified regional BackendService resource with the data included in the request. For more information, see Understanding backend services This method supports PATCH semantics and uses the JSON merge patch format and processing rules." + }, + "setSecurityPolicy": { + "id": "compute.regionBackendServices.setSecurityPolicy", + "path": "projects/{project}/regions/{region}/backendServices/{backendService}/setSecurityPolicy", + "flatPath": "projects/{project}/regions/{region}/backendServices/{backendService}/setSecurityPolicy", + "httpMethod": "POST", "parameters": { - "returnPartialSuccess": { - "type": "boolean", - "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." - }, - "pageToken": { - "location": "query", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "type": "string" - }, - "filter": { - "location": "query", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "type": "string" - }, - "maxResults": { - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "minimum": "0", - "default": "500", - "location": "query", - "type": "integer", - "format": "uint32" - }, - "orderBy": { - "location": "query", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "backendService": { + "description": "Name of the BackendService resource to which the security policy should be set. The name should conform to RFC1035.", + "location": "path", + "required": true, "type": "string" }, "project": { "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "type": "string", - "location": "path" + "type": "string" }, - "includeAllScopes": { + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", - "type": "boolean" + "type": "string" } }, - "httpMethod": "GET", - "id": "compute.instanceGroupManagers.aggregatedList" - }, - "applyUpdatesToInstances": { "parameterOrder": [ "project", - "zone", - "instanceGroupManager" + "region", + "backendService" ], - "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances", + "request": { + "$ref": "SecurityPolicyReference" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances", - "description": "Applies changes to selected instances on the managed instance group. This method can be used to apply new overrides and/or new versions.", - "response": { - "$ref": "Operation" - }, + "description": "Sets the Google Cloud Armor security policy for the specified backend service. For more information, see Google Cloud Armor Overview" + }, + "getHealth": { + "id": "compute.regionBackendServices.getHealth", + "path": "projects/{project}/regions/{region}/backendServices/{backendService}/getHealth", + "flatPath": "projects/{project}/regions/{region}/backendServices/{backendService}/getHealth", + "httpMethod": "POST", "parameters": { - "zone": { - "description": "The name of the zone where the managed instance group is located. Should conform to RFC1035.", + "backendService": { + "description": "Name of the BackendService resource for which to get health.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "type": "string", - "required": true + "required": true, + "type": "string" }, "project": { "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "description": "Project ID for this request.", "required": true, "type": "string" }, - "instanceGroupManager": { + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", "required": true, - "description": "The name of the managed instance group, should conform to RFC1035.", - "type": "string", - "location": "path" + "type": "string" } }, - "httpMethod": "POST", - "request": { - "$ref": "InstanceGroupManagersApplyUpdatesRequest" - }, - "id": "compute.instanceGroupManagers.applyUpdatesToInstances" - }, - "setTargetPools": { - "httpMethod": "POST", - "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools", - "id": "compute.instanceGroupManagers.setTargetPools", - "response": { - "$ref": "Operation" - }, "parameterOrder": [ "project", - "zone", - "instanceGroupManager" + "region", + "backendService" ], - "path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools", "request": { - "$ref": "InstanceGroupManagersSetTargetPoolsRequest" + "$ref": "ResourceGroupReference" + }, + "response": { + "$ref": "BackendServiceGroupHealth" }, - "description": "Modifies the target pools to which all instances in this managed instance group are assigned. The target pools automatically apply to all of the instances in the managed instance group. This operation is marked DONE when you make the request even if the instances have not yet been added to their target pools. The change might take some time to apply to all of the instances in the group depending on the size of the group.", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Gets the most recent health check results for this regional BackendService." + }, + "getIamPolicy": { + "id": "compute.regionBackendServices.getIamPolicy", + "path": "projects/{project}/regions/{region}/backendServices/{resource}/getIamPolicy", + "flatPath": "projects/{project}/regions/{region}/backendServices/{resource}/getIamPolicy", + "httpMethod": "GET", "parameters": { - "instanceGroupManager": { - "required": true, - "description": "The name of the managed instance group.", + "optionsRequestedPolicyVersion": { + "description": "Requested IAM Policy version.", + "location": "query", + "type": "integer", + "format": "int32" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", + "required": true, "type": "string" }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" - }, - "zone": { - "description": "The name of the zone where the managed instance group is located.", + "region": { + "description": "The name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "type": "string", - "required": true - }, - "project": { "required": true, - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "description": "Project ID for this request." + "required": true, + "type": "string" } }, + "parameterOrder": [ + "project", + "region", + "resource" + ], + "response": { + "$ref": "Policy" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ] + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists." }, - "patchPerInstanceConfigs": { + "setIamPolicy": { + "id": "compute.regionBackendServices.setIamPolicy", + "path": "projects/{project}/regions/{region}/backendServices/{resource}/setIamPolicy", + "flatPath": "projects/{project}/regions/{region}/backendServices/{resource}/setIamPolicy", + "httpMethod": "POST", "parameters": { - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" - }, - "zone": { - "type": "string", - "required": true, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "description": "The name of the zone where the managed instance group is located. It should conform to RFC1035." + "required": true, + "type": "string" }, - "project": { - "type": "string", + "region": { + "description": "The name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", "required": true, - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" }, - "instanceGroupManager": { + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "type": "string", "required": true, - "description": "The name of the managed instance group. It should conform to RFC1035." + "type": "string" } }, - "path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/patchPerInstanceConfigs", - "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/patchPerInstanceConfigs", + "parameterOrder": [ + "project", + "region", + "resource" + ], "request": { - "$ref": "InstanceGroupManagersPatchPerInstanceConfigsReq" + "$ref": "RegionSetPolicyRequest" }, - "id": "compute.instanceGroupManagers.patchPerInstanceConfigs", "response": { - "$ref": "Operation" + "$ref": "Policy" }, - "description": "Inserts or patches per-instance configurations for the managed instance group. perInstanceConfig.name serves as a key used to distinguish whether to perform insert or patch.", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "parameterOrder": [ - "project", - "zone", - "instanceGroupManager" - ], - "httpMethod": "POST" + "description": "Sets the access control policy on the specified resource. Replaces any existing policy." }, - "listManagedInstances": { + "testIamPermissions": { + "id": "compute.regionBackendServices.testIamPermissions", + "path": "projects/{project}/regions/{region}/backendServices/{resource}/testIamPermissions", + "flatPath": "projects/{project}/regions/{region}/backendServices/{resource}/testIamPermissions", "httpMethod": "POST", - "response": { - "$ref": "InstanceGroupManagersListManagedInstancesResponse" - }, "parameters": { "project": { "description": "Project ID for this request.", - "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", - "location": "path" - }, - "zone": { - "description": "The name of the zone where the managed instance group is located.", "location": "path", - "type": "string", - "required": true - }, - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "type": "string", - "location": "query" + "required": true, + "type": "string" }, - "instanceGroupManager": { + "region": { + "description": "The name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "type": "string", - "description": "The name of the managed instance group.", - "required": true - }, - "orderBy": { - "location": "query", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "required": true, "type": "string" }, - "returnPartialSuccess": { - "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "type": "boolean" - }, - "pageToken": { - "location": "query", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, "type": "string" - }, - "maxResults": { - "minimum": "0", - "default": "500", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "location": "query", - "format": "uint32", - "type": "integer" } }, "parameterOrder": [ "project", - "zone", - "instanceGroupManager" + "region", + "resource" ], - "path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances", - "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances", - "description": "Lists all of the instances in the managed instance group. Each instance in the list has a currentAction, which indicates the action that the managed instance group is performing on the instance. For example, if the group is still creating an instance, the currentAction is CREATING. If a previous action failed, the list displays the errors for that failed action. The orderBy query parameter is not supported. The `pageToken` query parameter is supported only in the alpha and beta API and only if the group's `listManagedInstancesResults` field is set to `PAGINATED`.", - "id": "compute.instanceGroupManagers.listManagedInstances", + "request": { + "$ref": "TestPermissionsRequest" + }, + "response": { + "$ref": "TestPermissionsResponse" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" - ] - }, - "resize": { + ], + "description": "Returns permissions that a caller has on the specified resource." + } + } + }, + "regionCommitments": { + "methods": { + "list": { + "id": "compute.regionCommitments.list", + "path": "projects/{project}/regions/{region}/commitments", + "flatPath": "projects/{project}/regions/{region}/commitments", + "httpMethod": "GET", "parameters": { - "size": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", "location": "query", - "format": "int32", - "description": "The number of running instances that the managed instance group should maintain at any given time. The group automatically adds or removes instances to maintain the number of instances specified by this parameter.", "type": "integer", - "required": true + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" }, "project": { - "location": "path", + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", - "required": true, - "description": "Project ID for this request." - }, - "instanceGroupManager": { "location": "path", - "description": "The name of the managed instance group.", "required": true, "type": "string" }, - "zone": { + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "type": "string", "required": true, - "description": "The name of the zone where the managed instance group is located." + "type": "string" }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } }, - "id": "compute.instanceGroupManagers.resize", - "httpMethod": "POST", - "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize", - "description": "Resizes the managed instance group. If you increase the size, the group creates new instances using the current instance template. If you decrease the size, the group deletes instances. The resize operation is marked DONE when the resize actions are scheduled even if the group has not yet added or deleted any instances. You must separately verify the status of the creating or deleting actions with the listmanagedinstances method. When resizing down, the instance group arbitrarily chooses the order in which VMs are deleted. The group takes into account some VM attributes when making the selection including: + The status of the VM instance. + The health of the VM instance. + The instance template version the VM is based on. + For regional managed instance groups, the location of the VM instance. This list is subject to change. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted.", "parameterOrder": [ "project", - "zone", - "instanceGroupManager", - "size" + "region" ], "response": { - "$ref": "Operation" + "$ref": "CommitmentList" }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize" - }, - "listPerInstanceConfigs": { - "parameterOrder": [ - "project", - "zone", - "instanceGroupManager" - ], "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "httpMethod": "POST", + "description": "Retrieves a list of commitments contained within the specified region." + }, + "aggregatedList": { + "id": "compute.regionCommitments.aggregatedList", + "path": "projects/{project}/aggregated/commitments", + "flatPath": "projects/{project}/aggregated/commitments", + "httpMethod": "GET", "parameters": { - "orderBy": { - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "type": "string", - "location": "query" - }, - "pageToken": { - "type": "string", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "location": "query" + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" }, - "project": { - "location": "path", - "required": true, - "description": "Project ID for this request.", - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "includeAllScopes": { + "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", + "location": "query", + "type": "boolean" }, "maxResults": { - "type": "integer", - "format": "uint32", - "default": "500", "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", "location": "query", - "minimum": "0" + "type": "integer", + "format": "uint32" }, - "returnPartialSuccess": { + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "type": "boolean" + "type": "string" }, - "zone": { - "description": "The name of the zone where the managed instance group is located. It should conform to RFC1035.", - "required": true, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", + "required": true, "type": "string" }, - "instanceGroupManager": { - "description": "The name of the managed instance group. It should conform to RFC1035.", - "location": "path", - "type": "string", - "required": true + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" }, - "filter": { - "type": "string", + "serviceProjectNumber": { + "description": "The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.", "location": "query", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`." + "type": "string", + "format": "int64" } }, - "description": "Lists all of the per-instance configurations defined for the managed instance group. The orderBy query parameter is not supported.", - "path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs", - "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs", - "id": "compute.instanceGroupManagers.listPerInstanceConfigs", - "response": { - "$ref": "InstanceGroupManagersListPerInstanceConfigsResp" - } - }, - "deleteInstances": { - "id": "compute.instanceGroupManagers.deleteInstances", "parameterOrder": [ - "project", - "zone", - "instanceGroupManager" + "project" + ], + "response": { + "$ref": "CommitmentAggregatedList" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], + "description": "Retrieves an aggregated list of commitments by region." + }, + "get": { + "id": "compute.regionCommitments.get", + "path": "projects/{project}/regions/{region}/commitments/{commitment}", + "flatPath": "projects/{project}/regions/{region}/commitments/{commitment}", + "httpMethod": "GET", "parameters": { - "project": { + "commitment": { + "description": "Name of the commitment to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", "required": true, "type": "string" }, - "requestId": { - "type": "string", - "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - }, - "zone": { - "description": "The name of the zone where the managed instance group is located.", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "type": "string", - "location": "path" + "type": "string" }, - "instanceGroupManager": { - "description": "The name of the managed instance group.", + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "type": "string", - "required": true + "required": true, + "type": "string" } }, - "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "parameterOrder": [ + "project", + "region", + "commitment" ], - "request": { - "$ref": "InstanceGroupManagersDeleteInstancesRequest" - }, "response": { - "$ref": "Operation" + "$ref": "Commitment" }, - "path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances", - "description": "Flags the specified instances in the managed instance group for immediate deletion. The instances are also removed from any target pools of which they were a member. This method reduces the targetSize of the managed instance group by the number of instances that you delete. This operation is marked as DONE when the action is scheduled even if the instances are still being deleted. You must separately verify the status of the deleting action with the listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request.", - "httpMethod": "POST" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Returns the specified commitment resource." }, - "setInstanceTemplate": { - "request": { - "$ref": "InstanceGroupManagersSetInstanceTemplateRequest" - }, + "insert": { + "id": "compute.regionCommitments.insert", + "path": "projects/{project}/regions/{region}/commitments", + "flatPath": "projects/{project}/regions/{region}/commitments", + "httpMethod": "POST", "parameters": { - "instanceGroupManager": { - "required": true, - "description": "The name of the managed instance group.", - "location": "path", - "type": "string" - }, "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "description": "Project ID for this request.", + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", + "required": true, "type": "string" }, "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - }, - "zone": { - "type": "string", - "location": "path", - "required": true, - "description": "The name of the zone where the managed instance group is located." + "type": "string" } }, - "path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate", - "httpMethod": "POST", - "id": "compute.instanceGroupManagers.setInstanceTemplate", + "parameterOrder": [ + "project", + "region" + ], + "request": { + "$ref": "Commitment" + }, "response": { "$ref": "Operation" }, - "description": "Specifies the instance template to use when creating new instances in this group. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE.", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "parameterOrder": [ - "project", - "zone", - "instanceGroupManager" - ], - "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate" + "description": "Creates a commitment in the specified project using the data included in the request." }, - "delete": { + "update": { + "id": "compute.regionCommitments.update", + "path": "projects/{project}/regions/{region}/commitments/{commitment}", + "flatPath": "projects/{project}/regions/{region}/commitments/{commitment}", + "httpMethod": "PATCH", "parameters": { - "project": { + "commitment": { + "description": "Name of the commitment for which auto renew is being updated.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", "type": "string" }, - "zone": { - "required": true, - "location": "path", - "description": "The name of the zone where the managed instance group is located.", + "paths": { + "location": "query", + "repeated": true, "type": "string" }, - "instanceGroupManager": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "description": "The name of the managed instance group to delete.", + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", + "required": true, "type": "string" }, "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "updateMask": { + "description": "update_mask indicates fields to be updated as part of this request.", "location": "query", "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "format": "google-fieldmask" } }, - "response": { - "$ref": "Operation" - }, - "id": "compute.instanceGroupManagers.delete", - "path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}", - "httpMethod": "DELETE", - "description": "Deletes the specified managed instance group and all of the instances in that group. Note that the instance group must not belong to a backend service. Read Deleting an instance group for more information.", "parameterOrder": [ "project", - "zone", - "instanceGroupManager" - ] - }, - "insert": { + "region", + "commitment" + ], "request": { - "$ref": "InstanceGroupManager" + "$ref": "Commitment" + }, + "response": { + "$ref": "Operation" }, - "id": "compute.instanceGroupManagers.insert", - "parameterOrder": [ - "project", - "zone" - ], - "httpMethod": "POST", - "description": "Creates a managed instance group using the information that you specify in the request. After the group is created, instances in the group are created using the specified instance template. This operation is marked as DONE when the group is created even if the instances in the group have not yet been created. You must separately verify the status of the individual instances with the listmanagedinstances method. A managed instance group can have up to 1000 VM instances per group. Please contact Cloud Support if you need an increase in this limit.", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "path": "projects/{project}/zones/{zone}/instanceGroupManagers", - "response": { - "$ref": "Operation" - }, + "description": "Updates the specified commitment with the data included in the request. Update is performed only on selected fields included as part of update-mask. Only the following fields can be modified: auto_renew." + } + } + }, + "diskTypes": { + "methods": { + "list": { + "id": "compute.diskTypes.list", + "path": "projects/{project}/zones/{zone}/diskTypes", + "flatPath": "projects/{project}/zones/{zone}/diskTypes", + "httpMethod": "GET", "parameters": { - "requestId": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "type": "string" }, "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "description": "Project ID for this request.", - "type": "string", - "required": true + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" }, "zone": { - "description": "The name of the zone where you want to create the managed instance group.", - "type": "string", + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "required": true + "required": true, + "type": "string" } }, - "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers" - }, - "list": { - "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers", - "id": "compute.instanceGroupManagers.list", "parameterOrder": [ "project", "zone" ], + "response": { + "$ref": "DiskTypeList" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Retrieves a list of disk types available to the specified project." + }, + "aggregatedList": { + "id": "compute.diskTypes.aggregatedList", + "path": "projects/{project}/aggregated/diskTypes", + "flatPath": "projects/{project}/aggregated/diskTypes", + "httpMethod": "GET", "parameters": { - "project": { - "location": "path", - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", - "required": true + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" }, - "maxResults": { + "includeAllScopes": { + "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", "location": "query", - "format": "uint32", + "type": "boolean" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", "minimum": "0", + "location": "query", "type": "integer", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "default": "500" + "format": "uint32" }, - "filter": { - "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "location": "query" + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" }, "pageToken": { "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "type": "string", - "location": "query" + "location": "query", + "type": "string" }, - "zone": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", "required": true, - "description": "The name of the zone where the managed instance group is located." + "type": "string" }, - "orderBy": { + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", "location": "query", - "type": "string", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported." + "type": "boolean" }, - "returnPartialSuccess": { + "serviceProjectNumber": { + "description": "The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.", "location": "query", - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." + "type": "string", + "format": "int64" } }, - "httpMethod": "GET", - "description": "Retrieves a list of managed instance groups that are contained within the specified project and zone.", + "parameterOrder": [ + "project" + ], "response": { - "$ref": "InstanceGroupManagerList" + "$ref": "DiskTypeAggregatedList" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "path": "projects/{project}/zones/{zone}/instanceGroupManagers" + "description": "Retrieves an aggregated list of disk types." }, "get": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "description": "Returns all of the details about the specified managed instance group. Gets a list of available managed instance groups by making a list() request.", + "id": "compute.diskTypes.get", + "path": "projects/{project}/zones/{zone}/diskTypes/{diskType}", + "flatPath": "projects/{project}/zones/{zone}/diskTypes/{diskType}", "httpMethod": "GET", - "response": { - "$ref": "InstanceGroupManager" - }, - "id": "compute.instanceGroupManagers.get", - "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}", "parameters": { - "zone": { - "type": "string", + "diskType": { + "description": "Name of the disk type to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "description": "The name of the zone where the managed instance group is located.", - "required": true + "required": true, + "type": "string" }, "project": { - "type": "string", "description": "Project ID for this request.", - "required": true, + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "instanceGroupManager": { - "description": "The name of the managed instance group.", "required": true, + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", + "required": true, "type": "string" } }, "parameterOrder": [ "project", "zone", - "instanceGroupManager" + "diskType" ], - "path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}" - }, - "updatePerInstanceConfigs": { - "id": "compute.instanceGroupManagers.updatePerInstanceConfigs", "response": { - "$ref": "Operation" + "$ref": "DiskType" }, - "httpMethod": "POST", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Returns the specified disk type." + } + } + }, + "regionDiskTypes": { + "methods": { + "list": { + "id": "compute.regionDiskTypes.list", + "path": "projects/{project}/regions/{region}/diskTypes", + "flatPath": "projects/{project}/regions/{region}/diskTypes", + "httpMethod": "GET", "parameters": { - "instanceGroupManager": { - "description": "The name of the managed instance group. It should conform to RFC1035.", - "type": "string", - "location": "path", - "required": true - }, - "project": { - "location": "path", - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", "type": "string" }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", "location": "query", "type": "string" }, - "zone": { - "required": true, - "location": "path", - "description": "The name of the zone where the managed instance group is located. It should conform to RFC1035.", + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", "type": "string" - } - }, - "description": "Inserts or updates per-instance configurations for the managed instance group. perInstanceConfig.name serves as a key used to distinguish whether to perform insert or patch.", - "path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "request": { - "$ref": "InstanceGroupManagersUpdatePerInstanceConfigsReq" - }, - "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs", - "parameterOrder": [ - "project", - "zone", - "instanceGroupManager" - ] - }, - "recreateInstances": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "description": "Flags the specified VM instances in the managed instance group to be immediately recreated. Each instance is recreated using the group's current configuration. This operation is marked as DONE when the flag is set even if the instances have not yet been recreated. You must separately verify the status of each instance by checking its currentAction field; for more information, see Checking the status of managed instances. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted. You can specify a maximum of 1000 instances with this method per request.", - "path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances", - "parameters": { + }, "project": { - "type": "string", "description": "Project ID for this request.", - "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "location": "path" - }, - "zone": { "location": "path", "required": true, - "type": "string", - "description": "The name of the zone where the managed instance group is located." - }, - "requestId": { - "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "type": "string" }, - "instanceGroupManager": { - "description": "The name of the managed instance group.", - "required": true, + "region": { + "description": "The name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", + "required": true, "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } }, - "request": { - "$ref": "InstanceGroupManagersRecreateInstancesRequest" - }, - "httpMethod": "POST", - "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances", - "id": "compute.instanceGroupManagers.recreateInstances", - "response": { - "$ref": "Operation" - }, - "parameterOrder": [ - "project", - "zone", - "instanceGroupManager" - ] - }, - "patch": { - "id": "compute.instanceGroupManagers.patch", - "response": { - "$ref": "Operation" - }, - "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], "parameterOrder": [ - "project", - "zone", - "instanceGroupManager" - ], - "description": "Updates a managed instance group using the information that you specify in the request. This operation is marked as DONE when the group is patched even if the instances in the group are still in the process of being patched. You must separately verify the status of the individual instances with the listManagedInstances method. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. If you update your group to specify a new template or instance configuration, it's possible that your intended specification for each VM in the group is different from the current state of that VM. To learn how to apply an updated configuration to the VMs in a MIG, see Updating instances in a MIG.", - "httpMethod": "PATCH", - "request": { - "$ref": "InstanceGroupManager" - }, - "parameters": { - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" - }, - "zone": { - "required": true, - "type": "string", - "location": "path", - "description": "The name of the zone where you want to create the managed instance group." - }, - "project": { - "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", - "type": "string", - "location": "path" - }, - "instanceGroupManager": { - "location": "path", - "description": "The name of the instance group manager.", - "type": "string", - "required": true - } + "project", + "region" + ], + "response": { + "$ref": "RegionDiskTypeList" }, - "path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Retrieves a list of regional disk types available to the specified project." }, - "deletePerInstanceConfigs": { - "description": "Deletes selected per-instance configurations for the managed instance group.", - "id": "compute.instanceGroupManagers.deletePerInstanceConfigs", + "get": { + "id": "compute.regionDiskTypes.get", + "path": "projects/{project}/regions/{region}/diskTypes/{diskType}", + "flatPath": "projects/{project}/regions/{region}/diskTypes/{diskType}", + "httpMethod": "GET", "parameters": { - "instanceGroupManager": { - "required": true, - "type": "string", + "diskType": { + "description": "Name of the disk type to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "description": "The name of the managed instance group. It should conform to RFC1035." + "required": true, + "type": "string" }, "project": { - "type": "string", - "required": true, "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "location": "path" - }, - "zone": { + "location": "path", "required": true, + "type": "string" + }, + "region": { + "description": "The name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "type": "string", - "description": "The name of the zone where the managed instance group is located. It should conform to RFC1035." + "required": true, + "type": "string" } }, - "response": { - "$ref": "Operation" - }, "parameterOrder": [ "project", - "zone", - "instanceGroupManager" + "region", + "diskType" ], + "response": { + "$ref": "DiskType" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "flatPath": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs", - "request": { - "$ref": "InstanceGroupManagersDeletePerInstanceConfigsReq" - }, - "httpMethod": "POST", - "path": "projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs" + "description": "Returns the specified regional disk type." } } }, - "networkAttachments": { + "externalVpnGateways": { "methods": { - "aggregatedList": { - "id": "compute.networkAttachments.aggregatedList", + "insert": { + "id": "compute.externalVpnGateways.insert", + "path": "projects/{project}/global/externalVpnGateways", + "flatPath": "projects/{project}/global/externalVpnGateways", + "httpMethod": "POST", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, "parameterOrder": [ "project" ], + "request": { + "$ref": "ExternalVpnGateway" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], + "description": "Creates a ExternalVpnGateway in the specified project using the data included in the request." + }, + "list": { + "id": "compute.externalVpnGateways.list", + "path": "projects/{project}/global/externalVpnGateways", + "flatPath": "projects/{project}/global/externalVpnGateways", + "httpMethod": "GET", "parameters": { "filter": { - "type": "string", + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", "location": "query", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`." - }, - "returnPartialSuccess": { - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "location": "query" + "type": "string" }, "maxResults": { - "format": "uint32", "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", "location": "query", "type": "integer", - "minimum": "0", - "default": "500" - }, - "includeAllScopes": { - "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", - "type": "boolean", - "location": "query" - }, - "project": { - "type": "string", - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", - "required": true + "format": "uint32" }, "orderBy": { - "type": "string", + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", "location": "query", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported." + "type": "string" }, "pageToken": { - "type": "string", "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "location": "query" - } - }, - "flatPath": "projects/{project}/aggregated/networkAttachments", - "response": { - "$ref": "NetworkAttachmentAggregatedList" - }, - "description": "Retrieves the list of all NetworkAttachment resources, regional and global, available to the specified project.", - "path": "projects/{project}/aggregated/networkAttachments", - "httpMethod": "GET" - }, - "setIamPolicy": { - "description": "Sets the access control policy on the specified resource. Replaces any existing policy.", - "request": { - "$ref": "RegionSetPolicyRequest" - }, - "parameterOrder": [ - "project", - "region", - "resource" - ], - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "response": { - "$ref": "Policy" - }, - "flatPath": "projects/{project}/regions/{region}/networkAttachments/{resource}/setIamPolicy", - "id": "compute.networkAttachments.setIamPolicy", - "parameters": { - "resource": { - "required": true, - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "location": "path", - "description": "Name or id of the resource for this request." + "location": "query", + "type": "string" }, - "region": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", "required": true, - "description": "The name of the region for this request." + "type": "string" }, - "project": { - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", - "description": "Project ID for this request.", - "required": true + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } }, - "httpMethod": "POST", - "path": "projects/{project}/regions/{region}/networkAttachments/{resource}/setIamPolicy" - }, - "getIamPolicy": { - "id": "compute.networkAttachments.getIamPolicy", + "parameterOrder": [ + "project" + ], + "response": { + "$ref": "ExternalVpnGatewayList" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], + "description": "Retrieves the list of ExternalVpnGateway available to the specified project." + }, + "get": { + "id": "compute.externalVpnGateways.get", + "path": "projects/{project}/global/externalVpnGateways/{externalVpnGateway}", + "flatPath": "projects/{project}/global/externalVpnGateways/{externalVpnGateway}", "httpMethod": "GET", "parameters": { - "optionsRequestedPolicyVersion": { - "location": "query", - "type": "integer", - "description": "Requested IAM Policy version.", - "format": "int32" - }, - "resource": { - "required": true, - "description": "Name or id of the resource for this request.", + "externalVpnGateway": { + "description": "Name of the externalVpnGateway to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, "type": "string" }, "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "description": "Project ID for this request.", - "required": true, + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string" - }, - "region": { "required": true, - "location": "path", - "type": "string", - "description": "The name of the region for this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "type": "string" } }, - "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.", "parameterOrder": [ "project", - "region", - "resource" + "externalVpnGateway" ], - "flatPath": "projects/{project}/regions/{region}/networkAttachments/{resource}/getIamPolicy", - "path": "projects/{project}/regions/{region}/networkAttachments/{resource}/getIamPolicy", "response": { - "$ref": "Policy" - } - }, - "testIamPermissions": { - "id": "compute.networkAttachments.testIamPermissions", - "description": "Returns permissions that a caller has on the specified resource.", - "path": "projects/{project}/regions/{region}/networkAttachments/{resource}/testIamPermissions", - "request": { - "$ref": "TestPermissionsRequest" + "$ref": "ExternalVpnGateway" }, - "httpMethod": "POST", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], + "description": "Returns the specified externalVpnGateway. Get a list of available externalVpnGateways by making a list() request." + }, + "delete": { + "id": "compute.externalVpnGateways.delete", + "path": "projects/{project}/global/externalVpnGateways/{externalVpnGateway}", + "flatPath": "projects/{project}/global/externalVpnGateways/{externalVpnGateway}", + "httpMethod": "DELETE", "parameters": { - "resource": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", - "location": "path", - "required": true, - "description": "Name or id of the resource for this request." - }, - "region": { - "type": "string", - "description": "The name of the region for this request.", + "externalVpnGateway": { + "description": "Name of the externalVpnGateways to delete.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", "required": true, - "location": "path" + "type": "string" }, "project": { "description": "Project ID for this request.", - "type": "string", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "required": true + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, "parameterOrder": [ "project", - "region", - "resource" + "externalVpnGateway" ], - "response": { - "$ref": "TestPermissionsResponse" - }, - "flatPath": "projects/{project}/regions/{region}/networkAttachments/{resource}/testIamPermissions" - }, - "delete": { - "description": "Deletes the specified NetworkAttachment in the given scope", - "httpMethod": "DELETE", "response": { "$ref": "Operation" }, @@ -48880,687 +60583,627 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "path": "projects/{project}/regions/{region}/networkAttachments/{networkAttachment}", + "description": "Deletes the specified externalVpnGateway." + }, + "testIamPermissions": { + "id": "compute.externalVpnGateways.testIamPermissions", + "path": "projects/{project}/global/externalVpnGateways/{resource}/testIamPermissions", + "flatPath": "projects/{project}/global/externalVpnGateways/{resource}/testIamPermissions", + "httpMethod": "POST", "parameters": { - "requestId": { - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). end_interface: MixerMutationRequestBuilder", - "location": "query" - }, - "region": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "description": "Name of the region of this request.", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "type": "string" }, - "networkAttachment": { - "type": "string", + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, - "description": "Name of the NetworkAttachment resource to delete.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" - }, - "project": { - "required": true, - "type": "string", - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "location": "path" + "type": "string" } }, "parameterOrder": [ "project", - "region", - "networkAttachment" + "resource" ], - "id": "compute.networkAttachments.delete", - "flatPath": "projects/{project}/regions/{region}/networkAttachments/{networkAttachment}" - }, - "insert": { - "flatPath": "projects/{project}/regions/{region}/networkAttachments", "request": { - "$ref": "NetworkAttachment" + "$ref": "TestPermissionsRequest" + }, + "response": { + "$ref": "TestPermissionsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "description": "Creates a NetworkAttachment in the specified project in the given scope using the parameters that are included in the request.", + "description": "Returns permissions that a caller has on the specified resource." + }, + "setLabels": { + "id": "compute.externalVpnGateways.setLabels", + "path": "projects/{project}/global/externalVpnGateways/{resource}/setLabels", + "flatPath": "projects/{project}/global/externalVpnGateways/{resource}/setLabels", "httpMethod": "POST", - "response": { - "$ref": "Operation" - }, - "path": "projects/{project}/regions/{region}/networkAttachments", - "parameterOrder": [ - "project", - "region" - ], "parameters": { - "region": { - "description": "Name of the region of this request.", - "location": "path", - "required": true, - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" - }, - "requestId": { - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). end_interface: MixerMutationRequestBuilder", - "location": "query" - }, "project": { "description": "Project ID for this request.", - "type": "string", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "required": true + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" } }, - "id": "compute.networkAttachments.insert" - }, - "get": { - "httpMethod": "GET", "parameterOrder": [ "project", - "region", - "networkAttachment" + "resource" ], - "response": { - "$ref": "NetworkAttachment" + "request": { + "$ref": "GlobalSetLabelsRequest" }, - "description": "Returns the specified NetworkAttachment resource in the given scope.", - "flatPath": "projects/{project}/regions/{region}/networkAttachments/{networkAttachment}", - "parameters": { - "project": { - "location": "path", - "type": "string", - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true - }, - "networkAttachment": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true, - "type": "string", - "location": "path", - "description": "Name of the NetworkAttachment resource to return." - }, - "region": { - "description": "Name of the region of this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true, - "location": "path", - "type": "string" - } + "response": { + "$ref": "Operation" }, - "path": "projects/{project}/regions/{region}/networkAttachments/{networkAttachment}", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], - "id": "compute.networkAttachments.get" - }, + "description": "Sets the labels on an ExternalVpnGateway. To learn more about labels, read the Labeling Resources documentation." + } + } + }, + "globalForwardingRules": { + "methods": { "list": { - "flatPath": "projects/{project}/regions/{region}/networkAttachments", + "id": "compute.globalForwardingRules.list", + "path": "projects/{project}/global/forwardingRules", + "flatPath": "projects/{project}/global/forwardingRules", + "httpMethod": "GET", "parameters": { - "orderBy": { - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "type": "string", - "location": "query" - }, - "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", - "type": "string", - "required": true, - "location": "path" + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" }, "maxResults": { - "format": "uint32", - "minimum": "0", - "default": "500", "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", "location": "query", - "type": "integer" - }, - "region": { - "location": "path", - "type": "string", - "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the region of this request." + "type": "integer", + "format": "uint32" }, - "filter": { - "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "location": "query" + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" }, "pageToken": { "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "location": "query", "type": "string" }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, "returnPartialSuccess": { "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", "location": "query", "type": "boolean" } }, - "description": "Lists the NetworkAttachments for a project in the given scope.", - "path": "projects/{project}/regions/{region}/networkAttachments", "parameterOrder": [ - "project", - "region" - ], - "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "project" ], "response": { - "$ref": "NetworkAttachmentList" + "$ref": "ForwardingRuleList" }, - "id": "compute.networkAttachments.list" - } - } - }, - "regionOperations": { - "methods": { - "delete": { - "description": "Deletes the specified region-specific Operations resource.", - "flatPath": "projects/{project}/regions/{region}/operations/{operation}", - "parameterOrder": [ - "project", - "region", - "operation" - ], "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "id": "compute.regionOperations.delete", + "description": "Retrieves a list of GlobalForwardingRule resources available to the specified project." + }, + "get": { + "id": "compute.globalForwardingRules.get", + "path": "projects/{project}/global/forwardingRules/{forwardingRule}", + "flatPath": "projects/{project}/global/forwardingRules/{forwardingRule}", + "httpMethod": "GET", "parameters": { - "operation": { - "description": "Name of the Operations resource to delete.", + "forwardingRule": { + "description": "Name of the ForwardingRule resource to return.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", - "required": true, - "location": "path" - }, - "region": { - "description": "Name of the region for this request.", "location": "path", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "type": "string" }, "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "type": "string", - "description": "Project ID for this request." + "type": "string" } }, - "path": "projects/{project}/regions/{region}/operations/{operation}", - "httpMethod": "DELETE" + "parameterOrder": [ + "project", + "forwardingRule" + ], + "response": { + "$ref": "ForwardingRule" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Returns the specified GlobalForwardingRule resource. Gets a list of available forwarding rules by making a list() request." }, - "list": { + "insert": { + "id": "compute.globalForwardingRules.insert", + "path": "projects/{project}/global/forwardingRules", + "flatPath": "projects/{project}/global/forwardingRules", + "httpMethod": "POST", "parameters": { - "region": { - "type": "string", - "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "location": "path", - "description": "Name of the region for this request." - }, - "pageToken": { - "location": "query", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "type": "string" - }, - "orderBy": { - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "location": "query", - "type": "string" - }, - "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "location": "query", - "type": "boolean" - }, - "filter": { - "location": "query", - "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`." - }, "project": { - "type": "string", "description": "Project ID for this request.", - "location": "path", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true + "location": "path", + "required": true, + "type": "string" }, - "maxResults": { - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "type": "integer", + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "minimum": "0", - "default": "500", - "format": "uint32" + "type": "string" } }, "parameterOrder": [ - "project", - "region" + "project" ], - "description": "Retrieves a list of Operation resources contained within the specified region.", + "request": { + "$ref": "ForwardingRule" + }, "response": { - "$ref": "OperationList" + "$ref": "Operation" }, - "path": "projects/{project}/regions/{region}/operations", - "id": "compute.regionOperations.list", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], - "flatPath": "projects/{project}/regions/{region}/operations", - "httpMethod": "GET" + "description": "Creates a GlobalForwardingRule resource in the specified project using the data included in the request." }, - "wait": { - "response": { - "$ref": "Operation" - }, - "httpMethod": "POST", + "delete": { + "id": "compute.globalForwardingRules.delete", + "path": "projects/{project}/global/forwardingRules/{forwardingRule}", + "flatPath": "projects/{project}/global/forwardingRules/{forwardingRule}", + "httpMethod": "DELETE", "parameters": { - "operation": { + "forwardingRule": { + "description": "Name of the ForwardingRule resource to delete.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", - "description": "Name of the Operations resource to return.", "location": "path", - "required": true + "required": true, + "type": "string" }, "project": { - "type": "string", "description": "Project ID for this request.", - "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "location": "path" - }, - "region": { "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", "required": true, - "description": "Name of the region for this request." + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "id": "compute.regionOperations.wait", - "path": "projects/{project}/regions/{region}/operations/{operation}/wait", - "description": "Waits for the specified Operation resource to return as `DONE` or for the request to approach the 2 minute deadline, and retrieves the specified Operation resource. This method differs from the `GET` method in that it waits for no more than the default deadline (2 minutes) and then returns the current state of the operation, which might be `DONE` or still in progress. This method is called on a best-effort basis. Specifically: - In uncommon cases, when the server is overloaded, the request might return before the default deadline is reached, or might return after zero seconds. - If the default deadline is reached, there is no guarantee that the operation is actually done when the method returns. Be prepared to retry if the operation is not `DONE`. ", "parameterOrder": [ "project", - "region", - "operation" + "forwardingRule" + ], + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" ], - "flatPath": "projects/{project}/regions/{region}/operations/{operation}/wait" + "description": "Deletes the specified GlobalForwardingRule resource." }, - "get": { + "setTarget": { + "id": "compute.globalForwardingRules.setTarget", + "path": "projects/{project}/global/forwardingRules/{forwardingRule}/setTarget", + "flatPath": "projects/{project}/global/forwardingRules/{forwardingRule}/setTarget", + "httpMethod": "POST", "parameters": { - "operation": { - "required": true, - "location": "path", + "forwardingRule": { + "description": "Name of the ForwardingRule resource in which target is to be set.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name of the Operations resource to return.", - "type": "string" - }, - "region": { "location": "path", "required": true, - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the region for this request." + "type": "string" }, "project": { - "type": "string", + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, - "path": "projects/{project}/regions/{region}/operations/{operation}", - "httpMethod": "GET", "parameterOrder": [ "project", - "region", - "operation" + "forwardingRule" ], - "description": "Retrieves the specified region-specific Operations resource.", - "id": "compute.regionOperations.get", + "request": { + "$ref": "TargetReference" + }, "response": { "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "flatPath": "projects/{project}/regions/{region}/operations/{operation}" - } - } - }, - "regionBackendServices": { - "methods": { - "get": { - "parameterOrder": [ - "project", - "region", - "backendService" + "https://www.googleapis.com/auth/compute" ], - "flatPath": "projects/{project}/regions/{region}/backendServices/{backendService}", - "path": "projects/{project}/regions/{region}/backendServices/{backendService}", + "description": "Changes target URL for the GlobalForwardingRule resource. The new target should be of the same type as the old target." + }, + "patch": { + "id": "compute.globalForwardingRules.patch", + "path": "projects/{project}/global/forwardingRules/{forwardingRule}", + "flatPath": "projects/{project}/global/forwardingRules/{forwardingRule}", + "httpMethod": "PATCH", "parameters": { - "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", - "required": true, + "forwardingRule": { + "description": "Name of the ForwardingRule resource to patch.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", + "required": true, "type": "string" }, - "region": { - "type": "string", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "description": "Name of the region scoping this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "type": "string" }, - "backendService": { - "required": true, - "location": "path", - "description": "Name of the BackendService resource to return.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "id": "compute.regionBackendServices.get", - "description": "Returns the specified regional BackendService resource.", - "response": { - "$ref": "BackendService" - }, - "httpMethod": "GET" - }, - "setIamPolicy": { - "httpMethod": "POST", - "description": "Sets the access control policy on the specified resource. Replaces any existing policy.", "parameterOrder": [ "project", - "region", - "resource" + "forwardingRule" ], - "path": "projects/{project}/regions/{region}/backendServices/{resource}/setIamPolicy", + "request": { + "$ref": "ForwardingRule" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "id": "compute.regionBackendServices.setIamPolicy", - "response": { - "$ref": "Policy" - }, - "flatPath": "projects/{project}/regions/{region}/backendServices/{resource}/setIamPolicy", - "request": { - "$ref": "RegionSetPolicyRequest" - }, + "description": "Updates the specified forwarding rule with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. Currently, you can only patch the network_tier field." + }, + "setLabels": { + "id": "compute.globalForwardingRules.setLabels", + "path": "projects/{project}/global/forwardingRules/{resource}/setLabels", + "flatPath": "projects/{project}/global/forwardingRules/{resource}/setLabels", + "httpMethod": "POST", "parameters": { "project": { - "type": "string", - "location": "path", "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true - }, - "region": { - "required": true, - "type": "string", - "description": "The name of the region for this request.", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "required": true, + "type": "string" }, "resource": { - "location": "path", "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "type": "string" } - } - }, - "update": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], + }, "parameterOrder": [ "project", - "region", - "backendService" + "resource" ], - "description": "Updates the specified regional BackendService resource with the data included in the request. For more information, see Backend services overview .", + "request": { + "$ref": "GlobalSetLabelsRequest" + }, "response": { "$ref": "Operation" }, - "flatPath": "projects/{project}/regions/{region}/backendServices/{backendService}", - "id": "compute.regionBackendServices.update", - "path": "projects/{project}/regions/{region}/backendServices/{backendService}", - "request": { - "$ref": "BackendService" - }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Sets the labels on the specified resource. To learn more about labels, read the Labeling resources documentation." + } + } + }, + "forwardingRules": { + "methods": { + "list": { + "id": "compute.forwardingRules.list", + "path": "projects/{project}/regions/{region}/forwardingRules", + "flatPath": "projects/{project}/regions/{region}/forwardingRules", + "httpMethod": "GET", "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, "project": { - "required": true, + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", - "description": "Project ID for this request." - }, - "backendService": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "location": "path", "required": true, - "type": "string", - "description": "Name of the BackendService resource to update." + "type": "string" }, "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", "required": true, - "type": "string", - "description": "Name of the region scoping this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "type": "string" }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } }, - "httpMethod": "PUT" + "parameterOrder": [ + "project", + "region" + ], + "response": { + "$ref": "ForwardingRuleList" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Retrieves a list of ForwardingRule resources available to the specified project and region." }, - "list": { + "aggregatedList": { + "id": "compute.forwardingRules.aggregatedList", + "path": "projects/{project}/aggregated/forwardingRules", + "flatPath": "projects/{project}/aggregated/forwardingRules", + "httpMethod": "GET", "parameters": { - "orderBy": { - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "type": "string", - "location": "query" - }, - "returnPartialSuccess": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", "location": "query", - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." + "type": "string" }, - "project": { - "type": "string", - "required": true, - "description": "Project ID for this request.", - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "includeAllScopes": { + "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", + "location": "query", + "type": "boolean" }, "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", "location": "query", - "format": "uint32", "type": "integer", - "default": "500", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "minimum": "0" + "format": "uint32" }, - "region": { - "location": "path", - "description": "Name of the region scoping this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", "type": "string" }, "pageToken": { - "location": "query", "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", "type": "string" }, - "filter": { - "type": "string", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + }, + "serviceProjectNumber": { + "description": "The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.", "location": "query", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`." + "type": "string", + "format": "int64" } }, - "response": { - "$ref": "BackendServiceList" - }, - "description": "Retrieves the list of regional BackendService resources available to the specified project in the given region.", - "path": "projects/{project}/regions/{region}/backendServices", "parameterOrder": [ - "project", - "region" + "project" ], - "id": "compute.regionBackendServices.list", - "flatPath": "projects/{project}/regions/{region}/backendServices", - "httpMethod": "GET", + "response": { + "$ref": "ForwardingRuleAggregatedList" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" - ] + ], + "description": "Retrieves an aggregated list of forwarding rules." }, - "getIamPolicy": { + "get": { + "id": "compute.forwardingRules.get", + "path": "projects/{project}/regions/{region}/forwardingRules/{forwardingRule}", + "flatPath": "projects/{project}/regions/{region}/forwardingRules/{forwardingRule}", + "httpMethod": "GET", "parameters": { - "resource": { + "forwardingRule": { + "description": "Name of the ForwardingRule resource to return.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name or id of the resource for this request.", - "type": "string", - "location": "path", - "required": true - }, - "region": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "The name of the region for this request.", "location": "path", - "type": "string", - "required": true + "required": true, + "type": "string" }, "project": { "description": "Project ID for this request.", - "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", - "location": "path" + "location": "path", + "required": true, + "type": "string" }, - "optionsRequestedPolicyVersion": { - "location": "query", - "description": "Requested IAM Policy version.", - "type": "integer", - "format": "int32" + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" } }, - "flatPath": "projects/{project}/regions/{region}/backendServices/{resource}/getIamPolicy", - "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.", + "parameterOrder": [ + "project", + "region", + "forwardingRule" + ], + "response": { + "$ref": "ForwardingRule" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "id": "compute.regionBackendServices.getIamPolicy", - "response": { - "$ref": "Policy" + "description": "Returns the specified ForwardingRule resource." + }, + "insert": { + "id": "compute.forwardingRules.insert", + "path": "projects/{project}/regions/{region}/forwardingRules", + "flatPath": "projects/{project}/regions/{region}/forwardingRules", + "httpMethod": "POST", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } }, - "path": "projects/{project}/regions/{region}/backendServices/{resource}/getIamPolicy", "parameterOrder": [ "project", - "region", - "resource" + "region" ], - "httpMethod": "GET" - }, - "getHealth": { "request": { - "$ref": "ResourceGroupReference" + "$ref": "ForwardingRule" + }, + "response": { + "$ref": "Operation" }, - "description": "Gets the most recent health check results for this regional BackendService.", - "path": "projects/{project}/regions/{region}/backendServices/{backendService}/getHealth", - "flatPath": "projects/{project}/regions/{region}/backendServices/{backendService}/getHealth", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "parameterOrder": [ - "project", - "region", - "backendService" + "https://www.googleapis.com/auth/compute" ], - "id": "compute.regionBackendServices.getHealth", + "description": "Creates a ForwardingRule resource in the specified project and region using the data included in the request." + }, + "delete": { + "id": "compute.forwardingRules.delete", + "path": "projects/{project}/regions/{region}/forwardingRules/{forwardingRule}", + "flatPath": "projects/{project}/regions/{region}/forwardingRules/{forwardingRule}", + "httpMethod": "DELETE", "parameters": { - "backendService": { - "location": "path", + "forwardingRule": { + "description": "Name of the ForwardingRule resource to delete.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", "required": true, - "type": "string", - "description": "Name of the BackendService resource for which to get health." + "type": "string" }, "project": { - "required": true, + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", - "location": "path" + "location": "path", + "required": true, + "type": "string" }, "region": { + "description": "Name of the region scoping this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true, - "type": "string", "location": "path", - "description": "Name of the region scoping this request." + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, - "response": { - "$ref": "BackendServiceGroupHealth" - }, - "httpMethod": "POST" - }, - "insert": { - "request": { - "$ref": "BackendService" - }, - "flatPath": "projects/{project}/regions/{region}/backendServices", + "parameterOrder": [ + "project", + "region", + "forwardingRule" + ], "response": { "$ref": "Operation" }, @@ -49568,1104 +61211,1139 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "path": "projects/{project}/regions/{region}/backendServices", - "parameterOrder": [ - "project", - "region" - ], - "description": "Creates a regional BackendService resource in the specified project using the data included in the request. For more information, see Backend services overview.", + "description": "Deletes the specified ForwardingRule resource." + }, + "setTarget": { + "id": "compute.forwardingRules.setTarget", + "path": "projects/{project}/regions/{region}/forwardingRules/{forwardingRule}/setTarget", + "flatPath": "projects/{project}/regions/{region}/forwardingRules/{forwardingRule}/setTarget", "httpMethod": "POST", - "parameters": { - "requestId": { - "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "parameters": { + "forwardingRule": { + "description": "Name of the ForwardingRule resource in which target is to be set.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" }, "project": { "description": "Project ID for this request.", - "type": "string", - "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "location": "path" + "location": "path", + "required": true, + "type": "string" }, "region": { "description": "Name of the region scoping this request.", - "type": "string", - "required": true, + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, - "id": "compute.regionBackendServices.insert" - }, - "patch": { "parameterOrder": [ "project", "region", - "backendService" + "forwardingRule" ], - "httpMethod": "PATCH", + "request": { + "$ref": "TargetReference" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], + "description": "Changes target URL for forwarding rule. The new target should be of the same type as the old target." + }, + "patch": { + "id": "compute.forwardingRules.patch", + "path": "projects/{project}/regions/{region}/forwardingRules/{forwardingRule}", + "flatPath": "projects/{project}/regions/{region}/forwardingRules/{forwardingRule}", + "httpMethod": "PATCH", "parameters": { - "backendService": { - "description": "Name of the BackendService resource to patch.", + "forwardingRule": { + "description": "Name of the ForwardingRule resource to patch.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "type": "string" }, "project": { - "required": true, "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", - "location": "path" + "location": "path", + "required": true, + "type": "string" }, "region": { - "required": true, "description": "Name of the region scoping this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", + "required": true, "type": "string" }, "requestId": { - "location": "query", "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", "type": "string" } }, - "flatPath": "projects/{project}/regions/{region}/backendServices/{backendService}", - "id": "compute.regionBackendServices.patch", - "description": "Updates the specified regional BackendService resource with the data included in the request. For more information, see Understanding backend services This method supports PATCH semantics and uses the JSON merge patch format and processing rules.", - "path": "projects/{project}/regions/{region}/backendServices/{backendService}", + "parameterOrder": [ + "project", + "region", + "forwardingRule" + ], "request": { - "$ref": "BackendService" + "$ref": "ForwardingRule" }, - "response": { - "$ref": "Operation" - } - }, - "delete": { - "path": "projects/{project}/regions/{region}/backendServices/{backendService}", - "description": "Deletes the specified regional BackendService resource.", "response": { "$ref": "Operation" }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Updates the specified forwarding rule with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. Currently, you can only patch the network_tier field." + }, + "setLabels": { + "id": "compute.forwardingRules.setLabels", + "path": "projects/{project}/regions/{region}/forwardingRules/{resource}/setLabels", + "flatPath": "projects/{project}/regions/{region}/forwardingRules/{resource}/setLabels", + "httpMethod": "POST", "parameters": { - "requestId": { - "type": "string", - "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - }, "project": { - "location": "path", "description": "Project ID for this request.", - "type": "string", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true + "location": "path", + "required": true, + "type": "string" }, "region": { - "location": "path", + "description": "The region for this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", + "location": "path", "required": true, - "description": "Name of the region scoping this request." + "type": "string" }, - "backendService": { - "location": "path", + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name of the BackendService resource to delete.", + "location": "path", "required": true, "type": "string" } }, - "id": "compute.regionBackendServices.delete", - "flatPath": "projects/{project}/regions/{region}/backendServices/{backendService}", - "httpMethod": "DELETE", "parameterOrder": [ "project", "region", - "backendService" + "resource" ], + "request": { + "$ref": "RegionSetLabelsRequest" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" - ] + ], + "description": "Sets the labels on the specified resource. To learn more about labels, read the Labeling Resources documentation." } } }, - "networks": { + "regionHealthCheckServices": { "methods": { - "listPeeringRoutes": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "id": "compute.networks.listPeeringRoutes", - "flatPath": "projects/{project}/global/networks/{network}/listPeeringRoutes", - "parameterOrder": [ - "project", - "network" - ], - "path": "projects/{project}/global/networks/{network}/listPeeringRoutes", + "list": { + "id": "compute.regionHealthCheckServices.list", + "path": "projects/{project}/regions/{region}/healthCheckServices", + "flatPath": "projects/{project}/regions/{region}/healthCheckServices", "httpMethod": "GET", - "response": { - "$ref": "ExchangedPeeringRoutesList" - }, - "description": "Lists the peering routes exchanged over peering connection.", "parameters": { - "returnPartialSuccess": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "type": "boolean" + "type": "string" }, - "network": { - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the network for this request.", - "type": "string", - "required": true + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" }, - "direction": { - "description": "The direction of the exchanged routes.", - "enum": [ - "INCOMING", - "OUTGOING" - ], - "type": "string", - "enumDescriptions": [ - "For routes exported from peer network.", - "For routes exported from local network." - ], - "location": "query" + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" }, "pageToken": { "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "location": "query", "type": "string" }, - "peeringName": { - "description": "The response will show routes exchanged over the given peering connection.", - "type": "string", - "location": "query" - }, - "region": { - "type": "string", - "description": "The region of the request. The response will include all subnet routes, static routes and dynamic routes in the region.", - "location": "query" - }, "project": { - "required": true, - "type": "string", + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "description": "Project ID for this request." - }, - "maxResults": { - "type": "integer", - "format": "uint32", - "default": "500", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "minimum": "0", - "location": "query" + "required": true, + "type": "string" }, - "orderBy": { - "location": "query", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, "type": "string" }, - "filter": { - "type": "string", + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", "location": "query", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`." + "type": "boolean" } - } - }, - "get": { + }, + "parameterOrder": [ + "project", + "region" + ], + "response": { + "$ref": "HealthCheckServicesList" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "path": "projects/{project}/global/networks/{network}", - "id": "compute.networks.get", - "flatPath": "projects/{project}/global/networks/{network}", - "description": "Returns the specified network. Gets a list of available networks by making a list() request.", - "parameterOrder": [ - "project", - "network" - ], + "description": "Lists all the HealthCheckService resources that have been configured for the specified project in the given region." + }, + "get": { + "id": "compute.regionHealthCheckServices.get", + "path": "projects/{project}/regions/{region}/healthCheckServices/{healthCheckService}", + "flatPath": "projects/{project}/regions/{region}/healthCheckServices/{healthCheckService}", "httpMethod": "GET", "parameters": { - "network": { - "description": "Name of the network to return.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "healthCheckService": { + "description": "Name of the HealthCheckService to update. The name must be 1-63 characters long, and comply with RFC1035.", "location": "path", "required": true, "type": "string" }, "project": { - "type": "string", "description": "Project ID for this request.", - "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "location": "path" + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" } }, - "response": { - "$ref": "Network" - } - }, - "list": { - "path": "projects/{project}/global/networks", - "httpMethod": "GET", - "flatPath": "projects/{project}/global/networks", - "id": "compute.networks.list", "parameterOrder": [ - "project" + "project", + "region", + "healthCheckService" ], + "response": { + "$ref": "HealthCheckService" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "description": "Retrieves the list of networks available to the specified project.", + "description": "Returns the specified regional HealthCheckService resource." + }, + "insert": { + "id": "compute.regionHealthCheckServices.insert", + "path": "projects/{project}/regions/{region}/healthCheckServices", + "flatPath": "projects/{project}/regions/{region}/healthCheckServices", + "httpMethod": "POST", "parameters": { - "orderBy": { - "location": "query", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, "type": "string" }, - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", "type": "string" + } + }, + "parameterOrder": [ + "project", + "region" + ], + "request": { + "$ref": "HealthCheckService" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Creates a regional HealthCheckService resource in the specified project and region using the data included in the request." + }, + "delete": { + "id": "compute.regionHealthCheckServices.delete", + "path": "projects/{project}/regions/{region}/healthCheckServices/{healthCheckService}", + "flatPath": "projects/{project}/regions/{region}/healthCheckServices/{healthCheckService}", + "httpMethod": "DELETE", + "parameters": { + "healthCheckService": { + "description": "Name of the HealthCheckService to delete. The name must be 1-63 characters long, and comply with RFC1035.", + "location": "path", + "required": true, + "type": "string" }, "project": { - "required": true, - "location": "path", "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, "type": "string" }, - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "type": "string", - "location": "query" + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" }, - "maxResults": { + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "minimum": "0", - "type": "integer", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "default": "500", - "format": "uint32" - }, - "returnPartialSuccess": { - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "location": "query" + "type": "string" } }, + "parameterOrder": [ + "project", + "region", + "healthCheckService" + ], "response": { - "$ref": "NetworkList" - } + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Deletes the specified regional HealthCheckService." }, "patch": { - "description": "Patches the specified network with the data included in the request. Only the following fields can be modified: routingConfig.routingMode.", + "id": "compute.regionHealthCheckServices.patch", + "path": "projects/{project}/regions/{region}/healthCheckServices/{healthCheckService}", + "flatPath": "projects/{project}/regions/{region}/healthCheckServices/{healthCheckService}", "httpMethod": "PATCH", - "path": "projects/{project}/global/networks/{network}", "parameters": { - "network": { - "required": true, - "description": "Name of the network to update.", - "type": "string", + "healthCheckService": { + "description": "Name of the HealthCheckService to update. The name must be 1-63 characters long, and comply with RFC1035.", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" - }, - "requestId": { - "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "required": true, + "type": "string" }, "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", - "required": true + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, + "parameterOrder": [ + "project", + "region", + "healthCheckService" + ], "request": { - "$ref": "Network" + "$ref": "HealthCheckService" }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "id": "compute.networks.patch", "response": { "$ref": "Operation" }, - "flatPath": "projects/{project}/global/networks/{network}", - "parameterOrder": [ - "project", - "network" - ] - }, - "delete": { - "path": "projects/{project}/global/networks/{network}", - "parameterOrder": [ - "project", - "network" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" ], + "description": "Updates the specified regional HealthCheckService resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules." + } + } + }, + "healthChecks": { + "methods": { + "list": { + "id": "compute.healthChecks.list", + "path": "projects/{project}/global/healthChecks", + "flatPath": "projects/{project}/global/healthChecks", + "httpMethod": "GET", "parameters": { - "requestId": { - "type": "string", + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "type": "string" }, "project": { "description": "Project ID for this request.", - "type": "string", - "required": true, + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "network": { "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", - "location": "path", - "description": "Name of the network to delete." + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "parameterOrder": [ + "project" ], - "description": "Deletes the specified network.", "response": { - "$ref": "Operation" + "$ref": "HealthCheckList" }, - "id": "compute.networks.delete", - "flatPath": "projects/{project}/global/networks/{network}", - "httpMethod": "DELETE" - }, - "addPeering": { - "httpMethod": "POST", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "id": "compute.networks.addPeering", - "description": "Adds a peering to the specified network.", - "flatPath": "projects/{project}/global/networks/{network}/addPeering", - "path": "projects/{project}/global/networks/{network}/addPeering", - "request": { - "$ref": "NetworksAddPeeringRequest" - }, + "description": "Retrieves the list of HealthCheck resources available to the specified project." + }, + "aggregatedList": { + "id": "compute.healthChecks.aggregatedList", + "path": "projects/{project}/aggregated/healthChecks", + "flatPath": "projects/{project}/aggregated/healthChecks", + "httpMethod": "GET", "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "includeAllScopes": { + "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", + "location": "query", + "type": "boolean" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, "project": { - "description": "Project ID for this request.", + "description": "Name of the project scoping this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, "type": "string" }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", "location": "query", - "type": "string" + "type": "boolean" }, - "network": { - "description": "Name of the network resource to add peering to.", + "serviceProjectNumber": { + "description": "The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.", + "location": "query", "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "location": "path", - "required": true + "format": "int64" } }, "parameterOrder": [ - "project", - "network" + "project" ], "response": { - "$ref": "Operation" - } - }, - "getEffectiveFirewalls": { - "description": "Returns the effective firewalls on a given network.", - "flatPath": "projects/{project}/global/networks/{network}/getEffectiveFirewalls", - "parameterOrder": [ - "project", - "network" - ], - "parameters": { - "network": { - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the network for this request.", - "required": true, - "type": "string" - }, - "project": { - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", - "description": "Project ID for this request.", - "required": true - } + "$ref": "HealthChecksAggregatedList" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "id": "compute.networks.getEffectiveFirewalls", - "path": "projects/{project}/global/networks/{network}/getEffectiveFirewalls", - "httpMethod": "GET", - "response": { - "$ref": "NetworksGetEffectiveFirewallsResponse" - } + "description": "Retrieves the list of all HealthCheck resources, regional and global, available to the specified project." }, - "updatePeering": { + "get": { + "id": "compute.healthChecks.get", + "path": "projects/{project}/global/healthChecks/{healthCheck}", + "flatPath": "projects/{project}/global/healthChecks/{healthCheck}", + "httpMethod": "GET", "parameters": { - "network": { + "healthCheck": { + "description": "Name of the HealthCheck resource to return.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true, "location": "path", - "type": "string", - "description": "Name of the network resource which the updated peering is belonging to." - }, - "requestId": { - "type": "string", - "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "required": true, + "type": "string" }, "project": { - "required": true, - "type": "string", "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "location": "path" + "location": "path", + "required": true, + "type": "string" } }, - "description": "Updates the specified network peering with the data included in the request. You can only modify the NetworkPeering.export_custom_routes field and the NetworkPeering.import_custom_routes field.", - "id": "compute.networks.updatePeering", - "response": { - "$ref": "Operation" - }, "parameterOrder": [ "project", - "network" + "healthCheck" ], - "path": "projects/{project}/global/networks/{network}/updatePeering", - "flatPath": "projects/{project}/global/networks/{network}/updatePeering", + "response": { + "$ref": "HealthCheck" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "httpMethod": "PATCH", - "request": { - "$ref": "NetworksUpdatePeeringRequest" - } + "description": "Returns the specified HealthCheck resource." }, - "switchToCustomMode": { - "id": "compute.networks.switchToCustomMode", - "flatPath": "projects/{project}/global/networks/{network}/switchToCustomMode", - "parameterOrder": [ - "project", - "network" - ], - "path": "projects/{project}/global/networks/{network}/switchToCustomMode", - "description": "Switches the network mode from auto subnet mode to custom subnet mode.", + "insert": { + "id": "compute.healthChecks.insert", + "path": "projects/{project}/global/healthChecks", + "flatPath": "projects/{project}/global/healthChecks", "httpMethod": "POST", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "response": { - "$ref": "Operation" - }, "parameters": { "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", "location": "path", "required": true, - "description": "Project ID for this request." + "type": "string" }, "requestId": { - "type": "string", "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" - }, - "network": { - "type": "string", - "location": "path", - "description": "Name of the network to be updated.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true + "location": "query", + "type": "string" } - } + }, + "parameterOrder": [ + "project" + ], + "request": { + "$ref": "HealthCheck" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Creates a HealthCheck resource in the specified project using the data included in the request." }, - "removePeering": { + "delete": { + "id": "compute.healthChecks.delete", + "path": "projects/{project}/global/healthChecks/{healthCheck}", + "flatPath": "projects/{project}/global/healthChecks/{healthCheck}", + "httpMethod": "DELETE", "parameters": { - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" - }, - "project": { + "healthCheck": { + "description": "Name of the HealthCheck resource to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, + "type": "string" + }, + "project": { "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, "type": "string" }, - "network": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true, - "description": "Name of the network resource to remove peering from.", - "type": "string", - "location": "path" + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, - "flatPath": "projects/{project}/global/networks/{network}/removePeering", - "id": "compute.networks.removePeering", - "request": { - "$ref": "NetworksRemovePeeringRequest" - }, "parameterOrder": [ "project", - "network" + "healthCheck" ], - "path": "projects/{project}/global/networks/{network}/removePeering", - "description": "Removes a peering from the specified network.", + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "httpMethod": "POST", - "response": { - "$ref": "Operation" - } + "description": "Deletes the specified HealthCheck resource." }, - "insert": { - "flatPath": "projects/{project}/global/networks", + "update": { + "id": "compute.healthChecks.update", + "path": "projects/{project}/global/healthChecks/{healthCheck}", + "flatPath": "projects/{project}/global/healthChecks/{healthCheck}", + "httpMethod": "PUT", "parameters": { - "project": { + "healthCheck": { + "description": "Name of the HealthCheck resource to update.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "description": "Project ID for this request.", + "required": true, "type": "string" }, "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "type": "string" } }, - "httpMethod": "POST", - "path": "projects/{project}/global/networks", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "description": "Creates a network in the specified project using the data included in the request.", "parameterOrder": [ - "project" + "project", + "healthCheck" ], - "id": "compute.networks.insert", + "request": { + "$ref": "HealthCheck" + }, "response": { "$ref": "Operation" }, - "request": { - "$ref": "Network" - } - } - } - }, - "regionDiskTypes": { - "methods": { - "get": { - "description": "Returns the specified regional disk type. Gets a list of available disk types by making a list() request.", - "httpMethod": "GET", - "path": "projects/{project}/regions/{region}/diskTypes/{diskType}", - "id": "compute.regionDiskTypes.get", - "parameterOrder": [ - "project", - "region", - "diskType" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" ], + "description": "Updates a HealthCheck resource in the specified project using the data included in the request." + }, + "patch": { + "id": "compute.healthChecks.patch", + "path": "projects/{project}/global/healthChecks/{healthCheck}", + "flatPath": "projects/{project}/global/healthChecks/{healthCheck}", + "httpMethod": "PATCH", "parameters": { - "region": { - "description": "The name of the region for this request.", - "type": "string", - "required": true, + "healthCheck": { + "description": "Name of the HealthCheck resource to patch.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "required": true, + "type": "string" }, "project": { - "required": true, - "location": "path", "description": "Project ID for this request.", - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "diskType": { + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "description": "Name of the disk type to return.", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, - "flatPath": "projects/{project}/regions/{region}/diskTypes/{diskType}", + "parameterOrder": [ + "project", + "healthCheck" + ], + "request": { + "$ref": "HealthCheck" + }, "response": { - "$ref": "DiskType" + "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ] - }, + "https://www.googleapis.com/auth/compute" + ], + "description": "Updates a HealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules." + } + } + }, + "regionHealthChecks": { + "methods": { "list": { - "description": "Retrieves a list of regional disk types available to the specified project.", + "id": "compute.regionHealthChecks.list", + "path": "projects/{project}/regions/{region}/healthChecks", + "flatPath": "projects/{project}/regions/{region}/healthChecks", "httpMethod": "GET", - "response": { - "$ref": "RegionDiskTypeList" - }, "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "description": "Project ID for this request.", - "type": "string", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "location": "path" - }, - "filter": { - "type": "string", - "location": "query", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`." + "type": "string" }, "region": { - "description": "The name of the region for this request.", + "description": "Name of the region scoping this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", "required": true, - "type": "string", - "location": "path" - }, - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "type": "string", - "location": "query" + "type": "string" }, "returnPartialSuccess": { "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", "location": "query", "type": "boolean" - }, - "orderBy": { - "location": "query", - "type": "string", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported." - }, - "maxResults": { - "format": "uint32", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "type": "integer", - "default": "500", - "location": "query", - "minimum": "0" } }, "parameterOrder": [ "project", "region" ], - "path": "projects/{project}/regions/{region}/diskTypes", - "flatPath": "projects/{project}/regions/{region}/diskTypes", - "id": "compute.regionDiskTypes.list", + "response": { + "$ref": "HealthCheckList" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" - ] - } - } - }, - "backendBuckets": { - "methods": { - "deleteSignedUrlKey": { - "path": "projects/{project}/global/backendBuckets/{backendBucket}/deleteSignedUrlKey", - "flatPath": "projects/{project}/global/backendBuckets/{backendBucket}/deleteSignedUrlKey", - "httpMethod": "POST", - "response": { - "$ref": "Operation" - }, + ], + "description": "Retrieves the list of HealthCheck resources available to the specified project." + }, + "get": { + "id": "compute.regionHealthChecks.get", + "path": "projects/{project}/regions/{region}/healthChecks/{healthCheck}", + "flatPath": "projects/{project}/regions/{region}/healthChecks/{healthCheck}", + "httpMethod": "GET", "parameters": { - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query", - "type": "string" - }, - "backendBucket": { + "healthCheck": { + "description": "Name of the HealthCheck resource to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "type": "string", "required": true, - "description": "Name of the BackendBucket resource to which the Signed URL Key should be added. The name should conform to RFC1035." + "type": "string" }, - "keyName": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "location": "query", - "type": "string", - "description": "The name of the Signed URL Key to delete." + "type": "string" }, - "project": { - "type": "string", + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", - "location": "path" + "type": "string" } }, "parameterOrder": [ "project", - "backendBucket", - "keyName" + "region", + "healthCheck" ], - "description": "Deletes a key for validating requests with signed URLs for this backend bucket.", + "response": { + "$ref": "HealthCheck" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "id": "compute.backendBuckets.deleteSignedUrlKey" + "description": "Returns the specified HealthCheck resource." }, - "update": { - "id": "compute.backendBuckets.update", - "parameterOrder": [ - "project", - "backendBucket" - ], - "httpMethod": "PUT", - "response": { - "$ref": "Operation" - }, - "description": "Updates the specified BackendBucket resource with the data included in the request.", - "flatPath": "projects/{project}/global/backendBuckets/{backendBucket}", + "insert": { + "id": "compute.regionHealthChecks.insert", + "path": "projects/{project}/regions/{region}/healthChecks", + "flatPath": "projects/{project}/regions/{region}/healthChecks", + "httpMethod": "POST", "parameters": { - "requestId": { - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" - }, "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "location": "path" + "type": "string" }, - "backendBucket": { - "type": "string", - "description": "Name of the BackendBucket resource to update.", + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, - "path": "projects/{project}/global/backendBuckets/{backendBucket}", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "request": { - "$ref": "BackendBucket" - } - }, - "setEdgeSecurityPolicy": { - "httpMethod": "POST", - "description": "Sets the edge security policy for the specified backend bucket.", - "id": "compute.backendBuckets.setEdgeSecurityPolicy", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "parameterOrder": [ + "project", + "region" ], "request": { - "$ref": "SecurityPolicyReference" + "$ref": "HealthCheck" }, "response": { "$ref": "Operation" }, - "path": "projects/{project}/global/backendBuckets/{backendBucket}/setEdgeSecurityPolicy", - "flatPath": "projects/{project}/global/backendBuckets/{backendBucket}/setEdgeSecurityPolicy", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Creates a HealthCheck resource in the specified project using the data included in the request." + }, + "delete": { + "id": "compute.regionHealthChecks.delete", + "path": "projects/{project}/regions/{region}/healthChecks/{healthCheck}", + "flatPath": "projects/{project}/regions/{region}/healthChecks/{healthCheck}", + "httpMethod": "DELETE", "parameters": { - "project": { - "required": true, + "healthCheck": { + "description": "Name of the HealthCheck resource to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", - "description": "Project ID for this request." + "required": true, + "type": "string" }, - "backendBucket": { - "description": "Name of the BackendService resource to which the security policy should be set. The name should conform to RFC1035.", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", + "required": true, "type": "string" }, "requestId": { - "type": "string", "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" + "location": "query", + "type": "string" } }, "parameterOrder": [ "project", - "backendBucket" - ] - }, - "get": { - "path": "projects/{project}/global/backendBuckets/{backendBucket}", + "region", + "healthCheck" + ], + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], + "description": "Deletes the specified HealthCheck resource." + }, + "update": { + "id": "compute.regionHealthChecks.update", + "path": "projects/{project}/regions/{region}/healthChecks/{healthCheck}", + "flatPath": "projects/{project}/regions/{region}/healthChecks/{healthCheck}", + "httpMethod": "PUT", "parameters": { - "backendBucket": { - "type": "string", - "description": "Name of the BackendBucket resource to return.", + "healthCheck": { + "description": "Name of the HealthCheck resource to update.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "required": true + "required": true, + "type": "string" }, "project": { - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", "required": true, "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, "parameterOrder": [ "project", - "backendBucket" + "region", + "healthCheck" ], - "id": "compute.backendBuckets.get", - "httpMethod": "GET", - "response": { - "$ref": "BackendBucket" + "request": { + "$ref": "HealthCheck" }, - "description": "Returns the specified BackendBucket resource. Gets a list of available backend buckets by making a list() request.", - "flatPath": "projects/{project}/global/backendBuckets/{backendBucket}" - }, - "patch": { - "path": "projects/{project}/global/backendBuckets/{backendBucket}", "response": { "$ref": "Operation" }, - "request": { - "$ref": "BackendBucket" - }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Updates a HealthCheck resource in the specified project using the data included in the request." + }, + "patch": { + "id": "compute.regionHealthChecks.patch", + "path": "projects/{project}/regions/{region}/healthChecks/{healthCheck}", + "flatPath": "projects/{project}/regions/{region}/healthChecks/{healthCheck}", + "httpMethod": "PATCH", "parameters": { - "backendBucket": { + "healthCheck": { + "description": "Name of the HealthCheck resource to patch.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true, - "description": "Name of the BackendBucket resource to patch.", "location": "path", + "required": true, "type": "string" }, - "requestId": { - "type": "string", - "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - }, "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "description": "Project ID for this request.", + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", "type": "string" } }, "parameterOrder": [ "project", - "backendBucket" + "region", + "healthCheck" ], - "httpMethod": "PATCH", - "id": "compute.backendBuckets.patch", + "request": { + "$ref": "HealthCheck" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "description": "Updates the specified BackendBucket resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.", - "flatPath": "projects/{project}/global/backendBuckets/{backendBucket}" - }, + "description": "Updates a HealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules." + } + } + }, + "httpHealthChecks": { + "methods": { "list": { + "id": "compute.httpHealthChecks.list", + "path": "projects/{project}/global/httpHealthChecks", + "flatPath": "projects/{project}/global/httpHealthChecks", + "httpMethod": "GET", "parameters": { - "orderBy": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", "location": "query", - "type": "string", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported." + "type": "string" }, - "returnPartialSuccess": { + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", "location": "query", - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." + "type": "integer", + "format": "uint32" }, - "pageToken": { + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", "location": "query", - "type": "string", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results." - }, - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "type": "string", - "location": "query" + "type": "string" }, - "maxResults": { - "format": "uint32", - "default": "500", + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "location": "query", - "type": "integer", - "minimum": "0", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)" + "type": "string" }, "project": { "description": "Project ID for this request.", - "type": "string", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "location": "path" + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } }, - "httpMethod": "GET", - "description": "Retrieves the list of BackendBucket resources available to the specified project.", - "path": "projects/{project}/global/backendBuckets", - "response": { - "$ref": "BackendBucketList" - }, "parameterOrder": [ "project" ], + "response": { + "$ref": "HttpHealthCheckList" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "id": "compute.backendBuckets.list", - "flatPath": "projects/{project}/global/backendBuckets" + "description": "Retrieves the list of HttpHealthCheck resources available to the specified project." }, - "addSignedUrlKey": { - "request": { - "$ref": "SignedUrlKey" - }, - "path": "projects/{project}/global/backendBuckets/{backendBucket}/addSignedUrlKey", - "description": "Adds a key for validating requests with signed URLs for this backend bucket.", - "id": "compute.backendBuckets.addSignedUrlKey", - "parameterOrder": [ - "project", - "backendBucket" - ], - "httpMethod": "POST", + "get": { + "id": "compute.httpHealthChecks.get", + "path": "projects/{project}/global/httpHealthChecks/{httpHealthCheck}", + "flatPath": "projects/{project}/global/httpHealthChecks/{httpHealthCheck}", + "httpMethod": "GET", "parameters": { - "backendBucket": { + "httpHealthCheck": { + "description": "Name of the HttpHealthCheck resource to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "description": "Name of the BackendBucket resource to which the Signed URL Key should be added. The name should conform to RFC1035.", - "type": "string", - "required": true + "required": true, + "type": "string" }, "project": { - "required": true, "description": "Project ID for this request.", - "type": "string", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "location": "path" - }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query", + "location": "path", + "required": true, "type": "string" } }, - "flatPath": "projects/{project}/global/backendBuckets/{backendBucket}/addSignedUrlKey", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "parameterOrder": [ + "project", + "httpHealthCheck" ], "response": { - "$ref": "Operation" - } - }, - "delete": { - "response": { - "$ref": "Operation" + "$ref": "HttpHealthCheck" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "id": "compute.backendBuckets.delete", - "flatPath": "projects/{project}/global/backendBuckets/{backendBucket}", - "parameterOrder": [ - "project", - "backendBucket" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "path": "projects/{project}/global/backendBuckets/{backendBucket}", - "parameters": { - "project": { - "location": "path", - "required": true, - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string" - }, - "backendBucket": { - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "location": "path", - "required": true, - "description": "Name of the BackendBucket resource to delete." - }, - "requestId": { - "type": "string", - "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - } - }, - "description": "Deletes the specified BackendBucket resource.", - "httpMethod": "DELETE" + "description": "Returns the specified HttpHealthCheck resource." }, "insert": { + "id": "compute.httpHealthChecks.insert", + "path": "projects/{project}/global/httpHealthChecks", + "flatPath": "projects/{project}/global/httpHealthChecks", "httpMethod": "POST", - "flatPath": "projects/{project}/global/backendBuckets", - "request": { - "$ref": "BackendBucket" - }, "parameters": { "project": { - "location": "path", "description": "Project ID for this request.", - "type": "string", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" }, "requestId": { - "location": "query", "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", "type": "string" } }, - "path": "projects/{project}/global/backendBuckets", - "id": "compute.backendBuckets.insert", + "parameterOrder": [ + "project" + ], + "request": { + "$ref": "HttpHealthCheck" + }, "response": { "$ref": "Operation" }, @@ -50673,567 +62351,414 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "description": "Creates a BackendBucket resource in the specified project using the data included in the request.", - "parameterOrder": [ - "project" - ] - } - } - }, - "regionNetworkEndpointGroups": { - "methods": { - "get": { - "id": "compute.regionNetworkEndpointGroups.get", - "flatPath": "projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}", - "path": "projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}", - "description": "Returns the specified network endpoint group. Gets a list of available network endpoint groups by making a list() request.", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "httpMethod": "GET", - "response": { - "$ref": "NetworkEndpointGroup" - }, + "description": "Creates a HttpHealthCheck resource in the specified project using the data included in the request." + }, + "delete": { + "id": "compute.httpHealthChecks.delete", + "path": "projects/{project}/global/httpHealthChecks/{httpHealthCheck}", + "flatPath": "projects/{project}/global/httpHealthChecks/{httpHealthCheck}", + "httpMethod": "DELETE", "parameters": { - "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "httpHealthCheck": { + "description": "Name of the HttpHealthCheck resource to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, - "description": "Project ID for this request.", "type": "string" }, - "networkEndpointGroup": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "description": "The name of the network endpoint group. It should comply with RFC1035.", - "type": "string", - "location": "path" + "type": "string" }, - "region": { - "required": true, - "location": "path", - "type": "string", - "description": "The name of the region where the network endpoint group is located. It should comply with RFC1035." + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, "parameterOrder": [ "project", - "region", - "networkEndpointGroup" - ] - }, - "delete": { - "parameterOrder": [ - "project", - "region", - "networkEndpointGroup" + "httpHealthCheck" ], - "path": "projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}", + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], + "description": "Deletes the specified HttpHealthCheck resource." + }, + "update": { + "id": "compute.httpHealthChecks.update", + "path": "projects/{project}/global/httpHealthChecks/{httpHealthCheck}", + "flatPath": "projects/{project}/global/httpHealthChecks/{httpHealthCheck}", + "httpMethod": "PUT", "parameters": { + "httpHealthCheck": { + "description": "Name of the HttpHealthCheck resource to update.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, "project": { - "type": "string", "description": "Project ID for this request.", - "location": "path", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true - }, - "region": { - "required": true, "location": "path", - "description": "The name of the region where the network endpoint group is located. It should comply with RFC1035.", + "required": true, "type": "string" }, "requestId": { "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" - }, - "networkEndpointGroup": { - "description": "The name of the network endpoint group to delete. It should comply with RFC1035.", - "type": "string", - "location": "path", - "required": true + "location": "query", + "type": "string" } }, - "description": "Deletes the specified network endpoint group. Note that the NEG cannot be deleted if it is configured as a backend of a backend service.", - "httpMethod": "DELETE", - "response": { - "$ref": "Operation" - }, - "id": "compute.regionNetworkEndpointGroups.delete", - "flatPath": "projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}" - }, - "list": { "parameterOrder": [ "project", - "region" + "httpHealthCheck" ], - "path": "projects/{project}/regions/{region}/networkEndpointGroups", - "id": "compute.regionNetworkEndpointGroups.list", - "description": "Retrieves the list of regional network endpoint groups available to the specified project in the given region.", - "parameters": { - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "location": "query", - "type": "string" - }, - "filter": { - "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "location": "query" - }, - "returnPartialSuccess": { - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "location": "query" - }, - "maxResults": { - "type": "integer", - "location": "query", - "default": "500", - "minimum": "0", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "format": "uint32" - }, - "region": { - "type": "string", - "description": "The name of the region where the network endpoint group is located. It should comply with RFC1035.", - "location": "path", - "required": true - }, - "project": { - "type": "string", - "description": "Project ID for this request.", - "required": true, - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "orderBy": { - "type": "string", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "location": "query" - } + "request": { + "$ref": "HttpHealthCheck" }, "response": { - "$ref": "NetworkEndpointGroupList" + "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], - "httpMethod": "GET", - "flatPath": "projects/{project}/regions/{region}/networkEndpointGroups" + "description": "Updates a HttpHealthCheck resource in the specified project using the data included in the request." }, - "insert": { + "patch": { + "id": "compute.httpHealthChecks.patch", + "path": "projects/{project}/global/httpHealthChecks/{httpHealthCheck}", + "flatPath": "projects/{project}/global/httpHealthChecks/{httpHealthCheck}", + "httpMethod": "PATCH", "parameters": { - "project": { + "httpHealthCheck": { + "description": "Name of the HttpHealthCheck resource to patch.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "description": "Project ID for this request.", + "required": true, "type": "string" }, "requestId": { "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" - }, - "region": { - "type": "string", - "location": "path", - "required": true, - "description": "The name of the region where you want to create the network endpoint group. It should comply with RFC1035." + "location": "query", + "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "parameterOrder": [ + "project", + "httpHealthCheck" ], - "httpMethod": "POST", - "path": "projects/{project}/regions/{region}/networkEndpointGroups", + "request": { + "$ref": "HttpHealthCheck" + }, "response": { "$ref": "Operation" }, - "flatPath": "projects/{project}/regions/{region}/networkEndpointGroups", - "request": { - "$ref": "NetworkEndpointGroup" - }, - "description": "Creates a network endpoint group in the specified project using the parameters that are included in the request.", - "id": "compute.regionNetworkEndpointGroups.insert", - "parameterOrder": [ - "project", - "region" - ] + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Updates a HttpHealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules." } } }, - "globalForwardingRules": { + "httpsHealthChecks": { "methods": { "list": { - "description": "Retrieves a list of GlobalForwardingRule resources available to the specified project.", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], + "id": "compute.httpsHealthChecks.list", + "path": "projects/{project}/global/httpsHealthChecks", + "flatPath": "projects/{project}/global/httpsHealthChecks", + "httpMethod": "GET", "parameters": { - "orderBy": { - "type": "string", + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", "location": "query", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported." + "type": "string" }, "maxResults": { - "type": "integer", - "minimum": "0", - "location": "query", "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", "format": "uint32" }, - "project": { - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, - "type": "string", - "description": "Project ID for this request." - }, - "returnPartialSuccess": { - "type": "boolean", + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." + "type": "string" }, "pageToken": { - "type": "string", "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "location": "query" - }, - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", "location": "query", "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } }, - "httpMethod": "GET", - "id": "compute.globalForwardingRules.list", - "flatPath": "projects/{project}/global/forwardingRules", "parameterOrder": [ "project" ], - "path": "projects/{project}/global/forwardingRules", "response": { - "$ref": "ForwardingRuleList" - } + "$ref": "HttpsHealthCheckList" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Retrieves the list of HttpsHealthCheck resources available to the specified project." }, - "patch": { - "httpMethod": "PATCH", - "flatPath": "projects/{project}/global/forwardingRules/{forwardingRule}", + "get": { + "id": "compute.httpsHealthChecks.get", + "path": "projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}", + "flatPath": "projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}", + "httpMethod": "GET", "parameters": { - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query", - "type": "string" - }, - "forwardingRule": { - "type": "string", - "required": true, - "description": "Name of the ForwardingRule resource to patch.", + "httpsHealthCheck": { + "description": "Name of the HttpsHealthCheck resource to return.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "location": "path" + "location": "path", + "required": true, + "type": "string" }, "project": { - "type": "string", + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request." + "type": "string" } }, - "response": { - "$ref": "Operation" - }, - "id": "compute.globalForwardingRules.patch", "parameterOrder": [ "project", - "forwardingRule" + "httpsHealthCheck" ], - "description": "Updates the specified forwarding rule with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. Currently, you can only patch the network_tier field.", - "path": "projects/{project}/global/forwardingRules/{forwardingRule}", - "request": { - "$ref": "ForwardingRule" + "response": { + "$ref": "HttpsHealthCheck" }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ] - }, - "get": { - "httpMethod": "GET", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "description": "Returns the specified GlobalForwardingRule resource. Gets a list of available forwarding rules by making a list() request.", - "response": { - "$ref": "ForwardingRule" - }, - "flatPath": "projects/{project}/global/forwardingRules/{forwardingRule}", - "path": "projects/{project}/global/forwardingRules/{forwardingRule}", - "parameterOrder": [ - "project", - "forwardingRule" - ], - "id": "compute.globalForwardingRules.get", - "parameters": { - "project": { - "type": "string", - "location": "path", - "required": true, - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "forwardingRule": { - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name of the ForwardingRule resource to return.", - "required": true, - "location": "path" - } - } + "description": "Returns the specified HttpsHealthCheck resource." }, - "delete": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "id": "compute.globalForwardingRules.delete", + "insert": { + "id": "compute.httpsHealthChecks.insert", + "path": "projects/{project}/global/httpsHealthChecks", + "flatPath": "projects/{project}/global/httpsHealthChecks", + "httpMethod": "POST", "parameters": { "project": { - "required": true, - "type": "string", "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "required": true, + "type": "string" }, "requestId": { "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", "type": "string" - }, - "forwardingRule": { - "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", - "location": "path", - "description": "Name of the ForwardingRule resource to delete." } }, - "httpMethod": "DELETE", - "path": "projects/{project}/global/forwardingRules/{forwardingRule}", - "response": { - "$ref": "Operation" - }, - "flatPath": "projects/{project}/global/forwardingRules/{forwardingRule}", - "description": "Deletes the specified GlobalForwardingRule resource.", "parameterOrder": [ - "project", - "forwardingRule" - ] - }, - "insert": { - "path": "projects/{project}/global/forwardingRules", - "httpMethod": "POST", + "project" + ], "request": { - "$ref": "ForwardingRule" + "$ref": "HttpsHealthCheck" + }, + "response": { + "$ref": "Operation" }, - "flatPath": "projects/{project}/global/forwardingRules", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "id": "compute.globalForwardingRules.insert", + "description": "Creates a HttpsHealthCheck resource in the specified project using the data included in the request." + }, + "delete": { + "id": "compute.httpsHealthChecks.delete", + "path": "projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}", + "flatPath": "projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}", + "httpMethod": "DELETE", "parameters": { + "httpsHealthCheck": { + "description": "Name of the HttpsHealthCheck resource to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, "project": { "description": "Project ID for this request.", - "type": "string", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "location": "path" + "type": "string" }, "requestId": { - "type": "string", + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "type": "string" } }, - "description": "Creates a GlobalForwardingRule resource in the specified project using the data included in the request.", + "parameterOrder": [ + "project", + "httpsHealthCheck" + ], "response": { "$ref": "Operation" }, - "parameterOrder": [ - "project" - ] - }, - "setLabels": { "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "request": { - "$ref": "GlobalSetLabelsRequest" - }, - "httpMethod": "POST", - "flatPath": "projects/{project}/global/forwardingRules/{resource}/setLabels", + "description": "Deletes the specified HttpsHealthCheck resource." + }, + "update": { + "id": "compute.httpsHealthChecks.update", + "path": "projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}", + "flatPath": "projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}", + "httpMethod": "PUT", "parameters": { + "httpsHealthCheck": { + "description": "Name of the HttpsHealthCheck resource to update.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "description": "Project ID for this request.", - "type": "string", - "location": "path" + "type": "string" }, - "resource": { - "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true, - "type": "string", - "location": "path", - "description": "Name or id of the resource for this request." + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, - "id": "compute.globalForwardingRules.setLabels", "parameterOrder": [ "project", - "resource" + "httpsHealthCheck" ], - "path": "projects/{project}/global/forwardingRules/{resource}/setLabels", - "description": "Sets the labels on the specified resource. To learn more about labels, read the Labeling resources documentation.", - "response": { - "$ref": "Operation" - } - }, - "setTarget": { - "httpMethod": "POST", - "flatPath": "projects/{project}/global/forwardingRules/{forwardingRule}/setTarget", + "request": { + "$ref": "HttpsHealthCheck" + }, "response": { "$ref": "Operation" }, - "request": { - "$ref": "TargetReference" - }, - "parameterOrder": [ - "project", - "forwardingRule" - ], "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "path": "projects/{project}/global/forwardingRules/{forwardingRule}/setTarget", - "description": "Changes target URL for the GlobalForwardingRule resource. The new target should be of the same type as the old target.", - "id": "compute.globalForwardingRules.setTarget", + "description": "Updates a HttpsHealthCheck resource in the specified project using the data included in the request." + }, + "patch": { + "id": "compute.httpsHealthChecks.patch", + "path": "projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}", + "flatPath": "projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}", + "httpMethod": "PATCH", "parameters": { - "forwardingRule": { - "required": true, + "httpsHealthCheck": { + "description": "Name of the HttpsHealthCheck resource to patch.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "description": "Name of the ForwardingRule resource in which target is to be set.", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" - }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query", + "required": true, "type": "string" }, "project": { - "required": true, - "location": "path", - "type": "string", "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - } - } - } - } - }, - "httpHealthChecks": { - "methods": { - "delete": { - "flatPath": "projects/{project}/global/httpHealthChecks/{httpHealthCheck}", - "id": "compute.httpHealthChecks.delete", - "parameters": { - "httpHealthCheck": { + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name of the HttpHealthCheck resource to delete.", - "type": "string", - "location": "path" + "type": "string" }, "requestId": { - "type": "string", "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" - }, - "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, - "location": "path", - "type": "string", - "description": "Project ID for this request." + "location": "query", + "type": "string" } }, - "description": "Deletes the specified HttpHealthCheck resource.", - "response": { - "$ref": "Operation" - }, "parameterOrder": [ "project", - "httpHealthCheck" + "httpsHealthCheck" ], - "httpMethod": "DELETE", - "path": "projects/{project}/global/httpHealthChecks/{httpHealthCheck}", + "request": { + "$ref": "HttpsHealthCheck" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" - ] - }, - "list": { - "parameterOrder": [ - "project" ], - "response": { - "$ref": "HttpHealthCheckList" - }, - "flatPath": "projects/{project}/global/httpHealthChecks", - "id": "compute.httpHealthChecks.list", + "description": "Updates a HttpsHealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules." + } + } + }, + "instanceTemplates": { + "methods": { + "list": { + "id": "compute.instanceTemplates.list", + "path": "projects/{project}/global/instanceTemplates", + "flatPath": "projects/{project}/global/instanceTemplates", + "httpMethod": "GET", "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, "maxResults": { "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "minimum": "0", - "location": "query", - "format": "uint32", "default": "500", - "type": "integer" - }, - "returnPartialSuccess": { + "minimum": "0", "location": "query", - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." - }, - "filter": { - "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "location": "query" + "type": "integer", + "format": "uint32" }, "orderBy": { "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "type": "string", - "location": "query" + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" }, "project": { "description": "Project ID for this request.", @@ -51242,62 +62767,85 @@ "required": true, "type": "string" }, - "pageToken": { - "type": "string", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "location": "query" + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } }, - "httpMethod": "GET", - "description": "Retrieves the list of HttpHealthCheck resources available to the specified project.", - "path": "projects/{project}/global/httpHealthChecks", + "parameterOrder": [ + "project" + ], + "response": { + "$ref": "InstanceTemplateList" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" - ] + ], + "description": "Retrieves a list of instance templates that are contained within the specified project." }, - "insert": { - "request": { - "$ref": "HttpHealthCheck" + "get": { + "id": "compute.instanceTemplates.get", + "path": "projects/{project}/global/instanceTemplates/{instanceTemplate}", + "flatPath": "projects/{project}/global/instanceTemplates/{instanceTemplate}", + "httpMethod": "GET", + "parameters": { + "instanceTemplate": { + "description": "The name of the instance template.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + } }, - "path": "projects/{project}/global/httpHealthChecks", "parameterOrder": [ - "project" + "project", + "instanceTemplate" ], - "id": "compute.httpHealthChecks.insert", "response": { - "$ref": "Operation" + "$ref": "InstanceTemplate" }, - "flatPath": "projects/{project}/global/httpHealthChecks", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Returns the specified instance template." + }, + "insert": { + "id": "compute.instanceTemplates.insert", + "path": "projects/{project}/global/instanceTemplates", + "flatPath": "projects/{project}/global/instanceTemplates", "httpMethod": "POST", "parameters": { "project": { - "type": "string", - "required": true, - "location": "path", "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" }, "requestId": { "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" + "location": "query", + "type": "string" } }, - "description": "Creates a HttpHealthCheck resource in the specified project using the data included in the request.", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ] - }, - "patch": { - "description": "Updates a HttpHealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.", + "parameterOrder": [ + "project" + ], "request": { - "$ref": "HttpHealthCheck" + "$ref": "InstanceTemplate" }, - "httpMethod": "PATCH", - "path": "projects/{project}/global/httpHealthChecks/{httpHealthCheck}", "response": { "$ref": "Operation" }, @@ -51305,53 +62853,25 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "flatPath": "projects/{project}/global/httpHealthChecks/{httpHealthCheck}", - "id": "compute.httpHealthChecks.patch", - "parameterOrder": [ - "project", - "httpHealthCheck" - ], - "parameters": { - "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, - "type": "string", - "location": "path", - "description": "Project ID for this request." - }, - "requestId": { - "type": "string", - "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - }, - "httpHealthCheck": { - "type": "string", - "location": "path", - "required": true, - "description": "Name of the HttpHealthCheck resource to patch.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" - } - } + "description": "Creates an instance template in the specified project using the data that is included in the request. If you are creating a new template to update an existing instance group, your new instance template must use the same network or, if applicable, the same subnetwork as the original template." }, - "update": { - "description": "Updates a HttpHealthCheck resource in the specified project using the data included in the request.", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "id": "compute.httpHealthChecks.update", + "delete": { + "id": "compute.instanceTemplates.delete", + "path": "projects/{project}/global/instanceTemplates/{instanceTemplate}", + "flatPath": "projects/{project}/global/instanceTemplates/{instanceTemplate}", + "httpMethod": "DELETE", "parameters": { - "httpHealthCheck": { - "required": true, - "description": "Name of the HttpHealthCheck resource to update.", - "type": "string", + "instanceTemplate": { + "description": "The name of the instance template to delete.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "location": "path" + "location": "path", + "required": true, + "type": "string" }, "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "description": "Project ID for this request.", "required": true, "type": "string" }, @@ -51361,652 +62881,490 @@ "type": "string" } }, - "request": { - "$ref": "HttpHealthCheck" - }, - "flatPath": "projects/{project}/global/httpHealthChecks/{httpHealthCheck}", - "path": "projects/{project}/global/httpHealthChecks/{httpHealthCheck}", - "httpMethod": "PUT", "parameterOrder": [ "project", - "httpHealthCheck" + "instanceTemplate" ], "response": { "$ref": "Operation" - } - }, - "get": { - "path": "projects/{project}/global/httpHealthChecks/{httpHealthCheck}", - "id": "compute.httpHealthChecks.get", - "httpMethod": "GET", - "description": "Returns the specified HttpHealthCheck resource. Gets a list of available HTTP health checks by making a list() request.", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "flatPath": "projects/{project}/global/httpHealthChecks/{httpHealthCheck}", - "response": { - "$ref": "HttpHealthCheck" }, - "parameters": { - "httpHealthCheck": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", - "required": true, - "description": "Name of the HttpHealthCheck resource to return.", - "location": "path" - }, - "project": { - "required": true, - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", - "type": "string" - } - }, - "parameterOrder": [ - "project", - "httpHealthCheck" - ] - } - } - }, - "networkEdgeSecurityServices": { - "methods": { - "aggregatedList": { - "flatPath": "projects/{project}/aggregated/networkEdgeSecurityServices", - "id": "compute.networkEdgeSecurityServices.aggregatedList", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], + "description": "Deletes the specified instance template. Deleting an instance template is permanent and cannot be undone. It is not possible to delete templates that are already in use by a managed instance group." + }, + "aggregatedList": { + "id": "compute.instanceTemplates.aggregatedList", + "path": "projects/{project}/aggregated/instanceTemplates", + "flatPath": "projects/{project}/aggregated/instanceTemplates", "httpMethod": "GET", - "response": { - "$ref": "NetworkEdgeSecurityServiceAggregatedList" - }, - "parameterOrder": [ - "project" - ], - "path": "projects/{project}/aggregated/networkEdgeSecurityServices", - "description": "Retrieves the list of all NetworkEdgeSecurityService resources available to the specified project.", "parameters": { - "returnPartialSuccess": { - "location": "query", - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." - }, - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "type": "string", - "location": "query" - }, - "includeAllScopes": { - "location": "query", - "type": "boolean", - "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included." - }, "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", "location": "query", "type": "string" }, - "project": { - "type": "string", - "description": "Name of the project scoping this request.", - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true - }, - "orderBy": { - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "includeAllScopes": { + "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", "location": "query", - "type": "string" + "type": "boolean" }, "maxResults": { "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", "default": "500", "minimum": "0", + "location": "query", "type": "integer", - "format": "uint32", - "location": "query" - } - } - }, - "patch": { - "flatPath": "projects/{project}/regions/{region}/networkEdgeSecurityServices/{networkEdgeSecurityService}", - "response": { - "$ref": "Operation" - }, - "parameters": { - "updateMask": { - "type": "string", - "description": "Indicates fields to be updated as part of this request.", - "format": "google-fieldmask", - "location": "query" + "format": "uint32" }, - "requestId": { - "type": "string", + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "type": "string" }, "project": { - "type": "string", - "location": "path", - "description": "Project ID for this request.", + "description": "Name of the project scoping this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true - }, - "paths": { - "type": "string", - "repeated": true, - "location": "query" - }, - "region": { "location": "path", - "description": "Name of the region scoping this request.", "required": true, - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "type": "string" }, - "networkEdgeSecurityService": { - "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + }, + "serviceProjectNumber": { + "description": "The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.", + "location": "query", "type": "string", - "description": "Name of the network edge security service to update.", - "location": "path" + "format": "int64" } }, - "request": { - "$ref": "NetworkEdgeSecurityService" - }, - "description": "Patches the specified policy with the data included in the request.", - "path": "projects/{project}/regions/{region}/networkEdgeSecurityServices/{networkEdgeSecurityService}", "parameterOrder": [ - "project", - "region", - "networkEdgeSecurityService" + "project" ], - "id": "compute.networkEdgeSecurityServices.patch", + "response": { + "$ref": "InstanceTemplateAggregatedList" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "httpMethod": "PATCH" + "description": "Retrieves the list of all InstanceTemplates resources, regional and global, available to the specified project." }, - "delete": { - "httpMethod": "DELETE", + "getIamPolicy": { + "id": "compute.instanceTemplates.getIamPolicy", + "path": "projects/{project}/global/instanceTemplates/{resource}/getIamPolicy", + "flatPath": "projects/{project}/global/instanceTemplates/{resource}/getIamPolicy", + "httpMethod": "GET", "parameters": { - "requestId": { - "type": "string", + "optionsRequestedPolicyVersion": { + "description": "Requested IAM Policy version.", "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "type": "integer", + "format": "int32" }, "project": { - "type": "string", "description": "Project ID for this request.", - "location": "path", - "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "region": { - "description": "Name of the region scoping this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, "type": "string" }, - "networkEdgeSecurityService": { - "description": "Name of the network edge security service to delete.", - "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", + "required": true, "type": "string" } }, "parameterOrder": [ "project", - "region", - "networkEdgeSecurityService" - ], - "id": "compute.networkEdgeSecurityServices.delete", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "resource" ], "response": { - "$ref": "Operation" - }, - "flatPath": "projects/{project}/regions/{region}/networkEdgeSecurityServices/{networkEdgeSecurityService}", - "description": "Deletes the specified service.", - "path": "projects/{project}/regions/{region}/networkEdgeSecurityServices/{networkEdgeSecurityService}" - }, - "insert": { - "path": "projects/{project}/regions/{region}/networkEdgeSecurityServices", - "flatPath": "projects/{project}/regions/{region}/networkEdgeSecurityServices", - "response": { - "$ref": "Operation" + "$ref": "Policy" }, - "id": "compute.networkEdgeSecurityServices.insert", - "description": "Creates a new service in the specified project using the data included in the request.", - "httpMethod": "POST", - "parameterOrder": [ - "project", - "region" - ], "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], + "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists." + }, + "setIamPolicy": { + "id": "compute.instanceTemplates.setIamPolicy", + "path": "projects/{project}/global/instanceTemplates/{resource}/setIamPolicy", + "flatPath": "projects/{project}/global/instanceTemplates/{resource}/setIamPolicy", + "httpMethod": "POST", "parameters": { - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" - }, - "region": { - "required": true, - "type": "string", - "description": "Name of the region scoping this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "location": "path" - }, "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", "location": "path", "required": true, - "description": "Project ID for this request." + "type": "string" }, - "validateOnly": { - "type": "boolean", - "location": "query", - "description": "If true, the request will not be committed." + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" } }, + "parameterOrder": [ + "project", + "resource" + ], "request": { - "$ref": "NetworkEdgeSecurityService" - } + "$ref": "GlobalSetPolicyRequest" + }, + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Sets the access control policy on the specified resource. Replaces any existing policy." }, - "get": { + "testIamPermissions": { + "id": "compute.instanceTemplates.testIamPermissions", + "path": "projects/{project}/global/instanceTemplates/{resource}/testIamPermissions", + "flatPath": "projects/{project}/global/instanceTemplates/{resource}/testIamPermissions", + "httpMethod": "POST", "parameters": { - "region": { - "type": "string", - "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the region scoping this request.", - "location": "path" - }, "project": { - "type": "string", + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request." + "type": "string" }, - "networkEdgeSecurityService": { - "description": "Name of the network edge security service to get.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", "required": true, - "type": "string", - "location": "path" + "type": "string" } }, - "httpMethod": "GET", - "flatPath": "projects/{project}/regions/{region}/networkEdgeSecurityServices/{networkEdgeSecurityService}", + "parameterOrder": [ + "project", + "resource" + ], + "request": { + "$ref": "TestPermissionsRequest" + }, "response": { - "$ref": "NetworkEdgeSecurityService" + "$ref": "TestPermissionsResponse" }, - "description": "Gets a specified NetworkEdgeSecurityService.", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "parameterOrder": [ - "project", - "region", - "networkEdgeSecurityService" - ], - "path": "projects/{project}/regions/{region}/networkEdgeSecurityServices/{networkEdgeSecurityService}", - "id": "compute.networkEdgeSecurityServices.get" + "description": "Returns permissions that a caller has on the specified resource." } } }, - "regionSslCertificates": { + "regionInstanceTemplates": { "methods": { - "delete": { - "id": "compute.regionSslCertificates.delete", - "path": "projects/{project}/regions/{region}/sslCertificates/{sslCertificate}", - "httpMethod": "DELETE", - "response": { - "$ref": "Operation" - }, - "parameterOrder": [ - "project", - "region", - "sslCertificate" - ], - "parameters": { - "sslCertificate": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name of the SslCertificate resource to delete.", - "type": "string", - "required": true, - "location": "path" - }, - "region": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "location": "path", - "type": "string", - "required": true, - "description": "Name of the region scoping this request." - }, - "project": { - "required": true, - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", - "type": "string" - }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" - } - }, - "description": "Deletes the specified SslCertificate resource in the region.", - "flatPath": "projects/{project}/regions/{region}/sslCertificates/{sslCertificate}", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ] - }, "list": { + "id": "compute.regionInstanceTemplates.list", + "path": "projects/{project}/regions/{region}/instanceTemplates", + "flatPath": "projects/{project}/regions/{region}/instanceTemplates", + "httpMethod": "GET", "parameters": { - "project": { - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, - "location": "path", - "description": "Project ID for this request." - }, - "pageToken": { - "location": "query", - "type": "string", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results." - }, "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "type": "string", - "location": "query" - }, - "orderBy": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", "location": "query", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", "type": "string" }, "maxResults": { - "format": "uint32", + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", "minimum": "0", + "location": "query", "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", "location": "query", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "default": "500" + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" }, "region": { - "description": "Name of the region scoping this request.", + "description": "The name of the regions for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "type": "string", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "type": "string" }, "returnPartialSuccess": { "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "type": "boolean", - "location": "query" + "location": "query", + "type": "boolean" } }, - "id": "compute.regionSslCertificates.list", "parameterOrder": [ "project", "region" ], - "httpMethod": "GET", + "response": { + "$ref": "InstanceTemplateList" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "flatPath": "projects/{project}/regions/{region}/sslCertificates", - "response": { - "$ref": "SslCertificateList" - }, - "path": "projects/{project}/regions/{region}/sslCertificates", - "description": "Retrieves the list of SslCertificate resources available to the specified project in the specified region." + "description": "Retrieves a list of instance templates that are contained within the specified project and region." }, - "insert": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], + "get": { + "id": "compute.regionInstanceTemplates.get", + "path": "projects/{project}/regions/{region}/instanceTemplates/{instanceTemplate}", + "flatPath": "projects/{project}/regions/{region}/instanceTemplates/{instanceTemplate}", + "httpMethod": "GET", "parameters": { - "region": { + "instanceTemplate": { + "description": "The name of the instance template.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, - "description": "Name of the region scoping this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string" - }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query", "type": "string" }, "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, "location": "path", - "description": "Project ID for this request.", + "required": true, "type": "string" - } - }, - "response": { - "$ref": "Operation" - }, - "id": "compute.regionSslCertificates.insert", - "httpMethod": "POST", - "flatPath": "projects/{project}/regions/{region}/sslCertificates", - "path": "projects/{project}/regions/{region}/sslCertificates", - "description": "Creates a SslCertificate resource in the specified project and region using the data included in the request", - "request": { - "$ref": "SslCertificate" - }, - "parameterOrder": [ - "project", - "region" - ] - }, - "get": { - "response": { - "$ref": "SslCertificate" - }, - "description": "Returns the specified SslCertificate resource in the specified region. Get a list of available SSL certificates by making a list() request.", - "id": "compute.regionSslCertificates.get", - "path": "projects/{project}/regions/{region}/sslCertificates/{sslCertificate}", - "flatPath": "projects/{project}/regions/{region}/sslCertificates/{sslCertificate}", - "httpMethod": "GET", - "parameters": { + }, "region": { - "required": true, - "location": "path", + "description": "The name of the region for this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", - "description": "Name of the region scoping this request." - }, - "sslCertificate": { "location": "path", "required": true, - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name of the SslCertificate resource to return." - }, - "project": { - "description": "Project ID for this request.", - "required": true, - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], "parameterOrder": [ "project", "region", - "sslCertificate" - ] - } - } - }, - "targetTcpProxies": { - "methods": { - "delete": { - "id": "compute.targetTcpProxies.delete", - "flatPath": "projects/{project}/global/targetTcpProxies/{targetTcpProxy}", - "httpMethod": "DELETE", - "parameterOrder": [ - "project", - "targetTcpProxy" + "instanceTemplate" ], - "description": "Deletes the specified TargetTcpProxy resource.", - "parameters": { - "targetTcpProxy": { - "description": "Name of the TargetTcpProxy resource to delete.", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true, - "location": "path" - }, - "requestId": { - "type": "string", - "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - }, - "project": { - "type": "string", - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", - "required": true - } + "response": { + "$ref": "InstanceTemplate" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "path": "projects/{project}/global/targetTcpProxies/{targetTcpProxy}", - "response": { - "$ref": "Operation" - } + "description": "Returns the specified instance template." }, "insert": { - "id": "compute.targetTcpProxies.insert", + "id": "compute.regionInstanceTemplates.insert", + "path": "projects/{project}/regions/{region}/instanceTemplates", + "flatPath": "projects/{project}/regions/{region}/instanceTemplates", "httpMethod": "POST", "parameters": { "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "description": "Project ID for this request.", - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" + }, + "region": { + "description": "The name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" }, "requestId": { - "type": "string", + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "type": "string" } }, - "path": "projects/{project}/global/targetTcpProxies", + "parameterOrder": [ + "project", + "region" + ], + "request": { + "$ref": "InstanceTemplate" + }, "response": { "$ref": "Operation" }, - "parameterOrder": [ - "project" - ], "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "flatPath": "projects/{project}/global/targetTcpProxies", - "description": "Creates a TargetTcpProxy resource in the specified project using the data included in the request.", - "request": { - "$ref": "TargetTcpProxy" - } + "description": "Creates an instance template in the specified project and region using the global instance template whose URL is included in the request." }, - "setBackendService": { - "id": "compute.targetTcpProxies.setBackendService", - "response": { - "$ref": "Operation" + "delete": { + "id": "compute.regionInstanceTemplates.delete", + "path": "projects/{project}/regions/{region}/instanceTemplates/{instanceTemplate}", + "flatPath": "projects/{project}/regions/{region}/instanceTemplates/{instanceTemplate}", + "httpMethod": "DELETE", + "parameters": { + "instanceTemplate": { + "description": "The name of the instance template to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "The name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } }, - "httpMethod": "POST", "parameterOrder": [ "project", - "targetTcpProxy" + "region", + "instanceTemplate" ], - "path": "projects/{project}/global/targetTcpProxies/{targetTcpProxy}/setBackendService", + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "request": { - "$ref": "TargetTcpProxiesSetBackendServiceRequest" - }, - "flatPath": "projects/{project}/global/targetTcpProxies/{targetTcpProxy}/setBackendService", + "description": "Deletes the specified instance template. Deleting an instance template is permanent and cannot be undone." + } + } + }, + "interconnectAttachments": { + "methods": { + "list": { + "id": "compute.interconnectAttachments.list", + "path": "projects/{project}/regions/{region}/interconnectAttachments", + "flatPath": "projects/{project}/regions/{region}/interconnectAttachments", + "httpMethod": "GET", "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, "project": { - "location": "path", + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", + "location": "path", "required": true, - "description": "Project ID for this request." + "type": "string" }, - "targetTcpProxy": { - "required": true, - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "description": "Name of the TargetTcpProxy resource whose BackendService resource is to be set." + "required": true, + "type": "string" }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } }, - "description": "Changes the BackendService for TargetTcpProxy." + "parameterOrder": [ + "project", + "region" + ], + "response": { + "$ref": "InterconnectAttachmentList" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Retrieves the list of interconnect attachments contained within the specified region." }, "aggregatedList": { - "flatPath": "projects/{project}/aggregated/targetTcpProxies", + "id": "compute.interconnectAttachments.aggregatedList", + "path": "projects/{project}/aggregated/interconnectAttachments", + "flatPath": "projects/{project}/aggregated/interconnectAttachments", + "httpMethod": "GET", "parameters": { "filter": { - "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "location": "query" - }, - "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "type": "boolean", - "location": "query" + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" }, "includeAllScopes": { "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", - "type": "boolean", - "location": "query" + "location": "query", + "type": "boolean" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" }, "orderBy": { "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", @@ -52014,1088 +63372,984 @@ "type": "string" }, "pageToken": { - "type": "string", + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "location": "query", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results." + "type": "string" }, "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, - "type": "string", "location": "path", - "description": "Name of the project scoping this request." + "required": true, + "type": "string" }, - "maxResults": { - "type": "integer", - "default": "500", + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", "location": "query", - "format": "uint32", - "minimum": "0", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)" + "type": "boolean" + }, + "serviceProjectNumber": { + "description": "The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.", + "location": "query", + "type": "string", + "format": "int64" } }, - "path": "projects/{project}/aggregated/targetTcpProxies", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "description": "Retrieves the list of all TargetTcpProxy resources, regional and global, available to the specified project.", - "id": "compute.targetTcpProxies.aggregatedList", "parameterOrder": [ "project" ], "response": { - "$ref": "TargetTcpProxyAggregatedList" + "$ref": "InterconnectAttachmentAggregatedList" }, - "httpMethod": "GET" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Retrieves an aggregated list of interconnect attachments." }, - "list": { - "response": { - "$ref": "TargetTcpProxyList" - }, - "description": "Retrieves the list of TargetTcpProxy resources available to the specified project.", + "get": { + "id": "compute.interconnectAttachments.get", + "path": "projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}", + "flatPath": "projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}", + "httpMethod": "GET", "parameters": { - "orderBy": { - "location": "query", - "type": "string", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported." - }, - "pageToken": { - "location": "query", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "interconnectAttachment": { + "description": "Name of the interconnect attachment to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, "type": "string" }, - "maxResults": { - "format": "uint32", - "default": "500", - "minimum": "0", - "location": "query", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "type": "integer" - }, - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "type": "string", - "location": "query" - }, - "returnPartialSuccess": { - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "location": "query" - }, "project": { - "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", "description": "Project ID for this request.", - "location": "path" + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" } }, "parameterOrder": [ - "project" + "project", + "region", + "interconnectAttachment" ], - "path": "projects/{project}/global/targetTcpProxies", - "id": "compute.targetTcpProxies.list", - "httpMethod": "GET", - "flatPath": "projects/{project}/global/targetTcpProxies", + "response": { + "$ref": "InterconnectAttachment" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" - ] + ], + "description": "Returns the specified interconnect attachment." }, - "setProxyHeader": { + "insert": { + "id": "compute.interconnectAttachments.insert", + "path": "projects/{project}/regions/{region}/interconnectAttachments", + "flatPath": "projects/{project}/regions/{region}/interconnectAttachments", "httpMethod": "POST", - "request": { - "$ref": "TargetTcpProxiesSetProxyHeaderRequest" - }, - "parameterOrder": [ - "project", - "targetTcpProxy" - ], - "response": { - "$ref": "Operation" - }, - "flatPath": "projects/{project}/global/targetTcpProxies/{targetTcpProxy}/setProxyHeader", "parameters": { - "requestId": { - "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, "type": "string" }, - "targetTcpProxy": { + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", "required": true, - "description": "Name of the TargetTcpProxy resource whose ProxyHeader is to be set." + "type": "string" }, - "project": { - "location": "path", - "description": "Project ID for this request.", - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "validateOnly": { + "description": "If true, the request will not be committed.", + "location": "query", + "type": "boolean" } }, - "description": "Changes the ProxyHeaderType for TargetTcpProxy.", - "id": "compute.targetTcpProxies.setProxyHeader", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "path": "projects/{project}/global/targetTcpProxies/{targetTcpProxy}/setProxyHeader" - }, - "get": { "parameterOrder": [ "project", - "targetTcpProxy" + "region" ], - "path": "projects/{project}/global/targetTcpProxies/{targetTcpProxy}", - "flatPath": "projects/{project}/global/targetTcpProxies/{targetTcpProxy}", - "description": "Returns the specified TargetTcpProxy resource. Gets a list of available target TCP proxies by making a list() request.", + "request": { + "$ref": "InterconnectAttachment" + }, "response": { - "$ref": "TargetTcpProxy" + "$ref": "Operation" }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Creates an InterconnectAttachment in the specified project using the data included in the request." + }, + "patch": { + "id": "compute.interconnectAttachments.patch", + "path": "projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}", + "flatPath": "projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}", + "httpMethod": "PATCH", "parameters": { - "targetTcpProxy": { + "interconnectAttachment": { + "description": "Name of the interconnect attachment to patch.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", - "description": "Name of the TargetTcpProxy resource to return." + "type": "string" }, "project": { "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "type": "string", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, + "parameterOrder": [ + "project", + "region", + "interconnectAttachment" + ], + "request": { + "$ref": "InterconnectAttachment" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], - "id": "compute.targetTcpProxies.get", - "httpMethod": "GET" - } - } - }, - "publicAdvertisedPrefixes": { - "methods": { - "get": { - "path": "projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}", + "description": "Updates the specified interconnect attachment with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules." + }, + "delete": { + "id": "compute.interconnectAttachments.delete", + "path": "projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}", + "flatPath": "projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}", + "httpMethod": "DELETE", "parameters": { - "publicAdvertisedPrefix": { - "description": "Name of the PublicAdvertisedPrefix resource to return.", + "interconnectAttachment": { + "description": "Name of the interconnect attachment to delete.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", + "location": "path", "required": true, - "location": "path" + "type": "string" }, "project": { "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "type": "string", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, - "id": "compute.publicAdvertisedPrefixes.get", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], "parameterOrder": [ "project", - "publicAdvertisedPrefix" + "region", + "interconnectAttachment" ], - "description": "Returns the specified PublicAdvertisedPrefix resource.", - "flatPath": "projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}", - "httpMethod": "GET", "response": { - "$ref": "PublicAdvertisedPrefix" - } - }, - "insert": { - "parameterOrder": [ - "project" + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" ], + "description": "Deletes the specified interconnect attachment." + }, + "setLabels": { + "id": "compute.interconnectAttachments.setLabels", + "path": "projects/{project}/regions/{region}/interconnectAttachments/{resource}/setLabels", + "flatPath": "projects/{project}/regions/{region}/interconnectAttachments/{resource}/setLabels", + "httpMethod": "POST", "parameters": { - "requestId": { - "type": "string", - "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - }, "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, + "type": "string" + }, + "region": { + "description": "The region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "type": "string", - "description": "Project ID for this request." + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" } }, - "path": "projects/{project}/global/publicAdvertisedPrefixes", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "parameterOrder": [ + "project", + "region", + "resource" ], - "id": "compute.publicAdvertisedPrefixes.insert", - "description": "Creates a PublicAdvertisedPrefix in the specified project using the parameters that are included in the request.", "request": { - "$ref": "PublicAdvertisedPrefix" + "$ref": "RegionSetLabelsRequest" }, - "httpMethod": "POST", - "flatPath": "projects/{project}/global/publicAdvertisedPrefixes", "response": { "$ref": "Operation" - } - }, - "patch": { - "parameterOrder": [ - "project", - "publicAdvertisedPrefix" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" ], - "flatPath": "projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}", - "description": "Patches the specified Router resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.", + "description": "Sets the labels on an InterconnectAttachment. To learn more about labels, read the Labeling Resources documentation." + } + } + }, + "interconnects": { + "methods": { + "insert": { + "id": "compute.interconnects.insert", + "path": "projects/{project}/global/interconnects", + "flatPath": "projects/{project}/global/interconnects", + "httpMethod": "POST", "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, "requestId": { "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", "type": "string" - }, - "publicAdvertisedPrefix": { - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true, - "description": "Name of the PublicAdvertisedPrefix resource to patch.", - "location": "path" - }, - "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", - "description": "Project ID for this request.", - "location": "path", - "required": true } }, - "id": "compute.publicAdvertisedPrefixes.patch", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "parameterOrder": [ + "project" ], - "httpMethod": "PATCH", + "request": { + "$ref": "Interconnect" + }, "response": { "$ref": "Operation" }, - "request": { - "$ref": "PublicAdvertisedPrefix" - }, - "path": "projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}" - }, - "list": { - "httpMethod": "GET", - "path": "projects/{project}/global/publicAdvertisedPrefixes", - "description": "Lists the PublicAdvertisedPrefixes for a project.", - "id": "compute.publicAdvertisedPrefixes.list", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "response": { - "$ref": "PublicAdvertisedPrefixList" - }, - "parameterOrder": [ - "project" + "https://www.googleapis.com/auth/compute" ], - "flatPath": "projects/{project}/global/publicAdvertisedPrefixes", + "description": "Creates an Interconnect in the specified project using the data included in the request." + }, + "list": { + "id": "compute.interconnects.list", + "path": "projects/{project}/global/interconnects", + "flatPath": "projects/{project}/global/interconnects", + "httpMethod": "GET", "parameters": { - "maxResults": { - "format": "uint32", + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", "location": "query", + "type": "string" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", "minimum": "0", + "location": "query", "type": "integer", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "default": "500" + "format": "uint32" }, "orderBy": { "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "type": "string", - "location": "query" + "location": "query", + "type": "string" }, "pageToken": { - "type": "string", "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "location": "query" + "location": "query", + "type": "string" }, "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "description": "Project ID for this request.", - "type": "string", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "location": "path" + "type": "string" }, "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", "location": "query", - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." - }, - "filter": { - "location": "query", - "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`." + "type": "boolean" } - } + }, + "parameterOrder": [ + "project" + ], + "response": { + "$ref": "InterconnectList" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Retrieves the list of Interconnects available to the specified project." }, - "delete": { - "flatPath": "projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}", + "getDiagnostics": { + "id": "compute.interconnects.getDiagnostics", + "path": "projects/{project}/global/interconnects/{interconnect}/getDiagnostics", + "flatPath": "projects/{project}/global/interconnects/{interconnect}/getDiagnostics", + "httpMethod": "GET", "parameters": { - "requestId": { - "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "interconnect": { + "description": "Name of the interconnect resource to query.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, "type": "string" }, "project": { - "required": true, - "location": "path", "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string" - }, - "publicAdvertisedPrefix": { - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true, "location": "path", - "description": "Name of the PublicAdvertisedPrefix resource to delete." + "required": true, + "type": "string" } }, - "id": "compute.publicAdvertisedPrefixes.delete", - "httpMethod": "DELETE", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "path": "projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}", - "description": "Deletes the specified PublicAdvertisedPrefix", - "parameterOrder": [ - "project", - "publicAdvertisedPrefix" - ] - } - } - }, - "nodeTemplates": { - "methods": { - "insert": { - "httpMethod": "POST", "parameterOrder": [ "project", - "region" + "interconnect" ], - "path": "projects/{project}/regions/{region}/nodeTemplates", - "request": { - "$ref": "NodeTemplate" + "response": { + "$ref": "InterconnectsGetDiagnosticsResponse" }, - "id": "compute.nodeTemplates.insert", - "flatPath": "projects/{project}/regions/{region}/nodeTemplates", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "description": "Creates a NodeTemplate resource in the specified project using the data included in the request.", - "response": { - "$ref": "Operation" - }, + "description": "Returns the interconnectDiagnostics for the specified Interconnect. In the event of a global outage, do not use this API to make decisions about where to redirect your network traffic. Unlike a VLAN attachment, which is regional, a Cloud Interconnect connection is a global resource. A global outage can prevent this API from functioning properly." + }, + "getMacsecConfig": { + "id": "compute.interconnects.getMacsecConfig", + "path": "projects/{project}/global/interconnects/{interconnect}/getMacsecConfig", + "flatPath": "projects/{project}/global/interconnects/{interconnect}/getMacsecConfig", + "httpMethod": "GET", "parameters": { - "requestId": { - "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "interconnect": { + "description": "Name of the interconnect resource to query.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" }, "project": { - "location": "path", "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", - "required": true - }, - "region": { "location": "path", - "required": true, - "type": "string", - "description": "The name of the region for this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "required": true, + "type": "string" } - } - }, - "getIamPolicy": { + }, "parameterOrder": [ "project", - "region", - "resource" + "interconnect" ], - "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.", - "path": "projects/{project}/regions/{region}/nodeTemplates/{resource}/getIamPolicy", - "flatPath": "projects/{project}/regions/{region}/nodeTemplates/{resource}/getIamPolicy", - "id": "compute.nodeTemplates.getIamPolicy", + "response": { + "$ref": "InterconnectsGetMacsecConfigResponse" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "response": { - "$ref": "Policy" - }, + "description": "Returns the interconnectMacsecConfig for the specified Interconnect." + }, + "get": { + "id": "compute.interconnects.get", + "path": "projects/{project}/global/interconnects/{interconnect}", + "flatPath": "projects/{project}/global/interconnects/{interconnect}", + "httpMethod": "GET", "parameters": { - "optionsRequestedPolicyVersion": { - "type": "integer", - "location": "query", - "format": "int32", - "description": "Requested IAM Policy version." - }, - "region": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "The name of the region for this request.", + "interconnect": { + "description": "Name of the interconnect to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", "required": true, - "type": "string", - "location": "path" + "type": "string" }, "project": { - "type": "string", - "required": true, "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "resource": { "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name or id of the resource for this request.", - "type": "string", - "location": "path" + "type": "string" } }, - "httpMethod": "GET" - }, - "setIamPolicy": { - "request": { - "$ref": "RegionSetPolicyRequest" - }, "parameterOrder": [ "project", - "region", - "resource" + "interconnect" ], - "flatPath": "projects/{project}/regions/{region}/nodeTemplates/{resource}/setIamPolicy", + "response": { + "$ref": "Interconnect" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Returns the specified Interconnect. Get a list of available Interconnects by making a list() request." + }, + "delete": { + "id": "compute.interconnects.delete", + "path": "projects/{project}/global/interconnects/{interconnect}", + "flatPath": "projects/{project}/global/interconnects/{interconnect}", + "httpMethod": "DELETE", "parameters": { - "resource": { - "required": true, - "location": "path", + "interconnect": { + "description": "Name of the interconnect to delete.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name or id of the resource for this request.", - "type": "string" - }, - "region": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "The name of the region for this request.", - "required": true, "location": "path", + "required": true, "type": "string" }, "project": { - "location": "path", + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "type": "string", - "description": "Project ID for this request." + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, - "id": "compute.nodeTemplates.setIamPolicy", + "parameterOrder": [ + "project", + "interconnect" + ], + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "response": { - "$ref": "Policy" - }, - "description": "Sets the access control policy on the specified resource. Replaces any existing policy.", - "path": "projects/{project}/regions/{region}/nodeTemplates/{resource}/setIamPolicy", - "httpMethod": "POST" + "description": "Deletes the specified Interconnect." }, - "list": { - "description": "Retrieves a list of node templates available to the specified project.", - "id": "compute.nodeTemplates.list", - "response": { - "$ref": "NodeTemplateList" - }, + "patch": { + "id": "compute.interconnects.patch", + "path": "projects/{project}/global/interconnects/{interconnect}", + "flatPath": "projects/{project}/global/interconnects/{interconnect}", + "httpMethod": "PATCH", "parameters": { - "project": { - "description": "Project ID for this request.", + "interconnect": { + "description": "Name of the interconnect to update.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "type": "string" }, - "orderBy": { - "location": "query", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, "type": "string" }, - "pageToken": { + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "type": "string" - }, - "returnPartialSuccess": { - "location": "query", - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." - }, - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "type": "string", - "location": "query" - }, - "maxResults": { - "default": "500", - "type": "integer", - "minimum": "0", - "location": "query", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "format": "uint32" - }, - "region": { - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "The name of the region for this request.", - "type": "string", - "required": true } }, - "httpMethod": "GET", - "flatPath": "projects/{project}/regions/{region}/nodeTemplates", "parameterOrder": [ "project", - "region" + "interconnect" ], - "path": "projects/{project}/regions/{region}/nodeTemplates", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ] - }, - "delete": { + "request": { + "$ref": "Interconnect" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "flatPath": "projects/{project}/regions/{region}/nodeTemplates/{nodeTemplate}", + "description": "Updates the specified Interconnect with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules." + }, + "setLabels": { + "id": "compute.interconnects.setLabels", + "path": "projects/{project}/global/interconnects/{resource}/setLabels", + "flatPath": "projects/{project}/global/interconnects/{resource}/setLabels", + "httpMethod": "POST", "parameters": { "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", - "description": "Project ID for this request.", - "required": true - }, - "region": { "required": true, - "type": "string", - "description": "The name of the region for this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "location": "path" + "type": "string" }, - "nodeTemplate": { - "required": true, + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name of the NodeTemplate resource to delete." - }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query", + "required": true, "type": "string" } }, "parameterOrder": [ "project", - "region", - "nodeTemplate" + "resource" ], - "response": { - "$ref": "Operation" + "request": { + "$ref": "GlobalSetLabelsRequest" }, - "description": "Deletes the specified NodeTemplate resource.", - "path": "projects/{project}/regions/{region}/nodeTemplates/{nodeTemplate}", - "httpMethod": "DELETE", - "id": "compute.nodeTemplates.delete" - }, - "aggregatedList": { - "flatPath": "projects/{project}/aggregated/nodeTemplates", "response": { - "$ref": "NodeTemplateAggregatedList" + "$ref": "Operation" }, - "parameterOrder": [ - "project" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" ], - "description": "Retrieves an aggregated list of node templates.", + "description": "Sets the labels on an Interconnect. To learn more about labels, read the Labeling Resources documentation." + } + } + }, + "interconnectLocations": { + "methods": { + "list": { + "id": "compute.interconnectLocations.list", + "path": "projects/{project}/global/interconnectLocations", + "flatPath": "projects/{project}/global/interconnectLocations", "httpMethod": "GET", - "id": "compute.nodeTemplates.aggregatedList", "parameters": { "filter": { - "type": "string", + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", "location": "query", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`." + "type": "string" }, "maxResults": { - "minimum": "0", + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", "default": "500", + "minimum": "0", + "location": "query", "type": "integer", - "format": "uint32", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "location": "query" + "format": "uint32" }, "orderBy": { - "type": "string", + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", "location": "query", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported." + "type": "string" }, "pageToken": { "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "location": "query", "type": "string" }, - "returnPartialSuccess": { - "location": "query", - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." - }, "project": { - "location": "path", - "required": true, "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, "type": "string" }, - "includeAllScopes": { - "type": "boolean", - "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", - "location": "query" + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } }, - "path": "projects/{project}/aggregated/nodeTemplates", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ] - }, - "testIamPermissions": { "parameterOrder": [ - "project", - "region", - "resource" + "project" ], - "path": "projects/{project}/regions/{region}/nodeTemplates/{resource}/testIamPermissions", "response": { - "$ref": "TestPermissionsResponse" + "$ref": "InterconnectLocationList" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "id": "compute.nodeTemplates.testIamPermissions", + "description": "Retrieves the list of interconnect locations available to the specified project." + }, + "get": { + "id": "compute.interconnectLocations.get", + "path": "projects/{project}/global/interconnectLocations/{interconnectLocation}", + "flatPath": "projects/{project}/global/interconnectLocations/{interconnectLocation}", + "httpMethod": "GET", "parameters": { - "project": { - "required": true, - "location": "path", - "description": "Project ID for this request.", - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "region": { + "interconnectLocation": { + "description": "Name of the interconnect location to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "type": "string", "required": true, - "description": "The name of the region for this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "type": "string" }, - "resource": { - "description": "Name or id of the resource for this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, "type": "string" } }, - "request": { - "$ref": "TestPermissionsRequest" - }, - "description": "Returns permissions that a caller has on the specified resource.", - "httpMethod": "POST", - "flatPath": "projects/{project}/regions/{region}/nodeTemplates/{resource}/testIamPermissions" - }, - "get": { - "httpMethod": "GET", - "flatPath": "projects/{project}/regions/{region}/nodeTemplates/{nodeTemplate}", - "response": { - "$ref": "NodeTemplate" - }, "parameterOrder": [ "project", - "region", - "nodeTemplate" + "interconnectLocation" ], - "parameters": { - "region": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true, - "description": "The name of the region for this request.", - "location": "path", - "type": "string" - }, - "nodeTemplate": { - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "location": "path", - "description": "Name of the node template to return.", - "required": true - }, - "project": { - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, - "location": "path", - "description": "Project ID for this request." - } + "response": { + "$ref": "InterconnectLocation" }, - "path": "projects/{project}/regions/{region}/nodeTemplates/{nodeTemplate}", - "id": "compute.nodeTemplates.get", - "description": "Returns the specified node template. Gets a list of available node templates by making a list() request.", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" - ] + ], + "description": "Returns the details for the specified interconnect location. Gets a list of available interconnect locations by making a list() request." } } }, - "regionTargetHttpsProxies": { + "interconnectRemoteLocations": { "methods": { - "get": { - "id": "compute.regionTargetHttpsProxies.get", - "path": "projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}", - "flatPath": "projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}", + "list": { + "id": "compute.interconnectRemoteLocations.list", + "path": "projects/{project}/global/interconnectRemoteLocations", + "flatPath": "projects/{project}/global/interconnectRemoteLocations", + "httpMethod": "GET", + "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + } + }, "parameterOrder": [ - "project", - "region", - "targetHttpsProxy" + "project" ], - "httpMethod": "GET", - "description": "Returns the specified TargetHttpsProxy resource in the specified region. Gets a list of available target HTTP proxies by making a list() request.", + "response": { + "$ref": "InterconnectRemoteLocationList" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], + "description": "Retrieves the list of interconnect remote locations available to the specified project." + }, + "get": { + "id": "compute.interconnectRemoteLocations.get", + "path": "projects/{project}/global/interconnectRemoteLocations/{interconnectRemoteLocation}", + "flatPath": "projects/{project}/global/interconnectRemoteLocations/{interconnectRemoteLocation}", + "httpMethod": "GET", "parameters": { - "project": { - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "interconnectRemoteLocation": { + "description": "Name of the interconnect remote location to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, - "description": "Project ID for this request." - }, - "region": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true, - "location": "path", - "type": "string", - "description": "Name of the region scoping this request." + "type": "string" }, - "targetHttpsProxy": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", "required": true, - "description": "Name of the TargetHttpsProxy resource to return." + "type": "string" } }, + "parameterOrder": [ + "project", + "interconnectRemoteLocation" + ], "response": { - "$ref": "TargetHttpsProxy" - } - }, - "patch": { + "$ref": "InterconnectRemoteLocation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "flatPath": "projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}", - "description": "Patches the specified regional TargetHttpsProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.", - "response": { - "$ref": "Operation" - }, - "id": "compute.regionTargetHttpsProxies.patch", - "request": { - "$ref": "TargetHttpsProxy" - }, + "description": "Returns the details for the specified interconnect remote location. Gets a list of available interconnect remote locations by making a list() request." + } + } + }, + "licenseCodes": { + "methods": { + "get": { + "id": "compute.licenseCodes.get", + "path": "projects/{project}/global/licenseCodes/{licenseCode}", + "flatPath": "projects/{project}/global/licenseCodes/{licenseCode}", + "httpMethod": "GET", "parameters": { - "region": { - "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "location": "path", - "type": "string", - "description": "Name of the region for this request." - }, - "targetHttpsProxy": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "licenseCode": { + "description": "Number corresponding to the License code resource to return.", + "pattern": "[0-9]{0,61}?", "location": "path", "required": true, - "description": "Name of the TargetHttpsProxy resource to patch.", "type": "string" }, "project": { - "required": true, - "type": "string", "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query", + "required": true, "type": "string" } }, "parameterOrder": [ "project", - "region", - "targetHttpsProxy" + "licenseCode" ], - "httpMethod": "PATCH", - "path": "projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}" - }, - "insert": { "response": { - "$ref": "Operation" - }, - "request": { - "$ref": "TargetHttpsProxy" + "$ref": "LicenseCode" }, - "flatPath": "projects/{project}/regions/{region}/targetHttpsProxies", - "path": "projects/{project}/regions/{region}/targetHttpsProxies", - "description": "Creates a TargetHttpsProxy resource in the specified project and region using the data included in the request.", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "parameterOrder": [ - "project", - "region" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], + "description": "Return a specified license code. License codes are mirrored across all projects that have permissions to read the License Code. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. " + }, + "testIamPermissions": { + "id": "compute.licenseCodes.testIamPermissions", + "path": "projects/{project}/global/licenseCodes/{resource}/testIamPermissions", + "flatPath": "projects/{project}/global/licenseCodes/{resource}/testIamPermissions", + "httpMethod": "POST", "parameters": { - "requestId": { - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" - }, "project": { - "required": true, - "type": "string", - "location": "path", "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "region": { - "description": "Name of the region scoping this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", + "required": true, "type": "string" } }, - "id": "compute.regionTargetHttpsProxies.insert", - "httpMethod": "POST" - }, - "setSslCertificates": { - "flatPath": "projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates", + "parameterOrder": [ + "project", + "resource" + ], + "request": { + "$ref": "TestPermissionsRequest" + }, "response": { - "$ref": "Operation" + "$ref": "TestPermissionsResponse" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "path": "projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates", - "request": { - "$ref": "RegionTargetHttpsProxiesSetSslCertificatesRequest" - }, - "httpMethod": "POST", - "description": "Replaces SslCertificates for TargetHttpsProxy.", + "description": "Returns permissions that a caller has on the specified resource. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. " + } + } + }, + "licenses": { + "methods": { + "get": { + "id": "compute.licenses.get", + "path": "projects/{project}/global/licenses/{license}", + "flatPath": "projects/{project}/global/licenses/{license}", + "httpMethod": "GET", "parameters": { - "region": { + "license": { + "description": "Name of the License resource to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", "required": true, - "description": "Name of the region scoping this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", - "location": "path" + "type": "string" }, "project": { - "type": "string", + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, "location": "path", - "description": "Project ID for this request." - }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query", - "type": "string" - }, - "targetHttpsProxy": { - "type": "string", "required": true, - "description": "Name of the TargetHttpsProxy resource to set an SslCertificates resource for.", - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" + "type": "string" } }, - "id": "compute.regionTargetHttpsProxies.setSslCertificates", "parameterOrder": [ "project", - "region", - "targetHttpsProxy" - ] - }, - "list": { + "license" + ], + "response": { + "$ref": "License" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "path": "projects/{project}/regions/{region}/targetHttpsProxies", - "parameterOrder": [ - "project", - "region" - ], + "description": "Returns the specified License resource. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. " + }, + "list": { + "id": "compute.licenses.list", + "path": "projects/{project}/global/licenses", + "flatPath": "projects/{project}/global/licenses", "httpMethod": "GET", - "flatPath": "projects/{project}/regions/{region}/targetHttpsProxies", - "description": "Retrieves the list of TargetHttpsProxy resources available to the specified project in the specified region.", "parameters": { - "orderBy": { - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", "location": "query", "type": "string" }, "maxResults": { - "default": "500", "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "format": "uint32", + "default": "500", + "minimum": "0", + "location": "query", "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "location": "query", - "minimum": "0" + "type": "string" }, "project": { "description": "Project ID for this request.", - "type": "string", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, - "location": "path" - }, - "region": { - "type": "string", "location": "path", "required": true, - "description": "Name of the region scoping this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" - }, - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "type": "string", - "location": "query" + "type": "string" }, "returnPartialSuccess": { "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "type": "boolean", - "location": "query" - }, - "filter": { "location": "query", - "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`." + "type": "boolean" } }, - "response": { - "$ref": "TargetHttpsProxyList" - }, - "id": "compute.regionTargetHttpsProxies.list" - }, - "delete": { - "httpMethod": "DELETE", - "id": "compute.regionTargetHttpsProxies.delete", "parameterOrder": [ - "project", - "region", - "targetHttpsProxy" + "project" ], + "response": { + "$ref": "LicensesListResponse" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "description": "Deletes the specified TargetHttpsProxy resource.", - "response": { - "$ref": "Operation" - }, - "flatPath": "projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}", + "description": "Retrieves the list of licenses available in the specified project. This method does not get any licenses that belong to other projects, including licenses attached to publicly-available images, like Debian 9. If you want to get a list of publicly-available licenses, use this method to make a request to the respective image project, such as debian-cloud or windows-cloud. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. " + }, + "delete": { + "id": "compute.licenses.delete", + "path": "projects/{project}/global/licenses/{license}", + "flatPath": "projects/{project}/global/licenses/{license}", + "httpMethod": "DELETE", "parameters": { - "region": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the region scoping this request.", - "type": "string", + "license": { + "description": "Name of the license resource to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "required": true - }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" + "required": true, + "type": "string" }, "project": { "description": "Project ID for this request.", - "type": "string", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" }, - "targetHttpsProxy": { - "required": true, - "description": "Name of the TargetHttpsProxy resource to delete.", - "location": "path", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, - "path": "projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}" - }, - "setUrlMap": { "parameterOrder": [ "project", - "region", - "targetHttpsProxy" + "license" ], - "flatPath": "projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap", "response": { "$ref": "Operation" }, @@ -53103,438 +64357,285 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], + "description": "Deletes the specified license. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. " + }, + "insert": { + "id": "compute.licenses.insert", + "path": "projects/{project}/global/licenses", + "flatPath": "projects/{project}/global/licenses", "httpMethod": "POST", - "id": "compute.regionTargetHttpsProxies.setUrlMap", - "path": "projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap", - "description": "Changes the URL map for TargetHttpsProxy.", "parameters": { - "requestId": { - "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - }, - "targetHttpsProxy": { - "required": true, - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name of the TargetHttpsProxy to set a URL map for.", - "location": "path" - }, "project": { - "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", "description": "Project ID for this request.", - "location": "path" - }, - "region": { - "required": true, - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the region scoping this request.", - "location": "path" - } - }, - "request": { - "$ref": "UrlMapReference" - } - } - } - }, - "globalPublicDelegatedPrefixes": { - "methods": { - "list": { - "description": "Lists the global PublicDelegatedPrefixes for a project.", - "path": "projects/{project}/global/publicDelegatedPrefixes", - "parameters": { - "project": { "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "type": "string", - "description": "Project ID for this request." - }, - "filter": { - "location": "query", - "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`." - }, - "orderBy": { - "type": "string", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "location": "query" - }, - "returnPartialSuccess": { - "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "type": "boolean" - }, - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "type": "string", - "location": "query" + "type": "string" }, - "maxResults": { - "format": "uint32", + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "minimum": "0", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "default": "500", - "type": "integer" + "type": "string" } }, - "response": { - "$ref": "PublicDelegatedPrefixList" - }, - "flatPath": "projects/{project}/global/publicDelegatedPrefixes", "parameterOrder": [ "project" ], - "httpMethod": "GET", - "id": "compute.globalPublicDelegatedPrefixes.list", + "request": { + "$ref": "License" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ] + "https://www.googleapis.com/auth/devstorage.full_control", + "https://www.googleapis.com/auth/devstorage.read_only", + "https://www.googleapis.com/auth/devstorage.read_write" + ], + "description": "Create a License resource in the specified project. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. " }, - "delete": { - "flatPath": "projects/{project}/global/publicDelegatedPrefixes/{publicDelegatedPrefix}", - "response": { - "$ref": "Operation" - }, - "httpMethod": "DELETE", + "getIamPolicy": { + "id": "compute.licenses.getIamPolicy", + "path": "projects/{project}/global/licenses/{resource}/getIamPolicy", + "flatPath": "projects/{project}/global/licenses/{resource}/getIamPolicy", + "httpMethod": "GET", "parameters": { - "requestId": { - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" + "optionsRequestedPolicyVersion": { + "description": "Requested IAM Policy version.", + "location": "query", + "type": "integer", + "format": "int32" }, - "publicDelegatedPrefix": { - "required": true, - "description": "Name of the PublicDelegatedPrefix resource to delete.", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, "type": "string" }, - "project": { + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", - "required": true + "required": true, + "type": "string" } }, "parameterOrder": [ "project", - "publicDelegatedPrefix" + "resource" ], - "id": "compute.globalPublicDelegatedPrefixes.delete", - "description": "Deletes the specified global PublicDelegatedPrefix.", - "path": "projects/{project}/global/publicDelegatedPrefixes/{publicDelegatedPrefix}", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ] - }, - "patch": { + "response": { + "$ref": "Policy" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], + "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. " + }, + "setIamPolicy": { + "id": "compute.licenses.setIamPolicy", + "path": "projects/{project}/global/licenses/{resource}/setIamPolicy", + "flatPath": "projects/{project}/global/licenses/{resource}/setIamPolicy", + "httpMethod": "POST", "parameters": { - "requestId": { - "type": "string", - "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - }, "project": { - "type": "string", + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" }, - "publicDelegatedPrefix": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, - "description": "Name of the PublicDelegatedPrefix resource to patch.", "type": "string" } }, - "flatPath": "projects/{project}/global/publicDelegatedPrefixes/{publicDelegatedPrefix}", - "path": "projects/{project}/global/publicDelegatedPrefixes/{publicDelegatedPrefix}", - "httpMethod": "PATCH", - "description": "Patches the specified global PublicDelegatedPrefix resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.", "parameterOrder": [ "project", - "publicDelegatedPrefix" + "resource" ], - "id": "compute.globalPublicDelegatedPrefixes.patch", "request": { - "$ref": "PublicDelegatedPrefix" + "$ref": "GlobalSetPolicyRequest" }, "response": { - "$ref": "Operation" - } - }, - "insert": { - "parameters": { - "project": { - "type": "string", - "description": "Project ID for this request.", - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true - }, - "requestId": { - "type": "string", - "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - } - }, - "httpMethod": "POST", - "request": { - "$ref": "PublicDelegatedPrefix" + "$ref": "Policy" }, - "path": "projects/{project}/global/publicDelegatedPrefixes", - "id": "compute.globalPublicDelegatedPrefixes.insert", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "parameterOrder": [ - "project" - ], - "response": { - "$ref": "Operation" - }, - "description": "Creates a global PublicDelegatedPrefix in the specified project using the parameters that are included in the request.", - "flatPath": "projects/{project}/global/publicDelegatedPrefixes" + "description": "Sets the access control policy on the specified resource. Replaces any existing policy. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. " }, - "get": { - "httpMethod": "GET", - "path": "projects/{project}/global/publicDelegatedPrefixes/{publicDelegatedPrefix}", - "description": "Returns the specified global PublicDelegatedPrefix resource.", - "parameterOrder": [ - "project", - "publicDelegatedPrefix" - ], - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], + "testIamPermissions": { + "id": "compute.licenses.testIamPermissions", + "path": "projects/{project}/global/licenses/{resource}/testIamPermissions", + "flatPath": "projects/{project}/global/licenses/{resource}/testIamPermissions", + "httpMethod": "POST", "parameters": { "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "description": "Project ID for this request.", - "type": "string", - "location": "path" + "type": "string" }, - "publicDelegatedPrefix": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", - "required": true, + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "description": "Name of the PublicDelegatedPrefix resource to return." + "required": true, + "type": "string" } }, + "parameterOrder": [ + "project", + "resource" + ], + "request": { + "$ref": "TestPermissionsRequest" + }, "response": { - "$ref": "PublicDelegatedPrefix" + "$ref": "TestPermissionsResponse" }, - "flatPath": "projects/{project}/global/publicDelegatedPrefixes/{publicDelegatedPrefix}", - "id": "compute.globalPublicDelegatedPrefixes.get" - } - } - }, - "instances": { - "methods": { - "getSerialPortOutput": { - "description": "Returns the last 1 MB of serial port output from the specified instance.", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/serialPort", - "path": "projects/{project}/zones/{zone}/instances/{instance}/serialPort", + "description": "Returns permissions that a caller has on the specified resource. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. " + } + } + }, + "machineImages": { + "methods": { + "list": { + "id": "compute.machineImages.list", + "path": "projects/{project}/global/machineImages", + "flatPath": "projects/{project}/global/machineImages", "httpMethod": "GET", - "id": "compute.instances.getSerialPortOutput", "parameters": { - "project": { - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, - "description": "Project ID for this request.", + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", "type": "string" }, - "instance": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "location": "path", - "type": "string", - "description": "Name of the instance for this request.", - "required": true - }, - "port": { - "description": "Specifies which COM or serial port to retrieve data from.", - "default": "1", + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", "location": "query", - "minimum": "1", - "format": "int32", - "maximum": "4" + "type": "string" }, - "start": { - "format": "int64", - "description": "Specifies the starting byte position of the output to return. To start with the first byte of output to the specified port, omit this field or set it to `0`. If the output for that byte position is available, this field matches the `start` parameter sent with the request. If the amount of serial console output exceeds the size of the buffer (1 MB), the oldest output is discarded and is no longer available. If the requested start position refers to discarded output, the start position is adjusted to the oldest output still available, and the adjusted start position is returned as the `start` property value. You can also provide a negative start position, which translates to the most recent number of bytes written to the serial port. For example, -3 is interpreted as the most recent 3 bytes written to the serial console.", - "type": "string", - "location": "query" + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" }, - "zone": { - "description": "The name of the zone for this request.", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", - "required": true + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } }, "parameterOrder": [ - "project", - "zone", - "instance" + "project" ], "response": { - "$ref": "SerialPortOutput" - } - }, - "setTags": { + "$ref": "MachineImageList" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "path": "projects/{project}/zones/{zone}/instances/{instance}/setTags", - "id": "compute.instances.setTags", - "parameterOrder": [ - "project", - "zone", - "instance" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "response": { - "$ref": "Operation" - }, + "description": "Retrieves a list of machine images that are contained within the specified project." + }, + "get": { + "id": "compute.machineImages.get", + "path": "projects/{project}/global/machineImages/{machineImage}", + "flatPath": "projects/{project}/global/machineImages/{machineImage}", + "httpMethod": "GET", "parameters": { - "zone": { - "required": true, - "description": "The name of the zone for this request.", - "location": "path", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" - }, - "instance": { + "machineImage": { + "description": "The name of the machine image.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, - "description": "Name of the instance scoping this request.", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" + "type": "string" }, "project": { - "location": "path", - "type": "string", + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "description": "Project ID for this request." - }, - "requestId": { - "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "type": "string" } }, - "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setTags", - "request": { - "$ref": "Tags" - }, - "description": "Sets network tags for the specified instance to the data included in the request.", - "httpMethod": "POST" - }, - "listReferrers": { - "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/referrers", "parameterOrder": [ "project", - "zone", - "instance" + "machineImage" + ], + "response": { + "$ref": "MachineImage" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "description": "Retrieves a list of resources that refer to the VM instance specified in the request. For example, if the VM instance is part of a managed or unmanaged instance group, the referrers list includes the instance group. For more information, read Viewing referrers to VM instances.", - "id": "compute.instances.listReferrers", + "description": "Returns the specified machine image." + }, + "insert": { + "id": "compute.machineImages.insert", + "path": "projects/{project}/global/machineImages", + "flatPath": "projects/{project}/global/machineImages", + "httpMethod": "POST", "parameters": { - "zone": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "location": "path", - "required": true, - "type": "string", - "description": "The name of the zone for this request." - }, - "pageToken": { - "type": "string", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "location": "query" - }, - "instance": { - "description": "Name of the target instance scoping this request, or '-' if the request should span over all instances in the container.", - "required": true, - "location": "path", - "type": "string", - "pattern": "-|[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" - }, "project": { "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", - "required": true - }, - "returnPartialSuccess": { - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "location": "query" - }, - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "location": "query", + "required": true, "type": "string" }, - "maxResults": { - "format": "uint32", + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "default": "500", - "minimum": "0", - "type": "integer" + "type": "string" }, - "orderBy": { + "sourceInstance": { + "description": "Required. Source instance that is used to create the machine image from.", "location": "query", - "type": "string", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported." + "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "parameterOrder": [ + "project" ], - "path": "projects/{project}/zones/{zone}/instances/{instance}/referrers", - "httpMethod": "GET", - "response": { - "$ref": "InstanceListReferrers" - } - }, - "updateShieldedInstanceConfig": { - "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/updateShieldedInstanceConfig", - "id": "compute.instances.updateShieldedInstanceConfig", - "description": "Updates the Shielded Instance config for an instance. You can only use this method on a stopped instance. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.", + "request": { + "$ref": "MachineImage" + }, "response": { "$ref": "Operation" }, @@ -53542,1324 +64643,1312 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "path": "projects/{project}/zones/{zone}/instances/{instance}/updateShieldedInstanceConfig", - "httpMethod": "PATCH", + "description": "Creates a machine image in the specified project using the data that is included in the request. If you are creating a new machine image to update an existing instance, your new machine image should use the same network or, if applicable, the same subnetwork as the original instance." + }, + "delete": { + "id": "compute.machineImages.delete", + "path": "projects/{project}/global/machineImages/{machineImage}", + "flatPath": "projects/{project}/global/machineImages/{machineImage}", + "httpMethod": "DELETE", "parameters": { - "zone": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "The name of the zone for this request.", + "machineImage": { + "description": "The name of the machine image to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", "required": true, - "type": "string", - "location": "path" + "type": "string" }, - "instance": { - "description": "Name or id of the instance scoping this request.", - "type": "string", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" + "type": "string" }, "requestId": { "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" - }, - "project": { - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, - "description": "Project ID for this request.", - "location": "path" + "location": "query", + "type": "string" } }, "parameterOrder": [ "project", - "zone", - "instance" + "machineImage" ], - "request": { - "$ref": "ShieldedInstanceConfig" - } - }, - "sendDiagnosticInterrupt": { + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], + "description": "Deletes the specified machine image. Deleting a machine image is permanent and cannot be undone." + }, + "getIamPolicy": { + "id": "compute.machineImages.getIamPolicy", + "path": "projects/{project}/global/machineImages/{resource}/getIamPolicy", + "flatPath": "projects/{project}/global/machineImages/{resource}/getIamPolicy", + "httpMethod": "GET", "parameters": { - "zone": { + "optionsRequestedPolicyVersion": { + "description": "Requested IAM Policy version.", + "location": "query", + "type": "integer", + "format": "int32" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "The name of the zone for this request.", "type": "string" }, - "instance": { - "location": "path", - "type": "string", - "description": "Name of the instance scoping this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true - }, - "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", - "description": "Project ID for this request.", + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "required": true + "required": true, + "type": "string" } }, - "httpMethod": "POST", "parameterOrder": [ "project", - "zone", - "instance" + "resource" ], - "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/sendDiagnosticInterrupt", - "path": "projects/{project}/zones/{zone}/instances/{instance}/sendDiagnosticInterrupt", - "id": "compute.instances.sendDiagnosticInterrupt", - "description": "Sends diagnostic interrupt to the instance." - }, - "setDiskAutoDelete": { - "path": "projects/{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete", - "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete", - "description": "Sets the auto-delete flag for a disk attached to an instance.", "response": { - "$ref": "Operation" + "$ref": "Policy" }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists." + }, + "setIamPolicy": { + "id": "compute.machineImages.setIamPolicy", + "path": "projects/{project}/global/machineImages/{resource}/setIamPolicy", + "flatPath": "projects/{project}/global/machineImages/{resource}/setIamPolicy", "httpMethod": "POST", "parameters": { - "autoDelete": { - "location": "query", - "type": "boolean", - "required": true, - "description": "Whether to auto-delete the disk when the instance is deleted." - }, "project": { - "location": "path", "description": "Project ID for this request.", - "type": "string", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query", "type": "string" }, - "instance": { - "description": "The instance name for this request.", - "required": true, - "location": "path", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" - }, - "deviceName": { - "type": "string", - "location": "query", - "description": "The device name of the disk to modify. Make a get() request on the instance to view currently attached disks and device names.", - "pattern": "\\w[\\w.-]{0,254}", - "required": true - }, - "zone": { + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "required": true, - "description": "The name of the zone for this request." + "type": "string" } }, "parameterOrder": [ "project", - "zone", - "instance", - "autoDelete", - "deviceName" + "resource" ], + "request": { + "$ref": "GlobalSetPolicyRequest" + }, + "response": { + "$ref": "Policy" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "id": "compute.instances.setDiskAutoDelete" + "description": "Sets the access control policy on the specified resource. Replaces any existing policy." }, - "setMachineResources": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setMachineResources", - "response": { - "$ref": "Operation" - }, - "path": "projects/{project}/zones/{zone}/instances/{instance}/setMachineResources", - "description": "Changes the number and/or type of accelerator for a stopped instance to the values specified in the request.", - "parameterOrder": [ - "project", - "zone", - "instance" - ], + "testIamPermissions": { + "id": "compute.machineImages.testIamPermissions", + "path": "projects/{project}/global/machineImages/{resource}/testIamPermissions", + "flatPath": "projects/{project}/global/machineImages/{resource}/testIamPermissions", + "httpMethod": "POST", "parameters": { - "zone": { - "description": "The name of the zone for this request.", - "type": "string", - "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "location": "path" - }, "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "description": "Project ID for this request.", - "required": true, + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", + "required": true, "type": "string" }, - "instance": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "description": "Name of the instance scoping this request.", "required": true, "type": "string" - }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query", - "type": "string" } }, - "httpMethod": "POST", - "id": "compute.instances.setMachineResources", - "request": { - "$ref": "InstancesSetMachineResourcesRequest" - } - }, - "attachDisk": { "parameterOrder": [ "project", - "zone", - "instance" + "resource" ], + "request": { + "$ref": "TestPermissionsRequest" + }, + "response": { + "$ref": "TestPermissionsResponse" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/attachDisk", - "id": "compute.instances.attachDisk", - "path": "projects/{project}/zones/{zone}/instances/{instance}/attachDisk", - "request": { - "$ref": "AttachedDisk" - }, - "description": "Attaches an existing Disk resource to an instance. You must first create the disk before you can attach it. It is not possible to create and attach a disk at the same time. For more information, read Adding a persistent disk to your instance.", + "description": "Returns permissions that a caller has on the specified resource." + } + } + }, + "machineTypes": { + "methods": { + "list": { + "id": "compute.machineTypes.list", + "path": "projects/{project}/zones/{zone}/machineTypes", + "flatPath": "projects/{project}/zones/{zone}/machineTypes", + "httpMethod": "GET", "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, "project": { - "location": "path", "description": "Project ID for this request.", - "required": true, - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "zone": { - "type": "string", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "required": true, - "description": "The name of the zone for this request." + "type": "string" }, - "forceAttach": { - "type": "boolean", + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", "location": "query", - "description": "Whether to force attach the regional disk even if it's currently attached to another instance. If you try to force attach a zonal disk to an instance, you will receive an error." + "type": "boolean" }, - "instance": { - "description": "The instance name for this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", "required": true, "type": "string" - }, - "requestId": { - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" } }, - "httpMethod": "POST", + "parameterOrder": [ + "project", + "zone" + ], "response": { - "$ref": "Operation" - } + "$ref": "MachineTypeList" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Retrieves a list of machine types available to the specified project." }, - "getEffectiveFirewalls": { + "aggregatedList": { + "id": "compute.machineTypes.aggregatedList", + "path": "projects/{project}/aggregated/machineTypes", + "flatPath": "projects/{project}/aggregated/machineTypes", + "httpMethod": "GET", "parameters": { - "instance": { - "type": "string", - "required": true, - "description": "Name of the instance scoping this request.", - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "includeAllScopes": { + "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", + "location": "query", + "type": "boolean" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" }, "project": { - "type": "string", + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" }, - "networkInterface": { - "description": "The name of the network interface to get the effective firewalls.", - "required": true, - "type": "string", - "location": "query" + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" }, - "zone": { + "serviceProjectNumber": { + "description": "The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.", + "location": "query", "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true, - "location": "path", - "description": "The name of the zone for this request." + "format": "int64" } }, - "path": "projects/{project}/zones/{zone}/instances/{instance}/getEffectiveFirewalls", + "parameterOrder": [ + "project" + ], "response": { - "$ref": "InstancesGetEffectiveFirewallsResponse" + "$ref": "MachineTypeAggregatedList" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "parameterOrder": [ - "project", - "zone", - "instance", - "networkInterface" - ], - "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/getEffectiveFirewalls", - "httpMethod": "GET", - "id": "compute.instances.getEffectiveFirewalls", - "description": "Returns effective firewalls applied to an interface of the instance." + "description": "Retrieves an aggregated list of machine types." }, - "bulkInsert": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "httpMethod": "POST", - "path": "projects/{project}/zones/{zone}/instances/bulkInsert", - "description": "Creates multiple instances. Count specifies the number of instances to create. For more information, see About bulk creation of VMs.", + "get": { + "id": "compute.machineTypes.get", + "path": "projects/{project}/zones/{zone}/machineTypes/{machineType}", + "flatPath": "projects/{project}/zones/{zone}/machineTypes/{machineType}", + "httpMethod": "GET", "parameters": { - "zone": { - "type": "string", - "required": true, + "machineType": { + "description": "Name of the machine type to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "description": "The name of the zone for this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" - }, - "requestId": { - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" + "required": true, + "type": "string" }, "project": { - "required": true, + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "description": "Project ID for this request.", + "required": true, + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, "type": "string" } }, - "id": "compute.instances.bulkInsert", - "flatPath": "projects/{project}/zones/{zone}/instances/bulkInsert", "parameterOrder": [ "project", - "zone" + "zone", + "machineType" ], - "request": { - "$ref": "BulkInsertInstanceResource" - }, "response": { - "$ref": "Operation" - } - }, - "setMinCpuPlatform": { - "request": { - "$ref": "InstancesSetMinCpuPlatformRequest" + "$ref": "MachineType" }, - "description": "Changes the minimum CPU platform that this instance should use. This method can only be called on a stopped instance. For more information, read Specifying a Minimum CPU Platform.", - "path": "projects/{project}/zones/{zone}/instances/{instance}/setMinCpuPlatform", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Returns the specified machine type." + } + } + }, + "networkAttachments": { + "methods": { + "aggregatedList": { + "id": "compute.networkAttachments.aggregatedList", + "path": "projects/{project}/aggregated/networkAttachments", + "flatPath": "projects/{project}/aggregated/networkAttachments", + "httpMethod": "GET", "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "includeAllScopes": { + "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", + "location": "query", + "type": "boolean" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "description": "Project ID for this request.", - "type": "string", - "location": "path", - "required": true - }, - "instance": { - "description": "Name of the instance scoping this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" + "type": "string" }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", "location": "query", - "type": "string" + "type": "boolean" }, - "zone": { - "required": true, + "serviceProjectNumber": { + "description": "The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.", + "location": "query", "type": "string", - "description": "The name of the zone for this request.", - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "format": "int64" } }, - "response": { - "$ref": "Operation" - }, - "id": "compute.instances.setMinCpuPlatform", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], "parameterOrder": [ - "project", - "zone", - "instance" + "project" ], - "httpMethod": "POST", - "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setMinCpuPlatform" - }, - "aggregatedList": { - "path": "projects/{project}/aggregated/instances", + "response": { + "$ref": "NetworkAttachmentAggregatedList" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "flatPath": "projects/{project}/aggregated/instances", + "description": "Retrieves the list of all NetworkAttachment resources, regional and global, available to the specified project." + }, + "list": { + "id": "compute.networkAttachments.list", + "path": "projects/{project}/regions/{region}/networkAttachments", + "flatPath": "projects/{project}/regions/{region}/networkAttachments", + "httpMethod": "GET", "parameters": { - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", "location": "query", "type": "string" }, - "includeAllScopes": { - "location": "query", - "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", - "type": "boolean" - }, - "returnPartialSuccess": { + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "type": "boolean" - }, - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "type": "string", - "location": "query" + "type": "integer", + "format": "uint32" }, "orderBy": { "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "type": "string", - "location": "query" + "location": "query", + "type": "string" }, - "maxResults": { + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "location": "query", - "format": "uint32", - "minimum": "0", - "type": "integer", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "default": "500" + "type": "string" }, "project": { - "location": "path", + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region of this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", "required": true, - "description": "Project ID for this request.", "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } }, - "id": "compute.instances.aggregatedList", - "response": { - "$ref": "InstanceAggregatedList" - }, "parameterOrder": [ - "project" + "project", + "region" ], - "description": "Retrieves an aggregated list of all of the instances in your project across all regions and zones. The performance of this method degrades when a filter is specified on a project that has a very large number of instances.", - "httpMethod": "GET" - }, - "get": { - "flatPath": "projects/{project}/zones/{zone}/instances/{instance}", - "path": "projects/{project}/zones/{zone}/instances/{instance}", + "response": { + "$ref": "NetworkAttachmentList" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "id": "compute.instances.get", + "description": "Lists the NetworkAttachments for a project in the given scope." + }, + "get": { + "id": "compute.networkAttachments.get", + "path": "projects/{project}/regions/{region}/networkAttachments/{networkAttachment}", + "flatPath": "projects/{project}/regions/{region}/networkAttachments/{networkAttachment}", "httpMethod": "GET", - "description": "Returns the specified Instance resource. Gets a list of available instances by making a list() request.", "parameters": { + "networkAttachment": { + "description": "Name of the NetworkAttachment resource to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, "project": { "description": "Project ID for this request.", - "location": "path", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, "type": "string" }, - "zone": { + "region": { + "description": "Name of the region of this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", - "location": "path", - "description": "The name of the zone for this request.", - "required": true - }, - "instance": { - "description": "Name of the instance resource to return.", - "type": "string", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true + "required": true, + "type": "string" } }, - "response": { - "$ref": "Instance" - }, "parameterOrder": [ "project", - "zone", - "instance" - ] + "region", + "networkAttachment" + ], + "response": { + "$ref": "NetworkAttachment" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Returns the specified NetworkAttachment resource in the given scope." }, - "suspend": { - "description": "This method suspends a running instance, saving its state to persistent storage, and allows you to resume the instance at a later time. Suspended instances have no compute costs (cores or RAM), and incur only storage charges for the saved VM memory and localSSD data. Any charged resources the virtual machine was using, such as persistent disks and static IP addresses, will continue to be charged while the instance is suspended. For more information, see Suspending and resuming an instance.", + "insert": { + "id": "compute.networkAttachments.insert", + "path": "projects/{project}/regions/{region}/networkAttachments", + "flatPath": "projects/{project}/regions/{region}/networkAttachments", "httpMethod": "POST", - "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/suspend", - "path": "projects/{project}/zones/{zone}/instances/{instance}/suspend", - "id": "compute.instances.suspend", "parameters": { - "requestId": { - "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string" - }, - "instance": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", - "location": "path", - "description": "Name of the instance resource to suspend.", - "required": true - }, "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", "location": "path", "required": true, - "description": "Project ID for this request." + "type": "string" }, - "zone": { - "type": "string", - "required": true, - "description": "The name of the zone for this request.", + "region": { + "description": "Name of the region of this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "required": true, + "type": "string" }, - "discardLocalSsd": { - "type": "boolean", - "description": "If true, discard the contents of any attached localSSD partitions. Default value is false.", - "location": "query" + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). end_interface: MixerMutationRequestBuilder", + "location": "query", + "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "parameterOrder": [ + "project", + "region" ], + "request": { + "$ref": "NetworkAttachment" + }, "response": { "$ref": "Operation" }, - "parameterOrder": [ - "project", - "zone", - "instance" - ] + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Creates a NetworkAttachment in the specified project in the given scope using the parameters that are included in the request." }, - "simulateMaintenanceEvent": { + "delete": { + "id": "compute.networkAttachments.delete", + "path": "projects/{project}/regions/{region}/networkAttachments/{networkAttachment}", + "flatPath": "projects/{project}/regions/{region}/networkAttachments/{networkAttachment}", + "httpMethod": "DELETE", "parameters": { - "zone": { + "networkAttachment": { + "description": "Name of the NetworkAttachment resource to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", - "description": "The name of the zone for this request.", - "location": "path" + "type": "string" }, "project": { - "required": true, - "location": "path", "description": "Project ID for this request.", - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" }, - "instance": { - "description": "Name of the instance scoping this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", + "region": { + "description": "Name of the region of this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "required": true + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). end_interface: MixerMutationRequestBuilder", + "location": "query", + "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "id": "compute.instances.simulateMaintenanceEvent", - "parameterOrder": [ - "project", - "zone", - "instance" - ], - "response": { - "$ref": "Operation" - }, - "path": "projects/{project}/zones/{zone}/instances/{instance}/simulateMaintenanceEvent", - "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/simulateMaintenanceEvent", - "description": "Simulates a host maintenance event on a VM. For more information, see Simulate a host maintenance event.", - "httpMethod": "POST" - }, - "updateAccessConfig": { "parameterOrder": [ "project", - "zone", - "instance", - "networkInterface" + "region", + "networkAttachment" ], - "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/updateAccessConfig", - "httpMethod": "POST", - "path": "projects/{project}/zones/{zone}/instances/{instance}/updateAccessConfig", "response": { "$ref": "Operation" }, - "description": "Updates the specified access config from an instance's network interface with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.", - "request": { - "$ref": "AccessConfig" - }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], + "description": "Deletes the specified NetworkAttachment in the given scope" + }, + "patch": { + "id": "compute.networkAttachments.patch", + "path": "projects/{project}/regions/{region}/networkAttachments/{networkAttachment}", + "flatPath": "projects/{project}/regions/{region}/networkAttachments/{networkAttachment}", + "httpMethod": "PATCH", "parameters": { - "instance": { - "required": true, - "description": "The instance name for this request.", + "networkAttachment": { + "description": "Name of the NetworkAttachment resource to patch.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", - "location": "path" - }, - "requestId": { - "type": "string", - "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "location": "path", + "required": true, + "type": "string" }, "project": { - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "required": true + "required": true, + "type": "string" }, - "zone": { - "type": "string", + "region": { + "description": "Name of the region for this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "The name of the zone for this request.", + "location": "path", "required": true, - "location": "path" + "type": "string" }, - "networkInterface": { - "required": true, - "type": "string", + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). end_interface: MixerMutationRequestBuilder", "location": "query", - "description": "The name of the network interface where the access config is attached." + "type": "string" } }, - "id": "compute.instances.updateAccessConfig" - }, - "setMetadata": { - "request": { - "$ref": "Metadata" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "id": "compute.instances.setMetadata", - "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setMetadata", "parameterOrder": [ "project", - "zone", - "instance" + "region", + "networkAttachment" ], - "description": "Sets metadata for the specified instance to the data included in the request.", - "path": "projects/{project}/zones/{zone}/instances/{instance}/setMetadata", + "request": { + "$ref": "NetworkAttachment" + }, "response": { "$ref": "Operation" }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Patches the specified NetworkAttachment resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules." + }, + "getIamPolicy": { + "id": "compute.networkAttachments.getIamPolicy", + "path": "projects/{project}/regions/{region}/networkAttachments/{resource}/getIamPolicy", + "flatPath": "projects/{project}/regions/{region}/networkAttachments/{resource}/getIamPolicy", + "httpMethod": "GET", "parameters": { - "zone": { - "description": "The name of the zone for this request.", - "location": "path", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true + "optionsRequestedPolicyVersion": { + "description": "Requested IAM Policy version.", + "location": "query", + "type": "integer", + "format": "int32" }, "project": { - "type": "string", "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "location": "path" + "type": "string" }, - "instance": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "region": { + "description": "The name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", "required": true, - "type": "string", - "description": "Name of the instance scoping this request.", - "location": "path" + "type": "string" }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" } }, - "httpMethod": "POST" - }, - "list": { - "description": "Retrieves the list of instances contained within the specified zone.", - "path": "projects/{project}/zones/{zone}/instances", + "parameterOrder": [ + "project", + "region", + "resource" + ], "response": { - "$ref": "InstanceList" + "$ref": "Policy" }, - "httpMethod": "GET", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "flatPath": "projects/{project}/zones/{zone}/instances", + "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists." + }, + "setIamPolicy": { + "id": "compute.networkAttachments.setIamPolicy", + "path": "projects/{project}/regions/{region}/networkAttachments/{resource}/setIamPolicy", + "flatPath": "projects/{project}/regions/{region}/networkAttachments/{resource}/setIamPolicy", + "httpMethod": "POST", "parameters": { "project": { "description": "Project ID for this request.", - "type": "string", - "location": "path", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true - }, - "maxResults": { - "minimum": "0", - "location": "query", - "format": "uint32", - "type": "integer", - "default": "500", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)" + "location": "path", + "required": true, + "type": "string" }, - "zone": { + "region": { + "description": "The name of the region for this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", - "description": "The name of the zone for this request.", "location": "path", - "required": true - }, - "orderBy": { - "location": "query", - "type": "string", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported." - }, - "pageToken": { - "location": "query", - "type": "string", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results." - }, - "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "type": "boolean", - "location": "query" + "required": true, + "type": "string" }, - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "type": "string", - "location": "query" + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" } }, - "id": "compute.instances.list", "parameterOrder": [ "project", - "zone" - ] - }, - "stop": { - "description": "Stops a running instance, shutting it down cleanly, and allows you to restart the instance at a later time. Stopped instances do not incur VM usage charges while they are stopped. However, resources that the VM is using, such as persistent disks and static IP addresses, will continue to be charged until they are deleted. For more information, see Stopping an instance.", - "id": "compute.instances.stop", + "region", + "resource" + ], + "request": { + "$ref": "RegionSetPolicyRequest" + }, + "response": { + "$ref": "Policy" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "path": "projects/{project}/zones/{zone}/instances/{instance}/stop", + "description": "Sets the access control policy on the specified resource. Replaces any existing policy." + }, + "testIamPermissions": { + "id": "compute.networkAttachments.testIamPermissions", + "path": "projects/{project}/regions/{region}/networkAttachments/{resource}/testIamPermissions", + "flatPath": "projects/{project}/regions/{region}/networkAttachments/{resource}/testIamPermissions", + "httpMethod": "POST", "parameters": { - "instance": { - "type": "string", - "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "location": "path", - "description": "Name of the instance resource to stop." - }, "project": { - "type": "string", + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "description": "Project ID for this request." + "type": "string" }, - "zone": { - "type": "string", - "required": true, - "description": "The name of the zone for this request.", + "region": { + "description": "The name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" - }, - "discardLocalSsd": { - "type": "boolean", - "location": "query", - "description": "If true, discard the contents of any attached localSSD partitions. Default value is false." + "required": true, + "type": "string" }, - "requestId": { - "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" } }, - "response": { - "$ref": "Operation" - }, - "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/stop", "parameterOrder": [ "project", - "zone", - "instance" + "region", + "resource" ], - "httpMethod": "POST" - }, - "getIamPolicy": { + "request": { + "$ref": "TestPermissionsRequest" + }, + "response": { + "$ref": "TestPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Returns permissions that a caller has on the specified resource." + } + } + }, + "networkEdgeSecurityServices": { + "methods": { + "get": { + "id": "compute.networkEdgeSecurityServices.get", + "path": "projects/{project}/regions/{region}/networkEdgeSecurityServices/{networkEdgeSecurityService}", + "flatPath": "projects/{project}/regions/{region}/networkEdgeSecurityServices/{networkEdgeSecurityService}", "httpMethod": "GET", - "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.", "parameters": { - "resource": { - "description": "Name or id of the resource for this request.", - "location": "path", + "networkEdgeSecurityService": { + "description": "Name of the network edge security service to get.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", "required": true, "type": "string" }, - "zone": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "The name of the zone for this request.", - "type": "string", - "location": "path", - "required": true - }, "project": { - "type": "string", + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "description": "Project ID for this request.", - "required": true + "required": true, + "type": "string" }, - "optionsRequestedPolicyVersion": { - "type": "integer", - "location": "query", - "description": "Requested IAM Policy version.", - "format": "int32" + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" } }, "parameterOrder": [ "project", - "zone", - "resource" + "region", + "networkEdgeSecurityService" ], - "id": "compute.instances.getIamPolicy", + "response": { + "$ref": "NetworkEdgeSecurityService" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "response": { - "$ref": "Policy" - }, - "path": "projects/{project}/zones/{zone}/instances/{resource}/getIamPolicy", - "flatPath": "projects/{project}/zones/{zone}/instances/{resource}/getIamPolicy" + "description": "Gets a specified NetworkEdgeSecurityService." }, - "resume": { - "id": "compute.instances.resume", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], + "insert": { + "id": "compute.networkEdgeSecurityServices.insert", + "path": "projects/{project}/regions/{region}/networkEdgeSecurityServices", + "flatPath": "projects/{project}/regions/{region}/networkEdgeSecurityServices", + "httpMethod": "POST", "parameters": { - "requestId": { - "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, "type": "string" }, - "zone": { - "type": "string", - "location": "path", + "region": { + "description": "Name of the region scoping this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "The name of the zone for this request.", - "required": true - }, - "instance": { - "type": "string", "location": "path", "required": true, - "description": "Name of the instance resource to resume.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" + "type": "string" }, - "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", - "required": true, - "location": "path", - "description": "Project ID for this request." + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "validateOnly": { + "description": "If true, the request will not be committed.", + "location": "query", + "type": "boolean" } }, "parameterOrder": [ "project", - "zone", - "instance" + "region" ], - "description": "Resumes an instance that was suspended using the instances().suspend method.", - "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/resume", - "response": { - "$ref": "Operation" + "request": { + "$ref": "NetworkEdgeSecurityService" }, - "httpMethod": "POST", - "path": "projects/{project}/zones/{zone}/instances/{instance}/resume" - }, - "addAccessConfig": { - "description": "Adds an access config to an instance's network interface.", - "httpMethod": "POST", "response": { "$ref": "Operation" }, - "request": { - "$ref": "AccessConfig" - }, - "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/addAccessConfig", - "path": "projects/{project}/zones/{zone}/instances/{instance}/addAccessConfig", - "parameterOrder": [ - "project", - "zone", - "instance", - "networkInterface" - ], "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "id": "compute.instances.addAccessConfig", + "description": "Creates a new service in the specified project using the data included in the request." + }, + "delete": { + "id": "compute.networkEdgeSecurityServices.delete", + "path": "projects/{project}/regions/{region}/networkEdgeSecurityServices/{networkEdgeSecurityService}", + "flatPath": "projects/{project}/regions/{region}/networkEdgeSecurityServices/{networkEdgeSecurityService}", + "httpMethod": "DELETE", "parameters": { - "instance": { + "networkEdgeSecurityService": { + "description": "Name of the network edge security service to delete.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "The instance name for this request.", "location": "path", "required": true, "type": "string" }, - "zone": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true, - "description": "The name of the zone for this request.", - "type": "string", - "location": "path" - }, "project": { - "type": "string", - "required": true, "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "required": true, + "type": "string" }, "requestId": { "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", "type": "string" - }, - "networkInterface": { - "required": true, - "location": "query", - "type": "string", - "description": "The name of the network interface to add to this instance." } - } - }, - "setMachineType": { - "id": "compute.instances.setMachineType", + }, + "parameterOrder": [ + "project", + "region", + "networkEdgeSecurityService" + ], + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], + "description": "Deletes the specified service." + }, + "patch": { + "id": "compute.networkEdgeSecurityServices.patch", + "path": "projects/{project}/regions/{region}/networkEdgeSecurityServices/{networkEdgeSecurityService}", + "flatPath": "projects/{project}/regions/{region}/networkEdgeSecurityServices/{networkEdgeSecurityService}", + "httpMethod": "PATCH", "parameters": { - "instance": { - "description": "Name of the instance scoping this request.", + "networkEdgeSecurityService": { + "description": "Name of the network edge security service to update.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "type": "string", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" + "type": "string" + }, + "paths": { + "location": "query", + "repeated": true, + "type": "string" }, "project": { - "location": "path", "description": "Project ID for this request.", - "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, "type": "string" }, - "zone": { - "required": true, - "description": "The name of the zone for this request.", + "region": { + "description": "Name of the region scoping this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", + "required": true, "type": "string" }, "requestId": { - "location": "query", "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", "type": "string" + }, + "updateMask": { + "description": "Indicates fields to be updated as part of this request.", + "location": "query", + "type": "string", + "format": "google-fieldmask" } }, - "path": "projects/{project}/zones/{zone}/instances/{instance}/setMachineType", "parameterOrder": [ "project", - "zone", - "instance" + "region", + "networkEdgeSecurityService" ], "request": { - "$ref": "InstancesSetMachineTypeRequest" + "$ref": "NetworkEdgeSecurityService" }, "response": { "$ref": "Operation" }, - "httpMethod": "POST", - "description": "Changes the machine type for a stopped instance to the machine type specified in the request.", - "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setMachineType" - }, - "setDeletionProtection": { "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "parameterOrder": [ - "project", - "zone", - "resource" - ], - "flatPath": "projects/{project}/zones/{zone}/instances/{resource}/setDeletionProtection", - "path": "projects/{project}/zones/{zone}/instances/{resource}/setDeletionProtection", - "description": "Sets deletion protection on the instance.", + "description": "Patches the specified policy with the data included in the request." + }, + "aggregatedList": { + "id": "compute.networkEdgeSecurityServices.aggregatedList", + "path": "projects/{project}/aggregated/networkEdgeSecurityServices", + "flatPath": "projects/{project}/aggregated/networkEdgeSecurityServices", + "httpMethod": "GET", "parameters": { - "project": { - "required": true, - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", - "description": "Project ID for this request." + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" }, - "deletionProtection": { - "default": "true", - "description": "Whether the resource should be protected against deletion.", + "includeAllScopes": { + "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", "location": "query", "type": "boolean" }, - "requestId": { - "type": "string", + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "type": "integer", + "format": "uint32" }, - "zone": { - "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", - "location": "path", - "description": "The name of the zone for this request." + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" }, - "resource": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, + "project": { + "description": "Name of the project scoping this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + }, + "serviceProjectNumber": { + "description": "The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.", + "location": "query", "type": "string", - "location": "path", - "description": "Name or id of the resource for this request." + "format": "int64" } }, + "parameterOrder": [ + "project" + ], "response": { - "$ref": "Operation" + "$ref": "NetworkEdgeSecurityServiceAggregatedList" }, - "httpMethod": "POST", - "id": "compute.instances.setDeletionProtection" - }, - "testIamPermissions": { "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "response": { - "$ref": "TestPermissionsResponse" - }, - "parameterOrder": [ - "project", - "zone", - "resource" - ], - "path": "projects/{project}/zones/{zone}/instances/{resource}/testIamPermissions", - "httpMethod": "POST", - "request": { - "$ref": "TestPermissionsRequest" - }, - "id": "compute.instances.testIamPermissions", - "description": "Returns permissions that a caller has on the specified resource.", - "flatPath": "projects/{project}/zones/{zone}/instances/{resource}/testIamPermissions", + "description": "Retrieves the list of all NetworkEdgeSecurityService resources available to the specified project." + } + } + }, + "networkEndpointGroups": { + "methods": { + "list": { + "id": "compute.networkEndpointGroups.list", + "path": "projects/{project}/zones/{zone}/networkEndpointGroups", + "flatPath": "projects/{project}/zones/{zone}/networkEndpointGroups", + "httpMethod": "GET", "parameters": { - "zone": { - "location": "path", - "type": "string", - "description": "The name of the zone for this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" }, - "resource": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "location": "path", - "type": "string", - "description": "Name or id of the resource for this request.", - "required": true + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" }, "project": { - "type": "string", "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "required": true - } - } - }, - "deleteAccessConfig": { - "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/deleteAccessConfig", - "parameters": { - "accessConfig": { "required": true, - "description": "The name of the access config to delete.", - "type": "string", - "location": "query" + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" }, "zone": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", + "description": "The name of the zone where the network endpoint group is located. It should comply with RFC1035.", "location": "path", "required": true, - "description": "The name of the zone for this request." + "type": "string" + } + }, + "parameterOrder": [ + "project", + "zone" + ], + "response": { + "$ref": "NetworkEndpointGroupList" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Retrieves the list of network endpoint groups that are located in the specified project and zone." + }, + "aggregatedList": { + "id": "compute.networkEndpointGroups.aggregatedList", + "path": "projects/{project}/aggregated/networkEndpointGroups", + "flatPath": "projects/{project}/aggregated/networkEndpointGroups", + "httpMethod": "GET", + "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" }, - "project": { - "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", - "type": "string", - "location": "path" + "includeAllScopes": { + "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", + "location": "query", + "type": "boolean" }, - "requestId": { + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "type": "string" }, - "instance": { - "description": "The instance name for this request.", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true, - "location": "path" + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" }, - "networkInterface": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "description": "The name of the network interface.", - "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + }, + "serviceProjectNumber": { + "description": "The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.", + "location": "query", + "type": "string", + "format": "int64" } }, - "httpMethod": "POST", - "path": "projects/{project}/zones/{zone}/instances/{instance}/deleteAccessConfig", - "description": "Deletes an access config from an instance's network interface.", "parameterOrder": [ - "project", - "zone", - "instance", - "accessConfig", - "networkInterface" + "project" ], "response": { - "$ref": "Operation" + "$ref": "NetworkEndpointGroupAggregatedList" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "id": "compute.instances.deleteAccessConfig" + "description": "Retrieves the list of network endpoint groups and sorts them by zone." }, - "setLabels": { + "get": { + "id": "compute.networkEndpointGroups.get", + "path": "projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}", + "flatPath": "projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}", + "httpMethod": "GET", "parameters": { - "zone": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true, - "type": "string", - "description": "The name of the zone for this request.", - "location": "path" - }, - "instance": { - "required": true, + "networkEndpointGroup": { + "description": "The name of the network endpoint group. It should comply with RFC1035.", "location": "path", - "type": "string", - "description": "Name of the instance scoping this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" + "required": true, + "type": "string" }, "project": { - "required": true, - "type": "string", "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "location": "path" + "location": "path", + "required": true, + "type": "string" }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" + "zone": { + "description": "The name of the zone where the network endpoint group is located. It should comply with RFC1035.", + "location": "path", + "required": true, + "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "response": { - "$ref": "Operation" - }, - "description": "Sets labels on an instance. To learn more about labels, read the Labeling Resources documentation.", - "httpMethod": "POST", - "request": { - "$ref": "InstancesSetLabelsRequest" - }, "parameterOrder": [ "project", "zone", - "instance" + "networkEndpointGroup" ], - "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setLabels", - "id": "compute.instances.setLabels", - "path": "projects/{project}/zones/{zone}/instances/{instance}/setLabels" - }, - "getGuestAttributes": { "response": { - "$ref": "GuestAttributes" + "$ref": "NetworkEndpointGroup" }, - "id": "compute.instances.getGuestAttributes", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "httpMethod": "GET", - "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/getGuestAttributes", - "description": "Returns the specified guest attributes entry.", - "path": "projects/{project}/zones/{zone}/instances/{instance}/getGuestAttributes", + "description": "Returns the specified network endpoint group." + }, + "insert": { + "id": "compute.networkEndpointGroups.insert", + "path": "projects/{project}/zones/{zone}/networkEndpointGroups", + "flatPath": "projects/{project}/zones/{zone}/networkEndpointGroups", + "httpMethod": "POST", "parameters": { "project": { - "location": "path", "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "queryPath": { - "location": "query", - "description": "Specifies the guest attributes path to be queried.", "type": "string" }, - "instance": { - "location": "path", - "description": "Name of the instance scoping this request.", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true - }, - "variableKey": { + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "type": "string", - "description": "Specifies the key for the guest attributes entry." + "type": "string" }, "zone": { + "description": "The name of the zone where you want to create the network endpoint group. It should comply with RFC1035.", "location": "path", "required": true, - "description": "The name of the zone for this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "type": "string" } }, "parameterOrder": [ "project", - "zone", - "instance" - ] - }, - "updateNetworkInterface": { + "zone" + ], "request": { - "$ref": "NetworkInterface" + "$ref": "NetworkEndpointGroup" }, - "parameterOrder": [ - "project", - "zone", - "instance", - "networkInterface" + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" ], - "id": "compute.instances.updateNetworkInterface", + "description": "Creates a network endpoint group in the specified project using the parameters that are included in the request." + }, + "delete": { + "id": "compute.networkEndpointGroups.delete", + "path": "projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}", + "flatPath": "projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}", + "httpMethod": "DELETE", "parameters": { - "project": { + "networkEndpointGroup": { + "description": "The name of the network endpoint group to delete. It should comply with RFC1035.", "location": "path", - "description": "Project ID for this request.", "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, "type": "string" }, "requestId": { "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" - }, - "instance": { - "location": "path", - "type": "string", - "required": true, - "description": "The instance name for this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" + "location": "query", + "type": "string" }, "zone": { - "description": "The name of the zone for this request.", + "description": "The name of the zone where the network endpoint group is located. It should comply with RFC1035.", "location": "path", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true - }, - "networkInterface": { - "description": "The name of the network interface to update.", - "location": "query", "required": true, "type": "string" } }, - "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/updateNetworkInterface", + "parameterOrder": [ + "project", + "zone", + "networkEndpointGroup" + ], "response": { "$ref": "Operation" }, @@ -54867,575 +65956,460 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "path": "projects/{project}/zones/{zone}/instances/{instance}/updateNetworkInterface", - "httpMethod": "PATCH", - "description": "Updates an instance's network interface. This method can only update an interface's alias IP range and attached network. See Modifying alias IP ranges for an existing instance for instructions on changing alias IP ranges. See Migrating a VM between networks for instructions on migrating an interface. This method follows PATCH semantics." + "description": "Deletes the specified network endpoint group. The network endpoints in the NEG and the VM instances they belong to are not terminated when the NEG is deleted. Note that the NEG cannot be deleted if there are backend services referencing it." }, - "reset": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], + "attachNetworkEndpoints": { + "id": "compute.networkEndpointGroups.attachNetworkEndpoints", + "path": "projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints", + "flatPath": "projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints", + "httpMethod": "POST", "parameters": { - "requestId": { - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" - }, - "project": { + "networkEndpointGroup": { + "description": "The name of the network endpoint group where you are attaching network endpoints to. It should comply with RFC1035.", "location": "path", - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "required": true, - "description": "Project ID for this request." + "type": "string" }, - "instance": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name of the instance scoping this request.", + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", "type": "string" }, "zone": { + "description": "The name of the zone where the network endpoint group is located. It should comply with RFC1035.", "location": "path", "required": true, - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "The name of the zone for this request." + "type": "string" } }, - "description": "Performs a reset on the instance. This is a hard reset. The VM does not do a graceful shutdown. For more information, see Resetting an instance.", - "httpMethod": "POST", - "id": "compute.instances.reset", - "response": { - "$ref": "Operation" - }, "parameterOrder": [ "project", "zone", - "instance" + "networkEndpointGroup" ], - "path": "projects/{project}/zones/{zone}/instances/{instance}/reset", - "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/reset" - }, - "update": { - "description": "Updates an instance only if the necessary resources are available. This method can update only a specific set of instance properties. See Updating a running instance for a list of updatable instance properties.", - "path": "projects/{project}/zones/{zone}/instances/{instance}", "request": { - "$ref": "Instance" + "$ref": "NetworkEndpointGroupsAttachEndpointsRequest" + }, + "response": { + "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "response": { - "$ref": "Operation" - }, - "id": "compute.instances.update", + "description": "Attach a list of network endpoints to the specified network endpoint group." + }, + "detachNetworkEndpoints": { + "id": "compute.networkEndpointGroups.detachNetworkEndpoints", + "path": "projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints", + "flatPath": "projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints", + "httpMethod": "POST", "parameters": { - "mostDisruptiveAllowedAction": { - "enum": [ - "INVALID", - "NO_EFFECT", - "REFRESH", - "RESTART" - ], - "type": "string", - "location": "query", - "description": "Specifies the most disruptive action that can be taken on the instance as part of the update. Compute Engine returns an error if the instance properties require a more disruptive action as part of the instance update. Valid options from lowest to highest are NO_EFFECT, REFRESH, and RESTART.", - "enumDescriptions": [ - "", - "No changes can be made to the instance.", - "The instance will not restart.", - "The instance will restart." - ] - }, - "zone": { - "description": "The name of the zone for this request.", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true, - "location": "path" - }, - "instance": { - "type": "string", - "description": "Name of the instance resource to update.", + "networkEndpointGroup": { + "description": "The name of the network endpoint group where you are removing network endpoints. It should comply with RFC1035.", + "location": "path", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "location": "path" + "type": "string" }, "project": { "description": "Project ID for this request.", - "type": "string", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "location": "path" - }, - "minimalAction": { - "description": "Specifies the action to take when updating an instance even if the updated properties do not require it. If not specified, then Compute Engine acts based on the minimum action that the updated properties require.", - "type": "string", - "enum": [ - "INVALID", - "NO_EFFECT", - "REFRESH", - "RESTART" - ], - "enumDescriptions": [ - "", - "No changes can be made to the instance.", - "The instance will not restart.", - "The instance will restart." - ], - "location": "query" + "type": "string" }, "requestId": { "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", "type": "string" + }, + "zone": { + "description": "The name of the zone where the network endpoint group is located. It should comply with RFC1035.", + "location": "path", + "required": true, + "type": "string" } }, - "flatPath": "projects/{project}/zones/{zone}/instances/{instance}", - "httpMethod": "PUT", "parameterOrder": [ "project", "zone", - "instance" - ] - }, - "setShieldedInstanceIntegrityPolicy": { - "path": "projects/{project}/zones/{zone}/instances/{instance}/setShieldedInstanceIntegrityPolicy", + "networkEndpointGroup" + ], + "request": { + "$ref": "NetworkEndpointGroupsDetachEndpointsRequest" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setShieldedInstanceIntegrityPolicy", - "id": "compute.instances.setShieldedInstanceIntegrityPolicy", + "description": "Detach a list of network endpoints from the specified network endpoint group." + }, + "listNetworkEndpoints": { + "id": "compute.networkEndpointGroups.listNetworkEndpoints", + "path": "projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints", + "flatPath": "projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints", + "httpMethod": "POST", "parameters": { - "zone": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true, - "type": "string", - "description": "The name of the zone for this request.", - "location": "path" + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" }, - "instance": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true, - "type": "string", + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "networkEndpointGroup": { + "description": "The name of the network endpoint group from which you want to generate a list of included network endpoints. It should comply with RFC1035.", "location": "path", - "description": "Name or id of the instance scoping this request." + "required": true, + "type": "string" }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" }, "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + }, + "zone": { + "description": "The name of the zone where the network endpoint group is located. It should comply with RFC1035.", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", - "description": "Project ID for this request." + "required": true, + "type": "string" } }, - "request": { - "$ref": "ShieldedInstanceIntegrityPolicy" - }, - "response": { - "$ref": "Operation" - }, - "httpMethod": "PATCH", "parameterOrder": [ "project", "zone", - "instance" + "networkEndpointGroup" ], - "description": "Sets the Shielded Instance integrity policy for an instance. You can only use this method on a running instance. This method supports PATCH semantics and uses the JSON merge patch format and processing rules." - }, - "getShieldedInstanceIdentity": { + "request": { + "$ref": "NetworkEndpointGroupsListEndpointsRequest" + }, + "response": { + "$ref": "NetworkEndpointGroupsListNetworkEndpoints" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "parameterOrder": [ - "project", - "zone", - "instance" - ], - "path": "projects/{project}/zones/{zone}/instances/{instance}/getShieldedInstanceIdentity", - "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/getShieldedInstanceIdentity", - "description": "Returns the Shielded Instance Identity of an instance", - "response": { - "$ref": "ShieldedInstanceIdentity" - }, - "id": "compute.instances.getShieldedInstanceIdentity", - "httpMethod": "GET", + "description": "Lists the network endpoints in the specified network endpoint group." + }, + "testIamPermissions": { + "id": "compute.networkEndpointGroups.testIamPermissions", + "path": "projects/{project}/zones/{zone}/networkEndpointGroups/{resource}/testIamPermissions", + "flatPath": "projects/{project}/zones/{zone}/networkEndpointGroups/{resource}/testIamPermissions", + "httpMethod": "POST", "parameters": { - "zone": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "description": "The name of the zone for this request.", "type": "string" }, - "instance": { - "location": "path", + "resource": { + "description": "Name or id of the resource for this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", + "location": "path", "required": true, - "description": "Name or id of the instance scoping this request." + "type": "string" }, - "project": { - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "required": true + "required": true, + "type": "string" } - } - }, - "getScreenshot": { + }, "parameterOrder": [ "project", "zone", - "instance" + "resource" + ], + "request": { + "$ref": "TestPermissionsRequest" + }, + "response": { + "$ref": "TestPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], + "description": "Returns permissions that a caller has on the specified resource." + } + } + }, + "globalNetworkEndpointGroups": { + "methods": { + "list": { + "id": "compute.globalNetworkEndpointGroups.list", + "path": "projects/{project}/global/networkEndpointGroups", + "flatPath": "projects/{project}/global/networkEndpointGroups", + "httpMethod": "GET", "parameters": { - "zone": { - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true, - "location": "path", - "description": "The name of the zone for this request." + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" }, - "instance": { - "required": true, - "location": "path", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name of the instance scoping this request." + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" }, "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "type": "string", - "description": "Project ID for this request." + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } }, - "id": "compute.instances.getScreenshot", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "path": "projects/{project}/zones/{zone}/instances/{instance}/screenshot", - "response": { - "$ref": "Screenshot" - }, - "description": "Returns the screenshot from the specified instance.", - "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/screenshot", - "httpMethod": "GET" - }, - "updateDisplayDevice": { - "id": "compute.instances.updateDisplayDevice", - "httpMethod": "PATCH", "parameterOrder": [ - "project", - "zone", - "instance" + "project" ], - "path": "projects/{project}/zones/{zone}/instances/{instance}/updateDisplayDevice", "response": { - "$ref": "Operation" - }, - "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/updateDisplayDevice", - "request": { - "$ref": "DisplayDevice" + "$ref": "NetworkEndpointGroupList" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "description": "Updates the Display config for a VM instance. You can only use this method on a stopped VM instance. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.", + "description": "Retrieves the list of network endpoint groups that are located in the specified project." + }, + "get": { + "id": "compute.globalNetworkEndpointGroups.get", + "path": "projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}", + "flatPath": "projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}", + "httpMethod": "GET", "parameters": { - "requestId": { - "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string" - }, - "instance": { - "description": "Name of the instance scoping this request.", - "required": true, - "location": "path", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" - }, - "zone": { + "networkEndpointGroup": { + "description": "The name of the network endpoint group. It should comply with RFC1035.", "location": "path", - "description": "The name of the zone for this request.", "required": true, - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "type": "string" }, "project": { - "location": "path", "description": "Project ID for this request.", - "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, "type": "string" } - } - }, - "delete": { - "flatPath": "projects/{project}/zones/{zone}/instances/{instance}", - "description": "Deletes the specified Instance resource. For more information, see Deleting an instance.", - "httpMethod": "DELETE", + }, "parameterOrder": [ "project", - "zone", - "instance" + "networkEndpointGroup" ], + "response": { + "$ref": "NetworkEndpointGroup" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "path": "projects/{project}/zones/{zone}/instances/{instance}", - "response": { - "$ref": "Operation" - }, + "description": "Returns the specified network endpoint group." + }, + "insert": { + "id": "compute.globalNetworkEndpointGroups.insert", + "path": "projects/{project}/global/networkEndpointGroups", + "flatPath": "projects/{project}/global/networkEndpointGroups", + "httpMethod": "POST", "parameters": { "project": { - "required": true, - "location": "path", - "type": "string", + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request." - }, - "instance": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", "required": true, - "description": "Name of the instance resource to delete.", - "type": "string", - "location": "path" + "type": "string" }, "requestId": { "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", "type": "string" - }, - "zone": { - "type": "string", - "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "location": "path", - "description": "The name of the zone for this request." } }, - "id": "compute.instances.delete" - }, - "start": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "httpMethod": "POST", - "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/start", - "path": "projects/{project}/zones/{zone}/instances/{instance}/start", - "description": "Starts an instance that was stopped using the instances().stop method. For more information, see Restart an instance.", "parameterOrder": [ - "project", - "zone", - "instance" + "project" ], - "id": "compute.instances.start", + "request": { + "$ref": "NetworkEndpointGroup" + }, "response": { "$ref": "Operation" }, - "parameters": { - "project": { - "type": "string", - "required": true, - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request." - }, - "requestId": { - "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - }, - "zone": { - "type": "string", - "required": true, - "location": "path", - "description": "The name of the zone for this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" - }, - "instance": { - "description": "Name of the instance resource to start.", - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true, - "type": "string" - } - } + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Creates a network endpoint group in the specified project using the parameters that are included in the request." }, - "insert": { - "id": "compute.instances.insert", - "parameters": { - "requestId": { - "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string" - }, - "sourceInstanceTemplate": { - "type": "string", - "description": "Specifies instance template to create the instance. This field is optional. It can be a full or partial URL. For example, the following are all valid URLs to an instance template: - https://www.googleapis.com/compute/v1/projects/project /global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate ", - "location": "query" - }, - "sourceMachineImage": { - "type": "string", - "location": "query", - "description": "Specifies the machine image to use to create the instance. This field is optional. It can be a full or partial URL. For example, the following are all valid URLs to a machine image: - https://www.googleapis.com/compute/v1/projects/project/global/global /machineImages/machineImage - projects/project/global/global/machineImages/machineImage - global/machineImages/machineImage " - }, - "zone": { - "description": "The name of the zone for this request.", + "delete": { + "id": "compute.globalNetworkEndpointGroups.delete", + "path": "projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}", + "flatPath": "projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}", + "httpMethod": "DELETE", + "parameters": { + "networkEndpointGroup": { + "description": "The name of the network endpoint group to delete. It should comply with RFC1035.", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "required": true, "type": "string" }, "project": { "description": "Project ID for this request.", - "location": "path", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, - "flatPath": "projects/{project}/zones/{zone}/instances", + "parameterOrder": [ + "project", + "networkEndpointGroup" + ], "response": { "$ref": "Operation" }, - "request": { - "$ref": "Instance" - }, - "description": "Creates an instance resource in the specified project using the data included in the request.", - "path": "projects/{project}/zones/{zone}/instances", - "httpMethod": "POST", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "parameterOrder": [ - "project", - "zone" - ] + "description": "Deletes the specified network endpoint group.Note that the NEG cannot be deleted if there are backend services referencing it." }, - "setIamPolicy": { - "path": "projects/{project}/zones/{zone}/instances/{resource}/setIamPolicy", - "response": { - "$ref": "Policy" - }, - "request": { - "$ref": "ZoneSetPolicyRequest" - }, + "attachNetworkEndpoints": { + "id": "compute.globalNetworkEndpointGroups.attachNetworkEndpoints", + "path": "projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints", + "flatPath": "projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints", + "httpMethod": "POST", "parameters": { - "resource": { - "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "networkEndpointGroup": { + "description": "The name of the network endpoint group where you are attaching network endpoints to. It should comply with RFC1035.", "location": "path", - "description": "Name or id of the resource for this request.", + "required": true, "type": "string" }, - "zone": { - "type": "string", - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "The name of the zone for this request.", - "required": true - }, "project": { - "type": "string", - "required": true, - "location": "path", "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, - "id": "compute.instances.setIamPolicy", - "description": "Sets the access control policy on the specified resource. Replaces any existing policy.", - "httpMethod": "POST", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "flatPath": "projects/{project}/zones/{zone}/instances/{resource}/setIamPolicy", - "parameterOrder": [ - "project", - "zone", - "resource" - ] - }, - "setServiceAccount": { - "httpMethod": "POST", - "description": "Sets the service account on the instance. For more information, read Changing the service account and access scopes for an instance.", "parameterOrder": [ "project", - "zone", - "instance" + "networkEndpointGroup" ], "request": { - "$ref": "InstancesSetServiceAccountRequest" + "$ref": "GlobalNetworkEndpointGroupsAttachEndpointsRequest" + }, + "response": { + "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setServiceAccount", - "path": "projects/{project}/zones/{zone}/instances/{instance}/setServiceAccount", - "response": { - "$ref": "Operation" - }, + "description": "Attach a network endpoint to the specified network endpoint group." + }, + "detachNetworkEndpoints": { + "id": "compute.globalNetworkEndpointGroups.detachNetworkEndpoints", + "path": "projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints", + "flatPath": "projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints", + "httpMethod": "POST", "parameters": { - "requestId": { - "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "networkEndpointGroup": { + "description": "The name of the network endpoint group where you are removing network endpoints. It should comply with RFC1035.", + "location": "path", + "required": true, "type": "string" }, "project": { - "required": true, - "type": "string", "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "location": "path" - }, - "instance": { "location": "path", "required": true, - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name of the instance resource to start." + "type": "string" }, - "zone": { - "description": "The name of the zone for this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", - "required": true, - "location": "path" + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, - "id": "compute.instances.setServiceAccount" - }, - "addResourcePolicies": { "parameterOrder": [ "project", - "zone", - "instance" + "networkEndpointGroup" ], - "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/addResourcePolicies", + "request": { + "$ref": "GlobalNetworkEndpointGroupsDetachEndpointsRequest" + }, "response": { "$ref": "Operation" }, @@ -55443,344 +66417,350 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], + "description": "Detach the network endpoint from the specified network endpoint group." + }, + "listNetworkEndpoints": { + "id": "compute.globalNetworkEndpointGroups.listNetworkEndpoints", + "path": "projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints", + "flatPath": "projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints", "httpMethod": "POST", - "request": { - "$ref": "InstancesAddResourcePoliciesRequest" - }, "parameters": { - "project": { - "type": "string", - "required": true, - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "location": "path" + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" }, - "instance": { - "description": "The instance name for this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "networkEndpointGroup": { + "description": "The name of the network endpoint group from which you want to generate a list of included network endpoints. It should comply with RFC1035.", "location": "path", + "required": true, "type": "string" }, - "zone": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", - "description": "The name of the zone for this request.", - "location": "path", - "required": true + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" }, - "requestId": { + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } }, - "path": "projects/{project}/zones/{zone}/instances/{instance}/addResourcePolicies", - "description": "Adds existing resource policies to an instance. You can only add one policy right now which will be applied to this instance for scheduling live migrations.", - "id": "compute.instances.addResourcePolicies" - }, - "setScheduling": { - "path": "projects/{project}/zones/{zone}/instances/{instance}/setScheduling", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "httpMethod": "POST", - "request": { - "$ref": "Scheduling" - }, "parameterOrder": [ "project", - "zone", - "instance" + "networkEndpointGroup" ], - "id": "compute.instances.setScheduling", - "description": "Sets an instance's scheduling options. You can only call this method on a stopped instance, that is, a VM instance that is in a `TERMINATED` state. See Instance Life Cycle for more information on the possible instance states. For more information about setting scheduling options for a VM, see Set VM host maintenance policy.", "response": { - "$ref": "Operation" + "$ref": "NetworkEndpointGroupsListNetworkEndpoints" }, - "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/setScheduling", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Lists the network endpoints in the specified network endpoint group." + } + } + }, + "regionNetworkEndpointGroups": { + "methods": { + "list": { + "id": "compute.regionNetworkEndpointGroups.list", + "path": "projects/{project}/regions/{region}/networkEndpointGroups", + "flatPath": "projects/{project}/regions/{region}/networkEndpointGroups", + "httpMethod": "GET", "parameters": { - "zone": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true, - "description": "The name of the zone for this request.", - "type": "string", - "location": "path" + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" }, "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", "type": "string" }, - "instance": { + "region": { + "description": "The name of the region where the network endpoint group is located. It should comply with RFC1035.", + "location": "path", "required": true, - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Instance name for this request.", - "location": "path" + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } - } - }, - "detachDisk": { - "httpMethod": "POST", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "id": "compute.instances.detachDisk", - "response": { - "$ref": "Operation" }, "parameterOrder": [ "project", - "zone", - "instance", - "deviceName" + "region" ], - "path": "projects/{project}/zones/{zone}/instances/{instance}/detachDisk", - "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/detachDisk", + "response": { + "$ref": "NetworkEndpointGroupList" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Retrieves the list of regional network endpoint groups available to the specified project in the given region." + }, + "get": { + "id": "compute.regionNetworkEndpointGroups.get", + "path": "projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}", + "flatPath": "projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}", + "httpMethod": "GET", "parameters": { - "deviceName": { - "type": "string", - "location": "query", - "description": "The device name of the disk to detach. Make a get() request on the instance to view currently attached disks and device names.", - "required": true - }, - "instance": { - "type": "string", + "networkEndpointGroup": { + "description": "The name of the network endpoint group. It should comply with RFC1035.", + "location": "path", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Instance name for this request.", - "location": "path" + "type": "string" }, "project": { "description": "Project ID for this request.", - "type": "string", - "location": "path", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true - }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query", + "location": "path", + "required": true, "type": "string" }, - "zone": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "region": { + "description": "The name of the region where the network endpoint group is located. It should comply with RFC1035.", "location": "path", "required": true, - "description": "The name of the zone for this request.", "type": "string" } }, - "description": "Detaches a disk from an instance." - }, - "removeResourcePolicies": { - "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/removeResourcePolicies", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], "parameterOrder": [ "project", - "zone", - "instance" + "region", + "networkEndpointGroup" ], - "description": "Removes resource policies from an instance.", - "id": "compute.instances.removeResourcePolicies", "response": { - "$ref": "Operation" - }, - "request": { - "$ref": "InstancesRemoveResourcePoliciesRequest" + "$ref": "NetworkEndpointGroup" }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Returns the specified network endpoint group." + }, + "insert": { + "id": "compute.regionNetworkEndpointGroups.insert", + "path": "projects/{project}/regions/{region}/networkEndpointGroups", + "flatPath": "projects/{project}/regions/{region}/networkEndpointGroups", + "httpMethod": "POST", "parameters": { - "requestId": { - "type": "string", - "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - }, "project": { - "location": "path", "description": "Project ID for this request.", - "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, "type": "string" }, - "zone": { - "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "region": { + "description": "The name of the region where you want to create the network endpoint group. It should comply with RFC1035.", "location": "path", - "description": "The name of the zone for this request.", + "required": true, "type": "string" }, - "instance": { - "required": true, - "location": "path", - "description": "The instance name for this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", "type": "string" } }, - "httpMethod": "POST", - "path": "projects/{project}/zones/{zone}/instances/{instance}/removeResourcePolicies" - }, - "startWithEncryptionKey": { - "path": "projects/{project}/zones/{zone}/instances/{instance}/startWithEncryptionKey", - "response": { - "$ref": "Operation" - }, "parameterOrder": [ "project", - "zone", - "instance" + "region" ], "request": { - "$ref": "InstancesStartWithEncryptionKeyRequest" + "$ref": "NetworkEndpointGroup" + }, + "response": { + "$ref": "Operation" }, - "httpMethod": "POST", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "id": "compute.instances.startWithEncryptionKey", - "description": "Starts an instance that was stopped using the instances().stop method. For more information, see Restart an instance.", - "flatPath": "projects/{project}/zones/{zone}/instances/{instance}/startWithEncryptionKey", + "description": "Creates a network endpoint group in the specified project using the parameters that are included in the request." + }, + "delete": { + "id": "compute.regionNetworkEndpointGroups.delete", + "path": "projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}", + "flatPath": "projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}", + "httpMethod": "DELETE", "parameters": { - "instance": { - "required": true, - "type": "string", + "networkEndpointGroup": { + "description": "The name of the network endpoint group to delete. It should comply with RFC1035.", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name of the instance resource to start." + "required": true, + "type": "string" }, "project": { "description": "Project ID for this request.", - "required": true, + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "required": true, + "type": "string" }, - "zone": { + "region": { + "description": "The name of the region where the network endpoint group is located. It should comply with RFC1035.", "location": "path", - "type": "string", "required": true, - "description": "The name of the zone for this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "type": "string" }, "requestId": { - "type": "string", + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "type": "string" } - } - } - } - }, - "regionNetworkFirewallPolicies": { - "methods": { - "removeRule": { - "path": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/removeRule", - "id": "compute.regionNetworkFirewallPolicies.removeRule", - "flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/removeRule", + }, + "parameterOrder": [ + "project", + "region", + "networkEndpointGroup" + ], + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Deletes the specified network endpoint group. Note that the NEG cannot be deleted if it is configured as a backend of a backend service." + }, + "attachNetworkEndpoints": { + "id": "compute.regionNetworkEndpointGroups.attachNetworkEndpoints", + "path": "projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints", + "flatPath": "projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints", + "httpMethod": "POST", "parameters": { - "project": { + "networkEndpointGroup": { + "description": "The name of the network endpoint group where you are attaching network endpoints to. It should comply with RFC1035.", + "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "type": "string" + }, + "project": { "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", + "required": true, "type": "string" }, "region": { + "description": "The name of the region where you want to create the network endpoint group. It should comply with RFC1035.", + "location": "path", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", - "description": "Name of the region scoping this request.", - "location": "path" - }, - "priority": { - "description": "The priority of the rule to remove from the firewall policy.", - "location": "query", - "format": "int32", - "type": "integer" - }, - "firewallPolicy": { - "required": true, - "description": "Name of the firewall policy to update.", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "location": "path" + "type": "string" }, "requestId": { "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" + "location": "query", + "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], "parameterOrder": [ "project", "region", - "firewallPolicy" + "networkEndpointGroup" ], + "request": { + "$ref": "RegionNetworkEndpointGroupsAttachEndpointsRequest" + }, "response": { "$ref": "Operation" }, - "httpMethod": "POST", - "description": "Deletes a rule of the specified priority." + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Attach a list of network endpoints to the specified network endpoint group." }, - "addRule": { + "detachNetworkEndpoints": { + "id": "compute.regionNetworkEndpointGroups.detachNetworkEndpoints", + "path": "projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints", + "flatPath": "projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints", + "httpMethod": "POST", "parameters": { - "requestId": { - "type": "string", - "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - }, - "project": { - "required": true, - "type": "string", - "description": "Project ID for this request.", + "networkEndpointGroup": { + "description": "The name of the network endpoint group you are detaching network endpoints from. It should comply with RFC1035.", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "region": { "required": true, - "description": "Name of the region scoping this request.", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "location": "path" - }, - "minPriority": { - "location": "query", - "type": "integer", - "format": "int32", - "description": "When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority\u003e. This field is exclusive with rule.priority." - }, - "maxPriority": { - "location": "query", - "format": "int32", - "description": "When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority\u003e. This field is exclusive with rule.priority.", - "type": "integer" + "type": "string" }, - "firewallPolicy": { - "description": "Name of the firewall policy to update.", - "type": "string", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, + "type": "string" + }, + "region": { + "description": "The name of the region where the network endpoint group is located. It should comply with RFC1035.", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). end_interface: MixerMutationRequestBuilder", + "location": "query", + "type": "string" } }, + "parameterOrder": [ + "project", + "region", + "networkEndpointGroup" + ], + "request": { + "$ref": "RegionNetworkEndpointGroupsDetachEndpointsRequest" + }, "response": { "$ref": "Operation" }, @@ -55788,2437 +66768,2263 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/addRule", - "request": { - "$ref": "FirewallPolicyRule" - }, - "description": "Inserts a rule into a network firewall policy.", - "id": "compute.regionNetworkFirewallPolicies.addRule", - "path": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/addRule", - "httpMethod": "POST", - "parameterOrder": [ - "project", - "region", - "firewallPolicy" - ] + "description": "Detach the network endpoint from the specified network endpoint group." }, - "list": { - "description": "Lists all the network firewall policies that have been configured for the specified project in the given region.", + "listNetworkEndpoints": { + "id": "compute.regionNetworkEndpointGroups.listNetworkEndpoints", + "path": "projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints", + "flatPath": "projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints", + "httpMethod": "POST", "parameters": { - "region": { - "location": "path", - "required": true, - "type": "string", - "description": "Name of the region scoping this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" - }, - "orderBy": { - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", "location": "query", "type": "string" }, "maxResults": { "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "type": "integer", - "format": "uint32", "default": "500", + "minimum": "0", "location": "query", - "minimum": "0" + "type": "integer", + "format": "uint32" }, - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "networkEndpointGroup": { + "description": "The name of the network endpoint group from which you want to generate a list of included network endpoints. It should comply with RFC1035.", + "location": "path", + "required": true, + "type": "string" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", "location": "query", "type": "string" }, - "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "location": "query", - "type": "boolean" + "type": "string" }, "project": { - "location": "path", "description": "Project ID for this request.", - "type": "string", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" }, - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "location": "query", + "region": { + "description": "The name of the region where the network endpoint group is located. It should comply with RFC1035.", + "location": "path", + "required": true, "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } }, - "flatPath": "projects/{project}/regions/{region}/firewallPolicies", "parameterOrder": [ "project", - "region" + "region", + "networkEndpointGroup" ], - "id": "compute.regionNetworkFirewallPolicies.list", - "path": "projects/{project}/regions/{region}/firewallPolicies", - "httpMethod": "GET", "response": { - "$ref": "FirewallPolicyList" + "$ref": "NetworkEndpointGroupsListNetworkEndpoints" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" - ] - }, - "getEffectiveFirewalls": { - "response": { - "$ref": "RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse" - }, - "flatPath": "projects/{project}/regions/{region}/firewallPolicies/getEffectiveFirewalls", - "description": "Returns the effective firewalls on a given network.", + ], + "description": "Lists the network endpoints in the specified network endpoint group." + } + } + }, + "networks": { + "methods": { + "list": { + "id": "compute.networks.list", + "path": "projects/{project}/global/networks", + "flatPath": "projects/{project}/global/networks", + "httpMethod": "GET", "parameters": { - "network": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", "location": "query", - "type": "string", - "required": true, - "description": "Network reference" + "type": "string" }, - "region": { - "type": "string", - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the region scoping this request.", - "required": true + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" }, "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], "parameterOrder": [ - "project", - "region", - "network" + "project" ], - "id": "compute.regionNetworkFirewallPolicies.getEffectiveFirewalls", - "path": "projects/{project}/regions/{region}/firewallPolicies/getEffectiveFirewalls", - "httpMethod": "GET" - }, - "getIamPolicy": { + "response": { + "$ref": "NetworkList" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], + "description": "Retrieves the list of networks available to the specified project." + }, + "get": { + "id": "compute.networks.get", + "path": "projects/{project}/global/networks/{network}", + "flatPath": "projects/{project}/global/networks/{network}", "httpMethod": "GET", - "path": "projects/{project}/regions/{region}/firewallPolicies/{resource}/getIamPolicy", - "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.", - "response": { - "$ref": "Policy" - }, "parameters": { - "region": { - "location": "path", - "type": "string", - "description": "The name of the region for this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true - }, - "optionsRequestedPolicyVersion": { - "type": "integer", - "format": "int32", - "description": "Requested IAM Policy version.", - "location": "query" - }, - "resource": { - "description": "Name or id of the resource for this request.", + "network": { + "description": "Name of the network to return.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", "location": "path", - "required": true + "required": true, + "type": "string" }, "project": { - "location": "path", - "type": "string", "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true - } - }, - "id": "compute.regionNetworkFirewallPolicies.getIamPolicy", - "parameterOrder": [ - "project", - "region", - "resource" - ], - "flatPath": "projects/{project}/regions/{region}/firewallPolicies/{resource}/getIamPolicy" - }, - "cloneRules": { - "parameters": { - "sourceFirewallPolicy": { - "type": "string", - "description": "The firewall policy from which to copy rules.", - "location": "query" - }, - "region": { - "description": "Name of the region scoping this request.", - "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", - "location": "path" - }, - "firewallPolicy": { - "type": "string", - "description": "Name of the firewall policy to update.", "location": "path", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" - }, - "project": { - "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", - "location": "path", - "description": "Project ID for this request." - }, - "requestId": { - "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "type": "string" } }, - "description": "Copies rules to the specified network firewall policy.", "parameterOrder": [ "project", - "region", - "firewallPolicy" + "network" ], - "path": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/cloneRules", - "flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/cloneRules", "response": { - "$ref": "Operation" + "$ref": "Network" }, - "httpMethod": "POST", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "id": "compute.regionNetworkFirewallPolicies.cloneRules" + "description": "Returns the specified network." }, - "removeAssociation": { + "insert": { + "id": "compute.networks.insert", + "path": "projects/{project}/global/networks", + "flatPath": "projects/{project}/global/networks", + "httpMethod": "POST", "parameters": { - "region": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true, - "description": "Name of the region scoping this request.", - "location": "path", - "type": "string" - }, "project": { - "location": "path", "description": "Project ID for this request.", - "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string" - }, - "firewallPolicy": { - "description": "Name of the firewall policy to update.", - "required": true, "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, "type": "string" }, - "name": { - "description": "Name for the association that will be removed.", - "type": "string", - "location": "query" - }, "requestId": { - "type": "string", "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" + "location": "query", + "type": "string" } }, - "flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/removeAssociation", - "description": "Removes an association for the specified network firewall policy.", "parameterOrder": [ - "project", - "region", - "firewallPolicy" + "project" ], - "path": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/removeAssociation", - "id": "compute.regionNetworkFirewallPolicies.removeAssociation", + "request": { + "$ref": "Network" + }, "response": { "$ref": "Operation" }, - "httpMethod": "POST", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" - ] + ], + "description": "Creates a network in the specified project using the data included in the request." }, "delete": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "description": "Deletes the specified network firewall policy.", - "id": "compute.regionNetworkFirewallPolicies.delete", - "response": { - "$ref": "Operation" - }, - "path": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}", + "id": "compute.networks.delete", + "path": "projects/{project}/global/networks/{network}", + "flatPath": "projects/{project}/global/networks/{network}", + "httpMethod": "DELETE", "parameters": { - "region": { - "description": "Name of the region scoping this request.", - "location": "path", - "required": true, - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" - }, - "requestId": { - "type": "string", - "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - }, - "firewallPolicy": { - "required": true, + "network": { + "description": "Name of the network to delete.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "description": "Name of the firewall policy to delete.", + "required": true, "type": "string" }, "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "description": "Project ID for this request.", - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, - "flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}", - "httpMethod": "DELETE", - "parameterOrder": [ - "project", - "region", - "firewallPolicy" - ] - }, - "patchRule": { - "request": { - "$ref": "FirewallPolicyRule" - }, "parameterOrder": [ "project", - "region", - "firewallPolicy" + "network" ], "response": { "$ref": "Operation" }, - "httpMethod": "POST", - "flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/patchRule", - "description": "Patches a rule of the specified priority.", - "id": "compute.regionNetworkFirewallPolicies.patchRule", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], + "description": "Deletes the specified network." + }, + "patch": { + "id": "compute.networks.patch", + "path": "projects/{project}/global/networks/{network}", + "flatPath": "projects/{project}/global/networks/{network}", + "httpMethod": "PATCH", "parameters": { - "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "network": { + "description": "Name of the network to update.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, - "type": "string", - "description": "Project ID for this request." + "type": "string" }, - "firewallPolicy": { - "description": "Name of the firewall policy to update.", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "type": "string" }, - "priority": { - "format": "int32", - "description": "The priority of the rule to patch.", - "location": "query", - "type": "integer" - }, "requestId": { - "type": "string", + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - }, - "region": { - "type": "string", - "required": true, - "description": "Name of the region scoping this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "location": "path" + "type": "string" } }, - "path": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/patchRule" - }, - "getAssociation": { - "response": { - "$ref": "FirewallPolicyAssociation" - }, - "path": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/getAssociation", - "httpMethod": "GET", - "flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/getAssociation", - "id": "compute.regionNetworkFirewallPolicies.getAssociation", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], "parameterOrder": [ "project", - "region", - "firewallPolicy" + "network" ], - "description": "Gets an association with the specified name.", - "parameters": { - "firewallPolicy": { - "required": true, - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name of the firewall policy to which the queried association belongs.", - "type": "string" - }, - "name": { - "location": "query", - "description": "The name of the association to get from the firewall policy.", - "type": "string" - }, - "region": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the region scoping this request.", - "required": true, - "type": "string", - "location": "path" - }, - "project": { - "description": "Project ID for this request.", - "required": true, - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "location": "path" - } - } - }, - "addAssociation": { "request": { - "$ref": "FirewallPolicyAssociation" + "$ref": "Network" }, "response": { "$ref": "Operation" }, - "httpMethod": "POST", - "flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/addAssociation", - "description": "Inserts an association for the specified network firewall policy.", - "parameterOrder": [ - "project", - "region", - "firewallPolicy" - ], - "path": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/addAssociation", - "id": "compute.regionNetworkFirewallPolicies.addAssociation", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], + "description": "Patches the specified network with the data included in the request. Only the following fields can be modified: routingConfig.routingMode." + }, + "updatePeering": { + "id": "compute.networks.updatePeering", + "path": "projects/{project}/global/networks/{network}/updatePeering", + "flatPath": "projects/{project}/global/networks/{network}/updatePeering", + "httpMethod": "PATCH", "parameters": { - "region": { - "description": "Name of the region scoping this request.", - "type": "string", - "location": "path", - "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" - }, - "replaceExistingAssociation": { - "location": "query", - "type": "boolean", - "description": "Indicates whether or not to replace it if an association already exists. This is false by default, in which case an error will be returned if an association already exists." - }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" - }, - "firewallPolicy": { - "location": "path", - "description": "Name of the firewall policy to update.", + "network": { + "description": "Name of the network resource which the updated peering is belonging to.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", "required": true, "type": "string" }, "project": { "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", "location": "path", - "required": true - } - } - }, - "setIamPolicy": { - "request": { - "$ref": "RegionSetPolicyRequest" - }, - "response": { - "$ref": "Policy" - }, - "flatPath": "projects/{project}/regions/{region}/firewallPolicies/{resource}/setIamPolicy", - "parameters": { - "region": { "required": true, - "description": "The name of the region for this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "location": "path", "type": "string" }, - "project": { - "type": "string", - "description": "Project ID for this request.", - "location": "path", - "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "resource": { - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "location": "path", - "description": "Name or id of the resource for this request.", - "required": true + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, "parameterOrder": [ "project", - "region", - "resource" + "network" ], - "id": "compute.regionNetworkFirewallPolicies.setIamPolicy", + "request": { + "$ref": "NetworksUpdatePeeringRequest" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "httpMethod": "POST", - "path": "projects/{project}/regions/{region}/firewallPolicies/{resource}/setIamPolicy", - "description": "Sets the access control policy on the specified resource. Replaces any existing policy." + "description": "Updates the specified network peering with the data included in the request. You can only modify the NetworkPeering.export_custom_routes field and the NetworkPeering.import_custom_routes field." }, - "getRule": { - "flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/getRule", + "addPeering": { + "id": "compute.networks.addPeering", + "path": "projects/{project}/global/networks/{network}/addPeering", + "flatPath": "projects/{project}/global/networks/{network}/addPeering", + "httpMethod": "POST", "parameters": { - "priority": { - "format": "int32", - "location": "query", - "description": "The priority of the rule to get from the firewall policy.", - "type": "integer" - }, - "firewallPolicy": { + "network": { + "description": "Name of the network resource to add peering to.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true, "location": "path", - "type": "string", - "description": "Name of the firewall policy to which the queried rule belongs." - }, - "region": { - "type": "string", "required": true, - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the region scoping this request." + "type": "string" }, "project": { - "type": "string", - "required": true, - "location": "path", + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request." + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, "parameterOrder": [ "project", - "region", - "firewallPolicy" + "network" ], + "request": { + "$ref": "NetworksAddPeeringRequest" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], - "id": "compute.regionNetworkFirewallPolicies.getRule", - "response": { - "$ref": "FirewallPolicyRule" - }, - "httpMethod": "GET", - "path": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/getRule", - "description": "Gets a rule of the specified priority." + "description": "Adds a peering to the specified network." }, - "get": { + "removePeering": { + "id": "compute.networks.removePeering", + "path": "projects/{project}/global/networks/{network}/removePeering", + "flatPath": "projects/{project}/global/networks/{network}/removePeering", + "httpMethod": "POST", "parameters": { - "firewallPolicy": { - "description": "Name of the firewall policy to get.", - "type": "string", - "required": true, + "network": { + "description": "Name of the network resource to remove peering from.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "location": "path" - }, - "region": { + "location": "path", "required": true, - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the region scoping this request.", - "location": "path" + "type": "string" }, "project": { "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", "location": "path", - "required": true + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, "parameterOrder": [ "project", - "region", - "firewallPolicy" + "network" ], - "id": "compute.regionNetworkFirewallPolicies.get", - "description": "Returns the specified network firewall policy.", + "request": { + "$ref": "NetworksRemovePeeringRequest" + }, "response": { - "$ref": "FirewallPolicy" + "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], - "path": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}", - "flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}", - "httpMethod": "GET" + "description": "Removes a peering from the specified network." }, - "testIamPermissions": { - "flatPath": "projects/{project}/regions/{region}/firewallPolicies/{resource}/testIamPermissions", - "parameterOrder": [ - "project", - "region", - "resource" - ], + "switchToCustomMode": { + "id": "compute.networks.switchToCustomMode", + "path": "projects/{project}/global/networks/{network}/switchToCustomMode", + "flatPath": "projects/{project}/global/networks/{network}/switchToCustomMode", + "httpMethod": "POST", "parameters": { - "region": { - "description": "The name of the region for this request.", + "network": { + "description": "Name of the network to be updated.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "type": "string" }, "project": { "description": "Project ID for this request.", - "location": "path", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", - "required": true - }, - "resource": { - "description": "Name or id of the resource for this request.", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", - "required": true + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "parameterOrder": [ + "project", + "network" ], - "id": "compute.regionNetworkFirewallPolicies.testIamPermissions", - "httpMethod": "POST", - "description": "Returns permissions that a caller has on the specified resource.", - "path": "projects/{project}/regions/{region}/firewallPolicies/{resource}/testIamPermissions", "response": { - "$ref": "TestPermissionsResponse" + "$ref": "Operation" }, - "request": { - "$ref": "TestPermissionsRequest" - } - }, - "patch": { "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "response": { - "$ref": "Operation" - }, - "description": "Patches the specified network firewall policy.", - "request": { - "$ref": "FirewallPolicy" - }, - "path": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}", - "parameterOrder": [ - "project", - "region", - "firewallPolicy" - ], - "httpMethod": "PATCH", - "flatPath": "projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}", - "id": "compute.regionNetworkFirewallPolicies.patch", + "description": "Switches the network mode from auto subnet mode to custom subnet mode." + }, + "getEffectiveFirewalls": { + "id": "compute.networks.getEffectiveFirewalls", + "path": "projects/{project}/global/networks/{network}/getEffectiveFirewalls", + "flatPath": "projects/{project}/global/networks/{network}/getEffectiveFirewalls", + "httpMethod": "GET", "parameters": { - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" + "network": { + "description": "Name of the network for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" }, "project": { - "required": true, - "location": "path", "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string" - }, - "region": { - "type": "string", - "description": "Name of the region scoping this request.", - "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "location": "path" - }, - "firewallPolicy": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, - "type": "string", - "description": "Name of the firewall policy to update." + "type": "string" } - } - }, - "insert": { + }, "parameterOrder": [ "project", - "region" + "network" ], + "response": { + "$ref": "NetworksGetEffectiveFirewallsResponse" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "httpMethod": "POST", - "path": "projects/{project}/regions/{region}/firewallPolicies", - "description": "Creates a new network firewall policy in the specified project and region.", - "response": { - "$ref": "Operation" - }, - "flatPath": "projects/{project}/regions/{region}/firewallPolicies", + "description": "Returns the effective firewalls on a given network." + }, + "listPeeringRoutes": { + "id": "compute.networks.listPeeringRoutes", + "path": "projects/{project}/global/networks/{network}/listPeeringRoutes", + "flatPath": "projects/{project}/global/networks/{network}/listPeeringRoutes", + "httpMethod": "GET", "parameters": { - "requestId": { + "direction": { + "description": "The direction of the exchanged routes.", "location": "query", "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "enumDescriptions": [ + "For routes exported from peer network.", + "For routes exported from local network." + ], + "enum": [ + "INCOMING", + "OUTGOING" + ] }, - "region": { - "type": "string", - "description": "Name of the region scoping this request.", + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "network": { + "description": "Name of the network for this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", "required": true, - "location": "path" + "type": "string" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, + "peeringName": { + "description": "The response will show routes exchanged over the given peering connection.", + "location": "query", + "type": "string" }, "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "description": "Project ID for this request.", - "type": "string", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "required": true + "required": true, + "type": "string" + }, + "region": { + "description": "The region of the request. The response will include all subnet routes, static routes and dynamic routes in the region.", + "location": "query", + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } }, - "request": { - "$ref": "FirewallPolicy" + "parameterOrder": [ + "project", + "network" + ], + "response": { + "$ref": "ExchangedPeeringRoutesList" }, - "id": "compute.regionNetworkFirewallPolicies.insert" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Lists the peering routes exchanged over peering connection." } } }, - "targetInstances": { + "nodeGroups": { "methods": { "list": { - "parameterOrder": [ - "project", - "zone" - ], - "flatPath": "projects/{project}/zones/{zone}/targetInstances", + "id": "compute.nodeGroups.list", + "path": "projects/{project}/zones/{zone}/nodeGroups", + "flatPath": "projects/{project}/zones/{zone}/nodeGroups", + "httpMethod": "GET", "parameters": { - "maxResults": { - "type": "integer", + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", "location": "query", - "minimum": "0", - "default": "500", + "type": "string" + }, + "maxResults": { "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", "format": "uint32" }, "orderBy": { "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "type": "string", - "location": "query" + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" }, "project": { - "type": "string", + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "description": "Project ID for this request." + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" }, "zone": { - "location": "path", - "type": "string", - "description": "Name of the zone scoping this request.", + "description": "The name of the zone for this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true - }, + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "zone" + ], + "response": { + "$ref": "NodeGroupList" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Retrieves a list of node groups available to the specified project. Note: use nodeGroups.listNodes for more details about each group." + }, + "aggregatedList": { + "id": "compute.nodeGroups.aggregatedList", + "path": "projects/{project}/aggregated/nodeGroups", + "flatPath": "projects/{project}/aggregated/nodeGroups", + "httpMethod": "GET", + "parameters": { "filter": { - "type": "string", + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "includeAllScopes": { + "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", "location": "query", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`." + "type": "boolean" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" }, "pageToken": { "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "location": "query", "type": "string" }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, "returnPartialSuccess": { - "type": "boolean", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + }, + "serviceProjectNumber": { + "description": "The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.", "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." + "type": "string", + "format": "int64" } }, + "parameterOrder": [ + "project" + ], + "response": { + "$ref": "NodeGroupAggregatedList" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "id": "compute.targetInstances.list", - "path": "projects/{project}/zones/{zone}/targetInstances", - "response": { - "$ref": "TargetInstanceList" - }, - "httpMethod": "GET", - "description": "Retrieves a list of TargetInstance resources available to the specified project and zone." + "description": "Retrieves an aggregated list of node groups. Note: use nodeGroups.listNodes for more details about each group." }, "get": { + "id": "compute.nodeGroups.get", + "path": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}", + "flatPath": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}", + "httpMethod": "GET", "parameters": { - "project": { + "nodeGroup": { + "description": "Name of the node group to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "type": "string", + "required": true, + "type": "string" + }, + "project": { "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true - }, - "targetInstance": { - "type": "string", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name of the TargetInstance resource to return.", - "required": true + "required": true, + "type": "string" }, "zone": { - "location": "path", - "type": "string", + "description": "The name of the zone for this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", "required": true, - "description": "Name of the zone scoping this request." + "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "flatPath": "projects/{project}/zones/{zone}/targetInstances/{targetInstance}", - "description": "Returns the specified TargetInstance resource. Gets a list of available target instances by making a list() request.", - "id": "compute.targetInstances.get", - "response": { - "$ref": "TargetInstance" - }, - "httpMethod": "GET", "parameterOrder": [ "project", "zone", - "targetInstance" - ], - "path": "projects/{project}/zones/{zone}/targetInstances/{targetInstance}" - }, - "insert": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "nodeGroup" ], "response": { - "$ref": "Operation" + "$ref": "NodeGroup" }, - "parameterOrder": [ - "project", - "zone" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "path": "projects/{project}/zones/{zone}/targetInstances", - "id": "compute.targetInstances.insert", - "flatPath": "projects/{project}/zones/{zone}/targetInstances", - "request": { - "$ref": "TargetInstance" - }, + "description": "Returns the specified NodeGroup. Get a list of available NodeGroups by making a list() request. Note: the \"nodes\" field should not be used. Use nodeGroups.listNodes instead." + }, + "insert": { + "id": "compute.nodeGroups.insert", + "path": "projects/{project}/zones/{zone}/nodeGroups", + "flatPath": "projects/{project}/zones/{zone}/nodeGroups", "httpMethod": "POST", "parameters": { + "initialNodeCount": { + "description": "Initial count of nodes in the node group.", + "location": "query", + "required": true, + "type": "integer", + "format": "int32" + }, "project": { - "location": "path", + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", + "location": "path", "required": true, - "description": "Project ID for this request." + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" }, "zone": { - "description": "Name of the zone scoping this request.", + "description": "The name of the zone for this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", "required": true, "type": "string" - }, - "requestId": { - "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." } }, - "description": "Creates a TargetInstance resource in the specified project and zone using the data included in the request." - }, - "aggregatedList": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "parameterOrder": [ + "project", + "zone", + "initialNodeCount" ], - "parameters": { - "maxResults": { - "type": "integer", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "minimum": "0", - "default": "500", - "format": "uint32", - "location": "query" - }, - "returnPartialSuccess": { - "type": "boolean", - "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." - }, - "orderBy": { - "type": "string", - "location": "query", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported." - }, - "includeAllScopes": { - "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", - "location": "query", - "type": "boolean" - }, - "filter": { - "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "location": "query" - }, - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "type": "string", - "location": "query" - }, - "project": { - "description": "Project ID for this request.", - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, - "location": "path" - } + "request": { + "$ref": "NodeGroup" }, "response": { - "$ref": "TargetInstanceAggregatedList" + "$ref": "Operation" }, - "description": "Retrieves an aggregated list of target instances.", - "parameterOrder": [ - "project" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" ], - "path": "projects/{project}/aggregated/targetInstances", - "id": "compute.targetInstances.aggregatedList", - "httpMethod": "GET", - "flatPath": "projects/{project}/aggregated/targetInstances" + "description": "Creates a NodeGroup resource in the specified project using the data included in the request." }, "delete": { - "parameterOrder": [ - "project", - "zone", - "targetInstance" - ], - "description": "Deletes the specified TargetInstance resource.", + "id": "compute.nodeGroups.delete", + "path": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}", + "flatPath": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}", + "httpMethod": "DELETE", "parameters": { - "targetInstance": { - "type": "string", + "nodeGroup": { + "description": "Name of the NodeGroup resource to delete.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, - "description": "Name of the TargetInstance resource to delete." + "type": "string" }, "project": { - "type": "string", - "required": true, "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "required": true, + "type": "string" }, "requestId": { - "type": "string", + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "type": "string" }, "zone": { - "type": "string", + "description": "The name of the zone for this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", "required": true, - "description": "Name of the zone scoping this request." + "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "parameterOrder": [ + "project", + "zone", + "nodeGroup" ], "response": { "$ref": "Operation" }, - "httpMethod": "DELETE", - "path": "projects/{project}/zones/{zone}/targetInstances/{targetInstance}", - "id": "compute.targetInstances.delete", - "flatPath": "projects/{project}/zones/{zone}/targetInstances/{targetInstance}" - } - } - }, - "autoscalers": { - "methods": { - "aggregatedList": { - "response": { - "$ref": "AutoscalerAggregatedList" - }, - "httpMethod": "GET", - "description": "Retrieves an aggregated list of autoscalers.", - "parameterOrder": [ - "project" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" ], - "id": "compute.autoscalers.aggregatedList", - "flatPath": "projects/{project}/aggregated/autoscalers", - "path": "projects/{project}/aggregated/autoscalers", + "description": "Deletes the specified NodeGroup resource." + }, + "addNodes": { + "id": "compute.nodeGroups.addNodes", + "path": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/addNodes", + "flatPath": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/addNodes", + "httpMethod": "POST", "parameters": { - "filter": { - "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "location": "query" - }, - "orderBy": { - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "location": "query", + "nodeGroup": { + "description": "Name of the NodeGroup resource.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, "type": "string" }, - "includeAllScopes": { - "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", - "type": "boolean", - "location": "query" - }, "project": { - "type": "string", "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "type": "string", - "location": "query" + "type": "string" }, - "returnPartialSuccess": { + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "type": "boolean" + "type": "string" }, - "maxResults": { - "minimum": "0", - "type": "integer", - "location": "query", - "default": "500", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "format": "uint32" + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ] - }, - "get": { - "httpMethod": "GET", "parameterOrder": [ "project", "zone", - "autoscaler" + "nodeGroup" + ], + "request": { + "$ref": "NodeGroupsAddNodesRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" ], + "description": "Adds specified number of nodes to the node group." + }, + "deleteNodes": { + "id": "compute.nodeGroups.deleteNodes", + "path": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/deleteNodes", + "flatPath": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/deleteNodes", + "httpMethod": "POST", "parameters": { - "autoscaler": { + "nodeGroup": { + "description": "Name of the NodeGroup resource whose nodes will be deleted.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name of the autoscaler to return.", - "type": "string", "location": "path", - "required": true + "required": true, + "type": "string" }, "project": { - "required": true, "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", "type": "string" }, "zone": { + "description": "The name of the zone for this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true, "location": "path", - "type": "string", - "description": "Name of the zone for this request." + "required": true, + "type": "string" } }, - "id": "compute.autoscalers.get", - "description": "Returns the specified autoscaler resource. Gets a list of available autoscalers by making a list() request.", - "flatPath": "projects/{project}/zones/{zone}/autoscalers/{autoscaler}", - "response": { - "$ref": "Autoscaler" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "path": "projects/{project}/zones/{zone}/autoscalers/{autoscaler}" - }, - "delete": { - "description": "Deletes the specified autoscaler.", - "path": "projects/{project}/zones/{zone}/autoscalers/{autoscaler}", "parameterOrder": [ "project", "zone", - "autoscaler" + "nodeGroup" ], + "request": { + "$ref": "NodeGroupsDeleteNodesRequest" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "flatPath": "projects/{project}/zones/{zone}/autoscalers/{autoscaler}", + "description": "Deletes specified nodes from the node group." + }, + "listNodes": { + "id": "compute.nodeGroups.listNodes", + "path": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/listNodes", + "flatPath": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/listNodes", + "httpMethod": "POST", "parameters": { - "autoscaler": { - "location": "path", - "description": "Name of the autoscaler to delete.", - "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", "type": "string" }, - "zone": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "location": "path", - "type": "string", - "description": "Name of the zone for this request.", - "required": true - }, - "requestId": { - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" }, - "project": { + "nodeGroup": { + "description": "Name of the NodeGroup resource whose nodes you want to list.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "description": "Project ID for this request.", - "type": "string", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - } - }, - "id": "compute.autoscalers.delete", - "httpMethod": "DELETE", - "response": { - "$ref": "Operation" - } - }, - "update": { - "path": "projects/{project}/zones/{zone}/autoscalers", - "parameters": { - "requestId": { + "type": "string" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "type": "string" }, - "autoscaler": { - "description": "Name of the autoscaler to update.", - "type": "string", + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "location": "query", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" + "type": "string" }, "project": { "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "type": "string" }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + }, "zone": { - "type": "string", - "location": "path", - "description": "Name of the zone for this request.", + "description": "The name of the zone for this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true + "location": "path", + "required": true, + "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], "parameterOrder": [ "project", - "zone" + "zone", + "nodeGroup" ], - "description": "Updates an autoscaler in the specified project using the data included in the request.", - "flatPath": "projects/{project}/zones/{zone}/autoscalers", "response": { - "$ref": "Operation" - }, - "request": { - "$ref": "Autoscaler" + "$ref": "NodeGroupsListNodes" }, - "id": "compute.autoscalers.update", - "httpMethod": "PUT" - }, - "list": { - "path": "projects/{project}/zones/{zone}/autoscalers", - "flatPath": "projects/{project}/zones/{zone}/autoscalers", - "parameterOrder": [ - "project", - "zone" - ], - "id": "compute.autoscalers.list", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "description": "Retrieves a list of autoscalers contained within the specified zone.", - "httpMethod": "GET", - "response": { - "$ref": "AutoscalerList" - }, + "description": "Lists nodes in the node group." + }, + "setNodeTemplate": { + "id": "compute.nodeGroups.setNodeTemplate", + "path": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/setNodeTemplate", + "flatPath": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/setNodeTemplate", + "httpMethod": "POST", "parameters": { - "zone": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "nodeGroup": { + "description": "Name of the NodeGroup resource to update.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "description": "Name of the zone for this request.", "required": true, "type": "string" }, "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "description": "Project ID for this request.", - "type": "string", - "location": "path" - }, - "orderBy": { - "type": "string", - "location": "query", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported." - }, - "pageToken": { - "location": "query", - "type": "string", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results." - }, - "maxResults": { - "format": "uint32", - "default": "500", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "location": "query", - "minimum": "0", - "type": "integer" + "type": "string" }, - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", "type": "string" }, - "returnPartialSuccess": { - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "location": "query" + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" } - } - }, - "insert": { - "description": "Creates an autoscaler in the specified project using the data included in the request.", - "flatPath": "projects/{project}/zones/{zone}/autoscalers", - "path": "projects/{project}/zones/{zone}/autoscalers", + }, + "parameterOrder": [ + "project", + "zone", + "nodeGroup" + ], "request": { - "$ref": "Autoscaler" + "$ref": "NodeGroupsSetNodeTemplateRequest" }, "response": { "$ref": "Operation" }, - "id": "compute.autoscalers.insert", - "parameterOrder": [ - "project", - "zone" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" ], + "description": "Updates the node template of the node group." + }, + "patch": { + "id": "compute.nodeGroups.patch", + "path": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}", + "flatPath": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}", + "httpMethod": "PATCH", "parameters": { - "requestId": { - "type": "string", - "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - }, - "zone": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "nodeGroup": { + "description": "Name of the NodeGroup resource to update.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, - "type": "string", - "description": "Name of the zone for this request." + "type": "string" }, "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "description": "Project ID for this request.", + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", + "required": true, "type": "string" } }, - "httpMethod": "POST", + "parameterOrder": [ + "project", + "zone", + "nodeGroup" + ], + "request": { + "$ref": "NodeGroup" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" - ] + ], + "description": "Updates the specified node group." }, - "patch": { - "response": { - "$ref": "Operation" - }, - "path": "projects/{project}/zones/{zone}/autoscalers", - "flatPath": "projects/{project}/zones/{zone}/autoscalers", + "simulateMaintenanceEvent": { + "id": "compute.nodeGroups.simulateMaintenanceEvent", + "path": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/simulateMaintenanceEvent", + "flatPath": "projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/simulateMaintenanceEvent", + "httpMethod": "POST", "parameters": { - "zone": { - "type": "string", - "description": "Name of the zone for this request.", + "nodeGroup": { + "description": "Name of the NodeGroup resource whose nodes will go under maintenance simulation.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "location": "path" + "type": "string" }, - "autoscaler": { - "description": "Name of the autoscaler to patch.", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "location": "query" + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" }, "requestId": { "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", "type": "string" }, - "project": { + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", - "type": "string", - "required": true + "required": true, + "type": "string" } }, + "parameterOrder": [ + "project", + "zone", + "nodeGroup" + ], "request": { - "$ref": "Autoscaler" + "$ref": "NodeGroupsSimulateMaintenanceEventRequest" + }, + "response": { + "$ref": "Operation" }, - "httpMethod": "PATCH", - "id": "compute.autoscalers.patch", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "description": "Updates an autoscaler in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.", - "parameterOrder": [ - "project", - "zone" - ] - } - } - }, - "firewalls": { - "methods": { - "patch": { + "description": "Simulates maintenance event on specified nodes from the node group." + }, + "getIamPolicy": { + "id": "compute.nodeGroups.getIamPolicy", + "path": "projects/{project}/zones/{zone}/nodeGroups/{resource}/getIamPolicy", + "flatPath": "projects/{project}/zones/{zone}/nodeGroups/{resource}/getIamPolicy", + "httpMethod": "GET", "parameters": { + "optionsRequestedPolicyVersion": { + "description": "Requested IAM Policy version.", + "location": "query", + "type": "integer", + "format": "int32" + }, "project": { "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", - "required": true + "required": true, + "type": "string" }, - "firewall": { - "location": "path", + "resource": { + "description": "Name or id of the resource for this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", "required": true, - "type": "string", - "description": "Name of the firewall rule to patch." + "type": "string" }, - "requestId": { - "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" } }, - "httpMethod": "PATCH", - "response": { - "$ref": "Operation" - }, - "request": { - "$ref": "Firewall" - }, "parameterOrder": [ "project", - "firewall" + "zone", + "resource" ], - "flatPath": "projects/{project}/global/firewalls/{firewall}", - "path": "projects/{project}/global/firewalls/{firewall}", - "id": "compute.firewalls.patch", - "description": "Updates the specified firewall rule with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.", + "response": { + "$ref": "Policy" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ] + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists." }, - "update": { - "request": { - "$ref": "Firewall" - }, - "httpMethod": "PUT", - "description": "Updates the specified firewall rule with the data included in the request. Note that all fields will be updated if using PUT, even fields that are not specified. To update individual fields, please use PATCH instead.", - "flatPath": "projects/{project}/global/firewalls/{firewall}", + "setIamPolicy": { + "id": "compute.nodeGroups.setIamPolicy", + "path": "projects/{project}/zones/{zone}/nodeGroups/{resource}/setIamPolicy", + "flatPath": "projects/{project}/zones/{zone}/nodeGroups/{resource}/setIamPolicy", + "httpMethod": "POST", "parameters": { - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, "type": "string" }, - "firewall": { - "type": "string", + "resource": { + "description": "Name or id of the resource for this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", "required": true, - "description": "Name of the firewall rule to update.", - "location": "path" + "type": "string" }, - "project": { - "description": "Project ID for this request.", - "type": "string", + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" } }, "parameterOrder": [ "project", - "firewall" - ], - "id": "compute.firewalls.update", - "path": "projects/{project}/global/firewalls/{firewall}", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "zone", + "resource" ], + "request": { + "$ref": "ZoneSetPolicyRequest" + }, "response": { - "$ref": "Operation" - } - }, - "delete": { - "flatPath": "projects/{project}/global/firewalls/{firewall}", - "description": "Deletes the specified firewall.", - "response": { - "$ref": "Operation" + "$ref": "Policy" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "parameterOrder": [ - "project", - "firewall" - ], - "httpMethod": "DELETE", - "id": "compute.firewalls.delete", - "path": "projects/{project}/global/firewalls/{firewall}", + "description": "Sets the access control policy on the specified resource. Replaces any existing policy." + }, + "testIamPermissions": { + "id": "compute.nodeGroups.testIamPermissions", + "path": "projects/{project}/zones/{zone}/nodeGroups/{resource}/testIamPermissions", + "flatPath": "projects/{project}/zones/{zone}/nodeGroups/{resource}/testIamPermissions", + "httpMethod": "POST", "parameters": { "project": { "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "type": "string", - "location": "path" - }, - "requestId": { - "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "type": "string" }, - "firewall": { + "resource": { + "description": "Name or id of the resource for this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, - "description": "Name of the firewall rule to delete.", "type": "string" - } - } - }, - "get": { - "parameterOrder": [ - "project", - "firewall" - ], - "description": "Returns the specified firewall.", - "path": "projects/{project}/global/firewalls/{firewall}", - "parameters": { - "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "location": "path", - "required": true, - "type": "string", - "description": "Project ID for this request." }, - "firewall": { + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "required": true, - "description": "Name of the firewall rule to return.", "type": "string" } }, - "id": "compute.firewalls.get", + "parameterOrder": [ + "project", + "zone", + "resource" + ], + "request": { + "$ref": "TestPermissionsRequest" + }, + "response": { + "$ref": "TestPermissionsResponse" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "flatPath": "projects/{project}/global/firewalls/{firewall}", - "httpMethod": "GET", - "response": { - "$ref": "Firewall" - } - }, + "description": "Returns permissions that a caller has on the specified resource." + } + } + }, + "nodeTemplates": { + "methods": { "list": { - "response": { - "$ref": "FirewallList" - }, + "id": "compute.nodeTemplates.list", + "path": "projects/{project}/regions/{region}/nodeTemplates", + "flatPath": "projects/{project}/regions/{region}/nodeTemplates", + "httpMethod": "GET", "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, "maxResults": { "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "location": "query", - "type": "integer", + "default": "500", "minimum": "0", - "format": "uint32", - "default": "500" - }, - "returnPartialSuccess": { - "type": "boolean", "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." + "type": "integer", + "format": "uint32" }, "orderBy": { - "location": "query", "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", "type": "string" }, "pageToken": { - "type": "string", "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "location": "query" - }, - "filter": { "location": "query", - "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`." + "type": "string" }, "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "type": "string", - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" + }, + "region": { + "description": "The name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } }, - "path": "projects/{project}/global/firewalls", - "flatPath": "projects/{project}/global/firewalls", - "httpMethod": "GET", - "id": "compute.firewalls.list", + "parameterOrder": [ + "project", + "region" + ], + "response": { + "$ref": "NodeTemplateList" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "description": "Retrieves the list of firewall rules available to the specified project.", - "parameterOrder": [ - "project" - ] + "description": "Retrieves a list of node templates available to the specified project." }, - "insert": { - "id": "compute.firewalls.insert", + "aggregatedList": { + "id": "compute.nodeTemplates.aggregatedList", + "path": "projects/{project}/aggregated/nodeTemplates", + "flatPath": "projects/{project}/aggregated/nodeTemplates", + "httpMethod": "GET", "parameters": { - "requestId": { - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "includeAllScopes": { + "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", + "location": "query", + "type": "boolean" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" }, "project": { "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + }, + "serviceProjectNumber": { + "description": "The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.", + "location": "query", "type": "string", - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "format": "int64" } }, - "description": "Creates a firewall rule in the specified project using the data included in the request.", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], "parameterOrder": [ "project" ], "response": { - "$ref": "Operation" - }, - "flatPath": "projects/{project}/global/firewalls", - "request": { - "$ref": "Firewall" + "$ref": "NodeTemplateAggregatedList" }, - "path": "projects/{project}/global/firewalls", - "httpMethod": "POST" - } - } - }, - "targetSslProxies": { - "methods": { - "get": { "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "response": { - "$ref": "TargetSslProxy" - }, - "parameterOrder": [ - "project", - "targetSslProxy" - ], - "flatPath": "projects/{project}/global/targetSslProxies/{targetSslProxy}", - "parameters": { - "project": { - "description": "Project ID for this request.", - "type": "string", - "required": true, - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "targetSslProxy": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name of the TargetSslProxy resource to return.", - "type": "string", - "location": "path", - "required": true - } - }, - "description": "Returns the specified TargetSslProxy resource. Gets a list of available target SSL proxies by making a list() request.", - "id": "compute.targetSslProxies.get", - "httpMethod": "GET", - "path": "projects/{project}/global/targetSslProxies/{targetSslProxy}" + "description": "Retrieves an aggregated list of node templates." }, - "setCertificateMap": { - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "description": "Changes the Certificate Map for TargetSslProxy.", - "flatPath": "projects/{project}/global/targetSslProxies/{targetSslProxy}/setCertificateMap", - "path": "projects/{project}/global/targetSslProxies/{targetSslProxy}/setCertificateMap", + "get": { + "id": "compute.nodeTemplates.get", + "path": "projects/{project}/regions/{region}/nodeTemplates/{nodeTemplate}", + "flatPath": "projects/{project}/regions/{region}/nodeTemplates/{nodeTemplate}", + "httpMethod": "GET", "parameters": { - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query", - "type": "string" - }, - "targetSslProxy": { + "nodeTemplate": { + "description": "Name of the node template to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, - "type": "string", - "description": "Name of the TargetSslProxy resource whose CertificateMap is to be set. The name must be 1-63 characters long, and comply with RFC1035." + "type": "string" }, "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "type": "string", - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - } - }, - "httpMethod": "POST", - "id": "compute.targetSslProxies.setCertificateMap", - "request": { - "$ref": "TargetSslProxiesSetCertificateMapRequest" - }, - "parameterOrder": [ - "project", - "targetSslProxy" - ] - }, - "setSslPolicy": { - "flatPath": "projects/{project}/global/targetSslProxies/{targetSslProxy}/setSslPolicy", - "response": { - "$ref": "Operation" - }, - "request": { - "$ref": "SslPolicyReference" - }, - "parameters": { - "requestId": { - "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "type": "string" }, - "targetSslProxy": { - "required": true, - "type": "string", + "region": { + "description": "The name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "description": "Name of the TargetSslProxy resource whose SSL policy is to be set. The name must be 1-63 characters long, and comply with RFC1035." - }, - "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "required": true, - "description": "Project ID for this request.", - "type": "string", - "location": "path" + "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "path": "projects/{project}/global/targetSslProxies/{targetSslProxy}/setSslPolicy", - "description": "Sets the SSL policy for TargetSslProxy. The SSL policy specifies the server-side support for SSL features. This affects connections between clients and the SSL proxy load balancer. They do not affect the connection between the load balancer and the backends.", - "httpMethod": "POST", "parameterOrder": [ "project", - "targetSslProxy" + "region", + "nodeTemplate" ], - "id": "compute.targetSslProxies.setSslPolicy" - }, - "setBackendService": { - "request": { - "$ref": "TargetSslProxiesSetBackendServiceRequest" - }, - "description": "Changes the BackendService for TargetSslProxy.", - "httpMethod": "POST", - "parameters": { - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query", - "type": "string" - }, - "targetSslProxy": { - "location": "path", - "type": "string", - "description": "Name of the TargetSslProxy resource whose BackendService resource is to be set.", - "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" - }, - "project": { - "required": true, - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", - "description": "Project ID for this request." - } - }, "response": { - "$ref": "Operation" + "$ref": "NodeTemplate" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "id": "compute.targetSslProxies.setBackendService", - "path": "projects/{project}/global/targetSslProxies/{targetSslProxy}/setBackendService", - "flatPath": "projects/{project}/global/targetSslProxies/{targetSslProxy}/setBackendService", - "parameterOrder": [ - "project", - "targetSslProxy" - ] + "description": "Returns the specified node template." }, - "setProxyHeader": { - "id": "compute.targetSslProxies.setProxyHeader", - "flatPath": "projects/{project}/global/targetSslProxies/{targetSslProxy}/setProxyHeader", - "request": { - "$ref": "TargetSslProxiesSetProxyHeaderRequest" - }, - "path": "projects/{project}/global/targetSslProxies/{targetSslProxy}/setProxyHeader", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], + "insert": { + "id": "compute.nodeTemplates.insert", + "path": "projects/{project}/regions/{region}/nodeTemplates", + "flatPath": "projects/{project}/regions/{region}/nodeTemplates", + "httpMethod": "POST", "parameters": { "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "type": "string", - "description": "Project ID for this request." + "type": "string" + }, + "region": { + "description": "The name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" }, "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - }, - "targetSslProxy": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name of the TargetSslProxy resource whose ProxyHeader is to be set.", - "location": "path", - "type": "string", - "required": true + "type": "string" } }, "parameterOrder": [ "project", - "targetSslProxy" + "region" ], - "description": "Changes the ProxyHeaderType for TargetSslProxy.", - "httpMethod": "POST", - "response": { - "$ref": "Operation" - } - }, - "delete": { - "httpMethod": "DELETE", - "flatPath": "projects/{project}/global/targetSslProxies/{targetSslProxy}", - "id": "compute.targetSslProxies.delete", - "description": "Deletes the specified TargetSslProxy resource.", + "request": { + "$ref": "NodeTemplate" + }, "response": { "$ref": "Operation" }, - "path": "projects/{project}/global/targetSslProxies/{targetSslProxy}", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], + "description": "Creates a NodeTemplate resource in the specified project using the data included in the request." + }, + "delete": { + "id": "compute.nodeTemplates.delete", + "path": "projects/{project}/regions/{region}/nodeTemplates/{nodeTemplate}", + "flatPath": "projects/{project}/regions/{region}/nodeTemplates/{nodeTemplate}", + "httpMethod": "DELETE", "parameters": { - "targetSslProxy": { - "type": "string", + "nodeTemplate": { + "description": "Name of the NodeTemplate resource to delete.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", "required": true, - "description": "Name of the TargetSslProxy resource to delete.", - "location": "path" + "type": "string" }, "project": { - "type": "string", - "location": "path", "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "The name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" }, "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "type": "string" } }, "parameterOrder": [ "project", - "targetSslProxy" - ] - }, - "list": { + "region", + "nodeTemplate" + ], + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], + "description": "Deletes the specified NodeTemplate resource." + }, + "getIamPolicy": { + "id": "compute.nodeTemplates.getIamPolicy", + "path": "projects/{project}/regions/{region}/nodeTemplates/{resource}/getIamPolicy", + "flatPath": "projects/{project}/regions/{region}/nodeTemplates/{resource}/getIamPolicy", "httpMethod": "GET", - "flatPath": "projects/{project}/global/targetSslProxies", - "description": "Retrieves the list of TargetSslProxy resources available to the specified project.", - "id": "compute.targetSslProxies.list", "parameters": { - "orderBy": { - "type": "string", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "location": "query" - }, - "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "type": "boolean", - "location": "query" - }, - "maxResults": { - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "minimum": "0", - "default": "500", - "format": "uint32", + "optionsRequestedPolicyVersion": { + "description": "Requested IAM Policy version.", + "location": "query", "type": "integer", - "location": "query" + "format": "int32" }, "project": { - "location": "path", "description": "Project ID for this request.", - "type": "string", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" }, - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "type": "string", - "location": "query" + "region": { + "description": "The name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" }, - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "type": "string", - "location": "query" + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" } }, - "path": "projects/{project}/global/targetSslProxies", "parameterOrder": [ - "project" + "project", + "region", + "resource" ], "response": { - "$ref": "TargetSslProxyList" - } + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists." }, - "insert": { - "flatPath": "projects/{project}/global/targetSslProxies", - "path": "projects/{project}/global/targetSslProxies", - "description": "Creates a TargetSslProxy resource in the specified project using the data included in the request.", + "setIamPolicy": { + "id": "compute.nodeTemplates.setIamPolicy", + "path": "projects/{project}/regions/{region}/nodeTemplates/{resource}/setIamPolicy", + "flatPath": "projects/{project}/regions/{region}/nodeTemplates/{resource}/setIamPolicy", + "httpMethod": "POST", "parameters": { "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, + "type": "string" + }, + "region": { + "description": "The name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", + "required": true, "type": "string" }, - "requestId": { - "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, "type": "string" } }, + "parameterOrder": [ + "project", + "region", + "resource" + ], "request": { - "$ref": "TargetSslProxy" + "$ref": "RegionSetPolicyRequest" }, - "id": "compute.targetSslProxies.insert", "response": { - "$ref": "Operation" + "$ref": "Policy" }, - "parameterOrder": [ - "project" - ], - "httpMethod": "POST", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ] - }, - "setSslCertificates": { "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "id": "compute.targetSslProxies.setSslCertificates", - "request": { - "$ref": "TargetSslProxiesSetSslCertificatesRequest" - }, - "path": "projects/{project}/global/targetSslProxies/{targetSslProxy}/setSslCertificates", + "description": "Sets the access control policy on the specified resource. Replaces any existing policy." + }, + "testIamPermissions": { + "id": "compute.nodeTemplates.testIamPermissions", + "path": "projects/{project}/regions/{region}/nodeTemplates/{resource}/testIamPermissions", + "flatPath": "projects/{project}/regions/{region}/nodeTemplates/{resource}/testIamPermissions", "httpMethod": "POST", - "response": { - "$ref": "Operation" - }, - "description": "Changes SslCertificates for TargetSslProxy.", - "parameterOrder": [ - "project", - "targetSslProxy" - ], - "flatPath": "projects/{project}/global/targetSslProxies/{targetSslProxy}/setSslCertificates", "parameters": { - "targetSslProxy": { - "type": "string", - "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name of the TargetSslProxy resource whose SslCertificate resource is to be set.", - "location": "path" - }, "project": { - "type": "string", "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "location": "path" + "type": "string" }, - "requestId": { - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" - } - } - } - } - }, - "projects": { - "methods": { - "setDefaultNetworkTier": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "parameters": { - "project": { - "type": "string", - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "region": { + "description": "The name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "required": true + "required": true, + "type": "string" }, - "requestId": { - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" } }, - "flatPath": "projects/{project}/setDefaultNetworkTier", - "path": "projects/{project}/setDefaultNetworkTier", - "httpMethod": "POST", - "id": "compute.projects.setDefaultNetworkTier", - "response": { - "$ref": "Operation" - }, "parameterOrder": [ - "project" + "project", + "region", + "resource" ], - "description": "Sets the default network tier of the project. The default network tier is used when an address/forwardingRule/instance is created without specifying the network tier field.", "request": { - "$ref": "ProjectsSetDefaultNetworkTierRequest" - } - }, - "setCommonInstanceMetadata": { - "path": "projects/{project}/setCommonInstanceMetadata", - "flatPath": "projects/{project}/setCommonInstanceMetadata", - "parameterOrder": [ - "project" + "$ref": "TestPermissionsRequest" + }, + "response": { + "$ref": "TestPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "httpMethod": "POST", + "description": "Returns permissions that a caller has on the specified resource." + } + } + }, + "nodeTypes": { + "methods": { + "list": { + "id": "compute.nodeTypes.list", + "path": "projects/{project}/zones/{zone}/nodeTypes", + "flatPath": "projects/{project}/zones/{zone}/nodeTypes", + "httpMethod": "GET", "parameters": { - "requestId": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "type": "string" }, "project": { "description": "Project ID for this request.", - "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + }, + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, "type": "string" } }, - "request": { - "$ref": "Metadata" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "parameterOrder": [ + "project", + "zone" ], - "id": "compute.projects.setCommonInstanceMetadata", - "description": "Sets metadata common to all instances within the specified project using the data included in the request.", "response": { - "$ref": "Operation" - } - }, - "getXpnHost": { - "id": "compute.projects.getXpnHost", - "flatPath": "projects/{project}/getXpnHost", - "description": "Gets the shared VPC host project that this project links to. May be empty if no link exists.", + "$ref": "NodeTypeList" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "parameterOrder": [ - "project" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], + "description": "Retrieves a list of node types available to the specified project." + }, + "aggregatedList": { + "id": "compute.nodeTypes.aggregatedList", + "path": "projects/{project}/aggregated/nodeTypes", + "flatPath": "projects/{project}/aggregated/nodeTypes", "httpMethod": "GET", "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "includeAllScopes": { + "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", + "location": "query", + "type": "boolean" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, "project": { "description": "Project ID for this request.", - "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + }, + "serviceProjectNumber": { + "description": "The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.", + "location": "query", "type": "string", - "location": "path" + "format": "int64" } }, + "parameterOrder": [ + "project" + ], "response": { - "$ref": "Project" + "$ref": "NodeTypeAggregatedList" }, - "path": "projects/{project}/getXpnHost" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Retrieves an aggregated list of node types." }, - "moveDisk": { + "get": { + "id": "compute.nodeTypes.get", + "path": "projects/{project}/zones/{zone}/nodeTypes/{nodeType}", + "flatPath": "projects/{project}/zones/{zone}/nodeTypes/{nodeType}", + "httpMethod": "GET", "parameters": { - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" + "nodeType": { + "description": "Name of the node type to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" }, "project": { - "location": "path", "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", - "required": true + "location": "path", + "required": true, + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" } }, "parameterOrder": [ - "project" + "project", + "zone", + "nodeType" ], - "request": { - "$ref": "DiskMoveRequest" - }, "response": { - "$ref": "Operation" + "$ref": "NodeType" }, - "description": "Moves a persistent disk from one zone to another.", - "httpMethod": "POST", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "id": "compute.projects.moveDisk", - "flatPath": "projects/{project}/moveDisk", - "path": "projects/{project}/moveDisk" - }, - "getXpnResources": { + "description": "Returns the specified node type." + } + } + }, + "regionNotificationEndpoints": { + "methods": { + "list": { + "id": "compute.regionNotificationEndpoints.list", + "path": "projects/{project}/regions/{region}/notificationEndpoints", + "flatPath": "projects/{project}/regions/{region}/notificationEndpoints", "httpMethod": "GET", - "id": "compute.projects.getXpnResources", - "description": "Gets service resources (a.k.a service project) associated with this host project.", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "path": "projects/{project}/getXpnResources", - "flatPath": "projects/{project}/getXpnResources", - "parameterOrder": [ - "project" - ], - "response": { - "$ref": "ProjectsGetXpnResources" - }, "parameters": { - "orderBy": { - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "type": "string", - "location": "query" + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" }, "maxResults": { - "type": "integer", - "minimum": "0", "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "location": "query", "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", "format": "uint32" }, - "returnPartialSuccess": { - "type": "boolean", + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." + "type": "string" }, "project": { - "type": "string", "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" }, - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "type": "string", - "location": "query" + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" }, - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", "location": "query", - "type": "string" + "type": "boolean" } - } - }, - "setUsageExportBucket": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/devstorage.full_control", - "https://www.googleapis.com/auth/devstorage.read_only", - "https://www.googleapis.com/auth/devstorage.read_write" - ], - "description": "Enables the usage export feature and sets the usage export bucket where reports are stored. If you provide an empty request body using this method, the usage export feature will be disabled.", - "request": { - "$ref": "UsageExportLocation" }, - "httpMethod": "POST", + "parameterOrder": [ + "project", + "region" + ], "response": { - "$ref": "Operation" + "$ref": "NotificationEndpointList" }, - "flatPath": "projects/{project}/setUsageExportBucket", - "parameterOrder": [ - "project" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], + "description": "Lists the NotificationEndpoints for a project in the given region." + }, + "get": { + "id": "compute.regionNotificationEndpoints.get", + "path": "projects/{project}/regions/{region}/notificationEndpoints/{notificationEndpoint}", + "flatPath": "projects/{project}/regions/{region}/notificationEndpoints/{notificationEndpoint}", + "httpMethod": "GET", "parameters": { - "project": { + "notificationEndpoint": { + "description": "Name of the NotificationEndpoint resource to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "project": { "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, "type": "string" }, - "requestId": { - "type": "string", - "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" } }, - "id": "compute.projects.setUsageExportBucket", - "path": "projects/{project}/setUsageExportBucket" + "parameterOrder": [ + "project", + "region", + "notificationEndpoint" + ], + "response": { + "$ref": "NotificationEndpoint" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Returns the specified NotificationEndpoint resource in the given region." }, - "listXpnHosts": { + "insert": { + "id": "compute.regionNotificationEndpoints.insert", + "path": "projects/{project}/regions/{region}/notificationEndpoints", + "flatPath": "projects/{project}/regions/{region}/notificationEndpoints", + "httpMethod": "POST", "parameters": { "project": { - "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", + "required": true, "type": "string" }, - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "type": "string", - "location": "query" - }, - "orderBy": { - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "type": "string", - "location": "query" - }, - "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "location": "query", - "type": "boolean" + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" }, - "maxResults": { - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "minimum": "0", - "default": "500", - "type": "integer", - "format": "uint32" - }, - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "type": "string", - "location": "query" + "type": "string" } }, - "response": { - "$ref": "XpnHostList" - }, - "flatPath": "projects/{project}/listXpnHosts", - "httpMethod": "POST", "parameterOrder": [ - "project" - ], - "path": "projects/{project}/listXpnHosts", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "project", + "region" ], - "description": "Lists all shared VPC host projects visible to the user in an organization.", "request": { - "$ref": "ProjectsListXpnHostsRequest" + "$ref": "NotificationEndpoint" }, - "id": "compute.projects.listXpnHosts" - }, - "enableXpnHost": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "httpMethod": "POST", "response": { "$ref": "Operation" }, - "description": "Enable this project as a shared VPC host project.", - "parameterOrder": [ - "project" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" ], - "flatPath": "projects/{project}/enableXpnHost", + "description": "Create a NotificationEndpoint in the specified project in the given region using the parameters that are included in the request." + }, + "delete": { + "id": "compute.regionNotificationEndpoints.delete", + "path": "projects/{project}/regions/{region}/notificationEndpoints/{notificationEndpoint}", + "flatPath": "projects/{project}/regions/{region}/notificationEndpoints/{notificationEndpoint}", + "httpMethod": "DELETE", "parameters": { - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" + "notificationEndpoint": { + "description": "Name of the NotificationEndpoint resource to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" }, "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "description": "Project ID for this request.", - "type": "string", - "required": true + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, - "path": "projects/{project}/enableXpnHost", - "id": "compute.projects.enableXpnHost" - }, - "get": { - "flatPath": "projects/{project}", - "description": "Returns the specified Project resource. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request.", - "path": "projects/{project}", + "parameterOrder": [ + "project", + "region", + "notificationEndpoint" + ], "response": { - "$ref": "Project" + "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], + "description": "Deletes the specified NotificationEndpoint in the given region" + } + } + }, + "packetMirrorings": { + "methods": { + "get": { + "id": "compute.packetMirrorings.get", + "path": "projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}", + "flatPath": "projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}", "httpMethod": "GET", - "id": "compute.projects.get", "parameters": { - "project": { - "type": "string", + "packetMirroring": { + "description": "Name of the PacketMirroring resource to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", "required": true, + "type": "string" + }, + "project": { "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "required": true, + "type": "string" } }, "parameterOrder": [ - "project" - ] + "project", + "region", + "packetMirroring" + ], + "response": { + "$ref": "PacketMirroring" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Returns the specified PacketMirroring resource." }, - "moveInstance": { + "insert": { + "id": "compute.packetMirrorings.insert", + "path": "projects/{project}/regions/{region}/packetMirrorings", + "flatPath": "projects/{project}/regions/{region}/packetMirrorings", "httpMethod": "POST", - "request": { - "$ref": "InstanceMoveRequest" - }, "parameters": { "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "type": "string", - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "required": true, + "type": "string" }, "requestId": { "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" + "location": "query", + "type": "string" } }, "parameterOrder": [ - "project" + "project", + "region" ], - "description": "Moves an instance and its attached persistent disks from one zone to another. *Note*: Moving VMs or disks by using this method might cause unexpected behavior. For more information, see the [known issue](/compute/docs/troubleshooting/known-issues#moving_vms_or_disks_using_the_moveinstance_api_or_the_causes_unexpected_behavior).", + "request": { + "$ref": "PacketMirroring" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "id": "compute.projects.moveInstance", - "flatPath": "projects/{project}/moveInstance", - "path": "projects/{project}/moveInstance", - "response": { - "$ref": "Operation" - } + "description": "Creates a PacketMirroring resource in the specified project and region using the data included in the request." }, - "enableXpnResource": { + "patch": { + "id": "compute.packetMirrorings.patch", + "path": "projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}", + "flatPath": "projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}", + "httpMethod": "PATCH", "parameters": { + "packetMirroring": { + "description": "Name of the PacketMirroring resource to patch.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "description": "Project ID for this request.", - "type": "string", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", "required": true, - "location": "path" + "type": "string" }, "requestId": { - "type": "string", "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" + "location": "query", + "type": "string" } }, - "path": "projects/{project}/enableXpnResource", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "description": "Enable service resource (a.k.a service project) for a host project, so that subnets in the host project can be used by instances in the service project.", - "id": "compute.projects.enableXpnResource", - "httpMethod": "POST", - "flatPath": "projects/{project}/enableXpnResource", - "response": { - "$ref": "Operation" - }, "parameterOrder": [ - "project" + "project", + "region", + "packetMirroring" ], "request": { - "$ref": "ProjectsEnableXpnResourceRequest" - } - }, - "disableXpnHost": { + "$ref": "PacketMirroring" + }, "response": { "$ref": "Operation" }, - "path": "projects/{project}/disableXpnHost", - "flatPath": "projects/{project}/disableXpnHost", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Patches the specified PacketMirroring resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules." + }, + "delete": { + "id": "compute.packetMirrorings.delete", + "path": "projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}", + "flatPath": "projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}", + "httpMethod": "DELETE", "parameters": { + "packetMirroring": { + "description": "Name of the PacketMirroring resource to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + }, "project": { "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", + "required": true, "type": "string" }, "requestId": { - "location": "query", "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", "type": "string" } }, - "httpMethod": "POST", "parameterOrder": [ - "project" - ], - "description": "Disable this project as a shared VPC host project.", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "project", + "region", + "packetMirroring" ], - "id": "compute.projects.disableXpnHost" - }, - "disableXpnResource": { "response": { "$ref": "Operation" }, @@ -58226,475 +69032,485 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "request": { - "$ref": "ProjectsDisableXpnResourceRequest" - }, - "description": "Disable a service resource (also known as service project) associated with this host project.", + "description": "Deletes the specified PacketMirroring resource." + }, + "list": { + "id": "compute.packetMirrorings.list", + "path": "projects/{project}/regions/{region}/packetMirrorings", + "flatPath": "projects/{project}/regions/{region}/packetMirrorings", + "httpMethod": "GET", "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, "project": { "description": "Project ID for this request.", - "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", + "required": true, "type": "string" }, - "requestId": { - "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } }, "parameterOrder": [ - "project" + "project", + "region" ], - "httpMethod": "POST", - "flatPath": "projects/{project}/disableXpnResource", - "id": "compute.projects.disableXpnResource", - "path": "projects/{project}/disableXpnResource" - } - } - }, - "globalOrganizationOperations": { - "methods": { - "delete": { - "description": "Deletes the specified Operations resource.", - "path": "locations/global/operations/{operation}", + "response": { + "$ref": "PacketMirroringList" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "flatPath": "locations/global/operations/{operation}", - "parameterOrder": [ - "operation" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "id": "compute.globalOrganizationOperations.delete", + "description": "Retrieves a list of PacketMirroring resources available to the specified project and region." + }, + "aggregatedList": { + "id": "compute.packetMirrorings.aggregatedList", + "path": "projects/{project}/aggregated/packetMirrorings", + "flatPath": "projects/{project}/aggregated/packetMirrorings", + "httpMethod": "GET", "parameters": { - "parentId": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", "location": "query", - "description": "Parent ID for this request.", "type": "string" }, - "operation": { - "type": "string", - "required": true, - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name of the Operations resource to delete." - } - }, - "httpMethod": "DELETE" - }, - "list": { - "id": "compute.globalOrganizationOperations.list", - "path": "locations/global/operations", - "parameters": { - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "type": "string", - "location": "query" + "includeAllScopes": { + "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", + "location": "query", + "type": "boolean" }, "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", "default": "500", - "type": "integer", - "format": "uint32", "minimum": "0", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "location": "query" - }, - "parentId": { - "type": "string", "location": "query", - "description": "Parent ID for this request." + "type": "integer", + "format": "uint32" }, "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", "location": "query", - "type": "string", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported." + "type": "string" }, "pageToken": { - "location": "query", "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, "type": "string" }, "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + }, + "serviceProjectNumber": { + "description": "The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.", "location": "query", - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." + "type": "string", + "format": "int64" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "parameterOrder": [ + "project" ], - "flatPath": "locations/global/operations", "response": { - "$ref": "OperationList" + "$ref": "PacketMirroringAggregatedList" }, - "description": "Retrieves a list of Operation resources contained within the specified organization.", - "httpMethod": "GET" - }, - "get": { - "flatPath": "locations/global/operations/{operation}", - "id": "compute.globalOrganizationOperations.get", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "path": "locations/global/operations/{operation}", - "parameterOrder": [ - "operation" - ], - "description": "Retrieves the specified Operations resource. Gets a list of operations by making a `list()` request.", + "description": "Retrieves an aggregated list of packetMirrorings." + }, + "testIamPermissions": { + "id": "compute.packetMirrorings.testIamPermissions", + "path": "projects/{project}/regions/{region}/packetMirrorings/{resource}/testIamPermissions", + "flatPath": "projects/{project}/regions/{region}/packetMirrorings/{resource}/testIamPermissions", + "httpMethod": "POST", "parameters": { - "operation": { - "type": "string", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "description": "Name of the Operations resource to return.", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" + "type": "string" }, - "parentId": { - "description": "Parent ID for this request.", - "type": "string", - "location": "query" + "region": { + "description": "The name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" } }, - "httpMethod": "GET", + "parameterOrder": [ + "project", + "region", + "resource" + ], + "request": { + "$ref": "TestPermissionsRequest" + }, "response": { - "$ref": "Operation" - } + "$ref": "TestPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Returns permissions that a caller has on the specified resource." } } }, - "regionAutoscalers": { + "projects": { "methods": { - "patch": { - "httpMethod": "PATCH", - "parameterOrder": [ - "project", - "region" - ], + "get": { + "id": "compute.projects.get", + "path": "projects/{project}", + "flatPath": "projects/{project}", + "httpMethod": "GET", "parameters": { - "autoscaler": { - "type": "string", - "description": "Name of the autoscaler to patch.", - "location": "query", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" - }, - "region": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the region scoping this request.", - "type": "string", - "required": true, - "location": "path" - }, - "requestId": { - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" - }, "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", "type": "string" } }, - "id": "compute.regionAutoscalers.patch", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "parameterOrder": [ + "project" ], - "path": "projects/{project}/regions/{region}/autoscalers", - "description": "Updates an autoscaler in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.", "response": { - "$ref": "Operation" + "$ref": "Project" }, - "flatPath": "projects/{project}/regions/{region}/autoscalers", - "request": { - "$ref": "Autoscaler" - } - }, - "list": { - "description": "Retrieves a list of autoscalers contained within the specified region.", - "parameterOrder": [ - "project", - "region" - ], - "path": "projects/{project}/regions/{region}/autoscalers", - "flatPath": "projects/{project}/regions/{region}/autoscalers", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "id": "compute.regionAutoscalers.list", - "httpMethod": "GET", + "description": "Returns the specified Project resource. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request." + }, + "setCommonInstanceMetadata": { + "id": "compute.projects.setCommonInstanceMetadata", + "path": "projects/{project}/setCommonInstanceMetadata", + "flatPath": "projects/{project}/setCommonInstanceMetadata", + "httpMethod": "POST", "parameters": { - "maxResults": { - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "minimum": "0", - "format": "uint32", - "location": "query", - "type": "integer", - "default": "500" - }, "project": { - "required": true, - "location": "path", "description": "Project ID for this request.", - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" }, - "pageToken": { - "type": "string", + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results." - }, - "orderBy": { - "type": "string", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "location": "query" + "type": "string" + } + }, + "parameterOrder": [ + "project" + ], + "request": { + "$ref": "Metadata" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Sets metadata common to all instances within the specified project using the data included in the request." + }, + "setUsageExportBucket": { + "id": "compute.projects.setUsageExportBucket", + "path": "projects/{project}/setUsageExportBucket", + "flatPath": "projects/{project}/setUsageExportBucket", + "httpMethod": "POST", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" }, - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", "type": "string" - }, - "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "type": "boolean", - "location": "query" - }, - "region": { - "description": "Name of the region scoping this request.", + } + }, + "parameterOrder": [ + "project" + ], + "request": { + "$ref": "UsageExportLocation" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/devstorage.full_control", + "https://www.googleapis.com/auth/devstorage.read_only", + "https://www.googleapis.com/auth/devstorage.read_write" + ], + "description": "Enables the usage export feature and sets the usage export bucket where reports are stored. If you provide an empty request body using this method, the usage export feature will be disabled." + }, + "moveInstance": { + "id": "compute.projects.moveInstance", + "path": "projects/{project}/moveInstance", + "flatPath": "projects/{project}/moveInstance", + "httpMethod": "POST", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "required": true, "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, - "response": { - "$ref": "RegionAutoscalerList" - } - }, - "delete": { + "parameterOrder": [ + "project" + ], + "request": { + "$ref": "InstanceMoveRequest" + }, "response": { "$ref": "Operation" }, - "path": "projects/{project}/regions/{region}/autoscalers/{autoscaler}", - "parameterOrder": [ - "project", - "region", - "autoscaler" - ], "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "description": "Deletes the specified autoscaler.", - "id": "compute.regionAutoscalers.delete", - "httpMethod": "DELETE", - "flatPath": "projects/{project}/regions/{region}/autoscalers/{autoscaler}", + "deprecated": true, + "description": "Moves an instance and its attached persistent disks from one zone to another. *Note*: Moving VMs or disks by using this method might cause unexpected behavior. For more information, see the [known issue](/compute/docs/troubleshooting/known-issues#moving_vms_or_disks_using_the_moveinstance_api_or_the_causes_unexpected_behavior). [Deprecated] This method is deprecated. See [moving instance across zones](/compute/docs/instances/moving-instance-across-zones) instead." + }, + "moveDisk": { + "id": "compute.projects.moveDisk", + "path": "projects/{project}/moveDisk", + "flatPath": "projects/{project}/moveDisk", + "httpMethod": "POST", "parameters": { - "region": { - "location": "path", - "description": "Name of the region scoping this request.", - "type": "string", - "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" - }, "project": { - "location": "path", - "required": true, - "type": "string", "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "autoscaler": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true, - "description": "Name of the autoscaler to delete.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", + "required": true, "type": "string" }, "requestId": { - "type": "string", "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" + "location": "query", + "type": "string" } - } - }, - "insert": { - "flatPath": "projects/{project}/regions/{region}/autoscalers", + }, + "parameterOrder": [ + "project" + ], "request": { - "$ref": "Autoscaler" + "$ref": "DiskMoveRequest" + }, + "response": { + "$ref": "Operation" }, - "httpMethod": "POST", - "path": "projects/{project}/regions/{region}/autoscalers", - "id": "compute.regionAutoscalers.insert", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], + "description": "Moves a persistent disk from one zone to another." + }, + "listXpnHosts": { + "id": "compute.projects.listXpnHosts", + "path": "projects/{project}/listXpnHosts", + "flatPath": "projects/{project}/listXpnHosts", + "httpMethod": "POST", "parameters": { - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", "location": "query", "type": "string" }, - "region": { - "location": "path", - "required": true, - "description": "Name of the region scoping this request.", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" }, "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "description": "Project ID for this request.", - "type": "string", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "required": true + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } }, - "response": { - "$ref": "Operation" - }, "parameterOrder": [ - "project", - "region" + "project" ], - "description": "Creates an autoscaler in the specified project using the data included in the request." - }, - "update": { - "path": "projects/{project}/regions/{region}/autoscalers", "request": { - "$ref": "Autoscaler" + "$ref": "ProjectsListXpnHostsRequest" + }, + "response": { + "$ref": "XpnHostList" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], + "description": "Lists all shared VPC host projects visible to the user in an organization." + }, + "enableXpnHost": { + "id": "compute.projects.enableXpnHost", + "path": "projects/{project}/enableXpnHost", + "flatPath": "projects/{project}/enableXpnHost", + "httpMethod": "POST", "parameters": { - "requestId": { - "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - }, "project": { - "type": "string", - "location": "path", - "required": true, + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request." - }, - "region": { - "type": "string", - "description": "Name of the region scoping this request.", "location": "path", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "type": "string" }, - "autoscaler": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "description": "Name of the autoscaler to update." + "type": "string" } }, - "description": "Updates an autoscaler in the specified project using the data included in the request.", - "flatPath": "projects/{project}/regions/{region}/autoscalers", - "httpMethod": "PUT", - "id": "compute.regionAutoscalers.update", + "parameterOrder": [ + "project" + ], "response": { "$ref": "Operation" }, - "parameterOrder": [ - "project", - "region" - ] + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Enable this project as a shared VPC host project." }, - "get": { - "path": "projects/{project}/regions/{region}/autoscalers/{autoscaler}", + "disableXpnHost": { + "id": "compute.projects.disableXpnHost", + "path": "projects/{project}/disableXpnHost", + "flatPath": "projects/{project}/disableXpnHost", + "httpMethod": "POST", "parameters": { - "autoscaler": { - "type": "string", - "required": true, - "description": "Name of the autoscaler to return.", - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" - }, "project": { - "location": "path", + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "type": "string", - "description": "Project ID for this request." + "type": "string" }, - "region": { - "description": "Name of the region scoping this request.", - "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "location": "path", + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", "type": "string" } }, - "description": "Returns the specified autoscaler.", - "response": { - "$ref": "Autoscaler" - }, - "flatPath": "projects/{project}/regions/{region}/autoscalers/{autoscaler}", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "id": "compute.regionAutoscalers.get", - "parameterOrder": [ - "project", - "region", - "autoscaler" - ], - "httpMethod": "GET" - } - } - }, - "regionHealthChecks": { - "methods": { - "insert": { "parameterOrder": [ - "project", - "region" + "project" ], - "path": "projects/{project}/regions/{region}/healthChecks", - "flatPath": "projects/{project}/regions/{region}/healthChecks", - "request": { - "$ref": "HealthCheck" + "response": { + "$ref": "Operation" }, - "id": "compute.regionHealthChecks.insert", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "description": "Creates a HealthCheck resource in the specified project using the data included in the request.", + "description": "Disable this project as a shared VPC host project." + }, + "enableXpnResource": { + "id": "compute.projects.enableXpnResource", + "path": "projects/{project}/enableXpnResource", + "flatPath": "projects/{project}/enableXpnResource", + "httpMethod": "POST", "parameters": { "project": { - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "location": "path", "description": "Project ID for this request.", - "required": true - }, - "region": { + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", - "description": "Name of the region scoping this request." + "type": "string" }, "requestId": { "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", @@ -58702,959 +69518,888 @@ "type": "string" } }, - "httpMethod": "POST", + "parameterOrder": [ + "project" + ], + "request": { + "$ref": "ProjectsEnableXpnResourceRequest" + }, "response": { "$ref": "Operation" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Enable service resource (a.k.a service project) for a host project, so that subnets in the host project can be used by instances in the service project." }, - "delete": { - "description": "Deletes the specified HealthCheck resource.", - "httpMethod": "DELETE", - "path": "projects/{project}/regions/{region}/healthChecks/{healthCheck}", + "disableXpnResource": { + "id": "compute.projects.disableXpnResource", + "path": "projects/{project}/disableXpnResource", + "flatPath": "projects/{project}/disableXpnResource", + "httpMethod": "POST", "parameters": { - "healthCheck": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "description": "Name of the HealthCheck resource to delete." + "type": "string" }, "requestId": { - "type": "string", "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" - }, - "project": { - "location": "path", - "required": true, - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "query", "type": "string" - }, - "region": { - "type": "string", - "description": "Name of the region scoping this request.", - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], "parameterOrder": [ - "project", - "region", - "healthCheck" + "project" ], - "id": "compute.regionHealthChecks.delete", + "request": { + "$ref": "ProjectsDisableXpnResourceRequest" + }, "response": { "$ref": "Operation" }, - "flatPath": "projects/{project}/regions/{region}/healthChecks/{healthCheck}" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Disable a service resource (also known as service project) associated with this host project." }, - "patch": { - "path": "projects/{project}/regions/{region}/healthChecks/{healthCheck}", - "flatPath": "projects/{project}/regions/{region}/healthChecks/{healthCheck}", + "getXpnHost": { + "id": "compute.projects.getXpnHost", + "path": "projects/{project}/getXpnHost", + "flatPath": "projects/{project}/getXpnHost", + "httpMethod": "GET", "parameters": { - "healthCheck": { - "description": "Name of the HealthCheck resource to patch.", - "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", - "location": "path" - }, - "requestId": { - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" - }, "project": { - "type": "string", - "location": "path", - "required": true, + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request." - }, - "region": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", "required": true, - "type": "string", - "description": "Name of the region scoping this request.", - "location": "path" + "type": "string" } }, - "id": "compute.regionHealthChecks.patch", + "parameterOrder": [ + "project" + ], + "response": { + "$ref": "Project" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "request": { - "$ref": "HealthCheck" - }, - "response": { - "$ref": "Operation" - }, - "httpMethod": "PATCH", - "description": "Updates a HealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.", - "parameterOrder": [ - "project", - "region", - "healthCheck" - ] + "description": "Gets the shared VPC host project that this project links to. May be empty if no link exists." }, - "get": { - "parameterOrder": [ - "project", - "region", - "healthCheck" - ], + "getXpnResources": { + "id": "compute.projects.getXpnResources", + "path": "projects/{project}/getXpnResources", + "flatPath": "projects/{project}/getXpnResources", + "httpMethod": "GET", "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, "project": { - "required": true, - "location": "path", "description": "Project ID for this request.", - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "healthCheck": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "description": "Name of the HealthCheck resource to return.", - "required": true - }, - "region": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", "required": true, - "location": "path", - "description": "Name of the region scoping this request." + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } }, - "flatPath": "projects/{project}/regions/{region}/healthChecks/{healthCheck}", - "path": "projects/{project}/regions/{region}/healthChecks/{healthCheck}", - "description": "Returns the specified HealthCheck resource. Gets a list of available health checks by making a list() request.", - "id": "compute.regionHealthChecks.get", - "httpMethod": "GET", + "parameterOrder": [ + "project" + ], + "response": { + "$ref": "ProjectsGetXpnResources" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], - "response": { - "$ref": "HealthCheck" - } + "description": "Gets service resources (a.k.a service project) associated with this host project." }, - "update": { - "description": "Updates a HealthCheck resource in the specified project using the data included in the request.", + "setDefaultNetworkTier": { + "id": "compute.projects.setDefaultNetworkTier", + "path": "projects/{project}/setDefaultNetworkTier", + "flatPath": "projects/{project}/setDefaultNetworkTier", + "httpMethod": "POST", "parameters": { - "healthCheck": { - "type": "string", - "location": "path", - "description": "Name of the HealthCheck resource to update.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true - }, - "region": { - "location": "path", - "type": "string", - "description": "Name of the region scoping this request.", - "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" - }, "project": { - "location": "path", "description": "Project ID for this request.", - "type": "string", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" }, "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "type": "string" } }, - "path": "projects/{project}/regions/{region}/healthChecks/{healthCheck}", - "id": "compute.regionHealthChecks.update", + "parameterOrder": [ + "project" + ], + "request": { + "$ref": "ProjectsSetDefaultNetworkTierRequest" + }, "response": { "$ref": "Operation" }, - "httpMethod": "PUT", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "parameterOrder": [ - "project", - "region", - "healthCheck" - ], - "request": { - "$ref": "HealthCheck" - }, - "flatPath": "projects/{project}/regions/{region}/healthChecks/{healthCheck}" - }, + "description": "Sets the default network tier of the project. The default network tier is used when an address/forwardingRule/instance is created without specifying the network tier field." + } + } + }, + "publicAdvertisedPrefixes": { + "methods": { "list": { + "id": "compute.publicAdvertisedPrefixes.list", + "path": "projects/{project}/global/publicAdvertisedPrefixes", + "flatPath": "projects/{project}/global/publicAdvertisedPrefixes", "httpMethod": "GET", - "path": "projects/{project}/regions/{region}/healthChecks", - "flatPath": "projects/{project}/regions/{region}/healthChecks", - "id": "compute.regionHealthChecks.list", "parameters": { - "maxResults": { - "minimum": "0", + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", "location": "query", + "type": "string" + }, + "maxResults": { "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", "default": "500", - "format": "uint32", - "type": "integer" + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" }, - "region": { - "required": true, - "location": "path", - "type": "string", - "description": "Name of the region scoping this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" }, "pageToken": { "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "location": "query", "type": "string" }, - "orderBy": { - "type": "string", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "location": "query" + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + } + }, + "parameterOrder": [ + "project" + ], + "response": { + "$ref": "PublicAdvertisedPrefixList" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Lists the PublicAdvertisedPrefixes for a project." + }, + "get": { + "id": "compute.publicAdvertisedPrefixes.get", + "path": "projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}", + "flatPath": "projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}", + "httpMethod": "GET", + "parameters": { "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, "type": "string" }, - "returnPartialSuccess": { - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "location": "query" - }, - "filter": { - "location": "query", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", + "publicAdvertisedPrefix": { + "description": "Name of the PublicAdvertisedPrefix resource to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, "type": "string" } }, "parameterOrder": [ "project", - "region" + "publicAdvertisedPrefix" ], + "response": { + "$ref": "PublicAdvertisedPrefix" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "response": { - "$ref": "HealthCheckList" - }, - "description": "Retrieves the list of HealthCheck resources available to the specified project." - } - } - }, - "regionHealthCheckServices": { - "methods": { + "description": "Returns the specified PublicAdvertisedPrefix resource." + }, "insert": { - "response": { - "$ref": "Operation" - }, - "path": "projects/{project}/regions/{region}/healthCheckServices", - "id": "compute.regionHealthCheckServices.insert", - "parameterOrder": [ - "project", - "region" - ], + "id": "compute.publicAdvertisedPrefixes.insert", + "path": "projects/{project}/global/publicAdvertisedPrefixes", + "flatPath": "projects/{project}/global/publicAdvertisedPrefixes", "httpMethod": "POST", - "description": "Creates a regional HealthCheckService resource in the specified project and region using the data included in the request.", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], "parameters": { "project": { - "required": true, - "location": "path", - "type": "string", + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request." + "location": "path", + "required": true, + "type": "string" }, "requestId": { - "type": "string", + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - }, - "region": { - "type": "string", - "description": "Name of the region scoping this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true, - "location": "path" + "type": "string" } }, + "parameterOrder": [ + "project" + ], "request": { - "$ref": "HealthCheckService" + "$ref": "PublicAdvertisedPrefix" }, - "flatPath": "projects/{project}/regions/{region}/healthCheckServices" - }, - "get": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], "response": { - "$ref": "HealthCheckService" + "$ref": "Operation" }, - "parameterOrder": [ - "project", - "region", - "healthCheckService" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" ], + "description": "Creates a PublicAdvertisedPrefix in the specified project using the parameters that are included in the request." + }, + "delete": { + "id": "compute.publicAdvertisedPrefixes.delete", + "path": "projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}", + "flatPath": "projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}", + "httpMethod": "DELETE", "parameters": { - "region": { - "location": "path", - "description": "Name of the region scoping this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", - "required": true - }, "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", "location": "path", "required": true, - "description": "Project ID for this request." + "type": "string" }, - "healthCheckService": { - "required": true, + "publicAdvertisedPrefix": { + "description": "Name of the PublicAdvertisedPrefix resource to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "description": "Name of the HealthCheckService to update. The name must be 1-63 characters long, and comply with RFC1035.", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", "type": "string" } }, - "httpMethod": "GET", - "path": "projects/{project}/regions/{region}/healthCheckServices/{healthCheckService}", - "flatPath": "projects/{project}/regions/{region}/healthCheckServices/{healthCheckService}", - "description": "Returns the specified regional HealthCheckService resource.", - "id": "compute.regionHealthCheckServices.get" + "parameterOrder": [ + "project", + "publicAdvertisedPrefix" + ], + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Deletes the specified PublicAdvertisedPrefix" }, - "list": { + "patch": { + "id": "compute.publicAdvertisedPrefixes.patch", + "path": "projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}", + "flatPath": "projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}", + "httpMethod": "PATCH", "parameters": { "project": { - "required": true, + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "description": "Project ID for this request.", + "required": true, "type": "string" }, - "pageToken": { - "type": "string", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "location": "query" - }, - "region": { - "description": "Name of the region scoping this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "publicAdvertisedPrefix": { + "description": "Name of the PublicAdvertisedPrefix resource to patch.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, "type": "string" }, - "maxResults": { - "minimum": "0", - "format": "uint32", - "default": "500", - "location": "query", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "type": "integer" - }, - "returnPartialSuccess": { - "location": "query", - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." - }, - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "type": "string", - "location": "query" - }, - "orderBy": { + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "type": "string", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported." + "type": "string" } }, - "flatPath": "projects/{project}/regions/{region}/healthCheckServices", + "parameterOrder": [ + "project", + "publicAdvertisedPrefix" + ], + "request": { + "$ref": "PublicAdvertisedPrefix" + }, "response": { - "$ref": "HealthCheckServicesList" + "$ref": "Operation" }, - "description": "Lists all the HealthCheckService resources that have been configured for the specified project in the given region.", - "path": "projects/{project}/regions/{region}/healthCheckServices", - "id": "compute.regionHealthCheckServices.list", - "httpMethod": "GET", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], - "parameterOrder": [ - "project", - "region" - ] + "description": "Patches the specified Router resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules." }, - "patch": { - "parameterOrder": [ - "project", - "region", - "healthCheckService" - ], - "flatPath": "projects/{project}/regions/{region}/healthCheckServices/{healthCheckService}", + "announce": { + "id": "compute.publicAdvertisedPrefixes.announce", + "path": "projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}/announce", + "flatPath": "projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}/announce", + "httpMethod": "POST", "parameters": { - "region": { - "description": "Name of the region scoping this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", - "required": true, - "location": "path" - }, "project": { "description": "Project ID for this request.", - "type": "string", - "location": "path", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true + "location": "path", + "required": true, + "type": "string" + }, + "publicAdvertisedPrefix": { + "description": "The name of the public advertised prefix. It should comply with RFC1035.", + "location": "path", + "required": true, + "type": "string" }, "requestId": { - "type": "string", + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - }, - "healthCheckService": { - "description": "Name of the HealthCheckService to update. The name must be 1-63 characters long, and comply with RFC1035.", - "required": true, - "location": "path", "type": "string" } }, - "request": { - "$ref": "HealthCheckService" + "parameterOrder": [ + "project", + "publicAdvertisedPrefix" + ], + "response": { + "$ref": "Operation" }, - "path": "projects/{project}/regions/{region}/healthCheckServices/{healthCheckService}", - "description": "Updates the specified regional HealthCheckService resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "response": { - "$ref": "Operation" - }, - "id": "compute.regionHealthCheckServices.patch", - "httpMethod": "PATCH" + "description": "Announces the specified PublicAdvertisedPrefix" }, - "delete": { - "id": "compute.regionHealthCheckServices.delete", + "withdraw": { + "id": "compute.publicAdvertisedPrefixes.withdraw", + "path": "projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}/withdraw", + "flatPath": "projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}/withdraw", + "httpMethod": "POST", "parameters": { - "requestId": { - "type": "string", - "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - }, "project": { - "location": "path", - "type": "string", - "required": true, "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "region": { - "description": "Name of the region scoping this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "required": true, "type": "string" }, - "healthCheckService": { + "publicAdvertisedPrefix": { + "description": "The name of the public advertised prefix. It should comply with RFC1035.", "location": "path", - "type": "string", "required": true, - "description": "Name of the HealthCheckService to delete. The name must be 1-63 characters long, and comply with RFC1035." + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, "parameterOrder": [ "project", - "region", - "healthCheckService" + "publicAdvertisedPrefix" ], + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "flatPath": "projects/{project}/regions/{region}/healthCheckServices/{healthCheckService}", - "description": "Deletes the specified regional HealthCheckService.", - "response": { - "$ref": "Operation" - }, - "httpMethod": "DELETE", - "path": "projects/{project}/regions/{region}/healthCheckServices/{healthCheckService}" + "description": "Withdraws the specified PublicAdvertisedPrefix" } } }, - "licenseCodes": { + "globalPublicDelegatedPrefixes": { "methods": { - "testIamPermissions": { - "id": "compute.licenseCodes.testIamPermissions", + "list": { + "id": "compute.globalPublicDelegatedPrefixes.list", + "path": "projects/{project}/global/publicDelegatedPrefixes", + "flatPath": "projects/{project}/global/publicDelegatedPrefixes", + "httpMethod": "GET", "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, "project": { "description": "Project ID for this request.", - "type": "string", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "location": "path" + "type": "string" }, - "resource": { - "required": true, - "location": "path", - "description": "Name or id of the resource for this request.", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } }, - "httpMethod": "POST", + "parameterOrder": [ + "project" + ], + "response": { + "$ref": "PublicDelegatedPrefixList" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "description": "Returns permissions that a caller has on the specified resource. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. ", - "path": "projects/{project}/global/licenseCodes/{resource}/testIamPermissions", - "flatPath": "projects/{project}/global/licenseCodes/{resource}/testIamPermissions", - "response": { - "$ref": "TestPermissionsResponse" - }, - "parameterOrder": [ - "project", - "resource" - ], - "request": { - "$ref": "TestPermissionsRequest" - } + "description": "Lists the global PublicDelegatedPrefixes for a project." }, "get": { + "id": "compute.globalPublicDelegatedPrefixes.get", + "path": "projects/{project}/global/publicDelegatedPrefixes/{publicDelegatedPrefix}", + "flatPath": "projects/{project}/global/publicDelegatedPrefixes/{publicDelegatedPrefix}", + "httpMethod": "GET", "parameters": { - "licenseCode": { - "pattern": "[0-9]{0,61}?", - "required": true, - "description": "Number corresponding to the License code resource to return.", - "type": "string", - "location": "path" - }, "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, + "type": "string" + }, + "publicDelegatedPrefix": { + "description": "Name of the PublicDelegatedPrefix resource to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", + "required": true, "type": "string" } }, - "httpMethod": "GET", - "response": { - "$ref": "LicenseCode" - }, "parameterOrder": [ "project", - "licenseCode" - ], - "description": "Return a specified license code. License codes are mirrored across all projects that have permissions to read the License Code. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. ", - "path": "projects/{project}/global/licenseCodes/{licenseCode}", - "id": "compute.licenseCodes.get", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "publicDelegatedPrefix" ], - "flatPath": "projects/{project}/global/licenseCodes/{licenseCode}" - } - } - }, - "reservations": { - "methods": { - "aggregatedList": { + "response": { + "$ref": "PublicDelegatedPrefix" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], + "description": "Returns the specified global PublicDelegatedPrefix resource." + }, + "insert": { + "id": "compute.globalPublicDelegatedPrefixes.insert", + "path": "projects/{project}/global/publicDelegatedPrefixes", + "flatPath": "projects/{project}/global/publicDelegatedPrefixes", + "httpMethod": "POST", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + } + }, "parameterOrder": [ "project" ], - "description": "Retrieves an aggregated list of reservations.", - "flatPath": "projects/{project}/aggregated/reservations", - "httpMethod": "GET", + "request": { + "$ref": "PublicDelegatedPrefix" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Creates a global PublicDelegatedPrefix in the specified project using the parameters that are included in the request." + }, + "delete": { + "id": "compute.globalPublicDelegatedPrefixes.delete", + "path": "projects/{project}/global/publicDelegatedPrefixes/{publicDelegatedPrefix}", + "flatPath": "projects/{project}/global/publicDelegatedPrefixes/{publicDelegatedPrefix}", + "httpMethod": "DELETE", "parameters": { - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "type": "string", - "location": "query" - }, - "orderBy": { - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "type": "string", - "location": "query" - }, "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "description": "Project ID for this request.", - "type": "string", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "required": true - }, - "returnPartialSuccess": { - "location": "query", - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." - }, - "maxResults": { - "default": "500", - "type": "integer", - "minimum": "0", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "format": "uint32", - "location": "query" + "required": true, + "type": "string" }, - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "location": "query", + "publicDelegatedPrefix": { + "description": "Name of the PublicDelegatedPrefix resource to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, "type": "string" }, - "includeAllScopes": { - "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "type": "boolean" + "type": "string" } }, + "parameterOrder": [ + "project", + "publicDelegatedPrefix" + ], "response": { - "$ref": "ReservationAggregatedList" + "$ref": "Operation" }, - "path": "projects/{project}/aggregated/reservations", - "id": "compute.reservations.aggregatedList" - }, - "insert": { - "description": "Creates a new reservation. For more information, read Reserving zonal resources.", - "path": "projects/{project}/zones/{zone}/reservations", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "parameterOrder": [ - "project", - "zone" - ], + "description": "Deletes the specified global PublicDelegatedPrefix." + }, + "patch": { + "id": "compute.globalPublicDelegatedPrefixes.patch", + "path": "projects/{project}/global/publicDelegatedPrefixes/{publicDelegatedPrefix}", + "flatPath": "projects/{project}/global/publicDelegatedPrefixes/{publicDelegatedPrefix}", + "httpMethod": "PATCH", "parameters": { - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" - }, "project": { - "type": "string", - "location": "path", + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "description": "Project ID for this request." + "type": "string" }, - "zone": { - "type": "string", + "publicDelegatedPrefix": { + "description": "Name of the PublicDelegatedPrefix resource to patch.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, - "description": "Name of the zone for this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, - "flatPath": "projects/{project}/zones/{zone}/reservations", + "parameterOrder": [ + "project", + "publicDelegatedPrefix" + ], "request": { - "$ref": "Reservation" + "$ref": "PublicDelegatedPrefix" }, "response": { "$ref": "Operation" }, - "id": "compute.reservations.insert", - "httpMethod": "POST" - }, - "list": { - "parameterOrder": [ - "project", - "zone" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" ], - "parameters": { - "filter": { - "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "location": "query" - }, - "zone": { - "location": "path", - "type": "string", - "required": true, - "description": "Name of the zone for this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" - }, - "project": { - "required": true, - "description": "Project ID for this request.", - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "location": "path" + "description": "Patches the specified global PublicDelegatedPrefix resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules." + } + } + }, + "publicDelegatedPrefixes": { + "methods": { + "list": { + "id": "compute.publicDelegatedPrefixes.list", + "path": "projects/{project}/regions/{region}/publicDelegatedPrefixes", + "flatPath": "projects/{project}/regions/{region}/publicDelegatedPrefixes", + "httpMethod": "GET", + "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" }, "maxResults": { - "type": "integer", - "minimum": "0", + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", "default": "500", + "minimum": "0", "location": "query", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "type": "integer", "format": "uint32" }, "orderBy": { "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "type": "string", - "location": "query" + "location": "query", + "type": "string" }, "pageToken": { - "location": "query", "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region of this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, "type": "string" }, "returnPartialSuccess": { - "type": "boolean", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." + "type": "boolean" } }, - "path": "projects/{project}/zones/{zone}/reservations", - "httpMethod": "GET", - "id": "compute.reservations.list", - "flatPath": "projects/{project}/zones/{zone}/reservations", - "description": "A list of all the reservations that have been configured for the specified project in specified zone.", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "response": { - "$ref": "ReservationList" - } - }, - "get": { - "description": "Retrieves information about the specified reservation.", - "id": "compute.reservations.get", "parameterOrder": [ "project", - "zone", - "reservation" + "region" ], - "path": "projects/{project}/zones/{zone}/reservations/{reservation}", - "httpMethod": "GET", - "flatPath": "projects/{project}/zones/{zone}/reservations/{reservation}", "response": { - "$ref": "Reservation" + "$ref": "PublicDelegatedPrefixList" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], + "description": "Lists the PublicDelegatedPrefixes for a project in the given region." + }, + "get": { + "id": "compute.publicDelegatedPrefixes.get", + "path": "projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}", + "flatPath": "projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}", + "httpMethod": "GET", "parameters": { "project": { - "required": true, - "location": "path", + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", - "description": "Project ID for this request." - }, - "zone": { - "required": true, "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", - "description": "Name of the zone for this request." - }, - "reservation": { "required": true, + "type": "string" + }, + "publicDelegatedPrefix": { + "description": "Name of the PublicDelegatedPrefix resource to return.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", "location": "path", - "description": "Name of the reservation to retrieve." - } - } - }, - "delete": { - "response": { - "$ref": "Operation" - }, - "parameters": { - "zone": { "required": true, - "location": "path", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the zone for this request." + "type": "string" }, - "reservation": { - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "region": { + "description": "Name of the region of this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "description": "Name of the reservation to delete.", - "required": true - }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" - }, - "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", "required": true, - "location": "path", "type": "string" } }, - "path": "projects/{project}/zones/{zone}/reservations/{reservation}", "parameterOrder": [ "project", - "zone", - "reservation" + "region", + "publicDelegatedPrefix" ], - "description": "Deletes the specified reservation.", - "httpMethod": "DELETE", - "flatPath": "projects/{project}/zones/{zone}/reservations/{reservation}", - "id": "compute.reservations.delete", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ] - }, - "testIamPermissions": { - "request": { - "$ref": "TestPermissionsRequest" + "response": { + "$ref": "PublicDelegatedPrefix" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "response": { - "$ref": "TestPermissionsResponse" - }, + "description": "Returns the specified PublicDelegatedPrefix resource in the given region." + }, + "insert": { + "id": "compute.publicDelegatedPrefixes.insert", + "path": "projects/{project}/regions/{region}/publicDelegatedPrefixes", + "flatPath": "projects/{project}/regions/{region}/publicDelegatedPrefixes", + "httpMethod": "POST", "parameters": { "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, "location": "path", - "type": "string", - "description": "Project ID for this request." + "required": true, + "type": "string" }, - "zone": { - "type": "string", + "region": { + "description": "Name of the region of this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", "required": true, - "description": "The name of the zone for this request.", - "location": "path" + "type": "string" }, - "resource": { - "description": "Name or id of the resource for this request.", - "required": true, - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "location": "path" + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, "parameterOrder": [ "project", - "zone", - "resource" + "region" ], - "description": "Returns permissions that a caller has on the specified resource.", - "flatPath": "projects/{project}/zones/{zone}/reservations/{resource}/testIamPermissions", - "path": "projects/{project}/zones/{zone}/reservations/{resource}/testIamPermissions", - "id": "compute.reservations.testIamPermissions", - "httpMethod": "POST" + "request": { + "$ref": "PublicDelegatedPrefix" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Creates a PublicDelegatedPrefix in the specified project in the given region using the parameters that are included in the request." }, - "setIamPolicy": { - "id": "compute.reservations.setIamPolicy", + "delete": { + "id": "compute.publicDelegatedPrefixes.delete", + "path": "projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}", + "flatPath": "projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}", + "httpMethod": "DELETE", "parameters": { "project": { - "required": true, - "type": "string", "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "required": true, + "type": "string" }, - "zone": { - "type": "string", - "description": "The name of the zone for this request.", + "publicDelegatedPrefix": { + "description": "Name of the PublicDelegatedPrefix resource to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true - }, - "resource": { - "type": "string", "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region of this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name or id of the resource for this request." + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, - "description": "Sets the access control policy on the specified resource. Replaces any existing policy.", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "parameterOrder": [ + "project", + "region", + "publicDelegatedPrefix" ], "response": { - "$ref": "Policy" - }, - "httpMethod": "POST", - "request": { - "$ref": "ZoneSetPolicyRequest" + "$ref": "Operation" }, - "path": "projects/{project}/zones/{zone}/reservations/{resource}/setIamPolicy", - "parameterOrder": [ - "project", - "zone", - "resource" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" ], - "flatPath": "projects/{project}/zones/{zone}/reservations/{resource}/setIamPolicy" + "description": "Deletes the specified PublicDelegatedPrefix in the given region." }, - "resize": { + "patch": { + "id": "compute.publicDelegatedPrefixes.patch", + "path": "projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}", + "flatPath": "projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}", + "httpMethod": "PATCH", "parameters": { - "reservation": { - "required": true, - "description": "Name of the reservation to update.", - "location": "path", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" - }, "project": { - "type": "string", "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "required": true - }, - "zone": { - "type": "string", "required": true, + "type": "string" + }, + "publicDelegatedPrefix": { + "description": "Name of the PublicDelegatedPrefix resource to patch.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the zone for this request." + "location": "path", + "required": true, + "type": "string" }, "requestId": { "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", @@ -59662,9 +70407,13 @@ "type": "string" } }, - "path": "projects/{project}/zones/{zone}/reservations/{reservation}/resize", + "parameterOrder": [ + "project", + "region", + "publicDelegatedPrefix" + ], "request": { - "$ref": "ReservationsResizeRequest" + "$ref": "PublicDelegatedPrefix" }, "response": { "$ref": "Operation" @@ -59673,102 +70422,77 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "httpMethod": "POST", - "description": "Resizes the reservation (applicable to standalone reservations only). For more information, read Modifying reservations.", - "flatPath": "projects/{project}/zones/{zone}/reservations/{reservation}/resize", - "id": "compute.reservations.resize", - "parameterOrder": [ - "project", - "zone", - "reservation" - ] + "description": "Patches the specified PublicDelegatedPrefix resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules." }, - "getIamPolicy": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "response": { - "$ref": "Policy" - }, - "parameterOrder": [ - "project", - "zone", - "resource" - ], - "path": "projects/{project}/zones/{zone}/reservations/{resource}/getIamPolicy", - "httpMethod": "GET", - "id": "compute.reservations.getIamPolicy", - "flatPath": "projects/{project}/zones/{zone}/reservations/{resource}/getIamPolicy", - "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.", + "announce": { + "id": "compute.publicDelegatedPrefixes.announce", + "path": "projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}/announce", + "flatPath": "projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}/announce", + "httpMethod": "POST", "parameters": { "project": { - "required": true, + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "description": "Project ID for this request.", + "required": true, "type": "string" }, - "zone": { + "publicDelegatedPrefix": { + "description": "The name of the public delegated prefix. It should comply with RFC1035.", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "required": true, - "description": "The name of the zone for this request.", "type": "string" }, - "resource": { - "type": "string", - "required": true, - "description": "Name or id of the resource for this request.", + "region": { + "description": "The name of the region where the public delegated prefix is located. It should comply with RFC1035.", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" + "required": true, + "type": "string" }, - "optionsRequestedPolicyVersion": { - "description": "Requested IAM Policy version.", - "type": "integer", + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "format": "int32" + "type": "string" } - } + }, + "parameterOrder": [ + "project", + "region", + "publicDelegatedPrefix" + ], + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Announces the specified PublicDelegatedPrefix in the given region." }, - "update": { - "description": "Update share settings of the reservation.", - "flatPath": "projects/{project}/zones/{zone}/reservations/{reservation}", - "path": "projects/{project}/zones/{zone}/reservations/{reservation}", - "httpMethod": "PATCH", + "withdraw": { + "id": "compute.publicDelegatedPrefixes.withdraw", + "path": "projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}/withdraw", + "flatPath": "projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}/withdraw", + "httpMethod": "POST", "parameters": { "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", - "description": "Project ID for this request." - }, - "updateMask": { - "type": "string", - "description": "Update_mask indicates fields to be updated as part of this request.", - "location": "query", - "format": "google-fieldmask" + "type": "string" }, - "zone": { - "required": true, + "publicDelegatedPrefix": { + "description": "The name of the public delegated prefix. It should comply with RFC1035.", "location": "path", - "description": "Name of the zone for this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, "type": "string" }, - "paths": { - "location": "query", - "type": "string", - "repeated": true - }, - "reservation": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "region": { + "description": "The name of the region where the public delegated prefix is located. It should comply with RFC1035.", "location": "path", - "type": "string", "required": true, - "description": "Name of the reservation to update." + "type": "string" }, "requestId": { "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", @@ -59776,7 +70500,11 @@ "type": "string" } }, - "id": "compute.reservations.update", + "parameterOrder": [ + "project", + "region", + "publicDelegatedPrefix" + ], "response": { "$ref": "Operation" }, @@ -59784,1092 +70512,1023 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "request": { - "$ref": "Reservation" - }, - "parameterOrder": [ - "project", - "zone", - "reservation" - ] - } - } - }, - "interconnects": { - "methods": { - "delete": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "parameterOrder": [ - "project", - "interconnect" - ], - "id": "compute.interconnects.delete", - "description": "Deletes the specified Interconnect.", + "description": "Withdraws the specified PublicDelegatedPrefix in the given region." + }, + "aggregatedList": { + "id": "compute.publicDelegatedPrefixes.aggregatedList", + "path": "projects/{project}/aggregated/publicDelegatedPrefixes", + "flatPath": "projects/{project}/aggregated/publicDelegatedPrefixes", + "httpMethod": "GET", "parameters": { - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" }, - "interconnect": { - "required": true, - "location": "path", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name of the interconnect to delete." + "includeAllScopes": { + "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", + "location": "query", + "type": "boolean" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" }, "project": { + "description": "Name of the project scoping this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", - "description": "Project ID for this request.", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + }, + "serviceProjectNumber": { + "description": "The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.", + "location": "query", + "type": "string", + "format": "int64" } }, - "httpMethod": "DELETE", - "flatPath": "projects/{project}/global/interconnects/{interconnect}", - "response": { - "$ref": "Operation" - }, - "path": "projects/{project}/global/interconnects/{interconnect}" - }, - "get": { - "flatPath": "projects/{project}/global/interconnects/{interconnect}", - "description": "Returns the specified Interconnect. Get a list of available Interconnects by making a list() request.", "parameterOrder": [ - "project", - "interconnect" + "project" ], - "path": "projects/{project}/global/interconnects/{interconnect}", - "id": "compute.interconnects.get", + "response": { + "$ref": "PublicDelegatedPrefixAggregatedList" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], + "description": "Lists all PublicDelegatedPrefix resources owned by the specific project across all scopes." + } + } + }, + "regions": { + "methods": { + "list": { + "id": "compute.regions.list", + "path": "projects/{project}/regions", + "flatPath": "projects/{project}/regions", "httpMethod": "GET", "parameters": { - "interconnect": { - "type": "string", - "location": "path", - "required": true, - "description": "Name of the interconnect to return.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" }, "project": { - "location": "path", "description": "Project ID for this request.", - "required": true, - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - } - }, - "response": { - "$ref": "Interconnect" - } - }, - "insert": { - "parameters": { - "project": { - "required": true, - "location": "path", - "type": "string", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request." + "location": "path", + "required": true, + "type": "string" }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", "location": "query", - "type": "string" + "type": "boolean" } }, - "request": { - "$ref": "Interconnect" - }, - "httpMethod": "POST", - "path": "projects/{project}/global/interconnects", - "flatPath": "projects/{project}/global/interconnects", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "description": "Creates an Interconnect in the specified project using the data included in the request.", - "id": "compute.interconnects.insert", "parameterOrder": [ "project" ], "response": { - "$ref": "Operation" - } - }, - "list": { - "response": { - "$ref": "InterconnectList" + "$ref": "RegionList" }, - "path": "projects/{project}/global/interconnects", - "parameterOrder": [ - "project" - ], - "description": "Retrieves the list of Interconnects available to the specified project.", - "flatPath": "projects/{project}/global/interconnects", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], + "description": "Retrieves the list of region resources available to the specified project. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `items.quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request." + }, + "get": { + "id": "compute.regions.get", + "path": "projects/{project}/regions/{region}", + "flatPath": "projects/{project}/regions/{region}", "httpMethod": "GET", "parameters": { - "orderBy": { - "type": "string", - "location": "query", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported." - }, - "returnPartialSuccess": { - "location": "query", - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." - }, "project": { "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", - "required": true + "required": true, + "type": "string" }, + "region": { + "description": "Name of the region resource to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "region" + ], + "response": { + "$ref": "Region" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Returns the specified Region resource. To decrease latency for this method, you can optionally omit any unneeded information from the response by using a field mask. This practice is especially recommended for unused quota information (the `quotas` field). To exclude one or more fields, set your request's `fields` query parameter to only include the fields you need. For example, to only include the `id` and `selfLink` fields, add the query parameter `?fields=id,selfLink` to your request." + } + } + }, + "resourcePolicies": { + "methods": { + "list": { + "id": "compute.resourcePolicies.list", + "path": "projects/{project}/regions/{region}/resourcePolicies", + "flatPath": "projects/{project}/regions/{region}/resourcePolicies", + "httpMethod": "GET", + "parameters": { "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "type": "string", - "location": "query" + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" }, "maxResults": { "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", "default": "500", - "location": "query", - "format": "uint32", "minimum": "0", - "type": "integer" + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" }, "pageToken": { "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "location": "query", "type": "string" - } - }, - "id": "compute.interconnects.list" - }, - "setLabels": { - "flatPath": "projects/{project}/global/interconnects/{resource}/setLabels", - "description": "Sets the labels on an Interconnect. To learn more about labels, read the Labeling Resources documentation.", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "path": "projects/{project}/global/interconnects/{resource}/setLabels", - "httpMethod": "POST", - "id": "compute.interconnects.setLabels", - "request": { - "$ref": "GlobalSetLabelsRequest" - }, - "parameters": { + }, "project": { "description": "Project ID for this request.", - "type": "string", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "required": true + "required": true, + "type": "string" }, - "resource": { - "type": "string", - "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", "required": true, - "description": "Name or id of the resource for this request.", - "location": "path" + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } }, "parameterOrder": [ "project", - "resource" + "region" ], "response": { - "$ref": "Operation" - } - }, - "patch": { - "response": { - "$ref": "Operation" + "$ref": "ResourcePolicyList" }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "A list all the resource policies that have been configured for the specified project in specified region." + }, + "aggregatedList": { + "id": "compute.resourcePolicies.aggregatedList", + "path": "projects/{project}/aggregated/resourcePolicies", + "flatPath": "projects/{project}/aggregated/resourcePolicies", + "httpMethod": "GET", "parameters": { - "interconnect": { - "required": true, - "location": "path", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name of the interconnect to update." + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" }, - "requestId": { - "type": "string", + "includeAllScopes": { + "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", + "location": "query", + "type": "boolean" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" }, "project": { "description": "Project ID for this request.", - "type": "string", - "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "location": "path" + "location": "path", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + }, + "serviceProjectNumber": { + "description": "The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.", + "location": "query", + "type": "string", + "format": "int64" } }, - "request": { - "$ref": "Interconnect" + "parameterOrder": [ + "project" + ], + "response": { + "$ref": "ResourcePolicyAggregatedList" }, - "path": "projects/{project}/global/interconnects/{interconnect}", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "parameterOrder": [ - "project", - "interconnect" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "description": "Updates the specified Interconnect with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.", - "flatPath": "projects/{project}/global/interconnects/{interconnect}", - "httpMethod": "PATCH", - "id": "compute.interconnects.patch" + "description": "Retrieves an aggregated list of resource policies." }, - "getDiagnostics": { - "parameterOrder": [ - "project", - "interconnect" - ], + "get": { + "id": "compute.resourcePolicies.get", + "path": "projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}", + "flatPath": "projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}", + "httpMethod": "GET", "parameters": { - "interconnect": { - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "description": "Name of the interconnect resource to query." + "type": "string" }, - "project": { + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", + "type": "string" + }, + "resourcePolicy": { + "description": "Name of the resource policy to retrieve.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", + "required": true, "type": "string" } }, - "path": "projects/{project}/global/interconnects/{interconnect}/getDiagnostics", - "id": "compute.interconnects.getDiagnostics", - "description": "Returns the interconnectDiagnostics for the specified Interconnect.", + "parameterOrder": [ + "project", + "region", + "resourcePolicy" + ], "response": { - "$ref": "InterconnectsGetDiagnosticsResponse" + "$ref": "ResourcePolicy" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "flatPath": "projects/{project}/global/interconnects/{interconnect}/getDiagnostics", - "httpMethod": "GET" - } - } - }, - "targetPools": { - "methods": { - "removeHealthCheck": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "parameterOrder": [ - "project", - "region", - "targetPool" - ], - "flatPath": "projects/{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck", - "description": "Removes health check URL from a target pool.", - "id": "compute.targetPools.removeHealthCheck", - "path": "projects/{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck", - "request": { - "$ref": "TargetPoolsRemoveHealthCheckRequest" - }, + "description": "Retrieves all information of the specified resource policy." + }, + "insert": { + "id": "compute.resourcePolicies.insert", + "path": "projects/{project}/regions/{region}/resourcePolicies", + "flatPath": "projects/{project}/regions/{region}/resourcePolicies", + "httpMethod": "POST", "parameters": { "project": { - "required": true, - "type": "string", "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "location": "path" - }, - "targetPool": { + "location": "path", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name of the target pool to remove health checks from.", - "type": "string", - "location": "path" - }, - "requestId": { - "type": "string", - "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "type": "string" }, "region": { - "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "description": "Name of the region for this request.", - "type": "string", - "location": "path" - } - }, - "response": { - "$ref": "Operation" - }, - "httpMethod": "POST" - }, - "delete": { - "path": "projects/{project}/regions/{region}/targetPools/{targetPool}", - "httpMethod": "DELETE", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "flatPath": "projects/{project}/regions/{region}/targetPools/{targetPool}", - "response": { - "$ref": "Operation" - }, - "parameters": { - "region": { - "description": "Name of the region scoping this request.", - "location": "path", - "type": "string", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true - }, - "targetPool": { - "type": "string", - "description": "Name of the TargetPool resource to delete.", - "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "location": "path" - }, - "project": { - "description": "Project ID for this request.", - "required": true, "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, "type": "string" }, "requestId": { - "type": "string", + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "type": "string" } }, "parameterOrder": [ "project", - "region", - "targetPool" + "region" ], - "id": "compute.targetPools.delete", - "description": "Deletes the specified target pool." + "request": { + "$ref": "ResourcePolicy" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Creates a new resource policy." }, - "setBackup": { + "delete": { + "id": "compute.resourcePolicies.delete", + "path": "projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}", + "flatPath": "projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}", + "httpMethod": "DELETE", "parameters": { "project": { "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" }, "region": { - "description": "Name of the region scoping this request.", - "type": "string", - "location": "path", + "description": "Name of the region for this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true - }, - "targetPool": { "location": "path", - "description": "Name of the TargetPool resource to set a backup pool for.", - "type": "string", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" - }, - "failoverRatio": { - "type": "number", - "format": "float", - "description": "New failoverRatio value for the target pool.", - "location": "query" + "type": "string" }, "requestId": { "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", "type": "string" + }, + "resourcePolicy": { + "description": "Name of the resource policy to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" } }, - "response": { - "$ref": "Operation" - }, - "request": { - "$ref": "TargetReference" - }, - "httpMethod": "POST", - "flatPath": "projects/{project}/regions/{region}/targetPools/{targetPool}/setBackup", - "path": "projects/{project}/regions/{region}/targetPools/{targetPool}/setBackup", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], "parameterOrder": [ "project", "region", - "targetPool" + "resourcePolicy" ], - "description": "Changes a backup target pool's configurations.", - "id": "compute.targetPools.setBackup" - }, - "addHealthCheck": { - "flatPath": "projects/{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck", + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "description": "Adds health check URLs to a target pool.", - "response": { - "$ref": "Operation" - }, - "id": "compute.targetPools.addHealthCheck", - "path": "projects/{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck", + "description": "Deletes the specified resource policy." + }, + "patch": { + "id": "compute.resourcePolicies.patch", + "path": "projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}", + "flatPath": "projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}", + "httpMethod": "PATCH", "parameters": { - "region": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "description": "Name of the region scoping this request." + "type": "string" }, - "project": { + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", "type": "string" }, "requestId": { - "location": "query", "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", "type": "string" }, - "targetPool": { + "resourcePolicy": { + "description": "Id of the resource policy to patch.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "update_mask indicates fields to be updated as part of this request.", + "location": "query", "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name of the target pool to add a health check to.", - "required": true + "format": "google-fieldmask" } }, "parameterOrder": [ "project", "region", - "targetPool" + "resourcePolicy" ], "request": { - "$ref": "TargetPoolsAddHealthCheckRequest" + "$ref": "ResourcePolicy" }, - "httpMethod": "POST" - }, - "get": { - "flatPath": "projects/{project}/regions/{region}/targetPools/{targetPool}", - "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "path": "projects/{project}/regions/{region}/targetPools/{targetPool}", "response": { - "$ref": "TargetPool" + "$ref": "Operation" }, - "description": "Returns the specified target pool. Gets a list of available target pools by making a list() request.", - "parameterOrder": [ - "project", - "region", - "targetPool" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" ], - "id": "compute.targetPools.get", + "description": "Modify the specified resource policy." + }, + "getIamPolicy": { + "id": "compute.resourcePolicies.getIamPolicy", + "path": "projects/{project}/regions/{region}/resourcePolicies/{resource}/getIamPolicy", + "flatPath": "projects/{project}/regions/{region}/resourcePolicies/{resource}/getIamPolicy", + "httpMethod": "GET", "parameters": { + "optionsRequestedPolicyVersion": { + "description": "Requested IAM Policy version.", + "location": "query", + "type": "integer", + "format": "int32" + }, "project": { - "location": "path", - "type": "string", "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true + "location": "path", + "required": true, + "type": "string" }, "region": { - "type": "string", + "description": "The name of the region for this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", "required": true, - "description": "Name of the region scoping this request." + "type": "string" }, - "targetPool": { - "type": "string", + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "description": "Name of the TargetPool resource to return.", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" + "type": "string" } - } + }, + "parameterOrder": [ + "project", + "region", + "resource" + ], + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists." }, - "removeInstance": { + "setIamPolicy": { + "id": "compute.resourcePolicies.setIamPolicy", + "path": "projects/{project}/regions/{region}/resourcePolicies/{resource}/setIamPolicy", + "flatPath": "projects/{project}/regions/{region}/resourcePolicies/{resource}/setIamPolicy", + "httpMethod": "POST", "parameters": { - "targetPool": { - "location": "path", - "type": "string", - "description": "Name of the TargetPool resource to remove instances from.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true - }, "project": { - "required": true, - "location": "path", - "type": "string", "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "requestId": { - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" }, "region": { + "description": "The name of the region for this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", "required": true, - "description": "Name of the region scoping this request.", + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, "type": "string" } }, - "flatPath": "projects/{project}/regions/{region}/targetPools/{targetPool}/removeInstance", - "response": { - "$ref": "Operation" - }, + "parameterOrder": [ + "project", + "region", + "resource" + ], "request": { - "$ref": "TargetPoolsRemoveInstanceRequest" + "$ref": "RegionSetPolicyRequest" + }, + "response": { + "$ref": "Policy" }, - "id": "compute.targetPools.removeInstance", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "description": "Removes instance URL from a target pool.", - "parameterOrder": [ - "project", - "region", - "targetPool" - ], - "httpMethod": "POST", - "path": "projects/{project}/regions/{region}/targetPools/{targetPool}/removeInstance" + "description": "Sets the access control policy on the specified resource. Replaces any existing policy." }, - "addInstance": { - "description": "Adds an instance to a target pool.", - "parameterOrder": [ - "project", - "region", - "targetPool" - ], + "testIamPermissions": { + "id": "compute.resourcePolicies.testIamPermissions", + "path": "projects/{project}/regions/{region}/resourcePolicies/{resource}/testIamPermissions", + "flatPath": "projects/{project}/regions/{region}/resourcePolicies/{resource}/testIamPermissions", + "httpMethod": "POST", "parameters": { "project": { - "type": "string", - "required": true, "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "required": true, + "type": "string" }, "region": { + "description": "The name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", "required": true, - "description": "Name of the region scoping this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "type": "string" }, - "targetPool": { - "required": true, - "type": "string", - "description": "Name of the TargetPool resource to add instances to.", + "resource": { + "description": "Name or id of the resource for this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "location": "path" - }, - "requestId": { - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" + "location": "path", + "required": true, + "type": "string" } }, - "flatPath": "projects/{project}/regions/{region}/targetPools/{targetPool}/addInstance", - "path": "projects/{project}/regions/{region}/targetPools/{targetPool}/addInstance", - "id": "compute.targetPools.addInstance", - "httpMethod": "POST", - "response": { - "$ref": "Operation" - }, - "request": { - "$ref": "TargetPoolsAddInstanceRequest" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ] - }, - "aggregatedList": { - "httpMethod": "GET", - "id": "compute.targetPools.aggregatedList", "parameterOrder": [ - "project" + "project", + "region", + "resource" ], + "request": { + "$ref": "TestPermissionsRequest" + }, + "response": { + "$ref": "TestPermissionsResponse" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "flatPath": "projects/{project}/aggregated/targetPools", - "description": "Retrieves an aggregated list of target pools.", - "path": "projects/{project}/aggregated/targetPools", - "response": { - "$ref": "TargetPoolAggregatedList" - }, + "description": "Returns permissions that a caller has on the specified resource." + } + } + }, + "routes": { + "methods": { + "list": { + "id": "compute.routes.list", + "path": "projects/{project}/global/routes", + "flatPath": "projects/{project}/global/routes", + "httpMethod": "GET", "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, "maxResults": { - "type": "integer", - "default": "500", "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", "location": "query", - "format": "uint32", - "minimum": "0" + "type": "integer", + "format": "uint32" }, "orderBy": { - "type": "string", - "location": "query", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported." - }, - "project": { - "location": "path", - "required": true, - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request." - }, - "includeAllScopes": { - "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", "location": "query", - "type": "boolean" + "type": "string" }, "pageToken": { - "type": "string", + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "location": "query", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results." + "type": "string" }, - "filter": { - "type": "string", - "location": "query", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`." + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" }, "returnPartialSuccess": { - "type": "boolean", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." + "type": "boolean" } - } - }, - "insert": { + }, + "parameterOrder": [ + "project" + ], + "response": { + "$ref": "RouteList" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "httpMethod": "POST", - "request": { - "$ref": "TargetPool" - }, - "flatPath": "projects/{project}/regions/{region}/targetPools", + "description": "Retrieves the list of Route resources available to the specified project." + }, + "get": { + "id": "compute.routes.get", + "path": "projects/{project}/global/routes/{route}", + "flatPath": "projects/{project}/global/routes/{route}", + "httpMethod": "GET", "parameters": { - "region": { - "required": true, - "type": "string", - "description": "Name of the region scoping this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "location": "path" - }, "project": { "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "type": "string" }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query", + "route": { + "description": "Name of the Route resource to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, "type": "string" } }, - "description": "Creates a target pool in the specified project and region using the data included in the request.", - "path": "projects/{project}/regions/{region}/targetPools", - "response": { - "$ref": "Operation" - }, "parameterOrder": [ "project", - "region" + "route" ], - "id": "compute.targetPools.insert" - }, - "list": { + "response": { + "$ref": "Route" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "response": { - "$ref": "TargetPoolList" - }, - "httpMethod": "GET", - "description": "Retrieves a list of target pools available to the specified project and region.", + "description": "Returns the specified Route resource." + }, + "insert": { + "id": "compute.routes.insert", + "path": "projects/{project}/global/routes", + "flatPath": "projects/{project}/global/routes", + "httpMethod": "POST", "parameters": { - "region": { - "description": "Name of the region scoping this request.", - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", - "required": true - }, "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", + "required": true, "type": "string" }, - "returnPartialSuccess": { - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "location": "query" - }, - "pageToken": { - "type": "string", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "location": "query" - }, - "orderBy": { - "type": "string", - "location": "query", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported." - }, - "filter": { + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", "type": "string" - }, - "maxResults": { - "minimum": "0", - "location": "query", - "default": "500", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "type": "integer", - "format": "uint32" } }, - "id": "compute.targetPools.list", - "path": "projects/{project}/regions/{region}/targetPools", - "parameterOrder": [ - "project", - "region" - ], - "flatPath": "projects/{project}/regions/{region}/targetPools" - }, - "getHealth": { - "flatPath": "projects/{project}/regions/{region}/targetPools/{targetPool}/getHealth", - "httpMethod": "POST", - "path": "projects/{project}/regions/{region}/targetPools/{targetPool}/getHealth", - "id": "compute.targetPools.getHealth", "parameterOrder": [ - "project", - "region", - "targetPool" + "project" ], "request": { - "$ref": "InstanceReference" + "$ref": "Route" + }, + "response": { + "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], - "description": "Gets the most recent health check results for each IP for the instance that is referenced by the given target pool.", - "response": { - "$ref": "TargetPoolInstanceHealth" - }, + "description": "Creates a Route resource in the specified project using the data included in the request." + }, + "delete": { + "id": "compute.routes.delete", + "path": "projects/{project}/global/routes/{route}", + "flatPath": "projects/{project}/global/routes/{route}", + "httpMethod": "DELETE", "parameters": { - "region": { - "location": "path", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the region scoping this request.", - "required": true - }, "project": { - "location": "path", "description": "Project ID for this request.", - "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, "type": "string" }, - "targetPool": { - "location": "path", - "description": "Name of the TargetPool resource to which the queried instance belongs.", - "type": "string", + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "route": { + "description": "Name of the Route resource to delete.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true + "location": "path", + "required": true, + "type": "string" } - } - } - } - }, - "regionUrlMaps": { - "methods": { - "delete": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "description": "Deletes the specified UrlMap resource.", - "flatPath": "projects/{project}/regions/{region}/urlMaps/{urlMap}", - "httpMethod": "DELETE", - "path": "projects/{project}/regions/{region}/urlMaps/{urlMap}", + }, "parameterOrder": [ "project", - "region", - "urlMap" + "route" ], - "id": "compute.regionUrlMaps.delete", "response": { "$ref": "Operation" }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Deletes the specified Route resource." + } + } + }, + "routers": { + "methods": { + "get": { + "id": "compute.routers.get", + "path": "projects/{project}/regions/{region}/routers/{router}", + "flatPath": "projects/{project}/regions/{region}/routers/{router}", + "httpMethod": "GET", "parameters": { - "urlMap": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name of the UrlMap resource to delete.", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, "type": "string" }, - "requestId": { - "type": "string", - "location": "query", - "description": "begin_interface: MixerMutationRequestBuilder Request ID to support idempotency." - }, "region": { - "type": "string", - "required": true, + "description": "Name of the region for this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "description": "Name of the region scoping this request." - }, - "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "required": true, - "type": "string", + "type": "string" + }, + "router": { + "description": "Name of the Router resource to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "description": "Project ID for this request." + "required": true, + "type": "string" } - } - }, - "patch": { - "description": "Patches the specified UrlMap resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.", - "request": { - "$ref": "UrlMap" }, - "path": "projects/{project}/regions/{region}/urlMaps/{urlMap}", - "id": "compute.regionUrlMaps.patch", - "httpMethod": "PATCH", "parameterOrder": [ "project", "region", - "urlMap" + "router" ], + "response": { + "$ref": "Router" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "flatPath": "projects/{project}/regions/{region}/urlMaps/{urlMap}", - "response": { - "$ref": "Operation" - }, + "description": "Returns the specified Router resource." + }, + "insert": { + "id": "compute.routers.insert", + "path": "projects/{project}/regions/{region}/routers", + "flatPath": "projects/{project}/regions/{region}/routers", + "httpMethod": "POST", "parameters": { - "urlMap": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", - "description": "Name of the UrlMap resource to patch.", - "required": true + "required": true, + "type": "string" }, "region": { + "description": "Name of the region for this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true, "location": "path", - "type": "string", - "description": "Name of the region scoping this request." + "required": true, + "type": "string" }, "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "type": "string", - "description": "begin_interface: MixerMutationRequestBuilder Request ID to support idempotency." - }, - "project": { - "type": "string", - "location": "path", - "required": true, - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" } - } + }, + "parameterOrder": [ + "project", + "region" + ], + "request": { + "$ref": "Router" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Creates a Router resource in the specified project and region using the data included in the request." }, - "insert": { + "update": { + "id": "compute.routers.update", + "path": "projects/{project}/regions/{region}/routers/{router}", + "flatPath": "projects/{project}/regions/{region}/routers/{router}", + "httpMethod": "PUT", "parameters": { - "region": { - "description": "Name of the region scoping this request.", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", - "location": "path" + "location": "path", + "required": true, + "type": "string" }, "requestId": { - "description": "begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.", - "type": "string", - "location": "query" + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" }, - "project": { + "router": { + "description": "Name of the Router resource to update.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", "type": "string" } }, - "request": { - "$ref": "UrlMap" - }, - "id": "compute.regionUrlMaps.insert", "parameterOrder": [ "project", - "region" + "region", + "router" ], - "path": "projects/{project}/regions/{region}/urlMaps", - "description": "Creates a UrlMap resource in the specified project using the data included in the request.", - "flatPath": "projects/{project}/regions/{region}/urlMaps", - "httpMethod": "POST", + "request": { + "$ref": "Router" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "response": { - "$ref": "Operation" - } + "description": "Updates the specified Router resource with the data included in the request. This method conforms to PUT semantics, which requests that the state of the target resource be created or replaced with the state defined by the representation enclosed in the request message payload." }, - "get": { - "response": { - "$ref": "UrlMap" - }, - "parameterOrder": [ - "project", - "region", - "urlMap" - ], - "flatPath": "projects/{project}/regions/{region}/urlMaps/{urlMap}", - "id": "compute.regionUrlMaps.get", - "path": "projects/{project}/regions/{region}/urlMaps/{urlMap}", - "description": "Returns the specified UrlMap resource. Gets a list of available URL maps by making a list() request.", - "httpMethod": "GET", + "patch": { + "id": "compute.routers.patch", + "path": "projects/{project}/regions/{region}/routers/{router}", + "flatPath": "projects/{project}/regions/{region}/routers/{router}", + "httpMethod": "PATCH", "parameters": { "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", + "location": "path", "required": true, - "description": "Project ID for this request.", - "location": "path" + "type": "string" }, "region": { + "description": "Name of the region for this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", - "required": true, "location": "path", - "description": "Name of the region scoping this request." + "required": true, + "type": "string" }, - "urlMap": { - "description": "Name of the UrlMap resource to return.", - "type": "string", + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "router": { + "description": "Name of the Router resource to patch.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", "required": true, - "location": "path" + "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ] - }, - "validate": { + "parameterOrder": [ + "project", + "region", + "router" + ], + "request": { + "$ref": "Router" + }, "response": { - "$ref": "UrlMapsValidateResponse" + "$ref": "Operation" }, - "flatPath": "projects/{project}/regions/{region}/urlMaps/{urlMap}/validate", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], + "description": "Patches the specified Router resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules." + }, + "delete": { + "id": "compute.routers.delete", + "path": "projects/{project}/regions/{region}/routers/{router}", + "flatPath": "projects/{project}/regions/{region}/routers/{router}", + "httpMethod": "DELETE", "parameters": { - "urlMap": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "description": "Name of the UrlMap resource to be validated as.", "required": true, "type": "string" }, "region": { - "location": "path", - "type": "string", - "description": "Name of the region scoping this request.", + "description": "Name of the region for this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true - }, - "project": { - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "router": { + "description": "Name of the Router resource to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "description": "Project ID for this request." + "required": true, + "type": "string" } }, "parameterOrder": [ "project", "region", - "urlMap" + "router" ], - "description": "Runs static validation for the UrlMap. In particular, the tests of the provided UrlMap will be run. Calling this method does NOT create the UrlMap.", - "request": { - "$ref": "RegionUrlMapsValidateRequest" - }, - "id": "compute.regionUrlMaps.validate", - "httpMethod": "POST", - "path": "projects/{project}/regions/{region}/urlMaps/{urlMap}/validate" - }, - "update": { - "description": "Updates the specified UrlMap resource with the data included in the request.", - "id": "compute.regionUrlMaps.update", - "path": "projects/{project}/regions/{region}/urlMaps/{urlMap}", "response": { "$ref": "Operation" }, @@ -60877,276 +71536,381 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "httpMethod": "PUT", - "flatPath": "projects/{project}/regions/{region}/urlMaps/{urlMap}", - "request": { - "$ref": "UrlMap" - }, + "description": "Deletes the specified Router resource." + }, + "list": { + "id": "compute.routers.list", + "path": "projects/{project}/regions/{region}/routers", + "flatPath": "projects/{project}/regions/{region}/routers", + "httpMethod": "GET", "parameters": { - "urlMap": { - "required": true, - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "location": "path", - "description": "Name of the UrlMap resource to update." + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" }, - "region": { - "type": "string", - "required": true, - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the region scoping this request." + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" }, "project": { "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "type": "string", + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "required": true, + "type": "string" }, - "requestId": { - "description": "begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.", - "type": "string", - "location": "query" + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } }, "parameterOrder": [ "project", - "region", - "urlMap" - ] - }, - "list": { - "httpMethod": "GET", + "region" + ], + "response": { + "$ref": "RouterList" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "path": "projects/{project}/regions/{region}/urlMaps", - "flatPath": "projects/{project}/regions/{region}/urlMaps", - "response": { - "$ref": "UrlMapList" - }, - "id": "compute.regionUrlMaps.list", - "parameterOrder": [ - "project", - "region" - ], + "description": "Retrieves a list of Router resources available to the specified project." + }, + "aggregatedList": { + "id": "compute.routers.aggregatedList", + "path": "projects/{project}/aggregated/routers", + "flatPath": "projects/{project}/aggregated/routers", + "httpMethod": "GET", "parameters": { "filter": { - "type": "string", + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", "location": "query", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`." + "type": "string" }, - "region": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the region scoping this request.", - "location": "path", - "type": "string", - "required": true + "includeAllScopes": { + "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", + "location": "query", + "type": "boolean" }, "maxResults": { - "location": "query", - "format": "uint32", - "default": "500", "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", "type": "integer", - "minimum": "0" + "format": "uint32" }, - "pageToken": { + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", "location": "query", - "type": "string", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results." + "type": "string" }, - "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "location": "query", - "type": "boolean" - }, - "orderBy": { - "type": "string", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "location": "query" + "type": "string" }, "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + }, + "serviceProjectNumber": { + "description": "The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.", + "location": "query", "type": "string", - "description": "Project ID for this request." + "format": "int64" } }, - "description": "Retrieves the list of UrlMap resources available to the specified project in the specified region." - } - } - }, - "targetGrpcProxies": { - "methods": { - "patch": { - "path": "projects/{project}/global/targetGrpcProxies/{targetGrpcProxy}", - "httpMethod": "PATCH", - "id": "compute.targetGrpcProxies.patch", + "parameterOrder": [ + "project" + ], + "response": { + "$ref": "RouterAggregatedList" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Retrieves an aggregated list of routers." + }, + "getRouterStatus": { + "id": "compute.routers.getRouterStatus", + "path": "projects/{project}/regions/{region}/routers/{router}/getRouterStatus", + "flatPath": "projects/{project}/regions/{region}/routers/{router}/getRouterStatus", + "httpMethod": "GET", "parameters": { "project": { "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, "location": "path", + "required": true, "type": "string" }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query", + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, "type": "string" }, - "targetGrpcProxy": { + "router": { + "description": "Name of the Router resource to query.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "description": "Name of the TargetGrpcProxy resource to patch.", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "type": "string" } }, - "response": { - "$ref": "Operation" - }, "parameterOrder": [ "project", - "targetGrpcProxy" + "region", + "router" ], - "request": { - "$ref": "TargetGrpcProxy" + "response": { + "$ref": "RouterStatusResponse" }, - "flatPath": "projects/{project}/global/targetGrpcProxies/{targetGrpcProxy}", - "description": "Patches the specified TargetGrpcProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ] + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Retrieves runtime information of the specified router." }, - "get": { + "getNatMappingInfo": { + "id": "compute.routers.getNatMappingInfo", + "path": "projects/{project}/regions/{region}/routers/{router}/getNatMappingInfo", + "flatPath": "projects/{project}/regions/{region}/routers/{router}/getNatMappingInfo", + "httpMethod": "GET", "parameters": { - "targetGrpcProxy": { - "type": "string", - "location": "path", - "description": "Name of the TargetGrpcProxy resource to return.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "natName": { + "description": "Name of the nat service to filter the Nat Mapping information. If it is omitted, all nats for this router will be returned. Name should conform to RFC1035.", + "location": "query", + "type": "string" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" }, "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "type": "string", + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request." + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + }, + "router": { + "description": "Name of the Router resource to query for Nat Mapping information of VM endpoints.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" } }, - "id": "compute.targetGrpcProxies.get", - "path": "projects/{project}/global/targetGrpcProxies/{targetGrpcProxy}", - "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "description": "Returns the specified TargetGrpcProxy resource in the given scope.", "parameterOrder": [ "project", - "targetGrpcProxy" + "region", + "router" ], - "flatPath": "projects/{project}/global/targetGrpcProxies/{targetGrpcProxy}", "response": { - "$ref": "TargetGrpcProxy" - } - }, - "delete": { - "parameterOrder": [ - "project", - "targetGrpcProxy" - ], - "id": "compute.targetGrpcProxies.delete", - "flatPath": "projects/{project}/global/targetGrpcProxies/{targetGrpcProxy}", - "path": "projects/{project}/global/targetGrpcProxies/{targetGrpcProxy}", - "description": "Deletes the specified TargetGrpcProxy in the given scope", - "httpMethod": "DELETE", + "$ref": "VmEndpointNatMappingsList" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "response": { - "$ref": "Operation" - }, + "description": "Retrieves runtime Nat mapping information of VM endpoints." + }, + "getNatIpInfo": { + "id": "compute.routers.getNatIpInfo", + "path": "projects/{project}/regions/{region}/routers/{router}/getNatIpInfo", + "flatPath": "projects/{project}/regions/{region}/routers/{router}/getNatIpInfo", + "httpMethod": "GET", "parameters": { + "natName": { + "description": "Name of the nat service to filter the NAT IP information. If it is omitted, all nats for this router will be returned. Name should conform to RFC1035.", + "location": "query", + "type": "string" + }, "project": { - "type": "string", - "required": true, - "location": "path", + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request." - }, - "targetGrpcProxy": { + "location": "path", "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "description": "Name of the TargetGrpcProxy resource to delete.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, "type": "string" }, - "requestId": { - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" + "router": { + "description": "Name of the Router resource to query for Nat IP information. The name should conform to RFC1035.", + "location": "path", + "required": true, + "type": "string" } - } - }, - "insert": { - "description": "Creates a TargetGrpcProxy in the specified project in the given scope using the parameters that are included in the request.", - "request": { - "$ref": "TargetGrpcProxy" }, - "httpMethod": "POST", + "parameterOrder": [ + "project", + "region", + "router" + ], + "response": { + "$ref": "NatIpInfoResponse" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "id": "compute.targetGrpcProxies.insert", - "parameterOrder": [ - "project" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], + "description": "Retrieves runtime NAT IP information." + }, + "preview": { + "id": "compute.routers.preview", + "path": "projects/{project}/regions/{region}/routers/{router}/preview", + "flatPath": "projects/{project}/regions/{region}/routers/{router}/preview", + "httpMethod": "POST", "parameters": { - "requestId": { - "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - }, "project": { "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "router": { + "description": "Name of the Router resource to query.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" } }, - "path": "projects/{project}/global/targetGrpcProxies", - "flatPath": "projects/{project}/global/targetGrpcProxies", - "response": { - "$ref": "Operation" - } - }, - "list": { - "flatPath": "projects/{project}/global/targetGrpcProxies", - "path": "projects/{project}/global/targetGrpcProxies", - "httpMethod": "GET", + "parameterOrder": [ + "project", + "region", + "router" + ], + "request": { + "$ref": "Router" + }, "response": { - "$ref": "TargetGrpcProxyList" + "$ref": "RoutersPreviewResponse" }, - "id": "compute.targetGrpcProxies.list", - "description": "Lists the TargetGrpcProxies for a project in the given scope.", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Preview fields auto-generated during router create and update operations. Calling this method does NOT create or update the router." + } + } + }, + "serviceAttachments": { + "methods": { + "aggregatedList": { + "id": "compute.serviceAttachments.aggregatedList", + "path": "projects/{project}/aggregated/serviceAttachments", + "flatPath": "projects/{project}/aggregated/serviceAttachments", + "httpMethod": "GET", "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "includeAllScopes": { + "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", + "location": "query", + "type": "boolean" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, "orderBy": { - "type": "string", + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", "location": "query", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported." + "type": "string" }, "pageToken": { "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", @@ -61154,546 +71918,610 @@ "type": "string" }, "project": { - "description": "Project ID for this request.", - "required": true, + "description": "Name of the project scoping this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "required": true, + "type": "string" }, "returnPartialSuccess": { "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "type": "boolean", - "location": "query" - }, - "maxResults": { - "format": "uint32", - "default": "500", - "type": "integer", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", "location": "query", - "minimum": "0" + "type": "boolean" }, - "filter": { + "serviceProjectNumber": { + "description": "The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.", + "location": "query", "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "location": "query" + "format": "int64" } }, "parameterOrder": [ "project" ], + "response": { + "$ref": "ServiceAttachmentAggregatedList" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" - ] - } - } - }, - "regionInstances": { - "methods": { - "bulkInsert": { + ], + "description": "Retrieves the list of all ServiceAttachment resources, regional and global, available to the specified project." + }, + "list": { + "id": "compute.serviceAttachments.list", + "path": "projects/{project}/regions/{region}/serviceAttachments", + "flatPath": "projects/{project}/regions/{region}/serviceAttachments", + "httpMethod": "GET", "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, "project": { - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, "type": "string" }, - "requestId": { - "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - }, "region": { + "description": "Name of the region of this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", "location": "path", "required": true, - "description": "The name of the region for this request." + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } }, + "parameterOrder": [ + "project", + "region" + ], "response": { - "$ref": "Operation" - }, - "description": "Creates multiple instances in a given region. Count specifies the number of instances to create.", - "path": "projects/{project}/regions/{region}/instances/bulkInsert", - "id": "compute.regionInstances.bulkInsert", - "httpMethod": "POST", - "request": { - "$ref": "BulkInsertInstanceResource" + "$ref": "ServiceAttachmentList" }, - "flatPath": "projects/{project}/regions/{region}/instances/bulkInsert", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "parameterOrder": [ - "project", - "region" - ] - } - } - }, - "diskTypes": { - "methods": { + "description": "Lists the ServiceAttachments for a project in the given scope." + }, "get": { - "description": "Returns the specified disk type. Gets a list of available disk types by making a list() request.", - "path": "projects/{project}/zones/{zone}/diskTypes/{diskType}", - "response": { - "$ref": "DiskType" - }, - "flatPath": "projects/{project}/zones/{zone}/diskTypes/{diskType}", + "id": "compute.serviceAttachments.get", + "path": "projects/{project}/regions/{region}/serviceAttachments/{serviceAttachment}", + "flatPath": "projects/{project}/regions/{region}/serviceAttachments/{serviceAttachment}", + "httpMethod": "GET", "parameters": { "project": { - "type": "string", + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "description": "Project ID for this request." + "type": "string" }, - "zone": { - "location": "path", - "type": "string", + "region": { + "description": "Name of the region of this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "The name of the zone for this request.", - "required": true + "location": "path", + "required": true, + "type": "string" }, - "diskType": { + "serviceAttachment": { + "description": "Name of the ServiceAttachment resource to return.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "description": "Name of the disk type to return.", - "type": "string", - "required": true + "required": true, + "type": "string" } }, "parameterOrder": [ "project", - "zone", - "diskType" + "region", + "serviceAttachment" ], + "response": { + "$ref": "ServiceAttachment" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "httpMethod": "GET", - "id": "compute.diskTypes.get" + "description": "Returns the specified ServiceAttachment resource in the given scope." }, - "aggregatedList": { - "path": "projects/{project}/aggregated/diskTypes", - "id": "compute.diskTypes.aggregatedList", - "flatPath": "projects/{project}/aggregated/diskTypes", + "insert": { + "id": "compute.serviceAttachments.insert", + "path": "projects/{project}/regions/{region}/serviceAttachments", + "flatPath": "projects/{project}/regions/{region}/serviceAttachments", + "httpMethod": "POST", "parameters": { - "orderBy": { - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "location": "query", - "type": "string" - }, - "returnPartialSuccess": { - "type": "boolean", - "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." - }, - "includeAllScopes": { - "location": "query", - "type": "boolean", - "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included." - }, - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "type": "string", - "location": "query" - }, - "filter": { - "type": "string", - "location": "query", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`." - }, "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "type": "string", - "description": "Project ID for this request.", - "location": "path" + "type": "string" }, - "maxResults": { - "type": "integer", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "format": "uint32", - "minimum": "0", + "region": { + "description": "Name of the region of this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "default": "500" + "type": "string" } }, - "description": "Retrieves an aggregated list of disk types.", "parameterOrder": [ - "project" + "project", + "region" ], + "request": { + "$ref": "ServiceAttachment" + }, "response": { - "$ref": "DiskTypeAggregatedList" + "$ref": "Operation" }, - "httpMethod": "GET", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ] - }, - "list": { - "path": "projects/{project}/zones/{zone}/diskTypes", - "httpMethod": "GET", - "parameterOrder": [ - "project", - "zone" + "https://www.googleapis.com/auth/compute" ], - "description": "Retrieves a list of disk types available to the specified project.", - "response": { - "$ref": "DiskTypeList" - }, + "description": "Creates a ServiceAttachment in the specified project in the given scope using the parameters that are included in the request." + }, + "delete": { + "id": "compute.serviceAttachments.delete", + "path": "projects/{project}/regions/{region}/serviceAttachments/{serviceAttachment}", + "flatPath": "projects/{project}/regions/{region}/serviceAttachments/{serviceAttachment}", + "httpMethod": "DELETE", "parameters": { - "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "type": "boolean", - "location": "query" - }, "project": { - "location": "path", - "type": "string", "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true - }, - "pageToken": { - "type": "string", - "location": "query", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results." + "location": "path", + "required": true, + "type": "string" }, - "maxResults": { - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "type": "integer", - "minimum": "0", - "default": "500", - "location": "query", - "format": "uint32" + "region": { + "description": "Name of the region of this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" }, - "orderBy": { - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", "type": "string" }, - "zone": { - "required": true, - "type": "string", - "description": "The name of the zone for this request.", + "serviceAttachment": { + "description": "Name of the ServiceAttachment resource to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" - }, - "filter": { - "location": "query", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", + "required": true, "type": "string" } }, - "id": "compute.diskTypes.list", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "parameterOrder": [ + "project", + "region", + "serviceAttachment" ], - "flatPath": "projects/{project}/zones/{zone}/diskTypes" - } - } - }, - "instanceTemplates": { - "methods": { - "insert": { - "httpMethod": "POST", + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "description": "Creates an instance template in the specified project using the data that is included in the request. If you are creating a new template to update an existing instance group, your new instance template must use the same network or, if applicable, the same subnetwork as the original template.", - "id": "compute.instanceTemplates.insert", - "path": "projects/{project}/global/instanceTemplates", - "response": { - "$ref": "Operation" - }, - "request": { - "$ref": "InstanceTemplate" - }, - "flatPath": "projects/{project}/global/instanceTemplates", + "description": "Deletes the specified ServiceAttachment in the given scope" + }, + "patch": { + "id": "compute.serviceAttachments.patch", + "path": "projects/{project}/regions/{region}/serviceAttachments/{serviceAttachment}", + "flatPath": "projects/{project}/regions/{region}/serviceAttachments/{serviceAttachment}", + "httpMethod": "PATCH", "parameters": { "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, + "type": "string" + }, + "region": { + "description": "The region scoping this request and should conform to RFC1035.", "location": "path", - "type": "string", - "description": "Project ID for this request." + "required": true, + "type": "string" }, "requestId": { "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" + "location": "query", + "type": "string" + }, + "serviceAttachment": { + "description": "The resource id of the ServiceAttachment to patch. It should conform to RFC1035 resource name or be a string form on an unsigned long number.", + "location": "path", + "required": true, + "type": "string" } }, "parameterOrder": [ - "project" - ] - }, - "delete": { + "project", + "region", + "serviceAttachment" + ], + "request": { + "$ref": "ServiceAttachment" + }, "response": { "$ref": "Operation" }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Patches the specified ServiceAttachment resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules." + }, + "getIamPolicy": { + "id": "compute.serviceAttachments.getIamPolicy", + "path": "projects/{project}/regions/{region}/serviceAttachments/{resource}/getIamPolicy", + "flatPath": "projects/{project}/regions/{region}/serviceAttachments/{resource}/getIamPolicy", + "httpMethod": "GET", "parameters": { - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "optionsRequestedPolicyVersion": { + "description": "Requested IAM Policy version.", "location": "query", - "type": "string" + "type": "integer", + "format": "int32" }, - "instanceTemplate": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "type": "string" + }, + "region": { + "description": "The name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "description": "The name of the instance template to delete.", + "required": true, "type": "string" }, - "project": { + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "required": true, "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], "parameterOrder": [ "project", - "instanceTemplate" + "region", + "resource" ], - "id": "compute.instanceTemplates.delete", - "flatPath": "projects/{project}/global/instanceTemplates/{instanceTemplate}", - "description": "Deletes the specified instance template. Deleting an instance template is permanent and cannot be undone. It is not possible to delete templates that are already in use by a managed instance group.", - "httpMethod": "DELETE", - "path": "projects/{project}/global/instanceTemplates/{instanceTemplate}" - }, - "list": { - "description": "Retrieves a list of instance templates that are contained within the specified project.", - "httpMethod": "GET", - "path": "projects/{project}/global/instanceTemplates", - "flatPath": "projects/{project}/global/instanceTemplates", + "response": { + "$ref": "Policy" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "parameterOrder": [ - "project" - ], + "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists." + }, + "setIamPolicy": { + "id": "compute.serviceAttachments.setIamPolicy", + "path": "projects/{project}/regions/{region}/serviceAttachments/{resource}/setIamPolicy", + "flatPath": "projects/{project}/regions/{region}/serviceAttachments/{resource}/setIamPolicy", + "httpMethod": "POST", "parameters": { - "maxResults": { - "location": "query", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "format": "uint32", - "minimum": "0", - "default": "500", - "type": "integer" - }, - "returnPartialSuccess": { - "type": "boolean", - "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." - }, - "pageToken": { - "location": "query", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "type": "string" - }, - "filter": { - "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "location": "query" - }, "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", "location": "path", "required": true, - "description": "Project ID for this request." + "type": "string" }, - "orderBy": { - "type": "string", - "location": "query", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported." + "region": { + "description": "The name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" } }, - "id": "compute.instanceTemplates.list", - "response": { - "$ref": "InstanceTemplateList" - } - }, - "setIamPolicy": { "parameterOrder": [ "project", + "region", "resource" ], + "request": { + "$ref": "RegionSetPolicyRequest" + }, "response": { "$ref": "Policy" }, - "path": "projects/{project}/global/instanceTemplates/{resource}/setIamPolicy", - "request": { - "$ref": "GlobalSetPolicyRequest" - }, - "description": "Sets the access control policy on the specified resource. Replaces any existing policy.", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Sets the access control policy on the specified resource. Replaces any existing policy." + }, + "testIamPermissions": { + "id": "compute.serviceAttachments.testIamPermissions", + "path": "projects/{project}/regions/{region}/serviceAttachments/{resource}/testIamPermissions", + "flatPath": "projects/{project}/regions/{region}/serviceAttachments/{resource}/testIamPermissions", "httpMethod": "POST", - "id": "compute.instanceTemplates.setIamPolicy", "parameters": { "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", - "description": "Project ID for this request.", - "required": true + "required": true, + "type": "string" }, - "resource": { - "type": "string", + "region": { + "description": "The name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", "required": true, + "type": "string" + }, + "resource": { "description": "Name or id of the resource for this request.", - "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "location": "path" + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" } }, - "flatPath": "projects/{project}/global/instanceTemplates/{resource}/setIamPolicy", + "parameterOrder": [ + "project", + "region", + "resource" + ], + "request": { + "$ref": "TestPermissionsRequest" + }, + "response": { + "$ref": "TestPermissionsResponse" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ] - }, - "testIamPermissions": { - "httpMethod": "POST", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Returns permissions that a caller has on the specified resource." + } + } + }, + "snapshotSettings": { + "methods": { + "get": { + "id": "compute.snapshotSettings.get", + "path": "projects/{project}/global/snapshotSettings", + "flatPath": "projects/{project}/global/snapshotSettings", + "httpMethod": "GET", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project" + ], + "response": { + "$ref": "SnapshotSettings" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "response": { - "$ref": "TestPermissionsResponse" + "description": "Get snapshot settings." + }, + "patch": { + "id": "compute.snapshotSettings.patch", + "path": "projects/{project}/global/snapshotSettings", + "flatPath": "projects/{project}/global/snapshotSettings", + "httpMethod": "PATCH", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "updateMask": { + "description": "update_mask indicates fields to be updated as part of this request.", + "location": "query", + "type": "string", + "format": "google-fieldmask" + } }, + "parameterOrder": [ + "project" + ], "request": { - "$ref": "TestPermissionsRequest" + "$ref": "SnapshotSettings" }, - "flatPath": "projects/{project}/global/instanceTemplates/{resource}/testIamPermissions", - "id": "compute.instanceTemplates.testIamPermissions", + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Patch snapshot settings." + } + } + }, + "sslCertificates": { + "methods": { + "list": { + "id": "compute.sslCertificates.list", + "path": "projects/{project}/global/sslCertificates", + "flatPath": "projects/{project}/global/sslCertificates", + "httpMethod": "GET", "parameters": { - "resource": { - "description": "Name or id of the resource for this request.", - "type": "string", - "required": true, - "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "location": "path" + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" }, "project": { - "location": "path", - "type": "string", "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } }, "parameterOrder": [ - "project", - "resource" + "project" ], - "description": "Returns permissions that a caller has on the specified resource.", - "path": "projects/{project}/global/instanceTemplates/{resource}/testIamPermissions" - }, - "get": { "response": { - "$ref": "InstanceTemplate" + "$ref": "SslCertificateList" }, - "parameterOrder": [ - "project", - "instanceTemplate" - ], "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], + "description": "Retrieves the list of SslCertificate resources available to the specified project." + }, + "get": { + "id": "compute.sslCertificates.get", + "path": "projects/{project}/global/sslCertificates/{sslCertificate}", + "flatPath": "projects/{project}/global/sslCertificates/{sslCertificate}", "httpMethod": "GET", - "id": "compute.instanceTemplates.get", - "path": "projects/{project}/global/instanceTemplates/{instanceTemplate}", "parameters": { - "instanceTemplate": { - "description": "The name of the instance template.", - "required": true, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, "type": "string" }, - "project": { - "type": "string", - "required": true, + "sslCertificate": { + "description": "Name of the SslCertificate resource to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request." + "required": true, + "type": "string" } }, - "description": "Returns the specified instance template. Gets a list of available instance templates by making a list() request.", - "flatPath": "projects/{project}/global/instanceTemplates/{instanceTemplate}" - }, - "getIamPolicy": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "flatPath": "projects/{project}/global/instanceTemplates/{resource}/getIamPolicy", "parameterOrder": [ "project", - "resource" + "sslCertificate" ], - "httpMethod": "GET", "response": { - "$ref": "Policy" + "$ref": "SslCertificate" }, - "id": "compute.instanceTemplates.getIamPolicy", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Returns the specified SslCertificate resource." + }, + "insert": { + "id": "compute.sslCertificates.insert", + "path": "projects/{project}/global/sslCertificates", + "flatPath": "projects/{project}/global/sslCertificates", + "httpMethod": "POST", "parameters": { "project": { - "required": true, - "type": "string", "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "location": "path" - }, - "resource": { - "description": "Name or id of the resource for this request.", - "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", "required": true, - "type": "string", - "location": "path" + "type": "string" }, - "optionsRequestedPolicyVersion": { + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "format": "int32", - "description": "Requested IAM Policy version.", - "type": "integer" + "type": "string" } }, - "path": "projects/{project}/global/instanceTemplates/{resource}/getIamPolicy", - "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists." - } - } - }, - "regionTargetTcpProxies": { - "methods": { - "insert": { - "httpMethod": "POST", - "flatPath": "projects/{project}/regions/{region}/targetTcpProxies", + "parameterOrder": [ + "project" + ], + "request": { + "$ref": "SslCertificate" + }, "response": { "$ref": "Operation" }, @@ -61701,359 +72529,508 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "description": "Creates a TargetTcpProxy resource in the specified project and region using the data included in the request.", + "description": "Creates a SslCertificate resource in the specified project using the data included in the request." + }, + "delete": { + "id": "compute.sslCertificates.delete", + "path": "projects/{project}/global/sslCertificates/{sslCertificate}", + "flatPath": "projects/{project}/global/sslCertificates/{sslCertificate}", + "httpMethod": "DELETE", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "sslCertificate": { + "description": "Name of the SslCertificate resource to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + } + }, "parameterOrder": [ "project", - "region" + "sslCertificate" ], - "path": "projects/{project}/regions/{region}/targetTcpProxies", - "id": "compute.regionTargetTcpProxies.insert", - "request": { - "$ref": "TargetTcpProxy" + "response": { + "$ref": "Operation" }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Deletes the specified SslCertificate resource." + }, + "aggregatedList": { + "id": "compute.sslCertificates.aggregatedList", + "path": "projects/{project}/aggregated/sslCertificates", + "flatPath": "projects/{project}/aggregated/sslCertificates", + "httpMethod": "GET", "parameters": { - "region": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the region scoping this request.", - "type": "string", - "location": "path", - "required": true + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "includeAllScopes": { + "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", + "location": "query", + "type": "boolean" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" }, "project": { + "description": "Name of the project scoping this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "type": "string", - "description": "Project ID for this request." + "type": "string" }, - "requestId": { + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string" + "type": "boolean" + }, + "serviceProjectNumber": { + "description": "The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.", + "location": "query", + "type": "string", + "format": "int64" } - } - }, - "list": { + }, + "parameterOrder": [ + "project" + ], "response": { - "$ref": "TargetTcpProxyList" + "$ref": "SslCertificateAggregatedList" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], + "description": "Retrieves the list of all SslCertificate resources, regional and global, available to the specified project." + } + } + }, + "regionSslCertificates": { + "methods": { + "list": { + "id": "compute.regionSslCertificates.list", + "path": "projects/{project}/regions/{region}/sslCertificates", + "flatPath": "projects/{project}/regions/{region}/sslCertificates", + "httpMethod": "GET", "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, "maxResults": { - "format": "uint32", + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", "minimum": "0", + "location": "query", "type": "integer", - "default": "500", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "location": "query" + "format": "uint32" }, - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", "location": "query", "type": "string" }, - "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "location": "query", - "type": "boolean" + "type": "string" }, "project": { - "location": "path", "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "orderBy": { - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "type": "string", - "location": "query" + "type": "string" }, "region": { - "type": "string", - "required": true, - "location": "path", "description": "Name of the region scoping this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" }, - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "type": "string", - "location": "query" + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } }, - "httpMethod": "GET", - "path": "projects/{project}/regions/{region}/targetTcpProxies", - "flatPath": "projects/{project}/regions/{region}/targetTcpProxies", "parameterOrder": [ "project", "region" ], - "id": "compute.regionTargetTcpProxies.list", - "description": "Retrieves a list of TargetTcpProxy resources available to the specified project in a given region." - }, - "get": { - "parameterOrder": [ - "project", - "region", - "targetTcpProxy" - ], "response": { - "$ref": "TargetTcpProxy" + "$ref": "SslCertificateList" }, - "path": "projects/{project}/regions/{region}/targetTcpProxies/{targetTcpProxy}", - "flatPath": "projects/{project}/regions/{region}/targetTcpProxies/{targetTcpProxy}", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], + "description": "Retrieves the list of SslCertificate resources available to the specified project in the specified region." + }, + "get": { + "id": "compute.regionSslCertificates.get", + "path": "projects/{project}/regions/{region}/sslCertificates/{sslCertificate}", + "flatPath": "projects/{project}/regions/{region}/sslCertificates/{sslCertificate}", "httpMethod": "GET", - "id": "compute.regionTargetTcpProxies.get", "parameters": { "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "type": "string", - "description": "Project ID for this request.", - "location": "path" + "type": "string" }, "region": { + "description": "Name of the region scoping this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", "required": true, - "description": "Name of the region scoping this request.", "type": "string" }, - "targetTcpProxy": { + "sslCertificate": { + "description": "Name of the SslCertificate resource to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, - "type": "string", - "description": "Name of the TargetTcpProxy resource to return.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" + "type": "string" } }, - "description": "Returns the specified TargetTcpProxy resource." - }, - "delete": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], "parameterOrder": [ "project", "region", - "targetTcpProxy" + "sslCertificate" ], - "httpMethod": "DELETE", - "description": "Deletes the specified TargetTcpProxy resource.", - "flatPath": "projects/{project}/regions/{region}/targetTcpProxies/{targetTcpProxy}", "response": { - "$ref": "Operation" + "$ref": "SslCertificate" }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Returns the specified SslCertificate resource in the specified region. Get a list of available SSL certificates by making a list() request." + }, + "insert": { + "id": "compute.regionSslCertificates.insert", + "path": "projects/{project}/regions/{region}/sslCertificates", + "flatPath": "projects/{project}/regions/{region}/sslCertificates", + "httpMethod": "POST", "parameters": { - "region": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the region scoping this request.", - "type": "string", - "required": true, - "location": "path" - }, "project": { - "type": "string", + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, "location": "path", - "description": "Project ID for this request." - }, - "targetTcpProxy": { "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "description": "Name of the TargetTcpProxy resource to delete.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, "type": "string" }, "requestId": { - "location": "query", "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", "type": "string" } }, - "path": "projects/{project}/regions/{region}/targetTcpProxies/{targetTcpProxy}", - "id": "compute.regionTargetTcpProxies.delete" - } - } - }, - "targetHttpsProxies": { - "methods": { - "setQuicOverride": { "parameterOrder": [ "project", - "targetHttpsProxy" + "region" ], - "parameters": { - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" - }, - "targetHttpsProxy": { - "required": true, - "description": "Name of the TargetHttpsProxy resource to set the QUIC override policy for. The name should conform to RFC1035.", - "type": "string", - "location": "path" - }, - "project": { - "location": "path", - "description": "Project ID for this request.", - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true - } + "request": { + "$ref": "SslCertificate" + }, + "response": { + "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "path": "projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setQuicOverride", - "id": "compute.targetHttpsProxies.setQuicOverride", - "flatPath": "projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setQuicOverride", - "description": "Sets the QUIC override policy for TargetHttpsProxy.", - "httpMethod": "POST", - "response": { - "$ref": "Operation" - }, - "request": { - "$ref": "TargetHttpsProxiesSetQuicOverrideRequest" - } + "description": "Creates a SslCertificate resource in the specified project and region using the data included in the request" }, - "patch": { + "delete": { + "id": "compute.regionSslCertificates.delete", + "path": "projects/{project}/regions/{region}/sslCertificates/{sslCertificate}", + "flatPath": "projects/{project}/regions/{region}/sslCertificates/{sslCertificate}", + "httpMethod": "DELETE", "parameters": { - "targetHttpsProxy": { - "description": "Name of the TargetHttpsProxy resource to patch.", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", + "required": true, "type": "string" }, "requestId": { - "type": "string", + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "type": "string" }, - "project": { + "sslCertificate": { + "description": "Name of the SslCertificate resource to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "type": "string", "required": true, - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" } }, - "path": "projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}", - "httpMethod": "PATCH", - "request": { - "$ref": "TargetHttpsProxy" + "parameterOrder": [ + "project", + "region", + "sslCertificate" + ], + "response": { + "$ref": "Operation" }, - "description": "Patches the specified TargetHttpsProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "id": "compute.targetHttpsProxies.patch", + "description": "Deletes the specified SslCertificate resource in the region." + } + } + }, + "sslPolicies": { + "methods": { + "list": { + "id": "compute.sslPolicies.list", + "path": "projects/{project}/global/sslPolicies", + "flatPath": "projects/{project}/global/sslPolicies", + "httpMethod": "GET", + "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + } + }, "parameterOrder": [ - "project", - "targetHttpsProxy" + "project" ], - "flatPath": "projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}", "response": { - "$ref": "Operation" - } - }, - "setCertificateMap": { + "$ref": "SslPoliciesList" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], + "description": "Lists all the SSL policies that have been configured for the specified project." + }, + "get": { + "id": "compute.sslPolicies.get", + "path": "projects/{project}/global/sslPolicies/{sslPolicy}", + "flatPath": "projects/{project}/global/sslPolicies/{sslPolicy}", + "httpMethod": "GET", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "sslPolicy": { + "description": "Name of the SSL policy to update. The name must be 1-63 characters long, and comply with RFC1035.", + "location": "path", + "required": true, + "type": "string" + } + }, "parameterOrder": [ "project", - "targetHttpsProxy" + "sslPolicy" ], "response": { - "$ref": "Operation" + "$ref": "SslPolicy" }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Lists all of the ordered rules present in a single specified policy." + }, + "insert": { + "id": "compute.sslPolicies.insert", + "path": "projects/{project}/global/sslPolicies", + "flatPath": "projects/{project}/global/sslPolicies", "httpMethod": "POST", - "path": "projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setCertificateMap", - "description": "Changes the Certificate Map for TargetHttpsProxy.", "parameters": { - "targetHttpsProxy": { - "type": "string", - "description": "Name of the TargetHttpsProxy resource whose CertificateMap is to be set. The name must be 1-63 characters long, and comply with RFC1035.", - "location": "path", - "required": true - }, "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", - "type": "string", - "location": "path" + "type": "string" }, "requestId": { "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" + "location": "query", + "type": "string" } }, - "flatPath": "projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setCertificateMap", - "id": "compute.targetHttpsProxies.setCertificateMap", + "parameterOrder": [ + "project" + ], "request": { - "$ref": "TargetHttpsProxiesSetCertificateMapRequest" - } + "$ref": "SslPolicy" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Returns the specified SSL policy resource." }, - "insert": { + "delete": { + "id": "compute.sslPolicies.delete", + "path": "projects/{project}/global/sslPolicies/{sslPolicy}", + "flatPath": "projects/{project}/global/sslPolicies/{sslPolicy}", + "httpMethod": "DELETE", "parameters": { "project": { "description": "Project ID for this request.", - "type": "string", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "required": true + "required": true, + "type": "string" }, "requestId": { - "type": "string", "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" + "location": "query", + "type": "string" + }, + "sslPolicy": { + "description": "Name of the SSL policy to delete. The name must be 1-63 characters long, and comply with RFC1035.", + "location": "path", + "required": true, + "type": "string" } }, - "id": "compute.targetHttpsProxies.insert", - "request": { - "$ref": "TargetHttpsProxy" + "parameterOrder": [ + "project", + "sslPolicy" + ], + "response": { + "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "flatPath": "projects/{project}/global/targetHttpsProxies", - "httpMethod": "POST", - "response": { - "$ref": "Operation" + "description": "Deletes the specified SSL policy. The SSL policy resource can be deleted only if it is not in use by any TargetHttpsProxy or TargetSslProxy resources." + }, + "patch": { + "id": "compute.sslPolicies.patch", + "path": "projects/{project}/global/sslPolicies/{sslPolicy}", + "flatPath": "projects/{project}/global/sslPolicies/{sslPolicy}", + "httpMethod": "PATCH", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "sslPolicy": { + "description": "Name of the SSL policy to update. The name must be 1-63 characters long, and comply with RFC1035.", + "location": "path", + "required": true, + "type": "string" + } }, - "description": "Creates a TargetHttpsProxy resource in the specified project using the data included in the request.", "parameterOrder": [ - "project" + "project", + "sslPolicy" ], - "path": "projects/{project}/global/targetHttpsProxies" - }, - "setSslCertificates": { - "id": "compute.targetHttpsProxies.setSslCertificates", - "path": "projects/{project}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates", - "httpMethod": "POST", "request": { - "$ref": "TargetHttpsProxiesSetSslCertificatesRequest" + "$ref": "SslPolicy" }, "response": { "$ref": "Operation" @@ -62062,739 +73039,799 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], + "description": "Patches the specified SSL policy with the data included in the request." + }, + "listAvailableFeatures": { + "id": "compute.sslPolicies.listAvailableFeatures", + "path": "projects/{project}/global/sslPolicies/listAvailableFeatures", + "flatPath": "projects/{project}/global/sslPolicies/listAvailableFeatures", + "httpMethod": "GET", "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, "project": { - "required": true, - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "description": "Project ID for this request.", - "location": "path" - }, - "targetHttpsProxy": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name of the TargetHttpsProxy resource to set an SslCertificates resource for.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, "type": "string" }, - "requestId": { + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "type": "boolean" } }, - "description": "Replaces SslCertificates for TargetHttpsProxy.", - "flatPath": "projects/{project}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates", - "parameterOrder": [ - "project", - "targetHttpsProxy" - ] - }, - "aggregatedList": { "parameterOrder": [ "project" ], - "flatPath": "projects/{project}/aggregated/targetHttpsProxies", - "path": "projects/{project}/aggregated/targetHttpsProxies", "response": { - "$ref": "TargetHttpsProxyAggregatedList" + "$ref": "SslPoliciesListAvailableFeaturesResponse" }, - "id": "compute.targetHttpsProxies.aggregatedList", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], + "description": "Lists all features that can be specified in the SSL policy when using custom profile." + }, + "aggregatedList": { + "id": "compute.sslPolicies.aggregatedList", + "path": "projects/{project}/aggregated/sslPolicies", + "flatPath": "projects/{project}/aggregated/sslPolicies", + "httpMethod": "GET", "parameters": { - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", "location": "query", "type": "string" }, - "orderBy": { + "includeAllScopes": { + "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", "location": "query", - "type": "string", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported." - }, - "project": { - "type": "string", - "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Name of the project scoping this request.", - "location": "path" + "type": "boolean" }, "maxResults": { - "format": "uint32", + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", "minimum": "0", + "location": "query", "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", "location": "query", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "default": "500" + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, + "project": { + "description": "Name of the project scoping this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" }, "returnPartialSuccess": { "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "type": "boolean", - "location": "query" - }, - "includeAllScopes": { - "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", "location": "query", "type": "boolean" }, - "filter": { + "serviceProjectNumber": { + "description": "The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.", + "location": "query", "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "location": "query" + "format": "int64" } }, - "httpMethod": "GET", - "description": "Retrieves the list of all TargetHttpsProxy resources, regional and global, available to the specified project." - }, - "setUrlMap": { - "flatPath": "projects/{project}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap", - "description": "Changes the URL map for TargetHttpsProxy.", + "parameterOrder": [ + "project" + ], "response": { - "$ref": "Operation" - }, - "parameters": { - "targetHttpsProxy": { - "description": "Name of the TargetHttpsProxy resource whose URL map is to be set.", - "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "location": "path", - "type": "string" - }, - "project": { - "required": true, - "description": "Project ID for this request.", - "type": "string", - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" - } + "$ref": "SslPoliciesAggregatedList" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "path": "projects/{project}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap", - "httpMethod": "POST", - "id": "compute.targetHttpsProxies.setUrlMap", - "request": { - "$ref": "UrlMapReference" - }, - "parameterOrder": [ - "project", - "targetHttpsProxy" - ] - }, + "description": "Retrieves the list of all SslPolicy resources, regional and global, available to the specified project." + } + } + }, + "regionSslPolicies": { + "methods": { "list": { - "description": "Retrieves the list of TargetHttpsProxy resources available to the specified project.", - "id": "compute.targetHttpsProxies.list", - "response": { - "$ref": "TargetHttpsProxyList" - }, - "flatPath": "projects/{project}/global/targetHttpsProxies", + "id": "compute.regionSslPolicies.list", + "path": "projects/{project}/regions/{region}/sslPolicies", + "flatPath": "projects/{project}/regions/{region}/sslPolicies", "httpMethod": "GET", "parameters": { - "project": { - "location": "path", - "required": true, - "description": "Project ID for this request.", - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "returnPartialSuccess": { - "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "type": "boolean" - }, - "orderBy": { - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", "location": "query", "type": "string" }, "maxResults": { - "default": "500", "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", "minimum": "0", + "location": "query", "type": "integer", - "format": "uint32", - "location": "query" + "format": "uint32" }, - "filter": { - "type": "string", + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", "location": "query", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`." + "type": "string" }, "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "location": "query", - "type": "string", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results." + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } }, "parameterOrder": [ - "project" + "project", + "region" ], - "path": "projects/{project}/global/targetHttpsProxies", + "response": { + "$ref": "SslPoliciesList" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" - ] - }, - "setSslPolicy": { - "request": { - "$ref": "SslPolicyReference" - }, - "httpMethod": "POST", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" ], - "response": { - "$ref": "Operation" - }, + "description": "Lists all the SSL policies that have been configured for the specified project and region." + }, + "get": { + "id": "compute.regionSslPolicies.get", + "path": "projects/{project}/regions/{region}/sslPolicies/{sslPolicy}", + "flatPath": "projects/{project}/regions/{region}/sslPolicies/{sslPolicy}", + "httpMethod": "GET", "parameters": { - "requestId": { - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" - }, "project": { "description": "Project ID for this request.", - "type": "string", - "required": true, + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "required": true, + "type": "string" }, - "targetHttpsProxy": { + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", "required": true, - "type": "string", + "type": "string" + }, + "sslPolicy": { + "description": "Name of the SSL policy to update. The name must be 1-63 characters long, and comply with RFC1035.", "location": "path", - "description": "Name of the TargetHttpsProxy resource whose SSL policy is to be set. The name must be 1-63 characters long, and comply with RFC1035." + "required": true, + "type": "string" } }, - "description": "Sets the SSL policy for TargetHttpsProxy. The SSL policy specifies the server-side support for SSL features. This affects connections between clients and the HTTPS proxy load balancer. They do not affect the connection between the load balancer and the backends.", - "path": "projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setSslPolicy", - "flatPath": "projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setSslPolicy", - "id": "compute.targetHttpsProxies.setSslPolicy", - "parameterOrder": [ - "project", - "targetHttpsProxy" - ] - }, - "get": { "parameterOrder": [ "project", - "targetHttpsProxy" + "region", + "sslPolicy" ], - "path": "projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}", - "description": "Returns the specified TargetHttpsProxy resource. Gets a list of available target HTTPS proxies by making a list() request.", - "id": "compute.targetHttpsProxies.get", + "response": { + "$ref": "SslPolicy" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "response": { - "$ref": "TargetHttpsProxy" - }, - "flatPath": "projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}", - "httpMethod": "GET", + "description": "Lists all of the ordered rules present in a single specified policy." + }, + "insert": { + "id": "compute.regionSslPolicies.insert", + "path": "projects/{project}/regions/{region}/sslPolicies", + "flatPath": "projects/{project}/regions/{region}/sslPolicies", + "httpMethod": "POST", "parameters": { - "targetHttpsProxy": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "location": "path", - "type": "string", - "required": true, - "description": "Name of the TargetHttpsProxy resource to return." - }, "project": { "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", "location": "path", - "required": true + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } - } + }, + "parameterOrder": [ + "project", + "region" + ], + "request": { + "$ref": "SslPolicy" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Creates a new policy in the specified project and region using the data included in the request." }, "delete": { + "id": "compute.regionSslPolicies.delete", + "path": "projects/{project}/regions/{region}/sslPolicies/{sslPolicy}", + "flatPath": "projects/{project}/regions/{region}/sslPolicies/{sslPolicy}", "httpMethod": "DELETE", - "id": "compute.targetHttpsProxies.delete", - "flatPath": "projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}", - "description": "Deletes the specified TargetHttpsProxy resource.", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "sslPolicy": { + "description": "Name of the SSL policy to delete. The name must be 1-63 characters long, and comply with RFC1035.", + "location": "path", + "required": true, + "type": "string" + } + }, "parameterOrder": [ "project", - "targetHttpsProxy" + "region", + "sslPolicy" + ], + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" ], + "description": "Deletes the specified SSL policy. The SSL policy resource can be deleted only if it is not in use by any TargetHttpsProxy or TargetSslProxy resources." + }, + "patch": { + "id": "compute.regionSslPolicies.patch", + "path": "projects/{project}/regions/{region}/sslPolicies/{sslPolicy}", + "flatPath": "projects/{project}/regions/{region}/sslPolicies/{sslPolicy}", + "httpMethod": "PATCH", "parameters": { "project": { - "required": true, + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", "location": "path", - "description": "Project ID for this request." + "required": true, + "type": "string" }, - "targetHttpsProxy": { + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "type": "string", - "description": "Name of the TargetHttpsProxy resource to delete.", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" + "type": "string" }, "requestId": { - "location": "query", "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "sslPolicy": { + "description": "Name of the SSL policy to update. The name must be 1-63 characters long, and comply with RFC1035.", + "location": "path", + "required": true, "type": "string" } }, - "path": "projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}", + "parameterOrder": [ + "project", + "region", + "sslPolicy" + ], + "request": { + "$ref": "SslPolicy" + }, "response": { "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" - ] - } - } - }, - "sslCertificates": { - "methods": { - "get": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" ], + "description": "Patches the specified SSL policy with the data included in the request." + }, + "listAvailableFeatures": { + "id": "compute.regionSslPolicies.listAvailableFeatures", + "path": "projects/{project}/regions/{region}/sslPolicies/listAvailableFeatures", + "flatPath": "projects/{project}/regions/{region}/sslPolicies/listAvailableFeatures", + "httpMethod": "GET", "parameters": { - "sslCertificate": { - "type": "string", - "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "location": "path", - "description": "Name of the SslCertificate resource to return." + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" }, "project": { "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } }, - "flatPath": "projects/{project}/global/sslCertificates/{sslCertificate}", - "response": { - "$ref": "SslCertificate" - }, "parameterOrder": [ "project", - "sslCertificate" + "region" ], - "httpMethod": "GET", - "id": "compute.sslCertificates.get", - "description": "Returns the specified SslCertificate resource. Gets a list of available SSL certificates by making a list() request.", - "path": "projects/{project}/global/sslCertificates/{sslCertificate}" - }, - "insert": { - "httpMethod": "POST", "response": { - "$ref": "Operation" + "$ref": "SslPoliciesListAvailableFeaturesResponse" }, - "flatPath": "projects/{project}/global/sslCertificates", - "parameterOrder": [ - "project" - ], - "path": "projects/{project}/global/sslCertificates", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "id": "compute.sslCertificates.insert", + "description": "Lists all features that can be specified in the SSL policy when using custom profile." + } + } + }, + "subnetworks": { + "methods": { + "list": { + "id": "compute.subnetworks.list", + "path": "projects/{project}/regions/{region}/subnetworks", + "flatPath": "projects/{project}/regions/{region}/subnetworks", + "httpMethod": "GET", "parameters": { - "requestId": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "type": "string" }, - "project": { - "required": true, - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", "type": "string" - } - }, - "description": "Creates a SslCertificate resource in the specified project using the data included in the request.", - "request": { - "$ref": "SslCertificate" - } - }, - "delete": { - "httpMethod": "DELETE", - "id": "compute.sslCertificates.delete", - "description": "Deletes the specified SslCertificate resource.", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "path": "projects/{project}/global/sslCertificates/{sslCertificate}", - "parameters": { - "sslCertificate": { - "type": "string", - "location": "path", - "description": "Name of the SslCertificate resource to delete.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true }, "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "description": "Project ID for this request.", - "type": "string", - "location": "path" + "type": "string" }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } }, - "response": { - "$ref": "Operation" - }, - "flatPath": "projects/{project}/global/sslCertificates/{sslCertificate}", "parameterOrder": [ "project", - "sslCertificate" - ] + "region" + ], + "response": { + "$ref": "SubnetworkList" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Retrieves a list of subnetworks available to the specified project." }, "aggregatedList": { + "id": "compute.subnetworks.aggregatedList", + "path": "projects/{project}/aggregated/subnetworks", + "flatPath": "projects/{project}/aggregated/subnetworks", "httpMethod": "GET", "parameters": { - "project": { - "type": "string", - "description": "Name of the project scoping this request.", - "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "location": "path" - }, - "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "type": "boolean", - "location": "query" + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" }, "includeAllScopes": { "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", "location": "query", "type": "boolean" }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, "pageToken": { "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "type": "string", - "location": "query" - }, - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", "location": "query", "type": "string" }, - "orderBy": { - "type": "string", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "location": "query" + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" }, - "maxResults": { - "default": "500", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "type": "integer", - "minimum": "0", + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", "location": "query", - "format": "uint32" + "type": "boolean" + }, + "serviceProjectNumber": { + "description": "The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.", + "location": "query", + "type": "string", + "format": "int64" } }, - "path": "projects/{project}/aggregated/sslCertificates", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "id": "compute.sslCertificates.aggregatedList", - "description": "Retrieves the list of all SslCertificate resources, regional and global, available to the specified project.", - "response": { - "$ref": "SslCertificateAggregatedList" - }, - "parameterOrder": [ - "project" - ], - "flatPath": "projects/{project}/aggregated/sslCertificates" - }, - "list": { - "flatPath": "projects/{project}/global/sslCertificates", - "description": "Retrieves the list of SslCertificate resources available to the specified project.", "parameterOrder": [ "project" ], - "path": "projects/{project}/global/sslCertificates", "response": { - "$ref": "SslCertificateList" + "$ref": "SubnetworkAggregatedList" }, - "id": "compute.sslCertificates.list", - "httpMethod": "GET", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], + "description": "Retrieves an aggregated list of subnetworks." + }, + "listUsable": { + "id": "compute.subnetworks.listUsable", + "path": "projects/{project}/aggregated/subnetworks/listUsable", + "flatPath": "projects/{project}/aggregated/subnetworks/listUsable", + "httpMethod": "GET", "parameters": { - "project": { - "type": "string", - "description": "Project ID for this request.", - "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "location": "path" + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" }, "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", "type": "integer", - "format": "uint32", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", "location": "query", - "minimum": "0", - "default": "500", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)" + "type": "string" }, "pageToken": { - "type": "string", "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "location": "query" - }, - "filter": { "location": "query", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", "type": "string" }, - "orderBy": { - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "location": "query", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, "type": "string" }, "returnPartialSuccess": { - "type": "boolean", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." + "type": "boolean" } - } - } - } - }, - "imageFamilyViews": { - "methods": { - "get": { + }, + "parameterOrder": [ + "project" + ], "response": { - "$ref": "ImageFamilyView" + "$ref": "UsableSubnetworksAggregatedList" }, - "path": "projects/{project}/zones/{zone}/imageFamilyViews/{family}", - "httpMethod": "GET", - "description": "Returns the latest image that is part of an image family, is not deprecated and is rolled out in the specified zone.", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "id": "compute.imageFamilyViews.get", + "description": "Retrieves an aggregated list of all usable subnetworks in the project." + }, + "get": { + "id": "compute.subnetworks.get", + "path": "projects/{project}/regions/{region}/subnetworks/{subnetwork}", + "flatPath": "projects/{project}/regions/{region}/subnetworks/{subnetwork}", + "httpMethod": "GET", "parameters": { - "zone": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "description": "The name of the zone for this request.", "type": "string" }, - "family": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true, - "description": "Name of the image family to search for.", + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", + "required": true, "type": "string" }, - "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, + "subnetwork": { + "description": "Name of the Subnetwork resource to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "description": "Project ID for this request.", + "required": true, "type": "string" } }, - "flatPath": "projects/{project}/zones/{zone}/imageFamilyViews/{family}", "parameterOrder": [ "project", - "zone", - "family" - ] - } - } - }, - "targetVpnGateways": { - "methods": { + "region", + "subnetwork" + ], + "response": { + "$ref": "Subnetwork" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Returns the specified subnetwork." + }, "insert": { + "id": "compute.subnetworks.insert", + "path": "projects/{project}/regions/{region}/subnetworks", + "flatPath": "projects/{project}/regions/{region}/subnetworks", "httpMethod": "POST", - "id": "compute.targetVpnGateways.insert", - "description": "Creates a target VPN gateway in the specified project and region using the data included in the request.", "parameters": { "project": { - "type": "string", - "required": true, - "location": "path", + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request." + "location": "path", + "required": true, + "type": "string" }, "region": { + "description": "Name of the region scoping this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", "location": "path", - "description": "Name of the region for this request.", - "required": true + "required": true, + "type": "string" }, "requestId": { "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" + "location": "query", + "type": "string" } }, - "flatPath": "projects/{project}/regions/{region}/targetVpnGateways", "parameterOrder": [ "project", "region" ], "request": { - "$ref": "TargetVpnGateway" + "$ref": "Subnetwork" }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "path": "projects/{project}/regions/{region}/targetVpnGateways", "response": { "$ref": "Operation" - } - }, - "aggregatedList": { - "id": "compute.targetVpnGateways.aggregatedList", + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "description": "Retrieves an aggregated list of target VPN gateways.", - "flatPath": "projects/{project}/aggregated/targetVpnGateways", - "httpMethod": "GET", - "parameterOrder": [ - "project" + "https://www.googleapis.com/auth/compute" ], + "description": "Creates a subnetwork in the specified project using the data included in the request." + }, + "delete": { + "id": "compute.subnetworks.delete", + "path": "projects/{project}/regions/{region}/subnetworks/{subnetwork}", + "flatPath": "projects/{project}/regions/{region}/subnetworks/{subnetwork}", + "httpMethod": "DELETE", "parameters": { - "orderBy": { - "location": "query", - "type": "string", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported." - }, - "pageToken": { - "location": "query", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "type": "string" - }, - "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "location": "query", - "type": "boolean" - }, - "includeAllScopes": { - "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", - "location": "query", - "type": "boolean" - }, "project": { "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" }, - "filter": { - "location": "query", - "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`." + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" }, - "maxResults": { - "default": "500", - "format": "uint32", + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "minimum": "0", - "type": "integer", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)" + "type": "string" + }, + "subnetwork": { + "description": "Name of the Subnetwork resource to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" } }, - "response": { - "$ref": "TargetVpnGatewayAggregatedList" - }, - "path": "projects/{project}/aggregated/targetVpnGateways" - }, - "setLabels": { - "path": "projects/{project}/regions/{region}/targetVpnGateways/{resource}/setLabels", + "parameterOrder": [ + "project", + "region", + "subnetwork" + ], "response": { "$ref": "Operation" }, - "request": { - "$ref": "RegionSetLabelsRequest" - }, - "flatPath": "projects/{project}/regions/{region}/targetVpnGateways/{resource}/setLabels", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], + "description": "Deletes the specified subnetwork." + }, + "expandIpCidrRange": { + "id": "compute.subnetworks.expandIpCidrRange", + "path": "projects/{project}/regions/{region}/subnetworks/{subnetwork}/expandIpCidrRange", + "flatPath": "projects/{project}/regions/{region}/subnetworks/{subnetwork}/expandIpCidrRange", "httpMethod": "POST", "parameters": { - "requestId": { - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" - }, "project": { - "type": "string", - "required": true, - "location": "path", "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" }, "region": { + "description": "Name of the region scoping this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", + "location": "path", "required": true, - "description": "The region for this request.", - "location": "path" + "type": "string" }, - "resource": { + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "subnetwork": { + "description": "Name of the Subnetwork resource to update.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "description": "Name or id of the resource for this request.", "required": true, "type": "string" } }, - "description": "Sets the labels on a TargetVpnGateway. To learn more about labels, read the Labeling Resources documentation.", - "id": "compute.targetVpnGateways.setLabels", "parameterOrder": [ "project", "region", - "resource" - ] - }, - "delete": { - "description": "Deletes the specified target VPN gateway.", - "httpMethod": "DELETE", + "subnetwork" + ], + "request": { + "$ref": "SubnetworksExpandIpCidrRangeRequest" + }, "response": { "$ref": "Operation" }, @@ -62802,744 +73839,663 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], + "description": "Expands the IP CIDR range of the subnetwork to a specified value." + }, + "patch": { + "id": "compute.subnetworks.patch", + "path": "projects/{project}/regions/{region}/subnetworks/{subnetwork}", + "flatPath": "projects/{project}/regions/{region}/subnetworks/{subnetwork}", + "httpMethod": "PATCH", "parameters": { + "drainTimeoutSeconds": { + "description": "The drain timeout specifies the upper bound in seconds on the amount of time allowed to drain connections from the current ACTIVE subnetwork to the current BACKUP subnetwork. The drain timeout is only applicable when the following conditions are true: - the subnetwork being patched has purpose = INTERNAL_HTTPS_LOAD_BALANCER - the subnetwork being patched has role = BACKUP - the patch request is setting the role to ACTIVE. Note that after this patch operation the roles of the ACTIVE and BACKUP subnetworks will be swapped.", + "location": "query", + "type": "integer", + "format": "int32" + }, "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "location": "path", "description": "Project ID for this request.", - "type": "string", - "required": true - }, - "targetVpnGateway": { - "type": "string", - "description": "Name of the target VPN gateway to delete.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true + "required": true, + "type": "string" }, "region": { - "type": "string", + "description": "Name of the region scoping this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", "required": true, - "description": "Name of the region for this request.", - "location": "path" + "type": "string" }, "requestId": { - "type": "string", "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" + "location": "query", + "type": "string" + }, + "subnetwork": { + "description": "Name of the Subnetwork resource to patch.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" } }, "parameterOrder": [ "project", "region", - "targetVpnGateway" + "subnetwork" ], - "id": "compute.targetVpnGateways.delete", - "flatPath": "projects/{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}", - "path": "projects/{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}" + "request": { + "$ref": "Subnetwork" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Patches the specified subnetwork with the data included in the request. Only certain fields can be updated with a patch request as indicated in the field descriptions. You must specify the current fingerprint of the subnetwork resource being patched." }, - "list": { + "getIamPolicy": { + "id": "compute.subnetworks.getIamPolicy", + "path": "projects/{project}/regions/{region}/subnetworks/{resource}/getIamPolicy", + "flatPath": "projects/{project}/regions/{region}/subnetworks/{resource}/getIamPolicy", + "httpMethod": "GET", "parameters": { + "optionsRequestedPolicyVersion": { + "description": "Requested IAM Policy version.", + "location": "query", + "type": "integer", + "format": "int32" + }, "project": { - "required": true, - "type": "string", "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "orderBy": { - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "type": "string", - "location": "query" - }, - "returnPartialSuccess": { - "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "type": "boolean" - }, - "maxResults": { - "minimum": "0", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "format": "uint32", - "default": "500", - "type": "integer", - "location": "query" + "required": true, + "type": "string" }, "region": { - "type": "string", - "description": "Name of the region for this request.", + "description": "The name of the region for this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", "required": true, - "location": "path" - }, - "filter": { - "location": "query", - "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`." + "type": "string" }, - "pageToken": { - "type": "string", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "location": "query" + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" } }, - "path": "projects/{project}/regions/{region}/targetVpnGateways", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "id": "compute.targetVpnGateways.list", - "flatPath": "projects/{project}/regions/{region}/targetVpnGateways", - "response": { - "$ref": "TargetVpnGatewayList" - }, "parameterOrder": [ "project", - "region" + "region", + "resource" ], - "httpMethod": "GET", - "description": "Retrieves a list of target VPN gateways available to the specified project and region." - }, - "get": { + "response": { + "$ref": "Policy" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "id": "compute.targetVpnGateways.get", - "parameterOrder": [ - "project", - "region", - "targetVpnGateway" - ], - "httpMethod": "GET", + "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists." + }, + "setIamPolicy": { + "id": "compute.subnetworks.setIamPolicy", + "path": "projects/{project}/regions/{region}/subnetworks/{resource}/setIamPolicy", + "flatPath": "projects/{project}/regions/{region}/subnetworks/{resource}/setIamPolicy", + "httpMethod": "POST", "parameters": { "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, "type": "string" }, - "targetVpnGateway": { + "region": { + "description": "The name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "required": true, - "description": "Name of the target VPN gateway to return.", "type": "string" }, - "region": { + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "required": true, - "type": "string", - "description": "Name of the region for this request." + "type": "string" } }, - "response": { - "$ref": "TargetVpnGateway" - }, - "path": "projects/{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}", - "description": "Returns the specified target VPN gateway. Gets a list of available target VPN gateways by making a list() request.", - "flatPath": "projects/{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}" - } - } - }, - "securityPolicies": { - "methods": { - "removeRule": { - "httpMethod": "POST", - "path": "projects/{project}/global/securityPolicies/{securityPolicy}/removeRule", - "flatPath": "projects/{project}/global/securityPolicies/{securityPolicy}/removeRule", "parameterOrder": [ "project", - "securityPolicy" + "region", + "resource" ], + "request": { + "$ref": "RegionSetPolicyRequest" + }, + "response": { + "$ref": "Policy" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], + "description": "Sets the access control policy on the specified resource. Replaces any existing policy." + }, + "testIamPermissions": { + "id": "compute.subnetworks.testIamPermissions", + "path": "projects/{project}/regions/{region}/subnetworks/{resource}/testIamPermissions", + "flatPath": "projects/{project}/regions/{region}/subnetworks/{resource}/testIamPermissions", + "httpMethod": "POST", "parameters": { - "securityPolicy": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", - "required": true, - "location": "path", - "description": "Name of the security policy to update." - }, "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", "location": "path", "required": true, - "description": "Project ID for this request." + "type": "string" }, - "priority": { - "location": "query", - "description": "The priority of the rule to remove from the security policy.", - "format": "int32", - "type": "integer" - } - }, - "description": "Deletes a rule at the specified priority.", - "response": { - "$ref": "Operation" - }, - "id": "compute.securityPolicies.removeRule" - }, - "get": { - "httpMethod": "GET", - "path": "projects/{project}/global/securityPolicies/{securityPolicy}", - "description": "List all of the ordered rules present in a single specified policy.", - "id": "compute.securityPolicies.get", - "parameters": { - "securityPolicy": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true, - "description": "Name of the security policy to get.", + "region": { + "description": "The name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", + "required": true, "type": "string" }, - "project": { + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "required": true, "type": "string" } }, - "response": { - "$ref": "SecurityPolicy" - }, "parameterOrder": [ "project", - "securityPolicy" + "region", + "resource" ], + "request": { + "$ref": "TestPermissionsRequest" + }, + "response": { + "$ref": "TestPermissionsResponse" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "flatPath": "projects/{project}/global/securityPolicies/{securityPolicy}" + "description": "Returns permissions that a caller has on the specified resource." }, - "listPreconfiguredExpressionSets": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "response": { - "$ref": "SecurityPoliciesListPreconfiguredExpressionSetsResponse" - }, - "parameterOrder": [ - "project" - ], + "setPrivateIpGoogleAccess": { + "id": "compute.subnetworks.setPrivateIpGoogleAccess", + "path": "projects/{project}/regions/{region}/subnetworks/{subnetwork}/setPrivateIpGoogleAccess", + "flatPath": "projects/{project}/regions/{region}/subnetworks/{subnetwork}/setPrivateIpGoogleAccess", + "httpMethod": "POST", "parameters": { "project": { - "required": true, - "location": "path", "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, "type": "string" }, - "maxResults": { - "default": "500", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "type": "integer", - "format": "uint32", - "location": "query", - "minimum": "0" - }, - "pageToken": { - "type": "string", - "location": "query", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results." - }, - "orderBy": { - "location": "query", - "type": "string", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported." + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" }, - "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "type": "boolean" + "type": "string" }, - "filter": { - "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "location": "query" + "subnetwork": { + "description": "Name of the Subnetwork resource.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" } }, - "id": "compute.securityPolicies.listPreconfiguredExpressionSets", - "flatPath": "projects/{project}/global/securityPolicies/listPreconfiguredExpressionSets", - "path": "projects/{project}/global/securityPolicies/listPreconfiguredExpressionSets", - "httpMethod": "GET", - "description": "Gets the current list of preconfigured Web Application Firewall (WAF) expressions." - }, - "aggregatedList": { - "httpMethod": "GET", - "flatPath": "projects/{project}/aggregated/securityPolicies", - "description": "Retrieves the list of all SecurityPolicy resources, regional and global, available to the specified project.", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "parameterOrder": [ + "project", + "region", + "subnetwork" ], - "id": "compute.securityPolicies.aggregatedList", + "request": { + "$ref": "SubnetworksSetPrivateIpGoogleAccessRequest" + }, "response": { - "$ref": "SecurityPoliciesAggregatedList" + "$ref": "Operation" }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Set whether VMs in this subnet can access Google services without assigning external IP addresses through Private Google Access." + } + } + }, + "targetGrpcProxies": { + "methods": { + "list": { + "id": "compute.targetGrpcProxies.list", + "path": "projects/{project}/global/targetGrpcProxies", + "flatPath": "projects/{project}/global/targetGrpcProxies", + "httpMethod": "GET", "parameters": { - "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "type": "boolean", - "location": "query" + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" }, "orderBy": { "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "type": "string", - "location": "query" + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" }, "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "type": "string", - "description": "Name of the project scoping this request." - }, - "maxResults": { - "location": "query", - "default": "500", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "type": "integer", - "format": "uint32", - "minimum": "0" - }, - "pageToken": { - "location": "query", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "type": "string" }, - "includeAllScopes": { + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", "location": "query", - "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", "type": "boolean" - }, - "filter": { - "location": "query", - "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`." } }, - "path": "projects/{project}/aggregated/securityPolicies", "parameterOrder": [ "project" - ] - }, - "addRule": { - "flatPath": "projects/{project}/global/securityPolicies/{securityPolicy}/addRule", - "path": "projects/{project}/global/securityPolicies/{securityPolicy}/addRule", - "request": { - "$ref": "SecurityPolicyRule" - }, - "description": "Inserts a rule into a security policy.", - "parameterOrder": [ - "project", - "securityPolicy" ], "response": { - "$ref": "Operation" + "$ref": "TargetGrpcProxyList" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "id": "compute.securityPolicies.addRule", + "description": "Lists the TargetGrpcProxies for a project in the given scope." + }, + "get": { + "id": "compute.targetGrpcProxies.get", + "path": "projects/{project}/global/targetGrpcProxies/{targetGrpcProxy}", + "flatPath": "projects/{project}/global/targetGrpcProxies/{targetGrpcProxy}", + "httpMethod": "GET", "parameters": { - "validateOnly": { - "location": "query", - "description": "If true, the request will not be committed.", - "type": "boolean" - }, - "securityPolicy": { - "type": "string", - "required": true, - "location": "path", - "description": "Name of the security policy to update.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" - }, "project": { - "type": "string", + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, "location": "path", - "description": "Project ID for this request." - } - }, - "httpMethod": "POST" - }, - "patchRule": { - "response": { - "$ref": "Operation" - }, - "request": { - "$ref": "SecurityPolicyRule" - }, - "httpMethod": "POST", - "parameters": { - "validateOnly": { - "location": "query", - "description": "If true, the request will not be committed.", - "type": "boolean" - }, - "securityPolicy": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name of the security policy to update.", - "type": "string", "required": true, - "location": "path" - }, - "priority": { - "description": "The priority of the rule to patch.", - "type": "integer", - "location": "query", - "format": "int32" + "type": "string" }, - "project": { + "targetGrpcProxy": { + "description": "Name of the TargetGrpcProxy resource to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", "required": true, - "description": "Project ID for this request." + "type": "string" } }, - "description": "Patches a rule at the specified priority.", - "path": "projects/{project}/global/securityPolicies/{securityPolicy}/patchRule", - "flatPath": "projects/{project}/global/securityPolicies/{securityPolicy}/patchRule", - "id": "compute.securityPolicies.patchRule", "parameterOrder": [ "project", - "securityPolicy" + "targetGrpcProxy" ], - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ] - }, - "insert": { - "id": "compute.securityPolicies.insert", "response": { - "$ref": "Operation" + "$ref": "TargetGrpcProxy" }, - "description": "Creates a new policy in the specified project using the data included in the request.", - "httpMethod": "POST", - "flatPath": "projects/{project}/global/securityPolicies", - "path": "projects/{project}/global/securityPolicies", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], + "description": "Returns the specified TargetGrpcProxy resource in the given scope." + }, + "insert": { + "id": "compute.targetGrpcProxies.insert", + "path": "projects/{project}/global/targetGrpcProxies", + "flatPath": "projects/{project}/global/targetGrpcProxies", + "httpMethod": "POST", "parameters": { - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" - }, "project": { "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", - "required": true + "required": true, + "type": "string" }, - "validateOnly": { + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "type": "boolean", - "description": "If true, the request will not be committed." + "type": "string" } }, "parameterOrder": [ "project" ], "request": { - "$ref": "SecurityPolicy" - } + "$ref": "TargetGrpcProxy" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Creates a TargetGrpcProxy in the specified project in the given scope using the parameters that are included in the request." }, - "patch": { - "flatPath": "projects/{project}/global/securityPolicies/{securityPolicy}", - "httpMethod": "PATCH", + "delete": { + "id": "compute.targetGrpcProxies.delete", + "path": "projects/{project}/global/targetGrpcProxies/{targetGrpcProxy}", + "flatPath": "projects/{project}/global/targetGrpcProxies/{targetGrpcProxy}", + "httpMethod": "DELETE", "parameters": { - "securityPolicy": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true, - "type": "string", - "location": "path", - "description": "Name of the security policy to update." - }, "project": { "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "type": "string" }, "requestId": { "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", "type": "string" + }, + "targetGrpcProxy": { + "description": "Name of the TargetGrpcProxy resource to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" } }, - "request": { - "$ref": "SecurityPolicy" - }, - "response": { - "$ref": "Operation" - }, - "description": "Patches the specified policy with the data included in the request. To clear fields in the rule, leave the fields empty and specify them in the updateMask. This cannot be used to be update the rules in the policy. Please use the per rule methods like addRule, patchRule, and removeRule instead.", "parameterOrder": [ "project", - "securityPolicy" + "targetGrpcProxy" ], - "id": "compute.securityPolicies.patch", + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "path": "projects/{project}/global/securityPolicies/{securityPolicy}" + "description": "Deletes the specified TargetGrpcProxy in the given scope" }, - "setLabels": { + "patch": { + "id": "compute.targetGrpcProxies.patch", + "path": "projects/{project}/global/targetGrpcProxies/{targetGrpcProxy}", + "flatPath": "projects/{project}/global/targetGrpcProxies/{targetGrpcProxy}", + "httpMethod": "PATCH", "parameters": { "project": { "description": "Project ID for this request.", - "type": "string", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "location": "path" + "type": "string" }, - "resource": { - "required": true, - "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "targetGrpcProxy": { + "description": "Name of the TargetGrpcProxy resource to patch.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "description": "Name or id of the resource for this request." + "required": true, + "type": "string" } }, + "parameterOrder": [ + "project", + "targetGrpcProxy" + ], "request": { - "$ref": "GlobalSetLabelsRequest" + "$ref": "TargetGrpcProxy" }, - "path": "projects/{project}/global/securityPolicies/{resource}/setLabels", - "description": "Sets the labels on a security policy. To learn more about labels, read the Labeling Resources documentation.", "response": { "$ref": "Operation" }, - "flatPath": "projects/{project}/global/securityPolicies/{resource}/setLabels", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "httpMethod": "POST", - "parameterOrder": [ - "project", - "resource" - ], - "id": "compute.securityPolicies.setLabels" - }, + "description": "Patches the specified TargetGrpcProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules." + } + } + }, + "targetHttpProxies": { + "methods": { "list": { - "description": "List all the policies that have been configured for the specified project.", - "response": { - "$ref": "SecurityPolicyList" - }, + "id": "compute.targetHttpProxies.list", + "path": "projects/{project}/global/targetHttpProxies", + "flatPath": "projects/{project}/global/targetHttpProxies", + "httpMethod": "GET", "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", "location": "query", "type": "integer", - "minimum": "0", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "format": "uint32", - "default": "500" + "format": "uint32" }, - "filter": { + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", "location": "query", - "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`." + "type": "string" }, "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "location": "query", - "type": "string", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results." + "type": "string" }, "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, "type": "string" }, - "orderBy": { - "type": "string", - "location": "query", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported." - }, "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", "location": "query", - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." + "type": "boolean" } }, - "id": "compute.securityPolicies.list", - "path": "projects/{project}/global/securityPolicies", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], "parameterOrder": [ "project" ], - "flatPath": "projects/{project}/global/securityPolicies", - "httpMethod": "GET" - }, - "getRule": { + "response": { + "$ref": "TargetHttpProxyList" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "parameterOrder": [ - "project", - "securityPolicy" - ], - "path": "projects/{project}/global/securityPolicies/{securityPolicy}/getRule", + "description": "Retrieves the list of TargetHttpProxy resources available to the specified project." + }, + "get": { + "id": "compute.targetHttpProxies.get", + "path": "projects/{project}/global/targetHttpProxies/{targetHttpProxy}", + "flatPath": "projects/{project}/global/targetHttpProxies/{targetHttpProxy}", "httpMethod": "GET", - "response": { - "$ref": "SecurityPolicyRule" - }, - "description": "Gets a rule at the specified priority.", "parameters": { - "priority": { - "location": "query", - "type": "integer", - "format": "int32", - "description": "The priority of the rule to get from the security policy." - }, - "securityPolicy": { - "description": "Name of the security policy to which the queried rule belongs.", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, + "type": "string" + }, + "targetHttpProxy": { + "description": "Name of the TargetHttpProxy resource to return.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", + "required": true, "type": "string" - }, + } + }, + "parameterOrder": [ + "project", + "targetHttpProxy" + ], + "response": { + "$ref": "TargetHttpProxy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Returns the specified TargetHttpProxy resource." + }, + "insert": { + "id": "compute.targetHttpProxies.insert", + "path": "projects/{project}/global/targetHttpProxies", + "flatPath": "projects/{project}/global/targetHttpProxies", + "httpMethod": "POST", + "parameters": { "project": { - "required": true, "description": "Project ID for this request.", - "type": "string", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, - "id": "compute.securityPolicies.getRule", - "flatPath": "projects/{project}/global/securityPolicies/{securityPolicy}/getRule" + "parameterOrder": [ + "project" + ], + "request": { + "$ref": "TargetHttpProxy" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Creates a TargetHttpProxy resource in the specified project using the data included in the request." }, "delete": { - "path": "projects/{project}/global/securityPolicies/{securityPolicy}", + "id": "compute.targetHttpProxies.delete", + "path": "projects/{project}/global/targetHttpProxies/{targetHttpProxy}", + "flatPath": "projects/{project}/global/targetHttpProxies/{targetHttpProxy}", "httpMethod": "DELETE", - "description": "Deletes the specified policy.", "parameters": { "project": { - "type": "string", - "required": true, - "location": "path", "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" }, "requestId": { - "location": "query", "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", "type": "string" }, - "securityPolicy": { - "type": "string", + "targetHttpProxy": { + "description": "Name of the TargetHttpProxy resource to delete.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name of the security policy to delete.", "location": "path", - "required": true + "required": true, + "type": "string" } }, - "flatPath": "projects/{project}/global/securityPolicies/{securityPolicy}", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], "parameterOrder": [ "project", - "securityPolicy" + "targetHttpProxy" ], - "id": "compute.securityPolicies.delete", "response": { "$ref": "Operation" - } - } - } - }, - "publicDelegatedPrefixes": { - "methods": { + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Deletes the specified TargetHttpProxy resource." + }, "patch": { + "id": "compute.targetHttpProxies.patch", + "path": "projects/{project}/global/targetHttpProxies/{targetHttpProxy}", + "flatPath": "projects/{project}/global/targetHttpProxies/{targetHttpProxy}", + "httpMethod": "PATCH", "parameters": { - "publicDelegatedPrefix": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", "required": true, - "description": "Name of the PublicDelegatedPrefix resource to patch.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" + "type": "string" }, "requestId": { "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" - }, - "region": { - "description": "Name of the region for this request.", - "location": "path", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true + "location": "query", + "type": "string" }, - "project": { - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "targetHttpProxy": { + "description": "Name of the TargetHttpProxy resource to patch.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "description": "Project ID for this request.", - "required": true + "required": true, + "type": "string" } }, - "request": { - "$ref": "PublicDelegatedPrefix" - }, "parameterOrder": [ "project", - "region", - "publicDelegatedPrefix" + "targetHttpProxy" ], - "response": { - "$ref": "Operation" + "request": { + "$ref": "TargetHttpProxy" }, - "id": "compute.publicDelegatedPrefixes.patch", - "flatPath": "projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}", - "description": "Patches the specified PublicDelegatedPrefix resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "httpMethod": "PATCH", - "path": "projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}" - }, - "delete": { - "flatPath": "projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}", - "httpMethod": "DELETE", - "path": "projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}", "response": { "$ref": "Operation" }, @@ -63547,2252 +74503,1989 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "parameterOrder": [ - "project", - "region", - "publicDelegatedPrefix" - ], + "description": "Patches the specified TargetHttpProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules." + }, + "setUrlMap": { + "id": "compute.targetHttpProxies.setUrlMap", + "path": "projects/{project}/targetHttpProxies/{targetHttpProxy}/setUrlMap", + "flatPath": "projects/{project}/targetHttpProxies/{targetHttpProxy}/setUrlMap", + "httpMethod": "POST", "parameters": { - "region": { - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "description": "Name of the region of this request.", - "required": true + "required": true, + "type": "string" }, "requestId": { - "type": "string", + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "type": "string" }, - "publicDelegatedPrefix": { + "targetHttpProxy": { + "description": "Name of the TargetHttpProxy to set a URL map for.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", "location": "path", "required": true, - "description": "Name of the PublicDelegatedPrefix resource to delete." - }, - "project": { - "required": true, - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", - "location": "path" + "type": "string" } }, - "description": "Deletes the specified PublicDelegatedPrefix in the given region.", - "id": "compute.publicDelegatedPrefixes.delete" + "parameterOrder": [ + "project", + "targetHttpProxy" + ], + "request": { + "$ref": "UrlMapReference" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Changes the URL map for TargetHttpProxy." }, "aggregatedList": { - "path": "projects/{project}/aggregated/publicDelegatedPrefixes", + "id": "compute.targetHttpProxies.aggregatedList", + "path": "projects/{project}/aggregated/targetHttpProxies", + "flatPath": "projects/{project}/aggregated/targetHttpProxies", + "httpMethod": "GET", "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, "includeAllScopes": { - "type": "boolean", + "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", "location": "query", - "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included." + "type": "boolean" }, "maxResults": { "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "type": "integer", "default": "500", "minimum": "0", "location": "query", + "type": "integer", "format": "uint32" }, "orderBy": { - "type": "string", "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "location": "query" - }, - "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "type": "boolean", - "location": "query" + "location": "query", + "type": "string" }, - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "type": "string", - "location": "query" + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" }, "project": { "description": "Name of the project scoping this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" }, - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + }, + "serviceProjectNumber": { + "description": "The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.", + "location": "query", "type": "string", - "location": "query" + "format": "int64" } }, "parameterOrder": [ "project" ], - "id": "compute.publicDelegatedPrefixes.aggregatedList", + "response": { + "$ref": "TargetHttpProxyAggregatedList" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "response": { - "$ref": "PublicDelegatedPrefixAggregatedList" - }, + "description": "Retrieves the list of all TargetHttpProxy resources, regional and global, available to the specified project." + } + } + }, + "regionTargetHttpProxies": { + "methods": { + "list": { + "id": "compute.regionTargetHttpProxies.list", + "path": "projects/{project}/regions/{region}/targetHttpProxies", + "flatPath": "projects/{project}/regions/{region}/targetHttpProxies", "httpMethod": "GET", - "description": "Lists all PublicDelegatedPrefix resources owned by the specific project across all scopes.", - "flatPath": "projects/{project}/aggregated/publicDelegatedPrefixes" - }, - "insert": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "parameterOrder": [ - "project", - "region" - ], - "response": { - "$ref": "Operation" - }, - "flatPath": "projects/{project}/regions/{region}/publicDelegatedPrefixes", - "description": "Creates a PublicDelegatedPrefix in the specified project in the given region using the parameters that are included in the request.", - "httpMethod": "POST", - "id": "compute.publicDelegatedPrefixes.insert", "parameters": { - "region": { - "required": true, - "description": "Name of the region of this request.", - "location": "path", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" }, - "requestId": { - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" }, "project": { "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, - "type": "string", - "location": "path" - } - }, - "request": { - "$ref": "PublicDelegatedPrefix" - }, - "path": "projects/{project}/regions/{region}/publicDelegatedPrefixes" - }, - "get": { - "flatPath": "projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}", - "response": { - "$ref": "PublicDelegatedPrefix" - }, - "parameterOrder": [ - "project", - "region", - "publicDelegatedPrefix" - ], - "id": "compute.publicDelegatedPrefixes.get", - "path": "projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}", - "parameters": { - "project": { "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", - "type": "string", - "required": true - }, - "region": { "required": true, - "location": "path", - "type": "string", - "description": "Name of the region of this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "type": "string" }, - "publicDelegatedPrefix": { + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "required": true, - "type": "string", - "description": "Name of the PublicDelegatedPrefix resource to return." + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } }, - "description": "Returns the specified PublicDelegatedPrefix resource in the given region.", + "parameterOrder": [ + "project", + "region" + ], + "response": { + "$ref": "TargetHttpProxyList" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "httpMethod": "GET" + "description": "Retrieves the list of TargetHttpProxy resources available to the specified project in the specified region." }, - "list": { - "path": "projects/{project}/regions/{region}/publicDelegatedPrefixes", + "get": { + "id": "compute.regionTargetHttpProxies.get", + "path": "projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}", + "flatPath": "projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}", + "httpMethod": "GET", "parameters": { - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "type": "string", - "location": "query" - }, - "orderBy": { - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "type": "string", - "location": "query" + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" }, "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the region of this request.", "type": "string" }, - "maxResults": { - "type": "integer", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "format": "uint32", - "location": "query", - "default": "500", - "minimum": "0" - }, - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "type": "string", - "location": "query" - }, - "project": { - "type": "string", + "targetHttpProxy": { + "description": "Name of the TargetHttpProxy resource to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", - "location": "path" - }, - "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "type": "boolean", - "location": "query" + "type": "string" } }, + "parameterOrder": [ + "project", + "region", + "targetHttpProxy" + ], "response": { - "$ref": "PublicDelegatedPrefixList" + "$ref": "TargetHttpProxy" }, - "id": "compute.publicDelegatedPrefixes.list", - "description": "Lists the PublicDelegatedPrefixes for a project in the given region.", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "flatPath": "projects/{project}/regions/{region}/publicDelegatedPrefixes", - "parameterOrder": [ - "project", - "region" - ], - "httpMethod": "GET" - } - } - }, - "regionCommitments": { - "methods": { + "description": "Returns the specified TargetHttpProxy resource in the specified region." + }, "insert": { - "id": "compute.regionCommitments.insert", + "id": "compute.regionTargetHttpProxies.insert", + "path": "projects/{project}/regions/{region}/targetHttpProxies", + "flatPath": "projects/{project}/regions/{region}/targetHttpProxies", "httpMethod": "POST", - "parameterOrder": [ - "project", - "region" - ], "parameters": { "project": { - "required": true, - "location": "path", + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", - "description": "Project ID for this request." + "location": "path", + "required": true, + "type": "string" }, "region": { - "description": "Name of the region for this request.", - "required": true, - "location": "path", + "description": "Name of the region scoping this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, "type": "string" }, "requestId": { - "type": "string", "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" + "location": "query", + "type": "string" } }, - "flatPath": "projects/{project}/regions/{region}/commitments", - "description": "Creates a commitment in the specified project using the data included in the request.", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "parameterOrder": [ + "project", + "region" ], + "request": { + "$ref": "TargetHttpProxy" + }, "response": { "$ref": "Operation" }, - "request": { - "$ref": "Commitment" - }, - "path": "projects/{project}/regions/{region}/commitments" - }, - "get": { - "description": "Returns the specified commitment resource. Gets a list of available commitments by making a list() request.", - "httpMethod": "GET", - "id": "compute.regionCommitments.get", - "flatPath": "projects/{project}/regions/{region}/commitments/{commitment}", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "parameterOrder": [ - "project", - "region", - "commitment" + "https://www.googleapis.com/auth/compute" ], - "response": { - "$ref": "Commitment" - }, - "path": "projects/{project}/regions/{region}/commitments/{commitment}", + "description": "Creates a TargetHttpProxy resource in the specified project and region using the data included in the request." + }, + "delete": { + "id": "compute.regionTargetHttpProxies.delete", + "path": "projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}", + "flatPath": "projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}", + "httpMethod": "DELETE", "parameters": { "project": { - "location": "path", "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, "type": "string" }, - "commitment": { - "description": "Name of the commitment to return.", - "required": true, - "location": "path", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" - }, "region": { + "description": "Name of the region scoping this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the region for this request.", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "targetHttpProxy": { + "description": "Name of the TargetHttpProxy resource to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, "type": "string" } - } - }, - "update": { - "path": "projects/{project}/regions/{region}/commitments/{commitment}", - "httpMethod": "PATCH", - "description": "Updates the specified commitment with the data included in the request. Update is performed only on selected fields included as part of update-mask. Only the following fields can be modified: auto_renew.", + }, + "parameterOrder": [ + "project", + "region", + "targetHttpProxy" + ], + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], + "description": "Deletes the specified TargetHttpProxy resource." + }, + "setUrlMap": { + "id": "compute.regionTargetHttpProxies.setUrlMap", + "path": "projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}/setUrlMap", + "flatPath": "projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}/setUrlMap", + "httpMethod": "POST", "parameters": { - "region": { - "required": true, - "description": "Name of the region for this request.", - "location": "path", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" - }, "project": { - "type": "string", - "location": "path", "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "paths": { - "location": "query", - "type": "string", - "repeated": true + "type": "string" }, - "commitment": { - "required": true, - "description": "Name of the commitment for which auto renew is being updated.", + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, "type": "string" }, - "updateMask": { - "format": "google-fieldmask", - "description": "update_mask indicates fields to be updated as part of this request.", + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", "type": "string" }, - "requestId": { - "type": "string", - "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "targetHttpProxy": { + "description": "Name of the TargetHttpProxy to set a URL map for.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" } }, - "flatPath": "projects/{project}/regions/{region}/commitments/{commitment}", - "id": "compute.regionCommitments.update", + "parameterOrder": [ + "project", + "region", + "targetHttpProxy" + ], "request": { - "$ref": "Commitment" + "$ref": "UrlMapReference" }, "response": { "$ref": "Operation" }, - "parameterOrder": [ - "project", - "region", - "commitment" - ] - }, - "aggregatedList": { - "parameterOrder": [ - "project" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" ], + "description": "Changes the URL map for TargetHttpProxy." + } + } + }, + "targetHttpsProxies": { + "methods": { + "list": { + "id": "compute.targetHttpsProxies.list", + "path": "projects/{project}/global/targetHttpsProxies", + "flatPath": "projects/{project}/global/targetHttpsProxies", "httpMethod": "GET", - "flatPath": "projects/{project}/aggregated/commitments", "parameters": { - "project": { - "location": "path", - "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", - "type": "string" - }, - "includeAllScopes": { - "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", - "location": "query", - "type": "boolean" - }, - "returnPartialSuccess": { - "type": "boolean", + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." + "type": "string" }, "maxResults": { - "location": "query", "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "type": "integer", - "minimum": "0", "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", "format": "uint32" }, - "filter": { + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", "location": "query", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", "type": "string" }, "pageToken": { - "location": "query", "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", "type": "string" }, - "orderBy": { - "location": "query", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } }, - "path": "projects/{project}/aggregated/commitments", - "id": "compute.regionCommitments.aggregatedList", + "parameterOrder": [ + "project" + ], "response": { - "$ref": "CommitmentAggregatedList" + "$ref": "TargetHttpsProxyList" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "description": "Retrieves an aggregated list of commitments by region." + "description": "Retrieves the list of TargetHttpsProxy resources available to the specified project." }, - "list": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "response": { - "$ref": "CommitmentList" - }, + "aggregatedList": { + "id": "compute.targetHttpsProxies.aggregatedList", + "path": "projects/{project}/aggregated/targetHttpsProxies", + "flatPath": "projects/{project}/aggregated/targetHttpsProxies", + "httpMethod": "GET", "parameters": { - "maxResults": { - "minimum": "0", - "type": "integer", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "default": "500", - "format": "uint32", - "location": "query" - }, "filter": { - "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "location": "query" + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" }, - "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "includeAllScopes": { + "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", "location": "query", "type": "boolean" }, - "orderBy": { + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", "type": "string" }, "project": { - "type": "string", + "description": "Name of the project scoping this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "description": "Project ID for this request.", - "location": "path" + "type": "string" }, - "pageToken": { - "type": "string", + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", "location": "query", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results." + "type": "boolean" }, - "region": { + "serviceProjectNumber": { + "description": "The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.", + "location": "query", "type": "string", - "description": "Name of the region for this request.", - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true + "format": "int64" } }, - "httpMethod": "GET", - "id": "compute.regionCommitments.list", - "description": "Retrieves a list of commitments contained within the specified region.", - "path": "projects/{project}/regions/{region}/commitments", - "flatPath": "projects/{project}/regions/{region}/commitments", "parameterOrder": [ - "project", - "region" - ] - } - } - }, - "firewallPolicies": { - "methods": { - "removeAssociation": { + "project" + ], + "response": { + "$ref": "TargetHttpsProxyAggregatedList" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "httpMethod": "POST", - "id": "compute.firewallPolicies.removeAssociation", - "path": "locations/global/firewallPolicies/{firewallPolicy}/removeAssociation", - "description": "Removes an association for the specified firewall policy.", - "flatPath": "locations/global/firewallPolicies/{firewallPolicy}/removeAssociation", + "description": "Retrieves the list of all TargetHttpsProxy resources, regional and global, available to the specified project." + }, + "get": { + "id": "compute.targetHttpsProxies.get", + "path": "projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}", + "flatPath": "projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}", + "httpMethod": "GET", "parameters": { - "name": { - "location": "query", - "description": "Name for the attachment that will be removed.", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, "type": "string" }, - "requestId": { - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" - }, - "firewallPolicy": { - "description": "Name of the firewall policy to update.", - "pattern": "(firewallPolicies/)?[0-9]{0,20}", + "targetHttpsProxy": { + "description": "Name of the TargetHttpsProxy resource to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", "required": true, - "type": "string", - "location": "path" + "type": "string" } }, "parameterOrder": [ - "firewallPolicy" - ], - "response": { - "$ref": "Operation" - } - }, - "setIamPolicy": { - "parameterOrder": [ - "resource" + "project", + "targetHttpsProxy" ], - "path": "locations/global/firewallPolicies/{resource}/setIamPolicy", - "id": "compute.firewallPolicies.setIamPolicy", - "request": { - "$ref": "GlobalOrganizationSetPolicyRequest" - }, - "parameters": { - "resource": { - "description": "Name or id of the resource for this request.", - "pattern": "(firewallPolicies/)?[0-9]{0,20}", - "required": true, - "location": "path", - "type": "string" - } - }, - "flatPath": "locations/global/firewallPolicies/{resource}/setIamPolicy", "response": { - "$ref": "Policy" + "$ref": "TargetHttpsProxy" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "description": "Sets the access control policy on the specified resource. Replaces any existing policy.", - "httpMethod": "POST" + "description": "Returns the specified TargetHttpsProxy resource." }, "insert": { - "flatPath": "locations/global/firewallPolicies", - "response": { - "$ref": "Operation" - }, - "path": "locations/global/firewallPolicies", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "request": { - "$ref": "FirewallPolicy" - }, - "id": "compute.firewallPolicies.insert", - "description": "Creates a new policy in the specified project using the data included in the request.", + "id": "compute.targetHttpsProxies.insert", + "path": "projects/{project}/global/targetHttpsProxies", + "flatPath": "projects/{project}/global/targetHttpsProxies", + "httpMethod": "POST", "parameters": { - "parentId": { - "type": "string", - "description": "Parent ID for this request. The ID can be either be \"folders/[FOLDER_ID]\" if the parent is a folder or \"organizations/[ORGANIZATION_ID]\" if the parent is an organization.", - "location": "query" + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" }, "requestId": { - "type": "string", + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "type": "string" } }, - "httpMethod": "POST" - }, - "getRule": { - "flatPath": "locations/global/firewallPolicies/{firewallPolicy}/getRule", - "id": "compute.firewallPolicies.getRule", - "description": "Gets a rule of the specified priority.", - "path": "locations/global/firewallPolicies/{firewallPolicy}/getRule", - "response": { - "$ref": "FirewallPolicyRule" - }, "parameterOrder": [ - "firewallPolicy" + "project" ], - "parameters": { - "priority": { - "location": "query", - "description": "The priority of the rule to get from the firewall policy.", - "format": "int32", - "type": "integer" - }, - "firewallPolicy": { - "required": true, - "type": "string", - "description": "Name of the firewall policy to which the queried rule belongs.", - "pattern": "(firewallPolicies/)?[0-9]{0,20}", - "location": "path" - } + "request": { + "$ref": "TargetHttpsProxy" }, - "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ] - }, - "addRule": { "response": { "$ref": "Operation" }, - "request": { - "$ref": "FirewallPolicyRule" - }, - "httpMethod": "POST", - "description": "Inserts a rule into a firewall policy.", - "parameterOrder": [ - "firewallPolicy" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" ], - "flatPath": "locations/global/firewallPolicies/{firewallPolicy}/addRule", - "path": "locations/global/firewallPolicies/{firewallPolicy}/addRule", - "id": "compute.firewallPolicies.addRule", + "description": "Creates a TargetHttpsProxy resource in the specified project using the data included in the request." + }, + "patch": { + "id": "compute.targetHttpsProxies.patch", + "path": "projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}", + "flatPath": "projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}", + "httpMethod": "PATCH", "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, "requestId": { - "location": "query", "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", "type": "string" }, - "firewallPolicy": { + "targetHttpsProxy": { + "description": "Name of the TargetHttpsProxy resource to patch.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, - "type": "string", - "description": "Name of the firewall policy to update.", - "pattern": "(firewallPolicies/)?[0-9]{0,20}" + "type": "string" } }, + "parameterOrder": [ + "project", + "targetHttpsProxy" + ], + "request": { + "$ref": "TargetHttpsProxy" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" - ] - }, - "listAssociations": { - "id": "compute.firewallPolicies.listAssociations", - "path": "locations/global/firewallPolicies/listAssociations", - "description": "Lists associations of a specified target, i.e., organization or folder.", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" ], - "flatPath": "locations/global/firewallPolicies/listAssociations", + "description": "Patches the specified TargetHttpsProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules." + }, + "delete": { + "id": "compute.targetHttpsProxies.delete", + "path": "projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}", + "flatPath": "projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}", + "httpMethod": "DELETE", "parameters": { - "targetResource": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "description": "The target resource to list associations. It is an organization, or a folder.", + "type": "string" + }, + "targetHttpsProxy": { + "description": "Name of the TargetHttpsProxy resource to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, "type": "string" } }, + "parameterOrder": [ + "project", + "targetHttpsProxy" + ], "response": { - "$ref": "FirewallPoliciesListAssociationsResponse" + "$ref": "Operation" }, - "httpMethod": "GET" - }, - "move": { - "description": "Moves the specified firewall policy.", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "id": "compute.firewallPolicies.move", - "parameterOrder": [ - "firewallPolicy" - ], + "description": "Deletes the specified TargetHttpsProxy resource." + }, + "setUrlMap": { + "id": "compute.targetHttpsProxies.setUrlMap", + "path": "projects/{project}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap", + "flatPath": "projects/{project}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap", "httpMethod": "POST", - "flatPath": "locations/global/firewallPolicies/{firewallPolicy}/move", - "path": "locations/global/firewallPolicies/{firewallPolicy}/move", "parameters": { - "parentId": { - "location": "query", - "description": "The new parent of the firewall policy.", - "type": "string" - }, - "firewallPolicy": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "pattern": "(firewallPolicies/)?[0-9]{0,20}", - "description": "Name of the firewall policy to update.", - "type": "string", - "required": true + "required": true, + "type": "string" }, "requestId": { "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" + "location": "query", + "type": "string" + }, + "targetHttpsProxy": { + "description": "Name of the TargetHttpsProxy resource whose URL map is to be set.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" } }, + "parameterOrder": [ + "project", + "targetHttpsProxy" + ], + "request": { + "$ref": "UrlMapReference" + }, "response": { "$ref": "Operation" - } - }, - "patch": { - "response": { - "$ref": "Operation" - }, - "httpMethod": "PATCH", - "request": { - "$ref": "FirewallPolicy" }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Changes the URL map for TargetHttpsProxy." + }, + "setSslCertificates": { + "id": "compute.targetHttpsProxies.setSslCertificates", + "path": "projects/{project}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates", + "flatPath": "projects/{project}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates", + "httpMethod": "POST", "parameters": { - "firewallPolicy": { - "pattern": "(firewallPolicies/)?[0-9]{0,20}", - "required": true, - "description": "Name of the firewall policy to update.", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", + "required": true, "type": "string" }, "requestId": { "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" + "location": "query", + "type": "string" + }, + "targetHttpsProxy": { + "description": "Name of the TargetHttpsProxy resource to set an SslCertificates resource for.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" } }, - "path": "locations/global/firewallPolicies/{firewallPolicy}", "parameterOrder": [ - "firewallPolicy" + "project", + "targetHttpsProxy" ], - "description": "Patches the specified policy with the data included in the request.", + "request": { + "$ref": "TargetHttpsProxiesSetSslCertificatesRequest" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "id": "compute.firewallPolicies.patch", - "flatPath": "locations/global/firewallPolicies/{firewallPolicy}" + "description": "Replaces SslCertificates for TargetHttpsProxy." }, - "testIamPermissions": { + "setCertificateMap": { + "id": "compute.targetHttpsProxies.setCertificateMap", + "path": "projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setCertificateMap", + "flatPath": "projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setCertificateMap", "httpMethod": "POST", - "flatPath": "locations/global/firewallPolicies/{resource}/testIamPermissions", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "description": "Returns permissions that a caller has on the specified resource.", - "request": { - "$ref": "TestPermissionsRequest" - }, - "path": "locations/global/firewallPolicies/{resource}/testIamPermissions", - "id": "compute.firewallPolicies.testIamPermissions", - "parameterOrder": [ - "resource" - ], - "response": { - "$ref": "TestPermissionsResponse" - }, - "parameters": { - "resource": { - "description": "Name or id of the resource for this request.", - "pattern": "(firewallPolicies/)?[0-9]{0,20}", - "location": "path", - "type": "string", - "required": true - } - } - }, - "getIamPolicy": { - "response": { - "$ref": "Policy" - }, - "flatPath": "locations/global/firewallPolicies/{resource}/getIamPolicy", - "httpMethod": "GET", - "parameterOrder": [ - "resource" - ], - "id": "compute.firewallPolicies.getIamPolicy", "parameters": { - "resource": { - "type": "string", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "description": "Name or id of the resource for this request.", "required": true, - "pattern": "(firewallPolicies/)?[0-9]{0,20}" + "type": "string" }, - "optionsRequestedPolicyVersion": { - "type": "integer", + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "description": "Requested IAM Policy version.", - "format": "int32" + "type": "string" + }, + "targetHttpsProxy": { + "description": "Name of the TargetHttpsProxy resource whose CertificateMap is to be set. The name must be 1-63 characters long, and comply with RFC1035.", + "location": "path", + "required": true, + "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "parameterOrder": [ + "project", + "targetHttpsProxy" ], - "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.", - "path": "locations/global/firewallPolicies/{resource}/getIamPolicy" - }, - "getAssociation": { + "request": { + "$ref": "TargetHttpsProxiesSetCertificateMapRequest" + }, "response": { - "$ref": "FirewallPolicyAssociation" + "$ref": "Operation" }, - "parameterOrder": [ - "firewallPolicy" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" ], - "path": "locations/global/firewallPolicies/{firewallPolicy}/getAssociation", - "id": "compute.firewallPolicies.getAssociation", - "description": "Gets an association with the specified name.", - "httpMethod": "GET", + "description": "Changes the Certificate Map for TargetHttpsProxy." + }, + "setSslPolicy": { + "id": "compute.targetHttpsProxies.setSslPolicy", + "path": "projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setSslPolicy", + "flatPath": "projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setSslPolicy", + "httpMethod": "POST", "parameters": { - "name": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "description": "The name of the association to get from the firewall policy.", "type": "string" }, - "firewallPolicy": { - "required": true, - "type": "string", + "targetHttpsProxy": { + "description": "Name of the TargetHttpsProxy resource whose SSL policy is to be set. The name must be 1-63 characters long, and comply with RFC1035.", "location": "path", - "description": "Name of the firewall policy to which the queried rule belongs.", - "pattern": "(firewallPolicies/)?[0-9]{0,20}" + "required": true, + "type": "string" } }, - "flatPath": "locations/global/firewallPolicies/{firewallPolicy}/getAssociation", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ] - }, - "addAssociation": { + "parameterOrder": [ + "project", + "targetHttpsProxy" + ], + "request": { + "$ref": "SslPolicyReference" + }, "response": { "$ref": "Operation" }, - "flatPath": "locations/global/firewallPolicies/{firewallPolicy}/addAssociation", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], + "description": "Sets the SSL policy for TargetHttpsProxy. The SSL policy specifies the server-side support for SSL features. This affects connections between clients and the HTTPS proxy load balancer. They do not affect the connection between the load balancer and the backends." + }, + "setQuicOverride": { + "id": "compute.targetHttpsProxies.setQuicOverride", + "path": "projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setQuicOverride", + "flatPath": "projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setQuicOverride", + "httpMethod": "POST", "parameters": { - "firewallPolicy": { - "description": "Name of the firewall policy to update.", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "pattern": "(firewallPolicies/)?[0-9]{0,20}", - "type": "string", - "location": "path" - }, - "replaceExistingAssociation": { - "type": "boolean", - "description": "Indicates whether or not to replace it if an association of the attachment already exists. This is false by default, in which case an error will be returned if an association already exists.", - "location": "query" + "type": "string" }, "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "type": "string" + }, + "targetHttpsProxy": { + "description": "Name of the TargetHttpsProxy resource to set the QUIC override policy for. The name should conform to RFC1035.", + "location": "path", + "required": true, + "type": "string" } }, "parameterOrder": [ - "firewallPolicy" + "project", + "targetHttpsProxy" ], - "httpMethod": "POST", - "description": "Inserts an association for the specified firewall policy.", - "id": "compute.firewallPolicies.addAssociation", - "path": "locations/global/firewallPolicies/{firewallPolicy}/addAssociation", "request": { - "$ref": "FirewallPolicyAssociation" - } - }, - "list": { + "$ref": "TargetHttpsProxiesSetQuicOverrideRequest" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], - "description": "Lists all the policies that have been configured for the specified folder or organization.", - "response": { - "$ref": "FirewallPolicyList" - }, - "path": "locations/global/firewallPolicies", + "description": "Sets the QUIC override policy for TargetHttpsProxy." + } + } + }, + "regionTargetHttpsProxies": { + "methods": { + "list": { + "id": "compute.regionTargetHttpsProxies.list", + "path": "projects/{project}/regions/{region}/targetHttpsProxies", + "flatPath": "projects/{project}/regions/{region}/targetHttpsProxies", + "httpMethod": "GET", "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, "maxResults": { - "type": "integer", - "format": "uint32", - "minimum": "0", "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", "default": "500", - "location": "query" + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" }, "orderBy": { - "location": "query", "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", "type": "string" }, "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "location": "query", - "type": "string", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results." - }, - "filter": { - "location": "query", - "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`." + "type": "string" }, - "parentId": { - "description": "Parent ID for this request.", - "location": "query", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, "type": "string" }, - "returnPartialSuccess": { - "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "type": "boolean" - } - }, - "httpMethod": "GET", - "flatPath": "locations/global/firewallPolicies", - "id": "compute.firewallPolicies.list" - }, - "patchRule": { - "path": "locations/global/firewallPolicies/{firewallPolicy}/patchRule", - "httpMethod": "POST", - "request": { - "$ref": "FirewallPolicyRule" - }, - "description": "Patches a rule of the specified priority.", - "parameters": { - "firewallPolicy": { + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "pattern": "(firewallPolicies/)?[0-9]{0,20}", "required": true, - "type": "string", - "description": "Name of the firewall policy to update." + "type": "string" }, - "requestId": { - "type": "string", + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - }, - "priority": { - "format": "int32", - "description": "The priority of the rule to patch.", - "type": "integer", - "location": "query" + "type": "boolean" } }, - "id": "compute.firewallPolicies.patchRule", - "flatPath": "locations/global/firewallPolicies/{firewallPolicy}/patchRule", "parameterOrder": [ - "firewallPolicy" + "project", + "region" ], + "response": { + "$ref": "TargetHttpsProxyList" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "response": { - "$ref": "Operation" - } + "description": "Retrieves the list of TargetHttpsProxy resources available to the specified project in the specified region." }, - "removeRule": { + "get": { + "id": "compute.regionTargetHttpsProxies.get", + "path": "projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}", + "flatPath": "projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}", + "httpMethod": "GET", "parameters": { - "firewallPolicy": { - "pattern": "(firewallPolicies/)?[0-9]{0,20}", - "type": "string", - "description": "Name of the firewall policy to update.", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "required": true + "required": true, + "type": "string" }, - "priority": { - "format": "int32", - "description": "The priority of the rule to remove from the firewall policy.", - "location": "query", - "type": "integer" + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" }, - "requestId": { - "type": "string", - "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "targetHttpsProxy": { + "description": "Name of the TargetHttpsProxy resource to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "path": "locations/global/firewallPolicies/{firewallPolicy}/removeRule", - "description": "Deletes a rule of the specified priority.", - "httpMethod": "POST", - "parameterOrder": [ - "firewallPolicy" - ], - "flatPath": "locations/global/firewallPolicies/{firewallPolicy}/removeRule", - "response": { - "$ref": "Operation" - }, - "id": "compute.firewallPolicies.removeRule" - }, - "get": { "parameterOrder": [ - "firewallPolicy" + "project", + "region", + "targetHttpsProxy" ], - "flatPath": "locations/global/firewallPolicies/{firewallPolicy}", - "path": "locations/global/firewallPolicies/{firewallPolicy}", - "httpMethod": "GET", "response": { - "$ref": "FirewallPolicy" - }, - "description": "Returns the specified firewall policy.", - "parameters": { - "firewallPolicy": { - "type": "string", - "pattern": "(firewallPolicies/)?[0-9]{0,20}", - "required": true, - "location": "path", - "description": "Name of the firewall policy to get." - } + "$ref": "TargetHttpsProxy" }, - "id": "compute.firewallPolicies.get", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" - ] - }, - "cloneRules": { - "flatPath": "locations/global/firewallPolicies/{firewallPolicy}/cloneRules", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "parameterOrder": [ - "firewallPolicy" ], + "description": "Returns the specified TargetHttpsProxy resource in the specified region." + }, + "insert": { + "id": "compute.regionTargetHttpsProxies.insert", + "path": "projects/{project}/regions/{region}/targetHttpsProxies", + "flatPath": "projects/{project}/regions/{region}/targetHttpsProxies", + "httpMethod": "POST", "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, "requestId": { - "type": "string", "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" - }, - "sourceFirewallPolicy": { "location": "query", - "description": "The firewall policy from which to copy rules.", "type": "string" - }, - "firewallPolicy": { - "type": "string", - "location": "path", - "description": "Name of the firewall policy to update.", - "pattern": "(firewallPolicies/)?[0-9]{0,20}", - "required": true } }, - "description": "Copies rules to the specified firewall policy.", + "parameterOrder": [ + "project", + "region" + ], + "request": { + "$ref": "TargetHttpsProxy" + }, "response": { "$ref": "Operation" }, - "path": "locations/global/firewallPolicies/{firewallPolicy}/cloneRules", - "httpMethod": "POST", - "id": "compute.firewallPolicies.cloneRules" - }, - "delete": { "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "parameters": { - "requestId": { - "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - }, - "firewallPolicy": { - "location": "path", - "pattern": "(firewallPolicies/)?[0-9]{0,20}", - "type": "string", - "required": true, - "description": "Name of the firewall policy to delete." - } - }, - "flatPath": "locations/global/firewallPolicies/{firewallPolicy}", - "description": "Deletes the specified policy.", - "response": { - "$ref": "Operation" - }, - "httpMethod": "DELETE", - "id": "compute.firewallPolicies.delete", - "path": "locations/global/firewallPolicies/{firewallPolicy}", - "parameterOrder": [ - "firewallPolicy" - ] - } - } - }, - "routes": { - "methods": { + "description": "Creates a TargetHttpsProxy resource in the specified project and region using the data included in the request." + }, "delete": { + "id": "compute.regionTargetHttpsProxies.delete", + "path": "projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}", + "flatPath": "projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}", + "httpMethod": "DELETE", "parameters": { - "route": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", - "required": true, - "description": "Name of the Route resource to delete.", - "location": "path" - }, "project": { - "type": "string", "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" }, "requestId": { - "type": "string", "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" + "location": "query", + "type": "string" + }, + "targetHttpsProxy": { + "description": "Name of the TargetHttpsProxy resource to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" } }, - "flatPath": "projects/{project}/global/routes/{route}", "parameterOrder": [ "project", - "route" + "region", + "targetHttpsProxy" ], "response": { "$ref": "Operation" }, - "path": "projects/{project}/global/routes/{route}", - "id": "compute.routes.delete", - "description": "Deletes the specified Route resource.", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "httpMethod": "DELETE" + "description": "Deletes the specified TargetHttpsProxy resource." }, - "insert": { - "flatPath": "projects/{project}/global/routes", - "description": "Creates a Route resource in the specified project using the data included in the request.", - "path": "projects/{project}/global/routes", - "id": "compute.routes.insert", - "response": { - "$ref": "Operation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], + "patch": { + "id": "compute.regionTargetHttpsProxies.patch", + "path": "projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}", + "flatPath": "projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}", + "httpMethod": "PATCH", "parameters": { - "requestId": { - "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string" - }, "project": { - "type": "string", - "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "description": "Project ID for this request.", - "location": "path" - } - }, - "httpMethod": "POST", - "request": { - "$ref": "Route" - }, - "parameterOrder": [ - "project" - ] - }, - "get": { - "parameters": { - "route": { - "description": "Name of the Route resource to return.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", - "location": "path" + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" }, - "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "targetHttpsProxy": { + "description": "Name of the TargetHttpsProxy resource to patch.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, - "type": "string", - "description": "Project ID for this request." + "type": "string" } }, "parameterOrder": [ "project", - "route" + "region", + "targetHttpsProxy" ], + "request": { + "$ref": "TargetHttpsProxy" + }, "response": { - "$ref": "Route" + "$ref": "Operation" }, - "flatPath": "projects/{project}/global/routes/{route}", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], - "id": "compute.routes.get", - "path": "projects/{project}/global/routes/{route}", - "description": "Returns the specified Route resource. Gets a list of available routes by making a list() request.", - "httpMethod": "GET" + "description": "Patches the specified regional TargetHttpsProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules." }, - "list": { - "parameterOrder": [ - "project" - ], - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "httpMethod": "GET", + "setUrlMap": { + "id": "compute.regionTargetHttpsProxies.setUrlMap", + "path": "projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap", + "flatPath": "projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap", + "httpMethod": "POST", "parameters": { - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "type": "string", - "location": "query" - }, "project": { - "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", + "required": true, "type": "string" }, - "returnPartialSuccess": { - "location": "query", - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." - }, - "orderBy": { - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "location": "query", + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, "type": "string" }, - "pageToken": { + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "type": "string", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results." + "type": "string" }, - "maxResults": { - "format": "uint32", - "type": "integer", - "location": "query", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "default": "500", - "minimum": "0" + "targetHttpsProxy": { + "description": "Name of the TargetHttpsProxy to set a URL map for.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" } }, - "path": "projects/{project}/global/routes", - "flatPath": "projects/{project}/global/routes", - "id": "compute.routes.list", - "response": { - "$ref": "RouteList" - }, - "description": "Retrieves the list of Route resources available to the specified project." - } - } - }, - "machineTypes": { - "methods": { - "get": { "parameterOrder": [ "project", - "zone", - "machineType" + "region", + "targetHttpsProxy" ], - "id": "compute.machineTypes.get", - "flatPath": "projects/{project}/zones/{zone}/machineTypes/{machineType}", + "request": { + "$ref": "UrlMapReference" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], - "path": "projects/{project}/zones/{zone}/machineTypes/{machineType}", - "httpMethod": "GET", + "description": "Changes the URL map for TargetHttpsProxy." + }, + "setSslCertificates": { + "id": "compute.regionTargetHttpsProxies.setSslCertificates", + "path": "projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates", + "flatPath": "projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates", + "httpMethod": "POST", "parameters": { "project": { - "required": true, - "location": "path", "description": "Project ID for this request.", - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "zone": { + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "type": "string", - "description": "The name of the zone for this request." + "required": true, + "type": "string" }, - "machineType": { - "description": "Name of the machine type to return.", + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "targetHttpsProxy": { + "description": "Name of the TargetHttpsProxy resource to set an SslCertificates resource for.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "type": "string", - "required": true + "required": true, + "type": "string" } }, - "description": "Returns the specified machine type. Gets a list of available machine types by making a list() request.", - "response": { - "$ref": "MachineType" - } - }, - "aggregatedList": { - "id": "compute.machineTypes.aggregatedList", + "parameterOrder": [ + "project", + "region", + "targetHttpsProxy" + ], + "request": { + "$ref": "RegionTargetHttpsProxiesSetSslCertificatesRequest" + }, "response": { - "$ref": "MachineTypeAggregatedList" + "$ref": "Operation" }, - "parameterOrder": [ - "project" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" ], - "description": "Retrieves an aggregated list of machine types.", - "flatPath": "projects/{project}/aggregated/machineTypes", + "description": "Replaces SslCertificates for TargetHttpsProxy." + } + } + }, + "targetInstances": { + "methods": { + "list": { + "id": "compute.targetInstances.list", + "path": "projects/{project}/zones/{zone}/targetInstances", + "flatPath": "projects/{project}/zones/{zone}/targetInstances", "httpMethod": "GET", "parameters": { "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", "location": "query", "type": "string" }, - "returnPartialSuccess": { - "type": "boolean", + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." + "type": "integer", + "format": "uint32" }, "orderBy": { - "type": "string", "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "location": "query" + "location": "query", + "type": "string" }, "pageToken": { - "type": "string", "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "location": "query" - }, - "maxResults": { - "format": "uint32", - "minimum": "0", - "type": "integer", - "default": "500", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "location": "query" + "location": "query", + "type": "string" }, "project": { - "required": true, "description": "Project ID for this request.", - "type": "string", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "location": "path" + "location": "path", + "required": true, + "type": "string" }, - "includeAllScopes": { + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", "location": "query", - "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", "type": "boolean" + }, + "zone": { + "description": "Name of the zone scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" } }, - "path": "projects/{project}/aggregated/machineTypes", + "parameterOrder": [ + "project", + "zone" + ], + "response": { + "$ref": "TargetInstanceList" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" - ] + ], + "description": "Retrieves a list of TargetInstance resources available to the specified project and zone." }, - "list": { - "response": { - "$ref": "MachineTypeList" - }, + "aggregatedList": { + "id": "compute.targetInstances.aggregatedList", + "path": "projects/{project}/aggregated/targetInstances", + "flatPath": "projects/{project}/aggregated/targetInstances", "httpMethod": "GET", "parameters": { "filter": { - "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "location": "query" + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" }, - "returnPartialSuccess": { - "type": "boolean", + "includeAllScopes": { + "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." + "type": "boolean" }, - "zone": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true, - "location": "path", - "description": "The name of the zone for this request.", - "type": "string" + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" }, "orderBy": { "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "type": "string", - "location": "query" + "location": "query", + "type": "string" }, - "maxResults": { - "type": "integer", + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "location": "query", - "default": "500", - "format": "uint32", - "minimum": "0", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)" + "type": "string" }, "project": { - "location": "path", - "required": true, "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, "type": "string" }, - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + }, + "serviceProjectNumber": { + "description": "The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.", + "location": "query", "type": "string", - "location": "query" + "format": "int64" } }, - "id": "compute.machineTypes.list", - "flatPath": "projects/{project}/zones/{zone}/machineTypes", + "parameterOrder": [ + "project" + ], + "response": { + "$ref": "TargetInstanceAggregatedList" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "description": "Retrieves a list of machine types available to the specified project.", - "path": "projects/{project}/zones/{zone}/machineTypes", - "parameterOrder": [ - "project", - "zone" - ] - } - } - }, - "globalAddresses": { - "methods": { + "description": "Retrieves an aggregated list of target instances." + }, "get": { - "id": "compute.globalAddresses.get", - "description": "Returns the specified address resource. Gets a list of available addresses by making a list() request.", - "response": { - "$ref": "Address" - }, - "path": "projects/{project}/global/addresses/{address}", - "parameterOrder": [ - "project", - "address" - ], - "flatPath": "projects/{project}/global/addresses/{address}", + "id": "compute.targetInstances.get", + "path": "projects/{project}/zones/{zone}/targetInstances/{targetInstance}", + "flatPath": "projects/{project}/zones/{zone}/targetInstances/{targetInstance}", "httpMethod": "GET", "parameters": { "project": { - "required": true, "description": "Project ID for this request.", - "type": "string", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "location": "path" + "location": "path", + "required": true, + "type": "string" }, - "address": { + "targetInstance": { + "description": "Name of the TargetInstance resource to return.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", "required": true, - "description": "Name of the address resource to return.", - "type": "string", - "location": "path" + "type": "string" + }, + "zone": { + "description": "Name of the zone scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" } }, + "parameterOrder": [ + "project", + "zone", + "targetInstance" + ], + "response": { + "$ref": "TargetInstance" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" - ] - }, - "setLabels": { - "flatPath": "projects/{project}/global/addresses/{resource}/setLabels", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" ], + "description": "Returns the specified TargetInstance resource." + }, + "insert": { + "id": "compute.targetInstances.insert", + "path": "projects/{project}/zones/{zone}/targetInstances", + "flatPath": "projects/{project}/zones/{zone}/targetInstances", "httpMethod": "POST", - "parameterOrder": [ - "project", - "resource" - ], "parameters": { - "resource": { - "type": "string", - "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true, - "location": "path", - "description": "Name or id of the resource for this request." - }, "project": { - "required": true, "description": "Project ID for this request.", - "type": "string", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "location": "path" + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "zone": { + "description": "Name of the zone scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" } }, + "parameterOrder": [ + "project", + "zone" + ], + "request": { + "$ref": "TargetInstance" + }, "response": { "$ref": "Operation" }, - "id": "compute.globalAddresses.setLabels", - "path": "projects/{project}/global/addresses/{resource}/setLabels", - "request": { - "$ref": "GlobalSetLabelsRequest" - }, - "description": "Sets the labels on a GlobalAddress. To learn more about labels, read the Labeling Resources documentation." - }, - "list": { - "flatPath": "projects/{project}/global/addresses", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], - "id": "compute.globalAddresses.list", - "path": "projects/{project}/global/addresses", - "response": { - "$ref": "AddressList" - }, - "httpMethod": "GET", + "description": "Creates a TargetInstance resource in the specified project and zone using the data included in the request." + }, + "delete": { + "id": "compute.targetInstances.delete", + "path": "projects/{project}/zones/{zone}/targetInstances/{targetInstance}", + "flatPath": "projects/{project}/zones/{zone}/targetInstances/{targetInstance}", + "httpMethod": "DELETE", "parameters": { - "pageToken": { - "type": "string", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "location": "query" + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" }, - "filter": { + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`." - }, - "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "type": "boolean", - "location": "query" + "type": "string" }, - "orderBy": { - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "type": "string", - "location": "query" + "targetInstance": { + "description": "Name of the TargetInstance resource to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" }, + "zone": { + "description": "Name of the zone scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "zone", + "targetInstance" + ], + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Deletes the specified TargetInstance resource." + }, + "setSecurityPolicy": { + "id": "compute.targetInstances.setSecurityPolicy", + "path": "projects/{project}/zones/{zone}/targetInstances/{targetInstance}/setSecurityPolicy", + "flatPath": "projects/{project}/zones/{zone}/targetInstances/{targetInstance}/setSecurityPolicy", + "httpMethod": "POST", + "parameters": { "project": { "description": "Project ID for this request.", - "location": "path", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, "type": "string" }, - "maxResults": { - "default": "500", + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "minimum": "0", - "type": "integer", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "format": "uint32" + "type": "string" + }, + "targetInstance": { + "description": "Name of the TargetInstance resource to which the security policy should be set. The name should conform to RFC1035.", + "location": "path", + "required": true, + "type": "string" + }, + "zone": { + "description": "Name of the zone scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" } }, - "description": "Retrieves a list of global addresses.", "parameterOrder": [ - "project" - ] - }, - "delete": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "project", + "zone", + "targetInstance" ], + "request": { + "$ref": "SecurityPolicyReference" + }, "response": { "$ref": "Operation" }, - "httpMethod": "DELETE", - "path": "projects/{project}/global/addresses/{address}", - "flatPath": "projects/{project}/global/addresses/{address}", - "description": "Deletes the specified address resource.", - "id": "compute.globalAddresses.delete", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Sets the Google Cloud Armor security policy for the specified target instance. For more information, see Google Cloud Armor Overview" + } + } + }, + "targetPools": { + "methods": { + "list": { + "id": "compute.targetPools.list", + "path": "projects/{project}/regions/{region}/targetPools", + "flatPath": "projects/{project}/regions/{region}/targetPools", + "httpMethod": "GET", "parameters": { - "address": { - "required": true, - "description": "Name of the address resource to delete.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "location": "path", + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", "type": "string" }, - "project": { - "required": true, - "description": "Project ID for this request.", - "location": "path", - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "location": "query", "type": "string" - } - }, - "parameterOrder": [ - "project", - "address" - ] - }, - "insert": { - "request": { - "$ref": "Address" - }, - "httpMethod": "POST", - "response": { - "$ref": "Operation" - }, - "description": "Creates an address resource in the specified project by using the data included in the request.", - "path": "projects/{project}/global/addresses", - "parameterOrder": [ - "project" - ], - "flatPath": "projects/{project}/global/addresses", - "id": "compute.globalAddresses.insert", - "parameters": { + }, "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "description": "Project ID for this request.", + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", + "required": true, "type": "string" }, - "requestId": { + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "type": "boolean" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ] - } - } - }, - "snapshots": { - "methods": { - "insert": { - "httpMethod": "POST", - "response": { - "$ref": "Operation" - }, "parameterOrder": [ - "project" + "project", + "region" ], - "description": "Creates a snapshot in the specified project using the data included in the request. For regular snapshot creation, consider using this method instead of disks.createSnapshot, as this method supports more features, such as creating snapshots in a project different from the source disk project.", + "response": { + "$ref": "TargetPoolList" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "request": { - "$ref": "Snapshot" - }, - "path": "projects/{project}/global/snapshots", - "flatPath": "projects/{project}/global/snapshots", + "description": "Retrieves a list of target pools available to the specified project and region." + }, + "aggregatedList": { + "id": "compute.targetPools.aggregatedList", + "path": "projects/{project}/aggregated/targetPools", + "flatPath": "projects/{project}/aggregated/targetPools", + "httpMethod": "GET", "parameters": { - "requestId": { - "type": "string", + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "type": "string" + }, + "includeAllScopes": { + "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", + "location": "query", + "type": "boolean" }, - "project": { - "type": "string", - "location": "path", - "required": true, - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - } - }, - "id": "compute.snapshots.insert" - }, - "list": { - "response": { - "$ref": "SnapshotList" - }, - "description": "Retrieves the list of Snapshot resources contained within the specified project.", - "parameters": { "maxResults": { - "format": "uint32", - "type": "integer", "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "location": "query", + "default": "500", "minimum": "0", - "default": "500" + "location": "query", + "type": "integer", + "format": "uint32" }, "orderBy": { - "type": "string", "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "location": "query" - }, - "returnPartialSuccess": { - "type": "boolean", "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." + "type": "string" }, "pageToken": { - "location": "query", "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", "type": "string" }, - "filter": { - "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "location": "query" - }, "project": { - "location": "path", "description": "Project ID for this request.", - "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + }, + "serviceProjectNumber": { + "description": "The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.", + "location": "query", + "type": "string", + "format": "int64" } }, "parameterOrder": [ "project" ], - "flatPath": "projects/{project}/global/snapshots", - "httpMethod": "GET", - "path": "projects/{project}/global/snapshots", + "response": { + "$ref": "TargetPoolAggregatedList" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "id": "compute.snapshots.list" + "description": "Retrieves an aggregated list of target pools." }, - "setLabels": { - "description": "Sets the labels on a snapshot. To learn more about labels, read the Labeling Resources documentation.", - "id": "compute.snapshots.setLabels", - "path": "projects/{project}/global/snapshots/{resource}/setLabels", + "get": { + "id": "compute.targetPools.get", + "path": "projects/{project}/regions/{region}/targetPools/{targetPool}", + "flatPath": "projects/{project}/regions/{region}/targetPools/{targetPool}", + "httpMethod": "GET", "parameters": { "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "type": "string", - "description": "Project ID for this request." + "type": "string" }, - "resource": { + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "targetPool": { + "description": "Name of the TargetPool resource to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, - "description": "Name or id of the resource for this request.", - "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "type": "string" } }, - "response": { - "$ref": "Operation" - }, - "flatPath": "projects/{project}/global/snapshots/{resource}/setLabels", - "request": { - "$ref": "GlobalSetLabelsRequest" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "parameterOrder": [ - "project", - "resource" - ], - "httpMethod": "POST" - }, - "get": { - "description": "Returns the specified Snapshot resource. Gets a list of available snapshots by making a list() request.", "parameterOrder": [ "project", - "snapshot" + "region", + "targetPool" ], - "httpMethod": "GET", - "parameters": { - "snapshot": { - "required": true, - "type": "string", - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name of the Snapshot resource to return." - }, - "project": { - "description": "Project ID for this request.", - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", - "required": true - } - }, - "flatPath": "projects/{project}/global/snapshots/{snapshot}", - "path": "projects/{project}/global/snapshots/{snapshot}", "response": { - "$ref": "Snapshot" + "$ref": "TargetPool" }, - "id": "compute.snapshots.get", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" - ] - }, - "delete": { - "id": "compute.snapshots.delete", - "description": "Deletes the specified Snapshot resource. Keep in mind that deleting a single snapshot might not necessarily delete all the data on that snapshot. If any data on the snapshot that is marked for deletion is needed for subsequent snapshots, the data will be moved to the next corresponding snapshot. For more information, see Deleting snapshots.", - "httpMethod": "DELETE", - "parameterOrder": [ - "project", - "snapshot" - ], - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" ], - "flatPath": "projects/{project}/global/snapshots/{snapshot}", - "response": { - "$ref": "Operation" - }, + "description": "Returns the specified target pool." + }, + "insert": { + "id": "compute.targetPools.insert", + "path": "projects/{project}/regions/{region}/targetPools", + "flatPath": "projects/{project}/regions/{region}/targetPools", + "httpMethod": "POST", "parameters": { - "snapshot": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "required": true, - "description": "Name of the Snapshot resource to delete." + "type": "string" }, - "project": { - "type": "string", + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", - "location": "path" + "type": "string" }, "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "type": "string" } }, - "path": "projects/{project}/global/snapshots/{snapshot}" - }, - "testIamPermissions": { - "request": { - "$ref": "TestPermissionsRequest" - }, - "flatPath": "projects/{project}/global/snapshots/{resource}/testIamPermissions", - "description": "Returns permissions that a caller has on the specified resource.", - "path": "projects/{project}/global/snapshots/{resource}/testIamPermissions", - "id": "compute.snapshots.testIamPermissions", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "parameterOrder": [ + "project", + "region" ], - "parameters": { - "resource": { - "location": "path", - "required": true, - "type": "string", - "description": "Name or id of the resource for this request.", - "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" - }, - "project": { - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", - "required": true, - "description": "Project ID for this request." - } + "request": { + "$ref": "TargetPool" }, - "httpMethod": "POST", "response": { - "$ref": "TestPermissionsResponse" + "$ref": "Operation" }, - "parameterOrder": [ - "project", - "resource" - ] - }, - "getIamPolicy": { - "id": "compute.snapshots.getIamPolicy", - "parameterOrder": [ - "project", - "resource" - ], - "flatPath": "projects/{project}/global/snapshots/{resource}/getIamPolicy", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], - "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.", - "httpMethod": "GET", - "path": "projects/{project}/global/snapshots/{resource}/getIamPolicy", - "response": { - "$ref": "Policy" - }, + "description": "Creates a target pool in the specified project and region using the data included in the request." + }, + "delete": { + "id": "compute.targetPools.delete", + "path": "projects/{project}/regions/{region}/targetPools/{targetPool}", + "flatPath": "projects/{project}/regions/{region}/targetPools/{targetPool}", + "httpMethod": "DELETE", "parameters": { - "resource": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "description": "Name or id of the resource for this request.", "required": true, - "type": "string", - "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" + "type": "string" }, - "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", "required": true, - "type": "string", - "location": "path" + "type": "string" }, - "optionsRequestedPolicyVersion": { - "type": "integer", + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "format": "int32", - "description": "Requested IAM Policy version." - } - } - }, - "setIamPolicy": { - "parameters": { - "resource": { - "required": true, - "type": "string", - "pattern": "[a-z](?:[-a-z0-9_]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "location": "path", - "description": "Name or id of the resource for this request." + "type": "string" }, - "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "targetPool": { + "description": "Name of the TargetPool resource to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", "required": true, - "type": "string", - "description": "Project ID for this request.", - "location": "path" + "type": "string" } }, - "description": "Sets the access control policy on the specified resource. Replaces any existing policy.", - "request": { - "$ref": "GlobalSetPolicyRequest" - }, + "parameterOrder": [ + "project", + "region", + "targetPool" + ], "response": { - "$ref": "Policy" + "$ref": "Operation" }, - "id": "compute.snapshots.setIamPolicy", - "httpMethod": "POST", - "path": "projects/{project}/global/snapshots/{resource}/setIamPolicy", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "flatPath": "projects/{project}/global/snapshots/{resource}/setIamPolicy", - "parameterOrder": [ - "project", - "resource" - ] - } - } - }, - "forwardingRules": { - "methods": { - "get": { - "response": { - "$ref": "ForwardingRule" - }, - "flatPath": "projects/{project}/regions/{region}/forwardingRules/{forwardingRule}", + "description": "Deletes the specified target pool." + }, + "getHealth": { + "id": "compute.targetPools.getHealth", + "path": "projects/{project}/regions/{region}/targetPools/{targetPool}/getHealth", + "flatPath": "projects/{project}/regions/{region}/targetPools/{targetPool}/getHealth", + "httpMethod": "POST", "parameters": { "project": { - "type": "string", - "location": "path", + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "description": "Project ID for this request." + "type": "string" }, - "forwardingRule": { - "description": "Name of the ForwardingRule resource to return.", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "required": true + "required": true, + "type": "string" }, - "region": { + "targetPool": { + "description": "Name of the TargetPool resource to which the queried instance belongs.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", "required": true, - "description": "Name of the region scoping this request." + "type": "string" } }, "parameterOrder": [ "project", "region", - "forwardingRule" + "targetPool" ], - "description": "Returns the specified ForwardingRule resource.", + "request": { + "$ref": "InstanceReference" + }, + "response": { + "$ref": "TargetPoolInstanceHealth" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "path": "projects/{project}/regions/{region}/forwardingRules/{forwardingRule}", - "id": "compute.forwardingRules.get", - "httpMethod": "GET" + "description": "Gets the most recent health check results for each IP for the instance that is referenced by the given target pool." }, - "insert": { - "flatPath": "projects/{project}/regions/{region}/forwardingRules", + "addHealthCheck": { + "id": "compute.targetPools.addHealthCheck", + "path": "projects/{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck", + "flatPath": "projects/{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck", "httpMethod": "POST", "parameters": { - "region": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "location": "path", - "type": "string", - "description": "Name of the region scoping this request.", - "required": true - }, "project": { "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "type": "string", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" }, "requestId": { - "type": "string", + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "type": "string" + }, + "targetPool": { + "description": "Name of the target pool to add a health check to.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" } }, - "path": "projects/{project}/regions/{region}/forwardingRules", + "parameterOrder": [ + "project", + "region", + "targetPool" + ], + "request": { + "$ref": "TargetPoolsAddHealthCheckRequest" + }, "response": { "$ref": "Operation" }, - "description": "Creates a ForwardingRule resource in the specified project and region using the data included in the request.", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "id": "compute.forwardingRules.insert", - "request": { - "$ref": "ForwardingRule" - }, - "parameterOrder": [ - "project", - "region" - ] + "description": "Adds health check URLs to a target pool." }, - "aggregatedList": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "flatPath": "projects/{project}/aggregated/forwardingRules", - "description": "Retrieves an aggregated list of forwarding rules.", - "path": "projects/{project}/aggregated/forwardingRules", - "id": "compute.forwardingRules.aggregatedList", - "parameterOrder": [ - "project" - ], - "response": { - "$ref": "ForwardingRuleAggregatedList" - }, + "removeHealthCheck": { + "id": "compute.targetPools.removeHealthCheck", + "path": "projects/{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck", + "flatPath": "projects/{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck", + "httpMethod": "POST", "parameters": { - "maxResults": { - "format": "uint32", - "type": "integer", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "default": "500", - "minimum": "0", - "location": "query" - }, - "includeAllScopes": { - "location": "query", - "type": "boolean", - "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included." - }, - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "type": "string", - "location": "query" - }, - "returnPartialSuccess": { - "type": "boolean", - "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." - }, - "orderBy": { - "type": "string", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "location": "query" - }, "project": { "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "type": "string", - "location": "path" + "type": "string" }, - "pageToken": { - "type": "string", + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results." + "type": "string" + }, + "targetPool": { + "description": "Name of the target pool to remove health checks from.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" } }, - "httpMethod": "GET" - }, - "delete": { - "response": { - "$ref": "Operation" - }, - "path": "projects/{project}/regions/{region}/forwardingRules/{forwardingRule}", "parameterOrder": [ "project", "region", - "forwardingRule" + "targetPool" ], - "id": "compute.forwardingRules.delete", + "request": { + "$ref": "TargetPoolsRemoveHealthCheckRequest" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "flatPath": "projects/{project}/regions/{region}/forwardingRules/{forwardingRule}", - "httpMethod": "DELETE", - "description": "Deletes the specified ForwardingRule resource.", + "description": "Removes health check URL from a target pool." + }, + "addInstance": { + "id": "compute.targetPools.addInstance", + "path": "projects/{project}/regions/{region}/targetPools/{targetPool}/addInstance", + "flatPath": "projects/{project}/regions/{region}/targetPools/{targetPool}/addInstance", + "httpMethod": "POST", "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, "region": { - "type": "string", + "description": "Name of the region scoping this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true, "location": "path", - "description": "Name of the region scoping this request." + "required": true, + "type": "string" }, "requestId": { - "type": "string", + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - }, - "project": { - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, - "description": "Project ID for this request.", "type": "string" }, - "forwardingRule": { + "targetPool": { + "description": "Name of the TargetPool resource to add instances to.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", - "description": "Name of the ForwardingRule resource to delete.", + "location": "path", "required": true, - "location": "path" + "type": "string" } - } - }, - "patch": { + }, + "parameterOrder": [ + "project", + "region", + "targetPool" + ], + "request": { + "$ref": "TargetPoolsAddInstanceRequest" + }, "response": { "$ref": "Operation" }, - "path": "projects/{project}/regions/{region}/forwardingRules/{forwardingRule}", - "flatPath": "projects/{project}/regions/{region}/forwardingRules/{forwardingRule}", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "id": "compute.forwardingRules.patch", - "httpMethod": "PATCH", - "request": { - "$ref": "ForwardingRule" - }, - "description": "Updates the specified forwarding rule with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. Currently, you can only patch the network_tier field.", - "parameterOrder": [ - "project", - "region", - "forwardingRule" - ], + "description": "Adds an instance to a target pool." + }, + "removeInstance": { + "id": "compute.targetPools.removeInstance", + "path": "projects/{project}/regions/{region}/targetPools/{targetPool}/removeInstance", + "flatPath": "projects/{project}/regions/{region}/targetPools/{targetPool}/removeInstance", + "httpMethod": "POST", "parameters": { - "requestId": { - "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - }, - "forwardingRule": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "location": "path", - "description": "Name of the ForwardingRule resource to patch.", - "type": "string", - "required": true - }, "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", - "required": true + "required": true, + "type": "string" }, "region": { "description": "Name of the region scoping this request.", - "required": true, - "type": "string", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" - } - } - }, - "setLabels": { - "request": { - "$ref": "RegionSetLabelsRequest" - }, - "parameters": { - "resource": { - "description": "Name or id of the resource for this request.", "required": true, - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "type": "string" }, "requestId": { @@ -65800,23 +76493,22 @@ "location": "query", "type": "string" }, - "project": { - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "location": "path", - "required": true, - "description": "Project ID for this request." - }, - "region": { - "type": "string", + "targetPool": { + "description": "Name of the TargetPool resource to remove instances from.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, - "description": "The region for this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "type": "string" } }, - "path": "projects/{project}/regions/{region}/forwardingRules/{resource}/setLabels", - "description": "Sets the labels on the specified resource. To learn more about labels, read the Labeling Resources documentation.", + "parameterOrder": [ + "project", + "region", + "targetPool" + ], + "request": { + "$ref": "TargetPoolsRemoveInstanceRequest" + }, "response": { "$ref": "Operation" }, @@ -65824,2495 +76516,2311 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "flatPath": "projects/{project}/regions/{region}/forwardingRules/{resource}/setLabels", - "httpMethod": "POST", - "id": "compute.forwardingRules.setLabels", - "parameterOrder": [ - "project", - "region", - "resource" - ] + "description": "Removes instance URL from a target pool." }, - "list": { - "parameterOrder": [ - "project", - "region" - ], - "path": "projects/{project}/regions/{region}/forwardingRules", - "flatPath": "projects/{project}/regions/{region}/forwardingRules", + "setBackup": { + "id": "compute.targetPools.setBackup", + "path": "projects/{project}/regions/{region}/targetPools/{targetPool}/setBackup", + "flatPath": "projects/{project}/regions/{region}/targetPools/{targetPool}/setBackup", + "httpMethod": "POST", "parameters": { - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "location": "query", - "type": "string" - }, - "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "location": "query", - "type": "boolean" - }, - "maxResults": { - "type": "integer", - "default": "500", - "format": "uint32", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "location": "query", - "minimum": "0" - }, - "pageToken": { - "type": "string", + "failoverRatio": { + "description": "New failoverRatio value for the target pool.", "location": "query", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results." + "type": "number", + "format": "float" }, "project": { - "required": true, "description": "Project ID for this request.", - "type": "string", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "orderBy": { - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "type": "string", - "location": "query" + "required": true, + "type": "string" }, "region": { - "required": true, - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, "type": "string" - } - }, - "description": "Retrieves a list of ForwardingRule resources available to the specified project and region.", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "id": "compute.forwardingRules.list", - "response": { - "$ref": "ForwardingRuleList" - }, - "httpMethod": "GET" - }, - "setTarget": { - "flatPath": "projects/{project}/regions/{region}/forwardingRules/{forwardingRule}/setTarget", - "description": "Changes target URL for forwarding rule. The new target should be of the same type as the old target.", - "parameters": { + }, "requestId": { - "type": "string", "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" + "location": "query", + "type": "string" }, - "forwardingRule": { + "targetPool": { + "description": "Name of the TargetPool resource to set a backup pool for.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name of the ForwardingRule resource in which target is to be set.", - "required": true, - "type": "string", - "location": "path" - }, - "region": { - "required": true, "location": "path", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the region scoping this request." - }, - "project": { "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "location": "path", - "description": "Project ID for this request.", "type": "string" } }, + "parameterOrder": [ + "project", + "region", + "targetPool" + ], "request": { "$ref": "TargetReference" }, "response": { "$ref": "Operation" }, - "httpMethod": "POST", - "parameterOrder": [ - "project", - "region", - "forwardingRule" - ], - "id": "compute.forwardingRules.setTarget", - "path": "projects/{project}/regions/{region}/forwardingRules/{forwardingRule}/setTarget", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ] - } - } - }, - "addresses": { - "methods": { - "insert": { "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "description": "Creates an address resource in the specified project by using the data included in the request.", - "flatPath": "projects/{project}/regions/{region}/addresses", - "parameterOrder": [ - "project", - "region" - ], - "path": "projects/{project}/regions/{region}/addresses", + "description": "Changes a backup target pool's configurations." + }, + "setSecurityPolicy": { + "id": "compute.targetPools.setSecurityPolicy", + "path": "projects/{project}/regions/{region}/targetPools/{targetPool}/setSecurityPolicy", + "flatPath": "projects/{project}/regions/{region}/targetPools/{targetPool}/setSecurityPolicy", "httpMethod": "POST", - "id": "compute.addresses.insert", - "response": { - "$ref": "Operation" - }, - "request": { - "$ref": "Address" - }, "parameters": { "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "description": "Project ID for this request.", - "type": "string", - "location": "path" + "type": "string" }, "region": { - "description": "Name of the region for this request.", - "required": true, + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "required": true, + "type": "string" }, "requestId": { - "location": "query", "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "targetPool": { + "description": "Name of the TargetPool resource to which the security policy should be set. The name should conform to RFC1035.", + "location": "path", + "required": true, "type": "string" } - } - }, - "delete": { - "flatPath": "projects/{project}/regions/{region}/addresses/{address}", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], + }, "parameterOrder": [ "project", "region", - "address" + "targetPool" ], - "parameters": { - "requestId": { - "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - }, - "region": { - "required": true, - "type": "string", - "description": "Name of the region for this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "location": "path" - }, - "project": { - "required": true, - "description": "Project ID for this request.", - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "location": "path" - }, - "address": { - "location": "path", - "description": "Name of the address resource to delete.", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "required": true - } + "request": { + "$ref": "SecurityPolicyReference" }, "response": { "$ref": "Operation" }, - "description": "Deletes the specified address resource.", - "httpMethod": "DELETE", - "path": "projects/{project}/regions/{region}/addresses/{address}", - "id": "compute.addresses.delete" - }, - "aggregatedList": { "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "parameterOrder": [ - "project" + "https://www.googleapis.com/auth/compute" ], - "description": "Retrieves an aggregated list of addresses.", + "description": "Sets the Google Cloud Armor security policy for the specified target pool. For more information, see Google Cloud Armor Overview" + } + } + }, + "targetSslProxies": { + "methods": { + "list": { + "id": "compute.targetSslProxies.list", + "path": "projects/{project}/global/targetSslProxies", + "flatPath": "projects/{project}/global/targetSslProxies", + "httpMethod": "GET", "parameters": { "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", "location": "query", - "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`." + "type": "string" }, "maxResults": { - "type": "integer", - "location": "query", - "minimum": "0", - "format": "uint32", + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", "default": "500", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)" + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" }, - "includeAllScopes": { - "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", - "type": "boolean", - "location": "query" + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" }, "pageToken": { "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "type": "string", - "location": "query" - }, - "orderBy": { "location": "query", - "type": "string", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported." + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" }, "returnPartialSuccess": { "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", "location": "query", "type": "boolean" - }, - "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, - "description": "Project ID for this request.", - "type": "string", - "location": "path" } }, + "parameterOrder": [ + "project" + ], "response": { - "$ref": "AddressAggregatedList" + "$ref": "TargetSslProxyList" }, - "httpMethod": "GET", - "path": "projects/{project}/aggregated/addresses", - "id": "compute.addresses.aggregatedList", - "flatPath": "projects/{project}/aggregated/addresses" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Retrieves the list of TargetSslProxy resources available to the specified project." }, - "list": { + "get": { + "id": "compute.targetSslProxies.get", + "path": "projects/{project}/global/targetSslProxies/{targetSslProxy}", + "flatPath": "projects/{project}/global/targetSslProxies/{targetSslProxy}", + "httpMethod": "GET", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "targetSslProxy": { + "description": "Name of the TargetSslProxy resource to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + } + }, "parameterOrder": [ "project", - "region" + "targetSslProxy" ], "response": { - "$ref": "AddressList" + "$ref": "TargetSslProxy" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "id": "compute.addresses.list", - "description": "Retrieves a list of addresses contained within the specified region.", + "description": "Returns the specified TargetSslProxy resource." + }, + "insert": { + "id": "compute.targetSslProxies.insert", + "path": "projects/{project}/global/targetSslProxies", + "flatPath": "projects/{project}/global/targetSslProxies", + "httpMethod": "POST", "parameters": { - "maxResults": { - "type": "integer", - "default": "500", - "location": "query", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "format": "uint32", - "minimum": "0" - }, - "region": { - "description": "Name of the region for this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", - "required": true, - "location": "path" - }, "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", "required": true, - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "filter": { - "type": "string", - "location": "query", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`." + "type": "string" }, - "returnPartialSuccess": { - "type": "boolean", + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." + "type": "string" + } + }, + "parameterOrder": [ + "project" + ], + "request": { + "$ref": "TargetSslProxy" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Creates a TargetSslProxy resource in the specified project using the data included in the request." + }, + "delete": { + "id": "compute.targetSslProxies.delete", + "path": "projects/{project}/global/targetSslProxies/{targetSslProxy}", + "flatPath": "projects/{project}/global/targetSslProxies/{targetSslProxy}", + "httpMethod": "DELETE", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" }, - "pageToken": { - "type": "string", + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results." + "type": "string" }, - "orderBy": { - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "location": "query", + "targetSslProxy": { + "description": "Name of the TargetSslProxy resource to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, "type": "string" } }, - "httpMethod": "GET", - "path": "projects/{project}/regions/{region}/addresses", - "flatPath": "projects/{project}/regions/{region}/addresses" - }, - "get": { - "path": "projects/{project}/regions/{region}/addresses/{address}", "parameterOrder": [ "project", - "region", - "address" + "targetSslProxy" ], - "flatPath": "projects/{project}/regions/{region}/addresses/{address}", "response": { - "$ref": "Address" + "$ref": "Operation" }, - "id": "compute.addresses.get", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Deletes the specified TargetSslProxy resource." + }, + "setBackendService": { + "id": "compute.targetSslProxies.setBackendService", + "path": "projects/{project}/global/targetSslProxies/{targetSslProxy}/setBackendService", + "flatPath": "projects/{project}/global/targetSslProxies/{targetSslProxy}/setBackendService", + "httpMethod": "POST", "parameters": { - "address": { - "type": "string", - "location": "path", - "required": true, - "description": "Name of the address resource to return.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" - }, - "region": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "type": "string", - "description": "Name of the region for this request." + "type": "string" }, - "project": { - "required": true, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "targetSslProxy": { + "description": "Name of the TargetSslProxy resource whose BackendService resource is to be set.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, "type": "string" } }, + "parameterOrder": [ + "project", + "targetSslProxy" + ], + "request": { + "$ref": "TargetSslProxiesSetBackendServiceRequest" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], - "httpMethod": "GET", - "description": "Returns the specified address resource." + "description": "Changes the BackendService for TargetSslProxy." }, - "setLabels": { - "id": "compute.addresses.setLabels", - "path": "projects/{project}/regions/{region}/addresses/{resource}/setLabels", + "setSslCertificates": { + "id": "compute.targetSslProxies.setSslCertificates", + "path": "projects/{project}/global/targetSslProxies/{targetSslProxy}/setSslCertificates", + "flatPath": "projects/{project}/global/targetSslProxies/{targetSslProxy}/setSslCertificates", + "httpMethod": "POST", "parameters": { "project": { - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "description": "Project ID for this request.", - "type": "string", - "required": true - }, - "resource": { - "type": "string", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name or id of the resource for this request." + "type": "string" }, "requestId": { - "type": "string", + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "type": "string" }, - "region": { + "targetSslProxy": { + "description": "Name of the TargetSslProxy resource whose SslCertificate resource is to be set.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", "required": true, - "type": "string", - "description": "The region for this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "location": "path" + "type": "string" } }, - "description": "Sets the labels on an Address. To learn more about labels, read the Labeling Resources documentation.", "parameterOrder": [ "project", - "region", - "resource" - ], - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "targetSslProxy" ], "request": { - "$ref": "RegionSetLabelsRequest" + "$ref": "TargetSslProxiesSetSslCertificatesRequest" }, "response": { "$ref": "Operation" }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Changes SslCertificates for TargetSslProxy." + }, + "setCertificateMap": { + "id": "compute.targetSslProxies.setCertificateMap", + "path": "projects/{project}/global/targetSslProxies/{targetSslProxy}/setCertificateMap", + "flatPath": "projects/{project}/global/targetSslProxies/{targetSslProxy}/setCertificateMap", "httpMethod": "POST", - "flatPath": "projects/{project}/regions/{region}/addresses/{resource}/setLabels" - } - } - }, - "regionInstanceGroups": { - "methods": { - "listInstances": { "parameters": { - "maxResults": { - "minimum": "0", - "format": "uint32", - "location": "query", - "default": "500", - "type": "integer", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)" - }, - "returnPartialSuccess": { - "location": "query", - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." - }, - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "type": "string", - "location": "query" - }, - "region": { - "type": "string", - "description": "Name of the region scoping this request.", - "location": "path", - "required": true - }, - "orderBy": { - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "type": "string", - "location": "query" - }, "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", + "location": "path", "required": true, - "description": "Project ID for this request.", - "location": "path" + "type": "string" }, - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "type": "string", - "location": "query" + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" }, - "instanceGroup": { - "description": "Name of the regional instance group for which we want to list the instances.", + "targetSslProxy": { + "description": "Name of the TargetSslProxy resource whose CertificateMap is to be set. The name must be 1-63 characters long, and comply with RFC1035.", + "location": "path", "required": true, - "type": "string", - "location": "path" + "type": "string" } }, - "id": "compute.regionInstanceGroups.listInstances", - "response": { - "$ref": "RegionInstanceGroupsListInstances" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "flatPath": "projects/{project}/regions/{region}/instanceGroups/{instanceGroup}/listInstances", - "httpMethod": "POST", - "request": { - "$ref": "RegionInstanceGroupsListInstancesRequest" - }, - "path": "projects/{project}/regions/{region}/instanceGroups/{instanceGroup}/listInstances", "parameterOrder": [ "project", - "region", - "instanceGroup" + "targetSslProxy" ], - "description": "Lists the instances in the specified instance group and displays information about the named ports. Depending on the specified options, this method can list all instances or only the instances that are running. The orderBy query parameter is not supported." - }, - "setNamedPorts": { + "request": { + "$ref": "TargetSslProxiesSetCertificateMapRequest" + }, "response": { "$ref": "Operation" }, - "id": "compute.regionInstanceGroups.setNamedPorts", - "description": "Sets the named ports for the specified regional instance group.", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "path": "projects/{project}/regions/{region}/instanceGroups/{instanceGroup}/setNamedPorts", - "parameterOrder": [ - "project", - "region", - "instanceGroup" - ], - "flatPath": "projects/{project}/regions/{region}/instanceGroups/{instanceGroup}/setNamedPorts", + "description": "Changes the Certificate Map for TargetSslProxy." + }, + "setProxyHeader": { + "id": "compute.targetSslProxies.setProxyHeader", + "path": "projects/{project}/global/targetSslProxies/{targetSslProxy}/setProxyHeader", + "flatPath": "projects/{project}/global/targetSslProxies/{targetSslProxy}/setProxyHeader", "httpMethod": "POST", - "request": { - "$ref": "RegionInstanceGroupsSetNamedPortsRequest" - }, "parameters": { - "region": { - "type": "string", - "required": true, - "location": "path", - "description": "Name of the region scoping this request." - }, - "instanceGroup": { - "required": true, - "description": "The name of the regional instance group where the named ports are updated.", - "location": "path", - "type": "string" - }, "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", - "description": "Project ID for this request.", - "required": true + "required": true, + "type": "string" }, "requestId": { - "type": "string", "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" - } - } - }, - "list": { - "parameters": { - "project": { - "type": "string", - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", - "required": true - }, - "orderBy": { - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "location": "query", - "type": "string" - }, - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "location": "query", - "type": "string" - }, - "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "type": "boolean", - "location": "query" - }, - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", "location": "query", "type": "string" }, - "region": { - "type": "string", + "targetSslProxy": { + "description": "Name of the TargetSslProxy resource whose ProxyHeader is to be set.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, - "description": "Name of the region scoping this request." - }, - "maxResults": { - "minimum": "0", - "type": "integer", - "format": "uint32", - "location": "query", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "default": "500" + "type": "string" } }, - "flatPath": "projects/{project}/regions/{region}/instanceGroups", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "id": "compute.regionInstanceGroups.list", "parameterOrder": [ "project", - "region" + "targetSslProxy" ], - "description": "Retrieves the list of instance group resources contained within the specified region.", - "path": "projects/{project}/regions/{region}/instanceGroups", + "request": { + "$ref": "TargetSslProxiesSetProxyHeaderRequest" + }, "response": { - "$ref": "RegionInstanceGroupList" + "$ref": "Operation" }, - "httpMethod": "GET" - }, - "get": { - "path": "projects/{project}/regions/{region}/instanceGroups/{instanceGroup}", - "description": "Returns the specified instance group resource.", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "parameterOrder": [ - "project", - "region", - "instanceGroup" + "https://www.googleapis.com/auth/compute" ], - "flatPath": "projects/{project}/regions/{region}/instanceGroups/{instanceGroup}", + "description": "Changes the ProxyHeaderType for TargetSslProxy." + }, + "setSslPolicy": { + "id": "compute.targetSslProxies.setSslPolicy", + "path": "projects/{project}/global/targetSslProxies/{targetSslProxy}/setSslPolicy", + "flatPath": "projects/{project}/global/targetSslProxies/{targetSslProxy}/setSslPolicy", + "httpMethod": "POST", "parameters": { - "region": { - "description": "Name of the region scoping this request.", - "required": true, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", + "required": true, "type": "string" }, - "instanceGroup": { - "description": "Name of the instance group resource to return.", - "location": "path", - "type": "string", - "required": true + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" }, - "project": { - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "targetSslProxy": { + "description": "Name of the TargetSslProxy resource whose SSL policy is to be set. The name must be 1-63 characters long, and comply with RFC1035.", "location": "path", "required": true, - "description": "Project ID for this request." + "type": "string" } }, - "httpMethod": "GET", + "parameterOrder": [ + "project", + "targetSslProxy" + ], + "request": { + "$ref": "SslPolicyReference" + }, "response": { - "$ref": "InstanceGroup" + "$ref": "Operation" }, - "id": "compute.regionInstanceGroups.get" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Sets the SSL policy for TargetSslProxy. The SSL policy specifies the server-side support for SSL features. This affects connections between clients and the load balancer. They do not affect the connection between the load balancer and the backends." } } }, - "acceleratorTypes": { + "targetTcpProxies": { "methods": { - "aggregatedList": { + "list": { + "id": "compute.targetTcpProxies.list", + "path": "projects/{project}/global/targetTcpProxies", + "flatPath": "projects/{project}/global/targetTcpProxies", "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], "parameters": { - "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "location": "query", - "type": "boolean" - }, - "project": { - "type": "string", - "required": true, - "location": "path", - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "includeAllScopes": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", "location": "query", - "type": "boolean", - "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included." + "type": "string" }, - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", "location": "query", - "type": "string" + "type": "integer", + "format": "uint32" }, "orderBy": { "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", "location": "query", "type": "string" }, - "filter": { + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "location": "query", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", "type": "string" }, - "maxResults": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", "location": "query", - "minimum": "0", - "type": "integer", - "format": "uint32", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "default": "500" + "type": "boolean" } }, - "path": "projects/{project}/aggregated/acceleratorTypes", - "flatPath": "projects/{project}/aggregated/acceleratorTypes", "parameterOrder": [ "project" ], - "description": "Retrieves an aggregated list of accelerator types.", "response": { - "$ref": "AcceleratorTypeAggregatedList" + "$ref": "TargetTcpProxyList" }, - "id": "compute.acceleratorTypes.aggregatedList" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Retrieves the list of TargetTcpProxy resources available to the specified project." }, - "list": { - "id": "compute.acceleratorTypes.list", - "flatPath": "projects/{project}/zones/{zone}/acceleratorTypes", + "aggregatedList": { + "id": "compute.targetTcpProxies.aggregatedList", + "path": "projects/{project}/aggregated/targetTcpProxies", + "flatPath": "projects/{project}/aggregated/targetTcpProxies", "httpMethod": "GET", - "response": { - "$ref": "AcceleratorTypeList" - }, "parameters": { - "maxResults": { - "minimum": "0", - "type": "integer", - "format": "uint32", - "default": "500", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "location": "query" + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" }, - "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "includeAllScopes": { + "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", "location": "query", "type": "boolean" }, - "filter": { - "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "location": "query" + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" }, "orderBy": { - "type": "string", "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "location": "query" - }, - "zone": { - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "The name of the zone for this request.", - "location": "path", - "required": true + "location": "query", + "type": "string" }, "pageToken": { - "type": "string", + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "location": "query", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results." + "type": "string" }, "project": { - "type": "string", - "required": true, + "description": "Name of the project scoping this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "location": "path", - "description": "Project ID for this request." - } - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "path": "projects/{project}/zones/{zone}/acceleratorTypes", - "description": "Retrieves a list of accelerator types that are available to the specified project.", - "parameterOrder": [ - "project", - "zone" - ] - }, - "get": { - "flatPath": "projects/{project}/zones/{zone}/acceleratorTypes/{acceleratorType}", - "parameters": { - "zone": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true, - "type": "string", - "location": "path", - "description": "The name of the zone for this request." - }, - "acceleratorType": { "location": "path", "required": true, - "description": "Name of the accelerator type to return.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "type": "string" }, - "project": { + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + }, + "serviceProjectNumber": { + "description": "The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.", + "location": "query", "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, - "description": "Project ID for this request.", - "location": "path" + "format": "int64" } }, - "description": "Returns the specified accelerator type.", - "id": "compute.acceleratorTypes.get", - "path": "projects/{project}/zones/{zone}/acceleratorTypes/{acceleratorType}", + "parameterOrder": [ + "project" + ], "response": { - "$ref": "AcceleratorType" + "$ref": "TargetTcpProxyAggregatedList" }, - "httpMethod": "GET", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "parameterOrder": [ - "project", - "zone", - "acceleratorType" - ] - } - } - }, - "healthChecks": { - "methods": { - "insert": { - "flatPath": "projects/{project}/global/healthChecks", - "id": "compute.healthChecks.insert", - "httpMethod": "POST", - "request": { - "$ref": "HealthCheck" - }, - "description": "Creates a HealthCheck resource in the specified project using the data included in the request.", - "path": "projects/{project}/global/healthChecks", - "response": { - "$ref": "Operation" - }, + "description": "Retrieves the list of all TargetTcpProxy resources, regional and global, available to the specified project." + }, + "get": { + "id": "compute.targetTcpProxies.get", + "path": "projects/{project}/global/targetTcpProxies/{targetTcpProxy}", + "flatPath": "projects/{project}/global/targetTcpProxies/{targetTcpProxy}", + "httpMethod": "GET", "parameters": { - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query", - "type": "string" - }, "project": { "description": "Project ID for this request.", - "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", + "required": true, + "type": "string" + }, + "targetTcpProxy": { + "description": "Name of the TargetTcpProxy resource to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, "type": "string" } }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "parameterOrder": [ - "project" - ] - }, - "update": { - "flatPath": "projects/{project}/global/healthChecks/{healthCheck}", - "path": "projects/{project}/global/healthChecks/{healthCheck}", "parameterOrder": [ "project", - "healthCheck" + "targetTcpProxy" ], "response": { - "$ref": "Operation" + "$ref": "TargetTcpProxy" }, - "description": "Updates a HealthCheck resource in the specified project using the data included in the request.", - "id": "compute.healthChecks.update", - "httpMethod": "PUT", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Returns the specified TargetTcpProxy resource." + }, + "insert": { + "id": "compute.targetTcpProxies.insert", + "path": "projects/{project}/global/targetTcpProxies", + "flatPath": "projects/{project}/global/targetTcpProxies", + "httpMethod": "POST", "parameters": { "project": { - "required": true, - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "description": "Project ID for this request.", - "type": "string" - }, - "healthCheck": { - "description": "Name of the HealthCheck resource to update.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", - "required": true + "required": true, + "type": "string" }, "requestId": { - "location": "query", "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", "type": "string" } }, + "parameterOrder": [ + "project" + ], "request": { - "$ref": "HealthCheck" + "$ref": "TargetTcpProxy" + }, + "response": { + "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" - ] - }, - "aggregatedList": { - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" ], - "httpMethod": "GET", + "description": "Creates a TargetTcpProxy resource in the specified project using the data included in the request." + }, + "delete": { + "id": "compute.targetTcpProxies.delete", + "path": "projects/{project}/global/targetTcpProxies/{targetTcpProxy}", + "flatPath": "projects/{project}/global/targetTcpProxies/{targetTcpProxy}", + "httpMethod": "DELETE", "parameters": { - "orderBy": { - "location": "query", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, "type": "string" }, - "filter": { + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", "type": "string" }, - "maxResults": { - "type": "integer", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "default": "500", - "location": "query", - "format": "uint32", - "minimum": "0" - }, - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "location": "query", + "targetTcpProxy": { + "description": "Name of the TargetTcpProxy resource to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, "type": "string" - }, + } + }, + "parameterOrder": [ + "project", + "targetTcpProxy" + ], + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Deletes the specified TargetTcpProxy resource." + }, + "setBackendService": { + "id": "compute.targetTcpProxies.setBackendService", + "path": "projects/{project}/global/targetTcpProxies/{targetTcpProxy}/setBackendService", + "flatPath": "projects/{project}/global/targetTcpProxies/{targetTcpProxy}/setBackendService", + "httpMethod": "POST", + "parameters": { "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, "location": "path", - "type": "string", - "description": "Name of the project scoping this request." + "required": true, + "type": "string" }, - "returnPartialSuccess": { + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." + "type": "string" }, - "includeAllScopes": { - "location": "query", - "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", - "type": "boolean" + "targetTcpProxy": { + "description": "Name of the TargetTcpProxy resource whose BackendService resource is to be set.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" } }, - "response": { - "$ref": "HealthChecksAggregatedList" - }, - "description": "Retrieves the list of all HealthCheck resources, regional and global, available to the specified project.", - "id": "compute.healthChecks.aggregatedList", "parameterOrder": [ - "project" + "project", + "targetTcpProxy" ], - "flatPath": "projects/{project}/aggregated/healthChecks", - "path": "projects/{project}/aggregated/healthChecks" - }, - "delete": { + "request": { + "$ref": "TargetTcpProxiesSetBackendServiceRequest" + }, "response": { "$ref": "Operation" }, - "httpMethod": "DELETE", - "description": "Deletes the specified HealthCheck resource.", - "parameterOrder": [ - "project", - "healthCheck" - ], "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "path": "projects/{project}/global/healthChecks/{healthCheck}", + "description": "Changes the BackendService for TargetTcpProxy." + }, + "setProxyHeader": { + "id": "compute.targetTcpProxies.setProxyHeader", + "path": "projects/{project}/global/targetTcpProxies/{targetTcpProxy}/setProxyHeader", + "flatPath": "projects/{project}/global/targetTcpProxies/{targetTcpProxy}/setProxyHeader", + "httpMethod": "POST", "parameters": { "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", - "required": true + "required": true, + "type": "string" }, "requestId": { - "location": "query", "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", "type": "string" }, - "healthCheck": { - "required": true, + "targetTcpProxy": { + "description": "Name of the TargetTcpProxy resource whose ProxyHeader is to be set.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", "location": "path", - "description": "Name of the HealthCheck resource to delete." + "required": true, + "type": "string" } }, - "flatPath": "projects/{project}/global/healthChecks/{healthCheck}", - "id": "compute.healthChecks.delete" - }, - "list": { - "flatPath": "projects/{project}/global/healthChecks", + "parameterOrder": [ + "project", + "targetTcpProxy" + ], + "request": { + "$ref": "TargetTcpProxiesSetProxyHeaderRequest" + }, "response": { - "$ref": "HealthCheckList" + "$ref": "Operation" }, - "description": "Retrieves the list of HealthCheck resources available to the specified project.", - "httpMethod": "GET", - "id": "compute.healthChecks.list", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], - "path": "projects/{project}/global/healthChecks", + "description": "Changes the ProxyHeaderType for TargetTcpProxy." + } + } + }, + "regionTargetTcpProxies": { + "methods": { + "list": { + "id": "compute.regionTargetTcpProxies.list", + "path": "projects/{project}/regions/{region}/targetTcpProxies", + "flatPath": "projects/{project}/regions/{region}/targetTcpProxies", + "httpMethod": "GET", "parameters": { - "pageToken": { - "type": "string", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "location": "query" + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" }, "maxResults": { - "format": "uint32", - "type": "integer", - "location": "query", "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", "default": "500", - "minimum": "0" + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" }, - "filter": { + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", "location": "query", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", "type": "string" }, - "orderBy": { - "type": "string", + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "location": "query", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported." + "type": "string" }, "project": { - "required": true, - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "description": "Project ID for this request.", - "location": "path" + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" }, "returnPartialSuccess": { - "type": "boolean", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." + "type": "boolean" } }, - "parameterOrder": [ - "project" - ] - }, - "get": { "parameterOrder": [ "project", - "healthCheck" + "region" ], - "id": "compute.healthChecks.get", - "description": "Returns the specified HealthCheck resource. Gets a list of available health checks by making a list() request.", + "response": { + "$ref": "TargetTcpProxyList" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "path": "projects/{project}/global/healthChecks/{healthCheck}", + "description": "Retrieves a list of TargetTcpProxy resources available to the specified project in a given region." + }, + "get": { + "id": "compute.regionTargetTcpProxies.get", + "path": "projects/{project}/regions/{region}/targetTcpProxies/{targetTcpProxy}", + "flatPath": "projects/{project}/regions/{region}/targetTcpProxies/{targetTcpProxy}", "httpMethod": "GET", "parameters": { "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", "required": true, - "description": "Project ID for this request." + "type": "string" }, - "healthCheck": { + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", "required": true, + "type": "string" + }, + "targetTcpProxy": { + "description": "Name of the TargetTcpProxy resource to return.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "description": "Name of the HealthCheck resource to return.", + "required": true, "type": "string" } }, + "parameterOrder": [ + "project", + "region", + "targetTcpProxy" + ], "response": { - "$ref": "HealthCheck" + "$ref": "TargetTcpProxy" }, - "flatPath": "projects/{project}/global/healthChecks/{healthCheck}" - }, - "patch": { "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "parameterOrder": [ - "project", - "healthCheck" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "flatPath": "projects/{project}/global/healthChecks/{healthCheck}", + "description": "Returns the specified TargetTcpProxy resource." + }, + "insert": { + "id": "compute.regionTargetTcpProxies.insert", + "path": "projects/{project}/regions/{region}/targetTcpProxies", + "flatPath": "projects/{project}/regions/{region}/targetTcpProxies", + "httpMethod": "POST", "parameters": { - "requestId": { - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" - }, - "healthCheck": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", - "location": "path", - "description": "Name of the HealthCheck resource to patch.", - "required": true - }, "project": { - "required": true, "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, - "path": "projects/{project}/global/healthChecks/{healthCheck}", - "request": { - "$ref": "HealthCheck" - }, - "response": { - "$ref": "Operation" - }, - "httpMethod": "PATCH", - "id": "compute.healthChecks.patch", - "description": "Updates a HealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules." - } - } - }, - "resourcePolicies": { - "methods": { - "insert": { "parameterOrder": [ "project", "region" ], - "description": "Creates a new resource policy.", - "httpMethod": "POST", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], "request": { - "$ref": "ResourcePolicy" + "$ref": "TargetTcpProxy" }, - "path": "projects/{project}/regions/{region}/resourcePolicies", - "id": "compute.resourcePolicies.insert", - "flatPath": "projects/{project}/regions/{region}/resourcePolicies", "response": { "$ref": "Operation" }, - "parameters": { - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query", - "type": "string" - }, - "region": { - "type": "string", - "description": "Name of the region for this request.", - "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "location": "path" - }, - "project": { - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, - "type": "string", - "location": "path" - } - } - }, - "delete": { "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], + "description": "Creates a TargetTcpProxy resource in the specified project and region using the data included in the request." + }, + "delete": { + "id": "compute.regionTargetTcpProxies.delete", + "path": "projects/{project}/regions/{region}/targetTcpProxies/{targetTcpProxy}", + "flatPath": "projects/{project}/regions/{region}/targetTcpProxies/{targetTcpProxy}", + "httpMethod": "DELETE", "parameters": { - "requestId": { - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" - }, "project": { "description": "Project ID for this request.", - "location": "path", - "type": "string", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true + "location": "path", + "required": true, + "type": "string" }, "region": { - "type": "string", - "required": true, - "description": "Name of the region for this request.", + "description": "Name of the region scoping this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "location": "path" - }, - "resourcePolicy": { "location": "path", - "description": "Name of the resource policy to delete.", "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "targetTcpProxy": { + "description": "Name of the TargetTcpProxy resource to delete.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, "type": "string" } }, - "flatPath": "projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}", - "httpMethod": "DELETE", - "response": { - "$ref": "Operation" - }, - "id": "compute.resourcePolicies.delete", "parameterOrder": [ "project", "region", - "resourcePolicy" + "targetTcpProxy" ], - "path": "projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}", - "description": "Deletes the specified resource policy." - }, - "aggregatedList": { - "path": "projects/{project}/aggregated/resourcePolicies", - "id": "compute.resourcePolicies.aggregatedList", - "description": "Retrieves an aggregated list of resource policies.", "response": { - "$ref": "ResourcePolicyAggregatedList" + "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "flatPath": "projects/{project}/aggregated/resourcePolicies", - "parameterOrder": [ - "project" + "https://www.googleapis.com/auth/compute" ], + "description": "Deletes the specified TargetTcpProxy resource." + } + } + }, + "targetVpnGateways": { + "methods": { + "list": { + "id": "compute.targetVpnGateways.list", + "path": "projects/{project}/regions/{region}/targetVpnGateways", + "flatPath": "projects/{project}/regions/{region}/targetVpnGateways", "httpMethod": "GET", "parameters": { - "returnPartialSuccess": { - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "type": "boolean", - "location": "query" - }, "filter": { - "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "location": "query" + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" }, - "orderBy": { + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", "type": "string" }, - "project": { - "required": true, - "location": "path", - "type": "string", - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, "pageToken": { "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "type": "string", - "location": "query" - }, - "includeAllScopes": { - "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", "location": "query", - "type": "boolean" + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" }, - "maxResults": { - "location": "query", - "type": "integer", - "default": "500", - "minimum": "0", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "format": "uint32" - } - } - }, - "get": { - "flatPath": "projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}", - "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "response": { - "$ref": "ResourcePolicy" - }, - "parameters": { "region": { - "type": "string", "description": "Name of the region for this request.", - "required": true, "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "location": "path" - }, - "resourcePolicy": { - "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "description": "Name of the resource policy to retrieve.", + "required": true, "type": "string" }, - "project": { - "location": "path", - "type": "string", - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } }, - "id": "compute.resourcePolicies.get", - "description": "Retrieves all information of the specified resource policy.", - "parameterOrder": [ - "project", - "region", - "resourcePolicy" - ], - "path": "projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}" - }, - "testIamPermissions": { - "request": { - "$ref": "TestPermissionsRequest" - }, - "httpMethod": "POST", - "description": "Returns permissions that a caller has on the specified resource.", "parameterOrder": [ "project", - "region", - "resource" + "region" ], "response": { - "$ref": "TestPermissionsResponse" + "$ref": "TargetVpnGatewayList" }, - "path": "projects/{project}/regions/{region}/resourcePolicies/{resource}/testIamPermissions", - "id": "compute.resourcePolicies.testIamPermissions", - "flatPath": "projects/{project}/regions/{region}/resourcePolicies/{resource}/testIamPermissions", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], + "description": "Retrieves a list of target VPN gateways available to the specified project and region." + }, + "aggregatedList": { + "id": "compute.targetVpnGateways.aggregatedList", + "path": "projects/{project}/aggregated/targetVpnGateways", + "flatPath": "projects/{project}/aggregated/targetVpnGateways", + "httpMethod": "GET", "parameters": { - "region": { - "description": "The name of the region for this request.", - "required": true, - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", "type": "string" }, - "resource": { - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name or id of the resource for this request.", - "location": "path", - "required": true - }, - "project": { - "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", - "type": "string", - "location": "path" - } - } - }, - "list": { - "description": "A list all the resource policies that have been configured for the specified project in specified region.", - "parameters": { + "includeAllScopes": { + "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", + "location": "query", + "type": "boolean" + }, "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", "default": "500", - "location": "query", "minimum": "0", + "location": "query", "type": "integer", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", "format": "uint32" }, - "returnPartialSuccess": { + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", - "type": "boolean" - }, - "project": { - "required": true, - "location": "path", - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request." - }, - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "type": "string", - "location": "query" + "type": "string" }, "pageToken": { - "type": "string", + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "location": "query", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results." + "type": "string" }, - "region": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "Name of the region for this request.", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, "type": "string" }, - "orderBy": { + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + }, + "serviceProjectNumber": { + "description": "The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.", "location": "query", "type": "string", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported." + "format": "int64" } }, - "path": "projects/{project}/regions/{region}/resourcePolicies", - "id": "compute.resourcePolicies.list", - "flatPath": "projects/{project}/regions/{region}/resourcePolicies", + "parameterOrder": [ + "project" + ], "response": { - "$ref": "ResourcePolicyList" + "$ref": "TargetVpnGatewayAggregatedList" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "httpMethod": "GET", - "parameterOrder": [ - "project", - "region" - ] + "description": "Retrieves an aggregated list of target VPN gateways." }, - "getIamPolicy": { + "get": { + "id": "compute.targetVpnGateways.get", + "path": "projects/{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}", + "flatPath": "projects/{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}", "httpMethod": "GET", "parameters": { - "resource": { - "type": "string", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "description": "Name or id of the resource for this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "location": "path" - }, - "optionsRequestedPolicyVersion": { - "location": "query", - "format": "int32", - "type": "integer", - "description": "Requested IAM Policy version." + "type": "string" }, "region": { - "required": true, - "type": "string", + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "description": "The name of the region for this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "required": true, + "type": "string" }, - "project": { - "type": "string", + "targetVpnGateway": { + "description": "Name of the target VPN gateway to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true + "required": true, + "type": "string" } }, - "path": "projects/{project}/regions/{region}/resourcePolicies/{resource}/getIamPolicy", - "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.", "parameterOrder": [ "project", "region", - "resource" + "targetVpnGateway" ], + "response": { + "$ref": "TargetVpnGateway" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "id": "compute.resourcePolicies.getIamPolicy", - "response": { - "$ref": "Policy" - }, - "flatPath": "projects/{project}/regions/{region}/resourcePolicies/{resource}/getIamPolicy" + "description": "Returns the specified target VPN gateway." }, - "setIamPolicy": { + "insert": { + "id": "compute.targetVpnGateways.insert", + "path": "projects/{project}/regions/{region}/targetVpnGateways", + "flatPath": "projects/{project}/regions/{region}/targetVpnGateways", + "httpMethod": "POST", "parameters": { - "region": { - "required": true, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "description": "The name of the region for this request.", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" - }, - "resource": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", "required": true, - "description": "Name or id of the resource for this request.", - "location": "path" + "type": "string" }, - "project": { + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "type": "string", - "description": "Project ID for this request.", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, - "path": "projects/{project}/regions/{region}/resourcePolicies/{resource}/setIamPolicy", + "parameterOrder": [ + "project", + "region" + ], + "request": { + "$ref": "TargetVpnGateway" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "request": { - "$ref": "RegionSetPolicyRequest" + "description": "Creates a target VPN gateway in the specified project and region using the data included in the request." + }, + "delete": { + "id": "compute.targetVpnGateways.delete", + "path": "projects/{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}", + "flatPath": "projects/{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}", + "httpMethod": "DELETE", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "targetVpnGateway": { + "description": "Name of the target VPN gateway to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + } }, - "id": "compute.resourcePolicies.setIamPolicy", - "description": "Sets the access control policy on the specified resource. Replaces any existing policy.", - "flatPath": "projects/{project}/regions/{region}/resourcePolicies/{resource}/setIamPolicy", - "httpMethod": "POST", "parameterOrder": [ "project", "region", - "resource" + "targetVpnGateway" ], "response": { - "$ref": "Policy" - } - } - } - }, - "disks": { - "methods": { - "resize": { - "request": { - "$ref": "DisksResizeRequest" + "$ref": "Operation" }, - "description": "Resizes the specified persistent disk. You can only increase the size of the disk.", - "flatPath": "projects/{project}/zones/{zone}/disks/{disk}/resize", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "response": { - "$ref": "Operation" - }, - "path": "projects/{project}/zones/{zone}/disks/{disk}/resize", - "parameterOrder": [ - "project", - "zone", - "disk" - ], - "id": "compute.disks.resize", + "description": "Deletes the specified target VPN gateway." + }, + "setLabels": { + "id": "compute.targetVpnGateways.setLabels", + "path": "projects/{project}/regions/{region}/targetVpnGateways/{resource}/setLabels", + "flatPath": "projects/{project}/regions/{region}/targetVpnGateways/{resource}/setLabels", "httpMethod": "POST", "parameters": { "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "type": "string", + "type": "string" + }, + "region": { + "description": "The region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request." + "required": true, + "type": "string" }, "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - }, - "disk": { - "required": true, - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "The name of the persistent disk.", "type": "string" }, - "zone": { - "description": "The name of the zone for this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "type": "string", - "required": true + "required": true, + "type": "string" } - } - }, - "getIamPolicy": { + }, + "parameterOrder": [ + "project", + "region", + "resource" + ], + "request": { + "$ref": "RegionSetLabelsRequest" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "https://www.googleapis.com/auth/compute" ], + "description": "Sets the labels on a TargetVpnGateway. To learn more about labels, read the Labeling Resources documentation." + } + } + }, + "urlMaps": { + "methods": { + "list": { + "id": "compute.urlMaps.list", + "path": "projects/{project}/global/urlMaps", + "flatPath": "projects/{project}/global/urlMaps", "httpMethod": "GET", - "response": { - "$ref": "Policy" - }, - "description": "Gets the access control policy for a resource. May be empty if no such policy or resource exists.", "parameters": { - "zone": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", - "description": "The name of the zone for this request.", - "location": "path", - "required": true + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" }, "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "type": "string", - "location": "path" - }, - "optionsRequestedPolicyVersion": { - "format": "int32", - "description": "Requested IAM Policy version.", - "type": "integer", - "location": "query" + "type": "string" }, - "resource": { - "type": "string", - "description": "Name or id of the resource for this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "location": "path", - "required": true + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } }, - "flatPath": "projects/{project}/zones/{zone}/disks/{resource}/getIamPolicy", - "path": "projects/{project}/zones/{zone}/disks/{resource}/getIamPolicy", "parameterOrder": [ - "project", - "zone", - "resource" + "project" ], - "id": "compute.disks.getIamPolicy" - }, - "aggregatedList": { - "id": "compute.disks.aggregatedList", "response": { - "$ref": "DiskAggregatedList" + "$ref": "UrlMapList" }, - "httpMethod": "GET", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], + "description": "Retrieves the list of UrlMap resources available to the specified project." + }, + "aggregatedList": { + "id": "compute.urlMaps.aggregatedList", + "path": "projects/{project}/aggregated/urlMaps", + "flatPath": "projects/{project}/aggregated/urlMaps", + "httpMethod": "GET", "parameters": { "filter": { - "type": "string", + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", "location": "query", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`." - }, - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "type": "string", - "location": "query" + "type": "string" }, "includeAllScopes": { - "location": "query", "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", + "location": "query", "type": "boolean" }, "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", "location": "query", "type": "integer", - "minimum": "0", - "format": "uint32", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "default": "500" + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" }, "project": { + "description": "Name of the project scoping this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", - "description": "Project ID for this request.", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" }, - "orderBy": { - "type": "string", + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", "location": "query", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported." + "type": "boolean" }, - "returnPartialSuccess": { - "type": "boolean", + "serviceProjectNumber": { + "description": "The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.", "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." + "type": "string", + "format": "int64" } }, - "flatPath": "projects/{project}/aggregated/disks", - "path": "projects/{project}/aggregated/disks", "parameterOrder": [ "project" ], - "description": "Retrieves an aggregated list of persistent disks." - }, - "list": { - "id": "compute.disks.list", - "path": "projects/{project}/zones/{zone}/disks", + "response": { + "$ref": "UrlMapsAggregatedList" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], + "description": "Retrieves the list of all UrlMap resources, regional and global, available to the specified project." + }, + "get": { + "id": "compute.urlMaps.get", + "path": "projects/{project}/global/urlMaps/{urlMap}", + "flatPath": "projects/{project}/global/urlMaps/{urlMap}", + "httpMethod": "GET", "parameters": { - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "type": "string", - "location": "query" - }, "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "urlMap": { + "description": "Name of the UrlMap resource to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "urlMap" + ], + "response": { + "$ref": "UrlMap" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Returns the specified UrlMap resource." + }, + "insert": { + "id": "compute.urlMaps.insert", + "path": "projects/{project}/global/urlMaps", + "flatPath": "projects/{project}/global/urlMaps", + "httpMethod": "POST", + "parameters": { + "project": { "description": "Project ID for this request.", - "type": "string", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" }, - "orderBy": { - "type": "string", + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported." + "type": "string" + } + }, + "parameterOrder": [ + "project" + ], + "request": { + "$ref": "UrlMap" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Creates a UrlMap resource in the specified project using the data included in the request." + }, + "delete": { + "id": "compute.urlMaps.delete", + "path": "projects/{project}/global/urlMaps/{urlMap}", + "flatPath": "projects/{project}/global/urlMaps/{urlMap}", + "httpMethod": "DELETE", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" }, - "maxResults": { - "default": "500", - "format": "uint32", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "type": "integer", - "minimum": "0", - "location": "query" + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" }, - "zone": { - "description": "The name of the zone for this request.", + "urlMap": { + "description": "Name of the UrlMap resource to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "type": "string" + } + }, + "parameterOrder": [ + "project", + "urlMap" + ], + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Deletes the specified UrlMap resource." + }, + "update": { + "id": "compute.urlMaps.update", + "path": "projects/{project}/global/urlMaps/{urlMap}", + "flatPath": "projects/{project}/global/urlMaps/{urlMap}", + "httpMethod": "PUT", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", + "required": true, "type": "string" }, - "returnPartialSuccess": { - "type": "boolean", + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." + "type": "string" }, - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "type": "string", - "location": "query" + "urlMap": { + "description": "Name of the UrlMap resource to update.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" } }, - "response": { - "$ref": "DiskList" - }, - "description": "Retrieves a list of persistent disks contained within the specified zone.", - "flatPath": "projects/{project}/zones/{zone}/disks", "parameterOrder": [ "project", - "zone" + "urlMap" ], - "httpMethod": "GET" - }, - "addResourcePolicies": { - "flatPath": "projects/{project}/zones/{zone}/disks/{disk}/addResourcePolicies", + "request": { + "$ref": "UrlMap" + }, "response": { "$ref": "Operation" }, - "id": "compute.disks.addResourcePolicies", - "path": "projects/{project}/zones/{zone}/disks/{disk}/addResourcePolicies", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "description": "Adds existing resource policies to a disk. You can only add one policy which will be applied to this disk for scheduling snapshot creation.", - "request": { - "$ref": "DisksAddResourcePoliciesRequest" - }, + "description": "Updates the specified UrlMap resource with the data included in the request." + }, + "patch": { + "id": "compute.urlMaps.patch", + "path": "projects/{project}/global/urlMaps/{urlMap}", + "flatPath": "projects/{project}/global/urlMaps/{urlMap}", + "httpMethod": "PATCH", "parameters": { - "disk": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "description": "The disk name for this request.", - "type": "string", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" - }, - "zone": { - "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "The name of the zone for this request.", - "location": "path", "type": "string" }, "requestId": { - "type": "string", "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" + "location": "query", + "type": "string" }, - "project": { + "urlMap": { + "description": "Name of the UrlMap resource to patch.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, - "description": "Project ID for this request.", - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" } }, - "httpMethod": "POST", "parameterOrder": [ "project", - "zone", - "disk" - ] + "urlMap" + ], + "request": { + "$ref": "UrlMap" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Patches the specified UrlMap resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules." }, - "get": { + "validate": { + "id": "compute.urlMaps.validate", + "path": "projects/{project}/global/urlMaps/{urlMap}/validate", + "flatPath": "projects/{project}/global/urlMaps/{urlMap}/validate", + "httpMethod": "POST", "parameters": { "project": { - "required": true, - "location": "path", "description": "Project ID for this request.", - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" }, - "disk": { + "urlMap": { + "description": "Name of the UrlMap resource to be validated as.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "type": "string", - "description": "Name of the persistent disk to return.", - "required": true - }, - "zone": { - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "required": true, - "location": "path", - "description": "The name of the zone for this request." + "type": "string" } }, - "description": "Returns a specified persistent disk. Gets a list of available persistent disks by making a list() request.", - "flatPath": "projects/{project}/zones/{zone}/disks/{disk}", "parameterOrder": [ "project", - "zone", - "disk" + "urlMap" ], + "request": { + "$ref": "UrlMapsValidateRequest" + }, "response": { - "$ref": "Disk" + "$ref": "UrlMapsValidateResponse" }, - "httpMethod": "GET", - "path": "projects/{project}/zones/{zone}/disks/{disk}", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "id": "compute.disks.get" - }, - "setLabels": { "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], + "description": "Runs static validation for the UrlMap. In particular, the tests of the provided UrlMap will be run. Calling this method does NOT create the UrlMap." + }, + "invalidateCache": { + "id": "compute.urlMaps.invalidateCache", + "path": "projects/{project}/global/urlMaps/{urlMap}/invalidateCache", + "flatPath": "projects/{project}/global/urlMaps/{urlMap}/invalidateCache", "httpMethod": "POST", - "path": "projects/{project}/zones/{zone}/disks/{resource}/setLabels", - "flatPath": "projects/{project}/zones/{zone}/disks/{resource}/setLabels", - "id": "compute.disks.setLabels", - "response": { - "$ref": "Operation" - }, - "request": { - "$ref": "ZoneSetLabelsRequest" - }, "parameters": { - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" - }, - "zone": { - "description": "The name of the zone for this request.", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "type": "string" }, - "resource": { - "location": "path", - "type": "string", - "required": true, - "description": "Name or id of the resource for this request.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" }, - "project": { - "type": "string", + "urlMap": { + "description": "Name of the UrlMap scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "type": "string" } }, "parameterOrder": [ "project", - "zone", - "resource" + "urlMap" ], - "description": "Sets the labels on a disk. To learn more about labels, read the Labeling Resources documentation." - }, - "createSnapshot": { + "request": { + "$ref": "CacheInvalidationRule" + }, "response": { "$ref": "Operation" }, - "id": "compute.disks.createSnapshot", - "httpMethod": "POST", - "path": "projects/{project}/zones/{zone}/disks/{disk}/createSnapshot", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "parameterOrder": [ - "project", - "zone", - "disk" - ], - "description": "Creates a snapshot of a specified persistent disk. For regular snapshot creation, consider using snapshots.insert instead, as that method supports more features, such as creating snapshots in a project different from the source disk project.", - "request": { - "$ref": "Snapshot" - }, + "description": "Initiates a cache invalidation operation, invalidating the specified path, scoped to the specified UrlMap. For more information, see [Invalidating cached content](/cdn/docs/invalidating-cached-content)." + } + } + }, + "regionUrlMaps": { + "methods": { + "list": { + "id": "compute.regionUrlMaps.list", + "path": "projects/{project}/regions/{region}/urlMaps", + "flatPath": "projects/{project}/regions/{region}/urlMaps", + "httpMethod": "GET", "parameters": { - "guestFlush": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "location": "query", - "type": "boolean", - "description": "[Input Only] Whether to attempt an application consistent snapshot by informing the OS to prepare for the snapshot process." + "type": "string" }, "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, - "type": "string", "description": "Project ID for this request.", - "location": "path" - }, - "zone": { + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "The name of the zone for this request.", "type": "string" }, - "disk": { - "required": true, - "type": "string", + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name of the persistent disk to snapshot." + "required": true, + "type": "string" }, - "requestId": { - "type": "string", + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." + "type": "boolean" } }, - "flatPath": "projects/{project}/zones/{zone}/disks/{disk}/createSnapshot" - }, - "removeResourcePolicies": { - "path": "projects/{project}/zones/{zone}/disks/{disk}/removeResourcePolicies", - "description": "Removes resource policies from a disk.", - "request": { - "$ref": "DisksRemoveResourcePoliciesRequest" - }, "parameterOrder": [ "project", - "zone", - "disk" + "region" ], - "parameters": { - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" - }, - "disk": { - "description": "The disk name for this request.", - "required": true, - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string" - }, - "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", - "type": "string", - "required": true, - "location": "path" - }, - "zone": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true, - "location": "path", - "type": "string", - "description": "The name of the zone for this request." - } + "response": { + "$ref": "UrlMapList" }, - "flatPath": "projects/{project}/zones/{zone}/disks/{disk}/removeResourcePolicies", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "httpMethod": "POST", - "id": "compute.disks.removeResourcePolicies", - "response": { - "$ref": "Operation" - } + "description": "Retrieves the list of UrlMap resources available to the specified project in the specified region." }, - "delete": { - "httpMethod": "DELETE", + "get": { + "id": "compute.regionUrlMaps.get", + "path": "projects/{project}/regions/{region}/urlMaps/{urlMap}", + "flatPath": "projects/{project}/regions/{region}/urlMaps/{urlMap}", + "httpMethod": "GET", "parameters": { "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "description": "Project ID for this request.", - "required": true, + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", + "required": true, "type": "string" }, - "disk": { - "type": "string", - "description": "Name of the persistent disk to delete.", + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", "required": true, - "location": "path" - }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query", "type": "string" }, - "zone": { + "urlMap": { + "description": "Name of the UrlMap resource to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", "required": true, - "description": "The name of the zone for this request." + "type": "string" } }, - "description": "Deletes the specified persistent disk. Deleting a disk removes its data permanently and is irreversible. However, deleting a disk does not delete any snapshots previously made from the disk. You must separately delete snapshots.", "parameterOrder": [ "project", - "zone", - "disk" + "region", + "urlMap" ], "response": { - "$ref": "Operation" + "$ref": "UrlMap" }, - "id": "compute.disks.delete", - "flatPath": "projects/{project}/zones/{zone}/disks/{disk}", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" ], - "path": "projects/{project}/zones/{zone}/disks/{disk}" + "description": "Returns the specified UrlMap resource." }, - "setIamPolicy": { - "flatPath": "projects/{project}/zones/{zone}/disks/{resource}/setIamPolicy", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "description": "Sets the access control policy on the specified resource. Replaces any existing policy.", - "path": "projects/{project}/zones/{zone}/disks/{resource}/setIamPolicy", - "parameterOrder": [ - "project", - "zone", - "resource" - ], - "request": { - "$ref": "ZoneSetPolicyRequest" - }, + "insert": { + "id": "compute.regionUrlMaps.insert", + "path": "projects/{project}/regions/{region}/urlMaps", + "flatPath": "projects/{project}/regions/{region}/urlMaps", + "httpMethod": "POST", "parameters": { "project": { - "required": true, + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", - "description": "Project ID for this request." - }, - "resource": { "required": true, - "description": "Name or id of the resource for this request.", - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "type": "string" }, - "zone": { - "type": "string", - "description": "The name of the zone for this request.", - "location": "path", + "region": { + "description": "Name of the region scoping this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true - } - }, - "httpMethod": "POST", - "response": { - "$ref": "Policy" - }, - "id": "compute.disks.setIamPolicy" - }, - "insert": { - "parameters": { - "project": { "location": "path", - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", - "required": true + "required": true, + "type": "string" }, "requestId": { + "description": "begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.", "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - }, - "sourceImage": { - "location": "query", - "type": "string", - "description": "Source image to restore onto a disk. This field is optional." - }, - "zone": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "The name of the zone for this request.", - "type": "string", - "location": "path", - "required": true + "type": "string" } }, "parameterOrder": [ "project", - "zone" + "region" ], - "description": "Creates a persistent disk in the specified project using the data in the request. You can create a disk from a source (sourceImage, sourceSnapshot, or sourceDisk) or create an empty 500 GB data disk by omitting all properties. You can also create a disk that is larger than the default size by specifying the sizeGb property.", - "httpMethod": "POST", "request": { - "$ref": "Disk" + "$ref": "UrlMap" + }, + "response": { + "$ref": "Operation" }, - "flatPath": "projects/{project}/zones/{zone}/disks", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "response": { - "$ref": "Operation" - }, - "id": "compute.disks.insert", - "path": "projects/{project}/zones/{zone}/disks" + "description": "Creates a UrlMap resource in the specified project using the data included in the request." }, - "testIamPermissions": { - "description": "Returns permissions that a caller has on the specified resource.", + "delete": { + "id": "compute.regionUrlMaps.delete", + "path": "projects/{project}/regions/{region}/urlMaps/{urlMap}", + "flatPath": "projects/{project}/regions/{region}/urlMaps/{urlMap}", + "httpMethod": "DELETE", "parameters": { - "resource": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name or id of the resource for this request.", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", - "required": true + "required": true, + "type": "string" }, - "zone": { - "location": "path", + "region": { + "description": "Name of the region scoping this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "description": "The name of the zone for this request.", + "location": "path", "required": true, "type": "string" }, - "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, - "type": "string", + "requestId": { + "description": "begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.", + "location": "query", + "type": "string" + }, + "urlMap": { + "description": "Name of the UrlMap resource to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "description": "Project ID for this request." + "required": true, + "type": "string" } }, - "path": "projects/{project}/zones/{zone}/disks/{resource}/testIamPermissions", - "response": { - "$ref": "TestPermissionsResponse" - }, - "httpMethod": "POST", - "id": "compute.disks.testIamPermissions", - "request": { - "$ref": "TestPermissionsRequest" - }, - "flatPath": "projects/{project}/zones/{zone}/disks/{resource}/testIamPermissions", "parameterOrder": [ "project", - "zone", - "resource" + "region", + "urlMap" ], - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ] - } - } - }, - "urlMaps": { - "methods": { - "delete": { - "httpMethod": "DELETE", - "description": "Deletes the specified UrlMap resource.", "response": { "$ref": "Operation" }, - "flatPath": "projects/{project}/global/urlMaps/{urlMap}", - "path": "projects/{project}/global/urlMaps/{urlMap}", - "id": "compute.urlMaps.delete", - "parameterOrder": [ - "project", - "urlMap" - ], "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], + "description": "Deletes the specified UrlMap resource." + }, + "update": { + "id": "compute.regionUrlMaps.update", + "path": "projects/{project}/regions/{region}/urlMaps/{urlMap}", + "flatPath": "projects/{project}/regions/{region}/urlMaps/{urlMap}", + "httpMethod": "PUT", "parameters": { - "urlMap": { - "type": "string", - "description": "Name of the UrlMap resource to delete.", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" + "required": true, + "type": "string" }, "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "description": "begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.", "location": "query", "type": "string" }, - "project": { + "urlMap": { + "description": "Name of the UrlMap resource to update.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", "type": "string" } - } - }, - "aggregatedList": { - "flatPath": "projects/{project}/aggregated/urlMaps", - "path": "projects/{project}/aggregated/urlMaps", + }, "parameterOrder": [ - "project" - ], - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" + "project", + "region", + "urlMap" ], - "description": "Retrieves the list of all UrlMap resources, regional and global, available to the specified project.", - "id": "compute.urlMaps.aggregatedList", - "httpMethod": "GET", - "parameters": { - "project": { - "type": "string", - "required": true, - "description": "Name of the project scoping this request.", - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" - }, - "orderBy": { - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", - "location": "query", - "type": "string" - }, - "includeAllScopes": { - "type": "boolean", - "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", - "location": "query" - }, - "filter": { - "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "location": "query" - }, - "pageToken": { - "location": "query", - "type": "string", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results." - }, - "returnPartialSuccess": { - "type": "boolean", - "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." - }, - "maxResults": { - "type": "integer", - "location": "query", - "minimum": "0", - "default": "500", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "format": "uint32" - } + "request": { + "$ref": "UrlMap" }, "response": { - "$ref": "UrlMapsAggregatedList" - } + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Updates the specified UrlMap resource with the data included in the request." }, "patch": { + "id": "compute.regionUrlMaps.patch", + "path": "projects/{project}/regions/{region}/urlMaps/{urlMap}", + "flatPath": "projects/{project}/regions/{region}/urlMaps/{urlMap}", + "httpMethod": "PATCH", "parameters": { "project": { - "required": true, "description": "Project ID for this request.", - "type": "string", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "location": "path" + "location": "path", + "required": true, + "type": "string" }, - "urlMap": { + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", "required": true, - "description": "Name of the UrlMap resource to patch.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", - "location": "path" + "type": "string" }, "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "description": "begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.", "location": "query", "type": "string" + }, + "urlMap": { + "description": "Name of the UrlMap resource to patch.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" } }, - "description": "Patches the specified UrlMap resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.", - "path": "projects/{project}/global/urlMaps/{urlMap}", - "request": { - "$ref": "UrlMap" - }, - "flatPath": "projects/{project}/global/urlMaps/{urlMap}", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], - "id": "compute.urlMaps.patch", "parameterOrder": [ "project", + "region", "urlMap" ], + "request": { + "$ref": "UrlMap" + }, "response": { "$ref": "Operation" }, - "httpMethod": "PATCH" - }, - "update": { - "flatPath": "projects/{project}/global/urlMaps/{urlMap}", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "parameterOrder": [ - "project", - "urlMap" - ], + "description": "Patches the specified UrlMap resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules." + }, + "validate": { + "id": "compute.regionUrlMaps.validate", + "path": "projects/{project}/regions/{region}/urlMaps/{urlMap}/validate", + "flatPath": "projects/{project}/regions/{region}/urlMaps/{urlMap}/validate", + "httpMethod": "POST", "parameters": { "project": { - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "required": true + "required": true, + "type": "string" }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "type": "string", - "location": "query" + "region": { + "description": "Name of the region scoping this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" }, "urlMap": { - "type": "string", - "required": true, - "location": "path", + "description": "Name of the UrlMap resource to be validated as.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "description": "Name of the UrlMap resource to update." + "location": "path", + "required": true, + "type": "string" } }, + "parameterOrder": [ + "project", + "region", + "urlMap" + ], "request": { - "$ref": "UrlMap" + "$ref": "RegionUrlMapsValidateRequest" }, - "description": "Updates the specified UrlMap resource with the data included in the request.", "response": { - "$ref": "Operation" + "$ref": "UrlMapsValidateResponse" }, - "id": "compute.urlMaps.update", - "path": "projects/{project}/global/urlMaps/{urlMap}", - "httpMethod": "PUT" - }, - "list": { - "description": "Retrieves the list of UrlMap resources available to the specified project.", - "path": "projects/{project}/global/urlMaps", - "parameterOrder": [ - "project" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" ], + "description": "Runs static validation for the UrlMap. In particular, the tests of the provided UrlMap will be run. Calling this method does NOT create the UrlMap." + } + } + }, + "vpnGateways": { + "methods": { + "list": { + "id": "compute.vpnGateways.list", + "path": "projects/{project}/regions/{region}/vpnGateways", + "flatPath": "projects/{project}/regions/{region}/vpnGateways", + "httpMethod": "GET", "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, "maxResults": { "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "minimum": "0", "default": "500", - "format": "uint32", + "minimum": "0", "location": "query", - "type": "integer" + "type": "integer", + "format": "uint32" }, - "filter": { + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", "location": "query", - "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`." + "type": "string" }, "pageToken": { "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "location": "query", "type": "string" }, - "orderBy": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + } + }, + "parameterOrder": [ + "project", + "region" + ], + "response": { + "$ref": "VpnGatewayList" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Retrieves a list of VPN gateways available to the specified project and region." + }, + "aggregatedList": { + "id": "compute.vpnGateways.aggregatedList", + "path": "projects/{project}/aggregated/vpnGateways", + "flatPath": "projects/{project}/aggregated/vpnGateways", + "httpMethod": "GET", + "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "includeAllScopes": { + "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", + "location": "query", + "type": "boolean" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", "type": "string" }, "project": { - "location": "path", - "required": true, "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, "type": "string" }, "returnPartialSuccess": { - "location": "query", "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", "type": "boolean" + }, + "serviceProjectNumber": { + "description": "The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.", + "location": "query", + "type": "string", + "format": "int64" } }, + "parameterOrder": [ + "project" + ], + "response": { + "$ref": "VpnGatewayAggregatedList" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "response": { - "$ref": "UrlMapList" - }, - "flatPath": "projects/{project}/global/urlMaps", - "httpMethod": "GET", - "id": "compute.urlMaps.list" + "description": "Retrieves an aggregated list of VPN gateways." }, "get": { + "id": "compute.vpnGateways.get", + "path": "projects/{project}/regions/{region}/vpnGateways/{vpnGateway}", + "flatPath": "projects/{project}/regions/{region}/vpnGateways/{vpnGateway}", + "httpMethod": "GET", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "vpnGateway": { + "description": "Name of the VPN gateway to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + } + }, + "parameterOrder": [ + "project", + "region", + "vpnGateway" + ], "response": { - "$ref": "UrlMap" + "$ref": "VpnGateway" }, - "id": "compute.urlMaps.get", - "path": "projects/{project}/global/urlMaps/{urlMap}", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Returns the specified VPN gateway." + }, + "getStatus": { + "id": "compute.vpnGateways.getStatus", + "path": "projects/{project}/regions/{region}/vpnGateways/{vpnGateway}/getStatus", + "flatPath": "projects/{project}/regions/{region}/vpnGateways/{vpnGateway}/getStatus", + "httpMethod": "GET", "parameters": { - "urlMap": { - "description": "Name of the UrlMap resource to return.", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" + "required": true, + "type": "string" }, - "project": { + "vpnGateway": { + "description": "Name of the VPN gateway to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", - "type": "string", - "location": "path" + "type": "string" } }, "parameterOrder": [ "project", - "urlMap" + "region", + "vpnGateway" ], - "httpMethod": "GET", + "response": { + "$ref": "VpnGatewaysGetStatusResponse" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "flatPath": "projects/{project}/global/urlMaps/{urlMap}", - "description": "Returns the specified UrlMap resource. Gets a list of available URL maps by making a list() request." + "description": "Returns the status for the specified VPN gateway." }, "insert": { + "id": "compute.vpnGateways.insert", + "path": "projects/{project}/regions/{region}/vpnGateways", + "flatPath": "projects/{project}/regions/{region}/vpnGateways", + "httpMethod": "POST", "parameters": { - "requestId": { - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", - "location": "query" - }, "project": { "description": "Project ID for this request.", - "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", "type": "string" } }, - "id": "compute.urlMaps.insert", + "parameterOrder": [ + "project", + "region" + ], + "request": { + "$ref": "VpnGateway" + }, "response": { "$ref": "Operation" }, @@ -68320,64 +78828,107 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "parameterOrder": [ - "project" - ], - "request": { - "$ref": "UrlMap" - }, - "path": "projects/{project}/global/urlMaps", - "httpMethod": "POST", - "description": "Creates a UrlMap resource in the specified project using the data included in the request.", - "flatPath": "projects/{project}/global/urlMaps" + "description": "Creates a VPN gateway in the specified project and region using the data included in the request." }, - "validate": { + "delete": { + "id": "compute.vpnGateways.delete", + "path": "projects/{project}/regions/{region}/vpnGateways/{vpnGateway}", + "flatPath": "projects/{project}/regions/{region}/vpnGateways/{vpnGateway}", + "httpMethod": "DELETE", + "parameters": { + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "vpnGateway": { + "description": "Name of the VPN gateway to delete.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" + } + }, "parameterOrder": [ "project", - "urlMap" + "region", + "vpnGateway" ], - "description": "Runs static validation for the UrlMap. In particular, the tests of the provided UrlMap will be run. Calling this method does NOT create the UrlMap.", - "request": { - "$ref": "UrlMapsValidateRequest" + "response": { + "$ref": "Operation" }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], + "description": "Deletes the specified VPN gateway." + }, + "testIamPermissions": { + "id": "compute.vpnGateways.testIamPermissions", + "path": "projects/{project}/regions/{region}/vpnGateways/{resource}/testIamPermissions", + "flatPath": "projects/{project}/regions/{region}/vpnGateways/{resource}/testIamPermissions", "httpMethod": "POST", - "path": "projects/{project}/global/urlMaps/{urlMap}/validate", - "flatPath": "projects/{project}/global/urlMaps/{urlMap}/validate", "parameters": { - "urlMap": { - "required": true, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "description": "Name of the UrlMap resource to be validated as.", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" + "required": true, + "type": "string" }, - "project": { + "region": { + "description": "The name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", "required": true, - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "description": "Project ID for this request." + "required": true, + "type": "string" } }, - "response": { - "$ref": "UrlMapsValidateResponse" + "parameterOrder": [ + "project", + "region", + "resource" + ], + "request": { + "$ref": "TestPermissionsRequest" }, - "id": "compute.urlMaps.validate" - }, - "invalidateCache": { "response": { - "$ref": "Operation" + "$ref": "TestPermissionsResponse" }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Returns permissions that a caller has on the specified resource." + }, + "setLabels": { + "id": "compute.vpnGateways.setLabels", + "path": "projects/{project}/regions/{region}/vpnGateways/{resource}/setLabels", + "flatPath": "projects/{project}/regions/{region}/vpnGateways/{resource}/setLabels", + "httpMethod": "POST", "parameters": { - "requestId": { - "type": "string", - "location": "query", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - }, "project": { "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", @@ -68385,314 +78936,339 @@ "required": true, "type": "string" }, - "urlMap": { + "region": { + "description": "The region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", + "location": "path", "required": true, - "description": "Name of the UrlMap scoping this request.", - "location": "path" + "type": "string" } }, "parameterOrder": [ "project", - "urlMap" + "region", + "resource" ], + "request": { + "$ref": "RegionSetLabelsRequest" + }, + "response": { + "$ref": "Operation" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "path": "projects/{project}/global/urlMaps/{urlMap}/invalidateCache", - "id": "compute.urlMaps.invalidateCache", - "flatPath": "projects/{project}/global/urlMaps/{urlMap}/invalidateCache", - "description": "Initiates a cache invalidation operation, invalidating the specified path, scoped to the specified UrlMap. For more information, see [Invalidating cached content](/cdn/docs/invalidating-cached-content).", - "request": { - "$ref": "CacheInvalidationRule" + "description": "Sets the labels on a VpnGateway. To learn more about labels, read the Labeling Resources documentation." + } + } + }, + "vpnTunnels": { + "methods": { + "list": { + "id": "compute.vpnTunnels.list", + "path": "projects/{project}/regions/{region}/vpnTunnels", + "flatPath": "projects/{project}/regions/{region}/vpnTunnels", + "httpMethod": "GET", + "parameters": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" + }, + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", + "location": "query", + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" + }, + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" + } + }, + "parameterOrder": [ + "project", + "region" + ], + "response": { + "$ref": "VpnTunnelList" }, - "httpMethod": "POST" - } - } - }, - "interconnectLocations": { - "methods": { - "list": { "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], + "description": "Retrieves a list of VpnTunnel resources contained in the specified project and region." + }, + "aggregatedList": { + "id": "compute.vpnTunnels.aggregatedList", + "path": "projects/{project}/aggregated/vpnTunnels", + "flatPath": "projects/{project}/aggregated/vpnTunnels", "httpMethod": "GET", "parameters": { - "orderBy": { - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", "location": "query", "type": "string" }, + "includeAllScopes": { + "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", + "location": "query", + "type": "boolean" + }, "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", "default": "500", "minimum": "0", + "location": "query", "type": "integer", - "format": "uint32", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "location": "query" + "format": "uint32" }, - "project": { - "type": "string", - "required": true, - "description": "Project ID for this request.", - "location": "path", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))" + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" }, "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "location": "query", - "type": "string", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results." + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", + "required": true, + "type": "string" }, "returnPartialSuccess": { - "type": "boolean", + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." + "type": "boolean" }, - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", + "serviceProjectNumber": { + "description": "The Shared VPC service project id or service project number for which aggregated list request is invoked for subnetworks list-usable api.", "location": "query", - "type": "string" + "type": "string", + "format": "int64" } }, - "path": "projects/{project}/global/interconnectLocations", - "response": { - "$ref": "InterconnectLocationList" - }, - "description": "Retrieves the list of interconnect locations available to the specified project.", "parameterOrder": [ "project" ], - "flatPath": "projects/{project}/global/interconnectLocations", - "id": "compute.interconnectLocations.list" - }, - "get": { - "id": "compute.interconnectLocations.get", - "path": "projects/{project}/global/interconnectLocations/{interconnectLocation}", "response": { - "$ref": "InterconnectLocation" + "$ref": "VpnTunnelAggregatedList" }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Retrieves an aggregated list of VPN tunnels." + }, + "get": { + "id": "compute.vpnTunnels.get", + "path": "projects/{project}/regions/{region}/vpnTunnels/{vpnTunnel}", + "flatPath": "projects/{project}/regions/{region}/vpnTunnels/{vpnTunnel}", + "httpMethod": "GET", "parameters": { "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", "location": "path", "required": true, - "description": "Project ID for this request." + "type": "string" }, - "interconnectLocation": { - "type": "string", + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, + "type": "string" + }, + "vpnTunnel": { + "description": "Name of the VpnTunnel resource to return.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "description": "Name of the interconnect location to return.", - "required": true + "required": true, + "type": "string" } }, "parameterOrder": [ "project", - "interconnectLocation" - ], - "description": "Returns the details for the specified interconnect location. Gets a list of available interconnect locations by making a list() request.", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ], - "flatPath": "projects/{project}/global/interconnectLocations/{interconnectLocation}", - "httpMethod": "GET" - } - } - }, - "vpnGateways": { - "methods": { - "aggregatedList": { - "parameterOrder": [ - "project" + "region", + "vpnTunnel" ], - "path": "projects/{project}/aggregated/vpnGateways", - "parameters": { - "project": { - "type": "string", - "required": true, - "description": "Project ID for this request.", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "location": "path" - }, - "filter": { - "type": "string", - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "location": "query" - }, - "includeAllScopes": { - "type": "boolean", - "description": "Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.", - "location": "query" - }, - "orderBy": { - "type": "string", - "location": "query", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported." - }, - "pageToken": { - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", - "type": "string", - "location": "query" - }, - "returnPartialSuccess": { - "type": "boolean", - "location": "query", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." - }, - "maxResults": { - "location": "query", - "default": "500", - "format": "uint32", - "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", - "minimum": "0", - "type": "integer" - } + "response": { + "$ref": "VpnTunnel" }, - "id": "compute.vpnGateways.aggregatedList", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], - "response": { - "$ref": "VpnGatewayAggregatedList" - }, - "flatPath": "projects/{project}/aggregated/vpnGateways", - "description": "Retrieves an aggregated list of VPN gateways.", - "httpMethod": "GET" + "description": "Returns the specified VpnTunnel resource." }, - "delete": { + "insert": { + "id": "compute.vpnTunnels.insert", + "path": "projects/{project}/regions/{region}/vpnTunnels", + "flatPath": "projects/{project}/regions/{region}/vpnTunnels", + "httpMethod": "POST", "parameters": { "project": { + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "required": true, "location": "path", - "description": "Project ID for this request.", + "required": true, "type": "string" }, - "requestId": { - "location": "query", - "type": "string", - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000)." - }, "region": { "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", "required": true, - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" + "type": "string" }, - "vpnGateway": { - "required": true, - "type": "string", - "location": "path", - "description": "Name of the VPN gateway to delete.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" } }, - "path": "projects/{project}/regions/{region}/vpnGateways/{vpnGateway}", - "flatPath": "projects/{project}/regions/{region}/vpnGateways/{vpnGateway}", - "id": "compute.vpnGateways.delete", - "description": "Deletes the specified VPN gateway.", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute" - ], "parameterOrder": [ "project", - "region", - "vpnGateway" + "region" ], + "request": { + "$ref": "VpnTunnel" + }, "response": { "$ref": "Operation" }, - "httpMethod": "DELETE" + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ], + "description": "Creates a VpnTunnel resource in the specified project and region using the data included in the request." }, - "get": { - "path": "projects/{project}/regions/{region}/vpnGateways/{vpnGateway}", + "delete": { + "id": "compute.vpnTunnels.delete", + "path": "projects/{project}/regions/{region}/vpnTunnels/{vpnTunnel}", + "flatPath": "projects/{project}/regions/{region}/vpnTunnels/{vpnTunnel}", + "httpMethod": "DELETE", "parameters": { - "region": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "type": "string", - "description": "Name of the region for this request.", - "location": "path" + "type": "string" }, - "project": { + "region": { + "description": "Name of the region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", "required": true, - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "type": "string", - "description": "Project ID for this request." + "type": "string" }, - "vpnGateway": { + "requestId": { + "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "location": "query", + "type": "string" + }, + "vpnTunnel": { + "description": "Name of the VpnTunnel resource to delete.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", + "location": "path", "required": true, - "description": "Name of the VPN gateway to return.", - "location": "path" + "type": "string" } }, "parameterOrder": [ "project", "region", - "vpnGateway" + "vpnTunnel" ], "response": { - "$ref": "VpnGateway" + "$ref": "Operation" }, - "description": "Returns the specified VPN gateway. Gets a list of available VPN gateways by making a list() request.", - "id": "compute.vpnGateways.get", - "flatPath": "projects/{project}/regions/{region}/vpnGateways/{vpnGateway}", - "httpMethod": "GET", - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ] - }, - "setLabels": { - "flatPath": "projects/{project}/regions/{region}/vpnGateways/{resource}/setLabels", - "path": "projects/{project}/regions/{region}/vpnGateways/{resource}/setLabels", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "id": "compute.vpnGateways.setLabels", + "description": "Deletes the specified VpnTunnel resource." + }, + "setLabels": { + "id": "compute.vpnTunnels.setLabels", + "path": "projects/{project}/regions/{region}/vpnTunnels/{resource}/setLabels", + "flatPath": "projects/{project}/regions/{region}/vpnTunnels/{resource}/setLabels", "httpMethod": "POST", "parameters": { - "resource": { - "type": "string", + "project": { + "description": "Project ID for this request.", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path", "required": true, - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "type": "string" + }, + "region": { + "description": "The region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path", - "description": "Name or id of the resource for this request." + "required": true, + "type": "string" }, "requestId": { "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", "location": "query", "type": "string" }, - "region": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "location": "path", - "description": "The region for this request.", - "type": "string", - "required": true - }, - "project": { + "resource": { + "description": "Name or id of the resource for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", "location": "path", - "type": "string", - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", - "required": true + "required": true, + "type": "string" } }, "parameterOrder": [ @@ -68706,236 +79282,176 @@ "response": { "$ref": "Operation" }, - "description": "Sets the labels on a VpnGateway. To learn more about labels, read the Labeling Resources documentation." - }, - "insert": { - "flatPath": "projects/{project}/regions/{region}/vpnGateways", - "description": "Creates a VPN gateway in the specified project and region using the data included in the request.", - "response": { - "$ref": "Operation" - }, - "httpMethod": "POST", - "path": "projects/{project}/regions/{region}/vpnGateways", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ], - "id": "compute.vpnGateways.insert", - "request": { - "$ref": "VpnGateway" - }, - "parameterOrder": [ - "project", - "region" - ], + "description": "Sets the labels on a VpnTunnel. To learn more about labels, read the Labeling Resources documentation." + } + } + }, + "zones": { + "methods": { + "list": { + "id": "compute.zones.list", + "path": "projects/{project}/zones", + "flatPath": "projects/{project}/zones", + "httpMethod": "GET", "parameters": { - "region": { - "description": "Name of the region for this request.", - "type": "string", - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "required": true + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", + "location": "query", + "type": "string" }, - "requestId": { - "description": "An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).", + "maxResults": { + "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", + "default": "500", + "minimum": "0", + "location": "query", + "type": "integer", + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" + }, + "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "location": "query", "type": "string" }, "project": { - "required": true, - "type": "string", "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "location": "path" - } - } - }, - "getStatus": { - "id": "compute.vpnGateways.getStatus", - "parameters": { - "vpnGateway": { - "required": true, "location": "path", - "description": "Name of the VPN gateway to return.", - "type": "string", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}" - }, - "project": { - "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", - "description": "Project ID for this request.", "required": true, - "location": "path", "type": "string" }, - "region": { - "required": true, - "description": "Name of the region for this request.", - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string" + "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", + "location": "query", + "type": "boolean" } }, - "response": { - "$ref": "VpnGatewaysGetStatusResponse" - }, - "httpMethod": "GET", - "flatPath": "projects/{project}/regions/{region}/vpnGateways/{vpnGateway}/getStatus", - "description": "Returns the status for the specified VPN gateway.", - "path": "projects/{project}/regions/{region}/vpnGateways/{vpnGateway}/getStatus", - "parameterOrder": [ - "project", - "region", - "vpnGateway" - ], - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/compute", - "https://www.googleapis.com/auth/compute.readonly" - ] - }, - "testIamPermissions": { - "request": { - "$ref": "TestPermissionsRequest" - }, - "flatPath": "projects/{project}/regions/{region}/vpnGateways/{resource}/testIamPermissions", - "httpMethod": "POST", "parameterOrder": [ - "project", - "region", - "resource" + "project" ], - "path": "projects/{project}/regions/{region}/vpnGateways/{resource}/testIamPermissions", "response": { - "$ref": "TestPermissionsResponse" + "$ref": "ZoneList" }, - "description": "Returns permissions that a caller has on the specified resource.", - "id": "compute.vpnGateways.testIamPermissions", "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" ], + "description": "Retrieves the list of Zone resources available to the specified project." + }, + "get": { + "id": "compute.zones.get", + "path": "projects/{project}/zones/{zone}", + "flatPath": "projects/{project}/zones/{zone}", + "httpMethod": "GET", "parameters": { - "region": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "location": "path", - "type": "string", - "description": "The name of the region for this request.", - "required": true - }, - "resource": { - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", - "type": "string", - "description": "Name or id of the resource for this request.", - "location": "path", - "required": true - }, "project": { - "type": "string", "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "required": true + "required": true, + "type": "string" + }, + "zone": { + "description": "Name of the zone resource to return.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "location": "path", + "required": true, + "type": "string" } - } - }, - "list": { + }, "parameterOrder": [ "project", - "region" + "zone" ], "response": { - "$ref": "VpnGatewayList" + "$ref": "Zone" }, - "path": "projects/{project}/regions/{region}/vpnGateways", - "id": "compute.vpnGateways.list", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ], + "description": "Returns the specified Zone resource." + } + } + }, + "regionZones": { + "methods": { + "list": { + "id": "compute.regionZones.list", + "path": "projects/{project}/regions/{region}/zones", + "flatPath": "projects/{project}/regions/{region}/zones", + "httpMethod": "GET", "parameters": { - "maxResults": { + "filter": { + "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`. You cannot combine constraints on multiple fields using regular expressions.", "location": "query", - "format": "uint32", + "type": "string" + }, + "maxResults": { "description": "The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)", "default": "500", + "minimum": "0", + "location": "query", "type": "integer", - "minimum": "0" + "format": "uint32" + }, + "orderBy": { + "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "location": "query", + "type": "string" }, "pageToken": { + "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.", "location": "query", - "type": "string", - "description": "Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results." + "type": "string" }, "project": { - "required": true, + "description": "Project ID for this request.", "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path", - "type": "string", - "description": "Project ID for this request." - }, - "orderBy": { - "location": "query", - "description": "Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy=\"creationTimestamp desc\"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.", + "required": true, "type": "string" }, - "filter": { - "description": "A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `\u003e`, `\u003c`, `\u003c=`, `\u003e=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = \"Intel Skylake\") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = \"Intel Skylake\") OR (cpuPlatform = \"Intel Broadwell\") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq \"double quoted literal\"` `(fieldname1 eq literal) (fieldname2 ne \"literal\")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name \"instance\", you would use `name ne .*instance`.", - "location": "query", + "region": { + "description": "Region for this request.", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "location": "path", + "required": true, "type": "string" }, "returnPartialSuccess": { + "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.", "location": "query", - "type": "boolean", - "description": "Opt-in for partial success behavior which provides partial results in case of failure. The default value is false." - }, - "region": { - "location": "path", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "type": "string", - "description": "Name of the region for this request.", - "required": true + "type": "boolean" } }, - "description": "Retrieves a list of VPN gateways available to the specified project and region.", - "httpMethod": "GET", - "flatPath": "projects/{project}/regions/{region}/vpnGateways", + "parameterOrder": [ + "project", + "region" + ], + "response": { + "$ref": "ZoneList" + }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/compute.readonly" - ] - } - } - } - }, - "description": "Creates and runs virtual machines on Google Cloud Platform. ", - "version": "v1", - "id": "compute:v1", - "auth": { - "oauth2": { - "scopes": { - "https://www.googleapis.com/auth/devstorage.read_write": { - "description": "Manage your data in Cloud Storage and see the email address of your Google Account" - }, - "https://www.googleapis.com/auth/devstorage.read_only": { - "description": "View your data in Google Cloud Storage" - }, - "https://www.googleapis.com/auth/compute": { - "description": "View and manage your Google Compute Engine resources" - }, - "https://www.googleapis.com/auth/devstorage.full_control": { - "description": "Manage your data and permissions in Cloud Storage and see the email address for your Google Account" - }, - "https://www.googleapis.com/auth/compute.readonly": { - "description": "View your Google Compute Engine resources" - }, - "https://www.googleapis.com/auth/cloud-platform": { - "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." + ], + "description": "Retrieves the list of Zone resources under the specific region available to the specified project." } } } }, - "kind": "discovery#restDescription", - "documentationLink": "https://cloud.google.com/compute/", - "discoveryVersion": "v1", "ownerName": "Google", - "name": "compute", - "ownerDomain": "google.com" + "name": "compute" } diff --git a/third_party/googleapis/google/cloud/compute/v1/compute_gapic.yaml b/third_party/googleapis/google/cloud/compute/v1/compute_gapic.yaml index 1fd634126..43261bb26 100755 --- a/third_party/googleapis/google/cloud/compute/v1/compute_gapic.yaml +++ b/third_party/googleapis/google/cloud/compute/v1/compute_gapic.yaml @@ -1,4 +1,4 @@ -# Copyright 2023 Google LLC +# Copyright 2024 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -14,7 +14,7 @@ # Generated by the disco-to-proto3-converter. DO NOT EDIT! # Source Discovery file: compute.v1.json -# Source file revision: 20230103 +# Source file revision: 20240130 # API name: compute # API version: v1 @@ -38,6 +38,12 @@ interfaces: poll_delay_multiplier: 1.5 max_poll_delay_millis: 20000 total_poll_timeout_millis: 600000 + - name: Move + long_running: + initial_poll_delay_millis: 500 + poll_delay_multiplier: 1.5 + max_poll_delay_millis: 20000 + total_poll_timeout_millis: 600000 - name: SetLabels long_running: initial_poll_delay_millis: 500 @@ -172,6 +178,12 @@ interfaces: poll_delay_multiplier: 1.5 max_poll_delay_millis: 20000 total_poll_timeout_millis: 600000 + - name: BulkInsert + long_running: + initial_poll_delay_millis: 500 + poll_delay_multiplier: 1.5 + max_poll_delay_millis: 20000 + total_poll_timeout_millis: 600000 - name: CreateSnapshot long_running: initial_poll_delay_millis: 500 @@ -208,6 +220,30 @@ interfaces: poll_delay_multiplier: 1.5 max_poll_delay_millis: 20000 total_poll_timeout_millis: 600000 + - name: StartAsyncReplication + long_running: + initial_poll_delay_millis: 500 + poll_delay_multiplier: 1.5 + max_poll_delay_millis: 20000 + total_poll_timeout_millis: 600000 + - name: StopAsyncReplication + long_running: + initial_poll_delay_millis: 500 + poll_delay_multiplier: 1.5 + max_poll_delay_millis: 20000 + total_poll_timeout_millis: 600000 + - name: StopGroupAsyncReplication + long_running: + initial_poll_delay_millis: 500 + poll_delay_multiplier: 1.5 + max_poll_delay_millis: 20000 + total_poll_timeout_millis: 600000 + - name: Update + long_running: + initial_poll_delay_millis: 500 + poll_delay_multiplier: 1.5 + max_poll_delay_millis: 20000 + total_poll_timeout_millis: 600000 - name: google.cloud.compute.v1.ExternalVpnGateways methods: - name: Delete @@ -362,6 +398,12 @@ interfaces: poll_delay_multiplier: 1.5 max_poll_delay_millis: 20000 total_poll_timeout_millis: 600000 + - name: Move + long_running: + initial_poll_delay_millis: 500 + poll_delay_multiplier: 1.5 + max_poll_delay_millis: 20000 + total_poll_timeout_millis: 600000 - name: SetLabels long_running: initial_poll_delay_millis: 500 @@ -686,6 +728,12 @@ interfaces: poll_delay_multiplier: 1.5 max_poll_delay_millis: 20000 total_poll_timeout_millis: 600000 + - name: PerformMaintenance + long_running: + initial_poll_delay_millis: 500 + poll_delay_multiplier: 1.5 + max_poll_delay_millis: 20000 + total_poll_timeout_millis: 600000 - name: RemoveResourcePolicies long_running: initial_poll_delay_millis: 500 @@ -746,12 +794,24 @@ interfaces: poll_delay_multiplier: 1.5 max_poll_delay_millis: 20000 total_poll_timeout_millis: 600000 + - name: SetName + long_running: + initial_poll_delay_millis: 500 + poll_delay_multiplier: 1.5 + max_poll_delay_millis: 20000 + total_poll_timeout_millis: 600000 - name: SetScheduling long_running: initial_poll_delay_millis: 500 poll_delay_multiplier: 1.5 max_poll_delay_millis: 20000 total_poll_timeout_millis: 600000 + - name: SetSecurityPolicy + long_running: + initial_poll_delay_millis: 500 + poll_delay_multiplier: 1.5 + max_poll_delay_millis: 20000 + total_poll_timeout_millis: 600000 - name: SetServiceAccount long_running: initial_poll_delay_millis: 500 @@ -924,6 +984,12 @@ interfaces: poll_delay_multiplier: 1.5 max_poll_delay_millis: 20000 total_poll_timeout_millis: 600000 + - name: Patch + long_running: + initial_poll_delay_millis: 500 + poll_delay_multiplier: 1.5 + max_poll_delay_millis: 20000 + total_poll_timeout_millis: 600000 - name: google.cloud.compute.v1.NetworkEdgeSecurityServices methods: - name: Delete @@ -1108,6 +1174,12 @@ interfaces: poll_delay_multiplier: 1.5 max_poll_delay_millis: 20000 total_poll_timeout_millis: 600000 + - name: SimulateMaintenanceEvent + long_running: + initial_poll_delay_millis: 500 + poll_delay_multiplier: 1.5 + max_poll_delay_millis: 20000 + total_poll_timeout_millis: 600000 - name: google.cloud.compute.v1.NodeTemplates methods: - name: Delete @@ -1200,6 +1272,12 @@ interfaces: total_poll_timeout_millis: 600000 - name: google.cloud.compute.v1.PublicAdvertisedPrefixes methods: + - name: Announce + long_running: + initial_poll_delay_millis: 500 + poll_delay_multiplier: 1.5 + max_poll_delay_millis: 20000 + total_poll_timeout_millis: 600000 - name: Delete long_running: initial_poll_delay_millis: 500 @@ -1218,8 +1296,20 @@ interfaces: poll_delay_multiplier: 1.5 max_poll_delay_millis: 20000 total_poll_timeout_millis: 600000 + - name: Withdraw + long_running: + initial_poll_delay_millis: 500 + poll_delay_multiplier: 1.5 + max_poll_delay_millis: 20000 + total_poll_timeout_millis: 600000 - name: google.cloud.compute.v1.PublicDelegatedPrefixes methods: + - name: Announce + long_running: + initial_poll_delay_millis: 500 + poll_delay_multiplier: 1.5 + max_poll_delay_millis: 20000 + total_poll_timeout_millis: 600000 - name: Delete long_running: initial_poll_delay_millis: 500 @@ -1238,6 +1328,12 @@ interfaces: poll_delay_multiplier: 1.5 max_poll_delay_millis: 20000 total_poll_timeout_millis: 600000 + - name: Withdraw + long_running: + initial_poll_delay_millis: 500 + poll_delay_multiplier: 1.5 + max_poll_delay_millis: 20000 + total_poll_timeout_millis: 600000 - name: google.cloud.compute.v1.RegionAutoscalers methods: - name: Delete @@ -1284,6 +1380,12 @@ interfaces: poll_delay_multiplier: 1.5 max_poll_delay_millis: 20000 total_poll_timeout_millis: 600000 + - name: SetSecurityPolicy + long_running: + initial_poll_delay_millis: 500 + poll_delay_multiplier: 1.5 + max_poll_delay_millis: 20000 + total_poll_timeout_millis: 600000 - name: Update long_running: initial_poll_delay_millis: 500 @@ -1312,6 +1414,12 @@ interfaces: poll_delay_multiplier: 1.5 max_poll_delay_millis: 20000 total_poll_timeout_millis: 600000 + - name: BulkInsert + long_running: + initial_poll_delay_millis: 500 + poll_delay_multiplier: 1.5 + max_poll_delay_millis: 20000 + total_poll_timeout_millis: 600000 - name: CreateSnapshot long_running: initial_poll_delay_millis: 500 @@ -1348,6 +1456,30 @@ interfaces: poll_delay_multiplier: 1.5 max_poll_delay_millis: 20000 total_poll_timeout_millis: 600000 + - name: StartAsyncReplication + long_running: + initial_poll_delay_millis: 500 + poll_delay_multiplier: 1.5 + max_poll_delay_millis: 20000 + total_poll_timeout_millis: 600000 + - name: StopAsyncReplication + long_running: + initial_poll_delay_millis: 500 + poll_delay_multiplier: 1.5 + max_poll_delay_millis: 20000 + total_poll_timeout_millis: 600000 + - name: StopGroupAsyncReplication + long_running: + initial_poll_delay_millis: 500 + poll_delay_multiplier: 1.5 + max_poll_delay_millis: 20000 + total_poll_timeout_millis: 600000 + - name: Update + long_running: + initial_poll_delay_millis: 500 + poll_delay_multiplier: 1.5 + max_poll_delay_millis: 20000 + total_poll_timeout_millis: 600000 - name: google.cloud.compute.v1.RegionHealthCheckServices methods: - name: Delete @@ -1488,6 +1620,20 @@ interfaces: poll_delay_multiplier: 1.5 max_poll_delay_millis: 20000 total_poll_timeout_millis: 600000 +- name: google.cloud.compute.v1.RegionInstanceTemplates + methods: + - name: Delete + long_running: + initial_poll_delay_millis: 500 + poll_delay_multiplier: 1.5 + max_poll_delay_millis: 20000 + total_poll_timeout_millis: 600000 + - name: Insert + long_running: + initial_poll_delay_millis: 500 + poll_delay_multiplier: 1.5 + max_poll_delay_millis: 20000 + total_poll_timeout_millis: 600000 - name: google.cloud.compute.v1.RegionInstances methods: - name: BulkInsert @@ -1498,12 +1644,24 @@ interfaces: total_poll_timeout_millis: 600000 - name: google.cloud.compute.v1.RegionNetworkEndpointGroups methods: + - name: AttachNetworkEndpoints + long_running: + initial_poll_delay_millis: 500 + poll_delay_multiplier: 1.5 + max_poll_delay_millis: 20000 + total_poll_timeout_millis: 600000 - name: Delete long_running: initial_poll_delay_millis: 500 poll_delay_multiplier: 1.5 max_poll_delay_millis: 20000 total_poll_timeout_millis: 600000 + - name: DetachNetworkEndpoints + long_running: + initial_poll_delay_millis: 500 + poll_delay_multiplier: 1.5 + max_poll_delay_millis: 20000 + total_poll_timeout_millis: 600000 - name: Insert long_running: initial_poll_delay_millis: 500 @@ -1582,6 +1740,12 @@ interfaces: total_poll_timeout_millis: 600000 - name: google.cloud.compute.v1.RegionSecurityPolicies methods: + - name: AddRule + long_running: + initial_poll_delay_millis: 500 + poll_delay_multiplier: 1.5 + max_poll_delay_millis: 20000 + total_poll_timeout_millis: 600000 - name: Delete long_running: initial_poll_delay_millis: 500 @@ -1600,6 +1764,18 @@ interfaces: poll_delay_multiplier: 1.5 max_poll_delay_millis: 20000 total_poll_timeout_millis: 600000 + - name: PatchRule + long_running: + initial_poll_delay_millis: 500 + poll_delay_multiplier: 1.5 + max_poll_delay_millis: 20000 + total_poll_timeout_millis: 600000 + - name: RemoveRule + long_running: + initial_poll_delay_millis: 500 + poll_delay_multiplier: 1.5 + max_poll_delay_millis: 20000 + total_poll_timeout_millis: 600000 - name: google.cloud.compute.v1.RegionSslCertificates methods: - name: Delete @@ -1766,6 +1942,12 @@ interfaces: poll_delay_multiplier: 1.5 max_poll_delay_millis: 20000 total_poll_timeout_millis: 600000 + - name: Patch + long_running: + initial_poll_delay_millis: 500 + poll_delay_multiplier: 1.5 + max_poll_delay_millis: 20000 + total_poll_timeout_millis: 600000 - name: google.cloud.compute.v1.Routers methods: - name: Delete @@ -1870,6 +2052,14 @@ interfaces: poll_delay_multiplier: 1.5 max_poll_delay_millis: 20000 total_poll_timeout_millis: 600000 +- name: google.cloud.compute.v1.SnapshotSettingsService + methods: + - name: Patch + long_running: + initial_poll_delay_millis: 500 + poll_delay_multiplier: 1.5 + max_poll_delay_millis: 20000 + total_poll_timeout_millis: 600000 - name: google.cloud.compute.v1.Snapshots methods: - name: Delete @@ -2066,6 +2256,12 @@ interfaces: poll_delay_multiplier: 1.5 max_poll_delay_millis: 20000 total_poll_timeout_millis: 600000 + - name: SetSecurityPolicy + long_running: + initial_poll_delay_millis: 500 + poll_delay_multiplier: 1.5 + max_poll_delay_millis: 20000 + total_poll_timeout_millis: 600000 - name: google.cloud.compute.v1.TargetPools methods: - name: AddHealthCheck @@ -2110,6 +2306,12 @@ interfaces: poll_delay_multiplier: 1.5 max_poll_delay_millis: 20000 total_poll_timeout_millis: 600000 + - name: SetSecurityPolicy + long_running: + initial_poll_delay_millis: 500 + poll_delay_multiplier: 1.5 + max_poll_delay_millis: 20000 + total_poll_timeout_millis: 600000 - name: google.cloud.compute.v1.TargetSslProxies methods: - name: Delete diff --git a/third_party/googleapis/google/cloud/compute/v1/compute_grpc_service_config.json b/third_party/googleapis/google/cloud/compute/v1/compute_grpc_service_config.json index 90b2d440f..fd3c57c44 100755 --- a/third_party/googleapis/google/cloud/compute/v1/compute_grpc_service_config.json +++ b/third_party/googleapis/google/cloud/compute/v1/compute_grpc_service_config.json @@ -30,6 +30,9 @@ }, { "service" : "google.cloud.compute.v1.BackendBuckets", "method" : "Get" + }, { + "service" : "google.cloud.compute.v1.BackendBuckets", + "method" : "GetIamPolicy" }, { "service" : "google.cloud.compute.v1.BackendBuckets", "method" : "List" @@ -45,6 +48,9 @@ }, { "service" : "google.cloud.compute.v1.BackendServices", "method" : "List" + }, { + "service" : "google.cloud.compute.v1.BackendServices", + "method" : "ListUsable" }, { "service" : "google.cloud.compute.v1.DiskTypes", "method" : "AggregatedList" @@ -189,6 +195,9 @@ }, { "service" : "google.cloud.compute.v1.InstanceGroups", "method" : "List" + }, { + "service" : "google.cloud.compute.v1.InstanceTemplates", + "method" : "AggregatedList" }, { "service" : "google.cloud.compute.v1.InstanceTemplates", "method" : "Get" @@ -243,12 +252,21 @@ }, { "service" : "google.cloud.compute.v1.InterconnectLocations", "method" : "List" + }, { + "service" : "google.cloud.compute.v1.InterconnectRemoteLocations", + "method" : "Get" + }, { + "service" : "google.cloud.compute.v1.InterconnectRemoteLocations", + "method" : "List" }, { "service" : "google.cloud.compute.v1.Interconnects", "method" : "Get" }, { "service" : "google.cloud.compute.v1.Interconnects", "method" : "GetDiagnostics" + }, { + "service" : "google.cloud.compute.v1.Interconnects", + "method" : "GetMacsecConfig" }, { "service" : "google.cloud.compute.v1.Interconnects", "method" : "List" @@ -417,6 +435,9 @@ }, { "service" : "google.cloud.compute.v1.RegionBackendServices", "method" : "List" + }, { + "service" : "google.cloud.compute.v1.RegionBackendServices", + "method" : "ListUsable" }, { "service" : "google.cloud.compute.v1.RegionCommitments", "method" : "AggregatedList" @@ -468,6 +489,12 @@ }, { "service" : "google.cloud.compute.v1.RegionInstanceGroups", "method" : "List" + }, { + "service" : "google.cloud.compute.v1.RegionInstanceTemplates", + "method" : "Get" + }, { + "service" : "google.cloud.compute.v1.RegionInstanceTemplates", + "method" : "List" }, { "service" : "google.cloud.compute.v1.RegionNetworkEndpointGroups", "method" : "Get" @@ -507,6 +534,9 @@ }, { "service" : "google.cloud.compute.v1.RegionSecurityPolicies", "method" : "Get" + }, { + "service" : "google.cloud.compute.v1.RegionSecurityPolicies", + "method" : "GetRule" }, { "service" : "google.cloud.compute.v1.RegionSecurityPolicies", "method" : "List" @@ -549,6 +579,9 @@ }, { "service" : "google.cloud.compute.v1.RegionUrlMaps", "method" : "List" + }, { + "service" : "google.cloud.compute.v1.RegionZones", + "method" : "List" }, { "service" : "google.cloud.compute.v1.Regions", "method" : "Get" @@ -585,6 +618,9 @@ }, { "service" : "google.cloud.compute.v1.Routers", "method" : "Get" + }, { + "service" : "google.cloud.compute.v1.Routers", + "method" : "GetNatIpInfo" }, { "service" : "google.cloud.compute.v1.Routers", "method" : "GetNatMappingInfo" @@ -627,6 +663,9 @@ }, { "service" : "google.cloud.compute.v1.ServiceAttachments", "method" : "List" + }, { + "service" : "google.cloud.compute.v1.SnapshotSettingsService", + "method" : "Get" }, { "service" : "google.cloud.compute.v1.Snapshots", "method" : "Get" @@ -795,6 +834,9 @@ }, { "service" : "google.cloud.compute.v1.Addresses", "method" : "Insert" + }, { + "service" : "google.cloud.compute.v1.Addresses", + "method" : "Move" }, { "service" : "google.cloud.compute.v1.Addresses", "method" : "SetLabels" @@ -828,6 +870,12 @@ }, { "service" : "google.cloud.compute.v1.BackendBuckets", "method" : "SetEdgeSecurityPolicy" + }, { + "service" : "google.cloud.compute.v1.BackendBuckets", + "method" : "SetIamPolicy" + }, { + "service" : "google.cloud.compute.v1.BackendBuckets", + "method" : "TestIamPermissions" }, { "service" : "google.cloud.compute.v1.BackendBuckets", "method" : "Update" @@ -858,12 +906,18 @@ }, { "service" : "google.cloud.compute.v1.BackendServices", "method" : "SetSecurityPolicy" + }, { + "service" : "google.cloud.compute.v1.BackendServices", + "method" : "TestIamPermissions" }, { "service" : "google.cloud.compute.v1.BackendServices", "method" : "Update" }, { "service" : "google.cloud.compute.v1.Disks", "method" : "AddResourcePolicies" + }, { + "service" : "google.cloud.compute.v1.Disks", + "method" : "BulkInsert" }, { "service" : "google.cloud.compute.v1.Disks", "method" : "CreateSnapshot" @@ -885,9 +939,21 @@ }, { "service" : "google.cloud.compute.v1.Disks", "method" : "SetLabels" + }, { + "service" : "google.cloud.compute.v1.Disks", + "method" : "StartAsyncReplication" + }, { + "service" : "google.cloud.compute.v1.Disks", + "method" : "StopAsyncReplication" + }, { + "service" : "google.cloud.compute.v1.Disks", + "method" : "StopGroupAsyncReplication" }, { "service" : "google.cloud.compute.v1.Disks", "method" : "TestIamPermissions" + }, { + "service" : "google.cloud.compute.v1.Disks", + "method" : "Update" }, { "service" : "google.cloud.compute.v1.ExternalVpnGateways", "method" : "Delete" @@ -969,6 +1035,9 @@ }, { "service" : "google.cloud.compute.v1.GlobalAddresses", "method" : "Insert" + }, { + "service" : "google.cloud.compute.v1.GlobalAddresses", + "method" : "Move" }, { "service" : "google.cloud.compute.v1.GlobalAddresses", "method" : "SetLabels" @@ -1155,6 +1224,9 @@ }, { "service" : "google.cloud.compute.v1.Instances", "method" : "Insert" + }, { + "service" : "google.cloud.compute.v1.Instances", + "method" : "PerformMaintenance" }, { "service" : "google.cloud.compute.v1.Instances", "method" : "RemoveResourcePolicies" @@ -1191,9 +1263,15 @@ }, { "service" : "google.cloud.compute.v1.Instances", "method" : "SetMinCpuPlatform" + }, { + "service" : "google.cloud.compute.v1.Instances", + "method" : "SetName" }, { "service" : "google.cloud.compute.v1.Instances", "method" : "SetScheduling" + }, { + "service" : "google.cloud.compute.v1.Instances", + "method" : "SetSecurityPolicy" }, { "service" : "google.cloud.compute.v1.Instances", "method" : "SetServiceAccount" @@ -1293,6 +1371,9 @@ }, { "service" : "google.cloud.compute.v1.NetworkAttachments", "method" : "Insert" + }, { + "service" : "google.cloud.compute.v1.NetworkAttachments", + "method" : "Patch" }, { "service" : "google.cloud.compute.v1.NetworkAttachments", "method" : "SetIamPolicy" @@ -1404,6 +1485,9 @@ }, { "service" : "google.cloud.compute.v1.NodeGroups", "method" : "SetNodeTemplate" + }, { + "service" : "google.cloud.compute.v1.NodeGroups", + "method" : "SimulateMaintenanceEvent" }, { "service" : "google.cloud.compute.v1.NodeGroups", "method" : "TestIamPermissions" @@ -1461,6 +1545,9 @@ }, { "service" : "google.cloud.compute.v1.Projects", "method" : "SetUsageExportBucket" + }, { + "service" : "google.cloud.compute.v1.PublicAdvertisedPrefixes", + "method" : "Announce" }, { "service" : "google.cloud.compute.v1.PublicAdvertisedPrefixes", "method" : "Delete" @@ -1470,6 +1557,12 @@ }, { "service" : "google.cloud.compute.v1.PublicAdvertisedPrefixes", "method" : "Patch" + }, { + "service" : "google.cloud.compute.v1.PublicAdvertisedPrefixes", + "method" : "Withdraw" + }, { + "service" : "google.cloud.compute.v1.PublicDelegatedPrefixes", + "method" : "Announce" }, { "service" : "google.cloud.compute.v1.PublicDelegatedPrefixes", "method" : "Delete" @@ -1479,6 +1572,9 @@ }, { "service" : "google.cloud.compute.v1.PublicDelegatedPrefixes", "method" : "Patch" + }, { + "service" : "google.cloud.compute.v1.PublicDelegatedPrefixes", + "method" : "Withdraw" }, { "service" : "google.cloud.compute.v1.RegionAutoscalers", "method" : "Delete" @@ -1506,6 +1602,12 @@ }, { "service" : "google.cloud.compute.v1.RegionBackendServices", "method" : "SetIamPolicy" + }, { + "service" : "google.cloud.compute.v1.RegionBackendServices", + "method" : "SetSecurityPolicy" + }, { + "service" : "google.cloud.compute.v1.RegionBackendServices", + "method" : "TestIamPermissions" }, { "service" : "google.cloud.compute.v1.RegionBackendServices", "method" : "Update" @@ -1518,6 +1620,9 @@ }, { "service" : "google.cloud.compute.v1.RegionDisks", "method" : "AddResourcePolicies" + }, { + "service" : "google.cloud.compute.v1.RegionDisks", + "method" : "BulkInsert" }, { "service" : "google.cloud.compute.v1.RegionDisks", "method" : "CreateSnapshot" @@ -1539,9 +1644,21 @@ }, { "service" : "google.cloud.compute.v1.RegionDisks", "method" : "SetLabels" + }, { + "service" : "google.cloud.compute.v1.RegionDisks", + "method" : "StartAsyncReplication" + }, { + "service" : "google.cloud.compute.v1.RegionDisks", + "method" : "StopAsyncReplication" + }, { + "service" : "google.cloud.compute.v1.RegionDisks", + "method" : "StopGroupAsyncReplication" }, { "service" : "google.cloud.compute.v1.RegionDisks", "method" : "TestIamPermissions" + }, { + "service" : "google.cloud.compute.v1.RegionDisks", + "method" : "Update" }, { "service" : "google.cloud.compute.v1.RegionHealthCheckServices", "method" : "Delete" @@ -1617,15 +1734,30 @@ }, { "service" : "google.cloud.compute.v1.RegionInstanceGroups", "method" : "SetNamedPorts" + }, { + "service" : "google.cloud.compute.v1.RegionInstanceTemplates", + "method" : "Delete" + }, { + "service" : "google.cloud.compute.v1.RegionInstanceTemplates", + "method" : "Insert" }, { "service" : "google.cloud.compute.v1.RegionInstances", "method" : "BulkInsert" + }, { + "service" : "google.cloud.compute.v1.RegionNetworkEndpointGroups", + "method" : "AttachNetworkEndpoints" }, { "service" : "google.cloud.compute.v1.RegionNetworkEndpointGroups", "method" : "Delete" + }, { + "service" : "google.cloud.compute.v1.RegionNetworkEndpointGroups", + "method" : "DetachNetworkEndpoints" }, { "service" : "google.cloud.compute.v1.RegionNetworkEndpointGroups", "method" : "Insert" + }, { + "service" : "google.cloud.compute.v1.RegionNetworkEndpointGroups", + "method" : "ListNetworkEndpoints" }, { "service" : "google.cloud.compute.v1.RegionNetworkFirewallPolicies", "method" : "AddAssociation" @@ -1671,6 +1803,9 @@ }, { "service" : "google.cloud.compute.v1.RegionOperations", "method" : "Wait" + }, { + "service" : "google.cloud.compute.v1.RegionSecurityPolicies", + "method" : "AddRule" }, { "service" : "google.cloud.compute.v1.RegionSecurityPolicies", "method" : "Delete" @@ -1680,6 +1815,12 @@ }, { "service" : "google.cloud.compute.v1.RegionSecurityPolicies", "method" : "Patch" + }, { + "service" : "google.cloud.compute.v1.RegionSecurityPolicies", + "method" : "PatchRule" + }, { + "service" : "google.cloud.compute.v1.RegionSecurityPolicies", + "method" : "RemoveRule" }, { "service" : "google.cloud.compute.v1.RegionSslCertificates", "method" : "Delete" @@ -1764,6 +1905,9 @@ }, { "service" : "google.cloud.compute.v1.ResourcePolicies", "method" : "Insert" + }, { + "service" : "google.cloud.compute.v1.ResourcePolicies", + "method" : "Patch" }, { "service" : "google.cloud.compute.v1.ResourcePolicies", "method" : "SetIamPolicy" @@ -1827,6 +1971,9 @@ }, { "service" : "google.cloud.compute.v1.ServiceAttachments", "method" : "TestIamPermissions" + }, { + "service" : "google.cloud.compute.v1.SnapshotSettingsService", + "method" : "Patch" }, { "service" : "google.cloud.compute.v1.Snapshots", "method" : "Delete" @@ -1929,6 +2076,9 @@ }, { "service" : "google.cloud.compute.v1.TargetInstances", "method" : "Insert" + }, { + "service" : "google.cloud.compute.v1.TargetInstances", + "method" : "SetSecurityPolicy" }, { "service" : "google.cloud.compute.v1.TargetPools", "method" : "AddHealthCheck" @@ -1953,6 +2103,9 @@ }, { "service" : "google.cloud.compute.v1.TargetPools", "method" : "SetBackup" + }, { + "service" : "google.cloud.compute.v1.TargetPools", + "method" : "SetSecurityPolicy" }, { "service" : "google.cloud.compute.v1.TargetSslProxies", "method" : "Delete" diff --git a/third_party/googleapis/google/cloud/compute/v1small/BUILD.bazel b/third_party/googleapis/google/cloud/compute/v1small/BUILD.bazel index 9f6490dad..1247d2274 100644 --- a/third_party/googleapis/google/cloud/compute/v1small/BUILD.bazel +++ b/third_party/googleapis/google/cloud/compute/v1small/BUILD.bazel @@ -103,6 +103,7 @@ java_gapic_test( # Open Source Packages java_gapic_assembly_gradle_pkg( name = "google-cloud-compute-small-v1-java", + include_samples = True, transport = "rest", deps = [ ":compute_small_java_gapic", @@ -168,6 +169,7 @@ nodejs_gapic_assembly_pkg( deps = [ ":compute_small_nodejs_gapic", ":compute_small_proto", + "@com_google_googleapis//google/cloud:extended_operations_proto", ], ) diff --git a/third_party/googleapis/google/cloud/connectors/v1/BUILD.bazel b/third_party/googleapis/google/cloud/connectors/v1/BUILD.bazel index 32a97891a..8ddd73c58 100644 --- a/third_party/googleapis/google/cloud/connectors/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/connectors/v1/BUILD.bazel @@ -30,6 +30,8 @@ proto_library( "destination_config.proto", "provider.proto", "runtime.proto", + "settings.proto", + "ssl_config.proto", ], deps = [ "//google/api:annotations_proto", @@ -128,7 +130,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -163,19 +164,13 @@ go_gapic_library( ], ) -go_test( - name = "connectors_go_gapic_test", - srcs = [":connectors_go_gapic_srcjar_test"], - embed = [":connectors_go_gapic"], - importpath = "cloud.google.com/go/connectors/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-connectors-v1-go", deps = [ ":connectors_go_gapic", ":connectors_go_gapic_srcjar-metadata.srcjar", + ":connectors_go_gapic_srcjar-snippets.srcjar", ":connectors_go_gapic_srcjar-test.srcjar", ":connectors_go_proto", ], @@ -228,7 +223,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -237,12 +231,6 @@ php_proto_library( deps = [":connectors_proto"], ) -php_grpc_library( - name = "connectors_php_grpc", - srcs = [":connectors_proto"], - deps = [":connectors_php_proto"], -) - php_gapic_library( name = "connectors_php_gapic", srcs = [":connectors_proto_with_info"], @@ -250,10 +238,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "connectors_v1.yaml", transport = "grpc+rest", - deps = [ - ":connectors_php_grpc", - ":connectors_php_proto", - ], + deps = [":connectors_php_proto"], ) # Open Source Packages @@ -261,7 +246,6 @@ php_gapic_assembly_pkg( name = "google-cloud-connectors-v1-php", deps = [ ":connectors_php_gapic", - ":connectors_php_grpc", ":connectors_php_proto", ], ) @@ -321,12 +305,11 @@ ruby_grpc_library( ruby_cloud_gapic_library( name = "connectors_ruby_gapic", srcs = [":connectors_proto_with_info"], - extra_protoc_parameters = [ - "ruby-cloud-gem-name=google-cloud-connectors-v1", - ], + extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-connectors-v1"], grpc_service_config = "connectors_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "connectors_v1.yaml", + transport = "grpc+rest", deps = [ ":connectors_ruby_grpc", ":connectors_ruby_proto", diff --git a/third_party/googleapis/google/cloud/connectors/v1/authconfig.proto b/third_party/googleapis/google/cloud/connectors/v1/authconfig.proto index ab845a847..d7ef19b4e 100644 --- a/third_party/googleapis/google/cloud/connectors/v1/authconfig.proto +++ b/third_party/googleapis/google/cloud/connectors/v1/authconfig.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -75,10 +75,6 @@ message AuthConfig { // The user account used to authenticate. string username = 1; - // This is an optional field used in case client has enabled multi-factor - // authentication - Secret password = 2; - // SSH Client Cert. It should contain both public and private key. Secret ssh_client_cert = 3; @@ -118,6 +114,12 @@ message AuthConfigTemplate { // Config variables to describe an `AuthConfig` for a `Connection`. repeated ConfigVariableTemplate config_variable_templates = 2; + + // Display name for authentication template. + string display_name = 3; + + // Connector specific description for an authentication template. + string description = 4; } // AuthType defines different authentication types. @@ -137,4 +139,7 @@ enum AuthType { // SSH Public Key Authentication SSH_PUBLIC_KEY = 4; + + // Oauth 2.0 Authorization Code Flow + OAUTH2_AUTH_CODE_FLOW = 5; } diff --git a/third_party/googleapis/google/cloud/connectors/v1/common.proto b/third_party/googleapis/google/cloud/connectors/v1/common.proto index df91cf913..64efe8693 100644 --- a/third_party/googleapis/google/cloud/connectors/v1/common.proto +++ b/third_party/googleapis/google/cloud/connectors/v1/common.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -27,10 +27,12 @@ option java_package = "com.google.cloud.connectors.v1"; // Represents the metadata of the long-running operation. message OperationMetadata { // Output only. The time the operation was created. - google.protobuf.Timestamp create_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time the operation finished running. - google.protobuf.Timestamp end_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp end_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Server-defined resource path for the target of the operation. string target = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -43,8 +45,9 @@ message OperationMetadata { // Output only. Identifies whether the user has requested cancellation // of the operation. Operations that have successfully been cancelled - // have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, - // corresponding to `Code.CANCELLED`. + // have [Operation.error][] value with a + // [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to + // `Code.CANCELLED`. bool requested_cancellation = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. API version used to start the operation. @@ -123,6 +126,9 @@ message ConfigVariableTemplate { // State of the config variable. State state = 10; + + // Indicates if current template is part of advanced settings + bool is_advanced = 11; } // Secret provides a reference to entries in Secret Manager. @@ -242,7 +248,7 @@ message AuthorizationCodeLink { } // LaunchStage is a enum to indicate launch stage: -// PREVIEW, GA, DEPRECATED. +// PREVIEW, GA, DEPRECATED, PRIVATE_PREVIEW. enum LaunchStage { // LAUNCH_STAGE_UNSPECIFIED. LAUNCH_STAGE_UNSPECIFIED = 0; @@ -255,4 +261,7 @@ enum LaunchStage { // DEPRECATED. DEPRECATED = 3; + + // PRIVATE_PREVIEW. + PRIVATE_PREVIEW = 5; } diff --git a/third_party/googleapis/google/cloud/connectors/v1/connection.proto b/third_party/googleapis/google/cloud/connectors/v1/connection.proto index 3ea13461d..16fd258b3 100644 --- a/third_party/googleapis/google/cloud/connectors/v1/connection.proto +++ b/third_party/googleapis/google/cloud/connectors/v1/connection.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,6 +21,7 @@ import "google/api/resource.proto"; import "google/cloud/connectors/v1/authconfig.proto"; import "google/cloud/connectors/v1/common.proto"; import "google/cloud/connectors/v1/destination_config.proto"; +import "google/cloud/connectors/v1/ssl_config.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; @@ -42,10 +43,12 @@ message Connection { string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Created time. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Updated time. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Optional. Resource labels to represent user-provided metadata. // Refer to cloud documentation on labels for more details. @@ -69,19 +72,23 @@ message Connection { // Output only. Current status of the connection. ConnectionStatus status = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Optional. Configuration for configuring the connection with an external system. - repeated ConfigVariable config_variables = 8 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Configuration for configuring the connection with an external + // system. + repeated ConfigVariable config_variables = 8 + [(google.api.field_behavior) = OPTIONAL]; - // Optional. Configuration for establishing the connection's authentication with an - // external system. + // Optional. Configuration for establishing the connection's authentication + // with an external system. AuthConfig auth_config = 9 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Configuration that indicates whether or not the Connection can be edited. + // Optional. Configuration that indicates whether or not the Connection can be + // edited. LockConfig lock_config = 10 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Configuration of the Connector's destination. Only accepted for Connectors - // that accepts user defined destination(s). - repeated DestinationConfig destination_configs = 18 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Configuration of the Connector's destination. Only accepted for + // Connectors that accepts user defined destination(s). + repeated DestinationConfig destination_configs = 18 + [(google.api.field_behavior) = OPTIONAL]; // Output only. GCR location where the runtime image is stored. // formatted like: gcr.io/{bucketName}/{imageName} @@ -103,11 +110,14 @@ message Connection { // Optional. Suspended indicates if a user has suspended a connection or not. bool suspended = 17 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Configuration for the connection. + // Optional. Node configuration for the connection. NodeConfig node_config = 19 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Ssl config of a connection + SslConfig ssl_config = 21 [(google.api.field_behavior) = OPTIONAL]; } -// Configuration for the connection. +// Node configuration for the connection. message NodeConfig { // Minimum number of nodes in the runtime nodes. int32 min_node_count = 1; @@ -116,13 +126,49 @@ message NodeConfig { int32 max_node_count = 2; } -// Metadata of connection schema. +// ConnectionSchemaMetadata is the singleton resource of each connection. +// It includes the entity and action names of runtime resources exposed +// by a connection backend. message ConnectionSchemaMetadata { + option (google.api.resource) = { + type: "connectors.googleapis.com/ConnectionSchemaMetadata" + pattern: "projects/{project}/locations/{location}/connections/{connection}/connectionSchemaMetadata" + }; + + // State of connection runtime schema. + enum State { + // Default state. + STATE_UNSPECIFIED = 0; + + // Schema refresh is in progress. + REFRESHING = 1; + + // Schema has been updated. + UPDATED = 2; + } + // Output only. List of entity names. repeated string entities = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. List of actions. repeated string actions = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Resource name. + // Format: + // projects/{project}/locations/{location}/connections/{connection}/connectionSchemaMetadata + string name = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Timestamp when the connection runtime schema was updated. + google.protobuf.Timestamp update_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Timestamp when the connection runtime schema refresh was + // triggered. + google.protobuf.Timestamp refresh_time = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The current state of runtime schema. + State state = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Schema of a runtime entity. @@ -202,10 +248,12 @@ message RuntimeActionSchema { string action = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. List of input parameter metadata for the action. - repeated InputParameter input_parameters = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated InputParameter input_parameters = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. List of result field metadata. - repeated ResultMetadata result_metadata = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated ResultMetadata result_metadata = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Determines whether or no a connection is locked. If locked, a reason must be @@ -285,8 +333,8 @@ message CreateConnectionRequest { } ]; - // Required. Identifier to assign to the Connection. Must be unique within scope of - // the parent resource. + // Required. Identifier to assign to the Connection. Must be unique within + // scope of the parent resource. string connection_id = 2 [(google.api.field_behavior) = REQUIRED]; // Required. Connection resource. @@ -298,12 +346,24 @@ message UpdateConnectionRequest { // Required. Connection resource. Connection connection = 1 [(google.api.field_behavior) = REQUIRED]; - // Required. Field mask is used to specify the fields to be overwritten in the - // Connection resource by the update. - // The fields specified in the update_mask are relative to the resource, not - // the full request. A field will be overwritten if it is in the mask. If the - // user does not provide a mask then all fields will be overwritten. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; + // Required. You can modify only the fields listed below. + // + // To lock/unlock a connection: + // * `lock_config` + // + // To suspend/resume a connection: + // * `suspended` + // + // To update the connection details: + // * `description` + // * `labels` + // * `connector_version` + // * `config_variables` + // * `auth_config` + // * `destination_configs` + // * `node_config` + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; } // Request message for ConnectorsService.DeleteConnection. @@ -326,7 +386,20 @@ message GetConnectionSchemaMetadataRequest { string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { - type: "connectors.googleapis.com/Connection" + type: "connectors.googleapis.com/ConnectionSchemaMetadata" + } + ]; +} + +// Request message for ConnectorsService.RefreshConnectionSchemaMetadata. +message RefreshConnectionSchemaMetadataRequest { + // Required. Resource name. + // Format: + // projects/{project}/locations/{location}/connections/{connection}/connectionSchemaMetadata + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "connectors.googleapis.com/ConnectionSchemaMetadata" } ]; } @@ -433,6 +506,10 @@ message ConnectionStatus { // Connection is not running due to an error. ERROR = 6; + + // Connection is not running due to an auth error for the Oauth2 Auth Code + // based connector. + AUTHORIZATION_REQUIRED = 7; } // State. diff --git a/third_party/googleapis/google/cloud/connectors/v1/connector.proto b/third_party/googleapis/google/cloud/connectors/v1/connector.proto index 63c8a6e56..0aeb357c6 100644 --- a/third_party/googleapis/google/cloud/connectors/v1/connector.proto +++ b/third_party/googleapis/google/cloud/connectors/v1/connector.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -40,10 +40,12 @@ message Connector { string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Created time. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Updated time. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Resource labels to represent user-provided metadata. // Refer to cloud documentation on labels for more details. diff --git a/third_party/googleapis/google/cloud/connectors/v1/connector_version.proto b/third_party/googleapis/google/cloud/connectors/v1/connector_version.proto index 8ed7bf2a6..00c8c6036 100644 --- a/third_party/googleapis/google/cloud/connectors/v1/connector_version.proto +++ b/third_party/googleapis/google/cloud/connectors/v1/connector_version.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,6 +20,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/connectors/v1/authconfig.proto"; import "google/cloud/connectors/v1/common.proto"; +import "google/cloud/connectors/v1/ssl_config.proto"; import "google/protobuf/timestamp.proto"; option go_package = "cloud.google.com/go/connectors/apiv1/connectorspb;connectorspb"; @@ -41,10 +42,12 @@ message ConnectorVersion { string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Created time. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Updated time. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Resource labels to represent user-provided metadata. // Refer to cloud documentation on labels for more details. @@ -58,26 +61,36 @@ message ConnectorVersion { string release_version = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. List of auth configs supported by the Connector Version. - repeated AuthConfigTemplate auth_config_templates = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated AuthConfigTemplate auth_config_templates = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. List of config variables needed to create a connection. - repeated ConfigVariableTemplate config_variable_templates = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated ConfigVariableTemplate config_variable_templates = 9 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Information about the runtime features supported by the Connector. - SupportedRuntimeFeatures supported_runtime_features = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Information about the runtime features supported by the + // Connector. + SupportedRuntimeFeatures supported_runtime_features = 10 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Display name. string display_name = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Configuration for Egress Control. - EgressControlConfig egress_control_config = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; + EgressControlConfig egress_control_config = 12 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Role grant configurations for this connector version. - repeated RoleGrant role_grants = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated RoleGrant role_grants = 14 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Role grant configuration for this config variable. It will be DEPRECATED - // soon. + // Output only. Role grant configuration for this config variable. It will be + // DEPRECATED soon. RoleGrant role_grant = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Ssl configuration supported by the Connector. + SslConfigTemplate ssl_config_template = 17 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Request message for Connectors.GetConnectorVersion. diff --git a/third_party/googleapis/google/cloud/connectors/v1/connectors_service.proto b/third_party/googleapis/google/cloud/connectors/v1/connectors_service.proto index e56427a61..2f1d3e033 100644 --- a/third_party/googleapis/google/cloud/connectors/v1/connectors_service.proto +++ b/third_party/googleapis/google/cloud/connectors/v1/connectors_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,12 +18,15 @@ package google.cloud.connectors.v1; import "google/api/annotations.proto"; import "google/api/client.proto"; +import "google/cloud/connectors/v1/common.proto"; import "google/cloud/connectors/v1/connection.proto"; import "google/cloud/connectors/v1/connector.proto"; import "google/cloud/connectors/v1/connector_version.proto"; import "google/cloud/connectors/v1/provider.proto"; import "google/cloud/connectors/v1/runtime.proto"; +import "google/cloud/connectors/v1/settings.proto"; import "google/longrunning/operations.proto"; +import "google/protobuf/empty.proto"; option go_package = "cloud.google.com/go/connectors/apiv1/connectorspb;connectorspb"; option java_multiple_files = true; @@ -33,10 +36,12 @@ option java_package = "com.google.cloud.connectors.v1"; // Connectors is the interface for managing Connectors. service Connectors { option (google.api.default_host) = "connectors.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Lists Connections in a given project and location. - rpc ListConnections(ListConnectionsRequest) returns (ListConnectionsResponse) { + rpc ListConnections(ListConnectionsRequest) + returns (ListConnectionsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/connections" }; @@ -52,7 +57,8 @@ service Connectors { } // Creates a new Connection in a given project and location. - rpc CreateConnection(CreateConnectionRequest) returns (google.longrunning.Operation) { + rpc CreateConnection(CreateConnectionRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/connections" body: "connection" @@ -65,7 +71,8 @@ service Connectors { } // Updates the parameters of a single Connection. - rpc UpdateConnection(UpdateConnectionRequest) returns (google.longrunning.Operation) { + rpc UpdateConnection(UpdateConnectionRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v1/{connection.name=projects/*/locations/*/connections/*}" body: "connection" @@ -78,7 +85,8 @@ service Connectors { } // Deletes a single Connection. - rpc DeleteConnection(DeleteConnectionRequest) returns (google.longrunning.Operation) { + rpc DeleteConnection(DeleteConnectionRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/connections/*}" }; @@ -122,7 +130,8 @@ service Connectors { } // Lists Connector Versions in a given project and location. - rpc ListConnectorVersions(ListConnectorVersionsRequest) returns (ListConnectorVersionsResponse) { + rpc ListConnectorVersions(ListConnectorVersionsRequest) + returns (ListConnectorVersionsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*/providers/*/connectors/*}/versions" }; @@ -130,7 +139,8 @@ service Connectors { } // Gets details of a single connector version. - rpc GetConnectorVersion(GetConnectorVersionRequest) returns (ConnectorVersion) { + rpc GetConnectorVersion(GetConnectorVersionRequest) + returns (ConnectorVersion) { option (google.api.http) = { get: "/v1/{name=projects/*/locations/*/providers/*/connectors/*/versions/*}" }; @@ -139,15 +149,31 @@ service Connectors { // Gets schema metadata of a connection. // SchemaMetadata is a singleton resource for each connection. - rpc GetConnectionSchemaMetadata(GetConnectionSchemaMetadataRequest) returns (ConnectionSchemaMetadata) { + rpc GetConnectionSchemaMetadata(GetConnectionSchemaMetadataRequest) + returns (ConnectionSchemaMetadata) { option (google.api.http) = { get: "/v1/{name=projects/*/locations/*/connections/*/connectionSchemaMetadata}" }; option (google.api.method_signature) = "name"; } + // Refresh runtime schema of a connection. + rpc RefreshConnectionSchemaMetadata(RefreshConnectionSchemaMetadataRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/*/connections/*/connectionSchemaMetadata}:refresh" + body: "*" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "ConnectionSchemaMetadata" + metadata_type: "OperationMetadata" + }; + } + // List schema of a runtime entities filtered by entity name. - rpc ListRuntimeEntitySchemas(ListRuntimeEntitySchemasRequest) returns (ListRuntimeEntitySchemasResponse) { + rpc ListRuntimeEntitySchemas(ListRuntimeEntitySchemasRequest) + returns (ListRuntimeEntitySchemasResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*/connections/*}/runtimeEntitySchemas" }; @@ -155,7 +181,8 @@ service Connectors { } // List schema of a runtime actions filtered by action name. - rpc ListRuntimeActionSchemas(ListRuntimeActionSchemasRequest) returns (ListRuntimeActionSchemasResponse) { + rpc ListRuntimeActionSchemas(ListRuntimeActionSchemasRequest) + returns (ListRuntimeActionSchemasResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*/connections/*}/runtimeActionSchemas" }; @@ -170,4 +197,13 @@ service Connectors { }; option (google.api.method_signature) = "name"; } + + // GetGlobalSettings gets settings of a project. + // GlobalSettings is a singleton resource. + rpc GetGlobalSettings(GetGlobalSettingsRequest) returns (Settings) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/global/settings}" + }; + option (google.api.method_signature) = "name"; + } } diff --git a/third_party/googleapis/google/cloud/connectors/v1/connectors_v1.yaml b/third_party/googleapis/google/cloud/connectors/v1/connectors_v1.yaml index 83b2c9474..7e9b6639d 100644 --- a/third_party/googleapis/google/cloud/connectors/v1/connectors_v1.yaml +++ b/third_party/googleapis/google/cloud/connectors/v1/connectors_v1.yaml @@ -46,6 +46,11 @@ documentation: permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. + - selector: google.longrunning.Operations.ListOperations + description: |- + Lists operations that match the specified filter in the request. If + the server doesn't support this method, it returns `UNIMPLEMENTED`. + backend: rules: - selector: 'google.cloud.connectors.v1.Connectors.*' diff --git a/third_party/googleapis/google/cloud/connectors/v1/destination_config.proto b/third_party/googleapis/google/cloud/connectors/v1/destination_config.proto index 56fd61da0..b8a266588 100644 --- a/third_party/googleapis/google/cloud/connectors/v1/destination_config.proto +++ b/third_party/googleapis/google/cloud/connectors/v1/destination_config.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/connectors/v1/provider.proto b/third_party/googleapis/google/cloud/connectors/v1/provider.proto index 2e5fb7e30..6f908a456 100644 --- a/third_party/googleapis/google/cloud/connectors/v1/provider.proto +++ b/third_party/googleapis/google/cloud/connectors/v1/provider.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -39,10 +39,12 @@ message Provider { string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Created time. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Updated time. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Resource labels to represent user-provided metadata. // Refer to cloud documentation on labels for more details. diff --git a/third_party/googleapis/google/cloud/connectors/v1/runtime.proto b/third_party/googleapis/google/cloud/connectors/v1/runtime.proto index 68ca7648f..804082462 100644 --- a/third_party/googleapis/google/cloud/connectors/v1/runtime.proto +++ b/third_party/googleapis/google/cloud/connectors/v1/runtime.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -88,7 +88,8 @@ message RuntimeConfig { // Output only. Pub/Sub subscription for control plane to receive message. // E.g. projects/{project-id}/subscriptions/{topic-id} - string control_plane_subscription = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + string control_plane_subscription = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The endpoint of the connectors runtime ingress. string runtime_endpoint = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -96,7 +97,8 @@ message RuntimeConfig { // Output only. The state of the location. State state = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The Cloud Storage bucket that stores connector's schema reports. + // Output only. The Cloud Storage bucket that stores connector's schema + // reports. string schema_gcs_bucket = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The name of the Service Directory service name. diff --git a/third_party/googleapis/google/cloud/contactcenterinsights/BUILD.bazel b/third_party/googleapis/google/cloud/contactcenterinsights/BUILD.bazel index d57718e1f..ff88ebe6b 100644 --- a/third_party/googleapis/google/cloud/contactcenterinsights/BUILD.bazel +++ b/third_party/googleapis/google/cloud/contactcenterinsights/BUILD.bazel @@ -21,13 +21,14 @@ ruby_cloud_gapic_library( srcs = ["//google/cloud/contactcenterinsights/v1:contactcenterinsights_proto_with_info"], extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-contact_center_insights", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.20", "ruby-cloud-product-url=https://cloud.google.com/contact-center/insights/docs", "ruby-cloud-api-id=contactcenterinsights.googleapis.com", "ruby-cloud-api-shortname=contactcenterinsights", ], ruby_cloud_description = "Contact Center AI Insights helps users detect and visualize patterns in their contact center data. Understanding conversational data drives business value, improves operational efficiency, and provides a voice for customer feedback.", ruby_cloud_title = "Contact Center AI Insights", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/contactcenterinsights/v1/BUILD.bazel b/third_party/googleapis/google/cloud/contactcenterinsights/v1/BUILD.bazel index 839235312..881ae3cdd 100644 --- a/third_party/googleapis/google/cloud/contactcenterinsights/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/contactcenterinsights/v1/BUILD.bazel @@ -74,12 +74,14 @@ java_gapic_library( srcs = [":contactcenterinsights_proto_with_info"], grpc_service_config = "contactcenterinsights_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "contactcenterinsights_v1.yaml", test_deps = [ ":contactcenterinsights_java_grpc", ], transport = "grpc+rest", deps = [ ":contactcenterinsights_java_proto", + "//google/api:api_java_proto", ], ) @@ -113,7 +115,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -147,19 +148,13 @@ go_gapic_library( ], ) -go_test( - name = "contactcenterinsights_go_gapic_test", - srcs = [":contactcenterinsights_go_gapic_srcjar_test"], - embed = [":contactcenterinsights_go_gapic"], - importpath = "cloud.google.com/go/contactcenterinsights/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-contactcenterinsights-v1-go", deps = [ ":contactcenterinsights_go_gapic", ":contactcenterinsights_go_gapic_srcjar-metadata.srcjar", + ":contactcenterinsights_go_gapic_srcjar-snippets.srcjar", ":contactcenterinsights_go_gapic_srcjar-test.srcjar", ":contactcenterinsights_go_proto", ], @@ -214,7 +209,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -223,23 +217,15 @@ php_proto_library( deps = [":contactcenterinsights_proto"], ) -php_grpc_library( - name = "contactcenterinsights_php_grpc", - srcs = [":contactcenterinsights_proto"], - deps = [":contactcenterinsights_php_proto"], -) - php_gapic_library( name = "contactcenterinsights_php_gapic", srcs = [":contactcenterinsights_proto_with_info"], grpc_service_config = "contactcenterinsights_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "contactcenterinsights_v1.yaml", transport = "grpc+rest", - deps = [ - ":contactcenterinsights_php_grpc", - ":contactcenterinsights_php_proto", - ], + deps = [":contactcenterinsights_php_proto"], ) # Open Source Packages @@ -247,7 +233,6 @@ php_gapic_assembly_pkg( name = "google-cloud-contactcenterinsights-v1-php", deps = [ ":contactcenterinsights_php_gapic", - ":contactcenterinsights_php_grpc", ":contactcenterinsights_php_proto", ], ) @@ -318,6 +303,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Contact Center AI Insights helps users detect and visualize patterns in their contact center data. Understanding conversational data drives business value, improves operational efficiency, and provides a voice for customer feedback.", ruby_cloud_title = "Contact Center AI Insights V1", service_yaml = "contactcenterinsights_v1.yaml", + transport = "grpc+rest", deps = [ ":contactcenterinsights_ruby_grpc", ":contactcenterinsights_ruby_proto", diff --git a/third_party/googleapis/google/cloud/contactcenterinsights/v1/contact_center_insights.proto b/third_party/googleapis/google/cloud/contactcenterinsights/v1/contact_center_insights.proto index b9f611b78..99153b820 100644 --- a/third_party/googleapis/google/cloud/contactcenterinsights/v1/contact_center_insights.proto +++ b/third_party/googleapis/google/cloud/contactcenterinsights/v1/contact_center_insights.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -52,6 +52,21 @@ service ContactCenterInsights { "parent,conversation,conversation_id"; } + // Create a longrunning conversation upload operation. This method differs + // from CreateConversation by allowing audio transcription and optional DLP + // redaction. + rpc UploadConversation(UploadConversationRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*}/conversations:upload" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "Conversation" + metadata_type: "UploadConversationMetadata" + }; + } + // Updates a conversation. rpc UpdateConversation(UpdateConversationRequest) returns (Conversation) { option (google.api.http) = { @@ -140,6 +155,20 @@ service ContactCenterInsights { }; } + // Deletes multiple conversations in a single request. + rpc BulkDeleteConversations(BulkDeleteConversationsRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*}/conversations:bulkDelete" + body: "*" + }; + option (google.api.method_signature) = "parent,filter"; + option (google.longrunning.operation_info) = { + response_type: "BulkDeleteConversationsResponse" + metadata_type: "BulkDeleteConversationsMetadata" + }; + } + // Imports conversations and processes them according to the user's // configuration. rpc IngestConversations(IngestConversationsRequest) @@ -537,6 +566,59 @@ message CreateConversationRequest { string conversation_id = 3; } +// Request to upload a conversation. +message UploadConversationRequest { + // Required. The parent resource of the conversation. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "locations.googleapis.com/Location" + } + ]; + + // Required. The conversation resource to create. + Conversation conversation = 2 [(google.api.field_behavior) = REQUIRED]; + + // Optional. A unique ID for the new conversation. This ID will become the + // final component of the conversation's resource name. If no ID is specified, + // a server-generated ID will be used. + // + // This value should be 4-64 characters and must match the regular + // expression `^[a-z0-9-]{4,64}$`. Valid characters are `[a-z][0-9]-` + string conversation_id = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. DLP settings for transcript redaction. Will default to the config + // specified in Settings. + RedactionConfig redaction_config = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Speech-to-Text configuration. Will default to the config + // specified in Settings. + SpeechConfig speech_config = 11 [(google.api.field_behavior) = OPTIONAL]; +} + +// The metadata for an UploadConversation operation. +message UploadConversationMetadata { + // Output only. The time the operation was created. + google.protobuf.Timestamp create_time = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The time the operation finished running. + google.protobuf.Timestamp end_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The original request. + UploadConversationRequest request = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The operation name for a successfully created analysis + // operation, if any. + string analysis_operation = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The redaction config applied to the uploaded conversation. + RedactionConfig applied_redaction_config = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} + // Request to list conversations. message ListConversationsRequest { // Required. The parent resource of the conversation. @@ -620,8 +702,23 @@ message DeleteConversationRequest { message IngestConversationsRequest { // Configuration for Cloud Storage bucket sources. message GcsSource { + enum BucketObjectType { + // The object type is unspecified and will default to `TRANSCRIPT`. + BUCKET_OBJECT_TYPE_UNSPECIFIED = 0; + + // The object is a transcript. + TRANSCRIPT = 1; + + // The object is an audio file. + AUDIO = 2; + } + // Required. The Cloud Storage bucket containing source objects. string bucket_uri = 1 [(google.api.field_behavior) = REQUIRED]; + + // Optional. Specifies the type of the objects in `bucket_uri`. + BucketObjectType bucket_object_type = 2 + [(google.api.field_behavior) = OPTIONAL]; } // Configuration for processing transcript objects. @@ -635,12 +732,23 @@ message IngestConversationsRequest { // An opaque, user-specified string representing the human agent who handled // the conversations. string agent_id = 1; + + // Optional. Indicates which of the channels, 1 or 2, contains the agent. + // Note that this must be set for conversations to be properly displayed and + // analyzed. + int32 agent_channel = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Indicates which of the channels, 1 or 2, contains the agent. + // Note that this must be set for conversations to be properly displayed and + // analyzed. + int32 customer_channel = 3 [(google.api.field_behavior) = OPTIONAL]; } // Configuration for an external data store containing objects that will // be converted to conversations. oneof source { - // A cloud storage bucket source. + // A cloud storage bucket source. Note that any previously ingested objects + // from the source will be skipped to avoid duplication. GcsSource gcs_source = 2; } @@ -660,6 +768,14 @@ message IngestConversationsRequest { // Configuration that applies to all conversations. ConversationConfig conversation_config = 4; + + // Optional. DLP settings for transcript redaction. Optional, will default to + // the config specified in Settings. + RedactionConfig redaction_config = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Default Speech-to-Text configuration. Optional, will default to + // the config specified in Settings. + SpeechConfig speech_config = 6 [(google.api.field_behavior) = OPTIONAL]; } // The metadata for an IngestConversations operation. @@ -824,6 +940,11 @@ message BulkAnalyzeConversationsMetadata { // Total number of analyses requested. Computed by the number of conversations // returned by `filter` multiplied by `analysis_percentage` in the request. int32 total_requested_analyses_count = 6; + + // Output only. Partial errors during bulk analyze operation that might cause + // the operation output to be incomplete. + repeated google.rpc.Status partial_errors = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // The response for a bulk analyze conversations operation. @@ -835,6 +956,49 @@ message BulkAnalyzeConversationsResponse { int32 failed_analysis_count = 2; } +// The request to delete conversations in bulk. +message BulkDeleteConversationsRequest { + // Required. The parent resource to delete conversations from. + // Format: + // projects/{project}/locations/{location} + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "locations.googleapis.com/Location" + } + ]; + + // Filter used to select the subset of conversations to delete. + string filter = 2; + + // Maximum number of conversations to delete. + int32 max_delete_count = 3; + + // If set to true, all of this conversation's analyses will also be deleted. + // Otherwise, the request will only succeed if the conversation has no + // analyses. + bool force = 4; +} + +// The metadata for a bulk delete conversations operation. +message BulkDeleteConversationsMetadata { + // The time the operation was created. + google.protobuf.Timestamp create_time = 1; + + // The time the operation finished running. + google.protobuf.Timestamp end_time = 2; + + // The original request for bulk delete. + BulkDeleteConversationsRequest request = 3; + + // Partial errors during bulk delete conversations operation that might cause + // the operation output to be incomplete. + repeated google.rpc.Status partial_errors = 4; +} + +// The response for a bulk delete conversations operation. +message BulkDeleteConversationsResponse {} + // The request to export insights. message ExportInsightsDataRequest { // A BigQuery Table Reference. diff --git a/third_party/googleapis/google/cloud/contactcenterinsights/v1/contactcenterinsights_v1.yaml b/third_party/googleapis/google/cloud/contactcenterinsights/v1/contactcenterinsights_v1.yaml index 1cb93088a..c83d6ba0a 100644 --- a/third_party/googleapis/google/cloud/contactcenterinsights/v1/contactcenterinsights_v1.yaml +++ b/third_party/googleapis/google/cloud/contactcenterinsights/v1/contactcenterinsights_v1.yaml @@ -10,6 +10,8 @@ apis: types: - name: google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata - name: google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse +- name: google.cloud.contactcenterinsights.v1.BulkDeleteConversationsMetadata +- name: google.cloud.contactcenterinsights.v1.BulkDeleteConversationsResponse - name: google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata - name: google.cloud.contactcenterinsights.v1.CreateIssueModelMetadata - name: google.cloud.contactcenterinsights.v1.DeleteIssueModelMetadata @@ -21,6 +23,7 @@ types: - name: google.cloud.contactcenterinsights.v1.IngestConversationsResponse - name: google.cloud.contactcenterinsights.v1.UndeployIssueModelMetadata - name: google.cloud.contactcenterinsights.v1.UndeployIssueModelResponse +- name: google.cloud.contactcenterinsights.v1.UploadConversationMetadata http: rules: @@ -41,13 +44,3 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform - -publishing: - organization: CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED - new_issue_uri: '' - documentation_uri: '' - api_short_name: '' - github_label: '' - doc_tag_prefix: '' - codeowner_github_teams: - library_settings: diff --git a/third_party/googleapis/google/cloud/contactcenterinsights/v1/resources.proto b/third_party/googleapis/google/cloud/contactcenterinsights/v1/resources.proto index 966680be1..92459e1bb 100644 --- a/third_party/googleapis/google/cloud/contactcenterinsights/v1/resources.proto +++ b/third_party/googleapis/google/cloud/contactcenterinsights/v1/resources.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -28,11 +28,19 @@ option java_outer_classname = "ResourcesProto"; option java_package = "com.google.cloud.contactcenterinsights.v1"; option php_namespace = "Google\\Cloud\\ContactCenterInsights\\V1"; option ruby_package = "Google::Cloud::ContactCenterInsights::V1"; +option (google.api.resource_definition) = { + type: "dialogflow.googleapis.com/ConversationProfile" + pattern: "projects/{project}/locations/{location}/conversationProfiles/{conversation_profile}" +}; option (google.api.resource_definition) = { type: "dialogflow.googleapis.com/Participant" pattern: "projects/{project}/conversations/{conversation}/participants/{participant}" pattern: "projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}" }; +option (google.api.resource_definition) = { + type: "speech.googleapis.com/Recognizer" + pattern: "projects/{project}/locations/{location}/recognizers/{recognizer}" +}; // The conversation resource. message Conversation { @@ -50,6 +58,37 @@ message Conversation { int32 agent_channel = 2; } + // Conversation metadata related to quality management. + message QualityMetadata { + // Information about an agent involved in the conversation. + message AgentInfo { + // A user-specified string representing the agent. + string agent_id = 1; + + // The agent's name. + string display_name = 2; + + // A user-specified string representing the agent's team. + string team = 3; + + // A user-provided string indicating the outcome of the agent's segment of + // the call. + string disposition_code = 4; + } + + // An arbitrary integer value indicating the customer's satisfaction rating. + int32 customer_satisfaction_rating = 1; + + // The amount of time the customer waited to connect with an agent. + google.protobuf.Duration wait_duration = 2; + + // An arbitrary string value specifying the menu path the customer took. + string menu_path = 3; + + // Information about agents involved in the call. + repeated AgentInfo agent_info = 4; + } + // A message representing the transcript of a conversation. message Transcript { // A segment of a full transcript. @@ -180,6 +219,9 @@ message Conversation { // conversation is allowed, with a maximum of 256 characters per entry. map labels = 6; + // Conversation metadata related to quality management. + QualityMetadata quality_metadata = 24; + // Output only. The conversation transcript. Transcript transcript = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -197,6 +239,10 @@ message Conversation { // Output only. The conversation's latest analysis, if one exists. Analysis latest_analysis = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Latest summary of the conversation. + ConversationSummarizationSuggestionData latest_summary = 20 + [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The annotations that were generated during the customer and // agent interaction. repeated RuntimeAnnotation runtime_annotations = 13 @@ -642,6 +688,18 @@ message IssueModel { DELETING = 5; } + // Type of the model. + enum ModelType { + // Unspecified model type. + MODEL_TYPE_UNSPECIFIED = 0; + + // Type V1. + TYPE_V1 = 1; + + // Type V2. + TYPE_V2 = 2; + } + // Immutable. The resource name of the issue model. // Format: // projects/{project}/locations/{location}/issueModels/{issue_model} @@ -673,6 +731,12 @@ message IssueModel { (google.api.field_behavior) = OUTPUT_ONLY, (google.api.field_behavior) = IMMUTABLE ]; + + // Type of the model. + ModelType model_type = 9; + + // Language of the model. + string language_code = 10; } // The issue resource. @@ -819,7 +883,7 @@ message PhraseMatchRuleGroup { // Required. The type of this phrase match rule group. PhraseMatchRuleGroupType type = 1 [(google.api.field_behavior) = REQUIRED]; - // A list of phase match rules that are included in this group. + // A list of phrase match rules that are included in this group. repeated PhraseMatchRule phrase_match_rules = 2; } @@ -917,6 +981,37 @@ message Settings { // Default analysis settings. AnalysisConfig analysis_config = 7; + + // Default DLP redaction resources to be applied while ingesting + // conversations. + RedactionConfig redaction_config = 10; + + // Optional. Default Speech-to-Text resources to be used while ingesting audio + // files. Optional, CCAI Insights will create a default if not provided. + SpeechConfig speech_config = 11 [(google.api.field_behavior) = OPTIONAL]; +} + +// DLP resources used for redaction while ingesting conversations. +message RedactionConfig { + // The fully-qualified DLP deidentify template resource name. + // Format: + // `projects/{project}/deidentifyTemplates/{template}` + string deidentify_template = 1; + + // The fully-qualified DLP inspect template resource name. + // Format: + // `projects/{project}/locations/{location}/inspectTemplates/{template}` + string inspect_template = 2; +} + +// Speech-to-Text configuration. +message SpeechConfig { + // The fully-qualified Speech Recognizer resource name. + // Format: + // `projects/{project_id}/locations/{location}/recognizer/{recognizer}` + string speech_recognizer = 1 [(google.api.resource_reference) = { + type: "speech.googleapis.com/Recognizer" + }]; } // An annotation that was generated during the customer and agent interaction. @@ -937,6 +1032,10 @@ message RuntimeAnnotation { // Dialogflow interaction data. DialogflowInteractionData dialogflow_interaction = 10; + + // Conversation summarization suggestion data. + ConversationSummarizationSuggestionData + conversation_summarization_suggestion = 12; } // The unique identifier of the annotation. @@ -1093,6 +1192,34 @@ message DialogflowInteractionData { float confidence = 2; } +// Conversation summarization suggestion data. +message ConversationSummarizationSuggestionData { + // The summarization content that is concatenated into one string. + string text = 1; + + // The summarization content that is divided into sections. The key is the + // section's name and the value is the section's content. There is no + // specific format for the key or value. + map text_sections = 5; + + // The confidence score of the summarization. + float confidence = 2; + + // A map that contains metadata about the summarization and the document + // from which it originates. + map metadata = 3; + + // The name of the answer record. + // Format: + // projects/{project}/locations/{location}/answerRecords/{answer_record} + string answer_record = 4; + + // The name of the model that generates this summary. + // Format: + // projects/{project}/locations/{location}/conversationModels/{conversation_model} + string conversation_model = 6; +} + // The call participant speaking for a given utterance. message ConversationParticipant { // The role of the participant. @@ -1165,6 +1292,32 @@ message View { // Selector of all available annotators and phrase matchers to run. message AnnotatorSelector { + // Configuration for summarization. + message SummarizationConfig { + // Summarization model to use, if `conversation_profile` is not used. + enum SummarizationModel { + // Unspecified summarization model. + SUMMARIZATION_MODEL_UNSPECIFIED = 0; + + // The CCAI baseline model. + BASELINE_MODEL = 1; + } + + // Summarization must use either a preexisting conversation profile or one + // of the supported default models. + oneof model_source { + // Resource name of the Dialogflow conversation profile. + // Format: + // projects/{project}/locations/{location}/conversationProfiles/{conversation_profile} + string conversation_profile = 1 [(google.api.resource_reference) = { + type: "dialogflow.googleapis.com/ConversationProfile" + }]; + + // Default summarization model to be used. + SummarizationModel summarization_model = 2; + } + } + // Whether to run the interruption annotator. bool run_interruption_annotator = 1; @@ -1204,4 +1357,10 @@ message AnnotatorSelector { repeated string issue_models = 10 [(google.api.resource_reference) = { type: "contactcenterinsights.googleapis.com/IssueModel" }]; + + // Whether to run the summarization annotator. + bool run_summarization_annotator = 9; + + // Configuration for the summarization annotator. + SummarizationConfig summarization_config = 11; } diff --git a/third_party/googleapis/google/cloud/contentwarehouse/v1/BUILD.bazel b/third_party/googleapis/google/cloud/contentwarehouse/v1/BUILD.bazel index 902cbf9f3..b90b90666 100644 --- a/third_party/googleapis/google/cloud/contentwarehouse/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/contentwarehouse/v1/BUILD.bazel @@ -31,6 +31,8 @@ proto_library( "document_service_request.proto", "filters.proto", "histogram.proto", + "pipeline_service.proto", + "pipelines.proto", "rule_engine.proto", "ruleset_service.proto", "ruleset_service_request.proto", @@ -45,9 +47,10 @@ proto_library( "//google/api:resource_proto", "//google/cloud/documentai/v1:documentai_proto", "//google/iam/v1:policy_proto", + "//google/longrunning:operations_proto", + "//google/rpc:status_proto", "//google/type:datetime_proto", "//google/type:interval_proto", - "@com_google_protobuf//:duration_proto", "@com_google_protobuf//:empty_proto", "@com_google_protobuf//:field_mask_proto", "@com_google_protobuf//:timestamp_proto", @@ -93,8 +96,8 @@ java_gapic_library( rest_numeric_enums = True, service_yaml = "contentwarehouse_v1.yaml", test_deps = [ - ":contentwarehouse_java_grpc", "//google/iam/v1:iam_java_grpc", + ":contentwarehouse_java_grpc", ], transport = "grpc+rest", deps = [ @@ -104,19 +107,20 @@ java_gapic_library( ], ) -# TODO(b/246642734): Re-enable the failed json tests java_gapic_test( name = "contentwarehouse_java_gapic_test_suite", test_classes = [ "com.google.cloud.contentwarehouse.v1.DocumentLinkServiceClientHttpJsonTest", "com.google.cloud.contentwarehouse.v1.DocumentLinkServiceClientTest", - # "com.google.cloud.contentwarehouse.v1.DocumentSchemaServiceClientHttpJsonTest", + "com.google.cloud.contentwarehouse.v1.DocumentSchemaServiceClientHttpJsonTest", "com.google.cloud.contentwarehouse.v1.DocumentSchemaServiceClientTest", - # "com.google.cloud.contentwarehouse.v1.DocumentServiceClientHttpJsonTest", + "com.google.cloud.contentwarehouse.v1.DocumentServiceClientHttpJsonTest", "com.google.cloud.contentwarehouse.v1.DocumentServiceClientTest", - # "com.google.cloud.contentwarehouse.v1.RuleSetServiceClientHttpJsonTest", + "com.google.cloud.contentwarehouse.v1.PipelineServiceClientHttpJsonTest", + "com.google.cloud.contentwarehouse.v1.PipelineServiceClientTest", + "com.google.cloud.contentwarehouse.v1.RuleSetServiceClientHttpJsonTest", "com.google.cloud.contentwarehouse.v1.RuleSetServiceClientTest", - # "com.google.cloud.contentwarehouse.v1.SynonymSetServiceClientHttpJsonTest", + "com.google.cloud.contentwarehouse.v1.SynonymSetServiceClientHttpJsonTest", "com.google.cloud.contentwarehouse.v1.SynonymSetServiceClientTest", ], runtime_deps = [":contentwarehouse_java_gapic_test"], @@ -143,7 +147,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -155,6 +158,8 @@ go_proto_library( "//google/api:annotations_go_proto", "//google/cloud/documentai/v1:documentai_go_proto", "//google/iam/v1:iam_go_proto", + "//google/longrunning:longrunning_go_proto", + "//google/rpc:status_go_proto", "//google/type:datetime_go_proto", "//google/type:interval_go_proto", ], @@ -173,23 +178,19 @@ go_gapic_library( deps = [ ":contentwarehouse_go_proto", "//google/iam/v1:iam_go_proto", - "@io_bazel_rules_go//proto/wkt:duration_go_proto", + "//google/longrunning:longrunning_go_proto", + "@com_google_cloud_go_longrunning//:go_default_library", + "@com_google_cloud_go_longrunning//autogen:go_default_library", ], ) -go_test( - name = "contentwarehouse_go_gapic_test", - srcs = [":contentwarehouse_go_gapic_srcjar_test"], - embed = [":contentwarehouse_go_gapic"], - importpath = "cloud.google.com/go/contentwarehouse/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-contentwarehouse-v1-go", deps = [ ":contentwarehouse_go_gapic", ":contentwarehouse_go_gapic_srcjar-metadata.srcjar", + ":contentwarehouse_go_gapic_srcjar-snippets.srcjar", ":contentwarehouse_go_gapic_srcjar-test.srcjar", ":contentwarehouse_go_proto", ], @@ -202,18 +203,27 @@ load( "@com_google_googleapis_imports//:imports.bzl", "py_gapic_assembly_pkg", "py_gapic_library", + "py_import", "py_test", ) +py_import( + name = "documentai", + srcs = [ + "//google/cloud/documentai/v1:documentai_py_gapic", + ], +) + py_gapic_library( name = "contentwarehouse_py_gapic", srcs = [":contentwarehouse_proto"], grpc_service_config = "contentwarehouse_grpc_service_config.json", + opt_args = ["proto-plus-deps=google.cloud.documentai.v1"], rest_numeric_enums = True, service_yaml = "contentwarehouse_v1.yaml", transport = "grpc+rest", deps = [ - "//google/cloud/documentai/v1:documentai_py_proto", + ":documentai", "//google/iam/v1:iam_policy_py_proto", ], ) @@ -225,9 +235,7 @@ py_test( "contentwarehouse_py_gapic_test.py", ], legacy_create_init = False, - deps = [ - ":contentwarehouse_py_gapic", - ], + deps = [":contentwarehouse_py_gapic"], ) # Open Source Packages @@ -245,7 +253,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -254,21 +261,15 @@ php_proto_library( deps = [":contentwarehouse_proto"], ) -php_grpc_library( - name = "contentwarehouse_php_grpc", - srcs = [":contentwarehouse_proto"], - deps = [":contentwarehouse_php_proto"], -) - php_gapic_library( name = "contentwarehouse_php_gapic", srcs = [":contentwarehouse_proto_with_info"], grpc_service_config = "contentwarehouse_grpc_service_config.json", + migration_mode = "PRE_MIGRATION_SURFACE_ONLY", rest_numeric_enums = True, service_yaml = "contentwarehouse_v1.yaml", transport = "grpc+rest", deps = [ - ":contentwarehouse_php_grpc", ":contentwarehouse_php_proto", ], ) @@ -278,7 +279,6 @@ php_gapic_assembly_pkg( name = "google-cloud-contentwarehouse-v1-php", deps = [ ":contentwarehouse_php_gapic", - ":contentwarehouse_php_grpc", ":contentwarehouse_php_proto", ], ) @@ -310,7 +310,6 @@ nodejs_gapic_assembly_pkg( deps = [ ":contentwarehouse_nodejs_gapic", ":contentwarehouse_proto", - # Cross-API dependency requires adding this explicitly to pack protos "//google/cloud/documentai/v1:documentai_proto", ], ) @@ -340,12 +339,11 @@ ruby_grpc_library( ruby_cloud_gapic_library( name = "contentwarehouse_ruby_gapic", srcs = [":contentwarehouse_proto_with_info"], - extra_protoc_parameters = [ - "ruby-cloud-gem-name=google-cloud-contentwarehouse-v1", - ], + extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-contentwarehouse-v1"], grpc_service_config = "contentwarehouse_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "contentwarehouse_v1.yaml", + transport = "grpc+rest", deps = [ ":contentwarehouse_ruby_grpc", ":contentwarehouse_ruby_proto", @@ -375,6 +373,7 @@ load( csharp_proto_library( name = "contentwarehouse_csharp_proto", + extra_opts = [], deps = [":contentwarehouse_proto"], ) diff --git a/third_party/googleapis/google/cloud/contentwarehouse/v1/async_document_service_request.proto b/third_party/googleapis/google/cloud/contentwarehouse/v1/async_document_service_request.proto index eba3bf3bb..3903ba614 100644 --- a/third_party/googleapis/google/cloud/contentwarehouse/v1/async_document_service_request.proto +++ b/third_party/googleapis/google/cloud/contentwarehouse/v1/async_document_service_request.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -19,17 +19,16 @@ package google.cloud.contentwarehouse.v1; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +option csharp_namespace = "Google.Cloud.ContentWarehouse.V1"; option go_package = "cloud.google.com/go/contentwarehouse/apiv1/contentwarehousepb;contentwarehousepb"; option java_multiple_files = true; option java_outer_classname = "AsyncDocumentServiceRequestProto"; option java_package = "com.google.cloud.contentwarehouse.v1"; +option php_namespace = "Google\\Cloud\\ContentWarehouse\\V1"; +option ruby_package = "Google::Cloud::ContentWarehouse::V1"; // Metadata object for CreateDocument request (currently empty). -message CreateDocumentMetadata { - -} +message CreateDocumentMetadata {} // Metadata object for UpdateDocument request (currently empty). -message UpdateDocumentMetadata { - -} +message UpdateDocumentMetadata {} diff --git a/third_party/googleapis/google/cloud/contentwarehouse/v1/common.proto b/third_party/googleapis/google/cloud/contentwarehouse/v1/common.proto index 3592ee6d2..4164c7979 100644 --- a/third_party/googleapis/google/cloud/contentwarehouse/v1/common.proto +++ b/third_party/googleapis/google/cloud/contentwarehouse/v1/common.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -19,10 +19,13 @@ package google.cloud.contentwarehouse.v1; import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; +option csharp_namespace = "Google.Cloud.ContentWarehouse.V1"; option go_package = "cloud.google.com/go/contentwarehouse/apiv1/contentwarehousepb;contentwarehousepb"; option java_multiple_files = true; option java_outer_classname = "CommonProto"; option java_package = "com.google.cloud.contentwarehouse.v1"; +option php_namespace = "Google\\Cloud\\ContentWarehouse\\V1"; +option ruby_package = "Google::Cloud::ContentWarehouse::V1"; option (google.api.resource_definition) = { type: "contentwarehouse.googleapis.com/Location" pattern: "projects/{project}/locations/{location}" @@ -41,6 +44,7 @@ message ResponseMetadata { string request_id = 1; } +// The user information. message UserInfo { // A unique user identification string, as determined by the client. // The maximum number of allowed characters is 255. @@ -96,7 +100,8 @@ enum UpdateType { // Defaults to full replace behavior, ie. FULL_REPLACE. UPDATE_TYPE_UNSPECIFIED = 0; - // Fully replace all the fields. Any field masks will be ignored. + // Fully replace all the fields (including previously linked raw document). + // Any field masks will be ignored. UPDATE_TYPE_REPLACE = 1; // Merge the fields into the existing entities. @@ -110,6 +115,11 @@ enum UpdateType { // Delete the properties by names. UPDATE_TYPE_DELETE_PROPERTIES_BY_NAMES = 5; + + // For each of the property, replaces the property if the it exists, otherwise + // inserts a new property. And for the rest of the fields, merge them based on + // update mask and merge fields options. + UPDATE_TYPE_MERGE_AND_REPLACE_OR_INSERT_PROPERTIES_BY_NAMES = 6; } // Type of database used by the customer @@ -121,7 +131,7 @@ enum DatabaseType { DB_INFRA_SPANNER = 1; // Cloud Sql with a Postgres Sql instance - DB_CLOUD_SQL_POSTGRES = 2; + DB_CLOUD_SQL_POSTGRES = 2 [deprecated = true]; } // Access Control Mode. @@ -138,3 +148,18 @@ enum AccessControlMode { // Document level access control using Google Cloud Identity. ACL_MODE_DOCUMENT_LEVEL_ACCESS_CONTROL_GCI = 3; } + +// The default role of the document creator. +enum DocumentCreatorDefaultRole { + // Unspecified, will be default to document admin role. + DOCUMENT_CREATOR_DEFAULT_ROLE_UNSPECIFIED = 0; + + // Document Admin, same as contentwarehouse.googleapis.com/documentAdmin. + DOCUMENT_ADMIN = 1; + + // Document Editor, same as contentwarehouse.googleapis.com/documentEditor. + DOCUMENT_EDITOR = 2; + + // Document Viewer, same as contentwarehouse.googleapis.com/documentViewer. + DOCUMENT_VIEWER = 3; +} diff --git a/third_party/googleapis/google/cloud/contentwarehouse/v1/contentwarehouse_grpc_service_config.json b/third_party/googleapis/google/cloud/contentwarehouse/v1/contentwarehouse_grpc_service_config.json index 23c003b67..cb43e2bc6 100644 --- a/third_party/googleapis/google/cloud/contentwarehouse/v1/contentwarehouse_grpc_service_config.json +++ b/third_party/googleapis/google/cloud/contentwarehouse/v1/contentwarehouse_grpc_service_config.json @@ -49,5 +49,23 @@ { "service": "google.cloud.contentwarehouse.v1.DocumentLinkService", "method": "DeleteDocumentLink" } ], "timeout": "180s" + }, + { + "name": [ + { + "service": "google.cloud.contentwarehouse.v1.PipelineService", + "method": "RunPipeline" + } + ], + "timeout": "120s", + "retryPolicy": { + "initialBackoff": "0.100s", + "maxBackoff": "60s", + "backoffMultiplier": 1.3, + "retryableStatusCodes": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ] + } }] } diff --git a/third_party/googleapis/google/cloud/contentwarehouse/v1/contentwarehouse_v1.yaml b/third_party/googleapis/google/cloud/contentwarehouse/v1/contentwarehouse_v1.yaml index e1120e991..a161b2bba 100644 --- a/third_party/googleapis/google/cloud/contentwarehouse/v1/contentwarehouse_v1.yaml +++ b/third_party/googleapis/google/cloud/contentwarehouse/v1/contentwarehouse_v1.yaml @@ -1,20 +1,27 @@ type: google.api.Service config_version: 3 name: contentwarehouse.googleapis.com -title: contentwarehouse API +title: Document AI Warehouse API apis: - name: google.cloud.contentwarehouse.v1.DocumentLinkService - name: google.cloud.contentwarehouse.v1.DocumentSchemaService - name: google.cloud.contentwarehouse.v1.DocumentService +- name: google.cloud.contentwarehouse.v1.PipelineService - name: google.cloud.contentwarehouse.v1.RuleSetService - name: google.cloud.contentwarehouse.v1.SynonymSetService - name: google.longrunning.Operations types: - name: google.cloud.contentwarehouse.v1.CreateDocumentMetadata +- name: google.cloud.contentwarehouse.v1.RunPipelineMetadata - name: google.cloud.contentwarehouse.v1.UpdateDocumentMetadata +http: + rules: + - selector: google.longrunning.Operations.GetOperation + get: '/v1/{name=projects/*/locations/*/operations/*}' + authentication: rules: - selector: 'google.cloud.contentwarehouse.v1.DocumentLinkService.*' @@ -29,6 +36,10 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform + - selector: google.cloud.contentwarehouse.v1.PipelineService.RunPipeline + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform - selector: 'google.cloud.contentwarehouse.v1.RuleSetService.*' oauth: canonical_scopes: |- diff --git a/third_party/googleapis/google/cloud/contentwarehouse/v1/document.proto b/third_party/googleapis/google/cloud/contentwarehouse/v1/document.proto index c74c6fc75..5355e9767 100644 --- a/third_party/googleapis/google/cloud/contentwarehouse/v1/document.proto +++ b/third_party/googleapis/google/cloud/contentwarehouse/v1/document.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -22,10 +22,13 @@ import "google/cloud/documentai/v1/document.proto"; import "google/protobuf/timestamp.proto"; import "google/type/datetime.proto"; +option csharp_namespace = "Google.Cloud.ContentWarehouse.V1"; option go_package = "cloud.google.com/go/contentwarehouse/apiv1/contentwarehousepb;contentwarehousepb"; option java_multiple_files = true; option java_outer_classname = "DocumentProto"; option java_package = "com.google.cloud.contentwarehouse.v1"; +option php_namespace = "Google\\Cloud\\ContentWarehouse\\V1"; +option ruby_package = "Google::Cloud::ContentWarehouse::V1"; // Defines the structure for content warehouse document proto. message Document { @@ -45,16 +48,14 @@ message Document { // The reference ID set by customers. Must be unique per project and location. string reference_id = 11; - // Required. Display name of the document given by the user. This name will be displayed - // in the UI. - // Customer can populate this field with the name of the document. This - // differs from the 'title' field as 'title' is optional and stores the top - // heading in the document. + // Required. Display name of the document given by the user. This name will be + // displayed in the UI. Customer can populate this field with the name of the + // document. This differs from the 'title' field as 'title' is optional and + // stores the top heading in the document. string display_name = 2 [(google.api.field_behavior) = REQUIRED]; // Title that describes the document. - // This is usually present in the top section of the document, and is a - // mandatory field for the question-answering feature. + // This can be the top heading or text that describes the document. string title = 18; // Uri to display the document, for example, in the UI. @@ -64,8 +65,8 @@ message Document { // Format: // projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}. string document_schema_name = 3 [(google.api.resource_reference) = { - type: "contentwarehouse.googleapis.com/DocumentSchema" - }]; + type: "contentwarehouse.googleapis.com/DocumentSchema" + }]; oneof structured_content { // Other document format, such as PPTX, XLXS @@ -76,7 +77,7 @@ message Document { } // A path linked to structured content file. - string structured_content_uri = 16; + string structured_content_uri = 16 [deprecated = true]; // Raw document file. oneof raw_document { @@ -91,10 +92,12 @@ message Document { repeated Property properties = 7; // Output only. The time when the document is last updated. - google.protobuf.Timestamp update_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time when the document is created. - google.protobuf.Timestamp create_time = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 9 + [(google.api.field_behavior) = OUTPUT_ONLY]; // This is used when DocAI was not used to load the document and parsing/ // extracting is needed for the inline_raw_document. For example, if @@ -103,16 +106,30 @@ message Document { RawDocumentFileType raw_document_file_type = 10; // If true, makes the document visible to asynchronous policies and rules. - bool async_enabled = 12; + bool async_enabled = 12 [deprecated = true]; + + // Indicates the category (image, audio, video etc.) of the original content. + ContentCategory content_category = 20; // If true, text extraction will not be performed. - bool text_extraction_disabled = 19; + bool text_extraction_disabled = 19 [deprecated = true]; + + // If true, text extraction will be performed. + bool text_extraction_enabled = 21; // The user who creates the document. string creator = 13; // The user who lastly updates the document. string updater = 14; + + // Output only. If linked to a Collection with RetentionPolicy, the date when + // the document becomes mutable. + google.protobuf.Timestamp disposition_time = 22 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Indicates if the document has a legal hold on it. + bool legal_hold = 23 [(google.api.field_behavior) = OUTPUT_ONLY]; } // References to the documents. @@ -139,18 +156,28 @@ message DocumentReference { bool document_is_folder = 4; // Output only. The time when the document is last updated. - google.protobuf.Timestamp update_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time when the document is created. - google.protobuf.Timestamp create_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time when the document is deleted. - google.protobuf.Timestamp delete_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp delete_time = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Document is a folder with retention policy. + bool document_is_retention_folder = 8; + + // Document is a folder with legal hold. + bool document_is_legal_hold_folder = 9; } // Property of a document. message Property { - // Required. Must match the name of a PropertyDefinition in the DocumentSchema. + // Required. Must match the name of a PropertyDefinition in the + // DocumentSchema. string name = 1 [(google.api.field_behavior) = REQUIRED]; // Type of the property. @@ -307,4 +334,23 @@ enum RawDocumentFileType { // UTF-8 encoded text format RAW_DOCUMENT_FILE_TYPE_TEXT = 5; + + // TIFF or TIF image file format + RAW_DOCUMENT_FILE_TYPE_TIFF = 6; +} + +// When a raw document or structured content is supplied, this stores the +// content category. +enum ContentCategory { + // No category is specified. + CONTENT_CATEGORY_UNSPECIFIED = 0; + + // Content is of image type. + CONTENT_CATEGORY_IMAGE = 1; + + // Content is of audio type. + CONTENT_CATEGORY_AUDIO = 2; + + // Content is of video type. + CONTENT_CATEGORY_VIDEO = 3; } diff --git a/third_party/googleapis/google/cloud/contentwarehouse/v1/document_link_service.proto b/third_party/googleapis/google/cloud/contentwarehouse/v1/document_link_service.proto index 36fb164fa..e2e1c7166 100644 --- a/third_party/googleapis/google/cloud/contentwarehouse/v1/document_link_service.proto +++ b/third_party/googleapis/google/cloud/contentwarehouse/v1/document_link_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -25,19 +25,24 @@ import "google/cloud/contentwarehouse/v1/document.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/timestamp.proto"; +option csharp_namespace = "Google.Cloud.ContentWarehouse.V1"; option go_package = "cloud.google.com/go/contentwarehouse/apiv1/contentwarehousepb;contentwarehousepb"; option java_multiple_files = true; option java_outer_classname = "DocumentLinkServiceProto"; option java_package = "com.google.cloud.contentwarehouse.v1"; +option php_namespace = "Google\\Cloud\\ContentWarehouse\\V1"; +option ruby_package = "Google::Cloud::ContentWarehouse::V1"; // This service lets you manage document-links. // Document-Links are treated as sub-resources under source documents. service DocumentLinkService { option (google.api.default_host) = "contentwarehouse.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Return all target document-links from the document. - rpc ListLinkedTargets(ListLinkedTargetsRequest) returns (ListLinkedTargetsResponse) { + rpc ListLinkedTargets(ListLinkedTargetsRequest) + returns (ListLinkedTargetsResponse) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*/documents/*}/linkedTargets" body: "*" @@ -46,7 +51,8 @@ service DocumentLinkService { } // Return all source document-links from the document. - rpc ListLinkedSources(ListLinkedSourcesRequest) returns (ListLinkedSourcesResponse) { + rpc ListLinkedSources(ListLinkedSourcesRequest) + returns (ListLinkedSourcesResponse) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*/documents/*}/linkedSources" body: "*" @@ -64,7 +70,8 @@ service DocumentLinkService { } // Remove the link between the source and target documents. - rpc DeleteDocumentLink(DeleteDocumentLinkRequest) returns (google.protobuf.Empty) { + rpc DeleteDocumentLink(DeleteDocumentLinkRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/documents/*/documentLinks/*}:delete" body: "*" @@ -85,8 +92,8 @@ message ListLinkedTargetsResponse { // Request message for DocumentLinkService.ListLinkedTargets. message ListLinkedTargetsRequest { - // Required. The name of the document, for which all target links are returned. - // Format: + // Required. The name of the document, for which all target links are + // returned. Format: // projects/{project_number}/locations/{location}/documents/{target_document_id}. string parent = 1 [ (google.api.field_behavior) = REQUIRED, @@ -112,8 +119,8 @@ message ListLinkedSourcesResponse { // Response message for DocumentLinkService.ListLinkedSources. message ListLinkedSourcesRequest { - // Required. The name of the document, for which all source links are returned. - // Format: + // Required. The name of the document, for which all source links are + // returned. Format: // projects/{project_number}/locations/{location}/documents/{source_document_id}. string parent = 1 [ (google.api.field_behavior) = REQUIRED, @@ -177,10 +184,12 @@ message DocumentLink { string description = 4; // Output only. The time when the documentLink is last updated. - google.protobuf.Timestamp update_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time when the documentLink is created. - google.protobuf.Timestamp create_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; // The state of the documentlink. If target node has been deleted, the // link is marked as invalid. Removing a source node will result in removal @@ -201,7 +210,8 @@ message CreateDocumentLinkRequest { } ]; - // Required. Document links associated with the source documents (source_document_id). + // Required. Document links associated with the source documents + // (source_document_id). DocumentLink document_link = 2 [(google.api.field_behavior) = REQUIRED]; // The meta information collected about the document creator, used to enforce diff --git a/third_party/googleapis/google/cloud/contentwarehouse/v1/document_schema.proto b/third_party/googleapis/google/cloud/contentwarehouse/v1/document_schema.proto index 6c5526129..bc9b0a9e6 100644 --- a/third_party/googleapis/google/cloud/contentwarehouse/v1/document_schema.proto +++ b/third_party/googleapis/google/cloud/contentwarehouse/v1/document_schema.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,10 +20,13 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; +option csharp_namespace = "Google.Cloud.ContentWarehouse.V1"; option go_package = "cloud.google.com/go/contentwarehouse/apiv1/contentwarehousepb;contentwarehousepb"; option java_multiple_files = true; option java_outer_classname = "DocumentSchemaProto"; option java_package = "com.google.cloud.contentwarehouse.v1"; +option php_namespace = "Google\\Cloud\\ContentWarehouse\\V1"; +option ruby_package = "Google::Cloud::ContentWarehouse::V1"; // A document schema used to define document structure. message DocumentSchema { @@ -39,7 +42,7 @@ message DocumentSchema { // The name is ignored when creating a document schema. string name = 1; - // Required. Name of the schema given by the user. Must be unique per customer. + // Required. Name of the schema given by the user. Must be unique per project. string display_name = 2 [(google.api.field_behavior) = REQUIRED]; // Document details. @@ -50,10 +53,12 @@ message DocumentSchema { bool document_is_folder = 4; // Output only. The time when the document schema is last updated. - google.protobuf.Timestamp update_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time when the document schema is created. - google.protobuf.Timestamp create_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Schema description. string description = 7; @@ -61,6 +66,39 @@ message DocumentSchema { // Defines the metadata for a schema property. message PropertyDefinition { + // Stores the retrieval importance. + enum RetrievalImportance { + // No importance specified. Default medium importance. + RETRIEVAL_IMPORTANCE_UNSPECIFIED = 0; + + // Highest importance. + HIGHEST = 1; + + // Higher importance. + HIGHER = 2; + + // High importance. + HIGH = 3; + + // Medium importance. + MEDIUM = 4; + + // Low importance (negative). + LOW = 5; + + // Lowest importance (negative). + LOWEST = 6; + } + + // The schema source information. + message SchemaSource { + // The schema name in the source. + string name = 1; + + // The Doc AI processor type name. + string processor_type = 2; + } + // Required. The name of the metadata property. // Must be unique within a document schema and is case insensitive. // Names must be non-blank, start with a letter, and can contain alphanumeric @@ -81,6 +119,9 @@ message PropertyDefinition { bool is_searchable = 4; // Whether the property is user supplied metadata. + // This out-of-the box placeholder setting can be used to tag derived + // properties. Its value and interpretation logic should be implemented by API + // user. bool is_metadata = 5; // Whether the property is mandatory. @@ -88,6 +129,9 @@ message PropertyDefinition { // If 'true' then user must populate the value for this property. bool is_required = 14; + // The retrieval importance of the property during search. + RetrievalImportance retrieval_importance = 18; + // Type of the property. oneof value_type_options { // Integer property. @@ -116,42 +160,34 @@ message PropertyDefinition { // It is not supported by CMEK compliant deployment. TimestampTypeOptions timestamp_type_options = 16; } + + // The mapping information between this property to another schema source. + repeated SchemaSource schema_sources = 19; } // Configurations for an integer property. -message IntegerTypeOptions { - -} +message IntegerTypeOptions {} // Configurations for a float property. -message FloatTypeOptions { - -} +message FloatTypeOptions {} // Configurations for a text property. -message TextTypeOptions { - -} +message TextTypeOptions {} // Configurations for a date time property. -message DateTimeTypeOptions { - -} +message DateTimeTypeOptions {} // Configurations for a Map property. -message MapTypeOptions { - -} +message MapTypeOptions {} // Configurations for a timestamp property. -message TimestampTypeOptions { - -} +message TimestampTypeOptions {} // Configurations for a nested structured data property. message PropertyTypeOptions { // Required. List of property definitions. - repeated PropertyDefinition property_definitions = 1 [(google.api.field_behavior) = REQUIRED]; + repeated PropertyDefinition property_definitions = 1 + [(google.api.field_behavior) = REQUIRED]; } // Configurations for an enum/categorical property. diff --git a/third_party/googleapis/google/cloud/contentwarehouse/v1/document_schema_service.proto b/third_party/googleapis/google/cloud/contentwarehouse/v1/document_schema_service.proto index 0027048ca..a396ee416 100644 --- a/third_party/googleapis/google/cloud/contentwarehouse/v1/document_schema_service.proto +++ b/third_party/googleapis/google/cloud/contentwarehouse/v1/document_schema_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -23,20 +23,23 @@ import "google/api/resource.proto"; import "google/cloud/contentwarehouse/v1/document_schema.proto"; import "google/protobuf/empty.proto"; +option csharp_namespace = "Google.Cloud.ContentWarehouse.V1"; option go_package = "cloud.google.com/go/contentwarehouse/apiv1/contentwarehousepb;contentwarehousepb"; option java_multiple_files = true; option java_outer_classname = "DocumentSchemaServiceProto"; option java_package = "com.google.cloud.contentwarehouse.v1"; - -// (go/id-aip-list) to add a finite deadline and enable fail_fast. +option php_namespace = "Google\\Cloud\\ContentWarehouse\\V1"; +option ruby_package = "Google::Cloud::ContentWarehouse::V1"; // This service lets you manage document schema. service DocumentSchemaService { option (google.api.default_host) = "contentwarehouse.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Creates a document schema. - rpc CreateDocumentSchema(CreateDocumentSchemaRequest) returns (DocumentSchema) { + rpc CreateDocumentSchema(CreateDocumentSchemaRequest) + returns (DocumentSchema) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/documentSchemas" body: "document_schema" @@ -47,10 +50,12 @@ service DocumentSchemaService { // Updates a Document Schema. Returns INVALID_ARGUMENT if the name of the // Document Schema is non-empty and does not equal the existing name. // Supports only appending new properties, adding new ENUM possible values, - // and updating the [EnumTypeOptions.validation_check_disabled][google.cloud.contentwarehouse.v1.EnumTypeOptions.validation_check_disabled] flag for - // ENUM possible values. Updating existing properties will result into - // INVALID_ARGUMENT. - rpc UpdateDocumentSchema(UpdateDocumentSchemaRequest) returns (DocumentSchema) { + // and updating the + // [EnumTypeOptions.validation_check_disabled][google.cloud.contentwarehouse.v1.EnumTypeOptions.validation_check_disabled] + // flag for ENUM possible values. Updating existing properties will result + // into INVALID_ARGUMENT. + rpc UpdateDocumentSchema(UpdateDocumentSchemaRequest) + returns (DocumentSchema) { option (google.api.http) = { patch: "/v1/{name=projects/*/locations/*/documentSchemas/*}" body: "*" @@ -70,7 +75,8 @@ service DocumentSchemaService { // Deletes a document schema. Returns NOT_FOUND if the document schema does // not exist. Returns BAD_REQUEST if the document schema has documents // depending on it. - rpc DeleteDocumentSchema(DeleteDocumentSchemaRequest) returns (google.protobuf.Empty) { + rpc DeleteDocumentSchema(DeleteDocumentSchemaRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/documentSchemas/*}" }; @@ -78,7 +84,8 @@ service DocumentSchemaService { } // Lists document schemas. - rpc ListDocumentSchemas(ListDocumentSchemasRequest) returns (ListDocumentSchemasResponse) { + rpc ListDocumentSchemas(ListDocumentSchemasRequest) + returns (ListDocumentSchemasResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/documentSchemas" }; diff --git a/third_party/googleapis/google/cloud/contentwarehouse/v1/document_service.proto b/third_party/googleapis/google/cloud/contentwarehouse/v1/document_service.proto index d2b250be9..d710a36b0 100644 --- a/third_party/googleapis/google/cloud/contentwarehouse/v1/document_service.proto +++ b/third_party/googleapis/google/cloud/contentwarehouse/v1/document_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -25,17 +25,22 @@ import "google/cloud/contentwarehouse/v1/document_service_request.proto"; import "google/cloud/contentwarehouse/v1/histogram.proto"; import "google/cloud/contentwarehouse/v1/rule_engine.proto"; import "google/iam/v1/policy.proto"; +import "google/longrunning/operations.proto"; import "google/protobuf/empty.proto"; +option csharp_namespace = "Google.Cloud.ContentWarehouse.V1"; option go_package = "cloud.google.com/go/contentwarehouse/apiv1/contentwarehousepb;contentwarehousepb"; option java_multiple_files = true; option java_outer_classname = "DocumentServiceProto"; option java_package = "com.google.cloud.contentwarehouse.v1"; +option php_namespace = "Google\\Cloud\\ContentWarehouse\\V1"; +option ruby_package = "Google::Cloud::ContentWarehouse::V1"; // This service lets you manage document. service DocumentService { option (google.api.default_host) = "contentwarehouse.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Creates a document. rpc CreateDocument(CreateDocumentRequest) returns (CreateDocumentResponse) { @@ -86,10 +91,12 @@ service DocumentService { option (google.api.method_signature) = "name"; } - // Searches for documents using provided [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest]. + // Searches for documents using provided + // [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest]. // This call only returns documents that the caller has permission to search // against. - rpc SearchDocuments(SearchDocumentsRequest) returns (SearchDocumentsResponse) { + rpc SearchDocuments(SearchDocumentsRequest) + returns (SearchDocumentsResponse) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/documents:search" body: "*" @@ -97,6 +104,15 @@ service DocumentService { option (google.api.method_signature) = "parent"; } + // Lock the document so the document cannot be updated by other users. + rpc LockDocument(LockDocumentRequest) returns (Document) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/*/documents/*}:lock" + body: "*" + }; + option (google.api.method_signature) = "name"; + } + // Gets the access control policy for a resource. Returns NOT_FOUND error if // the resource does not exist. Returns an empty policy if the resource exists // but does not have a policy set. @@ -118,10 +134,7 @@ service DocumentService { option (google.api.http) = { post: "/v1/{resource=projects/*/locations/*/documents/*}:setAcl" body: "*" - additional_bindings { - post: "/v1/{resource=projects/*}:setAcl" - body: "*" - } + additional_bindings { post: "/v1/{resource=projects/*}:setAcl" body: "*" } }; option (google.api.method_signature) = "resource,policy"; } @@ -141,6 +154,9 @@ message CreateDocumentResponse { // Additional information for the API invocation, such as the request tracking // id. ResponseMetadata metadata = 3; + + // post-processing LROs + repeated google.longrunning.Operation long_running_operations = 4; } // Response message for DocumentService.UpdateDocument. @@ -182,9 +198,11 @@ message QAResult { // Response message for DocumentService.SearchDocuments. message SearchDocumentsResponse { - // Document entry with metadata inside [SearchDocumentsResponse][google.cloud.contentwarehouse.v1.SearchDocumentsResponse] + // Document entry with metadata inside + // [SearchDocumentsResponse][google.cloud.contentwarehouse.v1.SearchDocumentsResponse] message MatchingDocument { - // Document that matches the specified [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest]. + // Document that matches the specified + // [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest]. // This document only contains indexed metadata information. Document document = 1; @@ -196,15 +214,21 @@ message SearchDocumentsResponse { // If the question-answering feature is enabled, this field will instead // contain a snippet that answers the user's natural-language query. No HTML // bold tags will be present, and highlights in the answer snippet can be - // found in [QAResult.highlights][google.cloud.contentwarehouse.v1.QAResult.highlights]. + // found in + // [QAResult.highlights][google.cloud.contentwarehouse.v1.QAResult.highlights]. string search_text_snippet = 2; // Experimental. // Additional result info if the question-answering feature is enabled. QAResult qa_result = 3; + + // Return the 1-based page indices where those pages have one or more + // matched tokens. + repeated int64 matched_token_page_indices = 4; } - // The document entities that match the specified [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest]. + // The document entities that match the specified + // [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest]. repeated MatchingDocument matching_documents = 1; // The token that specifies the starting position of the next page of results. @@ -212,11 +236,13 @@ message SearchDocumentsResponse { string next_page_token = 2; // The total number of matched documents which is available only if the client - // set [SearchDocumentsRequest.require_total_size][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.require_total_size] to `true`. Otherwise, the - // value will be `-1`. `total_size` will max at "100,000". If this - // is returned, then it can be assumed that the count is equal to or greater - // than 100,000. Typically a UI would handle this condition by displaying - // "of many", for example: "Displaying 10 of many". + // set + // [SearchDocumentsRequest.require_total_size][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.require_total_size] + // to `true` or set + // [SearchDocumentsRequest.total_result_size][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.total_result_size] + // to `ESTIMATED_SIZE` or `ACTUAL_SIZE`. Otherwise, the value will be `-1`. + // Typically a UI would handle this condition by displaying "of + // many", for example: "Displaying 10 of many". int32 total_size = 3; // Additional information for the API invocation, such as the request tracking @@ -226,6 +252,10 @@ message SearchDocumentsResponse { // The histogram results that match with the specified // [SearchDocumentsRequest.histogram_queries][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries]. repeated HistogramQueryResult histogram_query_results = 6; + + // Experimental. + // Question answer from the query against the document. + string question_answer = 7; } // Response message for DocumentService.FetchAcl. diff --git a/third_party/googleapis/google/cloud/contentwarehouse/v1/document_service_request.proto b/third_party/googleapis/google/cloud/contentwarehouse/v1/document_service_request.proto index 521ef12ac..94c9259e5 100644 --- a/third_party/googleapis/google/cloud/contentwarehouse/v1/document_service_request.proto +++ b/third_party/googleapis/google/cloud/contentwarehouse/v1/document_service_request.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -25,10 +25,13 @@ import "google/cloud/contentwarehouse/v1/histogram.proto"; import "google/iam/v1/policy.proto"; import "google/protobuf/field_mask.proto"; +option csharp_namespace = "Google.Cloud.ContentWarehouse.V1"; option go_package = "cloud.google.com/go/contentwarehouse/apiv1/contentwarehousepb;contentwarehousepb"; option java_multiple_files = true; option java_outer_classname = "DocumentServiceRequestProto"; option java_package = "com.google.cloud.contentwarehouse.v1"; +option php_namespace = "Google\\Cloud\\ContentWarehouse\\V1"; +option ruby_package = "Google::Cloud::ContentWarehouse::V1"; // Request Option for processing Cloud AI Document in CW Document. message CloudAIDocumentOption { @@ -57,18 +60,23 @@ message CreateDocumentRequest { // control for the service. RequestMetadata request_metadata = 3; - // Default document policy during creation. Conditions defined in the policy - // will be ignored. + // Default document policy during creation. + // This refers to an Identity and Access (IAM) policy, which specifies access + // controls for the Document. + // Conditions defined in the policy will be ignored. google.iam.v1.Policy policy = 4; - // Request Option for processing Cloud AI Document in CW Document. + // Request Option for processing Cloud AI Document in Document Warehouse. + // This field offers limited support for mapping entities from Cloud AI + // Document to Warehouse Document. Please consult with product team before + // using this field and other available options. CloudAIDocumentOption cloud_ai_document_option = 5; // Field mask for creating Document fields. If mask path is empty, // it means all fields are masked. // For the `FieldMask` definition, // see - // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask + // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask. google.protobuf.FieldMask create_mask = 6; } @@ -111,7 +119,10 @@ message UpdateDocumentRequest { // control for the service. RequestMetadata request_metadata = 3; - // Request Option for processing Cloud AI Document in CW Document. + // Request Option for processing Cloud AI Document in Document Warehouse. + // This field offers limited support for mapping entities from Cloud AI + // Document to Warehouse Document. Please consult with product team before + // using this field and other available options. CloudAIDocumentOption cloud_ai_document_option = 5; // Options for the update operation. @@ -139,6 +150,19 @@ message DeleteDocumentRequest { // Request message for DocumentService.SearchDocuments. message SearchDocumentsRequest { + // The total number of matching documents. + enum TotalResultSize { + // Total number calculation will be skipped. + TOTAL_RESULT_SIZE_UNSPECIFIED = 0; + + // Estimate total number. The total result size will be accurated up to + // 10,000. This option will add cost and latency to your request. + ESTIMATED_SIZE = 1; + + // It may adversely impact performance. The limit is 1000,000. + ACTUAL_SIZE = 2; + } + // Required. The parent, which owns this collection of documents. // Format: projects/{project_number}/locations/{location}. string parent = 1 [ @@ -157,7 +181,9 @@ message SearchDocumentsRequest { // An integer that specifies the current offset (that is, starting result // location, amongst the documents deemed by the API as relevant) in search - // results. This field is only considered if [page_token][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.page_token] is unset. + // results. This field is only considered if + // [page_token][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.page_token] + // is unset. // // The maximum allowed value is 5000. Otherwise an error is thrown. // @@ -173,8 +199,9 @@ message SearchDocumentsRequest { int32 page_size = 6; // The token specifying the current offset within search results. - // See [SearchDocumentsResponse.next_page_token][google.cloud.contentwarehouse.v1.SearchDocumentsResponse.next_page_token] for an explanation of how - // to obtain the next set of query results. + // See + // [SearchDocumentsResponse.next_page_token][google.cloud.contentwarehouse.v1.SearchDocumentsResponse.next_page_token] + // for an explanation of how to obtain the next set of query results. string page_token = 7; // The criteria determining how search results are sorted. For non-empty @@ -189,6 +216,9 @@ message SearchDocumentsRequest { // * `"upload_date"`: By upload date ascending. // * `"update_date desc"`: By last updated date descending. // * `"update_date"`: By last updated date ascending. + // * `"retrieval_importance desc"`: By retrieval importance of properties + // descending. This feature is still under development, please do not use + // unless otherwise instructed to do so. string order_by = 8; // An expression specifying a histogram request against matching @@ -223,8 +253,9 @@ message SearchDocumentsRequest { // count('abc123.MORTGAGE_TYPE') repeated HistogramQuery histogram_queries = 9; - // Optional. Controls if the search document request requires the return of a total size - // of matched documents. See [SearchDocumentsResponse.total_size][google.cloud.contentwarehouse.v1.SearchDocumentsResponse.total_size]. + // Controls if the search document request requires the return of a total size + // of matched documents. See + // [SearchDocumentsResponse.total_size][google.cloud.contentwarehouse.v1.SearchDocumentsResponse.total_size]. // // Enabling this flag may adversely impact performance. Hint: If this is // used with pagination, set this flag on the initial query but set this @@ -233,6 +264,11 @@ message SearchDocumentsRequest { // Defaults to false. bool require_total_size = 10; + // Controls if the search document request requires the return of a total size + // of matched documents. See + // [SearchDocumentsResponse.total_size][google.cloud.contentwarehouse.v1.SearchDocumentsResponse.total_size]. + TotalResultSize total_result_size = 12; + // Experimental, do not use. // The limit on the number of documents returned for the question-answering // feature. To enable the question-answering feature, set @@ -240,11 +276,32 @@ message SearchDocumentsRequest { int32 qa_size_limit = 11; } +// Request message for DocumentService.LockDocument. +message LockDocumentRequest { + // Required. The name of the document to lock. + // Format: + // projects/{project_number}/locations/{location}/documents/{document}. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "contentwarehouse.googleapis.com/Document" + } + ]; + + // The collection the document connects to. + string collection_id = 2; + + // The user information who locks the document. + UserInfo locking_user = 3; +} + // Request message for DocumentService.FetchAcl message FetchAclRequest { // Required. REQUIRED: The resource for which the policy is being requested. // Format for document: // projects/{project_number}/locations/{location}/documents/{document_id}. + // Format for collection: + // projects/{project_number}/locations/{location}/collections/{collection_id}. // Format for project: projects/{project_number}. string resource = 1 [(google.api.field_behavior) = REQUIRED]; @@ -262,11 +319,30 @@ message SetAclRequest { // Required. REQUIRED: The resource for which the policy is being requested. // Format for document: // projects/{project_number}/locations/{location}/documents/{document_id}. + // Format for collection: + // projects/{project_number}/locations/{location}/collections/{collection_id}. // Format for project: projects/{project_number}. string resource = 1 [(google.api.field_behavior) = REQUIRED]; - // Required. REQUIRED: The complete policy to be applied to the `resource`. The size of - // the policy is limited to a few 10s of KB. + // Required. REQUIRED: The complete policy to be applied to the `resource`. + // The size of the policy is limited to a few 10s of KB. This refers to an + // Identity and Access (IAM) policy, which specifies access controls for the + // Document. + // + // You can set ACL with condition for projects only. + // + // Supported operators are: `=`, `!=`, `<`, `<=`, `>`, and `>=` where + // the left of the operator is `DocumentSchemaId` or property name and the + // right of the operator is a number or a quoted string. You must escape + // backslash (\\) and quote (\") characters. + // + // Boolean expressions (AND/OR) are supported up to 3 levels of nesting (for + // example, "((A AND B AND C) OR D) AND E"), a maximum of 10 comparisons are + // allowed in the expression. The expression must be < 6000 bytes in length. + // + // Sample condition: + // `"DocumentSchemaId = \"some schema id\" OR SchemaId.floatPropertyName + // >= 10"` google.iam.v1.Policy policy = 2 [(google.api.field_behavior) = REQUIRED]; // The meta information collected about the end user, used to enforce access diff --git a/third_party/googleapis/google/cloud/contentwarehouse/v1/filters.proto b/third_party/googleapis/google/cloud/contentwarehouse/v1/filters.proto index 2c43dfffb..cd490a990 100644 --- a/third_party/googleapis/google/cloud/contentwarehouse/v1/filters.proto +++ b/third_party/googleapis/google/cloud/contentwarehouse/v1/filters.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -19,23 +19,68 @@ package google.cloud.contentwarehouse.v1; import "google/api/resource.proto"; import "google/type/interval.proto"; +option csharp_namespace = "Google.Cloud.ContentWarehouse.V1"; option go_package = "cloud.google.com/go/contentwarehouse/apiv1/contentwarehousepb;contentwarehousepb"; option java_multiple_files = true; option java_outer_classname = "FiltersProto"; option java_package = "com.google.cloud.contentwarehouse.v1"; +option php_namespace = "Google\\Cloud\\ContentWarehouse\\V1"; +option ruby_package = "Google::Cloud::ContentWarehouse::V1"; message DocumentQuery { // The query string that matches against the full text of the document and // the searchable properties. + // + // The query partially supports [Google AIP style + // syntax](https://google.aip.dev/160). Specifically, the query supports + // literals, logical operators, negation operators, comparison operators, and + // functions. + // + // Literals: A bare literal value (examples: "42", "Hugo") is a value to be + // matched against. It searches over the full text of the document and the + // searchable properties. + // + // Logical operators: "AND", "and", "OR", and "or" are binary logical + // operators (example: "engineer OR developer"). + // + // Negation operators: "NOT" and "!" are negation operators (example: "NOT + // software"). + // + // Comparison operators: support the binary comparison operators =, !=, <, >, + // <= and >= for string, numeric, enum, boolean. Also support like operator + // `~~` for string. It provides semantic search functionality by parsing, + // stemming and doing synonyms expansion against the input query. + // + // To specify a property in the query, the left hand side expression in the + // comparison must be the property ID including the parent. The right hand + // side must be literals. For example: + // "\"projects/123/locations/us\".property_a < 1" matches results whose + // "property_a" is less than 1 in project 123 and us location. + // The literals and comparison expression can be connected in a single query + // (example: "software engineer \"projects/123/locations/us\".salary > 100"). + // + // Functions: supported functions are `LOWER([property_name])` to perform a + // case insensitive match and `EMPTY([property_name])` to filter on the + // existence of a key. + // + // Support nested expressions connected using parenthesis and logical + // operators. The default logical operators is `AND` if there is no operators + // between expressions. + // + // The query can be used with other filters e.g. `time_filters` and + // `folder_name_filter`. They are connected with `AND` operator under the + // hood. + // // The maximum number of allowed characters is 255. string query = 1; // Experimental, do not use. // If the query is a natural language question. False by default. If true, // then the question-answering feature will be used instead of search, and - // `result_count` in [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest] must be set. In addition, all - // other input fields related to search (pagination, histograms, etc.) will be - // ignored. + // `result_count` in + // [SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest] + // must be set. In addition, all other input fields related to search + // (pagination, histograms, etc.) will be ignored. bool is_nl_query = 12; // This filter specifies a structured syntax to match against the @@ -64,7 +109,8 @@ message DocumentQuery { repeated TimeFilter time_filters = 5; // This filter specifies the exact document schema - // [Document.document_schema_name][google.cloud.contentwarehouse.v1.Document.document_schema_name] of the documents to search against. + // [Document.document_schema_name][google.cloud.contentwarehouse.v1.Document.document_schema_name] + // of the documents to search against. // // If a value isn't specified, documents within the search results are // associated with any schema. If multiple values are specified, documents @@ -75,8 +121,8 @@ message DocumentQuery { repeated string document_schema_names = 6; // This filter specifies a structured syntax to match against the - // [PropertyDefinition.is_filterable][google.cloud.contentwarehouse.v1.PropertyDefinition.is_filterable] marked as `true`. The relationship - // between the PropertyFilters is OR. + // [PropertyDefinition.is_filterable][google.cloud.contentwarehouse.v1.PropertyDefinition.is_filterable] + // marked as `true`. The relationship between the PropertyFilters is OR. repeated PropertyFilter property_filter = 7; // This filter specifies the types of files to return: ALL, FOLDER, or FILE. @@ -92,6 +138,11 @@ message DocumentQuery { // projects/{project_number}/locations/{location}/documents/{document_id}. string folder_name_filter = 9; + // Search the documents in the list. + // Format: + // projects/{project_number}/locations/{location}/documents/{document_id}. + repeated string document_name_filter = 14; + // For custom synonyms. // Customers provide the synonyms based on context. One customer can provide // multiple set of synonyms based on different context. The search query will @@ -108,6 +159,13 @@ message DocumentQuery { // within the search results may be associated with any of the specified // creators. repeated string document_creator_filter = 11; + + // To support the custom weighting across document schemas, customers need to + // provide the properties to be used to boost the ranking in the search + // request. For a search query with CustomWeightsMetadata specified, only the + // RetrievalImportance for the properties in the CustomWeightsMetadata will + // be honored. + CustomWeightsMetadata custom_weights_metadata = 13; } // Filter on create timestamp or update timestamp of documents. @@ -122,6 +180,9 @@ message TimeFilter { // Latest document update time. UPDATE_TIME = 2; + + // Time when document becomes mutable again. + DISPOSITION_TIME = 3; } google.type.Interval time_range = 1; @@ -133,12 +194,13 @@ message TimeFilter { } message PropertyFilter { - // The Document schema name [Document.document_schema_name][google.cloud.contentwarehouse.v1.Document.document_schema_name]. + // The Document schema name + // [Document.document_schema_name][google.cloud.contentwarehouse.v1.Document.document_schema_name]. // Format: // projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}. string document_schema_name = 1 [(google.api.resource_reference) = { - type: "contentwarehouse.googleapis.com/DocumentSchema" - }]; + type: "contentwarehouse.googleapis.com/DocumentSchema" + }]; // The filter condition. // The syntax for this expression is a subset of SQL syntax. @@ -167,10 +229,11 @@ message PropertyFilter { // be < 6000 bytes in length. // // Only properties that are marked filterable are allowed - // ([PropertyDefinition.is_filterable][google.cloud.contentwarehouse.v1.PropertyDefinition.is_filterable]). Property names do not need to be - // prefixed by the document schema id (as is the case with histograms), - // however property names will need to be prefixed by its parent hierarchy, if - // any. For example: top_property_name.sub_property_name. + // ([PropertyDefinition.is_filterable][google.cloud.contentwarehouse.v1.PropertyDefinition.is_filterable]). + // Property names do not need to be prefixed by the document schema id (as is + // the case with histograms), however property names will need to be prefixed + // by its parent hierarchy, if any. For example: + // top_property_name.sub_property_name. // // Sample Query: // `(LOWER(driving_license)="class \"a\"" OR EMPTY(driving_license)) AND @@ -199,8 +262,29 @@ message FileTypeFilter { // Returns only non-folder documents. DOCUMENT = 3; + + // Returns only root folders + ROOT_FOLDER = 4; } // The type of files to return. FileType file_type = 1; } + +// To support the custom weighting across document schemas. +message CustomWeightsMetadata { + // List of schema and property name. Allows a maximum of 10 schemas to be + // specified for relevance boosting. + repeated WeightedSchemaProperty weighted_schema_properties = 1; +} + +// Specifies the schema property name. +message WeightedSchemaProperty { + // The document schema name. + string document_schema_name = 1 [(google.api.resource_reference) = { + type: "contentwarehouse.googleapis.com/DocumentSchema" + }]; + + // The property definition names in the schema. + repeated string property_names = 2; +} diff --git a/third_party/googleapis/google/cloud/contentwarehouse/v1/histogram.proto b/third_party/googleapis/google/cloud/contentwarehouse/v1/histogram.proto index 5c73cea74..9a25872f7 100644 --- a/third_party/googleapis/google/cloud/contentwarehouse/v1/histogram.proto +++ b/third_party/googleapis/google/cloud/contentwarehouse/v1/histogram.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -19,17 +19,22 @@ package google.cloud.contentwarehouse.v1; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +option csharp_namespace = "Google.Cloud.ContentWarehouse.V1"; option go_package = "cloud.google.com/go/contentwarehouse/apiv1/contentwarehousepb;contentwarehousepb"; option java_multiple_files = true; option java_outer_classname = "HistogramProto"; option java_package = "com.google.cloud.contentwarehouse.v1"; +option php_namespace = "Google\\Cloud\\ContentWarehouse\\V1"; +option ruby_package = "Google::Cloud::ContentWarehouse::V1"; // The histogram request. message HistogramQuery { // An expression specifies a histogram request against matching documents for // searches. // - // See [SearchDocumentsRequest.histogram_queries][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries] for details about syntax. + // See + // [SearchDocumentsRequest.histogram_queries][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries] + // for details about syntax. string histogram_query = 1; // Controls if the histogram query requires the return of a precise count. @@ -38,12 +43,12 @@ message HistogramQuery { // Defaults to true. bool require_precise_result_size = 2; - // Optional. Filter the result of histogram query by the property names. It only works - // with histogram query count('FilterableProperties'). - // It is an optional. It will perform histogram on all the property names for - // all the document schemas. Setting this field will have a better - // performance. - HistogramQueryPropertyNameFilter filters = 3 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Filter the result of histogram query by the property names. It + // only works with histogram query count('FilterableProperties'). It is an + // optional. It will perform histogram on all the property names for all the + // document schemas. Setting this field will have a better performance. + HistogramQueryPropertyNameFilter filters = 3 + [(google.api.field_behavior) = OPTIONAL]; } message HistogramQueryPropertyNameFilter { @@ -62,16 +67,16 @@ message HistogramQueryPropertyNameFilter { } // This filter specifies the exact document schema(s) - // [Document.document_schema_name][google.cloud.contentwarehouse.v1.Document.document_schema_name] to run histogram query against. - // It is optional. It will perform histogram for property names for all the - // document schemas if it is not set. + // [Document.document_schema_name][google.cloud.contentwarehouse.v1.Document.document_schema_name] + // to run histogram query against. It is optional. It will perform histogram + // for property names for all the document schemas if it is not set. // // At most 10 document schema names are allowed. // Format: // projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}. repeated string document_schemas = 1 [(google.api.resource_reference) = { - type: "contentwarehouse.googleapis.com/DocumentSchema" - }]; + type: "contentwarehouse.googleapis.com/DocumentSchema" + }]; // It is optional. It will perform histogram for all the property names if it // is not set. @@ -87,7 +92,9 @@ message HistogramQueryPropertyNameFilter { HistogramYAxis y_axis = 3; } -// Histogram result that matches [HistogramQuery][google.cloud.contentwarehouse.v1.HistogramQuery] specified in searches. +// Histogram result that matches +// [HistogramQuery][google.cloud.contentwarehouse.v1.HistogramQuery] specified +// in searches. message HistogramQueryResult { // Requested histogram expression. string histogram_query = 1; diff --git a/third_party/googleapis/google/cloud/contentwarehouse/v1/rule_engine.proto b/third_party/googleapis/google/cloud/contentwarehouse/v1/rule_engine.proto index 2f69d5e83..9cf5a3da8 100644 --- a/third_party/googleapis/google/cloud/contentwarehouse/v1/rule_engine.proto +++ b/third_party/googleapis/google/cloud/contentwarehouse/v1/rule_engine.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,10 +20,13 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/iam/v1/policy.proto"; +option csharp_namespace = "Google.Cloud.ContentWarehouse.V1"; option go_package = "cloud.google.com/go/contentwarehouse/apiv1/contentwarehousepb;contentwarehousepb"; option java_multiple_files = true; option java_outer_classname = "RuleEngineProto"; option java_package = "com.google.cloud.contentwarehouse.v1"; +option php_namespace = "Google\\Cloud\\ContentWarehouse\\V1"; +option ruby_package = "Google::Cloud::ContentWarehouse::V1"; // Represents a set of rules from a single customer. message RuleSet { @@ -51,7 +54,9 @@ message RuleSet { // Represents the rule for a content warehouse trigger. message Rule { + // The trigger types for actions. enum TriggerType { + // Trigger for unknown action. UNKNOWN = 0; // Trigger for create document action. @@ -59,6 +64,12 @@ message Rule { // Trigger for update document action. ON_UPDATE = 4; + + // Trigger for create link action. + ON_CREATE_LINK = 7; + + // Trigger for delete link action. + ON_DELETE_LINK = 8; } // Short description of the rule and its context. @@ -115,6 +126,7 @@ message Action { message AccessControlAction { // Type of ACL modification operation. enum OperationType { + // The unknown operation type. UNKNOWN = 0; // Adds newly given policy bindings in the existing bindings list. @@ -160,8 +172,8 @@ message AddToFolderAction { // Format: // projects/{project_number}/locations/{location}/documents/{document_id}. repeated string folders = 1 [(google.api.resource_reference) = { - type: "contentwarehouse.googleapis.com/Document" - }]; + type: "contentwarehouse.googleapis.com/Document" + }]; } // Represents the action responsible for remove a document from a specific @@ -174,8 +186,8 @@ message RemoveFromFolderAction { // Format: // projects/{project_number}/locations/{location}/documents/{document_id}. string folder = 2 [(google.api.resource_reference) = { - type: "contentwarehouse.googleapis.com/Document" - }]; + type: "contentwarehouse.googleapis.com/Document" + }]; } // Represents the action responsible for publishing messages to a Pub/Sub topic. @@ -250,6 +262,7 @@ message RuleActionsPair { message ActionOutput { // Represents execution state of the action. enum State { + // The unknown state. UNKNOWN = 0; // State indicating action executed successfully. diff --git a/third_party/googleapis/google/cloud/contentwarehouse/v1/ruleset_service.proto b/third_party/googleapis/google/cloud/contentwarehouse/v1/ruleset_service.proto index 9a1fe571b..dc9d1f801 100644 --- a/third_party/googleapis/google/cloud/contentwarehouse/v1/ruleset_service.proto +++ b/third_party/googleapis/google/cloud/contentwarehouse/v1/ruleset_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -22,15 +22,19 @@ import "google/cloud/contentwarehouse/v1/rule_engine.proto"; import "google/cloud/contentwarehouse/v1/ruleset_service_request.proto"; import "google/protobuf/empty.proto"; +option csharp_namespace = "Google.Cloud.ContentWarehouse.V1"; option go_package = "cloud.google.com/go/contentwarehouse/apiv1/contentwarehousepb;contentwarehousepb"; option java_multiple_files = true; option java_outer_classname = "RuleSetServiceProto"; option java_package = "com.google.cloud.contentwarehouse.v1"; +option php_namespace = "Google\\Cloud\\ContentWarehouse\\V1"; +option ruby_package = "Google::Cloud::ContentWarehouse::V1"; // Service to manage customer specific RuleSets. service RuleSetService { option (google.api.default_host) = "contentwarehouse.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Creates a ruleset. rpc CreateRuleSet(CreateRuleSetRequest) returns (RuleSet) { diff --git a/third_party/googleapis/google/cloud/contentwarehouse/v1/ruleset_service_request.proto b/third_party/googleapis/google/cloud/contentwarehouse/v1/ruleset_service_request.proto index 2bca2efef..10a9154ef 100644 --- a/third_party/googleapis/google/cloud/contentwarehouse/v1/ruleset_service_request.proto +++ b/third_party/googleapis/google/cloud/contentwarehouse/v1/ruleset_service_request.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,10 +20,13 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/contentwarehouse/v1/rule_engine.proto"; +option csharp_namespace = "Google.Cloud.ContentWarehouse.V1"; option go_package = "cloud.google.com/go/contentwarehouse/apiv1/contentwarehousepb;contentwarehousepb"; option java_multiple_files = true; option java_outer_classname = "RuleSetServiceRequestProto"; option java_package = "com.google.cloud.contentwarehouse.v1"; +option php_namespace = "Google\\Cloud\\ContentWarehouse\\V1"; +option ruby_package = "Google::Cloud::ContentWarehouse::V1"; // Request message for RuleSetService.CreateRuleSet. message CreateRuleSetRequest { diff --git a/third_party/googleapis/google/cloud/contentwarehouse/v1/synonymset.proto b/third_party/googleapis/google/cloud/contentwarehouse/v1/synonymset.proto index ed989951d..4ffbbe0a4 100644 --- a/third_party/googleapis/google/cloud/contentwarehouse/v1/synonymset.proto +++ b/third_party/googleapis/google/cloud/contentwarehouse/v1/synonymset.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,10 +18,13 @@ package google.cloud.contentwarehouse.v1; import "google/api/resource.proto"; +option csharp_namespace = "Google.Cloud.ContentWarehouse.V1"; option go_package = "cloud.google.com/go/contentwarehouse/apiv1/contentwarehousepb;contentwarehousepb"; option java_multiple_files = true; option java_outer_classname = "SynonymSetProto"; option java_package = "com.google.cloud.contentwarehouse.v1"; +option php_namespace = "Google\\Cloud\\ContentWarehouse\\V1"; +option ruby_package = "Google::Cloud::ContentWarehouse::V1"; // Represents a list of synonyms for a given context. // For example a context "sales" could contain: diff --git a/third_party/googleapis/google/cloud/contentwarehouse/v1/synonymset_service.proto b/third_party/googleapis/google/cloud/contentwarehouse/v1/synonymset_service.proto index 5f3e1625e..697abf6ad 100644 --- a/third_party/googleapis/google/cloud/contentwarehouse/v1/synonymset_service.proto +++ b/third_party/googleapis/google/cloud/contentwarehouse/v1/synonymset_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -22,15 +22,19 @@ import "google/cloud/contentwarehouse/v1/synonymset.proto"; import "google/cloud/contentwarehouse/v1/synonymset_service_request.proto"; import "google/protobuf/empty.proto"; +option csharp_namespace = "Google.Cloud.ContentWarehouse.V1"; option go_package = "cloud.google.com/go/contentwarehouse/apiv1/contentwarehousepb;contentwarehousepb"; option java_multiple_files = true; option java_outer_classname = "SynonymSetServiceProto"; option java_package = "com.google.cloud.contentwarehouse.v1"; +option php_namespace = "Google\\Cloud\\ContentWarehouse\\V1"; +option ruby_package = "Google::Cloud::ContentWarehouse::V1"; // A Service that manage/custom customer specified SynonymSets. service SynonymSetService { option (google.api.default_host) = "contentwarehouse.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Creates a SynonymSet for a single context. // Throws an ALREADY_EXISTS exception if a synonymset already exists @@ -66,7 +70,8 @@ service SynonymSetService { // Deletes a SynonymSet for a given context. // Throws a NOT_FOUND exception if the SynonymSet is not found. - rpc DeleteSynonymSet(DeleteSynonymSetRequest) returns (google.protobuf.Empty) { + rpc DeleteSynonymSet(DeleteSynonymSetRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/synonymSets/*}" }; @@ -74,7 +79,8 @@ service SynonymSetService { } // Returns all SynonymSets (for all contexts) for the specified location. - rpc ListSynonymSets(ListSynonymSetsRequest) returns (ListSynonymSetsResponse) { + rpc ListSynonymSets(ListSynonymSetsRequest) + returns (ListSynonymSetsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/synonymSets" }; diff --git a/third_party/googleapis/google/cloud/contentwarehouse/v1/synonymset_service_request.proto b/third_party/googleapis/google/cloud/contentwarehouse/v1/synonymset_service_request.proto index 89584cd2e..257e07d1a 100644 --- a/third_party/googleapis/google/cloud/contentwarehouse/v1/synonymset_service_request.proto +++ b/third_party/googleapis/google/cloud/contentwarehouse/v1/synonymset_service_request.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,10 +20,13 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/contentwarehouse/v1/synonymset.proto"; +option csharp_namespace = "Google.Cloud.ContentWarehouse.V1"; option go_package = "cloud.google.com/go/contentwarehouse/apiv1/contentwarehousepb;contentwarehousepb"; option java_multiple_files = true; option java_outer_classname = "SynonymSetServiceRequestProto"; option java_package = "com.google.cloud.contentwarehouse.v1"; +option php_namespace = "Google\\Cloud\\ContentWarehouse\\V1"; +option ruby_package = "Google::Cloud::ContentWarehouse::V1"; // Request message for SynonymSetService.CreateSynonymSet. message CreateSynonymSetRequest { diff --git a/third_party/googleapis/google/cloud/datacatalog/BUILD.bazel b/third_party/googleapis/google/cloud/datacatalog/BUILD.bazel index b704a4115..76fd84965 100644 --- a/third_party/googleapis/google/cloud/datacatalog/BUILD.bazel +++ b/third_party/googleapis/google/cloud/datacatalog/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-data_catalog", "ruby-cloud-env-prefix=DATA_CATALOG", - "ruby-cloud-wrapper-of=v1:0.7", + "ruby-cloud-wrapper-of=v1:0.21", "ruby-cloud-product-url=https://cloud.google.com/data-catalog", "ruby-cloud-api-id=datacatalog.googleapis.com", "ruby-cloud-api-shortname=datacatalog", ], ruby_cloud_description = "Data Catalog is a centralized and unified data catalog service for all your Cloud resources, where users and systems can discover data, explore and curate its semantics, understand how to act on it, and help govern its usage.", ruby_cloud_title = "Data Catalog", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/datacatalog/lineage/BUILD.bazel b/third_party/googleapis/google/cloud/datacatalog/lineage/BUILD.bazel index abb64c4c9..4d8d3653a 100644 --- a/third_party/googleapis/google/cloud/datacatalog/lineage/BUILD.bazel +++ b/third_party/googleapis/google/cloud/datacatalog/lineage/BUILD.bazel @@ -21,13 +21,14 @@ ruby_cloud_gapic_library( srcs = ["//google/cloud/datacatalog/lineage/v1:lineage_proto_with_info"], extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-data_catalog-lineage", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.6", "ruby-cloud-product-url=https://cloud.google.com/data-catalog/docs/reference/data-lineage/rpc", "ruby-cloud-api-id=datalineage.googleapis.com", "ruby-cloud-api-shortname=datalineage", ], ruby_cloud_description = "DataCatalog is a centralized and unified data catalog service for all your Cloud resources, where users and systems can discover data, explore and curate its semantics, understand how to act on it, and help govern its usage. Lineage is used to track data flows between assets over time. You can create Lineage Events to record lineage between multiple sources and a single target, for example, when table data is based on data from multiple tables.", ruby_cloud_title = "Data Lineage", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/datacatalog/lineage/v1/BUILD.bazel b/third_party/googleapis/google/cloud/datacatalog/lineage/v1/BUILD.bazel index 4dfb37124..7796a1835 100644 --- a/third_party/googleapis/google/cloud/datacatalog/lineage/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/datacatalog/lineage/v1/BUILD.bazel @@ -114,7 +114,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -134,7 +133,7 @@ go_gapic_library( grpc_service_config = "lineage_grpc_service_config.json", importpath = "cloud.google.com/go/datacatalog/lineage/apiv1;lineage", metadata = True, - release_level = "beta", + release_level = "ga", rest_numeric_enums = True, service_yaml = "datalineage_v1.yaml", transport = "grpc+rest", @@ -147,19 +146,13 @@ go_gapic_library( ], ) -go_test( - name = "lineage_go_gapic_test", - srcs = [":lineage_go_gapic_srcjar_test"], - embed = [":lineage_go_gapic"], - importpath = "cloud.google.com/go/datacatalog/lineage/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-datacatalog-lineage-v1-go", deps = [ ":lineage_go_gapic", ":lineage_go_gapic_srcjar-metadata.srcjar", + ":lineage_go_gapic_srcjar-snippets.srcjar", ":lineage_go_gapic_srcjar-test.srcjar", ":lineage_go_proto", ], @@ -184,6 +177,10 @@ py_gapic_library( transport = "grpc+rest", deps = [ ], + opt_args = [ + "python-gapic-namespace=google.cloud", + "python-gapic-name=datacatalog_lineage", + ], ) py_test( @@ -211,7 +208,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -220,23 +216,15 @@ php_proto_library( deps = [":lineage_proto"], ) -php_grpc_library( - name = "lineage_php_grpc", - srcs = [":lineage_proto"], - deps = [":lineage_php_proto"], -) - php_gapic_library( name = "lineage_php_gapic", srcs = [":lineage_proto_with_info"], grpc_service_config = "lineage_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = False, service_yaml = "datalineage_v1.yaml", transport = "grpc+rest", - deps = [ - ":lineage_php_grpc", - ":lineage_php_proto", - ], + deps = [":lineage_php_proto"], ) # Open Source Packages @@ -244,7 +232,6 @@ php_gapic_assembly_pkg( name = "google-cloud-datacatalog-lineage-v1-php", deps = [ ":lineage_php_gapic", - ":lineage_php_grpc", ":lineage_php_proto", ], ) @@ -315,6 +302,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "DataCatalog is a centralized and unified data catalog service for all your Cloud resources, where users and systems can discover data, explore and curate its semantics, understand how to act on it, and help govern its usage. Lineage is used to track data flows between assets over time. You can create Lineage Events to record lineage between multiple sources and a single target, for example, when table data is based on data from multiple tables.", ruby_cloud_title = "Data Lineage V1", service_yaml = "datalineage_v1.yaml", + transport = "grpc+rest", deps = [ ":lineage_ruby_grpc", ":lineage_ruby_proto", diff --git a/third_party/googleapis/google/cloud/datacatalog/lineage/v1/datalineage_v1.yaml b/third_party/googleapis/google/cloud/datacatalog/lineage/v1/datalineage_v1.yaml index b18b677c5..07d7ff8f3 100644 --- a/third_party/googleapis/google/cloud/datacatalog/lineage/v1/datalineage_v1.yaml +++ b/third_party/googleapis/google/cloud/datacatalog/lineage/v1/datalineage_v1.yaml @@ -9,6 +9,7 @@ apis: types: - name: google.cloud.datacatalog.lineage.v1.OperationMetadata +- name: google.cloud.datacatalog.lineage.v1.ProcessOpenLineageRunEventResponse http: rules: @@ -32,13 +33,3 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform - -publishing: - organization: CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED - new_issue_uri: '' - documentation_uri: '' - api_short_name: '' - github_label: '' - doc_tag_prefix: '' - codeowner_github_teams: - library_settings: diff --git a/third_party/googleapis/google/cloud/datacatalog/lineage/v1/lineage.proto b/third_party/googleapis/google/cloud/datacatalog/lineage/v1/lineage.proto index ed9602a81..3ec3ceed1 100644 --- a/third_party/googleapis/google/cloud/datacatalog/lineage/v1/lineage.proto +++ b/third_party/googleapis/google/cloud/datacatalog/lineage/v1/lineage.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -43,6 +43,19 @@ service Lineage { option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + // Creates new lineage events together with their parents: process and run. + // Updates the process and run if they already exist. + // Mapped from Open Lineage specification: + // https://github.com/OpenLineage/OpenLineage/blob/main/spec/OpenLineage.json. + rpc ProcessOpenLineageRunEvent(ProcessOpenLineageRunEventRequest) + returns (ProcessOpenLineageRunEventResponse) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*}:processOpenLineageRunEvent" + body: "open_lineage" + }; + option (google.api.method_signature) = "parent,open_lineage"; + } + // Creates a new process. rpc CreateProcess(CreateProcessRequest) returns (Process) { option (google.api.http) = { @@ -232,8 +245,11 @@ message Process { // or numbers, spaces or characters like `_-:&.` string display_name = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. The attributes of the process. Can be anything, for example, - // "author". Up to 100 attributes are allowed. + // Optional. The attributes of the process. Should only be used for the + // purpose of non-semantic management (classifying, describing or labeling the + // process). + // + // Up to 100 attributes are allowed. map attributes = 3 [(google.api.field_behavior) = OPTIONAL]; @@ -280,8 +296,10 @@ message Run { // or numbers, spaces or characters like `_-:&.` string display_name = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. The attributes of the run. Can be anything, for example, a string - // with an SQL request. Up to 100 attributes are allowed. + // Optional. The attributes of the run. Should only be used for the purpose of + // non-semantic management (classifying, describing or labeling the run). + // + // Up to 100 attributes are allowed. map attributes = 3 [(google.api.field_behavior) = OPTIONAL]; @@ -316,11 +334,11 @@ message LineageEvent { // Optional. List of source-target pairs. Can't contain more than 100 tuples. repeated EventLink links = 8 [(google.api.field_behavior) = OPTIONAL]; - // Optional. The beginning of the transformation which resulted in this + // Required. The beginning of the transformation which resulted in this // lineage event. For streaming scenarios, it should be the beginning of the // period from which the lineage is being reported. google.protobuf.Timestamp start_time = 6 - [(google.api.field_behavior) = OPTIONAL]; + [(google.api.field_behavior) = REQUIRED]; // Optional. The end of the transformation which resulted in this lineage // event. For streaming scenarios, it should be the end of the period from @@ -340,16 +358,9 @@ message EventLink { // The soft reference to everything you can attach a lineage event to. message EntityReference { - // Required. Fully Qualified Name of the entity. Useful for referencing - // entities that aren't represented as GCP resources, for example, tables in - // Dataproc Metastore API. - // - // Examples: - // - // * `bigquery:dataset.project_id.dataset_id` - // * `bigquery:table.project_id.dataset_id.table_id` - // * `pubsub:project_id.topic_id` - // * `dataproc_metastore:projectId.locationId.instanceId.databaseId.tableId` + // Required. [Fully Qualified Name + // (FQN)](https://cloud.google.com/data-catalog/docs/fully-qualified-names) + // of the entity. string fully_qualified_name = 1 [(google.api.field_behavior) = REQUIRED]; } @@ -380,6 +391,9 @@ message OperationMetadata { // The resource deletion operation. DELETE = 1; + + // The resource creation operation. + CREATE = 2; } // Output only. The current operation state. @@ -406,6 +420,48 @@ message OperationMetadata { [(google.api.field_behavior) = OUTPUT_ONLY]; } +// Request message for +// [ProcessOpenLineageRunEvent][google.cloud.datacatalog.lineage.v1.ProcessOpenLineageRunEvent]. +message ProcessOpenLineageRunEventRequest { + // Required. The name of the project and its location that should own the + // process, run, and lineage event. + string parent = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. OpenLineage message following OpenLineage format: + // https://github.com/OpenLineage/OpenLineage/blob/main/spec/OpenLineage.json + google.protobuf.Struct open_lineage = 2 + [(google.api.field_behavior) = REQUIRED]; + + // A unique identifier for this request. Restricted to 36 ASCII characters. + // A random UUID is recommended. This request is idempotent only if a + // `request_id` is provided. + string request_id = 3; +} + +// Response message for +// [ProcessOpenLineageRunEvent][google.cloud.datacatalog.lineage.v1.ProcessOpenLineageRunEvent]. +message ProcessOpenLineageRunEventResponse { + // Created process name. + // Format: `projects/{project}/locations/{location}/processes/{process}`. + string process = 1 [(google.api.resource_reference) = { + type: "datalineage.googleapis.com/Process" + }]; + + // Created run name. + // Format: + // `projects/{project}/locations/{location}/processes/{process}/runs/{run}`. + string run = 2 [ + (google.api.resource_reference) = { type: "datalineage.googleapis.com/Run" } + ]; + + // Created lineage event names. + // Format: + // `projects/{project}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}`. + repeated string lineage_events = 3 [(google.api.resource_reference) = { + type: "datalineage.googleapis.com/LineageEvent" + }]; +} + // Request message for // [CreateProcess][google.cloud.datacatalog.lineage.v1.CreateProcess]. message CreateProcessRequest { @@ -542,6 +598,9 @@ message UpdateRunRequest { // The list of fields to update. Currently not used. The whole message is // updated. google.protobuf.FieldMask update_mask = 2; + + // If set to true and the run is not found, the request creates it. + bool allow_missing = 3; } // Request message for @@ -861,9 +920,16 @@ message Origin { // Looker Studio LOOKER_STUDIO = 5; + + // Dataproc + DATAPROC = 6; } // Type of the source. + // + // Use of a source_type other than `CUSTOM` for process creation + // or updating is highly discouraged, and may be restricted in the future + // without notice. SourceType source_type = 1; // If the source_type isn't CUSTOM, the value of this field should be a GCP diff --git a/third_party/googleapis/google/cloud/datacatalog/v1/BUILD.bazel b/third_party/googleapis/google/cloud/datacatalog/v1/BUILD.bazel index 3caf0315d..3c4fcca11 100644 --- a/third_party/googleapis/google/cloud/datacatalog/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/datacatalog/v1/BUILD.bazel @@ -26,6 +26,7 @@ proto_library( "data_source.proto", "datacatalog.proto", "dataplex_spec.proto", + "dump_content.proto", "gcs_fileset_spec.proto", "physical_schema.proto", "policytagmanager.proto", @@ -44,6 +45,8 @@ proto_library( "//google/api:resource_proto", "//google/iam/v1:iam_policy_proto", "//google/iam/v1:policy_proto", + "//google/longrunning:operations_proto", + "//google/rpc:status_proto", "@com_google_protobuf//:empty_proto", "@com_google_protobuf//:field_mask_proto", "@com_google_protobuf//:timestamp_proto", @@ -55,6 +58,7 @@ proto_library_with_info( deps = [ ":datacatalog_proto", "//google/cloud:common_resources_proto", + "//google/iam/v1:iam_policy_proto", ], ) @@ -84,15 +88,18 @@ java_grpc_library( java_gapic_library( name = "datacatalog_java_gapic", srcs = [":datacatalog_proto_with_info"], + gapic_yaml = None, grpc_service_config = "datacatalog_grpc_service_config.json", rest_numeric_enums = False, + service_yaml = "datacatalog_v1.yaml", test_deps = [ - ":datacatalog_java_grpc", "//google/iam/v1:iam_java_grpc", + ":datacatalog_java_grpc", ], transport = "grpc+rest", deps = [ ":datacatalog_java_proto", + "//google/api:api_java_proto", "//google/iam/v1:iam_java_proto", ], ) @@ -114,6 +121,7 @@ java_gapic_test( java_gapic_assembly_gradle_pkg( name = "google-cloud-datacatalog-v1-java", include_samples = True, + transport = "grpc+rest", deps = [ ":datacatalog_java_gapic", ":datacatalog_java_grpc", @@ -130,7 +138,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -141,6 +148,8 @@ go_proto_library( deps = [ "//google/api:annotations_go_proto", "//google/iam/v1:iam_go_proto", + "//google/longrunning:longrunning_go_proto", + "//google/rpc:status_go_proto", ], ) @@ -157,22 +166,19 @@ go_gapic_library( deps = [ ":datacatalog_go_proto", "//google/iam/v1:iam_go_proto", + "//google/longrunning:longrunning_go_proto", + "@com_google_cloud_go_longrunning//:go_default_library", + "@com_google_cloud_go_longrunning//autogen:go_default_library", ], ) -go_test( - name = "datacatalog_go_gapic_test", - srcs = [":datacatalog_go_gapic_srcjar_test"], - embed = [":datacatalog_go_gapic"], - importpath = "cloud.google.com/go/datacatalog/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-datacatalog-v1-go", deps = [ ":datacatalog_go_gapic", ":datacatalog_go_gapic_srcjar-metadata.srcjar", + ":datacatalog_go_gapic_srcjar-snippets.srcjar", ":datacatalog_go_gapic_srcjar-test.srcjar", ":datacatalog_go_proto", ], @@ -225,7 +231,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -234,21 +239,15 @@ php_proto_library( deps = [":datacatalog_proto"], ) -php_grpc_library( - name = "datacatalog_php_grpc", - srcs = [":datacatalog_proto"], - deps = [":datacatalog_php_proto"], -) - php_gapic_library( name = "datacatalog_php_gapic", srcs = [":datacatalog_proto_with_info"], grpc_service_config = "datacatalog_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = False, service_yaml = "datacatalog_v1.yaml", transport = "grpc+rest", deps = [ - ":datacatalog_php_grpc", ":datacatalog_php_proto", ], ) @@ -258,7 +257,6 @@ php_gapic_assembly_pkg( name = "google-cloud-datacatalog-v1-php", deps = [ ":datacatalog_php_gapic", - ":datacatalog_php_grpc", ":datacatalog_php_proto", ], ) @@ -332,6 +330,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "DataCatalog is a centralized and unified data catalog service for all your Cloud resources, where users and systems can discover data, explore and curate its semantics, understand how to act on it, and help govern its usage.", ruby_cloud_title = "Data Catalog V1", service_yaml = "datacatalog_v1.yaml", + transport = "grpc+rest", deps = [ ":datacatalog_ruby_grpc", ":datacatalog_ruby_proto", diff --git a/third_party/googleapis/google/cloud/datacatalog/v1/bigquery.proto b/third_party/googleapis/google/cloud/datacatalog/v1/bigquery.proto index 33994ac3f..72088e8f4 100644 --- a/third_party/googleapis/google/cloud/datacatalog/v1/bigquery.proto +++ b/third_party/googleapis/google/cloud/datacatalog/v1/bigquery.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/datacatalog/v1/common.proto b/third_party/googleapis/google/cloud/datacatalog/v1/common.proto index 11483e32f..bb3ec486b 100644 --- a/third_party/googleapis/google/cloud/datacatalog/v1/common.proto +++ b/third_party/googleapis/google/cloud/datacatalog/v1/common.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -51,4 +51,32 @@ enum IntegratedSystem { // Dataplex. DATAPLEX = 4; + + // Cloud Spanner + CLOUD_SPANNER = 6; + + // Cloud Bigtable + CLOUD_BIGTABLE = 7; + + // Cloud Sql + CLOUD_SQL = 8; + + // Looker + LOOKER = 9; + + // Vertex AI + VERTEX_AI = 10; +} + +// This enum describes all the systems that manage +// Taxonomy and PolicyTag resources in DataCatalog. +enum ManagingSystem { + // Default value + MANAGING_SYSTEM_UNSPECIFIED = 0; + + // Dataplex. + MANAGING_SYSTEM_DATAPLEX = 1; + + // Other + MANAGING_SYSTEM_OTHER = 2; } diff --git a/third_party/googleapis/google/cloud/datacatalog/v1/data_source.proto b/third_party/googleapis/google/cloud/datacatalog/v1/data_source.proto index faf266662..d026379ad 100644 --- a/third_party/googleapis/google/cloud/datacatalog/v1/data_source.proto +++ b/third_party/googleapis/google/cloud/datacatalog/v1/data_source.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/datacatalog/v1/datacatalog.proto b/third_party/googleapis/google/cloud/datacatalog/v1/datacatalog.proto index 7c03a04d8..9c6452db2 100644 --- a/third_party/googleapis/google/cloud/datacatalog/v1/datacatalog.proto +++ b/third_party/googleapis/google/cloud/datacatalog/v1/datacatalog.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -33,8 +33,10 @@ import "google/cloud/datacatalog/v1/timestamps.proto"; import "google/cloud/datacatalog/v1/usage.proto"; import "google/iam/v1/iam_policy.proto"; import "google/iam/v1/policy.proto"; +import "google/longrunning/operations.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; +import "google/rpc/status.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.DataCatalog.V1"; @@ -52,7 +54,8 @@ option (google.api.resource_definition) = { // your data. service DataCatalog { option (google.api.default_host) = "datacatalog.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Searches Data Catalog for multiple resources like entries and tags that // match a query. @@ -142,7 +145,8 @@ service DataCatalog { // identified by the `name` parameter. For more information, see [Data Catalog // resource // project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). - rpc DeleteEntryGroup(DeleteEntryGroupRequest) returns (google.protobuf.Empty) { + rpc DeleteEntryGroup(DeleteEntryGroupRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/entryGroups/*}" }; @@ -150,7 +154,8 @@ service DataCatalog { } // Lists entry groups. - rpc ListEntryGroups(ListEntryGroupsRequest) returns (ListEntryGroupsResponse) { + rpc ListEntryGroups(ListEntryGroupsRequest) + returns (ListEntryGroupsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/entryGroups" }; @@ -272,7 +277,8 @@ service DataCatalog { post: "/v1/{parent=projects/*/locations/*}/tagTemplates" body: "tag_template" }; - option (google.api.method_signature) = "parent,tag_template_id,tag_template"; + option (google.api.method_signature) = + "parent,tag_template_id,tag_template"; } // Gets a tag template. @@ -306,7 +312,8 @@ service DataCatalog { // You must enable the Data Catalog API in the project identified by // the `name` parameter. For more information, see [Data Catalog resource // project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). - rpc DeleteTagTemplate(DeleteTagTemplateRequest) returns (google.protobuf.Empty) { + rpc DeleteTagTemplate(DeleteTagTemplateRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/tagTemplates/*}" }; @@ -318,12 +325,14 @@ service DataCatalog { // You must enable the Data Catalog API in the project identified by // the `parent` parameter. For more information, see [Data Catalog resource // project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). - rpc CreateTagTemplateField(CreateTagTemplateFieldRequest) returns (TagTemplateField) { + rpc CreateTagTemplateField(CreateTagTemplateFieldRequest) + returns (TagTemplateField) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*/tagTemplates/*}/fields" body: "tag_template_field" }; - option (google.api.method_signature) = "parent,tag_template_field_id,tag_template_field"; + option (google.api.method_signature) = + "parent,tag_template_field_id,tag_template_field"; } // Updates a field in a tag template. @@ -334,13 +343,15 @@ service DataCatalog { // identified by the `name` parameter. For more information, see [Data Catalog // resource // project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). - rpc UpdateTagTemplateField(UpdateTagTemplateFieldRequest) returns (TagTemplateField) { + rpc UpdateTagTemplateField(UpdateTagTemplateFieldRequest) + returns (TagTemplateField) { option (google.api.http) = { patch: "/v1/{name=projects/*/locations/*/tagTemplates/*/fields/*}" body: "tag_template_field" }; option (google.api.method_signature) = "name,tag_template_field"; - option (google.api.method_signature) = "name,tag_template_field,update_mask"; + option (google.api.method_signature) = + "name,tag_template_field,update_mask"; } // Renames a field in a tag template. @@ -348,7 +359,8 @@ service DataCatalog { // You must enable the Data Catalog API in the project identified by the // `name` parameter. For more information, see [Data Catalog resource project] // (https://cloud.google.com/data-catalog/docs/concepts/resource-project). - rpc RenameTagTemplateField(RenameTagTemplateFieldRequest) returns (TagTemplateField) { + rpc RenameTagTemplateField(RenameTagTemplateFieldRequest) + returns (TagTemplateField) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/tagTemplates/*/fields/*}:rename" body: "*" @@ -359,7 +371,8 @@ service DataCatalog { // Renames an enum value in a tag template. // // Within a single enum field, enum values must be unique. - rpc RenameTagTemplateFieldEnumValue(RenameTagTemplateFieldEnumValueRequest) returns (TagTemplateField) { + rpc RenameTagTemplateFieldEnumValue(RenameTagTemplateFieldEnumValueRequest) + returns (TagTemplateField) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/tagTemplates/*/fields/*/enumValues/*}:rename" body: "*" @@ -373,7 +386,8 @@ service DataCatalog { // You must enable the Data Catalog API in the project identified by // the `name` parameter. For more information, see [Data Catalog resource // project](https://cloud.google.com/data-catalog/docs/concepts/resource-project). - rpc DeleteTagTemplateField(DeleteTagTemplateFieldRequest) returns (google.protobuf.Empty) { + rpc DeleteTagTemplateField(DeleteTagTemplateFieldRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/tagTemplates/*/fields/*}" }; @@ -442,6 +456,31 @@ service DataCatalog { option (google.api.method_signature) = "parent"; } + // `ReconcileTags` creates or updates a list of tags on the entry. + // If the + // [ReconcileTagsRequest.force_delete_missing][google.cloud.datacatalog.v1.ReconcileTagsRequest.force_delete_missing] + // parameter is set, the operation deletes tags not included in the input tag + // list. + // + // `ReconcileTags` returns a [long-running operation] + // [google.longrunning.Operation] resource that can be queried with + // [Operations.GetOperation][google.longrunning.Operations.GetOperation] + // to return [ReconcileTagsMetadata] + // [google.cloud.datacatalog.v1.ReconcileTagsMetadata] and + // a [ReconcileTagsResponse] + // [google.cloud.datacatalog.v1.ReconcileTagsResponse] message. + rpc ReconcileTags(ReconcileTagsRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*/entryGroups/*/entries/*}/tags:reconcile" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "ReconcileTagsResponse" + metadata_type: "ReconcileTagsMetadata" + }; + } + // Marks an [Entry][google.cloud.datacatalog.v1.Entry] as starred by // the current user. Starring information is private to each user. rpc StarEntry(StarEntryRequest) returns (StarEntryResponse) { @@ -479,7 +518,8 @@ service DataCatalog { // - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag // templates. // - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups. - rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v1/{resource=projects/*/locations/*/tagTemplates/*}:setIamPolicy" body: "*" @@ -512,7 +552,8 @@ service DataCatalog { // - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag // templates. // - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups. - rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v1/{resource=projects/*/locations/*/tagTemplates/*}:getIamPolicy" body: "*" @@ -542,7 +583,8 @@ service DataCatalog { // external Google Cloud Platform resources ingested into Data Catalog. // // No Google IAM permissions are required to call this method. - rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) { + rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) + returns (google.iam.v1.TestIamPermissionsResponse) { option (google.api.http) = { post: "/v1/{resource=projects/*/locations/*/tagTemplates/*}:testIamPermissions" body: "*" @@ -556,6 +598,36 @@ service DataCatalog { } }; } + + // Imports entries from a source, such as data previously dumped into a + // Cloud Storage bucket, into Data Catalog. Import of entries + // is a sync operation that reconciles the state of the third-party system + // with the Data Catalog. + // + // `ImportEntries` accepts source data snapshots of a third-party system. + // Snapshot should be delivered as a .wire or base65-encoded .txt file + // containing a sequence of Protocol Buffer messages of + // [DumpItem][google.cloud.datacatalog.v1.DumpItem] type. + // + // `ImportEntries` returns a [long-running operation] + // [google.longrunning.Operation] resource that can be queried with + // [Operations.GetOperation][google.longrunning.Operations.GetOperation] + // to return + // [ImportEntriesMetadata][google.cloud.datacatalog.v1.ImportEntriesMetadata] + // and an + // [ImportEntriesResponse][google.cloud.datacatalog.v1.ImportEntriesResponse] + // message. + rpc ImportEntries(ImportEntriesRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*/entryGroups/*}/entries:import" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "ImportEntriesResponse" + metadata_type: "ImportEntriesMetadata" + }; + } } // Request message for @@ -576,15 +648,15 @@ message SearchCatalogRequest { // numbers, see [Projects](/docs/overview/#projects). repeated string include_project_ids = 3; - // If `true`, include Google Cloud Platform (GCP) public datasets in + // If `true`, include Google Cloud public datasets in // search results. By default, they are excluded. // // See [Google Cloud Public Datasets](/public-datasets) for more // information. bool include_gcp_public_datasets = 7; - // Optional. The list of locations to search within. If empty, all locations are - // searched. + // Optional. The list of locations to search within. If empty, all locations + // are searched. // // Returns an error if any location in the list isn't one of the [Supported // regions](https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions). @@ -593,19 +665,18 @@ message SearchCatalogRequest { // `SearchCatalogResponse.unreachable` field. To get additional information // on the error, repeat the search request and set the location name as the // value of this parameter. - repeated string restricted_locations = 16 [(google.api.field_behavior) = OPTIONAL]; + repeated string restricted_locations = 16 + [(google.api.field_behavior) = OPTIONAL]; // Optional. If `true`, search only among starred entries. // // By default, all results are returned, starred or not. bool starred_only = 18 [(google.api.field_behavior) = OPTIONAL]; - // Optional. This field is deprecated. The search mechanism for public and private tag - // templates is the same. - bool include_public_tag_templates = 19 [ - deprecated = true, - (google.api.field_behavior) = OPTIONAL - ]; + // Optional. This field is deprecated. The search mechanism for public and + // private tag templates is the same. + bool include_public_tag_templates = 19 + [deprecated = true, (google.api.field_behavior) = OPTIONAL]; } // Required. The scope of this search request. @@ -615,9 +686,8 @@ message SearchCatalogRequest { // the request returns an error. Scope scope = 6 [(google.api.field_behavior) = REQUIRED]; - // Optional. The query string with a minimum of 3 characters and specific syntax. - // For more information, see - // [Data Catalog search + // Optional. The query string with a minimum of 3 characters and specific + // syntax. For more information, see [Data Catalog search // syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference). // // An empty query string returns all data assets (in the specified scope) @@ -630,17 +700,18 @@ message SearchCatalogRequest { // * `description:z` string query = 1 [(google.api.field_behavior) = OPTIONAL]; - // Number of results to return in a single search page. + // Upper bound on the number of results you can get in a single response. // // Can't be negative or 0, defaults to 10 in this case. // The maximum number is 1000. If exceeded, throws an "invalid argument" // exception. int32 page_size = 2; - // Optional. Pagination token that, if specified, returns the next page of search - // results. If empty, returns the first page. + // Optional. Pagination token that, if specified, returns the next page of + // search results. If empty, returns the first page. // - // This token is returned in the [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1.SearchCatalogResponse.next_page_token] + // This token is returned in the + // [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1.SearchCatalogResponse.next_page_token] // field of the response to a previous // [SearchCatalogRequest][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog] // call. @@ -654,8 +725,22 @@ message SearchCatalogRequest { // * `last_modified_timestamp [asc|desc]` with descending (`desc`) as default // * `default` that can only be descending // + // Search queries don't guarantee full recall. Results that match your query + // might not be returned, even in subsequent result pages. Additionally, + // returned (and not returned) results can vary if you repeat search queries. + // If you are experiencing recall issues and you don't have to fetch the + // results in any specific order, consider setting this parameter to + // `default`. + // // If this parameter is omitted, it defaults to the descending `relevance`. string order_by = 5; + + // Optional. If set, use searchAll permission granted on organizations from + // `include_org_ids` and projects from `include_project_ids` instead of the + // fine grained per resource permissions when filtering the search results. + // The only allowed `order_by` criteria for admin_search mode is `default`. + // Using this flags guarantees a full recall of the search results. + bool admin_search = 17 [(google.api.field_behavior) = OPTIONAL]; } // Response message for @@ -664,6 +749,9 @@ message SearchCatalogResponse { // Search results. repeated SearchCatalogResult results = 1; + // The approximate total number of entries matched by the query. + int32 total_size = 2; + // Pagination token that can be used in subsequent calls to retrieve the next // page of results. string next_page_token = 3; @@ -680,7 +768,8 @@ message SearchCatalogResponse { // Request message for // [CreateEntryGroup][google.cloud.datacatalog.v1.DataCatalog.CreateEntryGroup]. message CreateEntryGroupRequest { - // Required. The names of the project and location that the new entry group belongs to. + // Required. The names of the project and location that the new entry group + // belongs to. // // Note: The entry group itself and its child resources might not be // stored in the location specified in its name. @@ -899,7 +988,9 @@ message LookupEntryRequest { // (https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical). string sql_resource = 3; - // Fully qualified name (FQN) of the resource. + // [Fully Qualified Name + // (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names) + // of the resource. // // FQNs take two forms: // @@ -916,6 +1007,16 @@ message LookupEntryRequest { // `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}` string fully_qualified_name = 5; } + + // Project where the lookup should be performed. Required to lookup + // entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system` + // using its `fully_qualified_name`. Ignored in other cases. + string project = 6; + + // Location where the lookup should be performed. Required to lookup + // entry that is not a part of `DPMS` or `DATAPLEX` `integrated_system` + // using its `fully_qualified_name`. Ignored in other cases. + string location = 7; } // Entry metadata. @@ -965,34 +1066,19 @@ message Entry { // The maximum size is 200 bytes when encoded in UTF-8. string linked_resource = 9; - // Fully qualified name (FQN) of the resource. Set automatically for entries - // representing resources from synced systems. Settable only during creation - // and read-only afterwards. Can be used for search and lookup of the entries. - // - // - // - // FQNs take two forms: - // - // * For non-regionalized resources: + // [Fully Qualified Name + // (FQN)](https://cloud.google.com//data-catalog/docs/fully-qualified-names) + // of the resource. Set automatically for entries representing resources from + // synced systems. Settable only during creation, and read-only later. Can + // be used for search and lookup of the entries. // - // `{SYSTEM}:{PROJECT}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}` - // - // * For regionalized resources: - // - // `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}` - // - // Example for a DPMS table: - // - // `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}` string fully_qualified_name = 29; // Required. Entry type. oneof entry_type { // The type of the entry. - // Only used for entries with types listed in the `EntryType` enum. // - // Currently, only `FILESET` enum value is allowed. All other entries - // created in Data Catalog must use the `user_specified_type`. + // For details, see [`EntryType`](#entrytype). EntryType type = 2; // Custom entry type that doesn't match any of the values allowed for input @@ -1015,7 +1101,8 @@ message Entry { oneof system { // Output only. Indicates the entry's source system that Data Catalog // integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore. - IntegratedSystem integrated_system = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; + IntegratedSystem integrated_system = 17 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Indicates the entry's source system that Data Catalog doesn't // automatically integrate with. @@ -1029,6 +1116,23 @@ message Entry { string user_specified_system = 18; } + // System specification. + // Can be used as a complement for `spec`, when some metadata is relevant for + // all entries existing within given system + oneof system_spec { + // Specification that applies to a relational database system. Only settable + // when `user_specified_system` is equal to `SQL_DATABASE` + SqlDatabaseSystemSpec sql_database_system_spec = 39; + + // Specification that applies to Looker sysstem. Only settable when + // `user_specified_system` is equal to `LOOKER` + LookerSystemSpec looker_system_spec = 40; + + // Specification that applies to Cloud Bigtable system. Only settable when + // `integrated_system` is equal to `CLOUD_BIGTABLE` + CloudBigtableSystemSpec cloud_bigtable_system_spec = 41; + } + // Type specification. oneof type_spec { // Specification that applies to a Cloud Storage fileset. Valid only @@ -1037,14 +1141,16 @@ message Entry { // Output only. Specification that applies to a BigQuery table. Valid only // for entries with the `TABLE` type. - BigQueryTableSpec bigquery_table_spec = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; + BigQueryTableSpec bigquery_table_spec = 12 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Specification for a group of BigQuery tables with // the `[prefix]YYYYMMDD` name pattern. // // For more information, see [Introduction to partitioned tables] // (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding). - BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; + BigQueryDateShardedSpec bigquery_date_sharded_spec = 15 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Type- and system-specific information. Specifications for types contain @@ -1055,7 +1161,7 @@ message Entry { // of the legacy `type_spec`. oneof spec { // Specification that applies to a table resource. Valid only - // for entries with the `TABLE` type. + // for entries with the `TABLE` or `EXPLORE` type. DatabaseTableSpec database_table_spec = 24; // Specification that applies to a data source connection. Valid only @@ -1066,16 +1172,23 @@ message Entry { // only for entries with the `ROUTINE` type. RoutineSpec routine_spec = 28; + // Specification that applies to a dataset. + DatasetSpec dataset_spec = 32; + // Specification that applies to a fileset resource. Valid only // for entries with the `FILESET` type. FilesetSpec fileset_spec = 33; + + // Specification that applies to a Service resource. + ServiceSpec service_spec = 42; + + // Model specification. + ModelSpec model_spec = 43; } // Display name of an entry. // - // The name must contain only Unicode letters, numbers (0-9), underscores (_), - // dashes (-), spaces ( ), and can't start or end with spaces. - // The maximum size is 200 bytes when encoded in UTF-8. + // The maximum size is 500 bytes when encoded in UTF-8. // Default value is an empty string. string display_name = 3; @@ -1116,8 +1229,10 @@ message Entry { // Output only. Physical location of the entry. DataSource data_source = 20 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Additional information related to the entry. Private to the current user. - PersonalDetails personal_details = 26 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Additional information related to the entry. Private to the + // current user. + PersonalDetails personal_details = 26 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Specification that applies to a table resource. Valid only @@ -1135,12 +1250,44 @@ message DatabaseTableSpec { EXTERNAL = 2; } + // Specification that applies to database view. + message DatabaseViewSpec { + // Concrete type of the view. + enum ViewType { + // Default unknown view type. + VIEW_TYPE_UNSPECIFIED = 0; + + // Standard view. + STANDARD_VIEW = 1; + + // Materialized view. + MATERIALIZED_VIEW = 2; + } + + // Type of this view. + ViewType view_type = 1; + + // Definition of the view. + oneof source_definition { + // Name of a singular table this view reflects one to one. + string base_table = 2; + + // SQL query used to generate this view. + string sql_query = 3; + } + } + // Type of this table. TableType type = 1; // Output only. Fields specific to a Dataplex table and present only in the // Dataplex table entries. - DataplexTableSpec dataplex_table = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + DataplexTableSpec dataplex_table = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Spec what aplies to tables that are actually views. + // Not set for "real" tables. + DatabaseViewSpec database_view_spec = 3; } // Specification that applies to a fileset. Valid only for entries with the @@ -1231,6 +1378,227 @@ message RoutineSpec { } } +// Specification that applies to a dataset. Valid only for +// entries with the `DATASET` type. +message DatasetSpec { + // Fields specific to the source system. + oneof system_spec { + // Vertex AI Dataset specific fields + VertexDatasetSpec vertex_dataset_spec = 2; + } +} + +// Specification that applies to +// entries that are part `SQL_DATABASE` system +// (user_specified_type) +message SqlDatabaseSystemSpec { + // SQL Database Engine. + // enum SqlEngine { + // UNDEFINED = 0; + // MY_SQL = 1; + // POSTGRE_SQL = 2; + // SQL_SERVER = 3; + // } + // Engine of the enclosing database instance. + string sql_engine = 1; + + // Version of the database engine. + string database_version = 2; + + // Host of the SQL database + // enum InstanceHost { + // UNDEFINED = 0; + // SELF_HOSTED = 1; + // CLOUD_SQL = 2; + // AMAZON_RDS = 3; + // AZURE_SQL = 4; + // } + // Host of the enclousing database instance. + string instance_host = 3; +} + +// Specification that applies to +// entries that are part `LOOKER` system +// (user_specified_type) +message LookerSystemSpec { + // ID of the parent Looker Instance. Empty if it does not exist. + // Example value: `someinstance.looker.com` + string parent_instance_id = 1; + + // Name of the parent Looker Instance. Empty if it does not exist. + string parent_instance_display_name = 2; + + // ID of the parent Model. Empty if it does not exist. + string parent_model_id = 3; + + // Name of the parent Model. Empty if it does not exist. + string parent_model_display_name = 4; + + // ID of the parent View. Empty if it does not exist. + string parent_view_id = 5; + + // Name of the parent View. Empty if it does not exist. + string parent_view_display_name = 6; +} + +// Specification that applies to +// all entries that are part of `CLOUD_BIGTABLE` system +// (user_specified_type) +message CloudBigtableSystemSpec { + // Display name of the Instance. This is user specified and different from + // the resource name. + string instance_display_name = 1; +} + +// Specification that applies to Instance +// entries that are part of `CLOUD_BIGTABLE` system. +// (user_specified_type) +message CloudBigtableInstanceSpec { + // Spec that applies to clusters of an Instance of Cloud Bigtable. + message CloudBigtableClusterSpec { + // Name of the cluster. + string display_name = 1; + + // Location of the cluster, typically a Cloud zone. + string location = 2; + + // Type of the resource. For a cluster this would be "CLUSTER". + string type = 3; + + // A link back to the parent resource, in this case Instance. + string linked_resource = 4; + } + + // The list of clusters for the Instance. + repeated CloudBigtableClusterSpec cloud_bigtable_cluster_specs = 1; +} + +// Specification that applies to a Service resource. Valid only +// for entries with the `SERVICE` type. +message ServiceSpec { + // System spec + oneof system_spec { + // Specification that applies to Instance entries of `CLOUD_BIGTABLE` + // system. + CloudBigtableInstanceSpec cloud_bigtable_instance_spec = 1; + } +} + +// Detail description of the source information of a Vertex model. +message VertexModelSourceInfo { + // Source of the model. + enum ModelSourceType { + // Should not be used. + MODEL_SOURCE_TYPE_UNSPECIFIED = 0; + + // The Model is uploaded by automl training pipeline. + AUTOML = 1; + + // The Model is uploaded by user or custom training pipeline. + CUSTOM = 2; + + // The Model is registered and sync'ed from BigQuery ML. + BQML = 3; + + // The Model is saved or tuned from Model Garden. + MODEL_GARDEN = 4; + } + + // Type of the model source. + ModelSourceType source_type = 1; + + // If this Model is copy of another Model. If true then + // [source_type][google.cloud.datacatalog.v1.VertexModelSourceInfo.source_type] + // pertains to the original. + bool copy = 2; +} + +// Specification for vertex model resources. +message VertexModelSpec { + // The version ID of the model. + string version_id = 1; + + // User provided version aliases so that a model version can be referenced via + // alias + repeated string version_aliases = 2; + + // The description of this version. + string version_description = 3; + + // Source of a Vertex model. + VertexModelSourceInfo vertex_model_source_info = 4; + + // URI of the Docker image to be used as the custom container for serving + // predictions. + string container_image_uri = 5; +} + +// Specification for vertex dataset resources. +message VertexDatasetSpec { + // Type of data stored in the dataset. + enum DataType { + // Should not be used. + DATA_TYPE_UNSPECIFIED = 0; + + // Structured data dataset. + TABLE = 1; + + // Image dataset which supports ImageClassification, ImageObjectDetection + // and ImageSegmentation problems. + IMAGE = 2; + + // Document dataset which supports TextClassification, TextExtraction and + // TextSentiment problems. + TEXT = 3; + + // Video dataset which supports VideoClassification, VideoObjectTracking and + // VideoActionRecognition problems. + VIDEO = 4; + + // Conversation dataset which supports conversation problems. + CONVERSATION = 5; + + // TimeSeries dataset. + TIME_SERIES = 6; + + // Document dataset which supports DocumentAnnotation problems. + DOCUMENT = 7; + + // TextToSpeech dataset which supports TextToSpeech problems. + TEXT_TO_SPEECH = 8; + + // Translation dataset which supports Translation problems. + TRANSLATION = 9; + + // Store Vision dataset which is used for HITL integration. + STORE_VISION = 10; + + // Enterprise Knowledge Graph dataset which is used for HITL labeling + // integration. + ENTERPRISE_KNOWLEDGE_GRAPH = 11; + + // Text prompt dataset which supports Large Language Models. + TEXT_PROMPT = 12; + } + + // The number of DataItems in this Dataset. Only apply for non-structured + // Dataset. + int64 data_item_count = 1; + + // Type of the dataset. + DataType data_type = 2; +} + +// Specification that applies to a model. Valid only for +// entries with the `MODEL` type. +message ModelSpec { + // System spec + oneof system_spec { + // Specification for vertex model resources. + VertexModelSpec vertex_model_spec = 1; + } +} + // Business Context of the entry. message BusinessContext { // Entry overview fields for rich text descriptions of entries. @@ -1294,7 +1662,8 @@ message EntryGroup { string description = 3; // Output only. Timestamps of the entry group. Default value is empty. - SystemTimestamps data_catalog_timestamps = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + SystemTimestamps data_catalog_timestamps = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Request message for @@ -1438,7 +1807,8 @@ message CreateTagTemplateFieldRequest { string tag_template_field_id = 2 [(google.api.field_behavior) = REQUIRED]; // Required. The tag template field to create. - TagTemplateField tag_template_field = 3 [(google.api.field_behavior) = REQUIRED]; + TagTemplateField tag_template_field = 3 + [(google.api.field_behavior) = REQUIRED]; } // Request message for @@ -1453,10 +1823,11 @@ message UpdateTagTemplateFieldRequest { ]; // Required. The template to update. - TagTemplateField tag_template_field = 2 [(google.api.field_behavior) = REQUIRED]; + TagTemplateField tag_template_field = 2 + [(google.api.field_behavior) = REQUIRED]; - // Optional. Names of fields whose values to overwrite on an individual field of a tag - // template. The following fields are modifiable: + // Optional. Names of fields whose values to overwrite on an individual field + // of a tag template. The following fields are modifiable: // // * `display_name` // * `type.enum_type` @@ -1471,7 +1842,8 @@ message UpdateTagTemplateFieldRequest { // // Additionally, updating a template field from optional to required is // *not* allowed. - google.protobuf.FieldMask update_mask = 3 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.FieldMask update_mask = 3 + [(google.api.field_behavior) = OPTIONAL]; } // Request message for @@ -1485,7 +1857,8 @@ message RenameTagTemplateFieldRequest { } ]; - // Required. The new ID of this tag template field. For example, `my_new_field`. + // Required. The new ID of this tag template field. For example, + // `my_new_field`. string new_tag_template_field_id = 2 [(google.api.field_behavior) = REQUIRED]; } @@ -1500,8 +1873,10 @@ message RenameTagTemplateFieldEnumValueRequest { } ]; - // Required. The new display name of the enum value. For example, `my_new_enum_value`. - string new_enum_value_display_name = 2 [(google.api.field_behavior) = REQUIRED]; + // Required. The new display name of the enum value. For example, + // `my_new_enum_value`. + string new_enum_value_display_name = 2 + [(google.api.field_behavior) = REQUIRED]; } // Request message for @@ -1555,6 +1930,78 @@ message ListTagsResponse { string next_page_token = 2; } +// Request message for +// [ReconcileTags][google.cloud.datacatalog.v1.DataCatalog.ReconcileTags]. +message ReconcileTagsRequest { + // Required. Name of [Entry][google.cloud.datacatalog.v1.Entry] to be tagged. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "datacatalog.googleapis.com/Entry" + } + ]; + + // Required. The name of the tag template, which is used for reconciliation. + string tag_template = 2 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "datacatalog.googleapis.com/TagTemplate" + } + ]; + + // If set to `true`, deletes entry tags related to a tag template + // not listed in the tags source from an entry. If set to `false`, + // unlisted tags are retained. + bool force_delete_missing = 3; + + // A list of tags to apply to an entry. A tag can specify a + // tag template, which must be the template specified in the + // `ReconcileTagsRequest`. + // The sole entry and each of its columns must be mentioned at most once. + repeated Tag tags = 4; +} + +// [Long-running operation][google.longrunning.Operation] +// response message returned by +// [ReconcileTags][google.cloud.datacatalog.v1.DataCatalog.ReconcileTags]. +message ReconcileTagsResponse { + // Number of tags created in the request. + int64 created_tags_count = 1; + + // Number of tags updated in the request. + int64 updated_tags_count = 2; + + // Number of tags deleted in the request. + int64 deleted_tags_count = 3; +} + +// [Long-running operation][google.longrunning.Operation] +// metadata message returned by the +// [ReconcileTags][google.cloud.datacatalog.v1.DataCatalog.ReconcileTags]. +message ReconcileTagsMetadata { + // Enum holding possible states of the reconciliation operation. + enum ReconciliationState { + // Default value. This value is unused. + RECONCILIATION_STATE_UNSPECIFIED = 0; + + // The reconciliation has been queued and awaits for execution. + RECONCILIATION_QUEUED = 1; + + // The reconciliation is in progress. + RECONCILIATION_IN_PROGRESS = 2; + + // The reconciliation has been finished. + RECONCILIATION_DONE = 3; + } + + // State of the reconciliation operation. + ReconciliationState state = 1; + + // Maps the name of each tagged column (or empty string for a + // sole entry) to tagging operation [status][google.rpc.Status]. + map errors = 2; +} + // Request message for // [ListEntries][google.cloud.datacatalog.v1.DataCatalog.ListEntries]. message ListEntriesRequest { @@ -1610,9 +2057,7 @@ message StarEntryRequest { // Response message for // [StarEntry][google.cloud.datacatalog.v1.DataCatalog.StarEntry]. // Empty for now -message StarEntryResponse { - -} +message StarEntryResponse {} // Request message for // [UnstarEntry][google.cloud.datacatalog.v1.DataCatalog.UnstarEntry]. @@ -1629,8 +2074,73 @@ message UnstarEntryRequest { // Response message for // [UnstarEntry][google.cloud.datacatalog.v1.DataCatalog.UnstarEntry]. // Empty for now -message UnstarEntryResponse { +message UnstarEntryResponse {} + +// Request message for +// [ImportEntries][google.cloud.datacatalog.v1.DataCatalog.ImportEntries] +// method. +message ImportEntriesRequest { + // Required. Target entry group for ingested entries. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "datacatalog.googleapis.com/Entry" + } + ]; + // Source of imported entries, e.g. dump stored in a Cloud Storage + oneof source { + // Path to a Cloud Storage bucket that contains a dump ready for ingestion. + string gcs_bucket_path = 2; + } + + // Optional. (Optional) Dataplex task job id, if specified will be used as + // part of ImportEntries LRO ID + string job_id = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// Response message for [long-running operation][google.longrunning.Operation] +// returned by the +// [ImportEntries][google.cloud.datacatalog.v1.DataCatalog.ImportEntries]. +message ImportEntriesResponse { + // Cumulative number of entries created and entries updated as a result of + // import operation. + optional int64 upserted_entries_count = 5; + + // Number of entries deleted as a result of import operation. + optional int64 deleted_entries_count = 6; +} + +// Metadata message for [long-running operation][google.longrunning.Operation] +// returned by the +// [ImportEntries][google.cloud.datacatalog.v1.DataCatalog.ImportEntries]. +message ImportEntriesMetadata { + // Enum holding possible states of the import operation. + enum ImportState { + // Default value. This value is unused. + IMPORT_STATE_UNSPECIFIED = 0; + + // The dump with entries has been queued for import. + IMPORT_QUEUED = 1; + + // The import of entries is in progress. + IMPORT_IN_PROGRESS = 2; + + // The import of entries has been finished. + IMPORT_DONE = 3; + + // The import of entries has been abandoned in favor of a newer request. + IMPORT_OBSOLETE = 4; + } + + // State of the import operation. + ImportState state = 1; + + // Partial errors that are encountered during the ImportEntries operation. + // There is no guarantee that all the encountered errors are reported. + // However, if no errors are reported, it means that no errors were + // encountered. + repeated google.rpc.Status errors = 2; } // Request message for @@ -1663,8 +2173,18 @@ message ModifyEntryContactsRequest { Contacts contacts = 2 [(google.api.field_behavior) = REQUIRED]; } -// The enum field that lists all the types of entry resources in Data -// Catalog. For example, a BigQuery table entry has the `TABLE` type. +// Metadata automatically ingested from Google Cloud resources like BigQuery +// tables or Pub/Sub topics always uses enum values from `EntryType` as the type +// of entry. +// +// Other sources of metadata like Hive or Oracle databases can identify the type +// by either using one of the enum values from `EntryType` (for example, +// `FILESET` for a Cloud Storage fileset) or specifying a custom value using +// the [`Entry`](#resource:-entry) field `user_specified_type`. For more +// information, see +// [Surface files from Cloud Storage with fileset +// entries](/data-catalog/docs/how-to/filesets) or [Create custom entries for +// your data sources](/data-catalog/docs/how-to/custom-entries). enum EntryType { // Default unknown type. ENTRY_TYPE_UNSPECIFIED = 0; @@ -1673,10 +2193,10 @@ enum EntryType { // logical views. TABLE = 2; - // Output only. The type of models. + // The type of models. // - // For more information, see [Supported models in BigQuery ML] - // (https://cloud.google.com/bigquery-ml/docs/introduction#supported_models_in). + // For more information, see [Supported models in BigQuery + // ML](/bigquery/docs/bqml-introduction#supported_models). MODEL = 5; // An entry type for streaming entries. For example, a Pub/Sub topic. @@ -1692,11 +2212,11 @@ enum EntryType { // A database. DATABASE = 7; - // Output only. Connection to a data source. For example, a BigQuery + // Connection to a data source. For example, a BigQuery // connection. DATA_SOURCE_CONNECTION = 8; - // Output only. Routine, for example, a BigQuery routine. + // Routine, for example, a BigQuery routine. ROUTINE = 9; // A Dataplex lake. @@ -1707,4 +2227,22 @@ enum EntryType { // A service, for example, a Dataproc Metastore service. SERVICE = 14; + + // Schema within a relational database. + DATABASE_SCHEMA = 15; + + // A Dashboard, for example from Looker. + DASHBOARD = 16; + + // A Looker Explore. + // + // For more information, see [Looker Explore API] + // (https://developers.looker.com/api/explorer/4.0/methods/LookmlModel/lookml_model_explore). + EXPLORE = 17; + + // A Looker Look. + // + // For more information, see [Looker Look API] + // (https://developers.looker.com/api/explorer/4.0/methods/Look). + LOOK = 18; } diff --git a/third_party/googleapis/google/cloud/datacatalog/v1/datacatalog_grpc_service_config.json b/third_party/googleapis/google/cloud/datacatalog/v1/datacatalog_grpc_service_config.json index 4121a36a1..4ac531f85 100755 --- a/third_party/googleapis/google/cloud/datacatalog/v1/datacatalog_grpc_service_config.json +++ b/third_party/googleapis/google/cloud/datacatalog/v1/datacatalog_grpc_service_config.json @@ -6,7 +6,17 @@ "service": "google.cloud.datacatalog.v1.DataCatalog" } ], - "timeout": "60s" + "timeout": "60s", + "retryPolicy": { + "initialBackoff": "0.100s", + "maxBackoff": "60s", + "backoffMultiplier": 1.3, + "retryableStatusCodes": [ + "UNAVAILABLE", + "RESOURCE_EXHAUSTED", + "INTERNAL" + ] + } }, { "name": [ @@ -23,59 +33,6 @@ } ], "timeout": "60s" - }, - { - "name": [ - { - "service": "google.cloud.datacatalog.v1.DataCatalog", - "method": "GetEntry" - }, - { - "service": "google.cloud.datacatalog.v1.DataCatalog", - "method": "GetEntryGroup" - }, - { - "service": "google.cloud.datacatalog.v1.DataCatalog", - "method": "GetIamPolicy" - }, - { - "service": "google.cloud.datacatalog.v1.DataCatalog", - "method": "GettagTemplate" - }, - { - "service": "google.cloud.datacatalog.v1.DataCatalog", - "method": "ListEntries" - }, - { - "service": "google.cloud.datacatalog.v1.DataCatalog", - "method": "ListEntryGroups" - }, - { - "service": "google.cloud.datacatalog.v1.DataCatalog", - "method": "ListTags" - }, - { - "service": "google.cloud.datacatalog.v1.DataCatalog", - "method": "LookupEntry" - }, - { - "service": "google.cloud.datacatalog.v1.DataCatalog", - "method": "SearchCatalog" - }, - { - "service": "google.cloud.datacatalog.v1.DataCatalog", - "method": "TestIamPermisisons" - } - ], - "timeout": "60s", - "retryPolicy": { - "initialBackoff": "0.100s", - "maxBackoff": "60s", - "backoffMultiplier": 1.3, - "retryableStatusCodes": [ - "UNAVAILABLE" - ] - } } ] } diff --git a/third_party/googleapis/google/cloud/datacatalog/v1/datacatalog_v1.yaml b/third_party/googleapis/google/cloud/datacatalog/v1/datacatalog_v1.yaml index b7b07e093..0d94b002a 100644 --- a/third_party/googleapis/google/cloud/datacatalog/v1/datacatalog_v1.yaml +++ b/third_party/googleapis/google/cloud/datacatalog/v1/datacatalog_v1.yaml @@ -10,6 +10,13 @@ apis: - name: google.iam.v1.IAMPolicy - name: google.longrunning.Operations +types: +- name: google.cloud.datacatalog.v1.DumpItem +- name: google.cloud.datacatalog.v1.ImportEntriesMetadata +- name: google.cloud.datacatalog.v1.ImportEntriesResponse +- name: google.cloud.datacatalog.v1.ReconcileTagsMetadata +- name: google.cloud.datacatalog.v1.ReconcileTagsResponse + documentation: summary: |- A fully managed and highly scalable data discovery and metadata management @@ -43,6 +50,17 @@ documentation: permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. +http: + rules: + - selector: google.longrunning.Operations.CancelOperation + post: '/v1/{name=projects/*/locations/*/operations/*}:cancel' + - selector: google.longrunning.Operations.DeleteOperation + delete: '/v1/{name=projects/*/locations/*/operations/*}' + - selector: google.longrunning.Operations.GetOperation + get: '/v1/{name=projects/*/locations/*/operations/*}' + - selector: google.longrunning.Operations.ListOperations + get: '/v1/{name=projects/*/locations/*}/operations' + authentication: rules: - selector: 'google.cloud.datacatalog.v1.DataCatalog.*' @@ -61,3 +79,46 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform + - selector: 'google.longrunning.Operations.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform + +publishing: + new_issue_uri: https://issuetracker.google.com/issues/new?component=655468&template=1284353 + documentation_uri: https://cloud.google.com/data-catalog/docs + api_short_name: datacatalog + github_label: 'api: datacatalog' + doc_tag_prefix: datacatalog + organization: CLOUD + library_settings: + - version: google.cloud.datacatalog.v1 + launch_stage: GA + java_settings: + common: + destinations: + - PACKAGE_MANAGER + cpp_settings: + common: + destinations: + - PACKAGE_MANAGER + php_settings: + common: + destinations: + - PACKAGE_MANAGER + python_settings: + common: + destinations: + - PACKAGE_MANAGER + node_settings: + common: + destinations: + - PACKAGE_MANAGER + ruby_settings: + common: + destinations: + - PACKAGE_MANAGER + go_settings: + common: + destinations: + - PACKAGE_MANAGER diff --git a/third_party/googleapis/google/cloud/datacatalog/v1/dataplex_spec.proto b/third_party/googleapis/google/cloud/datacatalog/v1/dataplex_spec.proto index bf47a373b..961f452af 100644 --- a/third_party/googleapis/google/cloud/datacatalog/v1/dataplex_spec.proto +++ b/third_party/googleapis/google/cloud/datacatalog/v1/dataplex_spec.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/datacatalog/v1/gcs_fileset_spec.proto b/third_party/googleapis/google/cloud/datacatalog/v1/gcs_fileset_spec.proto index 56d9f4d6e..7dba877c1 100644 --- a/third_party/googleapis/google/cloud/datacatalog/v1/gcs_fileset_spec.proto +++ b/third_party/googleapis/google/cloud/datacatalog/v1/gcs_fileset_spec.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -62,7 +62,8 @@ message GcsFilesetSpec { // Output only. Sample files contained in this fileset, not all files // contained in this fileset are represented here. - repeated GcsFileSpec sample_gcs_file_specs = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated GcsFileSpec sample_gcs_file_specs = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Specification of a single file in Cloud Storage. @@ -70,8 +71,10 @@ message GcsFileSpec { // Required. Full file path. Example: `gs://bucket_name/a/b.txt`. string file_path = 1 [(google.api.field_behavior) = REQUIRED]; - // Output only. Creation, modification, and expiration timestamps of a Cloud Storage file. - SystemTimestamps gcs_timestamps = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Creation, modification, and expiration timestamps of a Cloud + // Storage file. + SystemTimestamps gcs_timestamps = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. File size in bytes. int64 size_bytes = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/third_party/googleapis/google/cloud/datacatalog/v1/physical_schema.proto b/third_party/googleapis/google/cloud/datacatalog/v1/physical_schema.proto index 693cd6071..d1bfe6a3b 100644 --- a/third_party/googleapis/google/cloud/datacatalog/v1/physical_schema.proto +++ b/third_party/googleapis/google/cloud/datacatalog/v1/physical_schema.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -47,19 +47,13 @@ message PhysicalSchema { } // Marks a Parquet-encoded data source. - message ParquetSchema { - - } + message ParquetSchema {} // Marks an ORC-encoded data source. - message OrcSchema { - - } + message OrcSchema {} // Marks a CSV-encoded data source. - message CsvSchema { - - } + message CsvSchema {} oneof schema { // Schema in Avro JSON format. diff --git a/third_party/googleapis/google/cloud/datacatalog/v1/policytagmanager.proto b/third_party/googleapis/google/cloud/datacatalog/v1/policytagmanager.proto index 45a8489e5..9928af467 100644 --- a/third_party/googleapis/google/cloud/datacatalog/v1/policytagmanager.proto +++ b/third_party/googleapis/google/cloud/datacatalog/v1/policytagmanager.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,6 +20,7 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/cloud/datacatalog/v1/common.proto"; import "google/cloud/datacatalog/v1/timestamps.proto"; import "google/iam/v1/iam_policy.proto"; import "google/iam/v1/policy.proto"; @@ -43,7 +44,8 @@ option ruby_package = "Google::Cloud::DataCatalog::V1"; // classify data along a common axis. service PolicyTagManager { option (google.api.default_host) = "datacatalog.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Creates a taxonomy in a specified project. // @@ -142,7 +144,8 @@ service PolicyTagManager { } // Gets the IAM policy for a policy tag or a taxonomy. - rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v1/{resource=projects/*/locations/*/taxonomies/*}:getIamPolicy" body: "*" @@ -154,7 +157,8 @@ service PolicyTagManager { } // Sets the IAM policy for a policy tag or a taxonomy. - rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v1/{resource=projects/*/locations/*/taxonomies/*}:setIamPolicy" body: "*" @@ -167,7 +171,8 @@ service PolicyTagManager { // Returns your permissions on a specified policy tag or // taxonomy. - rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) { + rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) + returns (google.iam.v1.TestIamPermissionsResponse) { option (google.api.http) = { post: "/v1/{resource=projects/*/locations/*/taxonomies/*}:testIamPermissions" body: "*" @@ -219,10 +224,19 @@ message Taxonomy { FINE_GRAINED_ACCESS_CONTROL = 1; } - // Output only. Resource name of this taxonomy in URL format. + // The source system of the Taxonomy. + message Service { + // The Google Cloud service name. + ManagingSystem name = 1; + + // The service agent for the service. + string identity = 2; + } + + // Identifier. Resource name of this taxonomy in URL format. // // Note: Policy tag manager generates unique taxonomy IDs. - string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; // Required. User-defined name of this taxonomy. // @@ -244,11 +258,18 @@ message Taxonomy { int32 policy_tag_count = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Creation and modification timestamps of this taxonomy. - SystemTimestamps taxonomy_timestamps = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Optional. A list of policy types that are activated for this taxonomy. If not set, - // defaults to an empty list. - repeated PolicyType activated_policy_types = 6 [(google.api.field_behavior) = OPTIONAL]; + SystemTimestamps taxonomy_timestamps = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. A list of policy types that are activated for this taxonomy. If + // not set, defaults to an empty list. + repeated PolicyType activated_policy_types = 6 + [(google.api.field_behavior) = OPTIONAL]; + + // Output only. Identity of the service which owns the Taxonomy. This field is + // only populated when the taxonomy is created by a Google Cloud service. + // Currently only 'DATAPLEX' is supported. + Service service = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Denotes one policy tag in a taxonomy, for example, SSN. @@ -269,10 +290,10 @@ message PolicyTag { pattern: "projects/{project}/locations/{location}/taxonomies/{taxonomy}/policyTags/{policy_tag}" }; - // Output only. Resource name of this policy tag in the URL format. + // Identifier. Resource name of this policy tag in the URL format. // // The policy tag manager generates unique taxonomy IDs and policy tag IDs. - string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; // Required. User-defined name of this policy tag. // @@ -297,7 +318,8 @@ message PolicyTag { string parent_policy_tag = 4; // Output only. Resource names of child policy tags of this policy tag. - repeated string child_policy_tags = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated string child_policy_tags = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Request message for @@ -364,6 +386,10 @@ message ListTaxonomiesRequest { // // The token is returned in the response to a previous list request. string page_token = 3; + + // Supported field for filter is 'service' and value is 'dataplex'. + // Eg: service=dataplex. + string filter = 4; } // Response message for diff --git a/third_party/googleapis/google/cloud/datacatalog/v1/policytagmanagerserialization.proto b/third_party/googleapis/google/cloud/datacatalog/v1/policytagmanagerserialization.proto index 9d320b21f..865cf19dc 100644 --- a/third_party/googleapis/google/cloud/datacatalog/v1/policytagmanagerserialization.proto +++ b/third_party/googleapis/google/cloud/datacatalog/v1/policytagmanagerserialization.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -37,7 +37,8 @@ option ruby_package = "Google::Cloud::DataCatalog::V1"; // Taxonomy is a hierarchical group of policy tags. service PolicyTagManagerSerialization { option (google.api.default_host) = "datacatalog.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Replaces (updates) a taxonomy and all its policy tags. // @@ -67,7 +68,8 @@ service PolicyTagManagerSerialization { // // For an inlined source, taxonomies and policy tags are created in bulk using // nested protocol buffer structures. - rpc ImportTaxonomies(ImportTaxonomiesRequest) returns (ImportTaxonomiesResponse) { + rpc ImportTaxonomies(ImportTaxonomiesRequest) + returns (ImportTaxonomiesResponse) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/taxonomies:import" body: "*" @@ -80,7 +82,8 @@ service PolicyTagManagerSerialization { // // This method generates `SerializedTaxonomy` protocol buffers with nested // policy tags that can be used as input for `ImportTaxonomies` calls. - rpc ExportTaxonomies(ExportTaxonomiesRequest) returns (ExportTaxonomiesResponse) { + rpc ExportTaxonomies(ExportTaxonomiesRequest) + returns (ExportTaxonomiesResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/taxonomies:export" }; @@ -91,7 +94,8 @@ service PolicyTagManagerSerialization { // policy tags. Used for taxonomy replacement, import, and // export. message SerializedTaxonomy { - // Required. Display name of the taxonomy. At most 200 bytes when encoded in UTF-8. + // Required. Display name of the taxonomy. At most 200 bytes when encoded in + // UTF-8. string display_name = 1 [(google.api.field_behavior) = REQUIRED]; // Description of the serialized taxonomy. At most 2000 bytes when @@ -138,13 +142,15 @@ message ReplaceTaxonomyRequest { ]; // Required. Taxonomy to update along with its child policy tags. - SerializedTaxonomy serialized_taxonomy = 2 [(google.api.field_behavior) = REQUIRED]; + SerializedTaxonomy serialized_taxonomy = 2 + [(google.api.field_behavior) = REQUIRED]; } // Request message for // [ImportTaxonomies][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ImportTaxonomies]. message ImportTaxonomiesRequest { - // Required. Resource name of project that the imported taxonomies will belong to. + // Required. Resource name of project that the imported taxonomies will belong + // to. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -165,7 +171,8 @@ message ImportTaxonomiesRequest { // Inline source containing taxonomies to import. message InlineSource { // Required. Taxonomies to import. - repeated SerializedTaxonomy taxonomies = 1 [(google.api.field_behavior) = REQUIRED]; + repeated SerializedTaxonomy taxonomies = 1 + [(google.api.field_behavior) = REQUIRED]; } // Cross-regional source used to import an existing taxonomy into a different @@ -190,7 +197,8 @@ message ImportTaxonomiesResponse { // Request message for // [ExportTaxonomies][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ExportTaxonomies]. message ExportTaxonomiesRequest { - // Required. Resource name of the project that the exported taxonomies belong to. + // Required. Resource name of the project that the exported taxonomies belong + // to. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { diff --git a/third_party/googleapis/google/cloud/datacatalog/v1/schema.proto b/third_party/googleapis/google/cloud/datacatalog/v1/schema.proto index f5a1f81eb..559f38921 100644 --- a/third_party/googleapis/google/cloud/datacatalog/v1/schema.proto +++ b/third_party/googleapis/google/cloud/datacatalog/v1/schema.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -38,6 +38,51 @@ message Schema { // A column within a schema. Columns can be nested inside // other columns. message ColumnSchema { + // Specifies inclusion of the column in an index + enum IndexingType { + // Unspecified. + INDEXING_TYPE_UNSPECIFIED = 0; + + // Column not a part of an index. + INDEXING_TYPE_NONE = 1; + + // Column Part of non unique index. + INDEXING_TYPE_NON_UNIQUE = 2; + + // Column part of unique index. + INDEXING_TYPE_UNIQUE = 3; + + // Column part of the primary key. + INDEXING_TYPE_PRIMARY_KEY = 4; + } + + // Column info specific to Looker System. + message LookerColumnSpec { + // Column type in Looker. + enum LookerColumnType { + // Unspecified. + LOOKER_COLUMN_TYPE_UNSPECIFIED = 0; + + // Dimension. + DIMENSION = 1; + + // Dimension group - parent for Dimension. + DIMENSION_GROUP = 2; + + // Filter. + FILTER = 3; + + // Measure. + MEASURE = 4; + + // Parameter. + PARAMETER = 5; + } + + // Looker specific column type of this column. + LookerColumnType type = 1; + } + // Required. Name of the column. // // Must be a UTF-8 string without dots (.). @@ -55,13 +100,34 @@ message ColumnSchema { // bytes. string description = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. A column's mode indicates whether values in this column are required, - // nullable, or repeated. + // Optional. A column's mode indicates whether values in this column are + // required, nullable, or repeated. // // Only `NULLABLE`, `REQUIRED`, and `REPEATED` values are supported. // Default mode is `NULLABLE`. string mode = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Schema of sub-columns. A column can have zero or more sub-columns. + // Optional. Default value for the column. + string default_value = 8 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Ordinal position + int32 ordinal_position = 9 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Most important inclusion of this column. + IndexingType highest_indexing_type = 10 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Schema of sub-columns. A column can have zero or more + // sub-columns. repeated ColumnSchema subcolumns = 7 [(google.api.field_behavior) = OPTIONAL]; + + // Information only applying for columns in Entries from a specific system. + oneof system_spec { + // Looker specific column info of this column. + LookerColumnSpec looker_column_spec = 18; + } + + // Optional. Garbage collection policy for the column or column family. + // Applies to systems like Cloud Bigtable. + string gc_rule = 11 [(google.api.field_behavior) = OPTIONAL]; } diff --git a/third_party/googleapis/google/cloud/datacatalog/v1/search.proto b/third_party/googleapis/google/cloud/datacatalog/v1/search.proto index 72dbe9f3f..13c719364 100644 --- a/third_party/googleapis/google/cloud/datacatalog/v1/search.proto +++ b/third_party/googleapis/google/cloud/datacatalog/v1/search.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -70,9 +70,10 @@ message SearchCatalogResult { // The source system of the entry. Applicable only when the // `search_result_type` is `ENTRY`. oneof system { - // Output only. The source system that Data Catalog automatically integrates with, such - // as BigQuery, Cloud Pub/Sub, or Dataproc Metastore. - IntegratedSystem integrated_system = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The source system that Data Catalog automatically integrates + // with, such as BigQuery, Cloud Pub/Sub, or Dataproc Metastore. + IntegratedSystem integrated_system = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Custom source system that you can manually integrate Data Catalog with. string user_specified_system = 9; diff --git a/third_party/googleapis/google/cloud/datacatalog/v1/table_spec.proto b/third_party/googleapis/google/cloud/datacatalog/v1/table_spec.proto index a92e5990e..d570beecc 100644 --- a/third_party/googleapis/google/cloud/datacatalog/v1/table_spec.proto +++ b/third_party/googleapis/google/cloud/datacatalog/v1/table_spec.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -30,7 +30,8 @@ option ruby_package = "Google::Cloud::DataCatalog::V1"; // Describes a BigQuery table. message BigQueryTableSpec { // Output only. The table source type. - TableSourceType table_source_type = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + TableSourceType table_source_type = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. oneof type_spec { @@ -67,9 +68,9 @@ message ViewSpec { // Normal BigQuery table specification. message TableSpec { - // Output only. If the table is date-sharded, that is, it matches the `[prefix]YYYYMMDD` - // name pattern, this field is the Data Catalog resource name of the - // date-sharded grouped entry. For example: + // Output only. If the table is date-sharded, that is, it matches the + // `[prefix]YYYYMMDD` name pattern, this field is the Data Catalog resource + // name of the date-sharded grouped entry. For example: // // `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`. // @@ -88,8 +89,8 @@ message TableSpec { // For more information, see [Introduction to partitioned tables] // (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding). message BigQueryDateShardedSpec { - // Output only. The Data Catalog resource name of the dataset entry the current table - // belongs to. For example: + // Output only. The Data Catalog resource name of the dataset entry the + // current table belongs to. For example: // // `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`. string dataset = 1 [ diff --git a/third_party/googleapis/google/cloud/datacatalog/v1/tags.proto b/third_party/googleapis/google/cloud/datacatalog/v1/tags.proto index c5835af12..2022df7ad 100644 --- a/third_party/googleapis/google/cloud/datacatalog/v1/tags.proto +++ b/third_party/googleapis/google/cloud/datacatalog/v1/tags.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -73,8 +73,8 @@ message Tag { string column = 4; } - // Required. Maps the ID of a tag field to its value and additional information - // about that field. + // Required. Maps the ID of a tag field to its value and additional + // information about that field. // // Tag template defines valid field IDs. A tag // must have at least 1 field and at most 500 fields. @@ -122,8 +122,9 @@ message TagField { string richtext_value = 8; } - // Output only. The order of this field with respect to other fields in this tag. Can be - // set by [Tag][google.cloud.datacatalog.v1.TagTemplateField.order]. + // Output only. The order of this field with respect to other fields in this + // tag. Can be set by + // [Tag][google.cloud.datacatalog.v1.TagTemplateField.order]. // // For example, a higher value can indicate a more important field. // The value can be negative. Multiple fields can have the same order, and @@ -133,8 +134,8 @@ message TagField { // A tag template defines a tag that can have one or more typed fields. // -// The template is used to create tags that are attached to GCP resources. -// [Tag template roles] +// The template is used to create tags that are attached to Google Cloud +// resources. [Tag template roles] // (https://cloud.google.com/iam/docs/understanding-roles#data-catalog-roles) // provide permissions to create, edit, and use the template. For example, // see the [TagTemplate User] @@ -178,7 +179,8 @@ message TagTemplate { // underscores (_). // * Must be at least 1 character and at most 64 characters long. // * Must start with a letter or underscore. - map fields = 3 [(google.api.field_behavior) = REQUIRED]; + map fields = 3 + [(google.api.field_behavior) = REQUIRED]; } // The template for an individual field within a tag template. @@ -188,7 +190,8 @@ message TagTemplateField { pattern: "projects/{project}/locations/{location}/tagTemplates/{tag_template}/fields/{field}" }; - // Output only. The resource name of the tag template field in URL format. Example: + // Output only. The resource name of the tag template field in URL format. + // Example: // // `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE}/fields/{FIELD}` // @@ -248,7 +251,8 @@ message FieldType { message EnumType { message EnumValue { - // Required. The display name of the enum value. Must not be an empty string. + // Required. The display name of the enum value. Must not be an empty + // string. // // The name must contain only Unicode letters, numbers (0-9), underscores // (_), dashes (-), spaces ( ), and can't start or end with spaces. The diff --git a/third_party/googleapis/google/cloud/datacatalog/v1/timestamps.proto b/third_party/googleapis/google/cloud/datacatalog/v1/timestamps.proto index cab8776cc..e9efe6797 100644 --- a/third_party/googleapis/google/cloud/datacatalog/v1/timestamps.proto +++ b/third_party/googleapis/google/cloud/datacatalog/v1/timestamps.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -44,5 +44,6 @@ message SystemTimestamps { // Output only. Expiration timestamp of the resource within the given system. // // Currently only applicable to BigQuery resources. - google.protobuf.Timestamp expire_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp expire_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/cloud/datacatalog/v1/usage.proto b/third_party/googleapis/google/cloud/datacatalog/v1/usage.proto index 07c3b140d..5b5f2d08f 100644 --- a/third_party/googleapis/google/cloud/datacatalog/v1/usage.proto +++ b/third_party/googleapis/google/cloud/datacatalog/v1/usage.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -51,6 +51,14 @@ message UsageStats { float total_execution_time_for_completions_millis = 4; } +// Common statistics on the entry's usage. +// +// They can be set on any system. +message CommonUsageStats { + // View count in source system. + optional int64 view_count = 1; +} + // The set of all usage signals that Data Catalog stores. // // Note: Usually, these signals are updated daily. In rare cases, an update may @@ -59,8 +67,18 @@ message UsageSignal { // The end timestamp of the duration of usage statistics. google.protobuf.Timestamp update_time = 1; - // Output only. BigQuery usage statistics over each of the predefined time ranges. + // Output only. BigQuery usage statistics over each of the predefined time + // ranges. // // Supported time ranges are `{"24H", "7D", "30D"}`. - map usage_within_time_range = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + map usage_within_time_range = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Common usage statistics over each of the predefined time ranges. + // + // Supported time ranges are `{"24H", "7D", "30D", "Lifetime"}`. + map common_usage_within_time_range = 3; + + // Favorite count in the source system. + optional int64 favorite_count = 4; } diff --git a/third_party/googleapis/google/cloud/datacatalog/v1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/datacatalog/v1beta1/BUILD.bazel index 5e0fc99b5..40175f87a 100644 --- a/third_party/googleapis/google/cloud/datacatalog/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/datacatalog/v1beta1/BUILD.bazel @@ -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"]) @@ -22,6 +31,7 @@ proto_library( "table_spec.proto", "tags.proto", "timestamps.proto", + "usage.proto", ], deps = [ "//google/api:annotations_proto", @@ -30,6 +40,7 @@ proto_library( "//google/api:resource_proto", "//google/iam/v1:iam_policy_proto", "//google/iam/v1:policy_proto", + "//google/longrunning:operations_proto", "@com_google_protobuf//:empty_proto", "@com_google_protobuf//:field_mask_proto", "@com_google_protobuf//:timestamp_proto", @@ -41,6 +52,7 @@ proto_library_with_info( deps = [ ":datacatalog_proto", "//google/cloud:common_resources_proto", + "//google/iam/v1:iam_policy_proto", ], ) @@ -70,15 +82,18 @@ java_grpc_library( java_gapic_library( name = "datacatalog_java_gapic", srcs = [":datacatalog_proto_with_info"], + gapic_yaml = "datacatalog_gapic.yaml", grpc_service_config = "datacatalog_grpc_service_config.json", rest_numeric_enums = False, + service_yaml = "datacatalog_v1beta1.yaml", test_deps = [ - ":datacatalog_java_grpc", "//google/iam/v1:iam_java_grpc", + ":datacatalog_java_grpc", ], transport = "grpc+rest", deps = [ ":datacatalog_java_proto", + "//google/api:api_java_proto", "//google/iam/v1:iam_java_proto", ], ) @@ -86,12 +101,12 @@ java_gapic_library( java_gapic_test( name = "datacatalog_java_gapic_test_suite", test_classes = [ - "com.google.cloud.datacatalog.v1beta1.DataCatalogClientTest", "com.google.cloud.datacatalog.v1beta1.DataCatalogClientHttpJsonTest", - "com.google.cloud.datacatalog.v1beta1.PolicyTagManagerClientTest", + "com.google.cloud.datacatalog.v1beta1.DataCatalogClientTest", "com.google.cloud.datacatalog.v1beta1.PolicyTagManagerClientHttpJsonTest", - "com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationClientTest", + "com.google.cloud.datacatalog.v1beta1.PolicyTagManagerClientTest", "com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationClientHttpJsonTest", + "com.google.cloud.datacatalog.v1beta1.PolicyTagManagerSerializationClientTest", ], runtime_deps = [":datacatalog_java_gapic_test"], ) @@ -100,6 +115,7 @@ java_gapic_test( java_gapic_assembly_gradle_pkg( name = "google-cloud-datacatalog-v1beta1-java", include_samples = True, + transport = "grpc+rest", deps = [ ":datacatalog_java_gapic", ":datacatalog_java_grpc", @@ -116,7 +132,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -127,6 +142,7 @@ go_proto_library( deps = [ "//google/api:annotations_go_proto", "//google/iam/v1:iam_go_proto", + "//google/longrunning:longrunning_go_proto", ], ) @@ -143,21 +159,19 @@ go_gapic_library( deps = [ ":datacatalog_go_proto", "//google/iam/v1:iam_go_proto", + "//google/longrunning:longrunning_go_proto", + "@com_google_cloud_go_longrunning//:go_default_library", + "@com_google_cloud_go_longrunning//autogen:go_default_library", ], ) -go_test( - name = "datacatalog_go_gapic_test", - srcs = [":datacatalog_go_gapic_srcjar_test"], - embed = [":datacatalog_go_gapic"], - importpath = "cloud.google.com/go/datacatalog/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-datacatalog-v1beta1-go", deps = [ ":datacatalog_go_gapic", + ":datacatalog_go_gapic_srcjar-metadata.srcjar", + ":datacatalog_go_gapic_srcjar-snippets.srcjar", ":datacatalog_go_gapic_srcjar-test.srcjar", ":datacatalog_go_proto", ], @@ -210,7 +224,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -219,21 +232,15 @@ php_proto_library( deps = [":datacatalog_proto"], ) -php_grpc_library( - name = "datacatalog_php_grpc", - srcs = [":datacatalog_proto"], - deps = [":datacatalog_php_proto"], -) - php_gapic_library( name = "datacatalog_php_gapic", srcs = [":datacatalog_proto_with_info"], grpc_service_config = "datacatalog_grpc_service_config.json", + migration_mode = "PRE_MIGRATION_SURFACE_ONLY", rest_numeric_enums = False, service_yaml = "datacatalog_v1beta1.yaml", transport = "grpc+rest", deps = [ - ":datacatalog_php_grpc", ":datacatalog_php_proto", ], ) @@ -243,7 +250,6 @@ php_gapic_assembly_pkg( name = "google-cloud-datacatalog-v1beta1-php", deps = [ ":datacatalog_php_gapic", - ":datacatalog_php_grpc", ":datacatalog_php_proto", ], ) @@ -305,9 +311,11 @@ ruby_grpc_library( ruby_cloud_gapic_library( name = "datacatalog_ruby_gapic", srcs = [":datacatalog_proto_with_info"], - extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-datacatalog-v1beta1"], + extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-data_catalog-v1beta1"], + grpc_service_config = "datacatalog_grpc_service_config.json", rest_numeric_enums = False, service_yaml = "datacatalog_v1beta1.yaml", + transport = "grpc+rest", deps = [ ":datacatalog_ruby_grpc", ":datacatalog_ruby_proto", @@ -337,6 +345,7 @@ load( csharp_proto_library( name = "datacatalog_csharp_proto", + extra_opts = [], deps = [":datacatalog_proto"], ) @@ -372,4 +381,20 @@ csharp_gapic_assembly_pkg( ############################################################################## # C++ ############################################################################## -# Put your C++ rules here +load( + "@com_google_googleapis_imports//:imports.bzl", + "cc_grpc_library", + "cc_proto_library", +) + +cc_proto_library( + name = "datacatalog_cc_proto", + deps = [":datacatalog_proto"], +) + +cc_grpc_library( + name = "datacatalog_cc_grpc", + srcs = [":datacatalog_proto"], + grpc_only = True, + deps = [":datacatalog_cc_proto"], +) diff --git a/third_party/googleapis/google/cloud/datacatalog/v1beta1/common.proto b/third_party/googleapis/google/cloud/datacatalog/v1beta1/common.proto index f61608a66..586c03bca 100644 --- a/third_party/googleapis/google/cloud/datacatalog/v1beta1/common.proto +++ b/third_party/googleapis/google/cloud/datacatalog/v1beta1/common.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -36,3 +36,16 @@ enum IntegratedSystem { // Cloud Pub/Sub. CLOUD_PUBSUB = 2; } + +// This enum describes all the systems that manage +// Taxonomy and PolicyTag resources in DataCatalog. +enum ManagingSystem { + // Default value + MANAGING_SYSTEM_UNSPECIFIED = 0; + + // Dataplex. + MANAGING_SYSTEM_DATAPLEX = 1; + + // Other + MANAGING_SYSTEM_OTHER = 2; +} diff --git a/third_party/googleapis/google/cloud/datacatalog/v1beta1/datacatalog.proto b/third_party/googleapis/google/cloud/datacatalog/v1beta1/datacatalog.proto index 0c6c0809b..a07682575 100644 --- a/third_party/googleapis/google/cloud/datacatalog/v1beta1/datacatalog.proto +++ b/third_party/googleapis/google/cloud/datacatalog/v1beta1/datacatalog.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -27,6 +27,7 @@ import "google/cloud/datacatalog/v1beta1/search.proto"; import "google/cloud/datacatalog/v1beta1/table_spec.proto"; import "google/cloud/datacatalog/v1beta1/tags.proto"; import "google/cloud/datacatalog/v1beta1/timestamps.proto"; +import "google/cloud/datacatalog/v1beta1/usage.proto"; import "google/iam/v1/iam_policy.proto"; import "google/iam/v1/policy.proto"; import "google/protobuf/empty.proto"; @@ -39,12 +40,17 @@ option java_multiple_files = true; option java_package = "com.google.cloud.datacatalog.v1beta1"; option php_namespace = "Google\\Cloud\\DataCatalog\\V1beta1"; option ruby_package = "Google::Cloud::DataCatalog::V1beta1"; +option (google.api.resource_definition) = { + type: "datacatalog.googleapis.com/TagTemplateFieldEnumValue" + pattern: "projects/{project}/locations/{location}/tagTemplates/{tag_template}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name}" +}; // Data Catalog API service allows clients to discover, understand, and manage // their data. service DataCatalog { option (google.api.default_host) = "datacatalog.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Searches Data Catalog for multiple resources like entries, tags that // match a query. @@ -52,7 +58,7 @@ service DataCatalog { // This is a custom method // (https://cloud.google.com/apis/design/custom_methods) and does not return // the complete resource, only the resource identifier and high level - // fields. Clients can subsequentally call `Get` methods. + // fields. Clients can subsequently call `Get` methods. // // Note that Data Catalog search queries do not guarantee full recall. Query // results that match your query may not be returned, even in subsequent @@ -113,7 +119,8 @@ service DataCatalog { // identified by the `name` parameter (see [Data Catalog Resource Project] // (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for // more information). - rpc DeleteEntryGroup(DeleteEntryGroupRequest) returns (google.protobuf.Empty) { + rpc DeleteEntryGroup(DeleteEntryGroupRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1beta1/{name=projects/*/locations/*/entryGroups/*}" }; @@ -121,7 +128,8 @@ service DataCatalog { } // Lists entry groups. - rpc ListEntryGroups(ListEntryGroupsRequest) returns (ListEntryGroupsResponse) { + rpc ListEntryGroups(ListEntryGroupsRequest) + returns (ListEntryGroupsResponse) { option (google.api.http) = { get: "/v1beta1/{parent=projects/*/locations/*}/entryGroups" }; @@ -208,7 +216,8 @@ service DataCatalog { post: "/v1beta1/{parent=projects/*/locations/*}/tagTemplates" body: "tag_template" }; - option (google.api.method_signature) = "parent,tag_template_id,tag_template"; + option (google.api.method_signature) = + "parent,tag_template_id,tag_template"; } // Gets a tag template. @@ -240,7 +249,8 @@ service DataCatalog { // the `name` parameter (see [Data Catalog Resource Project] // (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for // more information). - rpc DeleteTagTemplate(DeleteTagTemplateRequest) returns (google.protobuf.Empty) { + rpc DeleteTagTemplate(DeleteTagTemplateRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1beta1/{name=projects/*/locations/*/tagTemplates/*}" }; @@ -252,12 +262,14 @@ service DataCatalog { // [Data Catalog Resource // Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project) // for more information). - rpc CreateTagTemplateField(CreateTagTemplateFieldRequest) returns (TagTemplateField) { + rpc CreateTagTemplateField(CreateTagTemplateFieldRequest) + returns (TagTemplateField) { option (google.api.http) = { post: "/v1beta1/{parent=projects/*/locations/*/tagTemplates/*}/fields" body: "tag_template_field" }; - option (google.api.method_signature) = "parent,tag_template_field_id,tag_template_field"; + option (google.api.method_signature) = + "parent,tag_template_field_id,tag_template_field"; } // Updates a field in a tag template. This method cannot be used to update the @@ -265,13 +277,15 @@ service DataCatalog { // identified by the `name` parameter (see [Data Catalog Resource Project] // (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for // more information). - rpc UpdateTagTemplateField(UpdateTagTemplateFieldRequest) returns (TagTemplateField) { + rpc UpdateTagTemplateField(UpdateTagTemplateFieldRequest) + returns (TagTemplateField) { option (google.api.http) = { patch: "/v1beta1/{name=projects/*/locations/*/tagTemplates/*/fields/*}" body: "tag_template_field" }; option (google.api.method_signature) = "name,tag_template_field"; - option (google.api.method_signature) = "name,tag_template_field,update_mask"; + option (google.api.method_signature) = + "name,tag_template_field,update_mask"; } // Renames a field in a tag template. The user should enable the Data Catalog @@ -279,7 +293,8 @@ service DataCatalog { // Resource // Project](https://cloud.google.com/data-catalog/docs/concepts/resource-project) // for more information). - rpc RenameTagTemplateField(RenameTagTemplateFieldRequest) returns (TagTemplateField) { + rpc RenameTagTemplateField(RenameTagTemplateFieldRequest) + returns (TagTemplateField) { option (google.api.http) = { post: "/v1beta1/{name=projects/*/locations/*/tagTemplates/*/fields/*}:rename" body: "*" @@ -287,12 +302,25 @@ service DataCatalog { option (google.api.method_signature) = "name,new_tag_template_field_id"; } + // Renames an enum value in a tag template. The enum values have to be unique + // within one enum field. Thus, an enum value cannot be renamed with a name + // used in any other enum value within the same enum field. + rpc RenameTagTemplateFieldEnumValue(RenameTagTemplateFieldEnumValueRequest) + returns (TagTemplateField) { + option (google.api.http) = { + post: "/v1beta1/{name=projects/*/locations/*/tagTemplates/*/fields/*/enumValues/*}:rename" + body: "*" + }; + option (google.api.method_signature) = "name,new_enum_value_display_name"; + } + // Deletes a field in a tag template and all uses of that field. // Users should enable the Data Catalog API in the project identified by // the `name` parameter (see [Data Catalog Resource Project] // (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for // more information). - rpc DeleteTagTemplateField(DeleteTagTemplateFieldRequest) returns (google.protobuf.Empty) { + rpc DeleteTagTemplateField(DeleteTagTemplateFieldRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1beta1/{name=projects/*/locations/*/tagTemplates/*/fields/*}" }; @@ -343,7 +371,9 @@ service DataCatalog { option (google.api.method_signature) = "name"; } - // Lists the tags on an [Entry][google.cloud.datacatalog.v1beta1.Entry]. + // Lists tags assigned to an [Entry][google.cloud.datacatalog.v1beta1.Entry]. + // The [columns][google.cloud.datacatalog.v1beta1.Tag.column] in the response + // are lowercased. rpc ListTags(ListTagsRequest) returns (ListTagsResponse) { option (google.api.http) = { get: "/v1beta1/{parent=projects/*/locations/*/entryGroups/*/entries/*}/tags" @@ -368,7 +398,8 @@ service DataCatalog { // templates. // - `datacatalog.entries.setIamPolicy` to set policies on entries. // - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups. - rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v1beta1/{resource=projects/*/locations/*/tagTemplates/*}:setIamPolicy" body: "*" @@ -377,7 +408,6 @@ service DataCatalog { body: "*" } }; - option (google.api.method_signature) = "resource,policy"; } @@ -397,7 +427,8 @@ service DataCatalog { // templates. // - `datacatalog.entries.getIamPolicy` to get policies on entries. // - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups. - rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v1beta1/{resource=projects/*/locations/*/tagTemplates/*}:getIamPolicy" body: "*" @@ -426,7 +457,8 @@ service DataCatalog { // // A caller is not required to have Google IAM permission to make this // request. - rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) { + rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) + returns (google.iam.v1.TestIamPermissionsResponse) { option (google.api.http) = { post: "/v1beta1/{resource=projects/*/locations/*/tagTemplates/*}:testIamPermissions" body: "*" @@ -457,11 +489,49 @@ message SearchCatalogRequest { // https://cloud.google.com/docs/overview/#projects. repeated string include_project_ids = 3; - // If `true`, include Google Cloud Platform (GCP) public datasets in the - // search results. Info on GCP public datasets is available at - // https://cloud.google.com/public-datasets/. By default, GCP public - // datasets are excluded. + // If `true`, include Google Cloud public datasets in the + // search results. Info on Google Cloud public datasets is available at + // https://cloud.google.com/public-datasets/. By default, Google Cloud + // public datasets are excluded. bool include_gcp_public_datasets = 7; + + // Optional. The list of locations to search within. + // 1. If empty, search will be performed in all locations; + // 2. If any of the locations are NOT in the valid locations list, error + // will be returned; + // 3. Otherwise, search only the given locations for matching results. + // Typical usage is to leave this field empty. When a location is + // unreachable as returned in the `SearchCatalogResponse.unreachable` field, + // users can repeat the search request with this parameter set to get + // additional information on the error. + // + // Valid locations: + // * asia-east1 + // * asia-east2 + // * asia-northeast1 + // * asia-northeast2 + // * asia-northeast3 + // * asia-south1 + // * asia-southeast1 + // * australia-southeast1 + // * eu + // * europe-north1 + // * europe-west1 + // * europe-west2 + // * europe-west3 + // * europe-west4 + // * europe-west6 + // * global + // * northamerica-northeast1 + // * southamerica-east1 + // * us + // * us-central1 + // * us-east1 + // * us-east4 + // * us-west1 + // * us-west2 + repeated string restricted_locations = 16 + [(google.api.field_behavior) = OPTIONAL]; } // Required. The scope of this search request. A `scope` that has empty @@ -470,9 +540,9 @@ message SearchCatalogRequest { // return an error in such a case. Scope scope = 6 [(google.api.field_behavior) = REQUIRED]; - // Required. The query string in search query syntax. The query must be non-empty. - // - // Query strings can be simple as "x" or more qualified as: + // Optional. The query string in search query syntax. An empty query string + // will result in all data assets (in the specified scope) that the user has + // access to. Query strings can be simple as "x" or more qualified as: // // * name:x // * column:x @@ -482,15 +552,15 @@ message SearchCatalogRequest { // matching to work correctly. See [Data Catalog Search // Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference) // for more information. - string query = 1 [(google.api.field_behavior) = REQUIRED]; + string query = 1 [(google.api.field_behavior) = OPTIONAL]; // Number of results in the search page. If <=0 then defaults to 10. Max limit // for page_size is 1000. Throws an invalid argument for page_size > 1000. int32 page_size = 2; // Optional. Pagination token returned in an earlier - // [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token], which - // indicates that this is a continuation of a prior + // [SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token], + // which indicates that this is a continuation of a prior // [SearchCatalogRequest][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog] // call, and that the system should return the next page of data. If empty, // the first page is returned. @@ -502,6 +572,7 @@ message SearchCatalogRequest { // * `relevance`, only supports descending // * `last_modified_timestamp [asc|desc]`, defaults to descending if not // specified + // * `default` that can only be descending // // If not specified, defaults to `relevance` descending. string order_by = 5; @@ -513,8 +584,17 @@ message SearchCatalogResponse { // Search results. repeated SearchCatalogResult results = 1; + // The approximate total number of entries matched by the query. + int32 total_size = 2; + // The token that can be used to retrieve the next page of results. string next_page_token = 3; + + // Unreachable locations. Search result does not include data from those + // locations. Users can get additional information on the error by repeating + // the search request with a more restrictive parameter -- setting the value + // for `SearchDataCatalogRequest.scope.restricted_locations`. + repeated string unreachable = 6; } // Request message for @@ -548,8 +628,11 @@ message UpdateEntryGroupRequest { // Required. The updated entry group. "name" field must be set. EntryGroup entry_group = 1 [(google.api.field_behavior) = REQUIRED]; - // The fields to update on the entry group. If absent or empty, all modifiable - // fields are updated. + // Names of fields whose values to overwrite on an entry group. + // + // If this parameter is absent or empty, all modifiable fields + // are overwritten. If such fields are non-required and omitted in the + // request body, their values are emptied. google.protobuf.FieldMask update_mask = 2; } @@ -588,8 +671,8 @@ message DeleteEntryGroupRequest { // Request message for // [ListEntryGroups][google.cloud.datacatalog.v1beta1.DataCatalog.ListEntryGroups]. message ListEntryGroupsRequest { - // Required. The name of the location that contains the entry groups, which can be - // provided in URL format. Example: + // Required. The name of the location that contains the entry groups, which + // can be provided in URL format. Example: // // * projects/{project_id}/locations/{location} string parent = 1 [ @@ -599,12 +682,12 @@ message ListEntryGroupsRequest { } ]; - // Optional. The maximum number of items to return. Default is 10. Max limit is 1000. - // Throws an invalid argument for `page_size > 1000`. + // Optional. The maximum number of items to return. Default is 10. Max limit + // is 1000. Throws an invalid argument for `page_size > 1000`. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Token that specifies which page is requested. If empty, the first page is - // returned. + // Optional. Token that specifies which page is requested. If empty, the first + // page is returned. string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; } @@ -648,26 +731,30 @@ message UpdateEntryRequest { // Required. The updated entry. The "name" field must be set. Entry entry = 1 [(google.api.field_behavior) = REQUIRED]; - // The fields to update on the entry. If absent or empty, all modifiable - // fields are updated. + // Names of fields whose values to overwrite on an entry. + // + // If this parameter is absent or empty, all modifiable fields + // are overwritten. If such fields are non-required and omitted in the + // request body, their values are emptied. // // The following fields are modifiable: + // // * For entries with type `DATA_STREAM`: // * `schema` - // * For entries with type `FILESET` + // * For entries with type `FILESET`: // * `schema` // * `display_name` // * `description` // * `gcs_fileset_spec` // * `gcs_fileset_spec.file_patterns` - // * For entries with `user_specified_type` + // * For entries with `user_specified_type`: // * `schema` // * `display_name` // * `description` - // * user_specified_type - // * user_specified_system - // * linked_resource - // * source_system_timestamps + // * `user_specified_type` + // * `user_specified_system` + // * `linked_resource` + // * `source_system_timestamps` google.protobuf.FieldMask update_mask = 2; } @@ -726,7 +813,7 @@ message LookupEntryRequest { // * `bigquery.dataset.project_id.dataset_id` // * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id` // - // `*_id`s shoud satisfy the standard SQL rules for identifiers. + // `*_id`s should satisfy the standard SQL rules for identifiers. // https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical. string sql_resource = 3; } @@ -748,15 +835,19 @@ message Entry { pattern: "projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}" }; - // The Data Catalog resource name of the entry in URL format. Example: + // Output only. The Data Catalog resource name of the entry in URL format. + // Example: // // * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id} // // Note that this Entry and its child resources may not actually be stored in // the location in this name. - string name = 1 [(google.api.resource_reference) = { - type: "datacatalog.googleapis.com/EntryGroup" - }]; + string name = 1 [ + (google.api.field_behavior) = OUTPUT_ONLY, + (google.api.resource_reference) = { + type: "datacatalog.googleapis.com/EntryGroup" + } + ]; // The resource this metadata entry refers to. // @@ -793,9 +884,10 @@ message Entry { // The source system of the entry. oneof system { - // Output only. This field indicates the entry's source system that Data Catalog - // integrates with, such as BigQuery or Pub/Sub. - IntegratedSystem integrated_system = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. This field indicates the entry's source system that Data + // Catalog integrates with, such as BigQuery or Pub/Sub. + IntegratedSystem integrated_system = 17 + [(google.api.field_behavior) = OUTPUT_ONLY]; // This field indicates the entry's source system that Data Catalog does not // integrate with. `user_specified_system` strings must begin with a letter @@ -833,11 +925,15 @@ message Entry { // Schema of the entry. An entry might not have any schema attached to it. Schema schema = 5; - // Output only. Timestamps about the underlying resource, not about this Data Catalog - // entry. Output only when Entry is of type in the EntryType enum. For entries - // with user_specified_type, this field is optional and defaults to an empty - // timestamp. - SystemTimestamps source_system_timestamps = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Timestamps about the underlying resource, not about this Data + // Catalog entry. Output only when Entry is of type in the EntryType enum. For + // entries with user_specified_type, this field is optional and defaults to an + // empty timestamp. + SystemTimestamps source_system_timestamps = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Statistics on the usage level of the resource. + UsageSignal usage_signal = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; } // EntryGroup Metadata. @@ -866,8 +962,10 @@ message EntryGroup { // string. string description = 3; - // Output only. Timestamps about this EntryGroup. Default value is empty timestamps. - SystemTimestamps data_catalog_timestamps = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Timestamps about this EntryGroup. Default value is empty + // timestamps. + SystemTimestamps data_catalog_timestamps = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Request message for @@ -913,13 +1011,12 @@ message UpdateTagTemplateRequest { // Required. The template to update. The "name" field must be set. TagTemplate tag_template = 1 [(google.api.field_behavior) = REQUIRED]; - // The field mask specifies the parts of the template to overwrite. - // - // Allowed fields: + // Names of fields whose values to overwrite on a tag template. Currently, + // only `display_name` can be overwritten. // - // * `display_name` - // - // If absent or empty, all of the allowed fields above will be updated. + // In general, if this parameter is absent or empty, all modifiable fields + // are overwritten. If such fields are non-required and omitted in the + // request body, their values are emptied. google.protobuf.FieldMask update_mask = 2; } @@ -945,8 +1042,8 @@ message DeleteTagTemplateRequest { // Request message for // [CreateTag][google.cloud.datacatalog.v1beta1.DataCatalog.CreateTag]. message CreateTagRequest { - // Required. The name of the resource to attach this tag to. Tags can be attached to - // Entries. Example: + // Required. The name of the resource to attach this tag to. Tags can be + // attached to Entries. Example: // // * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id} // @@ -969,8 +1066,14 @@ message UpdateTagRequest { // Required. The updated tag. The "name" field must be set. Tag tag = 1 [(google.api.field_behavior) = REQUIRED]; - // The fields to update on the Tag. If absent or empty, all modifiable fields - // are updated. Currently the only modifiable field is the field `fields`. + // Note: Currently, this parameter can only take `"fields"` as value. + // + // Names of fields whose values to overwrite on a tag. Currently, a tag has + // the only modifiable field with the name `fields`. + // + // In general, if this parameter is absent or empty, all modifiable fields + // are overwritten. If such fields are non-required and omitted in the + // request body, their values are emptied. google.protobuf.FieldMask update_mask = 2; } @@ -1012,7 +1115,8 @@ message CreateTagTemplateFieldRequest { string tag_template_field_id = 2 [(google.api.field_behavior) = REQUIRED]; // Required. The tag template field to create. - TagTemplateField tag_template_field = 3 [(google.api.field_behavior) = REQUIRED]; + TagTemplateField tag_template_field = 3 + [(google.api.field_behavior) = REQUIRED]; } // Request message for @@ -1029,23 +1133,27 @@ message UpdateTagTemplateFieldRequest { ]; // Required. The template to update. - TagTemplateField tag_template_field = 2 [(google.api.field_behavior) = REQUIRED]; + TagTemplateField tag_template_field = 2 + [(google.api.field_behavior) = REQUIRED]; - // Optional. The field mask specifies the parts of the template to be updated. - // Allowed fields: + // Optional. Names of fields whose values to overwrite on an individual field + // of a tag template. The following fields are modifiable: // // * `display_name` // * `type.enum_type` // * `is_required` // - // If `update_mask` is not set or empty, all of the allowed fields above will - // be updated. + // If this parameter is absent or empty, all modifiable fields + // are overwritten. If such fields are non-required and omitted in the request + // body, their values are emptied with one exception: when updating an enum + // type, the provided values are merged with the existing values. Therefore, + // enum values can only be added, existing enum values cannot be deleted or + // renamed. // - // When updating an enum type, the provided values will be merged with the - // existing values. Therefore, enum values can only be added, existing enum - // values cannot be deleted nor renamed. Updating a template field from - // optional to required is NOT allowed. - google.protobuf.FieldMask update_mask = 3 [(google.api.field_behavior) = OPTIONAL]; + // Additionally, updating a template field from optional to required is + // *not* allowed. + google.protobuf.FieldMask update_mask = 3 + [(google.api.field_behavior) = OPTIONAL]; } // Request message for @@ -1061,10 +1169,30 @@ message RenameTagTemplateFieldRequest { } ]; - // Required. The new ID of this tag template field. For example, `my_new_field`. + // Required. The new ID of this tag template field. For example, + // `my_new_field`. string new_tag_template_field_id = 2 [(google.api.field_behavior) = REQUIRED]; } +// Request message for +// [RenameTagTemplateFieldEnumValue][google.cloud.datacatalog.v1.DataCatalog.RenameTagTemplateFieldEnumValue]. +message RenameTagTemplateFieldEnumValueRequest { + // Required. The name of the enum field value. Example: + // + // * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id}/enumValues/{enum_value_display_name} + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "datacatalog.googleapis.com/TagTemplateFieldEnumValue" + } + ]; + + // Required. The new display name of the enum value. For example, + // `my_new_enum_value`. + string new_enum_value_display_name = 2 + [(google.api.field_behavior) = REQUIRED]; +} + // Request message for // [DeleteTagTemplateField][google.cloud.datacatalog.v1beta1.DataCatalog.DeleteTagTemplateField]. message DeleteTagTemplateFieldRequest { @@ -1087,8 +1215,8 @@ message DeleteTagTemplateFieldRequest { // Request message for // [ListTags][google.cloud.datacatalog.v1beta1.DataCatalog.ListTags]. message ListTagsRequest { - // Required. The name of the Data Catalog resource to list the tags of. The resource - // could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an + // Required. The name of the Data Catalog resource to list the tags of. The + // resource could be an [Entry][google.cloud.datacatalog.v1beta1.Entry] or an // [EntryGroup][google.cloud.datacatalog.v1beta1.EntryGroup]. // // Examples: diff --git a/third_party/googleapis/google/cloud/datacatalog/v1beta1/datacatalog_grpc_service_config.json b/third_party/googleapis/google/cloud/datacatalog/v1beta1/datacatalog_grpc_service_config.json index 3e39b464c..158e2038e 100755 --- a/third_party/googleapis/google/cloud/datacatalog/v1beta1/datacatalog_grpc_service_config.json +++ b/third_party/googleapis/google/cloud/datacatalog/v1beta1/datacatalog_grpc_service_config.json @@ -6,61 +6,33 @@ "service": "google.cloud.datacatalog.v1beta1.DataCatalog" } ], - "timeout": "60s" - }, - { - "name": [ - { - "service": "google.cloud.datacatalog.v1beta1.DataCatalog", - "method": "GetEntryGroup" - }, - { - "service": "google.cloud.datacatalog.v1beta1.DataCatalog", - "method": "DeleteEntryGroup" - }, - { - "service": "google.cloud.datacatalog.v1beta1.DataCatalog", - "method": "DeleteEntry" - }, - { - "service": "google.cloud.datacatalog.v1beta1.DataCatalog", - "method": "GetEntry" - }, - { - "service": "google.cloud.datacatalog.v1beta1.DataCatalog", - "method": "LookupEntry" - }, - { - "service": "google.cloud.datacatalog.v1beta1.DataCatalog", - "method": "GetTagTemplate" - }, - { - "service": "google.cloud.datacatalog.v1beta1.DataCatalog", - "method": "DeleteTagTemplate" - }, - { - "service": "google.cloud.datacatalog.v1beta1.DataCatalog", - "method": "DeleteTagTemplateField" - }, - { - "service": "google.cloud.datacatalog.v1beta1.DataCatalog", - "method": "DeleteTag" - }, - { - "service": "google.cloud.datacatalog.v1beta1.DataCatalog", - "method": "ListTags" - } - ], "timeout": "60s", "retryPolicy": { "initialBackoff": "0.100s", "maxBackoff": "60s", "backoffMultiplier": 1.3, "retryableStatusCodes": [ - "DEADLINE_EXCEEDED", - "UNAVAILABLE" + "UNAVAILABLE", + "RESOURCE_EXHAUSTED", + "INTERNAL" ] } + }, + { + "name": [ + { + "service": "google.cloud.datacatalog.v1beta1.PolicyTagManager" + } + ], + "timeout": "60s" + }, + { + "name": [ + { + "service": "google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization" + } + ], + "timeout": "60s" } ] } diff --git a/third_party/googleapis/google/cloud/datacatalog/v1beta1/datacatalog_v1beta1.yaml b/third_party/googleapis/google/cloud/datacatalog/v1beta1/datacatalog_v1beta1.yaml index 1a1d044bc..ef05248a6 100644 --- a/third_party/googleapis/google/cloud/datacatalog/v1beta1/datacatalog_v1beta1.yaml +++ b/third_party/googleapis/google/cloud/datacatalog/v1beta1/datacatalog_v1beta1.yaml @@ -7,6 +7,8 @@ apis: - name: google.cloud.datacatalog.v1beta1.DataCatalog - name: google.cloud.datacatalog.v1beta1.PolicyTagManager - name: google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization +- name: google.iam.v1.IAMPolicy +- name: google.longrunning.Operations documentation: summary: |- @@ -63,3 +65,15 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform + - selector: 'google.longrunning.Operations.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform + +publishing: + new_issue_uri: https://issuetracker.google.com/issues/new?component=655468&template=1284353 + documentation_uri: https://cloud.google.com/data-catalog/docs + api_short_name: datacatalog + github_label: 'api: datacatalog' + doc_tag_prefix: datacatalog + organization: CLOUD diff --git a/third_party/googleapis/google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto b/third_party/googleapis/google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto index b7c6bcafa..3373d8858 100644 --- a/third_party/googleapis/google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto +++ b/third_party/googleapis/google/cloud/datacatalog/v1beta1/gcs_fileset_spec.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -59,9 +59,10 @@ message GcsFilesetSpec { // * `gs://bucket_name/[a-m]??.j*g` repeated string file_patterns = 1 [(google.api.field_behavior) = REQUIRED]; - // Output only. Sample files contained in this fileset, not all files contained in this - // fileset are represented here. - repeated GcsFileSpec sample_gcs_file_specs = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Sample files contained in this fileset, not all files + // contained in this fileset are represented here. + repeated GcsFileSpec sample_gcs_file_specs = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Specifications of a single file in Cloud Storage. @@ -70,7 +71,8 @@ message GcsFileSpec { string file_path = 1 [(google.api.field_behavior) = REQUIRED]; // Output only. Timestamps about the Cloud Storage file. - SystemTimestamps gcs_timestamps = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + SystemTimestamps gcs_timestamps = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The size of the file, in bytes. int64 size_bytes = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/third_party/googleapis/google/cloud/datacatalog/v1beta1/policytagmanager.proto b/third_party/googleapis/google/cloud/datacatalog/v1beta1/policytagmanager.proto index 7cc209055..02d64c375 100644 --- a/third_party/googleapis/google/cloud/datacatalog/v1beta1/policytagmanager.proto +++ b/third_party/googleapis/google/cloud/datacatalog/v1beta1/policytagmanager.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,6 +20,7 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/cloud/datacatalog/v1beta1/common.proto"; import "google/cloud/datacatalog/v1beta1/timestamps.proto"; import "google/iam/v1/iam_policy.proto"; import "google/iam/v1/policy.proto"; @@ -39,7 +40,8 @@ option ruby_package = "Google::Cloud::DataCatalog::V1beta1"; // and policy tags. service PolicyTagManager { option (google.api.default_host) = "datacatalog.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Creates a taxonomy in the specified project. rpc CreateTaxonomy(CreateTaxonomyRequest) returns (Taxonomy) { @@ -128,7 +130,8 @@ service PolicyTagManager { } // Gets the IAM policy for a taxonomy or a policy tag. - rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v1beta1/{resource=projects/*/locations/*/taxonomies/*}:getIamPolicy" body: "*" @@ -140,7 +143,8 @@ service PolicyTagManager { } // Sets the IAM policy for a taxonomy or a policy tag. - rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v1beta1/{resource=projects/*/locations/*/taxonomies/*}:setIamPolicy" body: "*" @@ -153,7 +157,8 @@ service PolicyTagManager { // Returns the permissions that a caller has on the specified taxonomy or // policy tag. - rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) { + rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) + returns (google.iam.v1.TestIamPermissionsResponse) { option (google.api.http) = { post: "/v1beta1/{resource=projects/*/locations/*/taxonomies/*}:testIamPermissions" body: "*" @@ -186,23 +191,49 @@ message Taxonomy { FINE_GRAINED_ACCESS_CONTROL = 1; } - // Output only. Resource name of this taxonomy, whose format is: + // The source system of the Taxonomy. + message Service { + // The Google Cloud service name. + ManagingSystem name = 1; + + // The service agent for the service. + string identity = 2; + } + + // Identifier. Resource name of this taxonomy, whose format is: // "projects/{project_number}/locations/{location_id}/taxonomies/{id}". - string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; - // Required. User defined name of this taxonomy. It must: contain only unicode letters, - // numbers, underscores, dashes and spaces; not start or end with spaces; and - // be at most 200 bytes long when encoded in UTF-8. + // Required. User defined name of this taxonomy. It must: contain only unicode + // letters, numbers, underscores, dashes and spaces; not start or end with + // spaces; and be at most 200 bytes long when encoded in UTF-8. + // + // The taxonomy display name must be unique within an organization. string display_name = 2 [(google.api.field_behavior) = REQUIRED]; - // Optional. Description of this taxonomy. It must: contain only unicode characters, - // tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes - // long when encoded in UTF-8. If not set, defaults to an empty description. + // Optional. Description of this taxonomy. It must: contain only unicode + // characters, tabs, newlines, carriage returns and page breaks; and be at + // most 2000 bytes long when encoded in UTF-8. If not set, defaults to an + // empty description. string description = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. A list of policy types that are activated for this taxonomy. If not set, - // defaults to an empty list. - repeated PolicyType activated_policy_types = 6 [(google.api.field_behavior) = OPTIONAL]; + // Output only. Number of policy tags contained in this taxonomy. + int32 policy_tag_count = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Timestamps about this taxonomy. Only create_time and + // update_time are used. + SystemTimestamps taxonomy_timestamps = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. A list of policy types that are activated for this taxonomy. If + // not set, defaults to an empty list. + repeated PolicyType activated_policy_types = 6 + [(google.api.field_behavior) = OPTIONAL]; + + // Output only. Identity of the service which owns the Taxonomy. This field is + // only populated when the taxonomy is created by a Google Cloud service. + // Currently only 'DATAPLEX' is supported. + Service service = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Denotes one policy tag in a taxonomy (e.g. ssn). Policy Tags can be defined @@ -215,14 +246,14 @@ message PolicyTag { pattern: "projects/{project}/locations/{location}/taxonomies/{taxonomy}/policyTags/{policy_tag}" }; - // Output only. Resource name of this policy tag, whose format is: + // Identifier. Resource name of this policy tag, whose format is: // "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{id}". - string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; - // Required. User defined name of this policy tag. It must: be unique within the parent - // taxonomy; contain only unicode letters, numbers, underscores, dashes and - // spaces; not start or end with spaces; and be at most 200 bytes long when - // encoded in UTF-8. + // Required. User defined name of this policy tag. It must: be unique within + // the parent taxonomy; contain only unicode letters, numbers, underscores, + // dashes and spaces; not start or end with spaces; and be at most 200 bytes + // long when encoded in UTF-8. string display_name = 2 [(google.api.field_behavior) = REQUIRED]; // Description of this policy tag. It must: contain only unicode characters, @@ -240,7 +271,8 @@ message PolicyTag { string parent_policy_tag = 4; // Output only. Resource names of child policy tags of this policy tag. - repeated string child_policy_tags = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated string child_policy_tags = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Request message for @@ -303,6 +335,10 @@ message ListTaxonomiesRequest { // The next_page_token value returned from a previous list request, if any. If // not set, defaults to an empty string. string page_token = 3; + + // Supported field for filter is 'service' and value is 'dataplex'. + // Eg: service=dataplex. + string filter = 4; } // Response message for @@ -346,8 +382,8 @@ message CreatePolicyTagRequest { // Request message for // [DeletePolicyTag][google.cloud.datacatalog.v1beta1.PolicyTagManager.DeletePolicyTag]. message DeletePolicyTagRequest { - // Required. Resource name of the policy tag to be deleted. All of its descendant - // policy tags will also be deleted. + // Required. Resource name of the policy tag to be deleted. All of its + // descendant policy tags will also be deleted. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { diff --git a/third_party/googleapis/google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto b/third_party/googleapis/google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto index a1b2314d3..ff652ff69 100644 --- a/third_party/googleapis/google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto +++ b/third_party/googleapis/google/cloud/datacatalog/v1beta1/policytagmanagerserialization.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,11 +17,10 @@ syntax = "proto3"; package google.cloud.datacatalog.v1beta1; import "google/api/annotations.proto"; +import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/datacatalog/v1beta1/policytagmanager.proto"; -import "google/iam/v1/policy.proto"; -import "google/api/client.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.DataCatalog.V1Beta1"; @@ -36,14 +35,16 @@ option ruby_package = "Google::Cloud::DataCatalog::V1beta1"; // their taxonomies and policy tags data with serialized format. service PolicyTagManagerSerialization { option (google.api.default_host) = "datacatalog.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Imports all taxonomies and their policy tags to a project as new // taxonomies. // // This method provides a bulk taxonomy / policy tag creation using nested // proto structure. - rpc ImportTaxonomies(ImportTaxonomiesRequest) returns (ImportTaxonomiesResponse) { + rpc ImportTaxonomies(ImportTaxonomiesRequest) + returns (ImportTaxonomiesResponse) { option (google.api.http) = { post: "/v1beta1/{parent=projects/*/locations/*}/taxonomies:import" body: "*" @@ -54,7 +55,8 @@ service PolicyTagManagerSerialization { // // This method generates SerializedTaxonomy protos with nested policy tags // that can be used as an input for future ImportTaxonomies calls. - rpc ExportTaxonomies(ExportTaxonomiesRequest) returns (ExportTaxonomiesResponse) { + rpc ExportTaxonomies(ExportTaxonomiesRequest) + returns (ExportTaxonomiesResponse) { option (google.api.http) = { get: "/v1beta1/{parent=projects/*/locations/*}/taxonomies:export" }; @@ -64,7 +66,8 @@ service PolicyTagManagerSerialization { // Message capturing a taxonomy and its policy tag hierarchy as a nested proto. // Used for taxonomy import/export and mutation. message SerializedTaxonomy { - // Required. Display name of the taxonomy. Max 200 bytes when encoded in UTF-8. + // Required. Display name of the taxonomy. Max 200 bytes when encoded in + // UTF-8. string display_name = 1 [(google.api.field_behavior) = REQUIRED]; // Description of the serialized taxonomy. The length of the @@ -74,11 +77,20 @@ message SerializedTaxonomy { // Top level policy tags associated with the taxonomy if any. repeated SerializedPolicyTag policy_tags = 3; + + // A list of policy types that are activated for a taxonomy. + repeated Taxonomy.PolicyType activated_policy_types = 4; } // Message representing one policy tag when exported as a nested proto. message SerializedPolicyTag { - // Required. Display name of the policy tag. Max 200 bytes when encoded in UTF-8. + // Resource name of the policy tag. + // + // This field will be ignored when calling ImportTaxonomies. + string policy_tag = 1; + + // Required. Display name of the policy tag. Max 200 bytes when encoded in + // UTF-8. string display_name = 2 [(google.api.field_behavior) = REQUIRED]; // Description of the serialized policy tag. The length of the @@ -93,8 +105,8 @@ message SerializedPolicyTag { // Request message for // [ImportTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization.ImportTaxonomies]. message ImportTaxonomiesRequest { - // Required. Resource name of project that the newly created taxonomies will - // belong to. + // Required. Resource name of project that the imported taxonomies will belong + // to. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -102,9 +114,9 @@ message ImportTaxonomiesRequest { } ]; - // Required. Source taxonomies to be imported in a tree structure. + // Source taxonomies to be imported. oneof source { - // Inline source used for taxonomies import + // Inline source used for taxonomies to be imported. InlineSource inline_source = 2; } } @@ -112,7 +124,8 @@ message ImportTaxonomiesRequest { // Inline source used for taxonomies import. message InlineSource { // Required. Taxonomies to be imported. - repeated SerializedTaxonomy taxonomies = 1 [(google.api.field_behavior) = REQUIRED]; + repeated SerializedTaxonomy taxonomies = 1 + [(google.api.field_behavior) = REQUIRED]; } // Response message for diff --git a/third_party/googleapis/google/cloud/datacatalog/v1beta1/schema.proto b/third_party/googleapis/google/cloud/datacatalog/v1beta1/schema.proto index c51234aa4..1620a6444 100644 --- a/third_party/googleapis/google/cloud/datacatalog/v1beta1/schema.proto +++ b/third_party/googleapis/google/cloud/datacatalog/v1beta1/schema.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -28,8 +28,8 @@ option ruby_package = "Google::Cloud::DataCatalog::V1beta1"; // Represents a schema (e.g. BigQuery, GoogleSQL, Avro schema). message Schema { - // Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be - // specified. + // Required. Schema of columns. A maximum of 10,000 columns and sub-columns + // can be specified. repeated ColumnSchema columns = 2 [(google.api.field_behavior) = REQUIRED]; } @@ -45,11 +45,12 @@ message ColumnSchema { // Optional. Description of the column. Default value is an empty string. string description = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. A column's mode indicates whether the values in this column are required, - // nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are supported. - // Default mode is `NULLABLE`. + // Optional. A column's mode indicates whether the values in this column are + // required, nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are + // supported. Default mode is `NULLABLE`. string mode = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Schema of sub-columns. A column can have zero or more sub-columns. + // Optional. Schema of sub-columns. A column can have zero or more + // sub-columns. repeated ColumnSchema subcolumns = 7 [(google.api.field_behavior) = OPTIONAL]; } diff --git a/third_party/googleapis/google/cloud/datacatalog/v1beta1/search.proto b/third_party/googleapis/google/cloud/datacatalog/v1beta1/search.proto index 0455662cb..64a2465eb 100644 --- a/third_party/googleapis/google/cloud/datacatalog/v1beta1/search.proto +++ b/third_party/googleapis/google/cloud/datacatalog/v1beta1/search.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,7 +16,8 @@ syntax = "proto3"; package google.cloud.datacatalog.v1beta1; -import "google/cloud/datacatalog/v1beta1/common.proto"; +import "google/api/field_behavior.proto"; +import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.DataCatalog.V1Beta1"; @@ -52,6 +53,9 @@ message SearchCatalogResult { // // * `//bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId` string linked_resource = 4; + + // Last-modified timestamp of the entry from the managing system. + google.protobuf.Timestamp modify_time = 7; } // The different types of resources that can be returned in search. diff --git a/third_party/googleapis/google/cloud/datacatalog/v1beta1/table_spec.proto b/third_party/googleapis/google/cloud/datacatalog/v1beta1/table_spec.proto index abfc3fe46..9f76d8998 100644 --- a/third_party/googleapis/google/cloud/datacatalog/v1beta1/table_spec.proto +++ b/third_party/googleapis/google/cloud/datacatalog/v1beta1/table_spec.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -30,7 +30,8 @@ option ruby_package = "Google::Cloud::DataCatalog::V1beta1"; // Describes a BigQuery table. message BigQueryTableSpec { // Output only. The table source type. - TableSourceType table_source_type = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + TableSourceType table_source_type = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. oneof type_spec { @@ -54,6 +55,9 @@ enum TableSourceType { // BigQuery native table. BIGQUERY_TABLE = 5; + + // BigQuery materialized view. + BIGQUERY_MATERIALIZED_VIEW = 7; } // Table view specification. @@ -64,9 +68,9 @@ message ViewSpec { // Normal BigQuery table spec. message TableSpec { - // Output only. If the table is a dated shard, i.e., with name pattern `[prefix]YYYYMMDD`, - // `grouped_entry` is the Data Catalog resource name of the date sharded - // grouped entry, for example, + // Output only. If the table is a dated shard, i.e., with name pattern + // `[prefix]YYYYMMDD`, `grouped_entry` is the Data Catalog resource name of + // the date sharded grouped entry, for example, // `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`. // Otherwise, `grouped_entry` is empty. string grouped_entry = 1 [ @@ -81,8 +85,8 @@ message TableSpec { // Context: // https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding message BigQueryDateShardedSpec { - // Output only. The Data Catalog resource name of the dataset entry the current table - // belongs to, for example, + // Output only. The Data Catalog resource name of the dataset entry the + // current table belongs to, for example, // `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`. string dataset = 1 [ (google.api.field_behavior) = OUTPUT_ONLY, @@ -91,7 +95,8 @@ message BigQueryDateShardedSpec { } ]; - // Output only. The table name prefix of the shards. The name of any given shard is + // Output only. The table name prefix of the shards. The name of any given + // shard is // `[table_prefix]YYYYMMDD`, for example, for shard `MyTable20180101`, the // `table_prefix` is `MyTable`. string table_prefix = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/third_party/googleapis/google/cloud/datacatalog/v1beta1/tags.proto b/third_party/googleapis/google/cloud/datacatalog/v1beta1/tags.proto index 57a683bbe..fa6b40789 100644 --- a/third_party/googleapis/google/cloud/datacatalog/v1beta1/tags.proto +++ b/third_party/googleapis/google/cloud/datacatalog/v1beta1/tags.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -48,7 +48,8 @@ message Tag { // Note that this Tag may not actually be stored in the location in this name. string name = 1; - // Required. The resource name of the tag template that this tag uses. Example: + // Required. The resource name of the tag template that this tag uses. + // Example: // // * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id} // @@ -73,9 +74,9 @@ message Tag { string column = 4; } - // Required. This maps the ID of a tag field to the value of and additional information - // about that field. Valid field IDs are defined by the tag's template. A tag - // must have at least 1 field and at most 500 fields. + // Required. This maps the ID of a tag field to the value of and additional + // information about that field. Valid field IDs are defined by the tag's + // template. A tag must have at least 1 field and at most 500 fields. map fields = 3 [(google.api.field_behavior) = REQUIRED]; } @@ -110,8 +111,9 @@ message TagField { EnumValue enum_value = 6; } - // Output only. The order of this field with respect to other fields in this tag. It can be - // set in [Tag][google.cloud.datacatalog.v1beta1.TagTemplateField.order]. For + // Output only. The order of this field with respect to other fields in this + // tag. It can be set in + // [Tag][google.cloud.datacatalog.v1beta1.TagTemplateField.order]. For // example, a higher value can indicate a more important field. The value can // be negative. Multiple fields can have the same order, and field orders // within a tag do not have to be sequential. @@ -119,7 +121,7 @@ message TagField { } // A tag template defines a tag, which can have one or more typed fields. -// The template is used to create and attach the tag to GCP resources. +// The template is used to create and attach the tag to Google Cloud resources. // [Tag template // roles](https://cloud.google.com/iam/docs/understanding-roles#data-catalog-roles) // provide permissions to create, edit, and use the template. See, for example, @@ -151,7 +153,8 @@ message TagTemplate { // letters (both uppercase and lowercase), numbers (0-9) and underscores (_). // Field IDs must be at least 1 character long and at most // 64 characters long. Field IDs must start with a letter or underscore. - map fields = 3 [(google.api.field_behavior) = REQUIRED]; + map fields = 3 + [(google.api.field_behavior) = REQUIRED]; } // The template for an individual field within a tag template. @@ -161,7 +164,8 @@ message TagTemplateField { pattern: "projects/{project}/locations/{location}/tagTemplates/{tag_template}/fields/{field}" }; - // Output only. The resource name of the tag template field in URL format. Example: + // Output only. The resource name of the tag template field in URL format. + // Example: // // * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field} // @@ -178,6 +182,9 @@ message TagTemplateField { // Whether this is a required field. Defaults to false. bool is_required = 3; + // The description for this field. Defaults to an empty string. + string description = 4; + // The order of this field with respect to other fields in this tag // template. A higher value indicates a more important field. The value can // be negative. Multiple fields can have the same order, and field orders @@ -186,21 +193,6 @@ message TagTemplateField { } message FieldType { - message EnumType { - message EnumValue { - // Required. The display name of the enum value. Must not be an empty string. - string display_name = 1 [(google.api.field_behavior) = REQUIRED]; - } - - // Required on create; optional on update. The set of allowed values for - // this enum. This set must not be empty, the display names of the values in - // this set must not be empty and the display names of the values must be - // case-insensitively unique within this set. Currently, enum values can - // only be added to the list of allowed values. Deletion and renaming of - // enum values are not supported. Can have up to 500 allowed values. - repeated EnumValue allowed_values = 1; - } - enum PrimitiveType { // This is the default invalid value for a type. PRIMITIVE_TYPE_UNSPECIFIED = 0; @@ -218,6 +210,16 @@ message FieldType { TIMESTAMP = 4; } + message EnumType { + message EnumValue { + // Required. The display name of the enum value. Must not be an empty + // string. + string display_name = 1 [(google.api.field_behavior) = REQUIRED]; + } + + repeated EnumValue allowed_values = 1; + } + // Required. oneof type_decl { // Represents primitive types - string, bool etc. diff --git a/third_party/googleapis/google/cloud/datacatalog/v1beta1/timestamps.proto b/third_party/googleapis/google/cloud/datacatalog/v1beta1/timestamps.proto index e524d671c..4f10cc7e2 100644 --- a/third_party/googleapis/google/cloud/datacatalog/v1beta1/timestamps.proto +++ b/third_party/googleapis/google/cloud/datacatalog/v1beta1/timestamps.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -37,5 +37,6 @@ message SystemTimestamps { // Output only. The expiration time of the resource within the given system. // Currently only apllicable to BigQuery resources. - google.protobuf.Timestamp expire_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp expire_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/cloud/dataform/BUILD.bazel b/third_party/googleapis/google/cloud/dataform/BUILD.bazel index 4cb8362c5..48139bdd0 100644 --- a/third_party/googleapis/google/cloud/dataform/BUILD.bazel +++ b/third_party/googleapis/google/cloud/dataform/BUILD.bazel @@ -21,13 +21,14 @@ ruby_cloud_gapic_library( srcs = ["//google/cloud/dataform/v1beta1:dataform_proto_with_info"], extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-dataform", - "ruby-cloud-wrapper-of=v1beta1:0.0", + "ruby-cloud-wrapper-of=v1beta1:0.6", "ruby-cloud-product-url=https://cloud.google.com/dataform", "ruby-cloud-api-id=dataform.googleapis.com", "ruby-cloud-api-shortname=dataform", ], ruby_cloud_description = "Dataform is a service for data analysts to develop, test, version control, and schedule complex SQL workflows for data transformation in BigQuery.", ruby_cloud_title = "Dataform", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/dataform/v1alpha2/BUILD.bazel b/third_party/googleapis/google/cloud/dataform/v1alpha2/BUILD.bazel index bd516cb27..098077df9 100644 --- a/third_party/googleapis/google/cloud/dataform/v1alpha2/BUILD.bazel +++ b/third_party/googleapis/google/cloud/dataform/v1alpha2/BUILD.bazel @@ -118,7 +118,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -149,19 +148,13 @@ go_gapic_library( ], ) -go_test( - name = "dataform_go_gapic_test", - srcs = [":dataform_go_gapic_srcjar_test"], - embed = [":dataform_go_gapic"], - importpath = "cloud.google.com/go/dataform/apiv1alpha2", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-dataform-v1alpha2-go", deps = [ ":dataform_go_gapic", ":dataform_go_gapic_srcjar-metadata.srcjar", + ":dataform_go_gapic_srcjar-snippets.srcjar", ":dataform_go_gapic_srcjar-test.srcjar", ":dataform_go_proto", ], @@ -213,7 +206,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -222,12 +214,6 @@ php_proto_library( deps = [":dataform_proto"], ) -php_grpc_library( - name = "dataform_php_grpc", - srcs = [":dataform_proto"], - deps = [":dataform_php_proto"], -) - php_gapic_library( name = "dataform_php_gapic", srcs = [":dataform_proto_with_info"], @@ -235,10 +221,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "dataform_v1alpha2.yaml", transport = "grpc+rest", - deps = [ - ":dataform_php_grpc", - ":dataform_php_proto", - ], + deps = [":dataform_php_proto"], ) # Open Source Packages @@ -246,7 +229,6 @@ php_gapic_assembly_pkg( name = "google-cloud-dataform-v1alpha2-php", deps = [ ":dataform_php_gapic", - ":dataform_php_grpc", ":dataform_php_proto", ], ) @@ -310,6 +292,7 @@ ruby_cloud_gapic_library( grpc_service_config = "dataform_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "dataform_v1alpha2.yaml", + transport = "grpc+rest", deps = [ ":dataform_ruby_grpc", ":dataform_ruby_proto", diff --git a/third_party/googleapis/google/cloud/dataform/v1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/dataform/v1beta1/BUILD.bazel index d779d1de6..99f75fff0 100644 --- a/third_party/googleapis/google/cloud/dataform/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/dataform/v1beta1/BUILD.bazel @@ -28,9 +28,11 @@ proto_library( "//google/api:client_proto", "//google/api:field_behavior_proto", "//google/api:resource_proto", + "//google/rpc:status_proto", "//google/type:interval_proto", "@com_google_protobuf//:empty_proto", "@com_google_protobuf//:field_mask_proto", + "@com_google_protobuf//:timestamp_proto", ], ) @@ -75,9 +77,9 @@ java_gapic_library( rest_numeric_enums = True, service_yaml = "dataform_v1beta1.yaml", test_deps = [ - ":dataform_java_grpc", "//google/cloud/location:location_java_grpc", "//google/iam/v1:iam_java_grpc", + ":dataform_java_grpc", ], transport = "grpc+rest", deps = [ @@ -118,7 +120,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -128,6 +129,7 @@ go_proto_library( protos = [":dataform_proto"], deps = [ "//google/api:annotations_go_proto", + "//google/rpc:status_go_proto", "//google/type:interval_go_proto", ], ) @@ -149,19 +151,13 @@ go_gapic_library( ], ) -go_test( - name = "dataform_go_gapic_test", - srcs = [":dataform_go_gapic_srcjar_test"], - embed = [":dataform_go_gapic"], - importpath = "cloud.google.com/go/dataform/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-dataform-v1beta1-go", deps = [ ":dataform_go_gapic", ":dataform_go_gapic_srcjar-metadata.srcjar", + ":dataform_go_gapic_srcjar-snippets.srcjar", ":dataform_go_gapic_srcjar-test.srcjar", ":dataform_go_proto", ], @@ -174,6 +170,7 @@ load( "@com_google_googleapis_imports//:imports.bzl", "py_gapic_assembly_pkg", "py_gapic_library", + "py_test", ) py_gapic_library( @@ -183,6 +180,19 @@ py_gapic_library( rest_numeric_enums = True, service_yaml = "dataform_v1beta1.yaml", transport = "grpc+rest", + deps = [ + "//google/iam/v1:iam_policy_py_proto", + ], +) + +py_test( + name = "dataform_py_gapic_test", + srcs = [ + "dataform_py_gapic_pytest.py", + "dataform_py_gapic_test.py", + ], + legacy_create_init = False, + deps = [":dataform_py_gapic"], ) # Open Source Packages @@ -200,7 +210,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -209,21 +218,15 @@ php_proto_library( deps = [":dataform_proto"], ) -php_grpc_library( - name = "dataform_php_grpc", - srcs = [":dataform_proto"], - deps = [":dataform_php_proto"], -) - php_gapic_library( name = "dataform_php_gapic", srcs = [":dataform_proto_with_info"], grpc_service_config = "dataform_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "dataform_v1beta1.yaml", transport = "grpc+rest", deps = [ - ":dataform_php_grpc", ":dataform_php_proto", ], ) @@ -233,7 +236,6 @@ php_gapic_assembly_pkg( name = "google-cloud-dataform-v1beta1-php", deps = [ ":dataform_php_gapic", - ":dataform_php_grpc", ":dataform_php_proto", ], ) @@ -304,6 +306,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Dataform is a service for data analysts to develop, test, version control, and schedule complex SQL workflows for data transformation in BigQuery.", ruby_cloud_title = "Dataform V1beta1", service_yaml = "dataform_v1beta1.yaml", + transport = "grpc+rest", deps = [ ":dataform_ruby_grpc", ":dataform_ruby_proto", @@ -333,6 +336,7 @@ load( csharp_proto_library( name = "dataform_csharp_proto", + extra_opts = [], deps = [":dataform_proto"], ) diff --git a/third_party/googleapis/google/cloud/dataform/v1beta1/dataform.proto b/third_party/googleapis/google/cloud/dataform/v1beta1/dataform.proto index 466459c30..afdf70787 100644 --- a/third_party/googleapis/google/cloud/dataform/v1beta1/dataform.proto +++ b/third_party/googleapis/google/cloud/dataform/v1beta1/dataform.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -22,6 +22,8 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; +import "google/protobuf/timestamp.proto"; +import "google/rpc/status.proto"; import "google/type/interval.proto"; option csharp_namespace = "Google.Cloud.Dataform.V1Beta1"; @@ -40,10 +42,12 @@ option (google.api.resource_definition) = { // tables in BigQuery. service Dataform { option (google.api.default_host) = "dataform.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Lists Repositories in a given project and location. - rpc ListRepositories(ListRepositoriesRequest) returns (ListRepositoriesResponse) { + rpc ListRepositories(ListRepositoriesRequest) + returns (ListRepositoriesResponse) { option (google.api.http) = { get: "/v1beta1/{parent=projects/*/locations/*}/repositories" }; @@ -77,15 +81,63 @@ service Dataform { } // Deletes a single Repository. - rpc DeleteRepository(DeleteRepositoryRequest) returns (google.protobuf.Empty) { + rpc DeleteRepository(DeleteRepositoryRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1beta1/{name=projects/*/locations/*/repositories/*}" }; option (google.api.method_signature) = "name"; } + // Applies a Git commit to a Repository. The Repository must not have a value + // for `git_remote_settings.url`. + rpc CommitRepositoryChanges(CommitRepositoryChangesRequest) + returns (google.protobuf.Empty) { + option (google.api.http) = { + post: "/v1beta1/{name=projects/*/locations/*/repositories/*}:commit" + body: "*" + }; + } + + // Returns the contents of a file (inside a Repository). The Repository + // must not have a value for `git_remote_settings.url`. + rpc ReadRepositoryFile(ReadRepositoryFileRequest) + returns (ReadRepositoryFileResponse) { + option (google.api.http) = { + get: "/v1beta1/{name=projects/*/locations/*/repositories/*}:readFile" + }; + } + + // Returns the contents of a given Repository directory. The Repository must + // not have a value for `git_remote_settings.url`. + rpc QueryRepositoryDirectoryContents(QueryRepositoryDirectoryContentsRequest) + returns (QueryRepositoryDirectoryContentsResponse) { + option (google.api.http) = { + get: "/v1beta1/{name=projects/*/locations/*/repositories/*}:queryDirectoryContents" + }; + } + + // Fetches a Repository's history of commits. The Repository must not have a + // value for `git_remote_settings.url`. + rpc FetchRepositoryHistory(FetchRepositoryHistoryRequest) + returns (FetchRepositoryHistoryResponse) { + option (google.api.http) = { + get: "/v1beta1/{name=projects/*/locations/*/repositories/*}:fetchHistory" + }; + } + + // Computes a Repository's Git access token status. + rpc ComputeRepositoryAccessTokenStatus( + ComputeRepositoryAccessTokenStatusRequest) + returns (ComputeRepositoryAccessTokenStatusResponse) { + option (google.api.http) = { + get: "/v1beta1/{name=projects/*/locations/*/repositories/*}:computeAccessTokenStatus" + }; + } + // Fetches a Repository's remote branches. - rpc FetchRemoteBranches(FetchRemoteBranchesRequest) returns (FetchRemoteBranchesResponse) { + rpc FetchRemoteBranches(FetchRemoteBranchesRequest) + returns (FetchRemoteBranchesResponse) { option (google.api.http) = { get: "/v1beta1/{name=projects/*/locations/*/repositories/*}:fetchRemoteBranches" }; @@ -125,7 +177,8 @@ service Dataform { } // Installs dependency NPM packages (inside a Workspace). - rpc InstallNpmPackages(InstallNpmPackagesRequest) returns (InstallNpmPackagesResponse) { + rpc InstallNpmPackages(InstallNpmPackagesRequest) + returns (InstallNpmPackagesResponse) { option (google.api.http) = { post: "/v1beta1/{workspace=projects/*/locations/*/repositories/*/workspaces/*}:installNpmPackages" body: "*" @@ -149,21 +202,24 @@ service Dataform { } // Fetches Git statuses for the files in a Workspace. - rpc FetchFileGitStatuses(FetchFileGitStatusesRequest) returns (FetchFileGitStatusesResponse) { + rpc FetchFileGitStatuses(FetchFileGitStatusesRequest) + returns (FetchFileGitStatusesResponse) { option (google.api.http) = { get: "/v1beta1/{name=projects/*/locations/*/repositories/*/workspaces/*}:fetchFileGitStatuses" }; } // Fetches Git ahead/behind against a remote branch. - rpc FetchGitAheadBehind(FetchGitAheadBehindRequest) returns (FetchGitAheadBehindResponse) { + rpc FetchGitAheadBehind(FetchGitAheadBehindRequest) + returns (FetchGitAheadBehindResponse) { option (google.api.http) = { get: "/v1beta1/{name=projects/*/locations/*/repositories/*/workspaces/*}:fetchGitAheadBehind" }; } // Applies a Git commit for uncommitted files in a Workspace. - rpc CommitWorkspaceChanges(CommitWorkspaceChangesRequest) returns (google.protobuf.Empty) { + rpc CommitWorkspaceChanges(CommitWorkspaceChangesRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { post: "/v1beta1/{name=projects/*/locations/*/repositories/*/workspaces/*}:commit" body: "*" @@ -171,7 +227,8 @@ service Dataform { } // Performs a Git reset for uncommitted files in a Workspace. - rpc ResetWorkspaceChanges(ResetWorkspaceChangesRequest) returns (google.protobuf.Empty) { + rpc ResetWorkspaceChanges(ResetWorkspaceChangesRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { post: "/v1beta1/{name=projects/*/locations/*/repositories/*/workspaces/*}:reset" body: "*" @@ -186,7 +243,8 @@ service Dataform { } // Returns the contents of a given Workspace directory. - rpc QueryDirectoryContents(QueryDirectoryContentsRequest) returns (QueryDirectoryContentsResponse) { + rpc QueryDirectoryContents(QueryDirectoryContentsRequest) + returns (QueryDirectoryContentsResponse) { option (google.api.http) = { get: "/v1beta1/{workspace=projects/*/locations/*/repositories/*/workspaces/*}:queryDirectoryContents" }; @@ -248,8 +306,54 @@ service Dataform { }; } + // Lists ReleaseConfigs in a given Repository. + rpc ListReleaseConfigs(ListReleaseConfigsRequest) + returns (ListReleaseConfigsResponse) { + option (google.api.http) = { + get: "/v1beta1/{parent=projects/*/locations/*/repositories/*}/releaseConfigs" + }; + option (google.api.method_signature) = "parent"; + } + + // Fetches a single ReleaseConfig. + rpc GetReleaseConfig(GetReleaseConfigRequest) returns (ReleaseConfig) { + option (google.api.http) = { + get: "/v1beta1/{name=projects/*/locations/*/repositories/*/releaseConfigs/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Creates a new ReleaseConfig in a given Repository. + rpc CreateReleaseConfig(CreateReleaseConfigRequest) returns (ReleaseConfig) { + option (google.api.http) = { + post: "/v1beta1/{parent=projects/*/locations/*/repositories/*}/releaseConfigs" + body: "release_config" + }; + option (google.api.method_signature) = + "parent,release_config,release_config_id"; + } + + // Updates a single ReleaseConfig. + rpc UpdateReleaseConfig(UpdateReleaseConfigRequest) returns (ReleaseConfig) { + option (google.api.http) = { + patch: "/v1beta1/{release_config.name=projects/*/locations/*/repositories/*/releaseConfigs/*}" + body: "release_config" + }; + option (google.api.method_signature) = "release_config,update_mask"; + } + + // Deletes a single ReleaseConfig. + rpc DeleteReleaseConfig(DeleteReleaseConfigRequest) + returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1beta1/{name=projects/*/locations/*/repositories/*/releaseConfigs/*}" + }; + option (google.api.method_signature) = "name"; + } + // Lists CompilationResults in a given Repository. - rpc ListCompilationResults(ListCompilationResultsRequest) returns (ListCompilationResultsResponse) { + rpc ListCompilationResults(ListCompilationResultsRequest) + returns (ListCompilationResultsResponse) { option (google.api.http) = { get: "/v1beta1/{parent=projects/*/locations/*/repositories/*}/compilationResults" }; @@ -257,7 +361,8 @@ service Dataform { } // Fetches a single CompilationResult. - rpc GetCompilationResult(GetCompilationResultRequest) returns (CompilationResult) { + rpc GetCompilationResult(GetCompilationResultRequest) + returns (CompilationResult) { option (google.api.http) = { get: "/v1beta1/{name=projects/*/locations/*/repositories/*/compilationResults/*}" }; @@ -265,7 +370,8 @@ service Dataform { } // Creates a new CompilationResult in a given project and location. - rpc CreateCompilationResult(CreateCompilationResultRequest) returns (CompilationResult) { + rpc CreateCompilationResult(CreateCompilationResultRequest) + returns (CompilationResult) { option (google.api.http) = { post: "/v1beta1/{parent=projects/*/locations/*/repositories/*}/compilationResults" body: "compilation_result" @@ -274,14 +380,63 @@ service Dataform { } // Returns CompilationResultActions in a given CompilationResult. - rpc QueryCompilationResultActions(QueryCompilationResultActionsRequest) returns (QueryCompilationResultActionsResponse) { + rpc QueryCompilationResultActions(QueryCompilationResultActionsRequest) + returns (QueryCompilationResultActionsResponse) { option (google.api.http) = { get: "/v1beta1/{name=projects/*/locations/*/repositories/*/compilationResults/*}:query" }; } + // Lists WorkflowConfigs in a given Repository. + rpc ListWorkflowConfigs(ListWorkflowConfigsRequest) + returns (ListWorkflowConfigsResponse) { + option (google.api.http) = { + get: "/v1beta1/{parent=projects/*/locations/*/repositories/*}/workflowConfigs" + }; + option (google.api.method_signature) = "parent"; + } + + // Fetches a single WorkflowConfig. + rpc GetWorkflowConfig(GetWorkflowConfigRequest) returns (WorkflowConfig) { + option (google.api.http) = { + get: "/v1beta1/{name=projects/*/locations/*/repositories/*/workflowConfigs/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Creates a new WorkflowConfig in a given Repository. + rpc CreateWorkflowConfig(CreateWorkflowConfigRequest) + returns (WorkflowConfig) { + option (google.api.http) = { + post: "/v1beta1/{parent=projects/*/locations/*/repositories/*}/workflowConfigs" + body: "workflow_config" + }; + option (google.api.method_signature) = + "parent,workflow_config,workflow_config_id"; + } + + // Updates a single WorkflowConfig. + rpc UpdateWorkflowConfig(UpdateWorkflowConfigRequest) + returns (WorkflowConfig) { + option (google.api.http) = { + patch: "/v1beta1/{workflow_config.name=projects/*/locations/*/repositories/*/workflowConfigs/*}" + body: "workflow_config" + }; + option (google.api.method_signature) = "workflow_config,update_mask"; + } + + // Deletes a single WorkflowConfig. + rpc DeleteWorkflowConfig(DeleteWorkflowConfigRequest) + returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1beta1/{name=projects/*/locations/*/repositories/*/workflowConfigs/*}" + }; + option (google.api.method_signature) = "name"; + } + // Lists WorkflowInvocations in a given Repository. - rpc ListWorkflowInvocations(ListWorkflowInvocationsRequest) returns (ListWorkflowInvocationsResponse) { + rpc ListWorkflowInvocations(ListWorkflowInvocationsRequest) + returns (ListWorkflowInvocationsResponse) { option (google.api.http) = { get: "/v1beta1/{parent=projects/*/locations/*/repositories/*}/workflowInvocations" }; @@ -289,7 +444,8 @@ service Dataform { } // Fetches a single WorkflowInvocation. - rpc GetWorkflowInvocation(GetWorkflowInvocationRequest) returns (WorkflowInvocation) { + rpc GetWorkflowInvocation(GetWorkflowInvocationRequest) + returns (WorkflowInvocation) { option (google.api.http) = { get: "/v1beta1/{name=projects/*/locations/*/repositories/*/workflowInvocations/*}" }; @@ -297,7 +453,8 @@ service Dataform { } // Creates a new WorkflowInvocation in a given Repository. - rpc CreateWorkflowInvocation(CreateWorkflowInvocationRequest) returns (WorkflowInvocation) { + rpc CreateWorkflowInvocation(CreateWorkflowInvocationRequest) + returns (WorkflowInvocation) { option (google.api.http) = { post: "/v1beta1/{parent=projects/*/locations/*/repositories/*}/workflowInvocations" body: "workflow_invocation" @@ -306,7 +463,8 @@ service Dataform { } // Deletes a single WorkflowInvocation. - rpc DeleteWorkflowInvocation(DeleteWorkflowInvocationRequest) returns (google.protobuf.Empty) { + rpc DeleteWorkflowInvocation(DeleteWorkflowInvocationRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1beta1/{name=projects/*/locations/*/repositories/*/workflowInvocations/*}" }; @@ -314,7 +472,8 @@ service Dataform { } // Requests cancellation of a running WorkflowInvocation. - rpc CancelWorkflowInvocation(CancelWorkflowInvocationRequest) returns (google.protobuf.Empty) { + rpc CancelWorkflowInvocation(CancelWorkflowInvocationRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { post: "/v1beta1/{name=projects/*/locations/*/repositories/*/workflowInvocations/*}:cancel" body: "*" @@ -322,7 +481,8 @@ service Dataform { } // Returns WorkflowInvocationActions in a given WorkflowInvocation. - rpc QueryWorkflowInvocationActions(QueryWorkflowInvocationActionsRequest) returns (QueryWorkflowInvocationActionsResponse) { + rpc QueryWorkflowInvocationActions(QueryWorkflowInvocationActionsRequest) + returns (QueryWorkflowInvocationActionsResponse) { option (google.api.http) = { get: "/v1beta1/{name=projects/*/locations/*/repositories/*/workflowInvocations/*}:query" }; @@ -338,7 +498,23 @@ message Repository { // Controls Git remote configuration for a repository. message GitRemoteSettings { - // Indicates the status of a Git authentication token. + // Configures fields for performing SSH authentication. + message SshAuthenticationConfig { + // Required. The name of the Secret Manager secret version to use as a + // ssh private key for Git operations. + // Must be in the format `projects/*/secrets/*/versions/*`. + string user_private_key_secret_version = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "secretmanager.googleapis.com/SecretVersion" + } + ]; + + // Required. Content of a public SSH key to verify an identity of a remote + // Git host. + string host_public_key = 2 [(google.api.field_behavior) = REQUIRED]; + } + enum TokenStatus { // Default value. This value is unused. TOKEN_STATUS_UNSPECIFIED = 0; @@ -360,25 +536,90 @@ message Repository { // Required. The Git remote's default branch name. string default_branch = 2 [(google.api.field_behavior) = REQUIRED]; - // Required. The name of the Secret Manager secret version to use as an + // Optional. The name of the Secret Manager secret version to use as an // authentication token for Git operations. Must be in the format // `projects/*/secrets/*/versions/*`. string authentication_token_secret_version = 3 [ - (google.api.field_behavior) = REQUIRED, + (google.api.field_behavior) = OPTIONAL, (google.api.resource_reference) = { type: "secretmanager.googleapis.com/SecretVersion" } ]; - // Output only. Indicates the status of the Git access token. - TokenStatus token_status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Optional. Authentication fields for remote uris using SSH protocol. + SshAuthenticationConfig ssh_authentication_config = 5 + [(google.api.field_behavior) = OPTIONAL]; + + // Output only. Deprecated: The field does not contain any token status + // information. Instead use + // https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories/computeAccessTokenStatus + TokenStatus token_status = 4 + [deprecated = true, (google.api.field_behavior) = OUTPUT_ONLY]; + } + + // Configures workspace compilation overrides for a repository. + // Primarily used by the UI (`console.cloud.google.com`). + // `schema_suffix` and `table_prefix` can have a special expression - + // `${workspaceName}`, which refers to the workspace name from which the + // compilation results will be created. API callers are expected to resolve + // the expression in these overrides and provide them explicitly in + // `code_compilation_config` + // (https://cloud.google.com/dataform/reference/rest/v1beta1/projects.locations.repositories.compilationResults#codecompilationconfig) + // when creating workspace-scoped compilation results. + message WorkspaceCompilationOverrides { + // Optional. The default database (Google Cloud project ID). + string default_database = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The suffix that should be appended to all schema (BigQuery + // dataset ID) names. + string schema_suffix = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The prefix that should be prepended to all table names. + string table_prefix = 3 [(google.api.field_behavior) = OPTIONAL]; } // Output only. The repository's name. string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Optional. The repository's user-friendly name. + string display_name = 8 [(google.api.field_behavior) = OPTIONAL]; + // Optional. If set, configures this repository to be linked to a Git remote. - GitRemoteSettings git_remote_settings = 2 [(google.api.field_behavior) = OPTIONAL]; + GitRemoteSettings git_remote_settings = 2 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The name of the Secret Manager secret version to be used to + // interpolate variables into the .npmrc file for package installation + // operations. Must be in the format `projects/*/secrets/*/versions/*`. The + // file itself must be in a JSON format. + string npmrc_environment_variables_secret_version = 3 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.resource_reference) = { + type: "secretmanager.googleapis.com/SecretVersion" + } + ]; + + // Optional. If set, fields of `workspace_compilation_overrides` override the + // default compilation settings that are specified in dataform.json when + // creating workspace-scoped compilation results. See documentation for + // `WorkspaceCompilationOverrides` for more information. + WorkspaceCompilationOverrides workspace_compilation_overrides = 4 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Repository user labels. + map labels = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Input only. If set to true, the authenticated user will be + // granted the roles/dataform.admin role on the created repository. To modify + // access to the created repository later apply setIamPolicy from + // https://cloud.google.com/dataform/reference/rest#rest-resource:-v1beta1.projects.locations.repositories + bool set_authenticated_user_admin = 9 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.field_behavior) = INPUT_ONLY + ]; + + // Optional. The service account to run workflow invocations under. + string service_account = 10 [(google.api.field_behavior) = OPTIONAL]; } // `ListRepositories` request message. @@ -392,9 +633,9 @@ message ListRepositoriesRequest { } ]; - // Optional. Maximum number of repositories to return. The server may return fewer - // items than requested. If unspecified, the server will pick an appropriate - // default. + // Optional. Maximum number of repositories to return. The server may return + // fewer items than requested. If unspecified, the server will pick an + // appropriate default. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. Page token received from a previous `ListRepositories` call. @@ -404,9 +645,9 @@ message ListRepositoriesRequest { // must match the call that provided the page token. string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. This field only supports ordering by `name`. If unspecified, the server - // will choose the ordering. If specified, the default order is ascending for - // the `name` field. + // Optional. This field only supports ordering by `name`. If unspecified, the + // server will choose the ordering. If specified, the default order is + // ascending for the `name` field. string order_by = 4 [(google.api.field_behavior) = OPTIONAL]; // Optional. Filter for the returned list. @@ -439,8 +680,8 @@ message GetRepositoryRequest { // `CreateRepository` request message. message CreateRepositoryRequest { - // Required. The location in which to create the repository. Must be in the format - // `projects/*/locations/*`. + // Required. The location in which to create the repository. Must be in the + // format `projects/*/locations/*`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -451,16 +692,17 @@ message CreateRepositoryRequest { // Required. The repository to create. Repository repository = 2 [(google.api.field_behavior) = REQUIRED]; - // Required. The ID to use for the repository, which will become the final component of - // the repository's resource name. + // Required. The ID to use for the repository, which will become the final + // component of the repository's resource name. string repository_id = 3 [(google.api.field_behavior) = REQUIRED]; } // `UpdateRepository` request message. message UpdateRepositoryRequest { - // Optional. Specifies the fields to be updated in the repository. If left unset, - // all fields will be updated. - google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Specifies the fields to be updated in the repository. If left + // unset, all fields will be updated. + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = OPTIONAL]; // Required. The repository to update. Repository repository = 2 [(google.api.field_behavior) = REQUIRED]; @@ -482,6 +724,206 @@ message DeleteRepositoryRequest { bool force = 2; } +// `CommitRepositoryChanges` request message. +message CommitRepositoryChangesRequest { + // Represents a single file operation to the repository. + message FileOperation { + // Represents the write file operation (for files added or modified). + message WriteFile { + // The file's contents. + bytes contents = 1; + } + + // Represents the delete file operation. + message DeleteFile {} + + oneof operation { + // Represents the write operation. + WriteFile write_file = 1; + + // Represents the delete operation. + DeleteFile delete_file = 2; + } + } + + // Required. The repository's name. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/Repository" + } + ]; + + // Required. The changes to commit to the repository. + CommitMetadata commit_metadata = 2 [(google.api.field_behavior) = REQUIRED]; + + // Optional. The commit SHA which must be the repository's current HEAD before + // applying this commit; otherwise this request will fail. If unset, no + // validation on the current HEAD commit SHA is performed. + string required_head_commit_sha = 4 [(google.api.field_behavior) = OPTIONAL]; + + // A map to the path of the file to the operation. The path is the full file + // path including filename, from repository root. + map file_operations = 3; +} + +// `ReadRepositoryFile` request message. +message ReadRepositoryFileRequest { + // Required. The repository's name. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/Repository" + } + ]; + + // Optional. The commit SHA for the commit to read from. If unset, the file + // will be read from HEAD. + string commit_sha = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Required. Full file path to read including filename, from repository root. + string path = 3 [(google.api.field_behavior) = REQUIRED]; +} + +// `ReadRepositoryFile` response message. +message ReadRepositoryFileResponse { + // The file's contents. + bytes contents = 1; +} + +// `QueryRepositoryDirectoryContents` request message. +message QueryRepositoryDirectoryContentsRequest { + // Required. The repository's name. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/Repository" + } + ]; + + // Optional. The Commit SHA for the commit to query from. If unset, the + // directory will be queried from HEAD. + string commit_sha = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The directory's full path including directory name, relative to + // root. If left unset, the root is used. + string path = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Maximum number of paths to return. The server may return fewer + // items than requested. If unspecified, the server will pick an appropriate + // default. + int32 page_size = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Page token received from a previous + // `QueryRepositoryDirectoryContents` call. Provide this to retrieve the + // subsequent page. + // + // When paginating, all other parameters provided to + // `QueryRepositoryDirectoryContents` must match the call that provided the + // page token. + string page_token = 5 [(google.api.field_behavior) = OPTIONAL]; +} + +// `QueryRepositoryDirectoryContents` response message. +message QueryRepositoryDirectoryContentsResponse { + // List of entries in the directory. + repeated DirectoryEntry directory_entries = 1; + + // A token, which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; +} + +// `FetchRepositoryHistory` request message. +message FetchRepositoryHistoryRequest { + // Required. The repository's name. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/Repository" + } + ]; + + // Optional. Maximum number of commits to return. The server may return fewer + // items than requested. If unspecified, the server will pick an appropriate + // default. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Page token received from a previous `FetchRepositoryHistory` + // call. Provide this to retrieve the subsequent page. + // + // When paginating, all other parameters provided to `FetchRepositoryHistory` + // must match the call that provided the page token. + string page_token = 5 [(google.api.field_behavior) = OPTIONAL]; +} + +// `FetchRepositoryHistory` response message. +message FetchRepositoryHistoryResponse { + // A list of commit logs, ordered by 'git log' default order. + repeated CommitLogEntry commits = 1; + + // A token, which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; +} + +// Represents a single commit log. +message CommitLogEntry { + // Commit timestamp. + google.protobuf.Timestamp commit_time = 1; + + // The commit SHA for this commit log entry. + string commit_sha = 2; + + // The commit author for this commit log entry. + CommitAuthor author = 3; + + // The commit message for this commit log entry. + string commit_message = 4; +} + +// Represents a Dataform Git commit. +message CommitMetadata { + // Required. The commit's author. + CommitAuthor author = 1 [(google.api.field_behavior) = REQUIRED]; + + // Optional. The commit's message. + string commit_message = 2 [(google.api.field_behavior) = OPTIONAL]; +} + +// `ComputeRepositoryAccessTokenStatus` request message. +message ComputeRepositoryAccessTokenStatusRequest { + // Required. The repository's name. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/Repository" + } + ]; +} + +// `ComputeRepositoryAccessTokenStatus` response message. +message ComputeRepositoryAccessTokenStatusResponse { + // Indicates the status of a Git authentication token. + enum TokenStatus { + // Default value. This value is unused. + TOKEN_STATUS_UNSPECIFIED = 0; + + // The token could not be found in Secret Manager (or the Dataform + // Service Account did not have permission to access it). + NOT_FOUND = 1; + + // The token could not be used to authenticate against the Git remote. + INVALID = 2; + + // The token was used successfully to authenticate against the Git remote. + VALID = 3; + } + + // Indicates the status of the Git access token. + TokenStatus token_status = 1; +} + // `FetchRemoteBranches` request message. message FetchRemoteBranchesRequest { // Required. The repository's name. @@ -521,9 +963,9 @@ message ListWorkspacesRequest { } ]; - // Optional. Maximum number of workspaces to return. The server may return fewer - // items than requested. If unspecified, the server will pick an appropriate - // default. + // Optional. Maximum number of workspaces to return. The server may return + // fewer items than requested. If unspecified, the server will pick an + // appropriate default. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. Page token received from a previous `ListWorkspaces` call. @@ -533,9 +975,9 @@ message ListWorkspacesRequest { // must match the call that provided the page token. string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. This field only supports ordering by `name`. If unspecified, the server - // will choose the ordering. If specified, the default order is ascending for - // the `name` field. + // Optional. This field only supports ordering by `name`. If unspecified, the + // server will choose the ordering. If specified, the default order is + // ascending for the `name` field. string order_by = 4 [(google.api.field_behavior) = OPTIONAL]; // Optional. Filter for the returned list. @@ -568,8 +1010,8 @@ message GetWorkspaceRequest { // `CreateWorkspace` request message. message CreateWorkspaceRequest { - // Required. The repository in which to create the workspace. Must be in the format - // `projects/*/locations/*/repositories/*`. + // Required. The repository in which to create the workspace. Must be in the + // format `projects/*/locations/*/repositories/*`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -580,8 +1022,8 @@ message CreateWorkspaceRequest { // Required. The workspace to create. Workspace workspace = 2 [(google.api.field_behavior) = REQUIRED]; - // Required. The ID to use for the workspace, which will become the final component of - // the workspace's resource name. + // Required. The ID to use for the workspace, which will become the final + // component of the workspace's resource name. string workspace_id = 3 [(google.api.field_behavior) = REQUIRED]; } @@ -615,12 +1057,12 @@ message PullGitCommitsRequest { } ]; - // Optional. The name of the branch in the Git remote from which to pull commits. - // If left unset, the repository's default branch name will be used. + // Optional. The name of the branch in the Git remote from which to pull + // commits. If left unset, the repository's default branch name will be used. string remote_branch = 2 [(google.api.field_behavior) = OPTIONAL]; - // Required. The author of any merge commit which may be created as a result of merging - // fetched Git commits into this workspace. + // Required. The author of any merge commit which may be created as a result + // of merging fetched Git commits into this workspace. CommitAuthor author = 3 [(google.api.field_behavior) = REQUIRED]; } @@ -634,8 +1076,9 @@ message PushGitCommitsRequest { } ]; - // Optional. The name of the branch in the Git remote to which commits should be pushed. - // If left unset, the repository's default branch name will be used. + // Optional. The name of the branch in the Git remote to which commits should + // be pushed. If left unset, the repository's default branch name will be + // used. string remote_branch = 2 [(google.api.field_behavior) = OPTIONAL]; } @@ -694,9 +1137,9 @@ message FetchGitAheadBehindRequest { } ]; - // Optional. The name of the branch in the Git remote against which this workspace - // should be compared. If left unset, the repository's default branch name - // will be used. + // Optional. The name of the branch in the Git remote against which this + // workspace should be compared. If left unset, the repository's default + // branch name will be used. string remote_branch = 2 [(google.api.field_behavior) = OPTIONAL]; } @@ -725,8 +1168,8 @@ message CommitWorkspaceChangesRequest { // Optional. The commit's message. string commit_message = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Full file paths to commit including filename, rooted at workspace root. If - // left empty, all files will be committed. + // Optional. Full file paths to commit including filename, rooted at workspace + // root. If left empty, all files will be committed. repeated string paths = 3 [(google.api.field_behavior) = OPTIONAL]; } @@ -740,8 +1183,8 @@ message ResetWorkspaceChangesRequest { } ]; - // Optional. Full file paths to reset back to their committed state including filename, - // rooted at workspace root. If left empty, all files will be reset. + // Optional. Full file paths to reset back to their committed state including + // filename, rooted at workspace root. If left empty, all files will be reset. repeated string paths = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. If set to true, untracked files will be deleted. @@ -758,7 +1201,8 @@ message FetchFileDiffRequest { } ]; - // Required. The file's full path including filename, relative to the workspace root. + // Required. The file's full path including filename, relative to the + // workspace root. string path = 2 [(google.api.field_behavior) = REQUIRED]; } @@ -778,8 +1222,8 @@ message QueryDirectoryContentsRequest { } ]; - // Optional. The directory's full path including directory name, relative to the - // workspace root. If left unset, the workspace root is used. + // Optional. The directory's full path including directory name, relative to + // the workspace root. If left unset, the workspace root is used. string path = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. Maximum number of paths to return. The server may return fewer @@ -787,8 +1231,8 @@ message QueryDirectoryContentsRequest { // default. int32 page_size = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Page token received from a previous `QueryDirectoryContents` call. - // Provide this to retrieve the subsequent page. + // Optional. Page token received from a previous `QueryDirectoryContents` + // call. Provide this to retrieve the subsequent page. // // When paginating, all other parameters provided to // `QueryDirectoryContents` must match the call that provided the page @@ -798,17 +1242,6 @@ message QueryDirectoryContentsRequest { // `QueryDirectoryContents` response message. message QueryDirectoryContentsResponse { - // Represents a single entry in a workspace directory. - message DirectoryEntry { - oneof entry { - // A file in the directory. - string file = 1; - - // A child directory in the directory. - string directory = 2; - } - } - // List of entries in the directory. repeated DirectoryEntry directory_entries = 1; @@ -817,6 +1250,17 @@ message QueryDirectoryContentsResponse { string next_page_token = 2; } +// Represents a single entry in a directory. +message DirectoryEntry { + oneof entry { + // A file in the directory. + string file = 1; + + // A child directory in the directory. + string directory = 2; + } +} + // `MakeDirectory` request message. message MakeDirectoryRequest { // Required. The workspace's name. @@ -827,15 +1271,13 @@ message MakeDirectoryRequest { } ]; - // Required. The directory's full path including directory name, relative to the - // workspace root. + // Required. The directory's full path including directory name, relative to + // the workspace root. string path = 2 [(google.api.field_behavior) = REQUIRED]; } // `MakeDirectory` response message. -message MakeDirectoryResponse { - -} +message MakeDirectoryResponse {} // `RemoveDirectory` request message. message RemoveDirectoryRequest { @@ -847,8 +1289,8 @@ message RemoveDirectoryRequest { } ]; - // Required. The directory's full path including directory name, relative to the - // workspace root. + // Required. The directory's full path including directory name, relative to + // the workspace root. string path = 2 [(google.api.field_behavior) = REQUIRED]; } @@ -862,19 +1304,17 @@ message MoveDirectoryRequest { } ]; - // Required. The directory's full path including directory name, relative to the - // workspace root. + // Required. The directory's full path including directory name, relative to + // the workspace root. string path = 2 [(google.api.field_behavior) = REQUIRED]; - // Required. The new path for the directory including directory name, rooted at - // workspace root. + // Required. The new path for the directory including directory name, rooted + // at workspace root. string new_path = 3 [(google.api.field_behavior) = REQUIRED]; } // `MoveDirectory` response message. -message MoveDirectoryResponse { - -} +message MoveDirectoryResponse {} // `ReadFile` request message. message ReadFileRequest { @@ -886,7 +1326,8 @@ message ReadFileRequest { } ]; - // Required. The file's full path including filename, relative to the workspace root. + // Required. The file's full path including filename, relative to the + // workspace root. string path = 2 [(google.api.field_behavior) = REQUIRED]; } @@ -906,7 +1347,8 @@ message RemoveFileRequest { } ]; - // Required. The file's full path including filename, relative to the workspace root. + // Required. The file's full path including filename, relative to the + // workspace root. string path = 2 [(google.api.field_behavior) = REQUIRED]; } @@ -920,17 +1362,17 @@ message MoveFileRequest { } ]; - // Required. The file's full path including filename, relative to the workspace root. + // Required. The file's full path including filename, relative to the + // workspace root. string path = 2 [(google.api.field_behavior) = REQUIRED]; - // Required. The file's new path including filename, relative to the workspace root. + // Required. The file's new path including filename, relative to the workspace + // root. string new_path = 3 [(google.api.field_behavior) = REQUIRED]; } // `MoveFile` response message. -message MoveFileResponse { - -} +message MoveFileResponse {} // `WriteFile` request message. message WriteFileRequest { @@ -950,9 +1392,7 @@ message WriteFileRequest { } // `WriteFile` response message. -message WriteFileResponse { - -} +message WriteFileResponse {} // `InstallNpmPackages` request message. message InstallNpmPackagesRequest { @@ -966,48 +1406,175 @@ message InstallNpmPackagesRequest { } // `InstallNpmPackages` response message. -message InstallNpmPackagesResponse { - -} +message InstallNpmPackagesResponse {} -// Represents the result of compiling a Dataform project. -message CompilationResult { +// Represents a Dataform release configuration. +message ReleaseConfig { option (google.api.resource) = { - type: "dataform.googleapis.com/CompilationResult" - pattern: "projects/{project}/locations/{location}/repositories/{repository}/compilationResults/{compilation_result}" + type: "dataform.googleapis.com/ReleaseConfig" + pattern: "projects/{project}/locations/{location}/repositories/{repository}/releaseConfigs/{release_config}" }; - // Configures various aspects of Dataform code compilation. - message CodeCompilationConfig { - // Optional. The default database (Google Cloud project ID). - string default_database = 1 [(google.api.field_behavior) = OPTIONAL]; + // A record of an attempt to create a compilation result for this release + // config. + message ScheduledReleaseRecord { + // The timestamp of this release attempt. + google.protobuf.Timestamp release_time = 1; + + oneof result { + // The name of the created compilation result, if one was successfully + // created. Must be in the format + // `projects/*/locations/*/repositories/*/compilationResults/*`. + string compilation_result = 2 [(google.api.resource_reference) = { + type: "dataform.googleapis.com/CompilationResult" + }]; + + // The error status encountered upon this attempt to create the + // compilation result, if the attempt was unsuccessful. + google.rpc.Status error_status = 3; + } + } + + // Output only. The release config's name. + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Optional. The default schema (BigQuery dataset ID). - string default_schema = 2 [(google.api.field_behavior) = OPTIONAL]; + // Required. Git commit/tag/branch name at which the repository should be + // compiled. Must exist in the remote repository. Examples: + // - a commit SHA: `12ade345` + // - a tag: `tag1` + // - a branch name: `branch1` + string git_commitish = 2 [(google.api.field_behavior) = REQUIRED]; + + // Optional. If set, fields of `code_compilation_config` override the default + // compilation settings that are specified in dataform.json. + CodeCompilationConfig code_compilation_config = 3 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Optional schedule (in cron format) for automatic creation of + // compilation results. + string cron_schedule = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Specifies the time zone to be used when interpreting + // cron_schedule. Must be a time zone name from the time zone database + // (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left + // unspecified, the default is UTC. + string time_zone = 7 [(google.api.field_behavior) = OPTIONAL]; + + // Output only. Records of the 10 most recent scheduled release attempts, + // ordered in in descending order of `release_time`. Updated whenever + // automatic creation of a compilation result is triggered by cron_schedule. + repeated ScheduledReleaseRecord recent_scheduled_release_records = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. The name of the currently released compilation result for this + // release config. This value is updated when a compilation result is created + // from this release config, or when this resource is updated by API call + // (perhaps to roll back to an earlier release). The compilation result must + // have been created using this release config. Must be in the format + // `projects/*/locations/*/repositories/*/compilationResults/*`. + string release_compilation_result = 6 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/CompilationResult" + } + ]; +} - // Optional. The default BigQuery location to use. Defaults to "US". - // See the BigQuery docs for a full list of locations: - // https://cloud.google.com/bigquery/docs/locations. - string default_location = 8 [(google.api.field_behavior) = OPTIONAL]; +// `ListReleaseConfigs` request message. +message ListReleaseConfigsRequest { + // Required. The repository in which to list release configs. Must be in the + // format `projects/*/locations/*/repositories/*`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/Repository" + } + ]; - // Optional. The default schema (BigQuery dataset ID) for assertions. - string assertion_schema = 3 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Maximum number of release configs to return. The server may + // return fewer items than requested. If unspecified, the server will pick an + // appropriate default. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. User-defined variables that are made available to project code during - // compilation. - map vars = 4 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Page token received from a previous `ListReleaseConfigs` call. + // Provide this to retrieve the subsequent page. + // + // When paginating, all other parameters provided to `ListReleaseConfigs` + // must match the call that provided the page token. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; +} - // Optional. The suffix that should be appended to all database (Google Cloud project - // ID) names. - string database_suffix = 5 [(google.api.field_behavior) = OPTIONAL]; +// `ListReleaseConfigs` response message. +message ListReleaseConfigsResponse { + // List of release configs. + repeated ReleaseConfig release_configs = 1; - // Optional. The suffix that should be appended to all schema (BigQuery dataset ID) - // names. - string schema_suffix = 6 [(google.api.field_behavior) = OPTIONAL]; + // A token, which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; - // Optional. The prefix that should be prepended to all table names. - string table_prefix = 7 [(google.api.field_behavior) = OPTIONAL]; - } + // Locations which could not be reached. + repeated string unreachable = 3; +} + +// `GetReleaseConfig` request message. +message GetReleaseConfigRequest { + // Required. The release config's name. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/ReleaseConfig" + } + ]; +} + +// `CreateReleaseConfig` request message. +message CreateReleaseConfigRequest { + // Required. The repository in which to create the release config. Must be in + // the format `projects/*/locations/*/repositories/*`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/Repository" + } + ]; + + // Required. The release config to create. + ReleaseConfig release_config = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The ID to use for the release config, which will become the final + // component of the release config's resource name. + string release_config_id = 3 [(google.api.field_behavior) = REQUIRED]; +} + +// `UpdateReleaseConfig` request message. +message UpdateReleaseConfigRequest { + // Optional. Specifies the fields to be updated in the release config. If left + // unset, all fields will be updated. + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = OPTIONAL]; + + // Required. The release config to update. + ReleaseConfig release_config = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// `DeleteReleaseConfig` request message. +message DeleteReleaseConfigRequest { + // Required. The release config's name. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/ReleaseConfig" + } + ]; +} + +// Represents the result of compiling a Dataform project. +message CompilationResult { + option (google.api.resource) = { + type: "dataform.googleapis.com/CompilationResult" + pattern: "projects/{project}/locations/{location}/repositories/{repository}/compilationResults/{compilation_result}" + }; // An error encountered when attempting to compile a Dataform project. message CompilationError { @@ -1017,11 +1584,12 @@ message CompilationResult { // Output only. The error's full stack trace. string stack = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The path of the file where this error occurred, if available, relative to - // the project root. + // Output only. The path of the file where this error occurred, if + // available, relative to the project root. string path = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The identifier of the action where this error occurred, if available. + // Output only. The identifier of the action where this error occurred, if + // available. Target action_target = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; } @@ -1029,9 +1597,8 @@ message CompilationResult { string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; oneof source { - // Immutable. Git commit/tag/branch name at which the repository should be compiled. - // Must exist in the remote repository. - // Examples: + // Immutable. Git commit/tag/branch name at which the repository should be + // compiled. Must exist in the remote repository. Examples: // - a commit SHA: `12ade345` // - a tag: `tag1` // - a branch name: `branch1` @@ -1045,23 +1612,73 @@ message CompilationResult { type: "dataform.googleapis.com/Workspace" } ]; + + // Immutable. The name of the release config to compile. The release + // config's 'current_compilation_result' field will be updated to this + // compilation result. Must be in the format + // `projects/*/locations/*/repositories/*/releaseConfigs/*`. + string release_config = 7 [ + (google.api.field_behavior) = IMMUTABLE, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/ReleaseConfig" + } + ]; } - // Immutable. If set, fields of `code_compilation_overrides` override the default + // Immutable. If set, fields of `code_compilation_config` override the default // compilation settings that are specified in dataform.json. - CodeCompilationConfig code_compilation_config = 4 [(google.api.field_behavior) = IMMUTABLE]; + CodeCompilationConfig code_compilation_config = 4 + [(google.api.field_behavior) = IMMUTABLE]; + + // Output only. The fully resolved Git commit SHA of the code that was + // compiled. Not set for compilation results whose source is a workspace. + string resolved_git_commit_sha = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The version of `@dataform/core` that was used for compilation. string dataform_core_version = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Errors encountered during project compilation. - repeated CompilationError compilation_errors = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated CompilationError compilation_errors = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// Configures various aspects of Dataform code compilation. +message CodeCompilationConfig { + // Optional. The default database (Google Cloud project ID). + string default_database = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The default schema (BigQuery dataset ID). + string default_schema = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The default BigQuery location to use. Defaults to "US". + // See the BigQuery docs for a full list of locations: + // https://cloud.google.com/bigquery/docs/locations. + string default_location = 8 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The default schema (BigQuery dataset ID) for assertions. + string assertion_schema = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. User-defined variables that are made available to project code + // during compilation. + map vars = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The suffix that should be appended to all database (Google Cloud + // project ID) names. + string database_suffix = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The suffix that should be appended to all schema (BigQuery + // dataset ID) names. + string schema_suffix = 6 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The prefix that should be prepended to all table names. + string table_prefix = 7 [(google.api.field_behavior) = OPTIONAL]; } // `ListCompilationResults` request message. message ListCompilationResultsRequest { - // Required. The repository in which to list compilation results. Must be in the - // format `projects/*/locations/*/repositories/*`. + // Required. The repository in which to list compilation results. Must be in + // the format `projects/*/locations/*/repositories/*`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1069,13 +1686,13 @@ message ListCompilationResultsRequest { } ]; - // Optional. Maximum number of compilation results to return. The server may return - // fewer items than requested. If unspecified, the server will pick an + // Optional. Maximum number of compilation results to return. The server may + // return fewer items than requested. If unspecified, the server will pick an // appropriate default. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Page token received from a previous `ListCompilationResults` call. - // Provide this to retrieve the subsequent page. + // Optional. Page token received from a previous `ListCompilationResults` + // call. Provide this to retrieve the subsequent page. // // When paginating, all other parameters provided to `ListCompilationResults` // must match the call that provided the page token. @@ -1108,8 +1725,8 @@ message GetCompilationResultRequest { // `CreateCompilationResult` request message. message CreateCompilationResultRequest { - // Required. The repository in which to create the compilation result. Must be in the - // format `projects/*/locations/*/repositories/*`. + // Required. The repository in which to create the compilation result. Must be + // in the format `projects/*/locations/*/repositories/*`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1118,7 +1735,8 @@ message CreateCompilationResultRequest { ]; // Required. The compilation result to create. - CompilationResult compilation_result = 2 [(google.api.field_behavior) = REQUIRED]; + CompilationResult compilation_result = 2 + [(google.api.field_behavior) = REQUIRED]; } // Represents an action identifier. If the action writes output, the output @@ -1350,21 +1968,22 @@ message QueryCompilationResultActionsRequest { } ]; - // Optional. Maximum number of compilation results to return. The server may return - // fewer items than requested. If unspecified, the server will pick an + // Optional. Maximum number of compilation results to return. The server may + // return fewer items than requested. If unspecified, the server will pick an // appropriate default. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Page token received from a previous `QueryCompilationResultActions` call. - // Provide this to retrieve the subsequent page. + // Optional. Page token received from a previous + // `QueryCompilationResultActions` call. Provide this to retrieve the + // subsequent page. // // When paginating, all other parameters provided to // `QueryCompilationResultActions` must match the call that provided the page // token. string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Optional filter for the returned list. Filtering is only currently - // supported on the `file_path` field. + // Optional. Optional filter for the returned list. Filtering is only + // currently supported on the `file_path` field. string filter = 4 [(google.api.field_behavior) = OPTIONAL]; } @@ -1378,34 +1997,190 @@ message QueryCompilationResultActionsResponse { string next_page_token = 2; } -// Represents a single invocation of a compilation result. -message WorkflowInvocation { +// Represents a Dataform workflow configuration. +message WorkflowConfig { option (google.api.resource) = { - type: "dataform.googleapis.com/WorkflowInvocation" - pattern: "projects/{project}/locations/{location}/repositories/{repository}/workflowInvocations/{workflow_invocation}" + type: "dataform.googleapis.com/WorkflowConfig" + pattern: "projects/{project}/locations/{location}/repositories/{repository}/workflowConfigs/{workflow_config}" }; - // Includes various configuration options for this workflow invocation. - // If both `included_targets` and `included_tags` are unset, all actions - // will be included. - message InvocationConfig { - // Immutable. The set of action identifiers to include. - repeated Target included_targets = 1 [(google.api.field_behavior) = IMMUTABLE]; + // A record of an attempt to create a workflow invocation for this workflow + // config. + message ScheduledExecutionRecord { + // The timestamp of this execution attempt. + google.protobuf.Timestamp execution_time = 1; + + oneof result { + // The name of the created workflow invocation, if one was successfully + // created. Must be in the format + // `projects/*/locations/*/repositories/*/workflowInvocations/*`. + string workflow_invocation = 2 [(google.api.resource_reference) = { + type: "dataform.googleapis.com/WorkflowInvocation" + }]; + + // The error status encountered upon this attempt to create the + // workflow invocation, if the attempt was unsuccessful. + google.rpc.Status error_status = 3; + } + } - // Immutable. The set of tags to include. - repeated string included_tags = 2 [(google.api.field_behavior) = IMMUTABLE]; + // Output only. The workflow config's name. + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Immutable. When set to true, transitive dependencies of included actions will be - // executed. - bool transitive_dependencies_included = 3 [(google.api.field_behavior) = IMMUTABLE]; + // Required. The name of the release config whose release_compilation_result + // should be executed. Must be in the format + // `projects/*/locations/*/repositories/*/releaseConfigs/*`. + string release_config = 2 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/ReleaseConfig" + } + ]; - // Immutable. When set to true, transitive dependents of included actions will be - // executed. - bool transitive_dependents_included = 4 [(google.api.field_behavior) = IMMUTABLE]; + // Optional. If left unset, a default InvocationConfig will be used. + InvocationConfig invocation_config = 3 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Optional schedule (in cron format) for automatic execution of + // this workflow config. + string cron_schedule = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Specifies the time zone to be used when interpreting + // cron_schedule. Must be a time zone name from the time zone database + // (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). If left + // unspecified, the default is UTC. + string time_zone = 7 [(google.api.field_behavior) = OPTIONAL]; + + // Output only. Records of the 10 most recent scheduled execution attempts, + // ordered in in descending order of `execution_time`. Updated whenever + // automatic creation of a workflow invocation is triggered by cron_schedule. + repeated ScheduledExecutionRecord recent_scheduled_execution_records = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} - // Immutable. When set to true, any incremental tables will be fully refreshed. - bool fully_refresh_incremental_tables_enabled = 5 [(google.api.field_behavior) = IMMUTABLE]; - } +// Includes various configuration options for a workflow invocation. +// If both `included_targets` and `included_tags` are unset, all actions +// will be included. +message InvocationConfig { + // Optional. The set of action identifiers to include. + repeated Target included_targets = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The set of tags to include. + repeated string included_tags = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. When set to true, transitive dependencies of included actions + // will be executed. + bool transitive_dependencies_included = 3 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. When set to true, transitive dependents of included actions will + // be executed. + bool transitive_dependents_included = 4 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. When set to true, any incremental tables will be fully refreshed. + bool fully_refresh_incremental_tables_enabled = 5 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The service account to run workflow invocations under. + string service_account = 6 [(google.api.field_behavior) = OPTIONAL]; +} + +// `ListWorkflowConfigs` request message. +message ListWorkflowConfigsRequest { + // Required. The repository in which to list workflow configs. Must be in the + // format `projects/*/locations/*/repositories/*`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/Repository" + } + ]; + + // Optional. Maximum number of workflow configs to return. The server may + // return fewer items than requested. If unspecified, the server will pick an + // appropriate default. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Page token received from a previous `ListWorkflowConfigs` call. + // Provide this to retrieve the subsequent page. + // + // When paginating, all other parameters provided to `ListWorkflowConfigs` + // must match the call that provided the page token. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// `ListWorkflowConfigs` response message. +message ListWorkflowConfigsResponse { + // List of workflow configs. + repeated WorkflowConfig workflow_configs = 1; + + // A token, which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; + + // Locations which could not be reached. + repeated string unreachable = 3; +} + +// `GetWorkflowConfig` request message. +message GetWorkflowConfigRequest { + // Required. The workflow config's name. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/WorkflowConfig" + } + ]; +} + +// `CreateWorkflowConfig` request message. +message CreateWorkflowConfigRequest { + // Required. The repository in which to create the workflow config. Must be in + // the format `projects/*/locations/*/repositories/*`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/Repository" + } + ]; + + // Required. The workflow config to create. + WorkflowConfig workflow_config = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The ID to use for the workflow config, which will become the + // final component of the workflow config's resource name. + string workflow_config_id = 3 [(google.api.field_behavior) = REQUIRED]; +} + +// `UpdateWorkflowConfig` request message. +message UpdateWorkflowConfigRequest { + // Optional. Specifies the fields to be updated in the workflow config. If + // left unset, all fields will be updated. + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = OPTIONAL]; + + // Required. The workflow config to update. + WorkflowConfig workflow_config = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// `DeleteWorkflowConfig` request message. +message DeleteWorkflowConfigRequest { + // Required. The workflow config's name. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/WorkflowConfig" + } + ]; +} + +// Represents a single invocation of a compilation result. +message WorkflowInvocation { + option (google.api.resource) = { + type: "dataform.googleapis.com/WorkflowInvocation" + pattern: "projects/{project}/locations/{location}/repositories/{repository}/workflowInvocations/{workflow_invocation}" + }; // Represents the current state of a workflow invocation. enum State { @@ -1432,29 +2207,43 @@ message WorkflowInvocation { // Output only. The workflow invocation's name. string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Immutable. The name of the compilation result to compile. Must be in the format - // `projects/*/locations/*/repositories/*/compilationResults/*`. - string compilation_result = 2 [ - (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "dataform.googleapis.com/CompilationResult" - } - ]; + oneof compilation_source { + // Immutable. The name of the compilation result to use for this invocation. + // Must be in the format + // `projects/*/locations/*/repositories/*/compilationResults/*`. + string compilation_result = 2 [ + (google.api.field_behavior) = IMMUTABLE, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/CompilationResult" + } + ]; + + // Immutable. The name of the workflow config to invoke. Must be in the + // format `projects/*/locations/*/repositories/*/workflowConfigs/*`. + string workflow_config = 6 [ + (google.api.field_behavior) = IMMUTABLE, + (google.api.resource_reference) = { + type: "dataform.googleapis.com/WorkflowConfig" + } + ]; + } // Immutable. If left unset, a default InvocationConfig will be used. - InvocationConfig invocation_config = 3 [(google.api.field_behavior) = IMMUTABLE]; + InvocationConfig invocation_config = 3 + [(google.api.field_behavior) = IMMUTABLE]; // Output only. This workflow invocation's current state. State state = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. This workflow invocation's timing details. - google.type.Interval invocation_timing = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.type.Interval invocation_timing = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // `ListWorkflowInvocations` request message. message ListWorkflowInvocationsRequest { - // Required. The parent resource of the WorkflowInvocation type. Must be in the - // format `projects/*/locations/*/repositories/*`. + // Required. The parent resource of the WorkflowInvocation type. Must be in + // the format `projects/*/locations/*/repositories/*`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1462,17 +2251,25 @@ message ListWorkflowInvocationsRequest { } ]; - // Optional. Maximum number of workflow invocations to return. The server may return - // fewer items than requested. If unspecified, the server will pick an + // Optional. Maximum number of workflow invocations to return. The server may + // return fewer items than requested. If unspecified, the server will pick an // appropriate default. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Page token received from a previous `ListWorkflowInvocations` call. - // Provide this to retrieve the subsequent page. + // Optional. Page token received from a previous `ListWorkflowInvocations` + // call. Provide this to retrieve the subsequent page. // // When paginating, all other parameters provided to `ListWorkflowInvocations` // must match the call that provided the page token. string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. This field only supports ordering by `name`. If unspecified, the + // server will choose the ordering. If specified, the default order is + // ascending for the `name` field. + string order_by = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Filter for the returned list. + string filter = 5 [(google.api.field_behavior) = OPTIONAL]; } // `ListWorkflowInvocations` response message. @@ -1501,8 +2298,8 @@ message GetWorkflowInvocationRequest { // `CreateWorkflowInvocation` request message. message CreateWorkflowInvocationRequest { - // Required. The repository in which to create the workflow invocation. Must be in the - // format `projects/*/locations/*/repositories/*`. + // Required. The repository in which to create the workflow invocation. Must + // be in the format `projects/*/locations/*/repositories/*`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1511,7 +2308,8 @@ message CreateWorkflowInvocationRequest { ]; // Required. The workflow invocation resource to create. - WorkflowInvocation workflow_invocation = 2 [(google.api.field_behavior) = REQUIRED]; + WorkflowInvocation workflow_invocation = 2 + [(google.api.field_behavior) = REQUIRED]; } // `DeleteWorkflowInvocation` request message. @@ -1538,7 +2336,7 @@ message CancelWorkflowInvocationRequest { // Represents a single action in a workflow invocation. message WorkflowInvocationAction { - // Represents the current state of an workflow invocation action. + // Represents the current state of a workflow invocation action. enum State { // The action has not yet been considered for invocation. PENDING = 0; @@ -1570,17 +2368,19 @@ message WorkflowInvocationAction { string sql_script = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; } - // Output only. This action's identifier. Unique within the workflow invocation. + // Output only. This action's identifier. Unique within the workflow + // invocation. Target target = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The action's identifier if the project had been compiled without any - // overrides configured. Unique within the compilation result. + // Output only. The action's identifier if the project had been compiled + // without any overrides configured. Unique within the compilation result. Target canonical_target = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. This action's current state. State state = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. If and only if action's state is FAILED a failure reason is set. + // Output only. If and only if action's state is FAILED a failure reason is + // set. string failure_reason = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. This action's timing details. @@ -1588,10 +2388,12 @@ message WorkflowInvocationAction { // CANCELLED, FAILED] state. // `end_time` will be set if the action is in [SUCCEEDED, CANCELLED, FAILED] // state. - google.type.Interval invocation_timing = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.type.Interval invocation_timing = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The workflow action's bigquery action details. - BigQueryAction bigquery_action = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + BigQueryAction bigquery_action = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // `QueryWorkflowInvocationActions` request message. @@ -1604,13 +2406,14 @@ message QueryWorkflowInvocationActionsRequest { } ]; - // Optional. Maximum number of workflow invocations to return. The server may return - // fewer items than requested. If unspecified, the server will pick an + // Optional. Maximum number of workflow invocations to return. The server may + // return fewer items than requested. If unspecified, the server will pick an // appropriate default. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Page token received from a previous `QueryWorkflowInvocationActions` call. - // Provide this to retrieve the subsequent page. + // Optional. Page token received from a previous + // `QueryWorkflowInvocationActions` call. Provide this to retrieve the + // subsequent page. // // When paginating, all other parameters provided to // `QueryWorkflowInvocationActions` must match the call that provided the page diff --git a/third_party/googleapis/google/cloud/dataform/v1beta1/dataform_grpc_service_config.json b/third_party/googleapis/google/cloud/dataform/v1beta1/dataform_grpc_service_config.json index 959bf4c18..8b83947da 100644 --- a/third_party/googleapis/google/cloud/dataform/v1beta1/dataform_grpc_service_config.json +++ b/third_party/googleapis/google/cloud/dataform/v1beta1/dataform_grpc_service_config.json @@ -1,26 +1,15 @@ { - "methodConfig": [{ - "name": [ - { "service": "google.cloud.dataform.v1beta1.DataformService", "method": "ListRepositories" }, - { "service": "google.cloud.dataform.v1beta1.DataformService", "method": "GetRepository" }, - { "service": "google.cloud.dataform.v1beta1.DataformService", "method": "ListWorkspaces" }, - { "service": "google.cloud.dataform.v1beta1.DataformService", "method": "GetWorkspace" }, - { "service": "google.cloud.dataform.v1beta1.DataformService", "method": "ListCompilationResults" }, - { "service": "google.cloud.dataform.v1beta1.DataformService", "method": "GetCompilationResult" }, - { "service": "google.cloud.dataform.v1beta1.DataformService", "method": "CreateCompilationResult" }, - { "service": "google.cloud.dataform.v1beta1.DataformService", "method": "QueryCompilationResultActions" }, - { "service": "google.cloud.dataform.v1beta1.DataformService", "method": "CreateWorkflowInvocation" }, - { "service": "google.cloud.dataform.v1beta1.DataformService", "method": "CancelWorkflowInvocation" }, - { "service": "google.cloud.dataform.v1beta1.DataformService", "method": "ListWorkflowInvocations" }, - { "service": "google.cloud.dataform.v1beta1.DataformService", "method": "GetWorkflowInvocation" } - ], - "timeout": "60s", - "retryPolicy": { - "maxAttempts": 5, - "initialBackoff": "1s", - "maxBackoff": "10s", - "backoffMultiplier": 1.3, - "retryableStatusCodes": ["UNAVAILABLE"] + "methodConfig": [ + { + "name": [{ "service": "google.cloud.dataform.v1beta1.DataformService" }], + "timeout": "60s", + "retryPolicy": { + "maxAttempts": 5, + "initialBackoff": "1s", + "maxBackoff": "10s", + "backoffMultiplier": 1.3, + "retryableStatusCodes": ["UNAVAILABLE"] + } } - }] + ] } diff --git a/third_party/googleapis/google/cloud/dataform/v1beta1/dataform_v1beta1.yaml b/third_party/googleapis/google/cloud/dataform/v1beta1/dataform_v1beta1.yaml index b3a2a999f..d2d082ff4 100644 --- a/third_party/googleapis/google/cloud/dataform/v1beta1/dataform_v1beta1.yaml +++ b/third_party/googleapis/google/cloud/dataform/v1beta1/dataform_v1beta1.yaml @@ -9,6 +9,9 @@ apis: - name: google.iam.v1.IAMPolicy documentation: + summary: |- + Service to develop, version control, and operationalize SQL pipelines in + BigQuery. rules: - selector: google.cloud.location.Locations.GetLocation description: Gets information about a location. @@ -39,23 +42,33 @@ documentation: permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. -backend: - rules: - - selector: 'google.cloud.dataform.v1beta1.Dataform.*' - deadline: 60.0 - - selector: google.cloud.location.Locations.GetLocation - deadline: 60.0 - - selector: google.cloud.location.Locations.ListLocations - deadline: 60.0 - - selector: 'google.iam.v1.IAMPolicy.*' - deadline: 60.0 - http: rules: - selector: google.cloud.location.Locations.GetLocation get: '/v1beta1/{name=projects/*/locations/*}' - selector: google.cloud.location.Locations.ListLocations get: '/v1beta1/{name=projects/*}/locations' + - selector: google.iam.v1.IAMPolicy.GetIamPolicy + get: '/v1beta1/{resource=projects/*/locations/*/repositories/*}:getIamPolicy' + additional_bindings: + - get: '/v1beta1/{resource=projects/*/locations/*/collections/*}:getIamPolicy' + - get: '/v1beta1/{resource=projects/*/locations/*/repositories/*/workspaces/*}:getIamPolicy' + - selector: google.iam.v1.IAMPolicy.SetIamPolicy + post: '/v1beta1/{resource=projects/*/locations/*/repositories/*}:setIamPolicy' + body: '*' + additional_bindings: + - post: '/v1beta1/{resource=projects/*/locations/*/repositories/*/workspaces/*}:setIamPolicy' + body: '*' + - post: '/v1beta1/{resource=projects/*/locations/*/collections/*}:setIamPolicy' + body: '*' + - selector: google.iam.v1.IAMPolicy.TestIamPermissions + post: '/v1beta1/{resource=projects/*/locations/*/repositories/*}:testIamPermissions' + body: '*' + additional_bindings: + - post: '/v1beta1/{resource=projects/*/locations/*/collections/*}:testIamPermissions' + body: '*' + - post: '/v1beta1/{resource=projects/*/locations/*/repositories/*/workspaces/*}:testIamPermissions' + body: '*' authentication: rules: diff --git a/third_party/googleapis/google/cloud/datafusion/BUILD.bazel b/third_party/googleapis/google/cloud/datafusion/BUILD.bazel index 994307b48..7ddda5a2f 100644 --- a/third_party/googleapis/google/cloud/datafusion/BUILD.bazel +++ b/third_party/googleapis/google/cloud/datafusion/BUILD.bazel @@ -21,13 +21,14 @@ ruby_cloud_gapic_library( srcs = ["//google/cloud/datafusion/v1:datafusion_proto_with_info"], extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-data_fusion", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.6", "ruby-cloud-product-url=https://cloud.google.com/data-fusion", "ruby-cloud-api-id=datafusion.googleapis.com", "ruby-cloud-api-shortname=datafusion", ], ruby_cloud_description = "Cloud Data Fusion is a fully managed, cloud-native, enterprise data integration service for quickly building and managing data pipelines.", ruby_cloud_title = "Cloud Data Fusion", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/datafusion/v1/BUILD.bazel b/third_party/googleapis/google/cloud/datafusion/v1/BUILD.bazel index 879868629..f3b095539 100644 --- a/third_party/googleapis/google/cloud/datafusion/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/datafusion/v1/BUILD.bazel @@ -71,12 +71,14 @@ java_gapic_library( srcs = [":datafusion_proto_with_info"], grpc_service_config = "datafusion_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "datafusion_v1.yaml", test_deps = [ ":datafusion_java_grpc", ], transport = "grpc+rest", deps = [ ":datafusion_java_proto", + "//google/api:api_java_proto", ], ) @@ -110,7 +112,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -142,19 +143,13 @@ go_gapic_library( ], ) -go_test( - name = "datafusion_go_gapic_test", - srcs = [":datafusion_go_gapic_srcjar_test"], - embed = [":datafusion_go_gapic"], - importpath = "cloud.google.com/go/datafusion/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-datafusion-v1-go", deps = [ ":datafusion_go_gapic", ":datafusion_go_gapic_srcjar-metadata.srcjar", + ":datafusion_go_gapic_srcjar-snippets.srcjar", ":datafusion_go_gapic_srcjar-test.srcjar", ":datafusion_go_proto", ], @@ -209,7 +204,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -218,23 +212,15 @@ php_proto_library( deps = [":datafusion_proto"], ) -php_grpc_library( - name = "datafusion_php_grpc", - srcs = [":datafusion_proto"], - deps = [":datafusion_php_proto"], -) - php_gapic_library( name = "datafusion_php_gapic", srcs = [":datafusion_proto_with_info"], grpc_service_config = "datafusion_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "datafusion_v1.yaml", transport = "grpc+rest", - deps = [ - ":datafusion_php_grpc", - ":datafusion_php_proto", - ], + deps = [":datafusion_php_proto"], ) # Open Source Packages @@ -242,7 +228,6 @@ php_gapic_assembly_pkg( name = "google-cloud-datafusion-v1-php", deps = [ ":datafusion_php_gapic", - ":datafusion_php_grpc", ":datafusion_php_proto", ], ) @@ -313,6 +298,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Cloud Data Fusion is a fully managed, cloud-native, enterprise data integration service for quickly building and managing data pipelines.", ruby_cloud_title = "Cloud Data Fusion V1", service_yaml = "datafusion_v1.yaml", + transport = "grpc+rest", deps = [ ":datafusion_ruby_grpc", ":datafusion_ruby_proto", diff --git a/third_party/googleapis/google/cloud/datafusion/v1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/datafusion/v1beta1/BUILD.bazel index 1c192fe51..880ea2329 100644 --- a/third_party/googleapis/google/cloud/datafusion/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/datafusion/v1beta1/BUILD.bazel @@ -73,6 +73,7 @@ java_gapic_library( srcs = [":datafusion_proto_with_info"], grpc_service_config = "datafusion_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "datafusion_v1beta1.yaml", test_deps = [ ":datafusion_java_grpc", "//google/iam/v1:iam_java_grpc", @@ -80,6 +81,7 @@ java_gapic_library( transport = "grpc+rest", deps = [ ":datafusion_java_proto", + "//google/api:api_java_proto", "//google/iam/v1:iam_java_proto", ], ) @@ -114,7 +116,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -149,19 +150,13 @@ go_gapic_library( ], ) -go_test( - name = "datafusion_go_gapic_test", - srcs = [":datafusion_go_gapic_srcjar_test"], - embed = [":datafusion_go_gapic"], - importpath = "cloud.google.com/go/datafusion/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-datafusion-v1beta1-go", deps = [ ":datafusion_go_gapic", ":datafusion_go_gapic_srcjar-metadata.srcjar", + ":datafusion_go_gapic_srcjar-snippets.srcjar", ":datafusion_go_gapic_srcjar-test.srcjar", ":datafusion_go_proto", ], @@ -214,7 +209,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -223,12 +217,6 @@ php_proto_library( deps = [":datafusion_proto"], ) -php_grpc_library( - name = "datafusion_php_grpc", - srcs = [":datafusion_proto"], - deps = [":datafusion_php_proto"], -) - php_gapic_library( name = "datafusion_php_gapic", srcs = [":datafusion_proto_with_info"], @@ -236,10 +224,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "datafusion_v1beta1.yaml", transport = "grpc+rest", - deps = [ - ":datafusion_php_grpc", - ":datafusion_php_proto", - ], + deps = [":datafusion_php_proto"], ) # Open Source Packages @@ -247,7 +232,6 @@ php_gapic_assembly_pkg( name = "google-cloud-datafusion-v1beta1-php", deps = [ ":datafusion_php_gapic", - ":datafusion_php_grpc", ":datafusion_php_proto", ], ) @@ -318,6 +302,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Cloud Data Fusion is a fully managed, cloud-native, enterprise data integration service for quickly building and managing data pipelines.", ruby_cloud_title = "Cloud Data Fusion V1beta1", service_yaml = "datafusion_v1beta1.yaml", + transport = "grpc+rest", deps = [ ":datafusion_ruby_grpc", ":datafusion_ruby_proto", diff --git a/third_party/googleapis/google/cloud/datalabeling/BUILD.bazel b/third_party/googleapis/google/cloud/datalabeling/BUILD.bazel index 768c48c18..9c8d0d67e 100644 --- a/third_party/googleapis/google/cloud/datalabeling/BUILD.bazel +++ b/third_party/googleapis/google/cloud/datalabeling/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-data_labeling", "ruby-cloud-env-prefix=DATA_LABELING", - "ruby-cloud-wrapper-of=v1beta1:0.0", + "ruby-cloud-wrapper-of=v1beta1:0.7", "ruby-cloud-product-url=https://cloud.google.com/ai-platform/data-labeling/docs", "ruby-cloud-api-id=datalabeling.googleapis.com", "ruby-cloud-api-shortname=datalabeling", ], ruby_cloud_description = "AI Platform Data Labeling Service lets you work with human labelers to generate highly accurate labels for a collection of data that you can use in machine learning models.", ruby_cloud_title = "AI Platform Data Labeling Service", + transport = "grpc", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/datalabeling/v1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/datalabeling/v1beta1/BUILD.bazel index b260ab719..d54ece6c9 100644 --- a/third_party/googleapis/google/cloud/datalabeling/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/datalabeling/v1beta1/BUILD.bazel @@ -73,6 +73,7 @@ java_gapic_library( srcs = [":datalabeling_proto_with_info"], grpc_service_config = "datalabeling_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "datalabeling_v1beta1.yaml", test_deps = [ ":datalabeling_java_grpc", ], @@ -111,7 +112,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -145,18 +145,12 @@ go_gapic_library( ], ) -go_test( - name = "datalabeling_go_gapic_test", - srcs = [":datalabeling_go_gapic_srcjar_test"], - embed = [":datalabeling_go_gapic"], - importpath = "cloud.google.com/go/datalabeling/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-datalabeling-v1beta1-go", deps = [ ":datalabeling_go_gapic", + ":datalabeling_go_gapic_srcjar-snippets.srcjar", ":datalabeling_go_gapic_srcjar-test.srcjar", ":datalabeling_go_proto", ], @@ -205,7 +199,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -214,23 +207,15 @@ php_proto_library( deps = [":datalabeling_proto"], ) -php_grpc_library( - name = "datalabeling_php_grpc", - srcs = [":datalabeling_proto"], - deps = [":datalabeling_php_proto"], -) - php_gapic_library( name = "datalabeling_php_gapic", srcs = [":datalabeling_proto_with_info"], grpc_service_config = "datalabeling_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "datalabeling_v1beta1.yaml", transport = "grpc+rest", - deps = [ - ":datalabeling_php_grpc", - ":datalabeling_php_proto", - ], + deps = [":datalabeling_php_proto"], ) # Open Source Packages @@ -238,7 +223,6 @@ php_gapic_assembly_pkg( name = "google-cloud-datalabeling-v1beta1-php", deps = [ ":datalabeling_php_gapic", - ":datalabeling_php_grpc", ":datalabeling_php_proto", ], ) @@ -311,6 +295,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "AI Platform Data Labeling Service lets you work with human labelers to generate highly accurate labels for a collection of data that you can use in machine learning models.", ruby_cloud_title = "AI Platform Data Labeling Service V1beta1", service_yaml = "datalabeling_v1beta1.yaml", + transport = "grpc", deps = [ ":datalabeling_ruby_grpc", ":datalabeling_ruby_proto", diff --git a/third_party/googleapis/google/cloud/datapipelines/logging/v1/BUILD.bazel b/third_party/googleapis/google/cloud/datapipelines/logging/v1/BUILD.bazel index 6b81c9037..c50056936 100644 --- a/third_party/googleapis/google/cloud/datapipelines/logging/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/datapipelines/logging/v1/BUILD.bazel @@ -90,7 +90,6 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -99,21 +98,9 @@ php_proto_library( deps = [":logging_proto"], ) -php_grpc_library( - name = "logging_php_grpc", - srcs = [":logging_proto"], - deps = [":logging_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) - ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/dataplex/BUILD.bazel b/third_party/googleapis/google/cloud/dataplex/BUILD.bazel index 2412eec39..f3a58a3f4 100644 --- a/third_party/googleapis/google/cloud/dataplex/BUILD.bazel +++ b/third_party/googleapis/google/cloud/dataplex/BUILD.bazel @@ -21,13 +21,14 @@ ruby_cloud_gapic_library( srcs = ["//google/cloud/dataplex/v1:dataplex_proto_with_info"], extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-dataplex", - "ruby-cloud-wrapper-of=v1:0.6", + "ruby-cloud-wrapper-of=v1:0.18", "ruby-cloud-product-url=https://cloud.google.com/dataplex/", "ruby-cloud-api-id=dataplex.googleapis.com", "ruby-cloud-api-shortname=dataplex", ], ruby_cloud_description = "Dataplex is an intelligent data fabric that provides a way to centrally manage, monitor, and govern your data across data lakes, data warehouses and data marts, and make this data securely accessible to a variety of analytics and data science tools.", ruby_cloud_title = "Dataplex", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/dataplex/v1/BUILD.bazel b/third_party/googleapis/google/cloud/dataplex/v1/BUILD.bazel index ffdc097f9..92b9604b8 100644 --- a/third_party/googleapis/google/cloud/dataplex/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/dataplex/v1/BUILD.bazel @@ -25,11 +25,13 @@ proto_library( "content.proto", "data_profile.proto", "data_quality.proto", + "data_taxonomy.proto", "datascans.proto", "logs.proto", "metadata.proto", "processing.proto", "resources.proto", + "security.proto", "service.proto", "tasks.proto", ], @@ -89,9 +91,9 @@ java_gapic_library( rest_numeric_enums = True, service_yaml = "dataplex_v1.yaml", test_deps = [ - ":dataplex_java_grpc", "//google/cloud/location:location_java_grpc", "//google/iam/v1:iam_java_grpc", + ":dataplex_java_grpc", ], transport = "grpc+rest", deps = [ @@ -109,6 +111,8 @@ java_gapic_test( "com.google.cloud.dataplex.v1.ContentServiceClientTest", "com.google.cloud.dataplex.v1.DataScanServiceClientHttpJsonTest", "com.google.cloud.dataplex.v1.DataScanServiceClientTest", + "com.google.cloud.dataplex.v1.DataTaxonomyServiceClientHttpJsonTest", + "com.google.cloud.dataplex.v1.DataTaxonomyServiceClientTest", "com.google.cloud.dataplex.v1.DataplexServiceClientHttpJsonTest", "com.google.cloud.dataplex.v1.DataplexServiceClientTest", "com.google.cloud.dataplex.v1.MetadataServiceClientHttpJsonTest", @@ -138,7 +142,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -174,19 +177,13 @@ go_gapic_library( ], ) -go_test( - name = "dataplex_go_gapic_test", - srcs = [":dataplex_go_gapic_srcjar_test"], - embed = [":dataplex_go_gapic"], - importpath = "cloud.google.com/go/dataplex/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-dataplex-v1-go", deps = [ ":dataplex_go_gapic", ":dataplex_go_gapic_srcjar-metadata.srcjar", + ":dataplex_go_gapic_srcjar-snippets.srcjar", ":dataplex_go_gapic_srcjar-test.srcjar", ":dataplex_go_proto", ], @@ -239,7 +236,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -248,21 +244,15 @@ php_proto_library( deps = [":dataplex_proto"], ) -php_grpc_library( - name = "dataplex_php_grpc", - srcs = [":dataplex_proto"], - deps = [":dataplex_php_proto"], -) - php_gapic_library( name = "dataplex_php_gapic", srcs = [":dataplex_proto_with_info"], grpc_service_config = "dataplex_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "dataplex_v1.yaml", transport = "grpc+rest", deps = [ - ":dataplex_php_grpc", ":dataplex_php_proto", ], ) @@ -272,7 +262,6 @@ php_gapic_assembly_pkg( name = "google-cloud-dataplex-v1-php", deps = [ ":dataplex_php_gapic", - ":dataplex_php_grpc", ":dataplex_php_proto", ], ) @@ -292,7 +281,6 @@ nodejs_gapic_library( src = ":dataplex_proto_with_info", extra_protoc_parameters = ["metadata"], grpc_service_config = "dataplex_grpc_service_config.json", - # Content service defines IAM RPCs, force override mixins to remove IAM mixins = "google.cloud.location.Locations;google.longrunning.Operations", package = "google.cloud.dataplex.v1", rest_numeric_enums = True, @@ -345,6 +333,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Dataplex is an intelligent data fabric that provides a way to centrally manage, monitor, and govern your data across data lakes, data warehouses and data marts, and make this data securely accessible to a variety of analytics and data science tools.", ruby_cloud_title = "Dataplex V1", service_yaml = "dataplex_v1.yaml", + transport = "grpc+rest", deps = [ ":dataplex_ruby_grpc", ":dataplex_ruby_proto", @@ -374,6 +363,7 @@ load( csharp_proto_library( name = "dataplex_csharp_proto", + extra_opts = [], deps = [":dataplex_proto"], ) diff --git a/third_party/googleapis/google/cloud/dataplex/v1/analyze.proto b/third_party/googleapis/google/cloud/dataplex/v1/analyze.proto index 9befe7ba5..deaed52f2 100644 --- a/third_party/googleapis/google/cloud/dataplex/v1/analyze.proto +++ b/third_party/googleapis/google/cloud/dataplex/v1/analyze.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -90,6 +90,7 @@ message Environment { } } + // Configuration for sessions created for this environment. message SessionSpec { // Optional. The idle time configuration of the session. The session will be // auto-terminated at the end of this period. @@ -104,12 +105,14 @@ message Environment { bool enable_fast_startup = 2 [(google.api.field_behavior) = OPTIONAL]; } + // Status of sessions created for this environment. message SessionStatus { // Output only. Queries over sessions to mark whether the environment is // currently active or not bool active = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; } + // URI Endpoints to access sessions associated with the Environment. message Endpoints { // Output only. URI to serve notebook APIs string notebooks = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -244,6 +247,7 @@ message Content { string data_text = 9 [(google.api.field_behavior) = REQUIRED]; } + // Types of content oneof content { // Sql Script related configurations. SqlScript sql_script = 100; @@ -276,5 +280,6 @@ message Session { google.protobuf.Timestamp create_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. State of Session State state = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/cloud/dataplex/v1/content.proto b/third_party/googleapis/google/cloud/dataplex/v1/content.proto index b63d8ae97..1753c5b02 100644 --- a/third_party/googleapis/google/cloud/dataplex/v1/content.proto +++ b/third_party/googleapis/google/cloud/dataplex/v1/content.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/dataplex/v1/data_profile.proto b/third_party/googleapis/google/cloud/dataplex/v1/data_profile.proto index 05a005f2e..5930956db 100644 --- a/third_party/googleapis/google/cloud/dataplex/v1/data_profile.proto +++ b/third_party/googleapis/google/cloud/dataplex/v1/data_profile.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,6 +16,7 @@ syntax = "proto3"; package google.cloud.dataplex.v1; +import "google/api/field_behavior.proto"; import "google/cloud/dataplex/v1/processing.proto"; option go_package = "cloud.google.com/go/dataplex/apiv1/dataplexpb;dataplexpb"; @@ -24,51 +25,102 @@ option java_outer_classname = "DataProfileProto"; option java_package = "com.google.cloud.dataplex.v1"; // DataProfileScan related setting. -message DataProfileSpec {} +message DataProfileSpec { + // The configuration of post scan actions of DataProfileScan job. + message PostScanActions { + // The configuration of BigQuery export post scan action. + message BigQueryExport { + // Optional. The BigQuery table to export DataProfileScan results to. + // Format: + // //bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID + string results_table = 1 [(google.api.field_behavior) = OPTIONAL]; + } + + // Optional. If set, results will be exported to the provided BigQuery + // table. + BigQueryExport bigquery_export = 1 [(google.api.field_behavior) = OPTIONAL]; + } -// DataProfileResult defines the output of DataProfileScan. -// Each field of the table will have field type specific profile result. + // The specification for fields to include or exclude in data profile scan. + message SelectedFields { + // Optional. Expected input is a list of fully qualified names of fields as + // in the schema. + // + // Only top-level field names for nested fields are supported. + // For instance, if 'x' is of nested field type, listing 'x' is supported + // but 'x.y.z' is not supported. Here 'y' and 'y.z' are nested fields of + // 'x'. + repeated string field_names = 1 [(google.api.field_behavior) = OPTIONAL]; + } + + // Optional. The percentage of the records to be selected from the dataset for + // DataScan. + // + // * Value can range between 0.0 and 100.0 with up to 3 significant decimal + // digits. + // * Sampling is not applied if `sampling_percent` is not specified, 0 or + // 100. + float sampling_percent = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. A filter applied to all rows in a single DataScan job. + // The filter needs to be a valid SQL expression for a WHERE clause in + // BigQuery standard SQL syntax. + // Example: col1 >= 0 AND col2 < 10 + string row_filter = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Actions to take upon job completion.. + PostScanActions post_scan_actions = 4 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The fields to include in data profile. + // + // If not specified, all fields at the time of profile scan job execution are + // included, except for ones listed in `exclude_fields`. + SelectedFields include_fields = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The fields to exclude from data profile. + // + // If specified, the fields will be excluded from data profile, regardless of + // `include_fields` value. + SelectedFields exclude_fields = 6 [(google.api.field_behavior) = OPTIONAL]; +} + +// DataProfileResult defines the output of DataProfileScan. Each field of the +// table will have field type specific profile result. message DataProfileResult { - // Profile information describing the structure and layout of the data - // and contains the profile info. + // Contains name, type, mode and field type specific profile information. message Profile { - // Represents a column field within a table schema. + // A field within a table. message Field { - // ProfileInfo defines the profile information for each schema field type. + // The profile information for each field type. message ProfileInfo { - // StringFieldInfo defines output info for any string type field. + // The profile information for a string type field. message StringFieldInfo { - // The minimum length of the string field in the sampled data. - // Optional if zero non-null rows. + // Minimum length of non-null values in the scanned data. int64 min_length = 1; - // The maximum length of a string field in the sampled data. - // Optional if zero non-null rows. + // Maximum length of non-null values in the scanned data. int64 max_length = 2; - // The average length of a string field in the sampled data. - // Optional if zero non-null rows. + // Average length of non-null values in the scanned data. double average_length = 3; } - // IntegerFieldInfo defines output for any integer type field. + // The profile information for an integer type field. message IntegerFieldInfo { - // The average of non-null values of integer field in the sampled - // data. Return NaN, if the field has a NaN. Optional if zero non-null - // rows. + // Average of non-null values in the scanned data. NaN, if the field + // has a NaN. double average = 1; - // The standard deviation of non-null of integer field in the sampled - // data. Return NaN, if the field has a NaN. Optional if zero non-null - // rows. + // Standard deviation of non-null values in the scanned data. NaN, if + // the field has a NaN. double standard_deviation = 3; - // The minimum value of an integer field in the sampled data. - // Return NaN, if the field has a NaN. Optional if zero non-null - // rows. + // Minimum of non-null values in the scanned data. NaN, if the field + // has a NaN. int64 min = 4; - // A quartile divide the number of data points into four parts, or + // A quartile divides the number of data points into four parts, or // quarters, of more-or-less equal size. Three main quartiles used // are: The first quartile (Q1) splits off the lowest 25% of data from // the highest 75%. It is also known as the lower or 25th empirical @@ -76,34 +128,32 @@ message DataProfileResult { // quartile (Q2) is the median of a data set. So, 50% of the data lies // below this point. The third quartile (Q3) splits off the highest // 25% of data from the lowest 75%. It is known as the upper or 75th - // empirical quartile, as 75% of the data lies below this point. So, - // here the quartiles is provided as an ordered list of quartile - // values, occurring in order Q1, median, Q3. + // empirical quartile, as 75% of the data lies below this point. + // Here, the quartiles is provided as an ordered list of approximate + // quartile values for the scanned data, occurring in order Q1, + // median, Q3. repeated int64 quartiles = 6; - // The maximum value of an integer field in the sampled data. - // Return NaN, if the field has a NaN. Optional if zero non-null - // rows. + // Maximum of non-null values in the scanned data. NaN, if the field + // has a NaN. int64 max = 5; } - // DoubleFieldInfo defines output for any double type field. + // The profile information for a double type field. message DoubleFieldInfo { - // The average of non-null values of double field in the sampled data. - // Return NaN, if the field has a NaN. Optional if zero non-null rows. + // Average of non-null values in the scanned data. NaN, if the field + // has a NaN. double average = 1; - // The standard deviation of non-null of double field in the sampled - // data. Return NaN, if the field has a NaN. Optional if zero non-null - // rows. + // Standard deviation of non-null values in the scanned data. NaN, if + // the field has a NaN. double standard_deviation = 3; - // The minimum value of a double field in the sampled data. - // Return NaN, if the field has a NaN. Optional if zero non-null - // rows. + // Minimum of non-null values in the scanned data. NaN, if the field + // has a NaN. double min = 4; - // A quartile divide the numebr of data points into four parts, or + // A quartile divides the number of data points into four parts, or // quarters, of more-or-less equal size. Three main quartiles used // are: The first quartile (Q1) splits off the lowest 25% of data from // the highest 75%. It is also known as the lower or 25th empirical @@ -111,50 +161,54 @@ message DataProfileResult { // quartile (Q2) is the median of a data set. So, 50% of the data lies // below this point. The third quartile (Q3) splits off the highest // 25% of data from the lowest 75%. It is known as the upper or 75th - // empirical quartile, as 75% of the data lies below this point. So, - // here the quartiles is provided as an ordered list of quartile - // values, occurring in order Q1, median, Q3. + // empirical quartile, as 75% of the data lies below this point. + // Here, the quartiles is provided as an ordered list of quartile + // values for the scanned data, occurring in order Q1, median, Q3. repeated double quartiles = 6; - // The maximum value of a double field in the sampled data. - // Return NaN, if the field has a NaN. Optional if zero non-null - // rows. + // Maximum of non-null values in the scanned data. NaN, if the field + // has a NaN. double max = 5; } - // The TopNValue defines the structure of output of top N values of a - // field. + // Top N non-null values in the scanned data. message TopNValue { - // The value is the string value of the actual value from the field. + // String value of a top N non-null value. string value = 1; - // The frequency count of the corresponding value in the field. + // Count of the corresponding value in the scanned data. int64 count = 2; + + // Ratio of the corresponding value in the field against the total + // number of rows in the scanned data. + double ratio = 3; } - // The ratio of null rows against the rows in the sampled data. + // Ratio of rows with null value against total scanned rows. double null_ratio = 2; - // The ratio of rows that are distinct against the rows in the sampled - // data. + // Ratio of rows with distinct values against total scanned rows. + // Not available for complex non-groupable field type RECORD and fields + // with REPEATABLE mode. double distinct_ratio = 3; - // The array of top N values of the field in the sampled data. - // Currently N is set as 10 or equal to distinct values in the field, - // whichever is smaller. This will be optional for complex non-groupable - // data-types such as JSON, ARRAY, JSON, STRUCT. + // The list of top N non-null values, frequency and ratio with which + // they occur in the scanned data. N is 10 or equal to the number of + // distinct values in the field, whichever is smaller. Not available for + // complex non-groupable field type RECORD and fields with REPEATABLE + // mode. repeated TopNValue top_n_values = 4; - // The corresponding profile for specific field type. - // Each field will have only one field type specific profile output. + // Structural and profile information for specific field type. Not + // available, if mode is REPEATABLE. oneof field_info { - // The corresponding string field profile. + // String type field information. StringFieldInfo string_profile = 101; - // The corresponding integer field profile. + // Integer type field information. IntegerFieldInfo integer_profile = 102; - // The corresponding double field profile. + // Double type field information. DoubleFieldInfo double_profile = 103; } } @@ -162,46 +216,70 @@ message DataProfileResult { // The name of the field. string name = 1; - // The field data type. Possible values include: - // - // * STRING - // * BYTE - // * INT64 - // * INT32 - // * INT16 - // * DOUBLE - // * FLOAT - // * DECIMAL - // * BOOLEAN - // * BINARY - // * TIMESTAMP - // * DATE - // * TIME - // * NULL - // * RECORD + // The data type retrieved from the schema of the data source. For + // instance, for a BigQuery native table, it is the [BigQuery Table + // Schema](https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#tablefieldschema). + // For a Dataplex Entity, it is the [Entity + // Schema](https://cloud.google.com/dataplex/docs/reference/rpc/google.cloud.dataplex.v1#type_3). string type = 2; - // The mode of the field. Its value will be: - // REQUIRED, if it is a required field. - // NULLABLE, if it is an optional field. - // REPEATED, if it is a repeated field. + // The mode of the field. Possible values include: + // + // * REQUIRED, if it is a required field. + // * NULLABLE, if it is an optional field. + // * REPEATED, if it is a repeated field. string mode = 3; - // The profile information for the corresponding field. + // Profile information for the corresponding field. ProfileInfo profile = 4; } - // The sequence of fields describing data in table entities. + // List of fields with structural and profile information for each field. repeated Field fields = 2; } - // The count of all rows in the sampled data. - // Return 0, if zero rows. + // The result of post scan actions of DataProfileScan job. + message PostScanActionsResult { + // The result of BigQuery export post scan action. + message BigQueryExportResult { + // Execution state for the exporting. + enum State { + // The exporting state is unspecified. + STATE_UNSPECIFIED = 0; + + // The exporting completed successfully. + SUCCEEDED = 1; + + // The exporting is no longer running due to an error. + FAILED = 2; + + // The exporting is skipped due to no valid scan result to export + // (usually caused by scan failed). + SKIPPED = 3; + } + + // Output only. Execution state for the BigQuery exporting. + State state = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Additional information about the BigQuery exporting. + string message = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + } + + // Output only. The result of BigQuery export post scan action. + BigQueryExportResult bigquery_export_result = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; + } + + // The count of rows scanned. int64 row_count = 3; - // This represents the profile information per field. + // The profile information per field. Profile profile = 4; - // The data scanned for this profile. + // The data scanned for this result. ScannedData scanned_data = 5; + + // Output only. The result of post scan actions. + PostScanActionsResult post_scan_actions_result = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/cloud/dataplex/v1/data_quality.proto b/third_party/googleapis/google/cloud/dataplex/v1/data_quality.proto index fc9acd06c..79c993d3e 100644 --- a/third_party/googleapis/google/cloud/dataplex/v1/data_quality.proto +++ b/third_party/googleapis/google/cloud/dataplex/v1/data_quality.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,28 +17,114 @@ syntax = "proto3"; package google.cloud.dataplex.v1; import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; import "google/cloud/dataplex/v1/processing.proto"; option go_package = "cloud.google.com/go/dataplex/apiv1/dataplexpb;dataplexpb"; option java_multiple_files = true; option java_outer_classname = "DataQualityProto"; option java_package = "com.google.cloud.dataplex.v1"; +option (google.api.resource_definition) = { + type: "bigquery.googleapis.com/Table" + pattern: "projects/{project}/datasets/{dataset}/tables/{table}" +}; // DataQualityScan related setting. message DataQualitySpec { - // The list of rules to evaluate against a data source. At least one rule is - // required. - repeated DataQualityRule rules = 1; + // The configuration of post scan actions of DataQualityScan. + message PostScanActions { + // The configuration of BigQuery export post scan action. + message BigQueryExport { + // Optional. The BigQuery table to export DataQualityScan results to. + // Format: + // //bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID + string results_table = 1 [(google.api.field_behavior) = OPTIONAL]; + } + + // Optional. If set, results will be exported to the provided BigQuery + // table. + BigQueryExport bigquery_export = 1 [(google.api.field_behavior) = OPTIONAL]; + } + + // Required. The list of rules to evaluate against a data source. At least one + // rule is required. + repeated DataQualityRule rules = 1 [(google.api.field_behavior) = REQUIRED]; + + // Optional. The percentage of the records to be selected from the dataset for + // DataScan. + // + // * Value can range between 0.0 and 100.0 with up to 3 significant decimal + // digits. + // * Sampling is not applied if `sampling_percent` is not specified, 0 or + // 100. + float sampling_percent = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. A filter applied to all rows in a single DataScan job. + // The filter needs to be a valid SQL expression for a WHERE clause in + // BigQuery standard SQL syntax. + // Example: col1 >= 0 AND col2 < 10 + string row_filter = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Actions to take upon job completion. + PostScanActions post_scan_actions = 6 + [(google.api.field_behavior) = OPTIONAL]; } // The output of a DataQualityScan. message DataQualityResult { + // The result of post scan actions of DataQualityScan job. + message PostScanActionsResult { + // The result of BigQuery export post scan action. + message BigQueryExportResult { + // Execution state for the exporting. + enum State { + // The exporting state is unspecified. + STATE_UNSPECIFIED = 0; + + // The exporting completed successfully. + SUCCEEDED = 1; + + // The exporting is no longer running due to an error. + FAILED = 2; + + // The exporting is skipped due to no valid scan result to export + // (usually caused by scan failed). + SKIPPED = 3; + } + + // Output only. Execution state for the BigQuery exporting. + State state = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Additional information about the BigQuery exporting. + string message = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + } + + // Output only. The result of BigQuery export post scan action. + BigQueryExportResult bigquery_export_result = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; + } + // Overall data quality result -- `true` if all rules passed. bool passed = 5; - // A list of results at the dimension-level. + // Output only. The overall data quality score. + // + // The score ranges between [0, 100] (up to two decimal points). + optional float score = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // A list of results at the dimension level. + // + // A dimension will have a corresponding `DataQualityDimensionResult` if and + // only if there is at least one rule with the 'dimension' field set to it. repeated DataQualityDimensionResult dimensions = 2; + // Output only. A list of results at the column level. + // + // A column will have a corresponding `DataQualityColumnResult` if and only if + // there is at least one rule with the 'column' field set to it. + repeated DataQualityColumnResult columns = 10 + [(google.api.field_behavior) = OUTPUT_ONLY]; + // A list of all the rules in a job, and their results. repeated DataQualityRuleResult rules = 3; @@ -47,10 +133,13 @@ message DataQualityResult { // The data scanned for this result. ScannedData scanned_data = 7; + + // Output only. The result of post scan actions. + PostScanActionsResult post_scan_actions_result = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; } -// DataQualityRuleResult provides a more detailed, per-rule level view of the -// results. +// DataQualityRuleResult provides a more detailed, per-rule view of the results. message DataQualityRuleResult { // The rule specified in the DataQualitySpec, as is. DataQualityRule rule = 1; @@ -59,34 +148,61 @@ message DataQualityRuleResult { bool passed = 7; // The number of rows a rule was evaluated against. - // This field is only valid for ColumnMap type rules. + // + // This field is only valid for row-level type rules. + // // Evaluated count can be configured to either - // (1) include all rows (default) - with null rows automatically failing rule - // evaluation OR (2) exclude null rows from the evaluated_count, by setting - // ignore_nulls = true + // + // * include all rows (default) - with `null` rows automatically failing rule + // evaluation, or + // * exclude `null` rows from the `evaluated_count`, by setting + // `ignore_nulls = true`. int64 evaluated_count = 9; // The number of rows which passed a rule evaluation. - // This field is only valid for ColumnMap type rules. + // + // This field is only valid for row-level type rules. int64 passed_count = 8; // The number of rows with null values in the specified column. int64 null_count = 5; - // The ratio of passed_count / evaluated_count. - // This field is only valid for ColumnMap type rules. + // The ratio of **passed_count / evaluated_count**. + // + // This field is only valid for row-level type rules. double pass_ratio = 6; // The query to find rows that did not pass this rule. - // Only applies to ColumnMap and RowCondition rules. + // + // This field is only valid for row-level type rules. string failing_rows_query = 10; } -// DataQualityDimensionResult provides a more detailed, per-dimension level view -// of the results. +// DataQualityDimensionResult provides a more detailed, per-dimension view of +// the results. message DataQualityDimensionResult { + // Output only. The dimension config specified in the DataQualitySpec, as is. + DataQualityDimension dimension = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; + // Whether the dimension passed or failed. bool passed = 3; + + // Output only. The dimension-level data quality score for this data scan job + // if and only if the 'dimension' field is set. + // + // The score ranges between [0, 100] (up to two decimal + // points). + optional float score = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// A dimension captures data quality intent about a defined subset of the rules +// specified. +message DataQualityDimension { + // The dimension name a rule belongs to. Supported dimensions are + // ["COMPLETENESS", "ACCURACY", "CONSISTENCY", "VALIDITY", "UNIQUENESS", + // "INTEGRITY"] + string name = 1; } // A rule captures data quality intent about a data source. @@ -94,21 +210,25 @@ message DataQualityRule { // Evaluates whether each column value lies between a specified range. message RangeExpectation { // Optional. The minimum column value allowed for a row to pass this - // validation. At least one of min_value and max_value need to be provided. + // validation. At least one of `min_value` and `max_value` need to be + // provided. string min_value = 1 [(google.api.field_behavior) = OPTIONAL]; // Optional. The maximum column value allowed for a row to pass this - // validation. At least one of min_value and max_value need to be provided. + // validation. At least one of `min_value` and `max_value` need to be + // provided. string max_value = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. Whether each value needs to be strictly greater than ('>') the - // minimum, or if equality is allowed. Only relevant if a min_value has been - // defined. Default = false. + // minimum, or if equality is allowed. + // + // Only relevant if a `min_value` has been defined. Default = false. bool strict_min_enabled = 3 [(google.api.field_behavior) = OPTIONAL]; // Optional. Whether each value needs to be strictly lesser than ('<') the - // maximum, or if equality is allowed. Only relevant if a max_value has been - // defined. Default = false. + // maximum, or if equality is allowed. + // + // Only relevant if a `max_value` has been defined. Default = false. bool strict_max_enabled = 4 [(google.api.field_behavior) = OPTIONAL]; } @@ -117,12 +237,14 @@ message DataQualityRule { // Evaluates whether each column value is contained by a specified set. message SetExpectation { - repeated string values = 1; + // Optional. Expected values for the column value. + repeated string values = 1 [(google.api.field_behavior) = OPTIONAL]; } // Evaluates whether each column value matches a specified regex. message RegexExpectation { - string regex = 1; + // Optional. A regular expression the column value is expected to match. + string regex = 1 [(google.api.field_behavior) = OPTIONAL]; } // Evaluates whether the column has duplicates. @@ -131,6 +253,7 @@ message DataQualityRule { // Evaluates whether the column aggregate statistic lies between a specified // range. message StatisticRangeExpectation { + // The list of aggregate metrics a rule can be evaluated against. enum ColumnStatistic { // Unspecified statistic type STATISTIC_UNDEFINED = 0; @@ -145,92 +268,142 @@ message DataQualityRule { MAX = 3; } - ColumnStatistic statistic = 1; - - // The minimum column statistic value allowed for a row to pass this - // validation. - // At least one of min_value and max_value need to be provided. - string min_value = 2; - - // The maximum column statistic value allowed for a row to pass this - // validation. - // At least one of min_value and max_value need to be provided. - string max_value = 3; - - // Whether column statistic needs to be strictly greater than ('>') - // the minimum, or if equality is allowed. Only relevant if a min_value has - // been defined. Default = false. - bool strict_min_enabled = 4; - - // Whether column statistic needs to be strictly lesser than ('<') the - // maximum, or if equality is allowed. Only relevant if a max_value has been - // defined. Default = false. - bool strict_max_enabled = 5; + // Optional. The aggregate metric to evaluate. + ColumnStatistic statistic = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The minimum column statistic value allowed for a row to pass + // this validation. + // + // At least one of `min_value` and `max_value` need to be provided. + string min_value = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The maximum column statistic value allowed for a row to pass + // this validation. + // + // At least one of `min_value` and `max_value` need to be provided. + string max_value = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Whether column statistic needs to be strictly greater than + // ('>') the minimum, or if equality is allowed. + // + // Only relevant if a `min_value` has been defined. Default = false. + bool strict_min_enabled = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Whether column statistic needs to be strictly lesser than ('<') + // the maximum, or if equality is allowed. + // + // Only relevant if a `max_value` has been defined. Default = false. + bool strict_max_enabled = 5 [(google.api.field_behavior) = OPTIONAL]; } // Evaluates whether each row passes the specified condition. + // // The SQL expression needs to use BigQuery standard SQL syntax and should - // produce a boolean per row as the result. + // produce a boolean value per row as the result. + // // Example: col1 >= 0 AND col2 < 10 message RowConditionExpectation { - string sql_expression = 1; + // Optional. The SQL expression. + string sql_expression = 1 [(google.api.field_behavior) = OPTIONAL]; } // Evaluates whether the provided expression is true. + // // The SQL expression needs to use BigQuery standard SQL syntax and should // produce a scalar boolean result. + // // Example: MIN(col1) >= 0 message TableConditionExpectation { - string sql_expression = 1; + // Optional. The SQL expression. + string sql_expression = 1 [(google.api.field_behavior) = OPTIONAL]; } + // The rule-specific configuration. oneof rule_type { - // ColumnMap rule which evaluates whether each column value lies between a + // Row-level rule which evaluates whether each column value lies between a // specified range. RangeExpectation range_expectation = 1; - // ColumnMap rule which evaluates whether each column value is null. + // Row-level rule which evaluates whether each column value is null. NonNullExpectation non_null_expectation = 2; - // ColumnMap rule which evaluates whether each column value is contained by + // Row-level rule which evaluates whether each column value is contained by // a specified set. SetExpectation set_expectation = 3; - // ColumnMap rule which evaluates whether each column value matches a + // Row-level rule which evaluates whether each column value matches a // specified regex. RegexExpectation regex_expectation = 4; - // ColumnAggregate rule which evaluates whether the column has duplicates. + // Row-level rule which evaluates whether each column value is unique. UniquenessExpectation uniqueness_expectation = 100; - // ColumnAggregate rule which evaluates whether the column aggregate + // Aggregate rule which evaluates whether the column aggregate // statistic lies between a specified range. StatisticRangeExpectation statistic_range_expectation = 101; - // Table rule which evaluates whether each row passes the specified - // condition. + // Row-level rule which evaluates whether each row in a table passes the + // specified condition. RowConditionExpectation row_condition_expectation = 200; - // Table rule which evaluates whether the provided expression is true. + // Aggregate rule which evaluates whether the provided expression is true + // for a table. TableConditionExpectation table_condition_expectation = 201; } // Optional. The unnested column which this rule is evaluated against. string column = 500 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Rows with null values will automatically fail a rule, unless - // ignore_null is true. In that case, such null rows are trivially considered - // passing. Only applicable to ColumnMap rules. + // Optional. Rows with `null` values will automatically fail a rule, unless + // `ignore_null` is `true`. In that case, such `null` rows are trivially + // considered passing. + // + // This field is only valid for the following type of rules: + // + // * RangeExpectation + // * RegexExpectation + // * SetExpectation + // * UniquenessExpectation bool ignore_null = 501 [(google.api.field_behavior) = OPTIONAL]; // Required. The dimension a rule belongs to. Results are also aggregated at - // the dimension-level. Supported dimensions are ["COMPLETENESS", "ACCURACY", - // "CONSISTENCY", "VALIDITY", "UNIQUENESS", "INTEGRITY"] + // the dimension level. Supported dimensions are **["COMPLETENESS", + // "ACCURACY", "CONSISTENCY", "VALIDITY", "UNIQUENESS", "INTEGRITY"]** string dimension = 502 [(google.api.field_behavior) = REQUIRED]; - // Optional. The minimum ratio of passing_rows / total_rows required to pass - // this rule, with a range of [0.0, 1.0] + // Optional. The minimum ratio of **passing_rows / total_rows** required to + // pass this rule, with a range of [0.0, 1.0]. // - // 0 indicates default value (i.e. 1.0) + // 0 indicates default value (i.e. 1.0). + // + // This field is only valid for row-level type rules. double threshold = 503 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. A mutable name for the rule. + // + // * The name must contain only letters (a-z, A-Z), numbers (0-9), or + // hyphens (-). + // * The maximum length is 63 characters. + // * Must start with a letter. + // * Must end with a number or a letter. + string name = 504 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Description of the rule. + // + // * The maximum length is 1,024 characters. + string description = 505 [(google.api.field_behavior) = OPTIONAL]; +} + +// DataQualityColumnResult provides a more detailed, per-column view of +// the results. +message DataQualityColumnResult { + // Output only. The column specified in the DataQualityRule. + string column = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The column-level data quality score for this data scan job if + // and only if the 'column' field is set. + // + // The score ranges between between [0, 100] (up to two decimal + // points). + optional float score = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/cloud/dataplex/v1/dataplex_grpc_service_config.json b/third_party/googleapis/google/cloud/dataplex/v1/dataplex_grpc_service_config.json index e13dcdf6d..ca0352755 100644 --- a/third_party/googleapis/google/cloud/dataplex/v1/dataplex_grpc_service_config.json +++ b/third_party/googleapis/google/cloud/dataplex/v1/dataplex_grpc_service_config.json @@ -259,7 +259,7 @@ "service": "google.cloud.dataplex.v1.MetadataService", "method": "UpdatePartition" } - ], + ], "timeout": "60s" }, { @@ -280,7 +280,60 @@ "service": "google.cloud.dataplex.v1.ContentService", "method": "SetIamPolicy" } - ], + ], + "timeout": "60s" + }, + { + "name": [ + { + "service": "google.cloud.dataplex.v1.CatalogService", + "method": "ListEntries" + }, + { + "service": "google.cloud.dataplex.v1.CatalogService", + "method": "GetEntry" + }, + { + "service": "google.cloud.dataplex.v1.CatalogService", + "method": "LookupEntry" + } + ], + "timeout": "20s", + "retryPolicy": { + "maxAttempts": 3, + "initialBackoff": "1s", + "maxBackoff": "10s", + "backoffMultiplier": 1.3, + "retryableStatusCodes": ["UNAVAILABLE", "RESOURCE_EXHAUSTED"] + } + }, + { + "name": [ + { + "service": "google.cloud.dataplex.v1.CatalogService", + "method": "UpdateEntry" + } + ], + "timeout": "60s", + "retryPolicy": { + "maxAttempts": 3, + "initialBackoff": "1s", + "maxBackoff": "10s", + "backoffMultiplier": 1.3, + "retryableStatusCodes": ["UNAVAILABLE", "RESOURCE_EXHAUSTED"] + } + }, + { + "name": [ + { + "service": "google.cloud.dataplex.v1.CatalogService", + "method": "CreateEntry" + }, + { + "service": "google.cloud.dataplex.v1.CatalogService", + "method": "DeleteEntry" + } + ], "timeout": "60s" } ] diff --git a/third_party/googleapis/google/cloud/dataplex/v1/dataplex_v1.yaml b/third_party/googleapis/google/cloud/dataplex/v1/dataplex_v1.yaml index 78a0b6e5b..cdc9b7c91 100644 --- a/third_party/googleapis/google/cloud/dataplex/v1/dataplex_v1.yaml +++ b/third_party/googleapis/google/cloud/dataplex/v1/dataplex_v1.yaml @@ -6,6 +6,7 @@ title: Cloud Dataplex API apis: - name: google.cloud.dataplex.v1.ContentService - name: google.cloud.dataplex.v1.DataScanService +- name: google.cloud.dataplex.v1.DataTaxonomyService - name: google.cloud.dataplex.v1.DataplexService - name: google.cloud.dataplex.v1.MetadataService - name: google.cloud.location.Locations @@ -13,8 +14,10 @@ apis: - name: google.longrunning.Operations types: +- name: google.cloud.dataplex.v1.DataQualityScanRuleResult - name: google.cloud.dataplex.v1.DataScanEvent - name: google.cloud.dataplex.v1.DiscoveryEvent +- name: google.cloud.dataplex.v1.GovernanceEvent - name: google.cloud.dataplex.v1.JobEvent - name: google.cloud.dataplex.v1.OperationMetadata - name: google.cloud.dataplex.v1.SessionEvent @@ -51,25 +54,6 @@ documentation: permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. -backend: - rules: - - selector: 'google.cloud.dataplex.v1.ContentService.*' - deadline: 60.0 - - selector: 'google.cloud.dataplex.v1.DataScanService.*' - deadline: 60.0 - - selector: 'google.cloud.dataplex.v1.DataplexService.*' - deadline: 60.0 - - selector: 'google.cloud.dataplex.v1.MetadataService.*' - deadline: 60.0 - - selector: google.cloud.location.Locations.GetLocation - deadline: 60.0 - - selector: google.cloud.location.Locations.ListLocations - deadline: 60.0 - - selector: 'google.iam.v1.IAMPolicy.*' - deadline: 60.0 - - selector: 'google.longrunning.Operations.*' - deadline: 60.0 - http: rules: - selector: google.cloud.location.Locations.GetLocation @@ -87,6 +71,10 @@ http: - get: '/v1/{resource=projects/*/locations/*/dataTaxonomies/*}:getIamPolicy' - get: '/v1/{resource=projects/*/locations/*/dataTaxonomies/*/attributes/*}:getIamPolicy' - get: '/v1/{resource=projects/*/locations/*/dataAttributeBindings/*}:getIamPolicy' + - get: '/v1/{resource=projects/*/locations/*/entryTypes/*}:getIamPolicy' + - get: '/v1/{resource=projects/*/locations/*/aspectTypes/*}:getIamPolicy' + - get: '/v1/{resource=projects/*/locations/*/entryGroups/*}:getIamPolicy' + - get: '/v1/{resource=projects/*/locations/*/governanceRules/*}:getIamPolicy' - selector: google.iam.v1.IAMPolicy.SetIamPolicy post: '/v1/{resource=projects/*/locations/*/lakes/*}:setIamPolicy' body: '*' @@ -107,6 +95,14 @@ http: body: '*' - post: '/v1/{resource=projects/*/locations/*/dataAttributeBindings/*}:setIamPolicy' body: '*' + - post: '/v1/{resource=projects/*/locations/*/entryTypes/*}:setIamPolicy' + body: '*' + - post: '/v1/{resource=projects/*/locations/*/aspectTypes/*}:setIamPolicy' + body: '*' + - post: '/v1/{resource=projects/*/locations/*/entryGroups/*}:setIamPolicy' + body: '*' + - post: '/v1/{resource=projects/*/locations/*/governanceRules/*}:setIamPolicy' + body: '*' - selector: google.iam.v1.IAMPolicy.TestIamPermissions post: '/v1/{resource=projects/*/locations/*/lakes/*}:testIamPermissions' body: '*' @@ -127,6 +123,14 @@ http: body: '*' - post: '/v1/{resource=projects/*/locations/*/dataAttributeBindings/*}:testIamPermissions' body: '*' + - post: '/v1/{resource=projects/*/locations/*/entryTypes/*}:testIamPermissions' + body: '*' + - post: '/v1/{resource=projects/*/locations/*/aspectTypes/*}:testIamPermissions' + body: '*' + - post: '/v1/{resource=projects/*/locations/*/entryGroups/*}:testIamPermissions' + body: '*' + - post: '/v1/{resource=projects/*/locations/*/governanceRules/*}:testIamPermissions' + body: '*' - selector: google.longrunning.Operations.CancelOperation post: '/v1/{name=projects/*/locations/*/operations/*}:cancel' body: '*' @@ -147,6 +151,10 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform + - selector: 'google.cloud.dataplex.v1.DataTaxonomyService.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform - selector: 'google.cloud.dataplex.v1.DataplexService.*' oauth: canonical_scopes: |- @@ -171,3 +179,47 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform + +publishing: + new_issue_uri: https://issuetracker.google.com/issues/new?component=190865&template=1161103 + documentation_uri: https://cloud.google.com/dataplex/docs/overview + api_short_name: dataplex + github_label: 'api: dataplex' + doc_tag_prefix: dataplex + organization: CLOUD + library_settings: + - version: google.cloud.dataplex.v1 + launch_stage: ALPHA + java_settings: + common: + destinations: + - PACKAGE_MANAGER + cpp_settings: + common: + destinations: + - PACKAGE_MANAGER + php_settings: + common: + destinations: + - PACKAGE_MANAGER + python_settings: + common: + destinations: + - PACKAGE_MANAGER + node_settings: + common: + destinations: + - PACKAGE_MANAGER + dotnet_settings: + common: + destinations: + - PACKAGE_MANAGER + ruby_settings: + common: + destinations: + - PACKAGE_MANAGER + go_settings: + common: + destinations: + - PACKAGE_MANAGER + proto_reference_documentation_uri: https://cloud.google.com/dataplex/docs/reference/rpc diff --git a/third_party/googleapis/google/cloud/dataplex/v1/datascans.proto b/third_party/googleapis/google/cloud/dataplex/v1/datascans.proto index d2320c566..a1a752c8a 100644 --- a/third_party/googleapis/google/cloud/dataplex/v1/datascans.proto +++ b/third_party/googleapis/google/cloud/dataplex/v1/datascans.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -24,7 +24,9 @@ import "google/cloud/dataplex/v1/data_profile.proto"; import "google/cloud/dataplex/v1/data_quality.proto"; import "google/cloud/dataplex/v1/processing.proto"; import "google/cloud/dataplex/v1/resources.proto"; +import "google/cloud/dataplex/v1/service.proto"; import "google/longrunning/operations.proto"; +import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; @@ -149,6 +151,10 @@ message CreateDataScanRequest { // * Must be between 1-63 characters. // * Must be unique within the customer project / location. string data_scan_id = 3 [(google.api.field_behavior) = REQUIRED]; + + // Optional. Only validate the request, but do not perform mutations. + // The default is `false`. + bool validate_only = 4 [(google.api.field_behavior) = OPTIONAL]; } // Update dataScan request. @@ -161,6 +167,10 @@ message UpdateDataScanRequest { // Required. Mask of fields to update. google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; + + // Optional. Only validate the request, but do not perform mutations. + // The default is `false`. + bool validate_only = 3 [(google.api.field_behavior) = OPTIONAL]; } // Delete dataScan request. @@ -220,7 +230,7 @@ message ListDataScansRequest { ]; // Optional. Maximum number of dataScans to return. The service may return - // fewer than this value. If unspecified, at most 10 scans will be returned. + // fewer than this value. If unspecified, at most 500 scans will be returned. // The maximum value is 1000; values above 1000 will be coerced to 1000. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; @@ -288,7 +298,7 @@ message GetDataScanJobRequest { } // Required. The resource name of the DataScanJob: - // `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/dataScanJobs/{data_scan_job_id}` + // `projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/jobs/{data_scan_job_id}` // where `project` refers to a *project_id* or *project_number* and // `location_id` refers to a GCP region. string name = 1 [ @@ -326,6 +336,25 @@ message ListDataScanJobsRequest { // parameters provided to `ListDataScanJobs` must match the call that provided // the page token. string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. An expression for filtering the results of the ListDataScanJobs + // request. + // + // If unspecified, all datascan jobs will be returned. Multiple filters can be + // applied (with `AND`, `OR` logical operators). Filters are case-sensitive. + // + // Allowed fields are: + // + // - `start_time` + // - `end_time` + // + // `start_time` and `end_time` expect RFC-3339 formatted strings (e.g. + // 2018-10-08T18:30:00-07:00). + // + // For instance, 'start_time > 2018-10-08T00:00:00.123456789Z AND end_time < + // 2018-10-09T00:00:00.123456789Z' limits results to DataScanJobs between + // specified start and end times. + string filter = 4 [(google.api.field_behavior) = OPTIONAL]; } // List DataScanJobs response. diff --git a/third_party/googleapis/google/cloud/dataplex/v1/logs.proto b/third_party/googleapis/google/cloud/dataplex/v1/logs.proto index f6bc38640..a152b2588 100644 --- a/third_party/googleapis/google/cloud/dataplex/v1/logs.proto +++ b/third_party/googleapis/google/cloud/dataplex/v1/logs.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,6 +16,7 @@ syntax = "proto3"; package google.cloud.dataplex.v1; +import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; @@ -186,6 +187,19 @@ message JobEvent { DATAPROC = 1; } + // Job Execution trigger. + enum ExecutionTrigger { + // The job execution trigger is unspecified. + EXECUTION_TRIGGER_UNSPECIFIED = 0; + + // The job was triggered by Dataplex based on trigger spec from task + // definition. + TASK_CONFIG = 1; + + // The job was triggered by the explicit call of Task API. + RUN_REQUEST = 2; + } + // The log message. string message = 1; @@ -212,6 +226,9 @@ message JobEvent { // The reference to the job within the service. string service_job = 9; + + // Job execution trigger. + ExecutionTrigger execution_trigger = 11; } // These messages contain information about sessions within an environment. @@ -299,8 +316,101 @@ message SessionEvent { google.protobuf.Duration unassigned_duration = 8; } +// Payload associated with Governance related log events. +message GovernanceEvent { + // Information about Entity resource that the log event is associated with. + message Entity { + // Type of entity. + enum EntityType { + // An unspecified Entity type. + ENTITY_TYPE_UNSPECIFIED = 0; + + // Table entity type. + TABLE = 1; + + // Fileset entity type. + FILESET = 2; + } + + // The Entity resource the log event is associated with. + // Format: + // `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}` + string entity = 1 [(google.api.resource_reference) = { + type: "dataplex.googleapis.com/Entity" + }]; + + // Type of entity. + EntityType entity_type = 2; + } + + // Type of governance log event. + enum EventType { + // An unspecified event type. + EVENT_TYPE_UNSPECIFIED = 0; + + // Resource IAM policy update event. + RESOURCE_IAM_POLICY_UPDATE = 1; + + // BigQuery table create event. + BIGQUERY_TABLE_CREATE = 2; + + // BigQuery table update event. + BIGQUERY_TABLE_UPDATE = 3; + + // BigQuery table delete event. + BIGQUERY_TABLE_DELETE = 4; + + // BigQuery connection create event. + BIGQUERY_CONNECTION_CREATE = 5; + + // BigQuery connection update event. + BIGQUERY_CONNECTION_UPDATE = 6; + + // BigQuery connection delete event. + BIGQUERY_CONNECTION_DELETE = 7; + + // BigQuery taxonomy created. + BIGQUERY_TAXONOMY_CREATE = 10; + + // BigQuery policy tag created. + BIGQUERY_POLICY_TAG_CREATE = 11; + + // BigQuery policy tag deleted. + BIGQUERY_POLICY_TAG_DELETE = 12; + + // BigQuery set iam policy for policy tag. + BIGQUERY_POLICY_TAG_SET_IAM_POLICY = 13; + + // Access policy update event. + ACCESS_POLICY_UPDATE = 14; + + // Number of resources matched with particular Query. + GOVERNANCE_RULE_MATCHED_RESOURCES = 15; + + // Rule processing exceeds the allowed limit. + GOVERNANCE_RULE_SEARCH_LIMIT_EXCEEDS = 16; + + // Rule processing errors. + GOVERNANCE_RULE_ERRORS = 17; + + // Governance rule processing Event. + GOVERNANCE_RULE_PROCESSING = 18; + } + + // The log message. + string message = 1; + + // The type of the event. + EventType event_type = 2; + + // Entity resource information if the log event is associated with a + // specific entity. + optional Entity entity = 3; +} + // These messages contain information about the execution of a datascan. // The monitored resource is 'DataScan' +// Next ID: 13 message DataScanEvent { // The type of the data scan. enum ScanType { @@ -319,17 +429,20 @@ message DataScanEvent { // Unspecified job state. STATE_UNSPECIFIED = 0; - // Data scan started. + // Data scan job started. STARTED = 1; - // Data scan successfully completed. + // Data scan job successfully completed. SUCCEEDED = 2; - // Data scan was unsuccessful. + // Data scan job was unsuccessful. FAILED = 3; - // Data scan was cancelled. + // Data scan job was cancelled. CANCELLED = 4; + + // Data scan job was createed. + CREATED = 5; } // The trigger type for the data scan. @@ -375,6 +488,87 @@ message DataScanEvent { // The value is the bool value depicting whether the dimension result was // `pass` or not. map dimension_passed = 3; + + // The table-level data quality score for the data scan job. + // + // The data quality score ranges between [0, 100] (up to two decimal + // points). + float score = 4; + + // The score of each dimension for data quality result. + // The key of the map is the name of the dimension. + // The value is the data quality score for the dimension. + // + // The score ranges between [0, 100] (up to two decimal + // points). + map dimension_score = 5; + + // The score of each column scanned in the data scan job. + // The key of the map is the name of the column. + // The value is the data quality score for the column. + // + // The score ranges between [0, 100] (up to two decimal + // points). + map column_score = 6; + } + + // Applied configs for data profile type data scan job. + message DataProfileAppliedConfigs { + // The percentage of the records selected from the dataset for DataScan. + // + // * Value ranges between 0.0 and 100.0. + // * Value 0.0 or 100.0 imply that sampling was not applied. + float sampling_percent = 1; + + // Boolean indicating whether a row filter was applied in the DataScan job. + bool row_filter_applied = 2; + + // Boolean indicating whether a column filter was applied in the DataScan + // job. + bool column_filter_applied = 3; + } + + // Applied configs for data quality type data scan job. + message DataQualityAppliedConfigs { + // The percentage of the records selected from the dataset for DataScan. + // + // * Value ranges between 0.0 and 100.0. + // * Value 0.0 or 100.0 imply that sampling was not applied. + float sampling_percent = 1; + + // Boolean indicating whether a row filter was applied in the DataScan job. + bool row_filter_applied = 2; + } + + // Post scan actions result for data scan job. + message PostScanActionsResult { + // The result of BigQuery export post scan action. + message BigQueryExportResult { + // Execution state for the exporting. + enum State { + // The exporting state is unspecified. + STATE_UNSPECIFIED = 0; + + // The exporting completed successfully. + SUCCEEDED = 1; + + // The exporting is no longer running due to an error. + FAILED = 2; + + // The exporting is skipped due to no valid scan result to export + // (usually caused by scan failed). + SKIPPED = 3; + } + + // Execution state for the BigQuery exporting. + State state = 1; + + // Additional information about the BigQuery exporting. + string message = 2; + } + + // The result of BigQuery export post scan action. + BigQueryExportResult bigquery_export_result = 1; } // The data source of the data scan @@ -383,6 +577,9 @@ message DataScanEvent { // The identifier of the specific data scan job this log entry is for. string job_id = 2; + // The time when the data scan job was created. + google.protobuf.Timestamp create_time = 12; + // The time when the data scan job started to run. google.protobuf.Timestamp start_time = 3; @@ -415,4 +612,120 @@ message DataScanEvent { // Data quality result for data quality type data scan. DataQualityResult data_quality = 102; } + + // The applied configs in the data scan job. + oneof appliedConfigs { + // Applied configs for data profile type data scan. + DataProfileAppliedConfigs data_profile_configs = 201; + + // Applied configs for data quality type data scan. + DataQualityAppliedConfigs data_quality_configs = 202; + } + + // The result of post scan actions. + PostScanActionsResult post_scan_actions_result = 11; +} + +// Information about the result of a data quality rule for data quality scan. +// The monitored resource is 'DataScan'. +message DataQualityScanRuleResult { + // The type of the data quality rule. + enum RuleType { + // An unspecified rule type. + RULE_TYPE_UNSPECIFIED = 0; + + // Please see + // https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#nonnullexpectation. + NON_NULL_EXPECTATION = 1; + + // Please see + // https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#rangeexpectation. + RANGE_EXPECTATION = 2; + + // Please see + // https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#regexexpectation. + REGEX_EXPECTATION = 3; + + // Please see + // https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#rowconditionexpectation. + ROW_CONDITION_EXPECTATION = 4; + + // Please see + // https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#setexpectation. + SET_EXPECTATION = 5; + + // Please see + // https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#statisticrangeexpectation. + STATISTIC_RANGE_EXPECTATION = 6; + + // Please see + // https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#tableconditionexpectation. + TABLE_CONDITION_EXPECTATION = 7; + + // Please see + // https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualityRule#uniquenessexpectation. + UNIQUENESS_EXPECTATION = 8; + } + + // The evaluation type of the data quality rule. + enum EvaluationType { + // An unspecified evaluation type. + EVALUATION_TYPE_UNSPECIFIED = 0; + + // The rule evaluation is done at per row level. + PER_ROW = 1; + + // The rule evaluation is done for an aggregate of rows. + AGGREGATE = 2; + } + + // Whether the data quality rule passed or failed. + enum Result { + // An unspecified result. + RESULT_UNSPECIFIED = 0; + + // The data quality rule passed. + PASSED = 1; + + // The data quality rule failed. + FAILED = 2; + } + + // Identifier of the specific data scan job this log entry is for. + string job_id = 1; + + // The data source of the data scan (e.g. BigQuery table name). + string data_source = 2; + + // The column which this rule is evaluated against. + string column = 3; + + // The name of the data quality rule. + string rule_name = 4; + + // The type of the data quality rule. + RuleType rule_type = 5; + + // The evaluation type of the data quality rule. + EvaluationType evalution_type = 6; + + // The dimension of the data quality rule. + string rule_dimension = 7; + + // The passing threshold ([0.0, 100.0]) of the data quality rule. + double threshold_percent = 8; + + // The result of the data quality rule. + Result result = 9; + + // The number of rows evaluated against the data quality rule. + // This field is only valid for rules of PER_ROW evaluation type. + int64 evaluated_row_count = 10; + + // The number of rows which passed a rule evaluation. + // This field is only valid for rules of PER_ROW evaluation type. + int64 passed_row_count = 11; + + // The number of rows with null values in the specified column. + int64 null_row_count = 12; } diff --git a/third_party/googleapis/google/cloud/dataplex/v1/metadata.proto b/third_party/googleapis/google/cloud/dataplex/v1/metadata.proto index c6432906f..34ce91f21 100644 --- a/third_party/googleapis/google/cloud/dataplex/v1/metadata.proto +++ b/third_party/googleapis/google/cloud/dataplex/v1/metadata.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -409,8 +409,7 @@ message Entity { // published table name. Specifying a new ID in an update entity // request will override the existing value. // The ID must contain only letters (a-z, A-Z), numbers (0-9), and - // underscores. Must begin with a letter and consist of 256 or fewer - // characters. + // underscores, and consist of 256 or fewer characters. string id = 7 [(google.api.field_behavior) = REQUIRED]; // Optional. The etag associated with the entity, which can be retrieved with @@ -463,6 +462,14 @@ message Entity { CompatibilityStatus compatibility = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Identifies the access mechanism to the entity. Not user + // settable. + StorageAccess access = 21 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. System generated unique ID for the Entity. This ID will be + // different if the Entity is deleted and re-created with the same name. + string uid = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Required. The description of the data structure and layout. // The schema is not included in list responses. It is only included in // `SCHEMA` and `FULL` entity views of a `GetEntity` response. @@ -784,6 +791,25 @@ message StorageFormat { } } +// Describes the access mechanism of the data within its storage location. +message StorageAccess { + // Access Mode determines how data stored within the Entity is read. + enum AccessMode { + // Access mode unspecified. + ACCESS_MODE_UNSPECIFIED = 0; + + // Default. Data is accessed directly using storage APIs. + DIRECT = 1; + + // Data is accessed through a managed interface using BigQuery APIs. + MANAGED = 2; + } + + // Output only. Describes the read access mechanism of the data. Not user + // settable. + AccessMode read = 21 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + // Identifies the cloud system that manages the data storage. enum StorageSystem { // Storage system unspecified. diff --git a/third_party/googleapis/google/cloud/dataplex/v1/processing.proto b/third_party/googleapis/google/cloud/dataplex/v1/processing.proto index ba32f7a0d..38381131b 100644 --- a/third_party/googleapis/google/cloud/dataplex/v1/processing.proto +++ b/third_party/googleapis/google/cloud/dataplex/v1/processing.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -26,27 +26,31 @@ option java_package = "com.google.cloud.dataplex.v1"; // DataScan scheduling and trigger settings. message Trigger { - // The scan runs one-time via RunDataScan API. + // The scan runs once via `RunDataScan` API. message OnDemand {} // The scan is scheduled to run periodically. message Schedule { - // Required. Cron schedule (https://en.wikipedia.org/wiki/Cron) for running + // Required. [Cron](https://en.wikipedia.org/wiki/Cron) schedule for running // scans periodically. - // To explicitly set a timezone to the cron tab, apply a prefix in the - // cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or "TZ=${IANA_TIME_ZONE}". - // The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone - // database. For example, "CRON_TZ=America/New_York 1 * * * *", or - // "TZ=America/New_York 1 * * * *". + // + // To explicitly set a timezone in the cron tab, apply a prefix in the + // cron tab: **"CRON_TZ=${IANA_TIME_ZONE}"** or **"TZ=${IANA_TIME_ZONE}"**. + // The **${IANA_TIME_ZONE}** may only be a valid string from IANA time zone + // database + // ([wikipedia](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List)). + // For example, `CRON_TZ=America/New_York 1 * * * *`, or + // `TZ=America/New_York 1 * * * *`. + // // This field is required for Schedule scans. string cron = 1 [(google.api.field_behavior) = REQUIRED]; } // DataScan scheduling and trigger settings. - // If not specified, the default is OnDemand, which means the scan will not - // run until the user calls RunDataScan API. + // + // If not specified, the default is `onDemand`. oneof mode { - // The scan runs one-time shortly after DataScan Creation. + // The scan runs once via `RunDataScan` API. OnDemand on_demand = 100; // The scan is scheduled to run periodically. @@ -56,11 +60,11 @@ message Trigger { // The data source for DataScan. message DataSource { - // The source is required and immutable which means once entity is set, it - // cannot be change to others, and vice versa. + // The source is required and immutable. Once it is set, it cannot be change + // to others. oneof source { - // Immutable. The dataplex entity that contains the data for DataScan, of - // the form: + // Immutable. The Dataplex entity that represents the data source (e.g. + // BigQuery table) for DataScan, of the form: // `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`. string entity = 100 [ (google.api.field_behavior) = IMMUTABLE, @@ -68,6 +72,12 @@ message DataSource { type: "dataplex.googleapis.com/Entity" } ]; + + // Immutable. The service-qualified full resource name of the cloud resource + // for a DataScan job to scan against. The field could be: BigQuery table of + // type "TABLE" for DataProfileScan/DataQualityScan Format: + // //bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID + string resource = 101 [(google.api.field_behavior) = IMMUTABLE]; } } @@ -76,13 +86,13 @@ message ScannedData { // A data range denoted by a pair of start/end values of a field. message IncrementalField { // The field that contains values which monotonically increases over time - // (e.g. timestamp). + // (e.g. a timestamp column). string field = 1; - // Value that marks the start of the range + // Value that marks the start of the range. string start = 2; - // Value that marks the end of the range + // Value that marks the end of the range. string end = 3; } diff --git a/third_party/googleapis/google/cloud/dataplex/v1/resources.proto b/third_party/googleapis/google/cloud/dataplex/v1/resources.proto index 7ba96cfee..d8b74d4a5 100644 --- a/third_party/googleapis/google/cloud/dataplex/v1/resources.proto +++ b/third_party/googleapis/google/cloud/dataplex/v1/resources.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -254,9 +254,8 @@ message Zone { // discovery every 60 minutes. To explicitly set a timezone to the cron // tab, apply a prefix in the cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or // TZ=${IANA_TIME_ZONE}". The ${IANA_TIME_ZONE} may only be a valid string - // from IANA time zone database. For example, - // `CRON_TZ=America/New_York 1 * * * *`, - // or `TZ=America/New_York 1 * * * *`. + // from IANA time zone database. For example, `CRON_TZ=America/New_York 1 + // * * * *`, or `TZ=America/New_York 1 * * * *`. string schedule = 10 [(google.api.field_behavior) = OPTIONAL]; } } @@ -601,9 +600,8 @@ message Asset { // discovery every 60 minutes. To explicitly set a timezone to the cron // tab, apply a prefix in the cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or // TZ=${IANA_TIME_ZONE}". The ${IANA_TIME_ZONE} may only be a valid string - // from IANA time zone database. For example, - // `CRON_TZ=America/New_York 1 * * * *`, - // or `TZ=America/New_York 1 * * * *`. + // from IANA time zone database. For example, `CRON_TZ=America/New_York 1 + // * * * *`, or `TZ=America/New_York 1 * * * *`. string schedule = 10 [(google.api.field_behavior) = OPTIONAL]; } } @@ -622,6 +620,19 @@ message Asset { BIGQUERY_DATASET = 2; } + // Access Mode determines how data stored within the resource is read. This + // is only applicable to storage bucket assets. + enum AccessMode { + // Access mode unspecified. + ACCESS_MODE_UNSPECIFIED = 0; + + // Default. Data is accessed directly using storage APIs. + DIRECT = 1; + + // Data is accessed through a managed interface using BigQuery APIs. + MANAGED = 2; + } + // Immutable. Relative name of the cloud resource that contains the data // that is being managed within a lake. For example: // `projects/{project_number}/buckets/{bucket_id}` @@ -633,6 +644,10 @@ message Asset { (google.api.field_behavior) = REQUIRED, (google.api.field_behavior) = IMMUTABLE ]; + + // Optional. Determines how read permissions are handled for each asset and + // their associated tables. Only available to storage buckets assets. + AccessMode read_access_mode = 5 [(google.api.field_behavior) = OPTIONAL]; } // Status of the resource referenced by an asset. @@ -657,6 +672,10 @@ message Asset { // Last update time of the status. google.protobuf.Timestamp update_time = 3; + + // Output only. Service account associated with the BigQuery Connection. + string managed_access_identity = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Status of discovery for an asset. diff --git a/third_party/googleapis/google/cloud/dataplex/v1/service.proto b/third_party/googleapis/google/cloud/dataplex/v1/service.proto index ba0ed0502..8972d6592 100644 --- a/third_party/googleapis/google/cloud/dataplex/v1/service.proto +++ b/third_party/googleapis/google/cloud/dataplex/v1/service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -294,6 +294,15 @@ service DataplexService { option (google.api.method_signature) = "parent"; } + // Run an on demand execution of a Task. + rpc RunTask(RunTaskRequest) returns (RunTaskResponse) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/*/lakes/*/tasks/*}:run" + body: "*" + }; + option (google.api.method_signature) = "name"; + } + // Get job resource. rpc GetJob(GetJobRequest) returns (Job) { option (google.api.http) = { @@ -891,6 +900,38 @@ message GetJobRequest { ]; } +message RunTaskRequest { + // Required. The resource name of the task: + // `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "dataplex.googleapis.com/Task" } + ]; + + // Optional. User-defined labels for the task. If the map is left empty, the + // task will run with existing labels from task definition. If the map + // contains an entry with a new key, the same will be added to existing set of + // labels. If the map contains an entry with an existing label key in task + // definition, the task will run with new label value for that entry. Clearing + // an existing label will require label value to be explicitly set to a hyphen + // "-". The label value cannot be empty. + map labels = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Execution spec arguments. If the map is left empty, the task will + // run with existing execution spec args from task definition. If the map + // contains an entry with a new key, the same will be added to existing set of + // args. If the map contains an entry with an existing arg key in task + // definition, the task will run with new arg value for that entry. Clearing + // an existing arg will require arg value to be explicitly set to a hyphen + // "-". The arg value cannot be empty. + map args = 4 [(google.api.field_behavior) = OPTIONAL]; +} + +message RunTaskResponse { + // Jobs created by RunTask API. + Job job = 1; +} + // List jobs request. message ListJobsRequest { // Required. The resource name of the parent environment: diff --git a/third_party/googleapis/google/cloud/dataplex/v1/tasks.proto b/third_party/googleapis/google/cloud/dataplex/v1/tasks.proto index 3e7137ba2..9333e4402 100644 --- a/third_party/googleapis/google/cloud/dataplex/v1/tasks.proto +++ b/third_party/googleapis/google/cloud/dataplex/v1/tasks.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -150,9 +150,8 @@ message Task { // tab, apply a prefix in the cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or // "TZ=${IANA_TIME_ZONE}". The ${IANA_TIME_ZONE} may only be a valid // string from IANA time zone database. For example, - // `CRON_TZ=America/New_York 1 * * * *`, - // or `TZ=America/New_York 1 * * * *`. - // This field is required for RECURRING tasks. + // `CRON_TZ=America/New_York 1 * * * *`, or `TZ=America/New_York 1 * * * + // *`. This field is required for RECURRING tasks. string schedule = 100 [(google.api.field_behavior) = OPTIONAL]; } } @@ -364,6 +363,19 @@ message Job { ABORTED = 6; } + // Job execution trigger. + enum Trigger { + // The trigger is unspecified. + TRIGGER_UNSPECIFIED = 0; + + // The job was triggered by Dataplex based on trigger spec from task + // definition. + TASK_CONFIG = 1; + + // The job was triggered by the explicit call of Task API. + RUN_REQUEST = 2; + } + // Output only. The relative resource name of the job, of the form: // `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`. string name = 1 [ @@ -398,4 +410,14 @@ message Job { // Output only. Additional information about the current state. string message = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. User-defined labels for the task. + map labels = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Job execution trigger. + Trigger trigger = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Spec related to how a task is executed. + Task.ExecutionSpec execution_spec = 100 + [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/cloud/dataproc/BUILD.bazel b/third_party/googleapis/google/cloud/dataproc/BUILD.bazel index 6f44e5ca0..2bd9fe94d 100644 --- a/third_party/googleapis/google/cloud/dataproc/BUILD.bazel +++ b/third_party/googleapis/google/cloud/dataproc/BUILD.bazel @@ -22,7 +22,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-dataproc", "ruby-cloud-env-prefix=DATAPROC", - "ruby-cloud-wrapper-of=v1:0.14", + "ruby-cloud-wrapper-of=v1:0.24", "ruby-cloud-product-url=https://cloud.google.com/dataproc", "ruby-cloud-api-id=dataproc.googleapis.com", "ruby-cloud-api-shortname=dataproc", @@ -30,6 +30,7 @@ ruby_cloud_gapic_library( ], ruby_cloud_description = "Manages Hadoop-based clusters and jobs on Google Cloud Platform.", ruby_cloud_title = "Cloud Dataproc", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/dataproc/logging/BUILD.bazel b/third_party/googleapis/google/cloud/dataproc/logging/BUILD.bazel index e5e61a389..4aeee4b4e 100644 --- a/third_party/googleapis/google/cloud/dataproc/logging/BUILD.bazel +++ b/third_party/googleapis/google/cloud/dataproc/logging/BUILD.bazel @@ -89,7 +89,6 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -98,21 +97,9 @@ php_proto_library( deps = [":logging_proto"], ) -php_grpc_library( - name = "logging_php_grpc", - srcs = [":logging_proto"], - deps = [":logging_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) - ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/dataproc/v1/BUILD.bazel b/third_party/googleapis/google/cloud/dataproc/v1/BUILD.bazel index b5931419c..759cdade2 100644 --- a/third_party/googleapis/google/cloud/dataproc/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/dataproc/v1/BUILD.bazel @@ -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"]) @@ -18,6 +27,8 @@ proto_library( "jobs.proto", "node_groups.proto", "operations.proto", + "session_templates.proto", + "sessions.proto", "shared.proto", "workflow_templates.proto", ], @@ -27,10 +38,12 @@ proto_library( "//google/api:field_behavior_proto", "//google/api:resource_proto", "//google/longrunning:operations_proto", + "//google/type:interval_proto", "@com_google_protobuf//:duration_proto", "@com_google_protobuf//:empty_proto", "@com_google_protobuf//:field_mask_proto", "@com_google_protobuf//:timestamp_proto", + "@com_google_protobuf//:wrappers_proto", ], ) @@ -39,6 +52,7 @@ proto_library_with_info( deps = [ ":dataproc_proto", "//google/cloud:common_resources_proto", + "//google/iam/v1:iam_policy_proto", ], ) @@ -71,29 +85,34 @@ java_gapic_library( gapic_yaml = "dataproc_gapic.yaml", grpc_service_config = "dataproc_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "dataproc_v1.yaml", test_deps = [ + "//google/iam/v1:iam_java_grpc", ":dataproc_java_grpc", ], transport = "grpc+rest", deps = [ ":dataproc_java_proto", + "//google/api:api_java_proto", + "//google/iam/v1:iam_java_proto", ], ) java_gapic_test( name = "dataproc_java_gapic_test_suite", test_classes = [ - # Add AutoscalingPolicyService to gapic yaml "com.google.cloud.dataproc.v1.AutoscalingPolicyServiceClientHttpJsonTest", "com.google.cloud.dataproc.v1.AutoscalingPolicyServiceClientTest", + "com.google.cloud.dataproc.v1.BatchControllerClientHttpJsonTest", + "com.google.cloud.dataproc.v1.BatchControllerClientTest", "com.google.cloud.dataproc.v1.ClusterControllerClientHttpJsonTest", "com.google.cloud.dataproc.v1.ClusterControllerClientTest", "com.google.cloud.dataproc.v1.JobControllerClientHttpJsonTest", "com.google.cloud.dataproc.v1.JobControllerClientTest", - "com.google.cloud.dataproc.v1.WorkflowTemplateServiceClientHttpJsonTest", - "com.google.cloud.dataproc.v1.WorkflowTemplateServiceClientTest", "com.google.cloud.dataproc.v1.NodeGroupControllerClientHttpJsonTest", "com.google.cloud.dataproc.v1.NodeGroupControllerClientTest", + "com.google.cloud.dataproc.v1.WorkflowTemplateServiceClientHttpJsonTest", + "com.google.cloud.dataproc.v1.WorkflowTemplateServiceClientTest", ], runtime_deps = [":dataproc_java_gapic_test"], ) @@ -119,17 +138,17 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( name = "dataproc_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "cloud.google.com/go/dataproc/apiv1/dataprocpb", + importpath = "cloud.google.com/go/dataproc/v2/apiv1/dataprocpb", protos = [":dataproc_proto"], deps = [ "//google/api:annotations_go_proto", "//google/longrunning:longrunning_go_proto", + "//google/type:interval_go_proto", ], ) @@ -137,7 +156,7 @@ go_gapic_library( name = "dataproc_go_gapic", srcs = [":dataproc_proto_with_info"], grpc_service_config = "dataproc_grpc_service_config.json", - importpath = "cloud.google.com/go/dataproc/apiv1;dataproc", + importpath = "cloud.google.com/go/dataproc/v2/apiv1;dataproc", metadata = True, release_level = "ga", rest_numeric_enums = True, @@ -145,7 +164,6 @@ go_gapic_library( transport = "grpc+rest", deps = [ ":dataproc_go_proto", - "//google/cloud/location:location_go_proto", "//google/iam/v1:iam_go_proto", "//google/longrunning:longrunning_go_proto", "@com_google_cloud_go_longrunning//:go_default_library", @@ -154,18 +172,13 @@ go_gapic_library( ], ) -go_test( - name = "dataproc_go_gapic_test", - srcs = [":dataproc_go_gapic_srcjar_test"], - embed = [":dataproc_go_gapic"], - importpath = "cloud.google.com/go/dataproc/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-dataproc-v1-go", deps = [ ":dataproc_go_gapic", + ":dataproc_go_gapic_srcjar-metadata.srcjar", + ":dataproc_go_gapic_srcjar-snippets.srcjar", ":dataproc_go_gapic_srcjar-test.srcjar", ":dataproc_go_proto", ], @@ -190,7 +203,6 @@ py_gapic_library( transport = "grpc+rest", deps = [ "//google/iam/v1:iam_policy_py_proto", - "//google/iam/v1:policy_py_proto", ], ) @@ -204,6 +216,7 @@ py_test( deps = [":dataproc_py_gapic"], ) +# Open Source Packages py_gapic_assembly_pkg( name = "dataproc-v1-py", deps = [ @@ -218,7 +231,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -227,22 +239,15 @@ php_proto_library( deps = [":dataproc_proto"], ) -php_grpc_library( - name = "dataproc_php_grpc", - srcs = [":dataproc_proto"], - deps = [":dataproc_php_proto"], -) - php_gapic_library( name = "dataproc_php_gapic", srcs = [":dataproc_proto_with_info"], - gapic_yaml = "dataproc_gapic.yaml", grpc_service_config = "dataproc_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "dataproc_v1.yaml", transport = "grpc+rest", deps = [ - ":dataproc_php_grpc", ":dataproc_php_proto", ], ) @@ -252,7 +257,6 @@ php_gapic_assembly_pkg( name = "google-cloud-dataproc-v1-php", deps = [ ":dataproc_php_gapic", - ":dataproc_php_grpc", ":dataproc_php_proto", ], ) @@ -314,17 +318,18 @@ ruby_cloud_gapic_library( name = "dataproc_ruby_gapic", srcs = [":dataproc_proto_with_info"], extra_protoc_parameters = [ - "ruby-cloud-gem-name=google-cloud-dataproc-v1", - "ruby-cloud-env-prefix=DATAPROC", - "ruby-cloud-product-url=https://cloud.google.com/dataproc", "ruby-cloud-api-id=dataproc.googleapis.com", "ruby-cloud-api-shortname=dataproc", + "ruby-cloud-env-prefix=DATAPROC", + "ruby-cloud-gem-name=google-cloud-dataproc-v1", + "ruby-cloud-product-url=https://cloud.google.com/dataproc", ], grpc_service_config = "dataproc_grpc_service_config.json", rest_numeric_enums = True, ruby_cloud_description = "Manages Hadoop-based clusters and jobs on Google Cloud Platform.", ruby_cloud_title = "Cloud Dataproc V1", service_yaml = "dataproc_v1.yaml", + transport = "grpc+rest", deps = [ ":dataproc_ruby_grpc", ":dataproc_ruby_proto", diff --git a/third_party/googleapis/google/cloud/dataproc/v1/autoscaling_policies.proto b/third_party/googleapis/google/cloud/dataproc/v1/autoscaling_policies.proto index 337ec6a64..123cd73e2 100644 --- a/third_party/googleapis/google/cloud/dataproc/v1/autoscaling_policies.proto +++ b/third_party/googleapis/google/cloud/dataproc/v1/autoscaling_policies.proto @@ -23,7 +23,7 @@ import "google/api/resource.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/empty.proto"; -option go_package = "cloud.google.com/go/dataproc/apiv1/dataprocpb;dataprocpb"; +option go_package = "cloud.google.com/go/dataproc/v2/apiv1/dataprocpb;dataprocpb"; option java_multiple_files = true; option java_outer_classname = "AutoscalingPoliciesProto"; option java_package = "com.google.cloud.dataproc.v1"; diff --git a/third_party/googleapis/google/cloud/dataproc/v1/batches.proto b/third_party/googleapis/google/cloud/dataproc/v1/batches.proto index cde1351c8..56d73f5c8 100644 --- a/third_party/googleapis/google/cloud/dataproc/v1/batches.proto +++ b/third_party/googleapis/google/cloud/dataproc/v1/batches.proto @@ -25,7 +25,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "cloud.google.com/go/dataproc/apiv1/dataprocpb;dataprocpb"; +option go_package = "cloud.google.com/go/dataproc/v2/apiv1/dataprocpb;dataprocpb"; option java_multiple_files = true; option java_outer_classname = "BatchesProto"; option java_package = "com.google.cloud.dataproc.v1"; diff --git a/third_party/googleapis/google/cloud/dataproc/v1/clusters.proto b/third_party/googleapis/google/cloud/dataproc/v1/clusters.proto index d1e46bd3d..885b58ea8 100644 --- a/third_party/googleapis/google/cloud/dataproc/v1/clusters.proto +++ b/third_party/googleapis/google/cloud/dataproc/v1/clusters.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,13 +20,17 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/cloud/dataproc/v1/operations.proto"; import "google/cloud/dataproc/v1/shared.proto"; import "google/longrunning/operations.proto"; import "google/protobuf/duration.proto"; +import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; +import "google/protobuf/wrappers.proto"; +import "google/type/interval.proto"; -option go_package = "cloud.google.com/go/dataproc/apiv1/dataprocpb;dataprocpb"; +option go_package = "cloud.google.com/go/dataproc/v2/apiv1/dataprocpb;dataprocpb"; option java_multiple_files = true; option java_outer_classname = "ClustersProto"; option java_package = "com.google.cloud.dataproc.v1"; @@ -489,10 +493,10 @@ message GceClusterConfig { // instances](https://cloud.google.com/compute/docs/label-or-tag-resources#tags)). repeated string tags = 4; - // The Compute Engine metadata entries to add to all instances (see + // Optional. The Compute Engine metadata entries to add to all instances (see // [Project and instance // metadata](https://cloud.google.com/compute/docs/storing-retrieving-metadata#project_and_instance_metadata)). - map metadata = 5; + map metadata = 5 [(google.api.field_behavior) = OPTIONAL]; // Optional. Reservation Affinity for consuming Zonal reservation. ReservationAffinity reservation_affinity = 11 @@ -600,6 +604,10 @@ message InstanceGroupConfig { repeated string instance_names = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. List of references to Compute Engine instances. + repeated InstanceReference instance_references = 11 + [(google.api.field_behavior) = OUTPUT_ONLY]; + // Optional. The Compute Engine image resource used for cluster instances. // // The URI can represent an image or image family. @@ -666,6 +674,59 @@ message InstanceGroupConfig { // See [Dataproc -> Minimum CPU // Platform](https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu). string min_cpu_platform = 9 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The minimum number of primary worker instances to create. + // If `min_num_instances` is set, cluster creation will succeed if + // the number of primary workers created is at least equal to the + // `min_num_instances` number. + // + // Example: Cluster creation request with `num_instances` = `5` and + // `min_num_instances` = `3`: + // + // * If 4 VMs are created and 1 instance fails, + // the failed VM is deleted. The cluster is + // resized to 4 instances and placed in a `RUNNING` state. + // * If 2 instances are created and 3 instances fail, + // the cluster in placed in an `ERROR` state. The failed VMs + // are not deleted. + int32 min_num_instances = 12 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Instance flexibility Policy allowing a mixture of VM shapes and + // provisioning models. + InstanceFlexibilityPolicy instance_flexibility_policy = 13 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Configuration to handle the startup of instances during cluster + // create and update process. + StartupConfig startup_config = 14 [(google.api.field_behavior) = OPTIONAL]; +} + +// Configuration to handle the startup of instances during cluster create and +// update process. +message StartupConfig { + // Optional. The config setting to enable cluster creation/ updation to be + // successful only after required_registration_fraction of instances are up + // and running. This configuration is applicable to only secondary workers for + // now. The cluster will fail if required_registration_fraction of instances + // are not available. This will include instance creation, agent registration, + // and service registration (if enabled). + optional double required_registration_fraction = 1 + [(google.api.field_behavior) = OPTIONAL]; +} + +// A reference to a Compute Engine instance. +message InstanceReference { + // The user-friendly name of the Compute Engine instance. + string instance_name = 1; + + // The unique identifier of the Compute Engine instance. + string instance_id = 2; + + // The public RSA key used for sharing data with this instance. + string public_key = 3; + + // The public ECIES key used for sharing data with this instance. + string public_ecies_key = 4; } // Specifies the resources used to actively manage an instance group. @@ -677,6 +738,48 @@ message ManagedGroupConfig { // Output only. The name of the Instance Group Manager for this group. string instance_group_manager_name = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The partial URI to the instance group manager for this group. + // E.g. projects/my-project/regions/us-central1/instanceGroupManagers/my-igm. + string instance_group_manager_uri = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// Instance flexibility Policy allowing a mixture of VM shapes and provisioning +// models. +message InstanceFlexibilityPolicy { + // Defines machines types and a rank to which the machines types belong. + message InstanceSelection { + // Optional. Full machine-type names, e.g. "n1-standard-16". + repeated string machine_types = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Preference of this instance selection. Lower number means + // higher preference. Dataproc will first try to create a VM based on the + // machine-type with priority rank and fallback to next rank based on + // availability. Machine types and instance selections with the same + // priority have the same preference. + int32 rank = 2 [(google.api.field_behavior) = OPTIONAL]; + } + + // Defines a mapping from machine types to the number of VMs that are created + // with each machine type. + message InstanceSelectionResult { + // Output only. Full machine-type names, e.g. "n1-standard-16". + optional string machine_type = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Number of VM provisioned with the machine_type. + optional int32 vm_count = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + } + + // Optional. List of instance selection options that the group will use when + // creating new VMs. + repeated InstanceSelection instance_selection_list = 2 + [(google.api.field_behavior) = OPTIONAL]; + + // Output only. A list of instance selection results in the group. + repeated InstanceSelectionResult instance_selection_results = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Specifies the type and number of accelerator cards attached to the instances @@ -759,12 +862,12 @@ message NodeGroup { pattern: "projects/{project}/regions/{region}/clusters/{cluster}/nodeGroups/{node_group}" }; - // Node group roles. + // Node pool roles. enum Role { // Required unspecified role. ROLE_UNSPECIFIED = 0; - // Job drivers run on the node group. + // Job drivers run on the node pool. DRIVER = 1; } @@ -844,6 +947,9 @@ message ClusterStatus { // The cluster is being started. It is not ready for use. STARTING = 8; + + // The cluster is being repaired. It is not ready for use. + REPAIRING = 10; } // The cluster substate. @@ -1075,16 +1181,16 @@ message ClusterMetrics { // Dataproc metric config. message DataprocMetricConfig { - // A source for the collection of Dataproc OSS metrics (see [available OSS + // A source for the collection of Dataproc custom metrics (see [Custom // metrics] - // (https://cloud.google.com//dataproc/docs/guides/monitoring#available_oss_metrics)). + // (https://cloud.google.com//dataproc/docs/guides/dataproc-metrics#custom_metrics)). enum MetricSource { // Required unspecified metric source. METRIC_SOURCE_UNSPECIFIED = 0; - // Default monitoring agent metrics. If this source is enabled, + // Monitoring agent metrics. If this source is enabled, // Dataproc enables the monitoring agent in Compute Engine, - // and collects default monitoring agent metrics, which are published + // and collects monitoring agent metrics, which are published // with an `agent.googleapis.com` prefix. MONITORING_AGENT_DEFAULTS = 1; @@ -1107,17 +1213,17 @@ message DataprocMetricConfig { HIVEMETASTORE = 7; } - // A Dataproc OSS metric. + // A Dataproc custom metric. message Metric { - // Required. Default metrics are collected unless `metricOverrides` are - // specified for the metric source (see [Available OSS metrics] - // (https://cloud.google.com/dataproc/docs/guides/monitoring#available_oss_metrics) + // Required. A standard set of metrics is collected unless `metricOverrides` + // are specified for the metric source (see [Custom metrics] + // (https://cloud.google.com/dataproc/docs/guides/dataproc-metrics#custom_metrics) // for more information). MetricSource metric_source = 1 [(google.api.field_behavior) = REQUIRED]; - // Optional. Specify one or more [available OSS metrics] - // (https://cloud.google.com/dataproc/docs/guides/monitoring#available_oss_metrics) - // to collect for the metric course (for the `SPARK` metric source, any + // Optional. Specify one or more [Custom metrics] + // (https://cloud.google.com/dataproc/docs/guides/dataproc-metrics#custom_metrics) + // to collect for the metric course (for the `SPARK` metric source (any // [Spark metric] // (https://spark.apache.org/docs/latest/monitoring.html#metrics) can be // specified). @@ -1137,13 +1243,13 @@ message DataprocMetricConfig { // // Notes: // - // * Only the specified overridden metrics will be collected for the + // * Only the specified overridden metrics are collected for the // metric source. For example, if one or more `spark:executive` metrics - // are listed as metric overrides, other `SPARK` metrics will not be - // collected. The collection of the default metrics for other OSS metric - // sources is unaffected. For example, if both `SPARK` andd `YARN` metric - // sources are enabled, and overrides are provided for Spark metrics only, - // all default YARN metrics will be collected. + // are listed as metric overrides, other `SPARK` metrics are not + // collected. The collection of the metrics for other enabled custom + // metric sources is unaffected. For example, if both `SPARK` andd `YARN` + // metric sources are enabled, and overrides are provided for Spark + // metrics only, all YARN metrics are collected. repeated string metric_overrides = 2 [(google.api.field_behavior) = OPTIONAL]; } @@ -1444,6 +1550,25 @@ message DiagnoseClusterRequest { // Required. The cluster name. string cluster_name = 2 [(google.api.field_behavior) = REQUIRED]; + + // Optional. The output Cloud Storage directory for the diagnostic + // tarball. If not specified, a task-specific directory in the cluster's + // staging bucket will be used. + string tarball_gcs_dir = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Time interval in which diagnosis should be carried out on the + // cluster. + google.type.Interval diagnosis_interval = 6 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Specifies a list of jobs on which diagnosis is to be performed. + // Format: projects/{project}/regions/{region}/jobs/{job} + repeated string jobs = 10 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Specifies a list of yarn applications on which diagnosis is to be + // performed. + repeated string yarn_application_ids = 11 + [(google.api.field_behavior) = OPTIONAL]; } // The location of diagnostic output. diff --git a/third_party/googleapis/google/cloud/dataproc/v1/dataproc_v1.yaml b/third_party/googleapis/google/cloud/dataproc/v1/dataproc_v1.yaml index e1da3ab29..72a826998 100644 --- a/third_party/googleapis/google/cloud/dataproc/v1/dataproc_v1.yaml +++ b/third_party/googleapis/google/cloud/dataproc/v1/dataproc_v1.yaml @@ -9,6 +9,8 @@ apis: - name: google.cloud.dataproc.v1.ClusterController - name: google.cloud.dataproc.v1.JobController - name: google.cloud.dataproc.v1.NodeGroupController +- name: google.cloud.dataproc.v1.SessionController +- name: google.cloud.dataproc.v1.SessionTemplateController - name: google.cloud.dataproc.v1.WorkflowTemplateService - name: google.iam.v1.IAMPolicy - name: google.longrunning.Operations @@ -19,6 +21,7 @@ types: - name: google.cloud.dataproc.v1.DiagnoseClusterResults - name: google.cloud.dataproc.v1.JobMetadata - name: google.cloud.dataproc.v1.NodeGroupOperationMetadata +- name: google.cloud.dataproc.v1.SessionOperationMetadata - name: google.cloud.dataproc.v1.WorkflowMetadata documentation: @@ -136,6 +139,14 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform + - selector: 'google.cloud.dataproc.v1.SessionController.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform + - selector: 'google.cloud.dataproc.v1.SessionTemplateController.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform - selector: 'google.cloud.dataproc.v1.WorkflowTemplateService.*' oauth: canonical_scopes: |- diff --git a/third_party/googleapis/google/cloud/dataproc/v1/jobs.proto b/third_party/googleapis/google/cloud/dataproc/v1/jobs.proto index 1c19ce66b..061cccc6c 100644 --- a/third_party/googleapis/google/cloud/dataproc/v1/jobs.proto +++ b/third_party/googleapis/google/cloud/dataproc/v1/jobs.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -24,7 +24,7 @@ import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "cloud.google.com/go/dataproc/apiv1/dataprocpb;dataprocpb"; +option go_package = "cloud.google.com/go/dataproc/v2/apiv1/dataprocpb;dataprocpb"; option java_multiple_files = true; option java_outer_classname = "JobsProto"; option java_package = "com.google.cloud.dataproc.v1"; @@ -143,7 +143,9 @@ message LoggingConfig { // The per-package log levels for the driver. This may include // "root" package name to configure rootLogger. // Examples: - // 'com.google = FATAL', 'root = INFO', 'org.apache = DEBUG' + // - 'com.google = FATAL' + // - 'root = INFO' + // - 'org.apache = DEBUG' map driver_log_levels = 2; } @@ -192,7 +194,7 @@ message HadoopJob { // Optional. A mapping of property names to values, used to configure Hadoop. // Properties that conflict with values set by the Dataproc API may be - // overwritten. Can include properties set in /etc/hadoop/conf/*-site and + // overwritten. Can include properties set in `/etc/hadoop/conf/*-site` and // classes in user code. map properties = 7 [(google.api.field_behavior) = OPTIONAL]; @@ -330,7 +332,7 @@ message HiveJob { // Optional. A mapping of property names and values, used to configure Hive. // Properties that conflict with values set by the Dataproc API may be - // overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, + // overwritten. Can include properties set in `/etc/hadoop/conf/*-site.xml`, // /etc/hive/conf/hive-site.xml, and classes in user code. map properties = 5 [(google.api.field_behavior) = OPTIONAL]; @@ -395,7 +397,7 @@ message PigJob { // Optional. A mapping of property names to values, used to configure Pig. // Properties that conflict with values set by the Dataproc API may be - // overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, + // overwritten. Can include properties set in `/etc/hadoop/conf/*-site.xml`, // /etc/pig/conf/pig.properties, and classes in user code. map properties = 5 [(google.api.field_behavior) = OPTIONAL]; diff --git a/third_party/googleapis/google/cloud/dataproc/v1/node_groups.proto b/third_party/googleapis/google/cloud/dataproc/v1/node_groups.proto index 0bd3ef30f..5a0509728 100644 --- a/third_party/googleapis/google/cloud/dataproc/v1/node_groups.proto +++ b/third_party/googleapis/google/cloud/dataproc/v1/node_groups.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -24,7 +24,7 @@ import "google/cloud/dataproc/v1/clusters.proto"; import "google/longrunning/operations.proto"; import "google/protobuf/duration.proto"; -option go_package = "cloud.google.com/go/dataproc/apiv1/dataprocpb;dataprocpb"; +option go_package = "cloud.google.com/go/dataproc/v2/apiv1/dataprocpb;dataprocpb"; option java_multiple_files = true; option java_outer_classname = "NodeGroupsProto"; option java_package = "com.google.cloud.dataproc.v1"; @@ -144,7 +144,7 @@ message ResizeNodeGroupRequest { // underscores (_), and hyphens (-). The maximum length is 40 characters. string request_id = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Timeout for graceful YARN decomissioning. [Graceful + // Optional. Timeout for graceful YARN decommissioning. [Graceful // decommissioning] // (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/scaling-clusters#graceful_decommissioning) // allows the removal of nodes from the Compute Engine node group diff --git a/third_party/googleapis/google/cloud/dataproc/v1/operations.proto b/third_party/googleapis/google/cloud/dataproc/v1/operations.proto index 57c913f7a..234847dba 100644 --- a/third_party/googleapis/google/cloud/dataproc/v1/operations.proto +++ b/third_party/googleapis/google/cloud/dataproc/v1/operations.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -19,7 +19,7 @@ package google.cloud.dataproc.v1; import "google/api/field_behavior.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "cloud.google.com/go/dataproc/apiv1/dataprocpb;dataprocpb"; +option go_package = "cloud.google.com/go/dataproc/v2/apiv1/dataprocpb;dataprocpb"; option java_multiple_files = true; option java_outer_classname = "OperationsProto"; option java_package = "com.google.cloud.dataproc.v1"; @@ -60,6 +60,48 @@ message BatchOperationMetadata { repeated string warnings = 9; } +// Metadata describing the Session operation. +message SessionOperationMetadata { + // Operation type for Session resources + enum SessionOperationType { + // Session operation type is unknown. + SESSION_OPERATION_TYPE_UNSPECIFIED = 0; + + // Create Session operation type. + CREATE = 1; + + // Terminate Session operation type. + TERMINATE = 2; + + // Delete Session operation type. + DELETE = 3; + } + + // Name of the session for the operation. + string session = 1; + + // Session UUID for the operation. + string session_uuid = 2; + + // The time when the operation was created. + google.protobuf.Timestamp create_time = 3; + + // The time when the operation was finished. + google.protobuf.Timestamp done_time = 4; + + // The operation type. + SessionOperationType operation_type = 6; + + // Short description of the operation. + string description = 7; + + // Labels associated with the operation. + map labels = 8; + + // Warnings encountered during operation execution. + repeated string warnings = 9; +} + // The status of the operation. message ClusterOperationStatus { // The operation state. diff --git a/third_party/googleapis/google/cloud/dataproc/v1/shared.proto b/third_party/googleapis/google/cloud/dataproc/v1/shared.proto index 72192bd40..f9316dab6 100644 --- a/third_party/googleapis/google/cloud/dataproc/v1/shared.proto +++ b/third_party/googleapis/google/cloud/dataproc/v1/shared.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "cloud.google.com/go/dataproc/apiv1/dataprocpb;dataprocpb"; +option go_package = "cloud.google.com/go/dataproc/v2/apiv1/dataprocpb;dataprocpb"; option java_multiple_files = true; option java_outer_classname = "SharedProto"; option java_package = "com.google.cloud.dataproc.v1"; @@ -46,6 +46,10 @@ message RuntimeConfig { // Optional. A mapping of property names to values, which are used to // configure workload execution. map properties = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Dependency repository configuration. + RepositoryConfig repository_config = 5 + [(google.api.field_behavior) = OPTIONAL]; } // Environment configuration for a workload. @@ -78,16 +82,33 @@ message ExecutionConfig { // Optional. The Cloud KMS key to use for encryption. string kms_key = 7 [(google.api.field_behavior) = OPTIONAL]; - // Optional. The duration after which the workload will be terminated. - // When the workload passes this ttl, it will be unconditionally killed - // without waiting for ongoing work to finish. - // Minimum value is 10 minutes; maximum value is 14 days (see JSON - // representation of + // Optional. Applies to sessions only. The duration to keep the session alive + // while it's idling. Exceeding this threshold causes the session to + // terminate. This field cannot be set on a batch workload. Minimum value is + // 10 minutes; maximum value is 14 days (see JSON representation of // [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)). - // If both ttl and idle_ttl are specified, the conditions are treated as - // and OR: the workload will be terminated when it has been idle for idle_ttl - // or when the ttl has passed, whichever comes first. - // If ttl is not specified for a session, it defaults to 24h. + // Defaults to 1 hour if not set. + // If both `ttl` and `idle_ttl` are specified for an interactive session, + // the conditions are treated as `OR` conditions: the workload will be + // terminated when it has been idle for `idle_ttl` or when `ttl` has been + // exceeded, whichever occurs first. + google.protobuf.Duration idle_ttl = 8 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The duration after which the workload will be terminated, + // specified as the JSON representation for + // [Duration](https://protobuf.dev/programming-guides/proto3/#json). + // When the workload exceeds this duration, it will be unconditionally + // terminated without waiting for ongoing work to finish. If `ttl` is not + // specified for a batch workload, the workload will be allowed to run until + // it exits naturally (or run forever without exiting). If `ttl` is not + // specified for an interactive session, it defaults to 24 hours. If `ttl` is + // not specified for a batch that uses 2.1+ runtime version, it defaults to 4 + // hours. Minimum value is 10 minutes; maximum value is 14 days. If both `ttl` + // and `idle_ttl` are specified (for an interactive session), the conditions + // are treated as `OR` conditions: the workload will be terminated when it has + // been idle for `idle_ttl` or when `ttl` has been exceeded, whichever occurs + // first. google.protobuf.Duration ttl = 9 [(google.api.field_behavior) = OPTIONAL]; // Optional. A Cloud Storage bucket used to stage workload dependencies, @@ -144,9 +165,17 @@ message RuntimeInfo { // Output only. A URI pointing to the location of the diagnostics tarball. string diagnostic_output_uri = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Approximate workload resource usage calculated after workload - // finishes (see [Dataproc Serverless pricing] + // Output only. Approximate workload resource usage, calculated when + // the workload completes (see [Dataproc Serverless pricing] // (https://cloud.google.com/dataproc-serverless/pricing)). + // + // **Note:** This metric calculation may change in the future, for + // example, to capture cumulative workload resource + // consumption during workload execution (see the + // [Dataproc Serverless release notes] + // (https://cloud.google.com/dataproc-serverless/docs/release-notes) + // for announcements, changes, fixes + // and other Dataproc developments). UsageMetrics approximate_usage = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -165,9 +194,17 @@ message UsageMetrics { // [Dataproc Serverless pricing] // (https://cloud.google.com/dataproc-serverless/pricing)). int64 shuffle_storage_gb_seconds = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Accelerator usage in (`milliAccelerator` x `seconds`) (see + // [Dataproc Serverless pricing] + // (https://cloud.google.com/dataproc-serverless/pricing)). + int64 milli_accelerator_seconds = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Accelerator type being used, if any + string accelerator_type = 4 [(google.api.field_behavior) = OPTIONAL]; } -// The usage snaphot represents the resources consumed by a workload at a +// The usage snapshot represents the resources consumed by a workload at a // specified time. message UsageSnapshot { // Optional. Milli (one-thousandth) Dataproc Compute Units (DCUs) (see @@ -179,6 +216,23 @@ message UsageSnapshot { // pricing] (https://cloud.google.com/dataproc-serverless/pricing)) int64 shuffle_storage_gb = 2 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Milli (one-thousandth) Dataproc Compute Units (DCUs) charged at + // premium tier (see [Dataproc Serverless pricing] + // (https://cloud.google.com/dataproc-serverless/pricing)). + int64 milli_dcu_premium = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Shuffle Storage in gigabytes (GB) charged at premium tier. (see + // [Dataproc Serverless pricing] + // (https://cloud.google.com/dataproc-serverless/pricing)) + int64 shuffle_storage_gb_premium = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Milli (one-thousandth) accelerator. (see [Dataproc + // Serverless pricing] (https://cloud.google.com/dataproc-serverless/pricing)) + int64 milli_accelerator = 6 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Accelerator type being used, if any + string accelerator_type = 7 [(google.api.field_behavior) = OPTIONAL]; + // Optional. The timestamp of the usage snapshot. google.protobuf.Timestamp snapshot_time = 3 [(google.api.field_behavior) = OPTIONAL]; @@ -410,16 +464,28 @@ message GkeNodePoolConfig { [(google.api.field_behavior) = OPTIONAL]; } +// Configuration for dependency repositories +message RepositoryConfig { + // Optional. Configuration for PyPi repository. + PyPiRepositoryConfig pypi_repository_config = 1 + [(google.api.field_behavior) = OPTIONAL]; +} + +// Configuration for PyPi repository +message PyPiRepositoryConfig { + // Optional. PyPi repository address + string pypi_repository = 1 [(google.api.field_behavior) = OPTIONAL]; +} + // Cluster components that can be activated. enum Component { // Unspecified component. Specifying this will cause Cluster creation to fail. COMPONENT_UNSPECIFIED = 0; // The Anaconda python distribution. The Anaconda component is not supported - // in the Dataproc - // 2.0 - // image. The 2.0 image is pre-installed with Miniconda. + // in the Dataproc [2.0 image] + // (/https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-release-2.0). + // The 2.0 image is pre-installed with Miniconda. ANACONDA = 5; // Docker diff --git a/third_party/googleapis/google/cloud/dataproc/v1/workflow_templates.proto b/third_party/googleapis/google/cloud/dataproc/v1/workflow_templates.proto index 0b81da02e..bb6a639a0 100644 --- a/third_party/googleapis/google/cloud/dataproc/v1/workflow_templates.proto +++ b/third_party/googleapis/google/cloud/dataproc/v1/workflow_templates.proto @@ -27,7 +27,7 @@ import "google/protobuf/duration.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "cloud.google.com/go/dataproc/apiv1/dataprocpb;dataprocpb"; +option go_package = "cloud.google.com/go/dataproc/v2/apiv1/dataprocpb;dataprocpb"; option java_multiple_files = true; option java_outer_classname = "WorkflowTemplatesProto"; option java_package = "com.google.cloud.dataproc.v1"; diff --git a/third_party/googleapis/google/cloud/dataqna/BUILD.bazel b/third_party/googleapis/google/cloud/dataqna/BUILD.bazel index fa1e01625..b4f3f4f6b 100644 --- a/third_party/googleapis/google/cloud/dataqna/BUILD.bazel +++ b/third_party/googleapis/google/cloud/dataqna/BUILD.bazel @@ -22,7 +22,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-dataqna", "ruby-cloud-env-prefix=BIGQUERY_DATAQNA", - "ruby-cloud-wrapper-of=v1alpha:0.0", + "ruby-cloud-wrapper-of=v1alpha:0.6", "ruby-cloud-path-override=data_qn_a=dataqna", "ruby-cloud-namespace-override=Dataqna=DataQnA", "ruby-cloud-api-id=dataqna.googleapis.com", diff --git a/third_party/googleapis/google/cloud/dataqna/v1alpha/BUILD.bazel b/third_party/googleapis/google/cloud/dataqna/v1alpha/BUILD.bazel index f9927f2ff..0f7ba440c 100644 --- a/third_party/googleapis/google/cloud/dataqna/v1alpha/BUILD.bazel +++ b/third_party/googleapis/google/cloud/dataqna/v1alpha/BUILD.bazel @@ -75,6 +75,7 @@ java_gapic_library( srcs = [":dataqna_proto_with_info"], grpc_service_config = "dataqna_grpc_service_config.json", rest_numeric_enums = False, + service_yaml = "dataqna_v1alpha.yaml", test_deps = [ ":dataqna_java_grpc", ], @@ -116,7 +117,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -145,18 +145,12 @@ go_gapic_library( ], ) -go_test( - name = "dataqna_go_gapic_test", - srcs = [":dataqna_go_gapic_srcjar_test"], - embed = [":dataqna_go_gapic"], - importpath = "cloud.google.com/go/dataqna/apiv1alpha", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-dataqna-v1alpha-go", deps = [ ":dataqna_go_gapic", + ":dataqna_go_gapic_srcjar-snippets.srcjar", ":dataqna_go_gapic_srcjar-test.srcjar", ":dataqna_go_proto", ], @@ -208,7 +202,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -217,12 +210,6 @@ php_proto_library( deps = [":dataqna_proto"], ) -php_grpc_library( - name = "dataqna_php_grpc", - srcs = [":dataqna_proto"], - deps = [":dataqna_php_proto"], -) - php_gapic_library( name = "dataqna_php_gapic", srcs = [":dataqna_proto_with_info"], @@ -230,10 +217,7 @@ php_gapic_library( rest_numeric_enums = False, service_yaml = "dataqna_v1alpha.yaml", transport = "grpc+rest", - deps = [ - ":dataqna_php_grpc", - ":dataqna_php_proto", - ], + deps = [":dataqna_php_proto"], ) # Open Source Packages @@ -241,7 +225,6 @@ php_gapic_assembly_pkg( name = "google-cloud-dataqna-v1alpha-php", deps = [ ":dataqna_php_gapic", - ":dataqna_php_grpc", ":dataqna_php_proto", ], ) diff --git a/third_party/googleapis/google/cloud/datastream/BUILD.bazel b/third_party/googleapis/google/cloud/datastream/BUILD.bazel index 12be00e08..81e8c9bc4 100644 --- a/third_party/googleapis/google/cloud/datastream/BUILD.bazel +++ b/third_party/googleapis/google/cloud/datastream/BUILD.bazel @@ -21,13 +21,14 @@ ruby_cloud_gapic_library( srcs = ["//google/cloud/datastream/v1:datastream_proto_with_info"], extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-datastream", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.9", "ruby-cloud-product-url=https://cloud.google.com/datastream/", "ruby-cloud-api-id=datastream.googleapis.com", "ruby-cloud-api-shortname=datastream", ], ruby_cloud_description = "Datastream is a serverless and easy-to-use change data capture (CDC) and replication service. It allows you to synchronize data across heterogeneous databases and applications reliably, and with minimal latency and downtime.", ruby_cloud_title = "Datastream", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/datastream/logging/v1/BUILD.bazel b/third_party/googleapis/google/cloud/datastream/logging/v1/BUILD.bazel index ea03972d7..da2f70c29 100644 --- a/third_party/googleapis/google/cloud/datastream/logging/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/datastream/logging/v1/BUILD.bazel @@ -89,7 +89,6 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -98,20 +97,9 @@ php_proto_library( deps = [":logging_proto"], ) -php_grpc_library( - name = "logging_php_grpc", - srcs = [":logging_proto"], - deps = [":logging_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/datastream/v1/BUILD.bazel b/third_party/googleapis/google/cloud/datastream/v1/BUILD.bazel index 40d2fb284..f10de6047 100644 --- a/third_party/googleapis/google/cloud/datastream/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/datastream/v1/BUILD.bazel @@ -121,7 +121,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -156,19 +155,13 @@ go_gapic_library( ], ) -go_test( - name = "datastream_go_gapic_test", - srcs = [":datastream_go_gapic_srcjar_test"], - embed = [":datastream_go_gapic"], - importpath = "cloud.google.com/go/datastream/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-datastream-v1-go", deps = [ ":datastream_go_gapic", ":datastream_go_gapic_srcjar-metadata.srcjar", + ":datastream_go_gapic_srcjar-snippets.srcjar", ":datastream_go_gapic_srcjar-test.srcjar", ":datastream_go_proto", ], @@ -221,7 +214,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -230,23 +222,15 @@ php_proto_library( deps = [":datastream_proto"], ) -php_grpc_library( - name = "datastream_php_grpc", - srcs = [":datastream_proto"], - deps = [":datastream_php_proto"], -) - php_gapic_library( name = "datastream_php_gapic", srcs = [":datastream_proto_with_info"], grpc_service_config = "datastream_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "datastream_v1.yaml", transport = "grpc+rest", - deps = [ - ":datastream_php_grpc", - ":datastream_php_proto", - ], + deps = [":datastream_php_proto"], ) # Open Source Packages @@ -254,7 +238,6 @@ php_gapic_assembly_pkg( name = "google-cloud-datastream-v1-php", deps = [ ":datastream_php_gapic", - ":datastream_php_grpc", ":datastream_php_proto", ], ) @@ -325,6 +308,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Datastream is a serverless and easy-to-use change data capture (CDC) and replication service. It allows you to synchronize data across heterogeneous databases and applications reliably, and with minimal latency and downtime.", ruby_cloud_title = "Datastream V1", service_yaml = "datastream_v1.yaml", + transport = "grpc+rest", deps = [ ":datastream_ruby_grpc", ":datastream_ruby_proto", diff --git a/third_party/googleapis/google/cloud/datastream/v1/datastream.proto b/third_party/googleapis/google/cloud/datastream/v1/datastream.proto index cd9770794..bf0b13f5e 100644 --- a/third_party/googleapis/google/cloud/datastream/v1/datastream.proto +++ b/third_party/googleapis/google/cloud/datastream/v1/datastream.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -22,6 +22,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/datastream/v1/datastream_resources.proto"; import "google/longrunning/operations.proto"; +import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; @@ -36,11 +37,13 @@ option ruby_package = "Google::Cloud::Datastream::V1"; // Datastream service service Datastream { option (google.api.default_host) = "datastream.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Use this method to list connection profiles created in a project and // location. - rpc ListConnectionProfiles(ListConnectionProfilesRequest) returns (ListConnectionProfilesResponse) { + rpc ListConnectionProfiles(ListConnectionProfilesRequest) + returns (ListConnectionProfilesResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/connectionProfiles" }; @@ -48,7 +51,8 @@ service Datastream { } // Use this method to get details about a connection profile. - rpc GetConnectionProfile(GetConnectionProfileRequest) returns (ConnectionProfile) { + rpc GetConnectionProfile(GetConnectionProfileRequest) + returns (ConnectionProfile) { option (google.api.http) = { get: "/v1/{name=projects/*/locations/*/connectionProfiles/*}" }; @@ -56,12 +60,14 @@ service Datastream { } // Use this method to create a connection profile in a project and location. - rpc CreateConnectionProfile(CreateConnectionProfileRequest) returns (google.longrunning.Operation) { + rpc CreateConnectionProfile(CreateConnectionProfileRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/connectionProfiles" body: "connection_profile" }; - option (google.api.method_signature) = "parent,connection_profile,connection_profile_id"; + option (google.api.method_signature) = + "parent,connection_profile,connection_profile_id"; option (google.longrunning.operation_info) = { response_type: "ConnectionProfile" metadata_type: "OperationMetadata" @@ -69,7 +75,8 @@ service Datastream { } // Use this method to update the parameters of a connection profile. - rpc UpdateConnectionProfile(UpdateConnectionProfileRequest) returns (google.longrunning.Operation) { + rpc UpdateConnectionProfile(UpdateConnectionProfileRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v1/{connection_profile.name=projects/*/locations/*/connectionProfiles/*}" body: "connection_profile" @@ -82,7 +89,8 @@ service Datastream { } // Use this method to delete a connection profile. - rpc DeleteConnectionProfile(DeleteConnectionProfileRequest) returns (google.longrunning.Operation) { + rpc DeleteConnectionProfile(DeleteConnectionProfileRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/connectionProfiles/*}" }; @@ -97,7 +105,8 @@ service Datastream { // The discover API call exposes the data objects and metadata belonging to // the profile. Typically, a request returns children data objects of a // parent data object that's optionally supplied in the request. - rpc DiscoverConnectionProfile(DiscoverConnectionProfileRequest) returns (DiscoverConnectionProfileResponse) { + rpc DiscoverConnectionProfile(DiscoverConnectionProfileRequest) + returns (DiscoverConnectionProfileResponse) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/connectionProfiles:discover" body: "*" @@ -175,7 +184,8 @@ service Datastream { } // Use this method to list the objects of a specific stream. - rpc ListStreamObjects(ListStreamObjectsRequest) returns (ListStreamObjectsResponse) { + rpc ListStreamObjects(ListStreamObjectsRequest) + returns (ListStreamObjectsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*/streams/*}/objects" }; @@ -183,7 +193,8 @@ service Datastream { } // Use this method to start a backfill job for the specified stream object. - rpc StartBackfillJob(StartBackfillJobRequest) returns (StartBackfillJobResponse) { + rpc StartBackfillJob(StartBackfillJobRequest) + returns (StartBackfillJobResponse) { option (google.api.http) = { post: "/v1/{object=projects/*/locations/*/streams/*/objects/*}:startBackfillJob" body: "*" @@ -192,7 +203,8 @@ service Datastream { } // Use this method to stop a backfill job for the specified stream object. - rpc StopBackfillJob(StopBackfillJobRequest) returns (StopBackfillJobResponse) { + rpc StopBackfillJob(StopBackfillJobRequest) + returns (StopBackfillJobResponse) { option (google.api.http) = { post: "/v1/{object=projects/*/locations/*/streams/*/objects/*}:stopBackfillJob" body: "*" @@ -210,12 +222,14 @@ service Datastream { } // Use this method to create a private connectivity configuration. - rpc CreatePrivateConnection(CreatePrivateConnectionRequest) returns (google.longrunning.Operation) { + rpc CreatePrivateConnection(CreatePrivateConnectionRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/privateConnections" body: "private_connection" }; - option (google.api.method_signature) = "parent,private_connection,private_connection_id"; + option (google.api.method_signature) = + "parent,private_connection,private_connection_id"; option (google.longrunning.operation_info) = { response_type: "PrivateConnection" metadata_type: "OperationMetadata" @@ -223,7 +237,8 @@ service Datastream { } // Use this method to get details about a private connectivity configuration. - rpc GetPrivateConnection(GetPrivateConnectionRequest) returns (PrivateConnection) { + rpc GetPrivateConnection(GetPrivateConnectionRequest) + returns (PrivateConnection) { option (google.api.http) = { get: "/v1/{name=projects/*/locations/*/privateConnections/*}" }; @@ -232,7 +247,8 @@ service Datastream { // Use this method to list private connectivity configurations in a project // and location. - rpc ListPrivateConnections(ListPrivateConnectionsRequest) returns (ListPrivateConnectionsResponse) { + rpc ListPrivateConnections(ListPrivateConnectionsRequest) + returns (ListPrivateConnectionsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/privateConnections" }; @@ -240,7 +256,8 @@ service Datastream { } // Use this method to delete a private connectivity configuration. - rpc DeletePrivateConnection(DeletePrivateConnectionRequest) returns (google.longrunning.Operation) { + rpc DeletePrivateConnection(DeletePrivateConnectionRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/privateConnections/*}" }; @@ -297,8 +314,8 @@ service Datastream { // Request message for 'discover' ConnectionProfile request. message DiscoverConnectionProfileRequest { - // Required. The parent resource of the connection profile type. Must be in the - // format `projects/*/locations/*`. + // Required. The parent resource of the connection profile type. Must be in + // the format `projects/*/locations/*`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -355,8 +372,8 @@ message DiscoverConnectionProfileResponse { // Request message for 'FetchStaticIps' request. message FetchStaticIpsRequest { - // Required. The resource name for the location for which static IPs should be returned. - // Must be in the format `projects/*/locations/*`. + // Required. The resource name for the location for which static IPs should be + // returned. Must be in the format `projects/*/locations/*`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -449,7 +466,8 @@ message CreateConnectionProfileRequest { string connection_profile_id = 2 [(google.api.field_behavior) = REQUIRED]; // Required. The connection profile resource to create. - ConnectionProfile connection_profile = 3 [(google.api.field_behavior) = REQUIRED]; + ConnectionProfile connection_profile = 3 + [(google.api.field_behavior) = REQUIRED]; // Optional. A request ID to identify requests. Specify a unique request ID // so that if you must retry your request, the server will know to ignore @@ -466,8 +484,8 @@ message CreateConnectionProfileRequest { // not supported (00000000-0000-0000-0000-000000000000). string request_id = 4 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Only validate the connection profile, but don't create any resources. - // The default is false. + // Optional. Only validate the connection profile, but don't create any + // resources. The default is false. bool validate_only = 5 [(google.api.field_behavior) = OPTIONAL]; // Optional. Create the connection profile without validating it. @@ -481,10 +499,12 @@ message UpdateConnectionProfileRequest { // The fields specified in the update_mask are relative to the resource, not // the full request. A field will be overwritten if it is in the mask. If the // user does not provide a mask then all fields will be overwritten. - google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = OPTIONAL]; // Required. The connection profile to update. - ConnectionProfile connection_profile = 2 [(google.api.field_behavior) = REQUIRED]; + ConnectionProfile connection_profile = 2 + [(google.api.field_behavior) = REQUIRED]; // Optional. A request ID to identify requests. Specify a unique request ID // so that if you must retry your request, the server will know to ignore @@ -501,8 +521,8 @@ message UpdateConnectionProfileRequest { // not supported (00000000-0000-0000-0000-000000000000). string request_id = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Only validate the connection profile, but don't update any resources. - // The default is false. + // Optional. Only validate the connection profile, but don't update any + // resources. The default is false. bool validate_only = 4 [(google.api.field_behavior) = OPTIONAL]; // Optional. Update the connection profile without validating it. @@ -634,7 +654,8 @@ message UpdateStreamRequest { // The fields specified in the update_mask are relative to the resource, not // the full request. A field will be overwritten if it is in the mask. If the // user does not provide a mask then all fields will be overwritten. - google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = OPTIONAL]; // Required. The stream resource to update. Stream stream = 2 [(google.api.field_behavior) = REQUIRED]; @@ -654,8 +675,8 @@ message UpdateStreamRequest { // not supported (00000000-0000-0000-0000-000000000000). string request_id = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Only validate the stream with the changes, without actually updating it. - // The default is false. + // Optional. Only validate the stream with the changes, without actually + // updating it. The default is false. bool validate_only = 4 [(google.api.field_behavior) = OPTIONAL]; // Optional. Update the stream without validating it. @@ -711,12 +732,14 @@ message LookupStreamObjectRequest { ]; // Required. The source object identifier which maps to the stream object. - SourceObjectIdentifier source_object_identifier = 2 [(google.api.field_behavior) = REQUIRED]; + SourceObjectIdentifier source_object_identifier = 2 + [(google.api.field_behavior) = REQUIRED]; } // Request for manually initiating a backfill job for a specific stream object. message StartBackfillJobRequest { - // Required. The name of the stream object resource to start a backfill job for. + // Required. The name of the stream object resource to start a backfill job + // for. string object = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -734,7 +757,8 @@ message StartBackfillJobResponse { // Request for manually stopping a running backfill job for a specific stream // object. message StopBackfillJobRequest { - // Required. The name of the stream object resource to stop the backfill job for. + // Required. The name of the stream object resource to stop the backfill job + // for. string object = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -784,10 +808,12 @@ message ListStreamObjectsResponse { // Represents the metadata of the long-running operation. message OperationMetadata { // Output only. The time the operation was created. - google.protobuf.Timestamp create_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time the operation finished running. - google.protobuf.Timestamp end_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp end_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Server-defined resource path for the target of the operation. string target = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -800,15 +826,17 @@ message OperationMetadata { // Output only. Identifies whether the user has requested cancellation // of the operation. Operations that have successfully been cancelled - // have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, - // corresponding to `Code.CANCELLED`. + // have [Operation.error][] value with a + // [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to + // `Code.CANCELLED`. bool requested_cancellation = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. API version used to start the operation. string api_version = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Results of executed validations if there are any. - ValidationResult validation_result = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + ValidationResult validation_result = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Request for creating a private connection. @@ -825,7 +853,8 @@ message CreatePrivateConnectionRequest { string private_connection_id = 2 [(google.api.field_behavior) = REQUIRED]; // Required. The Private Connectivity resource to create. - PrivateConnection private_connection = 3 [(google.api.field_behavior) = REQUIRED]; + PrivateConnection private_connection = 3 + [(google.api.field_behavior) = REQUIRED]; // Optional. A request ID to identify requests. Specify a unique request ID // so that if you must retry your request, the server will know to ignore @@ -841,11 +870,15 @@ message CreatePrivateConnectionRequest { // The request ID must be a valid UUID with the exception that zero UUID is // not supported (00000000-0000-0000-0000-000000000000). string request_id = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If set to true, will skip validations. + bool force = 6 [(google.api.field_behavior) = OPTIONAL]; } // Request for listing private connections. message ListPrivateConnectionsRequest { - // Required. The parent that owns the collection of private connectivity configurations. + // Required. The parent that owns the collection of private connectivity + // configurations. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -912,8 +945,8 @@ message DeletePrivateConnectionRequest { // not supported (00000000-0000-0000-0000-000000000000). string request_id = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. If set to true, any child routes that belong to this PrivateConnection will - // also be deleted. + // Optional. If set to true, any child routes that belong to this + // PrivateConnection will also be deleted. bool force = 3 [(google.api.field_behavior) = OPTIONAL]; } diff --git a/third_party/googleapis/google/cloud/datastream/v1/datastream_resources.proto b/third_party/googleapis/google/cloud/datastream/v1/datastream_resources.proto index 80a8deeae..89fa1af88 100644 --- a/third_party/googleapis/google/cloud/datastream/v1/datastream_resources.proto +++ b/third_party/googleapis/google/cloud/datastream/v1/datastream_resources.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -103,14 +103,12 @@ message GcsProfile { } // BigQuery warehouse profile. -message BigQueryProfile { +message BigQueryProfile {} -} - -// Static IP address connectivity. -message StaticServiceIpConnectivity { - -} +// Static IP address connectivity. Used when the source database is configured +// to allow incoming connections from the Datastream public IP addresses +// for the region specified in the connection profile. +message StaticServiceIpConnectivity {} // Forward SSH Tunnel connectivity. message ForwardSshTunnelConnectivity { @@ -181,10 +179,12 @@ message PrivateConnection { string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The create time of the resource. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The update time of the resource. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Labels. map labels = 4; @@ -195,7 +195,8 @@ message PrivateConnection { // Output only. The state of the Private Connection. State state = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. In case of error, the details of the error in a user-friendly format. + // Output only. In case of error, the details of the error in a user-friendly + // format. Error error = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; // VPC Peering Config. @@ -226,10 +227,12 @@ message Route { string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The create time of the resource. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The update time of the resource. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Labels. map labels = 4; @@ -262,8 +265,8 @@ message MysqlSslConfig { // Output only. Indicates whether the client_certificate field is set. bool client_certificate_set = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Input only. PEM-encoded certificate of the CA that signed the source database - // server's certificate. + // Input only. PEM-encoded certificate of the CA that signed the source + // database server's certificate. string ca_certificate = 5 [(google.api.field_behavior) = INPUT_ONLY]; // Output only. Indicates whether the ca_certificate field is set. @@ -282,10 +285,12 @@ message ConnectionProfile { string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The create time of the resource. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The update time of the resource. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Labels. map labels = 4; @@ -383,14 +388,10 @@ message OracleRdbms { // Oracle data source configuration message OracleSourceConfig { // Configuration to drop large object values. - message DropLargeObjects { - - } + message DropLargeObjects {} // Configuration to stream large object values. - message StreamLargeObjects { - - } + message StreamLargeObjects {} // Oracle objects to include in the stream. OracleRdbms include_objects = 1; @@ -398,16 +399,20 @@ message OracleSourceConfig { // Oracle objects to exclude from the stream. OracleRdbms exclude_objects = 2; - // Maximum number of concurrent CDC tasks. The number should be non negative. - // If not set (or set to 0), the system's default value will be used. + // Maximum number of concurrent CDC tasks. The number should be non-negative. + // If not set (or set to 0), the system's default value is used. int32 max_concurrent_cdc_tasks = 3; + // Maximum number of concurrent backfill tasks. The number should be + // non-negative. If not set (or set to 0), the system's default value is used. + int32 max_concurrent_backfill_tasks = 4; + // The configuration for handle Oracle large objects. oneof large_objects_handling { // Drop large object values. DropLargeObjects drop_large_objects = 100; - // Stream large object values. + // Stream large object values. NOTE: This feature is currently experimental. StreamLargeObjects stream_large_objects = 102; } } @@ -473,13 +478,21 @@ message PostgresqlSourceConfig { // PostgreSQL objects to exclude from the stream. PostgresqlRdbms exclude_objects = 2; - // Required. The name of the logical replication slot that's configured with the - // pgoutput plugin. - string replication_slot = 3 [(google.api.field_behavior) = REQUIRED]; + // Required. Immutable. The name of the logical replication slot that's + // configured with the pgoutput plugin. + string replication_slot = 3 [ + (google.api.field_behavior) = REQUIRED, + (google.api.field_behavior) = IMMUTABLE + ]; - // Required. The name of the publication that includes the set of all tables that are - // defined in the stream's include_objects. + // Required. The name of the publication that includes the set of all tables + // that are defined in the stream's include_objects. string publication = 4 [(google.api.field_behavior) = REQUIRED]; + + // Maximum number of concurrent backfill tasks. The number should be non + // negative. If not set (or set to 0), the system's default value will be + // used. + int32 max_concurrent_backfill_tasks = 5; } // MySQL Column. @@ -505,6 +518,12 @@ message MysqlColumn { // The ordinal position of the column in the table. int32 ordinal_position = 7; + + // Column precision. + int32 precision = 8; + + // Column scale. + int32 scale = 9; } // MySQL table. @@ -544,6 +563,11 @@ message MysqlSourceConfig { // Maximum number of concurrent CDC tasks. The number should be non negative. // If not set (or set to 0), the system's default value will be used. int32 max_concurrent_cdc_tasks = 3; + + // Maximum number of concurrent backfill tasks. The number should be non + // negative. If not set (or set to 0), the system's default value will be + // used. + int32 max_concurrent_backfill_tasks = 4; } // The configuration of the stream source. @@ -571,9 +595,7 @@ message SourceConfig { } // AVRO file format configuration. -message AvroFileFormat { - -} +message AvroFileFormat {} // JSON file format configuration. message JsonFileFormat { @@ -617,7 +639,8 @@ message GcsDestinationConfig { int32 file_rotation_mb = 2; // The maximum duration for which new events are added before a file is - // closed and a new file is created. + // closed and a new file is created. Values within the range of 15-60 seconds + // are allowed. google.protobuf.Duration file_rotation_interval = 3; // File Format that the data should be written in. @@ -630,9 +653,11 @@ message GcsDestinationConfig { } } +// BigQuery destination configuration message BigQueryDestinationConfig { // A single target dataset to which all data will be streamed. message SingleTargetDataset { + // The dataset ID of the target dataset. string dataset_id = 1; } @@ -661,6 +686,7 @@ message BigQueryDestinationConfig { string kms_key_name = 3; } + // The dataset template to use for dynamic dataset creation. DatasetTemplate dataset_template = 2; } @@ -759,18 +785,18 @@ message Stream { } // Backfill strategy to disable automatic backfill for the Stream's objects. - message BackfillNoneStrategy { - - } + message BackfillNoneStrategy {} // Output only. The stream's name. string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The creation time of the stream. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The last update time of the stream. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Labels. map labels = 4; @@ -782,7 +808,8 @@ message Stream { SourceConfig source_config = 6 [(google.api.field_behavior) = REQUIRED]; // Required. Destination connection profile configuration. - DestinationConfig destination_config = 7 [(google.api.field_behavior) = REQUIRED]; + DestinationConfig destination_config = 7 + [(google.api.field_behavior) = REQUIRED]; // The state of the stream. State state = 8; @@ -804,7 +831,8 @@ message Stream { // If provided, it will be used to encrypt the data. // If left blank, data will be encrypted using an internal Stream-specific // encryption key provisioned through KMS. - optional string customer_managed_encryption_key = 10 [(google.api.field_behavior) = IMMUTABLE]; + optional string customer_managed_encryption_key = 10 + [(google.api.field_behavior) = IMMUTABLE]; } // A specific stream object (e.g a specific DB table). @@ -818,10 +846,12 @@ message StreamObject { string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The creation time of the object. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The last update time of the object. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Required. Display name. string display_name = 5 [(google.api.field_behavior) = REQUIRED]; @@ -930,10 +960,12 @@ message BackfillJob { Trigger trigger = 2; // Output only. Backfill job's start time. - google.protobuf.Timestamp last_start_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp last_start_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Backfill job's end time. - google.protobuf.Timestamp last_end_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp last_end_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Errors which caused the backfill job to fail. repeated Error errors = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/third_party/googleapis/google/cloud/datastream/v1alpha1/BUILD.bazel b/third_party/googleapis/google/cloud/datastream/v1alpha1/BUILD.bazel index 63e398b09..830aa7b71 100644 --- a/third_party/googleapis/google/cloud/datastream/v1alpha1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/datastream/v1alpha1/BUILD.bazel @@ -73,12 +73,14 @@ java_gapic_library( srcs = [":datastream_proto_with_info"], grpc_service_config = "datastream_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "datastream_v1alpha1.yaml", test_deps = [ ":datastream_java_grpc", ], transport = "grpc+rest", deps = [ ":datastream_java_proto", + "//google/api:api_java_proto", ], ) @@ -112,7 +114,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -145,19 +146,13 @@ go_gapic_library( ], ) -go_test( - name = "datastream_go_gapic_test", - srcs = [":datastream_go_gapic_srcjar_test"], - embed = [":datastream_go_gapic"], - importpath = "cloud.google.com/go/datastream/apiv1alpha1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-datastream-v1alpha1-go", deps = [ ":datastream_go_gapic", ":datastream_go_gapic_srcjar-metadata.srcjar", + ":datastream_go_gapic_srcjar-snippets.srcjar", ":datastream_go_gapic_srcjar-test.srcjar", ":datastream_go_proto", ], @@ -207,7 +202,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -216,12 +210,6 @@ php_proto_library( deps = [":datastream_proto"], ) -php_grpc_library( - name = "datastream_php_grpc", - srcs = [":datastream_proto"], - deps = [":datastream_php_proto"], -) - php_gapic_library( name = "datastream_php_gapic", srcs = [":datastream_proto_with_info"], @@ -229,10 +217,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "datastream_v1alpha1.yaml", transport = "grpc+rest", - deps = [ - ":datastream_php_grpc", - ":datastream_php_proto", - ], + deps = [":datastream_php_proto"], ) # Open Source Packages @@ -240,7 +225,6 @@ php_gapic_assembly_pkg( name = "google-cloud-datastream-v1alpha1-php", deps = [ ":datastream_php_gapic", - ":datastream_php_grpc", ":datastream_php_proto", ], ) @@ -311,6 +295,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Datastream is a serverless and easy-to-use change data capture (CDC) and replication service. It allows you to synchronize data across heterogeneous databases and applications reliably, and with minimal latency and downtime.", ruby_cloud_title = "Datastream V1alpha1", service_yaml = "datastream_v1alpha1.yaml", + transport = "grpc+rest", deps = [ ":datastream_ruby_grpc", ":datastream_ruby_proto", diff --git a/third_party/googleapis/google/cloud/deploy/BUILD.bazel b/third_party/googleapis/google/cloud/deploy/BUILD.bazel index 74a55988d..03031208f 100644 --- a/third_party/googleapis/google/cloud/deploy/BUILD.bazel +++ b/third_party/googleapis/google/cloud/deploy/BUILD.bazel @@ -21,13 +21,14 @@ ruby_cloud_gapic_library( srcs = ["//google/cloud/deploy/v1:deploy_proto_with_info"], extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-deploy", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.17", "ruby-cloud-product-url=https://cloud.google.com/deploy/", "ruby-cloud-api-id=clouddeploy.googleapis.com", "ruby-cloud-api-shortname=clouddeploy", ], ruby_cloud_description = "Google Cloud Deploy is a managed service that automates delivery of your applications to a series of target environments in a defined promotion sequence.", ruby_cloud_title = "Google Cloud Deploy", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/deploy/v1/BUILD.bazel b/third_party/googleapis/google/cloud/deploy/v1/BUILD.bazel index 6944c3edd..391944119 100644 --- a/third_party/googleapis/google/cloud/deploy/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/deploy/v1/BUILD.bazel @@ -21,6 +21,8 @@ load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") proto_library( name = "deploy_proto", srcs = [ + "automation_payload.proto", + "automationrun_payload.proto", "cloud_deploy.proto", "deliverypipeline_notification_payload.proto", "jobrun_notification_payload.proto", @@ -28,6 +30,7 @@ proto_library( "release_notification_payload.proto", "release_render_payload.proto", "rollout_notification_payload.proto", + "rollout_update_payload.proto", "target_notification_payload.proto", ], deps = [ @@ -128,7 +131,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -164,19 +166,13 @@ go_gapic_library( ], ) -go_test( - name = "deploy_go_gapic_test", - srcs = [":deploy_go_gapic_srcjar_test"], - embed = [":deploy_go_gapic"], - importpath = "cloud.google.com/go/deploy/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-deploy-v1-go", deps = [ ":deploy_go_gapic", ":deploy_go_gapic_srcjar-metadata.srcjar", + ":deploy_go_gapic_srcjar-snippets.srcjar", ":deploy_go_gapic_srcjar-test.srcjar", ":deploy_go_proto", ], @@ -229,7 +225,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -238,21 +233,15 @@ php_proto_library( deps = [":deploy_proto"], ) -php_grpc_library( - name = "deploy_php_grpc", - srcs = [":deploy_proto"], - deps = [":deploy_php_proto"], -) - php_gapic_library( name = "deploy_php_gapic", srcs = [":deploy_proto_with_info"], grpc_service_config = "clouddeploy_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "clouddeploy_v1.yaml", transport = "grpc+rest", deps = [ - ":deploy_php_grpc", ":deploy_php_proto", ], ) @@ -262,7 +251,6 @@ php_gapic_assembly_pkg( name = "google-cloud-deploy-v1-php", deps = [ ":deploy_php_gapic", - ":deploy_php_grpc", ":deploy_php_proto", ], ) @@ -334,6 +322,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Google Cloud Deploy is a managed service that automates delivery of your applications to a series of target environments in a defined promotion sequence.", ruby_cloud_title = "Google Cloud Deploy V1", service_yaml = "clouddeploy_v1.yaml", + transport = "grpc+rest", deps = [ ":deploy_ruby_grpc", ":deploy_ruby_proto", @@ -363,6 +352,7 @@ load( csharp_proto_library( name = "deploy_csharp_proto", + extra_opts = [], deps = [":deploy_proto"], ) diff --git a/third_party/googleapis/google/cloud/deploy/v1/cloud_deploy.proto b/third_party/googleapis/google/cloud/deploy/v1/cloud_deploy.proto index cf8810dcd..04aa22f18 100644 --- a/third_party/googleapis/google/cloud/deploy/v1/cloud_deploy.proto +++ b/third_party/googleapis/google/cloud/deploy/v1/cloud_deploy.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -22,6 +22,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/longrunning/operations.proto"; import "google/protobuf/duration.proto"; +import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; import "google/type/date.proto"; @@ -50,15 +51,25 @@ option (google.api.resource_definition) = { type: "gkehub.googleapis.com/Membership" pattern: "projects/{project}/locations/{location}/memberships/{membership}" }; +option (google.api.resource_definition) = { + type: "run.googleapis.com/Service" + pattern: "projects/{project}/locations/{location}/services/{service}" +}; +option (google.api.resource_definition) = { + type: "run.googleapis.com/Job" + pattern: "projects/{project}/locations/{location}/jobs/{job}" +}; // CloudDeploy service creates and manages Continuous Delivery operations // on Google Cloud Platform via Skaffold (https://skaffold.dev). service CloudDeploy { option (google.api.default_host) = "clouddeploy.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Lists DeliveryPipelines in a given project and location. - rpc ListDeliveryPipelines(ListDeliveryPipelinesRequest) returns (ListDeliveryPipelinesResponse) { + rpc ListDeliveryPipelines(ListDeliveryPipelinesRequest) + returns (ListDeliveryPipelinesResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/deliveryPipelines" }; @@ -66,7 +77,8 @@ service CloudDeploy { } // Gets details of a single DeliveryPipeline. - rpc GetDeliveryPipeline(GetDeliveryPipelineRequest) returns (DeliveryPipeline) { + rpc GetDeliveryPipeline(GetDeliveryPipelineRequest) + returns (DeliveryPipeline) { option (google.api.http) = { get: "/v1/{name=projects/*/locations/*/deliveryPipelines/*}" }; @@ -74,12 +86,14 @@ service CloudDeploy { } // Creates a new DeliveryPipeline in a given project and location. - rpc CreateDeliveryPipeline(CreateDeliveryPipelineRequest) returns (google.longrunning.Operation) { + rpc CreateDeliveryPipeline(CreateDeliveryPipelineRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/deliveryPipelines" body: "delivery_pipeline" }; - option (google.api.method_signature) = "parent,delivery_pipeline,delivery_pipeline_id"; + option (google.api.method_signature) = + "parent,delivery_pipeline,delivery_pipeline_id"; option (google.longrunning.operation_info) = { response_type: "DeliveryPipeline" metadata_type: "OperationMetadata" @@ -87,7 +101,8 @@ service CloudDeploy { } // Updates the parameters of a single DeliveryPipeline. - rpc UpdateDeliveryPipeline(UpdateDeliveryPipelineRequest) returns (google.longrunning.Operation) { + rpc UpdateDeliveryPipeline(UpdateDeliveryPipelineRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v1/{delivery_pipeline.name=projects/*/locations/*/deliveryPipelines/*}" body: "delivery_pipeline" @@ -100,7 +115,8 @@ service CloudDeploy { } // Deletes a single DeliveryPipeline. - rpc DeleteDeliveryPipeline(DeleteDeliveryPipelineRequest) returns (google.longrunning.Operation) { + rpc DeleteDeliveryPipeline(DeleteDeliveryPipelineRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/deliveryPipelines/*}" }; @@ -119,6 +135,15 @@ service CloudDeploy { option (google.api.method_signature) = "parent"; } + // Creates a `Rollout` to roll back the specified target. + rpc RollbackTarget(RollbackTargetRequest) returns (RollbackTargetResponse) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/*/deliveryPipelines/*}:rollbackTarget" + body: "*" + }; + option (google.api.method_signature) = "name,target_id,rollout_id"; + } + // Gets details of a single Target. rpc GetTarget(GetTargetRequest) returns (Target) { option (google.api.http) = { @@ -165,6 +190,66 @@ service CloudDeploy { }; } + // Lists CustomTargetTypes in a given project and location. + rpc ListCustomTargetTypes(ListCustomTargetTypesRequest) + returns (ListCustomTargetTypesResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*}/customTargetTypes" + }; + option (google.api.method_signature) = "parent"; + } + + // Gets details of a single CustomTargetType. + rpc GetCustomTargetType(GetCustomTargetTypeRequest) + returns (CustomTargetType) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*/customTargetTypes/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Creates a new CustomTargetType in a given project and location. + rpc CreateCustomTargetType(CreateCustomTargetTypeRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*}/customTargetTypes" + body: "custom_target_type" + }; + option (google.api.method_signature) = + "parent,custom_target_type,custom_target_type_id"; + option (google.longrunning.operation_info) = { + response_type: "CustomTargetType" + metadata_type: "OperationMetadata" + }; + } + + // Updates a single CustomTargetType. + rpc UpdateCustomTargetType(UpdateCustomTargetTypeRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + patch: "/v1/{custom_target_type.name=projects/*/locations/*/customTargetTypes/*}" + body: "custom_target_type" + }; + option (google.api.method_signature) = "custom_target_type,update_mask"; + option (google.longrunning.operation_info) = { + response_type: "CustomTargetType" + metadata_type: "OperationMetadata" + }; + } + + // Deletes a single CustomTargetType. + rpc DeleteCustomTargetType(DeleteCustomTargetTypeRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + delete: "/v1/{name=projects/*/locations/*/customTargetTypes/*}" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "OperationMetadata" + }; + } + // Lists Releases in a given project and location. rpc ListReleases(ListReleasesRequest) returns (ListReleasesResponse) { option (google.api.http) = { @@ -182,7 +267,8 @@ service CloudDeploy { } // Creates a new Release in a given project and location. - rpc CreateRelease(CreateReleaseRequest) returns (google.longrunning.Operation) { + rpc CreateRelease(CreateReleaseRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*/deliveryPipelines/*}/releases" body: "release" @@ -212,6 +298,24 @@ service CloudDeploy { option (google.api.method_signature) = "name"; } + // Advances a Rollout in a given project and location. + rpc AdvanceRollout(AdvanceRolloutRequest) returns (AdvanceRolloutResponse) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/*/deliveryPipelines/*/releases/*/rollouts/*}:advance" + body: "*" + }; + option (google.api.method_signature) = "name,phase_id"; + } + + // Cancels a Rollout in a given project and location. + rpc CancelRollout(CancelRolloutRequest) returns (CancelRolloutResponse) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/*/deliveryPipelines/*/releases/*/rollouts/*}:cancel" + body: "*" + }; + option (google.api.method_signature) = "name"; + } + // Lists Rollouts in a given project and location. rpc ListRollouts(ListRolloutsRequest) returns (ListRolloutsResponse) { option (google.api.http) = { @@ -229,7 +333,8 @@ service CloudDeploy { } // Creates a new Rollout in a given project and location. - rpc CreateRollout(CreateRolloutRequest) returns (google.longrunning.Operation) { + rpc CreateRollout(CreateRolloutRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*/deliveryPipelines/*/releases/*}/rollouts" body: "rollout" @@ -241,6 +346,15 @@ service CloudDeploy { }; } + // Ignores the specified Job in a Rollout. + rpc IgnoreJob(IgnoreJobRequest) returns (IgnoreJobResponse) { + option (google.api.http) = { + post: "/v1/{rollout=projects/*/locations/*/deliveryPipelines/*/releases/*/rollouts/*}:ignoreJob" + body: "*" + }; + option (google.api.method_signature) = "rollout,phase_id,job_id"; + } + // Retries the specified Job in a Rollout. rpc RetryJob(RetryJobRequest) returns (RetryJobResponse) { option (google.api.http) = { @@ -266,6 +380,16 @@ service CloudDeploy { option (google.api.method_signature) = "name"; } + // Terminates a Job Run in a given project and location. + rpc TerminateJobRun(TerminateJobRunRequest) + returns (TerminateJobRunResponse) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/*/deliveryPipelines/*/releases/*/rollouts/*/jobRuns/*}:terminate" + body: "*" + }; + option (google.api.method_signature) = "name"; + } + // Gets the configuration for a location. rpc GetConfig(GetConfigRequest) returns (Config) { option (google.api.http) = { @@ -273,9 +397,97 @@ service CloudDeploy { }; option (google.api.method_signature) = "name"; } + + // Creates a new Automation in a given project and location. + rpc CreateAutomation(CreateAutomationRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*/deliveryPipelines/*}/automations" + body: "automation" + }; + option (google.api.method_signature) = "parent,automation,automation_id"; + option (google.longrunning.operation_info) = { + response_type: "Automation" + metadata_type: "OperationMetadata" + }; + } + + // Updates the parameters of a single Automation resource. + rpc UpdateAutomation(UpdateAutomationRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + patch: "/v1/{automation.name=projects/*/locations/*/deliveryPipelines/*/automations/*}" + body: "automation" + }; + option (google.api.method_signature) = "automation,update_mask"; + option (google.longrunning.operation_info) = { + response_type: "Automation" + metadata_type: "OperationMetadata" + }; + } + + // Deletes a single Automation resource. + rpc DeleteAutomation(DeleteAutomationRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + delete: "/v1/{name=projects/*/locations/*/deliveryPipelines/*/automations/*}" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "OperationMetadata" + }; + } + + // Gets details of a single Automation. + rpc GetAutomation(GetAutomationRequest) returns (Automation) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*/deliveryPipelines/*/automations/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Lists Automations in a given project and location. + rpc ListAutomations(ListAutomationsRequest) + returns (ListAutomationsResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*/deliveryPipelines/*}/automations" + }; + option (google.api.method_signature) = "parent"; + } + + // Gets details of a single AutomationRun. + rpc GetAutomationRun(GetAutomationRunRequest) returns (AutomationRun) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*/deliveryPipelines/*/automationRuns/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Lists AutomationRuns in a given project and location. + rpc ListAutomationRuns(ListAutomationRunsRequest) + returns (ListAutomationRunsResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*/deliveryPipelines/*}/automationRuns" + }; + option (google.api.method_signature) = "parent"; + } + + // Cancels an AutomationRun. The `state` of the `AutomationRun` after + // cancelling is `CANCELLED`. `CancelAutomationRun` can be called on + // AutomationRun in the state `IN_PROGRESS` and `PENDING`; AutomationRun + // in a different state returns an `FAILED_PRECONDITION` error. + rpc CancelAutomationRun(CancelAutomationRunRequest) + returns (CancelAutomationRunResponse) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/*/deliveryPipelines/*/automationRuns/*}:cancel" + body: "*" + }; + option (google.api.method_signature) = "name"; + } } -// A `DeliveryPipeline` resource in the Google Cloud Deploy API. +// A `DeliveryPipeline` resource in the Cloud Deploy API. // // A `DeliveryPipeline` defines a pipeline through which a Skaffold // configuration can progress. @@ -285,8 +497,8 @@ message DeliveryPipeline { pattern: "projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}" }; - // Optional. Name of the `DeliveryPipeline`. Format is projects/{project}/ - // locations/{location}/deliveryPipelines/[a-z][a-z0-9\-]{0,62}. + // Optional. Name of the `DeliveryPipeline`. Format is + // `projects/{project}/locations/{location}/deliveryPipelines/[a-z][a-z0-9\-]{0,62}`. string name = 1 [(google.api.field_behavior) = OPTIONAL]; // Output only. Unique identifier of the `DeliveryPipeline`. @@ -296,12 +508,11 @@ message DeliveryPipeline { string description = 3; // User annotations. These attributes can only be set and used by the - // user, and not by Google Cloud Deploy. + // user, and not by Cloud Deploy. map annotations = 4; // Labels are attributes that can be set and used by both the - // user and by Google Cloud Deploy. Labels must meet the following - // constraints: + // user and by Cloud Deploy. Labels must meet the following constraints: // // * Keys and values can contain only lowercase letters, numeric characters, // underscores, and dashes. @@ -314,10 +525,12 @@ message DeliveryPipeline { map labels = 5; // Output only. Time at which the pipeline was created. - google.protobuf.Timestamp create_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Most recent time at which the pipeline was updated. - google.protobuf.Timestamp update_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; // The ordering configuration of the `DeliveryPipeline`. oneof pipeline { @@ -362,6 +575,22 @@ message Stage { // Optional. The strategy to use for a `Rollout` to this stage. Strategy strategy = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The deploy parameters to use for the target in this stage. + repeated DeployParameters deploy_parameters = 6 + [(google.api.field_behavior) = OPTIONAL]; +} + +// DeployParameters contains deploy parameters information. +message DeployParameters { + // Required. Values are deploy parameters in key-value pairs. + map values = 1 [(google.api.field_behavior) = REQUIRED]; + + // Optional. Deploy parameters are applied to targets with match labels. + // If unspecified, deploy parameters are applied to all targets (including + // child targets of a multi-target). + map match_target_labels = 2 + [(google.api.field_behavior) = OPTIONAL]; } // Strategy contains deployment strategy information. @@ -371,13 +600,208 @@ message Strategy { // Standard deployment strategy executes a single deploy and allows // verifying the deployment. Standard standard = 1; + + // Canary deployment strategy provides progressive percentage based + // deployments to a Target. + Canary canary = 2; } } +// Predeploy contains the predeploy job configuration information. +message Predeploy { + // Optional. A sequence of Skaffold custom actions to invoke during execution + // of the predeploy job. + repeated string actions = 1 [(google.api.field_behavior) = OPTIONAL]; +} + +// Postdeploy contains the postdeploy job configuration information. +message Postdeploy { + // Optional. A sequence of Skaffold custom actions to invoke during execution + // of the postdeploy job. + repeated string actions = 1 [(google.api.field_behavior) = OPTIONAL]; +} + // Standard represents the standard deployment strategy. message Standard { // Whether to verify a deployment. bool verify = 1; + + // Optional. Configuration for the predeploy job. If this is not configured, + // predeploy job will not be present. + Predeploy predeploy = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Configuration for the postdeploy job. If this is not configured, + // postdeploy job will not be present. + Postdeploy postdeploy = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// Canary represents the canary deployment strategy. +message Canary { + // Optional. Runtime specific configurations for the deployment strategy. The + // runtime configuration is used to determine how Cloud Deploy will split + // traffic to enable a progressive deployment. + RuntimeConfig runtime_config = 1 [(google.api.field_behavior) = OPTIONAL]; + + // The mode to use for the canary deployment strategy. + oneof mode { + // Configures the progressive based deployment for a Target. + CanaryDeployment canary_deployment = 2; + + // Configures the progressive based deployment for a Target, but allows + // customizing at the phase level where a phase represents each of the + // percentage deployments. + CustomCanaryDeployment custom_canary_deployment = 3; + } +} + +// CanaryDeployment represents the canary deployment configuration +message CanaryDeployment { + // Required. The percentage based deployments that will occur as a part of a + // `Rollout`. List is expected in ascending order and each integer n is + // 0 <= n < 100. + repeated int32 percentages = 1 [(google.api.field_behavior) = REQUIRED]; + + // Whether to run verify tests after each percentage deployment. + bool verify = 2; + + // Optional. Configuration for the predeploy job of the first phase. If this + // is not configured, there will be no predeploy job for this phase. + Predeploy predeploy = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Configuration for the postdeploy job of the last phase. If this + // is not configured, there will be no postdeploy job for this phase. + Postdeploy postdeploy = 4 [(google.api.field_behavior) = OPTIONAL]; +} + +// CustomCanaryDeployment represents the custom canary deployment +// configuration. +message CustomCanaryDeployment { + // PhaseConfig represents the configuration for a phase in the custom + // canary deployment. + message PhaseConfig { + // Required. The ID to assign to the `Rollout` phase. + // This value must consist of lower-case letters, numbers, and hyphens, + // start with a letter and end with a letter or a number, and have a max + // length of 63 characters. In other words, it must match the following + // regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. + string phase_id = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. Percentage deployment for the phase. + int32 percentage = 2 [(google.api.field_behavior) = REQUIRED]; + + // Skaffold profiles to use when rendering the manifest for this phase. + // These are in addition to the profiles list specified in the + // `DeliveryPipeline` stage. + repeated string profiles = 3; + + // Whether to run verify tests after the deployment. + bool verify = 4; + + // Optional. Configuration for the predeploy job of this phase. If this is + // not configured, there will be no predeploy job for this phase. + Predeploy predeploy = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Configuration for the postdeploy job of this phase. If this is + // not configured, there will be no postdeploy job for this phase. + Postdeploy postdeploy = 6 [(google.api.field_behavior) = OPTIONAL]; + } + + // Required. Configuration for each phase in the canary deployment in the + // order executed. + repeated PhaseConfig phase_configs = 1 + [(google.api.field_behavior) = REQUIRED]; +} + +// KubernetesConfig contains the Kubernetes runtime configuration. +message KubernetesConfig { + // Information about the Kubernetes Gateway API service mesh configuration. + message GatewayServiceMesh { + // Required. Name of the Gateway API HTTPRoute. + string http_route = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. Name of the Kubernetes Service. + string service = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. Name of the Kubernetes Deployment whose traffic is managed by + // the specified HTTPRoute and Service. + string deployment = 3 [(google.api.field_behavior) = REQUIRED]; + + // Optional. The time to wait for route updates to propagate. The maximum + // configurable time is 3 hours, in seconds format. If unspecified, there is + // no wait time. + google.protobuf.Duration route_update_wait_time = 4 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The amount of time to migrate traffic back from the canary + // Service to the original Service during the stable phase deployment. If + // specified, must be between 15s and 3600s. If unspecified, there is no + // cutback time. + google.protobuf.Duration stable_cutback_duration = 5 + [(google.api.field_behavior) = OPTIONAL]; + } + + // Information about the Kubernetes Service networking configuration. + message ServiceNetworking { + // Required. Name of the Kubernetes Service. + string service = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. Name of the Kubernetes Deployment whose traffic is managed by + // the specified Service. + string deployment = 2 [(google.api.field_behavior) = REQUIRED]; + + // Optional. Whether to disable Pod overprovisioning. If Pod + // overprovisioning is disabled then Cloud Deploy will limit the number of + // total Pods used for the deployment strategy to the number of Pods the + // Deployment has on the cluster. + bool disable_pod_overprovisioning = 3 + [(google.api.field_behavior) = OPTIONAL]; + } + + // The service definition configuration. + oneof service_definition { + // Kubernetes Gateway API service mesh configuration. + GatewayServiceMesh gateway_service_mesh = 1; + + // Kubernetes Service networking configuration. + ServiceNetworking service_networking = 2; + } +} + +// CloudRunConfig contains the Cloud Run runtime configuration. +message CloudRunConfig { + // Whether Cloud Deploy should update the traffic stanza in a Cloud Run + // Service on the user's behalf to facilitate traffic splitting. This is + // required to be true for CanaryDeployments, but optional for + // CustomCanaryDeployments. + bool automatic_traffic_control = 1; + + // Optional. A list of tags that are added to the canary revision while the + // canary phase is in progress. + repeated string canary_revision_tags = 2 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. A list of tags that are added to the prior revision while the + // canary phase is in progress. + repeated string prior_revision_tags = 3 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. A list of tags that are added to the final stable revision when + // the stable phase is applied. + repeated string stable_revision_tags = 4 + [(google.api.field_behavior) = OPTIONAL]; +} + +// RuntimeConfig contains the runtime specific configurations for a deployment +// strategy. +message RuntimeConfig { + // The runtime configuration details. + oneof runtime_config { + // Kubernetes runtime configuration. + KubernetesConfig kubernetes = 1; + + // Cloud Run runtime configuration. + CloudRunConfig cloud_run = 2; + } } // PipelineReadyCondition contains information around the status of the @@ -393,35 +817,51 @@ message PipelineReadyCondition { google.protobuf.Timestamp update_time = 4; } -// TargetsPresentCondition contains information on any Targets defined in +// `TargetsPresentCondition` contains information on any Targets referenced in // the Delivery Pipeline that do not actually exist. message TargetsPresentCondition { // True if there aren't any missing Targets. bool status = 1; - // The list of Target names that are missing. For example, - // projects/{project_id}/locations/{location_name}/targets/{target_name}. + // The list of Target names that do not exist. For example, + // `projects/{project_id}/locations/{location_name}/targets/{target_name}`. repeated string missing_targets = 2 [(google.api.resource_reference) = { - type: "clouddeploy.googleapis.com/Target" - }]; + type: "clouddeploy.googleapis.com/Target" + }]; // Last time the condition was updated. google.protobuf.Timestamp update_time = 4; } +// TargetsTypeCondition contains information on whether the Targets defined in +// the Delivery Pipeline are of the same type. +message TargetsTypeCondition { + // True if the targets are all a comparable type. For example this is true if + // all targets are GKE clusters. This is false if some targets are Cloud Run + // targets and others are GKE clusters. + bool status = 1; + + // Human readable error message. + string error_details = 2; +} + // PipelineCondition contains all conditions relevant to a Delivery Pipeline. message PipelineCondition { // Details around the Pipeline's overall status. PipelineReadyCondition pipeline_ready_condition = 1; - // Detalis around targets enumerated in the pipeline. + // Details around targets enumerated in the pipeline. TargetsPresentCondition targets_present_condition = 3; + + // Details on the whether the targets enumerated in the pipeline are of the + // same type. + TargetsTypeCondition targets_type_condition = 4; } // The request object for `ListDeliveryPipelines`. message ListDeliveryPipelinesRequest { - // Required. The parent, which owns this collection of pipelines. Format must be - // projects/{project_id}/locations/{location_name}. + // Required. The parent, which owns this collection of pipelines. Format must + // be `projects/{project_id}/locations/{location_name}`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -466,7 +906,7 @@ message ListDeliveryPipelinesResponse { // The request object for `GetDeliveryPipeline` message GetDeliveryPipelineRequest { // Required. Name of the `DeliveryPipeline`. Format must be - // projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}. + // `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -477,8 +917,9 @@ message GetDeliveryPipelineRequest { // The request object for `CreateDeliveryPipeline`. message CreateDeliveryPipelineRequest { - // Required. The parent collection in which the `DeliveryPipeline` should be created. - // Format should be projects/{project_id}/locations/{location_name}. + // Required. The parent collection in which the `DeliveryPipeline` should be + // created. Format should be + // `projects/{project_id}/locations/{location_name}`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -490,12 +931,13 @@ message CreateDeliveryPipelineRequest { string delivery_pipeline_id = 2 [(google.api.field_behavior) = REQUIRED]; // Required. The `DeliveryPipeline` to create. - DeliveryPipeline delivery_pipeline = 3 [(google.api.field_behavior) = REQUIRED]; + DeliveryPipeline delivery_pipeline = 3 + [(google.api.field_behavior) = REQUIRED]; // Optional. A request ID to identify requests. Specify a unique request ID - // so that if you must retry your request, the server will know to ignore - // the request if it has already been completed. The server will guarantee - // that for at least 60 minutes since the first request. + // so that if you must retry your request, the server knows to ignore the + // request if it has already been completed. The server guarantees that for + // at least 60 minutes after the first request. // // For example, consider a situation where you make an initial request and the // request times out. If you make the request again with the same request ID, @@ -507,8 +949,8 @@ message CreateDeliveryPipelineRequest { // not supported (00000000-0000-0000-0000-000000000000). string request_id = 4 [(google.api.field_behavior) = OPTIONAL]; - // Optional. If set to true, the request is validated and the user is provided with - // an expected result, but no actual change is made. + // Optional. If set to true, the request is validated and the user is provided + // with an expected result, but no actual change is made. bool validate_only = 5 [(google.api.field_behavior) = OPTIONAL]; } @@ -517,17 +959,19 @@ message UpdateDeliveryPipelineRequest { // Required. Field mask is used to specify the fields to be overwritten in the // `DeliveryPipeline` resource by the update. // The fields specified in the update_mask are relative to the resource, not - // the full request. A field will be overwritten if it is in the mask. If the - // user does not provide a mask then all fields will be overwritten. - google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = REQUIRED]; + // the full request. A field will be overwritten if it's in the mask. If the + // user doesn't provide a mask then all fields are overwritten. + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = REQUIRED]; // Required. The `DeliveryPipeline` to update. - DeliveryPipeline delivery_pipeline = 2 [(google.api.field_behavior) = REQUIRED]; + DeliveryPipeline delivery_pipeline = 2 + [(google.api.field_behavior) = REQUIRED]; // Optional. A request ID to identify requests. Specify a unique request ID - // so that if you must retry your request, the server will know to ignore - // the request if it has already been completed. The server will guarantee - // that for at least 60 minutes since the first request. + // so that if you must retry your request, the server knows to ignore the + // request if it has already been completed. The server guarantees that for + // at least 60 minutes after the first request. // // For example, consider a situation where you make an initial request and the // request times out. If you make the request again with the same request ID, @@ -539,19 +983,19 @@ message UpdateDeliveryPipelineRequest { // not supported (00000000-0000-0000-0000-000000000000). string request_id = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. If set to true, updating a `DeliveryPipeline` that does not exist will - // result in the creation of a new `DeliveryPipeline`. + // Optional. If set to true, updating a `DeliveryPipeline` that does not exist + // will result in the creation of a new `DeliveryPipeline`. bool allow_missing = 4 [(google.api.field_behavior) = OPTIONAL]; - // Optional. If set to true, the request is validated and the user is provided with - // an expected result, but no actual change is made. + // Optional. If set to true, the request is validated and the user is provided + // with an expected result, but no actual change is made. bool validate_only = 5 [(google.api.field_behavior) = OPTIONAL]; } // The request object for `DeleteDeliveryPipeline`. message DeleteDeliveryPipelineRequest { // Required. The name of the `DeliveryPipeline` to delete. Format should be - // projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}. + // `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -560,9 +1004,9 @@ message DeleteDeliveryPipelineRequest { ]; // Optional. A request ID to identify requests. Specify a unique request ID - // so that if you must retry your request, the server will know to ignore - // the request if it has already been completed. The server will guarantee - // that for at least 60 minutes after the first request. + // so that if you must retry your request, the server knows to ignore the + // request if it has already been completed. The server guarantees that for + // at least 60 minutes after the first request. // // For example, consider a situation where you make an initial request and the // request times out. If you make the request again with the same request ID, @@ -578,22 +1022,74 @@ message DeleteDeliveryPipelineRequest { // `DeliveryPipeline` will succeed. bool allow_missing = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. If set, validate the request and preview the review, but do not actually - // post it. + // Optional. If set, validate the request and preview the review, but do not + // actually post it. bool validate_only = 4 [(google.api.field_behavior) = OPTIONAL]; - // Optional. If set to true, all child resources under this pipeline will also be - // deleted. Otherwise, the request will only work if the pipeline has - // no child resources. + // Optional. If set to true, all child resources under this pipeline will also + // be deleted. Otherwise, the request will only work if the pipeline has no + // child resources. bool force = 6 [(google.api.field_behavior) = OPTIONAL]; - // Optional. This checksum is computed by the server based on the value of other - // fields, and may be sent on update and delete requests to ensure the + // Optional. This checksum is computed by the server based on the value of + // other fields, and may be sent on update and delete requests to ensure the // client has an up-to-date value before proceeding. string etag = 5 [(google.api.field_behavior) = OPTIONAL]; } -// A `Target` resource in the Google Cloud Deploy API. +// Configs for the Rollback rollout. +message RollbackTargetConfig { + // Optional. The rollback `Rollout` to create. + Rollout rollout = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The starting phase ID for the `Rollout`. If unspecified, the + // `Rollout` will start in the stable phase. + string starting_phase_id = 2 [(google.api.field_behavior) = OPTIONAL]; +} + +// The request object for `RollbackTarget`. +message RollbackTargetRequest { + // Required. The `DeliveryPipeline` for which the rollback `Rollout` should be + // created. Format should be + // `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "clouddeploy.googleapis.com/DeliveryPipeline" + } + ]; + + // Required. ID of the `Target` that is being rolled back. + string target_id = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. ID of the rollback `Rollout` to create. + string rollout_id = 3 [(google.api.field_behavior) = REQUIRED]; + + // Optional. ID of the `Release` to roll back to. If this isn't specified, the + // previous successful `Rollout` to the specified target will be used to + // determine the `Release`. + string release_id = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If provided, this must be the latest `Rollout` that is on the + // `Target`. + string rollout_to_roll_back = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Configs for the rollback `Rollout`. + RollbackTargetConfig rollback_config = 6 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If set to true, the request is validated and the user is provided + // with a `RollbackTargetResponse`. + bool validate_only = 7 [(google.api.field_behavior) = OPTIONAL]; +} + +// The response object from `RollbackTarget`. +message RollbackTargetResponse { + // The config of the rollback `Rollout` created or will be created. + RollbackTargetConfig rollback_config = 1; +} + +// A `Target` resource in the Cloud Deploy API. // // A `Target` defines a location to which a Skaffold configuration // can be deployed. @@ -604,7 +1100,7 @@ message Target { }; // Optional. Name of the `Target`. Format is - // projects/{project}/locations/{location}/targets/[a-z][a-z0-9\-]{0,62}. + // `projects/{project}/locations/{location}/targets/[a-z][a-z0-9\-]{0,62}`. string name = 1 [(google.api.field_behavior) = OPTIONAL]; // Output only. Resource id of the `Target`. @@ -616,15 +1112,14 @@ message Target { // Optional. Description of the `Target`. Max length is 255 characters. string description = 4 [(google.api.field_behavior) = OPTIONAL]; - // Optional. User annotations. These attributes can only be set and used by the - // user, and not by Google Cloud Deploy. See + // Optional. User annotations. These attributes can only be set and used by + // the user, and not by Cloud Deploy. See // https://google.aip.dev/128#annotations for more details such as format and // size limitations. map annotations = 5 [(google.api.field_behavior) = OPTIONAL]; // Optional. Labels are attributes that can be set and used by both the - // user and by Google Cloud Deploy. Labels must meet the following - // constraints: + // user and by Cloud Deploy. Labels must meet the following constraints: // // * Keys and values can contain only lowercase letters, numeric characters, // underscores, and dashes. @@ -640,26 +1135,34 @@ message Target { bool require_approval = 13 [(google.api.field_behavior) = OPTIONAL]; // Output only. Time at which the `Target` was created. - google.protobuf.Timestamp create_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Most recent time at which the `Target` was updated. - google.protobuf.Timestamp update_time = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 9 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Destination to which the Skaffold configuration is applied during a // rollout. oneof deployment_target { - // Information specifying a GKE Cluster. - GkeCluster gke = 15; + // Optional. Information specifying a GKE Cluster. + GkeCluster gke = 15 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Information specifying an Anthos Cluster. + AnthosCluster anthos_cluster = 17 [(google.api.field_behavior) = OPTIONAL]; - // Information specifying an Anthos Cluster. - AnthosCluster anthos_cluster = 17; + // Optional. Information specifying a Cloud Run deployment target. + CloudRunLocation run = 18 [(google.api.field_behavior) = OPTIONAL]; - // Information specifying a Cloud Run deployment target. - CloudRunLocation run = 18; + // Optional. Information specifying a multiTarget. + MultiTarget multi_target = 19 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Information specifying a Custom Target. + CustomTarget custom_target = 21 [(google.api.field_behavior) = OPTIONAL]; } - // Optional. This checksum is computed by the server based on the value of other - // fields, and may be sent on update and delete requests to ensure the + // Optional. This checksum is computed by the server based on the value of + // other fields, and may be sent on update and delete requests to ensure the // client has an up-to-date value before proceeding. string etag = 12 [(google.api.field_behavior) = OPTIONAL]; @@ -671,6 +1174,10 @@ message Target { // When no configurations are specified, execution will use the default // specified in `DefaultPool`. repeated ExecutionConfig execution_configs = 16; + + // Optional. The deploy parameters to use for this target. + map deploy_parameters = 20 + [(google.api.field_behavior) = OPTIONAL]; } // Configuration of the environment to use when calling Skaffold. @@ -688,10 +1195,17 @@ message ExecutionConfig { // Use for deployment verification. VERIFY = 3; + + // Use for predeploy job execution. + PREDEPLOY = 4; + + // Use for postdeploy job execution. + POSTDEPLOY = 5; } // Required. Usages when this configuration should be applied. - repeated ExecutionEnvironmentUsage usages = 1 [(google.api.field_behavior) = REQUIRED]; + repeated ExecutionEnvironmentUsage usages = 1 + [(google.api.field_behavior) = REQUIRED]; // Details of the environment. oneof execution_environment { @@ -718,16 +1232,17 @@ message ExecutionConfig { // (-compute@developer.gserviceaccount.com) is used. string service_account = 5 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Cloud Storage location in which to store execution outputs. This can - // either be a bucket ("gs://my-bucket") or a path within a bucket + // Optional. Cloud Storage location in which to store execution outputs. This + // can either be a bucket ("gs://my-bucket") or a path within a bucket // ("gs://my-bucket/my-dir"). // If unspecified, a default bucket located in the same region will be used. string artifact_storage = 6 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Execution timeout for a Cloud Build Execution. This must be between 10m and - // 24h in seconds format. - // If unspecified, a default timeout of 1h is used. - google.protobuf.Duration execution_timeout = 7 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Execution timeout for a Cloud Build Execution. This must be + // between 10m and 24h in seconds format. If unspecified, a default timeout of + // 1h is used. + google.protobuf.Duration execution_timeout = 7 + [(google.api.field_behavior) = OPTIONAL]; } // Execution using the default Cloud Build pool. @@ -737,8 +1252,8 @@ message DefaultPool { // (-compute@developer.gserviceaccount.com) will be used. string service_account = 1 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Cloud Storage location where execution outputs should be stored. This can - // either be a bucket ("gs://my-bucket") or a path within a bucket + // Optional. Cloud Storage location where execution outputs should be stored. + // This can either be a bucket ("gs://my-bucket") or a path within a bucket // ("gs://my-bucket/my-dir"). // If unspecified, a default bucket located in the same region will be used. string artifact_storage = 2 [(google.api.field_behavior) = OPTIONAL]; @@ -746,8 +1261,8 @@ message DefaultPool { // Execution using a private Cloud Build pool. message PrivatePool { - // Required. Resource name of the Cloud Build worker pool to use. The format is - // `projects/{project}/locations/{location}/workerPools/{pool}`. + // Required. Resource name of the Cloud Build worker pool to use. The format + // is `projects/{project}/locations/{location}/workerPools/{pool}`. string worker_pool = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -760,8 +1275,8 @@ message PrivatePool { // (-compute@developer.gserviceaccount.com) will be used. string service_account = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Cloud Storage location where execution outputs should be stored. This can - // either be a bucket ("gs://my-bucket") or a path within a bucket + // Optional. Cloud Storage location where execution outputs should be stored. + // This can either be a bucket ("gs://my-bucket") or a path within a bucket // ("gs://my-bucket/my-dir"). // If unspecified, a default bucket located in the same region will be used. string artifact_storage = 3 [(google.api.field_behavior) = OPTIONAL]; @@ -770,16 +1285,16 @@ message PrivatePool { // Information specifying a GKE Cluster. message GkeCluster { // Information specifying a GKE Cluster. Format is - // `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}. + // `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`. string cluster = 1 [(google.api.resource_reference) = { - type: "container.googleapis.com/Cluster" - }]; - - // Optional. If true, `cluster` is accessed using the private IP address of the control - // plane endpoint. Otherwise, the default IP address of the control plane - // endpoint is used. The default IP address is the private IP address for - // clusters with private control-plane endpoints and the public IP address - // otherwise. + type: "container.googleapis.com/Cluster" + }]; + + // Optional. If true, `cluster` is accessed using the private IP address of + // the control plane endpoint. Otherwise, the default IP address of the + // control plane endpoint is used. The default IP address is the private IP + // address for clusters with private control-plane endpoints and the public IP + // address otherwise. // // Only specify this option when `cluster` is a [private GKE // cluster](https://cloud.google.com/kubernetes-engine/docs/concepts/private-cluster-concept). @@ -792,8 +1307,8 @@ message AnthosCluster { // configuration. Format is // `projects/{project}/locations/{location}/memberships/{membership_name}`. string membership = 1 [(google.api.resource_reference) = { - type: "gkehub.googleapis.com/Membership" - }]; + type: "gkehub.googleapis.com/Membership" + }]; } // Information specifying where to deploy a Cloud Run Service. @@ -808,10 +1323,28 @@ message CloudRunLocation { ]; } +// Information specifying a multiTarget. +message MultiTarget { + // Required. The target_ids of this multiTarget. + repeated string target_ids = 1 [(google.api.field_behavior) = REQUIRED]; +} + +// Information specifying a Custom Target. +message CustomTarget { + // Required. The name of the CustomTargetType. Format must be + // `projects/{project}/locations/{location}/customTargetTypes/{custom_target_type}`. + string custom_target_type = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "clouddeploy.googleapis.com/CustomTargetType" + } + ]; +} + // The request object for `ListTargets`. message ListTargetsRequest { // Required. The parent, which owns this collection of targets. Format must be - // projects/{project_id}/locations/{location_name}. + // `projects/{project_id}/locations/{location_name}`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -819,9 +1352,10 @@ message ListTargetsRequest { } ]; - // Optional. The maximum number of `Target` objects to return. The service may return - // fewer than this value. If unspecified, at most 50 `Target` objects will be - // returned. The maximum value is 1000; values above 1000 will be set to 1000. + // Optional. The maximum number of `Target` objects to return. The service may + // return fewer than this value. If unspecified, at most 50 `Target` objects + // will be returned. The maximum value is 1000; values above 1000 will be set + // to 1000. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. A page token, received from a previous `ListTargets` call. @@ -831,11 +1365,12 @@ message ListTargetsRequest { // the call that provided the page token. string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Filter targets to be returned. See https://google.aip.dev/160 for more - // details. + // Optional. Filter targets to be returned. See https://google.aip.dev/160 for + // more details. string filter = 4 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Field to sort by. See https://google.aip.dev/132#ordering for more details. + // Optional. Field to sort by. See https://google.aip.dev/132#ordering for + // more details. string order_by = 5 [(google.api.field_behavior) = OPTIONAL]; } @@ -855,7 +1390,7 @@ message ListTargetsResponse { // The request object for `GetTarget`. message GetTargetRequest { // Required. Name of the `Target`. Format must be - // projects/{project_id}/locations/{location_name}/targets/{target_name}. + // `projects/{project_id}/locations/{location_name}/targets/{target_name}`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -868,7 +1403,7 @@ message GetTargetRequest { message CreateTargetRequest { // Required. The parent collection in which the `Target` should be created. // Format should be - // projects/{project_id}/locations/{location_name}. + // `projects/{project_id}/locations/{location_name}`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -883,9 +1418,9 @@ message CreateTargetRequest { Target target = 3 [(google.api.field_behavior) = REQUIRED]; // Optional. A request ID to identify requests. Specify a unique request ID - // so that if you must retry your request, the server will know to ignore - // the request if it has already been completed. The server will guarantee - // that for at least 60 minutes since the first request. + // so that if you must retry your request, the server knows to ignore the + // request if it has already been completed. The server guarantees that for + // at least 60 minutes after the first request. // // For example, consider a situation where you make an initial request and the // request times out. If you make the request again with the same request ID, @@ -897,8 +1432,8 @@ message CreateTargetRequest { // not supported (00000000-0000-0000-0000-000000000000). string request_id = 4 [(google.api.field_behavior) = OPTIONAL]; - // Optional. If set to true, the request is validated and the user is provided with - // an expected result, but no actual change is made. + // Optional. If set to true, the request is validated and the user is provided + // with an expected result, but no actual change is made. bool validate_only = 5 [(google.api.field_behavior) = OPTIONAL]; } @@ -907,17 +1442,18 @@ message UpdateTargetRequest { // Required. Field mask is used to specify the fields to be overwritten in the // Target resource by the update. // The fields specified in the update_mask are relative to the resource, not - // the full request. A field will be overwritten if it is in the mask. If the - // user does not provide a mask then all fields will be overwritten. - google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = REQUIRED]; + // the full request. A field will be overwritten if it's in the mask. If the + // user doesn't provide a mask then all fields are overwritten. + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = REQUIRED]; // Required. The `Target` to update. Target target = 2 [(google.api.field_behavior) = REQUIRED]; // Optional. A request ID to identify requests. Specify a unique request ID - // so that if you must retry your request, the server will know to ignore - // the request if it has already been completed. The server will guarantee - // that for at least 60 minutes since the first request. + // so that if you must retry your request, the server knows to ignore the + // request if it has already been completed. The server guarantees that for + // at least 60 minutes after the first request. // // For example, consider a situation where you make an initial request and the // request times out. If you make the request again with the same request ID, @@ -933,15 +1469,15 @@ message UpdateTargetRequest { // result in the creation of a new `Target`. bool allow_missing = 4 [(google.api.field_behavior) = OPTIONAL]; - // Optional. If set to true, the request is validated and the user is provided with - // an expected result, but no actual change is made. + // Optional. If set to true, the request is validated and the user is provided + // with an expected result, but no actual change is made. bool validate_only = 5 [(google.api.field_behavior) = OPTIONAL]; } // The request object for `DeleteTarget`. message DeleteTargetRequest { // Required. The name of the `Target` to delete. Format should be - // projects/{project_id}/locations/{location_name}/targets/{target_name}. + // `projects/{project_id}/locations/{location_name}/targets/{target_name}`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -950,9 +1486,9 @@ message DeleteTargetRequest { ]; // Optional. A request ID to identify requests. Specify a unique request ID - // so that if you must retry your request, the server will know to ignore - // the request if it has already been completed. The server will guarantee - // that for at least 60 minutes after the first request. + // so that if you must retry your request, the server knows to ignore the + // request if it has already been completed. The server guarantees that for + // at least 60 minutes after the first request. // // For example, consider a situation where you make an initial request and the // request times out. If you make the request again with the same request ID, @@ -965,78 +1501,407 @@ message DeleteTargetRequest { string request_id = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. If set to true, then deleting an already deleted or non-existing - // DeliveryPipeline will succeed. + // `Target` will succeed. bool allow_missing = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. If set, validate the request and preview the review, but do not actually - // post it. + // Optional. If set, validate the request and preview the review, but do not + // actually post it. bool validate_only = 4 [(google.api.field_behavior) = OPTIONAL]; - // Optional. This checksum is computed by the server based on the value of other - // fields, and may be sent on update and delete requests to ensure the + // Optional. This checksum is computed by the server based on the value of + // other fields, and may be sent on update and delete requests to ensure the // client has an up-to-date value before proceeding. string etag = 5 [(google.api.field_behavior) = OPTIONAL]; } -// A `Release` resource in the Google Cloud Deploy API. +// A `CustomTargetType` resource in the Cloud Deploy API. // -// A `Release` defines a specific Skaffold configuration instance -// that can be deployed. -message Release { +// A `CustomTargetType` defines a type of custom target that can be referenced +// in a `Target` in order to facilitate deploying to other systems besides the +// supported runtimes. +message CustomTargetType { option (google.api.resource) = { - type: "clouddeploy.googleapis.com/Release" - pattern: "projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/releases/{release}" + type: "clouddeploy.googleapis.com/CustomTargetType" + pattern: "projects/{project}/locations/{location}/customTargetTypes/{custom_target_type}" }; - // Valid states of the render operation. - enum RenderState { - // The render state is unspecified. - RENDER_STATE_UNSPECIFIED = 0; + // Optional. Name of the `CustomTargetType`. Format is + // `projects/{project}/locations/{location}/customTargetTypes/[a-z][a-z0-9\-]{0,62}`. + string name = 1 [(google.api.field_behavior) = OPTIONAL]; - // All rendering operations have completed successfully. - SUCCEEDED = 1; + // Output only. Resource id of the `CustomTargetType`. + string custom_target_type_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - // All rendering operations have completed, and one or more have failed. - FAILED = 2; + // Output only. Unique identifier of the `CustomTargetType`. + string uid = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Rendering has started and is not complete. - IN_PROGRESS = 3; - } + // Optional. Description of the `CustomTargetType`. Max length is 255 + // characters. + string description = 4 [(google.api.field_behavior) = OPTIONAL]; - // Details of rendering for a single target. - message TargetRender { - // Valid states of the render operation. - enum TargetRenderState { - // The render operation state is unspecified. - TARGET_RENDER_STATE_UNSPECIFIED = 0; + // Optional. User annotations. These attributes can only be set and used by + // the user, and not by Cloud Deploy. See + // https://google.aip.dev/128#annotations for more details such as format and + // size limitations. + map annotations = 5 [(google.api.field_behavior) = OPTIONAL]; - // The render operation has completed successfully. - SUCCEEDED = 1; + // Optional. Labels are attributes that can be set and used by both the + // user and by Cloud Deploy. Labels must meet the following constraints: + // + // * Keys and values can contain only lowercase letters, numeric characters, + // underscores, and dashes. + // * All characters must use UTF-8 encoding, and international characters are + // allowed. + // * Keys must start with a lowercase letter or international character. + // * Each resource is limited to a maximum of 64 labels. + // + // Both keys and values are additionally constrained to be <= 128 bytes. + map labels = 6 [(google.api.field_behavior) = OPTIONAL]; - // The render operation has failed. - FAILED = 2; + // Output only. Time at which the `CustomTargetType` was created. + google.protobuf.Timestamp create_time = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // The render operation is in progress. - IN_PROGRESS = 3; - } + // Output only. Most recent time at which the `CustomTargetType` was updated. + google.protobuf.Timestamp update_time = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Well-known rendering failures. - enum FailureCause { - // No reason for failure is specified. - FAILURE_CAUSE_UNSPECIFIED = 0; + // Optional. This checksum is computed by the server based on the value of + // other fields, and may be sent on update and delete requests to ensure the + // client has an up-to-date value before proceeding. + string etag = 9 [(google.api.field_behavior) = OPTIONAL]; - // Cloud Build is not available, either because it is not enabled or - // because Google Cloud Deploy has insufficient permissions. See [required - // permission](/deploy/docs/cloud-deploy-service-account#required_permissions). - CLOUD_BUILD_UNAVAILABLE = 1; + // Defines the `CustomTargetType` renderer and deployer. + oneof definition { + // Configures render and deploy for the `CustomTargetType` using Skaffold + // custom actions. + CustomTargetSkaffoldActions custom_actions = 10; + } +} - // The render operation did not complete successfully; check Cloud Build - // logs. +// CustomTargetSkaffoldActions represents the `CustomTargetType` configuration +// using Skaffold custom actions. +message CustomTargetSkaffoldActions { + // Optional. The Skaffold custom action responsible for render operations. If + // not provided then Cloud Deploy will perform the render operations via + // `skaffold render`. + string render_action = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Required. The Skaffold custom action responsible for deploy operations. + string deploy_action = 2 [(google.api.field_behavior) = REQUIRED]; + + // Optional. List of Skaffold modules Cloud Deploy will include in the + // Skaffold Config as required before performing diagnose. + repeated SkaffoldModules include_skaffold_modules = 3 + [(google.api.field_behavior) = OPTIONAL]; +} + +// Skaffold Config modules and their remote source. +message SkaffoldModules { + // Git repository containing Skaffold Config modules. + message SkaffoldGitSource { + // Required. Git repository the package should be cloned from. + string repo = 1 [(google.api.field_behavior) = REQUIRED]; + + // Optional. Relative path from the repository root to the Skaffold file. + string path = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Git ref the package should be cloned from. + string ref = 3 [(google.api.field_behavior) = OPTIONAL]; + } + + // Cloud Storage bucket containing Skaffold Config modules. + message SkaffoldGCSSource { + // Required. Cloud Storage source paths to copy recursively. For example, + // providing "gs://my-bucket/dir/configs/*" will result in Skaffold copying + // all files within the "dir/configs" directory in the bucket "my-bucket". + string source = 1 [(google.api.field_behavior) = REQUIRED]; + + // Optional. Relative path from the source to the Skaffold file. + string path = 2 [(google.api.field_behavior) = OPTIONAL]; + } + + // Optional. The Skaffold Config modules to use from the specified source. + repeated string configs = 1 [(google.api.field_behavior) = OPTIONAL]; + + // The source that contains the Skaffold Config modules. + oneof source { + // Remote git repository containing the Skaffold Config modules. + SkaffoldGitSource git = 2; + + // Cloud Storage bucket containing the Skaffold Config modules. + SkaffoldGCSSource google_cloud_storage = 3; + } +} + +// The request object for `ListCustomTargetTypes`. +message ListCustomTargetTypesRequest { + // Required. The parent that owns this collection of custom target types. + // Format must be `projects/{project_id}/locations/{location_name}`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "clouddeploy.googleapis.com/CustomTargetType" + } + ]; + + // Optional. The maximum number of `CustomTargetType` objects to return. The + // service may return fewer than this value. If unspecified, at most 50 + // `CustomTargetType` objects will be returned. The maximum value is 1000; + // values above 1000 will be set to 1000. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. A page token, received from a previous `ListCustomTargetTypes` + // call. Provide this to retrieve the subsequent page. + // + // When paginating, all other provided parameters match + // the call that provided the page token. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Filter custom target types to be returned. See + // https://google.aip.dev/160 for more details. + string filter = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Field to sort by. See https://google.aip.dev/132#ordering for + // more details. + string order_by = 5 [(google.api.field_behavior) = OPTIONAL]; +} + +// The response object from `ListCustomTargetTypes.` +message ListCustomTargetTypesResponse { + // The `CustomTargetType` objects. + repeated CustomTargetType custom_target_types = 1; + + // A token, which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; + + // Locations that could not be reached. + repeated string unreachable = 3; +} + +// The request object for `GetCustomTargetType`. +message GetCustomTargetTypeRequest { + // Required. Name of the `CustomTargetType`. Format must be + // `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "clouddeploy.googleapis.com/CustomTargetType" + } + ]; +} + +// The request object for `CreateCustomTargetType`. +message CreateCustomTargetTypeRequest { + // Required. The parent collection in which the `CustomTargetType` should be + // created. Format should be + // `projects/{project_id}/locations/{location_name}`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "clouddeploy.googleapis.com/CustomTargetType" + } + ]; + + // Required. ID of the `CustomTargetType`. + string custom_target_type_id = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The `CustomTargetType` to create. + CustomTargetType custom_target_type = 3 + [(google.api.field_behavior) = REQUIRED]; + + // Optional. A request ID to identify requests. Specify a unique request ID + // so that if you must retry your request, the server knows to ignore the + // request if it has already been completed. The server guarantees that for + // at least 60 minutes after the first request. + // + // For example, consider a situation where you make an initial request and the + // request times out. If you make the request again with the same request ID, + // the server can check if original operation with the same request ID was + // received, and if so, will ignore the second request. This prevents clients + // from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If set to true, the request is validated and the user is provided + // with an expected result, but no actual change is made. + bool validate_only = 5 [(google.api.field_behavior) = OPTIONAL]; +} + +// The request object for `UpdateCustomTargetType`. +message UpdateCustomTargetTypeRequest { + // Required. Field mask is used to specify the fields to be overwritten in the + // `CustomTargetType` resource by the update. + // The fields specified in the update_mask are relative to the resource, not + // the full request. A field will be overwritten if it's in the mask. If the + // user doesn't provide a mask then all fields are overwritten. + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = REQUIRED]; + + // Required. The `CustomTargetType` to update. + CustomTargetType custom_target_type = 2 + [(google.api.field_behavior) = REQUIRED]; + + // Optional. A request ID to identify requests. Specify a unique request ID + // so that if you must retry your request, the server knows to ignore the + // request if it has already been completed. The server guarantees that for + // at least 60 minutes after the first request. + // + // For example, consider a situation where you make an initial request and the + // request times out. If you make the request again with the same request ID, + // the server can check if original operation with the same request ID was + // received, and if so, will ignore the second request. This prevents clients + // from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If set to true, updating a `CustomTargetType` that does not exist + // will result in the creation of a new `CustomTargetType`. + bool allow_missing = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If set to true, the request is validated and the user is provided + // with an expected result, but no actual change is made. + bool validate_only = 5 [(google.api.field_behavior) = OPTIONAL]; +} + +// The request object for `DeleteCustomTargetType`. +message DeleteCustomTargetTypeRequest { + // Required. The name of the `CustomTargetType` to delete. Format must be + // `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "clouddeploy.googleapis.com/CustomTargetType" + } + ]; + + // Optional. A request ID to identify requests. Specify a unique request ID + // so that if you must retry your request, the server knows to ignore the + // request if it has already been completed. The server guarantees that for + // at least 60 minutes after the first request. + // + // For example, consider a situation where you make an initial request and the + // request times out. If you make the request again with the same request ID, + // the server can check if original operation with the same request ID was + // received, and if so, will ignore the second request. This prevents clients + // from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If set to true, then deleting an already deleted or non-existing + // `CustomTargetType` will succeed. + bool allow_missing = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If set to true, the request is validated but no actual change is + // made. + bool validate_only = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. This checksum is computed by the server based on the value of + // other fields, and may be sent on update and delete requests to ensure the + // client has an up-to-date value before proceeding. + string etag = 5 [(google.api.field_behavior) = OPTIONAL]; +} + +// Contains criteria for selecting Targets. +message TargetAttribute { + // ID of the `Target`. The value of this field could be one of the + // following: + // * The last segment of a target name. It only needs the ID to determine + // which target is being referred to + // * "*", all targets in a location. + string id = 1; + + // Target labels. + map labels = 2; +} + +// A `Release` resource in the Cloud Deploy API. +// +// A `Release` defines a specific Skaffold configuration instance +// that can be deployed. +message Release { + option (google.api.resource) = { + type: "clouddeploy.googleapis.com/Release" + pattern: "projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/releases/{release}" + }; + + // Valid states of the render operation. + enum RenderState { + // The render state is unspecified. + RENDER_STATE_UNSPECIFIED = 0; + + // All rendering operations have completed successfully. + SUCCEEDED = 1; + + // All rendering operations have completed, and one or more have failed. + FAILED = 2; + + // Rendering has started and is not complete. + IN_PROGRESS = 3; + } + + // Details of rendering for a single target. + message TargetRender { + // Valid states of the render operation. + enum TargetRenderState { + // The render operation state is unspecified. + TARGET_RENDER_STATE_UNSPECIFIED = 0; + + // The render operation has completed successfully. + SUCCEEDED = 1; + + // The render operation has failed. + FAILED = 2; + + // The render operation is in progress. + IN_PROGRESS = 3; + } + + // Well-known rendering failures. + enum FailureCause { + // No reason for failure is specified. + FAILURE_CAUSE_UNSPECIFIED = 0; + + // Cloud Build is not available, either because it is not enabled or + // because Cloud Deploy has insufficient permissions. See [required + // permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions). + CLOUD_BUILD_UNAVAILABLE = 1; + + // The render operation did not complete successfully; check Cloud Build + // logs. EXECUTION_FAILED = 2; + + // Cloud Build failed to fulfill Cloud Deploy's request. See + // failure_message for additional details. + CLOUD_BUILD_REQUEST_FAILED = 3; + + // The render operation did not complete successfully because the + // verification stanza required for verify was not found on the Skaffold + // configuration. + VERIFICATION_CONFIG_NOT_FOUND = 4; + + // The render operation did not complete successfully because the custom + // action required for predeploy or postdeploy was not found in the + // Skaffold configuration. See failure_message for additional details. + CUSTOM_ACTION_NOT_FOUND = 5; + + // Release failed during rendering because the release configuration is + // not supported with the specified deployment strategy. + DEPLOYMENT_STRATEGY_NOT_SUPPORTED = 6; + + // The render operation had a feature configured that is not supported. + RENDER_FEATURE_NOT_SUPPORTED = 7; } - // Output only. The resource name of the Cloud Build `Build` object that is used to - // render the manifest for this target. Format is + // Output only. The resource name of the Cloud Build `Build` object that is + // used to render the manifest for this target. Format is // `projects/{project}/locations/{location}/builds/{build}`. string rendering_build = 1 [ (google.api.field_behavior) = OUTPUT_ONLY, @@ -1046,19 +1911,62 @@ message Release { ]; // Output only. Current state of the render operation for this Target. - TargetRenderState rendering_state = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + TargetRenderState rendering_state = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Metadata related to the `Release` render for this Target. + RenderMetadata metadata = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Reason this render failed. This will always be unspecified while the - // render in progress. + // Output only. Reason this render failed. This will always be unspecified + // while the render in progress. FailureCause failure_cause = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Additional information about the render failure, if available. + // Output only. Additional information about the render failure, if + // available. string failure_message = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; } - // Optional. Name of the `Release`. Format is projects/{project}/ - // locations/{location}/deliveryPipelines/{deliveryPipeline}/ - // releases/[a-z][a-z0-9\-]{0,62}. + // ReleaseReadyCondition contains information around the status of the + // Release. If a release is not ready, you cannot create a rollout with the + // release. + message ReleaseReadyCondition { + // True if the Release is in a valid state. Otherwise at least one condition + // in `ReleaseCondition` is in an invalid state. Iterate over those + // conditions and see which condition(s) has status = false to find out what + // is wrong with the Release. + bool status = 1; + } + + // SkaffoldSupportedCondition contains information about when support for the + // release's version of Skaffold ends. + message SkaffoldSupportedCondition { + // True if the version of Skaffold used by this release is supported. + bool status = 1; + + // The Skaffold support state for this release's version of Skaffold. + SkaffoldSupportState skaffold_support_state = 2; + + // The time at which this release's version of Skaffold will enter + // maintenance mode. + google.protobuf.Timestamp maintenance_mode_time = 3; + + // The time at which this release's version of Skaffold will no longer be + // supported. + google.protobuf.Timestamp support_expiration_time = 4; + } + + // ReleaseCondition contains all conditions relevant to a Release. + message ReleaseCondition { + // Details around the Releases's overall status. + ReleaseReadyCondition release_ready_condition = 1; + + // Details around the support state of the release's Skaffold + // version. + SkaffoldSupportedCondition skaffold_supported_condition = 2; + } + + // Optional. Name of the `Release`. Format is + // `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/[a-z][a-z0-9\-]{0,62}`. string name = 1 [(google.api.field_behavior) = OPTIONAL]; // Output only. Unique identifier of the `Release`. @@ -1068,14 +1976,12 @@ message Release { string description = 3; // User annotations. These attributes can only be set and used by the - // user, and not by Google Cloud Deploy. See - // https://google.aip.dev/128#annotations for more details such as format and - // size limitations. + // user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations + // for more details such as format and size limitations. map annotations = 4; // Labels are attributes that can be set and used by both the - // user and by Google Cloud Deploy. Labels must meet the following - // constraints: + // user and by Cloud Deploy. Labels must meet the following constraints: // // * Keys and values can contain only lowercase letters, numeric characters, // underscores, and dashes. @@ -1091,13 +1997,16 @@ message Release { bool abandoned = 23 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Time at which the `Release` was created. - google.protobuf.Timestamp create_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Time at which the render began. - google.protobuf.Timestamp render_start_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp render_start_time = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Time at which the render completed. - google.protobuf.Timestamp render_end_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp render_end_time = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Cloud Storage URI of tar.gz archive containing Skaffold configuration. string skaffold_config_uri = 17; @@ -1108,11 +2017,19 @@ message Release { // List of artifacts to pass through to Skaffold command. repeated BuildArtifact build_artifacts = 10; - // Output only. Snapshot of the parent pipeline taken at release creation time. - DeliveryPipeline delivery_pipeline_snapshot = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Snapshot of the parent pipeline taken at release creation + // time. + DeliveryPipeline delivery_pipeline_snapshot = 11 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Snapshot of the targets taken at release creation time. - repeated Target target_snapshots = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated Target target_snapshots = 12 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Snapshot of the custom target types referenced by the targets + // taken at release creation time. + repeated CustomTargetType custom_target_type_snapshots = 27 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Current state of the render operation. RenderState render_state = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -1123,18 +2040,28 @@ message Release { string etag = 16; // The Skaffold version to use when operating on this release, such as - // "1.20.0". Not all versions are valid; Google Cloud Deploy supports a - // specific set of versions. + // "1.20.0". Not all versions are valid; Cloud Deploy supports a specific set + // of versions. // // If unset, the most recent supported Skaffold version will be used. string skaffold_version = 19; // Output only. Map from target ID to the target artifacts created // during the render operation. - map target_artifacts = 20 [(google.api.field_behavior) = OUTPUT_ONLY]; + map target_artifacts = 20 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Map from target ID to details of the render operation for that target. - map target_renders = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Map from target ID to details of the render operation for that + // target. + map target_renders = 22 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Information around the state of the Release. + ReleaseCondition condition = 24 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. The deploy parameters to use for all targets in this release. + map deploy_parameters = 25 + [(google.api.field_behavior) = OPTIONAL]; } // Description of an a image to use during Skaffold rendering. @@ -1150,6 +2077,20 @@ message BuildArtifact { // The artifacts produced by a target render operation. message TargetArtifact { + // Contains the paths to the artifacts, relative to the URI, for a phase. + message PhaseArtifact { + // Output only. File path of the resolved Skaffold configuration relative to + // the URI. + string skaffold_config_path = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. File path of the rendered manifest relative to the URI. + string manifest_path = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. File path of the directory of rendered job manifests + // relative to the URI. This is only set if it is applicable. + string job_manifests_path = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + } + oneof uri { // Output only. URI of a directory containing the artifacts. This contains // deployment configuration used by Skaffold during a rollout, and all @@ -1157,16 +2098,55 @@ message TargetArtifact { string artifact_uri = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; } - // Output only. File path of the resolved Skaffold configuration relative to the URI. + // Output only. File path of the resolved Skaffold configuration relative to + // the URI. string skaffold_config_path = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. File path of the rendered manifest relative to the URI. string manifest_path = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Map from the phase ID to the phase artifacts for the `Target`. + map phase_artifacts = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// The artifacts produced by a deploy operation. +message DeployArtifact { + // Output only. URI of a directory containing the artifacts. All paths are + // relative to this location. + string artifact_uri = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. File paths of the manifests applied during the deploy + // operation relative to the URI. + repeated string manifest_paths = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// CloudRunRenderMetadata contains Cloud Run information associated with a +// `Release` render. +message CloudRunRenderMetadata { + // Output only. The name of the Cloud Run Service in the rendered manifest. + // Format is `projects/{project}/locations/{location}/services/{service}`. + string service = 1 [ + (google.api.field_behavior) = OUTPUT_ONLY, + (google.api.resource_reference) = { type: "run.googleapis.com/Service" } + ]; +} + +// RenderMetadata includes information associated with a `Release` render. +message RenderMetadata { + // Output only. Metadata associated with rendering for Cloud Run. + CloudRunRenderMetadata cloud_run = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Custom metadata provided by user-defined render operation. + CustomMetadata custom = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; } // The request object for `ListReleases`. message ListReleasesRequest { - // Required. The `DeliveryPipeline` which owns this collection of `Release` objects. + // Required. The `DeliveryPipeline` which owns this collection of `Release` + // objects. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1174,9 +2154,10 @@ message ListReleasesRequest { } ]; - // Optional. The maximum number of `Release` objects to return. The service may return - // fewer than this value. If unspecified, at most 50 `Release` objects will be - // returned. The maximum value is 1000; values above 1000 will be set to 1000. + // Optional. The maximum number of `Release` objects to return. The service + // may return fewer than this value. If unspecified, at most 50 `Release` + // objects will be returned. The maximum value is 1000; values above 1000 will + // be set to 1000. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. A page token, received from a previous `ListReleases` call. @@ -1186,11 +2167,12 @@ message ListReleasesRequest { // the call that provided the page token. string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Filter releases to be returned. See https://google.aip.dev/160 for more - // details. + // Optional. Filter releases to be returned. See https://google.aip.dev/160 + // for more details. string filter = 4 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Field to sort by. See https://google.aip.dev/132#ordering for more details. + // Optional. Field to sort by. See https://google.aip.dev/132#ordering for + // more details. string order_by = 5 [(google.api.field_behavior) = OPTIONAL]; } @@ -1210,7 +2192,7 @@ message ListReleasesResponse { // The request object for `GetRelease`. message GetReleaseRequest { // Required. Name of the `Release`. Format must be - // projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}. + // `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1223,7 +2205,7 @@ message GetReleaseRequest { message CreateReleaseRequest { // Required. The parent collection in which the `Release` should be created. // Format should be - // projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}. + // `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1238,9 +2220,9 @@ message CreateReleaseRequest { Release release = 3 [(google.api.field_behavior) = REQUIRED]; // Optional. A request ID to identify requests. Specify a unique request ID - // so that if you must retry your request, the server will know to ignore - // the request if it has already been completed. The server will guarantee - // that for at least 60 minutes since the first request. + // so that if you must retry your request, the server knows to ignore the + // request if it has already been completed. The server guarantees that for + // at least 60 minutes after the first request. // // For example, consider a situation where you make an initial request and the // request times out. If you make the request again with the same request ID, @@ -1252,12 +2234,12 @@ message CreateReleaseRequest { // not supported (00000000-0000-0000-0000-000000000000). string request_id = 4 [(google.api.field_behavior) = OPTIONAL]; - // Optional. If set to true, the request is validated and the user is provided with - // an expected result, but no actual change is made. + // Optional. If set to true, the request is validated and the user is provided + // with an expected result, but no actual change is made. bool validate_only = 5 [(google.api.field_behavior) = OPTIONAL]; } -// A `Rollout` resource in the Google Cloud Deploy API. +// A `Rollout` resource in the Cloud Deploy API. // // A `Rollout` contains information around a specific deployment to a `Target`. message Rollout { @@ -1310,6 +2292,15 @@ message Rollout { // The `Rollout` is waiting for the `Release` to be fully rendered. PENDING_RELEASE = 7; + + // The `Rollout` is in the process of being cancelled. + CANCELLING = 8; + + // The `Rollout` has been cancelled. + CANCELLED = 9; + + // The `Rollout` is halted. + HALTED = 10; } // Well-known rollout failures. @@ -1319,7 +2310,7 @@ message Rollout { // Cloud Build is not available, either because it is not enabled or because // Cloud Deploy has insufficient permissions. See [required - // permission](/deploy/docs/cloud-deploy-service-account#required_permissions). + // permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions). CLOUD_BUILD_UNAVAILABLE = 1; // The deploy operation did not complete successfully; check Cloud Build @@ -1335,13 +2326,19 @@ message Rollout { // Release is abandoned. RELEASE_ABANDONED = 5; - // No skaffold verify configuration was found. + // No Skaffold verify configuration was found. VERIFICATION_CONFIG_NOT_FOUND = 6; + + // Cloud Build failed to fulfill Cloud Deploy's request. See failure_message + // for additional details. + CLOUD_BUILD_REQUEST_FAILED = 7; + + // A Rollout operation had a feature configured that is not supported. + OPERATION_FEATURE_NOT_SUPPORTED = 8; } - // Optional. Name of the `Rollout`. Format is projects/{project}/ - // locations/{location}/deliveryPipelines/{deliveryPipeline}/ - // releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}. + // Optional. Name of the `Rollout`. Format is + // `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}`. string name = 1 [(google.api.field_behavior) = OPTIONAL]; // Output only. Unique identifier of the `Rollout`. @@ -1352,14 +2349,12 @@ message Rollout { string description = 3; // User annotations. These attributes can only be set and used by the - // user, and not by Google Cloud Deploy. See - // https://google.aip.dev/128#annotations for more details such as format and - // size limitations. + // user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations + // for more details such as format and size limitations. map annotations = 4; // Labels are attributes that can be set and used by both the - // user and by Google Cloud Deploy. Labels must meet the following - // constraints: + // user and by Cloud Deploy. Labels must meet the following constraints: // // * Keys and values can contain only lowercase letters, numeric characters, // underscores, and dashes. @@ -1372,19 +2367,24 @@ message Rollout { map labels = 5; // Output only. Time at which the `Rollout` was created. - google.protobuf.Timestamp create_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Time at which the `Rollout` was approved. - google.protobuf.Timestamp approve_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp approve_time = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Time at which the `Rollout` was enqueued. - google.protobuf.Timestamp enqueue_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp enqueue_time = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Time at which the `Rollout` started deploying. - google.protobuf.Timestamp deploy_start_time = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp deploy_start_time = 9 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Time at which the `Rollout` finished deploying. - google.protobuf.Timestamp deploy_end_time = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp deploy_end_time = 10 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Required. The ID of Target to which this `Rollout` is deploying. string target_id = 18 [(google.api.field_behavior) = REQUIRED]; @@ -1395,11 +2395,12 @@ message Rollout { // Output only. Current state of the `Rollout`. State state = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Additional information about the rollout failure, if available. + // Output only. Additional information about the rollout failure, if + // available. string failure_reason = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The resource name of the Cloud Build `Build` object that is used to deploy - // the Rollout. Format is + // Output only. The resource name of the Cloud Build `Build` object that is + // used to deploy the Rollout. Format is // `projects/{project}/locations/{location}/builds/{build}`. string deploying_build = 17 [ (google.api.field_behavior) = OUTPUT_ONLY, @@ -1413,41 +2414,116 @@ message Rollout { // client has an up-to-date value before proceeding. string etag = 16; - // Output only. The reason this rollout failed. This will always be unspecified while the - // rollout is in progress. - FailureCause deploy_failure_cause = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The reason this rollout failed. This will always be + // unspecified while the rollout is in progress. + FailureCause deploy_failure_cause = 19 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The phases that represent the workflows of this `Rollout`. repeated Phase phases = 23 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Metadata contains information about the rollout. Metadata metadata = 24 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Name of the `ControllerRollout`. Format is + // `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}`. + string controller_rollout = 25 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Name of the `Rollout` that is rolled back by this `Rollout`. + // Empty if this `Rollout` wasn't created as a rollback. + string rollback_of_rollout = 26 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Names of `Rollouts` that rolled back this `Rollout`. + repeated string rolled_back_by_rollouts = 27 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Metadata includes information associated with a `Rollout`. message Metadata { - // Output only. The name of the Cloud Run Service that is associated with a `Rollout`. + // Output only. The name of the Cloud Run Service that is associated with a + // `Rollout`. CloudRunMetadata cloud_run = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. AutomationRolloutMetadata contains the information about the + // interactions between Automation service and this rollout. + AutomationRolloutMetadata automation = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Custom metadata provided by user-defined `Rollout` operations. + CustomMetadata custom = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; } // DeployJobRunMetadata surfaces information associated with a `DeployJobRun` to // the user. message DeployJobRunMetadata { - // Output only. The name of the Cloud Run Service that is associated with a `DeployJobRun`. + // Output only. The name of the Cloud Run Service that is associated with a + // `DeployJobRun`. CloudRunMetadata cloud_run = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Custom Target metadata associated with a `DeployJobRun`. + CustomTargetDeployMetadata custom_target = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Custom metadata provided by user-defined deploy operation. + CustomMetadata custom = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; } // CloudRunMetadata contains information from a Cloud Run deployment. message CloudRunMetadata { - // Output only. The name of the Cloud Run Service that is associated with a `Rollout`. - // Format is projects/{project}/locations/{location}/services/{service}. - string service = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The name of the Cloud Run Service that is associated with a + // `Rollout`. Format is + // `projects/{project}/locations/{location}/services/{service}`. + string service = 1 [ + (google.api.field_behavior) = OUTPUT_ONLY, + (google.api.resource_reference) = { type: "run.googleapis.com/Service" } + ]; - // Output only. The Cloud Run Service urls that are associated with a `Rollout`. + // Output only. The Cloud Run Service urls that are associated with a + // `Rollout`. repeated string service_urls = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The Cloud Run Revision id associated with a `Rollout`. string revision = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The name of the Cloud Run job that is associated with a + // `Rollout`. Format is + // `projects/{project}/locations/{location}/jobs/{job_name}`. + string job = 4 [ + (google.api.field_behavior) = OUTPUT_ONLY, + (google.api.resource_reference) = { type: "run.googleapis.com/Job" } + ]; +} + +// CustomTargetDeployMetadata contains information from a Custom Target +// deploy operation. +message CustomTargetDeployMetadata { + // Output only. Skip message provided in the results of a custom deploy + // operation. + string skip_message = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// AutomationRolloutMetadata contains Automation-related actions that +// were performed on a rollout. +message AutomationRolloutMetadata { + // Output only. The ID of the AutomationRun initiated by a promote release + // rule. + string promote_automation_run = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The IDs of the AutomationRuns initiated by an advance rollout + // rule. + repeated string advance_automation_runs = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The IDs of the AutomationRuns initiated by a repair rollout + // rule. + repeated string repair_automation_runs = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// CustomMetadata contains information from a user-defined operation. +message CustomMetadata { + // Output only. Key-value pairs provided by the user-defined operation. + map values = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Phase represents a collection of jobs that are logically grouped together @@ -1472,6 +2548,9 @@ message Phase { // The Phase was aborted. ABORTED = 5; + + // The Phase was skipped. + SKIPPED = 6; } // Output only. The ID of the Phase. @@ -1480,20 +2559,46 @@ message Phase { // Output only. Current state of the Phase. State state = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Additional information on why the Phase was skipped, if + // available. + string skip_message = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + // The job composition of this Phase. oneof jobs { // Output only. Deployment job composition. - DeploymentJobs deployment_jobs = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + DeploymentJobs deployment_jobs = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. ChildRollout job composition. + ChildRolloutJobs child_rollout_jobs = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; } } // Deployment job composition. message DeploymentJobs { - // Output only. The deploy Job. This is the first job run in the phase. + // Output only. The deploy Job. This is the deploy job in the phase. Job deploy_job = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The verify Job. Runs after a deploy if the deploy succeeds. Job verify_job = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The predeploy Job, which is the first job on the phase. + Job predeploy_job = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The postdeploy Job, which is the last job on the phase. + Job postdeploy_job = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// ChildRollouts job composition +message ChildRolloutJobs { + // Output only. List of CreateChildRolloutJobs + repeated Job create_rollout_jobs = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. List of AdvanceChildRolloutJobs + repeated Job advance_rollout_jobs = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Job represents an operation for a `Rollout`. @@ -1520,6 +2625,12 @@ message Job { // The Job was aborted. ABORTED = 6; + + // The Job was skipped. + SKIPPED = 7; + + // The Job was ignored. + IGNORED = 8; } // Output only. The ID of the Job. @@ -1528,8 +2639,12 @@ message Job { // Output only. The current state of the Job. State state = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The name of the `JobRun` responsible for the most recent invocation of this - // Job. + // Output only. Additional information on why the Job was skipped, if + // available. + string skip_message = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The name of the `JobRun` responsible for the most recent + // invocation of this Job. string job_run = 3 [ (google.api.field_behavior) = OUTPUT_ONLY, (google.api.resource_reference) = { @@ -1544,19 +2659,48 @@ message Job { // Output only. A verify Job. VerifyJob verify_job = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. A predeploy Job. + PredeployJob predeploy_job = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. A postdeploy Job. + PostdeployJob postdeploy_job = 10 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. A createChildRollout Job. + CreateChildRolloutJob create_child_rollout_job = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. An advanceChildRollout Job. + AdvanceChildRolloutJob advance_child_rollout_job = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; } } // A deploy Job. -message DeployJob { - -} +message DeployJob {} // A verify Job. -message VerifyJob { +message VerifyJob {} +// A predeploy Job. +message PredeployJob { + // Output only. The custom actions that the predeploy Job executes. + repeated string actions = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; } +// A postdeploy Job. +message PostdeployJob { + // Output only. The custom actions that the postdeploy Job executes. + repeated string actions = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// A createChildRollout Job. +message CreateChildRolloutJob {} + +// An advanceChildRollout Job. +message AdvanceChildRolloutJob {} + // ListRolloutsRequest is the request object used by `ListRollouts`. message ListRolloutsRequest { // Required. The `Release` which owns this collection of `Rollout` objects. @@ -1567,9 +2711,10 @@ message ListRolloutsRequest { } ]; - // Optional. The maximum number of `Rollout` objects to return. The service may return - // fewer than this value. If unspecified, at most 50 `Rollout` objects will be - // returned. The maximum value is 1000; values above 1000 will be set to 1000. + // Optional. The maximum number of `Rollout` objects to return. The service + // may return fewer than this value. If unspecified, at most 50 `Rollout` + // objects will be returned. The maximum value is 1000; values above 1000 will + // be set to 1000. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. A page token, received from a previous `ListRollouts` call. @@ -1579,11 +2724,12 @@ message ListRolloutsRequest { // the call that provided the page token. string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Filter rollouts to be returned. See https://google.aip.dev/160 for more - // details. + // Optional. Filter rollouts to be returned. See https://google.aip.dev/160 + // for more details. string filter = 4 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Field to sort by. See https://google.aip.dev/132#ordering for more details. + // Optional. Field to sort by. See https://google.aip.dev/132#ordering for + // more details. string order_by = 5 [(google.api.field_behavior) = OPTIONAL]; } @@ -1603,7 +2749,7 @@ message ListRolloutsResponse { // GetRolloutRequest is the request object used by `GetRollout`. message GetRolloutRequest { // Required. Name of the `Rollout`. Format must be - // projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}. + // `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1616,7 +2762,7 @@ message GetRolloutRequest { message CreateRolloutRequest { // Required. The parent collection in which the `Rollout` should be created. // Format should be - // projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}. + // `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1631,9 +2777,9 @@ message CreateRolloutRequest { Rollout rollout = 3 [(google.api.field_behavior) = REQUIRED]; // Optional. A request ID to identify requests. Specify a unique request ID - // so that if you must retry your request, the server will know to ignore - // the request if it has already been completed. The server will guarantee - // that for at least 60 minutes since the first request. + // so that if you must retry your request, the server knows to ignore the + // request if it has already been completed. The server guarantees that for + // at least 60 minutes after the first request. // // For example, consider a situation where you make an initial request and the // request times out. If you make the request again with the same request ID, @@ -1645,18 +2791,24 @@ message CreateRolloutRequest { // not supported (00000000-0000-0000-0000-000000000000). string request_id = 4 [(google.api.field_behavior) = OPTIONAL]; - // Optional. If set to true, the request is validated and the user is provided with - // an expected result, but no actual change is made. + // Optional. If set to true, the request is validated and the user is provided + // with an expected result, but no actual change is made. bool validate_only = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The starting phase ID for the `Rollout`. If empty the `Rollout` + // will start at the first phase. + string starting_phase_id = 7 [(google.api.field_behavior) = OPTIONAL]; } // Represents the metadata of the long-running operation. message OperationMetadata { // Output only. The time the operation was created. - google.protobuf.Timestamp create_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time the operation finished running. - google.protobuf.Timestamp end_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp end_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Server-defined resource path for the target of the operation. string target = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -1669,8 +2821,9 @@ message OperationMetadata { // Output only. Identifies whether the user has requested cancellation // of the operation. Operations that have successfully been cancelled - // have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, - // corresponding to `Code.CANCELLED`. + // have [Operation.error][] value with a + // [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to + // `Code.CANCELLED`. bool requested_cancellation = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. API version used to start the operation. @@ -1680,8 +2833,7 @@ message OperationMetadata { // The request object used by `ApproveRollout`. message ApproveRolloutRequest { // Required. Name of the Rollout. Format is - // projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/ - // releases/{release}/rollouts/{rollout}. + // `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1694,15 +2846,66 @@ message ApproveRolloutRequest { } // The response object from `ApproveRollout`. -message ApproveRolloutResponse { +message ApproveRolloutResponse {} + +// The request object used by `AdvanceRollout`. +message AdvanceRolloutRequest { + // Required. Name of the Rollout. Format is + // `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "clouddeploy.googleapis.com/Rollout" + } + ]; + + // Required. The phase ID to advance the `Rollout` to. + string phase_id = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// The response object from `AdvanceRollout`. +message AdvanceRolloutResponse {} +// The request object used by `CancelRollout`. +message CancelRolloutRequest { + // Required. Name of the Rollout. Format is + // `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "clouddeploy.googleapis.com/Rollout" + } + ]; } +// The response object from `CancelRollout`. +message CancelRolloutResponse {} + +// The request object used by `IgnoreJob`. +message IgnoreJobRequest { + // Required. Name of the Rollout. Format is + // `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. + string rollout = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "clouddeploy.googleapis.com/Rollout" + } + ]; + + // Required. The phase ID the Job to ignore belongs to. + string phase_id = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The job ID for the Job to ignore. + string job_id = 3 [(google.api.field_behavior) = REQUIRED]; +} + +// The response object from `IgnoreJob`. +message IgnoreJobResponse {} + // RetryJobRequest is the request object used by `RetryJob`. message RetryJobRequest { // Required. Name of the Rollout. Format is - // projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/ - // releases/{release}/rollouts/{rollout}. + // `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. string rollout = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1718,15 +2921,12 @@ message RetryJobRequest { } // The response object from 'RetryJob'. -message RetryJobResponse { - -} +message RetryJobResponse {} // The request object used by `AbandonRelease`. message AbandonReleaseRequest { // Required. Name of the Release. Format is - // projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/ - // releases/{release}. + // `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1736,11 +2936,9 @@ message AbandonReleaseRequest { } // The response object for `AbandonRelease`. -message AbandonReleaseResponse { +message AbandonReleaseResponse {} -} - -// A `JobRun` resource in the Google Cloud Deploy API. +// A `JobRun` resource in the Cloud Deploy API. // // A `JobRun` contains information of a single `Rollout` job evaluation. message JobRun { @@ -1762,11 +2960,16 @@ message JobRun { // The `JobRun` has failed. FAILED = 3; + + // The `JobRun` is terminating. + TERMINATING = 4; + + // The `JobRun` was terminated. + TERMINATED = 5; } - // Optional. Name of the `JobRun`. Format is projects/{project}/locations/{location}/ - // deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/ - // {rollouts}/jobRuns/{uuid}. + // Optional. Name of the `JobRun`. Format is + // `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/{rollouts}/jobRuns/{uuid}`. string name = 1 [(google.api.field_behavior) = OPTIONAL]; // Output only. Unique identifier of the `JobRun`. @@ -1779,13 +2982,16 @@ message JobRun { string job_id = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Time at which the `JobRun` was created. - google.protobuf.Timestamp create_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Time at which the `JobRun` was started. - google.protobuf.Timestamp start_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp start_time = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Time at which the `JobRun` ended. - google.protobuf.Timestamp end_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp end_time = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The current state of the `JobRun`. State state = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -1796,11 +3002,28 @@ message JobRun { DeployJobRun deploy_job_run = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Information specific to a verify `JobRun`. - VerifyJobRun verify_job_run = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; + VerifyJobRun verify_job_run = 10 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Information specific to a predeploy `JobRun`. + PredeployJobRun predeploy_job_run = 14 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Information specific to a postdeploy `JobRun`. + PostdeployJobRun postdeploy_job_run = 15 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Information specific to a createChildRollout `JobRun`. + CreateChildRolloutJobRun create_child_rollout_job_run = 12 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Information specific to an advanceChildRollout `JobRun` + AdvanceChildRolloutJobRun advance_child_rollout_job_run = 13 + [(google.api.field_behavior) = OUTPUT_ONLY]; } - // Output only. This checksum is computed by the server based on the value of other - // fields, and may be sent on update and delete requests to ensure the + // Output only. This checksum is computed by the server based on the value of + // other fields, and may be sent on update and delete requests to ensure the // client has an up-to-date value before proceeding. string etag = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; } @@ -1813,20 +3036,32 @@ message DeployJobRun { FAILURE_CAUSE_UNSPECIFIED = 0; // Cloud Build is not available, either because it is not enabled or because - // Google Cloud Deploy has insufficient permissions. See [Required - // permission](/deploy/docs/cloud-deploy-service-account#required_permissions). + // Cloud Deploy has insufficient permissions. See [Required + // permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions). CLOUD_BUILD_UNAVAILABLE = 1; // The deploy operation did not complete successfully; check Cloud Build // logs. EXECUTION_FAILED = 2; - // The deploy build did not complete within the alloted time. + // The deploy job run did not complete within the alloted time. DEADLINE_EXCEEDED = 3; + + // There were missing resources in the runtime environment required for a + // canary deployment. Check the Cloud Build logs for more information. + MISSING_RESOURCES_FOR_CANARY = 4; + + // Cloud Build failed to fulfill Cloud Deploy's request. See failure_message + // for additional details. + CLOUD_BUILD_REQUEST_FAILED = 5; + + // The deploy operation had a feature configured that is not supported. + DEPLOY_FEATURE_NOT_SUPPORTED = 6; } - // Output only. The resource name of the Cloud Build `Build` object that is used to deploy. - // Format is projects/{project}/locations/{location}/builds/{build}. + // Output only. The resource name of the Cloud Build `Build` object that is + // used to deploy. Format is + // `projects/{project}/locations/{location}/builds/{build}`. string build = 1 [ (google.api.field_behavior) = OUTPUT_ONLY, (google.api.resource_reference) = { @@ -1834,8 +3069,8 @@ message DeployJobRun { } ]; - // Output only. The reason the deploy failed. This will always be unspecified while the - // deploy is in progress or if it succeeded. + // Output only. The reason the deploy failed. This will always be unspecified + // while the deploy is in progress or if it succeeded. FailureCause failure_cause = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Additional information about the deploy failure, if available. @@ -1843,6 +3078,9 @@ message DeployJobRun { // Output only. Metadata containing information about the deploy job run. DeployJobRunMetadata metadata = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The artifact of a deploy job run, if available. + DeployArtifact artifact = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; } // VerifyJobRun contains information specific to a verify `JobRun`. @@ -1853,23 +3091,28 @@ message VerifyJobRun { FAILURE_CAUSE_UNSPECIFIED = 0; // Cloud Build is not available, either because it is not enabled or because - // Google Cloud Deploy has insufficient permissions. See [required - // permission](/deploy/docs/cloud-deploy-service-account#required_permissions). + // Cloud Deploy has insufficient permissions. See [required + // permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions). CLOUD_BUILD_UNAVAILABLE = 1; // The verify operation did not complete successfully; check Cloud Build // logs. EXECUTION_FAILED = 2; - // The verify build did not complete within the alloted time. + // The verify job run did not complete within the alloted time. DEADLINE_EXCEEDED = 3; // No Skaffold verify configuration was found. VERIFICATION_CONFIG_NOT_FOUND = 4; + + // Cloud Build failed to fulfill Cloud Deploy's request. See failure_message + // for additional details. + CLOUD_BUILD_REQUEST_FAILED = 5; } - // Output only. The resource name of the Cloud Build `Build` object that is used to verify. - // Format is projects/{project}/locations/{location}/builds/{build}. + // Output only. The resource name of the Cloud Build `Build` object that is + // used to verify. Format is + // `projects/{project}/locations/{location}/builds/{build}`. string build = 1 [ (google.api.field_behavior) = OUTPUT_ONLY, (google.api.resource_reference) = { @@ -1877,21 +3120,130 @@ message VerifyJobRun { } ]; - // Output only. URI of a directory containing the verify artifacts. This contains the - // Skaffold event log. + // Output only. URI of a directory containing the verify artifacts. This + // contains the Skaffold event log. string artifact_uri = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. File path of the Skaffold event log relative to the artifact URI. + // Output only. File path of the Skaffold event log relative to the artifact + // URI. string event_log_path = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The reason the verify failed. This will always be unspecified while the - // verify is in progress or if it succeeded. + // Output only. The reason the verify failed. This will always be unspecified + // while the verify is in progress or if it succeeded. FailureCause failure_cause = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Additional information about the verify failure, if available. string failure_message = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; } +// PredeployJobRun contains information specific to a predeploy `JobRun`. +message PredeployJobRun { + // Well-known predeploy failures. + enum FailureCause { + // No reason for failure is specified. + FAILURE_CAUSE_UNSPECIFIED = 0; + + // Cloud Build is not available, either because it is not enabled or because + // Cloud Deploy has insufficient permissions. See [required + // permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions). + CLOUD_BUILD_UNAVAILABLE = 1; + + // The predeploy operation did not complete successfully; check Cloud Build + // logs. + EXECUTION_FAILED = 2; + + // The predeploy job run did not complete within the alloted time. + DEADLINE_EXCEEDED = 3; + + // Cloud Build failed to fulfill Cloud Deploy's request. See failure_message + // for additional details. + CLOUD_BUILD_REQUEST_FAILED = 4; + } + + // Output only. The resource name of the Cloud Build `Build` object that is + // used to execute the custom actions associated with the predeploy Job. + // Format is `projects/{project}/locations/{location}/builds/{build}`. + string build = 1 [ + (google.api.field_behavior) = OUTPUT_ONLY, + (google.api.resource_reference) = { + type: "cloudbuild.googleapis.com/Build" + } + ]; + + // Output only. The reason the predeploy failed. This will always be + // unspecified while the predeploy is in progress or if it succeeded. + FailureCause failure_cause = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Additional information about the predeploy failure, if + // available. + string failure_message = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// PostdeployJobRun contains information specific to a postdeploy `JobRun`. +message PostdeployJobRun { + // Well-known postdeploy failures. + enum FailureCause { + // No reason for failure is specified. + FAILURE_CAUSE_UNSPECIFIED = 0; + + // Cloud Build is not available, either because it is not enabled or because + // Cloud Deploy has insufficient permissions. See [required + // permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions). + CLOUD_BUILD_UNAVAILABLE = 1; + + // The postdeploy operation did not complete successfully; check Cloud Build + // logs. + EXECUTION_FAILED = 2; + + // The postdeploy job run did not complete within the alloted time. + DEADLINE_EXCEEDED = 3; + + // Cloud Build failed to fulfill Cloud Deploy's request. See failure_message + // for additional details. + CLOUD_BUILD_REQUEST_FAILED = 4; + } + + // Output only. The resource name of the Cloud Build `Build` object that is + // used to execute the custom actions associated with the postdeploy Job. + // Format is `projects/{project}/locations/{location}/builds/{build}`. + string build = 1 [ + (google.api.field_behavior) = OUTPUT_ONLY, + (google.api.resource_reference) = { + type: "cloudbuild.googleapis.com/Build" + } + ]; + + // Output only. The reason the postdeploy failed. This will always be + // unspecified while the postdeploy is in progress or if it succeeded. + FailureCause failure_cause = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Additional information about the postdeploy failure, if + // available. + string failure_message = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// CreateChildRolloutJobRun contains information specific to a +// createChildRollout `JobRun`. +message CreateChildRolloutJobRun { + // Output only. Name of the `ChildRollout`. Format is + // `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}`. + string rollout = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The ID of the childRollout Phase initiated by this JobRun. + string rollout_phase_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// AdvanceChildRolloutJobRun contains information specific to a +// advanceChildRollout `JobRun`. +message AdvanceChildRolloutJobRun { + // Output only. Name of the `ChildRollout`. Format is + // `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}`. + string rollout = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. the ID of the ChildRollout's Phase. + string rollout_phase_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + // ListJobRunsRequest is the request object used by `ListJobRuns`. message ListJobRunsRequest { // Required. The `Rollout` which owns this collection of `JobRun` objects. @@ -1902,23 +3254,25 @@ message ListJobRunsRequest { } ]; - // Optional. The maximum number of `JobRun` objects to return. The service may return - // fewer than this value. If unspecified, at most 50 `JobRun` objects will be - // returned. The maximum value is 1000; values above 1000 will be set to 1000. + // Optional. The maximum number of `JobRun` objects to return. The service may + // return fewer than this value. If unspecified, at most 50 `JobRun` objects + // will be returned. The maximum value is 1000; values above 1000 will be set + // to 1000. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. A page token, received from a previous `ListJobRuns` call. Provide this - // to retrieve the subsequent page. + // Optional. A page token, received from a previous `ListJobRuns` call. + // Provide this to retrieve the subsequent page. // // When paginating, all other provided parameters match the call that provided // the page token. string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Filter results to be returned. See https://google.aip.dev/160 for more - // details. + // Optional. Filter results to be returned. See https://google.aip.dev/160 for + // more details. string filter = 4 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Field to sort by. See https://google.aip.dev/132#ordering for more details. + // Optional. Field to sort by. See https://google.aip.dev/132#ordering for + // more details. string order_by = 5 [(google.api.field_behavior) = OPTIONAL]; } @@ -1938,7 +3292,7 @@ message ListJobRunsResponse { // GetJobRunRequest is the request object used by `GetJobRun`. message GetJobRunRequest { // Required. Name of the `JobRun`. Format must be - // projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}/jobRuns/{job_run_name}. + // `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}/jobRuns/{job_run_name}`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1947,6 +3301,21 @@ message GetJobRunRequest { ]; } +// The request object used by `TerminateJobRun`. +message TerminateJobRunRequest { + // Required. Name of the `JobRun`. Format must be + // `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}/jobRuns/{jobRun}`. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "clouddeploy.googleapis.com/JobRun" + } + ]; +} + +// The response object from `TerminateJobRun`. +message TerminateJobRunResponse {} + // Service-wide configuration. message Config { option (google.api.resource) = { @@ -1957,12 +3326,12 @@ message Config { // Name of the configuration. string name = 1; - // Output only. All supported versions of Skaffold. - repeated SkaffoldVersion supported_versions = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + // All supported versions of Skaffold. + repeated SkaffoldVersion supported_versions = 2; - // Output only. Default Skaffold version that is assigned when a Release is created without + // Default Skaffold version that is assigned when a Release is created without // specifying a Skaffold version. - string default_skaffold_version = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + string default_skaffold_version = 3; } // Details of a supported Skaffold version. @@ -1970,6 +3339,12 @@ message SkaffoldVersion { // Release version number. For example, "1.20.3". string version = 1; + // The time at which this version of Skaffold will enter maintenance mode. + google.protobuf.Timestamp maintenance_mode_time = 3; + + // The time at which this version of Skaffold will no longer be supported. + google.protobuf.Timestamp support_expiration_time = 4; + // Date when this version is expected to no longer be supported. google.type.Date support_end_date = 2; } @@ -1984,3 +3359,755 @@ message GetConfigRequest { } ]; } + +// An `Automation` resource in the Cloud Deploy API. +// +// An `Automation` enables the automation of manually driven actions for +// a Delivery Pipeline, which includes Release promotion among Targets, +// Rollout repair and Rollout deployment strategy advancement. The intention +// of Automation is to reduce manual intervention in the continuous delivery +// process. +message Automation { + option (google.api.resource) = { + type: "clouddeploy.googleapis.com/Automation" + pattern: "projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automations/{automation}" + style: DECLARATIVE_FRIENDLY + }; + + // Output only. Name of the `Automation`. Format is + // `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automations/{automation}`. + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Unique identifier of the `Automation`. + string uid = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. Description of the `Automation`. Max length is 255 characters. + string description = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Output only. Time at which the automation was created. + google.protobuf.Timestamp create_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Time at which the automation was updated. + google.protobuf.Timestamp update_time = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. User annotations. These attributes can only be set and used by + // the user, and not by Cloud Deploy. Annotations must meet the following + // constraints: + // + // * Annotations are key/value pairs. + // * Valid annotation keys have two segments: an optional prefix and name, + // separated by a slash (`/`). + // * The name segment is required and must be 63 characters or less, + // beginning and ending with an alphanumeric character (`[a-z0-9A-Z]`) with + // dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between. + // * The prefix is optional. If specified, the prefix must be a DNS subdomain: + // a series of DNS labels separated by dots(`.`), not longer than 253 + // characters in total, followed by a slash (`/`). + // + // See + // https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-and-character-set + // for more details. + map annotations = 6 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Labels are attributes that can be set and used by both the + // user and by Cloud Deploy. Labels must meet the following constraints: + // + // * Keys and values can contain only lowercase letters, numeric characters, + // underscores, and dashes. + // * All characters must use UTF-8 encoding, and international characters are + // allowed. + // * Keys must start with a lowercase letter or international character. + // * Each resource is limited to a maximum of 64 labels. + // + // Both keys and values are additionally constrained to be <= 63 characters. + map labels = 7 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The weak etag of the `Automation` resource. + // This checksum is computed by the server based on the value of other + // fields, and may be sent on update and delete requests to ensure the + // client has an up-to-date value before proceeding. + string etag = 8 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. When Suspended, automation is deactivated from execution. + bool suspended = 9 [(google.api.field_behavior) = OPTIONAL]; + + // Required. Email address of the user-managed IAM service account that + // creates Cloud Deploy release and rollout resources. + string service_account = 10 [(google.api.field_behavior) = REQUIRED]; + + // Required. Selected resources to which the automation will be applied. + AutomationResourceSelector selector = 11 + [(google.api.field_behavior) = REQUIRED]; + + // Required. List of Automation rules associated with the Automation resource. + // Must have at least one rule and limited to 250 rules per Delivery Pipeline. + // Note: the order of the rules here is not the same as the order of + // execution. + repeated AutomationRule rules = 14 [(google.api.field_behavior) = REQUIRED]; +} + +// AutomationResourceSelector contains the information to select the resources +// to which an Automation is going to be applied. +message AutomationResourceSelector { + // Contains attributes about a target. + repeated TargetAttribute targets = 1; +} + +// `AutomationRule` defines the automation activities. +message AutomationRule { + // The configuration of the Automation rule. + oneof rule { + // Optional. `PromoteReleaseRule` will automatically promote a release from + // the current target to a specified target. + PromoteReleaseRule promote_release_rule = 1 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The `AdvanceRolloutRule` will automatically advance a + // successful Rollout. + AdvanceRolloutRule advance_rollout_rule = 2 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The `RepairRolloutRule` will automatically repair a failed + // rollout. + RepairRolloutRule repair_rollout_rule = 3 + [(google.api.field_behavior) = OPTIONAL]; + } +} + +// `PromoteRelease` rule will automatically promote a release from the current +// target to a specified target. +message PromoteReleaseRule { + // Required. ID of the rule. This id must be unique in the `Automation` + // resource to which this rule belongs. The format is `[a-z][a-z0-9\-]{0,62}`. + string id = 1 [(google.api.field_behavior) = REQUIRED]; + + // Optional. How long the release need to be paused until being promoted to + // the next target. + google.protobuf.Duration wait = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The ID of the stage in the pipeline to which this `Release` is + // deploying. If unspecified, default it to the next stage in the promotion + // flow. The value of this field could be one of the following: + // + // * The last segment of a target name. It only needs the ID to determine + // if the target is one of the stages in the promotion sequence defined + // in the pipeline. + // * "@next", the next target in the promotion sequence. + string destination_target_id = 7 [(google.api.field_behavior) = OPTIONAL]; + + // Output only. Information around the state of the Automation rule. + AutomationRuleCondition condition = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. The starting phase of the rollout created by this operation. + // Default to the first phase. + string destination_phase = 8 [(google.api.field_behavior) = OPTIONAL]; +} + +// The `AdvanceRollout` automation rule will automatically advance a successful +// Rollout to the next phase. +message AdvanceRolloutRule { + // Required. ID of the rule. This id must be unique in the `Automation` + // resource to which this rule belongs. The format is `[a-z][a-z0-9\-]{0,62}`. + string id = 1 [(google.api.field_behavior) = REQUIRED]; + + // Optional. Proceeds only after phase name matched any one in the list. + // This value must consist of lower-case letters, numbers, and hyphens, + // start with a letter and end with a letter or a number, and have a max + // length of 63 characters. In other words, it must match the following + // regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. + repeated string source_phases = 6 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. How long to wait after a rollout is finished. + google.protobuf.Duration wait = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Output only. Information around the state of the Automation rule. + AutomationRuleCondition condition = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// The `RepairRolloutRule` automation rule will automatically repair a failed +// `Rollout`. +message RepairRolloutRule { + // Required. ID of the rule. This id must be unique in the `Automation` + // resource to which this rule belongs. The format is `[a-z][a-z0-9\-]{0,62}`. + string id = 1 [(google.api.field_behavior) = REQUIRED]; + + // Optional. Phases within which jobs are subject to automatic repair actions + // on failure. Proceeds only after phase name matched any one in the list, or + // for all phases if unspecified. This value must consist of lower-case + // letters, numbers, and hyphens, start with a letter and end with a letter or + // a number, and have a max length of 63 characters. In other words, it must + // match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. + repeated string source_phases = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Jobs to repair. Proceeds only after job name matched any one in + // the list, or for all jobs if unspecified or empty. The phase that includes + // the job must match the phase ID specified in `source_phase`. This value + // must consist of lower-case letters, numbers, and hyphens, start with a + // letter and end with a letter or a number, and have a max length of 63 + // characters. In other words, it must match the following regex: + // `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. + repeated string jobs = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Required. Defines the types of automatic repair actions for failed jobs. + repeated RepairMode repair_modes = 4 [(google.api.field_behavior) = REQUIRED]; + + // Output only. Information around the state of the 'Automation' rule. + AutomationRuleCondition condition = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// Configuration of the repair action. +message RepairMode { + // The repair action to perform. + oneof mode { + // Optional. Retries a failed job. + Retry retry = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Rolls back a `Rollout`. + Rollback rollback = 2 [(google.api.field_behavior) = OPTIONAL]; + } +} + +// Retries the failed job. +message Retry { + // Required. Total number of retries. Retry is skipped if set to 0; The + // minimum value is 1, and the maximum value is 10. + int64 attempts = 1 [(google.api.field_behavior) = REQUIRED]; + + // Optional. How long to wait for the first retry. Default is 0, and the + // maximum value is 14d. + google.protobuf.Duration wait = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The pattern of how wait time will be increased. Default is + // linear. Backoff mode will be ignored if `wait` is 0. + BackoffMode backoff_mode = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// Rolls back a `Rollout`. +message Rollback { + // Optional. The starting phase ID for the `Rollout`. If unspecified, the + // `Rollout` will start in the stable phase. + string destination_phase = 1 [(google.api.field_behavior) = OPTIONAL]; +} + +// `AutomationRuleCondition` contains conditions relevant to an +// `Automation` rule. +message AutomationRuleCondition { + // Optional. Details around targets enumerated in the rule. + TargetsPresentCondition targets_present_condition = 1 + [(google.api.field_behavior) = OPTIONAL]; +} + +// The request object for `CreateAutomation`. +message CreateAutomationRequest { + // Required. The parent collection in which the `Automation` should be + // created. Format should be + // `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "clouddeploy.googleapis.com/Automation" + } + ]; + + // Required. ID of the `Automation`. + string automation_id = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The `Automation` to create. + Automation automation = 3 [(google.api.field_behavior) = REQUIRED]; + + // Optional. A request ID to identify requests. Specify a unique request ID + // so that if you must retry your request, the server knows to ignore the + // request if it has already been completed. The server guarantees that for + // at least 60 minutes after the first request. + // + // For example, consider a situation where you make an initial request and the + // request times out. If you make the request again with the same request ID, + // the server can check if original operation with the same request ID was + // received, and if so, will ignore the second request. This prevents clients + // from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If set to true, the request is validated and the user is provided + // with an expected result, but no actual change is made. + bool validate_only = 5 [(google.api.field_behavior) = OPTIONAL]; +} + +// The request object for `UpdateAutomation`. +message UpdateAutomationRequest { + // Required. Field mask is used to specify the fields to be overwritten in the + // `Automation` resource by the update. + // The fields specified in the update_mask are relative to the resource, not + // the full request. A field will be overwritten if it's in the mask. If the + // user doesn't provide a mask then all fields are overwritten. + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = REQUIRED]; + + // Required. The `Automation` to update. + Automation automation = 2 [(google.api.field_behavior) = REQUIRED]; + + // Optional. A request ID to identify requests. Specify a unique request ID + // so that if you must retry your request, the server knows to ignore the + // request if it has already been completed. The server guarantees that for + // at least 60 minutes after the first request. + // + // For example, consider a situation where you make an initial request and the + // request times out. If you make the request again with the same request ID, + // the server can check if original operation with the same request ID was + // received, and if so, will ignore the second request. This prevents clients + // from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If set to true, updating a `Automation` that does not exist will + // result in the creation of a new `Automation`. + bool allow_missing = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If set to true, the request is validated and the user is provided + // with an expected result, but no actual change is made. + bool validate_only = 5 [(google.api.field_behavior) = OPTIONAL]; +} + +// The request object for `DeleteAutomation`. +message DeleteAutomationRequest { + // Required. The name of the `Automation` to delete. Format should be + // `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "clouddeploy.googleapis.com/Automation" + } + ]; + + // Optional. A request ID to identify requests. Specify a unique request ID + // so that if you must retry your request, the server knows to ignore the + // request if it has already been completed. The server guarantees that for + // at least 60 minutes after the first request. + // + // For example, consider a situation where you make an initial request and the + // request times out. If you make the request again with the same request ID, + // the server can check if original operation with the same request ID was + // received, and if so, will ignore the second request. This prevents clients + // from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If set to true, then deleting an already deleted or non-existing + // `Automation` will succeed. + bool allow_missing = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If set, validate the request and verify whether the resource + // exists, but do not actually post it. + bool validate_only = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The weak etag of the request. + // This checksum is computed by the server based on the value of other + // fields, and may be sent on update and delete requests to ensure the + // client has an up-to-date value before proceeding. + string etag = 5 [(google.api.field_behavior) = OPTIONAL]; +} + +// The request object for `ListAutomations`. +message ListAutomationsRequest { + // Required. The parent `Delivery Pipeline`, which owns this collection of + // automations. Format must be + // `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "clouddeploy.googleapis.com/Automation" + } + ]; + + // The maximum number of automations to return. The service may return + // fewer than this value. If unspecified, at most 50 automations will + // be returned. The maximum value is 1000; values above 1000 will be set + // to 1000. + int32 page_size = 2; + + // A page token, received from a previous `ListAutomations` call. + // Provide this to retrieve the subsequent page. + // + // When paginating, all other provided parameters match + // the call that provided the page token. + string page_token = 3; + + // Filter automations to be returned. All fields can be used in the + // filter. + string filter = 4; + + // Field to sort by. + string order_by = 5; +} + +// The response object from `ListAutomations`. +message ListAutomationsResponse { + // The `Automation` objects. + repeated Automation automations = 1; + + // A token, which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; + + // Locations that could not be reached. + repeated string unreachable = 3; +} + +// The request object for `GetAutomation` +message GetAutomationRequest { + // Required. Name of the `Automation`. Format must be + // `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "clouddeploy.googleapis.com/Automation" + } + ]; +} + +// An `AutomationRun` resource in the Cloud Deploy API. +// +// An `AutomationRun` represents an execution instance of an +// automation rule. +message AutomationRun { + option (google.api.resource) = { + type: "clouddeploy.googleapis.com/AutomationRun" + pattern: "projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}" + }; + + // Valid state of an `AutomationRun`. + enum State { + // The `AutomationRun` has an unspecified state. + STATE_UNSPECIFIED = 0; + + // The `AutomationRun` has succeeded. + SUCCEEDED = 1; + + // The `AutomationRun` was cancelled. + CANCELLED = 2; + + // The `AutomationRun` has failed. + FAILED = 3; + + // The `AutomationRun` is in progress. + IN_PROGRESS = 4; + + // The `AutomationRun` is pending. + PENDING = 5; + } + + // Output only. Name of the `AutomationRun`. Format is + // `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`. + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Time at which the `AutomationRun` was created. + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Time at which the automationRun was updated. + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The weak etag of the `AutomationRun` resource. + // This checksum is computed by the server based on the value of other + // fields, and may be sent on update and delete requests to ensure the + // client has an up-to-date value before proceeding. + string etag = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Email address of the user-managed IAM service account that + // performs the operations against Cloud Deploy resources. + string service_account = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Snapshot of the Automation taken at AutomationRun creation + // time. + Automation automation_snapshot = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The ID of the target that represents the promotion stage that + // initiates the `AutomationRun`. The value of this field is the last segment + // of a target name. + string target_id = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Current state of the `AutomationRun`. + State state = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Explains the current state of the `AutomationRun`. Present + // only when an explanation is needed. + string state_description = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Time the `AutomationRun` expires. An `AutomationRun` expires + // after 14 days from its creation date. + google.protobuf.Timestamp expire_time = 11 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The ID of the automation rule that initiated the operation. + string rule_id = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The ID of the automation that initiated the operation. + string automation_id = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // The operation that the `AutomationRun` will perform. + oneof operation { + // Output only. Promotes a release to a specified 'Target'. + PromoteReleaseOperation promote_release_operation = 13 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Advances a rollout to the next phase. + AdvanceRolloutOperation advance_rollout_operation = 14 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Repairs a failed 'Rollout'. + RepairRolloutOperation repair_rollout_operation = 17 + [(google.api.field_behavior) = OUTPUT_ONLY]; + } + + // Output only. Earliest time the `AutomationRun` will attempt to resume. + // Wait-time is configured by `wait` in automation rule. + google.protobuf.Timestamp wait_until_time = 16 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// Contains the information of an automated promote-release operation. +message PromoteReleaseOperation { + // Output only. The ID of the target that represents the promotion stage to + // which the release will be promoted. The value of this field is the last + // segment of a target name. + string target_id = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. How long the operation will be paused. + google.protobuf.Duration wait = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The name of the rollout that initiates the `AutomationRun`. + string rollout = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The starting phase of the rollout created by this operation. + string phase = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// Contains the information of an automated advance-rollout operation. +message AdvanceRolloutOperation { + // Output only. The phase of a deployment that initiated the operation. + string source_phase = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. How long the operation will be paused. + google.protobuf.Duration wait = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The name of the rollout that initiates the `AutomationRun`. + string rollout = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The phase the rollout will be advanced to. + string destination_phase = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// Contains the information for an automated `repair rollout` operation. +message RepairRolloutOperation { + // Output only. The name of the rollout that initiates the `AutomationRun`. + string rollout = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The index of the current repair action in the repair sequence. + int64 current_repair_mode_index = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Records of the repair attempts. Each repair phase may have + // multiple retry attempts or single rollback attempt. + repeated RepairPhase repair_phases = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// RepairPhase tracks the repair attempts that have been made for +// each `RepairMode` specified in the `Automation` resource. +message RepairPhase { + oneof repair_phase { + // Output only. Records of the retry attempts for retry repair mode. + RetryPhase retry = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Rollback attempt for rollback repair mode . + RollbackAttempt rollback = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + } +} + +// RetryPhase contains the retry attempts and the metadata for initiating a +// new attempt. +message RetryPhase { + // Output only. The number of attempts that have been made. + int64 total_attempts = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The pattern of how the wait time of the retry attempt is + // calculated. + BackoffMode backoff_mode = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The phase ID of the phase that includes the job being retried. + string phase_id = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The job ID for the Job to retry. + string job_id = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Detail of a retry action. + repeated RetryAttempt attempts = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// RetryAttempt represents an action of retrying the failed Cloud Deploy job. +message RetryAttempt { + // Output only. The index of this retry attempt. + int64 attempt = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. How long the operation will be paused. + google.protobuf.Duration wait = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Valid state of this retry action. + RepairState state = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Description of the state of the Retry. + string state_desc = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// RollbackAttempt represents an action of rolling back a Cloud Deploy 'Target'. +message RollbackAttempt { + // Output only. The phase to which the rollout will be rolled back to. + string destination_phase = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. ID of the rollback `Rollout` to create. + string rollout_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Valid state of this rollback action. + RepairState state = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Description of the state of the Rollback. + string state_desc = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// The request object for `ListAutomationRuns`. +message ListAutomationRunsRequest { + // Required. The parent `Delivery Pipeline`, which owns this collection of + // automationRuns. Format must be + // `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "clouddeploy.googleapis.com/AutomationRun" + } + ]; + + // The maximum number of automationRuns to return. The service may return + // fewer than this value. If unspecified, at most 50 automationRuns will + // be returned. The maximum value is 1000; values above 1000 will be set + // to 1000. + int32 page_size = 2; + + // A page token, received from a previous `ListAutomationRuns` call. + // Provide this to retrieve the subsequent page. + // + // When paginating, all other provided parameters match + // the call that provided the page token. + string page_token = 3; + + // Filter automationRuns to be returned. All fields can be used in the + // filter. + string filter = 4; + + // Field to sort by. + string order_by = 5; +} + +// The response object from `ListAutomationRuns`. +message ListAutomationRunsResponse { + // The `AutomationRuns` objects. + repeated AutomationRun automation_runs = 1; + + // A token, which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; + + // Locations that could not be reached. + repeated string unreachable = 3; +} + +// The request object for `GetAutomationRun` +message GetAutomationRunRequest { + // Required. Name of the `AutomationRun`. Format must be + // `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "clouddeploy.googleapis.com/AutomationRun" + } + ]; +} + +// The request object used by `CancelAutomationRun`. +message CancelAutomationRunRequest { + // Required. Name of the `AutomationRun`. Format is + // `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "clouddeploy.googleapis.com/AutomationRun" + } + ]; +} + +// The response object from `CancelAutomationRun`. +message CancelAutomationRunResponse {} + +// The support state of a specific Skaffold version. +enum SkaffoldSupportState { + // Default value. This value is unused. + SKAFFOLD_SUPPORT_STATE_UNSPECIFIED = 0; + + // This Skaffold version is currently supported. + SKAFFOLD_SUPPORT_STATE_SUPPORTED = 1; + + // This Skaffold version is in maintenance mode. + SKAFFOLD_SUPPORT_STATE_MAINTENANCE_MODE = 2; + + // This Skaffold version is no longer supported. + SKAFFOLD_SUPPORT_STATE_UNSUPPORTED = 3; +} + +// The pattern of how wait time is increased. +enum BackoffMode { + // No WaitMode is specified. + BACKOFF_MODE_UNSPECIFIED = 0; + + // Increases the wait time linearly. + BACKOFF_MODE_LINEAR = 1; + + // Increases the wait time exponentially. + BACKOFF_MODE_EXPONENTIAL = 2; +} + +// Valid state of a repair attempt. +enum RepairState { + // The `repair` has an unspecified state. + REPAIR_STATE_UNSPECIFIED = 0; + + // The `repair` action has succeeded. + REPAIR_STATE_SUCCEEDED = 1; + + // The `repair` action was cancelled. + REPAIR_STATE_CANCELLED = 2; + + // The `repair` action has failed. + REPAIR_STATE_FAILED = 3; + + // The `repair` action is in progress. + REPAIR_STATE_IN_PROGRESS = 4; + + // The `repair` action is pending. + REPAIR_STATE_PENDING = 5; + + // The `repair` action was skipped. + REPAIR_STATE_SKIPPED = 6; +} diff --git a/third_party/googleapis/google/cloud/deploy/v1/clouddeploy_grpc_service_config.json b/third_party/googleapis/google/cloud/deploy/v1/clouddeploy_grpc_service_config.json index 53711d436..d0f28ae8a 100644 --- a/third_party/googleapis/google/cloud/deploy/v1/clouddeploy_grpc_service_config.json +++ b/third_party/googleapis/google/cloud/deploy/v1/clouddeploy_grpc_service_config.json @@ -45,6 +45,30 @@ { "service": "google.cloud.deploy.v1.CloudDeploy", "method": "GetConfig" + }, + { + "service": "google.cloud.deploy.v1.CloudDeploy", + "method": "ListAutomationRuns" + }, + { + "service": "google.cloud.deploy.v1.CloudDeploy", + "method": "GetAutomationRun" + }, + { + "service": "google.cloud.deploy.v1.CloudDeploy", + "method": "ListAutomations" + }, + { + "service": "google.cloud.deploy.v1.CloudDeploy", + "method": "GetAutomation" + }, + { + "service": "google.cloud.deploy.v1.CloudDeploy", + "method": "ListCustomTargetTypes" + }, + { + "service": "google.cloud.deploy.v1.CloudDeploy", + "method": "GetCustomTargetType" } ], "timeout": "60s", @@ -52,7 +76,9 @@ "initialBackoff": "1s", "maxBackoff": "60s", "backoffMultiplier": 1.3, - "retryableStatusCodes": ["UNAVAILABLE"] + "retryableStatusCodes": [ + "UNAVAILABLE" + ] } }, { @@ -100,6 +126,50 @@ { "service": "google.cloud.deploy.v1.CloudDeploy", "method": "RetryJob" + }, + { + "service": "google.cloud.deploy.v1.CloudDeploy", + "method": "AdvanceRollout" + }, + { + "service": "google.cloud.deploy.v1.CloudDeploy", + "method": "CancelRollout" + }, + { + "service": "google.cloud.deploy.v1.CloudDeploy", + "method": "IgnoreJob" + }, + { + "service": "google.cloud.deploy.v1.CloudDeploy", + "method": "TerminateJobRun" + }, + { + "service": "google.cloud.deploy.v1.CloudDeploy", + "method": "CancelAutomationRun" + }, + { + "service": "google.cloud.deploy.v1.CloudDeploy", + "method": "DeleteAutomation" + }, + { + "service": "google.cloud.deploy.v1.CloudDeploy", + "method": "UpdateAutomation" + }, + { + "service": "google.cloud.deploy.v1.CloudDeploy", + "method": "CreateAutomation" + }, + { + "service": "google.cloud.deploy.v1.CloudDeploy", + "method": "DeleteCustomTargetType" + }, + { + "service": "google.cloud.deploy.v1.CloudDeploy", + "method": "UpdateCustomTargetType" + }, + { + "service": "google.cloud.deploy.v1.CloudDeploy", + "method": "CreateCustomTargetType" } ], "timeout": "60s" diff --git a/third_party/googleapis/google/cloud/deploy/v1/clouddeploy_v1.yaml b/third_party/googleapis/google/cloud/deploy/v1/clouddeploy_v1.yaml index 4140f7327..77df4d49a 100644 --- a/third_party/googleapis/google/cloud/deploy/v1/clouddeploy_v1.yaml +++ b/third_party/googleapis/google/cloud/deploy/v1/clouddeploy_v1.yaml @@ -1,7 +1,7 @@ type: google.api.Service config_version: 3 name: clouddeploy.googleapis.com -title: Google Cloud Deploy API +title: Cloud Deploy API apis: - name: google.cloud.deploy.v1.CloudDeploy @@ -10,12 +10,15 @@ apis: - name: google.longrunning.Operations types: +- name: google.cloud.deploy.v1.AutomationEvent +- name: google.cloud.deploy.v1.AutomationRunEvent - name: google.cloud.deploy.v1.DeliveryPipelineNotificationEvent - name: google.cloud.deploy.v1.JobRunNotificationEvent - name: google.cloud.deploy.v1.OperationMetadata - name: google.cloud.deploy.v1.ReleaseNotificationEvent - name: google.cloud.deploy.v1.ReleaseRenderEvent - name: google.cloud.deploy.v1.RolloutNotificationEvent +- name: google.cloud.deploy.v1.RolloutUpdateEvent - name: google.cloud.deploy.v1.TargetNotificationEvent documentation: @@ -49,19 +52,6 @@ documentation: permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. -backend: - rules: - - selector: 'google.cloud.deploy.v1.CloudDeploy.*' - deadline: 60.0 - - selector: google.cloud.location.Locations.GetLocation - deadline: 60.0 - - selector: google.cloud.location.Locations.ListLocations - deadline: 60.0 - - selector: 'google.iam.v1.IAMPolicy.*' - deadline: 60.0 - - selector: 'google.longrunning.Operations.*' - deadline: 60.0 - http: rules: - selector: google.cloud.location.Locations.GetLocation diff --git a/third_party/googleapis/google/cloud/deploy/v1/deliverypipeline_notification_payload.proto b/third_party/googleapis/google/cloud/deploy/v1/deliverypipeline_notification_payload.proto index 6ba9b13a1..5cba63380 100644 --- a/third_party/googleapis/google/cloud/deploy/v1/deliverypipeline_notification_payload.proto +++ b/third_party/googleapis/google/cloud/deploy/v1/deliverypipeline_notification_payload.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -30,6 +30,9 @@ message DeliveryPipelineNotificationEvent { // Debug message for when a notification fails to send. string message = 1; + // Unique identifier of the `DeliveryPipeline`. + string pipeline_uid = 4; + // The name of the `Delivery Pipeline`. string delivery_pipeline = 2; diff --git a/third_party/googleapis/google/cloud/deploy/v1/jobrun_notification_payload.proto b/third_party/googleapis/google/cloud/deploy/v1/jobrun_notification_payload.proto index a3049eb0e..29396ccff 100644 --- a/third_party/googleapis/google/cloud/deploy/v1/jobrun_notification_payload.proto +++ b/third_party/googleapis/google/cloud/deploy/v1/jobrun_notification_payload.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -39,9 +39,15 @@ message JobRunNotificationEvent { // Unique identifier of the `Release`. string release_uid = 4; + // The name of the `Release`. + string release = 8; + // Unique identifier of the `Rollout`. string rollout_uid = 5; + // The name of the `Rollout`. + string rollout = 9; + // ID of the `Target`. string target_id = 6; diff --git a/third_party/googleapis/google/cloud/deploy/v1/log_enums.proto b/third_party/googleapis/google/cloud/deploy/v1/log_enums.proto index 649ad98c6..ab9dcb209 100644 --- a/third_party/googleapis/google/cloud/deploy/v1/log_enums.proto +++ b/third_party/googleapis/google/cloud/deploy/v1/log_enums.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -29,6 +29,21 @@ enum Type { // A Pub/Sub notification failed to be sent. TYPE_PUBSUB_NOTIFICATION_FAILURE = 1; - // Release render status changed notification. - TYPE_RENDER_STATUES_CHANGE = 2; + // Resource state changed. + TYPE_RESOURCE_STATE_CHANGE = 3; + + // A process aborted. + TYPE_PROCESS_ABORTED = 4; + + // Restriction check failed. + TYPE_RESTRICTION_VIOLATED = 5; + + // Resource deleted. + TYPE_RESOURCE_DELETED = 6; + + // Rollout updated. + TYPE_ROLLOUT_UPDATE = 7; + + // Deprecated: This field is never used. Use release_render log type instead. + TYPE_RENDER_STATUES_CHANGE = 2 [deprecated = true]; } diff --git a/third_party/googleapis/google/cloud/deploy/v1/release_notification_payload.proto b/third_party/googleapis/google/cloud/deploy/v1/release_notification_payload.proto index f0e117fa4..4686438aa 100644 --- a/third_party/googleapis/google/cloud/deploy/v1/release_notification_payload.proto +++ b/third_party/googleapis/google/cloud/deploy/v1/release_notification_payload.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -30,6 +30,12 @@ message ReleaseNotificationEvent { // Debug message for when a notification fails to send. string message = 1; + // Unique identifier of the `DeliveryPipeline`. + string pipeline_uid = 4; + + // Unique identifier of the `Release`. + string release_uid = 5; + // The name of the `Release`. string release = 2; diff --git a/third_party/googleapis/google/cloud/deploy/v1/release_render_payload.proto b/third_party/googleapis/google/cloud/deploy/v1/release_render_payload.proto index a8d18dcf5..9d2a84698 100644 --- a/third_party/googleapis/google/cloud/deploy/v1/release_render_payload.proto +++ b/third_party/googleapis/google/cloud/deploy/v1/release_render_payload.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,6 +16,9 @@ syntax = "proto3"; package google.cloud.deploy.v1; +import "google/cloud/deploy/v1/cloud_deploy.proto"; +import "google/cloud/deploy/v1/log_enums.proto"; + option go_package = "cloud.google.com/go/deploy/apiv1/deploypb;deploypb"; option java_multiple_files = true; option java_outer_classname = "ReleaseRenderPayloadProto"; @@ -28,6 +31,17 @@ message ReleaseRenderEvent { // details as rendering progresses through render states. string message = 1; - // The name of the `Release`. + // Unique identifier of the `DeliveryPipeline`. + string pipeline_uid = 4; + + // The name of the release. + // release_uid is not in this log message because we write some of these log + // messages at release creation time, before we've generated the uid. string release = 2; + + // Type of this notification, e.g. for a release render state change event. + Type type = 5; + + // The state of the release render. + Release.RenderState release_render_state = 3; } diff --git a/third_party/googleapis/google/cloud/deploy/v1/rollout_notification_payload.proto b/third_party/googleapis/google/cloud/deploy/v1/rollout_notification_payload.proto index 31cc0f40d..15d09f605 100644 --- a/third_party/googleapis/google/cloud/deploy/v1/rollout_notification_payload.proto +++ b/third_party/googleapis/google/cloud/deploy/v1/rollout_notification_payload.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -36,12 +36,18 @@ message RolloutNotificationEvent { // Unique identifier of the `Release`. string release_uid = 3; + // The name of the `Release`. + string release = 7; + + // Unique identifier of the `Rollout`. + string rollout_uid = 8; + // The name of the `Rollout`. string rollout = 4; - // Type of this notification, e.g. for a Pub/Sub failure. - Type type = 5; - // ID of the `Target` that the rollout is deployed to. string target_id = 6; + + // Type of this notification, e.g. for a Pub/Sub failure. + Type type = 5; } diff --git a/third_party/googleapis/google/cloud/deploy/v1/target_notification_payload.proto b/third_party/googleapis/google/cloud/deploy/v1/target_notification_payload.proto index 734f5a44f..d38df104c 100644 --- a/third_party/googleapis/google/cloud/deploy/v1/target_notification_payload.proto +++ b/third_party/googleapis/google/cloud/deploy/v1/target_notification_payload.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/dialogflow/BUILD.bazel b/third_party/googleapis/google/cloud/dialogflow/BUILD.bazel index fd677c894..9398d680e 100644 --- a/third_party/googleapis/google/cloud/dialogflow/BUILD.bazel +++ b/third_party/googleapis/google/cloud/dialogflow/BUILD.bazel @@ -22,7 +22,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-dialogflow", "ruby-cloud-env-prefix=DIALOGFLOW", - "ruby-cloud-wrapper-of=v2:0.15", + "ruby-cloud-wrapper-of=v2:0.32", "ruby-cloud-product-url=https://cloud.google.com/dialogflow", "ruby-cloud-api-id=dialogflow.googleapis.com", "ruby-cloud-api-shortname=dialogflow", @@ -30,6 +30,7 @@ ruby_cloud_gapic_library( ], ruby_cloud_description = "Dialogflow is an end-to-end, build-once deploy-everywhere development suite for creating conversational interfaces for websites, mobile applications, popular messaging platforms, and IoT devices. You can use it to build interfaces (such as chatbots and conversational IVR) that enable natural and rich interactions between your users and your business. This client is for Dialogflow ES, providing the standard agent type suitable for small and simple agents.", ruby_cloud_title = "Dialogflow", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/BUILD.bazel b/third_party/googleapis/google/cloud/dialogflow/cx/BUILD.bazel index b7db212b4..b73ec4221 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/BUILD.bazel +++ b/third_party/googleapis/google/cloud/dialogflow/cx/BUILD.bazel @@ -22,7 +22,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-dialogflow-cx", "ruby-cloud-env-prefix=DIALOGFLOW", - "ruby-cloud-wrapper-of=v3:0.3", + "ruby-cloud-wrapper-of=v3:0.24", "ruby-cloud-product-url=https://cloud.google.com/dialogflow", "ruby-cloud-api-id=dialogflow.googleapis.com", "ruby-cloud-api-shortname=dialogflow", @@ -30,6 +30,7 @@ ruby_cloud_gapic_library( ], ruby_cloud_description = "Dialogflow is an end-to-end, build-once deploy-everywhere development suite for creating conversational interfaces for websites, mobile applications, popular messaging platforms, and IoT devices. You can use it to build interfaces (such as chatbots and conversational IVR) that enable natural and rich interactions between your users and your business. This client is for Dialogflow CX, providing an advanced agent type suitable for large or very complex agents.", ruby_cloud_title = "Dialogflow CX", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3/BUILD.bazel b/third_party/googleapis/google/cloud/dialogflow/cx/v3/BUILD.bazel index 2909ddb66..9f430d6e7 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3/BUILD.bazel +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3/BUILD.bazel @@ -25,6 +25,7 @@ proto_library( "agent.proto", "audio_config.proto", "changelog.proto", + "data_store_connection.proto", "deployment.proto", "entity_type.proto", "environment.proto", @@ -32,9 +33,14 @@ proto_library( "flow.proto", "fulfillment.proto", "gcs.proto", + "generative_settings.proto", + "generator.proto", + "import_strategy.proto", + "inline.proto", "intent.proto", "page.proto", "response_message.proto", + "safety_settings.proto", "security_settings.proto", "session.proto", "session_entity_type.proto", @@ -128,6 +134,8 @@ java_gapic_test( "com.google.cloud.dialogflow.cx.v3.ExperimentsClientTest", "com.google.cloud.dialogflow.cx.v3.FlowsClientHttpJsonTest", "com.google.cloud.dialogflow.cx.v3.FlowsClientTest", + "com.google.cloud.dialogflow.cx.v3.GeneratorsClientHttpJsonTest", + "com.google.cloud.dialogflow.cx.v3.GeneratorsClientTest", "com.google.cloud.dialogflow.cx.v3.IntentsClientHttpJsonTest", "com.google.cloud.dialogflow.cx.v3.IntentsClientTest", "com.google.cloud.dialogflow.cx.v3.PagesClientHttpJsonTest", @@ -171,7 +179,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -208,19 +215,13 @@ go_gapic_library( ], ) -go_test( - name = "cx_go_gapic_test", - srcs = [":cx_go_gapic_srcjar_test"], - embed = [":cx_go_gapic"], - importpath = "cloud.google.com/go/dialogflow/cx/apiv3", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-dialogflow-cx-v3-go", deps = [ ":cx_go_gapic", ":cx_go_gapic_srcjar-metadata.srcjar", + ":cx_go_gapic_srcjar-snippets.srcjar", ":cx_go_gapic_srcjar-test.srcjar", ":cx_go_proto", ], @@ -252,16 +253,15 @@ py_gapic_library( ], ) -# Uncomment once https://github.com/googleapis/gapic-generator-python/issues/1376 is fixed -# py_test( -# name = "cx_py_gapic_test", -# srcs = [ -# "cx_py_gapic_pytest.py", -# "cx_py_gapic_test.py", -# ], -# legacy_create_init = False, -# deps = [":cx_py_gapic"], -# ) +py_test( + name = "cx_py_gapic_test", + srcs = [ + "cx_py_gapic_pytest.py", + "cx_py_gapic_test.py", + ], + legacy_create_init = False, + deps = [":cx_py_gapic"], +) # Open Source Packages py_gapic_assembly_pkg( @@ -278,7 +278,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -287,21 +286,15 @@ php_proto_library( deps = [":cx_proto"], ) -php_grpc_library( - name = "cx_php_grpc", - srcs = [":cx_proto"], - deps = [":cx_php_proto"], -) - php_gapic_library( name = "cx_php_gapic", srcs = [":cx_proto_with_info"], grpc_service_config = "dialogflow_grpc_service_config.json", + migration_mode = "NEW_SURFACE_ONLY", rest_numeric_enums = True, service_yaml = "dialogflow_v3.yaml", transport = "grpc+rest", deps = [ - ":cx_php_grpc", ":cx_php_proto", ], ) @@ -311,7 +304,6 @@ php_gapic_assembly_pkg( name = "google-cloud-dialogflow-cx-v3-php", deps = [ ":cx_php_gapic", - ":cx_php_grpc", ":cx_php_proto", ], ) @@ -385,6 +377,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Dialogflow is an end-to-end, build-once deploy-everywhere development suite for creating conversational interfaces for websites, mobile applications, popular messaging platforms, and IoT devices. You can use it to build interfaces (such as chatbots and conversational IVR) that enable natural and rich interactions between your users and your business. This client is for Dialogflow CX, providing an advanced agent type suitable for large or very complex agents.", ruby_cloud_title = "Dialogflow CX V3", service_yaml = "dialogflow_v3.yaml", + transport = "grpc+rest", deps = [ ":cx_ruby_grpc", ":cx_ruby_proto", @@ -414,6 +407,7 @@ load( csharp_proto_library( name = "cx_csharp_proto", + extra_opts = [], deps = [":cx_proto"], ) diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3/advanced_settings.proto b/third_party/googleapis/google/cloud/dialogflow/cx/v3/advanced_settings.proto index 05460932a..5f8cb9194 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3/advanced_settings.proto +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3/advanced_settings.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -40,6 +40,23 @@ option ruby_package = "Google::Cloud::Dialogflow::CX::V3"; // // Hierarchy: Agent->Flow->Page->Fulfillment/Parameter. message AdvancedSettings { + // Define behaviors for DTMF (dual tone multi frequency). + message DtmfSettings { + // If true, incoming audio is processed for DTMF (dual tone multi frequency) + // events. For example, if the caller presses a button on their telephone + // keypad and DTMF processing is enabled, Dialogflow will detect the + // event (e.g. a "3" was pressed) in the incoming audio and pass the event + // to the bot to drive business logic (e.g. when 3 is pressed, return the + // account balance). + bool enabled = 1; + + // Max length of DTMF digits. + int32 max_digits = 2; + + // The digit that terminates a DTMF digit sequence. + string finish_digit = 3; + } + // Define behaviors on logging. message LoggingSettings { // If true, StackDriver logging is currently enabled. @@ -56,6 +73,14 @@ message AdvancedSettings { // - Flow level GcsDestination audio_export_gcs_destination = 2; + // Settings for DTMF. + // Exposed at the following levels: + // - Agent level + // - Flow level + // - Page level + // - Parameter level. + DtmfSettings dtmf_settings = 5; + // Settings for logging. // Settings for Dialogflow History, Contact Center messages, StackDriver logs, // and speech logging. diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3/agent.proto b/third_party/googleapis/google/cloud/dialogflow/cx/v3/agent.proto index 2c7ed1adb..b83c9c393 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3/agent.proto +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3/agent.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -23,6 +23,7 @@ import "google/api/resource.proto"; import "google/cloud/dialogflow/cx/v3/advanced_settings.proto"; import "google/cloud/dialogflow/cx/v3/audio_config.proto"; import "google/cloud/dialogflow/cx/v3/flow.proto"; +import "google/cloud/dialogflow/cx/v3/generative_settings.proto"; import "google/longrunning/operations.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; @@ -162,6 +163,25 @@ service Agents { }; option (google.api.method_signature) = "name"; } + + // Gets the generative settings for the agent. + rpc GetGenerativeSettings(GetGenerativeSettingsRequest) + returns (GenerativeSettings) { + option (google.api.http) = { + get: "/v3/{name=projects/*/locations/*/agents/*/generativeSettings}" + }; + option (google.api.method_signature) = "name,language_code"; + } + + // Updates the generative settings for the agent. + rpc UpdateGenerativeSettings(UpdateGenerativeSettingsRequest) + returns (GenerativeSettings) { + option (google.api.http) = { + patch: "/v3/{generative_settings.name=projects/*/locations/*/agents/*/generativeSettings}" + body: "generative_settings" + }; + option (google.api.method_signature) = "generative_settings,update_mask"; + } } // Settings related to speech recognition. @@ -180,14 +200,60 @@ message SpeechToTextSettings { // Types][google.cloud.dialogflow.cx.v3.EntityType], // [Flows][google.cloud.dialogflow.cx.v3.Flow], // [Fulfillments][google.cloud.dialogflow.cx.v3.Fulfillment], -// [Webhooks][google.cloud.dialogflow.cx.v3.Webhook], and so on to manage the -// conversation flows.. +// [Webhooks][google.cloud.dialogflow.cx.v3.Webhook], +// [TransitionRouteGroups][google.cloud.dialogflow.cx.v3.TransitionRouteGroup] +// and so on to manage the conversation flows. message Agent { option (google.api.resource) = { type: "dialogflow.googleapis.com/Agent" pattern: "projects/{project}/locations/{location}/agents/{agent}" }; + // Settings for connecting to Git repository for an agent. + message GitIntegrationSettings { + // Settings of integration with GitHub. + message GithubSettings { + // The unique repository display name for the GitHub repository. + string display_name = 1; + + // The GitHub repository URI related to the agent. + string repository_uri = 2; + + // The branch of the GitHub repository tracked for this agent. + string tracking_branch = 3; + + // The access token used to authenticate the access to the GitHub + // repository. + string access_token = 4; + + // A list of branches configured to be used from Dialogflow. + repeated string branches = 5; + } + + // The git settings to specific systems. + oneof git_settings { + // GitHub settings. + GithubSettings github_settings = 1; + } + } + + // Settings for Gen App Builder. + message GenAppBuilderSettings { + // Required. The full name of the Gen App Builder engine related to this + // agent if there is one. Format: `projects/{Project ID}/locations/{Location + // ID}/collections/{Collection ID}/engines/{Engine ID}` + string engine = 1 [(google.api.field_behavior) = REQUIRED]; + } + + // Settings for answer feedback collection. + message AnswerFeedbackSettings { + // Optional. If enabled, end users will be able to provide + // [answer feedback][google.cloud.dialogflow.cx.v3.AnswerFeedback] to + // Dialogflow responses. Feature works only if interaction logging is + // enabled in the Dialogflow agent. + bool enable_answer_feedback = 1 [(google.api.field_behavior) = OPTIONAL]; + } + // The unique identifier of the agent. // Required for the // [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3.Agents.UpdateAgent] @@ -237,7 +303,8 @@ message Agent { // Immutable. Name of the start flow in this agent. A start flow will be // automatically created when the agent is created, and can only be deleted by // deleting the agent. Format: `projects//locations//agents//flows/`. + // ID>/agents//flows/`. Currently only the default start + // flow with id "00000000-0000-0000-0000-000000000000" is allowed. string start_flow = 16 [ (google.api.field_behavior) = IMMUTABLE, (google.api.resource_reference) = { type: "dialogflow.googleapis.com/Flow" } @@ -269,9 +336,19 @@ message Agent { // lower level overrides the settings exposed at the higher level. AdvancedSettings advanced_settings = 22; + // Git integration settings for this agent. + GitIntegrationSettings git_integration_settings = 30; + // Settings on instructing the speech synthesizer on how to generate the // output audio content. TextToSpeechSettings text_to_speech_settings = 31; + + // Gen App Builder-related agent-level settings. + optional GenAppBuilderSettings gen_app_builder_settings = 33; + + // Optional. Answer feedback collection settings. + AnswerFeedbackSettings answer_feedback_settings = 38 + [(google.api.field_behavior) = OPTIONAL]; } // The request message for @@ -374,6 +451,15 @@ message ExportAgentRequest { JSON_PACKAGE = 4; } + // Settings for exporting to a git branch. + message GitDestination { + // Tracking branch for the git push. + string tracking_branch = 1; + + // Commit message for the git push. + string commit_message = 2; + } + // Required. The name of the agent to export. // Format: `projects//locations//agents/`. string name = 1 [ @@ -408,6 +494,13 @@ message ExportAgentRequest { type: "dialogflow.googleapis.com/Environment" } ]; + + // Optional. The Git branch to export the agent to. + GitDestination git_destination = 6 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Whether to include BigQuery Export setting. + bool include_bigquery_export_settings = 7 + [(google.api.field_behavior) = OPTIONAL]; } // The response message for @@ -416,18 +509,31 @@ message ExportAgentResponse { // The exported agent. oneof agent { // The URI to a file containing the exported agent. This field is populated - // only if `agent_uri` is specified in + // if `agent_uri` is specified in // [ExportAgentRequest][google.cloud.dialogflow.cx.v3.ExportAgentRequest]. string agent_uri = 1; - // Uncompressed raw byte content for agent. + // Uncompressed raw byte content for agent. This field is populated + // if none of `agent_uri` and `git_destination` are specified in + // [ExportAgentRequest][google.cloud.dialogflow.cx.v3.ExportAgentRequest]. bytes agent_content = 2; + + // Commit SHA of the git push. This field is populated if + // `git_destination` is specified in + // [ExportAgentRequest][google.cloud.dialogflow.cx.v3.ExportAgentRequest]. + string commit_sha = 3; } } // The request message for // [Agents.RestoreAgent][google.cloud.dialogflow.cx.v3.Agents.RestoreAgent]. message RestoreAgentRequest { + // Settings for restoring from a git branch + message GitSource { + // tracking branch for the git pull + string tracking_branch = 1; + } + // Restore option. enum RestoreOption { // Unspecified. Treated as KEEP. @@ -467,6 +573,9 @@ message RestoreAgentRequest { // Uncompressed raw byte content for agent. bytes agent_content = 3; + + // Setting for restoring from a git branch + GitSource git_source = 6; } // Agent restore mode. If not specified, `KEEP` is assumed. @@ -522,3 +631,34 @@ message AgentValidationResult { // Contains all flow validation results. repeated FlowValidationResult flow_validation_results = 2; } + +// Request for +// [GetGenerativeSettings][google.cloud.dialogflow.cx.v3.Agents.GetGenerativeSettings] +// RPC. +message GetGenerativeSettingsRequest { + // Required. Format: `projects//locations//agents//generativeSettings`. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dialogflow.googleapis.com/AgentGenerativeSettings" + } + ]; + + // Required. Language code of the generative settings. + string language_code = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// Request for +// [UpdateGenerativeSettings][google.cloud.dialogflow.cx.v3.Agents.UpdateGenerativeSettings] +// RPC. +message UpdateGenerativeSettingsRequest { + // Required. Generative settings to update. + GenerativeSettings generative_settings = 1 + [(google.api.field_behavior) = REQUIRED]; + + // Optional. The mask to control which fields get updated. If the mask is not + // present, all fields will be updated. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = OPTIONAL]; +} diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3/audio_config.proto b/third_party/googleapis/google/cloud/dialogflow/cx/v3/audio_config.proto index 259c81cb4..fdeb750a3 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3/audio_config.proto +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3/audio_config.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -97,10 +97,6 @@ enum SpeechModelVariant { // Use the best available variant of the [Speech // model][InputAudioConfig.model] that the caller is eligible for. - // - // Please see the [Dialogflow - // docs](https://cloud.google.com/dialogflow/docs/data-logging) for - // how to make your project eligible for enhanced models. USE_BEST_AVAILABLE = 1; // Use standard model variant even if an enhanced model is available. See the @@ -118,11 +114,6 @@ enum SpeechModelVariant { // The [Cloud Speech // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) // describes which models have enhanced variants. - // - // * If the API caller isn't eligible for enhanced models, Dialogflow returns - // an error. Please see the [Dialogflow - // docs](https://cloud.google.com/dialogflow/docs/data-logging) - // for how to make your project eligible. USE_ENHANCED = 3; } @@ -151,6 +142,39 @@ message SpeechWordInfo { float confidence = 4; } +// Configuration of the barge-in behavior. Barge-in instructs the API to return +// a detected utterance at a proper time while the client is playing back the +// response audio from a previous request. When the client sees the +// utterance, it should stop the playback and immediately get ready for +// receiving the responses for the current request. +// +// The barge-in handling requires the client to start streaming audio input +// as soon as it starts playing back the audio from the previous response. The +// playback is modeled into two phases: +// +// * No barge-in phase: which goes first and during which speech detection +// should not be carried out. +// +// * Barge-in phase: which follows the no barge-in phase and during which +// the API starts speech detection and may inform the client that an utterance +// has been detected. Note that no-speech event is not expected in this +// phase. +// +// The client provides this configuration in terms of the durations of those +// two phases. The durations are measured in terms of the audio length from the +// the start of the input audio. +// +// No-speech event is a response with END_OF_UTTERANCE without any transcript +// following up. +message BargeInConfig { + // Duration that is not eligible for barge-in at the beginning of the input + // audio. + google.protobuf.Duration no_barge_in_duration = 1; + + // Total duration for the playback at the beginning of the input audio. + google.protobuf.Duration total_duration = 2; +} + // Instructs the speech recognizer on how to process the audio content. message InputAudioConfig { // Required. Audio encoding of the audio content to process. @@ -179,17 +203,10 @@ message InputAudioConfig { // for more details. repeated string phrase_hints = 4; - // Optional. Which Speech model to select for the given request. Select the - // model best suited to your domain to get best results. If a model is not - // explicitly specified, then we auto-select a model based on the parameters - // in the InputAudioConfig. - // If enhanced speech model is enabled for the agent and an enhanced - // version of the specified model for the language does not exist, then the - // speech is recognized using the standard version of the specified model. - // Refer to - // [Cloud Speech API - // documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model) - // for more details. + // Optional. Which Speech model to select for the given request. + // For more information, see + // [Speech + // models](https://cloud.google.com/dialogflow/cx/docs/concept/speech-models). string model = 7; // Optional. Which variant of the [Speech @@ -205,6 +222,15 @@ message InputAudioConfig { // needed. // Note: This setting is relevant only for streaming methods. bool single_utterance = 8; + + // Configuration of barge-in behavior during the streaming of input audio. + BargeInConfig barge_in_config = 15; + + // If `true`, the request will opt out for STT conformer model migration. + // This field will be deprecated once force migration takes place in June + // 2024. Please refer to [Dialogflow CX Speech model + // migration](https://cloud.google.com/dialogflow/cx/docs/concept/speech-model-migration). + bool opt_out_conformer_model_migration = 26; } // Gender of the voice as described in @@ -314,13 +340,30 @@ message OutputAudioConfig { int32 sample_rate_hertz = 2; // Optional. Configuration of how speech should be synthesized. + // If not specified, + // [Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3.Agent.text_to_speech_settings] + // is applied. SynthesizeSpeechConfig synthesize_speech_config = 3; } -// Settings related to speech generating. +// Settings related to speech synthesizing. message TextToSpeechSettings { - // Configuration of how speech should be synthesized, mapping from - // language (https://dialogflow.com/docs/reference/language) to + // Configuration of how speech should be synthesized, mapping from language + // (https://cloud.google.com/dialogflow/cx/docs/reference/language) to // SynthesizeSpeechConfig. + // + // These settings affect: + // + // - The [phone + // gateway](https://cloud.google.com/dialogflow/cx/docs/concept/integration/phone-gateway) + // synthesize configuration set via + // [Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3.Agent.text_to_speech_settings]. + // + // - How speech is synthesized when invoking + // [session][google.cloud.dialogflow.cx.v3.Sessions] APIs. + // [Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3.Agent.text_to_speech_settings] + // only applies if + // [OutputAudioConfig.synthesize_speech_config][google.cloud.dialogflow.cx.v3.OutputAudioConfig.synthesize_speech_config] + // is not specified. map synthesize_speech_configs = 1; } diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3/changelog.proto b/third_party/googleapis/google/cloud/dialogflow/cx/v3/changelog.proto index b7d8b29dc..e78dd93eb 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3/changelog.proto +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3/changelog.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -153,4 +153,7 @@ message Changelog { // The timestamp of the change. google.protobuf.Timestamp create_time = 4; + + // The affected language code of the change. + string language_code = 14; } diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3/deployment.proto b/third_party/googleapis/google/cloud/dialogflow/cx/v3/deployment.proto index cf12a953b..c676332e3 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3/deployment.proto +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3/deployment.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -58,7 +58,7 @@ service Deployments { } } -// Represents an deployment in an environment. A deployment happens when a flow +// Represents a deployment in an environment. A deployment happens when a flow // version configured to be active in the environment. You can configure running // pre-deployment steps, e.g. running validation test cases, experiment // auto-rollout, etc. diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3/dialogflow_grpc_service_config.json b/third_party/googleapis/google/cloud/dialogflow/cx/v3/dialogflow_grpc_service_config.json index 11c0d325e..d2725e945 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3/dialogflow_grpc_service_config.json +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3/dialogflow_grpc_service_config.json @@ -11,6 +11,9 @@ { "service": "google.cloud.dialogflow.cx.v3.Deployments" }, + { + "service": "google.cloud.dialogflow.cx.v3.EncryptionSpecService" + }, { "service": "google.cloud.dialogflow.cx.v3.EntityTypes" }, @@ -26,12 +29,24 @@ { "service": "google.cloud.dialogflow.cx.v3.Fulfillments" }, + { + "service": "google.cloud.dialogflow.cx.v3.Generators" + }, { "service": "google.cloud.dialogflow.cx.v3.Intents" }, { "service": "google.cloud.dialogflow.cx.v3.Pages" }, + { + "service": "google.cloud.dialogflow.cx.v3.Playbooks" + }, + { + "service": "google.cloud.dialogflow.cx.v3.Examples" + }, + { + "service": "google.cloud.dialogflow.cx.v3.Tools" + }, { "service": "google.cloud.dialogflow.cx.v3.SecuritySettingsService" }, @@ -70,6 +85,23 @@ ] } }, + { + "name": [ + { + "service": "google.cloud.dialogflow.cx.v3.Agents", + "method": "CreateAgent" + } + ], + "timeout": "180s", + "retryPolicy": { + "initialBackoff": "0.100s", + "maxBackoff": "60s", + "backoffMultiplier": 1.3, + "retryableStatusCodes": [ + "UNAVAILABLE" + ] + } + }, { "name": [ { @@ -92,6 +124,10 @@ { "service": "google.cloud.dialogflow.cx.v3.Sessions", "method": "StreamingDetectIntent" + }, + { + "service": "google.cloud.dialogflow.cx.v3.Sessions", + "method": "ServerStreamingDetectIntent" } ], "timeout": "220s" diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3/dialogflow_v3.yaml b/third_party/googleapis/google/cloud/dialogflow/cx/v3/dialogflow_v3.yaml index 793c453df..d011d1704 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3/dialogflow_v3.yaml +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3/dialogflow_v3.yaml @@ -11,6 +11,7 @@ apis: - name: google.cloud.dialogflow.cx.v3.Environments - name: google.cloud.dialogflow.cx.v3.Experiments - name: google.cloud.dialogflow.cx.v3.Flows +- name: google.cloud.dialogflow.cx.v3.Generators - name: google.cloud.dialogflow.cx.v3.Intents - name: google.cloud.dialogflow.cx.v3.Pages - name: google.cloud.dialogflow.cx.v3.SecuritySettingsService @@ -30,17 +31,24 @@ types: - name: google.cloud.dialogflow.cx.v3.DeployFlowMetadata - name: google.cloud.dialogflow.cx.v3.DeployFlowResponse - name: google.cloud.dialogflow.cx.v3.ExportAgentResponse +- name: google.cloud.dialogflow.cx.v3.ExportEntityTypesMetadata +- name: google.cloud.dialogflow.cx.v3.ExportEntityTypesResponse - name: google.cloud.dialogflow.cx.v3.ExportFlowResponse +- name: google.cloud.dialogflow.cx.v3.ExportIntentsMetadata +- name: google.cloud.dialogflow.cx.v3.ExportIntentsResponse - name: google.cloud.dialogflow.cx.v3.ExportTestCasesMetadata - name: google.cloud.dialogflow.cx.v3.ExportTestCasesResponse +- name: google.cloud.dialogflow.cx.v3.ImportEntityTypesMetadata +- name: google.cloud.dialogflow.cx.v3.ImportEntityTypesResponse - name: google.cloud.dialogflow.cx.v3.ImportFlowResponse +- name: google.cloud.dialogflow.cx.v3.ImportIntentsMetadata +- name: google.cloud.dialogflow.cx.v3.ImportIntentsResponse - name: google.cloud.dialogflow.cx.v3.ImportTestCasesMetadata - name: google.cloud.dialogflow.cx.v3.ImportTestCasesResponse - name: google.cloud.dialogflow.cx.v3.RunContinuousTestMetadata - name: google.cloud.dialogflow.cx.v3.RunContinuousTestResponse - name: google.cloud.dialogflow.cx.v3.RunTestCaseMetadata - name: google.cloud.dialogflow.cx.v3.RunTestCaseResponse -- name: google.cloud.dialogflow.cx.v3.TestError - name: google.cloud.dialogflow.cx.v3.WebhookRequest - name: google.cloud.dialogflow.cx.v3.WebhookResponse @@ -70,59 +78,6 @@ documentation: - selector: google.cloud.location.Locations.ListLocations description: Lists information about the supported locations for this service. -backend: - rules: - - selector: 'google.cloud.dialogflow.cx.v3.Agents.*' - deadline: 60.0 - - selector: google.cloud.dialogflow.cx.v3.Changelogs.GetChangelog - deadline: 60.0 - - selector: google.cloud.dialogflow.cx.v3.Changelogs.ListChangelogs - deadline: 60.0 - - selector: google.cloud.dialogflow.cx.v3.Deployments.GetDeployment - deadline: 60.0 - - selector: google.cloud.dialogflow.cx.v3.Deployments.ListDeployments - deadline: 60.0 - - selector: 'google.cloud.dialogflow.cx.v3.EntityTypes.*' - deadline: 60.0 - - selector: 'google.cloud.dialogflow.cx.v3.Environments.*' - deadline: 60.0 - - selector: 'google.cloud.dialogflow.cx.v3.Experiments.*' - deadline: 60.0 - - selector: 'google.cloud.dialogflow.cx.v3.Flows.*' - deadline: 60.0 - - selector: 'google.cloud.dialogflow.cx.v3.Intents.*' - deadline: 60.0 - - selector: 'google.cloud.dialogflow.cx.v3.Pages.*' - deadline: 60.0 - - selector: 'google.cloud.dialogflow.cx.v3.SecuritySettingsService.*' - deadline: 60.0 - - selector: 'google.cloud.dialogflow.cx.v3.SessionEntityTypes.*' - deadline: 60.0 - - selector: google.cloud.dialogflow.cx.v3.Sessions.DetectIntent - deadline: 220.0 - - selector: google.cloud.dialogflow.cx.v3.Sessions.FulfillIntent - deadline: 60.0 - - selector: google.cloud.dialogflow.cx.v3.Sessions.MatchIntent - deadline: 60.0 - - selector: google.cloud.dialogflow.cx.v3.Sessions.StreamingDetectIntent - deadline: 220.0 - - selector: 'google.cloud.dialogflow.cx.v3.TestCases.*' - deadline: 60.0 - - selector: 'google.cloud.dialogflow.cx.v3.TransitionRouteGroups.*' - deadline: 60.0 - - selector: 'google.cloud.dialogflow.cx.v3.Versions.*' - deadline: 60.0 - - selector: 'google.cloud.dialogflow.cx.v3.Webhooks.*' - deadline: 60.0 - - selector: google.cloud.location.Locations.GetLocation - deadline: 60.0 - - selector: google.cloud.location.Locations.ListLocations - deadline: 60.0 - - selector: 'google.longrunning.Operations.*' - deadline: 60.0 - - selector: google.longrunning.Operations.ListOperations - deadline: 180.0 - http: rules: - selector: google.cloud.location.Locations.GetLocation @@ -189,6 +144,11 @@ authentication: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform, https://www.googleapis.com/auth/dialogflow + - selector: 'google.cloud.dialogflow.cx.v3.Generators.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform, + https://www.googleapis.com/auth/dialogflow - selector: 'google.cloud.dialogflow.cx.v3.Intents.*' oauth: canonical_scopes: |- diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3/entity_type.proto b/third_party/googleapis/google/cloud/dialogflow/cx/v3/entity_type.proto index a0222a3f0..7730dd546 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3/entity_type.proto +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3/entity_type.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,6 +20,8 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/cloud/dialogflow/cx/v3/inline.proto"; +import "google/longrunning/operations.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; @@ -39,15 +41,6 @@ service EntityTypes { "https://www.googleapis.com/auth/cloud-platform," "https://www.googleapis.com/auth/dialogflow"; - // Returns the list of all entity types in the specified agent. - rpc ListEntityTypes(ListEntityTypesRequest) - returns (ListEntityTypesResponse) { - option (google.api.http) = { - get: "/v3/{parent=projects/*/locations/*/agents/*}/entityTypes" - }; - option (google.api.method_signature) = "parent"; - } - // Retrieves the specified entity type. rpc GetEntityType(GetEntityTypeRequest) returns (EntityType) { option (google.api.http) = { @@ -94,6 +87,41 @@ service EntityTypes { }; option (google.api.method_signature) = "name"; } + + // Returns the list of all entity types in the specified agent. + rpc ListEntityTypes(ListEntityTypesRequest) + returns (ListEntityTypesResponse) { + option (google.api.http) = { + get: "/v3/{parent=projects/*/locations/*/agents/*}/entityTypes" + }; + option (google.api.method_signature) = "parent"; + } + + // Exports the selected entity types. + rpc ExportEntityTypes(ExportEntityTypesRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v3/{parent=projects/*/locations/*/agents/*}/entityTypes:export" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "ExportEntityTypesResponse" + metadata_type: "ExportEntityTypesMetadata" + }; + } + + // Imports the specified entitytypes into the agent. + rpc ImportEntityTypes(ImportEntityTypesRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v3/{parent=projects/*/locations/*/agents/*}/entityTypes:import" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "ImportEntityTypesResponse" + metadata_type: "ImportEntityTypesMetadata" + }; + } } // Entities are extracted from user input and represent parameters that are @@ -230,6 +258,202 @@ message EntityType { bool redact = 9; } +// The request message for +// [EntityTypes.ExportEntityTypes][google.cloud.dialogflow.cx.v3.EntityTypes.ExportEntityTypes]. +message ExportEntityTypesRequest { + // Data format of the exported entity types. + enum DataFormat { + // Unspecified format. Treated as `BLOB`. + DATA_FORMAT_UNSPECIFIED = 0; + + // EntityTypes will be exported as raw bytes. + BLOB = 1; + + // EntityTypes will be exported in JSON Package format. + JSON_PACKAGE = 5; + } + + // Required. The name of the parent agent to export entity types. + // Format: `projects//locations//agents/`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "dialogflow.googleapis.com/EntityType" + } + ]; + + // Required. The name of the entity types to export. + // Format: `projects//locations//agents//entityTypes/`. + repeated string entity_types = 2 [(google.api.field_behavior) = REQUIRED]; + + // The destination to export. + oneof destination { + // Optional. The [Google Cloud + // Storage](https://cloud.google.com/storage/docs/) URI to export the entity + // types to. The format of this URI must be + // `gs:///`. + // + // Dialogflow performs a write operation for the Cloud Storage object + // on the caller's behalf, so your request authentication must + // have write permissions for the object. For more information, see + // [Dialogflow access + // control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). + string entity_types_uri = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The option to return the serialized entity types inline. + bool entity_types_content_inline = 4 + [(google.api.field_behavior) = OPTIONAL]; + } + + // Optional. The data format of the exported entity types. If not specified, + // `BLOB` is assumed. + DataFormat data_format = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The language to retrieve the entity type for. The following + // fields are language dependent: + // + // * `EntityType.entities.value` + // * `EntityType.entities.synonyms` + // * `EntityType.excluded_phrases.value` + // + // If not specified, all language dependent fields will be retrieved. + // [Many + // languages](https://cloud.google.com/dialogflow/docs/reference/language) + // are supported. + // Note: languages must be enabled in the agent before they can be used. + string language_code = 6 [(google.api.field_behavior) = OPTIONAL]; +} + +// The response message for +// [EntityTypes.ExportEntityTypes][google.cloud.dialogflow.cx.v3.EntityTypes.ExportEntityTypes]. +message ExportEntityTypesResponse { + // Exported entity types can be either in cloud storage or local download. + oneof exported_entity_types { + // The URI to a file containing the exported entity types. This field is + // populated only if `entity_types_uri` is specified in + // [ExportEntityTypesRequest][google.cloud.dialogflow.cx.v3.ExportEntityTypesRequest]. + string entity_types_uri = 1; + + // Uncompressed byte content for entity types. This field is populated only + // if `entity_types_content_inline` is set to true in + // [ExportEntityTypesRequest][google.cloud.dialogflow.cx.v3.ExportEntityTypesRequest]. + InlineDestination entity_types_content = 2; + } +} + +// Metadata returned for the +// [EntityTypes.ExportEntityTypes][google.cloud.dialogflow.cx.v3.EntityTypes.ExportEntityTypes] +// long running operation. +message ExportEntityTypesMetadata {} + +// The request message for +// [EntityTypes.ImportEntityTypes][google.cloud.dialogflow.cx.v3.EntityTypes.ImportEntityTypes]. +message ImportEntityTypesRequest { + // Merge option when display name conflicts exist during import. + enum MergeOption { + // Unspecified. If used, system uses REPORT_CONFLICT as default. + MERGE_OPTION_UNSPECIFIED = 0; + + // Replace the original entity type in the agent with the new entity type + // when display name conflicts exist. + REPLACE = 1; + + // Merge the original entity type with the new entity type when display name + // conflicts exist. + MERGE = 2; + + // Create new entity types with new display names to differentiate them from + // the existing entity types when display name conflicts exist. + RENAME = 3; + + // Report conflict information if display names conflict is detected. + // Otherwise, import entity types. + REPORT_CONFLICT = 4; + + // Keep the original entity type and discard the conflicting new entity type + // when display name conflicts exist. + KEEP = 5; + } + + // Required. The agent to import the entity types into. + // Format: `projects//locations//agents/`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "dialogflow.googleapis.com/EntityType" + } + ]; + + // Required. The entity types to import. + oneof entity_types { + // The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI + // to import entity types from. The format of this URI must be + // `gs:///`. + // + // Dialogflow performs a read operation for the Cloud Storage object + // on the caller's behalf, so your request authentication must + // have read permissions for the object. For more information, see + // [Dialogflow access + // control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). + string entity_types_uri = 2; + + // Uncompressed byte content of entity types. + InlineSource entity_types_content = 3; + } + + // Required. Merge option for importing entity types. + MergeOption merge_option = 4 [(google.api.field_behavior) = REQUIRED]; + + // Optional. The target entity type to import into. + // Format: `projects//locations//agents//entity_types/`. + // If set, there should be only one entity type included in + // [entity_types][google.cloud.dialogflow.cx.v3.ImportEntityTypesRequest.entity_types], + // of which the type should match the type of the target entity type. All + // [entities][google.cloud.dialogflow.cx.v3.EntityType.entities] in the + // imported entity type will be added to the target entity type. + string target_entity_type = 5 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.resource_reference) = { + type: "dialogflow.googleapis.com/EntityType" + } + ]; +} + +// The response message for +// [EntityTypes.ImportEntityTypes][google.cloud.dialogflow.cx.v3.EntityTypes.ImportEntityTypes]. +message ImportEntityTypesResponse { + // Conflicting resources detected during the import process. Only filled when + // [REPORT_CONFLICT][ImportEntityTypesResponse.REPORT_CONFLICT] is set in the + // request and there are conflicts in the display names. + message ConflictingResources { + // Display names of conflicting entity types. + repeated string entity_type_display_names = 1; + + // Display names of conflicting entities. + repeated string entity_display_names = 2; + } + + // The unique identifier of the imported entity types. + // Format: `projects//locations//agents//entity_types/`. + repeated string entity_types = 1 [(google.api.resource_reference) = { + type: "dialogflow.googleapis.com/EntityType" + }]; + + // Info which resources have conflicts when + // [REPORT_CONFLICT][ImportEntityTypesResponse.REPORT_CONFLICT] merge_option + // is set in ImportEntityTypesRequest. + ConflictingResources conflicting_resources = 2; +} + +// Metadata returned for the +// [EntityTypes.ImportEntityTypes][google.cloud.dialogflow.cx.v3.EntityTypes.ImportEntityTypes] +// long running operation. +message ImportEntityTypesMetadata {} + // The request message for // [EntityTypes.ListEntityTypes][google.cloud.dialogflow.cx.v3.EntityTypes.ListEntityTypes]. message ListEntityTypesRequest { diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3/environment.proto b/third_party/googleapis/google/cloud/dialogflow/cx/v3/environment.proto index 5175a15f7..b20e0f73c 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3/environment.proto +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3/environment.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3/experiment.proto b/third_party/googleapis/google/cloud/dialogflow/cx/v3/experiment.proto index c7f447753..5931a3847 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3/experiment.proto +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3/experiment.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3/flow.proto b/third_party/googleapis/google/cloud/dialogflow/cx/v3/flow.proto index d84be312f..11c861b67 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3/flow.proto +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3/flow.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,6 +20,8 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/cloud/dialogflow/cx/v3/advanced_settings.proto"; +import "google/cloud/dialogflow/cx/v3/import_strategy.proto"; import "google/cloud/dialogflow/cx/v3/page.proto"; import "google/cloud/dialogflow/cx/v3/validation_message.proto"; import "google/longrunning/operations.proto"; @@ -308,7 +310,10 @@ message Flow { // defined in the page have higher priority than those defined in the flow. // // Format:`projects//locations//agents//flows//transitionRouteGroups/`. + // ID>/flows//transitionRouteGroups/` + // or `projects//locations//agents//transitionRouteGroups/` for agent-level + // groups. repeated string transition_route_groups = 15 [(google.api.resource_reference) = { type: "dialogflow.googleapis.com/TransitionRouteGroup" @@ -316,6 +321,14 @@ message Flow { // NLU related settings of the flow. NluSettings nlu_settings = 11; + + // Hierarchical advanced settings for this flow. The settings exposed at the + // lower level overrides the settings exposed at the higher level. + AdvancedSettings advanced_settings = 14; + + // Optional. Knowledge connector configuration. + KnowledgeConnectorSettings knowledge_connector_settings = 18 + [(google.api.field_behavior) = OPTIONAL]; } // The request message for @@ -582,6 +595,22 @@ message ImportFlowRequest { // Flow import mode. If not specified, `KEEP` is assumed. ImportOption import_option = 4; + + // Optional. Specifies the import strategy used when resolving resource + // conflicts. + FlowImportStrategy flow_import_strategy = 5 + [(google.api.field_behavior) = OPTIONAL]; +} + +// The flow import strategy used for resource conflict resolution associated +// with an [ImportFlowRequest][google.cloud.dialogflow.cx.v3.ImportFlowRequest]. +message FlowImportStrategy { + // Optional. Import strategy for resource conflict resolution, applied + // globally throughout the flow. It will be applied for all display name + // conflicts in the imported content. If not specified, 'CREATE_NEW' is + // assumed. + ImportStrategy global_import_strategy = 1 + [(google.api.field_behavior) = OPTIONAL]; } // The response message for diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3/fulfillment.proto b/third_party/googleapis/google/cloud/dialogflow/cx/v3/fulfillment.proto index 5cf5f0f40..56c224748 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3/fulfillment.proto +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3/fulfillment.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,6 +17,7 @@ syntax = "proto3"; package google.cloud.dialogflow.cx.v3; import "google/api/resource.proto"; +import "google/cloud/dialogflow/cx/v3/advanced_settings.proto"; import "google/cloud/dialogflow/cx/v3/response_message.proto"; import "google/protobuf/struct.proto"; @@ -124,4 +125,15 @@ message Fulfillment { // Conditional cases for this fulfillment. repeated ConditionalCases conditional_cases = 5; + + // Hierarchical advanced settings for this fulfillment. The settings exposed + // at the lower level overrides the settings exposed at the higher level. + AdvancedSettings advanced_settings = 7; + + // If the flag is true, the agent will utilize LLM to generate a text + // response. If LLM generation fails, the defined + // [responses][google.cloud.dialogflow.cx.v3.Fulfillment.messages] in the + // fulfillment will be respected. This flag is only useful for fulfillments + // associated with no-match event handlers. + bool enable_generative_fallback = 12; } diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3/gcs.proto b/third_party/googleapis/google/cloud/dialogflow/cx/v3/gcs.proto index bf1a43cb2..1a2b55bf0 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3/gcs.proto +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3/gcs.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -31,9 +31,7 @@ option ruby_package = "Google::Cloud::Dialogflow::CX::V3"; // exports objects (e.g. exported agent or transcripts) outside of Dialogflow. message GcsDestination { // Required. The Google Cloud Storage URI for the exported objects. A URI is - // of the form: - // gs://bucket/object-name-or-prefix - // Whether a full object name, or just a prefix, its usage depends on the - // Dialogflow operation. + // of the form: `gs://bucket/object-name-or-prefix` Whether a full object + // name, or just a prefix, its usage depends on the Dialogflow operation. string uri = 1 [(google.api.field_behavior) = REQUIRED]; } diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3/intent.proto b/third_party/googleapis/google/cloud/dialogflow/cx/v3/intent.proto index 5ff0fd986..6b2aa9565 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3/intent.proto +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3/intent.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,6 +20,8 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/cloud/dialogflow/cx/v3/inline.proto"; +import "google/longrunning/operations.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; @@ -92,6 +94,50 @@ service Intents { }; option (google.api.method_signature) = "name"; } + + // Imports the specified intents into the agent. + // + // This method is a [long-running + // operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). + // The returned `Operation` type has the following method-specific fields: + // + // - `metadata`: + // [ImportIntentsMetadata][google.cloud.dialogflow.cx.v3.ImportIntentsMetadata] + // - `response`: + // [ImportIntentsResponse][google.cloud.dialogflow.cx.v3.ImportIntentsResponse] + rpc ImportIntents(ImportIntentsRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v3/{parent=projects/*/locations/*/agents/*}/intents:import" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "ImportIntentsResponse" + metadata_type: "ImportIntentsMetadata" + }; + } + + // Exports the selected intents. + // + // This method is a [long-running + // operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). + // The returned `Operation` type has the following method-specific fields: + // + // - `metadata`: + // [ExportIntentsMetadata][google.cloud.dialogflow.cx.v3.ExportIntentsMetadata] + // - `response`: + // [ExportIntentsResponse][google.cloud.dialogflow.cx.v3.ExportIntentsResponse] + rpc ExportIntents(ExportIntentsRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v3/{parent=projects/*/locations/*/agents/*}/intents:export" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "ExportIntentsResponse" + metadata_type: "ExportIntentsMetadata" + }; + } } // An intent represents a user's intent to interact with a conversational agent. @@ -386,3 +432,178 @@ enum IntentView { // All fields are populated. INTENT_VIEW_FULL = 2; } + +// The request message for +// [Intents.ImportIntents][google.cloud.dialogflow.cx.v3.Intents.ImportIntents]. +message ImportIntentsRequest { + // Merge option when display name conflicts exist during import. + enum MergeOption { + // Unspecified. Should not be used. + MERGE_OPTION_UNSPECIFIED = 0; + + // DEPRECATED: Please use + // [REPORT_CONFLICT][ImportIntentsRequest.REPORT_CONFLICT] instead. + // Fail the request if there are intents whose display names conflict with + // the display names of intents in the agent. + REJECT = 1 [deprecated = true]; + + // Replace the original intent in the agent with the new intent when display + // name conflicts exist. + REPLACE = 2; + + // Merge the original intent with the new intent when display name conflicts + // exist. + MERGE = 3; + + // Create new intents with new display names to differentiate them from the + // existing intents when display name conflicts exist. + RENAME = 4; + + // Report conflict information if display names conflict is detected. + // Otherwise, import intents. + REPORT_CONFLICT = 5; + + // Keep the original intent and discard the conflicting new intent when + // display name conflicts exist. + KEEP = 6; + } + + // Required. The agent to import the intents into. + // Format: `projects//locations//agents/`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "dialogflow.googleapis.com/Intent" + } + ]; + + // Required. The intents to import. + oneof intents { + // The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI + // to import intents from. The format of this URI must be + // `gs:///`. + // + // Dialogflow performs a read operation for the Cloud Storage object + // on the caller's behalf, so your request authentication must + // have read permissions for the object. For more information, see + // [Dialogflow access + // control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). + string intents_uri = 2; + + // Uncompressed byte content of intents. + InlineSource intents_content = 3; + } + + // Merge option for importing intents. If not specified, `REJECT` is assumed. + MergeOption merge_option = 4; +} + +// The response message for +// [Intents.ImportIntents][google.cloud.dialogflow.cx.v3.Intents.ImportIntents]. +message ImportIntentsResponse { + // Conflicting resources detected during the import process. Only filled when + // [REPORT_CONFLICT][ImportIntentsResponse.REPORT_CONFLICT] is set in the + // request and there are conflicts in the display names. + message ConflictingResources { + // Display names of conflicting intents. + repeated string intent_display_names = 1; + + // Display names of conflicting entities. + repeated string entity_display_names = 2; + } + + // The unique identifier of the imported intents. + // Format: `projects//locations//agents//intents/`. + repeated string intents = 1 [(google.api.resource_reference) = { + type: "dialogflow.googleapis.com/Intent" + }]; + + // Info which resources have conflicts when + // [REPORT_CONFLICT][ImportIntentsResponse.REPORT_CONFLICT] merge_option is + // set in ImportIntentsRequest. + ConflictingResources conflicting_resources = 2; +} + +// Metadata returned for the +// [Intents.ImportIntents][google.cloud.dialogflow.cx.v3.Intents.ImportIntents] +// long running operation. +message ImportIntentsMetadata {} + +// The request message for +// [Intents.ExportIntents][google.cloud.dialogflow.cx.v3.Intents.ExportIntents]. +message ExportIntentsRequest { + // Data format of the exported intents. + enum DataFormat { + // Unspecified format. Treated as `BLOB`. + DATA_FORMAT_UNSPECIFIED = 0; + + // Intents will be exported as raw bytes. + BLOB = 1; + + // Intents will be exported in JSON format. + JSON = 2; + + // Intents will be exported in CSV format. + CSV = 3; + } + + // Required. The name of the parent agent to export intents. + // Format: `projects//locations//agents/`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "dialogflow.googleapis.com/Intent" + } + ]; + + // Required. The name of the intents to export. + // Format: `projects//locations//agents//intents/`. + repeated string intents = 2 [(google.api.field_behavior) = REQUIRED]; + + // The destination to export. + oneof destination { + // Optional. The [Google Cloud + // Storage](https://cloud.google.com/storage/docs/) URI to export the + // intents to. The format of this URI must be + // `gs:///`. + // + // Dialogflow performs a write operation for the Cloud Storage object + // on the caller's behalf, so your request authentication must + // have write permissions for the object. For more information, see + // [Dialogflow access + // control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). + string intents_uri = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The option to return the serialized intents inline. + bool intents_content_inline = 4 [(google.api.field_behavior) = OPTIONAL]; + } + + // Optional. The data format of the exported intents. If not specified, `BLOB` + // is assumed. + DataFormat data_format = 5 [(google.api.field_behavior) = OPTIONAL]; +} + +// The response message for +// [Intents.ExportIntents][google.cloud.dialogflow.cx.v3.Intents.ExportIntents]. +message ExportIntentsResponse { + // The exported intents. + oneof intents { + // The URI to a file containing the exported intents. This field is + // populated only if `intents_uri` is specified in + // [ExportIntentsRequest][google.cloud.dialogflow.cx.v3.ExportIntentsRequest]. + string intents_uri = 1; + + // Uncompressed byte content for intents. This field is populated only if + // `intents_content_inline` is set to true in + // [ExportIntentsRequest][google.cloud.dialogflow.cx.v3.ExportIntentsRequest]. + InlineDestination intents_content = 2; + } +} + +// Metadata returned for the +// [Intents.ExportIntents][google.cloud.dialogflow.cx.v3.Intents.ExportIntents] +// long running operation. +message ExportIntentsMetadata {} diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3/page.proto b/third_party/googleapis/google/cloud/dialogflow/cx/v3/page.proto index 2b52455cc..512c3cb25 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3/page.proto +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3/page.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,6 +20,8 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/cloud/dialogflow/cx/v3/advanced_settings.proto"; +import "google/cloud/dialogflow/cx/v3/data_store_connection.proto"; import "google/cloud/dialogflow/cx/v3/fulfillment.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; @@ -130,6 +132,9 @@ message Page { // Required. The human-readable name of the page, unique within the flow. string display_name = 2 [(google.api.field_behavior) = REQUIRED]; + // The description of the page. The maximum length is 500 characters. + string description = 19; + // The fulfillment to call when the session is entering the page. Fulfillment entry_fulfillment = 7; @@ -139,8 +144,10 @@ message Page { // Ordered list of // [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3.TransitionRouteGroup] - // associated with the page. Transition route groups must be unique within a - // page. + // added to the page. Transition route groups must be unique within a page. If + // the page links both flow-level transition route groups and agent-level + // transition route groups, the flow-level ones will have higher priority and + // will be put before the agent-level ones. // // * If multiple transition routes within a page scope refer to the same // intent, then the precedence order is: page's transition route -> page's @@ -150,7 +157,10 @@ message Page { // intent, then the first group in the ordered list takes precedence. // // Format:`projects//locations//agents//flows//transitionRouteGroups/`. + // ID>/flows//transitionRouteGroups/` + // or `projects//locations//agents//transitionRouteGroups/` for agent-level + // groups. repeated string transition_route_groups = 11 [(google.api.resource_reference) = { type: "dialogflow.googleapis.com/TransitionRouteGroup" @@ -183,6 +193,14 @@ message Page { // Handlers associated with the page to handle events such as webhook errors, // no match or no input. repeated EventHandler event_handlers = 10; + + // Hierarchical advanced settings for this page. The settings exposed at the + // lower level overrides the settings exposed at the higher level. + AdvancedSettings advanced_settings = 13; + + // Optional. Knowledge connector configuration. + KnowledgeConnectorSettings knowledge_connector_settings = 18 + [(google.api.field_behavior) = OPTIONAL]; } // A form is a data model that groups related parameters that can be collected @@ -275,6 +293,10 @@ message Form { // level redaction or [entity type level // redaction][google.cloud.dialogflow.cx.v3.EntityType.redact] is enabled. bool redact = 11; + + // Hierarchical advanced settings for this parameter. The settings exposed + // at the lower level overrides the settings exposed at the higher level. + AdvancedSettings advanced_settings = 12; } // Parameters to collect from the user. @@ -351,6 +373,10 @@ message TransitionRoute { // Output only. The unique identifier of this transition route. string name = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Optional. The description of the transition route. The maximum length is + // 500 characters. + string description = 8 [(google.api.field_behavior) = OPTIONAL]; + // The unique identifier of an [Intent][google.cloud.dialogflow.cx.v3.Intent]. // Format: `projects//locations//agents//intents/`. @@ -586,3 +612,44 @@ message DeletePageRequest { // this page will be cleared). bool force = 2; } + +// The Knowledge Connector settings for this page or flow. +// This includes information such as the attached Knowledge Bases, and the way +// to execute fulfillment. +message KnowledgeConnectorSettings { + // Whether Knowledge Connector is enabled or not. + bool enabled = 1; + + // The fulfillment to be triggered. + // + // When the answers from the Knowledge Connector are selected by Dialogflow, + // you can utitlize the request scoped parameter `$request.knowledge.answers` + // (contains up to the 5 highest confidence answers) and + // `$request.knowledge.questions` (contains the corresponding questions) to + // construct the fulfillment. + Fulfillment trigger_fulfillment = 3; + + // The target to transition to, either a page in the same host flow (the flow + // that owns this + // [KnowledgeConnectorSettings][google.cloud.dialogflow.cx.v3.KnowledgeConnectorSettings]), + // or another flow in the same agent. + oneof target { + // The target page to transition to. + // Format: `projects//locations//agents//flows//pages/`. + string target_page = 4 [(google.api.resource_reference) = { + type: "dialogflow.googleapis.com/Page" + }]; + + // The target flow to transition to. + // Format: `projects//locations//agents//flows/`. + string target_flow = 5 [(google.api.resource_reference) = { + type: "dialogflow.googleapis.com/Flow" + }]; + } + + // Optional. List of related data store connections. + repeated DataStoreConnection data_store_connections = 6 + [(google.api.field_behavior) = OPTIONAL]; +} diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3/response_message.proto b/third_party/googleapis/google/cloud/dialogflow/cx/v3/response_message.proto index 658a32484..bf0992953 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3/response_message.proto +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3/response_message.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -180,6 +180,34 @@ message ResponseMessage { } } + // Represents info card response. If the response contains generative + // knowledge prediction, Dialogflow will return a payload with Infobot + // Messenger compatible info card. + // + // Otherwise, the info card response is skipped. + message KnowledgeInfoCard {} + + // Represents different response types. + enum ResponseType { + // Not specified. + RESPONSE_TYPE_UNSPECIFIED = 0; + + // The response is from an [entry + // prompt][google.cloud.dialogflow.cx.v3.Page.entry_fulfillment] in the + // page. + ENTRY_PROMPT = 1; + + // The response is from [form-filling + // prompt][google.cloud.dialogflow.cx.v3.Form.Parameter.fill_behavior] in + // the page. + PARAMETER_PROMPT = 2; + + // The response is from a [transition + // route][google.cloud.dialogflow.cx.v3.TransitionRoute] or an [event + // handler][EventHandler] in the page or flow or transition route group. + HANDLER_PROMPT = 3; + } + // Required. The rich response message. oneof message { // Returns a text response. @@ -224,8 +252,15 @@ message ResponseMessage { // A signal that the client should transfer the phone call connected to // this agent to a third-party endpoint. TelephonyTransferCall telephony_transfer_call = 18; + + // Represents info card for knowledge answers, to be better rendered in + // Dialogflow Messenger. + KnowledgeInfoCard knowledge_info_card = 20; } + // Response type. + ResponseType response_type = 4; + // The channel which the response is associated with. Clients can specify the // channel via // [QueryParameters.channel][google.cloud.dialogflow.cx.v3.QueryParameters.channel], diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3/security_settings.proto b/third_party/googleapis/google/cloud/dialogflow/cx/v3/security_settings.proto index 4268ff600..641f2d894 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3/security_settings.proto +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3/security_settings.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -218,6 +218,17 @@ message SecuritySettings { REDACT_DISK_STORAGE = 2; } + // Defines how long we retain persisted data that contains sensitive info. + enum RetentionStrategy { + // Retains the persisted data with Dialogflow's internal default 365d TTLs. + RETENTION_STRATEGY_UNSPECIFIED = 0; + + // Removes data when the conversation ends. If there is no [Conversation][] + // explicitly established, a default conversation ends when the + // corresponding Dialogflow session ends. + REMOVE_AFTER_CONVERSATION = 1; + } + // Type of data we purge after retention settings triggers purge. enum PurgeDataType { // Unspecified. Do not use. @@ -345,6 +356,10 @@ message SecuritySettings { // Setting a value higher than that has no effect. A missing value or // setting to 0 also means we use default TTL. int32 retention_window_days = 6; + + // Specifies the retention behavior defined by + // [SecuritySettings.RetentionStrategy][google.cloud.dialogflow.cx.v3.SecuritySettings.RetentionStrategy]. + RetentionStrategy retention_strategy = 7; } // List of types of data to remove when retention settings triggers purge. diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3/session.proto b/third_party/googleapis/google/cloud/dialogflow/cx/v3/session.proto index a17815bae..71132d37f 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3/session.proto +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3/session.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,12 +20,15 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/cloud/dialogflow/cx/v3/advanced_settings.proto"; import "google/cloud/dialogflow/cx/v3/audio_config.proto"; +import "google/cloud/dialogflow/cx/v3/flow.proto"; import "google/cloud/dialogflow/cx/v3/intent.proto"; import "google/cloud/dialogflow/cx/v3/page.proto"; import "google/cloud/dialogflow/cx/v3/response_message.proto"; import "google/cloud/dialogflow/cx/v3/session_entity_type.proto"; import "google/protobuf/duration.proto"; +import "google/protobuf/field_mask.proto"; import "google/protobuf/struct.proto"; import "google/rpc/status.proto"; import "google/type/latlng.proto"; @@ -43,6 +46,11 @@ option (google.api.resource_definition) = { pattern: "projects/{project}/locations/{location}/agents/{agent}/sessions/{session}" pattern: "projects/{project}/locations/{location}/agents/{agent}/environments/{environment}/sessions/{session}" }; +option (google.api.resource_definition) = { + type: "discoveryengine.googleapis.com/DataStore" + pattern: "projects/{project}/locations/{location}/dataStores/{data_store}" + pattern: "projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}" +}; // A session represents an interaction with a user. You retrieve user input // and pass it to the @@ -73,6 +81,23 @@ service Sessions { }; } + // Processes a natural language query and returns structured, actionable data + // as a result through server-side streaming. Server-side streaming allows + // Dialogflow to send [partial + // responses](https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#partial-response) + // earlier in a single request. + rpc ServerStreamingDetectIntent(DetectIntentRequest) + returns (stream DetectIntentResponse) { + option (google.api.http) = { + post: "/v3/{session=projects/*/locations/*/agents/*/sessions/*}:serverStreamingDetectIntent" + body: "*" + additional_bindings { + post: "/v3/{session=projects/*/locations/*/agents/*/environments/*/sessions/*}:serverStreamingDetectIntent" + body: "*" + } + }; + } + // Processes a natural language query in audio format in a streaming fashion // and returns structured, actionable data as a result. This method is only // available via the gRPC API (not REST). @@ -113,6 +138,78 @@ service Sessions { } }; } + + // Updates the feedback received from the user for a single turn of the bot + // response. + rpc SubmitAnswerFeedback(SubmitAnswerFeedbackRequest) + returns (AnswerFeedback) { + option (google.api.http) = { + post: "/v3/{session=projects/*/locations/*/agents/*/sessions/*}:submitAnswerFeedback" + body: "*" + }; + } +} + +// Stores information about feedback provided by users about a response. +message AnswerFeedback { + // Represents thumbs up/down rating provided by user about a response. + enum Rating { + // Rating not specified. + RATING_UNSPECIFIED = 0; + + // Thumbs up feedback from user. + THUMBS_UP = 1; + + // Thumbs down feedback from user. + THUMBS_DOWN = 2; + } + + // Stores extra information about why users provided thumbs down rating. + message RatingReason { + // Optional. Custom reason labels for thumbs down rating provided by the + // user. The maximum number of labels allowed is 10 and the maximum length + // of a single label is 128 characters. + repeated string reason_labels = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Additional feedback about the rating. + // This field can be populated without choosing a predefined `reason`. + string feedback = 2 [(google.api.field_behavior) = OPTIONAL]; + } + + // Optional. Rating from user for the specific Dialogflow response. + Rating rating = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. In case of thumbs down rating provided, users can optionally + // provide context about the rating. + RatingReason rating_reason = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Custom rating from the user about the provided answer, with + // maximum length of 1024 characters. For example, client could use a + // customized JSON object to indicate the rating. + string custom_rating = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// The request to set the feedback for a bot answer. +message SubmitAnswerFeedbackRequest { + // Required. The name of the session the feedback was sent to. + string session = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dialogflow.googleapis.com/Session" + } + ]; + + // Required. ID of the response to update its feedback. This is the same as + // DetectIntentResponse.response_id. + string response_id = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. Feedback provided for a bot answer. + AnswerFeedback answer_feedback = 3 [(google.api.field_behavior) = REQUIRED]; + + // Optional. The mask to control which fields to update. If the mask is not + // present, all fields will be updated. + google.protobuf.FieldMask update_mask = 4 + [(google.api.field_behavior) = OPTIONAL]; } // The request to detect user's intent. @@ -267,6 +364,77 @@ message StreamingDetectIntentRequest { // if some `Fulfillment`s in the agent have been configured to return partial // responses. bool enable_partial_response = 5; + + // If true, `StreamingDetectIntentResponse.debugging_info` will get populated. + bool enable_debugging_info = 8; +} + +// Cloud conversation info for easier debugging. +// It will get populated in `StreamingDetectIntentResponse` or +// `StreamingAnalyzeContentResponse` when the flag `enable_debugging_info` is +// set to true in corresponding requests. +message CloudConversationDebuggingInfo { + // Number of input audio data chunks in streaming requests. + int32 audio_data_chunks = 1; + + // Time offset of the end of speech utterance relative to the + // beginning of the first audio chunk. + google.protobuf.Duration result_end_time_offset = 2; + + // Duration of first audio chunk. + google.protobuf.Duration first_audio_duration = 3; + + // Whether client used single utterance mode. + bool single_utterance = 5; + + // Time offsets of the speech partial results relative to the beginning of + // the stream. + repeated google.protobuf.Duration speech_partial_results_end_times = 6; + + // Time offsets of the speech final results (is_final=true) relative to the + // beginning of the stream. + repeated google.protobuf.Duration speech_final_results_end_times = 7; + + // Total number of partial responses. + int32 partial_responses = 8; + + // Time offset of Speaker ID stream close time relative to the Speech stream + // close time in milliseconds. Only meaningful for conversations involving + // passive verification. + int32 speaker_id_passive_latency_ms_offset = 9; + + // Whether a barge-in event is triggered in this request. + bool bargein_event_triggered = 10; + + // Whether speech uses single utterance mode. + bool speech_single_utterance = 11; + + // Time offsets of the DTMF partial results relative to the beginning of + // the stream. + repeated google.protobuf.Duration dtmf_partial_results_times = 12; + + // Time offsets of the DTMF final results relative to the beginning of + // the stream. + repeated google.protobuf.Duration dtmf_final_results_times = 13; + + // Time offset of the end-of-single-utterance signal relative to the + // beginning of the stream. + google.protobuf.Duration single_utterance_end_time_offset = 14; + + // No speech timeout settings for the stream. + google.protobuf.Duration no_speech_timeout = 15; + + // Speech endpointing timeout settings for the stream. + google.protobuf.Duration endpointing_timeout = 19; + + // Whether the streaming terminates with an injected text query. + bool is_input_text = 16; + + // Client half close time in terms of input audio duration. + google.protobuf.Duration client_half_close_time_offset = 17; + + // Client half close time in terms of API streaming duration. + google.protobuf.Duration client_half_close_streaming_time_offset = 18; } // The top-level message returned from the @@ -306,6 +474,10 @@ message StreamingDetectIntentResponse { // The response from detect intent. DetectIntentResponse detect_intent_response = 2; } + + // Debugging info that would get populated when + // `StreamingDetectIntentRequest.enable_debugging_info` is set to true. + CloudConversationDebuggingInfo debugging_info = 4; } // Contains a speech recognition result corresponding to a portion of the audio @@ -354,9 +526,9 @@ message StreamingRecognitionResult { // Message contains a (possibly partial) transcript. TRANSCRIPT = 1; - // Event indicates that the server has detected the end of the user's speech - // utterance and expects no additional speech. Therefore, the server will - // not process additional audio (although it may subsequently return + // This event indicates that the server has detected the end of the user's + // speech utterance and expects no additional speech. Therefore, the server + // will not process additional audio (although it may subsequently return // additional results). The client should stop sending additional audio // data, half-close the gRPC connection, and wait for any additional results // until the server closes the gRPC connection. This message is only sent if @@ -524,18 +696,142 @@ message QueryParameters { // [ResponseMessage][google.cloud.dialogflow.cx.v3.ResponseMessage] with // unspecified channel will be returned. string channel = 15; + + // Optional. Configure lifetime of the Dialogflow session. + // By default, a Dialogflow session remains active and its data is stored for + // 30 minutes after the last request is sent for the session. + // This value should be no longer than 1 day. + google.protobuf.Duration session_ttl = 16 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Information about the end-user to improve the relevance and + // accuracy of generative answers. + // + // This will be interpreted and used by a language model, so, for good + // results, the data should be self-descriptive, and in a simple structure. + // + // Example: + // + // ```json + // { + // "subscription plan": "Business Premium Plus", + // "devices owned": [ + // {"model": "Google Pixel 7"}, + // {"model": "Google Pixel Tablet"} + // ] + // } + // ``` + google.protobuf.Struct end_user_metadata = 18 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Search configuration for UCS search queries. + SearchConfig search_config = 20 [(google.api.field_behavior) = OPTIONAL]; +} + +// Search configuration for UCS search queries. +message SearchConfig { + // Optional. Boosting configuration for the datastores. + repeated BoostSpecs boost_specs = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Filter configuration for the datastores. + repeated FilterSpecs filter_specs = 2 + [(google.api.field_behavior) = OPTIONAL]; +} + +// Boost specification to boost certain documents. +// A copy of google.cloud.discoveryengine.v1main.BoostSpec, field documentation +// is available at +// https://cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1alpha/BoostSpec +message BoostSpec { + // Boost applies to documents which match a condition. + message ConditionBoostSpec { + // Optional. An expression which specifies a boost condition. The syntax and + // supported fields are the same as a filter expression. + // Examples: + // + // * To boost documents with document ID "doc_1" or "doc_2", and + // color + // "Red" or "Blue": + // * (id: ANY("doc_1", "doc_2")) AND (color: ANY("Red","Blue")) + string condition = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Strength of the condition boost, which should be in [-1, 1]. + // Negative boost means demotion. Default is 0.0. + // + // Setting to 1.0 gives the document a big promotion. However, it does not + // necessarily mean that the boosted document will be the top result at + // all times, nor that other documents will be excluded. Results could + // still be shown even when none of them matches the condition. And + // results that are significantly more relevant to the search query can + // still trump your heavily favored but irrelevant documents. + // + // Setting to -1.0 gives the document a big demotion. However, results + // that are deeply relevant might still be shown. The document will have + // an upstream battle to get a fairly high ranking, but it is not blocked + // out completely. + // + // Setting to 0.0 means no boost applied. The boosting condition is + // ignored. + float boost = 2 [(google.api.field_behavior) = OPTIONAL]; + } + + // Optional. Condition boost specifications. If a document matches multiple + // conditions in the specifictions, boost scores from these specifications are + // all applied and combined in a non-linear way. Maximum number of + // specifications is 20. + repeated ConditionBoostSpec condition_boost_specs = 1 + [(google.api.field_behavior) = OPTIONAL]; +} + +// Boost specifications for data stores. +message BoostSpecs { + // Optional. Data Stores where the boosting configuration is applied. The full + // names of the referenced data stores. Formats: + // `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}` + // `projects/{project}/locations/{location}/dataStores/{data_store}` + repeated string data_stores = 1 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.resource_reference) = { + type: "discoveryengine.googleapis.com/DataStore" + } + ]; + + // Optional. A list of boosting specifications. + repeated BoostSpec spec = 2 [(google.api.field_behavior) = OPTIONAL]; +} + +// Filter specifications for data stores. +message FilterSpecs { + // Optional. Data Stores where the boosting configuration is applied. The full + // names of the referenced data stores. Formats: + // `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}` + // `projects/{project}/locations/{location}/dataStores/{data_store}` + repeated string data_stores = 1 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.resource_reference) = { + type: "discoveryengine.googleapis.com/DataStore" + } + ]; + + // Optional. The filter expression to be applied. + // Expression syntax is documented at + // https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata#filter-expression-syntax + string filter = 2 [(google.api.field_behavior) = OPTIONAL]; } // Represents the query input. It can contain one of: // -// 1. A conversational query in the form of text. +// 1. A conversational query in the form of text. +// +// 2. An intent query that specifies which intent to trigger. // -// 2. An intent query that specifies which intent to trigger. +// 3. Natural language speech audio to be processed. // -// 3. Natural language speech audio to be processed. +// 4. An event to be triggered. // -// 4. An event to be triggered. +// 5. DTMF digits to invoke an intent and fill in parameter value. // +// 6. The results of a tool executed by the client. message QueryInput { // Required. The input specification. oneof input { @@ -587,8 +883,9 @@ message QueryResult { // input, this field will contain the name of the event. string trigger_event = 14; - // If a [DTMF][DTMFInput] was provided as input, this field will contain - // a copy of the [DTMFInput][]. + // If a [DTMF][google.cloud.dialogflow.cx.v3.DtmfInput] was provided as + // input, this field will contain a copy of the + // [DtmfInput][google.cloud.dialogflow.cx.v3.DtmfInput]. DtmfInput dtmf = 23; } @@ -620,6 +917,18 @@ message QueryResult { // to drive complex logic. repeated ResponseMessage response_messages = 4; + // The list of webhook ids in the order of call sequence. + repeated string webhook_ids = 25; + + // The list of webhook display names in the order of call sequence. + repeated string webhook_display_names = 26; + + // The list of webhook latencies in the order of call sequence. + repeated google.protobuf.Duration webhook_latencies = 27; + + // The list of webhook tags in the order of call sequence. + repeated string webhook_tags = 29; + // The list of webhook call status in the order of call sequence. repeated google.rpc.Status webhook_statuses = 13; @@ -634,6 +943,11 @@ message QueryResult { // `display_name`. Page current_page = 7; + // The current [Flow][google.cloud.dialogflow.cx.v3.Flow]. Some, not all + // fields are filled in this message, including but not limited to `name` and + // `display_name`. + Flow current_flow = 31; + // The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the // conversational query. Some, not all fields are filled in this message, // including but not limited to: `name` and `display_name`. This field is @@ -680,12 +994,22 @@ message QueryResult { // [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], // specified in the request. SentimentAnalysisResult sentiment_analysis_result = 17; + + // Returns the current advanced settings including IVR settings. Even though + // the operations configured by these settings are performed by Dialogflow, + // the client may need to perform special logic at the moment. For example, if + // Dialogflow exports audio to Google Cloud Storage, then the client may need + // to wait for the resulting object to appear in the bucket before proceeding. + AdvancedSettings advanced_settings = 21; + + // Indicates whether the Thumbs up/Thumbs down rating controls are need to be + // shown for the response in the Dialogflow Messenger widget. + bool allow_answer_feedback = 32; } // Represents the natural language text to be processed. message TextInput { - // Required. The UTF-8 encoded natural language text to be processed. Text - // length must not exceed 256 characters. + // Required. The UTF-8 encoded natural language text to be processed. string text = 1 [(google.api.field_behavior) = REQUIRED]; } @@ -709,7 +1033,7 @@ message AudioInput { InputAudioConfig config = 1 [(google.api.field_behavior) = REQUIRED]; // The natural language speech audio to be processed. - // A single request can contain up to 1 minute of speech audio data. + // A single request can contain up to 2 minutes of speech audio data. // The [transcribed // text][google.cloud.dialogflow.cx.v3.QueryResult.transcript] cannot contain // more than 256 bytes. diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3/session_entity_type.proto b/third_party/googleapis/google/cloud/dialogflow/cx/v3/session_entity_type.proto index c56e323f1..e263dbbe8 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3/session_entity_type.proto +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3/session_entity_type.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3/test_case.proto b/third_party/googleapis/google/cloud/dialogflow/cx/v3/test_case.proto index 632f782ce..982425c73 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3/test_case.proto +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3/test_case.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -192,7 +192,8 @@ service TestCases { }; } - // Fetches a list of results for a given test case. + // Fetches the list of run results for the given test case. A maximum of 100 + // results are kept for each test case. rpc ListTestCaseResults(ListTestCaseResultsRequest) returns (ListTestCaseResultsResponse) { option (google.api.http) = { @@ -395,12 +396,16 @@ message TestRunDifference { // The message utterance. UTTERANCE = 4; + + // The flow. + FLOW = 5; } // The type of diff. DiffType type = 1; - // A description of the diff, showing the actual output vs expected output. + // A human readable description of the diff, showing the actual output vs + // expected output. string description = 2; } @@ -433,7 +438,7 @@ message TransitionCoverage { // The end node of a transition. TransitionNode target = 2; - // Whether or not the transition is covered by at least one of the + // Whether the transition is covered by at least one of the // agent's test cases. bool covered = 3; @@ -465,7 +470,7 @@ message TransitionRouteGroupCoverage { // Intent route or condition route. TransitionRoute transition_route = 1; - // Whether or not the transition route is covered by at least one of the + // Whether the transition route is covered by at least one of the // agent's test cases. bool covered = 2; } @@ -499,7 +504,7 @@ message IntentCoverage { type: "dialogflow.googleapis.com/Intent" }]; - // Whether or not the intent is covered by at least one of the agent's + // Whether the intent is covered by at least one of the agent's // test cases. bool covered = 2; } diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3/transition_route_group.proto b/third_party/googleapis/google/cloud/dialogflow/cx/v3/transition_route_group.proto index 2e24ec549..85ad8a6fd 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3/transition_route_group.proto +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3/transition_route_group.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -46,6 +46,9 @@ service TransitionRouteGroups { returns (ListTransitionRouteGroupsResponse) { option (google.api.http) = { get: "/v3/{parent=projects/*/locations/*/agents/*/flows/*}/transitionRouteGroups" + additional_bindings { + get: "/v3/{parent=projects/*/locations/*/agents/*}/transitionRouteGroups" + } }; option (google.api.method_signature) = "parent"; } @@ -56,6 +59,9 @@ service TransitionRouteGroups { returns (TransitionRouteGroup) { option (google.api.http) = { get: "/v3/{name=projects/*/locations/*/agents/*/flows/*/transitionRouteGroups/*}" + additional_bindings { + get: "/v3/{name=projects/*/locations/*/agents/*/transitionRouteGroups/*}" + } }; option (google.api.method_signature) = "name"; } @@ -72,6 +78,10 @@ service TransitionRouteGroups { option (google.api.http) = { post: "/v3/{parent=projects/*/locations/*/agents/*/flows/*}/transitionRouteGroups" body: "transition_route_group" + additional_bindings { + post: "/v3/{parent=projects/*/locations/*/agents/*}/transitionRouteGroups" + body: "transition_route_group" + } }; option (google.api.method_signature) = "parent,transition_route_group"; } @@ -87,6 +97,10 @@ service TransitionRouteGroups { option (google.api.http) = { patch: "/v3/{transition_route_group.name=projects/*/locations/*/agents/*/flows/*/transitionRouteGroups/*}" body: "transition_route_group" + additional_bindings { + patch: "/v3/{transition_route_group.name=projects/*/locations/*/agents/*/transitionRouteGroups/*}" + body: "transition_route_group" + } }; option (google.api.method_signature) = "transition_route_group,update_mask"; } @@ -101,25 +115,32 @@ service TransitionRouteGroups { returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v3/{name=projects/*/locations/*/agents/*/flows/*/transitionRouteGroups/*}" + additional_bindings { + delete: "/v3/{name=projects/*/locations/*/agents/*/transitionRouteGroups/*}" + } }; option (google.api.method_signature) = "name"; } } -// An TransitionRouteGroup represents a group of +// A TransitionRouteGroup represents a group of // [`TransitionRoutes`][google.cloud.dialogflow.cx.v3.TransitionRoute] to be // used by a [Page][google.cloud.dialogflow.cx.v3.Page]. message TransitionRouteGroup { option (google.api.resource) = { type: "dialogflow.googleapis.com/TransitionRouteGroup" pattern: "projects/{project}/locations/{location}/agents/{agent}/flows/{flow}/transitionRouteGroups/{transition_route_group}" + pattern: "projects/{project}/locations/{location}/agents/{agent}/transitionRouteGroups/{transition_route_group}" + plural: "transitionRouteGroups" + singular: "transitionRouteGroup" }; // The unique identifier of the transition route group. // [TransitionRouteGroups.CreateTransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.CreateTransitionRouteGroup] // populates the name automatically. Format: `projects//locations//agents//flows//transitionRouteGroups/`. + // ID>/transitionRouteGroups/` + // . string name = 1; // Required. The human-readable name of the transition route group, unique @@ -136,7 +157,8 @@ message TransitionRouteGroup { message ListTransitionRouteGroupsRequest { // Required. The flow to list all transition route groups for. // Format: `projects//locations//agents//flows/`. + // ID>/flows/` + // or `projects//locations//agents/. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -187,7 +209,9 @@ message GetTransitionRouteGroupRequest { // Required. The name of the // [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup]. // Format: `projects//locations//agents//flows//transitionRouteGroups/`. + // ID>/flows//transitionRouteGroups/` + // or `projects//locations//agents//transitionRouteGroups/`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -216,7 +240,9 @@ message CreateTransitionRouteGroupRequest { // Required. The flow to create an // [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup] // for. Format: `projects//locations//agents//flows/`. + // ID>/flows/` + // or `projects//locations//agents/` + // for agent-level groups. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -273,7 +299,8 @@ message DeleteTransitionRouteGroupRequest { // [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup] // to delete. Format: `projects//locations//agents//flows//transitionRouteGroups/`. + // Route Group ID>` or `projects//locations//agents//transitionRouteGroups/`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3/validation_message.proto b/third_party/googleapis/google/cloud/dialogflow/cx/v3/validation_message.proto index f74b21c8f..58c11d1da 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3/validation_message.proto +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3/validation_message.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -70,6 +70,9 @@ message ValidationMessage { // Transition route group. TRANSITION_ROUTE_GROUP = 7; + + // Agent transition route group. + AGENT_TRANSITION_ROUTE_GROUP = 14; } // Severity level. diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3/version.proto b/third_party/googleapis/google/cloud/dialogflow/cx/v3/version.proto index d2adfee4f..4ec02b764 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3/version.proto +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3/version.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3/webhook.proto b/third_party/googleapis/google/cloud/dialogflow/cx/v3/webhook.proto index a858ad90c..749bffa4f 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3/webhook.proto +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3/webhook.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -101,6 +101,45 @@ message Webhook { // Represents configuration for a generic web service. message GenericWebService { + // Represents the type of webhook configuration. + enum WebhookType { + // Default value. This value is unused. + WEBHOOK_TYPE_UNSPECIFIED = 0; + + // Represents a standard webhook. + STANDARD = 1; + + // Represents a flexible webhook. + FLEXIBLE = 2; + } + + // HTTP method to use when calling webhooks. + enum HttpMethod { + // HTTP method not specified. + HTTP_METHOD_UNSPECIFIED = 0; + + // HTTP POST Method. + POST = 1; + + // HTTP GET Method. + GET = 2; + + // HTTP HEAD Method. + HEAD = 3; + + // HTTP PUT Method. + PUT = 4; + + // HTTP DELETE Method. + DELETE = 5; + + // HTTP PATCH Method. + PATCH = 6; + + // HTTP OPTIONS Method. + OPTIONS = 7; + } + // Required. The webhook URI for receiving POST requests. It must use https // protocol. string uri = 1 [(google.api.field_behavior) = REQUIRED]; @@ -129,6 +168,24 @@ message Webhook { // ``` repeated bytes allowed_ca_certs = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Type of the webhook. + WebhookType webhook_type = 6 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. HTTP method for the flexible webhook calls. Standard webhook + // always uses POST. + HttpMethod http_method = 7 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Defines a custom JSON object as request body to send to + // flexible webhook. + string request_body = 8 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Maps the values extracted from specific fields of the flexible + // webhook response into session parameters. + // - Key: session parameter name + // - Value: field path in the webhook response + map parameter_mapping = 9 + [(google.api.field_behavior) = OPTIONAL]; } // Represents configuration for a [Service @@ -373,6 +430,10 @@ message WebhookRequest { // If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as // input, this field will contain the name of the event. string trigger_event = 14; + + // If [DTMF][google.cloud.dialogflow.cx.v3.DtmfInput] was provided as input, + // this field will contain the DTMF digits. + string dtmf_digits = 17; } // The language code specified in the [original diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/BUILD.bazel b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/BUILD.bazel index c6299ac0a..e084fbe75 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/BUILD.bazel @@ -25,20 +25,31 @@ proto_library( "agent.proto", "audio_config.proto", "changelog.proto", + "data_store_connection.proto", "deployment.proto", "entity_type.proto", "environment.proto", + "example.proto", "experiment.proto", "flow.proto", "fulfillment.proto", "gcs.proto", + "generative_settings.proto", + "generator.proto", + "import_strategy.proto", + "inline.proto", "intent.proto", "page.proto", + "parameter_definition.proto", + "playbook.proto", "response_message.proto", + "safety_settings.proto", "security_settings.proto", "session.proto", "session_entity_type.proto", "test_case.proto", + "tool.proto", + "tool_call.proto", "transition_route_group.proto", "validation_message.proto", "version.proto", @@ -124,14 +135,20 @@ java_gapic_test( "com.google.cloud.dialogflow.cx.v3beta1.EntityTypesClientTest", "com.google.cloud.dialogflow.cx.v3beta1.EnvironmentsClientHttpJsonTest", "com.google.cloud.dialogflow.cx.v3beta1.EnvironmentsClientTest", + "com.google.cloud.dialogflow.cx.v3beta1.ExamplesClientHttpJsonTest", + "com.google.cloud.dialogflow.cx.v3beta1.ExamplesClientTest", "com.google.cloud.dialogflow.cx.v3beta1.ExperimentsClientHttpJsonTest", "com.google.cloud.dialogflow.cx.v3beta1.ExperimentsClientTest", "com.google.cloud.dialogflow.cx.v3beta1.FlowsClientHttpJsonTest", "com.google.cloud.dialogflow.cx.v3beta1.FlowsClientTest", + "com.google.cloud.dialogflow.cx.v3beta1.GeneratorsClientHttpJsonTest", + "com.google.cloud.dialogflow.cx.v3beta1.GeneratorsClientTest", "com.google.cloud.dialogflow.cx.v3beta1.IntentsClientHttpJsonTest", "com.google.cloud.dialogflow.cx.v3beta1.IntentsClientTest", "com.google.cloud.dialogflow.cx.v3beta1.PagesClientHttpJsonTest", "com.google.cloud.dialogflow.cx.v3beta1.PagesClientTest", + "com.google.cloud.dialogflow.cx.v3beta1.PlaybooksClientHttpJsonTest", + "com.google.cloud.dialogflow.cx.v3beta1.PlaybooksClientTest", "com.google.cloud.dialogflow.cx.v3beta1.SecuritySettingsServiceClientHttpJsonTest", "com.google.cloud.dialogflow.cx.v3beta1.SecuritySettingsServiceClientTest", "com.google.cloud.dialogflow.cx.v3beta1.SessionEntityTypesClientHttpJsonTest", @@ -140,6 +157,8 @@ java_gapic_test( "com.google.cloud.dialogflow.cx.v3beta1.SessionsClientTest", "com.google.cloud.dialogflow.cx.v3beta1.TestCasesClientHttpJsonTest", "com.google.cloud.dialogflow.cx.v3beta1.TestCasesClientTest", + "com.google.cloud.dialogflow.cx.v3beta1.ToolsClientHttpJsonTest", + "com.google.cloud.dialogflow.cx.v3beta1.ToolsClientTest", "com.google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClientHttpJsonTest", "com.google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroupsClientTest", "com.google.cloud.dialogflow.cx.v3beta1.VersionsClientHttpJsonTest", @@ -171,7 +190,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -208,19 +226,13 @@ go_gapic_library( ], ) -go_test( - name = "cx_go_gapic_test", - srcs = [":cx_go_gapic_srcjar_test"], - embed = [":cx_go_gapic"], - importpath = "cloud.google.com/go/dialogflow/cx/apiv3beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-dialogflow-cx-v3beta1-go", deps = [ ":cx_go_gapic", ":cx_go_gapic_srcjar-metadata.srcjar", + ":cx_go_gapic_srcjar-snippets.srcjar", ":cx_go_gapic_srcjar-test.srcjar", ":cx_go_proto", ], @@ -252,16 +264,15 @@ py_gapic_library( ], ) -# Uncomment once https://github.com/googleapis/gapic-generator-python/issues/1376 is fixed -# py_test( -# name = "cx_py_gapic_test", -# srcs = [ -# "cx_py_gapic_pytest.py", -# "cx_py_gapic_test.py", -# ], -# legacy_create_init = False, -# deps = [":cx_py_gapic"], -# ) +py_test( + name = "cx_py_gapic_test", + srcs = [ + "cx_py_gapic_pytest.py", + "cx_py_gapic_test.py", + ], + legacy_create_init = False, + deps = [":cx_py_gapic"], +) # Open Source Packages py_gapic_assembly_pkg( @@ -278,7 +289,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -287,21 +297,15 @@ php_proto_library( deps = [":cx_proto"], ) -php_grpc_library( - name = "cx_php_grpc", - srcs = [":cx_proto"], - deps = [":cx_php_proto"], -) - php_gapic_library( name = "cx_php_gapic", srcs = [":cx_proto_with_info"], grpc_service_config = "dialogflow_grpc_service_config.json", + migration_mode = "PRE_MIGRATION_SURFACE_ONLY", rest_numeric_enums = True, service_yaml = "dialogflow_v3beta1.yaml", transport = "grpc+rest", deps = [ - ":cx_php_grpc", ":cx_php_proto", ], ) @@ -311,7 +315,6 @@ php_gapic_assembly_pkg( name = "google-cloud-dialogflow-cx-v3beta1-php", deps = [ ":cx_php_gapic", - ":cx_php_grpc", ":cx_php_proto", ], ) @@ -384,6 +387,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Dialogflow is an end-to-end, build-once deploy-everywhere development suite for creating conversational interfaces for websites, mobile applications, popular messaging platforms, and IoT devices. You can use it to build interfaces (such as chatbots and conversational IVR) that enable natural and rich interactions between your users and your business. This client is for Dialogflow CX, providing an advanced agent type suitable for large or very complex agents.", ruby_cloud_title = "Dialogflow CX V3beta1", service_yaml = "dialogflow_v3beta1.yaml", + transport = "grpc+rest", deps = [ ":cx_ruby_grpc", ":cx_ruby_proto", diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/advanced_settings.proto b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/advanced_settings.proto index 32e181b8a..e6086381b 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/advanced_settings.proto +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/advanced_settings.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -40,6 +40,23 @@ option ruby_package = "Google::Cloud::Dialogflow::CX::V3beta1"; // // Hierarchy: Agent->Flow->Page->Fulfillment/Parameter. message AdvancedSettings { + // Define behaviors for DTMF (dual tone multi frequency). + message DtmfSettings { + // If true, incoming audio is processed for DTMF (dual tone multi frequency) + // events. For example, if the caller presses a button on their telephone + // keypad and DTMF processing is enabled, Dialogflow will detect the + // event (e.g. a "3" was pressed) in the incoming audio and pass the event + // to the bot to drive business logic (e.g. when 3 is pressed, return the + // account balance). + bool enabled = 1; + + // Max length of DTMF digits. + int32 max_digits = 2; + + // The digit that terminates a DTMF digit sequence. + string finish_digit = 3; + } + // Define behaviors on logging. message LoggingSettings { // If true, StackDriver logging is currently enabled. @@ -56,6 +73,14 @@ message AdvancedSettings { // - Flow level GcsDestination audio_export_gcs_destination = 2; + // Settings for DTMF. + // Exposed at the following levels: + // - Agent level + // - Flow level + // - Page level + // - Parameter level. + DtmfSettings dtmf_settings = 5; + // Settings for logging. // Settings for Dialogflow History, Contact Center messages, StackDriver logs, // and speech logging. diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/agent.proto b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/agent.proto index d3f314ee4..0dccd245f 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/agent.proto +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/agent.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -23,6 +23,7 @@ import "google/api/resource.proto"; import "google/cloud/dialogflow/cx/v3beta1/advanced_settings.proto"; import "google/cloud/dialogflow/cx/v3beta1/audio_config.proto"; import "google/cloud/dialogflow/cx/v3beta1/flow.proto"; +import "google/cloud/dialogflow/cx/v3beta1/generative_settings.proto"; import "google/longrunning/operations.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; @@ -162,6 +163,25 @@ service Agents { }; option (google.api.method_signature) = "name"; } + + // Gets the generative settings for the agent. + rpc GetGenerativeSettings(GetGenerativeSettingsRequest) + returns (GenerativeSettings) { + option (google.api.http) = { + get: "/v3beta1/{name=projects/*/locations/*/agents/*/generativeSettings}" + }; + option (google.api.method_signature) = "name,language_code"; + } + + // Updates the generative settings for the agent. + rpc UpdateGenerativeSettings(UpdateGenerativeSettingsRequest) + returns (GenerativeSettings) { + option (google.api.http) = { + patch: "/v3beta1/{generative_settings.name=projects/*/locations/*/agents/*/generativeSettings}" + body: "generative_settings" + }; + option (google.api.method_signature) = "generative_settings,update_mask"; + } } // Settings related to speech recognition. @@ -180,14 +200,60 @@ message SpeechToTextSettings { // Types][google.cloud.dialogflow.cx.v3beta1.EntityType], // [Flows][google.cloud.dialogflow.cx.v3beta1.Flow], // [Fulfillments][google.cloud.dialogflow.cx.v3beta1.Fulfillment], -// [Webhooks][google.cloud.dialogflow.cx.v3beta1.Webhook], and so on to manage -// the conversation flows.. +// [Webhooks][google.cloud.dialogflow.cx.v3beta1.Webhook], +// [TransitionRouteGroups][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] +// and so on to manage the conversation flows. message Agent { option (google.api.resource) = { type: "dialogflow.googleapis.com/Agent" pattern: "projects/{project}/locations/{location}/agents/{agent}" }; + // Settings for connecting to Git repository for an agent. + message GitIntegrationSettings { + // Settings of integration with GitHub. + message GithubSettings { + // The unique repository display name for the GitHub repository. + string display_name = 1; + + // The GitHub repository URI related to the agent. + string repository_uri = 2; + + // The branch of the GitHub repository tracked for this agent. + string tracking_branch = 3; + + // The access token used to authenticate the access to the GitHub + // repository. + string access_token = 4; + + // A list of branches configured to be used from Dialogflow. + repeated string branches = 5; + } + + // The git settings to specific systems. + oneof git_settings { + // GitHub settings. + GithubSettings github_settings = 1; + } + } + + // Settings for Gen App Builder. + message GenAppBuilderSettings { + // Required. The full name of the Gen App Builder engine related to this + // agent if there is one. Format: `projects/{Project ID}/locations/{Location + // ID}/collections/{Collection ID}/engines/{Engine ID}` + string engine = 1 [(google.api.field_behavior) = REQUIRED]; + } + + // Settings for answer feedback collection. + message AnswerFeedbackSettings { + // Optional. If enabled, end users will be able to provide + // [answer feedback][google.cloud.dialogflow.cx.v3beta1.AnswerFeedback] to + // Dialogflow responses. Feature works only if interaction logging is + // enabled in the Dialogflow agent. + bool enable_answer_feedback = 1 [(google.api.field_behavior) = OPTIONAL]; + } + // The unique identifier of the agent. // Required for the // [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3beta1.Agents.UpdateAgent] @@ -234,15 +300,34 @@ message Agent { // Speech recognition related settings. SpeechToTextSettings speech_to_text_settings = 13; - // Immutable. Name of the start flow in this agent. A start flow will be + // Optional. Name of the start flow in this agent. A start flow will be // automatically created when the agent is created, and can only be deleted by // deleting the agent. Format: `projects//locations//agents//flows/`. + // ID>/agents//flows/`. Currently only the default start + // flow with id "00000000-0000-0000-0000-000000000000" is allowed. + // + // Only one of `start_flow` or `start_playbook` should be set, but not both. string start_flow = 16 [ - (google.api.field_behavior) = IMMUTABLE, + (google.api.field_behavior) = OPTIONAL, (google.api.resource_reference) = { type: "dialogflow.googleapis.com/Flow" } ]; + // Optional. Name of the start playbook in this agent. A start playbook will + // be automatically created when the agent is created, and can only be deleted + // by deleting the agent. + // Format: `projects//locations//agents//playbooks/`. Currently only the + // default playbook with id + // "00000000-0000-0000-0000-000000000000" is allowed. + // + // Only one of `start_flow` or `start_playbook` should be set, but not both. + string start_playbook = 39 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.resource_reference) = { + type: "dialogflow.googleapis.com/Playbook" + } + ]; + // Name of the // [SecuritySettings][google.cloud.dialogflow.cx.v3beta1.SecuritySettings] // reference for the agent. Format: `projects//locations//locations//agents/`. string name = 1 [ @@ -408,6 +512,13 @@ message ExportAgentRequest { type: "dialogflow.googleapis.com/Environment" } ]; + + // Optional. The Git branch to export the agent to. + GitDestination git_destination = 6 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Whether to include BigQuery Export setting. + bool include_bigquery_export_settings = 7 + [(google.api.field_behavior) = OPTIONAL]; } // The response message for @@ -416,18 +527,31 @@ message ExportAgentResponse { // The exported agent. oneof agent { // The URI to a file containing the exported agent. This field is populated - // only if `agent_uri` is specified in + // if `agent_uri` is specified in // [ExportAgentRequest][google.cloud.dialogflow.cx.v3beta1.ExportAgentRequest]. string agent_uri = 1; - // Uncompressed raw byte content for agent. + // Uncompressed raw byte content for agent. This field is populated + // if none of `agent_uri` and `git_destination` are specified in + // [ExportAgentRequest][google.cloud.dialogflow.cx.v3beta1.ExportAgentRequest]. bytes agent_content = 2; + + // Commit SHA of the git push. This field is populated if + // `git_destination` is specified in + // [ExportAgentRequest][google.cloud.dialogflow.cx.v3beta1.ExportAgentRequest]. + string commit_sha = 3; } } // The request message for // [Agents.RestoreAgent][google.cloud.dialogflow.cx.v3beta1.Agents.RestoreAgent]. message RestoreAgentRequest { + // Settings for restoring from a git branch + message GitSource { + // tracking branch for the git pull + string tracking_branch = 1; + } + // Restore option. enum RestoreOption { // Unspecified. Treated as KEEP. @@ -467,6 +591,9 @@ message RestoreAgentRequest { // Uncompressed raw byte content for agent. bytes agent_content = 3; + + // Setting for restoring from a git branch + GitSource git_source = 6; } // Agent restore mode. If not specified, `KEEP` is assumed. @@ -522,3 +649,34 @@ message AgentValidationResult { // Contains all flow validation results. repeated FlowValidationResult flow_validation_results = 2; } + +// Request for +// [GetGenerativeSettings][google.cloud.dialogflow.cx.v3beta1.Agents.GetGenerativeSettings] +// RPC. +message GetGenerativeSettingsRequest { + // Required. Format: `projects//locations//agents//generativeSettings`. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dialogflow.googleapis.com/AgentGenerativeSettings" + } + ]; + + // Required. Language code of the generative settings. + string language_code = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// Request for +// [UpdateGenerativeSettings][google.cloud.dialogflow.cx.v3beta1.Agents.UpdateGenerativeSettings] +// RPC. +message UpdateGenerativeSettingsRequest { + // Required. Generative settings to update. + GenerativeSettings generative_settings = 1 + [(google.api.field_behavior) = REQUIRED]; + + // Optional. The mask to control which fields get updated. If the mask is not + // present, all fields will be updated. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = OPTIONAL]; +} diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/audio_config.proto b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/audio_config.proto index 455b3695c..3fd7b9b77 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/audio_config.proto +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/audio_config.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -97,10 +97,6 @@ enum SpeechModelVariant { // Use the best available variant of the [Speech // model][InputAudioConfig.model] that the caller is eligible for. - // - // Please see the [Dialogflow - // docs](https://cloud.google.com/dialogflow/docs/data-logging) for - // how to make your project eligible for enhanced models. USE_BEST_AVAILABLE = 1; // Use standard model variant even if an enhanced model is available. See the @@ -118,11 +114,6 @@ enum SpeechModelVariant { // The [Cloud Speech // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) // describes which models have enhanced variants. - // - // * If the API caller isn't eligible for enhanced models, Dialogflow returns - // an error. Please see the [Dialogflow - // docs](https://cloud.google.com/dialogflow/docs/data-logging) - // for how to make your project eligible. USE_ENHANCED = 3; } @@ -151,6 +142,39 @@ message SpeechWordInfo { float confidence = 4; } +// Configuration of the barge-in behavior. Barge-in instructs the API to return +// a detected utterance at a proper time while the client is playing back the +// response audio from a previous request. When the client sees the +// utterance, it should stop the playback and immediately get ready for +// receiving the responses for the current request. +// +// The barge-in handling requires the client to start streaming audio input +// as soon as it starts playing back the audio from the previous response. The +// playback is modeled into two phases: +// +// * No barge-in phase: which goes first and during which speech detection +// should not be carried out. +// +// * Barge-in phase: which follows the no barge-in phase and during which +// the API starts speech detection and may inform the client that an utterance +// has been detected. Note that no-speech event is not expected in this +// phase. +// +// The client provides this configuration in terms of the durations of those +// two phases. The durations are measured in terms of the audio length from the +// the start of the input audio. +// +// No-speech event is a response with END_OF_UTTERANCE without any transcript +// following up. +message BargeInConfig { + // Duration that is not eligible for barge-in at the beginning of the input + // audio. + google.protobuf.Duration no_barge_in_duration = 1; + + // Total duration for the playback at the beginning of the input audio. + google.protobuf.Duration total_duration = 2; +} + // Instructs the speech recognizer on how to process the audio content. message InputAudioConfig { // Required. Audio encoding of the audio content to process. @@ -179,17 +203,10 @@ message InputAudioConfig { // for more details. repeated string phrase_hints = 4; - // Optional. Which Speech model to select for the given request. Select the - // model best suited to your domain to get best results. If a model is not - // explicitly specified, then we auto-select a model based on the parameters - // in the InputAudioConfig. - // If enhanced speech model is enabled for the agent and an enhanced - // version of the specified model for the language does not exist, then the - // speech is recognized using the standard version of the specified model. - // Refer to - // [Cloud Speech API - // documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model) - // for more details. + // Optional. Which Speech model to select for the given request. + // For more information, see + // [Speech + // models](https://cloud.google.com/dialogflow/cx/docs/concept/speech-models). string model = 7; // Optional. Which variant of the [Speech @@ -205,6 +222,15 @@ message InputAudioConfig { // needed. // Note: This setting is relevant only for streaming methods. bool single_utterance = 8; + + // Configuration of barge-in behavior during the streaming of input audio. + BargeInConfig barge_in_config = 15; + + // If `true`, the request will opt out for STT conformer model migration. + // This field will be deprecated once force migration takes place in June + // 2024. Please refer to [Dialogflow CX Speech model + // migration](https://cloud.google.com/dialogflow/cx/docs/concept/speech-model-migration). + bool opt_out_conformer_model_migration = 26; } // Gender of the voice as described in @@ -314,13 +340,30 @@ message OutputAudioConfig { int32 sample_rate_hertz = 2; // Optional. Configuration of how speech should be synthesized. + // If not specified, + // [Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3beta1.Agent.text_to_speech_settings] + // is applied. SynthesizeSpeechConfig synthesize_speech_config = 3; } -// Settings related to speech generating. +// Settings related to speech synthesizing. message TextToSpeechSettings { - // Configuration of how speech should be synthesized, mapping from - // language (https://dialogflow.com/docs/reference/language) to + // Configuration of how speech should be synthesized, mapping from language + // (https://cloud.google.com/dialogflow/cx/docs/reference/language) to // SynthesizeSpeechConfig. + // + // These settings affect: + // + // - The [phone + // gateway](https://cloud.google.com/dialogflow/cx/docs/concept/integration/phone-gateway) + // synthesize configuration set via + // [Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3beta1.Agent.text_to_speech_settings]. + // + // - How speech is synthesized when invoking + // [session][google.cloud.dialogflow.cx.v3beta1.Sessions] APIs. + // [Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3beta1.Agent.text_to_speech_settings] + // only applies if + // [OutputAudioConfig.synthesize_speech_config][google.cloud.dialogflow.cx.v3beta1.OutputAudioConfig.synthesize_speech_config] + // is not specified. map synthesize_speech_configs = 1; } diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/changelog.proto b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/changelog.proto index 2a51f5c57..ece81d288 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/changelog.proto +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/changelog.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -154,4 +154,7 @@ message Changelog { // The timestamp of the change. google.protobuf.Timestamp create_time = 4; + + // The affected language code of the change. + string language_code = 14; } diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/deployment.proto b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/deployment.proto index 5018a5c6d..3ace56c7a 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/deployment.proto +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/deployment.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -59,7 +59,7 @@ service Deployments { } } -// Represents an deployment in an environment. A deployment happens when a flow +// Represents a deployment in an environment. A deployment happens when a flow // version configured to be active in the environment. You can configure running // pre-deployment steps, e.g. running validation test cases, experiment // auto-rollout, etc. diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/dialogflow_grpc_service_config.json b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/dialogflow_grpc_service_config.json index 9b81916b4..5f1c496cd 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/dialogflow_grpc_service_config.json +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/dialogflow_grpc_service_config.json @@ -11,6 +11,9 @@ { "service": "google.cloud.dialogflow.cx.v3beta1.Deployments" }, + { + "service": "google.cloud.dialogflow.cx.v3beta1.EncryptionSpecService" + }, { "service": "google.cloud.dialogflow.cx.v3beta1.EntityTypes" }, @@ -26,12 +29,24 @@ { "service": "google.cloud.dialogflow.cx.v3beta1.Fulfillments" }, + { + "service": "google.cloud.dialogflow.cx.v3beta1.Generators" + }, { "service": "google.cloud.dialogflow.cx.v3beta1.Intents" }, { "service": "google.cloud.dialogflow.cx.v3beta1.Pages" }, + { + "service": "google.cloud.dialogflow.cx.v3beta1.Playbooks" + }, + { + "service": "google.cloud.dialogflow.cx.v3beta1.Examples" + }, + { + "service": "google.cloud.dialogflow.cx.v3beta1.Tools" + }, { "service": "google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService" }, @@ -70,6 +85,23 @@ ] } }, + { + "name": [ + { + "service": "google.cloud.dialogflow.cx.v3beta1.Agents", + "method": "CreateAgent" + } + ], + "timeout": "180s", + "retryPolicy": { + "initialBackoff": "0.100s", + "maxBackoff": "60s", + "backoffMultiplier": 1.3, + "retryableStatusCodes": [ + "UNAVAILABLE" + ] + } + }, { "name": [ { @@ -89,6 +121,10 @@ }, { "name": [ + { + "service": "google.cloud.dialogflow.cx.v3beta1.Sessions", + "method": "ServerStreamingDetectIntent" + }, { "service": "google.cloud.dialogflow.cx.v3beta1.Sessions", "method": "StreamingDetectIntent" diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/dialogflow_v3beta1.yaml b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/dialogflow_v3beta1.yaml index e18a71c10..305fc78a4 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/dialogflow_v3beta1.yaml +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/dialogflow_v3beta1.yaml @@ -9,14 +9,18 @@ apis: - name: google.cloud.dialogflow.cx.v3beta1.Deployments - name: google.cloud.dialogflow.cx.v3beta1.EntityTypes - name: google.cloud.dialogflow.cx.v3beta1.Environments +- name: google.cloud.dialogflow.cx.v3beta1.Examples - name: google.cloud.dialogflow.cx.v3beta1.Experiments - name: google.cloud.dialogflow.cx.v3beta1.Flows +- name: google.cloud.dialogflow.cx.v3beta1.Generators - name: google.cloud.dialogflow.cx.v3beta1.Intents - name: google.cloud.dialogflow.cx.v3beta1.Pages +- name: google.cloud.dialogflow.cx.v3beta1.Playbooks - name: google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService - name: google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes - name: google.cloud.dialogflow.cx.v3beta1.Sessions - name: google.cloud.dialogflow.cx.v3beta1.TestCases +- name: google.cloud.dialogflow.cx.v3beta1.Tools - name: google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups - name: google.cloud.dialogflow.cx.v3beta1.Versions - name: google.cloud.dialogflow.cx.v3beta1.Webhooks @@ -30,10 +34,18 @@ types: - name: google.cloud.dialogflow.cx.v3beta1.DeployFlowMetadata - name: google.cloud.dialogflow.cx.v3beta1.DeployFlowResponse - name: google.cloud.dialogflow.cx.v3beta1.ExportAgentResponse +- name: google.cloud.dialogflow.cx.v3beta1.ExportEntityTypesMetadata +- name: google.cloud.dialogflow.cx.v3beta1.ExportEntityTypesResponse - name: google.cloud.dialogflow.cx.v3beta1.ExportFlowResponse +- name: google.cloud.dialogflow.cx.v3beta1.ExportIntentsMetadata +- name: google.cloud.dialogflow.cx.v3beta1.ExportIntentsResponse - name: google.cloud.dialogflow.cx.v3beta1.ExportTestCasesMetadata - name: google.cloud.dialogflow.cx.v3beta1.ExportTestCasesResponse +- name: google.cloud.dialogflow.cx.v3beta1.ImportEntityTypesMetadata +- name: google.cloud.dialogflow.cx.v3beta1.ImportEntityTypesResponse - name: google.cloud.dialogflow.cx.v3beta1.ImportFlowResponse +- name: google.cloud.dialogflow.cx.v3beta1.ImportIntentsMetadata +- name: google.cloud.dialogflow.cx.v3beta1.ImportIntentsResponse - name: google.cloud.dialogflow.cx.v3beta1.ImportTestCasesMetadata - name: google.cloud.dialogflow.cx.v3beta1.ImportTestCasesResponse - name: google.cloud.dialogflow.cx.v3beta1.RunContinuousTestMetadata @@ -70,59 +82,6 @@ documentation: - selector: google.cloud.location.Locations.ListLocations description: Lists information about the supported locations for this service. -backend: - rules: - - selector: 'google.cloud.dialogflow.cx.v3beta1.Agents.*' - deadline: 60.0 - - selector: google.cloud.dialogflow.cx.v3beta1.Changelogs.GetChangelog - deadline: 60.0 - - selector: google.cloud.dialogflow.cx.v3beta1.Changelogs.ListChangelogs - deadline: 60.0 - - selector: google.cloud.dialogflow.cx.v3beta1.Deployments.GetDeployment - deadline: 60.0 - - selector: google.cloud.dialogflow.cx.v3beta1.Deployments.ListDeployments - deadline: 60.0 - - selector: 'google.cloud.dialogflow.cx.v3beta1.EntityTypes.*' - deadline: 60.0 - - selector: 'google.cloud.dialogflow.cx.v3beta1.Environments.*' - deadline: 60.0 - - selector: 'google.cloud.dialogflow.cx.v3beta1.Experiments.*' - deadline: 60.0 - - selector: 'google.cloud.dialogflow.cx.v3beta1.Flows.*' - deadline: 60.0 - - selector: 'google.cloud.dialogflow.cx.v3beta1.Intents.*' - deadline: 60.0 - - selector: 'google.cloud.dialogflow.cx.v3beta1.Pages.*' - deadline: 60.0 - - selector: 'google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.*' - deadline: 60.0 - - selector: 'google.cloud.dialogflow.cx.v3beta1.SessionEntityTypes.*' - deadline: 60.0 - - selector: google.cloud.dialogflow.cx.v3beta1.Sessions.DetectIntent - deadline: 220.0 - - selector: google.cloud.dialogflow.cx.v3beta1.Sessions.FulfillIntent - deadline: 60.0 - - selector: google.cloud.dialogflow.cx.v3beta1.Sessions.MatchIntent - deadline: 60.0 - - selector: google.cloud.dialogflow.cx.v3beta1.Sessions.StreamingDetectIntent - deadline: 220.0 - - selector: 'google.cloud.dialogflow.cx.v3beta1.TestCases.*' - deadline: 60.0 - - selector: 'google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.*' - deadline: 60.0 - - selector: 'google.cloud.dialogflow.cx.v3beta1.Versions.*' - deadline: 60.0 - - selector: 'google.cloud.dialogflow.cx.v3beta1.Webhooks.*' - deadline: 60.0 - - selector: google.cloud.location.Locations.GetLocation - deadline: 60.0 - - selector: google.cloud.location.Locations.ListLocations - deadline: 60.0 - - selector: 'google.longrunning.Operations.*' - deadline: 60.0 - - selector: google.longrunning.Operations.ListOperations - deadline: 180.0 - http: rules: - selector: google.cloud.location.Locations.GetLocation @@ -179,6 +138,11 @@ authentication: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform, https://www.googleapis.com/auth/dialogflow + - selector: 'google.cloud.dialogflow.cx.v3beta1.Examples.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform, + https://www.googleapis.com/auth/dialogflow - selector: 'google.cloud.dialogflow.cx.v3beta1.Experiments.*' oauth: canonical_scopes: |- @@ -189,6 +153,11 @@ authentication: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform, https://www.googleapis.com/auth/dialogflow + - selector: 'google.cloud.dialogflow.cx.v3beta1.Generators.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform, + https://www.googleapis.com/auth/dialogflow - selector: 'google.cloud.dialogflow.cx.v3beta1.Intents.*' oauth: canonical_scopes: |- @@ -199,6 +168,11 @@ authentication: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform, https://www.googleapis.com/auth/dialogflow + - selector: 'google.cloud.dialogflow.cx.v3beta1.Playbooks.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform, + https://www.googleapis.com/auth/dialogflow - selector: 'google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.*' oauth: canonical_scopes: |- @@ -219,6 +193,11 @@ authentication: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform, https://www.googleapis.com/auth/dialogflow + - selector: 'google.cloud.dialogflow.cx.v3beta1.Tools.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform, + https://www.googleapis.com/auth/dialogflow - selector: 'google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.*' oauth: canonical_scopes: |- diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/entity_type.proto b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/entity_type.proto index d7b08b81e..b6432fcd1 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/entity_type.proto +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/entity_type.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,6 +20,8 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/cloud/dialogflow/cx/v3beta1/inline.proto"; +import "google/longrunning/operations.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; @@ -40,15 +42,6 @@ service EntityTypes { "https://www.googleapis.com/auth/cloud-platform," "https://www.googleapis.com/auth/dialogflow"; - // Returns the list of all entity types in the specified agent. - rpc ListEntityTypes(ListEntityTypesRequest) - returns (ListEntityTypesResponse) { - option (google.api.http) = { - get: "/v3beta1/{parent=projects/*/locations/*/agents/*}/entityTypes" - }; - option (google.api.method_signature) = "parent"; - } - // Retrieves the specified entity type. rpc GetEntityType(GetEntityTypeRequest) returns (EntityType) { option (google.api.http) = { @@ -91,6 +84,41 @@ service EntityTypes { }; option (google.api.method_signature) = "name"; } + + // Returns the list of all entity types in the specified agent. + rpc ListEntityTypes(ListEntityTypesRequest) + returns (ListEntityTypesResponse) { + option (google.api.http) = { + get: "/v3beta1/{parent=projects/*/locations/*/agents/*}/entityTypes" + }; + option (google.api.method_signature) = "parent"; + } + + // Exports the selected entity types. + rpc ExportEntityTypes(ExportEntityTypesRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v3beta1/{parent=projects/*/locations/*/agents/*}/entityTypes:export" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "ExportEntityTypesResponse" + metadata_type: "ExportEntityTypesMetadata" + }; + } + + // Imports the specified entitytypes into the agent. + rpc ImportEntityTypes(ImportEntityTypesRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v3beta1/{parent=projects/*/locations/*/agents/*}/entityTypes:import" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "ImportEntityTypesResponse" + metadata_type: "ImportEntityTypesMetadata" + }; + } } // Entities are extracted from user input and represent parameters that are @@ -227,6 +255,202 @@ message EntityType { bool redact = 9; } +// The request message for +// [EntityTypes.ExportEntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityTypes.ExportEntityTypes]. +message ExportEntityTypesRequest { + // Data format of the exported entity types. + enum DataFormat { + // Unspecified format. Treated as `BLOB`. + DATA_FORMAT_UNSPECIFIED = 0; + + // EntityTypes will be exported as raw bytes. + BLOB = 1; + + // EntityTypes will be exported in JSON Package format. + JSON_PACKAGE = 5; + } + + // Required. The name of the parent agent to export entity types. + // Format: `projects//locations//agents/`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "dialogflow.googleapis.com/EntityType" + } + ]; + + // Required. The name of the entity types to export. + // Format: `projects//locations//agents//entityTypes/`. + repeated string entity_types = 2 [(google.api.field_behavior) = REQUIRED]; + + // The destination to export. + oneof destination { + // Optional. The [Google Cloud + // Storage](https://cloud.google.com/storage/docs/) URI to export the entity + // types to. The format of this URI must be + // `gs:///`. + // + // Dialogflow performs a write operation for the Cloud Storage object + // on the caller's behalf, so your request authentication must + // have write permissions for the object. For more information, see + // [Dialogflow access + // control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). + string entity_types_uri = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The option to return the serialized entity types inline. + bool entity_types_content_inline = 4 + [(google.api.field_behavior) = OPTIONAL]; + } + + // Optional. The data format of the exported entity types. If not specified, + // `BLOB` is assumed. + DataFormat data_format = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The language to retrieve the entity type for. The following + // fields are language dependent: + // + // * `EntityType.entities.value` + // * `EntityType.entities.synonyms` + // * `EntityType.excluded_phrases.value` + // + // If not specified, all language dependent fields will be retrieved. + // [Many + // languages](https://cloud.google.com/dialogflow/docs/reference/language) + // are supported. + // Note: languages must be enabled in the agent before they can be used. + string language_code = 6 [(google.api.field_behavior) = OPTIONAL]; +} + +// The response message for +// [EntityTypes.ExportEntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityTypes.ExportEntityTypes]. +message ExportEntityTypesResponse { + // Exported entity types can be either in cloud storage or local download. + oneof exported_entity_types { + // The URI to a file containing the exported entity types. This field is + // populated only if `entity_types_uri` is specified in + // [ExportEntityTypesRequest][google.cloud.dialogflow.cx.v3beta1.ExportEntityTypesRequest]. + string entity_types_uri = 1; + + // Uncompressed byte content for entity types. This field is populated only + // if `entity_types_content_inline` is set to true in + // [ExportEntityTypesRequest][google.cloud.dialogflow.cx.v3beta1.ExportEntityTypesRequest]. + InlineDestination entity_types_content = 2; + } +} + +// Metadata returned for the +// [EntityTypes.ExportEntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityTypes.ExportEntityTypes] +// long running operation. +message ExportEntityTypesMetadata {} + +// The request message for +// [EntityTypes.ImportEntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityTypes.ImportEntityTypes]. +message ImportEntityTypesRequest { + // Merge option when display name conflicts exist during import. + enum MergeOption { + // Unspecified. If used, system uses REPORT_CONFLICT as default. + MERGE_OPTION_UNSPECIFIED = 0; + + // Replace the original entity type in the agent with the new entity type + // when display name conflicts exist. + REPLACE = 1; + + // Merge the original entity type with the new entity type when display name + // conflicts exist. + MERGE = 2; + + // Create new entity types with new display names to differentiate them from + // the existing entity types when display name conflicts exist. + RENAME = 3; + + // Report conflict information if display names conflict is detected. + // Otherwise, import entity types. + REPORT_CONFLICT = 4; + + // Keep the original entity type and discard the conflicting new entity type + // when display name conflicts exist. + KEEP = 5; + } + + // Required. The agent to import the entity types into. + // Format: `projects//locations//agents/`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "dialogflow.googleapis.com/EntityType" + } + ]; + + // Required. The entity types to import. + oneof entity_types { + // The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI + // to import entity types from. The format of this URI must be + // `gs:///`. + // + // Dialogflow performs a read operation for the Cloud Storage object + // on the caller's behalf, so your request authentication must + // have read permissions for the object. For more information, see + // [Dialogflow access + // control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). + string entity_types_uri = 2; + + // Uncompressed byte content of entity types. + InlineSource entity_types_content = 3; + } + + // Required. Merge option for importing entity types. + MergeOption merge_option = 4 [(google.api.field_behavior) = REQUIRED]; + + // Optional. The target entity type to import into. + // Format: `projects//locations//agents//entity_types/`. + // If set, there should be only one entity type included in + // [entity_types][google.cloud.dialogflow.cx.v3beta1.ImportEntityTypesRequest.entity_types], + // of which the type should match the type of the target entity type. All + // [entities][google.cloud.dialogflow.cx.v3beta1.EntityType.entities] in the + // imported entity type will be added to the target entity type. + string target_entity_type = 5 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.resource_reference) = { + type: "dialogflow.googleapis.com/EntityType" + } + ]; +} + +// The response message for +// [EntityTypes.ImportEntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityTypes.ImportEntityTypes]. +message ImportEntityTypesResponse { + // Conflicting resources detected during the import process. Only filled when + // [REPORT_CONFLICT][ImportEntityTypesResponse.REPORT_CONFLICT] is set in the + // request and there are conflicts in the display names. + message ConflictingResources { + // Display names of conflicting entity types. + repeated string entity_type_display_names = 1; + + // Display names of conflicting entities. + repeated string entity_display_names = 2; + } + + // The unique identifier of the imported entity types. + // Format: `projects//locations//agents//entity_types/`. + repeated string entity_types = 1 [(google.api.resource_reference) = { + type: "dialogflow.googleapis.com/EntityType" + }]; + + // Info which resources have conflicts when + // [REPORT_CONFLICT][ImportEntityTypesResponse.REPORT_CONFLICT] merge_option + // is set in ImportEntityTypesRequest. + ConflictingResources conflicting_resources = 2; +} + +// Metadata returned for the +// [EntityTypes.ImportEntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityTypes.ImportEntityTypes] +// long running operation. +message ImportEntityTypesMetadata {} + // The request message for // [EntityTypes.ListEntityTypes][google.cloud.dialogflow.cx.v3beta1.EntityTypes.ListEntityTypes]. message ListEntityTypesRequest { diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/environment.proto b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/environment.proto index 6b975bf99..140af1ab0 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/environment.proto +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/environment.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/experiment.proto b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/experiment.proto index 8c33b259d..e9f8e51a4 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/experiment.proto +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/experiment.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/flow.proto b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/flow.proto index 736ce1acd..dd88934fd 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/flow.proto +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/flow.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,6 +20,8 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/cloud/dialogflow/cx/v3beta1/advanced_settings.proto"; +import "google/cloud/dialogflow/cx/v3beta1/import_strategy.proto"; import "google/cloud/dialogflow/cx/v3beta1/page.proto"; import "google/cloud/dialogflow/cx/v3beta1/validation_message.proto"; import "google/longrunning/operations.proto"; @@ -308,7 +310,10 @@ message Flow { // defined in the page have higher priority than those defined in the flow. // // Format:`projects//locations//agents//flows//transitionRouteGroups/`. + // ID>/flows//transitionRouteGroups/` + // or `projects//locations//agents//transitionRouteGroups/` for agent-level + // groups. repeated string transition_route_groups = 15 [(google.api.resource_reference) = { type: "dialogflow.googleapis.com/TransitionRouteGroup" @@ -316,6 +321,14 @@ message Flow { // NLU related settings of the flow. NluSettings nlu_settings = 11; + + // Hierarchical advanced settings for this flow. The settings exposed at the + // lower level overrides the settings exposed at the higher level. + AdvancedSettings advanced_settings = 14; + + // Optional. Knowledge connector configuration. + KnowledgeConnectorSettings knowledge_connector_settings = 18 + [(google.api.field_behavior) = OPTIONAL]; } // The request message for @@ -582,6 +595,24 @@ message ImportFlowRequest { // Flow import mode. If not specified, `KEEP` is assumed. ImportOption import_option = 4; + + // Optional. Specifies the import strategy used when resolving resource + // conflicts. + FlowImportStrategy flow_import_strategy = 5 + [(google.api.field_behavior) = OPTIONAL]; +} + +// The flow import strategy used for resource conflict resolution associated +// with an +// [ImportFlowRequest][google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest]. +message FlowImportStrategy { + // Optional. Global flow import strategy for resource conflict resolution. The + // import Import strategy for resource conflict resolution, applied globally + // throughout the flow. It will be applied for all + // display name conflicts in the imported content. If not specified, + // 'CREATE_NEW' is assumed. + ImportStrategy global_import_strategy = 1 + [(google.api.field_behavior) = OPTIONAL]; } // The response message for diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/fulfillment.proto b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/fulfillment.proto index 76c90b48b..4817a7ba1 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/fulfillment.proto +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/fulfillment.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,6 +17,7 @@ syntax = "proto3"; package google.cloud.dialogflow.cx.v3beta1; import "google/api/resource.proto"; +import "google/cloud/dialogflow/cx/v3beta1/advanced_settings.proto"; import "google/cloud/dialogflow/cx/v3beta1/response_message.proto"; import "google/protobuf/struct.proto"; @@ -126,4 +127,15 @@ message Fulfillment { // Conditional cases for this fulfillment. repeated ConditionalCases conditional_cases = 5; + + // Hierarchical advanced settings for this fulfillment. The settings exposed + // at the lower level overrides the settings exposed at the higher level. + AdvancedSettings advanced_settings = 7; + + // If the flag is true, the agent will utilize LLM to generate a text + // response. If LLM generation fails, the defined + // [responses][google.cloud.dialogflow.cx.v3beta1.Fulfillment.messages] in the + // fulfillment will be respected. This flag is only useful for fulfillments + // associated with no-match event handlers. + bool enable_generative_fallback = 12; } diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/gcs.proto b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/gcs.proto index 19ed9a8f1..c0b4d747f 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/gcs.proto +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/gcs.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -31,9 +31,7 @@ option ruby_package = "Google::Cloud::Dialogflow::CX::V3beta1"; // exports objects (e.g. exported agent or transcripts) outside of Dialogflow. message GcsDestination { // Required. The Google Cloud Storage URI for the exported objects. A URI is - // of the form: - // gs://bucket/object-name-or-prefix - // Whether a full object name, or just a prefix, its usage depends on the - // Dialogflow operation. + // of the form: `gs://bucket/object-name-or-prefix` Whether a full object + // name, or just a prefix, its usage depends on the Dialogflow operation. string uri = 1 [(google.api.field_behavior) = REQUIRED]; } diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/intent.proto b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/intent.proto index d3bf64da0..29a050a8a 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/intent.proto +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/intent.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,6 +20,8 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/cloud/dialogflow/cx/v3beta1/inline.proto"; +import "google/longrunning/operations.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; @@ -92,6 +94,50 @@ service Intents { }; option (google.api.method_signature) = "name"; } + + // Imports the specified intents into the agent. + // + // This method is a [long-running + // operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). + // The returned `Operation` type has the following method-specific fields: + // + // - `metadata`: + // [ImportIntentsMetadata][google.cloud.dialogflow.cx.v3beta1.ImportIntentsMetadata] + // - `response`: + // [ImportIntentsResponse][google.cloud.dialogflow.cx.v3beta1.ImportIntentsResponse] + rpc ImportIntents(ImportIntentsRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v3beta1/{parent=projects/*/locations/*/agents/*}/intents:import" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "ImportIntentsResponse" + metadata_type: "ImportIntentsMetadata" + }; + } + + // Exports the selected intents. + // + // This method is a [long-running + // operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). + // The returned `Operation` type has the following method-specific fields: + // + // - `metadata`: + // [ExportIntentsMetadata][google.cloud.dialogflow.cx.v3beta1.ExportIntentsMetadata] + // - `response`: + // [ExportIntentsResponse][google.cloud.dialogflow.cx.v3beta1.ExportIntentsResponse] + rpc ExportIntents(ExportIntentsRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v3beta1/{parent=projects/*/locations/*/agents/*}/intents:export" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "ExportIntentsResponse" + metadata_type: "ExportIntentsMetadata" + }; + } } // An intent represents a user's intent to interact with a conversational agent. @@ -388,3 +434,178 @@ enum IntentView { // All fields are populated. INTENT_VIEW_FULL = 2; } + +// The request message for +// [Intents.ImportIntents][google.cloud.dialogflow.cx.v3beta1.Intents.ImportIntents]. +message ImportIntentsRequest { + // Merge option when display name conflicts exist during import. + enum MergeOption { + // Unspecified. Should not be used. + MERGE_OPTION_UNSPECIFIED = 0; + + // DEPRECATED: Please use + // [REPORT_CONFLICT][ImportIntentsRequest.REPORT_CONFLICT] instead. + // Fail the request if there are intents whose display names conflict with + // the display names of intents in the agent. + REJECT = 1 [deprecated = true]; + + // Replace the original intent in the agent with the new intent when display + // name conflicts exist. + REPLACE = 2; + + // Merge the original intent with the new intent when display name conflicts + // exist. + MERGE = 3; + + // Create new intents with new display names to differentiate them from the + // existing intents when display name conflicts exist. + RENAME = 4; + + // Report conflict information if display names conflict is detected. + // Otherwise, import intents. + REPORT_CONFLICT = 5; + + // Keep the original intent and discard the conflicting new intent when + // display name conflicts exist. + KEEP = 6; + } + + // Required. The agent to import the intents into. + // Format: `projects//locations//agents/`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "dialogflow.googleapis.com/Intent" + } + ]; + + // Required. The intents to import. + oneof intents { + // The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI + // to import intents from. The format of this URI must be + // `gs:///`. + // + // Dialogflow performs a read operation for the Cloud Storage object + // on the caller's behalf, so your request authentication must + // have read permissions for the object. For more information, see + // [Dialogflow access + // control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). + string intents_uri = 2; + + // Uncompressed byte content of intents. + InlineSource intents_content = 3; + } + + // Merge option for importing intents. If not specified, `REJECT` is assumed. + MergeOption merge_option = 4; +} + +// The response message for +// [Intents.ImportIntents][google.cloud.dialogflow.cx.v3beta1.Intents.ImportIntents]. +message ImportIntentsResponse { + // Conflicting resources detected during the import process. Only filled when + // [REPORT_CONFLICT][ImportIntentsResponse.REPORT_CONFLICT] is set in the + // request and there are conflicts in the display names. + message ConflictingResources { + // Display names of conflicting intents. + repeated string intent_display_names = 1; + + // Display names of conflicting entities. + repeated string entity_display_names = 2; + } + + // The unique identifier of the imported intents. + // Format: `projects//locations//agents//intents/`. + repeated string intents = 1 [(google.api.resource_reference) = { + type: "dialogflow.googleapis.com/Intent" + }]; + + // Info which resources have conflicts when + // [REPORT_CONFLICT][ImportIntentsResponse.REPORT_CONFLICT] merge_option is + // set in ImportIntentsRequest. + ConflictingResources conflicting_resources = 2; +} + +// Metadata returned for the +// [Intents.ImportIntents][google.cloud.dialogflow.cx.v3beta1.Intents.ImportIntents] +// long running operation. +message ImportIntentsMetadata {} + +// The request message for +// [Intents.ExportIntents][google.cloud.dialogflow.cx.v3beta1.Intents.ExportIntents]. +message ExportIntentsRequest { + // Data format of the exported intents. + enum DataFormat { + // Unspecified format. Treated as `BLOB`. + DATA_FORMAT_UNSPECIFIED = 0; + + // Intents will be exported as raw bytes. + BLOB = 1; + + // Intents will be exported in JSON format. + JSON = 2; + + // Intents will be exported in CSV format. + CSV = 3; + } + + // Required. The name of the parent agent to export intents. + // Format: `projects//locations//agents/`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "dialogflow.googleapis.com/Intent" + } + ]; + + // Required. The name of the intents to export. + // Format: `projects//locations//agents//intents/`. + repeated string intents = 2 [(google.api.field_behavior) = REQUIRED]; + + // The destination to export. + oneof destination { + // Optional. The [Google Cloud + // Storage](https://cloud.google.com/storage/docs/) URI to export the + // intents to. The format of this URI must be + // `gs:///`. + // + // Dialogflow performs a write operation for the Cloud Storage object + // on the caller's behalf, so your request authentication must + // have write permissions for the object. For more information, see + // [Dialogflow access + // control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). + string intents_uri = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The option to return the serialized intents inline. + bool intents_content_inline = 4 [(google.api.field_behavior) = OPTIONAL]; + } + + // Optional. The data format of the exported intents. If not specified, `BLOB` + // is assumed. + DataFormat data_format = 5 [(google.api.field_behavior) = OPTIONAL]; +} + +// The response message for +// [Intents.ExportIntents][google.cloud.dialogflow.cx.v3beta1.Intents.ExportIntents]. +message ExportIntentsResponse { + // The exported intents. + oneof intents { + // The URI to a file containing the exported intents. This field is + // populated only if `intents_uri` is specified in + // [ExportIntentsRequest][google.cloud.dialogflow.cx.v3beta1.ExportIntentsRequest]. + string intents_uri = 1; + + // Uncompressed byte content for intents. This field is populated only if + // `intents_content_inline` is set to true in + // [ExportIntentsRequest][google.cloud.dialogflow.cx.v3beta1.ExportIntentsRequest]. + InlineDestination intents_content = 2; + } +} + +// Metadata returned for the +// [Intents.ExportIntents][google.cloud.dialogflow.cx.v3beta1.Intents.ExportIntents] +// long running operation. +message ExportIntentsMetadata {} diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/page.proto b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/page.proto index d0aa008e2..40a409be9 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/page.proto +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/page.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,6 +20,8 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/cloud/dialogflow/cx/v3beta1/advanced_settings.proto"; +import "google/cloud/dialogflow/cx/v3beta1/data_store_connection.proto"; import "google/cloud/dialogflow/cx/v3beta1/fulfillment.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; @@ -119,6 +121,9 @@ message Page { // Required. The human-readable name of the page, unique within the flow. string display_name = 2 [(google.api.field_behavior) = REQUIRED]; + // The description of the page. The maximum length is 500 characters. + string description = 19; + // The fulfillment to call when the session is entering the page. Fulfillment entry_fulfillment = 7; @@ -128,8 +133,10 @@ message Page { // Ordered list of // [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] - // associated with the page. Transition route groups must be unique within a - // page. + // added to the page. Transition route groups must be unique within a page. If + // the page links both flow-level transition route groups and agent-level + // transition route groups, the flow-level ones will have higher priority and + // will be put before the agent-level ones. // // * If multiple transition routes within a page scope refer to the same // intent, then the precedence order is: page's transition route -> page's @@ -139,7 +146,10 @@ message Page { // intent, then the first group in the ordered list takes precedence. // // Format:`projects//locations//agents//flows//transitionRouteGroups/`. + // ID>/flows//transitionRouteGroups/` + // or `projects//locations//agents//transitionRouteGroups/` for agent-level + // groups. repeated string transition_route_groups = 11 [(google.api.resource_reference) = { type: "dialogflow.googleapis.com/TransitionRouteGroup" @@ -172,6 +182,14 @@ message Page { // Handlers associated with the page to handle events such as webhook errors, // no match or no input. repeated EventHandler event_handlers = 10; + + // Hierarchical advanced settings for this page. The settings exposed at the + // lower level overrides the settings exposed at the higher level. + AdvancedSettings advanced_settings = 13; + + // Optional. Knowledge connector configuration. + KnowledgeConnectorSettings knowledge_connector_settings = 18 + [(google.api.field_behavior) = OPTIONAL]; } // A form is a data model that groups related parameters that can be collected @@ -265,6 +283,10 @@ message Form { // redaction][google.cloud.dialogflow.cx.v3beta1.EntityType.redact] is // enabled. bool redact = 11; + + // Hierarchical advanced settings for this parameter. The settings exposed + // at the lower level overrides the settings exposed at the higher level. + AdvancedSettings advanced_settings = 12; } // Parameters to collect from the user. @@ -341,6 +363,10 @@ message TransitionRoute { // Output only. The unique identifier of this transition route. string name = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Optional. The description of the transition route. The maximum length is + // 500 characters. + string description = 8 [(google.api.field_behavior) = OPTIONAL]; + // The unique identifier of an // [Intent][google.cloud.dialogflow.cx.v3beta1.Intent]. Format: // `projects//locations//agents//locations//agents//flows//pages/`. + string target_page = 4 [(google.api.resource_reference) = { + type: "dialogflow.googleapis.com/Page" + }]; + + // The target flow to transition to. + // Format: `projects//locations//agents//flows/`. + string target_flow = 5 [(google.api.resource_reference) = { + type: "dialogflow.googleapis.com/Flow" + }]; + } + + // Optional. List of related data store connections. + repeated DataStoreConnection data_store_connections = 6 + [(google.api.field_behavior) = OPTIONAL]; +} diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/response_message.proto b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/response_message.proto index 4ebf02cd1..37b092872 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/response_message.proto +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/response_message.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -180,6 +180,13 @@ message ResponseMessage { } } + // Represents info card response. If the response contains generative + // knowledge prediction, Dialogflow will return a payload with Infobot + // Messenger compatible info card. + // + // Otherwise, the info card response is skipped. + message KnowledgeInfoCard {} + // Required. The rich response message. oneof message { // Returns a text response. @@ -224,6 +231,10 @@ message ResponseMessage { // A signal that the client should transfer the phone call connected to // this agent to a third-party endpoint. TelephonyTransferCall telephony_transfer_call = 18; + + // Represents info card for knowledge answers, to be better rendered in + // Dialogflow Messenger. + KnowledgeInfoCard knowledge_info_card = 20; } // The channel which the response is associated with. Clients can specify the diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/security_settings.proto b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/security_settings.proto index 03fc1e392..1bb3f0456 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/security_settings.proto +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/security_settings.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -218,6 +218,17 @@ message SecuritySettings { REDACT_DISK_STORAGE = 2; } + // Defines how long we retain persisted data that contains sensitive info. + enum RetentionStrategy { + // Retains the persisted data with Dialogflow's internal default 365d TTLs. + RETENTION_STRATEGY_UNSPECIFIED = 0; + + // Removes data when the conversation ends. If there is no [Conversation][] + // explicitly established, a default conversation ends when the + // corresponding Dialogflow session ends. + REMOVE_AFTER_CONVERSATION = 1; + } + // Type of data we purge after retention settings triggers purge. enum PurgeDataType { // Unspecified. Do not use. @@ -347,6 +358,10 @@ message SecuritySettings { // Setting a value higher than that has no effect. A missing value or // setting to 0 also means we use default TTL. int32 retention_window_days = 6; + + // Specifies the retention behavior defined by + // [SecuritySettings.RetentionStrategy][google.cloud.dialogflow.cx.v3beta1.SecuritySettings.RetentionStrategy]. + RetentionStrategy retention_strategy = 7; } // List of types of data to remove when retention settings triggers purge. diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/session.proto b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/session.proto index 3634bc925..bdc3f6e2d 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/session.proto +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/session.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,12 +20,18 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/cloud/dialogflow/cx/v3beta1/advanced_settings.proto"; import "google/cloud/dialogflow/cx/v3beta1/audio_config.proto"; +import "google/cloud/dialogflow/cx/v3beta1/example.proto"; +import "google/cloud/dialogflow/cx/v3beta1/flow.proto"; +import "google/cloud/dialogflow/cx/v3beta1/generative_settings.proto"; import "google/cloud/dialogflow/cx/v3beta1/intent.proto"; import "google/cloud/dialogflow/cx/v3beta1/page.proto"; import "google/cloud/dialogflow/cx/v3beta1/response_message.proto"; import "google/cloud/dialogflow/cx/v3beta1/session_entity_type.proto"; +import "google/cloud/dialogflow/cx/v3beta1/tool_call.proto"; import "google/protobuf/duration.proto"; +import "google/protobuf/field_mask.proto"; import "google/protobuf/struct.proto"; import "google/rpc/status.proto"; import "google/type/latlng.proto"; @@ -43,6 +49,11 @@ option (google.api.resource_definition) = { pattern: "projects/{project}/locations/{location}/agents/{agent}/sessions/{session}" pattern: "projects/{project}/locations/{location}/agents/{agent}/environments/{environment}/sessions/{session}" }; +option (google.api.resource_definition) = { + type: "discoveryengine.googleapis.com/DataStore" + pattern: "projects/{project}/locations/{location}/dataStores/{data_store}" + pattern: "projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}" +}; // A session represents an interaction with a user. You retrieve user input // and pass it to the @@ -73,6 +84,23 @@ service Sessions { }; } + // Processes a natural language query and returns structured, actionable data + // as a result through server-side streaming. Server-side streaming allows + // Dialogflow to send [partial + // responses](https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#partial-response) + // earlier in a single request. + rpc ServerStreamingDetectIntent(DetectIntentRequest) + returns (stream DetectIntentResponse) { + option (google.api.http) = { + post: "/v3beta1/{session=projects/*/locations/*/agents/*/sessions/*}:serverStreamingDetectIntent" + body: "*" + additional_bindings { + post: "/v3beta1/{session=projects/*/locations/*/agents/*/environments/*/sessions/*}:serverStreamingDetectIntent" + body: "*" + } + }; + } + // Processes a natural language query in audio format in a streaming fashion // and returns structured, actionable data as a result. This method is only // available via the gRPC API (not REST). @@ -113,6 +141,78 @@ service Sessions { } }; } + + // Updates the feedback received from the user for a single turn of the bot + // response. + rpc SubmitAnswerFeedback(SubmitAnswerFeedbackRequest) + returns (AnswerFeedback) { + option (google.api.http) = { + post: "/v3beta1/{session=projects/*/locations/*/agents/*/sessions/*}:submitAnswerFeedback" + body: "*" + }; + } +} + +// Stores information about feedback provided by users about a response. +message AnswerFeedback { + // Represents thumbs up/down rating provided by user about a response. + enum Rating { + // Rating not specified. + RATING_UNSPECIFIED = 0; + + // Thumbs up feedback from user. + THUMBS_UP = 1; + + // Thumbs down feedback from user. + THUMBS_DOWN = 2; + } + + // Stores extra information about why users provided thumbs down rating. + message RatingReason { + // Optional. Custom reason labels for thumbs down rating provided by the + // user. The maximum number of labels allowed is 10 and the maximum length + // of a single label is 128 characters. + repeated string reason_labels = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Additional feedback about the rating. + // This field can be populated without choosing a predefined `reason`. + string feedback = 2 [(google.api.field_behavior) = OPTIONAL]; + } + + // Optional. Rating from user for the specific Dialogflow response. + Rating rating = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. In case of thumbs down rating provided, users can optionally + // provide context about the rating. + RatingReason rating_reason = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Custom rating from the user about the provided answer, with + // maximum length of 1024 characters. For example, client could use a + // customized JSON object to indicate the rating. + string custom_rating = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// The request to set the feedback for a bot answer. +message SubmitAnswerFeedbackRequest { + // Required. The name of the session the feedback was sent to. + string session = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dialogflow.googleapis.com/Session" + } + ]; + + // Required. ID of the response to update its feedback. This is the same as + // DetectIntentResponse.response_id. + string response_id = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. Feedback provided for a bot answer. + AnswerFeedback answer_feedback = 3 [(google.api.field_behavior) = REQUIRED]; + + // Optional. The mask to control which fields to update. If the mask is not + // present, all fields will be updated. + google.protobuf.FieldMask update_mask = 4 + [(google.api.field_behavior) = OPTIONAL]; } // The request to detect user's intent. @@ -267,6 +367,77 @@ message StreamingDetectIntentRequest { // if some `Fulfillment`s in the agent have been configured to return partial // responses. bool enable_partial_response = 5; + + // If true, `StreamingDetectIntentResponse.debugging_info` will get populated. + bool enable_debugging_info = 8; +} + +// Cloud conversation info for easier debugging. +// It will get populated in `StreamingDetectIntentResponse` or +// `StreamingAnalyzeContentResponse` when the flag `enable_debugging_info` is +// set to true in corresponding requests. +message CloudConversationDebuggingInfo { + // Number of input audio data chunks in streaming requests. + int32 audio_data_chunks = 1; + + // Time offset of the end of speech utterance relative to the + // beginning of the first audio chunk. + google.protobuf.Duration result_end_time_offset = 2; + + // Duration of first audio chunk. + google.protobuf.Duration first_audio_duration = 3; + + // Whether client used single utterance mode. + bool single_utterance = 5; + + // Time offsets of the speech partial results relative to the beginning of + // the stream. + repeated google.protobuf.Duration speech_partial_results_end_times = 6; + + // Time offsets of the speech final results (is_final=true) relative to the + // beginning of the stream. + repeated google.protobuf.Duration speech_final_results_end_times = 7; + + // Total number of partial responses. + int32 partial_responses = 8; + + // Time offset of Speaker ID stream close time relative to the Speech stream + // close time in milliseconds. Only meaningful for conversations involving + // passive verification. + int32 speaker_id_passive_latency_ms_offset = 9; + + // Whether a barge-in event is triggered in this request. + bool bargein_event_triggered = 10; + + // Whether speech uses single utterance mode. + bool speech_single_utterance = 11; + + // Time offsets of the DTMF partial results relative to the beginning of + // the stream. + repeated google.protobuf.Duration dtmf_partial_results_times = 12; + + // Time offsets of the DTMF final results relative to the beginning of + // the stream. + repeated google.protobuf.Duration dtmf_final_results_times = 13; + + // Time offset of the end-of-single-utterance signal relative to the + // beginning of the stream. + google.protobuf.Duration single_utterance_end_time_offset = 14; + + // No speech timeout settings for the stream. + google.protobuf.Duration no_speech_timeout = 15; + + // Speech endpointing timeout settings for the stream. + google.protobuf.Duration endpointing_timeout = 19; + + // Whether the streaming terminates with an injected text query. + bool is_input_text = 16; + + // Client half close time in terms of input audio duration. + google.protobuf.Duration client_half_close_time_offset = 17; + + // Client half close time in terms of API streaming duration. + google.protobuf.Duration client_half_close_streaming_time_offset = 18; } // The top-level message returned from the @@ -306,6 +477,10 @@ message StreamingDetectIntentResponse { // The response from detect intent. DetectIntentResponse detect_intent_response = 2; } + + // Debugging info that would get populated when + // `StreamingDetectIntentRequest.enable_debugging_info` is set to true. + CloudConversationDebuggingInfo debugging_info = 4; } // Contains a speech recognition result corresponding to a portion of the audio @@ -354,9 +529,9 @@ message StreamingRecognitionResult { // Message contains a (possibly partial) transcript. TRANSCRIPT = 1; - // Event indicates that the server has detected the end of the user's speech - // utterance and expects no additional speech. Therefore, the server will - // not process additional audio (although it may subsequently return + // This event indicates that the server has detected the end of the user's + // speech utterance and expects no additional speech. Therefore, the server + // will not process additional audio (although it may subsequently return // additional results). The client should stop sending additional audio // data, half-close the gRPC connection, and wait for any additional results // until the server closes the gRPC connection. This message is only sent if @@ -512,6 +687,24 @@ message QueryParameters { type: "dialogflow.googleapis.com/Version" }]; + // Optional. Start the session with the specified + // [playbook][google.cloud.dialogflow.cx.v3beta1.Playbook]. You can only + // specify the playbook at the beginning of the session. Otherwise, an error + // will be thrown. + // + // Format: `projects//locations//agents//playbooks/`. + string current_playbook = 19 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.resource_reference) = { + type: "dialogflow.googleapis.com/Playbook" + } + ]; + + // Optional. Use the specified LLM model settings for processing the request. + LlmModelSettings llm_model_settings = 21 + [(google.api.field_behavior) = OPTIONAL]; + // The channel which this query is for. // // If specified, only the @@ -526,18 +719,142 @@ message QueryParameters { // [ResponseMessage][google.cloud.dialogflow.cx.v3beta1.ResponseMessage] with // unspecified channel will be returned. string channel = 15; + + // Optional. Configure lifetime of the Dialogflow session. + // By default, a Dialogflow session remains active and its data is stored for + // 30 minutes after the last request is sent for the session. + // This value should be no longer than 1 day. + google.protobuf.Duration session_ttl = 16 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Information about the end-user to improve the relevance and + // accuracy of generative answers. + // + // This will be interpreted and used by a language model, so, for good + // results, the data should be self-descriptive, and in a simple structure. + // + // Example: + // + // ```json + // { + // "subscription plan": "Business Premium Plus", + // "devices owned": [ + // {"model": "Google Pixel 7"}, + // {"model": "Google Pixel Tablet"} + // ] + // } + // ``` + google.protobuf.Struct end_user_metadata = 18 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Search configuration for UCS search queries. + SearchConfig search_config = 20 [(google.api.field_behavior) = OPTIONAL]; +} + +// Search configuration for UCS search queries. +message SearchConfig { + // Optional. Boosting configuration for the datastores. + repeated BoostSpecs boost_specs = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Filter configuration for the datastores. + repeated FilterSpecs filter_specs = 2 + [(google.api.field_behavior) = OPTIONAL]; +} + +// Boost specification to boost certain documents. +// A copy of google.cloud.discoveryengine.v1main.BoostSpec, field documentation +// is available at +// https://cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1alpha/BoostSpec +message BoostSpec { + // Boost applies to documents which match a condition. + message ConditionBoostSpec { + // Optional. An expression which specifies a boost condition. The syntax and + // supported fields are the same as a filter expression. + // Examples: + // + // * To boost documents with document ID "doc_1" or "doc_2", and + // color + // "Red" or "Blue": + // * (id: ANY("doc_1", "doc_2")) AND (color: ANY("Red","Blue")) + string condition = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Strength of the condition boost, which should be in [-1, 1]. + // Negative boost means demotion. Default is 0.0. + // + // Setting to 1.0 gives the document a big promotion. However, it does not + // necessarily mean that the boosted document will be the top result at + // all times, nor that other documents will be excluded. Results could + // still be shown even when none of them matches the condition. And + // results that are significantly more relevant to the search query can + // still trump your heavily favored but irrelevant documents. + // + // Setting to -1.0 gives the document a big demotion. However, results + // that are deeply relevant might still be shown. The document will have + // an upstream battle to get a fairly high ranking, but it is not blocked + // out completely. + // + // Setting to 0.0 means no boost applied. The boosting condition is + // ignored. + float boost = 2 [(google.api.field_behavior) = OPTIONAL]; + } + + // Optional. Condition boost specifications. If a document matches multiple + // conditions in the specifictions, boost scores from these specifications are + // all applied and combined in a non-linear way. Maximum number of + // specifications is 20. + repeated ConditionBoostSpec condition_boost_specs = 1 + [(google.api.field_behavior) = OPTIONAL]; +} + +// Boost specifications for data stores. +message BoostSpecs { + // Optional. Data Stores where the boosting configuration is applied. The full + // names of the referenced data stores. Formats: + // `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}` + // `projects/{project}/locations/{location}/dataStores/{data_store} + repeated string data_stores = 1 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.resource_reference) = { + type: "discoveryengine.googleapis.com/DataStore" + } + ]; + + // Optional. A list of boosting specifications. + repeated BoostSpec spec = 2 [(google.api.field_behavior) = OPTIONAL]; +} + +// Filter specifications for data stores. +message FilterSpecs { + // Optional. Data Stores where the boosting configuration is applied. The full + // names of the referenced data stores. Formats: + // `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}` + // `projects/{project}/locations/{location}/dataStores/{data_store} + repeated string data_stores = 1 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.resource_reference) = { + type: "discoveryengine.googleapis.com/DataStore" + } + ]; + + // Optional. The filter expression to be applied. + // Expression syntax is documented at + // https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata#filter-expression-syntax + string filter = 2 [(google.api.field_behavior) = OPTIONAL]; } // Represents the query input. It can contain one of: // -// 1. A conversational query in the form of text. +// 1. A conversational query in the form of text. +// +// 2. An intent query that specifies which intent to trigger. // -// 2. An intent query that specifies which intent to trigger. +// 3. Natural language speech audio to be processed. // -// 3. Natural language speech audio to be processed. +// 4. An event to be triggered. // -// 4. An event to be triggered. +// 5. DTMF digits to invoke an intent and fill in parameter value. // +// 6. The results of a tool executed by the client. message QueryInput { // Required. The input specification. oneof input { @@ -555,6 +872,9 @@ message QueryInput { // The DTMF event to be handled. DtmfInput dtmf = 7; + + // The results of a tool executed by the client. + google.cloud.dialogflow.cx.v3beta1.ToolCallResult tool_call_result = 11; } // Required. The language of the input. See [Language @@ -564,6 +884,19 @@ message QueryInput { string language_code = 4 [(google.api.field_behavior) = REQUIRED]; } +// Represents the information of a query if handled by generative agent +// resources. +message GenerativeInfo { + // The stack of [playbooks][google.cloud.dialogflow.cx.v3beta1.Playbook] that + // the conversation has currently entered, with the most recent one on the + // top. + repeated string current_playbooks = 1; + + // The actions performed by the generative playbook for the current agent + // response. + Example action_tracing_info = 2; +} + // Represents the result of a conversational query. message QueryResult { // The original conversational query. @@ -589,8 +922,9 @@ message QueryResult { // as input, this field will contain the name of the event. string trigger_event = 14; - // If a [DTMF][DTMFInput] was provided as input, this field will contain - // a copy of the [DTMFInput][]. + // If a [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as + // input, this field will contain a copy of the + // [DtmfInput][google.cloud.dialogflow.cx.v3beta1.DtmfInput]. DtmfInput dtmf = 23; } @@ -622,6 +956,18 @@ message QueryResult { // to drive complex logic. repeated ResponseMessage response_messages = 4; + // The list of webhook ids in the order of call sequence. + repeated string webhook_ids = 25; + + // The list of webhook display names in the order of call sequence. + repeated string webhook_display_names = 26; + + // The list of webhook latencies in the order of call sequence. + repeated google.protobuf.Duration webhook_latencies = 27; + + // The list of webhook tags in the order of call sequence. + repeated string webhook_tags = 29; + // The list of webhook call status in the order of call sequence. repeated google.rpc.Status webhook_statuses = 13; @@ -636,6 +982,11 @@ message QueryResult { // `display_name`. Page current_page = 7; + // The current [Flow][google.cloud.dialogflow.cx.v3beta1.Flow]. Some, not all + // fields are filled in this message, including but not limited to `name` and + // `display_name`. + Flow current_flow = 31; + // The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the // conversational query. Some, not all fields are filled in this message, // including but not limited to: `name` and `display_name`. This field is @@ -677,17 +1028,30 @@ message QueryResult { // input, but had a lower confidence score. google.protobuf.Struct diagnostic_info = 10; + // The information of a query if handled by generative agent resources. + GenerativeInfo generative_info = 33; + // The sentiment analyss result, which depends on // [`analyze_query_text_sentiment`] // [google.cloud.dialogflow.cx.v3beta1.QueryParameters.analyze_query_text_sentiment], // specified in the request. SentimentAnalysisResult sentiment_analysis_result = 17; + + // Returns the current advanced settings including IVR settings. Even though + // the operations configured by these settings are performed by Dialogflow, + // the client may need to perform special logic at the moment. For example, if + // Dialogflow exports audio to Google Cloud Storage, then the client may need + // to wait for the resulting object to appear in the bucket before proceeding. + AdvancedSettings advanced_settings = 21; + + // Indicates whether the Thumbs up/Thumbs down rating controls are need to be + // shown for the response in the Dialogflow Messenger widget. + bool allow_answer_feedback = 32; } // Represents the natural language text to be processed. message TextInput { - // Required. The UTF-8 encoded natural language text to be processed. Text - // length must not exceed 256 characters. + // Required. The UTF-8 encoded natural language text to be processed. string text = 1 [(google.api.field_behavior) = REQUIRED]; } @@ -711,7 +1075,7 @@ message AudioInput { InputAudioConfig config = 1 [(google.api.field_behavior) = REQUIRED]; // The natural language speech audio to be processed. - // A single request can contain up to 1 minute of speech audio data. + // A single request can contain up to 2 minutes of speech audio data. // The [transcribed // text][google.cloud.dialogflow.cx.v3beta1.QueryResult.transcript] cannot // contain more than 256 bytes. diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/session_entity_type.proto b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/session_entity_type.proto index 4df5508df..0297d628e 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/session_entity_type.proto +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/session_entity_type.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/test_case.proto b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/test_case.proto index 837db529c..d61676b70 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/test_case.proto +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/test_case.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -193,7 +193,8 @@ service TestCases { }; } - // Fetches a list of results for a given test case. + // Fetches the list of run results for the given test case. A maximum of 100 + // results are kept for each test case. rpc ListTestCaseResults(ListTestCaseResultsRequest) returns (ListTestCaseResultsResponse) { option (google.api.http) = { @@ -398,12 +399,16 @@ message TestRunDifference { // The message utterance. UTTERANCE = 4; + + // The flow. + FLOW = 5; } // The type of diff. DiffType type = 1; - // A description of the diff, showing the actual output vs expected output. + // A human readable description of the diff, showing the actual output vs + // expected output. string description = 2; } @@ -438,7 +443,7 @@ message TransitionCoverage { // The end node of a transition. TransitionNode target = 2; - // Whether or not the transition is covered by at least one of the + // Whether the transition is covered by at least one of the // agent's test cases. bool covered = 3; @@ -470,7 +475,7 @@ message TransitionRouteGroupCoverage { // Intent route or condition route. TransitionRoute transition_route = 1; - // Whether or not the transition route is covered by at least one of the + // Whether the transition route is covered by at least one of the // agent's test cases. bool covered = 2; } @@ -504,7 +509,7 @@ message IntentCoverage { type: "dialogflow.googleapis.com/Intent" }]; - // Whether or not the intent is covered by at least one of the agent's + // Whether the intent is covered by at least one of the agent's // test cases. bool covered = 2; } diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/transition_route_group.proto b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/transition_route_group.proto index d92e09e6a..a68a44905 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/transition_route_group.proto +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/transition_route_group.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -46,6 +46,9 @@ service TransitionRouteGroups { returns (ListTransitionRouteGroupsResponse) { option (google.api.http) = { get: "/v3beta1/{parent=projects/*/locations/*/agents/*/flows/*}/transitionRouteGroups" + additional_bindings { + get: "/v3beta1/{parent=projects/*/locations/*/agents/*}/transitionRouteGroups" + } }; option (google.api.method_signature) = "parent"; } @@ -56,6 +59,9 @@ service TransitionRouteGroups { returns (TransitionRouteGroup) { option (google.api.http) = { get: "/v3beta1/{name=projects/*/locations/*/agents/*/flows/*/transitionRouteGroups/*}" + additional_bindings { + get: "/v3beta1/{name=projects/*/locations/*/agents/*/transitionRouteGroups/*}" + } }; option (google.api.method_signature) = "name"; } @@ -72,6 +78,10 @@ service TransitionRouteGroups { option (google.api.http) = { post: "/v3beta1/{parent=projects/*/locations/*/agents/*/flows/*}/transitionRouteGroups" body: "transition_route_group" + additional_bindings { + post: "/v3beta1/{parent=projects/*/locations/*/agents/*}/transitionRouteGroups" + body: "transition_route_group" + } }; option (google.api.method_signature) = "parent,transition_route_group"; } @@ -87,6 +97,10 @@ service TransitionRouteGroups { option (google.api.http) = { patch: "/v3beta1/{transition_route_group.name=projects/*/locations/*/agents/*/flows/*/transitionRouteGroups/*}" body: "transition_route_group" + additional_bindings { + patch: "/v3beta1/{transition_route_group.name=projects/*/locations/*/agents/*/transitionRouteGroups/*}" + body: "transition_route_group" + } }; option (google.api.method_signature) = "transition_route_group,update_mask"; } @@ -101,25 +115,34 @@ service TransitionRouteGroups { returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v3beta1/{name=projects/*/locations/*/agents/*/flows/*/transitionRouteGroups/*}" + additional_bindings { + delete: "/v3beta1/{name=projects/*/locations/*/agents/*/transitionRouteGroups/*}" + } }; option (google.api.method_signature) = "name"; } } -// An TransitionRouteGroup represents a group of +// A TransitionRouteGroup represents a group of // [`TransitionRoutes`][google.cloud.dialogflow.cx.v3beta1.TransitionRoute] to // be used by a [Page][google.cloud.dialogflow.cx.v3beta1.Page]. message TransitionRouteGroup { option (google.api.resource) = { type: "dialogflow.googleapis.com/TransitionRouteGroup" pattern: "projects/{project}/locations/{location}/agents/{agent}/flows/{flow}/transitionRouteGroups/{transition_route_group}" + pattern: "projects/{project}/locations/{location}/agents/{agent}/transitionRouteGroups/{transition_route_group}" + plural: "transitionRouteGroups" + singular: "transitionRouteGroup" }; // The unique identifier of the transition route group. // [TransitionRouteGroups.CreateTransitionRouteGroup][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.CreateTransitionRouteGroup] // populates the name automatically. Format: `projects//locations//agents//flows//transitionRouteGroups/`. + // ID>/transitionRouteGroups/` or + // `projects//locations//agents//transitionRouteGroups/` for agent-level + // groups. string name = 1; // Required. The human-readable name of the transition route group, unique @@ -136,7 +159,8 @@ message TransitionRouteGroup { message ListTransitionRouteGroupsRequest { // Required. The flow to list all transition route groups for. // Format: `projects//locations//agents//flows/`. + // ID>/flows/` + // or `projects//locations//agents/. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -186,7 +210,9 @@ message GetTransitionRouteGroupRequest { // Required. The name of the // [TransitionRouteGroup][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup]. // Format: `projects//locations//agents//flows//transitionRouteGroups/`. + // ID>/flows//transitionRouteGroups/` + // or `projects//locations//agents//transitionRouteGroups/`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -215,7 +241,9 @@ message CreateTransitionRouteGroupRequest { // Required. The flow to create an // [TransitionRouteGroup][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] // for. Format: `projects//locations//agents//flows/`. + // ID>/flows/` + // or `projects//locations//agents/` + // for agent-level groups. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -272,7 +300,8 @@ message DeleteTransitionRouteGroupRequest { // [TransitionRouteGroup][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] // to delete. Format: `projects//locations//agents//flows//transitionRouteGroups/`. + // Route Group ID>` or `projects//locations//agents//transitionRouteGroups/`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/validation_message.proto b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/validation_message.proto index 57acc9ee4..0ff2df787 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/validation_message.proto +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/validation_message.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -70,6 +70,9 @@ message ValidationMessage { // Transition route group. TRANSITION_ROUTE_GROUP = 7; + + // Agent transition route group. + AGENT_TRANSITION_ROUTE_GROUP = 14; } // Severity level. diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/version.proto b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/version.proto index 52b58025b..452fd8b00 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/version.proto +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/version.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/webhook.proto b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/webhook.proto index 2e818508e..ce564df22 100644 --- a/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/webhook.proto +++ b/third_party/googleapis/google/cloud/dialogflow/cx/v3beta1/webhook.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -101,6 +101,45 @@ message Webhook { // Represents configuration for a generic web service. message GenericWebService { + // Represents the type of webhook configuration. + enum WebhookType { + // Default value. This value is unused. + WEBHOOK_TYPE_UNSPECIFIED = 0; + + // Represents a standard webhook. + STANDARD = 1; + + // Represents a flexible webhook. + FLEXIBLE = 2; + } + + // HTTP method to use when calling webhooks. + enum HttpMethod { + // HTTP method not specified. + HTTP_METHOD_UNSPECIFIED = 0; + + // HTTP POST Method. + POST = 1; + + // HTTP GET Method. + GET = 2; + + // HTTP HEAD Method. + HEAD = 3; + + // HTTP PUT Method. + PUT = 4; + + // HTTP DELETE Method. + DELETE = 5; + + // HTTP PATCH Method. + PATCH = 6; + + // HTTP OPTIONS Method. + OPTIONS = 7; + } + // Required. The webhook URI for receiving POST requests. It must use https // protocol. string uri = 1 [(google.api.field_behavior) = REQUIRED]; @@ -129,6 +168,24 @@ message Webhook { // ``` repeated bytes allowed_ca_certs = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Type of the webhook. + WebhookType webhook_type = 6 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. HTTP method for the flexible webhook calls. Standard webhook + // always uses POST. + HttpMethod http_method = 7 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Defines a custom JSON object as request body to send to + // flexible webhook. + string request_body = 8 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Maps the values extracted from specific fields of the flexible + // webhook response into session parameters. + // - Key: session parameter name + // - Value: field path in the webhook response + map parameter_mapping = 9 + [(google.api.field_behavior) = OPTIONAL]; } // Represents configuration for a [Service @@ -373,6 +430,10 @@ message WebhookRequest { // If an [event][google.cloud.dialogflow.cx.v3beta1.EventInput] was provided // as input, this field will contain the name of the event. string trigger_event = 14; + + // If [DTMF][google.cloud.dialogflow.cx.v3beta1.DtmfInput] was provided as + // input, this field will contain the DTMF digits. + string dtmf_digits = 17; } // The language code specified in the [original diff --git a/third_party/googleapis/google/cloud/dialogflow/v2/BUILD.bazel b/third_party/googleapis/google/cloud/dialogflow/v2/BUILD.bazel index bdf828d06..e2e855f66 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2/BUILD.bazel +++ b/third_party/googleapis/google/cloud/dialogflow/v2/BUILD.bazel @@ -101,8 +101,8 @@ java_gapic_library( rest_numeric_enums = True, service_yaml = "dialogflow_v2.yaml", test_deps = [ - "//google/cloud/location:location_java_grpc", ":dialogflow_java_grpc", + "//google/cloud/location:location_java_grpc", ], transport = "grpc+rest", deps = [ @@ -174,7 +174,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -211,19 +210,13 @@ go_gapic_library( ], ) -go_test( - name = "dialogflow_go_gapic_test", - srcs = [":dialogflow_go_gapic_srcjar_test"], - embed = [":dialogflow_go_gapic"], - importpath = "cloud.google.com/go/dialogflow/apiv2", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-dialogflow-v2-go", deps = [ ":dialogflow_go_gapic", ":dialogflow_go_gapic_srcjar-metadata.srcjar", + ":dialogflow_go_gapic_srcjar-snippets.srcjar", ":dialogflow_go_gapic_srcjar-test.srcjar", ":dialogflow_go_proto", ], @@ -275,7 +268,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -284,21 +276,15 @@ php_proto_library( deps = [":dialogflow_proto"], ) -php_grpc_library( - name = "dialogflow_php_grpc", - srcs = [":dialogflow_proto"], - deps = [":dialogflow_php_proto"], -) - php_gapic_library( name = "dialogflow_php_gapic", srcs = [":dialogflow_proto_with_info"], grpc_service_config = "dialogflow_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "dialogflow_v2.yaml", transport = "grpc+rest", deps = [ - ":dialogflow_php_grpc", ":dialogflow_php_proto", ], ) @@ -308,7 +294,6 @@ php_gapic_assembly_pkg( name = "google-cloud-dialogflow-v2-php", deps = [ ":dialogflow_php_gapic", - ":dialogflow_php_grpc", ":dialogflow_php_proto", ], ) @@ -381,6 +366,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Dialogflow is an end-to-end, build-once deploy-everywhere development suite for creating conversational interfaces for websites, mobile applications, popular messaging platforms, and IoT devices. You can use it to build interfaces (such as chatbots and conversational IVR) that enable natural and rich interactions between your users and your business. This client is for Dialogflow ES, providing the standard agent type suitable for small and simple agents.", ruby_cloud_title = "Dialogflow V2", service_yaml = "dialogflow_v2.yaml", + transport = "grpc+rest", deps = [ ":dialogflow_ruby_grpc", ":dialogflow_ruby_proto", @@ -410,6 +396,7 @@ load( csharp_proto_library( name = "dialogflow_csharp_proto", + extra_opts = [], deps = [":dialogflow_proto"], ) diff --git a/third_party/googleapis/google/cloud/dialogflow/v2/agent.proto b/third_party/googleapis/google/cloud/dialogflow/v2/agent.proto index 64b219e5f..5595f4c97 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2/agent.proto +++ b/third_party/googleapis/google/cloud/dialogflow/v2/agent.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/dialogflow/v2/answer_record.proto b/third_party/googleapis/google/cloud/dialogflow/v2/answer_record.proto index 0eb5216a8..8463144dd 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2/answer_record.proto +++ b/third_party/googleapis/google/cloud/dialogflow/v2/answer_record.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -208,6 +208,8 @@ message AnswerFeedback { // Indicates whether the answer/item was clicked by the human agent // or not. Default to false. + // For knowledge search and knowledge assist, the answer record is considered + // to be clicked if the answer was copied or any URI was clicked. bool clicked = 3; // Time when the answer/item was clicked. @@ -271,6 +273,22 @@ message AgentAssistantFeedback { string summary_text = 3; } + // Feedback for knowledge search. + message KnowledgeSearchFeedback { + // Whether the answer was copied by the human agent or not. + // If the value is set to be true, + // [AnswerFeedback.clicked][google.cloud.dialogflow.v2.AnswerFeedback.clicked] + // will be updated to be true. + bool answer_copied = 1; + + // The URIs clicked by the human agent. The value is appended for each + // [UpdateAnswerRecordRequest][google.cloud.dialogflow.v2.UpdateAnswerRecordRequest]. + // If the value is not empty, + // [AnswerFeedback.clicked][google.cloud.dialogflow.v2.AnswerFeedback.clicked] + // will be updated to be true. + repeated string clicked_uris = 2; + } + // Optional. Whether or not the suggested answer is relevant. // // For example: @@ -305,6 +323,10 @@ message AgentAssistantFeedback { // Optional. Feedback for conversation summarization. SummarizationFeedback summarization_feedback = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Feedback for knowledge search. + KnowledgeSearchFeedback knowledge_search_feedback = 5 + [(google.api.field_behavior) = OPTIONAL]; } // Represents a record of a human agent assist answer. @@ -317,5 +339,9 @@ message AgentAssistantRecord { // Output only. The FAQ answer. FaqAnswer faq_answer = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Dialogflow assist answer. + DialogflowAssistAnswer dialogflow_assist_answer = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; } } diff --git a/third_party/googleapis/google/cloud/dialogflow/v2/audio_config.proto b/third_party/googleapis/google/cloud/dialogflow/v2/audio_config.proto index c86ec797c..6d08164a2 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2/audio_config.proto +++ b/third_party/googleapis/google/cloud/dialogflow/v2/audio_config.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -36,55 +36,6 @@ option (google.api.resource_definition) = { pattern: "projects/{project}/locations/{location}/phraseSets/{phrase_set}" }; -// Audio encoding of the audio content sent in the conversational query request. -// Refer to the -// [Cloud Speech API -// documentation](https://cloud.google.com/speech-to-text/docs/basics) for more -// details. -enum AudioEncoding { - // Not specified. - AUDIO_ENCODING_UNSPECIFIED = 0; - - // Uncompressed 16-bit signed little-endian samples (Linear PCM). - AUDIO_ENCODING_LINEAR_16 = 1; - - // [`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless Audio - // Codec) is the recommended encoding because it is lossless (therefore - // recognition is not compromised) and requires only about half the - // bandwidth of `LINEAR16`. `FLAC` stream encoding supports 16-bit and - // 24-bit samples, however, not all fields in `STREAMINFO` are supported. - AUDIO_ENCODING_FLAC = 2; - - // 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law. - AUDIO_ENCODING_MULAW = 3; - - // Adaptive Multi-Rate Narrowband codec. `sample_rate_hertz` must be 8000. - AUDIO_ENCODING_AMR = 4; - - // Adaptive Multi-Rate Wideband codec. `sample_rate_hertz` must be 16000. - AUDIO_ENCODING_AMR_WB = 5; - - // Opus encoded audio frames in Ogg container - // ([OggOpus](https://wiki.xiph.org/OggOpus)). - // `sample_rate_hertz` must be 16000. - AUDIO_ENCODING_OGG_OPUS = 6; - - // Although the use of lossy encodings is not recommended, if a very low - // bitrate encoding is required, `OGG_OPUS` is highly preferred over - // Speex encoding. The [Speex](https://speex.org/) encoding supported by - // Dialogflow API has a header byte in each block, as in MIME type - // `audio/x-speex-with-header-byte`. - // It is a variant of the RTP Speex encoding defined in - // [RFC 5574](https://tools.ietf.org/html/rfc5574). - // The stream is a sequence of blocks, one block per RTP packet. Each block - // starts with a byte containing the length of the block, in bytes, followed - // by one or more frames of Speex data, padded to an integral number of - // bytes (octets) as specified in RFC 5574. In other words, each RTP header - // is replaced with a single byte containing the block length. Only Speex - // wideband is supported. `sample_rate_hertz` must be 16000. - AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE = 7; -} - // Hints for the speech recognizer to help with recognition in a specific // conversation state. message SpeechContext { @@ -101,7 +52,7 @@ message SpeechContext { // See the [Cloud Speech // documentation](https://cloud.google.com/speech-to-text/quotas) for usage // limits. - repeated string phrases = 1; + repeated string phrases = 1 [(google.api.field_behavior) = OPTIONAL]; // Optional. Boost for this context compared to other contexts: // @@ -112,51 +63,7 @@ message SpeechContext { // // Dialogflow recommends that you use boosts in the range (0, 20] and that you // find a value that fits your use case with binary search. - float boost = 2; -} - -// Variant of the specified [Speech -// model][google.cloud.dialogflow.v2.InputAudioConfig.model] to use. -// -// See the [Cloud Speech -// documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) -// for which models have different variants. For example, the "phone_call" model -// has both a standard and an enhanced variant. When you use an enhanced model, -// you will generally receive higher quality results than for a standard model. -enum SpeechModelVariant { - // No model variant specified. In this case Dialogflow defaults to - // USE_BEST_AVAILABLE. - SPEECH_MODEL_VARIANT_UNSPECIFIED = 0; - - // Use the best available variant of the [Speech - // model][InputAudioConfig.model] that the caller is eligible for. - // - // Please see the [Dialogflow - // docs](https://cloud.google.com/dialogflow/docs/data-logging) for - // how to make your project eligible for enhanced models. - USE_BEST_AVAILABLE = 1; - - // Use standard model variant even if an enhanced model is available. See the - // [Cloud Speech - // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) - // for details about enhanced models. - USE_STANDARD = 2; - - // Use an enhanced model variant: - // - // * If an enhanced variant does not exist for the given - // [model][google.cloud.dialogflow.v2.InputAudioConfig.model] and request - // language, Dialogflow falls back to the standard variant. - // - // The [Cloud Speech - // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) - // describes which models have enhanced variants. - // - // * If the API caller isn't eligible for enhanced models, Dialogflow returns - // an error. Please see the [Dialogflow - // docs](https://cloud.google.com/dialogflow/docs/data-logging) - // for how to make your project eligible. - USE_ENHANCED = 3; + float boost = 2 [(google.api.field_behavior) = OPTIONAL]; } // Information for a word recognized by the speech recognizer. @@ -187,21 +94,20 @@ message SpeechWordInfo { // Instructs the speech recognizer how to process the audio content. message InputAudioConfig { // Required. Audio encoding of the audio content to process. - AudioEncoding audio_encoding = 1; + AudioEncoding audio_encoding = 1 [(google.api.field_behavior) = REQUIRED]; // Required. Sample rate (in Hertz) of the audio content sent in the query. - // Refer to - // [Cloud Speech API + // Refer to [Cloud Speech API // documentation](https://cloud.google.com/speech-to-text/docs/basics) for // more details. - int32 sample_rate_hertz = 2; + int32 sample_rate_hertz = 2 [(google.api.field_behavior) = REQUIRED]; // Required. The language of the supplied audio. Dialogflow does not do // translations. See [Language // Support](https://cloud.google.com/dialogflow/docs/reference/language) // for a list of the currently supported language codes. Note that queries in // the same session do not necessarily need to specify the same language. - string language_code = 3; + string language_code = 3 [(google.api.field_behavior) = REQUIRED]; // If `true`, Dialogflow returns // [SpeechWordInfo][google.cloud.dialogflow.v2.SpeechWordInfo] in @@ -218,9 +124,9 @@ message InputAudioConfig { // documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) // for more details. // - // This field is deprecated. Please use [speech_contexts]() instead. If you - // specify both [phrase_hints]() and [speech_contexts](), Dialogflow will - // treat the [phrase_hints]() as a single additional [SpeechContext](). + // This field is deprecated. Please use [`speech_contexts`]() instead. If you + // specify both [`phrase_hints`]() and [`speech_contexts`](), Dialogflow will + // treat the [`phrase_hints`]() as a single additional [`SpeechContext`](). repeated string phrase_hints = 4 [deprecated = true]; // Context information to assist speech recognition. @@ -230,17 +136,9 @@ message InputAudioConfig { // for more details. repeated SpeechContext speech_contexts = 11; - // Which Speech model to select for the given request. Select the - // model best suited to your domain to get best results. If a model is not - // explicitly specified, then we auto-select a model based on the parameters - // in the InputAudioConfig. - // If enhanced speech model is enabled for the agent and an enhanced - // version of the specified model for the language does not exist, then the - // speech is recognized using the standard version of the specified model. - // Refer to - // [Cloud Speech API - // documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model) - // for more details. + // Optional. Which Speech model to select for the given request. + // For more information, see + // [Speech models](https://cloud.google.com/dialogflow/es/docs/speech-models). string model = 7; // Which variant of the [Speech @@ -266,23 +164,9 @@ message InputAudioConfig { // If `false` and recognition doesn't return any result, trigger // `NO_SPEECH_RECOGNIZED` event to Dialogflow agent. bool disable_no_speech_recognized_event = 14; -} - -// Gender of the voice as described in -// [SSML voice element](https://www.w3.org/TR/speech-synthesis11/#edef_voice). -enum SsmlVoiceGender { - // An unspecified gender, which means that the client doesn't care which - // gender the selected voice will have. - SSML_VOICE_GENDER_UNSPECIFIED = 0; - - // A male voice. - SSML_VOICE_GENDER_MALE = 1; - // A female voice. - SSML_VOICE_GENDER_FEMALE = 2; - - // A gender-neutral voice. - SSML_VOICE_GENDER_NEUTRAL = 3; + // Enable automatic punctuation option at the speech backend. + bool enable_automatic_punctuation = 17; } // Description of which voice to use for speech synthesis. @@ -290,7 +174,7 @@ message VoiceSelectionParams { // Optional. The name of the voice. If not set, the service will choose a // voice based on the other parameters such as language_code and // [ssml_gender][google.cloud.dialogflow.v2.VoiceSelectionParams.ssml_gender]. - string name = 1; + string name = 1 [(google.api.field_behavior) = OPTIONAL]; // Optional. The preferred gender of the voice. If not set, the service will // choose a voice based on the other parameters such as language_code and @@ -298,21 +182,21 @@ message VoiceSelectionParams { // this is only a preference, not requirement. If a voice of the appropriate // gender is not available, the synthesizer should substitute a voice with a // different gender rather than failing the request. - SsmlVoiceGender ssml_gender = 2; + SsmlVoiceGender ssml_gender = 2 [(google.api.field_behavior) = OPTIONAL]; } // Configuration of how speech should be synthesized. message SynthesizeSpeechConfig { // Optional. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is the normal - // native speed supported by the specific voice. 2.0 is twice as fast, and - // 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any - // other values < 0.25 or > 4.0 will return an error. - double speaking_rate = 1; + // native speed supported by the specific voice. 2.0 is twice as fast, and 0.5 + // is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any other + // values < 0.25 or > 4.0 will return an error. + double speaking_rate = 1 [(google.api.field_behavior) = OPTIONAL]; // Optional. Speaking pitch, in the range [-20.0, 20.0]. 20 means increase 20 // semitones from the original pitch. -20 means decrease 20 semitones from the // original pitch. - double pitch = 2; + double pitch = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. Volume gain (in dB) of the normal native volume supported by the // specific voice, in the range [-96.0, 16.0]. If unset, or set to a value of @@ -322,40 +206,16 @@ message SynthesizeSpeechConfig { // amplitude of the normal native signal amplitude. We strongly recommend not // to exceed +10 (dB) as there's usually no effective increase in loudness for // any value greater than that. - double volume_gain_db = 3; + double volume_gain_db = 3 [(google.api.field_behavior) = OPTIONAL]; // Optional. An identifier which selects 'audio effects' profiles that are // applied on (post synthesized) text to speech. Effects are applied on top of // each other in the order they are given. - repeated string effects_profile_id = 5; + repeated string effects_profile_id = 5 + [(google.api.field_behavior) = OPTIONAL]; // Optional. The desired voice of the synthesized audio. - VoiceSelectionParams voice = 4; -} - -// Audio encoding of the output audio format in Text-To-Speech. -enum OutputAudioEncoding { - // Not specified. - OUTPUT_AUDIO_ENCODING_UNSPECIFIED = 0; - - // Uncompressed 16-bit signed little-endian samples (Linear PCM). - // Audio content returned as LINEAR16 also contains a WAV header. - OUTPUT_AUDIO_ENCODING_LINEAR_16 = 1; - - // MP3 audio at 32kbps. - OUTPUT_AUDIO_ENCODING_MP3 = 2; - - // MP3 audio at 64kbps. - OUTPUT_AUDIO_ENCODING_MP3_64_KBPS = 4; - - // Opus encoded audio wrapped in an ogg container. The result will be a - // file which can be played natively on Android, and in browsers (at least - // Chrome and Firefox). The quality of the encoding is considerably higher - // than MP3 while using approximately the same bitrate. - OUTPUT_AUDIO_ENCODING_OGG_OPUS = 3; - - // 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law. - OUTPUT_AUDIO_ENCODING_MULAW = 5; + VoiceSelectionParams voice = 4 [(google.api.field_behavior) = OPTIONAL]; } // Instructs the speech synthesizer on how to generate the output audio content. @@ -377,6 +237,55 @@ message OutputAudioConfig { SynthesizeSpeechConfig synthesize_speech_config = 3; } +// A wrapper of repeated TelephonyDtmf digits. +message TelephonyDtmfEvents { + // A sequence of TelephonyDtmf digits. + repeated TelephonyDtmf dtmf_events = 1; +} + +// Configures speech transcription for +// [ConversationProfile][google.cloud.dialogflow.v2.ConversationProfile]. +message SpeechToTextConfig { + // The speech model used in speech to text. + // `SPEECH_MODEL_VARIANT_UNSPECIFIED`, `USE_BEST_AVAILABLE` will be treated as + // `USE_ENHANCED`. It can be overridden in + // [AnalyzeContentRequest][google.cloud.dialogflow.v2.AnalyzeContentRequest] + // and + // [StreamingAnalyzeContentRequest][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest] + // request. If enhanced model variant is specified and an enhanced version of + // the specified model for the language does not exist, then it would emit an + // error. + SpeechModelVariant speech_model_variant = 1; + + // Which Speech model to select. Select the + // model best suited to your domain to get best results. If a model is not + // explicitly specified, then Dialogflow auto-selects a model based on other + // parameters in the SpeechToTextConfig and Agent settings. + // If enhanced speech model is enabled for the agent and an enhanced + // version of the specified model for the language does not exist, then the + // speech is recognized using the standard version of the specified model. + // Refer to + // [Cloud Speech API + // documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model) + // for more details. + // If you specify a model, the following models typically have the best + // performance: + // + // - phone_call (best for Agent Assist and telephony) + // - latest_short (best for Dialogflow non-telephony) + // - command_and_search + // + // Leave this field unspecified to use + // [Agent Speech + // settings](https://cloud.google.com/dialogflow/cx/docs/concept/agent#settings-speech) + // for model selection. + string model = 2; + + // Use timeout based endpointing, interpreting endpointer sensitivy as + // seconds of timeout value. + bool use_timeout_based_endpointing = 11; +} + // [DTMF](https://en.wikipedia.org/wiki/Dual-tone_multi-frequency_signaling) // digit in Telephony Gateway. enum TelephonyDtmf { @@ -432,32 +341,137 @@ enum TelephonyDtmf { DTMF_POUND = 16; } -// A wrapper of repeated TelephonyDtmf digits. -message TelephonyDtmfEvents { - // A sequence of TelephonyDtmf digits. - repeated TelephonyDtmf dtmf_events = 1; +// Audio encoding of the audio content sent in the conversational query request. +// Refer to the +// [Cloud Speech API +// documentation](https://cloud.google.com/speech-to-text/docs/basics) for more +// details. +enum AudioEncoding { + // Not specified. + AUDIO_ENCODING_UNSPECIFIED = 0; + + // Uncompressed 16-bit signed little-endian samples (Linear PCM). + AUDIO_ENCODING_LINEAR_16 = 1; + + // [`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless Audio + // Codec) is the recommended encoding because it is lossless (therefore + // recognition is not compromised) and requires only about half the + // bandwidth of `LINEAR16`. `FLAC` stream encoding supports 16-bit and + // 24-bit samples, however, not all fields in `STREAMINFO` are supported. + AUDIO_ENCODING_FLAC = 2; + + // 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law. + AUDIO_ENCODING_MULAW = 3; + + // Adaptive Multi-Rate Narrowband codec. `sample_rate_hertz` must be 8000. + AUDIO_ENCODING_AMR = 4; + + // Adaptive Multi-Rate Wideband codec. `sample_rate_hertz` must be 16000. + AUDIO_ENCODING_AMR_WB = 5; + + // Opus encoded audio frames in Ogg container + // ([OggOpus](https://wiki.xiph.org/OggOpus)). + // `sample_rate_hertz` must be 16000. + AUDIO_ENCODING_OGG_OPUS = 6; + + // Although the use of lossy encodings is not recommended, if a very low + // bitrate encoding is required, `OGG_OPUS` is highly preferred over + // Speex encoding. The [Speex](https://speex.org/) encoding supported by + // Dialogflow API has a header byte in each block, as in MIME type + // `audio/x-speex-with-header-byte`. + // It is a variant of the RTP Speex encoding defined in + // [RFC 5574](https://tools.ietf.org/html/rfc5574). + // The stream is a sequence of blocks, one block per RTP packet. Each block + // starts with a byte containing the length of the block, in bytes, followed + // by one or more frames of Speex data, padded to an integral number of + // bytes (octets) as specified in RFC 5574. In other words, each RTP header + // is replaced with a single byte containing the block length. Only Speex + // wideband is supported. `sample_rate_hertz` must be 16000. + AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE = 7; } -// Configures speech transcription for -// [ConversationProfile][google.cloud.dialogflow.v2.ConversationProfile]. -message SpeechToTextConfig { - // The speech model used in speech to text. - // `SPEECH_MODEL_VARIANT_UNSPECIFIED`, `USE_BEST_AVAILABLE` will be treated as - // `USE_ENHANCED`. It can be overridden in - // [AnalyzeContentRequest][google.cloud.dialogflow.v2.AnalyzeContentRequest] - // and - // [StreamingAnalyzeContentRequest][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest] - // request. If enhanced model variant is specified and an enhanced version of - // the specified model for the language does not exist, then it would emit an - // error. - SpeechModelVariant speech_model_variant = 1; +// Variant of the specified [Speech +// model][google.cloud.dialogflow.v2.InputAudioConfig.model] to use. +// +// See the [Cloud Speech +// documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) +// for which models have different variants. For example, the "phone_call" model +// has both a standard and an enhanced variant. When you use an enhanced model, +// you will generally receive higher quality results than for a standard model. +enum SpeechModelVariant { + // No model variant specified. In this case Dialogflow defaults to + // USE_BEST_AVAILABLE. + SPEECH_MODEL_VARIANT_UNSPECIFIED = 0; - // Which Speech model to select. Select the model best suited to your domain - // to get best results. If a model is not explicitly specified, then a default - // model is used. - // Refer to - // [Cloud Speech API - // documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model) - // for more details. - string model = 2; + // Use the best available variant of the [Speech + // model][InputAudioConfig.model] that the caller is eligible for. + // + // Please see the [Dialogflow + // docs](https://cloud.google.com/dialogflow/docs/data-logging) for + // how to make your project eligible for enhanced models. + USE_BEST_AVAILABLE = 1; + + // Use standard model variant even if an enhanced model is available. See the + // [Cloud Speech + // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) + // for details about enhanced models. + USE_STANDARD = 2; + + // Use an enhanced model variant: + // + // * If an enhanced variant does not exist for the given + // [model][google.cloud.dialogflow.v2.InputAudioConfig.model] and request + // language, Dialogflow falls back to the standard variant. + // + // The [Cloud Speech + // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) + // describes which models have enhanced variants. + // + // * If the API caller isn't eligible for enhanced models, Dialogflow returns + // an error. Please see the [Dialogflow + // docs](https://cloud.google.com/dialogflow/docs/data-logging) + // for how to make your project eligible. + USE_ENHANCED = 3; +} + +// Gender of the voice as described in +// [SSML voice element](https://www.w3.org/TR/speech-synthesis11/#edef_voice). +enum SsmlVoiceGender { + // An unspecified gender, which means that the client doesn't care which + // gender the selected voice will have. + SSML_VOICE_GENDER_UNSPECIFIED = 0; + + // A male voice. + SSML_VOICE_GENDER_MALE = 1; + + // A female voice. + SSML_VOICE_GENDER_FEMALE = 2; + + // A gender-neutral voice. + SSML_VOICE_GENDER_NEUTRAL = 3; +} + +// Audio encoding of the output audio format in Text-To-Speech. +enum OutputAudioEncoding { + // Not specified. + OUTPUT_AUDIO_ENCODING_UNSPECIFIED = 0; + + // Uncompressed 16-bit signed little-endian samples (Linear PCM). + // Audio content returned as LINEAR16 also contains a WAV header. + OUTPUT_AUDIO_ENCODING_LINEAR_16 = 1; + + // MP3 audio at 32kbps. + OUTPUT_AUDIO_ENCODING_MP3 = 2; + + // MP3 audio at 64kbps. + OUTPUT_AUDIO_ENCODING_MP3_64_KBPS = 4; + + // Opus encoded audio wrapped in an ogg container. The result will be a + // file which can be played natively on Android, and in browsers (at least + // Chrome and Firefox). The quality of the encoding is considerably higher + // than MP3 while using approximately the same bitrate. + OUTPUT_AUDIO_ENCODING_OGG_OPUS = 3; + + // 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law. + OUTPUT_AUDIO_ENCODING_MULAW = 5; } diff --git a/third_party/googleapis/google/cloud/dialogflow/v2/context.proto b/third_party/googleapis/google/cloud/dialogflow/v2/context.proto index fad65640e..2b6b181f3 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2/context.proto +++ b/third_party/googleapis/google/cloud/dialogflow/v2/context.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -183,7 +183,7 @@ message Context { // ID>/sessions//contexts/`. // // The `Context ID` is always converted to lowercase, may only contain - // characters in a-zA-Z0-9_-% and may be at most 250 bytes long. + // characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. // // If `Environment ID` is not specified, we assume default 'draft' // environment. If `User ID` is not specified, we assume default '-' user. @@ -208,16 +208,14 @@ message Context { // map, associative array, symbol table, dictionary, or JSON object // composed of a collection of (MapKey, MapValue) pairs: // - // - MapKey type: string - // - MapKey value: parameter name - // - MapValue type: - // - If parameter's entity type is a composite entity: map - // - Else: depending on parameter value type, could be one of string, - // number, boolean, null, list or map - // - MapValue value: - // - If parameter's entity type is a composite entity: - // map from composite entity property names to property values - // - Else: parameter value + // * MapKey type: string + // * MapKey value: parameter name + // * MapValue type: If parameter's entity type is a composite entity then use + // map, otherwise, depending on the parameter value type, it could be one of + // string, number, boolean, null, list or map. + // * MapValue value: If parameter's entity type is a composite entity then use + // map from composite entity property names to property values, otherwise, + // use parameter value. google.protobuf.Struct parameters = 3 [(google.api.field_behavior) = OPTIONAL]; } diff --git a/third_party/googleapis/google/cloud/dialogflow/v2/conversation.proto b/third_party/googleapis/google/cloud/dialogflow/v2/conversation.proto index a9dc36f7a..1d6d64f72 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2/conversation.proto +++ b/third_party/googleapis/google/cloud/dialogflow/v2/conversation.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,7 +20,9 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/cloud/dialogflow/v2/conversation_profile.proto"; import "google/cloud/dialogflow/v2/participant.proto"; +import "google/cloud/dialogflow/v2/session.proto"; import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; @@ -139,6 +141,41 @@ service Conversations { }; option (google.api.method_signature) = "conversation"; } + + // Generates and returns a summary for a conversation that does not have a + // resource created for it. + rpc GenerateStatelessSummary(GenerateStatelessSummaryRequest) + returns (GenerateStatelessSummaryResponse) { + option (google.api.http) = { + post: "/v2/{stateless_conversation.parent=projects/*}/suggestions:generateStatelessSummary" + body: "*" + additional_bindings { + post: "/v2/{stateless_conversation.parent=projects/*/locations/*}/suggestions:generateStatelessSummary" + body: "*" + } + }; + } + + // Get answers for the given query based on knowledge documents. + rpc SearchKnowledge(SearchKnowledgeRequest) + returns (SearchKnowledgeResponse) { + option (google.api.http) = { + post: "/v2/{parent=projects/*}/suggestions:searchKnowledge" + body: "*" + additional_bindings { + post: "/v2/{parent=projects/*/locations/*}/suggestions:searchKnowledge" + body: "*" + } + additional_bindings { + post: "/v2/{conversation=projects/*/conversations/*}/suggestions:searchKnowledge" + body: "*" + } + additional_bindings { + post: "/v2/{conversation=projects/*/locations/*/conversations/*}/suggestions:searchKnowledge" + body: "*" + } + }; + } } // Represents a conversation. @@ -253,7 +290,7 @@ message CreateConversationRequest { // auto-generated one to you. // // The conversation ID must be compliant with the regression fomula - // "[a-zA-Z][a-zA-Z0-9_-]*" with the characters length in range of [3,64]. + // `[a-zA-Z][a-zA-Z0-9_-]*` with the characters length in range of [3,64]. // If the field is provided, the caller is resposible for // 1. the uniqueness of the ID, otherwise the request will be rejected. // 2. the consistency for whether to use custom ID or not under a project to @@ -419,7 +456,7 @@ message SuggestConversationSummaryRequest { // suggestion. By default 500 and at most 1000. int32 context_size = 4; - // Parameters for a human assist query. + // Parameters for a human assist query. Only used for POC/demo purpose. AssistQueryParameters assist_query_params = 5; } @@ -441,6 +478,10 @@ message SuggestConversationSummaryResponse { string answer_record = 3 [(google.api.resource_reference) = { type: "dialogflow.googleapis.com/AnswerRecord" }]; + + // The baseline model version used to generate this summary. It is empty if + // a baseline model was not used to generate this summary. + string baseline_model_version = 5; } // Generated summary. @@ -461,3 +502,188 @@ message SuggestConversationSummaryResponse { // request if there weren't that many messages in the conversation. int32 context_size = 3; } + +// The request message for +// [Conversations.GenerateStatelessSummary][google.cloud.dialogflow.v2.Conversations.GenerateStatelessSummary]. +message GenerateStatelessSummaryRequest { + // The minimum amount of information required to generate a Summary without + // having a Conversation resource created. + message MinimalConversation { + // Required. The messages that the Summary will be generated from. It is + // expected that this message content is already redacted and does not + // contain any PII. Required fields: {content, language_code, participant, + // participant_role} Optional fields: {send_time} If send_time is not + // provided, then the messages must be provided in chronological order. + repeated Message messages = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The parent resource to charge for the Summary's generation. + // Format: `projects//locations/`. + string parent = 2 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "locations.googleapis.com/Location" + } + ]; + } + + // Required. The conversation to suggest a summary for. + MinimalConversation stateless_conversation = 1 + [(google.api.field_behavior) = REQUIRED]; + + // Required. A ConversationProfile containing information required for Summary + // generation. + // Required fields: {language_code, security_settings} + // Optional fields: {agent_assistant_config} + ConversationProfile conversation_profile = 2 + [(google.api.field_behavior) = REQUIRED]; + + // The name of the latest conversation message used as context for + // generating a Summary. If empty, the latest message of the conversation will + // be used. The format is specific to the user and the names of the messages + // provided. + string latest_message = 3 [(google.api.resource_reference) = { + type: "dialogflow.googleapis.com/Message" + }]; + + // Max number of messages prior to and including + // [latest_message] to use as context when compiling the + // suggestion. By default 500 and at most 1000. + int32 max_context_size = 4; +} + +// The response message for +// [Conversations.GenerateStatelessSummary][google.cloud.dialogflow.v2.Conversations.GenerateStatelessSummary]. +message GenerateStatelessSummaryResponse { + // Generated summary for a conversation. + message Summary { + // The summary content that is concatenated into one string. + string text = 1; + + // The summary content that is divided into sections. The key is the + // section's name and the value is the section's content. There is no + // specific format for the key or value. + map text_sections = 2; + + // The baseline model version used to generate this summary. It is empty if + // a baseline model was not used to generate this summary. + string baseline_model_version = 4; + } + + // Generated summary. + Summary summary = 1; + + // The name of the latest conversation message used as context for + // compiling suggestion. The format is specific to the user and the names of + // the messages provided. + string latest_message = 2 [(google.api.resource_reference) = { + type: "dialogflow.googleapis.com/Message" + }]; + + // Number of messages prior to and including + // [last_conversation_message][] used to compile the suggestion. It may be + // smaller than the [GenerateStatelessSummaryRequest.context_size][] field in + // the request if there weren't that many messages in the conversation. + int32 context_size = 3; +} + +// The request message for +// [Conversations.SearchKnowledge][google.cloud.dialogflow.v2.Conversations.SearchKnowledge]. +message SearchKnowledgeRequest { + // The parent resource contains the conversation profile + // Format: 'projects/' or `projects//locations/`. + string parent = 6; + + // Required. The natural language text query for knowledge search. + TextInput query = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The conversation profile used to configure the search. + // Format: `projects//locations//conversationProfiles/`. + string conversation_profile = 2 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dialogflow.googleapis.com/ConversationProfile" + } + ]; + + // The ID of the search session. + // The session_id can be combined with Dialogflow V3 Agent ID retrieved from + // conversation profile or on its own to identify a search session. The search + // history of the same session will impact the search result. It's up to the + // API caller to choose an appropriate `Session ID`. It can be a random number + // or some type of session identifiers (preferably hashed). The length must + // not exceed 36 characters. + string session_id = 3; + + // The conversation (between human agent and end user) where the search + // request is triggered. Format: `projects//locations//conversations/`. + string conversation = 4 [(google.api.resource_reference) = { + type: "dialogflow.googleapis.com/Conversation" + }]; + + // The name of the latest conversation message when the request is + // triggered. + // Format: `projects//locations//conversations//messages/`. + string latest_message = 5 [(google.api.resource_reference) = { + type: "dialogflow.googleapis.com/Message" + }]; +} + +// The response message for +// [Conversations.SearchKnowledge][google.cloud.dialogflow.v2.Conversations.SearchKnowledge]. +message SearchKnowledgeResponse { + // Most relevant snippets extracted from articles in the given knowledge base, + // ordered by confidence. + repeated SearchKnowledgeAnswer answers = 2; + + // The rewritten query used to search knowledge. + string rewritten_query = 3; +} + +// Represents a SearchKnowledge answer. +message SearchKnowledgeAnswer { + // The type of the answer. + enum AnswerType { + // The answer has a unspecified type. + ANSWER_TYPE_UNSPECIFIED = 0; + + // The answer is from FAQ documents. + FAQ = 1; + + // The answer is from generative model. + GENERATIVE = 2; + + // The answer is from intent matching. + INTENT = 3; + } + + // The sources of the answers. + message AnswerSource { + // The title of the article. + string title = 1; + + // The URI of the article. + string uri = 2; + + // The relevant snippet of the article. + string snippet = 3; + } + + // The piece of text from the knowledge base documents that answers + // the search query + string answer = 1; + + // The type of the answer. + AnswerType answer_type = 2; + + // All sources used to generate the answer. + repeated AnswerSource answer_sources = 3; + + // The name of the answer record. + // Format: `projects//locations//answer + // Records/` + string answer_record = 5; +} diff --git a/third_party/googleapis/google/cloud/dialogflow/v2/conversation_dataset.proto b/third_party/googleapis/google/cloud/dialogflow/v2/conversation_dataset.proto index 5757ef379..88953a867 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2/conversation_dataset.proto +++ b/third_party/googleapis/google/cloud/dialogflow/v2/conversation_dataset.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/dialogflow/v2/conversation_event.proto b/third_party/googleapis/google/cloud/dialogflow/v2/conversation_event.proto index 4ce33c7cd..8d12ee653 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2/conversation_event.proto +++ b/third_party/googleapis/google/cloud/dialogflow/v2/conversation_event.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/dialogflow/v2/conversation_model.proto b/third_party/googleapis/google/cloud/dialogflow/v2/conversation_model.proto index 916347009..fb6dfecc0 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2/conversation_model.proto +++ b/third_party/googleapis/google/cloud/dialogflow/v2/conversation_model.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/dialogflow/v2/conversation_profile.proto b/third_party/googleapis/google/cloud/dialogflow/v2/conversation_profile.proto index 669dac9bb..cc7ca9915 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2/conversation_profile.proto +++ b/third_party/googleapis/google/cloud/dialogflow/v2/conversation_profile.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -23,6 +23,7 @@ import "google/api/resource.proto"; import "google/cloud/dialogflow/v2/audio_config.proto"; import "google/cloud/dialogflow/v2/participant.proto"; import "google/longrunning/operations.proto"; +import "google/protobuf/duration.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; @@ -381,6 +382,13 @@ message AutomatedAgentConfig { type: "dialogflow.googleapis.com/Agent" } ]; + + // Optional. Configure lifetime of the Dialogflow session. + // By default, a Dialogflow CX session remains active and its data is stored + // for 30 minutes after the last request is sent for the session. + // This value should be no longer than 1 day. + google.protobuf.Duration session_ttl = 3 + [(google.api.field_behavior) = OPTIONAL]; } // Defines the Human Agent Assist to connect to a conversation. @@ -403,9 +411,22 @@ message HumanAgentAssistantConfig { // Automatically iterates all participants and tries to compile // suggestions. // - // Supported features: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST. + // Supported features: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST, + // KNOWLEDGE_ASSIST. bool enable_event_based_suggestion = 3; + // Optional. Disable the logging of search queries sent by human agents. It + // can prevent those queries from being stored at answer records. + // + // Supported features: KNOWLEDGE_SEARCH. + bool disable_agent_query_logging = 14 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Enable including conversation context during query answer + // generation. Supported features: KNOWLEDGE_SEARCH. + bool enable_conversation_augmented_query = 16 + [(google.api.field_behavior) = OPTIONAL]; + // Settings of suggestion trigger. // // Currently, only ARTICLE_SUGGESTION and FAQ will use this field. @@ -478,8 +499,22 @@ message HumanAgentAssistantConfig { // // Supported feature: DIALOGFLOW_ASSIST. message DialogflowQuerySource { + // The configuration used for human agent side Dialogflow assist + // suggestion. + message HumanAgentSideConfig { + // Optional. The name of a dialogflow virtual agent used for intent + // detection and suggestion triggered by human agent. + // Format: `projects//locations//agent`. + string agent = 1 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.resource_reference) = { + type: "dialogflow.googleapis.com/Agent" + } + ]; + } + // Required. The name of a Dialogflow virtual agent used for end user side - // intent detection and suggestion. Format: `projects//locations//agent`. When multiple agents are allowed in // the same Dialogflow project. string agent = 1 [ @@ -488,6 +523,10 @@ message HumanAgentAssistantConfig { type: "dialogflow.googleapis.com/Agent" } ]; + + // Optional. The Dialogflow assist configuration for human agent. + HumanAgentSideConfig human_agent_side_config = 3 + [(google.api.field_behavior) = OPTIONAL]; } // Settings that determine how to filter recent conversation context when @@ -504,6 +543,54 @@ message HumanAgentAssistantConfig { bool drop_ivr_messages = 3; } + // Custom sections to return when requesting a summary of a conversation. + // This is only supported when `baseline_model_version` == '2.0'. + // + // Supported features: CONVERSATION_SUMMARIZATION, + // CONVERSATION_SUMMARIZATION_VOICE. + message Sections { + // Selectable sections to return when requesting a summary of a + // conversation. + enum SectionType { + // Undefined section type, does not return anything. + SECTION_TYPE_UNSPECIFIED = 0; + + // What the customer needs help with or has question about. + // Section name: "situation". + SITUATION = 1; + + // What the agent does to help the customer. + // Section name: "action". + ACTION = 2; + + // Result of the customer service. A single word describing the result + // of the conversation. + // Section name: "resolution". + RESOLUTION = 3; + + // Reason for cancellation if the customer requests for a cancellation. + // "N/A" otherwise. + // Section name: "reason_for_cancellation". + REASON_FOR_CANCELLATION = 4; + + // "Unsatisfied" or "Satisfied" depending on the customer's feelings at + // the end of the conversation. + // Section name: "customer_satisfaction". + CUSTOMER_SATISFACTION = 5; + + // Key entities extracted from the conversation, such as ticket number, + // order number, dollar amount, etc. + // Section names are prefixed by "entities/". + ENTITIES = 6; + } + + // The selected sections chosen to return when requesting a summary of a + // conversation. A duplicate selected section will be treated as a single + // selected section. If section types are not provided, the default will + // be {SITUATION, ACTION, RESULT}. + repeated SectionType section_types = 1; + } + // Source of query. oneof query_source { // Query from knowledgebase. It is used by: @@ -540,12 +627,17 @@ message HumanAgentAssistantConfig { // If this field is not set, it defaults to 0.0, which means that all // suggestions are returned. // - // Supported features: ARTICLE_SUGGESTION, FAQ, SMART_REPLY, SMART_COMPOSE. + // Supported features: ARTICLE_SUGGESTION, FAQ, SMART_REPLY, SMART_COMPOSE, + // KNOWLEDGE_SEARCH, KNOWLEDGE_ASSIST, ENTITY_EXTRACTION. float confidence_threshold = 5; // Determines how recent conversation context is filtered when generating // suggestions. If unspecified, no messages will be dropped. ContextFilterSettings context_filter_settings = 7; + + // Optional. The customized sections chosen to return when requesting a + // summary of a conversation. + Sections sections = 8 [(google.api.field_behavior) = OPTIONAL]; } // Custom conversation models used in agent assist feature. @@ -558,6 +650,16 @@ message HumanAgentAssistantConfig { string model = 1 [(google.api.resource_reference) = { type: "dialogflow.googleapis.com/ConversationModel" }]; + + // Version of current baseline model. It will be ignored if + // [model][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.ConversationModelConfig.model] + // is set. Valid versions are: + // Article Suggestion baseline model: + // - 0.9 + // - 1.0 (default) + // Summarization baseline model: + // - 1.0 + string baseline_model_version = 8; } // Config to process conversation. @@ -719,6 +821,9 @@ message SuggestionFeature { // Run smart reply model for chat. SMART_REPLY = 3; + + // Run knowledge search with text input from agent or text generated query. + KNOWLEDGE_SEARCH = 14; } // Type of Human Agent Assistant API feature to request. diff --git a/third_party/googleapis/google/cloud/dialogflow/v2/dialogflow_grpc_service_config.json b/third_party/googleapis/google/cloud/dialogflow/v2/dialogflow_grpc_service_config.json index 9e94fc79a..0c2beeb4f 100755 --- a/third_party/googleapis/google/cloud/dialogflow/v2/dialogflow_grpc_service_config.json +++ b/third_party/googleapis/google/cloud/dialogflow/v2/dialogflow_grpc_service_config.json @@ -26,6 +26,9 @@ { "service": "google.cloud.dialogflow.v2.Documents" }, + { + "service": "google.cloud.dialogflow.v2.DocumentCollections" + }, { "service": "google.cloud.dialogflow.v2.EntityTypes" }, @@ -38,6 +41,9 @@ { "service": "google.cloud.dialogflow.v2.Fulfillments" }, + { + "service": "google.cloud.dialogflow.v2.Generators" + }, { "service": "google.cloud.dialogflow.v2.Intents" }, @@ -61,6 +67,9 @@ }, { "service": "google.cloud.dialogflow.v2.Versions" + }, + { + "service": "google.cloud.dialogflow.v2.EncryptionSpecService" } ], "timeout": "60s", diff --git a/third_party/googleapis/google/cloud/dialogflow/v2/dialogflow_v2.yaml b/third_party/googleapis/google/cloud/dialogflow/v2/dialogflow_v2.yaml index fb2c00ad2..2d23d1338 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2/dialogflow_v2.yaml +++ b/third_party/googleapis/google/cloud/dialogflow/v2/dialogflow_v2.yaml @@ -74,66 +74,6 @@ documentation: - selector: google.cloud.location.Locations.ListLocations description: Lists information about the supported locations for this service. - - selector: google.longrunning.Operations.ListOperations - description: |- - Lists operations that match the specified filter in the request. If - the server doesn't support this method, it returns `UNIMPLEMENTED`. - -backend: - rules: - - selector: 'google.cloud.dialogflow.v2.Agents.*' - deadline: 60.0 - - selector: google.cloud.dialogflow.v2.AnswerRecords.ListAnswerRecords - deadline: 60.0 - - selector: google.cloud.dialogflow.v2.AnswerRecords.UpdateAnswerRecord - deadline: 60.0 - - selector: 'google.cloud.dialogflow.v2.Contexts.*' - deadline: 60.0 - - selector: 'google.cloud.dialogflow.v2.ConversationDatasets.*' - deadline: 60.0 - - selector: 'google.cloud.dialogflow.v2.ConversationModels.*' - deadline: 60.0 - - selector: 'google.cloud.dialogflow.v2.ConversationProfiles.*' - deadline: 60.0 - - selector: 'google.cloud.dialogflow.v2.Conversations.*' - deadline: 60.0 - - selector: 'google.cloud.dialogflow.v2.Documents.*' - deadline: 60.0 - - selector: 'google.cloud.dialogflow.v2.EntityTypes.*' - deadline: 60.0 - - selector: 'google.cloud.dialogflow.v2.Environments.*' - deadline: 60.0 - - selector: google.cloud.dialogflow.v2.Fulfillments.GetFulfillment - deadline: 60.0 - - selector: google.cloud.dialogflow.v2.Fulfillments.UpdateFulfillment - deadline: 60.0 - - selector: 'google.cloud.dialogflow.v2.Intents.*' - deadline: 60.0 - - selector: 'google.cloud.dialogflow.v2.KnowledgeBases.*' - deadline: 60.0 - - selector: 'google.cloud.dialogflow.v2.Participants.*' - deadline: 60.0 - - selector: google.cloud.dialogflow.v2.Participants.AnalyzeContent - deadline: 220.0 - - selector: google.cloud.dialogflow.v2.Participants.StreamingAnalyzeContent - deadline: 220.0 - - selector: 'google.cloud.dialogflow.v2.SessionEntityTypes.*' - deadline: 60.0 - - selector: google.cloud.dialogflow.v2.Sessions.DetectIntent - deadline: 220.0 - - selector: google.cloud.dialogflow.v2.Sessions.StreamingDetectIntent - deadline: 220.0 - - selector: 'google.cloud.dialogflow.v2.Versions.*' - deadline: 60.0 - - selector: google.cloud.location.Locations.GetLocation - deadline: 60.0 - - selector: google.cloud.location.Locations.ListLocations - deadline: 60.0 - - selector: 'google.longrunning.Operations.*' - deadline: 60.0 - - selector: google.longrunning.Operations.ListOperations - deadline: 180.0 - http: rules: - selector: google.cloud.location.Locations.GetLocation diff --git a/third_party/googleapis/google/cloud/dialogflow/v2/document.proto b/third_party/googleapis/google/cloud/dialogflow/v2/document.proto index 6f1fab774..1c4597aec 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2/document.proto +++ b/third_party/googleapis/google/cloud/dialogflow/v2/document.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -370,7 +370,7 @@ message Document { // // If a reload fails with internal errors, the system will try to reload the // document on the next day. - // If a reload fails with non-retriable errors (e.g. PERMISION_DENIED), the + // If a reload fails with non-retriable errors (e.g. PERMISSION_DENIED), the // system will not try to reload the document anymore. You need to manually // reload the document successfully by calling `ReloadDocument` and clear the // errors. @@ -500,13 +500,13 @@ message ImportDocumentsRequest { // Dialogflow supports up to 350 documents in each request. If you try to // import more, Dialogflow will return an error. oneof source { - // The Google Cloud Storage location for the documents. + // Optional. The Google Cloud Storage location for the documents. // The path can include a wildcard. // // These URIs may have the forms // `gs:///`. // `gs:////*.`. - GcsSources gcs_source = 2; + GcsSources gcs_source = 2 [(google.api.field_behavior) = OPTIONAL]; } // Required. Document template used for importing all the documents. @@ -582,8 +582,13 @@ message ReloadDocumentRequest { ]; // The source for document reloading. + // // If provided, the service will load the contents from the source // and update document in the knowledge base. + // + // Reloading from a new document source is allowed for smart messaging + // documents only. If you want to update the source for other document types, + // please delete the existing document and create a new one instead. oneof source { // Optional. The path of gcs source file for reloading document content. For // now, only gcs uri is supported. diff --git a/third_party/googleapis/google/cloud/dialogflow/v2/entity_type.proto b/third_party/googleapis/google/cloud/dialogflow/v2/entity_type.proto index 1d783c08a..b7069fb04 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2/entity_type.proto +++ b/third_party/googleapis/google/cloud/dialogflow/v2/entity_type.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/dialogflow/v2/environment.proto b/third_party/googleapis/google/cloud/dialogflow/v2/environment.proto index c57673d8d..1bff0ad60 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2/environment.proto +++ b/third_party/googleapis/google/cloud/dialogflow/v2/environment.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/dialogflow/v2/fulfillment.proto b/third_party/googleapis/google/cloud/dialogflow/v2/fulfillment.proto index f704eb080..14951bcfa 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2/fulfillment.proto +++ b/third_party/googleapis/google/cloud/dialogflow/v2/fulfillment.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/dialogflow/v2/gcs.proto b/third_party/googleapis/google/cloud/dialogflow/v2/gcs.proto index e77c36fa3..6c63d357d 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2/gcs.proto +++ b/third_party/googleapis/google/cloud/dialogflow/v2/gcs.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -29,7 +29,7 @@ option objc_class_prefix = "DF"; // Google Cloud Storage location for the inputs. message GcsSources { // Required. Google Cloud Storage URIs for the inputs. A URI is of the form: - // gs://bucket/object-prefix-or-name + // `gs://bucket/object-prefix-or-name` // Whether a prefix or name is used depends on the use case. repeated string uris = 2 [(google.api.field_behavior) = REQUIRED]; } @@ -38,7 +38,7 @@ message GcsSources { message GcsDestination { // The Google Cloud Storage URIs for the output. A URI is of the // form: - // gs://bucket/object-prefix-or-name + // `gs://bucket/object-prefix-or-name` // Whether a prefix or name is used depends on the use case. The requesting // user must have "write-permission" to the bucket. string uri = 1; diff --git a/third_party/googleapis/google/cloud/dialogflow/v2/human_agent_assistant_event.proto b/third_party/googleapis/google/cloud/dialogflow/v2/human_agent_assistant_event.proto index 648db6643..d20408f11 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2/human_agent_assistant_event.proto +++ b/third_party/googleapis/google/cloud/dialogflow/v2/human_agent_assistant_event.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/dialogflow/v2/intent.proto b/third_party/googleapis/google/cloud/dialogflow/v2/intent.proto index fee08d2dd..1a949cc27 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2/intent.proto +++ b/third_party/googleapis/google/cloud/dialogflow/v2/intent.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/dialogflow/v2/knowledge_base.proto b/third_party/googleapis/google/cloud/dialogflow/v2/knowledge_base.proto index c119b829f..8a8c87cc5 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2/knowledge_base.proto +++ b/third_party/googleapis/google/cloud/dialogflow/v2/knowledge_base.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/dialogflow/v2/participant.proto b/third_party/googleapis/google/cloud/dialogflow/v2/participant.proto index 8a1b969b5..b601dc5f4 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2/participant.proto +++ b/third_party/googleapis/google/cloud/dialogflow/v2/participant.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -409,6 +409,9 @@ message AnalyzeContentRequest { // An input event to send to Dialogflow. EventInput event_input = 8; + + // An input representing the selection of a suggestion. + SuggestionInput suggestion_input = 12; } // Speech synthesis configuration. @@ -578,7 +581,7 @@ message StreamingAnalyzeContentRequest { // The UTF-8 encoded natural language text to be processed. Must be sent if // `text_config` is set in the first message. Text length must not exceed // 256 bytes for virtual agent interactions. The `input_text` field can be - // only sent once. + // only sent once, and would cancel the speech recognition if any ongoing. string input_text = 6; // The DTMF digits used to invoke intent and fill in parameter value. @@ -602,11 +605,36 @@ message StreamingAnalyzeContentRequest { // CX agent. google.protobuf.Struct cx_parameters = 13; + // Optional. Enable full bidirectional streaming. You can keep streaming the + // audio until timeout, and there's no need to half close the stream to get + // the response. + // + // Restrictions: + // + // - Timeout: 3 mins. + // - Audio Encoding: only supports + // [AudioEncoding.AUDIO_ENCODING_LINEAR_16][google.cloud.dialogflow.v2.AudioEncoding.AUDIO_ENCODING_LINEAR_16] + // and + // [AudioEncoding.AUDIO_ENCODING_MULAW][google.cloud.dialogflow.v2.AudioEncoding.AUDIO_ENCODING_MULAW] + // - Lifecycle: conversation should be in `Assist Stage`, go to + // [Conversation.CreateConversation][] for more information. + // + // InvalidArgument Error will be returned if the one of restriction checks + // failed. + // + // You can find more details in + // https://cloud.google.com/agent-assist/docs/extended-streaming + bool enable_extended_streaming = 11 [(google.api.field_behavior) = OPTIONAL]; + // Enable partial virtual agent responses. If this flag is not enabled, // response stream still contains only one final response even if some // `Fulfillment`s in Dialogflow virtual agent have been configured to return // partial responses. bool enable_partial_automated_agent_reply = 12; + + // If true, `StreamingAnalyzeContentResponse.debugging_info` will get + // populated. + bool enable_debugging_info = 19; } // The top-level message returned from the `StreamingAnalyzeContent` method. @@ -677,6 +705,10 @@ message StreamingAnalyzeContentResponse { // Indicates the parameters of DTMF. DtmfParameters dtmf_parameters = 10; + + // Debugging info that would get populated when + // `StreamingAnalyzeContentRequest.enable_debugging_info` is set to true. + CloudConversationDebuggingInfo debugging_info = 11; } // The request message for @@ -972,6 +1004,41 @@ message SmartReplyAnswer { }]; } +// Represents an intent suggestion. +message IntentSuggestion { + // The display name of the intent. + string display_name = 1; + + // The name of the intent. + oneof intent { + // The unique identifier of this + // [intent][google.cloud.dialogflow.v2.Intent]. Format: `projects//locations//agent/intents/`. + string intent_v2 = 2; + } + + // Human readable description for better understanding an intent like its + // scope, content, result etc. Maximum character limit: 140 characters. + string description = 5; +} + +// Represents a Dialogflow assist answer. +message DialogflowAssistAnswer { + // Result from DetectIntent for one matched intent. + oneof result { + // Result from v2 agent. + QueryResult query_result = 1; + + // An intent suggestion generated from conversation. + IntentSuggestion intent_suggestion = 5; + } + + // The name of answer record, in the format of + // "projects//locations//answerRecords/" + string answer_record = 2; +} + // One response of different type of suggestion response which is used in // the response of // [Participants.AnalyzeContent][google.cloud.dialogflow.v2.Participants.AnalyzeContent] @@ -1041,6 +1108,17 @@ message MessageAnnotation { bool contain_entities = 2; } +// Represents the selection of a suggestion. +message SuggestionInput { + // Required. The ID of a suggestion selected by the human agent. + // The suggestion(s) were generated in a previous call to + // request Dialogflow assist. + // The format is: + // `projects//locations//answerRecords/` where is an alphanumeric string. + string answer_record = 1 [(google.api.field_behavior) = REQUIRED]; +} + // Represents the parameters of human assist query. message AssistQueryParameters { // Key-value filters on the metadata of documents returned by article diff --git a/third_party/googleapis/google/cloud/dialogflow/v2/session.proto b/third_party/googleapis/google/cloud/dialogflow/v2/session.proto index 209977817..14ee524d1 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2/session.proto +++ b/third_party/googleapis/google/cloud/dialogflow/v2/session.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -139,12 +139,12 @@ message DetectIntentRequest { // Required. The input specification. It can be set to: // - // 1. an audio config - // which instructs the speech recognizer how to process the speech audio, + // 1. an audio config which instructs the speech recognizer how to process + // the speech audio, // - // 2. a conversational query in the form of text, or + // 2. a conversational query in the form of text, or // - // 3. an event that specifies which intent to trigger. + // 3. an event that specifies which intent to trigger. QueryInput query_input = 3 [(google.api.field_behavior) = REQUIRED]; // Instructs the speech synthesizer how to generate the output @@ -242,16 +242,23 @@ message QueryParameters { // "Accept-Encoding", "If-Modified-Since", "If-None-Match", "X-Forwarded-For", // etc. map webhook_headers = 14; + + // The platform of the virtual agent response messages. + // + // If not empty, only emits messages from this platform in the response. + // Valid values are the enum names of + // [platform][google.cloud.dialogflow.v2.Intent.Message.platform]. + string platform = 18; } // Represents the query input. It can contain either: // -// 1. An audio config which -// instructs the speech recognizer how to process the speech audio. +// 1. An audio config which instructs the speech recognizer how to process the +// speech audio. // -// 2. A conversational query in the form of text,. +// 2. A conversational query in the form of text. // -// 3. An event that specifies which intent to trigger. +// 3. An event that specifies which intent to trigger. message QueryInput { // Required. The input specification. oneof input { @@ -306,16 +313,14 @@ message QueryResult { // map, associative array, symbol table, dictionary, or JSON object // composed of a collection of (MapKey, MapValue) pairs: // - // - MapKey type: string - // - MapKey value: parameter name - // - MapValue type: - // - If parameter's entity type is a composite entity: map - // - Else: depending on parameter value type, could be one of string, - // number, boolean, null, list or map - // - MapValue value: - // - If parameter's entity type is a composite entity: - // map from composite entity property names to property values - // - Else: parameter value + // * MapKey type: string + // * MapKey value: parameter name + // * MapValue type: If parameter's entity type is a composite entity then use + // map, otherwise, depending on the parameter value type, it could be one of + // string, number, boolean, null, list or map. + // * MapValue value: If parameter's entity type is a composite entity then use + // map from composite entity property names to property values, otherwise, + // use parameter value. google.protobuf.Struct parameters = 4; // This field is set to: @@ -445,12 +450,12 @@ message StreamingDetectIntentRequest { // Required. The input specification. It can be set to: // - // 1. an audio config which instructs the speech recognizer how to process - // the speech audio, + // 1. an audio config which instructs the speech recognizer how to process + // the speech audio, // - // 2. a conversational query in the form of text, or + // 2. a conversational query in the form of text, or // - // 3. an event that specifies which intent to trigger. + // 3. an event that specifies which intent to trigger. QueryInput query_input = 3 [(google.api.field_behavior) = REQUIRED]; // Please use @@ -483,6 +488,77 @@ message StreamingDetectIntentRequest { // `query_input` was set to a streaming input audio config. The complete audio // over all streaming messages must not exceed 1 minute. bytes input_audio = 6; + + // if true, `StreamingDetectIntentResponse.debugging_info` will get populated. + bool enable_debugging_info = 8; +} + +// Cloud conversation info for easier debugging. +// It will get populated in `StreamingDetectIntentResponse` or +// `StreamingAnalyzeContentResponse` when the flag `enable_debugging_info` is +// set to true in corresponding requests. +message CloudConversationDebuggingInfo { + // Number of input audio data chunks in streaming requests. + int32 audio_data_chunks = 1; + + // Time offset of the end of speech utterance relative to the + // beginning of the first audio chunk. + google.protobuf.Duration result_end_time_offset = 2; + + // Duration of first audio chunk. + google.protobuf.Duration first_audio_duration = 3; + + // Whether client used single utterance mode. + bool single_utterance = 5; + + // Time offsets of the speech partial results relative to the beginning of + // the stream. + repeated google.protobuf.Duration speech_partial_results_end_times = 6; + + // Time offsets of the speech final results (is_final=true) relative to the + // beginning of the stream. + repeated google.protobuf.Duration speech_final_results_end_times = 7; + + // Total number of partial responses. + int32 partial_responses = 8; + + // Time offset of Speaker ID stream close time relative to the Speech stream + // close time in milliseconds. Only meaningful for conversations involving + // passive verification. + int32 speaker_id_passive_latency_ms_offset = 9; + + // Whether a barge-in event is triggered in this request. + bool bargein_event_triggered = 10; + + // Whether speech uses single utterance mode. + bool speech_single_utterance = 11; + + // Time offsets of the DTMF partial results relative to the beginning of + // the stream. + repeated google.protobuf.Duration dtmf_partial_results_times = 12; + + // Time offsets of the DTMF final results relative to the beginning of + // the stream. + repeated google.protobuf.Duration dtmf_final_results_times = 13; + + // Time offset of the end-of-single-utterance signal relative to the + // beginning of the stream. + google.protobuf.Duration single_utterance_end_time_offset = 14; + + // No speech timeout settings for the stream. + google.protobuf.Duration no_speech_timeout = 15; + + // Speech endpointing timeout settings for the stream. + google.protobuf.Duration endpointing_timeout = 19; + + // Whether the streaming terminates with an injected text query. + bool is_input_text = 16; + + // Client half close time in terms of input audio duration. + google.protobuf.Duration client_half_close_time_offset = 17; + + // Client half close time in terms of API streaming duration. + google.protobuf.Duration client_half_close_streaming_time_offset = 18; } // The top-level message returned from the @@ -527,6 +603,10 @@ message StreamingDetectIntentResponse { // The config used by the speech synthesizer to generate the output audio. OutputAudioConfig output_audio_config = 6; + + // Debugging info that would get populated when + // `StreamingDetectIntentRequest.enable_debugging_info` is set to true. + CloudConversationDebuggingInfo debugging_info = 8; } // Contains a speech recognition result corresponding to a portion of the audio @@ -622,7 +702,6 @@ message StreamingRecognitionResult { string language_code = 10; } -// ============================================================================ // Auxiliary proto messages. // // Represents the natural language text to be processed. @@ -653,16 +732,14 @@ message EventInput { // map, associative array, symbol table, dictionary, or JSON object // composed of a collection of (MapKey, MapValue) pairs: // - // - MapKey type: string - // - MapKey value: parameter name - // - MapValue type: - // - If parameter's entity type is a composite entity: map - // - Else: depending on parameter value type, could be one of string, - // number, boolean, null, list or map - // - MapValue value: - // - If parameter's entity type is a composite entity: - // map from composite entity property names to property values - // - Else: parameter value + // * MapKey type: string + // * MapKey value: parameter name + // * MapValue type: If parameter's entity type is a composite entity then use + // map, otherwise, depending on the parameter value type, it could be one of + // string, number, boolean, null, list or map. + // * MapValue value: If parameter's entity type is a composite entity then use + // map from composite entity property names to property values, otherwise, + // use parameter value. google.protobuf.Struct parameters = 2; // Required. The language of this query. See [Language diff --git a/third_party/googleapis/google/cloud/dialogflow/v2/session_entity_type.proto b/third_party/googleapis/google/cloud/dialogflow/v2/session_entity_type.proto index 876c26ab1..ff1585907 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2/session_entity_type.proto +++ b/third_party/googleapis/google/cloud/dialogflow/v2/session_entity_type.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/dialogflow/v2/validation_result.proto b/third_party/googleapis/google/cloud/dialogflow/v2/validation_result.proto index aadfea415..c586c0b27 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2/validation_result.proto +++ b/third_party/googleapis/google/cloud/dialogflow/v2/validation_result.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -50,16 +50,16 @@ message ValidationError { // The names of the entries that the error is associated with. // Format: // - // - "projects//agent", if the error is associated with the entire + // - `projects//agent`, if the error is associated with the entire // agent. - // - "projects//agent/intents/", if the error is + // - `projects//agent/intents/`, if the error is // associated with certain intents. - // - "projects//agent/intents//trainingPhrases/", if the - // error is associated with certain intent training phrases. - // - "projects//agent/intents//parameters/", if the error is associated with certain intent parameters. - // - "projects//agent/entities/", if the error is + // - `projects//agent/intents//trainingPhrases/`, if the error is associated with + // certain intent training phrases. + // - `projects//agent/intents//parameters/`, if the error is associated with certain intent parameters. + // - `projects//agent/entities/`, if the error is // associated with certain entities. repeated string entries = 3; diff --git a/third_party/googleapis/google/cloud/dialogflow/v2/version.proto b/third_party/googleapis/google/cloud/dialogflow/v2/version.proto index 26c8f2c54..c9f0560af 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2/version.proto +++ b/third_party/googleapis/google/cloud/dialogflow/v2/version.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/dialogflow/v2/webhook.proto b/third_party/googleapis/google/cloud/dialogflow/v2/webhook.proto index cbd99701e..6aa28141b 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2/webhook.proto +++ b/third_party/googleapis/google/cloud/dialogflow/v2/webhook.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/dialogflow/v2beta1/BUILD.bazel b/third_party/googleapis/google/cloud/dialogflow/v2beta1/BUILD.bazel index fb3e9a197..cf9c299d7 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/dialogflow/v2beta1/BUILD.bazel @@ -99,8 +99,8 @@ java_gapic_library( rest_numeric_enums = True, service_yaml = "dialogflow_v2beta1.yaml", test_deps = [ - "//google/cloud/location:location_java_grpc", ":dialogflow_java_grpc", + "//google/cloud/location:location_java_grpc", ], transport = "grpc+rest", deps = [ @@ -168,7 +168,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -205,19 +204,13 @@ go_gapic_library( ], ) -go_test( - name = "dialogflow_go_gapic_test", - srcs = [":dialogflow_go_gapic_srcjar_test"], - embed = [":dialogflow_go_gapic"], - importpath = "cloud.google.com/go/dialogflow/apiv2beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-dialogflow-v2beta1-go", deps = [ ":dialogflow_go_gapic", ":dialogflow_go_gapic_srcjar-metadata.srcjar", + ":dialogflow_go_gapic_srcjar-snippets.srcjar", ":dialogflow_go_gapic_srcjar-test.srcjar", ":dialogflow_go_proto", ], @@ -269,7 +262,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -278,21 +270,15 @@ php_proto_library( deps = [":dialogflow_proto"], ) -php_grpc_library( - name = "dialogflow_php_grpc", - srcs = [":dialogflow_proto"], - deps = [":dialogflow_php_proto"], -) - php_gapic_library( name = "dialogflow_php_gapic", srcs = [":dialogflow_proto_with_info"], grpc_service_config = "dialogflow_grpc_service_config.json", + migration_mode = "PRE_MIGRATION_SURFACE_ONLY", rest_numeric_enums = True, service_yaml = "dialogflow_v2beta1.yaml", transport = "grpc+rest", deps = [ - ":dialogflow_php_grpc", ":dialogflow_php_proto", ], ) @@ -302,7 +288,6 @@ php_gapic_assembly_pkg( name = "google-cloud-dialogflow-v2beta1-php", deps = [ ":dialogflow_php_gapic", - ":dialogflow_php_grpc", ":dialogflow_php_proto", ], ) @@ -375,6 +360,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Dialogflow is an end-to-end, build-once deploy-everywhere development suite for creating conversational interfaces for websites, mobile applications, popular messaging platforms, and IoT devices. You can use it to build interfaces (such as chatbots and conversational IVR) that enable natural and rich interactions between your users and your business. This client is for Dialogflow ES, providing the standard agent type suitable for small and simple agents.", ruby_cloud_title = "Dialogflow V2beta1", service_yaml = "dialogflow_v2beta1.yaml", + transport = "grpc+rest", deps = [ ":dialogflow_ruby_grpc", ":dialogflow_ruby_proto", @@ -404,6 +390,7 @@ load( csharp_proto_library( name = "dialogflow_csharp_proto", + extra_opts = [], deps = [":dialogflow_proto"], ) diff --git a/third_party/googleapis/google/cloud/dialogflow/v2beta1/agent.proto b/third_party/googleapis/google/cloud/dialogflow/v2beta1/agent.proto index a6a239539..a860df481 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2beta1/agent.proto +++ b/third_party/googleapis/google/cloud/dialogflow/v2beta1/agent.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/dialogflow/v2beta1/answer_record.proto b/third_party/googleapis/google/cloud/dialogflow/v2beta1/answer_record.proto index 2e1817581..3e4716568 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2beta1/answer_record.proto +++ b/third_party/googleapis/google/cloud/dialogflow/v2beta1/answer_record.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -144,6 +144,10 @@ message AgentAssistantRecord { // Output only. The FAQ answer. FaqAnswer faq_answer = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The Dialogflow assist answer. + DialogflowAssistAnswer dialogflow_assist_answer = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; } } @@ -176,6 +180,8 @@ message AnswerFeedback { // Indicates whether the answer/item was clicked by the human agent // or not. Default to false. + // For knowledge search, the answer record is considered to be clicked if the + // answer was copied or any URI was clicked. bool clicked = 3; // Time when the answer/item was clicked. @@ -239,6 +245,22 @@ message AgentAssistantFeedback { string summary_text = 3; } + // Feedback for knowledge search. + message KnowledgeSearchFeedback { + // Whether the answer was copied by the human agent or not. + // If the value is set to be true, + // [AnswerFeedback.clicked][google.cloud.dialogflow.v2beta1.AnswerFeedback.clicked] + // will be updated to be true. + bool answer_copied = 1; + + // The URIs clicked by the human agent. The value is appended for each + // UpdateAnswerRecordRequest. + // If the value is not empty, + // [AnswerFeedback.clicked][google.cloud.dialogflow.v2beta1.AnswerFeedback.clicked] + // will be updated to be true. + repeated string clicked_uris = 2; + } + // Optional. Whether or not the suggested answer is relevant. // // For example: @@ -270,6 +292,10 @@ message AgentAssistantFeedback { // Feedback for conversation summarization. SummarizationFeedback summarization_feedback = 4; + + // Optional. Feedback for knowledge search. + KnowledgeSearchFeedback knowledge_search_feedback = 5 + [(google.api.field_behavior) = OPTIONAL]; } // Request message for diff --git a/third_party/googleapis/google/cloud/dialogflow/v2beta1/audio_config.proto b/third_party/googleapis/google/cloud/dialogflow/v2beta1/audio_config.proto index 649b11b2b..b97e4c844 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2beta1/audio_config.proto +++ b/third_party/googleapis/google/cloud/dialogflow/v2beta1/audio_config.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -36,55 +36,6 @@ option (google.api.resource_definition) = { pattern: "projects/{project}/locations/{location}/phraseSets/{phrase_set}" }; -// Audio encoding of the audio content sent in the conversational query request. -// Refer to the -// [Cloud Speech API -// documentation](https://cloud.google.com/speech-to-text/docs/basics) for more -// details. -enum AudioEncoding { - // Not specified. - AUDIO_ENCODING_UNSPECIFIED = 0; - - // Uncompressed 16-bit signed little-endian samples (Linear PCM). - AUDIO_ENCODING_LINEAR_16 = 1; - - // [`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless Audio - // Codec) is the recommended encoding because it is lossless (therefore - // recognition is not compromised) and requires only about half the - // bandwidth of `LINEAR16`. `FLAC` stream encoding supports 16-bit and - // 24-bit samples, however, not all fields in `STREAMINFO` are supported. - AUDIO_ENCODING_FLAC = 2; - - // 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law. - AUDIO_ENCODING_MULAW = 3; - - // Adaptive Multi-Rate Narrowband codec. `sample_rate_hertz` must be 8000. - AUDIO_ENCODING_AMR = 4; - - // Adaptive Multi-Rate Wideband codec. `sample_rate_hertz` must be 16000. - AUDIO_ENCODING_AMR_WB = 5; - - // Opus encoded audio frames in Ogg container - // ([OggOpus](https://wiki.xiph.org/OggOpus)). - // `sample_rate_hertz` must be 16000. - AUDIO_ENCODING_OGG_OPUS = 6; - - // Although the use of lossy encodings is not recommended, if a very low - // bitrate encoding is required, `OGG_OPUS` is highly preferred over - // Speex encoding. The [Speex](https://speex.org/) encoding supported by - // Dialogflow API has a header byte in each block, as in MIME type - // `audio/x-speex-with-header-byte`. - // It is a variant of the RTP Speex encoding defined in - // [RFC 5574](https://tools.ietf.org/html/rfc5574). - // The stream is a sequence of blocks, one block per RTP packet. Each block - // starts with a byte containing the length of the block, in bytes, followed - // by one or more frames of Speex data, padded to an integral number of - // bytes (octets) as specified in RFC 5574. In other words, each RTP header - // is replaced with a single byte containing the block length. Only Speex - // wideband is supported. `sample_rate_hertz` must be 16000. - AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE = 7; -} - // Hints for the speech recognizer to help with recognition in a specific // conversation state. message SpeechContext { @@ -101,7 +52,7 @@ message SpeechContext { // See the [Cloud Speech // documentation](https://cloud.google.com/speech-to-text/quotas) for usage // limits. - repeated string phrases = 1; + repeated string phrases = 1 [(google.api.field_behavior) = OPTIONAL]; // Optional. Boost for this context compared to other contexts: // @@ -112,51 +63,7 @@ message SpeechContext { // // Dialogflow recommends that you use boosts in the range (0, 20] and that you // find a value that fits your use case with binary search. - float boost = 2; -} - -// Variant of the specified [Speech -// model][google.cloud.dialogflow.v2beta1.InputAudioConfig.model] to use. -// -// See the [Cloud Speech -// documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) -// for which models have different variants. For example, the "phone_call" model -// has both a standard and an enhanced variant. When you use an enhanced model, -// you will generally receive higher quality results than for a standard model. -enum SpeechModelVariant { - // No model variant specified. In this case Dialogflow defaults to - // USE_BEST_AVAILABLE. - SPEECH_MODEL_VARIANT_UNSPECIFIED = 0; - - // Use the best available variant of the [Speech - // model][InputAudioConfig.model] that the caller is eligible for. - // - // Please see the [Dialogflow - // docs](https://cloud.google.com/dialogflow/docs/data-logging) for - // how to make your project eligible for enhanced models. - USE_BEST_AVAILABLE = 1; - - // Use standard model variant even if an enhanced model is available. See the - // [Cloud Speech - // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) - // for details about enhanced models. - USE_STANDARD = 2; - - // Use an enhanced model variant: - // - // * If an enhanced variant does not exist for the given - // [model][google.cloud.dialogflow.v2beta1.InputAudioConfig.model] and - // request language, Dialogflow falls back to the standard variant. - // - // The [Cloud Speech - // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) - // describes which models have enhanced variants. - // - // * If the API caller isn't eligible for enhanced models, Dialogflow returns - // an error. Please see the [Dialogflow - // docs](https://cloud.google.com/dialogflow/docs/data-logging) - // for how to make your project eligible. - USE_ENHANCED = 3; + float boost = 2 [(google.api.field_behavior) = OPTIONAL]; } // Information for a word recognized by the speech recognizer. @@ -206,6 +113,18 @@ message SpeechWordInfo { // two phases. The durations are measured in terms of the audio length fromt the // the start of the input audio. // +// The flow goes like below: +// +// ``` +// --> Time +// +// without speech detection | utterance only | utterance or no-speech event +// | | +// +-------------+ | +------------+ | +---------------+ +// ----------+ no barge-in +-|-+ barge-in +-|-+ normal period +----------- +// +-------------+ | +------------+ | +---------------+ +// ``` +// // No-speech event is a response with END_OF_UTTERANCE without any transcript // following up. message BargeInConfig { @@ -220,21 +139,20 @@ message BargeInConfig { // Instructs the speech recognizer on how to process the audio content. message InputAudioConfig { // Required. Audio encoding of the audio content to process. - AudioEncoding audio_encoding = 1; + AudioEncoding audio_encoding = 1 [(google.api.field_behavior) = REQUIRED]; // Required. Sample rate (in Hertz) of the audio content sent in the query. - // Refer to - // [Cloud Speech API + // Refer to [Cloud Speech API // documentation](https://cloud.google.com/speech-to-text/docs/basics) for // more details. - int32 sample_rate_hertz = 2; + int32 sample_rate_hertz = 2 [(google.api.field_behavior) = REQUIRED]; // Required. The language of the supplied audio. Dialogflow does not do // translations. See [Language // Support](https://cloud.google.com/dialogflow/docs/reference/language) // for a list of the currently supported language codes. Note that queries in // the same session do not necessarily need to specify the same language. - string language_code = 3; + string language_code = 3 [(google.api.field_behavior) = REQUIRED]; // If `true`, Dialogflow returns // [SpeechWordInfo][google.cloud.dialogflow.v2beta1.SpeechWordInfo] in @@ -251,9 +169,9 @@ message InputAudioConfig { // documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) // for more details. // - // This field is deprecated. Please use [speech_contexts]() instead. If you - // specify both [phrase_hints]() and [speech_contexts](), Dialogflow will - // treat the [phrase_hints]() as a single additional [SpeechContext](). + // This field is deprecated. Please use [`speech_contexts`]() instead. If you + // specify both [`phrase_hints`]() and [`speech_contexts`](), Dialogflow will + // treat the [`phrase_hints`]() as a single additional [`SpeechContext`](). repeated string phrase_hints = 4 [deprecated = true]; // Context information to assist speech recognition. @@ -263,17 +181,9 @@ message InputAudioConfig { // for more details. repeated SpeechContext speech_contexts = 11; - // Which Speech model to select for the given request. Select the - // model best suited to your domain to get best results. If a model is not - // explicitly specified, then we auto-select a model based on the parameters - // in the InputAudioConfig. - // If enhanced speech model is enabled for the agent and an enhanced - // version of the specified model for the language does not exist, then the - // speech is recognized using the standard version of the specified model. - // Refer to - // [Cloud Speech API - // documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model) - // for more details. + // Optional. Which Speech model to select for the given request. + // For more information, see + // [Speech models](https://cloud.google.com/dialogflow/es/docs/speech-models). string model = 7; // Which variant of the [Speech @@ -302,23 +212,9 @@ message InputAudioConfig { // Configuration of barge-in behavior during the streaming of input audio. BargeInConfig barge_in_config = 15; -} -// Gender of the voice as described in -// [SSML voice element](https://www.w3.org/TR/speech-synthesis11/#edef_voice). -enum SsmlVoiceGender { - // An unspecified gender, which means that the client doesn't care which - // gender the selected voice will have. - SSML_VOICE_GENDER_UNSPECIFIED = 0; - - // A male voice. - SSML_VOICE_GENDER_MALE = 1; - - // A female voice. - SSML_VOICE_GENDER_FEMALE = 2; - - // A gender-neutral voice. - SSML_VOICE_GENDER_NEUTRAL = 3; + // Enable automatic punctuation option at the speech backend. + bool enable_automatic_punctuation = 17; } // Description of which voice to use for speech synthesis. @@ -329,7 +225,7 @@ message VoiceSelectionParams { // // For the list of available voices, please refer to [Supported voices and // languages](https://cloud.google.com/text-to-speech/docs/voices). - string name = 1; + string name = 1 [(google.api.field_behavior) = OPTIONAL]; // Optional. The preferred gender of the voice. If not set, the service will // choose a voice based on the other parameters such as language_code and @@ -337,21 +233,21 @@ message VoiceSelectionParams { // that this is only a preference, not requirement. If a voice of the // appropriate gender is not available, the synthesizer should substitute a // voice with a different gender rather than failing the request. - SsmlVoiceGender ssml_gender = 2; + SsmlVoiceGender ssml_gender = 2 [(google.api.field_behavior) = OPTIONAL]; } // Configuration of how speech should be synthesized. message SynthesizeSpeechConfig { // Optional. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is the normal - // native speed supported by the specific voice. 2.0 is twice as fast, and - // 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any - // other values < 0.25 or > 4.0 will return an error. - double speaking_rate = 1; + // native speed supported by the specific voice. 2.0 is twice as fast, and 0.5 + // is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any other + // values < 0.25 or > 4.0 will return an error. + double speaking_rate = 1 [(google.api.field_behavior) = OPTIONAL]; // Optional. Speaking pitch, in the range [-20.0, 20.0]. 20 means increase 20 // semitones from the original pitch. -20 means decrease 20 semitones from the // original pitch. - double pitch = 2; + double pitch = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. Volume gain (in dB) of the normal native volume supported by the // specific voice, in the range [-96.0, 16.0]. If unset, or set to a value of @@ -361,40 +257,16 @@ message SynthesizeSpeechConfig { // amplitude of the normal native signal amplitude. We strongly recommend not // to exceed +10 (dB) as there's usually no effective increase in loudness for // any value greater than that. - double volume_gain_db = 3; + double volume_gain_db = 3 [(google.api.field_behavior) = OPTIONAL]; // Optional. An identifier which selects 'audio effects' profiles that are // applied on (post synthesized) text to speech. Effects are applied on top of // each other in the order they are given. - repeated string effects_profile_id = 5; + repeated string effects_profile_id = 5 + [(google.api.field_behavior) = OPTIONAL]; // Optional. The desired voice of the synthesized audio. - VoiceSelectionParams voice = 4; -} - -// Audio encoding of the output audio format in Text-To-Speech. -enum OutputAudioEncoding { - // Not specified. - OUTPUT_AUDIO_ENCODING_UNSPECIFIED = 0; - - // Uncompressed 16-bit signed little-endian samples (Linear PCM). - // Audio content returned as LINEAR16 also contains a WAV header. - OUTPUT_AUDIO_ENCODING_LINEAR_16 = 1; - - // MP3 audio at 32kbps. - OUTPUT_AUDIO_ENCODING_MP3 = 2; - - // MP3 audio at 64kbps. - OUTPUT_AUDIO_ENCODING_MP3_64_KBPS = 4; - - // Opus encoded audio wrapped in an ogg container. The result will be a - // file which can be played natively on Android, and in browsers (at least - // Chrome and Firefox). The quality of the encoding is considerably higher - // than MP3 while using approximately the same bitrate. - OUTPUT_AUDIO_ENCODING_OGG_OPUS = 3; - - // 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law. - OUTPUT_AUDIO_ENCODING_MULAW = 5; + VoiceSelectionParams voice = 4 [(google.api.field_behavior) = OPTIONAL]; } // Instructs the speech synthesizer how to generate the output audio content. @@ -416,6 +288,55 @@ message OutputAudioConfig { SynthesizeSpeechConfig synthesize_speech_config = 3; } +// A wrapper of repeated TelephonyDtmf digits. +message TelephonyDtmfEvents { + // A sequence of TelephonyDtmf digits. + repeated TelephonyDtmf dtmf_events = 1; +} + +// Configures speech transcription for +// [ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile]. +message SpeechToTextConfig { + // The speech model used in speech to text. + // `SPEECH_MODEL_VARIANT_UNSPECIFIED`, `USE_BEST_AVAILABLE` will be treated as + // `USE_ENHANCED`. It can be overridden in + // [AnalyzeContentRequest][google.cloud.dialogflow.v2beta1.AnalyzeContentRequest] + // and + // [StreamingAnalyzeContentRequest][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest] + // request. If enhanced model variant is specified and an enhanced version of + // the specified model for the language does not exist, then it would emit an + // error. + SpeechModelVariant speech_model_variant = 1; + + // Which Speech model to select. Select the + // model best suited to your domain to get best results. If a model is not + // explicitly specified, then Dialogflow auto-selects a model based on other + // parameters in the SpeechToTextConfig and Agent settings. + // If enhanced speech model is enabled for the agent and an enhanced + // version of the specified model for the language does not exist, then the + // speech is recognized using the standard version of the specified model. + // Refer to + // [Cloud Speech API + // documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model) + // for more details. + // If you specify a model, the following models typically have the best + // performance: + // + // - phone_call (best for Agent Assist and telephony) + // - latest_short (best for Dialogflow non-telephony) + // - command_and_search + // + // Leave this field unspecified to use + // [Agent Speech + // settings](https://cloud.google.com/dialogflow/cx/docs/concept/agent#settings-speech) + // for model selection. + string model = 2; + + // Use timeout based endpointing, interpreting endpointer sensitivy as + // seconds of timeout value. + bool use_timeout_based_endpointing = 11; +} + // [DTMF](https://en.wikipedia.org/wiki/Dual-tone_multi-frequency_signaling) // digit in Telephony Gateway. enum TelephonyDtmf { @@ -471,32 +392,137 @@ enum TelephonyDtmf { DTMF_POUND = 16; } -// A wrapper of repeated TelephonyDtmf digits. -message TelephonyDtmfEvents { - // A sequence of TelephonyDtmf digits. - repeated TelephonyDtmf dtmf_events = 1; +// Audio encoding of the audio content sent in the conversational query request. +// Refer to the +// [Cloud Speech API +// documentation](https://cloud.google.com/speech-to-text/docs/basics) for more +// details. +enum AudioEncoding { + // Not specified. + AUDIO_ENCODING_UNSPECIFIED = 0; + + // Uncompressed 16-bit signed little-endian samples (Linear PCM). + AUDIO_ENCODING_LINEAR_16 = 1; + + // [`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless Audio + // Codec) is the recommended encoding because it is lossless (therefore + // recognition is not compromised) and requires only about half the + // bandwidth of `LINEAR16`. `FLAC` stream encoding supports 16-bit and + // 24-bit samples, however, not all fields in `STREAMINFO` are supported. + AUDIO_ENCODING_FLAC = 2; + + // 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law. + AUDIO_ENCODING_MULAW = 3; + + // Adaptive Multi-Rate Narrowband codec. `sample_rate_hertz` must be 8000. + AUDIO_ENCODING_AMR = 4; + + // Adaptive Multi-Rate Wideband codec. `sample_rate_hertz` must be 16000. + AUDIO_ENCODING_AMR_WB = 5; + + // Opus encoded audio frames in Ogg container + // ([OggOpus](https://wiki.xiph.org/OggOpus)). + // `sample_rate_hertz` must be 16000. + AUDIO_ENCODING_OGG_OPUS = 6; + + // Although the use of lossy encodings is not recommended, if a very low + // bitrate encoding is required, `OGG_OPUS` is highly preferred over + // Speex encoding. The [Speex](https://speex.org/) encoding supported by + // Dialogflow API has a header byte in each block, as in MIME type + // `audio/x-speex-with-header-byte`. + // It is a variant of the RTP Speex encoding defined in + // [RFC 5574](https://tools.ietf.org/html/rfc5574). + // The stream is a sequence of blocks, one block per RTP packet. Each block + // starts with a byte containing the length of the block, in bytes, followed + // by one or more frames of Speex data, padded to an integral number of + // bytes (octets) as specified in RFC 5574. In other words, each RTP header + // is replaced with a single byte containing the block length. Only Speex + // wideband is supported. `sample_rate_hertz` must be 16000. + AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE = 7; } -// Configures speech transcription for -// [ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile]. -message SpeechToTextConfig { - // The speech model used in speech to text. - // `SPEECH_MODEL_VARIANT_UNSPECIFIED`, `USE_BEST_AVAILABLE` will be treated as - // `USE_ENHANCED`. It can be overridden in - // [AnalyzeContentRequest][google.cloud.dialogflow.v2beta1.AnalyzeContentRequest] - // and - // [StreamingAnalyzeContentRequest][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest] - // request. If enhanced model variant is specified and an enhanced version of - // the specified model for the language does not exist, then it would emit an - // error. - SpeechModelVariant speech_model_variant = 1; +// Variant of the specified [Speech +// model][google.cloud.dialogflow.v2beta1.InputAudioConfig.model] to use. +// +// See the [Cloud Speech +// documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) +// for which models have different variants. For example, the "phone_call" model +// has both a standard and an enhanced variant. When you use an enhanced model, +// you will generally receive higher quality results than for a standard model. +enum SpeechModelVariant { + // No model variant specified. In this case Dialogflow defaults to + // USE_BEST_AVAILABLE. + SPEECH_MODEL_VARIANT_UNSPECIFIED = 0; - // Which Speech model to select. Select the model best suited to your domain - // to get best results. If a model is not explicitly specified, then a default - // model is used. - // Refer to - // [Cloud Speech API - // documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model) - // for more details. - string model = 2; + // Use the best available variant of the [Speech + // model][InputAudioConfig.model] that the caller is eligible for. + // + // Please see the [Dialogflow + // docs](https://cloud.google.com/dialogflow/docs/data-logging) for + // how to make your project eligible for enhanced models. + USE_BEST_AVAILABLE = 1; + + // Use standard model variant even if an enhanced model is available. See the + // [Cloud Speech + // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) + // for details about enhanced models. + USE_STANDARD = 2; + + // Use an enhanced model variant: + // + // * If an enhanced variant does not exist for the given + // [model][google.cloud.dialogflow.v2beta1.InputAudioConfig.model] and + // request language, Dialogflow falls back to the standard variant. + // + // The [Cloud Speech + // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) + // describes which models have enhanced variants. + // + // * If the API caller isn't eligible for enhanced models, Dialogflow returns + // an error. Please see the [Dialogflow + // docs](https://cloud.google.com/dialogflow/docs/data-logging) + // for how to make your project eligible. + USE_ENHANCED = 3; +} + +// Gender of the voice as described in +// [SSML voice element](https://www.w3.org/TR/speech-synthesis11/#edef_voice). +enum SsmlVoiceGender { + // An unspecified gender, which means that the client doesn't care which + // gender the selected voice will have. + SSML_VOICE_GENDER_UNSPECIFIED = 0; + + // A male voice. + SSML_VOICE_GENDER_MALE = 1; + + // A female voice. + SSML_VOICE_GENDER_FEMALE = 2; + + // A gender-neutral voice. + SSML_VOICE_GENDER_NEUTRAL = 3; +} + +// Audio encoding of the output audio format in Text-To-Speech. +enum OutputAudioEncoding { + // Not specified. + OUTPUT_AUDIO_ENCODING_UNSPECIFIED = 0; + + // Uncompressed 16-bit signed little-endian samples (Linear PCM). + // Audio content returned as LINEAR16 also contains a WAV header. + OUTPUT_AUDIO_ENCODING_LINEAR_16 = 1; + + // MP3 audio at 32kbps. + OUTPUT_AUDIO_ENCODING_MP3 = 2; + + // MP3 audio at 64kbps. + OUTPUT_AUDIO_ENCODING_MP3_64_KBPS = 4; + + // Opus encoded audio wrapped in an ogg container. The result will be a + // file which can be played natively on Android, and in browsers (at least + // Chrome and Firefox). The quality of the encoding is considerably higher + // than MP3 while using approximately the same bitrate. + OUTPUT_AUDIO_ENCODING_OGG_OPUS = 3; + + // 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law. + OUTPUT_AUDIO_ENCODING_MULAW = 5; } diff --git a/third_party/googleapis/google/cloud/dialogflow/v2beta1/context.proto b/third_party/googleapis/google/cloud/dialogflow/v2beta1/context.proto index 5eb7de6a4..95d25919c 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2beta1/context.proto +++ b/third_party/googleapis/google/cloud/dialogflow/v2beta1/context.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -190,7 +190,7 @@ message Context { // ID>/contexts/`, // // The `Context ID` is always converted to lowercase, may only contain - // characters in a-zA-Z0-9_-% and may be at most 250 bytes long. + // characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. // // If `Environment ID` is not specified, we assume default 'draft' // environment. If `User ID` is not specified, we assume default '-' user. @@ -215,16 +215,14 @@ message Context { // map, associative array, symbol table, dictionary, or JSON object // composed of a collection of (MapKey, MapValue) pairs: // - // - MapKey type: string - // - MapKey value: parameter name - // - MapValue type: - // - If parameter's entity type is a composite entity: map - // - Else: depending on parameter value type, could be one of string, - // number, boolean, null, list or map - // - MapValue value: - // - If parameter's entity type is a composite entity: - // map from composite entity property names to property values - // - Else: parameter value + // * MapKey type: string + // * MapKey value: parameter name + // * MapValue type: If parameter's entity type is a composite entity then use + // map, otherwise, depending on the parameter value type, it could be one of + // string, number, boolean, null, list or map. + // * MapValue value: If parameter's entity type is a composite entity then use + // map from composite entity property names to property values, otherwise, + // use parameter value. google.protobuf.Struct parameters = 3; } diff --git a/third_party/googleapis/google/cloud/dialogflow/v2beta1/conversation.proto b/third_party/googleapis/google/cloud/dialogflow/v2beta1/conversation.proto index febaa8630..c35e31e36 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2beta1/conversation.proto +++ b/third_party/googleapis/google/cloud/dialogflow/v2beta1/conversation.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,7 +20,9 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/cloud/dialogflow/v2beta1/conversation_profile.proto"; import "google/cloud/dialogflow/v2beta1/participant.proto"; +import "google/cloud/dialogflow/v2beta1/session.proto"; import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; @@ -154,6 +156,41 @@ service Conversations { }; option (google.api.method_signature) = "conversation"; } + + // Generates and returns a summary for a conversation that does not have a + // resource created for it. + rpc GenerateStatelessSummary(GenerateStatelessSummaryRequest) + returns (GenerateStatelessSummaryResponse) { + option (google.api.http) = { + post: "/v2beta1/{stateless_conversation.parent=projects/*}/suggestions:generateStatelessSummary" + body: "*" + additional_bindings { + post: "/v2beta1/{stateless_conversation.parent=projects/*/locations/*}/suggestions:generateStatelessSummary" + body: "*" + } + }; + } + + // Get answers for the given query based on knowledge documents. + rpc SearchKnowledge(SearchKnowledgeRequest) + returns (SearchKnowledgeResponse) { + option (google.api.http) = { + post: "/v2beta1/{parent=projects/*}/suggestions:searchKnowledge" + body: "*" + additional_bindings { + post: "/v2beta1/{parent=projects/*/locations/*}/suggestions:searchKnowledge" + body: "*" + } + additional_bindings { + post: "/v2beta1/{conversation=projects/*/conversations/*}/suggestions:searchKnowledge" + body: "*" + } + additional_bindings { + post: "/v2beta1/{conversation=projects/*/locations/*/conversations/*}/suggestions:searchKnowledge" + body: "*" + } + }; + } } // Represents a conversation. @@ -275,7 +312,7 @@ message CreateConversationRequest { // auto-generated one to you. // // The conversation ID must be compliant with the regression fomula - // "[a-zA-Z][a-zA-Z0-9_-]*" with the characters length in range of [3,64]. + // `[a-zA-Z][a-zA-Z0-9_-]*` with the characters length in range of [3,64]. // If the field is provided, the caller is resposible for // 1. the uniqueness of the ID, otherwise the request will be rejected. // 2. the consistency for whether to use custom ID or not under a project to @@ -393,7 +430,7 @@ message BatchCreateMessagesRequest { } ]; - // Required. A maximum of 1000 Messages can be created in a batch. + // Required. A maximum of 300 messages can be created in a batch. // [CreateMessageRequest.message.send_time][] is required. All created // messages will have identical // [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time]. @@ -479,7 +516,7 @@ message SuggestConversationSummaryRequest { // suggestion. By default 500 and at most 1000. int32 context_size = 4; - // Parameters for a human assist query. + // Parameters for a human assist query. Only used for POC/demo purpose. AssistQueryParameters assist_query_params = 5; } @@ -501,6 +538,10 @@ message SuggestConversationSummaryResponse { string answer_record = 3 [(google.api.resource_reference) = { type: "dialogflow.googleapis.com/AnswerRecord" }]; + + // The baseline model version used to generate this summary. It is empty if + // a baseline model was not used to generate this summary. + string baseline_model_version = 5; } // Generated summary. @@ -521,3 +562,188 @@ message SuggestConversationSummaryResponse { // request if there weren't that many messages in the conversation. int32 context_size = 3; } + +// The request message for +// [Conversations.GenerateStatelessSummary][google.cloud.dialogflow.v2beta1.Conversations.GenerateStatelessSummary]. +message GenerateStatelessSummaryRequest { + // The minimum amount of information required to generate a Summary without + // having a Conversation resource created. + message MinimalConversation { + // Required. The messages that the Summary will be generated from. It is + // expected that this message content is already redacted and does not + // contain any PII. Required fields: {content, language_code, participant, + // participant_role} Optional fields: {send_time} If send_time is not + // provided, then the messages must be provided in chronological order. + repeated Message messages = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The parent resource to charge for the Summary's generation. + // Format: `projects//locations/`. + string parent = 2 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "locations.googleapis.com/Location" + } + ]; + } + + // Required. The conversation to suggest a summary for. + MinimalConversation stateless_conversation = 1 + [(google.api.field_behavior) = REQUIRED]; + + // Required. A ConversationProfile containing information required for Summary + // generation. + // Required fields: {language_code, security_settings} + // Optional fields: {agent_assistant_config} + ConversationProfile conversation_profile = 2 + [(google.api.field_behavior) = REQUIRED]; + + // The name of the latest conversation message used as context for + // generating a Summary. If empty, the latest message of the conversation will + // be used. The format is specific to the user and the names of the messages + // provided. + string latest_message = 3 [(google.api.resource_reference) = { + type: "dialogflow.googleapis.com/Message" + }]; + + // Max number of messages prior to and including + // [latest_message] to use as context when compiling the + // suggestion. By default 500 and at most 1000. + int32 max_context_size = 4; +} + +// The response message for +// [Conversations.GenerateStatelessSummary][google.cloud.dialogflow.v2beta1.Conversations.GenerateStatelessSummary]. +message GenerateStatelessSummaryResponse { + // Generated summary for a conversation. + message Summary { + // The summary content that is concatenated into one string. + string text = 1; + + // The summary content that is divided into sections. The key is the + // section's name and the value is the section's content. There is no + // specific format for the key or value. + map text_sections = 2; + + // The baseline model version used to generate this summary. It is empty if + // a baseline model was not used to generate this summary. + string baseline_model_version = 4; + } + + // Generated summary. + Summary summary = 1; + + // The name of the latest conversation message used as context for + // compiling suggestion. The format is specific to the user and the names of + // the messages provided. + string latest_message = 2 [(google.api.resource_reference) = { + type: "dialogflow.googleapis.com/Message" + }]; + + // Number of messages prior to and including + // [last_conversation_message][] used to compile the suggestion. It may be + // smaller than the [GenerateStatelessSummaryRequest.context_size][] field in + // the request if there weren't that many messages in the conversation. + int32 context_size = 3; +} + +// The request message for +// [Conversations.SearchKnowledge][google.cloud.dialogflow.v2beta1.Conversations.SearchKnowledge]. +message SearchKnowledgeRequest { + // The parent resource contains the conversation profile + // Format: 'projects/' or `projects//locations/`. + string parent = 6; + + // Required. The natural language text query for knowledge search. + TextInput query = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The conversation profile used to configure the search. + // Format: `projects//locations//conversationProfiles/`. + string conversation_profile = 2 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dialogflow.googleapis.com/ConversationProfile" + } + ]; + + // The ID of the search session. + // The session_id can be combined with Dialogflow V3 Agent ID retrieved from + // conversation profile or on its own to identify a search session. The search + // history of the same session will impact the search result. It's up to the + // API caller to choose an appropriate `Session ID`. It can be a random number + // or some type of session identifiers (preferably hashed). The length must + // not exceed 36 characters. + string session_id = 3; + + // The conversation (between human agent and end user) where the search + // request is triggered. Format: `projects//locations//conversations/`. + string conversation = 4 [(google.api.resource_reference) = { + type: "dialogflow.googleapis.com/Conversation" + }]; + + // The name of the latest conversation message when the request is + // triggered. + // Format: `projects//locations//conversations//messages/`. + string latest_message = 5 [(google.api.resource_reference) = { + type: "dialogflow.googleapis.com/Message" + }]; +} + +// The response message for +// [Conversations.SearchKnowledge][google.cloud.dialogflow.v2beta1.Conversations.SearchKnowledge]. +message SearchKnowledgeResponse { + // Most relevant snippets extracted from articles in the given knowledge base, + // ordered by confidence. + repeated SearchKnowledgeAnswer answers = 2; + + // The rewritten query used to search knowledge. + string rewritten_query = 3; +} + +// Represents a SearchKnowledge answer. +message SearchKnowledgeAnswer { + // The type of the answer. + enum AnswerType { + // The answer has a unspecified type. + ANSWER_TYPE_UNSPECIFIED = 0; + + // The answer is from FAQ documents. + FAQ = 1; + + // The answer is from generative model. + GENERATIVE = 2; + + // The answer is from intent matching. + INTENT = 3; + } + + // The sources of the answers. + message AnswerSource { + // The title of the article. + string title = 1; + + // The URI of the article. + string uri = 2; + + // The relevant snippet of the article. + string snippet = 3; + } + + // The piece of text from the knowledge base documents that answers + // the search query + string answer = 1; + + // The type of the answer. + AnswerType answer_type = 2; + + // All sources used to generate the answer. + repeated AnswerSource answer_sources = 3; + + // The name of the answer record. + // Format: `projects//locations//answer + // Records/` + string answer_record = 5; +} diff --git a/third_party/googleapis/google/cloud/dialogflow/v2beta1/conversation_event.proto b/third_party/googleapis/google/cloud/dialogflow/v2beta1/conversation_event.proto index 79101074e..6c3038380 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2beta1/conversation_event.proto +++ b/third_party/googleapis/google/cloud/dialogflow/v2beta1/conversation_event.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/dialogflow/v2beta1/conversation_profile.proto b/third_party/googleapis/google/cloud/dialogflow/v2beta1/conversation_profile.proto index cfaaf2c9d..4643a47c4 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2beta1/conversation_profile.proto +++ b/third_party/googleapis/google/cloud/dialogflow/v2beta1/conversation_profile.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -23,6 +23,7 @@ import "google/api/resource.proto"; import "google/cloud/dialogflow/v2beta1/audio_config.proto"; import "google/cloud/dialogflow/v2beta1/participant.proto"; import "google/longrunning/operations.proto"; +import "google/protobuf/duration.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; @@ -294,6 +295,13 @@ message AutomatedAgentConfig { type: "dialogflow.googleapis.com/Agent" } ]; + + // Optional. Configure lifetime of the Dialogflow session. + // By default, a Dialogflow CX session remains active and its data is stored + // for 30 minutes after the last request is sent for the session. + // This value should be no longer than 1 day. + google.protobuf.Duration session_ttl = 3 + [(google.api.field_behavior) = OPTIONAL]; } // Defines the Human Agent Assistant to connect to a conversation. @@ -316,9 +324,22 @@ message HumanAgentAssistantConfig { // Automatically iterates all participants and tries to compile // suggestions. // - // Supported features: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST. + // Supported features: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST, + // ENTITY_EXTRACTION, KNOWLEDGE_ASSIST. bool enable_event_based_suggestion = 3; + // Optional. Disable the logging of search queries sent by human agents. It + // can prevent those queries from being stored at answer records. + // + // Supported features: KNOWLEDGE_SEARCH. + bool disable_agent_query_logging = 14 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Enable including conversation context during query answer + // generation. Supported features: KNOWLEDGE_SEARCH. + bool enable_conversation_augmented_query = 16 + [(google.api.field_behavior) = OPTIONAL]; + // Settings of suggestion trigger. // // Currently, only ARTICLE_SUGGESTION, FAQ, and DIALOGFLOW_ASSIST will use @@ -390,10 +411,24 @@ message HumanAgentAssistantConfig { // Dialogflow source setting. // - // Supported feature: DIALOGFLOW_ASSIST. + // Supported feature: DIALOGFLOW_ASSIST, ENTITY_EXTRACTION. message DialogflowQuerySource { + // The configuration used for human agent side Dialogflow assist + // suggestion. + message HumanAgentSideConfig { + // Optional. The name of a dialogflow virtual agent used for intent + // detection and suggestion triggered by human agent. + // Format: `projects//locations//agent`. + string agent = 1 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.resource_reference) = { + type: "dialogflow.googleapis.com/Agent" + } + ]; + } + // Required. The name of a dialogflow virtual agent used for end user side - // intent detection and suggestion. Format: `projects//locations//agent`. When multiple agents are allowed in // the same Dialogflow project. string agent = 1 [ @@ -402,6 +437,9 @@ message HumanAgentAssistantConfig { type: "dialogflow.googleapis.com/Agent" } ]; + + // The Dialogflow assist configuration for human agent. + HumanAgentSideConfig human_agent_side_config = 3; } // Settings that determine how to filter recent conversation context when @@ -418,6 +456,54 @@ message HumanAgentAssistantConfig { bool drop_ivr_messages = 3; } + // Custom sections to return when requesting a summary of a conversation. + // This is only supported when `baseline_model_version` == '2.0'. + // + // Supported features: CONVERSATION_SUMMARIZATION, + // CONVERSATION_SUMMARIZATION_VOICE. + message Sections { + // Selectable sections to return when requesting a summary of a + // conversation. + enum SectionType { + // Undefined section type, does not return anything. + SECTION_TYPE_UNSPECIFIED = 0; + + // What the customer needs help with or has question about. + // Section name: "situation". + SITUATION = 1; + + // What the agent does to help the customer. + // Section name: "action". + ACTION = 2; + + // Result of the customer service. A single word describing the result + // of the conversation. + // Section name: "resolution". + RESOLUTION = 3; + + // Reason for cancellation if the customer requests for a cancellation. + // "N/A" otherwise. + // Section name: "reason_for_cancellation". + REASON_FOR_CANCELLATION = 4; + + // "Unsatisfied" or "Satisfied" depending on the customer's feelings at + // the end of the conversation. + // Section name: "customer_satisfaction". + CUSTOMER_SATISFACTION = 5; + + // Key entities extracted from the conversation, such as ticket number, + // order number, dollar amount, etc. + // Section names are prefixed by "entities/". + ENTITIES = 6; + } + + // The selected sections chosen to return when requesting a summary of a + // conversation. A duplicate selected section will be treated as a single + // selected section. If section types are not provided, the default will + // be {SITUATION, ACTION, RESULT}. + repeated SectionType section_types = 1; + } + // Source of query. oneof query_source { // Query from knowledgebase. It is used by: @@ -428,7 +514,8 @@ message HumanAgentAssistantConfig { // SMART_REPLY, SMART_COMPOSE. DocumentQuerySource document_query_source = 2; - // Query from Dialogflow agent. It is used by DIALOGFLOW_ASSIST. + // Query from Dialogflow agent. It is used by DIALOGFLOW_ASSIST, + // ENTITY_EXTRACTION. DialogflowQuerySource dialogflow_query_source = 3; } @@ -454,12 +541,17 @@ message HumanAgentAssistantConfig { // If this field is not set, it is default to 0.0, which means that all // suggestions are returned. // - // Supported features: ARTICLE_SUGGESTION, FAQ, SMART_REPLY, SMART_COMPOSE. + // Supported features: ARTICLE_SUGGESTION, FAQ, SMART_REPLY, SMART_COMPOSE, + // KNOWLEDGE_SEARCH, KNOWLEDGE_ASSIST, ENTITY_EXTRACTION. float confidence_threshold = 5; // Determines how recent conversation context is filtered when generating // suggestions. If unspecified, no messages will be dropped. ContextFilterSettings context_filter_settings = 7; + + // Optional. The customized sections chosen to return when requesting a + // summary of a conversation. + Sections sections = 8 [(google.api.field_behavior) = OPTIONAL]; } // Custom conversation models used in agent assist feature. @@ -472,6 +564,16 @@ message HumanAgentAssistantConfig { string model = 1 [(google.api.resource_reference) = { type: "dialogflow.googleapis.com/ConversationModel" }]; + + // Version of current baseline model. It will be ignored if + // [model][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.ConversationModelConfig.model] + // is set. Valid versions are: + // Article Suggestion baseline model: + // - 0.9 + // - 1.0 (default) + // Summarization baseline model: + // - 1.0 + string baseline_model_version = 8; } // Config to process conversation. diff --git a/third_party/googleapis/google/cloud/dialogflow/v2beta1/dialogflow_grpc_service_config.json b/third_party/googleapis/google/cloud/dialogflow/v2beta1/dialogflow_grpc_service_config.json index 04318869a..06ab19dfd 100755 --- a/third_party/googleapis/google/cloud/dialogflow/v2beta1/dialogflow_grpc_service_config.json +++ b/third_party/googleapis/google/cloud/dialogflow/v2beta1/dialogflow_grpc_service_config.json @@ -83,6 +83,9 @@ { "service": "google.cloud.dialogflow.v2beta1.Fulfillments" }, + { + "service": "google.cloud.dialogflow.v2beta1.Generators" + }, { "service": "google.cloud.dialogflow.v2beta1.HumanAgentAssistants" }, @@ -137,6 +140,9 @@ }, { "service": "google.cloud.dialogflow.v2beta1.Tiers" + }, + { + "service": "google.cloud.dialogflow.v2beta1.EncryptionSpecService" } ], "timeout": "60s", @@ -155,10 +161,6 @@ "service": "google.cloud.dialogflow.aam.v2beta1.AamAdminTool", "method": "ExportIntent" }, - { - "service": "google.cloud.dialogflow.v2beta1.AgentModeling", - "method": "CreateConversationGraph" - }, { "service": "google.cloud.dialogflow.v2beta1.SessionHistory", "method": "SearchSessionConversations" @@ -216,6 +218,15 @@ } ], "timeout": "600s" + }, + { + "name": [ + { + "service": "google.cloud.dialogflow.v2beta1.Conversations", + "method": "StreamingListCallCompanionEvents" + } + ], + "timeout": "600s" } ] } diff --git a/third_party/googleapis/google/cloud/dialogflow/v2beta1/dialogflow_v2beta1.yaml b/third_party/googleapis/google/cloud/dialogflow/v2beta1/dialogflow_v2beta1.yaml index 23dc53eb0..71b4cdc7a 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2beta1/dialogflow_v2beta1.yaml +++ b/third_party/googleapis/google/cloud/dialogflow/v2beta1/dialogflow_v2beta1.yaml @@ -62,60 +62,6 @@ documentation: - selector: google.cloud.location.Locations.ListLocations description: Lists information about the supported locations for this service. - - selector: google.longrunning.Operations.ListOperations - description: |- - Lists operations that match the specified filter in the request. If - the server doesn't support this method, it returns `UNIMPLEMENTED`. - -backend: - rules: - - selector: 'google.cloud.dialogflow.v2beta1.Agents.*' - deadline: 60.0 - - selector: 'google.cloud.dialogflow.v2beta1.AnswerRecords.*' - deadline: 60.0 - - selector: 'google.cloud.dialogflow.v2beta1.Contexts.*' - deadline: 60.0 - - selector: 'google.cloud.dialogflow.v2beta1.ConversationProfiles.*' - deadline: 60.0 - - selector: 'google.cloud.dialogflow.v2beta1.Conversations.*' - deadline: 60.0 - - selector: 'google.cloud.dialogflow.v2beta1.Documents.*' - deadline: 60.0 - - selector: 'google.cloud.dialogflow.v2beta1.EntityTypes.*' - deadline: 60.0 - - selector: 'google.cloud.dialogflow.v2beta1.Environments.*' - deadline: 60.0 - - selector: google.cloud.dialogflow.v2beta1.Fulfillments.GetFulfillment - deadline: 60.0 - - selector: google.cloud.dialogflow.v2beta1.Fulfillments.UpdateFulfillment - deadline: 60.0 - - selector: 'google.cloud.dialogflow.v2beta1.Intents.*' - deadline: 60.0 - - selector: 'google.cloud.dialogflow.v2beta1.KnowledgeBases.*' - deadline: 60.0 - - selector: 'google.cloud.dialogflow.v2beta1.Participants.*' - deadline: 60.0 - - selector: google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent - deadline: 220.0 - - selector: google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent - deadline: 220.0 - - selector: 'google.cloud.dialogflow.v2beta1.SessionEntityTypes.*' - deadline: 60.0 - - selector: google.cloud.dialogflow.v2beta1.Sessions.DetectIntent - deadline: 220.0 - - selector: google.cloud.dialogflow.v2beta1.Sessions.StreamingDetectIntent - deadline: 220.0 - - selector: 'google.cloud.dialogflow.v2beta1.Versions.*' - deadline: 60.0 - - selector: google.cloud.location.Locations.GetLocation - deadline: 60.0 - - selector: google.cloud.location.Locations.ListLocations - deadline: 60.0 - - selector: 'google.longrunning.Operations.*' - deadline: 60.0 - - selector: google.longrunning.Operations.ListOperations - deadline: 180.0 - http: rules: - selector: google.cloud.location.Locations.GetLocation diff --git a/third_party/googleapis/google/cloud/dialogflow/v2beta1/document.proto b/third_party/googleapis/google/cloud/dialogflow/v2beta1/document.proto index 2f5ee1406..2b55a8344 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2beta1/document.proto +++ b/third_party/googleapis/google/cloud/dialogflow/v2beta1/document.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -508,13 +508,13 @@ message ImportDocumentsRequest { // Dialogflow supports up to 350 documents in each request. If you try to // import more, Dialogflow will return an error. oneof source { - // The Google Cloud Storage location for the documents. + // Optional. The Google Cloud Storage location for the documents. // The path can include a wildcard. // // These URIs may have the forms // `gs:///`. // `gs:////*.`. - GcsSources gcs_source = 2; + GcsSources gcs_source = 2 [(google.api.field_behavior) = OPTIONAL]; } // Required. Document template used for importing all the documents. @@ -626,8 +626,13 @@ message ReloadDocumentRequest { ]; // The source for document reloading. + // // Optional. If provided, the service will load the contents from the source // and update document in the knowledge base. + // + // Reloading from a new document source is allowed for smart messaging + // documents only. If you want to update the source for other document types, + // please delete the existing document and create a new one instead. oneof source { // The path for a Cloud Storage source file for reloading document content. // If not provided, the Document's existing source will be reloaded. diff --git a/third_party/googleapis/google/cloud/dialogflow/v2beta1/entity_type.proto b/third_party/googleapis/google/cloud/dialogflow/v2beta1/entity_type.proto index 7fc3f67ed..7c90e69d7 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2beta1/entity_type.proto +++ b/third_party/googleapis/google/cloud/dialogflow/v2beta1/entity_type.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/dialogflow/v2beta1/environment.proto b/third_party/googleapis/google/cloud/dialogflow/v2beta1/environment.proto index 1efbaf3aa..1d4809f01 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2beta1/environment.proto +++ b/third_party/googleapis/google/cloud/dialogflow/v2beta1/environment.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -168,9 +168,9 @@ message Environment { // Output only. The unique identifier of this agent environment. // Supported formats: - // - `projects//agent/environments/` - // - `projects//locations//agent/environments/` + // - `projects//agent/environments/` + // - `projects//locations//agent/environments/` string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Optional. The developer-provided description for this environment. @@ -181,7 +181,7 @@ message Environment { // Supported formats: // - `projects//agent/versions/` // - `projects//locations//agent/versions/` + // ID>` string agent_version = 3 [ (google.api.field_behavior) = OPTIONAL, (google.api.resource_reference) = { @@ -235,8 +235,8 @@ message TextToSpeechSettings { message ListEnvironmentsRequest { // Required. The agent to list all environments from. // Format: - // - `projects//agent` - // - `projects//locations//agent` + // - `projects//agent` + // - `projects//locations//agent` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -269,8 +269,8 @@ message ListEnvironmentsResponse { message GetEnvironmentRequest { // Required. The name of the environment. // Supported formats: - // - `projects//agent/environments/` - // - `projects//locations//agent/environments/` + // - `projects//locations//agent/environments/` string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -285,8 +285,8 @@ message GetEnvironmentRequest { message CreateEnvironmentRequest { // Required. The agent to create an environment for. // Supported formats: - // - `projects//agent` - // - `projects//locations//agent` + // - `projects//agent` + // - `projects//locations//agent` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -324,8 +324,8 @@ message UpdateEnvironmentRequest { message DeleteEnvironmentRequest { // Required. The name of the environment to delete. // / Format: - // - `projects//agent/environments/` - // - `projects//locations//agent/environments/` + // - `projects//locations//agent/environments/` string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -340,8 +340,8 @@ message DeleteEnvironmentRequest { message GetEnvironmentHistoryRequest { // Required. The name of the environment to retrieve history for. // Supported formats: - // - `projects//agent/environments/` - // - `projects//locations//agent/environments/` + // - `projects//locations//agent/environments/` string parent = 1 [ (google.api.field_behavior) = REQUIRED, @@ -375,8 +375,8 @@ message EnvironmentHistory { // Output only. The name of the environment this history is for. // Supported formats: - // - `projects//agent/environments/` - // - `projects//locations//agent/environments/` + // - `projects//locations//agent/environments/` string parent = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/third_party/googleapis/google/cloud/dialogflow/v2beta1/fulfillment.proto b/third_party/googleapis/google/cloud/dialogflow/v2beta1/fulfillment.proto index 836a9d082..93c24f25d 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2beta1/fulfillment.proto +++ b/third_party/googleapis/google/cloud/dialogflow/v2beta1/fulfillment.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/dialogflow/v2beta1/gcs.proto b/third_party/googleapis/google/cloud/dialogflow/v2beta1/gcs.proto index 49aa6c309..02c31734f 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2beta1/gcs.proto +++ b/third_party/googleapis/google/cloud/dialogflow/v2beta1/gcs.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -30,7 +30,7 @@ option objc_class_prefix = "DF"; message GcsSources { // Required. Google Cloud Storage URIs for the inputs. A URI is of the // form: - // gs://bucket/object-prefix-or-name + // `gs://bucket/object-prefix-or-name` // Whether a prefix or name is used depends on the use case. repeated string uris = 2 [(google.api.field_behavior) = REQUIRED]; } @@ -39,7 +39,7 @@ message GcsSources { message GcsSource { // Required. The Google Cloud Storage URIs for the inputs. A URI is of the // form: - // gs://bucket/object-prefix-or-name + // `gs://bucket/object-prefix-or-name` // Whether a prefix or name is used depends on the use case. string uri = 1; } @@ -48,7 +48,7 @@ message GcsSource { message GcsDestination { // Required. The Google Cloud Storage URIs for the output. A URI is of the // form: - // gs://bucket/object-prefix-or-name + // `gs://bucket/object-prefix-or-name` // Whether a prefix or name is used depends on the use case. The requesting // user must have "write-permission" to the bucket. string uri = 1; diff --git a/third_party/googleapis/google/cloud/dialogflow/v2beta1/human_agent_assistant_event.proto b/third_party/googleapis/google/cloud/dialogflow/v2beta1/human_agent_assistant_event.proto index ae1d0db80..63b77d53e 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2beta1/human_agent_assistant_event.proto +++ b/third_party/googleapis/google/cloud/dialogflow/v2beta1/human_agent_assistant_event.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/dialogflow/v2beta1/intent.proto b/third_party/googleapis/google/cloud/dialogflow/v2beta1/intent.proto index b4cb7e6e8..fc3a9ed93 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2beta1/intent.proto +++ b/third_party/googleapis/google/cloud/dialogflow/v2beta1/intent.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/dialogflow/v2beta1/knowledge_base.proto b/third_party/googleapis/google/cloud/dialogflow/v2beta1/knowledge_base.proto index 04b08bfa7..0e5556245 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2beta1/knowledge_base.proto +++ b/third_party/googleapis/google/cloud/dialogflow/v2beta1/knowledge_base.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/dialogflow/v2beta1/participant.proto b/third_party/googleapis/google/cloud/dialogflow/v2beta1/participant.proto index 52bde05fb..baedc2fd3 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2beta1/participant.proto +++ b/third_party/googleapis/google/cloud/dialogflow/v2beta1/participant.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -286,12 +286,13 @@ message Participant { // Dialogflow will update // [Participant.obfuscated_external_user_id][google.cloud.dialogflow.v2beta1.Participant.obfuscated_external_user_id]. // - // Dialogflow uses this user id for following purposes: - // 1) Billing and measurement. If user with the same - // obfuscated_external_user_id is created in a later conversation, dialogflow - // will know it's the same user. 2) Agent assist suggestion personalization. - // For example, Dialogflow can use it to provide personalized smart reply - // suggestions for this user. + // Dialogflow uses this user id for billing and measurement. If a user with + // the same obfuscated_external_user_id is created in a later conversation, + // Dialogflow will know it's the same user. + // + // Dialogflow also uses this user id for Agent Assist suggestion + // personalization. For example, Dialogflow can use it to provide personalized + // smart reply suggestions for this user. // // Note: // @@ -538,6 +539,63 @@ message AutomatedAgentReply { string cx_current_page = 11; } +// Represents the selection of a suggestion. +message SuggestionInput { + // Required. The ID of a suggestion selected by the human agent. + // The suggestion(s) were generated in a previous call to + // request Dialogflow assist. + // The format is: + // `projects//locations//answerRecords/` where is an alphanumeric string. + string answer_record = 1; + + // Optional. If the customer edited the suggestion before using it, include + // the revised text here. + TextInput text_override = 2; + + // In Dialogflow assist for v3, the user can submit a form by sending + // a [SuggestionInput][google.cloud.dialogflow.v2beta1.SuggestionInput]. The + // form is uniquely determined by the + // [answer_record][google.cloud.dialogflow.v2beta1.SuggestionInput.answer_record] + // field, which identifies a v3 + // [QueryResult][google.cloud.dialogflow.v3alpha1.QueryResult] containing the + // current [page][google.cloud.dialogflow.v3alpha1.Page]. The form parameters + // are specified via the + // [parameters][google.cloud.dialogflow.v2beta1.SuggestionInput.parameters] + // field. + // + // Depending on your protocol or client library language, this is a + // map, associative array, symbol table, dictionary, or JSON object + // composed of a collection of (MapKey, MapValue) pairs: + // + // * MapKey type: string + // * MapKey value: parameter name + // * MapValue type: If parameter's entity type is a composite entity then use + // map, otherwise, depending on the parameter value type, it could be one of + // string, number, boolean, null, list or map. + // * MapValue value: If parameter's entity type is a composite entity then use + // map from composite entity property names to property values, otherwise, + // use parameter value. + google.protobuf.Struct parameters = 4; + + // The intent to be triggered on V3 agent. + IntentInput intent_input = 6; +} + +// Represents the intent to trigger programmatically rather than as a result of +// natural language processing. The intent input is only used for V3 agent. +message IntentInput { + // Required. The unique identifier of the intent in V3 agent. + // Format: `projects//locations//locations//agents//intents/`. + string intent = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The language of this conversational query. See [Language + // Support](https://cloud.google.com/dialogflow/docs/reference/language) + // for a list of the currently supported language codes. + string language_code = 3 [(google.api.field_behavior) = REQUIRED]; +} + // The type of Human Agent Assistant API suggestion to perform, and the maximum // number of results to return for that type. Multiple `Feature` objects can // be specified in the `features` list. @@ -556,8 +614,15 @@ message SuggestionFeature { // Run smart reply model for chat. SMART_REPLY = 3; + // Run Dialogflow assist model for chat, which will return automated agent + // response as suggestion. + DIALOGFLOW_ASSIST = 4; + // Run conversation summarization model for chat. CONVERSATION_SUMMARIZATION = 8; + + // Run knowledge search with text input from agent or text generated query. + KNOWLEDGE_SEARCH = 14; } // Type of Human Agent Assistant API feature to request. @@ -609,6 +674,9 @@ message AnalyzeContentRequest { // An input event to send to Dialogflow. EventInput event_input = 8; + + // An input representing the selection of a suggestion. + SuggestionInput suggestion_input = 12; } // Speech synthesis configuration. @@ -653,12 +721,12 @@ message AnalyzeContentRequest { // participant. // // Given two messages under the same participant: - // - If send time are different regardless of whether the content of the - // messages are exactly the same, the conversation will regard them as - // two distinct messages sent by the participant. - // - If send time is the same regardless of whether the content of the - // messages are exactly the same, the conversation will regard them as - // same message, and ignore the message received later. + // * If send time are different regardless of whether the content of the + // messages are exactly the same, the conversation will regard them as + // two distinct messages sent by the participant. + // * If send time is the same regardless of whether the content of the + // messages are exactly the same, the conversation will regard them as + // same message, and ignore the message received later. // // If the value is not provided, a new request will always be regarded as a // new message without any de-duplication. @@ -823,7 +891,7 @@ message StreamingAnalyzeContentRequest { // The UTF-8 encoded natural language text to be processed. Must be sent if // `text_config` is set in the first message. Text length must not exceed // 256 bytes for virtual agent interactions. The `input_text` field can be - // only sent once. + // only sent once, and would cancel the speech recognition if any ongoing. string input_text = 6; // The DTMF digits used to invoke intent and fill in parameter value. @@ -863,11 +931,36 @@ message StreamingAnalyzeContentRequest { // CX agent. string cx_current_page = 15; + // Optional. Enable full bidirectional streaming. You can keep streaming the + // audio until timeout, and there's no need to half close the stream to get + // the response. + // + // Restrictions: + // + // - Timeout: 3 mins. + // - Audio Encoding: only supports + // [AudioEncoding.AUDIO_ENCODING_LINEAR_16][google.cloud.dialogflow.v2beta1.AudioEncoding.AUDIO_ENCODING_LINEAR_16] + // and + // [AudioEncoding.AUDIO_ENCODING_MULAW][google.cloud.dialogflow.v2beta1.AudioEncoding.AUDIO_ENCODING_MULAW] + // - Lifecycle: conversation should be in `Assist Stage`, go to + // [Conversation.CreateConversation][] for more information. + // + // InvalidArgument Error will be returned if the one of restriction checks + // failed. + // + // You can find more details in + // https://cloud.google.com/agent-assist/docs/extended-streaming + bool enable_extended_streaming = 11 [(google.api.field_behavior) = OPTIONAL]; + // Enable partial virtual agent responses. If this flag is not enabled, // response stream still contains only one final response even if some // `Fulfillment`s in Dialogflow virtual agent have been configured to return // partial responses. bool enable_partial_automated_agent_reply = 12; + + // if true, `StreamingAnalyzeContentResponse.debugging_info` will get + // populated. + bool enable_debugging_info = 19; } // The top-level message returned from the `StreamingAnalyzeContent` method. @@ -938,6 +1031,10 @@ message StreamingAnalyzeContentResponse { // Indicates the parameters of DTMF. DtmfParameters dtmf_parameters = 10; + + // Debugging info that would get populated when + // `StreamingAnalyzeContentRequest.enable_debugging_info` is set to true. + CloudConversationDebuggingInfo debugging_info = 11; } // Represents a part of a message possibly annotated with an entity. The part @@ -1046,6 +1143,42 @@ message SmartReplyAnswer { }]; } +// Represents an intent suggestion. +message IntentSuggestion { + // The display name of the intent. + string display_name = 1; + + // The name of the intent. + oneof intent { + // The unique identifier of this + // [intent][google.cloud.dialogflow.v2beta1.Intent]. Format: + // `projects//locations//agent/intents/`. + string intent_v2 = 2; + } + + // Human readable description for better understanding an intent like its + // scope, content, result etc. Maximum character limit: 140 characters. + string description = 5; +} + +// Represents a Dialogflow assist answer. +message DialogflowAssistAnswer { + // Result from DetectIntent for one matched intent. + oneof result { + // Result from v2 agent. + QueryResult query_result = 1; + + // An intent suggestion generated from conversation. + IntentSuggestion intent_suggestion = 5; + } + + // The name of answer record, in the format of + // "projects//locations//answerRecords/" + string answer_record = 2; +} + // One response of different type of suggestion response which is used in // the response of // [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent] @@ -1067,6 +1200,12 @@ message SuggestionResult { // SuggestSmartRepliesResponse if request is for SMART_REPLY. SuggestSmartRepliesResponse suggest_smart_replies_response = 4; + + // SuggestDialogflowAssistsResponse if request is for DIALOGFLOW_ASSIST. + SuggestDialogflowAssistsResponse suggest_dialogflow_assists_response = 5; + + // SuggestDialogflowAssistsResponse if request is for ENTITY_EXTRACTION. + SuggestDialogflowAssistsResponse suggest_entity_extraction_response = 7; } } @@ -1244,6 +1383,28 @@ message SuggestSmartRepliesResponse { int32 context_size = 3; } +// The response message for +// [Participants.SuggestDialogflowAssists][google.cloud.dialogflow.v2beta1.Participants.SuggestDialogflowAssists]. +message SuggestDialogflowAssistsResponse { + // Output only. Multiple reply options provided by Dialogflow assist + // service. The order is based on the rank of the model prediction. + repeated DialogflowAssistAnswer dialogflow_assist_answers = 1; + + // The name of the latest conversation message used to suggest answer. + // + // Format: `projects//locations//conversations//messages/`. + string latest_message = 2; + + // Number of messages prior to and including + // [latest_message][google.cloud.dialogflow.v2beta1.SuggestDialogflowAssistsResponse.latest_message] + // to compile the suggestion. It may be smaller than the + // [SuggestDialogflowAssistsRequest.context_size][google.cloud.dialogflow.v2beta1.SuggestDialogflowAssistsRequest.context_size] + // field in the request if there aren't that many messages in the + // conversation. + int32 context_size = 3; +} + // Represents a suggestion for a human agent. message Suggestion { option deprecated = true; @@ -1425,6 +1586,7 @@ message ResponseMessage { // is up to you and your handoff procedures. // // You may set this, for example: + // // * In the entry fulfillment of a CX Page if entering the page indicates // something went extremely wrong in the conversation. // * In a webhook response when you determine that the customer issue can only diff --git a/third_party/googleapis/google/cloud/dialogflow/v2beta1/session.proto b/third_party/googleapis/google/cloud/dialogflow/v2beta1/session.proto index b1683d8ec..1443c83f7 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2beta1/session.proto +++ b/third_party/googleapis/google/cloud/dialogflow/v2beta1/session.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -146,12 +146,12 @@ message DetectIntentRequest { // Required. The input specification. It can be set to: // - // 1. an audio config - // which instructs the speech recognizer how to process the speech audio, + // 1. an audio config which instructs the speech recognizer how to process + // the speech audio, // - // 2. a conversational query in the form of text, or + // 2. a conversational query in the form of text, or // - // 3. an event that specifies which intent to trigger. + // 3. an event that specifies which intent to trigger. QueryInput query_input = 3 [(google.api.field_behavior) = REQUIRED]; // Instructs the speech synthesizer how to generate the output @@ -271,16 +271,23 @@ message QueryParameters { // "Content-Length", "Connection", "From", "User-Agent", "Accept-Encoding", // "If-Modified-Since", "If-None-Match", "X-Forwarded-For", etc. map webhook_headers = 14; + + // The platform of the virtual agent response messages. + // + // If not empty, only emits messages from this platform in the response. + // Valid values are the enum names of + // [platform][google.cloud.dialogflow.v2beta1.Intent.Message.platform]. + string platform = 18; } // Represents the query input. It can contain either: // -// 1. An audio config which -// instructs the speech recognizer how to process the speech audio. +// 1. An audio config which instructs the speech recognizer how to process the +// speech audio. // -// 2. A conversational query in the form of text. +// 2. A conversational query in the form of text. // -// 3. An event that specifies which intent to trigger. +// 3. An event that specifies which intent to trigger. message QueryInput { // Required. The input specification. oneof input { @@ -337,16 +344,14 @@ message QueryResult { // map, associative array, symbol table, dictionary, or JSON object // composed of a collection of (MapKey, MapValue) pairs: // - // - MapKey type: string - // - MapKey value: parameter name - // - MapValue type: - // - If parameter's entity type is a composite entity: map - // - Else: depending on parameter value type, could be one of string, - // number, boolean, null, list or map - // - MapValue value: - // - If parameter's entity type is a composite entity: - // map from composite entity property names to property values - // - Else: parameter value + // * MapKey type: string + // * MapKey value: parameter name + // * MapValue type: If parameter's entity type is a composite entity then use + // map, otherwise, depending on the parameter value type, it could be one of + // string, number, boolean, null, list or map. + // * MapValue value: If parameter's entity type is a composite entity then use + // map from composite entity property names to property values, otherwise, + // use parameter value. google.protobuf.Struct parameters = 4; // This field is set to: @@ -545,12 +550,12 @@ message StreamingDetectIntentRequest { // Required. The input specification. It can be set to: // - // 1. an audio config which instructs the speech recognizer how to process - // the speech audio, + // 1. an audio config which instructs the speech recognizer how to process + // the speech audio, // - // 2. a conversational query in the form of text, or + // 2. a conversational query in the form of text, or // - // 3. an event that specifies which intent to trigger. + // 3. an event that specifies which intent to trigger. QueryInput query_input = 3 [(google.api.field_behavior) = REQUIRED]; // DEPRECATED. Please use @@ -583,6 +588,77 @@ message StreamingDetectIntentRequest { // `query_input` was set to a streaming input audio config. The complete audio // over all streaming messages must not exceed 1 minute. bytes input_audio = 6; + + // If true, `StreamingDetectIntentResponse.debugging_info` will get populated. + bool enable_debugging_info = 8; +} + +// Cloud conversation info for easier debugging. +// It will get populated in `StreamingDetectIntentResponse` or +// `StreamingAnalyzeContentResponse` when the flag `enable_debugging_info` is +// set to true in corresponding requests. +message CloudConversationDebuggingInfo { + // Number of input audio data chunks in streaming requests. + int32 audio_data_chunks = 1; + + // Time offset of the end of speech utterance relative to the + // beginning of the first audio chunk. + google.protobuf.Duration result_end_time_offset = 2; + + // Duration of first audio chunk. + google.protobuf.Duration first_audio_duration = 3; + + // Whether client used single utterance mode. + bool single_utterance = 5; + + // Time offsets of the speech partial results relative to the beginning of + // the stream. + repeated google.protobuf.Duration speech_partial_results_end_times = 6; + + // Time offsets of the speech final results (is_final=true) relative to the + // beginning of the stream. + repeated google.protobuf.Duration speech_final_results_end_times = 7; + + // Total number of partial responses. + int32 partial_responses = 8; + + // Time offset of Speaker ID stream close time relative to the Speech stream + // close time in milliseconds. Only meaningful for conversations involving + // passive verification. + int32 speaker_id_passive_latency_ms_offset = 9; + + // Whether a barge-in event is triggered in this request. + bool bargein_event_triggered = 10; + + // Whether speech uses single utterance mode. + bool speech_single_utterance = 11; + + // Time offsets of the DTMF partial results relative to the beginning of + // the stream. + repeated google.protobuf.Duration dtmf_partial_results_times = 12; + + // Time offsets of the DTMF final results relative to the beginning of + // the stream. + repeated google.protobuf.Duration dtmf_final_results_times = 13; + + // Time offset of the end-of-single-utterance signal relative to the + // beginning of the stream. + google.protobuf.Duration single_utterance_end_time_offset = 14; + + // No speech timeout settings for the stream. + google.protobuf.Duration no_speech_timeout = 15; + + // Speech endpointing timeout settings for the stream. + google.protobuf.Duration endpointing_timeout = 19; + + // Whether the streaming terminates with an injected text query. + bool is_input_text = 16; + + // Client half close time in terms of input audio duration. + google.protobuf.Duration client_half_close_time_offset = 17; + + // Client half close time in terms of API streaming duration. + google.protobuf.Duration client_half_close_streaming_time_offset = 18; } // The top-level message returned from the @@ -643,6 +719,10 @@ message StreamingDetectIntentResponse { // The config used by the speech synthesizer to generate the output audio. OutputAudioConfig output_audio_config = 6; + + // Debugging info that would get populated when + // `StreamingDetectIntentRequest.enable_debugging_info` is set to true. + CloudConversationDebuggingInfo debugging_info = 8; } // Contains a speech recognition result corresponding to a portion of the audio @@ -679,7 +759,6 @@ message StreamingDetectIntentResponse { // 7 | unset | END_OF_SINGLE_UTTERANCE | unset // 8 | " that is the question" | TRANSCRIPT | true // ``` -// // Concatenating the finalized transcripts with `is_final` set to true, // the complete utterance becomes "to be or not to be that is the question". message StreamingRecognitionResult { @@ -691,10 +770,7 @@ message StreamingRecognitionResult { // Message contains a (possibly partial) transcript. TRANSCRIPT = 1; - // Message contains DTMF digits. When the client gets the message, it - // should stop sending additional data, half-close the gRPC connection, and - // wait for any additional results until the server closes the gRPC. - // connection. + // Message contains DTMF digits. DTMF_DIGITS = 3; // Event indicates that the server has detected the end of the user's speech @@ -789,16 +865,14 @@ message EventInput { // map, associative array, symbol table, dictionary, or JSON object // composed of a collection of (MapKey, MapValue) pairs: // - // - MapKey type: string - // - MapKey value: parameter name - // - MapValue type: - // - If parameter's entity type is a composite entity: map - // - Else: depending on parameter value type, could be one of string, - // number, boolean, null, list or map - // - MapValue value: - // - If parameter's entity type is a composite entity: - // map from composite entity property names to property values - // - Else: parameter value + // * MapKey type: string + // * MapKey value: parameter name + // * MapValue type: If parameter's entity type is a composite entity then use + // map, otherwise, depending on the parameter value type, it could be one of + // string, number, boolean, null, list or map. + // * MapValue value: If parameter's entity type is a composite entity then use + // map from composite entity property names to property values, otherwise, + // use parameter value. google.protobuf.Struct parameters = 2; // Required. The language of this query. See [Language diff --git a/third_party/googleapis/google/cloud/dialogflow/v2beta1/session_entity_type.proto b/third_party/googleapis/google/cloud/dialogflow/v2beta1/session_entity_type.proto index bdc89a45f..1f1550c69 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2beta1/session_entity_type.proto +++ b/third_party/googleapis/google/cloud/dialogflow/v2beta1/session_entity_type.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/dialogflow/v2beta1/validation_result.proto b/third_party/googleapis/google/cloud/dialogflow/v2beta1/validation_result.proto index 91072ac15..d1fb7a549 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2beta1/validation_result.proto +++ b/third_party/googleapis/google/cloud/dialogflow/v2beta1/validation_result.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -50,16 +50,16 @@ message ValidationError { // The names of the entries that the error is associated with. // Format: // - // - "projects//agent", if the error is associated with the entire + // - `projects//agent`, if the error is associated with the entire // agent. - // - "projects//agent/intents/", if the error is + // - `projects//agent/intents/`, if the error is // associated with certain intents. - // - "projects//agent/intents//trainingPhrases/", if the - // error is associated with certain intent training phrases. - // - "projects//agent/intents//parameters/", if the error is associated with certain intent parameters. - // - "projects//agent/entities/", if the error is + // - `projects//agent/intents//trainingPhrases/`, if the error is associated with + // certain intent training phrases. + // - `projects//agent/intents//parameters/`, if the error is associated with certain intent parameters. + // - `projects//agent/entities/`, if the error is // associated with certain entities. repeated string entries = 3; diff --git a/third_party/googleapis/google/cloud/dialogflow/v2beta1/version.proto b/third_party/googleapis/google/cloud/dialogflow/v2beta1/version.proto index d2933d100..1e2f5e1b0 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2beta1/version.proto +++ b/third_party/googleapis/google/cloud/dialogflow/v2beta1/version.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/dialogflow/v2beta1/webhook.proto b/third_party/googleapis/google/cloud/dialogflow/v2beta1/webhook.proto index bb3ca2020..0504f0f68 100644 --- a/third_party/googleapis/google/cloud/dialogflow/v2beta1/webhook.proto +++ b/third_party/googleapis/google/cloud/dialogflow/v2beta1/webhook.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/discoveryengine/v1beta/BUILD.bazel b/third_party/googleapis/google/cloud/discoveryengine/v1beta/BUILD.bazel index 53e0d2d1c..531f0ffb7 100644 --- a/third_party/googleapis/google/cloud/discoveryengine/v1beta/BUILD.bazel +++ b/third_party/googleapis/google/cloud/discoveryengine/v1beta/BUILD.bazel @@ -22,10 +22,26 @@ proto_library( name = "discoveryengine_proto", srcs = [ "common.proto", + "completion.proto", + "completion_service.proto", + "conversation.proto", + "conversational_search_service.proto", + "data_store.proto", + "data_store_service.proto", "document.proto", "document_service.proto", + "engine.proto", + "engine_service.proto", "import_config.proto", + "purge_config.proto", "recommendation_service.proto", + "schema.proto", + "schema_service.proto", + "search_service.proto", + "serving_config.proto", + "serving_config_service.proto", + "site_search_engine.proto", + "site_search_engine_service.proto", "user_event.proto", "user_event_service.proto", ], @@ -40,6 +56,7 @@ proto_library( "//google/type:date_proto", "@com_google_protobuf//:duration_proto", "@com_google_protobuf//:empty_proto", + "@com_google_protobuf//:field_mask_proto", "@com_google_protobuf//:struct_proto", "@com_google_protobuf//:timestamp_proto", ], @@ -96,10 +113,26 @@ java_gapic_library( java_gapic_test( name = "discoveryengine_java_gapic_test_suite", test_classes = [ + "com.google.cloud.discoveryengine.v1beta.CompletionServiceClientHttpJsonTest", + "com.google.cloud.discoveryengine.v1beta.CompletionServiceClientTest", + "com.google.cloud.discoveryengine.v1beta.ConversationalSearchServiceClientHttpJsonTest", + "com.google.cloud.discoveryengine.v1beta.ConversationalSearchServiceClientTest", + "com.google.cloud.discoveryengine.v1beta.DataStoreServiceClientHttpJsonTest", + "com.google.cloud.discoveryengine.v1beta.DataStoreServiceClientTest", "com.google.cloud.discoveryengine.v1beta.DocumentServiceClientHttpJsonTest", "com.google.cloud.discoveryengine.v1beta.DocumentServiceClientTest", + "com.google.cloud.discoveryengine.v1beta.EngineServiceClientHttpJsonTest", + "com.google.cloud.discoveryengine.v1beta.EngineServiceClientTest", "com.google.cloud.discoveryengine.v1beta.RecommendationServiceClientHttpJsonTest", "com.google.cloud.discoveryengine.v1beta.RecommendationServiceClientTest", + "com.google.cloud.discoveryengine.v1beta.SchemaServiceClientHttpJsonTest", + "com.google.cloud.discoveryengine.v1beta.SchemaServiceClientTest", + "com.google.cloud.discoveryengine.v1beta.SearchServiceClientHttpJsonTest", + "com.google.cloud.discoveryengine.v1beta.SearchServiceClientTest", + "com.google.cloud.discoveryengine.v1beta.ServingConfigServiceClientHttpJsonTest", + "com.google.cloud.discoveryengine.v1beta.ServingConfigServiceClientTest", + "com.google.cloud.discoveryengine.v1beta.SiteSearchEngineServiceClientHttpJsonTest", + "com.google.cloud.discoveryengine.v1beta.SiteSearchEngineServiceClientTest", "com.google.cloud.discoveryengine.v1beta.UserEventServiceClientHttpJsonTest", "com.google.cloud.discoveryengine.v1beta.UserEventServiceClientTest", ], @@ -127,7 +160,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -165,19 +197,13 @@ go_gapic_library( ], ) -go_test( - name = "discoveryengine_go_gapic_test", - srcs = [":discoveryengine_go_gapic_srcjar_test"], - embed = [":discoveryengine_go_gapic"], - importpath = "cloud.google.com/go/discoveryengine/apiv1beta", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-discoveryengine-v1beta-go", deps = [ ":discoveryengine_go_gapic", ":discoveryengine_go_gapic_srcjar-metadata.srcjar", + ":discoveryengine_go_gapic_srcjar-snippets.srcjar", ":discoveryengine_go_gapic_srcjar-test.srcjar", ":discoveryengine_go_proto", ], @@ -229,7 +255,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -238,21 +263,15 @@ php_proto_library( deps = [":discoveryengine_proto"], ) -php_grpc_library( - name = "discoveryengine_php_grpc", - srcs = [":discoveryengine_proto"], - deps = [":discoveryengine_php_proto"], -) - php_gapic_library( name = "discoveryengine_php_gapic", srcs = [":discoveryengine_proto_with_info"], grpc_service_config = "discoveryengine_grpc_service_config.json", + migration_mode = "NEW_SURFACE_ONLY", rest_numeric_enums = True, service_yaml = "discoveryengine_v1beta.yaml", transport = "grpc+rest", deps = [ - ":discoveryengine_php_grpc", ":discoveryengine_php_proto", ], ) @@ -262,7 +281,6 @@ php_gapic_assembly_pkg( name = "google-cloud-discoveryengine-v1beta-php", deps = [ ":discoveryengine_php_gapic", - ":discoveryengine_php_grpc", ":discoveryengine_php_proto", ], ) @@ -322,10 +340,11 @@ ruby_grpc_library( ruby_cloud_gapic_library( name = "discoveryengine_ruby_gapic", srcs = [":discoveryengine_proto_with_info"], - extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-discoveryengine-v1beta"], + extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-discovery_engine-v1beta"], grpc_service_config = "discoveryengine_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "discoveryengine_v1beta.yaml", + transport = "grpc+rest", deps = [ ":discoveryengine_ruby_grpc", ":discoveryengine_ruby_proto", diff --git a/third_party/googleapis/google/cloud/discoveryengine/v1beta/common.proto b/third_party/googleapis/google/cloud/discoveryengine/v1beta/common.proto index f956540fc..b100949cd 100644 --- a/third_party/googleapis/google/cloud/discoveryengine/v1beta/common.proto +++ b/third_party/googleapis/google/cloud/discoveryengine/v1beta/common.proto @@ -29,38 +29,117 @@ option ruby_package = "Google::Cloud::DiscoveryEngine::V1beta"; option (google.api.resource_definition) = { type: "discoveryengine.googleapis.com/Branch" pattern: "projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}" + pattern: "projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}" }; option (google.api.resource_definition) = { - type: "discoveryengine.googleapis.com/DataStore" - pattern: "projects/{project}/locations/{location}/dataStores/{data_store}" -}; -option (google.api.resource_definition) = { - type: "discoveryengine.googleapis.com/ServingConfig" - pattern: "projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}" + type: "discoveryengine.googleapis.com/Collection" + pattern: "projects/{project}/locations/{location}/collections/{collection}" }; +// The industry vertical associated with the +// [DataStore][google.cloud.discoveryengine.v1beta.DataStore]. +enum IndustryVertical { + // Value used when unset. + INDUSTRY_VERTICAL_UNSPECIFIED = 0; + + // The generic vertical for documents that are not specific to any industry + // vertical. + GENERIC = 1; + + // The media industry vertical. + MEDIA = 2; +} + +// The type of solution. +enum SolutionType { + // Default value. + SOLUTION_TYPE_UNSPECIFIED = 0; + + // Used for Recommendations AI. + SOLUTION_TYPE_RECOMMENDATION = 1; + + // Used for Discovery Search. + SOLUTION_TYPE_SEARCH = 2; + + // Used for use cases related to the Generative AI agent. + SOLUTION_TYPE_CHAT = 3; +} + +// Tiers of search features. Different tiers might have different +// pricing. To learn more, please check the pricing documentation. +enum SearchTier { + // Default value when the enum is unspecified. This is invalid to use. + SEARCH_TIER_UNSPECIFIED = 0; + + // Standard tier. + SEARCH_TIER_STANDARD = 1; + + // Enterprise tier. + SEARCH_TIER_ENTERPRISE = 2; +} + +// Add-on that provides additional functionality for search. +enum SearchAddOn { + // Default value when the enum is unspecified. This is invalid to use. + SEARCH_ADD_ON_UNSPECIFIED = 0; + + // Large language model add-on. + SEARCH_ADD_ON_LLM = 1; +} + +// A floating point interval. +message Interval { + // The lower bound of the interval. If neither of the min fields are + // set, then the lower bound is negative infinity. + // + // This field must be not larger than max. + // Otherwise, an `INVALID_ARGUMENT` error is returned. + oneof min { + // Inclusive lower bound. + double minimum = 1; + + // Exclusive lower bound. + double exclusive_minimum = 2; + } + + // The upper bound of the interval. If neither of the max fields are + // set, then the upper bound is positive infinity. + // + // This field must be not smaller than min. + // Otherwise, an `INVALID_ARGUMENT` error is returned. + oneof max { + // Inclusive upper bound. + double maximum = 3; + + // Exclusive upper bound. + double exclusive_maximum = 4; + } +} + // A custom attribute that is not explicitly modeled in a resource, e.g. // [UserEvent][google.cloud.discoveryengine.v1beta.UserEvent]. message CustomAttribute { // The textual values of this custom attribute. For example, `["yellow", // "green"]` when the key is "color". // - // Empty string is not allowed. Otherwise, an INVALID_ARGUMENT error is + // Empty string is not allowed. Otherwise, an `INVALID_ARGUMENT` error is // returned. // // Exactly one of - // [text][google.cloud.discoveryengine.v1beta.CustomAttribute.text] or - // [numbers][google.cloud.discoveryengine.v1beta.CustomAttribute.numbers] - // should be set. Otherwise, an INVALID_ARGUMENT error is returned. + // [CustomAttribute.text][google.cloud.discoveryengine.v1beta.CustomAttribute.text] + // or + // [CustomAttribute.numbers][google.cloud.discoveryengine.v1beta.CustomAttribute.numbers] + // should be set. Otherwise, an `INVALID_ARGUMENT` error is returned. repeated string text = 1; // The numerical values of this custom attribute. For example, `[2.3, 15.4]` // when the key is "lengths_cm". // // Exactly one of - // [text][google.cloud.discoveryengine.v1beta.CustomAttribute.text] or - // [numbers][google.cloud.discoveryengine.v1beta.CustomAttribute.numbers] - // should be set. Otherwise, an INVALID_ARGUMENT error is returned. + // [CustomAttribute.text][google.cloud.discoveryengine.v1beta.CustomAttribute.text] + // or + // [CustomAttribute.numbers][google.cloud.discoveryengine.v1beta.CustomAttribute.numbers] + // should be set. Otherwise, an `INVALID_ARGUMENT` error is returned. repeated double numbers = 2; } @@ -76,18 +155,31 @@ message UserInfo { // model quality. // // The field must be a UTF-8 encoded string with a length limit of 128 - // characters. Otherwise, an INVALID_ARGUMENT error is returned. + // characters. Otherwise, an `INVALID_ARGUMENT` error is returned. string user_id = 1; - // User agent as included in the HTTP header. Required for getting - // [SearchResponse.sponsored_results][]. + // User agent as included in the HTTP header. // // The field must be a UTF-8 encoded string with a length limit of 1,000 - // characters. Otherwise, an INVALID_ARGUMENT error is returned. + // characters. Otherwise, an `INVALID_ARGUMENT` error is returned. // // This should not be set when using the client side event reporting with // GTM or JavaScript tag in // [UserEventService.CollectUserEvent][google.cloud.discoveryengine.v1beta.UserEventService.CollectUserEvent] - // or if [direct_user_request][] is set. + // or if + // [UserEvent.direct_user_request][google.cloud.discoveryengine.v1beta.UserEvent.direct_user_request] + // is set. string user_agent = 2; } + +// Defines embedding config, used for bring your own embeddings feature. +message EmbeddingConfig { + // Full field path in the schema mapped as embedding field. + string field_path = 1; +} + +// Double list. +message DoubleList { + // Double values. + repeated double values = 1; +} diff --git a/third_party/googleapis/google/cloud/discoveryengine/v1beta/discoveryengine_grpc_service_config.json b/third_party/googleapis/google/cloud/discoveryengine/v1beta/discoveryengine_grpc_service_config.json index 087d1eae9..2fc0d0519 100644 --- a/third_party/googleapis/google/cloud/discoveryengine/v1beta/discoveryengine_grpc_service_config.json +++ b/third_party/googleapis/google/cloud/discoveryengine/v1beta/discoveryengine_grpc_service_config.json @@ -2,7 +2,9 @@ "methodConfig": [ { "name": [ - { "service": "google.cloud.discoveryengine.v1beta.RecommendationService" } + { "service": "google.cloud.discoveryengine.v1beta.CompletionService" }, + { "service": "google.cloud.discoveryengine.v1beta.RecommendationService" }, + { "service": "google.cloud.discoveryengine.v1beta.SearchService" } ], "timeout": "5s", "retryPolicy": { @@ -14,8 +16,11 @@ }, { "name": [ + { "service": "google.cloud.discoveryengine.v1beta.ConversationalSearchService" }, { "service": "google.cloud.discoveryengine.v1beta.DocumentService" }, - { "service": "google.cloud.discoveryengine.v1beta.UserEventService" } + { "service": "google.cloud.discoveryengine.v1beta.SchemaService" }, + { "service": "google.cloud.discoveryengine.v1beta.UserEventService" }, + { "service": "google.longrunning.Operations"} ], "timeout": "30s", "retryPolicy": { diff --git a/third_party/googleapis/google/cloud/discoveryengine/v1beta/discoveryengine_v1beta.yaml b/third_party/googleapis/google/cloud/discoveryengine/v1beta/discoveryengine_v1beta.yaml index f705655e3..a915de076 100644 --- a/third_party/googleapis/google/cloud/discoveryengine/v1beta/discoveryengine_v1beta.yaml +++ b/third_party/googleapis/google/cloud/discoveryengine/v1beta/discoveryengine_v1beta.yaml @@ -4,47 +4,86 @@ name: discoveryengine.googleapis.com title: Discovery Engine API apis: +- name: google.cloud.discoveryengine.v1beta.CompletionService +- name: google.cloud.discoveryengine.v1beta.ConversationalSearchService +- name: google.cloud.discoveryengine.v1beta.DataStoreService - name: google.cloud.discoveryengine.v1beta.DocumentService +- name: google.cloud.discoveryengine.v1beta.EngineService - name: google.cloud.discoveryengine.v1beta.RecommendationService +- name: google.cloud.discoveryengine.v1beta.SchemaService +- name: google.cloud.discoveryengine.v1beta.SearchService +- name: google.cloud.discoveryengine.v1beta.ServingConfigService +- name: google.cloud.discoveryengine.v1beta.SiteSearchEngineService - name: google.cloud.discoveryengine.v1beta.UserEventService +- name: google.cloud.location.Locations - name: google.longrunning.Operations types: +- name: google.cloud.discoveryengine.logging.ErrorLog +- name: google.cloud.discoveryengine.v1beta.BatchCreateTargetSiteMetadata +- name: google.cloud.discoveryengine.v1beta.BatchCreateTargetSitesResponse +- name: google.cloud.discoveryengine.v1beta.CreateDataStoreMetadata +- name: google.cloud.discoveryengine.v1beta.CreateEngineMetadata +- name: google.cloud.discoveryengine.v1beta.CreateSchemaMetadata +- name: google.cloud.discoveryengine.v1beta.CreateTargetSiteMetadata +- name: google.cloud.discoveryengine.v1beta.DataStore +- name: google.cloud.discoveryengine.v1beta.DeleteDataStoreMetadata +- name: google.cloud.discoveryengine.v1beta.DeleteEngineMetadata +- name: google.cloud.discoveryengine.v1beta.DeleteSchemaMetadata +- name: google.cloud.discoveryengine.v1beta.DeleteTargetSiteMetadata +- name: google.cloud.discoveryengine.v1beta.DisableAdvancedSiteSearchMetadata +- name: google.cloud.discoveryengine.v1beta.DisableAdvancedSiteSearchResponse +- name: google.cloud.discoveryengine.v1beta.EnableAdvancedSiteSearchMetadata +- name: google.cloud.discoveryengine.v1beta.EnableAdvancedSiteSearchResponse +- name: google.cloud.discoveryengine.v1beta.Engine - name: google.cloud.discoveryengine.v1beta.ImportDocumentsMetadata - name: google.cloud.discoveryengine.v1beta.ImportDocumentsResponse +- name: google.cloud.discoveryengine.v1beta.ImportSuggestionDenyListEntriesMetadata +- name: google.cloud.discoveryengine.v1beta.ImportSuggestionDenyListEntriesResponse - name: google.cloud.discoveryengine.v1beta.ImportUserEventsMetadata - name: google.cloud.discoveryengine.v1beta.ImportUserEventsResponse +- name: google.cloud.discoveryengine.v1beta.PurgeDocumentsMetadata +- name: google.cloud.discoveryengine.v1beta.PurgeDocumentsResponse +- name: google.cloud.discoveryengine.v1beta.PurgeSuggestionDenyListEntriesMetadata +- name: google.cloud.discoveryengine.v1beta.PurgeSuggestionDenyListEntriesResponse +- name: google.cloud.discoveryengine.v1beta.Schema +- name: google.cloud.discoveryengine.v1beta.TargetSite +- name: google.cloud.discoveryengine.v1beta.UpdateSchemaMetadata +- name: google.cloud.discoveryengine.v1beta.UpdateTargetSiteMetadata documentation: summary: Discovery Engine API. -backend: - rules: - - selector: 'google.cloud.discoveryengine.v1beta.DocumentService.*' - deadline: 30.0 - - selector: google.cloud.discoveryengine.v1beta.DocumentService.ImportDocuments - deadline: 300.0 - - selector: google.cloud.discoveryengine.v1beta.UserEventService.CollectUserEvent - deadline: 30.0 - - selector: google.cloud.discoveryengine.v1beta.UserEventService.ImportUserEvents - deadline: 300.0 - - selector: google.cloud.discoveryengine.v1beta.UserEventService.WriteUserEvent - deadline: 30.0 - - selector: google.longrunning.Operations.ListOperations - deadline: 300.0 - http: rules: - selector: google.longrunning.Operations.GetOperation - get: '/v1beta/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}' + get: '/v1beta/{name=projects/*/locations/*/collections/*/dataConnector/operations/*}' additional_bindings: + - get: '/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}' + - get: '/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/models/*/operations/*}' + - get: '/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/operations/*}' + - get: '/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*/operations/*}' + - get: '/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/operations/*}' + - get: '/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/targetSites/operations/*}' + - get: '/v1beta/{name=projects/*/locations/*/collections/*/engines/*/operations/*}' + - get: '/v1beta/{name=projects/*/locations/*/collections/*/operations/*}' + - get: '/v1beta/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}' - get: '/v1beta/{name=projects/*/locations/*/dataStores/*/models/*/operations/*}' - get: '/v1beta/{name=projects/*/locations/*/dataStores/*/operations/*}' - get: '/v1beta/{name=projects/*/locations/*/operations/*}' - get: '/v1beta/{name=projects/*/operations/*}' - selector: google.longrunning.Operations.ListOperations - get: '/v1beta/{name=projects/*/locations/*/dataStores/*/branches/*}/operations' + get: '/v1beta/{name=projects/*/locations/*/collections/*/dataConnector}/operations' additional_bindings: + - get: '/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*}/operations' + - get: '/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/models/*}/operations' + - get: '/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}/operations' + - get: '/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/targetSites}/operations' + - get: '/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}/operations' + - get: '/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*}/operations' + - get: '/v1beta/{name=projects/*/locations/*/collections/*/engines/*}/operations' + - get: '/v1beta/{name=projects/*/locations/*/collections/*}/operations' + - get: '/v1beta/{name=projects/*/locations/*/dataStores/*/branches/*}/operations' - get: '/v1beta/{name=projects/*/locations/*/dataStores/*/models/*}/operations' - get: '/v1beta/{name=projects/*/locations/*/dataStores/*}/operations' - get: '/v1beta/{name=projects/*/locations/*}/operations' @@ -52,14 +91,46 @@ http: authentication: rules: + - selector: 'google.cloud.discoveryengine.v1beta.CompletionService.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform + - selector: 'google.cloud.discoveryengine.v1beta.ConversationalSearchService.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform + - selector: 'google.cloud.discoveryengine.v1beta.DataStoreService.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform - selector: 'google.cloud.discoveryengine.v1beta.DocumentService.*' oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform + - selector: 'google.cloud.discoveryengine.v1beta.EngineService.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform - selector: google.cloud.discoveryengine.v1beta.RecommendationService.Recommend oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform + - selector: 'google.cloud.discoveryengine.v1beta.SchemaService.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform + - selector: google.cloud.discoveryengine.v1beta.SearchService.Search + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform + - selector: 'google.cloud.discoveryengine.v1beta.ServingConfigService.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform + - selector: 'google.cloud.discoveryengine.v1beta.SiteSearchEngineService.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform - selector: 'google.cloud.discoveryengine.v1beta.UserEventService.*' oauth: canonical_scopes: |- @@ -72,3 +143,47 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform + +publishing: + new_issue_uri: https://issuetracker.google.com/issues/new?component=911831&template=1480251 + documentation_uri: https://cloud.google.com/generative-ai-app-builder/docs + api_short_name: discoveryengine + github_label: 'api: discoveryengine' + doc_tag_prefix: discoveryengine + organization: CLOUD + library_settings: + - version: google.cloud.discoveryengine.v1beta + launch_stage: BETA + java_settings: + common: + destinations: + - PACKAGE_MANAGER + cpp_settings: + common: + destinations: + - PACKAGE_MANAGER + php_settings: + common: + destinations: + - PACKAGE_MANAGER + python_settings: + common: + destinations: + - PACKAGE_MANAGER + node_settings: + common: + destinations: + - PACKAGE_MANAGER + dotnet_settings: + common: + destinations: + - PACKAGE_MANAGER + ruby_settings: + common: + destinations: + - PACKAGE_MANAGER + go_settings: + common: + destinations: + - PACKAGE_MANAGER + proto_reference_documentation_uri: https://cloud.google.com/generative-ai-app-builder/docs/reference/rpc diff --git a/third_party/googleapis/google/cloud/discoveryengine/v1beta/document.proto b/third_party/googleapis/google/cloud/discoveryengine/v1beta/document.proto index e62044ddb..34dd3ffed 100644 --- a/third_party/googleapis/google/cloud/discoveryengine/v1beta/document.proto +++ b/third_party/googleapis/google/cloud/discoveryengine/v1beta/document.proto @@ -35,25 +35,59 @@ message Document { option (google.api.resource) = { type: "discoveryengine.googleapis.com/Document" pattern: "projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}" + pattern: "projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}" }; + // Unstructured data linked to this document. + message Content { + oneof content { + // The content represented as a stream of bytes. The maximum length is + // 1,000,000 bytes (1 MB / ~0.95 MiB). + // + // Note: As with all `bytes` fields, this field is represented as pure + // binary in Protocol Buffers and base64-encoded string in JSON. For + // example, `abc123!?$*&()'-=@~` should be represented as + // `YWJjMTIzIT8kKiYoKSctPUB+` in JSON. See + // https://developers.google.com/protocol-buffers/docs/proto3#json. + bytes raw_bytes = 2; + + // The URI of the content. Only Cloud Storage URIs (e.g. + // `gs://bucket-name/path/to/file`) are supported. The maximum file size + // is 2.5 MB for text-based formats, 100 MB for other formats. + string uri = 3; + } + + // The MIME type of the content. Supported types: + // + // * `application/pdf` (PDF, only native PDFs are supported for now) + // * `text/html` (HTML) + // * `application/vnd.openxmlformats-officedocument.wordprocessingml.document` (DOCX) + // * `application/vnd.openxmlformats-officedocument.presentationml.presentation` (PPTX) + // * `text/plain` (TXT) + // + // See https://www.iana.org/assignments/media-types/media-types.xhtml. + string mime_type = 1; + } + // Data representation. One of // [struct_data][google.cloud.discoveryengine.v1beta.Document.struct_data] or // [json_data][google.cloud.discoveryengine.v1beta.Document.json_data] should - // be provided otherwise an INVALID_ARGUMENT error is thrown. + // be provided otherwise an `INVALID_ARGUMENT` error is thrown. oneof data { // The structured JSON data for the document. It should conform to the - // registered [schema][] or an INVALID_ARGUMENT error is thrown. + // registered [Schema][google.cloud.discoveryengine.v1beta.Schema] or an + // `INVALID_ARGUMENT` error is thrown. google.protobuf.Struct struct_data = 4; // The JSON string representation of the document. It should conform to the - // registered [schema][] or an INVALID_ARGUMENT error is thrown. + // registered [Schema][google.cloud.discoveryengine.v1beta.Schema] or an + // `INVALID_ARGUMENT` error is thrown. string json_data = 5; } // Immutable. The full resource name of the document. // Format: - // `projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document_id}`. + // `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document_id}`. // // This field must be a UTF-8 encoded string with a length limit of 1024 // characters. @@ -65,8 +99,13 @@ message Document { // standard with a length limit of 63 characters. string id = 2 [(google.api.field_behavior) = IMMUTABLE]; - // Required. The identifier of the schema located in the same data store. - string schema_id = 3 [(google.api.field_behavior) = REQUIRED]; + // The identifier of the schema located in the same data store. + string schema_id = 3; + + // The unstructured data linked to this document. Content must be set if this + // document is under a + // `CONTENT_REQUIRED` data store. + Content content = 10; // The identifier of the parent document. Currently supports at most two level // document hierarchy. @@ -74,4 +113,9 @@ message Document { // Id should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) // standard with a length limit of 63 characters. string parent_document_id = 7; + + // Output only. This field is OUTPUT_ONLY. + // It contains derived data that are not in the original input document. + google.protobuf.Struct derived_struct_data = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/cloud/discoveryengine/v1beta/document_service.proto b/third_party/googleapis/google/cloud/discoveryengine/v1beta/document_service.proto index 138af1c42..9c0afd0d8 100644 --- a/third_party/googleapis/google/cloud/discoveryengine/v1beta/document_service.proto +++ b/third_party/googleapis/google/cloud/discoveryengine/v1beta/document_service.proto @@ -22,6 +22,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/discoveryengine/v1beta/document.proto"; import "google/cloud/discoveryengine/v1beta/import_config.proto"; +import "google/cloud/discoveryengine/v1beta/purge_config.proto"; import "google/longrunning/operations.proto"; import "google/protobuf/empty.proto"; @@ -46,6 +47,9 @@ service DocumentService { rpc GetDocument(GetDocumentRequest) returns (Document) { option (google.api.http) = { get: "/v1beta/{name=projects/*/locations/*/dataStores/*/branches/*/documents/*}" + additional_bindings { + get: "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}" + } }; option (google.api.method_signature) = "name"; } @@ -54,6 +58,9 @@ service DocumentService { rpc ListDocuments(ListDocumentsRequest) returns (ListDocumentsResponse) { option (google.api.http) = { get: "/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents" + additional_bindings { + get: "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents" + } }; option (google.api.method_signature) = "parent"; } @@ -63,6 +70,10 @@ service DocumentService { option (google.api.http) = { post: "/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents" body: "document" + additional_bindings { + post: "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents" + body: "document" + } }; option (google.api.method_signature) = "parent,document,document_id"; } @@ -72,6 +83,10 @@ service DocumentService { option (google.api.http) = { patch: "/v1beta/{document.name=projects/*/locations/*/dataStores/*/branches/*/documents/*}" body: "document" + additional_bindings { + patch: "/v1beta/{document.name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}" + body: "document" + } }; } @@ -79,6 +94,9 @@ service DocumentService { rpc DeleteDocument(DeleteDocumentRequest) returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1beta/{name=projects/*/locations/*/dataStores/*/branches/*/documents/*}" + additional_bindings { + delete: "/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*}" + } }; option (google.api.method_signature) = "name"; } @@ -95,12 +113,49 @@ service DocumentService { option (google.api.http) = { post: "/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents:import" body: "*" + additional_bindings { + post: "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents:import" + body: "*" + } }; option (google.longrunning.operation_info) = { response_type: "google.cloud.discoveryengine.v1beta.ImportDocumentsResponse" metadata_type: "google.cloud.discoveryengine.v1beta.ImportDocumentsMetadata" }; } + + // Permanently deletes all selected + // [Document][google.cloud.discoveryengine.v1beta.Document]s in a branch. + // + // This process is asynchronous. Depending on the number of + // [Document][google.cloud.discoveryengine.v1beta.Document]s to be deleted, + // this operation can take hours to complete. Before the delete operation + // completes, some [Document][google.cloud.discoveryengine.v1beta.Document]s + // might still be returned by + // [DocumentService.GetDocument][google.cloud.discoveryengine.v1beta.DocumentService.GetDocument] + // or + // [DocumentService.ListDocuments][google.cloud.discoveryengine.v1beta.DocumentService.ListDocuments]. + // + // To get a list of the + // [Document][google.cloud.discoveryengine.v1beta.Document]s to be deleted, + // set + // [PurgeDocumentsRequest.force][google.cloud.discoveryengine.v1beta.PurgeDocumentsRequest.force] + // to false. + rpc PurgeDocuments(PurgeDocumentsRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1beta/{parent=projects/*/locations/*/dataStores/*/branches/*}/documents:purge" + body: "*" + additional_bindings { + post: "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*/branches/*}/documents:purge" + body: "*" + } + }; + option (google.longrunning.operation_info) = { + response_type: "google.cloud.discoveryengine.v1beta.PurgeDocumentsResponse" + metadata_type: "google.cloud.discoveryengine.v1beta.PurgeDocumentsMetadata" + }; + } } // Request message for @@ -109,14 +164,14 @@ service DocumentService { message GetDocumentRequest { // Required. Full resource name of // [Document][google.cloud.discoveryengine.v1beta.Document], such as - // `projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}`. + // `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}`. // // If the caller does not have permission to access the // [Document][google.cloud.discoveryengine.v1beta.Document], regardless of - // whether or not it exists, a PERMISSION_DENIED error is returned. + // whether or not it exists, a `PERMISSION_DENIED` error is returned. // // If the requested [Document][google.cloud.discoveryengine.v1beta.Document] - // does not exist, a NOT_FOUND error is returned. + // does not exist, a `NOT_FOUND` error is returned. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -130,13 +185,14 @@ message GetDocumentRequest { // method. message ListDocumentsRequest { // Required. The parent branch resource name, such as - // `projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}`. + // `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`. // Use `default_branch` as the branch ID, to list documents under the default // branch. // - // If the caller does not have permission to list [Documents][]s under this + // If the caller does not have permission to list + // [Document][google.cloud.discoveryengine.v1beta.Document]s under this // branch, regardless of whether or not this branch exists, a - // PERMISSION_DENIED error is returned. + // `PERMISSION_DENIED` error is returned. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -148,7 +204,7 @@ message ListDocumentsRequest { // to return. If unspecified, defaults to 100. The maximum allowed value is // 1000. Values above 1000 will be coerced to 1000. // - // If this field is negative, an INVALID_ARGUMENT error is returned. + // If this field is negative, an `INVALID_ARGUMENT` error is returned. int32 page_size = 2; // A page token @@ -160,7 +216,7 @@ message ListDocumentsRequest { // When paginating, all other parameters provided to // [DocumentService.ListDocuments][google.cloud.discoveryengine.v1beta.DocumentService.ListDocuments] // must match the call that provided the page token. Otherwise, an - // INVALID_ARGUMENT error is returned. + // `INVALID_ARGUMENT` error is returned. string page_token = 3; } @@ -183,7 +239,7 @@ message ListDocumentsResponse { // method. message CreateDocumentRequest { // Required. The parent resource name, such as - // `projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}`. + // `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -202,16 +258,16 @@ message CreateDocumentRequest { // // If the caller does not have permission to create the // [Document][google.cloud.discoveryengine.v1beta.Document], regardless of - // whether or not it exists, a PERMISSION_DENIED error is returned. + // whether or not it exists, a `PERMISSION_DENIED` error is returned. // // This field must be unique among all // [Document][google.cloud.discoveryengine.v1beta.Document]s with the same // [parent][google.cloud.discoveryengine.v1beta.CreateDocumentRequest.parent]. - // Otherwise, an ALREADY_EXISTS error is returned. + // Otherwise, an `ALREADY_EXISTS` error is returned. // // This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) // standard with a length limit of 63 characters. Otherwise, an - // INVALID_ARGUMENT error is returned. + // `INVALID_ARGUMENT` error is returned. string document_id = 3 [(google.api.field_behavior) = REQUIRED]; } @@ -223,12 +279,12 @@ message UpdateDocumentRequest { // // If the caller does not have permission to update the // [Document][google.cloud.discoveryengine.v1beta.Document], regardless of - // whether or not it exists, a PERMISSION_DENIED error is returned. + // whether or not it exists, a `PERMISSION_DENIED` error is returned. // // If the [Document][google.cloud.discoveryengine.v1beta.Document] to update // does not exist and // [allow_missing][google.cloud.discoveryengine.v1beta.UpdateDocumentRequest.allow_missing] - // is not set, a NOT_FOUND error is returned. + // is not set, a `NOT_FOUND` error is returned. Document document = 1 [(google.api.field_behavior) = REQUIRED]; // If set to true, and the @@ -244,14 +300,14 @@ message UpdateDocumentRequest { message DeleteDocumentRequest { // Required. Full resource name of // [Document][google.cloud.discoveryengine.v1beta.Document], such as - // `projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}`. + // `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}`. // // If the caller does not have permission to delete the // [Document][google.cloud.discoveryengine.v1beta.Document], regardless of - // whether or not it exists, a PERMISSION_DENIED error is returned. + // whether or not it exists, a `PERMISSION_DENIED` error is returned. // // If the [Document][google.cloud.discoveryengine.v1beta.Document] to delete - // does not exist, a NOT_FOUND error is returned. + // does not exist, a `NOT_FOUND` error is returned. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { diff --git a/third_party/googleapis/google/cloud/discoveryengine/v1beta/import_config.proto b/third_party/googleapis/google/cloud/discoveryengine/v1beta/import_config.proto index dfd34eb45..f38a57a7c 100644 --- a/third_party/googleapis/google/cloud/discoveryengine/v1beta/import_config.proto +++ b/third_party/googleapis/google/cloud/discoveryengine/v1beta/import_config.proto @@ -18,6 +18,7 @@ package google.cloud.discoveryengine.v1beta; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/cloud/discoveryengine/v1beta/completion.proto"; import "google/cloud/discoveryengine/v1beta/document.proto"; import "google/cloud/discoveryengine/v1beta/user_event.proto"; import "google/protobuf/timestamp.proto"; @@ -33,28 +34,42 @@ option objc_class_prefix = "DISCOVERYENGINE"; option php_namespace = "Google\\Cloud\\DiscoveryEngine\\V1beta"; option ruby_package = "Google::Cloud::DiscoveryEngine::V1beta"; -// Google Cloud Storage location for input content. -// format. +// Cloud Storage location for input content. message GcsSource { - // Required. Google Cloud Storage URIs to input files. URI can be up to + // Required. Cloud Storage URIs to input files. URI can be up to // 2000 characters long. URIs can match the full object path (for example, // `gs://bucket/directory/object.json`) or a pattern matching one or more - // files, such as `gs://bucket/directory/*.json`. A request can - // contain at most 100 files, and each file can be up to 2 GB. + // files, such as `gs://bucket/directory/*.json`. + // + // A request can contain at most 100 files (or 100,000 files if `data_schema` + // is `content`). Each file can be up to 2 GB (or 100 MB if `data_schema` is + // `content`). repeated string input_uris = 1 [(google.api.field_behavior) = REQUIRED]; // The schema to use when parsing the data from the source. // - // Supported values for imports: - // - // * `user_event` (default): One JSON - // [UserEvent][google.cloud.discoveryengine.v1beta.UserEvent] per line. + // Supported values for document imports: // // * `document` (default): One JSON // [Document][google.cloud.discoveryengine.v1beta.Document] per line. Each // document must // have a valid // [Document.id][google.cloud.discoveryengine.v1beta.Document.id]. + // * `content`: Unstructured data (e.g. PDF, HTML). Each file matched by + // `input_uris` becomes a document, with the ID set to the first 128 + // bits of SHA256(URI) encoded as a hex string. + // * `custom`: One custom data JSON per row in arbitrary format that conforms + // to the defined [Schema][google.cloud.discoveryengine.v1beta.Schema] of + // the data store. This can only be used by Gen App Builder. + // * `csv`: A CSV file with header conforming to the defined + // [Schema][google.cloud.discoveryengine.v1beta.Schema] of the + // data store. Each entry after the header is imported as a Document. + // This can only be used by Gen App Builder. + // + // Supported values for user even imports: + // + // * `user_event` (default): One JSON + // [UserEvent][google.cloud.discoveryengine.v1beta.UserEvent] per line. string data_schema = 2; } @@ -87,14 +102,23 @@ message BigQuerySource { // The schema to use when parsing the data from the source. // - // Supported values for imports: + // Supported values for user event imports: // - // * `user_event` (default): One JSON - // [UserEvent][google.cloud.discoveryengine.v1beta.UserEvent] per line. + // * `user_event` (default): One + // [UserEvent][google.cloud.discoveryengine.v1beta.UserEvent] per row. // - // * `document` (default): One JSON - // [Document][google.cloud.discoveryengine.v1beta.Document] per line. Each - // document must have a valid [document.id][]. + // Supported values for document imports: + // + // * `document` (default): One + // [Document][google.cloud.discoveryengine.v1beta.Document] format per + // row. Each document must have a valid + // [Document.id][google.cloud.discoveryengine.v1beta.Document.id] and one of + // [Document.json_data][google.cloud.discoveryengine.v1beta.Document.json_data] + // or + // [Document.struct_data][google.cloud.discoveryengine.v1beta.Document.struct_data]. + // * `custom`: One custom data per row in arbitrary format that conforms to + // the defined [Schema][google.cloud.discoveryengine.v1beta.Schema] of the + // data store. This can only be used by Gen App Builder. string data_schema = 6; } @@ -102,8 +126,8 @@ message BigQuerySource { message ImportErrorConfig { // Required. Errors destination. oneof destination { - // Google Cloud Storage prefix for import errors. This must be an empty, - // existing Cloud Storage directory. Import errors will be written to + // Cloud Storage prefix for import errors. This must be an empty, + // existing Cloud Storage directory. Import errors are written to // sharded files in this directory, one per line, as a JSON-encoded // `google.rpc.Status` message. string gcs_prefix = 1; @@ -118,20 +142,20 @@ message ImportUserEventsRequest { repeated UserEvent user_events = 1 [(google.api.field_behavior) = REQUIRED]; } - // The desired input source of the user event data. + // Required - The desired input source of the user event data. oneof source { - // Required. The Inline source for the input content for UserEvents. - InlineSource inline_source = 2 [(google.api.field_behavior) = REQUIRED]; + // The Inline source for the input content for UserEvents. + InlineSource inline_source = 2; - // Required. Google Cloud Storage location for the input content. - GcsSource gcs_source = 3 [(google.api.field_behavior) = REQUIRED]; + // Cloud Storage location for the input content. + GcsSource gcs_source = 3; - // Required. BigQuery input source. - BigQuerySource bigquery_source = 4 [(google.api.field_behavior) = REQUIRED]; + // BigQuery input source. + BigQuerySource bigquery_source = 4; } // Required. Parent DataStore resource name, of the form - // `projects/{project}/locations/{location}/dataStores/{data_store}` + // `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -163,7 +187,7 @@ message ImportUserEventsResponse { int64 unjoined_events_count = 4; } -// Metadata related to the progress of the Import operation. This will be +// Metadata related to the progress of the Import operation. This is // returned by the google.longrunning.Operation.metadata field. message ImportUserEventsMetadata { // Operation create time. @@ -180,8 +204,8 @@ message ImportUserEventsMetadata { int64 failure_count = 4; } -// Metadata related to the progress of the ImportDocuments operation. This will -// be returned by the google.longrunning.Operation.metadata field. +// Metadata related to the progress of the ImportDocuments operation. This is +// returned by the google.longrunning.Operation.metadata field. message ImportDocumentsMetadata { // Operation create time. google.protobuf.Timestamp create_time = 1; @@ -210,7 +234,7 @@ message ImportDocumentsRequest { // Indicates how imported documents are reconciled with the existing documents // created or imported before. enum ReconciliationMode { - // Defaults to INCREMENTAL. + // Defaults to `INCREMENTAL`. RECONCILIATION_MODE_UNSPECIFIED = 0; // Inserts new documents or updates existing documents. @@ -226,7 +250,7 @@ message ImportDocumentsRequest { // The Inline source for the input content for documents. InlineSource inline_source = 2; - // Google Cloud Storage location for the input content. + // Cloud Storage location for the input content. GcsSource gcs_source = 3; // BigQuery input source. @@ -234,7 +258,7 @@ message ImportDocumentsRequest { } // Required. The parent branch resource name, such as - // `projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}`. + // `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}`. // Requires create/update permission. string parent = 1 [ (google.api.field_behavior) = REQUIRED, @@ -250,6 +274,60 @@ message ImportDocumentsRequest { // be imported. Defaults to // [ReconciliationMode.INCREMENTAL][google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.ReconciliationMode.INCREMENTAL]. ReconciliationMode reconciliation_mode = 6; + + // Whether to automatically generate IDs for the documents if absent. + // + // If set to `true`, + // [Document.id][google.cloud.discoveryengine.v1beta.Document.id]s are + // automatically generated based on the hash of the payload, where IDs may not + // be consistent during multiple imports. In which case + // [ReconciliationMode.FULL][google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.ReconciliationMode.FULL] + // is highly recommended to avoid duplicate contents. If unset or set to + // `false`, [Document.id][google.cloud.discoveryengine.v1beta.Document.id]s + // have to be specified using + // [id_field][google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.id_field], + // otherwise, documents without IDs fail to be imported. + // + // Only set this field when using + // [GcsSource][google.cloud.discoveryengine.v1beta.GcsSource] or + // [BigQuerySource][google.cloud.discoveryengine.v1beta.BigQuerySource], and + // when + // [GcsSource.data_schema][google.cloud.discoveryengine.v1beta.GcsSource.data_schema] + // or + // [BigQuerySource.data_schema][google.cloud.discoveryengine.v1beta.BigQuerySource.data_schema] + // is `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown. + bool auto_generate_ids = 8; + + // The field in the Cloud Storage and BigQuery sources that indicates the + // unique IDs of the documents. + // + // For [GcsSource][google.cloud.discoveryengine.v1beta.GcsSource] it is the + // key of the JSON field. For instance, `my_id` for JSON `{"my_id": + // "some_uuid"}`. For + // [BigQuerySource][google.cloud.discoveryengine.v1beta.BigQuerySource] it is + // the column name of the BigQuery table where the unique ids are stored. + // + // The values of the JSON field or the BigQuery column are used as the + // [Document.id][google.cloud.discoveryengine.v1beta.Document.id]s. The JSON + // field or the BigQuery column must be of string type, and the values must be + // set as valid strings conform to + // [RFC-1034](https://tools.ietf.org/html/rfc1034) with 1-63 characters. + // Otherwise, documents without valid IDs fail to be imported. + // + // Only set this field when using + // [GcsSource][google.cloud.discoveryengine.v1beta.GcsSource] or + // [BigQuerySource][google.cloud.discoveryengine.v1beta.BigQuerySource], and + // when + // [GcsSource.data_schema][google.cloud.discoveryengine.v1beta.GcsSource.data_schema] + // or + // [BigQuerySource.data_schema][google.cloud.discoveryengine.v1beta.BigQuerySource.data_schema] + // is `custom`. And only set this field when + // [auto_generate_ids][google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.auto_generate_ids] + // is unset or set as `false`. Otherwise, an INVALID_ARGUMENT error is thrown. + // + // If it is unset, a default value `_id` is used when importing from the + // allowed data sources. + string id_field = 9; } // Response of the @@ -263,3 +341,66 @@ message ImportDocumentsResponse { // Echoes the destination for the complete errors in the request if set. ImportErrorConfig error_config = 2; } + +// Request message for +// [CompletionService.ImportSuggestionDenyListEntries][google.cloud.discoveryengine.v1beta.CompletionService.ImportSuggestionDenyListEntries] +// method. +message ImportSuggestionDenyListEntriesRequest { + // The inline source for SuggestionDenyListEntry. + message InlineSource { + // Required. A list of all denylist entries to import. Max of 1000 items. + repeated SuggestionDenyListEntry entries = 1 + [(google.api.field_behavior) = REQUIRED]; + } + + // The source of the updated SuggestionDenyList. + oneof source { + // The Inline source for the input content for suggestion deny list entries. + InlineSource inline_source = 2; + + // Cloud Storage location for the input content. + // + // Only 1 file can be specified that contains all entries to import. + // Supported values `gcs_source.schema` for autocomplete suggestion deny + // list entry imports: + // + // * `suggestion_deny_list` (default): One JSON [SuggestionDenyListEntry] + // per line. + GcsSource gcs_source = 3; + } + + // Required. The parent data store resource name for which to import denylist + // entries. Follows pattern projects/*/locations/*/collections/*/dataStores/*. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "discoveryengine.googleapis.com/DataStore" + } + ]; +} + +// Response message for +// [CompletionService.ImportSuggestionDenyListEntries][google.cloud.discoveryengine.v1beta.CompletionService.ImportSuggestionDenyListEntries] +// method. +message ImportSuggestionDenyListEntriesResponse { + // A sample of errors encountered while processing the request. + repeated google.rpc.Status error_samples = 1; + + // Count of deny list entries successfully imported. + int64 imported_entries_count = 2; + + // Count of deny list entries that failed to be imported. + int64 failed_entries_count = 3; +} + +// Metadata related to the progress of the ImportSuggestionDenyListEntries +// operation. This is returned by the google.longrunning.Operation.metadata +// field. +message ImportSuggestionDenyListEntriesMetadata { + // Operation create time. + google.protobuf.Timestamp create_time = 1; + + // Operation last update time. If the operation is done, this is also the + // finish time. + google.protobuf.Timestamp update_time = 2; +} diff --git a/third_party/googleapis/google/cloud/discoveryengine/v1beta/recommendation_service.proto b/third_party/googleapis/google/cloud/discoveryengine/v1beta/recommendation_service.proto index 7479a0d06..8ec4ea9cb 100644 --- a/third_party/googleapis/google/cloud/discoveryengine/v1beta/recommendation_service.proto +++ b/third_party/googleapis/google/cloud/discoveryengine/v1beta/recommendation_service.proto @@ -44,17 +44,33 @@ service RecommendationService { option (google.api.http) = { post: "/v1beta/{serving_config=projects/*/locations/*/dataStores/*/servingConfigs/*}:recommend" body: "*" + additional_bindings { + post: "/v1beta/{serving_config=projects/*/locations/*/collections/*/dataStores/*/servingConfigs/*}:recommend" + body: "*" + } + additional_bindings { + post: "/v1beta/{serving_config=projects/*/locations/*/collections/*/engines/*/servingConfigs/*}:recommend" + body: "*" + } }; } } // Request message for Recommend method. message RecommendRequest { - // Required. Full resource name of the format: - // projects/*/locations/global/dataStores/*/servingConfigs/* + // Required. Full resource name of a + // [ServingConfig][google.cloud.discoveryengine.v1beta.ServingConfig]: + // `projects/*/locations/global/collections/*/engines/*/servingConfigs/*`, or + // `projects/*/locations/global/collections/*/dataStores/*/servingConfigs/*` // - // Before you can request recommendations from your model, you must create at - // least one serving config for it. + // One default serving config is created along with your recommendation engine + // creation. The engine ID will be used as the ID of the default serving + // config. For example, for Engine + // `projects/*/locations/global/collections/*/engines/my-engine`, you can use + // `projects/*/locations/global/collections/*/engines/my-engine/servingConfigs/my-engine` + // for your + // [RecommendationService.Recommend][google.cloud.discoveryengine.v1beta.RecommendationService.Recommend] + // requests. string serving_config = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -93,8 +109,16 @@ message RecommendRequest { // // Examples: // - // * (filter_tags: ANY("Red", "Blue") OR filter_tags: ANY("Hot", "Cold")) - // * (filter_tags: ANY("Red", "Blue")) AND NOT (filter_tags: ANY("Green")) + // * `(filter_tags: ANY("Red", "Blue") OR filter_tags: ANY("Hot", "Cold"))` + // * `(filter_tags: ANY("Red", "Blue")) AND NOT (filter_tags: ANY("Green"))` + // + // If `attributeFilteringSyntax` is set to true under the `params` field, then + // attribute-based expressions are expected instead of the above described + // tag-based syntax. Examples: + // + // * (launguage: ANY("en", "es")) AND NOT (categories: ANY("Movie")) + // * (available: true) AND + // (launguage: ANY("en", "es")) OR (categories: ANY("Movie")) // // If your filter blocks all results, the API will return generic // (unfiltered) popular Documents. If you only want results strictly matching @@ -102,8 +126,9 @@ message RecommendRequest { // [RecommendRequest.params][google.cloud.discoveryengine.v1beta.RecommendRequest.params] // to receive empty results instead. // - // Note that the API will never return Documents with storageStatus of - // "EXPIRED" or "DELETED" regardless of filter choices. + // Note that the API will never return + // [Document][google.cloud.discoveryengine.v1beta.Document]s with + // `storageStatus` of `EXPIRED` or `DELETED` regardless of filter choices. string filter = 4; // Use validate only mode for this recommendation query. If set to true, a @@ -118,24 +143,27 @@ message RecommendRequest { // // * `returnDocument`: Boolean. If set to true, the associated Document // object will be returned in - // [RecommendResponse.results.document][RecommendationResult.document]. + // [RecommendResponse.RecommendationResult.document][google.cloud.discoveryengine.v1beta.RecommendResponse.RecommendationResult.document]. // * `returnScore`: Boolean. If set to true, the recommendation 'score' // corresponding to each returned Document will be set in - // [RecommendResponse.results.metadata][RecommendationResult.metadata]. The - // given 'score' indicates the probability of a Document conversion given - // the user's context and history. + // [RecommendResponse.RecommendationResult.metadata][google.cloud.discoveryengine.v1beta.RecommendResponse.RecommendationResult.metadata]. + // The given 'score' indicates the probability of a Document conversion + // given the user's context and history. // * `strictFiltering`: Boolean. True by default. If set to false, the service // will return generic (unfiltered) popular Documents instead of empty if // your filter blocks all recommendation results. // * `diversityLevel`: String. Default empty. If set to be non-empty, then // it needs to be one of: - // * 'no-diversity' - // * 'low-diversity' - // * 'medium-diversity' - // * 'high-diversity' - // * 'auto-diversity' + // * `no-diversity` + // * `low-diversity` + // * `medium-diversity` + // * `high-diversity` + // * `auto-diversity` // This gives request-level control and adjusts recommendation results // based on Document category. + // * `attributeFilteringSyntax`: Boolean. False by default. If set to true, + // the `filter` field is interpreted according to the new, + // attribute-based syntax. map params = 6; // The user labels applied to a resource must meet the following requirements: @@ -152,8 +180,8 @@ message RecommendRequest { // key with multiple resources. // * Keys must start with a lowercase letter or international character. // - // See [Google Cloud - // Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) + // See [Requirements for + // labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) // for more details. map user_labels = 8; } diff --git a/third_party/googleapis/google/cloud/discoveryengine/v1beta/user_event.proto b/third_party/googleapis/google/cloud/discoveryengine/v1beta/user_event.proto index 93a5268e0..59a0ed216 100644 --- a/third_party/googleapis/google/cloud/discoveryengine/v1beta/user_event.proto +++ b/third_party/googleapis/google/cloud/discoveryengine/v1beta/user_event.proto @@ -31,12 +31,13 @@ option objc_class_prefix = "DISCOVERYENGINE"; option php_namespace = "Google\\Cloud\\DiscoveryEngine\\V1beta"; option ruby_package = "Google::Cloud::DiscoveryEngine::V1beta"; -// UserEvent captures all metadata information DiscoveryEngine API needs to know -// about how end users interact with customers' website. +// UserEvent captures all metadata information Discovery Engine API needs to +// know about how end users interact with customers' website. message UserEvent { // Required. User event type. Allowed values are: // // Generic values: + // // * `search`: Search for Documents. // * `view-item`: Detailed page view of a Document. // * `view-item-list`: View of a panel or ordered list of Documents. @@ -44,10 +45,12 @@ message UserEvent { // * `view-category-page`: View of a category page, e.g. Home > Men > Jeans // // Retail-related values: + // // * `add-to-cart`: Add an item(s) to cart, e.g. in Retail online shopping // * `purchase`: Purchase an item(s) // // Media-related values: + // // * `media-play`: Start/resume watching a video, playing a song, etc. // * `media-complete`: Finished or stopped midway through a video, song, etc. string event_type = 1 [(google.api.field_behavior) = REQUIRED]; @@ -63,7 +66,7 @@ message UserEvent { // quality. // // The field must be a UTF-8 encoded string with a length limit of 128 - // characters. Otherwise, an INVALID_ARGUMENT error is returned. + // characters. Otherwise, an `INVALID_ARGUMENT` error is returned. // // The field should not contain PII or user-data. We recommend to use Google // Analytics [Client @@ -96,7 +99,8 @@ message UserEvent { // 128 bytes. A session is an aggregation of an end user behavior in a time // span. // - // A general guideline to populate the sesion_id: + // A general guideline to populate the session_id: + // // 1. If user has no activity for 30 min, a new session_id should be assigned. // 2. The session_id should be unique across users, suggest use uuid or add // [UserEvent.user_pseudo_id][google.cloud.discoveryengine.v1beta.UserEvent.user_pseudo_id] @@ -110,44 +114,49 @@ message UserEvent { // Token to attribute an API response to user action(s) to trigger the event. // // Highly recommended for user events that are the result of - // [PredictionService.Predict][]. This field enables accurate attribution of - // recommendation model performance. + // [RecommendationService.Recommend][google.cloud.discoveryengine.v1beta.RecommendationService.Recommend]. + // This field enables accurate attribution of recommendation model + // performance. // // The value must be one of: // - // * [PredictResponse.attribution_token][] for events that are the result of - // [PredictionService.Predict][]. + // * [RecommendResponse.attribution_token][google.cloud.discoveryengine.v1beta.RecommendResponse.attribution_token] for events that are the result of + // [RecommendationService.Recommend][google.cloud.discoveryengine.v1beta.RecommendationService.Recommend]. // * [SearchResponse.attribution_token][google.cloud.discoveryengine.v1beta.SearchResponse.attribution_token] for events that are the result of - // [SearchService.Search][]. - // * [CompleteQueryResponse.attribution_token][] for events that are the - // result of [SearchService.CompleteQuery][]. + // [SearchService.Search][google.cloud.discoveryengine.v1beta.SearchService.Search]. // // This token enables us to accurately attribute page view or conversion // completion back to the event and the particular predict response containing // this clicked/purchased product. If user clicks on product K in the - // recommendation results, pass [PredictResponse.attribution_token][] as a URL - // parameter to product K's page. When recording events on product K's page, - // log the [PredictResponse.attribution_token][] to this field. + // recommendation results, pass + // [RecommendResponse.attribution_token][google.cloud.discoveryengine.v1beta.RecommendResponse.attribution_token] + // as a URL parameter to product K's page. When recording events on product + // K's page, log the + // [RecommendResponse.attribution_token][google.cloud.discoveryengine.v1beta.RecommendResponse.attribution_token] + // to this field. string attribution_token = 8; // The filter syntax consists of an expression language for constructing a // predicate from one or more fields of the documents being filtered. // // One example is for `search` events, the associated - // [SearchService.SearchRequest][] may contain a filter expression in - // [SearchService.SearchRequest.filter][] conforming to - // https://google.aip.dev/160#filtering. + // [SearchRequest][google.cloud.discoveryengine.v1beta.SearchRequest] may + // contain a filter expression in + // [SearchRequest.filter][google.cloud.discoveryengine.v1beta.SearchRequest.filter] + // conforming to https://google.aip.dev/160#filtering. // // Similarly, for `view-item-list` events that are generated from a - // [PredictionService.PredictRequest][], this field may be populated directly - // from [PredictionService.PredictRequest.filter][] conforming to - // https://google.aip.dev/160#filtering. + // [RecommendRequest][google.cloud.discoveryengine.v1beta.RecommendRequest], + // this field may be populated directly from + // [RecommendRequest.filter][google.cloud.discoveryengine.v1beta.RecommendRequest.filter] + // conforming to https://google.aip.dev/160#filtering. // // The value must be a UTF-8 encoded string with a length limit of 1,000 - // characters. Otherwise, an INVALID_ARGUMENT error is returned. + // characters. Otherwise, an `INVALID_ARGUMENT` error is returned. string filter = 9; - // List of Documents associated with this user event. + // List of [Document][google.cloud.discoveryengine.v1beta.Document]s + // associated with this user event. // // This field is optional except for the following event types: // @@ -169,12 +178,14 @@ message UserEvent { // Panel metadata associated with this user event. PanelInfo panel = 11; - // Search API details related to the event. + // [SearchService.Search][google.cloud.discoveryengine.v1beta.SearchService.Search] + // details related to the event. // // This field should be set for `search` event. SearchInfo search_info = 12; - // CompleteQuery API details related to the event. + // [CompletionService.CompleteQuery][google.cloud.discoveryengine.v1beta.CompletionService.CompleteQuery] + // details related to the event. // // This field should be set for `search` event when autocomplete function is // enabled and the user clicks a suggestion for search. @@ -199,12 +210,12 @@ message UserEvent { // If you provide custom attributes for ingested user events, also include // them in the user events that you associate with prediction requests. Custom // attribute formatting must be consistent between imported events and events - // provided with prediction requests. This lets the DiscoveryEngine API use + // provided with prediction requests. This lets the Discovery Engine API use // those custom attributes when training models and serving predictions, which // helps improve recommendation quality. // - // This field needs to pass all below criteria, otherwise an INVALID_ARGUMENT - // error is returned: + // This field needs to pass all below criteria, otherwise an + // `INVALID_ARGUMENT` error is returned: // // * The key must be a UTF-8 encoded string with a length limit of 5,000 // characters. @@ -214,7 +225,8 @@ message UserEvent { // * For number attributes, at most 400 values are allowed. // // For product recommendations, an example of extra user information is - // traffic_channel, which is how a user arrives at the site. Users can arrive + // `traffic_channel`, which is how a user arrives at the site. Users can + // arrive // at the site by coming to the site directly, coming through Google // search, or in other ways. map attributes = 17; @@ -229,7 +241,7 @@ message PageInfo { // // This should be kept the same for all user events triggered from the same // pageview. For example, an item detail page view could trigger multiple - // events as the user is browsing the page. The `pageViewId` property should + // events as the user is browsing the page. The `pageview_id` property should // be kept the same for all these events so that they can be grouped together // properly. // @@ -245,10 +257,10 @@ message PageInfo { // // Category pages include special pages such as sales or promotions. For // instance, a special sale page may have the category hierarchy: - // "pageCategory" : "Sales > 2017 Black Friday Deals". + // `"pageCategory" : "Sales > 2017 Black Friday Deals"`. // // Required for `view-category-page` events. Other event types should not set - // this field. Otherwise, an INVALID_ARGUMENT error is returned. + // this field. Otherwise, an `INVALID_ARGUMENT` error is returned. string page_category = 2; // Complete URL (window.location.href) of the user's current page. @@ -275,13 +287,14 @@ message SearchInfo { // for definition. // // The value must be a UTF-8 encoded string with a length limit of 5,000 - // characters. Otherwise, an INVALID_ARGUMENT error is returned. + // characters. Otherwise, an `INVALID_ARGUMENT` error is returned. // // At least one of // [search_query][google.cloud.discoveryengine.v1beta.SearchInfo.search_query] - // or [page_categories][] is required for `search` events. Other event types - // should not set this field. Otherwise, an INVALID_ARGUMENT error is - // returned. + // or + // [PageInfo.page_category][google.cloud.discoveryengine.v1beta.PageInfo.page_category] + // is required for `search` events. Other event types should not set this + // field. Otherwise, an `INVALID_ARGUMENT` error is returned. string search_query = 1; // The order in which products are returned, if applicable. @@ -291,10 +304,10 @@ message SearchInfo { // for definition and syntax. // // The value must be a UTF-8 encoded string with a length limit of 1,000 - // characters. Otherwise, an INVALID_ARGUMENT error is returned. + // characters. Otherwise, an `INVALID_ARGUMENT` error is returned. // // This can only be set for `search` events. Other event types should not set - // this field. Otherwise, an INVALID_ARGUMENT error is returned. + // this field. Otherwise, an `INVALID_ARGUMENT` error is returned. string order_by = 2; // An integer that specifies the current offset for pagination (the 0-indexed @@ -304,20 +317,22 @@ message SearchInfo { // [SearchRequest.offset][google.cloud.discoveryengine.v1beta.SearchRequest.offset] // for definition. // - // If this field is negative, an INVALID_ARGUMENT is returned. + // If this field is negative, an `INVALID_ARGUMENT` is returned. // // This can only be set for `search` events. Other event types should not set - // this field. Otherwise, an INVALID_ARGUMENT error is returned. + // this field. Otherwise, an `INVALID_ARGUMENT` error is returned. optional int32 offset = 3; } // Detailed completion information including completion attribution token and // clicked completion info. message CompletionInfo { - // End user selected [CompleteQueryResponse.CompletionResult.suggestion][]. + // End user selected + // [CompleteQueryResponse.QuerySuggestion.suggestion][google.cloud.discoveryengine.v1beta.CompleteQueryResponse.QuerySuggestion.suggestion]. string selected_suggestion = 1; - // End user selected [CompleteQueryResponse.CompletionResult.suggestion][] + // End user selected + // [CompleteQueryResponse.QuerySuggestion.suggestion][google.cloud.discoveryengine.v1beta.CompleteQueryResponse.QuerySuggestion.suggestion] // position, starting from 0. int32 selected_position = 2; } @@ -374,28 +389,32 @@ message TransactionInfo { // Detailed document information associated with a user event. message DocumentInfo { - // A required descriptor of the associated Document. + // A required descriptor of the associated + // [Document][google.cloud.discoveryengine.v1beta.Document]. // // * If [id][google.cloud.discoveryengine.v1beta.DocumentInfo.id] is - // specified, then the default values for , , and - // are used when annotating with the stored Document. + // specified, then the default values for + // `{location}`, `{collection_id}`, `{data_store_id}`, and `{branch_id}` are + // used when annotating with the stored Document. // // * If [name][google.cloud.discoveryengine.v1beta.DocumentInfo.name] is // specified, then the provided values (default values allowed) for - // , , and are used when annotating with - // the stored Document. + // `{location}`, `{collection_id}`, `{data_store_id}`, and + // `{branch_id}` are used when annotating with the stored Document. oneof document_descriptor { - // Required. The Document resource ID. - string id = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The Document resource full name, of the form: - // projects//locations//dataStores//branches//documents/ - string name = 2 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "discoveryengine.googleapis.com/Document" - } - ]; + // The [Document][google.cloud.discoveryengine.v1beta.Document] resource ID. + string id = 1; + + // The [Document][google.cloud.discoveryengine.v1beta.Document] resource + // full name, of the form: + // `projects/{project_id}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/branches/{branch_id}/documents/{document_id}` + string name = 2 [(google.api.resource_reference) = { + type: "discoveryengine.googleapis.com/Document" + }]; + + // The [Document][google.cloud.discoveryengine.v1beta.Document] URI - only + // allowed for website data stores. + string uri = 6; } // Quantity of the Document associated with the user event. Defaults to 1. @@ -404,6 +423,7 @@ message DocumentInfo { // are involved in a `add-to-cart` event. // // Required for events of the following event types: + // // * `add-to-cart` // * `purchase` optional int32 quantity = 3; @@ -438,14 +458,16 @@ message PanelInfo { message MediaInfo { // The media progress time in seconds, if applicable. // For example, if the end user has finished 90 seconds of a playback video, - // then [MediaInfo.media_progress_duration.seconds][Duration.seconds] should - // be set to 90. + // then + // [MediaInfo.media_progress_duration.seconds][google.protobuf.Duration.seconds] + // should be set to 90. google.protobuf.Duration media_progress_duration = 1; - // Media progress should be computed using only the media_progress_duration + // Media progress should be computed using only the + // [media_progress_duration][google.cloud.discoveryengine.v1beta.MediaInfo.media_progress_duration] // relative to the media total length. // - // This value must be between [0, 1.0] inclusive. + // This value must be between `[0, 1.0]` inclusive. // // If this is not a playback or the progress cannot be computed (e.g. ongoing // livestream), this field should be unset. diff --git a/third_party/googleapis/google/cloud/discoveryengine/v1beta/user_event_service.proto b/third_party/googleapis/google/cloud/discoveryengine/v1beta/user_event_service.proto index f9773e209..c109eba18 100644 --- a/third_party/googleapis/google/cloud/discoveryengine/v1beta/user_event_service.proto +++ b/third_party/googleapis/google/cloud/discoveryengine/v1beta/user_event_service.proto @@ -45,17 +45,24 @@ service UserEventService { option (google.api.http) = { post: "/v1beta/{parent=projects/*/locations/*/dataStores/*}/userEvents:write" body: "user_event" + additional_bindings { + post: "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:write" + body: "user_event" + } }; } // Writes a single user event from the browser. This uses a GET request to - // due to browser restriction of POST-ing to a 3rd party domain. + // due to browser restriction of POST-ing to a third-party domain. // // This method is used only by the Discovery Engine API JavaScript pixel and // Google Tag Manager. Users should not call this method directly. rpc CollectUserEvent(CollectUserEventRequest) returns (google.api.HttpBody) { option (google.api.http) = { get: "/v1beta/{parent=projects/*/locations/*/dataStores/*}/userEvents:collect" + additional_bindings { + get: "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:collect" + } }; } @@ -71,6 +78,10 @@ service UserEventService { option (google.api.http) = { post: "/v1beta/{parent=projects/*/locations/*/dataStores/*}/userEvents:import" body: "*" + additional_bindings { + post: "/v1beta/{parent=projects/*/locations/*/collections/*/dataStores/*}/userEvents:import" + body: "*" + } }; option (google.longrunning.operation_info) = { response_type: "google.cloud.discoveryengine.v1beta.ImportUserEventsResponse" @@ -82,7 +93,7 @@ service UserEventService { // Request message for WriteUserEvent method. message WriteUserEventRequest { // Required. The parent DataStore resource name, such as - // `projects/{project}/locations/{location}/dataStores/{data_store}`. + // `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -97,7 +108,7 @@ message WriteUserEventRequest { // Request message for CollectUserEvent method. message CollectUserEventRequest { // Required. The parent DataStore resource name, such as - // `projects/{project}/locations/{location}/dataStores/{data_store}`. + // `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -111,7 +122,7 @@ message CollectUserEventRequest { // The URL including cgi-parameters but excluding the hash fragment with a // length limit of 5,000 characters. This is often more useful than the - // referer URL, because many browsers only send the domain for 3rd party + // referer URL, because many browsers only send the domain for third-party // requests. optional string uri = 3; diff --git a/third_party/googleapis/google/cloud/documentai/BUILD.bazel b/third_party/googleapis/google/cloud/documentai/BUILD.bazel index 648ab5a9f..7e770eeb7 100644 --- a/third_party/googleapis/google/cloud/documentai/BUILD.bazel +++ b/third_party/googleapis/google/cloud/documentai/BUILD.bazel @@ -15,14 +15,14 @@ load( # Generates a Ruby wrapper client for documentai. # Ruby wrapper clients are versionless, but are generated from source protos -# for a particular service version, v1beta3 in this case. +# for a particular service version, v1 in this case. ruby_cloud_gapic_library( name = "documentai_ruby_wrapper", - srcs = ["//google/cloud/documentai/v1beta3:documentai_proto_with_info"], + srcs = ["//google/cloud/documentai/v1:documentai_proto_with_info"], extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-document_ai", "ruby-cloud-env-prefix=DOCUMENT_AI", - "ruby-cloud-wrapper-of=v1:0.0;v1beta3:0.0", + "ruby-cloud-wrapper-of=v1:0.17;v1beta3:0.30", "ruby-cloud-product-url=https://cloud.google.com/document-ai/", "ruby-cloud-api-id=us-documentai.googleapis.com", "ruby-cloud-api-shortname=documentai", @@ -30,6 +30,7 @@ ruby_cloud_gapic_library( ], ruby_cloud_description = "Document AI uses machine learning on a single cloud-based platform to automatically classify, extract, and enrich data within your documents to unlock insights.", ruby_cloud_title = "Document AI", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/documentai/v1/BUILD.bazel b/third_party/googleapis/google/cloud/documentai/v1/BUILD.bazel index a7a2e0047..91b47acb0 100644 --- a/third_party/googleapis/google/cloud/documentai/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/documentai/v1/BUILD.bazel @@ -91,8 +91,8 @@ java_gapic_library( rest_numeric_enums = True, service_yaml = "documentai_v1.yaml", test_deps = [ - ":documentai_java_grpc", "//google/cloud/location:location_java_grpc", + ":documentai_java_grpc", ], transport = "grpc+rest", deps = [ @@ -132,7 +132,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -172,19 +171,13 @@ go_gapic_library( ], ) -go_test( - name = "documentai_go_gapic_test", - srcs = [":documentai_go_gapic_srcjar_test"], - embed = [":documentai_go_gapic"], - importpath = "cloud.google.com/go/documentai/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-documentai-v1-go", deps = [ ":documentai_go_gapic", ":documentai_go_gapic_srcjar-metadata.srcjar", + ":documentai_go_gapic_srcjar-snippets.srcjar", ":documentai_go_gapic_srcjar-test.srcjar", ":documentai_go_proto", ], @@ -197,15 +190,9 @@ load( "@com_google_googleapis_imports//:imports.bzl", "py_gapic_assembly_pkg", "py_gapic_library", - "py_proto_library", "py_test", ) -py_proto_library( - name = "documentai_py_proto", - deps = [":documentai_proto"], -) - py_gapic_library( name = "documentai_py_gapic", srcs = [":documentai_proto"], @@ -243,7 +230,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -252,21 +238,15 @@ php_proto_library( deps = [":documentai_proto"], ) -php_grpc_library( - name = "documentai_php_grpc", - srcs = [":documentai_proto"], - deps = [":documentai_php_proto"], -) - php_gapic_library( name = "documentai_php_gapic", srcs = [":documentai_proto_with_info"], grpc_service_config = "documentai_v1_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "documentai_v1.yaml", transport = "grpc+rest", deps = [ - ":documentai_php_grpc", ":documentai_php_proto", ], ) @@ -276,7 +256,6 @@ php_gapic_assembly_pkg( name = "google-cloud-documentai-v1-php", deps = [ ":documentai_php_gapic", - ":documentai_php_grpc", ":documentai_php_proto", ], ) @@ -349,6 +328,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Document AI uses machine learning on a single cloud-based platform to automatically classify, extract, and enrich data within your documents to unlock insights.", ruby_cloud_title = "Document AI V1", service_yaml = "documentai_v1.yaml", + transport = "grpc+rest", deps = [ ":documentai_ruby_grpc", ":documentai_ruby_proto", @@ -378,6 +358,7 @@ load( csharp_proto_library( name = "documentai_csharp_proto", + extra_opts = [], deps = [":documentai_proto"], ) diff --git a/third_party/googleapis/google/cloud/documentai/v1/barcode.proto b/third_party/googleapis/google/cloud/documentai/v1/barcode.proto index c131dcbed..805203ba0 100644 --- a/third_party/googleapis/google/cloud/documentai/v1/barcode.proto +++ b/third_party/googleapis/google/cloud/documentai/v1/barcode.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/documentai/v1/document.proto b/third_party/googleapis/google/cloud/documentai/v1/document.proto index f3431b3d4..8c66f6b93 100644 --- a/third_party/googleapis/google/cloud/documentai/v1/document.proto +++ b/third_party/googleapis/google/cloud/documentai/v1/document.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -64,7 +64,8 @@ message Document { // Font size for the text. float size = 1; - // Unit for the font size. Follows CSS naming (in, px, pt, etc.). + // Unit for the font size. Follows CSS naming (such as `in`, `px`, and + // `pt`). string unit = 2; } @@ -78,17 +79,18 @@ message Document { // Text background color. google.type.Color background_color = 3; - // Font weight. Possible values are normal, bold, bolder, and lighter. - // https://www.w3schools.com/cssref/pr_font_weight.asp + // [Font weight](https://www.w3schools.com/cssref/pr_font_weight.asp). + // Possible values are `normal`, `bold`, `bolder`, and `lighter`. string font_weight = 4; - // Text style. Possible values are normal, italic, and oblique. - // https://www.w3schools.com/cssref/pr_font_font-style.asp + // [Text style](https://www.w3schools.com/cssref/pr_font_font-style.asp). + // Possible values are `normal`, `italic`, and `oblique`. string text_style = 5; - // Text decoration. Follows CSS standard. - // - // https://www.w3schools.com/cssref/pr_text_text-decoration.asp + // [Text + // decoration](https://www.w3schools.com/cssref/pr_text_text-decoration.asp). + // Follows CSS standard. + // string text_decoration = 6; // Font size. @@ -118,7 +120,9 @@ message Document { // Raw byte content of the image. bytes content = 1; - // Encoding mime type for the image. + // Encoding [media type (MIME + // type)](https://www.iana.org/assignments/media-types/media-types.xhtml) + // for the image. string mime_type = 2; // Width of the image in pixels. @@ -255,6 +259,59 @@ message Document { Type type = 1; } + // Font and other text style attributes. + message StyleInfo { + // Font size in points (`1` point is `¹⁄₇₂` inches). + int32 font_size = 1; + + // Font size in pixels, equal to _unrounded + // [font_size][google.cloud.documentai.v1.Document.Page.Token.StyleInfo.font_size]_ + // * _resolution_ ÷ `72.0`. + double pixel_font_size = 2; + + // Letter spacing in points. + double letter_spacing = 3; + + // Name or style of the font. + string font_type = 4; + + // Whether the text is bold (equivalent to + // [font_weight][google.cloud.documentai.v1.Document.Page.Token.StyleInfo.font_weight] + // is at least `700`). + bool bold = 5; + + // Whether the text is italic. + bool italic = 6; + + // Whether the text is underlined. + bool underlined = 7; + + // Whether the text is strikethrough. + bool strikeout = 8; + + // Whether the text is a subscript. + bool subscript = 9; + + // Whether the text is a superscript. + bool superscript = 10; + + // Whether the text is in small caps. + bool smallcaps = 11; + + // TrueType weight on a scale `100` (thin) to `1000` (ultra-heavy). + // Normal is `400`, bold is `700`. + int32 font_weight = 12; + + // Whether the text is handwritten. + bool handwritten = 13; + + // Color of the text. + google.type.Color text_color = 14; + + // Color of the background. + google.type.Color background_color = 15; + } + // [Layout][google.cloud.documentai.v1.Document.Page.Layout] for // [Token][google.cloud.documentai.v1.Document.Page.Token]. Layout layout = 1; @@ -268,6 +325,9 @@ message Document { // The history of this annotation. Provenance provenance = 4 [deprecated = true]; + + // Text style attributes. + StyleInfo style_info = 5; } // A detected symbol. @@ -333,7 +393,7 @@ message Document { repeated DetectedLanguage detected_languages = 4; // The history of this table. - Provenance provenance = 5; + Provenance provenance = 5 [deprecated = true]; } // A form field detected on the page. @@ -388,16 +448,16 @@ message Document { // Detected language for a structural component. message DetectedLanguage { - // The BCP-47 language code, such as `en-US` or `sr-Latn`. For more - // information, see - // https://www.unicode.org/reports/tr35/#Unicode_locale_identifier. + // The [BCP-47 language + // code](https://www.unicode.org/reports/tr35/#Unicode_locale_identifier), + // such as `en-US` or `sr-Latn`. string language_code = 1; // Confidence of detected language. Range `[0, 1]`. float confidence = 2; } - // Image Quality Scores for the page image + // Image quality scores for the page image. message ImageQualityScores { // Image Quality Defects message DetectedDefect { @@ -413,12 +473,12 @@ message Document { // - `quality/defect_glare` string type = 1; - // Confidence of detected defect. Range `[0, 1]` where 1 indicates - // strong confidence of that the defect exists. + // Confidence of detected defect. Range `[0, 1]` where `1` indicates + // strong confidence that the defect exists. float confidence = 2; } - // The overall quality score. Range `[0, 1]` where 1 is perfect quality. + // The overall quality score. Range `[0, 1]` where `1` is perfect quality. float quality_score = 1; // A list of detected defects. @@ -482,7 +542,7 @@ message Document { // A list of detected barcodes. repeated DetectedBarcode detected_barcodes = 15; - // Image Quality Scores. + // Image quality scores. ImageQualityScores image_quality_scores = 17; // The history of this page. @@ -694,7 +754,8 @@ message Document { [deprecated = true, (google.api.field_behavior) = OPTIONAL]; // Optional. Identifies the bounding polygon of a layout element on the - // page. + // page. If `layout_type` is set, the bounding polygon must be exactly the + // same to the layout element it's referring to. BoundingPoly bounding_poly = 4 [(google.api.field_behavior) = OPTIONAL]; // Optional. Confidence of detected page element, if applicable. Range @@ -736,9 +797,9 @@ message Document { REMOVE = 2; // Updates any fields within the given provenance scope of the message. It - // 'overwrites' the fields rather than replacing them. This is - // especially relevant when we just want to update a field value of an - // entity without also affecting all the child properties. + // overwrites the fields rather than replacing them. Use this when you + // want to update a field value of an entity without also updating all the + // child properties. UPDATE = 7; // Currently unused. Replace an element identified by `parent`. @@ -835,10 +896,9 @@ message Document { // Original source document from the user. oneof source { // Optional. Currently supports Google Cloud Storage URI of the form - // `gs://bucket_name/object_name`. Object versioning is not supported. - // See [Google Cloud Storage Request - // URIs](https://cloud.google.com/storage/docs/reference-uris) for more - // info. + // `gs://bucket_name/object_name`. Object versioning is not supported. + // For more information, refer to [Google Cloud Storage Request + // URIs](https://cloud.google.com/storage/docs/reference-uris). string uri = 1 [(google.api.field_behavior) = OPTIONAL]; // Optional. Inline document content, represented as a stream of bytes. @@ -847,9 +907,8 @@ message Document { bytes content = 2 [(google.api.field_behavior) = OPTIONAL]; } - // An IANA published MIME type (also referred to as media type). For more - // information, see - // https://www.iana.org/assignments/media-types/media-types.xhtml. + // An IANA published [media type (MIME + // type)](https://www.iana.org/assignments/media-types/media-types.xhtml). string mime_type = 3; // Optional. UTF-8 encoded text in reading order from the document. diff --git a/third_party/googleapis/google/cloud/documentai/v1/document_io.proto b/third_party/googleapis/google/cloud/documentai/v1/document_io.proto index 23768b754..26637a166 100644 --- a/third_party/googleapis/google/cloud/documentai/v1/document_io.proto +++ b/third_party/googleapis/google/cloud/documentai/v1/document_io.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -34,6 +34,13 @@ message RawDocument { // An IANA MIME type (RFC6838) indicating the nature and format of the // [content][google.cloud.documentai.v1.RawDocument.content]. string mime_type = 2; + + // The display name of the document, it supports all Unicode characters except + // the following: + // `*`, `?`, `[`, `]`, `%`, `{`, `}`,`'`, `\"`, `,` + // `~`, `=` and `:` are reserved. + // If not specified, a default ID is generated. + string display_name = 3; } // Specifies a document stored on Cloud Storage. @@ -101,3 +108,67 @@ message DocumentOutputConfig { GcsOutputConfig gcs_output_config = 1; } } + +// Config for Document OCR. +message OcrConfig { + // Hints for OCR Engine + message Hints { + // List of BCP-47 language codes to use for OCR. In most cases, not + // specifying it yields the best results since it enables automatic language + // detection. For languages based on the Latin alphabet, setting hints is + // not needed. In rare cases, when the language of the text in the + // image is known, setting a hint will help get better results (although it + // will be a significant hindrance if the hint is wrong). + repeated string language_hints = 1; + } + + // Configurations for premium OCR features. + message PremiumFeatures { + // Turn on selection mark detector in OCR engine. Only available in OCR 2.0 + // (and later) processors. + bool enable_selection_mark_detection = 3; + + // Turn on font identification model and return font style information. + bool compute_style_info = 4; + + // Turn on the model that can extract LaTeX math formulas. + bool enable_math_ocr = 5; + } + + // Hints for the OCR model. + Hints hints = 2; + + // Enables special handling for PDFs with existing text information. Results + // in better text extraction quality in such PDF inputs. + bool enable_native_pdf_parsing = 3; + + // Enables intelligent document quality scores after OCR. Can help with + // diagnosing why OCR responses are of poor quality for a given input. + // Adds additional latency comparable to regular OCR to the process call. + bool enable_image_quality_scores = 4; + + // A list of advanced OCR options to further fine-tune OCR behavior. Current + // valid values are: + // + // - `legacy_layout`: a heuristics layout detection algorithm, which serves as + // an alternative to the current ML-based layout detection algorithm. + // Customers can choose the best suitable layout algorithm based on their + // situation. + repeated string advanced_ocr_options = 5; + + // Includes symbol level OCR information if set to true. + bool enable_symbol = 6; + + // Turn on font identification model and return font style information. + // Deprecated, use + // [PremiumFeatures.compute_style_info][google.cloud.documentai.v1.OcrConfig.PremiumFeatures.compute_style_info] + // instead. + bool compute_style_info = 8 [deprecated = true]; + + // Turn off character box detector in OCR engine. Character box detection is + // enabled by default in OCR 2.0 (and later) processors. + bool disable_character_boxes_detection = 10; + + // Configurations for premium OCR features. + PremiumFeatures premium_features = 11; +} diff --git a/third_party/googleapis/google/cloud/documentai/v1/document_processor_service.proto b/third_party/googleapis/google/cloud/documentai/v1/document_processor_service.proto index eec77bd88..447b28ba1 100644 --- a/third_party/googleapis/google/cloud/documentai/v1/document_processor_service.proto +++ b/third_party/googleapis/google/cloud/documentai/v1/document_processor_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -49,7 +49,7 @@ option (google.api.resource_definition) = { pattern: "projects/{project}/locations/{location}" }; -// Service to call Cloud DocumentAI to process documents according to the +// Service to call Document AI to process documents according to the // processor's definition. Processors are built using state-of-the-art Google // AI such as natural language, computer vision, and translation to extract // structured information from unstructured or semi-structured documents. @@ -90,8 +90,9 @@ service DocumentProcessorService { }; } - // Fetches processor types. Note that we do not use ListProcessorTypes here - // because it is not paginated. + // Fetches processor types. Note that we don't use + // [ListProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes] + // here, because it isn't paginated. rpc FetchProcessorTypes(FetchProcessorTypesRequest) returns (FetchProcessorTypesResponse) { option (google.api.http) = { @@ -135,7 +136,7 @@ service DocumentProcessorService { // Trains a new processor version. // Operation metadata is returned as - // cloud_documentai_core.TrainProcessorVersionMetadata. + // [TrainProcessorVersionMetadata][google.cloud.documentai.v1.TrainProcessorVersionMetadata]. rpc TrainProcessorVersion(TrainProcessorVersionRequest) returns (google.longrunning.Operation) { option (google.api.http) = { @@ -209,8 +210,9 @@ service DocumentProcessorService { }; } - // Creates a processor from the type processor that the user chose. - // The processor will be at "ENABLED" state by default after its creation. + // Creates a processor from the + // [ProcessorType][google.cloud.documentai.v1.ProcessorType] provided. The + // processor will be at `ENABLED` state by default after its creation. rpc CreateProcessor(CreateProcessorRequest) returns (Processor) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/processors" @@ -324,7 +326,47 @@ service DocumentProcessorService { } } -// Request message for the process document method. +// Options for Process API +message ProcessOptions { + // A list of individual page numbers. + message IndividualPageSelector { + // Optional. Indices of the pages (starting from 1). + repeated int32 pages = 1 [(google.api.field_behavior) = OPTIONAL]; + } + + // A subset of pages to process. If not specified, all pages are processed. + // If a page range is set, only the given pages are extracted and processed + // from the document. In the output document, + // [Document.Page.page_number][google.cloud.documentai.v1.Document.Page.page_number] + // refers to the page number in the original document. This configuration + // only applies to sync requests. + oneof page_range { + // Which pages to process (1-indexed). + IndividualPageSelector individual_page_selector = 5; + + // Only process certain pages from the start. Process all if the document + // has fewer pages. + int32 from_start = 6; + + // Only process certain pages from the end, same as above. + int32 from_end = 7; + } + + // Only applicable to `OCR_PROCESSOR` and `FORM_PARSER_PROCESSOR`. + // Returns error if set on other processor types. + OcrConfig ocr_config = 1; + + // Optional. Override the schema of the + // [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]. Will + // return an Invalid Argument error if this field is set when the underlying + // [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] doesn't + // support schema override. + DocumentSchema schema_override = 8 [(google.api.field_behavior) = OPTIONAL]; +} + +// Request message for the +// [ProcessDocument][google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument] +// method. message ProcessRequest { // The document payload. oneof source { @@ -333,6 +375,9 @@ message ProcessRequest { // A raw document content (bytes). RawDocument raw_document = 5; + + // A raw document on Google Cloud Storage. + GcsDocument gcs_document = 8; } // Required. The resource name of the @@ -350,14 +395,26 @@ message ProcessRequest { (google.api.resource_reference) = { type: "*" } ]; - // Whether Human Review feature should be skipped for this request. Default to - // false. + // Whether human review should be skipped for this request. Default to + // `false`. bool skip_human_review = 3; - // Specifies which fields to include in ProcessResponse's document. - // Only supports top level document and pages field so it must be in the form - // of `{document_field_name}` or `pages.{page_field_name}`. + // Specifies which fields to include in the + // [ProcessResponse.document][google.cloud.documentai.v1.ProcessResponse.document] + // output. Only supports top-level document and pages field, so it must be in + // the form of `{document_field_name}` or `pages.{page_field_name}`. google.protobuf.FieldMask field_mask = 6; + + // Inference-time options for the process API + ProcessOptions process_options = 7; + + // Optional. The labels with user-defined metadata for the request. + // + // Label keys and values can be no longer than 63 characters + // (Unicode codepoints) and can only contain lowercase letters, numeric + // characters, underscores, and dashes. International characters are allowed. + // Label values are optional. Label keys must start with a letter. + map labels = 10 [(google.api.field_behavior) = OPTIONAL]; } // The status of human review on a processed document. @@ -368,7 +425,7 @@ message HumanReviewStatus { STATE_UNSPECIFIED = 0; // Human review is skipped for the document. This can happen because human - // review is not enabled on the processor or the processing request has + // review isn't enabled on the processor or the processing request has // been set to skip this document. SKIPPED = 1; @@ -379,7 +436,8 @@ message HumanReviewStatus { IN_PROGRESS = 3; // Some error happened during triggering human review, see the - // [state_message] for details. + // [state_message][google.cloud.documentai.v1.HumanReviewStatus.state_message] + // for details. ERROR = 4; } @@ -390,13 +448,17 @@ message HumanReviewStatus { string state_message = 2; // The name of the operation triggered by the processed document. This field - // is populated only when the [state] is [HUMAN_REVIEW_IN_PROGRESS]. It has - // the same response type and metadata as the long running operation returned - // by [ReviewDocument] method. + // is populated only when the + // [state][google.cloud.documentai.v1.HumanReviewStatus.state] is + // `HUMAN_REVIEW_IN_PROGRESS`. It has the same response type and metadata as + // the long-running operation returned by + // [ReviewDocument][google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument]. string human_review_operation = 3; } -// Response message for the process document method. +// Response message for the +// [ProcessDocument][google.cloud.documentai.v1.DocumentProcessorService.ProcessDocument] +// method. message ProcessResponse { // The document payload, will populate fields based on the processor's // behavior. @@ -406,7 +468,8 @@ message ProcessResponse { HumanReviewStatus human_review_status = 3; } -// Request message for batch process document method. +// Request message for +// [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments]. message BatchProcessRequest { // Required. The resource name of // [Processor][google.cloud.documentai.v1.Processor] or @@ -419,34 +482,51 @@ message BatchProcessRequest { (google.api.resource_reference) = { type: "*" } ]; - // The input documents for batch process. + // The input documents for the + // [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments] + // method. BatchDocumentsInputConfig input_documents = 5; - // The overall output config for batch process. + // The output configuration for the + // [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments] + // method. DocumentOutputConfig document_output_config = 6; - // Whether Human Review feature should be skipped for this request. Default to - // false. + // Whether human review should be skipped for this request. Default to + // `false`. bool skip_human_review = 4; + + // Inference-time options for the process API + ProcessOptions process_options = 7; + + // Optional. The labels with user-defined metadata for the request. + // + // Label keys and values can be no longer than 63 characters + // (Unicode codepoints) and can only contain lowercase letters, numeric + // characters, underscores, and dashes. International characters are allowed. + // Label values are optional. Label keys must start with a letter. + map labels = 9 [(google.api.field_behavior) = OPTIONAL]; } -// Response message for batch process document method. +// Response message for +// [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments]. message BatchProcessResponse {} -// The long running operation metadata for batch process method. +// The long-running operation metadata for +// [BatchProcessDocuments][google.cloud.documentai.v1.DocumentProcessorService.BatchProcessDocuments]. message BatchProcessMetadata { // The status of a each individual document in the batch process. message IndividualProcessStatus { - // The source of the document, same as the [input_gcs_source] field in the - // request when the batch process started. The batch process is started by - // take snapshot of that document, since a user can move or change that - // document during the process. + // The source of the document, same as the + // [input_gcs_source][google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source] + // field in the request when the batch process started. string input_gcs_source = 1; // The status processing the document. google.rpc.Status status = 2; - // The output_gcs_destination (in the request as `output_gcs_destination`) + // The Cloud Storage output destination (in the request as + // [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1.DocumentOutputConfig.GcsOutputConfig.gcs_uri]) // of the processed document if it was successful, otherwise empty. string output_gcs_destination = 3; @@ -495,11 +575,13 @@ message BatchProcessMetadata { repeated IndividualProcessStatus individual_process_statuses = 5; } -// Request message for fetch processor types. +// Request message for the +// [FetchProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.FetchProcessorTypes] +// method. Some processor types may require the project be added to an +// allowlist. message FetchProcessorTypesRequest { - // Required. The project of processor type to list. - // The available processor types may depend on the allow-listing on projects. - // Format: `projects/{project}/locations/{location}` + // Required. The location of processor types to list. + // Format: `projects/{project}/locations/{location}`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -508,17 +590,21 @@ message FetchProcessorTypesRequest { ]; } -// Response message for fetch processor types. +// Response message for the +// [FetchProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.FetchProcessorTypes] +// method. message FetchProcessorTypesResponse { // The list of processor types. repeated ProcessorType processor_types = 1; } -// Request message for list processor types. +// Request message for the +// [ListProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes] +// method. Some processor types may require the project be added to an +// allowlist. message ListProcessorTypesRequest { - // Required. The location of processor type to list. - // The available processor types may depend on the allow-listing on projects. - // Format: `projects/{project}/locations/{location}` + // Required. The location of processor types to list. + // Format: `projects/{project}/locations/{location}`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -527,15 +613,17 @@ message ListProcessorTypesRequest { ]; // The maximum number of processor types to return. - // If unspecified, at most 100 processor types will be returned. - // The maximum value is 500; values above 500 will be coerced to 500. + // If unspecified, at most `100` processor types will be returned. + // The maximum value is `500`. Values above `500` will be coerced to `500`. int32 page_size = 2; // Used to retrieve the next page of results, empty if at the end of the list. string page_token = 3; } -// Response message for list processor types. +// Response message for the +// [ListProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.ListProcessorTypes] +// method. message ListProcessorTypesResponse { // The processor types. repeated ProcessorType processor_types = 1; @@ -556,8 +644,8 @@ message ListProcessorsRequest { ]; // The maximum number of processors to return. - // If unspecified, at most 50 processors will be returned. - // The maximum value is 100; values above 100 will be coerced to 100. + // If unspecified, at most `50` processors will be returned. + // The maximum value is `100`. Values above `100` will be coerced to `100`. int32 page_size = 2; // We will return the processors sorted by creation time. The page token @@ -565,7 +653,9 @@ message ListProcessorsRequest { string page_token = 3; } -// Response message for list processors. +// Response message for the +// [ListProcessors][google.cloud.documentai.v1.DocumentProcessorService.ListProcessors] +// method. message ListProcessorsResponse { // The list of processors. repeated Processor processors = 1; @@ -574,7 +664,9 @@ message ListProcessorsResponse { string next_page_token = 2; } -// Request message for get processor. +// Request message for the +// [GetProcessorType][google.cloud.documentai.v1.DocumentProcessorService.GetProcessorType] +// method. message GetProcessorTypeRequest { // Required. The processor type resource name. string name = 1 [ @@ -585,7 +677,9 @@ message GetProcessorTypeRequest { ]; } -// Request message for get processor. +// Request message for the +// [GetProcessor][google.cloud.documentai.v1.DocumentProcessorService.GetProcessor] +// method. message GetProcessorRequest { // Required. The processor resource name. string name = 1 [ @@ -596,7 +690,9 @@ message GetProcessorRequest { ]; } -// Request message for get processor version. +// Request message for the +// [GetProcessorVersion][google.cloud.documentai.v1.DocumentProcessorService.GetProcessorVersion] +// method. message GetProcessorVersionRequest { // Required. The processor resource name. string name = 1 [ @@ -620,8 +716,8 @@ message ListProcessorVersionsRequest { ]; // The maximum number of processor versions to return. - // If unspecified, at most 10 processor versions will be returned. - // The maximum value is 20; values above 20 will be coerced to 20. + // If unspecified, at most `10` processor versions will be returned. + // The maximum value is `20`. Values above `20` will be coerced to `20`. int32 page_size = 2; // We will return the processor versions sorted by creation time. The page @@ -629,7 +725,9 @@ message ListProcessorVersionsRequest { string page_token = 3; } -// Response message for list processors. +// Response message for the +// [ListProcessorVersions][google.cloud.documentai.v1.DocumentProcessorService.ListProcessorVersions] +// method. message ListProcessorVersionsResponse { // The list of processors. repeated ProcessorVersion processor_versions = 1; @@ -638,7 +736,9 @@ message ListProcessorVersionsResponse { string next_page_token = 2; } -// Request message for the delete processor version method. +// Request message for the +// [DeleteProcessorVersion][google.cloud.documentai.v1.DocumentProcessorService.DeleteProcessorVersion] +// method. message DeleteProcessorVersionRequest { // Required. The processor version resource name to be deleted. string name = 1 [ @@ -649,13 +749,17 @@ message DeleteProcessorVersionRequest { ]; } -// The long running operation metadata for delete processor version method. +// The long-running operation metadata for the +// [DeleteProcessorVersion][google.cloud.documentai.v1.DocumentProcessorService.DeleteProcessorVersion] +// method. message DeleteProcessorVersionMetadata { - // The basic metadata of the long running operation. + // The basic metadata of the long-running operation. CommonOperationMetadata common_metadata = 1; } -// Request message for the deploy processor version method. +// Request message for the +// [DeployProcessorVersion][google.cloud.documentai.v1.DocumentProcessorService.DeployProcessorVersion] +// method. message DeployProcessorVersionRequest { // Required. The processor version resource name to be deployed. string name = 1 [ @@ -666,16 +770,22 @@ message DeployProcessorVersionRequest { ]; } -// Response message for the deploy processor version method. +// Response message for the +// [DeployProcessorVersion][google.cloud.documentai.v1.DocumentProcessorService.DeployProcessorVersion] +// method. message DeployProcessorVersionResponse {} -// The long running operation metadata for deploy processor version method. +// The long-running operation metadata for the +// [DeployProcessorVersion][google.cloud.documentai.v1.DocumentProcessorService.DeployProcessorVersion] +// method. message DeployProcessorVersionMetadata { - // The basic metadata of the long running operation. + // The basic metadata of the long-running operation. CommonOperationMetadata common_metadata = 1; } -// Request message for the undeploy processor version method. +// Request message for the +// [UndeployProcessorVersion][google.cloud.documentai.v1.DocumentProcessorService.UndeployProcessorVersion] +// method. message UndeployProcessorVersionRequest { // Required. The processor version resource name to be undeployed. string name = 1 [ @@ -686,19 +796,24 @@ message UndeployProcessorVersionRequest { ]; } -// Response message for the undeploy processor version method. +// Response message for the +// [UndeployProcessorVersion][google.cloud.documentai.v1.DocumentProcessorService.UndeployProcessorVersion] +// method. message UndeployProcessorVersionResponse {} -// The long running operation metadata for the undeploy processor version +// The long-running operation metadata for the +// [UndeployProcessorVersion][google.cloud.documentai.v1.DocumentProcessorService.UndeployProcessorVersion] // method. message UndeployProcessorVersionMetadata { - // The basic metadata of the long running operation. + // The basic metadata of the long-running operation. CommonOperationMetadata common_metadata = 1; } -// Request message for create a processor. Notice this request is sent to -// a regionalized backend service, and if the processor type is not available -// on that region, the creation will fail. +// Request message for the +// [CreateProcessor][google.cloud.documentai.v1.DocumentProcessorService.CreateProcessor] +// method. Notice this request is sent to a regionalized backend service. If the +// [ProcessorType][google.cloud.documentai.v1.ProcessorType] isn't available in +// that region, the creation fails. message CreateProcessorRequest { // Required. The parent (project and location) under which to create the // processor. Format: `projects/{project}/locations/{location}` @@ -709,13 +824,18 @@ message CreateProcessorRequest { } ]; - // Required. The processor to be created, requires [processor_type] and - // [display_name] to be set. Also, the processor is under CMEK if CMEK fields - // are set. + // Required. The processor to be created, requires + // [Processor.type][google.cloud.documentai.v1.Processor.type] and + // [Processor.display_name][google.cloud.documentai.v1.Processor.display_name] + // to be set. Also, the + // [Processor.kms_key_name][google.cloud.documentai.v1.Processor.kms_key_name] + // field must be set if the processor is under CMEK. Processor processor = 2 [(google.api.field_behavior) = REQUIRED]; } -// Request message for the delete processor method. +// Request message for the +// [DeleteProcessor][google.cloud.documentai.v1.DocumentProcessorService.DeleteProcessor] +// method. message DeleteProcessorRequest { // Required. The processor resource name to be deleted. string name = 1 [ @@ -726,13 +846,17 @@ message DeleteProcessorRequest { ]; } -// The long running operation metadata for delete processor method. +// The long-running operation metadata for the +// [DeleteProcessor][google.cloud.documentai.v1.DocumentProcessorService.DeleteProcessor] +// method. message DeleteProcessorMetadata { - // The basic metadata of the long running operation. + // The basic metadata of the long-running operation. CommonOperationMetadata common_metadata = 5; } -// Request message for the enable processor method. +// Request message for the +// [EnableProcessor][google.cloud.documentai.v1.DocumentProcessorService.EnableProcessor] +// method. message EnableProcessorRequest { // Required. The processor resource name to be enabled. string name = 1 [ @@ -743,17 +867,22 @@ message EnableProcessorRequest { ]; } -// Response message for the enable processor method. -// Intentionally empty proto for adding fields in future. +// Response message for the +// [EnableProcessor][google.cloud.documentai.v1.DocumentProcessorService.EnableProcessor] +// method. Intentionally empty proto for adding fields in future. message EnableProcessorResponse {} -// The long running operation metadata for enable processor method. +// The long-running operation metadata for the +// [EnableProcessor][google.cloud.documentai.v1.DocumentProcessorService.EnableProcessor] +// method. message EnableProcessorMetadata { - // The basic metadata of the long running operation. + // The basic metadata of the long-running operation. CommonOperationMetadata common_metadata = 5; } -// Request message for the disable processor method. +// Request message for the +// [DisableProcessor][google.cloud.documentai.v1.DocumentProcessorService.DisableProcessor] +// method. message DisableProcessorRequest { // Required. The processor resource name to be disabled. string name = 1 [ @@ -764,17 +893,22 @@ message DisableProcessorRequest { ]; } -// Response message for the disable processor method. -// Intentionally empty proto for adding fields in future. +// Response message for the +// [DisableProcessor][google.cloud.documentai.v1.DocumentProcessorService.DisableProcessor] +// method. Intentionally empty proto for adding fields in future. message DisableProcessorResponse {} -// The long running operation metadata for disable processor method. +// The long-running operation metadata for the +// [DisableProcessor][google.cloud.documentai.v1.DocumentProcessorService.DisableProcessor] +// method. message DisableProcessorMetadata { - // The basic metadata of the long running operation. + // The basic metadata of the long-running operation. CommonOperationMetadata common_metadata = 5; } -// Request message for the set default processor version method. +// Request message for the +// [SetDefaultProcessorVersion][google.cloud.documentai.v1.DocumentProcessorService.SetDefaultProcessorVersion] +// method. message SetDefaultProcessorVersionRequest { // Required. The resource name of the // [Processor][google.cloud.documentai.v1.Processor] to change default @@ -798,19 +932,25 @@ message SetDefaultProcessorVersionRequest { ]; } -// Response message for set default processor version method. +// Response message for the +// [SetDefaultProcessorVersion][google.cloud.documentai.v1.DocumentProcessorService.SetDefaultProcessorVersion] +// method. message SetDefaultProcessorVersionResponse {} -// The long running operation metadata for set default processor version +// The long-running operation metadata for the +// [SetDefaultProcessorVersion][google.cloud.documentai.v1.DocumentProcessorService.SetDefaultProcessorVersion] // method. message SetDefaultProcessorVersionMetadata { - // The basic metadata of the long running operation. + // The basic metadata of the long-running operation. CommonOperationMetadata common_metadata = 1; } -// Request message for the create processor version method. +// Request message for the +// [TrainProcessorVersion][google.cloud.documentai.v1.DocumentProcessorService.TrainProcessorVersion] +// method. message TrainProcessorVersionRequest { - // The input data used to train a new `ProcessorVersion`. + // The input data used to train a new + // [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]. message InputData { // The documents used for training the new version. BatchDocumentsInputConfig training_documents = 3; @@ -819,6 +959,28 @@ message TrainProcessorVersionRequest { BatchDocumentsInputConfig test_documents = 4; } + // Options to control the training of the Custom Document Extraction (CDE) + // Processor. + message CustomDocumentExtractionOptions { + // Training Method for CDE. `TRAINING_METHOD_UNSPECIFIED` will fall back to + // `MODEL_BASED`. + enum TrainingMethod { + TRAINING_METHOD_UNSPECIFIED = 0; + + MODEL_BASED = 1; + + TEMPLATE_BASED = 2; + } + + // Training method to use for CDE training. + TrainingMethod training_method = 3; + } + + oneof processor_flags { + // Options to control Custom Document Extraction (CDE) Processor. + CustomDocumentExtractionOptions custom_document_extraction_options = 5; + } + // Required. The parent (project, location and processor) to create the new // version for. Format: // `projects/{project}/locations/{location}/processors/{processor}`. @@ -836,7 +998,8 @@ message TrainProcessorVersionRequest { // Optional. The schema the processor version will be trained with. DocumentSchema document_schema = 10 [(google.api.field_behavior) = OPTIONAL]; - // Optional. The input data used to train the `ProcessorVersion`. + // Optional. The input data used to train the + // [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]. InputData input_data = 4 [(google.api.field_behavior) = OPTIONAL]; // Optional. The processor version to use as a base for training. This @@ -845,7 +1008,8 @@ message TrainProcessorVersionRequest { string base_processor_version = 8 [(google.api.field_behavior) = OPTIONAL]; } -// The response for the TrainProcessorVersion method. +// The response for +// [TrainProcessorVersion][google.cloud.documentai.v1.DocumentProcessorService.TrainProcessorVersion]. message TrainProcessorVersionResponse { // The resource name of the processor version produced by training. string processor_version = 1; @@ -873,7 +1037,7 @@ message TrainProcessorVersionMetadata { repeated google.rpc.Status dataset_errors = 2; } - // The basic metadata of the long running operation. + // The basic metadata of the long-running operation. CommonOperationMetadata common_metadata = 1; // The training dataset validation information. @@ -883,7 +1047,9 @@ message TrainProcessorVersionMetadata { DatasetValidation test_dataset_validation = 3; } -// Request message for review document method. +// Request message for the +// [ReviewDocument][google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument] +// method. message ReviewDocumentRequest { // The priority level of the human review task. enum Priority { @@ -901,8 +1067,9 @@ message ReviewDocumentRequest { Document inline_document = 4; } - // Required. The resource name of the HumanReviewConfig that the document will - // be reviewed with. + // Required. The resource name of the + // [HumanReviewConfig][google.cloud.documentai.v1.HumanReviewConfig] that the + // document will be reviewed with. string human_review_config = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -920,7 +1087,9 @@ message ReviewDocumentRequest { DocumentSchema document_schema = 6; } -// Response message for review document method. +// Response message for the +// [ReviewDocument][google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument] +// method. message ReviewDocumentResponse { // Possible states of the review operation. enum State { @@ -945,16 +1114,20 @@ message ReviewDocumentResponse { string rejection_reason = 3; } -// The long running operation metadata for review document method. +// The long-running operation metadata for the +// [ReviewDocument][google.cloud.documentai.v1.DocumentProcessorService.ReviewDocument] +// method. message ReviewDocumentOperationMetadata { - // The basic metadata of the long running operation. + // The basic metadata of the long-running operation. CommonOperationMetadata common_metadata = 5; // The Crowd Compute question ID. string question_id = 6; } -// Evaluates the given ProcessorVersion against the supplied documents. +// Evaluates the given +// [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] against the +// supplied documents. message EvaluateProcessorVersionRequest { // Required. The resource name of the // [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to @@ -973,13 +1146,17 @@ message EvaluateProcessorVersionRequest { [(google.api.field_behavior) = OPTIONAL]; } -// Metadata of the EvaluateProcessorVersion method. +// Metadata of the +// [EvaluateProcessorVersion][google.cloud.documentai.v1.DocumentProcessorService.EvaluateProcessorVersion] +// method. message EvaluateProcessorVersionMetadata { - // The basic metadata of the long running operation. + // The basic metadata of the long-running operation. CommonOperationMetadata common_metadata = 1; } -// Metadata of the EvaluateProcessorVersion method. +// Response of the +// [EvaluateProcessorVersion][google.cloud.documentai.v1.DocumentProcessorService.EvaluateProcessorVersion] +// method. message EvaluateProcessorVersionResponse { // The resource name of the created evaluation. string evaluation = 2; @@ -998,7 +1175,8 @@ message GetEvaluationRequest { ]; } -// Retrieves a list of evaluations for a given ProcessorVersion. +// Retrieves a list of evaluations for a given +// [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion]. message ListEvaluationsRequest { // Required. The resource name of the // [ProcessorVersion][google.cloud.documentai.v1.ProcessorVersion] to list @@ -1012,8 +1190,8 @@ message ListEvaluationsRequest { ]; // The standard list page size. - // If unspecified, at most 5 evaluations will be returned. - // The maximum value is 100; values above 100 will be coerced to 100. + // If unspecified, at most `5` evaluations are returned. + // The maximum value is `100`. Values above `100` are coerced to `100`. int32 page_size = 2; // A page token, received from a previous `ListEvaluations` call. @@ -1021,7 +1199,7 @@ message ListEvaluationsRequest { string page_token = 3; } -// The response from ListEvaluations. +// The response from `ListEvaluations`. message ListEvaluationsResponse { // The evaluations requested. repeated Evaluation evaluations = 1; diff --git a/third_party/googleapis/google/cloud/documentai/v1/document_schema.proto b/third_party/googleapis/google/cloud/documentai/v1/document_schema.proto index 0b2cf60c1..71b2791b8 100644 --- a/third_party/googleapis/google/cloud/documentai/v1/document_schema.proto +++ b/third_party/googleapis/google/cloud/documentai/v1/document_schema.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -39,14 +39,14 @@ message DocumentSchema { // Defines properties that can be part of the entity type. message Property { // Types of occurrences of the entity type in the document. This - // represents the number of instances of instances of an entity, not - // number of mentions of an entity. For example, a bank statement may - // only have one `account_number`, but this account number may be - // mentioned in several places on the document. In this case the - // 'account_number' would be considered a `REQUIRED_ONCE` entity type. If, - // on the other hand, we expect a bank statement to contain the status of - // multiple different accounts for the customers, the occurrence type will - // be set to `REQUIRED_MULTIPLE`. + // represents the number of instances, not mentions, of an entity. + // For example, a bank statement might only have one + // `account_number`, but this account number can be mentioned in several + // places on the document. In this case, the `account_number` is + // considered a `REQUIRED_ONCE` entity type. If, on the other hand, we + // expect a bank statement to contain the status of multiple different + // accounts for the customers, the occurrence type is set to + // `REQUIRED_MULTIPLE`. enum OccurrenceType { // Unspecified occurrence type. OCCURRENCE_TYPE_UNSPECIFIED = 0; @@ -70,6 +70,9 @@ message DocumentSchema { // EntityType name. string name = 1; + // User defined name for the property. + string display_name = 6; + // A reference to the value type of the property. This type is subject // to the same conventions as the `Entity.base_types` field. string value_type = 2; @@ -92,16 +95,15 @@ message DocumentSchema { string display_name = 13; // Name of the type. It must be unique within the schema file and - // cannot be a 'Common Type'. Besides that we use the following naming - // conventions: + // cannot be a "Common Type". The following naming conventions are used: // - // - *use `snake_casing`* - // - name matching is case-sensitive + // - Use `snake_casing`. + // - Name matching is case-sensitive. // - Maximum 64 characters. // - Must start with a letter. // - Allowed characters: ASCII letters `[a-z0-9_-]`. (For backward // compatibility internal infrastructure and tooling can handle any ascii - // character) + // character.) // - The `/` is sometimes used to denote a property of a type. For example // `line_item/amount`. This convention is deprecated, but will still be // honored for backward compatibility. @@ -117,8 +119,8 @@ message DocumentSchema { // Metadata for global schema behavior. message Metadata { - // If true, a `document` entity type can be applied to subdocument ( - // splitting). Otherwise, it can only be applied to the entire document + // If true, a `document` entity type can be applied to subdocument + // (splitting). Otherwise, it can only be applied to the entire document // (classification). bool document_splitter = 1; diff --git a/third_party/googleapis/google/cloud/documentai/v1/documentai_v1.yaml b/third_party/googleapis/google/cloud/documentai/v1/documentai_v1.yaml index 55377048e..8171cdbea 100644 --- a/third_party/googleapis/google/cloud/documentai/v1/documentai_v1.yaml +++ b/third_party/googleapis/google/cloud/documentai/v1/documentai_v1.yaml @@ -84,3 +84,14 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform + +publishing: + documentation_uri: https://cloud.google.com/document-ai/docs + github_label: 'api: documentai' + organization: CLOUD + library_settings: + - version: google.cloud.documentai.v1 + dotnet_settings: + ignored_resources: + - documentai.googleapis.com/Location + proto_reference_documentation_uri: https://cloud.google.com/document-ai/docs/reference/rpc diff --git a/third_party/googleapis/google/cloud/documentai/v1/documentai_v1_grpc_service_config.json b/third_party/googleapis/google/cloud/documentai/v1/documentai_v1_grpc_service_config.json index d96fa0b5c..5fb18cfe1 100644 --- a/third_party/googleapis/google/cloud/documentai/v1/documentai_v1_grpc_service_config.json +++ b/third_party/googleapis/google/cloud/documentai/v1/documentai_v1_grpc_service_config.json @@ -5,7 +5,21 @@ { "service": "google.cloud.documentai.v1.DocumentProcessorService", "method": "ProcessDocument" - }, + } + ], + "timeout": "300s", + "retryPolicy": { + "initialBackoff": "0.100s", + "maxBackoff": "60s", + "backoffMultiplier": 1.3, + "retryableStatusCodes": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ] + } + }, + { + "name": [ { "service": "google.cloud.documentai.v1.DocumentProcessorService", "method": "BatchProcessDocuments" diff --git a/third_party/googleapis/google/cloud/documentai/v1/evaluation.proto b/third_party/googleapis/google/cloud/documentai/v1/evaluation.proto index 0662470a8..433fba583 100644 --- a/third_party/googleapis/google/cloud/documentai/v1/evaluation.proto +++ b/third_party/googleapis/google/cloud/documentai/v1/evaluation.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/documentai/v1/geometry.proto b/third_party/googleapis/google/cloud/documentai/v1/geometry.proto index ce668ec8e..18fbeaaf0 100644 --- a/third_party/googleapis/google/cloud/documentai/v1/geometry.proto +++ b/third_party/googleapis/google/cloud/documentai/v1/geometry.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/documentai/v1/operation_metadata.proto b/third_party/googleapis/google/cloud/documentai/v1/operation_metadata.proto index b922bf4cc..533f758ae 100644 --- a/third_party/googleapis/google/cloud/documentai/v1/operation_metadata.proto +++ b/third_party/googleapis/google/cloud/documentai/v1/operation_metadata.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/documentai/v1/processor.proto b/third_party/googleapis/google/cloud/documentai/v1/processor.proto index 8c257c548..29cb85547 100644 --- a/third_party/googleapis/google/cloud/documentai/v1/processor.proto +++ b/third_party/googleapis/google/cloud/documentai/v1/processor.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -31,10 +31,9 @@ option php_namespace = "Google\\Cloud\\DocumentAI\\V1"; option ruby_package = "Google::Cloud::DocumentAI::V1"; // A processor version is an implementation of a processor. Each processor -// can have multiple versions, pre-trained by Google internally or up-trained -// by the customer. At a time, a processor can only have one default version -// version. So the processor's behavior (when processing documents) is defined -// by a default version +// can have multiple versions, pretrained by Google internally or uptrained +// by the customer. A processor can only have one default version at a time. +// Its document-processing behavior is defined by that version. message ProcessorVersion { option (google.api.resource) = { type: "documentai.googleapis.com/ProcessorVersion" @@ -78,6 +77,21 @@ message ProcessorVersion { // The processor version failed and is in an indeterminate state. FAILED = 7; + + // The processor version is being imported. + IMPORTING = 8; + } + + // The possible model types of the processor version. + enum ModelType { + // The processor version has unspecified model type. + MODEL_TYPE_UNSPECIFIED = 0; + + // The processor version has generative model type. + MODEL_TYPE_GENERATIVE = 1; + + // The processor version has custom model type. + MODEL_TYPE_CUSTOM = 2; } // The resource name of the processor version. @@ -106,11 +120,25 @@ message ProcessorVersion { // The KMS key version with which data is encrypted. string kms_key_version_name = 10; - // Denotes that this ProcessorVersion is managed by google. - bool google_managed = 11; + // Output only. Denotes that this `ProcessorVersion` is managed by Google. + bool google_managed = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; // If set, information about the eventual deprecation of this version. DeprecationInfo deprecation_info = 13; + + // Output only. The model type of this processor version. + ModelType model_type = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// Contains the alias and the aliased resource name of processor version. +message ProcessorVersionAlias { + // The alias in the form of `processor_version` resource name. + string alias = 1; + + // The resource name of aliased processor version. + string processor_version = 2 [(google.api.resource_reference) = { + type: "documentai.googleapis.com/ProcessorVersion" + }]; } // The first-class citizen for Document AI. Each processor defines how to @@ -163,8 +191,8 @@ message Processor { (google.api.field_behavior) = OUTPUT_ONLY ]; - // The processor type, e.g., `OCR_PROCESSOR`, `INVOICE_PROCESSOR`, etc. - // To get a list of processors types, see + // The processor type, such as: `OCR_PROCESSOR`, `INVOICE_PROCESSOR`. + // To get a list of processor types, see // [FetchProcessorTypes][google.cloud.documentai.v1.DocumentProcessorService.FetchProcessorTypes]. string type = 2; @@ -179,6 +207,10 @@ message Processor { type: "documentai.googleapis.com/ProcessorVersion" }]; + // Output only. The processor version aliases. + repeated ProcessorVersionAlias processor_version_aliases = 10 + [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Immutable. The http endpoint that can be called to invoke // processing. string process_endpoint = 6 [ @@ -189,7 +221,7 @@ message Processor { // The time the processor was created. google.protobuf.Timestamp create_time = 7; - // The KMS key used for encryption/decryption in CMEK scenarios. - // See https://cloud.google.com/security-key-management. + // The [KMS key](https://cloud.google.com/security-key-management) used for + // encryption and decryption in CMEK scenarios. string kms_key_name = 8; } diff --git a/third_party/googleapis/google/cloud/documentai/v1/processor_type.proto b/third_party/googleapis/google/cloud/documentai/v1/processor_type.proto index e5f6eca0a..ae88dda8d 100644 --- a/third_party/googleapis/google/cloud/documentai/v1/processor_type.proto +++ b/third_party/googleapis/google/cloud/documentai/v1/processor_type.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -37,7 +37,8 @@ message ProcessorType { // The location information about where the processor is available. message LocationInfo { - // The location id, currently must be one of [us, eu]. + // The location ID. For supported locations, refer to [regional and + // multi-regional support](/document-ai/docs/regions). string location_id = 1; } @@ -45,7 +46,7 @@ message ProcessorType { // Format: `projects/{project}/processorTypes/{processor_type}` string name = 1; - // The processor type, e.g., `OCR_PROCESSOR`, `INVOICE_PROCESSOR`, etc. + // The processor type, such as: `OCR_PROCESSOR`, `INVOICE_PROCESSOR`. string type = 2; // The processor category, used by UI to group processor types. diff --git a/third_party/googleapis/google/cloud/documentai/v1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/documentai/v1beta1/BUILD.bazel index c7ded9522..ae795aa18 100644 --- a/third_party/googleapis/google/cloud/documentai/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/documentai/v1beta1/BUILD.bazel @@ -72,6 +72,7 @@ java_gapic_library( srcs = [":documentai_proto_with_info"], grpc_service_config = "documentai_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "//google/cloud/documentai:documentai_v1beta1.yaml", test_deps = [ ":documentai_java_grpc", ], @@ -110,7 +111,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -143,18 +143,12 @@ go_gapic_library( ], ) -go_test( - name = "documentai_go_gapic_test", - srcs = [":documentai_go_gapic_srcjar_test"], - embed = [":documentai_go_gapic"], - importpath = "cloud.google.com/go/documentai/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-documentai-v1beta1-go", deps = [ ":documentai_go_gapic", + ":documentai_go_gapic_srcjar-snippets.srcjar", ":documentai_go_gapic_srcjar-test.srcjar", ":documentai_go_proto", ], @@ -204,7 +198,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -213,12 +206,6 @@ php_proto_library( deps = [":documentai_proto"], ) -php_grpc_library( - name = "documentai_php_grpc", - srcs = [":documentai_proto"], - deps = [":documentai_php_proto"], -) - php_gapic_library( name = "documentai_php_gapic", srcs = [":documentai_proto_with_info"], @@ -226,10 +213,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "//google/cloud/documentai:documentai_v1beta1.yaml", transport = "grpc+rest", - deps = [ - ":documentai_php_grpc", - ":documentai_php_proto", - ], + deps = [":documentai_php_proto"], ) # Open Source Packages @@ -237,7 +221,6 @@ php_gapic_assembly_pkg( name = "google-cloud-documentai-v1beta1-php", deps = [ ":documentai_php_gapic", - ":documentai_php_grpc", ":documentai_php_proto", ], ) @@ -300,6 +283,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-documentai-v1beta1"], rest_numeric_enums = True, service_yaml = "//google/cloud/documentai:documentai_v1beta1.yaml", + transport = "grpc", deps = [ ":documentai_ruby_grpc", ":documentai_ruby_proto", diff --git a/third_party/googleapis/google/cloud/documentai/v1beta2/BUILD.bazel b/third_party/googleapis/google/cloud/documentai/v1beta2/BUILD.bazel index 30d605483..51054b447 100644 --- a/third_party/googleapis/google/cloud/documentai/v1beta2/BUILD.bazel +++ b/third_party/googleapis/google/cloud/documentai/v1beta2/BUILD.bazel @@ -1,5 +1,5 @@ # This file was automatically generated by BuildFileGenerator -# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +# 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: @@ -21,6 +21,7 @@ load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") proto_library( name = "documentai_proto", srcs = [ + "barcode.proto", "document.proto", "document_understanding.proto", "geometry.proto", @@ -32,6 +33,10 @@ proto_library( "//google/longrunning:operations_proto", "//google/rpc:status_proto", "//google/type:color_proto", + "//google/type:date_proto", + "//google/type:datetime_proto", + "//google/type:money_proto", + "//google/type:postal_address_proto", "@com_google_protobuf//:timestamp_proto", ], ) @@ -41,6 +46,7 @@ proto_library_with_info( deps = [ ":documentai_proto", "//google/cloud:common_resources_proto", + "//google/cloud/location:location_proto", ], ) @@ -70,14 +76,19 @@ java_grpc_library( java_gapic_library( name = "documentai_java_gapic", srcs = [":documentai_proto_with_info"], + gapic_yaml = "documentai_gapic.yaml", grpc_service_config = "documentai_v1beta2_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "documentai_v1beta2.yaml", test_deps = [ + "//google/cloud/location:location_java_grpc", ":documentai_java_grpc", ], transport = "grpc", deps = [ ":documentai_java_proto", + "//google/api:api_java_proto", + "//google/cloud/location:location_java_proto", ], ) @@ -110,7 +121,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -123,6 +133,10 @@ go_proto_library( "//google/longrunning:longrunning_go_proto", "//google/rpc:status_go_proto", "//google/type:color_go_proto", + "//google/type:date_go_proto", + "//google/type:datetime_go_proto", + "//google/type:money_go_proto", + "//google/type:postaladdress_go_proto", ], ) @@ -131,30 +145,27 @@ go_gapic_library( srcs = [":documentai_proto_with_info"], grpc_service_config = "documentai_v1beta2_grpc_service_config.json", importpath = "cloud.google.com/go/documentai/apiv1beta2;documentai", + metadata = True, release_level = "beta", rest_numeric_enums = True, service_yaml = "documentai_v1beta2.yaml", transport = "grpc", deps = [ ":documentai_go_proto", + "//google/cloud/location:location_go_proto", "//google/longrunning:longrunning_go_proto", "@com_google_cloud_go_longrunning//:go_default_library", "@com_google_cloud_go_longrunning//autogen:go_default_library", ], ) -go_test( - name = "documentai_go_gapic_test", - srcs = [":documentai_go_gapic_srcjar_test"], - embed = [":documentai_go_gapic"], - importpath = "cloud.google.com/go/documentai/apiv1beta2", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-documentai-v1beta2-go", deps = [ ":documentai_go_gapic", + ":documentai_go_gapic_srcjar-metadata.srcjar", + ":documentai_go_gapic_srcjar-snippets.srcjar", ":documentai_go_gapic_srcjar-test.srcjar", ":documentai_go_proto", ], @@ -177,6 +188,8 @@ py_gapic_library( rest_numeric_enums = True, service_yaml = "documentai_v1beta2.yaml", transport = "grpc", + deps = [ + ], ) py_test( @@ -204,7 +217,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -213,21 +225,15 @@ php_proto_library( deps = [":documentai_proto"], ) -php_grpc_library( - name = "documentai_php_grpc", - srcs = [":documentai_proto"], - deps = [":documentai_php_proto"], -) - php_gapic_library( name = "documentai_php_gapic", srcs = [":documentai_proto_with_info"], grpc_service_config = "documentai_v1beta2_grpc_service_config.json", + migration_mode = "PRE_MIGRATION_SURFACE_ONLY", rest_numeric_enums = True, service_yaml = "documentai_v1beta2.yaml", transport = "grpc+rest", deps = [ - ":documentai_php_grpc", ":documentai_php_proto", ], ) @@ -237,7 +243,6 @@ php_gapic_assembly_pkg( name = "google-cloud-documentai-v1beta2-php", deps = [ ":documentai_php_gapic", - ":documentai_php_grpc", ":documentai_php_proto", ], ) @@ -298,8 +303,10 @@ ruby_cloud_gapic_library( name = "documentai_ruby_gapic", srcs = [":documentai_proto_with_info"], extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-documentai-v1beta2"], + grpc_service_config = "documentai_v1beta2_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "documentai_v1beta2.yaml", + transport = "grpc", deps = [ ":documentai_ruby_grpc", ":documentai_ruby_proto", @@ -329,6 +336,7 @@ load( csharp_proto_library( name = "documentai_csharp_proto", + extra_opts = [], deps = [":documentai_proto"], ) @@ -365,4 +373,20 @@ csharp_gapic_assembly_pkg( ############################################################################## # C++ ############################################################################## -# Put your C++ rules here +load( + "@com_google_googleapis_imports//:imports.bzl", + "cc_grpc_library", + "cc_proto_library", +) + +cc_proto_library( + name = "documentai_cc_proto", + deps = [":documentai_proto"], +) + +cc_grpc_library( + name = "documentai_cc_grpc", + srcs = [":documentai_proto"], + grpc_only = True, + deps = [":documentai_cc_proto"], +) diff --git a/third_party/googleapis/google/cloud/documentai/v1beta2/document.proto b/third_party/googleapis/google/cloud/documentai/v1beta2/document.proto index bcf457112..7e97a6e59 100644 --- a/third_party/googleapis/google/cloud/documentai/v1beta2/document.proto +++ b/third_party/googleapis/google/cloud/documentai/v1beta2/document.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,9 +17,15 @@ syntax = "proto3"; package google.cloud.documentai.v1beta2; import "google/api/field_behavior.proto"; +import "google/cloud/documentai/v1beta2/barcode.proto"; import "google/cloud/documentai/v1beta2/geometry.proto"; +import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; import "google/type/color.proto"; +import "google/type/date.proto"; +import "google/type/datetime.proto"; +import "google/type/money.proto"; +import "google/type/postal_address.proto"; option csharp_namespace = "Google.Cloud.DocumentAI.V1Beta2"; option go_package = "cloud.google.com/go/documentai/apiv1beta2/documentaipb;documentaipb"; @@ -29,11 +35,10 @@ option java_package = "com.google.cloud.documentai.v1beta2"; option php_namespace = "Google\\Cloud\\DocumentAI\\V1beta2"; option ruby_package = "Google::Cloud::DocumentAI::V1beta2"; -// Document represents the canonical document resource in Document Understanding -// AI. -// It is an interchange format that provides insights into documents and allows -// for collaboration between users and Document Understanding AI to iterate and -// optimize for quality. +// Document represents the canonical document resource in Document AI. It is an +// interchange format that provides insights into documents and allows for +// collaboration between users and Document AI to iterate and optimize for +// quality. message Document { // For a large document, sharding may be performed to produce several // document shards. Each document shard contains this field to detail which @@ -45,15 +50,17 @@ message Document { // Total number of shards. int64 shard_count = 2; - // The index of the first character in [Document.text][google.cloud.documentai.v1beta2.Document.text] in the overall - // document global text. + // The index of the first character in + // [Document.text][google.cloud.documentai.v1beta2.Document.text] in the + // overall document global text. int64 text_offset = 3; } // Label attaches schema information and/or other metadata to segments within - // a [Document][google.cloud.documentai.v1beta2.Document]. Multiple [Label][google.cloud.documentai.v1beta2.Document.Label]s on a single field can denote either - // different labels, different instances of the same label created at - // different times, or some combination of both. + // a [Document][google.cloud.documentai.v1beta2.Document]. Multiple + // [Label][google.cloud.documentai.v1beta2.Document.Label]s on a single field + // can denote either different labels, different instances of the same label + // created at different times, or some combination of both. message Label { // Provenance of the label. oneof source { @@ -83,11 +90,13 @@ message Document { // Font size for the text. float size = 1; - // Unit for the font size. Follows CSS naming (in, px, pt, etc.). + // Unit for the font size. Follows CSS naming (such as `in`, `px`, and + // `pt`). string unit = 2; } - // Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta2.Document.text]. + // Text anchor indexing into the + // [Document.text][google.cloud.documentai.v1beta2.Document.text]. TextAnchor text_anchor = 1; // Text color. @@ -96,21 +105,26 @@ message Document { // Text background color. google.type.Color background_color = 3; - // Font weight. Possible values are normal, bold, bolder, and lighter. - // https://www.w3schools.com/cssref/pr_font_weight.asp + // [Font weight](https://www.w3schools.com/cssref/pr_font_weight.asp). + // Possible values are `normal`, `bold`, `bolder`, and `lighter`. string font_weight = 4; - // Text style. Possible values are normal, italic, and oblique. - // https://www.w3schools.com/cssref/pr_font_font-style.asp + // [Text style](https://www.w3schools.com/cssref/pr_font_font-style.asp). + // Possible values are `normal`, `italic`, and `oblique`. string text_style = 5; - // Text decoration. Follows CSS standard. - // - // https://www.w3schools.com/cssref/pr_text_text-decoration.asp + // [Text + // decoration](https://www.w3schools.com/cssref/pr_text_text-decoration.asp). + // Follows CSS standard. + // string text_decoration = 6; // Font size. FontSize font_size = 7; + + // Font family such as `Arial`, `Times New Roman`. + // https://www.w3schools.com/cssref/pr_font_font-family.asp + string font_family = 8; } // A page in a [Document][google.cloud.documentai.v1beta2.Document]. @@ -127,6 +141,42 @@ message Document { string unit = 3; } + // Rendered image contents for this page. + message Image { + // Raw byte content of the image. + bytes content = 1; + + // Encoding [media type (MIME + // type)](https://www.iana.org/assignments/media-types/media-types.xhtml) + // for the image. + string mime_type = 2; + + // Width of the image in pixels. + int32 width = 3; + + // Height of the image in pixels. + int32 height = 4; + } + + // Representation for transformation matrix, intended to be compatible and + // used with OpenCV format for image manipulation. + message Matrix { + // Number of rows in the matrix. + int32 rows = 1; + + // Number of columns in the matrix. + int32 cols = 2; + + // This encodes information about what data type the matrix uses. + // For example, 0 (CV_8U) is an unsigned 8-bit image. For the full list + // of OpenCV primitive data types, please refer to + // https://docs.opencv.org/4.3.0/d1/d1b/group__core__hal__interface.html + int32 type = 3; + + // The matrix data. + bytes data = 4; + } + // Visual element describing a layout unit on a page. message Layout { // Detected human reading orientation. @@ -150,56 +200,71 @@ message Document { PAGE_LEFT = 4; } - // Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta2.Document.text]. + // Text anchor indexing into the + // [Document.text][google.cloud.documentai.v1beta2.Document.text]. TextAnchor text_anchor = 1; - // Confidence of the current [Layout][google.cloud.documentai.v1beta2.Document.Page.Layout] within context of the object this - // layout is for. e.g. confidence can be for a single token, a table, - // a visual element, etc. depending on context. Range [0, 1]. + // Confidence of the current + // [Layout][google.cloud.documentai.v1beta2.Document.Page.Layout] within + // context of the object this layout is for. e.g. confidence can be for a + // single token, a table, a visual element, etc. depending on context. + // Range `[0, 1]`. float confidence = 2; - // The bounding polygon for the [Layout][google.cloud.documentai.v1beta2.Document.Page.Layout]. + // The bounding polygon for the + // [Layout][google.cloud.documentai.v1beta2.Document.Page.Layout]. BoundingPoly bounding_poly = 3; - // Detected orientation for the [Layout][google.cloud.documentai.v1beta2.Document.Page.Layout]. + // Detected orientation for the + // [Layout][google.cloud.documentai.v1beta2.Document.Page.Layout]. Orientation orientation = 4; - - // Optional. This is the identifier used by referencing [PageAnchor][google.cloud.documentai.v1beta2.Document.PageAnchor]s. - string id = 5 [(google.api.field_behavior) = OPTIONAL]; } // A block has a set of lines (collected into paragraphs) that have a // common line-spacing and orientation. message Block { - // [Layout][google.cloud.documentai.v1beta2.Document.Page.Layout] for [Block][google.cloud.documentai.v1beta2.Document.Page.Block]. + // [Layout][google.cloud.documentai.v1beta2.Document.Page.Layout] for + // [Block][google.cloud.documentai.v1beta2.Document.Page.Block]. Layout layout = 1; // A list of detected languages together with confidence. repeated DetectedLanguage detected_languages = 2; + + // The history of this annotation. + Provenance provenance = 3 [deprecated = true]; } // A collection of lines that a human would perceive as a paragraph. message Paragraph { - // [Layout][google.cloud.documentai.v1beta2.Document.Page.Layout] for [Paragraph][google.cloud.documentai.v1beta2.Document.Page.Paragraph]. + // [Layout][google.cloud.documentai.v1beta2.Document.Page.Layout] for + // [Paragraph][google.cloud.documentai.v1beta2.Document.Page.Paragraph]. Layout layout = 1; // A list of detected languages together with confidence. repeated DetectedLanguage detected_languages = 2; + + // The history of this annotation. + Provenance provenance = 3 [deprecated = true]; } // A collection of tokens that a human would perceive as a line. // Does not cross column boundaries, can be horizontal, vertical, etc. message Line { - // [Layout][google.cloud.documentai.v1beta2.Document.Page.Layout] for [Line][google.cloud.documentai.v1beta2.Document.Page.Line]. + // [Layout][google.cloud.documentai.v1beta2.Document.Page.Layout] for + // [Line][google.cloud.documentai.v1beta2.Document.Page.Line]. Layout layout = 1; // A list of detected languages together with confidence. repeated DetectedLanguage detected_languages = 2; + + // The history of this annotation. + Provenance provenance = 3 [deprecated = true]; } // A detected token. message Token { - // Detected break at the end of a [Token][google.cloud.documentai.v1beta2.Document.Page.Token]. + // Detected break at the end of a + // [Token][google.cloud.documentai.v1beta2.Document.Page.Token]. message DetectedBreak { // Enum to denote the type of break found. enum Type { @@ -220,23 +285,96 @@ message Document { Type type = 1; } - // [Layout][google.cloud.documentai.v1beta2.Document.Page.Layout] for [Token][google.cloud.documentai.v1beta2.Document.Page.Token]. + // Font and other text style attributes. + message StyleInfo { + // Font size in points (`1` point is `¹⁄₇₂` inches). + int32 font_size = 1; + + // Font size in pixels, equal to _unrounded + // [font_size][google.cloud.documentai.v1beta2.Document.Page.Token.StyleInfo.font_size]_ + // * _resolution_ ÷ `72.0`. + double pixel_font_size = 2; + + // Letter spacing in points. + double letter_spacing = 3; + + // Name or style of the font. + string font_type = 4; + + // Whether the text is bold (equivalent to + // [font_weight][google.cloud.documentai.v1beta2.Document.Page.Token.StyleInfo.font_weight] + // is at least `700`). + bool bold = 5; + + // Whether the text is italic. + bool italic = 6; + + // Whether the text is underlined. + bool underlined = 7; + + // Whether the text is strikethrough. + bool strikeout = 8; + + // Whether the text is a subscript. + bool subscript = 9; + + // Whether the text is a superscript. + bool superscript = 10; + + // Whether the text is in small caps. + bool smallcaps = 11; + + // TrueType weight on a scale `100` (thin) to `1000` (ultra-heavy). + // Normal is `400`, bold is `700`. + int32 font_weight = 12; + + // Whether the text is handwritten. + bool handwritten = 13; + + // Color of the text. + google.type.Color text_color = 14; + + // Color of the background. + google.type.Color background_color = 15; + } + + // [Layout][google.cloud.documentai.v1beta2.Document.Page.Layout] for + // [Token][google.cloud.documentai.v1beta2.Document.Page.Token]. Layout layout = 1; - // Detected break at the end of a [Token][google.cloud.documentai.v1beta2.Document.Page.Token]. + // Detected break at the end of a + // [Token][google.cloud.documentai.v1beta2.Document.Page.Token]. DetectedBreak detected_break = 2; // A list of detected languages together with confidence. repeated DetectedLanguage detected_languages = 3; + + // The history of this annotation. + Provenance provenance = 4 [deprecated = true]; + + // Text style attributes. + StyleInfo style_info = 5; + } + + // A detected symbol. + message Symbol { + // [Layout][google.cloud.documentai.v1beta2.Document.Page.Layout] for + // [Symbol][google.cloud.documentai.v1beta2.Document.Page.Symbol]. + Layout layout = 1; + + // A list of detected languages together with confidence. + repeated DetectedLanguage detected_languages = 2; } // Detected non-text visual elements e.g. checkbox, signature etc. on the // page. message VisualElement { - // [Layout][google.cloud.documentai.v1beta2.Document.Page.Layout] for [VisualElement][google.cloud.documentai.v1beta2.Document.Page.VisualElement]. + // [Layout][google.cloud.documentai.v1beta2.Document.Page.Layout] for + // [VisualElement][google.cloud.documentai.v1beta2.Document.Page.VisualElement]. Layout layout = 1; - // Type of the [VisualElement][google.cloud.documentai.v1beta2.Document.Page.VisualElement]. + // Type of the + // [VisualElement][google.cloud.documentai.v1beta2.Document.Page.VisualElement]. string type = 2; // A list of detected languages together with confidence. @@ -253,7 +391,8 @@ message Document { // A cell representation inside the table. message TableCell { - // [Layout][google.cloud.documentai.v1beta2.Document.Page.Layout] for [TableCell][google.cloud.documentai.v1beta2.Document.Page.Table.TableCell]. + // [Layout][google.cloud.documentai.v1beta2.Document.Page.Layout] for + // [TableCell][google.cloud.documentai.v1beta2.Document.Page.Table.TableCell]. Layout layout = 1; // How many rows this cell spans. @@ -266,7 +405,8 @@ message Document { repeated DetectedLanguage detected_languages = 4; } - // [Layout][google.cloud.documentai.v1beta2.Document.Page.Layout] for [Table][google.cloud.documentai.v1beta2.Document.Page.Table]. + // [Layout][google.cloud.documentai.v1beta2.Document.Page.Layout] for + // [Table][google.cloud.documentai.v1beta2.Document.Page.Table]. Layout layout = 1; // Header rows of the table. @@ -277,15 +417,21 @@ message Document { // A list of detected languages together with confidence. repeated DetectedLanguage detected_languages = 4; + + // The history of this table. + Provenance provenance = 5 [deprecated = true]; } // A form field detected on the page. message FormField { - // [Layout][google.cloud.documentai.v1beta2.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1beta2.Document.Page.FormField] name. e.g. `Address`, `Email`, - // `Grand total`, `Phone number`, etc. + // [Layout][google.cloud.documentai.v1beta2.Document.Page.Layout] for the + // [FormField][google.cloud.documentai.v1beta2.Document.Page.FormField] + // name. e.g. `Address`, `Email`, `Grand total`, `Phone number`, etc. Layout field_name = 1; - // [Layout][google.cloud.documentai.v1beta2.Document.Page.Layout] for the [FormField][google.cloud.documentai.v1beta2.Document.Page.FormField] value. + // [Layout][google.cloud.documentai.v1beta2.Document.Page.Layout] for the + // [FormField][google.cloud.documentai.v1beta2.Document.Page.FormField] + // value. Layout field_value = 2; // A list of detected languages for name together with confidence. @@ -296,38 +442,98 @@ message Document { // If the value is non-textual, this field represents the type. Current // valid values are: - // - blank (this indicates the field_value is normal text) - // - "unfilled_checkbox" - // - "filled_checkbox" + // + // - blank (this indicates the `field_value` is normal text) + // - `unfilled_checkbox` + // - `filled_checkbox` string value_type = 5; - // An internal field, created for Labeling UI to export key text. + // Created for Labeling UI to export key text. + // If corrections were made to the text identified by the + // `field_name.text_anchor`, this field will contain the correction. string corrected_key_text = 6; - // An internal field, created for Labeling UI to export value text. + // Created for Labeling UI to export value text. + // If corrections were made to the text identified by the + // `field_value.text_anchor`, this field will contain the correction. string corrected_value_text = 7; + + // The history of this annotation. + Provenance provenance = 8; + } + + // A detected barcode. + message DetectedBarcode { + // [Layout][google.cloud.documentai.v1beta2.Document.Page.Layout] for + // [DetectedBarcode][google.cloud.documentai.v1beta2.Document.Page.DetectedBarcode]. + Layout layout = 1; + + // Detailed barcode information of the + // [DetectedBarcode][google.cloud.documentai.v1beta2.Document.Page.DetectedBarcode]. + Barcode barcode = 2; } // Detected language for a structural component. message DetectedLanguage { - // The BCP-47 language code, such as "en-US" or "sr-Latn". For more - // information, see - // http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. + // The [BCP-47 language + // code](https://www.unicode.org/reports/tr35/#Unicode_locale_identifier), + // such as `en-US` or `sr-Latn`. string language_code = 1; - // Confidence of detected language. Range [0, 1]. + // Confidence of detected language. Range `[0, 1]`. float confidence = 2; } - // 1-based index for current [Page][google.cloud.documentai.v1beta2.Document.Page] in a parent [Document][google.cloud.documentai.v1beta2.Document]. - // Useful when a page is taken out of a [Document][google.cloud.documentai.v1beta2.Document] for individual - // processing. + // Image quality scores for the page image. + message ImageQualityScores { + // Image Quality Defects + message DetectedDefect { + // Name of the defect type. Supported values are: + // + // - `quality/defect_blurry` + // - `quality/defect_noisy` + // - `quality/defect_dark` + // - `quality/defect_faint` + // - `quality/defect_text_too_small` + // - `quality/defect_document_cutoff` + // - `quality/defect_text_cutoff` + // - `quality/defect_glare` + string type = 1; + + // Confidence of detected defect. Range `[0, 1]` where `1` indicates + // strong confidence that the defect exists. + float confidence = 2; + } + + // The overall quality score. Range `[0, 1]` where `1` is perfect quality. + float quality_score = 1; + + // A list of detected defects. + repeated DetectedDefect detected_defects = 2; + } + + // 1-based index for current + // [Page][google.cloud.documentai.v1beta2.Document.Page] in a parent + // [Document][google.cloud.documentai.v1beta2.Document]. Useful when a page + // is taken out of a [Document][google.cloud.documentai.v1beta2.Document] + // for individual processing. int32 page_number = 1; + // Rendered image for this page. This image is preprocessed to remove any + // skew, rotation, and distortions such that the annotation bounding boxes + // can be upright and axis-aligned. + Image image = 13; + + // Transformation matrices that were applied to the original document image + // to produce + // [Page.image][google.cloud.documentai.v1beta2.Document.Page.image]. + repeated Matrix transforms = 14; + // Physical dimension of the page. Dimension dimension = 2; - // [Layout][google.cloud.documentai.v1beta2.Document.Page.Layout] for the page. + // [Layout][google.cloud.documentai.v1beta2.Document.Page.Layout] for the + // page. Layout layout = 3; // A list of detected languages together with confidence. @@ -358,37 +564,118 @@ message Document { // A list of visually detected form fields on the page. repeated FormField form_fields = 11; + + // A list of visually detected symbols on the page. + repeated Symbol symbols = 12; + + // A list of detected barcodes. + repeated DetectedBarcode detected_barcodes = 15; + + // Image quality scores. + ImageQualityScores image_quality_scores = 17; + + // The history of this page. + Provenance provenance = 16 [deprecated = true]; } - // A phrase in the text that is a known entity type, such as a person, an - // organization, or location. + // An entity that could be a phrase in the text or a property that belongs to + // the document. It is a known entity type, such as a person, an organization, + // or location. message Entity { - // Provenance of the entity. - // Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta2.Document.text]. - TextAnchor text_anchor = 1; + // Parsed and normalized entity value. + message NormalizedValue { + // An optional structured entity value. + // Must match entity type defined in schema if + // known. If this field is present, the `text` field could also be + // populated. + oneof structured_value { + // Money value. See also: + // https://github.com/googleapis/googleapis/blob/master/google/type/money.proto + google.type.Money money_value = 2; + + // Date value. Includes year, month, day. See also: + // https://github.com/googleapis/googleapis/blob/master/google/type/date.proto + google.type.Date date_value = 3; + + // DateTime value. Includes date, time, and timezone. See also: + // https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto + google.type.DateTime datetime_value = 4; + + // Postal address. See also: + // https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto + google.type.PostalAddress address_value = 5; + + // Boolean value. Can be used for entities with binary values, or for + // checkboxes. + bool boolean_value = 6; + + // Integer value. + int32 integer_value = 7; + + // Float value. + float float_value = 8; + } + + // Optional. An optional field to store a normalized string. + // For some entity types, one of respective `structured_value` fields may + // also be populated. Also not all the types of `structured_value` will be + // normalized. For example, some processors may not generate `float` + // or `integer` normalized text by default. + // + // Below are sample formats mapped to structured values. + // + // - Money/Currency type (`money_value`) is in the ISO 4217 text format. + // - Date type (`date_value`) is in the ISO 8601 text format. + // - Datetime type (`datetime_value`) is in the ISO 8601 text format. + string text = 1 [(google.api.field_behavior) = OPTIONAL]; + } + + // Optional. Provenance of the entity. + // Text anchor indexing into the + // [Document.text][google.cloud.documentai.v1beta2.Document.text]. + TextAnchor text_anchor = 1 [(google.api.field_behavior) = OPTIONAL]; // Required. Entity type from a schema e.g. `Address`. string type = 2 [(google.api.field_behavior) = REQUIRED]; - // Text value in the document e.g. `1600 Amphitheatre Pkwy`. - string mention_text = 3; + // Optional. Text value of the entity e.g. `1600 Amphitheatre Pkwy`. + string mention_text = 3 [(google.api.field_behavior) = OPTIONAL]; - // Deprecated. Use `id` field instead. - string mention_id = 4; + // Optional. Deprecated. Use `id` field instead. + string mention_id = 4 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Confidence of detected Schema entity. Range [0, 1]. + // Optional. Confidence of detected Schema entity. Range `[0, 1]`. float confidence = 5 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Represents the provenance of this entity wrt. the location on the - // page where it was found. + // Optional. Represents the provenance of this entity wrt. the location on + // the page where it was found. PageAnchor page_anchor = 6 [(google.api.field_behavior) = OPTIONAL]; // Optional. Canonical id. This will be a unique value in the entity list // for this document. string id = 7 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Normalized entity value. Absent if the extracted value could + // not be converted or the type (e.g. address) is not supported for certain + // parsers. This field is also only populated for certain supported document + // types. + NormalizedValue normalized_value = 9 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Entities can be nested to form a hierarchical data structure + // representing the content in the document. + repeated Entity properties = 10 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The history of this annotation. + Provenance provenance = 11 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Whether the entity will be redacted for de-identification + // purposes. + bool redacted = 12 [(google.api.field_behavior) = OPTIONAL]; } - // Relationship between [Entities][google.cloud.documentai.v1beta2.Document.Entity]. + // Relationship between + // [Entities][google.cloud.documentai.v1beta2.Document.Entity]. message EntityRelation { // Subject entity id. string subject_id = 1; @@ -400,29 +687,40 @@ message Document { string relation = 3; } - // Text reference indexing into the [Document.text][google.cloud.documentai.v1beta2.Document.text]. + // Text reference indexing into the + // [Document.text][google.cloud.documentai.v1beta2.Document.text]. message TextAnchor { - // A text segment in the [Document.text][google.cloud.documentai.v1beta2.Document.text]. The indices may be out of bounds - // which indicate that the text extends into another document shard for - // large sharded documents. See [ShardInfo.text_offset][google.cloud.documentai.v1beta2.Document.ShardInfo.text_offset] + // A text segment in the + // [Document.text][google.cloud.documentai.v1beta2.Document.text]. The + // indices may be out of bounds which indicate that the text extends into + // another document shard for large sharded documents. See + // [ShardInfo.text_offset][google.cloud.documentai.v1beta2.Document.ShardInfo.text_offset] message TextSegment { - // [TextSegment][google.cloud.documentai.v1beta2.Document.TextAnchor.TextSegment] start UTF-8 char index in the [Document.text][google.cloud.documentai.v1beta2.Document.text]. + // [TextSegment][google.cloud.documentai.v1beta2.Document.TextAnchor.TextSegment] + // start UTF-8 char index in the + // [Document.text][google.cloud.documentai.v1beta2.Document.text]. int64 start_index = 1; - // [TextSegment][google.cloud.documentai.v1beta2.Document.TextAnchor.TextSegment] half open end UTF-8 char index in the + // [TextSegment][google.cloud.documentai.v1beta2.Document.TextAnchor.TextSegment] + // half open end UTF-8 char index in the // [Document.text][google.cloud.documentai.v1beta2.Document.text]. int64 end_index = 2; } - // The text segments from the [Document.text][google.cloud.documentai.v1beta2.Document.text]. + // The text segments from the + // [Document.text][google.cloud.documentai.v1beta2.Document.text]. repeated TextSegment text_segments = 1; // Contains the content of the text span so that users do - // not have to look it up in the text_segments. + // not have to look it up in the text_segments. It is always + // populated for formFields. string content = 2; } - // Referencing elements in [Document.pages][google.cloud.documentai.v1beta2.Document.pages]. + // Referencing the visual context of the entity in the + // [Document.pages][google.cloud.documentai.v1beta2.Document.pages]. Page + // anchors can be cross-page, consist of multiple bounding polygons and + // optionally reference specific layout element types. message PageAnchor { // Represents a weak reference to a page element within a document. message PageRef { @@ -431,81 +729,243 @@ message Document { // Layout Unspecified. LAYOUT_TYPE_UNSPECIFIED = 0; - // References a [Page.blocks][google.cloud.documentai.v1beta2.Document.Page.blocks] element. + // References a + // [Page.blocks][google.cloud.documentai.v1beta2.Document.Page.blocks] + // element. BLOCK = 1; - // References a [Page.paragraphs][google.cloud.documentai.v1beta2.Document.Page.paragraphs] element. + // References a + // [Page.paragraphs][google.cloud.documentai.v1beta2.Document.Page.paragraphs] + // element. PARAGRAPH = 2; - // References a [Page.lines][google.cloud.documentai.v1beta2.Document.Page.lines] element. + // References a + // [Page.lines][google.cloud.documentai.v1beta2.Document.Page.lines] + // element. LINE = 3; - // References a [Page.tokens][google.cloud.documentai.v1beta2.Document.Page.tokens] element. + // References a + // [Page.tokens][google.cloud.documentai.v1beta2.Document.Page.tokens] + // element. TOKEN = 4; - // References a [Page.visual_elements][google.cloud.documentai.v1beta2.Document.Page.visual_elements] element. + // References a + // [Page.visual_elements][google.cloud.documentai.v1beta2.Document.Page.visual_elements] + // element. VISUAL_ELEMENT = 5; - // Refrrences a [Page.tables][google.cloud.documentai.v1beta2.Document.Page.tables] element. + // Refrrences a + // [Page.tables][google.cloud.documentai.v1beta2.Document.Page.tables] + // element. TABLE = 6; - // References a [Page.form_fields][google.cloud.documentai.v1beta2.Document.Page.form_fields] element. + // References a + // [Page.form_fields][google.cloud.documentai.v1beta2.Document.Page.form_fields] + // element. FORM_FIELD = 7; } - // Required. Index into the [Document.pages][google.cloud.documentai.v1beta2.Document.pages] element + // Required. Index into the + // [Document.pages][google.cloud.documentai.v1beta2.Document.pages] + // element, for example using + // `[Document.pages][page_refs.page]` to locate the related page element. + // This field is skipped when its value is the default `0`. See + // https://developers.google.com/protocol-buffers/docs/proto3#json. int64 page = 1 [(google.api.field_behavior) = REQUIRED]; - // Optional. The type of the layout element that is being referenced. If not - // specified the whole page is assumed to be referenced. + // Optional. The type of the layout element that is being referenced if + // any. LayoutType layout_type = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. The [Page.Layout.id][google.cloud.documentai.v1beta2.Document.Page.Layout.id] on the page that this element - // references. If [LayoutRef.type][] is specified this id must also be - // specified. - string layout_id = 3 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Deprecated. Use + // [PageRef.bounding_poly][google.cloud.documentai.v1beta2.Document.PageAnchor.PageRef.bounding_poly] + // instead. + string layout_id = 3 + [deprecated = true, (google.api.field_behavior) = OPTIONAL]; + + // Optional. Identifies the bounding polygon of a layout element on the + // page. + BoundingPoly bounding_poly = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Confidence of detected page element, if applicable. Range + // `[0, 1]`. + float confidence = 5 [(google.api.field_behavior) = OPTIONAL]; } // One or more references to visual page elements repeated PageRef page_refs = 1; } + // Structure to identify provenance relationships between annotations in + // different revisions. + message Provenance { + // The parent element the current element is based on. Used for + // referencing/aligning, removal and replacement operations. + message Parent { + // The index of the index into current revision's parent_ids list. + int32 revision = 1; + + // The index of the parent item in the corresponding item list (eg. list + // of entities, properties within entities, etc.) in the parent revision. + int32 index = 3; + + // The id of the parent provenance. + int32 id = 2 [deprecated = true]; + } + + // If a processor or agent does an explicit operation on existing elements. + enum OperationType { + // Operation type unspecified. If no operation is specified a provenance + // entry is simply used to match against a `parent`. + OPERATION_TYPE_UNSPECIFIED = 0; + + // Add an element. + ADD = 1; + + // Remove an element identified by `parent`. + REMOVE = 2; + + // Updates any fields within the given provenance scope of the message. It + // overwrites the fields rather than replacing them. Use this when you + // want to update a field value of an entity without also updating all the + // child properties. + UPDATE = 7; + + // Currently unused. Replace an element identified by `parent`. + REPLACE = 3; + + // Deprecated. Request human review for the element identified by + // `parent`. + EVAL_REQUESTED = 4 [deprecated = true]; + + // Deprecated. Element is reviewed and approved at human review, + // confidence will be set to 1.0. + EVAL_APPROVED = 5 [deprecated = true]; + + // Deprecated. Element is skipped in the validation process. + EVAL_SKIPPED = 6 [deprecated = true]; + } + + // The index of the revision that produced this element. + int32 revision = 1 [deprecated = true]; + + // The Id of this operation. Needs to be unique within the scope of the + // revision. + int32 id = 2 [deprecated = true]; + + // References to the original elements that are replaced. + repeated Parent parents = 3; + + // The type of provenance operation. + OperationType type = 4; + } + + // Contains past or forward revisions of this document. + message Revision { + // Human Review information of the document. + message HumanReview { + // Human review state. e.g. `requested`, `succeeded`, `rejected`. + string state = 1; + + // A message providing more details about the current state of processing. + // For example, the rejection reason when the state is `rejected`. + string state_message = 2; + } + + // Who/what made the change + oneof source { + // If the change was made by a person specify the name or id of that + // person. + string agent = 4; + + // If the annotation was made by processor identify the processor by its + // resource name. + string processor = 5; + } + + // Id of the revision, internally generated by doc proto storage. + // Unique within the context of the document. + string id = 1; + + // The revisions that this revision is based on. This can include one or + // more parent (when documents are merged.) This field represents the + // index into the `revisions` field. + repeated int32 parent = 2 [deprecated = true]; + + // The revisions that this revision is based on. Must include all the ids + // that have anything to do with this revision - eg. there are + // `provenance.parent.revision` fields that index into this field. + repeated string parent_ids = 7; + + // The time that the revision was created, internally generated by + // doc proto storage at the time of create. + google.protobuf.Timestamp create_time = 3; + + // Human Review information of this revision. + HumanReview human_review = 6; + } + + // This message is used for text changes aka. OCR corrections. + message TextChange { + // Provenance of the correction. + // Text anchor indexing into the + // [Document.text][google.cloud.documentai.v1beta2.Document.text]. There + // can only be a single `TextAnchor.text_segments` element. If the start + // and end index of the text segment are the same, the text change is + // inserted before that index. + TextAnchor text_anchor = 1; + + // The text that replaces the text identified in the `text_anchor`. + string changed_text = 2; + + // The history of this annotation. + repeated Provenance provenance = 3 [deprecated = true]; + } + // Original source document from the user. oneof source { - // Currently supports Google Cloud Storage URI of the form - // `gs://bucket_name/object_name`. Object versioning is not supported. - // See [Google Cloud Storage Request - // URIs](https://cloud.google.com/storage/docs/reference-uris) for more - // info. - string uri = 1; - - // Inline document content, represented as a stream of bytes. + // Optional. Currently supports Google Cloud Storage URI of the form + // `gs://bucket_name/object_name`. Object versioning is not supported. + // For more information, refer to [Google Cloud Storage Request + // URIs](https://cloud.google.com/storage/docs/reference-uris). + string uri = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Inline document content, represented as a stream of bytes. // Note: As with all `bytes` fields, protobuffers use a pure binary // representation, whereas JSON representations use base64. - bytes content = 2; + bytes content = 2 [(google.api.field_behavior) = OPTIONAL]; } - // An IANA published MIME type (also referred to as media type). For more - // information, see - // https://www.iana.org/assignments/media-types/media-types.xhtml. + // An IANA published [media type (MIME + // type)](https://www.iana.org/assignments/media-types/media-types.xhtml). string mime_type = 3; - // UTF-8 encoded text in reading order from the document. - string text = 4; + // Optional. UTF-8 encoded text in reading order from the document. + string text = 4 [(google.api.field_behavior) = OPTIONAL]; - // Styles for the [Document.text][google.cloud.documentai.v1beta2.Document.text]. - repeated Style text_styles = 5; + // Styles for the + // [Document.text][google.cloud.documentai.v1beta2.Document.text]. + repeated Style text_styles = 5 [deprecated = true]; - // Visual page layout for the [Document][google.cloud.documentai.v1beta2.Document]. + // Visual page layout for the + // [Document][google.cloud.documentai.v1beta2.Document]. repeated Page pages = 6; - // A list of entities detected on [Document.text][google.cloud.documentai.v1beta2.Document.text]. For document shards, - // entities in this list may cross shard boundaries. + // A list of entities detected on + // [Document.text][google.cloud.documentai.v1beta2.Document.text]. For + // document shards, entities in this list may cross shard boundaries. repeated Entity entities = 7; - // Relationship among [Document.entities][google.cloud.documentai.v1beta2.Document.entities]. + // Placeholder. Relationship among + // [Document.entities][google.cloud.documentai.v1beta2.Document.entities]. repeated EntityRelation entity_relations = 8; + // Placeholder. A list of text corrections made to + // [Document.text][google.cloud.documentai.v1beta2.Document.text]. This is + // usually used for annotating corrections to OCR mistakes. Text changes for + // a given revision may not overlap with each other. + repeated TextChange text_changes = 14; + // Information about the sharding if this document is sharded part of a larger // document. If the document is not sharded, this message is not specified. ShardInfo shard_info = 9; @@ -515,4 +975,7 @@ message Document { // Any error that occurred while processing this document. google.rpc.Status error = 10; + + // Placeholder. Revision history of this document. + repeated Revision revisions = 13; } diff --git a/third_party/googleapis/google/cloud/documentai/v1beta2/document_understanding.proto b/third_party/googleapis/google/cloud/documentai/v1beta2/document_understanding.proto index 19cb22da6..cdfff1bd0 100644 --- a/third_party/googleapis/google/cloud/documentai/v1beta2/document_understanding.proto +++ b/third_party/googleapis/google/cloud/documentai/v1beta2/document_understanding.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -37,11 +37,13 @@ option ruby_package = "Google::Cloud::DocumentAI::V1beta2"; // computer vision, and translation. service DocumentUnderstandingService { option (google.api.default_host) = "documentai.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // LRO endpoint to batch process many documents. The output is written // to Cloud Storage as JSON in the [Document] format. - rpc BatchProcessDocuments(BatchProcessDocumentsRequest) returns (google.longrunning.Operation) { + rpc BatchProcessDocuments(BatchProcessDocumentsRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1beta2/{parent=projects/*/locations/*}/documents:batchProcess" body: "*" @@ -74,7 +76,8 @@ service DocumentUnderstandingService { // is written to Cloud Storage as JSON in the [Document] format. message BatchProcessDocumentsRequest { // Required. Individual requests for each document. - repeated ProcessDocumentRequest requests = 1 [(google.api.field_behavior) = REQUIRED]; + repeated ProcessDocumentRequest requests = 1 + [(google.api.field_behavior) = REQUIRED]; // Target project and location to make a call. // @@ -97,9 +100,9 @@ message ProcessDocumentRequest { // Required. Information about the input file. InputConfig input_config = 1 [(google.api.field_behavior) = REQUIRED]; - // Optional. The desired output location. This field is only needed in + // The desired output location. This field is only needed in // BatchProcessDocumentsRequest. - OutputConfig output_config = 2 [(google.api.field_behavior) = OPTIONAL]; + OutputConfig output_config = 2; // Specifies a known document type for deeper structure detection. Valid // values are currently "general" and "invoice". If not provided, "general"\ @@ -165,10 +168,10 @@ message TableExtractionParams { // Optional. Table bounding box hints that can be provided to complex cases // which our algorithm cannot locate the table(s) in. - repeated TableBoundHint table_bound_hints = 2 [(google.api.field_behavior) = OPTIONAL]; + repeated TableBoundHint table_bound_hints = 2 + [(google.api.field_behavior) = OPTIONAL]; - // Optional. Table header hints. The extraction will bias towards producing - // these terms as table headers, which may improve accuracy. + // Optional. Reserved for future use. repeated string header_hints = 3 [(google.api.field_behavior) = OPTIONAL]; // Model version of the table extraction system. Default is "builtin/stable". @@ -193,29 +196,18 @@ message FormExtractionParams { // Whether to enable form extraction. bool enabled = 1; - // User can provide pairs of (key text, value type) to improve the parsing - // result. - // - // For example, if a document has a field called "Date" that holds a date - // value and a field called "Amount" that may hold either a currency value - // (e.g., "$500.00") or a simple number value (e.g., "20"), you could use the - // following hints: [ {"key": "Date", value_types: [ "DATE"]}, {"key": - // "Amount", "value_types": [ "PRICE", "NUMBER" ]} ] - // - // If the value type is unknown, but you want to provide hints for the keys, - // you can leave the value_types field blank. e.g. {"key": "Date", - // "value_types": []} + // Reserved for future use. repeated KeyValuePairHint key_value_pair_hints = 2; // Model version of the form extraction system. Default is // "builtin/stable". Specify "builtin/latest" for the latest model. - // For custom form models, specify: “custom/{model_name}". Model name + // For custom form models, specify: "custom/{model_name}". Model name // format is "bucket_name/path/to/modeldir" corresponding to // "gs://bucket_name/path/to/modeldir" where annotated examples are stored. string model_version = 3; } -// User-provided hint for key value pair. +// Reserved for future use. message KeyValuePairHint { // The key text for the hint. string key = 1; @@ -261,11 +253,12 @@ message InputConfig { bytes contents = 3; } - // Required. Mimetype of the input. Current supported mimetypes are application/pdf, - // image/tiff, and image/gif. - // In addition, application/json type is supported for requests with - // [ProcessDocumentRequest.automl_params][google.cloud.documentai.v1beta2.ProcessDocumentRequest.automl_params] field set. The JSON file needs to - // be in [Document][google.cloud.documentai.v1beta2.Document] format. + // Required. Mimetype of the input. Current supported mimetypes are + // application/pdf, image/tiff, and image/gif. In addition, application/json + // type is supported for requests with + // [ProcessDocumentRequest.automl_params][google.cloud.documentai.v1beta2.ProcessDocumentRequest.automl_params] + // field set. The JSON file needs to be in + // [Document][google.cloud.documentai.v1beta2.Document] format. string mime_type = 2 [(google.api.field_behavior) = REQUIRED]; } diff --git a/third_party/googleapis/google/cloud/documentai/v1beta2/documentai_v1beta2.yaml b/third_party/googleapis/google/cloud/documentai/v1beta2/documentai_v1beta2.yaml index 1b068dcbc..48d681958 100644 --- a/third_party/googleapis/google/cloud/documentai/v1beta2/documentai_v1beta2.yaml +++ b/third_party/googleapis/google/cloud/documentai/v1beta2/documentai_v1beta2.yaml @@ -5,6 +5,8 @@ title: Cloud Document AI API apis: - name: google.cloud.documentai.v1beta2.DocumentUnderstandingService +- name: google.cloud.location.Locations +- name: google.longrunning.Operations types: - name: google.cloud.documentai.v1beta2.BatchProcessDocumentsResponse @@ -16,6 +18,28 @@ documentation: Service to parse structured information from unstructured or semi-structured documents using state-of-the-art Google AI such as natural language, computer vision, translation, and AutoML. + rules: + - selector: google.cloud.location.Locations.GetLocation + description: Gets information about a location. + + - selector: google.cloud.location.Locations.ListLocations + description: Lists information about the supported locations for this service. + +http: + rules: + - selector: google.cloud.location.Locations.GetLocation + get: '/uiv1beta3/{name=projects/*/locations/*}' + - selector: google.cloud.location.Locations.ListLocations + get: '/uiv1beta3/{name=projects/*}/locations' + - selector: google.longrunning.Operations.CancelOperation + post: '/uiv1beta3/{name=projects/*/locations/*/operations/*}:cancel' + - selector: google.longrunning.Operations.GetOperation + get: '/v1beta2/{name=projects/*/operations/*}' + additional_bindings: + - get: '/v1beta2/{name=projects/*/locations/*/operations/*}' + - get: '/uiv1beta3/{name=projects/*/locations/*/operations/*}' + - selector: google.longrunning.Operations.ListOperations + get: '/uiv1beta3/{name=projects/*/locations/*/operations}' authentication: rules: @@ -27,7 +51,30 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform + - selector: google.cloud.location.Locations.GetLocation + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform + - selector: google.cloud.location.Locations.ListLocations + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform - selector: 'google.longrunning.Operations.*' oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform + +publishing: + documentation_uri: https://cloud.google.com/document-ai/docs + github_label: 'api: documentai' + organization: CLOUD + library_settings: + - version: google.cloud.documentai.v1 + dotnet_settings: + ignored_resources: + - documentai.googleapis.com/Location + - version: google.cloud.documentai.v1beta3 + dotnet_settings: + ignored_resources: + - documentai.googleapis.com/Location + proto_reference_documentation_uri: https://cloud.google.com/document-ai/docs/reference/rpc diff --git a/third_party/googleapis/google/cloud/documentai/v1beta2/geometry.proto b/third_party/googleapis/google/cloud/documentai/v1beta2/geometry.proto index 060e51059..5f2458460 100644 --- a/third_party/googleapis/google/cloud/documentai/v1beta2/geometry.proto +++ b/third_party/googleapis/google/cloud/documentai/v1beta2/geometry.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,7 +16,6 @@ syntax = "proto3"; package google.cloud.documentai.v1beta2; - option csharp_namespace = "Google.Cloud.DocumentAI.V1Beta2"; option go_package = "cloud.google.com/go/documentai/apiv1beta2/documentaipb;documentaipb"; option java_multiple_files = true; @@ -31,7 +30,7 @@ message Vertex { // X coordinate. int32 x = 1; - // Y coordinate. + // Y coordinate (starts from the top of the image). int32 y = 2; } @@ -42,7 +41,7 @@ message NormalizedVertex { // X coordinate. float x = 1; - // Y coordinate. + // Y coordinate (starts from the top of the image). float y = 2; } diff --git a/third_party/googleapis/google/cloud/documentai/v1beta3/BUILD.bazel b/third_party/googleapis/google/cloud/documentai/v1beta3/BUILD.bazel index 9bc5e2042..491e43de2 100644 --- a/third_party/googleapis/google/cloud/documentai/v1beta3/BUILD.bazel +++ b/third_party/googleapis/google/cloud/documentai/v1beta3/BUILD.bazel @@ -22,10 +22,12 @@ proto_library( name = "documentai_proto", srcs = [ "barcode.proto", + "dataset.proto", "document.proto", "document_io.proto", "document_processor_service.proto", "document_schema.proto", + "document_service.proto", "evaluation.proto", "geometry.proto", "operation_metadata.proto", @@ -91,8 +93,8 @@ java_gapic_library( rest_numeric_enums = True, service_yaml = "documentai_v1beta3.yaml", test_deps = [ - ":documentai_java_grpc", "//google/cloud/location:location_java_grpc", + ":documentai_java_grpc", ], transport = "grpc+rest", deps = [ @@ -107,6 +109,8 @@ java_gapic_test( test_classes = [ "com.google.cloud.documentai.v1beta3.DocumentProcessorServiceClientHttpJsonTest", "com.google.cloud.documentai.v1beta3.DocumentProcessorServiceClientTest", + "com.google.cloud.documentai.v1beta3.DocumentServiceClientHttpJsonTest", + "com.google.cloud.documentai.v1beta3.DocumentServiceClientTest", ], runtime_deps = [":documentai_java_gapic_test"], ) @@ -132,7 +136,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -172,19 +175,13 @@ go_gapic_library( ], ) -go_test( - name = "documentai_go_gapic_test", - srcs = [":documentai_go_gapic_srcjar_test"], - embed = [":documentai_go_gapic"], - importpath = "cloud.google.com/go/documentai/apiv1beta3", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-documentai-v1beta3-go", deps = [ ":documentai_go_gapic", ":documentai_go_gapic_srcjar-metadata.srcjar", + ":documentai_go_gapic_srcjar-snippets.srcjar", ":documentai_go_gapic_srcjar-test.srcjar", ":documentai_go_proto", ], @@ -237,7 +234,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -246,21 +242,15 @@ php_proto_library( deps = [":documentai_proto"], ) -php_grpc_library( - name = "documentai_php_grpc", - srcs = [":documentai_proto"], - deps = [":documentai_php_proto"], -) - php_gapic_library( name = "documentai_php_gapic", srcs = [":documentai_proto_with_info"], grpc_service_config = "documentai_v1beta3_grpc_service_config.json", + migration_mode = "PRE_MIGRATION_SURFACE_ONLY", rest_numeric_enums = True, service_yaml = "documentai_v1beta3.yaml", transport = "grpc+rest", deps = [ - ":documentai_php_grpc", ":documentai_php_proto", ], ) @@ -270,7 +260,6 @@ php_gapic_assembly_pkg( name = "google-cloud-documentai-v1beta3-php", deps = [ ":documentai_php_gapic", - ":documentai_php_grpc", ":documentai_php_proto", ], ) @@ -343,6 +332,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Document AI uses machine learning on a single cloud-based platform to automatically classify, extract, and enrich data within your documents to unlock insights.", ruby_cloud_title = "Document AI V1beta3", service_yaml = "documentai_v1beta3.yaml", + transport = "grpc+rest", deps = [ ":documentai_ruby_grpc", ":documentai_ruby_proto", @@ -372,6 +362,7 @@ load( csharp_proto_library( name = "documentai_csharp_proto", + extra_opts = [""], deps = [":documentai_proto"], ) diff --git a/third_party/googleapis/google/cloud/documentai/v1beta3/barcode.proto b/third_party/googleapis/google/cloud/documentai/v1beta3/barcode.proto index a5148172b..f0580e69a 100644 --- a/third_party/googleapis/google/cloud/documentai/v1beta3/barcode.proto +++ b/third_party/googleapis/google/cloud/documentai/v1beta3/barcode.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/documentai/v1beta3/document.proto b/third_party/googleapis/google/cloud/documentai/v1beta3/document.proto index 193f7700d..aeb805b21 100644 --- a/third_party/googleapis/google/cloud/documentai/v1beta3/document.proto +++ b/third_party/googleapis/google/cloud/documentai/v1beta3/document.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -64,7 +64,8 @@ message Document { // Font size for the text. float size = 1; - // Unit for the font size. Follows CSS naming (in, px, pt, etc.). + // Unit for the font size. Follows CSS naming (such as `in`, `px`, and + // `pt`). string unit = 2; } @@ -78,17 +79,18 @@ message Document { // Text background color. google.type.Color background_color = 3; - // Font weight. Possible values are normal, bold, bolder, and lighter. - // https://www.w3schools.com/cssref/pr_font_weight.asp + // [Font weight](https://www.w3schools.com/cssref/pr_font_weight.asp). + // Possible values are `normal`, `bold`, `bolder`, and `lighter`. string font_weight = 4; - // Text style. Possible values are normal, italic, and oblique. - // https://www.w3schools.com/cssref/pr_font_font-style.asp + // [Text style](https://www.w3schools.com/cssref/pr_font_font-style.asp). + // Possible values are `normal`, `italic`, and `oblique`. string text_style = 5; - // Text decoration. Follows CSS standard. - // - // https://www.w3schools.com/cssref/pr_text_text-decoration.asp + // [Text + // decoration](https://www.w3schools.com/cssref/pr_text_text-decoration.asp). + // Follows CSS standard. + // string text_decoration = 6; // Font size. @@ -118,7 +120,9 @@ message Document { // Raw byte content of the image. bytes content = 1; - // Encoding mime type for the image. + // Encoding [media type (MIME + // type)](https://www.iana.org/assignments/media-types/media-types.xhtml) + // for the image. string mime_type = 2; // Width of the image in pixels. @@ -255,6 +259,59 @@ message Document { Type type = 1; } + // Font and other text style attributes. + message StyleInfo { + // Font size in points (`1` point is `¹⁄₇₂` inches). + int32 font_size = 1; + + // Font size in pixels, equal to _unrounded + // [font_size][google.cloud.documentai.v1beta3.Document.Page.Token.StyleInfo.font_size]_ + // * _resolution_ ÷ `72.0`. + double pixel_font_size = 2; + + // Letter spacing in points. + double letter_spacing = 3; + + // Name or style of the font. + string font_type = 4; + + // Whether the text is bold (equivalent to + // [font_weight][google.cloud.documentai.v1beta3.Document.Page.Token.StyleInfo.font_weight] + // is at least `700`). + bool bold = 5; + + // Whether the text is italic. + bool italic = 6; + + // Whether the text is underlined. + bool underlined = 7; + + // Whether the text is strikethrough. + bool strikeout = 8; + + // Whether the text is a subscript. + bool subscript = 9; + + // Whether the text is a superscript. + bool superscript = 10; + + // Whether the text is in small caps. + bool smallcaps = 11; + + // TrueType weight on a scale `100` (thin) to `1000` (ultra-heavy). + // Normal is `400`, bold is `700`. + int32 font_weight = 12; + + // Whether the text is handwritten. + bool handwritten = 13; + + // Color of the text. + google.type.Color text_color = 14; + + // Color of the background. + google.type.Color background_color = 15; + } + // [Layout][google.cloud.documentai.v1beta3.Document.Page.Layout] for // [Token][google.cloud.documentai.v1beta3.Document.Page.Token]. Layout layout = 1; @@ -268,6 +325,9 @@ message Document { // The history of this annotation. Provenance provenance = 4 [deprecated = true]; + + // Text style attributes. + StyleInfo style_info = 5; } // A detected symbol. @@ -333,7 +393,7 @@ message Document { repeated DetectedLanguage detected_languages = 4; // The history of this table. - Provenance provenance = 5; + Provenance provenance = 5 [deprecated = true]; } // A form field detected on the page. @@ -389,16 +449,16 @@ message Document { // Detected language for a structural component. message DetectedLanguage { - // The BCP-47 language code, such as `en-US` or `sr-Latn`. For more - // information, see - // https://www.unicode.org/reports/tr35/#Unicode_locale_identifier. + // The [BCP-47 language + // code](https://www.unicode.org/reports/tr35/#Unicode_locale_identifier), + // such as `en-US` or `sr-Latn`. string language_code = 1; // Confidence of detected language. Range `[0, 1]`. float confidence = 2; } - // Image Quality Scores for the page image + // Image quality scores for the page image. message ImageQualityScores { // Image Quality Defects message DetectedDefect { @@ -414,12 +474,12 @@ message Document { // - `quality/defect_glare` string type = 1; - // Confidence of detected defect. Range `[0, 1]` where 1 indicates - // strong confidence of that the defect exists. + // Confidence of detected defect. Range `[0, 1]` where `1` indicates + // strong confidence that the defect exists. float confidence = 2; } - // The overall quality score. Range `[0, 1]` where 1 is perfect quality. + // The overall quality score. Range `[0, 1]` where `1` is perfect quality. float quality_score = 1; // A list of detected defects. @@ -485,7 +545,7 @@ message Document { // A list of detected barcodes. repeated DetectedBarcode detected_barcodes = 15; - // Image Quality Scores. + // Image quality scores. ImageQualityScores image_quality_scores = 17; // The history of this page. @@ -698,7 +758,8 @@ message Document { [deprecated = true, (google.api.field_behavior) = OPTIONAL]; // Optional. Identifies the bounding polygon of a layout element on the - // page. + // page. If `layout_type` is set, the bounding polygon must be exactly the + // same to the layout element it's referring to. BoundingPoly bounding_poly = 4 [(google.api.field_behavior) = OPTIONAL]; // Optional. Confidence of detected page element, if applicable. Range @@ -740,13 +801,13 @@ message Document { REMOVE = 2; // Updates any fields within the given provenance scope of the message. It - // 'overwrites' the fields rather than replacing them. This is - // especially relevant when we just want to update a field value of an - // entity without also affecting all the child properties. + // overwrites the fields rather than replacing them. Use this when you + // want to update a field value of an entity without also updating all the + // child properties. UPDATE = 7; // Currently unused. Replace an element identified by `parent`. - REPLACE = 3 [deprecated = true]; + REPLACE = 3; // Deprecated. Request human review for the element identified by // `parent`. @@ -839,10 +900,9 @@ message Document { // Original source document from the user. oneof source { // Optional. Currently supports Google Cloud Storage URI of the form - // `gs://bucket_name/object_name`. Object versioning is not supported. - // See [Google Cloud Storage Request - // URIs](https://cloud.google.com/storage/docs/reference-uris) for more - // info. + // `gs://bucket_name/object_name`. Object versioning is not supported. + // For more information, refer to [Google Cloud Storage Request + // URIs](https://cloud.google.com/storage/docs/reference-uris). string uri = 1 [(google.api.field_behavior) = OPTIONAL]; // Optional. Inline document content, represented as a stream of bytes. @@ -851,9 +911,8 @@ message Document { bytes content = 2 [(google.api.field_behavior) = OPTIONAL]; } - // An IANA published MIME type (also referred to as media type). For more - // information, see - // https://www.iana.org/assignments/media-types/media-types.xhtml. + // An IANA published [media type (MIME + // type)](https://www.iana.org/assignments/media-types/media-types.xhtml). string mime_type = 3; // Optional. UTF-8 encoded text in reading order from the document. @@ -892,3 +951,35 @@ message Document { // Placeholder. Revision history of this document. repeated Revision revisions = 13; } + +// The revision reference specifies which revision on the document to read. +message RevisionRef { + // Some predefined revision cases. + enum RevisionCase { + // Unspecified case, fall back to read the `LATEST_HUMAN_REVIEW`. + REVISION_CASE_UNSPECIFIED = 0; + + // The latest revision made by a human. + LATEST_HUMAN_REVIEW = 1; + + // The latest revision based on timestamp. + LATEST_TIMESTAMP = 2; + + // The first (OCR) revision. + BASE_OCR_REVISION = 3; + } + + // Specifies which revision to read. + oneof source { + // Reads the revision by the predefined case. + RevisionCase revision_case = 1; + + // Reads the revision given by the id. + string revision_id = 2; + + // Reads the revision generated by the processor version. + // The format takes the full resource name of processor version. + // `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}` + string latest_processor_version = 3; + } +} diff --git a/third_party/googleapis/google/cloud/documentai/v1beta3/document_io.proto b/third_party/googleapis/google/cloud/documentai/v1beta3/document_io.proto index 8c831c58d..d4027030d 100644 --- a/third_party/googleapis/google/cloud/documentai/v1beta3/document_io.proto +++ b/third_party/googleapis/google/cloud/documentai/v1beta3/document_io.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -34,6 +34,13 @@ message RawDocument { // An IANA MIME type (RFC6838) indicating the nature and format of the // [content][google.cloud.documentai.v1beta3.RawDocument.content]. string mime_type = 2; + + // The display name of the document, it supports all Unicode characters except + // the following: + // `*`, `?`, `[`, `]`, `%`, `{`, `}`,`'`, `\"`, `,` + // `~`, `=` and `:` are reserved. + // If not specified, a default ID is generated. + string display_name = 3; } // Specifies a document stored on Cloud Storage. @@ -104,10 +111,64 @@ message DocumentOutputConfig { // Config for Document OCR. message OcrConfig { + // Hints for OCR Engine + message Hints { + // List of BCP-47 language codes to use for OCR. In most cases, not + // specifying it yields the best results since it enables automatic language + // detection. For languages based on the Latin alphabet, setting hints is + // not needed. In rare cases, when the language of the text in the + // image is known, setting a hint will help get better results (although it + // will be a significant hindrance if the hint is wrong). + repeated string language_hints = 1; + } + + // Configurations for premium OCR features. + message PremiumFeatures { + // Turn on selection mark detector in OCR engine. Only available in OCR 2.0 + // (and later) processors. + bool enable_selection_mark_detection = 3; + + // Turn on font identification model and return font style information. + bool compute_style_info = 4; + + // Turn on the model that can extract LaTeX math formulas. + bool enable_math_ocr = 5; + } + + // Hints for the OCR model. + Hints hints = 2; + // Enables special handling for PDFs with existing text information. Results // in better text extraction quality in such PDF inputs. bool enable_native_pdf_parsing = 3; - // A list of advanced OCR options to further fine-tune OCR behavior. + // Enables intelligent document quality scores after OCR. Can help with + // diagnosing why OCR responses are of poor quality for a given input. + // Adds additional latency comparable to regular OCR to the process call. + bool enable_image_quality_scores = 4; + + // A list of advanced OCR options to further fine-tune OCR behavior. Current + // valid values are: + // + // - `legacy_layout`: a heuristics layout detection algorithm, which serves as + // an alternative to the current ML-based layout detection algorithm. + // Customers can choose the best suitable layout algorithm based on their + // situation. repeated string advanced_ocr_options = 5; + + // Includes symbol level OCR information if set to true. + bool enable_symbol = 6; + + // Turn on font identification model and return font style information. + // Deprecated, use + // [PremiumFeatures.compute_style_info][google.cloud.documentai.v1beta3.OcrConfig.PremiumFeatures.compute_style_info] + // instead. + bool compute_style_info = 8 [deprecated = true]; + + // Turn off character box detector in OCR engine. Character box detection is + // enabled by default in OCR 2.0 (and later) processors. + bool disable_character_boxes_detection = 10; + + // Configurations for premium OCR features. + PremiumFeatures premium_features = 11; } diff --git a/third_party/googleapis/google/cloud/documentai/v1beta3/document_processor_service.proto b/third_party/googleapis/google/cloud/documentai/v1beta3/document_processor_service.proto index 689ce0674..39b9f4074 100644 --- a/third_party/googleapis/google/cloud/documentai/v1beta3/document_processor_service.proto +++ b/third_party/googleapis/google/cloud/documentai/v1beta3/document_processor_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -28,6 +28,7 @@ import "google/cloud/documentai/v1beta3/operation_metadata.proto"; import "google/cloud/documentai/v1beta3/processor.proto"; import "google/cloud/documentai/v1beta3/processor_type.proto"; import "google/longrunning/operations.proto"; +import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; @@ -48,7 +49,7 @@ option (google.api.resource_definition) = { pattern: "projects/{project}/locations/{location}" }; -// Service to call Cloud DocumentAI to process documents according to the +// Service to call Document AI to process documents according to the // processor's definition. Processors are built using state-of-the-art Google // AI such as natural language, computer vision, and translation to extract // structured information from unstructured or semi-structured documents. @@ -89,8 +90,9 @@ service DocumentProcessorService { }; } - // Fetches processor types. Note that we do not use ListProcessorTypes here - // because it is not paginated. + // Fetches processor types. Note that we don't use + // [ListProcessorTypes][google.cloud.documentai.v1beta3.DocumentProcessorService.ListProcessorTypes] + // here, because it isn't paginated. rpc FetchProcessorTypes(FetchProcessorTypesRequest) returns (FetchProcessorTypesResponse) { option (google.api.http) = { @@ -134,7 +136,7 @@ service DocumentProcessorService { // Trains a new processor version. // Operation metadata is returned as - // cloud_documentai_core.TrainProcessorVersionMetadata. + // [TrainProcessorVersionMetadata][google.cloud.documentai.v1beta3.TrainProcessorVersionMetadata]. rpc TrainProcessorVersion(TrainProcessorVersionRequest) returns (google.longrunning.Operation) { option (google.api.http) = { @@ -208,8 +210,9 @@ service DocumentProcessorService { }; } - // Creates a processor from the type processor that the user chose. - // The processor will be at "ENABLED" state by default after its creation. + // Creates a processor from the + // [ProcessorType][google.cloud.documentai.v1beta3.ProcessorType] provided. + // The processor will be at `ENABLED` state by default after its creation. rpc CreateProcessor(CreateProcessorRequest) returns (Processor) { option (google.api.http) = { post: "/v1beta3/{parent=projects/*/locations/*}/processors" @@ -321,16 +324,63 @@ service DocumentProcessorService { }; option (google.api.method_signature) = "parent"; } + + // Imports a processor version from source processor version. + rpc ImportProcessorVersion(ImportProcessorVersionRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1beta3/{parent=projects/*/locations/*/processors/*}/processorVersions:importProcessorVersion" + body: "*" + }; + option (google.api.method_signature) = "parent"; + option (google.longrunning.operation_info) = { + response_type: "ImportProcessorVersionResponse" + metadata_type: "ImportProcessorVersionMetadata" + }; + } } // Options for Process API message ProcessOptions { - // Only applicable to "Document OCR Processor". Returns error if set on other - // processor types. + // A list of individual page numbers. + message IndividualPageSelector { + // Optional. Indices of the pages (starting from 1). + repeated int32 pages = 1 [(google.api.field_behavior) = OPTIONAL]; + } + + // A subset of pages to process. If not specified, all pages are processed. + // If a page range is set, only the given pages are extracted and processed + // from the document. In the output document, + // [Document.Page.page_number][google.cloud.documentai.v1beta3.Document.Page.page_number] + // refers to the page number in the original document. This configuration + // only applies to sync requests. + oneof page_range { + // Which pages to process (1-indexed). + IndividualPageSelector individual_page_selector = 5; + + // Only process certain pages from the start. Process all if the document + // has fewer pages. + int32 from_start = 6; + + // Only process certain pages from the end, same as above. + int32 from_end = 7; + } + + // Only applicable to `OCR_PROCESSOR` and `FORM_PARSER_PROCESSOR`. + // Returns error if set on other processor types. OcrConfig ocr_config = 1; + + // Optional. Override the schema of the + // [ProcessorVersion][google.cloud.documentai.v1beta3.ProcessorVersion]. Will + // return an Invalid Argument error if this field is set when the underlying + // [ProcessorVersion][google.cloud.documentai.v1beta3.ProcessorVersion] + // doesn't support schema override. + DocumentSchema schema_override = 8 [(google.api.field_behavior) = OPTIONAL]; } -// Request message for the process document method. +// Request message for the +// [ProcessDocument][google.cloud.documentai.v1beta3.DocumentProcessorService.ProcessDocument] +// method. message ProcessRequest { // The document payload. oneof source { @@ -339,6 +389,9 @@ message ProcessRequest { // A raw document content (bytes). RawDocument raw_document = 5; + + // A raw document on Google Cloud Storage. + GcsDocument gcs_document = 8; } // Required. The resource name of the @@ -356,20 +409,32 @@ message ProcessRequest { (google.api.resource_reference) = { type: "*" } ]; - // The document payload, the [content] and [mime_type] fields must be set. + // The document payload, the + // [content][google.cloud.documentai.v1beta3.Document.content] and + // [mime_type][google.cloud.documentai.v1beta3.Document.mime_type] fields must + // be set. Document document = 2 [deprecated = true]; - // Whether Human Review feature should be skipped for this request. Default to - // false. + // Whether human review should be skipped for this request. Default to + // `false`. bool skip_human_review = 3; - // Specifies which fields to include in ProcessResponse's document. - // Only supports top level document and pages field so it must be in the form - // of `{document_field_name}` or `pages.{page_field_name}`. + // Specifies which fields to include in the + // [ProcessResponse.document][google.cloud.documentai.v1beta3.ProcessResponse.document] + // output. Only supports top-level document and pages field, so it must be in + // the form of `{document_field_name}` or `pages.{page_field_name}`. google.protobuf.FieldMask field_mask = 6; // Inference-time options for the process API ProcessOptions process_options = 7; + + // Optional. The labels with user-defined metadata for the request. + // + // Label keys and values can be no longer than 63 characters + // (Unicode codepoints) and can only contain lowercase letters, numeric + // characters, underscores, and dashes. International characters are allowed. + // Label values are optional. Label keys must start with a letter. + map labels = 10 [(google.api.field_behavior) = OPTIONAL]; } // The status of human review on a processed document. @@ -380,7 +445,7 @@ message HumanReviewStatus { STATE_UNSPECIFIED = 0; // Human review is skipped for the document. This can happen because human - // review is not enabled on the processor or the processing request has + // review isn't enabled on the processor or the processing request has // been set to skip this document. SKIPPED = 1; @@ -391,7 +456,8 @@ message HumanReviewStatus { IN_PROGRESS = 3; // Some error happened during triggering human review, see the - // [state_message] for details. + // [state_message][google.cloud.documentai.v1beta3.HumanReviewStatus.state_message] + // for details. ERROR = 4; } @@ -402,29 +468,34 @@ message HumanReviewStatus { string state_message = 2; // The name of the operation triggered by the processed document. This field - // is populated only when the [state] is [HUMAN_REVIEW_IN_PROGRESS]. It has - // the same response type and metadata as the long running operation returned - // by [ReviewDocument] method. + // is populated only when the + // [state][google.cloud.documentai.v1beta3.HumanReviewStatus.state] is + // `HUMAN_REVIEW_IN_PROGRESS`. It has the same response type and metadata as + // the long-running operation returned by + // [ReviewDocument][google.cloud.documentai.v1beta3.DocumentProcessorService.ReviewDocument]. string human_review_operation = 3; } -// Response message for the process document method. +// Response message for the +// [ProcessDocument][google.cloud.documentai.v1beta3.DocumentProcessorService.ProcessDocument] +// method. message ProcessResponse { // The document payload, will populate fields based on the processor's // behavior. Document document = 1; // The name of the operation triggered by the processed document. If the human - // review process is not triggered, this field will be empty. It has the same - // response type and metadata as the long running operation returned by - // ReviewDocument method. + // review process isn't triggered, this field is empty. It has the same + // response type and metadata as the long-running operation returned by + // [ReviewDocument][google.cloud.documentai.v1beta3.DocumentProcessorService.ReviewDocument]. string human_review_operation = 2 [deprecated = true]; // The status of human review on the processed document. HumanReviewStatus human_review_status = 3; } -// Request message for batch process document method. +// Request message for +// [BatchProcessDocuments][google.cloud.documentai.v1beta3.DocumentProcessorService.BatchProcessDocuments]. message BatchProcessRequest { // The message for input config in batch process. message BatchInputConfig { @@ -433,13 +504,19 @@ message BatchProcessRequest { // The Cloud Storage location as the source of the document. string gcs_source = 1; - // Mimetype of the input. If the input is a raw document, the supported - // mimetypes are application/pdf, image/tiff, and image/gif. - // If the input is a [Document] proto, the type should be application/json. + // An IANA published [media type (MIME + // type)](https://www.iana.org/assignments/media-types/media-types.xhtml) of + // the input. If the input is a raw document, refer to [supported file + // types](https://cloud.google.com/document-ai/docs/file-types) for the list + // of media types. If the input is a + // [Document][google.cloud.documentai.v1beta3.Document], the type should be + // `application/json`. string mime_type = 2; } - // The message for output config in batch process. + // The output configuration in the + // [BatchProcessDocuments][google.cloud.documentai.v1beta3.DocumentProcessorService.BatchProcessDocuments] + // method. message BatchOutputConfig { option deprecated = true; @@ -464,44 +541,60 @@ message BatchProcessRequest { // The overall output config for batch process. BatchOutputConfig output_config = 3 [deprecated = true]; - // The input documents for batch process. + // The input documents for the + // [BatchProcessDocuments][google.cloud.documentai.v1beta3.DocumentProcessorService.BatchProcessDocuments] + // method. BatchDocumentsInputConfig input_documents = 5; - // The overall output config for batch process. + // The output configuration for the + // [BatchProcessDocuments][google.cloud.documentai.v1beta3.DocumentProcessorService.BatchProcessDocuments] + // method. DocumentOutputConfig document_output_config = 6; - // Whether Human Review feature should be skipped for this request. Default to - // false. + // Whether human review should be skipped for this request. Default to + // `false`. bool skip_human_review = 4; // Inference-time options for the process API ProcessOptions process_options = 7; + + // Optional. The labels with user-defined metadata for the request. + // + // Label keys and values can be no longer than 63 characters + // (Unicode codepoints) and can only contain lowercase letters, numeric + // characters, underscores, and dashes. International characters are allowed. + // Label values are optional. Label keys must start with a letter. + map labels = 9 [(google.api.field_behavior) = OPTIONAL]; } -// Response message for batch process document method. +// Response message for +// [BatchProcessDocuments][google.cloud.documentai.v1beta3.DocumentProcessorService.BatchProcessDocuments]. message BatchProcessResponse {} -// The long running operation metadata for batch process method. +// The long-running operation metadata for +// [BatchProcessDocuments][google.cloud.documentai.v1beta3.DocumentProcessorService.BatchProcessDocuments]. message BatchProcessMetadata { // The status of a each individual document in the batch process. message IndividualProcessStatus { - // The source of the document, same as the [input_gcs_source] field in the - // request when the batch process started. The batch process is started by - // take snapshot of that document, since a user can move or change that - // document during the process. + // The source of the document, same as the + // [input_gcs_source][google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus.input_gcs_source] + // field in the request when the batch process started. string input_gcs_source = 1; // The status processing the document. google.rpc.Status status = 2; - // The output_gcs_destination (in the request as `output_gcs_destination`) + // The Cloud Storage output destination (in the request as + // [DocumentOutputConfig.GcsOutputConfig.gcs_uri][google.cloud.documentai.v1beta3.DocumentOutputConfig.GcsOutputConfig.gcs_uri]) // of the processed document if it was successful, otherwise empty. string output_gcs_destination = 3; // The name of the operation triggered by the processed document. If the - // human review process is not triggered, this field will be empty. It has - // the same response type and metadata as the long running operation - // returned by ReviewDocument method. + // human review process isn't triggered, this field will be empty. It has + // the same response type and metadata as the long-running operation + // returned by the + // [ReviewDocument][google.cloud.documentai.v1beta3.DocumentProcessorService.ReviewDocument] + // method. string human_review_operation = 4 [deprecated = true]; // The status of human review on the processed document. @@ -549,11 +642,13 @@ message BatchProcessMetadata { repeated IndividualProcessStatus individual_process_statuses = 5; } -// Request message for fetch processor types. +// Request message for the +// [FetchProcessorTypes][google.cloud.documentai.v1beta3.DocumentProcessorService.FetchProcessorTypes] +// method. Some processor types may require the project be added to an +// allowlist. message FetchProcessorTypesRequest { - // Required. The project of processor type to list. - // The available processor types may depend on the allow-listing on projects. - // Format: `projects/{project}/locations/{location}` + // Required. The location of processor types to list. + // Format: `projects/{project}/locations/{location}`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -562,17 +657,21 @@ message FetchProcessorTypesRequest { ]; } -// Response message for fetch processor types. +// Response message for the +// [FetchProcessorTypes][google.cloud.documentai.v1beta3.DocumentProcessorService.FetchProcessorTypes] +// method. message FetchProcessorTypesResponse { // The list of processor types. repeated ProcessorType processor_types = 1; } -// Request message for list processor types. +// Request message for the +// [ListProcessorTypes][google.cloud.documentai.v1beta3.DocumentProcessorService.ListProcessorTypes] +// method. Some processor types may require the project be added to an +// allowlist. message ListProcessorTypesRequest { - // Required. The location of processor type to list. - // The available processor types may depend on the allow-listing on projects. - // Format: `projects/{project}/locations/{location}` + // Required. The location of processor types to list. + // Format: `projects/{project}/locations/{location}`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -581,15 +680,17 @@ message ListProcessorTypesRequest { ]; // The maximum number of processor types to return. - // If unspecified, at most 100 processor types will be returned. - // The maximum value is 500; values above 500 will be coerced to 500. + // If unspecified, at most `100` processor types will be returned. + // The maximum value is `500`. Values above `500` will be coerced to `500`. int32 page_size = 2; // Used to retrieve the next page of results, empty if at the end of the list. string page_token = 3; } -// Response message for list processor types. +// Response message for the +// [ListProcessorTypes][google.cloud.documentai.v1beta3.DocumentProcessorService.ListProcessorTypes] +// method. message ListProcessorTypesResponse { // The processor types. repeated ProcessorType processor_types = 1; @@ -610,8 +711,8 @@ message ListProcessorsRequest { ]; // The maximum number of processors to return. - // If unspecified, at most 50 processors will be returned. - // The maximum value is 100; values above 100 will be coerced to 100. + // If unspecified, at most `50` processors will be returned. + // The maximum value is `100`. Values above `100` will be coerced to `100`. int32 page_size = 2; // We will return the processors sorted by creation time. The page token @@ -619,7 +720,9 @@ message ListProcessorsRequest { string page_token = 3; } -// Response message for list processors. +// Response message for the +// [ListProcessors][google.cloud.documentai.v1beta3.DocumentProcessorService.ListProcessors] +// method. message ListProcessorsResponse { // The list of processors. repeated Processor processors = 1; @@ -628,7 +731,9 @@ message ListProcessorsResponse { string next_page_token = 2; } -// Request message for get processor. +// Request message for the +// [GetProcessorType][google.cloud.documentai.v1beta3.DocumentProcessorService.GetProcessorType] +// method. message GetProcessorTypeRequest { // Required. The processor type resource name. string name = 1 [ @@ -639,7 +744,9 @@ message GetProcessorTypeRequest { ]; } -// Request message for get processor. +// Request message for the +// [GetProcessor][google.cloud.documentai.v1beta3.DocumentProcessorService.GetProcessor] +// method. message GetProcessorRequest { // Required. The processor resource name. string name = 1 [ @@ -650,7 +757,9 @@ message GetProcessorRequest { ]; } -// Request message for get processor version. +// Request message for the +// [GetProcessorVersion][google.cloud.documentai.v1beta3.DocumentProcessorService.GetProcessorVersion] +// method. message GetProcessorVersionRequest { // Required. The processor resource name. string name = 1 [ @@ -674,8 +783,8 @@ message ListProcessorVersionsRequest { ]; // The maximum number of processor versions to return. - // If unspecified, at most 10 processor versions will be returned. - // The maximum value is 20; values above 20 will be coerced to 20. + // If unspecified, at most `10` processor versions will be returned. + // The maximum value is `20`. Values above `20` will be coerced to `20`. int32 page_size = 2; // We will return the processor versions sorted by creation time. The page @@ -683,7 +792,9 @@ message ListProcessorVersionsRequest { string page_token = 3; } -// Response message for list processors. +// Response message for the +// [ListProcessorVersions][google.cloud.documentai.v1beta3.DocumentProcessorService.ListProcessorVersions] +// method. message ListProcessorVersionsResponse { // The list of processors. repeated ProcessorVersion processor_versions = 1; @@ -692,7 +803,9 @@ message ListProcessorVersionsResponse { string next_page_token = 2; } -// Request message for the delete processor version method. +// Request message for the +// [DeleteProcessorVersion][google.cloud.documentai.v1beta3.DocumentProcessorService.DeleteProcessorVersion] +// method. message DeleteProcessorVersionRequest { // Required. The processor version resource name to be deleted. string name = 1 [ @@ -703,13 +816,17 @@ message DeleteProcessorVersionRequest { ]; } -// The long running operation metadata for delete processor version method. +// The long-running operation metadata for the +// [DeleteProcessorVersion][google.cloud.documentai.v1beta3.DocumentProcessorService.DeleteProcessorVersion] +// method. message DeleteProcessorVersionMetadata { - // The basic metadata of the long running operation. + // The basic metadata of the long-running operation. CommonOperationMetadata common_metadata = 1; } -// Request message for the deploy processor version method. +// Request message for the +// [DeployProcessorVersion][google.cloud.documentai.v1beta3.DocumentProcessorService.DeployProcessorVersion] +// method. message DeployProcessorVersionRequest { // Required. The processor version resource name to be deployed. string name = 1 [ @@ -720,16 +837,22 @@ message DeployProcessorVersionRequest { ]; } -// Response message for the deploy processor version method. +// Response message for the +// [DeployProcessorVersion][google.cloud.documentai.v1beta3.DocumentProcessorService.DeployProcessorVersion] +// method. message DeployProcessorVersionResponse {} -// The long running operation metadata for deploy processor version method. +// The long-running operation metadata for the +// [DeployProcessorVersion][google.cloud.documentai.v1beta3.DocumentProcessorService.DeployProcessorVersion] +// method. message DeployProcessorVersionMetadata { - // The basic metadata of the long running operation. + // The basic metadata of the long-running operation. CommonOperationMetadata common_metadata = 1; } -// Request message for the undeploy processor version method. +// Request message for the +// [UndeployProcessorVersion][google.cloud.documentai.v1beta3.DocumentProcessorService.UndeployProcessorVersion] +// method. message UndeployProcessorVersionRequest { // Required. The processor version resource name to be undeployed. string name = 1 [ @@ -740,19 +863,24 @@ message UndeployProcessorVersionRequest { ]; } -// Response message for the undeploy processor version method. +// Response message for the +// [UndeployProcessorVersion][google.cloud.documentai.v1beta3.DocumentProcessorService.UndeployProcessorVersion] +// method. message UndeployProcessorVersionResponse {} -// The long running operation metadata for the undeploy processor version +// The long-running operation metadata for the +// [UndeployProcessorVersion][google.cloud.documentai.v1beta3.DocumentProcessorService.UndeployProcessorVersion] // method. message UndeployProcessorVersionMetadata { - // The basic metadata of the long running operation. + // The basic metadata of the long-running operation. CommonOperationMetadata common_metadata = 1; } -// Request message for create a processor. Notice this request is sent to -// a regionalized backend service, and if the processor type is not available -// on that region, the creation will fail. +// Request message for the +// [CreateProcessor][google.cloud.documentai.v1beta3.DocumentProcessorService.CreateProcessor] +// method. Notice this request is sent to a regionalized backend service. If the +// [ProcessorType][google.cloud.documentai.v1beta3.ProcessorType] isn't +// available in that region, the creation fails. message CreateProcessorRequest { // Required. The parent (project and location) under which to create the // processor. Format: `projects/{project}/locations/{location}` @@ -763,13 +891,18 @@ message CreateProcessorRequest { } ]; - // Required. The processor to be created, requires [processor_type] and - // [display_name] to be set. Also, the processor is under CMEK if CMEK fields - // are set. + // Required. The processor to be created, requires + // [Processor.type][google.cloud.documentai.v1beta3.Processor.type] and + // [Processor.display_name][google.cloud.documentai.v1beta3.Processor.display_name] + // to be set. Also, the + // [Processor.kms_key_name][google.cloud.documentai.v1beta3.Processor.kms_key_name] + // field must be set if the processor is under CMEK. Processor processor = 2 [(google.api.field_behavior) = REQUIRED]; } -// Request message for the delete processor method. +// Request message for the +// [DeleteProcessor][google.cloud.documentai.v1beta3.DocumentProcessorService.DeleteProcessor] +// method. message DeleteProcessorRequest { // Required. The processor resource name to be deleted. string name = 1 [ @@ -780,13 +913,17 @@ message DeleteProcessorRequest { ]; } -// The long running operation metadata for delete processor method. +// The long-running operation metadata for the +// [DeleteProcessor][google.cloud.documentai.v1beta3.DocumentProcessorService.DeleteProcessor] +// method. message DeleteProcessorMetadata { - // The basic metadata of the long running operation. + // The basic metadata of the long-running operation. CommonOperationMetadata common_metadata = 5; } -// Request message for the enable processor method. +// Request message for the +// [EnableProcessor][google.cloud.documentai.v1beta3.DocumentProcessorService.EnableProcessor] +// method. message EnableProcessorRequest { // Required. The processor resource name to be enabled. string name = 1 [ @@ -797,17 +934,22 @@ message EnableProcessorRequest { ]; } -// Response message for the enable processor method. -// Intentionally empty proto for adding fields in future. +// Response message for the +// [EnableProcessor][google.cloud.documentai.v1beta3.DocumentProcessorService.EnableProcessor] +// method. Intentionally empty proto for adding fields in future. message EnableProcessorResponse {} -// The long running operation metadata for enable processor method. +// The long-running operation metadata for the +// [EnableProcessor][google.cloud.documentai.v1beta3.DocumentProcessorService.EnableProcessor] +// method. message EnableProcessorMetadata { - // The basic metadata of the long running operation. + // The basic metadata of the long-running operation. CommonOperationMetadata common_metadata = 5; } -// Request message for the disable processor method. +// Request message for the +// [DisableProcessor][google.cloud.documentai.v1beta3.DocumentProcessorService.DisableProcessor] +// method. message DisableProcessorRequest { // Required. The processor resource name to be disabled. string name = 1 [ @@ -818,17 +960,22 @@ message DisableProcessorRequest { ]; } -// Response message for the disable processor method. -// Intentionally empty proto for adding fields in future. +// Response message for the +// [DisableProcessor][google.cloud.documentai.v1beta3.DocumentProcessorService.DisableProcessor] +// method. Intentionally empty proto for adding fields in future. message DisableProcessorResponse {} -// The long running operation metadata for disable processor method. +// The long-running operation metadata for the +// [DisableProcessor][google.cloud.documentai.v1beta3.DocumentProcessorService.DisableProcessor] +// method. message DisableProcessorMetadata { - // The basic metadata of the long running operation. + // The basic metadata of the long-running operation. CommonOperationMetadata common_metadata = 5; } -// Request message for the set default processor version method. +// Request message for the +// [SetDefaultProcessorVersion][google.cloud.documentai.v1beta3.DocumentProcessorService.SetDefaultProcessorVersion] +// method. message SetDefaultProcessorVersionRequest { // Required. The resource name of the // [Processor][google.cloud.documentai.v1beta3.Processor] to change default @@ -852,19 +999,25 @@ message SetDefaultProcessorVersionRequest { ]; } -// Response message for set default processor version method. +// Response message for the +// [SetDefaultProcessorVersion][google.cloud.documentai.v1beta3.DocumentProcessorService.SetDefaultProcessorVersion] +// method. message SetDefaultProcessorVersionResponse {} -// The long running operation metadata for set default processor version +// The long-running operation metadata for the +// [SetDefaultProcessorVersion][google.cloud.documentai.v1beta3.DocumentProcessorService.SetDefaultProcessorVersion] // method. message SetDefaultProcessorVersionMetadata { - // The basic metadata of the long running operation. + // The basic metadata of the long-running operation. CommonOperationMetadata common_metadata = 1; } -// Request message for the create processor version method. +// Request message for the +// [TrainProcessorVersion][google.cloud.documentai.v1beta3.DocumentProcessorService.TrainProcessorVersion] +// method. message TrainProcessorVersionRequest { - // The input data used to train a new `ProcessorVersion`. + // The input data used to train a new + // [ProcessorVersion][google.cloud.documentai.v1beta3.ProcessorVersion]. message InputData { // The documents used for training the new version. BatchDocumentsInputConfig training_documents = 3; @@ -873,6 +1026,43 @@ message TrainProcessorVersionRequest { BatchDocumentsInputConfig test_documents = 4; } + // Options to control the training of the Custom Document Extraction (CDE) + // Processor. + message CustomDocumentExtractionOptions { + // Training Method for CDE. `TRAINING_METHOD_UNSPECIFIED` will fall back to + // `MODEL_BASED`. + enum TrainingMethod { + TRAINING_METHOD_UNSPECIFIED = 0; + + MODEL_BASED = 1; + + TEMPLATE_BASED = 2; + } + + // Training method to use for CDE training. + TrainingMethod training_method = 3; + } + + // Options to control foundation model tuning of the processor. + message FoundationModelTuningOptions { + // Optional. The number of steps to run for model tuning. Valid values are + // between 1 and 400. If not provided, recommended steps will be used. + int32 train_steps = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The multiplier to apply to the recommended learning rate. Valid + // values are between 0.1 and 10. If not provided, recommended learning rate + // will be used. + float learning_rate_multiplier = 3 [(google.api.field_behavior) = OPTIONAL]; + } + + oneof processor_flags { + // Options to control Custom Document Extraction (CDE) Processor. + CustomDocumentExtractionOptions custom_document_extraction_options = 5; + + // Options to control foundation model tuning of a processor. + FoundationModelTuningOptions foundation_model_tuning_options = 12; + } + // Required. The parent (project, location and processor) to create the new // version for. Format: // `projects/{project}/locations/{location}/processors/{processor}`. @@ -890,7 +1080,8 @@ message TrainProcessorVersionRequest { // Optional. The schema the processor version will be trained with. DocumentSchema document_schema = 10 [(google.api.field_behavior) = OPTIONAL]; - // Optional. The input data used to train the `ProcessorVersion`. + // Optional. The input data used to train the + // [ProcessorVersion][google.cloud.documentai.v1beta3.ProcessorVersion]. InputData input_data = 4 [(google.api.field_behavior) = OPTIONAL]; // Optional. The processor version to use as a base for training. This @@ -899,7 +1090,8 @@ message TrainProcessorVersionRequest { string base_processor_version = 8 [(google.api.field_behavior) = OPTIONAL]; } -// The response for the TrainProcessorVersion method. +// The response for +// [TrainProcessorVersion][google.cloud.documentai.v1beta3.DocumentProcessorService.TrainProcessorVersion]. message TrainProcessorVersionResponse { // The resource name of the processor version produced by training. string processor_version = 1; @@ -927,7 +1119,7 @@ message TrainProcessorVersionMetadata { repeated google.rpc.Status dataset_errors = 2; } - // The basic metadata of the long running operation. + // The basic metadata of the long-running operation. CommonOperationMetadata common_metadata = 1; // The training dataset validation information. @@ -937,7 +1129,9 @@ message TrainProcessorVersionMetadata { DatasetValidation test_dataset_validation = 3; } -// Request message for review document method. +// Request message for the +// [ReviewDocument][google.cloud.documentai.v1beta3.DocumentProcessorService.ReviewDocument] +// method. message ReviewDocumentRequest { // The priority level of the human review task. enum Priority { @@ -955,8 +1149,9 @@ message ReviewDocumentRequest { Document inline_document = 4; } - // Required. The resource name of the HumanReviewConfig that the document will - // be reviewed with. + // Required. The resource name of the + // [HumanReviewConfig][google.cloud.documentai.v1beta3.HumanReviewConfig] that + // the document will be reviewed with. string human_review_config = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -977,7 +1172,9 @@ message ReviewDocumentRequest { DocumentSchema document_schema = 6; } -// Response message for review document method. +// Response message for the +// [ReviewDocument][google.cloud.documentai.v1beta3.DocumentProcessorService.ReviewDocument] +// method. message ReviewDocumentResponse { // Possible states of the review operation. enum State { @@ -1002,9 +1199,11 @@ message ReviewDocumentResponse { string rejection_reason = 3; } -// The long running operation metadata for review document method. +// The long-running operation metadata for the +// [ReviewDocument][google.cloud.documentai.v1beta3.DocumentProcessorService.ReviewDocument] +// method. message ReviewDocumentOperationMetadata { - // State of the longrunning operation. + // State of the long-running operation. enum State { // Unspecified state. STATE_UNSPECIFIED = 0; @@ -1038,14 +1237,16 @@ message ReviewDocumentOperationMetadata { // The last update time of the operation. google.protobuf.Timestamp update_time = 4; - // The basic metadata of the long running operation. + // The basic metadata of the long-running operation. CommonOperationMetadata common_metadata = 5; // The Crowd Compute question ID. string question_id = 6; } -// Evaluates the given ProcessorVersion against the supplied documents. +// Evaluates the given +// [ProcessorVersion][google.cloud.documentai.v1beta3.ProcessorVersion] against +// the supplied documents. message EvaluateProcessorVersionRequest { // Required. The resource name of the // [ProcessorVersion][google.cloud.documentai.v1beta3.ProcessorVersion] to @@ -1064,13 +1265,17 @@ message EvaluateProcessorVersionRequest { [(google.api.field_behavior) = OPTIONAL]; } -// Metadata of the EvaluateProcessorVersion method. +// Metadata of the +// [EvaluateProcessorVersion][google.cloud.documentai.v1beta3.DocumentProcessorService.EvaluateProcessorVersion] +// method. message EvaluateProcessorVersionMetadata { - // The basic metadata of the long running operation. + // The basic metadata of the long-running operation. CommonOperationMetadata common_metadata = 1; } -// Metadata of the EvaluateProcessorVersion method. +// Response of the +// [EvaluateProcessorVersion][google.cloud.documentai.v1beta3.DocumentProcessorService.EvaluateProcessorVersion] +// method. message EvaluateProcessorVersionResponse { // The resource name of the created evaluation. string evaluation = 2; @@ -1089,7 +1294,8 @@ message GetEvaluationRequest { ]; } -// Retrieves a list of evaluations for a given ProcessorVersion. +// Retrieves a list of evaluations for a given +// [ProcessorVersion][google.cloud.documentai.v1beta3.ProcessorVersion]. message ListEvaluationsRequest { // Required. The resource name of the // [ProcessorVersion][google.cloud.documentai.v1beta3.ProcessorVersion] to @@ -1103,8 +1309,8 @@ message ListEvaluationsRequest { ]; // The standard list page size. - // If unspecified, at most 5 evaluations will be returned. - // The maximum value is 100; values above 100 will be coerced to 100. + // If unspecified, at most `5` evaluations are returned. + // The maximum value is `100`. Values above `100` are coerced to `100`. int32 page_size = 2; // A page token, received from a previous `ListEvaluations` call. @@ -1112,7 +1318,7 @@ message ListEvaluationsRequest { string page_token = 3; } -// The response from ListEvaluations. +// The response from `ListEvaluations`. message ListEvaluationsResponse { // The evaluations requested. repeated Evaluation evaluations = 1; @@ -1121,3 +1327,73 @@ message ListEvaluationsResponse { // If this field is omitted, there are no subsequent pages. string next_page_token = 2; } + +// The request message for the +// [ImportProcessorVersion][google.cloud.documentai.v1beta3.DocumentProcessorService.ImportProcessorVersion] +// method. +// +// The Document AI [Service +// Agent](https://cloud.google.com/iam/docs/service-agents) of the destination +// project must have [Document AI Editor +// role](https://cloud.google.com/document-ai/docs/access-control/iam-roles) on +// the source project. +// +// The destination project is specified as part of the +// [parent][google.cloud.documentai.v1beta3.ImportProcessorVersionRequest.parent] +// field. The source project is specified as part of the +// [source][google.cloud.documentai.v1beta3.ImportProcessorVersionRequest.processor_version_source] +// or +// [external_processor_version_source][google.cloud.documentai.v1beta3.ImportProcessorVersionRequest.external_processor_version_source] +// field. +message ImportProcessorVersionRequest { + // The external source processor version. + message ExternalProcessorVersionSource { + // Required. The processor version name. Format: + // `projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}` + string processor_version = 1 [(google.api.field_behavior) = REQUIRED]; + + // Optional. The Document AI service endpoint. For example, + // 'https://us-documentai.googleapis.com' + string service_endpoint = 2 [(google.api.field_behavior) = OPTIONAL]; + } + + oneof source { + // The source processor version to import from. The source processor version + // and destination processor need to be in the same environment and region. + string processor_version_source = 2 [(google.api.resource_reference) = { + type: "documentai.googleapis.com/ProcessorVersion" + }]; + + // The source processor version to import from. It can be from a different + // environment and region than the destination processor. + ExternalProcessorVersionSource external_processor_version_source = 3; + } + + // Required. The destination processor name to create the processor version + // in. Format: + // `projects/{project}/locations/{location}/processors/{processor}` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "documentai.googleapis.com/ProcessorVersion" + } + ]; +} + +// The response message for the +// [ImportProcessorVersion][google.cloud.documentai.v1beta3.DocumentProcessorService.ImportProcessorVersion] +// method. +message ImportProcessorVersionResponse { + // The destination processor version name. + string processor_version = 1 [(google.api.resource_reference) = { + type: "documentai.googleapis.com/ProcessorVersion" + }]; +} + +// The long-running operation metadata for the +// [ImportProcessorVersion][google.cloud.documentai.v1beta3.DocumentProcessorService.ImportProcessorVersion] +// method. +message ImportProcessorVersionMetadata { + // The basic metadata for the long-running operation. + CommonOperationMetadata common_metadata = 1; +} diff --git a/third_party/googleapis/google/cloud/documentai/v1beta3/document_schema.proto b/third_party/googleapis/google/cloud/documentai/v1beta3/document_schema.proto index b792319da..86a28d7b6 100644 --- a/third_party/googleapis/google/cloud/documentai/v1beta3/document_schema.proto +++ b/third_party/googleapis/google/cloud/documentai/v1beta3/document_schema.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -24,6 +24,63 @@ option java_package = "com.google.cloud.documentai.v1beta3"; option php_namespace = "Google\\Cloud\\DocumentAI\\V1beta3"; option ruby_package = "Google::Cloud::DocumentAI::V1beta3"; +// Metadata for document summarization. +message SummaryOptions { + // The Length enum. + enum Length { + // Default. + LENGTH_UNSPECIFIED = 0; + + // A brief summary of one or two sentences. + BRIEF = 1; + + // A paragraph-length summary. + MODERATE = 2; + + // The longest option available. + COMPREHENSIVE = 3; + } + + // The Format enum. + enum Format { + // Default. + FORMAT_UNSPECIFIED = 0; + + // Format the output in paragraphs. + PARAGRAPH = 1; + + // Format the output in bullets. + BULLETS = 2; + } + + // How long the summary should be. + Length length = 1; + + // The format the summary should be in. + Format format = 2; +} + +// Metadata for how this field value is extracted. +message FieldExtractionMetadata { + // Summary options config. + SummaryOptions summary_options = 2; +} + +// Metadata about a property. +message PropertyMetadata { + // Whether the property should be considered as "inactive". + bool inactive = 3; + + // Field extraction metadata on the property. + FieldExtractionMetadata field_extraction_metadata = 9; +} + +// Metadata about an entity type. +message EntityTypeMetadata { + // Whether the entity type should be considered inactive. + bool inactive = 5; +} + // The schema defines the output of the processed document by a processor. message DocumentSchema { // EntityType is the wrapper of a label of the corresponding model with @@ -38,20 +95,28 @@ message DocumentSchema { // Defines properties that can be part of the entity type. message Property { - // Types of occurrences of the entity type in the document. Note: this - // represents the number of instances of an entity types, not number of - // mentions of a given entity instance. + // Types of occurrences of the entity type in the document. This + // represents the number of instances, not mentions, of an entity. + // For example, a bank statement might only have one + // `account_number`, but this account number can be mentioned in several + // places on the document. In this case, the `account_number` is + // considered a `REQUIRED_ONCE` entity type. If, on the other hand, we + // expect a bank statement to contain the status of multiple different + // accounts for the customers, the occurrence type is set to + // `REQUIRED_MULTIPLE`. enum OccurrenceType { // Unspecified occurrence type. OCCURRENCE_TYPE_UNSPECIFIED = 0; - // There will be zero or one instance of this entity type. + // There will be zero or one instance of this entity type. The same + // entity instance may be mentioned multiple times. OPTIONAL_ONCE = 1; // The entity type will appear zero or multiple times. OPTIONAL_MULTIPLE = 2; - // The entity type will only appear exactly once. + // The entity type will only appear exactly once. The same + // entity instance may be mentioned multiple times. REQUIRED_ONCE = 3; // The entity type will appear once or more times. @@ -62,6 +127,9 @@ message DocumentSchema { // EntityType name. string name = 1; + // User defined name for the property. + string display_name = 6; + // A reference to the value type of the property. This type is subject // to the same conventions as the `Entity.base_types` field. string value_type = 2; @@ -69,6 +137,9 @@ message DocumentSchema { // Occurrence type limits the number of instances an entity type appears // in the document. OccurrenceType occurrence_type = 3; + + // Any additional metadata about the property can be added here. + PropertyMetadata property_metadata = 5; } oneof value_source { @@ -84,16 +155,15 @@ message DocumentSchema { string display_name = 13; // Name of the type. It must be unique within the schema file and - // cannot be a 'Common Type'. Besides that we use the following naming - // conventions: + // cannot be a "Common Type". The following naming conventions are used: // - // - *use `snake_casing`* - // - name matching is case-sensitive + // - Use `snake_casing`. + // - Name matching is case-sensitive. // - Maximum 64 characters. // - Must start with a letter. // - Allowed characters: ASCII letters `[a-z0-9_-]`. (For backward // compatibility internal infrastructure and tooling can handle any ascii - // character) + // character.) // - The `/` is sometimes used to denote a property of a type. For example // `line_item/amount`. This convention is deprecated, but will still be // honored for backward compatibility. @@ -103,14 +173,17 @@ message DocumentSchema { // one should be set. repeated string base_types = 2; - // Describing the nested structure, or composition of an entity. + // Description the nested structure, or composition of an entity. repeated Property properties = 6; + + // Metadata for the entity type. + EntityTypeMetadata entity_type_metadata = 11; } // Metadata for global schema behavior. message Metadata { - // If true, a `document` entity type can be applied to subdocument ( - // splitting). Otherwise, it can only be applied to the entire document + // If true, a `document` entity type can be applied to subdocument + // (splitting). Otherwise, it can only be applied to the entire document // (classification). bool document_splitter = 1; diff --git a/third_party/googleapis/google/cloud/documentai/v1beta3/documentai_v1beta3.yaml b/third_party/googleapis/google/cloud/documentai/v1beta3/documentai_v1beta3.yaml index 32b9c1c4c..379f2ff83 100644 --- a/third_party/googleapis/google/cloud/documentai/v1beta3/documentai_v1beta3.yaml +++ b/third_party/googleapis/google/cloud/documentai/v1beta3/documentai_v1beta3.yaml @@ -5,12 +5,16 @@ title: Cloud Document AI API apis: - name: google.cloud.documentai.v1beta3.DocumentProcessorService +- name: google.cloud.documentai.v1beta3.DocumentService - name: google.cloud.location.Locations - name: google.longrunning.Operations types: +- name: google.cloud.documentai.v1beta3.BatchDeleteDocumentsMetadata +- name: google.cloud.documentai.v1beta3.BatchDeleteDocumentsResponse - name: google.cloud.documentai.v1beta3.BatchProcessMetadata - name: google.cloud.documentai.v1beta3.BatchProcessResponse +- name: google.cloud.documentai.v1beta3.Dataset - name: google.cloud.documentai.v1beta3.DeleteProcessorMetadata - name: google.cloud.documentai.v1beta3.DeleteProcessorVersionMetadata - name: google.cloud.documentai.v1beta3.DeployProcessorVersionMetadata @@ -21,6 +25,10 @@ types: - name: google.cloud.documentai.v1beta3.EnableProcessorResponse - name: google.cloud.documentai.v1beta3.EvaluateProcessorVersionMetadata - name: google.cloud.documentai.v1beta3.EvaluateProcessorVersionResponse +- name: google.cloud.documentai.v1beta3.ImportDocumentsMetadata +- name: google.cloud.documentai.v1beta3.ImportDocumentsResponse +- name: google.cloud.documentai.v1beta3.ImportProcessorVersionMetadata +- name: google.cloud.documentai.v1beta3.ImportProcessorVersionResponse - name: google.cloud.documentai.v1beta3.ReviewDocumentOperationMetadata - name: google.cloud.documentai.v1beta3.ReviewDocumentResponse - name: google.cloud.documentai.v1beta3.SetDefaultProcessorVersionMetadata @@ -29,6 +37,7 @@ types: - name: google.cloud.documentai.v1beta3.TrainProcessorVersionResponse - name: google.cloud.documentai.v1beta3.UndeployProcessorVersionMetadata - name: google.cloud.documentai.v1beta3.UndeployProcessorVersionResponse +- name: google.cloud.documentai.v1beta3.UpdateDatasetOperationMetadata documentation: summary: |- @@ -71,6 +80,10 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform + - selector: 'google.cloud.documentai.v1beta3.DocumentService.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform - selector: google.cloud.location.Locations.GetLocation oauth: canonical_scopes: |- @@ -83,3 +96,14 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform + +publishing: + documentation_uri: https://cloud.google.com/document-ai/docs + github_label: 'api: documentai' + organization: CLOUD + library_settings: + - version: google.cloud.documentai.v1beta3 + dotnet_settings: + ignored_resources: + - documentai.googleapis.com/Location + proto_reference_documentation_uri: https://cloud.google.com/document-ai/docs/reference/rpc diff --git a/third_party/googleapis/google/cloud/documentai/v1beta3/documentai_v1beta3_grpc_service_config.json b/third_party/googleapis/google/cloud/documentai/v1beta3/documentai_v1beta3_grpc_service_config.json index ad5e39478..e002f3b34 100644 --- a/third_party/googleapis/google/cloud/documentai/v1beta3/documentai_v1beta3_grpc_service_config.json +++ b/third_party/googleapis/google/cloud/documentai/v1beta3/documentai_v1beta3_grpc_service_config.json @@ -5,7 +5,21 @@ { "service": "google.cloud.documentai.v1beta3.DocumentProcessorService", "method": "ProcessDocument" - }, + } + ], + "timeout": "300s", + "retryPolicy": { + "initialBackoff": "0.100s", + "maxBackoff": "60s", + "backoffMultiplier": 1.3, + "retryableStatusCodes": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ] + } + }, + { + "name": [ { "service": "google.cloud.documentai.v1beta3.DocumentProcessorService", "method": "BatchProcessDocuments" diff --git a/third_party/googleapis/google/cloud/documentai/v1beta3/evaluation.proto b/third_party/googleapis/google/cloud/documentai/v1beta3/evaluation.proto index e5087c818..4de7046b6 100644 --- a/third_party/googleapis/google/cloud/documentai/v1beta3/evaluation.proto +++ b/third_party/googleapis/google/cloud/documentai/v1beta3/evaluation.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/documentai/v1beta3/geometry.proto b/third_party/googleapis/google/cloud/documentai/v1beta3/geometry.proto index 05eeac9c4..da949fb19 100644 --- a/third_party/googleapis/google/cloud/documentai/v1beta3/geometry.proto +++ b/third_party/googleapis/google/cloud/documentai/v1beta3/geometry.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/documentai/v1beta3/operation_metadata.proto b/third_party/googleapis/google/cloud/documentai/v1beta3/operation_metadata.proto index e8f757a54..509109aba 100644 --- a/third_party/googleapis/google/cloud/documentai/v1beta3/operation_metadata.proto +++ b/third_party/googleapis/google/cloud/documentai/v1beta3/operation_metadata.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/documentai/v1beta3/processor.proto b/third_party/googleapis/google/cloud/documentai/v1beta3/processor.proto index 7de236e1f..6a4437ac1 100644 --- a/third_party/googleapis/google/cloud/documentai/v1beta3/processor.proto +++ b/third_party/googleapis/google/cloud/documentai/v1beta3/processor.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -31,10 +31,9 @@ option php_namespace = "Google\\Cloud\\DocumentAI\\V1beta3"; option ruby_package = "Google::Cloud::DocumentAI::V1beta3"; // A processor version is an implementation of a processor. Each processor -// can have multiple versions, pre-trained by Google internally or up-trained -// by the customer. At a time, a processor can only have one default version -// version. So the processor's behavior (when processing documents) is defined -// by a default version +// can have multiple versions, pretrained by Google internally or uptrained +// by the customer. A processor can only have one default version at a time. +// Its document-processing behavior is defined by that version. message ProcessorVersion { option (google.api.resource) = { type: "documentai.googleapis.com/ProcessorVersion" @@ -78,6 +77,21 @@ message ProcessorVersion { // The processor version failed and is in an indeterminate state. FAILED = 7; + + // The processor version is being imported. + IMPORTING = 8; + } + + // The possible model types of the processor version. + enum ModelType { + // The processor version has unspecified model type. + MODEL_TYPE_UNSPECIFIED = 0; + + // The processor version has generative model type. + MODEL_TYPE_GENERATIVE = 1; + + // The processor version has custom model type. + MODEL_TYPE_CUSTOM = 2; } // The resource name of the processor version. @@ -106,11 +120,25 @@ message ProcessorVersion { // The KMS key version with which data is encrypted. string kms_key_version_name = 10; - // Denotes that this ProcessorVersion is managed by google. - bool google_managed = 11; + // Output only. Denotes that this `ProcessorVersion` is managed by Google. + bool google_managed = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; // If set, information about the eventual deprecation of this version. DeprecationInfo deprecation_info = 13; + + // Output only. The model type of this processor version. + ModelType model_type = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// Contains the alias and the aliased resource name of processor version. +message ProcessorVersionAlias { + // The alias in the form of `processor_version` resource name. + string alias = 1; + + // The resource name of aliased processor version. + string processor_version = 2 [(google.api.resource_reference) = { + type: "documentai.googleapis.com/ProcessorVersion" + }]; } // The first-class citizen for Document AI. Each processor defines how to @@ -163,8 +191,8 @@ message Processor { (google.api.field_behavior) = OUTPUT_ONLY ]; - // The processor type, e.g., `OCR_PROCESSOR`, `INVOICE_PROCESSOR`, etc. - // To get a list of processors types, see + // The processor type, such as: `OCR_PROCESSOR`, `INVOICE_PROCESSOR`. + // To get a list of processor types, see // [FetchProcessorTypes][google.cloud.documentai.v1beta3.DocumentProcessorService.FetchProcessorTypes]. string type = 2; @@ -179,6 +207,10 @@ message Processor { type: "documentai.googleapis.com/ProcessorVersion" }]; + // Output only. The processor version aliases. + repeated ProcessorVersionAlias processor_version_aliases = 10 + [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Immutable. The http endpoint that can be called to invoke // processing. string process_endpoint = 6 [ @@ -189,7 +221,7 @@ message Processor { // The time the processor was created. google.protobuf.Timestamp create_time = 7; - // The KMS key used for encryption/decryption in CMEK scenarios. - // See https://cloud.google.com/security-key-management. + // The [KMS key](https://cloud.google.com/security-key-management) used for + // encryption and decryption in CMEK scenarios. string kms_key_name = 8; } diff --git a/third_party/googleapis/google/cloud/documentai/v1beta3/processor_type.proto b/third_party/googleapis/google/cloud/documentai/v1beta3/processor_type.proto index 0ff23ffaf..2840eb085 100644 --- a/third_party/googleapis/google/cloud/documentai/v1beta3/processor_type.proto +++ b/third_party/googleapis/google/cloud/documentai/v1beta3/processor_type.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -37,7 +37,8 @@ message ProcessorType { // The location information about where the processor is available. message LocationInfo { - // The location id, currently must be one of [us, eu]. + // The location ID. For supported locations, refer to [regional and + // multi-regional support](/document-ai/docs/regions). string location_id = 1; } @@ -45,7 +46,7 @@ message ProcessorType { // Format: `projects/{project}/processorTypes/{processor_type}` string name = 1; - // The processor type, e.g., `OCR_PROCESSOR`, `INVOICE_PROCESSOR`, etc. + // The processor type, such as: `OCR_PROCESSOR`, `INVOICE_PROCESSOR`. string type = 2; // The processor category, used by UI to group processor types. diff --git a/third_party/googleapis/google/cloud/domains/BUILD.bazel b/third_party/googleapis/google/cloud/domains/BUILD.bazel index 052bd18a9..c1d89de22 100644 --- a/third_party/googleapis/google/cloud/domains/BUILD.bazel +++ b/third_party/googleapis/google/cloud/domains/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-domains", "ruby-cloud-env-prefix=DOMAINS", - "ruby-cloud-wrapper-of=v1:0.0;v1beta1:0.0", + "ruby-cloud-wrapper-of=v1:0.6;v1beta1:0.8", "ruby-cloud-product-url=https://cloud.google.com/domains", "ruby-cloud-api-id=domains.googleapis.com", "ruby-cloud-api-shortname=domains", ], ruby_cloud_description = "The Cloud Domains API provides registration, management and configuration of domain names.", ruby_cloud_title = "Cloud Domains", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/domains/v1/BUILD.bazel b/third_party/googleapis/google/cloud/domains/v1/BUILD.bazel index dd76bf459..49fe7e76e 100644 --- a/third_party/googleapis/google/cloud/domains/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/domains/v1/BUILD.bazel @@ -116,7 +116,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -150,19 +149,13 @@ go_gapic_library( ], ) -go_test( - name = "domains_go_gapic_test", - srcs = [":domains_go_gapic_srcjar_test"], - embed = [":domains_go_gapic"], - importpath = "cloud.google.com/go/domains/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-domains-v1-go", deps = [ ":domains_go_gapic", ":domains_go_gapic_srcjar-metadata.srcjar", + ":domains_go_gapic_srcjar-snippets.srcjar", ":domains_go_gapic_srcjar-test.srcjar", ":domains_go_proto", ], @@ -212,7 +205,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -221,23 +213,15 @@ php_proto_library( deps = [":domains_proto"], ) -php_grpc_library( - name = "domains_php_grpc", - srcs = [":domains_proto"], - deps = [":domains_php_proto"], -) - php_gapic_library( name = "domains_php_gapic", srcs = [":domains_proto_with_info"], grpc_service_config = "domains_grpc_service_config.json", + migration_mode = "NEW_SURFACE_ONLY", rest_numeric_enums = True, service_yaml = "domains_v1.yaml", transport = "grpc+rest", - deps = [ - ":domains_php_grpc", - ":domains_php_proto", - ], + deps = [":domains_php_proto"], ) # Open Source Packages @@ -245,7 +229,6 @@ php_gapic_assembly_pkg( name = "google-cloud-domains-v1-php", deps = [ ":domains_php_gapic", - ":domains_php_grpc", ":domains_php_proto", ], ) @@ -317,6 +300,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "The Cloud Domains API provides registration, management and configuration of domain names.", ruby_cloud_title = "Cloud Domains V1", service_yaml = "domains_v1.yaml", + transport = "grpc+rest", deps = [ ":domains_ruby_grpc", ":domains_ruby_proto", diff --git a/third_party/googleapis/google/cloud/domains/v1alpha2/BUILD.bazel b/third_party/googleapis/google/cloud/domains/v1alpha2/BUILD.bazel index 35ba5f084..9c1552e00 100644 --- a/third_party/googleapis/google/cloud/domains/v1alpha2/BUILD.bazel +++ b/third_party/googleapis/google/cloud/domains/v1alpha2/BUILD.bazel @@ -116,7 +116,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -150,19 +149,13 @@ go_gapic_library( ], ) -go_test( - name = "domains_go_gapic_test", - srcs = [":domains_go_gapic_srcjar_test"], - embed = [":domains_go_gapic"], - importpath = "cloud.google.com/go/domains/apiv1alpha2", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-domains-v1alpha2-go", deps = [ ":domains_go_gapic", ":domains_go_gapic_srcjar-metadata.srcjar", + ":domains_go_gapic_srcjar-snippets.srcjar", ":domains_go_gapic_srcjar-test.srcjar", ":domains_go_proto", ], @@ -212,7 +205,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -221,12 +213,6 @@ php_proto_library( deps = [":domains_proto"], ) -php_grpc_library( - name = "domains_php_grpc", - srcs = [":domains_proto"], - deps = [":domains_php_proto"], -) - php_gapic_library( name = "domains_php_gapic", srcs = [":domains_proto_with_info"], @@ -234,10 +220,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "domains_v1alpha2.yaml", transport = "grpc+rest", - deps = [ - ":domains_php_grpc", - ":domains_php_proto", - ], + deps = [":domains_php_proto"], ) # Open Source Packages @@ -245,7 +228,6 @@ php_gapic_assembly_pkg( name = "google-cloud-domains-v1alpha2-php", deps = [ ":domains_php_gapic", - ":domains_php_grpc", ":domains_php_proto", ], ) @@ -317,6 +299,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "The Cloud Domains API provides registration, management and configuration of domain names.", ruby_cloud_title = "Cloud Domains V1alpha2", service_yaml = "domains_v1alpha2.yaml", + transport = "grpc+rest", deps = [ ":domains_ruby_grpc", ":domains_ruby_proto", diff --git a/third_party/googleapis/google/cloud/domains/v1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/domains/v1beta1/BUILD.bazel index 5a02dcf99..c97248716 100644 --- a/third_party/googleapis/google/cloud/domains/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/domains/v1beta1/BUILD.bazel @@ -116,7 +116,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -150,19 +149,13 @@ go_gapic_library( ], ) -go_test( - name = "domains_go_gapic_test", - srcs = [":domains_go_gapic_srcjar_test"], - embed = [":domains_go_gapic"], - importpath = "cloud.google.com/go/domains/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-domains-v1beta1-go", deps = [ ":domains_go_gapic", ":domains_go_gapic_srcjar-metadata.srcjar", + ":domains_go_gapic_srcjar-snippets.srcjar", ":domains_go_gapic_srcjar-test.srcjar", ":domains_go_proto", ], @@ -212,7 +205,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -221,12 +213,6 @@ php_proto_library( deps = [":domains_proto"], ) -php_grpc_library( - name = "domains_php_grpc", - srcs = [":domains_proto"], - deps = [":domains_php_proto"], -) - php_gapic_library( name = "domains_php_gapic", srcs = [":domains_proto_with_info"], @@ -234,10 +220,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "domains_v1beta1.yaml", transport = "grpc+rest", - deps = [ - ":domains_php_grpc", - ":domains_php_proto", - ], + deps = [":domains_php_proto"], ) # Open Source Packages @@ -245,7 +228,6 @@ php_gapic_assembly_pkg( name = "google-cloud-domains-v1beta1-php", deps = [ ":domains_php_gapic", - ":domains_php_grpc", ":domains_php_proto", ], ) @@ -317,6 +299,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "The Cloud Domains API provides registration, management and configuration of domain names.", ruby_cloud_title = "Cloud Domains V1beta1", service_yaml = "domains_v1beta1.yaml", + transport = "grpc+rest", deps = [ ":domains_ruby_grpc", ":domains_ruby_proto", diff --git a/third_party/googleapis/google/cloud/edgecontainer/v1/BUILD.bazel b/third_party/googleapis/google/cloud/edgecontainer/v1/BUILD.bazel index 879fea4b2..cbabcd62c 100644 --- a/third_party/googleapis/google/cloud/edgecontainer/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/edgecontainer/v1/BUILD.bazel @@ -115,7 +115,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -136,7 +135,7 @@ go_gapic_library( grpc_service_config = "edgecontainer_grpc_service_config.json", importpath = "cloud.google.com/go/edgecontainer/apiv1;edgecontainer", metadata = True, - release_level = "beta", + release_level = "ga", rest_numeric_enums = True, service_yaml = "edgecontainer_v1.yaml", transport = "grpc+rest", @@ -149,19 +148,13 @@ go_gapic_library( ], ) -go_test( - name = "edgecontainer_go_gapic_test", - srcs = [":edgecontainer_go_gapic_srcjar_test"], - embed = [":edgecontainer_go_gapic"], - importpath = "cloud.google.com/go/edgecontainer/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-edgecontainer-v1-go", deps = [ ":edgecontainer_go_gapic", ":edgecontainer_go_gapic_srcjar-metadata.srcjar", + ":edgecontainer_go_gapic_srcjar-snippets.srcjar", ":edgecontainer_go_gapic_srcjar-test.srcjar", ":edgecontainer_go_proto", ], @@ -184,7 +177,7 @@ py_gapic_library( rest_numeric_enums = True, service_yaml = "edgecontainer_v1.yaml", transport = "grpc+rest", - deps = ["//google/iam/v1:iam_policy_py_proto",], + deps = ["//google/iam/v1:iam_policy_py_proto"], ) py_test( @@ -212,7 +205,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -221,12 +213,6 @@ php_proto_library( deps = [":edgecontainer_proto"], ) -php_grpc_library( - name = "edgecontainer_php_grpc", - srcs = [":edgecontainer_proto"], - deps = [":edgecontainer_php_proto"], -) - php_gapic_library( name = "edgecontainer_php_gapic", srcs = [":edgecontainer_proto_with_info"], @@ -234,10 +220,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "edgecontainer_v1.yaml", transport = "grpc+rest", - deps = [ - ":edgecontainer_php_grpc", - ":edgecontainer_php_proto", - ], + deps = [":edgecontainer_php_proto"], ) # Open Source Packages @@ -245,7 +228,6 @@ php_gapic_assembly_pkg( name = "google-cloud-edgecontainer-v1-php", deps = [ ":edgecontainer_php_gapic", - ":edgecontainer_php_grpc", ":edgecontainer_php_proto", ], ) @@ -309,6 +291,7 @@ ruby_cloud_gapic_library( grpc_service_config = "edgecontainer_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "edgecontainer_v1.yaml", + transport = "grpc+rest", deps = [ ":edgecontainer_ruby_grpc", ":edgecontainer_ruby_proto", diff --git a/third_party/googleapis/google/cloud/enterpriseknowledgegraph/v1/BUILD.bazel b/third_party/googleapis/google/cloud/enterpriseknowledgegraph/v1/BUILD.bazel index 008a24211..e2bd6b7c4 100644 --- a/third_party/googleapis/google/cloud/enterpriseknowledgegraph/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/enterpriseknowledgegraph/v1/BUILD.bazel @@ -28,7 +28,6 @@ load( "java_proto_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -177,12 +176,6 @@ php_proto_library( deps = [":enterpriseknowledgegraph_proto"], ) -php_grpc_library( - name = "enterpriseknowledgegraph_php_grpc", - srcs = [":enterpriseknowledgegraph_proto"], - deps = [":enterpriseknowledgegraph_php_proto"], -) - php_gapic_library( name = "enterpriseknowledgegraph_php_gapic", srcs = [":enterpriseknowledgegraph_proto_with_info"], @@ -190,10 +183,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "enterpriseknowledgegraph_v1.yaml", transport = "grpc+rest", - deps = [ - ":enterpriseknowledgegraph_php_grpc", - ":enterpriseknowledgegraph_php_proto", - ], + deps = [":enterpriseknowledgegraph_php_proto"], ) # Open Source Packages @@ -201,7 +191,6 @@ php_gapic_assembly_pkg( name = "google-cloud-enterpriseknowledgegraph-v1-php", deps = [ ":enterpriseknowledgegraph_php_gapic", - ":enterpriseknowledgegraph_php_grpc", ":enterpriseknowledgegraph_php_proto", ], ) @@ -266,11 +255,11 @@ csharp_gapic_library( grpc_service_config = "enterpriseknowledgegraph_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "enterpriseknowledgegraph_v1.yaml", + transport = "grpc+rest", deps = [ ":enterpriseknowledgegraph_csharp_grpc", ":enterpriseknowledgegraph_csharp_proto", ], - transport = "grpc+rest", ) # Open Source Packages diff --git a/third_party/googleapis/google/cloud/essentialcontacts/BUILD.bazel b/third_party/googleapis/google/cloud/essentialcontacts/BUILD.bazel index 712192699..d8ae93cc6 100644 --- a/third_party/googleapis/google/cloud/essentialcontacts/BUILD.bazel +++ b/third_party/googleapis/google/cloud/essentialcontacts/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-essential_contacts", "ruby-cloud-env-prefix=ESSENTIAL_CONTACTS", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.6", "ruby-cloud-product-url=https://cloud.google.com/resource-manager/docs/managing-notification-contacts/", "ruby-cloud-api-id=essentialcontacts.googleapis.com", "ruby-cloud-api-shortname=essentialcontacts", ], ruby_cloud_description = "Many Google Cloud services, such as Cloud Billing, send out notifications to share important information with Google Cloud users. By default, these notifications are sent to members with certain Identity and Access Management (IAM) roles. With Essential Contacts, you can customize who receives notifications by providing your own list of contacts.", ruby_cloud_title = "Essential Contacts", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/essentialcontacts/v1/BUILD.bazel b/third_party/googleapis/google/cloud/essentialcontacts/v1/BUILD.bazel index e8b77c51e..884b641a9 100644 --- a/third_party/googleapis/google/cloud/essentialcontacts/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/essentialcontacts/v1/BUILD.bazel @@ -22,7 +22,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -32,7 +31,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -88,6 +86,7 @@ java_gapic_library( srcs = [":essentialcontacts_proto_with_info"], grpc_service_config = "essentialcontacts_v1_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "essentialcontacts_v1.yaml", test_deps = [ ":essentialcontacts_java_grpc", ], @@ -144,19 +143,13 @@ go_gapic_library( ], ) -go_test( - name = "essentialcontacts_go_gapic_test", - srcs = [":essentialcontacts_go_gapic_srcjar_test"], - embed = [":essentialcontacts_go_gapic"], - importpath = "cloud.google.com/go/essentialcontacts/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-essentialcontacts-v1-go", deps = [ ":essentialcontacts_go_gapic", ":essentialcontacts_go_gapic_srcjar-metadata.srcjar", + ":essentialcontacts_go_gapic_srcjar-snippets.srcjar", ":essentialcontacts_go_gapic_srcjar-test.srcjar", ":essentialcontacts_go_proto", ], @@ -199,23 +192,15 @@ php_proto_library( deps = [":essentialcontacts_proto"], ) -php_grpc_library( - name = "essentialcontacts_php_grpc", - srcs = [":essentialcontacts_proto"], - deps = [":essentialcontacts_php_proto"], -) - php_gapic_library( name = "essentialcontacts_php_gapic", srcs = [":essentialcontacts_proto_with_info"], grpc_service_config = "essentialcontacts_v1_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "essentialcontacts_v1.yaml", transport = "grpc+rest", - deps = [ - ":essentialcontacts_php_grpc", - ":essentialcontacts_php_proto", - ], + deps = [":essentialcontacts_php_proto"], ) # Open Source Packages @@ -223,7 +208,6 @@ php_gapic_assembly_pkg( name = "google-cloud-essentialcontacts-v1-php", deps = [ ":essentialcontacts_php_gapic", - ":essentialcontacts_php_grpc", ":essentialcontacts_php_proto", ], ) @@ -275,6 +259,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Many Google Cloud services, such as Cloud Billing, send out notifications to share important information with Google Cloud users. By default, these notifications are sent to members with certain Identity and Access Management (IAM) roles. With Essential Contacts, you can customize who receives notifications by providing your own list of contacts.", ruby_cloud_title = "Essential Contacts V1", service_yaml = "essentialcontacts_v1.yaml", + transport = "grpc+rest", deps = [ ":essentialcontacts_ruby_grpc", ":essentialcontacts_ruby_proto", diff --git a/third_party/googleapis/google/cloud/essentialcontacts/v1/enums.proto b/third_party/googleapis/google/cloud/essentialcontacts/v1/enums.proto index ec0ecd9f9..b59b36f1e 100644 --- a/third_party/googleapis/google/cloud/essentialcontacts/v1/enums.proto +++ b/third_party/googleapis/google/cloud/essentialcontacts/v1/enums.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,11 +16,11 @@ syntax = "proto3"; package google.cloud.essentialcontacts.v1; +option csharp_namespace = "Google.Cloud.EssentialContacts.V1"; option go_package = "cloud.google.com/go/essentialcontacts/apiv1/essentialcontactspb;essentialcontactspb"; option java_multiple_files = true; option java_outer_classname = "EnumsProto"; option java_package = "com.google.cloud.essentialcontacts.v1"; -option csharp_namespace = "Google.Cloud.EssentialContacts.V1"; option php_namespace = "Google\\Cloud\\EssentialContacts\\V1"; option ruby_package = "Google::Cloud::EssentialContacts::V1"; diff --git a/third_party/googleapis/google/cloud/essentialcontacts/v1/service.proto b/third_party/googleapis/google/cloud/essentialcontacts/v1/service.proto index edee41052..7064c0272 100644 --- a/third_party/googleapis/google/cloud/essentialcontacts/v1/service.proto +++ b/third_party/googleapis/google/cloud/essentialcontacts/v1/service.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -25,10 +25,10 @@ import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; +option csharp_namespace = "Google.Cloud.EssentialContacts.V1"; option go_package = "cloud.google.com/go/essentialcontacts/apiv1/essentialcontactspb;essentialcontactspb"; option java_multiple_files = true; option java_package = "com.google.cloud.essentialcontacts.v1"; -option csharp_namespace = "Google.Cloud.EssentialContacts.V1"; option php_namespace = "Google\\Cloud\\EssentialContacts\\V1"; option ruby_package = "Google::Cloud::EssentialContacts::V1"; @@ -144,23 +144,24 @@ message Contact { pattern: "organizations/{organization}/contacts/{contact}" }; - // The identifier for the contact. + // Output only. The identifier for the contact. // Format: {resource_type}/{resource_id}/contacts/{contact_id} - string name = 1; + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Required. The email address to send notifications to. This does not need to - // be a Google account. - string email = 2; + // Required. The email address to send notifications to. The email address + // does not need to be a Google Account. + string email = 2 [(google.api.field_behavior) = REQUIRED]; - // The categories of notifications that the contact will receive + // Required. The categories of notifications that the contact will receive // communications for. - repeated NotificationCategory notification_category_subscriptions = 3; + repeated NotificationCategory notification_category_subscriptions = 3 + [(google.api.field_behavior) = REQUIRED]; - // The preferred language for notifications, as a ISO 639-1 language code. See - // [Supported + // Required. The preferred language for notifications, as a ISO 639-1 language + // code. See [Supported // languages](https://cloud.google.com/resource-manager/docs/managing-notification-contacts#supported-languages) // for a list of supported languages. - string language_tag = 4; + string language_tag = 4 [(google.api.field_behavior) = REQUIRED]; // The validity of the contact. A contact is considered valid if it is the // correct recipient for notifications for a particular resource. diff --git a/third_party/googleapis/google/cloud/eventarc/BUILD.bazel b/third_party/googleapis/google/cloud/eventarc/BUILD.bazel index b8a19aec1..fc849e232 100644 --- a/third_party/googleapis/google/cloud/eventarc/BUILD.bazel +++ b/third_party/googleapis/google/cloud/eventarc/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-eventarc", "ruby-cloud-env-prefix=EVENTARC", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.9", "ruby-cloud-product-url=https://cloud.google.com/eventarc/", "ruby-cloud-api-id=eventarc.googleapis.com", "ruby-cloud-api-shortname=eventarc", ], ruby_cloud_description = "Eventarc lets you asynchronously deliver events from Google services, SaaS, and your own apps using loosely coupled services that react to state changes. Eventarc requires no infrastructure management — you can optimize productivity and costs while building a modern, event-driven solution.", ruby_cloud_title = "Eventarc", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/eventarc/publishing/BUILD.bazel b/third_party/googleapis/google/cloud/eventarc/publishing/BUILD.bazel index d4cc86df6..48b1f607d 100644 --- a/third_party/googleapis/google/cloud/eventarc/publishing/BUILD.bazel +++ b/third_party/googleapis/google/cloud/eventarc/publishing/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-eventarc-publishing", "ruby-cloud-env-prefix=EVENTARC", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.8", "ruby-cloud-product-url=https://cloud.google.com/eventarc/", "ruby-cloud-api-id=eventarcpublishing.googleapis.com", "ruby-cloud-api-shortname=eventarcpublishing", ], ruby_cloud_description = "Eventarc lets you asynchronously deliver events from Google services, SaaS, and your own apps using loosely coupled services that react to state changes. Eventarc requires no infrastructure management — you can optimize productivity and costs while building a modern, event-driven solution.", ruby_cloud_title = "Eventarc Publishing", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/eventarc/publishing/v1/BUILD.bazel b/third_party/googleapis/google/cloud/eventarc/publishing/v1/BUILD.bazel index 75bd7a84f..a01d9fd65 100644 --- a/third_party/googleapis/google/cloud/eventarc/publishing/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/eventarc/publishing/v1/BUILD.bazel @@ -24,7 +24,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -34,7 +33,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -133,9 +131,9 @@ go_gapic_library( name = "publishing_go_gapic", srcs = [":publishing_proto_with_info"], grpc_service_config = "eventarcpublishing_grpc_service_config.json", - importpath = "cloud.google.com/go/eventarc/publishing/apiv1;publisher", + importpath = "cloud.google.com/go/eventarc/publishing/apiv1;publishing", metadata = True, - release_level = "beta", + release_level = "ga", rest_numeric_enums = True, service_yaml = "eventarcpublishing_v1.yaml", transport = "grpc+rest", @@ -144,19 +142,13 @@ go_gapic_library( ], ) -go_test( - name = "publishing_go_gapic_test", - srcs = [":publishing_go_gapic_srcjar_test"], - embed = [":publishing_go_gapic"], - importpath = "cloud.google.com/go/eventarc/publishing/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-eventarc-publishing-v1-go", deps = [ ":publishing_go_gapic", ":publishing_go_gapic_srcjar-metadata.srcjar", + ":publishing_go_gapic_srcjar-snippets.srcjar", ":publishing_go_gapic_srcjar-test.srcjar", ":publishing_go_proto", ], @@ -201,23 +193,15 @@ php_proto_library( deps = [":publishing_proto"], ) -php_grpc_library( - name = "publishing_php_grpc", - srcs = [":publishing_proto"], - deps = [":publishing_php_proto"], -) - php_gapic_library( name = "publishing_php_gapic", srcs = [":publishing_proto_with_info"], grpc_service_config = "eventarcpublishing_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "eventarcpublishing_v1.yaml", transport = "grpc+rest", - deps = [ - ":publishing_php_grpc", - ":publishing_php_proto", - ], + deps = [":publishing_php_proto"], ) # Open Source Packages @@ -225,7 +209,6 @@ php_gapic_assembly_pkg( name = "google-cloud-eventarc-publishing-v1-php", deps = [ ":publishing_php_gapic", - ":publishing_php_grpc", ":publishing_php_proto", ], ) @@ -277,6 +260,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Eventarc lets you asynchronously deliver events from Google services, SaaS, and your own apps using loosely coupled services that react to state changes. Eventarc requires no infrastructure management — you can optimize productivity and costs while building a modern, event-driven solution.", ruby_cloud_title = "Eventarc Publishing V1", service_yaml = "eventarcpublishing_v1.yaml", + transport = "grpc+rest", deps = [ ":publishing_ruby_grpc", ":publishing_ruby_proto", diff --git a/third_party/googleapis/google/cloud/eventarc/v1/BUILD.bazel b/third_party/googleapis/google/cloud/eventarc/v1/BUILD.bazel index 9a39f2b63..6bec0844b 100644 --- a/third_party/googleapis/google/cloud/eventarc/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/eventarc/v1/BUILD.bazel @@ -124,7 +124,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -159,19 +158,13 @@ go_gapic_library( ], ) -go_test( - name = "eventarc_go_gapic_test", - srcs = [":eventarc_go_gapic_srcjar_test"], - embed = [":eventarc_go_gapic"], - importpath = "cloud.google.com/go/eventarc/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-eventarc-v1-go", deps = [ ":eventarc_go_gapic", ":eventarc_go_gapic_srcjar-metadata.srcjar", + ":eventarc_go_gapic_srcjar-snippets.srcjar", ":eventarc_go_gapic_srcjar-test.srcjar", ":eventarc_go_proto", ], @@ -224,7 +217,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -233,23 +225,15 @@ php_proto_library( deps = [":eventarc_proto"], ) -php_grpc_library( - name = "eventarc_php_grpc", - srcs = [":eventarc_proto"], - deps = [":eventarc_php_proto"], -) - php_gapic_library( name = "eventarc_php_gapic", srcs = [":eventarc_proto_with_info"], grpc_service_config = "eventarc_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "eventarc_v1.yaml", transport = "grpc+rest", - deps = [ - ":eventarc_php_grpc", - ":eventarc_php_proto", - ], + deps = [":eventarc_php_proto"], ) # Open Source Packages @@ -257,7 +241,6 @@ php_gapic_assembly_pkg( name = "google-cloud-eventarc-v1-php", deps = [ ":eventarc_php_gapic", - ":eventarc_php_grpc", ":eventarc_php_proto", ], ) @@ -329,6 +312,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Eventarc lets you asynchronously deliver events from Google services, SaaS, and your own apps using loosely coupled services that react to state changes. Eventarc requires no infrastructure management — you can optimize productivity and costs while building a modern, event-driven solution.", ruby_cloud_title = "Eventarc V1", service_yaml = "eventarc_v1.yaml", + transport = "grpc+rest", deps = [ ":eventarc_ruby_grpc", ":eventarc_ruby_proto", diff --git a/third_party/googleapis/google/cloud/filestore/BUILD.bazel b/third_party/googleapis/google/cloud/filestore/BUILD.bazel index 522d2d4f6..af86e487b 100644 --- a/third_party/googleapis/google/cloud/filestore/BUILD.bazel +++ b/third_party/googleapis/google/cloud/filestore/BUILD.bazel @@ -21,13 +21,14 @@ ruby_cloud_gapic_library( srcs = ["//google/cloud/filestore/v1:filestore_proto_with_info"], extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-filestore", - "ruby-cloud-wrapper-of=v1:0.1", + "ruby-cloud-wrapper-of=v1:0.8", "ruby-cloud-product-url=https://cloud.google.com/filestore/", "ruby-cloud-api-id=file.googleapis.com", "ruby-cloud-api-shortname=file", ], ruby_cloud_description = "Filestore instances are fully managed NFS file servers on Google Cloud for use with applications running on Compute Engine virtual machines (VMs) instances or Google Kubernetes Engine clusters.", ruby_cloud_title = "Filestore", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/filestore/v1/BUILD.bazel b/third_party/googleapis/google/cloud/filestore/v1/BUILD.bazel index 75e938415..8cd7b24de 100644 --- a/third_party/googleapis/google/cloud/filestore/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/filestore/v1/BUILD.bazel @@ -81,6 +81,7 @@ java_gapic_library( transport = "grpc+rest", deps = [ ":filestore_java_proto", + "//google/api:api_java_proto", "//google/cloud/common:common_java_proto", ], ) @@ -116,7 +117,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -144,25 +144,20 @@ go_gapic_library( deps = [ ":filestore_go_proto", "//google/cloud/common:common_go_proto", + "//google/cloud/location:location_go_proto", "//google/longrunning:longrunning_go_proto", "@com_google_cloud_go_longrunning//:go_default_library", "@com_google_cloud_go_longrunning//autogen:go_default_library", ], ) -go_test( - name = "filestore_go_gapic_test", - srcs = [":filestore_go_gapic_srcjar_test"], - embed = [":filestore_go_gapic"], - importpath = "cloud.google.com/go/filestore/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-filestore-v1-go", deps = [ ":filestore_go_gapic", ":filestore_go_gapic_srcjar-metadata.srcjar", + ":filestore_go_gapic_srcjar-snippets.srcjar", ":filestore_go_gapic_srcjar-test.srcjar", ":filestore_go_proto", ], @@ -175,18 +170,27 @@ load( "@com_google_googleapis_imports//:imports.bzl", "py_gapic_assembly_pkg", "py_gapic_library", + "py_import", "py_test", ) +py_import( + name = "common", + srcs = [ + "//google/cloud/common:common_py_gapic", + ], +) + py_gapic_library( name = "filestore_py_gapic", srcs = [":filestore_proto"], grpc_service_config = "file_grpc_service_config.json", + opt_args = ["proto-plus-deps=google.cloud.common"], rest_numeric_enums = True, service_yaml = "file_v1.yaml", transport = "grpc+rest", deps = [ - "//google/cloud/common:common_py_proto", + ":common", ], ) @@ -215,7 +219,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -224,23 +227,15 @@ php_proto_library( deps = [":filestore_proto"], ) -php_grpc_library( - name = "filestore_php_grpc", - srcs = [":filestore_proto"], - deps = [":filestore_php_proto"], -) - php_gapic_library( name = "filestore_php_gapic", srcs = [":filestore_proto_with_info"], grpc_service_config = "file_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "file_v1.yaml", transport = "grpc+rest", - deps = [ - ":filestore_php_grpc", - ":filestore_php_proto", - ], + deps = [":filestore_php_proto"], ) # Open Source Packages @@ -248,7 +243,6 @@ php_gapic_assembly_pkg( name = "google-cloud-filestore-v1-php", deps = [ ":filestore_php_gapic", - ":filestore_php_grpc", ":filestore_php_proto", ], ) @@ -314,13 +308,14 @@ ruby_cloud_gapic_library( "ruby-cloud-api-shortname=file", "ruby-cloud-gem-name=google-cloud-filestore-v1", "ruby-cloud-product-url=https://cloud.google.com/filestore/", - "ruby-cloud-extra-dependencies=google-cloud-common=~> 1.0", + "ruby-cloud-extra-dependencies=google-cloud-common=~>1.0", ], grpc_service_config = "file_grpc_service_config.json", rest_numeric_enums = True, - ruby_cloud_description = "Filestore instances are fully managed NFS file servers on Google Cloud for use with applications running on Compute Engine virtual machines (VMs) instances or Google Kubernetes Engine clusters.", + ruby_cloud_description = "Filestore instances are fully managed NFS file servers on Google Cloud for use with applications running on Compute Engine virtual machine (VM) instances, Google Kubernetes Engine clusters, external datastores such as Google Cloud VMware Engine, or your on-premises machines.", ruby_cloud_title = "Filestore V1", service_yaml = "file_v1.yaml", + transport = "grpc+rest", deps = [ ":filestore_ruby_grpc", ":filestore_ruby_proto", diff --git a/third_party/googleapis/google/cloud/filestore/v1/cloud_filestore_service.proto b/third_party/googleapis/google/cloud/filestore/v1/cloud_filestore_service.proto index 608677255..1981d3459 100644 --- a/third_party/googleapis/google/cloud/filestore/v1/cloud_filestore_service.proto +++ b/third_party/googleapis/google/cloud/filestore/v1/cloud_filestore_service.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -22,6 +22,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/common/operation_metadata.proto"; import "google/longrunning/operations.proto"; +import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; import "google/protobuf/wrappers.proto"; @@ -33,23 +34,23 @@ option java_outer_classname = "CloudFilestoreServiceProto"; option java_package = "com.google.cloud.filestore.v1"; option php_namespace = "Google\\Cloud\\Filestore\\V1"; -// Configures and manages Cloud Filestore resources. +// Configures and manages Filestore resources. // -// Cloud Filestore Manager v1. +// Filestore Manager v1. // -// The `file.googleapis.com` service implements the Cloud Filestore API and +// The `file.googleapis.com` service implements the Filestore API and // defines the following resource model for managing instances: // * The service works with a collection of cloud projects, named: `/projects/*` // * Each project has a collection of available locations, named: `/locations/*` // * Each location has a collection of instances and backups, named: // `/instances/*` and `/backups/*` respectively. -// * As such, Cloud Filestore instances are resources of the form: +// * As such, Filestore instances are resources of the form: // `/projects/{project_number}/locations/{location_id}/instances/{instance_id}` // and backups are resources of the form: // `/projects/{project_number}/locations/{location_id}/backup/{backup_id}` // -// Note that location_id must be a GCP `zone` for instances and but to a GCP -// `region` for backups; for example: +// Note that location_id must be a Google Cloud `zone` for instances, but +// a Google Cloud `region` for backups; for example: // * `projects/12345/locations/us-central1-c/instances/my-filestore` // * `projects/12345/locations/us-central1/backups/my-backup` service CloudFilestoreManager { @@ -122,6 +123,19 @@ service CloudFilestoreManager { }; } + // Revert an existing instance's file system to a specified snapshot. + rpc RevertInstance(RevertInstanceRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/*/instances/*}:revert" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "Instance" + metadata_type: "google.cloud.common.OperationMetadata" + }; + } + // Deletes an instance. rpc DeleteInstance(DeleteInstanceRequest) returns (google.longrunning.Operation) { @@ -135,6 +149,64 @@ service CloudFilestoreManager { }; } + // Lists all snapshots in a project for either a specified location + // or for all locations. + rpc ListSnapshots(ListSnapshotsRequest) returns (ListSnapshotsResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*/instances/*}/snapshots" + }; + option (google.api.method_signature) = "parent"; + } + + // Gets the details of a specific snapshot. + rpc GetSnapshot(GetSnapshotRequest) returns (Snapshot) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*/instances/*/snapshots/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Creates a snapshot. + rpc CreateSnapshot(CreateSnapshotRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*/instances/*}/snapshots" + body: "snapshot" + }; + option (google.api.method_signature) = "parent,snapshot,snapshot_id"; + option (google.longrunning.operation_info) = { + response_type: "Snapshot" + metadata_type: "google.cloud.common.OperationMetadata" + }; + } + + // Deletes a snapshot. + rpc DeleteSnapshot(DeleteSnapshotRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + delete: "/v1/{name=projects/*/locations/*/instances/*/snapshots/*}" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "google.cloud.common.OperationMetadata" + }; + } + + // Updates the settings of a specific snapshot. + rpc UpdateSnapshot(UpdateSnapshotRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + patch: "/v1/{snapshot.name=projects/*/locations/*/instances/*/snapshots/*}" + body: "snapshot" + }; + option (google.api.method_signature) = "snapshot,update_mask"; + option (google.longrunning.operation_info) = { + response_type: "Snapshot" + metadata_type: "google.cloud.common.OperationMetadata" + }; + } + // Lists all backups in a project for either a specified location or for all // locations. rpc ListBackups(ListBackupsRequest) returns (ListBackupsResponse) { @@ -193,7 +265,7 @@ service CloudFilestoreManager { // Network configuration for the instance. message NetworkConfig { - // Internet protocol versions supported by Cloud Filestore. + // Internet protocol versions supported by Filestore. enum AddressMode { // Internet protocol not set. ADDRESS_MODE_UNSPECIFIED = 0; @@ -202,6 +274,20 @@ message NetworkConfig { MODE_IPV4 = 1; } + // Available connection modes. + enum ConnectMode { + // Not set. + CONNECT_MODE_UNSPECIFIED = 0; + + // Connect via direct peering to the Filestore service. + DIRECT_PEERING = 1; + + // Connect to your Filestore instance using Private Service + // Access. Private services access provides an IP address range for multiple + // Google Cloud services, including Filestore. + PRIVATE_SERVICE_ACCESS = 2; + } + // The name of the Google Compute Engine // [VPC network](https://cloud.google.com/vpc/docs/vpc) to which the // instance is connected. @@ -211,29 +297,47 @@ message NetworkConfig { // assigned. For this version, only MODE_IPV4 is supported. repeated AddressMode modes = 3; - // A /29 CIDR block in one of the - // [internal IP address + // Optional, reserved_ip_range can have one of the following two types of + // values. + // + // * CIDR range value when using DIRECT_PEERING connect mode. + // * [Allocated IP address + // range](https://cloud.google.com/compute/docs/ip-addresses/reserve-static-internal-ip-address) + // when using PRIVATE_SERVICE_ACCESS connect mode. + // + // When the name of an allocated IP address range is specified, it must be one + // of the ranges associated with the private service access connection. + // When specified as a direct CIDR value, it must be a /29 CIDR block for + // Basic tier, a /24 CIDR block for High Scale tier, or a /26 CIDR block for + // Enterprise tier in one of the [internal IP address // ranges](https://www.arin.net/reference/research/statistics/address_filters/) // that identifies the range of IP addresses reserved for this instance. For - // example, 10.0.0.0/29 or 192.168.0.0/29. The range you specify can't overlap - // with either existing subnets or assigned IP address ranges for other Cloud - // Filestore instances in the selected VPC network. + // example, 10.0.0.0/29, 192.168.0.0/24 or 192.168.0.0/26, respectively. The + // range you specify can't overlap with either existing subnets or assigned IP + // address ranges for other Filestore instances in the selected VPC + // network. string reserved_ip_range = 4; // Output only. IPv4 addresses in the format - // IPv4 addresses in the format `{octet1}.{octet2}.{octet3}.{octet4}` or - // IPv6 addresses in the format + // `{octet1}.{octet2}.{octet3}.{octet4}` or IPv6 addresses in the format // `{block1}:{block2}:{block3}:{block4}:{block5}:{block6}:{block7}:{block8}`. repeated string ip_addresses = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // The network connect mode of the Filestore instance. + // If not provided, the connect mode defaults to DIRECT_PEERING. + ConnectMode connect_mode = 6; } // File share configuration for the instance. message FileShareConfig { - // The name of the file share (must be 16 characters or less). + // Required. The name of the file share. Must use 1-16 characters for the + // basic service tier and 1-63 characters for all other service tiers. + // Must use lowercase letters, numbers, or underscores `[a-z0-9_]`. Must + // start with a letter. Immutable. string name = 1; // File share capacity in gigabytes (GB). - // Cloud Filestore defines 1 GB as 1024^3 bytes. + // Filestore defines 1 GB as 1024^3 bytes. int64 capacity_gb = 2; // The source that this file share has been restored from. Empty if the file @@ -311,7 +415,7 @@ message NfsExportOptions { int64 anon_gid = 5; } -// A Cloud Filestore instance. +// A Filestore instance. message Instance { option (google.api.resource) = { type: "file.googleapis.com/Instance" @@ -344,6 +448,19 @@ message Instance { // The instance is restoring a backup to an existing file share and may be // unusable during this time. RESTORING = 7; + + // The instance is suspended. You can get further details from + // the `suspension_reasons` field of the `Instance` resource. + SUSPENDED = 8; + + // The instance is in the process of becoming suspended. + SUSPENDING = 9; + + // The instance is in the process of becoming active. + RESUMING = 10; + + // The instance is reverting to a snapshot. + REVERTING = 12; } // Available service tiers. @@ -351,10 +468,10 @@ message Instance { // Not set. TIER_UNSPECIFIED = 0; - // STANDARD tier. + // STANDARD tier. BASIC_HDD is the preferred term for this tier. STANDARD = 1; - // PREMIUM tier. + // PREMIUM tier. BASIC_SSD is the preferred term for this tier. PREMIUM = 2; // BASIC instances offer a maximum capacity of 63.9 TB. @@ -370,6 +487,27 @@ message Instance { // HIGH_SCALE instances offer expanded capacity and performance scaling // capabilities. HIGH_SCALE_SSD = 5; + + // ENTERPRISE instances offer the features and availability needed for + // mission-critical workloads. + ENTERPRISE = 6; + + // ZONAL instances offer expanded capacity and performance scaling + // capabilities. + ZONAL = 7; + + // REGIONAL instances offer the features and availability needed for + // mission-critical workloads. + REGIONAL = 8; + } + + // SuspensionReason contains the possible reasons for a suspension. + enum SuspensionReason { + // Not set. + SUSPENSION_REASON_UNSPECIFIED = 0; + + // The KMS key used by the instance is either revoked or denied access to. + KMS_KEY_ISSUE = 1; } // Output only. The resource name of the instance, in the format @@ -410,13 +548,24 @@ message Instance { // Output only. Reserved for future use. google.protobuf.BoolValue satisfies_pzs = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Reserved for future use. + bool satisfies_pzi = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // KMS key name used for data encryption. + string kms_key_name = 14; + + // Output only. Field indicates all the reasons the instance is in "SUSPENDED" + // state. + repeated SuspensionReason suspension_reasons = 15 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // CreateInstanceRequest creates an instance. message CreateInstanceRequest { // Required. The instance's project and location, in the format - // `projects/{project_id}/locations/{location}`. In Cloud Filestore, - // locations map to GCP zones, for example **us-west1-b**. + // `projects/{project_id}/locations/{location}`. In Filestore, + // locations map to Google Cloud zones, for example **us-west1-b**. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -457,7 +606,7 @@ message UpdateInstanceRequest { Instance instance = 2; } -// RestoreInstanceRequest restores an existing instances's file share from a +// RestoreInstanceRequest restores an existing instance's file share from a // backup. message RestoreInstanceRequest { // Required. The resource name of the instance, in the format @@ -467,8 +616,8 @@ message RestoreInstanceRequest { (google.api.resource_reference) = { type: "file.googleapis.com/Instance" } ]; - // Required. Name of the file share in the Cloud Filestore instance that the - // backup is being restored to. + // Required. Name of the file share in the Filestore instance that the backup + // is being restored to. string file_share = 2 [(google.api.field_behavior) = REQUIRED]; oneof source { @@ -480,6 +629,23 @@ message RestoreInstanceRequest { } } +// RevertInstanceRequest reverts the given instance's file share to the +// specified snapshot. +message RevertInstanceRequest { + // Required. + // `projects/{project_id}/locations/{location_id}/instances/{instance_id}`. + // The resource name of the instance, in the format + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "file.googleapis.com/Instance" } + ]; + + // Required. The snapshot resource ID, in the format 'my-snapshot', where the + // specified ID is the {snapshot_id} of the fully qualified name like + // `projects/{project_id}/locations/{location_id}/instances/{instance_id}/snapshots/{snapshot_id}` + string target_snapshot_id = 2 [(google.api.field_behavior) = REQUIRED]; +} + // DeleteInstanceRequest deletes an instance. message DeleteInstanceRequest { // Required. The instance resource name, in the format @@ -488,14 +654,19 @@ message DeleteInstanceRequest { (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { type: "file.googleapis.com/Instance" } ]; + + // If set to true, all snapshots of the instance will also be deleted. + // (Otherwise, the request will only work if the instance has no snapshots.) + bool force = 2; } // ListInstancesRequest lists instances. message ListInstancesRequest { // Required. The project and location for which to retrieve instance // information, in the format `projects/{project_id}/locations/{location}`. In - // Cloud Filestore, locations map to GCP zones, for example **us-west1-b**. To - // retrieve instance information for all locations, use "-" for the + // Cloud Filestore, locations map to Google Cloud zones, for example + // **us-west1-b**. To retrieve instance information for all locations, use "-" + // for the // `{location}` value. string parent = 1 [ (google.api.field_behavior) = REQUIRED, @@ -536,7 +707,137 @@ message ListInstancesResponse { repeated string unreachable = 3; } -// A Cloud Filestore backup. +// A Filestore snapshot. +message Snapshot { + option (google.api.resource) = { + type: "file.googleapis.com/Snapshot" + pattern: "projects/{project}/locations/{location}/instances/{instance}/snapshots/{snapshot}" + }; + + // The snapshot state. + enum State { + // State not set. + STATE_UNSPECIFIED = 0; + + // Snapshot is being created. + CREATING = 1; + + // Snapshot is available for use. + READY = 2; + + // Snapshot is being deleted. + DELETING = 3; + } + + // Output only. The resource name of the snapshot, in the format + // `projects/{project_id}/locations/{location_id}/instances/{instance_id}/snapshots/{snapshot_id}`. + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // A description of the snapshot with 2048 characters or less. + // Requests with longer descriptions will be rejected. + string description = 2; + + // Output only. The snapshot state. + State state = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The time when the snapshot was created. + google.protobuf.Timestamp create_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Resource labels to represent user provided metadata. + map labels = 5; + + // Output only. The amount of bytes needed to allocate a full copy of the + // snapshot content + int64 filesystem_used_bytes = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// CreateSnapshotRequest creates a snapshot. +message CreateSnapshotRequest { + // Required. The Filestore Instance to create the snapshots of, in the format + // `projects/{project_id}/locations/{location}/instances/{instance_id}` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "file.googleapis.com/Instance" } + ]; + + // Required. The ID to use for the snapshot. + // The ID must be unique within the specified instance. + // + // This value must start with a lowercase letter followed by up to 62 + // lowercase letters, numbers, or hyphens, and cannot end with a hyphen. + string snapshot_id = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. A snapshot resource. + Snapshot snapshot = 3 [(google.api.field_behavior) = REQUIRED]; +} + +// GetSnapshotRequest gets the state of a snapshot. +message GetSnapshotRequest { + // Required. The snapshot resource name, in the format + // `projects/{project_id}/locations/{location}/instances/{instance_id}/snapshots/{snapshot_id}` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "file.googleapis.com/Snapshot" } + ]; +} + +// DeleteSnapshotRequest deletes a snapshot. +message DeleteSnapshotRequest { + // Required. The snapshot resource name, in the format + // `projects/{project_id}/locations/{location}/instances/{instance_id}/snapshots/{snapshot_id}` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "file.googleapis.com/Snapshot" } + ]; +} + +// UpdateSnapshotRequest updates description and/or labels for a snapshot. +message UpdateSnapshotRequest { + // Required. Mask of fields to update. At least one path must be supplied in + // this field. + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = REQUIRED]; + + // Required. A snapshot resource. + Snapshot snapshot = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// ListSnapshotsRequest lists snapshots. +message ListSnapshotsRequest { + // Required. The instance for which to retrieve snapshot information, + // in the format + // `projects/{project_id}/locations/{location}/instances/{instance_id}`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "file.googleapis.com/Instance" } + ]; + + // The maximum number of items to return. + int32 page_size = 2; + + // The next_page_token value to use if there are additional + // results to retrieve for this list request. + string page_token = 3; + + // Sort results. Supported values are "name", "name desc" or "" (unsorted). + string order_by = 4; + + // List filter. + string filter = 5; +} + +// ListSnapshotsResponse is the result of ListSnapshotsRequest. +message ListSnapshotsResponse { + // A list of snapshots in the project for the specified instance. + repeated Snapshot snapshots = 1; + + // The token you can use to retrieve the next page of results. Not returned + // if there are no more results in the list. + string next_page_token = 2; +} + +// A Filestore backup. message Backup { option (google.api.resource) = { type: "file.googleapis.com/Backup" @@ -560,6 +861,10 @@ message Backup { // Backup is being deleted. DELETING = 4; + + // Backup is not valid and cannot be used for creating new instances or + // restoring existing instances. + INVALID = 5; } // Output only. The resource name of the backup, in the format @@ -587,19 +892,19 @@ message Backup { // storage, this number is expected to change with backup creation/deletion. int64 storage_bytes = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - // The resource name of the source Cloud Filestore instance, in the format + // The resource name of the source Filestore instance, in the format // `projects/{project_number}/locations/{location_id}/instances/{instance_id}`, // used to create this backup. string source_instance = 8 [ (google.api.resource_reference) = { type: "file.googleapis.com/Instance" } ]; - // Name of the file share in the source Cloud Filestore instance that the + // Name of the file share in the source Filestore instance that the // backup is created from. string source_file_share = 9; - // Output only. The service tier of the source Cloud Filestore instance that - // this backup is created from. + // Output only. The service tier of the source Filestore instance that this + // backup is created from. Instance.Tier source_instance_tier = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -611,13 +916,19 @@ message Backup { // Output only. Reserved for future use. google.protobuf.BoolValue satisfies_pzs = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Reserved for future use. + bool satisfies_pzi = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Immutable. KMS key name used for data encryption. + string kms_key = 13 [(google.api.field_behavior) = IMMUTABLE]; } // CreateBackupRequest creates a backup. message CreateBackupRequest { // Required. The backup's project and location, in the format - // `projects/{project_number}/locations/{location}`. In Cloud Filestore, - // backup locations map to GCP regions, for example **us-west1**. + // `projects/{project_number}/locations/{location}`. In Filestore, + // backup locations map to Google Cloud regions, for example **us-west1**. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -673,9 +984,9 @@ message GetBackupRequest { message ListBackupsRequest { // Required. The project and location for which to retrieve backup // information, in the format - // `projects/{project_number}/locations/{location}`. In Cloud Filestore, - // backup locations map to GCP regions, for example **us-west1**. To retrieve - // backup information for all locations, use "-" for the + // `projects/{project_number}/locations/{location}`. In Filestore, backup + // locations map to Google Cloud regions, for example **us-west1**. To + // retrieve backup information for all locations, use "-" for the // `{location}` value. string parent = 1 [ (google.api.field_behavior) = REQUIRED, diff --git a/third_party/googleapis/google/cloud/filestore/v1/file_v1.yaml b/third_party/googleapis/google/cloud/filestore/v1/file_v1.yaml index e5b858cdc..dd4394317 100644 --- a/third_party/googleapis/google/cloud/filestore/v1/file_v1.yaml +++ b/third_party/googleapis/google/cloud/filestore/v1/file_v1.yaml @@ -5,6 +5,8 @@ title: Cloud Filestore API apis: - name: google.cloud.filestore.v1.CloudFilestoreManager +- name: google.cloud.location.Locations +- name: google.longrunning.Operations documentation: summary: |- @@ -17,17 +19,6 @@ documentation: - selector: google.cloud.location.Locations.ListLocations description: Lists information about the supported locations for this service. -backend: - rules: - - selector: 'google.cloud.filestore.v1.CloudFilestoreManager.*' - deadline: 60.0 - - selector: google.cloud.location.Locations.GetLocation - deadline: 60.0 - - selector: google.cloud.location.Locations.ListLocations - deadline: 60.0 - - selector: 'google.longrunning.Operations.*' - deadline: 60.0 - http: rules: - selector: google.cloud.location.Locations.GetLocation diff --git a/third_party/googleapis/google/cloud/filestore/v1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/filestore/v1beta1/BUILD.bazel index 25385383d..a5d23baae 100644 --- a/third_party/googleapis/google/cloud/filestore/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/filestore/v1beta1/BUILD.bazel @@ -78,12 +78,14 @@ java_gapic_library( gapic_yaml = "file_gapic.yaml", grpc_service_config = "file_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "file_v1beta1.yaml", test_deps = [ ":filestore_java_grpc", ], transport = "grpc+rest", deps = [ ":filestore_java_proto", + "//google/api:api_java_proto", "//google/cloud/common:common_proto", ], ) @@ -118,7 +120,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -153,19 +154,13 @@ go_gapic_library( ], ) -go_test( - name = "filestore_go_gapic_test", - srcs = [":filestore_go_gapic_srcjar_test"], - embed = [":filestore_go_gapic"], - importpath = "cloud.google.com/go/filestore/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-filestore-v1beta1-go", deps = [ ":filestore_go_gapic", ":filestore_go_gapic_srcjar-metadata.srcjar", + ":filestore_go_gapic_srcjar-snippets.srcjar", ":filestore_go_gapic_srcjar-test.srcjar", ":filestore_go_proto", ], @@ -206,7 +201,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -215,12 +209,6 @@ php_proto_library( deps = [":filestore_proto"], ) -php_grpc_library( - name = "filestore_php_grpc", - srcs = [":filestore_proto"], - deps = [":filestore_php_proto"], -) - php_gapic_library( name = "filestore_php_gapic", srcs = [":filestore_proto_with_info"], @@ -229,10 +217,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "file_v1beta1.yaml", transport = "grpc+rest", - deps = [ - ":filestore_php_grpc", - ":filestore_php_proto", - ], + deps = [":filestore_php_proto"], ) # Open Source Packages @@ -240,7 +225,6 @@ php_gapic_assembly_pkg( name = "google-cloud-filestore-v1beta1-php", deps = [ ":filestore_php_gapic", - ":filestore_php_grpc", ":filestore_php_proto", ], ) @@ -306,7 +290,7 @@ ruby_cloud_gapic_library( "ruby-cloud-api-shortname=file", "ruby-cloud-api-id=file.googleapis.com", "ruby-cloud-product-url=https://cloud.google.com/filestore/", - "ruby-cloud-extra-dependencies=google-cloud-common=~> 1.0", + "ruby-cloud-extra-dependencies=google-cloud-common=~>1.0", ], grpc_service_config = "file_grpc_service_config.json", rest_numeric_enums = True, diff --git a/third_party/googleapis/google/cloud/filestore/v1beta1/cloud_filestore_service.proto b/third_party/googleapis/google/cloud/filestore/v1beta1/cloud_filestore_service.proto index 81f284220..07ce66e3b 100644 --- a/third_party/googleapis/google/cloud/filestore/v1beta1/cloud_filestore_service.proto +++ b/third_party/googleapis/google/cloud/filestore/v1beta1/cloud_filestore_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -22,6 +22,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/common/operation_metadata.proto"; import "google/longrunning/operations.proto"; +import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; import "google/protobuf/wrappers.proto"; @@ -48,16 +49,15 @@ option php_namespace = "Google\\Cloud\\Filestore\\V1beta1"; // backups are resources of the form: // `/projects/{project_id}/locations/{location_id}/backup/{backup_id}` // -// Note that location_id can represent a GCP `zone` or `region` depending on the -// resource. -// for example: -// A zonal Filestore instance: +// Note that location_id can represent a Google Cloud `zone` or `region` +// depending on the resource. for example: A zonal Filestore instance: // * `projects/my-project/locations/us-central1-c/instances/my-basic-tier-filer` // A regional Filestore instance: // * `projects/my-project/locations/us-central1/instances/my-enterprise-filer` service CloudFilestoreManager { option (google.api.default_host) = "file.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Lists all instances in a project for either a specified location // or for all locations. @@ -80,7 +80,8 @@ service CloudFilestoreManager { // When creating from a backup, the capacity of the new instance needs to be // equal to or larger than the capacity of the backup (and also equal to or // larger than the minimum capacity of the tier). - rpc CreateInstance(CreateInstanceRequest) returns (google.longrunning.Operation) { + rpc CreateInstance(CreateInstanceRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1beta1/{parent=projects/*/locations/*}/instances" body: "instance" @@ -93,7 +94,8 @@ service CloudFilestoreManager { } // Updates the settings of a specific instance. - rpc UpdateInstance(UpdateInstanceRequest) returns (google.longrunning.Operation) { + rpc UpdateInstance(UpdateInstanceRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v1beta1/{instance.name=projects/*/locations/*/instances/*}" body: "instance" @@ -110,7 +112,8 @@ service CloudFilestoreManager { // The capacity of the instance needs to be equal to or larger than the // capacity of the backup (and also equal to or larger than the minimum // capacity of the tier). - rpc RestoreInstance(RestoreInstanceRequest) returns (google.longrunning.Operation) { + rpc RestoreInstance(RestoreInstanceRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1beta1/{name=projects/*/locations/*/instances/*}:restore" body: "*" @@ -122,7 +125,8 @@ service CloudFilestoreManager { } // Revert an existing instance's file system to a specified snapshot. - rpc RevertInstance(RevertInstanceRequest) returns (google.longrunning.Operation) { + rpc RevertInstance(RevertInstanceRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1beta1/{name=projects/*/locations/*/instances/*}:revert" body: "*" @@ -134,7 +138,8 @@ service CloudFilestoreManager { } // Deletes an instance. - rpc DeleteInstance(DeleteInstanceRequest) returns (google.longrunning.Operation) { + rpc DeleteInstance(DeleteInstanceRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1beta1/{name=projects/*/locations/*/instances/*}" }; @@ -163,7 +168,8 @@ service CloudFilestoreManager { } // Creates a snapshot. - rpc CreateSnapshot(CreateSnapshotRequest) returns (google.longrunning.Operation) { + rpc CreateSnapshot(CreateSnapshotRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1beta1/{parent=projects/*/locations/*/instances/*}/snapshots" body: "snapshot" @@ -176,7 +182,8 @@ service CloudFilestoreManager { } // Deletes a snapshot. - rpc DeleteSnapshot(DeleteSnapshotRequest) returns (google.longrunning.Operation) { + rpc DeleteSnapshot(DeleteSnapshotRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1beta1/{name=projects/*/locations/*/instances/*/snapshots/*}" }; @@ -188,7 +195,8 @@ service CloudFilestoreManager { } // Updates the settings of a specific snapshot. - rpc UpdateSnapshot(UpdateSnapshotRequest) returns (google.longrunning.Operation) { + rpc UpdateSnapshot(UpdateSnapshotRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v1beta1/{snapshot.name=projects/*/locations/*/instances/*/snapshots/*}" body: "snapshot" @@ -365,8 +373,8 @@ message NetworkConfig { // network. string reserved_ip_range = 4; - // Output only. IPv4 addresses in the format `{octet1}.{octet2}.{octet3}.{octet4}` or - // IPv6 addresses in the format + // Output only. IPv4 addresses in the format + // `{octet1}.{octet2}.{octet3}.{octet4}` or IPv6 addresses in the format // `{block1}:{block2}:{block3}:{block4}:{block5}:{block6}:{block7}:{block8}`. repeated string ip_addresses = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -377,9 +385,10 @@ message NetworkConfig { // File share configuration for the instance. message FileShareConfig { - // The name of the file share (must be 32 characters or less for - // Enterprise and High Scale SSD tiers and 16 characters or less for all other - // tiers). + // Required. The name of the file share. Must use 1-16 characters for the + // basic service tier and 1-63 characters for all other service tiers. + // Must use lowercase letters, numbers, or underscores `[a-z0-9_]`. Must + // start with a letter. Immutable. string name = 1; // File share capacity in gigabytes (GB). @@ -392,9 +401,9 @@ message FileShareConfig { // The resource name of the backup, in the format // `projects/{project_id}/locations/{location_id}/backups/{backup_id}`, that // this file share has been restored from. - string source_backup = 9 [(google.api.resource_reference) = { - type: "file.googleapis.com/Backup" - }]; + string source_backup = 9 [ + (google.api.resource_reference) = { type: "file.googleapis.com/Backup" } + ]; } // Nfs Export Options. @@ -428,6 +437,29 @@ message NfsExportOptions { ROOT_SQUASH = 2; } + // The security flavor. In general, a "flavor" represents a designed process + // or system. A "security flavor" is a system designed for the purpose of + // authenticating a data originator (client), recipient (server), and the data + // they transmit between one another. + enum SecurityFlavor { + // SecurityFlavor not set. + SECURITY_FLAVOR_UNSPECIFIED = 0; + + // The user's UNIX user-id and group-ids are transferred "in the clear" (not + // encrypted) on the network, unauthenticated by the NFS server (default). + AUTH_SYS = 1; + + // End-user authentication through Kerberos V5. + KRB5 = 2; + + // krb5 plus integrity protection (data packets are tamper proof). + KRB5I = 3; + + // krb5i plus privacy protection (data packets are tamper proof and + // encrypted). + KRB5P = 4; + } + // List of either an IPv4 addresses in the format // `{octet1}.{octet2}.{octet3}.{octet4}` or CIDR ranges in the format // `{octet1}.{octet2}.{octet3}.{octet4}/{mask size}` which may mount the @@ -459,6 +491,31 @@ message NfsExportOptions { // Anon_gid may only be set with squash_mode of ROOT_SQUASH. An error will be // returned if this field is specified for other squash_mode settings. int64 anon_gid = 5; + + // The security flavors allowed for mount operations. + // The default is AUTH_SYS. + repeated SecurityFlavor security_flavors = 6; +} + +// ManagedActiveDirectoryConfig contains all the parameters for connecting +// to Managed Active Directory. +message ManagedActiveDirectoryConfig { + // Fully qualified domain name. + string domain = 1; + + // The computer name is used as a prefix to the mount remote target. + // Example: if the computer_name is `my-computer`, the mount command will + // look like: `$mount -o vers=4,sec=krb5 + // my-computer.filestore.:`. + string computer = 2; +} + +// Directory Services configuration for Kerberos-based authentication. +message DirectoryServicesConfig { + oneof config { + // Configuration for Managed Service for Microsoft Active Directory. + ManagedActiveDirectoryConfig managed_active_directory = 1; + } } // A Filestore instance. @@ -537,6 +594,14 @@ message Instance { // ENTERPRISE instances offer the features and availability needed for // mission-critical workloads. ENTERPRISE = 7; + + // ZONAL instances offer expanded capacity and performance scaling + // capabilities. + ZONAL = 8; + + // REGIONAL instances offer the features and availability needed for + // mission-critical workloads. + REGIONAL = 9; } // SuspensionReason contains the possible reasons for a suspension. @@ -548,6 +613,19 @@ message Instance { KMS_KEY_ISSUE = 1; } + // File access protocol. + enum FileProtocol { + // FILE_PROTOCOL_UNSPECIFIED serves a "not set" default value when + // a FileProtocol is a separate field in a message. + FILE_PROTOCOL_UNSPECIFIED = 0; + + // NFS 3.0. + NFS_V3 = 1; + + // NFS 4.1. + NFS_V4_1 = 2; + } + // Output only. The resource name of the instance, in the format // `projects/{project_id}/locations/{location_id}/instances/{instance_id}`. string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -562,7 +640,8 @@ message Instance { string status_message = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time when the instance was created. - google.protobuf.Timestamp create_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; // The service tier of the instance. Tier tier = 8; @@ -583,13 +662,19 @@ message Instance { string etag = 12; // Output only. Reserved for future use. - google.protobuf.BoolValue satisfies_pzs = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.BoolValue satisfies_pzs = 13 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Reserved for future use. + bool satisfies_pzi = 26 [(google.api.field_behavior) = OUTPUT_ONLY]; // KMS key name used for data encryption. string kms_key_name = 14; - // Output only. Field indicates all the reasons the instance is in "SUSPENDED" state. - repeated SuspensionReason suspension_reasons = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Field indicates all the reasons the instance is in "SUSPENDED" + // state. + repeated SuspensionReason suspension_reasons = 15 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The max capacity of the instance. int64 max_capacity_gb = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -597,8 +682,8 @@ message Instance { // Output only. The increase/decrease capacity step size. int64 capacity_step_size_gb = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The max number of shares allowed. - int64 max_share_count = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; + // The max number of shares allowed. + int64 max_share_count = 18; // The storage capacity of the instance in gigabytes (GB = 1024^3 bytes). // This capacity can be increased up to `max_capacity_gb` GB in multipliers @@ -609,13 +694,22 @@ message Instance { // it can have more than one file-share or none at all. File-shares are added, // updated and removed through the separate file-share APIs. bool multi_share_enabled = 20; + + // Immutable. The protocol indicates the access protocol for all shares in the + // instance. This field is immutable and it cannot be changed after the + // instance has been created. Default value: `NFS_V3`. + FileProtocol protocol = 21 [(google.api.field_behavior) = IMMUTABLE]; + + // Directory Services configuration for Kerberos-based authentication. + // Should only be set if protocol is "NFS_V4_1". + DirectoryServicesConfig directory_services = 24; } // CreateInstanceRequest creates an instance. message CreateInstanceRequest { // Required. The instance's project and location, in the format // `projects/{project_id}/locations/{location}`. In Filestore, - // locations map to GCP zones, for example **us-west1-b**. + // locations map to Google Cloud zones, for example **us-west1-b**. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -640,73 +734,70 @@ message GetInstanceRequest { // `projects/{project_id}/locations/{location}/instances/{instance_id}`. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "file.googleapis.com/Instance" - } + (google.api.resource_reference) = { type: "file.googleapis.com/Instance" } ]; } // UpdateInstanceRequest updates the settings of an instance. message UpdateInstanceRequest { - // Required. Mask of fields to update. At least one path must be supplied in this - // field. The elements of the repeated paths field may only include these - // fields: + // Required. Mask of fields to update. At least one path must be supplied in + // this field. The elements of the repeated paths field may only include + // these fields: // // * "description" // * "file_shares" // * "labels" - google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = REQUIRED]; + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = REQUIRED]; // Required. Only fields specified in update_mask are updated. Instance instance = 2 [(google.api.field_behavior) = REQUIRED]; } // RestoreInstanceRequest restores an existing instance's file share from a -// snapshot or backup. +// backup. message RestoreInstanceRequest { // Required. The resource name of the instance, in the format // `projects/{project_id}/locations/{location_id}/instances/{instance_id}`. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "file.googleapis.com/Instance" - } + (google.api.resource_reference) = { type: "file.googleapis.com/Instance" } ]; - // Required. Name of the file share in the Filestore instance that the snapshot + // Required. Name of the file share in the Filestore instance that the backup // is being restored to. string file_share = 2 [(google.api.field_behavior) = REQUIRED]; oneof source { // The resource name of the snapshot, in the format // `projects/{project_id}/locations/{location_id}/snapshots/{snapshot_id}`. - string source_snapshot = 3 [(google.api.resource_reference) = { - type: "file.googleapis.com/Snapshot" - }]; + string source_snapshot = 3 [ + deprecated = true, + (google.api.resource_reference) = { type: "file.googleapis.com/Snapshot" } + ]; // The resource name of the backup, in the format // `projects/{project_id}/locations/{location_id}/backups/{backup_id}`. - string source_backup = 4 [(google.api.resource_reference) = { - type: "file.googleapis.com/Backup" - }]; + string source_backup = 4 [ + (google.api.resource_reference) = { type: "file.googleapis.com/Backup" } + ]; } } // RevertInstanceRequest reverts the given instance's file share to the // specified snapshot. message RevertInstanceRequest { - // Required. projects/{project_id}/locations/{location_id}/instances/{instance_id}. + // Required. + // `projects/{project_id}/locations/{location_id}/instances/{instance_id}`. // The resource name of the instance, in the format string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "file.googleapis.com/Instance" - } + (google.api.resource_reference) = { type: "file.googleapis.com/Instance" } ]; - // Required. The snapshot resource ID, in the format 'my-snapshot', where the specified - // ID is the {snapshot_id} of the fully qualified name like - // projects/{project_id}/locations/{location_id}/instances/{instance_id}/snapshots/{snapshot_id} + // Required. The snapshot resource ID, in the format 'my-snapshot', where the + // specified ID is the {snapshot_id} of the fully qualified name like + // `projects/{project_id}/locations/{location_id}/instances/{instance_id}/snapshots/{snapshot_id}` string target_snapshot_id = 2 [(google.api.field_behavior) = REQUIRED]; } @@ -716,9 +807,7 @@ message DeleteInstanceRequest { // `projects/{project_id}/locations/{location}/instances/{instance_id}` string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "file.googleapis.com/Instance" - } + (google.api.resource_reference) = { type: "file.googleapis.com/Instance" } ]; // If set to true, any snapshots of the instance will also be deleted. @@ -728,10 +817,11 @@ message DeleteInstanceRequest { // ListInstancesRequest lists instances. message ListInstancesRequest { - // Required. The project and location for which to retrieve instance information, - // in the format `projects/{project_id}/locations/{location}`. In Cloud - // Filestore, locations map to GCP zones, for example **us-west1-b**. To - // retrieve instance information for all locations, use "-" for the + // Required. The project and location for which to retrieve instance + // information, in the format `projects/{project_id}/locations/{location}`. In + // Cloud Filestore, locations map to Google Cloud zones, for example + // **us-west1-b**. To retrieve instance information for all locations, use "-" + // for the // `{location}` value. string parent = 1 [ (google.api.field_behavior) = REQUIRED, @@ -806,12 +896,14 @@ message Snapshot { State state = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time when the snapshot was created. - google.protobuf.Timestamp create_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Resource labels to represent user provided metadata. map labels = 5; - // Output only. The amount of bytes needed to allocate a full copy of the snapshot content + // Output only. The amount of bytes needed to allocate a full copy of the + // snapshot content int64 filesystem_used_bytes = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; } @@ -821,9 +913,7 @@ message CreateSnapshotRequest { // `projects/{project_id}/locations/{location}/instances/{instance_id}` string parent = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "file.googleapis.com/Instance" - } + (google.api.resource_reference) = { type: "file.googleapis.com/Instance" } ]; // Required. The ID to use for the snapshot. @@ -843,9 +933,7 @@ message GetSnapshotRequest { // `projects/{project_id}/locations/{location}/instances/{instance_id}/snapshots/{snapshot_id}` string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "file.googleapis.com/Snapshot" - } + (google.api.resource_reference) = { type: "file.googleapis.com/Snapshot" } ]; } @@ -855,17 +943,16 @@ message DeleteSnapshotRequest { // `projects/{project_id}/locations/{location}/instances/{instance_id}/snapshots/{snapshot_id}` string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "file.googleapis.com/Snapshot" - } + (google.api.resource_reference) = { type: "file.googleapis.com/Snapshot" } ]; } // UpdateSnapshotRequest updates description and/or labels for a snapshot. message UpdateSnapshotRequest { - // Required. Mask of fields to update. At least one path must be supplied in this - // field. - google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = REQUIRED]; + // Required. Mask of fields to update. At least one path must be supplied in + // this field. + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = REQUIRED]; // Required. A snapshot resource Snapshot snapshot = 2 [(google.api.field_behavior) = REQUIRED]; @@ -878,9 +965,7 @@ message ListSnapshotsRequest { // `projects/{project_id}/locations/{location}/instances/{instance_id}`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "file.googleapis.com/Instance" - } + (google.api.resource_reference) = { type: "file.googleapis.com/Instance" } ]; // The maximum number of items to return. @@ -931,6 +1016,10 @@ message Backup { // Backup is being deleted. DELETING = 4; + + // Backup is not valid and cannot be used for creating new instances or + // restoring existing instances. + INVALID = 5; } // Output only. The resource name of the backup, in the format @@ -945,7 +1034,8 @@ message Backup { State state = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time when the backup was created. - google.protobuf.Timestamp create_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Resource labels to represent user provided metadata. map labels = 5; @@ -953,30 +1043,36 @@ message Backup { // Output only. Capacity of the source file share when the backup was created. int64 capacity_gb = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The size of the storage used by the backup. As backups share storage, - // this number is expected to change with backup creation/deletion. + // Output only. The size of the storage used by the backup. As backups share + // storage, this number is expected to change with backup creation/deletion. int64 storage_bytes = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; // The resource name of the source Filestore instance, in the format // `projects/{project_id}/locations/{location_id}/instances/{instance_id}`, // used to create this backup. - string source_instance = 8 [(google.api.resource_reference) = { - type: "file.googleapis.com/Instance" - }]; + string source_instance = 8 [ + (google.api.resource_reference) = { type: "file.googleapis.com/Instance" } + ]; // Name of the file share in the source Filestore instance that the // backup is created from. string source_file_share = 9; - // Output only. The service tier of the source Filestore instance that this backup - // is created from. - Instance.Tier source_instance_tier = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The service tier of the source Filestore instance that this + // backup is created from. + Instance.Tier source_instance_tier = 10 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Amount of bytes that will be downloaded if the backup is restored + // Output only. Amount of bytes that will be downloaded if the backup is + // restored int64 download_bytes = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Reserved for future use. - google.protobuf.BoolValue satisfies_pzs = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.BoolValue satisfies_pzs = 12 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Reserved for future use. + bool satisfies_pzi = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; // Immutable. KMS key name used for data encryption. string kms_key_name = 13 [(google.api.field_behavior) = IMMUTABLE]; @@ -986,7 +1082,7 @@ message Backup { message CreateBackupRequest { // Required. The backup's project and location, in the format // `projects/{project_id}/locations/{location}`. In Filestore, - // backup locations map to GCP regions, for example **us-west1**. + // backup locations map to Google Cloud regions, for example **us-west1**. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1011,9 +1107,7 @@ message DeleteBackupRequest { // `projects/{project_id}/locations/{location}/backups/{backup_id}` string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "file.googleapis.com/Backup" - } + (google.api.resource_reference) = { type: "file.googleapis.com/Backup" } ]; } @@ -1022,9 +1116,10 @@ message UpdateBackupRequest { // Required. A [backup resource][google.cloud.filestore.v1beta1.Backup] Backup backup = 1 [(google.api.field_behavior) = REQUIRED]; - // Required. Mask of fields to update. At least one path must be supplied in this - // field. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; + // Required. Mask of fields to update. At least one path must be supplied in + // this field. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; } // GetBackupRequest gets the state of a backup. @@ -1033,19 +1128,17 @@ message GetBackupRequest { // `projects/{project_id}/locations/{location}/backups/{backup_id}`. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "file.googleapis.com/Backup" - } + (google.api.resource_reference) = { type: "file.googleapis.com/Backup" } ]; } // ListBackupsRequest lists backups. message ListBackupsRequest { - // Required. The project and location for which to retrieve backup information, - // in the format `projects/{project_id}/locations/{location}`. - // In Filestore, backup locations map to GCP regions, - // for example **us-west1**. - // To retrieve backup information for all locations, use "-" for the + // Required. The project and location for which to retrieve backup + // information, in the format `projects/{project_id}/locations/{location}`. In + // Filestore, backup locations map to Google Cloud regions, for example + // **us-west1**. To retrieve backup information for all locations, use "-" for + // the // `{location}` value. string parent = 1 [ (google.api.field_behavior) = REQUIRED, @@ -1133,10 +1226,25 @@ message Share { State state = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time when the share was created. - google.protobuf.Timestamp create_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Resource labels to represent user provided metadata. map labels = 8; + + // The source that this Share has been restored from. Empty if the Share is + // created from scratch. + oneof source { + // Immutable. Full name of the Cloud Filestore Backup resource that this + // Share is restored from, in the format of + // projects/{project_id}/locations/{location_id}/backups/{backup_id}. + // Empty, if the Share is created from scratch and not restored from a + // backup. + string backup = 9 [ + (google.api.field_behavior) = IMMUTABLE, + (google.api.resource_reference) = { type: "file.googleapis.com/Backup" } + ]; + } } // CreateShareRequest creates a share. @@ -1145,9 +1253,7 @@ message CreateShareRequest { // `projects/{project_id}/locations/{location}/instances/{instance_id}` string parent = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "file.googleapis.com/Instance" - } + (google.api.resource_reference) = { type: "file.googleapis.com/Instance" } ]; // Required. The ID to use for the share. @@ -1167,9 +1273,7 @@ message GetShareRequest { // `projects/{project_id}/locations/{location}/instances/{instance_id}/shares/{share_id}` string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "file.googleapis.com/Share" - } + (google.api.resource_reference) = { type: "file.googleapis.com/Share" } ]; } @@ -1179,9 +1283,7 @@ message DeleteShareRequest { // `projects/{project_id}/locations/{location}/instances/{instance_id}/share/{share_id}` string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "file.googleapis.com/Share" - } + (google.api.resource_reference) = { type: "file.googleapis.com/Share" } ]; } @@ -1192,9 +1294,7 @@ message ListSharesRequest { // `projects/{project_id}/locations/{location}/instances/{instance_id}`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "file.googleapis.com/Instance" - } + (google.api.resource_reference) = { type: "file.googleapis.com/Instance" } ]; // The maximum number of items to return. @@ -1230,13 +1330,14 @@ message UpdateShareRequest { // Only fields specified in update_mask are updated. Share share = 1 [(google.api.field_behavior) = REQUIRED]; - // Required. Mask of fields to update. At least one path must be supplied in this - // field. - // The elements of the repeated paths field may only include these fields: + // Required. Mask of fields to update. At least one path must be supplied in + // this field. The elements of the repeated paths field may only include these + // fields: // // * "description" // * "capacity_gb" // * "labels" // * "nfs_export_options" - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; } diff --git a/third_party/googleapis/google/cloud/filestore/v1beta1/file_gapic.yaml b/third_party/googleapis/google/cloud/filestore/v1beta1/file_gapic.yaml index ccc3196c3..794a6c995 100644 --- a/third_party/googleapis/google/cloud/filestore/v1beta1/file_gapic.yaml +++ b/third_party/googleapis/google/cloud/filestore/v1beta1/file_gapic.yaml @@ -54,10 +54,10 @@ interfaces: total_poll_timeout_millis: 7200000 # 120 minutes - name: DeleteBackup long_running: - initial_poll_delay_millis: 10000 # 10 seconds + initial_poll_delay_millis: 30000 # 30 seconds poll_delay_multiplier: 1.5 max_poll_delay_millis: 60000 # 1 minute - total_poll_timeout_millis: 660000 # 11 minutes + total_poll_timeout_millis: 7200000 # 120 minutes - name: UpdateBackup long_running: initial_poll_delay_millis: 10000 # 10 seconds diff --git a/third_party/googleapis/google/cloud/filestore/v1beta1/file_v1beta1.yaml b/third_party/googleapis/google/cloud/filestore/v1beta1/file_v1beta1.yaml index a06cca64d..c250ecebb 100644 --- a/third_party/googleapis/google/cloud/filestore/v1beta1/file_v1beta1.yaml +++ b/third_party/googleapis/google/cloud/filestore/v1beta1/file_v1beta1.yaml @@ -19,17 +19,6 @@ documentation: - selector: google.cloud.location.Locations.ListLocations description: Lists information about the supported locations for this service. -backend: - rules: - - selector: 'google.cloud.filestore.v1beta1.CloudFilestoreManager.*' - deadline: 60.0 - - selector: google.cloud.location.Locations.GetLocation - deadline: 60.0 - - selector: google.cloud.location.Locations.ListLocations - deadline: 60.0 - - selector: 'google.longrunning.Operations.*' - deadline: 60.0 - http: rules: - selector: google.cloud.location.Locations.GetLocation diff --git a/third_party/googleapis/google/cloud/functions/BUILD.bazel b/third_party/googleapis/google/cloud/functions/BUILD.bazel index 257e6db08..e70ca221d 100644 --- a/third_party/googleapis/google/cloud/functions/BUILD.bazel +++ b/third_party/googleapis/google/cloud/functions/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-functions", "ruby-cloud-env-prefix=FUNCTIONS", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.13", "ruby-cloud-product-url=https://cloud.google.com/functions", "ruby-cloud-api-id=cloudfunctions.googleapis.com", "ruby-cloud-api-shortname=cloudfunctions", ], ruby_cloud_description = "The Cloud Functions API manages lightweight user-provided functions executed in response to events.", ruby_cloud_title = "Cloud Functions", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/functions/v1/BUILD.bazel b/third_party/googleapis/google/cloud/functions/v1/BUILD.bazel index 6bacdf4bf..d57791dbf 100644 --- a/third_party/googleapis/google/cloud/functions/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/functions/v1/BUILD.bazel @@ -45,6 +45,8 @@ proto_library_with_info( deps = [ ":functions_proto", "//google/cloud:common_resources_proto", + "//google/cloud/location:location_proto", + "//google/iam/v1:iam_policy_proto", ], ) @@ -80,12 +82,14 @@ java_gapic_library( service_yaml = "cloudfunctions_v1.yaml", test_deps = [ ":functions_java_grpc", + "//google/cloud/location:location_java_grpc", "//google/iam/v1:iam_java_grpc", ], transport = "grpc+rest", deps = [ ":functions_java_proto", "//google/api:api_java_proto", + "//google/cloud/location:location_java_proto", "//google/iam/v1:iam_java_proto", ], ) @@ -120,7 +124,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -147,6 +150,7 @@ go_gapic_library( transport = "grpc+rest", deps = [ ":functions_go_proto", + "//google/cloud/location:location_go_proto", "//google/iam/v1:iam_go_proto", "//google/longrunning:longrunning_go_proto", "@com_google_cloud_go_longrunning//:go_default_library", @@ -156,19 +160,13 @@ go_gapic_library( ], ) -go_test( - name = "functions_go_gapic_test", - srcs = [":functions_go_gapic_srcjar_test"], - embed = [":functions_go_gapic"], - importpath = "cloud.google.com/go/functions/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-functions-v1-go", deps = [ ":functions_go_gapic", ":functions_go_gapic_srcjar-metadata.srcjar", + ":functions_go_gapic_srcjar-snippets.srcjar", ":functions_go_gapic_srcjar-test.srcjar", ":functions_go_proto", ], @@ -221,7 +219,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -230,12 +227,6 @@ php_proto_library( deps = [":functions_proto"], ) -php_grpc_library( - name = "functions_php_grpc", - srcs = [":functions_proto"], - deps = [":functions_php_proto"], -) - php_gapic_library( name = "functions_php_gapic", srcs = [":functions_proto_with_info"], @@ -243,10 +234,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "cloudfunctions_v1.yaml", transport = "grpc+rest", - deps = [ - ":functions_php_grpc", - ":functions_php_proto", - ], + deps = [":functions_php_proto"], ) # Open Source Packages @@ -254,7 +242,6 @@ php_gapic_assembly_pkg( name = "google-cloud-functions-v1-php", deps = [ ":functions_php_gapic", - ":functions_php_grpc", ":functions_php_proto", ], ) @@ -278,6 +265,7 @@ nodejs_gapic_library( rest_numeric_enums = True, service_yaml = "cloudfunctions_v1.yaml", transport = "grpc+rest", + mixins = "google.longrunning.Operations;google.cloud.location.Locations", deps = [], ) @@ -326,6 +314,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "The Cloud Functions API manages lightweight user-provided functions executed in response to events.", ruby_cloud_title = "Cloud Functions V1", service_yaml = "cloudfunctions_v1.yaml", + transport = "grpc+rest", deps = [ ":functions_ruby_grpc", ":functions_ruby_proto", diff --git a/third_party/googleapis/google/cloud/functions/v1/cloudfunctions_v1.yaml b/third_party/googleapis/google/cloud/functions/v1/cloudfunctions_v1.yaml index 77f854f63..011848855 100644 --- a/third_party/googleapis/google/cloud/functions/v1/cloudfunctions_v1.yaml +++ b/third_party/googleapis/google/cloud/functions/v1/cloudfunctions_v1.yaml @@ -5,6 +5,9 @@ title: Cloud Functions API apis: - name: google.cloud.functions.v1.CloudFunctionsService +- name: google.cloud.location.Locations +- name: google.iam.v1.IAMPolicy +- name: google.longrunning.Operations types: - name: google.cloud.functions.v1.OperationMetadataV1 @@ -40,21 +43,6 @@ events.' permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. -backend: - rules: - - selector: 'google.cloud.functions.v1.CloudFunctionsService.*' - deadline: 30.0 - - selector: google.cloud.functions.v1.CloudFunctionsService.CallFunction - deadline: 600.0 - - selector: google.cloud.functions.v1.CloudFunctionsService.GenerateUploadUrl - deadline: 120.0 - - selector: google.cloud.location.Locations.ListLocations - deadline: 30.0 - - selector: 'google.iam.v1.IAMPolicy.*' - deadline: 30.0 - - selector: 'google.longrunning.Operations.*' - deadline: 30.0 - http: rules: - selector: google.cloud.location.Locations.ListLocations diff --git a/third_party/googleapis/google/cloud/functions/v1/functions.proto b/third_party/googleapis/google/cloud/functions/v1/functions.proto index 4b01c5b4f..a866c5114 100644 --- a/third_party/googleapis/google/cloud/functions/v1/functions.proto +++ b/third_party/googleapis/google/cloud/functions/v1/functions.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,10 +20,12 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/cloud/functions/v1/operations.proto"; import "google/iam/v1/iam_policy.proto"; import "google/iam/v1/policy.proto"; import "google/longrunning/operations.proto"; import "google/protobuf/duration.proto"; +import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; @@ -44,7 +46,8 @@ option (google.api.resource_definition) = { // A service that application uses to manipulate triggers and functions. service CloudFunctionsService { option (google.api.default_host) = "cloudfunctions.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Returns a list of functions that belong to the requested project. rpc ListFunctions(ListFunctionsRequest) returns (ListFunctionsResponse) { @@ -64,7 +67,8 @@ service CloudFunctionsService { // Creates a new function. If a function with the given name already exists in // the specified project, the long running operation will return // `ALREADY_EXISTS` error. - rpc CreateFunction(CreateFunctionRequest) returns (google.longrunning.Operation) { + rpc CreateFunction(CreateFunctionRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{location=projects/*/locations/*}/functions" body: "function" @@ -77,7 +81,8 @@ service CloudFunctionsService { } // Updates existing function. - rpc UpdateFunction(UpdateFunctionRequest) returns (google.longrunning.Operation) { + rpc UpdateFunction(UpdateFunctionRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v1/{function.name=projects/*/locations/*/functions/*}" body: "function" @@ -92,7 +97,8 @@ service CloudFunctionsService { // Deletes a function with the given name from the specified project. If the // given function is used by some trigger, the trigger will be updated to // remove this function. - rpc DeleteFunction(DeleteFunctionRequest) returns (google.longrunning.Operation) { + rpc DeleteFunction(DeleteFunctionRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/functions/*}" }; @@ -140,7 +146,8 @@ service CloudFunctionsService { // And this header SHOULD NOT be specified: // // * `Authorization: Bearer YOUR_TOKEN` - rpc GenerateUploadUrl(GenerateUploadUrlRequest) returns (GenerateUploadUrlResponse) { + rpc GenerateUploadUrl(GenerateUploadUrlRequest) + returns (GenerateUploadUrlResponse) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/functions:generateUploadUrl" body: "*" @@ -152,7 +159,8 @@ service CloudFunctionsService { // minutes after generation. // For more information about the signed URL usage see: // https://cloud.google.com/storage/docs/access-control/signed-urls - rpc GenerateDownloadUrl(GenerateDownloadUrlRequest) returns (GenerateDownloadUrlResponse) { + rpc GenerateDownloadUrl(GenerateDownloadUrlRequest) + returns (GenerateDownloadUrlResponse) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/functions/*}:generateDownloadUrl" body: "*" @@ -161,7 +169,8 @@ service CloudFunctionsService { // Sets the IAM access control policy on the specified function. // Replaces any existing policy. - rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v1/{resource=projects/*/locations/*/functions/*}:setIamPolicy" body: "*" @@ -171,7 +180,8 @@ service CloudFunctionsService { // Gets the IAM access control policy for a function. // Returns an empty policy if the function exists and does not have a policy // set. - rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { get: "/v1/{resource=projects/*/locations/*/functions/*}:getIamPolicy" }; @@ -181,7 +191,8 @@ service CloudFunctionsService { // for a function. // If the function does not exist, this will return an empty set of // permissions, not a NOT_FOUND error. - rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) { + rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) + returns (google.iam.v1.TestIamPermissionsResponse) { option (google.api.http) = { post: "/v1/{resource=projects/*/locations/*/functions/*}:testIamPermissions" body: "*" @@ -249,6 +260,17 @@ message CloudFunction { ARTIFACT_REGISTRY = 2; } + // Security patches are applied automatically to the runtime without requiring + // the function to be redeployed. + message AutomaticUpdatePolicy {} + + // Security patches are only applied when a function is redeployed. + message OnDeployUpdatePolicy { + // Output only. contains the runtime version which was used during latest + // function deployment. + string runtime_version = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + } + // A user-defined name of the function. Function names must be unique // globally and match pattern `projects/*/locations/*/functions/*` string name = 1; @@ -289,11 +311,8 @@ message CloudFunction { CloudFunctionStatus status = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; // The name of the function (as defined in source code) that will be - // executed. Defaults to the resource name suffix, if not specified. For - // backward compatibility, if function with given name is not found, then the - // system will try to use function named "function". - // For Node.js this is name of a function exported by the module specified - // in `source_location`. + // executed. Defaults to the resource name suffix (ID of the function), if not + // specified. string entry_point = 8; // The runtime in which to run the function. Required when deploying a new @@ -317,10 +336,11 @@ message CloudFunction { string service_account_email = 11; // Output only. The last update timestamp of a Cloud Function. - google.protobuf.Timestamp update_time = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 12 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The version identifier of the Cloud Function. Each deployment attempt - // results in a new version of a function being created. + // Output only. The version identifier of the Cloud Function. Each deployment + // attempt results in a new version of a function being created. int64 version_id = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; // Labels associated with this Cloud Function. @@ -332,21 +352,8 @@ message CloudFunction { // Build environment variables that shall be available during build time. map build_environment_variables = 28; - // The VPC Network that this cloud function can connect to. It can be - // either the fully-qualified URI, or the short name of the network resource. - // If the short network name is used, the network must belong to the same - // project. Otherwise, it must belong to a project within the same - // organization. The format of this field is either - // `projects/{project}/global/networks/{network}` or `{network}`, where - // `{project}` is a project id where the network is defined, and `{network}` - // is the short name of the network. - // - // This field is mutually exclusive with `vpc_connector` and will be replaced - // by it. - // - // See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for - // more information on connecting Cloud projects. - string network = 18; + // Deprecated: use vpc_connector + string network = 18 [deprecated = true]; // The limit on the maximum number of function instances that may coexist at a // given time. @@ -416,8 +423,8 @@ message CloudFunction { // function resources in internal projects that are not accessible by the // end user. string kms_key_name = 25 [(google.api.resource_reference) = { - type: "cloudkms.googleapis.com/CryptoKey" - }]; + type: "cloudkms.googleapis.com/CryptoKey" + }]; // Name of the Cloud Build Custom Worker Pool that should be used to build the // function. The format of this field is @@ -447,8 +454,8 @@ message CloudFunction { // Secret volumes configuration. repeated SecretVolume secret_volumes = 30; - // Input only. An identifier for Firebase function sources. Disclaimer: This field is only - // supported for Firebase function deployments. + // Input only. An identifier for Firebase function sources. Disclaimer: This + // field is only supported for Firebase function deployments. string source_token = 31 [(google.api.field_behavior) = INPUT_ONLY]; // User managed repository created in Artifact Registry optionally with a @@ -465,16 +472,24 @@ message CloudFunction { // Cross-location repositories are not supported. // Repository format must be 'DOCKER'. string docker_repository = 34 [(google.api.resource_reference) = { - type: "artifactregistry.googleapis.com/Repository" - }]; + type: "artifactregistry.googleapis.com/Repository" + }]; // Docker Registry to use for this deployment. // - // If `docker_repository` field is specified, this field will be automatically - // set as `ARTIFACT_REGISTRY`. - // If unspecified, it currently defaults to `CONTAINER_REGISTRY`. - // This field may be overridden by the backend for eligible deployments. + // If unspecified, it defaults to `ARTIFACT_REGISTRY`. + // If `docker_repository` field is specified, this field should either be left + // unspecified or set to `ARTIFACT_REGISTRY`. DockerRegistry docker_registry = 35; + + // Runtime update policy can be one of the following. + oneof runtime_update_policy { + // See the comment next to this message for more details. + AutomaticUpdatePolicy automatic_update_policy = 40; + + // See the comment next to this message for more details. + OnDeployUpdatePolicy on_deploy_update_policy = 41; + } } // Describes SourceRepository, used to represent parameters related to @@ -523,7 +538,7 @@ message HttpsTrigger { SECURE_OPTIONAL = 2; } - // Output only. The deployed url for the function. + // Output only. The deployed URL for the function. string url = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // The security level for the function. @@ -589,9 +604,7 @@ message FailurePolicy { // A failed execution will be retried up to 7 days with an exponential backoff // (capped at 10 seconds). // Retried execution is charged as any other execution. - message Retry { - - } + message Retry {} // Defines the action taken in case of a function execution failure. oneof action { @@ -653,7 +666,7 @@ message SecretVolume { // Configuration for a single version. message SecretVersion { // Version of the secret (version number or the string 'latest'). It is - // preferrable to use `latest` version with secret volumes as secret value + // preferable to use `latest` version with secret volumes as secret value // changes are reflected immediately. string version = 1; @@ -690,8 +703,8 @@ message SecretVolume { // Request for the `CreateFunction` method. message CreateFunctionRequest { - // Required. The project and location in which the function should be created, specified - // in the format `projects/*/locations/*` + // Required. The project and location in which the function should be created, + // specified in the format `projects/*/locations/*` string location = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -721,6 +734,14 @@ message GetFunctionRequest { type: "cloudfunctions.googleapis.com/CloudFunction" } ]; + + // Optional. The optional version of the function whose details should be + // obtained. The version of a 1st Gen function is an integer that starts from + // 1 and gets incremented on redeployments. Each deployment creates a config + // version of the underlying function. GCF may keep historical configs for old + // versions. This field can be specified to fetch the historical configs. + // Leave it blank or set to 0 to get the latest version of the function. + int64 version_id = 2 [(google.api.field_behavior) = OPTIONAL]; } // Request for the `ListFunctions` method. @@ -732,8 +753,8 @@ message ListFunctionsRequest { // location(s) are unreachable, the response will contain functions from all // reachable locations along with the names of any unreachable locations. string parent = 1 [(google.api.resource_reference) = { - type: "locations.googleapis.com/Location" - }]; + type: "locations.googleapis.com/Location" + }]; // Maximum number of functions to return per call. int32 page_size = 2; @@ -807,11 +828,11 @@ message GenerateUploadUrlRequest { string parent = 1; // Resource name of a KMS crypto key (managed by the user) used to - // encrypt/decrypt function source code objects in staging Cloud Storage + // encrypt/decrypt function source code objects in intermediate Cloud Storage // buckets. When you generate an upload url and upload your source code, it - // gets copied to a staging Cloud Storage bucket in an internal regional - // project. The source code is then copied to a versioned directory in the - // sources bucket in the consumer project during the function deployment. + // gets copied to an intermediate Cloud Storage bucket. The source code is + // then copied to a versioned directory in the sources bucket in the consumer + // project during the function deployment. // // It must match the pattern // `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. @@ -824,8 +845,8 @@ message GenerateUploadUrlRequest { // delegate access to the Google Storage service account in the internal // project. string kms_key_name = 2 [(google.api.resource_reference) = { - type: "cloudkms.googleapis.com/CryptoKey" - }]; + type: "cloudkms.googleapis.com/CryptoKey" + }]; } // Response of `GenerateSourceUploadUrl` method. diff --git a/third_party/googleapis/google/cloud/functions/v1/operations.proto b/third_party/googleapis/google/cloud/functions/v1/operations.proto index 880774c96..1a9ba1889 100644 --- a/third_party/googleapis/google/cloud/functions/v1/operations.proto +++ b/third_party/googleapis/google/cloud/functions/v1/operations.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/functions/v2/BUILD.bazel b/third_party/googleapis/google/cloud/functions/v2/BUILD.bazel index 8c0af2a3d..c13fe11a4 100644 --- a/third_party/googleapis/google/cloud/functions/v2/BUILD.bazel +++ b/third_party/googleapis/google/cloud/functions/v2/BUILD.bazel @@ -120,7 +120,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -140,7 +139,7 @@ go_gapic_library( grpc_service_config = "functions_grpc_service_config.json", importpath = "cloud.google.com/go/functions/apiv2;functions", metadata = True, - release_level = "beta", + release_level = "ga", rest_numeric_enums = True, service_yaml = "cloudfunctions_v2.yaml", transport = "grpc+rest", @@ -155,19 +154,13 @@ go_gapic_library( ], ) -go_test( - name = "functions_go_gapic_test", - srcs = [":functions_go_gapic_srcjar_test"], - embed = [":functions_go_gapic"], - importpath = "cloud.google.com/go/functions/apiv2", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-functions-v2-go", deps = [ ":functions_go_gapic", ":functions_go_gapic_srcjar-metadata.srcjar", + ":functions_go_gapic_srcjar-snippets.srcjar", ":functions_go_gapic_srcjar-test.srcjar", ":functions_go_proto", ], @@ -220,7 +213,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -229,23 +221,15 @@ php_proto_library( deps = [":functions_proto"], ) -php_grpc_library( - name = "functions_php_grpc", - srcs = [":functions_proto"], - deps = [":functions_php_proto"], -) - php_gapic_library( name = "functions_php_gapic", srcs = [":functions_proto_with_info"], grpc_service_config = "functions_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "cloudfunctions_v2.yaml", transport = "grpc+rest", - deps = [ - ":functions_php_grpc", - ":functions_php_proto", - ], + deps = [":functions_php_proto"], ) # Open Source Packages @@ -253,7 +237,6 @@ php_gapic_assembly_pkg( name = "google-cloud-functions-v2-php", deps = [ ":functions_php_gapic", - ":functions_php_grpc", ":functions_php_proto", ], ) @@ -325,6 +308,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "The Cloud Functions API manages lightweight user-provided functions executed in response to events.", ruby_cloud_title = "Cloud Functions V2", service_yaml = "cloudfunctions_v2.yaml", + transport = "grpc+rest", deps = [ ":functions_ruby_grpc", ":functions_ruby_proto", diff --git a/third_party/googleapis/google/cloud/functions/v2/cloudfunctions_v2.yaml b/third_party/googleapis/google/cloud/functions/v2/cloudfunctions_v2.yaml index f3a3c8982..281294111 100644 --- a/third_party/googleapis/google/cloud/functions/v2/cloudfunctions_v2.yaml +++ b/third_party/googleapis/google/cloud/functions/v2/cloudfunctions_v2.yaml @@ -10,6 +10,7 @@ apis: - name: google.longrunning.Operations types: +- name: google.cloud.functions.v2.LocationMetadata - name: google.cloud.functions.v2.OperationMetadata documentation: diff --git a/third_party/googleapis/google/cloud/functions/v2/functions.proto b/third_party/googleapis/google/cloud/functions/v2/functions.proto index a22047aa0..ae0cdc1ef 100644 --- a/third_party/googleapis/google/cloud/functions/v2/functions.proto +++ b/third_party/googleapis/google/cloud/functions/v2/functions.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -22,6 +22,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/longrunning/operations.proto"; import "google/protobuf/any.proto"; +import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; @@ -75,7 +76,8 @@ option (google.api.resource_definition) = { // executed and how it is triggered. service FunctionService { option (google.api.default_host) = "cloudfunctions.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Returns a function with the given name from the requested project. rpc GetFunction(GetFunctionRequest) returns (Function) { @@ -96,7 +98,8 @@ service FunctionService { // Creates a new function. If a function with the given name already exists in // the specified project, the long running operation will return // `ALREADY_EXISTS` error. - rpc CreateFunction(CreateFunctionRequest) returns (google.longrunning.Operation) { + rpc CreateFunction(CreateFunctionRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v2/{parent=projects/*/locations/*}/functions" body: "function" @@ -109,7 +112,8 @@ service FunctionService { } // Updates existing function. - rpc UpdateFunction(UpdateFunctionRequest) returns (google.longrunning.Operation) { + rpc UpdateFunction(UpdateFunctionRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v2/{function.name=projects/*/locations/*/functions/*}" body: "function" @@ -124,7 +128,8 @@ service FunctionService { // Deletes a function with the given name from the specified project. If the // given function is used by some trigger, the trigger will be updated to // remove this function. - rpc DeleteFunction(DeleteFunctionRequest) returns (google.longrunning.Operation) { + rpc DeleteFunction(DeleteFunctionRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v2/{name=projects/*/locations/*/functions/*}" }; @@ -158,7 +163,8 @@ service FunctionService { // And this header SHOULD NOT be specified: // // * `Authorization: Bearer YOUR_TOKEN` - rpc GenerateUploadUrl(GenerateUploadUrlRequest) returns (GenerateUploadUrlResponse) { + rpc GenerateUploadUrl(GenerateUploadUrlRequest) + returns (GenerateUploadUrlResponse) { option (google.api.http) = { post: "/v2/{parent=projects/*/locations/*}/functions:generateUploadUrl" body: "*" @@ -170,7 +176,8 @@ service FunctionService { // 30 minutes of generation. // For more information about the signed URL usage see: // https://cloud.google.com/storage/docs/access-control/signed-urls - rpc GenerateDownloadUrl(GenerateDownloadUrlRequest) returns (GenerateDownloadUrlResponse) { + rpc GenerateDownloadUrl(GenerateDownloadUrlRequest) + returns (GenerateDownloadUrlResponse) { option (google.api.http) = { post: "/v2/{name=projects/*/locations/*/functions/*}:generateDownloadUrl" body: "*" @@ -234,9 +241,6 @@ message Function { // globally and match pattern `projects/*/locations/*/functions/*` string name = 1; - // Describe whether the function is gen1 or gen2. - Environment environment = 10; - // User-provided description of a function. string description = 2; @@ -256,13 +260,30 @@ message Function { State state = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The last update timestamp of a Cloud Function. - google.protobuf.Timestamp update_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Labels associated with this Cloud Function. map labels = 8; // Output only. State Messages for this Cloud Function. - repeated StateMessage state_messages = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated StateMessage state_messages = 9 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Describe whether the function is 1st Gen or 2nd Gen. + Environment environment = 10; + + // Output only. The deployed url for the function. + string url = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // [Preview] Resource name of a KMS crypto key (managed by the user) used to + // encrypt/decrypt function resources. + // + // It must match the pattern + // `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. + string kms_key_name = 25 [(google.api.resource_reference) = { + type: "cloudkms.googleapis.com/CryptoKey" + }]; } // Informational messages about the state of the Cloud Function or Operation. @@ -379,8 +400,25 @@ message SourceProvenance { // Describes the Build step of the function that builds a container from the // given source. message BuildConfig { - // Output only. The Cloud Build name of the latest successful deployment of the - // function. + // Docker Registry to use for storing function Docker images. + enum DockerRegistry { + // Unspecified. + DOCKER_REGISTRY_UNSPECIFIED = 0; + + // Docker images will be stored in multi-regional Container Registry + // repositories named `gcf`. + CONTAINER_REGISTRY = 1; + + // Docker images will be stored in regional Artifact Registry repositories. + // By default, GCF will create and use repositories named `gcf-artifacts` + // in every region in which a function is deployed. But the repository to + // use can also be specified by the user using the `docker_repository` + // field. + ARTIFACT_REGISTRY = 2; + } + + // Output only. The Cloud Build name of the latest successful deployment of + // the function. string build = 1 [ (google.api.field_behavior) = OUTPUT_ONLY, (google.api.resource_reference) = { @@ -407,7 +445,8 @@ message BuildConfig { Source source = 4; // Output only. A permanent fixed identifier for source. - SourceProvenance source_provenance = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + SourceProvenance source_provenance = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Name of the Cloud Build Custom Worker Pool that should be used to build the // function. The format of this field is @@ -422,14 +461,24 @@ message BuildConfig { // granted the role Cloud Build Custom Workers Builder // (roles/cloudbuild.customworkers.builder) in the project. string worker_pool = 5 [(google.api.resource_reference) = { - type: "cloudbuild.googleapis.com/WorkerPool" - }]; + type: "cloudbuild.googleapis.com/WorkerPool" + }]; // User-provided build-time environment variables for the function map environment_variables = 6; - // Optional. User managed repository created in Artifact Registry optionally with a - // customer managed encryption key. This is the repository to which the + // Docker Registry to use for this deployment. This configuration is only + // applicable to 1st Gen functions, 2nd Gen functions can only use Artifact + // Registry. + // + // If `docker_repository` field is specified, this field will be automatically + // set as `ARTIFACT_REGISTRY`. + // If unspecified, it currently defaults to `CONTAINER_REGISTRY`. + // This field may be overridden by the backend for eligible deployments. + DockerRegistry docker_registry = 10; + + // User managed repository created in Artifact Registry optionally + // with a customer managed encryption key. This is the repository to which the // function docker image will be pushed after it is built by Cloud Build. // If unspecified, GCF will create and use a repository named 'gcf-artifacts' // for every deployed region. @@ -440,12 +489,9 @@ message BuildConfig { // Cross-project repositories are not supported. // Cross-location repositories are not supported. // Repository format must be 'DOCKER'. - string docker_repository = 7 [ - (google.api.field_behavior) = OPTIONAL, - (google.api.resource_reference) = { - type: "artifactregistry.googleapis.com/Repository" - } - ]; + string docker_repository = 7 [(google.api.resource_reference) = { + type: "artifactregistry.googleapis.com/Repository" + }]; } // Describes the Service being deployed. @@ -486,14 +532,33 @@ message ServiceConfig { ALLOW_INTERNAL_AND_GCLB = 3; } + // Available security level settings. + // + // This enforces security protocol on function URL. + // + // Security level is only configurable for 1st Gen functions, If unspecified, + // SECURE_OPTIONAL will be used. 2nd Gen functions are SECURE_ALWAYS ONLY. + enum SecurityLevel { + // Unspecified. + SECURITY_LEVEL_UNSPECIFIED = 0; + + // Requests for a URL that match this handler that do not use HTTPS are + // automatically redirected to the HTTPS URL with the same path. Query + // parameters are reserved for the redirect. + SECURE_ALWAYS = 1; + + // Both HTTP and HTTPS requests with URLs that match the handler succeed + // without redirects. The application can examine the request to determine + // which protocol was used and respond accordingly. + SECURE_OPTIONAL = 2; + } + // Output only. Name of the service associated with a Function. // The format of this field is // `projects/{project}/locations/{region}/services/{service}` string service = 1 [ (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "run.googleapis.com/Service" - } + (google.api.resource_reference) = { type: "run.googleapis.com/Service" } ]; // The function execution timeout. Execution is considered failed and @@ -509,6 +574,13 @@ message ServiceConfig { // a full description. string available_memory = 13; + // [Preview] The number of CPUs used in a single container instance. + // Default value is calculated from available memory. + // Supports the same values as Cloud Run, see + // https://cloud.google.com/run/docs/reference/rest/v1/Container#resourcerequirements + // Example: "1" indicates 1 vCPU + string available_cpu = 22; + // Environment variables that shall be available during function execution. map environment_variables = 4; @@ -540,8 +612,8 @@ message ServiceConfig { // The Serverless VPC Access connector that this cloud function can connect // to. The format of this field is `projects/*/locations/*/connectors/*`. string vpc_connector = 6 [(google.api.resource_reference) = { - type: "vpcaccess.googleapis.com/Connector" - }]; + type: "vpcaccess.googleapis.com/Connector" + }]; // The egress settings for the connector, controlling what traffic is diverted // through it. @@ -573,6 +645,16 @@ message ServiceConfig { // Output only. The name of service revision. string revision = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // [Preview] Sets the maximum number of concurrent requests that each instance + // can receive. Defaults to 1. + int32 max_instance_request_concurrency = 20; + + // Security level configure whether the function only accepts https. + // This configuration is only applicable to 1st Gen functions with Http + // trigger. By default https is optional for 1st Gen functions; 2nd Gen + // functions are https ONLY. + SecurityLevel security_level = 21; } // Configuration for a secret environment variable. It has the information @@ -653,8 +735,8 @@ message EventTrigger { RETRY_POLICY_RETRY = 2; } - // Output only. The resource name of the Eventarc trigger. The format of this field is - // `projects/{project}/locations/{region}/triggers/{trigger}`. + // Output only. The resource name of the Eventarc trigger. The format of this + // field is `projects/{project}/locations/{region}/triggers/{trigger}`. string trigger = 1 [ (google.api.field_behavior) = OUTPUT_ONLY, (google.api.resource_reference) = { @@ -685,19 +767,18 @@ message EventTrigger { // will not be deleted at function deletion. string pubsub_topic = 5 [ (google.api.field_behavior) = OPTIONAL, - (google.api.resource_reference) = { - type: "pubsub.googleapis.com/Topic" - } + (google.api.resource_reference) = { type: "pubsub.googleapis.com/Topic" } ]; - // Optional. The email of the trigger's service account. The service account must have - // permission to invoke Cloud Run services, the permission is + // Optional. The email of the trigger's service account. The service account + // must have permission to invoke Cloud Run services, the permission is // `run.routes.invoke`. // If empty, defaults to the Compute Engine default service account: // `{project_number}-compute@developer.gserviceaccount.com`. string service_account_email = 6 [(google.api.field_behavior) = OPTIONAL]; - // Optional. If unset, then defaults to ignoring failures (i.e. not retrying them). + // Optional. If unset, then defaults to ignoring failures (i.e. not retrying + // them). RetryPolicy retry_policy = 7 [(google.api.field_behavior) = OPTIONAL]; // Optional. The name of the channel associated with the trigger in @@ -739,12 +820,12 @@ message GetFunctionRequest { // Request for the `ListFunctions` method. message ListFunctionsRequest { - // Required. The project and location from which the function should be listed, - // specified in the format `projects/*/locations/*` - // If you want to list functions in all locations, use "-" in place of a - // location. When listing functions in all locations, if one or more - // location(s) are unreachable, the response will contain functions from all - // reachable locations along with the names of any unreachable locations. + // Required. The project and location from which the function should be + // listed, specified in the format `projects/*/locations/*` If you want to + // list functions in all locations, use "-" in place of a location. When + // listing functions in all locations, if one or more location(s) are + // unreachable, the response will contain functions from all reachable + // locations along with the names of any unreachable locations. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -752,7 +833,10 @@ message ListFunctionsRequest { } ]; - // Maximum number of functions to return per call. + // Maximum number of functions to return per call. The largest allowed + // page_size is 1,000, if the page_size is omitted or specified as greater + // than 1,000 then it will be replaced as 1,000. The size of the list + // response can be less than specified when used with filters. int32 page_size = 2; // The value returned by the last @@ -787,8 +871,8 @@ message ListFunctionsResponse { // Request for the `CreateFunction` method. message CreateFunctionRequest { - // Required. The project and location in which the function should be created, specified - // in the format `projects/*/locations/*` + // Required. The project and location in which the function should be created, + // specified in the format `projects/*/locations/*` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -831,14 +915,33 @@ message DeleteFunctionRequest { // Request of `GenerateSourceUploadUrl` method. message GenerateUploadUrlRequest { - // Required. The project and location in which the Google Cloud Storage signed URL - // should be generated, specified in the format `projects/*/locations/*`. + // Required. The project and location in which the Google Cloud Storage signed + // URL should be generated, specified in the format `projects/*/locations/*`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { type: "locations.googleapis.com/Location" } ]; + + // [Preview] Resource name of a KMS crypto key (managed by the user) used to + // encrypt/decrypt function source code objects in intermediate Cloud Storage + // buckets. When you generate an upload url and upload your source code, it + // gets copied to an intermediate Cloud Storage bucket. The source code is + // then copied to a versioned directory in the sources bucket in the consumer + // project during the function deployment. + // + // It must match the pattern + // `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. + // + // The Google Cloud Functions service account + // (service-{project_number}@gcf-admin-robot.iam.gserviceaccount.com) must be + // granted the role 'Cloud KMS CryptoKey Encrypter/Decrypter + // (roles/cloudkms.cryptoKeyEncrypterDecrypter)' on the + // Key/KeyRing/Project/Organization (least access preferred). + string kms_key_name = 2 [(google.api.resource_reference) = { + type: "cloudkms.googleapis.com/CryptoKey" + }]; } // Response of `GenerateSourceUploadUrl` method. @@ -861,8 +964,8 @@ message GenerateUploadUrlResponse { // Request of `GenerateDownloadUrl` method. message GenerateDownloadUrlRequest { - // Required. The name of function for which source code Google Cloud Storage signed - // URL should be generated. + // Required. The name of function for which source code Google Cloud Storage + // signed URL should be generated. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -880,8 +983,8 @@ message GenerateDownloadUrlResponse { // Request for the `ListRuntimes` method. message ListRuntimesRequest { - // Required. The project and location from which the runtimes should be listed, - // specified in the format `projects/*/locations/*` + // Required. The project and location from which the runtimes should be + // listed, specified in the format `projects/*/locations/*` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -962,8 +1065,9 @@ message OperationMetadata { // Identifies whether the user has requested cancellation // of the operation. Operations that have successfully been cancelled - // have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, - // corresponding to `Code.CANCELLED`. + // have [Operation.error][] value with a + // [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to + // `Code.CANCELLED`. bool cancel_requested = 6; // API version used to start the operation. @@ -976,6 +1080,12 @@ message OperationMetadata { repeated Stage stages = 9; } +// Extra GCF specific location information. +message LocationMetadata { + // The Cloud Function environments this location supports. + repeated Environment environments = 1; +} + // Each Stage of the deployment process message Stage { // Possible names for a Stage diff --git a/third_party/googleapis/google/cloud/functions/v2/functions_grpc_service_config.json b/third_party/googleapis/google/cloud/functions/v2/functions_grpc_service_config.json index 0ceccf828..c76ad0c2c 100644 --- a/third_party/googleapis/google/cloud/functions/v2/functions_grpc_service_config.json +++ b/third_party/googleapis/google/cloud/functions/v2/functions_grpc_service_config.json @@ -28,7 +28,9 @@ "initialBackoff": "0.100s", "maxBackoff": "60s", "backoffMultiplier": 1.3, - "retryableStatusCodes": ["UNAVAILABLE"] + "retryableStatusCodes": [ + "UNAVAILABLE" + ] } }, { diff --git a/third_party/googleapis/google/cloud/functions/v2alpha/BUILD.bazel b/third_party/googleapis/google/cloud/functions/v2alpha/BUILD.bazel index a4e874afe..9f72b3d58 100644 --- a/third_party/googleapis/google/cloud/functions/v2alpha/BUILD.bazel +++ b/third_party/googleapis/google/cloud/functions/v2alpha/BUILD.bazel @@ -24,7 +24,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -34,7 +33,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -163,19 +161,13 @@ go_gapic_library( ], ) -go_test( - name = "functions_go_gapic_test", - srcs = [":functions_go_gapic_srcjar_test"], - embed = [":functions_go_gapic"], - importpath = "cloud.google.com/go/functions/apiv2alpha", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-functions-v2alpha-go", deps = [ ":functions_go_gapic", ":functions_go_gapic_srcjar-metadata.srcjar", + ":functions_go_gapic_srcjar-snippets.srcjar", ":functions_go_gapic_srcjar-test.srcjar", ":functions_go_proto", ], @@ -216,12 +208,6 @@ php_proto_library( deps = [":functions_proto"], ) -php_grpc_library( - name = "functions_php_grpc", - srcs = [":functions_proto"], - deps = [":functions_php_proto"], -) - php_gapic_library( name = "functions_php_gapic", srcs = [":functions_proto_with_info"], @@ -229,10 +215,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "cloudfunctions_v2alpha.yaml", transport = "grpc+rest", - deps = [ - ":functions_php_grpc", - ":functions_php_proto", - ], + deps = [":functions_php_proto"], ) # Open Source Packages @@ -240,7 +223,6 @@ php_gapic_assembly_pkg( name = "google-cloud-functions-v2alpha-php", deps = [ ":functions_php_gapic", - ":functions_php_grpc", ":functions_php_proto", ], ) @@ -286,6 +268,7 @@ ruby_cloud_gapic_library( grpc_service_config = "functions_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "cloudfunctions_v2alpha.yaml", + transport = "grpc+rest", deps = [ ":functions_ruby_grpc", ":functions_ruby_proto", diff --git a/third_party/googleapis/google/cloud/functions/v2alpha/cloudfunctions_v2alpha.yaml b/third_party/googleapis/google/cloud/functions/v2alpha/cloudfunctions_v2alpha.yaml index 6be0670f0..e58c4aa68 100644 --- a/third_party/googleapis/google/cloud/functions/v2alpha/cloudfunctions_v2alpha.yaml +++ b/third_party/googleapis/google/cloud/functions/v2alpha/cloudfunctions_v2alpha.yaml @@ -10,6 +10,7 @@ apis: - name: google.longrunning.Operations types: +- name: google.cloud.functions.v2alpha.LocationMetadata - name: google.cloud.functions.v2alpha.OperationMetadata documentation: diff --git a/third_party/googleapis/google/cloud/functions/v2alpha/functions.proto b/third_party/googleapis/google/cloud/functions/v2alpha/functions.proto index 0861c4b66..3c96518d7 100644 --- a/third_party/googleapis/google/cloud/functions/v2alpha/functions.proto +++ b/third_party/googleapis/google/cloud/functions/v2alpha/functions.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -22,6 +22,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/longrunning/operations.proto"; import "google/protobuf/any.proto"; +import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; @@ -62,6 +63,10 @@ option (google.api.resource_definition) = { type: "pubsub.googleapis.com/Topic" pattern: "projects/{project}/topics/{topic}" }; +option (google.api.resource_definition) = { + type: "cloudkms.googleapis.com/CryptoKey" + pattern: "projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}" +}; // Google Cloud Functions is used to deploy functions that are executed by // Google in response to various events. Data connected with that event is @@ -71,7 +76,8 @@ option (google.api.resource_definition) = { // executed and how it is triggered. service FunctionService { option (google.api.default_host) = "cloudfunctions.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Returns a function with the given name from the requested project. rpc GetFunction(GetFunctionRequest) returns (Function) { @@ -92,7 +98,8 @@ service FunctionService { // Creates a new function. If a function with the given name already exists in // the specified project, the long running operation will return // `ALREADY_EXISTS` error. - rpc CreateFunction(CreateFunctionRequest) returns (google.longrunning.Operation) { + rpc CreateFunction(CreateFunctionRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v2alpha/{parent=projects/*/locations/*}/functions" body: "function" @@ -105,7 +112,8 @@ service FunctionService { } // Updates existing function. - rpc UpdateFunction(UpdateFunctionRequest) returns (google.longrunning.Operation) { + rpc UpdateFunction(UpdateFunctionRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v2alpha/{function.name=projects/*/locations/*/functions/*}" body: "function" @@ -120,7 +128,8 @@ service FunctionService { // Deletes a function with the given name from the specified project. If the // given function is used by some trigger, the trigger will be updated to // remove this function. - rpc DeleteFunction(DeleteFunctionRequest) returns (google.longrunning.Operation) { + rpc DeleteFunction(DeleteFunctionRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v2alpha/{name=projects/*/locations/*/functions/*}" }; @@ -154,7 +163,8 @@ service FunctionService { // And this header SHOULD NOT be specified: // // * `Authorization: Bearer YOUR_TOKEN` - rpc GenerateUploadUrl(GenerateUploadUrlRequest) returns (GenerateUploadUrlResponse) { + rpc GenerateUploadUrl(GenerateUploadUrlRequest) + returns (GenerateUploadUrlResponse) { option (google.api.http) = { post: "/v2alpha/{parent=projects/*/locations/*}/functions:generateUploadUrl" body: "*" @@ -166,7 +176,8 @@ service FunctionService { // 30 minutes of generation. // For more information about the signed URL usage see: // https://cloud.google.com/storage/docs/access-control/signed-urls - rpc GenerateDownloadUrl(GenerateDownloadUrlRequest) returns (GenerateDownloadUrlResponse) { + rpc GenerateDownloadUrl(GenerateDownloadUrlRequest) + returns (GenerateDownloadUrlResponse) { option (google.api.http) = { post: "/v2alpha/{name=projects/*/locations/*/functions/*}:generateDownloadUrl" body: "*" @@ -230,9 +241,6 @@ message Function { // globally and match pattern `projects/*/locations/*/functions/*` string name = 1; - // Describe whether the function is gen1 or gen2. - Environment environment = 10; - // User-provided description of a function. string description = 2; @@ -252,13 +260,30 @@ message Function { State state = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The last update timestamp of a Cloud Function. - google.protobuf.Timestamp update_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Labels associated with this Cloud Function. map labels = 8; // Output only. State Messages for this Cloud Function. - repeated StateMessage state_messages = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated StateMessage state_messages = 9 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Describe whether the function is 1st Gen or 2nd Gen. + Environment environment = 10; + + // Output only. The deployed url for the function. + string url = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // [Preview] Resource name of a KMS crypto key (managed by the user) used to + // encrypt/decrypt function resources. + // + // It must match the pattern + // `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. + string kms_key_name = 25 [(google.api.resource_reference) = { + type: "cloudkms.googleapis.com/CryptoKey" + }]; } // Informational messages about the state of the Cloud Function or Operation. @@ -375,8 +400,25 @@ message SourceProvenance { // Describes the Build step of the function that builds a container from the // given source. message BuildConfig { - // Output only. The Cloud Build name of the latest successful deployment of the - // function. + // Docker Registry to use for storing function Docker images. + enum DockerRegistry { + // Unspecified. + DOCKER_REGISTRY_UNSPECIFIED = 0; + + // Docker images will be stored in multi-regional Container Registry + // repositories named `gcf`. + CONTAINER_REGISTRY = 1; + + // Docker images will be stored in regional Artifact Registry repositories. + // By default, GCF will create and use repositories named `gcf-artifacts` + // in every region in which a function is deployed. But the repository to + // use can also be specified by the user using the `docker_repository` + // field. + ARTIFACT_REGISTRY = 2; + } + + // Output only. The Cloud Build name of the latest successful deployment of + // the function. string build = 1 [ (google.api.field_behavior) = OUTPUT_ONLY, (google.api.resource_reference) = { @@ -403,7 +445,8 @@ message BuildConfig { Source source = 4; // Output only. A permanent fixed identifier for source. - SourceProvenance source_provenance = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + SourceProvenance source_provenance = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Name of the Cloud Build Custom Worker Pool that should be used to build the // function. The format of this field is @@ -418,14 +461,24 @@ message BuildConfig { // granted the role Cloud Build Custom Workers Builder // (roles/cloudbuild.customworkers.builder) in the project. string worker_pool = 5 [(google.api.resource_reference) = { - type: "cloudbuild.googleapis.com/WorkerPool" - }]; + type: "cloudbuild.googleapis.com/WorkerPool" + }]; // User-provided build-time environment variables for the function map environment_variables = 6; - // Optional. User managed repository created in Artifact Registry optionally with a - // customer managed encryption key. This is the repository to which the + // Docker Registry to use for this deployment. This configuration is only + // applicable to 1st Gen functions, 2nd Gen functions can only use Artifact + // Registry. + // + // If `docker_repository` field is specified, this field will be automatically + // set as `ARTIFACT_REGISTRY`. + // If unspecified, it currently defaults to `CONTAINER_REGISTRY`. + // This field may be overridden by the backend for eligible deployments. + DockerRegistry docker_registry = 10; + + // User managed repository created in Artifact Registry optionally + // with a customer managed encryption key. This is the repository to which the // function docker image will be pushed after it is built by Cloud Build. // If unspecified, GCF will create and use a repository named 'gcf-artifacts' // for every deployed region. @@ -436,12 +489,9 @@ message BuildConfig { // Cross-project repositories are not supported. // Cross-location repositories are not supported. // Repository format must be 'DOCKER'. - string docker_repository = 7 [ - (google.api.field_behavior) = OPTIONAL, - (google.api.resource_reference) = { - type: "artifactregistry.googleapis.com/Repository" - } - ]; + string docker_repository = 7 [(google.api.resource_reference) = { + type: "artifactregistry.googleapis.com/Repository" + }]; } // Describes the Service being deployed. @@ -482,14 +532,33 @@ message ServiceConfig { ALLOW_INTERNAL_AND_GCLB = 3; } + // Available security level settings. + // + // This enforces security protocol on function URL. + // + // Security level is only configurable for 1st Gen functions, If unspecified, + // SECURE_OPTIONAL will be used. 2nd Gen functions are SECURE_ALWAYS ONLY. + enum SecurityLevel { + // Unspecified. + SECURITY_LEVEL_UNSPECIFIED = 0; + + // Requests for a URL that match this handler that do not use HTTPS are + // automatically redirected to the HTTPS URL with the same path. Query + // parameters are reserved for the redirect. + SECURE_ALWAYS = 1; + + // Both HTTP and HTTPS requests with URLs that match the handler succeed + // without redirects. The application can examine the request to determine + // which protocol was used and respond accordingly. + SECURE_OPTIONAL = 2; + } + // Output only. Name of the service associated with a Function. // The format of this field is // `projects/{project}/locations/{region}/services/{service}` string service = 1 [ (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "run.googleapis.com/Service" - } + (google.api.resource_reference) = { type: "run.googleapis.com/Service" } ]; // The function execution timeout. Execution is considered failed and @@ -505,6 +574,13 @@ message ServiceConfig { // a full description. string available_memory = 13; + // [Preview] The number of CPUs used in a single container instance. + // Default value is calculated from available memory. + // Supports the same values as Cloud Run, see + // https://cloud.google.com/run/docs/reference/rest/v1/Container#resourcerequirements + // Example: "1" indicates 1 vCPU + string available_cpu = 22; + // Environment variables that shall be available during function execution. map environment_variables = 4; @@ -536,8 +612,8 @@ message ServiceConfig { // The Serverless VPC Access connector that this cloud function can connect // to. The format of this field is `projects/*/locations/*/connectors/*`. string vpc_connector = 6 [(google.api.resource_reference) = { - type: "vpcaccess.googleapis.com/Connector" - }]; + type: "vpcaccess.googleapis.com/Connector" + }]; // The egress settings for the connector, controlling what traffic is diverted // through it. @@ -569,6 +645,16 @@ message ServiceConfig { // Output only. The name of service revision. string revision = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // [Preview] Sets the maximum number of concurrent requests that each instance + // can receive. Defaults to 1. + int32 max_instance_request_concurrency = 20; + + // Security level configure whether the function only accepts https. + // This configuration is only applicable to 1st Gen functions with Http + // trigger. By default https is optional for 1st Gen functions; 2nd Gen + // functions are https ONLY. + SecurityLevel security_level = 21; } // Configuration for a secret environment variable. It has the information @@ -649,8 +735,8 @@ message EventTrigger { RETRY_POLICY_RETRY = 2; } - // Output only. The resource name of the Eventarc trigger. The format of this field is - // `projects/{project}/locations/{region}/triggers/{trigger}`. + // Output only. The resource name of the Eventarc trigger. The format of this + // field is `projects/{project}/locations/{region}/triggers/{trigger}`. string trigger = 1 [ (google.api.field_behavior) = OUTPUT_ONLY, (google.api.resource_reference) = { @@ -681,19 +767,18 @@ message EventTrigger { // will not be deleted at function deletion. string pubsub_topic = 5 [ (google.api.field_behavior) = OPTIONAL, - (google.api.resource_reference) = { - type: "pubsub.googleapis.com/Topic" - } + (google.api.resource_reference) = { type: "pubsub.googleapis.com/Topic" } ]; - // Optional. The email of the trigger's service account. The service account must have - // permission to invoke Cloud Run services, the permission is + // Optional. The email of the trigger's service account. The service account + // must have permission to invoke Cloud Run services, the permission is // `run.routes.invoke`. // If empty, defaults to the Compute Engine default service account: // `{project_number}-compute@developer.gserviceaccount.com`. string service_account_email = 6 [(google.api.field_behavior) = OPTIONAL]; - // Optional. If unset, then defaults to ignoring failures (i.e. not retrying them). + // Optional. If unset, then defaults to ignoring failures (i.e. not retrying + // them). RetryPolicy retry_policy = 7 [(google.api.field_behavior) = OPTIONAL]; // Optional. The name of the channel associated with the trigger in @@ -735,12 +820,12 @@ message GetFunctionRequest { // Request for the `ListFunctions` method. message ListFunctionsRequest { - // Required. The project and location from which the function should be listed, - // specified in the format `projects/*/locations/*` - // If you want to list functions in all locations, use "-" in place of a - // location. When listing functions in all locations, if one or more - // location(s) are unreachable, the response will contain functions from all - // reachable locations along with the names of any unreachable locations. + // Required. The project and location from which the function should be + // listed, specified in the format `projects/*/locations/*` If you want to + // list functions in all locations, use "-" in place of a location. When + // listing functions in all locations, if one or more location(s) are + // unreachable, the response will contain functions from all reachable + // locations along with the names of any unreachable locations. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -748,7 +833,10 @@ message ListFunctionsRequest { } ]; - // Maximum number of functions to return per call. + // Maximum number of functions to return per call. The largest allowed + // page_size is 1,000, if the page_size is omitted or specified as greater + // than 1,000 then it will be replaced as 1,000. The size of the list + // response can be less than specified when used with filters. int32 page_size = 2; // The value returned by the last @@ -783,8 +871,8 @@ message ListFunctionsResponse { // Request for the `CreateFunction` method. message CreateFunctionRequest { - // Required. The project and location in which the function should be created, specified - // in the format `projects/*/locations/*` + // Required. The project and location in which the function should be created, + // specified in the format `projects/*/locations/*` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -827,14 +915,33 @@ message DeleteFunctionRequest { // Request of `GenerateSourceUploadUrl` method. message GenerateUploadUrlRequest { - // Required. The project and location in which the Google Cloud Storage signed URL - // should be generated, specified in the format `projects/*/locations/*`. + // Required. The project and location in which the Google Cloud Storage signed + // URL should be generated, specified in the format `projects/*/locations/*`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { type: "locations.googleapis.com/Location" } ]; + + // [Preview] Resource name of a KMS crypto key (managed by the user) used to + // encrypt/decrypt function source code objects in intermediate Cloud Storage + // buckets. When you generate an upload url and upload your source code, it + // gets copied to an intermediate Cloud Storage bucket. The source code is + // then copied to a versioned directory in the sources bucket in the consumer + // project during the function deployment. + // + // It must match the pattern + // `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. + // + // The Google Cloud Functions service account + // (service-{project_number}@gcf-admin-robot.iam.gserviceaccount.com) must be + // granted the role 'Cloud KMS CryptoKey Encrypter/Decrypter + // (roles/cloudkms.cryptoKeyEncrypterDecrypter)' on the + // Key/KeyRing/Project/Organization (least access preferred). + string kms_key_name = 2 [(google.api.resource_reference) = { + type: "cloudkms.googleapis.com/CryptoKey" + }]; } // Response of `GenerateSourceUploadUrl` method. @@ -857,8 +964,8 @@ message GenerateUploadUrlResponse { // Request of `GenerateDownloadUrl` method. message GenerateDownloadUrlRequest { - // Required. The name of function for which source code Google Cloud Storage signed - // URL should be generated. + // Required. The name of function for which source code Google Cloud Storage + // signed URL should be generated. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -876,8 +983,8 @@ message GenerateDownloadUrlResponse { // Request for the `ListRuntimes` method. message ListRuntimesRequest { - // Required. The project and location from which the runtimes should be listed, - // specified in the format `projects/*/locations/*` + // Required. The project and location from which the runtimes should be + // listed, specified in the format `projects/*/locations/*` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -958,8 +1065,9 @@ message OperationMetadata { // Identifies whether the user has requested cancellation // of the operation. Operations that have successfully been cancelled - // have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, - // corresponding to `Code.CANCELLED`. + // have [Operation.error][] value with a + // [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to + // `Code.CANCELLED`. bool cancel_requested = 6; // API version used to start the operation. @@ -972,6 +1080,12 @@ message OperationMetadata { repeated Stage stages = 9; } +// Extra GCF specific location information. +message LocationMetadata { + // The Cloud Function environments this location supports. + repeated Environment environments = 1; +} + // Each Stage of the deployment process message Stage { // Possible names for a Stage diff --git a/third_party/googleapis/google/cloud/functions/v2alpha/functions_grpc_service_config.json b/third_party/googleapis/google/cloud/functions/v2alpha/functions_grpc_service_config.json index 0bda37e8d..1e568e8bf 100644 --- a/third_party/googleapis/google/cloud/functions/v2alpha/functions_grpc_service_config.json +++ b/third_party/googleapis/google/cloud/functions/v2alpha/functions_grpc_service_config.json @@ -28,7 +28,9 @@ "initialBackoff": "0.100s", "maxBackoff": "60s", "backoffMultiplier": 1.3, - "retryableStatusCodes": ["UNAVAILABLE"] + "retryableStatusCodes": [ + "UNAVAILABLE" + ] } }, { diff --git a/third_party/googleapis/google/cloud/functions/v2beta/BUILD.bazel b/third_party/googleapis/google/cloud/functions/v2beta/BUILD.bazel index 6bf1a8db3..bf423e2de 100644 --- a/third_party/googleapis/google/cloud/functions/v2beta/BUILD.bazel +++ b/third_party/googleapis/google/cloud/functions/v2beta/BUILD.bazel @@ -24,7 +24,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -34,7 +33,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -163,19 +161,13 @@ go_gapic_library( ], ) -go_test( - name = "functions_go_gapic_test", - srcs = [":functions_go_gapic_srcjar_test"], - embed = [":functions_go_gapic"], - importpath = "cloud.google.com/go/functions/apiv2beta", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-functions-v2beta-go", deps = [ ":functions_go_gapic", ":functions_go_gapic_srcjar-metadata.srcjar", + ":functions_go_gapic_srcjar-snippets.srcjar", ":functions_go_gapic_srcjar-test.srcjar", ":functions_go_proto", ], @@ -216,12 +208,6 @@ php_proto_library( deps = [":functions_proto"], ) -php_grpc_library( - name = "functions_php_grpc", - srcs = [":functions_proto"], - deps = [":functions_php_proto"], -) - php_gapic_library( name = "functions_php_gapic", srcs = [":functions_proto_with_info"], @@ -229,10 +215,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "cloudfunctions_v2beta.yaml", transport = "grpc+rest", - deps = [ - ":functions_php_grpc", - ":functions_php_proto", - ], + deps = [":functions_php_proto"], ) # Open Source Packages @@ -240,7 +223,6 @@ php_gapic_assembly_pkg( name = "google-cloud-functions-v2beta-php", deps = [ ":functions_php_gapic", - ":functions_php_grpc", ":functions_php_proto", ], ) @@ -286,6 +268,7 @@ ruby_cloud_gapic_library( grpc_service_config = "functions_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "cloudfunctions_v2beta.yaml", + transport = "grpc+rest", deps = [ ":functions_ruby_grpc", ":functions_ruby_proto", diff --git a/third_party/googleapis/google/cloud/functions/v2beta/cloudfunctions_v2beta.yaml b/third_party/googleapis/google/cloud/functions/v2beta/cloudfunctions_v2beta.yaml index 6785bb074..0dccff055 100644 --- a/third_party/googleapis/google/cloud/functions/v2beta/cloudfunctions_v2beta.yaml +++ b/third_party/googleapis/google/cloud/functions/v2beta/cloudfunctions_v2beta.yaml @@ -10,6 +10,7 @@ apis: - name: google.longrunning.Operations types: +- name: google.cloud.functions.v2beta.LocationMetadata - name: google.cloud.functions.v2beta.OperationMetadata documentation: diff --git a/third_party/googleapis/google/cloud/functions/v2beta/functions.proto b/third_party/googleapis/google/cloud/functions/v2beta/functions.proto index 4d2284f31..a8f89d5a4 100644 --- a/third_party/googleapis/google/cloud/functions/v2beta/functions.proto +++ b/third_party/googleapis/google/cloud/functions/v2beta/functions.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -22,6 +22,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/longrunning/operations.proto"; import "google/protobuf/any.proto"; +import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; @@ -62,6 +63,10 @@ option (google.api.resource_definition) = { type: "pubsub.googleapis.com/Topic" pattern: "projects/{project}/topics/{topic}" }; +option (google.api.resource_definition) = { + type: "cloudkms.googleapis.com/CryptoKey" + pattern: "projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}" +}; // Google Cloud Functions is used to deploy functions that are executed by // Google in response to various events. Data connected with that event is @@ -71,7 +76,8 @@ option (google.api.resource_definition) = { // executed and how it is triggered. service FunctionService { option (google.api.default_host) = "cloudfunctions.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Returns a function with the given name from the requested project. rpc GetFunction(GetFunctionRequest) returns (Function) { @@ -92,7 +98,8 @@ service FunctionService { // Creates a new function. If a function with the given name already exists in // the specified project, the long running operation will return // `ALREADY_EXISTS` error. - rpc CreateFunction(CreateFunctionRequest) returns (google.longrunning.Operation) { + rpc CreateFunction(CreateFunctionRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v2beta/{parent=projects/*/locations/*}/functions" body: "function" @@ -105,7 +112,8 @@ service FunctionService { } // Updates existing function. - rpc UpdateFunction(UpdateFunctionRequest) returns (google.longrunning.Operation) { + rpc UpdateFunction(UpdateFunctionRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v2beta/{function.name=projects/*/locations/*/functions/*}" body: "function" @@ -120,7 +128,8 @@ service FunctionService { // Deletes a function with the given name from the specified project. If the // given function is used by some trigger, the trigger will be updated to // remove this function. - rpc DeleteFunction(DeleteFunctionRequest) returns (google.longrunning.Operation) { + rpc DeleteFunction(DeleteFunctionRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v2beta/{name=projects/*/locations/*/functions/*}" }; @@ -154,7 +163,8 @@ service FunctionService { // And this header SHOULD NOT be specified: // // * `Authorization: Bearer YOUR_TOKEN` - rpc GenerateUploadUrl(GenerateUploadUrlRequest) returns (GenerateUploadUrlResponse) { + rpc GenerateUploadUrl(GenerateUploadUrlRequest) + returns (GenerateUploadUrlResponse) { option (google.api.http) = { post: "/v2beta/{parent=projects/*/locations/*}/functions:generateUploadUrl" body: "*" @@ -166,7 +176,8 @@ service FunctionService { // 30 minutes of generation. // For more information about the signed URL usage see: // https://cloud.google.com/storage/docs/access-control/signed-urls - rpc GenerateDownloadUrl(GenerateDownloadUrlRequest) returns (GenerateDownloadUrlResponse) { + rpc GenerateDownloadUrl(GenerateDownloadUrlRequest) + returns (GenerateDownloadUrlResponse) { option (google.api.http) = { post: "/v2beta/{name=projects/*/locations/*/functions/*}:generateDownloadUrl" body: "*" @@ -230,9 +241,6 @@ message Function { // globally and match pattern `projects/*/locations/*/functions/*` string name = 1; - // Describe whether the function is gen1 or gen2. - Environment environment = 10; - // User-provided description of a function. string description = 2; @@ -252,13 +260,30 @@ message Function { State state = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The last update timestamp of a Cloud Function. - google.protobuf.Timestamp update_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Labels associated with this Cloud Function. map labels = 8; // Output only. State Messages for this Cloud Function. - repeated StateMessage state_messages = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated StateMessage state_messages = 9 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Describe whether the function is 1st Gen or 2nd Gen. + Environment environment = 10; + + // Output only. The deployed url for the function. + string url = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // [Preview] Resource name of a KMS crypto key (managed by the user) used to + // encrypt/decrypt function resources. + // + // It must match the pattern + // `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. + string kms_key_name = 25 [(google.api.resource_reference) = { + type: "cloudkms.googleapis.com/CryptoKey" + }]; } // Informational messages about the state of the Cloud Function or Operation. @@ -375,8 +400,25 @@ message SourceProvenance { // Describes the Build step of the function that builds a container from the // given source. message BuildConfig { - // Output only. The Cloud Build name of the latest successful deployment of the - // function. + // Docker Registry to use for storing function Docker images. + enum DockerRegistry { + // Unspecified. + DOCKER_REGISTRY_UNSPECIFIED = 0; + + // Docker images will be stored in multi-regional Container Registry + // repositories named `gcf`. + CONTAINER_REGISTRY = 1; + + // Docker images will be stored in regional Artifact Registry repositories. + // By default, GCF will create and use repositories named `gcf-artifacts` + // in every region in which a function is deployed. But the repository to + // use can also be specified by the user using the `docker_repository` + // field. + ARTIFACT_REGISTRY = 2; + } + + // Output only. The Cloud Build name of the latest successful deployment of + // the function. string build = 1 [ (google.api.field_behavior) = OUTPUT_ONLY, (google.api.resource_reference) = { @@ -403,7 +445,8 @@ message BuildConfig { Source source = 4; // Output only. A permanent fixed identifier for source. - SourceProvenance source_provenance = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + SourceProvenance source_provenance = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Name of the Cloud Build Custom Worker Pool that should be used to build the // function. The format of this field is @@ -418,14 +461,24 @@ message BuildConfig { // granted the role Cloud Build Custom Workers Builder // (roles/cloudbuild.customworkers.builder) in the project. string worker_pool = 5 [(google.api.resource_reference) = { - type: "cloudbuild.googleapis.com/WorkerPool" - }]; + type: "cloudbuild.googleapis.com/WorkerPool" + }]; // User-provided build-time environment variables for the function map environment_variables = 6; - // Optional. User managed repository created in Artifact Registry optionally with a - // customer managed encryption key. This is the repository to which the + // Docker Registry to use for this deployment. This configuration is only + // applicable to 1st Gen functions, 2nd Gen functions can only use Artifact + // Registry. + // + // If `docker_repository` field is specified, this field will be automatically + // set as `ARTIFACT_REGISTRY`. + // If unspecified, it currently defaults to `CONTAINER_REGISTRY`. + // This field may be overridden by the backend for eligible deployments. + DockerRegistry docker_registry = 10; + + // User managed repository created in Artifact Registry optionally + // with a customer managed encryption key. This is the repository to which the // function docker image will be pushed after it is built by Cloud Build. // If unspecified, GCF will create and use a repository named 'gcf-artifacts' // for every deployed region. @@ -436,12 +489,9 @@ message BuildConfig { // Cross-project repositories are not supported. // Cross-location repositories are not supported. // Repository format must be 'DOCKER'. - string docker_repository = 7 [ - (google.api.field_behavior) = OPTIONAL, - (google.api.resource_reference) = { - type: "artifactregistry.googleapis.com/Repository" - } - ]; + string docker_repository = 7 [(google.api.resource_reference) = { + type: "artifactregistry.googleapis.com/Repository" + }]; } // Describes the Service being deployed. @@ -482,14 +532,33 @@ message ServiceConfig { ALLOW_INTERNAL_AND_GCLB = 3; } + // Available security level settings. + // + // This enforces security protocol on function URL. + // + // Security level is only configurable for 1st Gen functions, If unspecified, + // SECURE_OPTIONAL will be used. 2nd Gen functions are SECURE_ALWAYS ONLY. + enum SecurityLevel { + // Unspecified. + SECURITY_LEVEL_UNSPECIFIED = 0; + + // Requests for a URL that match this handler that do not use HTTPS are + // automatically redirected to the HTTPS URL with the same path. Query + // parameters are reserved for the redirect. + SECURE_ALWAYS = 1; + + // Both HTTP and HTTPS requests with URLs that match the handler succeed + // without redirects. The application can examine the request to determine + // which protocol was used and respond accordingly. + SECURE_OPTIONAL = 2; + } + // Output only. Name of the service associated with a Function. // The format of this field is // `projects/{project}/locations/{region}/services/{service}` string service = 1 [ (google.api.field_behavior) = OUTPUT_ONLY, - (google.api.resource_reference) = { - type: "run.googleapis.com/Service" - } + (google.api.resource_reference) = { type: "run.googleapis.com/Service" } ]; // The function execution timeout. Execution is considered failed and @@ -505,6 +574,13 @@ message ServiceConfig { // a full description. string available_memory = 13; + // [Preview] The number of CPUs used in a single container instance. + // Default value is calculated from available memory. + // Supports the same values as Cloud Run, see + // https://cloud.google.com/run/docs/reference/rest/v1/Container#resourcerequirements + // Example: "1" indicates 1 vCPU + string available_cpu = 22; + // Environment variables that shall be available during function execution. map environment_variables = 4; @@ -536,8 +612,8 @@ message ServiceConfig { // The Serverless VPC Access connector that this cloud function can connect // to. The format of this field is `projects/*/locations/*/connectors/*`. string vpc_connector = 6 [(google.api.resource_reference) = { - type: "vpcaccess.googleapis.com/Connector" - }]; + type: "vpcaccess.googleapis.com/Connector" + }]; // The egress settings for the connector, controlling what traffic is diverted // through it. @@ -569,6 +645,16 @@ message ServiceConfig { // Output only. The name of service revision. string revision = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // [Preview] Sets the maximum number of concurrent requests that each instance + // can receive. Defaults to 1. + int32 max_instance_request_concurrency = 20; + + // Security level configure whether the function only accepts https. + // This configuration is only applicable to 1st Gen functions with Http + // trigger. By default https is optional for 1st Gen functions; 2nd Gen + // functions are https ONLY. + SecurityLevel security_level = 21; } // Configuration for a secret environment variable. It has the information @@ -649,8 +735,8 @@ message EventTrigger { RETRY_POLICY_RETRY = 2; } - // Output only. The resource name of the Eventarc trigger. The format of this field is - // `projects/{project}/locations/{region}/triggers/{trigger}`. + // Output only. The resource name of the Eventarc trigger. The format of this + // field is `projects/{project}/locations/{region}/triggers/{trigger}`. string trigger = 1 [ (google.api.field_behavior) = OUTPUT_ONLY, (google.api.resource_reference) = { @@ -681,19 +767,18 @@ message EventTrigger { // will not be deleted at function deletion. string pubsub_topic = 5 [ (google.api.field_behavior) = OPTIONAL, - (google.api.resource_reference) = { - type: "pubsub.googleapis.com/Topic" - } + (google.api.resource_reference) = { type: "pubsub.googleapis.com/Topic" } ]; - // Optional. The email of the trigger's service account. The service account must have - // permission to invoke Cloud Run services, the permission is + // Optional. The email of the trigger's service account. The service account + // must have permission to invoke Cloud Run services, the permission is // `run.routes.invoke`. // If empty, defaults to the Compute Engine default service account: // `{project_number}-compute@developer.gserviceaccount.com`. string service_account_email = 6 [(google.api.field_behavior) = OPTIONAL]; - // Optional. If unset, then defaults to ignoring failures (i.e. not retrying them). + // Optional. If unset, then defaults to ignoring failures (i.e. not retrying + // them). RetryPolicy retry_policy = 7 [(google.api.field_behavior) = OPTIONAL]; // Optional. The name of the channel associated with the trigger in @@ -735,12 +820,12 @@ message GetFunctionRequest { // Request for the `ListFunctions` method. message ListFunctionsRequest { - // Required. The project and location from which the function should be listed, - // specified in the format `projects/*/locations/*` - // If you want to list functions in all locations, use "-" in place of a - // location. When listing functions in all locations, if one or more - // location(s) are unreachable, the response will contain functions from all - // reachable locations along with the names of any unreachable locations. + // Required. The project and location from which the function should be + // listed, specified in the format `projects/*/locations/*` If you want to + // list functions in all locations, use "-" in place of a location. When + // listing functions in all locations, if one or more location(s) are + // unreachable, the response will contain functions from all reachable + // locations along with the names of any unreachable locations. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -748,7 +833,10 @@ message ListFunctionsRequest { } ]; - // Maximum number of functions to return per call. + // Maximum number of functions to return per call. The largest allowed + // page_size is 1,000, if the page_size is omitted or specified as greater + // than 1,000 then it will be replaced as 1,000. The size of the list + // response can be less than specified when used with filters. int32 page_size = 2; // The value returned by the last @@ -783,8 +871,8 @@ message ListFunctionsResponse { // Request for the `CreateFunction` method. message CreateFunctionRequest { - // Required. The project and location in which the function should be created, specified - // in the format `projects/*/locations/*` + // Required. The project and location in which the function should be created, + // specified in the format `projects/*/locations/*` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -827,14 +915,33 @@ message DeleteFunctionRequest { // Request of `GenerateSourceUploadUrl` method. message GenerateUploadUrlRequest { - // Required. The project and location in which the Google Cloud Storage signed URL - // should be generated, specified in the format `projects/*/locations/*`. + // Required. The project and location in which the Google Cloud Storage signed + // URL should be generated, specified in the format `projects/*/locations/*`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { type: "locations.googleapis.com/Location" } ]; + + // [Preview] Resource name of a KMS crypto key (managed by the user) used to + // encrypt/decrypt function source code objects in intermediate Cloud Storage + // buckets. When you generate an upload url and upload your source code, it + // gets copied to an intermediate Cloud Storage bucket. The source code is + // then copied to a versioned directory in the sources bucket in the consumer + // project during the function deployment. + // + // It must match the pattern + // `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. + // + // The Google Cloud Functions service account + // (service-{project_number}@gcf-admin-robot.iam.gserviceaccount.com) must be + // granted the role 'Cloud KMS CryptoKey Encrypter/Decrypter + // (roles/cloudkms.cryptoKeyEncrypterDecrypter)' on the + // Key/KeyRing/Project/Organization (least access preferred). + string kms_key_name = 2 [(google.api.resource_reference) = { + type: "cloudkms.googleapis.com/CryptoKey" + }]; } // Response of `GenerateSourceUploadUrl` method. @@ -857,8 +964,8 @@ message GenerateUploadUrlResponse { // Request of `GenerateDownloadUrl` method. message GenerateDownloadUrlRequest { - // Required. The name of function for which source code Google Cloud Storage signed - // URL should be generated. + // Required. The name of function for which source code Google Cloud Storage + // signed URL should be generated. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -876,8 +983,8 @@ message GenerateDownloadUrlResponse { // Request for the `ListRuntimes` method. message ListRuntimesRequest { - // Required. The project and location from which the runtimes should be listed, - // specified in the format `projects/*/locations/*` + // Required. The project and location from which the runtimes should be + // listed, specified in the format `projects/*/locations/*` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -958,8 +1065,9 @@ message OperationMetadata { // Identifies whether the user has requested cancellation // of the operation. Operations that have successfully been cancelled - // have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, - // corresponding to `Code.CANCELLED`. + // have [Operation.error][] value with a + // [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to + // `Code.CANCELLED`. bool cancel_requested = 6; // API version used to start the operation. @@ -972,6 +1080,12 @@ message OperationMetadata { repeated Stage stages = 9; } +// Extra GCF specific location information. +message LocationMetadata { + // The Cloud Function environments this location supports. + repeated Environment environments = 1; +} + // Each Stage of the deployment process message Stage { // Possible names for a Stage diff --git a/third_party/googleapis/google/cloud/functions/v2beta/functions_grpc_service_config.json b/third_party/googleapis/google/cloud/functions/v2beta/functions_grpc_service_config.json index be67a2758..1cb041eda 100644 --- a/third_party/googleapis/google/cloud/functions/v2beta/functions_grpc_service_config.json +++ b/third_party/googleapis/google/cloud/functions/v2beta/functions_grpc_service_config.json @@ -28,7 +28,9 @@ "initialBackoff": "0.100s", "maxBackoff": "60s", "backoffMultiplier": 1.3, - "retryableStatusCodes": ["UNAVAILABLE"] + "retryableStatusCodes": [ + "UNAVAILABLE" + ] } }, { diff --git a/third_party/googleapis/google/cloud/gaming/BUILD.bazel b/third_party/googleapis/google/cloud/gaming/BUILD.bazel deleted file mode 100644 index 4f3d5e4d8..000000000 --- a/third_party/googleapis/google/cloud/gaming/BUILD.bazel +++ /dev/null @@ -1,40 +0,0 @@ -# This build file includes a target for the Ruby wrapper library for -# google-cloud-gaming. - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) - -# Export yaml configs. -exports_files(glob(["*.yaml"])) - -load( - "@com_google_googleapis_imports//:imports.bzl", - "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", -) - -# Generates a Ruby wrapper client for gameservices. -# Ruby wrapper clients are versionless, but are generated from source protos -# for a particular service version, v1 in this case. -ruby_cloud_gapic_library( - name = "gameservices_ruby_wrapper", - srcs = ["//google/cloud/gaming/v1:gaming_proto_with_info"], - extra_protoc_parameters = [ - "ruby-cloud-gem-name=google-cloud-gaming", - "ruby-cloud-env-prefix=GAMING", - "ruby-cloud-wrapper-of=v1:0.0", - "ruby-cloud-product-url=https://cloud.google.com/game-servers", - "ruby-cloud-api-id=gameservices.googleapis.com", - "ruby-cloud-api-shortname=gameservices", - ], - ruby_cloud_description = "With Game Servers, studios and publishers can deploy and manage their game server infrastructure hosted on multiple Agones clusters around the world through a single interface.", - ruby_cloud_title = "Cloud Gaming", -) - -# Open Source package. -ruby_gapic_assembly_pkg( - name = "google-cloud-gaming-ruby", - deps = [ - ":gameservices_ruby_wrapper", - ], -) diff --git a/third_party/googleapis/google/cloud/gaming/v1/BUILD.bazel b/third_party/googleapis/google/cloud/gaming/v1/BUILD.bazel deleted file mode 100644 index e9f99759f..000000000 --- a/third_party/googleapis/google/cloud/gaming/v1/BUILD.bazel +++ /dev/null @@ -1,411 +0,0 @@ -# This file was automatically generated by BuildFileGenerator -# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/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"]) - -############################################################################## -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( - name = "gaming_proto", - srcs = [ - "common.proto", - "game_server_clusters.proto", - "game_server_clusters_service.proto", - "game_server_configs.proto", - "game_server_configs_service.proto", - "game_server_deployments.proto", - "game_server_deployments_service.proto", - "realms.proto", - "realms_service.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", - "//google/longrunning:operations_proto", - "@com_google_protobuf//:duration_proto", - "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( - name = "gaming_proto_with_info", - deps = [ - ":gaming_proto", - "//google/cloud:common_resources_proto", - ], -) - -############################################################################## -# Java -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "java_gapic_assembly_gradle_pkg", - "java_gapic_library", - "java_gapic_test", - "java_grpc_library", - "java_proto_library", -) - -java_proto_library( - name = "gaming_java_proto", - deps = [":gaming_proto"], -) - -java_grpc_library( - name = "gaming_java_grpc", - srcs = [":gaming_proto"], - deps = [":gaming_java_proto"], -) - -java_gapic_library( - name = "gaming_java_gapic", - srcs = [":gaming_proto_with_info"], - grpc_service_config = "gaming_grpc_service_config.json", - rest_numeric_enums = True, - test_deps = [ - ":gaming_java_grpc", - ], - transport = "grpc+rest", - deps = [ - ":gaming_java_proto", - ], -) - -java_gapic_test( - name = "gaming_java_gapic_test_suite", - test_classes = [ - "com.google.cloud.gaming.v1.GameServerClustersServiceClientHttpJsonTest", - "com.google.cloud.gaming.v1.GameServerClustersServiceClientTest", - "com.google.cloud.gaming.v1.GameServerConfigsServiceClientHttpJsonTest", - "com.google.cloud.gaming.v1.GameServerConfigsServiceClientTest", - "com.google.cloud.gaming.v1.GameServerDeploymentsServiceClientHttpJsonTest", - "com.google.cloud.gaming.v1.GameServerDeploymentsServiceClientTest", - "com.google.cloud.gaming.v1.RealmsServiceClientHttpJsonTest", - "com.google.cloud.gaming.v1.RealmsServiceClientTest", - ], - runtime_deps = [":gaming_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( - name = "google-cloud-gaming-v1-java", - include_samples = True, - transport = "grpc+rest", - deps = [ - ":gaming_java_gapic", - ":gaming_java_grpc", - ":gaming_java_proto", - ":gaming_proto", - ], -) - -############################################################################## -# Go -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "go_gapic_assembly_pkg", - "go_gapic_library", - "go_proto_library", - "go_test", -) - -go_proto_library( - name = "gaming_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "cloud.google.com/go/gaming/apiv1/gamingpb", - protos = [":gaming_proto"], - deps = [ - "//google/api:annotations_go_proto", - "//google/longrunning:longrunning_go_proto", - ], -) - -go_gapic_library( - name = "gaming_go_gapic", - srcs = [":gaming_proto_with_info"], - grpc_service_config = "gaming_grpc_service_config.json", - importpath = "cloud.google.com/go/gaming/apiv1;gaming", - metadata = True, - release_level = "ga", - rest_numeric_enums = True, - service_yaml = "gameservices_v1.yaml", - transport = "grpc+rest", - deps = [ - ":gaming_go_proto", - "//google/longrunning:longrunning_go_proto", - "@com_google_cloud_go_longrunning//:go_default_library", - "@com_google_cloud_go_longrunning//autogen:go_default_library", - "@io_bazel_rules_go//proto/wkt:duration_go_proto", - ], -) - -go_test( - name = "gaming_go_gapic_test", - srcs = [":gaming_go_gapic_srcjar_test"], - embed = [":gaming_go_gapic"], - importpath = "cloud.google.com/go/gaming/apiv1", -) - -# Open Source Packages -go_gapic_assembly_pkg( - name = "gapi-cloud-gaming-v1-go", - deps = [ - ":gaming_go_gapic", - ":gaming_go_gapic_srcjar-test.srcjar", - ":gaming_go_proto", - ], -) - -############################################################################## -# Python -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "py_gapic_assembly_pkg", - "py_gapic_library", - "py_test", -) - -py_gapic_library( - name = "gaming_py_gapic", - srcs = [":gaming_proto"], - grpc_service_config = "gaming_grpc_service_config.json", - opt_args = [ - "warehouse-package-name=google-cloud-game-servers", - ], - rest_numeric_enums = True, - service_yaml = "gameservices_v1.yaml", - transport = "grpc+rest", -) - -py_test( - name = "gaming_py_gapic_test", - srcs = [ - "gaming_py_gapic_pytest.py", - "gaming_py_gapic_test.py", - ], - legacy_create_init = False, - deps = [":gaming_py_gapic"], -) - -# Open Source Packages -py_gapic_assembly_pkg( - name = "gaming-v1-py", - deps = [ - ":gaming_py_gapic", - ], -) - -############################################################################## -# PHP -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "php_gapic_assembly_pkg", - "php_gapic_library", - "php_grpc_library", - "php_proto_library", -) - -php_proto_library( - name = "gaming_php_proto", - deps = [":gaming_proto"], -) - -php_grpc_library( - name = "gaming_php_grpc", - srcs = [":gaming_proto"], - deps = [":gaming_php_proto"], -) - -php_gapic_library( - name = "gaming_php_gapic", - srcs = [":gaming_proto_with_info"], - grpc_service_config = "gaming_grpc_service_config.json", - rest_numeric_enums = True, - service_yaml = "gameservices_v1.yaml", - transport = "grpc+rest", - deps = [ - ":gaming_php_grpc", - ":gaming_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( - name = "google-cloud-gaming-v1-php", - deps = [ - ":gaming_php_gapic", - ":gaming_php_grpc", - ":gaming_php_proto", - ], -) - -############################################################################## -# Node.js -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) - -nodejs_gapic_library( - name = "gaming_nodejs_gapic", - package_name = "@google-cloud/game-servers", - src = ":gaming_proto_with_info", - extra_protoc_parameters = ["metadata"], - grpc_service_config = "gaming_grpc_service_config.json", - package = "google.cloud.gaming.v1", - rest_numeric_enums = True, - service_yaml = "gameservices_v1.yaml", - transport = "grpc+rest", - deps = [], -) - -nodejs_gapic_assembly_pkg( - name = "gaming-v1-nodejs", - deps = [ - ":gaming_nodejs_gapic", - ":gaming_proto", - ], -) - -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( - name = "gaming_ruby_proto", - deps = [":gaming_proto"], -) - -ruby_grpc_library( - name = "gaming_ruby_grpc", - srcs = [":gaming_proto"], - deps = [":gaming_ruby_proto"], -) - -ruby_cloud_gapic_library( - name = "gaming_ruby_gapic", - srcs = [":gaming_proto_with_info"], - extra_protoc_parameters = [ - "ruby-cloud-gem-name=google-cloud-gaming-v1", - "ruby-cloud-env-prefix=GAMING", - "ruby-cloud-product-url=https://cloud.google.com/game-servers", - "ruby-cloud-api-id=gameservices.googleapis.com", - "ruby-cloud-api-shortname=gameservices", - ], - grpc_service_config = "gaming_grpc_service_config.json", - rest_numeric_enums = True, - ruby_cloud_description = "With Game Servers, studios and publishers can deploy and manage their game server infrastructure hosted on multiple Agones clusters around the world through a single interface.", - ruby_cloud_title = "Cloud Gaming V1", - service_yaml = "gameservices_v1.yaml", - deps = [ - ":gaming_ruby_grpc", - ":gaming_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( - name = "google-cloud-gaming-v1-ruby", - deps = [ - ":gaming_ruby_gapic", - ":gaming_ruby_grpc", - ":gaming_ruby_proto", - ], -) - -############################################################################## -# C# -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "csharp_gapic_assembly_pkg", - "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", -) - -csharp_proto_library( - name = "gaming_csharp_proto", - deps = [":gaming_proto"], -) - -csharp_grpc_library( - name = "gaming_csharp_grpc", - srcs = [":gaming_proto"], - deps = [":gaming_csharp_proto"], -) - -csharp_gapic_library( - name = "gaming_csharp_gapic", - srcs = [":gaming_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", - grpc_service_config = "gaming_grpc_service_config.json", - rest_numeric_enums = True, - service_yaml = "gameservices_v1.yaml", - transport = "grpc+rest", - deps = [ - ":gaming_csharp_grpc", - ":gaming_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( - name = "google-cloud-gaming-v1-csharp", - deps = [ - ":gaming_csharp_gapic", - ":gaming_csharp_grpc", - ":gaming_csharp_proto", - ], -) - -############################################################################## -# C++ -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "cc_grpc_library", - "cc_proto_library", -) - -cc_proto_library( - name = "gaming_cc_proto", - deps = [":gaming_proto"], -) - -cc_grpc_library( - name = "gaming_cc_grpc", - srcs = [":gaming_proto"], - grpc_only = True, - deps = [":gaming_cc_proto"], -) diff --git a/third_party/googleapis/google/cloud/gaming/v1/common.proto b/third_party/googleapis/google/cloud/gaming/v1/common.proto deleted file mode 100644 index 3537dc53d..000000000 --- a/third_party/googleapis/google/cloud/gaming/v1/common.proto +++ /dev/null @@ -1,238 +0,0 @@ -// Copyright 2021 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.cloud.gaming.v1; - -import "google/api/field_behavior.proto"; -import "google/protobuf/duration.proto"; -import "google/protobuf/timestamp.proto"; - -option go_package = "cloud.google.com/go/gaming/apiv1/gamingpb;gamingpb"; -option java_multiple_files = true; -option java_package = "com.google.cloud.gaming.v1"; - -// Represents the metadata of the long-running operation. -message OperationMetadata { - // Output only. The time the operation was created. - google.protobuf.Timestamp create_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The time the operation finished running. - google.protobuf.Timestamp end_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Server-defined resource path for the target of the operation. - string target = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Name of the verb executed by the operation. - string verb = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Human-readable status of the operation, if any. - string status_message = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Identifies whether the user has requested cancellation - // of the operation. Operations that have successfully been cancelled - // have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, - // corresponding to `Code.CANCELLED`. - bool requested_cancellation = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. API version used to start the operation. - string api_version = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. List of Locations that could not be reached. - repeated string unreachable = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Operation status for Game Services API operations. Operation status is in - // the form of key-value pairs where keys are resource IDs and the values show - // the status of the operation. In case of failures, the value includes an - // error code and error message. - map operation_status = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; -} - -message OperationStatus { - enum ErrorCode { - ERROR_CODE_UNSPECIFIED = 0; - - INTERNAL_ERROR = 1; - - PERMISSION_DENIED = 2; - - CLUSTER_CONNECTION = 3; - } - - // Output only. Whether the operation is done or still in progress. - bool done = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The error code in case of failures. - ErrorCode error_code = 2; - - // The human-readable error message. - string error_message = 3; -} - -// The label selector, used to group labels on the resources. -message LabelSelector { - // Resource labels for this selector. - map labels = 1; -} - -// The realm selector, used to match realm resources. -message RealmSelector { - // List of realms to match. - repeated string realms = 1; -} - -// The schedule of a recurring or one time event. The event's time span is -// specified by start_time and end_time. If the scheduled event's timespan is -// larger than the cron_spec + cron_job_duration, the event will be recurring. -// If only cron_spec + cron_job_duration are specified, the event is effective -// starting at the local time specified by cron_spec, and is recurring. -// -// ``` -// start_time|-------[cron job]-------[cron job]-------[cron job]---|end_time -// cron job: cron spec start time + duration -// ``` -message Schedule { - // The start time of the event. - google.protobuf.Timestamp start_time = 1; - - // The end time of the event. - google.protobuf.Timestamp end_time = 2; - - // The duration for the cron job event. The duration of the event is effective - // after the cron job's start time. - google.protobuf.Duration cron_job_duration = 3; - - // The cron definition of the scheduled event. See - // https://en.wikipedia.org/wiki/Cron. Cron spec specifies the local time as - // defined by the realm. - string cron_spec = 4; -} - -// Encapsulates Agones fleet spec and Agones autoscaler spec sources. -message SpecSource { - // The game server config resource. Uses the form: - // `projects/{project}/locations/{location}/gameServerDeployments/{deployment_id}/configs/{config_id}`. - string game_server_config_name = 1; - - // The name of the Agones leet config or Agones scaling config used to derive - // the Agones fleet or Agones autoscaler spec. - string name = 2; -} - -// Details about the Agones resources. -message TargetDetails { - // Details of the target Agones fleet. - message TargetFleetDetails { - // Target Agones fleet specification. - message TargetFleet { - // The name of the Agones fleet. - string name = 1; - - // Encapsulates the source of the Agones fleet spec. - // The Agones fleet spec source. - SpecSource spec_source = 2; - } - - // Target Agones autoscaler policy reference. - message TargetFleetAutoscaler { - // The name of the Agones autoscaler. - string name = 1; - - // Encapsulates the source of the Agones fleet spec. - // Details about the Agones autoscaler spec. - SpecSource spec_source = 2; - } - - // Reference to target Agones fleet. - TargetFleet fleet = 1; - - // Reference to target Agones fleet autoscaling policy. - TargetFleetAutoscaler autoscaler = 2; - } - - // The game server cluster name. Uses the form: - // `projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}`. - string game_server_cluster_name = 1; - - // The game server deployment name. Uses the form: - // `projects/{project}/locations/{location}/gameServerDeployments/{deployment_id}`. - string game_server_deployment_name = 2; - - // Agones fleet details for game server clusters and game server deployments. - repeated TargetFleetDetails fleet_details = 3; -} - -// Encapsulates the Target state. -message TargetState { - // Details about Agones fleets. - repeated TargetDetails details = 1; -} - -// Details of the deployed Agones fleet. -message DeployedFleetDetails { - // Agones fleet specification and details. - message DeployedFleet { - // DeployedFleetStatus has details about the Agones fleets such as how many - // are running, how many allocated, and so on. - message DeployedFleetStatus { - // The number of GameServer replicas in the READY state in this fleet. - int64 ready_replicas = 1; - - // The number of GameServer replicas in the ALLOCATED state in this fleet. - int64 allocated_replicas = 2; - - // The number of GameServer replicas in the RESERVED state in this fleet. - // Reserved instances won't be deleted on scale down, but won't cause - // an autoscaler to scale up. - int64 reserved_replicas = 3; - - // The total number of current GameServer replicas in this fleet. - int64 replicas = 4; - } - - // The name of the Agones fleet. - string fleet = 1; - - // The fleet spec retrieved from the Agones fleet. - string fleet_spec = 2; - - // The source spec that is used to create the Agones fleet. - // The GameServerConfig resource may no longer exist in the system. - SpecSource spec_source = 3; - - // The current status of the Agones fleet. - // Includes count of game servers in various states. - DeployedFleetStatus status = 5; - } - - // Details about the Agones autoscaler. - message DeployedFleetAutoscaler { - // The name of the Agones autoscaler. - string autoscaler = 1; - - // The source spec that is used to create the autoscaler. - // The GameServerConfig resource may no longer exist in the system. - SpecSource spec_source = 4; - - // The autoscaler spec retrieved from Agones. - string fleet_autoscaler_spec = 3; - } - - // Information about the Agones fleet. - DeployedFleet deployed_fleet = 1; - - // Information about the Agones autoscaler for that fleet. - DeployedFleetAutoscaler deployed_autoscaler = 2; -} diff --git a/third_party/googleapis/google/cloud/gaming/v1/game_server_clusters.proto b/third_party/googleapis/google/cloud/gaming/v1/game_server_clusters.proto deleted file mode 100644 index 231999943..000000000 --- a/third_party/googleapis/google/cloud/gaming/v1/game_server_clusters.proto +++ /dev/null @@ -1,371 +0,0 @@ -// Copyright 2021 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.cloud.gaming.v1; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/cloud/gaming/v1/common.proto"; -import "google/protobuf/field_mask.proto"; -import "google/protobuf/timestamp.proto"; - -option go_package = "cloud.google.com/go/gaming/apiv1/gamingpb;gamingpb"; -option java_multiple_files = true; -option java_package = "com.google.cloud.gaming.v1"; - -// A view for GameServerCluster objects. -enum GameServerClusterView { - // The default / unset value. - // The API will default to the BASIC view. - GAME_SERVER_CLUSTER_VIEW_UNSPECIFIED = 0; - - // Include basic information of a GameServerCluster resource and omit - // `cluster_state`. This is the default value (for ListGameServerClusters, - // GetGameServerCluster and PreviewCreateGameServerCluster). - BASIC = 1; - - // Include everything. - FULL = 2; -} - -// Request message for GameServerClustersService.ListGameServerClusters. -message ListGameServerClustersRequest { - // Required. The parent resource name, in the following form: - // "projects/{project}/locations/{location}/realms/{realm}". - string parent = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - child_type: "gameservices.googleapis.com/GameServerCluster" - } - ]; - - // Optional. The maximum number of items to return. If unspecified, the server - // will pick an appropriate default. The server may return fewer items than - // requested. A caller should only rely on response's - // [next_page_token][google.cloud.gaming.v1.ListGameServerClustersResponse.next_page_token] to - // determine if there are more GameServerClusters left to be queried. - int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The next_page_token value returned from a previous List request, if any. - string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The filter to apply to list results. - string filter = 4 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. Specifies the ordering of results following syntax at - // https://cloud.google.com/apis/design/design_patterns#sorting_order. - string order_by = 5 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. View for the returned GameServerCluster objects. When `FULL` is - // specified, the `cluster_state` field is also returned in the - // GameServerCluster object, which includes the state of the referenced - // Kubernetes cluster such as versions and provider info. The default/unset - // value is GAME_SERVER_CLUSTER_VIEW_UNSPECIFIED, same as BASIC, which does - // not return the `cluster_state` field. - GameServerClusterView view = 6 [(google.api.field_behavior) = OPTIONAL]; -} - -// Response message for GameServerClustersService.ListGameServerClusters. -message ListGameServerClustersResponse { - // The list of game server clusters. - repeated GameServerCluster game_server_clusters = 1; - - // Token to retrieve the next page of results, or empty if there are no more - // results in the list. - string next_page_token = 2; - - // List of locations that could not be reached. - repeated string unreachable = 4; -} - -// Request message for GameServerClustersService.GetGameServerCluster. -message GetGameServerClusterRequest { - // Required. The name of the game server cluster to retrieve, in the following form: - // `projects/{project}/locations/{location}/realms/{realm-id}/gameServerClusters/{cluster}`. - string name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "gameservices.googleapis.com/GameServerCluster" - } - ]; - - // Optional. View for the returned GameServerCluster objects. When `FULL` is - // specified, the `cluster_state` field is also returned in the - // GameServerCluster object, which includes the state of the referenced - // Kubernetes cluster such as versions and provider info. The default/unset - // value is GAME_SERVER_CLUSTER_VIEW_UNSPECIFIED, same as BASIC, which does - // not return the `cluster_state` field. - GameServerClusterView view = 6 [(google.api.field_behavior) = OPTIONAL]; -} - -// Request message for GameServerClustersService.CreateGameServerCluster. -message CreateGameServerClusterRequest { - // Required. The parent resource name, in the following form: - // `projects/{project}/locations/{location}/realms/{realm-id}`. - string parent = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - child_type: "gameservices.googleapis.com/GameServerCluster" - } - ]; - - // Required. The ID of the game server cluster resource to be created. - string game_server_cluster_id = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. The game server cluster resource to be created. - GameServerCluster game_server_cluster = 3 [(google.api.field_behavior) = REQUIRED]; -} - -// Request message for GameServerClustersService.PreviewCreateGameServerCluster. -message PreviewCreateGameServerClusterRequest { - // Required. The parent resource name, in the following form: - // `projects/{project}/locations/{location}/realms/{realm}`. - string parent = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - child_type: "gameservices.googleapis.com/GameServerCluster" - } - ]; - - // Required. The ID of the game server cluster resource to be created. - string game_server_cluster_id = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. The game server cluster resource to be created. - GameServerCluster game_server_cluster = 3 [(google.api.field_behavior) = REQUIRED]; - - // Optional. The target timestamp to compute the preview. - google.protobuf.Timestamp preview_time = 4 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. This field is deprecated, preview will always return - // KubernetesClusterState. - GameServerClusterView view = 6 [ - deprecated = true, - (google.api.field_behavior) = OPTIONAL - ]; -} - -// Response message for -// GameServerClustersService.PreviewCreateGameServerCluster. -message PreviewCreateGameServerClusterResponse { - // The ETag of the game server cluster. - string etag = 2; - - // The target state. - TargetState target_state = 3; - - // Output only. The state of the Kubernetes cluster in preview, this will be available if - // 'view' is set to `FULL` in the relevant List/Get/Preview request. - KubernetesClusterState cluster_state = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; -} - -// Request message for GameServerClustersService.DeleteGameServerCluster. -message DeleteGameServerClusterRequest { - // Required. The name of the game server cluster to delete, in the following form: - // `projects/{project}/locations/{location}/gameServerClusters/{cluster}`. - string name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "gameservices.googleapis.com/GameServerCluster" - } - ]; -} - -// Request message for GameServerClustersService.PreviewDeleteGameServerCluster. -message PreviewDeleteGameServerClusterRequest { - // Required. The name of the game server cluster to delete, in the following form: - // `projects/{project}/locations/{location}/gameServerClusters/{cluster}`. - string name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "gameservices.googleapis.com/GameServerCluster" - } - ]; - - // Optional. The target timestamp to compute the preview. - google.protobuf.Timestamp preview_time = 2 [(google.api.field_behavior) = OPTIONAL]; -} - -// Response message for -// GameServerClustersService.PreviewDeleteGameServerCluster. -message PreviewDeleteGameServerClusterResponse { - // The ETag of the game server cluster. - string etag = 2; - - // The target state. - TargetState target_state = 3; -} - -// Request message for GameServerClustersService.UpdateGameServerCluster. -message UpdateGameServerClusterRequest { - // Required. The game server cluster to be updated. - // Only fields specified in update_mask are updated. - GameServerCluster game_server_cluster = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. Mask of fields to update. At least one path must be supplied in - // this field. For the `FieldMask` definition, see - // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; -} - -// Request message for GameServerClustersService.UpdateGameServerCluster. -message PreviewUpdateGameServerClusterRequest { - // Required. The game server cluster to be updated. - // Only fields specified in update_mask are updated. - GameServerCluster game_server_cluster = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. Mask of fields to update. At least one path must be supplied in - // this field. For the `FieldMask` definition, see - // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; - - // Optional. The target timestamp to compute the preview. - google.protobuf.Timestamp preview_time = 3 [(google.api.field_behavior) = OPTIONAL]; -} - -// Response message for GameServerClustersService.PreviewUpdateGameServerCluster -message PreviewUpdateGameServerClusterResponse { - // The ETag of the game server cluster. - string etag = 2; - - // The target state. - TargetState target_state = 3; -} - -// The game server cluster connection information. -message GameServerClusterConnectionInfo { - // The location of the Kubernetes cluster. - oneof cluster_reference { - // Reference to the GKE cluster where the game servers are installed. - GkeClusterReference gke_cluster_reference = 7; - } - - // Namespace designated on the game server cluster where the Agones game - // server instances will be created. Existence of the namespace will be - // validated during creation. - string namespace = 5; -} - -// A reference to a GKE cluster. -message GkeClusterReference { - // The full or partial name of a GKE cluster, using one of the following - // forms: - // * `projects/{project}/locations/{location}/clusters/{cluster}` - // * `locations/{location}/clusters/{cluster}` - // * `{cluster}` - // If project and location are not specified, the project and location of the - // GameServerCluster resource are used to generate the full name of the - // GKE cluster. - string cluster = 1; -} - -// A game server cluster resource. -message GameServerCluster { - option (google.api.resource) = { - type: "gameservices.googleapis.com/GameServerCluster" - pattern: "projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}" - }; - - // Required. The resource name of the game server cluster, in the following form: - // `projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}`. - // For example, - // `projects/my-project/locations/{location}/realms/zanzibar/gameServerClusters/my-onprem-cluster`. - string name = 1 [(google.api.field_behavior) = REQUIRED]; - - // Output only. The creation time. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The last-modified time. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The labels associated with this game server cluster. Each label is a - // key-value pair. - map labels = 4; - - // The game server cluster connection information. This information is used to - // manage game server clusters. - GameServerClusterConnectionInfo connection_info = 5; - - // ETag of the resource. - string etag = 6; - - // Human readable description of the cluster. - string description = 7; - - // Output only. The state of the Kubernetes cluster, this will be available if - // 'view' is set to `FULL` in the relevant List/Get/Preview request. - KubernetesClusterState cluster_state = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; -} - -// The state of the Kubernetes cluster. -message KubernetesClusterState { - // The state of the installed versions of Agones/Kubernetes. See also - // https://cloud.google.com/game-servers/docs/versions-and-upgrades. - enum InstallationState { - // The default value. This value is used if the state is omitted. - INSTALLATION_STATE_UNSPECIFIED = 0; - - // The combination of Agones and Kubernetes versions is supported by Google - // Cloud Game Servers. - AGONES_KUBERNETES_VERSION_SUPPORTED = 1; - - // The installed version of Agones is not supported by Google Cloud Game - // Servers. - AGONES_VERSION_UNSUPPORTED = 2; - - // The installed version of Agones is supported by Google Cloud Game - // Servers, but the installed version of Kubernetes is not recommended or - // supported by the version of Agones. - AGONES_KUBERNETES_VERSION_UNSUPPORTED = 3; - - // The installed version of Agones is not recognized because the Agones - // controller's image name does not have a version string reported as - // {major}.{minor}(.{patch}). - AGONES_VERSION_UNRECOGNIZED = 4; - - // The server version of Kubernetes cluster is not recognized because the - // API server didn't return parsable version info on path/version. - KUBERNETES_VERSION_UNRECOGNIZED = 5; - - // Failed to read or verify the version of Agones or Kubernetes. See - // version_installed_error_message for details. - VERSION_VERIFICATION_FAILED = 6; - - // Agones is not installed. - AGONES_NOT_INSTALLED = 7; - } - - // Output only. The version of Agones currently installed in the registered Kubernetes - // cluster. - string agones_version_installed = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The version of Kubernetes that is currently used in the registered - // Kubernetes cluster (as detected by the Cloud Game Servers service). - string kubernetes_version_installed = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The state for the installed versions of Agones/Kubernetes. - InstallationState installation_state = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The detailed error message for the installed versions of Agones/Kubernetes. - string version_installed_error_message = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The cloud provider type reported by the first node's providerID in the list - // of nodes on the Kubernetes endpoint. On Kubernetes platforms that support - // zero-node clusters (like GKE-on-GCP), the provider type will be empty. - string provider = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The version of Agones that is targeted to be installed in the cluster. - string agones_version_targeted = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; -} diff --git a/third_party/googleapis/google/cloud/gaming/v1/game_server_clusters_service.proto b/third_party/googleapis/google/cloud/gaming/v1/game_server_clusters_service.proto deleted file mode 100644 index 08ee2bd53..000000000 --- a/third_party/googleapis/google/cloud/gaming/v1/game_server_clusters_service.proto +++ /dev/null @@ -1,111 +0,0 @@ -// Copyright 2021 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.cloud.gaming.v1; - -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/cloud/gaming/v1/game_server_clusters.proto"; -import "google/longrunning/operations.proto"; - -option go_package = "cloud.google.com/go/gaming/apiv1/gamingpb;gamingpb"; -option java_multiple_files = true; -option java_package = "com.google.cloud.gaming.v1"; - -// The game server cluster maps to Kubernetes clusters running Agones and is -// used to manage fleets within clusters. -service GameServerClustersService { - option (google.api.default_host) = "gameservices.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; - - // Lists game server clusters in a given project and location. - rpc ListGameServerClusters(ListGameServerClustersRequest) returns (ListGameServerClustersResponse) { - option (google.api.http) = { - get: "/v1/{parent=projects/*/locations/*/realms/*}/gameServerClusters" - }; - option (google.api.method_signature) = "parent"; - } - - // Gets details of a single game server cluster. - rpc GetGameServerCluster(GetGameServerClusterRequest) returns (GameServerCluster) { - option (google.api.http) = { - get: "/v1/{name=projects/*/locations/*/realms/*/gameServerClusters/*}" - }; - option (google.api.method_signature) = "name"; - } - - // Creates a new game server cluster in a given project and location. - rpc CreateGameServerCluster(CreateGameServerClusterRequest) returns (google.longrunning.Operation) { - option (google.api.http) = { - post: "/v1/{parent=projects/*/locations/*/realms/*}/gameServerClusters" - body: "game_server_cluster" - }; - option (google.api.method_signature) = "parent,game_server_cluster,game_server_cluster_id"; - option (google.longrunning.operation_info) = { - response_type: "GameServerCluster" - metadata_type: "OperationMetadata" - }; - } - - // Previews creation of a new game server cluster in a given project and - // location. - rpc PreviewCreateGameServerCluster(PreviewCreateGameServerClusterRequest) returns (PreviewCreateGameServerClusterResponse) { - option (google.api.http) = { - post: "/v1/{parent=projects/*/locations/*/realms/*}/gameServerClusters:previewCreate" - body: "game_server_cluster" - }; - } - - // Deletes a single game server cluster. - rpc DeleteGameServerCluster(DeleteGameServerClusterRequest) returns (google.longrunning.Operation) { - option (google.api.http) = { - delete: "/v1/{name=projects/*/locations/*/realms/*/gameServerClusters/*}" - }; - option (google.api.method_signature) = "name"; - option (google.longrunning.operation_info) = { - response_type: "google.protobuf.Empty" - metadata_type: "OperationMetadata" - }; - } - - // Previews deletion of a single game server cluster. - rpc PreviewDeleteGameServerCluster(PreviewDeleteGameServerClusterRequest) returns (PreviewDeleteGameServerClusterResponse) { - option (google.api.http) = { - delete: "/v1/{name=projects/*/locations/*/realms/*/gameServerClusters/*}:previewDelete" - }; - } - - // Patches a single game server cluster. - rpc UpdateGameServerCluster(UpdateGameServerClusterRequest) returns (google.longrunning.Operation) { - option (google.api.http) = { - patch: "/v1/{game_server_cluster.name=projects/*/locations/*/realms/*/gameServerClusters/*}" - body: "game_server_cluster" - }; - option (google.api.method_signature) = "game_server_cluster,update_mask"; - option (google.longrunning.operation_info) = { - response_type: "GameServerCluster" - metadata_type: "OperationMetadata" - }; - } - - // Previews updating a GameServerCluster. - rpc PreviewUpdateGameServerCluster(PreviewUpdateGameServerClusterRequest) returns (PreviewUpdateGameServerClusterResponse) { - option (google.api.http) = { - patch: "/v1/{game_server_cluster.name=projects/*/locations/*/realms/*/gameServerClusters/*}:previewUpdate" - body: "game_server_cluster" - }; - } -} diff --git a/third_party/googleapis/google/cloud/gaming/v1/game_server_configs.proto b/third_party/googleapis/google/cloud/gaming/v1/game_server_configs.proto deleted file mode 100644 index 568bb8555..000000000 --- a/third_party/googleapis/google/cloud/gaming/v1/game_server_configs.proto +++ /dev/null @@ -1,172 +0,0 @@ -// Copyright 2021 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.cloud.gaming.v1; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/cloud/gaming/v1/common.proto"; -import "google/protobuf/timestamp.proto"; - -option go_package = "cloud.google.com/go/gaming/apiv1/gamingpb;gamingpb"; -option java_multiple_files = true; -option java_package = "com.google.cloud.gaming.v1"; - -// Request message for GameServerConfigsService.ListGameServerConfigs. -message ListGameServerConfigsRequest { - // Required. The parent resource name, in the following form: - // `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/*`. - string parent = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - child_type: "gameservices.googleapis.com/GameServerConfig" - } - ]; - - // Optional. The maximum number of items to return. If unspecified, server - // will pick an appropriate default. Server may return fewer items than - // requested. A caller should only rely on response's - // [next_page_token][google.cloud.gaming.v1.ListGameServerConfigsResponse.next_page_token] to - // determine if there are more GameServerConfigs left to be queried. - int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The next_page_token value returned from a previous list request, if any. - string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The filter to apply to list results. - string filter = 4 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. Specifies the ordering of results following syntax at - // https://cloud.google.com/apis/design/design_patterns#sorting_order. - string order_by = 5 [(google.api.field_behavior) = OPTIONAL]; -} - -// Response message for GameServerConfigsService.ListGameServerConfigs. -message ListGameServerConfigsResponse { - // The list of game server configs. - repeated GameServerConfig game_server_configs = 1; - - // Token to retrieve the next page of results, or empty if there are no more - // results in the list. - string next_page_token = 2; - - // List of locations that could not be reached. - repeated string unreachable = 4; -} - -// Request message for GameServerConfigsService.GetGameServerConfig. -message GetGameServerConfigRequest { - // Required. The name of the game server config to retrieve, in the following form: - // `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/{config}`. - string name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "gameservices.googleapis.com/GameServerConfig" - } - ]; -} - -// Request message for GameServerConfigsService.CreateGameServerConfig. -message CreateGameServerConfigRequest { - // Required. The parent resource name, in the following form: - // `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/`. - string parent = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - child_type: "gameservices.googleapis.com/GameServerConfig" - } - ]; - - // Required. The ID of the game server config resource to be created. - string config_id = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. The game server config resource to be created. - GameServerConfig game_server_config = 3 [(google.api.field_behavior) = REQUIRED]; -} - -// Request message for GameServerConfigsService.DeleteGameServerConfig. -message DeleteGameServerConfigRequest { - // Required. The name of the game server config to delete, in the following form: - // `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/{config}`. - string name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "gameservices.googleapis.com/GameServerConfig" - } - ]; -} - -// Autoscaling config for an Agones fleet. -message ScalingConfig { - // Required. The name of the Scaling Config - string name = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. Agones fleet autoscaler spec. Example spec: - // https://agones.dev/site/docs/reference/fleetautoscaler/ - string fleet_autoscaler_spec = 2 [(google.api.field_behavior) = REQUIRED]; - - // Labels used to identify the game server clusters to which this Agones - // scaling config applies. A game server cluster is subject to this Agones - // scaling config if its labels match any of the selector entries. - repeated LabelSelector selectors = 4; - - // The schedules to which this Scaling Config applies. - repeated Schedule schedules = 5; -} - -// Fleet configs for Agones. -message FleetConfig { - // Agones fleet spec. Example spec: - // `https://agones.dev/site/docs/reference/fleet/`. - string fleet_spec = 1; - - // The name of the FleetConfig. - string name = 2; -} - -// A game server config resource. -message GameServerConfig { - option (google.api.resource) = { - type: "gameservices.googleapis.com/GameServerConfig" - pattern: "projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/{config}" - }; - - // The resource name of the game server config, in the following form: - // `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/{config}`. - // For example, - // `projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-config`. - string name = 1; - - // Output only. The creation time. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The last-modified time. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The labels associated with this game server config. Each label is a - // key-value pair. - map labels = 4; - - // FleetConfig contains a list of Agones fleet specs. Only one FleetConfig - // is allowed. - repeated FleetConfig fleet_configs = 5; - - // The autoscaling settings. - repeated ScalingConfig scaling_configs = 6; - - // The description of the game server config. - string description = 7; -} diff --git a/third_party/googleapis/google/cloud/gaming/v1/game_server_configs_service.proto b/third_party/googleapis/google/cloud/gaming/v1/game_server_configs_service.proto deleted file mode 100644 index 5460fedb0..000000000 --- a/third_party/googleapis/google/cloud/gaming/v1/game_server_configs_service.proto +++ /dev/null @@ -1,77 +0,0 @@ -// Copyright 2021 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.cloud.gaming.v1; - -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/cloud/gaming/v1/game_server_configs.proto"; -import "google/longrunning/operations.proto"; - -option go_package = "cloud.google.com/go/gaming/apiv1/gamingpb;gamingpb"; -option java_multiple_files = true; -option java_package = "com.google.cloud.gaming.v1"; - -// The game server config configures the game servers in an Agones fleet. -service GameServerConfigsService { - option (google.api.default_host) = "gameservices.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; - - // Lists game server configs in a given project, location, and game server - // deployment. - rpc ListGameServerConfigs(ListGameServerConfigsRequest) returns (ListGameServerConfigsResponse) { - option (google.api.http) = { - get: "/v1/{parent=projects/*/locations/*/gameServerDeployments/*}/configs" - }; - option (google.api.method_signature) = "parent"; - } - - // Gets details of a single game server config. - rpc GetGameServerConfig(GetGameServerConfigRequest) returns (GameServerConfig) { - option (google.api.http) = { - get: "/v1/{name=projects/*/locations/*/gameServerDeployments/*/configs/*}" - }; - option (google.api.method_signature) = "name"; - } - - // Creates a new game server config in a given project, location, and game - // server deployment. Game server configs are immutable, and are not applied - // until referenced in the game server deployment rollout resource. - rpc CreateGameServerConfig(CreateGameServerConfigRequest) returns (google.longrunning.Operation) { - option (google.api.http) = { - post: "/v1/{parent=projects/*/locations/*/gameServerDeployments/*}/configs" - body: "game_server_config" - }; - option (google.api.method_signature) = "parent,game_server_config"; - option (google.longrunning.operation_info) = { - response_type: "GameServerConfig" - metadata_type: "OperationMetadata" - }; - } - - // Deletes a single game server config. The deletion will fail if the game - // server config is referenced in a game server deployment rollout. - rpc DeleteGameServerConfig(DeleteGameServerConfigRequest) returns (google.longrunning.Operation) { - option (google.api.http) = { - delete: "/v1/{name=projects/*/locations/*/gameServerDeployments/*/configs/*}" - }; - option (google.api.method_signature) = "name"; - option (google.longrunning.operation_info) = { - response_type: "google.protobuf.Empty" - metadata_type: "OperationMetadata" - }; - } -} diff --git a/third_party/googleapis/google/cloud/gaming/v1/game_server_deployments.proto b/third_party/googleapis/google/cloud/gaming/v1/game_server_deployments.proto deleted file mode 100644 index d972491f6..000000000 --- a/third_party/googleapis/google/cloud/gaming/v1/game_server_deployments.proto +++ /dev/null @@ -1,286 +0,0 @@ -// Copyright 2021 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.cloud.gaming.v1; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/cloud/gaming/v1/common.proto"; -import "google/protobuf/field_mask.proto"; -import "google/protobuf/timestamp.proto"; - -option go_package = "cloud.google.com/go/gaming/apiv1/gamingpb;gamingpb"; -option java_multiple_files = true; -option java_package = "com.google.cloud.gaming.v1"; - -// Request message for GameServerDeploymentsService.ListGameServerDeployments. -message ListGameServerDeploymentsRequest { - // Required. The parent resource name, in the following form: - // `projects/{project}/locations/{location}`. - string parent = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - child_type: "gameservices.googleapis.com/GameServerDeployment" - } - ]; - - // Optional. The maximum number of items to return. If unspecified, the server - // will pick an appropriate default. The server may return fewer items than - // requested. A caller should only rely on response's - // [next_page_token][google.cloud.gaming.v1.ListGameServerDeploymentsResponse.next_page_token] to - // determine if there are more GameServerDeployments left to be queried. - int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The next_page_token value returned from a previous List request, - // if any. - string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The filter to apply to list results. - string filter = 4 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. Specifies the ordering of results following syntax at - // https://cloud.google.com/apis/design/design_patterns#sorting_order. - string order_by = 5 [(google.api.field_behavior) = OPTIONAL]; -} - -// Response message for GameServerDeploymentsService.ListGameServerDeployments. -message ListGameServerDeploymentsResponse { - // The list of game server deployments. - repeated GameServerDeployment game_server_deployments = 1; - - // Token to retrieve the next page of results, or empty if there are no more - // results in the list. - string next_page_token = 2; - - // List of locations that could not be reached. - repeated string unreachable = 4; -} - -// Request message for GameServerDeploymentsService.GetGameServerDeployment. -message GetGameServerDeploymentRequest { - // Required. The name of the game server delpoyment to retrieve, in the following form: - // `projects/{project}/locations/{location}/gameServerDeployments/{deployment}`. - string name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "gameservices.googleapis.com/GameServerDeployment" - } - ]; -} - -// Request message for -// GameServerDeploymentsService.GetGameServerDeploymentRollout. -message GetGameServerDeploymentRolloutRequest { - // Required. The name of the game server delpoyment to retrieve, in the following form: - // `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/rollout`. - string name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "gameservices.googleapis.com/GameServerDeployment" - } - ]; -} - -// Request message for GameServerDeploymentsService.CreateGameServerDeployment. -message CreateGameServerDeploymentRequest { - // Required. The parent resource name, in the following form: - // `projects/{project}/locations/{location}`. - string parent = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - child_type: "gameservices.googleapis.com/GameServerDeployment" - } - ]; - - // Required. The ID of the game server delpoyment resource to be created. - string deployment_id = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. The game server delpoyment resource to be created. - GameServerDeployment game_server_deployment = 3 [(google.api.field_behavior) = REQUIRED]; -} - -// Request message for GameServerDeploymentsService.DeleteGameServerDeployment. -message DeleteGameServerDeploymentRequest { - // Required. The name of the game server delpoyment to delete, in the following form: - // `projects/{project}/locations/{location}/gameServerDeployments/{deployment}`. - string name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "gameservices.googleapis.com/GameServerDeployment" - } - ]; -} - -// Request message for GameServerDeploymentsService.UpdateGameServerDeployment. -// Only allows updates for labels. -message UpdateGameServerDeploymentRequest { - // Required. The game server delpoyment to be updated. - // Only fields specified in update_mask are updated. - GameServerDeployment game_server_deployment = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. Mask of fields to update. At least one path must be supplied in - // this field. For the `FieldMask` definition, see - // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; -} - -// Request message for -// GameServerDeploymentsService.UpdateGameServerRolloutDeployment. -message UpdateGameServerDeploymentRolloutRequest { - // Required. The game server delpoyment rollout to be updated. - // Only fields specified in update_mask are updated. - GameServerDeploymentRollout rollout = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. Mask of fields to update. At least one path must be supplied in - // this field. For the `FieldMask` definition, see - // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; -} - -// Request message for GameServerDeploymentsService.FetchDeploymentState. -message FetchDeploymentStateRequest { - // Required. The name of the game server delpoyment, in the following form: - // `projects/{project}/locations/{location}/gameServerDeployments/{deployment}`. - string name = 1 [(google.api.field_behavior) = REQUIRED]; -} - -// Response message for GameServerDeploymentsService.FetchDeploymentState. -message FetchDeploymentStateResponse { - // The game server cluster changes made by the game server deployment. - message DeployedClusterState { - // The name of the cluster. - string cluster = 1; - - // The details about the Agones fleets and autoscalers created in the - // game server cluster. - repeated DeployedFleetDetails fleet_details = 2; - } - - // The state of the game server deployment in each game server cluster. - repeated DeployedClusterState cluster_state = 1; - - // List of locations that could not be reached. - repeated string unavailable = 2; -} - -// A game server deployment resource. -message GameServerDeployment { - option (google.api.resource) = { - type: "gameservices.googleapis.com/GameServerDeployment" - pattern: "projects/{project}/locations/{location}/gameServerDeployments/{deployment}" - }; - - // The resource name of the game server deployment, in the following form: - // `projects/{project}/locations/{location}/gameServerDeployments/{deployment}`. - // For example, - // `projects/my-project/locations/global/gameServerDeployments/my-deployment`. - string name = 1; - - // Output only. The creation time. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The last-modified time. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The labels associated with this game server deployment. Each label is a - // key-value pair. - map labels = 4; - - // ETag of the resource. - string etag = 7; - - // Human readable description of the game server delpoyment. - string description = 8; -} - -// A game server config override. -message GameServerConfigOverride { - // Selector chooses the game server config targets. - oneof selector { - // Selector for choosing applicable realms. - RealmSelector realms_selector = 1; - } - - // Selects the game server config and how it should be applied. - oneof change { - // The game server config for this override. - string config_version = 100; - } -} - -// The game server deployment rollout which represents the desired rollout -// state. -message GameServerDeploymentRollout { - option (google.api.resource) = { - type: "gameservices.googleapis.com/GameServerDeploymentRollout" - pattern: "projects/{project}/locations/{location}/gameServerDeployments/{deployment}/rollout" - }; - - // The resource name of the game server deployment rollout, in the following - // form: - // `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/rollout`. - // For example, - // `projects/my-project/locations/global/gameServerDeployments/my-deployment/rollout`. - string name = 1; - - // Output only. The creation time. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The last-modified time. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The default game server config is applied to all realms unless overridden - // in the rollout. For example, - // `projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-config`. - string default_game_server_config = 4; - - // Contains the game server config rollout overrides. Overrides are processed - // in the order they are listed. Once a match is found for a realm, the rest - // of the list is not processed. - repeated GameServerConfigOverride game_server_config_overrides = 5; - - // ETag of the resource. - string etag = 6; -} - -// Request message for PreviewGameServerDeploymentRollout. -message PreviewGameServerDeploymentRolloutRequest { - // Required. The game server deployment rollout to be updated. - // Only fields specified in update_mask are updated. - GameServerDeploymentRollout rollout = 1 [(google.api.field_behavior) = REQUIRED]; - - // Optional. Mask of fields to update. At least one path must be supplied in - // this field. For the `FieldMask` definition, see - // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The target timestamp to compute the preview. Defaults to the immediately - // after the proposed rollout completes. - google.protobuf.Timestamp preview_time = 3 [(google.api.field_behavior) = OPTIONAL]; -} - -// Response message for PreviewGameServerDeploymentRollout. -// This has details about the Agones fleet and autoscaler to be actuated. -message PreviewGameServerDeploymentRolloutResponse { - // Locations that could not be reached on this request. - repeated string unavailable = 2; - - // ETag of the game server deployment. - string etag = 3; - - // The target state. - TargetState target_state = 4; -} diff --git a/third_party/googleapis/google/cloud/gaming/v1/game_server_deployments_service.proto b/third_party/googleapis/google/cloud/gaming/v1/game_server_deployments_service.proto deleted file mode 100644 index 544011340..000000000 --- a/third_party/googleapis/google/cloud/gaming/v1/game_server_deployments_service.proto +++ /dev/null @@ -1,132 +0,0 @@ -// Copyright 2021 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.cloud.gaming.v1; - -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/cloud/gaming/v1/game_server_deployments.proto"; -import "google/longrunning/operations.proto"; - -option go_package = "cloud.google.com/go/gaming/apiv1/gamingpb;gamingpb"; -option java_multiple_files = true; -option java_package = "com.google.cloud.gaming.v1"; - -// The game server deployment is used to control the deployment of Agones -// fleets. -service GameServerDeploymentsService { - option (google.api.default_host) = "gameservices.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; - - // Lists game server deployments in a given project and location. - rpc ListGameServerDeployments(ListGameServerDeploymentsRequest) returns (ListGameServerDeploymentsResponse) { - option (google.api.http) = { - get: "/v1/{parent=projects/*/locations/*}/gameServerDeployments" - }; - option (google.api.method_signature) = "parent"; - } - - // Gets details of a single game server deployment. - rpc GetGameServerDeployment(GetGameServerDeploymentRequest) returns (GameServerDeployment) { - option (google.api.http) = { - get: "/v1/{name=projects/*/locations/*/gameServerDeployments/*}" - }; - option (google.api.method_signature) = "name"; - } - - // Creates a new game server deployment in a given project and location. - rpc CreateGameServerDeployment(CreateGameServerDeploymentRequest) returns (google.longrunning.Operation) { - option (google.api.http) = { - post: "/v1/{parent=projects/*/locations/*}/gameServerDeployments" - body: "game_server_deployment" - }; - option (google.api.method_signature) = "parent,game_server_deployment"; - option (google.longrunning.operation_info) = { - response_type: "GameServerDeployment" - metadata_type: "OperationMetadata" - }; - } - - // Deletes a single game server deployment. - rpc DeleteGameServerDeployment(DeleteGameServerDeploymentRequest) returns (google.longrunning.Operation) { - option (google.api.http) = { - delete: "/v1/{name=projects/*/locations/*/gameServerDeployments/*}" - }; - option (google.api.method_signature) = "name"; - option (google.longrunning.operation_info) = { - response_type: "google.protobuf.Empty" - metadata_type: "OperationMetadata" - }; - } - - // Patches a game server deployment. - rpc UpdateGameServerDeployment(UpdateGameServerDeploymentRequest) returns (google.longrunning.Operation) { - option (google.api.http) = { - patch: "/v1/{game_server_deployment.name=projects/*/locations/*/gameServerDeployments/*}" - body: "game_server_deployment" - }; - option (google.api.method_signature) = "game_server_deployment,update_mask"; - option (google.longrunning.operation_info) = { - response_type: "GameServerDeployment" - metadata_type: "OperationMetadata" - }; - } - - // Gets details a single game server deployment rollout. - rpc GetGameServerDeploymentRollout(GetGameServerDeploymentRolloutRequest) returns (GameServerDeploymentRollout) { - option (google.api.http) = { - get: "/v1/{name=projects/*/locations/*/gameServerDeployments/*}/rollout" - }; - option (google.api.method_signature) = "name"; - } - - // Patches a single game server deployment rollout. - // The method will not return an error if the update does not affect any - // existing realms. For example - if the default_game_server_config is changed - // but all existing realms use the override, that is valid. Similarly, if a - // non existing realm is explicitly called out in game_server_config_overrides - // field, that will also not result in an error. - rpc UpdateGameServerDeploymentRollout(UpdateGameServerDeploymentRolloutRequest) returns (google.longrunning.Operation) { - option (google.api.http) = { - patch: "/v1/{rollout.name=projects/*/locations/*/gameServerDeployments/*}/rollout" - body: "rollout" - }; - option (google.api.method_signature) = "rollout,update_mask"; - option (google.longrunning.operation_info) = { - response_type: "GameServerDeployment" - metadata_type: "OperationMetadata" - }; - } - - // Previews the game server deployment rollout. This API does not mutate the - // rollout resource. - rpc PreviewGameServerDeploymentRollout(PreviewGameServerDeploymentRolloutRequest) returns (PreviewGameServerDeploymentRolloutResponse) { - option (google.api.http) = { - patch: "/v1/{rollout.name=projects/*/locations/*/gameServerDeployments/*}/rollout:preview" - body: "rollout" - }; - } - - // Retrieves information about the current state of the game server - // deployment. Gathers all the Agones fleets and Agones autoscalers, - // including fleets running an older version of the game server deployment. - rpc FetchDeploymentState(FetchDeploymentStateRequest) returns (FetchDeploymentStateResponse) { - option (google.api.http) = { - post: "/v1/{name=projects/*/locations/*/gameServerDeployments/*}:fetchDeploymentState" - body: "*" - }; - } -} diff --git a/third_party/googleapis/google/cloud/gaming/v1/gameservices_v1.yaml b/third_party/googleapis/google/cloud/gaming/v1/gameservices_v1.yaml deleted file mode 100644 index 43b3b6b23..000000000 --- a/third_party/googleapis/google/cloud/gaming/v1/gameservices_v1.yaml +++ /dev/null @@ -1,129 +0,0 @@ -type: google.api.Service -config_version: 3 -name: gameservices.googleapis.com -title: Game Services API - -apis: -- name: google.cloud.gaming.v1.GameServerClustersService -- name: google.cloud.gaming.v1.GameServerConfigsService -- name: google.cloud.gaming.v1.GameServerDeploymentsService -- name: google.cloud.gaming.v1.RealmsService - -types: -- name: google.cloud.gaming.v1.LabelSelector -- name: google.cloud.gaming.v1.OperationMetadata -- name: google.cloud.gaming.v1.Schedule - -documentation: - summary: Deploy and manage infrastructure for global multiplayer gaming experiences. - rules: - - selector: google.cloud.location.Locations.GetLocation - description: Gets information about a location. - - - selector: google.cloud.location.Locations.ListLocations - description: Lists information about the supported locations for this service. - - - selector: google.iam.v1.IAMPolicy.GetIamPolicy - description: |- - Gets the access control policy for a resource. Returns an empty policy - if the resource exists and does not have a policy set. - - - selector: google.iam.v1.IAMPolicy.SetIamPolicy - description: |- - Sets the access control policy on the specified resource. Replaces - any existing policy. - - Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` - errors. - - - selector: google.iam.v1.IAMPolicy.TestIamPermissions - description: |- - Returns permissions that a caller has on the specified resource. If the - resource does not exist, this will return an empty set of - permissions, not a `NOT_FOUND` error. - - Note: This operation is designed to be used for building - permission-aware UIs and command-line tools, not for authorization - checking. This operation may "fail open" without warning. - -backend: - rules: - - selector: 'google.cloud.gaming.v1.GameServerClustersService.*' - deadline: 60.0 - - selector: google.cloud.gaming.v1.GameServerClustersService.CreateGameServerCluster - deadline: 120.0 - - selector: 'google.cloud.gaming.v1.GameServerConfigsService.*' - deadline: 60.0 - - selector: 'google.cloud.gaming.v1.GameServerDeploymentsService.*' - deadline: 60.0 - - selector: 'google.cloud.gaming.v1.RealmsService.*' - deadline: 60.0 - - selector: google.cloud.location.Locations.GetLocation - deadline: 60.0 - - selector: google.cloud.location.Locations.ListLocations - deadline: 60.0 - - selector: 'google.iam.v1.IAMPolicy.*' - deadline: 60.0 - - selector: 'google.longrunning.Operations.*' - deadline: 60.0 - - selector: google.longrunning.Operations.GetOperation - deadline: 5.0 - -http: - rules: - - selector: google.cloud.location.Locations.GetLocation - get: '/v1/{name=projects/*/locations/*}' - - selector: google.cloud.location.Locations.ListLocations - get: '/v1/{name=projects/*}/locations' - - selector: google.iam.v1.IAMPolicy.GetIamPolicy - get: '/v1/{resource=projects/*/locations/*/gameServerDeployments/*}:getIamPolicy' - - selector: google.iam.v1.IAMPolicy.SetIamPolicy - post: '/v1/{resource=projects/*/locations/*/gameServerDeployments/*}:setIamPolicy' - body: '*' - - selector: google.iam.v1.IAMPolicy.TestIamPermissions - post: '/v1/{resource=projects/*/locations/*/gameServerDeployments/*}:testIamPermissions' - body: '*' - - selector: google.longrunning.Operations.CancelOperation - post: '/v1/{name=projects/*/locations/*/operations/*}:cancel' - body: '*' - - selector: google.longrunning.Operations.DeleteOperation - delete: '/v1/{name=projects/*/locations/*/operations/*}' - - selector: google.longrunning.Operations.GetOperation - get: '/v1/{name=projects/*/locations/*/operations/*}' - - selector: google.longrunning.Operations.ListOperations - get: '/v1/{name=projects/*/locations/*}/operations' - -authentication: - rules: - - selector: 'google.cloud.gaming.v1.GameServerClustersService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/cloud-platform - - selector: 'google.cloud.gaming.v1.GameServerConfigsService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/cloud-platform - - selector: 'google.cloud.gaming.v1.GameServerDeploymentsService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/cloud-platform - - selector: 'google.cloud.gaming.v1.RealmsService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/cloud-platform - - selector: google.cloud.location.Locations.GetLocation - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/cloud-platform - - selector: google.cloud.location.Locations.ListLocations - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/cloud-platform - - selector: 'google.iam.v1.IAMPolicy.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/cloud-platform - - selector: 'google.longrunning.Operations.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/cloud-platform diff --git a/third_party/googleapis/google/cloud/gaming/v1/gaming_grpc_service_config.json b/third_party/googleapis/google/cloud/gaming/v1/gaming_grpc_service_config.json deleted file mode 100644 index 9a09cad4f..000000000 --- a/third_party/googleapis/google/cloud/gaming/v1/gaming_grpc_service_config.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "methodConfig": [ - { - "name": [ - { "service": "google.cloud.gaming.v1.GameServerClustersService", "method": "ListGameServerClusters" }, - { "service": "google.cloud.gaming.v1.GameServerClustersService", "method": "GetGameServerCluster" }, - { "service": "google.cloud.gaming.v1.GameServerClustersService", "method": "PreviewCreateGameServerCluster" }, - { "service": "google.cloud.gaming.v1.GameServerClustersService", "method": "PreviewDeleteGameServerCluster" }, - { "service": "google.cloud.gaming.v1.GameServerClustersService", "method": "PreviewUpdateGameServerCluster" }, - - { "service": "google.cloud.gaming.v1.GameServerConfigsService", "method": "ListGameServerConfigs" }, - { "service": "google.cloud.gaming.v1.GameServerConfigsService", "method": "GetGameServerConfig" }, - - { "service": "google.cloud.gaming.v1.GameServerDeploymentsService", "method": "ListGameServerDeployments" }, - { "service": "google.cloud.gaming.v1.GameServerDeploymentsService", "method": "GetGameServerDeployment" }, - { "service": "google.cloud.gaming.v1.GameServerDeploymentsService", "method": "GetGameServerDeploymentRollout" }, - { "service": "google.cloud.gaming.v1.GameServerDeploymentsService", "method": "PreviewGameServerDeploymentRollout" }, - - { "service": "google.cloud.gaming.v1.RealmsService", "method": "ListRealms" }, - { "service": "google.cloud.gaming.v1.RealmsService", "method": "GetRealm" }, - { "service": "google.cloud.gaming.v1.RealmsService", "method": "PreviewRealmUpdate" }, - { "service": "google.cloud.gaming.v1.GameServerDeploymentsService", "method": "FetchDeploymentState" } - ], - "timeout": "60s", - "retryPolicy": { - "maxAttempts": 5, - "initialBackoff": "1s", - "maxBackoff": "10s", - "backoffMultiplier": 1.3, - "retryableStatusCodes": ["UNAVAILABLE"] - } - }, - { - "name": [ - { "service": "google.cloud.gaming.v1.GameServerClustersService", "method": "DeleteGameServerCluster" }, - { "service": "google.cloud.gaming.v1.GameServerClustersService", "method": "UpdateGameServerCluster" }, - - { "service": "google.cloud.gaming.v1.GameServerConfigsService", "method": "CreateGameServerConfig" }, - { "service": "google.cloud.gaming.v1.GameServerConfigsService", "method": "DeleteGameServerConfig" }, - - { "service": "google.cloud.gaming.v1.GameServerDeploymentsService", "method": "CreateGameServerDeployment" }, - { "service": "google.cloud.gaming.v1.GameServerDeploymentsService", "method": "DeleteGameServerDeployment" }, - { "service": "google.cloud.gaming.v1.GameServerDeploymentsService", "method": "UpdateGameServerDeployment" }, - { "service": "google.cloud.gaming.v1.GameServerDeploymentsService", "method": "UpdateGameServerDeploymentRollout" }, - - { "service": "google.cloud.gaming.v1.RealmsService", "method": "CreateRealm" }, - { "service": "google.cloud.gaming.v1.RealmsService", "method": "DeleteRealm" }, - { "service": "google.cloud.gaming.v1.RealmsService", "method": "UpdateRealm" } - ], - "timeout": "60s" - }, - { - "name": [ - { "service": "google.cloud.gaming.v1.GameServerClustersService", "method": "CreateGameServerCluster" } - ], - "timeout": "120s" - } - ] -} diff --git a/third_party/googleapis/google/cloud/gaming/v1/realms.proto b/third_party/googleapis/google/cloud/gaming/v1/realms.proto deleted file mode 100644 index 2c7f07aa7..000000000 --- a/third_party/googleapis/google/cloud/gaming/v1/realms.proto +++ /dev/null @@ -1,181 +0,0 @@ -// Copyright 2021 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.cloud.gaming.v1; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/cloud/gaming/v1/common.proto"; -import "google/protobuf/field_mask.proto"; -import "google/protobuf/timestamp.proto"; - -option go_package = "cloud.google.com/go/gaming/apiv1/gamingpb;gamingpb"; -option java_multiple_files = true; -option java_package = "com.google.cloud.gaming.v1"; - -// Request message for RealmsService.ListRealms. -message ListRealmsRequest { - // Required. The parent resource name, in the following form: - // `projects/{project}/locations/{location}`. - string parent = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - child_type: "gameservices.googleapis.com/Realm" - } - ]; - - // Optional. The maximum number of items to return. If unspecified, server - // will pick an appropriate default. Server may return fewer items than - // requested. A caller should only rely on response's - // [next_page_token][google.cloud.gaming.v1.ListRealmsResponse.next_page_token] to - // determine if there are more realms left to be queried. - int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The next_page_token value returned from a previous List request, - // if any. - string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The filter to apply to list results. - string filter = 4 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. Specifies the ordering of results following syntax at - // https://cloud.google.com/apis/design/design_patterns#sorting_order. - string order_by = 5 [(google.api.field_behavior) = OPTIONAL]; -} - -// Response message for RealmsService.ListRealms. -message ListRealmsResponse { - // The list of realms. - repeated Realm realms = 1; - - // Token to retrieve the next page of results, or empty if there are no more - // results in the list. - string next_page_token = 2; - - // List of locations that could not be reached. - repeated string unreachable = 3; -} - -// Request message for RealmsService.GetRealm. -message GetRealmRequest { - // Required. The name of the realm to retrieve, in the following form: - // `projects/{project}/locations/{location}/realms/{realm}`. - string name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "gameservices.googleapis.com/Realm" - } - ]; -} - -// Request message for RealmsService.CreateRealm. -message CreateRealmRequest { - // Required. The parent resource name, in the following form: - // `projects/{project}/locations/{location}`. - string parent = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - child_type: "gameservices.googleapis.com/Realm" - } - ]; - - // Required. The ID of the realm resource to be created. - string realm_id = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. The realm resource to be created. - Realm realm = 3 [(google.api.field_behavior) = REQUIRED]; -} - -// Request message for RealmsService.DeleteRealm. -message DeleteRealmRequest { - // Required. The name of the realm to delete, in the following form: - // `projects/{project}/locations/{location}/realms/{realm}`. - string name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "gameservices.googleapis.com/Realm" - } - ]; -} - -// Request message for RealmsService.UpdateRealm. -message UpdateRealmRequest { - // Required. The realm to be updated. - // Only fields specified in update_mask are updated. - Realm realm = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The update mask applies to the resource. For the `FieldMask` - // definition, see - // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; -} - -// Request message for RealmsService.PreviewRealmUpdate. -message PreviewRealmUpdateRequest { - // Required. The realm to be updated. - // Only fields specified in update_mask are updated. - Realm realm = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The update mask applies to the resource. For the `FieldMask` - // definition, see - // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; - - // Optional. The target timestamp to compute the preview. - google.protobuf.Timestamp preview_time = 3 [(google.api.field_behavior) = OPTIONAL]; -} - -// Response message for RealmsService.PreviewRealmUpdate. -message PreviewRealmUpdateResponse { - // ETag of the realm. - string etag = 2; - - // The target state. - TargetState target_state = 3; -} - -// A realm resource. -message Realm { - option (google.api.resource) = { - type: "gameservices.googleapis.com/Realm" - pattern: "projects/{project}/locations/{location}/realms/{realm}" - }; - - // The resource name of the realm, in the following form: - // `projects/{project}/locations/{location}/realms/{realm}`. For - // example, `projects/my-project/locations/{location}/realms/my-realm`. - string name = 1; - - // Output only. The creation time. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The last-modified time. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The labels associated with this realm. Each label is a key-value pair. - map labels = 4; - - // Required. Time zone where all policies targeting this realm are evaluated. The value - // of this field must be from the IANA time zone database: - // https://www.iana.org/time-zones. - string time_zone = 6 [(google.api.field_behavior) = REQUIRED]; - - // ETag of the resource. - string etag = 7; - - // Human readable description of the realm. - string description = 8; -} diff --git a/third_party/googleapis/google/cloud/gaming/v1/realms_service.proto b/third_party/googleapis/google/cloud/gaming/v1/realms_service.proto deleted file mode 100644 index 685b59efa..000000000 --- a/third_party/googleapis/google/cloud/gaming/v1/realms_service.proto +++ /dev/null @@ -1,95 +0,0 @@ -// Copyright 2021 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.cloud.gaming.v1; - -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/cloud/gaming/v1/realms.proto"; -import "google/longrunning/operations.proto"; - -option go_package = "cloud.google.com/go/gaming/apiv1/gamingpb;gamingpb"; -option java_multiple_files = true; -option java_package = "com.google.cloud.gaming.v1"; - -// A realm is a grouping of game server clusters that are considered -// interchangeable. -service RealmsService { - option (google.api.default_host) = "gameservices.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; - - // Lists realms in a given project and location. - rpc ListRealms(ListRealmsRequest) returns (ListRealmsResponse) { - option (google.api.http) = { - get: "/v1/{parent=projects/*/locations/*}/realms" - }; - option (google.api.method_signature) = "parent"; - } - - // Gets details of a single realm. - rpc GetRealm(GetRealmRequest) returns (Realm) { - option (google.api.http) = { - get: "/v1/{name=projects/*/locations/*/realms/*}" - }; - option (google.api.method_signature) = "name"; - } - - // Creates a new realm in a given project and location. - rpc CreateRealm(CreateRealmRequest) returns (google.longrunning.Operation) { - option (google.api.http) = { - post: "/v1/{parent=projects/*/locations/*}/realms" - body: "realm" - }; - option (google.api.method_signature) = "parent,realm,realm_id"; - option (google.longrunning.operation_info) = { - response_type: "Realm" - metadata_type: "OperationMetadata" - }; - } - - // Deletes a single realm. - rpc DeleteRealm(DeleteRealmRequest) returns (google.longrunning.Operation) { - option (google.api.http) = { - delete: "/v1/{name=projects/*/locations/*/realms/*}" - }; - option (google.api.method_signature) = "name"; - option (google.longrunning.operation_info) = { - response_type: "google.protobuf.Empty" - metadata_type: "OperationMetadata" - }; - } - - // Patches a single realm. - rpc UpdateRealm(UpdateRealmRequest) returns (google.longrunning.Operation) { - option (google.api.http) = { - patch: "/v1/{realm.name=projects/*/locations/*/realms/*}" - body: "realm" - }; - option (google.api.method_signature) = "realm,update_mask"; - option (google.longrunning.operation_info) = { - response_type: "Realm" - metadata_type: "OperationMetadata" - }; - } - - // Previews patches to a single realm. - rpc PreviewRealmUpdate(PreviewRealmUpdateRequest) returns (PreviewRealmUpdateResponse) { - option (google.api.http) = { - patch: "/v1/{realm.name=projects/*/locations/*/realms/*}:previewUpdate" - body: "realm" - }; - } -} diff --git a/third_party/googleapis/google/cloud/gaming/v1beta/BUILD.bazel b/third_party/googleapis/google/cloud/gaming/v1beta/BUILD.bazel deleted file mode 100644 index a334f84ec..000000000 --- a/third_party/googleapis/google/cloud/gaming/v1beta/BUILD.bazel +++ /dev/null @@ -1,377 +0,0 @@ -# This file was automatically generated by BuildFileGenerator - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) - -############################################################################## -# Common -############################################################################## -load("@rules_proto//proto:defs.bzl", "proto_library") -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") - -proto_library( - name = "gaming_proto", - srcs = [ - "common.proto", - "game_server_clusters.proto", - "game_server_clusters_service.proto", - "game_server_configs.proto", - "game_server_configs_service.proto", - "game_server_deployments.proto", - "game_server_deployments_service.proto", - "realms.proto", - "realms_service.proto", - ], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/api:field_behavior_proto", - "//google/api:resource_proto", - "//google/longrunning:operations_proto", - "@com_google_protobuf//:duration_proto", - "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:field_mask_proto", - "@com_google_protobuf//:timestamp_proto", - ], -) - -proto_library_with_info( - name = "gaming_proto_with_info", - deps = [ - ":gaming_proto", - "//google/cloud:common_resources_proto", - ], -) - -############################################################################## -# Java -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "java_gapic_assembly_gradle_pkg", - "java_gapic_library", - "java_gapic_test", - "java_grpc_library", - "java_proto_library", -) - -java_proto_library( - name = "gaming_java_proto", - deps = [":gaming_proto"], -) - -java_grpc_library( - name = "gaming_java_grpc", - srcs = [":gaming_proto"], - deps = [":gaming_java_proto"], -) - -java_gapic_library( - name = "gaming_java_gapic", - srcs = [":gaming_proto_with_info"], - grpc_service_config = "gaming_grpc_service_config.json", - rest_numeric_enums = True, - test_deps = [ - ":gaming_java_grpc", - ], - transport = "grpc+rest", - deps = [ - ":gaming_java_proto", - ], -) - -java_gapic_test( - name = "gaming_java_gapic_test_suite", - test_classes = [ - "com.google.cloud.gaming.v1beta.GameServerClustersServiceClientHttpJsonTest", - "com.google.cloud.gaming.v1beta.GameServerClustersServiceClientTest", - "com.google.cloud.gaming.v1beta.GameServerConfigsServiceClientHttpJsonTest", - "com.google.cloud.gaming.v1beta.GameServerConfigsServiceClientTest", - "com.google.cloud.gaming.v1beta.GameServerDeploymentsServiceClientHttpJsonTest", - "com.google.cloud.gaming.v1beta.GameServerDeploymentsServiceClientTest", - "com.google.cloud.gaming.v1beta.RealmsServiceClientHttpJsonTest", - "com.google.cloud.gaming.v1beta.RealmsServiceClientTest", - ], - runtime_deps = [":gaming_java_gapic_test"], -) - -# Open Source Packages -java_gapic_assembly_gradle_pkg( - name = "google-cloud-gaming-v1beta-java", - include_samples = True, - transport = "grpc+rest", - deps = [ - ":gaming_java_gapic", - ":gaming_java_grpc", - ":gaming_java_proto", - ":gaming_proto", - ], -) - -############################################################################## -# Go -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "go_gapic_assembly_pkg", - "go_gapic_library", - "go_proto_library", - "go_test", -) - -go_proto_library( - name = "gaming_go_proto", - compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "cloud.google.com/go/gaming/apiv1beta/gamingpb", - protos = [":gaming_proto"], - deps = [ - "//google/api:annotations_go_proto", - "//google/longrunning:longrunning_go_proto", - ], -) - -go_gapic_library( - name = "gaming_go_gapic", - srcs = [":gaming_proto_with_info"], - grpc_service_config = "gaming_grpc_service_config.json", - importpath = "cloud.google.com/go/gaming/apiv1beta;gaming", - metadata = True, - release_level = "beta", - rest_numeric_enums = True, - service_yaml = "gameservices_v1beta.yaml", - transport = "grpc+rest", - deps = [ - ":gaming_go_proto", - "//google/longrunning:longrunning_go_proto", - "@com_google_cloud_go_longrunning//:go_default_library", - "@com_google_cloud_go_longrunning//autogen:go_default_library", - "@io_bazel_rules_go//proto/wkt:duration_go_proto", - ], -) - -go_test( - name = "gaming_go_gapic_test", - srcs = [":gaming_go_gapic_srcjar_test"], - embed = [":gaming_go_gapic"], - importpath = "cloud.google.com/go/gaming/apiv1beta", -) - -# Open Source Packages -go_gapic_assembly_pkg( - name = "gapi-cloud-gaming-v1beta-go", - deps = [ - ":gaming_go_gapic", - ":gaming_go_gapic_srcjar-test.srcjar", - ":gaming_go_proto", - ], -) - -############################################################################## -# Python -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "py_gapic_assembly_pkg", - "py_gapic_library", - "py_test", -) - -py_gapic_library( - name = "gaming_py_gapic", - srcs = [":gaming_proto"], - grpc_service_config = "gaming_grpc_service_config.json", - opt_args = [ - "warehouse-package-name=google-cloud-game-servers", - ], - rest_numeric_enums = True, - service_yaml = "gameservices_v1beta.yaml", - transport = "grpc+rest", -) - -py_test( - name = "gaming_py_gapic_test", - srcs = [ - "gaming_py_gapic_pytest.py", - "gaming_py_gapic_test.py", - ], - legacy_create_init = False, - deps = [":gaming_py_gapic"], -) - -# Open Source Packages -py_gapic_assembly_pkg( - name = "gaming-v1beta-py", - deps = [ - ":gaming_py_gapic", - ], -) - -############################################################################## -# PHP -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "php_gapic_assembly_pkg", - "php_gapic_library", - "php_grpc_library", - "php_proto_library", -) - -php_proto_library( - name = "gaming_php_proto", - deps = [":gaming_proto"], -) - -php_grpc_library( - name = "gaming_php_grpc", - srcs = [":gaming_proto"], - deps = [":gaming_php_proto"], -) - -php_gapic_library( - name = "gaming_php_gapic", - srcs = [":gaming_proto_with_info"], - grpc_service_config = "gaming_grpc_service_config.json", - rest_numeric_enums = True, - service_yaml = "gameservices_v1beta.yaml", - transport = "grpc+rest", - deps = [ - ":gaming_php_grpc", - ":gaming_php_proto", - ], -) - -# Open Source Packages -php_gapic_assembly_pkg( - name = "google-cloud-gaming-v1beta-php", - deps = [ - ":gaming_php_gapic", - ":gaming_php_grpc", - ":gaming_php_proto", - ], -) - -############################################################################## -# Node.js -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) - -nodejs_gapic_library( - name = "gaming_nodejs_gapic", - package_name = "@google-cloud/game-servers", - src = ":gaming_proto_with_info", - extra_protoc_parameters = ["metadata"], - grpc_service_config = "gaming_grpc_service_config.json", - package = "google.cloud.gaming.v1beta", - rest_numeric_enums = True, - service_yaml = "gameservices_v1beta.yaml", - transport = "grpc+rest", - deps = [], -) - -nodejs_gapic_assembly_pkg( - name = "gaming-v1beta-nodejs", - deps = [ - ":gaming_nodejs_gapic", - ":gaming_proto", - ], -) - -############################################################################## -# Ruby -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -ruby_proto_library( - name = "gaming_ruby_proto", - deps = [":gaming_proto"], -) - -ruby_grpc_library( - name = "gaming_ruby_grpc", - srcs = [":gaming_proto"], - deps = [":gaming_ruby_proto"], -) - -ruby_cloud_gapic_library( - name = "gaming_ruby_gapic", - srcs = [":gaming_proto_with_info"], - extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-gaming-v1beta"], - rest_numeric_enums = True, - service_yaml = "gameservices_v1beta.yaml", - deps = [ - ":gaming_ruby_grpc", - ":gaming_ruby_proto", - ], -) - -# Open Source Packages -ruby_gapic_assembly_pkg( - name = "google-cloud-gaming-v1beta-ruby", - deps = [ - ":gaming_ruby_gapic", - ":gaming_ruby_grpc", - ":gaming_ruby_proto", - ], -) - -############################################################################## -# C# -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "csharp_gapic_assembly_pkg", - "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", -) - -csharp_proto_library( - name = "gaming_csharp_proto", - deps = [":gaming_proto"], -) - -csharp_grpc_library( - name = "gaming_csharp_grpc", - srcs = [":gaming_proto"], - deps = [":gaming_csharp_proto"], -) - -csharp_gapic_library( - name = "gaming_csharp_gapic", - srcs = [":gaming_proto_with_info"], - common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", - grpc_service_config = "gaming_grpc_service_config.json", - rest_numeric_enums = True, - service_yaml = "gameservices_v1beta.yaml", - transport = "grpc+rest", - deps = [ - ":gaming_csharp_grpc", - ":gaming_csharp_proto", - ], -) - -# Open Source Packages -csharp_gapic_assembly_pkg( - name = "google-cloud-gaming-v1beta-csharp", - deps = [ - ":gaming_csharp_gapic", - ":gaming_csharp_grpc", - ":gaming_csharp_proto", - ], -) - -############################################################################## -# C++ -############################################################################## -# Put your C++ rules here diff --git a/third_party/googleapis/google/cloud/gaming/v1beta/common.proto b/third_party/googleapis/google/cloud/gaming/v1beta/common.proto deleted file mode 100644 index c11de6590..000000000 --- a/third_party/googleapis/google/cloud/gaming/v1beta/common.proto +++ /dev/null @@ -1,242 +0,0 @@ -// Copyright 2020 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.cloud.gaming.v1beta; - -import "google/api/field_behavior.proto"; -import "google/protobuf/duration.proto"; -import "google/protobuf/timestamp.proto"; - -option go_package = "cloud.google.com/go/gaming/apiv1beta/gamingpb;gamingpb"; - -option java_multiple_files = true; -option java_package = "com.google.cloud.gaming.v1beta"; - -// Represents the metadata of the long-running operation. -message OperationMetadata { - // Output only. The time the operation was created. - google.protobuf.Timestamp create_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The time the operation finished running. - google.protobuf.Timestamp end_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Server-defined resource path for the target of the operation. - string target = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Name of the verb executed by the operation. - string verb = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Human-readable status of the operation, if any. - string status_message = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Identifies whether the user has requested cancellation - // of the operation. Operations that have successfully been cancelled - // have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, - // corresponding to `Code.CANCELLED`. - bool requested_cancellation = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. API version used to start the operation. - string api_version = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. List of Locations that could not be reached. - repeated string unreachable = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Operation status for Game Services API operations. Operation status is in - // the form of key-value pairs where keys are resource IDs and the values show - // the status of the operation. In case of failures, the value includes an - // error code and error message. - map operation_status = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; -} - -message OperationStatus { - enum ErrorCode { - ERROR_CODE_UNSPECIFIED = 0; - - INTERNAL_ERROR = 1; - - PERMISSION_DENIED = 2; - - CLUSTER_CONNECTION = 3; - } - - // Output only. Whether the operation is done or still in progress. - bool done = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The error code in case of failures. - ErrorCode error_code = 2; - - // The human-readable error message. - string error_message = 3; -} - -// The label selector, used to group labels on the resources. -message LabelSelector { - // Resource labels for this selector. - map labels = 1; -} - -// The realm selector, used to match realm resources. -message RealmSelector { - // List of realms to match. - repeated string realms = 1; -} - -// The schedule of a recurring or one time event. The event's time span is -// specified by start_time and end_time. If the scheduled event's timespan is -// larger than the cron_spec + cron_job_duration, the event will be recurring. -// If only cron_spec + cron_job_duration are specified, the event is effective -// starting at the local time specified by cron_spec, and is recurring. -// -// ``` -// start_time|-------[cron job]-------[cron job]-------[cron job]---|end_time -// cron job: cron spec start time + duration -// ``` -message Schedule { - // The start time of the event. - google.protobuf.Timestamp start_time = 1; - - // The end time of the event. - google.protobuf.Timestamp end_time = 2; - - // The duration for the cron job event. The duration of the event is effective - // after the cron job's start time. - google.protobuf.Duration cron_job_duration = 3; - - // The cron definition of the scheduled event. See - // https://en.wikipedia.org/wiki/Cron. Cron spec specifies the local time as - // defined by the realm. - string cron_spec = 4; -} - -// Encapsulates Agones fleet spec and Agones autoscaler spec sources. -message SpecSource { - // The game server config resource. Uses the form: - // - // `projects/{project}/locations/{location}/gameServerDeployments/{deployment_id}/configs/{config_id}`. - string game_server_config_name = 1; - - // The name of the Agones leet config or Agones scaling config used to derive - // the Agones fleet or Agones autoscaler spec. - string name = 2; -} - -// Details about the Agones resources. -message TargetDetails { - // Details of the target Agones fleet. - message TargetFleetDetails { - // Target Agones fleet specification. - message TargetFleet { - // The name of the Agones fleet. - string name = 1; - - // Encapsulates the source of the Agones fleet spec. - // The Agones fleet spec source. - SpecSource spec_source = 2; - } - - // Target Agones autoscaler policy reference. - message TargetFleetAutoscaler { - // The name of the Agones autoscaler. - string name = 1; - - // Encapsulates the source of the Agones fleet spec. - // Details about the Agones autoscaler spec. - SpecSource spec_source = 2; - } - - // Reference to target Agones fleet. - TargetFleet fleet = 1; - - // Reference to target Agones fleet autoscaling policy. - TargetFleetAutoscaler autoscaler = 2; - } - - // The game server cluster name. Uses the form: - // - // `projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}`. - string game_server_cluster_name = 1; - - // The game server deployment name. Uses the form: - // - // `projects/{project}/locations/{location}/gameServerDeployments/{deployment_id}`. - string game_server_deployment_name = 2; - - // Agones fleet details for game server clusters and game server deployments. - repeated TargetFleetDetails fleet_details = 3; -} - -// Encapsulates the Target state. -message TargetState { - // Details about Agones fleets. - repeated TargetDetails details = 1; -} - -// Details of the deployed Agones fleet. -message DeployedFleetDetails { - // Agones fleet specification and details. - message DeployedFleet { - // DeployedFleetStatus has details about the Agones fleets such as how many - // are running, how many allocated, and so on. - message DeployedFleetStatus { - // The number of GameServer replicas in the READY state in this fleet. - int64 ready_replicas = 1; - - // The number of GameServer replicas in the ALLOCATED state in this fleet. - int64 allocated_replicas = 2; - - // The number of GameServer replicas in the RESERVED state in this fleet. - // Reserved instances won't be deleted on scale down, but won't cause - // an autoscaler to scale up. - int64 reserved_replicas = 3; - - // The total number of current GameServer replicas in this fleet. - int64 replicas = 4; - } - - // The name of the Agones fleet. - string fleet = 1; - - // The fleet spec retrieved from the Agones fleet. - string fleet_spec = 2; - - // The source spec that is used to create the Agones fleet. - // The GameServerConfig resource may no longer exist in the system. - SpecSource spec_source = 3; - - // The current status of the Agones fleet. - // Includes count of game servers in various states. - DeployedFleetStatus status = 5; - } - - // Details about the Agones autoscaler. - message DeployedFleetAutoscaler { - // The name of the Agones autoscaler. - string autoscaler = 1; - - // The source spec that is used to create the autoscaler. - // The GameServerConfig resource may no longer exist in the system. - SpecSource spec_source = 4; - - // The autoscaler spec retrieved from Agones. - string fleet_autoscaler_spec = 3; - } - - // Information about the Agones fleet. - DeployedFleet deployed_fleet = 1; - - // Information about the Agones autoscaler for that fleet. - DeployedFleetAutoscaler deployed_autoscaler = 2; -} diff --git a/third_party/googleapis/google/cloud/gaming/v1beta/game_server_clusters.proto b/third_party/googleapis/google/cloud/gaming/v1beta/game_server_clusters.proto deleted file mode 100644 index c65b1dd47..000000000 --- a/third_party/googleapis/google/cloud/gaming/v1beta/game_server_clusters.proto +++ /dev/null @@ -1,287 +0,0 @@ -// Copyright 2020 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.cloud.gaming.v1beta; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/cloud/gaming/v1beta/common.proto"; -import "google/protobuf/field_mask.proto"; -import "google/protobuf/timestamp.proto"; - -option go_package = "cloud.google.com/go/gaming/apiv1beta/gamingpb;gamingpb"; - -option java_multiple_files = true; -option java_package = "com.google.cloud.gaming.v1beta"; -option php_namespace = "Google\\Cloud\\Gaming\\V1beta"; - -// Request message for GameServerClustersService.ListGameServerClusters. -message ListGameServerClustersRequest { - // Required. The parent resource name. Uses the form: - // "projects/{project}/locations/{location}/realms/{realm}". - string parent = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - child_type: "gameservices.googleapis.com/GameServerCluster" - } - ]; - - // Optional. The maximum number of items to return. If unspecified, the - // server will pick an appropriate default. The server may return fewer items - // than requested. A caller should only rely on response's - // [next_page_token][google.cloud.gaming.v1beta.ListGameServerClustersResponse.next_page_token] - // to determine if there are more GameServerClusters left to be queried. - int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The next_page_token value returned from a previous List request, - // if any. - string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The filter to apply to list results. - string filter = 4 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. Specifies the ordering of results following syntax at - // https://cloud.google.com/apis/design/design_patterns#sorting_order. - string order_by = 5 [(google.api.field_behavior) = OPTIONAL]; -} - -// Response message for GameServerClustersService.ListGameServerClusters. -message ListGameServerClustersResponse { - // The list of game server clusters. - repeated GameServerCluster game_server_clusters = 1; - - // Token to retrieve the next page of results, or empty if there are no more - // results in the list. - string next_page_token = 2; - - // List of locations that could not be reached. - repeated string unreachable = 4; -} - -// Request message for GameServerClustersService.GetGameServerCluster. -message GetGameServerClusterRequest { - // Required. The name of the game server cluster to retrieve. Uses the form: - // - // `projects/{project}/locations/{location}/realms/{realm-id}/gameServerClusters/{cluster}`. - string name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "gameservices.googleapis.com/GameServerCluster" - } - ]; -} - -// Request message for GameServerClustersService.CreateGameServerCluster. -message CreateGameServerClusterRequest { - // Required. The parent resource name. Uses the form: - // `projects/{project}/locations/{location}/realms/{realm-id}`. - string parent = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - child_type: "gameservices.googleapis.com/GameServerCluster" - } - ]; - - // Required. The ID of the game server cluster resource to be created. - string game_server_cluster_id = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. The game server cluster resource to be created. - GameServerCluster game_server_cluster = 3 - [(google.api.field_behavior) = REQUIRED]; -} - -// Request message for GameServerClustersService.PreviewCreateGameServerCluster. -message PreviewCreateGameServerClusterRequest { - // Required. The parent resource name. Uses the form: - // `projects/{project}/locations/{location}/realms/{realm}`. - string parent = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - child_type: "gameservices.googleapis.com/GameServerCluster" - } - ]; - - // Required. The ID of the game server cluster resource to be created. - string game_server_cluster_id = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. The game server cluster resource to be created. - GameServerCluster game_server_cluster = 3 - [(google.api.field_behavior) = REQUIRED]; - - // Optional. The target timestamp to compute the preview. - google.protobuf.Timestamp preview_time = 4 - [(google.api.field_behavior) = OPTIONAL]; -} - -// Response message for -// GameServerClustersService.PreviewCreateGameServerCluster. -message PreviewCreateGameServerClusterResponse { - // The ETag of the game server cluster. - string etag = 2; - - // The target state. - TargetState target_state = 3; -} - -// Request message for GameServerClustersService.DeleteGameServerCluster. -message DeleteGameServerClusterRequest { - // Required. The name of the game server cluster to delete. Uses the form: - // `projects/{project}/locations/{location}/gameServerClusters/{cluster}`. - string name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "gameservices.googleapis.com/GameServerCluster" - } - ]; -} - -// Request message for GameServerClustersService.PreviewDeleteGameServerCluster. -message PreviewDeleteGameServerClusterRequest { - // Required. The name of the game server cluster to delete. Uses the form: - // `projects/{project}/locations/{location}/gameServerClusters/{cluster}`. - string name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "gameservices.googleapis.com/GameServerCluster" - } - ]; - - // Optional. The target timestamp to compute the preview. - google.protobuf.Timestamp preview_time = 2 - [(google.api.field_behavior) = OPTIONAL]; -} - -// Response message for -// GameServerClustersService.PreviewDeleteGameServerCluster. -message PreviewDeleteGameServerClusterResponse { - // The ETag of the game server cluster. - string etag = 2; - - // The target state. - TargetState target_state = 3; -} - -// Request message for GameServerClustersService.UpdateGameServerCluster. -message UpdateGameServerClusterRequest { - // Required. The game server cluster to be updated. - // Only fields specified in update_mask are updated. - GameServerCluster game_server_cluster = 1 - [(google.api.field_behavior) = REQUIRED]; - - // Required. Mask of fields to update. At least one path must be supplied in - // this field. For the `FieldMask` definition, see - // - // https: - // //developers.google.com/protocol-buffers - // // /docs/reference/google.protobuf#fieldmask - google.protobuf.FieldMask update_mask = 2 - [(google.api.field_behavior) = REQUIRED]; -} - -// Request message for GameServerClustersService.UpdateGameServerCluster. -message PreviewUpdateGameServerClusterRequest { - // Required. The game server cluster to be updated. - // Only fields specified in update_mask are updated. - GameServerCluster game_server_cluster = 1 - [(google.api.field_behavior) = REQUIRED]; - - // Required. Mask of fields to update. At least one path must be supplied in - // this field. For the `FieldMask` definition, see - // - // https: - // //developers.google.com/protocol-buffers - // // /docs/reference/google.protobuf#fieldmask - google.protobuf.FieldMask update_mask = 2 - [(google.api.field_behavior) = REQUIRED]; - - // Optional. The target timestamp to compute the preview. - google.protobuf.Timestamp preview_time = 3 - [(google.api.field_behavior) = OPTIONAL]; -} - -// Response message for GameServerClustersService.PreviewUpdateGameServerCluster -message PreviewUpdateGameServerClusterResponse { - // The ETag of the game server cluster. - string etag = 2; - - // The target state. - TargetState target_state = 3; -} - -// The game server cluster connection information. -message GameServerClusterConnectionInfo { - // The location of the Kubernetes cluster. - oneof cluster_reference { - // Reference to the GKE cluster where the game servers are installed. - GkeClusterReference gke_cluster_reference = 7; - } - - // Namespace designated on the game server cluster where the Agones game - // server instances will be created. Existence of the namespace will be - // validated during creation. - string namespace = 5; -} - -// A reference to a GKE cluster. -message GkeClusterReference { - // The full or partial name of a GKE cluster, using one of the following - // forms: - // * `projects/{project}/locations/{location}/clusters/{cluster}` - // * `locations/{location}/clusters/{cluster}` - // * `{cluster}` - // If project and location are not specified, the project and location of the - // GameServerCluster resource are used to generate the full name of the - // GKE cluster. - string cluster = 1; -} - -// A game server cluster resource. -message GameServerCluster { - option (google.api.resource) = { - type: "gameservices.googleapis.com/GameServerCluster" - pattern: "projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}" - }; - - // Required. The resource name of the game server cluster. Uses the form: - // - // `projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}`. - // For example, - // - // `projects/my-project/locations/{location}/realms/zanzibar/gameServerClusters/my-onprem-cluster`. - string name = 1 [(google.api.field_behavior) = REQUIRED]; - - // Output only. The creation time. - google.protobuf.Timestamp create_time = 2 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The last-modified time. - google.protobuf.Timestamp update_time = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The labels associated with this game server cluster. Each label is a - // key-value pair. - map labels = 4; - - // The game server cluster connection information. This information is used to - // manage game server clusters. - GameServerClusterConnectionInfo connection_info = 5; - - // ETag of the resource. - string etag = 6; - - // Human readable description of the cluster. - string description = 7; -} diff --git a/third_party/googleapis/google/cloud/gaming/v1beta/game_server_clusters_service.proto b/third_party/googleapis/google/cloud/gaming/v1beta/game_server_clusters_service.proto deleted file mode 100644 index 1ad7d7678..000000000 --- a/third_party/googleapis/google/cloud/gaming/v1beta/game_server_clusters_service.proto +++ /dev/null @@ -1,123 +0,0 @@ -// Copyright 2020 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.cloud.gaming.v1beta; - -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/cloud/gaming/v1beta/game_server_clusters.proto"; -import "google/longrunning/operations.proto"; - -option go_package = "cloud.google.com/go/gaming/apiv1beta/gamingpb;gamingpb"; - -option java_multiple_files = true; -option java_package = "com.google.cloud.gaming.v1beta"; -option php_namespace = "Google\\Cloud\\Gaming\\V1beta"; - -// The game server cluster maps to Kubernetes clusters running Agones and is -// used to manage fleets within clusters. -service GameServerClustersService { - option (google.api.default_host) = "gameservices.googleapis.com"; - option (google.api.oauth_scopes) = - "https://www.googleapis.com/auth/cloud-platform"; - - // Lists game server clusters in a given project and location. - rpc ListGameServerClusters(ListGameServerClustersRequest) - returns (ListGameServerClustersResponse) { - option (google.api.http) = { - get: "/v1beta/{parent=projects/*/locations/*/realms/*}/gameServerClusters" - }; - option (google.api.method_signature) = "parent"; - } - - // Gets details of a single game server cluster. - rpc GetGameServerCluster(GetGameServerClusterRequest) - returns (GameServerCluster) { - option (google.api.http) = { - get: "/v1beta/{name=projects/*/locations/*/realms/*/gameServerClusters/*}" - }; - option (google.api.method_signature) = "name"; - } - - // Creates a new game server cluster in a given project and location. - rpc CreateGameServerCluster(CreateGameServerClusterRequest) - returns (google.longrunning.Operation) { - option (google.api.http) = { - post: "/v1beta/{parent=projects/*/locations/*/realms/*}/gameServerClusters" - body: "game_server_cluster" - }; - option (google.api.method_signature) = - "parent,game_server_cluster,game_server_cluster_id"; - option (google.longrunning.operation_info) = { - response_type: "GameServerCluster" - metadata_type: "OperationMetadata" - }; - } - - // Previews creation of a new game server cluster in a given project and - // location. - rpc PreviewCreateGameServerCluster(PreviewCreateGameServerClusterRequest) - returns (PreviewCreateGameServerClusterResponse) { - option (google.api.http) = { - post: "/v1beta/{parent=projects/*/locations/*/realms/*}/gameServerClusters:previewCreate" - body: "game_server_cluster" - }; - } - - // Deletes a single game server cluster. - rpc DeleteGameServerCluster(DeleteGameServerClusterRequest) - returns (google.longrunning.Operation) { - option (google.api.http) = { - delete: "/v1beta/{name=projects/*/locations/*/realms/*/gameServerClusters/*}" - }; - option (google.api.method_signature) = "name"; - option (google.longrunning.operation_info) = { - response_type: "google.protobuf.Empty" - metadata_type: "OperationMetadata" - }; - } - - // Previews deletion of a single game server cluster. - rpc PreviewDeleteGameServerCluster(PreviewDeleteGameServerClusterRequest) - returns (PreviewDeleteGameServerClusterResponse) { - option (google.api.http) = { - delete: "/v1beta/{name=projects/*/locations/*/realms/*/gameServerClusters/*}:previewDelete" - }; - } - - // Patches a single game server cluster. - rpc UpdateGameServerCluster(UpdateGameServerClusterRequest) - returns (google.longrunning.Operation) { - option (google.api.http) = { - patch: "/v1beta/{game_server_cluster.name=projects/*/locations/*/realms/*/gameServerClusters/*}" - body: "game_server_cluster" - }; - option (google.api.method_signature) = "game_server_cluster,update_mask"; - option (google.longrunning.operation_info) = { - response_type: "GameServerCluster" - metadata_type: "OperationMetadata" - }; - } - - // Previews updating a GameServerCluster. - rpc PreviewUpdateGameServerCluster(PreviewUpdateGameServerClusterRequest) - returns (PreviewUpdateGameServerClusterResponse) { - option (google.api.http) = { - patch: "/v1beta/{game_server_cluster.name=projects/*/locations/*/realms/*/gameServerClusters/*}:previewUpdate" - body: "game_server_cluster" - }; - } -} diff --git a/third_party/googleapis/google/cloud/gaming/v1beta/game_server_configs.proto b/third_party/googleapis/google/cloud/gaming/v1beta/game_server_configs.proto deleted file mode 100644 index 4a87e0f95..000000000 --- a/third_party/googleapis/google/cloud/gaming/v1beta/game_server_configs.proto +++ /dev/null @@ -1,184 +0,0 @@ -// Copyright 2020 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.cloud.gaming.v1beta; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/cloud/gaming/v1beta/common.proto"; -import "google/protobuf/timestamp.proto"; - -option go_package = "cloud.google.com/go/gaming/apiv1beta/gamingpb;gamingpb"; - -option java_multiple_files = true; -option java_package = "com.google.cloud.gaming.v1beta"; -option php_namespace = "Google\\Cloud\\Gaming\\V1beta"; - -// Request message for GameServerConfigsService.ListGameServerConfigs. -message ListGameServerConfigsRequest { - // Required. The parent resource name. Uses the form: - // - // `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/*`. - string parent = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - child_type: "gameservices.googleapis.com/GameServerConfig" - } - ]; - - // Optional. The maximum number of items to return. If unspecified, server - // will pick an appropriate default. Server may return fewer items than - // requested. A caller should only rely on response's - // [next_page_token][google.cloud.gaming.v1beta.ListGameServerConfigsResponse.next_page_token] - // to determine if there are more GameServerConfigs left to be queried. - int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The next_page_token value returned from a previous list request, - // if any. - string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The filter to apply to list results. - string filter = 4 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. Specifies the ordering of results following syntax at - // https://cloud.google.com/apis/design/design_patterns#sorting_order. - string order_by = 5 [(google.api.field_behavior) = OPTIONAL]; -} - -// Response message for GameServerConfigsService.ListGameServerConfigs. -message ListGameServerConfigsResponse { - // The list of game server configs. - repeated GameServerConfig game_server_configs = 1; - - // Token to retrieve the next page of results, or empty if there are no more - // results in the list. - string next_page_token = 2; - - // List of locations that could not be reached. - repeated string unreachable = 4; -} - -// Request message for GameServerConfigsService.GetGameServerConfig. -message GetGameServerConfigRequest { - // Required. The name of the game server config to retrieve. Uses the form: - // - // `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/{config}`. - string name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "gameservices.googleapis.com/GameServerConfig" - } - ]; -} - -// Request message for GameServerConfigsService.CreateGameServerConfig. -message CreateGameServerConfigRequest { - // Required. The parent resource name. Uses the form: - // - // `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/`. - string parent = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - child_type: "gameservices.googleapis.com/GameServerConfig" - } - ]; - - // Required. The ID of the game server config resource to be created. - string config_id = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. The game server config resource to be created. - GameServerConfig game_server_config = 3 - [(google.api.field_behavior) = REQUIRED]; -} - -// Request message for GameServerConfigsService.DeleteGameServerConfig. -message DeleteGameServerConfigRequest { - // Required. The name of the game server config to delete. Uses the form: - // - // `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/{config}`. - string name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "gameservices.googleapis.com/GameServerConfig" - } - ]; -} - -// Autoscaling config for an Agones fleet. -message ScalingConfig { - // Required. The name of the Scaling Config - string name = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. Agones fleet autoscaler spec. Example spec: - // https://agones.dev/site/docs/reference/fleetautoscaler/ - string fleet_autoscaler_spec = 2 [(google.api.field_behavior) = REQUIRED]; - - // Labels used to identify the game server clusters to which this Agones - // scaling config applies. A game server cluster is subject to this Agones - // scaling config if its labels match any of the selector entries. - repeated LabelSelector selectors = 4; - - // The schedules to which this Scaling Config applies. - repeated Schedule schedules = 5; -} - -// Fleet configs for Agones. -message FleetConfig { - // Agones fleet spec. Example spec: - // `https://agones.dev/site/docs/reference/fleet/`. - string fleet_spec = 1; - - // The name of the FleetConfig. - string name = 2; -} - -// A game server config resource. -message GameServerConfig { - option (google.api.resource) = { - type: "gameservices.googleapis.com/GameServerConfig" - pattern: "projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/{config}" - }; - - // The resource name of the game server config. Uses the form: - // - // `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/{config}`. - // For example, - // - // `projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-config`. - string name = 1; - - // Output only. The creation time. - google.protobuf.Timestamp create_time = 2 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The last-modified time. - google.protobuf.Timestamp update_time = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The labels associated with this game server config. Each label is a - // key-value pair. - map labels = 4; - - // FleetConfig contains a list of Agones fleet specs. Only one FleetConfig - // is allowed. - repeated FleetConfig fleet_configs = 5; - - // The autoscaling settings. - repeated ScalingConfig scaling_configs = 6; - - // The description of the game server config. - string description = 7; -} diff --git a/third_party/googleapis/google/cloud/gaming/v1beta/game_server_configs_service.proto b/third_party/googleapis/google/cloud/gaming/v1beta/game_server_configs_service.proto deleted file mode 100644 index ba82bc109..000000000 --- a/third_party/googleapis/google/cloud/gaming/v1beta/game_server_configs_service.proto +++ /dev/null @@ -1,84 +0,0 @@ -// Copyright 2020 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.cloud.gaming.v1beta; - -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/cloud/gaming/v1beta/game_server_configs.proto"; -import "google/longrunning/operations.proto"; - -option go_package = "cloud.google.com/go/gaming/apiv1beta/gamingpb;gamingpb"; - -option java_multiple_files = true; -option java_package = "com.google.cloud.gaming.v1beta"; -option php_namespace = "Google\\Cloud\\Gaming\\V1beta"; - -// The game server config configures the game servers in an Agones fleet. -service GameServerConfigsService { - option (google.api.default_host) = "gameservices.googleapis.com"; - option (google.api.oauth_scopes) = - "https://www.googleapis.com/auth/cloud-platform"; - - // Lists game server configs in a given project, location, and game server - // deployment. - rpc ListGameServerConfigs(ListGameServerConfigsRequest) - returns (ListGameServerConfigsResponse) { - option (google.api.http) = { - get: "/v1beta/{parent=projects/*/locations/*/gameServerDeployments/*}/configs" - }; - option (google.api.method_signature) = "parent"; - } - - // Gets details of a single game server config. - rpc GetGameServerConfig(GetGameServerConfigRequest) - returns (GameServerConfig) { - option (google.api.http) = { - get: "/v1beta/{name=projects/*/locations/*/gameServerDeployments/*/configs/*}" - }; - option (google.api.method_signature) = "name"; - } - - // Creates a new game server config in a given project, location, and game - // server deployment. Game server configs are immutable, and are not applied - // until referenced in the game server deployment rollout resource. - rpc CreateGameServerConfig(CreateGameServerConfigRequest) - returns (google.longrunning.Operation) { - option (google.api.http) = { - post: "/v1beta/{parent=projects/*/locations/*/gameServerDeployments/*}/configs" - body: "game_server_config" - }; - option (google.api.method_signature) = "parent,game_server_config"; - option (google.longrunning.operation_info) = { - response_type: "GameServerConfig" - metadata_type: "OperationMetadata" - }; - } - - // Deletes a single game server config. The deletion will fail if the game - // server config is referenced in a game server deployment rollout. - rpc DeleteGameServerConfig(DeleteGameServerConfigRequest) - returns (google.longrunning.Operation) { - option (google.api.http) = { - delete: "/v1beta/{name=projects/*/locations/*/gameServerDeployments/*/configs/*}" - }; - option (google.api.method_signature) = "name"; - option (google.longrunning.operation_info) = { - response_type: "google.protobuf.Empty" - metadata_type: "OperationMetadata" - }; - } -} diff --git a/third_party/googleapis/google/cloud/gaming/v1beta/game_server_deployments.proto b/third_party/googleapis/google/cloud/gaming/v1beta/game_server_deployments.proto deleted file mode 100644 index 73691a2ca..000000000 --- a/third_party/googleapis/google/cloud/gaming/v1beta/game_server_deployments.proto +++ /dev/null @@ -1,319 +0,0 @@ -// Copyright 2020 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.cloud.gaming.v1beta; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/cloud/gaming/v1beta/common.proto"; -import "google/protobuf/field_mask.proto"; -import "google/protobuf/timestamp.proto"; - -option go_package = "cloud.google.com/go/gaming/apiv1beta/gamingpb;gamingpb"; - -option java_multiple_files = true; -option java_package = "com.google.cloud.gaming.v1beta"; -option php_namespace = "Google\\Cloud\\Gaming\\V1beta"; - -// Request message for GameServerDeploymentsService.ListGameServerDeployments. -message ListGameServerDeploymentsRequest { - // Required. The parent resource name. Uses the form: - // `projects/{project}/locations/{location}`. - string parent = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - child_type: "gameservices.googleapis.com/GameServerDeployment" - } - ]; - - // Optional. The maximum number of items to return. If unspecified, the - // server will pick an appropriate default. The server may return fewer items - // than requested. A caller should only rely on response's - // [next_page_token][google.cloud.gaming.v1beta.ListGameServerDeploymentsResponse.next_page_token] - // to determine if there are more GameServerDeployments left to be queried. - int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The next_page_token value returned from a previous List request, - // if any. - string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The filter to apply to list results. - string filter = 4 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. Specifies the ordering of results following syntax at - // https://cloud.google.com/apis/design/design_patterns#sorting_order. - string order_by = 5 [(google.api.field_behavior) = OPTIONAL]; -} - -// Response message for GameServerDeploymentsService.ListGameServerDeployments. -message ListGameServerDeploymentsResponse { - // The list of game server deployments. - repeated GameServerDeployment game_server_deployments = 1; - - // Token to retrieve the next page of results, or empty if there are no more - // results in the list. - string next_page_token = 2; - - // List of locations that could not be reached. - repeated string unreachable = 4; -} - -// Request message for GameServerDeploymentsService.GetGameServerDeployment. -message GetGameServerDeploymentRequest { - // Required. The name of the game server delpoyment to retrieve. Uses the - // form: - // - // `projects/{project}/locations/{location}/gameServerDeployments/{deployment}`. - string name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "gameservices.googleapis.com/GameServerDeployment" - } - ]; -} - -// Request message for -// GameServerDeploymentsService.GetGameServerDeploymentRollout. -message GetGameServerDeploymentRolloutRequest { - // Required. The name of the game server delpoyment to retrieve. Uses the - // form: - // - // `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/rollout`. - string name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "gameservices.googleapis.com/GameServerDeployment" - } - ]; -} - -// Request message for GameServerDeploymentsService.CreateGameServerDeployment. -message CreateGameServerDeploymentRequest { - // Required. The parent resource name. Uses the form: - // `projects/{project}/locations/{location}`. - string parent = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - child_type: "gameservices.googleapis.com/GameServerDeployment" - } - ]; - - // Required. The ID of the game server delpoyment resource to be created. - string deployment_id = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. The game server delpoyment resource to be created. - GameServerDeployment game_server_deployment = 3 - [(google.api.field_behavior) = REQUIRED]; -} - -// Request message for GameServerDeploymentsService.DeleteGameServerDeployment. -message DeleteGameServerDeploymentRequest { - // Required. The name of the game server delpoyment to delete. Uses the form: - // - // `projects/{project}/locations/{location}/gameServerDeployments/{deployment}`. - string name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "gameservices.googleapis.com/GameServerDeployment" - } - ]; -} - -// Request message for GameServerDeploymentsService.UpdateGameServerDeployment. -// Only allows updates for labels. -message UpdateGameServerDeploymentRequest { - // Required. The game server delpoyment to be updated. - // Only fields specified in update_mask are updated. - GameServerDeployment game_server_deployment = 1 - [(google.api.field_behavior) = REQUIRED]; - - // Required. Mask of fields to update. At least one path must be supplied in - // this field. For the `FieldMask` definition, see - // - // https: - // //developers.google.com/protocol-buffers - // // /docs/reference/google.protobuf#fieldmask - google.protobuf.FieldMask update_mask = 2 - [(google.api.field_behavior) = REQUIRED]; -} - -// Request message for -// GameServerDeploymentsService.UpdateGameServerRolloutDeployment. -message UpdateGameServerDeploymentRolloutRequest { - // Required. The game server delpoyment rollout to be updated. - // Only fields specified in update_mask are updated. - GameServerDeploymentRollout rollout = 1 - [(google.api.field_behavior) = REQUIRED]; - - // Required. Mask of fields to update. At least one path must be supplied in - // this field. For the `FieldMask` definition, see - // - // https: - // //developers.google.com/protocol-buffers - // // /docs/reference/google.protobuf#fieldmask - google.protobuf.FieldMask update_mask = 2 - [(google.api.field_behavior) = REQUIRED]; -} - -// Request message for GameServerDeploymentsService.FetchDeploymentState. -message FetchDeploymentStateRequest { - // Required. The name of the game server delpoyment. Uses the form: - // - // `projects/{project}/locations/{location}/gameServerDeployments/{deployment}`. - string name = 1 [(google.api.field_behavior) = REQUIRED]; -} - -// Response message for GameServerDeploymentsService.FetchDeploymentState. -message FetchDeploymentStateResponse { - // The game server cluster changes made by the game server deployment. - message DeployedClusterState { - // The name of the cluster. - string cluster = 1; - - // The details about the Agones fleets and autoscalers created in the - // game server cluster. - repeated DeployedFleetDetails fleet_details = 2; - } - - // The state of the game server deployment in each game server cluster. - repeated DeployedClusterState cluster_state = 1; - - // List of locations that could not be reached. - repeated string unavailable = 2; -} - -// A game server deployment resource. -message GameServerDeployment { - option (google.api.resource) = { - type: "gameservices.googleapis.com/GameServerDeployment" - pattern: "projects/{project}/locations/{location}/gameServerDeployments/{deployment}" - }; - - // The resource name of the game server deployment. Uses the form: - // - // `projects/{project}/locations/{location}/gameServerDeployments/{deployment}`. - // For example, - // - // `projects/my-project/locations/{location}/gameServerDeployments/my-deployment`. - string name = 1; - - // Output only. The creation time. - google.protobuf.Timestamp create_time = 2 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The last-modified time. - google.protobuf.Timestamp update_time = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The labels associated with this game server deployment. Each label is a - // key-value pair. - map labels = 4; - - // ETag of the resource. - string etag = 7; - - // Human readable description of the game server delpoyment. - string description = 8; -} - -// A game server config override. -message GameServerConfigOverride { - // Selector chooses the game server config targets. - oneof selector { - // Selector for choosing applicable realms. - RealmSelector realms_selector = 1; - } - - // Selects the game server config and how it should be applied. - oneof change { - // The game server config for this override. - string config_version = 100; - } -} - -// The game server deployment rollout which represents the desired rollout -// state. -message GameServerDeploymentRollout { - option (google.api.resource) = { - type: "gameservices.googleapis.com/GameServerDeploymentRollout" - pattern: "projects/{project}/locations/{location}/gameServerDeployments/{deployment}/rollout" - }; - - // The resource name of the game server deployment rollout. Uses the form: - // - // `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/rollout`. - // For example, - // - // `projects/my-project/locations/{location}/gameServerDeployments/my-deployment/rollout`. - string name = 1; - - // Output only. The creation time. - google.protobuf.Timestamp create_time = 2 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The last-modified time. - google.protobuf.Timestamp update_time = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The default game server config is applied to all realms unless overridden - // in the rollout. For example, - // - // `projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-config`. - string default_game_server_config = 4; - - // Contains the game server config rollout overrides. Overrides are processed - // in the order they are listed. Once a match is found for a realm, the rest - // of the list is not processed. - repeated GameServerConfigOverride game_server_config_overrides = 5; - - // ETag of the resource. - string etag = 6; -} - -// Request message for PreviewGameServerDeploymentRollout. -message PreviewGameServerDeploymentRolloutRequest { - // Required. The game server deployment rollout to be updated. - // Only fields specified in update_mask are updated. - GameServerDeploymentRollout rollout = 1 - [(google.api.field_behavior) = REQUIRED]; - - // Optional. Mask of fields to update. At least one path must be supplied in - // this field. For the `FieldMask` definition, see - // - // https: - // //developers.google.com/protocol-buffers - // // /docs/reference/google.protobuf#fieldmask - google.protobuf.FieldMask update_mask = 2 - [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The target timestamp to compute the preview. Defaults to the - // immediately after the proposed rollout completes. - google.protobuf.Timestamp preview_time = 3 - [(google.api.field_behavior) = OPTIONAL]; -} - -// Response message for PreviewGameServerDeploymentRollout. -// This has details about the Agones fleet and autoscaler to be actuated. -message PreviewGameServerDeploymentRolloutResponse { - // Locations that could not be reached on this request. - repeated string unavailable = 2; - - // ETag of the game server deployment. - string etag = 3; - - // The target state. - TargetState target_state = 4; -} diff --git a/third_party/googleapis/google/cloud/gaming/v1beta/game_server_deployments_service.proto b/third_party/googleapis/google/cloud/gaming/v1beta/game_server_deployments_service.proto deleted file mode 100644 index 8260f0487..000000000 --- a/third_party/googleapis/google/cloud/gaming/v1beta/game_server_deployments_service.proto +++ /dev/null @@ -1,146 +0,0 @@ -// Copyright 2020 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.cloud.gaming.v1beta; - -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/cloud/gaming/v1beta/game_server_deployments.proto"; -import "google/longrunning/operations.proto"; - -option go_package = "cloud.google.com/go/gaming/apiv1beta/gamingpb;gamingpb"; - -option java_multiple_files = true; -option java_package = "com.google.cloud.gaming.v1beta"; -option php_namespace = "Google\\Cloud\\Gaming\\V1beta"; - -// The game server deployment is used to control the deployment of Agones -// fleets. -service GameServerDeploymentsService { - option (google.api.default_host) = "gameservices.googleapis.com"; - option (google.api.oauth_scopes) = - "https://www.googleapis.com/auth/cloud-platform"; - - // Lists game server deployments in a given project and location. - rpc ListGameServerDeployments(ListGameServerDeploymentsRequest) - returns (ListGameServerDeploymentsResponse) { - option (google.api.http) = { - get: "/v1beta/{parent=projects/*/locations/*}/gameServerDeployments" - }; - option (google.api.method_signature) = "parent"; - } - - // Gets details of a single game server deployment. - rpc GetGameServerDeployment(GetGameServerDeploymentRequest) - returns (GameServerDeployment) { - option (google.api.http) = { - get: "/v1beta/{name=projects/*/locations/*/gameServerDeployments/*}" - }; - option (google.api.method_signature) = "name"; - } - - // Creates a new game server deployment in a given project and location. - rpc CreateGameServerDeployment(CreateGameServerDeploymentRequest) - returns (google.longrunning.Operation) { - option (google.api.http) = { - post: "/v1beta/{parent=projects/*/locations/*}/gameServerDeployments" - body: "game_server_deployment" - }; - option (google.api.method_signature) = "parent,game_server_deployment"; - option (google.longrunning.operation_info) = { - response_type: "GameServerDeployment" - metadata_type: "OperationMetadata" - }; - } - - // Deletes a single game server deployment. - rpc DeleteGameServerDeployment(DeleteGameServerDeploymentRequest) - returns (google.longrunning.Operation) { - option (google.api.http) = { - delete: "/v1beta/{name=projects/*/locations/*/gameServerDeployments/*}" - }; - option (google.api.method_signature) = "name"; - option (google.longrunning.operation_info) = { - response_type: "google.protobuf.Empty" - metadata_type: "OperationMetadata" - }; - } - - // Patches a game server deployment. - rpc UpdateGameServerDeployment(UpdateGameServerDeploymentRequest) - returns (google.longrunning.Operation) { - option (google.api.http) = { - patch: "/v1beta/{game_server_deployment.name=projects/*/locations/*/gameServerDeployments/*}" - body: "game_server_deployment" - }; - option (google.api.method_signature) = "game_server_deployment,update_mask"; - option (google.longrunning.operation_info) = { - response_type: "GameServerDeployment" - metadata_type: "OperationMetadata" - }; - } - - // Gets details a single game server deployment rollout. - rpc GetGameServerDeploymentRollout(GetGameServerDeploymentRolloutRequest) - returns (GameServerDeploymentRollout) { - option (google.api.http) = { - get: "/v1beta/{name=projects/*/locations/*/gameServerDeployments/*}/rollout" - }; - option (google.api.method_signature) = "name"; - } - - // Patches a single game server deployment rollout. - // The method will not return an error if the update does not affect any - // existing realms. For example - if the default_game_server_config is changed - // but all existing realms use the override, that is valid. Similarly, if a - // non existing realm is explicitly called out in game_server_config_overrides - // field, that will also not result in an error. - rpc UpdateGameServerDeploymentRollout( - UpdateGameServerDeploymentRolloutRequest) - returns (google.longrunning.Operation) { - option (google.api.http) = { - patch: "/v1beta/{rollout.name=projects/*/locations/*/gameServerDeployments/*}/rollout" - body: "rollout" - }; - option (google.api.method_signature) = "rollout,update_mask"; - option (google.longrunning.operation_info) = { - response_type: "GameServerDeployment" - metadata_type: "OperationMetadata" - }; - } - - // Previews the game server deployment rollout. This API does not mutate the - // rollout resource. - rpc PreviewGameServerDeploymentRollout( - PreviewGameServerDeploymentRolloutRequest) - returns (PreviewGameServerDeploymentRolloutResponse) { - option (google.api.http) = { - patch: "/v1beta/{rollout.name=projects/*/locations/*/gameServerDeployments/*}/rollout:preview" - body: "rollout" - }; - } - - // Retrieves information about the current state of the game server - // deployment. Gathers all the Agones fleets and Agones autoscalers, - // including fleets running an older version of the game server deployment. - rpc FetchDeploymentState(FetchDeploymentStateRequest) - returns (FetchDeploymentStateResponse) { - option (google.api.http) = { - post: "/v1beta/{name=projects/*/locations/*/gameServerDeployments/*}:fetchDeploymentState" - body: "*" - }; - } -} diff --git a/third_party/googleapis/google/cloud/gaming/v1beta/gameservices_v1beta.yaml b/third_party/googleapis/google/cloud/gaming/v1beta/gameservices_v1beta.yaml deleted file mode 100644 index 155d9fc0a..000000000 --- a/third_party/googleapis/google/cloud/gaming/v1beta/gameservices_v1beta.yaml +++ /dev/null @@ -1,99 +0,0 @@ -type: google.api.Service -config_version: 3 -name: gameservices.googleapis.com -title: Game Services API - -apis: -- name: google.cloud.gaming.v1beta.GameServerClustersService -- name: google.cloud.gaming.v1beta.GameServerConfigsService -- name: google.cloud.gaming.v1beta.GameServerDeploymentsService -- name: google.cloud.gaming.v1beta.RealmsService - -types: -- name: google.cloud.gaming.v1beta.LabelSelector -- name: google.cloud.gaming.v1beta.OperationMetadata -- name: google.cloud.gaming.v1beta.Schedule - -documentation: - summary: Deploy and manage infrastructure for global multiplayer gaming experiences. - rules: - - selector: google.iam.v1.IAMPolicy.GetIamPolicy - description: |- - Gets the access control policy for a resource. Returns an empty policy - if the resource exists and does not have a policy set. - - - selector: google.iam.v1.IAMPolicy.SetIamPolicy - description: |- - Sets the access control policy on the specified resource. Replaces - any existing policy. - - Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` - errors. - - - selector: google.iam.v1.IAMPolicy.TestIamPermissions - description: |- - Returns permissions that a caller has on the specified resource. If the - resource does not exist, this will return an empty set of - permissions, not a `NOT_FOUND` error. - - Note: This operation is designed to be used for building - permission-aware UIs and command-line tools, not for authorization - checking. This operation may "fail open" without warning. - -backend: - rules: - - selector: 'google.cloud.gaming.v1beta.GameServerClustersService.*' - deadline: 60.0 - - selector: google.cloud.gaming.v1beta.GameServerClustersService.CreateGameServerCluster - deadline: 120.0 - - selector: 'google.cloud.gaming.v1beta.GameServerConfigsService.*' - deadline: 60.0 - - selector: 'google.cloud.gaming.v1beta.GameServerDeploymentsService.*' - deadline: 60.0 - - selector: 'google.cloud.gaming.v1beta.RealmsService.*' - deadline: 60.0 - - selector: 'google.iam.v1.IAMPolicy.*' - deadline: 60.0 - - selector: 'google.longrunning.Operations.*' - deadline: 60.0 - - selector: google.longrunning.Operations.GetOperation - deadline: 5.0 - -http: - rules: - - selector: google.longrunning.Operations.CancelOperation - post: '/v1beta/{name=projects/*/locations/*/operations/*}:cancel' - body: '*' - - selector: google.longrunning.Operations.DeleteOperation - delete: '/v1beta/{name=projects/*/locations/*/operations/*}' - - selector: google.longrunning.Operations.GetOperation - get: '/v1beta/{name=projects/*/locations/*/operations/*}' - - selector: google.longrunning.Operations.ListOperations - get: '/v1beta/{name=projects/*/locations/*}/operations' - -authentication: - rules: - - selector: 'google.cloud.gaming.v1beta.GameServerClustersService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/cloud-platform - - selector: 'google.cloud.gaming.v1beta.GameServerConfigsService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/cloud-platform - - selector: 'google.cloud.gaming.v1beta.GameServerDeploymentsService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/cloud-platform - - selector: 'google.cloud.gaming.v1beta.RealmsService.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/cloud-platform - - selector: 'google.iam.v1.IAMPolicy.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/cloud-platform - - selector: 'google.longrunning.Operations.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/cloud-platform diff --git a/third_party/googleapis/google/cloud/gaming/v1beta/gaming_gapic.yaml b/third_party/googleapis/google/cloud/gaming/v1beta/gaming_gapic.yaml deleted file mode 100644 index 0bcb880b6..000000000 --- a/third_party/googleapis/google/cloud/gaming/v1beta/gaming_gapic.yaml +++ /dev/null @@ -1,2 +0,0 @@ -type: com.google.api.codegen.ConfigProto -config_schema_version: 2.0.0 diff --git a/third_party/googleapis/google/cloud/gaming/v1beta/gaming_grpc_service_config.json b/third_party/googleapis/google/cloud/gaming/v1beta/gaming_grpc_service_config.json deleted file mode 100644 index 419845983..000000000 --- a/third_party/googleapis/google/cloud/gaming/v1beta/gaming_grpc_service_config.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "methodConfig": [ - { - "name": [ - { "service": "google.cloud.gaming.v1beta.GameServerClustersService", "method": "ListGameServerClusters" }, - { "service": "google.cloud.gaming.v1beta.GameServerClustersService", "method": "GetGameServerCluster" }, - { "service": "google.cloud.gaming.v1beta.GameServerClustersService", "method": "PreviewCreateGameServerCluster" }, - { "service": "google.cloud.gaming.v1beta.GameServerClustersService", "method": "PreviewDeleteGameServerCluster" }, - { "service": "google.cloud.gaming.v1beta.GameServerClustersService", "method": "PreviewUpdateGameServerCluster" }, - - { "service": "google.cloud.gaming.v1beta.GameServerConfigsService", "method": "ListGameServerConfigs" }, - { "service": "google.cloud.gaming.v1beta.GameServerConfigsService", "method": "GetGameServerConfig" }, - - { "service": "google.cloud.gaming.v1beta.GameServerDeploymentsService", "method": "ListGameServerDeployments" }, - { "service": "google.cloud.gaming.v1beta.GameServerDeploymentsService", "method": "GetGameServerDeployment" }, - { "service": "google.cloud.gaming.v1beta.GameServerDeploymentsService", "method": "GetGameServerDeploymentRollout" }, - { "service": "google.cloud.gaming.v1beta.GameServerDeploymentsService", "method": "PreviewGameServerDeploymentRollout" }, - { "service": "google.cloud.gaming.v1beta.GameServerDeploymentsService", "method": "FetchDeploymentState" }, - - { "service": "google.cloud.gaming.v1beta.RealmsService", "method": "ListRealms" }, - { "service": "google.cloud.gaming.v1beta.RealmsService", "method": "GetRealm" }, - { "service": "google.cloud.gaming.v1beta.RealmsService", "method": "PreviewRealmUpdate" } - ], - "timeout": "60s", - "retryPolicy": { - "maxAttempts": 5, - "initialBackoff": "1s", - "maxBackoff": "10s", - "backoffMultiplier": 1.3, - "retryableStatusCodes": ["UNAVAILABLE"] - } - }, - { - "name": [ - { "service": "google.cloud.gaming.v1beta.GameServerClustersService", "method": "DeleteGameServerCluster" }, - { "service": "google.cloud.gaming.v1beta.GameServerClustersService", "method": "UpdateGameServerCluster" }, - - { "service": "google.cloud.gaming.v1beta.GameServerConfigsService", "method": "CreateGameServerConfig" }, - { "service": "google.cloud.gaming.v1beta.GameServerConfigsService", "method": "DeleteGameServerConfig" }, - - { "service": "google.cloud.gaming.v1beta.GameServerDeploymentsService", "method": "CreateGameServerDeployment" }, - { "service": "google.cloud.gaming.v1beta.GameServerDeploymentsService", "method": "DeleteGameServerDeployment" }, - { "service": "google.cloud.gaming.v1beta.GameServerDeploymentsService", "method": "UpdateGameServerDeployment" }, - { "service": "google.cloud.gaming.v1beta.GameServerDeploymentsService", "method": "UpdateGameServerDeploymentRollout" }, - - { "service": "google.cloud.gaming.v1beta.RealmsService", "method": "CreateRealm" }, - { "service": "google.cloud.gaming.v1beta.RealmsService", "method": "DeleteRealm" }, - { "service": "google.cloud.gaming.v1beta.RealmsService", "method": "UpdateRealm" } - ], - "timeout": "60s" - }, - { - "name": [ - { "service": "google.cloud.gaming.v1beta.GameServerClustersService", "method": "CreateGameServerCluster" } - ], - "timeout": "120s" - } - ] -} diff --git a/third_party/googleapis/google/cloud/gaming/v1beta/realms.proto b/third_party/googleapis/google/cloud/gaming/v1beta/realms.proto deleted file mode 100644 index dcba0cd7d..000000000 --- a/third_party/googleapis/google/cloud/gaming/v1beta/realms.proto +++ /dev/null @@ -1,194 +0,0 @@ -// Copyright 2020 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.cloud.gaming.v1beta; - -import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; -import "google/cloud/gaming/v1beta/common.proto"; -import "google/protobuf/field_mask.proto"; -import "google/protobuf/timestamp.proto"; - -option go_package = "cloud.google.com/go/gaming/apiv1beta/gamingpb;gamingpb"; - -option java_multiple_files = true; -option java_package = "com.google.cloud.gaming.v1beta"; -option php_namespace = "Google\\Cloud\\Gaming\\V1beta"; - -// Request message for RealmsService.ListRealms. -message ListRealmsRequest { - // Required. The parent resource name. Uses the form: - // `projects/{project}/locations/{location}`. - string parent = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - child_type: "gameservices.googleapis.com/Realm" - } - ]; - - // Optional. The maximum number of items to return. If unspecified, server - // will pick an appropriate default. Server may return fewer items than - // requested. A caller should only rely on response's - // [next_page_token][google.cloud.gaming.v1beta.ListRealmsResponse.next_page_token] - // to determine if there are more realms left to be queried. - int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The next_page_token value returned from a previous List request, - // if any. - string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The filter to apply to list results. - string filter = 4 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. Specifies the ordering of results following syntax at - // https://cloud.google.com/apis/design/design_patterns#sorting_order. - string order_by = 5 [(google.api.field_behavior) = OPTIONAL]; -} - -// Response message for RealmsService.ListRealms. -message ListRealmsResponse { - // The list of realms. - repeated Realm realms = 1; - - // Token to retrieve the next page of results, or empty if there are no more - // results in the list. - string next_page_token = 2; - - // List of locations that could not be reached. - repeated string unreachable = 3; -} - -// Request message for RealmsService.GetRealm. -message GetRealmRequest { - // Required. The name of the realm to retrieve. Uses the form: - // `projects/{project}/locations/{location}/realms/{realm}`. - string name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "gameservices.googleapis.com/Realm" - } - ]; -} - -// Request message for RealmsService.CreateRealm. -message CreateRealmRequest { - // Required. The parent resource name. Uses the form: - // `projects/{project}/locations/{location}`. - string parent = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - child_type: "gameservices.googleapis.com/Realm" - } - ]; - - // Required. The ID of the realm resource to be created. - string realm_id = 2 [(google.api.field_behavior) = REQUIRED]; - - // Required. The realm resource to be created. - Realm realm = 3 [(google.api.field_behavior) = REQUIRED]; -} - -// Request message for RealmsService.DeleteRealm. -message DeleteRealmRequest { - // Required. The name of the realm to delete. Uses the form: - // `projects/{project}/locations/{location}/realms/{realm}`. - string name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "gameservices.googleapis.com/Realm" - } - ]; -} - -// Request message for RealmsService.UpdateRealm. -message UpdateRealmRequest { - // Required. The realm to be updated. - // Only fields specified in update_mask are updated. - Realm realm = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The update mask applies to the resource. For the `FieldMask` - // definition, see - // - // https: - // //developers.google.com/protocol-buffers - // // /docs/reference/google.protobuf#fieldmask - google.protobuf.FieldMask update_mask = 2 - [(google.api.field_behavior) = REQUIRED]; -} - -// Request message for RealmsService.PreviewRealmUpdate. -message PreviewRealmUpdateRequest { - // Required. The realm to be updated. - // Only fields specified in update_mask are updated. - Realm realm = 1 [(google.api.field_behavior) = REQUIRED]; - - // Required. The update mask applies to the resource. For the `FieldMask` - // definition, see - // - // https: - // //developers.google.com/protocol-buffers - // // /docs/reference/google.protobuf#fieldmask - google.protobuf.FieldMask update_mask = 2 - [(google.api.field_behavior) = REQUIRED]; - - // Optional. The target timestamp to compute the preview. - google.protobuf.Timestamp preview_time = 3 - [(google.api.field_behavior) = OPTIONAL]; -} - -// Response message for RealmsService.PreviewRealmUpdate. -message PreviewRealmUpdateResponse { - // ETag of the realm. - string etag = 2; - - // The target state. - TargetState target_state = 3; -} - -// A realm resource. -message Realm { - option (google.api.resource) = { - type: "gameservices.googleapis.com/Realm" - pattern: "projects/{project}/locations/{location}/realms/{realm}" - }; - - // The resource name of the realm. Uses the form: - // `projects/{project}/locations/{location}/realms/{realm}`. For - // example, `projects/my-project/locations/{location}/realms/my-realm`. - string name = 1; - - // Output only. The creation time. - google.protobuf.Timestamp create_time = 2 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The last-modified time. - google.protobuf.Timestamp update_time = 3 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // The labels associated with this realm. Each label is a key-value pair. - map labels = 4; - - // Required. Time zone where all policies targeting this realm are evaluated. - // The value of this field must be from the IANA time zone database: - // https://www.iana.org/time-zones. - string time_zone = 6 [(google.api.field_behavior) = REQUIRED]; - - // ETag of the resource. - string etag = 7; - - // Human readable description of the realm. - string description = 8; -} diff --git a/third_party/googleapis/google/cloud/gaming/v1beta/realms_service.proto b/third_party/googleapis/google/cloud/gaming/v1beta/realms_service.proto deleted file mode 100644 index bb9cbe9d5..000000000 --- a/third_party/googleapis/google/cloud/gaming/v1beta/realms_service.proto +++ /dev/null @@ -1,99 +0,0 @@ -// Copyright 2020 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.cloud.gaming.v1beta; - -import "google/api/annotations.proto"; -import "google/api/client.proto"; -import "google/cloud/gaming/v1beta/realms.proto"; -import "google/longrunning/operations.proto"; - -option go_package = "cloud.google.com/go/gaming/apiv1beta/gamingpb;gamingpb"; - -option java_multiple_files = true; -option java_package = "com.google.cloud.gaming.v1beta"; -option php_namespace = "Google\\Cloud\\Gaming\\V1beta"; - -// A realm is a grouping of game server clusters that are considered -// interchangeable. -service RealmsService { - option (google.api.default_host) = "gameservices.googleapis.com"; - option (google.api.oauth_scopes) = - "https://www.googleapis.com/auth/cloud-platform"; - - // Lists realms in a given project and location. - rpc ListRealms(ListRealmsRequest) returns (ListRealmsResponse) { - option (google.api.http) = { - get: "/v1beta/{parent=projects/*/locations/*}/realms" - }; - option (google.api.method_signature) = "parent"; - } - - // Gets details of a single realm. - rpc GetRealm(GetRealmRequest) returns (Realm) { - option (google.api.http) = { - get: "/v1beta/{name=projects/*/locations/*/realms/*}" - }; - option (google.api.method_signature) = "name"; - } - - // Creates a new realm in a given project and location. - rpc CreateRealm(CreateRealmRequest) returns (google.longrunning.Operation) { - option (google.api.http) = { - post: "/v1beta/{parent=projects/*/locations/*}/realms" - body: "realm" - }; - option (google.api.method_signature) = "parent,realm,realm_id"; - option (google.longrunning.operation_info) = { - response_type: "Realm" - metadata_type: "OperationMetadata" - }; - } - - // Deletes a single realm. - rpc DeleteRealm(DeleteRealmRequest) returns (google.longrunning.Operation) { - option (google.api.http) = { - delete: "/v1beta/{name=projects/*/locations/*/realms/*}" - }; - option (google.api.method_signature) = "name"; - option (google.longrunning.operation_info) = { - response_type: "google.protobuf.Empty" - metadata_type: "OperationMetadata" - }; - } - - // Patches a single realm. - rpc UpdateRealm(UpdateRealmRequest) returns (google.longrunning.Operation) { - option (google.api.http) = { - patch: "/v1beta/{realm.name=projects/*/locations/*/realms/*}" - body: "realm" - }; - option (google.api.method_signature) = "realm,update_mask"; - option (google.longrunning.operation_info) = { - response_type: "Realm" - metadata_type: "OperationMetadata" - }; - } - - // Previews patches to a single realm. - rpc PreviewRealmUpdate(PreviewRealmUpdateRequest) - returns (PreviewRealmUpdateResponse) { - option (google.api.http) = { - patch: "/v1beta/{realm.name=projects/*/locations/*/realms/*}:previewUpdate" - body: "realm" - }; - } -} diff --git a/third_party/googleapis/google/cloud/gkebackup/BUILD.bazel b/third_party/googleapis/google/cloud/gkebackup/BUILD.bazel index cfd2bbd75..0890cbfcc 100644 --- a/third_party/googleapis/google/cloud/gkebackup/BUILD.bazel +++ b/third_party/googleapis/google/cloud/gkebackup/BUILD.bazel @@ -24,10 +24,11 @@ ruby_cloud_gapic_library( "ruby-cloud-api-shortname=gkebackup", "ruby-cloud-gem-name=google-cloud-gke_backup", "ruby-cloud-product-url=https://cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke/", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.7", ], ruby_cloud_description = "Backup for GKE lets you protect, manage, and restore your containerized applications and data for stateful workloads running on Google Kubernetes Engine clusters.", ruby_cloud_title = "Backup for GKE", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/gkebackup/logging/v1/BUILD.bazel b/third_party/googleapis/google/cloud/gkebackup/logging/v1/BUILD.bazel index e92851bbc..579cd808e 100644 --- a/third_party/googleapis/google/cloud/gkebackup/logging/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/gkebackup/logging/v1/BUILD.bazel @@ -50,6 +50,7 @@ java_grpc_library( load( "@com_google_googleapis_imports//:imports.bzl", "go_proto_library", + "go_gapic_assembly_pkg", ) go_proto_library( @@ -62,6 +63,13 @@ go_proto_library( ], ) +go_gapic_assembly_pkg( + name = "logging-v1-go", + deps = [ + ":logging_go_proto", + ], +) + ############################################################################## # Python ############################################################################## @@ -97,7 +105,7 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", + "php_gapic_assembly_pkg", "php_proto_library", ) @@ -106,22 +114,13 @@ php_proto_library( deps = [":logging_proto"], ) -php_grpc_library( - name = "logging_php_grpc", - srcs = [":logging_proto"], - deps = [":logging_php_proto"], -) - -############################################################################## -# Node.js -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", +php_gapic_assembly_pkg( + name = "logging-v1-php", + deps = [ + ":logging_php_proto", + ], ) - ############################################################################## # Ruby ############################################################################## diff --git a/third_party/googleapis/google/cloud/gkebackup/v1/BUILD.bazel b/third_party/googleapis/google/cloud/gkebackup/v1/BUILD.bazel index 2a44b9ad2..055c9653e 100644 --- a/third_party/googleapis/google/cloud/gkebackup/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/gkebackup/v1/BUILD.bazel @@ -9,45 +9,14 @@ # * 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"]) + ############################################################################## # Common ############################################################################## load("@rules_proto//proto:defs.bzl", "proto_library") -load( - "@com_google_googleapis_imports//:imports.bzl", - "cc_grpc_library", - "cc_proto_library", - "csharp_gapic_assembly_pkg", - "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", - "go_gapic_assembly_pkg", - "go_gapic_library", - "go_proto_library", - "go_test", - "java_gapic_assembly_gradle_pkg", - "java_gapic_library", - "java_gapic_test", - "java_grpc_library", - "java_proto_library", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", - "php_gapic_assembly_pkg", - "php_gapic_library", - "php_grpc_library", - "php_proto_library", - "proto_library_with_info", - "py_gapic_assembly_pkg", - "py_gapic_library", - "py_test", - "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) +load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") proto_library( name = "gkebackup_proto", @@ -77,9 +46,23 @@ proto_library_with_info( deps = [ ":gkebackup_proto", "//google/cloud:common_resources_proto", + "//google/cloud/location:location_proto", + "//google/iam/v1:iam_policy_proto", ], ) +############################################################################## +# Java +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "java_gapic_assembly_gradle_pkg", + "java_gapic_library", + "java_gapic_test", + "java_grpc_library", + "java_proto_library", +) + java_proto_library( name = "gkebackup_java_proto", deps = [":gkebackup_proto"], @@ -99,12 +82,16 @@ java_gapic_library( rest_numeric_enums = True, service_yaml = "gkebackup_v1.yaml", test_deps = [ + "//google/cloud/location:location_java_grpc", + "//google/iam/v1:iam_java_grpc", ":gkebackup_java_grpc", ], transport = "grpc+rest", deps = [ ":gkebackup_java_proto", "//google/api:api_java_proto", + "//google/cloud/location:location_java_proto", + "//google/iam/v1:iam_java_proto", ], ) @@ -130,6 +117,16 @@ java_gapic_assembly_gradle_pkg( ], ) +############################################################################## +# Go +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "go_gapic_assembly_pkg", + "go_gapic_library", + "go_proto_library", +) + go_proto_library( name = "gkebackup_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], @@ -147,48 +144,57 @@ go_gapic_library( grpc_service_config = "gkebackup_grpc_service_config.json", importpath = "cloud.google.com/go/gkebackup/apiv1;gkebackup", metadata = True, - release_level = "gkebackup", + release_level = "ga", rest_numeric_enums = True, service_yaml = "gkebackup_v1.yaml", transport = "grpc+rest", deps = [ ":gkebackup_go_proto", + "//google/cloud/location:location_go_proto", + "//google/iam/v1:iam_go_proto", "//google/longrunning:longrunning_go_proto", "@com_google_cloud_go_longrunning//:go_default_library", "@com_google_cloud_go_longrunning//autogen:go_default_library", ], ) -go_test( - name = "gkebackup_go_gapic_test", - srcs = [":gkebackup_go_gapic_srcjar_test"], - embed = [":gkebackup_go_gapic"], - importpath = "cloud.google.com/go/gkebackup/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-gkebackup-v1-go", deps = [ ":gkebackup_go_gapic", ":gkebackup_go_gapic_srcjar-metadata.srcjar", + ":gkebackup_go_gapic_srcjar-snippets.srcjar", ":gkebackup_go_gapic_srcjar-test.srcjar", ":gkebackup_go_proto", ], ) +############################################################################## +# Python +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "py_gapic_assembly_pkg", + "py_gapic_library", + "py_test", +) + py_gapic_library( name = "gkebackup_py_gapic", srcs = [":gkebackup_proto"], grpc_service_config = "gkebackup_grpc_service_config.json", opt_args = [ - "warehouse-package-name=google-cloud-gke-backup", - "python-gapic-namespace=google.cloud", "python-gapic-name=gke_backup", + "python-gapic-namespace=google.cloud", + "warehouse-package-name=google-cloud-gke-backup", ], rest_numeric_enums = True, service_yaml = "gkebackup_v1.yaml", transport = "grpc+rest", + deps = [ + "//google/iam/v1:iam_policy_py_proto", + ], ) py_test( @@ -209,26 +215,30 @@ py_gapic_assembly_pkg( ], ) +############################################################################## +# PHP +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "php_gapic_assembly_pkg", + "php_gapic_library", + "php_proto_library", +) + php_proto_library( name = "gkebackup_php_proto", deps = [":gkebackup_proto"], ) -php_grpc_library( - name = "gkebackup_php_grpc", - srcs = [":gkebackup_proto"], - deps = [":gkebackup_php_proto"], -) - php_gapic_library( name = "gkebackup_php_gapic", srcs = [":gkebackup_proto_with_info"], grpc_service_config = "gkebackup_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "gkebackup_v1.yaml", transport = "grpc+rest", deps = [ - ":gkebackup_php_grpc", ":gkebackup_php_proto", ], ) @@ -238,11 +248,19 @@ php_gapic_assembly_pkg( name = "google-cloud-gkebackup-v1-php", deps = [ ":gkebackup_php_gapic", - ":gkebackup_php_grpc", ":gkebackup_php_proto", ], ) +############################################################################## +# Node.js +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "nodejs_gapic_assembly_pkg", + "nodejs_gapic_library", +) + nodejs_gapic_library( name = "gkebackup_nodejs_gapic", package_name = "@google-cloud/gke-backup", @@ -264,6 +282,17 @@ nodejs_gapic_assembly_pkg( ], ) +############################################################################## +# Ruby +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "ruby_cloud_gapic_library", + "ruby_gapic_assembly_pkg", + "ruby_grpc_library", + "ruby_proto_library", +) + ruby_proto_library( name = "gkebackup_ruby_proto", deps = [":gkebackup_proto"], @@ -289,6 +318,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Backup for GKE lets you protect, manage, and restore your containerized applications and data for stateful workloads running on Google Kubernetes Engine clusters.", ruby_cloud_title = "Backup for GKE V1", service_yaml = "gkebackup_v1.yaml", + transport = "grpc+rest", deps = [ ":gkebackup_ruby_grpc", ":gkebackup_ruby_proto", @@ -305,8 +335,20 @@ ruby_gapic_assembly_pkg( ], ) +############################################################################## +# C# +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "csharp_gapic_assembly_pkg", + "csharp_gapic_library", + "csharp_grpc_library", + "csharp_proto_library", +) + csharp_proto_library( name = "gkebackup_csharp_proto", + extra_opts = [""], deps = [":gkebackup_proto"], ) @@ -340,6 +382,15 @@ csharp_gapic_assembly_pkg( ], ) +############################################################################## +# C++ +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "cc_grpc_library", + "cc_proto_library", +) + cc_proto_library( name = "gkebackup_cc_proto", deps = [":gkebackup_proto"], diff --git a/third_party/googleapis/google/cloud/gkebackup/v1/backup.proto b/third_party/googleapis/google/cloud/gkebackup/v1/backup.proto index 635689d76..88a95493a 100644 --- a/third_party/googleapis/google/cloud/gkebackup/v1/backup.proto +++ b/third_party/googleapis/google/cloud/gkebackup/v1/backup.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -45,8 +45,8 @@ message Backup { // The source cluster from which this Backup was created. // Valid formats: // - // - projects/*/locations/*/clusters/* - // - projects/*/zones/*/clusters/* + // - `projects/*/locations/*/clusters/*` + // - `projects/*/zones/*/clusters/*` // // This is inherited from the parent BackupPlan's // [cluster][google.cloud.gkebackup.v1.BackupPlan.cluster] field. @@ -93,7 +93,7 @@ message Backup { } // Output only. The fully qualified name of the Backup. - // projects/*/locations/*/backupPlans/*/backups/* + // `projects/*/locations/*/backupPlans/*/backups/*` string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Server generated global unique identifier of @@ -101,14 +101,16 @@ message Backup { string uid = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The timestamp when this Backup resource was created. - google.protobuf.Timestamp create_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The timestamp when this Backup resource was last updated. - google.protobuf.Timestamp update_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. This flag indicates whether this Backup resource was created manually - // by a user or via a schedule in the BackupPlan. A value of True means that - // the Backup was created manually. + // Output only. This flag indicates whether this Backup resource was created + // manually by a user or via a schedule in the BackupPlan. A value of True + // means that the Backup was created manually. bool manual = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; // A set of custom labels supplied by user. @@ -126,80 +128,100 @@ message Backup { // (either at creation time or in a subsequent update). int32 delete_lock_days = 7; - // Output only. The time at which an existing delete lock will expire for this backup - // (calculated from create_time + [delete_lock_days][google.cloud.gkebackup.v1.Backup.delete_lock_days]). - google.protobuf.Timestamp delete_lock_expire_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The time at which an existing delete lock will expire for this + // backup (calculated from create_time + + // [delete_lock_days][google.cloud.gkebackup.v1.Backup.delete_lock_days]). + google.protobuf.Timestamp delete_lock_expire_time = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; // The age (in days) after which this Backup will be automatically deleted. // Must be an integer value >= 0: // // - If 0, no automatic deletion will occur for this Backup. - // - If not 0, this must be >= [delete_lock_days][google.cloud.gkebackup.v1.Backup.delete_lock_days]. + // - If not 0, this must be >= + // [delete_lock_days][google.cloud.gkebackup.v1.Backup.delete_lock_days] and + // <= 365. // // Once a Backup is created, this value may only be increased. // // Defaults to the parent BackupPlan's - // [backup_retain_days][google.cloud.gkebackup.v1.BackupPlan.RetentionPolicy.backup_retain_days] value. + // [backup_retain_days][google.cloud.gkebackup.v1.BackupPlan.RetentionPolicy.backup_retain_days] + // value. int32 retain_days = 9; - // Output only. The time at which this Backup will be automatically deleted (calculated - // from create_time + [retain_days][google.cloud.gkebackup.v1.Backup.retain_days]). - google.protobuf.Timestamp retain_expire_time = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The time at which this Backup will be automatically deleted + // (calculated from create_time + + // [retain_days][google.cloud.gkebackup.v1.Backup.retain_days]). + google.protobuf.Timestamp retain_expire_time = 10 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The customer managed encryption key that was used to encrypt the Backup's - // artifacts. Inherited from the parent BackupPlan's - // [encryption_key][google.cloud.gkebackup.v1.BackupPlan.BackupConfig.encryption_key] value. + // Output only. The customer managed encryption key that was used to encrypt + // the Backup's artifacts. Inherited from the parent BackupPlan's + // [encryption_key][google.cloud.gkebackup.v1.BackupPlan.BackupConfig.encryption_key] + // value. EncryptionKey encryption_key = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; // Defines the "scope" of the Backup - which namespaced resources in the // cluster were included in the Backup. Inherited from the parent - // BackupPlan's [backup_scope][google.cloud.gkebackup.v1.BackupPlan.BackupConfig.backup_scope] value. + // BackupPlan's + // [backup_scope][google.cloud.gkebackup.v1.BackupPlan.BackupConfig.backup_scope] + // value. oneof backup_scope { // Output only. If True, all namespaces were included in the Backup. bool all_namespaces = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. If set, the list of namespaces that were included in the Backup. - Namespaces selected_namespaces = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. If set, the list of namespaces that were included in the + // Backup. + Namespaces selected_namespaces = 13 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. If set, the list of ProtectedApplications whose resources were included - // in the Backup. - NamespacedNames selected_applications = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. If set, the list of ProtectedApplications whose resources + // were included in the Backup. + NamespacedNames selected_applications = 14 + [(google.api.field_behavior) = OUTPUT_ONLY]; } - // Output only. Whether or not the Backup contains volume data. Controlled by the parent - // BackupPlan's - // [include_volume_data][google.cloud.gkebackup.v1.BackupPlan.BackupConfig.include_volume_data] value. + // Output only. Whether or not the Backup contains volume data. Controlled by + // the parent BackupPlan's + // [include_volume_data][google.cloud.gkebackup.v1.BackupPlan.BackupConfig.include_volume_data] + // value. bool contains_volume_data = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Whether or not the Backup contains Kubernetes Secrets. Controlled by the - // parent BackupPlan's - // [include_secrets][google.cloud.gkebackup.v1.BackupPlan.BackupConfig.include_secrets] value. + // Output only. Whether or not the Backup contains Kubernetes Secrets. + // Controlled by the parent BackupPlan's + // [include_secrets][google.cloud.gkebackup.v1.BackupPlan.BackupConfig.include_secrets] + // value. bool contains_secrets = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Information about the GKE cluster from which this Backup was created. - ClusterMetadata cluster_metadata = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Information about the GKE cluster from which this Backup was + // created. + ClusterMetadata cluster_metadata = 17 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Current state of the Backup State state = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Human-readable description of why the backup is in the current `state`. + // Output only. Human-readable description of why the backup is in the current + // `state`. string state_reason = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Completion time of the Backup - google.protobuf.Timestamp complete_time = 20 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp complete_time = 20 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The total number of Kubernetes resources included in the Backup. + // Output only. The total number of Kubernetes resources included in the + // Backup. int32 resource_count = 21 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The total number of volume backups contained in the Backup. int32 volume_count = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The total size of the Backup in bytes = config backup size + sum(volume - // backup sizes) + // Output only. The total size of the Backup in bytes = config backup size + + // sum(volume backup sizes) int64 size_bytes = 23 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. `etag` is used for optimistic concurrency control as a way to help - // prevent simultaneous updates of a backup from overwriting each other. + // Output only. `etag` is used for optimistic concurrency control as a way to + // help prevent simultaneous updates of a backup from overwriting each other. // It is strongly suggested that systems make use of the `etag` in the // read-modify-write cycle to perform backup updates in order to avoid // race conditions: An `etag` is returned in the response to `GetBackup`, @@ -215,5 +237,6 @@ message Backup { int32 pod_count = 26 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The size of the config backup in bytes. - int64 config_backup_size_bytes = 27 [(google.api.field_behavior) = OUTPUT_ONLY]; + int64 config_backup_size_bytes = 27 + [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/cloud/gkebackup/v1/backup_plan.proto b/third_party/googleapis/google/cloud/gkebackup/v1/backup_plan.proto index f9579e27d..42ed47db4 100644 --- a/third_party/googleapis/google/cloud/gkebackup/v1/backup_plan.proto +++ b/third_party/googleapis/google/cloud/gkebackup/v1/backup_plan.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -50,7 +50,7 @@ message BackupPlan { int32 backup_delete_lock_days = 1; // The default maximum age of a Backup created via this BackupPlan. - // This field MUST be an integer value >= 0. + // This field MUST be an integer value >= 0 and <= 365. // If specified, a Backup created under this BackupPlan will be // automatically deleted after its age reaches (create_time + // backup_retain_days). @@ -59,7 +59,12 @@ message BackupPlan { // Updating this field does NOT affect existing Backups under it. Backups // created AFTER a successful update will automatically pick up the new // value. - // NOTE: backup_retain_days must be >= [backup_delete_lock_days][google.cloud.gkebackup.v1.BackupPlan.RetentionPolicy.backup_delete_lock_days]. + // NOTE: backup_retain_days must be >= + // [backup_delete_lock_days][google.cloud.gkebackup.v1.BackupPlan.RetentionPolicy.backup_delete_lock_days]. + // If + // [cron_schedule][google.cloud.gkebackup.v1.BackupPlan.Schedule.cron_schedule] + // is defined, then this must be + // <= 360 * the creation interval. // // Default: 0 (no automatic deletion) int32 backup_retain_days = 2; @@ -72,11 +77,14 @@ message BackupPlan { bool locked = 3; } - // Schedule defines scheduling parameters for automatically creating Backups + // Defines scheduling parameters for automatically creating Backups // via this BackupPlan. message Schedule { // A standard [cron](https://wikipedia.com/wiki/cron) string that defines a - // repeating schedule for creating Backups via this BackupPlan. + // repeating schedule for creating Backups via this BackupPlan. If this is + // defined, then + // [backup_retain_days][google.cloud.gkebackup.v1.BackupPlan.RetentionPolicy.backup_retain_days] + // must also be defined. // // Default (empty): no automatic backup creation will occur. string cron_schedule = 1; @@ -126,8 +134,32 @@ message BackupPlan { EncryptionKey encryption_key = 6; } + // State + enum State { + // Default first value for Enums. + STATE_UNSPECIFIED = 0; + + // Waiting for cluster state to be RUNNING. + CLUSTER_PENDING = 1; + + // The BackupPlan is in the process of being created. + PROVISIONING = 2; + + // The BackupPlan has successfully been created and is ready for Backups. + READY = 3; + + // BackupPlan creation has failed. + FAILED = 4; + + // The BackupPlan has been deactivated. + DEACTIVATED = 5; + + // The BackupPlan is in the process of being deleted. + DELETING = 6; + } + // Output only. The full name of the BackupPlan resource. - // Format: projects/*/locations/*/backupPlans/* + // Format: `projects/*/locations/*/backupPlans/*` string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Server generated global unique identifier of @@ -135,21 +167,22 @@ message BackupPlan { string uid = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The timestamp when this BackupPlan resource was created. - google.protobuf.Timestamp create_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The timestamp when this BackupPlan resource was last // updated. - google.protobuf.Timestamp update_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; // User specified descriptive string for this BackupPlan. string description = 5; - // Required. Immutable. The source cluster from which Backups will be created via - // this BackupPlan. - // Valid formats: + // Required. Immutable. The source cluster from which Backups will be created + // via this BackupPlan. Valid formats: // - // - projects/*/locations/*/clusters/* - // - projects/*/zones/*/clusters/* + // - `projects/*/locations/*/clusters/*` + // - `projects/*/zones/*/clusters/*` string cluster = 6 [ (google.api.field_behavior) = IMMUTABLE, (google.api.field_behavior) = REQUIRED, @@ -167,9 +200,9 @@ message BackupPlan { // Defines a schedule for automatic Backup creation via this BackupPlan. Schedule backup_schedule = 9; - // Output only. `etag` is used for optimistic concurrency control as a way to help - // prevent simultaneous updates of a backup plan from overwriting each other. - // It is strongly suggested that systems make use of the 'etag' in the + // Output only. `etag` is used for optimistic concurrency control as a way to + // help prevent simultaneous updates of a backup plan from overwriting each + // other. It is strongly suggested that systems make use of the 'etag' in the // read-modify-write cycle to perform BackupPlan updates in order to avoid // race conditions: An `etag` is returned in the response to `GetBackupPlan`, // and systems are expected to put that etag in the request to @@ -192,4 +225,14 @@ message BackupPlan { // Output only. The number of Kubernetes Pods backed up in the // last successful Backup created via this BackupPlan. int32 protected_pod_count = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. State of the BackupPlan. This State field reflects the + // various stages a BackupPlan can be in + // during the Create operation. It will be set to "DEACTIVATED" + // if the BackupPlan is deactivated on an Update + State state = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Human-readable description of why BackupPlan is in the current + // `state` + string state_reason = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/cloud/gkebackup/v1/common.proto b/third_party/googleapis/google/cloud/gkebackup/v1/common.proto index 0656bd281..7521d2468 100644 --- a/third_party/googleapis/google/cloud/gkebackup/v1/common.proto +++ b/third_party/googleapis/google/cloud/gkebackup/v1/common.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -51,8 +51,8 @@ message NamespacedNames { // artifacts. message EncryptionKey { // Google Cloud KMS encryption key. Format: - // projects/*/locations/*/keyRings/*/cryptoKeys/* + // `projects/*/locations/*/keyRings/*/cryptoKeys/*` string gcp_kms_encryption_key = 1 [(google.api.resource_reference) = { - type: "cloudkms.googleapis.com/CryptoKey" - }]; + type: "cloudkms.googleapis.com/CryptoKey" + }]; } diff --git a/third_party/googleapis/google/cloud/gkebackup/v1/gkebackup.proto b/third_party/googleapis/google/cloud/gkebackup/v1/gkebackup.proto index 795fa2cd9..1a1bd10f5 100644 --- a/third_party/googleapis/google/cloud/gkebackup/v1/gkebackup.proto +++ b/third_party/googleapis/google/cloud/gkebackup/v1/gkebackup.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -26,6 +26,7 @@ import "google/cloud/gkebackup/v1/restore.proto"; import "google/cloud/gkebackup/v1/restore_plan.proto"; import "google/cloud/gkebackup/v1/volume.proto"; import "google/longrunning/operations.proto"; +import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; @@ -49,10 +50,12 @@ option (google.api.resource_definition) = { // manage backup and restore operations for their GKE clusters. service BackupForGKE { option (google.api.default_host) = "gkebackup.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Creates a new BackupPlan in a given location. - rpc CreateBackupPlan(CreateBackupPlanRequest) returns (google.longrunning.Operation) { + rpc CreateBackupPlan(CreateBackupPlanRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/backupPlans" body: "backup_plan" @@ -65,7 +68,8 @@ service BackupForGKE { } // Lists BackupPlans in a given location. - rpc ListBackupPlans(ListBackupPlansRequest) returns (ListBackupPlansResponse) { + rpc ListBackupPlans(ListBackupPlansRequest) + returns (ListBackupPlansResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/backupPlans" }; @@ -81,7 +85,8 @@ service BackupForGKE { } // Update a BackupPlan. - rpc UpdateBackupPlan(UpdateBackupPlanRequest) returns (google.longrunning.Operation) { + rpc UpdateBackupPlan(UpdateBackupPlanRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v1/{backup_plan.name=projects/*/locations/*/backupPlans/*}" body: "backup_plan" @@ -94,7 +99,8 @@ service BackupForGKE { } // Deletes an existing BackupPlan. - rpc DeleteBackupPlan(DeleteBackupPlanRequest) returns (google.longrunning.Operation) { + rpc DeleteBackupPlan(DeleteBackupPlanRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/backupPlans/*}" }; @@ -160,7 +166,8 @@ service BackupForGKE { } // Lists the VolumeBackups for a given Backup. - rpc ListVolumeBackups(ListVolumeBackupsRequest) returns (ListVolumeBackupsResponse) { + rpc ListVolumeBackups(ListVolumeBackupsRequest) + returns (ListVolumeBackupsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*/backupPlans/*/backups/*}/volumeBackups" }; @@ -176,12 +183,14 @@ service BackupForGKE { } // Creates a new RestorePlan in a given location. - rpc CreateRestorePlan(CreateRestorePlanRequest) returns (google.longrunning.Operation) { + rpc CreateRestorePlan(CreateRestorePlanRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/restorePlans" body: "restore_plan" }; - option (google.api.method_signature) = "parent,restore_plan,restore_plan_id"; + option (google.api.method_signature) = + "parent,restore_plan,restore_plan_id"; option (google.longrunning.operation_info) = { response_type: "RestorePlan" metadata_type: "OperationMetadata" @@ -189,7 +198,8 @@ service BackupForGKE { } // Lists RestorePlans in a given location. - rpc ListRestorePlans(ListRestorePlansRequest) returns (ListRestorePlansResponse) { + rpc ListRestorePlans(ListRestorePlansRequest) + returns (ListRestorePlansResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/restorePlans" }; @@ -205,7 +215,8 @@ service BackupForGKE { } // Update a RestorePlan. - rpc UpdateRestorePlan(UpdateRestorePlanRequest) returns (google.longrunning.Operation) { + rpc UpdateRestorePlan(UpdateRestorePlanRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v1/{restore_plan.name=projects/*/locations/*/restorePlans/*}" body: "restore_plan" @@ -218,7 +229,8 @@ service BackupForGKE { } // Deletes an existing RestorePlan. - rpc DeleteRestorePlan(DeleteRestorePlanRequest) returns (google.longrunning.Operation) { + rpc DeleteRestorePlan(DeleteRestorePlanRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/restorePlans/*}" }; @@ -230,7 +242,8 @@ service BackupForGKE { } // Creates a new Restore for the given RestorePlan. - rpc CreateRestore(CreateRestoreRequest) returns (google.longrunning.Operation) { + rpc CreateRestore(CreateRestoreRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*/restorePlans/*}/restores" body: "restore" @@ -259,7 +272,8 @@ service BackupForGKE { } // Update a Restore. - rpc UpdateRestore(UpdateRestoreRequest) returns (google.longrunning.Operation) { + rpc UpdateRestore(UpdateRestoreRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v1/{restore.name=projects/*/locations/*/restorePlans/*/restores/*}" body: "restore" @@ -272,7 +286,8 @@ service BackupForGKE { } // Deletes an existing Restore. - rpc DeleteRestore(DeleteRestoreRequest) returns (google.longrunning.Operation) { + rpc DeleteRestore(DeleteRestoreRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/restorePlans/*/restores/*}" }; @@ -284,7 +299,8 @@ service BackupForGKE { } // Lists the VolumeRestores for a given Restore. - rpc ListVolumeRestores(ListVolumeRestoresRequest) returns (ListVolumeRestoresResponse) { + rpc ListVolumeRestores(ListVolumeRestoresRequest) + returns (ListVolumeRestoresResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*/restorePlans/*/restores/*}/volumeRestores" }; @@ -303,10 +319,12 @@ service BackupForGKE { // Represents the metadata of the long-running operation. message OperationMetadata { // Output only. The time the operation was created. - google.protobuf.Timestamp create_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time the operation finished running. - google.protobuf.Timestamp end_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp end_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Server-defined resource path for the target of the operation. string target = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -319,8 +337,9 @@ message OperationMetadata { // Output only. Identifies whether the user has requested cancellation // of the operation. Operations that have successfully been cancelled - // have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, - // corresponding to `Code.CANCELLED`. + // have [Operation.error][] value with a + // [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to + // `Code.CANCELLED`. bool requested_cancellation = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. API version used to start the operation. @@ -330,7 +349,7 @@ message OperationMetadata { // Request message for CreateBackupPlan. message CreateBackupPlanRequest { // Required. The location within which to create the BackupPlan. - // Format: projects/*/locations/* + // Format: `projects/*/locations/*` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -355,7 +374,7 @@ message CreateBackupPlanRequest { // Request message for ListBackupPlans. message ListBackupPlansRequest { // Required. The location that contains the BackupPlans to list. - // Format: projects/*/locations/* + // Format: `projects/*/locations/*` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -392,10 +411,10 @@ message ListBackupPlansResponse { repeated BackupPlan backup_plans = 1; // A token which may be sent as - // [page_token][google.cloud.gkebackup.v1.ListBackupPlansRequest.page_token] in a subsequent - // `ListBackupPlans` call to retrieve the next page of results. - // If this field is omitted or empty, then there are no more results to - // return. + // [page_token][google.cloud.gkebackup.v1.ListBackupPlansRequest.page_token] + // in a subsequent `ListBackupPlans` call to retrieve the next page of + // results. If this field is omitted or empty, then there are no more results + // to return. string next_page_token = 2; // Locations that could not be reached. @@ -405,7 +424,7 @@ message ListBackupPlansResponse { // Request message for GetBackupPlan. message GetBackupPlanRequest { // Required. Fully qualified BackupPlan name. - // Format: projects/*/locations/*/backupPlans/* + // Format: `projects/*/locations/*/backupPlans/*` string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -416,8 +435,8 @@ message GetBackupPlanRequest { // Request message for UpdateBackupPlan. message UpdateBackupPlanRequest { - // Required. A new version of the BackupPlan resource that contains updated fields. - // This may be sparsely populated if an `update_mask` is provided. + // Required. A new version of the BackupPlan resource that contains updated + // fields. This may be sparsely populated if an `update_mask` is provided. BackupPlan backup_plan = 1 [(google.api.field_behavior) = REQUIRED]; // This is used to specify the fields to be overwritten in the @@ -435,7 +454,7 @@ message UpdateBackupPlanRequest { // Request message for DeleteBackupPlan. message DeleteBackupPlanRequest { // Required. Fully qualified BackupPlan name. - // Format: projects/*/locations/*/backupPlans/* + // Format: `projects/*/locations/*/backupPlans/*` string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -444,15 +463,15 @@ message DeleteBackupPlanRequest { ]; // If provided, this value must match the current value of the - // target BackupPlan's [etag][google.cloud.gkebackup.v1.BackupPlan.etag] field or the request is - // rejected. + // target BackupPlan's [etag][google.cloud.gkebackup.v1.BackupPlan.etag] field + // or the request is rejected. string etag = 2; } // Request message for CreateBackup. message CreateBackupRequest { // Required. The BackupPlan within which to create the Backup. - // Format: projects/*/locations/*/backupPlans/* + // Format: `projects/*/locations/*/backupPlans/*` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -466,18 +485,18 @@ message CreateBackupRequest { // The client-provided short name for the Backup resource. // This name must: // - // - be between 1 and 63 characters long (inclusive) - // - consist of only lower-case ASCII letters, numbers, and dashes - // - start with a lower-case letter - // - end with a lower-case letter or number - // - be unique within the set of Backups in this BackupPlan + // - be between 1 and 63 characters long (inclusive) + // - consist of only lower-case ASCII letters, numbers, and dashes + // - start with a lower-case letter + // - end with a lower-case letter or number + // - be unique within the set of Backups in this BackupPlan string backup_id = 3; } // Request message for ListBackups. message ListBackupsRequest { // Required. The BackupPlan that contains the Backups to list. - // Format: projects/*/locations/*/backupPlans/* + // Format: `projects/*/locations/*/backupPlans/*` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -513,16 +532,17 @@ message ListBackupsResponse { // The list of Backups matching the given criteria. repeated Backup backups = 1; - // A token which may be sent as [page_token][google.cloud.gkebackup.v1.ListBackupsRequest.page_token] in - // a subsequent `ListBackups` call to retrieve the next page of results. If - // this field is omitted or empty, then there are no more results to return. + // A token which may be sent as + // [page_token][google.cloud.gkebackup.v1.ListBackupsRequest.page_token] in a + // subsequent `ListBackups` call to retrieve the next page of results. If this + // field is omitted or empty, then there are no more results to return. string next_page_token = 2; } // Request message for GetBackup. message GetBackupRequest { // Required. Full name of the Backup resource. - // Format: projects/*/locations/*/backupPlans/*/backups/* + // Format: `projects/*/locations/*/backupPlans/*/backups/*` string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -533,8 +553,8 @@ message GetBackupRequest { // Request message for UpdateBackup. message UpdateBackupRequest { - // Required. A new version of the Backup resource that contains updated fields. - // This may be sparsely populated if an `update_mask` is provided. + // Required. A new version of the Backup resource that contains updated + // fields. This may be sparsely populated if an `update_mask` is provided. Backup backup = 1 [(google.api.field_behavior) = REQUIRED]; // This is used to specify the fields to be overwritten in the @@ -551,7 +571,7 @@ message UpdateBackupRequest { // Request message for DeleteBackup. message DeleteBackupRequest { // Required. Name of the Backup resource. - // Format: projects/*/locations/*/backupPlans/*/backups/* + // Format: `projects/*/locations/*/backupPlans/*/backups/*` string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -560,8 +580,8 @@ message DeleteBackupRequest { ]; // If provided, this value must match the current value of the - // target Backup's [etag][google.cloud.gkebackup.v1.Backup.etag] field or the request is - // rejected. + // target Backup's [etag][google.cloud.gkebackup.v1.Backup.etag] field or the + // request is rejected. string etag = 2; // If set to true, any VolumeBackups below this Backup will also be deleted. @@ -573,7 +593,7 @@ message DeleteBackupRequest { // Request message for ListVolumeBackups. message ListVolumeBackupsRequest { // Required. The Backup that contains the VolumeBackups to list. - // Format: projects/*/locations/*/backupPlans/*/backups/* + // Format: `projects/*/locations/*/backupPlans/*/backups/*` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -610,17 +630,17 @@ message ListVolumeBackupsResponse { repeated VolumeBackup volume_backups = 1; // A token which may be sent as - // [page_token][google.cloud.gkebackup.v1.ListVolumeBackupsRequest.page_token] in a subsequent - // `ListVolumeBackups` call to retrieve the next page of results. - // If this field is omitted or empty, then there are no more results to - // return. + // [page_token][google.cloud.gkebackup.v1.ListVolumeBackupsRequest.page_token] + // in a subsequent `ListVolumeBackups` call to retrieve the next page of + // results. If this field is omitted or empty, then there are no more results + // to return. string next_page_token = 2; } // Request message for GetVolumeBackup. message GetVolumeBackupRequest { // Required. Full name of the VolumeBackup resource. - // Format: projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/* + // Format: `projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*` string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -632,7 +652,7 @@ message GetVolumeBackupRequest { // Request message for CreateRestorePlan. message CreateRestorePlanRequest { // Required. The location within which to create the RestorePlan. - // Format: projects/*/locations/* + // Format: `projects/*/locations/*` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -646,18 +666,18 @@ message CreateRestorePlanRequest { // Required. The client-provided short name for the RestorePlan resource. // This name must: // - // - be between 1 and 63 characters long (inclusive) - // - consist of only lower-case ASCII letters, numbers, and dashes - // - start with a lower-case letter - // - end with a lower-case letter or number - // - be unique within the set of RestorePlans in this location + // - be between 1 and 63 characters long (inclusive) + // - consist of only lower-case ASCII letters, numbers, and dashes + // - start with a lower-case letter + // - end with a lower-case letter or number + // - be unique within the set of RestorePlans in this location string restore_plan_id = 3 [(google.api.field_behavior) = REQUIRED]; } // Request message for ListRestorePlans. message ListRestorePlansRequest { // Required. The location that contains the RestorePlans to list. - // Format: projects/*/locations/* + // Format: `projects/*/locations/*` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -694,10 +714,10 @@ message ListRestorePlansResponse { repeated RestorePlan restore_plans = 1; // A token which may be sent as - // [page_token][google.cloud.gkebackup.v1.ListRestorePlansRequest.page_token] in a subsequent - // `ListRestorePlans` call to retrieve the next page of results. - // If this field is omitted or empty, then there are no more results to - // return. + // [page_token][google.cloud.gkebackup.v1.ListRestorePlansRequest.page_token] + // in a subsequent `ListRestorePlans` call to retrieve the next page of + // results. If this field is omitted or empty, then there are no more results + // to return. string next_page_token = 2; // Locations that could not be reached. @@ -707,7 +727,7 @@ message ListRestorePlansResponse { // Request message for GetRestorePlan. message GetRestorePlanRequest { // Required. Fully qualified RestorePlan name. - // Format: projects/*/locations/*/restorePlans/* + // Format: `projects/*/locations/*/restorePlans/*` string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -718,8 +738,8 @@ message GetRestorePlanRequest { // Request message for UpdateRestorePlan. message UpdateRestorePlanRequest { - // Required. A new version of the RestorePlan resource that contains updated fields. - // This may be sparsely populated if an `update_mask` is provided. + // Required. A new version of the RestorePlan resource that contains updated + // fields. This may be sparsely populated if an `update_mask` is provided. RestorePlan restore_plan = 1 [(google.api.field_behavior) = REQUIRED]; // This is used to specify the fields to be overwritten in the @@ -736,7 +756,7 @@ message UpdateRestorePlanRequest { // Request message for DeleteRestorePlan. message DeleteRestorePlanRequest { // Required. Fully qualified RestorePlan name. - // Format: projects/*/locations/*/restorePlans/* + // Format: `projects/*/locations/*/restorePlans/*` string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -745,8 +765,8 @@ message DeleteRestorePlanRequest { ]; // If provided, this value must match the current value of the - // target RestorePlan's [etag][google.cloud.gkebackup.v1.RestorePlan.etag] field or the request is - // rejected. + // target RestorePlan's [etag][google.cloud.gkebackup.v1.RestorePlan.etag] + // field or the request is rejected. string etag = 2; // If set to true, any Restores below this RestorePlan will also be deleted. @@ -758,7 +778,7 @@ message DeleteRestorePlanRequest { // Request message for CreateRestore. message CreateRestoreRequest { // Required. The RestorePlan within which to create the Restore. - // Format: projects/*/locations/*/restorePlans/* + // Format: `projects/*/locations/*/restorePlans/*` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -772,18 +792,18 @@ message CreateRestoreRequest { // Required. The client-provided short name for the Restore resource. // This name must: // - // - be between 1 and 63 characters long (inclusive) - // - consist of only lower-case ASCII letters, numbers, and dashes - // - start with a lower-case letter - // - end with a lower-case letter or number - // - be unique within the set of Restores in this RestorePlan. + // - be between 1 and 63 characters long (inclusive) + // - consist of only lower-case ASCII letters, numbers, and dashes + // - start with a lower-case letter + // - end with a lower-case letter or number + // - be unique within the set of Restores in this RestorePlan. string restore_id = 3 [(google.api.field_behavior) = REQUIRED]; } // Request message for ListRestores. message ListRestoresRequest { // Required. The RestorePlan that contains the Restores to list. - // Format: projects/*/locations/*/restorePlans/* + // Format: `projects/*/locations/*/restorePlans/*` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -819,10 +839,10 @@ message ListRestoresResponse { // The list of Restores matching the given criteria. repeated Restore restores = 1; - // A token which may be sent as [page_token][google.cloud.gkebackup.v1.ListRestoresRequest.page_token] - // in a subsequent `ListRestores` call to retrieve the next page of results. - // If this field is omitted or empty, then there are no more results to - // return. + // A token which may be sent as + // [page_token][google.cloud.gkebackup.v1.ListRestoresRequest.page_token] in a + // subsequent `ListRestores` call to retrieve the next page of results. If + // this field is omitted or empty, then there are no more results to return. string next_page_token = 2; // Locations that could not be reached. @@ -832,7 +852,7 @@ message ListRestoresResponse { // Request message for GetRestore. message GetRestoreRequest { // Required. Name of the restore resource. - // Format: projects/*/locations/*/restorePlans/*/restores/* + // Format: `projects/*/locations/*/restorePlans/*/restores/*` string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -843,8 +863,8 @@ message GetRestoreRequest { // Request message for UpdateRestore. message UpdateRestoreRequest { - // Required. A new version of the Restore resource that contains updated fields. - // This may be sparsely populated if an `update_mask` is provided. + // Required. A new version of the Restore resource that contains updated + // fields. This may be sparsely populated if an `update_mask` is provided. Restore restore = 1 [(google.api.field_behavior) = REQUIRED]; // This is used to specify the fields to be overwritten in the @@ -861,7 +881,7 @@ message UpdateRestoreRequest { // Request message for DeleteRestore. message DeleteRestoreRequest { // Required. Full name of the Restore - // Format: projects/*/locations/*/restorePlans/*/restores/* + // Format: `projects/*/locations/*/restorePlans/*/restores/*` string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -870,8 +890,8 @@ message DeleteRestoreRequest { ]; // If provided, this value must match the current value of the - // target Restore's [etag][google.cloud.gkebackup.v1.Restore.etag] field or the request is - // rejected. + // target Restore's [etag][google.cloud.gkebackup.v1.Restore.etag] field or + // the request is rejected. string etag = 2; // If set to true, any VolumeRestores below this restore will also be deleted. @@ -883,7 +903,7 @@ message DeleteRestoreRequest { // Request message for ListVolumeRestores. message ListVolumeRestoresRequest { // Required. The Restore that contains the VolumeRestores to list. - // Format: projects/*/locations/*/restorePlans/*/restores/* + // Format: `projects/*/locations/*/restorePlans/*/restores/*` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -920,17 +940,17 @@ message ListVolumeRestoresResponse { repeated VolumeRestore volume_restores = 1; // A token which may be sent as - // [page_token][google.cloud.gkebackup.v1.ListVolumeRestoresRequest.page_token] in a subsequent - // `ListVolumeRestores` call to retrieve the next page of results. - // If this field is omitted or empty, then there are no more results to - // return. + // [page_token][google.cloud.gkebackup.v1.ListVolumeRestoresRequest.page_token] + // in a subsequent `ListVolumeRestores` call to retrieve the next page of + // results. If this field is omitted or empty, then there are no more results + // to return. string next_page_token = 2; } // Request message for GetVolumeRestore. message GetVolumeRestoreRequest { // Required. Full name of the VolumeRestore resource. - // Format: projects/*/locations/*/restorePlans/*/restores/*/volumeRestores/* + // Format: `projects/*/locations/*/restorePlans/*/restores/*/volumeRestores/*` string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { diff --git a/third_party/googleapis/google/cloud/gkebackup/v1/gkebackup_v1.yaml b/third_party/googleapis/google/cloud/gkebackup/v1/gkebackup_v1.yaml index 2504b8a1a..2241aae70 100644 --- a/third_party/googleapis/google/cloud/gkebackup/v1/gkebackup_v1.yaml +++ b/third_party/googleapis/google/cloud/gkebackup/v1/gkebackup_v1.yaml @@ -5,6 +5,9 @@ title: Backup for GKE API apis: - name: google.cloud.gkebackup.v1.BackupForGKE +- name: google.cloud.location.Locations +- name: google.iam.v1.IAMPolicy +- name: google.longrunning.Operations types: - name: google.cloud.gkebackup.v1.OperationMetadata @@ -130,3 +133,47 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform + +publishing: + new_issue_uri: https://issuetracker.google.com/issues/new?component=1126471 + documentation_uri: https://cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke/concepts/backup-for-gke + api_short_name: gkebackup + github_label: 'api: gkebackup' + doc_tag_prefix: gkebackup + organization: CLOUD + library_settings: + - version: google.cloud.gkebackup.v1 + launch_stage: GA + java_settings: + common: + destinations: + - PACKAGE_MANAGER + cpp_settings: + common: + destinations: + - PACKAGE_MANAGER + php_settings: + common: + destinations: + - PACKAGE_MANAGER + python_settings: + common: + destinations: + - PACKAGE_MANAGER + node_settings: + common: + destinations: + - PACKAGE_MANAGER + dotnet_settings: + common: + destinations: + - PACKAGE_MANAGER + ruby_settings: + common: + destinations: + - PACKAGE_MANAGER + go_settings: + common: + destinations: + - PACKAGE_MANAGER + proto_reference_documentation_uri: https://cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke/reference/rest diff --git a/third_party/googleapis/google/cloud/gkebackup/v1/restore.proto b/third_party/googleapis/google/cloud/gkebackup/v1/restore.proto index 7f97e56c7..968b4f447 100644 --- a/third_party/googleapis/google/cloud/gkebackup/v1/restore.proto +++ b/third_party/googleapis/google/cloud/gkebackup/v1/restore.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -63,7 +63,7 @@ message Restore { } // Output only. The full name of the Restore resource. - // Format: projects/*/locations/*/restorePlans/*/restores/* + // Format: `projects/*/locations/*/restorePlans/*/restores/*` string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Server generated global unique identifier of @@ -71,19 +71,23 @@ message Restore { string uid = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The timestamp when this Restore resource was created. - google.protobuf.Timestamp create_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The timestamp when this Restore resource was last // updated. - google.protobuf.Timestamp update_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; // User specified descriptive string for this Restore. string description = 5; - // Required. Immutable. A reference to the [Backup][google.cloud.gkebackup.v1.Backup] used as the source from which this Restore - // will restore. Note that this Backup must be a sub-resource of the - // RestorePlan's [backup_plan][google.cloud.gkebackup.v1.RestorePlan.backup_plan]. - // Format: projects/*/locations/*/backupPlans/*/backups/*. + // Required. Immutable. A reference to the + // [Backup][google.cloud.gkebackup.v1.Backup] used as the source from which + // this Restore will restore. Note that this Backup must be a sub-resource of + // the RestorePlan's + // [backup_plan][google.cloud.gkebackup.v1.RestorePlan.backup_plan]. Format: + // `projects/*/locations/*/backupPlans/*/backups/*`. string backup = 6 [ (google.api.field_behavior) = IMMUTABLE, (google.api.field_behavior) = REQUIRED, @@ -95,10 +99,11 @@ message Restore { // Output only. The target cluster into which this Restore will restore data. // Valid formats: // - // - projects/*/locations/*/clusters/* - // - projects/*/zones/*/clusters/* + // - `projects/*/locations/*/clusters/*` + // - `projects/*/zones/*/clusters/*` // - // Inherited from parent RestorePlan's [cluster][google.cloud.gkebackup.v1.RestorePlan.cluster] value. + // Inherited from parent RestorePlan's + // [cluster][google.cloud.gkebackup.v1.RestorePlan.cluster] value. string cluster = 7 [ (google.api.field_behavior) = OUTPUT_ONLY, (google.api.resource_reference) = { @@ -106,7 +111,8 @@ message Restore { } ]; - // Output only. Configuration of the Restore. Inherited from parent RestorePlan's + // Output only. Configuration of the Restore. Inherited from parent + // RestorePlan's // [restore_config][google.cloud.gkebackup.v1.RestorePlan.restore_config]. RestoreConfig restore_config = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -116,27 +122,31 @@ message Restore { // Output only. The current state of the Restore. State state = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Human-readable description of why the Restore is in its current state. + // Output only. Human-readable description of why the Restore is in its + // current state. string state_reason = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Timestamp of when the restore operation completed. - google.protobuf.Timestamp complete_time = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp complete_time = 12 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Number of resources restored during the restore execution. - int32 resources_restored_count = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; + int32 resources_restored_count = 13 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Number of resources excluded during the restore execution. - int32 resources_excluded_count = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; + int32 resources_excluded_count = 14 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Number of resources that failed to be restored during the restore - // execution. + // Output only. Number of resources that failed to be restored during the + // restore execution. int32 resources_failed_count = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Number of volumes restored during the restore execution. int32 volumes_restored_count = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. `etag` is used for optimistic concurrency control as a way to help - // prevent simultaneous updates of a restore from overwriting each other. + // Output only. `etag` is used for optimistic concurrency control as a way to + // help prevent simultaneous updates of a restore from overwriting each other. // It is strongly suggested that systems make use of the `etag` in the // read-modify-write cycle to perform restore updates in order to avoid // race conditions: An `etag` is returned in the response to `GetRestore`, @@ -147,24 +157,24 @@ message Restore { } // Configuration of a restore. -// Next id: 9 +// Next id: 12 message RestoreConfig { - // Defines how volume data should be restored + // Defines how volume data should be restored. enum VolumeDataRestorePolicy { // Unspecified (illegal). VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED = 0; - // For each PVC to be restored, will create a new underlying volume (and PV) + // For each PVC to be restored, create a new underlying volume and PV // from the corresponding VolumeBackup contained within the Backup. RESTORE_VOLUME_DATA_FROM_BACKUP = 1; // For each PVC to be restored, attempt to reuse the original PV contained - // in the Backup (with its original underlying volume). Note that option + // in the Backup (with its original underlying volume). This option // is likely only usable when restoring a workload to its original cluster. REUSE_VOLUME_HANDLE_FROM_BACKUP = 2; - // For each PVC to be restored, PVCs will be created without any particular - // action to restore data. In this case, the normal Kubernetes provisioning + // For each PVC to be restored, create PVC without any particular + // action to restore data. In this case, the normal Kubernetes provisioning // logic would kick in, and this would likely result in either dynamically // provisioning blank PVs or binding to statically provisioned PVs. NO_VOLUME_DATA_RESTORATION = 3; @@ -181,8 +191,8 @@ message RestoreConfig { USE_EXISTING_VERSION = 1; // Delete the existing version before re-creating it from the Backup. - // Note that this is a dangerous option which could cause unintentional - // data loss if used inappropriately - for example, deleting a CRD will + // This is a dangerous option which could cause unintentional + // data loss if used inappropriately. For example, deleting a CRD will // cause Kubernetes to delete all CRs of that type. USE_BACKUP_VERSION = 2; } @@ -224,13 +234,44 @@ message RestoreConfig { string resource_kind = 2; } - // Identifies the cluster-scoped resources to restore from the Backup. + // Defines the scope of cluster-scoped resources to restore. + // + // Some group kinds are not reasonable choices for a restore, and will cause + // an error if selected here. Any scope selection that would restore + // "all valid" resources automatically excludes these group kinds. + // - gkebackup.gke.io/BackupJob + // - gkebackup.gke.io/RestoreJob + // - metrics.k8s.io/NodeMetrics + // - migration.k8s.io/StorageState + // - migration.k8s.io/StorageVersionMigration + // - Node + // - snapshot.storage.k8s.io/VolumeSnapshotContent + // - storage.k8s.io/CSINode + // + // Some group kinds are driven by restore configuration elsewhere, + // and will cause an error if selected here. + // - Namespace + // - PersistentVolume message ClusterResourceRestoreScope { - // A list of "types" of cluster-scoped resources to be restored from the - // Backup. An empty list means that NO cluster-scoped resources will be - // restored. Note that Namespaces and PersistentVolume restoration is - // handled separately and is not governed by this field. + // A list of cluster-scoped resource group kinds to restore from the + // backup. If specified, only the selected resources will be restored. + // Mutually exclusive to any other field in the message. repeated GroupKind selected_group_kinds = 1; + + // A list of cluster-scoped resource group kinds to NOT restore from the + // backup. If specified, all valid cluster-scoped resources will be + // restored except for those specified in the list. + // Mutually exclusive to any other field in the message. + repeated GroupKind excluded_group_kinds = 2; + + // If True, all valid cluster-scoped resources will be restored. + // Mutually exclusive to any other field in the message. + bool all_group_kinds = 3; + + // If True, no cluster-scoped resources will be restored. + // This has the same restore scope as if the message is not defined. + // Mutually exclusive to any other field in the message. + bool no_group_kinds = 4; } // A transformation rule to be applied against Kubernetes resources as they @@ -270,7 +311,7 @@ message RestoreConfig { // value does not match this expression. If this field is NOT specified, // then ALL fields matched by the target_json_path expression will undergo // substitution. Note that an empty (e.g., "", rather than unspecified) - // value for for this field will only match empty fields. + // value for this field will only match empty fields. string original_value_pattern = 4; // This is the new value to set for any fields that pass the filtering and @@ -279,6 +320,111 @@ message RestoreConfig { string new_value = 5; } + // TransformationRuleAction defines a TransformationRule action based on the + // JSON Patch RFC (https://www.rfc-editor.org/rfc/rfc6902) + message TransformationRuleAction { + // Possible values for operations of a transformation rule action. + enum Op { + // Unspecified operation + OP_UNSPECIFIED = 0; + + // The "remove" operation removes the value at the target location. + REMOVE = 1; + + // The "move" operation removes the value at a specified location and + // adds it to the target location. + MOVE = 2; + + // The "copy" operation copies the value at a specified location to the + // target location. + COPY = 3; + + // The "add" operation performs one of the following functions, + // depending upon what the target location references: + // 1. If the target location specifies an array index, a new value is + // inserted into the array at the specified index. + // 2. If the target location specifies an object member that does not + // already exist, a new member is added to the object. + // 3. If the target location specifies an object member that does exist, + // that member's value is replaced. + ADD = 4; + + // The "test" operation tests that a value at the target location is + // equal to a specified value. + TEST = 5; + + // The "replace" operation replaces the value at the target location + // with a new value. The operation object MUST contain a "value" member + // whose content specifies the replacement value. + REPLACE = 6; + } + + // Required. op specifies the operation to perform. + Op op = 1 [(google.api.field_behavior) = REQUIRED]; + + // A string containing a JSON Pointer value that references the location in + // the target document to move the value from. + string from_path = 2; + + // A string containing a JSON-Pointer value that references a location + // within the target document where the operation is performed. + string path = 3; + + // A string that specifies the desired value in string format to + // use for transformation. + string value = 4; + } + + // ResourceFilter specifies matching criteria to limit the scope of a + // change to a specific set of kubernetes resources that are selected for + // restoration from a backup. + message ResourceFilter { + // (Filtering parameter) Any resource subject to transformation must be + // contained within one of the listed Kubernetes Namespace in the Backup. + // If this field is not provided, no namespace filtering will be performed + // (all resources in all Namespaces, including all cluster-scoped resources, + // will be candidates for transformation). + // To mix cluster-scoped and namespaced resources in the same rule, use an + // empty string ("") as one of the target namespaces. + repeated string namespaces = 1; + + // (Filtering parameter) Any resource subject to transformation must belong + // to one of the listed "types". If this field is not provided, no type + // filtering will be performed (all resources of all types matching previous + // filtering parameters will be candidates for transformation). + repeated GroupKind group_kinds = 2; + + // This is a [JSONPath] + // (https://github.com/json-path/JsonPath/blob/master/README.md) + // expression that matches specific fields of candidate + // resources and it operates as a filtering parameter (resources that + // are not matched with this expression will not be candidates for + // transformation). + string json_path = 3; + } + + // A transformation rule to be applied against Kubernetes resources as they + // are selected for restoration from a Backup. A rule contains both filtering + // logic (which resources are subject to transform) and transformation logic. + message TransformationRule { + // Required. A list of transformation rule actions to take against candidate + // resources. Actions are executed in order defined - this order matters, as + // they could potentially interfere with each other and the first operation + // could affect the outcome of the second operation. + repeated TransformationRuleAction field_actions = 1 + [(google.api.field_behavior) = REQUIRED]; + + // This field is used to specify a set of fields that should be used to + // determine which resources in backup should be acted upon by the supplied + // transformation rule actions, and this will ensure that only specific + // resources are affected by transformation rule actions. + ResourceFilter resource_filter = 2; + + // The description is a user specified string description of the + // transformation rule. + string description = 3; + } + // Specifies the mechanism to be used to restore volume data. // Default: VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED (will be treated as // NO_VOLUME_DATA_RESTORATION). @@ -287,7 +433,8 @@ message RestoreConfig { // Defines the behavior for handling the situation where cluster-scoped // resources being restored already exist in the target cluster. This MUST be // set to a value other than CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED if - // [cluster_resource_restore_scope][google.cloud.gkebackup.v1.RestoreConfig.cluster_resource_restore_scope] is not empty. + // [cluster_resource_restore_scope][google.cloud.gkebackup.v1.RestoreConfig.cluster_resource_restore_scope] + // is not empty. ClusterResourceConflictPolicy cluster_resource_conflict_policy = 2; // Defines the behavior for handling the situation where sets of namespaced @@ -302,6 +449,12 @@ message RestoreConfig { // Specifies the namespaced resources to restore from the Backup. // Only one of the entries may be specified. If not specified, NO namespaced // resources will be restored. + // + // Note: Resources will never be restored into *managed* namespaces such as + // `kube-system`, `kube-public`, or `kube-node-lease`. These namespaces + // are silently skipped when + // [all_namespaces][google.cloud.gkebackup.v1.RestoreConfig.all_namespaces] is + // selected. Listing them explicitly will result in an error. oneof namespaced_resource_restore_scope { // Restore all namespaced resources in the Backup if set to "True". // Specifying this field to "False" is an error. @@ -315,6 +468,14 @@ message RestoreConfig { // ProtectedApplications and all the resources to which they refer will be // restored. NamespacedNames selected_applications = 7; + + // Do not restore any namespaced resources if set to "True". + // Specifying this field to "False" is not allowed. + bool no_namespaces = 9; + + // A list of selected namespaces excluded from restoration. All + // namespaces except those in this list will be restored. + Namespaces excluded_namespaces = 10; } // A list of transformation rules to be applied against Kubernetes resources @@ -323,4 +484,11 @@ message RestoreConfig { // the filtering logic of subsequent rules. An empty list means no // substitution will occur. repeated SubstitutionRule substitution_rules = 8; + + // A list of transformation rules to be applied against Kubernetes resources + // as they are selected for restoration from a Backup. Rules are executed in + // order defined - this order matters, as changes made by a rule may impact + // the filtering logic of subsequent rules. An empty list means no + // transformation will occur. + repeated TransformationRule transformation_rules = 11; } diff --git a/third_party/googleapis/google/cloud/gkebackup/v1/restore_plan.proto b/third_party/googleapis/google/cloud/gkebackup/v1/restore_plan.proto index 32bc31b62..117412190 100644 --- a/third_party/googleapis/google/cloud/gkebackup/v1/restore_plan.proto +++ b/third_party/googleapis/google/cloud/gkebackup/v1/restore_plan.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -31,15 +31,33 @@ option ruby_package = "Google::Cloud::GkeBackup::V1"; // The configuration of a potential series of Restore operations to be performed // against Backups belong to a particular BackupPlan. -// Next id: 11 +// Next id: 13 message RestorePlan { option (google.api.resource) = { type: "gkebackup.googleapis.com/RestorePlan" pattern: "projects/{project}/locations/{location}/restorePlans/{restore_plan}" }; + // State + enum State { + // Default first value for Enums. + STATE_UNSPECIFIED = 0; + + // Waiting for cluster state to be RUNNING. + CLUSTER_PENDING = 1; + + // The RestorePlan has successfully been created and is ready for Restores. + READY = 2; + + // RestorePlan creation has failed. + FAILED = 3; + + // The RestorePlan is in the process of being deleted. + DELETING = 4; + } + // Output only. The full name of the RestorePlan resource. - // Format: projects/*/locations/*/restorePlans/*. + // Format: `projects/*/locations/*/restorePlans/*`. string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Server generated global unique identifier of @@ -48,18 +66,21 @@ message RestorePlan { // Output only. The timestamp when this RestorePlan resource was // created. - google.protobuf.Timestamp create_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The timestamp when this RestorePlan resource was last // updated. - google.protobuf.Timestamp update_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; // User specified descriptive string for this RestorePlan. string description = 5; - // Required. Immutable. A reference to the [BackupPlan][google.cloud.gkebackup.v1.BackupPlan] from which Backups may be used as the - // source for Restores created via this RestorePlan. - // Format: projects/*/locations/*/backupPlans/*. + // Required. Immutable. A reference to the + // [BackupPlan][google.cloud.gkebackup.v1.BackupPlan] from which Backups may + // be used as the source for Restores created via this RestorePlan. Format: + // `projects/*/locations/*/backupPlans/*`. string backup_plan = 6 [ (google.api.field_behavior) = IMMUTABLE, (google.api.field_behavior) = REQUIRED, @@ -68,13 +89,12 @@ message RestorePlan { } ]; - // Required. Immutable. The target cluster into which Restores created via this RestorePlan - // will restore data. NOTE: the cluster's region must be the same as the - // RestorePlan. - // Valid formats: + // Required. Immutable. The target cluster into which Restores created via + // this RestorePlan will restore data. NOTE: the cluster's region must be the + // same as the RestorePlan. Valid formats: // - // - projects/*/locations/*/clusters/* - // - projects/*/zones/*/clusters/* + // - `projects/*/locations/*/clusters/*` + // - `projects/*/zones/*/clusters/*` string cluster = 7 [ (google.api.field_behavior) = IMMUTABLE, (google.api.field_behavior) = REQUIRED, @@ -89,8 +109,8 @@ message RestorePlan { // A set of custom labels supplied by user. map labels = 9; - // Output only. `etag` is used for optimistic concurrency control as a way to help - // prevent simultaneous updates of a restore from overwriting each other. + // Output only. `etag` is used for optimistic concurrency control as a way to + // help prevent simultaneous updates of a restore from overwriting each other. // It is strongly suggested that systems make use of the `etag` in the // read-modify-write cycle to perform restore updates in order to avoid // race conditions: An `etag` is returned in the response to `GetRestorePlan`, @@ -98,4 +118,13 @@ message RestorePlan { // `UpdateRestorePlan` or `DeleteRestorePlan` to ensure that their change // will be applied to the same version of the resource. string etag = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. State of the RestorePlan. This State field reflects the + // various stages a RestorePlan can be in + // during the Create operation. + State state = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Human-readable description of why RestorePlan is in the + // current `state` + string state_reason = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/cloud/gkebackup/v1/volume.proto b/third_party/googleapis/google/cloud/gkebackup/v1/volume.proto index a7914291c..37c62f2c5 100644 --- a/third_party/googleapis/google/cloud/gkebackup/v1/volume.proto +++ b/third_party/googleapis/google/cloud/gkebackup/v1/volume.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -79,7 +79,7 @@ message VolumeBackup { } // Output only. The full name of the VolumeBackup resource. - // Format: projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*. + // Format: `projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*`. string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Server generated global unique identifier of @@ -88,45 +88,50 @@ message VolumeBackup { // Output only. The timestamp when this VolumeBackup resource was // created. - google.protobuf.Timestamp create_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The timestamp when this VolumeBackup resource was last // updated. - google.protobuf.Timestamp update_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. A reference to the source Kubernetes PVC from which this VolumeBackup - // was created. + // Output only. A reference to the source Kubernetes PVC from which this + // VolumeBackup was created. NamespacedName source_pvc = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. A storage system-specific opaque handle to the underlying volume backup. + // Output only. A storage system-specific opaque handle to the underlying + // volume backup. string volume_backup_handle = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The format used for the volume backup. VolumeBackupFormat format = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The aggregate size of the underlying artifacts associated with this - // VolumeBackup in the backup storage. This may change over time when + // Output only. The aggregate size of the underlying artifacts associated with + // this VolumeBackup in the backup storage. This may change over time when // multiple backups of the same volume share the same backup storage // location. In particular, this is likely to increase in size when // the immediately preceding backup of the same volume is deleted. int64 storage_bytes = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The minimum size of the disk to which this VolumeBackup can be restored. + // Output only. The minimum size of the disk to which this VolumeBackup can be + // restored. int64 disk_size_bytes = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The timestamp when the associated underlying volume backup // operation completed. - google.protobuf.Timestamp complete_time = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp complete_time = 10 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The current state of this VolumeBackup. State state = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. A human readable message explaining why the VolumeBackup is in its current - // state. + // Output only. A human readable message explaining why the VolumeBackup is in + // its current state. string state_message = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. `etag` is used for optimistic concurrency control as a way to help - // prevent simultaneous updates of a volume backup from overwriting each + // Output only. `etag` is used for optimistic concurrency control as a way to + // help prevent simultaneous updates of a volume backup from overwriting each // other. It is strongly suggested that systems make use of the `etag` in the // read-modify-write cycle to perform volume backup updates in order to avoid // race conditions. @@ -173,7 +178,7 @@ message VolumeRestore { } // Output only. Full name of the VolumeRestore resource. - // Format: projects/*/locations/*/restorePlans/*/restores/*/volumeRestores/*. + // Format: `projects/*/locations/*/restorePlans/*/restores/*/volumeRestores/*` string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Server generated global unique identifier of @@ -182,21 +187,24 @@ message VolumeRestore { // Output only. The timestamp when this VolumeRestore resource was // created. - google.protobuf.Timestamp create_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The timestamp when this VolumeRestore resource was last // updated. - google.protobuf.Timestamp update_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The full name of the VolumeBackup from which the volume will be restored. - // Format: projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*. + // Output only. The full name of the VolumeBackup from which the volume will + // be restored. Format: + // `projects/*/locations/*/backupPlans/*/backups/*/volumeBackups/*`. string volume_backup = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The reference to the target Kubernetes PVC to be restored. NamespacedName target_pvc = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. A storage system-specific opaque handler to the underlying volume created - // for the target PVC from the volume backup. + // Output only. A storage system-specific opaque handler to the underlying + // volume created for the target PVC from the volume backup. string volume_handle = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The type of volume provisioned @@ -204,17 +212,18 @@ message VolumeRestore { // Output only. The timestamp when the associated underlying volume // restoration completed. - google.protobuf.Timestamp complete_time = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp complete_time = 9 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The current state of this VolumeRestore. State state = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. A human readable message explaining why the VolumeRestore is in its - // current state. + // Output only. A human readable message explaining why the VolumeRestore is + // in its current state. string state_message = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. `etag` is used for optimistic concurrency control as a way to help - // prevent simultaneous updates of a volume restore from overwriting each + // Output only. `etag` is used for optimistic concurrency control as a way to + // help prevent simultaneous updates of a volume restore from overwriting each // other. It is strongly suggested that systems make use of the `etag` in the // read-modify-write cycle to perform volume restore updates in order to avoid // race conditions. diff --git a/third_party/googleapis/google/cloud/gkeconnect/gateway/BUILD.bazel b/third_party/googleapis/google/cloud/gkeconnect/gateway/BUILD.bazel index 11f9c6f58..4b827cdf0 100644 --- a/third_party/googleapis/google/cloud/gkeconnect/gateway/BUILD.bazel +++ b/third_party/googleapis/google/cloud/gkeconnect/gateway/BUILD.bazel @@ -22,7 +22,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-gke_connect-gateway", "ruby-cloud-env-prefix=GKE_CONNECT_GATEWAY", - "ruby-cloud-wrapper-of=v1beta1:0.0", + "ruby-cloud-wrapper-of=v1beta1:0.5", "ruby-cloud-product-url=https://cloud.google.com/anthos/multicluster-management/gateway/", "ruby-cloud-api-id=connectgateway.googleapis.com", "ruby-cloud-api-shortname=connectgateway", diff --git a/third_party/googleapis/google/cloud/gkeconnect/gateway/v1/BUILD.bazel b/third_party/googleapis/google/cloud/gkeconnect/gateway/v1/BUILD.bazel index cc8ca41ce..94bca53f4 100644 --- a/third_party/googleapis/google/cloud/gkeconnect/gateway/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/gkeconnect/gateway/v1/BUILD.bazel @@ -16,7 +16,6 @@ package(default_visibility = ["//visibility:public"]) # Common ############################################################################## load("@rules_proto//proto:defs.bzl", "proto_library") -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") proto_library( name = "gateway_proto", @@ -105,7 +104,6 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -114,20 +112,9 @@ php_proto_library( deps = [":gateway_proto"], ) -php_grpc_library( - name = "gateway_php_grpc", - srcs = [":gateway_proto"], - deps = [":gateway_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/gkeconnect/gateway/v1alpha1/BUILD.bazel b/third_party/googleapis/google/cloud/gkeconnect/gateway/v1alpha1/BUILD.bazel index 4574178a5..903ab9537 100644 --- a/third_party/googleapis/google/cloud/gkeconnect/gateway/v1alpha1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/gkeconnect/gateway/v1alpha1/BUILD.bazel @@ -16,7 +16,6 @@ package(default_visibility = ["//visibility:public"]) # Common ############################################################################## load("@rules_proto//proto:defs.bzl", "proto_library") -load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") proto_library( name = "gateway_proto", @@ -105,7 +104,6 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -114,20 +112,9 @@ php_proto_library( deps = [":gateway_proto"], ) -php_grpc_library( - name = "gateway_php_grpc", - srcs = [":gateway_proto"], - deps = [":gateway_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/gkeconnect/gateway/v1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/gkeconnect/gateway/v1beta1/BUILD.bazel index ba1a6dc45..0ea53379c 100644 --- a/third_party/googleapis/google/cloud/gkeconnect/gateway/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/gkeconnect/gateway/v1beta1/BUILD.bazel @@ -66,6 +66,7 @@ java_gapic_library( srcs = [":gateway_proto_with_info"], grpc_service_config = "connectgw_grpc_service_config.json", rest_numeric_enums = False, + service_yaml = "connectgateway_v1beta1.yaml", test_deps = [ ":gateway_java_grpc", ], @@ -105,7 +106,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -135,19 +135,13 @@ go_gapic_library( ], ) -go_test( - name = "gateway_go_gapic_test", - srcs = [":gateway_go_gapic_srcjar_test"], - embed = [":gateway_go_gapic"], - importpath = "cloud.google.com/go/gkeconnect/gateway/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-gkeconnect-gateway-v1beta1-go", deps = [ ":gateway_go_gapic", ":gateway_go_gapic_srcjar-metadata.srcjar", + ":gateway_go_gapic_srcjar-snippets.srcjar", ":gateway_go_gapic_srcjar-test.srcjar", ":gateway_go_proto", ], @@ -198,7 +192,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -207,23 +200,15 @@ php_proto_library( deps = [":gateway_proto"], ) -php_grpc_library( - name = "gateway_php_grpc", - srcs = [":gateway_proto"], - deps = [":gateway_php_proto"], -) - php_gapic_library( name = "gateway_php_gapic", srcs = [":gateway_proto_with_info"], grpc_service_config = "connectgw_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = False, service_yaml = "connectgateway_v1beta1.yaml", transport = "grpc+rest", - deps = [ - ":gateway_php_grpc", - ":gateway_php_proto", - ], + deps = [":gateway_php_proto"], ) # Open Source Packages @@ -231,7 +216,6 @@ php_gapic_assembly_pkg( name = "google-cloud-gkeconnect-gateway-v1beta1-php", deps = [ ":gateway_php_gapic", - ":gateway_php_grpc", ":gateway_php_proto", ], ) diff --git a/third_party/googleapis/google/cloud/gkehub/BUILD.bazel b/third_party/googleapis/google/cloud/gkehub/BUILD.bazel index 4ed9c5d18..57e2bc8b3 100644 --- a/third_party/googleapis/google/cloud/gkehub/BUILD.bazel +++ b/third_party/googleapis/google/cloud/gkehub/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-gke_hub", "ruby-cloud-env-prefix=GKE_HUB", - "ruby-cloud-wrapper-of=v1:0.0;v1beta1:0.0", + "ruby-cloud-wrapper-of=v1:0.8;v1beta1:0.10", "ruby-cloud-product-url=https://cloud.google.com/anthos/clusters/docs", "ruby-cloud-api-id=gkehub.googleapis.com", "ruby-cloud-api-shortname=gkehub", ], ruby_cloud_description = "The GKE Hub API centrally manages features and services on all your Kubernetes clusters running in a variety of environments, including Google cloud, on premises in customer datacenters, or other third party clouds.", ruby_cloud_title = "GKE Hub", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/gkehub/v1/BUILD.bazel b/third_party/googleapis/google/cloud/gkehub/v1/BUILD.bazel index aacd9eb5a..3b86e6261 100644 --- a/third_party/googleapis/google/cloud/gkehub/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/gkehub/v1/BUILD.bazel @@ -18,6 +18,11 @@ package(default_visibility = ["//visibility:public"]) load("@rules_proto//proto:defs.bzl", "proto_library") load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +_PROTO_SUBPACKAGE_DEPS = [ + "//google/cloud/gkehub/v1/multiclusteringress:multiclusteringress_proto", + "//google/cloud/gkehub/v1/configmanagement:configmanagement_proto", +] + proto_library( name = "gkehub_proto", srcs = [ @@ -30,13 +35,11 @@ proto_library( "//google/api:client_proto", "//google/api:field_behavior_proto", "//google/api:resource_proto", - "//google/cloud/gkehub/v1/configmanagement:configmanagement_proto", - "//google/cloud/gkehub/v1/multiclusteringress:multiclusteringress_proto", "//google/longrunning:operations_proto", "@com_google_protobuf//:empty_proto", "@com_google_protobuf//:field_mask_proto", "@com_google_protobuf//:timestamp_proto", - ], + ] + _PROTO_SUBPACKAGE_DEPS, ) proto_library_with_info( @@ -115,7 +118,7 @@ java_gapic_assembly_gradle_pkg( ":gkehub_java_grpc", ":gkehub_java_proto", ":gkehub_proto", - ] + _JAVA_PROTO_SUBPACKAGE_DEPS + _JAVA_GRPC_SUBPACKAGE_DEPS, + ] + _PROTO_SUBPACKAGE_DEPS + _JAVA_PROTO_SUBPACKAGE_DEPS + _JAVA_GRPC_SUBPACKAGE_DEPS, ) ############################################################################## @@ -126,7 +129,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -160,19 +162,13 @@ go_gapic_library( ], ) -go_test( - name = "gkehub_go_gapic_test", - srcs = [":gkehub_go_gapic_srcjar_test"], - embed = [":gkehub_go_gapic"], - importpath = "cloud.google.com/go/gkehub/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-gkehub-v1-go", deps = [ ":gkehub_go_gapic", ":gkehub_go_gapic_srcjar-metadata.srcjar", + ":gkehub_go_gapic_srcjar-snippets.srcjar", ":gkehub_go_gapic_srcjar-test.srcjar", ":gkehub_go_proto", ], @@ -213,8 +209,6 @@ py_gapic_assembly_pkg( name = "gkehub-v1-py", deps = [ ":gkehub_py_gapic", - "//google/cloud/gkehub/v1/configmanagement:configmanagement_py_gapic", - "//google/cloud/gkehub/v1/multiclusteringress:multiclusteringress_py_gapic", ], ) @@ -225,7 +219,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -234,23 +227,15 @@ php_proto_library( deps = [":gkehub_proto"], ) -php_grpc_library( - name = "gkehub_php_grpc", - srcs = [":gkehub_proto"], - deps = [":gkehub_php_proto"], -) - php_gapic_library( name = "gkehub_php_gapic", srcs = [":gkehub_proto_with_info"], grpc_service_config = "v1_grpc_service_config.json", + migration_mode = "NEW_SURFACE_ONLY", rest_numeric_enums = True, service_yaml = "gkehub_v1.yaml", transport = "grpc+rest", - deps = [ - ":gkehub_php_grpc", - ":gkehub_php_proto", - ], + deps = [":gkehub_php_proto"], ) # Open Source Packages @@ -258,8 +243,9 @@ php_gapic_assembly_pkg( name = "google-cloud-gkehub-v1-php", deps = [ ":gkehub_php_gapic", - ":gkehub_php_grpc", ":gkehub_php_proto", + "//google/cloud/gkehub/v1/configmanagement:configmanagement_php_proto", + "//google/cloud/gkehub/v1/multiclusteringress:multiclusteringress_php_proto", ], ) @@ -336,6 +322,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "The GKE Hub API centrally manages features and services on all your Kubernetes clusters running in a variety of environments, including Google cloud, on premises in customer datacenters, or other third party clouds.", ruby_cloud_title = "GKE Hub V1", service_yaml = "gkehub_v1.yaml", + transport = "grpc+rest", deps = [ ":gkehub_ruby_grpc", ":gkehub_ruby_proto", diff --git a/third_party/googleapis/google/cloud/gkehub/v1/configmanagement/BUILD.bazel b/third_party/googleapis/google/cloud/gkehub/v1/configmanagement/BUILD.bazel index 3d30988e8..6942809f9 100644 --- a/third_party/googleapis/google/cloud/gkehub/v1/configmanagement/BUILD.bazel +++ b/third_party/googleapis/google/cloud/gkehub/v1/configmanagement/BUILD.bazel @@ -63,6 +63,7 @@ go_proto_library( load( "@com_google_googleapis_imports//:imports.bzl", "py_gapic_library", + "py_gapic_assembly_pkg", ) py_gapic_library( @@ -72,12 +73,19 @@ py_gapic_library( transport = "grpc", ) +# Open Source Packages +py_gapic_assembly_pkg( + name = "configmanagement-v1-py", + deps = [ + ":configmanagement_py_gapic", + ], +) + ############################################################################## # PHP ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -86,20 +94,9 @@ php_proto_library( deps = [":configmanagement_proto"], ) -php_grpc_library( - name = "configmanagement_php_grpc", - srcs = [":configmanagement_proto"], - deps = [":configmanagement_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/gkehub/v1/membership.proto b/third_party/googleapis/google/cloud/gkehub/v1/membership.proto index 3133403d7..ae4337cc2 100644 --- a/third_party/googleapis/google/cloud/gkehub/v1/membership.proto +++ b/third_party/googleapis/google/cloud/gkehub/v1/membership.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -41,8 +41,9 @@ message Membership { MembershipEndpoint endpoint = 4 [(google.api.field_behavior) = OPTIONAL]; } - // Output only. The full, unique name of this Membership resource in the format - // `projects/*/locations/*/memberships/{membership_id}`, set during creation. + // Output only. The full, unique name of this Membership resource in the + // format `projects/*/locations/*/memberships/{membership_id}`, set during + // creation. // // `membership_id` must be a valid RFC 1123 compliant DNS label: // @@ -54,7 +55,7 @@ message Membership { // with a maximum length of 63 characters. string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Optional. GCP labels for this membership. + // Optional. Labels for this membership. map labels = 2 [(google.api.field_behavior) = OPTIONAL]; // Output only. Description of this membership, limited to 63 characters. @@ -67,16 +68,19 @@ message Membership { MembershipState state = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. When the Membership was created. - google.protobuf.Timestamp create_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. When the Membership was last updated. - google.protobuf.Timestamp update_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. When the Membership was deleted. - google.protobuf.Timestamp delete_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp delete_time = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Optional. An externally-generated and managed ID for this Membership. This ID may - // be modified after creation, but this is not recommended. + // Optional. An externally-generated and managed ID for this Membership. This + // ID may be modified after creation, but this is not recommended. // // The ID must match the regex: `[a-zA-Z0-9][a-zA-Z0-9_\-\.]*` // @@ -84,14 +88,16 @@ message Membership { // set to the UID of the `kube-system` namespace object. string external_id = 9 [(google.api.field_behavior) = OPTIONAL]; - // Output only. For clusters using Connect, the timestamp of the most recent connection - // established with Google Cloud. This time is updated every several minutes, - // not continuously. For clusters that do not use GKE Connect, or that have - // never connected successfully, this field will be unset. - google.protobuf.Timestamp last_connection_time = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. For clusters using Connect, the timestamp of the most recent + // connection established with Google Cloud. This time is updated every + // several minutes, not continuously. For clusters that do not use GKE + // Connect, or that have never connected successfully, this field will be + // unset. + google.protobuf.Timestamp last_connection_time = 10 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Google-generated UUID for this resource. This is unique across all - // Membership resources. If a Membership resource is deleted and another + // Output only. Google-generated UUID for this resource. This is unique across + // all Membership resources. If a Membership resource is deleted and another // resource with the same name is created, it gets a different unique_id. string unique_id = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -99,34 +105,44 @@ message Membership { // See the documentation on Workload Identity for more details: // https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity Authority authority = 12 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The monitoring config information for this membership. + MonitoringConfig monitoring_config = 14 + [(google.api.field_behavior) = OPTIONAL]; } // MembershipEndpoint contains information needed to contact a Kubernetes API, // endpoint and any additional Kubernetes metadata. message MembershipEndpoint { // Optional. GKE-specific information. Only present if this Membership is a GKE cluster. - GkeCluster gke_cluster = 1 [(google.api.field_behavior) = OPTIONAL]; + GkeCluster gke_cluster = 1 [(google.api.field_behavior) = OPTIONAL]; // Output only. Useful Kubernetes-specific metadata. - KubernetesMetadata kubernetes_metadata = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + KubernetesMetadata kubernetes_metadata = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Optional. The in-cluster Kubernetes Resources that should be applied for a correctly - // registered cluster, in the steady state. These resources: + // Optional. The in-cluster Kubernetes Resources that should be applied for a + // correctly registered cluster, in the steady state. These resources: // // * Ensure that the cluster is exclusively registered to one and only one // Hub Membership. // * Propagate Workload Pool Information available in the Membership // Authority field. // * Ensure proper initial configuration of default Hub Features. - KubernetesResource kubernetes_resource = 3 [(google.api.field_behavior) = OPTIONAL]; + KubernetesResource kubernetes_resource = 3 + [(google.api.field_behavior) = OPTIONAL]; + + // Output only. Whether the lifecycle of this membership is managed by a + // google cluster platform service. + bool google_managed = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; } // KubernetesResource contains the YAML manifests and configuration for // Membership Kubernetes resources in the cluster. After CreateMembership or // UpdateMembership, these resources should be re-applied in the cluster. message KubernetesResource { - // Input only. The YAML representation of the Membership CR. This field is ignored for GKE - // clusters where Hub can read the CR directly. + // Input only. The YAML representation of the Membership CR. This field is + // ignored for GKE clusters where Hub can read the CR directly. // // Callers should provide the CR that is currently present in the cluster // during CreateMembership or UpdateMembership, or leave this field empty if @@ -134,15 +150,16 @@ message KubernetesResource { // registered with another Membership. string membership_cr_manifest = 1 [(google.api.field_behavior) = INPUT_ONLY]; - // Output only. Additional Kubernetes resources that need to be applied to the cluster - // after Membership creation, and after every update. + // Output only. Additional Kubernetes resources that need to be applied to the + // cluster after Membership creation, and after every update. // // This field is only populated in the Membership returned from a successful // long-running operation from CreateMembership or UpdateMembership. It is not // populated during normal GetMembership or ListMemberships requests. To get // the resource manifest after the initial registration, the caller should // make a UpdateMembership call with an empty field mask. - repeated ResourceManifest membership_resources = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated ResourceManifest membership_resources = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The Kubernetes resources for installing the GKE Connect agent // @@ -151,7 +168,8 @@ message KubernetesResource { // populated during normal GetMembership or ListMemberships requests. To get // the resource manifest after the initial registration, the caller should // make a UpdateMembership call with an empty field mask. - repeated ResourceManifest connect_resources = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated ResourceManifest connect_resources = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Optional. Options for Kubernetes resource generation. ResourceOptions resource_options = 4 [(google.api.field_behavior) = OPTIONAL]; @@ -159,9 +177,9 @@ message KubernetesResource { // ResourceOptions represent options for Kubernetes resource generation. message ResourceOptions { - // Optional. The Connect agent version to use for connect_resources. Defaults to the - // latest GKE Connect version. The version must be a currently supported - // version, obsolete versions will be rejected. + // Optional. The Connect agent version to use for connect_resources. Defaults + // to the latest GKE Connect version. The version must be a currently + // supported version, obsolete versions will be rejected. string connect_version = 1 [(google.api.field_behavior) = OPTIONAL]; // Optional. Use `apiextensions/v1beta1` instead of `apiextensions/v1` for @@ -170,8 +188,8 @@ message ResourceOptions { // <1.16. bool v1beta1_crd = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Major version of the Kubernetes cluster. This is only used to determine - // which version to use for the CustomResourceDefinition resources, + // Optional. Major version of the Kubernetes cluster. This is only used to + // determine which version to use for the CustomResourceDefinition resources, // `apiextensions/v1beta1` or`apiextensions/v1`. string k8s_version = 3 [(google.api.field_behavior) = OPTIONAL]; } @@ -192,23 +210,30 @@ message ResourceManifest { // GkeCluster contains information specific to GKE clusters. message GkeCluster { - // Immutable. Self-link of the GCP resource for the GKE cluster. For example: + // Immutable. Self-link of the Google Cloud resource for the GKE cluster. For + // example: // // //container.googleapis.com/projects/my-project/locations/us-west1-a/clusters/my-cluster // // Zonal clusters are also supported. string resource_link = 1 [(google.api.field_behavior) = IMMUTABLE]; + + // Output only. If cluster_missing is set then it denotes that the GKE cluster + // no longer exists in the GKE Control Plane. + bool cluster_missing = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; } // KubernetesMetadata provides informational metadata for Memberships // representing Kubernetes clusters. message KubernetesMetadata { - // Output only. Kubernetes API server version string as reported by `/version`. - string kubernetes_api_server_version = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Node providerID as reported by the first node in the list of nodes on - // the Kubernetes endpoint. On Kubernetes platforms that support zero-node - // clusters (like GKE-on-GCP), the node_count will be zero and the + // Output only. Kubernetes API server version string as reported by + // `/version`. + string kubernetes_api_server_version = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Node providerID as reported by the first node in the list of + // nodes on the Kubernetes endpoint. On Kubernetes platforms that support + // zero-node clusters (like GKE-on-GCP), the node_count will be zero and the // node_provider_id will be empty. string node_provider_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -218,14 +243,44 @@ message KubernetesMetadata { // Output only. vCPU count as reported by Kubernetes nodes resources. int32 vcpu_count = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The total memory capacity as reported by the sum of all Kubernetes nodes - // resources, defined in MB. + // Output only. The total memory capacity as reported by the sum of all + // Kubernetes nodes resources, defined in MB. int32 memory_mb = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The time at which these details were last updated. This update_time is - // different from the Membership-level update_time since EndpointDetails are - // updated internally for API consumers. - google.protobuf.Timestamp update_time = 100 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The time at which these details were last updated. This + // update_time is different from the Membership-level update_time since + // EndpointDetails are updated internally for API consumers. + google.protobuf.Timestamp update_time = 100 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// This field informs Fleet-based applications/services/UIs with the necessary +// information for where each underlying Cluster reports its metrics. +message MonitoringConfig { + // Immutable. Project used to report Metrics + string project_id = 1 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Location used to report Metrics + string location = 2 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Cluster name used to report metrics. + // For Anthos on VMWare/Baremetal, it would be in format + // `memberClusters/cluster_name`; And for Anthos on MultiCloud, it would be in + // format + // `{azureClusters, awsClusters}/cluster_name`. + string cluster = 3 [(google.api.field_behavior) = IMMUTABLE]; + + // Kubernetes system metrics, if available, are written to this prefix. + // This defaults to kubernetes.io for GKE, and kubernetes.io/anthos for Anthos + // eventually. Noted: Anthos MultiCloud will have kubernetes.io prefix today + // but will migration to be under kubernetes.io/anthos + string kubernetes_metrics_prefix = 4; + + // Immutable. Cluster hash, this is a unique string generated by google code, + // which does not contain any PII, which we can use to reference the cluster. + // This is expected to be created by the monitoring stack and persisted into + // the Cluster object as well as to GKE-Hub. + string cluster_hash = 5 [(google.api.field_behavior) = IMMUTABLE]; } // MembershipState describes the state of a Membership resource. @@ -259,8 +314,8 @@ message MembershipState { // See the workload identity documentation for more details: // https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity message Authority { - // Optional. A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://` and - // be a valid URL with length <2000 characters. + // Optional. A JSON Web Token (JWT) issuer URI. `issuer` must start with + // `https://` and be a valid URL with length <2000 characters. // // If set, then Google will allow valid OIDC tokens from this issuer to // authenticate within the workload_identity_pool. OIDC discovery will be @@ -271,8 +326,8 @@ message Authority { // a new issuer (and re-enabling Workload Identity). string issuer = 1 [(google.api.field_behavior) = OPTIONAL]; - // Output only. The name of the workload identity pool in which `issuer` will be - // recognized. + // Output only. The name of the workload identity pool in which `issuer` will + // be recognized. // // There is a single Workload Identity Pool per Hub that is shared // between all Memberships that belong to that Hub. For a Hub hosted in @@ -280,11 +335,12 @@ message Authority { // although this is subject to change in newer versions of this API. string workload_identity_pool = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. An identity provider that reflects the `issuer` in the workload identity - // pool. + // Output only. An identity provider that reflects the `issuer` in the + // workload identity pool. string identity_provider = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Optional. OIDC verification keys for this Membership in JWKS format (RFC 7517). + // Optional. OIDC verification keys for this Membership in JWKS format (RFC + // 7517). // // When this field is set, OIDC discovery will NOT be performed on `issuer`, // and instead OIDC tokens will be validated using this field. diff --git a/third_party/googleapis/google/cloud/gkehub/v1/multiclusteringress/BUILD.bazel b/third_party/googleapis/google/cloud/gkehub/v1/multiclusteringress/BUILD.bazel index 9d67e2939..e22f450f6 100644 --- a/third_party/googleapis/google/cloud/gkehub/v1/multiclusteringress/BUILD.bazel +++ b/third_party/googleapis/google/cloud/gkehub/v1/multiclusteringress/BUILD.bazel @@ -62,6 +62,7 @@ go_proto_library( load( "@com_google_googleapis_imports//:imports.bzl", "py_gapic_library", + "py_gapic_assembly_pkg", ) py_gapic_library( @@ -71,12 +72,19 @@ py_gapic_library( transport = "grpc", ) +# Open Source Packages +py_gapic_assembly_pkg( + name = "multiclusteringress-v1-py", + deps = [ + ":multiclusteringress_py_gapic", + ], +) + ############################################################################## # PHP ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -85,20 +93,9 @@ php_proto_library( deps = [":multiclusteringress_proto"], ) -php_grpc_library( - name = "multiclusteringress_php_grpc", - srcs = [":multiclusteringress_proto"], - deps = [":multiclusteringress_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/gkehub/v1/service.proto b/third_party/googleapis/google/cloud/gkehub/v1/service.proto index 612f079d5..cecf242e4 100644 --- a/third_party/googleapis/google/cloud/gkehub/v1/service.proto +++ b/third_party/googleapis/google/cloud/gkehub/v1/service.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -23,6 +23,7 @@ import "google/api/resource.proto"; import "google/cloud/gkehub/v1/feature.proto"; import "google/cloud/gkehub/v1/membership.proto"; import "google/longrunning/operations.proto"; +import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; @@ -43,17 +44,22 @@ option ruby_package = "Google::Cloud::GkeHub::V1"; // * [Membership][google.cloud.gkehub.v1.Membership] // * [Feature][google.cloud.gkehub.v1.Feature] // -// GKE Hub is currently only available in the global region. +// GKE Hub is currently available in the global region and all regions in +// https://cloud.google.com/compute/docs/regions-zones. Feature is only +// available in global region while membership is global region and all the +// regions. // // **Membership management may be non-trivial:** it is recommended to use one // of the Google-provided client libraries or tools where possible when working // with Membership resources. service GkeHub { option (google.api.default_host) = "gkehub.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Lists Memberships in a given project and location. - rpc ListMemberships(ListMembershipsRequest) returns (ListMembershipsResponse) { + rpc ListMemberships(ListMembershipsRequest) + returns (ListMembershipsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/memberships" }; @@ -89,7 +95,8 @@ service GkeHub { // **This is currently only supported for GKE clusters on Google Cloud**. // To register other clusters, follow the instructions at // https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster. - rpc CreateMembership(CreateMembershipRequest) returns (google.longrunning.Operation) { + rpc CreateMembership(CreateMembershipRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/memberships" body: "resource" @@ -102,7 +109,8 @@ service GkeHub { } // Adds a new Feature. - rpc CreateFeature(CreateFeatureRequest) returns (google.longrunning.Operation) { + rpc CreateFeature(CreateFeatureRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/features" body: "resource" @@ -119,7 +127,8 @@ service GkeHub { // **This is currently only supported for GKE clusters on Google Cloud**. // To unregister other clusters, follow the instructions at // https://cloud.google.com/anthos/multicluster-management/connect/unregistering-a-cluster. - rpc DeleteMembership(DeleteMembershipRequest) returns (google.longrunning.Operation) { + rpc DeleteMembership(DeleteMembershipRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/memberships/*}" }; @@ -131,7 +140,8 @@ service GkeHub { } // Removes a Feature. - rpc DeleteFeature(DeleteFeatureRequest) returns (google.longrunning.Operation) { + rpc DeleteFeature(DeleteFeatureRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/features/*}" }; @@ -143,7 +153,8 @@ service GkeHub { } // Updates an existing Membership. - rpc UpdateMembership(UpdateMembershipRequest) returns (google.longrunning.Operation) { + rpc UpdateMembership(UpdateMembershipRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v1/{name=projects/*/locations/*/memberships/*}" body: "resource" @@ -156,7 +167,8 @@ service GkeHub { } // Updates an existing Feature. - rpc UpdateFeature(UpdateFeatureRequest) returns (google.longrunning.Operation) { + rpc UpdateFeature(UpdateFeatureRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v1/{name=projects/*/locations/*/features/*}" body: "resource" @@ -172,7 +184,8 @@ service GkeHub { // // **This method is used internally by Google-provided libraries.** // Most clients should not need to call this method directly. - rpc GenerateConnectManifest(GenerateConnectManifestRequest) returns (GenerateConnectManifestResponse) { + rpc GenerateConnectManifest(GenerateConnectManifestRequest) + returns (GenerateConnectManifestResponse) { option (google.api.http) = { get: "/v1/{name=projects/*/locations/*/memberships/*}:generateConnectManifest" }; @@ -181,8 +194,9 @@ service GkeHub { // Request message for `GkeHub.ListMemberships` method. message ListMembershipsRequest { - // Required. The parent (project and location) where the Memberships will be listed. - // Specified in the format `projects/*/locations/*`. + // Required. The parent (project and location) where the Memberships will be + // listed. Specified in the format `projects/*/locations/*`. + // `projects/*/locations/-` list memberships in all the regions. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -190,9 +204,9 @@ message ListMembershipsRequest { } ]; - // Optional. When requesting a 'page' of resources, `page_size` specifies number of - // resources to return. If unspecified or set to 0, all resources will - // be returned. + // Optional. When requesting a 'page' of resources, `page_size` specifies + // number of resources to return. If unspecified or set to 0, all resources + // will be returned. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. Token returned by previous call to `ListMemberships` which @@ -200,8 +214,8 @@ message ListMembershipsRequest { // resources. string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Lists Memberships that match the filter expression, following the syntax - // outlined in https://google.aip.dev/160. + // Optional. Lists Memberships that match the filter expression, following the + // syntax outlined in https://google.aip.dev/160. // // Examples: // @@ -255,8 +269,8 @@ message GetMembershipRequest { // Request message for the `GkeHub.CreateMembership` method. message CreateMembershipRequest { - // Required. The parent (project and location) where the Memberships will be created. - // Specified in the format `projects/*/locations/*`. + // Required. The parent (project and location) where the Memberships will be + // created. Specified in the format `projects/*/locations/*`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -264,8 +278,8 @@ message CreateMembershipRequest { } ]; - // Required. Client chosen ID for the membership. `membership_id` must be a valid RFC - // 1123 compliant DNS label: + // Required. Client chosen ID for the membership. `membership_id` must be a + // valid RFC 1123 compliant DNS label: // // 1. At most 63 characters in length // 2. It must consist of lower case alphanumeric characters or `-` @@ -319,6 +333,11 @@ message DeleteMembershipRequest { // The request ID must be a valid UUID with the exception that zero UUID is // not supported (00000000-0000-0000-0000-000000000000). string request_id = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If set to true, any subresource from this Membership will also be + // deleted. Otherwise, the request will only work if the Membership has no + // subresource. + bool force = 3 [(google.api.field_behavior) = OPTIONAL]; } // Request message for `GkeHub.UpdateMembership` method. @@ -333,7 +352,8 @@ message UpdateMembershipRequest { ]; // Required. Mask of fields to update. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; // Required. Only fields specified in update_mask are updated. // If you specify a field in the update_mask but don't specify its value here @@ -365,8 +385,8 @@ message UpdateMembershipRequest { // method. // . message GenerateConnectManifestRequest { - // Required. The Membership resource name the Agent will associate with, in the format - // `projects/*/locations/*/memberships/*`. + // Required. The Membership resource name the Agent will associate with, in + // the format `projects/*/locations/*/memberships/*`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -374,21 +394,23 @@ message GenerateConnectManifestRequest { } ]; - // Optional. Namespace for GKE Connect agent resources. Defaults to `gke-connect`. + // Optional. Namespace for GKE Connect agent resources. Defaults to + // `gke-connect`. // // The Connect Agent is authorized automatically when run in the default // namespace. Otherwise, explicit authorization must be granted with an // additional IAM binding. string namespace = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. URI of a proxy if connectivity from the agent to gkeconnect.googleapis.com - // requires the use of a proxy. Format must be in the form - // `http(s)://{proxy_address}`, depending on the HTTP/HTTPS protocol + // Optional. URI of a proxy if connectivity from the agent to + // gkeconnect.googleapis.com requires the use of a proxy. Format must be in + // the form `http(s)://{proxy_address}`, depending on the HTTP/HTTPS protocol // supported by the proxy. This will direct the connect agent's outbound // traffic through a HTTP(S) proxy. bytes proxy = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. The Connect agent version to use. Defaults to the most current version. + // Optional. The Connect agent version to use. Defaults to the most current + // version. string version = 4 [(google.api.field_behavior) = OPTIONAL]; // Optional. If true, generate the resources for upgrade only. Some resources diff --git a/third_party/googleapis/google/cloud/gkehub/v1alpha/BUILD.bazel b/third_party/googleapis/google/cloud/gkehub/v1alpha/BUILD.bazel index f7c95d2f5..a9d572c5c 100644 --- a/third_party/googleapis/google/cloud/gkehub/v1alpha/BUILD.bazel +++ b/third_party/googleapis/google/cloud/gkehub/v1alpha/BUILD.bazel @@ -18,6 +18,14 @@ package(default_visibility = ["//visibility:public"]) load("@rules_proto//proto:defs.bzl", "proto_library") load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +_PROTO_SUBPACKAGE_DEPS = [ + "//google/cloud/gkehub/v1alpha/multiclusteringress:multiclusteringress_proto", + "//google/cloud/gkehub/v1alpha/configmanagement:configmanagement_proto", + "//google/cloud/gkehub/v1alpha/metering:metering_proto", + "//google/cloud/gkehub/v1alpha/cloudauditlogging:cloudauditlogging_proto", + "//google/cloud/gkehub/v1alpha/servicemesh:servicemesh_proto", +] + proto_library( name = "gkehub_proto", srcs = [ @@ -29,16 +37,11 @@ proto_library( "//google/api:client_proto", "//google/api:field_behavior_proto", "//google/api:resource_proto", - "//google/cloud/gkehub/v1alpha/cloudauditlogging:cloudauditlogging_proto", - "//google/cloud/gkehub/v1alpha/configmanagement:configmanagement_proto", - "//google/cloud/gkehub/v1alpha/metering:metering_proto", - "//google/cloud/gkehub/v1alpha/multiclusteringress:multiclusteringress_proto", - "//google/cloud/gkehub/v1alpha/servicemesh:servicemesh_proto", "//google/longrunning:operations_proto", "@com_google_protobuf//:empty_proto", "@com_google_protobuf//:field_mask_proto", "@com_google_protobuf//:timestamp_proto", - ], + ] + _PROTO_SUBPACKAGE_DEPS, ) proto_library_with_info( @@ -93,12 +96,14 @@ java_gapic_library( srcs = [":gkehub_proto_with_info"], grpc_service_config = "v1alpha_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "gkehub_v1alpha.yaml", test_deps = [ ":gkehub_java_grpc", ] + _JAVA_GRPC_SUBPACKAGE_DEPS, transport = "grpc+rest", deps = [ ":gkehub_java_proto", + "//google/api:api_java_proto", ] + _JAVA_PROTO_SUBPACKAGE_DEPS, ) @@ -120,7 +125,7 @@ java_gapic_assembly_gradle_pkg( ":gkehub_java_grpc", ":gkehub_java_proto", ":gkehub_proto", - ] + _JAVA_PROTO_SUBPACKAGE_DEPS + _JAVA_GRPC_SUBPACKAGE_DEPS, + ] + _PROTO_SUBPACKAGE_DEPS + _JAVA_PROTO_SUBPACKAGE_DEPS + _JAVA_GRPC_SUBPACKAGE_DEPS, ) ############################################################################## @@ -131,7 +136,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -168,19 +172,13 @@ go_gapic_library( ], ) -go_test( - name = "gkehub_go_gapic_test", - srcs = [":gkehub_go_gapic_srcjar_test"], - embed = [":gkehub_go_gapic"], - importpath = "cloud.google.com/go/gkehub/apiv1alpha", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-gkehub-v1alpha-go", deps = [ ":gkehub_go_gapic", ":gkehub_go_gapic_srcjar-metadata.srcjar", + ":gkehub_go_gapic_srcjar-snippets.srcjar", ":gkehub_go_gapic_srcjar-test.srcjar", ":gkehub_go_proto", ], @@ -236,7 +234,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -245,12 +242,6 @@ php_proto_library( deps = [":gkehub_proto"], ) -php_grpc_library( - name = "gkehub_php_grpc", - srcs = [":gkehub_proto"], - deps = [":gkehub_php_proto"], -) - php_gapic_library( name = "gkehub_php_gapic", srcs = [":gkehub_proto_with_info"], @@ -258,10 +249,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "gkehub_v1alpha.yaml", transport = "grpc+rest", - deps = [ - ":gkehub_php_grpc", - ":gkehub_php_proto", - ], + deps = [":gkehub_php_proto"], ) # Open Source Packages @@ -269,7 +257,6 @@ php_gapic_assembly_pkg( name = "google-cloud-gkehub-v1alpha-php", deps = [ ":gkehub_php_gapic", - ":gkehub_php_grpc", ":gkehub_php_proto", ], ) @@ -338,6 +325,7 @@ ruby_cloud_gapic_library( grpc_service_config = "v1alpha_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "gkehub_v1alpha.yaml", + transport = "grpc+rest", deps = [ ":gkehub_ruby_grpc", ":gkehub_ruby_proto", diff --git a/third_party/googleapis/google/cloud/gkehub/v1alpha/cloudauditlogging/BUILD.bazel b/third_party/googleapis/google/cloud/gkehub/v1alpha/cloudauditlogging/BUILD.bazel index 99937e555..ddb50c5d3 100644 --- a/third_party/googleapis/google/cloud/gkehub/v1alpha/cloudauditlogging/BUILD.bazel +++ b/third_party/googleapis/google/cloud/gkehub/v1alpha/cloudauditlogging/BUILD.bazel @@ -76,7 +76,6 @@ py_gapic_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -85,20 +84,9 @@ php_proto_library( deps = [":cloudauditlogging_proto"], ) -php_grpc_library( - name = "cloudauditlogging_php_grpc", - srcs = [":cloudauditlogging_proto"], - deps = [":cloudauditlogging_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/gkehub/v1alpha/configmanagement/BUILD.bazel b/third_party/googleapis/google/cloud/gkehub/v1alpha/configmanagement/BUILD.bazel index 3b21c53ba..419bf546e 100644 --- a/third_party/googleapis/google/cloud/gkehub/v1alpha/configmanagement/BUILD.bazel +++ b/third_party/googleapis/google/cloud/gkehub/v1alpha/configmanagement/BUILD.bazel @@ -77,7 +77,6 @@ py_gapic_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -86,20 +85,9 @@ php_proto_library( deps = [":configmanagement_proto"], ) -php_grpc_library( - name = "configmanagement_php_grpc", - srcs = [":configmanagement_proto"], - deps = [":configmanagement_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/gkehub/v1alpha/metering/BUILD.bazel b/third_party/googleapis/google/cloud/gkehub/v1alpha/metering/BUILD.bazel index 063c7b51b..3b291c286 100644 --- a/third_party/googleapis/google/cloud/gkehub/v1alpha/metering/BUILD.bazel +++ b/third_party/googleapis/google/cloud/gkehub/v1alpha/metering/BUILD.bazel @@ -77,7 +77,6 @@ py_gapic_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -86,20 +85,9 @@ php_proto_library( deps = [":metering_proto"], ) -php_grpc_library( - name = "metering_php_grpc", - srcs = [":metering_proto"], - deps = [":metering_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/gkehub/v1alpha/multiclusteringress/BUILD.bazel b/third_party/googleapis/google/cloud/gkehub/v1alpha/multiclusteringress/BUILD.bazel index 404fb7ed2..df23d66d8 100644 --- a/third_party/googleapis/google/cloud/gkehub/v1alpha/multiclusteringress/BUILD.bazel +++ b/third_party/googleapis/google/cloud/gkehub/v1alpha/multiclusteringress/BUILD.bazel @@ -76,7 +76,6 @@ py_gapic_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -85,20 +84,9 @@ php_proto_library( deps = [":multiclusteringress_proto"], ) -php_grpc_library( - name = "multiclusteringress_php_grpc", - srcs = [":multiclusteringress_proto"], - deps = [":multiclusteringress_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/gkehub/v1alpha/servicemesh/BUILD.bazel b/third_party/googleapis/google/cloud/gkehub/v1alpha/servicemesh/BUILD.bazel index 8417c39ec..990f52afc 100644 --- a/third_party/googleapis/google/cloud/gkehub/v1alpha/servicemesh/BUILD.bazel +++ b/third_party/googleapis/google/cloud/gkehub/v1alpha/servicemesh/BUILD.bazel @@ -64,7 +64,6 @@ go_proto_library( load( "@com_google_googleapis_imports//:imports.bzl", "py_gapic_library", - "py_test", ) py_gapic_library( @@ -79,7 +78,6 @@ py_gapic_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -88,20 +86,9 @@ php_proto_library( deps = [":servicemesh_proto"], ) -php_grpc_library( - name = "servicemesh_php_grpc", - srcs = [":servicemesh_proto"], - deps = [":servicemesh_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/gkehub/v1alpha2/BUILD.bazel b/third_party/googleapis/google/cloud/gkehub/v1alpha2/BUILD.bazel index 93f1cf0a2..4ddecf942 100644 --- a/third_party/googleapis/google/cloud/gkehub/v1alpha2/BUILD.bazel +++ b/third_party/googleapis/google/cloud/gkehub/v1alpha2/BUILD.bazel @@ -113,7 +113,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -145,19 +144,13 @@ go_gapic_library( ], ) -go_test( - name = "gkehub_go_gapic_test", - srcs = [":gkehub_go_gapic_srcjar_test"], - embed = [":gkehub_go_gapic"], - importpath = "cloud.google.com/go/gkehub/apiv1alpha2", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-gkehub-v1alpha2-go", deps = [ ":gkehub_go_gapic", ":gkehub_go_gapic_srcjar-metadata.srcjar", + ":gkehub_go_gapic_srcjar-snippets.srcjar", ":gkehub_go_gapic_srcjar-test.srcjar", ":gkehub_go_proto", ], @@ -208,7 +201,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -217,12 +209,6 @@ php_proto_library( deps = [":gkehub_proto"], ) -php_grpc_library( - name = "gkehub_php_grpc", - srcs = [":gkehub_proto"], - deps = [":gkehub_php_proto"], -) - php_gapic_library( name = "gkehub_php_gapic", srcs = [":gkehub_proto_with_info"], @@ -230,10 +216,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "gkehub_v1alpha2.yaml", transport = "grpc+rest", - deps = [ - ":gkehub_php_grpc", - ":gkehub_php_proto", - ], + deps = [":gkehub_php_proto"], ) # Open Source Packages @@ -241,7 +224,6 @@ php_gapic_assembly_pkg( name = "google-cloud-gkehub-v1alpha2-php", deps = [ ":gkehub_php_gapic", - ":gkehub_php_grpc", ":gkehub_php_proto", ], ) @@ -305,6 +287,7 @@ ruby_cloud_gapic_library( grpc_service_config = "membership_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "gkehub_v1alpha2.yaml", + transport = "grpc+rest", deps = [ ":gkehub_ruby_grpc", ":gkehub_ruby_proto", diff --git a/third_party/googleapis/google/cloud/gkehub/v1beta/BUILD.bazel b/third_party/googleapis/google/cloud/gkehub/v1beta/BUILD.bazel index e1a67a342..ee4414ab1 100644 --- a/third_party/googleapis/google/cloud/gkehub/v1beta/BUILD.bazel +++ b/third_party/googleapis/google/cloud/gkehub/v1beta/BUILD.bazel @@ -18,6 +18,12 @@ package(default_visibility = ["//visibility:public"]) load("@rules_proto//proto:defs.bzl", "proto_library") load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") +_PROTO_SUBPACKAGE_DEPS = [ + "//google/cloud/gkehub/v1beta/multiclusteringress:multiclusteringress_proto", + "//google/cloud/gkehub/v1beta/configmanagement:configmanagement_proto", + "//google/cloud/gkehub/v1beta/metering:metering_proto", +] + proto_library( name = "gkehub_proto", srcs = [ @@ -29,14 +35,11 @@ proto_library( "//google/api:client_proto", "//google/api:field_behavior_proto", "//google/api:resource_proto", - "//google/cloud/gkehub/v1beta/configmanagement:configmanagement_proto", - "//google/cloud/gkehub/v1beta/metering:metering_proto", - "//google/cloud/gkehub/v1beta/multiclusteringress:multiclusteringress_proto", "//google/longrunning:operations_proto", "@com_google_protobuf//:empty_proto", "@com_google_protobuf//:field_mask_proto", "@com_google_protobuf//:timestamp_proto", - ], + ] + _PROTO_SUBPACKAGE_DEPS, ) proto_library_with_info( @@ -87,12 +90,14 @@ java_gapic_library( srcs = [":gkehub_proto_with_info"], grpc_service_config = "v1beta_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "gkehub_v1beta.yaml", test_deps = [ ":gkehub_java_grpc", ] + _JAVA_GRPC_SUBPACKAGE_DEPS, transport = "grpc+rest", deps = [ ":gkehub_java_proto", + "//google/api:api_java_proto", ] + _JAVA_PROTO_SUBPACKAGE_DEPS, ) @@ -114,7 +119,7 @@ java_gapic_assembly_gradle_pkg( ":gkehub_java_grpc", ":gkehub_java_proto", ":gkehub_proto", - ] + _JAVA_PROTO_SUBPACKAGE_DEPS + _JAVA_GRPC_SUBPACKAGE_DEPS, + ] + _PROTO_SUBPACKAGE_DEPS + _JAVA_PROTO_SUBPACKAGE_DEPS + _JAVA_GRPC_SUBPACKAGE_DEPS, ) ############################################################################## @@ -125,7 +130,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -160,19 +164,13 @@ go_gapic_library( ], ) -go_test( - name = "gkehub_go_gapic_test", - srcs = [":gkehub_go_gapic_srcjar_test"], - embed = [":gkehub_go_gapic"], - importpath = "cloud.google.com/go/gkehub/apiv1beta", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-gkehub-v1beta-go", deps = [ ":gkehub_go_gapic", ":gkehub_go_gapic_srcjar-metadata.srcjar", + ":gkehub_go_gapic_srcjar-snippets.srcjar", ":gkehub_go_gapic_srcjar-test.srcjar", ":gkehub_go_proto", ], @@ -228,7 +226,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -237,12 +234,6 @@ php_proto_library( deps = [":gkehub_proto"], ) -php_grpc_library( - name = "gkehub_php_grpc", - srcs = [":gkehub_proto"], - deps = [":gkehub_php_proto"], -) - php_gapic_library( name = "gkehub_php_gapic", srcs = [":gkehub_proto_with_info"], @@ -250,10 +241,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "gkehub_v1beta.yaml", transport = "grpc+rest", - deps = [ - ":gkehub_php_grpc", - ":gkehub_php_proto", - ], + deps = [":gkehub_php_proto"], ) # Open Source Packages @@ -261,7 +249,6 @@ php_gapic_assembly_pkg( name = "google-cloud-gkehub-v1beta-php", deps = [ ":gkehub_php_gapic", - ":gkehub_php_grpc", ":gkehub_php_proto", ], ) @@ -336,6 +323,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "The GKE Hub API centrally manages features and services on all your Kubernetes clusters running in a variety of environments, including Google cloud, on premises in customer datacenters, or other third party clouds.", ruby_cloud_title = "GKE Hub V1beta", service_yaml = "gkehub_v1beta.yaml", + transport = "grpc+rest", deps = [ ":gkehub_ruby_grpc", ":gkehub_ruby_proto", diff --git a/third_party/googleapis/google/cloud/gkehub/v1beta/configmanagement/BUILD.bazel b/third_party/googleapis/google/cloud/gkehub/v1beta/configmanagement/BUILD.bazel index c2a93103e..5f38d7178 100644 --- a/third_party/googleapis/google/cloud/gkehub/v1beta/configmanagement/BUILD.bazel +++ b/third_party/googleapis/google/cloud/gkehub/v1beta/configmanagement/BUILD.bazel @@ -77,7 +77,6 @@ py_gapic_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -86,20 +85,9 @@ php_proto_library( deps = [":configmanagement_proto"], ) -php_grpc_library( - name = "configmanagement_php_grpc", - srcs = [":configmanagement_proto"], - deps = [":configmanagement_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/gkehub/v1beta/metering/BUILD.bazel b/third_party/googleapis/google/cloud/gkehub/v1beta/metering/BUILD.bazel index 32781a63c..383dcf72f 100644 --- a/third_party/googleapis/google/cloud/gkehub/v1beta/metering/BUILD.bazel +++ b/third_party/googleapis/google/cloud/gkehub/v1beta/metering/BUILD.bazel @@ -77,7 +77,6 @@ py_gapic_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -86,20 +85,9 @@ php_proto_library( deps = [":metering_proto"], ) -php_grpc_library( - name = "metering_php_grpc", - srcs = [":metering_proto"], - deps = [":metering_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/gkehub/v1beta/multiclusteringress/BUILD.bazel b/third_party/googleapis/google/cloud/gkehub/v1beta/multiclusteringress/BUILD.bazel index f94e755b4..de643245b 100644 --- a/third_party/googleapis/google/cloud/gkehub/v1beta/multiclusteringress/BUILD.bazel +++ b/third_party/googleapis/google/cloud/gkehub/v1beta/multiclusteringress/BUILD.bazel @@ -76,7 +76,6 @@ py_gapic_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -85,20 +84,9 @@ php_proto_library( deps = [":multiclusteringress_proto"], ) -php_grpc_library( - name = "multiclusteringress_php_grpc", - srcs = [":multiclusteringress_proto"], - deps = [":multiclusteringress_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/gkehub/v1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/gkehub/v1beta1/BUILD.bazel index cd91455b3..ae140778a 100644 --- a/third_party/googleapis/google/cloud/gkehub/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/gkehub/v1beta1/BUILD.bazel @@ -85,7 +85,6 @@ java_gapic_library( deps = [ ":gkehub_java_proto", "//google/api:api_java_proto", - "//google/cloud/location:location_java_grpc", "//google/cloud/location:location_java_proto", "//google/iam/v1:iam_java_proto", ], @@ -110,9 +109,6 @@ java_gapic_assembly_gradle_pkg( ":gkehub_java_grpc", ":gkehub_java_proto", ":gkehub_proto", - "//google/cloud/location:location_java_grpc", - "//google/cloud/location:location_java_proto", - "//google/cloud/location:location_proto", ], ) @@ -124,7 +120,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -159,19 +154,13 @@ go_gapic_library( ], ) -go_test( - name = "gkehub_go_gapic_test", - srcs = [":gkehub_go_gapic_srcjar_test"], - embed = [":gkehub_go_gapic"], - importpath = "cloud.google.com/go/gkehub/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-gkehub-v1beta1-go", deps = [ ":gkehub_go_gapic", ":gkehub_go_gapic_srcjar-metadata.srcjar", + ":gkehub_go_gapic_srcjar-snippets.srcjar", ":gkehub_go_gapic_srcjar-test.srcjar", ":gkehub_go_proto", ], @@ -225,7 +214,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -234,12 +222,6 @@ php_proto_library( deps = [":gkehub_proto"], ) -php_grpc_library( - name = "gkehub_php_grpc", - srcs = [":gkehub_proto"], - deps = [":gkehub_php_proto"], -) - php_gapic_library( name = "gkehub_php_gapic", srcs = [":gkehub_proto_with_info"], @@ -247,10 +229,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "gkehub_v1beta1.yaml", transport = "grpc+rest", - deps = [ - ":gkehub_php_grpc", - ":gkehub_php_proto", - ], + deps = [":gkehub_php_proto"], ) # Open Source Packages @@ -258,7 +237,6 @@ php_gapic_assembly_pkg( name = "google-cloud-gkehub-v1beta1-php", deps = [ ":gkehub_php_gapic", - ":gkehub_php_grpc", ":gkehub_php_proto", ], ) @@ -330,6 +308,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "The GKE Hub API centrally manages features and services on all your Kubernetes clusters running in a variety of environments, including Google cloud, on premises in customer datacenters, or other third party clouds.", ruby_cloud_title = "GKE Hub V1beta1", service_yaml = "gkehub_v1beta1.yaml", + transport = "grpc+rest", deps = [ ":gkehub_ruby_grpc", ":gkehub_ruby_proto", diff --git a/third_party/googleapis/google/cloud/gkehub/v1beta1/membership.proto b/third_party/googleapis/google/cloud/gkehub/v1beta1/membership.proto index fadedf5b2..020ae85c3 100644 --- a/third_party/googleapis/google/cloud/gkehub/v1beta1/membership.proto +++ b/third_party/googleapis/google/cloud/gkehub/v1beta1/membership.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,6 +21,7 @@ import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/longrunning/operations.proto"; +import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; @@ -33,19 +34,23 @@ option php_namespace = "Google\\Cloud\\GkeHub\\V1beta1"; option ruby_package = "Google::Cloud::GkeHub::V1beta1"; // The GKE Hub MembershipService handles the registration of many Kubernetes -// clusters to Google Cloud, represented with the [Membership][google.cloud.gkehub.v1beta1.Membership] resource. +// clusters to Google Cloud, represented with the +// [Membership][google.cloud.gkehub.v1beta1.Membership] resource. // -// GKE Hub is currently only available in the global region. +// GKE Hub is currently available in the global region and all regions in +// https://cloud.google.com/compute/docs/regions-zones. // // **Membership management may be non-trivial:** it is recommended to use one // of the Google-provided client libraries or tools where possible when working // with Membership resources. service GkeHubMembershipService { option (google.api.default_host) = "gkehub.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Lists Memberships in a given project and location. - rpc ListMemberships(ListMembershipsRequest) returns (ListMembershipsResponse) { + rpc ListMemberships(ListMembershipsRequest) + returns (ListMembershipsResponse) { option (google.api.http) = { get: "/v1beta1/{parent=projects/*/locations/*}/memberships" }; @@ -65,7 +70,8 @@ service GkeHubMembershipService { // **This is currently only supported for GKE clusters on Google Cloud**. // To register other clusters, follow the instructions at // https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster. - rpc CreateMembership(CreateMembershipRequest) returns (google.longrunning.Operation) { + rpc CreateMembership(CreateMembershipRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1beta1/{parent=projects/*/locations/*}/memberships" body: "resource" @@ -82,7 +88,8 @@ service GkeHubMembershipService { // **This is currently only supported for GKE clusters on Google Cloud**. // To unregister other clusters, follow the instructions at // https://cloud.google.com/anthos/multicluster-management/connect/unregistering-a-cluster. - rpc DeleteMembership(DeleteMembershipRequest) returns (google.longrunning.Operation) { + rpc DeleteMembership(DeleteMembershipRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1beta1/{name=projects/*/locations/*/memberships/*}" }; @@ -94,7 +101,8 @@ service GkeHubMembershipService { } // Updates an existing Membership. - rpc UpdateMembership(UpdateMembershipRequest) returns (google.longrunning.Operation) { + rpc UpdateMembership(UpdateMembershipRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v1beta1/{name=projects/*/locations/*/memberships/*}" body: "resource" @@ -110,7 +118,8 @@ service GkeHubMembershipService { // // **This method is used internally by Google-provided libraries.** // Most clients should not need to call this method directly. - rpc GenerateConnectManifest(GenerateConnectManifestRequest) returns (GenerateConnectManifestResponse) { + rpc GenerateConnectManifest(GenerateConnectManifestRequest) + returns (GenerateConnectManifestResponse) { option (google.api.http) = { get: "/v1beta1/{name=projects/*/locations/*/memberships/*}:generateConnectManifest" }; @@ -118,7 +127,8 @@ service GkeHubMembershipService { // ValidateExclusivity validates the state of exclusivity in the cluster. // The validation does not depend on an existing Hub membership resource. - rpc ValidateExclusivity(ValidateExclusivityRequest) returns (ValidateExclusivityResponse) { + rpc ValidateExclusivity(ValidateExclusivityRequest) + returns (ValidateExclusivityResponse) { option (google.api.http) = { get: "/v1beta1/{parent=projects/*/locations/*}/memberships:validateExclusivity" }; @@ -136,7 +146,8 @@ service GkeHubMembershipService { // Hub API server begins serving a newer version of the CRD and // corresponding CR. The response will be the converted CRD and CR if there // are any differences between the versions. - rpc GenerateExclusivityManifest(GenerateExclusivityManifestRequest) returns (GenerateExclusivityManifestResponse) { + rpc GenerateExclusivityManifest(GenerateExclusivityManifestRequest) + returns (GenerateExclusivityManifestResponse) { option (google.api.http) = { get: "/v1beta1/{name=projects/*/locations/*/memberships/*}:generateExclusivityManifest" }; @@ -169,8 +180,9 @@ message Membership { MULTI_CLOUD = 2; } - // Output only. The full, unique name of this Membership resource in the format - // `projects/*/locations/*/memberships/{membership_id}`, set during creation. + // Output only. The full, unique name of this Membership resource in the + // format `projects/*/locations/*/memberships/{membership_id}`, set during + // creation. // // `membership_id` must be a valid RFC 1123 compliant DNS label: // @@ -204,17 +216,21 @@ message Membership { Authority authority = 9 [(google.api.field_behavior) = OPTIONAL]; // Output only. When the Membership was created. - google.protobuf.Timestamp create_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. When the Membership was last updated. - google.protobuf.Timestamp update_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. When the Membership was deleted. - google.protobuf.Timestamp delete_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp delete_time = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Optional. An externally-generated and managed ID for this Membership. This ID may - // be modified after creation, but this is not recommended. For GKE clusters, - // external_id is managed by the Hub API and updates will be ignored. + // Optional. An externally-generated and managed ID for this Membership. This + // ID may be modified after creation, but this is not recommended. For GKE + // clusters, external_id is managed by the Hub API and updates will be + // ignored. // // The ID must match the regex: `[a-zA-Z0-9][a-zA-Z0-9_\-\.]*` // @@ -222,19 +238,26 @@ message Membership { // set to the UID of the `kube-system` namespace object. string external_id = 10 [(google.api.field_behavior) = OPTIONAL]; - // Output only. For clusters using Connect, the timestamp of the most recent connection - // established with Google Cloud. This time is updated every several minutes, - // not continuously. For clusters that do not use GKE Connect, or that have - // never connected successfully, this field will be unset. - google.protobuf.Timestamp last_connection_time = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. For clusters using Connect, the timestamp of the most recent + // connection established with Google Cloud. This time is updated every + // several minutes, not continuously. For clusters that do not use GKE + // Connect, or that have never connected successfully, this field will be + // unset. + google.protobuf.Timestamp last_connection_time = 11 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Google-generated UUID for this resource. This is unique across all - // Membership resources. If a Membership resource is deleted and another + // Output only. Google-generated UUID for this resource. This is unique across + // all Membership resources. If a Membership resource is deleted and another // resource with the same name is created, it gets a different unique_id. string unique_id = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; // Optional. The infrastructure type this Membership is running on. - InfrastructureType infrastructure_type = 13 [(google.api.field_behavior) = OPTIONAL]; + InfrastructureType infrastructure_type = 13 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The monitoring config information for this membership. + MonitoringConfig monitoring_config = 14 + [(google.api.field_behavior) = OPTIONAL]; } // MembershipEndpoint contains information needed to contact a Kubernetes API, @@ -245,41 +268,45 @@ message MembershipEndpoint { // Optional. Specific information for a GKE-on-GCP cluster. GkeCluster gke_cluster = 4 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Specific information for a GKE On-Prem cluster. An onprem user-cluster - // who has no resourceLink is not allowed to use this field, it should have - // a nil "type" instead. + // Optional. Specific information for a GKE On-Prem cluster. An onprem + // user-cluster who has no resourceLink is not allowed to use this field, it + // should have a nil "type" instead. OnPremCluster on_prem_cluster = 7 [(google.api.field_behavior) = OPTIONAL]; // Optional. Specific information for a GKE Multi-Cloud cluster. - MultiCloudCluster multi_cloud_cluster = 8 [(google.api.field_behavior) = OPTIONAL]; + MultiCloudCluster multi_cloud_cluster = 8 + [(google.api.field_behavior) = OPTIONAL]; // Optional. Specific information for a Google Edge cluster. EdgeCluster edge_cluster = 9 [(google.api.field_behavior) = OPTIONAL]; // Optional. Specific information for a GDC Edge Appliance cluster. - ApplianceCluster appliance_cluster = 10 [(google.api.field_behavior) = OPTIONAL]; + ApplianceCluster appliance_cluster = 10 + [(google.api.field_behavior) = OPTIONAL]; } // Output only. Useful Kubernetes-specific metadata. - KubernetesMetadata kubernetes_metadata = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + KubernetesMetadata kubernetes_metadata = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Optional. The in-cluster Kubernetes Resources that should be applied for a correctly - // registered cluster, in the steady state. These resources: + // Optional. The in-cluster Kubernetes Resources that should be applied for a + // correctly registered cluster, in the steady state. These resources: // // * Ensure that the cluster is exclusively registered to one and only one // Hub Membership. // * Propagate Workload Pool Information available in the Membership // Authority field. // * Ensure proper initial configuration of default Hub Features. - KubernetesResource kubernetes_resource = 6 [(google.api.field_behavior) = OPTIONAL]; + KubernetesResource kubernetes_resource = 6 + [(google.api.field_behavior) = OPTIONAL]; } // KubernetesResource contains the YAML manifests and configuration for // Membership Kubernetes resources in the cluster. After CreateMembership or // UpdateMembership, these resources should be re-applied in the cluster. message KubernetesResource { - // Input only. The YAML representation of the Membership CR. This field is ignored for GKE - // clusters where Hub can read the CR directly. + // Input only. The YAML representation of the Membership CR. This field is + // ignored for GKE clusters where Hub can read the CR directly. // // Callers should provide the CR that is currently present in the cluster // during CreateMembership or UpdateMembership, or leave this field empty if @@ -287,15 +314,16 @@ message KubernetesResource { // registered with another Membership. string membership_cr_manifest = 1 [(google.api.field_behavior) = INPUT_ONLY]; - // Output only. Additional Kubernetes resources that need to be applied to the cluster - // after Membership creation, and after every update. + // Output only. Additional Kubernetes resources that need to be applied to the + // cluster after Membership creation, and after every update. // // This field is only populated in the Membership returned from a successful // long-running operation from CreateMembership or UpdateMembership. It is not // populated during normal GetMembership or ListMemberships requests. To get // the resource manifest after the initial registration, the caller should // make a UpdateMembership call with an empty field mask. - repeated ResourceManifest membership_resources = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated ResourceManifest membership_resources = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The Kubernetes resources for installing the GKE Connect agent // @@ -304,7 +332,8 @@ message KubernetesResource { // populated during normal GetMembership or ListMemberships requests. To get // the resource manifest after the initial registration, the caller should // make a UpdateMembership call with an empty field mask. - repeated ResourceManifest connect_resources = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated ResourceManifest connect_resources = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Optional. Options for Kubernetes resource generation. ResourceOptions resource_options = 4 [(google.api.field_behavior) = OPTIONAL]; @@ -312,9 +341,9 @@ message KubernetesResource { // ResourceOptions represent options for Kubernetes resource generation. message ResourceOptions { - // Optional. The Connect agent version to use for connect_resources. Defaults to the - // latest GKE Connect version. The version must be a currently supported - // version, obsolete versions will be rejected. + // Optional. The Connect agent version to use for connect_resources. Defaults + // to the latest GKE Connect version. The version must be a currently + // supported version, obsolete versions will be rejected. string connect_version = 1 [(google.api.field_behavior) = OPTIONAL]; // Optional. Use `apiextensions/v1beta1` instead of `apiextensions/v1` for @@ -323,8 +352,8 @@ message ResourceOptions { // <1.16. bool v1beta1_crd = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Major version of the Kubernetes cluster. This is only used to determine - // which version to use for the CustomResourceDefinition resources, + // Optional. Major version of the Kubernetes cluster. This is only used to + // determine which version to use for the CustomResourceDefinition resources, // `apiextensions/v1beta1` or`apiextensions/v1`. string k8s_version = 3 [(google.api.field_behavior) = OPTIONAL]; } @@ -352,8 +381,8 @@ message GkeCluster { // Zonal clusters are also supported. string resource_link = 1 [(google.api.field_behavior) = IMMUTABLE]; - // Output only. If cluster_missing is set then it denotes that the GKE cluster no longer - // exists in the GKE Control Plane. + // Output only. If cluster_missing is set then it denotes that the GKE cluster + // no longer exists in the GKE Control Plane. bool cluster_missing = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; } @@ -377,7 +406,8 @@ message OnPremCluster { USER = 4; } - // Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For example: + // Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For + // example: // // //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster // //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/bareMetalClusters/my-cluster @@ -397,11 +427,12 @@ message OnPremCluster { // MultiCloudCluster contains information specific to GKE Multi-Cloud clusters. message MultiCloudCluster { - // Immutable. Self-link of the GCP resource for the GKE Multi-Cloud cluster. For - // example: + // Immutable. Self-link of the GCP resource for the GKE Multi-Cloud cluster. + // For example: // // //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/awsClusters/my-cluster // //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/azureClusters/my-cluster + // //gkemulticloud.googleapis.com/projects/my-project/locations/us-west1-a/attachedClusters/my-cluster string resource_link = 1 [(google.api.field_behavior) = IMMUTABLE]; // Output only. If cluster_missing is set then it denotes that @@ -432,12 +463,14 @@ message ApplianceCluster { // KubernetesMetadata provides informational metadata for Memberships // representing Kubernetes clusters. message KubernetesMetadata { - // Output only. Kubernetes API server version string as reported by '/version'. - string kubernetes_api_server_version = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Node providerID as reported by the first node in the list of nodes on - // the Kubernetes endpoint. On Kubernetes platforms that support zero-node - // clusters (like GKE-on-GCP), the node_count will be zero and the + // Output only. Kubernetes API server version string as reported by + // '/version'. + string kubernetes_api_server_version = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Node providerID as reported by the first node in the list of + // nodes on the Kubernetes endpoint. On Kubernetes platforms that support + // zero-node clusters (like GKE-on-GCP), the node_count will be zero and the // node_provider_id will be empty. string node_provider_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -447,22 +480,23 @@ message KubernetesMetadata { // Output only. vCPU count as reported by Kubernetes nodes resources. int32 vcpu_count = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The total memory capacity as reported by the sum of all Kubernetes nodes - // resources, defined in MB. + // Output only. The total memory capacity as reported by the sum of all + // Kubernetes nodes resources, defined in MB. int32 memory_mb = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The time at which these details were last updated. This update_time is - // different from the Membership-level update_time since EndpointDetails are - // updated internally for API consumers. - google.protobuf.Timestamp update_time = 100 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The time at which these details were last updated. This + // update_time is different from the Membership-level update_time since + // EndpointDetails are updated internally for API consumers. + google.protobuf.Timestamp update_time = 100 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Authority encodes how Google will recognize identities from this Membership. // See the workload identity documentation for more details: // https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity message Authority { - // Optional. A JSON Web Token (JWT) issuer URI. `issuer` must start with `https://` and - // be a valid URL with length <2000 characters. + // Optional. A JSON Web Token (JWT) issuer URI. `issuer` must start with + // `https://` and be a valid URL with length <2000 characters. // // If set, then Google will allow valid OIDC tokens from this issuer to // authenticate within the workload_identity_pool. OIDC discovery will be @@ -473,8 +507,8 @@ message Authority { // a new issuer (and re-enabling Workload Identity). string issuer = 1 [(google.api.field_behavior) = OPTIONAL]; - // Output only. The name of the workload identity pool in which `issuer` will be - // recognized. + // Output only. The name of the workload identity pool in which `issuer` will + // be recognized. // // There is a single Workload Identity Pool per Hub that is shared // between all Memberships that belong to that Hub. For a Hub hosted in @@ -482,17 +516,47 @@ message Authority { // although this is subject to change in newer versions of this API. string workload_identity_pool = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. An identity provider that reflects the `issuer` in the workload identity - // pool. + // Output only. An identity provider that reflects the `issuer` in the + // workload identity pool. string identity_provider = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Optional. OIDC verification keys for this Membership in JWKS format (RFC 7517). + // Optional. OIDC verification keys for this Membership in JWKS format (RFC + // 7517). // // When this field is set, OIDC discovery will NOT be performed on `issuer`, // and instead OIDC tokens will be validated using this field. bytes oidc_jwks = 4 [(google.api.field_behavior) = OPTIONAL]; } +// This field informs Fleet-based applications/services/UIs with the necessary +// information for where each underlying Cluster reports its metrics. +message MonitoringConfig { + // Immutable. Project used to report Metrics + string project_id = 1 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Location used to report Metrics + string location = 2 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. Cluster name used to report metrics. + // For Anthos on VMWare/Baremetal, it would be in format + // `memberClusters/cluster_name`; And for Anthos on MultiCloud, it would be in + // format + // `{azureClusters, awsClusters}/cluster_name`. + string cluster = 3 [(google.api.field_behavior) = IMMUTABLE]; + + // Kubernetes system metrics, if available, are written to this prefix. + // This defaults to kubernetes.io for GKE, and kubernetes.io/anthos for Anthos + // eventually. Noted: Anthos MultiCloud will have kubernetes.io prefix today + // but will migration to be under kubernetes.io/anthos + string kubernetes_metrics_prefix = 4; + + // Immutable. Cluster hash, this is a unique string generated by google code, + // which does not contain any PII, which we can use to reference the cluster. + // This is expected to be created by the monitoring stack and persisted into + // the Cluster object as well as to GKE-Hub. + string cluster_hash = 5 [(google.api.field_behavior) = IMMUTABLE]; +} + // State of the Membership resource. message MembershipState { // Code describes the state of a Membership resource. @@ -528,8 +592,9 @@ message MembershipState { // Request message for `GkeHubMembershipService.ListMemberships` method. message ListMembershipsRequest { - // Required. The parent (project and location) where the Memberships will be listed. - // Specified in the format `projects/*/locations/*`. + // Required. The parent (project and location) where the Memberships will be + // listed. Specified in the format `projects/*/locations/*`. + // `projects/*/locations/-` list memberships in all the regions. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -537,9 +602,9 @@ message ListMembershipsRequest { } ]; - // Optional. When requesting a 'page' of resources, `page_size` specifies number of - // resources to return. If unspecified or set to 0, all resources will - // be returned. + // Optional. When requesting a 'page' of resources, `page_size` specifies + // number of resources to return. If unspecified or set to 0, all resources + // will be returned. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. Token returned by previous call to `ListMemberships` which @@ -547,8 +612,8 @@ message ListMembershipsRequest { // resources. string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Lists Memberships that match the filter expression, following the syntax - // outlined in https://google.aip.dev/160. + // Optional. Lists Memberships that match the filter expression, following the + // syntax outlined in https://google.aip.dev/160. // // Examples: // @@ -602,8 +667,8 @@ message GetMembershipRequest { // Request message for the `GkeHubMembershipService.CreateMembership` method. message CreateMembershipRequest { - // Required. The parent (project and location) where the Memberships will be created. - // Specified in the format `projects/*/locations/*`. + // Required. The parent (project and location) where the Memberships will be + // created. Specified in the format `projects/*/locations/*`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -611,8 +676,8 @@ message CreateMembershipRequest { } ]; - // Required. Client chosen ID for the membership. `membership_id` must be a valid RFC - // 1123 compliant DNS label: + // Required. Client chosen ID for the membership. `membership_id` must be a + // valid RFC 1123 compliant DNS label: // // 1. At most 63 characters in length // 2. It must consist of lower case alphanumeric characters or `-` @@ -666,6 +731,11 @@ message DeleteMembershipRequest { // The request ID must be a valid UUID with the exception that zero UUID is // not supported (00000000-0000-0000-0000-000000000000). string request_id = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If set to true, any subresource from this Membership will also be + // deleted. Otherwise, the request will only work if the Membership has no + // subresource. + bool force = 5 [(google.api.field_behavior) = OPTIONAL]; } // Request message for `GkeHubMembershipService.UpdateMembership` method. @@ -679,9 +749,10 @@ message UpdateMembershipRequest { } ]; - // Required. Mask of fields to update. At least one field path must be specified in this - // mask. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; + // Required. Mask of fields to update. At least one field path must be + // specified in this mask. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; // Required. Only fields specified in update_mask are updated. // If you specify a field in the update_mask but don't specify its value here @@ -711,10 +782,9 @@ message UpdateMembershipRequest { // Request message for `GkeHubMembershipService.GenerateConnectManifest` // method. -// . message GenerateConnectManifestRequest { - // Required. The Membership resource name the Agent will associate with, in the format - // `projects/*/locations/*/memberships/*`. + // Required. The Membership resource name the Agent will associate with, in + // the format `projects/*/locations/*/memberships/*`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -725,7 +795,8 @@ message GenerateConnectManifestRequest { // Optional. The connect agent to generate manifest for. ConnectAgent connect_agent = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. The Connect agent version to use. Defaults to the most current version. + // Optional. The Connect agent version to use. Defaults to the most current + // version. string version = 3 [(google.api.field_behavior) = OPTIONAL]; // Optional. If true, generate the resources for upgrade only. Some resources @@ -773,14 +844,15 @@ message ConnectAgent { // Do not set. string name = 1 [deprecated = true]; - // Optional. URI of a proxy if connectivity from the agent to gkeconnect.googleapis.com - // requires the use of a proxy. Format must be in the form - // `http(s)://{proxy_address}`, depending on the HTTP/HTTPS protocol + // Optional. URI of a proxy if connectivity from the agent to + // gkeconnect.googleapis.com requires the use of a proxy. Format must be in + // the form `http(s)://{proxy_address}`, depending on the HTTP/HTTPS protocol // supported by the proxy. This will direct the connect agent's outbound // traffic through a HTTP(S) proxy. bytes proxy = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Namespace for GKE Connect agent resources. Defaults to `gke-connect`. + // Optional. Namespace for GKE Connect agent resources. Defaults to + // `gke-connect`. // // The Connect Agent is authorized automatically when run in the default // namespace. Otherwise, explicit authorization must be granted with an @@ -791,8 +863,8 @@ message ConnectAgent { // The request to validate the existing state of the membership CR in the // cluster. message ValidateExclusivityRequest { - // Required. The parent (project and location) where the Memberships will be created. - // Specified in the format `projects/*/locations/*`. + // Required. The parent (project and location) where the Memberships will be + // created. Specified in the format `projects/*/locations/*`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -800,12 +872,13 @@ message ValidateExclusivityRequest { } ]; - // Optional. The YAML of the membership CR in the cluster. Empty if the membership - // CR does not exist. + // Optional. The YAML of the membership CR in the cluster. Empty if the + // membership CR does not exist. string cr_manifest = 2 [(google.api.field_behavior) = OPTIONAL]; - // Required. The intended membership name under the `parent`. This method only does - // validation in anticipation of a CreateMembership call with the same name. + // Required. The intended membership name under the `parent`. This method only + // does validation in anticipation of a CreateMembership call with the same + // name. string intended_membership = 3 [(google.api.field_behavior) = REQUIRED]; } @@ -856,10 +929,12 @@ message GenerateExclusivityManifestResponse { // Represents the metadata of the long-running operation. message OperationMetadata { // Output only. The time the operation was created. - google.protobuf.Timestamp create_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time the operation finished running. - google.protobuf.Timestamp end_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp end_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Server-defined resource path for the target of the operation. string target = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -872,8 +947,9 @@ message OperationMetadata { // Output only. Identifies whether the user has requested cancellation // of the operation. Operations that have successfully been cancelled - // have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, - // corresponding to `Code.CANCELLED`. + // have [Operation.error][] value with a + // [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to + // `Code.CANCELLED`. bool cancel_requested = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. API version used to start the operation. diff --git a/third_party/googleapis/google/cloud/gkemulticloud/BUILD.bazel b/third_party/googleapis/google/cloud/gkemulticloud/BUILD.bazel index fb443c78d..a022460ce 100644 --- a/third_party/googleapis/google/cloud/gkemulticloud/BUILD.bazel +++ b/third_party/googleapis/google/cloud/gkemulticloud/BUILD.bazel @@ -24,7 +24,7 @@ ruby_cloud_gapic_library( "ruby-cloud-api-shortname=gkemulticloud", "ruby-cloud-gem-name=google-cloud-gke_multi_cloud", "ruby-cloud-product-url=https://cloud.google.com/anthos/clusters/docs/multi-cloud", - "ruby-cloud-wrapper-of=v1:0.4", + "ruby-cloud-wrapper-of=v1:0.8", ], ruby_cloud_description = "Anthos Multi-Cloud provides a way to manage Kubernetes clusters that run on AWS and Azure infrastructure using the Anthos Multi-Cloud API. Combined with Connect, you can manage Kubernetes clusters on Google Cloud, AWS, and Azure from the Google Cloud Console.", ruby_cloud_title = "Anthos Multi-Cloud", diff --git a/third_party/googleapis/google/cloud/gkemulticloud/v1/BUILD.bazel b/third_party/googleapis/google/cloud/gkemulticloud/v1/BUILD.bazel index 731edf1d1..9a8090d55 100644 --- a/third_party/googleapis/google/cloud/gkemulticloud/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/gkemulticloud/v1/BUILD.bazel @@ -35,6 +35,7 @@ proto_library( "//google/api:field_behavior_proto", "//google/api:resource_proto", "//google/longrunning:operations_proto", + "//google/type:date_proto", "@com_google_protobuf//:empty_proto", "@com_google_protobuf//:field_mask_proto", "@com_google_protobuf//:timestamp_proto", @@ -123,7 +124,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -134,6 +134,7 @@ go_proto_library( deps = [ "//google/api:annotations_go_proto", "//google/longrunning:longrunning_go_proto", + "//google/type:date_go_proto", ], ) @@ -143,7 +144,7 @@ go_gapic_library( grpc_service_config = "gkemulticloud_grpc_service_config.json", importpath = "cloud.google.com/go/gkemulticloud/apiv1;gkemulticloud", metadata = True, - release_level = "beta", + release_level = "ga", rest_numeric_enums = False, service_yaml = "gkemulticloud_v1.yaml", transport = "grpc", @@ -155,19 +156,13 @@ go_gapic_library( ], ) -go_test( - name = "gkemulticloud_go_gapic_test", - srcs = [":gkemulticloud_go_gapic_srcjar_test"], - embed = [":gkemulticloud_go_gapic"], - importpath = "cloud.google.com/go/gkemulticloud/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-gkemulticloud-v1-go", deps = [ ":gkemulticloud_go_gapic", ":gkemulticloud_go_gapic_srcjar-metadata.srcjar", + ":gkemulticloud_go_gapic_srcjar-snippets.srcjar", ":gkemulticloud_go_gapic_srcjar-test.srcjar", ":gkemulticloud_go_proto", ], @@ -224,7 +219,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -233,21 +227,15 @@ php_proto_library( deps = [":gkemulticloud_proto"], ) -php_grpc_library( - name = "gkemulticloud_php_grpc", - srcs = [":gkemulticloud_proto"], - deps = [":gkemulticloud_php_proto"], -) - php_gapic_library( name = "gkemulticloud_php_gapic", srcs = [":gkemulticloud_proto_with_info"], grpc_service_config = "gkemulticloud_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = False, service_yaml = "gkemulticloud_v1.yaml", transport = "grpc+rest", deps = [ - ":gkemulticloud_php_grpc", ":gkemulticloud_php_proto", ], ) @@ -257,7 +245,6 @@ php_gapic_assembly_pkg( name = "google-cloud-gkemulticloud-v1-php", deps = [ ":gkemulticloud_php_gapic", - ":gkemulticloud_php_grpc", ":gkemulticloud_php_proto", ], ) @@ -328,6 +315,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Anthos Multi-Cloud provides a way to manage Kubernetes clusters that run on AWS and Azure infrastructure using the Anthos Multi-Cloud API. Combined with Connect, you can manage Kubernetes clusters on Google Cloud, AWS, and Azure from the Google Cloud Console.", ruby_cloud_title = "Anthos Multi-Cloud V1", service_yaml = "gkemulticloud_v1.yaml", + transport = "grpc+rest", deps = [ ":gkemulticloud_ruby_grpc", ":gkemulticloud_ruby_proto", @@ -357,6 +345,7 @@ load( csharp_proto_library( name = "gkemulticloud_csharp_proto", + extra_opts = [], deps = [":gkemulticloud_proto"], ) @@ -373,6 +362,7 @@ csharp_gapic_library( grpc_service_config = "gkemulticloud_grpc_service_config.json", rest_numeric_enums = False, service_yaml = "gkemulticloud_v1.yaml", + transport = "grpc+rest", deps = [ ":gkemulticloud_csharp_grpc", ":gkemulticloud_csharp_proto", diff --git a/third_party/googleapis/google/cloud/gkemulticloud/v1/attached_resources.proto b/third_party/googleapis/google/cloud/gkemulticloud/v1/attached_resources.proto index adca2ee90..f4f69ab10 100644 --- a/third_party/googleapis/google/cloud/gkemulticloud/v1/attached_resources.proto +++ b/third_party/googleapis/google/cloud/gkemulticloud/v1/attached_resources.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -89,7 +89,7 @@ message AttachedCluster { // Required. The Kubernetes distribution of the underlying attached cluster. // - // Supported values: ["eks", "aks"]. + // Supported values: ["eks", "aks", "generic"]. string distribution = 16 [(google.api.field_behavior) = REQUIRED]; // Output only. The region where this cluster runs. @@ -157,18 +157,35 @@ message AttachedCluster { // Optional. Monitoring configuration for this cluster. MonitoringConfig monitoring_config = 23 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Proxy configuration for outbound HTTP(S) traffic. + AttachedProxyConfig proxy_config = 24 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Binary Authorization configuration for this cluster. + BinaryAuthorization binary_authorization = 25 + [(google.api.field_behavior) = OPTIONAL]; } // Configuration related to the cluster RBAC settings. message AttachedClustersAuthorization { - // Required. Users that can perform operations as a cluster admin. A managed + // Optional. Users that can perform operations as a cluster admin. A managed // ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole // to the users. Up to ten admin users can be provided. // // For more info on RBAC, see // https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles repeated AttachedClusterUser admin_users = 1 - [(google.api.field_behavior) = REQUIRED]; + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Groups of users that can perform operations as a cluster admin. A + // managed ClusterRoleBinding will be created to grant the `cluster-admin` + // ClusterRole to the groups. Up to ten admin groups can be provided. + // + // For more info on RBAC, see + // https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles + repeated AttachedClusterGroup admin_groups = 2 + [(google.api.field_behavior) = OPTIONAL]; } // Identities of a user-type subject for Attached clusters. @@ -177,6 +194,12 @@ message AttachedClusterUser { string username = 1 [(google.api.field_behavior) = REQUIRED]; } +// Identities of a group-type subject for Attached clusters. +message AttachedClusterGroup { + // Required. The name of the group, e.g. `my-group@domain.com`. + string group = 1 [(google.api.field_behavior) = REQUIRED]; +} + // OIDC discovery information of the target cluster. // // Kubernetes Service Account (KSA) tokens are JWT tokens signed by the cluster @@ -228,3 +251,20 @@ message AttachedClusterError { // Human-friendly description of the error. string message = 1; } + +// Details of a proxy config. +message AttachedProxyConfig { + // The Kubernetes Secret resource that contains the HTTP(S) proxy + // configuration. The secret must be a JSON encoded proxy configuration + // as described in + KubernetesSecret kubernetes_secret = 1; +} + +// Information about a Kubernetes Secret +message KubernetesSecret { + // Name of the kubernetes secret. + string name = 1; + + // Namespace in which the kubernetes secret is stored. + string namespace = 2; +} diff --git a/third_party/googleapis/google/cloud/gkemulticloud/v1/attached_service.proto b/third_party/googleapis/google/cloud/gkemulticloud/v1/attached_service.proto index 175be6d4e..eb15cd093 100644 --- a/third_party/googleapis/google/cloud/gkemulticloud/v1/attached_service.proto +++ b/third_party/googleapis/google/cloud/gkemulticloud/v1/attached_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,7 +21,9 @@ import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/gkemulticloud/v1/attached_resources.proto"; +import "google/cloud/gkemulticloud/v1/common_resources.proto"; import "google/longrunning/operations.proto"; +import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.GkeMultiCloud.V1"; @@ -155,6 +157,16 @@ service AttachedClusters { }; option (google.api.method_signature) = "parent,attached_cluster_id"; } + + // Generates an access token for a cluster agent. + rpc GenerateAttachedClusterAgentToken( + GenerateAttachedClusterAgentTokenRequest) + returns (GenerateAttachedClusterAgentTokenResponse) { + option (google.api.http) = { + post: "/v1/{attached_cluster=projects/*/locations/*/attachedClusters/*}:generateAttachedClusterAgentToken" + body: "*" + }; + } } // Request message for `AttachedClusters.GenerateAttachedClusterInstallManifest` @@ -198,6 +210,9 @@ message GenerateAttachedClusterInstallManifestRequest { // calling // [GetAttachedServerConfig][google.cloud.gkemulticloud.v1.AttachedClusters.GetAttachedServerConfig]. string platform_version = 3 [(google.api.field_behavior) = REQUIRED]; + + // Optional. Proxy configuration for outbound HTTP(S) traffic. + AttachedProxyConfig proxy_config = 4 [(google.api.field_behavior) = OPTIONAL]; } // Response message for @@ -278,6 +293,9 @@ message ImportAttachedClusterRequest { // // Supported values: ["eks", "aks"]. string distribution = 5 [(google.api.field_behavior) = REQUIRED]; + + // Optional. Proxy configuration for outbound HTTP(S) traffic. + AttachedProxyConfig proxy_config = 6 [(google.api.field_behavior) = OPTIONAL]; } // Request message for `AttachedClusters.UpdateAttachedCluster` method. @@ -295,12 +313,16 @@ message UpdateAttachedClusterRequest { // fields from // [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster]: // - // * `description`. // * `annotations`. - // * `platform_version`. + // * `authorization.admin_groups`. // * `authorization.admin_users`. + // * `binary_authorization.evaluation_mode`. + // * `description`. // * `logging_config.component_config.enable_components`. // * `monitoring_config.managed_prometheus_config.enabled`. + // * `platform_version`. + // * `proxy_config.kubernetes_secret.name`. + // * `proxy_config.kubernetes_secret.namespace`. google.protobuf.FieldMask update_mask = 3 [(google.api.field_behavior) = REQUIRED]; } @@ -430,3 +452,45 @@ message GetAttachedServerConfigRequest { } ]; } + +message GenerateAttachedClusterAgentTokenRequest { + // Required. + string attached_cluster = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "gkemulticloud.googleapis.com/AttachedCluster" + } + ]; + + // Required. + string subject_token = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. + string subject_token_type = 3 [(google.api.field_behavior) = REQUIRED]; + + // Required. + string version = 4 [(google.api.field_behavior) = REQUIRED]; + + // Optional. + string grant_type = 6 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. + string audience = 7 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. + string scope = 8 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. + string requested_token_type = 9 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. + string options = 10 [(google.api.field_behavior) = OPTIONAL]; +} + +message GenerateAttachedClusterAgentTokenResponse { + string access_token = 1; + + int32 expires_in = 2; + + string token_type = 3; +} diff --git a/third_party/googleapis/google/cloud/gkemulticloud/v1/aws_resources.proto b/third_party/googleapis/google/cloud/gkemulticloud/v1/aws_resources.proto index 8989cd864..a40b66054 100644 --- a/third_party/googleapis/google/cloud/gkemulticloud/v1/aws_resources.proto +++ b/third_party/googleapis/google/cloud/gkemulticloud/v1/aws_resources.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,6 +20,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/gkemulticloud/v1/common_resources.proto"; import "google/protobuf/timestamp.proto"; +import "google/type/date.proto"; option csharp_namespace = "Google.Cloud.GkeMultiCloud.V1"; option go_package = "cloud.google.com/go/gkemulticloud/apiv1/gkemulticloudpb;gkemulticloudpb"; @@ -153,6 +154,10 @@ message AwsCluster { // Optional. Monitoring configuration for this cluster. MonitoringConfig monitoring_config = 21 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Binary Authorization configuration for this cluster. + BinaryAuthorization binary_authorization = 22 + [(google.api.field_behavior) = OPTIONAL]; } // ControlPlane defines common parameters between control plane nodes. @@ -252,14 +257,23 @@ message AwsServicesAuthentication { // Configuration related to the cluster RBAC settings. message AwsAuthorization { - // Required. Users that can perform operations as a cluster admin. A managed + // Optional. Users that can perform operations as a cluster admin. A managed // ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole // to the users. Up to ten admin users can be provided. // // For more info on RBAC, see // https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles repeated AwsClusterUser admin_users = 1 - [(google.api.field_behavior) = REQUIRED]; + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Groups of users that can perform operations as a cluster admin. A + // managed ClusterRoleBinding will be created to grant the `cluster-admin` + // ClusterRole to the groups. Up to ten admin groups can be provided. + // + // For more info on RBAC, see + // https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles + repeated AwsClusterGroup admin_groups = 2 + [(google.api.field_behavior) = OPTIONAL]; } // Identities of a user-type subject for AWS clusters. @@ -268,6 +282,12 @@ message AwsClusterUser { string username = 1 [(google.api.field_behavior) = REQUIRED]; } +// Identities of a group-type subject for AWS clusters. +message AwsClusterGroup { + // Required. The name of the group, e.g. `my-group@domain.com`. + string group = 1 [(google.api.field_behavior) = REQUIRED]; +} + // Configuration related to application-layer secrets encryption. message AwsDatabaseEncryption { // Required. The ARN of the AWS KMS key used to encrypt cluster secrets. @@ -306,6 +326,12 @@ message AwsVolumeTemplate { // GP3 volume. int32 iops = 3 [(google.api.field_behavior) = OPTIONAL]; + // Optional. The throughput that the volume supports, in MiB/s. Only valid if + // volume_type is GP3. + // + // If the volume_type is GP3 and this is not speficied, it defaults to 125. + int32 throughput = 5 [(google.api.field_behavior) = OPTIONAL]; + // Optional. The Amazon Resource Name (ARN) of the Customer Managed Key (CMK) // used to encrypt AWS EBS volumes. // @@ -336,6 +362,14 @@ message AwsClusterNetworking { // changed after creation. repeated string service_address_cidr_blocks = 3 [(google.api.field_behavior) = REQUIRED]; + + // Optional. Disable the per node pool subnet security group rules on the + // control plane security group. When set to true, you must also provide one + // or more security groups that ensure node pools are able to send requests to + // the control plane on TCP/443 and TCP/8132. Failure to do so may result in + // unavailable node pools. + bool per_node_pool_sg_rules_disabled = 5 + [(google.api.field_behavior) = OPTIONAL]; } // An Anthos node pool running on AWS. @@ -443,13 +477,70 @@ message AwsNodePool { // Output only. A set of errors found in the node pool. repeated AwsNodePoolError errors = 29 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. The Management configuration for this node pool. + AwsNodeManagement management = 30 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Update settings control the speed and disruption of the update. + UpdateSettings update_settings = 32 [(google.api.field_behavior) = OPTIONAL]; +} + +// UpdateSettings control the level of parallelism and the level of +// disruption caused during the update of a node pool. +// +// These settings are applicable when the node pool update requires replacing +// the existing node pool nodes with the updated ones. +// +// UpdateSettings are optional. When UpdateSettings are not specified during the +// node pool creation, a default is chosen based on the parent cluster's +// version. For clusters with minor version 1.27 and later, a default +// surge_settings configuration with max_surge = 1 and max_unavailable = 0 is +// used. For clusters with older versions, node pool updates use the traditional +// rolling update mechanism of updating one node at a time in a +// "terminate before create" fashion and update_settings is not applicable. +// +// Set the surge_settings parameter to use the Surge Update mechanism for +// the rolling update of node pool nodes. +// 1. max_surge controls the number of additional nodes that can be created +// beyond the current size of the node pool temporarily for the time of the +// update to increase the number of available nodes. +// 2. max_unavailable controls the number of nodes that can be simultaneously +// unavailable during the update. +// 3. (max_surge + max_unavailable) determines the level of parallelism (i.e., +// the number of nodes being updated at the same time). +message UpdateSettings { + // Optional. Settings for surge update. + SurgeSettings surge_settings = 1 [(google.api.field_behavior) = OPTIONAL]; +} + +// SurgeSettings contains the parameters for Surge update. +message SurgeSettings { + // Optional. The maximum number of nodes that can be created beyond the + // current size of the node pool during the update process. + int32 max_surge = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The maximum number of nodes that can be simultaneously + // unavailable during the update process. A node is considered unavailable if + // its status is not Ready. + int32 max_unavailable = 2 [(google.api.field_behavior) = OPTIONAL]; +} + +// AwsNodeManagement defines the set of node management features turned on for +// an AWS node pool. +message AwsNodeManagement { + // Optional. Whether or not the nodes will be automatically repaired. When set + // to true, the nodes in this node pool will be monitored and if they fail + // health checks consistently over a period of time, an automatic repair + // action will be triggered to replace them with new nodes. + bool auto_repair = 1 [(google.api.field_behavior) = OPTIONAL]; } // Parameters that describe the nodes in a cluster. message AwsNodeConfig { - // Optional. The AWS instance type. + // Optional. The EC2 instance type when creating on-Demand instances. // - // When unspecified, it uses a default based on the node pool's version. + // If unspecified during node pool creation, a default will be chosen based on + // the node pool version, and assigned to this field. string instance_type = 1 [(google.api.field_behavior) = OPTIONAL]; // Optional. Template for the root volume provisioned for node pool nodes. @@ -478,8 +569,7 @@ message AwsNodeConfig { string iam_instance_profile = 6 [(google.api.field_behavior) = REQUIRED]; // Optional. The OS image type to use on node pool instances. - // Can have a value of `ubuntu`, or `windows` if the cluster enables - // the Windows node pool preview feature. + // Can be unspecified, or have a value of `ubuntu`. // // When unspecified, it defaults to `ubuntu`. string image_type = 11 [(google.api.field_behavior) = OPTIONAL]; @@ -511,6 +601,13 @@ message AwsNodeConfig { // When unspecified, metrics collection is disabled. AwsAutoscalingGroupMetricsCollection autoscaling_metrics_collection = 15 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Configuration for provisioning EC2 Spot instances + // + // When specified, the node pool will provision Spot instances from the set + // of spot_config.instance_types. + // This field is mutually exclusive with `instance_type`. + SpotConfig spot_config = 16 [(google.api.field_behavior) = OPTIONAL]; } // AwsNodePoolAutoscaling contains information required by cluster autoscaler @@ -525,6 +622,38 @@ message AwsNodePoolAutoscaling { int32 max_node_count = 2 [(google.api.field_behavior) = REQUIRED]; } +// AwsOpenIdConfig is an OIDC discovery document for the cluster. +// See the OpenID Connect Discovery 1.0 specification for details. +message AwsOpenIdConfig { + // OIDC Issuer. + string issuer = 1; + + // JSON Web Key uri. + string jwks_uri = 2; + + // Supported response types. + repeated string response_types_supported = 3; + + // Supported subject types. + repeated string subject_types_supported = 4; + + // supported ID Token signing Algorithms. + repeated string id_token_signing_alg_values_supported = 5; + + // Supported claims. + repeated string claims_supported = 6; + + // Supported grant types. + repeated string grant_types = 7; +} + +// AwsJsonWebKeys is a valid JSON Web Key Set as specififed in RFC 7517. +message AwsJsonWebKeys { + // The public component of the keys used by the cluster to sign token + // requests. + repeated Jwk keys = 1; +} + // AwsServerConfig is the configuration of GKE cluster on AWS. message AwsServerConfig { option (google.api.resource) = { @@ -535,7 +664,10 @@ message AwsServerConfig { // The resource name of the config. string name = 1; - // List of valid Kubernetes versions. + // List of all released Kubernetes versions, including ones which are end of + // life and can no longer be used. Filter by the `enabled` + // property to limit to currently available versions. + // Valid versions supported for both create and update operations repeated AwsK8sVersionInfo valid_versions = 2; // The list of supported AWS regions. @@ -546,6 +678,27 @@ message AwsServerConfig { message AwsK8sVersionInfo { // Kubernetes version name. string version = 1; + + // Optional. True if the version is available for cluster creation. If a + // version is enabled for creation, it can be used to create new clusters. + // Otherwise, cluster creation will fail. However, cluster upgrade operations + // may succeed, even if the version is not enabled. + bool enabled = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. True if this cluster version belongs to a minor version that has + // reached its end of life and is no longer in scope to receive security and + // bug fixes. + bool end_of_life = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The estimated date (in Pacific Time) when this cluster version + // will reach its end of life. Or if this version is no longer supported (the + // `end_of_life` field is true), this is the actual date (in Pacific time) + // when the version reached its end of life. + google.type.Date end_of_life_date = 5 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The date (in Pacific Time) when the cluster version was released. + google.type.Date release_date = 6 [(google.api.field_behavior) = OPTIONAL]; } // SSH configuration for AWS resources. @@ -614,6 +767,12 @@ message AwsAutoscalingGroupMetricsCollection { repeated string metrics = 2 [(google.api.field_behavior) = OPTIONAL]; } +// SpotConfig has configuration info for Spot node. +message SpotConfig { + // Required. A list of instance types for creating spot node pool. + repeated string instance_types = 1 [(google.api.field_behavior) = REQUIRED]; +} + // AwsClusterError describes errors found on AWS clusters. message AwsClusterError { // Human-friendly description of the error. diff --git a/third_party/googleapis/google/cloud/gkemulticloud/v1/aws_service.proto b/third_party/googleapis/google/cloud/gkemulticloud/v1/aws_service.proto index 874f4df58..ce713cf65 100644 --- a/third_party/googleapis/google/cloud/gkemulticloud/v1/aws_service.proto +++ b/third_party/googleapis/google/cloud/gkemulticloud/v1/aws_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,7 +21,9 @@ import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/gkemulticloud/v1/aws_resources.proto"; +import "google/cloud/gkemulticloud/v1/common_resources.proto"; import "google/longrunning/operations.proto"; +import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; @@ -113,6 +115,15 @@ service AwsClusters { }; } + // Generates an access token for a cluster agent. + rpc GenerateAwsClusterAgentToken(GenerateAwsClusterAgentTokenRequest) + returns (GenerateAwsClusterAgentTokenResponse) { + option (google.api.http) = { + post: "/v1/{aws_cluster=projects/*/locations/*/awsClusters/*}:generateAwsClusterAgentToken" + body: "*" + }; + } + // Generates a short-lived access token to authenticate to a given // [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource. rpc GenerateAwsAccessToken(GenerateAwsAccessTokenRequest) @@ -156,6 +167,25 @@ service AwsClusters { }; } + // Rolls back a previously aborted or failed + // [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] update request. + // Makes no changes if the last update request successfully finished. + // If an update request is in progress, you cannot rollback the update. + // You must first cancel or let it finish unsuccessfully before you can + // rollback. + rpc RollbackAwsNodePoolUpdate(RollbackAwsNodePoolUpdateRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/*/awsClusters/*/awsNodePools/*}:rollback" + body: "*" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "AwsNodePool" + metadata_type: "OperationMetadata" + }; + } + // Describes a specific // [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource. rpc GetAwsNodePool(GetAwsNodePoolRequest) returns (AwsNodePool) { @@ -194,6 +224,25 @@ service AwsClusters { }; } + // Gets the OIDC discovery document for the cluster. + // See the + // [OpenID Connect Discovery 1.0 + // specification](https://openid.net/specs/openid-connect-discovery-1_0.html) + // for details. + rpc GetAwsOpenIdConfig(GetAwsOpenIdConfigRequest) returns (AwsOpenIdConfig) { + option (google.api.http) = { + get: "/v1/{aws_cluster=projects/*/locations/*/awsClusters/*}/.well-known/openid-configuration" + }; + } + + // Gets the public component of the cluster signing keys in + // JSON Web Key format. + rpc GetAwsJsonWebKeys(GetAwsJsonWebKeysRequest) returns (AwsJsonWebKeys) { + option (google.api.http) = { + get: "/v1/{aws_cluster=projects/*/locations/*/awsClusters/*}/jwks" + }; + } + // Returns information, such as supported AWS regions and Kubernetes // versions, on a given Google Cloud location. rpc GetAwsServerConfig(GetAwsServerConfigRequest) returns (AwsServerConfig) { @@ -257,6 +306,8 @@ message UpdateAwsClusterRequest { // * `annotations`. // * `control_plane.version`. // * `authorization.admin_users`. + // * `authorization.admin_groups`. + // * `binary_authorization.evaluation_mode`. // * `control_plane.aws_services_authentication.role_arn`. // * `control_plane.aws_services_authentication.role_session_name`. // * `control_plane.config_encryption.kms_key_arn`. @@ -268,6 +319,7 @@ message UpdateAwsClusterRequest { // * `control_plane.root_volume.size_gib`. // * `control_plane.root_volume.volume_type`. // * `control_plane.root_volume.iops`. + // * `control_plane.root_volume.throughput`. // * `control_plane.root_volume.kms_key_arn`. // * `control_plane.ssh_config`. // * `control_plane.ssh_config.ec2_key_pair`. @@ -276,6 +328,7 @@ message UpdateAwsClusterRequest { // * `logging_config.component_config.enable_components`. // * `control_plane.tags`. // * `monitoring_config.managed_prometheus_config.enabled`. + // * `networking.per_node_pool_sg_rules_disabled`. google.protobuf.FieldMask update_mask = 4 [(google.api.field_behavior) = REQUIRED]; } @@ -369,6 +422,12 @@ message DeleteAwsClusterRequest { // Useful for idempotent deletion. bool allow_missing = 3; + // Optional. If set to true, the deletion of + // [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster] resource will + // succeed even if errors occur during deleting in cluster resources. Using + // this parameter may result in orphaned resources in the cluster. + bool ignore_errors = 5 [(google.api.field_behavior) = OPTIONAL]; + // The current etag of the // [AwsCluster][google.cloud.gkemulticloud.v1.AwsCluster]. // @@ -436,6 +495,7 @@ message UpdateAwsNodePoolRequest { // * `config.config_encryption.kms_key_arn`. // * `config.security_group_ids`. // * `config.root_volume.iops`. + // * `config.root_volume.throughput`. // * `config.root_volume.kms_key_arn`. // * `config.root_volume.volume_type`. // * `config.root_volume.size_gib`. @@ -451,10 +511,40 @@ message UpdateAwsNodePoolRequest { // * `config.autoscaling_metrics_collection`. // * `config.autoscaling_metrics_collection.granularity`. // * `config.autoscaling_metrics_collection.metrics`. + // * `config.instance_type`. + // * `management.auto_repair`. + // * `management`. + // * `update_settings`. + // * `update_settings.surge_settings`. + // * `update_settings.surge_settings.max_surge`. + // * `update_settings.surge_settings.max_unavailable`. google.protobuf.FieldMask update_mask = 3 [(google.api.field_behavior) = REQUIRED]; } +// Request message for `AwsClusters.RollbackAwsNodePoolUpdate` method. +message RollbackAwsNodePoolUpdateRequest { + // Required. The name of the + // [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource to + // rollback. + // + // `AwsNodePool` names are formatted as + // `projects//locations//awsClusters//awsNodePools/`. + // + // See [Resource Names](https://cloud.google.com/apis/design/resource_names) + // for more details on Google Cloud resource names. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "gkemulticloud.googleapis.com/AwsNodePool" + } + ]; + + // Optional. Option for rollback to ignore the PodDisruptionBudget when + // draining the node pool nodes. Default value is false. + bool respect_pdb = 2 [(google.api.field_behavior) = OPTIONAL]; +} + // Request message for `AwsClusters.GetAwsNodePool` method. message GetAwsNodePoolRequest { // Required. The name of the @@ -546,6 +636,12 @@ message DeleteAwsNodePoolRequest { // Useful for idempotent deletion. bool allow_missing = 3; + // Optional. If set to true, the deletion of + // [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool] resource will + // succeed even if errors occur during deleting in node pool resources. Using + // this parameter may result in orphaned resources in the node pool. + bool ignore_errors = 5 [(google.api.field_behavior) = OPTIONAL]; + // The current ETag of the // [AwsNodePool][google.cloud.gkemulticloud.v1.AwsNodePool]. // @@ -556,6 +652,36 @@ message DeleteAwsNodePoolRequest { string etag = 4; } +// GetAwsOpenIdConfigRequest gets the OIDC discovery document for the +// cluster. See the OpenID Connect Discovery 1.0 specification for details. +message GetAwsOpenIdConfigRequest { + // Required. The AwsCluster, which owns the OIDC discovery document. + // Format: + // projects/{project}/locations/{location}/awsClusters/{cluster} + string aws_cluster = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "gkemulticloud.googleapis.com/AwsCluster" + } + ]; +} + +// GetAwsJsonWebKeysRequest gets the public component of the keys used by the +// cluster to sign token requests. This will be the jwks_uri for the discover +// document returned by getOpenIDConfig. See the OpenID Connect +// Discovery 1.0 specification for details. +message GetAwsJsonWebKeysRequest { + // Required. The AwsCluster, which owns the JsonWebKeys. + // Format: + // projects/{project}/locations/{location}/awsClusters/{cluster} + string aws_cluster = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "gkemulticloud.googleapis.com/AwsCluster" + } + ]; +} + // GetAwsServerConfigRequest gets the server config of GKE cluster on AWS. message GetAwsServerConfigRequest { // Required. The name of the @@ -603,3 +729,48 @@ message GenerateAwsAccessTokenResponse { google.protobuf.Timestamp expiration_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; } + +message GenerateAwsClusterAgentTokenRequest { + // Required. + string aws_cluster = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "gkemulticloud.googleapis.com/AwsCluster" + } + ]; + + // Required. + string subject_token = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. + string subject_token_type = 3 [(google.api.field_behavior) = REQUIRED]; + + // Required. + string version = 4 [(google.api.field_behavior) = REQUIRED]; + + // Optional. + string node_pool_id = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. + string grant_type = 6 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. + string audience = 7 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. + string scope = 8 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. + string requested_token_type = 9 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. + string options = 10 [(google.api.field_behavior) = OPTIONAL]; +} + +message GenerateAwsClusterAgentTokenResponse { + string access_token = 1; + + int32 expires_in = 2; + + string token_type = 3; +} diff --git a/third_party/googleapis/google/cloud/gkemulticloud/v1/azure_resources.proto b/third_party/googleapis/google/cloud/gkemulticloud/v1/azure_resources.proto index d7b6fc19e..ba6a45da7 100644 --- a/third_party/googleapis/google/cloud/gkemulticloud/v1/azure_resources.proto +++ b/third_party/googleapis/google/cloud/gkemulticloud/v1/azure_resources.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,6 +20,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/gkemulticloud/v1/common_resources.proto"; import "google/protobuf/timestamp.proto"; +import "google/type/date.proto"; option csharp_namespace = "Google.Cloud.GkeMultiCloud.V1"; option go_package = "cloud.google.com/go/gkemulticloud/apiv1/gkemulticloudpb;gkemulticloudpb"; @@ -95,6 +96,8 @@ message AzureCluster { // authentication configuration for how the Anthos Multi-Cloud API connects to // Azure APIs. // + // Either azure_client or azure_services_authentication should be provided. + // // The `AzureClient` resource must reside on the same Google Cloud Platform // project and region as the `AzureCluster`. // @@ -116,6 +119,8 @@ message AzureCluster { AzureAuthorization authorization = 6 [(google.api.field_behavior) = REQUIRED]; // Optional. Authentication configuration for management of Azure resources. + // + // Either azure_client or azure_services_authentication should be provided. AzureServicesAuthentication azure_services_authentication = 22 [(google.api.field_behavior) = OPTIONAL]; @@ -445,14 +450,23 @@ message AzureClient { // Configuration related to the cluster RBAC settings. message AzureAuthorization { - // Required. Users that can perform operations as a cluster admin. A managed + // Optional. Users that can perform operations as a cluster admin. A managed // ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole // to the users. Up to ten admin users can be provided. // // For more info on RBAC, see // https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles repeated AzureClusterUser admin_users = 1 - [(google.api.field_behavior) = REQUIRED]; + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Groups of users that can perform operations as a cluster admin. A + // managed ClusterRoleBinding will be created to grant the `cluster-admin` + // ClusterRole to the groups. Up to ten admin groups can be provided. + // + // For more info on RBAC, see + // https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles + repeated AzureClusterGroup admin_groups = 2 + [(google.api.field_behavior) = OPTIONAL]; } // Authentication configuration for the management of Azure resources. @@ -470,6 +484,12 @@ message AzureClusterUser { string username = 1 [(google.api.field_behavior) = REQUIRED]; } +// Identities of a group-type subject for Azure clusters. +message AzureClusterGroup { + // Required. The name of the group, e.g. `my-group@domain.com`. + string group = 1 [(google.api.field_behavior) = REQUIRED]; +} + // An Anthos node pool running on Azure. message AzureNodePool { option (google.api.resource) = { @@ -577,6 +597,19 @@ message AzureNodePool { // Output only. A set of errors found in the node pool. repeated AzureNodePoolError errors = 29 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. The Management configuration for this node pool. + AzureNodeManagement management = 30 [(google.api.field_behavior) = OPTIONAL]; +} + +// AzureNodeManagement defines the set of node management features turned on for +// an Azure node pool. +message AzureNodeManagement { + // Optional. Whether or not the nodes will be automatically repaired. When set + // to true, the nodes in this node pool will be monitored and if they fail + // health checks consistently over a period of time, an automatic repair + // action will be triggered to replace them with new nodes. + bool auto_repair = 1 [(google.api.field_behavior) = OPTIONAL]; } // Parameters that describe the configuration of all node machines @@ -605,8 +638,7 @@ message AzureNodeConfig { map tags = 3 [(google.api.field_behavior) = OPTIONAL]; // Optional. The OS image type to use on node pool instances. - // Can have a value of `ubuntu`, or `windows` if the cluster enables - // the Windows node pool preview feature. + // Can be unspecified, or have a value of `ubuntu`. // // When unspecified, it defaults to `ubuntu`. string image_type = 8 [(google.api.field_behavior) = OPTIONAL]; @@ -644,6 +676,38 @@ message AzureNodePoolAutoscaling { int32 max_node_count = 2 [(google.api.field_behavior) = REQUIRED]; } +// AzureOpenIdConfig is an OIDC discovery document for the cluster. +// See the OpenID Connect Discovery 1.0 specification for details. +message AzureOpenIdConfig { + // OIDC Issuer. + string issuer = 1; + + // JSON Web Key uri. + string jwks_uri = 2; + + // Supported response types. + repeated string response_types_supported = 3; + + // Supported subject types. + repeated string subject_types_supported = 4; + + // supported ID Token signing Algorithms. + repeated string id_token_signing_alg_values_supported = 5; + + // Supported claims. + repeated string claims_supported = 6; + + // Supported grant types. + repeated string grant_types = 7; +} + +// AzureJsonWebKeys is a valid JSON Web Key Set as specififed in RFC 7517. +message AzureJsonWebKeys { + // The public component of the keys used by the cluster to sign token + // requests. + repeated Jwk keys = 1; +} + // AzureServerConfig contains information about a Google Cloud location, such as // supported Azure regions and Kubernetes versions. message AzureServerConfig { @@ -661,17 +725,41 @@ message AzureServerConfig { // for more details on Google Cloud Platform resource names. string name = 1; - // List of valid Kubernetes versions. + // List of all released Kubernetes versions, including ones which are end of + // life and can no longer be used. Filter by the `enabled` + // property to limit to currently available versions. + // Valid versions supported for both create and update operations repeated AzureK8sVersionInfo valid_versions = 2; // The list of supported Azure regions. repeated string supported_azure_regions = 3; } -// Information about a supported Kubernetes version. +// Kubernetes version information of GKE cluster on Azure. message AzureK8sVersionInfo { - // A supported Kubernetes version (for example, `1.19.10-gke.1000`) + // Kubernetes version name (for example, `1.19.10-gke.1000`) string version = 1; + + // Optional. True if the version is available for cluster creation. If a + // version is enabled for creation, it can be used to create new clusters. + // Otherwise, cluster creation will fail. However, cluster upgrade operations + // may succeed, even if the version is not enabled. + bool enabled = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. True if this cluster version belongs to a minor version that has + // reached its end of life and is no longer in scope to receive security and + // bug fixes. + bool end_of_life = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The estimated date (in Pacific Time) when this cluster version + // will reach its end of life. Or if this version is no longer supported (the + // `end_of_life` field is true), this is the actual date (in Pacific time) + // when the version reached its end of life. + google.type.Date end_of_life_date = 5 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The date (in Pacific Time) when the cluster version was released. + google.type.Date release_date = 6 [(google.api.field_behavior) = OPTIONAL]; } // SSH configuration for Azure resources. diff --git a/third_party/googleapis/google/cloud/gkemulticloud/v1/azure_service.proto b/third_party/googleapis/google/cloud/gkemulticloud/v1/azure_service.proto index d39e9dd63..8e669a056 100644 --- a/third_party/googleapis/google/cloud/gkemulticloud/v1/azure_service.proto +++ b/third_party/googleapis/google/cloud/gkemulticloud/v1/azure_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,7 +21,9 @@ import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/gkemulticloud/v1/azure_resources.proto"; +import "google/cloud/gkemulticloud/v1/common_resources.proto"; import "google/longrunning/operations.proto"; +import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; @@ -178,6 +180,15 @@ service AzureClusters { }; } + // Generates an access token for a cluster agent. + rpc GenerateAzureClusterAgentToken(GenerateAzureClusterAgentTokenRequest) + returns (GenerateAzureClusterAgentTokenResponse) { + option (google.api.http) = { + post: "/v1/{azure_cluster=projects/*/locations/*/azureClusters/*}:generateAzureClusterAgentToken" + body: "*" + }; + } + // Generates a short-lived access token to authenticate to a given // [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource. rpc GenerateAzureAccessToken(GenerateAzureAccessTokenRequest) @@ -260,6 +271,29 @@ service AzureClusters { }; } + // Gets the OIDC discovery document for the cluster. + // See the + // [OpenID Connect Discovery 1.0 + // specification](https://openid.net/specs/openid-connect-discovery-1_0.html) + // for details. + rpc GetAzureOpenIdConfig(GetAzureOpenIdConfigRequest) + returns (AzureOpenIdConfig) { + option (google.api.http) = { + get: "/v1/{azure_cluster=projects/*/locations/*/azureClusters/*}/.well-known/openid-configuration" + }; + option (google.api.method_signature) = "azure_cluster"; + } + + // Gets the public component of the cluster signing keys in + // JSON Web Key format. + rpc GetAzureJsonWebKeys(GetAzureJsonWebKeysRequest) + returns (AzureJsonWebKeys) { + option (google.api.http) = { + get: "/v1/{azure_cluster=projects/*/locations/*/azureClusters/*}/jwks" + }; + option (google.api.method_signature) = "azure_cluster"; + } + // Returns information, such as supported Azure regions and Kubernetes // versions, on a given Google Cloud location. rpc GetAzureServerConfig(GetAzureServerConfigRequest) @@ -326,6 +360,7 @@ message UpdateAzureClusterRequest { // * `control_plane.vm_size`. // * `annotations`. // * `authorization.admin_users`. + // * `authorization.admin_groups`. // * `control_plane.root_volume.size_gib`. // * `azure_services_authentication`. // * `azure_services_authentication.tenant_id`. @@ -401,7 +436,7 @@ message ListAzureClustersResponse { string next_page_token = 2; } -// Request message for `Clusters.DeleteAzureCluster` method. +// Request message for `AzureClusters.DeleteAzureCluster` method. message DeleteAzureClusterRequest { // Required. The resource name the // [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] to delete. @@ -444,7 +479,8 @@ message CreateAzureNodePoolRequest { // Required. The [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] // resource where this node pool will be created. // - // Location names are formatted as `projects//locations/`. + // `AzureCluster` names are formatted as + // `projects//locations//azureClusters/`. // // See [Resource Names](https://cloud.google.com/apis/design/resource_names) // for more details on Google Cloud resource names. @@ -493,6 +529,8 @@ message UpdateAzureNodePoolRequest { // * `autoscaling.min_node_count`. // * `autoscaling.max_node_count`. // * `config.ssh_config.authorized_key`. + // * `management.auto_repair`. + // * `management`. google.protobuf.FieldMask update_mask = 3 [(google.api.field_behavior) = REQUIRED]; } @@ -559,7 +597,7 @@ message ListAzureNodePoolsResponse { string next_page_token = 2; } -// Delete message for `AzureClusters.DeleteAzureNodePool` method. +// Request message for `AzureClusters.DeleteAzureNodePool` method. message DeleteAzureNodePoolRequest { // Required. The resource name the // [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] to delete. @@ -599,6 +637,36 @@ message DeleteAzureNodePoolRequest { string etag = 4; } +// GetAzureOpenIdConfigRequest gets the OIDC discovery document for the +// cluster. See the OpenID Connect Discovery 1.0 specification for details. +message GetAzureOpenIdConfigRequest { + // Required. The AzureCluster, which owns the OIDC discovery document. + // Format: + // projects//locations//azureClusters/ + string azure_cluster = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "gkemulticloud.googleapis.com/AzureCluster" + } + ]; +} + +// GetAzureJsonWebKeysRequest gets the public component of the keys used by the +// cluster to sign token requests. This will be the jwks_uri for the discover +// document returned by getOpenIDConfig. See the OpenID Connect +// Discovery 1.0 specification for details. +message GetAzureJsonWebKeysRequest { + // Required. The AzureCluster, which owns the JsonWebKeys. + // Format: + // projects//locations//azureClusters/ + string azure_cluster = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "gkemulticloud.googleapis.com/AzureCluster" + } + ]; +} + // GetAzureServerConfigRequest gets the server config of GKE cluster on Azure. message GetAzureServerConfigRequest { // Required. The name of the @@ -753,7 +821,7 @@ message GenerateAzureAccessTokenRequest { // authenticate to. // // `AzureCluster` names are formatted as - // `projects//locations//AzureClusters/`. + // `projects//locations//azureClusters/`. // // See [Resource Names](https://cloud.google.com/apis/design/resource_names) // for more details on Google Cloud resource names. @@ -774,3 +842,48 @@ message GenerateAzureAccessTokenResponse { google.protobuf.Timestamp expiration_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; } + +message GenerateAzureClusterAgentTokenRequest { + // Required. + string azure_cluster = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "gkemulticloud.googleapis.com/AzureCluster" + } + ]; + + // Required. + string subject_token = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. + string subject_token_type = 3 [(google.api.field_behavior) = REQUIRED]; + + // Required. + string version = 4 [(google.api.field_behavior) = REQUIRED]; + + // Optional. + string node_pool_id = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. + string grant_type = 6 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. + string audience = 7 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. + string scope = 8 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. + string requested_token_type = 9 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. + string options = 10 [(google.api.field_behavior) = OPTIONAL]; +} + +message GenerateAzureClusterAgentTokenResponse { + string access_token = 1; + + int32 expires_in = 2; + + string token_type = 3; +} diff --git a/third_party/googleapis/google/cloud/gkemulticloud/v1/common_resources.proto b/third_party/googleapis/google/cloud/gkemulticloud/v1/common_resources.proto index a39cb813e..a9746caba 100644 --- a/third_party/googleapis/google/cloud/gkemulticloud/v1/common_resources.proto +++ b/third_party/googleapis/google/cloud/gkemulticloud/v1/common_resources.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -27,6 +27,36 @@ option java_package = "com.google.cloud.gkemulticloud.v1"; option php_namespace = "Google\\Cloud\\GkeMultiCloud\\V1"; option ruby_package = "Google::Cloud::GkeMultiCloud::V1"; +// Jwk is a JSON Web Key as specified in RFC 7517. +message Jwk { + // Key Type. + string kty = 1; + + // Algorithm. + string alg = 2; + + // Permitted uses for the public keys. + string use = 3; + + // Key ID. + string kid = 4; + + // Used for RSA keys. + string n = 5; + + // Used for RSA keys. + string e = 6; + + // Used for ECDSA keys. + string x = 7; + + // Used for ECDSA keys. + string y = 8; + + // Used for ECDSA keys. + string crv = 9; +} + // Workload Identity settings. message WorkloadIdentityConfig { // The OIDC issuer URL for this cluster. @@ -172,3 +202,23 @@ message ManagedPrometheusConfig { // Enable Managed Collection. bool enabled = 1; } + +// Configuration for Binary Authorization. +message BinaryAuthorization { + // Binary Authorization mode of operation. + enum EvaluationMode { + // Default value + EVALUATION_MODE_UNSPECIFIED = 0; + + // Disable BinaryAuthorization + DISABLED = 1; + + // Enforce Kubernetes admission requests with BinaryAuthorization using the + // project's singleton policy. + PROJECT_SINGLETON_POLICY_ENFORCE = 2; + } + + // Mode of operation for binauthz policy evaluation. If unspecified, defaults + // to DISABLED. + EvaluationMode evaluation_mode = 1; +} diff --git a/third_party/googleapis/google/cloud/gkemulticloud/v1/gkemulticloud_grpc_service_config.json b/third_party/googleapis/google/cloud/gkemulticloud/v1/gkemulticloud_grpc_service_config.json index 7b3932da4..a1ffea444 100644 --- a/third_party/googleapis/google/cloud/gkemulticloud/v1/gkemulticloud_grpc_service_config.json +++ b/third_party/googleapis/google/cloud/gkemulticloud/v1/gkemulticloud_grpc_service_config.json @@ -21,10 +21,22 @@ "service": "google.cloud.gkemulticloud.v1.AwsClusters", "method": "GenerateAwsAccessToken" }, + { + "service": "google.cloud.gkemulticloud.v1.AwsClusters", + "method": "GenerateAwsClusterAgentToken" + }, { "service": "google.cloud.gkemulticloud.v1.AwsClusters", "method": "GetAwsServerConfig" }, + { + "service": "google.cloud.gkemulticloud.v1.AwsClusters", + "method": "GetAwsOpenIdConfig" + }, + { + "service": "google.cloud.gkemulticloud.v1.AwsClusters", + "method": "GetAwsJsonWebKeys" + }, { "service": "google.cloud.gkemulticloud.v1.AzureClusters", "method": "GetAzureClient" @@ -53,10 +65,22 @@ "service": "google.cloud.gkemulticloud.v1.AzureClusters", "method": "GenerateAzureAccessToken" }, + { + "service": "google.cloud.gkemulticloud.v1.AzureClusters", + "method": "GenerateAzureClusterAgentToken" + }, { "service": "google.cloud.gkemulticloud.v1.AzureClusters", "method": "GetAzureServerConfig" }, + { + "service": "google.cloud.gkemulticloud.v1.AzureClusters", + "method": "GetAzureOpenIdConfig" + }, + { + "service": "google.cloud.gkemulticloud.v1.AzureClusters", + "method": "GetAzureJsonWebKeys" + }, { "service": "google.cloud.gkemulticloud.v1.AttachedClusters", "method": "GetAttachedCluster" @@ -69,6 +93,10 @@ "service": "google.cloud.gkemulticloud.v1.AttachedClusters", "method": "GetAttachedServerConfig" }, + { + "service": "google.cloud.gkemulticloud.v1.AttachedClusters", + "method": "GenerateAttachedClusterAgentToken" + }, { "service": "google.cloud.gkemulticloud.v1.AttachedClusters", "method": "GenerateAttachedClusterInstallManifest" @@ -109,6 +137,10 @@ "service": "google.cloud.gkemulticloud.v1.AwsClusters", "method": "UpdateAwsNodePool" }, + { + "service": "google.cloud.gkemulticloud.v1.AwsClusters", + "method": "RollbackAwsNodePoolUpdate" + }, { "service": "google.cloud.gkemulticloud.v1.AzureClusters", "method": "CreateAzureClient" diff --git a/third_party/googleapis/google/cloud/gkemulticloud/v1/gkemulticloud_v1.yaml b/third_party/googleapis/google/cloud/gkemulticloud/v1/gkemulticloud_v1.yaml index f258fcf05..b792c3c89 100644 --- a/third_party/googleapis/google/cloud/gkemulticloud/v1/gkemulticloud_v1.yaml +++ b/third_party/googleapis/google/cloud/gkemulticloud/v1/gkemulticloud_v1.yaml @@ -24,17 +24,6 @@ documentation: You can deploy workloads with the Anthos Multi-Cloud API or the gcloud and kubectl command-line tools. -backend: - rules: - - selector: 'google.cloud.gkemulticloud.v1.AttachedClusters.*' - deadline: 10.0 - - selector: 'google.cloud.gkemulticloud.v1.AwsClusters.*' - deadline: 10.0 - - selector: 'google.cloud.gkemulticloud.v1.AzureClusters.*' - deadline: 10.0 - - selector: 'google.longrunning.Operations.*' - deadline: 10.0 - http: rules: - selector: google.longrunning.Operations.CancelOperation @@ -67,11 +56,45 @@ authentication: https://www.googleapis.com/auth/cloud-platform publishing: - organization: CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED - new_issue_uri: '' - documentation_uri: '' - api_short_name: '' - github_label: '' - doc_tag_prefix: '' - codeowner_github_teams: + new_issue_uri: https://issuetracker.google.com/issues/new?component=997904&template=1807166 + documentation_uri: https://cloud.google.com/anthos/clusters/docs/multi-cloud + api_short_name: gkemulticloud + github_label: 'api: gkemulticloud' + doc_tag_prefix: gkemulticloud + organization: CLOUD library_settings: + - version: google.cloud.gkemulticloud.v1 + launch_stage: GA + java_settings: + common: + destinations: + - PACKAGE_MANAGER + cpp_settings: + common: + destinations: + - PACKAGE_MANAGER + php_settings: + common: + destinations: + - PACKAGE_MANAGER + python_settings: + common: + destinations: + - PACKAGE_MANAGER + node_settings: + common: + destinations: + - PACKAGE_MANAGER + dotnet_settings: + common: + destinations: + - PACKAGE_MANAGER + ruby_settings: + common: + destinations: + - PACKAGE_MANAGER + go_settings: + common: + destinations: + - PACKAGE_MANAGER + proto_reference_documentation_uri: https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.awsClusters diff --git a/third_party/googleapis/google/cloud/gsuiteaddons/BUILD.bazel b/third_party/googleapis/google/cloud/gsuiteaddons/BUILD.bazel index d0d0690a0..fde207e96 100644 --- a/third_party/googleapis/google/cloud/gsuiteaddons/BUILD.bazel +++ b/third_party/googleapis/google/cloud/gsuiteaddons/BUILD.bazel @@ -22,7 +22,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-gsuite_add_ons", "ruby-cloud-gem-namespace=Google::Cloud::GSuiteAddOns", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.5", "ruby-cloud-product-url=https://developers.google.com/workspace/add-ons/", "ruby-cloud-api-id=gsuiteaddons.googleapis.com", "ruby-cloud-api-shortname=gsuiteaddons", @@ -31,6 +31,7 @@ ruby_cloud_gapic_library( ], ruby_cloud_description = "Add-ons are customized applications that integrate with Google Workspace productivity applications.", ruby_cloud_title = "Google Workspace Add-ons", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/gsuiteaddons/logging/v1/BUILD.bazel b/third_party/googleapis/google/cloud/gsuiteaddons/logging/v1/BUILD.bazel index eb527a1e0..c0e201ede 100644 --- a/third_party/googleapis/google/cloud/gsuiteaddons/logging/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/gsuiteaddons/logging/v1/BUILD.bazel @@ -90,7 +90,6 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -99,20 +98,9 @@ php_proto_library( deps = [":logging_proto"], ) -php_grpc_library( - name = "logging_php_grpc", - srcs = [":logging_proto"], - deps = [":logging_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/gsuiteaddons/v1/BUILD.bazel b/third_party/googleapis/google/cloud/gsuiteaddons/v1/BUILD.bazel index 221d9f334..38f0cb42b 100644 --- a/third_party/googleapis/google/cloud/gsuiteaddons/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/gsuiteaddons/v1/BUILD.bazel @@ -22,7 +22,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -32,7 +31,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -93,6 +91,7 @@ java_gapic_library( srcs = [":gsuiteaddons_proto_with_info"], grpc_service_config = "gsuiteaddons_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "gsuiteaddons_v1.yaml", test_deps = [ ":gsuiteaddons_java_grpc", ], @@ -156,18 +155,12 @@ go_gapic_library( ], ) -go_test( - name = "gsuiteaddons_go_gapic_test", - srcs = [":gsuiteaddons_go_gapic_srcjar_test"], - embed = [":gsuiteaddons_go_gapic"], - importpath = "cloud.google.com/go/gsuiteaddons/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-gsuiteaddons-v1-go", deps = [ ":gsuiteaddons_go_gapic", + ":gsuiteaddons_go_gapic_srcjar-snippets.srcjar", ":gsuiteaddons_go_gapic_srcjar-test.srcjar", ":gsuiteaddons_go_proto", ], @@ -184,26 +177,38 @@ py_gapic_library( service_yaml = "gsuiteaddons_v1.yaml", transport = "grpc+rest", deps = [ - "//google/apps/script/type:type_py_proto", - "//google/apps/script/type/calendar:calendar_py_proto", - "//google/apps/script/type/docs:docs_py_proto", - "//google/apps/script/type/drive:drive_py_proto", - "//google/apps/script/type/gmail:gmail_py_proto", - "//google/apps/script/type/sheets:sheets_py_proto", - "//google/apps/script/type/slides:slides_py_proto", + "//google/apps/script/type:type_py_gapic", + "//google/apps/script/type/calendar:calendar_py_gapic", + "//google/apps/script/type/docs:docs_py_gapic", + "//google/apps/script/type/drive:drive_py_gapic", + "//google/apps/script/type/gmail:gmail_py_gapic", + "//google/apps/script/type/sheets:sheets_py_gapic", + "//google/apps/script/type/slides:slides_py_gapic", ], -) - -py_test( - name = "gsuiteaddons_py_gapic_test", - srcs = [ - "gsuiteaddons_py_gapic_pytest.py", - "gsuiteaddons_py_gapic_test.py", + opt_args = [ + "proto-plus-deps=\ +google.apps.script.type.calendar+\ +google.apps.script.type.docs+\ +google.apps.script.type.drive+\ +google.apps.script.type.gmail+\ +google.apps.script.type.sheets+\ +google.apps.script.type.slides+\ +google.apps.script.type" ], - legacy_create_init = False, - deps = [":gsuiteaddons_py_gapic"], ) +# TODO: Uncomment once +# https://github.com/googleapis/gapic-generator-python/issues/1376 is fixed +#py_test( +# name = "gsuiteaddons_py_gapic_test", +# srcs = [ +# "gsuiteaddons_py_gapic_pytest.py", +# "gsuiteaddons_py_gapic_test.py", +# ], +# legacy_create_init = False, +# deps = [":gsuiteaddons_py_gapic"], +#) + # Open Source Packages py_gapic_assembly_pkg( name = "gsuiteaddons-v1-py", @@ -217,23 +222,15 @@ php_proto_library( deps = [":gsuiteaddons_proto"], ) -php_grpc_library( - name = "gsuiteaddons_php_grpc", - srcs = [":gsuiteaddons_proto"], - deps = [":gsuiteaddons_php_proto"], -) - php_gapic_library( name = "gsuiteaddons_php_gapic", srcs = [":gsuiteaddons_proto_with_info"], grpc_service_config = "gsuiteaddons_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "gsuiteaddons_v1.yaml", transport = "grpc+rest", - deps = [ - ":gsuiteaddons_php_grpc", - ":gsuiteaddons_php_proto", - ], + deps = [":gsuiteaddons_php_proto"], ) # Open Source Packages @@ -241,7 +238,6 @@ php_gapic_assembly_pkg( name = "google-cloud-gsuiteaddons-v1-php", deps = [ ":gsuiteaddons_php_gapic", - ":gsuiteaddons_php_grpc", ":gsuiteaddons_php_proto", ], ) @@ -296,13 +292,14 @@ ruby_cloud_gapic_library( "ruby-cloud-api-shortname=gsuiteaddons", "ruby-cloud-namespace-override=GsuiteAddOns=GSuiteAddOns", "ruby-cloud-path-override=g_suite_add_ons=gsuite_add_ons", - "ruby-cloud-extra-dependencies=google-apps-script-type=> 0.0|< 2.a", + "ruby-cloud-extra-dependencies=google-apps-script-type=>0.0+<2.a", ], grpc_service_config = "gsuiteaddons_grpc_service_config.json", rest_numeric_enums = True, ruby_cloud_description = "Add-ons are customized applications that integrate with Google Workspace productivity applications.", ruby_cloud_title = "Google Workspace Add-ons V1", service_yaml = "gsuiteaddons_v1.yaml", + transport = "grpc+rest", deps = [ ":gsuiteaddons_ruby_grpc", ":gsuiteaddons_ruby_proto", diff --git a/third_party/googleapis/google/cloud/healthcare/logging/BUILD.bazel b/third_party/googleapis/google/cloud/healthcare/logging/BUILD.bazel index 06eaf6d2f..d7e29dfb1 100644 --- a/third_party/googleapis/google/cloud/healthcare/logging/BUILD.bazel +++ b/third_party/googleapis/google/cloud/healthcare/logging/BUILD.bazel @@ -95,7 +95,6 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -104,21 +103,9 @@ php_proto_library( deps = [":logging_proto"], ) -php_grpc_library( - name = "logging_php_grpc", - srcs = [":logging_proto"], - deps = [":logging_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) - ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/iap/BUILD.bazel b/third_party/googleapis/google/cloud/iap/BUILD.bazel index 1b081f060..9ccdf3df0 100644 --- a/third_party/googleapis/google/cloud/iap/BUILD.bazel +++ b/third_party/googleapis/google/cloud/iap/BUILD.bazel @@ -21,7 +21,7 @@ ruby_cloud_gapic_library( srcs = ["//google/cloud/iap/v1:iap_proto_with_info"], extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-iap", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.11", "ruby-cloud-env-prefix=IAP", "ruby-cloud-product-url=https://cloud.google.com/iap/", "ruby-cloud-api-id=iap.googleapis.com", @@ -29,6 +29,7 @@ ruby_cloud_gapic_library( ], ruby_cloud_description = "IAP lets you establish a central authorization layer for applications accessed by HTTPS, so you can use an application-level access control model instead of relying on network-level firewalls.", ruby_cloud_title = "Identity-Aware Proxy", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/iap/v1/BUILD.bazel b/third_party/googleapis/google/cloud/iap/v1/BUILD.bazel index 1c49a7c84..131316c07 100644 --- a/third_party/googleapis/google/cloud/iap/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/iap/v1/BUILD.bazel @@ -119,7 +119,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -150,19 +149,13 @@ go_gapic_library( ], ) -go_test( - name = "iap_go_gapic_test", - srcs = [":iap_go_gapic_srcjar_test"], - embed = [":iap_go_gapic"], - importpath = "cloud.google.com/go/iap/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-iap-v1-go", deps = [ ":iap_go_gapic", ":iap_go_gapic_srcjar-metadata.srcjar", + ":iap_go_gapic_srcjar-snippets.srcjar", ":iap_go_gapic_srcjar-test.srcjar", ":iap_go_proto", ], @@ -215,7 +208,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -224,23 +216,15 @@ php_proto_library( deps = [":iap_proto"], ) -php_grpc_library( - name = "iap_php_grpc", - srcs = [":iap_proto"], - deps = [":iap_php_proto"], -) - php_gapic_library( name = "iap_php_gapic", srcs = [":iap_proto_with_info"], grpc_service_config = "iap_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "iap_v1.yaml", transport = "grpc+rest", - deps = [ - ":iap_php_grpc", - ":iap_php_proto", - ], + deps = [":iap_php_proto"], ) # Open Source Packages @@ -248,7 +232,6 @@ php_gapic_assembly_pkg( name = "google-cloud-iap-v1-php", deps = [ ":iap_php_gapic", - ":iap_php_grpc", ":iap_php_proto", ], ) @@ -320,6 +303,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "IAP lets you establish a central authorization layer for applications accessed by HTTPS, so you can use an application-level access control model instead of relying on network-level firewalls.", ruby_cloud_title = "Identity-Aware Proxy V1", service_yaml = "iap_v1.yaml", + transport = "grpc+rest", deps = [ ":iap_ruby_grpc", ":iap_ruby_proto", diff --git a/third_party/googleapis/google/cloud/iap/v1/service.proto b/third_party/googleapis/google/cloud/iap/v1/service.proto index b0ba2e3fb..40fbce180 100644 --- a/third_party/googleapis/google/cloud/iap/v1/service.proto +++ b/third_party/googleapis/google/cloud/iap/v1/service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -148,6 +148,93 @@ service IdentityAwareProxyAdminService { } } +// API to programmatically create, list and retrieve Identity Aware Proxy (IAP) +// OAuth brands; and create, retrieve, delete and reset-secret of IAP OAuth +// clients. +service IdentityAwareProxyOAuthService { + option (google.api.default_host) = "iap.googleapis.com"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; + + // Lists the existing brands for the project. + rpc ListBrands(ListBrandsRequest) returns (ListBrandsResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*}/brands" + }; + } + + // Constructs a new OAuth brand for the project if one does not exist. + // The created brand is "internal only", meaning that OAuth clients created + // under it only accept requests from users who belong to the same Google + // Workspace organization as the project. The brand is created in an + // un-reviewed status. NOTE: The "internal only" status can be manually + // changed in the Google Cloud Console. Requires that a brand does not already + // exist for the project, and that the specified support email is owned by the + // caller. + rpc CreateBrand(CreateBrandRequest) returns (Brand) { + option (google.api.http) = { + post: "/v1/{parent=projects/*}/brands" + body: "brand" + }; + } + + // Retrieves the OAuth brand of the project. + rpc GetBrand(GetBrandRequest) returns (Brand) { + option (google.api.http) = { + get: "/v1/{name=projects/*/brands/*}" + }; + } + + // Creates an Identity Aware Proxy (IAP) OAuth client. The client is owned + // by IAP. Requires that the brand for the project exists and that it is + // set for internal-only use. + rpc CreateIdentityAwareProxyClient(CreateIdentityAwareProxyClientRequest) + returns (IdentityAwareProxyClient) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/brands/*}/identityAwareProxyClients" + body: "identity_aware_proxy_client" + }; + } + + // Lists the existing clients for the brand. + rpc ListIdentityAwareProxyClients(ListIdentityAwareProxyClientsRequest) + returns (ListIdentityAwareProxyClientsResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/brands/*}/identityAwareProxyClients" + }; + } + + // Retrieves an Identity Aware Proxy (IAP) OAuth client. + // Requires that the client is owned by IAP. + rpc GetIdentityAwareProxyClient(GetIdentityAwareProxyClientRequest) + returns (IdentityAwareProxyClient) { + option (google.api.http) = { + get: "/v1/{name=projects/*/brands/*/identityAwareProxyClients/*}" + }; + } + + // Resets an Identity Aware Proxy (IAP) OAuth client secret. Useful if the + // secret was compromised. Requires that the client is owned by IAP. + rpc ResetIdentityAwareProxyClientSecret( + ResetIdentityAwareProxyClientSecretRequest) + returns (IdentityAwareProxyClient) { + option (google.api.http) = { + post: "/v1/{name=projects/*/brands/*/identityAwareProxyClients/*}:resetSecret" + body: "*" + }; + } + + // Deletes an Identity Aware Proxy (IAP) OAuth client. Useful for removing + // obsolete clients, managing the number of clients in a given project, and + // cleaning up after tests. Requires that the client is owned by IAP. + rpc DeleteIdentityAwareProxyClient(DeleteIdentityAwareProxyClientRequest) + returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1/{name=projects/*/brands/*/identityAwareProxyClients/*}" + }; + } +} + // The request to ListTunnelDestGroups. message ListTunnelDestGroupsRequest { // Required. Google Cloud Project ID and location. @@ -286,8 +373,11 @@ message UpdateIapSettingsRequest { IapSettings iap_settings = 1 [(google.api.field_behavior) = REQUIRED]; // The field mask specifying which IAP settings should be updated. - // If omitted, the all of the settings are updated. See - // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask + // If omitted, then all of the settings are updated. See + // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask. + // + // Note: All IAP reauth settings must always be set together, using the + // field mask: `iapSettings.accessSettings.reauthSettings`. google.protobuf.FieldMask update_mask = 2; } @@ -354,6 +444,9 @@ message OAuthSettings { // Note: IAP does not verify that the id token's hd claim matches this value // since access behavior is managed by IAM policies. google.protobuf.StringValue login_hint = 2; + + // List of OAuth client IDs allowed to programmatically authenticate with IAP. + repeated string programmatic_clients = 5; } // Configuration for IAP reauthentication policies. @@ -366,11 +459,13 @@ message ReauthSettings { // Prompts the user to log in again. LOGIN = 1; - // Deprecated, no longer accepted by IAP APIs. PASSWORD = 2 [deprecated = true]; // User must use their secure key 2nd factor device. SECURE_KEY = 3; + + // User can use any enabled 2nd factor. + ENROLLED_SECOND_FACTORS = 4; } // Type of policy in the case of hierarchial policies. @@ -458,7 +553,7 @@ message AttributePropagationSettings { // credential maps to a "field" in the response. For example, selecting JWT // will propagate all attributes in the IAP JWT, header in the headers, etc. enum OutputCredentials { - // No output credential. This is an unsupported default. + // An output credential is required. OUTPUT_CREDENTIALS_UNSPECIFIED = 0; // Propagate attributes in the headers with "x-goog-iap-attr-" prefix. @@ -473,25 +568,31 @@ message AttributePropagationSettings { RCTOKEN = 3; } - // Raw string CEL expression. Must return a list of attributes. Maximum of 45 - // attributes can be selected. Expressions can select different attribute + // Raw string CEL expression. Must return a list of attributes. A maximum of + // 45 attributes can be selected. Expressions can select different attribute // types from `attributes`: `attributes.saml_attributes`, - // `attributes.iap_attributes`. Limited functions are supported: - // - `filter: .filter(, )` -> returns a subset of + // `attributes.iap_attributes`. The following functions are supported: + // + // - filter `.filter(, )`: Returns a subset of // `` where `` is true for every item. - // - `in: in ` -> returns true if `` contains `` - // - `selectByName: .selectByName()` -> returns the attribute + // + // - in ` in `: Returns true if `` contains ``. + // + // - selectByName `.selectByName()`: Returns the attribute // in // `` with the given `` name, otherwise returns empty. - // - `emitAs: .emitAs()` -> sets the `` name + // + // - emitAs `.emitAs()`: Sets the `` name // field to the given `` for propagation in selected output // credentials. - // - `strict: .strict()` -> ignore the `x-goog-iap-attr-` prefix - // for the provided `` when propagating via the `HEADER` output - // credential, i.e. request headers. - // - `append: .append()` OR - // `.append()` -> append the provided `` or - // `` onto the end of ``. + // + // - strict `.strict()`: Ignores the `x-goog-iap-attr-` prefix + // for the provided `` when propagating with the `HEADER` output + // credential, such as request headers. + // + // - append `.append()` OR + // `.append()`: Appends the provided `` or + // `` to the end of ``. // // Example expression: `attributes.saml_attributes.filter(x, x.name in // ['test']).append(attributes.iap_attributes.selectByName('exact').emitAs('custom').strict())` @@ -508,93 +609,6 @@ message AttributePropagationSettings { optional bool enable = 3; } -// API to programmatically create, list and retrieve Identity Aware Proxy (IAP) -// OAuth brands; and create, retrieve, delete and reset-secret of IAP OAuth -// clients. -service IdentityAwareProxyOAuthService { - option (google.api.default_host) = "iap.googleapis.com"; - option (google.api.oauth_scopes) = - "https://www.googleapis.com/auth/cloud-platform"; - - // Lists the existing brands for the project. - rpc ListBrands(ListBrandsRequest) returns (ListBrandsResponse) { - option (google.api.http) = { - get: "/v1/{parent=projects/*}/brands" - }; - } - - // Constructs a new OAuth brand for the project if one does not exist. - // The created brand is "internal only", meaning that OAuth clients created - // under it only accept requests from users who belong to the same Google - // Workspace organization as the project. The brand is created in an - // un-reviewed status. NOTE: The "internal only" status can be manually - // changed in the Google Cloud Console. Requires that a brand does not already - // exist for the project, and that the specified support email is owned by the - // caller. - rpc CreateBrand(CreateBrandRequest) returns (Brand) { - option (google.api.http) = { - post: "/v1/{parent=projects/*}/brands" - body: "brand" - }; - } - - // Retrieves the OAuth brand of the project. - rpc GetBrand(GetBrandRequest) returns (Brand) { - option (google.api.http) = { - get: "/v1/{name=projects/*/brands/*}" - }; - } - - // Creates an Identity Aware Proxy (IAP) OAuth client. The client is owned - // by IAP. Requires that the brand for the project exists and that it is - // set for internal-only use. - rpc CreateIdentityAwareProxyClient(CreateIdentityAwareProxyClientRequest) - returns (IdentityAwareProxyClient) { - option (google.api.http) = { - post: "/v1/{parent=projects/*/brands/*}/identityAwareProxyClients" - body: "identity_aware_proxy_client" - }; - } - - // Lists the existing clients for the brand. - rpc ListIdentityAwareProxyClients(ListIdentityAwareProxyClientsRequest) - returns (ListIdentityAwareProxyClientsResponse) { - option (google.api.http) = { - get: "/v1/{parent=projects/*/brands/*}/identityAwareProxyClients" - }; - } - - // Retrieves an Identity Aware Proxy (IAP) OAuth client. - // Requires that the client is owned by IAP. - rpc GetIdentityAwareProxyClient(GetIdentityAwareProxyClientRequest) - returns (IdentityAwareProxyClient) { - option (google.api.http) = { - get: "/v1/{name=projects/*/brands/*/identityAwareProxyClients/*}" - }; - } - - // Resets an Identity Aware Proxy (IAP) OAuth client secret. Useful if the - // secret was compromised. Requires that the client is owned by IAP. - rpc ResetIdentityAwareProxyClientSecret( - ResetIdentityAwareProxyClientSecretRequest) - returns (IdentityAwareProxyClient) { - option (google.api.http) = { - post: "/v1/{name=projects/*/brands/*/identityAwareProxyClients/*}:resetSecret" - body: "*" - }; - } - - // Deletes an Identity Aware Proxy (IAP) OAuth client. Useful for removing - // obsolete clients, managing the number of clients in a given project, and - // cleaning up after tests. Requires that the client is owned by IAP. - rpc DeleteIdentityAwareProxyClient(DeleteIdentityAwareProxyClientRequest) - returns (google.protobuf.Empty) { - option (google.api.http) = { - delete: "/v1/{name=projects/*/brands/*/identityAwareProxyClients/*}" - }; - } -} - // The request sent to ListBrands. message ListBrandsRequest { // Required. GCP Project number/id. diff --git a/third_party/googleapis/google/cloud/iap/v1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/iap/v1beta1/BUILD.bazel index d6b5b5e2e..34f342886 100644 --- a/third_party/googleapis/google/cloud/iap/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/iap/v1beta1/BUILD.bazel @@ -111,7 +111,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -141,19 +140,13 @@ go_gapic_library( ], ) -go_test( - name = "iap_go_gapic_test", - srcs = [":iap_go_gapic_srcjar_test"], - embed = [":iap_go_gapic"], - importpath = "cloud.google.com/go/iap/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-iap-v1beta1-go", deps = [ ":iap_go_gapic", ":iap_go_gapic_srcjar-metadata.srcjar", + ":iap_go_gapic_srcjar-snippets.srcjar", ":iap_go_gapic_srcjar-test.srcjar", ":iap_go_proto", ], @@ -206,7 +199,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -215,12 +207,6 @@ php_proto_library( deps = [":iap_proto"], ) -php_grpc_library( - name = "iap_php_grpc", - srcs = [":iap_proto"], - deps = [":iap_php_proto"], -) - php_gapic_library( name = "iap_php_gapic", srcs = [":iap_proto_with_info"], @@ -228,10 +214,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "iap_v1beta1.yaml", transport = "grpc+rest", - deps = [ - ":iap_php_grpc", - ":iap_php_proto", - ], + deps = [":iap_php_proto"], ) # Open Source Packages @@ -239,7 +222,6 @@ php_gapic_assembly_pkg( name = "google-cloud-iap-v1beta1-php", deps = [ ":iap_php_gapic", - ":iap_php_grpc", ":iap_php_proto", ], ) @@ -311,6 +293,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "IAP lets you establish a central authorization layer for applications accessed by HTTPS, so you can use an application-level access control model instead of relying on network-level firewalls.", ruby_cloud_title = "Identity-Aware Proxy V1beta1", service_yaml = "iap_v1beta1.yaml", + transport = "grpc+rest", deps = [ ":iap_ruby_grpc", ":iap_ruby_proto", diff --git a/third_party/googleapis/google/cloud/identitytoolkit/logging/BUILD.bazel b/third_party/googleapis/google/cloud/identitytoolkit/logging/BUILD.bazel index dc2e9eb7f..b49426798 100644 --- a/third_party/googleapis/google/cloud/identitytoolkit/logging/BUILD.bazel +++ b/third_party/googleapis/google/cloud/identitytoolkit/logging/BUILD.bazel @@ -92,7 +92,6 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -101,21 +100,9 @@ php_proto_library( deps = [":logging_proto"], ) -php_grpc_library( - name = "logging_php_grpc", - srcs = [":logging_proto"], - deps = [":logging_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) - ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/identitytoolkit/logging/request_log.proto b/third_party/googleapis/google/cloud/identitytoolkit/logging/request_log.proto index a787d33b0..3b7fdd8a1 100644 --- a/third_party/googleapis/google/cloud/identitytoolkit/logging/request_log.proto +++ b/third_party/googleapis/google/cloud/identitytoolkit/logging/request_log.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/identitytoolkit/v2/BUILD.bazel b/third_party/googleapis/google/cloud/identitytoolkit/v2/BUILD.bazel index c03c8317c..84786ba76 100644 --- a/third_party/googleapis/google/cloud/identitytoolkit/v2/BUILD.bazel +++ b/third_party/googleapis/google/cloud/identitytoolkit/v2/BUILD.bazel @@ -113,7 +113,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -141,19 +140,13 @@ go_gapic_library( ], ) -go_test( - name = "identitytoolkit_go_gapic_test", - srcs = [":identitytoolkit_go_gapic_srcjar_test"], - embed = [":identitytoolkit_go_gapic"], - importpath = "cloud.google.com/go/identitytoolkit/apiv2", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-identitytoolkit-v2-go", deps = [ ":identitytoolkit_go_gapic", ":identitytoolkit_go_gapic_srcjar-metadata.srcjar", + ":identitytoolkit_go_gapic_srcjar-snippets.srcjar", ":identitytoolkit_go_gapic_srcjar-test.srcjar", ":identitytoolkit_go_proto", ], @@ -208,7 +201,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -217,12 +209,6 @@ php_proto_library( deps = [":identitytoolkit_proto"], ) -php_grpc_library( - name = "identitytoolkit_php_grpc", - srcs = [":identitytoolkit_proto"], - deps = [":identitytoolkit_php_proto"], -) - php_gapic_library( name = "identitytoolkit_php_gapic", srcs = [":identitytoolkit_proto_with_info"], @@ -230,10 +216,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "identitytoolkit_v2.yaml", transport = "grpc+rest", - deps = [ - ":identitytoolkit_php_grpc", - ":identitytoolkit_php_proto", - ], + deps = [":identitytoolkit_php_proto"], ) # Open Source Packages @@ -241,7 +224,6 @@ php_gapic_assembly_pkg( name = "google-cloud-identitytoolkit-v2-php", deps = [ ":identitytoolkit_php_gapic", - ":identitytoolkit_php_grpc", ":identitytoolkit_php_proto", ], ) @@ -312,6 +294,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "The Google Identity Toolkit API lets you use open standards to verify a user's identity.", ruby_cloud_title = "Identity Platform V2", service_yaml = "identitytoolkit_v2.yaml", + transport = "grpc+rest", deps = [ ":identitytoolkit_ruby_grpc", ":identitytoolkit_ruby_proto", diff --git a/third_party/googleapis/google/cloud/identitytoolkit/v2/account_management_service.proto b/third_party/googleapis/google/cloud/identitytoolkit/v2/account_management_service.proto index b9c9722e0..dc4d4daf6 100644 --- a/third_party/googleapis/google/cloud/identitytoolkit/v2/account_management_service.proto +++ b/third_party/googleapis/google/cloud/identitytoolkit/v2/account_management_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/identitytoolkit/v2/authentication_service.proto b/third_party/googleapis/google/cloud/identitytoolkit/v2/authentication_service.proto index cf00b923e..bb1ce9ec0 100644 --- a/third_party/googleapis/google/cloud/identitytoolkit/v2/authentication_service.proto +++ b/third_party/googleapis/google/cloud/identitytoolkit/v2/authentication_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/identitytoolkit/v2/mfa_info.proto b/third_party/googleapis/google/cloud/identitytoolkit/v2/mfa_info.proto index c91107805..862a9a2b7 100644 --- a/third_party/googleapis/google/cloud/identitytoolkit/v2/mfa_info.proto +++ b/third_party/googleapis/google/cloud/identitytoolkit/v2/mfa_info.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/ids/BUILD.bazel b/third_party/googleapis/google/cloud/ids/BUILD.bazel index 3a91ef9e1..75e17abfd 100644 --- a/third_party/googleapis/google/cloud/ids/BUILD.bazel +++ b/third_party/googleapis/google/cloud/ids/BUILD.bazel @@ -21,7 +21,7 @@ ruby_cloud_gapic_library( srcs = ["//google/cloud/ids/v1:ids_proto_with_info"], extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-ids", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.6", "ruby-cloud-product-url=https://cloud.google.com/intrusion-detection-system/", "ruby-cloud-api-id=ids.googleapis.com", "ruby-cloud-api-shortname=ids", @@ -29,6 +29,7 @@ ruby_cloud_gapic_library( ], ruby_cloud_description = "Cloud IDS is an intrusion detection service that provides threat detection for intrusions, malware, spyware, and command-and-control attacks on your network. Cloud IDS works by creating a Google-managed peered network with mirrored VMs. Traffic in the peered network is mirrored, and then inspected by Palo Alto Networks threat protection technologies to provide advanced threat detection. You can mirror all traffic or you can mirror filtered traffic, based on protocol, IP address range, or ingress and egress.", ruby_cloud_title = "Cloud IDS", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/ids/logging/v1/BUILD.bazel b/third_party/googleapis/google/cloud/ids/logging/v1/BUILD.bazel index 05b939351..28dc3d911 100644 --- a/third_party/googleapis/google/cloud/ids/logging/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/ids/logging/v1/BUILD.bazel @@ -91,7 +91,6 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -100,20 +99,9 @@ php_proto_library( deps = [":logging_proto"], ) -php_grpc_library( - name = "logging_php_grpc", - srcs = [":logging_proto"], - deps = [":logging_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/ids/v1/BUILD.bazel b/third_party/googleapis/google/cloud/ids/v1/BUILD.bazel index 2c8441b17..f3d563ea0 100644 --- a/third_party/googleapis/google/cloud/ids/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/ids/v1/BUILD.bazel @@ -113,7 +113,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -145,19 +144,13 @@ go_gapic_library( ], ) -go_test( - name = "ids_go_gapic_test", - srcs = [":ids_go_gapic_srcjar_test"], - embed = [":ids_go_gapic"], - importpath = "cloud.google.com/go/ids/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-ids-v1-go", deps = [ ":ids_go_gapic", ":ids_go_gapic_srcjar-metadata.srcjar", + ":ids_go_gapic_srcjar-snippets.srcjar", ":ids_go_gapic_srcjar-test.srcjar", ":ids_go_proto", ], @@ -207,7 +200,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -216,24 +208,16 @@ php_proto_library( deps = [":ids_proto"], ) -php_grpc_library( - name = "ids_php_grpc", - srcs = [":ids_proto"], - deps = [":ids_php_proto"], -) - php_gapic_library( name = "ids_php_gapic", srcs = [":ids_proto_with_info"], gapic_yaml = "ids_gapic.yaml", grpc_service_config = "ids_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "ids_v1.yaml", transport = "grpc+rest", - deps = [ - ":ids_php_grpc", - ":ids_php_proto", - ], + deps = [":ids_php_proto"], ) # Open Source Packages @@ -241,7 +225,6 @@ php_gapic_assembly_pkg( name = "google-cloud-ids-v1-php", deps = [ ":ids_php_gapic", - ":ids_php_grpc", ":ids_php_proto", ], ) @@ -313,6 +296,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Cloud IDS is an intrusion detection service that provides threat detection for intrusions, malware, spyware, and command-and-control attacks on your network. Cloud IDS works by creating a Google-managed peered network with mirrored VMs. Traffic in the peered network is mirrored, and then inspected by Palo Alto Networks threat protection technologies to provide advanced threat detection. You can mirror all traffic or you can mirror filtered traffic, based on protocol, IP address range, or ingress and egress.", ruby_cloud_title = "Cloud IDS V1", service_yaml = "ids_v1.yaml", + transport = "grpc+rest", deps = [ ":ids_ruby_grpc", ":ids_ruby_proto", diff --git a/third_party/googleapis/google/cloud/integrations/v1alpha/BUILD.bazel b/third_party/googleapis/google/cloud/integrations/v1alpha/BUILD.bazel index db06b17cd..7473e4886 100644 --- a/third_party/googleapis/google/cloud/integrations/v1alpha/BUILD.bazel +++ b/third_party/googleapis/google/cloud/integrations/v1alpha/BUILD.bazel @@ -11,7 +11,10 @@ load("@rules_proto//proto:defs.bzl", "proto_library") proto_library( name = "integrations_proto", srcs = [ + "cloud_logging_details.proto", + "coordinate.proto", "event_parameter.proto", + "integration_state.proto", "json_validation.proto", "log_entries.proto", "product.proto", @@ -29,8 +32,8 @@ proto_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "java_grpc_library", "java_proto_library", + "java_gapic_assembly_gradle_pkg", ) java_proto_library( @@ -38,10 +41,13 @@ java_proto_library( deps = [":integrations_proto"], ) -java_grpc_library( - name = "integrations_java_grpc", - srcs = [":integrations_proto"], - deps = [":integrations_java_proto"], +# Open Source Packages +java_gapic_assembly_gradle_pkg( + name = "google-cloud-integrations-v1alpha-java", + deps = [ + ":integrations_proto", + ":integrations_java_proto", + ], ) ############################################################################## @@ -50,6 +56,7 @@ java_grpc_library( load( "@com_google_googleapis_imports//:imports.bzl", "go_proto_library", + "go_gapic_assembly_pkg", ) go_proto_library( @@ -62,6 +69,13 @@ go_proto_library( ], ) +go_gapic_assembly_pkg( + name = "google-cloud-integrations-v1alpha-go", + deps = [ + ":integrations_go_proto", + ], +) + ############################################################################## # Python ############################################################################## @@ -70,6 +84,8 @@ load( "moved_proto_library", "py_grpc_library", "py_proto_library", + "py_gapic_library", + "py_gapic_assembly_pkg", ) moved_proto_library( @@ -92,12 +108,27 @@ py_grpc_library( deps = [":integrations_py_proto"], ) +py_gapic_library( + name = "integrations_py_gapic", + srcs = [":integrations_proto"], + rest_numeric_enums = False, + transport = "grpc+rest", +) + +# Open Source Packages +py_gapic_assembly_pkg( + name = "google-cloud-integrations-v1alpha-py", + deps = [ + ":integrations_py_gapic", + ], +) + ############################################################################## # PHP ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", + "php_gapic_assembly_pkg", "php_proto_library", ) @@ -106,22 +137,13 @@ php_proto_library( deps = [":integrations_proto"], ) -php_grpc_library( - name = "integrations_php_grpc", - srcs = [":integrations_proto"], - deps = [":integrations_php_proto"], -) - -############################################################################## -# Node.js -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", +php_gapic_assembly_pkg( + name = "google-cloud-integrations-v1alpha-php", + deps = [ + ":integrations_php_proto", + ], ) - ############################################################################## # Ruby ############################################################################## @@ -147,8 +169,8 @@ ruby_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "csharp_grpc_library", "csharp_proto_library", + "csharp_gapic_assembly_pkg", ) csharp_proto_library( @@ -156,13 +178,33 @@ csharp_proto_library( deps = [":integrations_proto"], ) -csharp_grpc_library( - name = "integrations_csharp_grpc", - srcs = [":integrations_proto"], - deps = [":integrations_csharp_proto"], +# Open Source Packages +csharp_gapic_assembly_pkg( + name = "google-cloud-integrations-v1alpha-csharp", + package_name = "Google.Cloud.Integrations.V1Alpha", + generate_nongapic_package = True, + deps = [ + ":integrations_csharp_proto", + ], ) ############################################################################## # C++ ############################################################################## -# Put your C++ code here +load( + "@com_google_googleapis_imports//:imports.bzl", + "cc_grpc_library", + "cc_proto_library", +) + +cc_proto_library( + name = "integrations_cc_proto", + deps = [":integrations_proto"], +) + +cc_grpc_library( + name = "integrations_cc_grpc", + srcs = [":integrations_proto"], + grpc_only = True, + deps = [":integrations_cc_proto"], +) diff --git a/third_party/googleapis/google/cloud/integrations/v1alpha/event_parameter.proto b/third_party/googleapis/google/cloud/integrations/v1alpha/event_parameter.proto index d0184f8ee..412061581 100644 --- a/third_party/googleapis/google/cloud/integrations/v1alpha/event_parameter.proto +++ b/third_party/googleapis/google/cloud/integrations/v1alpha/event_parameter.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,6 +18,7 @@ package google.cloud.integrations.v1alpha; import "google/cloud/integrations/v1alpha/value_type.proto"; +option csharp_namespace = "Google.Cloud.Integrations.V1Alpha"; option go_package = "cloud.google.com/go/integrations/apiv1alpha/integrationspb;integrationspb"; option java_multiple_files = true; option java_outer_classname = "EventParameterProto"; @@ -25,6 +26,7 @@ option java_package = "com.google.cloud.integrations.v1alpha"; // This message is used for processing and persisting (when applicable) key // value pair parameters for each event in the event bus. +// Next available id: 4 message EventParameter { // Key is used to retrieve the corresponding parameter value. This should be // unique for a given fired event. These parameters must be predefined in the @@ -34,4 +36,7 @@ message EventParameter { // Values for the defined keys. Each value can either be string, int, double // or any proto message. ValueType value = 2; + + // True if this parameter should be masked in the logs + bool masked = 3; } diff --git a/third_party/googleapis/google/cloud/integrations/v1alpha/json_validation.proto b/third_party/googleapis/google/cloud/integrations/v1alpha/json_validation.proto index 0b12f4e00..7b2373e8e 100644 --- a/third_party/googleapis/google/cloud/integrations/v1alpha/json_validation.proto +++ b/third_party/googleapis/google/cloud/integrations/v1alpha/json_validation.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,6 +16,7 @@ syntax = "proto3"; package google.cloud.integrations.v1alpha; +option csharp_namespace = "Google.Cloud.Integrations.V1Alpha"; option go_package = "cloud.google.com/go/integrations/apiv1alpha/integrationspb;integrationspb"; option java_multiple_files = true; option java_outer_classname = "JsonValidationProto"; diff --git a/third_party/googleapis/google/cloud/integrations/v1alpha/log_entries.proto b/third_party/googleapis/google/cloud/integrations/v1alpha/log_entries.proto index 01ede3b2a..32ad38c88 100644 --- a/third_party/googleapis/google/cloud/integrations/v1alpha/log_entries.proto +++ b/third_party/googleapis/google/cloud/integrations/v1alpha/log_entries.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,11 +16,14 @@ syntax = "proto3"; package google.cloud.integrations.v1alpha; +import "google/api/field_behavior.proto"; +import "google/cloud/integrations/v1alpha/cloud_logging_details.proto"; import "google/cloud/integrations/v1alpha/event_parameter.proto"; -import "google/cloud/integrations/v1alpha/product.proto"; +import "google/cloud/integrations/v1alpha/integration_state.proto"; import "google/cloud/integrations/v1alpha/task_config.proto"; import "google/protobuf/timestamp.proto"; +option csharp_namespace = "Google.Cloud.Integrations.V1Alpha"; option go_package = "cloud.google.com/go/integrations/apiv1alpha/integrationspb;integrationspb"; option java_multiple_files = true; option java_outer_classname = "LogEntriesProto"; @@ -29,28 +32,25 @@ option java_package = "com.google.cloud.integrations.v1alpha"; // Log entry to log execution info for the monitored resource // `integrations.googleapis.com/IntegrationVersion`. message ExecutionInfo { - // PostMethod Enum - enum PostMethod { + // ExecutionMethod Enum + enum ExecutionMethod { // Default value. - POST_METHOD_UNSPECIFIED = 0; + EXECUTION_METHOD_UNSPECIFIED = 0; // Sync post. POST = 1; // Async post with schedule time. SCHEDULE = 2; - } - // Auto-generated primary key. - string event_execution_info_id = 1; + // Async post. + POST_TO_QUEUE = 3; + } // Name of the integration. string integration = 2; - // Pointer to the active version it is executing. - string integration_version = 3; - - // The event data user sends as request. + // The customer's project number. string project_id = 4; // The trigger id of the integration trigger config. If both trigger_id @@ -59,76 +59,93 @@ message ExecutionInfo { // default start tasks. string trigger_id = 5; - // Event parameters come in as part of the request. + // Execution parameters come in as part of the request. map request_params = 6; - // Event parameters come out as part of the response. + // Execution parameters come out as part of the response. map response_params = 7; - // The ways user posts this event. - PostMethod post_method = 8; - - // The execution info about this event. - EventExecutionDetails event_execution_details = 9; - // Errors, warnings, and informationals associated with the workflow/task. // The order in which the errors were added by the workflow/task is // maintained. repeated ErrorDetail errors = 10; - // Which Google product the execution_info belongs to. If not set, the - // execution_info belongs to Integration Platform by default. - Product product = 11; - - // This is used to de-dup incoming request. - string request_id = 12; - // The configuration details for a task. repeated TaskConfig task_configs = 13; + + // Pointer to the active version it is executing. + string integration_version_number = 14; + + // Auto-generated primary key. + string execution_id = 15; + + // Output only. State of the integration version + IntegrationState integration_version_state = 16 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Database persistence policy for execution info + bool enable_database_persistence = 17; + + // Cloud Logging details for execution info + CloudLoggingDetails cloud_logging_details = 18; + + // The details about this integration execution. + IntegrationExecutionDetails integration_execution_details = 19; + + // Specifies whether this execution info corresponds to actual integration or + // test case. + ExecutionType execution_type = 20; + + // The ways user posts this event. + ExecutionMethod execution_method = 21; + + // An increasing sequence that is set when a new snapshot (Integration + // Version) is created. + int64 integration_snapshot_number = 22; } -// Contains the details of the execution info of this event: this includes -// the tasks execution details plus the event execution statistics. -message EventExecutionDetails { - // Enum EventExecutionState. - enum EventExecutionState { +// Contains the details of the execution info: this includes the tasks execution +// details plus the integration execution statistics. +message IntegrationExecutionDetails { + // Enum ExecutionState. + enum IntegrationExecutionState { // Default value. - EVENT_EXECUTION_STATE_UNSPECIFIED = 0; + INTEGRATION_EXECUTION_STATE_UNSPECIFIED = 0; - // Event is received and waiting for the execution. This happens when - // firing the event via "postToQueue" or "schedule". + // Integration is received and waiting for the execution. This happens when + // firing the Integration via "postToQueue" or "schedule". ON_HOLD = 1; - // Event is under processing. + // Integration is under processing. IN_PROCESS = 2; - // Event execution successfully finished. There's no more change after + // Integration execution successfully finished. There's no more change after // this state. SUCCEEDED = 3; - // Event execution failed. There's no more change after this state. + // Integration execution failed. There's no more change after this state. FAILED = 4; - // Event execution canceled by user. There's no more change after this + // Integration execution canceled by user. There's no more change after this // state. CANCELLED = 5; - // Event execution failed and waiting for retry. + // Integration execution failed and waiting for retry. RETRY_ON_HOLD = 6; - // Event execution suspended and waiting for manual intervention. + // Integration execution suspended and waiting for manual intervention. SUSPENDED = 7; } - // The execution state of this event. - EventExecutionState event_execution_state = 1; + // Output only. The execution state of this Integration. + IntegrationExecutionState integration_execution_state = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // After snapshot migration, this field will no longer be populated, but old - // execution snapshots will still be accessible. - repeated EventExecutionSnapshot event_execution_snapshot = 2; + // Execution snapshot. + repeated IntegrationExecutionSnapshot integration_execution_snapshot = 2; - // Status for the current event execution attempt. - repeated AttemptStats event_attempt_stats = 3; + // Status for the current execution attempt. + repeated AttemptStats execution_attempt_stats = 3; // Next scheduled execution time in case the execution status was // RETRY_ON_HOLD. @@ -136,24 +153,38 @@ message EventExecutionDetails { // Indicates the number of times the execution has restarted from the // beginning. - int32 event_retries_count = 5; + int32 execution_retries_count = 5; } -// Contains the snapshot of the event execution for a given checkpoint. -message EventExecutionSnapshot { - // Metadata for the event/task retry. - message EventExecutionSnapshotMetadata { +// Contains the snapshot of the integration execution for a given checkpoint. +message IntegrationExecutionSnapshot { + // Metadata for the integration/task retry. + message IntegrationExecutionSnapshotMetadata { // The task number associated with this snapshot. Could be empty. string task_number = 1; // the task name associated with this snapshot. Could be empty. string task = 2; - // the event attempt number this snapshot belongs to. - int32 event_attempt_num = 3; + // the integration execution attempt number this snapshot belongs to. + int32 integration_execution_attempt_num = 3; // the task attempt number this snapshot belongs to. Could be empty. int32 task_attempt_num = 4; + + // the task label associated with this snapshot. Could be empty. + string task_label = 5; + + // Ancestor task number for the task(it will only be non-empty if the task + // is under 'private workflow') + repeated string ancestor_task_numbers = 6; + + // Ancestor iteration number for the task(it will only be non-empty if the + // task is under 'private workflow') + repeated string ancestor_iteration_numbers = 7; + + // The direct integration which the event execution snapshots belongs to + string integration = 8; } // Indicates "right after which checkpoint task's execution" this snapshot @@ -164,7 +195,8 @@ message EventExecutionSnapshot { google.protobuf.Timestamp snapshot_time = 2; // Snapshot metadata. - EventExecutionSnapshotMetadata event_execution_snapshot_metadata = 3; + IntegrationExecutionSnapshotMetadata integration_execution_snapshot_metadata = + 3; // All of the task execution details at the given point of time. repeated TaskExecutionDetails task_execution_details = 4; @@ -173,10 +205,7 @@ message EventExecutionSnapshot { repeated ConditionResult condition_results = 5; // The parameters in Event object. - map event_params = 6; - - // The parameters in Event object that differs from last snapshot. - map diff_params = 7; + map execution_params = 6; } // Contains the details of the execution of this task. @@ -200,7 +229,7 @@ message TaskExecutionDetails { // Task execution failed. There's no more change after this state. FAILED = 4; - // Task execution failed and cause the whole event execution to fail + // Task execution failed and cause the whole integration execution to fail // immediately. There's no more change after this state. FATAL = 5; @@ -208,11 +237,11 @@ message TaskExecutionDetails { RETRY_ON_HOLD = 6; // Task execution skipped. This happens when its precondition wasn't met, - // or the event execution been canceled before reach to the task. + // or the integration execution been canceled before reach to the task. // There's no more changes after this state. SKIPPED = 7; - // Task execution canceled when in progress. This happens when event + // Task execution canceled when in progress. This happens when integration // execution been canceled or any other task fall in fatal state. CANCELLED = 8; @@ -244,11 +273,11 @@ message TaskExecutionDetails { // Status for the execution attempt. message AttemptStats { - // The start time of the event execution for current attempt. This could be - // in the future if it's been scheduled. + // The start time of the integration execution for current attempt. This could + // be in the future if it's been scheduled. google.protobuf.Timestamp start_time = 1; - // The end time of the event execution for current attempt. + // The end time of the integration execution for current attempt. google.protobuf.Timestamp end_time = 2; } @@ -259,7 +288,7 @@ message ErrorDetail { string error_message = 1; // The task try-number, in which, the error occurred. If zero, the error - // happened at the event level. + // happened at the integration level. int32 task_number = 2; } @@ -275,3 +304,16 @@ message ConditionResult { // no combined condition specified. bool result = 3; } + +// Specifies whether this execution info corresponds to actual integration or +// test case. +enum ExecutionType { + // Unspecified value. + EXECUTION_TYPE_UNSPECIFIED = 0; + + // Execution corresponds to run of an integration version. + INTEGRATION_VERSION = 1; + + // Execution corresponds to run of a functional test case. + TEST_CASE = 2; +} diff --git a/third_party/googleapis/google/cloud/integrations/v1alpha/task_config.proto b/third_party/googleapis/google/cloud/integrations/v1alpha/task_config.proto index 2d3e3ce45..ed721461a 100644 --- a/third_party/googleapis/google/cloud/integrations/v1alpha/task_config.proto +++ b/third_party/googleapis/google/cloud/integrations/v1alpha/task_config.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,10 +17,12 @@ syntax = "proto3"; package google.cloud.integrations.v1alpha; import "google/api/field_behavior.proto"; +import "google/cloud/integrations/v1alpha/coordinate.proto"; import "google/cloud/integrations/v1alpha/event_parameter.proto"; import "google/cloud/integrations/v1alpha/json_validation.proto"; import "google/protobuf/timestamp.proto"; +option csharp_namespace = "Google.Cloud.Integrations.V1Alpha"; option go_package = "cloud.google.com/go/integrations/apiv1alpha/integrationspb;integrationspb"; option java_multiple_files = true; option java_outer_classname = "TaskConfigProto"; @@ -28,7 +30,6 @@ option java_package = "com.google.cloud.integrations.v1alpha"; // The task configuration details. This is not the implementation of Task. // There might be multiple TaskConfigs for the same Task. -// (-- Next available id: 12 --) message TaskConfig { // Various policies for executing the next set of tasks. enum NextTasksExecutionPolicy { @@ -63,6 +64,18 @@ message TaskConfig { WHEN_ALL_TASKS_AND_CONDITIONS_SUCCEED = 3; } + // Defines the type of the task for external customer + enum ExternalTaskType { + // Default value. External task type is not specified + EXTERNAL_TASK_TYPE_UNSPECIFIED = 0; + + // Tasks belongs to the normal task flows + NORMAL_TASK = 1; + + // Task belongs to the error catch task flows + ERROR_TASK = 2; + } + // Optional. The name for the task. string task = 1 [(google.api.field_behavior) = OPTIONAL]; @@ -73,7 +86,8 @@ message TaskConfig { string task_id = 2 [(google.api.field_behavior) = REQUIRED]; // Optional. The customized parameters the user can pass to this task. - map parameters = 3 [(google.api.field_behavior) = OPTIONAL]; + map parameters = 3 + [(google.api.field_behavior) = OPTIONAL]; // Optional. Determines the number of times the // task will be retried on failure and with what retry strategy. @@ -84,7 +98,8 @@ message TaskConfig { // Optional. Determines the number of times the // task will be retried on failure and with what retry strategy. // This is applicable for synchronous calls to Eventbus alone (Post). - FailurePolicy synchronous_call_failure_policy = 5 [(google.api.field_behavior) = OPTIONAL]; + FailurePolicy synchronous_call_failure_policy = 5 + [(google.api.field_behavior) = OPTIONAL]; // Optional. The set of tasks that are next in line to be executed as per the // execution graph defined for the parent event, specified by @@ -92,21 +107,47 @@ message TaskConfig { // only if the condition associated with them evaluates to true. repeated NextTask next_tasks = 6 [(google.api.field_behavior) = OPTIONAL]; - // Optional. The policy dictating the execution of the next set of tasks for the current - // task. - NextTasksExecutionPolicy next_tasks_execution_policy = 7 [(google.api.field_behavior) = OPTIONAL]; + // Optional. The policy dictating the execution of the next set of tasks for + // the current task. + NextTasksExecutionPolicy next_tasks_execution_policy = 7 + [(google.api.field_behavior) = OPTIONAL]; // Optional. The policy dictating the execution strategy of this task. - TaskExecutionStrategy task_execution_strategy = 8 [(google.api.field_behavior) = OPTIONAL]; + TaskExecutionStrategy task_execution_strategy = 8 + [(google.api.field_behavior) = OPTIONAL]; - // Optional. User-provided label that is attached to this TaskConfig in the UI. + // Optional. User-provided label that is attached to this TaskConfig in the + // UI. string display_name = 9 [(google.api.field_behavior) = OPTIONAL]; // Optional. Determines what action to take upon successful task completion. SuccessPolicy success_policy = 10 [(google.api.field_behavior) = OPTIONAL]; - // Optional. If set, overrides the option configured in the Task implementation class. - JsonValidationOption json_validation_option = 11 [(google.api.field_behavior) = OPTIONAL]; + // Optional. If set, overrides the option configured in the Task + // implementation class. + JsonValidationOption json_validation_option = 11 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. User-provided description intended to give additional business + // context about the task. + string description = 12 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Used to define task-template name if task is of type + // task-template + string task_template = 13 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Optional + // Error catcher id of the error catch flow which will be executed when + // execution error happens in the task + string error_catcher_id = 17 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. External task type of the task + ExternalTaskType external_task_type = 15 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Informs the front-end application where to draw this error + // catcher config on the UI. + Coordinate position = 16 [(google.api.field_behavior) = OPTIONAL]; } // Policy that dictates the behavior for the task after it completes @@ -214,4 +255,8 @@ message NextTask { // User-provided label that is attached to this edge in the UI. string display_name = 4; + + // User-provided description intended to give additional business context + // about the task. + string description = 5; } diff --git a/third_party/googleapis/google/cloud/integrations/v1alpha/value_type.proto b/third_party/googleapis/google/cloud/integrations/v1alpha/value_type.proto index 546e558ed..70cabd79e 100644 --- a/third_party/googleapis/google/cloud/integrations/v1alpha/value_type.proto +++ b/third_party/googleapis/google/cloud/integrations/v1alpha/value_type.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,6 +16,7 @@ syntax = "proto3"; package google.cloud.integrations.v1alpha; +option csharp_namespace = "Google.Cloud.Integrations.V1Alpha"; option go_package = "cloud.google.com/go/integrations/apiv1alpha/integrationspb;integrationspb"; option java_multiple_files = true; option java_outer_classname = "ValueTypeProto"; diff --git a/third_party/googleapis/google/cloud/iot/BUILD.bazel b/third_party/googleapis/google/cloud/iot/BUILD.bazel index 7ad8f7157..8b0330faf 100644 --- a/third_party/googleapis/google/cloud/iot/BUILD.bazel +++ b/third_party/googleapis/google/cloud/iot/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-iot", "ruby-cloud-env-prefix=IOT", - "ruby-cloud-wrapper-of=v1:0.3", + "ruby-cloud-wrapper-of=v1:0.9", "ruby-cloud-product-url=https://cloud.google.com/iot", "ruby-cloud-api-id=cloudiot.googleapis.com", "ruby-cloud-api-shortname=cloudiot", ], ruby_cloud_description = "Registers and manages IoT (Internet of Things) devices that connect to the Google Cloud Platform.", ruby_cloud_title = "Cloud IoT", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/iot/v1/BUILD.bazel b/third_party/googleapis/google/cloud/iot/v1/BUILD.bazel index d55d73049..9ce8c126e 100644 --- a/third_party/googleapis/google/cloud/iot/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/iot/v1/BUILD.bazel @@ -65,6 +65,7 @@ java_gapic_library( srcs = [":iot_proto_with_info"], grpc_service_config = "cloudiot_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "cloudiot_v1.yaml", test_deps = [ ":iot_java_grpc", "//google/iam/v1:iam_java_grpc", @@ -106,7 +107,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -137,18 +137,12 @@ go_gapic_library( ], ) -go_test( - name = "iot_go_gapic_test", - srcs = [":iot_go_gapic_srcjar_test"], - embed = [":iot_go_gapic"], - importpath = "cloud.google.com/go/iot/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-iot-v1-go", deps = [ ":iot_go_gapic", + ":iot_go_gapic_srcjar-snippets.srcjar", ":iot_go_gapic_srcjar-test.srcjar", ":iot_go_proto", ], @@ -200,7 +194,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -209,23 +202,15 @@ php_proto_library( deps = [":iot_proto"], ) -php_grpc_library( - name = "iot_php_grpc", - srcs = [":iot_proto"], - deps = [":iot_php_proto"], -) - php_gapic_library( name = "iot_php_gapic", srcs = [":iot_proto_with_info"], grpc_service_config = "cloudiot_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "cloudiot_v1.yaml", transport = "grpc+rest", - deps = [ - ":iot_php_grpc", - ":iot_php_proto", - ], + deps = [":iot_php_proto"], ) # Open Source Packages @@ -233,7 +218,6 @@ php_gapic_assembly_pkg( name = "google-cloud-iot-v1-php", deps = [ ":iot_php_gapic", - ":iot_php_grpc", ":iot_php_proto", ], ) @@ -306,6 +290,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Registers and manages IoT (Internet of Things) devices that connect to the Google Cloud Platform.", ruby_cloud_title = "Cloud IoT V1", service_yaml = "cloudiot_v1.yaml", + transport = "grpc+rest", deps = [ ":iot_ruby_grpc", ":iot_ruby_proto", diff --git a/third_party/googleapis/google/cloud/kms/BUILD.bazel b/third_party/googleapis/google/cloud/kms/BUILD.bazel index 593f13d37..6bacbb92c 100644 --- a/third_party/googleapis/google/cloud/kms/BUILD.bazel +++ b/third_party/googleapis/google/cloud/kms/BUILD.bazel @@ -22,7 +22,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-kms", "ruby-cloud-env-prefix=KMS", - "ruby-cloud-wrapper-of=v1:0.17", + "ruby-cloud-wrapper-of=v1:0.24", "ruby-cloud-product-url=https://cloud.google.com/kms", "ruby-cloud-api-id=cloudkms.googleapis.com", "ruby-cloud-api-shortname=cloudkms", diff --git a/third_party/googleapis/google/cloud/kms/inventory/BUILD.bazel b/third_party/googleapis/google/cloud/kms/inventory/BUILD.bazel index f1c33d9b2..8a9b0d4fb 100644 --- a/third_party/googleapis/google/cloud/kms/inventory/BUILD.bazel +++ b/third_party/googleapis/google/cloud/kms/inventory/BUILD.bazel @@ -21,7 +21,7 @@ ruby_cloud_gapic_library( srcs = ["//google/cloud/kms/inventory/v1:inventory_proto_with_info"], extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-kms-inventory", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.8", ], service_yaml = "//google/cloud/kms/inventory/v1:kmsinventory_v1.yaml", transport = "grpc+rest", diff --git a/third_party/googleapis/google/cloud/kms/inventory/v1/BUILD.bazel b/third_party/googleapis/google/cloud/kms/inventory/v1/BUILD.bazel index c453422c8..a832d4389 100644 --- a/third_party/googleapis/google/cloud/kms/inventory/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/kms/inventory/v1/BUILD.bazel @@ -115,7 +115,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -135,7 +134,7 @@ go_gapic_library( grpc_service_config = "kmsinventory_grpc_service_config.json", importpath = "cloud.google.com/go/kms/inventory/apiv1;inventory", metadata = True, - release_level = "beta", + release_level = "ga", rest_numeric_enums = True, service_yaml = "kmsinventory_v1.yaml", transport = "grpc+rest", @@ -145,19 +144,13 @@ go_gapic_library( ], ) -go_test( - name = "inventory_go_gapic_test", - srcs = [":inventory_go_gapic_srcjar_test"], - embed = [":inventory_go_gapic"], - importpath = "cloud.google.com/go/kms/inventory/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-kms-inventory-v1-go", deps = [ ":inventory_go_gapic", ":inventory_go_gapic_srcjar-metadata.srcjar", + ":inventory_go_gapic_srcjar-snippets.srcjar", ":inventory_go_gapic_srcjar-test.srcjar", ":inventory_go_proto", ], @@ -171,6 +164,14 @@ load( "py_gapic_assembly_pkg", "py_gapic_library", "py_test", + "py_import", +) + +py_import( + name = "kms", + srcs = [ + "//google/cloud/kms/v1:kms_py_gapic", + ], ) py_gapic_library( @@ -181,6 +182,12 @@ py_gapic_library( service_yaml = "kmsinventory_v1.yaml", transport = "grpc+rest", deps = [ + ":kms", + ], + opt_args = [ + "python-gapic-namespace=google.cloud", + "python-gapic-name=kms_inventory", + "proto-plus-deps=google.cloud.kms.v1", ], ) @@ -212,7 +219,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -221,23 +227,15 @@ php_proto_library( deps = [":inventory_proto"], ) -php_grpc_library( - name = "inventory_php_grpc", - srcs = [":inventory_proto"], - deps = [":inventory_php_proto"], -) - php_gapic_library( name = "inventory_php_gapic", srcs = [":inventory_proto_with_info"], grpc_service_config = "kmsinventory_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "kmsinventory_v1.yaml", transport = "grpc+rest", - deps = [ - ":inventory_php_grpc", - ":inventory_php_proto", - ], + deps = [":inventory_php_proto"], ) # Open Source Packages @@ -245,7 +243,6 @@ php_gapic_assembly_pkg( name = "google-cloud-kms-inventory-v1-php", deps = [ ":inventory_php_gapic", - ":inventory_php_grpc", ":inventory_php_proto", ], ) @@ -261,7 +258,7 @@ load( nodejs_gapic_library( name = "inventory_nodejs_gapic", - package_name = "@google-cloud/inventory", + package_name = "@google-cloud/kms-inventory", src = ":inventory_proto_with_info", extra_protoc_parameters = ["metadata"], grpc_service_config = "kmsinventory_grpc_service_config.json", @@ -277,6 +274,7 @@ nodejs_gapic_assembly_pkg( deps = [ ":inventory_nodejs_gapic", ":inventory_proto", + "//google/cloud/kms/v1:kms_proto", ], ) @@ -307,7 +305,7 @@ ruby_cloud_gapic_library( srcs = [":inventory_proto_with_info"], extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-kms-inventory-v1", - "ruby-cloud-extra-dependencies=google-cloud-kms-v1=> 0.0|< 2.a", + "ruby-cloud-extra-dependencies=google-cloud-kms-v1=>0.0+<2.a", ], grpc_service_config = "kmsinventory_grpc_service_config.json", rest_numeric_enums = True, diff --git a/third_party/googleapis/google/cloud/kms/inventory/v1/key_dashboard_service.proto b/third_party/googleapis/google/cloud/kms/inventory/v1/key_dashboard_service.proto index d85c4ad5b..fe6353e44 100644 --- a/third_party/googleapis/google/cloud/kms/inventory/v1/key_dashboard_service.proto +++ b/third_party/googleapis/google/cloud/kms/inventory/v1/key_dashboard_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/kms/inventory/v1/key_tracking_service.proto b/third_party/googleapis/google/cloud/kms/inventory/v1/key_tracking_service.proto index a3f7252cf..fa324fd78 100644 --- a/third_party/googleapis/google/cloud/kms/inventory/v1/key_tracking_service.proto +++ b/third_party/googleapis/google/cloud/kms/inventory/v1/key_tracking_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -139,6 +139,22 @@ message SearchProtectedResourcesRequest { // [KeyTrackingService.SearchProtectedResources][google.cloud.kms.inventory.v1.KeyTrackingService.SearchProtectedResources] // must match the call that provided the page token. string page_token = 4; + + // Optional. A list of resource types that this request searches for. If + // empty, it will search all the [trackable resource + // types](https://cloud.google.com/kms/docs/view-key-usage#tracked-resource-types). + // + // Regular expressions are also supported. For example: + // + // * `compute.googleapis.com.*` snapshots resources whose type starts + // with `compute.googleapis.com`. + // * `.*Image` snapshots resources whose type ends with `Image`. + // * `.*Image.*` snapshots resources whose type contains `Image`. + // + // See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported + // regular expression syntax. If the regular expression does not match any + // supported resource type, an INVALID_ARGUMENT error will be returned. + repeated string resource_types = 5 [(google.api.field_behavior) = OPTIONAL]; } // Response message for diff --git a/third_party/googleapis/google/cloud/kms/inventory/v1/kmsinventory_v1.yaml b/third_party/googleapis/google/cloud/kms/inventory/v1/kmsinventory_v1.yaml index 3a3bb6601..568580f0b 100644 --- a/third_party/googleapis/google/cloud/kms/inventory/v1/kmsinventory_v1.yaml +++ b/third_party/googleapis/google/cloud/kms/inventory/v1/kmsinventory_v1.yaml @@ -23,20 +23,16 @@ authentication: https://www.googleapis.com/auth/cloud-platform publishing: - organization: CLOUD - new_issue_uri: 'https://issuetracker.google.com/issues/new?component=190860&template=819701' - documentation_uri: 'https://cloud.google.com/kms/docs/' - api_short_name: 'kmsinventory' + new_issue_uri: https://issuetracker.google.com/issues/new?component=190860&template=819701 + documentation_uri: https://cloud.google.com/kms/docs/ + api_short_name: kmsinventory github_label: 'api: kmsinventory' - doc_tag_prefix: 'kmsinventory' - codeowner_github_teams: + doc_tag_prefix: kmsinventory + organization: CLOUD library_settings: - - version: 'google.cloud.kms.inventory.v1' - launch_stage: BETA - rest_numeric_enums: false + - version: google.cloud.kms.inventory.v1 + launch_stage: GA java_settings: - library_package: '' - service_class_names: common: destinations: - PACKAGE_MANAGER @@ -60,6 +56,8 @@ publishing: common: destinations: - PACKAGE_MANAGER + forced_namespace_aliases: + - Google.Cloud.Kms.V1 ruby_settings: common: destinations: diff --git a/third_party/googleapis/google/cloud/kms/logging/v1/BUILD.bazel b/third_party/googleapis/google/cloud/kms/logging/v1/BUILD.bazel index 531fceab4..0002e0ec2 100644 --- a/third_party/googleapis/google/cloud/kms/logging/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/kms/logging/v1/BUILD.bazel @@ -90,7 +90,6 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -99,21 +98,9 @@ php_proto_library( deps = [":logging_proto"], ) -php_grpc_library( - name = "logging_php_grpc", - srcs = [":logging_proto"], - deps = [":logging_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) - ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/kms/v1/BUILD.bazel b/third_party/googleapis/google/cloud/kms/v1/BUILD.bazel index 0cb713008..4b5aca936 100644 --- a/third_party/googleapis/google/cloud/kms/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/kms/v1/BUILD.bazel @@ -119,7 +119,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -151,18 +150,12 @@ go_gapic_library( ], ) -go_test( - name = "kms_go_gapic_test", - srcs = [":kms_go_gapic_srcjar_test"], - embed = [":kms_go_gapic"], - importpath = "cloud.google.com/go/kms/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-kms-v1-go", deps = [ ":kms_go_gapic", + ":kms_go_gapic_srcjar-snippets.srcjar", ":kms_go_gapic_srcjar-test.srcjar", ":kms_go_proto", ], @@ -227,7 +220,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -236,22 +228,14 @@ php_proto_library( deps = [":kms_proto"], ) -php_grpc_library( - name = "kms_php_grpc", - srcs = [":kms_proto"], - deps = [":kms_php_proto"], -) - php_gapic_library( name = "kms_php_gapic", srcs = [":kms_proto_with_info"], + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "cloudkms_v1.yaml", transport = "grpc+rest", - deps = [ - ":kms_php_grpc", - ":kms_php_proto", - ], + deps = [":kms_php_proto"], ) # Open Source Packages @@ -259,7 +243,6 @@ php_gapic_assembly_pkg( name = "google-cloud-kms-v1-php", deps = [ ":kms_php_gapic", - ":kms_php_grpc", ":kms_php_proto", ], ) diff --git a/third_party/googleapis/google/cloud/kms/v1/cloudkms_v1.yaml b/third_party/googleapis/google/cloud/kms/v1/cloudkms_v1.yaml index 1352bbcff..4d00941c6 100644 --- a/third_party/googleapis/google/cloud/kms/v1/cloudkms_v1.yaml +++ b/third_party/googleapis/google/cloud/kms/v1/cloudkms_v1.yaml @@ -8,6 +8,7 @@ apis: - name: google.cloud.kms.v1.KeyManagementService - name: google.cloud.location.Locations - name: google.iam.v1.IAMPolicy +- name: google.longrunning.Operations types: - name: google.cloud.kms.v1.LocationMetadata diff --git a/third_party/googleapis/google/cloud/kms/v1/ekm_service.proto b/third_party/googleapis/google/cloud/kms/v1/ekm_service.proto index aea72d681..da3056543 100644 --- a/third_party/googleapis/google/cloud/kms/v1/ekm_service.proto +++ b/third_party/googleapis/google/cloud/kms/v1/ekm_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -83,6 +83,38 @@ service EkmService { }; option (google.api.method_signature) = "ekm_connection,update_mask"; } + + // Returns the [EkmConfig][google.cloud.kms.v1.EkmConfig] singleton resource + // for a given project and location. + rpc GetEkmConfig(GetEkmConfigRequest) returns (EkmConfig) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*/ekmConfig}" + }; + option (google.api.method_signature) = "name"; + } + + // Updates the [EkmConfig][google.cloud.kms.v1.EkmConfig] singleton resource + // for a given project and location. + rpc UpdateEkmConfig(UpdateEkmConfigRequest) returns (EkmConfig) { + option (google.api.http) = { + patch: "/v1/{ekm_config.name=projects/*/locations/*/ekmConfig}" + body: "ekm_config" + }; + option (google.api.method_signature) = "ekm_config,update_mask"; + } + + // Verifies that Cloud KMS can successfully connect to the external key + // manager specified by an [EkmConnection][google.cloud.kms.v1.EkmConnection]. + // If there is an error connecting to the EKM, this method returns a + // FAILED_PRECONDITION status containing structured information as described + // at https://cloud.google.com/kms/docs/reference/ekm_errors. + rpc VerifyConnectivity(VerifyConnectivityRequest) + returns (VerifyConnectivityResponse) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*/ekmConnections/*}:verifyConnectivity" + }; + option (google.api.method_signature) = "name"; + } } // Request message for @@ -187,6 +219,30 @@ message UpdateEkmConnectionRequest { [(google.api.field_behavior) = REQUIRED]; } +// Request message for +// [EkmService.GetEkmConfig][google.cloud.kms.v1.EkmService.GetEkmConfig]. +message GetEkmConfigRequest { + // Required. The [name][google.cloud.kms.v1.EkmConfig.name] of the + // [EkmConfig][google.cloud.kms.v1.EkmConfig] to get. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudkms.googleapis.com/EkmConfig" + } + ]; +} + +// Request message for +// [EkmService.UpdateEkmConfig][google.cloud.kms.v1.EkmService.UpdateEkmConfig]. +message UpdateEkmConfigRequest { + // Required. [EkmConfig][google.cloud.kms.v1.EkmConfig] with updated values. + EkmConfig ekm_config = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. List of fields to be updated in this request. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; +} + // A [Certificate][google.cloud.kms.v1.Certificate] represents an X.509 // certificate used to authenticate HTTPS connections to EKM replicas. message Certificate { @@ -274,6 +330,44 @@ message EkmConnection { [(google.api.field_behavior) = REQUIRED]; } + // [KeyManagementMode][google.cloud.kms.v1.EkmConnection.KeyManagementMode] + // describes who can perform control plane cryptographic operations using this + // [EkmConnection][google.cloud.kms.v1.EkmConnection]. + enum KeyManagementMode { + // Not specified. + KEY_MANAGEMENT_MODE_UNSPECIFIED = 0; + + // EKM-side key management operations on + // [CryptoKeys][google.cloud.kms.v1.CryptoKey] created with this + // [EkmConnection][google.cloud.kms.v1.EkmConnection] must be initiated from + // the EKM directly and cannot be performed from Cloud KMS. This means that: + // * When creating a + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] associated with + // this + // [EkmConnection][google.cloud.kms.v1.EkmConnection], the caller must + // supply the key path of pre-existing external key material that will be + // linked to the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. + // * Destruction of external key material cannot be requested via the + // Cloud KMS API and must be performed directly in the EKM. + // * Automatic rotation of key material is not supported. + MANUAL = 1; + + // All [CryptoKeys][google.cloud.kms.v1.CryptoKey] created with this + // [EkmConnection][google.cloud.kms.v1.EkmConnection] use EKM-side key + // management operations initiated from Cloud KMS. This means that: + // * When a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] + // associated with this [EkmConnection][google.cloud.kms.v1.EkmConnection] + // is + // created, the EKM automatically generates new key material and a new + // key path. The caller cannot supply the key path of pre-existing + // external key material. + // * Destruction of external key material associated with this + // [EkmConnection][google.cloud.kms.v1.EkmConnection] can be requested by + // calling [DestroyCryptoKeyVersion][EkmService.DestroyCryptoKeyVersion]. + // * Automatic rotation of key material is supported. + CLOUD_KMS = 2; + } + // Output only. The resource name for the // [EkmConnection][google.cloud.kms.v1.EkmConnection] in the format // `projects/*/locations/*/ekmConnections/*`. @@ -295,4 +389,63 @@ message EkmConnection { // Optional. Etag of the currently stored // [EkmConnection][google.cloud.kms.v1.EkmConnection]. string etag = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Describes who can perform control plane operations on the EKM. If + // unset, this defaults to + // [MANUAL][google.cloud.kms.v1.EkmConnection.KeyManagementMode.MANUAL]. + KeyManagementMode key_management_mode = 6 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Identifies the EKM Crypto Space that this + // [EkmConnection][google.cloud.kms.v1.EkmConnection] maps to. Note: This + // field is required if + // [KeyManagementMode][google.cloud.kms.v1.EkmConnection.KeyManagementMode] is + // [CLOUD_KMS][google.cloud.kms.v1.EkmConnection.KeyManagementMode.CLOUD_KMS]. + string crypto_space_path = 7 [(google.api.field_behavior) = OPTIONAL]; +} + +// An [EkmConfig][google.cloud.kms.v1.EkmConfig] is a singleton resource that +// represents configuration parameters that apply to all +// [CryptoKeys][google.cloud.kms.v1.CryptoKey] and +// [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] with a +// [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of +// [EXTERNAL_VPC][CryptoKeyVersion.ProtectionLevel.EXTERNAL_VPC] in a given +// project and location. +message EkmConfig { + option (google.api.resource) = { + type: "cloudkms.googleapis.com/EkmConfig" + pattern: "projects/{project}/locations/{location}/ekmConfig" + }; + + // Output only. The resource name for the + // [EkmConfig][google.cloud.kms.v1.EkmConfig] in the format + // `projects/*/locations/*/ekmConfig`. + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. Resource name of the default + // [EkmConnection][google.cloud.kms.v1.EkmConnection]. Setting this field to + // the empty string removes the default. + string default_ekm_connection = 2 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.resource_reference) = { + type: "cloudkms.googleapis.com/EkmConnection" + } + ]; } + +// Request message for +// [EkmService.VerifyConnectivity][google.cloud.kms.v1.EkmService.VerifyConnectivity]. +message VerifyConnectivityRequest { + // Required. The [name][google.cloud.kms.v1.EkmConnection.name] of the + // [EkmConnection][google.cloud.kms.v1.EkmConnection] to verify. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudkms.googleapis.com/EkmConnection" + } + ]; +} + +// Response message for +// [EkmService.VerifyConnectivity][google.cloud.kms.v1.EkmService.VerifyConnectivity]. +message VerifyConnectivityResponse {} diff --git a/third_party/googleapis/google/cloud/kms/v1/resources.proto b/third_party/googleapis/google/cloud/kms/v1/resources.proto index 23a787295..3b44d7b22 100644 --- a/third_party/googleapis/google/cloud/kms/v1/resources.proto +++ b/third_party/googleapis/google/cloud/kms/v1/resources.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -89,6 +89,13 @@ message CryptoKey { // [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. ASYMMETRIC_DECRYPT = 6; + // [CryptoKeys][google.cloud.kms.v1.CryptoKey] with this purpose may be used + // with [RawEncrypt][google.cloud.kms.v1.KeyManagementService.RawEncrypt] + // and [RawDecrypt][google.cloud.kms.v1.KeyManagementService.RawDecrypt]. + // This purpose is meant to be used for interoperable symmetric + // encryption and does not support automatic CryptoKey rotation. + RAW_ENCRYPT_DECRYPT = 7; + // [CryptoKeys][google.cloud.kms.v1.CryptoKey] with this purpose may be used // with [MacSign][google.cloud.kms.v1.KeyManagementService.MacSign]. MAC = 9; @@ -297,11 +304,11 @@ message CryptoKeyVersion { // [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] // [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. // - // Algorithms beginning with "RSA_SIGN_" are usable with + // Algorithms beginning with `RSA_SIGN_` are usable with // [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] // [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN]. // - // The fields in the name after "RSA_SIGN_" correspond to the following + // The fields in the name after `RSA_SIGN_` correspond to the following // parameters: padding algorithm, modulus bit length, and digest algorithm. // // For PSS, the salt length used is equal to the length of digest @@ -309,25 +316,25 @@ message CryptoKeyVersion { // [RSA_SIGN_PSS_2048_SHA256][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm.RSA_SIGN_PSS_2048_SHA256] // will use PSS with a salt length of 256 bits or 32 bytes. // - // Algorithms beginning with "RSA_DECRYPT_" are usable with + // Algorithms beginning with `RSA_DECRYPT_` are usable with // [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] // [ASYMMETRIC_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_DECRYPT]. // - // The fields in the name after "RSA_DECRYPT_" correspond to the following + // The fields in the name after `RSA_DECRYPT_` correspond to the following // parameters: padding algorithm, modulus bit length, and digest algorithm. // - // Algorithms beginning with "EC_SIGN_" are usable with + // Algorithms beginning with `EC_SIGN_` are usable with // [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] // [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN]. // - // The fields in the name after "EC_SIGN_" correspond to the following + // The fields in the name after `EC_SIGN_` correspond to the following // parameters: elliptic curve, digest algorithm. // - // Algorithms beginning with "HMAC_" are usable with + // Algorithms beginning with `HMAC_` are usable with // [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] // [MAC][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.MAC]. // - // The suffix following "HMAC_" corresponds to the hash algorithm being used + // The suffix following `HMAC_` corresponds to the hash algorithm being used // (eg. SHA256). // // For more information, see [Key purposes and algorithms] @@ -339,6 +346,24 @@ message CryptoKeyVersion { // Creates symmetric encryption keys. GOOGLE_SYMMETRIC_ENCRYPTION = 1; + // AES-GCM (Galois Counter Mode) using 128-bit keys. + AES_128_GCM = 41; + + // AES-GCM (Galois Counter Mode) using 256-bit keys. + AES_256_GCM = 19; + + // AES-CBC (Cipher Block Chaining Mode) using 128-bit keys. + AES_128_CBC = 42; + + // AES-CBC (Cipher Block Chaining Mode) using 256-bit keys. + AES_256_CBC = 43; + + // AES-CTR (Counter Mode) using 128-bit keys. + AES_128_CTR = 44; + + // AES-CTR (Counter Mode) using 256-bit keys. + AES_256_CTR = 45; + // RSASSA-PSS 2048 bit key with a SHA256 digest. RSA_SIGN_PSS_2048_SHA256 = 2; @@ -394,13 +419,19 @@ message CryptoKeyVersion { RSA_DECRYPT_OAEP_4096_SHA1 = 39; // ECDSA on the NIST P-256 curve with a SHA256 digest. + // Other hash functions can also be used: + // https://cloud.google.com/kms/docs/create-validate-signatures#ecdsa_support_for_other_hash_algorithms EC_SIGN_P256_SHA256 = 12; // ECDSA on the NIST P-384 curve with a SHA384 digest. + // Other hash functions can also be used: + // https://cloud.google.com/kms/docs/create-validate-signatures#ecdsa_support_for_other_hash_algorithms EC_SIGN_P384_SHA384 = 13; // ECDSA on the non-NIST secp256k1 curve. This curve is only supported for // HSM protection level. + // Other hash functions can also be used: + // https://cloud.google.com/kms/docs/create-validate-signatures#ecdsa_support_for_other_hash_algorithms EC_SIGN_SECP256K1_SHA256 = 31; // HMAC-SHA256 signing with a 256 bit key. @@ -473,6 +504,23 @@ message CryptoKeyVersion { // Additional details can be found in // [CryptoKeyVersion.import_failure_reason][google.cloud.kms.v1.CryptoKeyVersion.import_failure_reason]. IMPORT_FAILED = 7; + + // This version was not generated successfully. It may not be used, enabled, + // disabled, or destroyed. Additional details can be found in + // [CryptoKeyVersion.generation_failure_reason][google.cloud.kms.v1.CryptoKeyVersion.generation_failure_reason]. + GENERATION_FAILED = 8; + + // This version was destroyed, and it may not be used or enabled again. + // Cloud KMS is waiting for the corresponding key material residing in an + // external key manager to be destroyed. + PENDING_EXTERNAL_DESTRUCTION = 9; + + // This version was destroyed, and it may not be used or enabled again. + // However, Cloud KMS could not confirm that the corresponding key material + // residing in an external key manager was destroyed. Additional details can + // be found in + // [CryptoKeyVersion.external_destruction_failure_reason][google.cloud.kms.v1.CryptoKeyVersion.external_destruction_failure_reason]. + EXTERNAL_DESTRUCTION_FAILED = 10; } // A view for [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]s. @@ -567,6 +615,19 @@ message CryptoKeyVersion { // [IMPORT_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.IMPORT_FAILED]. string import_failure_reason = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The root cause of the most recent generation failure. Only + // present if [state][google.cloud.kms.v1.CryptoKeyVersion.state] is + // [GENERATION_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.GENERATION_FAILED]. + string generation_failure_reason = 19 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The root cause of the most recent external destruction + // failure. Only present if + // [state][google.cloud.kms.v1.CryptoKeyVersion.state] is + // [EXTERNAL_DESTRUCTION_FAILED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.EXTERNAL_DESTRUCTION_FAILED]. + string external_destruction_failure_reason = 20 + [(google.api.field_behavior) = OUTPUT_ONLY]; + // ExternalProtectionLevelOptions stores a group of additional fields for // configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that // are specific to the @@ -581,7 +642,7 @@ message CryptoKeyVersion { bool reimport_eligible = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; } -// The public key for a given +// The public keys for a given // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Obtained via // [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. message PublicKey { @@ -590,10 +651,12 @@ message PublicKey { pattern: "projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}/publicKey" }; - // The public key, encoded in PEM format. For more information, see the - // [RFC 7468](https://tools.ietf.org/html/rfc7468) sections for - // [General Considerations](https://tools.ietf.org/html/rfc7468#section-2) and - // [Textual Encoding of Subject Public Key Info] + // A public key encoded in PEM format, populated only when + // [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey] + // returns one key. For more information, see the [RFC + // 7468](https://tools.ietf.org/html/rfc7468) sections for [General + // Considerations](https://tools.ietf.org/html/rfc7468#section-2) and [Textual + // Encoding of Subject Public Key Info] // (https://tools.ietf.org/html/rfc7468#section-13). string pem = 1; @@ -602,8 +665,10 @@ message PublicKey { // associated with this key. CryptoKeyVersion.CryptoKeyVersionAlgorithm algorithm = 2; - // Integrity verification field. A CRC32C checksum of the returned - // [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem]. An integrity check of + // Integrity verification field: A CRC32C checksum of the returned + // [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem]. It is only populated + // when [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey] + // returns one key. An integrity check of // [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] can be performed by // computing the CRC32C checksum of // [PublicKey.pem][google.cloud.kms.v1.PublicKey.pem] and comparing your diff --git a/third_party/googleapis/google/cloud/kms/v1/service.proto b/third_party/googleapis/google/cloud/kms/v1/service.proto index 86a020f4b..c9a055714 100644 --- a/third_party/googleapis/google/cloud/kms/v1/service.proto +++ b/third_party/googleapis/google/cloud/kms/v1/service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -317,6 +317,30 @@ service KeyManagementService { option (google.api.method_signature) = "name,ciphertext"; } + // Encrypts data using portable cryptographic primitives. Most users should + // choose [Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt] and + // [Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt] rather than + // their raw counterparts. The + // [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] must be + // [RAW_ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.RAW_ENCRYPT_DECRYPT]. + rpc RawEncrypt(RawEncryptRequest) returns (RawEncryptResponse) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}:rawEncrypt" + body: "*" + }; + } + + // Decrypts data that was originally encrypted using a raw cryptographic + // mechanism. The [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] + // must be + // [RAW_ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.RAW_ENCRYPT_DECRYPT]. + rpc RawDecrypt(RawDecryptRequest) returns (RawDecryptResponse) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*}:rawDecrypt" + body: "*" + }; + } + // Signs data using a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] // with [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] // ASYMMETRIC_SIGN, producing a signature that can be verified with the public @@ -1095,6 +1119,189 @@ message DecryptRequest { [(google.api.field_behavior) = OPTIONAL]; } +// Request message for +// [KeyManagementService.RawEncrypt][google.cloud.kms.v1.KeyManagementService.RawEncrypt]. +message RawEncryptRequest { + // Required. The resource name of the + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for + // encryption. + string name = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The data to encrypt. Must be no larger than 64KiB. + // + // The maximum size depends on the key version's + // [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]. + // For [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE] keys, the + // plaintext must be no larger than 64KiB. For + // [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] keys, the combined length of + // the plaintext and additional_authenticated_data fields must be no larger + // than 8KiB. + bytes plaintext = 2 [(google.api.field_behavior) = REQUIRED]; + + // Optional. Optional data that, if specified, must also be provided during + // decryption through + // [RawDecryptRequest.additional_authenticated_data][google.cloud.kms.v1.RawDecryptRequest.additional_authenticated_data]. + // + // This field may only be used in conjunction with an + // [algorithm][google.cloud.kms.v1.CryptoKeyVersion.algorithm] that accepts + // additional authenticated data (for example, AES-GCM). + // + // The maximum size depends on the key version's + // [protection_level][google.cloud.kms.v1.CryptoKeyVersionTemplate.protection_level]. + // For [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE] keys, the + // plaintext must be no larger than 64KiB. For + // [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] keys, the combined length of + // the plaintext and additional_authenticated_data fields must be no larger + // than 8KiB. + bytes additional_authenticated_data = 3 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. An optional CRC32C checksum of the + // [RawEncryptRequest.plaintext][google.cloud.kms.v1.RawEncryptRequest.plaintext]. + // If specified, + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will + // verify the integrity of the received plaintext using this checksum. + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will + // report an error if the checksum verification fails. If you receive a + // checksum error, your client should verify that CRC32C(plaintext) is equal + // to plaintext_crc32c, and if so, perform a limited number of retries. A + // persistent mismatch may indicate an issue in your computation of the CRC32C + // checksum. Note: This field is defined as int64 for reasons of compatibility + // across different languages. However, it is a non-negative integer, which + // will never exceed 2^32-1, and can be safely downconverted to uint32 in + // languages that support this type. + google.protobuf.Int64Value plaintext_crc32c = 4 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. An optional CRC32C checksum of the + // [RawEncryptRequest.additional_authenticated_data][google.cloud.kms.v1.RawEncryptRequest.additional_authenticated_data]. + // If specified, + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will + // verify the integrity of the received additional_authenticated_data using + // this checksum. + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will + // report an error if the checksum verification fails. If you receive a + // checksum error, your client should verify that + // CRC32C(additional_authenticated_data) is equal to + // additional_authenticated_data_crc32c, and if so, perform + // a limited number of retries. A persistent mismatch may indicate an issue in + // your computation of the CRC32C checksum. + // Note: This field is defined as int64 for reasons of compatibility across + // different languages. However, it is a non-negative integer, which will + // never exceed 2^32-1, and can be safely downconverted to uint32 in languages + // that support this type. + google.protobuf.Int64Value additional_authenticated_data_crc32c = 5 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. A customer-supplied initialization vector that will be used for + // encryption. If it is not provided for AES-CBC and AES-CTR, one will be + // generated. It will be returned in + // [RawEncryptResponse.initialization_vector][google.cloud.kms.v1.RawEncryptResponse.initialization_vector]. + bytes initialization_vector = 6 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. An optional CRC32C checksum of the + // [RawEncryptRequest.initialization_vector][google.cloud.kms.v1.RawEncryptRequest.initialization_vector]. + // If specified, + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will + // verify the integrity of the received initialization_vector using this + // checksum. [KeyManagementService][google.cloud.kms.v1.KeyManagementService] + // will report an error if the checksum verification fails. If you receive a + // checksum error, your client should verify that + // CRC32C(initialization_vector) is equal to + // initialization_vector_crc32c, and if so, perform + // a limited number of retries. A persistent mismatch may indicate an issue in + // your computation of the CRC32C checksum. + // Note: This field is defined as int64 for reasons of compatibility across + // different languages. However, it is a non-negative integer, which will + // never exceed 2^32-1, and can be safely downconverted to uint32 in languages + // that support this type. + google.protobuf.Int64Value initialization_vector_crc32c = 7 + [(google.api.field_behavior) = OPTIONAL]; +} + +// Request message for +// [KeyManagementService.RawDecrypt][google.cloud.kms.v1.KeyManagementService.RawDecrypt]. +message RawDecryptRequest { + // Required. The resource name of the + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use for + // decryption. + string name = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The encrypted data originally returned in + // [RawEncryptResponse.ciphertext][google.cloud.kms.v1.RawEncryptResponse.ciphertext]. + bytes ciphertext = 2 [(google.api.field_behavior) = REQUIRED]; + + // Optional. Optional data that must match the data originally supplied in + // [RawEncryptRequest.additional_authenticated_data][google.cloud.kms.v1.RawEncryptRequest.additional_authenticated_data]. + bytes additional_authenticated_data = 3 + [(google.api.field_behavior) = OPTIONAL]; + + // Required. The initialization vector (IV) used during encryption, which must + // match the data originally provided in + // [RawEncryptResponse.initialization_vector][google.cloud.kms.v1.RawEncryptResponse.initialization_vector]. + bytes initialization_vector = 4 [(google.api.field_behavior) = REQUIRED]; + + // The length of the authentication tag that is appended to the end of + // the ciphertext. If unspecified (0), the default value for the key's + // algorithm will be used (for AES-GCM, the default value is 16). + int32 tag_length = 5; + + // Optional. An optional CRC32C checksum of the + // [RawDecryptRequest.ciphertext][google.cloud.kms.v1.RawDecryptRequest.ciphertext]. + // If specified, + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will + // verify the integrity of the received ciphertext using this checksum. + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will + // report an error if the checksum verification fails. If you receive a + // checksum error, your client should verify that CRC32C(ciphertext) is equal + // to ciphertext_crc32c, and if so, perform a limited number of retries. A + // persistent mismatch may indicate an issue in your computation of the CRC32C + // checksum. Note: This field is defined as int64 for reasons of compatibility + // across different languages. However, it is a non-negative integer, which + // will never exceed 2^32-1, and can be safely downconverted to uint32 in + // languages that support this type. + google.protobuf.Int64Value ciphertext_crc32c = 6 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. An optional CRC32C checksum of the + // [RawDecryptRequest.additional_authenticated_data][google.cloud.kms.v1.RawDecryptRequest.additional_authenticated_data]. + // If specified, + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will + // verify the integrity of the received additional_authenticated_data using + // this checksum. + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will + // report an error if the checksum verification fails. If you receive a + // checksum error, your client should verify that + // CRC32C(additional_authenticated_data) is equal to + // additional_authenticated_data_crc32c, and if so, perform + // a limited number of retries. A persistent mismatch may indicate an issue in + // your computation of the CRC32C checksum. + // Note: This field is defined as int64 for reasons of compatibility across + // different languages. However, it is a non-negative integer, which will + // never exceed 2^32-1, and can be safely downconverted to uint32 in languages + // that support this type. + google.protobuf.Int64Value additional_authenticated_data_crc32c = 7 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. An optional CRC32C checksum of the + // [RawDecryptRequest.initialization_vector][google.cloud.kms.v1.RawDecryptRequest.initialization_vector]. + // If specified, + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] will + // verify the integrity of the received initialization_vector using this + // checksum. [KeyManagementService][google.cloud.kms.v1.KeyManagementService] + // will report an error if the checksum verification fails. If you receive a + // checksum error, your client should verify that + // CRC32C(initialization_vector) is equal to initialization_vector_crc32c, and + // if so, perform a limited number of retries. A persistent mismatch may + // indicate an issue in your computation of the CRC32C checksum. + // Note: This field is defined as int64 for reasons of compatibility across + // different languages. However, it is a non-negative integer, which will + // never exceed 2^32-1, and can be safely downconverted to uint32 in languages + // that support this type. + google.protobuf.Int64Value initialization_vector_crc32c = 8 + [(google.api.field_behavior) = OPTIONAL]; +} + // Request message for // [KeyManagementService.AsymmetricSign][google.cloud.kms.v1.KeyManagementService.AsymmetricSign]. message AsymmetricSignRequest { @@ -1427,6 +1634,179 @@ message DecryptResponse { ProtectionLevel protection_level = 4; } +// Response message for +// [KeyManagementService.RawEncrypt][google.cloud.kms.v1.KeyManagementService.RawEncrypt]. +message RawEncryptResponse { + // The encrypted data. In the case of AES-GCM, the authentication tag + // is the [tag_length][google.cloud.kms.v1.RawEncryptResponse.tag_length] + // bytes at the end of this field. + bytes ciphertext = 1; + + // The initialization vector (IV) generated by the service during + // encryption. This value must be stored and provided in + // [RawDecryptRequest.initialization_vector][google.cloud.kms.v1.RawDecryptRequest.initialization_vector] + // at decryption time. + bytes initialization_vector = 2; + + // The length of the authentication tag that is appended to + // the end of the ciphertext. + int32 tag_length = 3; + + // Integrity verification field. A CRC32C checksum of the returned + // [RawEncryptResponse.ciphertext][google.cloud.kms.v1.RawEncryptResponse.ciphertext]. + // An integrity check of ciphertext can be performed by computing the CRC32C + // checksum of ciphertext and comparing your results to this field. Discard + // the response in case of non-matching checksum values, and perform a limited + // number of retries. A persistent mismatch may indicate an issue in your + // computation of the CRC32C checksum. Note: This field is defined as int64 + // for reasons of compatibility across different languages. However, it is a + // non-negative integer, which will never exceed 2^32-1, and can be safely + // downconverted to uint32 in languages that support this type. + google.protobuf.Int64Value ciphertext_crc32c = 4; + + // Integrity verification field. A CRC32C checksum of the returned + // [RawEncryptResponse.initialization_vector][google.cloud.kms.v1.RawEncryptResponse.initialization_vector]. + // An integrity check of initialization_vector can be performed by computing + // the CRC32C checksum of initialization_vector and comparing your results to + // this field. Discard the response in case of non-matching checksum values, + // and perform a limited number of retries. A persistent mismatch may indicate + // an issue in your computation of the CRC32C checksum. Note: This field is + // defined as int64 for reasons of compatibility across different languages. + // However, it is a non-negative integer, which will never exceed 2^32-1, and + // can be safely downconverted to uint32 in languages that support this type. + google.protobuf.Int64Value initialization_vector_crc32c = 5; + + // Integrity verification field. A flag indicating whether + // [RawEncryptRequest.plaintext_crc32c][google.cloud.kms.v1.RawEncryptRequest.plaintext_crc32c] + // was received by + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used + // for the integrity verification of the plaintext. A false value of this + // field indicates either that + // [RawEncryptRequest.plaintext_crc32c][google.cloud.kms.v1.RawEncryptRequest.plaintext_crc32c] + // was left unset or that it was not delivered to + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've + // set + // [RawEncryptRequest.plaintext_crc32c][google.cloud.kms.v1.RawEncryptRequest.plaintext_crc32c] + // but this field is still false, discard the response and perform a limited + // number of retries. + bool verified_plaintext_crc32c = 6; + + // Integrity verification field. A flag indicating whether + // [RawEncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.RawEncryptRequest.additional_authenticated_data_crc32c] + // was received by + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used + // for the integrity verification of additional_authenticated_data. A false + // value of this field indicates either that // + // [RawEncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.RawEncryptRequest.additional_authenticated_data_crc32c] + // was left unset or that it was not delivered to + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've + // set + // [RawEncryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.RawEncryptRequest.additional_authenticated_data_crc32c] + // but this field is still false, discard the response and perform a limited + // number of retries. + bool verified_additional_authenticated_data_crc32c = 7; + + // Integrity verification field. A flag indicating whether + // [RawEncryptRequest.initialization_vector_crc32c][google.cloud.kms.v1.RawEncryptRequest.initialization_vector_crc32c] + // was received by + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used + // for the integrity verification of initialization_vector. A false value of + // this field indicates either that + // [RawEncryptRequest.initialization_vector_crc32c][google.cloud.kms.v1.RawEncryptRequest.initialization_vector_crc32c] + // was left unset or that it was not delivered to + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've + // set + // [RawEncryptRequest.initialization_vector_crc32c][google.cloud.kms.v1.RawEncryptRequest.initialization_vector_crc32c] + // but this field is still false, discard the response and perform a limited + // number of retries. + bool verified_initialization_vector_crc32c = 10; + + // The resource name of the + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in + // encryption. Check this field to verify that the intended resource was used + // for encryption. + string name = 8; + + // The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in + // encryption. + ProtectionLevel protection_level = 9; +} + +// Response message for +// [KeyManagementService.RawDecrypt][google.cloud.kms.v1.KeyManagementService.RawDecrypt]. +message RawDecryptResponse { + // The decrypted data. + bytes plaintext = 1; + + // Integrity verification field. A CRC32C checksum of the returned + // [RawDecryptResponse.plaintext][google.cloud.kms.v1.RawDecryptResponse.plaintext]. + // An integrity check of plaintext can be performed by computing the CRC32C + // checksum of plaintext and comparing your results to this field. Discard the + // response in case of non-matching checksum values, and perform a limited + // number of retries. A persistent mismatch may indicate an issue in your + // computation of the CRC32C checksum. Note: receiving this response message + // indicates that + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] is able to + // successfully decrypt the + // [ciphertext][google.cloud.kms.v1.RawDecryptRequest.ciphertext]. + // Note: This field is defined as int64 for reasons of compatibility across + // different languages. However, it is a non-negative integer, which will + // never exceed 2^32-1, and can be safely downconverted to uint32 in languages + // that support this type. + google.protobuf.Int64Value plaintext_crc32c = 2; + + // The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the + // [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used in + // decryption. + ProtectionLevel protection_level = 3; + + // Integrity verification field. A flag indicating whether + // [RawDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.RawDecryptRequest.ciphertext_crc32c] + // was received by + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used + // for the integrity verification of the ciphertext. A false value of this + // field indicates either that + // [RawDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.RawDecryptRequest.ciphertext_crc32c] + // was left unset or that it was not delivered to + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've + // set + // [RawDecryptRequest.ciphertext_crc32c][google.cloud.kms.v1.RawDecryptRequest.ciphertext_crc32c] + // but this field is still false, discard the response and perform a limited + // number of retries. + bool verified_ciphertext_crc32c = 4; + + // Integrity verification field. A flag indicating whether + // [RawDecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.RawDecryptRequest.additional_authenticated_data_crc32c] + // was received by + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used + // for the integrity verification of additional_authenticated_data. A false + // value of this field indicates either that // + // [RawDecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.RawDecryptRequest.additional_authenticated_data_crc32c] + // was left unset or that it was not delivered to + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've + // set + // [RawDecryptRequest.additional_authenticated_data_crc32c][google.cloud.kms.v1.RawDecryptRequest.additional_authenticated_data_crc32c] + // but this field is still false, discard the response and perform a limited + // number of retries. + bool verified_additional_authenticated_data_crc32c = 5; + + // Integrity verification field. A flag indicating whether + // [RawDecryptRequest.initialization_vector_crc32c][google.cloud.kms.v1.RawDecryptRequest.initialization_vector_crc32c] + // was received by + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used + // for the integrity verification of initialization_vector. A false value of + // this field indicates either that + // [RawDecryptRequest.initialization_vector_crc32c][google.cloud.kms.v1.RawDecryptRequest.initialization_vector_crc32c] + // was left unset or that it was not delivered to + // [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've + // set + // [RawDecryptRequest.initialization_vector_crc32c][google.cloud.kms.v1.RawDecryptRequest.initialization_vector_crc32c] + // but this field is still false, discard the response and perform a limited + // number of retries. + bool verified_initialization_vector_crc32c = 6; +} + // Response message for // [KeyManagementService.AsymmetricSign][google.cloud.kms.v1.KeyManagementService.AsymmetricSign]. message AsymmetricSignResponse { diff --git a/third_party/googleapis/google/cloud/kubernetes/security/containersecurity_logging/BUILD.bazel b/third_party/googleapis/google/cloud/kubernetes/security/containersecurity_logging/BUILD.bazel index a81a84df4..54447e307 100644 --- a/third_party/googleapis/google/cloud/kubernetes/security/containersecurity_logging/BUILD.bazel +++ b/third_party/googleapis/google/cloud/kubernetes/security/containersecurity_logging/BUILD.bazel @@ -88,7 +88,6 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -97,21 +96,9 @@ php_proto_library( deps = [":containersecurity_logging_proto"], ) -php_grpc_library( - name = "containersecurity_logging_php_grpc", - srcs = [":containersecurity_logging_proto"], - deps = [":containersecurity_logging_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) - ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/language/BUILD.bazel b/third_party/googleapis/google/cloud/language/BUILD.bazel index 4cc793c03..4cbe101f8 100644 --- a/third_party/googleapis/google/cloud/language/BUILD.bazel +++ b/third_party/googleapis/google/cloud/language/BUILD.bazel @@ -22,7 +22,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-language", "ruby-cloud-env-prefix=LANGUAGE", - "ruby-cloud-wrapper-of=v1:0.7;v1beta2:0.7", + "ruby-cloud-wrapper-of=v1:0.10;v1beta2:0.10", "ruby-cloud-product-url=https://cloud.google.com/natural-language", "ruby-cloud-api-id=language.googleapis.com", "ruby-cloud-api-shortname=language", diff --git a/third_party/googleapis/google/cloud/language/README.md b/third_party/googleapis/google/cloud/language/README.md deleted file mode 100644 index e69de29bb..000000000 diff --git a/third_party/googleapis/google/cloud/language/v1/BUILD.bazel b/third_party/googleapis/google/cloud/language/v1/BUILD.bazel index b007a8496..8be8aeec4 100644 --- a/third_party/googleapis/google/cloud/language/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/language/v1/BUILD.bazel @@ -108,7 +108,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -136,19 +135,13 @@ go_gapic_library( ], ) -go_test( - name = "language_go_gapic_test", - srcs = [":language_go_gapic_srcjar_test"], - embed = [":language_go_gapic"], - importpath = "cloud.google.com/go/language/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-language-v1-go", deps = [ ":language_go_gapic", ":language_go_gapic_srcjar-metadata.srcjar", + ":language_go_gapic_srcjar-snippets.srcjar", ":language_go_gapic_srcjar-test.srcjar", ":language_go_proto", ], @@ -200,7 +193,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -209,23 +201,15 @@ php_proto_library( deps = [":language_proto"], ) -php_grpc_library( - name = "language_php_grpc", - srcs = [":language_proto"], - deps = [":language_php_proto"], -) - php_gapic_library( name = "language_php_gapic", srcs = [":language_proto_with_info"], grpc_service_config = "language_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "language_v1.yaml", transport = "grpc+rest", - deps = [ - ":language_php_grpc", - ":language_php_proto", - ], + deps = [":language_php_proto"], ) # Open Source Packages @@ -233,7 +217,6 @@ php_gapic_assembly_pkg( name = "google-cloud-language-v1-php", deps = [ ":language_php_gapic", - ":language_php_grpc", ":language_php_proto", ], ) diff --git a/third_party/googleapis/google/cloud/language/v1/language_service.proto b/third_party/googleapis/google/cloud/language/v1/language_service.proto index 991ccabb0..d34240827 100644 --- a/third_party/googleapis/google/cloud/language/v1/language_service.proto +++ b/third_party/googleapis/google/cloud/language/v1/language_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -34,7 +34,8 @@ service LanguageService { "https://www.googleapis.com/auth/cloud-platform"; // Analyzes the sentiment of the provided text. - rpc AnalyzeSentiment(AnalyzeSentimentRequest) returns (AnalyzeSentimentResponse) { + rpc AnalyzeSentiment(AnalyzeSentimentRequest) + returns (AnalyzeSentimentResponse) { option (google.api.http) = { post: "/v1/documents:analyzeSentiment" body: "*" @@ -46,7 +47,8 @@ service LanguageService { // Finds named entities (currently proper names and common nouns) in the text // along with entity types, salience, mentions for each entity, and // other properties. - rpc AnalyzeEntities(AnalyzeEntitiesRequest) returns (AnalyzeEntitiesResponse) { + rpc AnalyzeEntities(AnalyzeEntitiesRequest) + returns (AnalyzeEntitiesResponse) { option (google.api.http) = { post: "/v1/documents:analyzeEntities" body: "*" @@ -55,9 +57,12 @@ service LanguageService { option (google.api.method_signature) = "document"; } - // Finds entities, similar to [AnalyzeEntities][google.cloud.language.v1.LanguageService.AnalyzeEntities] in the text and analyzes - // sentiment associated with each entity and its mentions. - rpc AnalyzeEntitySentiment(AnalyzeEntitySentimentRequest) returns (AnalyzeEntitySentimentResponse) { + // Finds entities, similar to + // [AnalyzeEntities][google.cloud.language.v1.LanguageService.AnalyzeEntities] + // in the text and analyzes sentiment associated with each entity and its + // mentions. + rpc AnalyzeEntitySentiment(AnalyzeEntitySentimentRequest) + returns (AnalyzeEntitySentimentResponse) { option (google.api.http) = { post: "/v1/documents:analyzeEntitySentiment" body: "*" @@ -87,6 +92,15 @@ service LanguageService { option (google.api.method_signature) = "document"; } + // Moderates a document for harmful and sensitive categories. + rpc ModerateText(ModerateTextRequest) returns (ModerateTextResponse) { + option (google.api.http) = { + post: "/v1/documents:moderateText" + body: "*" + }; + option (google.api.method_signature) = "document"; + } + // A convenience method that provides all the features that analyzeSentiment, // analyzeEntities, and analyzeSyntax provide in one call. rpc AnnotateText(AnnotateTextRequest) returns (AnnotateTextResponse) { @@ -148,8 +162,8 @@ message Sentence { TextSpan text = 1; // For calls to [AnalyzeSentiment][] or if - // [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment] is set to - // true, this field will contain the sentiment for the sentence. + // [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment] + // is set to true, this field will contain the sentiment for the sentence. Sentiment sentiment = 2; } @@ -288,9 +302,9 @@ message Entity { repeated EntityMention mentions = 5; // For calls to [AnalyzeEntitySentiment][] or if - // [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] is set to - // true, this field will contain the aggregate sentiment expressed for this - // entity in the provided document. + // [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] + // is set to true, this field will contain the aggregate sentiment expressed + // for this entity in the provided document. Sentiment sentiment = 6; } @@ -941,9 +955,9 @@ message EntityMention { Type type = 2; // For calls to [AnalyzeEntitySentiment][] or if - // [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] is set to - // true, this field will contain the sentiment expressed for this mention of - // the entity in the provided document. + // [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] + // is set to true, this field will contain the sentiment expressed for this + // mention of the entity in the provided document. Sentiment sentiment = 3; } @@ -953,14 +967,15 @@ message TextSpan { string content = 1; // The API calculates the beginning offset of the content in the original - // document according to the [EncodingType][google.cloud.language.v1.EncodingType] specified in the API request. + // document according to the + // [EncodingType][google.cloud.language.v1.EncodingType] specified in the API + // request. int32 begin_offset = 2; } // Represents a category returned from the text classifier. message ClassificationCategory { - // The name of the category representing the document, from the [predefined - // taxonomy](https://cloud.google.com/natural-language/docs/categories). + // The name of the category representing the document. string name = 1; // The classifier's confidence of the category. Number represents how certain @@ -971,9 +986,7 @@ message ClassificationCategory { // Model options available for classification requests. message ClassificationModelOptions { // Options for the V1 model. - message V1Model { - - } + message V1Model {} // Options for the V2 model. message V2Model { @@ -1023,7 +1036,8 @@ message AnalyzeSentimentResponse { // The language of the text, which will be the same as the language specified // in the request or, if not specified, the automatically-detected language. - // See [Document.language][google.cloud.language.v1.Document.language] field for more details. + // See [Document.language][google.cloud.language.v1.Document.language] field + // for more details. string language = 2; // The sentiment for all the sentences in the document. @@ -1046,7 +1060,8 @@ message AnalyzeEntitySentimentResponse { // The language of the text, which will be the same as the language specified // in the request or, if not specified, the automatically-detected language. - // See [Document.language][google.cloud.language.v1.Document.language] field for more details. + // See [Document.language][google.cloud.language.v1.Document.language] field + // for more details. string language = 2; } @@ -1066,7 +1081,8 @@ message AnalyzeEntitiesResponse { // The language of the text, which will be the same as the language specified // in the request or, if not specified, the automatically-detected language. - // See [Document.language][google.cloud.language.v1.Document.language] field for more details. + // See [Document.language][google.cloud.language.v1.Document.language] field + // for more details. string language = 2; } @@ -1089,7 +1105,8 @@ message AnalyzeSyntaxResponse { // The language of the text, which will be the same as the language specified // in the request or, if not specified, the automatically-detected language. - // See [Document.language][google.cloud.language.v1.Document.language] field for more details. + // See [Document.language][google.cloud.language.v1.Document.language] field + // for more details. string language = 3; } @@ -1109,6 +1126,18 @@ message ClassifyTextResponse { repeated ClassificationCategory categories = 1; } +// The document moderation request message. +message ModerateTextRequest { + // Required. Input document. + Document document = 1 [(google.api.field_behavior) = REQUIRED]; +} + +// The document moderation response message. +message ModerateTextResponse { + // Harmful and sensitive categories representing the input document. + repeated ClassificationCategory moderation_categories = 1; +} + // The request message for the text annotation API, which can perform multiple // analysis types (sentiment, entities, and syntax) in one call. message AnnotateTextRequest { @@ -1130,6 +1159,9 @@ message AnnotateTextRequest { // Classify the full document into categories. bool classify_text = 6; + // Moderate the document for harmful and sensitive categories. + bool moderate_text = 11; + // The model options to use for classification. Defaults to v1 options // if not specified. Only used if `classify_text` is set to true. ClassificationModelOptions classification_model_options = 10; @@ -1167,9 +1199,13 @@ message AnnotateTextResponse { // The language of the text, which will be the same as the language specified // in the request or, if not specified, the automatically-detected language. - // See [Document.language][google.cloud.language.v1.Document.language] field for more details. + // See [Document.language][google.cloud.language.v1.Document.language] field + // for more details. string language = 5; // Categories identified in the input document. repeated ClassificationCategory categories = 6; + + // Harmful and sensitive categories identified in the input document. + repeated ClassificationCategory moderation_categories = 7; } diff --git a/third_party/googleapis/google/cloud/language/v1/language_v1.yaml b/third_party/googleapis/google/cloud/language/v1/language_v1.yaml index 8e121478b..725932caa 100644 --- a/third_party/googleapis/google/cloud/language/v1/language_v1.yaml +++ b/third_party/googleapis/google/cloud/language/v1/language_v1.yaml @@ -19,3 +19,18 @@ authentication: canonical_scopes: |- https://www.googleapis.com/auth/cloud-language, https://www.googleapis.com/auth/cloud-platform + +publishing: + documentation_uri: https://cloud.google.com/natural-language/docs + github_label: 'api: language' + organization: CLOUD + library_settings: + - version: google.cloud.language.v1 + launch_stage: GA + dotnet_settings: + handwritten_signatures: + - LanguageService.AnalyzeEntities(document) + - LanguageService.AnalyzeSyntax(document) + - LanguageService.AnnotateText(document,features) + - LanguageService.AnalyzeEntitySentiment(document) + proto_reference_documentation_uri: https://cloud.google.com/natural-language/docs/reference/rpc diff --git a/third_party/googleapis/google/cloud/language/v1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/language/v1beta1/BUILD.bazel index 42d839f6f..ea0466dd8 100644 --- a/third_party/googleapis/google/cloud/language/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/language/v1beta1/BUILD.bazel @@ -90,7 +90,6 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -99,21 +98,9 @@ php_proto_library( deps = [":language_proto"], ) -php_grpc_library( - name = "language_php_grpc", - srcs = [":language_proto"], - deps = [":language_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) - ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/language/v1beta2/BUILD.bazel b/third_party/googleapis/google/cloud/language/v1beta2/BUILD.bazel index f4f02860e..3abb08b9d 100644 --- a/third_party/googleapis/google/cloud/language/v1beta2/BUILD.bazel +++ b/third_party/googleapis/google/cloud/language/v1beta2/BUILD.bazel @@ -108,7 +108,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -136,19 +135,13 @@ go_gapic_library( ], ) -go_test( - name = "language_go_gapic_test", - srcs = [":language_go_gapic_srcjar_test"], - embed = [":language_go_gapic"], - importpath = "cloud.google.com/go/language/apiv1beta2", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-language-v1beta2-go", deps = [ ":language_go_gapic", ":language_go_gapic_srcjar-metadata.srcjar", + ":language_go_gapic_srcjar-snippets.srcjar", ":language_go_gapic_srcjar-test.srcjar", ":language_go_proto", ], @@ -200,7 +193,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -209,23 +201,15 @@ php_proto_library( deps = [":language_proto"], ) -php_grpc_library( - name = "language_php_grpc", - srcs = [":language_proto"], - deps = [":language_php_proto"], -) - php_gapic_library( name = "language_php_gapic", srcs = [":language_proto_with_info"], grpc_service_config = "language_grpc_service_config.json", + migration_mode = "PRE_MIGRATION_SURFACE_ONLY", rest_numeric_enums = True, service_yaml = "language_v1beta2.yaml", transport = "grpc+rest", - deps = [ - ":language_php_grpc", - ":language_php_proto", - ], + deps = [":language_php_proto"], ) # Open Source Packages @@ -233,7 +217,6 @@ php_gapic_assembly_pkg( name = "google-cloud-language-v1beta2-php", deps = [ ":language_php_gapic", - ":language_php_grpc", ":language_php_proto", ], ) diff --git a/third_party/googleapis/google/cloud/language/v1beta2/language_service.proto b/third_party/googleapis/google/cloud/language/v1beta2/language_service.proto index 49c6c0dd1..95c169be0 100644 --- a/third_party/googleapis/google/cloud/language/v1beta2/language_service.proto +++ b/third_party/googleapis/google/cloud/language/v1beta2/language_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -34,7 +34,8 @@ service LanguageService { "https://www.googleapis.com/auth/cloud-platform"; // Analyzes the sentiment of the provided text. - rpc AnalyzeSentiment(AnalyzeSentimentRequest) returns (AnalyzeSentimentResponse) { + rpc AnalyzeSentiment(AnalyzeSentimentRequest) + returns (AnalyzeSentimentResponse) { option (google.api.http) = { post: "/v1beta2/documents:analyzeSentiment" body: "*" @@ -46,7 +47,8 @@ service LanguageService { // Finds named entities (currently proper names and common nouns) in the text // along with entity types, salience, mentions for each entity, and // other properties. - rpc AnalyzeEntities(AnalyzeEntitiesRequest) returns (AnalyzeEntitiesResponse) { + rpc AnalyzeEntities(AnalyzeEntitiesRequest) + returns (AnalyzeEntitiesResponse) { option (google.api.http) = { post: "/v1beta2/documents:analyzeEntities" body: "*" @@ -55,9 +57,12 @@ service LanguageService { option (google.api.method_signature) = "document"; } - // Finds entities, similar to [AnalyzeEntities][google.cloud.language.v1beta2.LanguageService.AnalyzeEntities] in the text and analyzes - // sentiment associated with each entity and its mentions. - rpc AnalyzeEntitySentiment(AnalyzeEntitySentimentRequest) returns (AnalyzeEntitySentimentResponse) { + // Finds entities, similar to + // [AnalyzeEntities][google.cloud.language.v1beta2.LanguageService.AnalyzeEntities] + // in the text and analyzes sentiment associated with each entity and its + // mentions. + rpc AnalyzeEntitySentiment(AnalyzeEntitySentimentRequest) + returns (AnalyzeEntitySentimentResponse) { option (google.api.http) = { post: "/v1beta2/documents:analyzeEntitySentiment" body: "*" @@ -87,6 +92,15 @@ service LanguageService { option (google.api.method_signature) = "document"; } + // Moderates a document for harmful and sensitive categories. + rpc ModerateText(ModerateTextRequest) returns (ModerateTextResponse) { + option (google.api.http) = { + post: "/v1beta2/documents:moderateText" + body: "*" + }; + option (google.api.method_signature) = "document"; + } + // A convenience method that provides all syntax, sentiment, entity, and // classification features in one call. rpc AnnotateText(AnnotateTextRequest) returns (AnnotateTextResponse) { @@ -170,8 +184,8 @@ message Sentence { TextSpan text = 1; // For calls to [AnalyzeSentiment][] or if - // [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_document_sentiment] is set to - // true, this field will contain the sentiment for the sentence. + // [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_document_sentiment] + // is set to true, this field will contain the sentiment for the sentence. Sentiment sentiment = 2; } @@ -310,9 +324,9 @@ message Entity { repeated EntityMention mentions = 5; // For calls to [AnalyzeEntitySentiment][] or if - // [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_entity_sentiment] is set to - // true, this field will contain the aggregate sentiment expressed for this - // entity in the provided document. + // [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_entity_sentiment] + // is set to true, this field will contain the aggregate sentiment expressed + // for this entity in the provided document. Sentiment sentiment = 6; } @@ -960,9 +974,9 @@ message EntityMention { Type type = 2; // For calls to [AnalyzeEntitySentiment][] or if - // [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_entity_sentiment] is set to - // true, this field will contain the sentiment expressed for this mention of - // the entity in the provided document. + // [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_entity_sentiment] + // is set to true, this field will contain the sentiment expressed for this + // mention of the entity in the provided document. Sentiment sentiment = 3; } @@ -972,14 +986,15 @@ message TextSpan { string content = 1; // The API calculates the beginning offset of the content in the original - // document according to the [EncodingType][google.cloud.language.v1beta2.EncodingType] specified in the API request. + // document according to the + // [EncodingType][google.cloud.language.v1beta2.EncodingType] specified in the + // API request. int32 begin_offset = 2; } // Represents a category returned from the text classifier. message ClassificationCategory { - // The name of the category representing the document, from the [predefined - // taxonomy](https://cloud.google.com/natural-language/docs/categories). + // The name of the category representing the document. string name = 1; // The classifier's confidence of the category. Number represents how certain @@ -990,9 +1005,7 @@ message ClassificationCategory { // Model options available for classification requests. message ClassificationModelOptions { // Options for the V1 model. - message V1Model { - - } + message V1Model {} // Options for the V2 model. message V2Model { @@ -1043,7 +1056,8 @@ message AnalyzeSentimentResponse { // The language of the text, which will be the same as the language specified // in the request or, if not specified, the automatically-detected language. - // See [Document.language][google.cloud.language.v1beta2.Document.language] field for more details. + // See [Document.language][google.cloud.language.v1beta2.Document.language] + // field for more details. string language = 2; // The sentiment for all the sentences in the document. @@ -1066,7 +1080,8 @@ message AnalyzeEntitySentimentResponse { // The language of the text, which will be the same as the language specified // in the request or, if not specified, the automatically-detected language. - // See [Document.language][google.cloud.language.v1beta2.Document.language] field for more details. + // See [Document.language][google.cloud.language.v1beta2.Document.language] + // field for more details. string language = 2; } @@ -1086,7 +1101,8 @@ message AnalyzeEntitiesResponse { // The language of the text, which will be the same as the language specified // in the request or, if not specified, the automatically-detected language. - // See [Document.language][google.cloud.language.v1beta2.Document.language] field for more details. + // See [Document.language][google.cloud.language.v1beta2.Document.language] + // field for more details. string language = 2; } @@ -1109,7 +1125,8 @@ message AnalyzeSyntaxResponse { // The language of the text, which will be the same as the language specified // in the request or, if not specified, the automatically-detected language. - // See [Document.language][google.cloud.language.v1beta2.Document.language] field for more details. + // See [Document.language][google.cloud.language.v1beta2.Document.language] + // field for more details. string language = 3; } @@ -1129,12 +1146,24 @@ message ClassifyTextResponse { repeated ClassificationCategory categories = 1; } +// The document moderation request message. +message ModerateTextRequest { + // Required. Input document. + Document document = 1 [(google.api.field_behavior) = REQUIRED]; +} + +// The document moderation response message. +message ModerateTextResponse { + // Harmful and sensitive categories representing the input document. + repeated ClassificationCategory moderation_categories = 1; +} + // The request message for the text annotation API, which can perform multiple // analysis types (sentiment, entities, and syntax) in one call. message AnnotateTextRequest { // All available features for sentiment, syntax, and semantic analysis. // Setting each one to true will enable that specific analysis for the input. - // Next ID: 11 + // Next ID: 12 message Features { // Extract syntax information. bool extract_syntax = 1; @@ -1154,6 +1183,9 @@ message AnnotateTextRequest { // taxonomy](https://cloud.google.com/natural-language/docs/categories). bool classify_text = 6; + // Moderate the document for harmful and sensitive categories. + bool moderate_text = 11; + // The model options to use for classification. Defaults to v1 options // if not specified. Only used if `classify_text` is set to true. ClassificationModelOptions classification_model_options = 10; @@ -1191,9 +1223,13 @@ message AnnotateTextResponse { // The language of the text, which will be the same as the language specified // in the request or, if not specified, the automatically-detected language. - // See [Document.language][google.cloud.language.v1beta2.Document.language] field for more details. + // See [Document.language][google.cloud.language.v1beta2.Document.language] + // field for more details. string language = 5; // Categories identified in the input document. repeated ClassificationCategory categories = 6; + + // Harmful and sensitive categories identified in the input document. + repeated ClassificationCategory moderation_categories = 8; } diff --git a/third_party/googleapis/google/cloud/lifesciences/BUILD.bazel b/third_party/googleapis/google/cloud/lifesciences/BUILD.bazel index e5d42737f..14b04cdb3 100644 --- a/third_party/googleapis/google/cloud/lifesciences/BUILD.bazel +++ b/third_party/googleapis/google/cloud/lifesciences/BUILD.bazel @@ -22,7 +22,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-life_sciences", "ruby-cloud-env-prefix=LIFE_SCIENCES", - "ruby-cloud-wrapper-of=v2beta:0.0", + "ruby-cloud-wrapper-of=v2beta:0.7", "ruby-cloud-product-url=https://cloud.google.com/life-sciences/", "ruby-cloud-api-id=lifesciences.googleapis.com", "ruby-cloud-api-shortname=lifesciences", @@ -30,6 +30,7 @@ ruby_cloud_gapic_library( ], ruby_cloud_description = "Cloud Life Sciences is a suite of services and tools for managing, processing, and transforming life sciences data. It also enables advanced insights and operational workflows using highly scalable and compliant infrastructure.", ruby_cloud_title = "Cloud Life Sciences", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/lifesciences/v2beta/BUILD.bazel b/third_party/googleapis/google/cloud/lifesciences/v2beta/BUILD.bazel index f57f17a04..fdf0fe62e 100644 --- a/third_party/googleapis/google/cloud/lifesciences/v2beta/BUILD.bazel +++ b/third_party/googleapis/google/cloud/lifesciences/v2beta/BUILD.bazel @@ -115,7 +115,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -150,19 +149,13 @@ go_gapic_library( ], ) -go_test( - name = "lifesciences_go_gapic_test", - srcs = [":lifesciences_go_gapic_srcjar_test"], - embed = [":lifesciences_go_gapic"], - importpath = "cloud.google.com/go/lifesciences/apiv2beta", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-lifesciences-v2beta-go", deps = [ ":lifesciences_go_gapic", ":lifesciences_go_gapic_srcjar-metadata.srcjar", + ":lifesciences_go_gapic_srcjar-snippets.srcjar", ":lifesciences_go_gapic_srcjar-test.srcjar", ":lifesciences_go_proto", ], @@ -215,7 +208,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -224,23 +216,15 @@ php_proto_library( deps = [":lifesciences_proto"], ) -php_grpc_library( - name = "lifesciences_php_grpc", - srcs = [":lifesciences_proto"], - deps = [":lifesciences_php_proto"], -) - php_gapic_library( name = "lifesciences_php_gapic", srcs = [":lifesciences_proto_with_info"], grpc_service_config = "lifesciences_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "lifesciences_v2beta.yaml", transport = "grpc+rest", - deps = [ - ":lifesciences_php_grpc", - ":lifesciences_php_proto", - ], + deps = [":lifesciences_php_proto"], ) # Open Source Packages @@ -248,7 +232,6 @@ php_gapic_assembly_pkg( name = "google-cloud-lifesciences-v2beta-php", deps = [ ":lifesciences_php_gapic", - ":lifesciences_php_grpc", ":lifesciences_php_proto", ], ) @@ -321,6 +304,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Cloud Life Sciences is a suite of services and tools for managing, processing, and transforming life sciences data. It also enables advanced insights and operational workflows using highly scalable and compliant infrastructure.", ruby_cloud_title = "Cloud Life Sciences V2beta", service_yaml = "lifesciences_v2beta.yaml", + transport = "grpc+rest", deps = [ ":lifesciences_ruby_grpc", ":lifesciences_ruby_proto", diff --git a/third_party/googleapis/google/cloud/lifesciences/v2beta/lifesciences_v2beta.yaml b/third_party/googleapis/google/cloud/lifesciences/v2beta/lifesciences_v2beta.yaml index 5f0c0f984..9a12da50e 100644 --- a/third_party/googleapis/google/cloud/lifesciences/v2beta/lifesciences_v2beta.yaml +++ b/third_party/googleapis/google/cloud/lifesciences/v2beta/lifesciences_v2beta.yaml @@ -76,17 +76,6 @@ documentation: * `lifesciences.operations.list` -backend: - rules: - - selector: google.cloud.lifesciences.v2beta.WorkflowsServiceV2Beta.RunPipeline - deadline: 20.0 - - selector: google.cloud.location.Locations.GetLocation - deadline: 20.0 - - selector: google.cloud.location.Locations.ListLocations - deadline: 20.0 - - selector: 'google.longrunning.Operations.*' - deadline: 20.0 - http: rules: - selector: google.cloud.location.Locations.GetLocation diff --git a/third_party/googleapis/google/cloud/lifesciences/v2beta/workflows.proto b/third_party/googleapis/google/cloud/lifesciences/v2beta/workflows.proto index d3a465e35..162ca8fbe 100644 --- a/third_party/googleapis/google/cloud/lifesciences/v2beta/workflows.proto +++ b/third_party/googleapis/google/cloud/lifesciences/v2beta/workflows.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/location/BUILD.bazel b/third_party/googleapis/google/cloud/location/BUILD.bazel index 360cc1ad0..7719b6e2a 100644 --- a/third_party/googleapis/google/cloud/location/BUILD.bazel +++ b/third_party/googleapis/google/cloud/location/BUILD.bazel @@ -59,6 +59,7 @@ java_gapic_assembly_gradle_pkg( deps = [ ":location_java_grpc", ":location_java_proto", + ":location_proto", ], ) @@ -116,7 +117,7 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", + "php_gapic_assembly_pkg", "php_proto_library", ) @@ -125,20 +126,17 @@ php_proto_library( deps = [":location_proto"], ) -php_grpc_library( - name = "location_php_grpc", - srcs = [":location_proto"], +# Please DO-NOT-REMOVE this section. +# This is required to generate php files for these protos. +# Open Source Packages +php_gapic_assembly_pkg( + name = "google-cloud-location-php", deps = [":location_php_proto"], ) ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/managedidentities/BUILD.bazel b/third_party/googleapis/google/cloud/managedidentities/BUILD.bazel index 2986838c3..6f5886f50 100644 --- a/third_party/googleapis/google/cloud/managedidentities/BUILD.bazel +++ b/third_party/googleapis/google/cloud/managedidentities/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-managed_identities", "ruby-cloud-env-prefix=MANAGED_IDENTITIES", - "ruby-cloud-wrapper-of=v1:0.3", + "ruby-cloud-wrapper-of=v1:0.7", "ruby-cloud-product-url=https://cloud.google.com/managed-microsoft-ad/", "ruby-cloud-api-id=managedidentities.googleapis.com", "ruby-cloud-api-shortname=managedidentities", ], ruby_cloud_description = "The Managed Service for Microsoft Active Directory API is used for managing a highly available, hardened service running Microsoft Active Directory.", ruby_cloud_title = "Managed Service for Microsoft Active Directory API", + transport = "grpc", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/managedidentities/v1/BUILD.bazel b/third_party/googleapis/google/cloud/managedidentities/v1/BUILD.bazel index e26240f1b..4dae607de 100644 --- a/third_party/googleapis/google/cloud/managedidentities/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/managedidentities/v1/BUILD.bazel @@ -72,12 +72,14 @@ java_gapic_library( srcs = [":managedidentities_proto_with_info"], grpc_service_config = "managedidentities_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "managedidentities_v1.yaml", test_deps = [ ":managedidentities_java_grpc", ], transport = "grpc", deps = [ ":managedidentities_java_proto", + "//google/api:api_java_proto", ], ) @@ -110,7 +112,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -142,18 +143,12 @@ go_gapic_library( ], ) -go_test( - name = "managedidentities_go_gapic_test", - srcs = [":managedidentities_go_gapic_srcjar_test"], - embed = [":managedidentities_go_gapic"], - importpath = "cloud.google.com/go/managedidentities/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-managedidentities-v1-go", deps = [ ":managedidentities_go_gapic", + ":managedidentities_go_gapic_srcjar-snippets.srcjar", ":managedidentities_go_gapic_srcjar-test.srcjar", ":managedidentities_go_proto", ], @@ -204,7 +199,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -213,23 +207,15 @@ php_proto_library( deps = [":managedidentities_proto"], ) -php_grpc_library( - name = "managedidentities_php_grpc", - srcs = [":managedidentities_proto"], - deps = [":managedidentities_php_proto"], -) - php_gapic_library( name = "managedidentities_php_gapic", srcs = [":managedidentities_proto_with_info"], grpc_service_config = "managedidentities_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "managedidentities_v1.yaml", transport = "grpc+rest", - deps = [ - ":managedidentities_php_grpc", - ":managedidentities_php_proto", - ], + deps = [":managedidentities_php_proto"], ) # Open Source Packages @@ -237,7 +223,6 @@ php_gapic_assembly_pkg( name = "google-cloud-managedidentities-v1-php", deps = [ ":managedidentities_php_gapic", - ":managedidentities_php_grpc", ":managedidentities_php_proto", ], ) @@ -309,6 +294,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "The Managed Service for Microsoft Active Directory API is used for managing a highly available, hardened service running Microsoft Active Directory.", ruby_cloud_title = "Managed Service for Microsoft Active Directory API V1", service_yaml = "managedidentities_v1.yaml", + transport = "grpc", deps = [ ":managedidentities_ruby_grpc", ":managedidentities_ruby_proto", diff --git a/third_party/googleapis/google/cloud/managedidentities/v1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/managedidentities/v1beta1/BUILD.bazel index 3478f8b9a..5938d195e 100644 --- a/third_party/googleapis/google/cloud/managedidentities/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/managedidentities/v1beta1/BUILD.bazel @@ -113,7 +113,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -145,19 +144,13 @@ go_gapic_library( ], ) -go_test( - name = "managedidentities_go_gapic_test", - srcs = [":managedidentities_go_gapic_srcjar_test"], - embed = [":managedidentities_go_gapic"], - importpath = "cloud.google.com/go/managedidentities/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-managedidentities-v1beta1-go", deps = [ ":managedidentities_go_gapic", ":managedidentities_go_gapic_srcjar-metadata.srcjar", + ":managedidentities_go_gapic_srcjar-snippets.srcjar", ":managedidentities_go_gapic_srcjar-test.srcjar", ":managedidentities_go_proto", ], @@ -207,7 +200,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -216,12 +208,6 @@ php_proto_library( deps = [":managedidentities_proto"], ) -php_grpc_library( - name = "managedidentities_php_grpc", - srcs = [":managedidentities_proto"], - deps = [":managedidentities_php_proto"], -) - php_gapic_library( name = "managedidentities_php_gapic", srcs = [":managedidentities_proto_with_info"], @@ -229,10 +215,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "managedidentities_v1beta1.yaml", transport = "grpc+rest", - deps = [ - ":managedidentities_php_grpc", - ":managedidentities_php_proto", - ], + deps = [":managedidentities_php_proto"], ) # Open Source Packages @@ -240,7 +223,6 @@ php_gapic_assembly_pkg( name = "google-cloud-managedidentities-v1beta1-php", deps = [ ":managedidentities_php_gapic", - ":managedidentities_php_grpc", ":managedidentities_php_proto", ], ) @@ -304,6 +286,7 @@ ruby_cloud_gapic_library( grpc_service_config = "managedidentities_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "managedidentities_v1beta1.yaml", + transport = "grpc", deps = [ ":managedidentities_ruby_grpc", ":managedidentities_ruby_proto", diff --git a/third_party/googleapis/google/cloud/mediatranslation/BUILD.bazel b/third_party/googleapis/google/cloud/mediatranslation/BUILD.bazel index cf635768a..a0e9202a3 100644 --- a/third_party/googleapis/google/cloud/mediatranslation/BUILD.bazel +++ b/third_party/googleapis/google/cloud/mediatranslation/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-media_translation", "ruby-cloud-env-prefix=MEDIA_TRANSLATION", - "ruby-cloud-wrapper-of=v1beta1:0.0", + "ruby-cloud-wrapper-of=v1beta1:0.8", "ruby-cloud-product-url=https://cloud.google.com/media-translation/", "ruby-cloud-api-id=mediatranslation.googleapis.com", "ruby-cloud-api-shortname=mediatranslation", ], ruby_cloud_description = "Media Translation API delivers real-time speech translation to your content and applications directly from your audio data. Leveraging Google’s machine learning technologies, the API offers enhanced accuracy and simplified integration while equipping you with a comprehensive set of features to further refine your translation results. Improve user experience with low-latency streaming translation and scale quickly with straightforward internationalization.", ruby_cloud_title = "Media Translation", + transport = "grpc", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/mediatranslation/v1alpha1/BUILD.bazel b/third_party/googleapis/google/cloud/mediatranslation/v1alpha1/BUILD.bazel index 863868a95..7a8ed8fdf 100644 --- a/third_party/googleapis/google/cloud/mediatranslation/v1alpha1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/mediatranslation/v1alpha1/BUILD.bazel @@ -95,7 +95,6 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -104,21 +103,9 @@ php_proto_library( deps = [":mediatranslation_proto"], ) -php_grpc_library( - name = "mediatranslation_php_grpc", - srcs = [":mediatranslation_proto"], - deps = [":mediatranslation_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) - ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/mediatranslation/v1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/mediatranslation/v1beta1/BUILD.bazel index ea5e0ccd5..86a5dcf20 100644 --- a/third_party/googleapis/google/cloud/mediatranslation/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/mediatranslation/v1beta1/BUILD.bazel @@ -66,6 +66,7 @@ java_gapic_library( srcs = [":mediatranslation_proto_with_info"], grpc_service_config = "mediatranslation_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "mediatranslation_v1beta1.yaml", test_deps = [ ":mediatranslation_java_grpc", ], @@ -104,7 +105,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -133,19 +133,13 @@ go_gapic_library( ], ) -go_test( - name = "mediatranslation_go_gapic_test", - srcs = [":mediatranslation_go_gapic_srcjar_test"], - embed = [":mediatranslation_go_gapic"], - importpath = "cloud.google.com/go/mediatranslation/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-mediatranslation-v1beta1-go", deps = [ ":mediatranslation_go_gapic", ":mediatranslation_go_gapic_srcjar-metadata.srcjar", + ":mediatranslation_go_gapic_srcjar-snippets.srcjar", ":mediatranslation_go_gapic_srcjar-test.srcjar", ":mediatranslation_go_proto", ], @@ -198,7 +192,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -207,23 +200,15 @@ php_proto_library( deps = [":mediatranslation_proto"], ) -php_grpc_library( - name = "mediatranslation_php_grpc", - srcs = [":mediatranslation_proto"], - deps = [":mediatranslation_php_proto"], -) - php_gapic_library( name = "mediatranslation_php_gapic", srcs = [":mediatranslation_proto_with_info"], grpc_service_config = "mediatranslation_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "mediatranslation_v1beta1.yaml", transport = "grpc+rest", - deps = [ - ":mediatranslation_php_grpc", - ":mediatranslation_php_proto", - ], + deps = [":mediatranslation_php_proto"], ) # Open Source Packages @@ -231,7 +216,6 @@ php_gapic_assembly_pkg( name = "google-cloud-mediatranslation-v1beta1-php", deps = [ ":mediatranslation_php_gapic", - ":mediatranslation_php_grpc", ":mediatranslation_php_proto", ], ) @@ -303,6 +287,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Media Translation API delivers real-time speech translation to your content and applications directly from your audio data. Leveraging Google’s machine learning technologies, the API offers enhanced accuracy and simplified integration while equipping you with a comprehensive set of features to further refine your translation results. Improve user experience with low-latency streaming translation and scale quickly with straightforward internationalization.", ruby_cloud_title = "Media Translation V1beta1", service_yaml = "mediatranslation_v1beta1.yaml", + transport = "grpc", deps = [ ":mediatranslation_ruby_grpc", ":mediatranslation_ruby_proto", diff --git a/third_party/googleapis/google/cloud/memcache/BUILD.bazel b/third_party/googleapis/google/cloud/memcache/BUILD.bazel index 066128a29..f02c7dffd 100644 --- a/third_party/googleapis/google/cloud/memcache/BUILD.bazel +++ b/third_party/googleapis/google/cloud/memcache/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-memcache", "ruby-cloud-env-prefix=MEMCACHE", - "ruby-cloud-wrapper-of=v1:0.0;v1beta2:0.0", + "ruby-cloud-wrapper-of=v1:0.8;v1beta2:0.8", "ruby-cloud-product-url=https://cloud.google.com/memorystore/docs/memcached/", "ruby-cloud-api-id=memcache.googleapis.com", "ruby-cloud-api-shortname=memcache", ], ruby_cloud_description = "Google Cloud Memorystore for Memcached API is used for creating and managing Memcached instances in GCP.", ruby_cloud_title = "Google Cloud Memorystore for Memcached", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/memcache/v1/BUILD.bazel b/third_party/googleapis/google/cloud/memcache/v1/BUILD.bazel index 693c7e592..a846079b5 100644 --- a/third_party/googleapis/google/cloud/memcache/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/memcache/v1/BUILD.bazel @@ -119,7 +119,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -155,19 +154,13 @@ go_gapic_library( ], ) -go_test( - name = "memcache_go_gapic_test", - srcs = [":memcache_go_gapic_srcjar_test"], - embed = [":memcache_go_gapic"], - importpath = "cloud.google.com/go/memcache/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-memcache-v1-go", deps = [ ":memcache_go_gapic", ":memcache_go_gapic_srcjar-metadata.srcjar", + ":memcache_go_gapic_srcjar-snippets.srcjar", ":memcache_go_gapic_srcjar-test.srcjar", ":memcache_go_proto", ], @@ -219,7 +212,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -228,23 +220,15 @@ php_proto_library( deps = [":memcache_proto"], ) -php_grpc_library( - name = "memcache_php_grpc", - srcs = [":memcache_proto"], - deps = [":memcache_php_proto"], -) - php_gapic_library( name = "memcache_php_gapic", srcs = [":memcache_proto_with_info"], grpc_service_config = "memcache_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "memcache_v1.yaml", transport = "grpc+rest", - deps = [ - ":memcache_php_grpc", - ":memcache_php_proto", - ], + deps = [":memcache_php_proto"], ) # Open Source Packages @@ -252,7 +236,6 @@ php_gapic_assembly_pkg( name = "google-cloud-memcache-v1-php", deps = [ ":memcache_php_gapic", - ":memcache_php_grpc", ":memcache_php_proto", ], ) @@ -324,6 +307,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Google Cloud Memorystore for Memcached API is used for creating and managing Memcached instances in GCP.", ruby_cloud_title = "Google Cloud Memorystore for Memcached V1", service_yaml = "memcache_v1.yaml", + transport = "grpc+rest", deps = [ ":memcache_ruby_grpc", ":memcache_ruby_proto", diff --git a/third_party/googleapis/google/cloud/memcache/v1/cloud_memcache.proto b/third_party/googleapis/google/cloud/memcache/v1/cloud_memcache.proto index 1a6e17269..47606fab4 100644 --- a/third_party/googleapis/google/cloud/memcache/v1/cloud_memcache.proto +++ b/third_party/googleapis/google/cloud/memcache/v1/cloud_memcache.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/memcache/v1beta2/BUILD.bazel b/third_party/googleapis/google/cloud/memcache/v1beta2/BUILD.bazel index 0ff858f06..18d68fce5 100644 --- a/third_party/googleapis/google/cloud/memcache/v1beta2/BUILD.bazel +++ b/third_party/googleapis/google/cloud/memcache/v1beta2/BUILD.bazel @@ -119,7 +119,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -155,19 +154,13 @@ go_gapic_library( ], ) -go_test( - name = "memcache_go_gapic_test", - srcs = [":memcache_go_gapic_srcjar_test"], - embed = [":memcache_go_gapic"], - importpath = "cloud.google.com/go/memcache/apiv1beta2", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-memcache-v1beta2-go", deps = [ ":memcache_go_gapic", ":memcache_go_gapic_srcjar-metadata.srcjar", + ":memcache_go_gapic_srcjar-snippets.srcjar", ":memcache_go_gapic_srcjar-test.srcjar", ":memcache_go_proto", ], @@ -219,7 +212,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -228,12 +220,6 @@ php_proto_library( deps = [":memcache_proto"], ) -php_grpc_library( - name = "memcache_php_grpc", - srcs = [":memcache_proto"], - deps = [":memcache_php_proto"], -) - php_gapic_library( name = "memcache_php_gapic", srcs = [":memcache_proto_with_info"], @@ -241,10 +227,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "memcache_v1beta2.yaml", transport = "grpc+rest", - deps = [ - ":memcache_php_grpc", - ":memcache_php_proto", - ], + deps = [":memcache_php_proto"], ) # Open Source Packages @@ -252,7 +235,6 @@ php_gapic_assembly_pkg( name = "google-cloud-memcache-v1beta2-php", deps = [ ":memcache_php_gapic", - ":memcache_php_grpc", ":memcache_php_proto", ], ) @@ -324,6 +306,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Google Cloud Memorystore for Memcached API is used for creating and managing Memcached instances in GCP.", ruby_cloud_title = "Google Cloud Memorystore for Memcached", service_yaml = "memcache_v1beta2.yaml", + transport = "grpc+rest", deps = [ ":memcache_ruby_grpc", ":memcache_ruby_proto", diff --git a/third_party/googleapis/google/cloud/memcache/v1beta2/cloud_memcache.proto b/third_party/googleapis/google/cloud/memcache/v1beta2/cloud_memcache.proto index 7a11e2a11..d69951f12 100644 --- a/third_party/googleapis/google/cloud/memcache/v1beta2/cloud_memcache.proto +++ b/third_party/googleapis/google/cloud/memcache/v1beta2/cloud_memcache.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/metastore/BUILD.bazel b/third_party/googleapis/google/cloud/metastore/BUILD.bazel index 792b68fe3..a3a698531 100644 --- a/third_party/googleapis/google/cloud/metastore/BUILD.bazel +++ b/third_party/googleapis/google/cloud/metastore/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-metastore", "ruby-cloud-env-prefix=METASTORE", - "ruby-cloud-wrapper-of=v1:0.4;v1beta:0.3", + "ruby-cloud-wrapper-of=v1:0.12;v1beta:0.12", "ruby-cloud-product-url=https://cloud.google.com/dataproc-metastore/", "ruby-cloud-api-id=metastore.googleapis.com", "ruby-cloud-api-shortname=metastore", ], ruby_cloud_description = "Dataproc Metastore is a fully managed, highly available within a region, autohealing serverless Apache Hive metastore (HMS) on Google Cloud for data analytics products. It supports HMS and serves as a critical component for managing the metadata of relational entities and provides interoperability between data processing applications in the open source data ecosystem.", ruby_cloud_title = "Dataproc Metastore", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/metastore/logging/v1/BUILD.bazel b/third_party/googleapis/google/cloud/metastore/logging/v1/BUILD.bazel index 0ee59effa..66e5930f9 100644 --- a/third_party/googleapis/google/cloud/metastore/logging/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/metastore/logging/v1/BUILD.bazel @@ -13,7 +13,8 @@ proto_library( srcs = [ "log_streams.proto", ], - deps = [], + deps = [ + ], ) ############################################################################## @@ -42,6 +43,7 @@ java_grpc_library( load( "@com_google_googleapis_imports//:imports.bzl", "go_proto_library", + "go_gapic_assembly_pkg", ) go_proto_library( @@ -49,7 +51,15 @@ go_proto_library( compilers = ["@io_bazel_rules_go//proto:go_grpc"], importpath = "cloud.google.com/go/metastore/logging/apiv1/loggingpb", protos = [":logging_proto"], - deps = [], + deps = [ + ], +) + +go_gapic_assembly_pkg( + name = "logging-v1-go", + deps = [ + ":logging_go_proto", + ], ) ############################################################################## @@ -65,7 +75,8 @@ load( moved_proto_library( name = "logging_moved_proto", srcs = [":logging_proto"], - deps = [], + deps = [ + ], ) py_proto_library( @@ -84,7 +95,7 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", + "php_gapic_assembly_pkg", "php_proto_library", ) @@ -93,22 +104,13 @@ php_proto_library( deps = [":logging_proto"], ) -php_grpc_library( - name = "logging_php_grpc", - srcs = [":logging_proto"], - deps = [":logging_php_proto"], -) - -############################################################################## -# Node.js -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", +php_gapic_assembly_pkg( + name = "logging-v1-php", + deps = [ + ":logging_php_proto", + ], ) - ############################################################################## # Ruby ############################################################################## diff --git a/third_party/googleapis/google/cloud/metastore/logging/v1/log_streams.proto b/third_party/googleapis/google/cloud/metastore/logging/v1/log_streams.proto index 3cd0f5ace..17ad15dfd 100644 --- a/third_party/googleapis/google/cloud/metastore/logging/v1/log_streams.proto +++ b/third_party/googleapis/google/cloud/metastore/logging/v1/log_streams.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/metastore/v1/BUILD.bazel b/third_party/googleapis/google/cloud/metastore/v1/BUILD.bazel index 393da4abe..11b2f1ae7 100644 --- a/third_party/googleapis/google/cloud/metastore/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/metastore/v1/BUILD.bazel @@ -43,6 +43,8 @@ proto_library_with_info( deps = [ ":metastore_proto", "//google/cloud:common_resources_proto", + "//google/cloud/location:location_proto", + "//google/iam/v1:iam_policy_proto", ], ) @@ -75,12 +77,18 @@ java_gapic_library( gapic_yaml = "metastore_gapic.yaml", grpc_service_config = "metastore_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "metastore_v1.yaml", test_deps = [ ":metastore_java_grpc", + "//google/cloud/location:location_java_grpc", + "//google/iam/v1:iam_java_grpc", ], transport = "grpc+rest", deps = [ ":metastore_java_proto", + "//google/api:api_java_proto", + "//google/cloud/location:location_java_proto", + "//google/iam/v1:iam_java_proto", ], ) @@ -89,6 +97,8 @@ java_gapic_test( test_classes = [ "com.google.cloud.metastore.v1.DataprocMetastoreClientHttpJsonTest", "com.google.cloud.metastore.v1.DataprocMetastoreClientTest", + "com.google.cloud.metastore.v1.DataprocMetastoreFederationClientHttpJsonTest", + "com.google.cloud.metastore.v1.DataprocMetastoreFederationClientTest", ], runtime_deps = [":metastore_java_gapic_test"], ) @@ -114,7 +124,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -149,19 +158,13 @@ go_gapic_library( ], ) -go_test( - name = "metastore_go_gapic_test", - srcs = [":metastore_go_gapic_srcjar_test"], - embed = [":metastore_go_gapic"], - importpath = "cloud.google.com/go/metastore/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-metastore-v1-go", deps = [ ":metastore_go_gapic", ":metastore_go_gapic_srcjar-metadata.srcjar", + ":metastore_go_gapic_srcjar-snippets.srcjar", ":metastore_go_gapic_srcjar-test.srcjar", ":metastore_go_proto", ], @@ -181,13 +184,13 @@ py_gapic_library( name = "metastore_py_gapic", srcs = [":metastore_proto"], grpc_service_config = "metastore_grpc_service_config.json", - opt_args = [ - "warehouse-package-name=google-cloud-dataproc-metastore", - ], + opt_args = ["warehouse-package-name=google-cloud-dataproc-metastore"], rest_numeric_enums = True, service_yaml = "metastore_v1.yaml", transport = "grpc+rest", - deps = ["//google/iam/v1:iam_policy_py_proto"], + deps = [ + "//google/iam/v1:iam_policy_py_proto", + ], ) py_test( @@ -215,7 +218,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -224,21 +226,15 @@ php_proto_library( deps = [":metastore_proto"], ) -php_grpc_library( - name = "metastore_php_grpc", - srcs = [":metastore_proto"], - deps = [":metastore_php_proto"], -) - php_gapic_library( name = "metastore_php_gapic", srcs = [":metastore_proto_with_info"], grpc_service_config = "metastore_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "metastore_v1.yaml", transport = "grpc+rest", deps = [ - ":metastore_php_grpc", ":metastore_php_proto", ], ) @@ -248,7 +244,6 @@ php_gapic_assembly_pkg( name = "google-cloud-metastore-v1-php", deps = [ ":metastore_php_gapic", - ":metastore_php_grpc", ":metastore_php_proto", ], ) @@ -309,17 +304,18 @@ ruby_cloud_gapic_library( name = "metastore_ruby_gapic", srcs = [":metastore_proto_with_info"], extra_protoc_parameters = [ - "ruby-cloud-gem-name=google-cloud-metastore-v1", - "ruby-cloud-env-prefix=METASTORE", - "ruby-cloud-product-url=https://cloud.google.com/dataproc-metastore/", "ruby-cloud-api-id=metastore.googleapis.com", "ruby-cloud-api-shortname=metastore", + "ruby-cloud-env-prefix=METASTORE", + "ruby-cloud-gem-name=google-cloud-metastore-v1", + "ruby-cloud-product-url=https://cloud.google.com/dataproc-metastore/", ], grpc_service_config = "metastore_grpc_service_config.json", rest_numeric_enums = True, ruby_cloud_description = "Dataproc Metastore is a fully managed, highly available within a region, autohealing serverless Apache Hive metastore (HMS) on Google Cloud for data analytics products. It supports HMS and serves as a critical component for managing the metadata of relational entities and provides interoperability between data processing applications in the open source data ecosystem.", ruby_cloud_title = "Dataproc Metastore V1", service_yaml = "metastore_v1.yaml", + transport = "grpc+rest", deps = [ ":metastore_ruby_grpc", ":metastore_ruby_proto", @@ -349,6 +345,7 @@ load( csharp_proto_library( name = "metastore_csharp_proto", + extra_opts = [], deps = [":metastore_proto"], ) diff --git a/third_party/googleapis/google/cloud/metastore/v1/metastore.proto b/third_party/googleapis/google/cloud/metastore/v1/metastore.proto index 8b4020c98..e0b8b216a 100644 --- a/third_party/googleapis/google/cloud/metastore/v1/metastore.proto +++ b/third_party/googleapis/google/cloud/metastore/v1/metastore.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,6 +21,7 @@ import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/longrunning/operations.proto"; +import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; import "google/protobuf/wrappers.proto"; @@ -39,6 +40,10 @@ option (google.api.resource_definition) = { type: "compute.googleapis.com/Subnetwork" pattern: "projects/{project}/regions/{region}/subnetworks/{subnetwork}" }; +option (google.api.resource_definition) = { + type: "dataplex.googleapis.com/Lake" + pattern: "projects/{project}/locations/{location}/lakes/{lake}" +}; // Configures and manages metastore services. // Metastore services are fully managed, highly available, autoscaled, @@ -59,7 +64,8 @@ option (google.api.resource_definition) = { // `/projects/{project_number}/locations/{location_id}/services/{service_id}`. service DataprocMetastore { option (google.api.default_host) = "metastore.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Lists services in a project and location. rpc ListServices(ListServicesRequest) returns (ListServicesResponse) { @@ -78,7 +84,8 @@ service DataprocMetastore { } // Creates a metastore service in a project and location. - rpc CreateService(CreateServiceRequest) returns (google.longrunning.Operation) { + rpc CreateService(CreateServiceRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/services" body: "service" @@ -91,7 +98,8 @@ service DataprocMetastore { } // Updates the parameters of a single service. - rpc UpdateService(UpdateServiceRequest) returns (google.longrunning.Operation) { + rpc UpdateService(UpdateServiceRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v1/{service.name=projects/*/locations/*/services/*}" body: "service" @@ -104,7 +112,8 @@ service DataprocMetastore { } // Deletes a single service. - rpc DeleteService(DeleteServiceRequest) returns (google.longrunning.Operation) { + rpc DeleteService(DeleteServiceRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/services/*}" }; @@ -116,7 +125,8 @@ service DataprocMetastore { } // Lists imports in a service. - rpc ListMetadataImports(ListMetadataImportsRequest) returns (ListMetadataImportsResponse) { + rpc ListMetadataImports(ListMetadataImportsRequest) + returns (ListMetadataImportsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*/services/*}/metadataImports" }; @@ -132,12 +142,14 @@ service DataprocMetastore { } // Creates a new MetadataImport in a given project and location. - rpc CreateMetadataImport(CreateMetadataImportRequest) returns (google.longrunning.Operation) { + rpc CreateMetadataImport(CreateMetadataImportRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*/services/*}/metadataImports" body: "metadata_import" }; - option (google.api.method_signature) = "parent,metadata_import,metadata_import_id"; + option (google.api.method_signature) = + "parent,metadata_import,metadata_import_id"; option (google.longrunning.operation_info) = { response_type: "MetadataImport" metadata_type: "google.cloud.metastore.v1.OperationMetadata" @@ -146,7 +158,8 @@ service DataprocMetastore { // Updates a single import. // Only the description field of MetadataImport is supported to be updated. - rpc UpdateMetadataImport(UpdateMetadataImportRequest) returns (google.longrunning.Operation) { + rpc UpdateMetadataImport(UpdateMetadataImportRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v1/{metadata_import.name=projects/*/locations/*/services/*/metadataImports/*}" body: "metadata_import" @@ -159,7 +172,8 @@ service DataprocMetastore { } // Exports metadata from a service. - rpc ExportMetadata(ExportMetadataRequest) returns (google.longrunning.Operation) { + rpc ExportMetadata(ExportMetadataRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{service=projects/*/locations/*/services/*}:exportMetadata" body: "*" @@ -171,7 +185,8 @@ service DataprocMetastore { } // Restores a service from a backup. - rpc RestoreService(RestoreServiceRequest) returns (google.longrunning.Operation) { + rpc RestoreService(RestoreServiceRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{service=projects/*/locations/*/services/*}:restore" body: "*" @@ -223,6 +238,48 @@ service DataprocMetastore { metadata_type: "google.cloud.metastore.v1.OperationMetadata" }; } + + // Query DPMS metadata. + rpc QueryMetadata(QueryMetadataRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{service=projects/*/locations/*/services/*}:queryMetadata" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "QueryMetadataResponse" + metadata_type: "google.cloud.metastore.v1.OperationMetadata" + }; + } + + // Move a table to another database. + rpc MoveTableToDatabase(MoveTableToDatabaseRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{service=projects/*/locations/*/services/*}:moveTableToDatabase" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "MoveTableToDatabaseResponse" + metadata_type: "google.cloud.metastore.v1.OperationMetadata" + }; + } + + // Alter metadata resource location. The metadata resource can be a database, + // table, or partition. This functionality only updates the parent directory + // for the respective metadata resource and does not transfer any existing + // data to the new location. + rpc AlterMetadataResourceLocation(AlterMetadataResourceLocationRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{service=projects/*/locations/*/services/*}:alterLocation" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "AlterMetadataResourceLocationResponse" + metadata_type: "google.cloud.metastore.v1.OperationMetadata" + }; + } } // A managed metastore service that serves metadata queries. @@ -313,30 +370,30 @@ message Service { HiveMetastoreConfig hive_metastore_config = 5; } - // Immutable. The relative resource name of the metastore service, in the following - // format: + // Immutable. The relative resource name of the metastore service, in the + // following format: // // `projects/{project_number}/locations/{location_id}/services/{service_id}`. string name = 1 [(google.api.field_behavior) = IMMUTABLE]; // Output only. The time when the metastore service was created. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time when the metastore service was last updated. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // User-defined labels for the metastore service. map labels = 4; - // Immutable. The relative resource name of the VPC network on which the instance can be - // accessed. It is specified in the following form: + // Immutable. The relative resource name of the VPC network on which the + // instance can be accessed. It is specified in the following form: // // `projects/{project_number}/global/networks/{network_id}`. string network = 7 [ (google.api.field_behavior) = IMMUTABLE, - (google.api.resource_reference) = { - type: "compute.googleapis.com/Network" - } + (google.api.resource_reference) = { type: "compute.googleapis.com/Network" } ]; // Output only. The URI of the endpoint used to access the metastore service. @@ -348,12 +405,12 @@ message Service { // Output only. The current state of the metastore service. State state = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Additional information about the current state of the metastore service, if - // available. + // Output only. Additional information about the current state of the + // metastore service, if available. string state_message = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. A Cloud Storage URI (starting with `gs://`) that specifies where artifacts - // related to the metastore service are stored. + // Output only. A Cloud Storage URI (starting with `gs://`) that specifies + // where artifacts related to the metastore service are stored. string artifact_gcs_uri = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; // The tier of the service. @@ -365,19 +422,22 @@ message Service { // database type. MaintenanceWindow maintenance_window = 15; - // Output only. The globally unique resource identifier of the metastore service. + // Output only. The globally unique resource identifier of the metastore + // service. string uid = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The metadata management activities of the metastore service. - MetadataManagementActivity metadata_management_activity = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; + MetadataManagementActivity metadata_management_activity = 17 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Immutable. The release channel of the service. // If unspecified, defaults to `STABLE`. ReleaseChannel release_channel = 19 [(google.api.field_behavior) = IMMUTABLE]; - // Immutable. Information used to configure the Dataproc Metastore service to encrypt - // customer data at rest. Cannot be updated. - EncryptionConfig encryption_config = 20 [(google.api.field_behavior) = IMMUTABLE]; + // Immutable. Information used to configure the Dataproc Metastore service to + // encrypt customer data at rest. Cannot be updated. + EncryptionConfig encryption_config = 20 + [(google.api.field_behavior) = IMMUTABLE]; // The configuration specifying the network settings for the // Dataproc Metastore service. @@ -389,6 +449,9 @@ message Service { // The configuration specifying telemetry settings for the Dataproc Metastore // service. If unspecified defaults to `JSON`. TelemetryConfig telemetry_config = 23; + + // Scaling configuration of the metastore service. + ScalingConfig scaling_config = 24; } // Maintenance window. This specifies when Dataproc Metastore @@ -404,6 +467,18 @@ message MaintenanceWindow { // Specifies configuration information specific to running Hive metastore // software as the metastore service. message HiveMetastoreConfig { + // Protocols available for serving the metastore service endpoint. + enum EndpointProtocol { + // The protocol is not set. + ENDPOINT_PROTOCOL_UNSPECIFIED = 0; + + // Use the legacy Apache Thrift protocol for the metastore service endpoint. + THRIFT = 1; + + // Use the modernized gRPC protocol for the metastore service endpoint. + GRPC = 2; + } + // Immutable. The Hive metastore schema version. string version = 1 [(google.api.field_behavior) = IMMUTABLE]; @@ -420,6 +495,20 @@ message HiveMetastoreConfig { // (`hive_metastore_config.kerberos_config`) in the request's `update_mask` // while omitting this field from the request's `service`. KerberosConfig kerberos_config = 3; + + // The protocol to use for the metastore service endpoint. If unspecified, + // defaults to `THRIFT`. + EndpointProtocol endpoint_protocol = 4; + + // A mapping of Hive metastore version to the auxiliary version + // configuration. When specified, a secondary Hive metastore service is + // created along with the primary service. All auxiliary versions must be less + // than the service's primary version. The key is the auxiliary service name + // and it must match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. This + // means that the first character must be a lowercase letter, and all the + // following characters must be hyphens, lowercase letters, or digits, except + // the last character, which cannot be a hyphen. + map auxiliary_versions = 5; } // Configuration information for a Kerberos principal. @@ -459,13 +548,35 @@ message EncryptionConfig { string kms_key = 1; } +// Configuration information for the auxiliary service versions. +message AuxiliaryVersionConfig { + // The Hive metastore version of the auxiliary service. It must be less + // than the primary Hive metastore service's version. + string version = 1; + + // A mapping of Hive metastore configuration key-value pairs to apply to the + // auxiliary Hive metastore (configured in `hive-site.xml`) in addition to + // the primary version's overrides. If keys are present in both the auxiliary + // version's overrides and the primary version's overrides, the value from + // the auxiliary version's overrides takes precedence. + map config_overrides = 2; + + // Output only. The network configuration contains the endpoint URI(s) of the + // auxiliary Hive metastore service. + NetworkConfig network_config = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + // Network configuration for the Dataproc Metastore service. +// +// Next available ID: 4 message NetworkConfig { // Contains information of the customer's network configurations. + // + // Next available ID: 5 message Consumer { oneof vpc_resource { - // Immutable. The subnetwork of the customer project from which an IP address is - // reserved and used as the Dataproc Metastore service's + // Immutable. The subnetwork of the customer project from which an IP + // address is reserved and used as the Dataproc Metastore service's // endpoint. It is accessible to hosts in the subnet and to all // hosts in a subnet in the same region and same network. There must // be at least one IP address available in the subnet's primary range. The @@ -480,12 +591,22 @@ message NetworkConfig { ]; } - // Output only. The URI of the endpoint used to access the metastore service. + // Output only. The URI of the endpoint used to access the metastore + // service. string endpoint_uri = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The location of the endpoint URI. Format: + // `projects/{project}/locations/{location}`. + string endpoint_location = 4 [ + (google.api.field_behavior) = OUTPUT_ONLY, + (google.api.resource_reference) = { + type: "locations.googleapis.com/Location" + } + ]; } - // Immutable. The consumer-side network configuration for the Dataproc Metastore - // instance. + // Immutable. The consumer-side network configuration for the Dataproc + // Metastore instance. repeated Consumer consumers = 1 [(google.api.field_behavior) = IMMUTABLE]; } @@ -509,7 +630,8 @@ message TelemetryConfig { // The metadata management activities of the metastore service. message MetadataManagementActivity { // Output only. The latest metadata exports of the metastore service. - repeated MetadataExport metadata_exports = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated MetadataExport metadata_exports = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The latest restores of the metastore service. repeated Restore restores = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -525,7 +647,6 @@ message MetadataImport { // A specification of the location of and metadata about a database dump from // a relational database management system. message DatabaseDump { - // The type of the database. enum DatabaseType { // The type of the source database is unknown. @@ -542,7 +663,11 @@ message MetadataImport { // to import metadata. It must begin with `gs://`. string gcs_uri = 2; - // Optional. The type of the database dump. If unspecified, defaults to `MYSQL`. + // The name of the source database. + string source_database = 3 [deprecated = true]; + + // Optional. The type of the database dump. If unspecified, defaults to + // `MYSQL`. DatabaseDumpSpec.Type type = 4 [(google.api.field_behavior) = OPTIONAL]; } @@ -580,13 +705,16 @@ message MetadataImport { string description = 2; // Output only. The time when the metadata import was started. - google.protobuf.Timestamp create_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time when the metadata import was last updated. - google.protobuf.Timestamp update_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time when the metadata import finished. - google.protobuf.Timestamp end_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp end_time = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The current state of the metadata import. State state = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -613,23 +741,27 @@ message MetadataExport { } oneof destination { - // Output only. A Cloud Storage URI of a folder that metadata are exported to, in the - // form of `gs:////`, where + // Output only. A Cloud Storage URI of a folder that metadata are exported + // to, in the form of + // `gs:////`, where // `` is automatically generated. string destination_gcs_uri = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Output only. The time when the export started. - google.protobuf.Timestamp start_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp start_time = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time when the export ended. - google.protobuf.Timestamp end_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp end_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The current state of the export. State state = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The type of the database dump. - DatabaseDumpSpec.Type database_dump_type = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + DatabaseDumpSpec.Type database_dump_type = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // The details of a backup resource. @@ -666,10 +798,12 @@ message Backup { string name = 1 [(google.api.field_behavior) = IMMUTABLE]; // Output only. The time when the backup was started. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time when the backup finished creating. - google.protobuf.Timestamp end_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp end_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The current state of the backup. State state = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -681,7 +815,8 @@ message Backup { string description = 6; // Output only. Services that are restoring from the backup. - repeated string restoring_services = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated string restoring_services = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // The details of a metadata restore operation. @@ -717,16 +852,18 @@ message Restore { } // Output only. The time when the restore started. - google.protobuf.Timestamp start_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp start_time = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time when the restore ended. - google.protobuf.Timestamp end_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp end_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The current state of the restore. State state = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The relative resource name of the metastore service backup to restore - // from, in the following form: + // Output only. The relative resource name of the metastore service backup to + // restore from, in the following form: // // `projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}`. string backup = 4 [ @@ -739,15 +876,52 @@ message Restore { // Output only. The type of restore. RestoreType type = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The restore details containing the revision of the service to be restored - // to, in format of JSON. + // Output only. The restore details containing the revision of the service to + // be restored to, in format of JSON. string details = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; } -// Request message for [DataprocMetastore.ListServices][google.cloud.metastore.v1.DataprocMetastore.ListServices]. +// Represents the scaling configuration of a metastore service. +message ScalingConfig { + // Metastore instance sizes. + enum InstanceSize { + // Unspecified instance size + INSTANCE_SIZE_UNSPECIFIED = 0; + + // Extra small instance size, maps to a scaling factor of 0.1. + EXTRA_SMALL = 1; + + // Small instance size, maps to a scaling factor of 0.5. + SMALL = 2; + + // Medium instance size, maps to a scaling factor of 1.0. + MEDIUM = 3; + + // Large instance size, maps to a scaling factor of 3.0. + LARGE = 4; + + // Extra large instance size, maps to a scaling factor of 6.0. + EXTRA_LARGE = 5; + } + + // Represents either a predetermined instance size or a numeric + // scaling factor. + oneof scaling_model { + // An enum of readable instance sizes, with each instance size mapping to a + // float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1)) + InstanceSize instance_size = 1; + + // Scaling factor, increments of 0.1 for values less than 1.0, and + // increments of 1.0 for values greater than 1.0. + float scaling_factor = 2; + } +} + +// Request message for +// [DataprocMetastore.ListServices][google.cloud.metastore.v1.DataprocMetastore.ListServices]. message ListServicesRequest { - // Required. The relative resource name of the location of metastore services to - // list, in the following form: + // Required. The relative resource name of the location of metastore services + // to list, in the following form: // // `projects/{project_number}/locations/{location_id}`. string parent = 1 [ @@ -757,19 +931,21 @@ message ListServicesRequest { } ]; - // Optional. The maximum number of services to return. The response may contain less - // than the maximum number. If unspecified, no more than 500 services are - // returned. The maximum value is 1000; values above 1000 are changed to 1000. + // Optional. The maximum number of services to return. The response may + // contain less than the maximum number. If unspecified, no more than 500 + // services are returned. The maximum value is 1000; values above 1000 are + // changed to 1000. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. A page token, received from a previous [DataprocMetastore.ListServices][google.cloud.metastore.v1.DataprocMetastore.ListServices] + // Optional. A page token, received from a previous + // [DataprocMetastore.ListServices][google.cloud.metastore.v1.DataprocMetastore.ListServices] // call. Provide this token to retrieve the subsequent page. // // To retrieve the first page, supply an empty page token. // // When paginating, other parameters provided to - // [DataprocMetastore.ListServices][google.cloud.metastore.v1.DataprocMetastore.ListServices] must match the call that provided the - // page token. + // [DataprocMetastore.ListServices][google.cloud.metastore.v1.DataprocMetastore.ListServices] + // must match the call that provided the page token. string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; // Optional. The filter to apply to list results. @@ -781,7 +957,8 @@ message ListServicesRequest { string order_by = 5 [(google.api.field_behavior) = OPTIONAL]; } -// Response message for [DataprocMetastore.ListServices][google.cloud.metastore.v1.DataprocMetastore.ListServices]. +// Response message for +// [DataprocMetastore.ListServices][google.cloud.metastore.v1.DataprocMetastore.ListServices]. message ListServicesResponse { // The services in the specified location. repeated Service services = 1; @@ -794,10 +971,11 @@ message ListServicesResponse { repeated string unreachable = 3; } -// Request message for [DataprocMetastore.GetService][google.cloud.metastore.v1.DataprocMetastore.GetService]. +// Request message for +// [DataprocMetastore.GetService][google.cloud.metastore.v1.DataprocMetastore.GetService]. message GetServiceRequest { - // Required. The relative resource name of the metastore service to retrieve, in the - // following form: + // Required. The relative resource name of the metastore service to retrieve, + // in the following form: // // `projects/{project_number}/locations/{location_id}/services/{service_id}`. string name = 1 [ @@ -808,10 +986,11 @@ message GetServiceRequest { ]; } -// Request message for [DataprocMetastore.CreateService][google.cloud.metastore.v1.DataprocMetastore.CreateService]. +// Request message for +// [DataprocMetastore.CreateService][google.cloud.metastore.v1.DataprocMetastore.CreateService]. message CreateServiceRequest { - // Required. The relative resource name of the location in which to create a metastore - // service, in the following form: + // Required. The relative resource name of the location in which to create a + // metastore service, in the following form: // // `projects/{project_number}/locations/{location_id}`. string parent = 1 [ @@ -834,10 +1013,10 @@ message CreateServiceRequest { // the request's `service_id` field. Service service = 3 [(google.api.field_behavior) = REQUIRED]; - // Optional. A request ID. Specify a unique request ID to allow the server to ignore the - // request if it has completed. The server will ignore subsequent requests - // that provide a duplicate request ID for at least 60 minutes after the first - // request. + // Optional. A request ID. Specify a unique request ID to allow the server to + // ignore the request if it has completed. The server will ignore subsequent + // requests that provide a duplicate request ID for at least 60 minutes after + // the first request. // // For example, if an initial request times out, followed by another request // with the same request ID, the server ignores the second request to prevent @@ -849,13 +1028,15 @@ message CreateServiceRequest { string request_id = 4 [(google.api.field_behavior) = OPTIONAL]; } -// Request message for [DataprocMetastore.UpdateService][google.cloud.metastore.v1.DataprocMetastore.UpdateService]. +// Request message for +// [DataprocMetastore.UpdateService][google.cloud.metastore.v1.DataprocMetastore.UpdateService]. message UpdateServiceRequest { // Required. A field mask used to specify the fields to be overwritten in the // metastore service resource by the update. // Fields specified in the `update_mask` are relative to the resource (not // to the full request). A field is overwritten if it is in the mask. - google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = REQUIRED]; + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = REQUIRED]; // Required. The metastore service to update. The server only merges fields // in the service if they are specified in `update_mask`. @@ -864,10 +1045,10 @@ message UpdateServiceRequest { // service to be updated. Service service = 2 [(google.api.field_behavior) = REQUIRED]; - // Optional. A request ID. Specify a unique request ID to allow the server to ignore the - // request if it has completed. The server will ignore subsequent requests - // that provide a duplicate request ID for at least 60 minutes after the first - // request. + // Optional. A request ID. Specify a unique request ID to allow the server to + // ignore the request if it has completed. The server will ignore subsequent + // requests that provide a duplicate request ID for at least 60 minutes after + // the first request. // // For example, if an initial request times out, followed by another request // with the same request ID, the server ignores the second request to prevent @@ -879,10 +1060,11 @@ message UpdateServiceRequest { string request_id = 3 [(google.api.field_behavior) = OPTIONAL]; } -// Request message for [DataprocMetastore.DeleteService][google.cloud.metastore.v1.DataprocMetastore.DeleteService]. +// Request message for +// [DataprocMetastore.DeleteService][google.cloud.metastore.v1.DataprocMetastore.DeleteService]. message DeleteServiceRequest { - // Required. The relative resource name of the metastore service to delete, in the - // following form: + // Required. The relative resource name of the metastore service to delete, in + // the following form: // // `projects/{project_number}/locations/{location_id}/services/{service_id}`. string name = 1 [ @@ -892,10 +1074,10 @@ message DeleteServiceRequest { } ]; - // Optional. A request ID. Specify a unique request ID to allow the server to ignore the - // request if it has completed. The server will ignore subsequent requests - // that provide a duplicate request ID for at least 60 minutes after the first - // request. + // Optional. A request ID. Specify a unique request ID to allow the server to + // ignore the request if it has completed. The server will ignore subsequent + // requests that provide a duplicate request ID for at least 60 minutes after + // the first request. // // For example, if an initial request times out, followed by another request // with the same request ID, the server ignores the second request to prevent @@ -907,10 +1089,11 @@ message DeleteServiceRequest { string request_id = 2 [(google.api.field_behavior) = OPTIONAL]; } -// Request message for [DataprocMetastore.ListMetadataImports][google.cloud.metastore.v1.DataprocMetastore.ListMetadataImports]. +// Request message for +// [DataprocMetastore.ListMetadataImports][google.cloud.metastore.v1.DataprocMetastore.ListMetadataImports]. message ListMetadataImportsRequest { - // Required. The relative resource name of the service whose metadata imports to - // list, in the following form: + // Required. The relative resource name of the service whose metadata imports + // to list, in the following form: // // `projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports`. string parent = 1 [ @@ -920,19 +1103,20 @@ message ListMetadataImportsRequest { } ]; - // Optional. The maximum number of imports to return. The response may contain less - // than the maximum number. If unspecified, no more than 500 imports are + // Optional. The maximum number of imports to return. The response may contain + // less than the maximum number. If unspecified, no more than 500 imports are // returned. The maximum value is 1000; values above 1000 are changed to 1000. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. A page token, received from a previous [DataprocMetastore.ListServices][google.cloud.metastore.v1.DataprocMetastore.ListServices] + // Optional. A page token, received from a previous + // [DataprocMetastore.ListServices][google.cloud.metastore.v1.DataprocMetastore.ListServices] // call. Provide this token to retrieve the subsequent page. // // To retrieve the first page, supply an empty page token. // // When paginating, other parameters provided to - // [DataprocMetastore.ListServices][google.cloud.metastore.v1.DataprocMetastore.ListServices] must match the call that provided the - // page token. + // [DataprocMetastore.ListServices][google.cloud.metastore.v1.DataprocMetastore.ListServices] + // must match the call that provided the page token. string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; // Optional. The filter to apply to list results. @@ -944,7 +1128,8 @@ message ListMetadataImportsRequest { string order_by = 5 [(google.api.field_behavior) = OPTIONAL]; } -// Response message for [DataprocMetastore.ListMetadataImports][google.cloud.metastore.v1.DataprocMetastore.ListMetadataImports]. +// Response message for +// [DataprocMetastore.ListMetadataImports][google.cloud.metastore.v1.DataprocMetastore.ListMetadataImports]. message ListMetadataImportsResponse { // The imports in the specified service. repeated MetadataImport metadata_imports = 1; @@ -957,10 +1142,11 @@ message ListMetadataImportsResponse { repeated string unreachable = 3; } -// Request message for [DataprocMetastore.GetMetadataImport][google.cloud.metastore.v1.DataprocMetastore.GetMetadataImport]. +// Request message for +// [DataprocMetastore.GetMetadataImport][google.cloud.metastore.v1.DataprocMetastore.GetMetadataImport]. message GetMetadataImportRequest { - // Required. The relative resource name of the metadata import to retrieve, in the - // following form: + // Required. The relative resource name of the metadata import to retrieve, in + // the following form: // // `projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{import_id}`. string name = 1 [ @@ -971,10 +1157,11 @@ message GetMetadataImportRequest { ]; } -// Request message for [DataprocMetastore.CreateMetadataImport][google.cloud.metastore.v1.DataprocMetastore.CreateMetadataImport]. +// Request message for +// [DataprocMetastore.CreateMetadataImport][google.cloud.metastore.v1.DataprocMetastore.CreateMetadataImport]. message CreateMetadataImportRequest { - // Required. The relative resource name of the service in which to create a metastore - // import, in the following form: + // Required. The relative resource name of the service in which to create a + // metastore import, in the following form: // // `projects/{project_number}/locations/{location_id}/services/{service_id}`. string parent = 1 [ @@ -984,23 +1171,23 @@ message CreateMetadataImportRequest { } ]; - // Required. The ID of the metadata import, which is used as the final component of the - // metadata import's name. + // Required. The ID of the metadata import, which is used as the final + // component of the metadata import's name. // // This value must be between 1 and 64 characters long, begin with a letter, // end with a letter or number, and consist of alpha-numeric ASCII characters // or hyphens. string metadata_import_id = 2 [(google.api.field_behavior) = REQUIRED]; - // Required. The metadata import to create. The `name` field is ignored. The ID of the - // created metadata import must be provided in the request's + // Required. The metadata import to create. The `name` field is ignored. The + // ID of the created metadata import must be provided in the request's // `metadata_import_id` field. MetadataImport metadata_import = 3 [(google.api.field_behavior) = REQUIRED]; - // Optional. A request ID. Specify a unique request ID to allow the server to ignore the - // request if it has completed. The server will ignore subsequent requests - // that provide a duplicate request ID for at least 60 minutes after the first - // request. + // Optional. A request ID. Specify a unique request ID to allow the server to + // ignore the request if it has completed. The server will ignore subsequent + // requests that provide a duplicate request ID for at least 60 minutes after + // the first request. // // For example, if an initial request times out, followed by another request // with the same request ID, the server ignores the second request to prevent @@ -1012,13 +1199,15 @@ message CreateMetadataImportRequest { string request_id = 4 [(google.api.field_behavior) = OPTIONAL]; } -// Request message for [DataprocMetastore.UpdateMetadataImport][google.cloud.metastore.v1.DataprocMetastore.UpdateMetadataImport]. +// Request message for +// [DataprocMetastore.UpdateMetadataImport][google.cloud.metastore.v1.DataprocMetastore.UpdateMetadataImport]. message UpdateMetadataImportRequest { // Required. A field mask used to specify the fields to be overwritten in the // metadata import resource by the update. // Fields specified in the `update_mask` are relative to the resource (not // to the full request). A field is overwritten if it is in the mask. - google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = REQUIRED]; + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = REQUIRED]; // Required. The metadata import to update. The server only merges fields // in the import if they are specified in `update_mask`. @@ -1027,10 +1216,10 @@ message UpdateMetadataImportRequest { // import to be updated. MetadataImport metadata_import = 2 [(google.api.field_behavior) = REQUIRED]; - // Optional. A request ID. Specify a unique request ID to allow the server to ignore the - // request if it has completed. The server will ignore subsequent requests - // that provide a duplicate request ID for at least 60 minutes after the first - // request. + // Optional. A request ID. Specify a unique request ID to allow the server to + // ignore the request if it has completed. The server will ignore subsequent + // requests that provide a duplicate request ID for at least 60 minutes after + // the first request. // // For example, if an initial request times out, followed by another request // with the same request ID, the server ignores the second request to prevent @@ -1042,7 +1231,8 @@ message UpdateMetadataImportRequest { string request_id = 3 [(google.api.field_behavior) = OPTIONAL]; } -// Request message for [DataprocMetastore.ListBackups][google.cloud.metastore.v1.DataprocMetastore.ListBackups]. +// Request message for +// [DataprocMetastore.ListBackups][google.cloud.metastore.v1.DataprocMetastore.ListBackups]. message ListBackupsRequest { // Required. The relative resource name of the service whose backups to // list, in the following form: @@ -1055,19 +1245,20 @@ message ListBackupsRequest { } ]; - // Optional. The maximum number of backups to return. The response may contain less - // than the maximum number. If unspecified, no more than 500 backups are + // Optional. The maximum number of backups to return. The response may contain + // less than the maximum number. If unspecified, no more than 500 backups are // returned. The maximum value is 1000; values above 1000 are changed to 1000. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. A page token, received from a previous [DataprocMetastore.ListBackups][google.cloud.metastore.v1.DataprocMetastore.ListBackups] + // Optional. A page token, received from a previous + // [DataprocMetastore.ListBackups][google.cloud.metastore.v1.DataprocMetastore.ListBackups] // call. Provide this token to retrieve the subsequent page. // // To retrieve the first page, supply an empty page token. // // When paginating, other parameters provided to - // [DataprocMetastore.ListBackups][google.cloud.metastore.v1.DataprocMetastore.ListBackups] must match the call that provided the - // page token. + // [DataprocMetastore.ListBackups][google.cloud.metastore.v1.DataprocMetastore.ListBackups] + // must match the call that provided the page token. string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; // Optional. The filter to apply to list results. @@ -1079,7 +1270,8 @@ message ListBackupsRequest { string order_by = 5 [(google.api.field_behavior) = OPTIONAL]; } -// Response message for [DataprocMetastore.ListBackups][google.cloud.metastore.v1.DataprocMetastore.ListBackups]. +// Response message for +// [DataprocMetastore.ListBackups][google.cloud.metastore.v1.DataprocMetastore.ListBackups]. message ListBackupsResponse { // The backups of the specified service. repeated Backup backups = 1; @@ -1092,7 +1284,8 @@ message ListBackupsResponse { repeated string unreachable = 3; } -// Request message for [DataprocMetastore.GetBackup][google.cloud.metastore.v1.DataprocMetastore.GetBackup]. +// Request message for +// [DataprocMetastore.GetBackup][google.cloud.metastore.v1.DataprocMetastore.GetBackup]. message GetBackupRequest { // Required. The relative resource name of the backup to retrieve, in the // following form: @@ -1106,10 +1299,11 @@ message GetBackupRequest { ]; } -// Request message for [DataprocMetastore.CreateBackup][google.cloud.metastore.v1.DataprocMetastore.CreateBackup]. +// Request message for +// [DataprocMetastore.CreateBackup][google.cloud.metastore.v1.DataprocMetastore.CreateBackup]. message CreateBackupRequest { - // Required. The relative resource name of the service in which to create a backup - // of the following form: + // Required. The relative resource name of the service in which to create a + // backup of the following form: // // `projects/{project_number}/locations/{location_id}/services/{service_id}`. string parent = 1 [ @@ -1127,14 +1321,14 @@ message CreateBackupRequest { // or hyphens. string backup_id = 2 [(google.api.field_behavior) = REQUIRED]; - // Required. The backup to create. The `name` field is ignored. The ID of the created - // backup must be provided in the request's `backup_id` field. + // Required. The backup to create. The `name` field is ignored. The ID of the + // created backup must be provided in the request's `backup_id` field. Backup backup = 3 [(google.api.field_behavior) = REQUIRED]; - // Optional. A request ID. Specify a unique request ID to allow the server to ignore the - // request if it has completed. The server will ignore subsequent requests - // that provide a duplicate request ID for at least 60 minutes after the first - // request. + // Optional. A request ID. Specify a unique request ID to allow the server to + // ignore the request if it has completed. The server will ignore subsequent + // requests that provide a duplicate request ID for at least 60 minutes after + // the first request. // // For example, if an initial request times out, followed by another request // with the same request ID, the server ignores the second request to prevent @@ -1146,7 +1340,8 @@ message CreateBackupRequest { string request_id = 4 [(google.api.field_behavior) = OPTIONAL]; } -// Request message for [DataprocMetastore.DeleteBackup][google.cloud.metastore.v1.DataprocMetastore.DeleteBackup]. +// Request message for +// [DataprocMetastore.DeleteBackup][google.cloud.metastore.v1.DataprocMetastore.DeleteBackup]. message DeleteBackupRequest { // Required. The relative resource name of the backup to delete, in the // following form: @@ -1159,10 +1354,10 @@ message DeleteBackupRequest { } ]; - // Optional. A request ID. Specify a unique request ID to allow the server to ignore the - // request if it has completed. The server will ignore subsequent requests - // that provide a duplicate request ID for at least 60 minutes after the first - // request. + // Optional. A request ID. Specify a unique request ID to allow the server to + // ignore the request if it has completed. The server will ignore subsequent + // requests that provide a duplicate request ID for at least 60 minutes after + // the first request. // // For example, if an initial request times out, followed by another request // with the same request ID, the server ignores the second request to prevent @@ -1174,7 +1369,8 @@ message DeleteBackupRequest { string request_id = 2 [(google.api.field_behavior) = OPTIONAL]; } -// Request message for [DataprocMetastore.ExportMetadata][google.cloud.metastore.v1.DataprocMetastore.ExportMetadata]. +// Request message for +// [DataprocMetastore.ExportMetadata][google.cloud.metastore.v1.DataprocMetastore.ExportMetadata]. message ExportMetadataRequest { // Required. Destination that metadata is exported to. oneof destination { @@ -1184,8 +1380,8 @@ message ExportMetadataRequest { string destination_gcs_folder = 2; } - // Required. The relative resource name of the metastore service to run export, in the - // following form: + // Required. The relative resource name of the metastore service to run + // export, in the following form: // // `projects/{project_id}/locations/{location_id}/services/{service_id}`. string service = 1 [ @@ -1195,10 +1391,10 @@ message ExportMetadataRequest { } ]; - // Optional. A request ID. Specify a unique request ID to allow the server to ignore the - // request if it has completed. The server will ignore subsequent requests - // that provide a duplicate request ID for at least 60 minutes after the first - // request. + // Optional. A request ID. Specify a unique request ID to allow the server to + // ignore the request if it has completed. The server will ignore subsequent + // requests that provide a duplicate request ID for at least 60 minutes after + // the first request. // // For example, if an initial request times out, followed by another request // with the same request ID, the server ignores the second request to prevent @@ -1209,14 +1405,16 @@ message ExportMetadataRequest { // A zero UUID (00000000-0000-0000-0000-000000000000) is not supported. string request_id = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. The type of the database dump. If unspecified, defaults to `MYSQL`. - DatabaseDumpSpec.Type database_dump_type = 4 [(google.api.field_behavior) = OPTIONAL]; + // Optional. The type of the database dump. If unspecified, defaults to + // `MYSQL`. + DatabaseDumpSpec.Type database_dump_type = 4 + [(google.api.field_behavior) = OPTIONAL]; } // Request message for [DataprocMetastore.Restore][]. message RestoreServiceRequest { - // Required. The relative resource name of the metastore service to run restore, in the - // following form: + // Required. The relative resource name of the metastore service to run + // restore, in the following form: // // `projects/{project_id}/locations/{location_id}/services/{service_id}`. string service = 1 [ @@ -1226,8 +1424,8 @@ message RestoreServiceRequest { } ]; - // Required. The relative resource name of the metastore service backup to restore - // from, in the following form: + // Required. The relative resource name of the metastore service backup to + // restore from, in the following form: // // `projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}`. string backup = 2 [ @@ -1240,10 +1438,10 @@ message RestoreServiceRequest { // Optional. The type of restore. If unspecified, defaults to `METADATA_ONLY`. Restore.RestoreType restore_type = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. A request ID. Specify a unique request ID to allow the server to ignore the - // request if it has completed. The server will ignore subsequent requests - // that provide a duplicate request ID for at least 60 minutes after the first - // request. + // Optional. A request ID. Specify a unique request ID to allow the server to + // ignore the request if it has completed. The server will ignore subsequent + // requests that provide a duplicate request ID for at least 60 minutes after + // the first request. // // For example, if an initial request times out, followed by another request // with the same request ID, the server ignores the second request to prevent @@ -1258,10 +1456,12 @@ message RestoreServiceRequest { // Represents the metadata of a long-running operation. message OperationMetadata { // Output only. The time the operation was created. - google.protobuf.Timestamp create_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time the operation finished running. - google.protobuf.Timestamp end_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp end_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Server-defined resource path for the target of the operation. string target = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -1274,8 +1474,9 @@ message OperationMetadata { // Output only. Identifies whether the caller has requested cancellation // of the operation. Operations that have successfully been cancelled - // have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, - // corresponding to `Code.CANCELLED`. + // have [Operation.error][] value with a + // [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to + // `Code.CANCELLED`. bool requested_cancellation = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. API version used to start the operation. @@ -1314,3 +1515,101 @@ message DatabaseDumpSpec { AVRO = 2; } } + +// Request message for +// [DataprocMetastore.QueryMetadata][google.cloud.metastore.v1.DataprocMetastore.QueryMetadata]. +message QueryMetadataRequest { + // Required. The relative resource name of the metastore service to query + // metadata, in the following format: + // + // `projects/{project_id}/locations/{location_id}/services/{service_id}`. + string service = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "metastore.googleapis.com/Service" + } + ]; + + // Required. A read-only SQL query to execute against the metadata database. + // The query cannot change or mutate the data. + string query = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// Response message for +// [DataprocMetastore.QueryMetadata][google.cloud.metastore.v1.DataprocMetastore.QueryMetadata]. +message QueryMetadataResponse { + // The manifest URI is link to a JSON instance in Cloud Storage. + // This instance manifests immediately along with QueryMetadataResponse. The + // content of the URI is not retriable until the long-running operation query + // against the metadata finishes. + string result_manifest_uri = 1; +} + +// Error details in public error message for +// [DataprocMetastore.QueryMetadata][google.cloud.metastore.v1.DataprocMetastore.QueryMetadata]. +message ErrorDetails { + // Additional structured details about this error. + // + // Keys define the failure items. + // Value describes the exception or details of the item. + map details = 1; +} + +// Request message for +// [DataprocMetastore.MoveTableToDatabase][google.cloud.metastore.v1.DataprocMetastore.MoveTableToDatabase]. +message MoveTableToDatabaseRequest { + // Required. The relative resource name of the metastore service to mutate + // metadata, in the following format: + // + // `projects/{project_id}/locations/{location_id}/services/{service_id}`. + string service = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "metastore.googleapis.com/Service" + } + ]; + + // Required. The name of the table to be moved. + string table_name = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The name of the database where the table resides. + string db_name = 3 [(google.api.field_behavior) = REQUIRED]; + + // Required. The name of the database where the table should be moved. + string destination_db_name = 4 [(google.api.field_behavior) = REQUIRED]; +} + +// Response message for +// [DataprocMetastore.MoveTableToDatabase][google.cloud.metastore.v1.DataprocMetastore.MoveTableToDatabase]. +message MoveTableToDatabaseResponse {} + +// Request message for +// [DataprocMetastore.AlterMetadataResourceLocation][google.cloud.metastore.v1.DataprocMetastore.AlterMetadataResourceLocation]. +message AlterMetadataResourceLocationRequest { + // Required. The relative resource name of the metastore service to mutate + // metadata, in the following format: + // + // `projects/{project_id}/locations/{location_id}/services/{service_id}`. + string service = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "metastore.googleapis.com/Service" + } + ]; + + // Required. The relative metadata resource name in the following format. + // + // `databases/{database_id}` + // or + // `databases/{database_id}/tables/{table_id}` + // or + // `databases/{database_id}/tables/{table_id}/partitions/{partition_id}` + string resource_name = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The new location URI for the metadata resource. + string location_uri = 3 [(google.api.field_behavior) = REQUIRED]; +} + +// Response message for +// [DataprocMetastore.AlterMetadataResourceLocation][google.cloud.metastore.v1.DataprocMetastore.AlterMetadataResourceLocation]. +message AlterMetadataResourceLocationResponse {} diff --git a/third_party/googleapis/google/cloud/metastore/v1/metastore_federation.proto b/third_party/googleapis/google/cloud/metastore/v1/metastore_federation.proto index 19fdce46e..dbe25125f 100644 --- a/third_party/googleapis/google/cloud/metastore/v1/metastore_federation.proto +++ b/third_party/googleapis/google/cloud/metastore/v1/metastore_federation.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,7 +20,9 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/cloud/metastore/v1/metastore.proto"; import "google/longrunning/operations.proto"; +import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; @@ -44,10 +46,12 @@ option java_package = "com.google.cloud.metastore.v1"; // `projects/{project_number}/locations/{location_id}/federations/{federation_id}`. service DataprocMetastoreFederation { option (google.api.default_host) = "metastore.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Lists federations in a project and location. - rpc ListFederations(ListFederationsRequest) returns (ListFederationsResponse) { + rpc ListFederations(ListFederationsRequest) + returns (ListFederationsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/federations" }; @@ -63,7 +67,8 @@ service DataprocMetastoreFederation { } // Creates a metastore federation in a project and location. - rpc CreateFederation(CreateFederationRequest) returns (google.longrunning.Operation) { + rpc CreateFederation(CreateFederationRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/federations" body: "federation" @@ -76,7 +81,8 @@ service DataprocMetastoreFederation { } // Updates the fields of a federation. - rpc UpdateFederation(UpdateFederationRequest) returns (google.longrunning.Operation) { + rpc UpdateFederation(UpdateFederationRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v1/{federation.name=projects/*/locations/*/federations/*}" body: "federation" @@ -89,7 +95,8 @@ service DataprocMetastoreFederation { } // Deletes a single federation. - rpc DeleteFederation(DeleteFederationRequest) returns (google.longrunning.Operation) { + rpc DeleteFederation(DeleteFederationRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/federations/*}" }; @@ -137,16 +144,18 @@ message Federation { string name = 1 [(google.api.field_behavior) = IMMUTABLE]; // Output only. The time when the metastore federation was created. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time when the metastore federation was last updated. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // User-defined labels for the metastore federation. map labels = 4; - // Immutable. The Apache Hive metastore version of the federation. All backend metastore - // versions must be compatible with the federation version. + // Immutable. The Apache Hive metastore version of the federation. All backend + // metastore versions must be compatible with the federation version. string version = 5 [(google.api.field_behavior) = IMMUTABLE]; // A map from `BackendMetastore` rank to `BackendMetastore`s from which the @@ -163,11 +172,12 @@ message Federation { // Output only. The current state of the federation. State state = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Additional information about the current state of the metastore federation, - // if available. + // Output only. Additional information about the current state of the + // metastore federation, if available. string state_message = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The globally unique resource identifier of the metastore federation. + // Output only. The globally unique resource identifier of the metastore + // federation. string uid = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; } @@ -178,6 +188,9 @@ message BackendMetastore { // The metastore type is not set. METASTORE_TYPE_UNSPECIFIED = 0; + // The backend metastore is BigQuery. + BIGQUERY = 2; + // The backend metastore is Dataproc Metastore. DATAPROC_METASTORE = 3; } @@ -186,12 +199,10 @@ message BackendMetastore { // The formats of the relative resource names for the currently supported // metastores are listed below: // - // * Dataplex - // * `projects/{project_id}/locations/{location}/lakes/{lake_id}` // * BigQuery - // * `projects/{project_id}` + // * `projects/{project_id}` // * Dataproc Metastore - // * `projects/{project_id}/locations/{location}/services/{service_id}` + // * `projects/{project_id}/locations/{location}/services/{service_id}` string name = 1; // The type of the backend metastore. @@ -200,8 +211,8 @@ message BackendMetastore { // Request message for ListFederations. message ListFederationsRequest { - // Required. The relative resource name of the location of metastore federations - // to list, in the following form: + // Required. The relative resource name of the location of metastore + // federations to list, in the following form: // `projects/{project_number}/locations/{location_id}`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, @@ -210,9 +221,10 @@ message ListFederationsRequest { } ]; - // Optional. The maximum number of federations to return. The response may contain less - // than the maximum number. If unspecified, no more than 500 services are - // returned. The maximum value is 1000; values above 1000 are changed to 1000. + // Optional. The maximum number of federations to return. The response may + // contain less than the maximum number. If unspecified, no more than 500 + // services are returned. The maximum value is 1000; values above 1000 are + // changed to 1000. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. A page token, received from a previous ListFederationServices @@ -249,8 +261,8 @@ message ListFederationsResponse { // Request message for GetFederation. message GetFederationRequest { - // Required. The relative resource name of the metastore federation to retrieve, - // in the following form: + // Required. The relative resource name of the metastore federation to + // retrieve, in the following form: // // `projects/{project_number}/locations/{location_id}/federations/{federation_id}`. string name = 1 [ @@ -263,8 +275,8 @@ message GetFederationRequest { // Request message for CreateFederation. message CreateFederationRequest { - // Required. The relative resource name of the location in which to create a federation - // service, in the following form: + // Required. The relative resource name of the location in which to create a + // federation service, in the following form: // // `projects/{project_number}/locations/{location_id}`. string parent = 1 [ @@ -287,10 +299,10 @@ message CreateFederationRequest { // provided in the request's `federation_id` field. Federation federation = 3 [(google.api.field_behavior) = REQUIRED]; - // Optional. A request ID. Specify a unique request ID to allow the server to ignore the - // request if it has completed. The server will ignore subsequent requests - // that provide a duplicate request ID for at least 60 minutes after the first - // request. + // Optional. A request ID. Specify a unique request ID to allow the server to + // ignore the request if it has completed. The server will ignore subsequent + // requests that provide a duplicate request ID for at least 60 minutes after + // the first request. // // For example, if an initial request times out, followed by another request // with the same request ID, the server ignores the second request to prevent @@ -308,7 +320,8 @@ message UpdateFederationRequest { // metastore federation resource by the update. // Fields specified in the `update_mask` are relative to the resource (not // to the full request). A field is overwritten if it is in the mask. - google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = REQUIRED]; + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = REQUIRED]; // Required. The metastore federation to update. The server only merges fields // in the service if they are specified in `update_mask`. @@ -317,10 +330,10 @@ message UpdateFederationRequest { // metastore service to be updated. Federation federation = 2 [(google.api.field_behavior) = REQUIRED]; - // Optional. A request ID. Specify a unique request ID to allow the server to ignore the - // request if it has completed. The server will ignore subsequent requests - // that provide a duplicate request ID for at least 60 minutes after the first - // request. + // Optional. A request ID. Specify a unique request ID to allow the server to + // ignore the request if it has completed. The server will ignore subsequent + // requests that provide a duplicate request ID for at least 60 minutes after + // the first request. // // For example, if an initial request times out, followed by another request // with the same request ID, the server ignores the second request to prevent @@ -345,10 +358,10 @@ message DeleteFederationRequest { } ]; - // Optional. A request ID. Specify a unique request ID to allow the server to ignore the - // request if it has completed. The server will ignore subsequent requests - // that provide a duplicate request ID for at least 60 minutes after the first - // request. + // Optional. A request ID. Specify a unique request ID to allow the server to + // ignore the request if it has completed. The server will ignore subsequent + // requests that provide a duplicate request ID for at least 60 minutes after + // the first request. // // For example, if an initial request times out, followed by another request // with the same request ID, the server ignores the second request to prevent diff --git a/third_party/googleapis/google/cloud/metastore/v1/metastore_v1.yaml b/third_party/googleapis/google/cloud/metastore/v1/metastore_v1.yaml index e64ac48fb..443edcbab 100644 --- a/third_party/googleapis/google/cloud/metastore/v1/metastore_v1.yaml +++ b/third_party/googleapis/google/cloud/metastore/v1/metastore_v1.yaml @@ -11,8 +11,12 @@ apis: - name: google.longrunning.Operations types: +- name: google.cloud.metastore.v1.AlterMetadataResourceLocationResponse +- name: google.cloud.metastore.v1.ErrorDetails - name: google.cloud.metastore.v1.LocationMetadata +- name: google.cloud.metastore.v1.MoveTableToDatabaseResponse - name: google.cloud.metastore.v1.OperationMetadata +- name: google.cloud.metastore.v1.QueryMetadataResponse documentation: summary: |- @@ -88,6 +92,9 @@ http: additional_bindings: - post: '/v1/{resource=projects/*/locations/*/federations/*}:testIamPermissions' body: '*' + - selector: google.longrunning.Operations.CancelOperation + post: '/v1/{name=projects/*/locations/*/operations/*}:cancel' + body: '*' - selector: google.longrunning.Operations.DeleteOperation delete: '/v1/{name=projects/*/locations/*/operations/*}' - selector: google.longrunning.Operations.GetOperation diff --git a/third_party/googleapis/google/cloud/metastore/v1alpha/BUILD.bazel b/third_party/googleapis/google/cloud/metastore/v1alpha/BUILD.bazel index f5688005a..1be1ab169 100644 --- a/third_party/googleapis/google/cloud/metastore/v1alpha/BUILD.bazel +++ b/third_party/googleapis/google/cloud/metastore/v1alpha/BUILD.bazel @@ -43,6 +43,8 @@ proto_library_with_info( deps = [ ":metastore_proto", "//google/cloud:common_resources_proto", + "//google/cloud/location:location_proto", + "//google/iam/v1:iam_policy_proto", ], ) @@ -77,12 +79,16 @@ java_gapic_library( rest_numeric_enums = True, service_yaml = "metastore_v1alpha.yaml", test_deps = [ + "//google/cloud/location:location_java_grpc", + "//google/iam/v1:iam_java_grpc", ":metastore_java_grpc", ], transport = "grpc+rest", deps = [ ":metastore_java_proto", "//google/api:api_java_proto", + "//google/cloud/location:location_java_proto", + "//google/iam/v1:iam_java_proto", ], ) @@ -91,6 +97,8 @@ java_gapic_test( test_classes = [ "com.google.cloud.metastore.v1alpha.DataprocMetastoreClientHttpJsonTest", "com.google.cloud.metastore.v1alpha.DataprocMetastoreClientTest", + "com.google.cloud.metastore.v1alpha.DataprocMetastoreFederationClientHttpJsonTest", + "com.google.cloud.metastore.v1alpha.DataprocMetastoreFederationClientTest", ], runtime_deps = [":metastore_java_gapic_test"], ) @@ -116,7 +124,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -151,19 +158,13 @@ go_gapic_library( ], ) -go_test( - name = "metastore_go_gapic_test", - srcs = [":metastore_go_gapic_srcjar_test"], - embed = [":metastore_go_gapic"], - importpath = "cloud.google.com/go/metastore/apiv1alpha", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-metastore-v1alpha-go", deps = [ ":metastore_go_gapic", ":metastore_go_gapic_srcjar-metadata.srcjar", + ":metastore_go_gapic_srcjar-snippets.srcjar", ":metastore_go_gapic_srcjar-test.srcjar", ":metastore_go_proto", ], @@ -183,13 +184,13 @@ py_gapic_library( name = "metastore_py_gapic", srcs = [":metastore_proto"], grpc_service_config = "metastore_grpc_service_config.json", - opt_args = [ - "warehouse-package-name=google-cloud-dataproc-metastore", - ], + opt_args = ["warehouse-package-name=google-cloud-dataproc-metastore"], rest_numeric_enums = True, service_yaml = "metastore_v1alpha.yaml", transport = "grpc+rest", - deps = ["//google/iam/v1:iam_policy_py_proto",] + deps = [ + "//google/iam/v1:iam_policy_py_proto", + ], ) py_test( @@ -217,7 +218,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -226,21 +226,15 @@ php_proto_library( deps = [":metastore_proto"], ) -php_grpc_library( - name = "metastore_php_grpc", - srcs = [":metastore_proto"], - deps = [":metastore_php_proto"], -) - php_gapic_library( name = "metastore_php_gapic", srcs = [":metastore_proto_with_info"], grpc_service_config = "metastore_grpc_service_config.json", + migration_mode = "PRE_MIGRATION_SURFACE_ONLY", rest_numeric_enums = True, service_yaml = "metastore_v1alpha.yaml", transport = "grpc+rest", deps = [ - ":metastore_php_grpc", ":metastore_php_proto", ], ) @@ -250,7 +244,6 @@ php_gapic_assembly_pkg( name = "google-cloud-metastore-v1alpha-php", deps = [ ":metastore_php_gapic", - ":metastore_php_grpc", ":metastore_php_proto", ], ) @@ -314,6 +307,7 @@ ruby_cloud_gapic_library( grpc_service_config = "metastore_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "metastore_v1alpha.yaml", + transport = "grpc+rest", deps = [ ":metastore_ruby_grpc", ":metastore_ruby_proto", diff --git a/third_party/googleapis/google/cloud/metastore/v1alpha/metastore.proto b/third_party/googleapis/google/cloud/metastore/v1alpha/metastore.proto index 05621431e..5e34b62b3 100644 --- a/third_party/googleapis/google/cloud/metastore/v1alpha/metastore.proto +++ b/third_party/googleapis/google/cloud/metastore/v1alpha/metastore.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,6 +21,7 @@ import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/longrunning/operations.proto"; +import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; import "google/protobuf/wrappers.proto"; @@ -461,6 +462,9 @@ message Service { // The configuration specifying telemetry settings for the Dataproc Metastore // service. If unspecified defaults to `JSON`. TelemetryConfig telemetry_config = 23; + + // Scaling configuration of the metastore service. + ScalingConfig scaling_config = 24; } // Specifies how metastore metadata should be integrated with external services. @@ -612,8 +616,12 @@ message AuxiliaryVersionConfig { } // Network configuration for the Dataproc Metastore service. +// +// Next available ID: 4 message NetworkConfig { // Contains information of the customer's network configurations. + // + // Next available ID: 5 message Consumer { oneof vpc_resource { // Immutable. The subnetwork of the customer project from which an IP @@ -635,11 +643,24 @@ message NetworkConfig { // Output only. The URI of the endpoint used to access the metastore // service. string endpoint_uri = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The location of the endpoint URI. Format: + // `projects/{project}/locations/{location}`. + string endpoint_location = 4 [ + (google.api.field_behavior) = OUTPUT_ONLY, + (google.api.resource_reference) = { + type: "locations.googleapis.com/Location" + } + ]; } // Immutable. The consumer-side network configuration for the Dataproc // Metastore instance. repeated Consumer consumers = 1 [(google.api.field_behavior) = IMMUTABLE]; + + // Enables custom routes to be imported and exported for the Dataproc + // Metastore service's peered VPC network. + bool custom_routes_enabled = 2; } // Telemetry Configuration for the Dataproc Metastore service. @@ -913,6 +934,42 @@ message Restore { string details = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; } +// Represents the scaling configuration of a metastore service. +message ScalingConfig { + // Metastore instance sizes. + enum InstanceSize { + // Unspecified instance size + INSTANCE_SIZE_UNSPECIFIED = 0; + + // Extra small instance size, maps to a scaling factor of 0.1. + EXTRA_SMALL = 1; + + // Small instance size, maps to a scaling factor of 0.5. + SMALL = 2; + + // Medium instance size, maps to a scaling factor of 1.0. + MEDIUM = 3; + + // Large instance size, maps to a scaling factor of 3.0. + LARGE = 4; + + // Extra large instance size, maps to a scaling factor of 6.0. + EXTRA_LARGE = 5; + } + + // Represents either a predetermined instance size or a numeric + // scaling factor. + oneof scaling_model { + // An enum of readable instance sizes, with each instance size mapping to a + // float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1)) + InstanceSize instance_size = 1; + + // Scaling factor, increments of 0.1 for values less than 1.0, and + // increments of 1.0 for values greater than 1.0. + float scaling_factor = 2; + } +} + // Request message for // [DataprocMetastore.ListServices][google.cloud.metastore.v1alpha.DataprocMetastore.ListServices]. message ListServicesRequest { @@ -1567,6 +1624,16 @@ message QueryMetadataResponse { string result_manifest_uri = 1; } +// Error details in public error message for +// [DataprocMetastore.QueryMetadata][google.cloud.metastore.v1alpha.DataprocMetastore.QueryMetadata]. +message ErrorDetails { + // Additional structured details about this error. + // + // Keys define the failure items. + // Value describes the exception or details of the item. + map details = 1; +} + // Request message for // [DataprocMetastore.MoveTableToDatabase][google.cloud.metastore.v1alpha.DataprocMetastore.MoveTableToDatabase]. message MoveTableToDatabaseRequest { diff --git a/third_party/googleapis/google/cloud/metastore/v1alpha/metastore_federation.proto b/third_party/googleapis/google/cloud/metastore/v1alpha/metastore_federation.proto index 7ad2f9c18..bdb1ecb37 100644 --- a/third_party/googleapis/google/cloud/metastore/v1alpha/metastore_federation.proto +++ b/third_party/googleapis/google/cloud/metastore/v1alpha/metastore_federation.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,7 +20,9 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/cloud/metastore/v1alpha/metastore.proto"; import "google/longrunning/operations.proto"; +import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; @@ -186,6 +188,9 @@ message BackendMetastore { // The metastore type is not set. METASTORE_TYPE_UNSPECIFIED = 0; + // The backend metastore is Dataplex. + DATAPLEX = 1; + // The backend metastore is BigQuery. BIGQUERY = 2; @@ -197,12 +202,10 @@ message BackendMetastore { // The formats of the relative resource names for the currently supported // metastores are listed below: // - // * Dataplex - // * `projects/{project_id}/locations/{location}/lakes/{lake_id}` // * BigQuery - // * `projects/{project_id}` + // * `projects/{project_id}` // * Dataproc Metastore - // * `projects/{project_id}/locations/{location}/services/{service_id}` + // * `projects/{project_id}/locations/{location}/services/{service_id}` string name = 1; // The type of the backend metastore. diff --git a/third_party/googleapis/google/cloud/metastore/v1alpha/metastore_v1alpha.yaml b/third_party/googleapis/google/cloud/metastore/v1alpha/metastore_v1alpha.yaml index d68acdb7c..cc35d3712 100644 --- a/third_party/googleapis/google/cloud/metastore/v1alpha/metastore_v1alpha.yaml +++ b/third_party/googleapis/google/cloud/metastore/v1alpha/metastore_v1alpha.yaml @@ -12,6 +12,7 @@ apis: types: - name: google.cloud.metastore.v1alpha.AlterMetadataResourceLocationResponse +- name: google.cloud.metastore.v1alpha.ErrorDetails - name: google.cloud.metastore.v1alpha.LocationMetadata - name: google.cloud.metastore.v1alpha.MoveTableToDatabaseResponse - name: google.cloud.metastore.v1alpha.OperationMetadata @@ -103,6 +104,9 @@ http: body: '*' - post: '/v1alpha/{resource=projects/*/locations/*/federations/*}:testIamPermissions' body: '*' + - selector: google.longrunning.Operations.CancelOperation + post: '/v1alpha/{name=projects/*/locations/*/operations/*}:cancel' + body: '*' - selector: google.longrunning.Operations.DeleteOperation delete: '/v1alpha/{name=projects/*/locations/*/operations/*}' - selector: google.longrunning.Operations.GetOperation diff --git a/third_party/googleapis/google/cloud/metastore/v1beta/BUILD.bazel b/third_party/googleapis/google/cloud/metastore/v1beta/BUILD.bazel index 1291ba100..e17e97221 100644 --- a/third_party/googleapis/google/cloud/metastore/v1beta/BUILD.bazel +++ b/third_party/googleapis/google/cloud/metastore/v1beta/BUILD.bazel @@ -43,6 +43,8 @@ proto_library_with_info( deps = [ ":metastore_proto", "//google/cloud:common_resources_proto", + "//google/cloud/location:location_proto", + "//google/iam/v1:iam_policy_proto", ], ) @@ -75,12 +77,18 @@ java_gapic_library( gapic_yaml = "metastore_gapic.yaml", grpc_service_config = "metastore_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "metastore_v1beta.yaml", test_deps = [ + "//google/cloud/location:location_java_grpc", + "//google/iam/v1:iam_java_grpc", ":metastore_java_grpc", ], transport = "grpc+rest", deps = [ ":metastore_java_proto", + "//google/api:api_java_proto", + "//google/cloud/location:location_java_proto", + "//google/iam/v1:iam_java_proto", ], ) @@ -89,6 +97,8 @@ java_gapic_test( test_classes = [ "com.google.cloud.metastore.v1beta.DataprocMetastoreClientHttpJsonTest", "com.google.cloud.metastore.v1beta.DataprocMetastoreClientTest", + "com.google.cloud.metastore.v1beta.DataprocMetastoreFederationClientHttpJsonTest", + "com.google.cloud.metastore.v1beta.DataprocMetastoreFederationClientTest", ], runtime_deps = [":metastore_java_gapic_test"], ) @@ -114,7 +124,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -149,19 +158,13 @@ go_gapic_library( ], ) -go_test( - name = "metastore_go_gapic_test", - srcs = [":metastore_go_gapic_srcjar_test"], - embed = [":metastore_go_gapic"], - importpath = "cloud.google.com/go/metastore/apiv1beta", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-metastore-v1beta-go", deps = [ ":metastore_go_gapic", ":metastore_go_gapic_srcjar-metadata.srcjar", + ":metastore_go_gapic_srcjar-snippets.srcjar", ":metastore_go_gapic_srcjar-test.srcjar", ":metastore_go_proto", ], @@ -181,13 +184,13 @@ py_gapic_library( name = "metastore_py_gapic", srcs = [":metastore_proto"], grpc_service_config = "metastore_grpc_service_config.json", - opt_args = [ - "warehouse-package-name=google-cloud-dataproc-metastore", - ], + opt_args = ["warehouse-package-name=google-cloud-dataproc-metastore"], rest_numeric_enums = True, service_yaml = "metastore_v1beta.yaml", transport = "grpc+rest", - deps = ["//google/iam/v1:iam_policy_py_proto",] + deps = [ + "//google/iam/v1:iam_policy_py_proto", + ], ) py_test( @@ -215,7 +218,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -224,22 +226,15 @@ php_proto_library( deps = [":metastore_proto"], ) -php_grpc_library( - name = "metastore_php_grpc", - srcs = [":metastore_proto"], - deps = [":metastore_php_proto"], -) - php_gapic_library( name = "metastore_php_gapic", srcs = [":metastore_proto_with_info"], - gapic_yaml = "metastore_gapic.yaml", grpc_service_config = "metastore_grpc_service_config.json", + migration_mode = "PRE_MIGRATION_SURFACE_ONLY", rest_numeric_enums = True, service_yaml = "metastore_v1beta.yaml", transport = "grpc+rest", deps = [ - ":metastore_php_grpc", ":metastore_php_proto", ], ) @@ -249,7 +244,6 @@ php_gapic_assembly_pkg( name = "google-cloud-metastore-v1beta-php", deps = [ ":metastore_php_gapic", - ":metastore_php_grpc", ":metastore_php_proto", ], ) @@ -310,17 +304,18 @@ ruby_cloud_gapic_library( name = "metastore_ruby_gapic", srcs = [":metastore_proto_with_info"], extra_protoc_parameters = [ - "ruby-cloud-gem-name=google-cloud-metastore-v1beta", - "ruby-cloud-env-prefix=METASTORE", - "ruby-cloud-product-url=https://cloud.google.com/dataproc-metastore/", "ruby-cloud-api-id=metastore.googleapis.com", "ruby-cloud-api-shortname=metastore", + "ruby-cloud-env-prefix=METASTORE", + "ruby-cloud-gem-name=google-cloud-metastore-v1beta", + "ruby-cloud-product-url=https://cloud.google.com/dataproc-metastore/", ], grpc_service_config = "metastore_grpc_service_config.json", rest_numeric_enums = True, ruby_cloud_description = "Dataproc Metastore is a fully managed, highly available within a region, autohealing serverless Apache Hive metastore (HMS) on Google Cloud for data analytics products. It supports HMS and serves as a critical component for managing the metadata of relational entities and provides interoperability between data processing applications in the open source data ecosystem.", ruby_cloud_title = "Dataproc Metastore V1beta", service_yaml = "metastore_v1beta.yaml", + transport = "grpc+rest", deps = [ ":metastore_ruby_grpc", ":metastore_ruby_proto", @@ -386,4 +381,20 @@ csharp_gapic_assembly_pkg( ############################################################################## # C++ ############################################################################## -# Put your C++ rules here +load( + "@com_google_googleapis_imports//:imports.bzl", + "cc_grpc_library", + "cc_proto_library", +) + +cc_proto_library( + name = "metastore_cc_proto", + deps = [":metastore_proto"], +) + +cc_grpc_library( + name = "metastore_cc_grpc", + srcs = [":metastore_proto"], + grpc_only = True, + deps = [":metastore_cc_proto"], +) diff --git a/third_party/googleapis/google/cloud/metastore/v1beta/metastore.proto b/third_party/googleapis/google/cloud/metastore/v1beta/metastore.proto index 0cb4edd95..8dea7353d 100644 --- a/third_party/googleapis/google/cloud/metastore/v1beta/metastore.proto +++ b/third_party/googleapis/google/cloud/metastore/v1beta/metastore.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,6 +21,7 @@ import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/longrunning/operations.proto"; +import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; import "google/protobuf/wrappers.proto"; @@ -461,6 +462,9 @@ message Service { // The configuration specifying telemetry settings for the Dataproc Metastore // service. If unspecified defaults to `JSON`. TelemetryConfig telemetry_config = 23; + + // Scaling configuration of the metastore service. + ScalingConfig scaling_config = 24; } // Specifies how metastore metadata should be integrated with external services. @@ -612,8 +616,12 @@ message AuxiliaryVersionConfig { } // Network configuration for the Dataproc Metastore service. +// +// Next available ID: 4 message NetworkConfig { // Contains information of the customer's network configurations. + // + // Next available ID: 5 message Consumer { oneof vpc_resource { // Immutable. The subnetwork of the customer project from which an IP @@ -635,11 +643,24 @@ message NetworkConfig { // Output only. The URI of the endpoint used to access the metastore // service. string endpoint_uri = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The location of the endpoint URI. Format: + // `projects/{project}/locations/{location}`. + string endpoint_location = 4 [ + (google.api.field_behavior) = OUTPUT_ONLY, + (google.api.resource_reference) = { + type: "locations.googleapis.com/Location" + } + ]; } // Immutable. The consumer-side network configuration for the Dataproc // Metastore instance. repeated Consumer consumers = 1 [(google.api.field_behavior) = IMMUTABLE]; + + // Enables custom routes to be imported and exported for the Dataproc + // Metastore service's peered VPC network. + bool custom_routes_enabled = 2; } // Telemetry Configuration for the Dataproc Metastore service. @@ -913,6 +934,42 @@ message Restore { string details = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; } +// Represents the scaling configuration of a metastore service. +message ScalingConfig { + // Metastore instance sizes. + enum InstanceSize { + // Unspecified instance size + INSTANCE_SIZE_UNSPECIFIED = 0; + + // Extra small instance size, maps to a scaling factor of 0.1. + EXTRA_SMALL = 1; + + // Small instance size, maps to a scaling factor of 0.5. + SMALL = 2; + + // Medium instance size, maps to a scaling factor of 1.0. + MEDIUM = 3; + + // Large instance size, maps to a scaling factor of 3.0. + LARGE = 4; + + // Extra large instance size, maps to a scaling factor of 6.0. + EXTRA_LARGE = 5; + } + + // Represents either a predetermined instance size or a numeric + // scaling factor. + oneof scaling_model { + // An enum of readable instance sizes, with each instance size mapping to a + // float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1)) + InstanceSize instance_size = 1; + + // Scaling factor, increments of 0.1 for values less than 1.0, and + // increments of 1.0 for values greater than 1.0. + float scaling_factor = 2; + } +} + // Request message for // [DataprocMetastore.ListServices][google.cloud.metastore.v1beta.DataprocMetastore.ListServices]. message ListServicesRequest { @@ -1567,6 +1624,16 @@ message QueryMetadataResponse { string result_manifest_uri = 1; } +// Error details in public error message for +// [DataprocMetastore.QueryMetadata][google.cloud.metastore.v1beta.DataprocMetastore.QueryMetadata]. +message ErrorDetails { + // Additional structured details about this error. + // + // Keys define the failure items. + // Value describes the exception or details of the item. + map details = 1; +} + // Request message for // [DataprocMetastore.MoveTableToDatabase][google.cloud.metastore.v1beta.DataprocMetastore.MoveTableToDatabase]. message MoveTableToDatabaseRequest { diff --git a/third_party/googleapis/google/cloud/metastore/v1beta/metastore_federation.proto b/third_party/googleapis/google/cloud/metastore/v1beta/metastore_federation.proto index 5929dd0b6..26bc70e7c 100644 --- a/third_party/googleapis/google/cloud/metastore/v1beta/metastore_federation.proto +++ b/third_party/googleapis/google/cloud/metastore/v1beta/metastore_federation.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,7 +20,9 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/cloud/metastore/v1beta/metastore.proto"; import "google/longrunning/operations.proto"; +import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; @@ -186,6 +188,9 @@ message BackendMetastore { // The metastore type is not set. METASTORE_TYPE_UNSPECIFIED = 0; + // The backend metastore is Dataplex. + DATAPLEX = 1; + // The backend metastore is BigQuery. BIGQUERY = 2; @@ -197,12 +202,10 @@ message BackendMetastore { // The formats of the relative resource names for the currently supported // metastores are listed below: // - // * Dataplex - // * `projects/{project_id}/locations/{location}/lakes/{lake_id}` // * BigQuery - // * `projects/{project_id}` + // * `projects/{project_id}` // * Dataproc Metastore - // * `projects/{project_id}/locations/{location}/services/{service_id}` + // * `projects/{project_id}/locations/{location}/services/{service_id}` string name = 1; // The type of the backend metastore. diff --git a/third_party/googleapis/google/cloud/metastore/v1beta/metastore_v1beta.yaml b/third_party/googleapis/google/cloud/metastore/v1beta/metastore_v1beta.yaml index 42570bd7e..4308d1f6d 100644 --- a/third_party/googleapis/google/cloud/metastore/v1beta/metastore_v1beta.yaml +++ b/third_party/googleapis/google/cloud/metastore/v1beta/metastore_v1beta.yaml @@ -12,6 +12,7 @@ apis: types: - name: google.cloud.metastore.v1beta.AlterMetadataResourceLocationResponse +- name: google.cloud.metastore.v1beta.ErrorDetails - name: google.cloud.metastore.v1beta.LocationMetadata - name: google.cloud.metastore.v1beta.MoveTableToDatabaseResponse - name: google.cloud.metastore.v1beta.OperationMetadata @@ -103,6 +104,9 @@ http: body: '*' - post: '/v1beta/{resource=projects/*/locations/*/federations/*}:testIamPermissions' body: '*' + - selector: google.longrunning.Operations.CancelOperation + post: '/v1beta/{name=projects/*/locations/*/operations/*}:cancel' + body: '*' - selector: google.longrunning.Operations.DeleteOperation delete: '/v1beta/{name=projects/*/locations/*/operations/*}' - selector: google.longrunning.Operations.GetOperation diff --git a/third_party/googleapis/google/cloud/netapp/v1/BUILD.bazel b/third_party/googleapis/google/cloud/netapp/v1/BUILD.bazel index 3373d2379..ca4a1c4f5 100644 --- a/third_party/googleapis/google/cloud/netapp/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/netapp/v1/BUILD.bazel @@ -79,19 +79,12 @@ java_grpc_library( ) java_gapic_library( -<<<<<<< HEAD:third_party/googleapis/google/cloud/gaming/v1/BUILD.bazel - name = "gaming_java_gapic", - srcs = [":gaming_proto_with_info"], - grpc_service_config = "gaming_grpc_service_config.json", - rest_numeric_enums = True, -======= name = "netapp_java_gapic", srcs = [":netapp_proto_with_info"], gapic_yaml = None, grpc_service_config = "netapp_v1_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "netapp_v1.yaml", ->>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/cloud/netapp/v1/BUILD.bazel test_deps = [ ":netapp_java_grpc", "//google/cloud/location:location_java_grpc", @@ -139,13 +132,8 @@ load( go_proto_library( name = "netapp_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], -<<<<<<< HEAD:third_party/googleapis/google/cloud/gaming/v1/BUILD.bazel - importpath = "cloud.google.com/go/gaming/apiv1/gamingpb", - protos = [":gaming_proto"], -======= importpath = "cloud.google.com/go/netapp/apiv1/netapppb", protos = [":netapp_proto"], ->>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/cloud/netapp/v1/BUILD.bazel deps = [ "//google/api:annotations_go_proto", "//google/longrunning:longrunning_go_proto", @@ -153,16 +141,6 @@ go_proto_library( ) go_gapic_library( -<<<<<<< HEAD:third_party/googleapis/google/cloud/gaming/v1/BUILD.bazel - name = "gaming_go_gapic", - srcs = [":gaming_proto_with_info"], - grpc_service_config = "gaming_grpc_service_config.json", - importpath = "cloud.google.com/go/gaming/apiv1;gaming", - metadata = True, - release_level = "ga", - rest_numeric_enums = True, - service_yaml = "gameservices_v1.yaml", -======= name = "netapp_go_gapic", srcs = [":netapp_proto_with_info"], grpc_service_config = "netapp_v1_grpc_service_config.json", @@ -171,7 +149,6 @@ go_gapic_library( release_level = "beta", rest_numeric_enums = True, service_yaml = "netapp_v1.yaml", ->>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/cloud/netapp/v1/BUILD.bazel transport = "grpc+rest", deps = [ ":netapp_go_proto", @@ -214,12 +191,6 @@ py_gapic_library( transport = "grpc+rest", deps = [ ], -<<<<<<< HEAD:third_party/googleapis/google/cloud/gaming/v1/BUILD.bazel - rest_numeric_enums = True, - service_yaml = "gameservices_v1.yaml", - transport = "grpc+rest", -======= ->>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/cloud/netapp/v1/BUILD.bazel ) py_test( @@ -256,20 +227,12 @@ php_proto_library( ) php_gapic_library( -<<<<<<< HEAD:third_party/googleapis/google/cloud/gaming/v1/BUILD.bazel - name = "gaming_php_gapic", - srcs = [":gaming_proto_with_info"], - grpc_service_config = "gaming_grpc_service_config.json", - rest_numeric_enums = True, - service_yaml = "gameservices_v1.yaml", -======= name = "netapp_php_gapic", srcs = [":netapp_proto_with_info"], grpc_service_config = "netapp_v1_grpc_service_config.json", migration_mode = "NEW_SURFACE_ONLY", rest_numeric_enums = True, service_yaml = "netapp_v1.yaml", ->>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/cloud/netapp/v1/BUILD.bazel transport = "grpc+rest", deps = [ ":netapp_php_proto", @@ -299,17 +262,10 @@ nodejs_gapic_library( package_name = "@google-cloud/netapp", src = ":netapp_proto_with_info", extra_protoc_parameters = ["metadata"], -<<<<<<< HEAD:third_party/googleapis/google/cloud/gaming/v1/BUILD.bazel - grpc_service_config = "gaming_grpc_service_config.json", - package = "google.cloud.gaming.v1", - rest_numeric_enums = True, - service_yaml = "gameservices_v1.yaml", -======= grpc_service_config = "netapp_v1_grpc_service_config.json", package = "google.cloud.netapp.v1", rest_numeric_enums = True, service_yaml = "netapp_v1.yaml", ->>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/cloud/netapp/v1/BUILD.bazel transport = "grpc+rest", deps = [], ) @@ -352,18 +308,10 @@ ruby_cloud_gapic_library( "ruby-cloud-path-override=net_app=netapp", "ruby-cloud-gem-name=google-cloud-netapp-v1", ], -<<<<<<< HEAD:third_party/googleapis/google/cloud/gaming/v1/BUILD.bazel - grpc_service_config = "gaming_grpc_service_config.json", - rest_numeric_enums = True, - ruby_cloud_description = "With Game Servers, studios and publishers can deploy and manage their game server infrastructure hosted on multiple Agones clusters around the world through a single interface.", - ruby_cloud_title = "Cloud Gaming V1", - service_yaml = "gameservices_v1.yaml", -======= grpc_service_config = "netapp_v1_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "netapp_v1.yaml", transport = "grpc+rest", ->>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/cloud/netapp/v1/BUILD.bazel deps = [ ":netapp_ruby_grpc", ":netapp_ruby_proto", @@ -406,16 +354,9 @@ csharp_gapic_library( name = "netapp_csharp_gapic", srcs = [":netapp_proto_with_info"], common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -<<<<<<< HEAD:third_party/googleapis/google/cloud/gaming/v1/BUILD.bazel - grpc_service_config = "gaming_grpc_service_config.json", - rest_numeric_enums = True, - service_yaml = "gameservices_v1.yaml", - transport = "grpc+rest", -======= grpc_service_config = "netapp_v1_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "netapp_v1.yaml", ->>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/cloud/netapp/v1/BUILD.bazel deps = [ ":netapp_csharp_grpc", ":netapp_csharp_proto", diff --git a/third_party/googleapis/google/cloud/networkanalyzer/logging/v1/BUILD.bazel b/third_party/googleapis/google/cloud/networkanalyzer/logging/v1/BUILD.bazel index 14cbabd32..fb205ca87 100644 --- a/third_party/googleapis/google/cloud/networkanalyzer/logging/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/networkanalyzer/logging/v1/BUILD.bazel @@ -23,8 +23,8 @@ proto_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "java_grpc_library", "java_proto_library", + "java_gapic_assembly_gradle_pkg", ) java_proto_library( @@ -32,10 +32,13 @@ java_proto_library( deps = [":logging_proto"], ) -java_grpc_library( - name = "logging_java_grpc", - srcs = [":logging_proto"], - deps = [":logging_java_proto"], +# Open Source Packages +java_gapic_assembly_gradle_pkg( + name = "google-cloud-networkanalyzer-logging-v1-java", + deps = [ + ":logging_proto", + ":logging_java_proto", + ], ) ############################################################################## @@ -44,6 +47,7 @@ java_grpc_library( load( "@com_google_googleapis_imports//:imports.bzl", "go_proto_library", + "go_gapic_assembly_pkg", ) go_proto_library( @@ -51,7 +55,13 @@ go_proto_library( compilers = ["@io_bazel_rules_go//proto:go_grpc"], importpath = "cloud.google.com/go/networkanalyzer/logging/apiv1/loggingpb", protos = [":logging_proto"], + deps = [], +) + +go_gapic_assembly_pkg( + name = "google-cloud-networkanalyzer-logging-v1-go", deps = [ + ":logging_go_proto", ], ) @@ -63,6 +73,8 @@ load( "moved_proto_library", "py_grpc_library", "py_proto_library", + "py_gapic_library", + "py_gapic_assembly_pkg", ) moved_proto_library( @@ -84,12 +96,27 @@ py_grpc_library( deps = [":logging_py_proto"], ) +py_gapic_library( + name = "logging_py_gapic", + srcs = [":logging_proto"], + rest_numeric_enums = False, + transport = "grpc+rest", +) + +# Open Source Packages +py_gapic_assembly_pkg( + name = "google-cloud-networkanalyzer-logging-v1-py", + deps = [ + ":logging_py_gapic", + ], +) + ############################################################################## # PHP ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", + "php_gapic_assembly_pkg", "php_proto_library", ) @@ -98,22 +125,13 @@ php_proto_library( deps = [":logging_proto"], ) -php_grpc_library( - name = "logging_php_grpc", - srcs = [":logging_proto"], - deps = [":logging_php_proto"], -) - -############################################################################## -# Node.js -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", +php_gapic_assembly_pkg( + name = "google-cloud-networkanalyzer-logging-v1-php", + deps = [ + ":logging_php_proto", + ], ) - ############################################################################## # Ruby ############################################################################## @@ -139,8 +157,8 @@ ruby_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "csharp_grpc_library", "csharp_proto_library", + "csharp_gapic_assembly_pkg", ) csharp_proto_library( @@ -148,10 +166,14 @@ csharp_proto_library( deps = [":logging_proto"], ) -csharp_grpc_library( - name = "logging_csharp_grpc", - srcs = [":logging_proto"], - deps = [":logging_csharp_proto"], +# Open Source Packages +csharp_gapic_assembly_pkg( + name = "google-cloud-networkanalyzer-logging-v1-csharp", + package_name = "Google.Cloud.NetworkAnalyzer.Logging.V1", + generate_nongapic_package = True, + deps = [ + ":logging_csharp_proto", + ], ) ############################################################################## diff --git a/third_party/googleapis/google/cloud/networkanalyzer/logging/v1/analyzer_log.proto b/third_party/googleapis/google/cloud/networkanalyzer/logging/v1/analyzer_log.proto index e6e96b375..7e3128dd6 100644 --- a/third_party/googleapis/google/cloud/networkanalyzer/logging/v1/analyzer_log.proto +++ b/third_party/googleapis/google/cloud/networkanalyzer/logging/v1/analyzer_log.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -62,6 +62,12 @@ enum ReportCauseCode { GKE_IP_UTILIZATION_POD_RANGES_ALLOCATION_LIMITES_AUTOSCALING = 222; + GKE_NODE_SERVICE_ACCOUNT_SERVICE_ACCOUNT_DISABLED = 243; + + GKE_NODE_SERVICE_ACCOUNT_DEFAULT_SERVICE_ACCOUNT_USED = 244; + + GKE_NODE_SERVICE_ACCOUNT_BAD_OAUTH_SCOPES = 245; + // Managed Services CLOUD_SQL_PRIVATE_IP_BLOCKED_BY_EGRESS_FIREWALL = 601; diff --git a/third_party/googleapis/google/cloud/networkconnectivity/BUILD.bazel b/third_party/googleapis/google/cloud/networkconnectivity/BUILD.bazel index 2e33a131d..823cf6410 100644 --- a/third_party/googleapis/google/cloud/networkconnectivity/BUILD.bazel +++ b/third_party/googleapis/google/cloud/networkconnectivity/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-network_connectivity", "ruby-cloud-env-prefix=NETWORK_CONNECTIVITY", - "ruby-cloud-wrapper-of=v1:0.4;v1alpha1:0.5", + "ruby-cloud-wrapper-of=v1:0.9;v1alpha1:0.8", "ruby-cloud-product-url=https://cloud.google.com/network-connectivity/docs", "ruby-cloud-api-id=networkconnectivity.googleapis.com", "ruby-cloud-api-shortname=networkconnectivity", ], ruby_cloud_description = "Network Connectivity is Google's suite of products that provide enterprise connectivity from your on-premises network or from another cloud provider to your Virtual Private Cloud (VPC) network.", ruby_cloud_title = "Network Connectivity", + transport = "grpc", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/networkconnectivity/v1/BUILD.bazel b/third_party/googleapis/google/cloud/networkconnectivity/v1/BUILD.bazel index d1d390d2d..24734f4a3 100644 --- a/third_party/googleapis/google/cloud/networkconnectivity/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/networkconnectivity/v1/BUILD.bazel @@ -23,6 +23,7 @@ proto_library( srcs = [ "common.proto", "hub.proto", + "policy_based_routing.proto", ], deps = [ "//google/api:annotations_proto", @@ -41,6 +42,8 @@ proto_library_with_info( deps = [ ":networkconnectivity_proto", "//google/cloud:common_resources_proto", + "//google/cloud/location:location_proto", + "//google/iam/v1:iam_policy_proto", ], ) @@ -75,12 +78,16 @@ java_gapic_library( rest_numeric_enums = True, service_yaml = "networkconnectivity_v1.yaml", test_deps = [ + "//google/cloud/location:location_java_grpc", + "//google/iam/v1:iam_java_grpc", ":networkconnectivity_java_grpc", ], transport = "grpc", deps = [ ":networkconnectivity_java_proto", "//google/api:api_java_proto", + "//google/cloud/location:location_java_proto", + "//google/iam/v1:iam_java_proto", ], ) @@ -88,6 +95,7 @@ java_gapic_test( name = "networkconnectivity_java_gapic_test_suite", test_classes = [ "com.google.cloud.networkconnectivity.v1.HubServiceClientTest", + "com.google.cloud.networkconnectivity.v1.PolicyBasedRoutingServiceClientTest", ], runtime_deps = [":networkconnectivity_java_gapic_test"], ) @@ -113,7 +121,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -147,19 +154,13 @@ go_gapic_library( ], ) -go_test( - name = "networkconnectivity_go_gapic_test", - srcs = [":networkconnectivity_go_gapic_srcjar_test"], - embed = [":networkconnectivity_go_gapic"], - importpath = "cloud.google.com/go/networkconnectivity/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-networkconnectivity-v1-go", deps = [ ":networkconnectivity_go_gapic", ":networkconnectivity_go_gapic_srcjar-metadata.srcjar", + ":networkconnectivity_go_gapic_srcjar-snippets.srcjar", ":networkconnectivity_go_gapic_srcjar-test.srcjar", ":networkconnectivity_go_proto", ], @@ -183,7 +184,9 @@ py_gapic_library( rest_numeric_enums = True, service_yaml = "networkconnectivity_v1.yaml", transport = "grpc", - deps = ["//google/iam/v1:iam_policy_py_proto"], + deps = [ + "//google/iam/v1:iam_policy_py_proto", + ], ) py_test( @@ -211,7 +214,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -220,21 +222,15 @@ php_proto_library( deps = [":networkconnectivity_proto"], ) -php_grpc_library( - name = "networkconnectivity_php_grpc", - srcs = [":networkconnectivity_proto"], - deps = [":networkconnectivity_php_proto"], -) - php_gapic_library( name = "networkconnectivity_php_gapic", srcs = [":networkconnectivity_proto_with_info"], grpc_service_config = "networkconnectivity_v1_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "networkconnectivity_v1.yaml", transport = "grpc+rest", deps = [ - ":networkconnectivity_php_grpc", ":networkconnectivity_php_proto", ], ) @@ -244,7 +240,6 @@ php_gapic_assembly_pkg( name = "google-cloud-networkconnectivity-v1-php", deps = [ ":networkconnectivity_php_gapic", - ":networkconnectivity_php_grpc", ":networkconnectivity_php_proto", ], ) @@ -316,6 +311,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Network Connectivity is Google's suite of products that provide enterprise connectivity from your on-premises network or from another cloud provider to your Virtual Private Cloud (VPC) network.", ruby_cloud_title = "Network Connectivity V1", service_yaml = "networkconnectivity_v1.yaml", + transport = "grpc", deps = [ ":networkconnectivity_ruby_grpc", ":networkconnectivity_ruby_proto", diff --git a/third_party/googleapis/google/cloud/networkconnectivity/v1/common.proto b/third_party/googleapis/google/cloud/networkconnectivity/v1/common.proto index 892530489..12efca7b3 100644 --- a/third_party/googleapis/google/cloud/networkconnectivity/v1/common.proto +++ b/third_party/googleapis/google/cloud/networkconnectivity/v1/common.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -39,10 +39,12 @@ option (google.api.resource_definition) = { // Represents the metadata of the long-running operation. message OperationMetadata { // Output only. The time the operation was created. - google.protobuf.Timestamp create_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time the operation finished running. - google.protobuf.Timestamp end_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp end_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Server-defined resource path for the target of the operation. string target = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -55,8 +57,9 @@ message OperationMetadata { // Output only. Identifies whether the user has requested cancellation // of the operation. Operations that have been cancelled successfully - // have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, - // corresponding to `Code.CANCELLED`. + // have [Operation.error][] value with a + // [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to + // `Code.CANCELLED`. bool requested_cancellation = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. API version used to start the operation. diff --git a/third_party/googleapis/google/cloud/networkconnectivity/v1/hub.proto b/third_party/googleapis/google/cloud/networkconnectivity/v1/hub.proto index eef97978f..3ea7e85c2 100644 --- a/third_party/googleapis/google/cloud/networkconnectivity/v1/hub.proto +++ b/third_party/googleapis/google/cloud/networkconnectivity/v1/hub.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,7 +20,9 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/cloud/networkconnectivity/v1/common.proto"; import "google/longrunning/operations.proto"; +import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; @@ -103,6 +105,16 @@ service HubService { }; } + // Lists the Network Connectivity Center spokes associated with a + // specified hub and location. The list includes both spokes that are attached + // to the hub and spokes that have been proposed but not yet accepted. + rpc ListHubSpokes(ListHubSpokesRequest) returns (ListHubSpokesResponse) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/global/hubs/*}:listSpokes" + }; + option (google.api.method_signature) = "name"; + } + // Lists the Network Connectivity Center spokes in a specified project and // location. rpc ListSpokes(ListSpokesRequest) returns (ListSpokesResponse) { @@ -146,6 +158,38 @@ service HubService { }; } + // Rejects a Network Connectivity Center spoke from being attached to a hub. + // If the spoke was previously in the `ACTIVE` state, it + // transitions to the `INACTIVE` state and is no longer able to + // connect to other spokes that are attached to the hub. + rpc RejectHubSpoke(RejectHubSpokeRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/global/hubs/*}:rejectSpoke" + body: "*" + }; + option (google.api.method_signature) = "name,spoke_uri"; + option (google.longrunning.operation_info) = { + response_type: "RejectHubSpokeResponse" + metadata_type: "OperationMetadata" + }; + } + + // Accepts a proposal to attach a Network Connectivity Center spoke + // to a hub. + rpc AcceptHubSpoke(AcceptHubSpokeRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/global/hubs/*}:acceptSpoke" + body: "*" + }; + option (google.api.method_signature) = "name,spoke_uri"; + option (google.longrunning.operation_info) = { + response_type: "AcceptHubSpokeResponse" + metadata_type: "OperationMetadata" + }; + } + // Deletes a Network Connectivity Center spoke. rpc DeleteSpoke(DeleteSpokeRequest) returns (google.longrunning.Operation) { option (google.api.http) = { @@ -157,6 +201,55 @@ service HubService { metadata_type: "OperationMetadata" }; } + + // Gets details about a Network Connectivity Center route table. + rpc GetRouteTable(GetRouteTableRequest) returns (RouteTable) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/global/hubs/*/routeTables/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Gets details about the specified route. + rpc GetRoute(GetRouteRequest) returns (Route) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/global/hubs/*/routeTables/*/routes/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Lists routes in a given project. + rpc ListRoutes(ListRoutesRequest) returns (ListRoutesResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/global/hubs/*/routeTables/*}/routes" + }; + option (google.api.method_signature) = "parent"; + } + + // Lists route tables in a given project. + rpc ListRouteTables(ListRouteTablesRequest) + returns (ListRouteTablesResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/global/hubs/*}/routeTables" + }; + option (google.api.method_signature) = "parent"; + } + + // Gets details about a Network Connectivity Center group. + rpc GetGroup(GetGroupRequest) returns (Group) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/global/hubs/*/groups/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Lists groups in a given hub. + rpc ListGroups(ListGroupsRequest) returns (ListGroupsResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/global/hubs/*}/groups" + }; + option (google.api.method_signature) = "parent"; + } } // Supported features for a location @@ -171,30 +264,77 @@ enum LocationFeature { SITE_TO_SITE_SPOKES = 2; } +// The route's type +enum RouteType { + // No route type information specified + ROUTE_TYPE_UNSPECIFIED = 0; + + // The route leads to a destination within the primary address range of the + // VPC network's subnet. + VPC_PRIMARY_SUBNET = 1; + + // The route leads to a destination within the secondary address range of the + // VPC network's subnet. + VPC_SECONDARY_SUBNET = 2; +} + // The State enum represents the lifecycle stage of a Network Connectivity // Center resource. enum State { // No state information available STATE_UNSPECIFIED = 0; - // The resource's create operation is in progress + // The resource's create operation is in progress. CREATING = 1; // The resource is active ACTIVE = 2; - // The resource's Delete operation is in progress + // The resource's delete operation is in progress. DELETING = 3; - // The resource's Update operation is in progress + // The resource's accept operation is in progress. + ACCEPTING = 8; + + // The resource's reject operation is in progress. + REJECTING = 9; + + // The resource's update operation is in progress. UPDATING = 6; + + // The resource is inactive. + INACTIVE = 7; + + // The hub associated with this spoke resource has been deleted. + // This state applies to spoke resources only. + OBSOLETE = 10; } -// A Network Connectivity Center hub is a collection of spokes. A single hub -// can contain spokes from multiple regions. However, if any of a hub's spokes -// use the data transfer feature, the resources associated with those spokes -// must all reside in the same VPC network. Spokes that do not use data -// transfer can be associated with any VPC network in your project. +// The SpokeType enum represents the type of spoke. The type +// reflects the kind of resource that a spoke is associated with. +enum SpokeType { + // Unspecified spoke type. + SPOKE_TYPE_UNSPECIFIED = 0; + + // Spokes associated with VPN tunnels. + VPN_TUNNEL = 1; + + // Spokes associated with VLAN attachments. + INTERCONNECT_ATTACHMENT = 2; + + // Spokes associated with router appliance instances. + ROUTER_APPLIANCE = 3; + + // Spokes associated with VPC networks. + VPC_NETWORK = 4; +} + +// A Network Connectivity Center hub is a global management resource to which +// you attach spokes. A single hub can contain spokes from multiple regions. +// However, if any of a hub's spokes use the site-to-site data transfer feature, +// the resources associated with those spokes must all be in the same VPC +// network. Spokes that do not use site-to-site data transfer can be associated +// with any VPC network in your project. message Hub { option (google.api.resource) = { type: "networkconnectivity.googleapis.com/Hub" @@ -214,8 +354,8 @@ message Hub { google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Optional labels in key:value format. For more information about labels, see - // [Requirements for + // Optional labels in key-value pair format. For more information about + // labels, see [Requirements for // labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements). map labels = 4; @@ -235,6 +375,21 @@ message Hub { // This field is read-only. Network Connectivity Center automatically // populates it based on the set of spokes attached to the hub. repeated RoutingVPC routing_vpcs = 10; + + // Output only. The route tables that belong to this hub. They use the + // following form: + // `projects/{project_number}/locations/global/hubs/{hub_id}/routeTables/{route_table_id}` + // + // This field is read-only. Network Connectivity Center automatically + // populates it based on the route tables nested under the hub. + repeated string route_tables = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. A summary of the spokes associated with a hub. The + // summary includes a count of spokes according to type + // and according to state. If any spokes are inactive, + // the summary also lists the reasons they are inactive, + // including a count for each reason. + SpokeSummary spoke_summary = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; } // RoutingVPC contains information about the VPC networks associated @@ -254,21 +409,53 @@ message RoutingVPC { [(google.api.field_behavior) = OUTPUT_ONLY]; } -// A Network Connectivity Center spoke represents a connection between your -// Google Cloud network resources and a non-Google-Cloud network. +// A Network Connectivity Center spoke represents one or more network +// connectivity resources. // -// When you create a spoke, you associate it with a hub. You must also identify -// a value for exactly one of the following fields: +// When you create a spoke, you associate it with a hub. You must also +// identify a value for exactly one of the following fields: // // * linked_vpn_tunnels // * linked_interconnect_attachments // * linked_router_appliance_instances +// * linked_vpc_network message Spoke { option (google.api.resource) = { type: "networkconnectivity.googleapis.com/Spoke" pattern: "projects/{project}/locations/{location}/spokes/{spoke}" }; + // The reason a spoke is inactive. + message StateReason { + // The Code enum represents the various reasons a state can be `INACTIVE`. + enum Code { + // No information available. + CODE_UNSPECIFIED = 0; + + // The proposed spoke is pending review. + PENDING_REVIEW = 1; + + // The proposed spoke has been rejected by the hub administrator. + REJECTED = 2; + + // The spoke has been deactivated internally. + PAUSED = 3; + + // Network Connectivity Center encountered errors while accepting + // the spoke. + FAILED = 4; + } + + // The code associated with this reason. + Code code = 1; + + // Human-readable details about this reason. + string message = 2; + + // Additional information provided by the user in the RejectSpoke call. + string user_details = 3; + } + // Immutable. The name of the spoke. Spoke names must be unique. They use the // following form: // `projects/{project_number}/locations/{region}/spokes/{spoke_id}` @@ -282,8 +469,8 @@ message Spoke { google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Optional labels in key:value format. For more information about labels, see - // [Requirements for + // Optional labels in key-value pair format. For more information about + // labels, see [Requirements for // labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements). map labels = 4; @@ -298,6 +485,14 @@ message Spoke { } ]; + // Optional. The name of the group that this spoke is associated with. + string group = 23 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.resource_reference) = { + type: "networkconnectivity.googleapis.com/Group" + } + ]; + // VPN tunnels that are associated with the spoke. LinkedVpnTunnels linked_vpn_tunnels = 17; @@ -307,13 +502,163 @@ message Spoke { // Router appliance instances that are associated with the spoke. LinkedRouterApplianceInstances linked_router_appliance_instances = 19; + // Optional. VPC network that is associated with the spoke. + LinkedVpcNetwork linked_vpc_network = 20 + [(google.api.field_behavior) = OPTIONAL]; + // Output only. The Google-generated UUID for the spoke. This value is unique // across all spoke resources. If a spoke is deleted and another with the same - // name is created, the new spoke is assigned a different unique_id. + // name is created, the new spoke is assigned a different `unique_id`. string unique_id = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The current lifecycle state of this spoke. State state = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The reasons for current state of the spoke. Only present when + // the spoke is in the `INACTIVE` state. + repeated StateReason reasons = 21 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The type of resource associated with the spoke. + SpokeType spoke_type = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +message RouteTable { + option (google.api.resource) = { + type: "networkconnectivity.googleapis.com/RouteTable" + pattern: "projects/{project}/locations/global/hubs/{hub}/routeTables/{route_table}" + }; + + // Immutable. The name of the route table. Route table names must be unique. + // They use the following form: + // `projects/{project_number}/locations/global/hubs/{hub}/routeTables/{route_table_id}` + string name = 1 [(google.api.field_behavior) = IMMUTABLE]; + + // Output only. The time the route table was created. + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The time the route table was last updated. + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional labels in key-value pair format. For more information about + // labels, see [Requirements for + // labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements). + map labels = 4; + + // An optional description of the route table. + string description = 5; + + // Output only. The Google-generated UUID for the route table. This value is + // unique across all route table resources. If a route table is deleted and + // another with the same name is created, the new route table is assigned + // a different `uid`. + string uid = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The current lifecycle state of this route table. + State state = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// A route defines a path from VM instances within a spoke to a specific +// destination resource. Only VPC spokes have routes. +message Route { + option (google.api.resource) = { + type: "networkconnectivity.googleapis.com/HubRoute" + pattern: "projects/{project}/locations/global/hubs/{hub}/routeTables/{route_table}/routes/{route}" + }; + + // Immutable. The name of the route. Route names must be unique. Route names + // use the following form: + // `projects/{project_number}/locations/global/hubs/{hub}/routeTables/{route_table_id}/routes/{route_id}` + string name = 3 [(google.api.field_behavior) = IMMUTABLE]; + + // Output only. The time the route was created. + google.protobuf.Timestamp create_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The time the route was last updated. + google.protobuf.Timestamp update_time = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // The destination IP address range. + string ip_cidr_range = 1; + + // Output only. The route's type. Its type is determined by the properties of + // its IP address range. + RouteType type = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Immutable. The destination VPC network for packets on this route. + NextHopVpcNetwork next_hop_vpc_network = 2 + [(google.api.field_behavior) = IMMUTABLE]; + + // Optional labels in key-value pair format. For more information about + // labels, see [Requirements for + // labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements). + map labels = 6; + + // An optional description of the route. + string description = 7; + + // Output only. The Google-generated UUID for the route. This value is unique + // across all Network Connectivity Center route resources. If a + // route is deleted and another with the same name is created, + // the new route is assigned a different `uid`. + string uid = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The current lifecycle state of the route. + State state = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Immutable. The spoke that this route leads to. + // Example: projects/12345/locations/global/spokes/SPOKE + string spoke = 11 [ + (google.api.field_behavior) = IMMUTABLE, + (google.api.resource_reference) = { + type: "networkconnectivity.googleapis.com/Spoke" + } + ]; + + // Output only. The location of the route. + // Uses the following form: "projects/{project}/locations/{location}" + // Example: projects/1234/locations/us-central1 + string location = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// A group represents a subset of spokes attached to a hub. +message Group { + option (google.api.resource) = { + type: "networkconnectivity.googleapis.com/Group" + pattern: "projects/{project}/locations/global/hubs/{hub}/groups/{group}" + }; + + // Immutable. The name of the group. Group names must be unique. They + // use the following form: + // `projects/{project_number}/locations/global/hubs/{hub}/groups/{group_id}` + string name = 1 [(google.api.field_behavior) = IMMUTABLE]; + + // Output only. The time the group was created. + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The time the group was last updated. + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. Labels in key-value pair format. For more information about + // labels, see [Requirements for + // labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements). + map labels = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The description of the group. + string description = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Output only. The Google-generated UUID for the group. This value is unique + // across all group resources. If a group is deleted and + // another with the same name is created, the new route table is assigned + // a different unique_id. + string uid = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The current lifecycle state of this group. + State state = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Request for @@ -328,13 +673,13 @@ message ListHubsRequest { } ]; - // The maximum number of results per page that should be returned. + // The maximum number of results per page to return. int32 page_size = 2; // The page token. string page_token = 3; - // An expression that filters the results listed in the response. + // An expression that filters the list of results. string filter = 4; // Sort the results by a certain order. @@ -348,8 +693,9 @@ message ListHubsResponse { // The requested hubs. repeated Hub hubs = 1; - // The next pagination token in the List response. It should be used as - // page_token for the following request. An empty value means no more result. + // The token for the next page of the response. To see more results, + // use this value as the page_token for your next request. If this value + // is empty, there are no more results. string next_page_token = 2; // Locations that could not be reached. @@ -387,11 +733,11 @@ message CreateHubRequest { // Required. The initial values for a new hub. Hub hub = 3 [(google.api.field_behavior) = REQUIRED]; - // Optional. A unique request ID (optional). If you specify this ID, you can - // use it in cases when you need to retry your request. When you need to - // retry, this ID lets the server know that it can ignore the request if it - // has already been completed. The server guarantees that for at least 60 - // minutes after the first request. + // Optional. A request ID to identify requests. Specify a unique request ID so + // that if you must retry your request, the server knows to ignore the request + // if it has already been completed. The server guarantees that a request + // doesn't result in creation of duplicate commitments for at least 60 + // minutes. // // For example, consider a situation where you make an initial request and // the request times out. If you make the request again with the same request @@ -419,11 +765,11 @@ message UpdateHubRequest { // Required. The state that the hub should be in after the update. Hub hub = 2 [(google.api.field_behavior) = REQUIRED]; - // Optional. A unique request ID (optional). If you specify this ID, you can - // use it in cases when you need to retry your request. When you need to - // retry, this ID lets the server know that it can ignore the request if it - // has already been completed. The server guarantees that for at least 60 - // minutes after the first request. + // Optional. A request ID to identify requests. Specify a unique request ID so + // that if you must retry your request, the server knows to ignore the request + // if it has already been completed. The server guarantees that a request + // doesn't result in creation of duplicate commitments for at least 60 + // minutes. // // For example, consider a situation where you make an initial request and // the request times out. If you make the request again with the same request @@ -447,11 +793,11 @@ message DeleteHubRequest { } ]; - // Optional. A unique request ID (optional). If you specify this ID, you can - // use it in cases when you need to retry your request. When you need to - // retry, this ID lets the server know that it can ignore the request if it - // has already been completed. The server guarantees that for at least 60 - // minutes after the first request. + // Optional. A request ID to identify requests. Specify a unique request ID so + // that if you must retry your request, the server knows to ignore the request + // if it has already been completed. The server guarantees that a request + // doesn't result in creation of duplicate commitments for at least 60 + // minutes. // // For example, consider a situation where you make an initial request and // the request times out. If you make the request again with the same request @@ -464,6 +810,79 @@ message DeleteHubRequest { string request_id = 2 [(google.api.field_behavior) = OPTIONAL]; } +// The request for +// [HubService.ListHubSpokes][google.cloud.networkconnectivity.v1.HubService.ListHubSpokes]. +// +message ListHubSpokesRequest { + // Enum that controls which spoke fields are included in the response. + enum SpokeView { + // The spoke view is unspecified. When the spoke view is unspecified, the + // API returns the same fields as the `BASIC` view. + SPOKE_VIEW_UNSPECIFIED = 0; + + // Includes `name`, `create_time`, `hub`, `unique_id`, `state`, `reasons`, + // and `spoke_type`. This is the default value. + BASIC = 1; + + // Includes all spoke fields except `labels`. + // You can use the `DETAILED` view only when you set the `spoke_locations` + // field to `[global]`. + DETAILED = 2; + } + + // Required. The name of the hub. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "networkconnectivity.googleapis.com/Hub" + } + ]; + + // A list of locations. + // Specify one of the following: `[global]`, a single region (for + // example, `[us-central1]`), or a combination of + // values (for example, `[global, us-central1, us-west1]`). + // If the spoke_locations field is populated, the list of results + // includes only spokes in the specified location. + // If the spoke_locations field is not populated, the list of results + // includes spokes in all locations. + repeated string spoke_locations = 2; + + // The maximum number of results to return per page. + int32 page_size = 3; + + // The page token. + string page_token = 4; + + // An expression that filters the list of results. + string filter = 5; + + // Sort the results by name or create_time. + string order_by = 6; + + // The view of the spoke to return. + // The view that you use determines which spoke fields are included in the + // response. + SpokeView view = 7; +} + +// The response for +// [HubService.ListHubSpokes][google.cloud.networkconnectivity.v1.HubService.ListHubSpokes]. +message ListHubSpokesResponse { + // The requested spokes. + // The spoke fields can be partially populated based on the `view` field in + // the request message. + repeated Spoke spokes = 1; + + // The token for the next page of the response. To see more results, + // use this value as the page_token for your next request. If this value + // is empty, there are no more results. + string next_page_token = 2; + + // Locations that could not be reached. + repeated string unreachable = 3; +} + // The request for // [HubService.ListSpokes][google.cloud.networkconnectivity.v1.HubService.ListSpokes]. message ListSpokesRequest { @@ -475,13 +894,13 @@ message ListSpokesRequest { } ]; - // The maximum number of results per page that should be returned. + // The maximum number of results to return per page. int32 page_size = 2; // The page token. string page_token = 3; - // An expression that filters the results listed in the response. + // An expression that filters the list of results. string filter = 4; // Sort the results by a certain order. @@ -494,8 +913,9 @@ message ListSpokesResponse { // The requested spokes. repeated Spoke spokes = 1; - // The next pagination token in the List response. It should be used as - // page_token for the following request. An empty value means no more result. + // The token for the next page of the response. To see more results, + // use this value as the page_token for your next request. If this value + // is empty, there are no more results. string next_page_token = 2; // Locations that could not be reached. @@ -531,11 +951,11 @@ message CreateSpokeRequest { // Required. The initial values for a new spoke. Spoke spoke = 3 [(google.api.field_behavior) = REQUIRED]; - // Optional. A unique request ID (optional). If you specify this ID, you can - // use it in cases when you need to retry your request. When you need to - // retry, this ID lets the server know that it can ignore the request if it - // has already been completed. The server guarantees that for at least 60 - // minutes after the first request. + // Optional. A request ID to identify requests. Specify a unique request ID so + // that if you must retry your request, the server knows to ignore the request + // if it has already been completed. The server guarantees that a request + // doesn't result in creation of duplicate commitments for at least 60 + // minutes. // // For example, consider a situation where you make an initial request and // the request times out. If you make the request again with the same request @@ -563,11 +983,11 @@ message UpdateSpokeRequest { // Required. The state that the spoke should be in after the update. Spoke spoke = 2 [(google.api.field_behavior) = REQUIRED]; - // Optional. A unique request ID (optional). If you specify this ID, you can - // use it in cases when you need to retry your request. When you need to - // retry, this ID lets the server know that it can ignore the request if it - // has already been completed. The server guarantees that for at least 60 - // minutes after the first request. + // Optional. A request ID to identify requests. Specify a unique request ID so + // that if you must retry your request, the server knows to ignore the request + // if it has already been completed. The server guarantees that a request + // doesn't result in creation of duplicate commitments for at least 60 + // minutes. // // For example, consider a situation where you make an initial request and // the request times out. If you make the request again with the same request @@ -591,11 +1011,11 @@ message DeleteSpokeRequest { } ]; - // Optional. A unique request ID (optional). If you specify this ID, you can - // use it in cases when you need to retry your request. When you need to - // retry, this ID lets the server know that it can ignore the request if it - // has already been completed. The server guarantees that for at least 60 - // minutes after the first request. + // Optional. A request ID to identify requests. Specify a unique request ID so + // that if you must retry your request, the server knows to ignore the request + // if it has already been completed. The server guarantees that a request + // doesn't result in creation of duplicate commitments for at least 60 + // minutes. // // For example, consider a situation where you make an initial request and // the request times out. If you make the request again with the same request @@ -608,6 +1028,242 @@ message DeleteSpokeRequest { string request_id = 2 [(google.api.field_behavior) = OPTIONAL]; } +// The request for +// [HubService.AcceptHubSpoke][google.cloud.networkconnectivity.v1.HubService.AcceptHubSpoke]. +message AcceptHubSpokeRequest { + // Required. The name of the hub into which to accept the spoke. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "networkconnectivity.googleapis.com/Hub" + } + ]; + + // Required. The URI of the spoke to accept into the hub. + string spoke_uri = 2 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "networkconnectivity.googleapis.com/Spoke" + } + ]; + + // Optional. A request ID to identify requests. Specify a unique request ID so + // that if you must retry your request, the server knows to ignore the request + // if it has already been completed. The server guarantees that a request + // doesn't result in creation of duplicate commitments for at least 60 + // minutes. + // + // For example, consider a situation where you make an initial request and + // the request times out. If you make the request again with the same request + // ID, the server can check to see whether the original operation + // was received. If it was, the server ignores the second request. This + // behavior prevents clients from mistakenly creating duplicate commitments. + // + // The request ID must be a valid UUID, with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// The response for +// [HubService.AcceptHubSpoke][google.cloud.networkconnectivity.v1.HubService.AcceptHubSpoke]. +message AcceptHubSpokeResponse { + // The spoke that was operated on. + Spoke spoke = 1; +} + +// The request for +// [HubService.RejectHubSpoke][google.cloud.networkconnectivity.v1.HubService.RejectHubSpoke]. +message RejectHubSpokeRequest { + // Required. The name of the hub from which to reject the spoke. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "networkconnectivity.googleapis.com/Hub" + } + ]; + + // Required. The URI of the spoke to reject from the hub. + string spoke_uri = 2 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "networkconnectivity.googleapis.com/Spoke" + } + ]; + + // Optional. A request ID to identify requests. Specify a unique request ID so + // that if you must retry your request, the server knows to ignore the request + // if it has already been completed. The server guarantees that a request + // doesn't result in creation of duplicate commitments for at least 60 + // minutes. + // + // For example, consider a situation where you make an initial request and + // the request times out. If you make the request again with the same request + // ID, the server can check to see whether the original operation + // was received. If it was, the server ignores the second request. This + // behavior prevents clients from mistakenly creating duplicate commitments. + // + // The request ID must be a valid UUID, with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Additional information provided by the hub administrator. + string details = 4 [(google.api.field_behavior) = OPTIONAL]; +} + +// The response for +// [HubService.RejectHubSpoke][google.cloud.networkconnectivity.v1.HubService.RejectHubSpoke]. +message RejectHubSpokeResponse { + // The spoke that was operated on. + Spoke spoke = 1; +} + +// The request for +// [HubService.GetRouteTable][google.cloud.networkconnectivity.v1.HubService.GetRouteTable]. +message GetRouteTableRequest { + // Required. The name of the route table resource. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "networkconnectivity.googleapis.com/RouteTable" + } + ]; +} + +// The request for +// [HubService.GetRoute][google.cloud.networkconnectivity.v1.HubService.GetRoute]. +message GetRouteRequest { + // Required. The name of the route resource. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "networkconnectivity.googleapis.com/HubRoute" + } + ]; +} + +// Request for +// [HubService.ListRoutes][google.cloud.networkconnectivity.v1.HubService.ListRoutes] +// method. +message ListRoutesRequest { + // Required. The parent resource's name. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "networkconnectivity.googleapis.com/RouteTable" + } + ]; + + // The maximum number of results to return per page. + int32 page_size = 2; + + // The page token. + string page_token = 3; + + // An expression that filters the list of results. + string filter = 4; + + // Sort the results by a certain order. + string order_by = 5; +} + +// Response for +// [HubService.ListRoutes][google.cloud.networkconnectivity.v1.HubService.ListRoutes] +// method. +message ListRoutesResponse { + // The requested routes. + repeated Route routes = 1; + + // The token for the next page of the response. To see more results, + // use this value as the page_token for your next request. If this value + // is empty, there are no more results. + string next_page_token = 2; + + // RouteTables that could not be reached. + repeated string unreachable = 3; +} + +// Request for +// [HubService.ListRouteTables][google.cloud.networkconnectivity.v1.HubService.ListRouteTables] +// method. +message ListRouteTablesRequest { + // Required. The parent resource's name. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "networkconnectivity.googleapis.com/Hub" + } + ]; + + // The maximum number of results to return per page. + int32 page_size = 2; + + // The page token. + string page_token = 3; + + // An expression that filters the list of results. + string filter = 4; + + // Sort the results by a certain order. + string order_by = 5; +} + +// Response for +// [HubService.ListRouteTables][google.cloud.networkconnectivity.v1.HubService.ListRouteTables] +// method. +message ListRouteTablesResponse { + // The requested route tables. + repeated RouteTable route_tables = 1; + + // The token for the next page of the response. To see more results, + // use this value as the page_token for your next request. If this value + // is empty, there are no more results. + string next_page_token = 2; + + // Hubs that could not be reached. + repeated string unreachable = 3; +} + +// Request for +// [HubService.ListGroups][google.cloud.networkconnectivity.v1.HubService.ListGroups] +// method. +message ListGroupsRequest { + // Required. The parent resource's name. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "networkconnectivity.googleapis.com/Hub" + } + ]; + + // The maximum number of results to return per page. + int32 page_size = 2; + + // The page token. + string page_token = 3; + + // An expression that filters the list of results. + string filter = 4; + + // Sort the results by a certain order. + string order_by = 5; +} + +// Response for +// [HubService.ListGroups][google.cloud.networkconnectivity.v1.HubService.ListGroups] +// method. +message ListGroupsResponse { + // The requested groups. + repeated Group groups = 1; + + // The token for the next page of the response. To see more results, + // use this value as the page_token for your next request. If this value + // is empty, there are no more results. + string next_page_token = 2; + + // Hubs that could not be reached. + repeated string unreachable = 3; +} + // A collection of Cloud VPN tunnel resources. These resources should be // redundant HA VPN tunnels that all advertise the same prefixes to Google // Cloud. Alternatively, in a passive/active configuration, all tunnels @@ -673,6 +1329,19 @@ message LinkedRouterApplianceInstances { ]; } +// An existing VPC network. +message LinkedVpcNetwork { + // Required. The URI of the VPC network resource. + string uri = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "compute.googleapis.com/Network" } + ]; + + // Optional. IP ranges encompassing the subnets to be excluded from peering. + repeated string exclude_export_ranges = 2 + [(google.api.field_behavior) = OPTIONAL]; +} + // A router appliance instance is a Compute Engine virtual machine (VM) instance // that acts as a BGP speaker. A router appliance instance is specified by the // URI of the VM and the internal IP address of one of the VM's network @@ -692,3 +1361,78 @@ message LocationMetadata { // List of supported features repeated LocationFeature location_features = 1; } + +message NextHopVpcNetwork { + // The URI of the VPC network resource + string uri = 1 [ + (google.api.resource_reference) = { type: "compute.googleapis.com/Network" } + ]; +} + +// Summarizes information about the spokes associated with a hub. +// The summary includes a count of spokes according to type +// and according to state. If any spokes are inactive, +// the summary also lists the reasons they are inactive, +// including a count for each reason. +message SpokeSummary { + // The number of spokes of a given type that are associated + // with a specific hub. The type indicates what kind of + // resource is associated with the spoke. + message SpokeTypeCount { + // Output only. The type of the spokes. + SpokeType spoke_type = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The total number of spokes of this type that are + // associated with the hub. + int64 count = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + } + + // The number of spokes that are in a particular state + // and associated with a given hub. + message SpokeStateCount { + // Output only. The state of the spokes. + State state = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The total number of spokes that are in this state + // and associated with a given hub. + int64 count = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + } + + // The number of spokes in the hub that are inactive for this reason. + message SpokeStateReasonCount { + // Output only. The reason that a spoke is inactive. + Spoke.StateReason.Code state_reason_code = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The total number of spokes that are inactive for a + // particular reason and associated with a given hub. + int64 count = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + } + + // Output only. Counts the number of spokes of each type that are + // associated with a specific hub. + repeated SpokeTypeCount spoke_type_counts = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Counts the number of spokes that are in each state + // and associated with a given hub. + repeated SpokeStateCount spoke_state_counts = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Counts the number of spokes that are inactive for each + // possible reason and associated with a given hub. + repeated SpokeStateReasonCount spoke_state_reason_counts = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// The request for +// [HubService.GetGroup][google.cloud.networkconnectivity.v1.HubService.GetGroup]. +message GetGroupRequest { + // Required. The name of the route table resource. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "networkconnectivity.googleapis.com/Group" + } + ]; +} diff --git a/third_party/googleapis/google/cloud/networkconnectivity/v1/networkconnectivity_v1.yaml b/third_party/googleapis/google/cloud/networkconnectivity/v1/networkconnectivity_v1.yaml index 79748d3f6..75ae02426 100644 --- a/third_party/googleapis/google/cloud/networkconnectivity/v1/networkconnectivity_v1.yaml +++ b/third_party/googleapis/google/cloud/networkconnectivity/v1/networkconnectivity_v1.yaml @@ -6,12 +6,15 @@ title: Network Connectivity API apis: - name: google.cloud.location.Locations - name: google.cloud.networkconnectivity.v1.HubService +- name: google.cloud.networkconnectivity.v1.PolicyBasedRoutingService - name: google.iam.v1.IAMPolicy - name: google.longrunning.Operations types: +- name: google.cloud.networkconnectivity.v1.AcceptHubSpokeResponse - name: google.cloud.networkconnectivity.v1.LocationMetadata - name: google.cloud.networkconnectivity.v1.OperationMetadata +- name: google.cloud.networkconnectivity.v1.RejectHubSpokeResponse documentation: summary: This API enables connectivity with and between Google Cloud resources. @@ -46,19 +49,6 @@ documentation: permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. -backend: - rules: - - selector: google.cloud.location.Locations.GetLocation - deadline: 60.0 - - selector: google.cloud.location.Locations.ListLocations - deadline: 60.0 - - selector: 'google.cloud.networkconnectivity.v1.HubService.*' - deadline: 60.0 - - selector: 'google.iam.v1.IAMPolicy.*' - deadline: 60.0 - - selector: 'google.longrunning.Operations.*' - deadline: 60.0 - http: rules: - selector: google.cloud.location.Locations.GetLocation @@ -68,12 +58,15 @@ http: - selector: google.iam.v1.IAMPolicy.GetIamPolicy get: '/v1/{resource=projects/*/locations/global/hubs/*}:getIamPolicy' additional_bindings: + - get: '/v1/{resource=projects/*/locations/global/hubs/*/groups/*}:getIamPolicy' - get: '/v1/{resource=projects/*/locations/*/spokes/*}:getIamPolicy' - get: '/v1/{resource=projects/*/locations/global/policyBasedRoutes/*}:getIamPolicy' - selector: google.iam.v1.IAMPolicy.SetIamPolicy post: '/v1/{resource=projects/*/locations/global/hubs/*}:setIamPolicy' body: '*' additional_bindings: + - post: '/v1/{resource=projects/*/locations/global/hubs/*/groups/*}:setIamPolicy' + body: '*' - post: '/v1/{resource=projects/*/locations/*/spokes/*}:setIamPolicy' body: '*' - post: '/v1/{resource=projects/*/locations/global/policyBasedRoutes/*}:setIamPolicy' @@ -82,6 +75,8 @@ http: post: '/v1/{resource=projects/*/locations/global/hubs/*}:testIamPermissions' body: '*' additional_bindings: + - post: '/v1/{resource=projects/*/locations/global/hubs/*/groups/*}:testIamPermissions' + body: '*' - post: '/v1/{resource=projects/*/locations/*/spokes/*}:testIamPermissions' body: '*' - post: '/v1/{resource=projects/*/locations/global/policyBasedRoutes/*}:testIamPermissions' @@ -110,6 +105,10 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform + - selector: 'google.cloud.networkconnectivity.v1.PolicyBasedRoutingService.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform - selector: 'google.iam.v1.IAMPolicy.*' oauth: canonical_scopes: |- diff --git a/third_party/googleapis/google/cloud/networkconnectivity/v1/networkconnectivity_v1_grpc_service_config.json b/third_party/googleapis/google/cloud/networkconnectivity/v1/networkconnectivity_v1_grpc_service_config.json index d36327bfb..3b2a43050 100644 --- a/third_party/googleapis/google/cloud/networkconnectivity/v1/networkconnectivity_v1_grpc_service_config.json +++ b/third_party/googleapis/google/cloud/networkconnectivity/v1/networkconnectivity_v1_grpc_service_config.json @@ -1,6 +1,7 @@ { "methodConfig": [{ - "name": [{ "service": "google.cloud.networkconnectivity.v1.HubService" }], + "name": [{ "service": "google.cloud.networkconnectivity.v1.HubService" }, + { "service": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService" }], "timeout": "60s", "retryPolicy": { "maxAttempts": 5, @@ -19,7 +20,9 @@ { "service": "google.cloud.networkconnectivity.v1.HubService", "method": "UpdateSpoke" }, { "service": "google.cloud.networkconnectivity.v1.HubService", "method": "DeactivateSpoke" }, { "service": "google.cloud.networkconnectivity.v1.HubService", "method": "ActivateSpoke" }, - { "service": "google.cloud.networkconnectivity.v1.HubService", "method": "DeleteSpoke" } + { "service": "google.cloud.networkconnectivity.v1.HubService", "method": "DeleteSpoke" }, + { "service": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService", "method": "CreatePolicyBasedRoute" }, + { "service": "google.cloud.networkconnectivity.v1.PolicyBasedRoutingService", "method": "DeletePolicyBasedRoute" } ], "timeout": "60s" }] diff --git a/third_party/googleapis/google/cloud/networkconnectivity/v1alpha1/BUILD.bazel b/third_party/googleapis/google/cloud/networkconnectivity/v1alpha1/BUILD.bazel index 3f2880efc..002e56c83 100644 --- a/third_party/googleapis/google/cloud/networkconnectivity/v1alpha1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/networkconnectivity/v1alpha1/BUILD.bazel @@ -30,7 +30,6 @@ proto_library( "//google/api:field_behavior_proto", "//google/api:resource_proto", "//google/longrunning:operations_proto", - "@com_google_protobuf//:empty_proto", "@com_google_protobuf//:field_mask_proto", "@com_google_protobuf//:timestamp_proto", ], @@ -70,14 +69,17 @@ java_grpc_library( java_gapic_library( name = "networkconnectivity_java_gapic", srcs = [":networkconnectivity_proto_with_info"], + gapic_yaml = None, grpc_service_config = "networkconnectivity_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "networkconnectivity_v1alpha1.yaml", test_deps = [ ":networkconnectivity_java_grpc", ], transport = "grpc", deps = [ ":networkconnectivity_java_proto", + "//google/api:api_java_proto", ], ) @@ -110,7 +112,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -142,19 +143,13 @@ go_gapic_library( ], ) -go_test( - name = "networkconnectivity_go_gapic_test", - srcs = [":networkconnectivity_go_gapic_srcjar_test"], - embed = [":networkconnectivity_go_gapic"], - importpath = "cloud.google.com/go/networkconnectivity/apiv1alpha1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-networkconnectivity-v1alpha1-go", deps = [ ":networkconnectivity_go_gapic", ":networkconnectivity_go_gapic_srcjar-metadata.srcjar", + ":networkconnectivity_go_gapic_srcjar-snippets.srcjar", ":networkconnectivity_go_gapic_srcjar-test.srcjar", ":networkconnectivity_go_proto", ], @@ -178,6 +173,8 @@ py_gapic_library( rest_numeric_enums = True, service_yaml = "networkconnectivity_v1alpha1.yaml", transport = "grpc", + deps = [ + ], ) py_test( @@ -205,7 +202,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -214,21 +210,15 @@ php_proto_library( deps = [":networkconnectivity_proto"], ) -php_grpc_library( - name = "networkconnectivity_php_grpc", - srcs = [":networkconnectivity_proto"], - deps = [":networkconnectivity_php_proto"], -) - php_gapic_library( name = "networkconnectivity_php_gapic", srcs = [":networkconnectivity_proto_with_info"], grpc_service_config = "networkconnectivity_grpc_service_config.json", + migration_mode = "PRE_MIGRATION_SURFACE_ONLY", rest_numeric_enums = True, service_yaml = "networkconnectivity_v1alpha1.yaml", transport = "grpc+rest", deps = [ - ":networkconnectivity_php_grpc", ":networkconnectivity_php_proto", ], ) @@ -238,7 +228,6 @@ php_gapic_assembly_pkg( name = "google-cloud-networkconnectivity-v1alpha1-php", deps = [ ":networkconnectivity_php_gapic", - ":networkconnectivity_php_grpc", ":networkconnectivity_php_proto", ], ) @@ -310,6 +299,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Network Connectivity is Google's suite of products that provide enterprise connectivity from your on-premises network or from another cloud provider to your Virtual Private Cloud (VPC) network.", ruby_cloud_title = "Network Connectivity V1alpha1", service_yaml = "networkconnectivity_v1alpha1.yaml", + transport = "grpc", deps = [ ":networkconnectivity_ruby_grpc", ":networkconnectivity_ruby_proto", @@ -375,4 +365,20 @@ csharp_gapic_assembly_pkg( ############################################################################## # C++ ############################################################################## -# Put your C++ rules here +load( + "@com_google_googleapis_imports//:imports.bzl", + "cc_grpc_library", + "cc_proto_library", +) + +cc_proto_library( + name = "networkconnectivity_cc_proto", + deps = [":networkconnectivity_proto"], +) + +cc_grpc_library( + name = "networkconnectivity_cc_grpc", + srcs = [":networkconnectivity_proto"], + grpc_only = True, + deps = [":networkconnectivity_cc_proto"], +) diff --git a/third_party/googleapis/google/cloud/networkmanagement/BUILD.bazel b/third_party/googleapis/google/cloud/networkmanagement/BUILD.bazel index ed989c637..edc90ce92 100644 --- a/third_party/googleapis/google/cloud/networkmanagement/BUILD.bazel +++ b/third_party/googleapis/google/cloud/networkmanagement/BUILD.bazel @@ -21,13 +21,14 @@ ruby_cloud_gapic_library( srcs = ["//google/cloud/networkmanagement/v1:networkmanagement_proto_with_info"], extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-network_management", - "ruby-cloud-wrapper-of=v1:0.1", + "ruby-cloud-wrapper-of=v1:0.10", "ruby-cloud-product-url=https://cloud.google.com/network-intelligence-center/docs/connectivity-tests/reference/networkmanagement/rest", "ruby-cloud-api-id=networkmanagement.googleapis.com", "ruby-cloud-api-shortname=networkmanagement", ], ruby_cloud_description = "The Network Management API provides a collection of network performance monitoring and diagnostic capabilities.", ruby_cloud_title = "Network Management", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/networkmanagement/v1/BUILD.bazel b/third_party/googleapis/google/cloud/networkmanagement/v1/BUILD.bazel index 7766a6a8c..ba60e1167 100644 --- a/third_party/googleapis/google/cloud/networkmanagement/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/networkmanagement/v1/BUILD.bazel @@ -74,12 +74,14 @@ java_gapic_library( srcs = [":networkmanagement_proto_with_info"], grpc_service_config = "networkmanagement_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "networkmanagement_v1.yaml", test_deps = [ ":networkmanagement_java_grpc", ], transport = "grpc+rest", deps = [ ":networkmanagement_java_proto", + "//google/api:api_java_proto", ], ) @@ -113,7 +115,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -146,19 +147,13 @@ go_gapic_library( ], ) -go_test( - name = "networkmanagement_go_gapic_test", - srcs = [":networkmanagement_go_gapic_srcjar_test"], - embed = [":networkmanagement_go_gapic"], - importpath = "cloud.google.com/go/networkmanagement/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-networkmanagement-v1-go", deps = [ ":networkmanagement_go_gapic", ":networkmanagement_go_gapic_srcjar-metadata.srcjar", + ":networkmanagement_go_gapic_srcjar-snippets.srcjar", ":networkmanagement_go_gapic_srcjar-test.srcjar", ":networkmanagement_go_proto", ], @@ -187,16 +182,15 @@ py_gapic_library( transport = "grpc+rest", ) -# Uncomment once https://github.com/googleapis/gapic-generator-python/issues/1376 is fixed -#py_test( -# name = "networkmanagement_py_gapic_test", -# srcs = [ -# "networkmanagement_py_gapic_pytest.py", -# "networkmanagement_py_gapic_test.py", -# ], -# legacy_create_init = False, -# deps = [":networkmanagement_py_gapic"], -#) +py_test( + name = "networkmanagement_py_gapic_test", + srcs = [ + "networkmanagement_py_gapic_pytest.py", + "networkmanagement_py_gapic_test.py", + ], + legacy_create_init = False, + deps = [":networkmanagement_py_gapic"], +) # Open Source Packages py_gapic_assembly_pkg( @@ -213,7 +207,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -222,23 +215,15 @@ php_proto_library( deps = [":networkmanagement_proto"], ) -php_grpc_library( - name = "networkmanagement_php_grpc", - srcs = [":networkmanagement_proto"], - deps = [":networkmanagement_php_proto"], -) - php_gapic_library( name = "networkmanagement_php_gapic", srcs = [":networkmanagement_proto_with_info"], grpc_service_config = "networkmanagement_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "networkmanagement_v1.yaml", transport = "grpc+rest", - deps = [ - ":networkmanagement_php_grpc", - ":networkmanagement_php_proto", - ], + deps = [":networkmanagement_php_proto"], ) # Open Source Packages @@ -246,7 +231,6 @@ php_gapic_assembly_pkg( name = "google-cloud-networkmanagement-v1-php", deps = [ ":networkmanagement_php_gapic", - ":networkmanagement_php_grpc", ":networkmanagement_php_proto", ], ) @@ -317,6 +301,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "The Network Management API provides a collection of network performance monitoring and diagnostic capabilities.", ruby_cloud_title = "Network Management V1", service_yaml = "networkmanagement_v1.yaml", + transport = "grpc+rest", deps = [ ":networkmanagement_ruby_grpc", ":networkmanagement_ruby_proto", diff --git a/third_party/googleapis/google/cloud/networkmanagement/v1/connectivity_test.proto b/third_party/googleapis/google/cloud/networkmanagement/v1/connectivity_test.proto index 78685ba73..7bbdef65d 100644 --- a/third_party/googleapis/google/cloud/networkmanagement/v1/connectivity_test.proto +++ b/third_party/googleapis/google/cloud/networkmanagement/v1/connectivity_test.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -38,7 +38,7 @@ message ConnectivityTest { }; // Required. Unique name of the resource using the form: - // `projects/{project_id}/locations/global/connectivityTests/{test_id}` + // `projects/{project_id}/locations/global/connectivityTests/{test}` string name = 1 [(google.api.field_behavior) = REQUIRED]; // The user-supplied description of the Connectivity Test. @@ -103,15 +103,25 @@ message ConnectivityTest { map labels = 8; // Output only. The time the test was created. - google.protobuf.Timestamp create_time = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 10 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time the test's configuration was updated. - google.protobuf.Timestamp update_time = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 11 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The reachability details of this test from the latest run. // The details are updated when creating a new test, updating an // existing test, or triggering a one-time rerun of an existing test. - ReachabilityDetails reachability_details = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; + ReachabilityDetails reachability_details = 12 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The probing details of this test from the latest run, present + // for applicable tests only. The details are updated when creating a new + // test, updating an existing test, or triggering a one-time rerun of an + // existing test. + ProbingDetails probing_details = 14 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Source or destination of the Connectivity Test. @@ -122,20 +132,63 @@ message Endpoint { // Default type if unspecified. NETWORK_TYPE_UNSPECIFIED = 0; - // A network hosted within Google Cloud Platform. + // A network hosted within Google Cloud. // To receive more detailed output, specify the URI for the source or // destination network. GCP_NETWORK = 1; - // A network hosted outside of Google Cloud Platform. + // A network hosted outside of Google Cloud. // This can be an on-premises network, or a network hosted by another cloud // provider. NON_GCP_NETWORK = 2; } + // Type of the target of a forwarding rule. + enum ForwardingRuleTarget { + // Forwarding rule target is unknown. + FORWARDING_RULE_TARGET_UNSPECIFIED = 0; + + // Compute Engine instance for protocol forwarding. + INSTANCE = 1; + + // Load Balancer. The specific type can be found from [load_balancer_type] + // [google.cloud.networkmanagement.v1.Endpoint.load_balancer_type]. + LOAD_BALANCER = 2; + + // Classic Cloud VPN Gateway. + VPN_GATEWAY = 3; + + // Forwarding Rule is a Private Service Connect endpoint. + PSC = 4; + } + + // Wrapper for Cloud Function attributes. + message CloudFunctionEndpoint { + // A [Cloud Function](https://cloud.google.com/functions) name. + string uri = 1; + } + + // Wrapper for the App Engine service version attributes. + message AppEngineVersionEndpoint { + // An [App Engine](https://cloud.google.com/appengine) [service + // version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions) + // name. + string uri = 1; + } + + // Wrapper for Cloud Run revision attributes. + message CloudRunRevisionEndpoint { + // A [Cloud Run](https://cloud.google.com/run) + // [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) + // URI. The format is: + // projects/{project}/locations/{location}/revisions/{revision} + string uri = 1; + } + // The IP address of the endpoint, which can be an external or internal IP. // An IPv6 address is only allowed when the test's destination is a - // [global load balancer VIP](/load-balancing/docs/load-balancing-overview). + // [global load balancer + // VIP](https://cloud.google.com/load-balancing/docs/load-balancing-overview). string ip_address = 1; // The IP protocol port of the endpoint. @@ -145,6 +198,27 @@ message Endpoint { // A Compute Engine instance URI. string instance = 3; + // A forwarding rule and its corresponding IP address represent the frontend + // configuration of a Google Cloud load balancer. Forwarding rules are also + // used for protocol forwarding, Private Service Connect and other network + // services to provide forwarding information in the control plane. Format: + // projects/{project}/global/forwardingRules/{id} or + // projects/{project}/regions/{region}/forwardingRules/{id} + string forwarding_rule = 13; + + // Output only. Specifies the type of the target of the forwarding rule. + optional ForwardingRuleTarget forwarding_rule_target = 14 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. ID of the load balancer the forwarding rule points to. Empty + // for forwarding rules not related to load balancers. + optional string load_balancer_id = 15 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Type of the load balancer the forwarding rule points to. + optional LoadBalancerType load_balancer_type = 16 + [(google.api.field_behavior) = OUTPUT_ONLY]; + // A cluster URI for [Google Kubernetes Engine // master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture). string gke_master_cluster = 7; @@ -152,6 +226,17 @@ message Endpoint { // A [Cloud SQL](https://cloud.google.com/sql) instance URI. string cloud_sql_instance = 8; + // A [Cloud Function](https://cloud.google.com/functions). + CloudFunctionEndpoint cloud_function = 10; + + // An [App Engine](https://cloud.google.com/appengine) [service + // version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions). + AppEngineVersionEndpoint app_engine_version = 11; + + // A [Cloud Run](https://cloud.google.com/run) + // [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) + CloudRunRevisionEndpoint cloud_run_revision = 12; + // A Compute Engine network URI. string network = 4; @@ -164,8 +249,8 @@ message Endpoint { // The Project ID can be derived from the URI if you provide a VM instance or // network URI. // The following are two cases where you must provide the project ID: - // 1. Only the IP address is specified, and the IP address is within a GCP - // project. + // 1. Only the IP address is specified, and the IP address is within a Google + // Cloud project. // 2. When you are using Shared VPC and the IP address that you provide is // from the service project. In this case, the network that the IP address // resides in is defined in the host project. @@ -222,3 +307,99 @@ message ReachabilityDetails { // with multiple backends. repeated Trace traces = 5; } + +// Latency percentile rank and value. +message LatencyPercentile { + // Percentage of samples this data point applies to. + int32 percent = 1; + + // percent-th percentile of latency observed, in microseconds. + // Fraction of percent/100 of samples have latency lower or + // equal to the value of this field. + int64 latency_micros = 2; +} + +// Describes measured latency distribution. +message LatencyDistribution { + // Representative latency percentiles. + repeated LatencyPercentile latency_percentiles = 1; +} + +// Results of active probing from the last run of the test. +message ProbingDetails { + // Overall probing result of the test. + enum ProbingResult { + // No result was specified. + PROBING_RESULT_UNSPECIFIED = 0; + + // At least 95% of packets reached the destination. + REACHABLE = 1; + + // No packets reached the destination. + UNREACHABLE = 2; + + // Less than 95% of packets reached the destination. + REACHABILITY_INCONSISTENT = 3; + + // Reachability could not be determined. Possible reasons are: + // * The user lacks permission to access some of the network resources + // required to run the test. + // * No valid source endpoint could be derived from the request. + // * An internal error occurred. + UNDETERMINED = 4; + } + + // Abort cause types. + enum ProbingAbortCause { + // No reason was specified. + PROBING_ABORT_CAUSE_UNSPECIFIED = 0; + + // The user lacks permission to access some of the + // network resources required to run the test. + PERMISSION_DENIED = 1; + + // No valid source endpoint could be derived from the request. + NO_SOURCE_LOCATION = 2; + } + + // Representation of a network edge location as per + // https://cloud.google.com/vpc/docs/edge-locations. + message EdgeLocation { + // Name of the metropolitan area. + string metropolitan_area = 1; + } + + // The overall result of active probing. + ProbingResult result = 1; + + // The time that reachability was assessed through active probing. + google.protobuf.Timestamp verify_time = 2; + + // Details about an internal failure or the cancellation of active probing. + google.rpc.Status error = 3; + + // The reason probing was aborted. + ProbingAbortCause abort_cause = 4; + + // Number of probes sent. + int32 sent_probe_count = 5; + + // Number of probes that reached the destination. + int32 successful_probe_count = 6; + + // The source and destination endpoints derived from the test input and used + // for active probing. + EndpointInfo endpoint_info = 7; + + // Latency as measured by active probing in one direction: + // from the source to the destination endpoint. + LatencyDistribution probing_latency = 8; + + // The EdgeLocation from which a packet destined for/originating from the + // internet will egress/ingress the Google network. + // This will only be populated for a connectivity test which has an internet + // destination/source address. + // The absence of this field *must not* be used as an indication that the + // destination/source is part of the Google network. + EdgeLocation destination_egress_location = 9; +} diff --git a/third_party/googleapis/google/cloud/networkmanagement/v1/trace.proto b/third_party/googleapis/google/cloud/networkmanagement/v1/trace.proto index 945b1baf4..3316f6f09 100644 --- a/third_party/googleapis/google/cloud/networkmanagement/v1/trace.proto +++ b/third_party/googleapis/google/cloud/networkmanagement/v1/trace.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -68,6 +68,12 @@ message Step { // The endpoint information is populated. START_FROM_INTERNET = 2; + // Initial state: packet originating from a Google service. Some Google + // services, such as health check probers or Identity Aware Proxy use + // special routes, outside VPC routing configuration to reach Compute Engine + // Instances. + START_FROM_GOOGLE_SERVICE = 27; + // Initial state: packet originating from a VPC or on-premises network // with internal source IP. // If the source is a VPC network visible to the user, a NetworkInfo @@ -82,6 +88,18 @@ message Step { // A CloudSQLInstanceInfo is populated with starting instance information. START_FROM_CLOUD_SQL_INSTANCE = 22; + // Initial state: packet originating from a Cloud Function. + // A CloudFunctionInfo is populated with starting function information. + START_FROM_CLOUD_FUNCTION = 23; + + // Initial state: packet originating from an App Engine service version. + // An AppEngineVersionInfo is populated with starting version information. + START_FROM_APP_ENGINE_VERSION = 25; + + // Initial state: packet originating from a Cloud Run revision. + // A CloudRunRevisionInfo is populated with starting revision information. + START_FROM_CLOUD_RUN_REVISION = 26; + // Config checking state: verify ingress firewall rule. APPLY_INGRESS_FIREWALL_RULE = 4; @@ -113,6 +131,9 @@ message Step { // Forwarding state: arriving at a Cloud VPN tunnel. ARRIVE_AT_VPN_TUNNEL = 13; + // Forwarding state: arriving at a VPC connector. + ARRIVE_AT_VPC_CONNECTOR = 24; + // Transition state: packet header translated. NAT = 14; @@ -171,6 +192,9 @@ message Step { // or Connection Proxy. EndpointInfo endpoint = 8; + // Display information of a Google service + GoogleServiceInfo google_service = 24; + // Display information of a Compute Engine forwarding rule. ForwardingRuleInfo forwarding_rule = 9; @@ -180,6 +204,9 @@ message Step { // Display information of a Compute Engine VPN tunnel. VpnTunnelInfo vpn_tunnel = 11; + // Display information of a VPC connector. + VpcConnectorInfo vpc_connector = 21; + // Display information of the final state "deliver" and reason. DeliverInfo deliver = 12; @@ -203,6 +230,15 @@ message Step { // Display information of a Cloud SQL instance. CloudSQLInstanceInfo cloud_sql_instance = 19; + + // Display information of a Cloud Function. + CloudFunctionInfo cloud_function = 20; + + // Display information of an App Engine service version. + AppEngineVersionInfo app_engine_version = 22; + + // Display information of a Cloud Run revision. + CloudRunRevisionInfo cloud_run_revision = 23; } } @@ -267,6 +303,22 @@ message FirewallInfo { // [Implied // rules](https://cloud.google.com/vpc/docs/firewalls#default_firewall_rules). IMPLIED_VPC_FIREWALL_RULE = 3; + + // Implicit firewall rules that are managed by serverless VPC access to + // allow ingress access. They are not visible in the Google Cloud console. + // For details, see [VPC connector's implicit + // rules](https://cloud.google.com/functions/docs/networking/connecting-vpc#restrict-access). + SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE = 4; + + // Global network firewall policy rule. + // For details, see [Network firewall + // policies](https://cloud.google.com/vpc/docs/network-firewall-policies). + NETWORK_FIREWALL_POLICY_RULE = 5; + + // Regional network firewall policy rule. + // For details, see [Regional network firewall + // policies](https://cloud.google.com/firewall/docs/regional-firewall-policies). + NETWORK_REGIONAL_FIREWALL_POLICY_RULE = 6; } // The display name of the VPC firewall rule. This field is not applicable @@ -330,6 +382,9 @@ message RouteInfo { // A dynamic route received from peering network. PEERING_DYNAMIC = 6; + + // Policy based route. + POLICY_BASED = 7; } // Type of next hop: @@ -375,6 +430,21 @@ message RouteInfo { // [router appliance // instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview). NEXT_HOP_ROUTER_APPLIANCE = 11; + + // Next hop is an NCC hub. + NEXT_HOP_NCC_HUB = 12; + } + + // Indicates where routes are applicable. + enum RouteScope { + // Unspecified scope. Default value. + ROUTE_SCOPE_UNSPECIFIED = 0; + + // Route is applicable to packets in Network. + NETWORK = 1; + + // Route is applicable to packets using NCC Hub's routing table. + NCC_HUB = 2; } // Type of route. @@ -383,13 +453,16 @@ message RouteInfo { // Type of next hop. NextHopType next_hop_type = 9; - // Name of a Compute Engine route. + // Indicates where route is applicable. + RouteScope route_scope = 14; + + // Name of a route. string display_name = 1; - // URI of a Compute Engine route. - // Dynamic route from cloud router does not have a URI. + // URI of a route. + // Dynamic, peering static and peering dynamic routes do not have an URI. // Advertised route from Google Cloud VPC to on-premises network also does - // not have a URI. + // not have an URI. string uri = 2; // Destination IP range of the route. @@ -398,7 +471,7 @@ message RouteInfo { // Next hop of the route. string next_hop = 4; - // URI of a Compute Engine network. + // URI of a Compute Engine network. NETWORK routes only. string network_uri = 5; // Priority of the route. @@ -406,6 +479,59 @@ message RouteInfo { // Instance tags of the route. repeated string instance_tags = 7; + + // Source IP address range of the route. Policy based routes only. + string src_ip_range = 10; + + // Destination port ranges of the route. Policy based routes only. + repeated string dest_port_ranges = 11; + + // Source port ranges of the route. Policy based routes only. + repeated string src_port_ranges = 12; + + // Protocols of the route. Policy based routes only. + repeated string protocols = 13; + + // URI of a NCC Hub. NCC_HUB routes only. + optional string ncc_hub_uri = 15; + + // URI of a NCC Spoke. NCC_HUB routes only. + optional string ncc_spoke_uri = 16; +} + +// For display only. Details of a Google Service sending packets to a +// VPC network. Although the source IP might be a publicly routable address, +// some Google Services use special routes within Google production +// infrastructure to reach Compute Engine Instances. +// https://cloud.google.com/vpc/docs/routes#special_return_paths +message GoogleServiceInfo { + // Recognized type of a Google Service. + enum GoogleServiceType { + // Unspecified Google Service. Includes most of Google APIs and services. + GOOGLE_SERVICE_TYPE_UNSPECIFIED = 0; + + // Identity aware proxy. + // https://cloud.google.com/iap/docs/using-tcp-forwarding + IAP = 1; + + // One of two services sharing IP ranges: + // * Load Balancer proxy + // * Centralized Health Check prober + // https://cloud.google.com/load-balancing/docs/firewall-rules + GFE_PROXY_OR_HEALTH_CHECK_PROBER = 2; + + // Connectivity from Cloud DNS to forwarding targets or alternate name + // servers that use private routing. + // https://cloud.google.com/dns/docs/zones/forwarding-zones#firewall-rules + // https://cloud.google.com/dns/docs/policies#firewall-rules + CLOUD_DNS = 3; + } + + // Source IP address. + string source_ip = 1; + + // Recognized type of a Google Service. + GoogleServiceType google_service_type = 2; } // For display only. Metadata associated with a Compute Engine forwarding rule. @@ -465,6 +591,9 @@ message LoadBalancerInfo { // Target Pool as the load balancer's backend. TARGET_POOL = 2; + + // Target Instance as the load balancer's backend. + TARGET_INSTANCE = 3; } // Type of the load balancer. @@ -611,6 +740,9 @@ message EndpointInfo { // URI of the network where this packet is sent to. string destination_network_uri = 7; + + // URI of the source telemetry agent this packet originates from. + string source_agent_uri = 8; } // Details of the final state "deliver" and associated resource. @@ -634,6 +766,21 @@ message DeliverInfo { // Target is a Cloud SQL instance. CLOUD_SQL_INSTANCE = 5; + + // Target is a published service that uses [Private Service + // Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-services). + PSC_PUBLISHED_SERVICE = 6; + + // Target is all Google APIs that use [Private Service + // Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-apis). + PSC_GOOGLE_API = 7; + + // Target is a VPC-SC that uses [Private Service + // Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-apis). + PSC_VPC_SC = 8; + + // Target is a serverless network endpoint group. + SERVERLESS_NEG = 9; } // Target type where the packet is delivered to. @@ -667,6 +814,12 @@ message ForwardInfo { // Forwarded to a Cloud SQL instance. CLOUD_SQL_INSTANCE = 6; + + // Forwarded to a VPC network in another project. + ANOTHER_PROJECT = 7; + + // Forwarded to an NCC Hub. + NCC_HUB = 8; } // Target type where this packet is forwarded to. @@ -742,6 +895,30 @@ message AbortInfo { // Aborted because the test scenario is not supported. UNSUPPORTED = 15; + + // Aborted because the source and destination resources have no common IP + // version. + MISMATCHED_IP_VERSION = 16; + + // Aborted because the connection between the control plane and the node of + // the source cluster is initiated by the node and managed by the + // Konnectivity proxy. + GKE_KONNECTIVITY_PROXY_UNSUPPORTED = 17; + + // Aborted because expected resource configuration was missing. + RESOURCE_CONFIG_NOT_FOUND = 18; + + // Aborted because a PSC endpoint selection for the Google-managed service + // is ambiguous (several PSC endpoints satisfy test input). + GOOGLE_MANAGED_SERVICE_AMBIGUOUS_PSC_ENDPOINT = 19; + + // Aborted because tests with a PSC-based Cloud SQL instance as a source are + // not supported. + SOURCE_PSC_CLOUD_SQL_UNSUPPORTED = 20; + + // Aborted because tests with a forwarding rule as a source are not + // supported. + SOURCE_FORWARDING_RULE_UNSUPPORTED = 21; } // Causes that the analysis is aborted. @@ -808,6 +985,10 @@ message DropInfo { // Forwarding rule's protocol and ports do not match the packet header. FORWARDING_RULE_MISMATCH = 11; + // Packet could be dropped because it was sent from a different region + // to a regional forwarding without global access. + FORWARDING_RULE_REGION_MISMATCH = 25; + // Forwarding rule does not have backends configured. FORWARDING_RULE_NO_INSTANCES = 12; @@ -821,6 +1002,12 @@ message DropInfo { // running state. INSTANCE_NOT_RUNNING = 14; + // Packet sent from or to a GKE cluster that is not in running state. + GKE_CLUSTER_NOT_RUNNING = 27; + + // Packet sent from or to a Cloud SQL instance that is not in running state. + CLOUD_SQL_INSTANCE_NOT_RUNNING = 28; + // The type of traffic is blocked and the user cannot configure a firewall // rule to enable it. See [Always blocked // traffic](https://cloud.google.com/vpc/docs/firewalls#blockedtraffic) for @@ -849,9 +1036,67 @@ message DropInfo { // network and the Google Managed Services Network. GOOGLE_MANAGED_SERVICE_NO_PEERING = 20; + // Packet was dropped because the Google-managed service uses Private + // Service Connect (PSC), but the PSC endpoint is not found in the project. + GOOGLE_MANAGED_SERVICE_NO_PSC_ENDPOINT = 38; + + // Packet was dropped because the GKE cluster uses Private Service Connect + // (PSC), but the PSC endpoint is not found in the project. + GKE_PSC_ENDPOINT_MISSING = 36; + // Packet was dropped because the Cloud SQL instance has neither a private // nor a public IP address. CLOUD_SQL_INSTANCE_NO_IP_ADDRESS = 21; + + // Packet was dropped because a GKE cluster private endpoint is + // unreachable from a region different from the cluster's region. + GKE_CONTROL_PLANE_REGION_MISMATCH = 30; + + // Packet sent from a public GKE cluster control plane to a private + // IP address. + PUBLIC_GKE_CONTROL_PLANE_TO_PRIVATE_DESTINATION = 31; + + // Packet was dropped because there is no route from a GKE cluster + // control plane to a destination network. + GKE_CONTROL_PLANE_NO_ROUTE = 32; + + // Packet sent from a Cloud SQL instance to an external IP address is not + // allowed. The Cloud SQL instance is not configured to send packets to + // external IP addresses. + CLOUD_SQL_INSTANCE_NOT_CONFIGURED_FOR_EXTERNAL_TRAFFIC = 33; + + // Packet sent from a Cloud SQL instance with only a public IP address to a + // private IP address. + PUBLIC_CLOUD_SQL_INSTANCE_TO_PRIVATE_DESTINATION = 34; + + // Packet was dropped because there is no route from a Cloud SQL + // instance to a destination network. + CLOUD_SQL_INSTANCE_NO_ROUTE = 35; + + // Packet could be dropped because the Cloud Function is not in an active + // status. + CLOUD_FUNCTION_NOT_ACTIVE = 22; + + // Packet could be dropped because no VPC connector is set. + VPC_CONNECTOR_NOT_SET = 23; + + // Packet could be dropped because the VPC connector is not in a running + // state. + VPC_CONNECTOR_NOT_RUNNING = 24; + + // The Private Service Connect endpoint is in a project that is not approved + // to connect to the service. + PSC_CONNECTION_NOT_ACCEPTED = 26; + + // Packet sent from a Cloud Run revision that is not ready. + CLOUD_RUN_REVISION_NOT_READY = 29; + + // Packet was dropped inside Private Service Connect service producer. + DROPPED_INSIDE_PSC_SERVICE_PRODUCER = 37; + + // Packet sent to a load balancer, which requires a proxy-only subnet and + // the subnet is not found. + LOAD_BALANCER_HAS_NO_PROXY_SUBNET = 39; } // Cause that the packet is dropped. @@ -898,3 +1143,99 @@ message CloudSQLInstanceInfo { // Region in which the Cloud SQL instance is running. string region = 7; } + +// For display only. Metadata associated with a Cloud Function. +message CloudFunctionInfo { + // Name of a Cloud Function. + string display_name = 1; + + // URI of a Cloud Function. + string uri = 2; + + // Location in which the Cloud Function is deployed. + string location = 3; + + // Latest successfully deployed version id of the Cloud Function. + int64 version_id = 4; +} + +// For display only. Metadata associated with a Cloud Run revision. +message CloudRunRevisionInfo { + // Name of a Cloud Run revision. + string display_name = 1; + + // URI of a Cloud Run revision. + string uri = 2; + + // Location in which this revision is deployed. + string location = 4; + + // URI of Cloud Run service this revision belongs to. + string service_uri = 5; +} + +// For display only. Metadata associated with an App Engine version. +message AppEngineVersionInfo { + // Name of an App Engine version. + string display_name = 1; + + // URI of an App Engine version. + string uri = 2; + + // Runtime of the App Engine version. + string runtime = 3; + + // App Engine execution environment for a version. + string environment = 4; +} + +// For display only. Metadata associated with a VPC connector. +message VpcConnectorInfo { + // Name of a VPC connector. + string display_name = 1; + + // URI of a VPC connector. + string uri = 2; + + // Location in which the VPC connector is deployed. + string location = 3; +} + +// Type of a load balancer. For more information, see [Summary of Google Cloud +// load +// balancers](https://cloud.google.com/load-balancing/docs/load-balancing-overview#summary-of-google-cloud-load-balancers). +enum LoadBalancerType { + // Forwarding rule points to a different target than a load balancer or a + // load balancer type is unknown. + LOAD_BALANCER_TYPE_UNSPECIFIED = 0; + + // Global external HTTP(S) load balancer. + HTTPS_ADVANCED_LOAD_BALANCER = 1; + + // Global external HTTP(S) load balancer (classic) + HTTPS_LOAD_BALANCER = 2; + + // Regional external HTTP(S) load balancer. + REGIONAL_HTTPS_LOAD_BALANCER = 3; + + // Internal HTTP(S) load balancer. + INTERNAL_HTTPS_LOAD_BALANCER = 4; + + // External SSL proxy load balancer. + SSL_PROXY_LOAD_BALANCER = 5; + + // External TCP proxy load balancer. + TCP_PROXY_LOAD_BALANCER = 6; + + // Internal regional TCP proxy load balancer. + INTERNAL_TCP_PROXY_LOAD_BALANCER = 7; + + // External TCP/UDP Network load balancer. + NETWORK_LOAD_BALANCER = 8; + + // Target-pool based external TCP/UDP Network load balancer. + LEGACY_NETWORK_LOAD_BALANCER = 9; + + // Internal TCP/UDP load balancer. + TCP_UDP_INTERNAL_LOAD_BALANCER = 10; +} diff --git a/third_party/googleapis/google/cloud/networkmanagement/v1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/networkmanagement/v1beta1/BUILD.bazel index 28b98221d..c99e809a6 100644 --- a/third_party/googleapis/google/cloud/networkmanagement/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/networkmanagement/v1beta1/BUILD.bazel @@ -74,12 +74,14 @@ java_gapic_library( srcs = [":networkmanagement_proto_with_info"], grpc_service_config = "networkmanagement_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "networkmanagement_v1beta1.yaml", test_deps = [ ":networkmanagement_java_grpc", ], transport = "grpc+rest", deps = [ ":networkmanagement_java_proto", + "//google/api:api_java_proto", ], ) @@ -113,7 +115,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -146,19 +147,13 @@ go_gapic_library( ], ) -go_test( - name = "networkmanagement_go_gapic_test", - srcs = [":networkmanagement_go_gapic_srcjar_test"], - embed = [":networkmanagement_go_gapic"], - importpath = "cloud.google.com/go/networkmanagement/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-networkmanagement-v1beta1-go", deps = [ ":networkmanagement_go_gapic", ":networkmanagement_go_gapic_srcjar-metadata.srcjar", + ":networkmanagement_go_gapic_srcjar-snippets.srcjar", ":networkmanagement_go_gapic_srcjar-test.srcjar", ":networkmanagement_go_proto", ], @@ -182,16 +177,15 @@ py_gapic_library( transport = "grpc+rest", ) -# Uncomment once https://github.com/googleapis/gapic-generator-python/issues/1376 is fixed -#py_test( -# name = "networkmanagement_py_gapic_test", -# srcs = [ -# "networkmanagement_py_gapic_pytest.py", -# "networkmanagement_py_gapic_test.py", -# ], -# legacy_create_init = False, -# deps = [":networkmanagement_py_gapic"], -#) +py_test( + name = "networkmanagement_py_gapic_test", + srcs = [ + "networkmanagement_py_gapic_pytest.py", + "networkmanagement_py_gapic_test.py", + ], + legacy_create_init = False, + deps = [":networkmanagement_py_gapic"], +) # Open Source Packages py_gapic_assembly_pkg( @@ -208,7 +202,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -217,12 +210,6 @@ php_proto_library( deps = [":networkmanagement_proto"], ) -php_grpc_library( - name = "networkmanagement_php_grpc", - srcs = [":networkmanagement_proto"], - deps = [":networkmanagement_php_proto"], -) - php_gapic_library( name = "networkmanagement_php_gapic", srcs = [":networkmanagement_proto_with_info"], @@ -230,10 +217,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "networkmanagement_v1beta1.yaml", transport = "grpc+rest", - deps = [ - ":networkmanagement_php_grpc", - ":networkmanagement_php_proto", - ], + deps = [":networkmanagement_php_proto"], ) # Open Source Packages @@ -241,7 +225,6 @@ php_gapic_assembly_pkg( name = "google-cloud-networkmanagement-v1beta1-php", deps = [ ":networkmanagement_php_gapic", - ":networkmanagement_php_grpc", ":networkmanagement_php_proto", ], ) @@ -312,6 +295,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "The Network Management API provides a collection of network performance monitoring and diagnostic capabilities.", ruby_cloud_title = "Network Management V1beta1", service_yaml = "networkmanagement_v1beta1.yaml", + transport = "grpc+rest", deps = [ ":networkmanagement_ruby_grpc", ":networkmanagement_ruby_proto", diff --git a/third_party/googleapis/google/cloud/networkmanagement/v1beta1/connectivity_test.proto b/third_party/googleapis/google/cloud/networkmanagement/v1beta1/connectivity_test.proto index cfbae11c1..b565eb345 100644 --- a/third_party/googleapis/google/cloud/networkmanagement/v1beta1/connectivity_test.proto +++ b/third_party/googleapis/google/cloud/networkmanagement/v1beta1/connectivity_test.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -132,20 +132,56 @@ message Endpoint { // Default type if unspecified. NETWORK_TYPE_UNSPECIFIED = 0; - // A network hosted within Google Cloud Platform. + // A network hosted within Google Cloud. // To receive more detailed output, specify the URI for the source or // destination network. GCP_NETWORK = 1; - // A network hosted outside of Google Cloud Platform. + // A network hosted outside of Google Cloud. // This can be an on-premises network, or a network hosted by another cloud // provider. NON_GCP_NETWORK = 2; } - // Wrapper for cloud function attributes. + // Type of the target of a forwarding rule. + enum ForwardingRuleTarget { + // Forwarding rule target is unknown. + FORWARDING_RULE_TARGET_UNSPECIFIED = 0; + + // Compute Engine instance for protocol forwarding. + INSTANCE = 1; + + // Load Balancer. The specific type can be found from [load_balancer_type] + // [google.cloud.networkmanagement.v1beta1.Endpoint.load_balancer_type]. + LOAD_BALANCER = 2; + + // Classic Cloud VPN Gateway. + VPN_GATEWAY = 3; + + // Forwarding Rule is a Private Service Connect endpoint. + PSC = 4; + } + + // Wrapper for Cloud Function attributes. message CloudFunctionEndpoint { - // A [Cloud function](https://cloud.google.com/functions) name. + // A [Cloud Function](https://cloud.google.com/functions) name. + string uri = 1; + } + + // Wrapper for the App Engine service version attributes. + message AppEngineVersionEndpoint { + // An [App Engine](https://cloud.google.com/appengine) [service + // version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions) + // name. + string uri = 1; + } + + // Wrapper for Cloud Run revision attributes. + message CloudRunRevisionEndpoint { + // A [Cloud Run](https://cloud.google.com/run) + // [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) + // URI. The format is: + // projects/{project}/locations/{location}/revisions/{revision} string uri = 1; } @@ -162,6 +198,27 @@ message Endpoint { // A Compute Engine instance URI. string instance = 3; + // A forwarding rule and its corresponding IP address represent the frontend + // configuration of a Google Cloud load balancer. Forwarding rules are also + // used for protocol forwarding, Private Service Connect and other network + // services to provide forwarding information in the control plane. Format: + // projects/{project}/global/forwardingRules/{id} or + // projects/{project}/regions/{region}/forwardingRules/{id} + string forwarding_rule = 13; + + // Output only. Specifies the type of the target of the forwarding rule. + optional ForwardingRuleTarget forwarding_rule_target = 14 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. ID of the load balancer the forwarding rule points to. Empty + // for forwarding rules not related to load balancers. + optional string load_balancer_id = 15 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Type of the load balancer the forwarding rule points to. + optional LoadBalancerType load_balancer_type = 16 + [(google.api.field_behavior) = OUTPUT_ONLY]; + // A cluster URI for [Google Kubernetes Engine // master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture). string gke_master_cluster = 7; @@ -169,9 +226,17 @@ message Endpoint { // A [Cloud SQL](https://cloud.google.com/sql) instance URI. string cloud_sql_instance = 8; - // A [Cloud function](https://cloud.google.com/functions). + // A [Cloud Function](https://cloud.google.com/functions). CloudFunctionEndpoint cloud_function = 10; + // An [App Engine](https://cloud.google.com/appengine) [service + // version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions). + AppEngineVersionEndpoint app_engine_version = 11; + + // A [Cloud Run](https://cloud.google.com/run) + // [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) + CloudRunRevisionEndpoint cloud_run_revision = 12; + // A Compute Engine network URI. string network = 4; @@ -184,8 +249,8 @@ message Endpoint { // The Project ID can be derived from the URI if you provide a VM instance or // network URI. // The following are two cases where you must provide the project ID: - // 1. Only the IP address is specified, and the IP address is within a GCP - // project. + // 1. Only the IP address is specified, and the IP address is within a Google + // Cloud project. // 2. When you are using Shared VPC and the IP address that you provide is // from the service project. In this case, the network that the IP address // resides in is defined in the host project. diff --git a/third_party/googleapis/google/cloud/networkmanagement/v1beta1/trace.proto b/third_party/googleapis/google/cloud/networkmanagement/v1beta1/trace.proto index bd14fd549..ebc53ba0d 100644 --- a/third_party/googleapis/google/cloud/networkmanagement/v1beta1/trace.proto +++ b/third_party/googleapis/google/cloud/networkmanagement/v1beta1/trace.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -68,6 +68,12 @@ message Step { // The endpoint information is populated. START_FROM_INTERNET = 2; + // Initial state: packet originating from a Google service. Some Google + // services, such as health check probers or Identity Aware Proxy use + // special routes, outside VPC routing configuration to reach Compute Engine + // Instances. + START_FROM_GOOGLE_SERVICE = 27; + // Initial state: packet originating from a VPC or on-premises network // with internal source IP. // If the source is a VPC network visible to the user, a NetworkInfo @@ -82,10 +88,18 @@ message Step { // A CloudSQLInstanceInfo is populated with starting instance information. START_FROM_CLOUD_SQL_INSTANCE = 22; - // Initial state: packet originating from a Cloud function. + // Initial state: packet originating from a Cloud Function. // A CloudFunctionInfo is populated with starting function information. START_FROM_CLOUD_FUNCTION = 23; + // Initial state: packet originating from an App Engine service version. + // An AppEngineVersionInfo is populated with starting version information. + START_FROM_APP_ENGINE_VERSION = 25; + + // Initial state: packet originating from a Cloud Run revision. + // A CloudRunRevisionInfo is populated with starting revision information. + START_FROM_CLOUD_RUN_REVISION = 26; + // Config checking state: verify ingress firewall rule. APPLY_INGRESS_FIREWALL_RULE = 4; @@ -178,6 +192,9 @@ message Step { // or Connection Proxy. EndpointInfo endpoint = 8; + // Display information of a Google service + GoogleServiceInfo google_service = 24; + // Display information of a Compute Engine forwarding rule. ForwardingRuleInfo forwarding_rule = 9; @@ -214,8 +231,14 @@ message Step { // Display information of a Cloud SQL instance. CloudSQLInstanceInfo cloud_sql_instance = 19; - // Display information of a Cloud function. + // Display information of a Cloud Function. CloudFunctionInfo cloud_function = 20; + + // Display information of an App Engine service version. + AppEngineVersionInfo app_engine_version = 22; + + // Display information of a Cloud Run revision. + CloudRunRevisionInfo cloud_run_revision = 23; } } @@ -286,6 +309,16 @@ message FirewallInfo { // For details, see [VPC connector's implicit // rules](https://cloud.google.com/functions/docs/networking/connecting-vpc#restrict-access). SERVERLESS_VPC_ACCESS_MANAGED_FIREWALL_RULE = 4; + + // Global network firewall policy rule. + // For details, see [Network firewall + // policies](https://cloud.google.com/vpc/docs/network-firewall-policies). + NETWORK_FIREWALL_POLICY_RULE = 5; + + // Regional network firewall policy rule. + // For details, see [Regional network firewall + // policies](https://cloud.google.com/firewall/docs/regional-firewall-policies). + NETWORK_REGIONAL_FIREWALL_POLICY_RULE = 6; } // The display name of the VPC firewall rule. This field is not applicable @@ -349,6 +382,9 @@ message RouteInfo { // A dynamic route received from peering network. PEERING_DYNAMIC = 6; + + // Policy based route. + POLICY_BASED = 7; } // Type of next hop: @@ -394,6 +430,21 @@ message RouteInfo { // [router appliance // instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview). NEXT_HOP_ROUTER_APPLIANCE = 11; + + // Next hop is an NCC hub. + NEXT_HOP_NCC_HUB = 12; + } + + // Indicates where routes are applicable. + enum RouteScope { + // Unspecified scope. Default value. + ROUTE_SCOPE_UNSPECIFIED = 0; + + // Route is applicable to packets in Network. + NETWORK = 1; + + // Route is applicable to packets using NCC Hub's routing table. + NCC_HUB = 2; } // Type of route. @@ -402,13 +453,16 @@ message RouteInfo { // Type of next hop. NextHopType next_hop_type = 9; - // Name of a Compute Engine route. + // Indicates where route is applicable. + RouteScope route_scope = 14; + + // Name of a route. string display_name = 1; - // URI of a Compute Engine route. - // Dynamic route from cloud router does not have a URI. + // URI of a route. + // Dynamic, peering static and peering dynamic routes do not have an URI. // Advertised route from Google Cloud VPC to on-premises network also does - // not have a URI. + // not have an URI. string uri = 2; // Destination IP range of the route. @@ -417,7 +471,7 @@ message RouteInfo { // Next hop of the route. string next_hop = 4; - // URI of a Compute Engine network. + // URI of a Compute Engine network. NETWORK routes only. string network_uri = 5; // Priority of the route. @@ -425,6 +479,59 @@ message RouteInfo { // Instance tags of the route. repeated string instance_tags = 7; + + // Source IP address range of the route. Policy based routes only. + string src_ip_range = 10; + + // Destination port ranges of the route. Policy based routes only. + repeated string dest_port_ranges = 11; + + // Source port ranges of the route. Policy based routes only. + repeated string src_port_ranges = 12; + + // Protocols of the route. Policy based routes only. + repeated string protocols = 13; + + // URI of a NCC Hub. NCC_HUB routes only. + optional string ncc_hub_uri = 15; + + // URI of a NCC Spoke. NCC_HUB routes only. + optional string ncc_spoke_uri = 16; +} + +// For display only. Details of a Google Service sending packets to a +// VPC network. Although the source IP might be a publicly routable address, +// some Google Services use special routes within Google production +// infrastructure to reach Compute Engine Instances. +// https://cloud.google.com/vpc/docs/routes#special_return_paths +message GoogleServiceInfo { + // Recognized type of a Google Service. + enum GoogleServiceType { + // Unspecified Google Service. Includes most of Google APIs and services. + GOOGLE_SERVICE_TYPE_UNSPECIFIED = 0; + + // Identity aware proxy. + // https://cloud.google.com/iap/docs/using-tcp-forwarding + IAP = 1; + + // One of two services sharing IP ranges: + // * Load Balancer proxy + // * Centralized Health Check prober + // https://cloud.google.com/load-balancing/docs/firewall-rules + GFE_PROXY_OR_HEALTH_CHECK_PROBER = 2; + + // Connectivity from Cloud DNS to forwarding targets or alternate name + // servers that use private routing. + // https://cloud.google.com/dns/docs/zones/forwarding-zones#firewall-rules + // https://cloud.google.com/dns/docs/policies#firewall-rules + CLOUD_DNS = 3; + } + + // Source IP address. + string source_ip = 1; + + // Recognized type of a Google Service. + GoogleServiceType google_service_type = 2; } // For display only. Metadata associated with a Compute Engine forwarding rule. @@ -484,6 +591,9 @@ message LoadBalancerInfo { // Target Pool as the load balancer's backend. TARGET_POOL = 2; + + // Target Instance as the load balancer's backend. + TARGET_INSTANCE = 3; } // Type of the load balancer. @@ -657,17 +767,20 @@ message DeliverInfo { // Target is a Cloud SQL instance. CLOUD_SQL_INSTANCE = 5; - // Target is a published service using [Private Service + // Target is a published service that uses [Private Service // Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-services). PSC_PUBLISHED_SERVICE = 6; - // Target is all Google APIs using [Private Service + // Target is all Google APIs that use [Private Service // Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-apis). PSC_GOOGLE_API = 7; - // Target is VPC-SC using [Private Service + // Target is a VPC-SC that uses [Private Service // Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-apis). PSC_VPC_SC = 8; + + // Target is a serverless network endpoint group. + SERVERLESS_NEG = 9; } // Target type where the packet is delivered to. @@ -701,6 +814,12 @@ message ForwardInfo { // Forwarded to a Cloud SQL instance. CLOUD_SQL_INSTANCE = 6; + + // Forwarded to a VPC network in another project. + ANOTHER_PROJECT = 7; + + // Forwarded to an NCC Hub. + NCC_HUB = 8; } // Target type where this packet is forwarded to. @@ -776,6 +895,30 @@ message AbortInfo { // Aborted because the test scenario is not supported. UNSUPPORTED = 15; + + // Aborted because the source and destination resources have no common IP + // version. + MISMATCHED_IP_VERSION = 16; + + // Aborted because the connection between the control plane and the node of + // the source cluster is initiated by the node and managed by the + // Konnectivity proxy. + GKE_KONNECTIVITY_PROXY_UNSUPPORTED = 17; + + // Aborted because expected resource configuration was missing. + RESOURCE_CONFIG_NOT_FOUND = 18; + + // Aborted because a PSC endpoint selection for the Google-managed service + // is ambiguous (several PSC endpoints satisfy test input). + GOOGLE_MANAGED_SERVICE_AMBIGUOUS_PSC_ENDPOINT = 19; + + // Aborted because tests with a PSC-based Cloud SQL instance as a source are + // not supported. + SOURCE_PSC_CLOUD_SQL_UNSUPPORTED = 20; + + // Aborted because tests with a forwarding rule as a source are not + // supported. + SOURCE_FORWARDING_RULE_UNSUPPORTED = 21; } // Causes that the analysis is aborted. @@ -842,6 +985,10 @@ message DropInfo { // Forwarding rule's protocol and ports do not match the packet header. FORWARDING_RULE_MISMATCH = 11; + // Packet could be dropped because it was sent from a different region + // to a regional forwarding without global access. + FORWARDING_RULE_REGION_MISMATCH = 25; + // Forwarding rule does not have backends configured. FORWARDING_RULE_NO_INSTANCES = 12; @@ -855,6 +1002,12 @@ message DropInfo { // running state. INSTANCE_NOT_RUNNING = 14; + // Packet sent from or to a GKE cluster that is not in running state. + GKE_CLUSTER_NOT_RUNNING = 27; + + // Packet sent from or to a Cloud SQL instance that is not in running state. + CLOUD_SQL_INSTANCE_NOT_RUNNING = 28; + // The type of traffic is blocked and the user cannot configure a firewall // rule to enable it. See [Always blocked // traffic](https://cloud.google.com/vpc/docs/firewalls#blockedtraffic) for @@ -883,11 +1036,44 @@ message DropInfo { // network and the Google Managed Services Network. GOOGLE_MANAGED_SERVICE_NO_PEERING = 20; + // Packet was dropped because the Google-managed service uses Private + // Service Connect (PSC), but the PSC endpoint is not found in the project. + GOOGLE_MANAGED_SERVICE_NO_PSC_ENDPOINT = 38; + + // Packet was dropped because the GKE cluster uses Private Service Connect + // (PSC), but the PSC endpoint is not found in the project. + GKE_PSC_ENDPOINT_MISSING = 36; + // Packet was dropped because the Cloud SQL instance has neither a private // nor a public IP address. CLOUD_SQL_INSTANCE_NO_IP_ADDRESS = 21; - // Packet could be dropped because the Cloud function is not in an active + // Packet was dropped because a GKE cluster private endpoint is + // unreachable from a region different from the cluster's region. + GKE_CONTROL_PLANE_REGION_MISMATCH = 30; + + // Packet sent from a public GKE cluster control plane to a private + // IP address. + PUBLIC_GKE_CONTROL_PLANE_TO_PRIVATE_DESTINATION = 31; + + // Packet was dropped because there is no route from a GKE cluster + // control plane to a destination network. + GKE_CONTROL_PLANE_NO_ROUTE = 32; + + // Packet sent from a Cloud SQL instance to an external IP address is not + // allowed. The Cloud SQL instance is not configured to send packets to + // external IP addresses. + CLOUD_SQL_INSTANCE_NOT_CONFIGURED_FOR_EXTERNAL_TRAFFIC = 33; + + // Packet sent from a Cloud SQL instance with only a public IP address to a + // private IP address. + PUBLIC_CLOUD_SQL_INSTANCE_TO_PRIVATE_DESTINATION = 34; + + // Packet was dropped because there is no route from a Cloud SQL + // instance to a destination network. + CLOUD_SQL_INSTANCE_NO_ROUTE = 35; + + // Packet could be dropped because the Cloud Function is not in an active // status. CLOUD_FUNCTION_NOT_ACTIVE = 22; @@ -898,12 +1084,19 @@ message DropInfo { // state. VPC_CONNECTOR_NOT_RUNNING = 24; - // Packet could be dropped because it was sent from a different region - // to a regional forwarding without global access. - FORWARDING_RULE_REGION_MISMATCH = 25; - - // Privte Service Connect (PSC) connection is not in accepted state. + // The Private Service Connect endpoint is in a project that is not approved + // to connect to the service. PSC_CONNECTION_NOT_ACCEPTED = 26; + + // Packet sent from a Cloud Run revision that is not ready. + CLOUD_RUN_REVISION_NOT_READY = 29; + + // Packet was dropped inside Private Service Connect service producer. + DROPPED_INSIDE_PSC_SERVICE_PRODUCER = 37; + + // Packet sent to a load balancer, which requires a proxy-only subnet and + // the subnet is not found. + LOAD_BALANCER_HAS_NO_PROXY_SUBNET = 39; } // Cause that the packet is dropped. @@ -951,21 +1144,51 @@ message CloudSQLInstanceInfo { string region = 7; } -// For display only. Metadata associated with a Cloud function. +// For display only. Metadata associated with a Cloud Function. message CloudFunctionInfo { - // Name of a Cloud function. + // Name of a Cloud Function. string display_name = 1; - // URI of a Cloud function. + // URI of a Cloud Function. string uri = 2; - // Location in which the Cloud function is deployed. + // Location in which the Cloud Function is deployed. string location = 3; - // Latest successfully deployed version id of the Cloud function. + // Latest successfully deployed version id of the Cloud Function. int64 version_id = 4; } +// For display only. Metadata associated with a Cloud Run revision. +message CloudRunRevisionInfo { + // Name of a Cloud Run revision. + string display_name = 1; + + // URI of a Cloud Run revision. + string uri = 2; + + // Location in which this revision is deployed. + string location = 4; + + // URI of Cloud Run service this revision belongs to. + string service_uri = 5; +} + +// For display only. Metadata associated with an App Engine version. +message AppEngineVersionInfo { + // Name of an App Engine version. + string display_name = 1; + + // URI of an App Engine version. + string uri = 2; + + // Runtime of the App Engine version. + string runtime = 3; + + // App Engine execution environment for a version. + string environment = 4; +} + // For display only. Metadata associated with a VPC connector. message VpcConnectorInfo { // Name of a VPC connector. @@ -977,3 +1200,42 @@ message VpcConnectorInfo { // Location in which the VPC connector is deployed. string location = 3; } + +// Type of a load balancer. For more information, see [Summary of Google Cloud +// load +// balancers](https://cloud.google.com/load-balancing/docs/load-balancing-overview#summary-of-google-cloud-load-balancers). +enum LoadBalancerType { + // Forwarding rule points to a different target than a load balancer or a + // load balancer type is unknown. + LOAD_BALANCER_TYPE_UNSPECIFIED = 0; + + // Global external HTTP(S) load balancer. + HTTPS_ADVANCED_LOAD_BALANCER = 1; + + // Global external HTTP(S) load balancer (classic) + HTTPS_LOAD_BALANCER = 2; + + // Regional external HTTP(S) load balancer. + REGIONAL_HTTPS_LOAD_BALANCER = 3; + + // Internal HTTP(S) load balancer. + INTERNAL_HTTPS_LOAD_BALANCER = 4; + + // External SSL proxy load balancer. + SSL_PROXY_LOAD_BALANCER = 5; + + // External TCP proxy load balancer. + TCP_PROXY_LOAD_BALANCER = 6; + + // Internal regional TCP proxy load balancer. + INTERNAL_TCP_PROXY_LOAD_BALANCER = 7; + + // External TCP/UDP Network load balancer. + NETWORK_LOAD_BALANCER = 8; + + // Target-pool based external TCP/UDP Network load balancer. + LEGACY_NETWORK_LOAD_BALANCER = 9; + + // Internal TCP/UDP load balancer. + TCP_UDP_INTERNAL_LOAD_BALANCER = 10; +} diff --git a/third_party/googleapis/google/cloud/networksecurity/BUILD.bazel b/third_party/googleapis/google/cloud/networksecurity/BUILD.bazel index 2c23ce169..bb2eab494 100644 --- a/third_party/googleapis/google/cloud/networksecurity/BUILD.bazel +++ b/third_party/googleapis/google/cloud/networksecurity/BUILD.bazel @@ -21,13 +21,14 @@ ruby_cloud_gapic_library( srcs = ["//google/cloud/networksecurity/v1beta1:networksecurity_proto_with_info"], extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-network_security", - "ruby-cloud-wrapper-of=v1beta1:0.0", + "ruby-cloud-wrapper-of=v1beta1:0.7", "ruby-cloud-product-url=https://cloud.google.com/traffic-director/docs/reference/network-security/rest/", "ruby-cloud-api-id=networksecurity.googleapis.com", "ruby-cloud-api-shortname=networksecurity", ], ruby_cloud_description = "The client library for the Google Network Security V1beta1 API.", ruby_cloud_title = "Network Security", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/networksecurity/v1/BUILD.bazel b/third_party/googleapis/google/cloud/networksecurity/v1/BUILD.bazel index e9c73e694..e6c00c5c5 100644 --- a/third_party/googleapis/google/cloud/networksecurity/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/networksecurity/v1/BUILD.bazel @@ -15,6 +15,8 @@ load("@rules_proto//proto:defs.bzl", "proto_library") load( "@com_google_googleapis_imports//:imports.bzl", + "cc_grpc_library", + "cc_proto_library", "csharp_gapic_assembly_pkg", "csharp_gapic_library", "csharp_grpc_library", @@ -22,7 +24,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -32,7 +33,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -95,6 +95,7 @@ java_gapic_library( srcs = [":networksecurity_proto_with_info"], grpc_service_config = "networksecurity_v1_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "networksecurity_v1.yaml", test_deps = [ ":networksecurity_java_grpc", "//google/cloud/location:location_java_grpc", @@ -159,19 +160,13 @@ go_gapic_library( ], ) -go_test( - name = "networksecurity_go_gapic_test", - srcs = [":networksecurity_go_gapic_srcjar_test"], - embed = [":networksecurity_go_gapic"], - importpath = "cloud.google.com/go/networksecurity/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-networksecurity-v1-go", deps = [ ":networksecurity_go_gapic", ":networksecurity_go_gapic_srcjar-metadata.srcjar", + ":networksecurity_go_gapic_srcjar-snippets.srcjar", ":networksecurity_go_gapic_srcjar-test.srcjar", ":networksecurity_go_proto", ], @@ -189,7 +184,7 @@ py_gapic_library( rest_numeric_enums = True, service_yaml = "networksecurity_v1.yaml", transport = "grpc+rest", - deps = ["//google/iam/v1:iam_policy_py_proto",] + deps = ["//google/iam/v1:iam_policy_py_proto"], ) py_test( @@ -215,23 +210,15 @@ php_proto_library( deps = [":networksecurity_proto"], ) -php_grpc_library( - name = "networksecurity_php_grpc", - srcs = [":networksecurity_proto"], - deps = [":networksecurity_php_proto"], -) - php_gapic_library( name = "networksecurity_php_gapic", srcs = [":networksecurity_proto_with_info"], grpc_service_config = "networksecurity_v1_grpc_service_config.json", + migration_mode = "NEW_SURFACE_ONLY", rest_numeric_enums = True, service_yaml = "networksecurity_v1.yaml", transport = "grpc+rest", - deps = [ - ":networksecurity_php_grpc", - ":networksecurity_php_proto", - ], + deps = [":networksecurity_php_proto"], ) # Open Source Packages @@ -239,7 +226,6 @@ php_gapic_assembly_pkg( name = "google-cloud-networksecurity-v1-php", deps = [ ":networksecurity_php_gapic", - ":networksecurity_php_grpc", ":networksecurity_php_proto", ], ) @@ -285,6 +271,7 @@ ruby_cloud_gapic_library( grpc_service_config = "networksecurity_v1_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "networksecurity_v1.yaml", + transport = "grpc", deps = [ ":networksecurity_ruby_grpc", ":networksecurity_ruby_proto", @@ -339,4 +326,14 @@ csharp_gapic_assembly_pkg( ############################################################################## # C++ ############################################################################## -# Put your C++ rules here +cc_proto_library( + name = "networksecurity_cc_proto", + deps = [":networksecurity_proto"], +) + +cc_grpc_library( + name = "networksecurity_cc_grpc", + srcs = [":networksecurity_proto"], + grpc_only = True, + deps = [":networksecurity_cc_proto"], +) diff --git a/third_party/googleapis/google/cloud/networksecurity/v1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/networksecurity/v1beta1/BUILD.bazel index 1de31c76f..65d4a6030 100644 --- a/third_party/googleapis/google/cloud/networksecurity/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/networksecurity/v1beta1/BUILD.bazel @@ -124,7 +124,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -158,19 +157,13 @@ go_gapic_library( ], ) -go_test( - name = "networksecurity_go_gapic_test", - srcs = [":networksecurity_go_gapic_srcjar_test"], - embed = [":networksecurity_go_gapic"], - importpath = "cloud.google.com/go/networksecurity/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-networksecurity-v1beta1-go", deps = [ ":networksecurity_go_gapic", ":networksecurity_go_gapic_srcjar-metadata.srcjar", + ":networksecurity_go_gapic_srcjar-snippets.srcjar", ":networksecurity_go_gapic_srcjar-test.srcjar", ":networksecurity_go_proto", ], @@ -228,7 +221,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -237,12 +229,6 @@ php_proto_library( deps = [":networksecurity_proto"], ) -php_grpc_library( - name = "networksecurity_php_grpc", - srcs = [":networksecurity_proto"], - deps = [":networksecurity_php_proto"], -) - php_gapic_library( name = "networksecurity_php_gapic", srcs = [":networksecurity_proto_with_info"], @@ -250,10 +236,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "networksecurity_v1beta1.yaml", transport = "grpc+rest", - deps = [ - ":networksecurity_php_grpc", - ":networksecurity_php_proto", - ], + deps = [":networksecurity_php_proto"], ) # Open Source Packages @@ -261,7 +244,6 @@ php_gapic_assembly_pkg( name = "google-cloud-networksecurity-v1beta1-php", deps = [ ":networksecurity_php_gapic", - ":networksecurity_php_grpc", ":networksecurity_php_proto", ], ) @@ -332,6 +314,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "The client library for the Google Network Security V1beta1 API.", ruby_cloud_title = "Network Security V1beta1", service_yaml = "networksecurity_v1beta1.yaml", + transport = "grpc+rest", deps = [ ":networksecurity_ruby_grpc", ":networksecurity_ruby_proto", diff --git a/third_party/googleapis/google/cloud/networkservices/v1/BUILD.bazel b/third_party/googleapis/google/cloud/networkservices/v1/BUILD.bazel index 900a1b026..1c412df12 100644 --- a/third_party/googleapis/google/cloud/networkservices/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/networkservices/v1/BUILD.bazel @@ -39,7 +39,6 @@ proto_library( "//google/api:resource_proto", "//google/longrunning:operations_proto", "@com_google_protobuf//:duration_proto", - "@com_google_protobuf//:empty_proto", "@com_google_protobuf//:field_mask_proto", "@com_google_protobuf//:timestamp_proto", ], @@ -86,9 +85,9 @@ java_gapic_library( rest_numeric_enums = True, service_yaml = "networkservices_v1.yaml", test_deps = [ - ":networkservices_java_grpc", "//google/cloud/location:location_java_grpc", "//google/iam/v1:iam_java_grpc", + ":networkservices_java_grpc", ], transport = "grpc+rest", deps = [ @@ -129,7 +128,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -164,19 +162,13 @@ go_gapic_library( ], ) -go_test( - name = "networkservices_go_gapic_test", - srcs = [":networkservices_go_gapic_srcjar_test"], - embed = [":networkservices_go_gapic"], - importpath = "cloud.google.com/go/networkservices/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-networkservices-v1-go", deps = [ ":networkservices_go_gapic", ":networkservices_go_gapic_srcjar-metadata.srcjar", + ":networkservices_go_gapic_srcjar-snippets.srcjar", ":networkservices_go_gapic_srcjar-test.srcjar", ":networkservices_go_proto", ], @@ -189,6 +181,7 @@ load( "@com_google_googleapis_imports//:imports.bzl", "py_gapic_assembly_pkg", "py_gapic_library", + "py_test", ) py_gapic_library( @@ -233,7 +226,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -242,21 +234,15 @@ php_proto_library( deps = [":networkservices_proto"], ) -php_grpc_library( - name = "networkservices_php_grpc", - srcs = [":networkservices_proto"], - deps = [":networkservices_php_proto"], -) - php_gapic_library( name = "networkservices_php_gapic", srcs = [":networkservices_proto_with_info"], grpc_service_config = "networkservices_grpc_service_config.json", + migration_mode = "PRE_MIGRATION_SURFACE_ONLY", rest_numeric_enums = True, service_yaml = "networkservices_v1.yaml", transport = "grpc+rest", deps = [ - ":networkservices_php_grpc", ":networkservices_php_proto", ], ) @@ -266,7 +252,6 @@ php_gapic_assembly_pkg( name = "google-cloud-networkservices-v1-php", deps = [ ":networkservices_php_gapic", - ":networkservices_php_grpc", ":networkservices_php_proto", ], ) @@ -330,6 +315,7 @@ ruby_cloud_gapic_library( grpc_service_config = "networkservices_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "networkservices_v1.yaml", + transport = "grpc+rest", deps = [ ":networkservices_ruby_grpc", ":networkservices_ruby_proto", diff --git a/third_party/googleapis/google/cloud/networkservices/v1/common.proto b/third_party/googleapis/google/cloud/networkservices/v1/common.proto index 27c895333..599a35d36 100644 --- a/third_party/googleapis/google/cloud/networkservices/v1/common.proto +++ b/third_party/googleapis/google/cloud/networkservices/v1/common.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -30,10 +30,12 @@ option ruby_package = "Google::Cloud::NetworkServices::V1"; // Represents the metadata of the long-running operation. message OperationMetadata { // Output only. The time the operation was created. - google.protobuf.Timestamp create_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time the operation finished running. - google.protobuf.Timestamp end_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp end_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Server-defined resource path for the target of the operation. string target = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -46,8 +48,9 @@ message OperationMetadata { // Output only. Identifies whether the user has requested cancellation // of the operation. Operations that have successfully been cancelled - // have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, - // corresponding to `Code.CANCELLED`. + // have [Operation.error][] value with a + // [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to + // `Code.CANCELLED`. bool requested_cancellation = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. API version used to start the operation. diff --git a/third_party/googleapis/google/cloud/networkservices/v1/endpoint_policy.proto b/third_party/googleapis/google/cloud/networkservices/v1/endpoint_policy.proto index 350341bac..889a575dd 100644 --- a/third_party/googleapis/google/cloud/networkservices/v1/endpoint_policy.proto +++ b/third_party/googleapis/google/cloud/networkservices/v1/endpoint_policy.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -69,10 +69,12 @@ message EndpointPolicy { string name = 1 [(google.api.field_behavior) = REQUIRED]; // Output only. The timestamp when the resource was created. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The timestamp when the resource was updated. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Optional. Set of label tags associated with the EndpointPolicy resource. map labels = 4 [(google.api.field_behavior) = OPTIONAL]; @@ -93,19 +95,22 @@ message EndpointPolicy { } ]; - // Required. A matcher that selects endpoints to which the policies should be applied. + // Required. A matcher that selects endpoints to which the policies should be + // applied. EndpointMatcher endpoint_matcher = 9 [(google.api.field_behavior) = REQUIRED]; // Optional. Port selector for the (matched) endpoints. If no port selector is // provided, the matched config is applied to all ports. - TrafficPortSelector traffic_port_selector = 10 [(google.api.field_behavior) = OPTIONAL]; + TrafficPortSelector traffic_port_selector = 10 + [(google.api.field_behavior) = OPTIONAL]; - // Optional. A free-text description of the resource. Max length 1024 characters. + // Optional. A free-text description of the resource. Max length 1024 + // characters. string description = 11 [(google.api.field_behavior) = OPTIONAL]; - // Optional. A URL referring to ServerTlsPolicy resource. ServerTlsPolicy is used to - // determine the authentication policy to be applied to terminate the inbound - // traffic at the identified backends. If this field is not set, + // Optional. A URL referring to ServerTlsPolicy resource. ServerTlsPolicy is + // used to determine the authentication policy to be applied to terminate the + // inbound traffic at the identified backends. If this field is not set, // authentication is disabled(open) for this endpoint. string server_tls_policy = 12 [ (google.api.field_behavior) = OPTIONAL, @@ -114,14 +119,14 @@ message EndpointPolicy { } ]; - // Optional. A URL referring to a ClientTlsPolicy resource. ClientTlsPolicy can be set - // to specify the authentication for traffic from the proxy to the actual - // endpoints. More specifically, it is applied to the outgoing traffic from - // the proxy to the endpoint. This is typically used for sidecar model where - // the proxy identifies itself as endpoint to the control plane, with the - // connection between sidecar and endpoint requiring authentication. If this - // field is not set, authentication is disabled(open). Applicable only when - // EndpointPolicyType is SIDECAR_PROXY. + // Optional. A URL referring to a ClientTlsPolicy resource. ClientTlsPolicy + // can be set to specify the authentication for traffic from the proxy to the + // actual endpoints. More specifically, it is applied to the outgoing traffic + // from the proxy to the endpoint. This is typically used for sidecar model + // where the proxy identifies itself as endpoint to the control plane, with + // the connection between sidecar and endpoint requiring authentication. If + // this field is not set, authentication is disabled(open). Applicable only + // when EndpointPolicyType is SIDECAR_PROXY. string client_tls_policy = 13 [ (google.api.field_behavior) = OPTIONAL, (google.api.resource_reference) = { @@ -132,8 +137,8 @@ message EndpointPolicy { // Request used with the ListEndpointPolicies method. message ListEndpointPoliciesRequest { - // Required. The project and location from which the EndpointPolicies should be - // listed, specified in the format `projects/*/locations/global`. + // Required. The project and location from which the EndpointPolicies should + // be listed, specified in the format `projects/*/locations/global`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -200,7 +205,8 @@ message UpdateEndpointPolicyRequest { // The fields specified in the update_mask are relative to the resource, not // the full request. A field will be overwritten if it is in the mask. If the // user does not provide a mask then all fields will be overwritten. - google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = OPTIONAL]; // Required. Updated EndpointPolicy resource. EndpointPolicy endpoint_policy = 2 [(google.api.field_behavior) = REQUIRED]; diff --git a/third_party/googleapis/google/cloud/networkservices/v1/gateway.proto b/third_party/googleapis/google/cloud/networkservices/v1/gateway.proto index cbdc1bf87..07ae67323 100644 --- a/third_party/googleapis/google/cloud/networkservices/v1/gateway.proto +++ b/third_party/googleapis/google/cloud/networkservices/v1/gateway.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -63,30 +63,33 @@ message Gateway { string self_link = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The timestamp when the resource was created. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The timestamp when the resource was updated. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Optional. Set of label tags associated with the Gateway resource. map labels = 4 [(google.api.field_behavior) = OPTIONAL]; - // Optional. A free-text description of the resource. Max length 1024 characters. + // Optional. A free-text description of the resource. Max length 1024 + // characters. string description = 5 [(google.api.field_behavior) = OPTIONAL]; // Immutable. The type of the customer managed gateway. // This field is required. If unspecified, an error is returned. Type type = 6 [(google.api.field_behavior) = IMMUTABLE]; - // Required. One or more ports that the Gateway must receive traffic on. The proxy binds - // to the ports specified. Gateway listen on 0.0.0.0 on the ports specified - // below. + // Required. One or more ports that the Gateway must receive traffic on. The + // proxy binds to the ports specified. Gateway listen on 0.0.0.0 on the ports + // specified below. repeated int32 ports = 11 [(google.api.field_behavior) = REQUIRED]; - // Required. Immutable. Scope determines how configuration across multiple Gateway instances are - // merged. The configuration for multiple Gateway instances with the same - // scope will be merged as presented as a single coniguration to the - // proxy/load balancer. + // Required. Immutable. Scope determines how configuration across multiple + // Gateway instances are merged. The configuration for multiple Gateway + // instances with the same scope will be merged as presented as a single + // coniguration to the proxy/load balancer. // // Max length 64 characters. // Scope should start with a letter and can only have letters, numbers, @@ -96,8 +99,8 @@ message Gateway { (google.api.field_behavior) = IMMUTABLE ]; - // Optional. A fully-qualified ServerTLSPolicy URL reference. Specifies how TLS - // traffic is terminated. If empty, TLS termination is disabled. + // Optional. A fully-qualified ServerTLSPolicy URL reference. Specifies how + // TLS traffic is terminated. If empty, TLS termination is disabled. string server_tls_policy = 9 [(google.api.field_behavior) = OPTIONAL]; } @@ -169,7 +172,8 @@ message UpdateGatewayRequest { // The fields specified in the update_mask are relative to the resource, not // the full request. A field will be overwritten if it is in the mask. If the // user does not provide a mask then all fields will be overwritten. - google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = OPTIONAL]; // Required. Updated Gateway resource. Gateway gateway = 2 [(google.api.field_behavior) = REQUIRED]; diff --git a/third_party/googleapis/google/cloud/networkservices/v1/grpc_route.proto b/third_party/googleapis/google/cloud/networkservices/v1/grpc_route.proto index 89c29e0bd..48894fe29 100644 --- a/third_party/googleapis/google/cloud/networkservices/v1/grpc_route.proto +++ b/third_party/googleapis/google/cloud/networkservices/v1/grpc_route.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -53,20 +53,21 @@ message GrpcRoute { REGULAR_EXPRESSION = 2; } - // Optional. Specifies how to match against the name. If not specified, a default - // value of "EXACT" is used. + // Optional. Specifies how to match against the name. If not specified, a + // default value of "EXACT" is used. Type type = 1 [(google.api.field_behavior) = OPTIONAL]; - // Required. Name of the service to match against. If unspecified, will match all - // services. + // Required. Name of the service to match against. If unspecified, will + // match all services. string grpc_service = 2 [(google.api.field_behavior) = REQUIRED]; - // Required. Name of the method to match against. If unspecified, will match all - // methods. + // Required. Name of the method to match against. If unspecified, will match + // all methods. string grpc_method = 3 [(google.api.field_behavior) = REQUIRED]; - // Optional. Specifies that matches are case sensitive. The default value is true. - // case_sensitive must not be used with a type of REGULAR_EXPRESSION. + // Optional. Specifies that matches are case sensitive. The default value + // is true. case_sensitive must not be used with a type of + // REGULAR_EXPRESSION. optional bool case_sensitive = 4 [(google.api.field_behavior) = OPTIONAL]; } @@ -99,8 +100,8 @@ message GrpcRoute { // Criteria for matching traffic. A RouteMatch will be considered to match // when all supplied fields match. message RouteMatch { - // Optional. A gRPC method to match against. If this field is empty or omitted, will - // match all methods. + // Optional. A gRPC method to match against. If this field is empty or + // omitted, will match all methods. optional MethodMatch method = 1 [(google.api.field_behavior) = OPTIONAL]; // Optional. Specifies a collection of headers to match. @@ -111,8 +112,8 @@ message GrpcRoute { message Destination { // Specifies the kind of destination to which traffic will be routed. oneof destination_type { - // Required. The URL of a destination service to which to route traffic. Must refer - // to either a BackendService or ServiceDirectoryService. + // Required. The URL of a destination service to which to route traffic. + // Must refer to either a BackendService or ServiceDirectoryService. string service_name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -121,9 +122,9 @@ message GrpcRoute { ]; } - // Optional. Specifies the proportion of requests forwarded to the backend referenced - // by the serviceName field. This is computed as: - // weight/Sum(weights in this destination list). + // Optional. Specifies the proportion of requests forwarded to the backend + // referenced by the serviceName field. This is computed as: + // - weight/Sum(weights in this destination list). // For non-zero values, there may be some epsilon from the exact proportion // defined here depending on the precision an implementation supports. // @@ -205,10 +206,11 @@ message GrpcRoute { // Specifies how to route matched traffic. message RouteAction { - // Optional. The destination services to which traffic should be forwarded. If - // multiple destinations are specified, traffic will be split between + // Optional. The destination services to which traffic should be forwarded. + // If multiple destinations are specified, traffic will be split between // Backend Service(s) according to the weight field of these destinations. - repeated Destination destinations = 1 [(google.api.field_behavior) = OPTIONAL]; + repeated Destination destinations = 1 + [(google.api.field_behavior) = OPTIONAL]; // Optional. The specification for fault injection introduced into traffic to test the // resiliency of clients to destination service failure. As part of fault @@ -219,12 +221,15 @@ message GrpcRoute { // // timeout and retry_policy will be ignored by clients that are configured // with a fault_injection_policy - FaultInjectionPolicy fault_injection_policy = 3 [(google.api.field_behavior) = OPTIONAL]; + FaultInjectionPolicy fault_injection_policy = 3 + [(google.api.field_behavior) = OPTIONAL]; - // Optional. Specifies the timeout for selected route. Timeout is computed from the - // time the request has been fully processed (i.e. end of stream) up until - // the response has been completely processed. Timeout includes all retries. - google.protobuf.Duration timeout = 7 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Specifies the timeout for selected route. Timeout is computed + // from the time the request has been fully processed (i.e. end of stream) + // up until the response has been completely processed. Timeout includes all + // retries. + google.protobuf.Duration timeout = 7 + [(google.api.field_behavior) = OPTIONAL]; // Optional. Specifies the retry policy associated with this route. RetryPolicy retry_policy = 8 [(google.api.field_behavior) = OPTIONAL]; @@ -232,13 +237,14 @@ message GrpcRoute { // Describes how to route traffic. message RouteRule { - // Optional. Matches define conditions used for matching the rule against incoming - // gRPC requests. Each match is independent, i.e. this rule will be matched - // if ANY one of the matches is satisfied. If no matches field is + // Optional. Matches define conditions used for matching the rule against + // incoming gRPC requests. Each match is independent, i.e. this rule will be + // matched if ANY one of the matches is satisfied. If no matches field is // specified, this rule will unconditionally match traffic. repeated RouteMatch matches = 1 [(google.api.field_behavior) = OPTIONAL]; - // Required. A detailed rule defining how to route traffic. This field is required. + // Required. A detailed rule defining how to route traffic. This field is + // required. RouteAction action = 2 [(google.api.field_behavior) = REQUIRED]; } @@ -250,31 +256,34 @@ message GrpcRoute { string self_link = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The timestamp when the resource was created. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The timestamp when the resource was updated. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Optional. Set of label tags associated with the GrpcRoute resource. map labels = 4 [(google.api.field_behavior) = OPTIONAL]; - // Optional. A free-text description of the resource. Max length 1024 characters. + // Optional. A free-text description of the resource. Max length 1024 + // characters. string description = 5 [(google.api.field_behavior) = OPTIONAL]; - // Required. Service hostnames with an optional port for which this route describes - // traffic. + // Required. Service hostnames with an optional port for which this route + // describes traffic. // // Format: [:] // // Hostname is the fully qualified domain name of a network host. This matches // the RFC 1123 definition of a hostname with 2 notable exceptions: // - IPs are not allowed. - // - A hostname may be prefixed with a wildcard label (*.). The wildcard + // - A hostname may be prefixed with a wildcard label (`*.`). The wildcard // label must appear by itself as the first label. // // Hostname can be "precise" which is a domain name without the terminating - // dot of a network host (e.g. "foo.example.com") or "wildcard", which is a - // domain name prefixed with a single wildcard label (e.g. *.example.com). + // dot of a network host (e.g. `foo.example.com`) or "wildcard", which is a + // domain name prefixed with a single wildcard label (e.g. `*.example.com`). // // Note that as per RFC1035 and RFC1123, a label must consist of lower case // alphanumeric characters or '-', and must start and end with an alphanumeric @@ -285,17 +294,17 @@ message GrpcRoute { // configuration will be rejected. // // For example, while it is acceptable for routes for the hostnames - // "*.foo.bar.com" and "*.bar.com" to be associated with the same route, it is - // not possible to associate two routes both with "*.bar.com" or both with - // "bar.com". + // `*.foo.bar.com` and `*.bar.com` to be associated with the same route, it is + // not possible to associate two routes both with `*.bar.com` or both with + // `bar.com`. // // If a port is specified, then gRPC clients must use the channel URI with the // port to match this rule (i.e. "xds:///service:123"), otherwise they must // supply the URI without a port (i.e. "xds:///service"). repeated string hostnames = 6 [(google.api.field_behavior) = REQUIRED]; - // Optional. Meshes defines a list of meshes this GrpcRoute is attached to, as one of - // the routing rules to route the requests served by the mesh. + // Optional. Meshes defines a list of meshes this GrpcRoute is attached to, as + // one of the routing rules to route the requests served by the mesh. // // Each mesh reference should match the pattern: // `projects/*/locations/global/meshes/` @@ -306,8 +315,9 @@ message GrpcRoute { } ]; - // Optional. Gateways defines a list of gateways this GrpcRoute is attached to, as one - // of the routing rules to route the requests served by the gateway. + // Optional. Gateways defines a list of gateways this GrpcRoute is attached + // to, as one of the routing rules to route the requests served by the + // gateway. // // Each gateway reference should match the pattern: // `projects/*/locations/global/gateways/` @@ -394,7 +404,8 @@ message UpdateGrpcRouteRequest { // The fields specified in the update_mask are relative to the resource, not // the full request. A field will be overwritten if it is in the mask. If the // user does not provide a mask then all fields will be overwritten. - google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = OPTIONAL]; // Required. Updated GrpcRoute resource. GrpcRoute grpc_route = 2 [(google.api.field_behavior) = REQUIRED]; diff --git a/third_party/googleapis/google/cloud/networkservices/v1/http_route.proto b/third_party/googleapis/google/cloud/networkservices/v1/http_route.proto index c0d676a06..bbbae60ae 100644 --- a/third_party/googleapis/google/cloud/networkservices/v1/http_route.proto +++ b/third_party/googleapis/google/cloud/networkservices/v1/http_route.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -155,12 +155,12 @@ message HttpRoute { message Destination { // The URL of a BackendService to route traffic to. string service_name = 1 [(google.api.resource_reference) = { - type: "compute.googleapis.com/BackendService" - }]; + type: "compute.googleapis.com/BackendService" + }]; // Specifies the proportion of requests forwarded to the backend referenced // by the serviceName field. This is computed as: - // weight/Sum(weights in this destination list). + // - weight/Sum(weights in this destination list). // For non-zero values, there may be some epsilon from the exact proportion // defined here depending on the precision an implementation supports. // @@ -404,11 +404,15 @@ message HttpRoute { FaultInjectionPolicy fault_injection_policy = 4; // The specification for modifying the headers of a matching request prior - // to delivery of the request to the destination. + // to delivery of the request to the destination. If HeaderModifiers are set + // on both the Destination and the RouteAction, they will be merged. + // Conflicts between the two will not be resolved on the configuration. HeaderModifier request_header_modifier = 5; // The specification for modifying the headers of a response prior to - // sending the response back to the client. + // sending the response back to the client. If HeaderModifiers are set + // on both the Destination and the RouteAction, they will be merged. + // Conflicts between the two will not be resolved on the configuration. HeaderModifier response_header_modifier = 6; // The specification for rewrite URL before forwarding requests to the @@ -459,26 +463,29 @@ message HttpRoute { // Output only. Server-defined URL of this resource string self_link = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Optional. A free-text description of the resource. Max length 1024 characters. + // Optional. A free-text description of the resource. Max length 1024 + // characters. string description = 2 [(google.api.field_behavior) = OPTIONAL]; // Output only. The timestamp when the resource was created. - google.protobuf.Timestamp create_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The timestamp when the resource was updated. - google.protobuf.Timestamp update_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Required. Hostnames define a set of hosts that should match against the HTTP host - // header to select a HttpRoute to process the request. Hostname is the fully - // qualified domain name of a network host, as defined by RFC 1123 with the - // exception that: + // Required. Hostnames define a set of hosts that should match against the + // HTTP host header to select a HttpRoute to process the request. Hostname is + // the fully qualified domain name of a network host, as defined by RFC 1123 + // with the exception that: // - IPs are not allowed. - // - A hostname may be prefixed with a wildcard label (*.). The wildcard + // - A hostname may be prefixed with a wildcard label (`*.`). The wildcard // label must appear by itself as the first label. // // Hostname can be "precise" which is a domain name without the terminating - // dot of a network host (e.g. "foo.example.com") or "wildcard", which is a - // domain name prefixed with a single wildcard label (e.g. *.example.com). + // dot of a network host (e.g. `foo.example.com`) or "wildcard", which is a + // domain name prefixed with a single wildcard label (e.g. `*.example.com`). // // Note that as per RFC1035 and RFC1123, a label must consist of lower case // alphanumeric characters or '-', and must start and end with an alphanumeric @@ -489,13 +496,13 @@ message HttpRoute { // the configuration will be rejected. // // For example, while it is acceptable for routes for the hostnames - // "*.foo.bar.com" and "*.bar.com" to be associated with the same Mesh (or + // `*.foo.bar.com` and `*.bar.com` to be associated with the same Mesh (or // Gateways under the same scope), it is not possible to associate two routes - // both with "*.bar.com" or both with "bar.com". + // both with `*.bar.com` or both with `bar.com`. repeated string hostnames = 5 [(google.api.field_behavior) = REQUIRED]; - // Optional. Meshes defines a list of meshes this HttpRoute is attached to, as one of - // the routing rules to route the requests served by the mesh. + // Optional. Meshes defines a list of meshes this HttpRoute is attached to, as + // one of the routing rules to route the requests served by the mesh. // // Each mesh reference should match the pattern: // `projects/*/locations/global/meshes/` @@ -508,8 +515,9 @@ message HttpRoute { } ]; - // Optional. Gateways defines a list of gateways this HttpRoute is attached to, as one - // of the routing rules to route the requests served by the gateway. + // Optional. Gateways defines a list of gateways this HttpRoute is attached + // to, as one of the routing rules to route the requests served by the + // gateway. // // Each gateway reference should match the pattern: // `projects/*/locations/global/gateways/` @@ -597,7 +605,8 @@ message UpdateHttpRouteRequest { // The fields specified in the update_mask are relative to the resource, not // the full request. A field will be overwritten if it is in the mask. If the // user does not provide a mask then all fields will be overwritten. - google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = OPTIONAL]; // Required. Updated HttpRoute resource. HttpRoute http_route = 2 [(google.api.field_behavior) = REQUIRED]; diff --git a/third_party/googleapis/google/cloud/networkservices/v1/mesh.proto b/third_party/googleapis/google/cloud/networkservices/v1/mesh.proto index 304167607..ffa2c0b20 100644 --- a/third_party/googleapis/google/cloud/networkservices/v1/mesh.proto +++ b/third_party/googleapis/google/cloud/networkservices/v1/mesh.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -46,22 +46,25 @@ message Mesh { string self_link = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The timestamp when the resource was created. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The timestamp when the resource was updated. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Optional. Set of label tags associated with the Mesh resource. map labels = 4 [(google.api.field_behavior) = OPTIONAL]; - // Optional. A free-text description of the resource. Max length 1024 characters. + // Optional. A free-text description of the resource. Max length 1024 + // characters. string description = 5 [(google.api.field_behavior) = OPTIONAL]; - // Optional. If set to a valid TCP port (1-65535), instructs the SIDECAR proxy to listen - // on the specified port of localhost (127.0.0.1) address. The SIDECAR proxy - // will expect all traffic to be redirected to this port regardless of its - // actual ip:port destination. If unset, a port '15001' is used as the - // interception port. This will is applicable only for sidecar proxy + // Optional. If set to a valid TCP port (1-65535), instructs the SIDECAR proxy + // to listen on the specified port of localhost (127.0.0.1) address. The + // SIDECAR proxy will expect all traffic to be redirected to this port + // regardless of its actual ip:port destination. If unset, a port '15001' is + // used as the interception port. This is applicable only for sidecar proxy // deployments. int32 interception_port = 8 [(google.api.field_behavior) = OPTIONAL]; } @@ -134,7 +137,8 @@ message UpdateMeshRequest { // The fields specified in the update_mask are relative to the resource, not // the full request. A field will be overwritten if it is in the mask. If the // user does not provide a mask then all fields will be overwritten. - google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = OPTIONAL]; // Required. Updated Mesh resource. Mesh mesh = 2 [(google.api.field_behavior) = REQUIRED]; diff --git a/third_party/googleapis/google/cloud/networkservices/v1/network_services.proto b/third_party/googleapis/google/cloud/networkservices/v1/network_services.proto index c4893890c..09f10fdbe 100644 --- a/third_party/googleapis/google/cloud/networkservices/v1/network_services.proto +++ b/third_party/googleapis/google/cloud/networkservices/v1/network_services.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -37,10 +37,12 @@ option ruby_package = "Google::Cloud::NetworkServices::V1"; service NetworkServices { option (google.api.default_host) = "networkservices.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Lists EndpointPolicies in a given project and location. - rpc ListEndpointPolicies(ListEndpointPoliciesRequest) returns (ListEndpointPoliciesResponse) { + rpc ListEndpointPolicies(ListEndpointPoliciesRequest) + returns (ListEndpointPoliciesResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/endpointPolicies" }; @@ -56,12 +58,14 @@ service NetworkServices { } // Creates a new EndpointPolicy in a given project and location. - rpc CreateEndpointPolicy(CreateEndpointPolicyRequest) returns (google.longrunning.Operation) { + rpc CreateEndpointPolicy(CreateEndpointPolicyRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/endpointPolicies" body: "endpoint_policy" }; - option (google.api.method_signature) = "parent,endpoint_policy,endpoint_policy_id"; + option (google.api.method_signature) = + "parent,endpoint_policy,endpoint_policy_id"; option (google.longrunning.operation_info) = { response_type: "EndpointPolicy" metadata_type: "google.cloud.networkservices.v1.OperationMetadata" @@ -69,7 +73,8 @@ service NetworkServices { } // Updates the parameters of a single EndpointPolicy. - rpc UpdateEndpointPolicy(UpdateEndpointPolicyRequest) returns (google.longrunning.Operation) { + rpc UpdateEndpointPolicy(UpdateEndpointPolicyRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v1/{endpoint_policy.name=projects/*/locations/*/endpointPolicies/*}" body: "endpoint_policy" @@ -82,7 +87,8 @@ service NetworkServices { } // Deletes a single EndpointPolicy. - rpc DeleteEndpointPolicy(DeleteEndpointPolicyRequest) returns (google.longrunning.Operation) { + rpc DeleteEndpointPolicy(DeleteEndpointPolicyRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/endpointPolicies/*}" }; @@ -110,7 +116,8 @@ service NetworkServices { } // Creates a new Gateway in a given project and location. - rpc CreateGateway(CreateGatewayRequest) returns (google.longrunning.Operation) { + rpc CreateGateway(CreateGatewayRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/gateways" body: "gateway" @@ -123,7 +130,8 @@ service NetworkServices { } // Updates the parameters of a single Gateway. - rpc UpdateGateway(UpdateGatewayRequest) returns (google.longrunning.Operation) { + rpc UpdateGateway(UpdateGatewayRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v1/{gateway.name=projects/*/locations/*/gateways/*}" body: "gateway" @@ -136,7 +144,8 @@ service NetworkServices { } // Deletes a single Gateway. - rpc DeleteGateway(DeleteGatewayRequest) returns (google.longrunning.Operation) { + rpc DeleteGateway(DeleteGatewayRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/gateways/*}" }; @@ -164,7 +173,8 @@ service NetworkServices { } // Creates a new GrpcRoute in a given project and location. - rpc CreateGrpcRoute(CreateGrpcRouteRequest) returns (google.longrunning.Operation) { + rpc CreateGrpcRoute(CreateGrpcRouteRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/grpcRoutes" body: "grpc_route" @@ -177,7 +187,8 @@ service NetworkServices { } // Updates the parameters of a single GrpcRoute. - rpc UpdateGrpcRoute(UpdateGrpcRouteRequest) returns (google.longrunning.Operation) { + rpc UpdateGrpcRoute(UpdateGrpcRouteRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v1/{grpc_route.name=projects/*/locations/*/grpcRoutes/*}" body: "grpc_route" @@ -190,7 +201,8 @@ service NetworkServices { } // Deletes a single GrpcRoute. - rpc DeleteGrpcRoute(DeleteGrpcRouteRequest) returns (google.longrunning.Operation) { + rpc DeleteGrpcRoute(DeleteGrpcRouteRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/grpcRoutes/*}" }; @@ -218,7 +230,8 @@ service NetworkServices { } // Creates a new HttpRoute in a given project and location. - rpc CreateHttpRoute(CreateHttpRouteRequest) returns (google.longrunning.Operation) { + rpc CreateHttpRoute(CreateHttpRouteRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/httpRoutes" body: "http_route" @@ -231,7 +244,8 @@ service NetworkServices { } // Updates the parameters of a single HttpRoute. - rpc UpdateHttpRoute(UpdateHttpRouteRequest) returns (google.longrunning.Operation) { + rpc UpdateHttpRoute(UpdateHttpRouteRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v1/{http_route.name=projects/*/locations/*/httpRoutes/*}" body: "http_route" @@ -244,7 +258,8 @@ service NetworkServices { } // Deletes a single HttpRoute. - rpc DeleteHttpRoute(DeleteHttpRouteRequest) returns (google.longrunning.Operation) { + rpc DeleteHttpRoute(DeleteHttpRouteRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/httpRoutes/*}" }; @@ -272,7 +287,8 @@ service NetworkServices { } // Creates a new TcpRoute in a given project and location. - rpc CreateTcpRoute(CreateTcpRouteRequest) returns (google.longrunning.Operation) { + rpc CreateTcpRoute(CreateTcpRouteRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/tcpRoutes" body: "tcp_route" @@ -285,7 +301,8 @@ service NetworkServices { } // Updates the parameters of a single TcpRoute. - rpc UpdateTcpRoute(UpdateTcpRouteRequest) returns (google.longrunning.Operation) { + rpc UpdateTcpRoute(UpdateTcpRouteRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v1/{tcp_route.name=projects/*/locations/*/tcpRoutes/*}" body: "tcp_route" @@ -298,7 +315,8 @@ service NetworkServices { } // Deletes a single TcpRoute. - rpc DeleteTcpRoute(DeleteTcpRouteRequest) returns (google.longrunning.Operation) { + rpc DeleteTcpRoute(DeleteTcpRouteRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/tcpRoutes/*}" }; @@ -326,7 +344,8 @@ service NetworkServices { } // Creates a new TlsRoute in a given project and location. - rpc CreateTlsRoute(CreateTlsRouteRequest) returns (google.longrunning.Operation) { + rpc CreateTlsRoute(CreateTlsRouteRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/tlsRoutes" body: "tls_route" @@ -339,7 +358,8 @@ service NetworkServices { } // Updates the parameters of a single TlsRoute. - rpc UpdateTlsRoute(UpdateTlsRouteRequest) returns (google.longrunning.Operation) { + rpc UpdateTlsRoute(UpdateTlsRouteRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v1/{tls_route.name=projects/*/locations/*/tlsRoutes/*}" body: "tls_route" @@ -352,7 +372,8 @@ service NetworkServices { } // Deletes a single TlsRoute. - rpc DeleteTlsRoute(DeleteTlsRouteRequest) returns (google.longrunning.Operation) { + rpc DeleteTlsRoute(DeleteTlsRouteRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/tlsRoutes/*}" }; @@ -364,7 +385,8 @@ service NetworkServices { } // Lists ServiceBinding in a given project and location. - rpc ListServiceBindings(ListServiceBindingsRequest) returns (ListServiceBindingsResponse) { + rpc ListServiceBindings(ListServiceBindingsRequest) + returns (ListServiceBindingsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/serviceBindings" }; @@ -380,12 +402,14 @@ service NetworkServices { } // Creates a new ServiceBinding in a given project and location. - rpc CreateServiceBinding(CreateServiceBindingRequest) returns (google.longrunning.Operation) { + rpc CreateServiceBinding(CreateServiceBindingRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/serviceBindings" body: "service_binding" }; - option (google.api.method_signature) = "parent,service_binding,service_binding_id"; + option (google.api.method_signature) = + "parent,service_binding,service_binding_id"; option (google.longrunning.operation_info) = { response_type: "ServiceBinding" metadata_type: "google.cloud.networkservices.v1.OperationMetadata" @@ -393,7 +417,8 @@ service NetworkServices { } // Deletes a single ServiceBinding. - rpc DeleteServiceBinding(DeleteServiceBindingRequest) returns (google.longrunning.Operation) { + rpc DeleteServiceBinding(DeleteServiceBindingRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/serviceBindings/*}" }; diff --git a/third_party/googleapis/google/cloud/networkservices/v1/service_binding.proto b/third_party/googleapis/google/cloud/networkservices/v1/service_binding.proto index 8e0eb1c12..ebec29df0 100644 --- a/third_party/googleapis/google/cloud/networkservices/v1/service_binding.proto +++ b/third_party/googleapis/google/cloud/networkservices/v1/service_binding.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -37,17 +37,20 @@ message ServiceBinding { }; // Required. Name of the ServiceBinding resource. It matches pattern - // `projects/*/locations/global/serviceBindings/service_binding_name>`. + // `projects/*/locations/global/serviceBindings/service_binding_name`. string name = 1 [(google.api.field_behavior) = REQUIRED]; - // Optional. A free-text description of the resource. Max length 1024 characters. + // Optional. A free-text description of the resource. Max length 1024 + // characters. string description = 2 [(google.api.field_behavior) = OPTIONAL]; // Output only. The timestamp when the resource was created. - google.protobuf.Timestamp create_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The timestamp when the resource was updated. - google.protobuf.Timestamp update_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Required. The full service directory service name of the format // /projects/*/locations/*/namespaces/*/services/* diff --git a/third_party/googleapis/google/cloud/networkservices/v1/tcp_route.proto b/third_party/googleapis/google/cloud/networkservices/v1/tcp_route.proto index 02cdaa862..0060a2899 100644 --- a/third_party/googleapis/google/cloud/networkservices/v1/tcp_route.proto +++ b/third_party/googleapis/google/cloud/networkservices/v1/tcp_route.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -44,9 +44,9 @@ message TcpRoute { // Specifies how to match traffic and how to route traffic when traffic is // matched. message RouteRule { - // Optional. RouteMatch defines the predicate used to match requests to a given - // action. Multiple match types are "OR"ed for evaluation. - // If no routeMatch field is specified, this rule will unconditionally match + // Optional. RouteMatch defines the predicate used to match requests to a + // given action. Multiple match types are "OR"ed for evaluation. If no + // routeMatch field is specified, this rule will unconditionally match // traffic. repeated RouteMatch matches = 1 [(google.api.field_behavior) = OPTIONAL]; @@ -59,10 +59,10 @@ message TcpRoute { // If no routeMatch field is specified, this rule will unconditionally match // traffic. message RouteMatch { - // Required. Must be specified in the CIDR range format. A CIDR range consists of an - // IP Address and a prefix length to construct the subnet mask. By default, - // the prefix length is 32 (i.e. matches a single IP address). Only IPV4 - // addresses are supported. + // Required. Must be specified in the CIDR range format. A CIDR range + // consists of an IP Address and a prefix length to construct the subnet + // mask. By default, the prefix length is 32 (i.e. matches a single IP + // address). Only IPV4 addresses are supported. // Examples: // "10.0.0.1" - matches against this exact IP address. // "10.0.0.0/8" - matches against any IP address within the 10.0.0.0 subnet @@ -76,12 +76,15 @@ message TcpRoute { // The specifications for routing traffic and applying associated policies. message RouteAction { - // Optional. The destination services to which traffic should be forwarded. At least - // one destination service is required. - repeated RouteDestination destinations = 1 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. If true, Router will use the destination IP and port of the original - // connection as the destination of the request. Default is false. + // Optional. The destination services to which traffic should be forwarded. + // At least one destination service is required. Only one of route + // destination or original destination can be set. + repeated RouteDestination destinations = 1 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If true, Router will use the destination IP and port of the + // original connection as the destination of the request. Default is false. + // Only one of route destinations or original destination can be set. bool original_destination = 3 [(google.api.field_behavior) = OPTIONAL]; } @@ -95,9 +98,9 @@ message TcpRoute { } ]; - // Optional. Specifies the proportion of requests forwarded to the backend referenced - // by the serviceName field. This is computed as: - // weight/Sum(weights in this destination list). + // Optional. Specifies the proportion of requests forwarded to the backend + // referenced by the serviceName field. This is computed as: + // - weight/Sum(weights in this destination list). // For non-zero values, there may be some epsilon from the exact proportion // defined here depending on the precision an implementation supports. // @@ -120,21 +123,24 @@ message TcpRoute { string self_link = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The timestamp when the resource was created. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The timestamp when the resource was updated. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Optional. A free-text description of the resource. Max length 1024 characters. + // Optional. A free-text description of the resource. Max length 1024 + // characters. string description = 4 [(google.api.field_behavior) = OPTIONAL]; - // Required. Rules that define how traffic is routed and handled. At least one RouteRule - // must be supplied. If there are multiple rules then the action taken will be - // the first rule to match. + // Required. Rules that define how traffic is routed and handled. At least one + // RouteRule must be supplied. If there are multiple rules then the action + // taken will be the first rule to match. repeated RouteRule rules = 5 [(google.api.field_behavior) = REQUIRED]; - // Optional. Meshes defines a list of meshes this TcpRoute is attached to, as one of the - // routing rules to route the requests served by the mesh. + // Optional. Meshes defines a list of meshes this TcpRoute is attached to, as + // one of the routing rules to route the requests served by the mesh. // // Each mesh reference should match the pattern: // `projects/*/locations/global/meshes/` @@ -147,8 +153,8 @@ message TcpRoute { } ]; - // Optional. Gateways defines a list of gateways this TcpRoute is attached to, as one of - // the routing rules to route the requests served by the gateway. + // Optional. Gateways defines a list of gateways this TcpRoute is attached to, + // as one of the routing rules to route the requests served by the gateway. // // Each gateway reference should match the pattern: // `projects/*/locations/global/gateways/` @@ -217,8 +223,7 @@ message CreateTcpRouteRequest { } ]; - // Required. Short name of the TcpRoute resource to be created. E.g. TODO(Add an - // example). + // Required. Short name of the TcpRoute resource to be created. string tcp_route_id = 2 [(google.api.field_behavior) = REQUIRED]; // Required. TcpRoute resource to be created. @@ -232,7 +237,8 @@ message UpdateTcpRouteRequest { // The fields specified in the update_mask are relative to the resource, not // the full request. A field will be overwritten if it is in the mask. If the // user does not provide a mask then all fields will be overwritten. - google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = OPTIONAL]; // Required. Updated TcpRoute resource. TcpRoute tcp_route = 2 [(google.api.field_behavior) = REQUIRED]; diff --git a/third_party/googleapis/google/cloud/networkservices/v1/tls_route.proto b/third_party/googleapis/google/cloud/networkservices/v1/tls_route.proto index 8ce4ed3e2..7117192b5 100644 --- a/third_party/googleapis/google/cloud/networkservices/v1/tls_route.proto +++ b/third_party/googleapis/google/cloud/networkservices/v1/tls_route.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -40,8 +40,8 @@ message TlsRoute { // Specifies how to match traffic and how to route traffic when traffic is // matched. message RouteRule { - // Required. RouteMatch defines the predicate used to match requests to a given - // action. Multiple match types are "OR"ed for evaluation. + // Required. RouteMatch defines the predicate used to match requests to a + // given action. Multiple match types are "OR"ed for evaluation. repeated RouteMatch matches = 1 [(google.api.field_behavior) = REQUIRED]; // Required. The detailed rule defining how to route matched traffic. @@ -54,9 +54,9 @@ message TlsRoute { // traffic. message RouteMatch { // Optional. SNI (server name indicator) to match against. - // SNI will be matched against all wildcard domains, i.e. www.example.com - // will be first matched against www.example.com, then *.example.com, then - // *.com. + // SNI will be matched against all wildcard domains, i.e. `www.example.com` + // will be first matched against `www.example.com`, then `*.example.com`, + // then `*.com.` // Partial wildcards are not supported, and values like *w.example.com are // invalid. // At least one of sni_host and alpn is required. @@ -72,9 +72,10 @@ message TlsRoute { // The specifications for routing traffic and applying associated policies. message RouteAction { - // Required. The destination services to which traffic should be forwarded. At least - // one destination service is required. - repeated RouteDestination destinations = 1 [(google.api.field_behavior) = REQUIRED]; + // Required. The destination services to which traffic should be forwarded. + // At least one destination service is required. + repeated RouteDestination destinations = 1 + [(google.api.field_behavior) = REQUIRED]; } // Describe the destination for traffic to be routed to. @@ -87,9 +88,9 @@ message TlsRoute { } ]; - // Optional. Specifies the proportion of requests forwareded to the backend referenced - // by the service_name field. This is computed as: - // weight/Sum(weights in destinations) + // Optional. Specifies the proportion of requests forwareded to the backend + // referenced by the service_name field. This is computed as: + // - weight/Sum(weights in destinations) // Weights in all destinations does not need to sum up to 100. int32 weight = 2 [(google.api.field_behavior) = OPTIONAL]; } @@ -102,21 +103,24 @@ message TlsRoute { string self_link = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The timestamp when the resource was created. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The timestamp when the resource was updated. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Optional. A free-text description of the resource. Max length 1024 characters. + // Optional. A free-text description of the resource. Max length 1024 + // characters. string description = 4 [(google.api.field_behavior) = OPTIONAL]; - // Required. Rules that define how traffic is routed and handled. At least one RouteRule - // must be supplied. If there are multiple rules then the action taken will be - // the first rule to match. + // Required. Rules that define how traffic is routed and handled. At least one + // RouteRule must be supplied. If there are multiple rules then the action + // taken will be the first rule to match. repeated RouteRule rules = 5 [(google.api.field_behavior) = REQUIRED]; - // Optional. Meshes defines a list of meshes this TlsRoute is attached to, as one of the - // routing rules to route the requests served by the mesh. + // Optional. Meshes defines a list of meshes this TlsRoute is attached to, as + // one of the routing rules to route the requests served by the mesh. // // Each mesh reference should match the pattern: // `projects/*/locations/global/meshes/` @@ -129,8 +133,8 @@ message TlsRoute { } ]; - // Optional. Gateways defines a list of gateways this TlsRoute is attached to, as one of - // the routing rules to route the requests served by the gateway. + // Optional. Gateways defines a list of gateways this TlsRoute is attached to, + // as one of the routing rules to route the requests served by the gateway. // // Each gateway reference should match the pattern: // `projects/*/locations/global/gateways/` @@ -196,8 +200,7 @@ message CreateTlsRouteRequest { } ]; - // Required. Short name of the TlsRoute resource to be created. E.g. TODO(Add an - // example). + // Required. Short name of the TlsRoute resource to be created. string tls_route_id = 2 [(google.api.field_behavior) = REQUIRED]; // Required. TlsRoute resource to be created. @@ -211,7 +214,8 @@ message UpdateTlsRouteRequest { // The fields specified in the update_mask are relative to the resource, not // the full request. A field will be overwritten if it is in the mask. If the // user does not provide a mask then all fields will be overwritten. - google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = OPTIONAL]; // Required. Updated TlsRoute resource. TlsRoute tls_route = 2 [(google.api.field_behavior) = REQUIRED]; diff --git a/third_party/googleapis/google/cloud/networkservices/v1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/networkservices/v1beta1/BUILD.bazel index fa07ee340..d8dc092bb 100644 --- a/third_party/googleapis/google/cloud/networkservices/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/networkservices/v1beta1/BUILD.bazel @@ -22,6 +22,7 @@ proto_library( name = "networkservices_proto", srcs = [ "common.proto", + "dep.proto", "endpoint_policy.proto", "network_services.proto", ], @@ -29,8 +30,10 @@ proto_library( "//google/api:annotations_proto", "//google/api:client_proto", "//google/api:field_behavior_proto", + "//google/api:field_info_proto", "//google/api:resource_proto", "//google/longrunning:operations_proto", + "@com_google_protobuf//:duration_proto", "@com_google_protobuf//:empty_proto", "@com_google_protobuf//:field_mask_proto", "@com_google_protobuf//:timestamp_proto", @@ -88,6 +91,8 @@ java_gapic_library( java_gapic_test( name = "networkservices_java_gapic_test_suite", test_classes = [ + "com.google.cloud.networkservices.v1beta1.DepServiceClientHttpJsonTest", + "com.google.cloud.networkservices.v1beta1.DepServiceClientTest", "com.google.cloud.networkservices.v1beta1.NetworkServicesClientHttpJsonTest", "com.google.cloud.networkservices.v1beta1.NetworkServicesClientTest", ], @@ -115,7 +120,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -144,22 +148,17 @@ go_gapic_library( "//google/longrunning:longrunning_go_proto", "@com_google_cloud_go_longrunning//:go_default_library", "@com_google_cloud_go_longrunning//autogen:go_default_library", + "@io_bazel_rules_go//proto/wkt:duration_go_proto", ], ) -go_test( - name = "networkservices_go_gapic_test", - srcs = [":networkservices_go_gapic_srcjar_test"], - embed = [":networkservices_go_gapic"], - importpath = "cloud.google.com/go/networkservices/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-networkservices-v1beta1-go", deps = [ ":networkservices_go_gapic", ":networkservices_go_gapic_srcjar-metadata.srcjar", + ":networkservices_go_gapic_srcjar-snippets.srcjar", ":networkservices_go_gapic_srcjar-test.srcjar", ":networkservices_go_proto", ], @@ -182,6 +181,8 @@ py_gapic_library( rest_numeric_enums = True, service_yaml = "networkservices_v1beta1.yaml", transport = "grpc+rest", + deps = [ + ], ) py_test( @@ -209,7 +210,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -218,21 +218,15 @@ php_proto_library( deps = [":networkservices_proto"], ) -php_grpc_library( - name = "networkservices_php_grpc", - srcs = [":networkservices_proto"], - deps = [":networkservices_php_proto"], -) - php_gapic_library( name = "networkservices_php_gapic", srcs = [":networkservices_proto_with_info"], grpc_service_config = "networkservices_v1beta1_grpc_service_config.json", + migration_mode = "PRE_MIGRATION_SURFACE_ONLY", rest_numeric_enums = True, service_yaml = "networkservices_v1beta1.yaml", transport = "grpc+rest", deps = [ - ":networkservices_php_grpc", ":networkservices_php_proto", ], ) @@ -242,7 +236,6 @@ php_gapic_assembly_pkg( name = "google-cloud-networkservices-v1beta1-php", deps = [ ":networkservices_php_gapic", - ":networkservices_php_grpc", ":networkservices_php_proto", ], ) @@ -306,6 +299,7 @@ ruby_cloud_gapic_library( grpc_service_config = "networkservices_v1beta1_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "networkservices_v1beta1.yaml", + transport = "grpc+rest", deps = [ ":networkservices_ruby_grpc", ":networkservices_ruby_proto", diff --git a/third_party/googleapis/google/cloud/networkservices/v1beta1/common.proto b/third_party/googleapis/google/cloud/networkservices/v1beta1/common.proto index c60e129af..210c43528 100644 --- a/third_party/googleapis/google/cloud/networkservices/v1beta1/common.proto +++ b/third_party/googleapis/google/cloud/networkservices/v1beta1/common.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -30,10 +30,12 @@ option ruby_package = "Google::Cloud::NetworkServices::V1beta1"; // Represents the metadata of the long-running operation. message OperationMetadata { // Output only. The time the operation was created. - google.protobuf.Timestamp create_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time the operation finished running. - google.protobuf.Timestamp end_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp end_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Server-defined resource path for the target of the operation. string target = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -46,8 +48,9 @@ message OperationMetadata { // Output only. Identifies whether the user has requested cancellation // of the operation. Operations that have successfully been cancelled - // have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, - // corresponding to `Code.CANCELLED`. + // have [Operation.error][] value with a + // [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to + // `Code.CANCELLED`. bool requested_cancellation = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. API version used to start the operation. diff --git a/third_party/googleapis/google/cloud/networkservices/v1beta1/endpoint_policy.proto b/third_party/googleapis/google/cloud/networkservices/v1beta1/endpoint_policy.proto index be5ca01a9..12f20c65c 100644 --- a/third_party/googleapis/google/cloud/networkservices/v1beta1/endpoint_policy.proto +++ b/third_party/googleapis/google/cloud/networkservices/v1beta1/endpoint_policy.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -69,10 +69,12 @@ message EndpointPolicy { string name = 1 [(google.api.field_behavior) = REQUIRED]; // Output only. The timestamp when the resource was created. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The timestamp when the resource was updated. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Optional. Set of label tags associated with the EndpointPolicy resource. map labels = 4 [(google.api.field_behavior) = OPTIONAL]; @@ -85,8 +87,7 @@ message EndpointPolicy { // applies authorization policies to the inbound traffic at the // matched endpoints. Refer to Authorization. If this field is not // specified, authorization is disabled(no authz checks) for this - // endpoint. Applicable only when EndpointPolicyType is - // SIDECAR_PROXY. + // endpoint. string authorization_policy = 7 [ (google.api.field_behavior) = OPTIONAL, (google.api.resource_reference) = { @@ -94,19 +95,22 @@ message EndpointPolicy { } ]; - // Required. A matcher that selects endpoints to which the policies should be applied. + // Required. A matcher that selects endpoints to which the policies should be + // applied. EndpointMatcher endpoint_matcher = 9 [(google.api.field_behavior) = REQUIRED]; // Optional. Port selector for the (matched) endpoints. If no port selector is // provided, the matched config is applied to all ports. - TrafficPortSelector traffic_port_selector = 10 [(google.api.field_behavior) = OPTIONAL]; + TrafficPortSelector traffic_port_selector = 10 + [(google.api.field_behavior) = OPTIONAL]; - // Optional. A free-text description of the resource. Max length 1024 characters. + // Optional. A free-text description of the resource. Max length 1024 + // characters. string description = 11 [(google.api.field_behavior) = OPTIONAL]; - // Optional. A URL referring to ServerTlsPolicy resource. ServerTlsPolicy is used to - // determine the authentication policy to be applied to terminate the inbound - // traffic at the identified backends. If this field is not set, + // Optional. A URL referring to ServerTlsPolicy resource. ServerTlsPolicy is + // used to determine the authentication policy to be applied to terminate the + // inbound traffic at the identified backends. If this field is not set, // authentication is disabled(open) for this endpoint. string server_tls_policy = 12 [ (google.api.field_behavior) = OPTIONAL, @@ -115,14 +119,14 @@ message EndpointPolicy { } ]; - // Optional. A URL referring to a ClientTlsPolicy resource. ClientTlsPolicy can be set - // to specify the authentication for traffic from the proxy to the actual - // endpoints. More specifically, it is applied to the outgoing traffic from - // the proxy to the endpoint. This is typically used for sidecar model where - // the proxy identifies itself as endpoint to the control plane, with the - // connection between sidecar and endpoint requiring authentication. If this - // field is not set, authentication is disabled(open). Applicable only when - // EndpointPolicyType is SIDECAR_PROXY. + // Optional. A URL referring to a ClientTlsPolicy resource. ClientTlsPolicy + // can be set to specify the authentication for traffic from the proxy to the + // actual endpoints. More specifically, it is applied to the outgoing traffic + // from the proxy to the endpoint. This is typically used for sidecar model + // where the proxy identifies itself as endpoint to the control plane, with + // the connection between sidecar and endpoint requiring authentication. If + // this field is not set, authentication is disabled(open). Applicable only + // when EndpointPolicyType is SIDECAR_PROXY. string client_tls_policy = 13 [ (google.api.field_behavior) = OPTIONAL, (google.api.resource_reference) = { @@ -133,8 +137,8 @@ message EndpointPolicy { // Request used with the ListEndpointPolicies method. message ListEndpointPoliciesRequest { - // Required. The project and location from which the EndpointPolicies should be - // listed, specified in the format `projects/*/locations/global`. + // Required. The project and location from which the EndpointPolicies should + // be listed, specified in the format `projects/*/locations/global`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -201,7 +205,8 @@ message UpdateEndpointPolicyRequest { // The fields specified in the update_mask are relative to the resource, not // the full request. A field will be overwritten if it is in the mask. If the // user does not provide a mask then all fields will be overwritten. - google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = OPTIONAL]; // Required. Updated EndpointPolicy resource. EndpointPolicy endpoint_policy = 2 [(google.api.field_behavior) = REQUIRED]; diff --git a/third_party/googleapis/google/cloud/networkservices/v1beta1/networkservices_v1beta1.yaml b/third_party/googleapis/google/cloud/networkservices/v1beta1/networkservices_v1beta1.yaml index ef4af5924..ac2466934 100644 --- a/third_party/googleapis/google/cloud/networkservices/v1beta1/networkservices_v1beta1.yaml +++ b/third_party/googleapis/google/cloud/networkservices/v1beta1/networkservices_v1beta1.yaml @@ -4,6 +4,7 @@ name: networkservices.googleapis.com title: Network Services API apis: +- name: google.cloud.networkservices.v1beta1.DepService - name: google.cloud.networkservices.v1beta1.NetworkServices types: @@ -87,6 +88,10 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform + - selector: 'google.cloud.networkservices.v1beta1.DepService.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform - selector: 'google.cloud.networkservices.v1beta1.NetworkServices.*' oauth: canonical_scopes: |- diff --git a/third_party/googleapis/google/cloud/networkservices/v1beta1/networkservices_v1beta1_grpc_service_config.json b/third_party/googleapis/google/cloud/networkservices/v1beta1/networkservices_v1beta1_grpc_service_config.json index 32d44787d..7ffd85c4e 100644 --- a/third_party/googleapis/google/cloud/networkservices/v1beta1/networkservices_v1beta1_grpc_service_config.json +++ b/third_party/googleapis/google/cloud/networkservices/v1beta1/networkservices_v1beta1_grpc_service_config.json @@ -4,6 +4,9 @@ "name": [ { "service": "google.cloud.networkservices.v1beta1.NetworkServices" + }, + { + "service": "google.cloud.networkservices.v1beta1.DepService" } ], "timeout": "60s" diff --git a/third_party/googleapis/google/cloud/notebooks/BUILD.bazel b/third_party/googleapis/google/cloud/notebooks/BUILD.bazel index 7d224824d..66bcb1e04 100644 --- a/third_party/googleapis/google/cloud/notebooks/BUILD.bazel +++ b/third_party/googleapis/google/cloud/notebooks/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-notebooks", "ruby-cloud-env-prefix=NOTEBOOKS", - "ruby-cloud-wrapper-of=v1:0.0;v1beta1:0.0", + "ruby-cloud-wrapper-of=v1:0.8;v1beta1:0.9", "ruby-cloud-product-url=https://cloud.google.com/ai-platform-notebooks", "ruby-cloud-api-id=notebooks.googleapis.com", "ruby-cloud-api-shortname=notebooks", ], ruby_cloud_description = "AI Platform Notebooks makes it easy to manage JupyterLab instances through a protected, publicly available notebook instance URL. A JupyterLab instance is a Deep Learning virtual machine instance with the latest machine learning and data science libraries pre-installed.", ruby_cloud_title = "AI Platform Notebooks", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/notebooks/logging/v1/BUILD.bazel b/third_party/googleapis/google/cloud/notebooks/logging/v1/BUILD.bazel index 87b665e70..01e026b5e 100644 --- a/third_party/googleapis/google/cloud/notebooks/logging/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/notebooks/logging/v1/BUILD.bazel @@ -23,8 +23,8 @@ proto_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "java_grpc_library", "java_proto_library", + "java_gapic_assembly_gradle_pkg", ) java_proto_library( @@ -32,10 +32,13 @@ java_proto_library( deps = [":logging_proto"], ) -java_grpc_library( - name = "logging_java_grpc", - srcs = [":logging_proto"], - deps = [":logging_java_proto"], +# Open Source Packages +java_gapic_assembly_gradle_pkg( + name = "google-cloud-notebooks-logging-v1-java", + deps = [ + ":logging_proto", + ":logging_java_proto", + ], ) ############################################################################## @@ -44,6 +47,7 @@ java_grpc_library( load( "@com_google_googleapis_imports//:imports.bzl", "go_proto_library", + "go_gapic_assembly_pkg", ) go_proto_library( @@ -56,6 +60,13 @@ go_proto_library( ], ) +go_gapic_assembly_pkg( + name = "google-cloud-notebooks-logging-v1-go", + deps = [ + ":logging_go_proto", + ], +) + ############################################################################## # Python ############################################################################## @@ -90,7 +101,7 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", + "php_gapic_assembly_pkg", "php_proto_library", ) @@ -99,22 +110,13 @@ php_proto_library( deps = [":logging_proto"], ) -php_grpc_library( - name = "logging_php_grpc", - srcs = [":logging_proto"], - deps = [":logging_php_proto"], -) - -############################################################################## -# Node.js -############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", +php_gapic_assembly_pkg( + name = "google-cloud-notebooks-logging-v1-php", + deps = [ + ":logging_php_proto", + ], ) - ############################################################################## # Ruby ############################################################################## @@ -140,7 +142,7 @@ ruby_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "csharp_grpc_library", + "csharp_gapic_assembly_pkg", "csharp_proto_library", ) @@ -149,10 +151,14 @@ csharp_proto_library( deps = [":logging_proto"], ) -csharp_grpc_library( - name = "logging_csharp_grpc", - srcs = [":logging_proto"], - deps = [":logging_csharp_proto"], +# Open Source Packages +csharp_gapic_assembly_pkg( + name = "google-cloud-notebooks-logging-v1-csharp", + package_name = "Google.Cloud.Notebooks.Logging.V1", + generate_nongapic_package = True, + deps = [ + ":logging_csharp_proto", + ], ) ############################################################################## diff --git a/third_party/googleapis/google/cloud/notebooks/logging/v1/runtime_log.proto b/third_party/googleapis/google/cloud/notebooks/logging/v1/runtime_log.proto index bfb904a55..20fe64e70 100644 --- a/third_party/googleapis/google/cloud/notebooks/logging/v1/runtime_log.proto +++ b/third_party/googleapis/google/cloud/notebooks/logging/v1/runtime_log.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,6 +18,7 @@ package google.cloud.notebooks.logging.v1; import "google/api/field_behavior.proto"; +option csharp_namespace = "Google.Cloud.Notebooks.Logging.V1"; option go_package = "cloud.google.com/go/notebooks/logging/apiv1/loggingpb;loggingpb"; option java_multiple_files = true; option java_outer_classname = "RuntimeLogProto"; diff --git a/third_party/googleapis/google/cloud/notebooks/v1/BUILD.bazel b/third_party/googleapis/google/cloud/notebooks/v1/BUILD.bazel index f93cfc138..a7e4929d2 100644 --- a/third_party/googleapis/google/cloud/notebooks/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/notebooks/v1/BUILD.bazel @@ -38,7 +38,6 @@ proto_library( "//google/api:field_behavior_proto", "//google/api:resource_proto", "//google/longrunning:operations_proto", - "@com_google_protobuf//:empty_proto", "@com_google_protobuf//:field_mask_proto", "@com_google_protobuf//:timestamp_proto", ], @@ -85,9 +84,9 @@ java_gapic_library( rest_numeric_enums = True, service_yaml = "notebooks_v1.yaml", test_deps = [ - ":notebooks_java_grpc", "//google/cloud/location:location_java_grpc", "//google/iam/v1:iam_java_grpc", + ":notebooks_java_grpc", ], transport = "grpc", deps = [ @@ -111,7 +110,7 @@ java_gapic_test( java_gapic_assembly_gradle_pkg( name = "google-cloud-notebooks-v1-java", include_samples = True, - transport = "grpc+rest", + transport = "grpc", deps = [ ":notebooks_java_gapic", ":notebooks_java_grpc", @@ -128,7 +127,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -162,19 +160,13 @@ go_gapic_library( ], ) -go_test( - name = "notebooks_go_gapic_test", - srcs = [":notebooks_go_gapic_srcjar_test"], - embed = [":notebooks_go_gapic"], - importpath = "cloud.google.com/go/notebooks/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-notebooks-v1-go", deps = [ ":notebooks_go_gapic", ":notebooks_go_gapic_srcjar-metadata.srcjar", + ":notebooks_go_gapic_srcjar-snippets.srcjar", ":notebooks_go_gapic_srcjar-test.srcjar", ":notebooks_go_proto", ], @@ -227,7 +219,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -236,21 +227,15 @@ php_proto_library( deps = [":notebooks_proto"], ) -php_grpc_library( - name = "notebooks_php_grpc", - srcs = [":notebooks_proto"], - deps = [":notebooks_php_proto"], -) - php_gapic_library( name = "notebooks_php_gapic", srcs = [":notebooks_proto_with_info"], grpc_service_config = "notebooks_grpc_service_config.json", + migration_mode = "NEW_SURFACE_ONLY", rest_numeric_enums = True, service_yaml = "notebooks_v1.yaml", transport = "grpc+rest", deps = [ - ":notebooks_php_grpc", ":notebooks_php_proto", ], ) @@ -260,7 +245,6 @@ php_gapic_assembly_pkg( name = "google-cloud-notebooks-v1-php", deps = [ ":notebooks_php_gapic", - ":notebooks_php_grpc", ":notebooks_php_proto", ], ) @@ -332,6 +316,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "AI Platform Notebooks makes it easy to manage JupyterLab instances through a protected, publicly available notebook instance URL. A JupyterLab instance is a Deep Learning virtual machine instance with the latest machine learning and data science libraries pre-installed.", ruby_cloud_title = "AI Platform Notebooks V1", service_yaml = "notebooks_v1.yaml", + transport = "grpc+rest", deps = [ ":notebooks_ruby_grpc", ":notebooks_ruby_proto", diff --git a/third_party/googleapis/google/cloud/notebooks/v1/diagnostic_config.proto b/third_party/googleapis/google/cloud/notebooks/v1/diagnostic_config.proto index 11a8198cc..ab8b98f16 100644 --- a/third_party/googleapis/google/cloud/notebooks/v1/diagnostic_config.proto +++ b/third_party/googleapis/google/cloud/notebooks/v1/diagnostic_config.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/notebooks/v1/environment.proto b/third_party/googleapis/google/cloud/notebooks/v1/environment.proto index 92aa1ffc7..cf947b824 100644 --- a/third_party/googleapis/google/cloud/notebooks/v1/environment.proto +++ b/third_party/googleapis/google/cloud/notebooks/v1/environment.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/notebooks/v1/event.proto b/third_party/googleapis/google/cloud/notebooks/v1/event.proto index 66d58bbf9..2f62bda32 100644 --- a/third_party/googleapis/google/cloud/notebooks/v1/event.proto +++ b/third_party/googleapis/google/cloud/notebooks/v1/event.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/notebooks/v1/execution.proto b/third_party/googleapis/google/cloud/notebooks/v1/execution.proto index 4d4e28250..c23545d31 100644 --- a/third_party/googleapis/google/cloud/notebooks/v1/execution.proto +++ b/third_party/googleapis/google/cloud/notebooks/v1/execution.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/notebooks/v1/instance.proto b/third_party/googleapis/google/cloud/notebooks/v1/instance.proto index 6354b3c46..d78883938 100644 --- a/third_party/googleapis/google/cloud/notebooks/v1/instance.proto +++ b/third_party/googleapis/google/cloud/notebooks/v1/instance.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/notebooks/v1/instance_config.proto b/third_party/googleapis/google/cloud/notebooks/v1/instance_config.proto index 77ac3714e..59fd01ef7 100644 --- a/third_party/googleapis/google/cloud/notebooks/v1/instance_config.proto +++ b/third_party/googleapis/google/cloud/notebooks/v1/instance_config.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/notebooks/v1/managed_service.proto b/third_party/googleapis/google/cloud/notebooks/v1/managed_service.proto index cc0ab598b..245e07640 100644 --- a/third_party/googleapis/google/cloud/notebooks/v1/managed_service.proto +++ b/third_party/googleapis/google/cloud/notebooks/v1/managed_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/notebooks/v1/runtime.proto b/third_party/googleapis/google/cloud/notebooks/v1/runtime.proto index 6f23a2b24..48505b537 100644 --- a/third_party/googleapis/google/cloud/notebooks/v1/runtime.proto +++ b/third_party/googleapis/google/cloud/notebooks/v1/runtime.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/notebooks/v1/schedule.proto b/third_party/googleapis/google/cloud/notebooks/v1/schedule.proto index 671b5d1b8..9d30a17ee 100644 --- a/third_party/googleapis/google/cloud/notebooks/v1/schedule.proto +++ b/third_party/googleapis/google/cloud/notebooks/v1/schedule.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/notebooks/v1/service.proto b/third_party/googleapis/google/cloud/notebooks/v1/service.proto index 744dc72d9..04c42eddd 100644 --- a/third_party/googleapis/google/cloud/notebooks/v1/service.proto +++ b/third_party/googleapis/google/cloud/notebooks/v1/service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/notebooks/v1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/notebooks/v1beta1/BUILD.bazel index 7e38feed4..b1d2b844a 100644 --- a/third_party/googleapis/google/cloud/notebooks/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/notebooks/v1beta1/BUILD.bazel @@ -31,7 +31,6 @@ proto_library( "//google/api:field_behavior_proto", "//google/api:resource_proto", "//google/longrunning:operations_proto", - "@com_google_protobuf//:empty_proto", "@com_google_protobuf//:timestamp_proto", ], ) @@ -77,9 +76,9 @@ java_gapic_library( rest_numeric_enums = True, service_yaml = "notebooks_v1beta1.yaml", test_deps = [ - ":notebooks_java_grpc", "//google/cloud/location:location_java_grpc", "//google/iam/v1:iam_java_grpc", + ":notebooks_java_grpc", ], transport = "grpc", deps = [ @@ -102,7 +101,7 @@ java_gapic_test( java_gapic_assembly_gradle_pkg( name = "google-cloud-notebooks-v1beta1-java", include_samples = True, - transport = "grpc+rest", + transport = "grpc", deps = [ ":notebooks_java_gapic", ":notebooks_java_grpc", @@ -119,7 +118,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -153,19 +151,13 @@ go_gapic_library( ], ) -go_test( - name = "notebooks_go_gapic_test", - srcs = [":notebooks_go_gapic_srcjar_test"], - embed = [":notebooks_go_gapic"], - importpath = "cloud.google.com/go/notebooks/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-notebooks-v1beta1-go", deps = [ ":notebooks_go_gapic", ":notebooks_go_gapic_srcjar-metadata.srcjar", + ":notebooks_go_gapic_srcjar-snippets.srcjar", ":notebooks_go_gapic_srcjar-test.srcjar", ":notebooks_go_proto", ], @@ -218,7 +210,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -227,21 +218,15 @@ php_proto_library( deps = [":notebooks_proto"], ) -php_grpc_library( - name = "notebooks_php_grpc", - srcs = [":notebooks_proto"], - deps = [":notebooks_php_proto"], -) - php_gapic_library( name = "notebooks_php_gapic", srcs = [":notebooks_proto_with_info"], grpc_service_config = "notebooks_grpc_service_config.json", + migration_mode = "PRE_MIGRATION_SURFACE_ONLY", rest_numeric_enums = True, service_yaml = "notebooks_v1beta1.yaml", transport = "grpc+rest", deps = [ - ":notebooks_php_grpc", ":notebooks_php_proto", ], ) @@ -251,7 +236,6 @@ php_gapic_assembly_pkg( name = "google-cloud-notebooks-v1beta1-php", deps = [ ":notebooks_php_gapic", - ":notebooks_php_grpc", ":notebooks_php_proto", ], ) @@ -323,6 +307,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "AI Platform Notebooks makes it easy to manage JupyterLab instances through a protected, publicly available notebook instance URL. A JupyterLab instance is a Deep Learning virtual machine instance with the latest machine learning and data science libraries pre-installed.", ruby_cloud_title = "AI Platform Notebooks V1beta1", service_yaml = "notebooks_v1beta1.yaml", + transport = "grpc", deps = [ ":notebooks_ruby_grpc", ":notebooks_ruby_proto", diff --git a/third_party/googleapis/google/cloud/notebooks/v1beta1/environment.proto b/third_party/googleapis/google/cloud/notebooks/v1beta1/environment.proto index ab26aeda4..abe755073 100644 --- a/third_party/googleapis/google/cloud/notebooks/v1beta1/environment.proto +++ b/third_party/googleapis/google/cloud/notebooks/v1beta1/environment.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/notebooks/v1beta1/instance.proto b/third_party/googleapis/google/cloud/notebooks/v1beta1/instance.proto index 18d21d864..123ace8c1 100644 --- a/third_party/googleapis/google/cloud/notebooks/v1beta1/instance.proto +++ b/third_party/googleapis/google/cloud/notebooks/v1beta1/instance.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/notebooks/v1beta1/service.proto b/third_party/googleapis/google/cloud/notebooks/v1beta1/service.proto index 37fabfc65..57dfe2f38 100644 --- a/third_party/googleapis/google/cloud/notebooks/v1beta1/service.proto +++ b/third_party/googleapis/google/cloud/notebooks/v1beta1/service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/optimization/BUILD.bazel b/third_party/googleapis/google/cloud/optimization/BUILD.bazel index 5bb3809b8..3fe12c8f6 100644 --- a/third_party/googleapis/google/cloud/optimization/BUILD.bazel +++ b/third_party/googleapis/google/cloud/optimization/BUILD.bazel @@ -21,13 +21,14 @@ ruby_cloud_gapic_library( srcs = ["//google/cloud/optimization/v1:optimization_proto_with_info"], extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-optimization", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.8", "ruby-cloud-product-url=https://cloud.google.com/optimization", "ruby-cloud-api-id=cloudoptimization.googleapis.com", "ruby-cloud-api-shortname=cloudoptimization", ], ruby_cloud_description = "Cloud Optimization API provides a portfolio of solvers to address common optimization use cases starting with optimal route planning for vehicle fleets.", ruby_cloud_title = "Cloud Optimization", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/optimization/v1/BUILD.bazel b/third_party/googleapis/google/cloud/optimization/v1/BUILD.bazel index 5ff4ba043..e206fa2fc 100644 --- a/third_party/googleapis/google/cloud/optimization/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/optimization/v1/BUILD.bazel @@ -70,7 +70,7 @@ java_gapic_library( name = "optimization_java_gapic", srcs = [":optimization_proto_with_info"], gapic_yaml = "cloudoptimization_gapic.yaml", - grpc_service_config = "cloudoptimization_v1_grpc_service_config.json", + grpc_service_config = "cloudoptimization_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "cloudoptimization_v1.yaml", test_deps = [ @@ -113,7 +113,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -131,7 +130,7 @@ go_proto_library( go_gapic_library( name = "optimization_go_gapic", srcs = [":optimization_proto_with_info"], - grpc_service_config = "cloudoptimization_v1_grpc_service_config.json", + grpc_service_config = "cloudoptimization_grpc_service_config.json", importpath = "cloud.google.com/go/optimization/apiv1;optimization", metadata = True, release_level = "ga", @@ -147,19 +146,13 @@ go_gapic_library( ], ) -go_test( - name = "optimization_go_gapic_test", - srcs = [":optimization_go_gapic_srcjar_test"], - embed = [":optimization_go_gapic"], - importpath = "cloud.google.com/go/optimization/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-optimization-v1-go", deps = [ ":optimization_go_gapic", ":optimization_go_gapic_srcjar-metadata.srcjar", + ":optimization_go_gapic_srcjar-snippets.srcjar", ":optimization_go_gapic_srcjar-test.srcjar", ":optimization_go_proto", ], @@ -178,7 +171,7 @@ load( py_gapic_library( name = "optimization_py_gapic", srcs = [":optimization_proto"], - grpc_service_config = "cloudoptimization_v1_grpc_service_config.json", + grpc_service_config = "cloudoptimization_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "cloudoptimization_v1.yaml", transport = "grpc+rest", @@ -211,7 +204,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -220,21 +212,15 @@ php_proto_library( deps = [":optimization_proto"], ) -php_grpc_library( - name = "optimization_php_grpc", - srcs = [":optimization_proto"], - deps = [":optimization_php_proto"], -) - php_gapic_library( name = "optimization_php_gapic", srcs = [":optimization_proto_with_info"], - grpc_service_config = "cloudoptimization_v1_grpc_service_config.json", + grpc_service_config = "cloudoptimization_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "cloudoptimization_v1.yaml", transport = "grpc+rest", deps = [ - ":optimization_php_grpc", ":optimization_php_proto", ], ) @@ -244,7 +230,6 @@ php_gapic_assembly_pkg( name = "google-cloud-optimization-v1-php", deps = [ ":optimization_php_gapic", - ":optimization_php_grpc", ":optimization_php_proto", ], ) @@ -263,7 +248,7 @@ nodejs_gapic_library( package_name = "@google-cloud/optimization", src = ":optimization_proto_with_info", extra_protoc_parameters = ["metadata"], - grpc_service_config = "cloudoptimization_v1_grpc_service_config.json", + grpc_service_config = "cloudoptimization_grpc_service_config.json", package = "google.cloud.optimization.v1", rest_numeric_enums = True, service_yaml = "cloudoptimization_v1.yaml", @@ -310,11 +295,12 @@ ruby_cloud_gapic_library( "ruby-cloud-gem-name=google-cloud-optimization-v1", "ruby-cloud-product-url=https://cloud.google.com/optimization", ], - grpc_service_config = "cloudoptimization_v1_grpc_service_config.json", + grpc_service_config = "cloudoptimization_grpc_service_config.json", rest_numeric_enums = True, ruby_cloud_description = "Cloud Optimization API provides a portfolio of solvers to address common optimization use cases starting with optimal route planning for vehicle fleets.", ruby_cloud_title = "Cloud Optimization V1", service_yaml = "cloudoptimization_v1.yaml", + transport = "grpc+rest", deps = [ ":optimization_ruby_grpc", ":optimization_ruby_proto", @@ -344,6 +330,7 @@ load( csharp_proto_library( name = "optimization_csharp_proto", + extra_opts = [], deps = [":optimization_proto"], ) @@ -357,7 +344,7 @@ csharp_gapic_library( name = "optimization_csharp_gapic", srcs = [":optimization_proto_with_info"], common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", - grpc_service_config = "cloudoptimization_v1_grpc_service_config.json", + grpc_service_config = "cloudoptimization_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "cloudoptimization_v1.yaml", transport = "grpc+rest", diff --git a/third_party/googleapis/google/cloud/optimization/v1/async_model.proto b/third_party/googleapis/google/cloud/optimization/v1/async_model.proto index a3da0e479..5706871e1 100644 --- a/third_party/googleapis/google/cloud/optimization/v1/async_model.proto +++ b/third_party/googleapis/google/cloud/optimization/v1/async_model.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/optimization/v1/cloudoptimization_v1_grpc_service_config.json b/third_party/googleapis/google/cloud/optimization/v1/cloudoptimization_grpc_service_config.json similarity index 100% rename from third_party/googleapis/google/cloud/optimization/v1/cloudoptimization_v1_grpc_service_config.json rename to third_party/googleapis/google/cloud/optimization/v1/cloudoptimization_grpc_service_config.json diff --git a/third_party/googleapis/google/cloud/optimization/v1/fleet_routing.proto b/third_party/googleapis/google/cloud/optimization/v1/fleet_routing.proto index d641cdd0f..13dfb375d 100644 --- a/third_party/googleapis/google/cloud/optimization/v1/fleet_routing.proto +++ b/third_party/googleapis/google/cloud/optimization/v1/fleet_routing.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -122,12 +122,20 @@ message OptimizeToursRequest { VALIDATE_ONLY = 1; // Only populates + // [OptimizeToursResponse.validation_errors][google.cloud.optimization.v1.OptimizeToursResponse.validation_errors] + // or // [OptimizeToursResponse.skipped_shipments][google.cloud.optimization.v1.OptimizeToursResponse.skipped_shipments], // and doesn't actually solve the rest of the request (`status` and `routes` // are unset in the response). + // If infeasibilities in `injected_solution_constraint` routes are detected + // they are populated in the + // [OptimizeToursResponse.validation_errors][google.cloud.optimization.v1.OptimizeToursResponse.validation_errors] + // field and + // [OptimizeToursResponse.skipped_shipments][google.cloud.optimization.v1.OptimizeToursResponse.skipped_shipments] + // is left empty. // // *IMPORTANT*: not all infeasible shipments are returned here, but only the - // ones that are detected as infeasible as a preprocessing. + // ones that are detected as infeasible during preprocessing. DETECT_SOME_INFEASIBLE_SHIPMENTS = 2; } @@ -165,15 +173,6 @@ message OptimizeToursRequest { // By default, the solving mode is `DEFAULT_SOLVE` (0). SolvingMode solving_mode = 4; - // Truncates the number of validation errors returned. These errors are - // typically attached to an INVALID_ARGUMENT error payload as a BadRequest - // error detail (https://cloud.google.com/apis/design/errors#error_details), - // unless solving_mode=VALIDATE_ONLY: see the - // [OptimizeToursResponse.validation_errors][google.cloud.optimization.v1.OptimizeToursResponse.validation_errors] - // field. - // This defaults to 100 and is capped at 10,000. - optional int32 max_validation_errors = 5; - // Search mode used to solve the request. SearchMode search_mode = 6; @@ -339,6 +338,15 @@ message OptimizeToursRequest { // meters/seconds. optional double geodesic_meters_per_second = 16; + // Truncates the number of validation errors returned. These errors are + // typically attached to an INVALID_ARGUMENT error payload as a BadRequest + // error detail (https://cloud.google.com/apis/design/errors#error_details), + // unless solving_mode=VALIDATE_ONLY: see the + // [OptimizeToursResponse.validation_errors][google.cloud.optimization.v1.OptimizeToursResponse.validation_errors] + // field. + // This defaults to 100 and is capped at 10,000. + optional int32 max_validation_errors = 5; + // Label that may be used to identify this request, reported back in the // [OptimizeToursResponse.request_label][google.cloud.optimization.v1.OptimizeToursResponse.request_label]. string label = 17; @@ -1116,6 +1124,32 @@ message ShipmentTypeRequirement { RequirementMode requirement_mode = 3; } +// Encapsulates a set of optional conditions to satisfy when calculating +// vehicle routes. This is similar to `RouteModifiers` in the Google Maps +// Platform API; see: +// https://developers.google.com/maps/documentation/routes/reference/rest/v2/RouteModifiers. +message RouteModifiers { + // Specifies whether to avoid toll roads where reasonable. Preference will be + // given to routes not containing toll roads. Applies only to motorized travel + // modes. + bool avoid_tolls = 2; + + // Specifies whether to avoid highways where reasonable. Preference will be + // given to routes not containing highways. Applies only to motorized travel + // modes. + bool avoid_highways = 3; + + // Specifies whether to avoid ferries where reasonable. Preference will be + // given to routes not containing travel by ferries. Applies only to motorized + // travel modes. + bool avoid_ferries = 4; + + // Optional. Specifies whether to avoid navigating indoors where reasonable. + // Preference will be given to routes not containing indoor navigation. + // Applies only to the `WALKING` travel mode. + bool avoid_indoor = 5 [(google.api.field_behavior) = OPTIONAL]; +} + // Models a vehicle in a shipment problem. Solving a shipment problem will // build a route starting from `start_location` and ending at `end_location` // for this vehicle. A route is a sequence of visits (see `ShipmentRoute`). @@ -1131,6 +1165,9 @@ message Vehicle { // Travel mode corresponding to driving directions (car, ...). DRIVING = 1; + + // Travel mode corresponding to walking directions. + WALKING = 2; } // Policy on how a vehicle can be unloaded. Applies only to shipments having @@ -1253,6 +1290,10 @@ message Vehicle { // speed. See also `travel_duration_multiple`. TravelMode travel_mode = 1; + // Optional. A set of conditions to satisfy that affect the way routes are + // calculated for the given vehicle. + RouteModifiers route_modifiers = 2 [(google.api.field_behavior) = OPTIONAL]; + // Geographic location where the vehicle starts before picking up any // shipments. If not specified, the vehicle starts at its first pickup. // If the shipment model has duration and distance matrices, `start_location` @@ -1565,6 +1606,15 @@ message DistanceLimit { // nonnegative. optional int64 soft_max_meters = 2; + // Cost per kilometer incurred, increasing up to `soft_max_meters`, with + // formula: + // ``` + // min(distance_meters, soft_max_meters) / 1000.0 * + // cost_per_kilometer_below_soft_max. + // ``` + // This cost is not supported in `route_distance_limit`. + optional double cost_per_kilometer_below_soft_max = 4; + // Cost per kilometer incurred if distance is above `soft_max_meters` limit. // The additional cost is 0 if the distance is under the limit, otherwise the // formula used to compute the cost is the following: @@ -2300,10 +2350,10 @@ message AggregatedMetrics { google.protobuf.Duration visit_duration = 6; // The total duration should be equal to the sum of all durations above. - // For routes, it also corresponds to + // For routes, it also corresponds to: // [ShipmentRoute.vehicle_end_time][google.cloud.optimization.v1.ShipmentRoute.vehicle_end_time] - // - - // [ShipmentRoute.vehicle_start_time][google.cloud.optimization.v1.ShipmentRoute.vehicle_start_time]. + // `-` + // [ShipmentRoute.vehicle_start_time][google.cloud.optimization.v1.ShipmentRoute.vehicle_start_time] google.protobuf.Duration total_duration = 7; // Total travel distance for a route or a solution. @@ -2395,7 +2445,8 @@ message InjectedSolutionConstraint { RELAX_VISIT_TIMES_AFTER_THRESHOLD = 1; // Same as `RELAX_VISIT_TIMES_AFTER_THRESHOLD`, but the visit sequence - // is also relaxed: visits remain simply bound to their vehicle. + // is also relaxed: visits can only be performed by this vehicle, but + // can potentially become unperformed. RELAX_VISIT_TIMES_AND_SEQUENCE_AFTER_THRESHOLD = 2; // Same as `RELAX_VISIT_TIMES_AND_SEQUENCE_AFTER_THRESHOLD`, but the @@ -2533,6 +2584,7 @@ message OptimizeToursValidationError { // * INJECTED_SOLUTION_CONCURRENT_SOLUTION_TYPES = 2005; // * INJECTED_SOLUTION_MORE_THAN_ONE_PER_TYPE = 2006; // * INJECTED_SOLUTION_REFRESH_WITHOUT_POPULATE = 2008; + // * INJECTED_SOLUTION_CONSTRAINED_ROUTE_PORTION_INFEASIBLE = 2010; // * SHIPMENT_MODEL_ERROR = 22; // * SHIPMENT_MODEL_TOO_LARGE = 2200; // * SHIPMENT_MODEL_TOO_MANY_CAPACITY_TYPES = 2201; @@ -2674,6 +2726,13 @@ message OptimizeToursValidationError { // * VISIT_REQUEST_DURATION_NEGATIVE_OR_NAN = 4404; // * VISIT_REQUEST_DURATION_EXCEEDS_GLOBAL_DURATION = 4405; // * PRECEDENCE_ERROR = 46; + // * PRECEDENCE_RULE_MISSING_FIRST_INDEX = 4600; + // * PRECEDENCE_RULE_MISSING_SECOND_INDEX = 4601; + // * PRECEDENCE_RULE_FIRST_INDEX_OUT_OF_BOUNDS = 4602; + // * PRECEDENCE_RULE_SECOND_INDEX_OUT_OF_BOUNDS = 4603; + // * PRECEDENCE_RULE_DUPLICATE_INDEX = 4604; + // * PRECEDENCE_RULE_INEXISTENT_FIRST_VISIT_REQUEST = 4605; + // * PRECEDENCE_RULE_INEXISTENT_SECOND_VISIT_REQUEST = 4606; // * BREAK_ERROR = 48; // * BREAK_RULE_EMPTY = 4800; // * BREAK_REQUEST_UNSPECIFIED_DURATION = 4801; diff --git a/third_party/googleapis/google/cloud/orchestration/airflow/service/BUILD.bazel b/third_party/googleapis/google/cloud/orchestration/airflow/service/BUILD.bazel index 83e774c05..fee045d69 100644 --- a/third_party/googleapis/google/cloud/orchestration/airflow/service/BUILD.bazel +++ b/third_party/googleapis/google/cloud/orchestration/airflow/service/BUILD.bazel @@ -21,13 +21,14 @@ ruby_cloud_gapic_library( srcs = ["//google/cloud/orchestration/airflow/service/v1:service_proto_with_info"], extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-orchestration-airflow-service", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.9", "ruby-cloud-product-url=https://cloud.google.com/composer", "ruby-cloud-api-id=composer.googleapis.com", "ruby-cloud-api-shortname=composer", ], ruby_cloud_description = "The client library for the Cloud Composer API, built on the popular Apache Airflow open source project. Cloud Composer is a fully managed workflow orchestration service, enabling you to create, schedule, monitor, and manage workflows that span across clouds and on-premises data centers.", ruby_cloud_title = "Cloud Composer", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/orchestration/airflow/service/v1/BUILD.bazel b/third_party/googleapis/google/cloud/orchestration/airflow/service/v1/BUILD.bazel index 5cc253db0..8749f2354 100644 --- a/third_party/googleapis/google/cloud/orchestration/airflow/service/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/orchestration/airflow/service/v1/BUILD.bazel @@ -72,14 +72,17 @@ java_grpc_library( java_gapic_library( name = "service_java_gapic", srcs = [":service_proto_with_info"], + gapic_yaml = None, grpc_service_config = "composer_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "composer_v1.yaml", test_deps = [ ":service_java_grpc", ], transport = "grpc+rest", deps = [ ":service_java_proto", + "//google/api:api_java_proto", ], ) @@ -115,7 +118,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -148,19 +150,13 @@ go_gapic_library( ], ) -go_test( - name = "service_go_gapic_test", - srcs = [":service_go_gapic_srcjar_test"], - embed = [":service_go_gapic"], - importpath = "cloud.google.com/go/orchestration/airflow/service/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-airflow-service-v1-go", deps = [ ":service_go_gapic", ":service_go_gapic_srcjar-metadata.srcjar", + ":service_go_gapic_srcjar-snippets.srcjar", ":service_go_gapic_srcjar-test.srcjar", ":service_go_proto", ], @@ -180,12 +176,12 @@ py_gapic_library( name = "service_py_gapic", srcs = [":service_proto"], grpc_service_config = "composer_grpc_service_config.json", - opt_args = [ - "warehouse-package-name=google-cloud-orchestration-airflow", - ], + opt_args = ["warehouse-package-name=google-cloud-orchestration-airflow"], rest_numeric_enums = True, service_yaml = "composer_v1.yaml", transport = "grpc+rest", + deps = [ + ], ) py_test( @@ -213,7 +209,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -222,21 +217,15 @@ php_proto_library( deps = [":service_proto"], ) -php_grpc_library( - name = "service_php_grpc", - srcs = [":service_proto"], - deps = [":service_php_proto"], -) - php_gapic_library( name = "service_php_gapic", srcs = [":service_proto_with_info"], grpc_service_config = "composer_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "composer_v1.yaml", transport = "grpc+rest", deps = [ - ":service_php_grpc", ":service_php_proto", ], ) @@ -246,7 +235,6 @@ php_gapic_assembly_pkg( name = "google-cloud-airflow-service-v1-php", deps = [ ":service_php_gapic", - ":service_php_grpc", ":service_php_proto", ], ) @@ -307,16 +295,17 @@ ruby_cloud_gapic_library( name = "service_ruby_gapic", srcs = [":service_proto_with_info"], extra_protoc_parameters = [ - "ruby-cloud-gem-name=google-cloud-orchestration-airflow-service-v1", - "ruby-cloud-product-url=https://cloud.google.com/composer", "ruby-cloud-api-id=composer.googleapis.com", "ruby-cloud-api-shortname=composer", + "ruby-cloud-gem-name=google-cloud-orchestration-airflow-service-v1", + "ruby-cloud-product-url=https://cloud.google.com/composer", ], grpc_service_config = "composer_grpc_service_config.json", rest_numeric_enums = True, ruby_cloud_description = "The client library for the Cloud Composer API, built on the popular Apache Airflow open source project. Cloud Composer is a fully managed workflow orchestration service, enabling you to create, schedule, monitor, and manage workflows that span across clouds and on-premises data centers.", ruby_cloud_title = "Cloud Composer V1", service_yaml = "composer_v1.yaml", + transport = "grpc+rest", deps = [ ":service_ruby_grpc", ":service_ruby_proto", @@ -346,6 +335,7 @@ load( csharp_proto_library( name = "service_csharp_proto", + extra_opts = [], deps = [":service_proto"], ) diff --git a/third_party/googleapis/google/cloud/orchestration/airflow/service/v1/composer_v1.yaml b/third_party/googleapis/google/cloud/orchestration/airflow/service/v1/composer_v1.yaml index f4a254cb2..d5d5691e1 100644 --- a/third_party/googleapis/google/cloud/orchestration/airflow/service/v1/composer_v1.yaml +++ b/third_party/googleapis/google/cloud/orchestration/airflow/service/v1/composer_v1.yaml @@ -10,9 +10,15 @@ apis: types: - name: google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse +- name: google.cloud.orchestration.airflow.service.v1.DatabaseFailoverResponse +- name: google.cloud.orchestration.airflow.service.v1.ExecuteAirflowCommandResponse +- name: google.cloud.orchestration.airflow.service.v1.FetchDatabasePropertiesResponse +- name: google.cloud.orchestration.airflow.service.v1.ListWorkloadsResponse - name: google.cloud.orchestration.airflow.service.v1.LoadSnapshotResponse - name: google.cloud.orchestration.airflow.service.v1.OperationMetadata +- name: google.cloud.orchestration.airflow.service.v1.PollAirflowCommandResponse - name: google.cloud.orchestration.airflow.service.v1.SaveSnapshotResponse +- name: google.cloud.orchestration.airflow.service.v1.StopAirflowCommandResponse documentation: summary: Manages Apache Airflow environments on Google Cloud Platform. diff --git a/third_party/googleapis/google/cloud/orchestration/airflow/service/v1/environments.proto b/third_party/googleapis/google/cloud/orchestration/airflow/service/v1/environments.proto index c1021dd04..72fbe14f3 100644 --- a/third_party/googleapis/google/cloud/orchestration/airflow/service/v1/environments.proto +++ b/third_party/googleapis/google/cloud/orchestration/airflow/service/v1/environments.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -94,6 +94,170 @@ service Environments { }; } + // Executes Airflow CLI command. + rpc ExecuteAirflowCommand(ExecuteAirflowCommandRequest) + returns (ExecuteAirflowCommandResponse) { + option (google.api.http) = { + post: "/v1/{environment=projects/*/locations/*/environments/*}:executeAirflowCommand" + body: "*" + }; + } + + // Stops Airflow CLI command execution. + rpc StopAirflowCommand(StopAirflowCommandRequest) + returns (StopAirflowCommandResponse) { + option (google.api.http) = { + post: "/v1/{environment=projects/*/locations/*/environments/*}:stopAirflowCommand" + body: "*" + }; + } + + // Polls Airflow CLI command execution and fetches logs. + rpc PollAirflowCommand(PollAirflowCommandRequest) + returns (PollAirflowCommandResponse) { + option (google.api.http) = { + post: "/v1/{environment=projects/*/locations/*/environments/*}:pollAirflowCommand" + body: "*" + }; + } + + // Lists workloads in a Cloud Composer environment. Workload is a unit that + // runs a single Composer component. + // + // This method is supported for Cloud Composer environments in versions + // composer-3.*.*-airflow-*.*.* and newer. + rpc ListWorkloads(ListWorkloadsRequest) returns (ListWorkloadsResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*/environments/*}/workloads" + }; + option (google.api.method_signature) = "parent"; + } + + // Creates a user workloads Secret. + // + // This method is supported for Cloud Composer environments in versions + // composer-3.*.*-airflow-*.*.* and newer. + rpc CreateUserWorkloadsSecret(CreateUserWorkloadsSecretRequest) + returns (UserWorkloadsSecret) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*/environments/*}/userWorkloadsSecrets" + body: "user_workloads_secret" + }; + option (google.api.method_signature) = "parent,user_workloads_secret"; + } + + // Gets an existing user workloads Secret. + // Values of the "data" field in the response are cleared. + // + // This method is supported for Cloud Composer environments in versions + // composer-3.*.*-airflow-*.*.* and newer. + rpc GetUserWorkloadsSecret(GetUserWorkloadsSecretRequest) + returns (UserWorkloadsSecret) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*/environments/*/userWorkloadsSecrets/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Lists user workloads Secrets. + // + // This method is supported for Cloud Composer environments in versions + // composer-3.*.*-airflow-*.*.* and newer. + rpc ListUserWorkloadsSecrets(ListUserWorkloadsSecretsRequest) + returns (ListUserWorkloadsSecretsResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*/environments/*}/userWorkloadsSecrets" + }; + option (google.api.method_signature) = "parent"; + } + + // Updates a user workloads Secret. + // + // This method is supported for Cloud Composer environments in versions + // composer-3.*.*-airflow-*.*.* and newer. + rpc UpdateUserWorkloadsSecret(UpdateUserWorkloadsSecretRequest) + returns (UserWorkloadsSecret) { + option (google.api.http) = { + put: "/v1/{user_workloads_secret.name=projects/*/locations/*/environments/*/userWorkloadsSecrets/*}" + body: "user_workloads_secret" + }; + option (google.api.method_signature) = "user_workloads_secret"; + } + + // Deletes a user workloads Secret. + // + // This method is supported for Cloud Composer environments in versions + // composer-3.*.*-airflow-*.*.* and newer. + rpc DeleteUserWorkloadsSecret(DeleteUserWorkloadsSecretRequest) + returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1/{name=projects/*/locations/*/environments/*/userWorkloadsSecrets/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Creates a user workloads ConfigMap. + // + // This method is supported for Cloud Composer environments in versions + // composer-3.*.*-airflow-*.*.* and newer. + rpc CreateUserWorkloadsConfigMap(CreateUserWorkloadsConfigMapRequest) + returns (UserWorkloadsConfigMap) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*/environments/*}/userWorkloadsConfigMaps" + body: "user_workloads_config_map" + }; + option (google.api.method_signature) = "parent,user_workloads_config_map"; + } + + // Gets an existing user workloads ConfigMap. + // + // This method is supported for Cloud Composer environments in versions + // composer-3.*.*-airflow-*.*.* and newer. + rpc GetUserWorkloadsConfigMap(GetUserWorkloadsConfigMapRequest) + returns (UserWorkloadsConfigMap) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*/environments/*/userWorkloadsConfigMaps/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Lists user workloads ConfigMaps. + // + // This method is supported for Cloud Composer environments in versions + // composer-3.*.*-airflow-*.*.* and newer. + rpc ListUserWorkloadsConfigMaps(ListUserWorkloadsConfigMapsRequest) + returns (ListUserWorkloadsConfigMapsResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*/environments/*}/userWorkloadsConfigMaps" + }; + option (google.api.method_signature) = "parent"; + } + + // Updates a user workloads ConfigMap. + // + // This method is supported for Cloud Composer environments in versions + // composer-3.*.*-airflow-*.*.* and newer. + rpc UpdateUserWorkloadsConfigMap(UpdateUserWorkloadsConfigMapRequest) + returns (UserWorkloadsConfigMap) { + option (google.api.http) = { + put: "/v1/{user_workloads_config_map.name=projects/*/locations/*/environments/*/userWorkloadsConfigMaps/*}" + body: "user_workloads_config_map" + }; + option (google.api.method_signature) = "user_workloads_config_map"; + } + + // Deletes a user workloads ConfigMap. + // + // This method is supported for Cloud Composer environments in versions + // composer-3.*.*-airflow-*.*.* and newer. + rpc DeleteUserWorkloadsConfigMap(DeleteUserWorkloadsConfigMapRequest) + returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1/{name=projects/*/locations/*/environments/*/userWorkloadsConfigMaps/*}" + }; + option (google.api.method_signature) = "name"; + } + // Creates a snapshots of a Cloud Composer environment. // // As a result of this operation, snapshot of environment's state is stored @@ -123,6 +287,27 @@ service Environments { metadata_type: "google.cloud.orchestration.airflow.service.v1.OperationMetadata" }; } + + // Triggers database failover (only for highly resilient environments). + rpc DatabaseFailover(DatabaseFailoverRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{environment=projects/*/locations/*/environments/*}:databaseFailover" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "google.cloud.orchestration.airflow.service.v1.DatabaseFailoverResponse" + metadata_type: "google.cloud.orchestration.airflow.service.v1.OperationMetadata" + }; + } + + // Fetches database properties. + rpc FetchDatabaseProperties(FetchDatabasePropertiesRequest) + returns (FetchDatabasePropertiesResponse) { + option (google.api.http) = { + get: "/v1/{environment=projects/*/locations/*/environments/*}:fetchDatabaseProperties" + }; + } } // Create a new environment. @@ -307,6 +492,426 @@ message UpdateEnvironmentRequest { google.protobuf.FieldMask update_mask = 3; } +// Execute Airflow Command request. +message ExecuteAirflowCommandRequest { + // The resource name of the environment in the form: + // "projects/{projectId}/locations/{locationId}/environments/{environmentId}". + string environment = 1; + + // Airflow command. + string command = 2; + + // Airflow subcommand. + string subcommand = 3; + + // Parameters for the Airflow command/subcommand as an array of arguments. + // It may contain positional arguments like `["my-dag-id"]`, key-value + // parameters like `["--foo=bar"]` or `["--foo","bar"]`, + // or other flags like `["-f"]`. + repeated string parameters = 4; +} + +// Response to ExecuteAirflowCommandRequest. +message ExecuteAirflowCommandResponse { + // The unique ID of the command execution for polling. + string execution_id = 1; + + // The name of the pod where the command is executed. + string pod = 2; + + // The namespace of the pod where the command is executed. + string pod_namespace = 3; + + // Error message. Empty if there was no error. + string error = 4; +} + +// Stop Airflow Command request. +message StopAirflowCommandRequest { + // The resource name of the environment in the form: + // "projects/{projectId}/locations/{locationId}/environments/{environmentId}". + string environment = 1; + + // The unique ID of the command execution. + string execution_id = 2; + + // The name of the pod where the command is executed. + string pod = 3; + + // The namespace of the pod where the command is executed. + string pod_namespace = 4; + + // If true, the execution is terminated forcefully (SIGKILL). If false, the + // execution is stopped gracefully, giving it time for cleanup. + bool force = 5; +} + +// Response to StopAirflowCommandRequest. +message StopAirflowCommandResponse { + // Whether the execution is still running. + bool is_done = 1; + + // Output message from stopping execution request. + repeated string output = 2; +} + +// Poll Airflow Command request. +message PollAirflowCommandRequest { + // The resource name of the environment in the form: + // "projects/{projectId}/locations/{locationId}/environments/{environmentId}" + string environment = 1; + + // The unique ID of the command execution. + string execution_id = 2; + + // The name of the pod where the command is executed. + string pod = 3; + + // The namespace of the pod where the command is executed. + string pod_namespace = 4; + + // Line number from which new logs should be fetched. + int32 next_line_number = 5; +} + +// Response to PollAirflowCommandRequest. +message PollAirflowCommandResponse { + // Contains information about a single line from logs. + message Line { + // Number of the line. + int32 line_number = 1; + + // Text content of the log line. + string content = 2; + } + + // Information about how a command ended. + message ExitInfo { + // The exit code from the command execution. + int32 exit_code = 1; + + // Error message. Empty if there was no error. + string error = 2; + } + + // Output from the command execution. It may not contain the full output + // and the caller may need to poll for more lines. + repeated Line output = 1; + + // Whether the command execution has finished and there is no more output. + bool output_end = 2; + + // The result exit status of the command. + ExitInfo exit_info = 3; +} + +// Create user workloads Secret request. +message CreateUserWorkloadsSecretRequest { + // Required. The environment name to create a Secret for, in the form: + // "projects/{projectId}/locations/{locationId}/environments/{environmentId}" + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "composer.googleapis.com/Environment" + } + ]; + + // Required. User workloads Secret to create. + UserWorkloadsSecret user_workloads_secret = 2 + [(google.api.field_behavior) = REQUIRED]; +} + +// Get user workloads Secret request. +message GetUserWorkloadsSecretRequest { + // Required. The resource name of the Secret to get, in the form: + // "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}" + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "composer.googleapis.com/UserWorkloadsSecret" + } + ]; +} + +// List user workloads Secrets request. +message ListUserWorkloadsSecretsRequest { + // Required. List Secrets in the given environment, in the form: + // "projects/{projectId}/locations/{locationId}/environments/{environmentId}" + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "composer.googleapis.com/Environment" + } + ]; + + // Optional. The maximum number of Secrets to return. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The next_page_token value returned from a previous List request, + // if any. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// Update user workloads Secret request. +message UpdateUserWorkloadsSecretRequest { + // Optional. User workloads Secret to override. + UserWorkloadsSecret user_workloads_secret = 1 + [(google.api.field_behavior) = OPTIONAL]; +} + +// Delete user workloads Secret request. +message DeleteUserWorkloadsSecretRequest { + // Required. The Secret to delete, in the form: + // "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}" + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "composer.googleapis.com/UserWorkloadsSecret" + } + ]; +} + +// Create user workloads ConfigMap request. +message CreateUserWorkloadsConfigMapRequest { + // Required. The environment name to create a ConfigMap for, in the form: + // "projects/{projectId}/locations/{locationId}/environments/{environmentId}" + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "composer.googleapis.com/Environment" + } + ]; + + // Required. User workloads ConfigMap to create. + UserWorkloadsConfigMap user_workloads_config_map = 2 + [(google.api.field_behavior) = REQUIRED]; +} + +// Get user workloads ConfigMap request. +message GetUserWorkloadsConfigMapRequest { + // Required. The resource name of the ConfigMap to get, in the form: + // "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}" + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "composer.googleapis.com/UserWorkloadsConfigMap" + } + ]; +} + +// List user workloads ConfigMaps request. +message ListUserWorkloadsConfigMapsRequest { + // Required. List ConfigMaps in the given environment, in the form: + // "projects/{projectId}/locations/{locationId}/environments/{environmentId}" + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "composer.googleapis.com/Environment" + } + ]; + + // Optional. The maximum number of ConfigMaps to return. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The next_page_token value returned from a previous List request, + // if any. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// Update user workloads ConfigMap request. +message UpdateUserWorkloadsConfigMapRequest { + // Optional. User workloads ConfigMap to override. + UserWorkloadsConfigMap user_workloads_config_map = 1 + [(google.api.field_behavior) = OPTIONAL]; +} + +// Delete user workloads ConfigMap request. +message DeleteUserWorkloadsConfigMapRequest { + // Required. The ConfigMap to delete, in the form: + // "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}" + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "composer.googleapis.com/UserWorkloadsConfigMap" + } + ]; +} + +// User workloads Secret used by Airflow tasks that run with Kubernetes executor +// or KubernetesPodOperator. +message UserWorkloadsSecret { + option (google.api.resource) = { + type: "composer.googleapis.com/UserWorkloadsSecret" + pattern: "projects/{project}/locations/{location}/environments/{environment}/userWorkloadsSecrets/{user_workloads_secret}" + plural: "userWorkloadsSecrets" + singular: "userWorkloadsSecret" + }; + + // Identifier. The resource name of the Secret, in the form: + // "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}" + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; + + // Optional. The "data" field of Kubernetes Secret, organized in key-value + // pairs, which can contain sensitive values such as a password, a token, or a + // key. The values for all keys have to be base64-encoded strings. For details + // see: https://kubernetes.io/docs/concepts/configuration/secret/ + map data = 2 [(google.api.field_behavior) = OPTIONAL]; +} + +// The user workloads Secrets for a given environment. +message ListUserWorkloadsSecretsResponse { + // The list of Secrets returned by a ListUserWorkloadsSecretsRequest. + repeated UserWorkloadsSecret user_workloads_secrets = 1; + + // The page token used to query for the next page if one exists. + string next_page_token = 2; +} + +// User workloads ConfigMap used by Airflow tasks that run with Kubernetes +// executor or KubernetesPodOperator. +message UserWorkloadsConfigMap { + option (google.api.resource) = { + type: "composer.googleapis.com/UserWorkloadsConfigMap" + pattern: "projects/{project}/locations/{location}/environments/{environment}/userWorkloadsConfigMaps/{user_workloads_config_map}" + plural: "userWorkloadsConfigMaps" + singular: "userWorkloadsConfigMap" + }; + + // Identifier. The resource name of the ConfigMap, in the form: + // "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}" + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; + + // Optional. The "data" field of Kubernetes ConfigMap, organized in key-value + // pairs. For details see: + // https://kubernetes.io/docs/concepts/configuration/configmap/ + map data = 2 [(google.api.field_behavior) = OPTIONAL]; +} + +// The user workloads ConfigMaps for a given environment. +message ListUserWorkloadsConfigMapsResponse { + // The list of ConfigMaps returned by a ListUserWorkloadsConfigMapsRequest. + repeated UserWorkloadsConfigMap user_workloads_config_maps = 1; + + // The page token used to query for the next page if one exists. + string next_page_token = 2; +} + +// Request for listing workloads in a Cloud Composer environment. +message ListWorkloadsRequest { + // Required. The environment name to get workloads for, in the form: + // "projects/{projectId}/locations/{locationId}/environments/{environmentId}" + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "composer.googleapis.com/Environment" + } + ]; + + // Optional. The maximum number of environments to return. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The next_page_token value returned from a previous List request, + // if any. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The list filter. + // Currently only supports equality on the type field. The value of a field + // specified in the filter expression must be one ComposerWorkloadType enum + // option. It's possible to get multiple types using "OR" operator, e.g.: + // "type=SCHEDULER OR type=CELERY_WORKER". If not specified, all items are + // returned. + string filter = 4 [(google.api.field_behavior) = OPTIONAL]; +} + +// Response to ListWorkloadsRequest. +message ListWorkloadsResponse { + // Information about a single workload. + message ComposerWorkload { + // Name of a workload. + string name = 1; + + // Type of a workload. + ComposerWorkloadType type = 2; + + // Output only. Status of a workload. + ComposerWorkloadStatus status = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; + } + + // Supported workload types. + enum ComposerWorkloadType { + // Not able to determine the type of the workload. + COMPOSER_WORKLOAD_TYPE_UNSPECIFIED = 0; + + // Celery worker. + CELERY_WORKER = 1; + + // Kubernetes worker. + KUBERNETES_WORKER = 2; + + // Workload created by Kubernetes Pod Operator. + KUBERNETES_OPERATOR_POD = 3; + + // Airflow scheduler. + SCHEDULER = 4; + + // Airflow Dag processor. + DAG_PROCESSOR = 5; + + // Airflow triggerer. + TRIGGERER = 6; + + // Airflow web server UI. + WEB_SERVER = 7; + + // Redis. + REDIS = 8; + } + + // Workload status. + message ComposerWorkloadStatus { + // Output only. Workload state. + ComposerWorkloadState state = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Text to provide more descriptive status. + string status_message = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Detailed message of the status. + string detailed_status_message = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; + } + + // Workload states. + enum ComposerWorkloadState { + // Not able to determine the status of the workload. + COMPOSER_WORKLOAD_STATE_UNSPECIFIED = 0; + + // Workload is in pending state and has not yet started. + PENDING = 1; + + // Workload is running fine. + OK = 2; + + // Workload is running but there are some non-critical problems. + WARNING = 3; + + // Workload is not running due to an error. + ERROR = 4; + + // Workload has finished execution with success. + SUCCEEDED = 5; + + // Workload has finished execution with failure. + FAILED = 6; + } + + // The list of environment workloads. + repeated ComposerWorkload workloads = 1; + + // The page token used to query for the next page if one exists. + string next_page_token = 2; +} + // Request to create a snapshot of a Cloud Composer environment. message SaveSnapshotRequest { // The resource name of the source environment in the form: @@ -357,6 +962,51 @@ message LoadSnapshotRequest { // Response to LoadSnapshotRequest. message LoadSnapshotResponse {} +// Request to trigger database failover (only for highly resilient +// environments). +message DatabaseFailoverRequest { + // Target environment: + // "projects/{projectId}/locations/{locationId}/environments/{environmentId}" + string environment = 1; +} + +// Response for DatabaseFailoverRequest. +message DatabaseFailoverResponse {} + +// Request to fetch properties of environment's database. +message FetchDatabasePropertiesRequest { + // Required. The resource name of the environment, in the form: + // "projects/{projectId}/locations/{locationId}/environments/{environmentId}" + string environment = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "composer.googleapis.com/Environment" + } + ]; +} + +// Response for FetchDatabasePropertiesRequest. +message FetchDatabasePropertiesResponse { + // The Compute Engine zone that the instance is currently serving from. + string primary_gce_zone = 1; + + // The Compute Engine zone that the failover instance is currently serving + // from for a regional Cloud SQL instance. + string secondary_gce_zone = 2; + + // The availability status of the failover replica. A false status indicates + // that the failover replica is out of sync. The primary instance can only + // fail over to the failover replica when the status is true. + bool is_failover_replica_available = 3; +} + +// The configuration for data storage in the environment. +message StorageConfig { + // Optional. The name of the Cloud Storage bucket used by the environment. No + // `gs://` prefix. + string bucket = 1 [(google.api.field_behavior) = OPTIONAL]; +} + // Configuration information for an environment. message EnvironmentConfig { // The size of the Cloud Composer environment. @@ -374,6 +1024,15 @@ message EnvironmentConfig { ENVIRONMENT_SIZE_LARGE = 3; } + // Resilience mode of the Cloud Composer Environment. + enum ResilienceMode { + // Default mode doesn't change environment parameters. + RESILIENCE_MODE_UNSPECIFIED = 0; + + // Enabled High Resilience mode, including Cloud SQL HA. + HIGH_RESILIENCE = 1; + } + // Output only. The Kubernetes Engine cluster used to run this environment. string gke_cluster = 1; @@ -458,6 +1117,13 @@ message EnvironmentConfig { // interface](/composer/docs/how-to/accessing/airflow-web-interface)). string airflow_uri = 6; + // Output only. The 'bring your own identity' variant of the URI of the Apache + // Airflow Web UI hosted within this environment, to be accessed with external + // identities using workforce identity federation (see [Access environments + // with workforce identity + // federation](/composer/docs/composer-2/access-environments-with-workforce-identity-federation)). + string airflow_byoid_uri = 20 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Optional. The configuration options for GKE cluster master authorized // networks. By default master authorized networks feature is: // - in case of private environment: enabled with no external networks @@ -471,6 +1137,17 @@ message EnvironmentConfig { // This field is supported for Cloud Composer environments in versions // composer-2.*.*-airflow-*.*.* and newer. RecoveryConfig recovery_config = 18 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Resilience mode of the Cloud Composer Environment. + // + // This field is supported for Cloud Composer environments in versions + // composer-2.2.0-airflow-*.*.* and newer. + ResilienceMode resilience_mode = 19 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The configuration setting for Airflow database data retention + // mechanism. + DataRetentionConfig data_retention_config = 21 + [(google.api.field_behavior) = OPTIONAL]; } // Network-level access control policy for the Airflow web server. @@ -505,6 +1182,13 @@ message DatabaseConfig { // Supported for Cloud Composer environments in versions // composer-1.*.*-airflow-*.*.*. string machine_type = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The Compute Engine zone where the Airflow database is created. If + // zone is provided, it must be in the region selected for the environment. If + // zone is not provided, a zone is automatically selected. The zone can only + // be set during environment creation. Supported for Cloud Composer + // environments in versions composer-2.*.*-airflow-*.*.*. + string zone = 2 [(google.api.field_behavior) = OPTIONAL]; } // The configuration settings for the Airflow web server App Engine instance. @@ -563,6 +1247,18 @@ message MaintenanceWindow { // Specifies the selection and configuration of software inside the environment. message SoftwareConfig { + // Web server plugins mode of the Cloud Composer environment. + enum WebServerPluginsMode { + // Default mode. + WEB_SERVER_PLUGINS_MODE_UNSPECIFIED = 0; + + // Web server plugins are not supported. + PLUGINS_DISABLED = 1; + + // Web server plugins are supported. + PLUGINS_ENABLED = 2; + } + // The version of the software running in the environment. // This encapsulates both the version of Cloud Composer functionality and the // version of Apache Airflow. It must match the regular expression @@ -656,6 +1352,18 @@ message SoftwareConfig { // This field is supported for Cloud Composer environments in versions // composer-1.*.*-airflow-2.*.*. int32 scheduler_count = 7 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The configuration for Cloud Data Lineage integration. + CloudDataLineageIntegration cloud_data_lineage_integration = 8 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Whether or not the web server uses custom plugins. + // If unspecified, the field defaults to `PLUGINS_ENABLED`. + // + // This field is supported for Cloud Composer environments in versions + // composer-3.*.*-airflow-*.*.* and newer. + WebServerPluginsMode web_server_plugins_mode = 10 + [(google.api.field_behavior) = OPTIONAL]; } // Configuration for controlling how IPs are allocated in the @@ -839,6 +1547,31 @@ message NodeConfig { // See: // https://cloud.google.com/kubernetes-engine/docs/how-to/ip-masquerade-agent bool enable_ip_masq_agent = 11 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Network Attachment that Cloud Composer environment is connected + // to, which provides connectivity with a user's VPC network. Takes precedence + // over network and subnetwork settings. If not provided, but network and + // subnetwork are defined during environment, it will be provisioned. If not + // provided and network and subnetwork are also empty, then connectivity to + // user's VPC network is disabled. Network attachment must be provided in + // format + // projects/{project}/regions/{region}/networkAttachments/{networkAttachment}. + // + // This field is supported for Cloud Composer environments in versions + // composer-3.*.*-airflow-*.*.* and newer. + string composer_network_attachment = 12 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The IP range in CIDR notation to use internally by Cloud + // Composer. IP addresses are not reserved - and the same range can be used by + // multiple Cloud Composer environments. In case of overlap, IPs from this + // range will not be accessible in the user's VPC network. Cannot be updated. + // If not specified, the default value of '100.64.128.0/20' is used. + // + // This field is supported for Cloud Composer environments in versions + // composer-3.*.*-airflow-*.*.* and newer. + string composer_internal_ipv4_cidr_block = 13 + [(google.api.field_behavior) = OPTIONAL]; } // Configuration options for the private GKE cluster in a Cloud Composer @@ -896,6 +1629,17 @@ message PrivateEnvironmentConfig { // composer-1.*.*-airflow-*.*.*. bool enable_private_environment = 1 [(google.api.field_behavior) = OPTIONAL]; + // Optional. If `true`, builds performed during operations that install Python + // packages have only private connectivity to Google services (including + // Artifact Registry) and VPC network (if either `NodeConfig.network` and + // `NodeConfig.subnetwork` fields or `NodeConfig.composer_network_attachment` + // field are specified). If `false`, the builds also have access to the + // internet. + // + // This field is supported for Cloud Composer environments in versions + // composer-3.*.*-airflow-*.*.* and newer. + bool enable_private_builds_only = 11 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Configuration for the private GKE cluster for a Private IP // Cloud Composer environment. PrivateClusterConfig private_cluster_config = 2 @@ -1013,6 +1757,38 @@ message WorkloadsConfig { int32 max_count = 5 [(google.api.field_behavior) = OPTIONAL]; } + // Configuration for resources used by Airflow triggerers. + message TriggererResource { + // Optional. The number of triggerers. + int32 count = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. CPU request and limit for a single Airflow triggerer replica. + float cpu = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Memory (GB) request and limit for a single Airflow triggerer + // replica. + float memory_gb = 3 [(google.api.field_behavior) = OPTIONAL]; + } + + // Configuration for resources used by Airflow DAG processors. + message DagProcessorResource { + // Optional. CPU request and limit for a single Airflow DAG processor + // replica. + float cpu = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Memory (GB) request and limit for a single Airflow DAG + // processor replica. + float memory_gb = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Storage (GB) request and limit for a single Airflow DAG + // processor replica. + float storage_gb = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The number of DAG processors. If not provided or set to 0, a + // single DAG processor instance will be created. + int32 count = 4 [(google.api.field_behavior) = OPTIONAL]; + } + // Optional. Resources used by Airflow schedulers. SchedulerResource scheduler = 1 [(google.api.field_behavior) = OPTIONAL]; @@ -1021,6 +1797,16 @@ message WorkloadsConfig { // Optional. Resources used by Airflow workers. WorkerResource worker = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Resources used by Airflow triggerers. + TriggererResource triggerer = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Resources used by Airflow DAG processors. + // + // This field is supported for Cloud Composer environments in versions + // composer-3.*.*-airflow-*.*.* and newer. + DagProcessorResource dag_processor = 5 + [(google.api.field_behavior) = OPTIONAL]; } // The Recovery settings of an environment. @@ -1072,6 +1858,12 @@ message MasterAuthorizedNetworksConfig { repeated CidrBlock cidr_blocks = 2; } +// Configuration for Cloud Data Lineage integration. +message CloudDataLineageIntegration { + // Optional. Whether or not Cloud Data Lineage integration is enabled. + bool enabled = 1 [(google.api.field_behavior) = OPTIONAL]; +} + // An environment for running orchestration tasks. message Environment { option (google.api.resource) = { @@ -1133,6 +1925,12 @@ message Environment { // * Both keys and values are additionally constrained to be <= 128 bytes in // size. map labels = 7; + + // Output only. Reserved for future use. + bool satisfies_pzs = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. Storage configuration for this environment. + StorageConfig storage_config = 9 [(google.api.field_behavior) = OPTIONAL]; } // Message containing information about the result of an upgrade check @@ -1169,3 +1967,30 @@ message CheckUpgradeResponse { // when the build was triggered. map pypi_dependencies = 6; } + +// The configuration setting for Airflow database data retention mechanism. +message DataRetentionConfig { + // Optional. The configuration settings for task logs retention + TaskLogsRetentionConfig task_logs_retention_config = 2 + [(google.api.field_behavior) = OPTIONAL]; +} + +// The configuration setting for Task Logs. +message TaskLogsRetentionConfig { + // The definition of task_logs_storage_mode. + enum TaskLogsStorageMode { + // This configuration is not specified by the user. + TASK_LOGS_STORAGE_MODE_UNSPECIFIED = 0; + + // Store task logs in Cloud Logging and in the environment's Cloud Storage + // bucket. + CLOUD_LOGGING_AND_CLOUD_STORAGE = 1; + + // Store task logs in Cloud Logging only. + CLOUD_LOGGING_ONLY = 2; + } + + // Optional. The mode of storage for Airflow workers task logs. For details, + // see go/composer-store-task-logs-in-cloud-logging-only-design-doc + TaskLogsStorageMode storage_mode = 2 [(google.api.field_behavior) = OPTIONAL]; +} diff --git a/third_party/googleapis/google/cloud/orchestration/airflow/service/v1/image_versions.proto b/third_party/googleapis/google/cloud/orchestration/airflow/service/v1/image_versions.proto index 9363574b7..0f458cc5c 100644 --- a/third_party/googleapis/google/cloud/orchestration/airflow/service/v1/image_versions.proto +++ b/third_party/googleapis/google/cloud/orchestration/airflow/service/v1/image_versions.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/orchestration/airflow/service/v1/operations.proto b/third_party/googleapis/google/cloud/orchestration/airflow/service/v1/operations.proto index 8be3e9b45..71672aa3c 100644 --- a/third_party/googleapis/google/cloud/orchestration/airflow/service/v1/operations.proto +++ b/third_party/googleapis/google/cloud/orchestration/airflow/service/v1/operations.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -69,6 +69,10 @@ message OperationMetadata { // Loads snapshot of the resource operation. LOAD_SNAPSHOT = 6; + + // Triggers failover of environment's Cloud SQL instance (only for highly + // resilient environments). + DATABASE_FAILOVER = 7; } // Output only. The current operation state. diff --git a/third_party/googleapis/google/cloud/orchestration/airflow/service/v1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/orchestration/airflow/service/v1beta1/BUILD.bazel index 797cbbfa2..fe4b5fe29 100644 --- a/third_party/googleapis/google/cloud/orchestration/airflow/service/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/orchestration/airflow/service/v1beta1/BUILD.bazel @@ -72,14 +72,17 @@ java_grpc_library( java_gapic_library( name = "service_java_gapic", srcs = [":service_proto_with_info"], + gapic_yaml = None, grpc_service_config = "composer_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "composer_v1beta1.yaml", test_deps = [ ":service_java_grpc", ], transport = "grpc+rest", deps = [ ":service_java_proto", + "//google/api:api_java_proto", ], ) @@ -115,7 +118,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -148,19 +150,13 @@ go_gapic_library( ], ) -go_test( - name = "service_go_gapic_test", - srcs = [":service_go_gapic_srcjar_test"], - embed = [":service_go_gapic"], - importpath = "cloud.google.com/go/orchestration/airflow/service/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-airflow-service-v1beta1-go", deps = [ ":service_go_gapic", ":service_go_gapic_srcjar-metadata.srcjar", + ":service_go_gapic_srcjar-snippets.srcjar", ":service_go_gapic_srcjar-test.srcjar", ":service_go_proto", ], @@ -183,6 +179,8 @@ py_gapic_library( rest_numeric_enums = True, service_yaml = "composer_v1beta1.yaml", transport = "grpc+rest", + deps = [ + ], ) py_test( @@ -210,7 +208,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -219,21 +216,15 @@ php_proto_library( deps = [":service_proto"], ) -php_grpc_library( - name = "service_php_grpc", - srcs = [":service_proto"], - deps = [":service_php_proto"], -) - php_gapic_library( name = "service_php_gapic", srcs = [":service_proto_with_info"], grpc_service_config = "composer_grpc_service_config.json", + migration_mode = "PRE_MIGRATION_SURFACE_ONLY", rest_numeric_enums = True, service_yaml = "composer_v1beta1.yaml", transport = "grpc+rest", deps = [ - ":service_php_grpc", ":service_php_proto", ], ) @@ -243,7 +234,6 @@ php_gapic_assembly_pkg( name = "google-cloud-airflow-service-v1beta1-php", deps = [ ":service_php_gapic", - ":service_php_grpc", ":service_php_proto", ], ) @@ -304,16 +294,17 @@ ruby_cloud_gapic_library( name = "service_ruby_gapic", srcs = [":service_proto_with_info"], extra_protoc_parameters = [ - "ruby-cloud-gem-name=google-cloud-orchestration-airflow-service-v1beta1", - "ruby-cloud-product-url=https://cloud.google.com/composer", "ruby-cloud-api-id=composer.googleapis.com", "ruby-cloud-api-shortname=composer", + "ruby-cloud-gem-name=google-cloud-orchestration-airflow-service-v1beta1", + "ruby-cloud-product-url=https://cloud.google.com/composer", ], grpc_service_config = "composer_grpc_service_config.json", rest_numeric_enums = True, ruby_cloud_description = "The client library for the Cloud Composer API, built on the popular Apache Airflow open source project. Cloud Composer is a fully managed workflow orchestration service, enabling you to create, schedule, monitor, and manage workflows that span across clouds and on-premises data centers.", ruby_cloud_title = "Cloud Composer V1beta1", service_yaml = "composer_v1beta1.yaml", + transport = "grpc+rest", deps = [ ":service_ruby_grpc", ":service_ruby_proto", @@ -343,6 +334,7 @@ load( csharp_proto_library( name = "service_csharp_proto", + extra_opts = [], deps = [":service_proto"], ) @@ -379,4 +371,20 @@ csharp_gapic_assembly_pkg( ############################################################################## # C++ ############################################################################## -# Put your C++ rules here +load( + "@com_google_googleapis_imports//:imports.bzl", + "cc_grpc_library", + "cc_proto_library", +) + +cc_proto_library( + name = "service_cc_proto", + deps = [":service_proto"], +) + +cc_grpc_library( + name = "service_cc_grpc", + srcs = [":service_proto"], + grpc_only = True, + deps = [":service_cc_proto"], +) diff --git a/third_party/googleapis/google/cloud/orchestration/airflow/service/v1beta1/composer_v1beta1.yaml b/third_party/googleapis/google/cloud/orchestration/airflow/service/v1beta1/composer_v1beta1.yaml index b77a99f6d..e794bc569 100644 --- a/third_party/googleapis/google/cloud/orchestration/airflow/service/v1beta1/composer_v1beta1.yaml +++ b/third_party/googleapis/google/cloud/orchestration/airflow/service/v1beta1/composer_v1beta1.yaml @@ -10,11 +10,15 @@ apis: types: - name: google.cloud.orchestration.airflow.service.v1beta1.CheckUpgradeResponse +- name: google.cloud.orchestration.airflow.service.v1beta1.DatabaseFailoverResponse - name: google.cloud.orchestration.airflow.service.v1beta1.ExecuteAirflowCommandResponse +- name: google.cloud.orchestration.airflow.service.v1beta1.FetchDatabasePropertiesResponse +- name: google.cloud.orchestration.airflow.service.v1beta1.ListWorkloadsResponse - name: google.cloud.orchestration.airflow.service.v1beta1.LoadSnapshotResponse - name: google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata - name: google.cloud.orchestration.airflow.service.v1beta1.PollAirflowCommandResponse - name: google.cloud.orchestration.airflow.service.v1beta1.SaveSnapshotResponse +- name: google.cloud.orchestration.airflow.service.v1beta1.StopAirflowCommandResponse documentation: summary: Manages Apache Airflow environments on Google Cloud Platform. diff --git a/third_party/googleapis/google/cloud/orchestration/airflow/service/v1beta1/environments.proto b/third_party/googleapis/google/cloud/orchestration/airflow/service/v1beta1/environments.proto index d9612e81d..807c177db 100644 --- a/third_party/googleapis/google/cloud/orchestration/airflow/service/v1beta1/environments.proto +++ b/third_party/googleapis/google/cloud/orchestration/airflow/service/v1beta1/environments.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -121,6 +121,170 @@ service Environments { }; } + // Executes Airflow CLI command. + rpc ExecuteAirflowCommand(ExecuteAirflowCommandRequest) + returns (ExecuteAirflowCommandResponse) { + option (google.api.http) = { + post: "/v1beta1/{environment=projects/*/locations/*/environments/*}:executeAirflowCommand" + body: "*" + }; + } + + // Stops Airflow CLI command execution. + rpc StopAirflowCommand(StopAirflowCommandRequest) + returns (StopAirflowCommandResponse) { + option (google.api.http) = { + post: "/v1beta1/{environment=projects/*/locations/*/environments/*}:stopAirflowCommand" + body: "*" + }; + } + + // Polls Airflow CLI command execution and fetches logs. + rpc PollAirflowCommand(PollAirflowCommandRequest) + returns (PollAirflowCommandResponse) { + option (google.api.http) = { + post: "/v1beta1/{environment=projects/*/locations/*/environments/*}:pollAirflowCommand" + body: "*" + }; + } + + // Lists workloads in a Cloud Composer environment. Workload is a unit that + // runs a single Composer component. + // + // This method is supported for Cloud Composer environments in versions + // composer-3.*.*-airflow-*.*.* and newer. + rpc ListWorkloads(ListWorkloadsRequest) returns (ListWorkloadsResponse) { + option (google.api.http) = { + get: "/v1beta1/{parent=projects/*/locations/*/environments/*}/workloads" + }; + option (google.api.method_signature) = "parent"; + } + + // Creates a user workloads Secret. + // + // This method is supported for Cloud Composer environments in versions + // composer-3.*.*-airflow-*.*.* and newer. + rpc CreateUserWorkloadsSecret(CreateUserWorkloadsSecretRequest) + returns (UserWorkloadsSecret) { + option (google.api.http) = { + post: "/v1beta1/{parent=projects/*/locations/*/environments/*}/userWorkloadsSecrets" + body: "user_workloads_secret" + }; + option (google.api.method_signature) = "parent,user_workloads_secret"; + } + + // Gets an existing user workloads Secret. + // Values of the "data" field in the response are cleared. + // + // This method is supported for Cloud Composer environments in versions + // composer-3.*.*-airflow-*.*.* and newer. + rpc GetUserWorkloadsSecret(GetUserWorkloadsSecretRequest) + returns (UserWorkloadsSecret) { + option (google.api.http) = { + get: "/v1beta1/{name=projects/*/locations/*/environments/*/userWorkloadsSecrets/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Lists user workloads Secrets. + // + // This method is supported for Cloud Composer environments in versions + // composer-3.*.*-airflow-*.*.* and newer. + rpc ListUserWorkloadsSecrets(ListUserWorkloadsSecretsRequest) + returns (ListUserWorkloadsSecretsResponse) { + option (google.api.http) = { + get: "/v1beta1/{parent=projects/*/locations/*/environments/*}/userWorkloadsSecrets" + }; + option (google.api.method_signature) = "parent"; + } + + // Updates a user workloads Secret. + // + // This method is supported for Cloud Composer environments in versions + // composer-3.*.*-airflow-*.*.* and newer. + rpc UpdateUserWorkloadsSecret(UpdateUserWorkloadsSecretRequest) + returns (UserWorkloadsSecret) { + option (google.api.http) = { + put: "/v1beta1/{user_workloads_secret.name=projects/*/locations/*/environments/*/userWorkloadsSecrets/*}" + body: "user_workloads_secret" + }; + option (google.api.method_signature) = "user_workloads_secret"; + } + + // Deletes a user workloads Secret. + // + // This method is supported for Cloud Composer environments in versions + // composer-3.*.*-airflow-*.*.* and newer. + rpc DeleteUserWorkloadsSecret(DeleteUserWorkloadsSecretRequest) + returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1beta1/{name=projects/*/locations/*/environments/*/userWorkloadsSecrets/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Creates a user workloads ConfigMap. + // + // This method is supported for Cloud Composer environments in versions + // composer-3.*.*-airflow-*.*.* and newer. + rpc CreateUserWorkloadsConfigMap(CreateUserWorkloadsConfigMapRequest) + returns (UserWorkloadsConfigMap) { + option (google.api.http) = { + post: "/v1beta1/{parent=projects/*/locations/*/environments/*}/userWorkloadsConfigMaps" + body: "user_workloads_config_map" + }; + option (google.api.method_signature) = "parent,user_workloads_config_map"; + } + + // Gets an existing user workloads ConfigMap. + // + // This method is supported for Cloud Composer environments in versions + // composer-3.*.*-airflow-*.*.* and newer. + rpc GetUserWorkloadsConfigMap(GetUserWorkloadsConfigMapRequest) + returns (UserWorkloadsConfigMap) { + option (google.api.http) = { + get: "/v1beta1/{name=projects/*/locations/*/environments/*/userWorkloadsConfigMaps/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Lists user workloads ConfigMaps. + // + // This method is supported for Cloud Composer environments in versions + // composer-3.*.*-airflow-*.*.* and newer. + rpc ListUserWorkloadsConfigMaps(ListUserWorkloadsConfigMapsRequest) + returns (ListUserWorkloadsConfigMapsResponse) { + option (google.api.http) = { + get: "/v1beta1/{parent=projects/*/locations/*/environments/*}/userWorkloadsConfigMaps" + }; + option (google.api.method_signature) = "parent"; + } + + // Updates a user workloads ConfigMap. + // + // This method is supported for Cloud Composer environments in versions + // composer-3.*.*-airflow-*.*.* and newer. + rpc UpdateUserWorkloadsConfigMap(UpdateUserWorkloadsConfigMapRequest) + returns (UserWorkloadsConfigMap) { + option (google.api.http) = { + put: "/v1beta1/{user_workloads_config_map.name=projects/*/locations/*/environments/*/userWorkloadsConfigMaps/*}" + body: "user_workloads_config_map" + }; + option (google.api.method_signature) = "user_workloads_config_map"; + } + + // Deletes a user workloads ConfigMap. + // + // This method is supported for Cloud Composer environments in versions + // composer-3.*.*-airflow-*.*.* and newer. + rpc DeleteUserWorkloadsConfigMap(DeleteUserWorkloadsConfigMapRequest) + returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1beta1/{name=projects/*/locations/*/environments/*/userWorkloadsConfigMaps/*}" + }; + option (google.api.method_signature) = "name"; + } + // Creates a snapshots of a Cloud Composer environment. // // As a result of this operation, snapshot of environment's state is stored @@ -150,6 +314,27 @@ service Environments { metadata_type: "google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata" }; } + + // Triggers database failover (only for highly resilient environments). + rpc DatabaseFailover(DatabaseFailoverRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1beta1/{environment=projects/*/locations/*/environments/*}:databaseFailover" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "google.cloud.orchestration.airflow.service.v1beta1.DatabaseFailoverResponse" + metadata_type: "google.cloud.orchestration.airflow.service.v1beta1.OperationMetadata" + }; + } + + // Fetches database properties. + rpc FetchDatabaseProperties(FetchDatabasePropertiesRequest) + returns (FetchDatabasePropertiesResponse) { + option (google.api.http) = { + get: "/v1beta1/{environment=projects/*/locations/*/environments/*}:fetchDatabaseProperties" + }; + } } // Create a new environment. @@ -364,6 +549,25 @@ message RestartWebServerRequest { string name = 1; } +// Execute Airflow Command request. +message ExecuteAirflowCommandRequest { + // The resource name of the environment in the form: + // "projects/{projectId}/locations/{locationId}/environments/{environmentId}". + string environment = 1; + + // Airflow command. + string command = 2; + + // Airflow subcommand. + string subcommand = 3; + + // Parameters for the Airflow command/subcommand as an array of arguments. + // It may contain positional arguments like `["my-dag-id"]`, key-value + // parameters like `["--foo=bar"]` or `["--foo","bar"]`, + // or other flags like `["-f"]`. + repeated string parameters = 4; +} + // Response to ExecuteAirflowCommandRequest. message ExecuteAirflowCommandResponse { // The unique ID of the command execution for polling. @@ -379,6 +583,54 @@ message ExecuteAirflowCommandResponse { string error = 4; } +// Stop Airflow Command request. +message StopAirflowCommandRequest { + // The resource name of the environment in the form: + // "projects/{projectId}/locations/{locationId}/environments/{environmentId}". + string environment = 1; + + // The unique ID of the command execution. + string execution_id = 2; + + // The name of the pod where the command is executed. + string pod = 3; + + // The namespace of the pod where the command is executed. + string pod_namespace = 4; + + // If true, the execution is terminated forcefully (SIGKILL). If false, the + // execution is stopped gracefully, giving it time for cleanup. + bool force = 5; +} + +// Response to StopAirflowCommandRequest. +message StopAirflowCommandResponse { + // Whether the execution is still running. + bool is_done = 1; + + // Output message from stopping execution request. + repeated string output = 2; +} + +// Poll Airflow Command request. +message PollAirflowCommandRequest { + // The resource name of the environment in the form: + // "projects/{projectId}/locations/{locationId}/environments/{environmentId}" + string environment = 1; + + // The unique ID of the command execution. + string execution_id = 2; + + // The name of the pod where the command is executed. + string pod = 3; + + // The namespace of the pod where the command is executed. + string pod_namespace = 4; + + // Line number from which new logs should be fetched. + int32 next_line_number = 5; +} + // Response to PollAirflowCommandRequest. message PollAirflowCommandResponse { // Contains information about a single line from logs. @@ -410,6 +662,313 @@ message PollAirflowCommandResponse { ExitInfo exit_info = 3; } +// Create user workloads Secret request. +message CreateUserWorkloadsSecretRequest { + // Required. The environment name to create a Secret for, in the form: + // "projects/{projectId}/locations/{locationId}/environments/{environmentId}" + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "composer.googleapis.com/Environment" + } + ]; + + // Required. User workloads Secret to create. + UserWorkloadsSecret user_workloads_secret = 2 + [(google.api.field_behavior) = REQUIRED]; +} + +// Get user workloads Secret request. +message GetUserWorkloadsSecretRequest { + // Required. The resource name of the Secret to get, in the form: + // "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}" + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "composer.googleapis.com/UserWorkloadsSecret" + } + ]; +} + +// List user workloads Secrets request. +message ListUserWorkloadsSecretsRequest { + // Required. List Secrets in the given environment, in the form: + // "projects/{projectId}/locations/{locationId}/environments/{environmentId}" + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "composer.googleapis.com/Environment" + } + ]; + + // Optional. The maximum number of Secrets to return. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The next_page_token value returned from a previous List request, + // if any. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// Update user workloads Secret request. +message UpdateUserWorkloadsSecretRequest { + // Optional. User workloads Secret to override. + UserWorkloadsSecret user_workloads_secret = 1 + [(google.api.field_behavior) = OPTIONAL]; +} + +// Delete user workloads Secret request. +message DeleteUserWorkloadsSecretRequest { + // Required. The Secret to delete, in the form: + // "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}" + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "composer.googleapis.com/UserWorkloadsSecret" + } + ]; +} + +// Create user workloads ConfigMap request. +message CreateUserWorkloadsConfigMapRequest { + // Required. The environment name to create a ConfigMap for, in the form: + // "projects/{projectId}/locations/{locationId}/environments/{environmentId}" + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "composer.googleapis.com/Environment" + } + ]; + + // Required. User workloads ConfigMap to create. + UserWorkloadsConfigMap user_workloads_config_map = 2 + [(google.api.field_behavior) = REQUIRED]; +} + +// Get user workloads ConfigMap request. +message GetUserWorkloadsConfigMapRequest { + // Required. The resource name of the ConfigMap to get, in the form: + // "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}" + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "composer.googleapis.com/UserWorkloadsConfigMap" + } + ]; +} + +// List user workloads ConfigMaps request. +message ListUserWorkloadsConfigMapsRequest { + // Required. List ConfigMaps in the given environment, in the form: + // "projects/{projectId}/locations/{locationId}/environments/{environmentId}" + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "composer.googleapis.com/Environment" + } + ]; + + // Optional. The maximum number of ConfigMaps to return. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The next_page_token value returned from a previous List request, + // if any. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// Update user workloads ConfigMap request. +message UpdateUserWorkloadsConfigMapRequest { + // Optional. User workloads ConfigMap to override. + UserWorkloadsConfigMap user_workloads_config_map = 1 + [(google.api.field_behavior) = OPTIONAL]; +} + +// Delete user workloads ConfigMap request. +message DeleteUserWorkloadsConfigMapRequest { + // Required. The ConfigMap to delete, in the form: + // "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}" + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "composer.googleapis.com/UserWorkloadsConfigMap" + } + ]; +} + +// User workloads Secret used by Airflow tasks that run with Kubernetes executor +// or KubernetesPodOperator. +message UserWorkloadsSecret { + option (google.api.resource) = { + type: "composer.googleapis.com/UserWorkloadsSecret" + pattern: "projects/{project}/locations/{location}/environments/{environment}/userWorkloadsSecrets/{user_workloads_secret}" + plural: "userWorkloadsSecrets" + singular: "userWorkloadsSecret" + }; + + // Identifier. The resource name of the Secret, in the form: + // "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}" + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; + + // Optional. The "data" field of Kubernetes Secret, organized in key-value + // pairs, which can contain sensitive values such as a password, a token, or a + // key. The values for all keys have to be base64-encoded strings. For details + // see: https://kubernetes.io/docs/concepts/configuration/secret/ + map data = 2 [(google.api.field_behavior) = OPTIONAL]; +} + +// The user workloads Secrets for a given environment. +message ListUserWorkloadsSecretsResponse { + // The list of Secrets returned by a ListUserWorkloadsSecretsRequest. + repeated UserWorkloadsSecret user_workloads_secrets = 1; + + // The page token used to query for the next page if one exists. + string next_page_token = 2; +} + +// User workloads ConfigMap used by Airflow tasks that run with Kubernetes +// executor or KubernetesPodOperator. +message UserWorkloadsConfigMap { + option (google.api.resource) = { + type: "composer.googleapis.com/UserWorkloadsConfigMap" + pattern: "projects/{project}/locations/{location}/environments/{environment}/userWorkloadsConfigMaps/{user_workloads_config_map}" + plural: "userWorkloadsConfigMaps" + singular: "userWorkloadsConfigMap" + }; + + // Identifier. The resource name of the ConfigMap, in the form: + // "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsConfigMaps/{userWorkloadsConfigMapId}" + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; + + // Optional. The "data" field of Kubernetes ConfigMap, organized in key-value + // pairs. For details see: + // https://kubernetes.io/docs/concepts/configuration/configmap/ + map data = 2 [(google.api.field_behavior) = OPTIONAL]; +} + +// The user workloads ConfigMaps for a given environment. +message ListUserWorkloadsConfigMapsResponse { + // The list of ConfigMaps returned by a ListUserWorkloadsConfigMapsRequest. + repeated UserWorkloadsConfigMap user_workloads_config_maps = 1; + + // The page token used to query for the next page if one exists. + string next_page_token = 2; +} + +// Request for listing workloads in a Cloud Composer environment. +message ListWorkloadsRequest { + // Required. The environment name to get workloads for, in the form: + // "projects/{projectId}/locations/{locationId}/environments/{environmentId}" + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "composer.googleapis.com/Environment" + } + ]; + + // Optional. The maximum number of environments to return. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The next_page_token value returned from a previous List request, + // if any. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The list filter. + // Currently only supports equality on the type field. The value of a field + // specified in the filter expression must be one ComposerWorkloadType enum + // option. It's possible to get multiple types using "OR" operator, e.g.: + // "type=SCHEDULER OR type=CELERY_WORKER". If not specified, all items are + // returned. + string filter = 4 [(google.api.field_behavior) = OPTIONAL]; +} + +// Response to ListWorkloadsRequest. +message ListWorkloadsResponse { + // Information about a single workload. + message ComposerWorkload { + // Name of a workload. + string name = 1; + + // Type of a workload. + ComposerWorkloadType type = 2; + + // Output only. Status of a workload. + ComposerWorkloadStatus status = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; + } + + // Supported workload types. + enum ComposerWorkloadType { + // Not able to determine the type of the workload. + COMPOSER_WORKLOAD_TYPE_UNSPECIFIED = 0; + + // Celery worker. + CELERY_WORKER = 1; + + // Kubernetes worker. + KUBERNETES_WORKER = 2; + + // Workload created by Kubernetes Pod Operator. + KUBERNETES_OPERATOR_POD = 3; + + // Airflow scheduler. + SCHEDULER = 4; + + // Airflow Dag processor. + DAG_PROCESSOR = 5; + + // Airflow triggerer. + TRIGGERER = 6; + + // Airflow web server UI. + WEB_SERVER = 7; + + // Redis. + REDIS = 8; + } + + // Workload status. + message ComposerWorkloadStatus { + // Output only. Workload state. + ComposerWorkloadState state = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Text to provide more descriptive status. + string status_message = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Detailed message of the status. + string detailed_status_message = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; + } + + // Workload states. + enum ComposerWorkloadState { + // Not able to determine the status of the workload. + COMPOSER_WORKLOAD_STATE_UNSPECIFIED = 0; + + // Workload is in pending state and has not yet started. + PENDING = 1; + + // Workload is running fine. + OK = 2; + + // Workload is running but there are some non-critical problems. + WARNING = 3; + + // Workload is not running due to an error. + ERROR = 4; + + // Workload has finished execution with success. + SUCCEEDED = 5; + + // Workload has finished execution with failure. + FAILED = 6; + } + + // The list of environment workloads. + repeated ComposerWorkload workloads = 1; + + // The page token used to query for the next page if one exists. + string next_page_token = 2; +} + // Request to create a snapshot of a Cloud Composer environment. message SaveSnapshotRequest { // The resource name of the source environment in the form: @@ -460,6 +1019,44 @@ message LoadSnapshotRequest { // Response to LoadSnapshotRequest. message LoadSnapshotResponse {} +// Request to trigger database failover (only for highly resilient +// environments). +message DatabaseFailoverRequest { + // Target environment: + // "projects/{projectId}/locations/{locationId}/environments/{environmentId}" + string environment = 1; +} + +// Response for DatabaseFailoverRequest. +message DatabaseFailoverResponse {} + +// Request to fetch properties of environment's database. +message FetchDatabasePropertiesRequest { + // Required. The resource name of the environment, in the form: + // "projects/{projectId}/locations/{locationId}/environments/{environmentId}" + string environment = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "composer.googleapis.com/Environment" + } + ]; +} + +// Response for FetchDatabasePropertiesRequest. +message FetchDatabasePropertiesResponse { + // The Compute Engine zone that the instance is currently serving from. + string primary_gce_zone = 1; + + // The Compute Engine zone that the failover instance is currently serving + // from for a regional Cloud SQL instance. + string secondary_gce_zone = 2; + + // The availability status of the failover replica. A false status indicates + // that the failover replica is out of sync. The primary instance can only + // fail over to the failover replica when the status is true. + bool is_failover_replica_available = 3; +} + // Configuration information for an environment. message EnvironmentConfig { // The size of the Cloud Composer environment. @@ -477,6 +1074,15 @@ message EnvironmentConfig { ENVIRONMENT_SIZE_LARGE = 3; } + // Resilience mode of the Cloud Composer Environment. + enum ResilienceMode { + // Default mode doesn't change environment parameters. + RESILIENCE_MODE_UNSPECIFIED = 0; + + // Enabled High Resilience mode, including Cloud SQL HA. + HIGH_RESILIENCE = 1; + } + // Output only. The Kubernetes Engine cluster used to run this environment. string gke_cluster = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -526,6 +1132,13 @@ message EnvironmentConfig { // interface](/composer/docs/how-to/accessing/airflow-web-interface)). string airflow_uri = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The 'bring your own identity' variant of the URI of the Apache + // Airflow Web UI hosted within this environment, to be accessed with external + // identities using workforce identity federation (see [Access environments + // with workforce identity + // federation](/composer/docs/composer-2/access-environments-with-workforce-identity-federation)). + string airflow_byoid_uri = 21 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Optional. The encryption options for the Cloud Composer environment and its // dependencies. Cannot be updated. EncryptionConfig encryption_config = 12 @@ -577,6 +1190,17 @@ message EnvironmentConfig { // This field is supported for Cloud Composer environments in versions // composer-2.*.*-airflow-*.*.* and newer. RecoveryConfig recovery_config = 18 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The configuration setting for Airflow database data retention + // mechanism. + DataRetentionConfig data_retention_config = 19 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Resilience mode of the Cloud Composer Environment. + // + // This field is supported for Cloud Composer environments in versions + // composer-2.2.0-airflow-*.*.* and newer. + ResilienceMode resilience_mode = 20 [(google.api.field_behavior) = OPTIONAL]; } // Network-level access control policy for the Airflow web server. @@ -604,6 +1228,18 @@ message WebServerNetworkAccessControl { // Specifies the selection and configuration of software inside the environment. message SoftwareConfig { + // Web server plugins mode of the Cloud Composer environment. + enum WebServerPluginsMode { + // Default mode. + WEB_SERVER_PLUGINS_MODE_UNSPECIFIED = 0; + + // Web server plugins are not supported. + PLUGINS_DISABLED = 1; + + // Web server plugins are supported. + PLUGINS_ENABLED = 2; + } + // The version of the software running in the environment. // This encapsulates both the version of Cloud Composer functionality and the // version of Apache Airflow. It must match the regular expression @@ -704,6 +1340,14 @@ message SoftwareConfig { // Optional. The configuration for Cloud Data Lineage integration. CloudDataLineageIntegration cloud_data_lineage_integration = 8 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Whether or not the web server uses custom plugins. + // If unspecified, the field defaults to `PLUGINS_ENABLED`. + // + // This field is supported for Cloud Composer environments in versions + // composer-3.*.*-airflow-*.*.* and newer. + WebServerPluginsMode web_server_plugins_mode = 10 + [(google.api.field_behavior) = OPTIONAL]; } // Configuration for controlling how IPs are allocated in the @@ -900,6 +1544,31 @@ message NodeConfig { // See: // https://cloud.google.com/kubernetes-engine/docs/how-to/ip-masquerade-agent bool enable_ip_masq_agent = 11 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Network Attachment that Cloud Composer environment is connected + // to, which provides connectivity with a user's VPC network. Takes precedence + // over network and subnetwork settings. If not provided, but network and + // subnetwork are defined during environment, it will be provisioned. If not + // provided and network and subnetwork are also empty, then connectivity to + // user's VPC network is disabled. Network attachment must be provided in + // format + // projects/{project}/regions/{region}/networkAttachments/{networkAttachment}. + // + // This field is supported for Cloud Composer environments in versions + // composer-3.*.*-airflow-*.*.* and newer. + string composer_network_attachment = 12 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The IP range in CIDR notation to use internally by Cloud + // Composer. IP addresses are not reserved - and the same range can be used by + // multiple Cloud Composer environments. In case of overlap, IPs from this + // range will not be accessible in the user's VPC network. Cannot be updated. + // If not specified, the default value of '100.64.128.0/20' is used. + // + // This field is supported for Cloud Composer environments in versions + // composer-3.*.*-airflow-*.*.* and newer. + string composer_internal_ipv4_cidr_block = 13 + [(google.api.field_behavior) = OPTIONAL]; } // Configuration options for the private GKE cluster in a Cloud Composer @@ -957,6 +1626,17 @@ message PrivateEnvironmentConfig { // composer-1.*.*-airflow-*.*.*. bool enable_private_environment = 1 [(google.api.field_behavior) = OPTIONAL]; + // Optional. If `true`, builds performed during operations that install Python + // packages have only private connectivity to Google services (including + // Artifact Registry) and VPC network (if either `NodeConfig.network` and + // `NodeConfig.subnetwork` fields or `NodeConfig.composer_network_attachment` + // field are specified). If `false`, the builds also have access to the + // internet. + // + // This field is supported for Cloud Composer environments in versions + // composer-3.*.*-airflow-*.*.* and newer. + bool enable_private_builds_only = 11 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Configuration for the private GKE cluster for a Private IP // Cloud Composer environment. PrivateClusterConfig private_cluster_config = 2 @@ -1030,6 +1710,13 @@ message DatabaseConfig { // Supported for Cloud Composer environments in versions // composer-1.*.*-airflow-*.*.*. string machine_type = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The Compute Engine zone where the Airflow database is created. If + // zone is provided, it must be in the region selected for the environment. If + // zone is not provided, a zone is automatically selected. The zone can only + // be set during environment creation. Supported for Cloud Composer + // environments in versions composer-2.*.*-airflow-*.*.*. + string zone = 2 [(google.api.field_behavior) = OPTIONAL]; } // The configuration settings for the Airflow web server App Engine instance. @@ -1152,6 +1839,25 @@ message WorkloadsConfig { float memory_gb = 3 [(google.api.field_behavior) = OPTIONAL]; } + // Configuration for resources used by Airflow DAG processors. + message DagProcessorResource { + // Optional. CPU request and limit for a single Airflow DAG processor + // replica. + float cpu = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Memory (GB) request and limit for a single Airflow DAG + // processor replica. + float memory_gb = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Storage (GB) request and limit for a single Airflow DAG + // processor replica. + float storage_gb = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The number of DAG processors. If not provided or set to 0, a + // single DAG processor instance will be created. + int32 count = 4 [(google.api.field_behavior) = OPTIONAL]; + } + // Optional. Resources used by Airflow schedulers. SchedulerResource scheduler = 1 [(google.api.field_behavior) = OPTIONAL]; @@ -1163,6 +1869,47 @@ message WorkloadsConfig { // Optional. Resources used by Airflow triggerers. TriggererResource triggerer = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Resources used by Airflow DAG processors. + // + // This field is supported for Cloud Composer environments in versions + // composer-3.*.*-airflow-*.*.* and newer. + DagProcessorResource dag_processor = 5 + [(google.api.field_behavior) = OPTIONAL]; +} + +// The configuration setting for Airflow database data retention mechanism. +message DataRetentionConfig { + // Optional. The configuration settings for task logs retention + TaskLogsRetentionConfig task_logs_retention_config = 4 + [(google.api.field_behavior) = OPTIONAL]; +} + +// The configuration setting for Task Logs. +message TaskLogsRetentionConfig { + // The definition of task_logs_storage_mode. + enum TaskLogsStorageMode { + // This configuration is not specified by the user. + TASK_LOGS_STORAGE_MODE_UNSPECIFIED = 0; + + // Store task logs in Cloud Logging and in the environment's Cloud Storage + // bucket. + CLOUD_LOGGING_AND_CLOUD_STORAGE = 1; + + // Store task logs in Cloud Logging only. + CLOUD_LOGGING_ONLY = 2; + } + + // Optional. The mode of storage for Airflow workers task logs. For details, + // see go/composer-store-task-logs-in-cloud-logging-only-design-doc + TaskLogsStorageMode storage_mode = 2 [(google.api.field_behavior) = OPTIONAL]; +} + +// The configuration for data storage in the environment. +message StorageConfig { + // Optional. The name of the Cloud Storage bucket used by the environment. No + // `gs://` prefix. + string bucket = 1 [(google.api.field_behavior) = OPTIONAL]; } // The Recovery settings of an environment. @@ -1283,6 +2030,12 @@ message Environment { // * Both keys and values are additionally constrained to be <= 128 bytes in // size. map labels = 7 [(google.api.field_behavior) = OPTIONAL]; + + // Output only. Reserved for future use. + bool satisfies_pzs = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. Storage configuration for this environment. + StorageConfig storage_config = 9 [(google.api.field_behavior) = OPTIONAL]; } // Request to check whether image upgrade will succeed. diff --git a/third_party/googleapis/google/cloud/orchestration/airflow/service/v1beta1/image_versions.proto b/third_party/googleapis/google/cloud/orchestration/airflow/service/v1beta1/image_versions.proto index 98b467d4b..e462bee57 100644 --- a/third_party/googleapis/google/cloud/orchestration/airflow/service/v1beta1/image_versions.proto +++ b/third_party/googleapis/google/cloud/orchestration/airflow/service/v1beta1/image_versions.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/orchestration/airflow/service/v1beta1/operations.proto b/third_party/googleapis/google/cloud/orchestration/airflow/service/v1beta1/operations.proto index bb5d78b51..6596658a0 100644 --- a/third_party/googleapis/google/cloud/orchestration/airflow/service/v1beta1/operations.proto +++ b/third_party/googleapis/google/cloud/orchestration/airflow/service/v1beta1/operations.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -65,6 +65,10 @@ message OperationMetadata { // Loads snapshot of the resource operation. LOAD_SNAPSHOT = 6; + + // Triggers failover of environment's Cloud SQL instance (only for highly + // resilient environments). + DATABASE_FAILOVER = 7; } // Output only. The current operation state. diff --git a/third_party/googleapis/google/cloud/orgpolicy/BUILD.bazel b/third_party/googleapis/google/cloud/orgpolicy/BUILD.bazel index b68fb49ba..6b17b8d18 100644 --- a/third_party/googleapis/google/cloud/orgpolicy/BUILD.bazel +++ b/third_party/googleapis/google/cloud/orgpolicy/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-org_policy", "ruby-cloud-env-prefix=ORG_POLICY", - "ruby-cloud-wrapper-of=v2:0.2", + "ruby-cloud-wrapper-of=v2:0.9", "ruby-cloud-product-url=https://cloud.google.com/resource-manager/docs/organization-policy/overview", "ruby-cloud-api-id=orgpolicy.googleapis.com", "ruby-cloud-api-shortname=orgpolicy", ], ruby_cloud_description = "The Cloud Org Policy service provides a simple mechanism for organizations to restrict the allowed configurations across their entire Cloud Resource hierarchy.", ruby_cloud_title = "Organization Policy", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/orgpolicy/v1/BUILD.bazel b/third_party/googleapis/google/cloud/orgpolicy/v1/BUILD.bazel index acededd4f..e79f8728a 100644 --- a/third_party/googleapis/google/cloud/orgpolicy/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/orgpolicy/v1/BUILD.bazel @@ -26,7 +26,6 @@ proto_library( load( "@com_google_googleapis_imports//:imports.bzl", "java_gapic_assembly_gradle_pkg", - "java_grpc_library", "java_proto_library", ) @@ -35,19 +34,12 @@ java_proto_library( deps = [":orgpolicy_proto"], ) -java_grpc_library( - name = "orgpolicy_java_grpc", - srcs = [":orgpolicy_proto"], - deps = [":orgpolicy_java_proto"], -) - # Open Source Packages java_gapic_assembly_gradle_pkg( name = "google-cloud-orgpolicy-v1-java", include_samples = True, transport = "grpc+rest", deps = [ - ":orgpolicy_java_grpc", ":orgpolicy_java_proto", ":orgpolicy_proto", ], @@ -134,7 +126,6 @@ py_gapic_assembly_pkg( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -143,20 +134,9 @@ php_proto_library( deps = [":orgpolicy_proto"], ) -php_grpc_library( - name = "orgpolicy_php_grpc", - srcs = [":orgpolicy_proto"], - deps = [":orgpolicy_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/orgpolicy/v2/BUILD.bazel b/third_party/googleapis/google/cloud/orgpolicy/v2/BUILD.bazel index d0c753e4c..0fd546dbd 100644 --- a/third_party/googleapis/google/cloud/orgpolicy/v2/BUILD.bazel +++ b/third_party/googleapis/google/cloud/orgpolicy/v2/BUILD.bazel @@ -114,7 +114,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -143,19 +142,13 @@ go_gapic_library( ], ) -go_test( - name = "orgpolicy_go_gapic_test", - srcs = [":orgpolicy_go_gapic_srcjar_test"], - embed = [":orgpolicy_go_gapic"], - importpath = "cloud.google.com/go/orgpolicy/apiv2", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-orgpolicy-v2-go", deps = [ ":orgpolicy_go_gapic", ":orgpolicy_go_gapic_srcjar-metadata.srcjar", + ":orgpolicy_go_gapic_srcjar-snippets.srcjar", ":orgpolicy_go_gapic_srcjar-test.srcjar", ":orgpolicy_go_proto", ], @@ -208,7 +201,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -217,23 +209,15 @@ php_proto_library( deps = [":orgpolicy_proto"], ) -php_grpc_library( - name = "orgpolicy_php_grpc", - srcs = [":orgpolicy_proto"], - deps = [":orgpolicy_php_proto"], -) - php_gapic_library( name = "orgpolicy_php_gapic", srcs = [":orgpolicy_proto_with_info"], grpc_service_config = "orgpolicy_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "orgpolicy_v2.yaml", transport = "grpc+rest", - deps = [ - ":orgpolicy_php_grpc", - ":orgpolicy_php_proto", - ], + deps = [":orgpolicy_php_proto"], ) # Open Source Packages @@ -241,7 +225,6 @@ php_gapic_assembly_pkg( name = "google-cloud-orgpolicy-v2-php", deps = [ ":orgpolicy_php_gapic", - ":orgpolicy_php_grpc", ":orgpolicy_php_proto", ], ) @@ -313,6 +296,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "The Cloud Org Policy service provides a simple mechanism for organizations to restrict the allowed configurations across their entire Cloud Resource hierarchy.", ruby_cloud_title = "Organization Policy V2", service_yaml = "orgpolicy_v2.yaml", + transport = "grpc+rest", deps = [ ":orgpolicy_ruby_grpc", ":orgpolicy_ruby_proto", diff --git a/third_party/googleapis/google/cloud/orgpolicy/v2/constraint.proto b/third_party/googleapis/google/cloud/orgpolicy/v2/constraint.proto index 9a14e93fa..14e3530cd 100644 --- a/third_party/googleapis/google/cloud/orgpolicy/v2/constraint.proto +++ b/third_party/googleapis/google/cloud/orgpolicy/v2/constraint.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -28,20 +28,20 @@ option java_package = "com.google.cloud.orgpolicy.v2"; option php_namespace = "Google\\Cloud\\OrgPolicy\\V2"; option ruby_package = "Google::Cloud::OrgPolicy::V2"; -// A `constraint` describes a way to restrict resource's configuration. For -// example, you could enforce a constraint that controls which cloud services -// can be activated across an organization, or whether a Compute Engine instance -// can have serial port connections established. `Constraints` can be configured -// by the organization's policy administrator to fit the needs of the -// organization by setting a `policy` that includes `constraints` at different +// A constraint describes a way to restrict resource's configuration. For +// example, you could enforce a constraint that controls which Google Cloud +// services can be activated across an organization, or whether a Compute Engine +// instance can have serial port connections established. Constraints can be +// configured by the organization policy administrator to fit the needs of the +// organization by setting a policy that includes constraints at different // locations in the organization's resource hierarchy. Policies are inherited // down the resource hierarchy from higher levels, but can also be overridden. // For details about the inheritance rules please read about // [`policies`][google.cloud.OrgPolicy.v2.Policy]. // -// `Constraints` have a default behavior determined by the `constraint_default` +// Constraints have a default behavior determined by the `constraint_default` // field, which is the enforcement behavior that is used in the absence of a -// `policy` being defined or inherited for the resource in question. +// policy being defined or inherited for the resource in question. message Constraint { option (google.api.resource) = { type: "orgpolicy.googleapis.com/Constraint" @@ -50,8 +50,8 @@ message Constraint { pattern: "organizations/{organization}/constraints/{constraint}" }; - // Specifies the default behavior in the absence of any `Policy` for the - // `Constraint`. This must not be `CONSTRAINT_DEFAULT_UNSPECIFIED`. + // Specifies the default behavior in the absence of any policy for the + // constraint. This must not be `CONSTRAINT_DEFAULT_UNSPECIFIED`. // // Immutable after creation. enum ConstraintDefault { @@ -68,30 +68,31 @@ message Constraint { DENY = 2; } - // A `Constraint` that allows or disallows a list of string values, which are - // configured by an Organization's policy administrator with a `Policy`. + // A constraint that allows or disallows a list of string values, which are + // configured by an Organization Policy administrator with a policy. message ListConstraint { // Indicates whether values grouped into categories can be used in // `Policy.allowed_values` and `Policy.denied_values`. For example, // `"in:Python"` would match any value in the 'Python' group. bool supports_in = 1; - // Indicates whether subtrees of Cloud Resource Manager resource hierarchy + // Indicates whether subtrees of the Resource Manager resource hierarchy // can be used in `Policy.allowed_values` and `Policy.denied_values`. For // example, `"under:folders/123"` would match any resource under the // 'folders/123' folder. bool supports_under = 2; } - // A `Constraint` that is either enforced or not. + // A constraint that is either enforced or not. // - // For example a constraint `constraints/compute.disableSerialPortAccess`. + // For example, a constraint `constraints/compute.disableSerialPortAccess`. // If it is enforced on a VM instance, serial port connections will not be // opened to that instance. message BooleanConstraint {} - // Immutable. The resource name of the Constraint. Must be in one of + // Immutable. The resource name of the constraint. Must be in one of // the following forms: + // // * `projects/{project_number}/constraints/{constraint_name}` // * `folders/{folder_id}/constraints/{constraint_name}` // * `organizations/{organization_id}/constraints/{constraint_name}` @@ -104,13 +105,13 @@ message Constraint { // Mutable. string display_name = 2; - // Detailed description of what this `Constraint` controls as well as how and + // Detailed description of what this constraint controls as well as how and // where it is enforced. // // Mutable. string description = 3; - // The evaluation behavior of this constraint in the absence of 'Policy'. + // The evaluation behavior of this constraint in the absence of a policy. ConstraintDefault constraint_default = 4; // The type of restrictions for this `Constraint`. @@ -123,4 +124,98 @@ message Constraint { // Defines this constraint as being a BooleanConstraint. BooleanConstraint boolean_constraint = 6; } + + // Shows if dry run is supported for this constraint or not. + bool supports_dry_run = 7; +} + +// A custom constraint defined by customers which can *only* be applied to the +// given resource types and organization. +// +// By creating a custom constraint, customers can apply policies of this +// custom constraint. *Creating a custom constraint itself does NOT apply any +// policy enforcement*. +message CustomConstraint { + option (google.api.resource) = { + type: "orgpolicy.googleapis.com/CustomConstraint" + pattern: "organizations/{organization}/customConstraints/{custom_constraint}" + }; + + // The operation for which this constraint will be applied. To apply this + // constraint only when creating new VMs, the `method_types` should be + // `CREATE` only. To apply this constraint when creating or deleting + // VMs, the `method_types` should be `CREATE` and `DELETE`. + // + // `UPDATE` only custom constraints are not supported. Use `CREATE` or + // `CREATE, UPDATE`. + enum MethodType { + // Unspecified. Results in an error. + METHOD_TYPE_UNSPECIFIED = 0; + + // Constraint applied when creating the resource. + CREATE = 1; + + // Constraint applied when updating the resource. + UPDATE = 2; + + // Constraint applied when deleting the resource. + // Not supported yet. + DELETE = 3; + } + + // Allow or deny type. + enum ActionType { + // Unspecified. Results in an error. + ACTION_TYPE_UNSPECIFIED = 0; + + // Allowed action type. + ALLOW = 1; + + // Deny action type. + DENY = 2; + } + + // Immutable. Name of the constraint. This is unique within the organization. + // Format of the name should be + // + // * `organizations/{organization_id}/customConstraints/{custom_constraint_id}` + // + // Example: `organizations/123/customConstraints/custom.createOnlyE2TypeVms` + // + // The max length is 70 characters and the minimum length is 1. Note that the + // prefix `organizations/{organization_id}/customConstraints/` is not counted. + string name = 1 [(google.api.field_behavior) = IMMUTABLE]; + + // Immutable. The resource instance type on which this policy applies. Format + // will be of the form : `/` Example: + // + // * `compute.googleapis.com/Instance`. + repeated string resource_types = 2 [(google.api.field_behavior) = IMMUTABLE]; + + // All the operations being applied for this constraint. + repeated MethodType method_types = 3; + + // Org policy condition/expression. For example: + // `resource.instanceName.matches("[production|test]_.*_(\d)+")` or, + // `resource.management.auto_upgrade == true` + // + // The max length of the condition is 1000 characters. + string condition = 4; + + // Allow or deny type. + ActionType action_type = 5; + + // One line display name for the UI. + // The max length of the display_name is 200 characters. + string display_name = 6; + + // Detailed information about this custom policy constraint. + // The max length of the description is 2000 characters. + string description = 7; + + // Output only. The last time this custom constraint was updated. This + // represents the last time that the `CreateCustomConstraint` or + // `UpdateCustomConstraint` RPC was called + google.protobuf.Timestamp update_time = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/cloud/orgpolicy/v2/orgpolicy.proto b/third_party/googleapis/google/cloud/orgpolicy/v2/orgpolicy.proto index 0504d0748..2b7bad833 100644 --- a/third_party/googleapis/google/cloud/orgpolicy/v2/orgpolicy.proto +++ b/third_party/googleapis/google/cloud/orgpolicy/v2/orgpolicy.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -36,30 +36,30 @@ option ruby_package = "Google::Cloud::OrgPolicy::V2"; // An interface for managing organization policies. // -// The Cloud Org Policy service provides a simple mechanism for organizations to -// restrict the allowed configurations across their entire Cloud Resource -// hierarchy. +// The Organization Policy Service provides a simple mechanism for +// organizations to restrict the allowed configurations across their entire +// resource hierarchy. // -// You can use a `policy` to configure restrictions in Cloud resources. For -// example, you can enforce a `policy` that restricts which Google -// Cloud Platform APIs can be activated in a certain part of your resource -// hierarchy, or prevents serial port access to VM instances in a particular -// folder. +// You can use a policy to configure restrictions on resources. For +// example, you can enforce a policy that restricts which Google +// Cloud APIs can be activated in a certain part of your resource +// hierarchy, or prevents serial port access to VM instances in a +// particular folder. // -// `Policies` are inherited down through the resource hierarchy. A `policy` +// Policies are inherited down through the resource hierarchy. A policy // applied to a parent resource automatically applies to all its child resources -// unless overridden with a `policy` lower in the hierarchy. +// unless overridden with a policy lower in the hierarchy. // -// A `constraint` defines an aspect of a resource's configuration that can be -// controlled by an organization's policy administrator. `Policies` are a -// collection of `constraints` that defines their allowable configuration on a +// A constraint defines an aspect of a resource's configuration that can be +// controlled by an organization's policy administrator. Policies are a +// collection of constraints that defines their allowable configuration on a // particular resource and its child resources. service OrgPolicy { option (google.api.default_host) = "orgpolicy.googleapis.com"; option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; - // Lists `Constraints` that could be applied on the specified resource. + // Lists constraints that could be applied on the specified resource. rpc ListConstraints(ListConstraintsRequest) returns (ListConstraintsResponse) { option (google.api.http) = { @@ -70,7 +70,7 @@ service OrgPolicy { option (google.api.method_signature) = "parent"; } - // Retrieves all of the `Policies` that exist on a particular resource. + // Retrieves all of the policies that exist on a particular resource. rpc ListPolicies(ListPoliciesRequest) returns (ListPoliciesResponse) { option (google.api.http) = { get: "/v2/{parent=projects/*}/policies" @@ -80,11 +80,11 @@ service OrgPolicy { option (google.api.method_signature) = "parent"; } - // Gets a `Policy` on a resource. + // Gets a policy on a resource. // - // If no `Policy` is set on the resource, NOT_FOUND is returned. The + // If no policy is set on the resource, `NOT_FOUND` is returned. The // `etag` value can be used with `UpdatePolicy()` to update a - // `Policy` during read-modify-write. + // policy during read-modify-write. rpc GetPolicy(GetPolicyRequest) returns (Policy) { option (google.api.http) = { get: "/v2/{name=projects/*/policies/*}" @@ -94,10 +94,10 @@ service OrgPolicy { option (google.api.method_signature) = "name"; } - // Gets the effective `Policy` on a resource. This is the result of merging - // `Policies` in the resource hierarchy and evaluating conditions. The - // returned `Policy` will not have an `etag` or `condition` set because it is - // a computed `Policy` across multiple resources. + // Gets the effective policy on a resource. This is the result of merging + // policies in the resource hierarchy and evaluating conditions. The + // returned policy will not have an `etag` or `condition` set because it is + // an evaluated policy across multiple resources. // Subtrees of Resource Manager resource hierarchy with 'under:' prefix will // not be expanded. rpc GetEffectivePolicy(GetEffectivePolicyRequest) returns (Policy) { @@ -113,12 +113,12 @@ service OrgPolicy { option (google.api.method_signature) = "name"; } - // Creates a Policy. + // Creates a policy. // // Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the // constraint does not exist. // Returns a `google.rpc.Status` with `google.rpc.Code.ALREADY_EXISTS` if the - // policy already exists on the given Cloud resource. + // policy already exists on the given Google Cloud resource. rpc CreatePolicy(CreatePolicyRequest) returns (Policy) { option (google.api.http) = { post: "/v2/{parent=projects/*}/policies" @@ -135,7 +135,7 @@ service OrgPolicy { option (google.api.method_signature) = "parent,policy"; } - // Updates a Policy. + // Updates a policy. // // Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the // constraint or the policy do not exist. @@ -160,10 +160,10 @@ service OrgPolicy { option (google.api.method_signature) = "policy"; } - // Deletes a Policy. + // Deletes a policy. // // Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the - // constraint or Org Policy does not exist. + // constraint or organization policy does not exist. rpc DeletePolicy(DeletePolicyRequest) returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v2/{name=projects/*/policies/*}" @@ -172,10 +172,75 @@ service OrgPolicy { }; option (google.api.method_signature) = "name"; } + + // Creates a custom constraint. + // + // Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the + // organization does not exist. + // Returns a `google.rpc.Status` with `google.rpc.Code.ALREADY_EXISTS` if the + // constraint already exists on the given organization. + rpc CreateCustomConstraint(CreateCustomConstraintRequest) + returns (CustomConstraint) { + option (google.api.http) = { + post: "/v2/{parent=organizations/*}/customConstraints" + body: "custom_constraint" + }; + option (google.api.method_signature) = "parent,custom_constraint"; + } + + // Updates a custom constraint. + // + // Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the + // constraint does not exist. + // + // Note: the supplied policy will perform a full overwrite of all + // fields. + rpc UpdateCustomConstraint(UpdateCustomConstraintRequest) + returns (CustomConstraint) { + option (google.api.http) = { + patch: "/v2/{custom_constraint.name=organizations/*/customConstraints/*}" + body: "custom_constraint" + }; + option (google.api.method_signature) = "custom_constraint"; + } + + // Gets a custom constraint. + // + // Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the + // custom constraint does not exist. + rpc GetCustomConstraint(GetCustomConstraintRequest) + returns (CustomConstraint) { + option (google.api.http) = { + get: "/v2/{name=organizations/*/customConstraints/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Retrieves all of the custom constraints that exist on a particular + // organization resource. + rpc ListCustomConstraints(ListCustomConstraintsRequest) + returns (ListCustomConstraintsResponse) { + option (google.api.http) = { + get: "/v2/{parent=organizations/*}/customConstraints" + }; + option (google.api.method_signature) = "parent"; + } + + // Deletes a custom constraint. + // + // Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the + // constraint does not exist. + rpc DeleteCustomConstraint(DeleteCustomConstraintRequest) + returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v2/{name=organizations/*/customConstraints/*}" + }; + option (google.api.method_signature) = "name"; + } } -// Defines a Cloud Organization `Policy` which is used to specify `Constraints` -// for configurations of Cloud Platform resources. +// Defines an organization policy which is used to specify constraints +// for configurations of Google Cloud resources. message Policy { option (google.api.resource) = { type: "orgpolicy.googleapis.com/Policy" @@ -184,14 +249,15 @@ message Policy { pattern: "organizations/{organization}/policies/{policy}" }; - // Immutable. The resource name of the Policy. Must be one of the following - // forms, where constraint_name is the name of the constraint which this - // Policy configures: + // Immutable. The resource name of the policy. Must be one of the following + // forms, where `constraint_name` is the name of the constraint which this + // policy configures: + // // * `projects/{project_number}/policies/{constraint_name}` // * `folders/{folder_id}/policies/{constraint_name}` // * `organizations/{organization_id}/policies/{constraint_name}` // - // For example, "projects/123/policies/compute.disableSerialPortAccess". + // For example, `projects/123/policies/compute.disableSerialPortAccess`. // // Note: `projects/{project_id}/policies/{constraint_name}` is also an // acceptable name for API requests, but responses will return the name using @@ -204,10 +270,16 @@ message Policy { // Deprecated. AlternatePolicySpec alternate = 3 [deprecated = true]; - // dry-run policy. + // Dry-run policy. // Audit-only policy, can be used to monitor how the policy would have // impacted the existing and future resources if it's enforced. PolicySpec dry_run_spec = 4; + + // Optional. An opaque tag indicating the current state of the policy, used + // for concurrency control. This 'etag' is computed by the server based on the + // value of other fields, and may be sent on update and delete requests to + // ensure the client has an up-to-date value before proceeding. + string etag = 5 [(google.api.field_behavior) = OPTIONAL]; } // Similar to PolicySpec but with an extra 'launch' field for launch reference. @@ -218,17 +290,17 @@ message AlternatePolicySpec { // Should be set only in the alternate policy. string launch = 1; - // Specify `Constraint` for configurations of Cloud Platform resources. + // Specify constraint for configurations of Google Cloud resources. PolicySpec spec = 2; } -// Defines a Cloud Organization `PolicySpec` which is used to specify -// `Constraints` for configurations of Cloud Platform resources. +// Defines a Google Cloud policy specification which is used to specify +// constraints for configurations of Google Cloud resources. message PolicySpec { // A rule used to express this policy. message PolicyRule { // A message that holds specific allowed and denied values. - // This message can define specific values and subtrees of Cloud Resource + // This message can define specific values and subtrees of the Resource // Manager resource hierarchy (`Organizations`, `Folders`, `Projects`) that // are allowed or denied. This is achieved by using the `under:` and // optional `is:` prefixes. @@ -237,9 +309,11 @@ message PolicySpec { // if the value contains a ":". Values prefixed with "is:" are treated the // same as values with no prefix. // Ancestry subtrees must be in one of the following formats: - // - "projects/", e.g. "projects/tokyo-rain-123" - // - "folders/", e.g. "folders/1234" - // - "organizations/", e.g. "organizations/1234" + // + // - `projects/` (for example, `projects/tokyo-rain-123`) + // - `folders/` (for example, `folders/1234`) + // - `organizations/` (for example, `organizations/1234`) + // // The `supports_under` field of the associated `Constraint` defines // whether ancestry prefixes can be used. message StringValues { @@ -251,21 +325,21 @@ message PolicySpec { } oneof kind { - // List of values to be used for this PolicyRule. This field can be set - // only in Policies for list constraints. + // List of values to be used for this policy rule. This field can be set + // only in policies for list constraints. StringValues values = 1; // Setting this to true means that all values are allowed. This field can - // be set only in Policies for list constraints. + // be set only in policies for list constraints. bool allow_all = 2; // Setting this to true means that all values are denied. This field can - // be set only in Policies for list constraints. + // be set only in policies for list constraints. bool deny_all = 3; - // If `true`, then the `Policy` is enforced. If `false`, then any + // If `true`, then the policy is enforced. If `false`, then any // configuration is acceptable. - // This field can be set only in Policies for boolean constraints. + // This field can be set only in policies for boolean constraints. bool enforce = 4; } @@ -284,46 +358,45 @@ message PolicySpec { google.type.Expr condition = 5; } - // An opaque tag indicating the current version of the `Policy`, used for + // An opaque tag indicating the current version of the policySpec, used for // concurrency control. // // This field is ignored if used in a `CreatePolicy` request. // - // When the `Policy` is returned from either a `GetPolicy` or a + // When the policy is returned from either a `GetPolicy` or a // `ListPolicies` request, this `etag` indicates the version of the - // current `Policy` to use when executing a read-modify-write loop. + // current policySpec to use when executing a read-modify-write loop. // - // When the `Policy` is returned from a `GetEffectivePolicy` request, the + // When the policy is returned from a `GetEffectivePolicy` request, the // `etag` will be unset. string etag = 1; // Output only. The time stamp this was previously updated. This // represents the last time a call to `CreatePolicy` or `UpdatePolicy` was - // made for that `Policy`. + // made for that policy. google.protobuf.Timestamp update_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Up to 10 PolicyRules are allowed. + // In policies for boolean constraints, the following requirements apply: // - // In Policies for boolean constraints, the following requirements apply: - // - There must be one and only one PolicyRule where condition is unset. - // - BooleanPolicyRules with conditions must set `enforced` to the opposite - // of the PolicyRule without a condition. - // - During policy evaluation, PolicyRules with conditions that are + // - There must be one and only one policy rule where condition is unset. + // - Boolean policy rules with conditions must set `enforced` to the + // opposite of the policy rule without a condition. + // - During policy evaluation, policy rules with conditions that are // true for a target resource take precedence. repeated PolicyRule rules = 3; - // Determines the inheritance behavior for this `Policy`. + // Determines the inheritance behavior for this policy. // - // If `inherit_from_parent` is true, PolicyRules set higher up in the + // If `inherit_from_parent` is true, policy rules set higher up in the // hierarchy (up to the closest root) are inherited and present in the // effective policy. If it is false, then no rules are inherited, and this - // Policy becomes the new root for evaluation. - // This field can be set only for Policies which configure list constraints. + // policy becomes the new root for evaluation. + // This field can be set only for policies which configure list constraints. bool inherit_from_parent = 4; // Ignores policies set above this resource and restores the - // `constraint_default` enforcement behavior of the specific `Constraint` at + // `constraint_default` enforcement behavior of the specific constraint at // this resource. // This field can be set in policies for either list or boolean // constraints. If set, `rules` must be empty and `inherit_from_parent` @@ -334,8 +407,9 @@ message PolicySpec { // The request sent to the [ListConstraints] // [google.cloud.orgpolicy.v2.OrgPolicy.ListConstraints] method. message ListConstraintsRequest { - // Required. The Cloud resource that parents the constraint. Must be in one of - // the following forms: + // Required. The Google Cloud resource that parents the constraint. Must be in + // one of the following forms: + // // * `projects/{project_number}` // * `projects/{project_id}` // * `folders/{folder_id}` @@ -370,9 +444,10 @@ message ListConstraintsResponse { // The request sent to the [ListPolicies] // [google.cloud.orgpolicy.v2.OrgPolicy.ListPolicies] method. message ListPoliciesRequest { - // Required. The target Cloud resource that parents the set of constraints and - // policies that will be returned from this call. Must be in one of the - // following forms: + // Required. The target Google Cloud resource that parents the set of + // constraints and policies that will be returned from this call. Must be in + // one of the following forms: + // // * `projects/{project_number}` // * `projects/{project_id}` // * `folders/{folder_id}` @@ -396,10 +471,10 @@ message ListPoliciesRequest { // The response returned from the [ListPolicies] // [google.cloud.orgpolicy.v2.OrgPolicy.ListPolicies] method. It will be empty -// if no `Policies` are set on the resource. +// if no policies are set on the resource. message ListPoliciesResponse { - // All `Policies` that exist on the resource. It will be empty if no - // `Policies` are set. + // All policies that exist on the resource. It will be empty if no + // policies are set. repeated Policy policies = 1; // Page token used to retrieve the next page. This is currently not used, but @@ -410,8 +485,8 @@ message ListPoliciesResponse { // The request sent to the [GetPolicy] // [google.cloud.orgpolicy.v2.OrgPolicy.GetPolicy] method. message GetPolicyRequest { - // Required. Resource name of the policy. See `Policy` for naming - // requirements. + // Required. Resource name of the policy. See + // [Policy][google.cloud.orgpolicy.v2.Policy] for naming requirements. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -423,7 +498,8 @@ message GetPolicyRequest { // The request sent to the [GetEffectivePolicy] // [google.cloud.orgpolicy.v2.OrgPolicy.GetEffectivePolicy] method. message GetEffectivePolicyRequest { - // Required. The effective policy to compute. See `Policy` for naming rules. + // Required. The effective policy to compute. See + // [Policy][google.cloud.orgpolicy.v2.Policy] for naming requirements. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -435,8 +511,9 @@ message GetEffectivePolicyRequest { // The request sent to the [CreatePolicyRequest] // [google.cloud.orgpolicy.v2.OrgPolicy.CreatePolicy] method. message CreatePolicyRequest { - // Required. The Cloud resource that will parent the new Policy. Must be in - // one of the following forms: + // Required. The Google Cloud resource that will parent the new policy. Must + // be in one of the following forms: + // // * `projects/{project_number}` // * `projects/{project_id}` // * `folders/{folder_id}` @@ -448,14 +525,14 @@ message CreatePolicyRequest { } ]; - // Required. `Policy` to create. + // Required. Policy to create. Policy policy = 3 [(google.api.field_behavior) = REQUIRED]; } // The request sent to the [UpdatePolicyRequest] // [google.cloud.orgpolicy.v2.OrgPolicy.UpdatePolicy] method. message UpdatePolicyRequest { - // Required. `Policy` to update. + // Required. Policy to update. Policy policy = 1 [(google.api.field_behavior) = REQUIRED]; // Field mask used to specify the fields to be overwritten in the policy @@ -468,11 +545,106 @@ message UpdatePolicyRequest { // [google.cloud.orgpolicy.v2.OrgPolicy.DeletePolicy] method. message DeletePolicyRequest { // Required. Name of the policy to delete. - // See `Policy` for naming rules. + // See the policy entry for naming rules. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { type: "orgpolicy.googleapis.com/Policy" } ]; + + // Optional. The current etag of policy. If an etag is provided and does not + // match the current etag of the policy, deletion will be blocked and an + // ABORTED error will be returned. + string etag = 2 [(google.api.field_behavior) = OPTIONAL]; +} + +// The request sent to the [CreateCustomConstraintRequest] +// [google.cloud.orgpolicy.v2.OrgPolicy.CreateCustomConstraint] method. +message CreateCustomConstraintRequest { + // Required. Must be in the following form: + // + // * `organizations/{organization_id}` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "orgpolicy.googleapis.com/CustomConstraint" + } + ]; + + // Required. Custom constraint to create. + CustomConstraint custom_constraint = 2 + [(google.api.field_behavior) = REQUIRED]; +} + +// The request sent to the [GetCustomConstraint] +// [google.cloud.orgpolicy.v2.OrgPolicy.GetCustomConstraint] method. +message GetCustomConstraintRequest { + // Required. Resource name of the custom constraint. See the custom constraint + // entry for naming requirements. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "orgpolicy.googleapis.com/CustomConstraint" + } + ]; +} + +// The request sent to the [ListCustomConstraints] +// [google.cloud.orgpolicy.v2.OrgPolicy.ListCustomConstraints] method. +message ListCustomConstraintsRequest { + // Required. The target Google Cloud resource that parents the set of custom + // constraints that will be returned from this call. Must be in one of the + // following forms: + // + // * `organizations/{organization_id}` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "orgpolicy.googleapis.com/CustomConstraint" + } + ]; + + // Size of the pages to be returned. This is currently unsupported and will + // be ignored. The server may at any point start using this field to limit + // page size. + int32 page_size = 2; + + // Page token used to retrieve the next page. This is currently unsupported + // and will be ignored. The server may at any point start using this field. + string page_token = 3; +} + +// The response returned from the [ListCustomConstraints] +// [google.cloud.orgpolicy.v2.OrgPolicy.ListCustomConstraints] method. It will +// be empty if no custom constraints are set on the organization resource. +message ListCustomConstraintsResponse { + // All custom constraints that exist on the organization resource. It will be + // empty if no custom constraints are set. + repeated CustomConstraint custom_constraints = 1; + + // Page token used to retrieve the next page. This is currently not used, but + // the server may at any point start supplying a valid token. + string next_page_token = 2; +} + +// The request sent to the [UpdateCustomConstraintRequest] +// [google.cloud.orgpolicy.v2.OrgPolicy.UpdateCustomConstraint] method. +message UpdateCustomConstraintRequest { + // Required. `CustomConstraint` to update. + CustomConstraint custom_constraint = 1 + [(google.api.field_behavior) = REQUIRED]; +} + +// The request sent to the [DeleteCustomConstraint] +// [google.cloud.orgpolicy.v2.OrgPolicy.DeleteCustomConstraint] method. +message DeleteCustomConstraintRequest { + // Required. Name of the custom constraint to delete. + // See the custom constraint entry for naming rules. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "orgpolicy.googleapis.com/CustomConstraint" + } + ]; } diff --git a/third_party/googleapis/google/cloud/orgpolicy/v2/orgpolicy_grpc_service_config.json b/third_party/googleapis/google/cloud/orgpolicy/v2/orgpolicy_grpc_service_config.json index ba7a51e09..206131c74 100644 --- a/third_party/googleapis/google/cloud/orgpolicy/v2/orgpolicy_grpc_service_config.json +++ b/third_party/googleapis/google/cloud/orgpolicy/v2/orgpolicy_grpc_service_config.json @@ -1,21 +1,64 @@ { - "methodConfig": [{ - "name": [ - { "service": "google.cloud.orgpolicy.v2.OrgPolicy", "method": "ListPolicies" }, - { "service": "google.cloud.orgpolicy.v2.OrgPolicy", "method": "GetEffectivePolicy" }, - { "service": "google.cloud.orgpolicy.v2.OrgPolicy", "method": "GetPolicy" }, - { "service": "google.cloud.orgpolicy.v2.OrgPolicy", "method": "ListConstraints" }, - { "service": "google.cloud.orgpolicy.v2.OrgPolicy", "method": "CreatePolicy" }, - { "service": "google.cloud.orgpolicy.v2.OrgPolicy", "method": "DeletePolicy" }, - { "service": "google.cloud.orgpolicy.v2.OrgPolicy", "method": "UpdatePolicy" } - ], - "timeout": "60s", - "retryPolicy": { - "maxAttempts": 5, - "initialBackoff": "1s", - "maxBackoff": "10s", - "backoffMultiplier": 1.3, - "retryableStatusCodes": ["UNAVAILABLE", "DEADLINE_EXCEEDED"] + "methodConfig": [ + { + "name": [ + { + "service": "google.cloud.orgpolicy.v2.OrgPolicy", + "method": "ListPolicies" + }, + { + "service": "google.cloud.orgpolicy.v2.OrgPolicy", + "method": "GetEffectivePolicy" + }, + { + "service": "google.cloud.orgpolicy.v2.OrgPolicy", + "method": "GetPolicy" + }, + { + "service": "google.cloud.orgpolicy.v2.OrgPolicy", + "method": "ListConstraints" + }, + { + "service": "google.cloud.orgpolicy.v2.OrgPolicy", + "method": "CreatePolicy" + }, + { + "service": "google.cloud.orgpolicy.v2.OrgPolicy", + "method": "UpdatePolicy" + }, + { + "service": "google.cloud.orgpolicy.v2.OrgPolicy", + "method": "DeletePolicy" + }, + { + "service": "google.cloud.orgpolicy.v2.OrgPolicy", + "method": "GetCustomConstraint" + }, + { + "service": "google.cloud.orgpolicy.v2.OrgPolicy", + "method": "CreateCustomConstraint" + }, + { + "service": "google.cloud.orgpolicy.v2.OrgPolicy", + "method": "UpdateCustomConstraint" + }, + { + "service": "google.cloud.orgpolicy.v2.OrgPolicy", + "method": "ListCustomConstraints" + }, + { + "service": "google.cloud.orgpolicy.v2.OrgPolicy", + "method": "DeleteCustomConstraint" + } + ], + "timeout": "60s", + "retryPolicy": { + "maxAttempts": 5, + "initialBackoff": "1s", + "maxBackoff": "10s", + "backoffMultiplier": 1.3, + "retryableStatusCodes": ["UNAVAILABLE", "DEADLINE_EXCEEDED"] + } } - }] + ] } diff --git a/third_party/googleapis/google/cloud/orgpolicy/v2/orgpolicy_v2.yaml b/third_party/googleapis/google/cloud/orgpolicy/v2/orgpolicy_v2.yaml index 98b520c7c..9ad049851 100644 --- a/third_party/googleapis/google/cloud/orgpolicy/v2/orgpolicy_v2.yaml +++ b/third_party/googleapis/google/cloud/orgpolicy/v2/orgpolicy_v2.yaml @@ -8,8 +8,8 @@ apis: documentation: summary: |- - The Organization Policy API allows users to configure governance rules on their Google Cloud - resources across the resource hierarchy. + The Organization Policy API allows users to configure governance rules on + their Google Cloud resources across the resource hierarchy. authentication: rules: @@ -17,13 +17,3 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform - -publishing: - organization: CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED - new_issue_uri: '' - documentation_uri: '' - api_short_name: '' - github_label: '' - doc_tag_prefix: '' - codeowner_github_teams: - library_settings: diff --git a/third_party/googleapis/google/cloud/osconfig/BUILD.bazel b/third_party/googleapis/google/cloud/osconfig/BUILD.bazel index 26f220616..5c7c44150 100644 --- a/third_party/googleapis/google/cloud/osconfig/BUILD.bazel +++ b/third_party/googleapis/google/cloud/osconfig/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-os_config", "ruby-cloud-env-prefix=OS_CONFIG", - "ruby-cloud-wrapper-of=v1:0.6", + "ruby-cloud-wrapper-of=v1:0.15", "ruby-cloud-product-url=https://cloud.google.com/compute/docs/manage-os", "ruby-cloud-api-id=osconfig.googleapis.com", "ruby-cloud-api-shortname=osconfig", ], ruby_cloud_description = "Cloud OS Config provides OS management tools that can be used for patch management, patch compliance, and configuration management on VM instances.", ruby_cloud_title = "Cloud OS Config", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/osconfig/agentendpoint/v1/BUILD.bazel b/third_party/googleapis/google/cloud/osconfig/agentendpoint/v1/BUILD.bazel index 9af50f558..d06ebf088 100644 --- a/third_party/googleapis/google/cloud/osconfig/agentendpoint/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/osconfig/agentendpoint/v1/BUILD.bazel @@ -115,7 +115,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -144,19 +143,13 @@ go_gapic_library( ], ) -go_test( - name = "agentendpoint_go_gapic_test", - srcs = [":agentendpoint_go_gapic_srcjar_test"], - embed = [":agentendpoint_go_gapic"], - importpath = "cloud.google.com/go/osconfig/agentendpoint/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-osconfig-agentendpoint-v1-go", deps = [ ":agentendpoint_go_gapic", ":agentendpoint_go_gapic_srcjar-metadata.srcjar", + ":agentendpoint_go_gapic_srcjar-snippets.srcjar", ":agentendpoint_go_gapic_srcjar-test.srcjar", ":agentendpoint_go_proto", ], @@ -206,7 +199,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -215,12 +207,6 @@ php_proto_library( deps = [":agentendpoint_proto"], ) -php_grpc_library( - name = "agentendpoint_php_grpc", - srcs = [":agentendpoint_proto"], - deps = [":agentendpoint_php_proto"], -) - php_gapic_library( name = "agentendpoint_php_gapic", srcs = [":agentendpoint_proto_with_info"], @@ -228,10 +214,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "osconfig_v1.yaml", transport = "grpc+rest", - deps = [ - ":agentendpoint_php_grpc", - ":agentendpoint_php_proto", - ], + deps = [":agentendpoint_php_proto"], ) # Open Source Packages @@ -239,7 +222,6 @@ php_gapic_assembly_pkg( name = "google-cloud-osconfig-agentendpoint-v1-php", deps = [ ":agentendpoint_php_gapic", - ":agentendpoint_php_grpc", ":agentendpoint_php_proto", ], ) @@ -303,6 +285,7 @@ ruby_cloud_gapic_library( grpc_service_config = "agentendpoint_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "osconfig_v1.yaml", + transport = "grpc", deps = [ ":agentendpoint_ruby_grpc", ":agentendpoint_ruby_proto", diff --git a/third_party/googleapis/google/cloud/osconfig/agentendpoint/v1beta/BUILD.bazel b/third_party/googleapis/google/cloud/osconfig/agentendpoint/v1beta/BUILD.bazel index bf7d4c8f2..0953fd1a0 100644 --- a/third_party/googleapis/google/cloud/osconfig/agentendpoint/v1beta/BUILD.bazel +++ b/third_party/googleapis/google/cloud/osconfig/agentendpoint/v1beta/BUILD.bazel @@ -110,7 +110,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -138,19 +137,13 @@ go_gapic_library( ], ) -go_test( - name = "agentendpoint_go_gapic_test", - srcs = [":agentendpoint_go_gapic_srcjar_test"], - embed = [":agentendpoint_go_gapic"], - importpath = "cloud.google.com/go/osconfig/agentendpoint/apiv1beta", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-osconfig-agentendpoint-v1beta-go", deps = [ ":agentendpoint_go_gapic", ":agentendpoint_go_gapic_srcjar-metadata.srcjar", + ":agentendpoint_go_gapic_srcjar-snippets.srcjar", ":agentendpoint_go_gapic_srcjar-test.srcjar", ":agentendpoint_go_proto", ], @@ -200,7 +193,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -209,12 +201,6 @@ php_proto_library( deps = [":agentendpoint_proto"], ) -php_grpc_library( - name = "agentendpoint_php_grpc", - srcs = [":agentendpoint_proto"], - deps = [":agentendpoint_php_proto"], -) - php_gapic_library( name = "agentendpoint_php_gapic", srcs = [":agentendpoint_proto_with_info"], @@ -222,10 +208,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "osconfig_v1beta.yaml", transport = "grpc+rest", - deps = [ - ":agentendpoint_php_grpc", - ":agentendpoint_php_proto", - ], + deps = [":agentendpoint_php_proto"], ) # Open Source Packages @@ -233,7 +216,6 @@ php_gapic_assembly_pkg( name = "google-cloud-osconfig-agentendpoint-v1beta-php", deps = [ ":agentendpoint_php_gapic", - ":agentendpoint_php_grpc", ":agentendpoint_php_proto", ], ) @@ -297,6 +279,7 @@ ruby_cloud_gapic_library( grpc_service_config = "agentendpoint_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "osconfig_v1beta.yaml", + transport = "grpc", deps = [ ":agentendpoint_ruby_grpc", ":agentendpoint_ruby_proto", diff --git a/third_party/googleapis/google/cloud/osconfig/logging/BUILD.bazel b/third_party/googleapis/google/cloud/osconfig/logging/BUILD.bazel index 8b4965ef7..2cb087936 100644 --- a/third_party/googleapis/google/cloud/osconfig/logging/BUILD.bazel +++ b/third_party/googleapis/google/cloud/osconfig/logging/BUILD.bazel @@ -52,7 +52,6 @@ go_proto_library( importpath = "cloud.google.com/go/osconfig/logging/loggingpb", protos = [":logging_proto"], deps = [ - ], ) @@ -90,7 +89,6 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -99,21 +97,9 @@ php_proto_library( deps = [":logging_proto"], ) -php_grpc_library( - name = "logging_php_grpc", - srcs = [":logging_proto"], - deps = [":logging_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) - ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/osconfig/v1/BUILD.bazel b/third_party/googleapis/google/cloud/osconfig/v1/BUILD.bazel index 9656d1134..f71ffcd04 100644 --- a/third_party/googleapis/google/cloud/osconfig/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/osconfig/v1/BUILD.bazel @@ -129,7 +129,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -166,19 +165,13 @@ go_gapic_library( ], ) -go_test( - name = "osconfig_go_gapic_test", - srcs = [":osconfig_go_gapic_srcjar_test"], - embed = [":osconfig_go_gapic"], - importpath = "cloud.google.com/go/osconfig/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-osconfig-v1-go", deps = [ ":osconfig_go_gapic", ":osconfig_go_gapic_srcjar-metadata.srcjar", + ":osconfig_go_gapic_srcjar-snippets.srcjar", ":osconfig_go_gapic_srcjar-test.srcjar", ":osconfig_go_proto", ], @@ -235,7 +228,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -244,23 +236,15 @@ php_proto_library( deps = [":osconfig_proto"], ) -php_grpc_library( - name = "osconfig_php_grpc", - srcs = [":osconfig_proto"], - deps = [":osconfig_php_proto"], -) - php_gapic_library( name = "osconfig_php_gapic", srcs = [":osconfig_proto_with_info"], grpc_service_config = "osconfig_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "osconfig_v1.yaml", transport = "grpc+rest", - deps = [ - ":osconfig_php_grpc", - ":osconfig_php_proto", - ], + deps = [":osconfig_php_proto"], ) # Open Source Packages @@ -268,7 +252,6 @@ php_gapic_assembly_pkg( name = "google-cloud-osconfig-v1-php", deps = [ ":osconfig_php_gapic", - ":osconfig_php_grpc", ":osconfig_php_proto", ], ) @@ -341,6 +324,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Cloud OS Config provides OS management tools that can be used for patch management, patch compliance, and configuration management on VM instances.", ruby_cloud_title = "Cloud OS Config V1", service_yaml = "osconfig_v1.yaml", + transport = "grpc+rest", deps = [ ":osconfig_ruby_grpc", ":osconfig_ruby_proto", diff --git a/third_party/googleapis/google/cloud/osconfig/v1alpha/BUILD.bazel b/third_party/googleapis/google/cloud/osconfig/v1alpha/BUILD.bazel index 2f2e981c7..aa961f2a3 100644 --- a/third_party/googleapis/google/cloud/osconfig/v1alpha/BUILD.bazel +++ b/third_party/googleapis/google/cloud/osconfig/v1alpha/BUILD.bazel @@ -123,7 +123,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -157,19 +156,13 @@ go_gapic_library( ], ) -go_test( - name = "osconfig_go_gapic_test", - srcs = [":osconfig_go_gapic_srcjar_test"], - embed = [":osconfig_go_gapic"], - importpath = "cloud.google.com/go/osconfig/apiv1alpha", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-osconfig-v1alpha-go", deps = [ ":osconfig_go_gapic", ":osconfig_go_gapic_srcjar-metadata.srcjar", + ":osconfig_go_gapic_srcjar-snippets.srcjar", ":osconfig_go_gapic_srcjar-test.srcjar", ":osconfig_go_proto", ], @@ -220,7 +213,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -229,12 +221,6 @@ php_proto_library( deps = [":osconfig_proto"], ) -php_grpc_library( - name = "osconfig_php_grpc", - srcs = [":osconfig_proto"], - deps = [":osconfig_php_proto"], -) - php_gapic_library( name = "osconfig_php_gapic", srcs = [":osconfig_proto_with_info"], @@ -242,10 +228,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "osconfig_v1alpha.yaml", transport = "grpc+rest", - deps = [ - ":osconfig_php_grpc", - ":osconfig_php_proto", - ], + deps = [":osconfig_php_proto"], ) # Open Source Packages @@ -253,7 +236,6 @@ php_gapic_assembly_pkg( name = "google-cloud-osconfig-v1alpha-php", deps = [ ":osconfig_php_gapic", - ":osconfig_php_grpc", ":osconfig_php_proto", ], ) @@ -325,6 +307,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Cloud OS Config provides OS management tools that can be used for patch management, patch compliance, and configuration management on VM instances.", ruby_cloud_title = "Cloud OS Config V1alpha", service_yaml = "osconfig_v1alpha.yaml", + transport = "grpc+rest", deps = [ ":osconfig_ruby_grpc", ":osconfig_ruby_proto", diff --git a/third_party/googleapis/google/cloud/osconfig/v1beta/BUILD.bazel b/third_party/googleapis/google/cloud/osconfig/v1beta/BUILD.bazel index 013e1b1bf..0397fcf6d 100644 --- a/third_party/googleapis/google/cloud/osconfig/v1beta/BUILD.bazel +++ b/third_party/googleapis/google/cloud/osconfig/v1beta/BUILD.bazel @@ -120,7 +120,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -152,19 +151,13 @@ go_gapic_library( ], ) -go_test( - name = "osconfig_go_gapic_test", - srcs = [":osconfig_go_gapic_srcjar_test"], - embed = [":osconfig_go_gapic"], - importpath = "cloud.google.com/go/osconfig/apiv1beta", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-osconfig-v1beta-go", deps = [ ":osconfig_go_gapic", ":osconfig_go_gapic_srcjar-metadata.srcjar", + ":osconfig_go_gapic_srcjar-snippets.srcjar", ":osconfig_go_gapic_srcjar-test.srcjar", ":osconfig_go_proto", ], @@ -215,7 +208,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -224,12 +216,6 @@ php_proto_library( deps = [":osconfig_proto"], ) -php_grpc_library( - name = "osconfig_php_grpc", - srcs = [":osconfig_proto"], - deps = [":osconfig_php_proto"], -) - php_gapic_library( name = "osconfig_php_gapic", srcs = [":osconfig_proto_with_info"], @@ -237,10 +223,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "osconfig_v1beta.yaml", transport = "grpc+rest", - deps = [ - ":osconfig_php_grpc", - ":osconfig_php_proto", - ], + deps = [":osconfig_php_proto"], ) # Open Source Packages @@ -248,7 +231,6 @@ php_gapic_assembly_pkg( name = "google-cloud-osconfig-v1beta-php", deps = [ ":osconfig_php_gapic", - ":osconfig_php_grpc", ":osconfig_php_proto", ], ) @@ -312,6 +294,7 @@ ruby_cloud_gapic_library( grpc_service_config = "osconfig_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "osconfig_v1beta.yaml", + transport = "grpc+rest", deps = [ ":osconfig_ruby_grpc", ":osconfig_ruby_proto", diff --git a/third_party/googleapis/google/cloud/oslogin/BUILD.bazel b/third_party/googleapis/google/cloud/oslogin/BUILD.bazel index b948918dc..af72145d3 100644 --- a/third_party/googleapis/google/cloud/oslogin/BUILD.bazel +++ b/third_party/googleapis/google/cloud/oslogin/BUILD.bazel @@ -22,7 +22,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-os_login", "ruby-cloud-env-prefix=OS_LOGIN", - "ruby-cloud-wrapper-of=v1:0.0;v1beta:0.0", + "ruby-cloud-wrapper-of=v1:0.11;v1beta:0.14", "ruby-cloud-product-url=https://cloud.google.com/compute/docs/oslogin", "ruby-cloud-api-id=oslogin.googleapis.com", "ruby-cloud-api-shortname=oslogin", @@ -30,6 +30,7 @@ ruby_cloud_gapic_library( ], ruby_cloud_description = "Use OS Login to manage SSH access to your instances using IAM without having to create and manage individual SSH keys. OS Login maintains a consistent Linux user identity across VM instances and is the recommended way to manage many users across multiple instances or projects.", ruby_cloud_title = "Cloud OS Login", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/oslogin/common/BUILD.bazel b/third_party/googleapis/google/cloud/oslogin/common/BUILD.bazel index 339d37460..0711bd13b 100644 --- a/third_party/googleapis/google/cloud/oslogin/common/BUILD.bazel +++ b/third_party/googleapis/google/cloud/oslogin/common/BUILD.bazel @@ -78,9 +78,9 @@ go_gapic_assembly_pkg( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "py_gapic_assembly_pkg", "py_gapic_library", "py_proto_library", + "py_gapic_assembly_pkg", ) py_gapic_library( @@ -95,12 +95,19 @@ py_proto_library( deps = [":common_proto"], ) +# Open Source Packages +py_gapic_assembly_pkg( + name = "common-py", + deps = [ + ":common_py_gapic", + ], +) + ############################################################################## # PHP ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -109,20 +116,9 @@ php_proto_library( deps = [":common_proto"], ) -php_grpc_library( - name = "common_php_grpc", - srcs = [":common_proto"], - deps = [":common_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/oslogin/common/common.proto b/third_party/googleapis/google/cloud/oslogin/common/common.proto index de96a9b51..c0a15cc71 100644 --- a/third_party/googleapis/google/cloud/oslogin/common/common.proto +++ b/third_party/googleapis/google/cloud/oslogin/common/common.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/oslogin/v1/BUILD.bazel b/third_party/googleapis/google/cloud/oslogin/v1/BUILD.bazel index 465308459..c382db82b 100644 --- a/third_party/googleapis/google/cloud/oslogin/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/oslogin/v1/BUILD.bazel @@ -72,6 +72,7 @@ java_gapic_library( srcs = [":oslogin_proto_with_info"], grpc_service_config = "oslogin_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "oslogin_v1.yaml", test_deps = [ ":oslogin_java_grpc", ] + _JAVA_GRPC_SUBPACKAGE_DEPS, @@ -110,7 +111,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -139,18 +139,12 @@ go_gapic_library( ], ) -go_test( - name = "oslogin_go_gapic_test", - srcs = [":oslogin_go_gapic_srcjar_test"], - embed = [":oslogin_go_gapic"], - importpath = "cloud.google.com/go/oslogin/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-oslogin-v1-go", deps = [ ":oslogin_go_gapic", + ":oslogin_go_gapic_srcjar-snippets.srcjar", ":oslogin_go_gapic_srcjar-test.srcjar", ":oslogin_go_proto", "//google/cloud/oslogin/common:common_go_proto", @@ -164,6 +158,14 @@ load( "@com_google_googleapis_imports//:imports.bzl", "py_gapic_assembly_pkg", "py_gapic_library", + "py_import", +) + +py_import( + name = "oslogin_common", + srcs = [ + "//google/cloud/oslogin/common:common_py_gapic", + ], ) py_gapic_library( @@ -174,12 +176,13 @@ py_gapic_library( grpc_service_config = "oslogin_grpc_service_config.json", opt_args = [ "warehouse-package-name=google-cloud-os-login", + "proto-plus-deps=google.cloud.oslogin.common", ], rest_numeric_enums = True, service_yaml = "oslogin_v1.yaml", transport = "grpc+rest", deps = [ - "//google/cloud/oslogin/common:common_py_proto", + ":oslogin_common", ], ) @@ -200,8 +203,6 @@ py_gapic_assembly_pkg( name = "oslogin-v1-py", deps = [ ":oslogin_py_gapic", - # "//google/cloud/oslogin/common:common_py_gapic", - "//google/cloud/oslogin/common:common_py_proto", ], ) @@ -212,13 +213,11 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) _PHP_SUBPACKAGE_DEPS = [ "//google/cloud/oslogin/common:common_php_proto", - "//google/cloud/oslogin/common:common_php_grpc", ] php_proto_library( @@ -226,23 +225,15 @@ php_proto_library( deps = [":oslogin_proto"], ) -php_grpc_library( - name = "oslogin_php_grpc", - srcs = [":oslogin_proto"], - deps = [":oslogin_php_proto"], -) - php_gapic_library( name = "oslogin_php_gapic", srcs = [":oslogin_proto_with_info"], grpc_service_config = "oslogin_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "oslogin_v1.yaml", transport = "grpc+rest", - deps = [ - ":oslogin_php_grpc", - ":oslogin_php_proto", - ] + _PHP_SUBPACKAGE_DEPS, + deps = [":oslogin_php_proto"] + _PHP_SUBPACKAGE_DEPS, ) # Open Source Packages @@ -250,7 +241,6 @@ php_gapic_assembly_pkg( name = "google-cloud-oslogin-v1-php", deps = [ ":oslogin_php_gapic", - ":oslogin_php_grpc", ":oslogin_php_proto", ] + _PHP_SUBPACKAGE_DEPS, ) @@ -327,6 +317,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Use OS Login to manage SSH access to your instances using IAM without having to create and manage individual SSH keys. OS Login maintains a consistent Linux user identity across VM instances and is the recommended way to manage many users across multiple instances or projects.", ruby_cloud_title = "Cloud OS Login V1", service_yaml = "oslogin_v1.yaml", + transport = "grpc+rest", deps = [ ":oslogin_ruby_grpc", ":oslogin_ruby_proto", diff --git a/third_party/googleapis/google/cloud/oslogin/v1/oslogin.proto b/third_party/googleapis/google/cloud/oslogin/v1/oslogin.proto index 0b4f57025..7a63ca6db 100644 --- a/third_party/googleapis/google/cloud/oslogin/v1/oslogin.proto +++ b/third_party/googleapis/google/cloud/oslogin/v1/oslogin.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -216,6 +216,11 @@ message ImportSshPublicKeyRequest { // The project ID of the Google Cloud Platform project. string project_id = 3; + + // Optional. The regions to which to assert that the key was written. + // If unspecified, defaults to all regions. + // Regions are listed at https://cloud.google.com/about/locations#region. + repeated string regions = 5 [(google.api.field_behavior) = OPTIONAL]; } // A response message for importing an SSH public key. diff --git a/third_party/googleapis/google/cloud/oslogin/v1/oslogin_gapic.yaml b/third_party/googleapis/google/cloud/oslogin/v1/oslogin_gapic.yaml deleted file mode 100644 index 7a7602a43..000000000 --- a/third_party/googleapis/google/cloud/oslogin/v1/oslogin_gapic.yaml +++ /dev/null @@ -1,6 +0,0 @@ -type: com.google.api.codegen.ConfigProto -config_schema_version: 2.0.0 -# The settings of generated code in a specific language. -language_settings: - php: - package_name: Google\Cloud\OsLogin\V1 diff --git a/third_party/googleapis/google/cloud/oslogin/v1/oslogin_v1.yaml b/third_party/googleapis/google/cloud/oslogin/v1/oslogin_v1.yaml index 3c150c0fe..04e7172d9 100644 --- a/third_party/googleapis/google/cloud/oslogin/v1/oslogin_v1.yaml +++ b/third_party/googleapis/google/cloud/oslogin/v1/oslogin_v1.yaml @@ -9,11 +9,6 @@ apis: documentation: summary: You can use OS Login to manage access to your VM instances using IAM roles. -backend: - rules: - - selector: 'google.cloud.oslogin.v1.OsLoginService.*' - deadline: 10.0 - authentication: rules: - selector: 'google.cloud.oslogin.v1.OsLoginService.*' diff --git a/third_party/googleapis/google/cloud/oslogin/v1beta/BUILD.bazel b/third_party/googleapis/google/cloud/oslogin/v1beta/BUILD.bazel index 40f9d8d74..781c31a90 100644 --- a/third_party/googleapis/google/cloud/oslogin/v1beta/BUILD.bazel +++ b/third_party/googleapis/google/cloud/oslogin/v1beta/BUILD.bazel @@ -71,6 +71,7 @@ java_gapic_library( srcs = [":oslogin_proto_with_info"], grpc_service_config = "oslogin_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "oslogin_v1beta.yaml", test_deps = [":oslogin_java_grpc"], transport = "grpc+rest", deps = [ @@ -107,7 +108,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -136,18 +136,12 @@ go_gapic_library( ], ) -go_test( - name = "oslogin_go_gapic_test", - srcs = [":oslogin_go_gapic_srcjar_test"], - embed = [":oslogin_go_gapic"], - importpath = "cloud.google.com/go/oslogin/apiv1beta", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-oslogin-v1beta-go", deps = [ ":oslogin_go_gapic", + ":oslogin_go_gapic_srcjar-snippets.srcjar", ":oslogin_go_gapic_srcjar-test.srcjar", ":oslogin_go_proto", "//google/cloud/oslogin/common:common_go_proto", @@ -200,13 +194,11 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) _PHP_SUBPACKAGE_DEPS = [ "//google/cloud/oslogin/common:common_php_proto", - "//google/cloud/oslogin/common:common_php_grpc", ] php_proto_library( @@ -214,12 +206,6 @@ php_proto_library( deps = [":oslogin_proto"], ) -php_grpc_library( - name = "oslogin_php_grpc", - srcs = [":oslogin_proto"], - deps = [":oslogin_php_proto"], -) - php_gapic_library( name = "oslogin_php_gapic", srcs = [":oslogin_proto_with_info"], @@ -227,10 +213,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "oslogin_v1beta.yaml", transport = "grpc+rest", - deps = [ - ":oslogin_php_grpc", - ":oslogin_php_proto", - ] + _PHP_SUBPACKAGE_DEPS, + deps = [":oslogin_php_proto"] + _PHP_SUBPACKAGE_DEPS, ) # Open Source Packages @@ -238,7 +221,6 @@ php_gapic_assembly_pkg( name = "google-cloud-oslogin-v1beta-php", deps = [ ":oslogin_php_gapic", - ":oslogin_php_grpc", ":oslogin_php_proto", ] + _PHP_SUBPACKAGE_DEPS, ) @@ -315,6 +297,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Use OS Login to manage SSH access to your instances using IAM without having to create and manage individual SSH keys. OS Login maintains a consistent Linux user identity across VM instances and is the recommended way to manage many users across multiple instances or projects.", ruby_cloud_title = "Cloud OS Login V1beta", service_yaml = "oslogin_v1beta.yaml", + transport = "grpc+rest", deps = [ ":oslogin_ruby_grpc", ":oslogin_ruby_proto", diff --git a/third_party/googleapis/google/cloud/oslogin/v1beta/oslogin.proto b/third_party/googleapis/google/cloud/oslogin/v1beta/oslogin.proto index 6154a79d4..a49b7df44 100644 --- a/third_party/googleapis/google/cloud/oslogin/v1beta/oslogin.proto +++ b/third_party/googleapis/google/cloud/oslogin/v1beta/oslogin.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -114,6 +114,20 @@ service OsLoginService { option (google.api.method_signature) = "name,ssh_public_key"; option (google.api.method_signature) = "name,ssh_public_key,update_mask"; } + + // Signs an SSH public key for a user to authenticate to an instance. + rpc SignSshPublicKey(SignSshPublicKeyRequest) + returns (SignSshPublicKeyResponse) { + option (google.api.http) = { + post: "/v1beta/{parent=users/*/projects/*/zones/*}:signSshPublicKey" + body: "*" + additional_bindings { + post: "/v1beta/{parent=users/*/projects/*/locations/*}:signSshPublicKey" + body: "*" + } + }; + option (google.api.method_signature) = "parent,ssh_public_key"; + } } // The user profile information used for logging in to a virtual machine on @@ -220,6 +234,11 @@ message ImportSshPublicKeyRequest { // The view configures whether to retrieve security keys information. LoginProfileView view = 4; + + // Optional. The regions to which to assert that the key was written. + // If unspecified, defaults to all regions. + // Regions are listed at https://cloud.google.com/about/locations#region. + repeated string regions = 5 [(google.api.field_behavior) = OPTIONAL]; } // A response message for importing an SSH public key. @@ -268,6 +287,9 @@ message SecurityKey { // The Web Authentication protocol type. WebAuthn web_authn = 4; } + + // The security key nickname explicitly set by the user. + optional string device_nickname = 5; } // Security key information specific to the U2F protocol. @@ -282,6 +304,22 @@ message WebAuthn { string rp_id = 1; } +message SignSshPublicKeyRequest { + // The SSH public key to sign. + string ssh_public_key = 1; + + // The parent project and zone for the signing request. This is needed to + // properly ensure per-organization ISS processing and potentially to provide + // for the possibility of zone-specific certificates used in the signing + // process. + string parent = 2; +} + +message SignSshPublicKeyResponse { + // The signed SSH public key to use in the SSH handshake. + string signed_ssh_public_key = 1; +} + // The login profile view limits the user content retrieved. enum LoginProfileView { // The default login profile view. The API defaults to the BASIC view. diff --git a/third_party/googleapis/google/cloud/oslogin/v1beta/oslogin_gapic.yaml b/third_party/googleapis/google/cloud/oslogin/v1beta/oslogin_gapic.yaml deleted file mode 100644 index 0572db4ed..000000000 --- a/third_party/googleapis/google/cloud/oslogin/v1beta/oslogin_gapic.yaml +++ /dev/null @@ -1,6 +0,0 @@ -type: com.google.api.codegen.ConfigProto -config_schema_version: 2.0.0 -# The settings of generated code in a specific language. -language_settings: - php: - package_name: Google\Cloud\OsLogin\V1beta diff --git a/third_party/googleapis/google/cloud/oslogin/v1beta/oslogin_v1beta.yaml b/third_party/googleapis/google/cloud/oslogin/v1beta/oslogin_v1beta.yaml index 5ec5c3606..938fe517a 100644 --- a/third_party/googleapis/google/cloud/oslogin/v1beta/oslogin_v1beta.yaml +++ b/third_party/googleapis/google/cloud/oslogin/v1beta/oslogin_v1beta.yaml @@ -9,11 +9,6 @@ apis: documentation: summary: You can use OS Login to manage access to your VM instances using IAM roles. -backend: - rules: - - selector: 'google.cloud.oslogin.v1beta.OsLoginService.*' - deadline: 10.0 - authentication: rules: - selector: 'google.cloud.oslogin.v1beta.OsLoginService.*' diff --git a/third_party/googleapis/google/cloud/paymentgateway/issuerswitch/v1/BUILD.bazel b/third_party/googleapis/google/cloud/paymentgateway/issuerswitch/v1/BUILD.bazel index 0d019a522..d5f491fcf 100644 --- a/third_party/googleapis/google/cloud/paymentgateway/issuerswitch/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/paymentgateway/issuerswitch/v1/BUILD.bazel @@ -23,6 +23,7 @@ proto_library( srcs = [ "common_fields.proto", "logs.proto", + "participants.proto", "resolutions.proto", "rules.proto", "transactions.proto", @@ -38,6 +39,7 @@ proto_library( "//google/type:latlng_proto", "//google/type:money_proto", "@com_google_protobuf//:empty_proto", + "@com_google_protobuf//:field_mask_proto", "@com_google_protobuf//:timestamp_proto", ], ) @@ -93,6 +95,8 @@ java_gapic_library( java_gapic_test( name = "issuerswitch_java_gapic_test_suite", test_classes = [ + "com.google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchParticipantsClientHttpJsonTest", + "com.google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchParticipantsClientTest", "com.google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchResolutionsClientHttpJsonTest", "com.google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchResolutionsClientTest", "com.google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchRulesClientHttpJsonTest", @@ -124,7 +128,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -160,19 +163,13 @@ go_gapic_library( ], ) -go_test( - name = "issuerswitch_go_gapic_test", - srcs = [":issuerswitch_go_gapic_srcjar_test"], - embed = [":issuerswitch_go_gapic"], - importpath = "cloud.google.com/go/paymentgateway/issuerswitch/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-paymentgateway-issuerswitch-v1-go", deps = [ ":issuerswitch_go_gapic", ":issuerswitch_go_gapic_srcjar-metadata.srcjar", + ":issuerswitch_go_gapic_srcjar-snippets.srcjar", ":issuerswitch_go_gapic_srcjar-test.srcjar", ":issuerswitch_go_proto", ], @@ -229,7 +226,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -238,21 +234,15 @@ php_proto_library( deps = [":issuerswitch_proto"], ) -php_grpc_library( - name = "issuerswitch_php_grpc", - srcs = [":issuerswitch_proto"], - deps = [":issuerswitch_php_proto"], -) - php_gapic_library( name = "issuerswitch_php_gapic", srcs = [":issuerswitch_proto_with_info"], grpc_service_config = "issuerswitch_grpc_service_config.json", + migration_mode = "PRE_MIGRATION_SURFACE_ONLY", rest_numeric_enums = False, service_yaml = "issuerswitch_v1.yaml", transport = "grpc+rest", deps = [ - ":issuerswitch_php_grpc", ":issuerswitch_php_proto", ], ) @@ -262,7 +252,6 @@ php_gapic_assembly_pkg( name = "google-cloud-paymentgateway-issuerswitch-v1-php", deps = [ ":issuerswitch_php_gapic", - ":issuerswitch_php_grpc", ":issuerswitch_php_proto", ], ) @@ -294,6 +283,7 @@ nodejs_gapic_assembly_pkg( deps = [ ":issuerswitch_nodejs_gapic", ":issuerswitch_proto", + "//google/logging/type:type_proto", ], ) @@ -326,6 +316,7 @@ ruby_cloud_gapic_library( grpc_service_config = "issuerswitch_grpc_service_config.json", rest_numeric_enums = False, service_yaml = "issuerswitch_v1.yaml", + transport = "grpc+rest", deps = [ ":issuerswitch_ruby_grpc", ":issuerswitch_ruby_proto", @@ -355,6 +346,7 @@ load( csharp_proto_library( name = "issuerswitch_csharp_proto", + extra_opts = [], deps = [":issuerswitch_proto"], ) diff --git a/third_party/googleapis/google/cloud/paymentgateway/issuerswitch/v1/common_fields.proto b/third_party/googleapis/google/cloud/paymentgateway/issuerswitch/v1/common_fields.proto index cb8a25aa6..12b535b79 100644 --- a/third_party/googleapis/google/cloud/paymentgateway/issuerswitch/v1/common_fields.proto +++ b/third_party/googleapis/google/cloud/paymentgateway/issuerswitch/v1/common_fields.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -34,8 +34,8 @@ message AccountReference { // IFSC of the account's bank branch. string ifsc = 1; - // Type of account. Examples include SAVINGS, CURRENT, etc. - string account_type = 2; + // Output only. Type of account. Examples include SAVINGS, CURRENT, etc. + string account_type = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Unique number for an account in a bank and branch. string account_number = 3; @@ -75,7 +75,8 @@ message SettlementParticipant { MerchantInfo merchant_info = 2; // Output only. The mobile number of the participant. - string mobile = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + string mobile = 3 + [deprecated = true, (google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Additional details about the payment settlement. Values will // be populated depending on whether the settlement transaction succeeded or @@ -143,6 +144,9 @@ message Participant { // Output only. The device info of the participant. DeviceDetails device_details = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The mobile number of the participant. + string mobile_number = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; } // A merchant entity participating in a payment settlement transaction. @@ -321,6 +325,9 @@ enum ApiType { // Voucher confirmation API. Maps to UPI's `VoucherConfirmation` API. VOUCHER_CONFIRMATION = 14; + + // Activation API. Maps to UPI's `Activation` API. + ACTIVATION = 15; } // The type of a transaction. Every transaction processed by the issuer switch @@ -429,6 +436,14 @@ enum TransactionType { // Validate customer transaction type. This is associated with // `VALIDATE_CUSTOMER` API type. Maps to UPI's `ValCust` type. TRANSACTION_TYPE_VALIDATE_CUSTOMER = 25; + + // Activation international transaction type. This is associated with + // 'ACTIVATION' API type. Maps to UPI's `International` type. + TRANSACTION_TYPE_ACTIVATION_INTERNATIONAL = 26; + + // Activation UPI services transaction type. This is associated with + // 'ACTIVATION' API type. Maps to UPI's `UPI Services` type. + TRANSACTION_TYPE_ACTIVATION_UPI_SERVICES = 27; } // XmlApiType specifies the API type of the request or response as specified in @@ -532,4 +547,10 @@ enum XmlApiType { // Transaction confirmation response API type. Maps to UPI's // `RespTxnConfirmation` API. RESP_TXN_CONFIRMATION = 30; + + // Activation request API type. Maps to UPI's `ReqActivation` API. + REQ_ACTIVATION = 31; + + // Activation response API type. Maps to UPI's `RespActivation` API. + RESP_ACTIVATION = 32; } diff --git a/third_party/googleapis/google/cloud/paymentgateway/issuerswitch/v1/issuerswitch_grpc_service_config.json b/third_party/googleapis/google/cloud/paymentgateway/issuerswitch/v1/issuerswitch_grpc_service_config.json index 74eac1aab..6b0cf4d96 100644 --- a/third_party/googleapis/google/cloud/paymentgateway/issuerswitch/v1/issuerswitch_grpc_service_config.json +++ b/third_party/googleapis/google/cloud/paymentgateway/issuerswitch/v1/issuerswitch_grpc_service_config.json @@ -10,6 +10,15 @@ }, { "service": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchResolutions" + }, + { + "service": "google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchParticipants" + }, + { + "service": "google.cloud.paymentgateway.issuerswitch.accountmanager.v1.AccountManagerTransactions" + }, + { + "service": "google.cloud.paymentgateway.issuerswitch.accountmanager.v1.ManagedAccounts" } ], "timeout": "60s", diff --git a/third_party/googleapis/google/cloud/paymentgateway/issuerswitch/v1/issuerswitch_v1.yaml b/third_party/googleapis/google/cloud/paymentgateway/issuerswitch/v1/issuerswitch_v1.yaml index c60169f81..eada14423 100644 --- a/third_party/googleapis/google/cloud/paymentgateway/issuerswitch/v1/issuerswitch_v1.yaml +++ b/third_party/googleapis/google/cloud/paymentgateway/issuerswitch/v1/issuerswitch_v1.yaml @@ -4,6 +4,7 @@ name: issuerswitch.googleapis.com title: Issuer switch API apis: +- name: google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchParticipants - name: google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchResolutions - name: google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchRules - name: google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchTransactions @@ -35,6 +36,10 @@ http: authentication: rules: + - selector: 'google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchParticipants.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform - selector: 'google.cloud.paymentgateway.issuerswitch.v1.IssuerSwitchResolutions.*' oauth: canonical_scopes: |- diff --git a/third_party/googleapis/google/cloud/paymentgateway/issuerswitch/v1/logs.proto b/third_party/googleapis/google/cloud/paymentgateway/issuerswitch/v1/logs.proto index 888477c0a..6a8640032 100644 --- a/third_party/googleapis/google/cloud/paymentgateway/issuerswitch/v1/logs.proto +++ b/third_party/googleapis/google/cloud/paymentgateway/issuerswitch/v1/logs.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/paymentgateway/issuerswitch/v1/resolutions.proto b/third_party/googleapis/google/cloud/paymentgateway/issuerswitch/v1/resolutions.proto index fdb30b2f8..dc295890f 100644 --- a/third_party/googleapis/google/cloud/paymentgateway/issuerswitch/v1/resolutions.proto +++ b/third_party/googleapis/google/cloud/paymentgateway/issuerswitch/v1/resolutions.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/paymentgateway/issuerswitch/v1/rules.proto b/third_party/googleapis/google/cloud/paymentgateway/issuerswitch/v1/rules.proto index f248dc90c..936838673 100644 --- a/third_party/googleapis/google/cloud/paymentgateway/issuerswitch/v1/rules.proto +++ b/third_party/googleapis/google/cloud/paymentgateway/issuerswitch/v1/rules.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/paymentgateway/issuerswitch/v1/transactions.proto b/third_party/googleapis/google/cloud/paymentgateway/issuerswitch/v1/transactions.proto index 06ebfeaa2..8cf96446f 100644 --- a/third_party/googleapis/google/cloud/paymentgateway/issuerswitch/v1/transactions.proto +++ b/third_party/googleapis/google/cloud/paymentgateway/issuerswitch/v1/transactions.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -35,6 +35,7 @@ option java_package = "com.google.cloud.paymentgateway.issuerswitch.v1"; option php_namespace = "Google\\Cloud\\PaymentGateway\\IssuerSwitch\\V1"; option ruby_package = "Google::Cloud::PaymentGateway::IssuerSwitch::V1"; +// Fetch the issuer switch participant. // Lists and exports transactions processed by the issuer switch. service IssuerSwitchTransactions { option (google.api.default_host) = "issuerswitch.googleapis.com"; @@ -281,6 +282,19 @@ service IssuerSwitchTransactions { // * **Max Length** - 9 characters // * **Description** - Type of the payee's device. This will be one of // 'MOB', 'INET', 'USDC/USDB', 'POS'. + // 1. `ReferenceID` + // * **Min Length** - 0 characters + // * **Max Length** - 35 characters + // * **Description** - Consumer reference number to identify loan number, + // order id etc. + // 1. `ReferenceURI` + // * **Min Length** - 1 characters + // * **Max Length** - 35 characters + // * **Description** - URL for the transaction. + // 1. `ReferenceCategory` + // * **Min Length** - 2 characters + // * **Max Length** - 2 characters + // * **Description** - Reference category. rpc ExportFinancialTransactions(ExportFinancialTransactionsRequest) returns (google.longrunning.Operation) { option (google.api.http) = { @@ -410,6 +424,20 @@ service IssuerSwitchTransactions { // * **Min Length** - 12 characters // * **Max Length** - 12 characters // * **Description** - Mobile number of the payer. + // 1. `PayerIFSC` + // * **Min Length** - 11 characters + // * **Max Length** - 11 characters + // * **Description** - IFSC of the payer's bank account. + // 1. `PayerAccountNumber` + // * **Min Length** - 1 characters + // * **Max Length** - 30 characters + // * **Description** - Payer's bank account number. + // 1. `PayerAccountType` + // * **Min Length** - 3 characters + // * **Max Length** - 7 characters + // * **Description** - Payer's bank account type. This will be one of + // `SAVINGS`, `DEFAULT`, `CURRENT`, `NRE`, `NRO`, `PPIWALLET`, + // `BANKWALLET`, `CREDIT`, `SOD`, or `UOD`. // 1. `PayeeVPA` // * **Min Length** - 3 characters // * **Max Length** - 255 characters @@ -418,11 +446,35 @@ service IssuerSwitchTransactions { // * **Min Length** - 12 characters // * **Max Length** - 12 characters // * **Description** - Mobile number of the payee. + // 1. `PayeeIFSC` + // * **Min Length** - 11 characters + // * **Max Length** - 11 characters + // * **Description** - IFSC of the payee's bank account. + // 1. `PayeeAccountNumber` + // * **Min Length** - 1 characters + // * **Max Length** - 30 characters + // * **Description** - Payee's bank account number. + // 1. `PayeeAccountType` + // * **Min Length** - 3 characters + // * **Max Length** - 10 characters + // * **Description** - Payee's bank account type. This will be one of + // `SAVINGS`, `DEFAULT`, `CURRENT`, `NRE`, `NRO`, `PPIWALLET`, + // `BANKWALLET`, `CREDIT`, `SOD`, or `UOD`. // 1. `PayeeMerchantID` // * **Min Length** - 1 characters // * **Max Length** - 30 characters // * **Description** - Payee's merchant ID, only if the payee is a // merchant + // 1. `PayeeMerchantName` + // * **Min Length** - 1 characters + // * **Max Length** - 99 characters + // * **Description** - Payee's merchant name, only if the payee is a + // merchant. + // 1. `PayeeMCC` + // * **Min Length** - 4 characters + // * **Max Length** - 4 characters + // * **Description** - Payee's Merchant Category Code (MCC), only if the + // payee is a merchant. // 1. `Amount` // * **Description** - Amount specified in the mandate. // 1. `RecurrencePattern` @@ -448,12 +500,12 @@ service IssuerSwitchTransactions { // 1. `StartDate` // * **Min Length** - 10 characters // * **Max Length** - 10 characters - // * **Description** - The start date of the mandate in `YYYY-MM-DD` + // * **Description** - The start date of the mandate in `DD-MM-YYYY` // format. // 1. `EndDate` // * **Min Length** - 10 characters // * **Max Length** - 10 characters - // * **Description** - The end date of the mandate in `YYYY-MM-DD` format. + // * **Description** - The end date of the mandate in `DD-MM-YYYY` format. // 1. `AmountRuleType` // * **Description** - The amount rule of the mandate. The value will be // of the @@ -495,6 +547,99 @@ service IssuerSwitchTransactions { // * **Description** - Error code as per the UPI specification. The issuer // switch maps the ErrorCode to an appropriate error code that complies // with the UPI specification. + // 1. `PayerDeviceInfoTypeAppName` + // * **Min Length** - 0 characters + // * **Max Length** - 20 characters + // * **Description** - Payment application name on the payer's device. + // 1. `PayerDeviceInfoTypeCapability` + // * **Min Length** - 0 characters + // * **Max Length** - 99 characters + // * **Description** - Capability of the payer's device. + // 1. `PayerDeviceInfoTypeGeoCode` + // * **Min Length** - 0 characters + // * **Max Length** - 15 characters + // * **Description** - Geo code of the payer's device. This will include + // floating point values for latitude and longitude (separated by colon). + // 1. `PayerDeviceInfoTypeID` + // * **Min Length** - 0 characters + // * **Max Length** - 35 characters + // * **Description** - Device ID of the payer's device. + // 1. `PayerDeviceInfoTypeIP` + // * **Min Length** - 0 characters + // * **Max Length** - 39 characters + // * **Description** - IP address of the payer's device. + // 1. `PayerDeviceInfoTypeLocation` + // * **Min Length** - 0 characters + // * **Max Length** - 40 characters + // * **Description** - Coarse location of the payer's device. + // 1. `PayerDeviceInfoTypeOS` + // * **Min Length** - 0 characters + // * **Max Length** - 20 characters + // * **Description** - Operating system on the payer's device. + // 1. `PayerDeviceInfoTypeTelecomProvider` + // * **Min Length** - 0 characters + // * **Max Length** - 99 characters + // * **Description** - Telecom provider for the payer's device. + // 1. `PayerDeviceInfoTypeDeviceType` + // * **Min Length** - 0 characters + // * **Max Length** - 9 characters + // * **Description** - Type of the payer's device. This will be one of + // 'MOB', 'INET', 'USDC/USDB', 'POS'. + // 1. `PayeeDeviceInfoTypeAppName` + // * **Min Length** - 0 characters + // * **Max Length** - 20 characters + // * **Description** - Payment application name on the payee's device. + // 1. `PayeeDeviceInfoTypeCapability` + // * **Min Length** - 0 characters + // * **Max Length** - 99 characters + // * **Description** - Capability of the payee's device. + // 1. `PayeeDeviceInfoTypeGeoCode` + // * **Min Length** - 0 characters + // * **Max Length** - 15 characters + // * **Description** - Geo code of the payee's device. This will include + // floating point values for latitude and longitude (separated by colon). + // 1. `PayeeDeviceInfoTypeID` + // * **Min Length** - 0 characters + // * **Max Length** - 35 characters + // * **Description** - Device ID of the payee's device. + // 1. `PayeeDeviceInfoTypeIP` + // * **Min Length** - 0 characters + // * **Max Length** - 39 characters + // * **Description** - IP address of the payee's device. + // 1. `PayeeDeviceInfoTypeLocation` + // * **Min Length** - 0 characters + // * **Max Length** - 40 characters + // * **Description** - Coarse location of the payee's device. + // 1. `PayeeDeviceInfoTypeOS` + // * **Min Length** - 0 characters + // * **Max Length** - 20 characters + // * **Description** - Operating system on the payee's device. + // 1. `PayeeDeviceInfoTypeTelecomProvider` + // * **Min Length** - 0 characters + // * **Max Length** - 99 characters + // * **Description** - Telecom provider for the payee's device. + // 1. `PayeeDeviceInfoTypeDeviceType` + // * **Min Length** - 0 characters + // * **Max Length** - 9 characters + // * **Description** - Type of the payee's device. This will be one of + // `MOB`, `INET`, `USDC/USDB`, `POS`. + // 1. `ReferenceID` + // * **Min Length** - 0 characters + // * **Max Length** - 35 characters + // * **Description** - Consumer reference number to identify loan number, + // order id etc. + // 1. `ReferenceURI` + // * **Min Length** - 1 characters + // * **Max Length** - 35 characters + // * **Description** - URL for the transaction. + // 1. `ReferenceCategory` + // * **Min Length** - 2 characters + // * **Max Length** - 2 characters + // * **Description** - Reference category. + // 1. `MandateName` + // * **Min Length** - 1 characters + // * **Max Length** - 255 characters + // * **Description** - The mandate's name. rpc ExportMandateTransactions(ExportMandateTransactionsRequest) returns (google.longrunning.Operation) { option (google.api.http) = { @@ -710,6 +855,11 @@ message TransactionInfo { // with the transaction type as `TRANSACTION_TYPE_CREDIT` when the payment // was initiated in response to a refund. REFUND = 6; + + // Credit subtype. This is used in a `SETTLE_PAYMENT` API type transaction, + // with the transaction type as `TRANSACTION_TYPE_REVERSAL` when the + // original payment was a credit request. + CREDIT = 7; } // Common metadata about an API transaction. @@ -740,6 +890,9 @@ message TransactionInfo { // Output only. The purpose code of this API transaction. In UPI, the values // are as defined by the UPI API specification. string purpose_code = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The reference category of this API transaction. + string reference_category = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; } // All details about any error in the processing of an API transaction. @@ -987,59 +1140,49 @@ message MandateTransaction { // Output only. This maps to Unique Mandate Number (UMN) in UPI specification. string unique_mandate_number = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The virtual payment address (VPA) of the payer. - string payer_vpa = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The virtual payment address (VPA) of the payee. - string payee_vpa = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. A unique identifier for merchant. - string payee_merchant_id = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The mobile number of the payer consisting of total twelve - // digits where first two digits of country code (for eg. 91 for India) and - // then ten digits mobile number. For eg. 911234567890 - string payer_mobile_number = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The payer in the transaction. + SettlementParticipant payer = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The mobile number of the payer consisting of total twelve - // digits where first two digits of country code (for eg. 91 for India) and - // then ten digits mobile number. For eg. 911234567890 - string payee_mobile_number = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The payee in the transaction. + SettlementParticipant payee = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The type of recurrence pattern of the mandate. - RecurrencePatternType recurrence_pattern = 9 + RecurrencePatternType recurrence_pattern = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The type of recurrence rule of the mandate. - RecurrenceRuleType recurrence_rule_type = 10 + RecurrenceRuleType recurrence_rule_type = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The recurrence rule value of the mandate. This is a value from // 1 to 31. - int32 recurrence_rule_value = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; + int32 recurrence_rule_value = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The start date of the mandate. - google.type.Date start_date = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.type.Date start_date = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The end date of the mandate. - google.type.Date end_date = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.type.Date end_date = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. If true, this specifies mandate can be revoked. - bool revokable = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; + bool revokable = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The amount of the mandate. - double amount = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; + double amount = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The amount rule type of the mandate. - AmountRuleType amount_rule = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; + AmountRuleType amount_rule = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The Block funds reference generated by the bank, this will be // available only when Recurrence is ONETIME. - string approval_reference = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; + string approval_reference = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. If true, this specifies the mandate transaction requested // funds to be blocked. - bool block_funds = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; + bool block_funds = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The mandate's name. + string mandate_name = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; } // A complaint API transaction processed by the issuer switch. In @@ -1118,21 +1261,10 @@ message ListMetadataTransactionsRequest { // values. Allowed comparison operators: `=`. // * `transactionID` - The UPI transaction ID of the metadata transaction. // Allowed comparison operators: `=`. - // * `originVPA` - The VPA of the originator of a metadata transaction. - // Allowed comparison operators: `=`. // * `createTime` - The time at which the transaction was created // (received) by the issuer switch. The value should be in // the format `YYYY-MM-DDTHH:MM:SSZ`. Allowed comparison operators: `>`, // `<`. - // * `state` - The state of the transaction. Must be one of - // [TransactionInfo.State][google.cloud.paymentgateway.issuerswitch.v1.TransactionInfo.State] - // values. Allowed comparison operators: `=`. - // * `errorCode` - Use this filter to list financial transactions which - // have failed a particular error code. Allowed comparison operators: - // `=`. - // * `adapterRequestID` - Adapter request ID used when invoking the Bank or - // Card Adapter API for fulfilling a transaction request. Allowed comparison - // operators: `=`. // // You can combine multiple expressions by enclosing each expression in // parentheses. Expressions are combined with AND logic. No other logical @@ -1186,12 +1318,6 @@ message ListFinancialTransactionsRequest { // The following fields in the `FinancialTransaction` are eligible for // filtering: // - // * `transactionType` - The transaction type of the financial - // transaction. Must be one of - // [TransactionType][google.cloud.paymentgateway.issuerswitch.v1.TransactionType] - // values. For financial transactions, only valid transaction types are - // `TRANSACTION_TYPE_CREDIT`, `TRANSACTION_TYPE_DEBIT` and - // `TRANSACTION_TYPE_REVERSAL`. Allowed comparison operators: `=`. // * `transactionID` - The UPI transaction ID of the financial // transaction. Allowed comparison operators: `=`. // * `RRN` - The retrieval reference number of the transaction. Allowed @@ -1204,20 +1330,10 @@ message ListFinancialTransactionsRequest { // transaction. Allowed comparison operators: `=`. // * `payeeMobileNumber` - The mobile number of the payee in a financial // transaction. Allowed comparison operators: `=`. - // * `payeeMerchantId` - The merchant id of the payee in a financial - // transaction. Allowed comparison operators: `=`. // * `createTime` - The time at which the transaction was created // (received) by the issuer switch. The value should be in // the format `YYYY-MM-DDTHH:MM:SSZ`. Allowed comparison operators: `>`, // `<`. - // * `state` - The state of the transaction. Must be one of - // [TransactionInfo.State][google.cloud.paymentgateway.issuerswitch.v1.TransactionInfo.State] - // values. Allowed comparison operators: `=`. - // * `errorCode` - Use this filter to list financial transactions which - // have failed a particular error code. Allowed comparison operators: `=`. - // * `adapterRequestID` - Adapter request ID used when invoking the Bank or - // Card Adapter API for fulfilling a transaction request. Allowed comparison - // operators: `=`. // // You can combine multiple expressions by enclosing each expression in // parentheses. Expressions are combined with AND logic. No other logical @@ -1225,12 +1341,11 @@ message ListFinancialTransactionsRequest { // // Here are a few examples: // - // * `transactionType = CREDIT` - The transaction type is _CREDIT_. - // * `state = SUCCEEDED` - The transaction's state is _SUCCEEDED_. - // * `payerVpa = example@okbank` - The VPA of the payer is the string - // _example@okbank_. - // * `(transactionType = DEBIT) AND (createTime < "2021-08-15T14:50:00Z")` - // - The transaction type is _DEBIT_ and the transaction was received + // * `rrn = 123456789123` - The RRN is _123456789123_. + // * `payerVpa = example@goog` - The VPA of the payer is the string + // _example@goog_. + // * `(payeeVpa = example@goog) AND (createTime < "2021-08-15T14:50:00Z")` + // - The VPA of the payee is _example@goog_ and the transaction was received // before _2021-08-15 14:50:00 UTC_. // * `createTime > "2021-08-15T14:50:00Z" AND createTime < // "2021-08-16T14:50:00Z"` - The transaction was received between @@ -1286,37 +1401,10 @@ message ListMandateTransactionsRequest { // values. For mandate transactions, only valid transaction types are // `TRANSACTION_TYPE_CREATE`, `TRANSACTION_TYPE_REVOKE` and // `TRANSACTION_TYPE_UPDATE`. Allowed comparison operators: `=`. - // * `payerVPA` - The VPA of the payer in a mandate transaction. Allowed - // comparison operators: `=`. - // * `payeeVPA` - The VPA of the payee in a mandate transaction. Allowed - // comparison operators: `=`. - // * `payeeMerchantID` - The merchant ID of the payee in a mandate - // transaction. Allowed comparison operators: `=`. - // * `payerMobileNumber` - The mobile number of the payer in a mandate - // transaction. Allowed comparison operators: `=`. - // * `payeeMobileNumber` - The mobile number of the payee in a mandate - // transaction. Allowed comparison operators: `=`. // * `createTime` - The time at which the transaction was created // (received) by the issuer switch. The value should be in // the format `YYYY-MM-DDTHH:MM:SSZ`. Allowed comparison // operators: `>`, `<`. - // * `state` - The state of the transaction. Must be one of - // [TransactionInfo.State][google.cloud.paymentgateway.issuerswitch.v1.TransactionInfo.State] - // values. Allowed comparison operators: `=`. - // * `recurrencePattern` - The recurrence pattern of the mandate. Must be - // one of - // [MandateTransaction.RecurrencePatternType][google.cloud.paymentgateway.issuerswitch.v1.MandateTransaction.RecurrencePatternType] - // values. Allowed comparison operators: `=`. - // * `startDate` - The start date of the mandate. The value should be in - // the format `YYYY-MM-DD`. Allowed comparison operators: `<` and `>`. - // * `endDate` - The end date of the mandate. The value should be in - // the format `YYYY-MM-DD`. Allowed comparison operators: `<` and `>`. - // * `errorCode` - Use this filter to list mandate transactions which - // have failed a particular error code. Allowed comparison - // operators: `=`. - // * `adapterRequestID` - Adapter request ID used when invoking the Bank or - // Card Adapter API for fulfilling a transaction request. Allowed comparison - // operators: `=`. // You can combine multiple expressions by enclosing each expression in // parentheses. Expressions are combined with AND logic. No other logical // operators are supported. diff --git a/third_party/googleapis/google/cloud/phishingprotection/BUILD.bazel b/third_party/googleapis/google/cloud/phishingprotection/BUILD.bazel index bba72d808..34590ef83 100644 --- a/third_party/googleapis/google/cloud/phishingprotection/BUILD.bazel +++ b/third_party/googleapis/google/cloud/phishingprotection/BUILD.bazel @@ -22,7 +22,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-phishing_protection", "ruby-cloud-env-prefix=PHISHING_PROTECTION", - "ruby-cloud-wrapper-of=v1beta1:0.0", + "ruby-cloud-wrapper-of=v1beta1:0.8", "ruby-cloud-product-url=https://cloud.google.com/phishing-protection", "ruby-cloud-api-id=phishingprotection.googleapis.com", "ruby-cloud-api-shortname=phishingprotection", @@ -31,6 +31,7 @@ ruby_cloud_gapic_library( ], ruby_cloud_description = "Phishing Protection helps prevent users from accessing phishing sites by identifying various signals associated with malicious content, including the use of your brand assets, classifying malicious content that uses your brand and reporting the unsafe URLs to Google Safe Browsing.", ruby_cloud_title = "Phishing Protection", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/phishingprotection/v1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/phishingprotection/v1beta1/BUILD.bazel index 0441e1347..fa63ab39a 100644 --- a/third_party/googleapis/google/cloud/phishingprotection/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/phishingprotection/v1beta1/BUILD.bazel @@ -59,6 +59,7 @@ java_gapic_library( gapic_yaml = "phishingprotection_gapic.yaml", grpc_service_config = "phishingprotection_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "phishingprotection_v1beta1.yaml", test_deps = [ ":phishingprotection_java_grpc", ], @@ -98,7 +99,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -126,18 +126,12 @@ go_gapic_library( ], ) -go_test( - name = "phishingprotection_go_gapic_test", - srcs = [":phishingprotection_go_gapic_srcjar_test"], - embed = [":phishingprotection_go_gapic"], - importpath = "cloud.google.com/go/phishingprotection/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-phishingprotection-v1beta1-go", deps = [ ":phishingprotection_go_gapic", + ":phishingprotection_go_gapic_srcjar-snippets.srcjar", ":phishingprotection_go_gapic_srcjar-test.srcjar", ":phishingprotection_go_proto", ], @@ -189,7 +183,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -198,12 +191,6 @@ php_proto_library( deps = [":phishingprotection_proto"], ) -php_grpc_library( - name = "phishingprotection_php_grpc", - srcs = [":phishingprotection_proto"], - deps = [":phishingprotection_php_proto"], -) - php_gapic_library( name = "phishingprotection_php_gapic", srcs = [":phishingprotection_proto_with_info"], @@ -211,10 +198,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "phishingprotection_v1beta1.yaml", transport = "grpc+rest", - deps = [ - ":phishingprotection_php_grpc", - ":phishingprotection_php_proto", - ], + deps = [":phishingprotection_php_proto"], ) # Open Source Packages @@ -222,7 +206,6 @@ php_gapic_assembly_pkg( name = "google-cloud-phishingprotection-v1beta1-php", deps = [ ":phishingprotection_php_gapic", - ":phishingprotection_php_grpc", ":phishingprotection_php_proto", ], ) @@ -295,6 +278,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Phishing Protection helps prevent users from accessing phishing sites by identifying various signals associated with malicious content, including the use of your brand assets, classifying malicious content that uses your brand and reporting the unsafe URLs to Google Safe Browsing.", ruby_cloud_title = "Phishing Protection V1beta1", service_yaml = "phishingprotection_v1beta1.yaml", + transport = "grpc+rest", deps = [ ":phishingprotection_ruby_grpc", ":phishingprotection_ruby_proto", diff --git a/third_party/googleapis/google/cloud/policytroubleshooter/BUILD.bazel b/third_party/googleapis/google/cloud/policytroubleshooter/BUILD.bazel index df3ff0e49..64817d80c 100644 --- a/third_party/googleapis/google/cloud/policytroubleshooter/BUILD.bazel +++ b/third_party/googleapis/google/cloud/policytroubleshooter/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-policy_troubleshooter", "ruby-cloud-env-prefix=POLICY_TROUBLESHOOTER", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.10", "ruby-cloud-product-url=https://cloud.google.com/iam/docs/troubleshooting-access", "ruby-cloud-api-id=policytroubleshooter.googleapis.com", "ruby-cloud-api-shortname=policytroubleshooter", ], ruby_cloud_description = "Policy Troubleshooter makes it easier to understand why a user has access to a resource or doesn't have permission to call an API. Given an email, resource, and permission, Policy Troubleshooter will examine all IAM policies that apply to the resource. It then reveals whether the member's roles include the permission on that resource and, if so, which policies bind the member to those roles.", ruby_cloud_title = "IAM Policy Troubleshooter", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/policytroubleshooter/v1/BUILD.bazel b/third_party/googleapis/google/cloud/policytroubleshooter/v1/BUILD.bazel index afea974e0..2f5e004d5 100644 --- a/third_party/googleapis/google/cloud/policytroubleshooter/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/policytroubleshooter/v1/BUILD.bazel @@ -29,6 +29,7 @@ proto_library( "//google/api:client_proto", "//google/api:field_behavior_proto", "//google/iam/v1:policy_proto", + "//google/rpc:status_proto", "//google/type:expr_proto", ], ) @@ -67,15 +68,18 @@ java_grpc_library( java_gapic_library( name = "policytroubleshooter_java_gapic", srcs = [":policytroubleshooter_proto_with_info"], + gapic_yaml = None, grpc_service_config = "checker_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "policytroubleshooter_v1.yaml", test_deps = [ - ":policytroubleshooter_java_grpc", "//google/iam/v1:iam_java_grpc", + ":policytroubleshooter_java_grpc", ], transport = "grpc+rest", deps = [ ":policytroubleshooter_java_proto", + "//google/api:api_java_proto", "//google/iam/v1:iam_java_proto", ], ) @@ -110,7 +114,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -121,6 +124,7 @@ go_proto_library( deps = [ "//google/api:annotations_go_proto", "//google/iam/v1:iam_go_proto", + "//google/rpc:status_go_proto", "//google/type:expr_go_proto", ], ) @@ -141,18 +145,13 @@ go_gapic_library( ], ) -go_test( - name = "policytroubleshooter_go_gapic_test", - srcs = [":policytroubleshooter_go_gapic_srcjar_test"], - embed = [":policytroubleshooter_go_gapic"], - importpath = "cloud.google.com/go/policytroubleshooter/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-policytroubleshooter-v1-go", deps = [ ":policytroubleshooter_go_gapic", + ":policytroubleshooter_go_gapic_srcjar-metadata.srcjar", + ":policytroubleshooter_go_gapic_srcjar-snippets.srcjar", ":policytroubleshooter_go_gapic_srcjar-test.srcjar", ":policytroubleshooter_go_proto", ], @@ -206,7 +205,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -215,21 +213,15 @@ php_proto_library( deps = [":policytroubleshooter_proto"], ) -php_grpc_library( - name = "policytroubleshooter_php_grpc", - srcs = [":policytroubleshooter_proto"], - deps = [":policytroubleshooter_php_proto"], -) - php_gapic_library( name = "policytroubleshooter_php_gapic", srcs = [":policytroubleshooter_proto_with_info"], grpc_service_config = "checker_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "policytroubleshooter_v1.yaml", transport = "grpc+rest", deps = [ - ":policytroubleshooter_php_grpc", ":policytroubleshooter_php_proto", ], ) @@ -239,7 +231,6 @@ php_gapic_assembly_pkg( name = "google-cloud-policytroubleshooter-v1-php", deps = [ ":policytroubleshooter_php_gapic", - ":policytroubleshooter_php_grpc", ":policytroubleshooter_php_proto", ], ) @@ -311,6 +302,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Policy Troubleshooter makes it easier to understand why a user has access to a resource or doesn't have permission to call an API. Given an email, resource, and permission, Policy Troubleshooter will examine all IAM policies that apply to the resource. It then reveals whether the member's roles include the permission on that resource and, if so, which policies bind the member to those roles.", ruby_cloud_title = "IAM Policy Troubleshooter V1", service_yaml = "policytroubleshooter_v1.yaml", + transport = "grpc+rest", deps = [ ":policytroubleshooter_ruby_grpc", ":policytroubleshooter_ruby_proto", @@ -340,6 +332,7 @@ load( csharp_proto_library( name = "policytroubleshooter_csharp_proto", + extra_opts = [], deps = [":policytroubleshooter_proto"], ) diff --git a/third_party/googleapis/google/cloud/policytroubleshooter/v1/checker.proto b/third_party/googleapis/google/cloud/policytroubleshooter/v1/checker.proto index bd6d75587..ebefb7b6a 100644 --- a/third_party/googleapis/google/cloud/policytroubleshooter/v1/checker.proto +++ b/third_party/googleapis/google/cloud/policytroubleshooter/v1/checker.proto @@ -1,4 +1,4 @@ -// Copyright 2019 Google LLC. +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,15 +11,16 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -// syntax = "proto3"; package google.cloud.policytroubleshooter.v1; import public "google/cloud/policytroubleshooter/v1/explanations.proto"; + import "google/api/annotations.proto"; import "google/api/client.proto"; +import "google/rpc/status.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.PolicyTroubleshooter.V1"; @@ -35,11 +36,14 @@ option ruby_package = "Google::Cloud::PolicyTroubleshooter::V1"; // This service helps you troubleshoot access issues for Google Cloud resources. service IamChecker { option (google.api.default_host) = "policytroubleshooter.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; - // Checks whether a member has a specific permission for a specific resource, - // and explains why the member does or does not have that permission. - rpc TroubleshootIamPolicy(TroubleshootIamPolicyRequest) returns (TroubleshootIamPolicyResponse) { + // Checks whether a principal has a specific permission for a specific + // resource, and explains why the principal does or does not have that + // permission. + rpc TroubleshootIamPolicy(TroubleshootIamPolicyRequest) + returns (TroubleshootIamPolicyResponse) { option (google.api.http) = { post: "/v1/iam:troubleshoot" body: "*" @@ -47,22 +51,24 @@ service IamChecker { } } -// Request for [TroubleshootIamPolicy][google.cloud.policytroubleshooter.v1.IamChecker.TroubleshootIamPolicy]. +// Request for +// [TroubleshootIamPolicy][google.cloud.policytroubleshooter.v1.IamChecker.TroubleshootIamPolicy]. message TroubleshootIamPolicyRequest { - // The information to use for checking whether a member has a permission for a - // resource. + // The information to use for checking whether a principal has a permission + // for a resource. AccessTuple access_tuple = 1; } -// Response for [TroubleshootIamPolicy][google.cloud.policytroubleshooter.v1.IamChecker.TroubleshootIamPolicy]. +// Response for +// [TroubleshootIamPolicy][google.cloud.policytroubleshooter.v1.IamChecker.TroubleshootIamPolicy]. message TroubleshootIamPolicyResponse { - // Indicates whether the member has the specified permission for the specified - // resource, based on evaluating all of the applicable IAM policies. + // Indicates whether the principal has the specified permission for the + // specified resource, based on evaluating all of the applicable IAM policies. AccessState access = 1; - // List of IAM policies that were evaluated to check the member's permissions, - // with annotations to indicate how each policy contributed to the final - // result. + // List of IAM policies that were evaluated to check the principal's + // permissions, with annotations to indicate how each policy contributed to + // the final result. // // The list of policies can include the policy for the resource itself. It can // also include policies that are inherited from higher levels of the resource @@ -71,4 +77,7 @@ message TroubleshootIamPolicyResponse { // To learn more about the resource hierarchy, see // https://cloud.google.com/iam/help/resource-hierarchy. repeated ExplainedPolicy explained_policies = 2; + + // The general errors contained in the troubleshooting response. + repeated google.rpc.Status errors = 3; } diff --git a/third_party/googleapis/google/cloud/policytroubleshooter/v1/explanations.proto b/third_party/googleapis/google/cloud/policytroubleshooter/v1/explanations.proto index 78b56b96a..18d4611eb 100644 --- a/third_party/googleapis/google/cloud/policytroubleshooter/v1/explanations.proto +++ b/third_party/googleapis/google/cloud/policytroubleshooter/v1/explanations.proto @@ -1,4 +1,4 @@ -// Copyright 2019 Google LLC. +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,7 +11,6 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -// syntax = "proto3"; @@ -26,15 +25,15 @@ option go_package = "cloud.google.com/go/policytroubleshooter/apiv1/policytroubl option php_namespace = "Google\\Cloud\\PolicyTroubleshooter\\V1"; option ruby_package = "Google::Cloud::PolicyTroubleshooter::V1"; -// Information about the member, resource, and permission to check. +// Information about the principal, resource, and permission to check. message AccessTuple { - // Required. The member, or principal, whose access you want to check, in the form of - // the email address that represents that member. For example, + // Required. The principal whose access you want to check, in the form of + // the email address that represents that principal. For example, // `alice@example.com` or // `my-service-account@my-project.iam.gserviceaccount.com`. // - // The member must be a Google Account or a service account. Other types of - // members are not supported. + // The principal must be a Google Account or a service account. Other types of + // principals are not supported. string principal = 1 [(google.api.field_behavior) = REQUIRED]; // Required. The full resource name that identifies the resource. For example, @@ -44,7 +43,8 @@ message AccessTuple { // https://cloud.google.com/iam/help/troubleshooter/full-resource-names. string full_resource_name = 2 [(google.api.field_behavior) = REQUIRED]; - // Required. The IAM permission to check for the specified member and resource. + // Required. The IAM permission to check for the specified principal and + // resource. // // For a complete list of IAM permissions, see // https://cloud.google.com/iam/help/permissions/reference. @@ -58,12 +58,12 @@ message AccessTuple { // to the access check. message ExplainedPolicy { // Indicates whether _this policy_ provides the specified permission to the - // specified member for the specified resource. + // specified principal for the specified resource. // - // This field does _not_ indicate whether the member actually has the + // This field does _not_ indicate whether the principal actually has the // permission for the resource. There might be another policy that overrides - // this policy. To determine whether the member actually has the permission, - // use the `access` field in the + // this policy. To determine whether the principal actually has the + // permission, use the `access` field in the // [TroubleshootIamPolicyResponse][IamChecker.TroubleshootIamPolicyResponse]. AccessState access = 1; @@ -83,8 +83,8 @@ message ExplainedPolicy { // is empty. google.iam.v1.Policy policy = 3; - // Details about how each binding in the policy affects the member's ability, - // or inability, to use the permission for the resource. + // Details about how each binding in the policy affects the principal's + // ability, or inability, to use the permission for the resource. // // If the sender of the request does not have access to the policy, this field // is omitted. @@ -98,22 +98,12 @@ message ExplainedPolicy { HeuristicRelevance relevance = 5; } -// Details about how a binding in a policy affects a member's ability to use a -// permission. +// Details about how a binding in a policy affects a principal's ability to use +// a permission. message BindingExplanation { - // Details about whether the binding includes the member. - message AnnotatedMembership { - // Indicates whether the binding includes the member. - Membership membership = 1; - - // The relevance of the member's status to the overall determination for the - // binding. - HeuristicRelevance relevance = 2; - } - // Whether a role includes a specific permission. enum RolePermission { - // Reserved for future use. + // Default value. This value is unused. ROLE_PERMISSION_UNSPECIFIED = 0; // The permission is included in the role. @@ -126,37 +116,48 @@ message BindingExplanation { ROLE_PERMISSION_UNKNOWN_INFO_DENIED = 3; } - // Whether the binding includes the member. + // Whether the binding includes the principal. enum Membership { - // Reserved for future use. + // Default value. This value is unused. MEMBERSHIP_UNSPECIFIED = 0; - // The binding includes the member. The member can be included directly - // or indirectly. For example: + // The binding includes the principal. The principal can be included + // directly or indirectly. For example: // - // * A member is included directly if that member is listed in the binding. - // * A member is included indirectly if that member is in a Google group or - // G Suite domain that is listed in the binding. + // * A principal is included directly if that principal is listed in the + // binding. + // * A principal is included indirectly if that principal is in a Google + // group or Google Workspace domain that is listed in the binding. MEMBERSHIP_INCLUDED = 1; - // The binding does not include the member. + // The binding does not include the principal. MEMBERSHIP_NOT_INCLUDED = 2; // The sender of the request is not allowed to access the binding. MEMBERSHIP_UNKNOWN_INFO_DENIED = 3; - // The member is an unsupported type. Only Google Accounts and service + // The principal is an unsupported type. Only Google Accounts and service // accounts are supported. MEMBERSHIP_UNKNOWN_UNSUPPORTED = 4; } - // Required. Indicates whether _this binding_ provides the specified permission to the - // specified member for the specified resource. + // Details about whether the binding includes the principal. + message AnnotatedMembership { + // Indicates whether the binding includes the principal. + Membership membership = 1; + + // The relevance of the principal's status to the overall determination for + // the binding. + HeuristicRelevance relevance = 2; + } + + // Required. Indicates whether _this binding_ provides the specified + // permission to the specified principal for the specified resource. // - // This field does _not_ indicate whether the member actually has the + // This field does _not_ indicate whether the principal actually has the // permission for the resource. There might be another binding that overrides - // this binding. To determine whether the member actually has the permission, - // use the `access` field in the + // this binding. To determine whether the principal actually has the + // permission, use the `access` field in the // [TroubleshootIamPolicyResponse][IamChecker.TroubleshootIamPolicyResponse]. AccessState access = 1 [(google.api.field_behavior) = REQUIRED]; @@ -175,24 +176,24 @@ message BindingExplanation { // to the overall determination for the entire policy. HeuristicRelevance role_permission_relevance = 4; - // Indicates whether each member in the binding includes the member specified - // in the request, either directly or indirectly. Each key identifies a member - // in the binding, and each value indicates whether the member in the binding - // includes the member in the request. + // Indicates whether each principal in the binding includes the principal + // specified in the request, either directly or indirectly. Each key + // identifies a principal in the binding, and each value indicates whether the + // principal in the binding includes the principal in the request. // - // For example, suppose that a binding includes the following members: + // For example, suppose that a binding includes the following principals: // // * `user:alice@example.com` // * `group:product-eng@example.com` // // You want to troubleshoot access for `user:bob@example.com`. This user is a - // member of the group `group:product-eng@example.com`. + // principal of the group `group:product-eng@example.com`. // - // For the first member in the binding, the key is `user:alice@example.com`, - // and the `membership` field in the value is set to + // For the first principal in the binding, the key is + // `user:alice@example.com`, and the `membership` field in the value is set to // `MEMBERSHIP_NOT_INCLUDED`. // - // For the second member in the binding, the key is + // For the second principal in the binding, the key is // `group:product-eng@example.com`, and the `membership` field in the value is // set to `MEMBERSHIP_INCLUDED`. map memberships = 5; @@ -201,27 +202,27 @@ message BindingExplanation { // policy. HeuristicRelevance relevance = 6; - // A condition expression that prevents access unless the expression evaluates - // to `true`. + // A condition expression that prevents this binding from granting access + // unless the expression evaluates to `true`. // // To learn about IAM Conditions, see - // http://cloud.google.com/iam/help/conditions/overview. + // https://cloud.google.com/iam/help/conditions/overview. google.type.Expr condition = 7; } -// Whether a member has a permission for a resource. +// Whether a principal has a permission for a resource. enum AccessState { - // Reserved for future use. + // Default value. This value is unused. ACCESS_STATE_UNSPECIFIED = 0; - // The member has the permission. + // The principal has the permission. GRANTED = 1; - // The member does not have the permission. + // The principal does not have the permission. NOT_GRANTED = 2; - // The member has the permission only if a condition expression evaluates to - // `true`. + // The principal has the permission only if a condition expression evaluates + // to `true`. UNKNOWN_CONDITIONAL = 3; // The sender of the request does not have access to all of the policies that @@ -229,10 +230,11 @@ enum AccessState { UNKNOWN_INFO_DENIED = 4; } -// The extent to which a single data point contributes to an overall +// The extent to which a single data point, such as the existence of a binding +// or whether a binding includes a specific principal, contributes to an overall // determination. enum HeuristicRelevance { - // Reserved for future use. + // Default value. This value is unused. HEURISTIC_RELEVANCE_UNSPECIFIED = 0; // The data point has a limited effect on the result. Changing the data point diff --git a/third_party/googleapis/google/cloud/policytroubleshooter/v1/policytroubleshooter_v1.yaml b/third_party/googleapis/google/cloud/policytroubleshooter/v1/policytroubleshooter_v1.yaml index ea5bbb479..2c651f79c 100644 --- a/third_party/googleapis/google/cloud/policytroubleshooter/v1/policytroubleshooter_v1.yaml +++ b/third_party/googleapis/google/cloud/policytroubleshooter/v1/policytroubleshooter_v1.yaml @@ -6,14 +6,18 @@ title: Policy Troubleshooter API apis: - name: google.cloud.policytroubleshooter.v1.IamChecker -backend: - rules: - - selector: google.cloud.policytroubleshooter.v1.IamChecker.TroubleshootIamPolicy - deadline: 20.0 - authentication: rules: - selector: google.cloud.policytroubleshooter.v1.IamChecker.TroubleshootIamPolicy oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform + +publishing: + new_issue_uri: https://issuetracker.google.com/issues/new?component=690790&template=1814512 + documentation_uri: https://cloud.google.com/policy-intelligence/docs/troubleshoot-access + api_short_name: policytroubleshooter + github_label: 'api: policytroubleshooter' + doc_tag_prefix: policytroubleshooter + organization: CLOUD + proto_reference_documentation_uri: https://cloud.google.com/policytroubleshooter/docs/reference/rpc diff --git a/third_party/googleapis/google/cloud/privatecatalog/BUILD.bazel b/third_party/googleapis/google/cloud/privatecatalog/BUILD.bazel index 4ba38abfe..490eaa627 100644 --- a/third_party/googleapis/google/cloud/privatecatalog/BUILD.bazel +++ b/third_party/googleapis/google/cloud/privatecatalog/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-private_catalog", "ruby-cloud-env-prefix=PRIVATE_CATALOG", - "ruby-cloud-wrapper-of=v1beta1:0.0", + "ruby-cloud-wrapper-of=v1beta1:0.6", "ruby-cloud-product-url=https://cloud.google.com/private-catalog/", "ruby-cloud-api-id=cloudprivatecatalog.googleapis.com", "ruby-cloud-api-shortname=cloudprivatecatalog", ], ruby_cloud_description = "With Private Catalog, developers and cloud admins can make their solutions discoverable to their internal enterprise users. Cloud admins can manage their solutions and ensure their users are always launching the latest versions.", ruby_cloud_title = "Private Catalog", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/privatecatalog/v1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/privatecatalog/v1beta1/BUILD.bazel index ce4041399..9a4bf1c13 100644 --- a/third_party/googleapis/google/cloud/privatecatalog/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/privatecatalog/v1beta1/BUILD.bazel @@ -73,6 +73,7 @@ java_gapic_library( srcs = [":privatecatalog_proto_with_info"], grpc_service_config = "cloudprivatecatalog_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "cloudprivatecatalog_v1beta1.yaml", test_deps = [ ":privatecatalog_java_grpc", ], @@ -112,7 +113,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -146,19 +146,13 @@ go_gapic_library( ], ) -go_test( - name = "privatecatalog_go_gapic_test", - srcs = [":privatecatalog_go_gapic_srcjar_test"], - embed = [":privatecatalog_go_gapic"], - importpath = "cloud.google.com/go/privatecatalog/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-privatecatalog-v1beta1-go", deps = [ ":privatecatalog_go_gapic", ":privatecatalog_go_gapic_srcjar-metadata.srcjar", + ":privatecatalog_go_gapic_srcjar-snippets.srcjar", ":privatecatalog_go_gapic_srcjar-test.srcjar", ":privatecatalog_go_proto", ], @@ -212,7 +206,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -221,23 +214,15 @@ php_proto_library( deps = [":privatecatalog_proto"], ) -php_grpc_library( - name = "privatecatalog_php_grpc", - srcs = [":privatecatalog_proto"], - deps = [":privatecatalog_php_proto"], -) - php_gapic_library( name = "privatecatalog_php_gapic", srcs = [":privatecatalog_proto_with_info"], grpc_service_config = "cloudprivatecatalog_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "cloudprivatecatalog_v1beta1.yaml", transport = "grpc+rest", - deps = [ - ":privatecatalog_php_grpc", - ":privatecatalog_php_proto", - ], + deps = [":privatecatalog_php_proto"], ) # Open Source Packages @@ -245,7 +230,6 @@ php_gapic_assembly_pkg( name = "google-cloud-privatecatalog-v1beta1-php", deps = [ ":privatecatalog_php_gapic", - ":privatecatalog_php_grpc", ":privatecatalog_php_proto", ], ) @@ -318,6 +302,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "With Private Catalog, developers and cloud admins can make their solutions discoverable to their internal enterprise users. Cloud admins can manage their solutions and ensure their users are always launching the latest versions.", ruby_cloud_title = "Private Catalog V1beta1", service_yaml = "cloudprivatecatalog_v1beta1.yaml", + transport = "grpc+rest", deps = [ ":privatecatalog_ruby_grpc", ":privatecatalog_ruby_proto", diff --git a/third_party/googleapis/google/cloud/pubsublite/v1/BUILD.bazel b/third_party/googleapis/google/cloud/pubsublite/v1/BUILD.bazel index ecc528121..f0f4808bc 100644 --- a/third_party/googleapis/google/cloud/pubsublite/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/pubsublite/v1/BUILD.bazel @@ -79,12 +79,14 @@ java_gapic_library( gapic_yaml = "gapic.yaml", grpc_service_config = "pubsublite_grpc_service_config.json", rest_numeric_enums = False, + service_yaml = "pubsublite_v1.yaml", test_deps = [ ":pubsublite_java_grpc", ], transport = "grpc", deps = [ ":pubsublite_java_proto", + "//google/api:api_java_proto", ], ) @@ -122,7 +124,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -156,18 +157,12 @@ go_gapic_library( ], ) -go_test( - name = "pubsublite_go_gapic_test", - srcs = [":pubsublite_go_gapic_srcjar_test"], - embed = [":pubsublite_go_gapic"], - importpath = "cloud.google.com/go/pubsublite/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-pubsublite-v1-go", deps = [ ":pubsublite_go_gapic", + ":pubsublite_go_gapic_srcjar-snippets.srcjar", ":pubsublite_go_gapic_srcjar-test.srcjar", ":pubsublite_go_proto", ], diff --git a/third_party/googleapis/google/cloud/recaptchaenterprise/BUILD.bazel b/third_party/googleapis/google/cloud/recaptchaenterprise/BUILD.bazel index 3f1f38408..d703428e6 100644 --- a/third_party/googleapis/google/cloud/recaptchaenterprise/BUILD.bazel +++ b/third_party/googleapis/google/cloud/recaptchaenterprise/BUILD.bazel @@ -22,7 +22,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-recaptcha_enterprise", "ruby-cloud-env-prefix=RECAPTCHA_ENTERPRISE", - "ruby-cloud-wrapper-of=v1:0.0;v1beta1:0.0", + "ruby-cloud-wrapper-of=v1:0.17;v1beta1:0.12", "ruby-cloud-product-url=https://cloud.google.com/recaptcha-enterprise", "ruby-cloud-api-id=recaptchaenterprise.googleapis.com", "ruby-cloud-api-shortname=recaptchaenterprise", @@ -30,6 +30,7 @@ ruby_cloud_gapic_library( ], ruby_cloud_description = "reCAPTCHA Enterprise is a service that protects your site from spam and abuse.", ruby_cloud_title = "reCAPTCHA Enterprise", + transport = "grpc", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/recaptchaenterprise/v1/BUILD.bazel b/third_party/googleapis/google/cloud/recaptchaenterprise/v1/BUILD.bazel index 2fae68297..1d5d7bc96 100644 --- a/third_party/googleapis/google/cloud/recaptchaenterprise/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/recaptchaenterprise/v1/BUILD.bazel @@ -1,5 +1,5 @@ # This file was automatically generated by BuildFileGenerator -# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +# 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: @@ -28,6 +28,7 @@ proto_library( "//google/api:client_proto", "//google/api:field_behavior_proto", "//google/api:resource_proto", + "//google/rpc:status_proto", "@com_google_protobuf//:empty_proto", "@com_google_protobuf//:field_mask_proto", "@com_google_protobuf//:timestamp_proto", @@ -71,12 +72,14 @@ java_gapic_library( gapic_yaml = "recaptchaenterprise_gapic.yaml", grpc_service_config = "recaptchaenterprise_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "recaptchaenterprise_v1.yaml", test_deps = [ ":recaptchaenterprise_java_grpc", ], transport = "grpc", deps = [ ":recaptchaenterprise_java_proto", + "//google/api:api_java_proto", ], ) @@ -109,16 +112,16 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( name = "recaptchaenterprise_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "cloud.google.com/go/recaptchaenterprise/apiv1/recaptchaenterprisepb", + importpath = "cloud.google.com/go/recaptchaenterprise/v2/apiv1/recaptchaenterprisepb", protos = [":recaptchaenterprise_proto"], deps = [ "//google/api:annotations_go_proto", + "//google/rpc:status_go_proto", ], ) @@ -126,7 +129,8 @@ go_gapic_library( name = "recaptchaenterprise_go_gapic", srcs = [":recaptchaenterprise_proto_with_info"], grpc_service_config = "recaptchaenterprise_grpc_service_config.json", - importpath = "cloud.google.com/go/recaptchaenterprise/apiv1;recaptchaenterprise", + importpath = "cloud.google.com/go/recaptchaenterprise/v2/apiv1;recaptchaenterprise", + metadata = True, release_level = "ga", rest_numeric_enums = True, service_yaml = "recaptchaenterprise_v1.yaml", @@ -136,18 +140,13 @@ go_gapic_library( ], ) -go_test( - name = "recaptchaenterprise_go_gapic_test", - srcs = [":recaptchaenterprise_go_gapic_srcjar_test"], - embed = [":recaptchaenterprise_go_gapic"], - importpath = "cloud.google.com/go/recaptchaenterprise/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-recaptchaenterprise-v1-go", deps = [ ":recaptchaenterprise_go_gapic", + ":recaptchaenterprise_go_gapic_srcjar-metadata.srcjar", + ":recaptchaenterprise_go_gapic_srcjar-snippets.srcjar", ":recaptchaenterprise_go_gapic_srcjar-test.srcjar", ":recaptchaenterprise_go_proto", ], @@ -167,12 +166,12 @@ py_gapic_library( name = "recaptchaenterprise_py_gapic", srcs = [":recaptchaenterprise_proto"], grpc_service_config = "recaptchaenterprise_grpc_service_config.json", - opt_args = [ - "warehouse-package-name=google-cloud-recaptcha-enterprise", - ], + opt_args = ["warehouse-package-name=google-cloud-recaptcha-enterprise"], rest_numeric_enums = True, service_yaml = "recaptchaenterprise_v1.yaml", transport = "grpc", + deps = [ + ], ) py_test( @@ -200,7 +199,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -209,21 +207,15 @@ php_proto_library( deps = [":recaptchaenterprise_proto"], ) -php_grpc_library( - name = "recaptchaenterprise_php_grpc", - srcs = [":recaptchaenterprise_proto"], - deps = [":recaptchaenterprise_php_proto"], -) - php_gapic_library( name = "recaptchaenterprise_php_gapic", srcs = [":recaptchaenterprise_proto_with_info"], grpc_service_config = "recaptchaenterprise_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "recaptchaenterprise_v1.yaml", transport = "grpc+rest", deps = [ - ":recaptchaenterprise_php_grpc", ":recaptchaenterprise_php_proto", ], ) @@ -233,7 +225,6 @@ php_gapic_assembly_pkg( name = "google-cloud-recaptchaenterprise-v1-php", deps = [ ":recaptchaenterprise_php_gapic", - ":recaptchaenterprise_php_grpc", ":recaptchaenterprise_php_proto", ], ) @@ -294,17 +285,18 @@ ruby_cloud_gapic_library( name = "recaptchaenterprise_ruby_gapic", srcs = [":recaptchaenterprise_proto_with_info"], extra_protoc_parameters = [ - "ruby-cloud-gem-name=google-cloud-recaptcha_enterprise-v1", - "ruby-cloud-env-prefix=RECAPTCHA_ENTERPRISE", - "ruby-cloud-product-url=https://cloud.google.com/recaptcha-enterprise", "ruby-cloud-api-id=recaptchaenterprise.googleapis.com", "ruby-cloud-api-shortname=recaptchaenterprise", + "ruby-cloud-env-prefix=RECAPTCHA_ENTERPRISE", + "ruby-cloud-gem-name=google-cloud-recaptcha_enterprise-v1", + "ruby-cloud-product-url=https://cloud.google.com/recaptcha-enterprise", ], grpc_service_config = "recaptchaenterprise_grpc_service_config.json", rest_numeric_enums = True, ruby_cloud_description = "reCAPTCHA Enterprise is a service that protects your site from spam and abuse.", ruby_cloud_title = "reCAPTCHA Enterprise V1", service_yaml = "recaptchaenterprise_v1.yaml", + transport = "grpc", deps = [ ":recaptchaenterprise_ruby_grpc", ":recaptchaenterprise_ruby_proto", diff --git a/third_party/googleapis/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto b/third_party/googleapis/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto index 5c90c5493..e01e13f71 100644 --- a/third_party/googleapis/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto +++ b/third_party/googleapis/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -23,9 +23,10 @@ import "google/api/resource.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; +import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.RecaptchaEnterprise.V1"; -option go_package = "cloud.google.com/go/recaptchaenterprise/apiv1/recaptchaenterprisepb;recaptchaenterprisepb"; +option go_package = "cloud.google.com/go/recaptchaenterprise/v2/apiv1/recaptchaenterprisepb;recaptchaenterprisepb"; option java_multiple_files = true; option java_outer_classname = "RecaptchaEnterpriseProto"; option java_package = "com.google.recaptchaenterprise.v1"; @@ -65,6 +66,7 @@ service RecaptchaEnterpriseService { post: "/v1/{parent=projects/*}/keys" body: "key" }; + option (google.api.method_signature) = "parent,key"; } // Returns the list of all keys that belong to a project. @@ -72,6 +74,7 @@ service RecaptchaEnterpriseService { option (google.api.http) = { get: "/v1/{parent=projects/*}/keys" }; + option (google.api.method_signature) = "parent"; } // Returns the secret key related to the specified public key. @@ -90,6 +93,7 @@ service RecaptchaEnterpriseService { option (google.api.http) = { get: "/v1/{name=projects/*/keys/*}" }; + option (google.api.method_signature) = "name"; } // Updates the specified key. @@ -98,6 +102,7 @@ service RecaptchaEnterpriseService { patch: "/v1/{key.name=projects/*/keys/*}" body: "key" }; + option (google.api.method_signature) = "key,update_mask"; } // Deletes the specified key. @@ -105,12 +110,13 @@ service RecaptchaEnterpriseService { option (google.api.http) = { delete: "/v1/{name=projects/*/keys/*}" }; + option (google.api.method_signature) = "name"; } // Migrates an existing key from reCAPTCHA to reCAPTCHA Enterprise. // Once a key is migrated, it can be used from either product. SiteVerify // requests are billed as CreateAssessment calls. You must be - // authenticated as one of the current owners of the reCAPTCHA Site Key, and + // authenticated as one of the current owners of the reCAPTCHA Key, and // your user must have the reCAPTCHA Enterprise Admin IAM role in the // destination project. rpc MigrateKey(MigrateKeyRequest) returns (Key) { @@ -129,6 +135,64 @@ service RecaptchaEnterpriseService { option (google.api.method_signature) = "name"; } + // Creates a new FirewallPolicy, specifying conditions at which reCAPTCHA + // Enterprise actions can be executed. + // A project may have a maximum of 1000 policies. + rpc CreateFirewallPolicy(CreateFirewallPolicyRequest) + returns (FirewallPolicy) { + option (google.api.http) = { + post: "/v1/{parent=projects/*}/firewallpolicies" + body: "firewall_policy" + }; + option (google.api.method_signature) = "parent,firewall_policy"; + } + + // Returns the list of all firewall policies that belong to a project. + rpc ListFirewallPolicies(ListFirewallPoliciesRequest) + returns (ListFirewallPoliciesResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*}/firewallpolicies" + }; + option (google.api.method_signature) = "parent"; + } + + // Returns the specified firewall policy. + rpc GetFirewallPolicy(GetFirewallPolicyRequest) returns (FirewallPolicy) { + option (google.api.http) = { + get: "/v1/{name=projects/*/firewallpolicies/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Updates the specified firewall policy. + rpc UpdateFirewallPolicy(UpdateFirewallPolicyRequest) + returns (FirewallPolicy) { + option (google.api.http) = { + patch: "/v1/{firewall_policy.name=projects/*/firewallpolicies/*}" + body: "firewall_policy" + }; + option (google.api.method_signature) = "firewall_policy,update_mask"; + } + + // Deletes the specified firewall policy. + rpc DeleteFirewallPolicy(DeleteFirewallPolicyRequest) + returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1/{name=projects/*/firewallpolicies/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Reorders all firewall policies. + rpc ReorderFirewallPolicies(ReorderFirewallPoliciesRequest) + returns (ReorderFirewallPoliciesResponse) { + option (google.api.http) = { + post: "/v1/{parent=projects/*}/firewallpolicies:reorder" + body: "*" + }; + option (google.api.method_signature) = "parent,names"; + } + // List groups of related accounts. rpc ListRelatedAccountGroups(ListRelatedAccountGroupsRequest) returns (ListRelatedAccountGroupsResponse) { @@ -163,7 +227,7 @@ service RecaptchaEnterpriseService { // The create assessment request message. message CreateAssessmentRequest { // Required. The name of the project in which the assessment will be created, - // in the format "projects/{project}". + // in the format `projects/{project}`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -175,6 +239,125 @@ message CreateAssessmentRequest { Assessment assessment = 2 [(google.api.field_behavior) = REQUIRED]; } +// Describes an event in the lifecycle of a payment transaction. +message TransactionEvent { + // Enum that represents an event in the payment transaction lifecycle. + enum TransactionEventType { + // Default, unspecified event type. + TRANSACTION_EVENT_TYPE_UNSPECIFIED = 0; + + // Indicates that the transaction is approved by the merchant. The + // accompanying reasons can include terms such as 'INHOUSE', 'ACCERTIFY', + // 'CYBERSOURCE', or 'MANUAL_REVIEW'. + MERCHANT_APPROVE = 1; + + // Indicates that the transaction is denied and concluded due to risks + // detected by the merchant. The accompanying reasons can include terms such + // as 'INHOUSE', 'ACCERTIFY', 'CYBERSOURCE', or 'MANUAL_REVIEW'. + MERCHANT_DENY = 2; + + // Indicates that the transaction is being evaluated by a human, due to + // suspicion or risk. + MANUAL_REVIEW = 3; + + // Indicates that the authorization attempt with the card issuer succeeded. + AUTHORIZATION = 4; + + // Indicates that the authorization attempt with the card issuer failed. + // The accompanying reasons can include Visa's '54' indicating that the card + // is expired, or '82' indicating that the CVV is incorrect. + AUTHORIZATION_DECLINE = 5; + + // Indicates that the transaction is completed because the funds were + // settled. + PAYMENT_CAPTURE = 6; + + // Indicates that the transaction could not be completed because the funds + // were not settled. + PAYMENT_CAPTURE_DECLINE = 7; + + // Indicates that the transaction has been canceled. Specify the reason + // for the cancellation. For example, 'INSUFFICIENT_INVENTORY'. + CANCEL = 8; + + // Indicates that the merchant has received a chargeback inquiry due to + // fraud for the transaction, requesting additional information before a + // fraud chargeback is officially issued and a formal chargeback + // notification is sent. + CHARGEBACK_INQUIRY = 9; + + // Indicates that the merchant has received a chargeback alert due to fraud + // for the transaction. The process of resolving the dispute without + // involving the payment network is started. + CHARGEBACK_ALERT = 10; + + // Indicates that a fraud notification is issued for the transaction, sent + // by the payment instrument's issuing bank because the transaction appears + // to be fraudulent. We recommend including TC40 or SAFE data in the + // `reason` field for this event type. For partial chargebacks, we recommend + // that you include an amount in the `value` field. + FRAUD_NOTIFICATION = 11; + + // Indicates that the merchant is informed by the payment network that the + // transaction has entered the chargeback process due to fraud. Reason code + // examples include Discover's '6005' and '6041'. For partial chargebacks, + // we recommend that you include an amount in the `value` field. + CHARGEBACK = 12; + + // Indicates that the transaction has entered the chargeback process due to + // fraud, and that the merchant has chosen to enter representment. Reason + // examples include Discover's '6005' and '6041'. For partial chargebacks, + // we recommend that you include an amount in the `value` field. + CHARGEBACK_REPRESENTMENT = 13; + + // Indicates that the transaction has had a fraud chargeback which was + // illegitimate and was reversed as a result. For partial chargebacks, we + // recommend that you include an amount in the `value` field. + CHARGEBACK_REVERSE = 14; + + // Indicates that the merchant has received a refund for a completed + // transaction. For partial refunds, we recommend that you include an amount + // in the `value` field. Reason example: 'TAX_EXEMPT' (partial refund of + // exempt tax) + REFUND_REQUEST = 15; + + // Indicates that the merchant has received a refund request for this + // transaction, but that they have declined it. For partial refunds, we + // recommend that you include an amount in the `value` field. Reason + // example: 'TAX_EXEMPT' (partial refund of exempt tax) + REFUND_DECLINE = 16; + + // Indicates that the completed transaction was refunded by the merchant. + // For partial refunds, we recommend that you include an amount in the + // `value` field. Reason example: 'TAX_EXEMPT' (partial refund of exempt + // tax) + REFUND = 17; + + // Indicates that the completed transaction was refunded by the merchant, + // and that this refund was reversed. For partial refunds, we recommend that + // you include an amount in the `value` field. + REFUND_REVERSE = 18; + } + + // Optional. The type of this transaction event. + TransactionEventType event_type = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The reason or standardized code that corresponds with this + // transaction event, if one exists. For example, a CHARGEBACK event with code + // 6005. + string reason = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The value that corresponds with this transaction event, if one + // exists. For example, a refund event where $5.00 was refunded. Currency is + // obtained from the original transaction data. + double value = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Timestamp when this transaction event occurred; otherwise assumed + // to be the time of the API call. + google.protobuf.Timestamp event_time = 4 + [(google.api.field_behavior) = OPTIONAL]; +} + // The request message to annotate an Assessment. message AnnotateAssessmentRequest { // Enum that represents the types of annotations. @@ -265,7 +448,7 @@ message AnnotateAssessmentRequest { } // Required. The resource name of the Assessment, in the format - // "projects/{project}/assessments/{assessment}". + // `projects/{project}/assessments/{assessment}`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -278,16 +461,24 @@ message AnnotateAssessmentRequest { // whether the event is legitimate or fraudulent. Annotation annotation = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Optional reasons for the annotation that will be assigned to the - // Event. + // Optional. Reasons for the annotation that are assigned to the event. repeated Reason reasons = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Unique stable hashed user identifier to apply to the assessment. - // This is an alternative to setting the hashed_account_id in - // CreateAssessment, for example when the account identifier is not yet known - // in the initial request. It is recommended that the identifier is hashed - // using hmac-sha256 with stable secret. + // Optional. A stable account identifier to apply to the assessment. This is + // an alternative to setting `account_id` in `CreateAssessment`, for example + // when a stable account identifier is not yet known in the initial request. + string account_id = 7 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. A stable hashed account identifier to apply to the assessment. + // This is an alternative to setting `hashed_account_id` in + // `CreateAssessment`, for example when a stable account identifier is not yet + // known in the initial request. bytes hashed_account_id = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If the assessment is part of a payment transaction, provide + // details on payment lifecycle events that occur in the transaction. + TransactionEvent transaction_event = 5 + [(google.api.field_behavior) = OPTIONAL]; } // Empty response for AnnotateAssessment. @@ -359,28 +550,29 @@ message AccountVerificationInfo { ERROR_VERDICT_MISMATCH = 9; } - // Endpoints that can be used for identity verification. - repeated EndpointVerificationInfo endpoints = 1; + // Optional. Endpoints that can be used for identity verification. + repeated EndpointVerificationInfo endpoints = 1 + [(google.api.field_behavior) = OPTIONAL]; - // Language code preference for the verification message, set as a IETF BCP 47 - // language code. - string language_code = 3; + // Optional. Language code preference for the verification message, set as a + // IETF BCP 47 language code. + string language_code = 3 [(google.api.field_behavior) = OPTIONAL]; // Output only. Result of the latest account verification challenge. Result latest_verification_result = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; // Username of the account that is being verified. Deprecated. Customers - // should now provide the hashed account ID field in Event. + // should now provide the `account_id` field in `event.user_info`. string username = 2 [deprecated = true]; } // Private password leak verification info. message PrivatePasswordLeakVerification { - // Optional. Exactly 26-bit prefix of the SHA-256 hash of the canonicalized + // Required. Exactly 26-bit prefix of the SHA-256 hash of the canonicalized // username. It is used to look up password leaks associated with that hash // prefix. - bytes lookup_hash_prefix = 1 [(google.api.field_behavior) = OPTIONAL]; + bytes lookup_hash_prefix = 1 [(google.api.field_behavior) = REQUIRED]; // Optional. Encrypted Scrypt hash of the canonicalized username+password. It // is re-encrypted by the server and returned through @@ -401,19 +593,22 @@ message PrivatePasswordLeakVerification { [(google.api.field_behavior) = OUTPUT_ONLY]; } -// A recaptcha assessment resource. +// A reCAPTCHA Enterprise assessment resource. message Assessment { option (google.api.resource) = { type: "recaptchaenterprise.googleapis.com/Assessment" pattern: "projects/{project}/assessments/{assessment}" }; - // Output only. The resource name for the Assessment in the format - // "projects/{project}/assessments/{assessment}". - string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Identifier. The resource name for the Assessment in the format + // `projects/{project}/assessments/{assessment}`. + string name = 1 [ + (google.api.field_behavior) = OUTPUT_ONLY, + (google.api.field_behavior) = IDENTIFIER + ]; - // The event being assessed. - Event event = 2; + // Optional. The event being assessed. + Event event = 2 [(google.api.field_behavior) = OPTIONAL]; // Output only. The risk analysis result for the event being assessed. RiskAnalysis risk_analysis = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -422,26 +617,45 @@ message Assessment { TokenProperties token_properties = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Account verification information for identity verification. The assessment - // event must include a token and site key to use this feature. - AccountVerificationInfo account_verification = 5; + // Optional. Account verification information for identity verification. The + // assessment event must include a token and site key to use this feature. + AccountVerificationInfo account_verification = 5 + [(google.api.field_behavior) = OPTIONAL]; - // Assessment returned by account defender when a hashed_account_id is - // provided. - AccountDefenderAssessment account_defender_assessment = 6; + // Output only. Assessment returned by account defender when an account + // identifier is provided. + AccountDefenderAssessment account_defender_assessment = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // The private password leak verification field contains the parameters that - // are used to to check for leaks privately without sharing user credentials. - PrivatePasswordLeakVerification private_password_leak_verification = 8; + // Optional. The private password leak verification field contains the + // parameters that are used to to check for leaks privately without sharing + // user credentials. + PrivatePasswordLeakVerification private_password_leak_verification = 8 + [(google.api.field_behavior) = OPTIONAL]; + + // Output only. Assessment returned when firewall policies belonging to the + // project are evaluated using the field firewall_policy_evaluation. + FirewallPolicyAssessment firewall_policy_assessment = 10 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Assessment returned by Fraud Prevention when TransactionData + // is provided. + FraudPreventionAssessment fraud_prevention_assessment = 11 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Fraud Signals specific to the users involved in a payment + // transaction. + FraudSignals fraud_signals = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; } +// The event being assessed. message Event { - // Optional. The user response token provided by the reCAPTCHA client-side - // integration on your site. + // Optional. The user response token provided by the reCAPTCHA Enterprise + // client-side integration on your site. string token = 1 [(google.api.field_behavior) = OPTIONAL]; - // Optional. The site key that was used to invoke reCAPTCHA on your site and - // generate the token. + // Optional. The site key that was used to invoke reCAPTCHA Enterprise on your + // site and generate the token. string site_key = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. The user agent present in the request from the user's device @@ -457,9 +671,224 @@ message Event { // already integrated with recaptcha enterprise. string expected_action = 5 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Unique stable hashed user identifier for the request. The - // identifier must be hashed using hmac-sha256 with stable secret. - bytes hashed_account_id = 6 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Deprecated: use `user_info.account_id` instead. + // Unique stable hashed user identifier for the request. The identifier must + // be hashed using hmac-sha256 with stable secret. + bytes hashed_account_id = 6 + [deprecated = true, (google.api.field_behavior) = OPTIONAL]; + + // Optional. Flag for a reCAPTCHA express request for an assessment without a + // token. If enabled, `site_key` must reference a SCORE key with WAF feature + // set to EXPRESS. + bool express = 14 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The URI resource the user requested that triggered an assessment. + string requested_uri = 8 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Flag for running WAF token assessment. + // If enabled, the token must be specified, and have been created by a + // WAF-enabled key. + bool waf_token_assessment = 9 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. JA3 fingerprint for SSL clients. + string ja3 = 10 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. HTTP header information about the request. + repeated string headers = 11 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Flag for enabling firewall policy config assessment. + // If this flag is enabled, the firewall policy will be evaluated and a + // suggested firewall action will be returned in the response. + bool firewall_policy_evaluation = 12 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Data describing a payment transaction to be assessed. Sending + // this data enables reCAPTCHA Enterprise Fraud Prevention and the + // FraudPreventionAssessment component in the response. + TransactionData transaction_data = 13 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Information about the user that generates this event, when they + // can be identified. They are often identified through the use of an account + // for logged-in requests or login/registration requests, or by providing user + // identifiers for guest actions like checkout. + UserInfo user_info = 15 [(google.api.field_behavior) = OPTIONAL]; +} + +// Transaction data associated with a payment protected by reCAPTCHA Enterprise. +message TransactionData { + // Structured address format for billing and shipping addresses. + message Address { + // Optional. The recipient name, potentially including information such as + // "care of". + string recipient = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The first lines of the address. The first line generally + // contains the street name and number, and further lines may include + // information such as an apartment number. + repeated string address = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The town/city of the address. + string locality = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The state, province, or otherwise administrative area of the + // address. + string administrative_area = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The CLDR country/region of the address. + string region_code = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The postal or ZIP code of the address. + string postal_code = 6 [(google.api.field_behavior) = OPTIONAL]; + } + + // Details about a user's account involved in the transaction. + message User { + // Optional. Unique account identifier for this user. If using account + // defender, this should match the hashed_account_id field. Otherwise, a + // unique and persistent identifier for this account. + string account_id = 6 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The epoch milliseconds of the user's account creation. + int64 creation_ms = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The email address of the user. + string email = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Whether the email has been verified to be accessible by the + // user (OTP or similar). + bool email_verified = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The phone number of the user, with country code. + string phone_number = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Whether the phone number has been verified to be accessible by + // the user (OTP or similar). + bool phone_verified = 5 [(google.api.field_behavior) = OPTIONAL]; + } + + // Line items being purchased in this transaction. + message Item { + // Optional. The full name of the item. + string name = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The value per item that the user is paying, in the transaction + // currency, after discounts. + double value = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The quantity of this item that is being purchased. + int64 quantity = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. When a merchant is specified, its corresponding account_id. + // Necessary to populate marketplace-style transactions. + string merchant_account_id = 4 [(google.api.field_behavior) = OPTIONAL]; + } + + // Details about the transaction from the gateway. + message GatewayInfo { + // Optional. Name of the gateway service (for example, stripe, square, + // paypal). + string name = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Gateway response code describing the state of the transaction. + string gateway_response_code = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. AVS response code from the gateway + // (available only when reCAPTCHA Enterprise is called after authorization). + string avs_response_code = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. CVV response code from the gateway + // (available only when reCAPTCHA Enterprise is called after authorization). + string cvv_response_code = 4 [(google.api.field_behavior) = OPTIONAL]; + } + + // Unique identifier for the transaction. This custom identifier can be used + // to reference this transaction in the future, for example, labeling a refund + // or chargeback event. Two attempts at the same transaction should use the + // same transaction id. + optional string transaction_id = 11; + + // Optional. The payment method for the transaction. The allowed values are: + // + // * credit-card + // * debit-card + // * gift-card + // * processor-{name} (If a third-party is used, for example, + // processor-paypal) + // * custom-{name} (If an alternative method is used, for example, + // custom-crypto) + string payment_method = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The Bank Identification Number - generally the first 6 or 8 + // digits of the card. + string card_bin = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The last four digits of the card. + string card_last_four = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The currency code in ISO-4217 format. + string currency_code = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The decimal value of the transaction in the specified currency. + double value = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The value of shipping in the specified currency. 0 for free or no + // shipping. + double shipping_value = 12 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Destination address if this transaction involves shipping a + // physical item. + Address shipping_address = 6 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Address associated with the payment method when applicable. + Address billing_address = 7 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Information about the user paying/initiating the transaction. + User user = 8 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Information about the user or users fulfilling the transaction. + repeated User merchants = 13 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Items purchased in this transaction. + repeated Item items = 14 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Information about the payment gateway's response to the + // transaction. + GatewayInfo gateway_info = 10 [(google.api.field_behavior) = OPTIONAL]; +} + +// User information associated with a request protected by reCAPTCHA Enterprise. +message UserInfo { + // Optional. Creation time for this account associated with this user. Leave + // blank for non logged-in actions, guest checkout, or when there is no + // account associated with the current user. + google.protobuf.Timestamp create_account_time = 1 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. For logged-in requests or login/registration requests, the unique + // account identifier associated with this user. You can use the username if + // it is stable (meaning it is the same for every request associated with the + // same user), or any stable user ID of your choice. Leave blank for non + // logged-in actions or guest checkout. + string account_id = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Identifiers associated with this user or request. + repeated UserId user_ids = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// An identifier associated with a user. +message UserId { + oneof id_oneof { + // Optional. An email address. + string email = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. A phone number. Should use the E.164 format. + string phone_number = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. A unique username, if different from all the other identifiers + // and `account_id` that are provided. Can be a unique login handle or + // display name for a user. + string username = 3 [(google.api.field_behavior) = OPTIONAL]; + } } // Risk analysis result for an event. @@ -485,17 +914,30 @@ message RiskAnalysis { // Too little traffic has been received from this site thus far to generate // quality risk analysis. LOW_CONFIDENCE_SCORE = 5; + + // The request matches behavioral characteristics of a carding attack. + SUSPECTED_CARDING = 6; + + // The request matches behavioral characteristics of chargebacks for fraud. + SUSPECTED_CHARGEBACK = 7; } - // Legitimate event score from 0.0 to 1.0. + // Output only. Legitimate event score from 0.0 to 1.0. // (1.0 means very likely legitimate traffic while 0.0 means very likely // non-legitimate traffic). - float score = 1; + float score = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Reasons contributing to the risk analysis verdict. - repeated ClassificationReason reasons = 2; + // Output only. Reasons contributing to the risk analysis verdict. + repeated ClassificationReason reasons = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Extended verdict reasons to be used for experimentation only. + // The set of possible reasons is subject to change. + repeated string extended_verdict_reasons = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; } +// Properties of the provided event token. message TokenProperties { // Enum that represents the types of invalid token reasons. enum InvalidReason { @@ -522,32 +964,128 @@ message TokenProperties { BROWSER_ERROR = 6; } - // Whether the provided user response token is valid. When valid = false, the - // reason could be specified in invalid_reason or it could also be due to - // a user failing to solve a challenge or a sitekey mismatch (i.e the sitekey - // used to generate the token was different than the one specified in the - // assessment). - bool valid = 1; - - // Reason associated with the response when valid = false. - InvalidReason invalid_reason = 2; + // Output only. Whether the provided user response token is valid. When valid + // = false, the reason could be specified in invalid_reason or it could also + // be due to a user failing to solve a challenge or a sitekey mismatch (i.e + // the sitekey used to generate the token was different than the one specified + // in the assessment). + bool valid = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // The timestamp corresponding to the generation of the token. - google.protobuf.Timestamp create_time = 3; + // Output only. Reason associated with the response when valid = false. + InvalidReason invalid_reason = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - // The hostname of the page on which the token was generated (Web keys only). - string hostname = 4; + // Output only. The timestamp corresponding to the generation of the token. + google.protobuf.Timestamp create_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // The name of the Android package with which the token was generated (Android + // Output only. The hostname of the page on which the token was generated (Web // keys only). - string android_package_name = 8; + string hostname = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The name of the Android package with which the token was + // generated (Android keys only). + string android_package_name = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - // The ID of the iOS bundle with which the token was generated (iOS keys - // only). - string ios_bundle_id = 9; + // Output only. The ID of the iOS bundle with which the token was generated + // (iOS keys only). + string ios_bundle_id = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Action name provided at token generation. - string action = 5; + // Output only. Action name provided at token generation. + string action = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// Assessment for Fraud Prevention. +message FraudPreventionAssessment { + // Information about stolen instrument fraud, where the user is not the + // legitimate owner of the instrument being used for the purchase. + message StolenInstrumentVerdict { + // Output only. Probability of this transaction being executed with a stolen + // instrument. Values are from 0.0 (lowest) to 1.0 (highest). + float risk = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + } + + // Information about card testing fraud, where an adversary is testing + // fraudulently obtained cards or brute forcing their details. + message CardTestingVerdict { + // Output only. Probability of this transaction attempt being part of a card + // testing attack. Values are from 0.0 (lowest) to 1.0 (highest). + float risk = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + } + + // Information about behavioral trust of the transaction. + message BehavioralTrustVerdict { + // Output only. Probability of this transaction attempt being executed in a + // behaviorally trustworthy way. Values are from 0.0 (lowest) to 1.0 + // (highest). + float trust = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + } + + // Output only. Probability of this transaction being fraudulent. Summarizes + // the combined risk of attack vectors below. Values are from 0.0 (lowest) + // to 1.0 (highest). + float transaction_risk = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Assessment of this transaction for risk of a stolen + // instrument. + StolenInstrumentVerdict stolen_instrument_verdict = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Assessment of this transaction for risk of being part of a + // card testing attack. + CardTestingVerdict card_testing_verdict = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Assessment of this transaction for behavioral trust. + BehavioralTrustVerdict behavioral_trust_verdict = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// Fraud signals describing users and cards involved in the transaction. +message FraudSignals { + // Signals describing the user involved in this transaction. + message UserSignals { + // Output only. This user (based on email, phone, and other identifiers) has + // been seen on the internet for at least this number of days. + int32 active_days_lower_bound = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Likelihood (from 0.0 to 1.0) this user includes synthetic + // components in their identity, such as a randomly generated email address, + // temporary phone number, or fake shipping address. + float synthetic_risk = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + } + + // Signals describing the payment card used in this transaction. + message CardSignals { + // Risk labels describing the card being assessed, such as its funding + // mechanism. + enum CardLabel { + // No label specified. + CARD_LABEL_UNSPECIFIED = 0; + + // This card has been detected as prepaid. + PREPAID = 1; + + // This card has been detected as virtual, such as a card number generated + // for a single transaction or merchant. + VIRTUAL = 2; + + // This card has been detected as being used in an unexpected geographic + // location. + UNEXPECTED_LOCATION = 3; + } + + // Output only. The labels for the payment card in this transaction. + repeated CardLabel card_labels = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; + } + + // Output only. Signals describing the end user in this transaction. + UserSignals user_signals = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Signals describing the payment card or cards used in this + // transaction. + CardSignals card_signals = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Account defender risk assessment. @@ -574,14 +1112,15 @@ message AccountDefenderAssessment { RELATED_ACCOUNTS_NUMBER_HIGH = 4; } - // Labels for this request. - repeated AccountDefenderLabel labels = 1; + // Output only. Labels for this request. + repeated AccountDefenderLabel labels = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // The create key request message. message CreateKeyRequest { // Required. The name of the project in which the key will be created, in the - // format "projects/{project}". + // format `projects/{project}`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -596,7 +1135,7 @@ message CreateKeyRequest { // The list keys request message. message ListKeysRequest { // Required. The name of the project that contains the keys that will be - // listed, in the format "projects/{project}". + // listed, in the format `projects/{project}`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -626,7 +1165,7 @@ message ListKeysResponse { // The retrieve legacy secret key request message. message RetrieveLegacySecretKeyRequest { // Required. The public key name linked to the requested secret key in the - // format "projects/{project}/keys/{key}". + // format `projects/{project}/keys/{key}`. string key = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -638,7 +1177,7 @@ message RetrieveLegacySecretKeyRequest { // The get key request message. message GetKeyRequest { // Required. The name of the requested key, in the format - // "projects/{project}/keys/{key}". + // `projects/{project}/keys/{key}`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -661,7 +1200,7 @@ message UpdateKeyRequest { // The delete key request message. message DeleteKeyRequest { // Required. The name of the key to be deleted, in the format - // "projects/{project}/keys/{key}". + // `projects/{project}/keys/{key}`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -670,10 +1209,114 @@ message DeleteKeyRequest { ]; } +// The create firewall policy request message. +message CreateFirewallPolicyRequest { + // Required. The name of the project this policy will apply to, in the format + // `projects/{project}`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudresourcemanager.googleapis.com/Project" + } + ]; + + // Required. Information to create the policy. + FirewallPolicy firewall_policy = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// The list firewall policies request message. +message ListFirewallPoliciesRequest { + // Required. The name of the project to list the policies for, in the format + // `projects/{project}`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudresourcemanager.googleapis.com/Project" + } + ]; + + // Optional. The maximum number of policies to return. Default is 10. Max + // limit is 1000. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The next_page_token value returned from a previous. + // ListFirewallPoliciesRequest, if any. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// Response to request to list firewall policies belonging to a key. +message ListFirewallPoliciesResponse { + // Policy details. + repeated FirewallPolicy firewall_policies = 1; + + // Token to retrieve the next page of results. It is set to empty if no + // policies remain in results. + string next_page_token = 2; +} + +// The get firewall policy request message. +message GetFirewallPolicyRequest { + // Required. The name of the requested policy, in the format + // `projects/{project}/firewallpolicies/{firewallpolicy}`. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "recaptchaenterprise.googleapis.com/FirewallPolicy" + } + ]; +} + +// The update firewall policy request message. +message UpdateFirewallPolicyRequest { + // Required. The policy to update. + FirewallPolicy firewall_policy = 1 [(google.api.field_behavior) = REQUIRED]; + + // Optional. The mask to control which fields of the policy get updated. If + // the mask is not present, all fields will be updated. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = OPTIONAL]; +} + +// The delete firewall policy request message. +message DeleteFirewallPolicyRequest { + // Required. The name of the policy to be deleted, in the format + // `projects/{project}/firewallpolicies/{firewallpolicy}`. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "recaptchaenterprise.googleapis.com/FirewallPolicy" + } + ]; +} + +// The reorder firewall policies request message. +message ReorderFirewallPoliciesRequest { + // Required. The name of the project to list the policies for, in the format + // `projects/{project}`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudresourcemanager.googleapis.com/Project" + } + ]; + + // Required. A list containing all policy names, in the new order. Each name + // is in the format `projects/{project}/firewallpolicies/{firewallpolicy}`. + repeated string names = 2 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "recaptchaenterprise.googleapis.com/FirewallPolicy" + } + ]; +} + +// The reorder firewall policies response message. +message ReorderFirewallPoliciesResponse {} + // The migrate key request message. message MigrateKeyRequest { // Required. The name of the key to be migrated, in the format - // "projects/{project}/keys/{key}". + // `projects/{project}/keys/{key}`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -695,7 +1338,7 @@ message MigrateKeyRequest { // The get metrics request message. message GetMetricsRequest { // Required. The name of the requested metrics, in the format - // "projects/{project}/keys/{key}/metrics". + // `projects/{project}/keys/{key}/metrics`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -711,9 +1354,12 @@ message Metrics { pattern: "projects/{project}/keys/{key}/metrics" }; - // Output only. The name of the metrics, in the format - // "projects/{project}/keys/{key}/metrics". - string name = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Identifier. The name of the metrics, in the format + // `projects/{project}/keys/{key}/metrics`. + string name = 4 [ + (google.api.field_behavior) = IDENTIFIER, + (google.api.field_behavior) = OUTPUT_ONLY + ]; // Inclusive start time aligned to a day (UTC). google.protobuf.Timestamp start_time = 1; @@ -746,14 +1392,14 @@ message Key { pattern: "projects/{project}/keys/{key}" }; - // The resource name for the Key in the format - // "projects/{project}/keys/{key}". - string name = 1; + // Identifier. The resource name for the Key in the format + // `projects/{project}/keys/{key}`. + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; - // Human-readable display name of this key. Modifiable by user. - string display_name = 2; + // Required. Human-readable display name of this key. Modifiable by user. + string display_name = 2 [(google.api.field_behavior) = REQUIRED]; - // Platform specific settings for this key. The key can only be used on a + // Platform-specific settings for this key. The key can only be used on a // platform for which the settings are enabled. oneof platform_settings { // Settings for keys that can be used by websites. @@ -766,18 +1412,19 @@ message Key { IOSKeySettings ios_settings = 5; } - // See - // Creating and managing labels. - map labels = 6; + // Optional. See [Creating and managing labels] + // (https://cloud.google.com/recaptcha-enterprise/docs/labels). + map labels = 6 [(google.api.field_behavior) = OPTIONAL]; - // The timestamp corresponding to the creation of this Key. - google.protobuf.Timestamp create_time = 7; + // Output only. The timestamp corresponding to the creation of this key. + google.protobuf.Timestamp create_time = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Options for user acceptance testing. - TestingOptions testing_options = 9; + // Optional. Options for user acceptance testing. + TestingOptions testing_options = 9 [(google.api.field_behavior) = OPTIONAL]; - // Settings for WAF - WafSettings waf_settings = 10; + // Optional. Settings for WAF + WafSettings waf_settings = 10 [(google.api.field_behavior) = OPTIONAL]; } // Options for user acceptance testing. @@ -798,14 +1445,15 @@ message TestingOptions { UNSOLVABLE_CHALLENGE = 2; } - // All assessments for this Key will return this score. Must be between 0 - // (likely not legitimate) and 1 (likely legitimate) inclusive. - float testing_score = 1; + // Optional. All assessments for this Key will return this score. Must be + // between 0 (likely not legitimate) and 1 (likely legitimate) inclusive. + float testing_score = 1 [(google.api.field_behavior) = OPTIONAL]; - // For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests - // for this site will return nocaptcha if NOCAPTCHA, or an unsolvable - // challenge if CHALLENGE. - TestingChallenge testing_challenge = 2; + // Optional. For challenge-based keys only (CHECKBOX, INVISIBLE), all + // challenge requests for this site will return nocaptcha if NOCAPTCHA, or an + // unsolvable challenge if CHALLENGE. + TestingChallenge testing_challenge = 2 + [(google.api.field_behavior) = OPTIONAL]; } // Settings specific to keys that can be used by websites. @@ -846,46 +1494,81 @@ message WebKeySettings { SECURITY = 3; } - // If set to true, it means allowed_domains will not be enforced. - bool allow_all_domains = 3; + // Optional. If set to true, it means allowed_domains will not be enforced. + bool allow_all_domains = 3 [(google.api.field_behavior) = OPTIONAL]; - // Domains or subdomains of websites allowed to use the key. All subdomains - // of an allowed domain are automatically allowed. A valid domain requires a - // host and must not include any path, port, query or fragment. + // Optional. Domains or subdomains of websites allowed to use the key. All + // subdomains of an allowed domain are automatically allowed. A valid domain + // requires a host and must not include any path, port, query or fragment. // Examples: 'example.com' or 'subdomain.example.com' - repeated string allowed_domains = 1; + repeated string allowed_domains = 1 [(google.api.field_behavior) = OPTIONAL]; - // If set to true, the key can be used on AMP (Accelerated Mobile Pages) - // websites. This is supported only for the SCORE integration type. - bool allow_amp_traffic = 2; + // Optional. If set to true, the key can be used on AMP (Accelerated Mobile + // Pages) websites. This is supported only for the SCORE integration type. + bool allow_amp_traffic = 2 [(google.api.field_behavior) = OPTIONAL]; // Required. Describes how this key is integrated with the website. IntegrationType integration_type = 4 [(google.api.field_behavior) = REQUIRED]; - // Settings for the frequency and difficulty at which this key triggers - // captcha challenges. This should only be specified for IntegrationTypes - // CHECKBOX and INVISIBLE. - ChallengeSecurityPreference challenge_security_preference = 5; + // Optional. Settings for the frequency and difficulty at which this key + // triggers captcha challenges. This should only be specified for + // IntegrationTypes CHECKBOX and INVISIBLE. + ChallengeSecurityPreference challenge_security_preference = 5 + [(google.api.field_behavior) = OPTIONAL]; } // Settings specific to keys that can be used by Android apps. message AndroidKeySettings { - // If set to true, allowed_package_names are not enforced. - bool allow_all_package_names = 2; + // Optional. If set to true, allowed_package_names are not enforced. + bool allow_all_package_names = 2 [(google.api.field_behavior) = OPTIONAL]; - // Android package names of apps allowed to use the key. + // Optional. Android package names of apps allowed to use the key. // Example: 'com.companyname.appname' - repeated string allowed_package_names = 1; + repeated string allowed_package_names = 1 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Set to true for keys that are used in an Android application that + // is available for download in app stores in addition to the Google Play + // Store. + bool support_non_google_app_store_distribution = 3 + [(google.api.field_behavior) = OPTIONAL]; } // Settings specific to keys that can be used by iOS apps. message IOSKeySettings { - // If set to true, allowed_bundle_ids are not enforced. - bool allow_all_bundle_ids = 2; + // Optional. If set to true, allowed_bundle_ids are not enforced. + bool allow_all_bundle_ids = 2 [(google.api.field_behavior) = OPTIONAL]; - // iOS bundle ids of apps allowed to use the key. + // Optional. iOS bundle ids of apps allowed to use the key. // Example: 'com.companyname.productname.appname' - repeated string allowed_bundle_ids = 1; + repeated string allowed_bundle_ids = 1 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Apple Developer account details for the app that is protected by + // the reCAPTCHA Key. reCAPTCHA Enterprise leverages platform-specific checks + // like Apple App Attest and Apple DeviceCheck to protect your app from abuse. + // Providing these fields allows reCAPTCHA Enterprise to get a better + // assessment of the integrity of your app. + AppleDeveloperId apple_developer_id = 3 + [(google.api.field_behavior) = OPTIONAL]; +} + +// Contains fields that are required to perform Apple-specific integrity checks. +message AppleDeveloperId { + // Required. Input only. A private key (downloaded as a text file with a .p8 + // file extension) generated for your Apple Developer account. Ensure that + // Apple DeviceCheck is enabled for the private key. + string private_key = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.field_behavior) = INPUT_ONLY + ]; + + // Required. The Apple developer key ID (10-character string). + string key_id = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The Apple team ID (10-character string) owning the provisioning + // profile used to build your application. + string team_id = 3 [(google.api.field_behavior) = REQUIRED]; } // Score distribution. @@ -925,6 +1608,118 @@ message ChallengeMetrics { int64 passed_count = 4; } +// Policy config assessment. +message FirewallPolicyAssessment { + // Output only. If the processing of a policy config fails, an error will be + // populated and the firewall_policy will be left empty. + google.rpc.Status error = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The policy that matched the request. If more than one policy + // may match, this is the first match. If no policy matches the incoming + // request, the policy field will be left empty. + FirewallPolicy firewall_policy = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// An individual action. Each action represents what to do if a policy +// matches. +message FirewallAction { + // An allow action continues processing a request unimpeded. + message AllowAction {} + + // A block action serves an HTTP error code a prevents the request from + // hitting the backend. + message BlockAction {} + + // A redirect action returns a 307 (temporary redirect) response, pointing + // the user to a ReCaptcha interstitial page to attach a token. + message RedirectAction {} + + // A substitute action transparently serves a different page than the one + // requested. + message SubstituteAction { + // Optional. The address to redirect to. The target is a relative path in + // the current host. Example: "/blog/404.html". + string path = 1 [(google.api.field_behavior) = OPTIONAL]; + } + + // A set header action sets a header and forwards the request to the + // backend. This can be used to trigger custom protection implemented on the + // backend. + message SetHeaderAction { + // Optional. The header key to set in the request to the backend server. + string key = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The header value to set in the request to the backend server. + string value = 2 [(google.api.field_behavior) = OPTIONAL]; + } + + oneof firewall_action_oneof { + // The user request did not match any policy and should be allowed + // access to the requested resource. + AllowAction allow = 1; + + // This action will deny access to a given page. The user will get an HTTP + // error code. + BlockAction block = 2; + + // This action will redirect the request to a ReCaptcha interstitial to + // attach a token. + RedirectAction redirect = 5; + + // This action will transparently serve a different page to an offending + // user. + SubstituteAction substitute = 3; + + // This action will set a custom header but allow the request to continue + // to the customer backend. + SetHeaderAction set_header = 4; + } +} + +// A FirewallPolicy represents a single matching pattern and resulting actions +// to take. +message FirewallPolicy { + option (google.api.resource) = { + type: "recaptchaenterprise.googleapis.com/FirewallPolicy" + pattern: "projects/{project}/firewallpolicies/{firewallpolicy}" + }; + + // Identifier. The resource name for the FirewallPolicy in the format + // `projects/{project}/firewallpolicies/{firewallpolicy}`. + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; + + // Optional. A description of what this policy aims to achieve, for + // convenience purposes. The description can at most include 256 UTF-8 + // characters. + string description = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The path for which this policy applies, specified as a glob + // pattern. For more information on glob, see the [manual + // page](https://man7.org/linux/man-pages/man7/glob.7.html). + // A path has a max length of 200 characters. + string path = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. A CEL (Common Expression Language) conditional expression that + // specifies if this policy applies to an incoming user request. If this + // condition evaluates to true and the requested path matched the path + // pattern, the associated actions should be executed by the caller. The + // condition string is checked for CEL syntax correctness on creation. For + // more information, see the [CEL spec](https://github.com/google/cel-spec) + // and its [language + // definition](https://github.com/google/cel-spec/blob/master/doc/langdef.md). + // A condition has a max length of 500 characters. + string condition = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The actions that the caller should take regarding user access. + // There should be at most one terminal action. A terminal action is any + // action that forces a response, such as `AllowAction`, + // `BlockAction` or `SubstituteAction`. + // Zero or more non-terminal actions such as `SetHeader` might be + // specified. A single policy can contain up to 16 actions. + repeated FirewallAction actions = 6 [(google.api.field_behavior) = OPTIONAL]; +} + // The request message to list memberships in a related account group. message ListRelatedAccountGroupMembershipsRequest { // Required. The resource name for the related account group in the format @@ -963,7 +1758,7 @@ message ListRelatedAccountGroupMembershipsResponse { // The request message to list related account groups. message ListRelatedAccountGroupsRequest { // Required. The name of the project to list related account groups from, in - // the format "projects/{project}". + // the format `projects/{project}`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -999,7 +1794,7 @@ message ListRelatedAccountGroupsResponse { message SearchRelatedAccountGroupMembershipsRequest { // Required. The name of the project to search related account group // memberships from. Specify the project name in the following format: - // "projects/{project}". + // `projects/{project}`. string project = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1007,10 +1802,19 @@ message SearchRelatedAccountGroupMembershipsRequest { } ]; - // Optional. The unique stable hashed user identifier we should search - // connections to. The identifier should correspond to a `hashed_account_id` - // provided in a previous `CreateAssessment` or `AnnotateAssessment` call. - bytes hashed_account_id = 2 [(google.api.field_behavior) = OPTIONAL]; + // Optional. The unique stable account identifier used to search connections. + // The identifier should correspond to an `account_id` provided in a previous + // `CreateAssessment` or `AnnotateAssessment` call. Either hashed_account_id + // or account_id must be set, but not both. + string account_id = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Deprecated: use `account_id` instead. + // The unique stable hashed account identifier used to search connections. The + // identifier should correspond to a `hashed_account_id` provided in a + // previous `CreateAssessment` or `AnnotateAssessment` call. Either + // hashed_account_id or account_id must be set, but not both. + bytes hashed_account_id = 2 + [deprecated = true, (google.api.field_behavior) = OPTIONAL]; // Optional. The maximum number of groups to return. The service might return // fewer than this value. If unspecified, at most 50 groups are returned. The @@ -1044,19 +1848,26 @@ message RelatedAccountGroupMembership { pattern: "projects/{project}/relatedaccountgroups/{relatedaccountgroup}/memberships/{membership}" }; - // Required. The resource name for this membership in the format + // Required. Identifier. The resource name for this membership in the format // `projects/{project}/relatedaccountgroups/{relatedaccountgroup}/memberships/{membership}`. string name = 1 [ + (google.api.field_behavior) = IDENTIFIER, (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { type: "recaptchaenterprise.googleapis.com/RelatedAccountGroupMembership" } ]; - // The unique stable hashed user identifier of the member. The identifier + // The unique stable account identifier of the member. The identifier + // corresponds to an `account_id` provided in a previous `CreateAssessment` or + // `AnnotateAssessment` call. + string account_id = 4; + + // Deprecated: use `account_id` instead. + // The unique stable hashed account identifier of the member. The identifier // corresponds to a `hashed_account_id` provided in a previous // `CreateAssessment` or `AnnotateAssessment` call. - bytes hashed_account_id = 2; + bytes hashed_account_id = 2 [deprecated = true]; } // A group of related accounts. @@ -1066,9 +1877,11 @@ message RelatedAccountGroup { pattern: "projects/{project}/relatedaccountgroups/{relatedaccountgroup}" }; - // Required. The resource name for the related account group in the format + // Required. Identifier. The resource name for the related account group in + // the format // `projects/{project}/relatedaccountgroups/{related_account_group}`. string name = 1 [ + (google.api.field_behavior) = IDENTIFIER, (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { type: "recaptchaenterprise.googleapis.com/RelatedAccountGroup" @@ -1094,6 +1907,10 @@ message WafSettings { // Use reCAPTCHA action-tokens to protect user actions. ACTION_TOKEN = 3; + + // Use reCAPTCHA WAF express protection to protect any content other than + // web pages, like APIs and IoT devices. + EXPRESS = 5; } // Web Application Firewalls supported by reCAPTCHA Enterprise. @@ -1103,6 +1920,9 @@ message WafSettings { // Cloud Armor CA = 1; + + // Fastly + FASTLY = 3; } // Required. The WAF service that uses this key. @@ -1110,4 +1930,4 @@ message WafSettings { // Required. The WAF feature for which this key is enabled. WafFeature waf_feature = 2 [(google.api.field_behavior) = REQUIRED]; -} \ No newline at end of file +} diff --git a/third_party/googleapis/google/cloud/recaptchaenterprise/v1/recaptchaenterprise_v1.yaml b/third_party/googleapis/google/cloud/recaptchaenterprise/v1/recaptchaenterprise_v1.yaml index ed7fab727..39627896f 100644 --- a/third_party/googleapis/google/cloud/recaptchaenterprise/v1/recaptchaenterprise_v1.yaml +++ b/third_party/googleapis/google/cloud/recaptchaenterprise/v1/recaptchaenterprise_v1.yaml @@ -18,6 +18,3 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform - -publishing: - organization: CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED diff --git a/third_party/googleapis/google/cloud/recaptchaenterprise/v1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/recaptchaenterprise/v1beta1/BUILD.bazel index d1ecbe38e..da185a5dc 100644 --- a/third_party/googleapis/google/cloud/recaptchaenterprise/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/recaptchaenterprise/v1beta1/BUILD.bazel @@ -1,5 +1,5 @@ # This file was automatically generated by BuildFileGenerator -# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +# 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: @@ -28,8 +28,6 @@ proto_library( "//google/api:client_proto", "//google/api:field_behavior_proto", "//google/api:resource_proto", - "@com_google_protobuf//:empty_proto", - "@com_google_protobuf//:field_mask_proto", "@com_google_protobuf//:timestamp_proto", ], ) @@ -71,12 +69,14 @@ java_gapic_library( gapic_yaml = "recaptchaenterprise_gapic.yaml", grpc_service_config = "recaptchaenterprise_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "recaptchaenterprise_v1beta1.yaml", test_deps = [ ":recaptchaenterprise_java_grpc", ], transport = "grpc+rest", deps = [ ":recaptchaenterprise_java_proto", + "//google/api:api_java_proto", ], ) @@ -110,13 +110,12 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( name = "recaptchaenterprise_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "cloud.google.com/go/recaptchaenterprise/apiv1beta1/recaptchaenterprisepb", + importpath = "cloud.google.com/go/recaptchaenterprise/v2/apiv1beta1/recaptchaenterprisepb", protos = [":recaptchaenterprise_proto"], deps = [ "//google/api:annotations_go_proto", @@ -127,7 +126,8 @@ go_gapic_library( name = "recaptchaenterprise_go_gapic", srcs = [":recaptchaenterprise_proto_with_info"], grpc_service_config = "recaptchaenterprise_grpc_service_config.json", - importpath = "cloud.google.com/go/recaptchaenterprise/apiv1beta1;recaptchaenterprise", + importpath = "cloud.google.com/go/recaptchaenterprise/v2/apiv1beta1;recaptchaenterprise", + metadata = True, release_level = "beta", rest_numeric_enums = True, service_yaml = "recaptchaenterprise_v1beta1.yaml", @@ -137,18 +137,13 @@ go_gapic_library( ], ) -go_test( - name = "recaptchaenterprise_go_gapic_test", - srcs = [":recaptchaenterprise_go_gapic_srcjar_test"], - embed = [":recaptchaenterprise_go_gapic"], - importpath = "cloud.google.com/go/recaptchaenterprise/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-recaptchaenterprise-v1beta1-go", deps = [ ":recaptchaenterprise_go_gapic", + ":recaptchaenterprise_go_gapic_srcjar-metadata.srcjar", + ":recaptchaenterprise_go_gapic_srcjar-snippets.srcjar", ":recaptchaenterprise_go_gapic_srcjar-test.srcjar", ":recaptchaenterprise_go_proto", ], @@ -168,12 +163,12 @@ py_gapic_library( name = "recaptchaenterprise_py_gapic", srcs = [":recaptchaenterprise_proto"], grpc_service_config = "recaptchaenterprise_grpc_service_config.json", - opt_args = [ - "warehouse-package-name=google-cloud-recaptcha-enterprise", - ], + opt_args = ["warehouse-package-name=google-cloud-recaptcha-enterprise"], rest_numeric_enums = True, service_yaml = "recaptchaenterprise_v1beta1.yaml", transport = "grpc+rest", + deps = [ + ], ) py_test( @@ -201,7 +196,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -210,21 +204,15 @@ php_proto_library( deps = [":recaptchaenterprise_proto"], ) -php_grpc_library( - name = "recaptchaenterprise_php_grpc", - srcs = [":recaptchaenterprise_proto"], - deps = [":recaptchaenterprise_php_proto"], -) - php_gapic_library( name = "recaptchaenterprise_php_gapic", srcs = [":recaptchaenterprise_proto_with_info"], grpc_service_config = "recaptchaenterprise_grpc_service_config.json", + migration_mode = "PRE_MIGRATION_SURFACE_ONLY", rest_numeric_enums = True, service_yaml = "recaptchaenterprise_v1beta1.yaml", transport = "grpc+rest", deps = [ - ":recaptchaenterprise_php_grpc", ":recaptchaenterprise_php_proto", ], ) @@ -234,7 +222,6 @@ php_gapic_assembly_pkg( name = "google-cloud-recaptchaenterprise-v1beta1-php", deps = [ ":recaptchaenterprise_php_gapic", - ":recaptchaenterprise_php_grpc", ":recaptchaenterprise_php_proto", ], ) @@ -295,11 +282,11 @@ ruby_cloud_gapic_library( name = "recaptchaenterprise_ruby_gapic", srcs = [":recaptchaenterprise_proto_with_info"], extra_protoc_parameters = [ - "ruby-cloud-gem-name=google-cloud-recaptcha_enterprise-v1beta1", - "ruby-cloud-env-prefix=RECAPTCHA_ENTERPRISE", - "ruby-cloud-product-url=https://cloud.google.com/recaptcha-enterprise", "ruby-cloud-api-id=recaptchaenterprise.googleapis.com", "ruby-cloud-api-shortname=recaptchaenterprise", + "ruby-cloud-env-prefix=RECAPTCHA_ENTERPRISE", + "ruby-cloud-gem-name=google-cloud-recaptcha_enterprise-v1beta1", + "ruby-cloud-product-url=https://cloud.google.com/recaptcha-enterprise", "ruby-cloud-service-override=RecaptchaEnterpriseServiceV1Beta1=RecaptchaEnterpriseService", ], grpc_service_config = "recaptchaenterprise_grpc_service_config.json", @@ -307,6 +294,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "reCAPTCHA Enterprise is a service that protects your site from spam and abuse.", ruby_cloud_title = "reCAPTCHA Enterprise V1beta1", service_yaml = "recaptchaenterprise_v1beta1.yaml", + transport = "grpc+rest", deps = [ ":recaptchaenterprise_ruby_grpc", ":recaptchaenterprise_ruby_proto", @@ -372,4 +360,20 @@ csharp_gapic_assembly_pkg( ############################################################################## # C++ ############################################################################## -# Put your C++ rules here +load( + "@com_google_googleapis_imports//:imports.bzl", + "cc_grpc_library", + "cc_proto_library", +) + +cc_proto_library( + name = "recaptchaenterprise_cc_proto", + deps = [":recaptchaenterprise_proto"], +) + +cc_grpc_library( + name = "recaptchaenterprise_cc_grpc", + srcs = [":recaptchaenterprise_proto"], + grpc_only = True, + deps = [":recaptchaenterprise_cc_proto"], +) diff --git a/third_party/googleapis/google/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise.proto b/third_party/googleapis/google/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise.proto index ba7aaaa6a..3172a6047 100644 --- a/third_party/googleapis/google/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise.proto +++ b/third_party/googleapis/google/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -23,7 +23,7 @@ import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.RecaptchaEnterprise.V1Beta1"; -option go_package = "cloud.google.com/go/recaptchaenterprise/apiv1beta1/recaptchaenterprisepb;recaptchaenterprisepb"; +option go_package = "cloud.google.com/go/recaptchaenterprise/v2/apiv1beta1/recaptchaenterprisepb;recaptchaenterprisepb"; option java_multiple_files = true; option java_outer_classname = "RecaptchaEnterpriseProto"; option java_package = "com.google.recaptchaenterprise.v1beta1"; @@ -34,7 +34,8 @@ option ruby_package = "Google::Cloud::RecaptchaEnterprise::V1beta1"; // Service to determine the likelihood an event is legitimate. service RecaptchaEnterpriseServiceV1Beta1 { option (google.api.default_host) = "recaptchaenterprise.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Creates an Assessment of the likelihood an event is legitimate. rpc CreateAssessment(CreateAssessmentRequest) returns (Assessment) { @@ -47,7 +48,8 @@ service RecaptchaEnterpriseServiceV1Beta1 { // Annotates a previously created Assessment to provide additional information // on whether the event turned out to be authentic or fradulent. - rpc AnnotateAssessment(AnnotateAssessmentRequest) returns (AnnotateAssessmentResponse) { + rpc AnnotateAssessment(AnnotateAssessmentRequest) + returns (AnnotateAssessmentResponse) { option (google.api.http) = { post: "/v1beta1/{name=projects/*/assessments/*}:annotate" body: "*" @@ -59,7 +61,7 @@ service RecaptchaEnterpriseServiceV1Beta1 { // The create assessment request message. message CreateAssessmentRequest { // Required. The name of the project in which the assessment will be created, - // in the format "projects/{project_number}". + // in the format `projects/{project_number}`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -71,6 +73,125 @@ message CreateAssessmentRequest { Assessment assessment = 2 [(google.api.field_behavior) = REQUIRED]; } +// Describes an event in the lifecycle of a payment transaction. +message TransactionEvent { + // Enum that represents an event in the payment transaction lifecycle. + enum TransactionEventType { + // Default, unspecified event type. + TRANSACTION_EVENT_TYPE_UNSPECIFIED = 0; + + // Indicates that the transaction is approved by the merchant. The + // accompanying reasons can include terms such as 'INHOUSE', 'ACCERTIFY', + // 'CYBERSOURCE', or 'MANUAL_REVIEW'. + MERCHANT_APPROVE = 1; + + // Indicates that the transaction is denied and concluded due to risks + // detected by the merchant. The accompanying reasons can include terms such + // as 'INHOUSE', 'ACCERTIFY', 'CYBERSOURCE', or 'MANUAL_REVIEW'. + MERCHANT_DENY = 2; + + // Indicates that the transaction is being evaluated by a human, due to + // suspicion or risk. + MANUAL_REVIEW = 3; + + // Indicates that the authorization attempt with the card issuer succeeded. + AUTHORIZATION = 4; + + // Indicates that the authorization attempt with the card issuer failed. + // The accompanying reasons can include Visa's '54' indicating that the card + // is expired, or '82' indicating that the CVV is incorrect. + AUTHORIZATION_DECLINE = 5; + + // Indicates that the transaction is completed because the funds were + // settled. + PAYMENT_CAPTURE = 6; + + // Indicates that the transaction could not be completed because the funds + // were not settled. + PAYMENT_CAPTURE_DECLINE = 7; + + // Indicates that the transaction has been canceled. Specify the reason + // for the cancellation. For example, 'INSUFFICIENT_INVENTORY'. + CANCEL = 8; + + // Indicates that the merchant has received a chargeback inquiry due to + // fraud for the transaction, requesting additional information before a + // fraud chargeback is officially issued and a formal chargeback + // notification is sent. + CHARGEBACK_INQUIRY = 9; + + // Indicates that the merchant has received a chargeback alert due to fraud + // for the transaction. The process of resolving the dispute without + // involving the payment network is started. + CHARGEBACK_ALERT = 10; + + // Indicates that a fraud notification is issued for the transaction, sent + // by the payment instrument's issuing bank because the transaction appears + // to be fraudulent. We recommend including TC40 or SAFE data in the + // `reason` field for this event type. For partial chargebacks, we recommend + // that you include an amount in the `value` field. + FRAUD_NOTIFICATION = 11; + + // Indicates that the merchant is informed by the payment network that the + // transaction has entered the chargeback process due to fraud. Reason code + // examples include Discover's '6005' and '6041'. For partial chargebacks, + // we recommend that you include an amount in the `value` field. + CHARGEBACK = 12; + + // Indicates that the transaction has entered the chargeback process due to + // fraud, and that the merchant has chosen to enter representment. Reason + // examples include Discover's '6005' and '6041'. For partial chargebacks, + // we recommend that you include an amount in the `value` field. + CHARGEBACK_REPRESENTMENT = 13; + + // Indicates that the transaction has had a fraud chargeback which was + // illegitimate and was reversed as a result. For partial chargebacks, we + // recommend that you include an amount in the `value` field. + CHARGEBACK_REVERSE = 14; + + // Indicates that the merchant has received a refund for a completed + // transaction. For partial refunds, we recommend that you include an amount + // in the `value` field. Reason example: 'TAX_EXEMPT' (partial refund of + // exempt tax) + REFUND_REQUEST = 15; + + // Indicates that the merchant has received a refund request for this + // transaction, but that they have declined it. For partial refunds, we + // recommend that you include an amount in the `value` field. Reason + // example: 'TAX_EXEMPT' (partial refund of exempt tax) + REFUND_DECLINE = 16; + + // Indicates that the completed transaction was refunded by the merchant. + // For partial refunds, we recommend that you include an amount in the + // `value` field. Reason example: 'TAX_EXEMPT' (partial refund of exempt + // tax) + REFUND = 17; + + // Indicates that the completed transaction was refunded by the merchant, + // and that this refund was reversed. For partial refunds, we recommend that + // you include an amount in the `value` field. + REFUND_REVERSE = 18; + } + + // Optional. The type of this transaction event. + TransactionEventType event_type = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The reason or standardized code that corresponds with this + // transaction event, if one exists. For example, a CHARGEBACK event with code + // 6005. + string reason = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The value that corresponds with this transaction event, if one + // exists. For example, a refund event where $5.00 was refunded. Currency is + // obtained from the original transaction data. + double value = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Timestamp when this transaction event occurred; otherwise assumed + // to be the time of the API call. + google.protobuf.Timestamp event_time = 4 + [(google.api.field_behavior) = OPTIONAL]; +} + // The request message to annotate an Assessment. message AnnotateAssessmentRequest { // Enum that represents the types of annotations. @@ -100,21 +221,38 @@ message AnnotateAssessmentRequest { // Default unspecified reason. REASON_UNSPECIFIED = 0; - // Indicates a chargeback issued for the transaction with no other details. - // When possible, specify the type by using CHARGEBACK_FRAUD or + // Indicates that the transaction had a chargeback issued with no other + // details. When possible, specify the type by using CHARGEBACK_FRAUD or // CHARGEBACK_DISPUTE instead. CHARGEBACK = 1; - // Indicates a chargeback related to an alleged unauthorized transaction - // from the cardholder's perspective (for example, the card number was - // stolen). + // Indicates that the transaction had a chargeback issued related to an + // alleged unauthorized transaction from the cardholder's perspective (for + // example, the card number was stolen). CHARGEBACK_FRAUD = 8; - // Indicates a chargeback related to the cardholder having provided their - // card details but allegedly not being satisfied with the purchase - // (for example, misrepresentation, attempted cancellation). + // Indicates that the transaction had a chargeback issued related to the + // cardholder having provided their card details but allegedly not being + // satisfied with the purchase (for example, misrepresentation, attempted + // cancellation). CHARGEBACK_DISPUTE = 9; + // Indicates that the completed payment transaction was refunded by the + // seller. + REFUND = 10; + + // Indicates that the completed payment transaction was determined to be + // fraudulent by the seller, and was cancelled and refunded as a result. + REFUND_FRAUD = 11; + + // Indicates that the payment transaction was accepted, and the user was + // charged. + TRANSACTION_ACCEPTED = 12; + + // Indicates that the payment transaction was declined, for example due to + // invalid card details. + TRANSACTION_DECLINED = 13; + // Indicates the transaction associated with the assessment is suspected of // being fraudulent based on the payment method, billing details, shipping // address or other transaction information. @@ -137,10 +275,14 @@ message AnnotateAssessmentRequest { // Indicates the user provided an incorrect password. INCORRECT_PASSWORD = 6; + + // Indicates that the user sent unwanted and abusive messages to other users + // of the platform, such as spam, scams, phishing, or social engineering. + SOCIAL_SPAM = 14; } // Required. The resource name of the Assessment, in the format - // "projects/{project_number}/assessments/{assessment_id}". + // `projects/{project_number}/assessments/{assessment_id}`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -148,43 +290,47 @@ message AnnotateAssessmentRequest { } ]; - // Optional. The annotation that will be assigned to the Event. This field can be left - // empty to provide reasons that apply to an event without concluding whether - // the event is legitimate or fraudulent. + // Optional. The annotation that will be assigned to the Event. This field can + // be left empty to provide reasons that apply to an event without concluding + // whether the event is legitimate or fraudulent. Annotation annotation = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Optional reasons for the annotation that will be assigned to the Event. + // Optional. Reasons for the annotation that are assigned to the event. repeated Reason reasons = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Optional unique stable hashed user identifier to apply to the assessment. - // This is an alternative to setting the hashed_account_id in - // CreateAssessment, for example when the account identifier is not yet known - // in the initial request. It is recommended that the identifier is hashed - // using hmac-sha256 with stable secret. + // Optional. Unique stable hashed user identifier to apply to the assessment. + // This is an alternative to setting the `hashed_account_id` in + // `CreateAssessment`, for example, when the account identifier is not yet + // known in the initial request. It is recommended that the identifier is + // hashed using hmac-sha256 with stable secret. bytes hashed_account_id = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If the assessment is part of a payment transaction, provide + // details on payment lifecycle events that occur in the transaction. + TransactionEvent transaction_event = 5 + [(google.api.field_behavior) = OPTIONAL]; } // Empty response for AnnotateAssessment. -message AnnotateAssessmentResponse { - -} +message AnnotateAssessmentResponse {} // Password leak verification info. message PasswordLeakVerification { - // Optional. Scrypt hash of the username+password that the customer wants to verify - // against a known password leak. + // Optional. Scrypt hash of the username+password that the customer wants to + // verify against a known password leak. bytes hashed_user_credentials = 1 [(google.api.field_behavior) = OPTIONAL]; - // Output only. Whether or not the user's credentials are present in a known leak. + // Output only. Whether or not the user's credentials are present in a known + // leak. bool credentials_leaked = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Optional. The username part of the user credentials for which we want to trigger a - // leak check in canonicalized form. This is the same data used to create the - // hashed_user_credentials on the customer side. + // Optional. The username part of the user credentials for which we want to + // trigger a leak check in canonicalized form. This is the same data used to + // create the hashed_user_credentials on the customer side. string canonicalized_username = 3 [(google.api.field_behavior) = OPTIONAL]; } -// A recaptcha assessment resource. +// A reCAPTCHA Enterprise assessment resource. message Assessment { option (google.api.resource) = { type: "recaptchaenterprise.googleapis.com/Assessment" @@ -212,10 +358,16 @@ message Assessment { // Too little traffic has been received from this site thus far to generate // quality risk analysis. LOW_CONFIDENCE_SCORE = 5; + + // The request matches behavioral characteristics of a carding attack. + SUSPECTED_CARDING = 6; + + // The request matches behavioral characteristics of chargebacks for fraud. + SUSPECTED_CHARGEBACK = 7; } // Output only. The resource name for the Assessment in the format - // "projects/{project_number}/assessments/{assessment_id}". + // `projects/{project_number}/assessments/{assessment_id}`. string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // The event being assessed. @@ -227,10 +379,12 @@ message Assessment { float score = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Properties of the provided event token. - TokenProperties token_properties = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + TokenProperties token_properties = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Reasons contributing to the risk analysis verdict. - repeated ClassificationReason reasons = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated ClassificationReason reasons = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Information about the user's credentials used to check for leaks. // This feature is part of the Early Access Program (EAP). Exercise caution, @@ -238,35 +392,181 @@ message Assessment { // environment. PasswordLeakVerification password_leak_verification = 7; - // Assessment returned by Account Defender when a hashed_account_id is + // Assessment returned by account defender when a hashed_account_id is // provided. AccountDefenderAssessment account_defender_assessment = 8; + + // Assessment returned by Fraud Prevention when TransactionData is provided. + FraudPreventionAssessment fraud_prevention_assessment = 11; } message Event { - // Optional. The user response token provided by the reCAPTCHA client-side integration - // on your site. + // Optional. The user response token provided by the reCAPTCHA Enterprise + // client-side integration on your site. string token = 1 [(google.api.field_behavior) = OPTIONAL]; - // Optional. The site key that was used to invoke reCAPTCHA on your site and generate - // the token. + // Optional. The site key that was used to invoke reCAPTCHA Enterprise on your + // site and generate the token. string site_key = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. The user agent present in the request from the user's device related to - // this event. + // Optional. The user agent present in the request from the user's device + // related to this event. string user_agent = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. The IP address in the request from the user's device related to this event. + // Optional. The IP address in the request from the user's device related to + // this event. string user_ip_address = 4 [(google.api.field_behavior) = OPTIONAL]; - // Optional. The expected action for this type of event. This should be the same action - // provided at token generation time on client-side platforms already - // integrated with recaptcha enterprise. + // Optional. The expected action for this type of event. This should be the + // same action provided at token generation time on client-side platforms + // already integrated with recaptcha enterprise. string expected_action = 5 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Optional unique stable hashed user identifier for the request. The - // identifier should ideally be hashed using sha256 with stable secret. + // Optional. Unique stable hashed user identifier for the request. The + // identifier must be hashed using hmac-sha256 with stable secret. bytes hashed_account_id = 6 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Data describing a payment transaction to be assessed. Sending + // this data enables reCAPTCHA Enterprise Fraud Prevention and the + // FraudPreventionAssessment component in the response. + TransactionData transaction_data = 13 + [(google.api.field_behavior) = OPTIONAL]; +} + +// Transaction data associated with a payment protected by reCAPTCHA Enterprise. +message TransactionData { + // Structured address format for billing and shipping addresses. + message Address { + // The recipient name, potentially including information such as "care of". + string recipient = 1; + + // The first lines of the address. The first line generally contains the + // street name and number, and further lines may include information such as + // an apartment number. + repeated string address = 2; + + // The town/city of the address. + string locality = 3; + + // The state, province, or otherwise administrative area of the address. + string administrative_area = 4; + + // The CLDR country/region of the address. + string region_code = 5; + + // The postal or ZIP code of the address. + string postal_code = 6; + } + + // Details about a user's account involved in the transaction. + message User { + // Unique account identifier for this user. If using account defender, + // this should match the hashed_account_id field. Otherwise, a unique and + // persistent identifier for this account. + string account_id = 6; + + // The epoch milliseconds of the user's account creation. + int64 creation_ms = 1; + + // The email address of the user. + string email = 2; + + // Whether the email has been verified to be accessible by the user (OTP or + // similar). + bool email_verified = 3; + + // The phone number of the user, with country code. + string phone_number = 4; + + // Whether the phone number has been verified to be accessible by the user + // (OTP or similar). + bool phone_verified = 5; + } + + // Line items being purchased in this transaction. + message Item { + // The full name of the item. + string name = 1; + + // The value per item that the user is paying, in the transaction currency, + // after discounts. + double value = 2; + + // The quantity of this item that is being purchased. + int64 quantity = 3; + + // When a merchant is specified, its corresponding account_id. Necessary to + // populate marketplace-style transactions. + string merchant_account_id = 4; + } + + // Details about the transaction from the gateway. + message GatewayInfo { + // Name of the gateway service (for example, stripe, square, paypal). + string name = 1; + + // Gateway response code describing the state of the transaction. + string gateway_response_code = 2; + + // AVS response code from the gateway + // (available only when reCAPTCHA Enterprise is called after authorization). + string avs_response_code = 3; + + // CVV response code from the gateway + // (available only when reCAPTCHA Enterprise is called after authorization). + string cvv_response_code = 4; + } + + // Unique identifier for the transaction. This custom identifier can be used + // to reference this transaction in the future, for example, labeling a refund + // or chargeback event. Two attempts at the same transaction should use the + // same transaction id. + optional string transaction_id = 11; + + // The payment method for the transaction. The allowed values are: + // + // * credit-card + // * debit-card + // * gift-card + // * processor-{name} (If a third-party is used, for example, + // processor-paypal) + // * custom-{name} (If an alternative method is used, for example, + // custom-crypto) + string payment_method = 1; + + // The Bank Identification Number - generally the first 6 or 8 digits of the + // card. + string card_bin = 2; + + // The last four digits of the card. + string card_last_four = 3; + + // The currency code in ISO-4217 format. + string currency_code = 4; + + // The decimal value of the transaction in the specified currency. + double value = 5; + + // The value of shipping in the specified currency. 0 for free or no shipping. + double shipping_value = 12; + + // Destination address if this transaction involves shipping a physical item. + Address shipping_address = 6; + + // Address associated with the payment method when applicable. + Address billing_address = 7; + + // Information about the user paying/initiating the transaction. + User user = 8; + + // Information about the user or users fulfilling the transaction. + repeated User merchants = 13; + + // Items purchased in this transaction. + repeated Item items = 14; + + // Information about the payment gateway's response to the transaction. + GatewayInfo gateway_info = 10; } message TokenProperties { @@ -288,7 +588,7 @@ message TokenProperties { DUPE = 4; // The user verification token did not match the provided site key. - // This may be a configuration error (e.g. development keys used in + // This may be a configuration error (for example, development keys used in // production) or end users trying to use verification tokens from other // sites. SITE_MISMATCH = 5 [deprecated = true]; @@ -321,9 +621,49 @@ message TokenProperties { string action = 5; } -// Account Defender risk assessment. +// Assessment for Fraud Prevention. +message FraudPreventionAssessment { + // Information about stolen instrument fraud, where the user is not the + // legitimate owner of the instrument being used for the purchase. + message StolenInstrumentVerdict { + // Probability (0-1) of this transaction being executed with a stolen + // instrument. + float risk = 1; + } + + // Information about card testing fraud, where an adversary is testing + // fraudulently obtained cards or brute forcing their details. + message CardTestingVerdict { + // Probability (0-1) of this transaction attempt being part of a card + // testing attack. + float risk = 1; + } + + // Information about behavioral trust of the transaction. + message BehavioralTrustVerdict { + // Probability (0-1) of this transaction attempt being executed in a + // behaviorally trustworthy way. + float trust = 1; + } + + // Probability (0-1) of this transaction being fraudulent. Summarizes the + // combined risk of attack vectors below. + float transaction_risk = 1; + + // Assessment of this transaction for risk of a stolen instrument. + StolenInstrumentVerdict stolen_instrument_verdict = 2; + + // Assessment of this transaction for risk of being part of a card testing + // attack. + CardTestingVerdict card_testing_verdict = 3; + + // Assessment of this transaction for behavioral trust. + BehavioralTrustVerdict behavioral_trust_verdict = 4; +} + +// Account defender risk assessment. message AccountDefenderAssessment { - // Labels returned by Account Defender for this request. + // Labels returned by account defender for this request. enum AccountDefenderLabel { // Default unspecified type. ACCOUNT_DEFENDER_LABEL_UNSPECIFIED = 0; diff --git a/third_party/googleapis/google/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise_v1beta1.yaml b/third_party/googleapis/google/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise_v1beta1.yaml index 4996c5a4f..8689a4f50 100644 --- a/third_party/googleapis/google/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise_v1beta1.yaml +++ b/third_party/googleapis/google/cloud/recaptchaenterprise/v1beta1/recaptchaenterprise_v1beta1.yaml @@ -6,6 +6,12 @@ title: reCAPTCHA Enterprise API apis: - name: google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1 +documentation: + summary: |- + Help protect your website from fraudulent activity, spam, and abuse without + creating friction. + overview: reCAPTCHA Enterprise Overview + authentication: rules: - selector: google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1.AnnotateAssessment diff --git a/third_party/googleapis/google/cloud/recommendationengine/BUILD.bazel b/third_party/googleapis/google/cloud/recommendationengine/BUILD.bazel index 01b32ecbd..71863a8fb 100644 --- a/third_party/googleapis/google/cloud/recommendationengine/BUILD.bazel +++ b/third_party/googleapis/google/cloud/recommendationengine/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-recommendation_engine", "ruby-cloud-env-prefix=RECOMMENDATION_ENGINE", - "ruby-cloud-wrapper-of=v1beta1:0.0", + "ruby-cloud-wrapper-of=v1beta1:0.8", "ruby-cloud-product-url=https://cloud.google.com/recommendations-ai/", "ruby-cloud-api-id=recommendationengine.googleapis.com", "ruby-cloud-api-shortname=recommendationengine", ], ruby_cloud_description = "Recommendations AI enables you to build an end-to-end personalized recommendation system based on state-of-the-art deep learning ML models, without a need for expertise in ML or recommendation systems.", ruby_cloud_title = "Recommendations AI", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/recommendationengine/v1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/recommendationengine/v1beta1/BUILD.bazel index 5efad7cf2..e913781b0 100644 --- a/third_party/googleapis/google/cloud/recommendationengine/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/recommendationengine/v1beta1/BUILD.bazel @@ -13,7 +13,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -23,7 +22,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -93,6 +91,7 @@ java_gapic_library( gapic_yaml = "recommendationengine_gapic.yaml", grpc_service_config = "recommendationengine_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "recommendationengine_v1beta1.yaml", test_deps = [ ":recommendationengine_java_grpc", ], @@ -165,18 +164,12 @@ go_gapic_library( ], ) -go_test( - name = "recommendationengine_go_gapic_test", - srcs = [":recommendationengine_go_gapic_srcjar_test"], - embed = [":recommendationengine_go_gapic"], - importpath = "cloud.google.com/go/recommendationengine/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-recommendationengine-v1beta1-go", deps = [ ":recommendationengine_go_gapic", + ":recommendationengine_go_gapic_srcjar-snippets.srcjar", ":recommendationengine_go_gapic_srcjar-test.srcjar", ":recommendationengine_go_proto", ], @@ -215,24 +208,16 @@ php_proto_library( deps = [":recommendationengine_proto"], ) -php_grpc_library( - name = "recommendationengine_php_grpc", - srcs = [":recommendationengine_proto"], - deps = [":recommendationengine_php_proto"], -) - php_gapic_library( name = "recommendationengine_php_gapic", srcs = [":recommendationengine_proto_with_info"], gapic_yaml = "recommendationengine_gapic.yaml", grpc_service_config = "recommendationengine_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "recommendationengine_v1beta1.yaml", transport = "grpc+rest", - deps = [ - ":recommendationengine_php_grpc", - ":recommendationengine_php_proto", - ], + deps = [":recommendationengine_php_proto"], ) # Open Source Packages @@ -240,7 +225,6 @@ php_gapic_assembly_pkg( name = "google-cloud-recommendationengine-v1beta1-php", deps = [ ":recommendationengine_php_gapic", - ":recommendationengine_php_grpc", ":recommendationengine_php_proto", ], ) @@ -291,6 +275,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Recommendations AI enables you to build an end-to-end personalized recommendation system based on state-of-the-art deep learning ML models, without a need for expertise in ML or recommendation systems.", ruby_cloud_title = "Recommendations AI V1beta1", service_yaml = "recommendationengine_v1beta1.yaml", + transport = "grpc+rest", deps = [ ":recommendationengine_ruby_grpc", ":recommendationengine_ruby_proto", diff --git a/third_party/googleapis/google/cloud/recommender/BUILD.bazel b/third_party/googleapis/google/cloud/recommender/BUILD.bazel index cb9632973..b1843cb4d 100644 --- a/third_party/googleapis/google/cloud/recommender/BUILD.bazel +++ b/third_party/googleapis/google/cloud/recommender/BUILD.bazel @@ -22,7 +22,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-recommender", "ruby-cloud-env-prefix=RECOMMENDER", - "ruby-cloud-wrapper-of=v1:0.1", + "ruby-cloud-wrapper-of=v1:0.17", "ruby-cloud-product-url=https://cloud.google.com/recommender", "ruby-cloud-api-id=recommender.googleapis.com", "ruby-cloud-api-shortname=recommender", @@ -30,6 +30,7 @@ ruby_cloud_gapic_library( ], ruby_cloud_description = "Recommender is a service on Google Cloud that provides usage recommendations for Cloud products and services.", ruby_cloud_title = "Recommender", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/recommender/logging/v1/BUILD.bazel b/third_party/googleapis/google/cloud/recommender/logging/v1/BUILD.bazel index d95905a65..394d55b89 100644 --- a/third_party/googleapis/google/cloud/recommender/logging/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/recommender/logging/v1/BUILD.bazel @@ -95,7 +95,6 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -104,21 +103,9 @@ php_proto_library( deps = [":logging_proto"], ) -php_grpc_library( - name = "logging_php_grpc", - srcs = [":logging_proto"], - deps = [":logging_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) - ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/recommender/logging/v1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/recommender/logging/v1beta1/BUILD.bazel index 5832ef308..8427a493f 100644 --- a/third_party/googleapis/google/cloud/recommender/logging/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/recommender/logging/v1beta1/BUILD.bazel @@ -93,7 +93,6 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -102,21 +101,9 @@ php_proto_library( deps = [":logging_proto"], ) -php_grpc_library( - name = "logging_php_grpc", - srcs = [":logging_proto"], - deps = [":logging_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) - ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/recommender/v1/BUILD.bazel b/third_party/googleapis/google/cloud/recommender/v1/BUILD.bazel index 9c28dcbd8..97dbba779 100644 --- a/third_party/googleapis/google/cloud/recommender/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/recommender/v1/BUILD.bazel @@ -118,7 +118,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -148,19 +147,13 @@ go_gapic_library( ], ) -go_test( - name = "recommender_go_gapic_test", - srcs = [":recommender_go_gapic_srcjar_test"], - embed = [":recommender_go_gapic"], - importpath = "cloud.google.com/go/recommender/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-recommender-v1-go", deps = [ ":recommender_go_gapic", ":recommender_go_gapic_srcjar-metadata.srcjar", + ":recommender_go_gapic_srcjar-snippets.srcjar", ":recommender_go_gapic_srcjar-test.srcjar", ":recommender_go_proto", ], @@ -210,7 +203,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -219,23 +211,15 @@ php_proto_library( deps = [":recommender_proto"], ) -php_grpc_library( - name = "recommender_php_grpc", - srcs = [":recommender_proto"], - deps = [":recommender_php_proto"], -) - php_gapic_library( name = "recommender_php_gapic", srcs = [":recommender_proto_with_info"], grpc_service_config = "recommender_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "recommender_v1.yaml", transport = "grpc+rest", - deps = [ - ":recommender_php_grpc", - ":recommender_php_proto", - ], + deps = [":recommender_php_proto"], ) # Open Source Packages @@ -243,7 +227,6 @@ php_gapic_assembly_pkg( name = "google-cloud-recommender-v1-php", deps = [ ":recommender_php_gapic", - ":recommender_php_grpc", ":recommender_php_proto", ], ) @@ -315,6 +298,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Recommender is a service on Google Cloud that provides usage recommendations for Cloud products and services.", ruby_cloud_title = "Recommender V1", service_yaml = "recommender_v1.yaml", + transport = "grpc+rest", deps = [ ":recommender_ruby_grpc", ":recommender_ruby_proto", diff --git a/third_party/googleapis/google/cloud/recommender/v1/insight.proto b/third_party/googleapis/google/cloud/recommender/v1/insight.proto index 2d7c01339..8022297e9 100644 --- a/third_party/googleapis/google/cloud/recommender/v1/insight.proto +++ b/third_party/googleapis/google/cloud/recommender/v1/insight.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -36,7 +36,7 @@ option (google.api.resource_definition) = { }; // An insight along with the information used to derive the insight. The insight -// may have associated recomendations as well. +// may have associated recommendations as well. message Insight { option (google.api.resource) = { type: "recommender.googleapis.com/Insight" @@ -62,6 +62,12 @@ message Insight { // This insight is related to manageability. MANAGEABILITY = 4; + + // The insight is related to sustainability. + SUSTAINABILITY = 5; + + // This insight is related to reliability. + RELIABILITY = 6; } // Insight severity levels. diff --git a/third_party/googleapis/google/cloud/recommender/v1/insight_type_config.proto b/third_party/googleapis/google/cloud/recommender/v1/insight_type_config.proto index 742864bc7..457d6fbca 100644 --- a/third_party/googleapis/google/cloud/recommender/v1/insight_type_config.proto +++ b/third_party/googleapis/google/cloud/recommender/v1/insight_type_config.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -34,6 +34,7 @@ message InsightTypeConfig { type: "recommender.googleapis.com/InsightTypeConfig" pattern: "projects/{project}/locations/{location}/insightTypes/{insight_type}/config" pattern: "organizations/{organization}/locations/{location}/insightTypes/{insight_type}/config" + pattern: "billingAccounts/{billing_account}/locations/{location}/insightTypes/{insight_type}/config" }; // Name of insight type config. diff --git a/third_party/googleapis/google/cloud/recommender/v1/recommendation.proto b/third_party/googleapis/google/cloud/recommender/v1/recommendation.proto index fd1533456..ad0f71b0f 100644 --- a/third_party/googleapis/google/cloud/recommender/v1/recommendation.proto +++ b/third_party/googleapis/google/cloud/recommender/v1/recommendation.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -256,6 +256,9 @@ message CostProjection { // Duration for which this cost applies. google.protobuf.Duration duration = 2; + + // The approximate cost savings in the billing account's local currency. + google.type.Money cost_in_local_currency = 3; } // Contains various ways of describing the impact on Security. @@ -264,6 +267,42 @@ message SecurityProjection { google.protobuf.Struct details = 2; } +// Contains metadata about how much sustainability a recommendation can save or +// incur. +message SustainabilityProjection { + // Carbon Footprint generated in kg of CO2 equivalent. + // Chose kg_c_o2e so that the name renders correctly in camelCase (kgCO2e). + double kg_c_o2e = 1; + + // Duration for which this sustainability applies. + google.protobuf.Duration duration = 2; +} + +// Contains information on the impact of a reliability recommendation. +message ReliabilityProjection { + // The risk associated with the reliability issue. + enum RiskType { + // Default unspecified risk. Don't use directly. + RISK_TYPE_UNSPECIFIED = 0; + + // Potential service downtime. + SERVICE_DISRUPTION = 1; + + // Potential data loss. + DATA_LOSS = 2; + + // Potential access denial. The service is still up but some or all clients + // can't access it. + ACCESS_DENY = 3; + } + + // Reliability risks mitigated by this recommendation. + repeated RiskType risks = 1; + + // Per-recommender projection. + google.protobuf.Struct details = 2; +} + // Contains the impact a recommendation can have for a given category. message Impact { // The category of the impact. @@ -282,6 +321,12 @@ message Impact { // Indicates a potential increase or decrease in manageability. MANAGEABILITY = 4; + + // Indicates a potential increase or decrease in sustainability. + SUSTAINABILITY = 5; + + // Indicates a potential increase or decrease in reliability. + RELIABILITY = 6; } // Category that is being targeted. @@ -294,6 +339,12 @@ message Impact { // Use with CategoryType.SECURITY SecurityProjection security_projection = 101; + + // Use with CategoryType.SUSTAINABILITY + SustainabilityProjection sustainability_projection = 102; + + // Use with CategoryType.RELIABILITY + ReliabilityProjection reliability_projection = 103; } } diff --git a/third_party/googleapis/google/cloud/recommender/v1/recommender_config.proto b/third_party/googleapis/google/cloud/recommender/v1/recommender_config.proto index 0e0c613b9..19daba2c1 100644 --- a/third_party/googleapis/google/cloud/recommender/v1/recommender_config.proto +++ b/third_party/googleapis/google/cloud/recommender/v1/recommender_config.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -34,6 +34,7 @@ message RecommenderConfig { type: "recommender.googleapis.com/RecommenderConfig" pattern: "projects/{project}/locations/{location}/recommenders/{recommender}/config" pattern: "organizations/{organization}/locations/{location}/recommenders/{recommender}/config" + pattern: "billingAccounts/{billing_account}/locations/{location}/recommenders/{recommender}/config" }; // Name of recommender config. diff --git a/third_party/googleapis/google/cloud/recommender/v1/recommender_service.proto b/third_party/googleapis/google/cloud/recommender/v1/recommender_service.proto index 947687639..eecb1ae81 100644 --- a/third_party/googleapis/google/cloud/recommender/v1/recommender_service.proto +++ b/third_party/googleapis/google/cloud/recommender/v1/recommender_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -142,6 +142,35 @@ service Recommender { option (google.api.method_signature) = "name"; } + // Mark the Recommendation State as Dismissed. Users can use this method to + // indicate to the Recommender API that an ACTIVE recommendation has to + // be marked back as DISMISSED. + // + // MarkRecommendationDismissed can be applied to recommendations in ACTIVE + // state. + // + // Requires the recommender.*.update IAM permission for the specified + // recommender. + rpc MarkRecommendationDismissed(MarkRecommendationDismissedRequest) + returns (Recommendation) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/*/recommenders/*/recommendations/*}:markDismissed" + body: "*" + additional_bindings { + post: "/v1/{name=billingAccounts/*/locations/*/recommenders/*/recommendations/*}:markDismissed" + body: "*" + } + additional_bindings { + post: "/v1/{name=folders/*/locations/*/recommenders/*/recommendations/*}:markDismissed" + body: "*" + } + additional_bindings { + post: "/v1/{name=organizations/*/locations/*/recommenders/*/recommendations/*}:markDismissed" + body: "*" + } + }; + } + // Marks the Recommendation State as Claimed. Users can use this method to // indicate to the Recommender API that they are starting to apply the // recommendation themselves. This stops the recommendation content from being @@ -246,6 +275,9 @@ service Recommender { additional_bindings { get: "/v1/{name=organizations/*/locations/*/recommenders/*/config}" } + additional_bindings { + get: "/v1/{name=billingAccounts/*/locations/*/recommenders/*/config}" + } }; option (google.api.method_signature) = "name"; } @@ -261,6 +293,10 @@ service Recommender { patch: "/v1/{recommender_config.name=organizations/*/locations/*/recommenders/*/config}" body: "recommender_config" } + additional_bindings { + patch: "/v1/{recommender_config.name=billingAccounts/*/locations/*/recommenders/*/config}" + body: "recommender_config" + } }; option (google.api.method_signature) = "recommender_config,update_mask"; } @@ -274,6 +310,9 @@ service Recommender { additional_bindings { get: "/v1/{name=organizations/*/locations/*/insightTypes/*/config}" } + additional_bindings { + get: "/v1/{name=billingAccounts/*/locations/*/insightTypes/*/config}" + } }; option (google.api.method_signature) = "name"; } @@ -289,6 +328,10 @@ service Recommender { patch: "/v1/{insight_type_config.name=organizations/*/locations/*/insightTypes/*/config}" body: "insight_type_config" } + additional_bindings { + patch: "/v1/{insight_type_config.name=billingAccounts/*/locations/*/insightTypes/*/config}" + body: "insight_type_config" + } }; option (google.api.method_signature) = "insight_type_config,update_mask"; } @@ -340,6 +383,8 @@ message ListInsightsRequest { // // * `severity` // + // * `targetResources` + // // Examples: // // * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` @@ -348,8 +393,13 @@ message ListInsightsRequest { // // * `severity = CRITICAL OR severity = HIGH` // + // * `targetResources : + // //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1` + // // * `stateInfo.state = ACTIVE AND (severity = CRITICAL OR severity = HIGH)` // + // The max allowed filter length is 500 characters. + // // (These expressions are based on the filter language described at // https://google.aip.dev/160) string filter = 4 [(google.api.field_behavior) = OPTIONAL]; @@ -441,6 +491,8 @@ message ListRecommendationsRequest { // // * `priority` // + // * `targetResources` + // // Examples: // // * `stateInfo.state = ACTIVE OR stateInfo.state = DISMISSED` @@ -449,8 +501,13 @@ message ListRecommendationsRequest { // // * `priority = P1 OR priority = P2` // + // * `targetResources : + // //compute.googleapis.com/projects/1234/zones/us-central1-a/instances/instance-1` + // // * `stateInfo.state = ACTIVE AND (priority = P1 OR priority = P2)` // + // The max allowed filter length is 500 characters. + // // (These expressions are based on the filter language described at // https://google.aip.dev/160) string filter = 5; @@ -477,6 +534,20 @@ message GetRecommendationRequest { ]; } +// Request for the `MarkRecommendationDismissed` Method. +message MarkRecommendationDismissedRequest { + // Required. Name of the recommendation. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "recommender.googleapis.com/Recommendation" + } + ]; + + // Fingerprint of the Recommendation. Provides optimistic locking. + string etag = 2; +} + // Request for the `MarkRecommendationClaimed` Method. message MarkRecommendationClaimedRequest { // Required. Name of the recommendation. @@ -548,6 +619,8 @@ message GetRecommenderConfigRequest { // * `projects/[PROJECT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/config` // // * `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/config` + // + // * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/config` string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -576,11 +649,13 @@ message GetInsightTypeConfigRequest { // // Acceptable formats: // - // * `projects/[PROJECT_NUMBER]/locations/global/recommenders/[INSIGHT_TYPE_ID]/config` + // * `projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/config` + // + // * `projects/[PROJECT_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/config` // - // * `projects/[PROJECT_ID]/locations/global/recommenders/[INSIGHT_TYPE_ID]/config` + // * `organizations/[ORGANIZATION_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/config` // - // * `organizations/[ORGANIZATION_ID]/locations/global/recommenders/[INSIGHT_TYPE_ID]/config` + // * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/config` string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { diff --git a/third_party/googleapis/google/cloud/recommender/v1/recommender_v1.yaml b/third_party/googleapis/google/cloud/recommender/v1/recommender_v1.yaml index 3fd9f6eb2..85f4764a4 100644 --- a/third_party/googleapis/google/cloud/recommender/v1/recommender_v1.yaml +++ b/third_party/googleapis/google/cloud/recommender/v1/recommender_v1.yaml @@ -6,11 +6,6 @@ title: Recommender API apis: - name: google.cloud.recommender.v1.Recommender -backend: - rules: - - selector: 'google.cloud.recommender.v1.Recommender.*' - deadline: 30.0 - authentication: rules: - selector: 'google.cloud.recommender.v1.Recommender.*' diff --git a/third_party/googleapis/google/cloud/recommender/v1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/recommender/v1beta1/BUILD.bazel index cb4e71643..49fe4619c 100644 --- a/third_party/googleapis/google/cloud/recommender/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/recommender/v1beta1/BUILD.bazel @@ -118,7 +118,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -148,19 +147,13 @@ go_gapic_library( ], ) -go_test( - name = "recommender_go_gapic_test", - srcs = [":recommender_go_gapic_srcjar_test"], - embed = [":recommender_go_gapic"], - importpath = "cloud.google.com/go/recommender/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-recommender-v1beta1-go", deps = [ ":recommender_go_gapic", ":recommender_go_gapic_srcjar-metadata.srcjar", + ":recommender_go_gapic_srcjar-snippets.srcjar", ":recommender_go_gapic_srcjar-test.srcjar", ":recommender_go_proto", ], @@ -210,7 +203,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -219,12 +211,6 @@ php_proto_library( deps = [":recommender_proto"], ) -php_grpc_library( - name = "recommender_php_grpc", - srcs = [":recommender_proto"], - deps = [":recommender_php_proto"], -) - php_gapic_library( name = "recommender_php_gapic", srcs = [":recommender_proto_with_info"], @@ -232,10 +218,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "recommender_v1beta1.yaml", transport = "grpc+rest", - deps = [ - ":recommender_php_grpc", - ":recommender_php_proto", - ], + deps = [":recommender_php_proto"], ) # Open Source Packages @@ -243,7 +226,6 @@ php_gapic_assembly_pkg( name = "google-cloud-recommender-v1beta1-php", deps = [ ":recommender_php_gapic", - ":recommender_php_grpc", ":recommender_php_proto", ], ) @@ -307,6 +289,7 @@ ruby_cloud_gapic_library( grpc_service_config = "recommender_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "recommender_v1beta1.yaml", + transport = "grpc+rest", deps = [ ":recommender_ruby_grpc", ":recommender_ruby_proto", diff --git a/third_party/googleapis/google/cloud/recommender/v1beta1/insight.proto b/third_party/googleapis/google/cloud/recommender/v1beta1/insight.proto index 2fc7f6477..55cdf44ef 100644 --- a/third_party/googleapis/google/cloud/recommender/v1beta1/insight.proto +++ b/third_party/googleapis/google/cloud/recommender/v1beta1/insight.proto @@ -26,16 +26,9 @@ option go_package = "cloud.google.com/go/recommender/apiv1beta1/recommenderpb;re option java_multiple_files = true; option java_package = "com.google.cloud.recommender.v1beta1"; option objc_class_prefix = "CREC"; -option (google.api.resource_definition) = { - type: "recommender.googleapis.com/InsightType" - pattern: "projects/{project}/locations/{location}/insightTypes/{insight_type}" - pattern: "billingAccounts/{billing_account}/locations/{location}/insightTypes/{insight_type}" - pattern: "folders/{folder}/locations/{location}/insightTypes/{insight_type}" - pattern: "organizations/{organization}/locations/{location}/insightTypes/{insight_type}" -}; // An insight along with the information used to derive the insight. The insight -// may have associated recomendations as well. +// may have associated recommendations as well. message Insight { option (google.api.resource) = { type: "recommender.googleapis.com/Insight" @@ -159,3 +152,19 @@ message InsightStateInfo { // A map of metadata for the state, provided by user or automations systems. map state_metadata = 2; } + +// The type of insight. +message InsightType { + option (google.api.resource) = { + type: "recommender.googleapis.com/InsightType" + pattern: "projects/{project}/locations/{location}/insightTypes/{insight_type}" + pattern: "billingAccounts/{billing_account}/locations/{location}/insightTypes/{insight_type}" + pattern: "folders/{folder}/locations/{location}/insightTypes/{insight_type}" + pattern: "organizations/{organization}/locations/{location}/insightTypes/{insight_type}" + pattern: "insightTypes/{insight_type}" + }; + + // The insight_type’s name in format insightTypes/{insight_type} + // eg: insightTypes/google.iam.policy.Insight + string name = 1; +} diff --git a/third_party/googleapis/google/cloud/recommender/v1beta1/recommendation.proto b/third_party/googleapis/google/cloud/recommender/v1beta1/recommendation.proto index 390958c62..b9bcd2c8b 100644 --- a/third_party/googleapis/google/cloud/recommender/v1beta1/recommendation.proto +++ b/third_party/googleapis/google/cloud/recommender/v1beta1/recommendation.proto @@ -27,13 +27,6 @@ option go_package = "cloud.google.com/go/recommender/apiv1beta1/recommenderpb;re option java_multiple_files = true; option java_package = "com.google.cloud.recommender.v1beta1"; option objc_class_prefix = "CREC"; -option (google.api.resource_definition) = { - type: "recommender.googleapis.com/Recommender" - pattern: "projects/{project}/locations/{location}/recommenders/{recommender}" - pattern: "billingAccounts/{billing_account}/locations/{location}/recommenders/{recommender}" - pattern: "folders/{folder}/locations/{location}/recommenders/{recommender}" - pattern: "organizations/{organization}/locations/{location}/recommenders/{recommender}" -}; // A recommendation along with a suggested action. E.g., a rightsizing // recommendation for an underutilized VM, IAM role recommendations, etc @@ -359,3 +352,19 @@ message RecommendationStateInfo { // A map of metadata for the state, provided by user or automations systems. map state_metadata = 2; } + +// The type of a recommender. +message RecommenderType { + option (google.api.resource) = { + type: "recommender.googleapis.com/Recommender" + pattern: "projects/{project}/locations/{location}/recommenders/{recommender}" + pattern: "billingAccounts/{billing_account}/locations/{location}/recommenders/{recommender}" + pattern: "folders/{folder}/locations/{location}/recommenders/{recommender}" + pattern: "organizations/{organization}/locations/{location}/recommenders/{recommender}" + pattern: "recommenders/{recommender}" + }; + + // The recommender's name in format RecommenderTypes/{recommender_type} + // eg: recommenderTypes/google.iam.policy.Recommender + string name = 1; +} diff --git a/third_party/googleapis/google/cloud/recommender/v1beta1/recommender_service.proto b/third_party/googleapis/google/cloud/recommender/v1beta1/recommender_service.proto index 80829a90c..e46e7a670 100644 --- a/third_party/googleapis/google/cloud/recommender/v1beta1/recommender_service.proto +++ b/third_party/googleapis/google/cloud/recommender/v1beta1/recommender_service.proto @@ -39,7 +39,8 @@ option objc_class_prefix = "CREC"; // based on analysis of user resources, configuration and monitoring metrics. service Recommender { option (google.api.default_host) = "recommender.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Lists insights for the specified Cloud Resource. Requires the // recommender.*.list IAM permission for the specified insight type. @@ -105,7 +106,8 @@ service Recommender { // Lists recommendations for the specified Cloud Resource. Requires the // recommender.*.list IAM permission for the specified recommender. - rpc ListRecommendations(ListRecommendationsRequest) returns (ListRecommendationsResponse) { + rpc ListRecommendations(ListRecommendationsRequest) + returns (ListRecommendationsResponse) { option (google.api.http) = { get: "/v1beta1/{parent=projects/*/locations/*/recommenders/*}/recommendations" additional_bindings { @@ -149,7 +151,8 @@ service Recommender { // // Requires the recommender.*.update IAM permission for the specified // recommender. - rpc MarkRecommendationClaimed(MarkRecommendationClaimedRequest) returns (Recommendation) { + rpc MarkRecommendationClaimed(MarkRecommendationClaimedRequest) + returns (Recommendation) { option (google.api.http) = { post: "/v1beta1/{name=projects/*/locations/*/recommenders/*/recommendations/*}:markClaimed" body: "*" @@ -180,7 +183,8 @@ service Recommender { // // Requires the recommender.*.update IAM permission for the specified // recommender. - rpc MarkRecommendationSucceeded(MarkRecommendationSucceededRequest) returns (Recommendation) { + rpc MarkRecommendationSucceeded(MarkRecommendationSucceededRequest) + returns (Recommendation) { option (google.api.http) = { post: "/v1beta1/{name=projects/*/locations/*/recommenders/*/recommendations/*}:markSucceeded" body: "*" @@ -211,7 +215,8 @@ service Recommender { // // Requires the recommender.*.update IAM permission for the specified // recommender. - rpc MarkRecommendationFailed(MarkRecommendationFailedRequest) returns (Recommendation) { + rpc MarkRecommendationFailed(MarkRecommendationFailedRequest) + returns (Recommendation) { option (google.api.http) = { post: "/v1beta1/{name=projects/*/locations/*/recommenders/*/recommendations/*}:markFailed" body: "*" @@ -233,7 +238,8 @@ service Recommender { // Gets the requested Recommender Config. There is only one instance of the // config for each Recommender. - rpc GetRecommenderConfig(GetRecommenderConfigRequest) returns (RecommenderConfig) { + rpc GetRecommenderConfig(GetRecommenderConfigRequest) + returns (RecommenderConfig) { option (google.api.http) = { get: "/v1beta1/{name=projects/*/locations/*/recommenders/*/config}" additional_bindings { @@ -245,7 +251,8 @@ service Recommender { // Updates a Recommender Config. This will create a new revision of the // config. - rpc UpdateRecommenderConfig(UpdateRecommenderConfigRequest) returns (RecommenderConfig) { + rpc UpdateRecommenderConfig(UpdateRecommenderConfigRequest) + returns (RecommenderConfig) { option (google.api.http) = { patch: "/v1beta1/{recommender_config.name=projects/*/locations/*/recommenders/*/config}" body: "recommender_config" @@ -259,7 +266,8 @@ service Recommender { // Gets the requested InsightTypeConfig. There is only one instance of the // config for each InsightType. - rpc GetInsightTypeConfig(GetInsightTypeConfigRequest) returns (InsightTypeConfig) { + rpc GetInsightTypeConfig(GetInsightTypeConfigRequest) + returns (InsightTypeConfig) { option (google.api.http) = { get: "/v1beta1/{name=projects/*/locations/*/insightTypes/*/config}" additional_bindings { @@ -271,7 +279,8 @@ service Recommender { // Updates an InsightTypeConfig change. This will create a new revision of the // config. - rpc UpdateInsightTypeConfig(UpdateInsightTypeConfigRequest) returns (InsightTypeConfig) { + rpc UpdateInsightTypeConfig(UpdateInsightTypeConfigRequest) + returns (InsightTypeConfig) { option (google.api.http) = { patch: "/v1beta1/{insight_type_config.name=projects/*/locations/*/insightTypes/*/config}" body: "insight_type_config" @@ -282,6 +291,24 @@ service Recommender { }; option (google.api.method_signature) = "insight_type_config,update_mask"; } + + // Lists all available Recommenders. + // No IAM permissions are required. + rpc ListRecommenders(ListRecommendersRequest) + returns (ListRecommendersResponse) { + option (google.api.http) = { + get: "/v1beta1/recommenders" + }; + } + + // Lists available InsightTypes. + // No IAM permissions are required. + rpc ListInsightTypes(ListInsightTypesRequest) + returns (ListInsightTypesResponse) { + option (google.api.http) = { + get: "/v1beta1/insightTypes" + }; + } } // Request for the `ListInsights` method. @@ -310,15 +337,15 @@ message ListInsightsRequest { } ]; - // Optional. The maximum number of results to return from this request. Non-positive - // values are ignored. If not specified, the server will determine the number - // of results to return. + // Optional. The maximum number of results to return from this request. + // Non-positive values are ignored. If not specified, the server will + // determine the number of results to return. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. If present, retrieves the next batch of results from the preceding call to - // this method. `page_token` must be the value of `next_page_token` from the - // previous response. The values of other method parameters must be identical - // to those in the previous call. + // Optional. If present, retrieves the next batch of results from the + // preceding call to this method. `page_token` must be the value of + // `next_page_token` from the previous response. The values of other method + // parameters must be identical to those in the previous call. string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; // Optional. Filter expression to restrict the insights returned. Supported @@ -376,9 +403,10 @@ message MarkInsightAcceptedRequest { } ]; - // Optional. State properties user wish to include with this state. Full replace of the - // current state_metadata. - map state_metadata = 2 [(google.api.field_behavior) = OPTIONAL]; + // Optional. State properties user wish to include with this state. Full + // replace of the current state_metadata. + map state_metadata = 2 + [(google.api.field_behavior) = OPTIONAL]; // Required. Fingerprint of the Insight. Provides optimistic locking. string etag = 3 [(google.api.field_behavior) = REQUIRED]; @@ -410,15 +438,15 @@ message ListRecommendationsRequest { } ]; - // Optional. The maximum number of results to return from this request. Non-positive - // values are ignored. If not specified, the server will determine the number - // of results to return. + // Optional. The maximum number of results to return from this request. + // Non-positive values are ignored. If not specified, the server will + // determine the number of results to return. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. If present, retrieves the next batch of results from the preceding call to - // this method. `page_token` must be the value of `next_page_token` from the - // previous response. The values of other method parameters must be identical - // to those in the previous call. + // Optional. If present, retrieves the next batch of results from the + // preceding call to this method. `page_token` must be the value of + // `next_page_token` from the previous response. The values of other method + // parameters must be identical to those in the previous call. string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; // Filter expression to restrict the recommendations returned. Supported @@ -548,7 +576,8 @@ message GetRecommenderConfigRequest { // Request for the `UpdateRecommenderConfig` method. message UpdateRecommenderConfigRequest { // Required. The RecommenderConfig to update. - RecommenderConfig recommender_config = 1 [(google.api.field_behavior) = REQUIRED]; + RecommenderConfig recommender_config = 1 + [(google.api.field_behavior) = REQUIRED]; // The list of fields to be updated. google.protobuf.FieldMask update_mask = 2; @@ -580,7 +609,8 @@ message GetInsightTypeConfigRequest { // Request for the `UpdateInsightTypeConfig` method. message UpdateInsightTypeConfigRequest { // Required. The InsightTypeConfig to update. - InsightTypeConfig insight_type_config = 1 [(google.api.field_behavior) = REQUIRED]; + InsightTypeConfig insight_type_config = 1 + [(google.api.field_behavior) = REQUIRED]; // The list of fields to be updated. google.protobuf.FieldMask update_mask = 2; @@ -589,3 +619,45 @@ message UpdateInsightTypeConfigRequest { // update it. bool validate_only = 3; } + +// Request for the `ListRecommender` method. +message ListRecommendersRequest { + // The number of RecommenderTypes to return per page. The service may return + // fewer than this value. + int32 page_size = 1 [(google.api.field_behavior) = OPTIONAL]; + + // A page token, received from a previous `ListRecommenders` call. + // Provide this to retrieve the subsequent page. + string page_token = 2 [(google.api.field_behavior) = OPTIONAL]; +} + +// Response for the `ListRecommender` method. +message ListRecommendersResponse { + // The set of recommenders available + repeated RecommenderType recommenders = 1; + + // A token, which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; +} + +// Request for the `ListInsightTypes` method. +message ListInsightTypesRequest { + // The number of InsightTypes to return per page. The service may return + // fewer than this value. + int32 page_size = 1 [(google.api.field_behavior) = OPTIONAL]; + + // A page token, received from a previous `ListRecommenders` call. + // Provide this to retrieve the subsequent page. + string page_token = 2 [(google.api.field_behavior) = OPTIONAL]; +} + +// Response for the `ListInsightTypes` method. +message ListInsightTypesResponse { + // The set of recommenders available + repeated InsightType insight_types = 1; + + // A token, which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; +} diff --git a/third_party/googleapis/google/cloud/redis/BUILD.bazel b/third_party/googleapis/google/cloud/redis/BUILD.bazel index 62041fc48..37464e887 100644 --- a/third_party/googleapis/google/cloud/redis/BUILD.bazel +++ b/third_party/googleapis/google/cloud/redis/BUILD.bazel @@ -22,7 +22,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-redis", "ruby-cloud-env-prefix=REDIS", - "ruby-cloud-wrapper-of=v1:0.0;v1beta1:0.0", + "ruby-cloud-wrapper-of=v1:0.13;v1beta1:0.12", "ruby-cloud-product-url=https://cloud.google.com/memorystore/docs/redis", "ruby-cloud-api-id=redis.googleapis.com", "ruby-cloud-api-shortname=redis", @@ -30,6 +30,7 @@ ruby_cloud_gapic_library( ], ruby_cloud_description = "Creates and manages Redis instances on the Google Cloud Platform.", ruby_cloud_title = "Google Cloud Memorystore for Redis", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/redis/v1/BUILD.bazel b/third_party/googleapis/google/cloud/redis/v1/BUILD.bazel index 97062e658..5c05ca05c 100644 --- a/third_party/googleapis/google/cloud/redis/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/redis/v1/BUILD.bazel @@ -43,6 +43,7 @@ proto_library_with_info( deps = [ ":redis_proto", "//google/cloud:common_resources_proto", + "//google/cloud/location:location_proto", ], ) @@ -78,11 +79,13 @@ java_gapic_library( service_yaml = "redis_v1.yaml", test_deps = [ ":redis_java_grpc", + "//google/cloud/location:location_java_grpc", ], transport = "grpc+rest", deps = [ ":redis_java_proto", "//google/api:api_java_proto", + "//google/cloud/location:location_java_proto", ], ) @@ -116,7 +119,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -144,6 +146,7 @@ go_gapic_library( transport = "grpc+rest", deps = [ ":redis_go_proto", + "//google/cloud/location:location_go_proto", "//google/longrunning:longrunning_go_proto", "@com_google_cloud_go_longrunning//:go_default_library", "@com_google_cloud_go_longrunning//autogen:go_default_library", @@ -151,19 +154,13 @@ go_gapic_library( ], ) -go_test( - name = "redis_go_gapic_test", - srcs = [":redis_go_gapic_srcjar_test"], - embed = [":redis_go_gapic"], - importpath = "cloud.google.com/go/redis/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-redis-v1-go", deps = [ ":redis_go_gapic", ":redis_go_gapic_srcjar-metadata.srcjar", + ":redis_go_gapic_srcjar-snippets.srcjar", ":redis_go_gapic_srcjar-test.srcjar", ":redis_go_proto", ], @@ -186,6 +183,8 @@ py_gapic_library( rest_numeric_enums = True, service_yaml = "redis_v1.yaml", transport = "grpc+rest", + deps = [ + ], ) py_test( @@ -213,7 +212,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -222,23 +220,15 @@ php_proto_library( deps = [":redis_proto"], ) -php_grpc_library( - name = "redis_php_grpc", - srcs = [":redis_proto"], - deps = [":redis_php_proto"], -) - php_gapic_library( name = "redis_php_gapic", srcs = [":redis_proto_with_info"], grpc_service_config = "redis_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "redis_v1.yaml", transport = "grpc+rest", - deps = [ - ":redis_php_grpc", - ":redis_php_proto", - ], + deps = [":redis_php_proto"], ) # Open Source Packages @@ -246,7 +236,6 @@ php_gapic_assembly_pkg( name = "google-cloud-redis-v1-php", deps = [ ":redis_php_gapic", - ":redis_php_grpc", ":redis_php_proto", ], ) @@ -318,6 +307,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Creates and manages Redis instances on the Google Cloud Platform.", ruby_cloud_title = "Google Cloud Memorystore for Redis V1", service_yaml = "redis_v1.yaml", + transport = "grpc+rest", deps = [ ":redis_ruby_grpc", ":redis_ruby_proto", diff --git a/third_party/googleapis/google/cloud/redis/v1/cloud_redis.proto b/third_party/googleapis/google/cloud/redis/v1/cloud_redis.proto index 51659ed11..5ff9e9c8b 100644 --- a/third_party/googleapis/google/cloud/redis/v1/cloud_redis.proto +++ b/third_party/googleapis/google/cloud/redis/v1/cloud_redis.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -22,6 +22,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/longrunning/operations.proto"; import "google/protobuf/duration.proto"; +import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; import "google/type/dayofweek.proto"; @@ -49,7 +50,8 @@ option java_package = "com.google.cloud.redis.v1"; // * `projects/redpepper-1290/locations/us-central1/instances/my-redis` service CloudRedis { option (google.api.default_host) = "redis.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Lists all Redis instances owned by a project in either the specified // location (region) or all locations. @@ -78,7 +80,8 @@ service CloudRedis { // Gets the AUTH string for a Redis instance. If AUTH is not enabled for the // instance the response will be empty. This information is not included in // the details returned to GetInstance. - rpc GetInstanceAuthString(GetInstanceAuthStringRequest) returns (InstanceAuthString) { + rpc GetInstanceAuthString(GetInstanceAuthStringRequest) + returns (InstanceAuthString) { option (google.api.http) = { get: "/v1/{name=projects/*/locations/*/instances/*}/authString" }; @@ -97,7 +100,8 @@ service CloudRedis { // // The returned operation is automatically deleted after a few hours, so there // is no need to call DeleteOperation. - rpc CreateInstance(CreateInstanceRequest) returns (google.longrunning.Operation) { + rpc CreateInstance(CreateInstanceRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/instances" body: "instance" @@ -114,7 +118,8 @@ service CloudRedis { // Completed longrunning.Operation will contain the new instance object // in the response field. The returned operation is automatically deleted // after a few hours, so there is no need to call DeleteOperation. - rpc UpdateInstance(UpdateInstanceRequest) returns (google.longrunning.Operation) { + rpc UpdateInstance(UpdateInstanceRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v1/{instance.name=projects/*/locations/*/instances/*}" body: "instance" @@ -128,7 +133,8 @@ service CloudRedis { // Upgrades Redis instance to the newer Redis version specified in the // request. - rpc UpgradeInstance(UpgradeInstanceRequest) returns (google.longrunning.Operation) { + rpc UpgradeInstance(UpgradeInstanceRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/instances/*}:upgrade" body: "*" @@ -148,7 +154,8 @@ service CloudRedis { // // The returned operation is automatically deleted after a few hours, so // there is no need to call DeleteOperation. - rpc ImportInstance(ImportInstanceRequest) returns (google.longrunning.Operation) { + rpc ImportInstance(ImportInstanceRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/instances/*}:import" body: "*" @@ -166,7 +173,8 @@ service CloudRedis { // // The returned operation is automatically deleted after a few hours, so // there is no need to call DeleteOperation. - rpc ExportInstance(ExportInstanceRequest) returns (google.longrunning.Operation) { + rpc ExportInstance(ExportInstanceRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/instances/*}:export" body: "*" @@ -180,7 +188,8 @@ service CloudRedis { // Initiates a failover of the primary node to current replica node for a // specific STANDARD tier Cloud Memorystore for Redis instance. - rpc FailoverInstance(FailoverInstanceRequest) returns (google.longrunning.Operation) { + rpc FailoverInstance(FailoverInstanceRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/instances/*}:failover" body: "*" @@ -194,7 +203,8 @@ service CloudRedis { // Deletes a specific Redis instance. Instance stops serving and data is // deleted. - rpc DeleteInstance(DeleteInstanceRequest) returns (google.longrunning.Operation) { + rpc DeleteInstance(DeleteInstanceRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/instances/*}" }; @@ -207,12 +217,14 @@ service CloudRedis { // Reschedule maintenance for a given instance in a given project and // location. - rpc RescheduleMaintenance(RescheduleMaintenanceRequest) returns (google.longrunning.Operation) { + rpc RescheduleMaintenance(RescheduleMaintenanceRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/instances/*}:rescheduleMaintenance" body: "*" }; - option (google.api.method_signature) = "name, reschedule_type, schedule_time"; + option (google.api.method_signature) = + "name, reschedule_type, schedule_time"; option (google.longrunning.operation_info) = { response_type: "google.cloud.redis.v1.Instance" metadata_type: "google.cloud.redis.v1.OperationMetadata" @@ -321,6 +333,15 @@ message Instance { READ_REPLICAS_ENABLED = 2; } + // Possible reasons for the instance to be in a "SUSPENDED" state. + enum SuspensionReason { + // Not set. + SUSPENSION_REASON_UNSPECIFIED = 0; + + // Something wrong with the CMEK key provided by customer. + CUSTOMER_MANAGED_KEY_ISSUE = 1; + } + // Required. Unique name of the resource in this scope including project and // location using the form: // `projects/{project_id}/locations/{location_id}/instances/{instance_id}` @@ -328,8 +349,10 @@ message Instance { // Note: Redis instances are managed and addressed at regional level so // location_id here refers to a GCP region; however, users may choose which // specific zone (or collection of zones for cross-zone instances) an instance - // should be provisioned in. Refer to [location_id][google.cloud.redis.v1.Instance.location_id] and - // [alternative_location_id][google.cloud.redis.v1.Instance.alternative_location_id] fields for more details. + // should be provisioned in. Refer to + // [location_id][google.cloud.redis.v1.Instance.location_id] and + // [alternative_location_id][google.cloud.redis.v1.Instance.alternative_location_id] + // fields for more details. string name = 1 [(google.api.field_behavior) = REQUIRED]; // An arbitrary and optional user-provided name for the instance. @@ -372,11 +395,11 @@ message Instance { // the default block size is /28. string reserved_ip_range = 9 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Additional IP range for node placement. Required when enabling read - // replicas on an existing instance. For DIRECT_PEERING mode value must be a - // CIDR range of size /28, or "auto". For PRIVATE_SERVICE_ACCESS mode value - // must be the name of an allocated address range associated with the private - // service access connection, or "auto". + // Optional. Additional IP range for node placement. Required when enabling + // read replicas on an existing instance. For DIRECT_PEERING mode value must + // be a CIDR range of size /28, or "auto". For PRIVATE_SERVICE_ACCESS mode + // value must be the name of an allocated address range associated with the + // private service access connection, or "auto". string secondary_ip_range = 30 [(google.api.field_behavior) = OPTIONAL]; // Output only. Hostname or IP address of the exposed Redis endpoint used by @@ -392,7 +415,8 @@ message Instance { string current_location_id = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time the instance was created. - google.protobuf.Timestamp create_time = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 13 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The current state of this instance. State state = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -421,7 +445,8 @@ message Instance { // // * stream-node-max-bytes // * stream-node-max-entries - map redis_configs = 16 [(google.api.field_behavior) = OPTIONAL]; + map redis_configs = 16 + [(google.api.field_behavior) = OPTIONAL]; // Required. The service tier of the instance. Tier tier = 17 [(google.api.field_behavior) = REQUIRED]; @@ -440,43 +465,42 @@ message Instance { // "serviceAccount:". The value may change over time // for a given instance so should be checked before each import/export // operation. - string persistence_iam_identity = 21 [(google.api.field_behavior) = OUTPUT_ONLY]; + string persistence_iam_identity = 21 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Optional. The network connect mode of the Redis instance. // If not provided, the connect mode defaults to DIRECT_PEERING. ConnectMode connect_mode = 22 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Indicates whether OSS Redis AUTH is enabled for the instance. If set to - // "true" AUTH is enabled on the instance. Default value is "false" meaning - // AUTH is disabled. + // Optional. Indicates whether OSS Redis AUTH is enabled for the instance. If + // set to "true" AUTH is enabled on the instance. Default value is "false" + // meaning AUTH is disabled. bool auth_enabled = 23 [(google.api.field_behavior) = OPTIONAL]; // Output only. List of server CA certificates for the instance. - repeated TlsCertificate server_ca_certs = 25 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated TlsCertificate server_ca_certs = 25 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Optional. The TLS mode of the Redis instance. // If not provided, TLS is disabled for the instance. - TransitEncryptionMode transit_encryption_mode = 26 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The number of replica nodes. The valid range for the Standard Tier with - // read replicas enabled is [1-5] and defaults to 2. If read replicas are not - // enabled for a Standard Tier instance, the only valid value is 1 and the - // default is 1. The valid value for basic tier is 0 and the default is also - // 0. + TransitEncryptionMode transit_encryption_mode = 26 + [(google.api.field_behavior) = OPTIONAL]; // Optional. The maintenance policy for the instance. If not provided, // maintenance events can be performed at any time. - MaintenancePolicy maintenance_policy = 27 [(google.api.field_behavior) = OPTIONAL]; + MaintenancePolicy maintenance_policy = 27 + [(google.api.field_behavior) = OPTIONAL]; // Output only. Date and time of upcoming maintenance events which have been // scheduled. - MaintenanceSchedule maintenance_schedule = 28 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Optional. The number of replica nodes. The valid range for the Standard Tier with - // read replicas enabled is [1-5] and defaults to 2. If read replicas are not - // enabled for a Standard Tier instance, the only valid value is 1 and the - // default is 1. The valid value for basic tier is 0 and the default is also - // 0. + MaintenanceSchedule maintenance_schedule = 28 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. The number of replica nodes. The valid range for the Standard + // Tier with read replicas enabled is [1-5] and defaults to 2. If read + // replicas are not enabled for a Standard Tier instance, the only valid value + // is 1 and the default is 1. The valid value for basic tier is 0 and the + // default is also 0. int32 replica_count = 31 [(google.api.field_behavior) = OPTIONAL]; // Output only. Info per node. @@ -492,11 +516,92 @@ message Instance { // endpoint. Standard tier only. Write requests should target 'port'. int32 read_endpoint_port = 34 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Optional. Read replicas mode for the instance. Defaults to READ_REPLICAS_DISABLED. - ReadReplicasMode read_replicas_mode = 35 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Read replicas mode for the instance. Defaults to + // READ_REPLICAS_DISABLED. + ReadReplicasMode read_replicas_mode = 35 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The KMS key reference that the customer provides when trying to + // create the instance. + string customer_managed_key = 36 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Persistence configuration parameters + PersistenceConfig persistence_config = 37 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. reasons that causes instance in "SUSPENDED" state. + repeated SuspensionReason suspension_reasons = 38 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The self service update maintenance version. + // The version is date based such as "20210712_00_00". + string maintenance_version = 39 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The available maintenance versions that an instance could update + // to. + repeated string available_maintenance_versions = 40 + [(google.api.field_behavior) = OPTIONAL]; } -// Request for [RescheduleMaintenance][google.cloud.redis.v1.CloudRedis.RescheduleMaintenance]. +// Configuration of the persistence functionality. +message PersistenceConfig { + // Available Persistence modes. + enum PersistenceMode { + // Not set. + PERSISTENCE_MODE_UNSPECIFIED = 0; + + // Persistence is disabled for the instance, + // and any existing snapshots are deleted. + DISABLED = 1; + + // RDB based Persistence is enabled. + RDB = 2; + } + + // Available snapshot periods for scheduling. + enum SnapshotPeriod { + // Not set. + SNAPSHOT_PERIOD_UNSPECIFIED = 0; + + // Snapshot every 1 hour. + ONE_HOUR = 3; + + // Snapshot every 6 hours. + SIX_HOURS = 4; + + // Snapshot every 12 hours. + TWELVE_HOURS = 5; + + // Snapshot every 24 hours. + TWENTY_FOUR_HOURS = 6; + } + + // Optional. Controls whether Persistence features are enabled. + // If not provided, the existing value will be used. + PersistenceMode persistence_mode = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Period between RDB snapshots. Snapshots will be attempted every + // period starting from the provided snapshot start time. For example, a start + // time of 01/01/2033 06:45 and SIX_HOURS snapshot period will do nothing + // until 01/01/2033, and then trigger snapshots every day at 06:45, 12:45, + // 18:45, and 00:45 the next day, and so on. If not provided, + // TWENTY_FOUR_HOURS will be used as default. + SnapshotPeriod rdb_snapshot_period = 2 + [(google.api.field_behavior) = OPTIONAL]; + + // Output only. The next time that a snapshot attempt is scheduled to occur. + google.protobuf.Timestamp rdb_next_snapshot_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. Date and time that the first snapshot was/will be attempted, and + // to which future snapshots will be aligned. If not provided, the current + // time will be used. + google.protobuf.Timestamp rdb_snapshot_start_time = 5 + [(google.api.field_behavior) = OPTIONAL]; +} + +// Request for +// [RescheduleMaintenance][google.cloud.redis.v1.CloudRedis.RescheduleMaintenance]. message RescheduleMaintenanceRequest { // Reschedule options. enum RescheduleType { @@ -519,27 +624,29 @@ message RescheduleMaintenanceRequest { // where `location_id` refers to a GCP region. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "redis.googleapis.com/Instance" - } + (google.api.resource_reference) = { type: "redis.googleapis.com/Instance" } ]; - // Required. If reschedule type is SPECIFIC_TIME, must set up schedule_time as well. + // Required. If reschedule type is SPECIFIC_TIME, must set up schedule_time as + // well. RescheduleType reschedule_type = 2 [(google.api.field_behavior) = REQUIRED]; // Optional. Timestamp when the maintenance shall be rescheduled to if // reschedule_type=SPECIFIC_TIME, in RFC 3339 format, for // example `2012-11-15T16:19:00.094Z`. - google.protobuf.Timestamp schedule_time = 3 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.Timestamp schedule_time = 3 + [(google.api.field_behavior) = OPTIONAL]; } // Maintenance policy for an instance. message MaintenancePolicy { // Output only. The time when the policy was created. - google.protobuf.Timestamp create_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time when the policy was last updated. - google.protobuf.Timestamp update_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Optional. Description of what this policy is for. Create/Update methods // return INVALID_ARGUMENT if the length is greater than 512. @@ -548,7 +655,8 @@ message MaintenancePolicy { // Optional. Maintenance window that is applied to resources covered by this // policy. Minimum 1. For the current version, the maximum number of // weekly_window is expected to be one. - repeated WeeklyMaintenanceWindow weekly_maintenance_window = 4 [(google.api.field_behavior) = OPTIONAL]; + repeated WeeklyMaintenanceWindow weekly_maintenance_window = 4 + [(google.api.field_behavior) = OPTIONAL]; } // Time window in which disruptive maintenance updates occur. Non-disruptive @@ -560,25 +668,32 @@ message WeeklyMaintenanceWindow { // Required. Start time of the window in UTC time. google.type.TimeOfDay start_time = 2 [(google.api.field_behavior) = REQUIRED]; - // Output only. Duration of the maintenance window. The current window is fixed at 1 hour. - google.protobuf.Duration duration = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Duration of the maintenance window. The current window is + // fixed at 1 hour. + google.protobuf.Duration duration = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Upcoming maintenance schedule. If no maintenance is scheduled, fields are not // populated. message MaintenanceSchedule { - // Output only. The start time of any upcoming scheduled maintenance for this instance. - google.protobuf.Timestamp start_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The start time of any upcoming scheduled maintenance for this + // instance. + google.protobuf.Timestamp start_time = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The end time of any upcoming scheduled maintenance for this instance. - google.protobuf.Timestamp end_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The end time of any upcoming scheduled maintenance for this + // instance. + google.protobuf.Timestamp end_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // If the scheduled maintenance can be rescheduled, default is true. bool can_reschedule = 3 [deprecated = true]; - // Output only. The deadline that the maintenance schedule start time can not go beyond, - // including reschedule. - google.protobuf.Timestamp schedule_deadline_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The deadline that the maintenance schedule start time can not + // go beyond, including reschedule. + google.protobuf.Timestamp schedule_deadline_time = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Request for [ListInstances][google.cloud.redis.v1.CloudRedis.ListInstances]. @@ -603,7 +718,8 @@ message ListInstancesRequest { int32 page_size = 2; // The `next_page_token` value returned from a previous - // [ListInstances][google.cloud.redis.v1.CloudRedis.ListInstances] request, if any. + // [ListInstances][google.cloud.redis.v1.CloudRedis.ListInstances] request, if + // any. string page_token = 3; } @@ -637,22 +753,19 @@ message GetInstanceRequest { // where `location_id` refers to a GCP region. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "redis.googleapis.com/Instance" - } + (google.api.resource_reference) = { type: "redis.googleapis.com/Instance" } ]; } -// Request for [GetInstanceAuthString][google.cloud.redis.v1.CloudRedis.GetInstanceAuthString]. +// Request for +// [GetInstanceAuthString][google.cloud.redis.v1.CloudRedis.GetInstanceAuthString]. message GetInstanceAuthStringRequest { // Required. Redis instance resource name using the form: // `projects/{project_id}/locations/{location_id}/instances/{instance_id}` // where `location_id` refers to a GCP region. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "redis.googleapis.com/Instance" - } + (google.api.resource_reference) = { type: "redis.googleapis.com/Instance" } ]; } @@ -662,7 +775,8 @@ message InstanceAuthString { string auth_string = 1; } -// Request for [CreateInstance][google.cloud.redis.v1.CloudRedis.CreateInstance]. +// Request for +// [CreateInstance][google.cloud.redis.v1.CloudRedis.CreateInstance]. message CreateInstanceRequest { // Required. The resource name of the instance location using the form: // `projects/{project_id}/locations/{location_id}` @@ -688,7 +802,8 @@ message CreateInstanceRequest { Instance instance = 3 [(google.api.field_behavior) = REQUIRED]; } -// Request for [UpdateInstance][google.cloud.redis.v1.CloudRedis.UpdateInstance]. +// Request for +// [UpdateInstance][google.cloud.redis.v1.CloudRedis.UpdateInstance]. message UpdateInstanceRequest { // Required. Mask of fields to update. At least one path must be supplied in // this field. The elements of the repeated paths field may only include these @@ -699,39 +814,38 @@ message UpdateInstanceRequest { // * `memorySizeGb` // * `redisConfig` // * `replica_count` - google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = REQUIRED]; + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = REQUIRED]; // Required. Update description. // Only fields specified in update_mask are updated. Instance instance = 2 [(google.api.field_behavior) = REQUIRED]; } -// Request for [UpgradeInstance][google.cloud.redis.v1.CloudRedis.UpgradeInstance]. +// Request for +// [UpgradeInstance][google.cloud.redis.v1.CloudRedis.UpgradeInstance]. message UpgradeInstanceRequest { // Required. Redis instance resource name using the form: // `projects/{project_id}/locations/{location_id}/instances/{instance_id}` // where `location_id` refers to a GCP region. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "redis.googleapis.com/Instance" - } + (google.api.resource_reference) = { type: "redis.googleapis.com/Instance" } ]; // Required. Specifies the target version of Redis software to upgrade to. string redis_version = 2 [(google.api.field_behavior) = REQUIRED]; } -// Request for [DeleteInstance][google.cloud.redis.v1.CloudRedis.DeleteInstance]. +// Request for +// [DeleteInstance][google.cloud.redis.v1.CloudRedis.DeleteInstance]. message DeleteInstanceRequest { // Required. Redis instance resource name using the form: // `projects/{project_id}/locations/{location_id}/instances/{instance_id}` // where `location_id` refers to a GCP region. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "redis.googleapis.com/Instance" - } + (google.api.resource_reference) = { type: "redis.googleapis.com/Instance" } ]; } @@ -811,14 +925,13 @@ message FailoverInstanceRequest { // where `location_id` refers to a GCP region. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "redis.googleapis.com/Instance" - } + (google.api.resource_reference) = { type: "redis.googleapis.com/Instance" } ]; // Optional. Available data protection modes that the user can choose. If it's // unspecified, data protection mode will be LIMITED_DATA_LOSS by default. - DataProtectionMode data_protection_mode = 2 [(google.api.field_behavior) = OPTIONAL]; + DataProtectionMode data_protection_mode = 2 + [(google.api.field_behavior) = OPTIONAL]; } // Represents the v1 metadata of the long-running operation. @@ -854,14 +967,13 @@ message LocationMetadata { // by the lowercase ID of each zone, as defined by GCE. These keys can be // specified in `location_id` or `alternative_location_id` fields when // creating a Redis instance. - map available_zones = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + map available_zones = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Defines specific information for a particular zone. Currently empty and // reserved for future use only. -message ZoneMetadata { - -} +message ZoneMetadata {} // TlsCertificate Resource message TlsCertificate { @@ -874,12 +986,14 @@ message TlsCertificate { // Output only. The time when the certificate was created in [RFC // 3339](https://tools.ietf.org/html/rfc3339) format, for example // `2020-05-18T00:00:00.094Z`. - google.protobuf.Timestamp create_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time when the certificate expires in [RFC // 3339](https://tools.ietf.org/html/rfc3339) format, for example // `2020-05-18T00:00:00.094Z`. - google.protobuf.Timestamp expire_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp expire_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Sha1 Fingerprint of the certificate. string sha1_fingerprint = 5; diff --git a/third_party/googleapis/google/cloud/redis/v1/redis_v1.yaml b/third_party/googleapis/google/cloud/redis/v1/redis_v1.yaml index e9732164c..7a511a953 100644 --- a/third_party/googleapis/google/cloud/redis/v1/redis_v1.yaml +++ b/third_party/googleapis/google/cloud/redis/v1/redis_v1.yaml @@ -4,7 +4,9 @@ name: redis.googleapis.com title: Google Cloud Memorystore for Redis API apis: +- name: google.cloud.location.Locations - name: google.cloud.redis.v1.CloudRedis +- name: google.longrunning.Operations types: - name: google.cloud.redis.v1.LocationMetadata diff --git a/third_party/googleapis/google/cloud/redis/v1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/redis/v1beta1/BUILD.bazel index 9b89d41de..6ff7d1ee6 100644 --- a/third_party/googleapis/google/cloud/redis/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/redis/v1beta1/BUILD.bazel @@ -116,7 +116,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -151,19 +150,13 @@ go_gapic_library( ], ) -go_test( - name = "redis_go_gapic_test", - srcs = [":redis_go_gapic_srcjar_test"], - embed = [":redis_go_gapic"], - importpath = "cloud.google.com/go/redis/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-redis-v1beta1-go", deps = [ ":redis_go_gapic", ":redis_go_gapic_srcjar-metadata.srcjar", + ":redis_go_gapic_srcjar-snippets.srcjar", ":redis_go_gapic_srcjar-test.srcjar", ":redis_go_proto", ], @@ -213,7 +206,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -222,12 +214,6 @@ php_proto_library( deps = [":redis_proto"], ) -php_grpc_library( - name = "redis_php_grpc", - srcs = [":redis_proto"], - deps = [":redis_php_proto"], -) - php_gapic_library( name = "redis_php_gapic", srcs = [":redis_proto_with_info"], @@ -235,10 +221,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "redis_v1beta1.yaml", transport = "grpc+rest", - deps = [ - ":redis_php_grpc", - ":redis_php_proto", - ], + deps = [":redis_php_proto"], ) # Open Source Packages @@ -246,7 +229,6 @@ php_gapic_assembly_pkg( name = "google-cloud-redis-v1beta1-php", deps = [ ":redis_php_gapic", - ":redis_php_grpc", ":redis_php_proto", ], ) @@ -318,6 +300,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Creates and manages Redis instances on the Google Cloud Platform.", ruby_cloud_title = "Google Cloud Memorystore for Redis V1beta1", service_yaml = "redis_v1beta1.yaml", + transport = "grpc+rest", deps = [ ":redis_ruby_grpc", ":redis_ruby_proto", diff --git a/third_party/googleapis/google/cloud/resourcemanager/v2/BUILD.bazel b/third_party/googleapis/google/cloud/resourcemanager/v2/BUILD.bazel index 697fd8177..adfd9d146 100644 --- a/third_party/googleapis/google/cloud/resourcemanager/v2/BUILD.bazel +++ b/third_party/googleapis/google/cloud/resourcemanager/v2/BUILD.bazel @@ -63,7 +63,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -96,25 +95,18 @@ go_gapic_library( ], ) -go_test( - name = "resourcemanager_go_gapic_test", - srcs = [":resourcemanager_go_gapic_srcjar_test"], - embed = [":resourcemanager_go_gapic"], - importpath = "cloud.google.com/go/resourcemanager/apiv2", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-resourcemanager-v2-go", deps = [ ":resourcemanager_go_gapic", ":resourcemanager_go_gapic_srcjar-metadata.srcjar", + ":resourcemanager_go_gapic_srcjar-snippets.srcjar", ":resourcemanager_go_gapic_srcjar-test.srcjar", ":resourcemanager_go_proto", ], ) - ############################################################################## # Python ############################################################################## @@ -157,7 +149,6 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -166,12 +157,6 @@ php_proto_library( deps = [":resourcemanager_proto"], ) -php_grpc_library( - name = "resourcemanager_php_grpc", - srcs = [":resourcemanager_proto"], - deps = [":resourcemanager_php_proto"], -) - ############################################################################## # Ruby ############################################################################## diff --git a/third_party/googleapis/google/cloud/resourcemanager/v3/BUILD.bazel b/third_party/googleapis/google/cloud/resourcemanager/v3/BUILD.bazel index 66fa98973..3cb9b8fe7 100644 --- a/third_party/googleapis/google/cloud/resourcemanager/v3/BUILD.bazel +++ b/third_party/googleapis/google/cloud/resourcemanager/v3/BUILD.bazel @@ -25,6 +25,7 @@ proto_library( "organizations.proto", "projects.proto", "tag_bindings.proto", + "tag_holds.proto", "tag_keys.proto", "tag_values.proto", ], @@ -78,8 +79,10 @@ java_grpc_library( java_gapic_library( name = "resourcemanager_java_gapic", srcs = [":resourcemanager_proto_with_info"], + gapic_yaml = None, grpc_service_config = "cloudresourcemanager_v3_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "cloudresourcemanager_v3.yaml", test_deps = [ ":resourcemanager_java_grpc", "//google/iam/v1:iam_java_grpc", @@ -87,6 +90,7 @@ java_gapic_library( transport = "grpc+rest", deps = [ ":resourcemanager_java_proto", + "//google/api:api_java_proto", "//google/iam/v1:iam_java_proto", ], ) @@ -102,6 +106,8 @@ java_gapic_test( "com.google.cloud.resourcemanager.v3.ProjectsClientTest", "com.google.cloud.resourcemanager.v3.TagBindingsClientHttpJsonTest", "com.google.cloud.resourcemanager.v3.TagBindingsClientTest", + "com.google.cloud.resourcemanager.v3.TagHoldsClientHttpJsonTest", + "com.google.cloud.resourcemanager.v3.TagHoldsClientTest", "com.google.cloud.resourcemanager.v3.TagKeysClientHttpJsonTest", "com.google.cloud.resourcemanager.v3.TagKeysClientTest", "com.google.cloud.resourcemanager.v3.TagValuesClientHttpJsonTest", @@ -131,7 +137,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -152,7 +157,7 @@ go_gapic_library( grpc_service_config = "cloudresourcemanager_v3_grpc_service_config.json", importpath = "cloud.google.com/go/resourcemanager/apiv3;resourcemanager", metadata = True, - release_level = "beta", + release_level = "ga", rest_numeric_enums = True, service_yaml = "cloudresourcemanager_v3.yaml", transport = "grpc+rest", @@ -165,19 +170,13 @@ go_gapic_library( ], ) -go_test( - name = "resourcemanager_go_gapic_test", - srcs = [":resourcemanager_go_gapic_srcjar_test"], - embed = [":resourcemanager_go_gapic"], - importpath = "cloud.google.com/go/resourcemanager/apiv3", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-resourcemanager-v3-go", deps = [ ":resourcemanager_go_gapic", ":resourcemanager_go_gapic_srcjar-metadata.srcjar", + ":resourcemanager_go_gapic_srcjar-snippets.srcjar", ":resourcemanager_go_gapic_srcjar-test.srcjar", ":resourcemanager_go_proto", ], @@ -197,9 +196,7 @@ py_gapic_library( name = "resourcemanager_py_gapic", srcs = [":resourcemanager_proto"], grpc_service_config = "cloudresourcemanager_v3_grpc_service_config.json", - opt_args = [ - "warehouse-package-name=google-cloud-resource-manager", - ], + opt_args = ["warehouse-package-name=google-cloud-resource-manager"], rest_numeric_enums = True, service_yaml = "cloudresourcemanager_v3.yaml", transport = "grpc+rest", @@ -233,7 +230,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -242,23 +238,15 @@ php_proto_library( deps = [":resourcemanager_proto"], ) -php_grpc_library( - name = "resourcemanager_php_grpc", - srcs = [":resourcemanager_proto"], - deps = [":resourcemanager_php_proto"], -) - php_gapic_library( name = "resourcemanager_php_gapic", srcs = [":resourcemanager_proto_with_info"], grpc_service_config = "cloudresourcemanager_v3_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "cloudresourcemanager_v3.yaml", transport = "grpc+rest", - deps = [ - ":resourcemanager_php_grpc", - ":resourcemanager_php_proto", - ], + deps = [":resourcemanager_php_proto"], ) # Open Source Packages @@ -266,7 +254,6 @@ php_gapic_assembly_pkg( name = "google-cloud-resourcemanager-v3-php", deps = [ ":resourcemanager_php_gapic", - ":resourcemanager_php_grpc", ":resourcemanager_php_proto", ], ) @@ -327,17 +314,18 @@ ruby_cloud_gapic_library( name = "resourcemanager_ruby_gapic", srcs = [":resourcemanager_proto_with_info"], extra_protoc_parameters = [ - "ruby-cloud-gem-name=google-cloud-resource_manager-v3", - "ruby-cloud-env-prefix=RESOURCE_MANAGER", - "ruby-cloud-product-url=https://cloud.google.com/resource-manager/", "ruby-cloud-api-id=cloudresourcemanager.googleapis.com", "ruby-cloud-api-shortname=cloudresourcemanager", + "ruby-cloud-env-prefix=RESOURCE_MANAGER", + "ruby-cloud-gem-name=google-cloud-resource_manager-v3", + "ruby-cloud-product-url=https://cloud.google.com/resource-manager/", ], grpc_service_config = "cloudresourcemanager_v3_grpc_service_config.json", rest_numeric_enums = True, ruby_cloud_description = "Google Cloud provides container resources such as organizations and projects that allow you to group and hierarchically organize other Google Cloud resources. This hierarchical organization helps you manage common aspects of your resources, such as access control and configuration settings. The Resource Manager API enables you to programmatically manage these container resources.", ruby_cloud_title = "Resource Manager V3", service_yaml = "cloudresourcemanager_v3.yaml", + transport = "grpc+rest", deps = [ ":resourcemanager_ruby_grpc", ":resourcemanager_ruby_proto", diff --git a/third_party/googleapis/google/cloud/resourcemanager/v3/cloudresourcemanager_v3.yaml b/third_party/googleapis/google/cloud/resourcemanager/v3/cloudresourcemanager_v3.yaml index 4a4e26f13..a1c8af268 100644 --- a/third_party/googleapis/google/cloud/resourcemanager/v3/cloudresourcemanager_v3.yaml +++ b/third_party/googleapis/google/cloud/resourcemanager/v3/cloudresourcemanager_v3.yaml @@ -8,8 +8,10 @@ apis: - name: google.cloud.resourcemanager.v3.Organizations - name: google.cloud.resourcemanager.v3.Projects - name: google.cloud.resourcemanager.v3.TagBindings +- name: google.cloud.resourcemanager.v3.TagHolds - name: google.cloud.resourcemanager.v3.TagKeys - name: google.cloud.resourcemanager.v3.TagValues +- name: google.longrunning.Operations types: - name: google.cloud.resourcemanager.v3.CreateFolderMetadata @@ -48,6 +50,8 @@ backend: deadline: 30.0 - selector: 'google.cloud.resourcemanager.v3.TagBindings.*' deadline: 30.0 + - selector: 'google.cloud.resourcemanager.v3.TagHolds.*' + deadline: 30.0 - selector: 'google.cloud.resourcemanager.v3.TagKeys.*' deadline: 30.0 - selector: 'google.cloud.resourcemanager.v3.TagValues.*' @@ -114,6 +118,11 @@ authentication: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform, https://www.googleapis.com/auth/cloud-platform.read-only + - selector: google.cloud.resourcemanager.v3.Projects.SearchProjects + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform, + https://www.googleapis.com/auth/cloud-platform.read-only - selector: google.cloud.resourcemanager.v3.Projects.TestIamPermissions oauth: canonical_scopes: |- @@ -127,11 +136,29 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform + - selector: google.cloud.resourcemanager.v3.TagBindings.ListEffectiveTags + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform, + https://www.googleapis.com/auth/cloud-platform.read-only - selector: google.cloud.resourcemanager.v3.TagBindings.ListTagBindings oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform, https://www.googleapis.com/auth/cloud-platform.read-only + - selector: google.cloud.resourcemanager.v3.TagHolds.CreateTagHold + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform + - selector: google.cloud.resourcemanager.v3.TagHolds.DeleteTagHold + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform + - selector: google.cloud.resourcemanager.v3.TagHolds.ListTagHolds + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform, + https://www.googleapis.com/auth/cloud-platform.read-only - selector: 'google.cloud.resourcemanager.v3.TagKeys.*' oauth: canonical_scopes: |- @@ -141,6 +168,11 @@ authentication: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform, https://www.googleapis.com/auth/cloud-platform.read-only + - selector: google.cloud.resourcemanager.v3.TagKeys.GetNamespacedTagKey + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform, + https://www.googleapis.com/auth/cloud-platform.read-only - selector: google.cloud.resourcemanager.v3.TagKeys.GetTagKey oauth: canonical_scopes: |- @@ -160,6 +192,11 @@ authentication: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform, https://www.googleapis.com/auth/cloud-platform.read-only + - selector: google.cloud.resourcemanager.v3.TagValues.GetNamespacedTagValue + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform, + https://www.googleapis.com/auth/cloud-platform.read-only - selector: google.cloud.resourcemanager.v3.TagValues.GetTagValue oauth: canonical_scopes: |- diff --git a/third_party/googleapis/google/cloud/resourcemanager/v3/folders.proto b/third_party/googleapis/google/cloud/resourcemanager/v3/folders.proto index 98568a26e..036bf4e6d 100644 --- a/third_party/googleapis/google/cloud/resourcemanager/v3/folders.proto +++ b/third_party/googleapis/google/cloud/resourcemanager/v3/folders.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -124,7 +124,9 @@ service Folders { // Updates a folder, changing its `display_name`. // Changes to the folder `display_name` will be rejected if they violate // either the `display_name` formatting rules or the naming constraints - // described in the [CreateFolder][google.cloud.resourcemanager.v3.Folders.CreateFolder] documentation. + // described in the + // [CreateFolder][google.cloud.resourcemanager.v3.Folders.CreateFolder] + // documentation. // // The folder's `display_name` must start and end with a letter or digit, // may contain letters, digits, spaces, hyphens and underscores and can be @@ -162,9 +164,9 @@ service Folders { // `FolderOperation` message as an aid to stateless clients. // Folder moves will be rejected if they violate either the naming, height, // or fanout constraints described in the - // [CreateFolder][google.cloud.resourcemanager.v3.Folders.CreateFolder] documentation. - // The caller must have `resourcemanager.folders.move` permission on the - // folder's current and proposed new parent. + // [CreateFolder][google.cloud.resourcemanager.v3.Folders.CreateFolder] + // documentation. The caller must have `resourcemanager.folders.move` + // permission on the folder's current and proposed new parent. rpc MoveFolder(MoveFolderRequest) returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v3/{name=folders/*}:move" @@ -178,11 +180,13 @@ service Folders { } // Requests deletion of a folder. The folder is moved into the - // [DELETE_REQUESTED][google.cloud.resourcemanager.v3.Folder.State.DELETE_REQUESTED] state - // immediately, and is deleted approximately 30 days later. This method may - // only be called on an empty folder, where a folder is empty if it doesn't - // contain any folders or projects in the [ACTIVE][google.cloud.resourcemanager.v3.Folder.State.ACTIVE] state. - // If called on a folder in [DELETE_REQUESTED][google.cloud.resourcemanager.v3.Folder.State.DELETE_REQUESTED] + // [DELETE_REQUESTED][google.cloud.resourcemanager.v3.Folder.State.DELETE_REQUESTED] + // state immediately, and is deleted approximately 30 days later. This method + // may only be called on an empty folder, where a folder is empty if it + // doesn't contain any folders or projects in the + // [ACTIVE][google.cloud.resourcemanager.v3.Folder.State.ACTIVE] state. If + // called on a folder in + // [DELETE_REQUESTED][google.cloud.resourcemanager.v3.Folder.State.DELETE_REQUESTED] // state the operation will result in a no-op success. // The caller must have `resourcemanager.folders.delete` permission on the // identified folder. @@ -198,15 +202,18 @@ service Folders { } // Cancels the deletion request for a folder. This method may be called on a - // folder in any state. If the folder is in the [ACTIVE][google.cloud.resourcemanager.v3.Folder.State.ACTIVE] - // state the result will be a no-op success. In order to succeed, the folder's - // parent must be in the [ACTIVE][google.cloud.resourcemanager.v3.Folder.State.ACTIVE] state. In addition, - // reintroducing the folder into the tree must not violate folder naming, - // height, and fanout constraints described in the - // [CreateFolder][google.cloud.resourcemanager.v3.Folders.CreateFolder] documentation. - // The caller must have `resourcemanager.folders.undelete` permission on the - // identified folder. - rpc UndeleteFolder(UndeleteFolderRequest) returns (google.longrunning.Operation) { + // folder in any state. If the folder is in the + // [ACTIVE][google.cloud.resourcemanager.v3.Folder.State.ACTIVE] state the + // result will be a no-op success. In order to succeed, the folder's parent + // must be in the + // [ACTIVE][google.cloud.resourcemanager.v3.Folder.State.ACTIVE] state. In + // addition, reintroducing the folder into the tree must not violate folder + // naming, height, and fanout constraints described in the + // [CreateFolder][google.cloud.resourcemanager.v3.Folders.CreateFolder] + // documentation. The caller must have `resourcemanager.folders.undelete` + // permission on the identified folder. + rpc UndeleteFolder(UndeleteFolderRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v3/{name=folders/*}:undelete" body: "*" @@ -223,7 +230,8 @@ service Folders { // be the folder's resource name, for example: "folders/1234". // The caller must have `resourcemanager.folders.getIamPolicy` permission // on the identified folder. - rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v3/{resource=folders/*}:getIamPolicy" body: "*" @@ -236,7 +244,8 @@ service Folders { // "folders/1234". // The caller must have `resourcemanager.folders.setIamPolicy` permission // on the identified folder. - rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v3/{resource=folders/*}:setIamPolicy" body: "*" @@ -249,7 +258,8 @@ service Folders { // for example: "folders/1234". // // There are no permissions required for making this API call. - rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) { + rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) + returns (google.iam.v1.TestIamPermissionsResponse) { option (google.api.http) = { post: "/v3/{resource=folders/*}:testIamPermissions" body: "*" @@ -304,17 +314,20 @@ message Folder { State state = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Timestamp when the folder was created. - google.protobuf.Timestamp create_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Timestamp when the folder was last modified. - google.protobuf.Timestamp update_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Timestamp when the folder was requested to be deleted. - google.protobuf.Timestamp delete_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp delete_time = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. A checksum computed by the server based on the current value of the folder - // resource. This may be sent on update and delete requests to ensure the - // client has an up-to-date value before proceeding. + // Output only. A checksum computed by the server based on the current value + // of the folder resource. This may be sent on update and delete requests to + // ensure the client has an up-to-date value before proceeding. string etag = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; } @@ -332,20 +345,23 @@ message GetFolderRequest { // The ListFolders request message. message ListFoldersRequest { - // Required. The resource name of the organization or folder whose folders are - // being listed. - // Must be of the form `folders/{folder_id}` or `organizations/{org_id}`. + // Required. The name of the parent resource whose folders are being listed. + // Only children of this parent resource are listed; descendants are not + // listed. + // + // If the parent is a folder, use the value `folders/{folder_id}`. If the + // parent is an organization, use the value `organizations/{org_id}`. + // // Access to this method is controlled by checking the // `resourcemanager.folders.list` permission on the `parent`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - child_type: "*" - } + (google.api.resource_reference) = { child_type: "*" } ]; - // Optional. The maximum number of folders to return in the response. - // If unspecified, server picks an appropriate default. + // Optional. The maximum number of folders to return in the response. The + // server can return fewer folders than requested. If unspecified, server + // picks an appropriate default. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. A pagination token returned from a previous call to `ListFolders` @@ -371,12 +387,13 @@ message ListFoldersResponse { // The request message for searching folders. message SearchFoldersRequest { - // Optional. The maximum number of folders to return in the response. - // If unspecified, server picks an appropriate default. + // Optional. The maximum number of folders to return in the response. The + // server can return fewer folders than requested. If unspecified, server + // picks an appropriate default. int32 page_size = 1 [(google.api.field_behavior) = OPTIONAL]; - // Optional. A pagination token returned from a previous call to `SearchFolders` - // that indicates from where search should continue. + // Optional. A pagination token returned from a previous call to + // `SearchFolders` that indicates from where search should continue. string page_token = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. Search criteria used to select the folders to return. @@ -426,8 +443,8 @@ message SearchFoldersResponse { // The CreateFolder request message. message CreateFolderRequest { - // Required. The folder being created, only the display name and parent will be - // consulted. All other fields will be ignored. + // Required. The folder being created, only the display name and parent will + // be consulted. All other fields will be ignored. Folder folder = 2 [(google.api.field_behavior) = REQUIRED]; } @@ -450,20 +467,19 @@ message CreateFolderMetadata { // [MoveFolder][google.cloud.resourcemanager.v3.Folders.MoveFolder] method to // change the `parent` field. message UpdateFolderRequest { - // Required. The new definition of the Folder. It must include the `name` field, which - // cannot be changed. + // Required. The new definition of the Folder. It must include the `name` + // field, which cannot be changed. Folder folder = 1 [(google.api.field_behavior) = REQUIRED]; // Required. Fields to be updated. // Only the `display_name` can be updated. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; } // A status object which is used as the `metadata` field for the Operation // returned by UpdateFolder. -message UpdateFolderMetadata { - -} +message UpdateFolderMetadata {} // The MoveFolder request message. message MoveFolderRequest { @@ -476,14 +492,12 @@ message MoveFolderRequest { } ]; - // Required. The resource name of the folder or organization which should be the - // folder's new parent. - // Must be of the form `folders/{folder_id}` or `organizations/{org_id}`. + // Required. The resource name of the folder or organization which should be + // the folder's new parent. Must be of the form `folders/{folder_id}` or + // `organizations/{org_id}`. string destination_parent = 2 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - child_type: "*" - } + (google.api.resource_reference) = { child_type: "*" } ]; } @@ -513,9 +527,7 @@ message DeleteFolderRequest { // A status object which is used as the `metadata` field for the `Operation` // returned by `DeleteFolder`. -message DeleteFolderMetadata { - -} +message DeleteFolderMetadata {} // The UndeleteFolder request message. message UndeleteFolderRequest { @@ -531,6 +543,4 @@ message UndeleteFolderRequest { // A status object which is used as the `metadata` field for the `Operation` // returned by `UndeleteFolder`. -message UndeleteFolderMetadata { - -} +message UndeleteFolderMetadata {} diff --git a/third_party/googleapis/google/cloud/resourcemanager/v3/organizations.proto b/third_party/googleapis/google/cloud/resourcemanager/v3/organizations.proto index 8f8a6f34a..7b0ed95a5 100644 --- a/third_party/googleapis/google/cloud/resourcemanager/v3/organizations.proto +++ b/third_party/googleapis/google/cloud/resourcemanager/v3/organizations.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -54,7 +54,8 @@ service Organizations { // // Search will only return organizations on which the user has the permission // `resourcemanager.organizations.get` - rpc SearchOrganizations(SearchOrganizationsRequest) returns (SearchOrganizationsResponse) { + rpc SearchOrganizations(SearchOrganizationsRequest) + returns (SearchOrganizationsResponse) { option (google.api.http) = { get: "/v3/organizations:search" }; @@ -67,7 +68,8 @@ service Organizations { // // Authorization requires the IAM permission // `resourcemanager.organizations.getIamPolicy` on the specified organization. - rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v3/{resource=organizations/*}:getIamPolicy" body: "*" @@ -81,7 +83,8 @@ service Organizations { // // Authorization requires the IAM permission // `resourcemanager.organizations.setIamPolicy` on the specified organization. - rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v3/{resource=organizations/*}:setIamPolicy" body: "*" @@ -94,7 +97,8 @@ service Organizations { // for example: "organizations/123". // // There are no permissions required for making this API call. - rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) { + rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) + returns (google.iam.v1.TestIamPermissionsResponse) { option (google.api.http) = { post: "/v3/{resource=organizations/*}:testIamPermissions" body: "*" @@ -150,26 +154,29 @@ message Organization { State state = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Timestamp when the Organization was created. - google.protobuf.Timestamp create_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Timestamp when the Organization was last modified. - google.protobuf.Timestamp update_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Timestamp when the Organization was requested for deletion. - google.protobuf.Timestamp delete_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp delete_time = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. A checksum computed by the server based on the current value of the - // Organization resource. This may be sent on update and delete requests to - // ensure the client has an up-to-date value before proceeding. + // Output only. A checksum computed by the server based on the current value + // of the Organization resource. This may be sent on update and delete + // requests to ensure the client has an up-to-date value before proceeding. string etag = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; } // The request sent to the `GetOrganization` method. The `name` field is // required. `organization_id` is no longer accepted. message GetOrganizationRequest { - // Required. The resource name of the Organization to fetch. This is the organization's - // relative path in the API, formatted as "organizations/[organizationId]". - // For example, "organizations/1234". + // Required. The resource name of the Organization to fetch. This is the + // organization's relative path in the API, formatted as + // "organizations/[organizationId]". For example, "organizations/1234". string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -181,15 +188,17 @@ message GetOrganizationRequest { // The request sent to the `SearchOrganizations` method. message SearchOrganizationsRequest { // Optional. The maximum number of organizations to return in the response. - // If unspecified, server picks an appropriate default. + // The server can return fewer organizations than requested. If unspecified, + // server picks an appropriate default. int32 page_size = 1 [(google.api.field_behavior) = OPTIONAL]; - // Optional. A pagination token returned from a previous call to `SearchOrganizations` - // that indicates from where listing should continue. + // Optional. A pagination token returned from a previous call to + // `SearchOrganizations` that indicates from where listing should continue. string page_token = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. An optional query string used to filter the Organizations to return in - // the response. Query rules are case-insensitive. + // Optional. An optional query string used to filter the Organizations to + // return in the response. Query rules are case-insensitive. + // // // ``` // | Field | Description | @@ -225,12 +234,8 @@ message SearchOrganizationsResponse { // A status object which is used as the `metadata` field for the operation // returned by DeleteOrganization. -message DeleteOrganizationMetadata { - -} +message DeleteOrganizationMetadata {} // A status object which is used as the `metadata` field for the Operation // returned by UndeleteOrganization. -message UndeleteOrganizationMetadata { - -} +message UndeleteOrganizationMetadata {} diff --git a/third_party/googleapis/google/cloud/resourcemanager/v3/projects.proto b/third_party/googleapis/google/cloud/resourcemanager/v3/projects.proto index 693e4609e..512814710 100644 --- a/third_party/googleapis/google/cloud/resourcemanager/v3/projects.proto +++ b/third_party/googleapis/google/cloud/resourcemanager/v3/projects.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -88,7 +88,8 @@ service Projects { // seconds, but can sometimes take much longer. The tracking `Operation` is // automatically deleted after a few hours, so there is no need to call // `DeleteOperation`. - rpc CreateProject(CreateProjectRequest) returns (google.longrunning.Operation) { + rpc CreateProject(CreateProjectRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v3/projects" body: "project" @@ -106,7 +107,8 @@ service Projects { // // The caller must have `resourcemanager.projects.update` permission for this // project. - rpc UpdateProject(UpdateProjectRequest) returns (google.longrunning.Operation) { + rpc UpdateProject(UpdateProjectRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v3/{project.name=projects/*}" body: "project" @@ -126,9 +128,12 @@ service Projects { // Upon success, the `Operation.response` field will be populated with the // moved project. // - // The caller must have `resourcemanager.projects.update` permission on the - // project and have `resourcemanager.projects.move` permission on the - // project's current and proposed new parent. + // The caller must have `resourcemanager.projects.move` permission on the + // project, on the project's current and proposed new parent. + // + // If project has no current parent, or it currently does not have an + // associated organization resource, you will also need the + // `resourcemanager.projects.setIamPolicy` permission in the project. // // rpc MoveProject(MoveProjectRequest) returns (google.longrunning.Operation) { @@ -151,7 +156,8 @@ service Projects { // // This method changes the Project's lifecycle state from // [ACTIVE][google.cloud.resourcemanager.v3.Project.State.ACTIVE] - // to [DELETE_REQUESTED][google.cloud.resourcemanager.v3.Project.State.DELETE_REQUESTED]. + // to + // [DELETE_REQUESTED][google.cloud.resourcemanager.v3.Project.State.DELETE_REQUESTED]. // The deletion starts at an unspecified time, // at which point the Project is no longer accessible. // @@ -175,7 +181,8 @@ service Projects { // // The caller must have `resourcemanager.projects.delete` permissions for this // project. - rpc DeleteProject(DeleteProjectRequest) returns (google.longrunning.Operation) { + rpc DeleteProject(DeleteProjectRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v3/{name=projects/*}" }; @@ -195,7 +202,8 @@ service Projects { // // The caller must have `resourcemanager.projects.undelete` permission for // this project. - rpc UndeleteProject(UndeleteProjectRequest) returns (google.longrunning.Operation) { + rpc UndeleteProject(UndeleteProjectRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v3/{name=projects/*}:undelete" body: "*" @@ -207,9 +215,11 @@ service Projects { }; } - // Returns the IAM access control policy for the specified project. + // Returns the IAM access control policy for the specified project, in the + // format `projects/{ProjectIdOrNumber}` e.g. projects/123. // Permission is denied if the policy or the resource do not exist. - rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v3/{resource=projects/*}:getIamPolicy" body: "*" @@ -217,7 +227,8 @@ service Projects { option (google.api.method_signature) = "resource"; } - // Sets the IAM access control policy for the specified project. + // Sets the IAM access control policy for the specified project, in the + // format `projects/{ProjectIdOrNumber}` e.g. projects/123. // // CAUTION: This method will replace the existing policy, and cannot be used // to append additional IAM settings. @@ -249,19 +260,16 @@ service Projects { // `setIamPolicy()`; // they must be sent only using the Cloud Platform Console. // - // + Membership changes that leave the project without any owners that have - // accepted the Terms of Service (ToS) will be rejected. - // // + If the project is not part of an organization, there must be at least // one owner who has accepted the Terms of Service (ToS) agreement in the // policy. Calling `setIamPolicy()` to remove the last ToS-accepted owner // from the policy will fail. This restriction also applies to legacy // projects that no longer have owners who have accepted the ToS. Edits to // IAM policies will be rejected until the lack of a ToS-accepting owner is - // rectified. - // - // + Calling this method requires enabling the App Engine Admin API. - rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) { + // rectified. If the project is part of an organization, you can remove all + // owners, potentially making the organization inaccessible. + rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v3/{resource=projects/*}:setIamPolicy" body: "*" @@ -269,8 +277,10 @@ service Projects { option (google.api.method_signature) = "resource, policy"; } - // Returns permissions that a caller has on the specified project. - rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) { + // Returns permissions that a caller has on the specified project, in the + // format `projects/{ProjectIdOrNumber}` e.g. projects/123.. + rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) + returns (google.iam.v1.TestIamPermissionsResponse) { option (google.api.http) = { post: "/v3/{resource=projects/*}:testIamPermissions" body: "*" @@ -307,8 +317,8 @@ message Project { DELETE_REQUESTED = 2; } - // Output only. The unique resource name of the project. It is an int64 generated number - // prefixed by "projects/". + // Output only. The unique resource name of the project. It is an int64 + // generated number prefixed by "projects/". // // Example: `projects/415104041262` string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -337,17 +347,20 @@ message Project { string display_name = 5 [(google.api.field_behavior) = OPTIONAL]; // Output only. Creation time. - google.protobuf.Timestamp create_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The most recent time this resource was modified. - google.protobuf.Timestamp update_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time at which this resource was requested for deletion. - google.protobuf.Timestamp delete_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp delete_time = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. A checksum computed by the server based on the current value of the Project - // resource. This may be sent on update and delete requests to ensure the - // client has an up-to-date value before proceeding. + // Output only. A checksum computed by the server based on the current value + // of the Project resource. This may be sent on update and delete requests to + // ensure the client has an up-to-date value before proceeding. string etag = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; // Optional. The labels associated with this project. @@ -358,7 +371,7 @@ message Project { // Label values must be between 0 and 63 characters long and must conform // to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. // - // No more than 256 labels can be associated with a given resource. + // No more than 64 labels can be associated with a given resource. // // Clients should store labels in a representation such as JSON that does not // depend on specific characters being disallowed. @@ -384,20 +397,20 @@ message GetProjectRequest { // [ListProjects][google.cloud.resourcemanager.v3.Projects.ListProjects] // method. message ListProjectsRequest { - // Required. The name of the parent resource to list projects under. + // Required. The name of the parent resource whose projects are being listed. + // Only children of this parent resource are listed; descendants are not + // listed. // - // For example, setting this field to 'folders/1234' would list all projects - // directly under that folder. + // If the parent is a folder, use the value `folders/{folder_id}`. If the + // parent is an organization, use the value `organizations/{org_id}`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - child_type: "*" - } + (google.api.resource_reference) = { child_type: "*" } ]; - // Optional. A pagination token returned from a previous call to [ListProjects] - // [google.cloud.resourcemanager.v3.Projects.ListProjects] - // that indicates from where listing should continue. + // Optional. A pagination token returned from a previous call to + // [ListProjects] [google.cloud.resourcemanager.v3.Projects.ListProjects] that + // indicates from where listing should continue. string page_token = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. The maximum number of projects to return in the response. @@ -405,8 +418,8 @@ message ListProjectsRequest { // If unspecified, server picks an appropriate default. int32 page_size = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Indicate that projects in the `DELETE_REQUESTED` state should also be - // returned. Normally only `ACTIVE` projects are returned. + // Optional. Indicate that projects in the `DELETE_REQUESTED` state should + // also be returned. Normally only `ACTIVE` projects are returned. bool show_deleted = 4 [(google.api.field_behavior) = OPTIONAL]; } @@ -444,48 +457,42 @@ message ListProjectsResponse { message SearchProjectsRequest { // Optional. A query string for searching for projects that the caller has // `resourcemanager.projects.get` permission to. If multiple fields are - // included in the query, the it will return results that match any of the + // included in the query, then it will return results that match any of the // fields. Some eligible fields are: // - // ``` - // | Field | Description | - // |-------------------------|----------------------------------------------| - // | displayName, name | Filters by displayName. | - // | parent | Project's parent. (for example: folders/123, - // organizations/*) Prefer parent field over parent.type and parent.id. | - // | parent.type | Parent's type: `folder` or `organization`. | - // | parent.id | Parent's id number (for example: 123) | - // | id, projectId | Filters by projectId. | - // | state, lifecycleState | Filters by state. | - // | labels | Filters by label name or value. | - // | labels. (where *key* is the name of a label) | Filters by label - // name. | - // ``` + // - **`displayName`, `name`**: Filters by displayName. + // - **`parent`**: Project's parent (for example: `folders/123`, + // `organizations/*`). Prefer `parent` field over `parent.type` and + // `parent.id`. + // - **`parent.type`**: Parent's type: `folder` or `organization`. + // - **`parent.id`**: Parent's id number (for example: `123`). + // - **`id`, `projectId`**: Filters by projectId. + // - **`state`, `lifecycleState`**: Filters by state. + // - **`labels`**: Filters by label name or value. + // - **`labels.` (where `` is the name of a label)**: Filters by label + // name. // // Search expressions are case insensitive. // // Some examples queries: // - // ``` - // | Query | Description | - // |------------------|-----------------------------------------------------| - // | name:how* | The project's name starts with "how". | - // | name:Howl | The project's name is `Howl` or `howl`. | - // | name:HOWL | Equivalent to above. | - // | NAME:howl | Equivalent to above. | - // | labels.color:* | The project has the label `color`. | - // | labels.color:red | The project's label `color` has the value `red`. | - // | labels.color:red labels.size:big | The project's label `color` has - // the value `red` and its label `size` has the value `big`. | - // ``` + // + // - **`name:how*`**: The project's name starts with "how". + // - **`name:Howl`**: The project's name is `Howl` or `howl`. + // - **`name:HOWL`**: Equivalent to above. + // - **`NAME:howl`**: Equivalent to above. + // - **`labels.color:*`**: The project has the label `color`. + // - **`labels.color:red`**: The project's label `color` has the value `red`. + // - **`labels.color:red labels.size:big`**: The project's label `color` has + // the value `red` or its label `size` has the value `big`. // // If no query is specified, the call will return projects for which the user // has the `resourcemanager.projects.get` permission. string query = 1 [(google.api.field_behavior) = OPTIONAL]; - // Optional. A pagination token returned from a previous call to [ListProjects] - // [google.cloud.resourcemanager.v3.Projects.ListProjects] - // that indicates from where listing should continue. + // Optional. A pagination token returned from a previous call to + // [ListProjects] [google.cloud.resourcemanager.v3.Projects.ListProjects] that + // indicates from where listing should continue. string page_token = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. The maximum number of projects to return in the response. @@ -531,7 +538,7 @@ message CreateProjectRequest { // // If the `parent` field is set, the `resourcemanager.projects.create` // permission is checked on the parent resource. If no parent is set and - // the authorization credentials belong to an Organziation, the parent + // the authorization credentials belong to an Organization, the parent // will be set to that Organization. Project project = 1 [(google.api.field_behavior) = REQUIRED]; } @@ -564,14 +571,13 @@ message UpdateProjectRequest { Project project = 1 [(google.api.field_behavior) = REQUIRED]; // Optional. An update mask to selectively update fields. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = OPTIONAL]; } // A status object which is used as the `metadata` field for the Operation // returned by UpdateProject. -message UpdateProjectMetadata { - -} +message UpdateProjectMetadata {} // The request sent to // [MoveProject][google.cloud.resourcemanager.v3.Projects.MoveProject] @@ -588,17 +594,13 @@ message MoveProjectRequest { // Required. The new parent to move the Project under. string destination_parent = 2 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - child_type: "*" - } + (google.api.resource_reference) = { child_type: "*" } ]; } // A status object which is used as the `metadata` field for the Operation // returned by MoveProject. -message MoveProjectMetadata { - -} +message MoveProjectMetadata {} // [DeleteProject][google.cloud.resourcemanager.v3.Projects.DeleteProject] // method. @@ -614,9 +616,7 @@ message DeleteProjectRequest { // A status object which is used as the `metadata` field for the Operation // returned by `DeleteProject`. -message DeleteProjectMetadata { - -} +message DeleteProjectMetadata {} // The request sent to the [UndeleteProject] // [google.cloud.resourcemanager.v3.Projects.UndeleteProject] @@ -635,6 +635,4 @@ message UndeleteProjectRequest { // A status object which is used as the `metadata` field for the Operation // returned by `UndeleteProject`. -message UndeleteProjectMetadata { - -} +message UndeleteProjectMetadata {} diff --git a/third_party/googleapis/google/cloud/resourcemanager/v3/tag_bindings.proto b/third_party/googleapis/google/cloud/resourcemanager/v3/tag_bindings.proto index a9dbac3b0..6e94b8884 100644 --- a/third_party/googleapis/google/cloud/resourcemanager/v3/tag_bindings.proto +++ b/third_party/googleapis/google/cloud/resourcemanager/v3/tag_bindings.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,6 +21,7 @@ import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/longrunning/operations.proto"; +import "google/protobuf/empty.proto"; option csharp_namespace = "Google.Cloud.ResourceManager.V3"; option go_package = "cloud.google.com/go/resourcemanager/apiv3/resourcemanagerpb;resourcemanagerpb"; @@ -31,28 +32,29 @@ option php_namespace = "Google\\Cloud\\ResourceManager\\V3"; option ruby_package = "Google::Cloud::ResourceManager::V3"; // Allow users to create and manage TagBindings between TagValues and -// different cloud resources throughout the GCP resource hierarchy. +// different Google Cloud resources throughout the GCP resource hierarchy. service TagBindings { option (google.api.default_host) = "cloudresourcemanager.googleapis.com"; option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform," "https://www.googleapis.com/auth/cloud-platform.read-only"; - // Lists the TagBindings for the given cloud resource, as specified with - // `parent`. + // Lists the TagBindings for the given Google Cloud resource, as specified + // with `parent`. // // NOTE: The `parent` field is expected to be a full resource name: // https://cloud.google.com/apis/design/resource_names#full_resource_name - rpc ListTagBindings(ListTagBindingsRequest) returns (ListTagBindingsResponse) { + rpc ListTagBindings(ListTagBindingsRequest) + returns (ListTagBindingsResponse) { option (google.api.http) = { get: "/v3/tagBindings" }; option (google.api.method_signature) = "parent"; } - // Creates a TagBinding between a TagValue and a cloud resource - // (currently project, folder, or organization). - rpc CreateTagBinding(CreateTagBindingRequest) returns (google.longrunning.Operation) { + // Creates a TagBinding between a TagValue and a Google Cloud resource. + rpc CreateTagBinding(CreateTagBindingRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v3/tagBindings" body: "tag_binding" @@ -65,7 +67,8 @@ service TagBindings { } // Deletes a TagBinding. - rpc DeleteTagBinding(DeleteTagBindingRequest) returns (google.longrunning.Operation) { + rpc DeleteTagBinding(DeleteTagBindingRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v3/{name=tagBindings/**}" }; @@ -75,12 +78,21 @@ service TagBindings { metadata_type: "DeleteTagBindingMetadata" }; } + + // Return a list of effective tags for the given Google Cloud resource, as + // specified in `parent`. + rpc ListEffectiveTags(ListEffectiveTagsRequest) + returns (ListEffectiveTagsResponse) { + option (google.api.http) = { + get: "/v3/effectiveTags" + }; + option (google.api.method_signature) = "parent"; + } } // A TagBinding represents a connection between a TagValue and a cloud -// resource (currently project, folder, or organization). Once a TagBinding is -// created, the TagValue is applied to all the descendants of the cloud -// resource. +// resource Once a TagBinding is created, the TagValue is applied to all the +// descendants of the Google Cloud resource. message TagBinding { option (google.api.resource) = { type: "cloudresourcemanager.googleapis.com/TagBinding" @@ -99,27 +111,32 @@ message TagBinding { // The TagValue of the TagBinding. // Must be of the form `tagValues/456`. string tag_value = 3; + + // The namespaced name for the TagValue of the TagBinding. + // Must be in the format + // `{parent_id}/{tag_key_short_name}/{short_name}`. + // + // For methods that support TagValue namespaced name, only one of + // tag_value_namespaced_name or tag_value may be filled. Requests with both + // fields will be rejected. + string tag_value_namespaced_name = 4; } // Runtime operation information for creating a TagValue. -message CreateTagBindingMetadata { - -} +message CreateTagBindingMetadata {} // The request message to create a TagBinding. message CreateTagBindingRequest { // Required. The TagBinding to be created. TagBinding tag_binding = 1 [(google.api.field_behavior) = REQUIRED]; - // Optional. Set to true to perform the validations necessary for creating the resource, - // but not actually perform the action. + // Optional. Set to true to perform the validations necessary for creating the + // resource, but not actually perform the action. bool validate_only = 2 [(google.api.field_behavior) = OPTIONAL]; } // Runtime operation information for deleting a TagBinding. -message DeleteTagBindingMetadata { - -} +message DeleteTagBindingMetadata {} // The request message to delete a TagBinding. message DeleteTagBindingRequest { @@ -136,30 +153,27 @@ message DeleteTagBindingRequest { // The request message to list all TagBindings for a parent. message ListTagBindingsRequest { - // Required. The full resource name of a resource for which you want to list existing - // TagBindings. - // E.g. "//cloudresourcemanager.googleapis.com/projects/123" + // Required. The full resource name of a resource for which you want to list + // existing TagBindings. E.g. + // "//cloudresourcemanager.googleapis.com/projects/123" string parent = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - child_type: "*" - } + (google.api.resource_reference) = { child_type: "*" } ]; - // Optional. The maximum number of TagBindings to return in the response. The server - // allows a maximum of 300 TagBindings to return. If unspecified, the server - // will use 100 as the default. + // Optional. The maximum number of TagBindings to return in the response. The + // server allows a maximum of 300 TagBindings to return. If unspecified, the + // server will use 100 as the default. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. A pagination token returned from a previous call to `ListTagBindings` - // that indicates where this listing should continue from. + // Optional. A pagination token returned from a previous call to + // `ListTagBindings` that indicates where this listing should continue from. string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; } // The ListTagBindings response. message ListTagBindingsResponse { - // A possibly paginated list of TagBindings for the specified TagValue or - // resource. + // A possibly paginated list of TagBindings for the specified resource. repeated TagBinding tag_bindings = 1; // Pagination token. @@ -175,3 +189,80 @@ message ListTagBindingsResponse { // Pagination tokens have a limited lifetime. string next_page_token = 2; } + +// The request message to ListEffectiveTags +message ListEffectiveTagsRequest { + // Required. The full resource name of a resource for which you want to list + // the effective tags. E.g. + // "//cloudresourcemanager.googleapis.com/projects/123" + string parent = 1 [(google.api.field_behavior) = REQUIRED]; + + // Optional. The maximum number of effective tags to return in the response. + // The server allows a maximum of 300 effective tags to return in a single + // page. If unspecified, the server will use 100 as the default. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. A pagination token returned from a previous call to + // `ListEffectiveTags` that indicates from where this listing should continue. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// The response of ListEffectiveTags. +message ListEffectiveTagsResponse { + // A possibly paginated list of effective tags for the specified resource. + repeated EffectiveTag effective_tags = 1; + + // Pagination token. + // + // If the result set is too large to fit in a single response, this token + // is returned. It encodes the position of the current result cursor. + // Feeding this value into a new list request with the `page_token` parameter + // gives the next page of the results. + // + // When `next_page_token` is not filled in, there is no next page and + // the list returned is the last page in the result set. + // + // Pagination tokens have a limited lifetime. + string next_page_token = 2; +} + +// An EffectiveTag represents a tag that applies to a resource during policy +// evaluation. Tags can be either directly bound to a resource or inherited from +// its ancestor. EffectiveTag contains the name and +// namespaced_name of the tag value and tag key, with additional fields of +// `inherited` to indicate the inheritance status of the effective tag. +message EffectiveTag { + // Resource name for TagValue in the format `tagValues/456`. + string tag_value = 1 [(google.api.resource_reference) = { + type: "cloudresourcemanager.googleapis.com/TagValue" + }]; + + // The namespaced name of the TagValue. Can be in the form + // `{organization_id}/{tag_key_short_name}/{tag_value_short_name}` or + // `{project_id}/{tag_key_short_name}/{tag_value_short_name}` or + // `{project_number}/{tag_key_short_name}/{tag_value_short_name}`. + string namespaced_tag_value = 2; + + // The name of the TagKey, in the format `tagKeys/{id}`, such as + // `tagKeys/123`. + string tag_key = 3 [(google.api.resource_reference) = { + type: "cloudresourcemanager.googleapis.com/TagKey" + }]; + + // The namespaced name of the TagKey. Can be in the form + // `{organization_id}/{tag_key_short_name}` or + // `{project_id}/{tag_key_short_name}` or + // `{project_number}/{tag_key_short_name}`. + string namespaced_tag_key = 4; + + // The parent name of the tag key. + // Must be in the format `organizations/{organization_id}` or + // `projects/{project_number}` + string tag_key_parent_name = 6; + + // Indicates the inheritance status of a tag value + // attached to the given resource. If the tag value is inherited from one of + // the resource's ancestors, inherited will be true. If false, then the tag + // value is directly attached to the resource, inherited will be false. + bool inherited = 5; +} diff --git a/third_party/googleapis/google/cloud/resourcemanager/v3/tag_keys.proto b/third_party/googleapis/google/cloud/resourcemanager/v3/tag_keys.proto index 3d0500141..72881b226 100644 --- a/third_party/googleapis/google/cloud/resourcemanager/v3/tag_keys.proto +++ b/third_party/googleapis/google/cloud/resourcemanager/v3/tag_keys.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -58,10 +58,20 @@ service TagKeys { option (google.api.method_signature) = "name"; } + // Retrieves a TagKey by its namespaced name. + // This method will return `PERMISSION_DENIED` if the key does not exist + // or the user does not have permission to view it. + rpc GetNamespacedTagKey(GetNamespacedTagKeyRequest) returns (TagKey) { + option (google.api.http) = { + get: "/v3/tagKeys/namespaced" + }; + option (google.api.method_signature) = "name"; + } + // Creates a new TagKey. If another request with the same parameters is // sent while the original request is in process, the second request - // will receive an error. A maximum of 300 TagKeys can exist under a parent at - // any given time. + // will receive an error. A maximum of 1000 TagKeys can exist under a parent + // at any given time. rpc CreateTagKey(CreateTagKeyRequest) returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v3/tagKeys" @@ -106,7 +116,8 @@ service TagKeys { // The caller must have // `cloudresourcemanager.googleapis.com/tagKeys.getIamPolicy` permission on // the specified TagKey. - rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v3/{resource=tagKeys/*}:getIamPolicy" body: "*" @@ -119,7 +130,8 @@ service TagKeys { // For example, "tagKeys/1234". // The caller must have `resourcemanager.tagKeys.setIamPolicy` permission // on the identified tagValue. - rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v3/{resource=tagKeys/*}:setIamPolicy" body: "*" @@ -132,7 +144,8 @@ service TagKeys { // For example, "tagKeys/1234". // // There are no permissions required for making this API call. - rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) { + rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) + returns (google.iam.v1.TestIamPermissionsResponse) { option (google.api.http) = { post: "/v3/{resource=tagKeys/*}:testIamPermissions" body: "*" @@ -154,12 +167,15 @@ message TagKey { // the TagKey. string name = 1 [(google.api.field_behavior) = IMMUTABLE]; - // Immutable. The resource name of the new TagKey's parent. - // Must be of the form `organizations/{org_id}`. + // Immutable. The resource name of the TagKey's parent. A TagKey can be + // parented by an Organization or a Project. For a TagKey parented by an + // Organization, its parent must be in the form `organizations/{org_id}`. For + // a TagKey parented by a Project, its parent can be in the form + // `projects/{project_id}` or `projects/{project_number}`. string parent = 2 [(google.api.field_behavior) = IMMUTABLE]; - // Required. Immutable. The user friendly name for a TagKey. The short name should be - // unique for TagKeys within the same tag namespace. + // Required. Immutable. The user friendly name for a TagKey. The short name + // should be unique for TagKeys within the same tag namespace. // // The short name must be 1-63 characters, beginning and ending with // an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), @@ -175,36 +191,55 @@ message TagKey { (google.api.field_behavior) = IMMUTABLE ]; - // Optional. User-assigned description of the TagKey. Must not exceed 256 characters. + // Optional. User-assigned description of the TagKey. Must not exceed 256 + // characters. // // Read-write. string description = 5 [(google.api.field_behavior) = OPTIONAL]; // Output only. Creation time. - google.protobuf.Timestamp create_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Update time. - google.protobuf.Timestamp update_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Optional. Entity tag which users can pass to prevent race conditions. This field is - // always set in server responses. See UpdateTagKeyRequest for details. + // Optional. Entity tag which users can pass to prevent race conditions. This + // field is always set in server responses. See UpdateTagKeyRequest for + // details. string etag = 8 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. A purpose denotes that this Tag is intended for use in policies + // of a specific policy engine, and will involve that policy engine in + // management operations involving this Tag. A purpose does not grant a + // policy engine exclusive rights to the Tag, and it may be referenced by + // other policy engines. + // + // A purpose cannot be changed once set. + Purpose purpose = 11 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Purpose data corresponds to the policy system that the tag is + // intended for. See documentation for `Purpose` for formatting of this field. + // + // Purpose data cannot be changed once set. + map purpose_data = 12 + [(google.api.field_behavior) = OPTIONAL]; } // The request message for listing all TagKeys under a parent resource. message ListTagKeysRequest { - // Required. The resource name of the new TagKey's parent. - // Must be of the form `folders/{folder_id}` or `organizations/{org_id}`. + // Required. The resource name of the TagKey's parent. + // Must be of the form `organizations/{org_id}` or `projects/{project_id}` or + // `projects/{project_number}` string parent = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - child_type: "*" - } + (google.api.resource_reference) = { child_type: "*" } ]; - // Optional. The maximum number of TagKeys to return in the response. The server allows - // a maximum of 300 TagKeys to return. If unspecified, the server will use 100 - // as the default. + // Optional. The maximum number of TagKeys to return in the response. The + // server allows a maximum of 300 TagKeys to return. If unspecified, the + // server will use 100 as the default. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. A pagination token returned from a previous call to `ListTagKey` @@ -234,28 +269,40 @@ message GetTagKeyRequest { ]; } +// The request message for getting a TagKey by its namespaced name. +message GetNamespacedTagKeyRequest { + // Required. A namespaced tag key name in the format + // `{parentId}/{tagKeyShort}`, such as `42/foo` for a key with short name + // "foo" under the organization with ID 42 or `r2-d2/bar` for a key with short + // name "bar" under the project `r2-d2`. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudresourcemanager.googleapis.com/TagKey" + } + ]; +} + // The request message for creating a TagKey. message CreateTagKeyRequest { - // Required. The TagKey to be created. Only fields `short_name`, `description`, - // and `parent` are considered during the creation request. + // Required. The TagKey to be created. Only fields `short_name`, + // `description`, and `parent` are considered during the creation request. TagKey tag_key = 1 [(google.api.field_behavior) = REQUIRED]; - // Optional. Set to true to perform validations necessary for creating the resource, but - // not actually perform the action. + // Optional. Set to true to perform validations necessary for creating the + // resource, but not actually perform the action. bool validate_only = 2 [(google.api.field_behavior) = OPTIONAL]; } // Runtime operation information for creating a TagKey. -message CreateTagKeyMetadata { - -} +message CreateTagKeyMetadata {} // The request message for updating a TagKey. message UpdateTagKeyRequest { - // Required. The new definition of the TagKey. Only the `description` and `etag` fields - // can be updated by this request. If the `etag` field is not empty, it - // must match the `etag` field of the existing tag key. Otherwise, - // `FAILED_PRECONDITION` will be returned. + // Required. The new definition of the TagKey. Only the `description` and + // `etag` fields can be updated by this request. If the `etag` field is not + // empty, it must match the `etag` field of the existing tag key. Otherwise, + // `ABORTED` will be returned. TagKey tag_key = 1 [(google.api.field_behavior) = REQUIRED]; // Fields to be updated. The mask may only contain `description` or @@ -269,15 +316,13 @@ message UpdateTagKeyRequest { } // Runtime operation information for updating a TagKey. -message UpdateTagKeyMetadata { - -} +message UpdateTagKeyMetadata {} // The request message for deleting a TagKey. message DeleteTagKeyRequest { - // Required. The resource name of a TagKey to be deleted in the format `tagKeys/123`. - // The TagKey cannot be a parent of any existing TagValues or it will not be - // deleted successfully. + // Required. The resource name of a TagKey to be deleted in the format + // `tagKeys/123`. The TagKey cannot be a parent of any existing TagValues or + // it will not be deleted successfully. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -285,16 +330,38 @@ message DeleteTagKeyRequest { } ]; - // Optional. Set as true to perform validations necessary for deletion, but not actually - // perform the action. + // Optional. Set as true to perform validations necessary for deletion, but + // not actually perform the action. bool validate_only = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. The etag known to the client for the expected state of the TagKey. This is - // to be used for optimistic concurrency. + // Optional. The etag known to the client for the expected state of the + // TagKey. This is to be used for optimistic concurrency. string etag = 3 [(google.api.field_behavior) = OPTIONAL]; } // Runtime operation information for deleting a TagKey. -message DeleteTagKeyMetadata { - +message DeleteTagKeyMetadata {} + +// A purpose for each policy engine requiring such an integration. A single +// policy engine may have multiple purposes defined, however a TagKey may only +// specify a single purpose. +enum Purpose { + // Unspecified purpose. + PURPOSE_UNSPECIFIED = 0; + + // Purpose for Compute Engine firewalls. + // A corresponding `purpose_data` should be set for the network the tag is + // intended for. The key should be `network` and the value should be in + // either of these two formats: + // + // - + // `https://www.googleapis.com/compute/{compute_version}/projects/{project_id}/global/networks/{network_id}` + // - `{project_id}/{network_name}` + // + // Examples: + // + // - + // `https://www.googleapis.com/compute/staging_v1/projects/fail-closed-load-testing/global/networks/6992953698831725600` + // - `fail-closed-load-testing/load-testing-network` + GCE_FIREWALL = 1; } diff --git a/third_party/googleapis/google/cloud/resourcemanager/v3/tag_values.proto b/third_party/googleapis/google/cloud/resourcemanager/v3/tag_values.proto index 7cace4309..9a5bd7f1f 100644 --- a/third_party/googleapis/google/cloud/resourcemanager/v3/tag_values.proto +++ b/third_party/googleapis/google/cloud/resourcemanager/v3/tag_values.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -49,9 +49,8 @@ service TagValues { option (google.api.method_signature) = "parent"; } - // Retrieves TagValue. If the TagValue or namespaced name does not exist, or - // if the user does not have permission to view it, this method will return - // `PERMISSION_DENIED`. + // Retrieves a TagValue. This method will return `PERMISSION_DENIED` if the + // value does not exist or the user does not have permission to view it. rpc GetTagValue(GetTagValueRequest) returns (TagValue) { option (google.api.http) = { get: "/v3/{name=tagValues/*}" @@ -59,11 +58,22 @@ service TagValues { option (google.api.method_signature) = "name"; } + // Retrieves a TagValue by its namespaced name. + // This method will return `PERMISSION_DENIED` if the value does not exist + // or the user does not have permission to view it. + rpc GetNamespacedTagValue(GetNamespacedTagValueRequest) returns (TagValue) { + option (google.api.http) = { + get: "/v3/tagValues/namespaced" + }; + option (google.api.method_signature) = "name"; + } + // Creates a TagValue as a child of the specified TagKey. If a another // request with the same parameters is sent while the original request is in - // process the second request will receive an error. A maximum of 300 + // process the second request will receive an error. A maximum of 1000 // TagValues can exist under a TagKey at any given time. - rpc CreateTagValue(CreateTagValueRequest) returns (google.longrunning.Operation) { + rpc CreateTagValue(CreateTagValueRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v3/tagValues" body: "tag_value" @@ -76,7 +86,8 @@ service TagValues { } // Updates the attributes of the TagValue resource. - rpc UpdateTagValue(UpdateTagValueRequest) returns (google.longrunning.Operation) { + rpc UpdateTagValue(UpdateTagValueRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v3/{tag_value.name=tagValues/*}" body: "tag_value" @@ -90,7 +101,8 @@ service TagValues { // Deletes a TagValue. The TagValue cannot have any bindings when it is // deleted. - rpc DeleteTagValue(DeleteTagValueRequest) returns (google.longrunning.Operation) { + rpc DeleteTagValue(DeleteTagValueRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v3/{name=tagValues/*}" }; @@ -107,7 +119,8 @@ service TagValues { // The caller must have the // `cloudresourcemanager.googleapis.com/tagValues.getIamPolicy` permission on // the identified TagValue to get the access control policy. - rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v3/{resource=tagValues/*}:getIamPolicy" body: "*" @@ -120,7 +133,8 @@ service TagValues { // For example: `tagValues/1234`. // The caller must have `resourcemanager.tagValues.setIamPolicy` permission // on the identified tagValue. - rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v3/{resource=tagValues/*}:setIamPolicy" body: "*" @@ -133,7 +147,8 @@ service TagValues { // `tagValues/1234`. // // There are no permissions required for making this API call. - rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) { + rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) + returns (google.iam.v1.TestIamPermissionsResponse) { option (google.api.http) = { post: "/v3/{resource=tagValues/*}:testIamPermissions" body: "*" @@ -158,8 +173,8 @@ message TagValue { // Must be of the form `tagKeys/{tag_key_id}`. string parent = 2 [(google.api.field_behavior) = IMMUTABLE]; - // Required. Immutable. User-assigned short name for TagValue. The short name should be - // unique for TagValues within the same parent TagKey. + // Required. Immutable. User-assigned short name for TagValue. The short name + // should be unique for TagValues within the same parent TagKey. // // The short name must be 63 characters or less, beginning and ending with // an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), @@ -169,8 +184,10 @@ message TagValue { (google.api.field_behavior) = IMMUTABLE ]; - // Output only. Namespaced name of the TagValue. Must be in the format - // `{organization_id}/{tag_key_short_name}/{short_name}`. + // Output only. The namespaced name of the TagValue. Can be in the form + // `{organization_id}/{tag_key_short_name}/{tag_value_short_name}` or + // `{project_id}/{tag_key_short_name}/{tag_value_short_name}` or + // `{project_number}/{tag_key_short_name}/{tag_value_short_name}`. string namespaced_name = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; // Optional. User-assigned description of the TagValue. @@ -180,34 +197,36 @@ message TagValue { string description = 5 [(google.api.field_behavior) = OPTIONAL]; // Output only. Creation time. - google.protobuf.Timestamp create_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Update time. - google.protobuf.Timestamp update_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Optional. Entity tag which users can pass to prevent race conditions. This field is - // always set in server responses. See UpdateTagValueRequest for details. + // Optional. Entity tag which users can pass to prevent race conditions. This + // field is always set in server responses. See UpdateTagValueRequest for + // details. string etag = 8 [(google.api.field_behavior) = OPTIONAL]; } // The request message for listing TagValues for the specified TagKey. +// Resource name for TagKey, parent of the TagValues to be listed, +// in the format `tagKeys/123`. message ListTagValuesRequest { - // Required. Resource name for TagKey, parent of the TagValues to be listed, - // in the format `tagKeys/123`. + // Required. string parent = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - child_type: "*" - } + (google.api.resource_reference) = { child_type: "*" } ]; - // Optional. The maximum number of TagValues to return in the response. The server - // allows a maximum of 300 TagValues to return. If unspecified, the server - // will use 100 as the default. + // Optional. The maximum number of TagValues to return in the response. The + // server allows a maximum of 300 TagValues to return. If unspecified, the + // server will use 100 as the default. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. A pagination token returned from a previous call to `ListTagValues` - // that indicates where this listing should continue from. + // Optional. A pagination token returned from a previous call to + // `ListTagValues` that indicates where this listing should continue from. string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; } @@ -225,7 +244,27 @@ message ListTagValuesResponse { // The request message for getting a TagValue. message GetTagValueRequest { - // Required. Resource name for TagValue to be fetched in the format `tagValues/456`. + // Required. Resource name for TagValue to be fetched in the format + // `tagValues/456`. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudresourcemanager.googleapis.com/TagValue" + } + ]; +} + +// The request message for getting a TagValue by its namespaced name. +message GetNamespacedTagValueRequest { + // Required. A namespaced tag value name in the following format: + // + // `{parentId}/{tagKeyShort}/{tagValueShort}` + // + // Examples: + // - `42/foo/abc` for a value with short name "abc" under the key with short + // name "foo" under the organization with ID 42 + // - `r2-d2/bar/xyz` for a value with short name "xyz" under the key with + // short name "bar" under the project with ID "r2-d2" string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -236,44 +275,42 @@ message GetTagValueRequest { // The request message for creating a TagValue. message CreateTagValueRequest { - // Required. The TagValue to be created. Only fields `short_name`, `description`, - // and `parent` are considered during the creation request. + // Required. The TagValue to be created. Only fields `short_name`, + // `description`, and `parent` are considered during the creation request. TagValue tag_value = 1 [(google.api.field_behavior) = REQUIRED]; - // Optional. Set as true to perform the validations necessary for creating the resource, - // but not actually perform the action. + // Optional. Set as true to perform the validations necessary for creating the + // resource, but not actually perform the action. bool validate_only = 2 [(google.api.field_behavior) = OPTIONAL]; } // Runtime operation information for creating a TagValue. -message CreateTagValueMetadata { - -} +message CreateTagValueMetadata {} // The request message for updating a TagValue. message UpdateTagValueRequest { - // Required. The new definition of the TagValue. Only fields `description` and `etag` - // fields can be updated by this request. If the `etag` field is nonempty, it - // must match the `etag` field of the existing ControlGroup. Otherwise, - // `FAILED_PRECONDITION` will be returned. + // Required. The new definition of the TagValue. Only fields `description` and + // `etag` fields can be updated by this request. If the `etag` field is + // nonempty, it must match the `etag` field of the existing ControlGroup. + // Otherwise, `ABORTED` will be returned. TagValue tag_value = 1 [(google.api.field_behavior) = REQUIRED]; // Optional. Fields to be updated. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = OPTIONAL]; - // Optional. True to perform validations necessary for updating the resource, but not - // actually perform the action. + // Optional. True to perform validations necessary for updating the resource, + // but not actually perform the action. bool validate_only = 3 [(google.api.field_behavior) = OPTIONAL]; } // Runtime operation information for updating a TagValue. -message UpdateTagValueMetadata { - -} +message UpdateTagValueMetadata {} // The request message for deleting a TagValue. message DeleteTagValueRequest { - // Required. Resource name for TagValue to be deleted in the format tagValues/456. + // Required. Resource name for TagValue to be deleted in the format + // tagValues/456. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -281,16 +318,14 @@ message DeleteTagValueRequest { } ]; - // Optional. Set as true to perform the validations necessary for deletion, but not - // actually perform the action. + // Optional. Set as true to perform the validations necessary for deletion, + // but not actually perform the action. bool validate_only = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. The etag known to the client for the expected state of the TagValue. This - // is to be used for optimistic concurrency. + // Optional. The etag known to the client for the expected state of the + // TagValue. This is to be used for optimistic concurrency. string etag = 3 [(google.api.field_behavior) = OPTIONAL]; } // Runtime operation information for deleting a TagValue. -message DeleteTagValueMetadata { - -} +message DeleteTagValueMetadata {} diff --git a/third_party/googleapis/google/cloud/resourcesettings/BUILD.bazel b/third_party/googleapis/google/cloud/resourcesettings/BUILD.bazel index b9e33c4d4..b7c9f5e0c 100644 --- a/third_party/googleapis/google/cloud/resourcesettings/BUILD.bazel +++ b/third_party/googleapis/google/cloud/resourcesettings/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-resource_settings", "ruby-cloud-env-prefix=RESOURCE_SETTINGS", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.6", "ruby-cloud-product-url=https://cloud.google.com/resource-manager/docs/resource-settings/overview", "ruby-cloud-api-id=resourcesettings.googleapis.com", "ruby-cloud-api-shortname=resourcesettings", ], ruby_cloud_description = "You can use Resource Settings to centrally configure settings for your Google Cloud projects, folders, and organization. These settings are inherited by their descendants in the resource hierarchy. Each setting is created and managed by Google.", ruby_cloud_title = "Resource Settings", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/resourcesettings/v1/BUILD.bazel b/third_party/googleapis/google/cloud/resourcesettings/v1/BUILD.bazel index 291808e4c..9f9372939 100644 --- a/third_party/googleapis/google/cloud/resourcesettings/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/resourcesettings/v1/BUILD.bazel @@ -66,6 +66,7 @@ java_gapic_library( srcs = [":resourcesettings_proto_with_info"], grpc_service_config = "resourcesettings_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "resourcesettings_v1.yaml", test_deps = [ ":resourcesettings_java_grpc", ], @@ -105,7 +106,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -133,19 +133,13 @@ go_gapic_library( ], ) -go_test( - name = "resourcesettings_go_gapic_test", - srcs = [":resourcesettings_go_gapic_srcjar_test"], - embed = [":resourcesettings_go_gapic"], - importpath = "cloud.google.com/go/resourcesettings/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-resourcesettings-v1-go", deps = [ ":resourcesettings_go_gapic", ":resourcesettings_go_gapic_srcjar-metadata.srcjar", + ":resourcesettings_go_gapic_srcjar-snippets.srcjar", ":resourcesettings_go_gapic_srcjar-test.srcjar", ":resourcesettings_go_proto", ], @@ -196,7 +190,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -205,23 +198,15 @@ php_proto_library( deps = [":resourcesettings_proto"], ) -php_grpc_library( - name = "resourcesettings_php_grpc", - srcs = [":resourcesettings_proto"], - deps = [":resourcesettings_php_proto"], -) - php_gapic_library( name = "resourcesettings_php_gapic", srcs = [":resourcesettings_proto_with_info"], grpc_service_config = "resourcesettings_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "resourcesettings_v1.yaml", transport = "grpc+rest", - deps = [ - ":resourcesettings_php_grpc", - ":resourcesettings_php_proto", - ], + deps = [":resourcesettings_php_proto"], ) # Open Source Packages @@ -229,7 +214,6 @@ php_gapic_assembly_pkg( name = "google-cloud-resourcesettings-v1-php", deps = [ ":resourcesettings_php_gapic", - ":resourcesettings_php_grpc", ":resourcesettings_php_proto", ], ) @@ -301,6 +285,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "You can use Resource Settings to centrally configure settings for your Google Cloud projects, folders, and organization. These settings are inherited by their descendants in the resource hierarchy. Each setting is created and managed by Google.", ruby_cloud_title = "Resource Settings V1", service_yaml = "resourcesettings_v1.yaml", + transport = "grpc+rest", deps = [ ":resourcesettings_ruby_grpc", ":resourcesettings_ruby_proto", diff --git a/third_party/googleapis/google/cloud/retail/BUILD.bazel b/third_party/googleapis/google/cloud/retail/BUILD.bazel index 238192ed0..f598530fd 100644 --- a/third_party/googleapis/google/cloud/retail/BUILD.bazel +++ b/third_party/googleapis/google/cloud/retail/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-retail", "ruby-cloud-env-prefix=RETAIL", - "ruby-cloud-wrapper-of=v2:0.11", + "ruby-cloud-wrapper-of=v2:0.18", "ruby-cloud-product-url=https://cloud.google.com/retail/docs/apis", "ruby-cloud-api-id=retail.googleapis.com", "ruby-cloud-api-shortname=retail", ], ruby_cloud_description = "Retail enables you to build an end-to-end personalized recommendation system based on state-of-the-art deep learning ML models, without a need for expertise in ML or recommendation systems.", ruby_cloud_title = "Retail", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/retail/v2/BUILD.bazel b/third_party/googleapis/google/cloud/retail/v2/BUILD.bazel index 3851b4e5e..04d3aebd9 100644 --- a/third_party/googleapis/google/cloud/retail/v2/BUILD.bazel +++ b/third_party/googleapis/google/cloud/retail/v2/BUILD.bazel @@ -21,13 +21,17 @@ load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") proto_library( name = "retail_proto", srcs = [ + "analytics_service.proto", "catalog.proto", "catalog_service.proto", "common.proto", "completion_service.proto", "control.proto", "control_service.proto", + "export_config.proto", "import_config.proto", + "model.proto", + "model_service.proto", "prediction_service.proto", "product.proto", "product_service.proto", @@ -108,12 +112,16 @@ java_gapic_library( java_gapic_test( name = "retail_java_gapic_test_suite", test_classes = [ + "com.google.cloud.retail.v2.AnalyticsServiceClientHttpJsonTest", + "com.google.cloud.retail.v2.AnalyticsServiceClientTest", "com.google.cloud.retail.v2.CatalogServiceClientHttpJsonTest", "com.google.cloud.retail.v2.CatalogServiceClientTest", - "com.google.cloud.retail.v2.ControlServiceClientHttpJsonTest", - "com.google.cloud.retail.v2.ControlServiceClientTest", "com.google.cloud.retail.v2.CompletionServiceClientHttpJsonTest", "com.google.cloud.retail.v2.CompletionServiceClientTest", + "com.google.cloud.retail.v2.ControlServiceClientHttpJsonTest", + "com.google.cloud.retail.v2.ControlServiceClientTest", + "com.google.cloud.retail.v2.ModelServiceClientHttpJsonTest", + "com.google.cloud.retail.v2.ModelServiceClientTest", "com.google.cloud.retail.v2.PredictionServiceClientHttpJsonTest", "com.google.cloud.retail.v2.PredictionServiceClientTest", "com.google.cloud.retail.v2.ProductServiceClientHttpJsonTest", @@ -149,7 +157,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -186,19 +193,13 @@ go_gapic_library( ], ) -go_test( - name = "retail_go_gapic_test", - srcs = [":retail_go_gapic_srcjar_test"], - embed = [":retail_go_gapic"], - importpath = "cloud.google.com/go/retail/apiv2", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-retail-v2-go", deps = [ ":retail_go_gapic", ":retail_go_gapic_srcjar-metadata.srcjar", + ":retail_go_gapic_srcjar-snippets.srcjar", ":retail_go_gapic_srcjar-test.srcjar", ":retail_go_proto", ], @@ -248,7 +249,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -257,23 +257,15 @@ php_proto_library( deps = [":retail_proto"], ) -php_grpc_library( - name = "retail_php_grpc", - srcs = [":retail_proto"], - deps = [":retail_php_proto"], -) - php_gapic_library( name = "retail_php_gapic", srcs = [":retail_proto_with_info"], grpc_service_config = "retail_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "retail_v2.yaml", transport = "grpc+rest", - deps = [ - ":retail_php_grpc", - ":retail_php_proto", - ], + deps = [":retail_php_proto"], ) # Open Source Packages @@ -281,7 +273,6 @@ php_gapic_assembly_pkg( name = "google-cloud-retail-v2-php", deps = [ ":retail_php_gapic", - ":retail_php_grpc", ":retail_php_proto", ], ) @@ -354,6 +345,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Retail enables you to build an end-to-end personalized recommendation system based on state-of-the-art deep learning ML models, without a need for expertise in ML or recommendation systems.", ruby_cloud_title = "Retail V2", service_yaml = "retail_v2.yaml", + transport = "grpc+rest", deps = [ ":retail_ruby_grpc", ":retail_ruby_proto", diff --git a/third_party/googleapis/google/cloud/retail/v2/catalog.proto b/third_party/googleapis/google/cloud/retail/v2/catalog.proto index f66c1181f..4205e0014 100644 --- a/third_party/googleapis/google/cloud/retail/v2/catalog.proto +++ b/third_party/googleapis/google/cloud/retail/v2/catalog.proto @@ -140,8 +140,7 @@ message CatalogAttribute { // The status of the exact-searchable option of a catalog attribute. enum ExactSearchableOption { - // Value used when unset. Defaults to - // [EXACT_SEARCHABLE_DISABLED][google.cloud.retail.v2.CatalogAttribute.ExactSearchableOption.EXACT_SEARCHABLE_DISABLED]. + // Value used when unset. EXACT_SEARCHABLE_OPTION_UNSPECIFIED = 0; // Exact searchable option enabled for an attribute. @@ -153,8 +152,7 @@ message CatalogAttribute { // The status of the retrievable option of a catalog attribute. enum RetrievableOption { - // Value used when unset. Defaults to - // [RETRIEVABLE_DISABLED][google.cloud.retail.v2.CatalogAttribute.RetrievableOption.RETRIEVABLE_DISABLED]. + // Value used when unset. RETRIEVABLE_OPTION_UNSPECIFIED = 0; // Retrievable option enabled for an attribute. @@ -171,6 +169,10 @@ message CatalogAttribute { // characters and underscores. For example, an attribute named // `attributes.abc_xyz` can be indexed, but an attribute named // `attributes.abc-xyz` cannot be indexed. + // + // If the attribute key starts with `attributes.`, then the attribute is a + // custom attribute. Attributes such as `brands`, `patterns`, and `title` are + // built-in and called system attributes. string key = 1 [(google.api.field_behavior) = REQUIRED]; // Output only. Indicates whether this attribute has been used by any @@ -235,11 +237,14 @@ message CatalogAttribute { // If EXACT_SEARCHABLE_ENABLED, attribute values will be exact searchable. // This property only applies to textual custom attributes and requires - // indexable set to enabled to enable exact-searchable. + // indexable set to enabled to enable exact-searchable. If unset, the server + // behavior defaults to + // [EXACT_SEARCHABLE_DISABLED][google.cloud.retail.v2.CatalogAttribute.ExactSearchableOption.EXACT_SEARCHABLE_DISABLED]. ExactSearchableOption exact_searchable_option = 11; // If RETRIEVABLE_ENABLED, attribute values are retrievable in the search - // results. + // results. If unset, the server behavior defaults to + // [RETRIEVABLE_DISABLED][google.cloud.retail.v2.CatalogAttribute.RetrievableOption.RETRIEVABLE_DISABLED]. RetrievableOption retrievable_option = 12; } diff --git a/third_party/googleapis/google/cloud/retail/v2/common.proto b/third_party/googleapis/google/cloud/retail/v2/common.proto index 5d09c8a32..d04afc3d1 100644 --- a/third_party/googleapis/google/cloud/retail/v2/common.proto +++ b/third_party/googleapis/google/cloud/retail/v2/common.proto @@ -55,6 +55,20 @@ enum SolutionType { SOLUTION_TYPE_SEARCH = 2; } +// If filtering for recommendations is enabled. +enum RecommendationsFilteringOption { + // Value used when unset. + // In this case, server behavior defaults to + // [RECOMMENDATIONS_FILTERING_DISABLED][google.cloud.retail.v2.RecommendationsFilteringOption.RECOMMENDATIONS_FILTERING_DISABLED]. + RECOMMENDATIONS_FILTERING_OPTION_UNSPECIFIED = 0; + + // Recommendation filtering is disabled. + RECOMMENDATIONS_FILTERING_DISABLED = 1; + + // Recommendation filtering is enabled. + RECOMMENDATIONS_FILTERING_ENABLED = 3; +} + // The use case of Cloud Retail Search. enum SearchSolutionUseCase { // The value when it's unspecified. In this case, server behavior defaults to @@ -362,7 +376,7 @@ message ColorInfo { // it is expected to have only 1 color. May consider using single "Mixed" // instead of multiple values. // - // A maximum of 25 colors are allowed. Each value must be a UTF-8 encoded + // A maximum of 75 colors are allowed. Each value must be a UTF-8 encoded // string with a length limit of 128 characters. Otherwise, an // INVALID_ARGUMENT error is returned. // diff --git a/third_party/googleapis/google/cloud/retail/v2/completion_service.proto b/third_party/googleapis/google/cloud/retail/v2/completion_service.proto index fa80fcd96..75c2d9371 100644 --- a/third_party/googleapis/google/cloud/retail/v2/completion_service.proto +++ b/third_party/googleapis/google/cloud/retail/v2/completion_service.proto @@ -33,7 +33,7 @@ option objc_class_prefix = "RETAIL"; option php_namespace = "Google\\Cloud\\Retail\\V2"; option ruby_package = "Google::Cloud::Retail::V2"; -// Auto-completion service for retail. +// Autocomplete service for retail. // // This feature is only available for users who have Retail Search enabled. // Enable Retail Search on Cloud Console before using this feature. @@ -74,7 +74,7 @@ service CompletionService { } } -// Auto-complete parameters. +// Autocomplete parameters. message CompleteQueryRequest { // Required. Catalog for which the completion is performed. // @@ -150,9 +150,17 @@ message CompleteQueryRequest { // The maximum allowed max suggestions is 20. If it is set higher, it will be // capped by 20. int32 max_suggestions = 5; + + // The entity for customers that may run multiple different entities, domains, + // sites or regions, for example, `Google US`, `Google Ads`, `Waymo`, + // `google.com`, `youtube.com`, etc. + // If this is set, it should be exactly matched with + // [UserEvent.entity][google.cloud.retail.v2.UserEvent.entity] to get + // per-entity autocomplete results. + string entity = 10; } -// Response of the auto-complete query. +// Response of the autocomplete query. message CompleteQueryResponse { // Resource that represents completion results. message CompletionResult { diff --git a/third_party/googleapis/google/cloud/retail/v2/import_config.proto b/third_party/googleapis/google/cloud/retail/v2/import_config.proto index 94df9e738..f6ff762a3 100644 --- a/third_party/googleapis/google/cloud/retail/v2/import_config.proto +++ b/third_party/googleapis/google/cloud/retail/v2/import_config.proto @@ -126,7 +126,7 @@ message BigQuerySource { // The schema is available here: // https://support.google.com/analytics/answer/7029846. // - // Supported values for auto-completion imports: + // Supported values for autocomplete imports: // // * `suggestions` (default): One JSON completion suggestion per line. // * `denylist`: One JSON deny suggestion per line. diff --git a/third_party/googleapis/google/cloud/retail/v2/prediction_service.proto b/third_party/googleapis/google/cloud/retail/v2/prediction_service.proto index ebef948fa..6e8061726 100644 --- a/third_party/googleapis/google/cloud/retail/v2/prediction_service.proto +++ b/third_party/googleapis/google/cloud/retail/v2/prediction_service.proto @@ -130,6 +130,9 @@ message PredictRequest { // * (colors: ANY("Red", "Blue")) AND NOT (categories: ANY("Phones")) // * (availability: ANY("IN_STOCK")) AND // (colors: ANY("Red") OR categories: ANY("Phones")) + // + // For more information, see + // [Filter recommendations](https://cloud.google.com/retail/docs/filter-recs). string filter = 5; // Use validate only mode for this prediction query. If set to true, a diff --git a/third_party/googleapis/google/cloud/retail/v2/product.proto b/third_party/googleapis/google/cloud/retail/v2/product.proto index dc558df1b..f1ec48695 100644 --- a/third_party/googleapis/google/cloud/retail/v2/product.proto +++ b/third_party/googleapis/google/cloud/retail/v2/product.proto @@ -576,12 +576,11 @@ message Product { // Output only. A list of local inventories specific to different places. // - // This is only available for users who have Retail Search enabled, and it can - // be managed by + // This field can be managed by // [ProductService.AddLocalInventories][google.cloud.retail.v2.ProductService.AddLocalInventories] // and // [ProductService.RemoveLocalInventories][google.cloud.retail.v2.ProductService.RemoveLocalInventories] - // APIs. + // APIs if fine-grained, high-volume updates are necessary. repeated LocalInventory local_inventories = 35 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/cloud/retail/v2/product_service.proto b/third_party/googleapis/google/cloud/retail/v2/product_service.proto index d15dac881..ff69b68c7 100644 --- a/third_party/googleapis/google/cloud/retail/v2/product_service.proto +++ b/third_party/googleapis/google/cloud/retail/v2/product_service.proto @@ -154,9 +154,6 @@ service ProductService { // [Operation][google.longrunning.Operation]s associated with the stale // updates are not marked as [done][google.longrunning.Operation.done] until // they are obsolete. - // - // This feature is only available for users who have Retail Search enabled. - // Enable Retail Search on Cloud Console before using this feature. rpc SetInventory(SetInventoryRequest) returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v2/{inventory.name=projects/*/locations/*/catalogs/*/branches/*/products/**}:setInventory" @@ -169,6 +166,14 @@ service ProductService { }; } + // It is recommended to use the + // [ProductService.AddLocalInventories][google.cloud.retail.v2.ProductService.AddLocalInventories] + // method instead of + // [ProductService.AddFulfillmentPlaces][google.cloud.retail.v2.ProductService.AddFulfillmentPlaces]. + // [ProductService.AddLocalInventories][google.cloud.retail.v2.ProductService.AddLocalInventories] + // achieves the same results but provides more fine-grained control over + // ingesting local inventory data. + // // Incrementally adds place IDs to // [Product.fulfillment_info.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids]. // @@ -190,9 +195,6 @@ service ProductService { // [Operation][google.longrunning.Operation]s associated with the stale // updates will not be marked as [done][google.longrunning.Operation.done] // until being obsolete. - // - // This feature is only available for users who have Retail Search enabled. - // Enable Retail Search on Cloud Console before using this feature. rpc AddFulfillmentPlaces(AddFulfillmentPlacesRequest) returns (google.longrunning.Operation) { option (google.api.http) = { @@ -206,6 +208,14 @@ service ProductService { }; } + // It is recommended to use the + // [ProductService.RemoveLocalInventories][google.cloud.retail.v2.ProductService.RemoveLocalInventories] + // method instead of + // [ProductService.RemoveFulfillmentPlaces][google.cloud.retail.v2.ProductService.RemoveFulfillmentPlaces]. + // [ProductService.RemoveLocalInventories][google.cloud.retail.v2.ProductService.RemoveLocalInventories] + // achieves the same results but provides more fine-grained control over + // ingesting local inventory data. + // // Incrementally removes place IDs from a // [Product.fulfillment_info.place_ids][google.cloud.retail.v2.FulfillmentInfo.place_ids]. // @@ -227,9 +237,6 @@ service ProductService { // [Operation][google.longrunning.Operation]s associated with the stale // updates will not be marked as [done][google.longrunning.Operation.done] // until being obsolete. - // - // This feature is only available for users who have Retail Search enabled. - // Enable Retail Search on Cloud Console before using this feature. rpc RemoveFulfillmentPlaces(RemoveFulfillmentPlacesRequest) returns (google.longrunning.Operation) { option (google.api.http) = { @@ -271,9 +278,6 @@ service ProductService { // [Operation][google.longrunning.Operation]s associated with the stale // updates will not be marked as [done][google.longrunning.Operation.done] // until being obsolete. - // - // This feature is only available for users who have Retail Search enabled. - // Enable Retail Search on Cloud Console before using this feature. rpc AddLocalInventories(AddLocalInventoriesRequest) returns (google.longrunning.Operation) { option (google.api.http) = { @@ -313,9 +317,6 @@ service ProductService { // [Operation][google.longrunning.Operation]s associated with the stale // updates will not be marked as [done][google.longrunning.Operation.done] // until being obsolete. - // - // This feature is only available for users who have Retail Search enabled. - // Enable Retail Search on Cloud Console before using this feature. rpc RemoveLocalInventories(RemoveLocalInventoriesRequest) returns (google.longrunning.Operation) { option (google.api.http) = { diff --git a/third_party/googleapis/google/cloud/retail/v2/retail_grpc_service_config.json b/third_party/googleapis/google/cloud/retail/v2/retail_grpc_service_config.json index 9801c103a..094508b75 100644 --- a/third_party/googleapis/google/cloud/retail/v2/retail_grpc_service_config.json +++ b/third_party/googleapis/google/cloud/retail/v2/retail_grpc_service_config.json @@ -32,6 +32,22 @@ "retryableStatusCodes": ["UNAVAILABLE", "DEADLINE_EXCEEDED"] } }, + { + "name": [ + { + "service": "google.cloud.retail.v2.AnalyticsService", + "method": "ExportAnalyticsMetrics" + }, + { "service": "google.cloud.retail.v2.ModelService" } + ], + "timeout": "60s", + "retryPolicy": { + "initialBackoff": "0.100s", + "maxBackoff": "60s", + "backoffMultiplier": 1.3, + "retryableStatusCodes": ["UNAVAILABLE", "DEADLINE_EXCEEDED"] + } + }, { "name": [ { diff --git a/third_party/googleapis/google/cloud/retail/v2/retail_v2.yaml b/third_party/googleapis/google/cloud/retail/v2/retail_v2.yaml index 3b0e4454e..82b086e58 100644 --- a/third_party/googleapis/google/cloud/retail/v2/retail_v2.yaml +++ b/third_party/googleapis/google/cloud/retail/v2/retail_v2.yaml @@ -5,9 +5,11 @@ title: Retail API apis: - name: google.cloud.location.Locations +- name: google.cloud.retail.v2.AnalyticsService - name: google.cloud.retail.v2.CatalogService - name: google.cloud.retail.v2.CompletionService - name: google.cloud.retail.v2.ControlService +- name: google.cloud.retail.v2.ModelService - name: google.cloud.retail.v2.PredictionService - name: google.cloud.retail.v2.ProductService - name: google.cloud.retail.v2.SearchService @@ -21,11 +23,15 @@ types: - name: google.cloud.retail.v2.AddFulfillmentPlacesResponse - name: google.cloud.retail.v2.AddLocalInventoriesMetadata - name: google.cloud.retail.v2.AddLocalInventoriesResponse +- name: google.cloud.retail.v2.CreateModelMetadata +- name: google.cloud.retail.v2.ExportAnalyticsMetricsResponse +- name: google.cloud.retail.v2.ExportMetadata - name: google.cloud.retail.v2.ImportCompletionDataResponse - name: google.cloud.retail.v2.ImportErrorsConfig - name: google.cloud.retail.v2.ImportMetadata - name: google.cloud.retail.v2.ImportProductsResponse - name: google.cloud.retail.v2.ImportUserEventsResponse +- name: google.cloud.retail.v2.Model - name: google.cloud.retail.v2.PurgeMetadata - name: google.cloud.retail.v2.PurgeUserEventsResponse - name: google.cloud.retail.v2.RejoinUserEventsMetadata @@ -36,6 +42,8 @@ types: - name: google.cloud.retail.v2.RemoveLocalInventoriesResponse - name: google.cloud.retail.v2.SetInventoryMetadata - name: google.cloud.retail.v2.SetInventoryResponse +- name: google.cloud.retail.v2.TuneModelMetadata +- name: google.cloud.retail.v2.TuneModelResponse documentation: summary: |- @@ -55,6 +63,8 @@ backend: deadline: 10.0 - selector: google.cloud.retail.v2.CompletionService.ImportCompletionData deadline: 300.0 + - selector: 'google.cloud.retail.v2.ModelService.*' + deadline: 60.0 - selector: 'google.cloud.retail.v2.ProductService.*' deadline: 30.0 - selector: google.cloud.retail.v2.ProductService.ImportProducts @@ -92,6 +102,10 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform + - selector: google.cloud.retail.v2.AnalyticsService.ExportAnalyticsMetrics + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform - selector: 'google.cloud.retail.v2.CatalogService.*' oauth: canonical_scopes: |- @@ -108,6 +122,10 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform + - selector: 'google.cloud.retail.v2.ModelService.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform - selector: google.cloud.retail.v2.PredictionService.Predict oauth: canonical_scopes: |- diff --git a/third_party/googleapis/google/cloud/retail/v2/search_service.proto b/third_party/googleapis/google/cloud/retail/v2/search_service.proto index 1882f33f6..d25d28499 100644 --- a/third_party/googleapis/google/cloud/retail/v2/search_service.proto +++ b/third_party/googleapis/google/cloud/retail/v2/search_service.proto @@ -33,6 +33,10 @@ option java_package = "com.google.cloud.retail.v2"; option objc_class_prefix = "RETAIL"; option php_namespace = "Google\\Cloud\\Retail\\V2"; option ruby_package = "Google::Cloud::Retail::V2"; +option (google.api.resource_definition) = { + type: "retail.googleapis.com/Experiment" + pattern: "projects/{project}/locations/{location}/catalogs/{catalog}/experiments/{experiment}" +}; // Service for search. // @@ -111,7 +115,16 @@ message SearchRequest { // Set only if values should be bucketized into intervals. Must be set // for facets with numerical values. Must not be set for facet with text - // values. Maximum number of intervals is 30. + // values. Maximum number of intervals is 40. + // + // For all numerical facet keys that appear in the list of products from + // the catalog, the percentiles 0, 10, 30, 50, 70, 90 and 100 are + // computed from their distribution weekly. If the model assigns a high + // score to a numerical facet key and its intervals are not specified in + // the search request, these percentiles will become the bounds + // for its intervals and will be returned in the response. If the + // facet key intervals are specified in the request, then the specified + // intervals will be returned instead. repeated Interval intervals = 2; // Only get facet for the given restricted values. For example, when using @@ -572,7 +585,7 @@ message SearchRequest { // Facet specifications for faceted search. If empty, no facets are returned. // - // A maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error + // A maximum of 200 values are allowed. Otherwise, an INVALID_ARGUMENT error // is returned. repeated FacetSpec facet_specs = 12; @@ -724,6 +737,14 @@ message SearchRequest { // The spell correction specification that specifies the mode under // which spell correction will take effect. optional SpellCorrectionSpec spell_correction_spec = 35; + + // The entity for customers that may run multiple different entities, domains, + // sites or regions, for example, `Google US`, `Google Ads`, `Waymo`, + // `google.com`, `youtube.com`, etc. + // If this is set, it should be exactly matched with + // [UserEvent.entity][google.cloud.retail.v2.UserEvent.entity] to get search + // results boosted by entity. + string entity = 38; } // Response message for @@ -921,4 +942,44 @@ message SearchResponse { // that are not applied during serving. repeated SearchRequest.BoostSpec.ConditionBoostSpec invalid_condition_boost_specs = 14; + + // Metadata related to A/B testing [Experiment][] associated with this + // response. Only exists when an experiment is triggered. + repeated ExperimentInfo experiment_info = 17; +} + +// Metadata for active A/B testing [Experiments][]. +message ExperimentInfo { + // Metadata for active serving config A/B tests. + message ServingConfigExperiment { + // The fully qualified resource name of the original + // [SearchRequest.placement][google.cloud.retail.v2.SearchRequest.placement] + // in the search request prior to reassignment by experiment API. For + // example: `projects/*/locations/*/catalogs/*/servingConfigs/*`. + string original_serving_config = 1 [(google.api.resource_reference) = { + type: "retail.googleapis.com/ServingConfig" + }]; + + // The fully qualified resource name of the serving config + // [VariantArm.serving_config_id][] responsible for generating the search + // response. For example: + // `projects/*/locations/*/catalogs/*/servingConfigs/*`. + string experiment_serving_config = 2 [(google.api.resource_reference) = { + type: "retail.googleapis.com/ServingConfig" + }]; + } + + // Information associated with the specific experiment entity being recorded. + oneof experiment_metadata { + // A/B test between existing Cloud Retail Search + // [ServingConfig][google.cloud.retail.v2.ServingConfig]s. + ServingConfigExperiment serving_config_experiment = 2; + } + + // The fully qualified resource name of the experiment that provides the + // serving config under test, should an active experiment exist. For example: + // `projects/*/locations/global/catalogs/default_catalog/experiments/experiment_id` + string experiment = 1 [(google.api.resource_reference) = { + type: "retail.googleapis.com/Experiment" + }]; } diff --git a/third_party/googleapis/google/cloud/retail/v2/serving_config.proto b/third_party/googleapis/google/cloud/retail/v2/serving_config.proto index 78f49d3fa..ef5b46fca 100644 --- a/third_party/googleapis/google/cloud/retail/v2/serving_config.proto +++ b/third_party/googleapis/google/cloud/retail/v2/serving_config.proto @@ -80,7 +80,7 @@ message ServingConfig { // Allowed values are: // // * `no-price-reranking` - // * `low-price-raranking` + // * `low-price-reranking` // * `medium-price-reranking` // * `high-price-reranking` // @@ -219,8 +219,8 @@ message ServingConfig { // [SOLUTION_TYPE_RECOMMENDATION][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. string diversity_level = 8; - // What kind of diversity to use - data driven or rule based. If unset, - // the server behavior defaults to + // What kind of diversity to use - data driven or rule based. If unset, the + // server behavior defaults to // [RULE_BASED_DIVERSITY][google.cloud.retail.v2.ServingConfig.DiversityType.RULE_BASED_DIVERSITY]. DiversityType diversity_type = 20; diff --git a/third_party/googleapis/google/cloud/retail/v2/user_event.proto b/third_party/googleapis/google/cloud/retail/v2/user_event.proto index 4e98b363b..1ddc8bd61 100644 --- a/third_party/googleapis/google/cloud/retail/v2/user_event.proto +++ b/third_party/googleapis/google/cloud/retail/v2/user_event.proto @@ -267,6 +267,13 @@ message UserEvent { // When using the client side event reporting with JavaScript pixel and Google // Tag Manager, this value is filled in automatically. string page_view_id = 15; + + // The entity for customers that may run multiple different entities, domains, + // sites or regions, for example, `Google US`, `Google Ads`, `Waymo`, + // `google.com`, `youtube.com`, etc. + // It is recommended to set this field to get better per-entity search, + // completion and prediction results. + string entity = 23; } // Detailed product information associated with a user event. diff --git a/third_party/googleapis/google/cloud/retail/v2/user_event_service.proto b/third_party/googleapis/google/cloud/retail/v2/user_event_service.proto index 6b44aa459..719fdaa2d 100644 --- a/third_party/googleapis/google/cloud/retail/v2/user_event_service.proto +++ b/third_party/googleapis/google/cloud/retail/v2/user_event_service.proto @@ -138,7 +138,7 @@ message CollectUserEventRequest { // only when the raw_json is set. oneof conversion_rule { // The prebuilt rule name that can convert a specific type of raw_json. - // For example: "default_schema/v1.0" + // For example: "ga4_bq" rule for the GA4 user event schema. string prebuilt_rule = 6; } diff --git a/third_party/googleapis/google/cloud/retail/v2alpha/BUILD.bazel b/third_party/googleapis/google/cloud/retail/v2alpha/BUILD.bazel index 886e6a0bd..91853ac17 100644 --- a/third_party/googleapis/google/cloud/retail/v2alpha/BUILD.bazel +++ b/third_party/googleapis/google/cloud/retail/v2alpha/BUILD.bazel @@ -21,6 +21,7 @@ load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") proto_library( name = "retail_proto", srcs = [ + "analytics_service.proto", "catalog.proto", "catalog_service.proto", "common.proto", @@ -29,6 +30,8 @@ proto_library( "control_service.proto", "export_config.proto", "import_config.proto", + "merchant_center_account_link.proto", + "merchant_center_account_link_service.proto", "model.proto", "model_service.proto", "prediction_service.proto", @@ -111,12 +114,16 @@ java_gapic_library( java_gapic_test( name = "retail_java_gapic_test_suite", test_classes = [ + "com.google.cloud.retail.v2alpha.AnalyticsServiceClientHttpJsonTest", + "com.google.cloud.retail.v2alpha.AnalyticsServiceClientTest", "com.google.cloud.retail.v2alpha.CatalogServiceClientHttpJsonTest", "com.google.cloud.retail.v2alpha.CatalogServiceClientTest", "com.google.cloud.retail.v2alpha.CompletionServiceClientHttpJsonTest", "com.google.cloud.retail.v2alpha.CompletionServiceClientTest", "com.google.cloud.retail.v2alpha.ControlServiceClientHttpJsonTest", "com.google.cloud.retail.v2alpha.ControlServiceClientTest", + "com.google.cloud.retail.v2alpha.MerchantCenterAccountLinkServiceClientHttpJsonTest", + "com.google.cloud.retail.v2alpha.MerchantCenterAccountLinkServiceClientTest", "com.google.cloud.retail.v2alpha.ModelServiceClientHttpJsonTest", "com.google.cloud.retail.v2alpha.ModelServiceClientTest", "com.google.cloud.retail.v2alpha.PredictionServiceClientHttpJsonTest", @@ -154,7 +161,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -192,19 +198,13 @@ go_gapic_library( ], ) -go_test( - name = "retail_go_gapic_test", - srcs = [":retail_go_gapic_srcjar_test"], - embed = [":retail_go_gapic"], - importpath = "cloud.google.com/go/retail/apiv2alpha", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-retail-v2alpha-go", deps = [ ":retail_go_gapic", ":retail_go_gapic_srcjar-metadata.srcjar", + ":retail_go_gapic_srcjar-snippets.srcjar", ":retail_go_gapic_srcjar-test.srcjar", ":retail_go_proto", ], @@ -254,7 +254,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -263,12 +262,6 @@ php_proto_library( deps = [":retail_proto"], ) -php_grpc_library( - name = "retail_php_grpc", - srcs = [":retail_proto"], - deps = [":retail_php_proto"], -) - php_gapic_library( name = "retail_php_gapic", srcs = [":retail_proto_with_info"], @@ -276,10 +269,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "retail_v2alpha.yaml", transport = "grpc+rest", - deps = [ - ":retail_php_grpc", - ":retail_php_proto", - ], + deps = [":retail_php_proto"], ) # Open Source Packages @@ -287,7 +277,6 @@ php_gapic_assembly_pkg( name = "google-cloud-retail-v2alpha-php", deps = [ ":retail_php_gapic", - ":retail_php_grpc", ":retail_php_proto", ], ) @@ -360,6 +349,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Retail enables you to build an end-to-end personalized recommendation system based on state-of-the-art deep learning ML models, without a need for expertise in ML or recommendation systems.", ruby_cloud_title = "Retail V2alpha", service_yaml = "retail_v2alpha.yaml", + transport = "grpc+rest", deps = [ ":retail_ruby_grpc", ":retail_ruby_proto", diff --git a/third_party/googleapis/google/cloud/retail/v2alpha/catalog.proto b/third_party/googleapis/google/cloud/retail/v2alpha/catalog.proto index ade5b4286..ee569f9c8 100644 --- a/third_party/googleapis/google/cloud/retail/v2alpha/catalog.proto +++ b/third_party/googleapis/google/cloud/retail/v2alpha/catalog.proto @@ -140,8 +140,7 @@ message CatalogAttribute { // The status of the exact-searchable option of a catalog attribute. enum ExactSearchableOption { - // Value used when unset. Defaults to - // [EXACT_SEARCHABLE_DISABLED][google.cloud.retail.v2alpha.CatalogAttribute.ExactSearchableOption.EXACT_SEARCHABLE_DISABLED]. + // Value used when unset. EXACT_SEARCHABLE_OPTION_UNSPECIFIED = 0; // Exact searchable option enabled for an attribute. @@ -153,8 +152,7 @@ message CatalogAttribute { // The status of the retrievable option of a catalog attribute. enum RetrievableOption { - // Value used when unset. Defaults to - // [RETRIEVABLE_DISABLED][google.cloud.retail.v2alpha.CatalogAttribute.RetrievableOption.RETRIEVABLE_DISABLED]. + // Value used when unset. RETRIEVABLE_OPTION_UNSPECIFIED = 0; // Retrievable option enabled for an attribute. @@ -171,6 +169,10 @@ message CatalogAttribute { // characters and underscores. For example, an attribute named // `attributes.abc_xyz` can be indexed, but an attribute named // `attributes.abc-xyz` cannot be indexed. + // + // If the attribute key starts with `attributes.`, then the attribute is a + // custom attribute. Attributes such as `brands`, `patterns`, and `title` are + // built-in and called system attributes. string key = 1 [(google.api.field_behavior) = REQUIRED]; // Output only. Indicates whether this attribute has been used by any @@ -244,11 +246,14 @@ message CatalogAttribute { // If EXACT_SEARCHABLE_ENABLED, attribute values will be exact searchable. // This property only applies to textual custom attributes and requires - // indexable set to enabled to enable exact-searchable. + // indexable set to enabled to enable exact-searchable. If unset, the server + // behavior defaults to + // [EXACT_SEARCHABLE_DISABLED][google.cloud.retail.v2alpha.CatalogAttribute.ExactSearchableOption.EXACT_SEARCHABLE_DISABLED]. ExactSearchableOption exact_searchable_option = 11; // If RETRIEVABLE_ENABLED, attribute values are retrievable in the search - // results. + // results. If unset, the server behavior defaults to + // [RETRIEVABLE_DISABLED][google.cloud.retail.v2alpha.CatalogAttribute.RetrievableOption.RETRIEVABLE_DISABLED]. RetrievableOption retrievable_option = 12; } diff --git a/third_party/googleapis/google/cloud/retail/v2alpha/common.proto b/third_party/googleapis/google/cloud/retail/v2alpha/common.proto index bdcad0ef7..276af73c9 100644 --- a/third_party/googleapis/google/cloud/retail/v2alpha/common.proto +++ b/third_party/googleapis/google/cloud/retail/v2alpha/common.proto @@ -378,7 +378,7 @@ message ColorInfo { // it is expected to have only 1 color. May consider using single "Mixed" // instead of multiple values. // - // A maximum of 25 colors are allowed. Each value must be a UTF-8 encoded + // A maximum of 75 colors are allowed. Each value must be a UTF-8 encoded // string with a length limit of 128 characters. Otherwise, an // INVALID_ARGUMENT error is returned. // diff --git a/third_party/googleapis/google/cloud/retail/v2alpha/completion_service.proto b/third_party/googleapis/google/cloud/retail/v2alpha/completion_service.proto index 331a0e746..61cd99363 100644 --- a/third_party/googleapis/google/cloud/retail/v2alpha/completion_service.proto +++ b/third_party/googleapis/google/cloud/retail/v2alpha/completion_service.proto @@ -22,6 +22,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/retail/v2alpha/common.proto"; import "google/cloud/retail/v2alpha/import_config.proto"; +import "google/cloud/retail/v2alpha/search_service.proto"; import "google/longrunning/operations.proto"; option csharp_namespace = "Google.Cloud.Retail.V2Alpha"; @@ -33,7 +34,7 @@ option objc_class_prefix = "RETAIL"; option php_namespace = "Google\\Cloud\\Retail\\V2alpha"; option ruby_package = "Google::Cloud::Retail::V2alpha"; -// Auto-completion service for retail. +// Autocomplete service for retail. // // This feature is only available for users who have Retail Search enabled. // Enable Retail Search on Cloud Console before using this feature. @@ -74,7 +75,7 @@ service CompletionService { } } -// Auto-complete parameters. +// Autocomplete parameters. message CompleteQueryRequest { // Required. Catalog for which the completion is performed. // @@ -155,9 +156,17 @@ message CompleteQueryRequest { // // This field is only available for "cloud-retail" dataset. bool enable_attribute_suggestions = 9; + + // The entity for customers that may run multiple different entities, domains, + // sites or regions, for example, `Google US`, `Google Ads`, `Waymo`, + // `google.com`, `youtube.com`, etc. + // If this is set, it should be exactly matched with + // [UserEvent.entity][google.cloud.retail.v2alpha.UserEvent.entity] to get + // per-entity autocomplete results. + string entity = 10; } -// Response of the auto-complete query. +// Response of the autocomplete query. message CompleteQueryResponse { // Resource that represents completion results. message CompletionResult { @@ -174,6 +183,19 @@ message CompleteQueryResponse { // [UserEvent.product_details][google.cloud.retail.v2alpha.UserEvent.product_details] // is imported properly. map attributes = 2; + + // Facet information for the suggestion term. Gives the number of items + // resulting from a search with this suggestion term for each facet. + // + // This is an experimental feature for limited customers. Please reach out + // to the support team if you would like to receive this information. + repeated SearchResponse.Facet facets = 3; + + // Total number of products associated with a search with this suggestion. + // + // This is an experimental feature for limited customers. Please reach out + // to the support team if you would like to receive this information. + int32 total_product_count = 4; } // Recent search of this user. diff --git a/third_party/googleapis/google/cloud/retail/v2alpha/export_config.proto b/third_party/googleapis/google/cloud/retail/v2alpha/export_config.proto index 40ceb9cdb..83d4acfc8 100644 --- a/third_party/googleapis/google/cloud/retail/v2alpha/export_config.proto +++ b/third_party/googleapis/google/cloud/retail/v2alpha/export_config.proto @@ -30,6 +30,45 @@ option objc_class_prefix = "RETAIL"; option php_namespace = "Google\\Cloud\\Retail\\V2alpha"; option ruby_package = "Google::Cloud::Retail::V2alpha"; +// The output configuration setting. +message OutputConfig { + // The Google Cloud Storage output destination configuration. + message GcsDestination { + // Required. The output uri prefix for saving output data to json files. + // Some mapping examples are as follows: + // output_uri_prefix sample output(assuming the object is foo.json) + // ======================== ============================================= + // gs://bucket/ gs://bucket/foo.json + // gs://bucket/folder/ gs://bucket/folder/foo.json + // gs://bucket/folder/item_ gs://bucket/folder/item_foo.json + string output_uri_prefix = 1 [(google.api.field_behavior) = REQUIRED]; + } + + // The BigQuery output destination configuration. + message BigQueryDestination { + // Required. The ID of a BigQuery Dataset. + string dataset_id = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The prefix of exported BigQuery tables. + string table_id_prefix = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. Describes the table type. The following values are supported: + // + // * `table`: A BigQuery native table. + // * `view`: A virtual table defined by a SQL query. + string table_type = 3 [(google.api.field_behavior) = REQUIRED]; + } + + // The configuration of destination for holding output data. + oneof destination { + // The Google Cloud Storage location where the output is to be written to. + GcsDestination gcs_destination = 1; + + // The BigQuery location where the output is to be written to. + BigQueryDestination bigquery_destination = 2; + } +} + // Configuration of destination for Export related errors. message ExportErrorsConfig { // Required. Errors destination. @@ -42,6 +81,35 @@ message ExportErrorsConfig { } } +// Request message for the `ExportAnalyticsMetrics` method. +message ExportAnalyticsMetricsRequest { + // Required. Full resource name of the parent catalog. + // Expected format: `projects/*/locations/*/catalogs/*` + string catalog = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The output location of the data. + OutputConfig output_config = 2 [(google.api.field_behavior) = REQUIRED]; + + // A filtering expression to specify restrictions on returned metrics. + // The expression is a sequence of terms. Each term applies a restriction to + // the returned metrics. Use this expression to restrict results to a + // specific time range. + // + // Currently we expect only one types of fields: + // + // * `timestamp`: This can be specified twice, once with a + // less than operator and once with a greater than operator. The + // `timestamp` restriction should result in one, contiguous, valid, + // `timestamp` range. + // + // Some examples of valid filters expressions: + // + // * Example 1: `timestamp > "2012-04-23T18:25:43.511Z" + // timestamp < "2012-04-23T18:30:43.511Z"` + // * Example 2: `timestamp > "2012-04-23T18:25:43.511Z"` + string filter = 3; +} + // Metadata related to the progress of the Export operation. This is // returned by the google.longrunning.Operation.metadata field. message ExportMetadata { @@ -81,6 +149,20 @@ message ExportUserEventsResponse { OutputResult output_result = 3; } +// Response of the ExportAnalyticsMetricsRequest. If the long running +// operation was successful, then this message is returned by the +// google.longrunning.Operations.response field if the operation was successful. +message ExportAnalyticsMetricsResponse { + // A sample of errors encountered while processing the request. + repeated google.rpc.Status error_samples = 1; + + // This field is never set. + ExportErrorsConfig errors_config = 2; + + // Output result indicating where the data were exported to. + OutputResult output_result = 3; +} + // Output result that stores the information about where the exported data is // stored. message OutputResult { diff --git a/third_party/googleapis/google/cloud/retail/v2alpha/import_config.proto b/third_party/googleapis/google/cloud/retail/v2alpha/import_config.proto index f33557960..77ab88be3 100644 --- a/third_party/googleapis/google/cloud/retail/v2alpha/import_config.proto +++ b/third_party/googleapis/google/cloud/retail/v2alpha/import_config.proto @@ -126,7 +126,7 @@ message BigQuerySource { // The schema is available here: // https://support.google.com/analytics/answer/7029846. // - // Supported values for auto-completion imports: + // Supported values for autocomplete imports: // // * `suggestions` (default): One JSON completion suggestion per line. // * `denylist`: One JSON deny suggestion per line. diff --git a/third_party/googleapis/google/cloud/retail/v2alpha/model_service.proto b/third_party/googleapis/google/cloud/retail/v2alpha/model_service.proto index a2ab6d0dc..e26fc8b42 100644 --- a/third_party/googleapis/google/cloud/retail/v2alpha/model_service.proto +++ b/third_party/googleapis/google/cloud/retail/v2alpha/model_service.proto @@ -64,6 +64,14 @@ service ModelService { }; } + // Gets a model. + rpc GetModel(GetModelRequest) returns (Model) { + option (google.api.http) = { + get: "/v2alpha/{name=projects/*/locations/*/catalogs/*/models/*}" + }; + option (google.api.method_signature) = "name"; + } + // Pauses the training of an existing model. rpc PauseModel(PauseModelRequest) returns (Model) { option (google.api.http) = { @@ -154,6 +162,17 @@ message UpdateModelRequest { [(google.api.field_behavior) = OPTIONAL]; } +// Request for getting a model. +message GetModelRequest { + // Required. The resource name of the + // [Model][google.cloud.retail.v2alpha.Model] to get. Format: + // `projects/{project_number}/locations/{location_id}/catalogs/{catalog}/models/{model_id}` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "retail.googleapis.com/Model" } + ]; +} + // Request for pausing training of a model. message PauseModelRequest { // Required. The name of the model to pause. diff --git a/third_party/googleapis/google/cloud/retail/v2alpha/prediction_service.proto b/third_party/googleapis/google/cloud/retail/v2alpha/prediction_service.proto index dc4fff74d..30fb4bf46 100644 --- a/third_party/googleapis/google/cloud/retail/v2alpha/prediction_service.proto +++ b/third_party/googleapis/google/cloud/retail/v2alpha/prediction_service.proto @@ -130,6 +130,9 @@ message PredictRequest { // * (colors: ANY("Red", "Blue")) AND NOT (categories: ANY("Phones")) // * (availability: ANY("IN_STOCK")) AND // (colors: ANY("Red") OR categories: ANY("Phones")) + // + // For more information, see + // [Filter recommendations](https://cloud.google.com/retail/docs/filter-recs). string filter = 5; // Use validate only mode for this prediction query. If set to true, a diff --git a/third_party/googleapis/google/cloud/retail/v2alpha/product.proto b/third_party/googleapis/google/cloud/retail/v2alpha/product.proto index b47be04cb..3dc548fde 100644 --- a/third_party/googleapis/google/cloud/retail/v2alpha/product.proto +++ b/third_party/googleapis/google/cloud/retail/v2alpha/product.proto @@ -588,12 +588,11 @@ message Product { // Output only. A list of local inventories specific to different places. // - // This is only available for users who have Retail Search enabled, and it can - // be managed by + // This field can be managed by // [ProductService.AddLocalInventories][google.cloud.retail.v2alpha.ProductService.AddLocalInventories] // and // [ProductService.RemoveLocalInventories][google.cloud.retail.v2alpha.ProductService.RemoveLocalInventories] - // APIs. + // APIs if fine-grained, high-volume updates are necessary. repeated LocalInventory local_inventories = 35 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/cloud/retail/v2alpha/product_service.proto b/third_party/googleapis/google/cloud/retail/v2alpha/product_service.proto index fc5cddc13..c954d8c61 100644 --- a/third_party/googleapis/google/cloud/retail/v2alpha/product_service.proto +++ b/third_party/googleapis/google/cloud/retail/v2alpha/product_service.proto @@ -184,9 +184,6 @@ service ProductService { // [Operation][google.longrunning.Operation]s associated with the stale // updates are not marked as [done][google.longrunning.Operation.done] until // they are obsolete. - // - // This feature is only available for users who have Retail Search enabled. - // Enable Retail Search on Cloud Console before using this feature. rpc SetInventory(SetInventoryRequest) returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v2alpha/{inventory.name=projects/*/locations/*/catalogs/*/branches/*/products/**}:setInventory" @@ -199,6 +196,14 @@ service ProductService { }; } + // It is recommended to use the + // [ProductService.AddLocalInventories][google.cloud.retail.v2alpha.ProductService.AddLocalInventories] + // method instead of + // [ProductService.AddFulfillmentPlaces][google.cloud.retail.v2alpha.ProductService.AddFulfillmentPlaces]. + // [ProductService.AddLocalInventories][google.cloud.retail.v2alpha.ProductService.AddLocalInventories] + // achieves the same results but provides more fine-grained control over + // ingesting local inventory data. + // // Incrementally adds place IDs to // [Product.fulfillment_info.place_ids][google.cloud.retail.v2alpha.FulfillmentInfo.place_ids]. // @@ -220,9 +225,6 @@ service ProductService { // [Operation][google.longrunning.Operation]s associated with the stale // updates will not be marked as [done][google.longrunning.Operation.done] // until being obsolete. - // - // This feature is only available for users who have Retail Search enabled. - // Enable Retail Search on Cloud Console before using this feature. rpc AddFulfillmentPlaces(AddFulfillmentPlacesRequest) returns (google.longrunning.Operation) { option (google.api.http) = { @@ -236,6 +238,14 @@ service ProductService { }; } + // It is recommended to use the + // [ProductService.RemoveLocalInventories][google.cloud.retail.v2alpha.ProductService.RemoveLocalInventories] + // method instead of + // [ProductService.RemoveFulfillmentPlaces][google.cloud.retail.v2alpha.ProductService.RemoveFulfillmentPlaces]. + // [ProductService.RemoveLocalInventories][google.cloud.retail.v2alpha.ProductService.RemoveLocalInventories] + // achieves the same results but provides more fine-grained control over + // ingesting local inventory data. + // // Incrementally removes place IDs from a // [Product.fulfillment_info.place_ids][google.cloud.retail.v2alpha.FulfillmentInfo.place_ids]. // @@ -257,9 +267,6 @@ service ProductService { // [Operation][google.longrunning.Operation]s associated with the stale // updates will not be marked as [done][google.longrunning.Operation.done] // until being obsolete. - // - // This feature is only available for users who have Retail Search enabled. - // Enable Retail Search on Cloud Console before using this feature. rpc RemoveFulfillmentPlaces(RemoveFulfillmentPlacesRequest) returns (google.longrunning.Operation) { option (google.api.http) = { @@ -301,9 +308,6 @@ service ProductService { // [Operation][google.longrunning.Operation]s associated with the stale // updates will not be marked as [done][google.longrunning.Operation.done] // until being obsolete. - // - // This feature is only available for users who have Retail Search enabled. - // Enable Retail Search on Cloud Console before using this feature. rpc AddLocalInventories(AddLocalInventoriesRequest) returns (google.longrunning.Operation) { option (google.api.http) = { @@ -343,9 +347,6 @@ service ProductService { // [Operation][google.longrunning.Operation]s associated with the stale // updates will not be marked as [done][google.longrunning.Operation.done] // until being obsolete. - // - // This feature is only available for users who have Retail Search enabled. - // Enable Retail Search on Cloud Console before using this feature. rpc RemoveLocalInventories(RemoveLocalInventoriesRequest) returns (google.longrunning.Operation) { option (google.api.http) = { @@ -478,6 +479,16 @@ message DeleteProductRequest { (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { type: "retail.googleapis.com/Product" } ]; + + // This value only applies to the case when the target product is of type + // PRIMARY. + // When deleting a product of VARIANT/COLLECTION type, this value + // will be ignored. + // When set to true, the subsequent variant products will be + // deleted. + // When set to false, if the primary product has active variant products, an + // error will be returned. + bool force = 4; } // Request message for diff --git a/third_party/googleapis/google/cloud/retail/v2alpha/retail_grpc_service_config.json b/third_party/googleapis/google/cloud/retail/v2alpha/retail_grpc_service_config.json index 87ad2d9b2..322291ad2 100644 --- a/third_party/googleapis/google/cloud/retail/v2alpha/retail_grpc_service_config.json +++ b/third_party/googleapis/google/cloud/retail/v2alpha/retail_grpc_service_config.json @@ -35,6 +35,10 @@ }, { "name": [ + { + "service": "google.cloud.retail.v2alpha.AnalyticsService", + "method": "ExportAnalyticsMetrics" + }, { "service": "google.cloud.retail.v2alpha.ModelService" } ], "timeout": "60s", diff --git a/third_party/googleapis/google/cloud/retail/v2alpha/retail_v2alpha.yaml b/third_party/googleapis/google/cloud/retail/v2alpha/retail_v2alpha.yaml index 8955dd1bc..3867c38fb 100644 --- a/third_party/googleapis/google/cloud/retail/v2alpha/retail_v2alpha.yaml +++ b/third_party/googleapis/google/cloud/retail/v2alpha/retail_v2alpha.yaml @@ -5,9 +5,11 @@ title: Retail API apis: - name: google.cloud.location.Locations +- name: google.cloud.retail.v2alpha.AnalyticsService - name: google.cloud.retail.v2alpha.CatalogService - name: google.cloud.retail.v2alpha.CompletionService - name: google.cloud.retail.v2alpha.ControlService +- name: google.cloud.retail.v2alpha.MerchantCenterAccountLinkService - name: google.cloud.retail.v2alpha.ModelService - name: google.cloud.retail.v2alpha.PredictionService - name: google.cloud.retail.v2alpha.ProductService @@ -22,7 +24,9 @@ types: - name: google.cloud.retail.v2alpha.AddFulfillmentPlacesResponse - name: google.cloud.retail.v2alpha.AddLocalInventoriesMetadata - name: google.cloud.retail.v2alpha.AddLocalInventoriesResponse +- name: google.cloud.retail.v2alpha.CreateMerchantCenterAccountLinkMetadata - name: google.cloud.retail.v2alpha.CreateModelMetadata +- name: google.cloud.retail.v2alpha.ExportAnalyticsMetricsResponse - name: google.cloud.retail.v2alpha.ExportErrorsConfig - name: google.cloud.retail.v2alpha.ExportMetadata - name: google.cloud.retail.v2alpha.ExportProductsResponse @@ -32,6 +36,7 @@ types: - name: google.cloud.retail.v2alpha.ImportMetadata - name: google.cloud.retail.v2alpha.ImportProductsResponse - name: google.cloud.retail.v2alpha.ImportUserEventsResponse +- name: google.cloud.retail.v2alpha.MerchantCenterAccountLink - name: google.cloud.retail.v2alpha.Model - name: google.cloud.retail.v2alpha.PurgeMetadata - name: google.cloud.retail.v2alpha.PurgeProductsMetadata @@ -106,6 +111,10 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform + - selector: google.cloud.retail.v2alpha.AnalyticsService.ExportAnalyticsMetrics + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform - selector: 'google.cloud.retail.v2alpha.CatalogService.*' oauth: canonical_scopes: |- @@ -122,6 +131,10 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform + - selector: 'google.cloud.retail.v2alpha.MerchantCenterAccountLinkService.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform - selector: 'google.cloud.retail.v2alpha.ModelService.*' oauth: canonical_scopes: |- diff --git a/third_party/googleapis/google/cloud/retail/v2alpha/search_service.proto b/third_party/googleapis/google/cloud/retail/v2alpha/search_service.proto index 4abc69c2b..f2931e40e 100644 --- a/third_party/googleapis/google/cloud/retail/v2alpha/search_service.proto +++ b/third_party/googleapis/google/cloud/retail/v2alpha/search_service.proto @@ -33,6 +33,10 @@ option java_package = "com.google.cloud.retail.v2alpha"; option objc_class_prefix = "RETAIL"; option php_namespace = "Google\\Cloud\\Retail\\V2alpha"; option ruby_package = "Google::Cloud::Retail::V2alpha"; +option (google.api.resource_definition) = { + type: "retail.googleapis.com/Experiment" + pattern: "projects/{project}/locations/{location}/catalogs/{catalog}/experiments/{experiment}" +}; // Service for search. // @@ -112,7 +116,16 @@ message SearchRequest { // Set only if values should be bucketized into intervals. Must be set // for facets with numerical values. Must not be set for facet with text - // values. Maximum number of intervals is 30. + // values. Maximum number of intervals is 40. + // + // For all numerical facet keys that appear in the list of products from + // the catalog, the percentiles 0, 10, 30, 50, 70, 90 and 100 are + // computed from their distribution weekly. If the model assigns a high + // score to a numerical facet key and its intervals are not specified in + // the search request, these percentiles will become the bounds + // for its intervals and will be returned in the response. If the + // facet key intervals are specified in the request, then the specified + // intervals will be returned instead. repeated Interval intervals = 2; // Only get facet for the given restricted values. For example, when using @@ -598,7 +611,7 @@ message SearchRequest { // Facet specifications for faceted search. If empty, no facets are returned. // - // A maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error + // A maximum of 200 values are allowed. Otherwise, an INVALID_ARGUMENT error // is returned. repeated FacetSpec facet_specs = 12; @@ -716,7 +729,7 @@ message SearchRequest { // INVALID_ARGUMENT error is returned. repeated string variant_rollup_keys = 17; - // The categories associated with a category page. Required for category + // The categories associated with a category page. Must be set for category // navigation queries to achieve good search quality. The format should be // the same as // [UserEvent.page_categories][google.cloud.retail.v2alpha.UserEvent.page_categories]; @@ -768,6 +781,14 @@ message SearchRequest { // The spell correction specification that specifies the mode under // which spell correction will take effect. optional SpellCorrectionSpec spell_correction_spec = 35; + + // The entity for customers that may run multiple different entities, domains, + // sites or regions, for example, `Google US`, `Google Ads`, `Waymo`, + // `google.com`, `youtube.com`, etc. + // If this is set, it should be exactly matched with + // [UserEvent.entity][google.cloud.retail.v2alpha.UserEvent.entity] to get + // search results boosted by entity. + string entity = 38; } // Response message for @@ -967,4 +988,45 @@ message SearchResponse { // that are not applied during serving. repeated SearchRequest.BoostSpec.ConditionBoostSpec invalid_condition_boost_specs = 14; + + // Metadata related to A/B testing + // [Experiment][google.cloud.retail.v2alpha.Experiment] associated with this + // response. Only exists when an experiment is triggered. + repeated ExperimentInfo experiment_info = 17; +} + +// Metadata for active A/B testing [Experiments][]. +message ExperimentInfo { + // Metadata for active serving config A/B tests. + message ServingConfigExperiment { + // The fully qualified resource name of the original + // [SearchRequest.placement][google.cloud.retail.v2alpha.SearchRequest.placement] + // in the search request prior to reassignment by experiment API. For + // example: `projects/*/locations/*/catalogs/*/servingConfigs/*`. + string original_serving_config = 1 [(google.api.resource_reference) = { + type: "retail.googleapis.com/ServingConfig" + }]; + + // The fully qualified resource name of the serving config + // [VariantArm.serving_config_id][] responsible for generating the search + // response. For example: + // `projects/*/locations/*/catalogs/*/servingConfigs/*`. + string experiment_serving_config = 2 [(google.api.resource_reference) = { + type: "retail.googleapis.com/ServingConfig" + }]; + } + + // Information associated with the specific experiment entity being recorded. + oneof experiment_metadata { + // A/B test between existing Cloud Retail Search + // [ServingConfig][google.cloud.retail.v2alpha.ServingConfig]s. + ServingConfigExperiment serving_config_experiment = 2; + } + + // The fully qualified resource name of the experiment that provides the + // serving config under test, should an active experiment exist. For example: + // `projects/*/locations/global/catalogs/default_catalog/experiments/experiment_id` + string experiment = 1 [(google.api.resource_reference) = { + type: "retail.googleapis.com/Experiment" + }]; } diff --git a/third_party/googleapis/google/cloud/retail/v2alpha/serving_config.proto b/third_party/googleapis/google/cloud/retail/v2alpha/serving_config.proto index 700f8327e..d4c89cb0c 100644 --- a/third_party/googleapis/google/cloud/retail/v2alpha/serving_config.proto +++ b/third_party/googleapis/google/cloud/retail/v2alpha/serving_config.proto @@ -39,7 +39,6 @@ message ServingConfig { }; // What type of diversity - data or rule based. - // If none is specified, default to rule based. enum DiversityType { // Default value. DIVERSITY_TYPE_UNSPECIFIED = 0; @@ -83,7 +82,7 @@ message ServingConfig { // Allowed values are: // // * `no-price-reranking` - // * `low-price-raranking` + // * `low-price-reranking` // * `medium-price-reranking` // * `high-price-reranking` // @@ -234,7 +233,9 @@ message ServingConfig { // [SOLUTION_TYPE_RECOMMENDATION][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. string diversity_level = 8; - // What kind of diversity to use - data driven or rule based. + // What kind of diversity to use - data driven or rule based. If unset, the + // server behavior defaults to + // [RULE_BASED_DIVERSITY][google.cloud.retail.v2alpha.ServingConfig.DiversityType.RULE_BASED_DIVERSITY]. DiversityType diversity_type = 20; // Whether to add additional category filters on the `similar-items` model. diff --git a/third_party/googleapis/google/cloud/retail/v2alpha/user_event.proto b/third_party/googleapis/google/cloud/retail/v2alpha/user_event.proto index 62a551ebd..8ace03d04 100644 --- a/third_party/googleapis/google/cloud/retail/v2alpha/user_event.proto +++ b/third_party/googleapis/google/cloud/retail/v2alpha/user_event.proto @@ -270,6 +270,13 @@ message UserEvent { // When using the client side event reporting with JavaScript pixel and Google // Tag Manager, this value is filled in automatically. string page_view_id = 15; + + // The entity for customers that may run multiple different entities, domains, + // sites or regions, for example, `Google US`, `Google Ads`, `Waymo`, + // `google.com`, `youtube.com`, etc. + // It is recommended to set this field to get better per-entity search, + // completion and prediction results. + string entity = 23; } // Detailed product information associated with a user event. diff --git a/third_party/googleapis/google/cloud/retail/v2alpha/user_event_service.proto b/third_party/googleapis/google/cloud/retail/v2alpha/user_event_service.proto index 68bfa0b8e..2a825e652 100644 --- a/third_party/googleapis/google/cloud/retail/v2alpha/user_event_service.proto +++ b/third_party/googleapis/google/cloud/retail/v2alpha/user_event_service.proto @@ -138,7 +138,7 @@ message CollectUserEventRequest { // only when the raw_json is set. oneof conversion_rule { // The prebuilt rule name that can convert a specific type of raw_json. - // For example: "default_schema/v1.0" + // For example: "ga4_bq" rule for the GA4 user event schema. string prebuilt_rule = 6; } diff --git a/third_party/googleapis/google/cloud/retail/v2beta/BUILD.bazel b/third_party/googleapis/google/cloud/retail/v2beta/BUILD.bazel index ecdec093c..b5245eeac 100644 --- a/third_party/googleapis/google/cloud/retail/v2beta/BUILD.bazel +++ b/third_party/googleapis/google/cloud/retail/v2beta/BUILD.bazel @@ -21,6 +21,7 @@ load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") proto_library( name = "retail_proto", srcs = [ + "analytics_service.proto", "catalog.proto", "catalog_service.proto", "common.proto", @@ -111,6 +112,8 @@ java_gapic_library( java_gapic_test( name = "retail_java_gapic_test_suite", test_classes = [ + "com.google.cloud.retail.v2beta.AnalyticsServiceClientHttpJsonTest", + "com.google.cloud.retail.v2beta.AnalyticsServiceClientTest", "com.google.cloud.retail.v2beta.CatalogServiceClientHttpJsonTest", "com.google.cloud.retail.v2beta.CatalogServiceClientTest", "com.google.cloud.retail.v2beta.CompletionServiceClientHttpJsonTest", @@ -154,7 +157,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -192,19 +194,13 @@ go_gapic_library( ], ) -go_test( - name = "retail_go_gapic_test", - srcs = [":retail_go_gapic_srcjar_test"], - embed = [":retail_go_gapic"], - importpath = "cloud.google.com/go/retail/apiv2beta", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-retail-v2beta-go", deps = [ ":retail_go_gapic", ":retail_go_gapic_srcjar-metadata.srcjar", + ":retail_go_gapic_srcjar-snippets.srcjar", ":retail_go_gapic_srcjar-test.srcjar", ":retail_go_proto", ], @@ -254,7 +250,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -263,12 +258,6 @@ php_proto_library( deps = [":retail_proto"], ) -php_grpc_library( - name = "retail_php_grpc", - srcs = [":retail_proto"], - deps = [":retail_php_proto"], -) - php_gapic_library( name = "retail_php_gapic", srcs = [":retail_proto_with_info"], @@ -276,10 +265,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "retail_v2beta.yaml", transport = "grpc+rest", - deps = [ - ":retail_php_grpc", - ":retail_php_proto", - ], + deps = [":retail_php_proto"], ) # Open Source Packages @@ -287,7 +273,6 @@ php_gapic_assembly_pkg( name = "google-cloud-retail-v2beta-php", deps = [ ":retail_php_gapic", - ":retail_php_grpc", ":retail_php_proto", ], ) @@ -360,6 +345,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Retail enables you to build an end-to-end personalized recommendation system based on state-of-the-art deep learning ML models, without a need for expertise in ML or recommendation systems.", ruby_cloud_title = "Retail V2beta", service_yaml = "retail_v2beta.yaml", + transport = "grpc+rest", deps = [ ":retail_ruby_grpc", ":retail_ruby_proto", diff --git a/third_party/googleapis/google/cloud/retail/v2beta/catalog.proto b/third_party/googleapis/google/cloud/retail/v2beta/catalog.proto index f7a3d3576..83e6d10cd 100644 --- a/third_party/googleapis/google/cloud/retail/v2beta/catalog.proto +++ b/third_party/googleapis/google/cloud/retail/v2beta/catalog.proto @@ -140,8 +140,7 @@ message CatalogAttribute { // The status of the exact-searchable option of a catalog attribute. enum ExactSearchableOption { - // Value used when unset. Defaults to - // [EXACT_SEARCHABLE_DISABLED][google.cloud.retail.v2beta.CatalogAttribute.ExactSearchableOption.EXACT_SEARCHABLE_DISABLED]. + // Value used when unset. EXACT_SEARCHABLE_OPTION_UNSPECIFIED = 0; // Exact searchable option enabled for an attribute. @@ -153,8 +152,7 @@ message CatalogAttribute { // The status of the retrievable option of a catalog attribute. enum RetrievableOption { - // Value used when unset. Defaults to - // [RETRIEVABLE_DISABLED][google.cloud.retail.v2beta.CatalogAttribute.RetrievableOption.RETRIEVABLE_DISABLED]. + // Value used when unset. RETRIEVABLE_OPTION_UNSPECIFIED = 0; // Retrievable option enabled for an attribute. @@ -171,6 +169,10 @@ message CatalogAttribute { // characters and underscores. For example, an attribute named // `attributes.abc_xyz` can be indexed, but an attribute named // `attributes.abc-xyz` cannot be indexed. + // + // If the attribute key starts with `attributes.`, then the attribute is a + // custom attribute. Attributes such as `brands`, `patterns`, and `title` are + // built-in and called system attributes. string key = 1 [(google.api.field_behavior) = REQUIRED]; // Output only. Indicates whether this attribute has been used by any @@ -243,11 +245,14 @@ message CatalogAttribute { // If EXACT_SEARCHABLE_ENABLED, attribute values will be exact searchable. // This property only applies to textual custom attributes and requires - // indexable set to enabled to enable exact-searchable. + // indexable set to enabled to enable exact-searchable. If unset, the server + // behavior defaults to + // [EXACT_SEARCHABLE_DISABLED][google.cloud.retail.v2beta.CatalogAttribute.ExactSearchableOption.EXACT_SEARCHABLE_DISABLED]. ExactSearchableOption exact_searchable_option = 11; // If RETRIEVABLE_ENABLED, attribute values are retrievable in the search - // results. + // results. If unset, the server behavior defaults to + // [RETRIEVABLE_DISABLED][google.cloud.retail.v2beta.CatalogAttribute.RetrievableOption.RETRIEVABLE_DISABLED]. RetrievableOption retrievable_option = 12; } diff --git a/third_party/googleapis/google/cloud/retail/v2beta/common.proto b/third_party/googleapis/google/cloud/retail/v2beta/common.proto index 6ef6bfaa3..1ffa26902 100644 --- a/third_party/googleapis/google/cloud/retail/v2beta/common.proto +++ b/third_party/googleapis/google/cloud/retail/v2beta/common.proto @@ -378,7 +378,7 @@ message ColorInfo { // it is expected to have only 1 color. May consider using single "Mixed" // instead of multiple values. // - // A maximum of 25 colors are allowed. Each value must be a UTF-8 encoded + // A maximum of 75 colors are allowed. Each value must be a UTF-8 encoded // string with a length limit of 128 characters. Otherwise, an // INVALID_ARGUMENT error is returned. // diff --git a/third_party/googleapis/google/cloud/retail/v2beta/completion_service.proto b/third_party/googleapis/google/cloud/retail/v2beta/completion_service.proto index ebd845dc2..9442028b9 100644 --- a/third_party/googleapis/google/cloud/retail/v2beta/completion_service.proto +++ b/third_party/googleapis/google/cloud/retail/v2beta/completion_service.proto @@ -33,7 +33,7 @@ option objc_class_prefix = "RETAIL"; option php_namespace = "Google\\Cloud\\Retail\\V2beta"; option ruby_package = "Google::Cloud::Retail::V2beta"; -// Auto-completion service for retail. +// Autocomplete service for retail. // // This feature is only available for users who have Retail Search enabled. // Enable Retail Search on Cloud Console before using this feature. @@ -74,7 +74,7 @@ service CompletionService { } } -// Auto-complete parameters. +// Autocomplete parameters. message CompleteQueryRequest { // Required. Catalog for which the completion is performed. // @@ -150,9 +150,17 @@ message CompleteQueryRequest { // The maximum allowed max suggestions is 20. If it is set higher, it will be // capped by 20. int32 max_suggestions = 5; + + // The entity for customers that may run multiple different entities, domains, + // sites or regions, for example, `Google US`, `Google Ads`, `Waymo`, + // `google.com`, `youtube.com`, etc. + // If this is set, it should be exactly matched with + // [UserEvent.entity][google.cloud.retail.v2beta.UserEvent.entity] to get + // per-entity autocomplete results. + string entity = 10; } -// Response of the auto-complete query. +// Response of the autocomplete query. message CompleteQueryResponse { // Resource that represents completion results. message CompletionResult { diff --git a/third_party/googleapis/google/cloud/retail/v2beta/export_config.proto b/third_party/googleapis/google/cloud/retail/v2beta/export_config.proto index 9efc0d195..303712b21 100644 --- a/third_party/googleapis/google/cloud/retail/v2beta/export_config.proto +++ b/third_party/googleapis/google/cloud/retail/v2beta/export_config.proto @@ -30,6 +30,45 @@ option objc_class_prefix = "RETAIL"; option php_namespace = "Google\\Cloud\\Retail\\V2beta"; option ruby_package = "Google::Cloud::Retail::V2beta"; +// The output configuration setting. +message OutputConfig { + // The Google Cloud Storage output destination configuration. + message GcsDestination { + // Required. The output uri prefix for saving output data to json files. + // Some mapping examples are as follows: + // output_uri_prefix sample output(assuming the object is foo.json) + // ======================== ============================================= + // gs://bucket/ gs://bucket/foo.json + // gs://bucket/folder/ gs://bucket/folder/foo.json + // gs://bucket/folder/item_ gs://bucket/folder/item_foo.json + string output_uri_prefix = 1 [(google.api.field_behavior) = REQUIRED]; + } + + // The BigQuery output destination configuration. + message BigQueryDestination { + // Required. The ID of a BigQuery Dataset. + string dataset_id = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The prefix of exported BigQuery tables. + string table_id_prefix = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. Describes the table type. The following values are supported: + // + // * `table`: A BigQuery native table. + // * `view`: A virtual table defined by a SQL query. + string table_type = 3 [(google.api.field_behavior) = REQUIRED]; + } + + // The configuration of destination for holding output data. + oneof destination { + // The Google Cloud Storage location where the output is to be written to. + GcsDestination gcs_destination = 1; + + // The BigQuery location where the output is to be written to. + BigQueryDestination bigquery_destination = 2; + } +} + // Configuration of destination for Export related errors. message ExportErrorsConfig { // Required. Errors destination. @@ -42,6 +81,35 @@ message ExportErrorsConfig { } } +// Request message for the `ExportAnalyticsMetrics` method. +message ExportAnalyticsMetricsRequest { + // Required. Full resource name of the parent catalog. + // Expected format: `projects/*/locations/*/catalogs/*` + string catalog = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The output location of the data. + OutputConfig output_config = 2 [(google.api.field_behavior) = REQUIRED]; + + // A filtering expression to specify restrictions on returned metrics. + // The expression is a sequence of terms. Each term applies a restriction to + // the returned metrics. Use this expression to restrict results to a + // specific time range. + // + // Currently we expect only one types of fields: + // + // * `timestamp`: This can be specified twice, once with a + // less than operator and once with a greater than operator. The + // `timestamp` restriction should result in one, contiguous, valid, + // `timestamp` range. + // + // Some examples of valid filters expressions: + // + // * Example 1: `timestamp > "2012-04-23T18:25:43.511Z" + // timestamp < "2012-04-23T18:30:43.511Z"` + // * Example 2: `timestamp > "2012-04-23T18:25:43.511Z"` + string filter = 3; +} + // Metadata related to the progress of the Export operation. This is // returned by the google.longrunning.Operation.metadata field. message ExportMetadata { @@ -81,6 +149,20 @@ message ExportUserEventsResponse { OutputResult output_result = 3; } +// Response of the ExportAnalyticsMetricsRequest. If the long running +// operation was successful, then this message is returned by the +// google.longrunning.Operations.response field if the operation was successful. +message ExportAnalyticsMetricsResponse { + // A sample of errors encountered while processing the request. + repeated google.rpc.Status error_samples = 1; + + // This field is never set. + ExportErrorsConfig errors_config = 2; + + // Output result indicating where the data were exported to. + OutputResult output_result = 3; +} + // Output result that stores the information about where the exported data is // stored. message OutputResult { diff --git a/third_party/googleapis/google/cloud/retail/v2beta/import_config.proto b/third_party/googleapis/google/cloud/retail/v2beta/import_config.proto index d6d457c50..ad58554e6 100644 --- a/third_party/googleapis/google/cloud/retail/v2beta/import_config.proto +++ b/third_party/googleapis/google/cloud/retail/v2beta/import_config.proto @@ -126,7 +126,7 @@ message BigQuerySource { // The schema is available here: // https://support.google.com/analytics/answer/7029846. // - // Supported values for auto-completion imports: + // Supported values for autocomplete imports: // // * `suggestions` (default): One JSON completion suggestion per line. // * `denylist`: One JSON deny suggestion per line. diff --git a/third_party/googleapis/google/cloud/retail/v2beta/model.proto b/third_party/googleapis/google/cloud/retail/v2beta/model.proto index deb4a0ade..92a3a43d5 100644 --- a/third_party/googleapis/google/cloud/retail/v2beta/model.proto +++ b/third_party/googleapis/google/cloud/retail/v2beta/model.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/retail/v2beta/model_service.proto b/third_party/googleapis/google/cloud/retail/v2beta/model_service.proto index 5a73dd605..0b5c1c4a9 100644 --- a/third_party/googleapis/google/cloud/retail/v2beta/model_service.proto +++ b/third_party/googleapis/google/cloud/retail/v2beta/model_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -64,6 +64,14 @@ service ModelService { }; } + // Gets a model. + rpc GetModel(GetModelRequest) returns (Model) { + option (google.api.http) = { + get: "/v2beta/{name=projects/*/locations/*/catalogs/*/models/*}" + }; + option (google.api.method_signature) = "name"; + } + // Pauses the training of an existing model. rpc PauseModel(PauseModelRequest) returns (Model) { option (google.api.http) = { @@ -154,6 +162,17 @@ message UpdateModelRequest { [(google.api.field_behavior) = OPTIONAL]; } +// Request for getting a model. +message GetModelRequest { + // Required. The resource name of the + // [Model][google.cloud.retail.v2beta.Model] to get. Format: + // `projects/{project_number}/locations/{location_id}/catalogs/{catalog}/models/{model_id}` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "retail.googleapis.com/Model" } + ]; +} + // Request for pausing training of a model. message PauseModelRequest { // Required. The name of the model to pause. diff --git a/third_party/googleapis/google/cloud/retail/v2beta/prediction_service.proto b/third_party/googleapis/google/cloud/retail/v2beta/prediction_service.proto index 9856ad285..ba579bdb7 100644 --- a/third_party/googleapis/google/cloud/retail/v2beta/prediction_service.proto +++ b/third_party/googleapis/google/cloud/retail/v2beta/prediction_service.proto @@ -130,6 +130,9 @@ message PredictRequest { // * (colors: ANY("Red", "Blue")) AND NOT (categories: ANY("Phones")) // * (availability: ANY("IN_STOCK")) AND // (colors: ANY("Red") OR categories: ANY("Phones")) + // + // For more information, see + // [Filter recommendations](https://cloud.google.com/retail/docs/filter-recs). string filter = 5; // Use validate only mode for this prediction query. If set to true, a diff --git a/third_party/googleapis/google/cloud/retail/v2beta/product.proto b/third_party/googleapis/google/cloud/retail/v2beta/product.proto index a4f3e8693..188635659 100644 --- a/third_party/googleapis/google/cloud/retail/v2beta/product.proto +++ b/third_party/googleapis/google/cloud/retail/v2beta/product.proto @@ -587,12 +587,11 @@ message Product { // Output only. A list of local inventories specific to different places. // - // This is only available for users who have Retail Search enabled, and it can - // be managed by + // This field can be managed by // [ProductService.AddLocalInventories][google.cloud.retail.v2beta.ProductService.AddLocalInventories] // and // [ProductService.RemoveLocalInventories][google.cloud.retail.v2beta.ProductService.RemoveLocalInventories] - // APIs. + // APIs if fine-grained, high-volume updates are necessary. repeated LocalInventory local_inventories = 35 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/cloud/retail/v2beta/product_service.proto b/third_party/googleapis/google/cloud/retail/v2beta/product_service.proto index 6ebb4003d..edf212454 100644 --- a/third_party/googleapis/google/cloud/retail/v2beta/product_service.proto +++ b/third_party/googleapis/google/cloud/retail/v2beta/product_service.proto @@ -154,9 +154,6 @@ service ProductService { // [Operation][google.longrunning.Operation]s associated with the stale // updates are not marked as [done][google.longrunning.Operation.done] until // they are obsolete. - // - // This feature is only available for users who have Retail Search enabled. - // Enable Retail Search on Cloud Console before using this feature. rpc SetInventory(SetInventoryRequest) returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v2beta/{inventory.name=projects/*/locations/*/catalogs/*/branches/*/products/**}:setInventory" @@ -169,6 +166,14 @@ service ProductService { }; } + // It is recommended to use the + // [ProductService.AddLocalInventories][google.cloud.retail.v2beta.ProductService.AddLocalInventories] + // method instead of + // [ProductService.AddFulfillmentPlaces][google.cloud.retail.v2beta.ProductService.AddFulfillmentPlaces]. + // [ProductService.AddLocalInventories][google.cloud.retail.v2beta.ProductService.AddLocalInventories] + // achieves the same results but provides more fine-grained control over + // ingesting local inventory data. + // // Incrementally adds place IDs to // [Product.fulfillment_info.place_ids][google.cloud.retail.v2beta.FulfillmentInfo.place_ids]. // @@ -190,9 +195,6 @@ service ProductService { // [Operation][google.longrunning.Operation]s associated with the stale // updates will not be marked as [done][google.longrunning.Operation.done] // until being obsolete. - // - // This feature is only available for users who have Retail Search enabled. - // Enable Retail Search on Cloud Console before using this feature. rpc AddFulfillmentPlaces(AddFulfillmentPlacesRequest) returns (google.longrunning.Operation) { option (google.api.http) = { @@ -206,6 +208,14 @@ service ProductService { }; } + // It is recommended to use the + // [ProductService.RemoveLocalInventories][google.cloud.retail.v2beta.ProductService.RemoveLocalInventories] + // method instead of + // [ProductService.RemoveFulfillmentPlaces][google.cloud.retail.v2beta.ProductService.RemoveFulfillmentPlaces]. + // [ProductService.RemoveLocalInventories][google.cloud.retail.v2beta.ProductService.RemoveLocalInventories] + // achieves the same results but provides more fine-grained control over + // ingesting local inventory data. + // // Incrementally removes place IDs from a // [Product.fulfillment_info.place_ids][google.cloud.retail.v2beta.FulfillmentInfo.place_ids]. // @@ -227,9 +237,6 @@ service ProductService { // [Operation][google.longrunning.Operation]s associated with the stale // updates will not be marked as [done][google.longrunning.Operation.done] // until being obsolete. - // - // This feature is only available for users who have Retail Search enabled. - // Enable Retail Search on Cloud Console before using this feature. rpc RemoveFulfillmentPlaces(RemoveFulfillmentPlacesRequest) returns (google.longrunning.Operation) { option (google.api.http) = { @@ -271,9 +278,6 @@ service ProductService { // [Operation][google.longrunning.Operation]s associated with the stale // updates will not be marked as [done][google.longrunning.Operation.done] // until being obsolete. - // - // This feature is only available for users who have Retail Search enabled. - // Enable Retail Search on Cloud Console before using this feature. rpc AddLocalInventories(AddLocalInventoriesRequest) returns (google.longrunning.Operation) { option (google.api.http) = { @@ -313,9 +317,6 @@ service ProductService { // [Operation][google.longrunning.Operation]s associated with the stale // updates will not be marked as [done][google.longrunning.Operation.done] // until being obsolete. - // - // This feature is only available for users who have Retail Search enabled. - // Enable Retail Search on Cloud Console before using this feature. rpc RemoveLocalInventories(RemoveLocalInventoriesRequest) returns (google.longrunning.Operation) { option (google.api.http) = { diff --git a/third_party/googleapis/google/cloud/retail/v2beta/retail_grpc_service_config.json b/third_party/googleapis/google/cloud/retail/v2beta/retail_grpc_service_config.json index 8e587919d..9f3b7320c 100644 --- a/third_party/googleapis/google/cloud/retail/v2beta/retail_grpc_service_config.json +++ b/third_party/googleapis/google/cloud/retail/v2beta/retail_grpc_service_config.json @@ -1,43 +1,44 @@ { - "methodConfig": [{ - "name": [ - { "service": "google.cloud.retail.v2beta.CatalogService" }, - { "service": "google.cloud.retail.v2beta.CompletionService" }, - { "service": "google.cloud.retail.v2beta.UserEventService" }, - { "service": "google.cloud.retail.v2beta.PredictionService" }, - { "service": "google.cloud.retail.v2beta.SearchService" } - ], - "timeout": "5s", - "retryPolicy": { - "initialBackoff": "0.100s", - "maxBackoff": "5s", - "backoffMultiplier": 1.3, - "retryableStatusCodes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - } - }, { - "name": [ - { "service": "google.cloud.retail.v2beta.ProductService" }, - { - "service": "google.cloud.retail.v2beta.UserEventService", - "method": "PurgeUserEvents" + "methodConfig": [ + { + "name": [ + { "service": "google.cloud.retail.v2beta.CatalogService" }, + { "service": "google.cloud.retail.v2beta.CompletionService" }, + { "service": "google.cloud.retail.v2beta.UserEventService" }, + { "service": "google.cloud.retail.v2beta.PredictionService" }, + { "service": "google.cloud.retail.v2beta.SearchService" } + ], + "timeout": "5s", + "retryPolicy": { + "initialBackoff": "0.100s", + "maxBackoff": "5s", + "backoffMultiplier": 1.3, + "retryableStatusCodes": ["UNAVAILABLE", "DEADLINE_EXCEEDED"] } - ], - "timeout": "30s", - "retryPolicy": { - "initialBackoff": "0.100s", - "maxBackoff": "30s", - "backoffMultiplier": 1.3, - "retryableStatusCodes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - } - }, { + }, + { + "name": [ + { "service": "google.cloud.retail.v2beta.ProductService" }, + { + "service": "google.cloud.retail.v2beta.UserEventService", + "method": "PurgeUserEvents" + } + ], + "timeout": "30s", + "retryPolicy": { + "initialBackoff": "0.100s", + "maxBackoff": "30s", + "backoffMultiplier": 1.3, + "retryableStatusCodes": ["UNAVAILABLE", "DEADLINE_EXCEEDED"] + } + }, + { "name": [ - { "service": "google.cloud.retail.v2alpha.ModelService" } + { + "service": "google.cloud.retail.v2beta.AnalyticsService", + "method": "ExportAnalyticsMetrics" + }, + { "service": "google.cloud.retail.v2beta.ModelService" } ], "timeout": "60s", "retryPolicy": { @@ -46,43 +47,40 @@ "backoffMultiplier": 1.3, "retryableStatusCodes": ["UNAVAILABLE", "DEADLINE_EXCEEDED"] } - }, { - "name": [ - { - "service": "google.longrunning.Operations", - "method": "ListOperations" - }, - { - "service": "google.cloud.retail.v2beta.ProductService", - "method": "ImportProducts" + }, + { + "name": [ + { + "service": "google.longrunning.Operations", + "method": "ListOperations" + }, + { + "service": "google.cloud.retail.v2beta.ProductService", + "method": "ImportProducts" + } + ], + "timeout": "300s", + "retryPolicy": { + "initialBackoff": "0.100s", + "maxBackoff": "300s", + "backoffMultiplier": 1.3, + "retryableStatusCodes": ["UNAVAILABLE", "DEADLINE_EXCEEDED"] } - ], - "timeout": "300s", - "retryPolicy": { - "initialBackoff": "0.100s", - "maxBackoff": "300s", - "backoffMultiplier": 1.3, - "retryableStatusCodes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] - } - }, { - "name": [ - { - "service": "google.cloud.retail.v2beta.UserEventService", - "method": "ImportUserEvents" + }, + { + "name": [ + { + "service": "google.cloud.retail.v2beta.UserEventService", + "method": "ImportUserEvents" + } + ], + "timeout": "600s", + "retryPolicy": { + "initialBackoff": "0.100s", + "maxBackoff": "300s", + "backoffMultiplier": 1.3, + "retryableStatusCodes": ["UNAVAILABLE", "DEADLINE_EXCEEDED"] } - ], - "timeout": "600s", - "retryPolicy": { - "initialBackoff": "0.100s", - "maxBackoff": "300s", - "backoffMultiplier": 1.3, - "retryableStatusCodes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" - ] } - }] + ] } diff --git a/third_party/googleapis/google/cloud/retail/v2beta/retail_v2beta.yaml b/third_party/googleapis/google/cloud/retail/v2beta/retail_v2beta.yaml index f0ed2b85e..6725a2cc0 100644 --- a/third_party/googleapis/google/cloud/retail/v2beta/retail_v2beta.yaml +++ b/third_party/googleapis/google/cloud/retail/v2beta/retail_v2beta.yaml @@ -5,6 +5,7 @@ title: Retail API apis: - name: google.cloud.location.Locations +- name: google.cloud.retail.v2beta.AnalyticsService - name: google.cloud.retail.v2beta.CatalogService - name: google.cloud.retail.v2beta.CompletionService - name: google.cloud.retail.v2beta.ControlService @@ -23,6 +24,7 @@ types: - name: google.cloud.retail.v2beta.AddLocalInventoriesMetadata - name: google.cloud.retail.v2beta.AddLocalInventoriesResponse - name: google.cloud.retail.v2beta.CreateModelMetadata +- name: google.cloud.retail.v2beta.ExportAnalyticsMetricsResponse - name: google.cloud.retail.v2beta.ExportErrorsConfig - name: google.cloud.retail.v2beta.ExportMetadata - name: google.cloud.retail.v2beta.ExportProductsResponse @@ -103,6 +105,10 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform + - selector: google.cloud.retail.v2beta.AnalyticsService.ExportAnalyticsMetrics + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform - selector: 'google.cloud.retail.v2beta.CatalogService.*' oauth: canonical_scopes: |- diff --git a/third_party/googleapis/google/cloud/retail/v2beta/search_service.proto b/third_party/googleapis/google/cloud/retail/v2beta/search_service.proto index 71ae51eb4..efd7fc27e 100644 --- a/third_party/googleapis/google/cloud/retail/v2beta/search_service.proto +++ b/third_party/googleapis/google/cloud/retail/v2beta/search_service.proto @@ -33,6 +33,10 @@ option java_package = "com.google.cloud.retail.v2beta"; option objc_class_prefix = "RETAIL"; option php_namespace = "Google\\Cloud\\Retail\\V2beta"; option ruby_package = "Google::Cloud::Retail::V2beta"; +option (google.api.resource_definition) = { + type: "retail.googleapis.com/Experiment" + pattern: "projects/{project}/locations/{location}/catalogs/{catalog}/experiments/{experiment}" +}; // Service for search. // @@ -112,7 +116,16 @@ message SearchRequest { // Set only if values should be bucketized into intervals. Must be set // for facets with numerical values. Must not be set for facet with text - // values. Maximum number of intervals is 30. + // values. Maximum number of intervals is 40. + // + // For all numerical facet keys that appear in the list of products from + // the catalog, the percentiles 0, 10, 30, 50, 70, 90 and 100 are + // computed from their distribution weekly. If the model assigns a high + // score to a numerical facet key and its intervals are not specified in + // the search request, these percentiles will become the bounds + // for its intervals and will be returned in the response. If the + // facet key intervals are specified in the request, then the specified + // intervals will be returned instead. repeated Interval intervals = 2; // Only get facet for the given restricted values. For example, when using @@ -575,7 +588,7 @@ message SearchRequest { // Facet specifications for faceted search. If empty, no facets are returned. // - // A maximum of 100 values are allowed. Otherwise, an INVALID_ARGUMENT error + // A maximum of 200 values are allowed. Otherwise, an INVALID_ARGUMENT error // is returned. repeated FacetSpec facet_specs = 12; @@ -675,7 +688,7 @@ message SearchRequest { // INVALID_ARGUMENT error is returned. repeated string variant_rollup_keys = 17; - // The categories associated with a category page. Required for category + // The categories associated with a category page. Must be set for category // navigation queries to achieve good search quality. The format should be // the same as // [UserEvent.page_categories][google.cloud.retail.v2beta.UserEvent.page_categories]; @@ -727,6 +740,14 @@ message SearchRequest { // The spell correction specification that specifies the mode under // which spell correction will take effect. optional SpellCorrectionSpec spell_correction_spec = 35; + + // The entity for customers that may run multiple different entities, domains, + // sites or regions, for example, `Google US`, `Google Ads`, `Waymo`, + // `google.com`, `youtube.com`, etc. + // If this is set, it should be exactly matched with + // [UserEvent.entity][google.cloud.retail.v2beta.UserEvent.entity] to get + // search results boosted by entity. + string entity = 38; } // Response message for @@ -926,4 +947,44 @@ message SearchResponse { // that are not applied during serving. repeated SearchRequest.BoostSpec.ConditionBoostSpec invalid_condition_boost_specs = 14; + + // Metadata related to A/B testing [Experiment][] associated with this + // response. Only exists when an experiment is triggered. + repeated ExperimentInfo experiment_info = 17; +} + +// Metadata for active A/B testing [Experiments][]. +message ExperimentInfo { + // Metadata for active serving config A/B tests. + message ServingConfigExperiment { + // The fully qualified resource name of the original + // [SearchRequest.placement][google.cloud.retail.v2beta.SearchRequest.placement] + // in the search request prior to reassignment by experiment API. For + // example: `projects/*/locations/*/catalogs/*/servingConfigs/*`. + string original_serving_config = 1 [(google.api.resource_reference) = { + type: "retail.googleapis.com/ServingConfig" + }]; + + // The fully qualified resource name of the serving config + // [VariantArm.serving_config_id][] responsible for generating the search + // response. For example: + // `projects/*/locations/*/catalogs/*/servingConfigs/*`. + string experiment_serving_config = 2 [(google.api.resource_reference) = { + type: "retail.googleapis.com/ServingConfig" + }]; + } + + // Information associated with the specific experiment entity being recorded. + oneof experiment_metadata { + // A/B test between existing Cloud Retail Search + // [ServingConfig][google.cloud.retail.v2beta.ServingConfig]s. + ServingConfigExperiment serving_config_experiment = 2; + } + + // The fully qualified resource name of the experiment that provides the + // serving config under test, should an active experiment exist. For example: + // `projects/*/locations/global/catalogs/default_catalog/experiments/experiment_id` + string experiment = 1 [(google.api.resource_reference) = { + type: "retail.googleapis.com/Experiment" + }]; } diff --git a/third_party/googleapis/google/cloud/retail/v2beta/serving_config.proto b/third_party/googleapis/google/cloud/retail/v2beta/serving_config.proto index e82b3c599..45dd103f9 100644 --- a/third_party/googleapis/google/cloud/retail/v2beta/serving_config.proto +++ b/third_party/googleapis/google/cloud/retail/v2beta/serving_config.proto @@ -39,7 +39,6 @@ message ServingConfig { }; // What type of diversity - data or rule based. - // If none is specified, default to rule based. enum DiversityType { // Default value. DIVERSITY_TYPE_UNSPECIFIED = 0; @@ -83,7 +82,7 @@ message ServingConfig { // Allowed values are: // // * `no-price-reranking` - // * `low-price-raranking` + // * `low-price-reranking` // * `medium-price-reranking` // * `high-price-reranking` // @@ -234,7 +233,9 @@ message ServingConfig { // [SOLUTION_TYPE_RECOMMENDATION][google.cloud.retail.v2main.SolutionType.SOLUTION_TYPE_RECOMMENDATION]. string diversity_level = 8; - // What kind of diversity to use - data driven or rule based. + // What kind of diversity to use - data driven or rule based. If unset, the + // server behavior defaults to + // [RULE_BASED_DIVERSITY][google.cloud.retail.v2beta.ServingConfig.DiversityType.RULE_BASED_DIVERSITY]. DiversityType diversity_type = 20; // Whether to add additional category filters on the `similar-items` model. diff --git a/third_party/googleapis/google/cloud/retail/v2beta/user_event.proto b/third_party/googleapis/google/cloud/retail/v2beta/user_event.proto index 5adf86027..c212b9de2 100644 --- a/third_party/googleapis/google/cloud/retail/v2beta/user_event.proto +++ b/third_party/googleapis/google/cloud/retail/v2beta/user_event.proto @@ -268,6 +268,13 @@ message UserEvent { // When using the client side event reporting with JavaScript pixel and Google // Tag Manager, this value is filled in automatically. string page_view_id = 15; + + // The entity for customers that may run multiple different entities, domains, + // sites or regions, for example, `Google US`, `Google Ads`, `Waymo`, + // `google.com`, `youtube.com`, etc. + // It is recommended to set this field to get better per-entity search, + // completion and prediction results. + string entity = 23; } // Detailed product information associated with a user event. diff --git a/third_party/googleapis/google/cloud/retail/v2beta/user_event_service.proto b/third_party/googleapis/google/cloud/retail/v2beta/user_event_service.proto index c7dd29ffe..d6a9b0e60 100644 --- a/third_party/googleapis/google/cloud/retail/v2beta/user_event_service.proto +++ b/third_party/googleapis/google/cloud/retail/v2beta/user_event_service.proto @@ -138,7 +138,7 @@ message CollectUserEventRequest { // only when the raw_json is set. oneof conversion_rule { // The prebuilt rule name that can convert a specific type of raw_json. - // For example: "default_schema/v1.0" + // For example: "ga4_bq" rule for the GA4 user event schema. string prebuilt_rule = 6; } diff --git a/third_party/googleapis/google/cloud/run/BUILD.bazel b/third_party/googleapis/google/cloud/run/BUILD.bazel index 87908ac70..4613e2b98 100644 --- a/third_party/googleapis/google/cloud/run/BUILD.bazel +++ b/third_party/googleapis/google/cloud/run/BUILD.bazel @@ -21,13 +21,14 @@ ruby_cloud_gapic_library( srcs = ["//google/cloud/run/v2:run_proto_with_info"], extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-run", - "ruby-cloud-wrapper-of=v2:0.5", + "ruby-cloud-wrapper-of=v2:0.13", "ruby-cloud-product-url=https://cloud.google.com/run", "ruby-cloud-api-id=run.googleapis.com", "ruby-cloud-api-shortname=run", ], ruby_cloud_description = "Cloud Run deploys and manages user provided container images that scale automatically based on incoming requests.", ruby_cloud_title = "Cloud Run", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/run/v2/BUILD.bazel b/third_party/googleapis/google/cloud/run/v2/BUILD.bazel index 400fda877..09dc93532 100644 --- a/third_party/googleapis/google/cloud/run/v2/BUILD.bazel +++ b/third_party/googleapis/google/cloud/run/v2/BUILD.bazel @@ -141,7 +141,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -165,7 +164,7 @@ go_gapic_library( grpc_service_config = "run_grpc_service_config.json", importpath = "cloud.google.com/go/run/apiv2;run", metadata = True, - release_level = "beta", + release_level = "ga", rest_numeric_enums = True, service_yaml = "run_v2.yaml", transport = "grpc+rest", @@ -180,19 +179,13 @@ go_gapic_library( ], ) -go_test( - name = "run_go_gapic_test", - srcs = [":run_go_gapic_srcjar_test"], - embed = [":run_go_gapic"], - importpath = "cloud.google.com/go/run/apiv2", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-run-v2-go", deps = [ ":run_go_gapic", ":run_go_gapic_srcjar-metadata.srcjar", + ":run_go_gapic_srcjar-snippets.srcjar", ":run_go_gapic_srcjar-test.srcjar", ":run_go_proto", ], @@ -245,7 +238,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -254,23 +246,15 @@ php_proto_library( deps = [":run_proto"], ) -php_grpc_library( - name = "run_php_grpc", - srcs = [":run_proto"], - deps = [":run_php_proto"], -) - php_gapic_library( name = "run_php_gapic", srcs = [":run_proto_with_info"], grpc_service_config = "run_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "run_v2.yaml", transport = "grpc+rest", - deps = [ - ":run_php_grpc", - ":run_php_proto", - ], + deps = [":run_php_proto"], ) # Open Source Packages @@ -278,7 +262,6 @@ php_gapic_assembly_pkg( name = "google-cloud-run-v2-php", deps = [ ":run_php_gapic", - ":run_php_grpc", ":run_php_proto", ], ) @@ -350,6 +333,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Cloud Run deploys and manages user provided container images that scale automatically based on incoming requests.", ruby_cloud_title = "Cloud Run V2", service_yaml = "run_v2.yaml", + transport = "grpc+rest", deps = [ ":run_ruby_grpc", ":run_ruby_proto", diff --git a/third_party/googleapis/google/cloud/run/v2/condition.proto b/third_party/googleapis/google/cloud/run/v2/condition.proto index 1aaecc02c..458fc934c 100644 --- a/third_party/googleapis/google/cloud/run/v2/condition.proto +++ b/third_party/googleapis/google/cloud/run/v2/condition.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -169,6 +169,12 @@ message Condition { // The execution was cancelled by users. CANCELLED = 3; + + // The execution is in the process of being cancelled. + CANCELLING = 4; + + // The execution was deleted. + DELETED = 5; } // type is used to communicate the status of the reconciliation process. diff --git a/third_party/googleapis/google/cloud/run/v2/execution.proto b/third_party/googleapis/google/cloud/run/v2/execution.proto index 1c2cf832f..5b9b19f1e 100644 --- a/third_party/googleapis/google/cloud/run/v2/execution.proto +++ b/third_party/googleapis/google/cloud/run/v2/execution.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -65,14 +65,28 @@ service Executions { metadata_type: "Execution" }; } + + // Cancels an Execution. + rpc CancelExecution(CancelExecutionRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v2/{name=projects/*/locations/*/jobs/*/executions/*}:cancel" + body: "*" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "Execution" + metadata_type: "Execution" + }; + } } // Request message for obtaining a Execution by its full name. message GetExecutionRequest { // Required. The full name of the Execution. // Format: - // projects/{project}/locations/{location}/jobs/{job}/executions/{execution}, - // where {project} can be project id or number. + // `projects/{project}/locations/{location}/jobs/{job}/executions/{execution}`, + // where `{project}` can be project id or number. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { type: "run.googleapis.com/Execution" } @@ -83,8 +97,8 @@ message GetExecutionRequest { message ListExecutionsRequest { // Required. The Execution from which the Executions should be listed. // To list all Executions across Jobs, use "-" instead of Job name. - // Format: projects/{project}/locations/{location}/jobs/{job}, where {project} - // can be project id or number. + // Format: `projects/{project}/locations/{location}/jobs/{job}`, where + // `{project}` can be project id or number. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -117,8 +131,8 @@ message ListExecutionsResponse { message DeleteExecutionRequest { // Required. The name of the Execution to delete. // Format: - // projects/{project}/locations/{location}/jobs/{job}/executions/{execution}, - // where {project} can be project id or number. + // `projects/{project}/locations/{location}/jobs/{job}/executions/{execution}`, + // where `{project}` can be project id or number. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { type: "run.googleapis.com/Execution" } @@ -133,6 +147,26 @@ message DeleteExecutionRequest { string etag = 3; } +// Request message for deleting an Execution. +message CancelExecutionRequest { + // Required. The name of the Execution to cancel. + // Format: + // `projects/{project}/locations/{location}/jobs/{job}/executions/{execution}`, + // where `{project}` can be project id or number. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "run.googleapis.com/Execution" } + ]; + + // Indicates that the request should be validated without actually + // cancelling any resources. + bool validate_only = 2; + + // A system-generated fingerprint for this version of the resource. + // This may be used to detect modification conflict during updates. + string etag = 3; +} + // Execution represents the configuration of a single execution. A execution an // immutable resource that references a container image which is run to // completion. @@ -155,16 +189,20 @@ message Execution { // modifies the desired state. int64 generation = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - // KRM-style labels for the resource. - // User-provided labels are shared with Google's billing system, so they can - // be used to filter, or break down billing charges by team, component, - // environment, state, etc. For more information, visit + // Output only. Unstructured key value map that can be used to organize and + // categorize objects. User-provided labels are shared with Google's billing + // system, so they can be used to filter, or break down billing charges by + // team, component, environment, state, etc. For more information, visit // https://cloud.google.com/resource-manager/docs/creating-managing-labels or // https://cloud.google.com/run/docs/configuring/labels - map labels = 4; + map labels = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - // KRM-style annotations for the resource. - map annotations = 5; + // Output only. Unstructured key value map that may + // be set by external tools to store and arbitrary metadata. + // They are not queryable and should be preserved + // when modifying objects. + map annotations = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Represents time when the execution was acknowledged by the // execution controller. It is not guaranteed to be set in happens-before @@ -198,10 +236,14 @@ message Execution { google.protobuf.Timestamp expire_time = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Set the launch stage to a preview stage on write to allow use of preview - // features in that stage. On read, describes whether the resource uses - // preview features. Launch Stages are defined at [Google Cloud Platform - // Launch Stages](https://cloud.google.com/terms/launch-stages). + // The least stable launch stage needed to create this resource, as defined by + // [Google Cloud Platform Launch + // Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports + // `ALPHA`, `BETA`, and `GA`. + //

Note that this value might not be what was used + // as input. For example, if ALPHA was provided as input in the parent + // resource, but only BETA and GA-level features are were, this field will be + // BETA. google.api.LaunchStage launch_stage = 11; // Output only. The name of the parent Job. @@ -214,15 +256,12 @@ message Execution { // should run at any given time. Must be <= task_count. The actual number of // tasks running in steady state will be less than this number when // ((.spec.task_count - .status.successful) < .spec.parallelism), i.e. when - // the work left to do is less than max parallelism. More info: - // https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ + // the work left to do is less than max parallelism. int32 parallelism = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Specifies the desired number of tasks the execution should // run. Setting to 1 means that parallelism is limited to 1 and the success of // that task signals the success of the execution. - // More info: - // https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ int32 task_count = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The template used to create tasks for this execution. @@ -263,6 +302,9 @@ message Execution { // Console. string log_uri = 26 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Reserved for future use. + bool satisfies_pzs = 27 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. A system-generated fingerprint for this version of the // resource. May be used to detect modification conflict during updates. string etag = 99 [(google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/third_party/googleapis/google/cloud/run/v2/execution_template.proto b/third_party/googleapis/google/cloud/run/v2/execution_template.proto index 17e4a4439..55f465a5f 100644 --- a/third_party/googleapis/google/cloud/run/v2/execution_template.proto +++ b/third_party/googleapis/google/cloud/run/v2/execution_template.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -27,7 +27,13 @@ option java_package = "com.google.cloud.run.v2"; // ExecutionTemplate describes the data an execution should have when created // from a template. message ExecutionTemplate { - // KRM-style labels for the resource. + // Unstructured key value map that can be used to organize and categorize + // objects. + // User-provided labels are shared with Google's billing system, so they can + // be used to filter, or break down billing charges by team, component, + // environment, state, etc. For more information, visit + // https://cloud.google.com/resource-manager/docs/creating-managing-labels or + // https://cloud.google.com/run/docs/configuring/labels. // //

Cloud Run API v2 does not support labels with `run.googleapis.com`, // `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` @@ -35,12 +41,17 @@ message ExecutionTemplate { // corresponding field in v2 ExecutionTemplate. map labels = 1; - // KRM-style annotations for the resource. + // Unstructured key value map that may be set by external tools to store and + // arbitrary metadata. They are not queryable and should be preserved + // when modifying objects. // //

Cloud Run API v2 does not support annotations with `run.googleapis.com`, // `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` // namespaces, and they will be rejected. All system annotations in v1 now // have a corresponding field in v2 ExecutionTemplate. + // + //

This field follows Kubernetes annotations' namespacing, limits, and + // rules. map annotations = 2; // Specifies the maximum desired number of tasks the execution should run at @@ -54,9 +65,7 @@ message ExecutionTemplate { // Specifies the desired number of tasks the execution should run. // Setting to 1 means that parallelism is limited to 1 and the success of - // that task signals the success of the execution. - // More info: - // https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ + // that task signals the success of the execution. Defaults to 1. int32 task_count = 4; // Required. Describes the task(s) that will be created when executing an diff --git a/third_party/googleapis/google/cloud/run/v2/job.proto b/third_party/googleapis/google/cloud/run/v2/job.proto index 5a04b5318..8d6559ad4 100644 --- a/third_party/googleapis/google/cloud/run/v2/job.proto +++ b/third_party/googleapis/google/cloud/run/v2/job.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,19 +16,21 @@ syntax = "proto3"; package google.cloud.run.v2; -import public "google/cloud/run/v2/execution.proto"; - import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/launch_stage.proto"; import "google/api/resource.proto"; +import "google/api/routing.proto"; import "google/cloud/run/v2/condition.proto"; +import "google/cloud/run/v2/execution.proto"; import "google/cloud/run/v2/execution_template.proto"; +import "google/cloud/run/v2/k8s.min.proto"; import "google/cloud/run/v2/vendor_settings.proto"; import "google/iam/v1/iam_policy.proto"; import "google/iam/v1/policy.proto"; import "google/longrunning/operations.proto"; +import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; option go_package = "cloud.google.com/go/run/apiv2/runpb;runpb"; @@ -48,6 +50,12 @@ service Jobs { post: "/v2/{parent=projects/*/locations/*}/jobs" body: "job" }; + option (google.api.routing) = { + routing_parameters { + field: "parent" + path_template: "projects/*/locations/{location=*}" + } + }; option (google.api.method_signature) = "parent,job,job_id"; option (google.longrunning.operation_info) = { response_type: "Job" @@ -60,6 +68,12 @@ service Jobs { option (google.api.http) = { get: "/v2/{name=projects/*/locations/*/jobs/*}" }; + option (google.api.routing) = { + routing_parameters { + field: "name" + path_template: "projects/*/locations/{location=*}/**" + } + }; option (google.api.method_signature) = "name"; } @@ -68,6 +82,12 @@ service Jobs { option (google.api.http) = { get: "/v2/{parent=projects/*/locations/*}/jobs" }; + option (google.api.routing) = { + routing_parameters { + field: "parent" + path_template: "projects/*/locations/{location=*}" + } + }; option (google.api.method_signature) = "parent"; } @@ -77,6 +97,12 @@ service Jobs { patch: "/v2/{job.name=projects/*/locations/*/jobs/*}" body: "job" }; + option (google.api.routing) = { + routing_parameters { + field: "job.name" + path_template: "projects/*/locations/{location=*}/**" + } + }; option (google.api.method_signature) = "job"; option (google.longrunning.operation_info) = { response_type: "Job" @@ -89,6 +115,12 @@ service Jobs { option (google.api.http) = { delete: "/v2/{name=projects/*/locations/*/jobs/*}" }; + option (google.api.routing) = { + routing_parameters { + field: "name" + path_template: "projects/*/locations/{location=*}/**" + } + }; option (google.api.method_signature) = "name"; option (google.longrunning.operation_info) = { response_type: "Job" @@ -102,6 +134,12 @@ service Jobs { post: "/v2/{name=projects/*/locations/*/jobs/*}:run" body: "*" }; + option (google.api.routing) = { + routing_parameters { + field: "name" + path_template: "projects/*/locations/{location=*}/**" + } + }; option (google.api.method_signature) = "name"; option (google.longrunning.operation_info) = { response_type: "Execution" @@ -240,6 +278,38 @@ message DeleteJobRequest { // Request message to create a new Execution of a Job. message RunJobRequest { + // RunJob Overrides that contains Execution fields to be overridden. + message Overrides { + // Per-container override specification. + message ContainerOverride { + // The name of the container specified as a DNS_LABEL. + string name = 1; + + // Optional. Arguments to the entrypoint. Will replace existing args for + // override. + repeated string args = 2 [(google.api.field_behavior) = OPTIONAL]; + + // List of environment variables to set in the container. Will be merged + // with existing env for override. + repeated EnvVar env = 3; + + // Optional. True if the intention is to clear out existing args list. + bool clear_args = 4 [(google.api.field_behavior) = OPTIONAL]; + } + + // Per container override specification. + repeated ContainerOverride container_overrides = 1; + + // Optional. The desired number of tasks the execution should run. Will + // replace existing task_count value. + int32 task_count = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Duration in seconds the task may be active before the system will + // actively try to mark it failed and kill associated containers. Will + // replace existing timeout_seconds value. + google.protobuf.Duration timeout = 4; + } + // Required. The full name of the Job. // Format: projects/{project}/locations/{location}/jobs/{job}, where {project} // can be project id or number. @@ -255,6 +325,10 @@ message RunJobRequest { // A system-generated fingerprint for this version of the // resource. May be used to detect modification conflict during updates. string etag = 3; + + // Overrides specification for a given execution of a job. If provided, + // overrides will be applied to update the execution or task spec. + Overrides overrides = 4; } // Job represents the configuration of a single job, which references a @@ -281,12 +355,13 @@ message Job { // modifies the desired state. int64 generation = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - // KRM-style labels for the resource. + // Unstructured key value map that can be used to organize and categorize + // objects. // User-provided labels are shared with Google's billing system, so they can // be used to filter, or break down billing charges by team, component, // environment, state, etc. For more information, visit // https://cloud.google.com/resource-manager/docs/creating-managing-labels or - // https://cloud.google.com/run/docs/configuring/labels + // https://cloud.google.com/run/docs/configuring/labels. // //

Cloud Run API v2 does not support labels with `run.googleapis.com`, // `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` @@ -294,18 +369,18 @@ message Job { // corresponding field in v2 Job. map labels = 4; - // KRM-style annotations for the resource. Unstructured key value map that may + // Unstructured key value map that may // be set by external tools to store and arbitrary metadata. // They are not queryable and should be preserved // when modifying objects. // //

Cloud Run API v2 does not support annotations with `run.googleapis.com`, // `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` - // namespaces, and they will be rejected. All system annotations in v1 now - // have a corresponding field in v2 Job. + // namespaces, and they will be rejected on new resources. All system + // annotations in v1 now have a corresponding field in v2 Job. // //

This field follows Kubernetes annotations' namespacing, limits, and - // rules. More info: https://kubernetes.io/docs/user-guide/annotations + // rules. map annotations = 5; // Output only. The creation time. @@ -341,6 +416,12 @@ message Job { // Launch Stages](https://cloud.google.com/terms/launch-stages). // Cloud Run supports `ALPHA`, `BETA`, and `GA`. If no value is specified, GA // is assumed. + // Set the launch stage to a preview stage on input to allow use of preview + // features in that stage. On read (or output), describes whether the resource + // uses preview features. + //

+ // For example, if ALPHA is provided as input, but only BETA and GA-level + // features are used, this field will be BETA on output. google.api.LaunchStage launch_stage = 14; // Settings for the Binary Authorization feature. @@ -394,6 +475,9 @@ message Job { // failure can be found in `terminal_condition` and `conditions`. bool reconciling = 23 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Reserved for future use. + bool satisfies_pzs = 25 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. A system-generated fingerprint for this version of the // resource. May be used to detect modification conflict during updates. string etag = 99 [(google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/third_party/googleapis/google/cloud/run/v2/k8s.min.proto b/third_party/googleapis/google/cloud/run/v2/k8s.min.proto index b5b235382..378462e0e 100644 --- a/third_party/googleapis/google/cloud/run/v2/k8s.min.proto +++ b/third_party/googleapis/google/cloud/run/v2/k8s.min.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -43,7 +43,7 @@ option (google.api.resource_definition) = { // A single application container. // This specifies both the container to run, the command to run in the container // and the arguments to supply to it. -// Note that additional arguments may be supplied by the system to the container +// Note that additional arguments can be supplied by the system to the container // at runtime. message Container { // Name of the container specified as a DNS_LABEL (RFC 1123). @@ -51,38 +51,21 @@ message Container { // Required. Name of the container image in Dockerhub, Google Artifact // Registry, or Google Container Registry. If the host is not provided, - // Dockerhub is assumed. More info: - // https://kubernetes.io/docs/concepts/containers/images + // Dockerhub is assumed. string image = 2 [(google.api.field_behavior) = REQUIRED]; // Entrypoint array. Not executed within a shell. // The docker image's ENTRYPOINT is used if this is not provided. - // Variable references $(VAR_NAME) are expanded using the container's - // environment. If a variable cannot be resolved, the reference in the input - // string will be unchanged. The $(VAR_NAME) syntax can be escaped with a - // double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, - // regardless of whether the variable exists or not. - // More info: - // https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell repeated string command = 3; // Arguments to the entrypoint. // The docker image's CMD is used if this is not provided. - // Variable references $(VAR_NAME) are expanded using the container's - // environment. If a variable cannot be resolved, the reference in the input - // string will be unchanged. The $(VAR_NAME) syntax can be escaped with a - // double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, - // regardless of whether the variable exists or not. - // More info: - // https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell repeated string args = 4; // List of environment variables to set in the container. repeated EnvVar env = 5; // Compute Resource requirements by this container. - // More info: - // https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources ResourceRequirements resources = 6; // List of ports to expose from the container. Only a single port can be @@ -103,36 +86,43 @@ message Container { // Periodic probe of container liveness. // Container will be restarted if the probe fails. - // More info: - // https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes Probe liveness_probe = 10; // Startup probe of application within the container. // All other probes are disabled if a startup probe is provided, until it // succeeds. Container will not be added to service endpoints if the probe // fails. - // More info: - // https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes Probe startup_probe = 11; + + // Names of the containers that must start before this container. + repeated string depends_on = 12; } // ResourceRequirements describes the compute resource requirements. message ResourceRequirements { - // Only memory and CPU are supported. Note: The only - // supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU - // requires at least 2Gi of memory. The values of the map is string form of - // the 'quantity' k8s type: - // https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go + // Only ´memory´ and 'cpu' are supported. + // + //

Notes: + // * The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 + // CPU requires at least 2Gi of memory. For more information, go to + // https://cloud.google.com/run/docs/configuring/cpu. + // * For supported 'memory' values and syntax, go to + // https://cloud.google.com/run/docs/configuring/memory-limits map limits = 1; // Determines whether CPU should be throttled or not outside of requests. bool cpu_idle = 2; + + // Determines whether CPU should be boosted on startup of a new container + // instance above the requested CPU threshold, this can help reduce cold-start + // latency. + bool startup_cpu_boost = 3; } // EnvVar represents an environment variable present in a Container. message EnvVar { - // Required. Name of the environment variable. Must be a C_IDENTIFIER, and - // mnay not exceed 32768 characters. + // Required. Name of the environment variable. Must not exceed 32768 + // characters. string name = 1 [(google.api.field_behavior) = REQUIRED]; oneof values { @@ -209,13 +199,15 @@ message Volume { oneof volume_type { // Secret represents a secret that should populate this volume. - // More info: https://kubernetes.io/docs/concepts/storage/volumes#secret SecretVolumeSource secret = 2; // For Cloud SQL volumes, contains the specific instances that should be // mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for // more information on how to connect Cloud SQL and Cloud Run. CloudSqlInstance cloud_sql_instance = 3; + + // Ephemeral storage used as a shared volume. + EmptyDirVolumeSource empty_dir = 4; } } @@ -299,6 +291,37 @@ message CloudSqlInstance { repeated string instances = 1; } +// In memory (tmpfs) ephemeral storage. +// It is ephemeral in the sense that when the sandbox is taken down, the data is +// destroyed with it (it does not persist across sandbox runs). +message EmptyDirVolumeSource { + // The different types of medium supported for EmptyDir. + enum Medium { + // When not specified, falls back to the default implementation which + // is currently in memory (this may change over time). + MEDIUM_UNSPECIFIED = 0; + + // Explicitly set the EmptyDir to be in memory. Uses tmpfs. + MEMORY = 1; + } + + // The medium on which the data is stored. Acceptable values today is only + // MEMORY or none. When none, the default will currently be backed by memory + // but could change over time. +optional + Medium medium = 1; + + // Limit on the storage usable by this EmptyDir volume. + // The size limit is also applicable for memory medium. + // The maximum usage on memory medium EmptyDir would be the minimum value + // between the SizeLimit specified here and the sum of memory limits of all + // containers. The default is nil which means that the limit is undefined. + // More info: + // https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume. + // Info in Kubernetes: + // https://kubernetes.io/docs/concepts/storage/volumes/#emptydir + string size_limit = 2; +} + // Probe describes a health check to be performed against a container to // determine whether it is alive or ready to receive traffic. message Probe { @@ -306,15 +329,11 @@ message Probe { // initiated. // Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe // is 3600. Maximum value for startup probe is 240. - // More info: - // https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes int32 initial_delay_seconds = 1; // Number of seconds after which the probe times out. // Defaults to 1 second. Minimum value is 1. Maximum value is 3600. // Must be smaller than period_seconds. - // More info: - // https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes int32 timeout_seconds = 2; // How often (in seconds) to perform the probe. @@ -349,6 +368,11 @@ message HTTPGetAction { // Custom headers to set in the request. HTTP allows repeated headers. repeated HTTPHeader http_headers = 4; + + // Port number to access on the container. Must be in the range 1 to 65535. + // If not specified, defaults to the exposed port of the container, which is + // the value of container.ports[0].containerPort. + int32 port = 5; } // HTTPHeader describes a custom header to be used in HTTP probes @@ -363,18 +387,20 @@ message HTTPHeader { // TCPSocketAction describes an action based on opening a socket message TCPSocketAction { // Port number to access on the container. Must be in the range 1 to 65535. - // If not specified, defaults to 8080. + // If not specified, defaults to the exposed port of the container, which is + // the value of container.ports[0].containerPort. int32 port = 1; } // GRPCAction describes an action involving a GRPC port. message GRPCAction { // Port number of the gRPC service. Number must be in the range 1 to 65535. - // If not specified, defaults to 8080. + // If not specified, defaults to the exposed port of the container, which is + // the value of container.ports[0].containerPort. int32 port = 1; // Service is the name of the service to place in the gRPC HealthCheckRequest - // (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If + // (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md ). If // this is not specified, the default behavior is defined by gRPC. string service = 2; } diff --git a/third_party/googleapis/google/cloud/run/v2/revision.proto b/third_party/googleapis/google/cloud/run/v2/revision.proto index 753776b47..bdaf9e739 100644 --- a/third_party/googleapis/google/cloud/run/v2/revision.proto +++ b/third_party/googleapis/google/cloud/run/v2/revision.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -176,16 +176,20 @@ message Revision { // modifies the desired state. int64 generation = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - // KRM-style labels for the resource. - // User-provided labels are shared with Google's billing system, so they can - // be used to filter, or break down billing charges by team, component, - // environment, state, etc. For more information, visit + // Output only. Unstructured key value map that can be used to organize and + // categorize objects. User-provided labels are shared with Google's billing + // system, so they can be used to filter, or break down billing charges by + // team, component, environment, state, etc. For more information, visit // https://cloud.google.com/resource-manager/docs/creating-managing-labels or - // https://cloud.google.com/run/docs/configuring/labels - map labels = 4; - - // KRM-style annotations for the resource. - map annotations = 5; + // https://cloud.google.com/run/docs/configuring/labels. + map labels = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Unstructured key value map that may + // be set by external tools to store and arbitrary metadata. + // They are not queryable and should be preserved + // when modifying objects. + map annotations = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The creation time. google.protobuf.Timestamp create_time = 6 @@ -206,10 +210,14 @@ message Revision { google.protobuf.Timestamp expire_time = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Set the launch stage to a preview stage on write to allow use of preview - // features in that stage. On read, describes whether the resource uses - // preview features. Launch Stages are defined at [Google Cloud Platform - // Launch Stages](https://cloud.google.com/terms/launch-stages). + // The least stable launch stage needed to create this resource, as defined by + // [Google Cloud Platform Launch + // Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports + // `ALPHA`, `BETA`, and `GA`. + //

Note that this value might not be what was used + // as input. For example, if ALPHA was provided as input in the parent + // resource, but only BETA and GA-level features are were, this field will be + // BETA. google.api.LaunchStage launch_stage = 10; // Output only. The name of the parent service. @@ -279,6 +287,12 @@ message Revision { // Output only. The Google Console URI to obtain logs for the Revision. string log_uri = 33 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Reserved for future use. + bool satisfies_pzs = 37 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Enable session affinity. + bool session_affinity = 38; + // Output only. A system-generated fingerprint for this version of the // resource. May be used to detect modification conflict during updates. string etag = 99 [(google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/third_party/googleapis/google/cloud/run/v2/revision_template.proto b/third_party/googleapis/google/cloud/run/v2/revision_template.proto index 7dd2b895d..cc13e2d85 100644 --- a/third_party/googleapis/google/cloud/run/v2/revision_template.proto +++ b/third_party/googleapis/google/cloud/run/v2/revision_template.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -35,7 +35,13 @@ message RevisionTemplate { (google.api.resource_reference) = { type: "run.googleapis.com/Revision" } ]; - // KRM-style labels for the resource. + // Unstructured key value map that can be used to organize and categorize + // objects. + // User-provided labels are shared with Google's billing system, so they can + // be used to filter, or break down billing charges by team, component, + // environment, state, etc. For more information, visit + // https://cloud.google.com/resource-manager/docs/creating-managing-labels or + // https://cloud.google.com/run/docs/configuring/labels. // //

Cloud Run API v2 does not support labels with `run.googleapis.com`, // `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` @@ -43,12 +49,17 @@ message RevisionTemplate { // corresponding field in v2 RevisionTemplate. map labels = 2; - // KRM-style annotations for the resource. + // Unstructured key value map that may be set by external tools to store and + // arbitrary metadata. They are not queryable and should be preserved + // when modifying objects. // //

Cloud Run API v2 does not support annotations with `run.googleapis.com`, // `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` // namespaces, and they will be rejected. All system annotations in v1 now // have a corresponding field in v2 RevisionTemplate. + // + //

This field follows Kubernetes annotations' namespacing, limits, and + // rules. map annotations = 3; // Scaling settings for this Revision. @@ -86,4 +97,7 @@ message RevisionTemplate { // Sets the maximum number of requests that each serving instance can receive. int32 max_instance_request_concurrency = 15; + + // Enable session affinity. + bool session_affinity = 19; } diff --git a/third_party/googleapis/google/cloud/run/v2/run_v2.yaml b/third_party/googleapis/google/cloud/run/v2/run_v2.yaml index 4c7e3fdfb..bfc84e823 100644 --- a/third_party/googleapis/google/cloud/run/v2/run_v2.yaml +++ b/third_party/googleapis/google/cloud/run/v2/run_v2.yaml @@ -23,35 +23,6 @@ documentation: - selector: google.cloud.location.Locations.ListLocations description: Lists information about the supported locations for this service. -backend: - rules: - - selector: google.cloud.location.Locations.ListLocations - deadline: 5.0 - - selector: 'google.cloud.run.v2.Executions.*' - deadline: 5.0 - - selector: 'google.cloud.run.v2.Jobs.*' - deadline: 5.0 - - selector: google.cloud.run.v2.Jobs.CreateJob - deadline: 10.0 - - selector: google.cloud.run.v2.Jobs.UpdateJob - deadline: 10.0 - - selector: 'google.cloud.run.v2.Revisions.*' - deadline: 5.0 - - selector: 'google.cloud.run.v2.Services.*' - deadline: 5.0 - - selector: google.cloud.run.v2.Services.CreateService - deadline: 10.0 - - selector: google.cloud.run.v2.Services.UpdateService - deadline: 10.0 - - selector: google.cloud.run.v2.Tasks.GetTask - deadline: 5.0 - - selector: google.cloud.run.v2.Tasks.ListTasks - deadline: 5.0 - - selector: 'google.longrunning.Operations.*' - deadline: 5.0 - - selector: google.longrunning.Operations.WaitOperation - deadline: 60.0 - http: rules: - selector: google.longrunning.Operations.DeleteOperation diff --git a/third_party/googleapis/google/cloud/run/v2/service.proto b/third_party/googleapis/google/cloud/run/v2/service.proto index 6620d79d2..8ce51cb2b 100644 --- a/third_party/googleapis/google/cloud/run/v2/service.proto +++ b/third_party/googleapis/google/cloud/run/v2/service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -197,8 +197,8 @@ message UpdateServiceRequest { bool validate_only = 3; // If set to true, and if the Service does not exist, it will create a new - // one. Caller must have both create and update permissions for this call if - // this is set to true. + // one. The caller must have 'run.services.create' permissions if this is set + // to true and the Service does not exist. bool allow_missing = 4; } @@ -301,13 +301,13 @@ message Service { // APIs, its JSON representation will be a `string` instead of an `integer`. int64 generation = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Map of string keys and values that can be used to organize and categorize + // Unstructured key value map that can be used to organize and categorize // objects. // User-provided labels are shared with Google's billing system, so they can // be used to filter, or break down billing charges by team, component, // environment, state, etc. For more information, visit // https://cloud.google.com/resource-manager/docs/creating-managing-labels or - // https://cloud.google.com/run/docs/configuring/labels + // https://cloud.google.com/run/docs/configuring/labels. // //

Cloud Run API v2 does not support labels with `run.googleapis.com`, // `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` @@ -321,12 +321,11 @@ message Service { // //

Cloud Run API v2 does not support annotations with `run.googleapis.com`, // `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` - // namespaces, and they will be rejected. All system annotations in v1 now - // have a corresponding field in v2 Service. + // namespaces, and they will be rejected in new resources. All system + // annotations in v1 now have a corresponding field in v2 Service. // //

This field follows Kubernetes - // annotations' namespacing, limits, and rules. More info: - // https://kubernetes.io/docs/user-guide/annotations + // annotations' namespacing, limits, and rules. map annotations = 6; // Output only. The creation time. @@ -367,6 +366,12 @@ message Service { // Launch Stages](https://cloud.google.com/terms/launch-stages). // Cloud Run supports `ALPHA`, `BETA`, and `GA`. If no value is specified, GA // is assumed. + // Set the launch stage to a preview stage on input to allow use of preview + // features in that stage. On read (or output), describes whether the resource + // uses preview features. + //

+ // For example, if ALPHA is provided as input, but only BETA and GA-level + // features are used, this field will be BETA on output. google.api.LaunchStage launch_stage = 16; // Settings for the Binary Authorization feature. @@ -425,6 +430,16 @@ message Service { // Output only. The main URI in which this Service is serving traffic. string uri = 36 [(google.api.field_behavior) = OUTPUT_ONLY]; + // One or more custom audiences that you want this service to support. Specify + // each custom audience as the full URL in a string. The custom audiences are + // encoded in the token and used to authenticate requests. For more + // information, see + // https://cloud.google.com/run/docs/configuring/custom-audiences. + repeated string custom_audiences = 37; + + // Output only. Reserved for future use. + bool satisfies_pzs = 38 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Returns true if the Service is currently being acted upon by // the system to bring it into the desired state. // diff --git a/third_party/googleapis/google/cloud/run/v2/task.proto b/third_party/googleapis/google/cloud/run/v2/task.proto index 45584e3ce..e24acc0e0 100644 --- a/third_party/googleapis/google/cloud/run/v2/task.proto +++ b/third_party/googleapis/google/cloud/run/v2/task.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -118,23 +118,33 @@ message Task { // modifies the desired state. int64 generation = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - // KRM-style labels for the resource. - // User-provided labels are shared with Google's billing system, so they can - // be used to filter, or break down billing charges by team, component, - // environment, state, etc. For more information, visit + // Output only. Unstructured key value map that can be used to organize and + // categorize objects. User-provided labels are shared with Google's billing + // system, so they can be used to filter, or break down billing charges by + // team, component, environment, state, etc. For more information, visit // https://cloud.google.com/resource-manager/docs/creating-managing-labels or // https://cloud.google.com/run/docs/configuring/labels - map labels = 4; + map labels = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - // KRM-style annotations for the resource. - map annotations = 5; + // Output only. Unstructured key value map that may + // be set by external tools to store and arbitrary metadata. + // They are not queryable and should be preserved + // when modifying objects. + map annotations = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Represents time when the task was created by the job - // controller. It is not guaranteed to be set in happens-before order across - // separate operations. + // Output only. Represents time when the task was created by the system. + // It is not guaranteed to be set in happens-before order across separate + // operations. google.protobuf.Timestamp create_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Represents time when the task was scheduled to run by the + // system. It is not guaranteed to be set in happens-before order across + // separate operations. + google.protobuf.Timestamp scheduled_time = 34 + [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Represents time when the task started to run. // It is not guaranteed to be set in happens-before order across separate // operations. @@ -241,6 +251,9 @@ message Task { // Console. string log_uri = 32 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Reserved for future use. + bool satisfies_pzs = 33 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. A system-generated fingerprint for this version of the // resource. May be used to detect modification conflict during updates. string etag = 99 [(google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/third_party/googleapis/google/cloud/run/v2/task_template.proto b/third_party/googleapis/google/cloud/run/v2/task_template.proto index f19ee7960..586c44956 100644 --- a/third_party/googleapis/google/cloud/run/v2/task_template.proto +++ b/third_party/googleapis/google/cloud/run/v2/task_template.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -38,12 +38,14 @@ message TaskTemplate { oneof retries { // Number of retries allowed per Task, before marking this Task failed. + // Defaults to 3. int32 max_retries = 3; } // Max allowed time duration the Task may be active before the system will // actively try to mark it failed and kill associated containers. This applies // per attempt of a task, meaning each retry can run for the full timeout. + // Defaults to 600 seconds. google.protobuf.Duration timeout = 4; // Email address of the IAM service account associated with the Task of a diff --git a/third_party/googleapis/google/cloud/run/v2/traffic_target.proto b/third_party/googleapis/google/cloud/run/v2/traffic_target.proto index b1836ad14..adc7f05e2 100644 --- a/third_party/googleapis/google/cloud/run/v2/traffic_target.proto +++ b/third_party/googleapis/google/cloud/run/v2/traffic_target.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/run/v2/vendor_settings.proto b/third_party/googleapis/google/cloud/run/v2/vendor_settings.proto index 1b166ec62..9a24d3db5 100644 --- a/third_party/googleapis/google/cloud/run/v2/vendor_settings.proto +++ b/third_party/googleapis/google/cloud/run/v2/vendor_settings.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,6 +16,7 @@ syntax = "proto3"; package google.cloud.run.v2; +import "google/api/field_behavior.proto"; import "google/api/resource.proto"; option go_package = "cloud.google.com/go/run/apiv2/runpb;runpb"; @@ -23,10 +24,8 @@ option java_multiple_files = true; option java_outer_classname = "VendorSettingsProto"; option java_package = "com.google.cloud.run.v2"; -// VPC Access settings. For more information on creating a VPC Connector, visit -// https://cloud.google.com/vpc/docs/configure-serverless-vpc-access For -// information on how to configure Cloud Run with an existing VPC Connector, -// visit https://cloud.google.com/run/docs/configuring/connecting-vpc +// VPC Access settings. For more information on sending traffic to a VPC +// network, visit https://cloud.google.com/run/docs/configuring/connecting-vpc. message VpcAccess { // Egress options for VPC access. enum VpcEgress { @@ -40,15 +39,42 @@ message VpcAccess { PRIVATE_RANGES_ONLY = 2; } + // Direct VPC egress settings. + message NetworkInterface { + // The VPC network that the Cloud Run resource will be able to send traffic + // to. At least one of network or subnetwork must be specified. If both + // network and subnetwork are specified, the given VPC subnetwork must + // belong to the given VPC network. If network is not specified, it will be + // looked up from the subnetwork. + string network = 1; + + // The VPC subnetwork that the Cloud Run resource will get IPs from. At + // least one of network or subnetwork must be specified. If both + // network and subnetwork are specified, the given VPC subnetwork must + // belong to the given VPC network. If subnetwork is not specified, the + // subnetwork with the same name with the network will be used. + string subnetwork = 2; + + // Network tags applied to this Cloud Run resource. + repeated string tags = 3; + } + // VPC Access connector name. // Format: projects/{project}/locations/{location}/connectors/{connector}, // where {project} can be project id or number. + // For more information on sending traffic to a VPC network via a connector, + // visit https://cloud.google.com/run/docs/configuring/vpc-connectors. string connector = 1 [(google.api.resource_reference) = { type: "vpcaccess.googleapis.com/Connector" }]; - // Traffic VPC egress settings. + // Traffic VPC egress settings. If not provided, it defaults to + // PRIVATE_RANGES_ONLY. VpcEgress egress = 2; + + // Direct VPC egress settings. Currently only single network interface is + // supported. + repeated NetworkInterface network_interfaces = 3; } // Settings for Binary Authorization feature. diff --git a/third_party/googleapis/google/cloud/saasaccelerator/management/logs/v1/BUILD.bazel b/third_party/googleapis/google/cloud/saasaccelerator/management/logs/v1/BUILD.bazel index d2998c5b0..60765e401 100644 --- a/third_party/googleapis/google/cloud/saasaccelerator/management/logs/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/saasaccelerator/management/logs/v1/BUILD.bazel @@ -89,7 +89,6 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -98,21 +97,9 @@ php_proto_library( deps = [":logs_proto"], ) -php_grpc_library( - name = "logs_php_grpc", - srcs = [":logs_proto"], - deps = [":logs_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) - ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/scheduler/BUILD.bazel b/third_party/googleapis/google/cloud/scheduler/BUILD.bazel index ee134e2bb..c82006625 100644 --- a/third_party/googleapis/google/cloud/scheduler/BUILD.bazel +++ b/third_party/googleapis/google/cloud/scheduler/BUILD.bazel @@ -22,7 +22,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-scheduler", "ruby-cloud-env-prefix=SCHEDULER", - "ruby-cloud-wrapper-of=v1:0.0;v1beta1:0.0", + "ruby-cloud-wrapper-of=v1:0.10;v1beta1:0.10", "ruby-cloud-product-url=https://cloud.google.com/scheduler", "ruby-cloud-api-id=cloudscheduler.googleapis.com", "ruby-cloud-api-shortname=cloudscheduler", @@ -30,6 +30,7 @@ ruby_cloud_gapic_library( ], ruby_cloud_description = "Cloud Scheduler is a fully managed enterprise-grade cron job scheduler. It allows you to schedule virtually any job, including batch, big data jobs, cloud infrastructure operations, and more. You can automate everything, including retries in case of failure to reduce manual toil and intervention. Cloud Scheduler even acts as a single pane of glass, allowing you to manage all your automation tasks from one place.", ruby_cloud_title = "Cloud Scheduler", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/scheduler/v1/BUILD.bazel b/third_party/googleapis/google/cloud/scheduler/v1/BUILD.bazel index 00bba51fa..5e146c3f6 100644 --- a/third_party/googleapis/google/cloud/scheduler/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/scheduler/v1/BUILD.bazel @@ -78,8 +78,8 @@ java_gapic_library( rest_numeric_enums = True, service_yaml = "cloudscheduler_v1.yaml", test_deps = [ - "//google/cloud/location:location_java_grpc", ":scheduler_java_grpc", + "//google/cloud/location:location_java_grpc", ], transport = "grpc+rest", deps = [ @@ -119,7 +119,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -150,19 +149,13 @@ go_gapic_library( ], ) -go_test( - name = "scheduler_go_gapic_test", - srcs = [":scheduler_go_gapic_srcjar_test"], - embed = [":scheduler_go_gapic"], - importpath = "cloud.google.com/go/scheduler/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-scheduler-v1-go", deps = [ ":scheduler_go_gapic", ":scheduler_go_gapic_srcjar-metadata.srcjar", + ":scheduler_go_gapic_srcjar-snippets.srcjar", ":scheduler_go_gapic_srcjar-test.srcjar", ":scheduler_go_proto", ], @@ -214,7 +207,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -223,23 +215,15 @@ php_proto_library( deps = [":scheduler_proto"], ) -php_grpc_library( - name = "scheduler_php_grpc", - srcs = [":scheduler_proto"], - deps = [":scheduler_php_proto"], -) - php_gapic_library( name = "scheduler_php_gapic", srcs = [":scheduler_proto_with_info"], grpc_service_config = "cloudscheduler_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "cloudscheduler_v1.yaml", transport = "grpc+rest", - deps = [ - ":scheduler_php_grpc", - ":scheduler_php_proto", - ], + deps = [":scheduler_php_proto"], ) # Open Source Packages @@ -247,7 +231,6 @@ php_gapic_assembly_pkg( name = "google-cloud-scheduler-v1-php", deps = [ ":scheduler_php_gapic", - ":scheduler_php_grpc", ":scheduler_php_proto", ], ) @@ -320,6 +303,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Cloud Scheduler is a fully managed enterprise-grade cron job scheduler. It allows you to schedule virtually any job, including batch, big data jobs, cloud infrastructure operations, and more. You can automate everything, including retries in case of failure to reduce manual toil and intervention. Cloud Scheduler even acts as a single pane of glass, allowing you to manage all your automation tasks from one place.", ruby_cloud_title = "Cloud Scheduler V1", service_yaml = "cloudscheduler_v1.yaml", + transport = "grpc+rest", deps = [ ":scheduler_ruby_grpc", ":scheduler_ruby_proto", diff --git a/third_party/googleapis/google/cloud/scheduler/v1/target.proto b/third_party/googleapis/google/cloud/scheduler/v1/target.proto index 12a797b06..3565dbea7 100644 --- a/third_party/googleapis/google/cloud/scheduler/v1/target.proto +++ b/third_party/googleapis/google/cloud/scheduler/v1/target.proto @@ -62,8 +62,8 @@ message HttpTarget { // * `X-CloudScheduler`: This header will be set to true. // * `X-CloudScheduler-JobName`: This header will contain the job name. // * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in - // the unix-cron format, this header will contain the job schedule time in - // RFC3339 UTC "Zulu" format. + // the unix-cron format, this header will contain the job schedule as an + // offset of UTC parsed according to RFC3339. // // The total size of headers must be less than 80KB. map headers = 3; @@ -141,8 +141,8 @@ message AppEngineHttpTarget { // * `X-CloudScheduler`: This header will be set to true. // * `X-CloudScheduler-JobName`: This header will contain the job name. // * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in - // the unix-cron format, this header will contain the job schedule time in - // RFC3339 UTC "Zulu" format. + // the unix-cron format, this header will contain the job schedule as an + // offset of UTC parsed according to RFC3339. // // If the job has an // [body][google.cloud.scheduler.v1.AppEngineHttpTarget.body], Cloud Scheduler diff --git a/third_party/googleapis/google/cloud/scheduler/v1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/scheduler/v1beta1/BUILD.bazel index 782b5f653..6bc831106 100644 --- a/third_party/googleapis/google/cloud/scheduler/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/scheduler/v1beta1/BUILD.bazel @@ -78,8 +78,8 @@ java_gapic_library( rest_numeric_enums = True, service_yaml = "cloudscheduler_v1beta1.yaml", test_deps = [ - "//google/cloud/location:location_java_grpc", ":scheduler_java_grpc", + "//google/cloud/location:location_java_grpc", ], transport = "grpc+rest", deps = [ @@ -119,7 +119,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -150,19 +149,13 @@ go_gapic_library( ], ) -go_test( - name = "scheduler_go_gapic_test", - srcs = [":scheduler_go_gapic_srcjar_test"], - embed = [":scheduler_go_gapic"], - importpath = "cloud.google.com/go/scheduler/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-scheduler-v1beta1-go", deps = [ ":scheduler_go_gapic", ":scheduler_go_gapic_srcjar-metadata.srcjar", + ":scheduler_go_gapic_srcjar-snippets.srcjar", ":scheduler_go_gapic_srcjar-test.srcjar", ":scheduler_go_proto", ], @@ -214,7 +207,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -223,12 +215,6 @@ php_proto_library( deps = [":scheduler_proto"], ) -php_grpc_library( - name = "scheduler_php_grpc", - srcs = [":scheduler_proto"], - deps = [":scheduler_php_proto"], -) - php_gapic_library( name = "scheduler_php_gapic", srcs = [":scheduler_proto_with_info"], @@ -236,10 +222,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "cloudscheduler_v1beta1.yaml", transport = "grpc+rest", - deps = [ - ":scheduler_php_grpc", - ":scheduler_php_proto", - ], + deps = [":scheduler_php_proto"], ) # Open Source Packages @@ -247,7 +230,6 @@ php_gapic_assembly_pkg( name = "google-cloud-scheduler-v1beta1-php", deps = [ ":scheduler_php_gapic", - ":scheduler_php_grpc", ":scheduler_php_proto", ], ) @@ -320,6 +302,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Cloud Scheduler is a fully managed enterprise-grade cron job scheduler. It allows you to schedule virtually any job, including batch, big data jobs, cloud infrastructure operations, and more. You can automate everything, including retries in case of failure to reduce manual toil and intervention. Cloud Scheduler even acts as a single pane of glass, allowing you to manage all your automation tasks from one place.", ruby_cloud_title = "Cloud Scheduler V1beta1", service_yaml = "cloudscheduler_v1beta1.yaml", + transport = "grpc+rest", deps = [ ":scheduler_ruby_grpc", ":scheduler_ruby_proto", diff --git a/third_party/googleapis/google/cloud/scheduler/v1beta1/target.proto b/third_party/googleapis/google/cloud/scheduler/v1beta1/target.proto index af1c3484e..3f2ad51f2 100644 --- a/third_party/googleapis/google/cloud/scheduler/v1beta1/target.proto +++ b/third_party/googleapis/google/cloud/scheduler/v1beta1/target.proto @@ -62,8 +62,8 @@ message HttpTarget { // * `X-CloudScheduler`: This header will be set to true. // * `X-CloudScheduler-JobName`: This header will contain the job name. // * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in - // the unix-cron format, this header will contain the job schedule time in - // RFC3339 UTC "Zulu" format. + // the unix-cron format, this header will contain the job schedule as an + // offset of UTC parsed according to RFC3339. // // The total size of headers must be less than 80KB. map headers = 3; @@ -140,8 +140,8 @@ message AppEngineHttpTarget { // * `X-CloudScheduler`: This header will be set to true. // * `X-CloudScheduler-JobName`: This header will contain the job name. // * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in - // the unix-cron format, this header will contain the job schedule time in - // RFC3339 UTC "Zulu" format. + // the unix-cron format, this header will contain the job schedule as an + // offset of UTC parsed according to RFC3339. // // If the job has an // [body][google.cloud.scheduler.v1beta1.AppEngineHttpTarget.body], Cloud diff --git a/third_party/googleapis/google/cloud/secretmanager/BUILD.bazel b/third_party/googleapis/google/cloud/secretmanager/BUILD.bazel index e9ae4c900..d0c1ab5ec 100644 --- a/third_party/googleapis/google/cloud/secretmanager/BUILD.bazel +++ b/third_party/googleapis/google/cloud/secretmanager/BUILD.bazel @@ -22,7 +22,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-secret_manager", "ruby-cloud-env-prefix=SECRET_MANAGER", - "ruby-cloud-wrapper-of=v1:0.1;v1beta1:0.3", + "ruby-cloud-wrapper-of=v1:0.19;v1beta1:0.3", "ruby-cloud-product-url=https://cloud.google.com/secret-manager", "ruby-cloud-api-id=secretmanager.googleapis.com", "ruby-cloud-api-shortname=secretmanager", diff --git a/third_party/googleapis/google/cloud/secretmanager/logging/v1/BUILD.bazel b/third_party/googleapis/google/cloud/secretmanager/logging/v1/BUILD.bazel index 4e38164ed..36453edab 100644 --- a/third_party/googleapis/google/cloud/secretmanager/logging/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/secretmanager/logging/v1/BUILD.bazel @@ -87,7 +87,6 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -96,20 +95,9 @@ php_proto_library( deps = [":logging_proto"], ) -php_grpc_library( - name = "logging_php_grpc", - srcs = [":logging_proto"], - deps = [":logging_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/secretmanager/v1/BUILD.bazel b/third_party/googleapis/google/cloud/secretmanager/v1/BUILD.bazel index 2bab59dea..96e89cf11 100644 --- a/third_party/googleapis/google/cloud/secretmanager/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/secretmanager/v1/BUILD.bazel @@ -74,6 +74,7 @@ java_gapic_library( srcs = [":secretmanager_proto_with_info"], grpc_service_config = "secretmanager_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "secretmanager_v1.yaml", test_deps = [ ":secretmanager_java_grpc", "//google/iam/v1:iam_java_grpc", @@ -115,7 +116,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -146,19 +146,13 @@ go_gapic_library( ], ) -go_test( - name = "secretmanager_go_gapic_test", - srcs = [":secretmanager_go_gapic_srcjar_test"], - embed = [":secretmanager_go_gapic"], - importpath = "cloud.google.com/go/secretmanager/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-secretmanager-v1-go", deps = [ ":secretmanager_go_gapic", ":secretmanager_go_gapic_srcjar-metadata.srcjar", + ":secretmanager_go_gapic_srcjar-snippets.srcjar", ":secretmanager_go_gapic_srcjar-test.srcjar", ":secretmanager_go_proto", ], @@ -214,7 +208,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -223,23 +216,15 @@ php_proto_library( deps = [":secretmanager_proto"], ) -php_grpc_library( - name = "secretmanager_php_grpc", - srcs = [":secretmanager_proto"], - deps = [":secretmanager_php_proto"], -) - php_gapic_library( name = "secretmanager_php_gapic", srcs = [":secretmanager_proto_with_info"], grpc_service_config = "secretmanager_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "secretmanager_v1.yaml", transport = "grpc+rest", - deps = [ - ":secretmanager_php_grpc", - ":secretmanager_php_proto", - ], + deps = [":secretmanager_php_proto"], ) # Open Source Packages @@ -247,7 +232,6 @@ php_gapic_assembly_pkg( name = "google-cloud-secretmanager-v1-php", deps = [ ":secretmanager_php_gapic", - ":secretmanager_php_grpc", ":secretmanager_php_proto", ], ) @@ -319,6 +303,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Secret Manager is a secure and convenient storage system for API keys, passwords, certificates, and other sensitive data. Secret Manager provides a central place and single source of truth to manage, access, and audit secrets across Google Cloud.", ruby_cloud_title = "Secret Manager V1", service_yaml = "secretmanager_v1.yaml", + transport = "grpc+rest", deps = [ ":secretmanager_ruby_grpc", ":secretmanager_ruby_proto", diff --git a/third_party/googleapis/google/cloud/secretmanager/v1/resources.proto b/third_party/googleapis/google/cloud/secretmanager/v1/resources.proto index 3fcf8b405..0be89098c 100644 --- a/third_party/googleapis/google/cloud/secretmanager/v1/resources.proto +++ b/third_party/googleapis/google/cloud/secretmanager/v1/resources.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/secrets/v1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/secrets/v1beta1/BUILD.bazel index 2fcc7a001..6eed73581 100644 --- a/third_party/googleapis/google/cloud/secrets/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/secrets/v1beta1/BUILD.bazel @@ -62,6 +62,7 @@ java_gapic_library( srcs = [":secretmanager_proto_with_info"], grpc_service_config = "secretmanager_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "//google/cloud/secrets/v1beta1:secretmanager_v1beta1.yaml", test_deps = [ ":secretmanager_java_grpc", "//google/iam/v1:iam_java_grpc", @@ -103,7 +104,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -132,18 +132,12 @@ go_gapic_library( ], ) -go_test( - name = "secretmanager_go_gapic_test", - srcs = [":secretmanager_go_gapic_srcjar_test"], - embed = [":secretmanager_go_gapic"], - importpath = "cloud.google.com/go/secretmanager/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-secretmanager-v1beta1-go", deps = [ ":secretmanager_go_gapic", + ":secretmanager_go_gapic_srcjar-snippets.srcjar", ":secretmanager_go_gapic_srcjar-test.srcjar", ":secretmanager_go_proto", ], @@ -199,7 +193,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -208,12 +201,6 @@ php_proto_library( deps = [":secretmanager_proto"], ) -php_grpc_library( - name = "secretmanager_php_grpc", - srcs = [":secretmanager_proto"], - deps = [":secretmanager_php_proto"], -) - php_gapic_library( name = "secretmanager_php_gapic", srcs = [":secretmanager_proto_with_info"], @@ -221,10 +208,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "//google/cloud/secrets/v1beta1:secretmanager_v1beta1.yaml", transport = "grpc+rest", - deps = [ - ":secretmanager_php_grpc", - ":secretmanager_php_proto", - ], + deps = [":secretmanager_php_proto"], ) # Open Source Packages @@ -232,7 +216,6 @@ php_gapic_assembly_pkg( name = "google-cloud-secretmanager-v1beta1-php", deps = [ ":secretmanager_php_gapic", - ":secretmanager_php_grpc", ":secretmanager_php_proto", ], ) @@ -304,6 +287,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Secret Manager is a secure and convenient storage system for API keys, passwords, certificates, and other sensitive data. Secret Manager provides a central place and single source of truth to manage, access, and audit secrets across Google Cloud.", ruby_cloud_title = "Secret Manager V1beta1", service_yaml = "//google/cloud/secrets/v1beta1:secretmanager_v1beta1.yaml", + transport = "grpc+rest", deps = [ ":secretmanager_ruby_grpc", ":secretmanager_ruby_proto", diff --git a/third_party/googleapis/google/cloud/security/privateca/BUILD.bazel b/third_party/googleapis/google/cloud/security/privateca/BUILD.bazel index 25f5fe9f6..8ade0b510 100644 --- a/third_party/googleapis/google/cloud/security/privateca/BUILD.bazel +++ b/third_party/googleapis/google/cloud/security/privateca/BUILD.bazel @@ -23,13 +23,14 @@ ruby_cloud_gapic_library( "ruby-cloud-gem-name=google-cloud-security-private_ca", "ruby-cloud-gem-namespace=Google::Cloud::Security::PrivateCA", "ruby-cloud-env-prefix=PRIVATE_CA", - "ruby-cloud-wrapper-of=v1:0.3;v1beta1:0.0", + "ruby-cloud-wrapper-of=v1:0.10;v1beta1:0.8", "ruby-cloud-product-url=https://cloud.google.com/certificate-authority-service/", "ruby-cloud-api-id=privateca.googleapis.com", "ruby-cloud-api-shortname=privateca", ], ruby_cloud_description = "Certificate Authority Service is a highly available, scalable Google Cloud service that enables you to simplify, automate, and customize the deployment, management, and security of private certificate authorities (CA).", ruby_cloud_title = "Certificate Authority Service", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/security/privateca/v1/BUILD.bazel b/third_party/googleapis/google/cloud/security/privateca/v1/BUILD.bazel index 57f09fe82..9c0d45db5 100644 --- a/third_party/googleapis/google/cloud/security/privateca/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/security/privateca/v1/BUILD.bazel @@ -123,7 +123,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -159,19 +158,13 @@ go_gapic_library( ], ) -go_test( - name = "privateca_go_gapic_test", - srcs = [":privateca_go_gapic_srcjar_test"], - embed = [":privateca_go_gapic"], - importpath = "cloud.google.com/go/security/privateca/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-security-privateca-v1-go", deps = [ ":privateca_go_gapic", ":privateca_go_gapic_srcjar-metadata.srcjar", + ":privateca_go_gapic_srcjar-snippets.srcjar", ":privateca_go_gapic_srcjar-test.srcjar", ":privateca_go_proto", ], @@ -227,7 +220,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -236,23 +228,15 @@ php_proto_library( deps = [":privateca_proto"], ) -php_grpc_library( - name = "privateca_php_grpc", - srcs = [":privateca_proto"], - deps = [":privateca_php_proto"], -) - php_gapic_library( name = "privateca_php_gapic", srcs = [":privateca_proto_with_info"], grpc_service_config = "privateca_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "privateca_v1.yaml", transport = "grpc+rest", - deps = [ - ":privateca_php_grpc", - ":privateca_php_proto", - ], + deps = [":privateca_php_proto"], ) # Open Source Packages @@ -260,7 +244,6 @@ php_gapic_assembly_pkg( name = "google-cloud-security-privateca-v1-php", deps = [ ":privateca_php_gapic", - ":privateca_php_grpc", ":privateca_php_proto", ], ) @@ -333,6 +316,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Certificate Authority Service is a highly available, scalable Google Cloud service that enables you to simplify, automate, and customize the deployment, management, and security of private certificate authorities (CA).", ruby_cloud_title = "Ceritificate Authority Service V1", service_yaml = "privateca_v1.yaml", + transport = "grpc+rest", deps = [ ":privateca_ruby_grpc", ":privateca_ruby_proto", diff --git a/third_party/googleapis/google/cloud/security/privateca/v1/resources.proto b/third_party/googleapis/google/cloud/security/privateca/v1/resources.proto index 2e346af28..b64be7bc7 100644 --- a/third_party/googleapis/google/cloud/security/privateca/v1/resources.proto +++ b/third_party/googleapis/google/cloud/security/privateca/v1/resources.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -1431,7 +1431,7 @@ enum SubjectRequestMode { DEFAULT = 1; // A mode reserved for special cases. Indicates that the certificate should - // have one or more SPIFFE + // have one SPIFFE // [SubjectAltNames][google.cloud.security.privateca.v1.SubjectAltNames] set // by the service based on the caller's identity. This mode will ignore any // explicitly specified [Subject][google.cloud.security.privateca.v1.Subject] diff --git a/third_party/googleapis/google/cloud/security/privateca/v1/service.proto b/third_party/googleapis/google/cloud/security/privateca/v1/service.proto index 7ff8b8d24..b90a374d6 100644 --- a/third_party/googleapis/google/cloud/security/privateca/v1/service.proto +++ b/third_party/googleapis/google/cloud/security/privateca/v1/service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -22,6 +22,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/security/privateca/v1/resources.proto"; import "google/longrunning/operations.proto"; +import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; @@ -720,6 +721,12 @@ message DisableCertificateAuthorityRequest { // The request ID must be a valid UUID with the exception that zero UUID is // not supported (00000000-0000-0000-0000-000000000000). string request_id = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. This field allows this CA to be disabled even if it's being + // depended on by another resource. However, doing so may result in unintended + // and unrecoverable effects on any dependent resource(s) since the CA will + // no longer be able to issue certificates. + bool ignore_dependent_resources = 3 [(google.api.field_behavior) = OPTIONAL]; } // Request message for @@ -903,6 +910,12 @@ message DeleteCertificateAuthorityRequest { // soon as possible without a 30-day grace period where undeletion would have // been allowed. If you proceed, there will be no way to recover this CA. bool skip_grace_period = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. This field allows this ca to be deleted even if it's being + // depended on by another resource. However, doing so may result in unintended + // and unrecoverable effects on any dependent resource(s) since the CA will + // no longer be able to issue certificates. + bool ignore_dependent_resources = 6 [(google.api.field_behavior) = OPTIONAL]; } // Request message for @@ -1025,6 +1038,12 @@ message DeleteCaPoolRequest { // The request ID must be a valid UUID with the exception that zero UUID is // not supported (00000000-0000-0000-0000-000000000000). string request_id = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. This field allows this pool to be deleted even if it's being + // depended on by another resource. However, doing so may result in unintended + // and unrecoverable effects on any dependent resource(s) since the pool will + // no longer be able to issue certificates. + bool ignore_dependent_resources = 4 [(google.api.field_behavior) = OPTIONAL]; } // Request message for diff --git a/third_party/googleapis/google/cloud/security/privateca/v1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/security/privateca/v1beta1/BUILD.bazel index 0a6b50820..6ef40f9f9 100644 --- a/third_party/googleapis/google/cloud/security/privateca/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/security/privateca/v1beta1/BUILD.bazel @@ -73,12 +73,14 @@ java_gapic_library( srcs = [":privateca_proto_with_info"], grpc_service_config = "privateca_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "privateca_v1beta1.yaml", test_deps = [ ":privateca_java_grpc", ], transport = "grpc+rest", deps = [ ":privateca_java_proto", + "//google/api:api_java_proto", ], ) @@ -112,7 +114,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -145,18 +146,12 @@ go_gapic_library( ], ) -go_test( - name = "privateca_go_gapic_test", - srcs = [":privateca_go_gapic_srcjar_test"], - embed = [":privateca_go_gapic"], - importpath = "cloud.google.com/go/security/privateca/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-security-privateca-v1beta1-go", deps = [ ":privateca_go_gapic", + ":privateca_go_gapic_srcjar-snippets.srcjar", ":privateca_go_gapic_srcjar-test.srcjar", ":privateca_go_proto", ], @@ -208,7 +203,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -217,12 +211,6 @@ php_proto_library( deps = [":privateca_proto"], ) -php_grpc_library( - name = "privateca_php_grpc", - srcs = [":privateca_proto"], - deps = [":privateca_php_proto"], -) - php_gapic_library( name = "privateca_php_gapic", srcs = [":privateca_proto_with_info"], @@ -230,10 +218,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "privateca_v1beta1.yaml", transport = "grpc+rest", - deps = [ - ":privateca_php_grpc", - ":privateca_php_proto", - ], + deps = [":privateca_php_proto"], ) # Open Source Packages @@ -241,7 +226,6 @@ php_gapic_assembly_pkg( name = "google-cloud-security-privateca-v1beta1-php", deps = [ ":privateca_php_gapic", - ":privateca_php_grpc", ":privateca_php_proto", ], ) @@ -314,6 +298,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Certificate Authority Service is a highly available, scalable Google Cloud service that enables you to simplify, automate, and customize the deployment, management, and security of private certificate authorities (CA).", ruby_cloud_title = "Certificate Authority Service V1beta1", service_yaml = "privateca_v1beta1.yaml", + transport = "grpc+rest", deps = [ ":privateca_ruby_grpc", ":privateca_ruby_proto", diff --git a/third_party/googleapis/google/cloud/security/publicca/BUILD.bazel b/third_party/googleapis/google/cloud/security/publicca/BUILD.bazel index e016441ee..35dbb37e4 100644 --- a/third_party/googleapis/google/cloud/security/publicca/BUILD.bazel +++ b/third_party/googleapis/google/cloud/security/publicca/BUILD.bazel @@ -24,11 +24,12 @@ ruby_cloud_gapic_library( "ruby-cloud-api-shortname=publicca", "ruby-cloud-gem-name=google-cloud-security-public_ca", "ruby-cloud-gem-namespace=Google::Cloud::Security::PublicCA", - "ruby-cloud-wrapper-of=v1beta1:0.0", + "ruby-cloud-wrapper-of=v1beta1:0.5", "ruby-cloud-product-url=https://cloud.google.com/certificate-manager/docs/public-ca/", ], ruby_cloud_description = "Certificate Manager's Public Certificate Authority (CA) functionality allows you to provision and deploy widely trusted X.509 certificates after validating that the certificate requester controls the domains. Certificate Manager lets you directly and programmatically request publicly trusted TLS certificates that are already in the root of trust stores used by major browsers, operating systems, and applications. You can use these TLS certificates to authenticate and encrypt internet traffic.", ruby_cloud_title = "Public Certificate Authority", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/security/publicca/v1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/security/publicca/v1beta1/BUILD.bazel index 1ddc44aed..122a81cf8 100644 --- a/third_party/googleapis/google/cloud/security/publicca/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/security/publicca/v1beta1/BUILD.bazel @@ -110,7 +110,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -138,19 +137,13 @@ go_gapic_library( ], ) -go_test( - name = "publicca_go_gapic_test", - srcs = [":publicca_go_gapic_srcjar_test"], - embed = [":publicca_go_gapic"], - importpath = "cloud.google.com/go/security/publicca/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-security-publicca-v1beta1-go", deps = [ ":publicca_go_gapic", ":publicca_go_gapic_srcjar-metadata.srcjar", + ":publicca_go_gapic_srcjar-snippets.srcjar", ":publicca_go_gapic_srcjar-test.srcjar", ":publicca_go_proto", ], @@ -205,7 +198,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -214,23 +206,15 @@ php_proto_library( deps = [":publicca_proto"], ) -php_grpc_library( - name = "publicca_php_grpc", - srcs = [":publicca_proto"], - deps = [":publicca_php_proto"], -) - php_gapic_library( name = "publicca_php_gapic", srcs = [":publicca_proto_with_info"], grpc_service_config = "publicca_v1beta1_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "publicca_v1beta1.yaml", transport = "grpc+rest", - deps = [ - ":publicca_php_grpc", - ":publicca_php_proto", - ], + deps = [":publicca_php_proto"], ) # Open Source Packages @@ -238,7 +222,6 @@ php_gapic_assembly_pkg( name = "google-cloud-security-publicca-v1beta1-php", deps = [ ":publicca_php_gapic", - ":publicca_php_grpc", ":publicca_php_proto", ], ) @@ -310,6 +293,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Certificate Manager's Public Certificate Authority (CA) functionality allows you to provision and deploy widely trusted X.509 certificates after validating that the certificate requester controls the domains. Certificate Manager lets you directly and programmatically request publicly trusted TLS certificates that are already in the root of trust stores used by major browsers, operating systems, and applications. You can use these TLS certificates to authenticate and encrypt internet traffic.", ruby_cloud_title = "Public Certificate Authority V1beta1", service_yaml = "publicca_v1beta1.yaml", + transport = "grpc+rest", deps = [ ":publicca_ruby_grpc", ":publicca_ruby_proto", diff --git a/third_party/googleapis/google/cloud/security/publicca/v1beta1/resources.proto b/third_party/googleapis/google/cloud/security/publicca/v1beta1/resources.proto index 5b5bff05b..ffe43b1b2 100644 --- a/third_party/googleapis/google/cloud/security/publicca/v1beta1/resources.proto +++ b/third_party/googleapis/google/cloud/security/publicca/v1beta1/resources.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/security/publicca/v1beta1/service.proto b/third_party/googleapis/google/cloud/security/publicca/v1beta1/service.proto index 631a37d46..b9090b08b 100644 --- a/third_party/googleapis/google/cloud/security/publicca/v1beta1/service.proto +++ b/third_party/googleapis/google/cloud/security/publicca/v1beta1/service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/securitycenter/BUILD.bazel b/third_party/googleapis/google/cloud/securitycenter/BUILD.bazel index bc432b3b6..671ed7ad9 100644 --- a/third_party/googleapis/google/cloud/securitycenter/BUILD.bazel +++ b/third_party/googleapis/google/cloud/securitycenter/BUILD.bazel @@ -22,7 +22,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-security_center", "ruby-cloud-env-prefix=SECURITY_CENTER", - "ruby-cloud-wrapper-of=v1:0.0;v1p1beta1:0.0", + "ruby-cloud-wrapper-of=v1:0.34;v1p1beta1:0.13", "ruby-cloud-product-url=https://cloud.google.com/security-command-center", "ruby-cloud-api-id=securitycenter.googleapis.com", "ruby-cloud-api-shortname=securitycenter", @@ -30,6 +30,7 @@ ruby_cloud_gapic_library( ], ruby_cloud_description = "Security Command Center API provides access to temporal views of assets and findings within an organization.", ruby_cloud_title = "Security Command Center", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/securitycenter/settings/v1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/securitycenter/settings/v1beta1/BUILD.bazel index 666a74c10..da36537bd 100644 --- a/third_party/googleapis/google/cloud/securitycenter/settings/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/securitycenter/settings/v1beta1/BUILD.bazel @@ -22,7 +22,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -32,7 +31,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -92,6 +90,7 @@ java_gapic_library( srcs = [":settings_proto_with_info"], grpc_service_config = "securitycenter_settings_grpc_service_config.json", rest_numeric_enums = False, + service_yaml = "securitycenter_settings.yaml", test_deps = [ ":settings_java_grpc", ], @@ -147,18 +146,12 @@ go_gapic_library( ], ) -go_test( - name = "settings_go_gapic_test", - srcs = [":settings_go_gapic_srcjar_test"], - embed = [":settings_go_gapic"], - importpath = "cloud.google.com/go/securitycenter/settings/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-securitycenter-settings-v1beta1-go", deps = [ ":settings_go_gapic", + ":settings_go_gapic_srcjar-snippets.srcjar", ":settings_go_gapic_srcjar-test.srcjar", ":settings_go_proto", ], @@ -196,12 +189,6 @@ php_proto_library( deps = [":settings_proto"], ) -php_grpc_library( - name = "settings_php_grpc", - srcs = [":settings_proto"], - deps = [":settings_php_proto"], -) - php_gapic_library( name = "settings_php_gapic", srcs = [":settings_proto_with_info"], @@ -209,10 +196,7 @@ php_gapic_library( rest_numeric_enums = False, service_yaml = "securitycenter_settings.yaml", transport = "grpc+rest", - deps = [ - ":settings_php_grpc", - ":settings_php_proto", - ], + deps = [":settings_php_proto"], ) # Open Source Packages @@ -220,7 +204,6 @@ php_gapic_assembly_pkg( name = "google-cloud-securitycenter-settings-v1beta1-php", deps = [ ":settings_php_gapic", - ":settings_php_grpc", ":settings_php_proto", ], ) diff --git a/third_party/googleapis/google/cloud/securitycenter/v1/BUILD.bazel b/third_party/googleapis/google/cloud/securitycenter/v1/BUILD.bazel index a03be9e98..80e5eac0e 100644 --- a/third_party/googleapis/google/cloud/securitycenter/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/securitycenter/v1/BUILD.bazel @@ -9,57 +9,30 @@ # * 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"]) + ############################################################################## # Common ############################################################################## load("@rules_proto//proto:defs.bzl", "proto_library") -load( - "@com_google_googleapis_imports//:imports.bzl", - "cc_grpc_library", - "cc_proto_library", - "csharp_gapic_assembly_pkg", - "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", - "go_gapic_assembly_pkg", - "go_gapic_library", - "go_proto_library", - "go_test", - "java_gapic_assembly_gradle_pkg", - "java_gapic_library", - "java_gapic_test", - "java_grpc_library", - "java_proto_library", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", - "php_gapic_assembly_pkg", - "php_gapic_library", - "php_grpc_library", - "php_proto_library", - "proto_library_with_info", - "py_gapic_assembly_pkg", - "py_gapic_library", - "py_test", - "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) +load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") proto_library( name = "securitycenter_proto", srcs = [ "access.proto", + "application.proto", "asset.proto", "bigquery_export.proto", + "cloud_dlp_data_profile.proto", + "cloud_dlp_inspection.proto", "compliance.proto", "connection.proto", "contact_details.proto", "container.proto", "database.proto", + "effective_security_health_analytics_custom_module.proto", "exfiltration.proto", "external_system.proto", "file.proto", @@ -78,6 +51,8 @@ proto_library( "process.proto", "resource.proto", "run_asset_discovery_response.proto", + "security_health_analytics_custom_config.proto", + "security_health_analytics_custom_module.proto", "security_marks.proto", "securitycenter_service.proto", "source.proto", @@ -91,6 +66,8 @@ proto_library( "//google/iam/v1:iam_policy_proto", "//google/iam/v1:policy_proto", "//google/longrunning:operations_proto", + "//google/type:expr_proto", + "//google/rpc:status_proto", "@com_google_protobuf//:duration_proto", "@com_google_protobuf//:empty_proto", "@com_google_protobuf//:field_mask_proto", @@ -107,6 +84,18 @@ proto_library_with_info( ], ) +############################################################################## +# Java +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "java_gapic_assembly_gradle_pkg", + "java_gapic_library", + "java_gapic_test", + "java_grpc_library", + "java_proto_library", +) + java_proto_library( name = "securitycenter_java_proto", deps = [":securitycenter_proto"], @@ -159,6 +148,16 @@ java_gapic_assembly_gradle_pkg( ], ) +############################################################################## +# Go +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "go_gapic_assembly_pkg", + "go_gapic_library", + "go_proto_library", +) + go_proto_library( name = "securitycenter_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], @@ -168,6 +167,8 @@ go_proto_library( "//google/api:annotations_go_proto", "//google/iam/v1:iam_go_proto", "//google/longrunning:longrunning_go_proto", + "//google/type:expr_go_proto", + "//google/rpc:status_go_proto", ], ) @@ -192,24 +193,28 @@ go_gapic_library( ], ) -go_test( - name = "securitycenter_go_gapic_test", - srcs = [":securitycenter_go_gapic_srcjar_test"], - embed = [":securitycenter_go_gapic"], - importpath = "cloud.google.com/go/securitycenter/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-securitycenter-v1-go", deps = [ ":securitycenter_go_gapic", ":securitycenter_go_gapic_srcjar-metadata.srcjar", + ":securitycenter_go_gapic_srcjar-snippets.srcjar", ":securitycenter_go_gapic_srcjar-test.srcjar", ":securitycenter_go_proto", ], ) +############################################################################## +# Python +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "py_gapic_assembly_pkg", + "py_gapic_library", + "py_test", +) + py_gapic_library( name = "securitycenter_py_gapic", srcs = [":securitycenter_proto"], @@ -240,28 +245,30 @@ py_gapic_assembly_pkg( ], ) +############################################################################## +# PHP +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "php_gapic_assembly_pkg", + "php_gapic_library", + "php_proto_library", +) + php_proto_library( name = "securitycenter_php_proto", deps = [":securitycenter_proto"], ) -php_grpc_library( - name = "securitycenter_php_grpc", - srcs = [":securitycenter_proto"], - deps = [":securitycenter_php_proto"], -) - php_gapic_library( name = "securitycenter_php_gapic", srcs = [":securitycenter_proto_with_info"], grpc_service_config = "securitycenter_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "securitycenter_v1.yaml", transport = "grpc+rest", - deps = [ - ":securitycenter_php_grpc", - ":securitycenter_php_proto", - ], + deps = [":securitycenter_php_proto"], ) # Open Source Packages @@ -269,11 +276,19 @@ php_gapic_assembly_pkg( name = "google-cloud-securitycenter-v1-php", deps = [ ":securitycenter_php_gapic", - ":securitycenter_php_grpc", ":securitycenter_php_proto", ], ) +############################################################################## +# Node.js +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "nodejs_gapic_assembly_pkg", + "nodejs_gapic_library", +) + nodejs_gapic_library( name = "securitycenter_nodejs_gapic", package_name = "@google-cloud/security-center", @@ -295,6 +310,17 @@ nodejs_gapic_assembly_pkg( ], ) +############################################################################## +# Ruby +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "ruby_cloud_gapic_library", + "ruby_gapic_assembly_pkg", + "ruby_grpc_library", + "ruby_proto_library", +) + ruby_proto_library( name = "securitycenter_ruby_proto", deps = [":securitycenter_proto"], @@ -321,6 +347,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Security Command Center API provides access to temporal views of assets and findings within an organization.", ruby_cloud_title = "Cloud Security Command Center V1", service_yaml = "securitycenter_v1.yaml", + transport = "grpc+rest", deps = [ ":securitycenter_ruby_grpc", ":securitycenter_ruby_proto", @@ -337,6 +364,17 @@ ruby_gapic_assembly_pkg( ], ) +############################################################################## +# C# +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "csharp_gapic_assembly_pkg", + "csharp_gapic_library", + "csharp_grpc_library", + "csharp_proto_library", +) + csharp_proto_library( name = "securitycenter_csharp_proto", deps = [":securitycenter_proto"], @@ -372,6 +410,15 @@ csharp_gapic_assembly_pkg( ], ) +############################################################################## +# C++ +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "cc_grpc_library", + "cc_proto_library", +) + cc_proto_library( name = "securitycenter_cc_proto", deps = [":securitycenter_proto"], diff --git a/third_party/googleapis/google/cloud/securitycenter/v1/access.proto b/third_party/googleapis/google/cloud/securitycenter/v1/access.proto index b5d9d0d83..b8b0e77f2 100644 --- a/third_party/googleapis/google/cloud/securitycenter/v1/access.proto +++ b/third_party/googleapis/google/cloud/securitycenter/v1/access.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -28,11 +28,11 @@ option ruby_package = "Google::Cloud::SecurityCenter::V1"; message Access { // Associated email, such as "foo@google.com". // - // The email address of the authenticated user (or service account on behalf - // of third party principal) making the request. For third party identity - // callers, the `principal_subject` field is populated instead of this field. - // For privacy reasons, the principal email address is sometimes redacted. - // For more information, see [Caller identities in audit + // The email address of the authenticated user or a service account acting on + // behalf of a third party principal making the request. For third party + // identity callers, the `principal_subject` field is populated instead of + // this field. For privacy reasons, the principal email address is sometimes + // redacted. For more information, see [Caller identities in audit // logs](https://cloud.google.com/logging/docs/audit#user-id). string principal_email = 1; @@ -42,10 +42,13 @@ message Access { // The caller IP's geolocation, which identifies where the call came from. Geolocation caller_ip_geo = 3; - // What kind of user agent is associated, for example operating system shells, - // embedded or stand-alone applications, etc. + // Type of user agent associated with the finding. For example, an operating + // system shell or an embedded or standalone application. string user_agent_family = 4; + // The caller's user agent string associated with the finding. + string user_agent = 12; + // This is the API service that the service account made a call to, e.g. // "iam.googleapis.com" string service_name = 5; @@ -53,37 +56,36 @@ message Access { // The method that the service account called, e.g. "SetIamPolicy". string method_name = 6; - // A string representing the principal_subject associated with the identity. - // As compared to `principal_email`, supports principals that aren't - // associated with email addresses, such as third party principals. For most - // identities, the format will be `principal://iam.googleapis.com/{identity - // pool name}/subjects/{subject}` except for some GKE identities - // (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy - // format `serviceAccount:{identity pool name}[{subject}]` + // A string that represents the principal_subject that is associated with the + // identity. Unlike `principal_email`, `principal_subject` supports principals + // that aren't associated with email addresses, such as third party + // principals. For most identities, the format is + // `principal://iam.googleapis.com/{identity pool name}/subject/{subject}`. + // Some GKE identities, such as GKE_WORKLOAD, FREEFORM, and GKE_HUB_WORKLOAD, + // still use the legacy format `serviceAccount:{identity pool + // name}[{subject}]`. string principal_subject = 7; - // The name of the service account key used to create or exchange - // credentials for authenticating the service account making the request. + // The name of the service account key that was used to create or exchange + // credentials when authenticating the service account that made the request. // This is a scheme-less URI full resource name. For example: // - // "//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}" + // "//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}". // string service_account_key_name = 8; - // Identity delegation history of an authenticated service account that makes - // the request. It contains information on the real authorities that try to - // access GCP resources by delegating on a service account. When multiple - // authorities are present, they are guaranteed to be sorted based on the - // original ordering of the identity delegation events. + // The identity delegation history of an authenticated service account that + // made the request. The `serviceAccountDelegationInfo[]` object contains + // information about the real authorities that try to access Google Cloud + // resources by delegating on a service account. When multiple authorities are + // present, they are guaranteed to be sorted based on the original ordering of + // the identity delegation events. repeated ServiceAccountDelegationInfo service_account_delegation_info = 9; - // A string that represents the username of a user, user account, or other - // entity involved in the access event. What the entity is and what its role - // in the access event is depends on the finding that this field appears in. - // The entity is likely not an IAM principal, but could be a user that is - // logged into an operating system, if the finding is VM-related, or a user - // that is logged into some type of application that is involved in the - // access event. + // A string that represents a username. The username provided depends on the + // type of the finding and is likely not an IAM principal. For example, this + // can be a system username if the finding is related to a virtual machine, or + // it can be an application login username. string user_name = 11; } @@ -106,4 +108,4 @@ message ServiceAccountDelegationInfo { message Geolocation { // A CLDR. string region_code = 1; -} \ No newline at end of file +} diff --git a/third_party/googleapis/google/cloud/securitycenter/v1/asset.proto b/third_party/googleapis/google/cloud/securitycenter/v1/asset.proto index 8bfdbe9fd..01462175a 100644 --- a/third_party/googleapis/google/cloud/securitycenter/v1/asset.proto +++ b/third_party/googleapis/google/cloud/securitycenter/v1/asset.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/securitycenter/v1/bigquery_export.proto b/third_party/googleapis/google/cloud/securitycenter/v1/bigquery_export.proto index 6afd9b4f5..8299f05e4 100644 --- a/third_party/googleapis/google/cloud/securitycenter/v1/bigquery_export.proto +++ b/third_party/googleapis/google/cloud/securitycenter/v1/bigquery_export.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -78,22 +78,24 @@ message BigQueryExport { // (0-9), or underscores (_). string dataset = 4; - // Output only. The time at which the big query export was created. + // Output only. The time at which the BigQuery export was created. // This field is set by the server and will be ignored if provided on export // on creation. - google.protobuf.Timestamp create_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The most recent time at which the big export was updated. + // Output only. The most recent time at which the BigQuery export was updated. // This field is set by the server and will be ignored if provided on export // creation or update. - google.protobuf.Timestamp update_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Email address of the user who last edited the big query export. + // Output only. Email address of the user who last edited the BigQuery export. // This field is set by the server and will be ignored if provided on export // creation or update. string most_recent_editor = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The service account that needs permission to create table, upload data to - // the big query dataset. + // Output only. The service account that needs permission to create table and + // upload data to the BigQuery dataset. string principal = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/cloud/securitycenter/v1/compliance.proto b/third_party/googleapis/google/cloud/securitycenter/v1/compliance.proto index 13edb396b..466808dfa 100644 --- a/third_party/googleapis/google/cloud/securitycenter/v1/compliance.proto +++ b/third_party/googleapis/google/cloud/securitycenter/v1/compliance.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -27,13 +27,13 @@ option ruby_package = "Google::Cloud::SecurityCenter::V1"; // Contains compliance information about a security standard indicating unmet // recommendations. message Compliance { - // Refers to industry wide standards or benchmarks e.g. "cis", "pci", "owasp", - // etc. + // Industry-wide compliance standards or benchmarks, such as CIS, PCI, and + // OWASP. string standard = 1; - // Version of the standard/benchmark e.g. 1.1 + // Version of the standard or benchmark, for example, 1.1 string version = 2; - // Policies within the standard/benchmark e.g. A.12.4.1 + // Policies within the standard or benchmark, for example, A.12.4.1 repeated string ids = 3; } diff --git a/third_party/googleapis/google/cloud/securitycenter/v1/connection.proto b/third_party/googleapis/google/cloud/securitycenter/v1/connection.proto index 6ac9c99e5..43a211567 100644 --- a/third_party/googleapis/google/cloud/securitycenter/v1/connection.proto +++ b/third_party/googleapis/google/cloud/securitycenter/v1/connection.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/securitycenter/v1/contact_details.proto b/third_party/googleapis/google/cloud/securitycenter/v1/contact_details.proto index c0e7c2f76..f2e9bf032 100644 --- a/third_party/googleapis/google/cloud/securitycenter/v1/contact_details.proto +++ b/third_party/googleapis/google/cloud/securitycenter/v1/contact_details.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -24,14 +24,14 @@ option java_package = "com.google.cloud.securitycenter.v1"; option php_namespace = "Google\\Cloud\\SecurityCenter\\V1"; option ruby_package = "Google::Cloud::SecurityCenter::V1"; -// The details pertaining to specific contacts +// Details about specific contacts message ContactDetails { // A list of contacts repeated Contact contacts = 1; } -// Representa a single contact's email address +// The email address of a contact. message Contact { - // An email address e.g. "person123@company.com" + // An email address. For example, "`person123@company.com`". string email = 1; } diff --git a/third_party/googleapis/google/cloud/securitycenter/v1/container.proto b/third_party/googleapis/google/cloud/securitycenter/v1/container.proto index 420356368..dab20aea3 100644 --- a/third_party/googleapis/google/cloud/securitycenter/v1/container.proto +++ b/third_party/googleapis/google/cloud/securitycenter/v1/container.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -28,16 +28,15 @@ option ruby_package = "Google::Cloud::SecurityCenter::V1"; // Container associated with the finding. message Container { - // Container name. + // Name of the container. string name = 1; - // Container image URI provided when configuring a pod/container. - // May identify a container image version using mutable tags. + // Container image URI provided when configuring a pod or container. This + // string can identify a container image version using mutable tags. string uri = 2; - // Optional container image id, when provided by the container runtime. - // Uniquely identifies the container image launched using a container image - // digest. + // Optional container image ID, if provided by the container runtime. Uniquely + // identifies the container image launched using a container image digest. string image_id = 3; // Container labels, as provided by the container runtime. diff --git a/third_party/googleapis/google/cloud/securitycenter/v1/database.proto b/third_party/googleapis/google/cloud/securitycenter/v1/database.proto index 39afb4e01..2e5f51b86 100644 --- a/third_party/googleapis/google/cloud/securitycenter/v1/database.proto +++ b/third_party/googleapis/google/cloud/securitycenter/v1/database.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -24,29 +24,35 @@ option java_package = "com.google.cloud.securitycenter.v1"; option php_namespace = "Google\\Cloud\\SecurityCenter\\V1"; option ruby_package = "Google::Cloud::SecurityCenter::V1"; -// Represents database access information, such as queries. -// A database may be a sub-resource of an instance (as in the case of CloudSQL -// instances or Cloud Spanner instances), or the database instance itself. -// Some database resources may not have the full resource name populated -// because these resource types are not yet supported by Cloud Asset Inventory -// (e.g. CloudSQL databases). In these cases only the display name will be +// Represents database access information, such as queries. A database may be a +// sub-resource of an instance (as in the case of Cloud SQL instances or Cloud +// Spanner instances), or the database instance itself. Some database resources +// might not have the [full resource +// name](https://google.aip.dev/122#full-resource-names) populated because these +// resource types, such as Cloud SQL databases, are not yet supported by Cloud +// Asset Inventory. In these cases only the display name is provided. +// Some database resources may not have the [full resource +// name](https://google.aip.dev/122#full-resource-names) populated because +// these resource types are not yet supported by Cloud Asset Inventory (e.g. +// Cloud SQL databases). In these cases only the display name will be // provided. message Database { - // The full resource name of the database the user connected to, if it is - // supported by CAI. (https://google.aip.dev/122#full-resource-names) + // The [full resource name](https://google.aip.dev/122#full-resource-names) of + // the database that the user connected to, if it is supported by Cloud Asset + // Inventory. string name = 1; - // The human readable name of the database the user connected to. + // The human-readable name of the database that the user connected to. string display_name = 2; - // The username used to connect to the DB. This may not necessarily be an IAM - // principal, and has no required format. + // The username used to connect to the database. The username might not be an + // IAM principal and does not have a set format. string user_name = 3; - // The SQL statement associated with the relevant access. + // The SQL statement that is associated with the database access. string query = 4; - // The target usernames/roles/groups of a SQL privilege grant (not an IAM - // policy change). + // The target usernames, roles, or groups of an SQL privilege grant, which is + // not an IAM policy change. repeated string grantees = 5; } diff --git a/third_party/googleapis/google/cloud/securitycenter/v1/exfiltration.proto b/third_party/googleapis/google/cloud/securitycenter/v1/exfiltration.proto index 02620be69..071c162a6 100644 --- a/third_party/googleapis/google/cloud/securitycenter/v1/exfiltration.proto +++ b/third_party/googleapis/google/cloud/securitycenter/v1/exfiltration.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -24,10 +24,10 @@ option java_package = "com.google.cloud.securitycenter.v1"; option php_namespace = "Google\\Cloud\\SecurityCenter\\V1"; option ruby_package = "Google::Cloud::SecurityCenter::V1"; -// Exfiltration represents a data exfiltration attempt of one or more -// sources to one or more targets. Sources represent the source -// of data that is exfiltrated, and Targets represents the destination the -// data was copied to. +// Exfiltration represents a data exfiltration attempt from one or more sources +// to one or more targets. The `sources` attribute lists the sources of the +// exfiltrated data. The `targets` attribute lists the destinations the data was +// copied to. message Exfiltration { // If there are multiple sources, then the data is considered "joined" between // them. For instance, BigQuery can join multiple tables, and each @@ -39,14 +39,16 @@ message Exfiltration { repeated ExfilResource targets = 2; } -// Resource that has been exfiltrated or exfiltrated_to. +// Resource where data was exfiltrated from or exfiltrated to. message ExfilResource { - // Resource's URI (https://google.aip.dev/122#full-resource-names) + // The resource's [full resource + // name](https://cloud.google.com/apis/design/resource_names#full_resource_name). string name = 1; - // Subcomponents of the asset that is exfiltrated - these could be - // URIs used during exfiltration, table names, databases, filenames, etc. - // For example, multiple tables may be exfiltrated from the same CloudSQL - // instance, or multiple files from the same Cloud Storage bucket. + // Subcomponents of the asset that was exfiltrated, like URIs used during + // exfiltration, table names, databases, and filenames. For example, multiple + // tables might have been exfiltrated from the same Cloud SQL instance, or + // multiple files might have been exfiltrated from the same Cloud Storage + // bucket. repeated string components = 2; } diff --git a/third_party/googleapis/google/cloud/securitycenter/v1/external_system.proto b/third_party/googleapis/google/cloud/securitycenter/v1/external_system.proto index 5dd457247..0e23d6a67 100644 --- a/third_party/googleapis/google/cloud/securitycenter/v1/external_system.proto +++ b/third_party/googleapis/google/cloud/securitycenter/v1/external_system.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/securitycenter/v1/file.proto b/third_party/googleapis/google/cloud/securitycenter/v1/file.proto index 99cfa07ad..618e7b7ea 100644 --- a/third_party/googleapis/google/cloud/securitycenter/v1/file.proto +++ b/third_party/googleapis/google/cloud/securitycenter/v1/file.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -46,7 +46,6 @@ message File { // True when the hash covers only a prefix of the file. bool partially_hashed = 5; - // Prefix of the file contents as a JSON encoded string. - // (Currently only populated for Malicious Script Executed findings.) + // Prefix of the file contents as a JSON-encoded string. string contents = 6; } diff --git a/third_party/googleapis/google/cloud/securitycenter/v1/finding.proto b/third_party/googleapis/google/cloud/securitycenter/v1/finding.proto index ade6cca0a..787a06af8 100644 --- a/third_party/googleapis/google/cloud/securitycenter/v1/finding.proto +++ b/third_party/googleapis/google/cloud/securitycenter/v1/finding.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -19,6 +19,9 @@ package google.cloud.securitycenter.v1; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/securitycenter/v1/access.proto"; +import "google/cloud/securitycenter/v1/application.proto"; +import "google/cloud/securitycenter/v1/cloud_dlp_data_profile.proto"; +import "google/cloud/securitycenter/v1/cloud_dlp_inspection.proto"; import "google/cloud/securitycenter/v1/compliance.proto"; import "google/cloud/securitycenter/v1/connection.proto"; import "google/cloud/securitycenter/v1/contact_details.proto"; @@ -84,7 +87,8 @@ message Finding { // exploitable, and results in the direct ability to execute arbitrary code, // exfiltrate data, and otherwise gain additional access and privileges to // cloud resources and workloads. Examples include publicly accessible - // unprotected user data, public SSH access with weak or no passwords, etc. + // unprotected user data and public SSH access with weak or no + // passwords. // // Threat: // Indicates a threat that is able to access, modify, or delete data or @@ -170,10 +174,12 @@ message Finding { SCC_ERROR = 5; } - // The relative resource name of this finding. See: - // https://cloud.google.com/apis/design/resource_names#relative_resource_name - // Example: - // "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}" + // The [relative resource + // name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) + // of the finding. Example: + // "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", + // "folders/{folder_id}/sources/{source_id}/findings/{finding_id}", + // "projects/{project_id}/sources/{source_id}/findings/{finding_id}". string name = 1; // The relative resource name of the source the finding belongs to. See: @@ -247,48 +253,49 @@ message Finding { // The class of the finding. FindingClass finding_class = 17; - // Represents what's commonly known as an Indicator of compromise (IoC) in + // Represents what's commonly known as an *indicator of compromise* (IoC) in // computer forensics. This is an artifact observed on a network or in an // operating system that, with high confidence, indicates a computer - // intrusion. - // Reference: https://en.wikipedia.org/wiki/Indicator_of_compromise + // intrusion. For more information, see [Indicator of + // compromise](https://en.wikipedia.org/wiki/Indicator_of_compromise). Indicator indicator = 18; - // Represents vulnerability-specific fields like CVE and CVS scores. + // Represents vulnerability-specific fields like CVE and CVSS scores. // CVE stands for Common Vulnerabilities and Exposures // (https://cve.mitre.org/about/) Vulnerability vulnerability = 20; // Output only. The most recent time this finding was muted or unmuted. - google.protobuf.Timestamp mute_update_time = 21 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp mute_update_time = 21 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Third party SIEM/SOAR fields within SCC, contains external system - // information and external system finding fields. - map external_systems = 22 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Third party SIEM/SOAR fields within SCC, contains external + // system information and external system finding fields. + map external_systems = 22 + [(google.api.field_behavior) = OUTPUT_ONLY]; // MITRE ATT&CK tactics and techniques related to this finding. // See: https://attack.mitre.org MitreAttack mitre_attack = 25; - // Access details associated to the Finding, such as more information on the - // caller, which method was accessed, from where, etc. + // Access details associated with the finding, such as more information on the + // caller, which method was accessed, and from where. Access access = 26; // Contains information about the IP connection associated with the finding. repeated Connection connections = 31; - // First known as mute_annotation. Records additional information about the - // mute operation e.g. mute config that muted the finding, user who muted the - // finding, etc. Unlike other attributes of a finding, a finding provider - // shouldn't set the value of mute. + // Records additional information about the mute operation, for example, the + // [mute configuration](/security-command-center/docs/how-to-mute-findings) + // that muted the finding and the user who muted the finding. string mute_initiator = 28; // Represents operating system processes associated with the Finding. repeated Process processes = 30; - // Output only. Map containing the points of contact for the given finding. The key - // represents the type of contact, while the value contains a list of all the - // contacts that pertain. Please refer to: + // Output only. Map containing the points of contact for the given finding. + // The key represents the type of contact, while the value contains a list of + // all the contacts that pertain. Please refer to: // https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories // // { @@ -303,7 +310,8 @@ message Finding { // ] // } // } - map contacts = 33 [(google.api.field_behavior) = OUTPUT_ONLY]; + map contacts = 33 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Contains compliance information for security standards associated to the // finding. @@ -313,20 +321,25 @@ message Finding { // "Event Threat Detection" or "Security Health Analytics". string parent_display_name = 36 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Contains more detail about the finding. + // Contains more details about the finding. string description = 37; - // Represents exfiltration associated with the Finding. + // Represents exfiltrations associated with the finding. Exfiltration exfiltration = 38; - // Represents IAM bindings associated with the Finding. + // Represents IAM bindings associated with the finding. repeated IamBinding iam_bindings = 39; - // Next steps associate to the finding. + // Steps to address the finding. string next_steps = 40; - // Containers associated with the finding. containers provides information - // for both Kubernetes and non-Kubernetes containers. + // Unique identifier of the module which generated the finding. + // Example: + // folders/598186756061/securityHealthAnalyticsSettings/customModules/56799441161885 + string module_name = 41; + + // Containers associated with the finding. This field provides information for + // both Kubernetes and non-Kubernetes containers. repeated Container containers = 42; // Kubernetes resources associated with the finding. @@ -338,6 +351,16 @@ message Finding { // File associated with the finding. repeated File files = 46; - // Kernel Rootkit signature. + // Cloud Data Loss Prevention (Cloud DLP) inspection results that are + // associated with the finding. + CloudDlpInspection cloud_dlp_inspection = 48; + + // Cloud DLP data profile that is associated with the finding. + CloudDlpDataProfile cloud_dlp_data_profile = 49; + + // Signature of the kernel rootkit. KernelRootkit kernel_rootkit = 50; + + // Represents an application associated with the finding. + Application application = 53; } diff --git a/third_party/googleapis/google/cloud/securitycenter/v1/folder.proto b/third_party/googleapis/google/cloud/securitycenter/v1/folder.proto index 2a1291daa..e80915423 100644 --- a/third_party/googleapis/google/cloud/securitycenter/v1/folder.proto +++ b/third_party/googleapis/google/cloud/securitycenter/v1/folder.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/securitycenter/v1/iam_binding.proto b/third_party/googleapis/google/cloud/securitycenter/v1/iam_binding.proto index 9d68642df..3aee0bc5f 100644 --- a/third_party/googleapis/google/cloud/securitycenter/v1/iam_binding.proto +++ b/third_party/googleapis/google/cloud/securitycenter/v1/iam_binding.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -46,7 +46,7 @@ message IamBinding { // For example, "roles/viewer", "roles/editor", or "roles/owner". string role = 2; - // A single identity requesting access for a Cloud Platform resource, - // e.g. "foo@google.com". + // A single identity requesting access for a Cloud Platform resource, for + // example, "foo@google.com". string member = 3; } diff --git a/third_party/googleapis/google/cloud/securitycenter/v1/indicator.proto b/third_party/googleapis/google/cloud/securitycenter/v1/indicator.proto index 567bc384d..f36e8b487 100644 --- a/third_party/googleapis/google/cloud/securitycenter/v1/indicator.proto +++ b/third_party/googleapis/google/cloud/securitycenter/v1/indicator.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -24,10 +24,11 @@ option java_package = "com.google.cloud.securitycenter.v1"; option php_namespace = "Google\\Cloud\\SecurityCenter\\V1"; option ruby_package = "Google::Cloud::SecurityCenter::V1"; -// Represents what's commonly known as an Indicator of compromise (IoC) in +// Represents what's commonly known as an _indicator of compromise_ (IoC) in // computer forensics. This is an artifact observed on a network or in an // operating system that, with high confidence, indicates a computer intrusion. -// Reference: https://en.wikipedia.org/wiki/Indicator_of_compromise +// For more information, see [Indicator of +// compromise](https://en.wikipedia.org/wiki/Indicator_of_compromise). message Indicator { // Indicates what signature matched this process. message ProcessSignature { @@ -67,7 +68,7 @@ message Indicator { } } - // List of ip addresses associated to the Finding. + // The list of IP addresses that are associated with the finding. repeated string ip_addresses = 1; // List of domains associated to the Finding. diff --git a/third_party/googleapis/google/cloud/securitycenter/v1/kernel_rootkit.proto b/third_party/googleapis/google/cloud/securitycenter/v1/kernel_rootkit.proto index f2178ad55..ee516db4a 100644 --- a/third_party/googleapis/google/cloud/securitycenter/v1/kernel_rootkit.proto +++ b/third_party/googleapis/google/cloud/securitycenter/v1/kernel_rootkit.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -26,7 +26,7 @@ option ruby_package = "Google::Cloud::SecurityCenter::V1"; // Kernel mode rootkit signatures. message KernelRootkit { - // Rootkit name when available. + // Rootkit name, when available. string name = 1; // True if unexpected modifications of kernel code memory are present. diff --git a/third_party/googleapis/google/cloud/securitycenter/v1/kubernetes.proto b/third_party/googleapis/google/cloud/securitycenter/v1/kubernetes.proto index dfe24c04f..fc79be79b 100644 --- a/third_party/googleapis/google/cloud/securitycenter/v1/kubernetes.proto +++ b/third_party/googleapis/google/cloud/securitycenter/v1/kubernetes.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -27,9 +27,9 @@ option java_package = "com.google.cloud.securitycenter.v1"; option php_namespace = "Google\\Cloud\\SecurityCenter\\V1"; option ruby_package = "Google::Cloud::SecurityCenter::V1"; -// Kubernetes related attributes. +// Kubernetes-related attributes. message Kubernetes { - // Kubernetes Pod. + // A Kubernetes Pod. message Pod { // Kubernetes Pod namespace. string ns = 1; @@ -45,16 +45,16 @@ message Kubernetes { repeated Container containers = 4; } - // Kubernetes Nodes associated with the finding. + // Kubernetes nodes associated with the finding. message Node { - // Full Resource name of the Compute Engine VM running the - // cluster node. + // [Full resource name](https://google.aip.dev/122#full-resource-names) of + // the Compute Engine VM running the cluster node. string name = 1; } - // Provides GKE Node Pool information. + // Provides GKE node pool information. message NodePool { - // Kubernetes Node pool name. + // Kubernetes node pool name. string name = 1; // Nodes associated with the finding. @@ -87,23 +87,23 @@ message Kubernetes { // Represents a Kubernetes RoleBinding or ClusterRoleBinding. message Binding { - // Namespace for binding. + // Namespace for the binding. string ns = 1; - // Name for binding. + // Name for the binding. string name = 2; // The Role or ClusterRole referenced by the binding. Role role = 3; - // Represents the subjects(s) bound to the role. Not always available - // for PATCH requests. + // Represents one or more subjects that are bound to the role. Not always + // available for PATCH requests. repeated Subject subjects = 4; } - // Represents a Kubernetes Subject. + // Represents a Kubernetes subject. message Subject { - // Auth types that can be used for Subject's kind field. + // Auth types that can be used for the subject's kind field. enum AuthType { // Authentication is not specified. AUTH_TYPE_UNSPECIFIED = 0; @@ -111,27 +111,29 @@ message Kubernetes { // User with valid certificate. USER = 1; - // Users managed by Kubernetes API with credentials stored as Secrets. + // Users managed by Kubernetes API with credentials stored as secrets. SERVICEACCOUNT = 2; // Collection of users. GROUP = 3; } - // Authentication type for subject. + // Authentication type for the subject. AuthType kind = 1; - // Namespace for subject. + // Namespace for the subject. string ns = 2; - // Name for subject. + // Name for the subject. string name = 3; } - // Conveys information about a Kubernetes access review (e.g. kubectl auth - // can-i ...) that was involved in a finding. + // Conveys information about a Kubernetes access review (such as one returned + // by a [`kubectl auth + // can-i`](https://kubernetes.io/docs/reference/access-authn-authz/authorization/#checking-api-access) + // command) that was involved in a finding. message AccessReview { - // Group is the API Group of the Resource. "*" means all. + // The API group of the resource. "*" means all. string group = 1; // Namespace of the action being requested. Currently, there is no @@ -139,43 +141,50 @@ message Kubernetes { // are represented by "" (empty). string ns = 2; - // Name is the name of the resource being requested. Empty means all. + // The name of the resource being requested. Empty means all. string name = 3; - // Resource is the optional resource type requested. "*" means all. + // The optional resource type requested. "*" means all. string resource = 4; - // Subresource is the optional subresource type. + // The optional subresource type. string subresource = 5; - // Verb is a Kubernetes resource API verb, like: get, list, watch, create, - // update, delete, proxy. "*" means all. + // A Kubernetes resource API verb, like get, list, watch, create, update, + // delete, proxy. "*" means all. string verb = 6; - // Version is the API Version of the Resource. "*" means all. + // The API version of the resource. "*" means all. string version = 7; } - // Kubernetes Pods associated with the finding. This field will contain Pod - // records for each container that is owned by a Pod. + // Kubernetes + // [Pods](https://cloud.google.com/kubernetes-engine/docs/concepts/pod) + // associated with the finding. This field contains Pod records for each + // container that is owned by a Pod. repeated Pod pods = 1; - // Provides Kubernetes Node information. + // Provides Kubernetes + // [node](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture#nodes) + // information. repeated Node nodes = 2; - // GKE Node Pools associated with the finding. This field will - // contain NodePool information for each Node, when it is available. + // GKE [node + // pools](https://cloud.google.com/kubernetes-engine/docs/concepts/node-pools) + // associated with the finding. This field contains node pool information for + // each node, when it is available. repeated NodePool node_pools = 3; - // Provides Kubernetes role information for findings that involve - // Roles or ClusterRoles. + // Provides Kubernetes role information for findings that involve [Roles or + // ClusterRoles](https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control). repeated Role roles = 4; // Provides Kubernetes role binding information for findings that involve - // RoleBindings or ClusterRoleBindings. + // [RoleBindings or + // ClusterRoleBindings](https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control). repeated Binding bindings = 5; - // Provides information on any Kubernetes access reviews (i.e. privilege - // checks) relevant to the finding. + // Provides information on any Kubernetes access reviews (privilege checks) + // relevant to the finding. repeated AccessReview access_reviews = 6; } diff --git a/third_party/googleapis/google/cloud/securitycenter/v1/label.proto b/third_party/googleapis/google/cloud/securitycenter/v1/label.proto index cc554342e..3a256e568 100644 --- a/third_party/googleapis/google/cloud/securitycenter/v1/label.proto +++ b/third_party/googleapis/google/cloud/securitycenter/v1/label.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -24,12 +24,14 @@ option java_package = "com.google.cloud.securitycenter.v1"; option php_namespace = "Google\\Cloud\\SecurityCenter\\V1"; option ruby_package = "Google::Cloud::SecurityCenter::V1"; -// Label represents a generic name=value label. Label has separate name and -// value fields to support filtering with contains(). +// Represents a generic name-value label. A label has separate name and value +// fields to support filtering with the `contains()` function. For more +// information, see [Filtering on array-type +// fields](https://cloud.google.com/security-command-center/docs/how-to-api-list-findings#array-contains-filtering). message Label { - // Label name. + // Name of the label. string name = 1; - // Label value. + // Value that corresponds to the label's name. string value = 2; } diff --git a/third_party/googleapis/google/cloud/securitycenter/v1/mitre_attack.proto b/third_party/googleapis/google/cloud/securitycenter/v1/mitre_attack.proto index 708b10390..79425d2c6 100644 --- a/third_party/googleapis/google/cloud/securitycenter/v1/mitre_attack.proto +++ b/third_party/googleapis/google/cloud/securitycenter/v1/mitre_attack.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/securitycenter/v1/mute_config.proto b/third_party/googleapis/google/cloud/securitycenter/v1/mute_config.proto index 20d2cb059..d2a8db684 100644 --- a/third_party/googleapis/google/cloud/securitycenter/v1/mute_config.proto +++ b/third_party/googleapis/google/cloud/securitycenter/v1/mute_config.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -50,11 +50,11 @@ message MuteConfig { // A description of the mute config. string description = 3; - // Required. An expression that defines the filter to apply across create/update events - // of findings. While creating a filter string, be mindful of the - // scope in which the mute configuration is being created. E.g., If a filter - // contains project = X but is created under the project = Y scope, it might - // not match any findings. + // Required. An expression that defines the filter to apply across + // create/update events of findings. While creating a filter string, be + // mindful of the scope in which the mute configuration is being created. + // E.g., If a filter contains project = X but is created under the project = Y + // scope, it might not match any findings. // // The following field and operator combinations are supported: // @@ -75,12 +75,14 @@ message MuteConfig { // Output only. The time at which the mute config was created. // This field is set by the server and will be ignored if provided on config // creation. - google.protobuf.Timestamp create_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The most recent time at which the mute config was updated. // This field is set by the server and will be ignored if provided on config // creation or update. - google.protobuf.Timestamp update_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Email address of the user who last edited the mute config. // This field is set by the server and will be ignored if provided on config diff --git a/third_party/googleapis/google/cloud/securitycenter/v1/notification_config.proto b/third_party/googleapis/google/cloud/securitycenter/v1/notification_config.proto index 1bce1cfe7..de2a88b6b 100644 --- a/third_party/googleapis/google/cloud/securitycenter/v1/notification_config.proto +++ b/third_party/googleapis/google/cloud/securitycenter/v1/notification_config.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -83,9 +83,9 @@ message NotificationConfig { // The Pub/Sub topic to send notifications to. Its format is // "projects/[project_id]/topics/[topic]". - string pubsub_topic = 3 [(google.api.resource_reference) = { - type: "pubsub.googleapis.com/Topic" - }]; + string pubsub_topic = 3 [ + (google.api.resource_reference) = { type: "pubsub.googleapis.com/Topic" } + ]; // Output only. The service account that needs "pubsub.topics.publish" // permission to publish to the Pub/Sub topic. diff --git a/third_party/googleapis/google/cloud/securitycenter/v1/notification_message.proto b/third_party/googleapis/google/cloud/securitycenter/v1/notification_message.proto index 80f98ea2d..59841d92e 100644 --- a/third_party/googleapis/google/cloud/securitycenter/v1/notification_message.proto +++ b/third_party/googleapis/google/cloud/securitycenter/v1/notification_message.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/securitycenter/v1/organization_settings.proto b/third_party/googleapis/google/cloud/securitycenter/v1/organization_settings.proto index 460ee701f..eaf8dbc9c 100644 --- a/third_party/googleapis/google/cloud/securitycenter/v1/organization_settings.proto +++ b/third_party/googleapis/google/cloud/securitycenter/v1/organization_settings.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -75,9 +75,9 @@ message OrganizationSettings { string name = 1; // A flag that indicates if Asset Discovery should be enabled. If the flag is - // set to `true`, then discovery of assets will occur. If it is set to `false, - // all historical assets will remain, but discovery of future assets will not - // occur. + // set to `true`, then discovery of assets will occur. If it is set to + // `false`, all historical assets will remain, but discovery of future assets + // will not occur. bool enable_asset_discovery = 2; // The configuration used for Asset Discovery runs. diff --git a/third_party/googleapis/google/cloud/securitycenter/v1/process.proto b/third_party/googleapis/google/cloud/securitycenter/v1/process.proto index c885f48ec..5f960cc64 100644 --- a/third_party/googleapis/google/cloud/securitycenter/v1/process.proto +++ b/third_party/googleapis/google/cloud/securitycenter/v1/process.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -28,8 +28,9 @@ option ruby_package = "Google::Cloud::SecurityCenter::V1"; // Represents an operating system process. message Process { - // The process name visible in utilities like `top` and `ps`; it can - // be accessed via `/proc/[pid]/comm` and changed with `prctl(PR_SET_NAME)`. + // The process name, as displayed in utilities like `top` and `ps`. This name + // can be accessed through `/proc/[pid]/comm` and changed with + // `prctl(PR_SET_NAME)`. string name = 12; // File information for the process executable. @@ -38,10 +39,9 @@ message Process { // File information for libraries loaded by the process. repeated File libraries = 4; - // When the process represents the invocation of a script, - // `binary` provides information about the interpreter while `script` - // provides information about the script file provided to the - // interpreter. + // When the process represents the invocation of a script, `binary` provides + // information about the interpreter, while `script` provides information + // about the script file provided to the interpreter. File script = 5; // Process arguments as JSON encoded strings. @@ -56,15 +56,15 @@ message Process { // True if `env_variables` is incomplete. bool env_variables_truncated = 9; - // The process id. + // The process ID. int64 pid = 10; - // The parent process id. + // The parent process ID. int64 parent_pid = 11; } -// EnvironmentVariable is a name-value pair to store environment variables for -// Process. +// A name-value pair representing an environment variable used in an operating +// system process. message EnvironmentVariable { // Environment variable name as a JSON encoded string. string name = 1; diff --git a/third_party/googleapis/google/cloud/securitycenter/v1/resource.proto b/third_party/googleapis/google/cloud/securitycenter/v1/resource.proto index 3adcda1fc..626974ea9 100644 --- a/third_party/googleapis/google/cloud/securitycenter/v1/resource.proto +++ b/third_party/googleapis/google/cloud/securitycenter/v1/resource.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -51,8 +51,8 @@ message Resource { // The human readable name of resource's parent. string parent_display_name = 5; - // Output only. Contains a Folder message for each folder in the assets ancestry. - // The first folder is the deepest nested folder, and the last folder is the - // folder directly under the Organization. + // Output only. Contains a Folder message for each folder in the assets + // ancestry. The first folder is the deepest nested folder, and the last + // folder is the folder directly under the Organization. repeated Folder folders = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/cloud/securitycenter/v1/run_asset_discovery_response.proto b/third_party/googleapis/google/cloud/securitycenter/v1/run_asset_discovery_response.proto index c2861883f..f331fb9ec 100644 --- a/third_party/googleapis/google/cloud/securitycenter/v1/run_asset_discovery_response.proto +++ b/third_party/googleapis/google/cloud/securitycenter/v1/run_asset_discovery_response.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/securitycenter/v1/security_marks.proto b/third_party/googleapis/google/cloud/securitycenter/v1/security_marks.proto index c0118899b..74c641dea 100644 --- a/third_party/googleapis/google/cloud/securitycenter/v1/security_marks.proto +++ b/third_party/googleapis/google/cloud/securitycenter/v1/security_marks.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/securitycenter/v1/securitycenter_grpc_service_config.json b/third_party/googleapis/google/cloud/securitycenter/v1/securitycenter_grpc_service_config.json index 10775c387..bd54123ad 100755 --- a/third_party/googleapis/google/cloud/securitycenter/v1/securitycenter_grpc_service_config.json +++ b/third_party/googleapis/google/cloud/securitycenter/v1/securitycenter_grpc_service_config.json @@ -14,10 +14,18 @@ "service": "google.cloud.securitycenter.v1.SecurityCenter", "method": "CreateNotificationConfig" }, + { + "service": "google.cloud.securitycenter.v1.SecurityCenter", + "method": "CreateSecurityHealthAnalyticsCustomModule" + }, { "service": "google.cloud.securitycenter.v1.SecurityCenter", "method": "DeleteNotificationConfig" }, + { + "service": "google.cloud.securitycenter.v1.SecurityCenter", + "method": "DeleteSecurityHealthAnalyticsCustomModule" + }, { "service": "google.cloud.securitycenter.v1.SecurityCenter", "method": "RunAssetDiscovery" @@ -42,6 +50,10 @@ "service": "google.cloud.securitycenter.v1.SecurityCenter", "method": "UpdateOrganizationSettings" }, + { + "service": "google.cloud.securitycenter.v1.SecurityCenter", + "method": "UpdateSecurityHealthAnalyticsCustomModule" + }, { "service": "google.cloud.securitycenter.v1.SecurityCenter", "method": "UpdateSource" @@ -51,6 +63,10 @@ }, { "name": [ + { + "service": "google.cloud.securitycenter.v1.SecurityCenter", + "method": "GetEffectiveSecurityHealthAnalyticsCustomModule" + }, { "service": "google.cloud.securitycenter.v1.SecurityCenter", "method": "GetIamPolicy" @@ -63,14 +79,30 @@ "service": "google.cloud.securitycenter.v1.SecurityCenter", "method": "GetOrganizationSettings" }, + { + "service": "google.cloud.securitycenter.v1.SecurityCenter", + "method": "GetSecurityHealthAnalyticsCustomModule" + }, { "service": "google.cloud.securitycenter.v1.SecurityCenter", "method": "GetSource" }, + { + "service": "google.cloud.securitycenter.v1.SecurityCenter", + "method": "ListDescendantSecurityHealthAnalyticsCustomModules" + }, + { + "service": "google.cloud.securitycenter.v1.SecurityCenter", + "method": "ListEffectiveSecurityHealthAnalyticsCustomModules" + }, { "service": "google.cloud.securitycenter.v1.SecurityCenter", "method": "ListNotificationConfigs" }, + { + "service": "google.cloud.securitycenter.v1.SecurityCenter", + "method": "ListSecurityHealthAnalyticsCustomModules" + }, { "service": "google.cloud.securitycenter.v1.SecurityCenter", "method": "ListSources" @@ -78,6 +110,10 @@ { "service": "google.cloud.securitycenter.v1.SecurityCenter", "method": "TestIamPermissions" + }, + { + "service": "google.cloud.securitycenter.v1.SecurityCenter", + "method": "TestSecurityHealthAnalyticsCustomModule" } ], "timeout": "60s", diff --git a/third_party/googleapis/google/cloud/securitycenter/v1/securitycenter_service.proto b/third_party/googleapis/google/cloud/securitycenter/v1/securitycenter_service.proto index 94aef2df2..11ae0a281 100644 --- a/third_party/googleapis/google/cloud/securitycenter/v1/securitycenter_service.proto +++ b/third_party/googleapis/google/cloud/securitycenter/v1/securitycenter_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,20 +16,22 @@ syntax = "proto3"; package google.cloud.securitycenter.v1; -import public "google/cloud/securitycenter/v1/run_asset_discovery_response.proto"; - import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/securitycenter/v1/asset.proto"; import "google/cloud/securitycenter/v1/bigquery_export.proto"; +import "google/cloud/securitycenter/v1/effective_security_health_analytics_custom_module.proto"; import "google/cloud/securitycenter/v1/external_system.proto"; import "google/cloud/securitycenter/v1/finding.proto"; import "google/cloud/securitycenter/v1/folder.proto"; import "google/cloud/securitycenter/v1/mute_config.proto"; import "google/cloud/securitycenter/v1/notification_config.proto"; import "google/cloud/securitycenter/v1/organization_settings.proto"; +import "google/cloud/securitycenter/v1/run_asset_discovery_response.proto"; +import "google/cloud/securitycenter/v1/security_health_analytics_custom_config.proto"; +import "google/cloud/securitycenter/v1/security_health_analytics_custom_module.proto"; import "google/cloud/securitycenter/v1/security_marks.proto"; import "google/cloud/securitycenter/v1/source.proto"; import "google/iam/v1/iam_policy.proto"; @@ -40,6 +42,7 @@ import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; +import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.SecurityCenter.V1"; option go_package = "cloud.google.com/go/securitycenter/apiv1/securitycenterpb;securitycenterpb"; @@ -78,6 +81,29 @@ service SecurityCenter { }; } + // Creates a resident SecurityHealthAnalyticsCustomModule at the scope of the + // given CRM parent, and also creates inherited + // SecurityHealthAnalyticsCustomModules for all CRM descendants of the given + // parent. These modules are enabled by default. + rpc CreateSecurityHealthAnalyticsCustomModule( + CreateSecurityHealthAnalyticsCustomModuleRequest) + returns (SecurityHealthAnalyticsCustomModule) { + option (google.api.http) = { + post: "/v1/{parent=organizations/*/securityHealthAnalyticsSettings}/customModules" + body: "security_health_analytics_custom_module" + additional_bindings { + post: "/v1/{parent=folders/*/securityHealthAnalyticsSettings}/customModules" + body: "security_health_analytics_custom_module" + } + additional_bindings { + post: "/v1/{parent=projects/*/securityHealthAnalyticsSettings}/customModules" + body: "security_health_analytics_custom_module" + } + }; + option (google.api.method_signature) = + "parent,security_health_analytics_custom_module"; + } + // Creates a source. rpc CreateSource(CreateSourceRequest) returns (Source) { option (google.api.http) = { @@ -161,6 +187,24 @@ service SecurityCenter { option (google.api.method_signature) = "name"; } + // Deletes the specified SecurityHealthAnalyticsCustomModule and all of its + // descendants in the CRM hierarchy. This method is only supported for + // resident custom modules. + rpc DeleteSecurityHealthAnalyticsCustomModule( + DeleteSecurityHealthAnalyticsCustomModuleRequest) + returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1/{name=organizations/*/securityHealthAnalyticsSettings/customModules/*}" + additional_bindings { + delete: "/v1/{name=folders/*/securityHealthAnalyticsSettings/customModules/*}" + } + additional_bindings { + delete: "/v1/{name=projects/*/securityHealthAnalyticsSettings/customModules/*}" + } + }; + option (google.api.method_signature) = "name"; + } + // Gets a BigQuery export. rpc GetBigQueryExport(GetBigQueryExportRequest) returns (BigQueryExport) { option (google.api.http) = { @@ -211,6 +255,38 @@ service SecurityCenter { option (google.api.method_signature) = "name"; } + // Retrieves an EffectiveSecurityHealthAnalyticsCustomModule. + rpc GetEffectiveSecurityHealthAnalyticsCustomModule( + GetEffectiveSecurityHealthAnalyticsCustomModuleRequest) + returns (EffectiveSecurityHealthAnalyticsCustomModule) { + option (google.api.http) = { + get: "/v1/{name=organizations/*/securityHealthAnalyticsSettings/effectiveCustomModules/*}" + additional_bindings { + get: "/v1/{name=folders/*/securityHealthAnalyticsSettings/effectiveCustomModules/*}" + } + additional_bindings { + get: "/v1/{name=projects/*/securityHealthAnalyticsSettings/effectiveCustomModules/*}" + } + }; + option (google.api.method_signature) = "name"; + } + + // Retrieves a SecurityHealthAnalyticsCustomModule. + rpc GetSecurityHealthAnalyticsCustomModule( + GetSecurityHealthAnalyticsCustomModuleRequest) + returns (SecurityHealthAnalyticsCustomModule) { + option (google.api.http) = { + get: "/v1/{name=organizations/*/securityHealthAnalyticsSettings/customModules/*}" + additional_bindings { + get: "/v1/{name=folders/*/securityHealthAnalyticsSettings/customModules/*}" + } + additional_bindings { + get: "/v1/{name=projects/*/securityHealthAnalyticsSettings/customModules/*}" + } + }; + option (google.api.method_signature) = "name"; + } + // Gets a source. rpc GetSource(GetSourceRequest) returns (Source) { option (google.api.http) = { @@ -222,6 +298,7 @@ service SecurityCenter { // Filters an organization's assets and groups them by their specified // properties. rpc GroupAssets(GroupAssetsRequest) returns (GroupAssetsResponse) { + option deprecated = true; option (google.api.http) = { post: "/v1/{parent=organizations/*}/assets:group" body: "*" @@ -261,6 +338,7 @@ service SecurityCenter { // Lists an organization's assets. rpc ListAssets(ListAssetsRequest) returns (ListAssetsResponse) { + option deprecated = true; option (google.api.http) = { get: "/v1/{parent=organizations/*}/assets" additional_bindings { get: "/v1/{parent=folders/*}/assets" } @@ -268,6 +346,23 @@ service SecurityCenter { }; } + // Returns a list of all resident SecurityHealthAnalyticsCustomModules under + // the given CRM parent and all of the parent’s CRM descendants. + rpc ListDescendantSecurityHealthAnalyticsCustomModules( + ListDescendantSecurityHealthAnalyticsCustomModulesRequest) + returns (ListDescendantSecurityHealthAnalyticsCustomModulesResponse) { + option (google.api.http) = { + get: "/v1/{parent=organizations/*/securityHealthAnalyticsSettings}/customModules:listDescendant" + additional_bindings { + get: "/v1/{parent=folders/*/securityHealthAnalyticsSettings}/customModules:listDescendant" + } + additional_bindings { + get: "/v1/{parent=projects/*/securityHealthAnalyticsSettings}/customModules:listDescendant" + } + }; + option (google.api.method_signature) = "parent"; + } + // Lists an organization or source's findings. // // To list across all sources provide a `-` as the source id. @@ -302,6 +397,42 @@ service SecurityCenter { option (google.api.method_signature) = "parent"; } + // Returns a list of all EffectiveSecurityHealthAnalyticsCustomModules for the + // given parent. This includes resident modules defined at the scope of the + // parent, and inherited modules, inherited from CRM ancestors. + rpc ListEffectiveSecurityHealthAnalyticsCustomModules( + ListEffectiveSecurityHealthAnalyticsCustomModulesRequest) + returns (ListEffectiveSecurityHealthAnalyticsCustomModulesResponse) { + option (google.api.http) = { + get: "/v1/{parent=organizations/*/securityHealthAnalyticsSettings}/effectiveCustomModules" + additional_bindings { + get: "/v1/{parent=folders/*/securityHealthAnalyticsSettings}/effectiveCustomModules" + } + additional_bindings { + get: "/v1/{parent=projects/*/securityHealthAnalyticsSettings}/effectiveCustomModules" + } + }; + option (google.api.method_signature) = "parent"; + } + + // Returns a list of all SecurityHealthAnalyticsCustomModules for the given + // parent. This includes resident modules defined at the scope of the parent, + // and inherited modules, inherited from CRM ancestors. + rpc ListSecurityHealthAnalyticsCustomModules( + ListSecurityHealthAnalyticsCustomModulesRequest) + returns (ListSecurityHealthAnalyticsCustomModulesResponse) { + option (google.api.http) = { + get: "/v1/{parent=organizations/*/securityHealthAnalyticsSettings}/customModules" + additional_bindings { + get: "/v1/{parent=folders/*/securityHealthAnalyticsSettings}/customModules" + } + additional_bindings { + get: "/v1/{parent=projects/*/securityHealthAnalyticsSettings}/customModules" + } + }; + option (google.api.method_signature) = "parent"; + } + // Lists all sources belonging to an organization. rpc ListSources(ListSourcesRequest) returns (ListSourcesResponse) { option (google.api.http) = { @@ -320,6 +451,7 @@ service SecurityCenter { // error. rpc RunAssetDiscovery(RunAssetDiscoveryRequest) returns (google.longrunning.Operation) { + option deprecated = true; option (google.api.http) = { post: "/v1/{parent=organizations/*}/assets:runDiscovery" body: "*" @@ -385,6 +517,25 @@ service SecurityCenter { option (google.api.method_signature) = "resource,permissions"; } + // Simulates a given SecurityHealthAnalyticsCustomModule and Resource. + rpc SimulateSecurityHealthAnalyticsCustomModule( + SimulateSecurityHealthAnalyticsCustomModuleRequest) + returns (SimulateSecurityHealthAnalyticsCustomModuleResponse) { + option (google.api.http) = { + post: "/v1/{parent=organizations/*/securityHealthAnalyticsSettings}/customModules:simulate" + body: "*" + additional_bindings { + post: "/v1/{parent=folders/*/securityHealthAnalyticsSettings}/customModules:simulate" + body: "*" + } + additional_bindings { + post: "/v1/{parent=projects/*/securityHealthAnalyticsSettings}/customModules:simulate" + body: "*" + } + }; + option (google.api.method_signature) = "parent,custom_config,resource"; + } + // Updates external system. This is for a given finding. rpc UpdateExternalSystem(UpdateExternalSystemRequest) returns (ExternalSystem) { @@ -469,6 +620,30 @@ service SecurityCenter { option (google.api.method_signature) = "organization_settings"; } + // Updates the SecurityHealthAnalyticsCustomModule under the given name based + // on the given update mask. Updating the enablement state is supported on + // both resident and inherited modules (though resident modules cannot have an + // enablement state of "inherited"). Updating the display name and custom + // config of a module is supported on resident modules only. + rpc UpdateSecurityHealthAnalyticsCustomModule( + UpdateSecurityHealthAnalyticsCustomModuleRequest) + returns (SecurityHealthAnalyticsCustomModule) { + option (google.api.http) = { + patch: "/v1/{security_health_analytics_custom_module.name=organizations/*/securityHealthAnalyticsSettings/customModules/*}" + body: "security_health_analytics_custom_module" + additional_bindings { + patch: "/v1/{security_health_analytics_custom_module.name=folders/*/securityHealthAnalyticsSettings/customModules/*}" + body: "security_health_analytics_custom_module" + } + additional_bindings { + patch: "/v1/{security_health_analytics_custom_module.name=projects/*/securityHealthAnalyticsSettings/customModules/*}" + body: "security_health_analytics_custom_module" + } + }; + option (google.api.method_signature) = + "security_health_analytics_custom_module,update_mask"; + } + // Updates a source. rpc UpdateSource(UpdateSourceRequest) returns (Source) { option (google.api.http) = { @@ -653,9 +828,9 @@ message CreateMuteConfigRequest { MuteConfig mute_config = 2 [(google.api.field_behavior) = REQUIRED]; // Required. Unique identifier provided by the client within the parent scope. - // It must consist of lower case letters, numbers, and hyphen, with the first - // character a letter, the last a letter or a number, and a 63 character - // maximum. + // It must consist of only lowercase letters, numbers, and hyphens, must start + // with a letter, must end with either a letter or a number, and must be 63 + // characters or less. string mute_config_id = 3 [(google.api.field_behavior) = REQUIRED]; } @@ -684,6 +859,26 @@ message CreateNotificationConfigRequest { [(google.api.field_behavior) = REQUIRED]; } +// Request message for creating Security Health Analytics custom modules. +message CreateSecurityHealthAnalyticsCustomModuleRequest { + // Required. Resource name of the new custom module's parent. Its format is + // "organizations/{organization}/securityHealthAnalyticsSettings", + // "folders/{folder}/securityHealthAnalyticsSettings", or + // "projects/{project}/securityHealthAnalyticsSettings" + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "securitycenter.googleapis.com/SecurityHealthAnalyticsCustomModule" + } + ]; + + // Required. SecurityHealthAnalytics custom module to create. The provided + // name is ignored and reset with provided parent information and + // server-generated ID. + SecurityHealthAnalyticsCustomModule security_health_analytics_custom_module = + 2 [(google.api.field_behavior) = REQUIRED]; +} + // Request message for creating a source. message CreateSourceRequest { // Required. Resource name of the new source's parent. Its format should be @@ -728,6 +923,21 @@ message DeleteNotificationConfigRequest { ]; } +// Request message for deleting Security Health Analytics custom modules. +message DeleteSecurityHealthAnalyticsCustomModuleRequest { + // Required. Name of the custom module to delete. Its format is + // "organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}", + // "folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}", + // or + // "projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}" + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "securitycenter.googleapis.com/SecurityHealthAnalyticsCustomModule" + } + ]; +} + // Request message for retrieving a BigQuery export. message GetBigQueryExportRequest { // Required. Name of the BigQuery export to retrieve. Its format is @@ -782,6 +992,37 @@ message GetOrganizationSettingsRequest { ]; } +// Request message for getting effective Security Health Analytics custom +// modules. +message GetEffectiveSecurityHealthAnalyticsCustomModuleRequest { + // Required. Name of the effective custom module to get. Its format is + // "organizations/{organization}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}", + // "folders/{folder}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}", + // or + // "projects/{project}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}" + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "securitycenter.googleapis.com/EffectiveSecurityHealthAnalyticsCustomModule" + } + ]; +} + +// Request message for getting Security Health Analytics custom modules. +message GetSecurityHealthAnalyticsCustomModuleRequest { + // Required. Name of the custom module to get. Its format is + // "organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}", + // "folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}", + // or + // "projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}" + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "securitycenter.googleapis.com/SecurityHealthAnalyticsCustomModule" + } + ]; +} + // Request message for getting a source. message GetSourceRequest { // Required. Relative resource name of the source. Its format is @@ -1124,6 +1365,40 @@ message GroupResult { int64 count = 2; } +// Request message for listing descendant Security Health Analytics custom +// modules. +message ListDescendantSecurityHealthAnalyticsCustomModulesRequest { + // Required. Name of parent to list descendant custom modules. Its format is + // "organizations/{organization}/securityHealthAnalyticsSettings", + // "folders/{folder}/securityHealthAnalyticsSettings", or + // "projects/{project}/securityHealthAnalyticsSettings" + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "securitycenter.googleapis.com/SecurityHealthAnalyticsCustomModule" + } + ]; + + // The maximum number of results to return in a single response. Default is + // 10, minimum is 1, maximum is 1000. + int32 page_size = 2; + + // The value returned by the last call indicating a continuation + string page_token = 3; +} + +// Response message for listing descendant Security Health Analytics custom +// modules. +message ListDescendantSecurityHealthAnalyticsCustomModulesResponse { + // Custom modules belonging to the requested parent and its descendants. + repeated SecurityHealthAnalyticsCustomModule + security_health_analytics_custom_modules = 1; + + // If not empty, indicates that there may be more custom modules to be + // returned. + string next_page_token = 2; +} + // Request message for listing mute configs at a given scope e.g. organization, // folder or project. message ListMuteConfigsRequest { @@ -1193,6 +1468,72 @@ message ListNotificationConfigsResponse { string next_page_token = 2; } +// Request message for listing effective Security Health Analytics custom +// modules. +message ListEffectiveSecurityHealthAnalyticsCustomModulesRequest { + // Required. Name of parent to list effective custom modules. Its format is + // "organizations/{organization}/securityHealthAnalyticsSettings", + // "folders/{folder}/securityHealthAnalyticsSettings", or + // "projects/{project}/securityHealthAnalyticsSettings" + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "securitycenter.googleapis.com/SecurityHealthAnalyticsCustomModule" + } + ]; + + // The maximum number of results to return in a single response. Default is + // 10, minimum is 1, maximum is 1000. + int32 page_size = 2; + + // The value returned by the last call indicating a continuation + string page_token = 3; +} + +// Response message for listing effective Security Health Analytics custom +// modules. +message ListEffectiveSecurityHealthAnalyticsCustomModulesResponse { + // Effective custom modules belonging to the requested parent. + repeated EffectiveSecurityHealthAnalyticsCustomModule + effective_security_health_analytics_custom_modules = 1; + + // If not empty, indicates that there may be more effective custom modules to + // be returned. + string next_page_token = 2; +} + +// Request message for listing Security Health Analytics custom modules. +message ListSecurityHealthAnalyticsCustomModulesRequest { + // Required. Name of parent to list custom modules. Its format is + // "organizations/{organization}/securityHealthAnalyticsSettings", + // "folders/{folder}/securityHealthAnalyticsSettings", or + // "projects/{project}/securityHealthAnalyticsSettings" + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "securitycenter.googleapis.com/SecurityHealthAnalyticsCustomModule" + } + ]; + + // The maximum number of results to return in a single response. Default is + // 10, minimum is 1, maximum is 1000. + int32 page_size = 2; + + // The value returned by the last call indicating a continuation + string page_token = 3; +} + +// Response message for listing Security Health Analytics custom modules. +message ListSecurityHealthAnalyticsCustomModulesResponse { + // Custom modules belonging to the requested parent. + repeated SecurityHealthAnalyticsCustomModule + security_health_analytics_custom_modules = 1; + + // If not empty, indicates that there may be more custom modules to be + // returned. + string next_page_token = 2; +} + // Request message for listing sources. message ListSourcesRequest { // Required. Resource name of the parent of sources to list. Its format should @@ -1710,6 +2051,63 @@ message RunAssetDiscoveryRequest { ]; } +// Request message to simulate a CustomConfig against a given test resource. +// Maximum size of the request is 4 MB by default. +message SimulateSecurityHealthAnalyticsCustomModuleRequest { + // Manually constructed resource name. If the custom module evaluates against + // only the resource data, you can omit the `iam_policy_data` field. If it + // evaluates only the `iam_policy_data` field, you can omit the resource data. + message SimulatedResource { + // Required. The type of the resource, for example, + // `compute.googleapis.com/Disk`. + string resource_type = 1 [(google.api.field_behavior) = REQUIRED]; + + // Optional. A representation of the Google Cloud resource. Should match the + // Google Cloud resource JSON format. + google.protobuf.Struct resource_data = 2 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. A representation of the IAM policy. + google.iam.v1.Policy iam_policy_data = 3 + [(google.api.field_behavior) = OPTIONAL]; + } + + // Required. The relative resource name of the organization, project, or + // folder. For more information about relative resource names, see [Relative + // Resource + // Name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) + // Example: `organizations/{organization_id}` + string parent = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The custom configuration that you need to test. + CustomConfig custom_config = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. Resource data to simulate custom module against. + SimulatedResource resource = 3 [(google.api.field_behavior) = REQUIRED]; +} + +// Response message for simulating a `SecurityHealthAnalyticsCustomModule` +// against a given resource. +message SimulateSecurityHealthAnalyticsCustomModuleResponse { + // Possible test result. + message SimulatedResult { + oneof result { + // Finding that would be published for the test case, + // if a violation is detected. + Finding finding = 1; + + // Indicates that the test case does not trigger any violation. + google.protobuf.Empty no_violation = 2; + + // Error encountered during the test. + google.rpc.Status error = 3; + } + } + + // Result for test case in the corresponding request. + SimulatedResult result = 1; +} + // Request message for updating a ExternalSystem resource. message UpdateExternalSystemRequest { // Required. The external system resource to update. @@ -1775,6 +2173,16 @@ message UpdateOrganizationSettingsRequest { google.protobuf.FieldMask update_mask = 2; } +// Request message for updating Security Health Analytics custom modules. +message UpdateSecurityHealthAnalyticsCustomModuleRequest { + // Required. The SecurityHealthAnalytics custom module to update. + SecurityHealthAnalyticsCustomModule security_health_analytics_custom_module = + 1 [(google.api.field_behavior) = REQUIRED]; + + // The list of fields to update. + google.protobuf.FieldMask update_mask = 2; +} + // Request message for updating a source. message UpdateSourceRequest { // Required. The source resource to update. @@ -1821,9 +2229,9 @@ message CreateBigQueryExportRequest { BigQueryExport big_query_export = 2 [(google.api.field_behavior) = REQUIRED]; // Required. Unique identifier provided by the client within the parent scope. - // It must consist of lower case letters, numbers, and hyphen, with the first - // character a letter, the last a letter or a number, and a 63 character - // maximum. + // It must consist of only lowercase letters, numbers, and hyphens, must start + // with a letter, must end with either a letter or a number, and must be 63 + // characters or less. string big_query_export_id = 3 [(google.api.field_behavior) = REQUIRED]; } diff --git a/third_party/googleapis/google/cloud/securitycenter/v1/securitycenter_v1.yaml b/third_party/googleapis/google/cloud/securitycenter/v1/securitycenter_v1.yaml index 662a65ed0..a58023366 100644 --- a/third_party/googleapis/google/cloud/securitycenter/v1/securitycenter_v1.yaml +++ b/third_party/googleapis/google/cloud/securitycenter/v1/securitycenter_v1.yaml @@ -10,11 +10,13 @@ apis: types: - name: google.cloud.securitycenter.v1.BigQueryExport - name: google.cloud.securitycenter.v1.BulkMuteFindingsResponse +- name: google.cloud.securitycenter.v1.EffectiveSecurityHealthAnalyticsCustomModule - name: google.cloud.securitycenter.v1.ExternalSystem - name: google.cloud.securitycenter.v1.MuteConfig - name: google.cloud.securitycenter.v1.NotificationMessage - name: google.cloud.securitycenter.v1.Resource - name: google.cloud.securitycenter.v1.RunAssetDiscoveryResponse +- name: google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule documentation: summary: |- diff --git a/third_party/googleapis/google/cloud/securitycenter/v1/source.proto b/third_party/googleapis/google/cloud/securitycenter/v1/source.proto index daf7c3c60..0aed02862 100644 --- a/third_party/googleapis/google/cloud/securitycenter/v1/source.proto +++ b/third_party/googleapis/google/cloud/securitycenter/v1/source.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/securitycenter/v1/vulnerability.proto b/third_party/googleapis/google/cloud/securitycenter/v1/vulnerability.proto index eeff95633..457e88c73 100644 --- a/third_party/googleapis/google/cloud/securitycenter/v1/vulnerability.proto +++ b/third_party/googleapis/google/cloud/securitycenter/v1/vulnerability.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/securitycenter/v1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/securitycenter/v1beta1/BUILD.bazel index d747ec5ed..f66c566b6 100644 --- a/third_party/googleapis/google/cloud/securitycenter/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/securitycenter/v1beta1/BUILD.bazel @@ -72,6 +72,7 @@ java_gapic_library( srcs = [":securitycenter_proto_with_info"], grpc_service_config = "securitycenter_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "securitycenter_v1beta1.yaml", test_deps = [ ":securitycenter_java_grpc", "//google/iam/v1:iam_java_grpc", @@ -79,6 +80,7 @@ java_gapic_library( transport = "grpc+rest", deps = [ ":securitycenter_java_proto", + "//google/api:api_java_proto", "//google/iam/v1:iam_java_proto", ], ) @@ -113,7 +115,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -149,18 +150,12 @@ go_gapic_library( ], ) -go_test( - name = "securitycenter_go_gapic_test", - srcs = [":securitycenter_go_gapic_srcjar_test"], - embed = [":securitycenter_go_gapic"], - importpath = "cloud.google.com/go/securitycenter/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-securitycenter-v1beta1-go", deps = [ ":securitycenter_go_gapic", + ":securitycenter_go_gapic_srcjar-snippets.srcjar", ":securitycenter_go_gapic_srcjar-test.srcjar", ":securitycenter_go_proto", ], @@ -213,7 +208,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -222,12 +216,6 @@ php_proto_library( deps = [":securitycenter_proto"], ) -php_grpc_library( - name = "securitycenter_php_grpc", - srcs = [":securitycenter_proto"], - deps = [":securitycenter_php_proto"], -) - php_gapic_library( name = "securitycenter_php_gapic", srcs = [":securitycenter_proto_with_info"], @@ -235,10 +223,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "securitycenter_v1beta1.yaml", transport = "grpc+rest", - deps = [ - ":securitycenter_php_grpc", - ":securitycenter_php_proto", - ], + deps = [":securitycenter_php_proto"], ) # Open Source Packages @@ -246,7 +231,6 @@ php_gapic_assembly_pkg( name = "google-cloud-securitycenter-v1beta1-php", deps = [ ":securitycenter_php_gapic", - ":securitycenter_php_grpc", ":securitycenter_php_proto", ], ) @@ -309,6 +293,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-securitycenter-v1beta1"], rest_numeric_enums = True, service_yaml = "securitycenter_v1beta1.yaml", + transport = "grpc+rest", deps = [ ":securitycenter_ruby_grpc", ":securitycenter_ruby_proto", diff --git a/third_party/googleapis/google/cloud/securitycenter/v1p1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/securitycenter/v1p1beta1/BUILD.bazel index b3e221755..d3465fd4e 100644 --- a/third_party/googleapis/google/cloud/securitycenter/v1p1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/securitycenter/v1p1beta1/BUILD.bazel @@ -85,6 +85,7 @@ java_gapic_library( srcs = [":securitycenter_proto_with_info"], grpc_service_config = "securitycenter_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "securitycenter_v1p1beta1.yaml", test_deps = [ ":securitycenter_java_grpc", "//google/iam/v1:iam_java_grpc", @@ -92,6 +93,7 @@ java_gapic_library( transport = "grpc+rest", deps = [ ":securitycenter_java_proto", + "//google/api:api_java_proto", "//google/iam/v1:iam_java_proto", ], ) @@ -126,7 +128,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -162,18 +163,12 @@ go_gapic_library( ], ) -go_test( - name = "securitycenter_go_gapic_test", - srcs = [":securitycenter_go_gapic_srcjar_test"], - embed = [":securitycenter_go_gapic"], - importpath = "cloud.google.com/go/securitycenter/apiv1p1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-securitycenter-v1p1beta1-go", deps = [ ":securitycenter_go_gapic", + ":securitycenter_go_gapic_srcjar-snippets.srcjar", ":securitycenter_go_gapic_srcjar-test.srcjar", ":securitycenter_go_proto", ], @@ -226,7 +221,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -235,12 +229,6 @@ php_proto_library( deps = [":securitycenter_proto"], ) -php_grpc_library( - name = "securitycenter_php_grpc", - srcs = [":securitycenter_proto"], - deps = [":securitycenter_php_proto"], -) - php_gapic_library( name = "securitycenter_php_gapic", srcs = [":securitycenter_proto_with_info"], @@ -248,10 +236,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "securitycenter_v1p1beta1.yaml", transport = "grpc+rest", - deps = [ - ":securitycenter_php_grpc", - ":securitycenter_php_proto", - ], + deps = [":securitycenter_php_proto"], ) # Open Source Packages @@ -259,7 +244,6 @@ php_gapic_assembly_pkg( name = "google-cloud-securitycenter-v1p1beta1-php", deps = [ ":securitycenter_php_gapic", - ":securitycenter_php_grpc", ":securitycenter_php_proto", ], ) @@ -331,6 +315,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Security Command Center API provides access to temporal views of assets and findings within an organization.", ruby_cloud_title = "Cloud Security Command Center V1p1beta1", service_yaml = "securitycenter_v1p1beta1.yaml", + transport = "grpc+rest", deps = [ ":securitycenter_ruby_grpc", ":securitycenter_ruby_proto", diff --git a/third_party/googleapis/google/cloud/sensitiveaction/logging/v1/BUILD.bazel b/third_party/googleapis/google/cloud/sensitiveaction/logging/v1/BUILD.bazel index a6ea0b695..129f5548b 100644 --- a/third_party/googleapis/google/cloud/sensitiveaction/logging/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/sensitiveaction/logging/v1/BUILD.bazel @@ -18,7 +18,6 @@ load( "java_grpc_library", "java_proto_library", "moved_proto_library", - "php_grpc_library", "php_proto_library", "py_grpc_library", "py_proto_library", @@ -86,12 +85,6 @@ php_proto_library( deps = [":logging_proto"], ) -php_grpc_library( - name = "logging_php_grpc", - srcs = [":logging_proto"], - deps = [":logging_php_proto"], -) - ruby_proto_library( name = "logging_ruby_proto", deps = [":logging_proto"], diff --git a/third_party/googleapis/google/cloud/servicedirectory/BUILD.bazel b/third_party/googleapis/google/cloud/servicedirectory/BUILD.bazel index 77a554dab..e7d4defea 100644 --- a/third_party/googleapis/google/cloud/servicedirectory/BUILD.bazel +++ b/third_party/googleapis/google/cloud/servicedirectory/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-service_directory", "ruby-cloud-env-prefix=SERVICE_DIRECTORY", - "ruby-cloud-wrapper-of=v1:0.1;v1beta1:0.1", + "ruby-cloud-wrapper-of=v1:0.10;v1beta1:0.14", "ruby-cloud-product-url=https://cloud.google.com/service-directory", "ruby-cloud-api-id=servicedirectory.googleapis.com", "ruby-cloud-api-shortname=servicedirectory", ], ruby_cloud_description = "Service Directory is the single place to register, browse, and resolve application services.", ruby_cloud_title = "Service Directory", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/servicedirectory/v1/BUILD.bazel b/third_party/googleapis/google/cloud/servicedirectory/v1/BUILD.bazel index 866d64456..4136090fc 100644 --- a/third_party/googleapis/google/cloud/servicedirectory/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/servicedirectory/v1/BUILD.bazel @@ -1,5 +1,5 @@ # This file was automatically generated by BuildFileGenerator -# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +# 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: @@ -9,46 +9,14 @@ # * 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"]) + ############################################################################## # Common ############################################################################## load("@rules_proto//proto:defs.bzl", "proto_library") -load( - "@com_google_googleapis_imports//:imports.bzl", - "csharp_gapic_assembly_pkg", - "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", - "go_gapic_assembly_pkg", - "go_gapic_library", - "go_proto_library", - "go_test", - "java_gapic_assembly_gradle_pkg", - "java_gapic_library", - "java_gapic_test", - "java_grpc_library", - "java_proto_library", - "moved_proto_library", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", - "php_gapic_assembly_pkg", - "php_gapic_library", - "php_grpc_library", - "php_proto_library", - "proto_library_with_info", - "py_gapic_assembly_pkg", - "py_gapic_library", - "py_grpc_library", - "py_proto_library", - "py_test", - "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) +load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") proto_library( name = "servicedirectory_proto", @@ -76,9 +44,22 @@ proto_library_with_info( deps = [ ":servicedirectory_proto", "//google/cloud:common_resources_proto", + "//google/cloud/location:location_proto", ], ) +############################################################################## +# Java +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "java_gapic_assembly_gradle_pkg", + "java_gapic_library", + "java_gapic_test", + "java_grpc_library", + "java_proto_library", +) + java_proto_library( name = "servicedirectory_java_proto", deps = [":servicedirectory_proto"], @@ -93,15 +74,20 @@ java_grpc_library( java_gapic_library( name = "servicedirectory_java_gapic", srcs = [":servicedirectory_proto_with_info"], + gapic_yaml = None, grpc_service_config = "servicedirectory_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "servicedirectory_v1.yaml", test_deps = [ - ":servicedirectory_java_grpc", + "//google/cloud/location:location_java_grpc", "//google/iam/v1:iam_java_grpc", + ":servicedirectory_java_grpc", ], transport = "grpc+rest", deps = [ ":servicedirectory_java_proto", + "//google/api:api_java_proto", + "//google/cloud/location:location_java_proto", "//google/iam/v1:iam_java_proto", ], ) @@ -130,6 +116,16 @@ java_gapic_assembly_gradle_pkg( ], ) +############################################################################## +# Go +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "go_gapic_assembly_pkg", + "go_gapic_library", + "go_proto_library", +) + go_proto_library( name = "servicedirectory_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], @@ -153,34 +149,38 @@ go_gapic_library( transport = "grpc+rest", deps = [ ":servicedirectory_go_proto", + "//google/cloud/location:location_go_proto", "//google/iam/v1:iam_go_proto", ], ) -go_test( - name = "servicedirectory_go_gapic_test", - srcs = [":servicedirectory_go_gapic_srcjar_test"], - embed = [":servicedirectory_go_gapic"], - importpath = "cloud.google.com/go/servicedirectory/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-servicedirectory-v1-go", deps = [ ":servicedirectory_go_gapic", + ":servicedirectory_go_gapic_srcjar-metadata.srcjar", + ":servicedirectory_go_gapic_srcjar-snippets.srcjar", ":servicedirectory_go_gapic_srcjar-test.srcjar", ":servicedirectory_go_proto", ], ) +############################################################################## +# Python +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "py_gapic_assembly_pkg", + "py_gapic_library", + "py_test", +) + py_gapic_library( name = "servicedirectory_py_gapic", srcs = [":servicedirectory_proto"], grpc_service_config = "servicedirectory_grpc_service_config.json", - opt_args = [ - "warehouse-package-name=google-cloud-service-directory", - ], + opt_args = ["warehouse-package-name=google-cloud-service-directory"], rest_numeric_enums = True, service_yaml = "servicedirectory_v1.yaml", transport = "grpc+rest", @@ -207,26 +207,30 @@ py_gapic_assembly_pkg( ], ) +############################################################################## +# PHP +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "php_gapic_assembly_pkg", + "php_gapic_library", + "php_proto_library", +) + php_proto_library( name = "servicedirectory_php_proto", deps = [":servicedirectory_proto"], ) -php_grpc_library( - name = "servicedirectory_php_grpc", - srcs = [":servicedirectory_proto"], - deps = [":servicedirectory_php_proto"], -) - php_gapic_library( name = "servicedirectory_php_gapic", srcs = [":servicedirectory_proto_with_info"], grpc_service_config = "servicedirectory_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "servicedirectory_v1.yaml", transport = "grpc+rest", deps = [ - ":servicedirectory_php_grpc", ":servicedirectory_php_proto", ], ) @@ -236,11 +240,19 @@ php_gapic_assembly_pkg( name = "google-cloud-servicedirectory-v1-php", deps = [ ":servicedirectory_php_gapic", - ":servicedirectory_php_grpc", ":servicedirectory_php_proto", ], ) +############################################################################## +# Node.js +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "nodejs_gapic_assembly_pkg", + "nodejs_gapic_library", +) + nodejs_gapic_library( name = "servicedirectory_nodejs_gapic", package_name = "@google-cloud/service-directory", @@ -263,6 +275,17 @@ nodejs_gapic_assembly_pkg( ], ) +############################################################################## +# Ruby +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "ruby_cloud_gapic_library", + "ruby_gapic_assembly_pkg", + "ruby_grpc_library", + "ruby_proto_library", +) + ruby_proto_library( name = "servicedirectory_ruby_proto", deps = [":servicedirectory_proto"], @@ -278,17 +301,18 @@ ruby_cloud_gapic_library( name = "servicedirectory_ruby_gapic", srcs = [":servicedirectory_proto_with_info"], extra_protoc_parameters = [ - "ruby-cloud-gem-name=google-cloud-service_directory-v1", - "ruby-cloud-env-prefix=SERVICE_DIRECTORY", - "ruby-cloud-product-url=https://cloud.google.com/service-directory", "ruby-cloud-api-id=servicedirectory.googleapis.com", "ruby-cloud-api-shortname=servicedirectory", + "ruby-cloud-env-prefix=SERVICE_DIRECTORY", + "ruby-cloud-gem-name=google-cloud-service_directory-v1", + "ruby-cloud-product-url=https://cloud.google.com/service-directory", ], grpc_service_config = "servicedirectory_grpc_service_config.json", rest_numeric_enums = True, ruby_cloud_description = "Service Directory is the single place to register, browse, and resolve application services.", ruby_cloud_title = "Service Directory V1", service_yaml = "servicedirectory_v1.yaml", + transport = "grpc+rest", deps = [ ":servicedirectory_ruby_grpc", ":servicedirectory_ruby_proto", @@ -305,8 +329,20 @@ ruby_gapic_assembly_pkg( ], ) +############################################################################## +# C# +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "csharp_gapic_assembly_pkg", + "csharp_gapic_library", + "csharp_grpc_library", + "csharp_proto_library", +) + csharp_proto_library( name = "servicedirectory_csharp_proto", + extra_opts = [], deps = [":servicedirectory_proto"], ) diff --git a/third_party/googleapis/google/cloud/servicedirectory/v1/endpoint.proto b/third_party/googleapis/google/cloud/servicedirectory/v1/endpoint.proto index c4b7b259b..ab5ac1ac6 100644 --- a/third_party/googleapis/google/cloud/servicedirectory/v1/endpoint.proto +++ b/third_party/googleapis/google/cloud/servicedirectory/v1/endpoint.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + syntax = "proto3"; package google.cloud.servicedirectory.v1; @@ -26,6 +27,10 @@ option java_outer_classname = "EndpointProto"; option java_package = "com.google.cloud.servicedirectory.v1"; option php_namespace = "Google\\Cloud\\ServiceDirectory\\V1"; option ruby_package = "Google::Cloud::ServiceDirectory::V1"; +option (google.api.resource_definition) = { + type: "servicedirectory.googleapis.com/Network" + pattern: "projects/{project}/locations/global/networks/{network}" +}; // An individual endpoint that provides a // [service][google.cloud.servicedirectory.v1.Service]. The service must @@ -39,36 +44,59 @@ message Endpoint { // Immutable. The resource name for the endpoint in the format // `projects/*/locations/*/namespaces/*/services/*/endpoints/*`. string name = 1 [(google.api.field_behavior) = IMMUTABLE]; - // Optional. An IPv4 or IPv6 address. Service Directory will reject bad - // addresses like: - // "8.8.8" - // "8.8.8.8:53" - // "test:bad:address" - // "[::1]" - // "[::1]:8080" + + // Optional. An IPv4 or IPv6 address. Service Directory rejects bad addresses + // like: + // + // * `8.8.8` + // * `8.8.8.8:53` + // * `test:bad:address` + // * `[::1]` + // * `[::1]:8080` + // // Limited to 45 characters. string address = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Service Directory will reject values outside of [0, 65535]. + + // Optional. Service Directory rejects values outside of `[0, 65535]`. int32 port = 3 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Annotations for the endpoint. This data can be consumed by - // service clients. Restrictions: - // - The entire annotations dictionary may contain up to 512 characters, - // spread accoss all key-value pairs. Annotations that goes beyond any - // these limits will be rejected. - // - Valid annotation keys have two segments: an optional prefix and name, - // separated by a slash (/). The name segment is required and must be 63 - // characters or less, beginning and ending with an alphanumeric character - // ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and - // alphanumerics between. The prefix is optional. If specified, the prefix - // must be a DNS subdomain: a series of DNS labels separated by dots (.), - // not longer than 253 characters in total, followed by a slash (/). - // Annotations that fails to meet these requirements will be rejected. - // - The '(*.)google.com/' and '(*.)googleapis.com/' prefixes are reserved - // for system annotations managed by Service Directory. If the user tries - // to write to these keyspaces, those entries will be silently ignored by - // the system. - // Note: This field is equivalent to the 'metadata' field in the v1beta1 API. + // service clients. + // + // Restrictions: + // + // * The entire annotations dictionary may contain up to 512 characters, + // spread accoss all key-value pairs. Annotations that go beyond this + // limit are rejected + // * Valid annotation keys have two segments: an optional prefix and name, + // separated by a slash (/). The name segment is required and must be 63 + // characters or less, beginning and ending with an alphanumeric character + // ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and + // alphanumerics between. The prefix is optional. If specified, the prefix + // must be a DNS subdomain: a series of DNS labels separated by dots (.), + // not longer than 253 characters in total, followed by a slash (/) + // Annotations that fails to meet these requirements are rejected. + // + // Note: This field is equivalent to the `metadata` field in the v1beta1 API. // They have the same syntax and read/write to the same location in Service // Directory. map annotations = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Immutable. The Google Compute Engine network (VPC) of the endpoint in the + // format `projects//locations/global/networks/*`. + // + // The project must be specified by project number (project id is rejected). + // Incorrectly formatted networks are rejected, we also check to make sure + // that you have the servicedirectory.networks.attach permission on the + // project specified. + string network = 8 [ + (google.api.field_behavior) = IMMUTABLE, + (google.api.resource_reference) = { + type: "servicedirectory.googleapis.com/Network" + } + ]; + + // Output only. The globally unique identifier of the endpoint in the UUID4 + // format. + string uid = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/cloud/servicedirectory/v1/lookup_service.proto b/third_party/googleapis/google/cloud/servicedirectory/v1/lookup_service.proto index 34f54de6e..95979a849 100644 --- a/third_party/googleapis/google/cloud/servicedirectory/v1/lookup_service.proto +++ b/third_party/googleapis/google/cloud/servicedirectory/v1/lookup_service.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -67,22 +67,40 @@ message ResolveServiceRequest { // Optional. The filter applied to the endpoints of the resolved service. // - // General filter string syntax: - // () - // can be "name" or "metadata." for map field. - // can be "<, >, <=, >=, !=, =, :". Of which ":" means HAS and is - // roughly the same as "=". - // must be the same data type as the field. - // can be "AND, OR, NOT". + // General `filter` string syntax: + // ` ()` + // + // * `` can be `name`, `address`, `port`, or `annotations.` for + // map field + // * `` can be `<`, `>`, `<=`, `>=`, `!=`, `=`, `:`. Of which `:` + // means `HAS`, and is roughly the same as `=` + // * `` must be the same data type as field + // * `` can be `AND`, `OR`, `NOT` // // Examples of valid filters: - // * "metadata.owner" returns Endpoints that have a label with the - // key "owner", this is the same as "metadata:owner" - // * "metadata.protocol=gRPC" returns Endpoints that have key/value - // "protocol=gRPC" - // * "metadata.owner!=sd AND metadata.foo=bar" returns - // Endpoints that have "owner" field in metadata with a value that is not - // "sd" AND have the key/value foo=bar. + // + // * `annotations.owner` returns endpoints that have a annotation with the + // key `owner`, this is the same as `annotations:owner` + // * `annotations.protocol=gRPC` returns endpoints that have key/value + // `protocol=gRPC` + // * `address=192.108.1.105` returns endpoints that have this address + // * `port>8080` returns endpoints that have port number larger than 8080 + // * + // `name>projects/my-project/locations/us-east1/namespaces/my-namespace/services/my-service/endpoints/endpoint-c` + // returns endpoints that have name that is alphabetically later than the + // string, so "endpoint-e" is returned but "endpoint-a" is not + // * + // `name=projects/my-project/locations/us-central1/namespaces/my-namespace/services/my-service/endpoints/ep-1` + // returns the endpoint that has an endpoint_id equal to `ep-1` + // * `annotations.owner!=sd AND annotations.foo=bar` returns endpoints that + // have `owner` in annotation key but value is not `sd` AND have + // key/value `foo=bar` + // * `doesnotexist.foo=bar` returns an empty list. Note that endpoint + // doesn't have a field called "doesnotexist". Since the filter does not + // match any endpoint, it returns no results + // + // For more information about filtering, see + // [API Filtering](https://aip.dev/160). string endpoint_filter = 3 [(google.api.field_behavior) = OPTIONAL]; } diff --git a/third_party/googleapis/google/cloud/servicedirectory/v1/namespace.proto b/third_party/googleapis/google/cloud/servicedirectory/v1/namespace.proto index b4ca4697d..683dc6c82 100644 --- a/third_party/googleapis/google/cloud/servicedirectory/v1/namespace.proto +++ b/third_party/googleapis/google/cloud/servicedirectory/v1/namespace.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -41,8 +41,12 @@ message Namespace { // `projects/*/locations/*/namespaces/*`. string name = 1 [(google.api.field_behavior) = IMMUTABLE]; - // Optional. Resource labels associated with this Namespace. - // No more than 64 user labels can be associated with a given resource. Label + // Optional. Resource labels associated with this namespace. + // No more than 64 user labels can be associated with a given resource. Label // keys and values can be no longer than 63 characters. map labels = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Output only. The globally unique identifier of the namespace in the UUID4 + // format. + string uid = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/cloud/servicedirectory/v1/registration_service.proto b/third_party/googleapis/google/cloud/servicedirectory/v1/registration_service.proto index b854db726..c17320c2b 100644 --- a/third_party/googleapis/google/cloud/servicedirectory/v1/registration_service.proto +++ b/third_party/googleapis/google/cloud/servicedirectory/v1/registration_service.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -57,7 +57,7 @@ service RegistrationService { option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; - // Creates a namespace, and returns the new Namespace. + // Creates a namespace, and returns the new namespace. rpc CreateNamespace(CreateNamespaceRequest) returns (Namespace) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/namespaces" @@ -100,7 +100,7 @@ service RegistrationService { option (google.api.method_signature) = "name"; } - // Creates a service, and returns the new Service. + // Creates a service, and returns the new service. rpc CreateService(CreateServiceRequest) returns (Service) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*/namespaces/*}/services" @@ -143,7 +143,7 @@ service RegistrationService { option (google.api.method_signature) = "name"; } - // Creates a endpoint, and returns the new Endpoint. + // Creates an endpoint, and returns the new endpoint. rpc CreateEndpoint(CreateEndpointRequest) returns (Endpoint) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*/namespaces/*/services/*}/endpoints" @@ -160,7 +160,7 @@ service RegistrationService { option (google.api.method_signature) = "parent"; } - // Gets a endpoint. + // Gets an endpoint. rpc GetEndpoint(GetEndpointRequest) returns (Endpoint) { option (google.api.http) = { get: "/v1/{name=projects/*/locations/*/namespaces/*/services/*/endpoints/*}" @@ -168,7 +168,7 @@ service RegistrationService { option (google.api.method_signature) = "name"; } - // Updates a endpoint. + // Updates an endpoint. rpc UpdateEndpoint(UpdateEndpointRequest) returns (Endpoint) { option (google.api.http) = { patch: "/v1/{endpoint.name=projects/*/locations/*/namespaces/*/services/*/endpoints/*}" @@ -177,7 +177,7 @@ service RegistrationService { option (google.api.method_signature) = "endpoint,update_mask"; } - // Deletes a endpoint. + // Deletes an endpoint. rpc DeleteEndpoint(DeleteEndpointRequest) returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/namespaces/*/services/*/endpoints/*}" @@ -254,7 +254,7 @@ message CreateNamespaceRequest { // [RegistrationService.ListNamespaces][google.cloud.servicedirectory.v1.RegistrationService.ListNamespaces]. message ListNamespacesRequest { // Required. The resource name of the project and location whose namespaces - // we'd like to list. + // you'd like to list. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -269,40 +269,46 @@ message ListNamespacesRequest { // if any. string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. The filter to list result by. + // Optional. The filter to list results by. // - // General filter string syntax: - // () - // can be "name", or "labels." for map field. - // can be "<, >, <=, >=, !=, =, :". Of which ":" means HAS, and - // is roughly the same as "=". - // must be the same data type as field. - // can be "AND, OR, NOT". + // General `filter` string syntax: + // ` ()` + // + // * `` can be `name` or `labels.` for map field + // * `` can be `<`, `>`, `<=`, `>=`, `!=`, `=`, `:`. Of which `:` + // means `HAS`, and is roughly the same as `=` + // * `` must be the same data type as field + // * `` can be `AND`, `OR`, `NOT` // // Examples of valid filters: - // * "labels.owner" returns Namespaces that have a label with the key "owner" - // this is the same as "labels:owner". - // * "labels.protocol=gRPC" returns Namespaces that have key/value - // "protocol=gRPC". - // * "name>projects/my-project/locations/us-east/namespaces/namespace-c" - // returns Namespaces that have name that is alphabetically later than the - // string, so "namespace-e" will be returned but "namespace-a" will not be. - // * "labels.owner!=sd AND labels.foo=bar" returns Namespaces that have - // "owner" in label key but value is not "sd" AND have key/value foo=bar. - // * "doesnotexist.foo=bar" returns an empty list. Note that Namespace doesn't - // have a field called "doesnotexist". Since the filter does not match any - // Namespaces, it returns no results. + // + // * `labels.owner` returns namespaces that have a label with the key + // `owner`, this is the same as `labels:owner` + // * `labels.owner=sd` returns namespaces that have key/value + // `owner=sd` + // * `name>projects/my-project/locations/us-east1/namespaces/namespace-c` + // returns namespaces that have name that is alphabetically later than the + // string, so "namespace-e" is returned but "namespace-a" is not + // * `labels.owner!=sd AND labels.foo=bar` returns namespaces that have + // `owner` in label key but value is not `sd` AND have key/value `foo=bar` + // * `doesnotexist.foo=bar` returns an empty list. Note that namespace + // doesn't have a field called "doesnotexist". Since the filter does not + // match any namespaces, it returns no results + // + // For more information about filtering, see + // [API Filtering](https://aip.dev/160). string filter = 4 [(google.api.field_behavior) = OPTIONAL]; - // Optional. The order to list result by. + // Optional. The order to list results by. + // + // General `order_by` string syntax: ` () (,)` + // + // * `` allows value: `name` + // * `` ascending or descending order by ``. If this is + // left blank, `asc` is used // - // General order by string syntax: - // () (,) - // allows values {"name"} - // ascending or descending order by . If this is left - // blank, "asc" is used. - // Note that an empty order_by string result in default order, which is order - // by name in ascending order. + // Note that an empty `order_by` string results in default order, which is + // order by `name` in ascending order. string order_by = 5 [(google.api.field_behavior) = OPTIONAL]; } @@ -379,7 +385,7 @@ message CreateServiceRequest { // The request message for // [RegistrationService.ListServices][google.cloud.servicedirectory.v1.RegistrationService.ListServices]. message ListServicesRequest { - // Required. The resource name of the namespace whose services we'd + // Required. The resource name of the namespace whose services you'd // like to list. string parent = 1 [ (google.api.field_behavior) = REQUIRED, @@ -395,32 +401,48 @@ message ListServicesRequest { // if any. string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. The filter to list result by. + // Optional. The filter to list results by. // - // General filter string syntax: - // () - // can be "name", or "metadata." for map field. - // can be "<, >, <=, >=, !=, =, :". Of which ":" means HAS, and - // is roughly the same as "=". - // must be the same data type as field. - // can be "AND, OR, NOT". + // General `filter` string syntax: + // ` ()` + // + // * `` can be `name` or `annotations.` for map field + // * `` can be `<`, `>`, `<=`, `>=`, `!=`, `=`, `:`. Of which `:` + // means `HAS`, and is roughly the same as `=` + // * `` must be the same data type as field + // * `` can be `AND`, `OR`, `NOT` // // Examples of valid filters: - // * "metadata.owner" returns Services that have a label with the key "owner" - // this is the same as "metadata:owner". - // * "metadata.protocol=gRPC" returns Services that have key/value - // "protocol=gRPC". - // * "name>projects/my-project/locations/us-east/namespaces/my-namespace/services/service-c" - // returns Services that have name that is alphabetically later than the - // string, so "service-e" will be returned but "service-a" will not be. - // * "metadata.owner!=sd AND metadata.foo=bar" returns Services that have - // "owner" in label key but value is not "sd" AND have key/value foo=bar. - // * "doesnotexist.foo=bar" returns an empty list. Note that Service doesn't - // have a field called "doesnotexist". Since the filter does not match any - // Services, it returns no results. + // + // * `annotations.owner` returns services that have a annotation with the + // key `owner`, this is the same as `annotations:owner` + // * `annotations.protocol=gRPC` returns services that have key/value + // `protocol=gRPC` + // * + // `name>projects/my-project/locations/us-east1/namespaces/my-namespace/services/service-c` + // returns services that have name that is alphabetically later than the + // string, so "service-e" is returned but "service-a" is not + // * `annotations.owner!=sd AND annotations.foo=bar` returns services that + // have `owner` in annotation key but value is not `sd` AND have + // key/value `foo=bar` + // * `doesnotexist.foo=bar` returns an empty list. Note that service + // doesn't have a field called "doesnotexist". Since the filter does not + // match any services, it returns no results + // + // For more information about filtering, see + // [API Filtering](https://aip.dev/160). string filter = 4 [(google.api.field_behavior) = OPTIONAL]; - // Optional. The order to list result by. + // Optional. The order to list results by. + // + // General `order_by` string syntax: ` () (,)` + // + // * `` allows value: `name` + // * `` ascending or descending order by ``. If this is + // left blank, `asc` is used + // + // Note that an empty `order_by` string results in default order, which is + // order by `name` in ascending order. string order_by = 5 [(google.api.field_behavior) = OPTIONAL]; } @@ -437,8 +459,8 @@ message ListServicesResponse { // The request message for // [RegistrationService.GetService][google.cloud.servicedirectory.v1.RegistrationService.GetService]. -// This should not be used for looking up a service. Insead, use the `resolve` -// method as it will contain all endpoints and associated metadata. +// This should not be used for looking up a service. Instead, use the `resolve` +// method as it contains all endpoints and associated annotations. message GetServiceRequest { // Required. The name of the service to get. string name = 1 [ @@ -499,7 +521,7 @@ message CreateEndpointRequest { // The request message for // [RegistrationService.ListEndpoints][google.cloud.servicedirectory.v1.RegistrationService.ListEndpoints]. message ListEndpointsRequest { - // Required. The resource name of the service whose endpoints we'd like to + // Required. The resource name of the service whose endpoints you'd like to // list. string parent = 1 [ (google.api.field_behavior) = REQUIRED, @@ -515,34 +537,51 @@ message ListEndpointsRequest { // if any. string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. The filter to list result by. + // Optional. The filter to list results by. // - // General filter string syntax: - // () - // can be "name", "address", "port" or "metadata." for map field. - // can be "<, >, <=, >=, !=, =, :". Of which ":" means HAS, and - // is roughly the same as "=". - // must be the same data type as field. - // can be "AND, OR, NOT". + // General `filter` string syntax: + // ` ()` + // + // * `` can be `name`, `address`, `port`, or `annotations.` for + // map field + // * `` can be `<`, `>`, `<=`, `>=`, `!=`, `=`, `:`. Of which `:` + // means `HAS`, and is roughly the same as `=` + // * `` must be the same data type as field + // * `` can be `AND`, `OR`, `NOT` // // Examples of valid filters: - // * "metadata.owner" returns Endpoints that have a label with the key "owner" - // this is the same as "metadata:owner". - // * "metadata.protocol=gRPC" returns Endpoints that have key/value - // "protocol=gRPC". - // * "address=192.108.1.105" returns Endpoints that have this address. - // * "port>8080" returns Endpoints that have port number larger than 8080. - // * "name>projects/my-project/locations/us-east/namespaces/my-namespace/services/my-service/endpoints/endpoint-c" - // returns Endpoints that have name that is alphabetically later than the - // string, so "endpoint-e" will be returned but "endpoint-a" will not be. - // * "metadata.owner!=sd AND metadata.foo=bar" returns Endpoints that have - // "owner" in label key but value is not "sd" AND have key/value foo=bar. - // * "doesnotexist.foo=bar" returns an empty list. Note that Endpoint doesn't - // have a field called "doesnotexist". Since the filter does not match any - // Endpoints, it returns no results. + // + // * `annotations.owner` returns endpoints that have a annotation with the + // key `owner`, this is the same as `annotations:owner` + // * `annotations.protocol=gRPC` returns endpoints that have key/value + // `protocol=gRPC` + // * `address=192.108.1.105` returns endpoints that have this address + // * `port>8080` returns endpoints that have port number larger than 8080 + // * + // `name>projects/my-project/locations/us-east1/namespaces/my-namespace/services/my-service/endpoints/endpoint-c` + // returns endpoints that have name that is alphabetically later than the + // string, so "endpoint-e" is returned but "endpoint-a" is not + // * `annotations.owner!=sd AND annotations.foo=bar` returns endpoints that + // have `owner` in annotation key but value is not `sd` AND have + // key/value `foo=bar` + // * `doesnotexist.foo=bar` returns an empty list. Note that endpoint + // doesn't have a field called "doesnotexist". Since the filter does not + // match any endpoints, it returns no results + // + // For more information about filtering, see + // [API Filtering](https://aip.dev/160). string filter = 4 [(google.api.field_behavior) = OPTIONAL]; - // Optional. The order to list result by. + // Optional. The order to list results by. + // + // General `order_by` string syntax: ` () (,)` + // + // * `` allows values: `name`, `address`, `port` + // * `` ascending or descending order by ``. If this is + // left blank, `asc` is used + // + // Note that an empty `order_by` string results in default order, which is + // order by `name` in ascending order. string order_by = 5 [(google.api.field_behavior) = OPTIONAL]; } diff --git a/third_party/googleapis/google/cloud/servicedirectory/v1/service.proto b/third_party/googleapis/google/cloud/servicedirectory/v1/service.proto index 894c518d9..c4c76392b 100644 --- a/third_party/googleapis/google/cloud/servicedirectory/v1/service.proto +++ b/third_party/googleapis/google/cloud/servicedirectory/v1/service.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -45,29 +45,33 @@ message Service { // Optional. Annotations for the service. This data can be consumed by service // clients. + // // Restrictions: - // - The entire annotations dictionary may contain up to 2000 characters, - // spread accoss all key-value pairs. Annotations that goes beyond any - // these limits will be rejected. - // - Valid annotation keys have two segments: an optional prefix and name, - // separated by a slash (/). The name segment is required and must be 63 - // characters or less, beginning and ending with an alphanumeric character - // ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and - // alphanumerics between. The prefix is optional. If specified, the prefix - // must be a DNS subdomain: a series of DNS labels separated by dots (.), - // not longer than 253 characters in total, followed by a slash (/). - // Annotations that fails to meet these requirements will be rejected. - // - The '(*.)google.com/' and '(*.)googleapis.com/' prefixes are reserved - // for system annotations managed by Service Directory. If the user tries - // to write to these keyspaces, those entries will be silently ignored by - // the system. - // Note: This field is equivalent to the 'metadata' field in the v1beta1 API. + // + // * The entire annotations dictionary may contain up to 2000 characters, + // spread accoss all key-value pairs. Annotations that go beyond this + // limit are rejected + // * Valid annotation keys have two segments: an optional prefix and name, + // separated by a slash (/). The name segment is required and must be 63 + // characters or less, beginning and ending with an alphanumeric character + // ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and + // alphanumerics between. The prefix is optional. If specified, the prefix + // must be a DNS subdomain: a series of DNS labels separated by dots (.), + // not longer than 253 characters in total, followed by a slash (/). + // Annotations that fails to meet these requirements are rejected + // + // Note: This field is equivalent to the `metadata` field in the v1beta1 API. // They have the same syntax and read/write to the same location in Service // Directory. map annotations = 4 [(google.api.field_behavior) = OPTIONAL]; // Output only. Endpoints associated with this service. Returned on - // LookupService.Resolve. Control plane clients should use - // RegistrationService.ListEndpoints. + // [LookupService.ResolveService][google.cloud.servicedirectory.v1.LookupService.ResolveService]. + // Control plane clients should use + // [RegistrationService.ListEndpoints][google.cloud.servicedirectory.v1.RegistrationService.ListEndpoints]. repeated Endpoint endpoints = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The globally unique identifier of the service in the UUID4 + // format. + string uid = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/cloud/servicedirectory/v1/servicedirectory_v1.yaml b/third_party/googleapis/google/cloud/servicedirectory/v1/servicedirectory_v1.yaml index a7120e8dc..e2ceafe00 100644 --- a/third_party/googleapis/google/cloud/servicedirectory/v1/servicedirectory_v1.yaml +++ b/third_party/googleapis/google/cloud/servicedirectory/v1/servicedirectory_v1.yaml @@ -4,6 +4,7 @@ name: servicedirectory.googleapis.com title: Service Directory API apis: +- name: google.cloud.location.Locations - name: google.cloud.servicedirectory.v1.LookupService - name: google.cloud.servicedirectory.v1.RegistrationService @@ -11,9 +12,30 @@ documentation: summary: |- Service Directory is a platform for discovering, publishing, and connecting services. + rules: + - selector: google.cloud.location.Locations.GetLocation + description: Gets information about a location. + + - selector: google.cloud.location.Locations.ListLocations + description: Lists information about the supported locations for this service. + +http: + rules: + - selector: google.cloud.location.Locations.GetLocation + get: '/v1/{name=projects/*/locations/*}' + - selector: google.cloud.location.Locations.ListLocations + get: '/v1/{name=projects/*}/locations' authentication: rules: + - selector: google.cloud.location.Locations.GetLocation + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform + - selector: google.cloud.location.Locations.ListLocations + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform - selector: google.cloud.servicedirectory.v1.LookupService.ResolveService oauth: canonical_scopes: |- diff --git a/third_party/googleapis/google/cloud/servicedirectory/v1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/servicedirectory/v1beta1/BUILD.bazel index 55beef783..960a220c2 100644 --- a/third_party/googleapis/google/cloud/servicedirectory/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/servicedirectory/v1beta1/BUILD.bazel @@ -45,6 +45,7 @@ proto_library_with_info( deps = [ ":servicedirectory_proto", "//google/cloud:common_resources_proto", + "//google/cloud/location:location_proto", ], ) @@ -74,15 +75,20 @@ java_grpc_library( java_gapic_library( name = "servicedirectory_java_gapic", srcs = [":servicedirectory_proto_with_info"], + gapic_yaml = None, grpc_service_config = "servicedirectory_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "servicedirectory_v1beta1.yaml", test_deps = [ - ":servicedirectory_java_grpc", + "//google/cloud/location:location_java_grpc", "//google/iam/v1:iam_java_grpc", + ":servicedirectory_java_grpc", ], transport = "grpc+rest", deps = [ ":servicedirectory_java_proto", + "//google/api:api_java_proto", + "//google/cloud/location:location_java_proto", "//google/iam/v1:iam_java_proto", ], ) @@ -119,7 +125,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -145,23 +150,18 @@ go_gapic_library( transport = "grpc+rest", deps = [ ":servicedirectory_go_proto", + "//google/cloud/location:location_go_proto", "//google/iam/v1:iam_go_proto", ], ) -go_test( - name = "servicedirectory_go_gapic_test", - srcs = [":servicedirectory_go_gapic_srcjar_test"], - embed = [":servicedirectory_go_gapic"], - importpath = "cloud.google.com/go/servicedirectory/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-servicedirectory-v1beta1-go", deps = [ ":servicedirectory_go_gapic", ":servicedirectory_go_gapic_srcjar-metadata.srcjar", + ":servicedirectory_go_gapic_srcjar-snippets.srcjar", ":servicedirectory_go_gapic_srcjar-test.srcjar", ":servicedirectory_go_proto", ], @@ -215,7 +215,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -224,21 +223,15 @@ php_proto_library( deps = [":servicedirectory_proto"], ) -php_grpc_library( - name = "servicedirectory_php_grpc", - srcs = [":servicedirectory_proto"], - deps = [":servicedirectory_php_proto"], -) - php_gapic_library( name = "servicedirectory_php_gapic", srcs = [":servicedirectory_proto_with_info"], grpc_service_config = "servicedirectory_grpc_service_config.json", + migration_mode = "PRE_MIGRATION_SURFACE_ONLY", rest_numeric_enums = True, service_yaml = "servicedirectory_v1beta1.yaml", transport = "grpc+rest", deps = [ - ":servicedirectory_php_grpc", ":servicedirectory_php_proto", ], ) @@ -248,7 +241,6 @@ php_gapic_assembly_pkg( name = "google-cloud-servicedirectory-v1beta1-php", deps = [ ":servicedirectory_php_gapic", - ":servicedirectory_php_grpc", ":servicedirectory_php_proto", ], ) @@ -321,6 +313,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Service directory is the single place to register, browse, and resolve application services.", ruby_cloud_title = "Service Directory V1beta1", service_yaml = "servicedirectory_v1beta1.yaml", + transport = "grpc+rest", deps = [ ":servicedirectory_ruby_grpc", ":servicedirectory_ruby_proto", @@ -350,6 +343,7 @@ load( csharp_proto_library( name = "servicedirectory_csharp_proto", + extra_opts = [], deps = [":servicedirectory_proto"], ) @@ -386,4 +380,20 @@ csharp_gapic_assembly_pkg( ############################################################################## # C++ ############################################################################## -# Put your C++ rules here +load( + "@com_google_googleapis_imports//:imports.bzl", + "cc_grpc_library", + "cc_proto_library", +) + +cc_proto_library( + name = "servicedirectory_cc_proto", + deps = [":servicedirectory_proto"], +) + +cc_grpc_library( + name = "servicedirectory_cc_grpc", + srcs = [":servicedirectory_proto"], + grpc_only = True, + deps = [":servicedirectory_cc_proto"], +) diff --git a/third_party/googleapis/google/cloud/servicedirectory/v1beta1/endpoint.proto b/third_party/googleapis/google/cloud/servicedirectory/v1beta1/endpoint.proto index d843b10df..50b34dc92 100644 --- a/third_party/googleapis/google/cloud/servicedirectory/v1beta1/endpoint.proto +++ b/third_party/googleapis/google/cloud/servicedirectory/v1beta1/endpoint.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -46,7 +46,8 @@ message Endpoint { // `projects/*/locations/*/namespaces/*/services/*/endpoints/*`. string name = 1 [(google.api.field_behavior) = IMMUTABLE]; - // Optional. An IPv4 or IPv6 address. Service Directory rejects bad addresses like: + // Optional. An IPv4 or IPv6 address. Service Directory rejects bad addresses + // like: // // * `8.8.8` // * `8.8.8.8:53` @@ -76,18 +77,14 @@ message Endpoint { // must be a DNS subdomain: a series of DNS labels separated by dots (.), // not longer than 253 characters in total, followed by a slash (/). // Metadata that fails to meet these requirements are rejected - // * The `(*.)google.com/` and `(*.)googleapis.com/` prefixes are reserved - // for system metadata managed by Service Directory. If the user tries - // to write to these keyspaces, those entries are silently ignored by - // the system // // Note: This field is equivalent to the `annotations` field in the v1 API. // They have the same syntax and read/write to the same location in Service // Directory. map metadata = 4 [(google.api.field_behavior) = OPTIONAL]; - // Immutable. The Google Compute Engine network (VPC) of the endpoint in the format - // `projects//locations/global/networks/*`. + // Immutable. The Google Compute Engine network (VPC) of the endpoint in the + // format `projects//locations/global/networks/*`. // // The project must be specified by project number (project id is rejected). // Incorrectly formatted networks are rejected, but no other validation @@ -101,8 +98,14 @@ message Endpoint { ]; // Output only. The timestamp when the endpoint was created. - google.protobuf.Timestamp create_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The timestamp when the endpoint was last updated. - google.protobuf.Timestamp update_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. A globally unique identifier (in UUID4 format) for this + // endpoint. + string uid = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/cloud/servicedirectory/v1beta1/lookup_service.proto b/third_party/googleapis/google/cloud/servicedirectory/v1beta1/lookup_service.proto index 1c1a0abe3..29ce2cb8a 100644 --- a/third_party/googleapis/google/cloud/servicedirectory/v1beta1/lookup_service.proto +++ b/third_party/googleapis/google/cloud/servicedirectory/v1beta1/lookup_service.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,10 +17,10 @@ syntax = "proto3"; package google.cloud.servicedirectory.v1beta1; import "google/api/annotations.proto"; +import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/servicedirectory/v1beta1/service.proto"; -import "google/api/client.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.ServiceDirectory.V1Beta1"; @@ -34,7 +34,8 @@ option ruby_package = "Google::Cloud::ServiceDirectory::V1beta1"; // Service Directory API for looking up service data at runtime. service LookupService { option (google.api.default_host) = "servicedirectory.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Returns a [service][google.cloud.servicedirectory.v1beta1.Service] and its // associated endpoints. @@ -47,7 +48,8 @@ service LookupService { } } -// The request message for [LookupService.ResolveService][google.cloud.servicedirectory.v1beta1.LookupService.ResolveService]. +// The request message for +// [LookupService.ResolveService][google.cloud.servicedirectory.v1beta1.LookupService.ResolveService]. // Looks up a service by its name, returns the service and its endpoints. message ResolveServiceRequest { // Required. The name of the service to resolve. @@ -58,8 +60,8 @@ message ResolveServiceRequest { } ]; - // Optional. The maximum number of endpoints to return. Defaults to 25. Maximum is 100. - // If a value less than one is specified, the Default is used. + // Optional. The maximum number of endpoints to return. Defaults to 25. + // Maximum is 100. If a value less than one is specified, the Default is used. // If a value greater than the Maximum is specified, the Maximum is used. int32 max_endpoints = 2 [(google.api.field_behavior) = OPTIONAL]; @@ -87,6 +89,9 @@ message ResolveServiceRequest { // `name>projects/my-project/locations/us-east1/namespaces/my-namespace/services/my-service/endpoints/endpoint-c` // returns endpoints that have name that is alphabetically later than the // string, so "endpoint-e" is returned but "endpoint-a" is not + // * + // `name=projects/my-project/locations/us-central1/namespaces/my-namespace/services/my-service/endpoints/ep-1` + // returns the endpoint that has an endpoint_id equal to `ep-1` // * `metadata.owner!=sd AND metadata.foo=bar` returns endpoints that have // `owner` in annotation key but value is not `sd` AND have key/value // `foo=bar` @@ -99,7 +104,8 @@ message ResolveServiceRequest { string endpoint_filter = 3 [(google.api.field_behavior) = OPTIONAL]; } -// The response message for [LookupService.ResolveService][google.cloud.servicedirectory.v1beta1.LookupService.ResolveService]. +// The response message for +// [LookupService.ResolveService][google.cloud.servicedirectory.v1beta1.LookupService.ResolveService]. message ResolveServiceResponse { Service service = 1; } diff --git a/third_party/googleapis/google/cloud/servicedirectory/v1beta1/namespace.proto b/third_party/googleapis/google/cloud/servicedirectory/v1beta1/namespace.proto index acb7474b7..b9210b5a0 100644 --- a/third_party/googleapis/google/cloud/servicedirectory/v1beta1/namespace.proto +++ b/third_party/googleapis/google/cloud/servicedirectory/v1beta1/namespace.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -48,8 +48,14 @@ message Namespace { map labels = 2 [(google.api.field_behavior) = OPTIONAL]; // Output only. The timestamp when the namespace was created. - google.protobuf.Timestamp create_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The timestamp when the namespace was last updated. - google.protobuf.Timestamp update_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. A globally unique identifier (in UUID4 format) for this + // namespace. + string uid = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/cloud/servicedirectory/v1beta1/registration_service.proto b/third_party/googleapis/google/cloud/servicedirectory/v1beta1/registration_service.proto index 8dae29403..806b1d6b6 100644 --- a/third_party/googleapis/google/cloud/servicedirectory/v1beta1/registration_service.proto +++ b/third_party/googleapis/google/cloud/servicedirectory/v1beta1/registration_service.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -54,7 +54,8 @@ option ruby_package = "Google::Cloud::ServiceDirectory::V1beta1"; // `projects/*/locations/*/namespaces/*/services/*/endpoints/*`. service RegistrationService { option (google.api.default_host) = "servicedirectory.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Creates a namespace, and returns the new namespace. rpc CreateNamespace(CreateNamespaceRequest) returns (Namespace) { @@ -184,8 +185,9 @@ service RegistrationService { option (google.api.method_signature) = "name"; } - // Gets the IAM Policy for a resource (namespace or service only). - rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) { + // Gets the IAM Policy for a resource + rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v1beta1/{resource=projects/*/locations/*/namespaces/*}:getIamPolicy" body: "*" @@ -193,11 +195,16 @@ service RegistrationService { post: "/v1beta1/{resource=projects/*/locations/*/namespaces/*/services/*}:getIamPolicy" body: "*" } + additional_bindings { + post: "/v1beta1/{resource=projects/*/locations/*/namespaces/*/workloads/*}:getIamPolicy" + body: "*" + } }; } - // Sets the IAM Policy for a resource (namespace or service only). - rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) { + // Sets the IAM Policy for a resource + rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v1beta1/{resource=projects/*/locations/*/namespaces/*}:setIamPolicy" body: "*" @@ -205,11 +212,17 @@ service RegistrationService { post: "/v1beta1/{resource=projects/*/locations/*/namespaces/*/services/*}:setIamPolicy" body: "*" } + additional_bindings { + post: "/v1beta1/{resource=projects/*/locations/*/namespaces/*/workloads/*}:setIamPolicy" + body: "*" + } }; } - // Tests IAM permissions for a resource (namespace or service only). - rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) { + // Tests IAM permissions for a resource (namespace, service or + // service workload only). + rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) + returns (google.iam.v1.TestIamPermissionsResponse) { option (google.api.http) = { post: "/v1beta1/{resource=projects/*/locations/*/namespaces/*}:testIamPermissions" body: "*" @@ -217,11 +230,16 @@ service RegistrationService { post: "/v1beta1/{resource=projects/*/locations/*/namespaces/*/services/*}:testIamPermissions" body: "*" } + additional_bindings { + post: "/v1beta1/{resource=projects/*/locations/*/namespaces/*/workloads/*}:testIamPermissions" + body: "*" + } }; } } -// The request message for [RegistrationService.CreateNamespace][google.cloud.servicedirectory.v1beta1.RegistrationService.CreateNamespace]. +// The request message for +// [RegistrationService.CreateNamespace][google.cloud.servicedirectory.v1beta1.RegistrationService.CreateNamespace]. message CreateNamespaceRequest { // Required. The resource name of the project and location the namespace // will be created in. @@ -245,10 +263,11 @@ message CreateNamespaceRequest { Namespace namespace = 3 [(google.api.field_behavior) = REQUIRED]; } -// The request message for [RegistrationService.ListNamespaces][google.cloud.servicedirectory.v1beta1.RegistrationService.ListNamespaces]. +// The request message for +// [RegistrationService.ListNamespaces][google.cloud.servicedirectory.v1beta1.RegistrationService.ListNamespaces]. message ListNamespacesRequest { - // Required. The resource name of the project and location whose namespaces you'd like - // to list. + // Required. The resource name of the project and location whose namespaces + // you'd like to list. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -259,7 +278,8 @@ message ListNamespacesRequest { // Optional. The maximum number of items to return. int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. The next_page_token value returned from a previous List request, if any. + // Optional. The next_page_token value returned from a previous List request, + // if any. string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; // Optional. The filter to list results by. @@ -267,7 +287,8 @@ message ListNamespacesRequest { // General `filter` string syntax: // ` ()` // - // * `` can be `name` or `labels.` for map field + // * `` can be `name`, `labels.` for map field, or + // `attributes.` for attributes field // * `` can be `<`, `>`, `<=`, `>=`, `!=`, `=`, `:`. Of which `:` // means `HAS`, and is roughly the same as `=` // * `` must be the same data type as field @@ -286,6 +307,8 @@ message ListNamespacesRequest { // * `doesnotexist.foo=bar` returns an empty list. Note that namespace // doesn't have a field called "doesnotexist". Since the filter does not // match any namespaces, it returns no results + // * `attributes.managed_registration=true` returns namespaces that are + // managed by a GCP product or service // // For more information about filtering, see // [API Filtering](https://aip.dev/160). @@ -304,7 +327,8 @@ message ListNamespacesRequest { string order_by = 5 [(google.api.field_behavior) = OPTIONAL]; } -// The response message for [RegistrationService.ListNamespaces][google.cloud.servicedirectory.v1beta1.RegistrationService.ListNamespaces]. +// The response message for +// [RegistrationService.ListNamespaces][google.cloud.servicedirectory.v1beta1.RegistrationService.ListNamespaces]. message ListNamespacesResponse { // The list of namespaces. repeated Namespace namespaces = 1; @@ -314,7 +338,8 @@ message ListNamespacesResponse { string next_page_token = 2; } -// The request message for [RegistrationService.GetNamespace][google.cloud.servicedirectory.v1beta1.RegistrationService.GetNamespace]. +// The request message for +// [RegistrationService.GetNamespace][google.cloud.servicedirectory.v1beta1.RegistrationService.GetNamespace]. message GetNamespaceRequest { // Required. The name of the namespace to retrieve. string name = 1 [ @@ -325,16 +350,19 @@ message GetNamespaceRequest { ]; } -// The request message for [RegistrationService.UpdateNamespace][google.cloud.servicedirectory.v1beta1.RegistrationService.UpdateNamespace]. +// The request message for +// [RegistrationService.UpdateNamespace][google.cloud.servicedirectory.v1beta1.RegistrationService.UpdateNamespace]. message UpdateNamespaceRequest { // Required. The updated namespace. Namespace namespace = 1 [(google.api.field_behavior) = REQUIRED]; // Required. List of fields to be updated in this request. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; } -// The request message for [RegistrationService.DeleteNamespace][google.cloud.servicedirectory.v1beta1.RegistrationService.DeleteNamespace]. +// The request message for +// [RegistrationService.DeleteNamespace][google.cloud.servicedirectory.v1beta1.RegistrationService.DeleteNamespace]. message DeleteNamespaceRequest { // Required. The name of the namespace to delete. string name = 1 [ @@ -345,7 +373,8 @@ message DeleteNamespaceRequest { ]; } -// The request message for [RegistrationService.CreateService][google.cloud.servicedirectory.v1beta1.RegistrationService.CreateService]. +// The request message for +// [RegistrationService.CreateService][google.cloud.servicedirectory.v1beta1.RegistrationService.CreateService]. message CreateServiceRequest { // Required. The resource name of the namespace this service will belong to. string parent = 1 [ @@ -368,7 +397,8 @@ message CreateServiceRequest { Service service = 3 [(google.api.field_behavior) = REQUIRED]; } -// The request message for [RegistrationService.ListServices][google.cloud.servicedirectory.v1beta1.RegistrationService.ListServices]. +// The request message for +// [RegistrationService.ListServices][google.cloud.servicedirectory.v1beta1.RegistrationService.ListServices]. message ListServicesRequest { // Required. The resource name of the namespace whose services you'd // like to list. @@ -413,6 +443,9 @@ message ListServicesRequest { // * `doesnotexist.foo=bar` returns an empty list. Note that service // doesn't have a field called "doesnotexist". Since the filter does not // match any services, it returns no results + // * `attributes.managed_registration=true` returns services that are + // managed + // by a GCP product or service // // For more information about filtering, see // [API Filtering](https://aip.dev/160). @@ -431,7 +464,8 @@ message ListServicesRequest { string order_by = 5 [(google.api.field_behavior) = OPTIONAL]; } -// The response message for [RegistrationService.ListServices][google.cloud.servicedirectory.v1beta1.RegistrationService.ListServices]. +// The response message for +// [RegistrationService.ListServices][google.cloud.servicedirectory.v1beta1.RegistrationService.ListServices]. message ListServicesResponse { // The list of services. repeated Service services = 1; @@ -441,8 +475,9 @@ message ListServicesResponse { string next_page_token = 2; } -// The request message for [RegistrationService.GetService][google.cloud.servicedirectory.v1beta1.RegistrationService.GetService]. -// This should not be used for looking up a service. Insead, use the `resolve` +// The request message for +// [RegistrationService.GetService][google.cloud.servicedirectory.v1beta1.RegistrationService.GetService]. +// This should not be used for looking up a service. Instead, use the `resolve` // method as it contains all endpoints and associated metadata. message GetServiceRequest { // Required. The name of the service to get. @@ -454,16 +489,19 @@ message GetServiceRequest { ]; } -// The request message for [RegistrationService.UpdateService][google.cloud.servicedirectory.v1beta1.RegistrationService.UpdateService]. +// The request message for +// [RegistrationService.UpdateService][google.cloud.servicedirectory.v1beta1.RegistrationService.UpdateService]. message UpdateServiceRequest { // Required. The updated service. Service service = 1 [(google.api.field_behavior) = REQUIRED]; // Required. List of fields to be updated in this request. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; } -// The request message for [RegistrationService.DeleteService][google.cloud.servicedirectory.v1beta1.RegistrationService.DeleteService]. +// The request message for +// [RegistrationService.DeleteService][google.cloud.servicedirectory.v1beta1.RegistrationService.DeleteService]. message DeleteServiceRequest { // Required. The name of the service to delete. string name = 1 [ @@ -474,7 +512,8 @@ message DeleteServiceRequest { ]; } -// The request message for [RegistrationService.CreateEndpoint][google.cloud.servicedirectory.v1beta1.RegistrationService.CreateEndpoint]. +// The request message for +// [RegistrationService.CreateEndpoint][google.cloud.servicedirectory.v1beta1.RegistrationService.CreateEndpoint]. message CreateEndpointRequest { // Required. The resource name of the service that this endpoint provides. string parent = 1 [ @@ -497,7 +536,8 @@ message CreateEndpointRequest { Endpoint endpoint = 3 [(google.api.field_behavior) = REQUIRED]; } -// The request message for [RegistrationService.ListEndpoints][google.cloud.servicedirectory.v1beta1.RegistrationService.ListEndpoints]. +// The request message for +// [RegistrationService.ListEndpoints][google.cloud.servicedirectory.v1beta1.RegistrationService.ListEndpoints]. message ListEndpointsRequest { // Required. The resource name of the service whose endpoints you'd like to // list. @@ -520,8 +560,8 @@ message ListEndpointsRequest { // General `filter` string syntax: // ` ()` // - // * `` can be `name`, `address`, `port`, or `metadata.` for map - // field + // * `` can be `name`, `address`, `port`, `metadata.` for map + // field, or `attributes.` for attributes field // * `` can be `<`, `>`, `<=`, `>=`, `!=`, `=`, `:`. Of which `:` // means `HAS`, and is roughly the same as `=` // * `` must be the same data type as field @@ -545,6 +585,8 @@ message ListEndpointsRequest { // * `doesnotexist.foo=bar` returns an empty list. Note that endpoint // doesn't have a field called "doesnotexist". Since the filter does not // match any endpoints, it returns no results + // * `attributes.kubernetes_resource_type=KUBERNETES_RESOURCE_TYPE_CLUSTER_ + // IP` returns endpoints with the corresponding kubernetes_resource_type // // For more information about filtering, see // [API Filtering](https://aip.dev/160). @@ -563,7 +605,8 @@ message ListEndpointsRequest { string order_by = 5 [(google.api.field_behavior) = OPTIONAL]; } -// The response message for [RegistrationService.ListEndpoints][google.cloud.servicedirectory.v1beta1.RegistrationService.ListEndpoints]. +// The response message for +// [RegistrationService.ListEndpoints][google.cloud.servicedirectory.v1beta1.RegistrationService.ListEndpoints]. message ListEndpointsResponse { // The list of endpoints. repeated Endpoint endpoints = 1; @@ -573,7 +616,8 @@ message ListEndpointsResponse { string next_page_token = 2; } -// The request message for [RegistrationService.GetEndpoint][google.cloud.servicedirectory.v1beta1.RegistrationService.GetEndpoint]. +// The request message for +// [RegistrationService.GetEndpoint][google.cloud.servicedirectory.v1beta1.RegistrationService.GetEndpoint]. // This should not be used to lookup endpoints at runtime. Instead, use // the `resolve` method. message GetEndpointRequest { @@ -586,16 +630,19 @@ message GetEndpointRequest { ]; } -// The request message for [RegistrationService.UpdateEndpoint][google.cloud.servicedirectory.v1beta1.RegistrationService.UpdateEndpoint]. +// The request message for +// [RegistrationService.UpdateEndpoint][google.cloud.servicedirectory.v1beta1.RegistrationService.UpdateEndpoint]. message UpdateEndpointRequest { // Required. The updated endpoint. Endpoint endpoint = 1 [(google.api.field_behavior) = REQUIRED]; // Required. List of fields to be updated in this request. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; } -// The request message for [RegistrationService.DeleteEndpoint][google.cloud.servicedirectory.v1beta1.RegistrationService.DeleteEndpoint]. +// The request message for +// [RegistrationService.DeleteEndpoint][google.cloud.servicedirectory.v1beta1.RegistrationService.DeleteEndpoint]. message DeleteEndpointRequest { // Required. The name of the endpoint to delete. string name = 1 [ diff --git a/third_party/googleapis/google/cloud/servicedirectory/v1beta1/service.proto b/third_party/googleapis/google/cloud/servicedirectory/v1beta1/service.proto index 12b7e58a1..22ef43f40 100644 --- a/third_party/googleapis/google/cloud/servicedirectory/v1beta1/service.proto +++ b/third_party/googleapis/google/cloud/servicedirectory/v1beta1/service.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -60,10 +60,6 @@ message Service { // must be a DNS subdomain: a series of DNS labels separated by dots (.), // not longer than 253 characters in total, followed by a slash (/). // Metadata that fails to meet these requirements are rejected - // * The `(*.)google.com/` and `(*.)googleapis.com/` prefixes are reserved - // for system metadata managed by Service Directory. If the user tries - // to write to these keyspaces, those entries are silently ignored by - // the system // // Note: This field is equivalent to the `annotations` field in the v1 API. // They have the same syntax and read/write to the same location in Service @@ -71,15 +67,22 @@ message Service { map metadata = 2 [(google.api.field_behavior) = OPTIONAL]; // Output only. Endpoints associated with this service. Returned on - // [LookupService.ResolveService][google.cloud.servicedirectory.v1beta1.LookupService.ResolveService]. Control plane clients should use + // [LookupService.ResolveService][google.cloud.servicedirectory.v1beta1.LookupService.ResolveService]. + // Control plane clients should use // [RegistrationService.ListEndpoints][google.cloud.servicedirectory.v1beta1.RegistrationService.ListEndpoints]. repeated Endpoint endpoints = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The timestamp when the service was created. - google.protobuf.Timestamp create_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The timestamp when the service was last updated. Note: endpoints being - // created/deleted/updated within the service are not considered service - // updates for the purpose of this timestamp. - google.protobuf.Timestamp update_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The timestamp when the service was last updated. Note: + // endpoints being created/deleted/updated within the service are not + // considered service updates for the purpose of this timestamp. + google.protobuf.Timestamp update_time = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. A globally unique identifier (in UUID4 format) for this + // service. + string uid = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/cloud/servicedirectory/v1beta1/servicedirectory_v1beta1.yaml b/third_party/googleapis/google/cloud/servicedirectory/v1beta1/servicedirectory_v1beta1.yaml index a1d4bfe71..f198f14e1 100644 --- a/third_party/googleapis/google/cloud/servicedirectory/v1beta1/servicedirectory_v1beta1.yaml +++ b/third_party/googleapis/google/cloud/servicedirectory/v1beta1/servicedirectory_v1beta1.yaml @@ -4,6 +4,7 @@ name: servicedirectory.googleapis.com title: Service Directory API apis: +- name: google.cloud.location.Locations - name: google.cloud.servicedirectory.v1beta1.LookupService - name: google.cloud.servicedirectory.v1beta1.RegistrationService diff --git a/third_party/googleapis/google/cloud/shell/BUILD.bazel b/third_party/googleapis/google/cloud/shell/BUILD.bazel index e5d0b4ee2..48041630f 100644 --- a/third_party/googleapis/google/cloud/shell/BUILD.bazel +++ b/third_party/googleapis/google/cloud/shell/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-shell", "ruby-cloud-env-prefix=CLOUD_SHELL", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.7", "ruby-cloud-product-url=https://cloud.google.com/shell/", "ruby-cloud-api-id=cloudshell.googleapis.com", "ruby-cloud-api-shortname=cloudshell", ], ruby_cloud_description = "Cloud Shell is an interactive shell environment for Google Cloud that makes it easy for you to learn and experiment with Google Cloud and manage your projects and resources from your web browser.", ruby_cloud_title = "Cloud Shell", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/shell/v1/BUILD.bazel b/third_party/googleapis/google/cloud/shell/v1/BUILD.bazel index f8e390520..ac3c0794d 100644 --- a/third_party/googleapis/google/cloud/shell/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/shell/v1/BUILD.bazel @@ -70,6 +70,7 @@ java_gapic_library( srcs = [":shell_proto_with_info"], grpc_service_config = "cloudshell_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "cloudshell_v1.yaml", test_deps = [ ":shell_java_grpc", ], @@ -109,7 +110,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -141,19 +141,13 @@ go_gapic_library( ], ) -go_test( - name = "shell_go_gapic_test", - srcs = [":shell_go_gapic_srcjar_test"], - embed = [":shell_go_gapic"], - importpath = "cloud.google.com/go/shell/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-shell-v1-go", deps = [ ":shell_go_gapic", ":shell_go_gapic_srcjar-metadata.srcjar", + ":shell_go_gapic_srcjar-snippets.srcjar", ":shell_go_gapic_srcjar-test.srcjar", ":shell_go_proto", ], @@ -203,7 +197,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -212,23 +205,15 @@ php_proto_library( deps = [":shell_proto"], ) -php_grpc_library( - name = "shell_php_grpc", - srcs = [":shell_proto"], - deps = [":shell_php_proto"], -) - php_gapic_library( name = "shell_php_gapic", srcs = [":shell_proto_with_info"], grpc_service_config = "cloudshell_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "cloudshell_v1.yaml", transport = "grpc+rest", - deps = [ - ":shell_php_grpc", - ":shell_php_proto", - ], + deps = [":shell_php_proto"], ) # Open Source Packages @@ -236,7 +221,6 @@ php_gapic_assembly_pkg( name = "google-cloud-shell-v1-php", deps = [ ":shell_php_gapic", - ":shell_php_grpc", ":shell_php_proto", ], ) @@ -308,6 +292,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Cloud Shell is an interactive shell environment for Google Cloud that makes it easy for you to learn and experiment with Google Cloud and manage your projects and resources from your web browser.", ruby_cloud_title = "Cloud Shell V1", service_yaml = "cloudshell_v1.yaml", + transport = "grpc+rest", deps = [ ":shell_ruby_grpc", ":shell_ruby_proto", diff --git a/third_party/googleapis/google/cloud/shell/v1/cloudshell.proto b/third_party/googleapis/google/cloud/shell/v1/cloudshell.proto index e27e43474..6d78582de 100644 --- a/third_party/googleapis/google/cloud/shell/v1/cloudshell.proto +++ b/third_party/googleapis/google/cloud/shell/v1/cloudshell.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/speech/BUILD.bazel b/third_party/googleapis/google/cloud/speech/BUILD.bazel index f29ff3a06..6969c3d78 100644 --- a/third_party/googleapis/google/cloud/speech/BUILD.bazel +++ b/third_party/googleapis/google/cloud/speech/BUILD.bazel @@ -22,7 +22,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-speech", "ruby-cloud-env-prefix=SPEECH", - "ruby-cloud-wrapper-of=v1:0.11;v1p1beta1:0.16", + "ruby-cloud-wrapper-of=v1:0.16;v1p1beta1:0.20", "ruby-cloud-product-url=https://cloud.google.com/speech-to-text", "ruby-cloud-api-id=speech.googleapis.com", "ruby-cloud-api-shortname=speech", diff --git a/third_party/googleapis/google/cloud/speech/README.md b/third_party/googleapis/google/cloud/speech/README.md index c45f0f21a..e53569569 100644 --- a/third_party/googleapis/google/cloud/speech/README.md +++ b/third_party/googleapis/google/cloud/speech/README.md @@ -1,3 +1,3 @@ # Introduction -Google Cloud Speech API provides speech recognition as a service. +Google Cloud Speech-to-Text API provides speech recognition as a service. diff --git a/third_party/googleapis/google/cloud/speech/v1/BUILD.bazel b/third_party/googleapis/google/cloud/speech/v1/BUILD.bazel index b37f03112..e22e7d302 100644 --- a/third_party/googleapis/google/cloud/speech/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/speech/v1/BUILD.bazel @@ -120,7 +120,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -154,19 +153,13 @@ go_gapic_library( ], ) -go_test( - name = "speech_go_gapic_test", - srcs = [":speech_go_gapic_srcjar_test"], - embed = [":speech_go_gapic"], - importpath = "cloud.google.com/go/speech/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-speech-v1-go", deps = [ ":speech_go_gapic", ":speech_go_gapic_srcjar-metadata.srcjar", + ":speech_go_gapic_srcjar-snippets.srcjar", ":speech_go_gapic_srcjar-test.srcjar", ":speech_go_proto", ], @@ -216,7 +209,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -225,12 +217,6 @@ php_proto_library( deps = [":speech_proto"], ) -php_grpc_library( - name = "speech_php_grpc", - srcs = [":speech_proto"], - deps = [":speech_php_proto"], -) - php_gapic_library( name = "speech_php_gapic", srcs = [":speech_proto_with_info"], @@ -238,10 +224,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "speech_v1.yaml", transport = "grpc+rest", - deps = [ - ":speech_php_grpc", - ":speech_php_proto", - ], + deps = [":speech_php_proto"], ) # Open Source Packages @@ -249,7 +232,6 @@ php_gapic_assembly_pkg( name = "google-cloud-speech-v1-php", deps = [ ":speech_php_gapic", - ":speech_php_grpc", ":speech_php_proto", ], ) diff --git a/third_party/googleapis/google/cloud/speech/v1/cloud_speech.proto b/third_party/googleapis/google/cloud/speech/v1/cloud_speech.proto index 94cfd6126..7a74e6a32 100644 --- a/third_party/googleapis/google/cloud/speech/v1/cloud_speech.proto +++ b/third_party/googleapis/google/cloud/speech/v1/cloud_speech.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -260,6 +260,12 @@ message RecognitionConfig { // wideband is supported. `sample_rate_hertz` must be 16000. SPEEX_WITH_HEADER_BYTE = 7; + // MP3 audio. MP3 encoding is a Beta feature and only available in + // v1p1beta1. Support all standard MP3 bitrates (which range from 32-320 + // kbps). When using this encoding, `sample_rate_hertz` has to match the + // sample rate of the file being used. + MP3 = 8; + // Opus encoded audio frames in WebM container // ([OggOpus](https://wiki.xiph.org/OggOpus)). `sample_rate_hertz` must be // one of 8000, 12000, 16000, 24000, or 48000. @@ -343,6 +349,13 @@ message RecognitionConfig { // When speech adaptation is set it supersedes the `speech_contexts` field. SpeechAdaptation adaptation = 20; + // Optional. Use transcription normalization to automatically replace parts of + // the transcript with phrases of your choosing. For StreamingRecognize, this + // normalization only applies to stable partial transcripts (stability > 0.8) + // and final transcripts. + TranscriptNormalization transcript_normalization = 24 + [(google.api.field_behavior) = OPTIONAL]; + // Array of [SpeechContext][google.cloud.speech.v1.SpeechContext]. // A means to provide context to assist the speech recognition. For more // information, see @@ -463,8 +476,8 @@ message RecognitionConfig { // Config to enable speaker diarization. message SpeakerDiarizationConfig { // If 'true', enables speaker detection for each recognized word in - // the top alternative of the recognition result using a speaker_tag provided - // in the WordInfo. + // the top alternative of the recognition result using a speaker_label + // provided in the WordInfo. bool enable_speaker_diarization = 1; // Minimum number of speakers in the conversation. This range gives you more @@ -956,9 +969,19 @@ message WordInfo { // Output only. A distinct integer value is assigned for every speaker within // the audio. This field specifies which one of those speakers was detected to // have spoken this word. Value ranges from '1' to diarization_speaker_count. - // speaker_tag is set if enable_speaker_diarization = 'true' and only in the + // speaker_tag is set if enable_speaker_diarization = 'true' and only for the // top alternative. - int32 speaker_tag = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Note: Use speaker_label instead. + int32 speaker_tag = 5 + [deprecated = true, (google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. A label value assigned for every unique speaker within the + // audio. This field specifies which speaker was detected to have spoken this + // word. For some models, like medical_conversation this can be actual speaker + // role, for example "patient" or "provider", but generally this would be a + // number identifying a speaker. This field is only set if + // enable_speaker_diarization = 'true' and only for the top alternative. + string speaker_label = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Information on speech adaptation use in results diff --git a/third_party/googleapis/google/cloud/speech/v1/cloud_speech_adaptation.proto b/third_party/googleapis/google/cloud/speech/v1/cloud_speech_adaptation.proto index a7a9eb365..3153e7c9a 100644 --- a/third_party/googleapis/google/cloud/speech/v1/cloud_speech_adaptation.proto +++ b/third_party/googleapis/google/cloud/speech/v1/cloud_speech_adaptation.proto @@ -132,7 +132,7 @@ message CreatePhraseSetRequest { // Required. The parent resource where this phrase set will be created. // Format: // - // `projects/{project}/locations/{location}/phraseSets` + // `projects/{project}/locations/{location}` // // Speech-to-Text supports three locations: `global`, `us` (US North America), // and `eu` (Europe). If you are calling the `speech.googleapis.com` diff --git a/third_party/googleapis/google/cloud/speech/v1/resource.proto b/third_party/googleapis/google/cloud/speech/v1/resource.proto index fcfd4640a..d37c11baa 100644 --- a/third_party/googleapis/google/cloud/speech/v1/resource.proto +++ b/third_party/googleapis/google/cloud/speech/v1/resource.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -147,3 +147,27 @@ message SpeechAdaptation { // See specifications: https://www.w3.org/TR/speech-grammar ABNFGrammar abnf_grammar = 4; } + +// Transcription normalization configuration. Use transcription normalization +// to automatically replace parts of the transcript with phrases of your +// choosing. For StreamingRecognize, this normalization only applies to stable +// partial transcripts (stability > 0.8) and final transcripts. +message TranscriptNormalization { + // A single replacement configuration. + message Entry { + // What to replace. Max length is 100 characters. + string search = 1; + + // What to replace with. Max length is 100 characters. + string replace = 2; + + // Whether the search is case sensitive. + bool case_sensitive = 3; + } + + // A list of replacement entries. We will perform replacement with one entry + // at a time. For example, the second entry in ["cat" => "dog", "mountain cat" + // => "mountain dog"] will never be applied because we will always process the + // first entry before it. At most 100 entries. + repeated Entry entries = 1; +} diff --git a/third_party/googleapis/google/cloud/speech/v1p1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/speech/v1p1beta1/BUILD.bazel index 599d4b417..96e3fa4ad 100644 --- a/third_party/googleapis/google/cloud/speech/v1p1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/speech/v1p1beta1/BUILD.bazel @@ -77,12 +77,14 @@ java_gapic_library( srcs = [":speech_proto_with_info"], grpc_service_config = "speech_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "speech_v1p1beta1.yaml", test_deps = [ ":speech_java_grpc", ], transport = "grpc+rest", deps = [ ":speech_java_proto", + "//google/api:api_java_proto", ], ) @@ -118,7 +120,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -153,19 +154,13 @@ go_gapic_library( ], ) -go_test( - name = "speech_go_gapic_test", - srcs = [":speech_go_gapic_srcjar_test"], - embed = [":speech_go_gapic"], - importpath = "cloud.google.com/go/speech/apiv1p1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-speech-v1p1beta1-go", deps = [ ":speech_go_gapic", ":speech_go_gapic_srcjar-metadata.srcjar", + ":speech_go_gapic_srcjar-snippets.srcjar", ":speech_go_gapic_srcjar-test.srcjar", ":speech_go_proto", ], @@ -215,7 +210,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -224,12 +218,6 @@ php_proto_library( deps = [":speech_proto"], ) -php_grpc_library( - name = "speech_php_grpc", - srcs = [":speech_proto"], - deps = [":speech_php_proto"], -) - php_gapic_library( name = "speech_php_gapic", srcs = [":speech_proto_with_info"], @@ -237,10 +225,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "speech_v1p1beta1.yaml", transport = "grpc+rest", - deps = [ - ":speech_php_grpc", - ":speech_php_proto", - ], + deps = [":speech_php_proto"], ) # Open Source Packages @@ -248,7 +233,6 @@ php_gapic_assembly_pkg( name = "google-cloud-speech-v1p1beta1-php", deps = [ ":speech_php_gapic", - ":speech_php_grpc", ":speech_php_proto", ], ) diff --git a/third_party/googleapis/google/cloud/speech/v1p1beta1/cloud_speech_adaptation.proto b/third_party/googleapis/google/cloud/speech/v1p1beta1/cloud_speech_adaptation.proto index f805dfb57..8a381e0a3 100644 --- a/third_party/googleapis/google/cloud/speech/v1p1beta1/cloud_speech_adaptation.proto +++ b/third_party/googleapis/google/cloud/speech/v1p1beta1/cloud_speech_adaptation.proto @@ -132,7 +132,7 @@ message CreatePhraseSetRequest { // Required. The parent resource where this phrase set will be created. // Format: // - // `projects/{project}/locations/{location}/phraseSets` + // `projects/{project}/locations/{location}` // // Speech-to-Text supports three locations: `global`, `us` (US North America), // and `eu` (Europe). If you are calling the `speech.googleapis.com` diff --git a/third_party/googleapis/google/cloud/speech/v2/BUILD.bazel b/third_party/googleapis/google/cloud/speech/v2/BUILD.bazel index 0e93fd658..8e1ceb06d 100644 --- a/third_party/googleapis/google/cloud/speech/v2/BUILD.bazel +++ b/third_party/googleapis/google/cloud/speech/v2/BUILD.bazel @@ -41,6 +41,7 @@ proto_library_with_info( deps = [ ":speech_proto", "//google/cloud:common_resources_proto", + "//google/cloud/location:location_proto", ], ) @@ -76,11 +77,13 @@ java_gapic_library( service_yaml = "speech_v2.yaml", test_deps = [ ":speech_java_grpc", + "//google/cloud/location:location_java_grpc", ], transport = "grpc+rest", deps = [ ":speech_java_proto", "//google/api:api_java_proto", + "//google/cloud/location:location_java_proto", ], ) @@ -114,7 +117,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -135,12 +137,13 @@ go_gapic_library( grpc_service_config = "speech_grpc_service_config.json", importpath = "cloud.google.com/go/speech/apiv2;speech", metadata = True, - release_level = "beta", + release_level = "ga", rest_numeric_enums = True, service_yaml = "speech_v2.yaml", transport = "grpc+rest", deps = [ ":speech_go_proto", + "//google/cloud/location:location_go_proto", "//google/longrunning:longrunning_go_proto", "@com_google_cloud_go_longrunning//:go_default_library", "@com_google_cloud_go_longrunning//autogen:go_default_library", @@ -148,19 +151,13 @@ go_gapic_library( ], ) -go_test( - name = "speech_go_gapic_test", - srcs = [":speech_go_gapic_srcjar_test"], - embed = [":speech_go_gapic"], - importpath = "cloud.google.com/go/speech/apiv2", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-speech-v2-go", deps = [ ":speech_go_gapic", ":speech_go_gapic_srcjar-metadata.srcjar", + ":speech_go_gapic_srcjar-snippets.srcjar", ":speech_go_gapic_srcjar-test.srcjar", ":speech_go_proto", ], @@ -212,7 +209,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -221,21 +217,15 @@ php_proto_library( deps = [":speech_proto"], ) -php_grpc_library( - name = "speech_php_grpc", - srcs = [":speech_proto"], - deps = [":speech_php_proto"], -) - php_gapic_library( name = "speech_php_gapic", srcs = [":speech_proto_with_info"], grpc_service_config = "speech_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "speech_v2.yaml", transport = "grpc+rest", deps = [ - ":speech_php_grpc", ":speech_php_proto", ], ) @@ -245,7 +235,6 @@ php_gapic_assembly_pkg( name = "google-cloud-speech-v2-php", deps = [ ":speech_php_gapic", - ":speech_php_grpc", ":speech_php_proto", ], ) @@ -347,6 +336,7 @@ load( csharp_proto_library( name = "speech_csharp_proto", + extra_opts = [], deps = [":speech_proto"], ) diff --git a/third_party/googleapis/google/cloud/speech/v2/cloud_speech.proto b/third_party/googleapis/google/cloud/speech/v2/cloud_speech.proto index 246e48e16..d23d36d80 100644 --- a/third_party/googleapis/google/cloud/speech/v2/cloud_speech.proto +++ b/third_party/googleapis/google/cloud/speech/v2/cloud_speech.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -70,7 +70,7 @@ service Speech { // Returns the requested // [Recognizer][google.cloud.speech.v2.Recognizer]. Fails with - // [NOT_FOUND][google.rpc.Code.NOT_FOUND] if the requested recognizer doesn't + // [NOT_FOUND][google.rpc.Code.NOT_FOUND] if the requested Recognizer doesn't // exist. rpc GetRecognizer(GetRecognizerRequest) returns (Recognizer) { option (google.api.http) = { @@ -417,14 +417,14 @@ message OperationMetadata { UndeletePhraseSetRequest undelete_phrase_set_request = 20; // The UpdateConfigRequest that spawned the Operation. - UpdateConfigRequest update_config_request = 21; + UpdateConfigRequest update_config_request = 21 [deprecated = true]; } // The percent progress of the Operation. Values can range from 0-100. If the // value is 100, then the operation is finished. int32 progress_percent = 22; - // Specific metadata per RPC + // Specific metadata per RPC. oneof metadata { // Metadata specific to the BatchRecognize method. BatchRecognizeMetadata batch_recognize_metadata = 23; @@ -444,8 +444,8 @@ message ListRecognizersRequest { ]; // The maximum number of Recognizers to return. The service may return fewer - // than this value. If unspecified, at most 20 Recognizers will be returned. - // The maximum value is 20; values above 20 will be coerced to 20. + // than this value. If unspecified, at most 5 Recognizers will be returned. + // The maximum value is 100; values above 100 will be coerced to 100. int32 page_size = 2; // A page token, received from a previous @@ -585,37 +585,31 @@ message Recognizer { // characters or less. string display_name = 3; - // Required. Which model to use for recognition requests. Select the model - // best suited to your domain to get best results. - // - // Supported models: - // - // - `latest_long` + // Optional. This field is now deprecated. Prefer the + // [`model`][google.cloud.speech.v2.RecognitionConfig.model] field in the + // [`RecognitionConfig`][google.cloud.speech.v2.RecognitionConfig] message. // - // Best for long form content like media or conversation. + // Which model to use for recognition requests. Select the model best suited + // to your domain to get best results. // - // - `latest_short` + // Guidance for choosing which model to use can be found in the [Transcription + // Models + // Documentation](https://cloud.google.com/speech-to-text/v2/docs/transcription-model) + // and the models supported in each region can be found in the [Table Of + // Supported + // Models](https://cloud.google.com/speech-to-text/v2/docs/speech-to-text-supported-languages). + string model = 4 [deprecated = true, (google.api.field_behavior) = OPTIONAL]; + + // Optional. This field is now deprecated. Prefer the + // [`language_codes`][google.cloud.speech.v2.RecognitionConfig.language_codes] + // field in the + // [`RecognitionConfig`][google.cloud.speech.v2.RecognitionConfig] message. // - // Best for short form content like commands or single shot directed speech. - // When using this model, the service will stop transcribing audio after the - // first utterance is detected and completed. - // - // When using this model, - // [SEPARATE_RECOGNITION_PER_CHANNEL][google.cloud.speech.v2.RecognitionFeatures.MultiChannelMode.SEPARATE_RECOGNITION_PER_CHANNEL] - // is not supported; multi-channel audio is accepted, but only the first - // channel will be processed and transcribed. - string model = 4 [(google.api.field_behavior) = REQUIRED]; - - // Required. The language of the supplied audio as a + // The language of the supplied audio as a // [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. // - // Supported languages: - // - // - `en-US` - // - // - `en-GB` - // - // - `fr-FR` + // Supported languages for each model are listed in the [Table of Supported + // Models](https://cloud.google.com/speech-to-text/v2/docs/speech-to-text-supported-languages). // // If additional languages are provided, recognition result will contain // recognition in the most likely language detected. The recognition result @@ -623,7 +617,8 @@ message Recognizer { // When you create or update a Recognizer, these values are // stored in normalized BCP-47 form. For example, "en-us" is stored as // "en-US". - repeated string language_codes = 17 [(google.api.field_behavior) = REQUIRED]; + repeated string language_codes = 17 + [deprecated = true, (google.api.field_behavior) = OPTIONAL]; // Default configuration to use for requests with this Recognizer. // This can be overwritten by inline configuration in the @@ -689,15 +684,26 @@ message Recognizer { // Automatically detected decoding parameters. // Supported for the following encodings: +// // * WAV_LINEAR16: 16-bit signed little-endian PCM samples in a WAV container. +// // * WAV_MULAW: 8-bit companded mulaw samples in a WAV container. +// // * WAV_ALAW: 8-bit companded alaw samples in a WAV container. +// // * RFC4867_5_AMR: AMR frames with an rfc4867.5 header. +// // * RFC4867_5_AMRWB: AMR-WB frames with an rfc4867.5 header. +// // * FLAC: FLAC frames in the "native FLAC" container format. +// // * MP3: MPEG audio frames with optional (ignored) ID3 metadata. +// // * OGG_OPUS: Opus audio frames in an Ogg container. +// // * WEBM_OPUS: Opus audio frames in a WebM container. +// +// * M4A: M4A audio format. message AutoDetectDecodingConfig {} // Explicitly specified decoding parameters. @@ -725,16 +731,24 @@ message ExplicitDecodingConfig { // sampling rate of the audio source to 16000 Hz. If that's not possible, use // the native sample rate of the audio source (instead of re-sampling). // Supported for the following encodings: + // // * LINEAR16: Headerless 16-bit signed little-endian PCM samples. + // // * MULAW: Headerless 8-bit companded mulaw samples. + // // * ALAW: Headerless 8-bit companded alaw samples. int32 sample_rate_hertz = 2; // Number of channels present in the audio data sent for recognition. // Supported for the following encodings: + // // * LINEAR16: Headerless 16-bit signed little-endian PCM samples. + // // * MULAW: Headerless 8-bit companded mulaw samples. + // // * ALAW: Headerless 8-bit companded alaw samples. + // + // The maximum allowed value is 8. int32 audio_channel_count = 3; } @@ -742,7 +756,7 @@ message ExplicitDecodingConfig { message SpeakerDiarizationConfig { // Required. Minimum number of speakers in the conversation. This range gives // you more flexibility by allowing the system to automatically determine the - // correct number of speakers. If not set, the default value is 2. + // correct number of speakers. // // To fix the number of speakers detected in the audio, set // `min_speaker_count` = `max_speaker_count`. @@ -824,30 +838,54 @@ message RecognitionFeatures { int32 max_alternatives = 16; } +// Transcription normalization configuration. Use transcription normalization +// to automatically replace parts of the transcript with phrases of your +// choosing. For StreamingRecognize, this normalization only applies to stable +// partial transcripts (stability > 0.8) and final transcripts. +message TranscriptNormalization { + // A single replacement configuration. + message Entry { + // What to replace. Max length is 100 characters. + string search = 1; + + // What to replace with. Max length is 100 characters. + string replace = 2; + + // Whether the search is case sensitive. + bool case_sensitive = 3; + } + + // A list of replacement entries. We will perform replacement with one entry + // at a time. For example, the second entry in ["cat" => "dog", "mountain cat" + // => "mountain dog"] will never be applied because we will always process the + // first entry before it. At most 100 entries. + repeated Entry entries = 1; +} + // Provides "hints" to the speech recognizer to favor specific words and phrases -// in the results. Phrase sets can be specified as an inline resource, or a -// reference to an existing phrase set resource. +// in the results. PhraseSets can be specified as an inline resource, or a +// reference to an existing PhraseSet resource. message SpeechAdaptation { - // A biasing phrase set, which can be either a string referencing the name of - // an existing phrase set resource, or an inline definition of a phrase set. + // A biasing PhraseSet, which can be either a string referencing the name of + // an existing PhraseSets resource, or an inline definition of a PhraseSet. message AdaptationPhraseSet { oneof value { - // The name of an existing phrase set resource. The user must have read + // The name of an existing PhraseSet resource. The user must have read // access to the resource and it must not be deleted. string phrase_set = 1 [(google.api.resource_reference) = { type: "speech.googleapis.com/PhraseSet" }]; - // An inline defined phrase set. + // An inline defined PhraseSet. PhraseSet inline_phrase_set = 2; } } - // A list of inline or referenced phrase sets. + // A list of inline or referenced PhraseSets. repeated AdaptationPhraseSet phrase_sets = 1; - // A list of inline custom classes. Existing custom class resources can be - // referenced directly in a phrase set. + // A list of inline CustomClasses. Existing CustomClass resources can be + // referenced directly in a PhraseSet. repeated CustomClass custom_classes = 2; } @@ -865,12 +903,43 @@ message RecognitionConfig { ExplicitDecodingConfig explicit_decoding_config = 8; } + // Optional. Which model to use for recognition requests. Select the model + // best suited to your domain to get best results. + // + // Guidance for choosing which model to use can be found in the [Transcription + // Models + // Documentation](https://cloud.google.com/speech-to-text/v2/docs/transcription-model) + // and the models supported in each region can be found in the [Table Of + // Supported + // Models](https://cloud.google.com/speech-to-text/v2/docs/speech-to-text-supported-languages). + string model = 9 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The language of the supplied audio as a + // [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. + // Language tags are normalized to BCP-47 before they are used eg "en-us" + // becomes "en-US". + // + // Supported languages for each model are listed in the [Table of Supported + // Models](https://cloud.google.com/speech-to-text/v2/docs/speech-to-text-supported-languages). + // + // If additional languages are provided, recognition result will contain + // recognition in the most likely language detected. The recognition result + // will include the language tag of the language detected in the audio. + repeated string language_codes = 10 [(google.api.field_behavior) = OPTIONAL]; + // Speech recognition features to enable. RecognitionFeatures features = 2; // Speech adaptation context that weights recognizer predictions for specific // words and phrases. SpeechAdaptation adaptation = 6; + + // Optional. Use transcription normalization to automatically replace parts of + // the transcript with phrases of your choosing. For StreamingRecognize, this + // normalization only applies to stable partial transcripts (stability > 0.8) + // and final transcripts. + TranscriptNormalization transcript_normalization = 11 + [(google.api.field_behavior) = OPTIONAL]; } // Request message for the @@ -881,7 +950,8 @@ message RecognitionConfig { message RecognizeRequest { // Required. The name of the Recognizer to use during recognition. The // expected format is - // `projects/{project}/locations/{location}/recognizers/{recognizer}`. + // `projects/{project}/locations/{location}/recognizers/{recognizer}`. The + // {recognizer} segment may be set to `_` to use an empty implicit Recognizer. string recognizer = 3 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -955,9 +1025,9 @@ message SpeechRecognitionAlternative { float confidence = 2; // A list of word-specific information for each recognized word. - // When - // [enable_speaker_diarization][google.cloud.speech.v2.SpeakerDiarizationConfig.enable_speaker_diarization] - // is true, you will see all the words from the beginning of the audio. + // When the + // [SpeakerDiarizationConfig][google.cloud.speech.v2.SpeakerDiarizationConfig] + // is set, you will see all the words from the beginning of the audio. repeated WordInfo words = 3; } @@ -995,8 +1065,8 @@ message WordInfo { // A distinct label is assigned for every speaker within the audio. This field // specifies which one of those speakers was detected to have spoken this // word. `speaker_label` is set if - // [enable_speaker_diarization][google.cloud.speech.v2.SpeakerDiarizationConfig.enable_speaker_diarization] - // is `true` and only in the top alternative. + // [SpeakerDiarizationConfig][google.cloud.speech.v2.SpeakerDiarizationConfig] + // is given and only in the top alternative. string speaker_label = 6; } @@ -1081,9 +1151,9 @@ message StreamingRecognitionConfig { // of the recognizer during this recognition request. If no mask is provided, // all non-default valued fields in // [config][google.cloud.speech.v2.StreamingRecognitionConfig.config] override - // the values in the recognizer for this recognition request. If a mask is + // the values in the Recognizer for this recognition request. If a mask is // provided, only the fields listed in the mask override the config in the - // recognizer for this recognition request. If a wildcard (`*`) is provided, + // Recognizer for this recognition request. If a wildcard (`*`) is provided, // [config][google.cloud.speech.v2.StreamingRecognitionConfig.config] // completely overrides and replaces the config in the recognizer for this // recognition request. @@ -1098,24 +1168,27 @@ message StreamingRecognitionConfig { // [StreamingRecognize][google.cloud.speech.v2.Speech.StreamingRecognize] // method. Multiple // [StreamingRecognizeRequest][google.cloud.speech.v2.StreamingRecognizeRequest] -// messages are sent. The first message must contain a +// messages are sent in one call. +// +// If the [Recognizer][google.cloud.speech.v2.Recognizer] referenced by +// [recognizer][google.cloud.speech.v2.StreamingRecognizeRequest.recognizer] +// contains a fully specified request configuration then the stream may only +// contain messages with only +// [audio][google.cloud.speech.v2.StreamingRecognizeRequest.audio] set. +// +// Otherwise the first message must contain a // [recognizer][google.cloud.speech.v2.StreamingRecognizeRequest.recognizer] and -// optionally a -// [streaming_config][google.cloud.speech.v2.StreamingRecognizeRequest.streaming_config] -// message and must not contain -// [audio][google.cloud.speech.v2.StreamingRecognizeRequest.audio]. All -// subsequent messages must contain -// [audio][google.cloud.speech.v2.StreamingRecognizeRequest.audio] and must not -// contain a +// a // [streaming_config][google.cloud.speech.v2.StreamingRecognizeRequest.streaming_config] -// message. +// message that together fully specify the request configuration and must not +// contain [audio][google.cloud.speech.v2.StreamingRecognizeRequest.audio]. All +// subsequent messages must only have +// [audio][google.cloud.speech.v2.StreamingRecognizeRequest.audio] set. message StreamingRecognizeRequest { - // Required. Streaming recognition should start with an initial request having - // a `recognizer`. Subsequent requests carry the audio data to be recognized. - // - // The initial request with configuration can be omitted if the Recognizer - // being used has a - // [default_recognition_config][google.cloud.speech.v2.Recognizer.default_recognition_config]. + // Required. The name of the Recognizer to use during recognition. The + // expected format is + // `projects/{project}/locations/{location}/recognizers/{recognizer}`. The + // {recognizer} segment may be set to `_` to use an empty implicit Recognizer. string recognizer = 3 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1130,6 +1203,7 @@ message StreamingRecognizeRequest { StreamingRecognitionConfig streaming_config = 6; // Inline audio bytes to be Recognized. + // Maximum size for this field is 15 KB per request. bytes audio = 5; } } @@ -1138,7 +1212,21 @@ message StreamingRecognizeRequest { // [BatchRecognize][google.cloud.speech.v2.Speech.BatchRecognize] // method. message BatchRecognizeRequest { - // Required. Resource name of the recognizer to be used for ASR. + // Possible processing strategies for batch requests. + enum ProcessingStrategy { + // Default value for the processing strategy. The request is processed as + // soon as its received. + PROCESSING_STRATEGY_UNSPECIFIED = 0; + + // If selected, processes the request during lower utilization periods for a + // price discount. The request is fulfilled within 24 hours. + DYNAMIC_BATCHING = 1; + } + + // Required. The name of the Recognizer to use during recognition. The + // expected format is + // `projects/{project}/locations/{location}/recognizers/{recognizer}`. The + // {recognizer} segment may be set to `_` to use an empty implicit Recognizer. string recognizer = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1170,7 +1258,40 @@ message BatchRecognizeRequest { google.protobuf.FieldMask config_mask = 5; // Audio files with file metadata for ASR. + // The maximum number of files allowed to be specified is 5. repeated BatchRecognizeFileMetadata files = 3; + + // Configuration options for where to output the transcripts of each file. + RecognitionOutputConfig recognition_output_config = 6; + + // Processing strategy to use for this request. + ProcessingStrategy processing_strategy = 7; +} + +// Output configurations for Cloud Storage. +message GcsOutputConfig { + // The Cloud Storage URI prefix with which recognition results will be + // written. + string uri = 1; +} + +// Output configurations for inline response. +message InlineOutputConfig {} + +// Configuration options for the output(s) of recognition. +message RecognitionOutputConfig { + oneof output { + // If this message is populated, recognition results are written to the + // provided Google Cloud Storage URI. + GcsOutputConfig gcs_output_config = 1; + + // If this message is populated, recognition results are provided in the + // [BatchRecognizeResponse][google.cloud.speech.v2.BatchRecognizeResponse] + // message of the Operation when completed. This is only supported when + // calling [BatchRecognize][google.cloud.speech.v2.Speech.BatchRecognize] + // with just one audio file. + InlineOutputConfig inline_response_config = 2; + } } // Response message for @@ -1179,15 +1300,62 @@ message BatchRecognizeRequest { message BatchRecognizeResponse { // Map from filename to the final result for that file. map results = 1; + + // When available, billed audio seconds for the corresponding request. + google.protobuf.Duration total_billed_duration = 2; } -// Final results for a single file. -message BatchRecognizeFileResult { - // The GCS URI to which recognition results were written. +// Output type for Cloud Storage of BatchRecognize transcripts. Though this +// proto isn't returned in this API anywhere, the Cloud Storage transcripts will +// be this proto serialized and should be parsed as such. +message BatchRecognizeResults { + // Sequential list of transcription results corresponding to sequential + // portions of audio. + repeated SpeechRecognitionResult results = 1; + + // Metadata about the recognition. + RecognitionResponseMetadata metadata = 2; +} + +// Final results written to Cloud Storage. +message CloudStorageResult { + // The Cloud Storage URI to which recognition results were written. string uri = 1; +} +// Final results returned inline in the recognition response. +message InlineResult { + // The transcript for the audio file. + BatchRecognizeResults transcript = 1; +} + +// Final results for a single file. +message BatchRecognizeFileResult { // Error if one was encountered. google.rpc.Status error = 2; + + RecognitionResponseMetadata metadata = 3; + + oneof result { + // Recognition results written to Cloud Storage. This is + // populated only when + // [GcsOutputConfig][google.cloud.speech.v2.GcsOutputConfig] is set in + // the + // [RecognitionOutputConfig][[google.cloud.speech.v2.RecognitionOutputConfig]. + CloudStorageResult cloud_storage_result = 5; + + // Recognition results. This is populated only when + // [InlineOutputConfig][google.cloud.speech.v2.InlineOutputConfig] is set in + // the + // [RecognitionOutputConfig][[google.cloud.speech.v2.RecognitionOutputConfig]. + InlineResult inline_result = 6; + } + + // Deprecated. Use `cloud_storage_result.native_format_uri` instead. + string uri = 1 [deprecated = true]; + + // Deprecated. Use `inline_result.transcript` instead. + BatchRecognizeResults transcript = 4 [deprecated = true]; } // Metadata about transcription for a single file (for example, progress @@ -1199,7 +1367,7 @@ message BatchRecognizeTranscriptionMetadata { // Error if one was encountered. google.rpc.Status error = 2; - // The GCS URI to which recognition results will be written. + // The Cloud Storage URI to which recognition results will be written. string uri = 3; } @@ -1562,11 +1730,11 @@ message PhraseSet { // be recognized over other similar sounding phrases. The higher the boost, // the higher the chance of false positive recognition as well. Negative // boost values would correspond to anti-biasing. Anti-biasing is not - // enabled, so negative boost will simply be ignored. Though `boost` can - // accept a wide range of positive values, most use cases are best served - // with values between 0 and 20. We recommend using a binary search approach - // to finding the optimal value for your use case. Speech recognition - // will skip PhraseSets with a boost value of 0. + // enabled, so negative boost values will return an error. Boost values must + // be between 0 and 20. Any values outside that range will return an error. + // We recommend using a binary search approach to finding the optimal value + // for your use case as well as adding phrases both with and without boost + // to your requests. float boost = 2; } @@ -1597,7 +1765,8 @@ message PhraseSet { // phrase will be recognized over other similar sounding phrases. The higher // the boost, the higher the chance of false positive recognition as well. // Valid `boost` values are between 0 (exclusive) and 20. We recommend using a - // binary search approach to finding the optimal value for your use case. + // binary search approach to finding the optimal value for your use case as + // well as adding phrases both with and without boost to your requests. float boost = 4; // User-settable, human-readable name for the PhraseSet. Must be 63 @@ -1699,10 +1868,10 @@ message ListCustomClassesRequest { } ]; - // Number of results per requests. A valid page_size ranges from 0 to 20 + // Number of results per requests. A valid page_size ranges from 0 to 100 // inclusive. If the page_size is zero or unspecified, a page size of 5 will - // be chosen. If the page size exceeds 20, it will be coerced down to 20. Note - // that a call might return fewer results than the requested page size. + // be chosen. If the page size exceeds 100, it will be coerced down to 100. + // Note that a call might return fewer results than the requested page size. int32 page_size = 2; // A page token, received from a previous @@ -1854,8 +2023,8 @@ message ListPhraseSetsRequest { ]; // The maximum number of PhraseSets to return. The service may return fewer - // than this value. If unspecified, at most 20 PhraseSets will be returned. - // The maximum value is 20; values above 20 will be coerced to 20. + // than this value. If unspecified, at most 5 PhraseSets will be returned. + // The maximum value is 100; values above 100 will be coerced to 100. int32 page_size = 2; // A page token, received from a previous diff --git a/third_party/googleapis/google/cloud/speech/v2/speech_v2.yaml b/third_party/googleapis/google/cloud/speech/v2/speech_v2.yaml index 2290d7648..513dc7db6 100644 --- a/third_party/googleapis/google/cloud/speech/v2/speech_v2.yaml +++ b/third_party/googleapis/google/cloud/speech/v2/speech_v2.yaml @@ -4,6 +4,7 @@ name: speech.googleapis.com title: Cloud Speech-to-Text API apis: +- name: google.cloud.location.Locations - name: google.cloud.speech.v2.Speech - name: google.longrunning.Operations @@ -24,16 +25,19 @@ documentation: # Introduction Google Cloud Speech API provides speech recognition as a service. - -backend: rules: - - selector: 'google.cloud.speech.v2.Speech.*' - deadline: 355.0 - - selector: 'google.longrunning.Operations.*' - deadline: 355.0 + - selector: google.cloud.location.Locations.GetLocation + description: Gets information about a location. + + - selector: google.cloud.location.Locations.ListLocations + description: Lists information about the supported locations for this service. http: rules: + - selector: google.cloud.location.Locations.GetLocation + get: '/v2/{name=projects/*/locations/*}' + - selector: google.cloud.location.Locations.ListLocations + get: '/v2/{name=projects/*}/locations' - selector: google.longrunning.Operations.CancelOperation post: '/v2/{name=projects/*/locations/*/operations/*}:cancel' body: '*' @@ -46,6 +50,14 @@ http: authentication: rules: + - selector: google.cloud.location.Locations.GetLocation + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform + - selector: google.cloud.location.Locations.ListLocations + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform - selector: 'google.cloud.speech.v2.Speech.*' oauth: canonical_scopes: |- diff --git a/third_party/googleapis/google/cloud/sql/v1/BUILD.bazel b/third_party/googleapis/google/cloud/sql/v1/BUILD.bazel index 7289e8064..d538616b3 100644 --- a/third_party/googleapis/google/cloud/sql/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/sql/v1/BUILD.bazel @@ -21,13 +21,17 @@ load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") proto_library( name = "sql_proto", srcs = [ + "cloud_sql_available_database_versions.proto", "cloud_sql_backup_runs.proto", "cloud_sql_connect.proto", "cloud_sql_databases.proto", + "cloud_sql_events.proto", "cloud_sql_flags.proto", + "cloud_sql_iam_policies.proto", "cloud_sql_instance_names.proto", "cloud_sql_instances.proto", "cloud_sql_operations.proto", + "cloud_sql_regions.proto", "cloud_sql_resources.proto", "cloud_sql_ssl_certs.proto", "cloud_sql_tiers.proto", @@ -37,6 +41,9 @@ proto_library( "//google/api:annotations_proto", "//google/api:client_proto", "//google/api:field_behavior_proto", + "//google/longrunning:operations_proto", + "@com_google_protobuf//:duration_proto", + "@com_google_protobuf//:empty_proto", "@com_google_protobuf//:timestamp_proto", "@com_google_protobuf//:wrappers_proto", ], @@ -47,6 +54,7 @@ proto_library_with_info( deps = [ ":sql_proto", "//google/cloud:common_resources_proto", + "//google/cloud/location:location_proto", ], ) @@ -55,9 +63,6 @@ proto_library_with_info( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "java_gapic_assembly_gradle_pkg", - "java_gapic_library", - "java_gapic_test", "java_grpc_library", "java_proto_library", ) @@ -125,10 +130,7 @@ java_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "go_gapic_assembly_pkg", - "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -138,6 +140,7 @@ go_proto_library( protos = [":sql_proto"], deps = [ "//google/api:annotations_go_proto", + "//google/longrunning:longrunning_go_proto", ], ) @@ -156,18 +159,12 @@ go_proto_library( # ], # ) -# go_test( -# name = "sql_go_gapic_test", -# srcs = [":sql_go_gapic_srcjar_test"], -# embed = [":sql_go_gapic"], -# importpath = "cloud.google.com/go/sql/apiv1", -# ) - # Open Source Packages # go_gapic_assembly_pkg( # name = "gapi-cloud-sql-v1-go", # deps = [ # ":sql_go_gapic", +# ":sql_go_gapic_srcjar-snippets.srcjar", # ":sql_go_gapic_srcjar-test.srcjar", # ":sql_go_gapic_srcjar-metadata.srcjar", # ":sql_go_proto", @@ -191,6 +188,8 @@ py_gapic_library( rest_numeric_enums = True, service_yaml = "sqladmin_v1.yaml", transport = "grpc", + deps = [ + ], ) py_test( @@ -218,7 +217,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -227,21 +225,15 @@ php_proto_library( deps = [":sql_proto"], ) -php_grpc_library( - name = "sql_php_grpc", - srcs = [":sql_proto"], - deps = [":sql_php_proto"], -) - php_gapic_library( name = "sql_php_gapic", srcs = [":sql_proto_with_info"], grpc_service_config = "sqladmin_grpc_service_config.json", + migration_mode = "NEW_SURFACE_ONLY", rest_numeric_enums = True, service_yaml = "sqladmin_v1.yaml", transport = "grpc+rest", deps = [ - ":sql_php_grpc", ":sql_php_proto", ], ) @@ -251,7 +243,6 @@ php_gapic_assembly_pkg( name = "google-cloud-sql-v1-php", deps = [ ":sql_php_gapic", - ":sql_php_grpc", ":sql_php_proto", ], ) @@ -311,12 +302,11 @@ ruby_grpc_library( ruby_cloud_gapic_library( name = "sql_ruby_gapic", srcs = [":sql_proto_with_info"], - extra_protoc_parameters = [ - "ruby-cloud-gem-name=google-cloud-sql-v1", - ], + extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-sql-v1"], grpc_service_config = "sqladmin_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "sqladmin_v1.yaml", + transport = "grpc+rest", deps = [ ":sql_ruby_grpc", ":sql_ruby_proto", @@ -338,14 +328,13 @@ ruby_gapic_assembly_pkg( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "csharp_gapic_assembly_pkg", - "csharp_gapic_library", "csharp_grpc_library", "csharp_proto_library", ) csharp_proto_library( name = "sql_csharp_proto", + extra_opts = [], deps = [":sql_proto"], ) diff --git a/third_party/googleapis/google/cloud/sql/v1/cloud_sql_backup_runs.proto b/third_party/googleapis/google/cloud/sql/v1/cloud_sql_backup_runs.proto index 77a8e9518..8f46a2491 100644 --- a/third_party/googleapis/google/cloud/sql/v1/cloud_sql_backup_runs.proto +++ b/third_party/googleapis/google/cloud/sql/v1/cloud_sql_backup_runs.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,9 +17,10 @@ syntax = "proto3"; package google.cloud.sql.v1; import "google/api/annotations.proto"; +import "google/api/client.proto"; +import "google/api/field_behavior.proto"; import "google/cloud/sql/v1/cloud_sql_resources.proto"; import "google/protobuf/timestamp.proto"; -import "google/api/client.proto"; option go_package = "cloud.google.com/go/sql/apiv1/sqlpb;sqlpb"; option java_multiple_files = true; @@ -123,7 +124,7 @@ message SqlBackupRunsListRequest { // A BackupRun resource. message BackupRun { - // This is always **sql#backupRun**. + // This is always `sql#backupRun`. string kind = 1; // The status of this run. @@ -131,7 +132,7 @@ message BackupRun { // The time the run was enqueued in UTC timezone in // [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example - // **2012-11-15T16:19:00.094Z**. + // `2012-11-15T16:19:00.094Z`. google.protobuf.Timestamp enqueued_time = 3; // The identifier for this backup run. Unique only for a specific Cloud SQL @@ -140,20 +141,21 @@ message BackupRun { // The time the backup operation actually started in UTC timezone in // [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example - // **2012-11-15T16:19:00.094Z**. + // `2012-11-15T16:19:00.094Z`. google.protobuf.Timestamp start_time = 5; // The time the backup operation completed in UTC timezone in // [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example - // **2012-11-15T16:19:00.094Z**. + // `2012-11-15T16:19:00.094Z`. google.protobuf.Timestamp end_time = 6; // Information about why the backup operation failed. This is only present if // the run has the FAILED status. OperationError error = 7; - // The type of this run; can be either "AUTOMATED" or "ON_DEMAND". This field - // defaults to "ON_DEMAND" and is ignored, when specified for insert requests. + // The type of this run; can be either "AUTOMATED" or "ON_DEMAND" or "FINAL". + // This field defaults to "ON_DEMAND" and is ignored, when specified for + // insert requests. SqlBackupRunType type = 8; // The description of this run, only applicable to on-demand backups. @@ -161,7 +163,7 @@ message BackupRun { // The start time of the backup window during which this the backup was // attempted in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for - // example **2012-11-15T16:19:00.094Z**. + // example `2012-11-15T16:19:00.094Z`. google.protobuf.Timestamp window_start_time = 10; // Name of the database instance. @@ -181,11 +183,15 @@ message BackupRun { // Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT. SqlBackupKind backup_kind = 19; + + // Backup time zone to prevent restores to an instance with + // a different time zone. Now relevant only for SQL Server. + string time_zone = 23; } // Backup run list results. message BackupRunsListResponse { - // This is always **sql#backupRunsList**. + // This is always `sql#backupRunsList`. string kind = 1; // A list of backup runs in reverse chronological order of the enqueued time. diff --git a/third_party/googleapis/google/cloud/sql/v1/cloud_sql_connect.proto b/third_party/googleapis/google/cloud/sql/v1/cloud_sql_connect.proto index 24792bab5..716f3b8d5 100644 --- a/third_party/googleapis/google/cloud/sql/v1/cloud_sql_connect.proto +++ b/third_party/googleapis/google/cloud/sql/v1/cloud_sql_connect.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,10 +17,11 @@ syntax = "proto3"; package google.cloud.sql.v1; import "google/api/annotations.proto"; +import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/cloud/sql/v1/cloud_sql_resources.proto"; +import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; -import "google/api/client.proto"; option go_package = "cloud.google.com/go/sql/apiv1/sqlpb;sqlpb"; option java_multiple_files = true; @@ -47,7 +48,8 @@ service SqlConnectService { // and signed by a private key specific to the target instance. Users may use // the certificate to authenticate as themselves when connecting to the // database. - rpc GenerateEphemeralCert(GenerateEphemeralCertRequest) returns (GenerateEphemeralCertResponse) { + rpc GenerateEphemeralCert(GenerateEphemeralCertRequest) + returns (GenerateEphemeralCertResponse) { option (google.api.http) = { post: "/v1/projects/{project}/instances/{instance}:generateEphemeralCert" body: "*" @@ -63,8 +65,10 @@ message GetConnectSettingsRequest { // Project ID of the project that contains the instance. string project = 2; - // Optional. Optional snapshot read timestamp to trade freshness for performance. - google.protobuf.Timestamp read_time = 7 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Optional snapshot read timestamp to trade freshness for + // performance. + google.protobuf.Timestamp read_time = 7 + [(google.api.field_behavior) = OPTIONAL]; } // Connect settings retrieval response. @@ -78,26 +82,34 @@ message ConnectSettings { // The assigned IP addresses for the instance. repeated IpMapping ip_addresses = 3; - // The cloud region for the instance. e.g. **us-central1**, **europe-west1**. - // The region cannot be changed after instance creation. + // The cloud region for the instance. For example, `us-central1`, + // `europe-west1`. The region cannot be changed after instance creation. string region = 4; - // The database engine type and version. The **databaseVersion** + // The database engine type and version. The `databaseVersion` // field cannot be changed after instance creation. - // MySQL instances: **MYSQL_8_0**, **MYSQL_5_7** (default), - // or **MYSQL_5_6**. - // PostgreSQL instances: **POSTGRES_9_6**, **POSTGRES_10**, - // **POSTGRES_11** or **POSTGRES_12** (default). - // SQL Server instances: **SQLSERVER_2017_STANDARD** (default), - // **SQLSERVER_2017_ENTERPRISE**, **SQLSERVER_2017_EXPRESS**, or - // **SQLSERVER_2017_WEB**. + // MySQL instances: `MYSQL_8_0`, `MYSQL_5_7` (default), + // or `MYSQL_5_6`. + // PostgreSQL instances: `POSTGRES_9_6`, `POSTGRES_10`, + // `POSTGRES_11`, `POSTGRES_12` (default), `POSTGRES_13`, or `POSTGRES_14`. + // SQL Server instances: `SQLSERVER_2017_STANDARD` (default), + // `SQLSERVER_2017_ENTERPRISE`, `SQLSERVER_2017_EXPRESS`, + // `SQLSERVER_2017_WEB`, `SQLSERVER_2019_STANDARD`, + // `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`, or + // `SQLSERVER_2019_WEB`. SqlDatabaseVersion database_version = 31; - // **SECOND_GEN**: Cloud SQL database instance. - // **EXTERNAL**: A database server that is not managed by Google. - // This property is read-only; use the **tier** property in the **settings** + // `SECOND_GEN`: Cloud SQL database instance. + // `EXTERNAL`: A database server that is not managed by Google. + // This property is read-only; use the `tier` property in the `settings` // object to determine the database type. SqlBackendType backend_type = 32; + + // Whether PSC connectivity is enabled for this instance. + bool psc_enabled = 33; + + // The dns name of the instance. + string dns_name = 34; } // Ephemeral certificate creation request. @@ -114,8 +126,14 @@ message GenerateEphemeralCertRequest { // Optional. Access token to include in the signed certificate. string access_token = 4 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Optional snapshot read timestamp to trade freshness for performance. - google.protobuf.Timestamp read_time = 7 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Optional snapshot read timestamp to trade freshness for + // performance. + google.protobuf.Timestamp read_time = 7 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If set, it will contain the cert valid duration. + google.protobuf.Duration valid_duration = 12 + [(google.api.field_behavior) = OPTIONAL]; } // Ephemeral certificate creation request. diff --git a/third_party/googleapis/google/cloud/sql/v1/cloud_sql_databases.proto b/third_party/googleapis/google/cloud/sql/v1/cloud_sql_databases.proto index 41463b2b7..4a29b5d4c 100644 --- a/third_party/googleapis/google/cloud/sql/v1/cloud_sql_databases.proto +++ b/third_party/googleapis/google/cloud/sql/v1/cloud_sql_databases.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,8 +17,8 @@ syntax = "proto3"; package google.cloud.sql.v1; import "google/api/annotations.proto"; -import "google/cloud/sql/v1/cloud_sql_resources.proto"; import "google/api/client.proto"; +import "google/cloud/sql/v1/cloud_sql_resources.proto"; option go_package = "cloud.google.com/go/sql/apiv1/sqlpb;sqlpb"; option java_multiple_files = true; @@ -51,6 +51,8 @@ service SqlDatabasesService { // Inserts a resource containing information about a database inside a Cloud // SQL instance. + // + // **Note:** You can't modify the default character set and collation. rpc Insert(SqlDatabasesInsertRequest) returns (Operation) { option (google.api.http) = { post: "/v1/projects/{project}/instances/{instance}/databases" @@ -144,7 +146,7 @@ message SqlDatabasesUpdateRequest { // Database list response. message DatabasesListResponse { - // This is always **sql#databasesList**. + // This is always `sql#databasesList`. string kind = 1; // List of database resources in the instance. diff --git a/third_party/googleapis/google/cloud/sql/v1/cloud_sql_flags.proto b/third_party/googleapis/google/cloud/sql/v1/cloud_sql_flags.proto index 28fad34fb..f03358b7f 100644 --- a/third_party/googleapis/google/cloud/sql/v1/cloud_sql_flags.proto +++ b/third_party/googleapis/google/cloud/sql/v1/cloud_sql_flags.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,9 +17,9 @@ syntax = "proto3"; package google.cloud.sql.v1; import "google/api/annotations.proto"; +import "google/api/client.proto"; import "google/cloud/sql/v1/cloud_sql_resources.proto"; import "google/protobuf/wrappers.proto"; -import "google/api/client.proto"; option go_package = "cloud.google.com/go/sql/apiv1/sqlpb;sqlpb"; option java_multiple_files = true; @@ -52,7 +52,7 @@ message SqlFlagsListRequest { // Flags list response. message FlagsListResponse { - // This is always **sql#flagsList**. + // This is always `sql#flagsList`. string kind = 1; // List of flags. @@ -62,32 +62,40 @@ message FlagsListResponse { // A flag resource. message Flag { // This is the name of the flag. Flag names always use underscores, not - // hyphens, for example: **max_allowed_packet** + // hyphens, for example: `max_allowed_packet` string name = 1; - // The type of the flag. Flags are typed to being **BOOLEAN**, **STRING**, - // **INTEGER** or **NONE**. **NONE** is used for flags which do not take a - // value, such as **skip_grant_tables**. + // The type of the flag. Flags are typed to being `BOOLEAN`, `STRING`, + // `INTEGER` or `NONE`. `NONE` is used for flags that do not take a + // value, such as `skip_grant_tables`. SqlFlagType type = 2; - // The database version this flag applies to. Can be **MYSQL_8_0**, - // **MYSQL_5_6**, or **MYSQL_5_7**. + // The database version this flag applies to. Can be + // MySQL instances: `MYSQL_8_0`, `MYSQL_8_0_18`, `MYSQL_8_0_26`, `MYSQL_5_7`, + // or `MYSQL_5_6`. PostgreSQL instances: `POSTGRES_9_6`, `POSTGRES_10`, + // `POSTGRES_11` or `POSTGRES_12`. SQL Server instances: + // `SQLSERVER_2017_STANDARD`, `SQLSERVER_2017_ENTERPRISE`, + // `SQLSERVER_2017_EXPRESS`, `SQLSERVER_2017_WEB`, `SQLSERVER_2019_STANDARD`, + // `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`, or + // `SQLSERVER_2019_WEB`. + // See [the complete + // list](/sql/docs/mysql/admin-api/rest/v1/SqlDatabaseVersion). repeated SqlDatabaseVersion applies_to = 3; - // For **STRING** flags, a list of strings that the value can be set to. + // For `STRING` flags, a list of strings that the value can be set to. repeated string allowed_string_values = 4; - // For **INTEGER** flags, the minimum allowed value. + // For `INTEGER` flags, the minimum allowed value. google.protobuf.Int64Value min_value = 5; - // For **INTEGER** flags, the maximum allowed value. + // For `INTEGER` flags, the maximum allowed value. google.protobuf.Int64Value max_value = 6; // Indicates whether changing this flag will trigger a database restart. Only // applicable to Second Generation instances. google.protobuf.BoolValue requires_restart = 7; - // This is always **sql#flag**. + // This is always `sql#flag`. string kind = 8; // Whether or not the flag is considered in beta. diff --git a/third_party/googleapis/google/cloud/sql/v1/cloud_sql_instance_names.proto b/third_party/googleapis/google/cloud/sql/v1/cloud_sql_instance_names.proto index f6eb35b27..180d6d216 100644 --- a/third_party/googleapis/google/cloud/sql/v1/cloud_sql_instance_names.proto +++ b/third_party/googleapis/google/cloud/sql/v1/cloud_sql_instance_names.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,7 +16,9 @@ syntax = "proto3"; package google.cloud.sql.v1; +import "google/api/annotations.proto"; import "google/api/client.proto"; +import "google/api/field_behavior.proto"; option go_package = "cloud.google.com/go/sql/apiv1/sqlpb;sqlpb"; option java_multiple_files = true; @@ -28,5 +30,4 @@ option java_package = "com.google.cloud.sql.v1"; // Cloud SQL instance names service. service SqlInstanceNamesService { option (google.api.default_host) = "sqladmin.googleapis.com"; - } diff --git a/third_party/googleapis/google/cloud/sql/v1/cloud_sql_instances.proto b/third_party/googleapis/google/cloud/sql/v1/cloud_sql_instances.proto index 6c4f522a3..b731e9d91 100644 --- a/third_party/googleapis/google/cloud/sql/v1/cloud_sql_instances.proto +++ b/third_party/googleapis/google/cloud/sql/v1/cloud_sql_instances.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,19 +17,18 @@ syntax = "proto3"; package google.cloud.sql.v1; import "google/api/annotations.proto"; +import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/cloud/sql/v1/cloud_sql_resources.proto"; +import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; import "google/protobuf/wrappers.proto"; -import "google/api/client.proto"; option go_package = "cloud.google.com/go/sql/apiv1/sqlpb;sqlpb"; option java_multiple_files = true; option java_outer_classname = "CloudSqlServiceProto"; option java_package = "com.google.cloud.sql.v1"; -// LINT: LEGACY_NAMES - // Service to manage Cloud SQL instances. service SqlInstancesService { option (google.api.default_host) = "sqladmin.googleapis.com"; @@ -73,6 +72,15 @@ service SqlInstancesService { }; } + // Demotes an existing standalone instance to be a Cloud SQL read replica + // for an external database server. + rpc Demote(SqlInstancesDemoteRequest) returns (Operation) { + option (google.api.http) = { + post: "/v1/projects/{project}/instances/{instance}/demote" + body: "body" + }; + } + // Exports data from a Cloud SQL instance to a Cloud Storage bucket as a SQL // dump or CSV file. rpc Export(SqlInstancesExportRequest) returns (Operation) { @@ -97,6 +105,14 @@ service SqlInstancesService { }; } + // Reencrypt CMEK instance with latest key version. + rpc Reencrypt(SqlInstancesReencryptRequest) returns (Operation) { + option (google.api.http) = { + post: "/v1/projects/{project}/instances/{instance}/reencrypt" + body: "body" + }; + } + // Retrieves a resource containing information about a Cloud SQL instance. rpc Get(SqlInstancesGetRequest) returns (DatabaseInstance) { option (google.api.http) = { @@ -133,14 +149,15 @@ service SqlInstancesService { // the certificate that is currently in use, a CA that has been added but not // yet used to sign a certificate, and a CA used to sign a certificate that // has previously rotated out. - rpc ListServerCas(SqlInstancesListServerCasRequest) returns (InstancesListServerCasResponse) { + rpc ListServerCas(SqlInstancesListServerCasRequest) + returns (InstancesListServerCasResponse) { option (google.api.http) = { get: "/v1/projects/{project}/instances/{instance}/listServerCas" }; } - // Updates settings of a Cloud SQL instance. - // This method supports patch semantics. + // Partially updates settings of a Cloud SQL instance by merging the request + // with the current configuration. This method supports patch semantics. rpc Patch(SqlInstancesPatchRequest) returns (Operation) { option (google.api.http) = { patch: "/v1/projects/{project}/instances/{instance}" @@ -156,6 +173,13 @@ service SqlInstancesService { }; } + // Switches over from the primary instance to the replica instance. + rpc Switchover(SqlInstancesSwitchoverRequest) returns (Operation) { + option (google.api.http) = { + post: "/v1/projects/{project}/instances/{instance}/switchover" + }; + } + // Deletes all client certificates and generates a new server SSL certificate // for the instance. rpc ResetSslConfig(SqlInstancesResetSslConfigRequest) returns (Operation) { @@ -225,7 +249,8 @@ service SqlInstancesService { // and signed by a private key specific to the target instance. Users may use // the certificate to authenticate as themselves when connecting to the // database. - rpc CreateEphemeral(SqlInstancesCreateEphemeralCertRequest) returns (SslCert) { + rpc CreateEphemeral(SqlInstancesCreateEphemeralCertRequest) + returns (SslCert) { option (google.api.http) = { post: "/v1/projects/{project}/instances/{instance}/createEphemeral" body: "body" @@ -233,7 +258,8 @@ service SqlInstancesService { } // Reschedules the maintenance on the given instance. - rpc RescheduleMaintenance(SqlInstancesRescheduleMaintenanceRequest) returns (Operation) { + rpc RescheduleMaintenance(SqlInstancesRescheduleMaintenanceRequest) + returns (Operation) { option (google.api.http) = { post: "/v1/projects/{project}/instances/{instance}/rescheduleMaintenance" body: "body" @@ -241,7 +267,8 @@ service SqlInstancesService { } // Verify External primary instance external sync settings. - rpc VerifyExternalSyncSettings(SqlInstancesVerifyExternalSyncSettingsRequest) returns (SqlInstancesVerifyExternalSyncSettingsResponse) { + rpc VerifyExternalSyncSettings(SqlInstancesVerifyExternalSyncSettingsRequest) + returns (SqlInstancesVerifyExternalSyncSettingsResponse) { option (google.api.http) = { post: "/v1/projects/{project}/instances/{instance}/verifyExternalSyncSettings" body: "*" @@ -249,12 +276,47 @@ service SqlInstancesService { } // Start External primary instance migration. - rpc StartExternalSync(SqlInstancesStartExternalSyncRequest) returns (Operation) { + rpc StartExternalSync(SqlInstancesStartExternalSyncRequest) + returns (Operation) { option (google.api.http) = { post: "/v1/projects/{project}/instances/{instance}/startExternalSync" body: "*" }; } + + // Perform Disk Shrink on primary instance. + rpc PerformDiskShrink(SqlInstancesPerformDiskShrinkRequest) + returns (Operation) { + option (google.api.http) = { + post: "/v1/projects/{project}/instances/{instance}/performDiskShrink" + body: "body" + }; + } + + // Get Disk Shrink Config for a given instance. + rpc GetDiskShrinkConfig(SqlInstancesGetDiskShrinkConfigRequest) + returns (SqlInstancesGetDiskShrinkConfigResponse) { + option (google.api.http) = { + get: "/v1/projects/{project}/instances/{instance}/getDiskShrinkConfig" + }; + } + + // Reset Replica Size to primary instance disk size. + rpc ResetReplicaSize(SqlInstancesResetReplicaSizeRequest) + returns (Operation) { + option (google.api.http) = { + post: "/v1/projects/{project}/instances/{instance}/resetReplicaSize" + body: "*" + }; + } + + // Get Latest Recovery Time for a given instance. + rpc GetLatestRecoveryTime(SqlInstancesGetLatestRecoveryTimeRequest) + returns (SqlInstancesGetLatestRecoveryTimeResponse) { + option (google.api.http) = { + get: "/v1/projects/{project}/instances/{instance}/getLatestRecoveryTime" + }; + } } // Instance add server CA request. @@ -298,6 +360,18 @@ message SqlInstancesDemoteMasterRequest { InstancesDemoteMasterRequest body = 100; } +// Instance demote request. +message SqlInstancesDemoteRequest { + // Required. Cloud SQL instance name. + string instance = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. ID of the project that contains the instance. + string project = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The request body. + InstancesDemoteRequest body = 100 [(google.api.field_behavior) = REQUIRED]; +} + // Instance export request. message SqlInstancesExportRequest { // Cloud SQL instance ID. This does not include the project ID. @@ -362,7 +436,10 @@ message SqlInstancesListRequest { // expressions explicitly. string filter = 1; - // The maximum number of results to return per response. + // The maximum number of instances to return. The service may return fewer + // than this value. + // If unspecified, at most 500 instances are returned. + // The maximum value is 1000; values above 1000 are coerced to 1000. uint32 max_results = 2; // A previously-returned page token representing part of the larger set of @@ -400,6 +477,26 @@ message SqlInstancesPromoteReplicaRequest { // ID of the project that contains the read replica. string project = 2; + + // Set to true if the promote operation should attempt to re-add the original + // primary as a replica when it comes back online. Otherwise, if this value is + // false or not set, the original primary will be a standalone instance. + bool failover = 3; +} + +// Instance switchover request. +message SqlInstancesSwitchoverRequest { + // Cloud SQL read replica instance name. + string instance = 1; + + // ID of the project that contains the replica. + string project = 2; + + // Optional. (MySQL only) Cloud SQL instance operations timeout, which is a + // sum of all database operations. Default value is 10 minutes and can be + // modified to a maximum value of 24 hours. + google.protobuf.Duration db_timeout = 3 + [(google.api.field_behavior) = OPTIONAL]; } // Instance reset SSL config request. @@ -471,6 +568,18 @@ message SqlInstancesTruncateLogRequest { InstancesTruncateLogRequest body = 100; } +// Instance perform disk shrink request. +message SqlInstancesPerformDiskShrinkRequest { + // Cloud SQL instance ID. This does not include the project ID. + string instance = 1; + + // Project ID of the project that contains the instance. + string project = 2; + + // Perform disk shrink context. + PerformDiskShrinkContext body = 100; +} + // Instance update request. message SqlInstancesUpdateRequest { // Cloud SQL instance ID. This does not include the project ID. @@ -493,6 +602,69 @@ message SqlInstancesRescheduleMaintenanceRequest { SqlInstancesRescheduleMaintenanceRequestBody body = 100; } +// Instance reencrypt request. +message SqlInstancesReencryptRequest { + // Cloud SQL instance ID. This does not include the project ID. + string instance = 1; + + // ID of the project that contains the instance. + string project = 2; + + // Reencrypt body that users request + InstancesReencryptRequest body = 3; +} + +// Database Instance reencrypt request. +message InstancesReencryptRequest { + // Configuration specific to backup re-encryption + optional BackupReencryptionConfig backup_reencryption_config = 1; +} + +// Backup Reencryption Config +message BackupReencryptionConfig { + // Backup type for re-encryption + enum BackupType { + // Unknown backup type, will be defaulted to AUTOMATIC backup type + BACKUP_TYPE_UNSPECIFIED = 0; + + // Reencrypt automatic backups + AUTOMATED = 1; + + // Reencrypt on-demand backups + ON_DEMAND = 2; + } + + // Backup re-encryption limit + optional int32 backup_limit = 1; + + // Type of backups users want to re-encrypt. + optional BackupType backup_type = 2; +} + +// External Sync parallel level. +enum ExternalSyncParallelLevel { + // Unknown sync parallel level. Will be defaulted to OPTIMAL. + EXTERNAL_SYNC_PARALLEL_LEVEL_UNSPECIFIED = 0; + + // Minimal parallel level. + MIN = 1; + + // Optimal parallel level. + OPTIMAL = 2; + + // Maximum parallel level. + MAX = 3; +} + +// Instance get disk shrink config request. +message SqlInstancesGetDiskShrinkConfigRequest { + // Cloud SQL instance ID. This does not include the project ID. + string instance = 1; + + // Project ID of the project that contains the instance. + string project = 2; +} + // Instance verify external sync settings request. message SqlInstancesVerifyExternalSyncSettingsRequest { enum ExternalSyncMode { @@ -525,7 +697,8 @@ message SqlInstancesVerifyExternalSyncSettingsRequest { oneof sync_config { // Optional. MySQL-specific settings for start external sync. - MySqlSyncConfig mysql_sync_config = 6 [(google.api.field_behavior) = OPTIONAL]; + MySqlSyncConfig mysql_sync_config = 6 + [(google.api.field_behavior) = OPTIONAL]; } } @@ -547,6 +720,20 @@ message SqlInstancesStartExternalSyncRequest { // MySQL-specific settings for start external sync. MySqlSyncConfig mysql_sync_config = 6; } + + // Optional. Parallel level for initial data sync. Currently only applicable + // for MySQL. + ExternalSyncParallelLevel sync_parallel_level = 7 + [(google.api.field_behavior) = OPTIONAL]; +} + +// Instance reset replica size request. +message SqlInstancesResetReplicaSizeRequest { + // Cloud SQL read replica instance name. + string instance = 1; + + // ID of the project that contains the read replica. + string project = 2; } // Instance create ephemeral certificate request. @@ -572,6 +759,13 @@ message InstancesDemoteMasterRequest { DemoteMasterContext demote_master_context = 1; } +// This request is used to demote an existing standalone instance to be a +// Cloud SQL read replica for an external database server. +message InstancesDemoteRequest { + // Required. Contains details about the demote operation. + DemoteContext demote_context = 1 [(google.api.field_behavior) = REQUIRED]; +} + // Database instance export request. message InstancesExportRequest { // Contains details about the export operation. @@ -601,7 +795,7 @@ message InstancesImportRequest { // Database instances list response. message InstancesListResponse { - // This is always **sql#instancesList**. + // This is always `sql#instancesList`. string kind = 1; // List of warnings that occurred while handling the request. @@ -622,7 +816,7 @@ message InstancesListServerCasResponse { string active_version = 2; - // This is always **sql#instancesListServerCas**. + // This is always `sql#instancesListServerCas`. string kind = 3; } @@ -646,7 +840,7 @@ message InstancesTruncateLogRequest { // Instance verify external sync settings response. message SqlInstancesVerifyExternalSyncSettingsResponse { - // This is always **sql#migrationSettingErrorList**. + // This is always `sql#migrationSettingErrorList`. string kind = 1; // List of migration violations. @@ -656,9 +850,39 @@ message SqlInstancesVerifyExternalSyncSettingsResponse { repeated SqlExternalSyncSettingError warnings = 3; } +// Instance get disk shrink config response. +message SqlInstancesGetDiskShrinkConfigResponse { + // This is always `sql#getDiskShrinkConfig`. + string kind = 1; + + // The minimum size to which a disk can be shrunk in GigaBytes. + int64 minimal_target_size_gb = 2; + + // Additional message to customers. + string message = 3; +} + +// Instance get latest recovery time request. +message SqlInstancesGetLatestRecoveryTimeRequest { + // Cloud SQL instance ID. This does not include the project ID. + string instance = 1; + + // Project ID of the project that contains the instance. + string project = 2; +} + +// Instance get latest recovery time response. +message SqlInstancesGetLatestRecoveryTimeResponse { + // This is always `sql#getLatestRecoveryTime`. + string kind = 1; + + // Timestamp, identifies the latest recovery time of the source instance. + google.protobuf.Timestamp latest_recovery_time = 2; +} + // Database instance clone context. message CloneContext { - // This is always **sql#cloneContext**. + // This is always `sql#cloneContext`. string kind = 1; // Reserved for future use. @@ -675,6 +899,24 @@ message CloneContext { // Timestamp, if specified, identifies the time to which the source instance // is cloned. google.protobuf.Timestamp point_in_time = 5; + + // The name of the allocated ip range for the private ip Cloud SQL instance. + // For example: "google-managed-services-default". If set, the cloned instance + // ip will be created in the allocated range. The range name must comply with + // [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name + // must be 1-63 characters long and match the regular expression + // [a-z]([-a-z0-9]*[a-z0-9])?. + // Reserved for future use. + string allocated_ip_range = 6; + + // (SQL Server only) Clone only the specified databases from the source + // instance. Clone all databases if empty. + repeated string database_names = 9; + + // Optional. (Point-in-time recovery for PostgreSQL only) Clone to an instance + // in the specified zone. If no zone is specified, clone to the same zone as + // the source instance. + optional string preferred_zone = 10 [(google.api.field_behavior) = OPTIONAL]; } // Binary log coordinates. @@ -685,12 +927,40 @@ message BinLogCoordinates { // Position (offset) within the binary log file. int64 bin_log_position = 2; - // This is always **sql#binLogCoordinates**. + // This is always `sql#binLogCoordinates`. string kind = 3; } // A Cloud SQL instance resource. message DatabaseInstance { + // The current serving state of the database instance. + enum SqlInstanceState { + // The state of the instance is unknown. + SQL_INSTANCE_STATE_UNSPECIFIED = 0; + + // The instance is running, or has been stopped by owner. + RUNNABLE = 1; + + // The instance is not available, for example due to problems with billing. + SUSPENDED = 2; + + // The instance is being deleted. + PENDING_DELETE = 3; + + // The instance is being created. + PENDING_CREATE = 4; + + // The instance is down for maintenance. + MAINTENANCE = 5; + + // The creation of the instance failed or a fatal error occurred during + // maintenance. + FAILED = 6; + + // Deprecated + ONLINE_MAINTENANCE = 7 [deprecated = true]; + } + message SqlFailoverReplica { // The name of the failover replica. If specified at instance creation, a // failover replica is created for the instance. The name @@ -748,67 +1018,32 @@ message DatabaseInstance { optional int32 sql_min_recommended_increase_size_gb = 2; } - // The current serving state of the database instance. - enum SqlInstanceState { - // The state of the instance is unknown. - SQL_INSTANCE_STATE_UNSPECIFIED = 0; - - // The instance is running, or has been stopped by owner. - RUNNABLE = 1; - - // The instance is not available, for example due to problems with billing. - SUSPENDED = 2; - - // The instance is being deleted. - PENDING_DELETE = 3; - - // The instance is being created. - PENDING_CREATE = 4; - - // The instance is down for maintenance. - MAINTENANCE = 5; + // The SQL network architecture for the instance. + enum SqlNetworkArchitecture { + SQL_NETWORK_ARCHITECTURE_UNSPECIFIED = 0; - // The creation of the instance failed or a fatal error occurred during - // maintenance. - FAILED = 6; + // The instance uses the new network architecture. + NEW_NETWORK_ARCHITECTURE = 1; - // The instance is under maintenance operations and the database is - // available. - ONLINE_MAINTENANCE = 7; + // The instance uses the old network architecture. + OLD_NETWORK_ARCHITECTURE = 2; } - // This is always **sql#instance**. + // This is always `sql#instance`. string kind = 1; - // The current serving state of the Cloud SQL instance. This can be one of the - // following: - // * **SQL_INSTANCE_STATE_UNSPECIFIED**: The state of the instance is - // unknown. - // * **RUNNABLE**: The instance is running, or has been stopped by owner. - // * **SUSPENDED**: The instance is not available, for example due to - // problems with billing. - // * **PENDING_DELETE**: The instance is being deleted. - // * **PENDING_CREATE**: The instance is being created. - // * **MAINTENANCE**: The instance is down for maintenance. - // * **FAILED**: The instance creation failed. + // The current serving state of the Cloud SQL instance. SqlInstanceState state = 2; - // The database engine type and version. The **databaseVersion** field cannot + // The database engine type and version. The `databaseVersion` field cannot // be changed after instance creation. - // * **MySQL instances**: MYSQL_8_0, MYSQL_5_7 (default), or MYSQL_5_6. - // * **PostgreSQL instances**: POSTGRES_9_6, POSTGRES_10, POSTGRES_11, - // POSTGRES_12, POSTGRES_13 (default). - // * **SQL Server instances**: SQLSERVER_2019_STANDARD, - // SQLSERVER_2019_ENTERPRISE, SQLSERVER_2019_EXPRESS, or SQLSERVER_2019_WEB, - // SQLSERVER_2017_STANDARD (default), SQLSERVER_2017_ENTERPRISE, - // SQLSERVER_2017_EXPRESS, or SQLSERVER_2017_WEB. SqlDatabaseVersion database_version = 3; // The user settings. Settings settings = 4; // This field is deprecated and will be removed from a future version of the - // API. Use the **settings.settingsVersion** field instead. + // API. Use the `settings.settingsVersion` field instead. string etag = 5; // The name and status of the failover replica. @@ -838,13 +1073,7 @@ message DatabaseInstance { // SSL configuration. SslCert server_ca_cert = 12; - // The instance type. This can be one of the following: - // * **CLOUD_SQL_INSTANCE**: A Cloud SQL instance that is not replicating - // from a primary instance. - // * **ON_PREMISES_INSTANCE**: An instance running on the customer's - // premises. - // * **READ_REPLICA_INSTANCE**: A Cloud SQL instance configured as a - // read-replica. + // The instance type. SqlInstanceType instance_type = 13; // The project ID of the project containing the Cloud SQL instance. The Google @@ -856,7 +1085,7 @@ message DatabaseInstance { // to First Generation instances. string ipv6_address = 15 [deprecated = true]; - // The service account email address assigned to the instance.
This + // The service account email address assigned to the instance.\This // property is read-only. string service_account_email_address = 16; @@ -867,10 +1096,10 @@ message DatabaseInstance { ReplicaConfiguration replica_configuration = 18; // The backend type. - // **SECOND_GEN**: Cloud SQL database instance. - // **EXTERNAL**: A database server that is not managed by Google. + // `SECOND_GEN`: Cloud SQL database instance. + // `EXTERNAL`: A database server that is not managed by Google. // - // This property is read-only; use the **tier** property in the **settings** + // This property is read-only; use the `tier` property in the `settings` // object to determine the database type. SqlBackendType backend_type = 19; @@ -887,24 +1116,24 @@ message DatabaseInstance { string name = 23; // The geographical region. Can be: - // * **us-central** (**FIRST_GEN** instances only) - // * **us-central1** (**SECOND_GEN** instances only) - // * **asia-east1** or **europe-west1**. + // * `us-central` (`FIRST_GEN` instances only) + // * `us-central1` (`SECOND_GEN` instances only) + // * `asia-east1` or `europe-west1`. // - // Defaults to **us-central** or **us-central1** depending on the instance + // Defaults to `us-central` or `us-central1` depending on the instance // type. The region cannot be changed after instance creation. string region = 24; // The Compute Engine zone that the instance is currently serving from. This // value could be different from the zone that was specified when the instance - // was created if the instance has failed over to its secondary zone. + // was created if the instance has failed over to its secondary zone. WARNING: + // Changing this might restart the instance. string gce_zone = 25; // The Compute Engine zone that the failover instance is currently serving // from for a regional instance. This value could be different // from the zone that was specified when the instance // was created if the instance has failed over to its secondary/failover zone. - // Reserved for future use. string secondary_gce_zone = 34; // Disk encryption configuration specific to an instance. @@ -913,7 +1142,8 @@ message DatabaseInstance { // Disk encryption status specific to an instance. DiskEncryptionStatus disk_encryption_status = 27; - // Initial root password. Use only on creation. + // Initial root password. Use only on creation. You must set root passwords + // before you can connect to PostgreSQL instances. string root_password = 29; // The start time of any upcoming scheduled maintenance for this instance. @@ -923,6 +1153,11 @@ message DatabaseInstance { // Reserved for future use. google.protobuf.BoolValue satisfies_pzs = 35; + // Output only. Stores the current database version running on the instance + // including minor version such as `MYSQL_8_0_18`. + string database_installed_version = 40 + [(google.api.field_behavior) = OUTPUT_ONLY]; + // This field represents the report generated by the proactive database // wellness job for OutOfDisk issues. // * Writers: @@ -933,23 +1168,37 @@ message DatabaseInstance { // Output only. The time when the instance was created in // [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example - // **2012-11-15T16:19:00.094Z**. - google.protobuf.Timestamp create_time = 39 [(google.api.field_behavior) = OUTPUT_ONLY]; + // `2012-11-15T16:19:00.094Z`. + google.protobuf.Timestamp create_time = 39 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. List all maintenance versions applicable on the instance + repeated string available_maintenance_versions = 41 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // The current software version on the instance. + string maintenance_version = 42; + + optional SqlNetworkArchitecture sql_network_architecture = 47; + + // Output only. The link to service attachment of PSC instance. + optional string psc_service_attachment_link = 48 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The dns name of the instance. + optional string dns_name = 49 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. DEPRECATED: please use write_endpoint instead. + optional string primary_dns_name = 51 + [deprecated = true, (google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The dns name of the primary instance in a replication group. + optional string write_endpoint = 52 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Reschedule options for maintenance windows. message SqlInstancesRescheduleMaintenanceRequestBody { - message Reschedule { - // Required. The type of the reschedule. - RescheduleType reschedule_type = 1; - - // Optional. Timestamp when the maintenance shall be rescheduled to if - // reschedule_type=SPECIFIC_TIME, in - // [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example - // **2012-11-15T16:19:00.094Z**. - google.protobuf.Timestamp schedule_time = 2 [(google.api.field_behavior) = OPTIONAL]; - } - enum RescheduleType { RESCHEDULE_TYPE_UNSPECIFIED = 0; @@ -964,21 +1213,33 @@ message SqlInstancesRescheduleMaintenanceRequestBody { SPECIFIC_TIME = 3; } + message Reschedule { + // Required. The type of the reschedule. + RescheduleType reschedule_type = 1; + + // Optional. Timestamp when the maintenance shall be rescheduled to if + // reschedule_type=SPECIFIC_TIME, in + // [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example + // `2012-11-15T16:19:00.094Z`. + google.protobuf.Timestamp schedule_time = 2 + [(google.api.field_behavior) = OPTIONAL]; + } + // Required. The type of the reschedule the user wants. Reschedule reschedule = 3; } // Database instance demote primary instance context. message DemoteMasterContext { - // This is always **sql#demoteMasterContext**. + // This is always `sql#demoteMasterContext`. string kind = 1; - // Verify GTID consistency for demote operation. Default value: - // **True**. Setting this flag to false enables you to bypass GTID consistency - // check between on-premises primary instance and Cloud SQL instance during - // the demotion operation but also exposes you to the risk of future - // replication failures. Change the value only if you know the reason for the - // GTID divergence and are confident that doing so will not cause any + // Verify the GTID consistency for demote operation. Default value: + // `True`. Setting this flag to `false` enables you to bypass the GTID + // consistency check between on-premises primary instance and Cloud SQL + // instance during the demotion operation but also exposes you to the risk of + // future replication failures. Change the value only if you know the reason + // for the GTID divergence and are confident that doing so will not cause any // replication issues. google.protobuf.BoolValue verify_gtid_consistency = 2; @@ -994,20 +1255,32 @@ message DemoteMasterContext { bool skip_replication_setup = 5; } +// This context is used to demote an existing standalone instance to be +// a Cloud SQL read replica for an external database server. +message DemoteContext { + // This is always `sql#demoteContext`. + string kind = 1; + + // Required. The name of the instance which acts as the on-premises primary + // instance in the replication setup. + string source_representative_instance_name = 2 + [(google.api.field_behavior) = REQUIRED]; +} + // Database instance failover context. message FailoverContext { // The current settings version of this instance. Request will be rejected if // this version doesn't match the current settings version. int64 settings_version = 1; - // This is always **sql#failoverContext**. + // This is always `sql#failoverContext`. string kind = 2; } // Database instance restore from backup context. // Backup context contains source instance id and project id. message RestoreBackupContext { - // This is always **sql#restoreBackupContext**. + // This is always `sql#restoreBackupContext`. string kind = 1; // The ID of the backup run to restore from. @@ -1022,7 +1295,7 @@ message RestoreBackupContext { // Instance rotate server CA context. message RotateServerCaContext { - // This is always **sql#rotateServerCaContext**. + // This is always `sql#rotateServerCaContext`. string kind = 1; // The fingerprint of the next version to be rotated to. If left unspecified, @@ -1032,11 +1305,11 @@ message RotateServerCaContext { // Database Instance truncate log context. message TruncateLogContext { - // This is always **sql#truncateLogContext**. + // This is always `sql#truncateLogContext`. string kind = 1; - // The type of log to truncate. Valid values are **MYSQL_GENERAL_TABLE** and - // **MYSQL_SLOW_TABLE**. + // The type of log to truncate. Valid values are `MYSQL_GENERAL_TABLE` and + // `MYSQL_SLOW_TABLE`. string log_type = 2; } @@ -1053,6 +1326,7 @@ message SqlExternalSyncSettingError { REPLICA_ALREADY_SETUP = 4; + // The replication user is missing privileges that are required. INSUFFICIENT_PRIVILEGE = 5; // Unsupported migration type. @@ -1081,7 +1355,7 @@ message SqlExternalSyncSettingError { INSUFFICIENT_MAX_WORKER_PROCESSES = 13; // Extensions installed are either not supported or having unsupported - // versions + // versions. UNSUPPORTED_EXTENSIONS = 14; // The value of parameter rds.logical_replication is not set to 1. @@ -1106,7 +1380,7 @@ message SqlExternalSyncSettingError { // The customer has a definer that will break EM setup. UNSUPPORTED_DEFINER = 21; - // SQL Server @@SERVERNAME does not match actual host name + // SQL Server @@SERVERNAME does not match actual host name. SQLSERVER_SERVERNAME_MISMATCH = 22; // The primary instance has been setup and will fail the setup. @@ -1117,10 +1391,62 @@ message SqlExternalSyncSettingError { // The primary instance's binary log retention setting. BINLOG_RETENTION_SETTING = 25; + + // The primary instance has tables with unsupported storage engine. + UNSUPPORTED_STORAGE_ENGINE = 26; + + // Source has tables with limited support + // eg: PostgreSQL tables without primary keys. + LIMITED_SUPPORT_TABLES = 27; + + // The replica instance contains existing data. + EXISTING_DATA_IN_REPLICA = 28; + + // The replication user is missing privileges that are optional. + MISSING_OPTIONAL_PRIVILEGES = 29; + + // Additional BACKUP_ADMIN privilege is granted to the replication user + // which may lock source MySQL 8 instance for DDLs during initial sync. + RISKY_BACKUP_ADMIN_PRIVILEGE = 30; + + // The Cloud Storage bucket is missing necessary permissions. + INSUFFICIENT_GCS_PERMISSIONS = 31; + + // The Cloud Storage bucket has an error in the file or contains invalid + // file information. + INVALID_FILE_INFO = 32; + + // The source instance has unsupported database settings for migration. + UNSUPPORTED_DATABASE_SETTINGS = 33; + + // The replication user is missing parallel import specific privileges. + // (e.g. LOCK TABLES) for MySQL. + MYSQL_PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE = 34; + + // The global variable local_infile is off on external server replica. + LOCAL_INFILE_OFF = 35; + + // This code instructs customers to turn on point-in-time recovery manually + // for the instance after promoting the Cloud SQL for PostgreSQL instance. + TURN_ON_PITR_AFTER_PROMOTE = 36; + + // The minor version of replica database is incompatible with the source. + INCOMPATIBLE_DATABASE_MINOR_VERSION = 37; + + // This warning message indicates that Cloud SQL uses the maximum number of + // subscriptions to migrate data from the source to the destination. + SOURCE_MAX_SUBSCRIPTIONS = 38; + + // Unable to verify definers on the source for MySQL. + UNABLE_TO_VERIFY_DEFINERS = 39; + + // If a time out occurs while the subscription counts are calculated, then + // this value is set to 1. Otherwise, this value is set to 2. + SUBSCRIPTION_CALCULATION_STATUS = 40; } - // Can be **sql#externalSyncSettingError** or - // **sql#externalSyncSettingWarning**. + // Can be `sql#externalSyncSettingError` or + // `sql#externalSyncSettingWarning`. string kind = 1; // Identifies the specific error that occurred. @@ -1135,7 +1461,7 @@ message OnPremisesConfiguration { // The host and port of the on-premises instance in host:port format string host_port = 1; - // This is always **sql#onPremisesConfiguration**. + // This is always `sql#onPremisesConfiguration`. string kind = 2; // The username for connecting to on-premises instance. @@ -1163,7 +1489,7 @@ message OnPremisesConfiguration { // Read-replica configuration for connecting to the primary instance. message ReplicaConfiguration { - // This is always **sql#replicaConfiguration**. + // This is always `sql#replicaConfiguration`. string kind = 1; // MySQL specific configuration when replicating from a MySQL on-premises @@ -1171,22 +1497,29 @@ message ReplicaConfiguration { // username, password, certificates, and keys are not stored in the instance // metadata. The configuration information is used only to set up the // replication connection and is stored by MySQL in a file named - // **master.info** in the data directory. + // `master.info` in the data directory. MySqlReplicaConfiguration mysql_replica_configuration = 2; // Specifies if the replica is the failover target. If the field is set to - // **true** the replica will be designated as a failover replica. In case the + // `true`, the replica will be designated as a failover replica. In case the // primary instance fails, the replica instance will be promoted as the new // primary instance. Only one replica can be specified as failover target, and // the replica has to be in different zone with the primary instance. google.protobuf.BoolValue failover_target = 3; + + // Optional. Specifies if a SQL Server replica is a cascadable replica. A + // cascadable replica is a SQL Server cross region replica that supports + // replica(s) under it. + google.protobuf.BoolValue cascadable_replica = 5 + [(google.api.field_behavior) = OPTIONAL]; } enum SqlInstanceType { // This is an unknown Cloud SQL instance type. SQL_INSTANCE_TYPE_UNSPECIFIED = 0; - // A regular Cloud SQL instance. + // A regular Cloud SQL instance that is not replicating from a primary + // instance. CLOUD_SQL_INSTANCE = 1; // An instance running on the customer's premises that is not managed by diff --git a/third_party/googleapis/google/cloud/sql/v1/cloud_sql_operations.proto b/third_party/googleapis/google/cloud/sql/v1/cloud_sql_operations.proto index f31b1c931..167eaa491 100644 --- a/third_party/googleapis/google/cloud/sql/v1/cloud_sql_operations.proto +++ b/third_party/googleapis/google/cloud/sql/v1/cloud_sql_operations.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,8 +17,10 @@ syntax = "proto3"; package google.cloud.sql.v1; import "google/api/annotations.proto"; -import "google/cloud/sql/v1/cloud_sql_resources.proto"; import "google/api/client.proto"; +import "google/api/field_behavior.proto"; +import "google/cloud/sql/v1/cloud_sql_resources.proto"; +import "google/protobuf/empty.proto"; option go_package = "cloud.google.com/go/sql/apiv1/sqlpb;sqlpb"; option java_multiple_files = true; @@ -48,6 +50,13 @@ service SqlOperationsService { get: "/v1/projects/{project}/operations" }; } + + // Cancels an instance operation that has been performed on an instance. + rpc Cancel(SqlOperationsCancelRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + post: "/v1/projects/{project}/operations/{operation}/cancel" + }; + } } // Operations get request. @@ -77,7 +86,7 @@ message SqlOperationsListRequest { // Operations list response. message OperationsListResponse { - // This is always **sql#operationsList**. + // This is always `sql#operationsList`. string kind = 1; // List of operation resources. @@ -87,3 +96,12 @@ message OperationsListResponse { // this value in a subsequent request to return the next page of results. string next_page_token = 3; } + +// Operations cancel request. +message SqlOperationsCancelRequest { + // Instance operation ID. + string operation = 1; + + // Project ID of the project that contains the instance. + string project = 2; +} diff --git a/third_party/googleapis/google/cloud/sql/v1/cloud_sql_resources.proto b/third_party/googleapis/google/cloud/sql/v1/cloud_sql_resources.proto index 844f213b1..a40ff6dda 100644 --- a/third_party/googleapis/google/cloud/sql/v1/cloud_sql_resources.proto +++ b/third_party/googleapis/google/cloud/sql/v1/cloud_sql_resources.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,6 +17,7 @@ syntax = "proto3"; package google.cloud.sql.v1; import "google/api/field_behavior.proto"; +import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; import "google/protobuf/wrappers.proto"; @@ -25,8 +26,6 @@ option java_multiple_files = true; option java_outer_classname = "CloudSqlResourcesProto"; option java_package = "com.google.cloud.sql.v1"; -// LINT: LEGACY_NAMES - // An entry for an Access Control list. message AclEntry { // The allowlisted value for the access control list. @@ -34,13 +33,13 @@ message AclEntry { // The time when this access control entry expires in // [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example - // **2012-11-15T16:19:00.094Z**. + // `2012-11-15T16:19:00.094Z`. google.protobuf.Timestamp expiration_time = 2; // Optional. A label to identify this entry. string name = 3 [(google.api.field_behavior) = OPTIONAL]; - // This is always **sql#aclEntry**. + // This is always `sql#aclEntry`. string kind = 4; } @@ -53,6 +52,18 @@ message ApiWarning { // Warning when one or more regions are not reachable. The returned result // set may be incomplete. REGION_UNREACHABLE = 1; + + // Warning when user provided maxResults parameter exceeds the limit. The + // returned result set may be incomplete. + MAX_RESULTS_EXCEEDS_LIMIT = 2; + + // Warning when user tries to create/update a user with credentials that + // have previously been compromised by a public data breach. + COMPROMISED_CREDENTIALS = 3; + + // Warning when the operation succeeds but some non-critical workflow state + // failed. + INTERNAL_STATE_FAILURE = 4; } // Code to uniquely identify the warning type. @@ -89,13 +100,13 @@ message BackupRetentionSettings { // Database instance backup configuration. message BackupConfiguration { // Start time for the daily backup configuration in UTC timezone in the 24 - // hour format - **HH:MM**. + // hour format - `HH:MM`. string start_time = 1; // Whether this configuration is enabled. google.protobuf.BoolValue enabled = 2; - // This is always **sql#backupConfiguration**. + // This is always `sql#backupConfiguration`. string kind = 3; // (MySQL only) Whether binary log is enabled. If backup configuration is @@ -108,7 +119,7 @@ message BackupConfiguration { // Location of the backup string location = 6; - // (Postgres only) Whether point in time recovery is enabled. + // Whether point in time recovery is enabled. google.protobuf.BoolValue point_in_time_recovery_enabled = 7; // Backup retention settings. @@ -119,18 +130,24 @@ message BackupConfiguration { google.protobuf.Int32Value transaction_log_retention_days = 9; } +// Perform disk shrink context. +message PerformDiskShrinkContext { + // The target disk shrink size in GigaBytes. + int64 target_size_gb = 1; +} + // Backup context. message BackupContext { // The identifier of the backup. int64 backup_id = 1; - // This is always **sql#backupContext**. + // This is always `sql#backupContext`. string kind = 2; } // Represents a SQL database on the Cloud SQL instance. message Database { - // This is always **sql#database**. + // This is always `sql#database`. string kind = 1; // The Cloud SQL charset value. @@ -180,8 +197,8 @@ message DatabaseFlags { // in the Cloud SQL documentation. string name = 1; - // The value of the flag. Booleans are set to **on** for true - // and **off** for false. This field must be omitted if the flag + // The value of the flag. Boolean flags are set to `on` for true + // and `off` for false. This field must be omitted if the flag // doesn't take a value. string value = 2; } @@ -220,7 +237,7 @@ message InstanceReference { // Read-replica configuration for connecting to the on-premises primary // instance. message DemoteMasterConfiguration { - // This is always **sql#demoteMasterConfiguration**. + // This is always `sql#demoteMasterConfiguration`. string kind = 1; // MySQL specific configuration when replicating from a MySQL on-premises @@ -228,13 +245,13 @@ message DemoteMasterConfiguration { // username, password, certificates, and keys are not stored in the instance // metadata. The configuration information is used only to set up the // replication connection and is stored by MySQL in a file named - // **master.info** in the data directory. + // `master.info` in the data directory. DemoteMasterMySqlReplicaConfiguration mysql_replica_configuration = 2; } // Read-replica configuration specific to MySQL databases. message DemoteMasterMySqlReplicaConfiguration { - // This is always **sql#demoteMasterMysqlReplicaConfiguration**. + // This is always `sql#demoteMasterMysqlReplicaConfiguration`. string kind = 1; // The username for the replication connection. @@ -255,6 +272,19 @@ message DemoteMasterMySqlReplicaConfiguration { string ca_certificate = 6; } +enum SqlFileType { + // Unknown file type. + SQL_FILE_TYPE_UNSPECIFIED = 0; + + // File containing SQL statements. + SQL = 1; + + // File in CSV format. + CSV = 2; + + BAK = 4; +} + // Database instance export context. message ExportContext { message SqlCsvExportOptions { @@ -280,14 +310,12 @@ message ExportContext { message SqlExportOptions { // Options for exporting from MySQL. message MysqlExportOptions { - // Option to include SQL statement required to set up replication. - // * If set to **1**, the dump file includes - // a CHANGE MASTER TO statement with the binary log coordinates, - // and --set-gtid-purged is set to ON. - // * If set to **2**, the CHANGE MASTER TO statement is written as - // a SQL comment and has no effect. - // * If set to any value other than **1**, --set-gtid-purged is set - // to OFF. + // Option to include SQL statement required to set up replication. If set + // to `1`, the dump file includes a CHANGE MASTER TO statement with the + // binary log coordinates, and --set-gtid-purged is set to ON. If set to + // `2`, the CHANGE MASTER TO statement is written as a SQL comment and + // has no effect. If set to any value other than `1`, --set-gtid-purged + // is set to OFF. google.protobuf.Int32Value master_data = 1; } @@ -300,47 +328,76 @@ message ExportContext { google.protobuf.BoolValue schema_only = 2; MysqlExportOptions mysql_export_options = 3; + + // Optional. The number of threads to use for parallel export. + google.protobuf.Int32Value threads = 4 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Whether or not the export should be parallel. + google.protobuf.BoolValue parallel = 5 + [(google.api.field_behavior) = OPTIONAL]; + } + + // Options for exporting BAK files (SQL Server-only) + message SqlBakExportOptions { + // Whether or not the export should be striped. + google.protobuf.BoolValue striped = 1; + + // Option for specifying how many stripes to use for the export. + // If blank, and the value of the striped field is true, + // the number of stripes is automatically chosen. + google.protobuf.Int32Value stripe_count = 2; + + // Type of this bak file will be export, FULL or DIFF, SQL Server only + BakType bak_type = 4; + + // Deprecated: copy_only is deprecated. Use differential_base instead + google.protobuf.BoolValue copy_only = 5 [deprecated = true]; + + // Whether or not the backup can be used as a differential base + // copy_only backup can not be served as differential base + google.protobuf.BoolValue differential_base = 6; } // The path to the file in Google Cloud Storage where the export will be - // stored. The URI is in the form **gs://bucketName/fileName**. If the file + // stored. The URI is in the form `gs://bucketName/fileName`. If the file // already exists, the request succeeds, but the operation fails. If - // **fileType** is **SQL** and the filename ends with .gz, + // `fileType` is `SQL` and the filename ends with .gz, // the contents are compressed. string uri = 1; - // Databases to be exported. - // * **MySQL instances:** If **fileType** is **SQL** and no database is - // specified, all databases are exported, except for the **mysql** system - // database. If **fileType** is **CSV**, you can specify one database, + // Databases to be exported.
`MySQL instances:` If + // `fileType` is `SQL` and no database is specified, all + // databases are exported, except for the `mysql` system database. + // If `fileType` is `CSV`, you can specify one database, // either by using this property or by using the - // **csvExportOptions.selectQuery** property, which takes precedence - // over this property. - // * **PostgreSQL instances:** You must specify one database to be exported. - // If **fileType** is **CSV**, this database must match the one specified in - // the **csvExportOptions.selectQuery** property. - // * **SQL Server instances:** You must specify one database to be exported, - // and the **fileType** must be **BAK**. + // `csvExportOptions.selectQuery` property, which takes precedence + // over this property.
`PostgreSQL instances:` You must specify + // one database to be exported. If `fileType` is `CSV`, + // this database must match the one specified in the + // `csvExportOptions.selectQuery` property.
`SQL Server + // instances:` You must specify one database to be exported, and the + // `fileType` must be `BAK`. repeated string databases = 2; - // This is always **sql#exportContext**. + // This is always `sql#exportContext`. string kind = 3; // Options for exporting data as SQL statements. SqlExportOptions sql_export_options = 4; - // Options for exporting data as CSV. **MySQL** and **PostgreSQL** + // Options for exporting data as CSV. `MySQL` and `PostgreSQL` // instances only. SqlCsvExportOptions csv_export_options = 5; // The file type for the specified uri. - // * **SQL**: The file contains SQL statements. - // * **CSV**: The file contains CSV data. - // * **BAK**: The file contains backup data for a SQL Server instance. SqlFileType file_type = 6; // Option for export offload. google.protobuf.BoolValue offload = 8; + + // Options for exporting data as BAK files. + SqlBakExportOptions bak_export_options = 9; } // Database instance import context. @@ -372,12 +429,12 @@ message ImportContext { message SqlBakImportOptions { message EncryptionOptions { // Path to the Certificate (.cer) in Cloud Storage, in the form - // **gs://bucketName/fileName**. The instance must have + // `gs://bucketName/fileName`. The instance must have // write permissions to the bucket and read access to the file. string cert_path = 1; // Path to the Certificate Private Key (.pvk) in Cloud Storage, in the - // form **gs://bucketName/fileName**. The instance must have + // form `gs://bucketName/fileName`. The instance must have // write permissions to the bucket and read access to the file. string pvk_path = 2; @@ -386,25 +443,55 @@ message ImportContext { } EncryptionOptions encryption_options = 1; + + // Whether or not the backup set being restored is striped. + // Applies only to Cloud SQL for SQL Server. + google.protobuf.BoolValue striped = 2; + + // Whether or not the backup importing will restore database + // with NORECOVERY option + // Applies only to Cloud SQL for SQL Server. + google.protobuf.BoolValue no_recovery = 4; + + // Whether or not the backup importing request will just bring database + // online without downloading Bak content only one of "no_recovery" and + // "recovery_only" can be true otherwise error will return. Applies only to + // Cloud SQL for SQL Server. + google.protobuf.BoolValue recovery_only = 5; + + // Type of the bak content, FULL or DIFF + BakType bak_type = 6; + + // Optional. The timestamp when the import should stop. This timestamp is in + // the [RFC 3339](https://tools.ietf.org/html/rfc3339) format (for example, + // `2023-10-01T16:19:00.094`). This field is equivalent to the STOPAT + // keyword and applies to Cloud SQL for SQL Server only. + google.protobuf.Timestamp stop_at = 7 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The marked transaction where the import should stop. This field + // is equivalent to the STOPATMARK keyword and applies to Cloud SQL for SQL + // Server only. + string stop_at_mark = 8 [(google.api.field_behavior) = OPTIONAL]; } // Path to the import file in Cloud Storage, in the form - // **gs://bucketName/fileName**. Compressed gzip files (.gz) are supported - // when **fileType** is **SQL**. The instance must have + // `gs://bucketName/fileName`. Compressed gzip files (.gz) are supported + // when `fileType` is `SQL`. The instance must have // write permissions to the bucket and read access to the file. string uri = 1; - // The target database for the import. If **fileType** is **SQL**, this field + // The target database for the import. If `fileType` is `SQL`, this field // is required only if the import file does not specify a database, and is // overridden by any database specification in the import file. If - // **fileType** is **CSV**, one database must be specified. + // `fileType` is `CSV`, one database must be specified. string database = 2; - // This is always **sql#importContext**. + // This is always `sql#importContext`. string kind = 3; - // The file type for the specified uri.
**SQL**: The file - // contains SQL statements.
**CSV**: The file contains CSV data. + // The file type for the specified uri.\`SQL`: The file + // contains SQL statements. \`CSV`: The file contains CSV data. SqlFileType file_type = 4; // Options for importing data as CSV. @@ -417,46 +504,118 @@ message ImportContext { SqlBakImportOptions bak_import_options = 7; } -enum SqlFileType { - // Unknown file type. - SQL_FILE_TYPE_UNSPECIFIED = 0; +enum BakType { + // Default type. + BAK_TYPE_UNSPECIFIED = 0; - // File containing SQL statements. - SQL = 1; + // Full backup. + FULL = 1; - // File in CSV format. - CSV = 2; + // Differential backup. + DIFF = 2; - BAK = 4; + // Transaction Log backup + TLOG = 3; } // IP Management configuration. message IpConfiguration { + // The SSL options for database connections. + enum SslMode { + // The SSL mode is unknown. + SSL_MODE_UNSPECIFIED = 0; + + // Allow non-SSL/non-TLS and SSL/TLS connections. For SSL/TLS connections, + // the client certificate won't be verified. + // When this value is used, the legacy `require_ssl` flag must be false or + // cleared to avoid the conflict between values of two flags. + ALLOW_UNENCRYPTED_AND_ENCRYPTED = 1; + + // Only allow connections encrypted with SSL/TLS. + // When this value is used, the legacy `require_ssl` flag must be false or + // cleared to avoid the conflict between values of two flags. + ENCRYPTED_ONLY = 2; + + // Only allow connections encrypted with SSL/TLS and with valid + // client certificates. + // When this value is used, the legacy `require_ssl` flag must be true or + // cleared to avoid the conflict between values of two flags. + TRUSTED_CLIENT_CERTIFICATE_REQUIRED = 3; + } + // Whether the instance is assigned a public IP address or not. google.protobuf.BoolValue ipv4_enabled = 1; // The resource link for the VPC network from which the Cloud SQL instance is // accessible for private IP. For example, - // **/projects/myProject/global/networks/default**. This setting can + // `/projects/myProject/global/networks/default`. This setting can // be updated, but it cannot be removed after it is set. string private_network = 2; - // Whether SSL connections over IP are enforced or not. + // Use `ssl_mode` instead for MySQL and PostgreSQL. SQL Server uses this flag. + // + // Whether SSL/TLS connections over IP are enforced. + // If set to false, then allow both non-SSL/non-TLS and SSL/TLS connections. + // For SSL/TLS connections, the client certificate won't be verified. If + // set to true, then only allow connections encrypted with SSL/TLS and with + // valid client certificates. If you want to enforce SSL/TLS without enforcing + // the requirement for valid client certificates, then use the `ssl_mode` flag + // instead of the `require_ssl` flag. google.protobuf.BoolValue require_ssl = 3; // The list of external networks that are allowed to connect to the instance // using the IP. In 'CIDR' notation, also known as 'slash' notation (for - // example: **192.168.100.0/24**). + // example: `157.197.200.0/24`). repeated AclEntry authorized_networks = 4; - // The name of the allocated ip range for the private ip CloudSQL instance. + // The name of the allocated ip range for the private ip Cloud SQL instance. // For example: "google-managed-services-default". If set, the instance ip // will be created in the allocated range. The range name must comply with // [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name // must be 1-63 characters long and match the regular expression // `[a-z]([-a-z0-9]*[a-z0-9])?.` - // Reserved for future use. string allocated_ip_range = 6; + + // Controls connectivity to private IP instances from Google services, + // such as BigQuery. + google.protobuf.BoolValue enable_private_path_for_google_cloud_services = 7; + + // Specify how SSL/TLS is enforced in database connections. MySQL and + // PostgreSQL use the `ssl_mode` flag. If you must use the `require_ssl` flag + // for backward compatibility, then only the following value pairs are valid: + // + // * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false` + // * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false` + // * `ssl_mode=TRUSTED_CLIENT_CERTIFICATE_REQUIRED` and `require_ssl=true` + // + // The value of `ssl_mode` gets priority over the value of `require_ssl`. For + // example, for the pair `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false`, + // the `ssl_mode=ENCRYPTED_ONLY` means only accept SSL connections, while the + // `require_ssl=false` means accept both non-SSL and SSL connections. MySQL + // and PostgreSQL databases respect `ssl_mode` in this case and accept only + // SSL connections. + // + // SQL Server uses the `require_ssl` flag. You can set the value for this flag + // to `true` or `false`. + SslMode ssl_mode = 8; + + // PSC settings for this instance. + optional PscConfig psc_config = 9; +} + +// PSC settings for a Cloud SQL instance. +message PscConfig { + // Whether PSC connectivity is enabled for this instance. + optional bool psc_enabled = 1; + + // Optional. The list of consumer projects that are allow-listed for PSC + // connections to this instance. This instance can be connected to with PSC + // from any network in these projects. + // + // Each consumer project in this list may be represented by a project number + // (numeric) or by a project id (alphanumeric). + repeated string allowed_consumer_projects = 2 + [(google.api.field_behavior) = OPTIONAL]; } // Preferred location. This specifies where a Cloud SQL instance is located. @@ -465,19 +624,19 @@ message IpConfiguration { // specified. message LocationPreference { // The App Engine application to follow, it must be in the same region as the - // Cloud SQL instance. + // Cloud SQL instance. WARNING: Changing this might restart the instance. string follow_gae_application = 1 [deprecated = true]; // The preferred Compute Engine zone (for example: us-central1-a, - // us-central1-b, etc.). + // us-central1-b, etc.). WARNING: Changing this might restart the instance. string zone = 2; // The preferred Compute Engine zone for the secondary/failover // (for example: us-central1-a, us-central1-b, etc.). - // Reserved for future use. + // To disable this field, set it to 'no_secondary_zone'. string secondary_zone = 4; - // This is always **sql#locationPreference**. + // This is always `sql#locationPreference`. string kind = 3; } @@ -490,12 +649,12 @@ message MaintenanceWindow { // day of week (1-7), starting on Monday. google.protobuf.Int32Value day = 2; - // Maintenance timing setting: **canary** (Earlier) or **stable** (Later). + // Maintenance timing setting: `canary` (Earlier) or `stable` (Later). // [Learn // more](https://cloud.google.com/sql/docs/mysql/instance-settings#maintenance-timing-2ndgen). SqlUpdateTrack update_track = 3; - // This is always **sql#maintenanceWindow**. + // This is always `sql#maintenanceWindow`. string kind = 4; } @@ -582,7 +741,7 @@ message MySqlReplicaConfiguration { // certificate that it sends during the SSL handshake. google.protobuf.BoolValue verify_server_certificate = 10; - // This is always **sql#mysqlReplicaConfiguration**. + // This is always `sql#mysqlReplicaConfiguration`. string kind = 11; } @@ -591,7 +750,7 @@ message DiskEncryptionConfiguration { // Resource name of KMS key for disk encryption string kms_key_name = 1; - // This is always **sql#diskEncryptionConfiguration**. + // This is always `sql#diskEncryptionConfiguration`. string kind = 2; } @@ -600,15 +759,15 @@ message DiskEncryptionStatus { // KMS key version used to encrypt the Cloud SQL instance resource string kms_key_version_name = 1; - // This is always **sql#diskEncryptionStatus**. + // This is always `sql#diskEncryptionStatus`. string kind = 2; } -// Database instance IP Mapping. +// Database instance IP mapping message IpMapping { - // The type of this IP address. A **PRIMARY** address is a public address that - // can accept incoming connections. A **PRIVATE** address is a private address - // that can accept incoming connections. An **OUTGOING** address is the source + // The type of this IP address. A `PRIMARY` address is a public address that + // can accept incoming connections. A `PRIVATE` address is a private address + // that can accept incoming connections. An `OUTGOING` address is the source // address of connections originating from the instance, if supported. SqlIpAddressType type = 1; @@ -617,7 +776,7 @@ message IpMapping { // The due time for this IP to be retired in // [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example - // **2012-11-15T16:19:00.094Z**. This field is only available when + // `2012-11-15T16:19:00.094Z`. This field is only available when // the IP is scheduled to be retired. google.protobuf.Timestamp time_to_retire = 3; } @@ -733,6 +892,19 @@ message Operation { // Starts external sync of a Cloud SQL EM replica to an external primary // instance. START_EXTERNAL_SYNC = 35; + + // Recovers logs from an instance's old data disk. + LOG_CLEANUP = 36; + + // Performs auto-restart of an HA-enabled Cloud SQL database for auto + // recovery. + AUTO_RESTART = 37; + + // Re-encrypts CMEK instances with latest key version. + REENCRYPT = 38; + + // Switches over to replica instance from primary. + SWITCHOVER = 39; } // The status of an operation. @@ -750,16 +922,12 @@ message Operation { DONE = 3; } - // This is always **sql#operation**. + // This is always `sql#operation`. string kind = 1; string target_link = 2; - // The status of an operation. Valid values are: - // * **PENDING** - // * **RUNNING** - // * **DONE** - // * **SQL_OPERATION_STATUS_UNSPECIFIED** + // The status of an operation. SqlOperationStatus status = 3; // The email address of the user who initiated this operation. @@ -767,36 +935,39 @@ message Operation { // The time this operation was enqueued in UTC timezone in [RFC // 3339](https://tools.ietf.org/html/rfc3339) format, for example - // **2012-11-15T16:19:00.094Z**. + // `2012-11-15T16:19:00.094Z`. google.protobuf.Timestamp insert_time = 5; // The time this operation actually started in UTC timezone in [RFC // 3339](https://tools.ietf.org/html/rfc3339) format, for example - // **2012-11-15T16:19:00.094Z**. + // `2012-11-15T16:19:00.094Z`. google.protobuf.Timestamp start_time = 6; // The time this operation finished in UTC timezone in [RFC // 3339](https://tools.ietf.org/html/rfc3339) format, for example - // **2012-11-15T16:19:00.094Z**. + // `2012-11-15T16:19:00.094Z`. google.protobuf.Timestamp end_time = 7; // If errors occurred during processing of this operation, this field will be // populated. OperationErrors error = 8; + // An Admin API warning message. + ApiWarning api_warning = 19; + // The type of the operation. Valid values are: - // * **CREATE** - // * **DELETE** - // * **UPDATE** - // * **RESTART** - // * **IMPORT** - // * **EXPORT** - // * **BACKUP_VOLUME** - // * **RESTORE_VOLUME** - // * **CREATE_USER** - // * **DELETE_USER** - // * **CREATE_DATABASE** - // * **DELETE_DATABASE** + // * `CREATE` + // * `DELETE` + // * `UPDATE` + // * `RESTART` + // * `IMPORT` + // * `EXPORT` + // * `BACKUP_VOLUME` + // * `RESTORE_VOLUME` + // * `CREATE_USER` + // * `DELETE_USER` + // * `CREATE_DATABASE` + // * `DELETE_DATABASE` SqlOperationType operation_type = 9; // The context for import operation, if applicable. @@ -825,7 +996,7 @@ message Operation { // Database instance operation error. message OperationError { - // This is always **sql#operationError**. + // This is always `sql#operationError`. string kind = 1; // Identifies the specific error that occurred. @@ -837,13 +1008,55 @@ message OperationError { // Database instance operation errors list wrapper. message OperationErrors { - // This is always **sql#operationErrors**. + // This is always `sql#operationErrors`. string kind = 1; // The list of errors encountered while processing this operation. repeated OperationError errors = 2; } +// Database instance local user password validation policy +message PasswordValidationPolicy { + // The complexity choices of the password. + enum Complexity { + // Complexity check is not specified. + COMPLEXITY_UNSPECIFIED = 0; + + // A combination of lowercase, uppercase, numeric, and non-alphanumeric + // characters. + COMPLEXITY_DEFAULT = 1; + } + + // Minimum number of characters allowed. + google.protobuf.Int32Value min_length = 1; + + // The complexity of the password. + Complexity complexity = 2; + + // Number of previous passwords that cannot be reused. + google.protobuf.Int32Value reuse_interval = 3; + + // Disallow username as a part of the password. + google.protobuf.BoolValue disallow_username_substring = 4; + + // Minimum interval after which the password can be changed. This flag is only + // supported for PostgreSQL. + google.protobuf.Duration password_change_interval = 5; + + // Whether the password policy is enabled or not. + google.protobuf.BoolValue enable_password_policy = 6; + + // Disallow credentials that have been previously compromised by a public data + // breach. + google.protobuf.BoolValue disallow_compromised_credentials = 7; +} + +// Data cache configurations. +message DataCacheConfig { + // Whether data cache is enabled for the instance. + bool data_cache_enabled = 1; +} + // Database instance settings. message Settings { // Specifies when the instance is activated. @@ -861,6 +1074,32 @@ message Settings { ON_DEMAND = 3 [deprecated = true]; } + // The edition of the instance, can be ENTERPRISE or ENTERPRISE_PLUS. + enum Edition { + // The instance did not specify the edition. + EDITION_UNSPECIFIED = 0; + + // The instance is an enterprise edition. + ENTERPRISE = 2; + + // The instance is an Enterprise Plus edition. + ENTERPRISE_PLUS = 3; + } + + // The options for enforcing Cloud SQL connectors in the instance. + enum ConnectorEnforcement { + // The requirement for Cloud SQL connectors is unknown. + CONNECTOR_ENFORCEMENT_UNSPECIFIED = 0; + + // Do not require Cloud SQL connectors. + NOT_REQUIRED = 1; + + // Require all connections to use Cloud SQL connectors, including the + // Cloud SQL Auth Proxy and Cloud SQL Java, Python, and Go connectors. + // Note: This disables all existing authorized networks. + REQUIRED = 2; + } + // The version of instance settings. This is a required field for update // method to make sure concurrent updates are handled properly. During update, // use the most recent settingsVersion value for this instance and do not try @@ -872,10 +1111,10 @@ message Settings { repeated string authorized_gae_applications = 2 [deprecated = true]; // The tier (or machine type) for this instance, for example - // **db-custom-1-3840**. + // `db-custom-1-3840`. WARNING: Changing this restarts the instance. string tier = 3; - // This is always **sql#settings**. + // This is always `sql#settings`. string kind = 4; // User-provided labels, represented as a dictionary where each label is a @@ -883,21 +1122,21 @@ message Settings { map user_labels = 5; // Availability type. Potential values: - // * **ZONAL**: The instance serves data from only one zone. Outages in that + // * `ZONAL`: The instance serves data from only one zone. Outages in that // zone affect data accessibility. - // * **REGIONAL**: The instance can serve data from more than one zone in a + // * `REGIONAL`: The instance can serve data from more than one zone in a // region (it is highly available)./ // // For more information, see [Overview of the High Availability // Configuration](https://cloud.google.com/sql/docs/mysql/high-availability). SqlAvailabilityType availability_type = 6; - // The pricing plan for this instance. This can be either **PER_USE** or - // **PACKAGE**. Only **PER_USE** is supported for Second Generation instances. + // The pricing plan for this instance. This can be either `PER_USE` or + // `PACKAGE`. Only `PER_USE` is supported for Second Generation instances. SqlPricingPlan pricing_plan = 7; // The type of replication this instance uses. This can be either - // **ASYNCHRONOUS** or **SYNCHRONOUS**. (Deprecated) This property was only + // `ASYNCHRONOUS` or `SYNCHRONOUS`. (Deprecated) This property was only // applicable to First Generation instances. SqlReplicationType replication_type = 8 [deprecated = true]; @@ -907,9 +1146,9 @@ message Settings { // The activation policy specifies when the instance is activated; it is // applicable only when the instance state is RUNNABLE. Valid values: - // * **ALWAYS**: The instance is on, and remains so even in the absence of + // * `ALWAYS`: The instance is on, and remains so even in the absence of // connection requests. - // * **NEVER**: The instance is off; it is not activated, even if a + // * `NEVER`: The instance is off; it is not activated, even if a // connection request arrives. SqlActivationPolicy activation_policy = 10; @@ -931,7 +1170,7 @@ message Settings { // The database flags passed to the instance at startup. repeated DatabaseFlags database_flags = 14; - // The type of data disk: **PD_SSD** (default) or **PD_HDD**. Not used for + // The type of data disk: `PD_SSD` (default) or `PD_HDD`. Not used for // First Generation instances. SqlDataDiskType data_disk_type = 15; @@ -943,13 +1182,15 @@ message Settings { BackupConfiguration backup_configuration = 17; // Configuration specific to read replica instances. Indicates whether - // replication is enabled or not. + // replication is enabled or not. WARNING: Changing this restarts the + // instance. google.protobuf.BoolValue database_replication_enabled = 18; // Configuration specific to read replica instances. Indicates whether // database flags for crash-safe replication are enabled. This property was // only applicable to First Generation instances. - google.protobuf.BoolValue crash_safe_replication_enabled = 19 [deprecated = true]; + google.protobuf.BoolValue crash_safe_replication_enabled = 19 + [deprecated = true]; // The size of data disk, in GB. The data disk size minimum is 10GB. google.protobuf.Int64Value data_disk_size_gb = 20; @@ -966,13 +1207,50 @@ message Settings { // Insights configuration, for now relevant only for Postgres. InsightsConfig insights_config = 25; + // The local user password validation policy of the instance. + PasswordValidationPolicy password_validation_policy = 27; + // SQL Server specific audit configuration. SqlServerAuditConfig sql_server_audit_config = 29; + + // Optional. The edition of the instance. + Edition edition = 38 [(google.api.field_behavior) = OPTIONAL]; + + // Specifies if connections must use Cloud SQL connectors. + // Option values include the following: `NOT_REQUIRED` (Cloud SQL instances + // can be connected without Cloud SQL + // Connectors) and `REQUIRED` (Only allow connections that use Cloud SQL + // Connectors). + // + // Note that using REQUIRED disables all existing authorized networks. If + // this field is not specified when creating a new instance, NOT_REQUIRED is + // used. If this field is not specified when patching or updating an existing + // instance, it is left unchanged in the instance. + ConnectorEnforcement connector_enforcement = 32; + + // Configuration to protect against accidental instance deletion. + google.protobuf.BoolValue deletion_protection_enabled = 33; + + // Server timezone, relevant only for Cloud SQL for SQL Server. + string time_zone = 34; + + // Specifies advance machine configuration for the instance + // relevant only for SQL Server. + AdvancedMachineFeatures advanced_machine_features = 35; + + // Configuration for data cache. + DataCacheConfig data_cache_config = 37; +} + +// Specifies options for controlling advanced machine features. +message AdvancedMachineFeatures { + // The number of threads per physical core. + int32 threads_per_core = 1; } // SslCerts Resource message SslCert { - // This is always **sql#sslCert**. + // This is always `sql#sslCert`. string kind = 1; // Serial number, as extracted from the certificate. @@ -983,7 +1261,7 @@ message SslCert { // The time when the certificate was created in [RFC // 3339](https://tools.ietf.org/html/rfc3339) format, for example - // **2012-11-15T16:19:00.094Z** + // `2012-11-15T16:19:00.094Z` google.protobuf.Timestamp create_time = 4; // User supplied name. Constrained to [a-zA-Z.-_ ]+. @@ -991,7 +1269,7 @@ message SslCert { // The time when the certificate expires in [RFC // 3339](https://tools.ietf.org/html/rfc3339) format, for example - // **2012-11-15T16:19:00.094Z**. + // `2012-11-15T16:19:00.094Z`. google.protobuf.Timestamp expiration_time = 6; // Sha1 Fingerprint. @@ -1030,6 +1308,12 @@ message SqlServerAuditConfig { // The name of the destination bucket (e.g., gs://mybucket). string bucket = 2; + + // How long to keep generated audit files. + google.protobuf.Duration retention_interval = 3; + + // How often to upload generated audit files. + google.protobuf.Duration upload_interval = 4; } enum SqlBackendType { @@ -1086,12 +1370,6 @@ enum SqlDatabaseVersion { // The database version is MySQL 5.7. MYSQL_5_7 = 6; - // The database version is PostgreSQL 9.6. - POSTGRES_9_6 = 9; - - // The database version is PostgreSQL 11. - POSTGRES_11 = 10; - // The database version is SQL Server 2017 Standard. SQLSERVER_2017_STANDARD = 11; @@ -1104,15 +1382,66 @@ enum SqlDatabaseVersion { // The database version is SQL Server 2017 Web. SQLSERVER_2017_WEB = 16; + // The database version is PostgreSQL 9.6. + POSTGRES_9_6 = 9; + // The database version is PostgreSQL 10. POSTGRES_10 = 18; + // The database version is PostgreSQL 11. + POSTGRES_11 = 10; + // The database version is PostgreSQL 12. POSTGRES_12 = 19; // The database version is PostgreSQL 13. POSTGRES_13 = 23; + // The database version is PostgreSQL 14. + POSTGRES_14 = 110; + + // The database version is PostgreSQL 15. + POSTGRES_15 = 172; + + // The database version is MySQL 8. + MYSQL_8_0 = 20; + + // The database major version is MySQL 8.0 and the minor version is 18. + MYSQL_8_0_18 = 41; + + // The database major version is MySQL 8.0 and the minor version is 26. + MYSQL_8_0_26 = 85; + + // The database major version is MySQL 8.0 and the minor version is 27. + MYSQL_8_0_27 = 111; + + // The database major version is MySQL 8.0 and the minor version is 28. + MYSQL_8_0_28 = 132; + + // The database major version is MySQL 8.0 and the minor version is 29. + MYSQL_8_0_29 = 148 [deprecated = true]; + + // The database major version is MySQL 8.0 and the minor version is 30. + MYSQL_8_0_30 = 174; + + // The database major version is MySQL 8.0 and the minor version is 31. + MYSQL_8_0_31 = 197; + + // The database major version is MySQL 8.0 and the minor version is 32. + MYSQL_8_0_32 = 213; + + // The database major version is MySQL 8.0 and the minor version is 33. + MYSQL_8_0_33 = 238; + + // The database major version is MySQL 8.0 and the minor version is 34. + MYSQL_8_0_34 = 239; + + // The database major version is MySQL 8.0 and the minor version is 35. + MYSQL_8_0_35 = 240; + + // The database major version is MySQL 8.0 and the minor version is 36. + MYSQL_8_0_36 = 241; + // The database version is SQL Server 2019 Standard. SQLSERVER_2019_STANDARD = 26; @@ -1124,6 +1453,18 @@ enum SqlDatabaseVersion { // The database version is SQL Server 2019 Web. SQLSERVER_2019_WEB = 29; + + // The database version is SQL Server 2022 Standard. + SQLSERVER_2022_STANDARD = 199; + + // The database version is SQL Server 2022 Enterprise. + SQLSERVER_2022_ENTERPRISE = 200; + + // The database version is SQL Server 2022 Express. + SQLSERVER_2022_EXPRESS = 201; + + // The database version is SQL Server 2022 Web. + SQLSERVER_2022_WEB = 202; } // The pricing plan for this instance. @@ -1194,4 +1535,10 @@ enum SqlUpdateTrack { // your instance prefer to let Cloud SQL choose the timing of restart (within // its Maintenance window, if applicable). stable = 2; + + // For instance update that requires a restart, this update track indicates + // your instance prefer to let Cloud SQL choose the timing of restart (within + // its Maintenance window, if applicable) to be at least 5 weeks after the + // notification. + week5 = 3; } diff --git a/third_party/googleapis/google/cloud/sql/v1/cloud_sql_ssl_certs.proto b/third_party/googleapis/google/cloud/sql/v1/cloud_sql_ssl_certs.proto index 436b0d670..aa707bc89 100644 --- a/third_party/googleapis/google/cloud/sql/v1/cloud_sql_ssl_certs.proto +++ b/third_party/googleapis/google/cloud/sql/v1/cloud_sql_ssl_certs.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,8 +17,8 @@ syntax = "proto3"; package google.cloud.sql.v1; import "google/api/annotations.proto"; -import "google/cloud/sql/v1/cloud_sql_resources.proto"; import "google/api/client.proto"; +import "google/cloud/sql/v1/cloud_sql_resources.proto"; option go_package = "cloud.google.com/go/sql/apiv1/sqlpb;sqlpb"; option java_multiple_files = true; @@ -118,7 +118,7 @@ message SslCertsInsertRequest { // SslCert insert response. message SslCertsInsertResponse { - // This is always **sql#sslCertsInsert**. + // This is always `sql#sslCertsInsert`. string kind = 1; // The operation to track the ssl certs insert request. @@ -135,7 +135,7 @@ message SslCertsInsertResponse { // SslCerts list response. message SslCertsListResponse { - // This is always **sql#sslCertsList**. + // This is always `sql#sslCertsList`. string kind = 1; // List of client certificates for the instance. diff --git a/third_party/googleapis/google/cloud/sql/v1/cloud_sql_tiers.proto b/third_party/googleapis/google/cloud/sql/v1/cloud_sql_tiers.proto index d361abe7f..b0d1351d7 100644 --- a/third_party/googleapis/google/cloud/sql/v1/cloud_sql_tiers.proto +++ b/third_party/googleapis/google/cloud/sql/v1/cloud_sql_tiers.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -34,7 +34,7 @@ service SqlTiersService { "https://www.googleapis.com/auth/sqlservice.admin"; // Lists all available machine types (tiers) for Cloud SQL, for example, - // db-custom-1-3840. For more information, see + // `db-custom-1-3840`. For more information, see // https://cloud.google.com/sql/pricing. rpc List(SqlTiersListRequest) returns (TiersListResponse) { option (google.api.http) = { @@ -51,7 +51,7 @@ message SqlTiersListRequest { // Tiers list response. message TiersListResponse { - // This is always **sql#tiersList**. + // This is always `sql#tiersList`. string kind = 1; // List of tiers. @@ -60,14 +60,14 @@ message TiersListResponse { // A Google Cloud SQL service tier resource. message Tier { - // An identifier for the machine type, for example, db-custom-1-3840. For + // An identifier for the machine type, for example, `db-custom-1-3840`. For // related information, see [Pricing](/sql/pricing). string tier = 1; // The maximum RAM usage of this tier in bytes. int64 RAM = 2; - // This is always **sql#tier**. + // This is always `sql#tier`. string kind = 3; // The maximum disk size of this tier in bytes. diff --git a/third_party/googleapis/google/cloud/sql/v1/cloud_sql_users.proto b/third_party/googleapis/google/cloud/sql/v1/cloud_sql_users.proto index 74f5db560..0dc3fee6d 100644 --- a/third_party/googleapis/google/cloud/sql/v1/cloud_sql_users.proto +++ b/third_party/googleapis/google/cloud/sql/v1/cloud_sql_users.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,20 +17,17 @@ syntax = "proto3"; package google.cloud.sql.v1; import "google/api/annotations.proto"; +import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/cloud/sql/v1/cloud_sql_resources.proto"; -import "google/api/client.proto"; +import "google/protobuf/duration.proto"; +import "google/protobuf/timestamp.proto"; option go_package = "cloud.google.com/go/sql/apiv1/sqlpb;sqlpb"; option java_multiple_files = true; option java_outer_classname = "CloudSqlUsersProto"; option java_package = "com.google.cloud.sql.v1"; -// NOTE: No sensitive PII logging is allowed. If you are adding a field/enum -// value that is sensitive PII, please add corresponding datapol annotation to -// it. For more information, please see -// https://g3doc.corp.google.com/storage/speckle/g3doc/purple_team/data_pol_annotations.md?cl=head - // Cloud SQL users service. service SqlUsersService { option (google.api.default_host) = "sqladmin.googleapis.com"; @@ -45,6 +42,13 @@ service SqlUsersService { }; } + // Retrieves a resource containing information about a user. + rpc Get(SqlUsersGetRequest) returns (User) { + option (google.api.http) = { + get: "/v1/projects/{project}/instances/{instance}/users/{name}" + }; + } + // Creates a new user in a Cloud SQL instance. rpc Insert(SqlUsersInsertRequest) returns (Operation) { option (google.api.http) = { @@ -83,6 +87,21 @@ message SqlUsersDeleteRequest { string project = 4; } +// Request message for Users Get RPC +message SqlUsersGetRequest { + // Database instance ID. This does not include the project ID. + string instance = 1; + + // User of the instance. + string name = 2; + + // Project ID of the project that contains the instance. + string project = 3; + + // Host of a user of the instance. + string host = 4; +} + message SqlUsersInsertRequest { // Database instance ID. This does not include the project ID. string instance = 1; @@ -117,6 +136,34 @@ message SqlUsersUpdateRequest { User body = 100; } +// User level password validation policy. +message UserPasswordValidationPolicy { + // Number of failed login attempts allowed before user get locked. + int32 allowed_failed_attempts = 1; + + // Expiration duration after password is updated. + google.protobuf.Duration password_expiration_duration = 2; + + // If true, failed login attempts check will be enabled. + bool enable_failed_attempts_check = 3; + + // Output only. Read-only password status. + PasswordStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // If true, the user must specify the current password before changing the + // password. This flag is supported only for MySQL. + bool enable_password_verification = 5; +} + +// Read-only password status. +message PasswordStatus { + // If true, user does not have login privileges. + bool locked = 1; + + // The expiration time of the current password. + google.protobuf.Timestamp password_expiration_time = 2; +} + // A Cloud SQL user resource. message User { // The user type. @@ -129,9 +176,33 @@ message User { // Cloud IAM service account. CLOUD_IAM_SERVICE_ACCOUNT = 2; + + // Cloud IAM group non-login user. + CLOUD_IAM_GROUP = 3; + + // Cloud IAM group login user. + CLOUD_IAM_GROUP_USER = 4; + + // Cloud IAM group login service account. + CLOUD_IAM_GROUP_SERVICE_ACCOUNT = 5; + } + + // The type of retained password. + enum DualPasswordType { + // The default value. + DUAL_PASSWORD_TYPE_UNSPECIFIED = 0; + + // Do not update the user's dual password status. + NO_MODIFY_DUAL_PASSWORD = 1; + + // No dual password usable for connecting using this user. + NO_DUAL_PASSWORD = 2; + + // Dual password usable for connecting using this user. + DUAL_PASSWORD = 3; } - // This is always **sql#user**. + // This is always `sql#user`. string kind = 1; // The password for the user. @@ -142,22 +213,23 @@ message User { string etag = 3; // The name of the user in the Cloud SQL instance. Can be omitted for - // **update** since it is already specified in the URL. + // `update` because it is already specified in the URL. string name = 4; - // The host name from which the user can connect. For **insert** - // operations, host defaults to an empty string. For **update** + // Optional. The host from which the user can connect. For `insert` + // operations, host defaults to an empty string. For `update` // operations, host is specified as part of the request URL. The host name - // cannot be updated after insertion. - string host = 5; + // cannot be updated after insertion. For a MySQL instance, it's required; + // for a PostgreSQL or SQL Server instance, it's optional. + string host = 5 [(google.api.field_behavior) = OPTIONAL]; // The name of the Cloud SQL instance. This does not include the project ID. - // Can be omitted for **update** since it is already specified on the + // Can be omitted for `update` because it is already specified on the // URL. string instance = 6; // The project ID of the project containing the Cloud SQL database. The Google - // apps domain is prefixed if applicable. Can be omitted for **update** since + // apps domain is prefixed if applicable. Can be omitted for `update` because // it is already specified on the URL. string project = 7; @@ -169,6 +241,12 @@ message User { oneof user_details { SqlServerUserDetails sqlserver_user_details = 9; } + + // User level password validation policy. + UserPasswordValidationPolicy password_policy = 12; + + // Dual password status for the user. + optional DualPasswordType dual_password_type = 13; } // Represents a Sql Server user on the Cloud SQL instance. @@ -182,14 +260,12 @@ message SqlServerUserDetails { // User list response. message UsersListResponse { - // This is always **sql#usersList**. + // This is always `sql#usersList`. string kind = 1; // List of user resources in the instance. repeated User items = 2; - // An identifier that uniquely identifies the operation. You can use this - // identifier to retrieve the Operations resource that has information about - // the operation. - string next_page_token = 3; + // Unused. + string next_page_token = 3 [deprecated = true]; } diff --git a/third_party/googleapis/google/cloud/sql/v1/sqladmin_grpc_service_config.json b/third_party/googleapis/google/cloud/sql/v1/sqladmin_grpc_service_config.json index 57964f041..67716fc33 100644 --- a/third_party/googleapis/google/cloud/sql/v1/sqladmin_grpc_service_config.json +++ b/third_party/googleapis/google/cloud/sql/v1/sqladmin_grpc_service_config.json @@ -3,6 +3,8 @@ "name": [ { "service": "google.cloud.sql.v1.SqlBackupRunsService" }, { "service": "google.cloud.sql.v1.SqlDatabasesService" }, + { "service": "google.cloud.sql.v1.SqlAvailableDatabaseVersionsService" }, + { "service": "google.cloud.sql.v1.SqlEventsService" }, { "service": "google.cloud.sql.v1.SqlFlagsService" }, { "service": "google.cloud.sql.v1.SqlInstancesService" }, { "service": "google.cloud.sql.v1.SqlOperationsService" }, diff --git a/third_party/googleapis/google/cloud/sql/v1/sqladmin_v1.yaml b/third_party/googleapis/google/cloud/sql/v1/sqladmin_v1.yaml index 7c36d702d..4ff975c92 100644 --- a/third_party/googleapis/google/cloud/sql/v1/sqladmin_v1.yaml +++ b/third_party/googleapis/google/cloud/sql/v1/sqladmin_v1.yaml @@ -4,51 +4,37 @@ name: sqladmin.googleapis.com title: Cloud SQL Admin API apis: +- name: google.cloud.location.Locations - name: google.cloud.sql.v1.SqlBackupRunsService - name: google.cloud.sql.v1.SqlConnectService - name: google.cloud.sql.v1.SqlDatabasesService - name: google.cloud.sql.v1.SqlFlagsService -- name: google.cloud.sql.v1.SqlInstanceNamesService - name: google.cloud.sql.v1.SqlInstancesService - name: google.cloud.sql.v1.SqlOperationsService - name: google.cloud.sql.v1.SqlSslCertsService - name: google.cloud.sql.v1.SqlTiersService - name: google.cloud.sql.v1.SqlUsersService +- name: google.longrunning.Operations documentation: summary: API for Cloud SQL database instance management - -backend: rules: - - selector: 'google.cloud.sql.v1.SqlBackupRunsService.*' - deadline: 30.0 - - selector: google.cloud.sql.v1.SqlConnectService.GenerateEphemeralCert - deadline: 30.0 - - selector: google.cloud.sql.v1.SqlConnectService.GetConnectSettings - deadline: 30.0 - - selector: 'google.cloud.sql.v1.SqlDatabasesService.*' - deadline: 240.0 - - selector: google.cloud.sql.v1.SqlFlagsService.List - deadline: 30.0 - - selector: 'google.cloud.sql.v1.SqlInstancesService.*' - deadline: 30.0 - - selector: google.cloud.sql.v1.SqlInstancesService.Clone - deadline: 240.0 - - selector: google.cloud.sql.v1.SqlInstancesService.VerifyExternalSyncSettings - deadline: 240.0 - - selector: google.cloud.sql.v1.SqlOperationsService.Get - deadline: 30.0 - - selector: google.cloud.sql.v1.SqlOperationsService.List - deadline: 30.0 - - selector: 'google.cloud.sql.v1.SqlSslCertsService.*' - deadline: 30.0 - - selector: google.cloud.sql.v1.SqlTiersService.List - deadline: 240.0 - - selector: 'google.cloud.sql.v1.SqlUsersService.*' - deadline: 240.0 + - selector: google.cloud.location.Locations.GetLocation + description: Gets information about a location. + + - selector: google.cloud.location.Locations.ListLocations + description: Lists information about the supported locations for this service. authentication: rules: + - selector: google.cloud.location.Locations.GetLocation + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform + - selector: google.cloud.location.Locations.ListLocations + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform - selector: 'google.cloud.sql.v1.SqlBackupRunsService.*' oauth: canonical_scopes: |- @@ -87,12 +73,7 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform - - selector: google.cloud.sql.v1.SqlOperationsService.Get - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/cloud-platform, - https://www.googleapis.com/auth/sqlservice.admin - - selector: google.cloud.sql.v1.SqlOperationsService.List + - selector: 'google.cloud.sql.v1.SqlOperationsService.*' oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform, @@ -112,3 +93,7 @@ authentication: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform, https://www.googleapis.com/auth/sqlservice.admin + - selector: 'google.longrunning.Operations.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform diff --git a/third_party/googleapis/google/cloud/sql/v1beta4/BUILD.bazel b/third_party/googleapis/google/cloud/sql/v1beta4/BUILD.bazel index 30c70a35a..ef2f0ffe6 100644 --- a/third_party/googleapis/google/cloud/sql/v1beta4/BUILD.bazel +++ b/third_party/googleapis/google/cloud/sql/v1beta4/BUILD.bazel @@ -23,6 +23,7 @@ proto_library( srcs = [ "cloud_sql.proto", "cloud_sql_connect.proto", + "cloud_sql_iam_policies.proto", "cloud_sql_resources.proto", "cloud_sql_tiers.proto", "cloud_sql_users.proto", @@ -31,7 +32,9 @@ proto_library( "//google/api:annotations_proto", "//google/api:client_proto", "//google/api:field_behavior_proto", + "//google/longrunning:operations_proto", "@com_google_protobuf//:duration_proto", + "@com_google_protobuf//:empty_proto", "@com_google_protobuf//:timestamp_proto", "@com_google_protobuf//:wrappers_proto", ], @@ -42,6 +45,7 @@ proto_library_with_info( deps = [ ":sql_proto", "//google/cloud:common_resources_proto", + "//google/cloud/location:location_proto", ], ) @@ -119,7 +123,6 @@ proto_library_with_info( # "go_gapic_assembly_pkg", # "go_gapic_library", # "go_proto_library", -# "go_test", #) #go_proto_library( @@ -146,19 +149,13 @@ proto_library_with_info( # ], #) -#go_test( -# name = "sql_go_gapic_test", -# srcs = [":sql_go_gapic_srcjar_test"], -# embed = [":sql_go_gapic"], -# importpath = "cloud.google.com/go/sql/apiv1beta4", -#) - # Open Source Packages #go_gapic_assembly_pkg( # name = "gapi-cloud-sql-v1beta4-go", # deps = [ # ":sql_go_gapic", # ":sql_go_gapic_srcjar-metadata.srcjar", +# ":sql_go_gapic_srcjar-snippets.srcjar", # ":sql_go_gapic_srcjar-test.srcjar", # ":sql_go_proto", # ], @@ -181,6 +178,8 @@ py_gapic_library( rest_numeric_enums = True, service_yaml = "sqladmin_v1beta4.yaml", transport = "grpc", + deps = [ + ], ) py_test( @@ -208,7 +207,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -217,21 +215,15 @@ php_proto_library( deps = [":sql_proto"], ) -php_grpc_library( - name = "sql_php_grpc", - srcs = [":sql_proto"], - deps = [":sql_php_proto"], -) - php_gapic_library( name = "sql_php_gapic", srcs = [":sql_proto_with_info"], grpc_service_config = "sqladmin_grpc_service_config.json", + migration_mode = "PRE_MIGRATION_SURFACE_ONLY", rest_numeric_enums = True, service_yaml = "sqladmin_v1beta4.yaml", transport = "grpc+rest", deps = [ - ":sql_php_grpc", ":sql_php_proto", ], ) @@ -241,7 +233,6 @@ php_gapic_assembly_pkg( name = "google-cloud-sql-v1beta4-php", deps = [ ":sql_php_gapic", - ":sql_php_grpc", ":sql_php_proto", ], ) @@ -305,6 +296,7 @@ ruby_cloud_gapic_library( grpc_service_config = "sqladmin_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "sqladmin_v1beta4.yaml", + transport = "grpc+rest", deps = [ ":sql_ruby_grpc", ":sql_ruby_proto", diff --git a/third_party/googleapis/google/cloud/sql/v1beta4/cloud_sql.proto b/third_party/googleapis/google/cloud/sql/v1beta4/cloud_sql.proto index aae102b3a..fba50d08c 100644 --- a/third_party/googleapis/google/cloud/sql/v1beta4/cloud_sql.proto +++ b/third_party/googleapis/google/cloud/sql/v1beta4/cloud_sql.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,6 +20,9 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/cloud/sql/v1beta4/cloud_sql_resources.proto"; +import "google/protobuf/duration.proto"; +import "google/protobuf/empty.proto"; +import "google/protobuf/timestamp.proto"; option go_package = "cloud.google.com/go/sql/apiv1beta4/sqlpb;sqlpb"; option java_multiple_files = true; @@ -87,6 +90,8 @@ service SqlDatabasesService { // Inserts a resource containing information about a database inside a Cloud // SQL instance. + // + // **Note:** You can't modify the default character set and collation. rpc Insert(SqlDatabasesInsertRequest) returns (Operation) { option (google.api.http) = { post: "/sql/v1beta4/projects/{project}/instances/{instance}/databases" @@ -176,6 +181,15 @@ service SqlInstancesService { }; } + // Demotes an existing standalone instance to be a Cloud SQL read replica + // for an external database server. + rpc Demote(SqlInstancesDemoteRequest) returns (Operation) { + option (google.api.http) = { + post: "/sql/v1beta4/projects/{project}/instances/{instance}/demote" + body: "body" + }; + } + // Exports data from a Cloud SQL instance to a Cloud Storage bucket as a SQL // dump or CSV file. rpc Export(SqlInstancesExportRequest) returns (Operation) { @@ -200,6 +214,14 @@ service SqlInstancesService { }; } + // Reencrypt CMEK instance with latest key version. + rpc Reencrypt(SqlInstancesReencryptRequest) returns (Operation) { + option (google.api.http) = { + post: "/sql/v1beta4/projects/{project}/instances/{instance}/reencrypt" + body: "body" + }; + } + // Retrieves a resource containing information about a Cloud SQL instance. rpc Get(SqlInstancesGetRequest) returns (DatabaseInstance) { option (google.api.http) = { @@ -236,14 +258,15 @@ service SqlInstancesService { // the certificate that is currently in use, a CA that has been added but not // yet used to sign a certificate, and a CA used to sign a certificate that // has previously rotated out. - rpc ListServerCas(SqlInstancesListServerCasRequest) returns (InstancesListServerCasResponse) { + rpc ListServerCas(SqlInstancesListServerCasRequest) + returns (InstancesListServerCasResponse) { option (google.api.http) = { get: "/sql/v1beta4/projects/{project}/instances/{instance}/listServerCas" }; } - // Updates settings of a Cloud SQL instance. - // This method supports patch semantics. + // Partially updates settings of a Cloud SQL instance by merging the request + // with the current configuration. This method supports patch semantics. rpc Patch(SqlInstancesPatchRequest) returns (Operation) { option (google.api.http) = { patch: "/sql/v1beta4/projects/{project}/instances/{instance}" @@ -259,6 +282,13 @@ service SqlInstancesService { }; } + // Switches over from the primary instance to a replica instance. + rpc Switchover(SqlInstancesSwitchoverRequest) returns (Operation) { + option (google.api.http) = { + post: "/sql/v1beta4/projects/{project}/instances/{instance}/switchover" + }; + } + // Deletes all client certificates and generates a new server SSL certificate // for the instance. rpc ResetSslConfig(SqlInstancesResetSslConfigRequest) returns (Operation) { @@ -328,7 +358,8 @@ service SqlInstancesService { // and signed by a private key specific to the target instance. Users may use // the certificate to authenticate as themselves when connecting to the // database. - rpc CreateEphemeral(SqlInstancesCreateEphemeralCertRequest) returns (SslCert) { + rpc CreateEphemeral(SqlInstancesCreateEphemeralCertRequest) + returns (SslCert) { option (google.api.http) = { post: "/sql/v1beta4/projects/{project}/instances/{instance}/createEphemeral" body: "body" @@ -336,7 +367,8 @@ service SqlInstancesService { } // Reschedules the maintenance on the given instance. - rpc RescheduleMaintenance(SqlInstancesRescheduleMaintenanceRequest) returns (Operation) { + rpc RescheduleMaintenance(SqlInstancesRescheduleMaintenanceRequest) + returns (Operation) { option (google.api.http) = { post: "/sql/v1beta4/projects/{project}/instances/{instance}/rescheduleMaintenance" body: "body" @@ -344,7 +376,8 @@ service SqlInstancesService { } // Verify External primary instance external sync settings. - rpc VerifyExternalSyncSettings(SqlInstancesVerifyExternalSyncSettingsRequest) returns (SqlInstancesVerifyExternalSyncSettingsResponse) { + rpc VerifyExternalSyncSettings(SqlInstancesVerifyExternalSyncSettingsRequest) + returns (SqlInstancesVerifyExternalSyncSettingsResponse) { option (google.api.http) = { post: "/sql/v1beta4/projects/{project}/instances/{instance}/verifyExternalSyncSettings" body: "*" @@ -352,12 +385,47 @@ service SqlInstancesService { } // Start External primary instance migration. - rpc StartExternalSync(SqlInstancesStartExternalSyncRequest) returns (Operation) { + rpc StartExternalSync(SqlInstancesStartExternalSyncRequest) + returns (Operation) { option (google.api.http) = { post: "/sql/v1beta4/projects/{project}/instances/{instance}/startExternalSync" body: "*" }; } + + // Perform Disk Shrink on primary instance. + rpc PerformDiskShrink(SqlInstancesPerformDiskShrinkRequest) + returns (Operation) { + option (google.api.http) = { + post: "/sql/v1beta4/projects/{project}/instances/{instance}/performDiskShrink" + body: "body" + }; + } + + // Get Disk Shrink Config for a given instance. + rpc GetDiskShrinkConfig(SqlInstancesGetDiskShrinkConfigRequest) + returns (SqlInstancesGetDiskShrinkConfigResponse) { + option (google.api.http) = { + get: "/sql/v1beta4/projects/{project}/instances/{instance}/getDiskShrinkConfig" + }; + } + + // Reset Replica Size to primary instance disk size. + rpc ResetReplicaSize(SqlInstancesResetReplicaSizeRequest) + returns (Operation) { + option (google.api.http) = { + post: "/sql/v1beta4/projects/{project}/instances/{instance}/resetReplicaSize" + body: "*" + }; + } + + // Get Latest Recovery Time for a given instance. + rpc GetLatestRecoveryTime(SqlInstancesGetLatestRecoveryTimeRequest) + returns (SqlInstancesGetLatestRecoveryTimeResponse) { + option (google.api.http) = { + get: "/sql/v1beta4/projects/{project}/instances/{instance}/getLatestRecoveryTime" + }; + } } service SqlOperationsService { @@ -380,6 +448,13 @@ service SqlOperationsService { get: "/sql/v1beta4/projects/{project}/operations" }; } + + // Cancels an instance operation that has been performed on an instance. + rpc Cancel(SqlOperationsCancelRequest) returns (google.protobuf.Empty) { + option (google.api.http) = { + post: "/sql/v1beta4/projects/{project}/operations/{operation}/cancel" + }; + } } service SqlSslCertsService { @@ -569,8 +644,20 @@ message SqlInstancesDemoteMasterRequest { InstancesDemoteMasterRequest body = 100; } +// Instance demote request. +message SqlInstancesDemoteRequest { + // Required. The name of the Cloud SQL instance. + string instance = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The project ID of the project that contains the instance. + string project = 2 [(google.api.field_behavior) = REQUIRED]; + + // The request body. + InstancesDemoteRequest body = 100; +} + message SqlInstancesExportRequest { - // Cloud SQL instance ID. This does not include the project ID. + // The Cloud SQL instance ID. This doesn't include the project ID. string instance = 1; // Project ID of the project that contains the instance to be exported. @@ -627,7 +714,10 @@ message SqlInstancesListRequest { // expressions explicitly. string filter = 1; - // The maximum number of results to return per response. + // The maximum number of instances to return. The service may return fewer + // than this value. + // If unspecified, at most 500 instances are returned. + // The maximum value is 1000; values above 1000 are coerced to 1000. uint32 max_results = 2; // A previously-returned page token representing part of the larger set of @@ -662,6 +752,26 @@ message SqlInstancesPromoteReplicaRequest { // ID of the project that contains the read replica. string project = 2; + + // Set to true if the promote operation should attempt to re-add the original + // primary as a replica when it comes back online. Otherwise, if this value is + // false or not set, the original primary will be a standalone instance. + bool failover = 3; +} + +// Instance switchover request. +message SqlInstancesSwitchoverRequest { + // Cloud SQL read replica instance name. + string instance = 1; + + // ID of the project that contains the replica. + string project = 2; + + // Optional. (MySQL only) Cloud SQL instance operations timeout, which is a + // sum of all database operations. Default value is 10 minutes and can be + // modified to a maximum value of 24 hours. + google.protobuf.Duration db_timeout = 3 + [(google.api.field_behavior) = OPTIONAL]; } message SqlInstancesResetSslConfigRequest { @@ -736,6 +846,45 @@ message SqlInstancesUpdateRequest { DatabaseInstance body = 100; } +// Instance reencrypt request. +message SqlInstancesReencryptRequest { + // Cloud SQL instance ID. This does not include the project ID. + string instance = 1; + + // ID of the project that contains the instance. + string project = 2; + + // Reencrypt body that users request + InstancesReencryptRequest body = 3; +} + +// Database Instance reencrypt request. +message InstancesReencryptRequest { + // Configuration specific to backup re-encryption + optional BackupReencryptionConfig backup_reencryption_config = 1; +} + +// Backup Reencryption Config +message BackupReencryptionConfig { + // Backup type for re-encryption + enum BackupType { + // Unknown backup type, will be defaulted to AUTOMATIC backup type + BACKUP_TYPE_UNSPECIFIED = 0; + + // Reencrypt automatic backups + AUTOMATED = 1; + + // Reencrypt on-demand backups + ON_DEMAND = 2; + } + + // Backup re-encryption limit + optional int32 backup_limit = 1; + + // Type of backups users want to re-encrypt. + optional BackupType backup_type = 2; +} + message SqlInstancesRescheduleMaintenanceRequest { // Cloud SQL instance ID. This does not include the project ID. string instance = 1; @@ -746,6 +895,33 @@ message SqlInstancesRescheduleMaintenanceRequest { SqlInstancesRescheduleMaintenanceRequestBody body = 100; } +// Instance perform disk shrink request. +message SqlInstancesPerformDiskShrinkRequest { + // Cloud SQL instance ID. This does not include the project ID. + string instance = 1; + + // Project ID of the project that contains the instance. + string project = 2; + + // Perform disk shrink context. + PerformDiskShrinkContext body = 100; +} + +// External Sync parallel level. +enum ExternalSyncParallelLevel { + // Unknown sync parallel level. Will be defaulted to OPTIMAL. + EXTERNAL_SYNC_PARALLEL_LEVEL_UNSPECIFIED = 0; + + // Minimal parallel level. + MIN = 1; + + // Optimal parallel level. + OPTIMAL = 2; + + // Maximum parallel level. + MAX = 3; +} + message SqlInstancesVerifyExternalSyncSettingsRequest { enum ExternalSyncMode { // Unknown external sync mode, will be defaulted to ONLINE mode @@ -777,7 +953,8 @@ message SqlInstancesVerifyExternalSyncSettingsRequest { oneof sync_config { // Optional. MySQL-specific settings for start external sync. - MySqlSyncConfig mysql_sync_config = 6 [(google.api.field_behavior) = OPTIONAL]; + MySqlSyncConfig mysql_sync_config = 6 + [(google.api.field_behavior) = OPTIONAL]; } } @@ -798,6 +975,20 @@ message SqlInstancesStartExternalSyncRequest { // MySQL-specific settings for start external sync. MySqlSyncConfig mysql_sync_config = 6; } + + // Optional. Parallel level for initial data sync. Currently only applicable + // for MySQL. + ExternalSyncParallelLevel sync_parallel_level = 7 + [(google.api.field_behavior) = OPTIONAL]; +} + +// Instance reset replica size request. +message SqlInstancesResetReplicaSizeRequest { + // Cloud SQL read replica instance name. + string instance = 1; + + // ID of the project that contains the read replica. + string project = 2; } message SqlOperationsGetRequest { @@ -823,6 +1014,15 @@ message SqlOperationsListRequest { string project = 4; } +// The request payload to cancel an operation. +message SqlOperationsCancelRequest { + // Instance operation ID. + string operation = 1; + + // Project ID of the project that contains the instance. + string project = 2; +} + message SqlInstancesCreateEphemeralCertRequest { // Cloud SQL instance ID. This does not include the project ID. string instance = 1; @@ -872,3 +1072,30 @@ message SqlSslCertsListRequest { // Project ID of the project that contains the instance. string project = 2; } + +// Instance get disk shrink config request. +message SqlInstancesGetDiskShrinkConfigRequest { + // Cloud SQL instance ID. This does not include the project ID. + string instance = 1; + + // Project ID of the project that contains the instance. + string project = 2; +} + +// Instance get latest recovery time request. +message SqlInstancesGetLatestRecoveryTimeRequest { + // Cloud SQL instance ID. This does not include the project ID. + string instance = 1; + + // Project ID of the project that contains the instance. + string project = 2; +} + +// Instance get latest recovery time response. +message SqlInstancesGetLatestRecoveryTimeResponse { + // This is always `sql#getLatestRecoveryTime`. + string kind = 1; + + // Timestamp, identifies the latest recovery time of the source instance. + google.protobuf.Timestamp latest_recovery_time = 2; +} diff --git a/third_party/googleapis/google/cloud/sql/v1beta4/cloud_sql_connect.proto b/third_party/googleapis/google/cloud/sql/v1beta4/cloud_sql_connect.proto index 3cfa49607..13c857715 100644 --- a/third_party/googleapis/google/cloud/sql/v1beta4/cloud_sql_connect.proto +++ b/third_party/googleapis/google/cloud/sql/v1beta4/cloud_sql_connect.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -48,7 +48,8 @@ service SqlConnectService { // and signed by a private key specific to the target instance. Users may use // the certificate to authenticate as themselves when connecting to the // database. - rpc GenerateEphemeralCert(GenerateEphemeralCertRequest) returns (GenerateEphemeralCertResponse) { + rpc GenerateEphemeralCert(GenerateEphemeralCertRequest) + returns (GenerateEphemeralCertResponse) { option (google.api.http) = { post: "/sql/v1beta4/projects/{project}/instances/{instance}:generateEphemeralCert" body: "*" @@ -64,8 +65,10 @@ message GetConnectSettingsRequest { // Project ID of the project that contains the instance. string project = 2; - // Optional. Optional snapshot read timestamp to trade freshness for performance. - google.protobuf.Timestamp read_time = 7 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Optional snapshot read timestamp to trade freshness for + // performance. + google.protobuf.Timestamp read_time = 7 + [(google.api.field_behavior) = OPTIONAL]; } // Connect settings retrieval response. @@ -101,6 +104,12 @@ message ConnectSettings { // This property is read-only; use the `tier` property in the `settings` // object to determine the database type. SqlBackendType backend_type = 32; + + // Whether PSC connectivity is enabled for this instance. + bool psc_enabled = 33; + + // The dns name of the instance. + string dns_name = 34; } // Ephemeral certificate creation request. @@ -117,11 +126,14 @@ message GenerateEphemeralCertRequest { // Optional. Access token to include in the signed certificate. string access_token = 4 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Optional snapshot read timestamp to trade freshness for performance. - google.protobuf.Timestamp read_time = 7 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Optional snapshot read timestamp to trade freshness for + // performance. + google.protobuf.Timestamp read_time = 7 + [(google.api.field_behavior) = OPTIONAL]; // Optional. If set, it will contain the cert valid duration. - google.protobuf.Duration valid_duration = 12 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.Duration valid_duration = 12 + [(google.api.field_behavior) = OPTIONAL]; } // Ephemeral certificate creation request. diff --git a/third_party/googleapis/google/cloud/sql/v1beta4/cloud_sql_resources.proto b/third_party/googleapis/google/cloud/sql/v1beta4/cloud_sql_resources.proto index 930ccc9e0..9f753d163 100644 --- a/third_party/googleapis/google/cloud/sql/v1beta4/cloud_sql_resources.proto +++ b/third_party/googleapis/google/cloud/sql/v1beta4/cloud_sql_resources.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,7 +11,6 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -// LINT: LEGACY_NAMES syntax = "proto3"; @@ -53,6 +52,18 @@ message ApiWarning { // Warning when one or more regions are not reachable. The returned result // set may be incomplete. REGION_UNREACHABLE = 1; + + // Warning when user provided maxResults parameter exceeds the limit. The + // returned result set may be incomplete. + MAX_RESULTS_EXCEEDS_LIMIT = 2; + + // Warning when user tries to create/update a user with credentials that + // have previously been compromised by a public data breach. + COMPROMISED_CREDENTIALS = 3; + + // Warning when the operation succeeds but some non-critical workflow state + // failed. + INTERNAL_STATE_FAILURE = 4; } // Code to uniquely identify the warning type. @@ -108,7 +119,7 @@ message BackupConfiguration { // Location of the backup string location = 6; - // (Postgres only) Whether point in time recovery is enabled. + // Whether point in time recovery is enabled. google.protobuf.BoolValue point_in_time_recovery_enabled = 7; // The number of days of transaction logs we retain for point in time @@ -150,8 +161,9 @@ message BackupRun { // the run has the FAILED status. OperationError error = 7; - // The type of this run; can be either "AUTOMATED" or "ON_DEMAND". This field - // defaults to "ON_DEMAND" and is ignored, when specified for insert requests. + // The type of this run; can be either "AUTOMATED" or "ON_DEMAND" or "FINAL". + // This field defaults to "ON_DEMAND" and is ignored, when specified for + // insert requests. SqlBackupRunType type = 8; // The description of this run, only applicable to on-demand backups. @@ -179,6 +191,10 @@ message BackupRun { // Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT. SqlBackupKind backup_kind = 19; + + // Backup time zone to prevent restores to an instance with + // a different time zone. Now relevant only for SQL Server. + string time_zone = 23; } // Backup run list results. @@ -235,7 +251,7 @@ message CloneContext { // is cloned. google.protobuf.Timestamp point_in_time = 5; - // The name of the allocated ip range for the private ip CloudSQL instance. + // The name of the allocated ip range for the private ip Cloud SQL instance. // For example: "google-managed-services-default". If set, the cloned instance // ip will be created in the allocated range. The range name must comply with // [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name @@ -243,6 +259,15 @@ message CloneContext { // [a-z]([-a-z0-9]*[a-z0-9])?. // Reserved for future use. string allocated_ip_range = 6; + + // (SQL Server only) Clone only the specified databases from the source + // instance. Clone all databases if empty. + repeated string database_names = 9; + + // Optional. (Point-in-time recovery for PostgreSQL only) Clone to an instance + // in the specified zone. If no zone is specified, clone to the same zone as + // the source instance. + optional string preferred_zone = 10 [(google.api.field_behavior) = OPTIONAL]; } // Represents a SQL database on the Cloud SQL instance. @@ -415,6 +440,17 @@ message DatabaseInstance { optional int32 sql_min_recommended_increase_size_gb = 2; } + // The SQL network architecture for the instance. + enum SqlNetworkArchitecture { + SQL_NETWORK_ARCHITECTURE_UNSPECIFIED = 0; + + // The instance uses the new network architecture. + NEW_NETWORK_ARCHITECTURE = 1; + + // The instance uses the old network architecture. + OLD_NETWORK_ARCHITECTURE = 2; + } + // This is always `sql#instance`. string kind = 1; @@ -528,7 +564,8 @@ message DatabaseInstance { // Disk encryption status specific to an instance. DiskEncryptionStatus disk_encryption_status = 27; - // Initial root password. Use only on creation. + // Initial root password. Use only on creation. You must set root passwords + // before you can connect to PostgreSQL instances. string root_password = 29; // The start time of any upcoming scheduled maintenance for this instance. @@ -538,9 +575,10 @@ message DatabaseInstance { // Reserved for future use. google.protobuf.BoolValue satisfies_pzs = 35; - // Output only. Stores the current database version running on the instance including - // minor version such as `MYSQL_8_0_18`. - string database_installed_version = 40 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Stores the current database version running on the instance + // including minor version such as `MYSQL_8_0_18`. + string database_installed_version = 40 + [(google.api.field_behavior) = OUTPUT_ONLY]; // This field represents the report generated by the proactive database // wellness job for OutOfDisk issues. @@ -553,13 +591,33 @@ message DatabaseInstance { // Output only. The time when the instance was created in // [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example // `2012-11-15T16:19:00.094Z`. - google.protobuf.Timestamp create_time = 39 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 39 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // List all maintenance versions applicable on the instance - repeated string available_maintenance_versions = 41; + // Output only. List all maintenance versions applicable on the instance + repeated string available_maintenance_versions = 41 + [(google.api.field_behavior) = OUTPUT_ONLY]; // The current software version on the instance. string maintenance_version = 42; + + // The SQL network architecture for the instance. + optional SqlNetworkArchitecture sql_network_architecture = 47; + + // Output only. The link to service attachment of PSC instance. + optional string psc_service_attachment_link = 48 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The dns name of the instance. + optional string dns_name = 49 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. DEPRECATED: please use write_endpoint instead. + optional string primary_dns_name = 51 + [deprecated = true, (google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The dns name of the primary instance in a replication group. + optional string write_endpoint = 52 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Database list response. @@ -635,6 +693,18 @@ message DemoteMasterMySqlReplicaConfiguration { string ca_certificate = 6; } +// This context is used to demote an existing standalone instance to be +// a Cloud SQL read replica for an external database server. +message DemoteContext { + // This is always `sql#demoteContext`. + string kind = 1; + + // Required. The name of the instance which acts as an on-premises primary + // instance in the replication setup. + string source_representative_instance_name = 2 + [(google.api.field_behavior) = REQUIRED]; +} + enum SqlFileType { // Unknown file type. SQL_FILE_TYPE_UNSPECIFIED = 0; @@ -691,6 +761,35 @@ message ExportContext { google.protobuf.BoolValue schema_only = 2; MysqlExportOptions mysql_export_options = 3; + + // Optional. The number of threads to use for parallel export. + google.protobuf.Int32Value threads = 4 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Whether or not the export should be parallel. + google.protobuf.BoolValue parallel = 5 + [(google.api.field_behavior) = OPTIONAL]; + } + + // Options for exporting BAK files (SQL Server-only) + message SqlBakExportOptions { + // Whether or not the export should be striped. + google.protobuf.BoolValue striped = 1; + + // Option for specifying how many stripes to use for the export. + // If blank, and the value of the striped field is true, + // the number of stripes is automatically chosen. + google.protobuf.Int32Value stripe_count = 2; + + // Type of this bak file will be export, FULL or DIFF, SQL Server only + BakType bak_type = 4; + + // Deprecated: copy_only is deprecated. Use differential_base instead + google.protobuf.BoolValue copy_only = 5 [deprecated = true]; + + // Whether or not the backup can be used as a differential base + // copy_only backup can not be served as differential base + google.protobuf.BoolValue differential_base = 6; } // The path to the file in Google Cloud Storage where the export will be @@ -729,6 +828,9 @@ message ExportContext { // Option for export offload. google.protobuf.BoolValue offload = 8; + + // Options for exporting data as BAK files. + SqlBakExportOptions bak_export_options = 9; } // Database instance failover context. @@ -840,6 +942,36 @@ message ImportContext { } EncryptionOptions encryption_options = 1; + + // Whether or not the backup set being restored is striped. + // Applies only to Cloud SQL for SQL Server. + google.protobuf.BoolValue striped = 2; + + // Whether or not the backup importing will restore database + // with NORECOVERY option + // Applies only to Cloud SQL for SQL Server. + google.protobuf.BoolValue no_recovery = 4; + + // Whether or not the backup importing request will just bring database + // online without downloading Bak content only one of "no_recovery" and + // "recovery_only" can be true otherwise error will return. Applies only to + // Cloud SQL for SQL Server. + google.protobuf.BoolValue recovery_only = 5; + + // Type of the bak content, FULL or DIFF. + BakType bak_type = 6; + + // Optional. The timestamp when the import should stop. This timestamp is in + // the [RFC 3339](https://tools.ietf.org/html/rfc3339) format (for example, + // `2023-10-01T16:19:00.094`). This field is equivalent to the STOPAT + // keyword and applies to Cloud SQL for SQL Server only. + google.protobuf.Timestamp stop_at = 7 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The marked transaction where the import should stop. This field + // is equivalent to the STOPATMARK keyword and applies to Cloud SQL for SQL + // Server only. + string stop_at_mark = 8 [(google.api.field_behavior) = OPTIONAL]; } // Path to the import file in Cloud Storage, in the form @@ -873,6 +1005,20 @@ message ImportContext { SqlBakImportOptions bak_import_options = 7; } +enum BakType { + // Default type. + BAK_TYPE_UNSPECIFIED = 0; + + // Full backup. + FULL = 1; + + // Differential backup. + DIFF = 2; + + // SQL Server Transaction Log + TLOG = 3; +} + // Database instance clone request. message InstancesCloneRequest { // Contains details about the clone operation. @@ -885,6 +1031,14 @@ message InstancesDemoteMasterRequest { DemoteMasterContext demote_master_context = 1; } +// This request is used to demote an existing standalone instance to be a +// Cloud SQL read replica for an external database server. +message InstancesDemoteRequest { + // Required. This context is used to demote an existing standalone instance to + // be a Cloud SQL read replica for an external database server. + DemoteContext demote_context = 1 [(google.api.field_behavior) = REQUIRED]; +} + // Database instance export request. message InstancesExportRequest { // Contains details about the export operation. @@ -954,6 +1108,24 @@ message InstancesTruncateLogRequest { TruncateLogContext truncate_log_context = 1; } +// Perform disk shrink context. +message PerformDiskShrinkContext { + // The target disk shrink size in GigaBytes. + int64 target_size_gb = 1; +} + +// Instance get disk shrink config response. +message SqlInstancesGetDiskShrinkConfigResponse { + // This is always `sql#getDiskShrinkConfig`. + string kind = 1; + + // The minimum size to which a disk can be shrunk in GigaBytes. + int64 minimal_target_size_gb = 2; + + // Additional message to customers. + string message = 3; +} + // Instance verify external sync settings response. message SqlInstancesVerifyExternalSyncSettingsResponse { // This is always `sql#migrationSettingErrorList`. @@ -979,6 +1151,7 @@ message SqlExternalSyncSettingError { REPLICA_ALREADY_SETUP = 4; + // The replication user is missing privileges that are required. INSUFFICIENT_PRIVILEGE = 5; // Unsupported migration type. @@ -1032,7 +1205,7 @@ message SqlExternalSyncSettingError { // The customer has a definer that will break EM setup. UNSUPPORTED_DEFINER = 21; - // SQL Server @@SERVERNAME does not match actual host name + // SQL Server @@SERVERNAME does not match actual host name. SQLSERVER_SERVERNAME_MISMATCH = 22; // The primary instance has been setup and will fail the setup. @@ -1046,6 +1219,55 @@ message SqlExternalSyncSettingError { // The primary instance has tables with unsupported storage engine. UNSUPPORTED_STORAGE_ENGINE = 26; + + // Source has tables with limited support + // eg: PostgreSQL tables without primary keys. + LIMITED_SUPPORT_TABLES = 27; + + // The replica instance contains existing data. + EXISTING_DATA_IN_REPLICA = 28; + + // The replication user is missing privileges that are optional. + MISSING_OPTIONAL_PRIVILEGES = 29; + + // Additional BACKUP_ADMIN privilege is granted to the replication user + // which may lock source MySQL 8 instance for DDLs during initial sync. + RISKY_BACKUP_ADMIN_PRIVILEGE = 30; + + // The Cloud Storage bucket is missing necessary permissions. + INSUFFICIENT_GCS_PERMISSIONS = 31; + + // The Cloud Storage bucket has an error in the file or contains invalid + // file information. + INVALID_FILE_INFO = 32; + + // The source instance has unsupported database settings for migration. + UNSUPPORTED_DATABASE_SETTINGS = 33; + + // The replication user is missing parallel import specific privileges. + // (e.g. LOCK TABLES) for MySQL. + MYSQL_PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE = 34; + + // The global variable local_infile is off on external server replica. + LOCAL_INFILE_OFF = 35; + + // This code instructs customers to turn on point-in-time recovery manually + // for the instance after promoting the Cloud SQL for PostgreSQL instance. + TURN_ON_PITR_AFTER_PROMOTE = 36; + + // The minor version of replica database is incompatible with the source. + INCOMPATIBLE_DATABASE_MINOR_VERSION = 37; + + // This warning message indicates that Cloud SQL uses the maximum number of + // subscriptions to migrate data from the source to the destination. + SOURCE_MAX_SUBSCRIPTIONS = 38; + + // Unable to verify definers on the source for MySQL. + UNABLE_TO_VERIFY_DEFINERS = 39; + + // If a time out occurs while the subscription counts are calculated, then + // this value is set to 1. Otherwise, this value is set to 2. + SUBSCRIPTION_CALCULATION_STATUS = 40; } // Can be `sql#externalSyncSettingError` or @@ -1061,6 +1283,29 @@ message SqlExternalSyncSettingError { // IP Management configuration. message IpConfiguration { + // The SSL options for database connections. + enum SslMode { + // The SSL mode is unknown. + SSL_MODE_UNSPECIFIED = 0; + + // Allow non-SSL/non-TLS and SSL/TLS connections. For SSL/TLS connections, + // the client certificate won't be verified. + // When this value is used, the legacy `require_ssl` flag must be false or + // cleared to avoid the conflict between values of two flags. + ALLOW_UNENCRYPTED_AND_ENCRYPTED = 1; + + // Only allow connections encrypted with SSL/TLS. + // When this value is used, the legacy `require_ssl` flag must be false or + // cleared to avoid the conflict between values of two flags. + ENCRYPTED_ONLY = 2; + + // Only allow connections encrypted with SSL/TLS and with valid + // client certificates. + // When this value is used, the legacy `require_ssl` flag must be true or + // cleared to avoid the conflict between values of two flags. + TRUSTED_CLIENT_CERTIFICATE_REQUIRED = 3; + } + // Whether the instance is assigned a public IP address or not. google.protobuf.BoolValue ipv4_enabled = 1; @@ -1070,7 +1315,15 @@ message IpConfiguration { // be updated, but it cannot be removed after it is set. string private_network = 2; - // Whether SSL connections over IP are enforced or not. + // Use `ssl_mode` instead for MySQL and PostgreSQL. SQL Server uses this flag. + // + // Whether SSL/TLS connections over IP are enforced. + // If set to false, then allow both non-SSL/non-TLS and SSL/TLS connections. + // For SSL/TLS connections, the client certificate won't be verified. If + // set to true, then only allow connections encrypted with SSL/TLS and with + // valid client certificates. If you want to enforce SSL/TLS without enforcing + // the requirement for valid client certificates, then use the `ssl_mode` flag + // instead of the legacy `require_ssl` flag. google.protobuf.BoolValue require_ssl = 3; // The list of external networks that are allowed to connect to the instance @@ -1078,16 +1331,57 @@ message IpConfiguration { // example: `157.197.200.0/24`). repeated AclEntry authorized_networks = 4; - // The name of the allocated ip range for the private ip CloudSQL instance. + // The name of the allocated ip range for the private ip Cloud SQL instance. // For example: "google-managed-services-default". If set, the instance ip // will be created in the allocated range. The range name must comply with // [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name // must be 1-63 characters long and match the regular expression // `[a-z]([-a-z0-9]*[a-z0-9])?.` string allocated_ip_range = 6; + + // Controls connectivity to private IP instances from Google services, + // such as BigQuery. + google.protobuf.BoolValue enable_private_path_for_google_cloud_services = 7; + + // Specify how SSL/TLS is enforced in database connections. MySQL and + // PostgreSQL use the `ssl_mode` flag. If you must use the `require_ssl` flag + // for backward compatibility, then only the following value pairs are valid: + // + // * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false` + // * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false` + // * `ssl_mode=TRUSTED_CLIENT_CERTIFICATE_REQUIRED` and `require_ssl=true` + // + // The value of `ssl_mode` gets priority over the value of `require_ssl`. For + // example, for the pair `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false`, + // the `ssl_mode=ENCRYPTED_ONLY` means only accept SSL connections, while the + // `require_ssl=false` means accept both non-SSL and SSL connections. MySQL + // and PostgreSQL databases respect `ssl_mode` in this case and accept only + // SSL connections. + // + // SQL Server uses the `require_ssl` flag. You can set the value for this flag + // to `true` or `false`. + SslMode ssl_mode = 8; + + // PSC settings for this instance. + optional PscConfig psc_config = 9; } -// Database instance IP Mapping. +// PSC settings for a Cloud SQL instance. +message PscConfig { + // Whether PSC connectivity is enabled for this instance. + optional bool psc_enabled = 1; + + // Optional. The list of consumer projects that are allow-listed for PSC + // connections to this instance. This instance can be connected to with PSC + // from any network in these projects. + // + // Each consumer project in this list may be represented by a project number + // (numeric) or by a project id (alphanumeric). + repeated string allowed_consumer_projects = 2 + [(google.api.field_behavior) = OPTIONAL]; +} + +// Database instance IP mapping message IpMapping { // The type of this IP address. A `PRIMARY` address is a public address that // can accept incoming connections. A `PRIVATE` address is a private address @@ -1120,6 +1414,7 @@ message LocationPreference { // The preferred Compute Engine zone for the secondary/failover // (for example: us-central1-a, us-central1-b, etc.). + // To disable this field, set it to 'no_secondary_zone'. string secondary_zone = 4; // This is always `sql#locationPreference`. @@ -1391,6 +1686,19 @@ message Operation { // Starts external sync of a Cloud SQL EM replica to an external primary // instance. START_EXTERNAL_SYNC = 35; + + // Recovers logs from an instance's old data disk. + LOG_CLEANUP = 36; + + // Performs auto-restart of an HA-enabled Cloud SQL database for auto + // recovery. + AUTO_RESTART = 37; + + // Re-encrypts CMEK instances with latest key version. + REENCRYPT = 38; + + // Switches over to replica instance from primary. + SWITCHOVER = 39; } // The status of an operation. @@ -1438,6 +1746,9 @@ message Operation { // populated. OperationErrors error = 8; + // An Admin API warning message. + ApiWarning api_warning = 19; + // The type of the operation. Valid values are: // * `CREATE` // * `DELETE` @@ -1523,11 +1834,15 @@ message PasswordValidationPolicy { google.protobuf.BoolValue disallow_username_substring = 4; // Minimum interval after which the password can be changed. This flag is only - // supported for PostgresSQL. + // supported for PostgreSQL. google.protobuf.Duration password_change_interval = 5; // Whether the password policy is enabled or not. google.protobuf.BoolValue enable_password_policy = 6; + + // Disallow credentials that have been previously compromised by a public data + // breach. + google.protobuf.BoolValue disallow_compromised_credentials = 7; } // Operations list response. @@ -1562,6 +1877,12 @@ message ReplicaConfiguration { // primary instance. Only one replica can be specified as failover target, and // the replica has to be in different zone with the primary instance. google.protobuf.BoolValue failover_target = 3; + + // Optional. Specifies if a SQL Server replica is a cascadable replica. A + // cascadable replica is a SQL Server cross region replica that supports + // replica(s) under it. + google.protobuf.BoolValue cascadable_replica = 5 + [(google.api.field_behavior) = OPTIONAL]; } // Database instance restore from backup context. @@ -1590,6 +1911,12 @@ message RotateServerCaContext { string next_version = 2; } +// Data cache configurations. +message DataCacheConfig { + // Whether data cache is enabled for the instance. + bool data_cache_enabled = 1; +} + // Database instance settings. message Settings { // Specifies when the instance is activated. @@ -1607,6 +1934,32 @@ message Settings { ON_DEMAND = 3 [deprecated = true]; } + // The edition of the instance, can be ENTERPRISE or ENTERPRISE_PLUS. + enum Edition { + // The instance did not specify the edition. + EDITION_UNSPECIFIED = 0; + + // The instance is an enterprise edition. + ENTERPRISE = 2; + + // The instance is an Enterprise Plus edition. + ENTERPRISE_PLUS = 3; + } + + // The options for enforcing Cloud SQL connectors in the instance. + enum ConnectorEnforcement { + // The requirement for Cloud SQL connectors is unknown. + CONNECTOR_ENFORCEMENT_UNSPECIFIED = 0; + + // Do not require Cloud SQL connectors. + NOT_REQUIRED = 1; + + // Require all connections to use Cloud SQL connectors, including the + // Cloud SQL Auth Proxy and Cloud SQL Java, Python, and Go connectors. + // Note: This disables all existing authorized networks. + REQUIRED = 2; + } + // The version of instance settings. This is a required field for update // method to make sure concurrent updates are handled properly. During update, // use the most recent settingsVersion value for this instance and do not try @@ -1696,7 +2049,8 @@ message Settings { // Configuration specific to read replica instances. Indicates whether // database flags for crash-safe replication are enabled. This property was // only applicable to First Generation instances. - google.protobuf.BoolValue crash_safe_replication_enabled = 19 [deprecated = true]; + google.protobuf.BoolValue crash_safe_replication_enabled = 19 + [deprecated = true]; // The size of data disk, in GB. The data disk size minimum is 10GB. google.protobuf.Int64Value data_disk_size_gb = 20; @@ -1718,6 +2072,40 @@ message Settings { // SQL Server specific audit configuration. SqlServerAuditConfig sql_server_audit_config = 29; + + // Optional. The edition of the instance. + Edition edition = 38 [(google.api.field_behavior) = OPTIONAL]; + + // Specifies if connections must use Cloud SQL connectors. + // Option values include the following: `NOT_REQUIRED` (Cloud SQL instances + // can be connected without Cloud SQL + // Connectors) and `REQUIRED` (Only allow connections that use Cloud SQL + // Connectors) + // + // Note that using REQUIRED disables all existing authorized networks. If + // this field is not specified when creating a new instance, NOT_REQUIRED is + // used. If this field is not specified when patching or updating an existing + // instance, it is left unchanged in the instance. + ConnectorEnforcement connector_enforcement = 32; + + // Configuration to protect against accidental instance deletion. + google.protobuf.BoolValue deletion_protection_enabled = 33; + + // Server timezone, relevant only for Cloud SQL for SQL Server. + string time_zone = 34; + + // Specifies advance machine configuration for the instance + // relevant only for SQL Server. + AdvancedMachineFeatures advanced_machine_features = 35; + + // Configuration for data cache. + DataCacheConfig data_cache_config = 37; +} + +// Specifies options for controlling advanced machine features. +message AdvancedMachineFeatures { + // The number of threads per physical core. + int32 threads_per_core = 1; } // SslCerts Resource @@ -1804,7 +2192,8 @@ message SqlInstancesRescheduleMaintenanceRequestBody { // reschedule_type=SPECIFIC_TIME, in // [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example // `2012-11-15T16:19:00.094Z`. - google.protobuf.Timestamp schedule_time = 2 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.Timestamp schedule_time = 2 + [(google.api.field_behavior) = OPTIONAL]; } // Required. The type of the reschedule the user wants. @@ -2000,12 +2389,6 @@ enum SqlDatabaseVersion { // The database version is MySQL 5.7. MYSQL_5_7 = 6; - // The database version is PostgreSQL 9.6. - POSTGRES_9_6 = 9; - - // The database version is PostgreSQL 11. - POSTGRES_11 = 10; - // The database version is SQL Server 2017 Standard. SQLSERVER_2017_STANDARD = 11; @@ -2018,12 +2401,27 @@ enum SqlDatabaseVersion { // The database version is SQL Server 2017 Web. SQLSERVER_2017_WEB = 16; + // The database version is PostgreSQL 9.6. + POSTGRES_9_6 = 9; + // The database version is PostgreSQL 10. POSTGRES_10 = 18; + // The database version is PostgreSQL 11. + POSTGRES_11 = 10; + // The database version is PostgreSQL 12. POSTGRES_12 = 19; + // The database version is PostgreSQL 13. + POSTGRES_13 = 23; + + // The database version is PostgreSQL 14. + POSTGRES_14 = 110; + + // The database version is PostgreSQL 15. + POSTGRES_15 = 172; + // The database version is MySQL 8. MYSQL_8_0 = 20; @@ -2039,11 +2437,29 @@ enum SqlDatabaseVersion { // The database major version is MySQL 8.0 and the minor version is 28. MYSQL_8_0_28 = 132; - // The database version is PostgreSQL 13. - POSTGRES_13 = 23; + // The database major version is MySQL 8.0 and the minor version is 29. + MYSQL_8_0_29 = 148 [deprecated = true]; - // The database version is PostgreSQL 14. - POSTGRES_14 = 110; + // The database major version is MySQL 8.0 and the minor version is 30. + MYSQL_8_0_30 = 174; + + // The database major version is MySQL 8.0 and the minor version is 31. + MYSQL_8_0_31 = 197; + + // The database major version is MySQL 8.0 and the minor version is 32. + MYSQL_8_0_32 = 213; + + // The database major version is MySQL 8.0 and the minor version is 33. + MYSQL_8_0_33 = 238; + + // The database major version is MySQL 8.0 and the minor version is 34. + MYSQL_8_0_34 = 239; + + // The database major version is MySQL 8.0 and the minor version is 35. + MYSQL_8_0_35 = 240; + + // The database major version is MySQL 8.0 and the minor version is 36. + MYSQL_8_0_36 = 241; // The database version is SQL Server 2019 Standard. SQLSERVER_2019_STANDARD = 26; @@ -2056,6 +2472,18 @@ enum SqlDatabaseVersion { // The database version is SQL Server 2019 Web. SQLSERVER_2019_WEB = 29; + + // The database version is SQL Server 2022 Standard. + SQLSERVER_2022_STANDARD = 199; + + // The database version is SQL Server 2022 Enterprise. + SQLSERVER_2022_ENTERPRISE = 200; + + // The database version is SQL Server 2022 Express. + SQLSERVER_2022_EXPRESS = 201; + + // The database version is SQL Server 2022 Web. + SQLSERVER_2022_WEB = 202; } // The suspension reason of the database instance if the state is SUSPENDED. @@ -2147,6 +2575,12 @@ enum SqlUpdateTrack { // your instance prefer to let Cloud SQL choose the timing of restart (within // its Maintenance window, if applicable). stable = 2; + + // For instance update that requires a restart, this update track indicates + // your instance prefer to let Cloud SQL choose the timing of restart (within + // its Maintenance window, if applicable) to be at least 5 weeks after the + // notification. + week5 = 3; } enum SqlFlagType { diff --git a/third_party/googleapis/google/cloud/sql/v1beta4/cloud_sql_tiers.proto b/third_party/googleapis/google/cloud/sql/v1beta4/cloud_sql_tiers.proto index 5c33b8ab3..4f04897ad 100644 --- a/third_party/googleapis/google/cloud/sql/v1beta4/cloud_sql_tiers.proto +++ b/third_party/googleapis/google/cloud/sql/v1beta4/cloud_sql_tiers.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/sql/v1beta4/cloud_sql_users.proto b/third_party/googleapis/google/cloud/sql/v1beta4/cloud_sql_users.proto index d49521153..153e60f14 100644 --- a/third_party/googleapis/google/cloud/sql/v1beta4/cloud_sql_users.proto +++ b/third_party/googleapis/google/cloud/sql/v1beta4/cloud_sql_users.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -28,11 +28,6 @@ option java_multiple_files = true; option java_outer_classname = "CloudSqlUsersProto"; option java_package = "com.google.cloud.sql.v1beta4"; -// NOTE: No sensitive PII logging is allowed. If you are adding a field/enum -// value that is sensitive PII, please add corresponding datapol annotation to -// it. For more information, please see -// https://g3doc.corp.google.com/storage/speckle/g3doc/purple_team/data_pol_annotations.md?cl=head - service SqlUsersService { option (google.api.default_host) = "sqladmin.googleapis.com"; option (google.api.oauth_scopes) = @@ -46,6 +41,13 @@ service SqlUsersService { }; } + // Retrieves a resource containing information about a user. + rpc Get(SqlUsersGetRequest) returns (User) { + option (google.api.http) = { + get: "/sql/v1beta4/projects/{project}/instances/{instance}/users/{name}" + }; + } + // Creates a new user in a Cloud SQL instance. rpc Insert(SqlUsersInsertRequest) returns (Operation) { option (google.api.http) = { @@ -84,6 +86,21 @@ message SqlUsersDeleteRequest { string project = 4; } +// Request message for Users Get RPC +message SqlUsersGetRequest { + // Database instance ID. This does not include the project ID. + string instance = 1; + + // User of the instance. + string name = 2; + + // Project ID of the project that contains the instance. + string project = 3; + + // Host of a user of the instance. + string host = 4; +} + message SqlUsersInsertRequest { // Database instance ID. This does not include the project ID. string instance = 1; @@ -131,6 +148,10 @@ message UserPasswordValidationPolicy { // Output only. Read-only password status. PasswordStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // If true, the user must specify the current password before changing the + // password. This flag is supported only for MySQL. + bool enable_password_verification = 5; } // Read-only password status. @@ -154,6 +175,30 @@ message User { // Cloud IAM service account. CLOUD_IAM_SERVICE_ACCOUNT = 2; + + // Cloud IAM group non-login user. + CLOUD_IAM_GROUP = 3; + + // Cloud IAM group login user. + CLOUD_IAM_GROUP_USER = 4; + + // Cloud IAM group service account. + CLOUD_IAM_GROUP_SERVICE_ACCOUNT = 5; + } + + // The type of retained password. + enum DualPasswordType { + // The default value. + DUAL_PASSWORD_TYPE_UNSPECIFIED = 0; + + // Do not update the user's dual password status. + NO_MODIFY_DUAL_PASSWORD = 1; + + // No dual password usable for connecting using this user. + NO_DUAL_PASSWORD = 2; + + // Dual password usable for connecting using this user. + DUAL_PASSWORD = 3; } // This is always `sql#user`. @@ -198,6 +243,9 @@ message User { // User level password validation policy. UserPasswordValidationPolicy password_policy = 12; + + // Dual password status for the user. + optional DualPasswordType dual_password_type = 13; } // Represents a Sql Server user on the Cloud SQL instance. @@ -217,8 +265,6 @@ message UsersListResponse { // List of user resources in the instance. repeated User items = 2; - // An identifier that uniquely identifies the operation. You can use this - // identifier to retrieve the Operations resource that has information about - // the operation. - string next_page_token = 3; + // Unused. + string next_page_token = 3 [deprecated = true]; } diff --git a/third_party/googleapis/google/cloud/sql/v1beta4/sqladmin_v1beta4.yaml b/third_party/googleapis/google/cloud/sql/v1beta4/sqladmin_v1beta4.yaml index d17197fa3..aabf7d4f8 100644 --- a/third_party/googleapis/google/cloud/sql/v1beta4/sqladmin_v1beta4.yaml +++ b/third_party/googleapis/google/cloud/sql/v1beta4/sqladmin_v1beta4.yaml @@ -4,6 +4,7 @@ name: sqladmin.googleapis.com title: Cloud SQL Admin API apis: +- name: google.cloud.location.Locations - name: google.cloud.sql.v1beta4.SqlBackupRunsService - name: google.cloud.sql.v1beta4.SqlConnectService - name: google.cloud.sql.v1beta4.SqlDatabasesService @@ -13,41 +14,27 @@ apis: - name: google.cloud.sql.v1beta4.SqlSslCertsService - name: google.cloud.sql.v1beta4.SqlTiersService - name: google.cloud.sql.v1beta4.SqlUsersService +- name: google.longrunning.Operations documentation: summary: API for Cloud SQL database instance management - -backend: rules: - - selector: 'google.cloud.sql.v1beta4.SqlBackupRunsService.*' - deadline: 30.0 - - selector: google.cloud.sql.v1beta4.SqlConnectService.GenerateEphemeralCert - deadline: 30.0 - - selector: google.cloud.sql.v1beta4.SqlConnectService.GetConnectSettings - deadline: 30.0 - - selector: 'google.cloud.sql.v1beta4.SqlDatabasesService.*' - deadline: 300.0 - - selector: google.cloud.sql.v1beta4.SqlFlagsService.List - deadline: 30.0 - - selector: 'google.cloud.sql.v1beta4.SqlInstancesService.*' - deadline: 30.0 - - selector: google.cloud.sql.v1beta4.SqlInstancesService.Clone - deadline: 240.0 - - selector: google.cloud.sql.v1beta4.SqlInstancesService.VerifyExternalSyncSettings - deadline: 240.0 - - selector: google.cloud.sql.v1beta4.SqlOperationsService.Get - deadline: 30.0 - - selector: google.cloud.sql.v1beta4.SqlOperationsService.List - deadline: 30.0 - - selector: 'google.cloud.sql.v1beta4.SqlSslCertsService.*' - deadline: 30.0 - - selector: google.cloud.sql.v1beta4.SqlTiersService.List - deadline: 30.0 - - selector: 'google.cloud.sql.v1beta4.SqlUsersService.*' - deadline: 300.0 + - selector: google.cloud.location.Locations.GetLocation + description: Gets information about a location. + + - selector: google.cloud.location.Locations.ListLocations + description: Lists information about the supported locations for this service. authentication: rules: + - selector: google.cloud.location.Locations.GetLocation + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform + - selector: google.cloud.location.Locations.ListLocations + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform - selector: 'google.cloud.sql.v1beta4.SqlBackupRunsService.*' oauth: canonical_scopes: |- @@ -86,12 +73,7 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform - - selector: google.cloud.sql.v1beta4.SqlOperationsService.Get - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/cloud-platform, - https://www.googleapis.com/auth/sqlservice.admin - - selector: google.cloud.sql.v1beta4.SqlOperationsService.List + - selector: 'google.cloud.sql.v1beta4.SqlOperationsService.*' oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform, @@ -111,3 +93,7 @@ authentication: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform, https://www.googleapis.com/auth/sqlservice.admin + - selector: 'google.longrunning.Operations.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform diff --git a/third_party/googleapis/google/cloud/storageinsights/v1/BUILD.bazel b/third_party/googleapis/google/cloud/storageinsights/v1/BUILD.bazel index 5efdfb55a..1d1816b08 100644 --- a/third_party/googleapis/google/cloud/storageinsights/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/storageinsights/v1/BUILD.bazel @@ -28,6 +28,7 @@ proto_library( "//google/api:client_proto", "//google/api:field_behavior_proto", "//google/api:resource_proto", + "//google/longrunning:operations_proto", "//google/rpc:status_proto", "//google/type:date_proto", "//google/type:datetime_proto", @@ -118,7 +119,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -128,6 +128,7 @@ go_proto_library( protos = [":storageinsights_proto"], deps = [ "//google/api:annotations_go_proto", + "//google/longrunning:longrunning_go_proto", "//google/rpc:status_go_proto", "//google/type:date_go_proto", "//google/type:datetime_go_proto", @@ -147,24 +148,19 @@ go_gapic_library( deps = [ ":storageinsights_go_proto", "//google/cloud/location:location_go_proto", - "//google/iam/v1:iam_go_proto", ## manual change - "//google/longrunning:longrunning_go_proto", ## manual change + "//google/longrunning:longrunning_go_proto", + "@com_google_cloud_go_longrunning//:go_default_library", + "@com_google_cloud_go_longrunning//autogen:go_default_library", ], ) -go_test( - name = "storageinsights_go_gapic_test", - srcs = [":storageinsights_go_gapic_srcjar_test"], - embed = [":storageinsights_go_gapic"], - importpath = "cloud.google.com/go/storageinsights/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-storageinsights-v1-go", deps = [ ":storageinsights_go_gapic", ":storageinsights_go_gapic_srcjar-metadata.srcjar", + ":storageinsights_go_gapic_srcjar-snippets.srcjar", ":storageinsights_go_gapic_srcjar-test.srcjar", ":storageinsights_go_proto", ], @@ -216,7 +212,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -225,23 +220,15 @@ php_proto_library( deps = [":storageinsights_proto"], ) -php_grpc_library( - name = "storageinsights_php_grpc", - srcs = [":storageinsights_proto"], - deps = [":storageinsights_php_proto"], -) - php_gapic_library( name = "storageinsights_php_gapic", srcs = [":storageinsights_proto_with_info"], grpc_service_config = "storageinsights_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "storageinsights_v1.yaml", transport = "grpc+rest", - deps = [ - ":storageinsights_php_grpc", - ":storageinsights_php_proto", - ], + deps = [":storageinsights_php_proto"], ) # Open Source Packages @@ -249,7 +236,6 @@ php_gapic_assembly_pkg( name = "google-cloud-storageinsights-v1-php", deps = [ ":storageinsights_php_gapic", - ":storageinsights_php_grpc", ":storageinsights_php_proto", ], ) @@ -309,12 +295,11 @@ ruby_grpc_library( ruby_cloud_gapic_library( name = "storageinsights_ruby_gapic", srcs = [":storageinsights_proto_with_info"], - extra_protoc_parameters = [ - "ruby-cloud-gem-name=google-cloud-storageinsights-v1", - ], + extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-storage_insights-v1"], grpc_service_config = "storageinsights_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "storageinsights_v1.yaml", + transport = "grpc+rest", deps = [ ":storageinsights_ruby_grpc", ":storageinsights_ruby_proto", diff --git a/third_party/googleapis/google/cloud/storageinsights/v1/storageinsights.proto b/third_party/googleapis/google/cloud/storageinsights/v1/storageinsights.proto index dbbe135a8..68dce54c3 100644 --- a/third_party/googleapis/google/cloud/storageinsights/v1/storageinsights.proto +++ b/third_party/googleapis/google/cloud/storageinsights/v1/storageinsights.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -168,8 +168,8 @@ message CreateReportConfigRequest { // ignore the request if it has already been completed. The server will // guarantee that for at least 60 minutes since the first request. // - // For example, consider a situation where you make an initial request and t - // he request times out. If you make the request again with the same request + // For example, consider a situation where you make an initial request and + // the request times out. If you make the request again with the same request // ID, the server can check if original operation with the same request ID // was received, and if so, will ignore the second request. This prevents // clients from accidentally creating duplicate commitments. @@ -197,8 +197,8 @@ message UpdateReportConfigRequest { // ignore the request if it has already been completed. The server will // guarantee that for at least 60 minutes since the first request. // - // For example, consider a situation where you make an initial request and t - // he request times out. If you make the request again with the same request + // For example, consider a situation where you make an initial request and + // the request times out. If you make the request again with the same request // ID, the server can check if original operation with the same request ID // was received, and if so, will ignore the second request. This prevents // clients from accidentally creating duplicate commitments. @@ -226,8 +226,8 @@ message DeleteReportConfigRequest { // ignore the request if it has already been completed. The server will // guarantee that for at least 60 minutes after the first request. // - // For example, consider a situation where you make an initial request and t - // he request times out. If you make the request again with the same request + // For example, consider a situation where you make an initial request and + // the request times out. If you make the request again with the same request // ID, the server can check if original operation with the same request ID // was received, and if so, will ignore the second request. This prevents // clients from accidentally creating duplicate commitments. @@ -239,7 +239,7 @@ message DeleteReportConfigRequest { // Message describing ReportDetail object. ReportDetail represents metadata of // generated reports for a ReportConfig. -// Next ID: 8 +// Next ID: 10 message ReportDetail { option (google.api.resource) = { type: "storageinsights.googleapis.com/ReportDetail" @@ -260,9 +260,17 @@ message ReportDetail { // All the report data is referenced at this point of time. google.protobuf.Timestamp snapshot_time = 2; - // Generated report's full path with name. It will be of the form - // destination_bucket//. - repeated string report_names = 3; + // Prefix of the object name of each report's shard. This will have full + // prefix except the "extension" and "shard_id". + // For example, if the `destination_path` is + // `{{report-config-id}}/dt={{datetime}}`, the shard object name would be + // `gs://my-insights/1A34-F2E456-12B456-1C3D/dt=2022-05-20T06:35/1A34-F2E456-12B456-1C3D_2022-05-20T06:35_5.csv` + // and the value of `report_path_prefix` field would be + // `gs://my-insights/1A34-F2E456-12B456-1C3D/dt=2022-05-20T06:35/1A34-F2E456-12B456-1C3D_2022-05-20T06:35_`. + string report_path_prefix = 8; + + // Total shards generated for the report. + int64 shards_count = 9; // Status of the ReportDetail. google.rpc.Status status = 4; @@ -395,6 +403,9 @@ message CSVOptions { bool header_required = 3; } +// Options to configure Parquet formatted reports. +message ParquetOptions {} + // Options to filter data on storage systems. // Next ID: 2 message CloudStorageFilters { @@ -434,6 +445,9 @@ message ObjectMetadataReportOptions { // Message describing ReportConfig object. ReportConfig is the configuration to // generate reports. +// See +// https://cloud.google.com/storage/docs/insights/using-inventory-reports#create-config-rest +// for more details on how to set various fields. // Next ID: 12 message ReportConfig { option (google.api.resource) = { @@ -460,6 +474,9 @@ message ReportConfig { oneof report_format { // Options for CSV formatted reports. CSVOptions csv_options = 6; + + // Options for Parquet formatted reports. + ParquetOptions parquet_options = 7; } // Configuration options for report contents. diff --git a/third_party/googleapis/google/cloud/storageinsights/v1/storageinsights_grpc_service_config.json b/third_party/googleapis/google/cloud/storageinsights/v1/storageinsights_grpc_service_config.json index a46e6a3e5..3a05a02b4 100644 --- a/third_party/googleapis/google/cloud/storageinsights/v1/storageinsights_grpc_service_config.json +++ b/third_party/googleapis/google/cloud/storageinsights/v1/storageinsights_grpc_service_config.json @@ -1,25 +1,22 @@ { "methodConfig": [{ "name": [ - { "service": "google.cloud.storageinsights.v1.StorageinsightsService", "method": "ListReportConfigs" }, - { "service": "google.cloud.storageinsights.v1.StorageinsightsService", "method": "GetReportConfig" }, - { "service": "google.cloud.storageinsights.v1.StorageinsightsService", "method": "ListReportDetails" }, - { "service": "google.cloud.storageinsights.v1.StorageinsightsService", "method": "GetReportDetail" } + { "service": "google.cloud.storageinsights.v1.StorageInsights", "method": "GetReportConfig" }, + { "service": "google.cloud.storageinsights.v1.StorageInsights", "method": "GetReportDetail" }, + { "service": "google.cloud.storageinsights.v1.StorageInsights", "method": "ListReportConfigs" }, + { "service": "google.cloud.storageinsights.v1.StorageInsights", "method": "ListReportDetails" } ], "timeout": "60s", "retryPolicy": { - "maxAttempts": 5, "initialBackoff": "1s", - "maxBackoff": "10s", + "maxBackoff": "60s", "backoffMultiplier": 1.3, "retryableStatusCodes": ["UNAVAILABLE"] } }, { "name": [ - { "service": "google.cloud.storageinsights.v1.StorageinsightsService", "method": "CreateReportConfig" }, - { "service": "google.cloud.storageinsights.v1.StorageinsightsService", "method": "DeleteReportConfig" }, - { "service": "google.cloud.storageinsights.v1.StorageinsightsService", "method": "UpdateReportConfig" } + { "service": "google.cloud.storageinsights.v1.StorageInsights" } ], "timeout": "60s" }] diff --git a/third_party/googleapis/google/cloud/storageinsights/v1/storageinsights_v1.yaml b/third_party/googleapis/google/cloud/storageinsights/v1/storageinsights_v1.yaml index 873d7d4e5..9ce7ce7d9 100644 --- a/third_party/googleapis/google/cloud/storageinsights/v1/storageinsights_v1.yaml +++ b/third_party/googleapis/google/cloud/storageinsights/v1/storageinsights_v1.yaml @@ -12,6 +12,7 @@ types: - name: google.cloud.storageinsights.v1.OperationMetadata documentation: + summary: Provides insights capability on Google Cloud Storage rules: - selector: google.cloud.location.Locations.GetLocation description: Gets information about a location. @@ -64,3 +65,46 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform + +publishing: + new_issue_uri: https://issuetracker.google.com/issues/new?component=1156610 + documentation_uri: https://cloud.google.com/storage/docs/insights/storage-insights + api_short_name: storageinsights + github_label: 'api: storageinsights' + doc_tag_prefix: storageinsights + organization: CLOUD + library_settings: + - version: google.cloud.storageinsights.v1 + launch_stage: GA + java_settings: + common: + destinations: + - PACKAGE_MANAGER + cpp_settings: + common: + destinations: + - PACKAGE_MANAGER + php_settings: + common: + destinations: + - PACKAGE_MANAGER + python_settings: + common: + destinations: + - PACKAGE_MANAGER + node_settings: + common: + destinations: + - PACKAGE_MANAGER + dotnet_settings: + common: + destinations: + - PACKAGE_MANAGER + ruby_settings: + common: + destinations: + - PACKAGE_MANAGER + go_settings: + common: + destinations: + - PACKAGE_MANAGER diff --git a/third_party/googleapis/google/cloud/stream/logging/v1/BUILD.bazel b/third_party/googleapis/google/cloud/stream/logging/v1/BUILD.bazel index d6440cff9..42c40cfe3 100644 --- a/third_party/googleapis/google/cloud/stream/logging/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/stream/logging/v1/BUILD.bazel @@ -88,7 +88,6 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -97,21 +96,9 @@ php_proto_library( deps = [":logging_proto"], ) -php_grpc_library( - name = "logging_php_grpc", - srcs = [":logging_proto"], - deps = [":logging_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) - ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/support/common.proto b/third_party/googleapis/google/cloud/support/common.proto deleted file mode 100644 index 559400bb5..000000000 --- a/third_party/googleapis/google/cloud/support/common.proto +++ /dev/null @@ -1,333 +0,0 @@ -// Copyright 2017 Google Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.cloud.support.common; - -import "google/api/annotations.proto"; -import "google/protobuf/timestamp.proto"; - -option go_package = "cloud.google.com/go/support/common/commonpb;commonpb"; -option java_outer_classname = "CloudSupportProto"; -option java_package = "com.google.cloud.support.common"; - -// A Google Cloud Platform account that identifies support eligibility for a -// Cloud resource. Currently the Cloud resource can only be an Organization -// but this might change in future. -message SupportAccount { - // The current state of this SupportAccount. - enum State { - // Account is in an unknown state. - STATE_UNSPECIFIED = 0; - - // Account is in an active state. - ACTIVE = 1; - - // Account has been created but is being provisioned in support systems. - PENDING = 2; - - // Account deletion has been requested by the user. - PENDING_DELETION = 3; - } - - // Pricing model applicable to this support account. - enum PricingModel { - // This account is subscribed to an unknown pricing model. - PRICING_MODEL_UNKNOWN = 0; - - // Package based pricing (Platinum, Gold, Silver, Bronze). - PACKAGES = 1; - - // Support charges are calculated based on user seats a.k.a, - // "Pick Your Team" model. - USER_ROLES = 2; - } - - // The resource name for a support account in format - // `supportAccounts/{account_id}`. - // Output only. - string name = 1; - - // Identifier for this entity that gets persisted in storage system. The - // resource name is populated using this field in format - // `supportAccounts/{account_id}`. - string account_id = 2; - - // The Cloud resource with which this support account is associated. - string cloud_resource = 3; - - // A user friendly display name assigned to this support account. - string display_name = 4; - - // Indicates the current state of an account. - State state = 5; - - // Time when this account was created. - // Output only. - google.protobuf.Timestamp create_time = 6; - - // The resource name of a billing account associated with this support - // account. For example, `billingAccounts/ABCDEF-012345-567890`. - string billing_account_name = 7; - - string unify_account_id = 8; - - // The PricingModel applicable to this support account. - PricingModel pricing_model = 9; -} - -// A support case created by the user. -message Case { - // The case priority with P0 being the most urgent and P4 the least. - enum Priority { - // Priority is undefined or has not been set yet. - PRIORITY_UNSPECIFIED = 0; - - // Extreme impact on a production service - Service is hard down. - P0 = 1; - - // Critical impact on a production service - Service is currently unusable. - P1 = 2; - - // Severe impact on a production service - Service is usable but greatly - // impaired. - P2 = 3; - - // Medium impact on a production service - Service is available, but - // moderately impaired. - P3 = 4; - - // General questions or minor issues - Production service is fully - // available. - P4 = 5; - } - - // The state of a case. - enum State { - // Case is in an unknown state. - STATE_UNSPECIFIED = 0; - - // Case has been created but no one is assigned to work on it yet. - NEW = 1; - - // Case has been assigned to a support agent. - ASSIGNED = 2; - - // A support agent is currently investigating the case. - IN_PROGRESS_GOOGLE_SUPPORT = 3; - - // Case has been forwarded to product team for further investigation. - IN_PROGRESS_GOOGLE_ENG = 4; - - // Case is under investigation and relates to a known issue. - IN_PROGRESS_KNOWN_ISSUE = 5; - - // Case is waiting for a response from the customer. - WAITING_FOR_CUSTOMER_RESPONSE = 6; - - // A solution has been offered for the case but it isn't closed yet. - SOLUTION_OFFERED = 7; - - // Cases has been fully resolved and is in a closed state. - CLOSED = 8; - } - - // The resource name for the Case in format - // `supportAccounts/{account_id}/cases/{case_id}` - string name = 1; - - // The short summary of the issue reported in this case. - string display_name = 2; - - // The board description of issue provided with initial summary. - string description = 3; - - // The product component for which this Case is reported. - string component = 4; - - // The product subcomponent for which this Case is reported. - string subcomponent = 5; - - // Timezone the client sending this request is in. - // It should be in a format IANA recognizes: https://www.iana.org/time-zone - // There is no additional validation done by the API. - string client_timezone = 6; - - // The email addresses that can be copied to receive updates on this case. - // Users can specify a maximum of 10 email addresses. - repeated string cc_addresses = 7; - - // The Google Cloud Platform project ID for which this case is created. - string project_id = 8; - - // List of customer issues associated with this case. - repeated CustomerIssue issues = 10; - - // The current priority of this case. - Priority priority = 11; - - // The current state of this case. - State state = 12; - - // Time when this case was created. - // Output only. - google.protobuf.Timestamp create_time = 13; - - // Time when this case was last updated. - // Output only. - google.protobuf.Timestamp update_time = 14; - - // Email address of user who created this case. - // Output only. It is inferred from credentials supplied during case creation. - string creator_email = 15; - - // The issue category applicable to this case. - string category = 16; -} - -// Reference to a Google internal ticket used for investigating a support case. -// Not every support case will have an internal ticket associated with it. -// A support case can have multiple tickets linked to it. -message CustomerIssue { - // The status of a customer issue. - enum IssueState { - // Issue in an unknown state. - ISSUE_STATE_UNSPECIFIED = 0; - - // Issue is currently open but the work on it has not been started. - OPEN = 1; - - // Issue is currently being worked on. - IN_PROGRESS = 2; - - // Issue is fixed. - FIXED = 3; - - // Issue has been marked as invalid. - WONT_FIX = 4; - - // Issue verified and in production. - VERIFIED = 5; - } - - // Unique identifier for the internal issue. - // Output only. - string issue_id = 1; - - // Represents current status of the internal ticket. - // Output only. - IssueState state = 2; - - // Time when the internal issue was created. - // Output only. - google.protobuf.Timestamp create_time = 3; - - // Time when the internal issue was marked as resolved. - // Output only. - google.protobuf.Timestamp resolve_time = 4; - - // Time when the internal issue was last updated. - // Output only. - google.protobuf.Timestamp update_time = 5; -} - -// A message that contains mapping of a user and their role under a support -// account. -message SupportRole { - // A role which determines the support resources and features a user might - // get access to. - enum Role { - // An unknown role. - ROLE_UNSPECIFIED = 0; - - // The basic support role. - BASIC = 1; - - // The developer role. - DEVELOPER = 2; - - // The operation role. - OPERATION = 3; - - // The site reliability role. - SITE_RELIABILITY = 4; - } - - // Email address of user being added through this Role. - string email = 1; - - // The type of role assigned to user. - Role role = 2; -} - -// The comment text associated with a `Case`. -message Comment { - // Text containing a maximum of 3000 characters. - string text = 1; - - // Time when this update was created. - // Output only. - google.protobuf.Timestamp create_time = 2; - - // The email address/name of user who created this comment. - // Output only. - string author = 3; - - // The resource name for this comment in format - // `supportAccounts/{account_id}/cases/{case_id}/{comment_id}`. - // Output only. - string name = 4; -} - -// Represents the product component taxonomy that is to be used while creating -// or updating a `Case`. A client should obtain the list of issue categories, -// component/subcomponent from this object and specify it in `Case.category`, -// `Case.component` and `Case.subcomponent` fields respectively. -message IssueTaxonomy { - // The representation of a product component. It is composed of a canonical - // name for the product (e.g., Google App Engine), languages in which a - // support ticket can be created under this component, a template that - // provides hints on important details to be filled out before submitting a - // case. It also contains an embedded list of product subcomponents that have - // similar attributes as top-level components. - // (e.g., Google App Engine > Memcache). - message Component { - // User friendly name of this component. - string display_name = 1; - - // List of languages in which a support case can be created under this - // component. Represented by language codes in ISO_639-1 standard. - repeated string languages = 2; - - // Template to be used while filling the description of a support case. - string template = 3; - - // List of subcomponents under this component. - repeated Component subcomponents = 4; - } - - // Represents the category of issue (Technical or Non-Technical) - // reported through a support case. - message Category { - // User friendly name of this category. - string display_name = 1; - - // Map of product components under this category. - map components = 2; - } - - // Map of available categories. - map categories = 1; -} diff --git a/third_party/googleapis/google/cloud/support/v1alpha1/cloud_support.proto b/third_party/googleapis/google/cloud/support/v1alpha1/cloud_support.proto deleted file mode 100644 index 23a2d70dc..000000000 --- a/third_party/googleapis/google/cloud/support/v1alpha1/cloud_support.proto +++ /dev/null @@ -1,222 +0,0 @@ -// Copyright 2017 Google Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; - -package google.cloud.support.v1alpha1; - -import "google/api/annotations.proto"; -import "google/cloud/support/common.proto"; -import "google/protobuf/empty.proto"; -import "google/protobuf/field_mask.proto"; - -option go_package = "cloud.google.com/go/support/apiv1alpha1/supportpb;supportpb"; -option java_outer_classname = "CloudSupportProto"; -option java_package = "com.google.cloud.support.v1alpha1"; - -// Retrieves the list of Google Cloud Platform Support accounts and manages -// support cases associated with them. -service CloudSupport { - // Retrieves the support account details given an account identifier. - // The authenticated user calling this method must be the account owner. - rpc GetSupportAccount(GetSupportAccountRequest) - returns (google.cloud.support.common.SupportAccount) { - option (google.api.http) = { - get: "/v1alpha1/{name=supportAccounts/*}" - }; - } - - // Retrieves the list of accounts the current authenticated user has access - // to. - rpc ListSupportAccounts(ListSupportAccountsRequest) - returns (ListSupportAccountsResponse) { - option (google.api.http) = { - get: "/v1alpha1/supportAccounts" - }; - } - - // Retrieves the details for a support case. The current authenticated user - // calling this method must have permissions to view this case. - rpc GetCase(GetCaseRequest) returns (google.cloud.support.common.Case) { - option (google.api.http) = { - get: "/v1alpha1/{name=supportAccounts/*/cases/*}" - }; - } - - // Retrieves the list of support cases associated with an account. The current - // authenticated user must have the permission to list and view these cases. - rpc ListCases(ListCasesRequest) returns (ListCasesResponse) { - option (google.api.http) = { - get: "/v1alpha1/{name=supportAccounts/*}/cases" - }; - } - - // Lists all comments from a case. - rpc ListComments(ListCommentsRequest) returns (ListCommentsResponse) { - option (google.api.http) = { - get: "/v1alpha1/{name=supportAccounts/*/cases/*}/comments" - }; - } - - // Creates a case and associates it with a - // [SupportAccount][google.cloud.support.v1alpha2.SupportAcccount]. The - // authenticated user attempting this action must have permissions to create a - // `Case` under that [SupportAccount]. - rpc CreateCase(CreateCaseRequest) returns (google.cloud.support.common.Case) { - option (google.api.http) = { - post: "/v1alpha1/{parent=supportAccounts/*}/cases" - body: "case" - }; - } - - // Updates a support case. Only a small set of details (priority, subject and - // cc_address) can be update after a case is created. - rpc UpdateCase(UpdateCaseRequest) returns (google.cloud.support.common.Case) { - option (google.api.http) = { - patch: "/v1alpha1/{case.name=supportAccounts/*/cases/*}" - body: "case" - }; - } - - // Adds a new comment to a case. - rpc CreateComment(CreateCommentRequest) - returns (google.cloud.support.common.Comment) { - option (google.api.http) = { - post: "/v1alpha1/{name=supportAccounts/*/cases/*}/comments" - body: "comment" - }; - } - - // Retrieves the taxonomy of product categories and components to be used - // while creating a support case. - rpc GetIssueTaxonomy(GetIssueTaxonomyRequest) - returns (google.cloud.support.common.IssueTaxonomy) { - option (google.api.http) = { - get: "/v1alpha1:getIssueTaxonomy" - }; - } -} - -// The request message for `GetSupportAccount`. -message GetSupportAccountRequest { - // The resource name of the support accounts. For example: - // `supportAccounts/accountA`. - string name = 1; -} - -// The request message for `ListSupportAccount`. -message ListSupportAccountsRequest { - // The filter applied to search results. It only supports filtering a support - // account list by a cloud_resource. For example, to filter results by support - // accounts associated with an Organization, its value should be: - // "cloud_resource:organizations/" - string filter = 1; - - // Maximum number of accounts fetched with each request. - int64 page_size = 2; - - // A token identifying the page of results to return. If unspecified, the - // first page is retrieved. - string page_token = 3; -} - -// The response message for `ListSupportAccount`. -message ListSupportAccountsResponse { - // A list of support accounts. - repeated google.cloud.support.common.SupportAccount accounts = 1; - - // A token to retrieve the next page of results. This should be passed on in - // `page_token` field of `ListSupportAccountRequest` for next request. If - // unspecified, there are no more results to retrieve. - string next_page_token = 2; -} - -// The request message for `GetCase` method. -message GetCaseRequest { - // Name of case resource requested. - // For example: "supportAccounts/accountA/cases/123" - string name = 1; -} - -// The request message for `ListCase` method. -message ListCasesRequest { - // Name of the account resource for which cases are requested. For example: - // "supportAccounts/accountA" - string name = 1; - - // The filter applied to the search results. Currently it only accepts "OPEN" - // or "CLOSED" strings, filtering out cases that are open or resolved. - string filter = 2; - - // Maximum number of cases fetched with each request. - int64 page_size = 3; - - // A token identifying the page of results to return. If unspecified, the - // first page is retrieved. - string page_token = 4; -} - -// The response message for `ListCase` method. -message ListCasesResponse { - // A list of cases. - repeated google.cloud.support.common.Case cases = 1; - - // A token to retrieve the next page of results. This should be passed on in - // `page_token` field of `ListCaseRequest` for next request. If unspecified, - // there are no more results to retrieve. - string next_page_token = 2; -} - -// The request message for `ListComments` method. -message ListCommentsRequest { - // The resource name of case for which comments should be listed. - string name = 1; -} - -// The response message for `ListComments` method. -message ListCommentsResponse { - // A list of comments. - repeated google.cloud.support.common.Comment comments = 1; -} - -// The request message for `CreateCase` method. -message CreateCaseRequest { - // The resource name for `SupportAccount` under which this case is created. - string parent = 1; - - // The case resource to create. - google.cloud.support.common.Case case = 2; -} - -// The request message for `UpdateCase` method. -message UpdateCaseRequest { - // The case resource to update. - google.cloud.support.common.Case case = 1; - - // A field that represents attributes of a Case object that should be updated - // as part of this request. - google.protobuf.FieldMask update_mask = 2; -} - -// The request message for `CreateComment` method. -message CreateCommentRequest { - // The resource name of case to which this comment should be added. - string name = 1; - - // The `Comment` to be added to this case. - google.cloud.support.common.Comment comment = 2; -} - -// The request message for `GetIssueTaxonomy` method. -message GetIssueTaxonomyRequest {} diff --git a/third_party/googleapis/google/cloud/talent/BUILD.bazel b/third_party/googleapis/google/cloud/talent/BUILD.bazel index 91c081b0a..bb54c7a4c 100644 --- a/third_party/googleapis/google/cloud/talent/BUILD.bazel +++ b/third_party/googleapis/google/cloud/talent/BUILD.bazel @@ -19,7 +19,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-talent", "ruby-cloud-env-prefix=TALENT", - "ruby-cloud-wrapper-of=v4:0.2;v4beta1:0.2", + "ruby-cloud-wrapper-of=v4:0.12;v4beta1:0.10", "ruby-cloud-product-url=https://cloud.google.com/solutions/talent-solution", "ruby-cloud-api-id=jobs.googleapis.com", "ruby-cloud-api-shortname=jobs", @@ -27,6 +27,7 @@ ruby_cloud_gapic_library( ], ruby_cloud_description = "Transform your job search and candidate matching capabilities with Cloud Talent Solution, designed to support enterprise talent acquisition technology and evolve with your growing needs. This AI solution includes features such as Job Search and Profile Search (Beta) to provide candidates and employers with an enhanced talent acquisition experience.", ruby_cloud_title = "Cloud Talent Solution", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/talent/v4/BUILD.bazel b/third_party/googleapis/google/cloud/talent/v4/BUILD.bazel index 0ffc40b55..918e9087f 100644 --- a/third_party/googleapis/google/cloud/talent/v4/BUILD.bazel +++ b/third_party/googleapis/google/cloud/talent/v4/BUILD.bazel @@ -90,12 +90,14 @@ java_gapic_library( srcs = [":talent_proto_with_info"], grpc_service_config = "talent_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "jobs_v4.yaml", test_deps = [ ":talent_java_grpc", ], transport = "grpc+rest", deps = [ ":talent_java_proto", + "//google/api:api_java_proto", ], ) @@ -137,7 +139,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -176,18 +177,12 @@ go_gapic_library( ], ) -go_test( - name = "talent_go_gapic_test", - srcs = [":talent_go_gapic_srcjar_test"], - embed = [":talent_go_gapic"], - importpath = "cloud.google.com/go/talent/apiv4", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-talent-v4-go", deps = [ ":talent_go_gapic", + ":talent_go_gapic_srcjar-snippets.srcjar", ":talent_go_gapic_srcjar-test.srcjar", ":talent_go_proto", ], @@ -236,7 +231,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -245,23 +239,15 @@ php_proto_library( deps = [":talent_proto"], ) -php_grpc_library( - name = "talent_php_grpc", - srcs = [":talent_proto"], - deps = [":talent_php_proto"], -) - php_gapic_library( name = "talent_php_gapic", srcs = [":talent_proto_with_info"], grpc_service_config = "talent_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "jobs_v4.yaml", transport = "grpc+rest", - deps = [ - ":talent_php_grpc", - ":talent_php_proto", - ], + deps = [":talent_php_proto"], ) # Open Source Packages @@ -269,7 +255,6 @@ php_gapic_assembly_pkg( name = "google-cloud-talent-v4-php", deps = [ ":talent_php_gapic", - ":talent_php_grpc", ":talent_php_proto", ], ) @@ -342,6 +327,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Transform your job search and candidate matching capabilities with Cloud Talent Solution, designed to support enterprise talent acquisition technology and evolve with your growing needs. This AI solution includes features such as Job Search and Profile Search to provide candidates and employers with an enhanced talent acquisition experience.", ruby_cloud_title = "Cloud Talent Solution V4", service_yaml = "jobs_v4.yaml", + transport = "grpc+rest", deps = [ ":talent_ruby_grpc", ":talent_ruby_proto", @@ -383,6 +369,8 @@ csharp_grpc_library( csharp_gapic_library( name = "talent_csharp_gapic", srcs = [":talent_proto_with_info"], + common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", + grpc_service_config = "talent_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "jobs_v4.yaml", transport = "grpc+rest", diff --git a/third_party/googleapis/google/cloud/talent/v4/common.proto b/third_party/googleapis/google/cloud/talent/v4/common.proto index b275beb82..9eedc1682 100644 --- a/third_party/googleapis/google/cloud/talent/v4/common.proto +++ b/third_party/googleapis/google/cloud/talent/v4/common.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/talent/v4/company.proto b/third_party/googleapis/google/cloud/talent/v4/company.proto index 3ece118d4..7c07a44b9 100644 --- a/third_party/googleapis/google/cloud/talent/v4/company.proto +++ b/third_party/googleapis/google/cloud/talent/v4/company.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/talent/v4/company_service.proto b/third_party/googleapis/google/cloud/talent/v4/company_service.proto index b56a33a53..2a0b85bd2 100644 --- a/third_party/googleapis/google/cloud/talent/v4/company_service.proto +++ b/third_party/googleapis/google/cloud/talent/v4/company_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/talent/v4/completion_service.proto b/third_party/googleapis/google/cloud/talent/v4/completion_service.proto index 2026a0746..5447895cb 100644 --- a/third_party/googleapis/google/cloud/talent/v4/completion_service.proto +++ b/third_party/googleapis/google/cloud/talent/v4/completion_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/talent/v4/event.proto b/third_party/googleapis/google/cloud/talent/v4/event.proto index e379c446a..b894046ae 100644 --- a/third_party/googleapis/google/cloud/talent/v4/event.proto +++ b/third_party/googleapis/google/cloud/talent/v4/event.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/talent/v4/event_service.proto b/third_party/googleapis/google/cloud/talent/v4/event_service.proto index bed839a44..a20c1b986 100644 --- a/third_party/googleapis/google/cloud/talent/v4/event_service.proto +++ b/third_party/googleapis/google/cloud/talent/v4/event_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/talent/v4/filters.proto b/third_party/googleapis/google/cloud/talent/v4/filters.proto index a9bd6be86..a1a27cbc3 100644 --- a/third_party/googleapis/google/cloud/talent/v4/filters.proto +++ b/third_party/googleapis/google/cloud/talent/v4/filters.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/talent/v4/histogram.proto b/third_party/googleapis/google/cloud/talent/v4/histogram.proto index 91a6077f4..37c9be2b2 100644 --- a/third_party/googleapis/google/cloud/talent/v4/histogram.proto +++ b/third_party/googleapis/google/cloud/talent/v4/histogram.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/talent/v4/job.proto b/third_party/googleapis/google/cloud/talent/v4/job.proto index 6769f2972..6fed2ab0a 100644 --- a/third_party/googleapis/google/cloud/talent/v4/job.proto +++ b/third_party/googleapis/google/cloud/talent/v4/job.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/talent/v4/job_service.proto b/third_party/googleapis/google/cloud/talent/v4/job_service.proto index 5eb2f0953..71d8117a3 100644 --- a/third_party/googleapis/google/cloud/talent/v4/job_service.proto +++ b/third_party/googleapis/google/cloud/talent/v4/job_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -395,6 +395,11 @@ message SearchJobsRequest { // pushed to the end of the last page of search result. TWO_PER_COMPANY = 4; + // Similar to ONE_PER_COMPANY, but it allows at most three jobs in the + // same company to be shown at once, the other jobs under same company are + // dropped. + MAX_THREE_PER_COMPANY = 6; + // The result list is ordered such that somewhat similar results are pushed // to the end of the last page of the search results. This option is // recommended if SIMPLE diversification does not diversify enough. diff --git a/third_party/googleapis/google/cloud/talent/v4/jobs_v4.yaml b/third_party/googleapis/google/cloud/talent/v4/jobs_v4.yaml index 4f8c484b4..543c0729b 100644 --- a/third_party/googleapis/google/cloud/talent/v4/jobs_v4.yaml +++ b/third_party/googleapis/google/cloud/talent/v4/jobs_v4.yaml @@ -33,21 +33,6 @@ documentation: employers, and search jobs where access control permits. For a full list of supported API methods, refer to the [Reference](rest/) section. -backend: - rules: - - selector: 'google.cloud.talent.v4.CompanyService.*' - deadline: 30.0 - - selector: google.cloud.talent.v4.Completion.CompleteQuery - deadline: 30.0 - - selector: google.cloud.talent.v4.EventService.CreateClientEvent - deadline: 30.0 - - selector: 'google.cloud.talent.v4.JobService.*' - deadline: 30.0 - - selector: 'google.cloud.talent.v4.TenantService.*' - deadline: 30.0 - - selector: 'google.longrunning.Operations.*' - deadline: 30.0 - http: rules: - selector: google.longrunning.Operations.GetOperation diff --git a/third_party/googleapis/google/cloud/talent/v4/talent_grpc_service_config.json b/third_party/googleapis/google/cloud/talent/v4/talent_grpc_service_config.json index da056fcc9..3d9d82c70 100755 --- a/third_party/googleapis/google/cloud/talent/v4/talent_grpc_service_config.json +++ b/third_party/googleapis/google/cloud/talent/v4/talent_grpc_service_config.json @@ -81,10 +81,6 @@ "service": "google.cloud.talent.v4.JobService", "method": "SearchJobs" }, - { - "service": "google.cloud.talent.v4.JobService", - "method": "SearchJobsForAlert" - }, { "service": "google.cloud.talent.v4.JobService", "method": "BatchCreateJobs" diff --git a/third_party/googleapis/google/cloud/talent/v4/tenant.proto b/third_party/googleapis/google/cloud/talent/v4/tenant.proto index 3cad56014..dfba9dea4 100644 --- a/third_party/googleapis/google/cloud/talent/v4/tenant.proto +++ b/third_party/googleapis/google/cloud/talent/v4/tenant.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/talent/v4/tenant_service.proto b/third_party/googleapis/google/cloud/talent/v4/tenant_service.proto index 51c62f5d0..2e6ec21c3 100644 --- a/third_party/googleapis/google/cloud/talent/v4/tenant_service.proto +++ b/third_party/googleapis/google/cloud/talent/v4/tenant_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/talent/v4beta1/BUILD.bazel b/third_party/googleapis/google/cloud/talent/v4beta1/BUILD.bazel index 2f6c5b84a..50a0e9c14 100644 --- a/third_party/googleapis/google/cloud/talent/v4beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/talent/v4beta1/BUILD.bazel @@ -143,7 +143,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -183,19 +182,13 @@ go_gapic_library( ], ) -go_test( - name = "talent_go_gapic_test", - srcs = [":talent_go_gapic_srcjar_test"], - embed = [":talent_go_gapic"], - importpath = "cloud.google.com/go/talent/apiv4beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-talent-v4beta1-go", deps = [ ":talent_go_gapic", ":talent_go_gapic_srcjar-metadata.srcjar", + ":talent_go_gapic_srcjar-snippets.srcjar", ":talent_go_gapic_srcjar-test.srcjar", ":talent_go_proto", ], @@ -245,7 +238,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -254,12 +246,6 @@ php_proto_library( deps = [":talent_proto"], ) -php_grpc_library( - name = "talent_php_grpc", - srcs = [":talent_proto"], - deps = [":talent_php_proto"], -) - php_gapic_library( name = "talent_php_gapic", srcs = [":talent_proto_with_info"], @@ -267,10 +253,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "jobs_v4beta1.yaml", transport = "grpc+rest", - deps = [ - ":talent_php_grpc", - ":talent_php_proto", - ], + deps = [":talent_php_proto"], ) # Open Source Packages @@ -278,7 +261,6 @@ php_gapic_assembly_pkg( name = "google-cloud-talent-v4beta1-php", deps = [ ":talent_php_gapic", - ":talent_php_grpc", ":talent_php_proto", ], ) @@ -351,6 +333,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Transform your job search and candidate matching capabilities with Cloud Talent Solution, designed to support enterprise talent acquisition technology and evolve with your growing needs. This AI solution includes features such as Job Search and Profile Search to provide candidates and employers with an enhanced talent acquisition experience.", ruby_cloud_title = "Cloud Talent Solution V4beta1", service_yaml = "jobs_v4beta1.yaml", + transport = "grpc+rest", deps = [ ":talent_ruby_grpc", ":talent_ruby_proto", diff --git a/third_party/googleapis/google/cloud/talent/v4beta1/batch.proto b/third_party/googleapis/google/cloud/talent/v4beta1/batch.proto index e1e3ea801..f513e1900 100644 --- a/third_party/googleapis/google/cloud/talent/v4beta1/batch.proto +++ b/third_party/googleapis/google/cloud/talent/v4beta1/batch.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/talent/v4beta1/common.proto b/third_party/googleapis/google/cloud/talent/v4beta1/common.proto index 8bceefc41..310a5196a 100644 --- a/third_party/googleapis/google/cloud/talent/v4beta1/common.proto +++ b/third_party/googleapis/google/cloud/talent/v4beta1/common.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/talent/v4beta1/company.proto b/third_party/googleapis/google/cloud/talent/v4beta1/company.proto index 48663caa2..662a574cc 100644 --- a/third_party/googleapis/google/cloud/talent/v4beta1/company.proto +++ b/third_party/googleapis/google/cloud/talent/v4beta1/company.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/talent/v4beta1/company_service.proto b/third_party/googleapis/google/cloud/talent/v4beta1/company_service.proto index 423f43830..bfbbbfe8c 100644 --- a/third_party/googleapis/google/cloud/talent/v4beta1/company_service.proto +++ b/third_party/googleapis/google/cloud/talent/v4beta1/company_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/talent/v4beta1/completion_service.proto b/third_party/googleapis/google/cloud/talent/v4beta1/completion_service.proto index 261f8a5c5..27ada9453 100644 --- a/third_party/googleapis/google/cloud/talent/v4beta1/completion_service.proto +++ b/third_party/googleapis/google/cloud/talent/v4beta1/completion_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/talent/v4beta1/event.proto b/third_party/googleapis/google/cloud/talent/v4beta1/event.proto index dbe275e7b..2a89b46d3 100644 --- a/third_party/googleapis/google/cloud/talent/v4beta1/event.proto +++ b/third_party/googleapis/google/cloud/talent/v4beta1/event.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/talent/v4beta1/event_service.proto b/third_party/googleapis/google/cloud/talent/v4beta1/event_service.proto index 6d3941154..58333990c 100644 --- a/third_party/googleapis/google/cloud/talent/v4beta1/event_service.proto +++ b/third_party/googleapis/google/cloud/talent/v4beta1/event_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/talent/v4beta1/filters.proto b/third_party/googleapis/google/cloud/talent/v4beta1/filters.proto index 5122f6aff..63b553bcb 100644 --- a/third_party/googleapis/google/cloud/talent/v4beta1/filters.proto +++ b/third_party/googleapis/google/cloud/talent/v4beta1/filters.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/talent/v4beta1/histogram.proto b/third_party/googleapis/google/cloud/talent/v4beta1/histogram.proto index 33d182bea..2c02e0f77 100644 --- a/third_party/googleapis/google/cloud/talent/v4beta1/histogram.proto +++ b/third_party/googleapis/google/cloud/talent/v4beta1/histogram.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/talent/v4beta1/job.proto b/third_party/googleapis/google/cloud/talent/v4beta1/job.proto index 25f82b751..917f75a77 100644 --- a/third_party/googleapis/google/cloud/talent/v4beta1/job.proto +++ b/third_party/googleapis/google/cloud/talent/v4beta1/job.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/talent/v4beta1/job_service.proto b/third_party/googleapis/google/cloud/talent/v4beta1/job_service.proto index 6c0021d74..e6ea986ee 100644 --- a/third_party/googleapis/google/cloud/talent/v4beta1/job_service.proto +++ b/third_party/googleapis/google/cloud/talent/v4beta1/job_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/talent/v4beta1/jobs_v4beta1.yaml b/third_party/googleapis/google/cloud/talent/v4beta1/jobs_v4beta1.yaml index 63869ab52..28ae80be2 100644 --- a/third_party/googleapis/google/cloud/talent/v4beta1/jobs_v4beta1.yaml +++ b/third_party/googleapis/google/cloud/talent/v4beta1/jobs_v4beta1.yaml @@ -31,21 +31,6 @@ documentation: employers, and search jobs where access control permits. For a full list of supported API methods, refer to the [Reference](rest/) section. -backend: - rules: - - selector: 'google.cloud.talent.v4beta1.CompanyService.*' - deadline: 30.0 - - selector: google.cloud.talent.v4beta1.Completion.CompleteQuery - deadline: 30.0 - - selector: google.cloud.talent.v4beta1.EventService.CreateClientEvent - deadline: 30.0 - - selector: 'google.cloud.talent.v4beta1.JobService.*' - deadline: 30.0 - - selector: 'google.cloud.talent.v4beta1.TenantService.*' - deadline: 30.0 - - selector: 'google.longrunning.Operations.*' - deadline: 30.0 - http: rules: - selector: google.longrunning.Operations.GetOperation diff --git a/third_party/googleapis/google/cloud/talent/v4beta1/tenant.proto b/third_party/googleapis/google/cloud/talent/v4beta1/tenant.proto index fd74a555f..a71bf8ffb 100644 --- a/third_party/googleapis/google/cloud/talent/v4beta1/tenant.proto +++ b/third_party/googleapis/google/cloud/talent/v4beta1/tenant.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/talent/v4beta1/tenant_service.proto b/third_party/googleapis/google/cloud/talent/v4beta1/tenant_service.proto index a6a550684..fe3f5f3d0 100644 --- a/third_party/googleapis/google/cloud/talent/v4beta1/tenant_service.proto +++ b/third_party/googleapis/google/cloud/talent/v4beta1/tenant_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/tasks/BUILD.bazel b/third_party/googleapis/google/cloud/tasks/BUILD.bazel index fbfadb698..d65301167 100644 --- a/third_party/googleapis/google/cloud/tasks/BUILD.bazel +++ b/third_party/googleapis/google/cloud/tasks/BUILD.bazel @@ -22,7 +22,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-tasks", "ruby-cloud-env-prefix=TASKS", - "ruby-cloud-wrapper-of=v2:0.0;v2beta2:0.0;v2beta3:0.0", + "ruby-cloud-wrapper-of=v2:0.10;v2beta2:0.11;v2beta3:0.12", "ruby-cloud-product-url=https://cloud.google.com/tasks", "ruby-cloud-api-id=cloudtasks.googleapis.com", "ruby-cloud-api-shortname=cloudtasks", @@ -30,6 +30,7 @@ ruby_cloud_gapic_library( ], ruby_cloud_description = "Cloud Tasks is a fully managed service that allows you to manage the execution, dispatch and delivery of a large number of distributed tasks. You can asynchronously perform work outside of a user request. Your tasks can be executed on App Engine or any arbitrary HTTP endpoint.", ruby_cloud_title = "Cloud Tasks", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/tasks/v2/BUILD.bazel b/third_party/googleapis/google/cloud/tasks/v2/BUILD.bazel index 2fd61a1a6..cdd84da81 100644 --- a/third_party/googleapis/google/cloud/tasks/v2/BUILD.bazel +++ b/third_party/googleapis/google/cloud/tasks/v2/BUILD.bazel @@ -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"]) @@ -37,6 +46,7 @@ proto_library_with_info( deps = [ ":tasks_proto", "//google/cloud:common_resources_proto", + "//google/cloud/location:location_proto", ], ) @@ -66,15 +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", ], ) @@ -109,13 +124,12 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( name = "tasks_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "cloud.google.com/go/tasks/apiv2/taskspb", + importpath = "cloud.google.com/go/cloudtasks/apiv2/cloudtaskspb", protos = [":tasks_proto"], deps = [ "//google/api:annotations_go_proto", @@ -128,29 +142,27 @@ go_gapic_library( name = "tasks_go_gapic", srcs = [":tasks_proto_with_info"], grpc_service_config = "cloudtasks_grpc_service_config.json", - importpath = "cloud.google.com/go/cloudtasks/apiv2;tasks", + 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", ], ) -go_test( - name = "tasks_go_gapic_test", - srcs = [":tasks_go_gapic_srcjar_test"], - embed = [":tasks_go_gapic"], - importpath = "cloud.google.com/go/cloudtasks/apiv2", -) - # Open Source Packages 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", ], @@ -188,6 +200,7 @@ py_test( deps = [":tasks_py_gapic"], ) +# Open Source Packages py_gapic_assembly_pkg( name = "tasks-v2-py", deps = [ @@ -202,7 +215,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -211,21 +223,15 @@ php_proto_library( deps = [":tasks_proto"], ) -php_grpc_library( - name = "tasks_php_grpc", - srcs = [":tasks_proto"], - deps = [":tasks_php_proto"], -) - php_gapic_library( name = "tasks_php_gapic", srcs = [":tasks_proto_with_info"], grpc_service_config = "cloudtasks_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "cloudtasks_v2.yaml", transport = "grpc+rest", deps = [ - ":tasks_php_grpc", ":tasks_php_proto", ], ) @@ -235,7 +241,6 @@ php_gapic_assembly_pkg( name = "google-cloud-tasks-v2-php", deps = [ ":tasks_php_gapic", - ":tasks_php_grpc", ":tasks_php_proto", ], ) @@ -261,6 +266,7 @@ nodejs_gapic_library( service_yaml = "cloudtasks_v2.yaml", transport = "grpc+rest", deps = [], + format = "esm", ) nodejs_gapic_assembly_pkg( @@ -297,17 +303,18 @@ 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, ruby_cloud_description = "Cloud Tasks is a fully managed service that allows you to manage the execution, dispatch and delivery of a large number of distributed tasks. You can asynchronously perform work outside of a user request. Your tasks can be executed on App Engine or any arbitrary HTTP endpoint.", ruby_cloud_title = "Cloud Tasks V2", service_yaml = "cloudtasks_v2.yaml", + transport = "grpc+rest", deps = [ ":tasks_ruby_grpc", ":tasks_ruby_proto", @@ -337,6 +344,7 @@ load( csharp_proto_library( name = "tasks_csharp_proto", + extra_opts = [], deps = [":tasks_proto"], ) diff --git a/third_party/googleapis/google/cloud/tasks/v2/cloudtasks.proto b/third_party/googleapis/google/cloud/tasks/v2/cloudtasks.proto index edc1cbdb4..6973d356d 100644 --- a/third_party/googleapis/google/cloud/tasks/v2/cloudtasks.proto +++ b/third_party/googleapis/google/cloud/tasks/v2/cloudtasks.proto @@ -1,4 +1,4 @@ -// Copyright 2019 Google LLC. +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,7 +11,6 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -// syntax = "proto3"; @@ -28,7 +27,7 @@ import "google/iam/v1/policy.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; -option go_package = "cloud.google.com/go/tasks/apiv2/taskspb;taskspb"; +option go_package = "cloud.google.com/go/cloudtasks/apiv2/cloudtaskspb;cloudtaskspb"; option java_multiple_files = true; option java_outer_classname = "CloudTasksProto"; option java_package = "com.google.cloud.tasks.v2"; @@ -38,7 +37,8 @@ option objc_class_prefix = "TASKS"; // work in their applications. service CloudTasks { option (google.api.default_host) = "cloudtasks.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Lists queues. // @@ -61,8 +61,8 @@ service CloudTasks { // Creates a queue. // // Queues created with this method allow tasks to live for a maximum of 31 - // days. After a task is 31 days old, the task will be deleted regardless of whether - // it was dispatched or not. + // days. After a task is 31 days old, the task will be deleted regardless of + // whether it was dispatched or not. // // WARNING: Using this method may have unintended side effects if you are // using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. @@ -84,8 +84,8 @@ service CloudTasks { // the queue if it does exist. // // Queues created with this method allow tasks to live for a maximum of 31 - // days. After a task is 31 days old, the task will be deleted regardless of whether - // it was dispatched or not. + // days. After a task is 31 days old, the task will be deleted regardless of + // whether it was dispatched or not. // // WARNING: Using this method may have unintended side effects if you are // using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. @@ -139,9 +139,10 @@ service CloudTasks { // // If a queue is paused then the system will stop dispatching tasks // until the queue is resumed via - // [ResumeQueue][google.cloud.tasks.v2.CloudTasks.ResumeQueue]. Tasks can still be added - // when the queue is paused. A queue is paused if its - // [state][google.cloud.tasks.v2.Queue.state] is [PAUSED][google.cloud.tasks.v2.Queue.State.PAUSED]. + // [ResumeQueue][google.cloud.tasks.v2.CloudTasks.ResumeQueue]. Tasks can + // still be added when the queue is paused. A queue is paused if its + // [state][google.cloud.tasks.v2.Queue.state] is + // [PAUSED][google.cloud.tasks.v2.Queue.State.PAUSED]. rpc PauseQueue(PauseQueueRequest) returns (Queue) { option (google.api.http) = { post: "/v2/{name=projects/*/locations/*/queues/*}:pause" @@ -154,9 +155,10 @@ service CloudTasks { // // This method resumes a queue after it has been // [PAUSED][google.cloud.tasks.v2.Queue.State.PAUSED] or - // [DISABLED][google.cloud.tasks.v2.Queue.State.DISABLED]. The state of a queue is stored - // in the queue's [state][google.cloud.tasks.v2.Queue.state]; after calling this method it - // will be set to [RUNNING][google.cloud.tasks.v2.Queue.State.RUNNING]. + // [DISABLED][google.cloud.tasks.v2.Queue.State.DISABLED]. The state of a + // queue is stored in the queue's [state][google.cloud.tasks.v2.Queue.state]; + // after calling this method it will be set to + // [RUNNING][google.cloud.tasks.v2.Queue.State.RUNNING]. // // WARNING: Resuming many high-QPS queues at the same time can // lead to target overloading. If you are resuming high-QPS @@ -180,7 +182,8 @@ service CloudTasks { // resource parent: // // * `cloudtasks.queues.getIamPolicy` - rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v2/{resource=projects/*/locations/*/queues/*}:getIamPolicy" body: "*" @@ -188,8 +191,8 @@ service CloudTasks { option (google.api.method_signature) = "resource"; } - // Sets the access control policy for a [Queue][google.cloud.tasks.v2.Queue]. Replaces any existing - // policy. + // Sets the access control policy for a [Queue][google.cloud.tasks.v2.Queue]. + // Replaces any existing policy. // // Note: The Cloud Console does not check queue-level IAM permissions yet. // Project-level permissions are required to use the Cloud Console. @@ -199,7 +202,8 @@ service CloudTasks { // resource parent: // // * `cloudtasks.queues.setIamPolicy` - rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v2/{resource=projects/*/locations/*/queues/*}:setIamPolicy" body: "*" @@ -207,14 +211,16 @@ service CloudTasks { option (google.api.method_signature) = "resource,policy"; } - // Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2.Queue]. - // If the resource does not exist, this will return an empty set of - // permissions, not a [NOT_FOUND][google.rpc.Code.NOT_FOUND] error. + // Returns permissions that a caller has on a + // [Queue][google.cloud.tasks.v2.Queue]. If the resource does not exist, this + // will return an empty set of permissions, not a + // [NOT_FOUND][google.rpc.Code.NOT_FOUND] error. // // Note: This operation is designed to be used for building permission-aware // UIs and command-line tools, not for authorization checking. This operation // may "fail open" without warning. - rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) { + rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) + returns (google.iam.v1.TestIamPermissionsResponse) { option (google.api.http) = { post: "/v2/{resource=projects/*/locations/*/queues/*}:testIamPermissions" body: "*" @@ -224,10 +230,10 @@ service CloudTasks { // Lists the tasks in a queue. // - // By default, only the [BASIC][google.cloud.tasks.v2.Task.View.BASIC] view is retrieved - // due to performance considerations; - // [response_view][google.cloud.tasks.v2.ListTasksRequest.response_view] controls the - // subset of information which is returned. + // By default, only the [BASIC][google.cloud.tasks.v2.Task.View.BASIC] view is + // retrieved due to performance considerations; + // [response_view][google.cloud.tasks.v2.ListTasksRequest.response_view] + // controls the subset of information which is returned. // // The tasks may be returned in any order. The ordering may change at any // time. @@ -274,13 +280,14 @@ service CloudTasks { // Forces a task to run now. // // When this method is called, Cloud Tasks will dispatch the task, even if - // the task is already running, the queue has reached its [RateLimits][google.cloud.tasks.v2.RateLimits] or - // is [PAUSED][google.cloud.tasks.v2.Queue.State.PAUSED]. + // the task is already running, the queue has reached its + // [RateLimits][google.cloud.tasks.v2.RateLimits] or is + // [PAUSED][google.cloud.tasks.v2.Queue.State.PAUSED]. // // This command is meant to be used for manual debugging. For - // example, [RunTask][google.cloud.tasks.v2.CloudTasks.RunTask] can be used to retry a failed - // task after a fix has been made or to manually force a task to be - // dispatched now. + // example, [RunTask][google.cloud.tasks.v2.CloudTasks.RunTask] can be used to + // retry a failed task after a fix has been made or to manually force a task + // to be dispatched now. // // The dispatched task is returned. That is, the task that is returned // contains the [status][Task.status] after the task is dispatched but @@ -288,9 +295,10 @@ service CloudTasks { // // If Cloud Tasks receives a successful response from the task's // target, then the task will be deleted; otherwise the task's - // [schedule_time][google.cloud.tasks.v2.Task.schedule_time] will be reset to the time that - // [RunTask][google.cloud.tasks.v2.CloudTasks.RunTask] was called plus the retry delay specified - // in the queue's [RetryConfig][google.cloud.tasks.v2.RetryConfig]. + // [schedule_time][google.cloud.tasks.v2.Task.schedule_time] will be reset to + // the time that [RunTask][google.cloud.tasks.v2.CloudTasks.RunTask] was + // called plus the retry delay specified in the queue's + // [RetryConfig][google.cloud.tasks.v2.RetryConfig]. // // [RunTask][google.cloud.tasks.v2.CloudTasks.RunTask] returns // [NOT_FOUND][google.rpc.Code.NOT_FOUND] when it is called on a @@ -304,7 +312,8 @@ service CloudTasks { } } -// Request message for [ListQueues][google.cloud.tasks.v2.CloudTasks.ListQueues]. +// Request message for +// [ListQueues][google.cloud.tasks.v2.CloudTasks.ListQueues]. message ListQueuesRequest { // Required. The location name. // For example: `projects/PROJECT_ID/locations/LOCATION_ID` @@ -315,11 +324,10 @@ message ListQueuesRequest { } ]; - // `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2.Queue] - // field can be used as a filter and several operators as supported. - // For example: `<=, <, >=, >, !=, =, :`. The filter syntax is the same as - // described in - // [Stackdriver's Advanced Logs + // `filter` can be used to specify a subset of queues. Any + // [Queue][google.cloud.tasks.v2.Queue] field can be used as a filter and + // several operators as supported. For example: `<=, <, >=, >, !=, =, :`. The + // filter syntax is the same as described in [Stackdriver's Advanced Logs // Filters](https://cloud.google.com/logging/docs/view/advanced_filters). // // Sample filter "state: PAUSED". @@ -333,22 +341,25 @@ message ListQueuesRequest { // The maximum page size is 9800. If unspecified, the page size will // be the maximum. Fewer queues than requested might be returned, // even if more queues exist; use the - // [next_page_token][google.cloud.tasks.v2.ListQueuesResponse.next_page_token] in the - // response to determine if more queues exist. + // [next_page_token][google.cloud.tasks.v2.ListQueuesResponse.next_page_token] + // in the response to determine if more queues exist. int32 page_size = 3; // A token identifying the page of results to return. // // To request the first page results, page_token must be empty. To // request the next page of results, page_token must be the value of - // [next_page_token][google.cloud.tasks.v2.ListQueuesResponse.next_page_token] returned - // from the previous call to [ListQueues][google.cloud.tasks.v2.CloudTasks.ListQueues] - // method. It is an error to switch the value of the - // [filter][google.cloud.tasks.v2.ListQueuesRequest.filter] while iterating through pages. + // [next_page_token][google.cloud.tasks.v2.ListQueuesResponse.next_page_token] + // returned from the previous call to + // [ListQueues][google.cloud.tasks.v2.CloudTasks.ListQueues] method. It is an + // error to switch the value of the + // [filter][google.cloud.tasks.v2.ListQueuesRequest.filter] while iterating + // through pages. string page_token = 4; } -// Response message for [ListQueues][google.cloud.tasks.v2.CloudTasks.ListQueues]. +// Response message for +// [ListQueues][google.cloud.tasks.v2.CloudTasks.ListQueues]. message ListQueuesResponse { // The list of queues. repeated Queue queues = 1; @@ -356,8 +367,8 @@ message ListQueuesResponse { // A token to retrieve next page of results. // // To return the next page of results, call - // [ListQueues][google.cloud.tasks.v2.CloudTasks.ListQueues] with this value as the - // [page_token][google.cloud.tasks.v2.ListQueuesRequest.page_token]. + // [ListQueues][google.cloud.tasks.v2.CloudTasks.ListQueues] with this value + // as the [page_token][google.cloud.tasks.v2.ListQueuesRequest.page_token]. // // If the next_page_token is empty, there are no more results. // @@ -377,7 +388,8 @@ message GetQueueRequest { ]; } -// Request message for [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue]. +// Request message for +// [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue]. message CreateQueueRequest { // Required. The location name in which the queue will be created. // For example: `projects/PROJECT_ID/locations/LOCATION_ID` @@ -394,11 +406,13 @@ message CreateQueueRequest { // Required. The queue to create. // - // [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an existing queue. + // [Queue's name][google.cloud.tasks.v2.Queue.name] cannot be the same as an + // existing queue. Queue queue = 2 [(google.api.field_behavior) = REQUIRED]; } -// Request message for [UpdateQueue][google.cloud.tasks.v2.CloudTasks.UpdateQueue]. +// Request message for +// [UpdateQueue][google.cloud.tasks.v2.CloudTasks.UpdateQueue]. message UpdateQueueRequest { // Required. The queue to create or update. // @@ -415,7 +429,8 @@ message UpdateQueueRequest { google.protobuf.FieldMask update_mask = 2; } -// Request message for [DeleteQueue][google.cloud.tasks.v2.CloudTasks.DeleteQueue]. +// Request message for +// [DeleteQueue][google.cloud.tasks.v2.CloudTasks.DeleteQueue]. message DeleteQueueRequest { // Required. The queue name. For example: // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` @@ -427,7 +442,8 @@ message DeleteQueueRequest { ]; } -// Request message for [PurgeQueue][google.cloud.tasks.v2.CloudTasks.PurgeQueue]. +// Request message for +// [PurgeQueue][google.cloud.tasks.v2.CloudTasks.PurgeQueue]. message PurgeQueueRequest { // Required. The queue name. For example: // `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` @@ -439,7 +455,8 @@ message PurgeQueueRequest { ]; } -// Request message for [PauseQueue][google.cloud.tasks.v2.CloudTasks.PauseQueue]. +// Request message for +// [PauseQueue][google.cloud.tasks.v2.CloudTasks.PauseQueue]. message PauseQueueRequest { // Required. The queue name. For example: // `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` @@ -451,7 +468,8 @@ message PauseQueueRequest { ]; } -// Request message for [ResumeQueue][google.cloud.tasks.v2.CloudTasks.ResumeQueue]. +// Request message for +// [ResumeQueue][google.cloud.tasks.v2.CloudTasks.ResumeQueue]. message ResumeQueueRequest { // Required. The queue name. For example: // `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` @@ -463,7 +481,8 @@ message ResumeQueueRequest { ]; } -// Request message for listing tasks using [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks]. +// Request message for listing tasks using +// [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks]. message ListTasksRequest { // Required. The queue name. For example: // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` @@ -474,11 +493,11 @@ message ListTasksRequest { } ]; - // The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be - // returned. + // The response_view specifies which subset of the + // [Task][google.cloud.tasks.v2.Task] will be returned. // - // By default response_view is [BASIC][google.cloud.tasks.v2.Task.View.BASIC]; not all - // information is retrieved by default because some data, such as + // By default response_view is [BASIC][google.cloud.tasks.v2.Task.View.BASIC]; + // not all information is retrieved by default because some data, such as // payloads, might be desirable to return only when needed because // of its large size or because of the sensitivity of data that it // contains. @@ -491,8 +510,8 @@ message ListTasksRequest { // Maximum page size. // // Fewer tasks than requested might be returned, even if more tasks exist; use - // [next_page_token][google.cloud.tasks.v2.ListTasksResponse.next_page_token] in the response to - // determine if more tasks exist. + // [next_page_token][google.cloud.tasks.v2.ListTasksResponse.next_page_token] + // in the response to determine if more tasks exist. // // The maximum page size is 1000. If unspecified, the page size will be the // maximum. @@ -502,15 +521,16 @@ message ListTasksRequest { // // To request the first page results, page_token must be empty. To // request the next page of results, page_token must be the value of - // [next_page_token][google.cloud.tasks.v2.ListTasksResponse.next_page_token] returned - // from the previous call to [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks] - // method. + // [next_page_token][google.cloud.tasks.v2.ListTasksResponse.next_page_token] + // returned from the previous call to + // [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks] method. // // The page token is valid for only 2 hours. string page_token = 4; } -// Response message for listing tasks using [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks]. +// Response message for listing tasks using +// [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks]. message ListTasksResponse { // The list of tasks. repeated Task tasks = 1; @@ -518,29 +538,28 @@ message ListTasksResponse { // A token to retrieve next page of results. // // To return the next page of results, call - // [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks] with this value as the - // [page_token][google.cloud.tasks.v2.ListTasksRequest.page_token]. + // [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks] with this value as + // the [page_token][google.cloud.tasks.v2.ListTasksRequest.page_token]. // // If the next_page_token is empty, there are no more results. string next_page_token = 2; } -// Request message for getting a task using [GetTask][google.cloud.tasks.v2.CloudTasks.GetTask]. +// Request message for getting a task using +// [GetTask][google.cloud.tasks.v2.CloudTasks.GetTask]. message GetTaskRequest { // Required. The task name. For example: // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "cloudtasks.googleapis.com/Task" - } + (google.api.resource_reference) = { type: "cloudtasks.googleapis.com/Task" } ]; - // The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be - // returned. + // The response_view specifies which subset of the + // [Task][google.cloud.tasks.v2.Task] will be returned. // - // By default response_view is [BASIC][google.cloud.tasks.v2.Task.View.BASIC]; not all - // information is retrieved by default because some data, such as + // By default response_view is [BASIC][google.cloud.tasks.v2.Task.View.BASIC]; + // not all information is retrieved by default because some data, such as // payloads, might be desirable to return only when needed because // of its large size or because of the sensitivity of data that it // contains. @@ -551,7 +570,8 @@ message GetTaskRequest { Task.View response_view = 2; } -// Request message for [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask]. +// Request message for +// [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask]. message CreateTaskRequest { // Required. The queue name. For example: // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` @@ -568,13 +588,13 @@ message CreateTaskRequest { // // Task names have the following format: // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`. - // The user can optionally specify a task [name][google.cloud.tasks.v2.Task.name]. If a - // name is not specified then the system will generate a random - // unique task id, which will be set in the task returned in the - // [response][google.cloud.tasks.v2.Task.name]. + // The user can optionally specify a task + // [name][google.cloud.tasks.v2.Task.name]. If a name is not specified then + // the system will generate a random unique task id, which will be set in the + // task returned in the [response][google.cloud.tasks.v2.Task.name]. // - // If [schedule_time][google.cloud.tasks.v2.Task.schedule_time] is not set or is in the - // past then Cloud Tasks will set it to the current time. + // If [schedule_time][google.cloud.tasks.v2.Task.schedule_time] is not set or + // is in the past then Cloud Tasks will set it to the current time. // // Task De-duplication: // @@ -589,21 +609,21 @@ message CreateTaskRequest { // for ~9days after the original task was deleted or executed. // // Because there is an extra lookup cost to identify duplicate task - // names, these [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask] calls have significantly - // increased latency. Using hashed strings for the task id or for - // the prefix of the task id is recommended. Choosing task ids that - // are sequential or have sequential prefixes, for example using a + // names, these [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask] + // calls have significantly increased latency. Using hashed strings for the + // task id or for the prefix of the task id is recommended. Choosing task ids + // that are sequential or have sequential prefixes, for example using a // timestamp, causes an increase in latency and error rates in all // task commands. The infrastructure relies on an approximately // uniform distribution of task ids to store and serve tasks // efficiently. Task task = 2 [(google.api.field_behavior) = REQUIRED]; - // The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be - // returned. + // The response_view specifies which subset of the + // [Task][google.cloud.tasks.v2.Task] will be returned. // - // By default response_view is [BASIC][google.cloud.tasks.v2.Task.View.BASIC]; not all - // information is retrieved by default because some data, such as + // By default response_view is [BASIC][google.cloud.tasks.v2.Task.View.BASIC]; + // not all information is retrieved by default because some data, such as // payloads, might be desirable to return only when needed because // of its large size or because of the sensitivity of data that it // contains. @@ -621,9 +641,7 @@ message DeleteTaskRequest { // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "cloudtasks.googleapis.com/Task" - } + (google.api.resource_reference) = { type: "cloudtasks.googleapis.com/Task" } ]; } @@ -634,16 +652,14 @@ message RunTaskRequest { // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "cloudtasks.googleapis.com/Task" - } + (google.api.resource_reference) = { type: "cloudtasks.googleapis.com/Task" } ]; - // The response_view specifies which subset of the [Task][google.cloud.tasks.v2.Task] will be - // returned. + // The response_view specifies which subset of the + // [Task][google.cloud.tasks.v2.Task] will be returned. // - // By default response_view is [BASIC][google.cloud.tasks.v2.Task.View.BASIC]; not all - // information is retrieved by default because some data, such as + // By default response_view is [BASIC][google.cloud.tasks.v2.Task.View.BASIC]; + // not all information is retrieved by default because some data, such as // payloads, might be desirable to return only when needed because // of its large size or because of the sensitivity of data that it // contains. diff --git a/third_party/googleapis/google/cloud/tasks/v2/cloudtasks_grpc_service_config.json b/third_party/googleapis/google/cloud/tasks/v2/cloudtasks_grpc_service_config.json index cdad5bd41..b7a94ede6 100755 --- a/third_party/googleapis/google/cloud/tasks/v2/cloudtasks_grpc_service_config.json +++ b/third_party/googleapis/google/cloud/tasks/v2/cloudtasks_grpc_service_config.json @@ -35,7 +35,7 @@ "method": "DeleteTask" } ], - "timeout": "10s", + "timeout": "20s", "retryPolicy": { "initialBackoff": "0.100s", "maxBackoff": "10s", @@ -79,9 +79,17 @@ { "service": "google.cloud.tasks.v2.CloudTasks", "method": "RunTask" + }, + { + "service": "google.cloud.tasks.v2.CloudTasks", + "method": "UpdateCmekConfig" + }, + { + "service": "google.cloud.tasks.v2.CloudTasks", + "method": "GetCmekConfig" } ], - "timeout": "10s" + "timeout": "20s" } ] } diff --git a/third_party/googleapis/google/cloud/tasks/v2/cloudtasks_v2.yaml b/third_party/googleapis/google/cloud/tasks/v2/cloudtasks_v2.yaml index 3e3ea2ec5..412c54c91 100644 --- a/third_party/googleapis/google/cloud/tasks/v2/cloudtasks_v2.yaml +++ b/third_party/googleapis/google/cloud/tasks/v2/cloudtasks_v2.yaml @@ -4,6 +4,7 @@ name: cloudtasks.googleapis.com title: Cloud Tasks API apis: +- name: google.cloud.location.Locations - name: google.cloud.tasks.v2.CloudTasks documentation: @@ -13,16 +14,39 @@ documentation: requests. For more information, see https://cloud.google.com/tasks/. + rules: + - selector: google.cloud.location.Locations.GetLocation + description: Gets information about a location. + + - selector: google.cloud.location.Locations.ListLocations + description: Lists information about the supported locations for this service. backend: rules: + - selector: google.cloud.location.Locations.GetLocation + deadline: 5.0 + - selector: google.cloud.location.Locations.ListLocations + deadline: 5.0 - selector: 'google.cloud.tasks.v2.CloudTasks.*' - deadline: 10.0 - - selector: google.cloud.tasks.v2.CloudTasks.ListQueues deadline: 15.0 +http: + rules: + - selector: google.cloud.location.Locations.GetLocation + get: '/v2/{name=projects/*/locations/*}' + - selector: google.cloud.location.Locations.ListLocations + get: '/v2/{name=projects/*}/locations' + authentication: rules: + - selector: google.cloud.location.Locations.GetLocation + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform + - selector: google.cloud.location.Locations.ListLocations + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform - selector: 'google.cloud.tasks.v2.CloudTasks.*' oauth: canonical_scopes: |- diff --git a/third_party/googleapis/google/cloud/tasks/v2/queue.proto b/third_party/googleapis/google/cloud/tasks/v2/queue.proto index ff1cb2ae6..9c7b06230 100644 --- a/third_party/googleapis/google/cloud/tasks/v2/queue.proto +++ b/third_party/googleapis/google/cloud/tasks/v2/queue.proto @@ -1,4 +1,4 @@ -// Copyright 2019 Google LLC. +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,7 +11,6 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -// syntax = "proto3"; @@ -22,7 +21,7 @@ import "google/cloud/tasks/v2/target.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "cloud.google.com/go/tasks/apiv2/taskspb;taskspb"; +option go_package = "cloud.google.com/go/cloudtasks/apiv2/cloudtaskspb;cloudtaskspb"; option java_multiple_files = true; option java_outer_classname = "QueueProto"; option java_package = "com.google.cloud.tasks.v2"; @@ -73,8 +72,9 @@ message Queue { DISABLED = 3; } - // Caller-specified and required in [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue], - // after which it becomes output only. + // Caller-specified and required in + // [CreateQueue][google.cloud.tasks.v2.CloudTasks.CreateQueue], after which it + // becomes output only. // // The queue name. // @@ -95,36 +95,41 @@ message Queue { string name = 1; // Overrides for - // [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing]. + // [task-level + // app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing]. // These settings apply only to - // [App Engine tasks][google.cloud.tasks.v2.AppEngineHttpRequest] in this queue. - // [Http tasks][google.cloud.tasks.v2.HttpRequest] are not affected. + // [App Engine tasks][google.cloud.tasks.v2.AppEngineHttpRequest] in this + // queue. [Http tasks][google.cloud.tasks.v2.HttpRequest] are not affected. // // If set, `app_engine_routing_override` is used for all - // [App Engine tasks][google.cloud.tasks.v2.AppEngineHttpRequest] in the queue, no matter what the - // setting is for the - // [task-level app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing]. + // [App Engine tasks][google.cloud.tasks.v2.AppEngineHttpRequest] in the + // queue, no matter what the setting is for the [task-level + // app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing]. AppEngineRouting app_engine_routing_override = 2; // Rate limits for task dispatches. // - // [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2.Queue.retry_config] are - // related because they both control task attempts. However they control task - // attempts in different ways: + // [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] and + // [retry_config][google.cloud.tasks.v2.Queue.retry_config] are related + // because they both control task attempts. However they control task attempts + // in different ways: // - // * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] controls the total rate of + // * [rate_limits][google.cloud.tasks.v2.Queue.rate_limits] controls the total + // rate of // dispatches from a queue (i.e. all traffic dispatched from the // queue, regardless of whether the dispatch is from a first // attempt or a retry). - // * [retry_config][google.cloud.tasks.v2.Queue.retry_config] controls what happens to + // * [retry_config][google.cloud.tasks.v2.Queue.retry_config] controls what + // happens to // particular a task after its first attempt fails. That is, - // [retry_config][google.cloud.tasks.v2.Queue.retry_config] controls task retries (the - // second attempt, third attempt, etc). + // [retry_config][google.cloud.tasks.v2.Queue.retry_config] controls task + // retries (the second attempt, third attempt, etc). // // The queue's actual dispatch rate is the result of: // // * Number of tasks in the queue - // * User-specified throttling: [rate_limits][google.cloud.tasks.v2.Queue.rate_limits], + // * User-specified throttling: + // [rate_limits][google.cloud.tasks.v2.Queue.rate_limits], // [retry_config][google.cloud.tasks.v2.Queue.retry_config], and the // [queue's state][google.cloud.tasks.v2.Queue.state]. // * System throttling due to `429` (Too Many Requests) or `503` (Service @@ -146,20 +151,22 @@ message Queue { // Output only. The state of the queue. // - // `state` can only be changed by called + // `state` can only be changed by calling // [PauseQueue][google.cloud.tasks.v2.CloudTasks.PauseQueue], // [ResumeQueue][google.cloud.tasks.v2.CloudTasks.ResumeQueue], or uploading // [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref). - // [UpdateQueue][google.cloud.tasks.v2.CloudTasks.UpdateQueue] cannot be used to change `state`. + // [UpdateQueue][google.cloud.tasks.v2.CloudTasks.UpdateQueue] cannot be used + // to change `state`. State state = 5; // Output only. The last time this queue was purged. // - // All tasks that were [created][google.cloud.tasks.v2.Task.create_time] before this time - // were purged. + // All tasks that were [created][google.cloud.tasks.v2.Task.create_time] + // before this time were purged. // - // A queue can be purged using [PurgeQueue][google.cloud.tasks.v2.CloudTasks.PurgeQueue], the - // [App Engine Task Queue SDK, or the Cloud + // A queue can be purged using + // [PurgeQueue][google.cloud.tasks.v2.CloudTasks.PurgeQueue], the [App Engine + // Task Queue SDK, or the Cloud // Console](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue). // // Purge time will be truncated to the nearest microsecond. Purge @@ -177,8 +184,9 @@ message Queue { // This message determines the maximum rate that tasks can be dispatched by a // queue, regardless of whether the dispatch is a first task attempt or a retry. // -// Note: The debugging command, [RunTask][google.cloud.tasks.v2.CloudTasks.RunTask], will run a task -// even if the queue has reached its [RateLimits][google.cloud.tasks.v2.RateLimits]. +// Note: The debugging command, +// [RunTask][google.cloud.tasks.v2.CloudTasks.RunTask], will run a task even if +// the queue has reached its [RateLimits][google.cloud.tasks.v2.RateLimits]. message RateLimits { // The maximum rate at which tasks are dispatched from this queue. // @@ -218,9 +226,9 @@ message RateLimits { // `queue.yaml/xml`, `max_burst_size` is equal to // [bucket_size](https://cloud.google.com/appengine/docs/standard/python/config/queueref#bucket_size). // Since `max_burst_size` is output only, if - // [UpdateQueue][google.cloud.tasks.v2.CloudTasks.UpdateQueue] is called on a queue - // created by `queue.yaml/xml`, `max_burst_size` will be reset based - // on the value of + // [UpdateQueue][google.cloud.tasks.v2.CloudTasks.UpdateQueue] is called on a + // queue created by `queue.yaml/xml`, `max_burst_size` will be reset based on + // the value of // [max_dispatches_per_second][google.cloud.tasks.v2.RateLimits.max_dispatches_per_second], // regardless of whether // [max_dispatches_per_second][google.cloud.tasks.v2.RateLimits.max_dispatches_per_second] @@ -269,9 +277,9 @@ message RetryConfig { // If positive, `max_retry_duration` specifies the time limit for // retrying a failed task, measured from when the task was first // attempted. Once `max_retry_duration` time has passed *and* the - // task has been attempted [max_attempts][google.cloud.tasks.v2.RetryConfig.max_attempts] - // times, no further attempts will be made and the task will be - // deleted. + // task has been attempted + // [max_attempts][google.cloud.tasks.v2.RetryConfig.max_attempts] times, no + // further attempts will be made and the task will be deleted. // // If zero, then the task age is unlimited. // @@ -286,11 +294,12 @@ message RetryConfig { // queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). google.protobuf.Duration max_retry_duration = 2; - // A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between - // [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and - // [max_backoff][google.cloud.tasks.v2.RetryConfig.max_backoff] duration after it fails, - // if the queue's [RetryConfig][google.cloud.tasks.v2.RetryConfig] specifies that the task should be - // retried. + // A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for + // retry between [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] + // and [max_backoff][google.cloud.tasks.v2.RetryConfig.max_backoff] duration + // after it fails, if the queue's + // [RetryConfig][google.cloud.tasks.v2.RetryConfig] specifies that the task + // should be retried. // // If unspecified when the queue is created, Cloud Tasks will pick the // default. @@ -303,11 +312,12 @@ message RetryConfig { // queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). google.protobuf.Duration min_backoff = 3; - // A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for retry between - // [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] and - // [max_backoff][google.cloud.tasks.v2.RetryConfig.max_backoff] duration after it fails, - // if the queue's [RetryConfig][google.cloud.tasks.v2.RetryConfig] specifies that the task should be - // retried. + // A task will be [scheduled][google.cloud.tasks.v2.Task.schedule_time] for + // retry between [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] + // and [max_backoff][google.cloud.tasks.v2.RetryConfig.max_backoff] duration + // after it fails, if the queue's + // [RetryConfig][google.cloud.tasks.v2.RetryConfig] specifies that the task + // should be retried. // // If unspecified when the queue is created, Cloud Tasks will pick the // default. @@ -325,19 +335,20 @@ message RetryConfig { // A task's retry interval starts at // [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff], then doubles // `max_doublings` times, then increases linearly, and finally - // retries retries at intervals of + // retries at intervals of // [max_backoff][google.cloud.tasks.v2.RetryConfig.max_backoff] up to // [max_attempts][google.cloud.tasks.v2.RetryConfig.max_attempts] times. // - // For example, if [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] is 10s, + // For example, if + // [min_backoff][google.cloud.tasks.v2.RetryConfig.min_backoff] is 10s, // [max_backoff][google.cloud.tasks.v2.RetryConfig.max_backoff] is 300s, and // `max_doublings` is 3, then the a task will first be retried in // 10s. The retry interval will double three times, and then // increase linearly by 2^3 * 10s. Finally, the task will retry at - // intervals of [max_backoff][google.cloud.tasks.v2.RetryConfig.max_backoff] until the - // task has been attempted [max_attempts][google.cloud.tasks.v2.RetryConfig.max_attempts] - // times. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s, - // 240s, 300s, 300s, .... + // intervals of [max_backoff][google.cloud.tasks.v2.RetryConfig.max_backoff] + // until the task has been attempted + // [max_attempts][google.cloud.tasks.v2.RetryConfig.max_attempts] times. Thus, + // the requests will retry at 10s, 20s, 40s, 80s, 160s, 240s, 300s, 300s, .... // // If unspecified when the queue is created, Cloud Tasks will pick the // default. diff --git a/third_party/googleapis/google/cloud/tasks/v2/target.proto b/third_party/googleapis/google/cloud/tasks/v2/target.proto index 5141d7fb6..2440e9a87 100644 --- a/third_party/googleapis/google/cloud/tasks/v2/target.proto +++ b/third_party/googleapis/google/cloud/tasks/v2/target.proto @@ -1,4 +1,4 @@ -// Copyright 2019 Google LLC. +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,7 +11,6 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -// syntax = "proto3"; @@ -19,7 +18,7 @@ package google.cloud.tasks.v2; import "google/api/field_behavior.proto"; -option go_package = "cloud.google.com/go/tasks/apiv2/taskspb;taskspb"; +option go_package = "cloud.google.com/go/cloudtasks/apiv2/cloudtaskspb;cloudtaskspb"; option java_multiple_files = true; option java_outer_classname = "TargetProto"; option java_package = "com.google.cloud.tasks.v2"; @@ -32,8 +31,10 @@ option java_package = "com.google.cloud.tasks.v2"; // any other HTTP response code is returned or no response is received, the // task will be retried according to the following: // -// * User-specified throttling: [retry configuration][google.cloud.tasks.v2.Queue.retry_config], -// [rate limits][google.cloud.tasks.v2.Queue.rate_limits], and the [queue's state][google.cloud.tasks.v2.Queue.state]. +// * User-specified throttling: [retry +// configuration][google.cloud.tasks.v2.Queue.retry_config], +// [rate limits][google.cloud.tasks.v2.Queue.rate_limits], and the [queue's +// state][google.cloud.tasks.v2.Queue.state]. // // * System throttling: To prevent the worker from overloading, Cloud Tasks may // temporarily reduce the queue's effective rate. User-specified settings @@ -42,10 +43,11 @@ option java_package = "com.google.cloud.tasks.v2"; // System throttling happens because: // // * Cloud Tasks backs off on all errors. Normally the backoff specified in -// [rate limits][google.cloud.tasks.v2.Queue.rate_limits] will be used. But if the worker returns -// `429` (Too Many Requests), `503` (Service Unavailable), or the rate of -// errors is high, Cloud Tasks will use a higher backoff rate. The retry -// specified in the `Retry-After` HTTP response header is considered. +// [rate limits][google.cloud.tasks.v2.Queue.rate_limits] will be used. But +// if the worker returns `429` (Too Many Requests), `503` (Service +// Unavailable), or the rate of errors is high, Cloud Tasks will use a +// higher backoff rate. The retry specified in the `Retry-After` HTTP +// response header is considered. // // * To prevent traffic spikes and to smooth sudden increases in traffic, // dispatches ramp up slowly when the queue is newly created or idle and @@ -100,14 +102,16 @@ message HttpRequest { // HTTP request body. // // A request body is allowed only if the - // [HTTP method][google.cloud.tasks.v2.HttpRequest.http_method] is POST, PUT, or PATCH. It is an - // error to set body on a task with an incompatible [HttpMethod][google.cloud.tasks.v2.HttpMethod]. + // [HTTP method][google.cloud.tasks.v2.HttpRequest.http_method] is POST, PUT, + // or PATCH. It is an error to set body on a task with an incompatible + // [HttpMethod][google.cloud.tasks.v2.HttpMethod]. bytes body = 4; // The mode for generating an `Authorization` header for HTTP requests. // - // If specified, all `Authorization` headers in the [HttpRequest.headers][google.cloud.tasks.v2.HttpRequest.headers] - // field will be overridden. + // If specified, all `Authorization` headers in the + // [HttpRequest.headers][google.cloud.tasks.v2.HttpRequest.headers] field will + // be overridden. oneof authorization_header { // If specified, an // [OAuth token](https://developers.google.com/identity/protocols/OAuth2) @@ -135,7 +139,8 @@ message HttpRequest { // The message defines the HTTP request that is sent to an App Engine app when // the task is dispatched. // -// Using [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] requires +// Using [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] +// requires // [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control) // Google IAM permission for the project // and the following scope: @@ -155,13 +160,15 @@ message HttpRequest { // The request to the handler, however, will appear to have used the HTTP // protocol. // -// The [AppEngineRouting][google.cloud.tasks.v2.AppEngineRouting] used to construct the URL that the task is -// delivered to can be set at the queue-level or task-level: +// The [AppEngineRouting][google.cloud.tasks.v2.AppEngineRouting] used to +// construct the URL that the task is delivered to can be set at the queue-level +// or task-level: // // * If [app_engine_routing_override is set on the -// queue][Queue.app_engine_routing_override], this value is used for all -// tasks in the queue, no matter what the setting is for the [task-level -// app_engine_routing][AppEngineHttpRequest.app_engine_routing]. +// queue][google.cloud.tasks.v2.Queue.app_engine_routing_override], this value +// is used for all tasks in the queue, no matter what the setting is for the +// [task-level +// app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing]. // // // The `url` that the task will be sent to is: @@ -182,34 +189,33 @@ message HttpRequest { // The task attempt has succeeded if the app's request handler returns an HTTP // response code in the range [`200` - `299`]. The task attempt has failed if // the app's handler returns a non-2xx response code or Cloud Tasks does -// not receive response before the [deadline][google.cloud.tasks.v2.Task.dispatch_deadline]. Failed -// tasks will be retried according to the -// [retry configuration][google.cloud.tasks.v2.Queue.retry_config]. `503` (Service Unavailable) is -// considered an App Engine system error instead of an application error and -// will cause Cloud Tasks' traffic congestion control to temporarily throttle -// the queue's dispatches. Unlike other types of task targets, a `429` (Too Many -// Requests) response from an app handler does not cause traffic congestion -// control to throttle the queue. +// not receive response before the +// [deadline][google.cloud.tasks.v2.Task.dispatch_deadline]. Failed tasks will +// be retried according to the [retry +// configuration][google.cloud.tasks.v2.Queue.retry_config]. `503` (Service +// Unavailable) is considered an App Engine system error instead of an +// application error and will cause Cloud Tasks' traffic congestion control to +// temporarily throttle the queue's dispatches. Unlike other types of task +// targets, a `429` (Too Many Requests) response from an app handler does not +// cause traffic congestion control to throttle the queue. message AppEngineHttpRequest { // The HTTP method to use for the request. The default is POST. // // The app's request handler for the task's target URL must be able to handle - // HTTP requests with this http_method, otherwise the task attempt will fail - // with error code 405 (Method Not Allowed). See - // [Writing a push task request + // HTTP requests with this http_method, otherwise the task attempt fails with + // error code 405 (Method Not Allowed). See [Writing a push task request // handler](https://cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler) - // and the documentation for the request handlers in the language your app is - // written in e.g. - // [Python Request - // Handler](https://cloud.google.com/appengine/docs/python/tools/webapp/requesthandlerclass). + // and the App Engine documentation for your runtime on [How Requests are + // Handled](https://cloud.google.com/appengine/docs/standard/python3/how-requests-are-handled). HttpMethod http_method = 1; // Task-level setting for App Engine routing. // // * If [app_engine_routing_override is set on the - // queue][Queue.app_engine_routing_override], this value is used for all - // tasks in the queue, no matter what the setting is for the [task-level - // app_engine_routing][AppEngineHttpRequest.app_engine_routing]. + // queue][google.cloud.tasks.v2.Queue.app_engine_routing_override], this + // value is used for all tasks in the queue, no matter what the setting is + // for the [task-level + // app_engine_routing][google.cloud.tasks.v2.AppEngineHttpRequest.app_engine_routing]. AppEngineRouting app_engine_routing = 2; // The relative URI. @@ -235,8 +241,8 @@ message AppEngineHttpRequest { // `"AppEngine-Google; (+http://code.google.com/appengine)"` to the // modified `User-Agent`. // - // If the task has a [body][google.cloud.tasks.v2.AppEngineHttpRequest.body], Cloud - // Tasks sets the following headers: + // If the task has a [body][google.cloud.tasks.v2.AppEngineHttpRequest.body], + // Cloud Tasks sets the following headers: // // * `Content-Type`: By default, the `Content-Type` header is set to // `"application/octet-stream"`. The default can be overridden by explicitly @@ -260,14 +266,16 @@ message AppEngineHttpRequest { // visible when the task is returned in a Cloud Tasks response. // // Although there is no specific limit for the maximum number of headers or - // the size, there is a limit on the maximum size of the [Task][google.cloud.tasks.v2.Task]. For more - // information, see the [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask] documentation. + // the size, there is a limit on the maximum size of the + // [Task][google.cloud.tasks.v2.Task]. For more information, see the + // [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask] documentation. map headers = 4; // HTTP request body. // // A request body is allowed only if the HTTP method is POST or PUT. It is - // an error to set a body on a task with an incompatible [HttpMethod][google.cloud.tasks.v2.HttpMethod]. + // an error to set a body on a task with an incompatible + // [HttpMethod][google.cloud.tasks.v2.HttpMethod]. bytes body = 5; } @@ -299,16 +307,17 @@ message AppEngineRouting { // service when the task is attempted. // // For some queues or tasks which were created using the App Engine - // Task Queue API, [host][google.cloud.tasks.v2.AppEngineRouting.host] is not parsable - // into [service][google.cloud.tasks.v2.AppEngineRouting.service], + // Task Queue API, [host][google.cloud.tasks.v2.AppEngineRouting.host] is not + // parsable into [service][google.cloud.tasks.v2.AppEngineRouting.service], // [version][google.cloud.tasks.v2.AppEngineRouting.version], and - // [instance][google.cloud.tasks.v2.AppEngineRouting.instance]. For example, some tasks - // which were created using the App Engine SDK use a custom domain + // [instance][google.cloud.tasks.v2.AppEngineRouting.instance]. For example, + // some tasks which were created using the App Engine SDK use a custom domain // name; custom domains are not parsed by Cloud Tasks. If // [host][google.cloud.tasks.v2.AppEngineRouting.host] is not parsable, then // [service][google.cloud.tasks.v2.AppEngineRouting.service], // [version][google.cloud.tasks.v2.AppEngineRouting.version], and - // [instance][google.cloud.tasks.v2.AppEngineRouting.instance] are the empty string. + // [instance][google.cloud.tasks.v2.AppEngineRouting.instance] are the empty + // string. string service = 1; // App version. @@ -317,16 +326,17 @@ message AppEngineRouting { // version when the task is attempted. // // For some queues or tasks which were created using the App Engine - // Task Queue API, [host][google.cloud.tasks.v2.AppEngineRouting.host] is not parsable - // into [service][google.cloud.tasks.v2.AppEngineRouting.service], + // Task Queue API, [host][google.cloud.tasks.v2.AppEngineRouting.host] is not + // parsable into [service][google.cloud.tasks.v2.AppEngineRouting.service], // [version][google.cloud.tasks.v2.AppEngineRouting.version], and - // [instance][google.cloud.tasks.v2.AppEngineRouting.instance]. For example, some tasks - // which were created using the App Engine SDK use a custom domain + // [instance][google.cloud.tasks.v2.AppEngineRouting.instance]. For example, + // some tasks which were created using the App Engine SDK use a custom domain // name; custom domains are not parsed by Cloud Tasks. If // [host][google.cloud.tasks.v2.AppEngineRouting.host] is not parsable, then // [service][google.cloud.tasks.v2.AppEngineRouting.service], // [version][google.cloud.tasks.v2.AppEngineRouting.version], and - // [instance][google.cloud.tasks.v2.AppEngineRouting.instance] are the empty string. + // [instance][google.cloud.tasks.v2.AppEngineRouting.instance] are the empty + // string. string version = 2; // App instance. @@ -348,9 +358,10 @@ message AppEngineRouting { // // The host is constructed from the domain name of the app associated with // the queue's project ID (for example .appspot.com), and the - // [service][google.cloud.tasks.v2.AppEngineRouting.service], [version][google.cloud.tasks.v2.AppEngineRouting.version], - // and [instance][google.cloud.tasks.v2.AppEngineRouting.instance]. Tasks which were created using - // the App Engine SDK might have a custom domain name. + // [service][google.cloud.tasks.v2.AppEngineRouting.service], + // [version][google.cloud.tasks.v2.AppEngineRouting.version], and + // [instance][google.cloud.tasks.v2.AppEngineRouting.instance]. Tasks which + // were created using the App Engine SDK might have a custom domain name. // // For more information, see // [How Requests are diff --git a/third_party/googleapis/google/cloud/tasks/v2/task.proto b/third_party/googleapis/google/cloud/tasks/v2/task.proto index b0efae63e..bd3da8842 100644 --- a/third_party/googleapis/google/cloud/tasks/v2/task.proto +++ b/third_party/googleapis/google/cloud/tasks/v2/task.proto @@ -1,4 +1,4 @@ -// Copyright 2019 Google LLC. +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,7 +11,6 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -// syntax = "proto3"; @@ -23,7 +22,7 @@ import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; -option go_package = "cloud.google.com/go/tasks/apiv2/taskspb;taskspb"; +option go_package = "cloud.google.com/go/cloudtasks/apiv2/cloudtaskspb;cloudtaskspb"; option java_multiple_files = true; option java_outer_classname = "TaskProto"; option java_package = "com.google.cloud.tasks.v2"; @@ -50,7 +49,8 @@ message Task { // sensitive data. // // This view does not include the - // [body in AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest.body]. + // [body in + // AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest.body]. // Bodies are desirable to return only when needed, because they // can be large and because of the sensitivity of the data that you // choose to store in it. @@ -64,7 +64,8 @@ message Task { FULL = 2; } - // Optionally caller-specified in [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask]. + // Optionally caller-specified in + // [CreateTask][google.cloud.tasks.v2.CloudTasks.CreateTask]. // // The task name. // @@ -90,12 +91,14 @@ message Task { oneof message_type { // HTTP request that is sent to the App Engine app handler. // - // An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set. + // An App Engine task is a task that has + // [AppEngineHttpRequest][google.cloud.tasks.v2.AppEngineHttpRequest] set. AppEngineHttpRequest app_engine_http_request = 2; // HTTP request that is sent to the worker. // - // An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2.HttpRequest] set. + // An HTTP task is a task that has + // [HttpRequest][google.cloud.tasks.v2.HttpRequest] set. HttpRequest http_request = 3; } @@ -114,17 +117,19 @@ message Task { // is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the // task according to the [RetryConfig][google.cloud.tasks.v2.RetryConfig]. // - // Note that when the request is cancelled, Cloud Tasks will stop listing for - // the response, but whether the worker stops processing depends on the + // Note that when the request is cancelled, Cloud Tasks will stop listening + // for the response, but whether the worker stops processing depends on the // worker. For example, if the worker is stuck, it may not react to cancelled // requests. // // The default and maximum values depend on the type of request: // - // * For [HTTP tasks][google.cloud.tasks.v2.HttpRequest], the default is 10 minutes. The deadline + // * For [HTTP tasks][google.cloud.tasks.v2.HttpRequest], the default is 10 + // minutes. The deadline // must be in the interval [15 seconds, 30 minutes]. // - // * For [App Engine tasks][google.cloud.tasks.v2.AppEngineHttpRequest], 0 indicates that the + // * For [App Engine tasks][google.cloud.tasks.v2.AppEngineHttpRequest], 0 + // indicates that the // request has the default deadline. The default deadline depends on the // [scaling // type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling) @@ -153,15 +158,16 @@ message Task { // Output only. The status of the task's first attempt. // - // Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be set. - // The other [Attempt][google.cloud.tasks.v2.Attempt] information is not retained by Cloud Tasks. + // Only [dispatch_time][google.cloud.tasks.v2.Attempt.dispatch_time] will be + // set. The other [Attempt][google.cloud.tasks.v2.Attempt] information is not + // retained by Cloud Tasks. Attempt first_attempt = 9; // Output only. The status of the task's last attempt. Attempt last_attempt = 10; - // Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2.Task] has - // been returned. + // Output only. The view specifies which subset of the + // [Task][google.cloud.tasks.v2.Task] has been returned. View view = 11; } diff --git a/third_party/googleapis/google/cloud/tasks/v2beta2/BUILD.bazel b/third_party/googleapis/google/cloud/tasks/v2beta2/BUILD.bazel index 5d315d6f4..ffbae7f80 100644 --- a/third_party/googleapis/google/cloud/tasks/v2beta2/BUILD.bazel +++ b/third_party/googleapis/google/cloud/tasks/v2beta2/BUILD.bazel @@ -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"]) @@ -13,6 +22,7 @@ proto_library( name = "tasks_proto", srcs = [ "cloudtasks.proto", + "old_target.proto", "queue.proto", "target.proto", "task.proto", @@ -21,6 +31,7 @@ proto_library( "//google/api:annotations_proto", "//google/api:client_proto", "//google/api:field_behavior_proto", + "//google/api:httpbody_proto", "//google/api:resource_proto", "//google/iam/v1:iam_policy_proto", "//google/iam/v1:policy_proto", @@ -37,6 +48,7 @@ proto_library_with_info( deps = [ ":tasks_proto", "//google/cloud:common_resources_proto", + "//google/cloud/location:location_proto", ], ) @@ -66,15 +78,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_v2beta2.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", ], ) @@ -109,16 +126,16 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( name = "tasks_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "cloud.google.com/go/tasks/apiv2beta2/taskspb", + importpath = "cloud.google.com/go/cloudtasks/apiv2beta2/cloudtaskspb", protos = [":tasks_proto"], deps = [ "//google/api:annotations_go_proto", + "//google/api:httpbody_go_proto", "//google/iam/v1:iam_go_proto", "//google/rpc:status_go_proto", ], @@ -128,30 +145,28 @@ go_gapic_library( name = "tasks_go_gapic", srcs = [":tasks_proto_with_info"], grpc_service_config = "cloudtasks_grpc_service_config.json", - importpath = "cloud.google.com/go/cloudtasks/apiv2beta2;tasks", + importpath = "cloud.google.com/go/cloudtasks/apiv2beta2;cloudtasks", + metadata = True, release_level = "beta", rest_numeric_enums = True, service_yaml = "cloudtasks_v2beta2.yaml", transport = "grpc+rest", deps = [ ":tasks_go_proto", + "//google/api:httpbody_go_proto", + "//google/cloud/location:location_go_proto", "//google/iam/v1:iam_go_proto", "@io_bazel_rules_go//proto/wkt:duration_go_proto", ], ) -go_test( - name = "tasks_go_gapic_test", - srcs = [":tasks_go_gapic_srcjar_test"], - embed = [":tasks_go_gapic"], - importpath = "cloud.google.com/go/cloudtasks/apiv2beta2", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-tasks-v2beta2-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", ], @@ -189,6 +204,7 @@ py_test( deps = [":tasks_py_gapic"], ) +# Open Source Packages py_gapic_assembly_pkg( name = "tasks-v2beta2-py", deps = [ @@ -203,7 +219,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -212,21 +227,15 @@ php_proto_library( deps = [":tasks_proto"], ) -php_grpc_library( - name = "tasks_php_grpc", - srcs = [":tasks_proto"], - deps = [":tasks_php_proto"], -) - php_gapic_library( name = "tasks_php_gapic", srcs = [":tasks_proto_with_info"], grpc_service_config = "cloudtasks_grpc_service_config.json", + migration_mode = "PRE_MIGRATION_SURFACE_ONLY", rest_numeric_enums = True, service_yaml = "cloudtasks_v2beta2.yaml", transport = "grpc+rest", deps = [ - ":tasks_php_grpc", ":tasks_php_proto", ], ) @@ -236,7 +245,6 @@ php_gapic_assembly_pkg( name = "google-cloud-tasks-v2beta2-php", deps = [ ":tasks_php_gapic", - ":tasks_php_grpc", ":tasks_php_proto", ], ) @@ -262,6 +270,7 @@ nodejs_gapic_library( service_yaml = "cloudtasks_v2beta2.yaml", transport = "grpc+rest", deps = [], + format = "esm", ) nodejs_gapic_assembly_pkg( @@ -298,17 +307,18 @@ ruby_cloud_gapic_library( name = "tasks_ruby_gapic", srcs = [":tasks_proto_with_info"], extra_protoc_parameters = [ - "ruby-cloud-gem-name=google-cloud-tasks-v2beta2", - "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-v2beta2", + "ruby-cloud-product-url=https://cloud.google.com/tasks", ], grpc_service_config = "cloudtasks_grpc_service_config.json", rest_numeric_enums = True, ruby_cloud_description = "Cloud Tasks is a fully managed service that allows you to manage the execution, dispatch and delivery of a large number of distributed tasks. You can asynchronously perform work outside of a user request. Your tasks can be executed on App Engine or any arbitrary HTTP endpoint.", ruby_cloud_title = "Cloud Tasks V2beta2", service_yaml = "cloudtasks_v2beta2.yaml", + transport = "grpc+rest", deps = [ ":tasks_ruby_grpc", ":tasks_ruby_proto", @@ -338,6 +348,7 @@ load( csharp_proto_library( name = "tasks_csharp_proto", + extra_opts = [], deps = [":tasks_proto"], ) @@ -374,4 +385,20 @@ csharp_gapic_assembly_pkg( ############################################################################## # C++ ############################################################################## -# Put your C++ rules here +load( + "@com_google_googleapis_imports//:imports.bzl", + "cc_grpc_library", + "cc_proto_library", +) + +cc_proto_library( + name = "tasks_cc_proto", + deps = [":tasks_proto"], +) + +cc_grpc_library( + name = "tasks_cc_grpc", + srcs = [":tasks_proto"], + grpc_only = True, + deps = [":tasks_cc_proto"], +) diff --git a/third_party/googleapis/google/cloud/tasks/v2beta2/cloudtasks.proto b/third_party/googleapis/google/cloud/tasks/v2beta2/cloudtasks.proto index fea304c46..b33a8fcbc 100644 --- a/third_party/googleapis/google/cloud/tasks/v2beta2/cloudtasks.proto +++ b/third_party/googleapis/google/cloud/tasks/v2beta2/cloudtasks.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -19,6 +19,7 @@ package google.cloud.tasks.v2beta2; import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; +import "google/api/httpbody.proto"; import "google/api/resource.proto"; import "google/cloud/tasks/v2beta2/queue.proto"; import "google/cloud/tasks/v2beta2/task.proto"; @@ -29,17 +30,22 @@ import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "cloud.google.com/go/tasks/apiv2beta2/taskspb;taskspb"; +option go_package = "cloud.google.com/go/cloudtasks/apiv2beta2/cloudtaskspb;cloudtaskspb"; option java_multiple_files = true; option java_outer_classname = "CloudTasksProto"; option java_package = "com.google.cloud.tasks.v2beta2"; option objc_class_prefix = "TASKS"; +option (google.api.resource_definition) = { + type: "cloudtasks.googleapis.com/Location" + pattern: "projects/{project}/locations/{location}" +}; // Cloud Tasks allows developers to manage the execution of background // work in their applications. service CloudTasks { option (google.api.default_host) = "cloudtasks.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Lists queues. // @@ -62,8 +68,8 @@ service CloudTasks { // Creates a queue. // // Queues created with this method allow tasks to live for a maximum of 31 - // days. After a task is 31 days old, the task will be deleted regardless of whether - // it was dispatched or not. + // days. After a task is 31 days old, the task will be deleted regardless of + // whether it was dispatched or not. // // WARNING: Using this method may have unintended side effects if you are // using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. @@ -85,8 +91,8 @@ service CloudTasks { // the queue if it does exist. // // Queues created with this method allow tasks to live for a maximum of 31 - // days. After a task is 31 days old, the task will be deleted regardless of whether - // it was dispatched or not. + // days. After a task is 31 days old, the task will be deleted regardless of + // whether it was dispatched or not. // // WARNING: Using this method may have unintended side effects if you are // using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. @@ -140,9 +146,10 @@ service CloudTasks { // // If a queue is paused then the system will stop dispatching tasks // until the queue is resumed via - // [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue]. Tasks can still be added - // when the queue is paused. A queue is paused if its - // [state][google.cloud.tasks.v2beta2.Queue.state] is [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED]. + // [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue]. Tasks can + // still be added when the queue is paused. A queue is paused if its + // [state][google.cloud.tasks.v2beta2.Queue.state] is + // [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED]. rpc PauseQueue(PauseQueueRequest) returns (Queue) { option (google.api.http) = { post: "/v2beta2/{name=projects/*/locations/*/queues/*}:pause" @@ -155,9 +162,11 @@ service CloudTasks { // // This method resumes a queue after it has been // [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED] or - // [DISABLED][google.cloud.tasks.v2beta2.Queue.State.DISABLED]. The state of a queue is stored - // in the queue's [state][google.cloud.tasks.v2beta2.Queue.state]; after calling this method it - // will be set to [RUNNING][google.cloud.tasks.v2beta2.Queue.State.RUNNING]. + // [DISABLED][google.cloud.tasks.v2beta2.Queue.State.DISABLED]. The state of a + // queue is stored in the queue's + // [state][google.cloud.tasks.v2beta2.Queue.state]; after calling this method + // it will be set to + // [RUNNING][google.cloud.tasks.v2beta2.Queue.State.RUNNING]. // // WARNING: Resuming many high-QPS queues at the same time can // lead to target overloading. If you are resuming high-QPS @@ -172,16 +181,24 @@ service CloudTasks { option (google.api.method_signature) = "name"; } - // Gets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue]. - // Returns an empty policy if the resource exists and does not have a policy - // set. + // Update queue list by uploading a queue.yaml file. + // + // The queue.yaml file is supplied in the request body as a YAML encoded + // string. This method was added to support gcloud clients versions before + // 322.0.0. New clients should use CreateQueue instead of this method. + rpc UploadQueueYaml(UploadQueueYamlRequest) returns (google.protobuf.Empty) {} + + // Gets the access control policy for a + // [Queue][google.cloud.tasks.v2beta2.Queue]. Returns an empty policy if the + // resource exists and does not have a policy set. // // Authorization requires the following // [Google IAM](https://cloud.google.com/iam) permission on the specified // resource parent: // // * `cloudtasks.queues.getIamPolicy` - rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v2beta2/{resource=projects/*/locations/*/queues/*}:getIamPolicy" body: "*" @@ -189,8 +206,8 @@ service CloudTasks { option (google.api.method_signature) = "resource"; } - // Sets the access control policy for a [Queue][google.cloud.tasks.v2beta2.Queue]. Replaces any existing - // policy. + // Sets the access control policy for a + // [Queue][google.cloud.tasks.v2beta2.Queue]. Replaces any existing policy. // // Note: The Cloud Console does not check queue-level IAM permissions yet. // Project-level permissions are required to use the Cloud Console. @@ -200,7 +217,8 @@ service CloudTasks { // resource parent: // // * `cloudtasks.queues.setIamPolicy` - rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v2beta2/{resource=projects/*/locations/*/queues/*}:setIamPolicy" body: "*" @@ -208,14 +226,16 @@ service CloudTasks { option (google.api.method_signature) = "resource,policy"; } - // Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta2.Queue]. - // If the resource does not exist, this will return an empty set of - // permissions, not a [NOT_FOUND][google.rpc.Code.NOT_FOUND] error. + // Returns permissions that a caller has on a + // [Queue][google.cloud.tasks.v2beta2.Queue]. If the resource does not exist, + // this will return an empty set of permissions, not a + // [NOT_FOUND][google.rpc.Code.NOT_FOUND] error. // // Note: This operation is designed to be used for building permission-aware // UIs and command-line tools, not for authorization checking. This operation // may "fail open" without warning. - rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) { + rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) + returns (google.iam.v1.TestIamPermissionsResponse) { option (google.api.http) = { post: "/v2beta2/{resource=projects/*/locations/*/queues/*}:testIamPermissions" body: "*" @@ -225,10 +245,10 @@ service CloudTasks { // Lists the tasks in a queue. // - // By default, only the [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC] view is retrieved - // due to performance considerations; - // [response_view][google.cloud.tasks.v2beta2.ListTasksRequest.response_view] controls the - // subset of information which is returned. + // By default, only the [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC] + // view is retrieved due to performance considerations; + // [response_view][google.cloud.tasks.v2beta2.ListTasksRequest.response_view] + // controls the subset of information which is returned. // // The tasks may be returned in any order. The ordering may change at any // time. @@ -251,9 +271,11 @@ service CloudTasks { // // Tasks cannot be updated after creation; there is no UpdateTask command. // - // * For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum task size is + // * For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], + // the maximum task size is // 100KB. - // * For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum task size is 1MB. + // * For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum + // task size is 1MB. rpc CreateTask(CreateTaskRequest) returns (Task) { option (google.api.http) = { post: "/v2beta2/{parent=projects/*/locations/*/queues/*}/tasks" @@ -279,18 +301,19 @@ service CloudTasks { // // This method is invoked by the worker to obtain a lease. The // worker must acknowledge the task via - // [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask] after they have - // performed the work associated with the task. - // - // The [payload][google.cloud.tasks.v2beta2.PullMessage.payload] is intended to store data that - // the worker needs to perform the work associated with the task. To - // return the payloads in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse], set - // [response_view][google.cloud.tasks.v2beta2.LeaseTasksRequest.response_view] to - // [FULL][google.cloud.tasks.v2beta2.Task.View.FULL]. - // - // A maximum of 10 qps of [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] - // requests are allowed per - // queue. [RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED] + // [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask] + // after they have performed the work associated with the task. + // + // The [payload][google.cloud.tasks.v2beta2.PullMessage.payload] is intended + // to store data that the worker needs to perform the work associated with the + // task. To return the payloads in the + // [response][google.cloud.tasks.v2beta2.LeaseTasksResponse], set + // [response_view][google.cloud.tasks.v2beta2.LeaseTasksRequest.response_view] + // to [FULL][google.cloud.tasks.v2beta2.Task.View.FULL]. + // + // A maximum of 10 qps of + // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] requests are + // allowed per queue. [RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED] // is returned when this limit is // exceeded. [RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED] // is also returned when @@ -307,12 +330,13 @@ service CloudTasks { // Acknowledges a pull task. // // The worker, that is, the entity that - // [leased][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] this task must call this method - // to indicate that the work associated with the task has finished. + // [leased][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] this task must + // call this method to indicate that the work associated with the task has + // finished. // // The worker must acknowledge a task within the - // [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration] or the lease - // will expire and the task will become available to be leased + // [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration] + // or the lease will expire and the task will become available to be leased // again. After the task is acknowledged, it will not be returned // by a later [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks], // [GetTask][google.cloud.tasks.v2beta2.CloudTasks.GetTask], or @@ -329,7 +353,8 @@ service CloudTasks { // // The worker can use this method to extend the lease by a new // duration, starting from now. The new task lease will be - // returned in the task's [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]. + // returned in the task's + // [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]. rpc RenewLease(RenewLeaseRequest) returns (Task) { option (google.api.http) = { post: "/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}:renewLease" @@ -341,9 +366,9 @@ service CloudTasks { // Cancel a pull task's lease. // // The worker can use this method to cancel a task's lease by - // setting its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] to now. This will - // make the task available to be leased to the next caller of - // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks]. + // setting its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] + // to now. This will make the task available to be leased to the next caller + // of [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks]. rpc CancelLease(CancelLeaseRequest) returns (Task) { option (google.api.http) = { post: "/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}:cancelLease" @@ -355,30 +380,33 @@ service CloudTasks { // Forces a task to run now. // // When this method is called, Cloud Tasks will dispatch the task, even if - // the task is already running, the queue has reached its [RateLimits][google.cloud.tasks.v2beta2.RateLimits] or - // is [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED]. + // the task is already running, the queue has reached its + // [RateLimits][google.cloud.tasks.v2beta2.RateLimits] or is + // [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED]. // // This command is meant to be used for manual debugging. For - // example, [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] can be used to retry a failed - // task after a fix has been made or to manually force a task to be - // dispatched now. + // example, [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] can be + // used to retry a failed task after a fix has been made or to manually force + // a task to be dispatched now. // // The dispatched task is returned. That is, the task that is returned - // contains the [status][google.cloud.tasks.v2beta2.Task.status] after the task is dispatched but - // before the task is received by its target. + // contains the [status][google.cloud.tasks.v2beta2.Task.status] after the + // task is dispatched but before the task is received by its target. // // If Cloud Tasks receives a successful response from the task's // target, then the task will be deleted; otherwise the task's - // [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] will be reset to the time that - // [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] was called plus the retry delay specified - // in the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig]. + // [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] will be + // reset to the time that + // [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] was called plus + // the retry delay specified in the queue's + // [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig]. // // [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] returns // [NOT_FOUND][google.rpc.Code.NOT_FOUND] when it is called on a // task that has already succeeded or permanently failed. // - // [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] cannot be called on a - // [pull task][google.cloud.tasks.v2beta2.PullMessage]. + // [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] cannot be called + // on a [pull task][google.cloud.tasks.v2beta2.PullMessage]. rpc RunTask(RunTaskRequest) returns (Task) { option (google.api.http) = { post: "/v2beta2/{name=projects/*/locations/*/queues/*/tasks/*}:run" @@ -388,7 +416,8 @@ service CloudTasks { } } -// Request message for [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues]. +// Request message for +// [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues]. message ListQueuesRequest { // Required. The location name. // For example: `projects/PROJECT_ID/locations/LOCATION_ID` @@ -399,11 +428,10 @@ message ListQueuesRequest { } ]; - // `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta2.Queue] - // field can be used as a filter and several operators as supported. - // For example: `<=, <, >=, >, !=, =, :`. The filter syntax is the same as - // described in - // [Stackdriver's Advanced Logs + // `filter` can be used to specify a subset of queues. Any + // [Queue][google.cloud.tasks.v2beta2.Queue] field can be used as a filter and + // several operators as supported. For example: `<=, <, >=, >, !=, =, :`. The + // filter syntax is the same as described in [Stackdriver's Advanced Logs // Filters](https://cloud.google.com/logging/docs/view/advanced_filters). // // Sample filter "app_engine_http_target: *". @@ -417,28 +445,32 @@ message ListQueuesRequest { // The maximum page size is 9800. If unspecified, the page size will // be the maximum. Fewer queues than requested might be returned, // even if more queues exist; use the - // [next_page_token][google.cloud.tasks.v2beta2.ListQueuesResponse.next_page_token] in the - // response to determine if more queues exist. + // [next_page_token][google.cloud.tasks.v2beta2.ListQueuesResponse.next_page_token] + // in the response to determine if more queues exist. int32 page_size = 3; // A token identifying the page of results to return. // // To request the first page results, page_token must be empty. To // request the next page of results, page_token must be the value of - // [next_page_token][google.cloud.tasks.v2beta2.ListQueuesResponse.next_page_token] returned - // from the previous call to [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues] - // method. It is an error to switch the value of the - // [filter][google.cloud.tasks.v2beta2.ListQueuesRequest.filter] while iterating through pages. + // [next_page_token][google.cloud.tasks.v2beta2.ListQueuesResponse.next_page_token] + // returned from the previous call to + // [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues] method. It + // is an error to switch the value of the + // [filter][google.cloud.tasks.v2beta2.ListQueuesRequest.filter] while + // iterating through pages. string page_token = 4; - // Optional. Read mask is used for a more granular control over what the API returns. - // If the mask is not present all fields will be returned except + // Optional. Read mask is used for a more granular control over what the API + // returns. If the mask is not present all fields will be returned except // [Queue.stats]. [Queue.stats] will be returned only if it was explicitly // specified in the mask. - google.protobuf.FieldMask read_mask = 5 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.FieldMask read_mask = 5 + [(google.api.field_behavior) = OPTIONAL]; } -// Response message for [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues]. +// Response message for +// [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues]. message ListQueuesResponse { // The list of queues. repeated Queue queues = 1; @@ -446,7 +478,8 @@ message ListQueuesResponse { // A token to retrieve next page of results. // // To return the next page of results, call - // [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues] with this value as the + // [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues] with this + // value as the // [page_token][google.cloud.tasks.v2beta2.ListQueuesRequest.page_token]. // // If the next_page_token is empty, there are no more results. @@ -455,7 +488,8 @@ message ListQueuesResponse { string next_page_token = 2; } -// Request message for [GetQueue][google.cloud.tasks.v2beta2.CloudTasks.GetQueue]. +// Request message for +// [GetQueue][google.cloud.tasks.v2beta2.CloudTasks.GetQueue]. message GetQueueRequest { // Required. The resource name of the queue. For example: // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` @@ -466,14 +500,16 @@ message GetQueueRequest { } ]; - // Optional. Read mask is used for a more granular control over what the API returns. - // If the mask is not present all fields will be returned except + // Optional. Read mask is used for a more granular control over what the API + // returns. If the mask is not present all fields will be returned except // [Queue.stats]. [Queue.stats] will be returned only if it was explicitly // specified in the mask. - google.protobuf.FieldMask read_mask = 2 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.FieldMask read_mask = 2 + [(google.api.field_behavior) = OPTIONAL]; } -// Request message for [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue]. +// Request message for +// [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue]. message CreateQueueRequest { // Required. The location name in which the queue will be created. // For example: `projects/PROJECT_ID/locations/LOCATION_ID` @@ -490,19 +526,23 @@ message CreateQueueRequest { // Required. The queue to create. // - // [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as an existing queue. + // [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as + // an existing queue. Queue queue = 2 [(google.api.field_behavior) = REQUIRED]; } -// Request message for [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue]. +// Request message for +// [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue]. message UpdateQueueRequest { // Required. The queue to create or update. // - // The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be specified. + // The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be + // specified. // // Output only fields cannot be modified using UpdateQueue. // Any value specified for an output only field will be ignored. - // The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be changed. + // The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be + // changed. Queue queue = 1 [(google.api.field_behavior) = REQUIRED]; // A mask used to specify which fields of the queue are being updated. @@ -511,7 +551,8 @@ message UpdateQueueRequest { google.protobuf.FieldMask update_mask = 2; } -// Request message for [DeleteQueue][google.cloud.tasks.v2beta2.CloudTasks.DeleteQueue]. +// Request message for +// [DeleteQueue][google.cloud.tasks.v2beta2.CloudTasks.DeleteQueue]. message DeleteQueueRequest { // Required. The queue name. For example: // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` @@ -523,7 +564,8 @@ message DeleteQueueRequest { ]; } -// Request message for [PurgeQueue][google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue]. +// Request message for +// [PurgeQueue][google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue]. message PurgeQueueRequest { // Required. The queue name. For example: // `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` @@ -535,7 +577,8 @@ message PurgeQueueRequest { ]; } -// Request message for [PauseQueue][google.cloud.tasks.v2beta2.CloudTasks.PauseQueue]. +// Request message for +// [PauseQueue][google.cloud.tasks.v2beta2.CloudTasks.PauseQueue]. message PauseQueueRequest { // Required. The queue name. For example: // `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` @@ -547,7 +590,8 @@ message PauseQueueRequest { ]; } -// Request message for [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue]. +// Request message for +// [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue]. message ResumeQueueRequest { // Required. The queue name. For example: // `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` @@ -559,7 +603,20 @@ message ResumeQueueRequest { ]; } -// Request message for listing tasks using [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks]. +// Request message for +// [UploadQueueYaml][google.cloud.tasks.v2beta2.CloudTasks.UploadQueueYaml]. +message UploadQueueYamlRequest { + // Required. The App ID is supplied as an HTTP parameter. Unlike internal + // usage of App ID, it does not include a region prefix. Rather, the App ID + // represents the Project ID against which to make the request. + string app_id = 1 [(google.api.field_behavior) = REQUIRED]; + + // The http body contains the queue.yaml file which used to update queue lists + optional google.api.HttpBody http_body = 2; +} + +// Request message for listing tasks using +// [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks]. message ListTasksRequest { // Required. The queue name. For example: // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` @@ -570,25 +627,26 @@ message ListTasksRequest { } ]; - // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be - // returned. + // The response_view specifies which subset of the + // [Task][google.cloud.tasks.v2beta2.Task] will be returned. // - // By default response_view is [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC]; not all - // information is retrieved by default because some data, such as - // payloads, might be desirable to return only when needed because - // of its large size or because of the sensitivity of data that it - // contains. + // By default response_view is + // [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC]; not all information is + // retrieved by default because some data, such as payloads, might be + // desirable to return only when needed because of its large size or because + // of the sensitivity of data that it contains. // - // Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] requires - // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) - // permission on the [Task][google.cloud.tasks.v2beta2.Task] resource. + // Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] + // requires `cloudtasks.tasks.fullView` [Google + // IAM](https://cloud.google.com/iam/) permission on the + // [Task][google.cloud.tasks.v2beta2.Task] resource. Task.View response_view = 2; // Maximum page size. // // Fewer tasks than requested might be returned, even if more tasks exist; use - // [next_page_token][google.cloud.tasks.v2beta2.ListTasksResponse.next_page_token] in the response to - // determine if more tasks exist. + // [next_page_token][google.cloud.tasks.v2beta2.ListTasksResponse.next_page_token] + // in the response to determine if more tasks exist. // // The maximum page size is 1000. If unspecified, the page size will be the // maximum. @@ -598,15 +656,16 @@ message ListTasksRequest { // // To request the first page results, page_token must be empty. To // request the next page of results, page_token must be the value of - // [next_page_token][google.cloud.tasks.v2beta2.ListTasksResponse.next_page_token] returned - // from the previous call to [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks] - // method. + // [next_page_token][google.cloud.tasks.v2beta2.ListTasksResponse.next_page_token] + // returned from the previous call to + // [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks] method. // // The page token is valid for only 2 hours. string page_token = 5; } -// Response message for listing tasks using [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks]. +// Response message for listing tasks using +// [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks]. message ListTasksResponse { // The list of tasks. repeated Task tasks = 1; @@ -614,40 +673,42 @@ message ListTasksResponse { // A token to retrieve next page of results. // // To return the next page of results, call - // [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks] with this value as the + // [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks] with this + // value as the // [page_token][google.cloud.tasks.v2beta2.ListTasksRequest.page_token]. // // If the next_page_token is empty, there are no more results. string next_page_token = 2; } -// Request message for getting a task using [GetTask][google.cloud.tasks.v2beta2.CloudTasks.GetTask]. +// Request message for getting a task using +// [GetTask][google.cloud.tasks.v2beta2.CloudTasks.GetTask]. message GetTaskRequest { // Required. The task name. For example: // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "cloudtasks.googleapis.com/Task" - } + (google.api.resource_reference) = { type: "cloudtasks.googleapis.com/Task" } ]; - // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be - // returned. + // The response_view specifies which subset of the + // [Task][google.cloud.tasks.v2beta2.Task] will be returned. // - // By default response_view is [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC]; not all - // information is retrieved by default because some data, such as - // payloads, might be desirable to return only when needed because - // of its large size or because of the sensitivity of data that it - // contains. + // By default response_view is + // [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC]; not all information is + // retrieved by default because some data, such as payloads, might be + // desirable to return only when needed because of its large size or because + // of the sensitivity of data that it contains. // - // Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] requires - // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) - // permission on the [Task][google.cloud.tasks.v2beta2.Task] resource. + // Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] + // requires `cloudtasks.tasks.fullView` [Google + // IAM](https://cloud.google.com/iam/) permission on the + // [Task][google.cloud.tasks.v2beta2.Task] resource. Task.View response_view = 2; } -// Request message for [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask]. +// Request message for +// [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask]. message CreateTaskRequest { // Required. The queue name. For example: // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` @@ -664,13 +725,13 @@ message CreateTaskRequest { // // Task names have the following format: // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`. - // The user can optionally specify a task [name][google.cloud.tasks.v2beta2.Task.name]. If a - // name is not specified then the system will generate a random - // unique task id, which will be set in the task returned in the - // [response][google.cloud.tasks.v2beta2.Task.name]. + // The user can optionally specify a task + // [name][google.cloud.tasks.v2beta2.Task.name]. If a name is not specified + // then the system will generate a random unique task id, which will be set in + // the task returned in the [response][google.cloud.tasks.v2beta2.Task.name]. // - // If [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] is not set or is in the - // past then Cloud Tasks will set it to the current time. + // If [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] is not + // set or is in the past then Cloud Tasks will set it to the current time. // // Task De-duplication: // @@ -679,34 +740,35 @@ message CreateTaskRequest { // that was deleted or completed recently then the call will fail // with [ALREADY_EXISTS][google.rpc.Code.ALREADY_EXISTS]. // If the task's queue was created using Cloud Tasks, then another task with - // the same name can't be created for ~1hour after the original task was + // the same name can't be created for ~1 hour after the original task was // deleted or completed. If the task's queue was created using queue.yaml or // queue.xml, then another task with the same name can't be created - // for ~9days after the original task was deleted or completed. + // for ~9 days after the original task was deleted or completed. // // Because there is an extra lookup cost to identify duplicate task - // names, these [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] calls have significantly - // increased latency. Using hashed strings for the task id or for - // the prefix of the task id is recommended. Choosing task ids that - // are sequential or have sequential prefixes, for example using a + // names, these [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] + // calls have significantly increased latency. Using hashed strings for the + // task id or for the prefix of the task id is recommended. Choosing task ids + // that are sequential or have sequential prefixes, for example using a // timestamp, causes an increase in latency and error rates in all // task commands. The infrastructure relies on an approximately // uniform distribution of task ids to store and serve tasks // efficiently. Task task = 2 [(google.api.field_behavior) = REQUIRED]; - // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be - // returned. + // The response_view specifies which subset of the + // [Task][google.cloud.tasks.v2beta2.Task] will be returned. // - // By default response_view is [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC]; not all - // information is retrieved by default because some data, such as - // payloads, might be desirable to return only when needed because - // of its large size or because of the sensitivity of data that it - // contains. + // By default response_view is + // [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC]; not all information is + // retrieved by default because some data, such as payloads, might be + // desirable to return only when needed because of its large size or because + // of the sensitivity of data that it contains. // - // Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] requires - // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) - // permission on the [Task][google.cloud.tasks.v2beta2.Task] resource. + // Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] + // requires `cloudtasks.tasks.fullView` [Google + // IAM](https://cloud.google.com/iam/) permission on the + // [Task][google.cloud.tasks.v2beta2.Task] resource. Task.View response_view = 3; } @@ -717,13 +779,12 @@ message DeleteTaskRequest { // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "cloudtasks.googleapis.com/Task" - } + (google.api.resource_reference) = { type: "cloudtasks.googleapis.com/Task" } ]; } -// Request message for leasing tasks using [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks]. +// Request message for leasing tasks using +// [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks]. message LeaseTasksRequest { // Required. The queue name. For example: // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` @@ -741,56 +802,63 @@ message LeaseTasksRequest { // // The largest that `max_tasks` can be is 1000. // - // The maximum total size of a [lease tasks response][google.cloud.tasks.v2beta2.LeaseTasksResponse] is - // 32 MB. If the sum of all task sizes requested reaches this limit, - // fewer tasks than requested are returned. + // The maximum total size of a [lease tasks + // response][google.cloud.tasks.v2beta2.LeaseTasksResponse] is 32 MB. If the + // sum of all task sizes requested reaches this limit, fewer tasks than + // requested are returned. int32 max_tasks = 2; // Required. The duration of the lease. // - // Each task returned in the [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will - // have its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] set to the current - // time plus the `lease_duration`. The task is leased until its - // [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]; thus, the task will not be - // returned to another [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call - // before its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]. + // Each task returned in the + // [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will have its + // [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] set to the + // current time plus the `lease_duration`. The task is leased until its + // [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]; thus, the + // task will not be returned to another + // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call before + // its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]. // // // After the worker has successfully finished the work associated // with the task, the worker must call via - // [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask] before the - // [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]. Otherwise the task will be - // returned to a later [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call so - // that another worker can retry it. + // [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask] + // before the [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]. + // Otherwise the task will be returned to a later + // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call so that + // another worker can retry it. // // The maximum lease duration is 1 week. // `lease_duration` will be truncated to the nearest second. - google.protobuf.Duration lease_duration = 3 [(google.api.field_behavior) = REQUIRED]; - - // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be - // returned. - // - // By default response_view is [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC]; not all - // information is retrieved by default because some data, such as - // payloads, might be desirable to return only when needed because - // of its large size or because of the sensitivity of data that it - // contains. - // - // Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] requires - // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) - // permission on the [Task][google.cloud.tasks.v2beta2.Task] resource. + google.protobuf.Duration lease_duration = 3 + [(google.api.field_behavior) = REQUIRED]; + + // The response_view specifies which subset of the + // [Task][google.cloud.tasks.v2beta2.Task] will be returned. + // + // By default response_view is + // [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC]; not all information is + // retrieved by default because some data, such as payloads, might be + // desirable to return only when needed because of its large size or because + // of the sensitivity of data that it contains. + // + // Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] + // requires `cloudtasks.tasks.fullView` [Google + // IAM](https://cloud.google.com/iam/) permission on the + // [Task][google.cloud.tasks.v2beta2.Task] resource. Task.View response_view = 4; // `filter` can be used to specify a subset of tasks to lease. // // When `filter` is set to `tag=` then the - // [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will contain only tasks whose - // [tag][google.cloud.tasks.v2beta2.PullMessage.tag] is equal to ``. `` must be - // less than 500 characters. + // [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will contain only + // tasks whose [tag][google.cloud.tasks.v2beta2.PullMessage.tag] is equal to + // ``. `` must be less than 500 characters. // // When `filter` is set to `tag_function=oldest_tag()`, only tasks which have // the same tag as the task with the oldest - // [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] will be returned. + // [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] will be + // returned. // // Grammar Syntax: // @@ -808,12 +876,14 @@ message LeaseTasksRequest { // [bytes](https://cloud.google.com/appengine/docs/standard/java/javadoc/com/google/appengine/api/taskqueue/TaskOptions.html#tag-byte:A-), // only UTF-8 encoded tags can be used in Cloud Tasks. Tag which // aren't UTF-8 encoded can't be used in the - // [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter] and the task's - // [tag][google.cloud.tasks.v2beta2.PullMessage.tag] will be displayed as empty in Cloud Tasks. + // [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter] and the + // task's [tag][google.cloud.tasks.v2beta2.PullMessage.tag] will be displayed + // as empty in Cloud Tasks. string filter = 5; } -// Response message for leasing tasks using [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks]. +// Response message for leasing tasks using +// [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks]. message LeaseTasksResponse { // The leased tasks. repeated Task tasks = 1; @@ -826,17 +896,16 @@ message AcknowledgeTaskRequest { // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "cloudtasks.googleapis.com/Task" - } + (google.api.resource_reference) = { type: "cloudtasks.googleapis.com/Task" } ]; // Required. The task's current schedule time, available in the // [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or - // [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is - // to ensure that your worker currently holds the lease. - google.protobuf.Timestamp schedule_time = 2 [(google.api.field_behavior) = REQUIRED]; + // [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. + // This restriction is to ensure that your worker currently holds the lease. + google.protobuf.Timestamp schedule_time = 2 + [(google.api.field_behavior) = REQUIRED]; } // Request message for renewing a lease using @@ -846,37 +915,38 @@ message RenewLeaseRequest { // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "cloudtasks.googleapis.com/Task" - } + (google.api.resource_reference) = { type: "cloudtasks.googleapis.com/Task" } ]; // Required. The task's current schedule time, available in the // [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or - // [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is - // to ensure that your worker currently holds the lease. - google.protobuf.Timestamp schedule_time = 2 [(google.api.field_behavior) = REQUIRED]; + // [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. + // This restriction is to ensure that your worker currently holds the lease. + google.protobuf.Timestamp schedule_time = 2 + [(google.api.field_behavior) = REQUIRED]; // Required. The desired new lease duration, starting from now. // // // The maximum lease duration is 1 week. // `lease_duration` will be truncated to the nearest second. - google.protobuf.Duration lease_duration = 3 [(google.api.field_behavior) = REQUIRED]; - - // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be - // returned. - // - // By default response_view is [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC]; not all - // information is retrieved by default because some data, such as - // payloads, might be desirable to return only when needed because - // of its large size or because of the sensitivity of data that it - // contains. - // - // Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] requires - // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) - // permission on the [Task][google.cloud.tasks.v2beta2.Task] resource. + google.protobuf.Duration lease_duration = 3 + [(google.api.field_behavior) = REQUIRED]; + + // The response_view specifies which subset of the + // [Task][google.cloud.tasks.v2beta2.Task] will be returned. + // + // By default response_view is + // [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC]; not all information is + // retrieved by default because some data, such as payloads, might be + // desirable to return only when needed because of its large size or because + // of the sensitivity of data that it contains. + // + // Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] + // requires `cloudtasks.tasks.fullView` [Google + // IAM](https://cloud.google.com/iam/) permission on the + // [Task][google.cloud.tasks.v2beta2.Task] resource. Task.View response_view = 4; } @@ -887,30 +957,30 @@ message CancelLeaseRequest { // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "cloudtasks.googleapis.com/Task" - } + (google.api.resource_reference) = { type: "cloudtasks.googleapis.com/Task" } ]; // Required. The task's current schedule time, available in the // [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or - // [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. This restriction is - // to ensure that your worker currently holds the lease. - google.protobuf.Timestamp schedule_time = 2 [(google.api.field_behavior) = REQUIRED]; - - // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be - // returned. - // - // By default response_view is [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC]; not all - // information is retrieved by default because some data, such as - // payloads, might be desirable to return only when needed because - // of its large size or because of the sensitivity of data that it - // contains. - // - // Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] requires - // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) - // permission on the [Task][google.cloud.tasks.v2beta2.Task] resource. + // [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response. + // This restriction is to ensure that your worker currently holds the lease. + google.protobuf.Timestamp schedule_time = 2 + [(google.api.field_behavior) = REQUIRED]; + + // The response_view specifies which subset of the + // [Task][google.cloud.tasks.v2beta2.Task] will be returned. + // + // By default response_view is + // [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC]; not all information is + // retrieved by default because some data, such as payloads, might be + // desirable to return only when needed because of its large size or because + // of the sensitivity of data that it contains. + // + // Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] + // requires `cloudtasks.tasks.fullView` [Google + // IAM](https://cloud.google.com/iam/) permission on the + // [Task][google.cloud.tasks.v2beta2.Task] resource. Task.View response_view = 3; } @@ -921,22 +991,21 @@ message RunTaskRequest { // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "cloudtasks.googleapis.com/Task" - } + (google.api.resource_reference) = { type: "cloudtasks.googleapis.com/Task" } ]; - // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] will be - // returned. + // The response_view specifies which subset of the + // [Task][google.cloud.tasks.v2beta2.Task] will be returned. // - // By default response_view is [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC]; not all - // information is retrieved by default because some data, such as - // payloads, might be desirable to return only when needed because - // of its large size or because of the sensitivity of data that it - // contains. + // By default response_view is + // [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC]; not all information is + // retrieved by default because some data, such as payloads, might be + // desirable to return only when needed because of its large size or because + // of the sensitivity of data that it contains. // - // Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] requires - // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) - // permission on the [Task][google.cloud.tasks.v2beta2.Task] resource. + // Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] + // requires `cloudtasks.tasks.fullView` [Google + // IAM](https://cloud.google.com/iam/) permission on the + // [Task][google.cloud.tasks.v2beta2.Task] resource. Task.View response_view = 2; } diff --git a/third_party/googleapis/google/cloud/tasks/v2beta2/cloudtasks_grpc_service_config.json b/third_party/googleapis/google/cloud/tasks/v2beta2/cloudtasks_grpc_service_config.json index eac8cc83c..bc4126005 100755 --- a/third_party/googleapis/google/cloud/tasks/v2beta2/cloudtasks_grpc_service_config.json +++ b/third_party/googleapis/google/cloud/tasks/v2beta2/cloudtasks_grpc_service_config.json @@ -72,6 +72,14 @@ "service": "google.cloud.tasks.v2beta2.CloudTasks", "method": "SetIamPolicy" }, + { + "service": "google.cloud.tasks.v2beta2.CloudTasks", + "method": "BufferTask" + }, + { + "service": "google.cloud.tasks.v2beta2.CloudTasks", + "method": "UploadQueueYaml" + }, { "service": "google.cloud.tasks.v2beta2.CloudTasks", "method": "CreateTask" @@ -95,6 +103,14 @@ { "service": "google.cloud.tasks.v2beta2.CloudTasks", "method": "RunTask" + }, + { + "service": "google.cloud.tasks.v2beta2.CloudTasks", + "method": "UpdateCmekConfig" + }, + { + "service": "google.cloud.tasks.v2beta2.CloudTasks", + "method": "GetCmekConfig" } ], "timeout": "20s" diff --git a/third_party/googleapis/google/cloud/tasks/v2beta2/cloudtasks_v2beta2.yaml b/third_party/googleapis/google/cloud/tasks/v2beta2/cloudtasks_v2beta2.yaml index e1922330a..080314cc9 100644 --- a/third_party/googleapis/google/cloud/tasks/v2beta2/cloudtasks_v2beta2.yaml +++ b/third_party/googleapis/google/cloud/tasks/v2beta2/cloudtasks_v2beta2.yaml @@ -4,6 +4,7 @@ name: cloudtasks.googleapis.com title: Cloud Tasks API apis: +- name: google.cloud.location.Locations - name: google.cloud.tasks.v2beta2.CloudTasks documentation: @@ -13,14 +14,41 @@ documentation: requests. For more information, see https://cloud.google.com/tasks/. + rules: + - selector: google.cloud.location.Locations.GetLocation + description: Gets information about a location. + + - selector: google.cloud.location.Locations.ListLocations + description: Lists information about the supported locations for this service. backend: rules: + - selector: google.cloud.location.Locations.GetLocation + deadline: 5.0 + - selector: google.cloud.location.Locations.ListLocations + deadline: 5.0 - selector: 'google.cloud.tasks.v2beta2.CloudTasks.*' deadline: 15.0 + - selector: google.cloud.tasks.v2beta2.CloudTasks.UploadQueueYaml + deadline: 300.0 + +http: + rules: + - selector: google.cloud.location.Locations.GetLocation + get: '/v2beta2/{name=projects/*/locations/*}' + - selector: google.cloud.location.Locations.ListLocations + get: '/v2beta2/{name=projects/*}/locations' authentication: rules: + - selector: google.cloud.location.Locations.GetLocation + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform + - selector: google.cloud.location.Locations.ListLocations + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform - selector: 'google.cloud.tasks.v2beta2.CloudTasks.*' oauth: canonical_scopes: |- diff --git a/third_party/googleapis/google/cloud/tasks/v2beta2/old_target.proto b/third_party/googleapis/google/cloud/tasks/v2beta2/old_target.proto index 60ca21113..17179fa29 100644 --- a/third_party/googleapis/google/cloud/tasks/v2beta2/old_target.proto +++ b/third_party/googleapis/google/cloud/tasks/v2beta2/old_target.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,10 +16,7 @@ syntax = "proto3"; package google.cloud.tasks.v2beta2; -import "google/cloud/tasks/v2beta2/target.proto"; -import "google/api/annotations.proto"; - -option go_package = "cloud.google.com/go/tasks/apiv2beta2/taskspb;taskspb"; +option go_package = "cloud.google.com/go/cloudtasks/apiv2beta2/cloudtaskspb;cloudtaskspb"; option java_multiple_files = true; option java_outer_classname = "OldTargetProto"; option java_package = "com.google.cloud.tasks.v2beta2"; diff --git a/third_party/googleapis/google/cloud/tasks/v2beta2/queue.proto b/third_party/googleapis/google/cloud/tasks/v2beta2/queue.proto index 3c1c34757..587ecb1eb 100644 --- a/third_party/googleapis/google/cloud/tasks/v2beta2/queue.proto +++ b/third_party/googleapis/google/cloud/tasks/v2beta2/queue.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ import "google/cloud/tasks/v2beta2/target.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "cloud.google.com/go/tasks/apiv2beta2/taskspb;taskspb"; +option go_package = "cloud.google.com/go/cloudtasks/apiv2beta2/cloudtaskspb;cloudtaskspb"; option java_multiple_files = true; option java_outer_classname = "QueueProto"; option java_package = "com.google.cloud.tasks.v2beta2"; @@ -54,8 +54,8 @@ message Queue { // Tasks are paused by the user. If the queue is paused then Cloud // Tasks will stop delivering tasks from it, but more tasks can // still be added to it by the user. When a pull queue is paused, - // all [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] calls will return a - // [FAILED_PRECONDITION][google.rpc.Code.FAILED_PRECONDITION]. + // all [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] calls + // will return a [FAILED_PRECONDITION][google.rpc.Code.FAILED_PRECONDITION]. PAUSED = 2; // The queue is disabled. @@ -69,16 +69,17 @@ message Queue { // // When a queue is disabled, tasks can still be added to a queue // but the tasks are not dispatched and - // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] calls return a - // `FAILED_PRECONDITION` error. + // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] calls + // return a `FAILED_PRECONDITION` error. // // To permanently delete this queue and all of its tasks, call // [DeleteQueue][google.cloud.tasks.v2beta2.CloudTasks.DeleteQueue]. DISABLED = 3; } - // Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue], - // after which it becomes output only. + // Caller-specified and required in + // [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue], after + // which it becomes output only. // // The queue name. // @@ -98,9 +99,10 @@ message Queue { // hyphens (-). The maximum length is 100 characters. string name = 1; - // Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue][], - // after which the queue config type becomes output only, though fields within - // the config are mutable. + // Caller-specified and required in + // [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue][], after + // which the queue config type becomes output only, though fields within the + // config are mutable. // // The queue's target. // @@ -108,30 +110,37 @@ message Queue { oneof target_type { // App Engine HTTP target. // - // An App Engine queue is a queue that has an [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget]. + // An App Engine queue is a queue that has an + // [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget]. AppEngineHttpTarget app_engine_http_target = 3; // Pull target. // - // A pull queue is a queue that has a [PullTarget][google.cloud.tasks.v2beta2.PullTarget]. + // A pull queue is a queue that has a + // [PullTarget][google.cloud.tasks.v2beta2.PullTarget]. PullTarget pull_target = 4; + + // An http_target is used to override the target values for HTTP tasks. + HttpTarget http_target = 17; } // Rate limits for task dispatches. // // [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] and - // [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] are related because they both - // control task attempts however they control how tasks are + // [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] are related + // because they both control task attempts however they control how tasks are // attempted in different ways: // - // * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] controls the total rate of + // * [rate_limits][google.cloud.tasks.v2beta2.Queue.rate_limits] controls the + // total rate of // dispatches from a queue (i.e. all traffic dispatched from the // queue, regardless of whether the dispatch is from a first // attempt or a retry). - // * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls what happens to + // * [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls + // what happens to // particular a task after its first attempt fails. That is, - // [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls task retries (the - // second attempt, third attempt, etc). + // [retry_config][google.cloud.tasks.v2beta2.Queue.retry_config] controls + // task retries (the second attempt, third attempt, etc). RateLimits rate_limits = 5; // Settings that determine the retry behavior. @@ -148,20 +157,23 @@ message Queue { // Output only. The state of the queue. // - // `state` can only be changed by calling + // `state` can only be changed by called // [PauseQueue][google.cloud.tasks.v2beta2.CloudTasks.PauseQueue], - // [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue], or uploading + // [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue], or + // uploading // [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref). - // [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue] cannot be used to change `state`. + // [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue] cannot be + // used to change `state`. State state = 7; // Output only. The last time this queue was purged. // - // All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] before this time - // were purged. + // All tasks that were [created][google.cloud.tasks.v2beta2.Task.create_time] + // before this time were purged. // - // A queue can be purged using [PurgeQueue][google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue], the - // [App Engine Task Queue SDK, or the Cloud + // A queue can be purged using + // [PurgeQueue][google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue], the [App + // Engine Task Queue SDK, or the Cloud // Console](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue). // // Purge time will be truncated to the nearest microsecond. Purge @@ -205,19 +217,24 @@ message Queue { // This message determines the maximum rate that tasks can be dispatched by a // queue, regardless of whether the dispatch is a first task attempt or a retry. // -// Note: The debugging command, [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask], will run a task -// even if the queue has reached its [RateLimits][google.cloud.tasks.v2beta2.RateLimits]. +// Note: The debugging command, +// [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask], will run a task +// even if the queue has reached its +// [RateLimits][google.cloud.tasks.v2beta2.RateLimits]. message RateLimits { // The maximum rate at which tasks are dispatched from this queue. // // If unspecified when the queue is created, Cloud Tasks will pick the // default. // - // * For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], the maximum allowed value + // * For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget], + // the maximum allowed value // is 500. - // * This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget]. In addition to the + // * This field is output only for [pull + // queues][google.cloud.tasks.v2beta2.PullTarget]. In addition to the // `max_tasks_dispatched_per_second` limit, a maximum of 10 QPS of - // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] requests are allowed per pull queue. + // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] requests + // are allowed per pull queue. // // // This field has the same meaning as @@ -252,11 +269,11 @@ message RateLimits { // `queue.yaml/xml`, `max_burst_size` is equal to // [bucket_size](https://cloud.google.com/appengine/docs/standard/python/config/queueref#bucket_size). // If - // [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue] is called on a queue without - // explicitly setting a value for `max_burst_size`, + // [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue] is called + // on a queue without explicitly setting a value for `max_burst_size`, // `max_burst_size` value will get updated if - // [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue] is updating - // [max_dispatches_per_second][RateLimits.max_dispatches_per_second]. + // [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue] is + // updating [max_dispatches_per_second][RateLimits.max_dispatches_per_second]. // int32 max_burst_size = 2; @@ -272,8 +289,9 @@ message RateLimits { // The maximum allowed value is 5,000. // // This field is output only for - // [pull queues][google.cloud.tasks.v2beta2.PullTarget] and always -1, which indicates no limit. No other - // queue types can have `max_concurrent_tasks` set to -1. + // [pull queues][google.cloud.tasks.v2beta2.PullTarget] and always -1, which + // indicates no limit. No other queue types can have `max_concurrent_tasks` + // set to -1. // // // This field has the same meaning as @@ -311,16 +329,17 @@ message RetryConfig { // If positive, `max_retry_duration` specifies the time limit for // retrying a failed task, measured from when the task was first // attempted. Once `max_retry_duration` time has passed *and* the - // task has been attempted [max_attempts][google.cloud.tasks.v2beta2.RetryConfig.max_attempts] - // times, no further attempts will be made and the task will be - // deleted. + // task has been attempted + // [max_attempts][google.cloud.tasks.v2beta2.RetryConfig.max_attempts] times, + // no further attempts will be made and the task will be deleted. // // If zero, then the task age is unlimited. // // If unspecified when the queue is created, Cloud Tasks will pick the // default. // - // This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget]. + // This field is output only for [pull + // queues][google.cloud.tasks.v2beta2.PullTarget]. // // // `max_retry_duration` will be truncated to the nearest second. @@ -330,16 +349,19 @@ message RetryConfig { // queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). google.protobuf.Duration max_retry_duration = 3; - // A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between + // A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] + // for retry between // [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and - // [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails, - // if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be - // retried. + // [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration + // after it fails, if the queue's + // [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the + // task should be retried. // // If unspecified when the queue is created, Cloud Tasks will pick the // default. // - // This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget]. + // This field is output only for [pull + // queues][google.cloud.tasks.v2beta2.PullTarget]. // // // `min_backoff` will be truncated to the nearest second. @@ -349,16 +371,19 @@ message RetryConfig { // queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). google.protobuf.Duration min_backoff = 4; - // A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] for retry between + // A task will be [scheduled][google.cloud.tasks.v2beta2.Task.schedule_time] + // for retry between // [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] and - // [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration after it fails, - // if the queue's [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the task should be - // retried. + // [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] duration + // after it fails, if the queue's + // [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig] specifies that the + // task should be retried. // // If unspecified when the queue is created, Cloud Tasks will pick the // default. // - // This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget]. + // This field is output only for [pull + // queues][google.cloud.tasks.v2beta2.PullTarget]. // // // `max_backoff` will be truncated to the nearest second. @@ -371,26 +396,29 @@ message RetryConfig { // The time between retries will double `max_doublings` times. // // A task's retry interval starts at - // [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff], then doubles - // `max_doublings` times, then increases linearly, and finally - // retries at intervals of + // [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff], then + // doubles `max_doublings` times, then increases linearly, and finally retries + // at intervals of // [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] up to // [max_attempts][google.cloud.tasks.v2beta2.RetryConfig.max_attempts] times. // - // For example, if [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] is 10s, - // [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] is 300s, and - // `max_doublings` is 3, then the a task will first be retried in - // 10s. The retry interval will double three times, and then - // increase linearly by 2^3 * 10s. Finally, the task will retry at - // intervals of [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] until the - // task has been attempted [max_attempts][google.cloud.tasks.v2beta2.RetryConfig.max_attempts] - // times. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s, - // 240s, 300s, 300s, .... + // For example, if + // [min_backoff][google.cloud.tasks.v2beta2.RetryConfig.min_backoff] is 10s, + // [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] is 300s, + // and `max_doublings` is 3, then the a task will first be retried in 10s. The + // retry interval will double three times, and then increase linearly by 2^3 * + // 10s. Finally, the task will retry at intervals of + // [max_backoff][google.cloud.tasks.v2beta2.RetryConfig.max_backoff] until the + // task has been attempted + // [max_attempts][google.cloud.tasks.v2beta2.RetryConfig.max_attempts] times. + // Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s, 240s, 300s, + // 300s, .... // // If unspecified when the queue is created, Cloud Tasks will pick the // default. // - // This field is output only for [pull queues][google.cloud.tasks.v2beta2.PullTarget]. + // This field is output only for [pull + // queues][google.cloud.tasks.v2beta2.PullTarget]. // // // This field has the same meaning as @@ -401,28 +429,32 @@ message RetryConfig { // Statistics for a queue. message QueueStats { - // Output only. An estimation of the number of tasks in the queue, that is, the tasks in - // the queue that haven't been executed, the tasks in the queue which the - // queue has dispatched but has not yet received a reply for, and the failed - // tasks that the queue is retrying. + // Output only. An estimation of the number of tasks in the queue, that is, + // the tasks in the queue that haven't been executed, the tasks in the queue + // which the queue has dispatched but has not yet received a reply for, and + // the failed tasks that the queue is retrying. int64 tasks_count = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. An estimation of the nearest time in the future where a task in the queue - // is scheduled to be executed. - google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The number of tasks that the queue has dispatched and received a reply for - // during the last minute. This variable counts both successful and - // non-successful executions. - int64 executed_last_minute_count = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The number of requests that the queue has dispatched but has not received - // a reply for yet. - int64 concurrent_dispatches_count = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The current maximum number of tasks per second executed by the queue. - // The maximum value of this variable is controlled by the RateLimits of the - // Queue. However, this value could be less to avoid overloading the endpoints - // tasks in the queue are targeting. - double effective_execution_rate = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. An estimation of the nearest time in the future where a task + // in the queue is scheduled to be executed. + google.protobuf.Timestamp oldest_estimated_arrival_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The number of tasks that the queue has dispatched and received + // a reply for during the last minute. This variable counts both successful + // and non-successful executions. + int64 executed_last_minute_count = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The number of requests that the queue has dispatched but has + // not received a reply for yet. + int64 concurrent_dispatches_count = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The current maximum number of tasks per second executed by the + // queue. The maximum value of this variable is controlled by the RateLimits + // of the Queue. However, this value could be less to avoid overloading the + // endpoints tasks in the queue are targeting. + double effective_execution_rate = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/cloud/tasks/v2beta2/target.proto b/third_party/googleapis/google/cloud/tasks/v2beta2/target.proto index e9fb4e562..584f5b061 100644 --- a/third_party/googleapis/google/cloud/tasks/v2beta2/target.proto +++ b/third_party/googleapis/google/cloud/tasks/v2beta2/target.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,19 +16,19 @@ syntax = "proto3"; package google.cloud.tasks.v2beta2; +import "google/api/field_behavior.proto"; -option go_package = "cloud.google.com/go/tasks/apiv2beta2/taskspb;taskspb"; +option go_package = "cloud.google.com/go/cloudtasks/apiv2beta2/cloudtaskspb;cloudtaskspb"; option java_multiple_files = true; option java_outer_classname = "TargetProto"; option java_package = "com.google.cloud.tasks.v2beta2"; // Pull target. -message PullTarget { - -} +message PullTarget {} // The pull message contains data that can be used by the caller of -// [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. +// [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the +// task. // // This proto can only be used for tasks in a queue which has // [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] set. @@ -40,10 +40,11 @@ message PullMessage { // // Tags allow similar tasks to be processed in a batch. If you label // tasks with a tag, your worker can - // [lease tasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] with the same tag using - // [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter]. For example, if you want to - // aggregate the events associated with a specific user once a day, - // you could tag tasks with the user ID. + // [lease tasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] with the + // same tag using + // [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter]. For example, + // if you want to aggregate the events associated with a specific user once a + // day, you could tag tasks with the user ID. // // The task's tag can only be set when the // [task is created][google.cloud.tasks.v2beta2.CloudTasks.CreateTask]. @@ -61,11 +62,15 @@ message PullMessage { // App Engine HTTP target. // // The task will be delivered to the App Engine application hostname -// specified by its [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget] and [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest]. -// The documentation for [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest] explains how the -// task's host URL is constructed. +// specified by its +// [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget] and +// [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest]. The +// documentation for +// [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest] +// explains how the task's host URL is constructed. // -// Using [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget] requires +// Using [AppEngineHttpTarget][google.cloud.tasks.v2beta2.AppEngineHttpTarget] +// requires // [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control) // Google IAM permission for the project // and the following scope: @@ -73,11 +78,13 @@ message PullMessage { // `https://www.googleapis.com/auth/cloud-platform` message AppEngineHttpTarget { // Overrides for the - // [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing]. + // [task-level + // app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing]. // // If set, `app_engine_routing_override` is used for all tasks in // the queue, no matter what the setting is for the - // [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing]. + // [task-level + // app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing]. AppEngineRouting app_engine_routing_override = 1; } @@ -87,9 +94,11 @@ message AppEngineHttpTarget { // the task is dispatched. // // This proto can only be used for tasks in a queue which has -// [app_engine_http_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target] set. +// [app_engine_http_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target] +// set. // -// Using [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest] requires +// Using [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest] +// requires // [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control) // Google IAM permission for the project // and the following scope: @@ -109,14 +118,16 @@ message AppEngineHttpTarget { // The request to the handler, however, will appear to have used the HTTP // protocol. // -// The [AppEngineRouting][google.cloud.tasks.v2beta2.AppEngineRouting] used to construct the URL that the task is -// delivered to can be set at the queue-level or task-level: +// The [AppEngineRouting][google.cloud.tasks.v2beta2.AppEngineRouting] used to +// construct the URL that the task is delivered to can be set at the queue-level +// or task-level: // // * If set, // [app_engine_routing_override][google.cloud.tasks.v2beta2.AppEngineHttpTarget.app_engine_routing_override] // is used for all tasks in the queue, no matter what the setting // is for the -// [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing]. +// [task-level +// app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing]. // // // The `url` that the task will be sent to is: @@ -139,12 +150,12 @@ message AppEngineHttpTarget { // the app's handler returns a non-2xx response code or Cloud Tasks does // not receive response before the [deadline][Task.dispatch_deadline]. Failed // tasks will be retried according to the -// [retry configuration][google.cloud.tasks.v2beta2.Queue.retry_config]. `503` (Service Unavailable) is -// considered an App Engine system error instead of an application error and -// will cause Cloud Tasks' traffic congestion control to temporarily throttle -// the queue's dispatches. Unlike other types of task targets, a `429` (Too Many -// Requests) response from an app handler does not cause traffic congestion -// control to throttle the queue. +// [retry configuration][google.cloud.tasks.v2beta2.Queue.retry_config]. `503` +// (Service Unavailable) is considered an App Engine system error instead of an +// application error and will cause Cloud Tasks' traffic congestion control to +// temporarily throttle the queue's dispatches. Unlike other types of task +// targets, a `429` (Too Many Requests) response from an app handler does not +// cause traffic congestion control to throttle the queue. message AppEngineHttpRequest { // The HTTP method to use for the request. The default is POST. // @@ -161,7 +172,8 @@ message AppEngineHttpRequest { // If set, // [app_engine_routing_override][google.cloud.tasks.v2beta2.AppEngineHttpTarget.app_engine_routing_override] // is used for all tasks in the queue, no matter what the setting is for the - // [task-level app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing]. + // [task-level + // app_engine_routing][google.cloud.tasks.v2beta2.AppEngineHttpRequest.app_engine_routing]. AppEngineRouting app_engine_routing = 2; // The relative URL. @@ -187,7 +199,8 @@ message AppEngineHttpRequest { // `"AppEngine-Google; (+http://code.google.com/appengine)"` to the // modified `User-Agent`. // - // If the task has a [payload][google.cloud.tasks.v2beta2.AppEngineHttpRequest.payload], Cloud + // If the task has a + // [payload][google.cloud.tasks.v2beta2.AppEngineHttpRequest.payload], Cloud // Tasks sets the following headers: // // * `Content-Type`: By default, the `Content-Type` header is set to @@ -212,8 +225,10 @@ message AppEngineHttpRequest { // visible when the task is returned in a Cloud Tasks response. // // Although there is no specific limit for the maximum number of headers or - // the size, there is a limit on the maximum size of the [Task][google.cloud.tasks.v2beta2.Task]. For more - // information, see the [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] documentation. + // the size, there is a limit on the maximum size of the + // [Task][google.cloud.tasks.v2beta2.Task]. For more information, see the + // [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] + // documentation. map headers = 4; // Payload. @@ -246,16 +261,18 @@ message AppEngineRouting { // service when the task is attempted. // // For some queues or tasks which were created using the App Engine - // Task Queue API, [host][google.cloud.tasks.v2beta2.AppEngineRouting.host] is not parsable - // into [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], - // [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and - // [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance]. For example, some tasks - // which were created using the App Engine SDK use a custom domain - // name; custom domains are not parsed by Cloud Tasks. If - // [host][google.cloud.tasks.v2beta2.AppEngineRouting.host] is not parsable, then + // Task Queue API, [host][google.cloud.tasks.v2beta2.AppEngineRouting.host] is + // not parsable into // [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], // [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and - // [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] are the empty string. + // [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance]. For + // example, some tasks which were created using the App Engine SDK use a + // custom domain name; custom domains are not parsed by Cloud Tasks. If + // [host][google.cloud.tasks.v2beta2.AppEngineRouting.host] is not parsable, + // then [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], + // [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and + // [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] are the + // empty string. string service = 1; // App version. @@ -264,16 +281,18 @@ message AppEngineRouting { // version when the task is attempted. // // For some queues or tasks which were created using the App Engine - // Task Queue API, [host][google.cloud.tasks.v2beta2.AppEngineRouting.host] is not parsable - // into [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], - // [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and - // [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance]. For example, some tasks - // which were created using the App Engine SDK use a custom domain - // name; custom domains are not parsed by Cloud Tasks. If - // [host][google.cloud.tasks.v2beta2.AppEngineRouting.host] is not parsable, then + // Task Queue API, [host][google.cloud.tasks.v2beta2.AppEngineRouting.host] is + // not parsable into // [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], // [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and - // [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] are the empty string. + // [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance]. For + // example, some tasks which were created using the App Engine SDK use a + // custom domain name; custom domains are not parsed by Cloud Tasks. If + // [host][google.cloud.tasks.v2beta2.AppEngineRouting.host] is not parsable, + // then [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], + // [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], and + // [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] are the + // empty string. string version = 2; // App instance. @@ -314,47 +333,364 @@ message AppEngineRouting { // queue's project ID. Some tasks which were created using the App Engine // SDK use a custom domain name. // - // * `service =` [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] + // * `service =` + // [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] // - // * `version =` [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] + // * `version =` + // [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] // // * `version_dot_service =` // [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] `+ '.' +` // [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] // - // * `instance =` [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] + // * `instance =` + // [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] // // * `instance_dot_service =` - // [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' +` - // [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] + // [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' + // +` [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] // // * `instance_dot_version =` - // [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' +` - // [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] + // [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' + // +` [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] // // * `instance_dot_version_dot_service =` - // [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' +` - // [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] `+ '.' +` - // [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] + // [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] `+ '.' + // +` [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] `+ '.' + // +` [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] // - // If [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] is empty, then the task will be sent - // to the service which is the default service when the task is attempted. + // If [service][google.cloud.tasks.v2beta2.AppEngineRouting.service] is empty, + // then the task will be sent to the service which is the default service when + // the task is attempted. // - // If [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] is empty, then the task will be sent - // to the version which is the default version when the task is attempted. + // If [version][google.cloud.tasks.v2beta2.AppEngineRouting.version] is empty, + // then the task will be sent to the version which is the default version when + // the task is attempted. // - // If [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is empty, then the task - // will be sent to an instance which is available when the task is - // attempted. + // If [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is + // empty, then the task will be sent to an instance which is available when + // the task is attempted. // // If [service][google.cloud.tasks.v2beta2.AppEngineRouting.service], // [version][google.cloud.tasks.v2beta2.AppEngineRouting.version], or - // [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is invalid, then the task - // will be sent to the default version of the default service when - // the task is attempted. + // [instance][google.cloud.tasks.v2beta2.AppEngineRouting.instance] is + // invalid, then the task will be sent to the default version of the default + // service when the task is attempted. string host = 4; } +// HTTP request. +// +// The task will be pushed to the worker as an HTTP request. An HTTP request +// embodies a url, an http method, headers, body and authorization for the http +// task. +message HttpRequest { + // Required. The full url path that the request will be sent to. + // + // This string must begin with either "http://" or "https://". Some examples + // are: `http://acme.com` and `https://acme.com/sales:8080`. Cloud Tasks will + // encode some characters for safety and compatibility. The maximum allowed + // URL length is 2083 characters after encoding. + // + // The `Location` header response from a redirect response [`300` - `399`] + // may be followed. The redirect is not counted as a separate attempt. + string url = 1 [(google.api.field_behavior) = REQUIRED]; + + // The HTTP method to use for the request. The default is POST. + HttpMethod http_method = 2; + + // HTTP request headers. + // + // This map contains the header field names and values. + // Headers can be set when running the + // [task is created][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] or + // [task is created][google.cloud.tasks.v2beta2.CloudTasks.BufferTask]. + // + // These headers represent a subset of the headers that will accompany the + // task's HTTP request. Some HTTP request headers will be ignored or replaced. + // + // A partial list of headers that will be ignored or replaced is: + // + // * Any header that is prefixed with "X-CloudTasks-" will be treated + // as service header. Service headers define properties of the task and are + // predefined in CloudTask. + // * Host: This will be computed by Cloud Tasks and derived from + // [HttpRequest.url][google.cloud.tasks.v2beta2.HttpRequest.url]. + // * Content-Length: This will be computed by Cloud Tasks. + // * User-Agent: This will be set to `"Google-Cloud-Tasks"`. + // * `X-Google-*`: Google use only. + // * `X-AppEngine-*`: Google use only. + // + // `Content-Type` won't be set by Cloud Tasks. You can explicitly set + // `Content-Type` to a media type when the + // [task is created][google.cloud.tasks.v2beta3.CloudTasks.CreateTask]. + // For example, `Content-Type` can be set to `"application/octet-stream"` or + // `"application/json"`. + // + // Headers which can have multiple values (according to RFC2616) can be + // specified using comma-separated values. + // + // The size of the headers must be less than 80KB. + map headers = 3; + + // HTTP request body. + // + // A request body is allowed only if the + // [HTTP method][google.cloud.tasks.v2beta2.HttpRequest.http_method] is POST, + // PUT, or PATCH. It is an error to set body on a task with an incompatible + // [HttpMethod][google.cloud.tasks.v2beta2.HttpMethod]. + bytes body = 4; + + // The mode for generating an `Authorization` header for HTTP requests. + // + // If specified, all `Authorization` headers in the + // [HttpRequest.headers][google.cloud.tasks.v2beta2.HttpRequest.headers] field + // will be overridden. + oneof authorization_header { + // If specified, an + // [OAuth token](https://developers.google.com/identity/protocols/OAuth2) + // will be generated and attached as an `Authorization` header in the HTTP + // request. + // + // This type of authorization should generally only be used when calling + // Google APIs hosted on *.googleapis.com. + OAuthToken oauth_token = 5; + + // If specified, an + // [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect) + // token will be generated and attached as an `Authorization` header in the + // HTTP request. + // + // This type of authorization can be used for many scenarios, including + // calling Cloud Run, or endpoints where you intend to validate the token + // yourself. + OidcToken oidc_token = 6; + } +} + +// PathOverride. +// +// Path message defines path override for HTTP targets. +message PathOverride { + // The URI path (e.g., /users/1234). Default is an empty string. + string path = 1; +} + +// QueryOverride. +// +// Query message defines query override for HTTP targets. +message QueryOverride { + // The query parameters (e.g., qparam1=123&qparam2=456). Default is an empty + // string. + string query_params = 1; +} + +// Uri Override. +// +// When specified, all the HTTP tasks inside the queue will be partially or +// fully overridden depending on the configured values. +message UriOverride { + // The Scheme for an HTTP request. By default, it is HTTPS. + enum Scheme { + // Scheme unspecified. Defaults to HTTPS. + SCHEME_UNSPECIFIED = 0; + + // Convert the scheme to HTTP, e.g., https://www.google.ca will change to + // http://www.google.ca. + HTTP = 1; + + // Convert the scheme to HTTPS, e.g., http://www.google.ca will change to + // https://www.google.ca. + HTTPS = 2; + } + + // UriOverrideEnforceMode mode is to define enforcing mode for the override + // modes. + enum UriOverrideEnforceMode { + // OverrideMode Unspecified. Defaults to ALWAYS. + URI_OVERRIDE_ENFORCE_MODE_UNSPECIFIED = 0; + + // In the IF_NOT_EXISTS mode, queue-level configuration is only + // applied where task-level configuration does not exist. + IF_NOT_EXISTS = 1; + + // In the ALWAYS mode, queue-level configuration overrides all + // task-level configuration + ALWAYS = 2; + } + + // Scheme override. + // + // When specified, the task URI scheme is replaced by the provided value (HTTP + // or HTTPS). + optional Scheme scheme = 1; + + // Host override. + // + // When specified, replaces the host part of the task URL. For example, + // if the task URL is "https://www.google.com," and host value is set to + // "example.net", the overridden URI will be changed to "https://example.net." + // Host value cannot be an empty string (INVALID_ARGUMENT). + optional string host = 2; + + // Port override. + // + // When specified, replaces the port part of the task URI. For instance, + // for a URI http://www.google.com/foo and port=123, the overridden URI + // becomes http://www.google.com:123/foo. Note that the port value must be a + // positive integer. Setting the port to 0 (Zero) clears the URI port. + optional int64 port = 3; + + // URI path. + // + // When specified, replaces the existing path of the task URL. Setting the + // path value to an empty string clears the URI path segment. + PathOverride path_override = 4; + + // URI Query. + // + // When specified, replaces the query part of the task URI. Setting the + // query value to an empty string clears the URI query segment. + QueryOverride query_override = 5; + + // URI Override Enforce Mode + // + // When specified, determines the Target UriOverride mode. If not specified, + // it defaults to ALWAYS. + UriOverrideEnforceMode uri_override_enforce_mode = 6; +} + +// HTTP target. +// +// When specified as a [Queue][target_type], all the tasks with [HttpRequest] +// will be overridden according to the target. +message HttpTarget { + // Defines a header message. A header can have a key and a value. + message Header { + // The key of the header. + string key = 1; + + // The value of the header. + string value = 2; + } + + // Wraps the Header object. + message HeaderOverride { + // header embodying a key and a value. + Header header = 1; + } + + // Uri override. + // + // When specified, overrides the execution Uri for all the tasks in the queue. + UriOverride uri_override = 1; + + // The HTTP method to use for the request. + // + // When specified, it overrides + // [HttpRequest][google.cloud.tasks.v2beta2.HttpTarget.http_method] for the + // task. Note that if the value is set to [HttpMethod][GET] the + // [HttpRequest][body] of the task will be ignored at execution time. + HttpMethod http_method = 2; + + // HTTP target headers. + // + // This map contains the header field names and values. + // Headers will be set when running the + // [task is created][google.cloud.tasks.v2beta2.CloudTasks.CreateTask] and/or + // [task is created][google.cloud.tasks.v2beta2.CloudTasks.BufferTask]. + // + // These headers represent a subset of the headers that will accompany the + // task's HTTP request. Some HTTP request headers will be ignored or replaced. + // + // A partial list of headers that will be ignored or replaced is: + // * Any header that is prefixed with "X-CloudTasks-" will be treated + // as service header. Service headers define properties of the task and are + // predefined in CloudTask. + // * Host: This will be computed by Cloud Tasks and derived from + // [HttpRequest.url][google.cloud.tasks.v2beta2.HttpRequest.url]. + // * Content-Length: This will be computed by Cloud Tasks. + // * User-Agent: This will be set to `"Google-CloudTasks"`. + // * `X-Google-*`: Google use only. + // * `X-AppEngine-*`: Google use only. + // + // `Content-Type` won't be set by Cloud Tasks. You can explicitly set + // `Content-Type` to a media type when the + // [task is created][google.cloud.tasks.v2beta3.CloudTasks.CreateTask]. + // For example, `Content-Type` can be set to `"application/octet-stream"` or + // `"application/json"`. + // + // Headers which can have multiple values (according to RFC2616) can be + // specified using comma-separated values. + // + // The size of the headers must be less than 80KB. + // Queue-level headers to override headers of all the tasks in the queue. + repeated HeaderOverride header_overrides = 3; + + // The mode for generating an `Authorization` header for HTTP requests. + // + // If specified, all `Authorization` headers in the + // [HttpRequest.headers][google.cloud.tasks.v2beta2.HttpRequest.headers] field + // will be overridden. + oneof authorization_header { + // If specified, an + // [OAuth token](https://developers.google.com/identity/protocols/OAuth2) + // will be generated and attached as an `Authorization` header in the HTTP + // request. + // + // This type of authorization should generally only be used when calling + // Google APIs hosted on *.googleapis.com. + OAuthToken oauth_token = 5; + + // If specified, an + // [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect) + // token will be generated and attached as an `Authorization` header in the + // HTTP request. + // + // This type of authorization can be used for many scenarios, including + // calling Cloud Run, or endpoints where you intend to validate the token + // yourself. + OidcToken oidc_token = 6; + } +} + +// Contains information needed for generating an +// [OAuth token](https://developers.google.com/identity/protocols/OAuth2). +// This type of authorization should generally only be used when calling Google +// APIs hosted on *.googleapis.com. +message OAuthToken { + // [Service account email](https://cloud.google.com/iam/docs/service-accounts) + // to be used for generating OAuth token. + // The service account must be within the same project as the queue. The + // caller must have iam.serviceAccounts.actAs permission for the service + // account. + string service_account_email = 1; + + // OAuth scope to be used for generating OAuth access token. + // If not specified, "https://www.googleapis.com/auth/cloud-platform" + // will be used. + string scope = 2; +} + +// Contains information needed for generating an +// [OpenID Connect +// token](https://developers.google.com/identity/protocols/OpenIDConnect). +// This type of authorization can be used for many scenarios, including +// calling Cloud Run, or endpoints where you intend to validate the token +// yourself. +message OidcToken { + // [Service account email](https://cloud.google.com/iam/docs/service-accounts) + // to be used for generating OIDC token. + // The service account must be within the same project as the queue. The + // caller must have iam.serviceAccounts.actAs permission for the service + // account. + string service_account_email = 1; + + // Audience to be used when generating OIDC token. If not specified, the URI + // specified in target will be used. + string audience = 2; +} + // The HTTP method used to execute the task. enum HttpMethod { // HTTP method unspecified @@ -374,4 +710,10 @@ enum HttpMethod { // HTTP DELETE DELETE = 5; + + // HTTP PATCH + PATCH = 6; + + // HTTP OPTIONS + OPTIONS = 7; } diff --git a/third_party/googleapis/google/cloud/tasks/v2beta2/task.proto b/third_party/googleapis/google/cloud/tasks/v2beta2/task.proto index 6dc48cdb8..467ee1031 100644 --- a/third_party/googleapis/google/cloud/tasks/v2beta2/task.proto +++ b/third_party/googleapis/google/cloud/tasks/v2beta2/task.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,7 +21,7 @@ import "google/cloud/tasks/v2beta2/target.proto"; import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; -option go_package = "cloud.google.com/go/tasks/apiv2beta2/taskspb;taskspb"; +option go_package = "cloud.google.com/go/cloudtasks/apiv2beta2/cloudtaskspb;cloudtaskspb"; option java_multiple_files = true; option java_outer_classname = "TaskProto"; option java_package = "com.google.cloud.tasks.v2beta2"; @@ -33,7 +33,8 @@ message Task { pattern: "projects/{project}/locations/{location}/queues/{queue}/tasks/{task}" }; - // The view specifies a subset of [Task][google.cloud.tasks.v2beta2.Task] data. + // The view specifies a subset of [Task][google.cloud.tasks.v2beta2.Task] + // data. // // When a task is returned in a response, not all // information is retrieved by default because some data, such as @@ -48,22 +49,26 @@ message Task { // sensitive data. // // This view does not include the - // ([payload in AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest] and - // [payload in PullMessage][google.cloud.tasks.v2beta2.PullMessage.payload]). These payloads are - // desirable to return only when needed, because they can be large - // and because of the sensitivity of the data that you choose to - // store in it. + // ([payload in + // AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest] + // and [payload in + // PullMessage][google.cloud.tasks.v2beta2.PullMessage.payload]). These + // payloads are desirable to return only when needed, because they can be + // large and because of the sensitivity of the data that you choose to store + // in it. BASIC = 1; // All information is returned. // - // Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] requires - // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) - // permission on the [Queue][google.cloud.tasks.v2beta2.Queue] resource. + // Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL] + // requires `cloudtasks.tasks.fullView` [Google + // IAM](https://cloud.google.com/iam/) permission on the + // [Queue][google.cloud.tasks.v2beta2.Queue] resource. FULL = 2; } - // Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask]. + // Optionally caller-specified in + // [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask]. // // The task name. // @@ -92,17 +97,28 @@ message Task { oneof payload_type { // App Engine HTTP request that is sent to the task's target. Can // be set only if - // [app_engine_http_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target] is set - // on the queue. + // [app_engine_http_target][google.cloud.tasks.v2beta2.Queue.app_engine_http_target] + // is set on the queue. // - // An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest] set. + // An App Engine task is a task that has + // [AppEngineHttpRequest][google.cloud.tasks.v2beta2.AppEngineHttpRequest] + // set. AppEngineHttpRequest app_engine_http_request = 3; - // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process the task. Can be - // set only if [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the queue. + // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] to process + // the task. Can be set only if + // [pull_target][google.cloud.tasks.v2beta2.Queue.pull_target] is set on the + // queue. // - // A pull task is a task that has [PullMessage][google.cloud.tasks.v2beta2.PullMessage] set. + // A pull task is a task that has + // [PullMessage][google.cloud.tasks.v2beta2.PullMessage] set. PullMessage pull_message = 4; + + // HTTP request that is sent to the task's target. + // + // An HTTP task is a task that has + // [HttpRequest][google.cloud.tasks.v2beta2.HttpRequest] set. + HttpRequest http_request = 13; } // The time when the task is scheduled to be attempted. @@ -112,7 +128,8 @@ message Task { // For pull queues, this is the time when the task is available to // be leased; if a task is currently leased, this is the time when // the current lease expires, that is, the time that the task was - // leased plus the [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]. + // leased plus the + // [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]. // // `schedule_time` will be truncated to the nearest microsecond. google.protobuf.Timestamp schedule_time = 5; @@ -125,8 +142,8 @@ message Task { // Output only. The task status. TaskStatus status = 7; - // Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta2.Task] has - // been returned. + // Output only. The view specifies which subset of the + // [Task][google.cloud.tasks.v2beta2.Task] has been returned. View view = 8; } @@ -140,20 +157,26 @@ message TaskStatus { // Output only. The number of attempts which have received a response. // - // This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage]. + // This field is not calculated for [pull + // tasks][google.cloud.tasks.v2beta2.PullMessage]. int32 attempt_response_count = 2; // Output only. The status of the task's first attempt. // - // Only [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] will be set. - // The other [AttemptStatus][google.cloud.tasks.v2beta2.AttemptStatus] information is not retained by Cloud Tasks. + // Only + // [dispatch_time][google.cloud.tasks.v2beta2.AttemptStatus.dispatch_time] + // will be set. The other + // [AttemptStatus][google.cloud.tasks.v2beta2.AttemptStatus] information is + // not retained by Cloud Tasks. // - // This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage]. + // This field is not calculated for [pull + // tasks][google.cloud.tasks.v2beta2.PullMessage]. AttemptStatus first_attempt_status = 3; // Output only. The status of the task's last attempt. // - // This field is not calculated for [pull tasks][google.cloud.tasks.v2beta2.PullMessage]. + // This field is not calculated for [pull + // tasks][google.cloud.tasks.v2beta2.PullMessage]. AttemptStatus last_attempt_status = 4; } diff --git a/third_party/googleapis/google/cloud/tasks/v2beta3/BUILD.bazel b/third_party/googleapis/google/cloud/tasks/v2beta3/BUILD.bazel index 6fdf839bc..08a3ab413 100644 --- a/third_party/googleapis/google/cloud/tasks/v2beta3/BUILD.bazel +++ b/third_party/googleapis/google/cloud/tasks/v2beta3/BUILD.bazel @@ -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"]) @@ -21,6 +30,7 @@ proto_library( "//google/api:annotations_proto", "//google/api:client_proto", "//google/api:field_behavior_proto", + "//google/api:httpbody_proto", "//google/api:resource_proto", "//google/iam/v1:iam_policy_proto", "//google/iam/v1:policy_proto", @@ -37,6 +47,7 @@ proto_library_with_info( deps = [ ":tasks_proto", "//google/cloud:common_resources_proto", + "//google/cloud/location:location_proto", ], ) @@ -66,15 +77,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_v2beta3.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", ], ) @@ -109,16 +125,16 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( name = "tasks_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "cloud.google.com/go/tasks/apiv2beta3/taskspb", + importpath = "cloud.google.com/go/cloudtasks/apiv2beta3/cloudtaskspb", protos = [":tasks_proto"], deps = [ "//google/api:annotations_go_proto", + "//google/api:httpbody_go_proto", "//google/iam/v1:iam_go_proto", "//google/rpc:status_go_proto", ], @@ -128,30 +144,28 @@ go_gapic_library( name = "tasks_go_gapic", srcs = [":tasks_proto_with_info"], grpc_service_config = "cloudtasks_grpc_service_config.json", - importpath = "cloud.google.com/go/cloudtasks/apiv2beta3;tasks", + importpath = "cloud.google.com/go/cloudtasks/apiv2beta3;cloudtasks", + metadata = True, release_level = "beta", rest_numeric_enums = True, service_yaml = "cloudtasks_v2beta3.yaml", transport = "grpc+rest", deps = [ ":tasks_go_proto", + "//google/api:httpbody_go_proto", + "//google/cloud/location:location_go_proto", "//google/iam/v1:iam_go_proto", "@io_bazel_rules_go//proto/wkt:duration_go_proto", ], ) -go_test( - name = "tasks_go_gapic_test", - srcs = [":tasks_go_gapic_srcjar_test"], - embed = [":tasks_go_gapic"], - importpath = "cloud.google.com/go/cloudtasks/apiv2beta3", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-tasks-v2beta3-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", ], @@ -189,6 +203,7 @@ py_test( deps = [":tasks_py_gapic"], ) +# Open Source Packages py_gapic_assembly_pkg( name = "tasks-v2beta3-py", deps = [ @@ -203,7 +218,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -212,21 +226,15 @@ php_proto_library( deps = [":tasks_proto"], ) -php_grpc_library( - name = "tasks_php_grpc", - srcs = [":tasks_proto"], - deps = [":tasks_php_proto"], -) - php_gapic_library( name = "tasks_php_gapic", srcs = [":tasks_proto_with_info"], grpc_service_config = "cloudtasks_grpc_service_config.json", + migration_mode = "PRE_MIGRATION_SURFACE_ONLY", rest_numeric_enums = True, service_yaml = "cloudtasks_v2beta3.yaml", transport = "grpc+rest", deps = [ - ":tasks_php_grpc", ":tasks_php_proto", ], ) @@ -236,7 +244,6 @@ php_gapic_assembly_pkg( name = "google-cloud-tasks-v2beta3-php", deps = [ ":tasks_php_gapic", - ":tasks_php_grpc", ":tasks_php_proto", ], ) @@ -262,6 +269,7 @@ nodejs_gapic_library( service_yaml = "cloudtasks_v2beta3.yaml", transport = "grpc+rest", deps = [], + format = "esm", ) nodejs_gapic_assembly_pkg( @@ -298,17 +306,18 @@ ruby_cloud_gapic_library( name = "tasks_ruby_gapic", srcs = [":tasks_proto_with_info"], extra_protoc_parameters = [ - "ruby-cloud-gem-name=google-cloud-tasks-v2beta3", - "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-v2beta3", + "ruby-cloud-product-url=https://cloud.google.com/tasks", ], grpc_service_config = "cloudtasks_grpc_service_config.json", rest_numeric_enums = True, ruby_cloud_description = "Cloud Tasks is a fully managed service that allows you to manage the execution, dispatch and delivery of a large number of distributed tasks. You can asynchronously perform work outside of a user request. Your tasks can be executed on App Engine or any arbitrary HTTP endpoint.", ruby_cloud_title = "Cloud Tasks V2beta3", service_yaml = "cloudtasks_v2beta3.yaml", + transport = "grpc+rest", deps = [ ":tasks_ruby_grpc", ":tasks_ruby_proto", @@ -338,6 +347,7 @@ load( csharp_proto_library( name = "tasks_csharp_proto", + extra_opts = [], deps = [":tasks_proto"], ) @@ -374,4 +384,20 @@ csharp_gapic_assembly_pkg( ############################################################################## # C++ ############################################################################## -# Put your C++ rules here +load( + "@com_google_googleapis_imports//:imports.bzl", + "cc_grpc_library", + "cc_proto_library", +) + +cc_proto_library( + name = "tasks_cc_proto", + deps = [":tasks_proto"], +) + +cc_grpc_library( + name = "tasks_cc_grpc", + srcs = [":tasks_proto"], + grpc_only = True, + deps = [":tasks_cc_proto"], +) diff --git a/third_party/googleapis/google/cloud/tasks/v2beta3/cloudtasks.proto b/third_party/googleapis/google/cloud/tasks/v2beta3/cloudtasks.proto index 80c8cf9db..232d9e9bd 100644 --- a/third_party/googleapis/google/cloud/tasks/v2beta3/cloudtasks.proto +++ b/third_party/googleapis/google/cloud/tasks/v2beta3/cloudtasks.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -27,7 +27,7 @@ import "google/iam/v1/policy.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; -option go_package = "cloud.google.com/go/tasks/apiv2beta3/taskspb;taskspb"; +option go_package = "cloud.google.com/go/cloudtasks/apiv2beta3/cloudtaskspb;cloudtaskspb"; option java_multiple_files = true; option java_outer_classname = "CloudTasksProto"; option java_package = "com.google.cloud.tasks.v2beta3"; @@ -37,7 +37,8 @@ option objc_class_prefix = "TASKS"; // work in their applications. service CloudTasks { option (google.api.default_host) = "cloudtasks.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Lists queues. // @@ -60,8 +61,8 @@ service CloudTasks { // Creates a queue. // // Queues created with this method allow tasks to live for a maximum of 31 - // days. After a task is 31 days old, the task will be deleted regardless of whether - // it was dispatched or not. + // days. After a task is 31 days old, the task will be deleted regardless of + // whether it was dispatched or not. // // WARNING: Using this method may have unintended side effects if you are // using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. @@ -83,8 +84,8 @@ service CloudTasks { // the queue if it does exist. // // Queues created with this method allow tasks to live for a maximum of 31 - // days. After a task is 31 days old, the task will be deleted regardless of whether - // it was dispatched or not. + // days. After a task is 31 days old, the task will be deleted regardless of + // whether it was dispatched or not. // // WARNING: Using this method may have unintended side effects if you are // using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. @@ -138,9 +139,10 @@ service CloudTasks { // // If a queue is paused then the system will stop dispatching tasks // until the queue is resumed via - // [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue]. Tasks can still be added - // when the queue is paused. A queue is paused if its - // [state][google.cloud.tasks.v2beta3.Queue.state] is [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED]. + // [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue]. Tasks can + // still be added when the queue is paused. A queue is paused if its + // [state][google.cloud.tasks.v2beta3.Queue.state] is + // [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED]. rpc PauseQueue(PauseQueueRequest) returns (Queue) { option (google.api.http) = { post: "/v2beta3/{name=projects/*/locations/*/queues/*}:pause" @@ -153,9 +155,11 @@ service CloudTasks { // // This method resumes a queue after it has been // [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED] or - // [DISABLED][google.cloud.tasks.v2beta3.Queue.State.DISABLED]. The state of a queue is stored - // in the queue's [state][google.cloud.tasks.v2beta3.Queue.state]; after calling this method it - // will be set to [RUNNING][google.cloud.tasks.v2beta3.Queue.State.RUNNING]. + // [DISABLED][google.cloud.tasks.v2beta3.Queue.State.DISABLED]. The state of a + // queue is stored in the queue's + // [state][google.cloud.tasks.v2beta3.Queue.state]; after calling this method + // it will be set to + // [RUNNING][google.cloud.tasks.v2beta3.Queue.State.RUNNING]. // // WARNING: Resuming many high-QPS queues at the same time can // lead to target overloading. If you are resuming high-QPS @@ -170,16 +174,17 @@ service CloudTasks { option (google.api.method_signature) = "name"; } - // Gets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. - // Returns an empty policy if the resource exists and does not have a policy - // set. + // Gets the access control policy for a + // [Queue][google.cloud.tasks.v2beta3.Queue]. Returns an empty policy if the + // resource exists and does not have a policy set. // // Authorization requires the following // [Google IAM](https://cloud.google.com/iam) permission on the specified // resource parent: // // * `cloudtasks.queues.getIamPolicy` - rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v2beta3/{resource=projects/*/locations/*/queues/*}:getIamPolicy" body: "*" @@ -187,8 +192,8 @@ service CloudTasks { option (google.api.method_signature) = "resource"; } - // Sets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any existing - // policy. + // Sets the access control policy for a + // [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any existing policy. // // Note: The Cloud Console does not check queue-level IAM permissions yet. // Project-level permissions are required to use the Cloud Console. @@ -198,7 +203,8 @@ service CloudTasks { // resource parent: // // * `cloudtasks.queues.setIamPolicy` - rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v2beta3/{resource=projects/*/locations/*/queues/*}:setIamPolicy" body: "*" @@ -206,14 +212,16 @@ service CloudTasks { option (google.api.method_signature) = "resource,policy"; } - // Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta3.Queue]. - // If the resource does not exist, this will return an empty set of - // permissions, not a [NOT_FOUND][google.rpc.Code.NOT_FOUND] error. + // Returns permissions that a caller has on a + // [Queue][google.cloud.tasks.v2beta3.Queue]. If the resource does not exist, + // this will return an empty set of permissions, not a + // [NOT_FOUND][google.rpc.Code.NOT_FOUND] error. // // Note: This operation is designed to be used for building permission-aware // UIs and command-line tools, not for authorization checking. This operation // may "fail open" without warning. - rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) { + rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) + returns (google.iam.v1.TestIamPermissionsResponse) { option (google.api.http) = { post: "/v2beta3/{resource=projects/*/locations/*/queues/*}:testIamPermissions" body: "*" @@ -223,10 +231,10 @@ service CloudTasks { // Lists the tasks in a queue. // - // By default, only the [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC] view is retrieved - // due to performance considerations; - // [response_view][google.cloud.tasks.v2beta3.ListTasksRequest.response_view] controls the - // subset of information which is returned. + // By default, only the [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC] + // view is retrieved due to performance considerations; + // [response_view][google.cloud.tasks.v2beta3.ListTasksRequest.response_view] + // controls the subset of information which is returned. // // The tasks may be returned in any order. The ordering may change at any // time. @@ -273,13 +281,14 @@ service CloudTasks { // Forces a task to run now. // // When this method is called, Cloud Tasks will dispatch the task, even if - // the task is already running, the queue has reached its [RateLimits][google.cloud.tasks.v2beta3.RateLimits] or - // is [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED]. + // the task is already running, the queue has reached its + // [RateLimits][google.cloud.tasks.v2beta3.RateLimits] or is + // [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED]. // // This command is meant to be used for manual debugging. For - // example, [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask] can be used to retry a failed - // task after a fix has been made or to manually force a task to be - // dispatched now. + // example, [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask] can be + // used to retry a failed task after a fix has been made or to manually force + // a task to be dispatched now. // // The dispatched task is returned. That is, the task that is returned // contains the [status][Task.status] after the task is dispatched but @@ -287,9 +296,11 @@ service CloudTasks { // // If Cloud Tasks receives a successful response from the task's // target, then the task will be deleted; otherwise the task's - // [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] will be reset to the time that - // [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask] was called plus the retry delay specified - // in the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig]. + // [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] will be + // reset to the time that + // [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask] was called plus + // the retry delay specified in the queue's + // [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig]. // // [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask] returns // [NOT_FOUND][google.rpc.Code.NOT_FOUND] when it is called on a @@ -303,7 +314,8 @@ service CloudTasks { } } -// Request message for [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues]. +// Request message for +// [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues]. message ListQueuesRequest { // Required. The location name. // For example: `projects/PROJECT_ID/locations/LOCATION_ID` @@ -314,11 +326,10 @@ message ListQueuesRequest { } ]; - // `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue] - // field can be used as a filter and several operators as supported. - // For example: `<=, <, >=, >, !=, =, :`. The filter syntax is the same as - // described in - // [Stackdriver's Advanced Logs + // `filter` can be used to specify a subset of queues. Any + // [Queue][google.cloud.tasks.v2beta3.Queue] field can be used as a filter and + // several operators as supported. For example: `<=, <, >=, >, !=, =, :`. The + // filter syntax is the same as described in [Stackdriver's Advanced Logs // Filters](https://cloud.google.com/logging/docs/view/advanced_filters). // // Sample filter "state: PAUSED". @@ -332,28 +343,32 @@ message ListQueuesRequest { // The maximum page size is 9800. If unspecified, the page size will // be the maximum. Fewer queues than requested might be returned, // even if more queues exist; use the - // [next_page_token][google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token] in the - // response to determine if more queues exist. + // [next_page_token][google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token] + // in the response to determine if more queues exist. int32 page_size = 3; // A token identifying the page of results to return. // // To request the first page results, page_token must be empty. To // request the next page of results, page_token must be the value of - // [next_page_token][google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token] returned - // from the previous call to [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] - // method. It is an error to switch the value of the - // [filter][google.cloud.tasks.v2beta3.ListQueuesRequest.filter] while iterating through pages. + // [next_page_token][google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token] + // returned from the previous call to + // [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] method. It + // is an error to switch the value of the + // [filter][google.cloud.tasks.v2beta3.ListQueuesRequest.filter] while + // iterating through pages. string page_token = 4; - // Optional. Read mask is used for a more granular control over what the API returns. - // If the mask is not present all fields will be returned except + // Optional. Read mask is used for a more granular control over what the API + // returns. If the mask is not present all fields will be returned except // [Queue.stats]. [Queue.stats] will be returned only if it was explicitly // specified in the mask. - google.protobuf.FieldMask read_mask = 5 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.FieldMask read_mask = 5 + [(google.api.field_behavior) = OPTIONAL]; } -// Response message for [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues]. +// Response message for +// [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues]. message ListQueuesResponse { // The list of queues. repeated Queue queues = 1; @@ -361,7 +376,8 @@ message ListQueuesResponse { // A token to retrieve next page of results. // // To return the next page of results, call - // [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] with this value as the + // [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] with this + // value as the // [page_token][google.cloud.tasks.v2beta3.ListQueuesRequest.page_token]. // // If the next_page_token is empty, there are no more results. @@ -370,7 +386,8 @@ message ListQueuesResponse { string next_page_token = 2; } -// Request message for [GetQueue][google.cloud.tasks.v2beta3.CloudTasks.GetQueue]. +// Request message for +// [GetQueue][google.cloud.tasks.v2beta3.CloudTasks.GetQueue]. message GetQueueRequest { // Required. The resource name of the queue. For example: // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` @@ -381,14 +398,16 @@ message GetQueueRequest { } ]; - // Optional. Read mask is used for a more granular control over what the API returns. - // If the mask is not present all fields will be returned except + // Optional. Read mask is used for a more granular control over what the API + // returns. If the mask is not present all fields will be returned except // [Queue.stats]. [Queue.stats] will be returned only if it was explicitly // specified in the mask. - google.protobuf.FieldMask read_mask = 2 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.FieldMask read_mask = 2 + [(google.api.field_behavior) = OPTIONAL]; } -// Request message for [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue]. +// Request message for +// [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue]. message CreateQueueRequest { // Required. The location name in which the queue will be created. // For example: `projects/PROJECT_ID/locations/LOCATION_ID` @@ -405,19 +424,23 @@ message CreateQueueRequest { // Required. The queue to create. // - // [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue. + // [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as + // an existing queue. Queue queue = 2 [(google.api.field_behavior) = REQUIRED]; } -// Request message for [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue]. +// Request message for +// [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue]. message UpdateQueueRequest { // Required. The queue to create or update. // - // The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified. + // The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be + // specified. // // Output only fields cannot be modified using UpdateQueue. // Any value specified for an output only field will be ignored. - // The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed. + // The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be + // changed. Queue queue = 1 [(google.api.field_behavior) = REQUIRED]; // A mask used to specify which fields of the queue are being updated. @@ -426,7 +449,8 @@ message UpdateQueueRequest { google.protobuf.FieldMask update_mask = 2; } -// Request message for [DeleteQueue][google.cloud.tasks.v2beta3.CloudTasks.DeleteQueue]. +// Request message for +// [DeleteQueue][google.cloud.tasks.v2beta3.CloudTasks.DeleteQueue]. message DeleteQueueRequest { // Required. The queue name. For example: // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` @@ -438,7 +462,8 @@ message DeleteQueueRequest { ]; } -// Request message for [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue]. +// Request message for +// [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue]. message PurgeQueueRequest { // Required. The queue name. For example: // `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` @@ -450,7 +475,8 @@ message PurgeQueueRequest { ]; } -// Request message for [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue]. +// Request message for +// [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue]. message PauseQueueRequest { // Required. The queue name. For example: // `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` @@ -462,7 +488,8 @@ message PauseQueueRequest { ]; } -// Request message for [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue]. +// Request message for +// [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue]. message ResumeQueueRequest { // Required. The queue name. For example: // `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID` @@ -474,7 +501,8 @@ message ResumeQueueRequest { ]; } -// Request message for listing tasks using [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks]. +// Request message for listing tasks using +// [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks]. message ListTasksRequest { // Required. The queue name. For example: // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` @@ -485,25 +513,26 @@ message ListTasksRequest { } ]; - // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be - // returned. + // The response_view specifies which subset of the + // [Task][google.cloud.tasks.v2beta3.Task] will be returned. // - // By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all - // information is retrieved by default because some data, such as - // payloads, might be desirable to return only when needed because - // of its large size or because of the sensitivity of data that it - // contains. + // By default response_view is + // [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is + // retrieved by default because some data, such as payloads, might be + // desirable to return only when needed because of its large size or because + // of the sensitivity of data that it contains. // - // Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires - // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) - // permission on the [Task][google.cloud.tasks.v2beta3.Task] resource. + // Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] + // requires `cloudtasks.tasks.fullView` [Google + // IAM](https://cloud.google.com/iam/) permission on the + // [Task][google.cloud.tasks.v2beta3.Task] resource. Task.View response_view = 2; // Maximum page size. // // Fewer tasks than requested might be returned, even if more tasks exist; use - // [next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] in the response to - // determine if more tasks exist. + // [next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] + // in the response to determine if more tasks exist. // // The maximum page size is 1000. If unspecified, the page size will be the // maximum. @@ -513,15 +542,16 @@ message ListTasksRequest { // // To request the first page results, page_token must be empty. To // request the next page of results, page_token must be the value of - // [next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] returned - // from the previous call to [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] - // method. + // [next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] + // returned from the previous call to + // [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] method. // // The page token is valid for only 2 hours. string page_token = 4; } -// Response message for listing tasks using [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks]. +// Response message for listing tasks using +// [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks]. message ListTasksResponse { // The list of tasks. repeated Task tasks = 1; @@ -529,40 +559,42 @@ message ListTasksResponse { // A token to retrieve next page of results. // // To return the next page of results, call - // [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] with this value as the + // [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] with this + // value as the // [page_token][google.cloud.tasks.v2beta3.ListTasksRequest.page_token]. // // If the next_page_token is empty, there are no more results. string next_page_token = 2; } -// Request message for getting a task using [GetTask][google.cloud.tasks.v2beta3.CloudTasks.GetTask]. +// Request message for getting a task using +// [GetTask][google.cloud.tasks.v2beta3.CloudTasks.GetTask]. message GetTaskRequest { // Required. The task name. For example: // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "cloudtasks.googleapis.com/Task" - } + (google.api.resource_reference) = { type: "cloudtasks.googleapis.com/Task" } ]; - // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be - // returned. + // The response_view specifies which subset of the + // [Task][google.cloud.tasks.v2beta3.Task] will be returned. // - // By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all - // information is retrieved by default because some data, such as - // payloads, might be desirable to return only when needed because - // of its large size or because of the sensitivity of data that it - // contains. + // By default response_view is + // [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is + // retrieved by default because some data, such as payloads, might be + // desirable to return only when needed because of its large size or because + // of the sensitivity of data that it contains. // - // Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires - // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) - // permission on the [Task][google.cloud.tasks.v2beta3.Task] resource. + // Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] + // requires `cloudtasks.tasks.fullView` [Google + // IAM](https://cloud.google.com/iam/) permission on the + // [Task][google.cloud.tasks.v2beta3.Task] resource. Task.View response_view = 2; } -// Request message for [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask]. +// Request message for +// [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask]. message CreateTaskRequest { // Required. The queue name. For example: // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` @@ -579,13 +611,13 @@ message CreateTaskRequest { // // Task names have the following format: // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`. - // The user can optionally specify a task [name][google.cloud.tasks.v2beta3.Task.name]. If a - // name is not specified then the system will generate a random - // unique task id, which will be set in the task returned in the - // [response][google.cloud.tasks.v2beta3.Task.name]. + // The user can optionally specify a task + // [name][google.cloud.tasks.v2beta3.Task.name]. If a name is not specified + // then the system will generate a random unique task id, which will be set in + // the task returned in the [response][google.cloud.tasks.v2beta3.Task.name]. // - // If [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] is not set or is in the - // past then Cloud Tasks will set it to the current time. + // If [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] is not + // set or is in the past then Cloud Tasks will set it to the current time. // // Task De-duplication: // @@ -594,34 +626,35 @@ message CreateTaskRequest { // that was deleted or executed recently then the call will fail // with [ALREADY_EXISTS][google.rpc.Code.ALREADY_EXISTS]. // If the task's queue was created using Cloud Tasks, then another task with - // the same name can't be created for ~1hour after the original task was + // the same name can't be created for ~1 hour after the original task was // deleted or executed. If the task's queue was created using queue.yaml or // queue.xml, then another task with the same name can't be created - // for ~9days after the original task was deleted or executed. + // for ~9 days after the original task was deleted or executed. // // Because there is an extra lookup cost to identify duplicate task - // names, these [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] calls have significantly - // increased latency. Using hashed strings for the task id or for - // the prefix of the task id is recommended. Choosing task ids that - // are sequential or have sequential prefixes, for example using a + // names, these [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] + // calls have significantly increased latency. Using hashed strings for the + // task id or for the prefix of the task id is recommended. Choosing task ids + // that are sequential or have sequential prefixes, for example using a // timestamp, causes an increase in latency and error rates in all // task commands. The infrastructure relies on an approximately // uniform distribution of task ids to store and serve tasks // efficiently. Task task = 2 [(google.api.field_behavior) = REQUIRED]; - // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be - // returned. + // The response_view specifies which subset of the + // [Task][google.cloud.tasks.v2beta3.Task] will be returned. // - // By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all - // information is retrieved by default because some data, such as - // payloads, might be desirable to return only when needed because - // of its large size or because of the sensitivity of data that it - // contains. + // By default response_view is + // [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is + // retrieved by default because some data, such as payloads, might be + // desirable to return only when needed because of its large size or because + // of the sensitivity of data that it contains. // - // Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires - // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) - // permission on the [Task][google.cloud.tasks.v2beta3.Task] resource. + // Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] + // requires `cloudtasks.tasks.fullView` [Google + // IAM](https://cloud.google.com/iam/) permission on the + // [Task][google.cloud.tasks.v2beta3.Task] resource. Task.View response_view = 3; } @@ -632,9 +665,7 @@ message DeleteTaskRequest { // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "cloudtasks.googleapis.com/Task" - } + (google.api.resource_reference) = { type: "cloudtasks.googleapis.com/Task" } ]; } @@ -645,22 +676,21 @@ message RunTaskRequest { // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "cloudtasks.googleapis.com/Task" - } + (google.api.resource_reference) = { type: "cloudtasks.googleapis.com/Task" } ]; - // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be - // returned. + // The response_view specifies which subset of the + // [Task][google.cloud.tasks.v2beta3.Task] will be returned. // - // By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all - // information is retrieved by default because some data, such as - // payloads, might be desirable to return only when needed because - // of its large size or because of the sensitivity of data that it - // contains. + // By default response_view is + // [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is + // retrieved by default because some data, such as payloads, might be + // desirable to return only when needed because of its large size or because + // of the sensitivity of data that it contains. // - // Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires - // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) - // permission on the [Task][google.cloud.tasks.v2beta3.Task] resource. + // Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] + // requires `cloudtasks.tasks.fullView` [Google + // IAM](https://cloud.google.com/iam/) permission on the + // [Task][google.cloud.tasks.v2beta3.Task] resource. Task.View response_view = 2; } diff --git a/third_party/googleapis/google/cloud/tasks/v2beta3/cloudtasks_grpc_service_config.json b/third_party/googleapis/google/cloud/tasks/v2beta3/cloudtasks_grpc_service_config.json index 1f65ba37c..9c2cb991f 100755 --- a/third_party/googleapis/google/cloud/tasks/v2beta3/cloudtasks_grpc_service_config.json +++ b/third_party/googleapis/google/cloud/tasks/v2beta3/cloudtasks_grpc_service_config.json @@ -2,6 +2,10 @@ "methodConfig": [ { "name": [ + { + "service": "google.cloud.tasks.v2beta3.CloudTasks", + "method": "BufferTask" + }, { "service": "google.cloud.tasks.v2beta3.CloudTasks", "method": "CreateQueue" @@ -70,6 +74,14 @@ { "service": "google.cloud.tasks.v2beta3.CloudTasks", "method": "DeleteTask" + }, + { + "service": "google.cloud.tasks.v2beta3.CloudTasks", + "method": "UpdateCmekConfig" + }, + { + "service": "google.cloud.tasks.v2beta3.CloudTasks", + "method": "GetCmekConfig" } ], "timeout": "20s", @@ -77,10 +89,7 @@ "initialBackoff": "0.100s", "maxBackoff": "10s", "backoffMultiplier": 1.3, - "retryableStatusCodes": [ - "DEADLINE_EXCEEDED", - "UNAVAILABLE" - ] + "retryableStatusCodes": ["DEADLINE_EXCEEDED", "UNAVAILABLE"] } } ] diff --git a/third_party/googleapis/google/cloud/tasks/v2beta3/cloudtasks_v2beta3.yaml b/third_party/googleapis/google/cloud/tasks/v2beta3/cloudtasks_v2beta3.yaml index 4ce89f974..461a13d3b 100644 --- a/third_party/googleapis/google/cloud/tasks/v2beta3/cloudtasks_v2beta3.yaml +++ b/third_party/googleapis/google/cloud/tasks/v2beta3/cloudtasks_v2beta3.yaml @@ -4,6 +4,7 @@ name: cloudtasks.googleapis.com title: Cloud Tasks API apis: +- name: google.cloud.location.Locations - name: google.cloud.tasks.v2beta3.CloudTasks documentation: @@ -13,14 +14,39 @@ documentation: requests. For more information, see https://cloud.google.com/tasks/. + rules: + - selector: google.cloud.location.Locations.GetLocation + description: Gets information about a location. + + - selector: google.cloud.location.Locations.ListLocations + description: Lists information about the supported locations for this service. backend: rules: + - selector: google.cloud.location.Locations.GetLocation + deadline: 5.0 + - selector: google.cloud.location.Locations.ListLocations + deadline: 5.0 - selector: 'google.cloud.tasks.v2beta3.CloudTasks.*' deadline: 15.0 +http: + rules: + - selector: google.cloud.location.Locations.GetLocation + get: '/v2beta3/{name=projects/*/locations/*}' + - selector: google.cloud.location.Locations.ListLocations + get: '/v2beta3/{name=projects/*}/locations' + authentication: rules: + - selector: google.cloud.location.Locations.GetLocation + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform + - selector: google.cloud.location.Locations.ListLocations + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform - selector: 'google.cloud.tasks.v2beta3.CloudTasks.*' oauth: canonical_scopes: |- diff --git a/third_party/googleapis/google/cloud/tasks/v2beta3/queue.proto b/third_party/googleapis/google/cloud/tasks/v2beta3/queue.proto index 1b0f5f637..f56a080b4 100644 --- a/third_party/googleapis/google/cloud/tasks/v2beta3/queue.proto +++ b/third_party/googleapis/google/cloud/tasks/v2beta3/queue.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ import "google/cloud/tasks/v2beta3/target.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "cloud.google.com/go/tasks/apiv2beta3/taskspb;taskspb"; +option go_package = "cloud.google.com/go/cloudtasks/apiv2beta3/cloudtaskspb;cloudtaskspb"; option java_multiple_files = true; option java_outer_classname = "QueueProto"; option java_package = "com.google.cloud.tasks.v2beta3"; @@ -85,8 +85,9 @@ message Queue { PUSH = 2; } - // Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue], - // after which it becomes output only. + // Caller-specified and required in + // [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue], after + // which it becomes output only. // // The queue name. // @@ -107,31 +108,40 @@ message Queue { string name = 1; oneof queue_type { - // [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to - // [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue. - // [Http tasks][google.cloud.tasks.v2beta3.HttpRequest] are not affected by this proto. + // [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] + // settings apply only to [App Engine + // tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue. + // [Http tasks][google.cloud.tasks.v2beta3.HttpRequest] are not affected by + // this proto. AppEngineHttpQueue app_engine_http_queue = 3; } + // Modifies HTTP target for HTTP tasks. + HttpTarget http_target = 13; + // Rate limits for task dispatches. // - // [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are - // related because they both control task attempts. However they control task - // attempts in different ways: + // [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and + // [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are related + // because they both control task attempts. However they control task attempts + // in different ways: // - // * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the total rate of + // * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the + // total rate of // dispatches from a queue (i.e. all traffic dispatched from the // queue, regardless of whether the dispatch is from a first // attempt or a retry). - // * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls what happens to + // * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls + // what happens to // particular a task after its first attempt fails. That is, - // [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls task retries (the - // second attempt, third attempt, etc). + // [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls + // task retries (the second attempt, third attempt, etc). // // The queue's actual dispatch rate is the result of: // // * Number of tasks in the queue - // * User-specified throttling: [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits], + // * User-specified throttling: + // [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits], // [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config], and the // [queue's state][google.cloud.tasks.v2beta3.Queue.state]. // * System throttling due to `429` (Too Many Requests) or `503` (Service @@ -153,20 +163,23 @@ message Queue { // Output only. The state of the queue. // - // `state` can only be changed by calling + // `state` can only be changed by called // [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue], - // [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue], or uploading + // [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue], or + // uploading // [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref). - // [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue] cannot be used to change `state`. + // [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue] cannot be + // used to change `state`. State state = 6; // Output only. The last time this queue was purged. // - // All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time - // were purged. + // All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] + // before this time were purged. // - // A queue can be purged using [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue], the - // [App Engine Task Queue SDK, or the Cloud + // A queue can be purged using + // [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue], the [App + // Engine Task Queue SDK, or the Cloud // Console](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue). // // Purge time will be truncated to the nearest microsecond. Purge @@ -222,15 +235,18 @@ message Queue { // This message determines the maximum rate that tasks can be dispatched by a // queue, regardless of whether the dispatch is a first task attempt or a retry. // -// Note: The debugging command, [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask], will run a task -// even if the queue has reached its [RateLimits][google.cloud.tasks.v2beta3.RateLimits]. +// Note: The debugging command, +// [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask], will run a task +// even if the queue has reached its +// [RateLimits][google.cloud.tasks.v2beta3.RateLimits]. message RateLimits { // The maximum rate at which tasks are dispatched from this queue. // // If unspecified when the queue is created, Cloud Tasks will pick the // default. // - // * For [App Engine queues][google.cloud.tasks.v2beta3.AppEngineHttpQueue], the maximum allowed value + // * For [App Engine queues][google.cloud.tasks.v2beta3.AppEngineHttpQueue], + // the maximum allowed value // is 500. // // @@ -266,10 +282,11 @@ message RateLimits { // `queue.yaml/xml`, `max_burst_size` is equal to // [bucket_size](https://cloud.google.com/appengine/docs/standard/python/config/queueref#bucket_size). // If - // [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue] is called on a queue without - // explicitly setting a value for `max_burst_size`, + // [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue] is called + // on a queue without explicitly setting a value for `max_burst_size`, // `max_burst_size` value will get updated if - // [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue] is updating + // [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue] is + // updating // [max_dispatches_per_second][google.cloud.tasks.v2beta3.RateLimits.max_dispatches_per_second]. // int32 max_burst_size = 2; @@ -315,9 +332,9 @@ message RetryConfig { // If positive, `max_retry_duration` specifies the time limit for // retrying a failed task, measured from when the task was first // attempted. Once `max_retry_duration` time has passed *and* the - // task has been attempted [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts] - // times, no further attempts will be made and the task will be - // deleted. + // task has been attempted + // [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts] times, + // no further attempts will be made and the task will be deleted. // // If zero, then the task age is unlimited. // @@ -332,11 +349,13 @@ message RetryConfig { // queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). google.protobuf.Duration max_retry_duration = 2; - // A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between + // A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] + // for retry between // [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and - // [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration after it fails, - // if the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the task should be - // retried. + // [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration + // after it fails, if the queue's + // [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the + // task should be retried. // // If unspecified when the queue is created, Cloud Tasks will pick the // default. @@ -349,11 +368,13 @@ message RetryConfig { // queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). google.protobuf.Duration min_backoff = 3; - // A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between + // A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] + // for retry between // [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and - // [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration after it fails, - // if the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the task should be - // retried. + // [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration + // after it fails, if the queue's + // [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the + // task should be retried. // // If unspecified when the queue is created, Cloud Tasks will pick the // default. @@ -369,21 +390,23 @@ message RetryConfig { // The time between retries will double `max_doublings` times. // // A task's retry interval starts at - // [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff], then doubles - // `max_doublings` times, then increases linearly, and finally - // retries at intervals of + // [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff], then + // doubles `max_doublings` times, then increases linearly, and finally retries + // at intervals of // [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] up to // [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts] times. // - // For example, if [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] is 10s, - // [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] is 300s, and - // `max_doublings` is 3, then the a task will first be retried in - // 10s. The retry interval will double three times, and then - // increase linearly by 2^3 * 10s. Finally, the task will retry at - // intervals of [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] until the - // task has been attempted [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts] - // times. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s, - // 240s, 300s, 300s, .... + // For example, if + // [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] is 10s, + // [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] is 300s, + // and `max_doublings` is 3, then the a task will first be retried in 10s. The + // retry interval will double three times, and then increase linearly by 2^3 * + // 10s. Finally, the task will retry at intervals of + // [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] until the + // task has been attempted + // [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts] times. + // Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s, 240s, 300s, + // 300s, .... // // If unspecified when the queue is created, Cloud Tasks will pick the // default. @@ -407,28 +430,32 @@ message StackdriverLoggingConfig { // Statistics for a queue. message QueueStats { - // Output only. An estimation of the number of tasks in the queue, that is, the tasks in - // the queue that haven't been executed, the tasks in the queue which the - // queue has dispatched but has not yet received a reply for, and the failed - // tasks that the queue is retrying. + // Output only. An estimation of the number of tasks in the queue, that is, + // the tasks in the queue that haven't been executed, the tasks in the queue + // which the queue has dispatched but has not yet received a reply for, and + // the failed tasks that the queue is retrying. int64 tasks_count = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. An estimation of the nearest time in the future where a task in the queue - // is scheduled to be executed. - google.protobuf.Timestamp oldest_estimated_arrival_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The number of tasks that the queue has dispatched and received a reply for - // during the last minute. This variable counts both successful and - // non-successful executions. - int64 executed_last_minute_count = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The number of requests that the queue has dispatched but has not received - // a reply for yet. - int64 concurrent_dispatches_count = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The current maximum number of tasks per second executed by the queue. - // The maximum value of this variable is controlled by the RateLimits of the - // Queue. However, this value could be less to avoid overloading the endpoints - // tasks in the queue are targeting. - double effective_execution_rate = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. An estimation of the nearest time in the future where a task + // in the queue is scheduled to be executed. + google.protobuf.Timestamp oldest_estimated_arrival_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The number of tasks that the queue has dispatched and received + // a reply for during the last minute. This variable counts both successful + // and non-successful executions. + int64 executed_last_minute_count = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The number of requests that the queue has dispatched but has + // not received a reply for yet. + int64 concurrent_dispatches_count = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The current maximum number of tasks per second executed by the + // queue. The maximum value of this variable is controlled by the RateLimits + // of the Queue. However, this value could be less to avoid overloading the + // endpoints tasks in the queue are targeting. + double effective_execution_rate = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/third_party/googleapis/google/cloud/tasks/v2beta3/target.proto b/third_party/googleapis/google/cloud/tasks/v2beta3/target.proto index 05c5d7f6d..f68a116cf 100644 --- a/third_party/googleapis/google/cloud/tasks/v2beta3/target.proto +++ b/third_party/googleapis/google/cloud/tasks/v2beta3/target.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,8 +16,7 @@ syntax = "proto3"; package google.cloud.tasks.v2beta3; - -option go_package = "cloud.google.com/go/tasks/apiv2beta3/taskspb;taskspb"; +option go_package = "cloud.google.com/go/cloudtasks/apiv2beta3/cloudtaskspb;cloudtaskspb"; option java_multiple_files = true; option java_outer_classname = "TargetProto"; option java_package = "com.google.cloud.tasks.v2beta3"; @@ -25,8 +24,9 @@ option java_package = "com.google.cloud.tasks.v2beta3"; // Pull Message. // // This proto can only be used for tasks in a queue which has -// [PULL][google.cloud.tasks.v2beta3.Queue.type] type. It currently exists for backwards compatibility with -// the App Engine Task Queue SDK. This message type maybe returned with methods +// [PULL][google.cloud.tasks.v2beta3.Queue.type] type. It currently exists for +// backwards compatibility with the App Engine Task Queue SDK. This message type +// maybe returned with methods // [list][google.cloud.tasks.v2beta3.CloudTask.ListTasks] and // [get][google.cloud.tasks.v2beta3.CloudTask.ListTasks], when the response view // is [FULL][google.cloud.tasks.v2beta3.Task.View.Full]. @@ -46,6 +46,191 @@ message PullMessage { string tag = 2; } +// PathOverride. +// +// Path message defines path override for HTTP targets. +message PathOverride { + // The URI path (e.g., /users/1234). Default is an empty string. + string path = 1; +} + +// QueryOverride. +// +// Query message defines query override for HTTP targets. +message QueryOverride { + // The query parameters (e.g., qparam1=123&qparam2=456). Default is an empty + // string. + string query_params = 1; +} + +// URI Override. +// +// When specified, all the HTTP tasks inside the queue will be partially or +// fully overridden depending on the configured values. +message UriOverride { + // The Scheme for an HTTP request. By default, it is HTTPS. + enum Scheme { + // Scheme unspecified. Defaults to HTTPS. + SCHEME_UNSPECIFIED = 0; + + // Convert the scheme to HTTP, e.g., https://www.google.ca will change to + // http://www.google.ca. + HTTP = 1; + + // Convert the scheme to HTTPS, e.g., http://www.google.ca will change to + // https://www.google.ca. + HTTPS = 2; + } + + // UriOverrideEnforceMode mode is to define enforcing mode for the override + // modes. + enum UriOverrideEnforceMode { + // OverrideMode Unspecified. Defaults to ALWAYS. + URI_OVERRIDE_ENFORCE_MODE_UNSPECIFIED = 0; + + // In the IF_NOT_EXISTS mode, queue-level configuration is only + // applied where task-level configuration does not exist. + IF_NOT_EXISTS = 1; + + // In the ALWAYS mode, queue-level configuration overrides all + // task-level configuration + ALWAYS = 2; + } + + // Scheme override. + // + // When specified, the task URI scheme is replaced by the provided value (HTTP + // or HTTPS). + optional Scheme scheme = 1; + + // Host override. + // + // When specified, replaces the host part of the task URL. For example, + // if the task URL is "https://www.google.com," and host value is set to + // "example.net", the overridden URI will be changed to "https://example.net." + // Host value cannot be an empty string (INVALID_ARGUMENT). + optional string host = 2; + + // Port override. + // + // When specified, replaces the port part of the task URI. For instance, + // for a URI http://www.google.com/foo and port=123, the overridden URI + // becomes http://www.google.com:123/foo. Note that the port value must be a + // positive integer. Setting the port to 0 (Zero) clears the URI port. + optional int64 port = 3; + + // URI path. + // + // When specified, replaces the existing path of the task URL. Setting the + // path value to an empty string clears the URI path segment. + PathOverride path_override = 4; + + // URI Query. + // + // When specified, replaces the query part of the task URI. Setting the + // query value to an empty string clears the URI query segment. + QueryOverride query_override = 5; + + // URI Override Enforce Mode + // + // When specified, determines the Target UriOverride mode. If not specified, + // it defaults to ALWAYS. + UriOverrideEnforceMode uri_override_enforce_mode = 6; +} + +// HTTP target. +// +// When specified as a [Queue][target_type], all the tasks with [HttpRequest] +// will be overridden according to the target. +message HttpTarget { + // Defines a header message. A header can have a key and a value. + message Header { + // The Key of the header. + string key = 1; + + // The Value of the header. + string value = 2; + } + + // Wraps the Header object. + message HeaderOverride { + // header embodying a key and a value. + Header header = 1; + } + + // URI override. + // + // When specified, overrides the execution URI for all the tasks in the queue. + UriOverride uri_override = 1; + + // The HTTP method to use for the request. + // + // When specified, it overrides + // [HttpRequest][google.cloud.tasks.v2beta3.HttpTarget.http_method] for the + // task. Note that if the value is set to [HttpMethod][GET] the + // [HttpRequest][body] of the task will be ignored at execution time. + HttpMethod http_method = 2; + + // HTTP target headers. + // + // This map contains the header field names and values. + // Headers will be set when running the + // [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] and/or + // [BufferTask][google.cloud.tasks.v2beta3.CloudTasks.BufferTask]. + // + // These headers represent a subset of the headers that will be configured for + // the task's HTTP request. Some HTTP request headers will be ignored or + // replaced. + // + // A partial list of headers that will be ignored or replaced is: + // * Several predefined headers, prefixed with "X-CloudTasks-", can + // be used to define properties of the task. + // * Host: This will be computed by Cloud Tasks and derived from + // [HttpRequest.url][google.cloud.tasks.v2beta3.Target.HttpRequest.url]. + // * Content-Length: This will be computed by Cloud Tasks. + // + // `Content-Type` won't be set by Cloud Tasks. You can explicitly set + // `Content-Type` to a media type when the + // [task is created][google.cloud.tasks.v2beta3.CloudTasks.CreateTask]. + // For example,`Content-Type` can be set to `"application/octet-stream"` or + // `"application/json"`. The default value is set to `"application/json"`. + // + // * User-Agent: This will be set to `"Google-Cloud-Tasks"`. + // + // Headers which can have multiple values (according to RFC2616) can be + // specified using comma-separated values. + // + // The size of the headers must be less than 80KB. + // Queue-level headers to override headers of all the tasks in the queue. + repeated HeaderOverride header_overrides = 3; + + // The mode for generating an `Authorization` header for HTTP requests. + // + // If specified, all `Authorization` headers in the + // [HttpRequest.headers][google.cloud.tasks.v2beta3.HttpRequest.headers] field + // will be overridden. + oneof authorization_header { + // If specified, an + // [OAuth token](https://developers.google.com/identity/protocols/OAuth2) + // will be generated and attached as the `Authorization` header in the HTTP + // request. + // + // This type of authorization should generally only be used when calling + // Google APIs hosted on *.googleapis.com. + OAuthToken oauth_token = 5; + + // If specified, an + // [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect) + // token will be generated and attached as an `Authorization` header in the + // HTTP request. + // + // This type of authorization can be used for many scenarios, including + // calling Cloud Run, or endpoints where you intend to validate the token + // yourself. + OidcToken oidc_token = 6; + } +} + // HTTP request. // // The task will be pushed to the worker as an HTTP request. If the worker @@ -54,8 +239,10 @@ message PullMessage { // any other HTTP response code is returned or no response is received, the // task will be retried according to the following: // -// * User-specified throttling: [retry configuration][google.cloud.tasks.v2beta3.Queue.retry_config], -// [rate limits][google.cloud.tasks.v2beta3.Queue.rate_limits], and the [queue's state][google.cloud.tasks.v2beta3.Queue.state]. +// * User-specified throttling: [retry +// configuration][google.cloud.tasks.v2beta3.Queue.retry_config], +// [rate limits][google.cloud.tasks.v2beta3.Queue.rate_limits], and the +// [queue's state][google.cloud.tasks.v2beta3.Queue.state]. // // * System throttling: To prevent the worker from overloading, Cloud Tasks may // temporarily reduce the queue's effective rate. User-specified settings @@ -64,10 +251,11 @@ message PullMessage { // System throttling happens because: // // * Cloud Tasks backs off on all errors. Normally the backoff specified in -// [rate limits][google.cloud.tasks.v2beta3.Queue.rate_limits] will be used. But if the worker returns -// `429` (Too Many Requests), `503` (Service Unavailable), or the rate of -// errors is high, Cloud Tasks will use a higher backoff rate. The retry -// specified in the `Retry-After` HTTP response header is considered. +// [rate limits][google.cloud.tasks.v2beta3.Queue.rate_limits] will be used. +// But if the worker returns `429` (Too Many Requests), `503` (Service +// Unavailable), or the rate of errors is high, Cloud Tasks will use a +// higher backoff rate. The retry specified in the `Retry-After` HTTP +// response header is considered. // // * To prevent traffic spikes and to smooth sudden increases in traffic, // dispatches ramp up slowly when the queue is newly created or idle and @@ -100,6 +288,9 @@ message HttpRequest { // // A partial list of headers that will be ignored or replaced is: // + // * Any header that is prefixed with "X-CloudTasks-" will be treated + // as service header. Service headers define properties of the task and are + // predefined in CloudTask. // * Host: This will be computed by Cloud Tasks and derived from // [HttpRequest.url][google.cloud.tasks.v2beta3.HttpRequest.url]. // * Content-Length: This will be computed by Cloud Tasks. @@ -122,14 +313,16 @@ message HttpRequest { // HTTP request body. // // A request body is allowed only if the - // [HTTP method][google.cloud.tasks.v2beta3.HttpRequest.http_method] is POST, PUT, or PATCH. It is an - // error to set body on a task with an incompatible [HttpMethod][google.cloud.tasks.v2beta3.HttpMethod]. + // [HTTP method][google.cloud.tasks.v2beta3.HttpRequest.http_method] is POST, + // PUT, or PATCH. It is an error to set body on a task with an incompatible + // [HttpMethod][google.cloud.tasks.v2beta3.HttpMethod]. bytes body = 4; // The mode for generating an `Authorization` header for HTTP requests. // - // If specified, all `Authorization` headers in the [HttpRequest.headers][google.cloud.tasks.v2beta3.HttpRequest.headers] - // field will be overridden. + // If specified, all `Authorization` headers in the + // [HttpRequest.headers][google.cloud.tasks.v2beta3.HttpRequest.headers] field + // will be overridden. oneof authorization_header { // If specified, an // [OAuth token](https://developers.google.com/identity/protocols/OAuth2) @@ -155,11 +348,15 @@ message HttpRequest { // App Engine HTTP queue. // // The task will be delivered to the App Engine application hostname -// specified by its [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] and [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest]. -// The documentation for [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] explains how the -// task's host URL is constructed. +// specified by its +// [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] and +// [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest]. The +// documentation for +// [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] +// explains how the task's host URL is constructed. // -// Using [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] requires +// Using [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] +// requires // [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control) // Google IAM permission for the project // and the following scope: @@ -167,11 +364,13 @@ message HttpRequest { // `https://www.googleapis.com/auth/cloud-platform` message AppEngineHttpQueue { // Overrides for the - // [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. + // [task-level + // app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. // // If set, `app_engine_routing_override` is used for all tasks in // the queue, no matter what the setting is for the - // [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. + // [task-level + // app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. AppEngineRouting app_engine_routing_override = 1; } @@ -180,7 +379,8 @@ message AppEngineHttpQueue { // The message defines the HTTP request that is sent to an App Engine app when // the task is dispatched. // -// Using [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] requires +// Using [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] +// requires // [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control) // Google IAM permission for the project // and the following scope: @@ -200,14 +400,16 @@ message AppEngineHttpQueue { // The request to the handler, however, will appear to have used the HTTP // protocol. // -// The [AppEngineRouting][google.cloud.tasks.v2beta3.AppEngineRouting] used to construct the URL that the task is -// delivered to can be set at the queue-level or task-level: +// The [AppEngineRouting][google.cloud.tasks.v2beta3.AppEngineRouting] used to +// construct the URL that the task is delivered to can be set at the queue-level +// or task-level: // // * If set, // [app_engine_routing_override][google.cloud.tasks.v2beta3.AppEngineHttpQueue.app_engine_routing_override] // is used for all tasks in the queue, no matter what the setting // is for the -// [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. +// [task-level +// app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. // // // The `url` that the task will be sent to is: @@ -228,14 +430,15 @@ message AppEngineHttpQueue { // The task attempt has succeeded if the app's request handler returns an HTTP // response code in the range [`200` - `299`]. The task attempt has failed if // the app's handler returns a non-2xx response code or Cloud Tasks does -// not receive response before the [deadline][google.cloud.tasks.v2beta3.Task.dispatch_deadline]. Failed -// tasks will be retried according to the -// [retry configuration][google.cloud.tasks.v2beta3.Queue.retry_config]. `503` (Service Unavailable) is -// considered an App Engine system error instead of an application error and -// will cause Cloud Tasks' traffic congestion control to temporarily throttle -// the queue's dispatches. Unlike other types of task targets, a `429` (Too Many -// Requests) response from an app handler does not cause traffic congestion -// control to throttle the queue. +// not receive response before the +// [deadline][google.cloud.tasks.v2beta3.Task.dispatch_deadline]. Failed tasks +// will be retried according to the [retry +// configuration][google.cloud.tasks.v2beta3.Queue.retry_config]. `503` (Service +// Unavailable) is considered an App Engine system error instead of an +// application error and will cause Cloud Tasks' traffic congestion control to +// temporarily throttle the queue's dispatches. Unlike other types of task +// targets, a `429` (Too Many Requests) response from an app handler does not +// cause traffic congestion control to throttle the queue. message AppEngineHttpRequest { // The HTTP method to use for the request. The default is POST. // @@ -252,7 +455,8 @@ message AppEngineHttpRequest { // If set, // [app_engine_routing_override][google.cloud.tasks.v2beta3.AppEngineHttpQueue.app_engine_routing_override] // is used for all tasks in the queue, no matter what the setting is for the - // [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. + // [task-level + // app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. AppEngineRouting app_engine_routing = 2; // The relative URI. @@ -278,8 +482,9 @@ message AppEngineHttpRequest { // `"AppEngine-Google; (+http://code.google.com/appengine)"` to the // modified `User-Agent`. // - // If the task has a [body][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body], Cloud - // Tasks sets the following headers: + // If the task has a + // [body][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body], Cloud Tasks + // sets the following headers: // // * `Content-Type`: By default, the `Content-Type` header is set to // `"application/octet-stream"`. The default can be overridden by explicitly @@ -303,14 +508,17 @@ message AppEngineHttpRequest { // visible when the task is returned in a Cloud Tasks response. // // Although there is no specific limit for the maximum number of headers or - // the size, there is a limit on the maximum size of the [Task][google.cloud.tasks.v2beta3.Task]. For more - // information, see the [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] documentation. + // the size, there is a limit on the maximum size of the + // [Task][google.cloud.tasks.v2beta3.Task]. For more information, see the + // [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] + // documentation. map headers = 4; // HTTP request body. // // A request body is allowed only if the HTTP method is POST or PUT. It is - // an error to set a body on a task with an incompatible [HttpMethod][google.cloud.tasks.v2beta3.HttpMethod]. + // an error to set a body on a task with an incompatible + // [HttpMethod][google.cloud.tasks.v2beta3.HttpMethod]. bytes body = 5; } @@ -335,16 +543,18 @@ message AppEngineRouting { // service when the task is attempted. // // For some queues or tasks which were created using the App Engine - // Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable - // into [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], - // [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - // [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For example, some tasks - // which were created using the App Engine SDK use a custom domain - // name; custom domains are not parsed by Cloud Tasks. If - // [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, then + // Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is + // not parsable into // [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], // [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - // [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the empty string. + // [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For + // example, some tasks which were created using the App Engine SDK use a + // custom domain name; custom domains are not parsed by Cloud Tasks. If + // [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, + // then [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + // [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and + // [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the + // empty string. string service = 1; // App version. @@ -353,16 +563,18 @@ message AppEngineRouting { // version when the task is attempted. // // For some queues or tasks which were created using the App Engine - // Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable - // into [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], - // [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - // [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For example, some tasks - // which were created using the App Engine SDK use a custom domain - // name; custom domains are not parsed by Cloud Tasks. If - // [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, then + // Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is + // not parsable into // [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], // [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - // [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the empty string. + // [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For + // example, some tasks which were created using the App Engine SDK use a + // custom domain name; custom domains are not parsed by Cloud Tasks. If + // [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, + // then [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + // [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and + // [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the + // empty string. string version = 2; // App instance. @@ -384,9 +596,11 @@ message AppEngineRouting { // // The host is constructed from the domain name of the app associated with // the queue's project ID (for example .appspot.com), and the - // [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], - // and [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. Tasks which were created using - // the App Engine SDK might have a custom domain name. + // [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + // [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and + // [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. Tasks + // which were created using the App Engine SDK might have a custom domain + // name. // // For more information, see // [How Requests are diff --git a/third_party/googleapis/google/cloud/tasks/v2beta3/task.proto b/third_party/googleapis/google/cloud/tasks/v2beta3/task.proto index 69ffe26f7..eb8df59f2 100644 --- a/third_party/googleapis/google/cloud/tasks/v2beta3/task.proto +++ b/third_party/googleapis/google/cloud/tasks/v2beta3/task.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; -option go_package = "cloud.google.com/go/tasks/apiv2beta3/taskspb;taskspb"; +option go_package = "cloud.google.com/go/cloudtasks/apiv2beta3/cloudtaskspb;cloudtaskspb"; option java_multiple_files = true; option java_outer_classname = "TaskProto"; option java_package = "com.google.cloud.tasks.v2beta3"; @@ -34,7 +34,8 @@ message Task { pattern: "projects/{project}/locations/{location}/queues/{queue}/tasks/{task}" }; - // The view specifies a subset of [Task][google.cloud.tasks.v2beta3.Task] data. + // The view specifies a subset of [Task][google.cloud.tasks.v2beta3.Task] + // data. // // When a task is returned in a response, not all // information is retrieved by default because some data, such as @@ -49,7 +50,8 @@ message Task { // sensitive data. // // This view does not include the - // [body in AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body]. + // [body in + // AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body]. // Bodies are desirable to return only when needed, because they // can be large and because of the sensitivity of the data that you // choose to store in it. @@ -57,13 +59,15 @@ message Task { // All information is returned. // - // Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires - // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) - // permission on the [Queue][google.cloud.tasks.v2beta3.Queue] resource. + // Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] + // requires `cloudtasks.tasks.fullView` [Google + // IAM](https://cloud.google.com/iam/) permission on the + // [Queue][google.cloud.tasks.v2beta3.Queue] resource. FULL = 2; } - // Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask]. + // Optionally caller-specified in + // [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask]. // // The task name. // @@ -89,18 +93,21 @@ message Task { oneof payload_type { // HTTP request that is sent to the App Engine app handler. // - // An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set. + // An App Engine task is a task that has + // [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] + // set. AppEngineHttpRequest app_engine_http_request = 3; // HTTP request that is sent to the task's target. // - // An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set. + // An HTTP task is a task that has + // [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set. HttpRequest http_request = 11; - // Pull Message contained in a task in a [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This - // payload type cannot be explicitly set through Cloud Tasks API. Its - // purpose, currently is to provide backward compatibility with App Engine - // Task Queue + // Pull Message contained in a task in a + // [PULL][google.cloud.tasks.v2beta3.Queue.type] queue type. This payload + // type cannot be explicitly set through Cloud Tasks API. Its purpose, + // currently is to provide backward compatibility with App Engine Task Queue // [pull](https://cloud.google.com/appengine/docs/standard/java/taskqueue/pull/) // queues to provide a way to inspect contents of pull tasks through the // [CloudTasks.GetTask][google.cloud.tasks.v2beta3.CloudTasks.GetTask]. @@ -122,7 +129,8 @@ message Task { // The deadline for requests sent to the worker. If the worker does not // respond by this deadline then the request is cancelled and the attempt // is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the - // task according to the [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig]. + // task according to the + // [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig]. // // Note that when the request is cancelled, Cloud Tasks will stop listening // for the response, but whether the worker stops processing depends on the @@ -131,10 +139,12 @@ message Task { // // The default and maximum values depend on the type of request: // - // * For [HTTP tasks][google.cloud.tasks.v2beta3.HttpRequest], the default is 10 minutes. The deadline + // * For [HTTP tasks][google.cloud.tasks.v2beta3.HttpRequest], the default is + // 10 minutes. The deadline // must be in the interval [15 seconds, 30 minutes]. // - // * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], 0 indicates that the + // * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], + // 0 indicates that the // request has the default deadline. The default deadline depends on the // [scaling // type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling) @@ -163,15 +173,16 @@ message Task { // Output only. The status of the task's first attempt. // - // Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set. - // The other [Attempt][google.cloud.tasks.v2beta3.Attempt] information is not retained by Cloud Tasks. + // Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will + // be set. The other [Attempt][google.cloud.tasks.v2beta3.Attempt] information + // is not retained by Cloud Tasks. Attempt first_attempt = 8; // Output only. The status of the task's last attempt. Attempt last_attempt = 9; - // Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has - // been returned. + // Output only. The view specifies which subset of the + // [Task][google.cloud.tasks.v2beta3.Task] has been returned. View view = 10; } diff --git a/third_party/googleapis/google/cloud/telcoautomation/v1alpha1/telcoautomation_v1alpha1.yaml b/third_party/googleapis/google/cloud/telcoautomation/v1alpha1/telcoautomation_v1alpha1.yaml index bfb6a700e..f76945c41 100644 --- a/third_party/googleapis/google/cloud/telcoautomation/v1alpha1/telcoautomation_v1alpha1.yaml +++ b/third_party/googleapis/google/cloud/telcoautomation/v1alpha1/telcoautomation_v1alpha1.yaml @@ -5,19 +5,11 @@ title: Telco Automation API apis: - name: google.cloud.location.Locations -<<<<<<<< HEAD:third_party/googleapis/google/cloud/tpu/v2alpha1/tpu_v2alpha1.yaml -- name: google.cloud.tpu.v2alpha1.Tpu -- name: google.longrunning.Operations - -types: -- name: google.cloud.tpu.v2alpha1.OperationMetadata -======== - name: google.cloud.telcoautomation.v1alpha1.TelcoAutomation - name: google.longrunning.Operations types: - name: google.cloud.telcoautomation.v1alpha1.OperationMetadata ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/cloud/telcoautomation/v1alpha1/telcoautomation_v1alpha1.yaml documentation: summary: APIs to automate management of cloud infrastructure for network functions. @@ -31,19 +23,6 @@ documentation: http: rules: - selector: google.cloud.location.Locations.GetLocation -<<<<<<<< HEAD:third_party/googleapis/google/cloud/tpu/v2alpha1/tpu_v2alpha1.yaml - get: '/v2alpha1/{name=projects/*/locations/*}' - - selector: google.cloud.location.Locations.ListLocations - get: '/v2alpha1/{name=projects/*}/locations' - - selector: google.longrunning.Operations.CancelOperation - post: '/v2alpha1/{name=projects/*/locations/*/operations/*}:cancel' - - selector: google.longrunning.Operations.DeleteOperation - delete: '/v2alpha1/{name=projects/*/locations/*/operations/*}' - - selector: google.longrunning.Operations.GetOperation - get: '/v2alpha1/{name=projects/*/locations/*/operations/*}' - - selector: google.longrunning.Operations.ListOperations - get: '/v2alpha1/{name=projects/*/locations/*}/operations' -======== get: '/v1alpha1/{name=projects/*/locations/*}' - selector: google.cloud.location.Locations.ListLocations get: '/v1alpha1/{name=projects/*}/locations' @@ -56,7 +35,6 @@ http: get: '/v1alpha1/{name=projects/*/locations/*/operations/*}' - selector: google.longrunning.Operations.ListOperations get: '/v1alpha1/{name=projects/*/locations/*}/operations' ->>>>>>>> 046687af63d391fd9e6a7e25dc7f4fcda6d9aa90:third_party/googleapis/google/cloud/telcoautomation/v1alpha1/telcoautomation_v1alpha1.yaml authentication: rules: diff --git a/third_party/googleapis/google/cloud/texttospeech/BUILD.bazel b/third_party/googleapis/google/cloud/texttospeech/BUILD.bazel index 0654fc51e..e6bf0ed84 100644 --- a/third_party/googleapis/google/cloud/texttospeech/BUILD.bazel +++ b/third_party/googleapis/google/cloud/texttospeech/BUILD.bazel @@ -22,7 +22,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-text_to_speech", "ruby-cloud-env-prefix=TEXTTOSPEECH", - "ruby-cloud-wrapper-of=v1:0.9;v1beta1:0.10", + "ruby-cloud-wrapper-of=v1:0.12;v1beta1:0.13", "ruby-cloud-product-url=https://cloud.google.com/text-to-speech", "ruby-cloud-api-id=texttospeech.googleapis.com", "ruby-cloud-api-shortname=texttospeech", diff --git a/third_party/googleapis/google/cloud/texttospeech/v1/BUILD.bazel b/third_party/googleapis/google/cloud/texttospeech/v1/BUILD.bazel index 8cdfe83ca..90b872bb8 100644 --- a/third_party/googleapis/google/cloud/texttospeech/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/texttospeech/v1/BUILD.bazel @@ -114,7 +114,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -146,19 +145,13 @@ go_gapic_library( ], ) -go_test( - name = "texttospeech_go_gapic_test", - srcs = [":texttospeech_go_gapic_srcjar_test"], - embed = [":texttospeech_go_gapic"], - importpath = "cloud.google.com/go/texttospeech/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-texttospeech-v1-go", deps = [ ":texttospeech_go_gapic", ":texttospeech_go_gapic_srcjar-metadata.srcjar", + ":texttospeech_go_gapic_srcjar-snippets.srcjar", ":texttospeech_go_gapic_srcjar-test.srcjar", ":texttospeech_go_proto", ], @@ -210,7 +203,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -219,23 +211,15 @@ php_proto_library( deps = [":texttospeech_proto"], ) -php_grpc_library( - name = "texttospeech_php_grpc", - srcs = [":texttospeech_proto"], - deps = [":texttospeech_php_proto"], -) - php_gapic_library( name = "texttospeech_php_gapic", srcs = [":texttospeech_proto_with_info"], grpc_service_config = "texttospeech_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "texttospeech_v1.yaml", transport = "grpc+rest", - deps = [ - ":texttospeech_php_grpc", - ":texttospeech_php_proto", - ], + deps = [":texttospeech_php_proto"], ) # Open Source Packages @@ -243,7 +227,6 @@ php_gapic_assembly_pkg( name = "google-cloud-texttospeech-v1-php", deps = [ ":texttospeech_php_gapic", - ":texttospeech_php_grpc", ":texttospeech_php_proto", ], ) diff --git a/third_party/googleapis/google/cloud/texttospeech/v1/cloud_tts.proto b/third_party/googleapis/google/cloud/texttospeech/v1/cloud_tts.proto index 72fe71282..9ab65b1b7 100644 --- a/third_party/googleapis/google/cloud/texttospeech/v1/cloud_tts.proto +++ b/third_party/googleapis/google/cloud/texttospeech/v1/cloud_tts.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -266,9 +266,8 @@ message AudioConfig { // Description of the custom voice to be synthesized. message CustomVoiceParams { - // The usage of the synthesized audio. You must report your honest and - // correct usage of the service as it's regulated by contract and will cause - // significant difference in billing. + // Deprecated. The usage of the synthesized audio. Usage does not affect + // billing. enum ReportedUsage { // Request with reported usage unspecified will be rejected. REPORTED_USAGE_UNSPECIFIED = 0; @@ -289,8 +288,9 @@ message CustomVoiceParams { (google.api.resource_reference) = { type: "automl.googleapis.com/Model" } ]; - // Optional. The usage of the synthesized audio to be reported. - ReportedUsage reported_usage = 3 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Deprecated. The usage of the synthesized audio to be reported. + ReportedUsage reported_usage = 3 + [deprecated = true, (google.api.field_behavior) = OPTIONAL]; } // The message returned to the client by the `SynthesizeSpeech` method. diff --git a/third_party/googleapis/google/cloud/texttospeech/v1/cloud_tts_lrs.proto b/third_party/googleapis/google/cloud/texttospeech/v1/cloud_tts_lrs.proto index 6f9662355..67bc4bd86 100644 --- a/third_party/googleapis/google/cloud/texttospeech/v1/cloud_tts_lrs.proto +++ b/third_party/googleapis/google/cloud/texttospeech/v1/cloud_tts_lrs.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -42,12 +42,12 @@ service TextToSpeechLongAudioSynthesize { rpc SynthesizeLongAudio(SynthesizeLongAudioRequest) returns (google.longrunning.Operation) { option (google.api.http) = { - post: "/v1/{parent=projects/*/locations/*/voices/*}:SynthesizeLongAudio" + post: "/v1/{parent=projects/*/locations/*}:synthesizeLongAudio" body: "*" }; option (google.longrunning.operation_info) = { - response_type: "SynthesizeLongAudioResponse" - metadata_type: "SynthesizeLongAudioMetadata" + response_type: "google.cloud.texttospeech.v1.SynthesizeLongAudioResponse" + metadata_type: "google.cloud.texttospeech.v1.SynthesizeLongAudioMetadata" }; } } @@ -56,22 +56,23 @@ service TextToSpeechLongAudioSynthesize { // `SynthesizeLongAudio` method. message SynthesizeLongAudioRequest { // The resource states of the request in the form of - // `projects/*/locations/*/voices/*`. + // `projects/*/locations/*`. string parent = 1; // Required. The Synthesizer requires either plain text or SSML as input. + // While Long Audio is in preview, SSML is temporarily unsupported. SynthesisInput input = 2 [(google.api.field_behavior) = REQUIRED]; // Required. The configuration of the synthesized audio. AudioConfig audio_config = 3 [(google.api.field_behavior) = REQUIRED]; - // Specifies a Cloud Storage URI for the synthesis results. Must be + // Required. Specifies a Cloud Storage URI for the synthesis results. Must be // specified in the format: `gs://bucket_name/object_name`, and the bucket // must already exist. - string output_gcs_uri = 4; + string output_gcs_uri = 4 [(google.api.field_behavior) = REQUIRED]; - // The desired voice of the synthesized audio. - VoiceSelectionParams voice = 5; + // Required. The desired voice of the synthesized audio. + VoiceSelectionParams voice = 5 [(google.api.field_behavior) = REQUIRED]; } // The message returned to the client by the `SynthesizeLongAudio` method. @@ -82,8 +83,8 @@ message SynthesizeLongAudioMetadata { // Time when the request was received. google.protobuf.Timestamp start_time = 1; - // Time of the most recent processing update. - google.protobuf.Timestamp last_update_time = 2; + // Deprecated. Do not use. + google.protobuf.Timestamp last_update_time = 2 [deprecated = true]; // The progress of the most recent processing update in percentage, ie. 70.0%. double progress_percentage = 3; diff --git a/third_party/googleapis/google/cloud/texttospeech/v1/texttospeech_v1.yaml b/third_party/googleapis/google/cloud/texttospeech/v1/texttospeech_v1.yaml index f0503fdab..2b22f1d0e 100644 --- a/third_party/googleapis/google/cloud/texttospeech/v1/texttospeech_v1.yaml +++ b/third_party/googleapis/google/cloud/texttospeech/v1/texttospeech_v1.yaml @@ -8,6 +8,9 @@ apis: - name: google.cloud.texttospeech.v1.TextToSpeechLongAudioSynthesize - name: google.longrunning.Operations +types: +- name: google.cloud.texttospeech.v1.SynthesizeLongAudioMetadata + documentation: summary: |- Synthesizes natural-sounding speech by applying powerful neural network @@ -17,6 +20,13 @@ documentation: Google Cloud Text-to-Speech API provides speech synthesis as a service. +http: + rules: + - selector: google.longrunning.Operations.GetOperation + get: '/v1/{name=projects/*/locations/*/operations/*}' + - selector: google.longrunning.Operations.ListOperations + get: '/v1/{name=projects/*/locations/*}/operations' + authentication: rules: - selector: google.cloud.texttospeech.v1.TextToSpeech.ListVoices diff --git a/third_party/googleapis/google/cloud/texttospeech/v1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/texttospeech/v1beta1/BUILD.bazel index ea415144f..f7d97ade7 100644 --- a/third_party/googleapis/google/cloud/texttospeech/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/texttospeech/v1beta1/BUILD.bazel @@ -114,7 +114,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -146,19 +145,13 @@ go_gapic_library( ], ) -go_test( - name = "texttospeech_go_gapic_test", - srcs = [":texttospeech_go_gapic_srcjar_test"], - embed = [":texttospeech_go_gapic"], - importpath = "cloud.google.com/go/texttospeech/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-texttospeech-v1beta1-go", deps = [ ":texttospeech_go_gapic", ":texttospeech_go_gapic_srcjar-metadata.srcjar", + ":texttospeech_go_gapic_srcjar-snippets.srcjar", ":texttospeech_go_gapic_srcjar-test.srcjar", ":texttospeech_go_proto", ], @@ -210,7 +203,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -219,12 +211,6 @@ php_proto_library( deps = [":texttospeech_proto"], ) -php_grpc_library( - name = "texttospeech_php_grpc", - srcs = [":texttospeech_proto"], - deps = [":texttospeech_php_proto"], -) - php_gapic_library( name = "texttospeech_php_gapic", srcs = [":texttospeech_proto_with_info"], @@ -232,10 +218,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "texttospeech_v1beta1.yaml", transport = "grpc+rest", - deps = [ - ":texttospeech_php_grpc", - ":texttospeech_php_proto", - ], + deps = [":texttospeech_php_proto"], ) # Open Source Packages @@ -243,7 +226,6 @@ php_gapic_assembly_pkg( name = "google-cloud-texttospeech-v1beta1-php", deps = [ ":texttospeech_php_gapic", - ":texttospeech_php_grpc", ":texttospeech_php_proto", ], ) diff --git a/third_party/googleapis/google/cloud/texttospeech/v1beta1/cloud_tts.proto b/third_party/googleapis/google/cloud/texttospeech/v1beta1/cloud_tts.proto index b1cd15153..8a3d29a16 100644 --- a/third_party/googleapis/google/cloud/texttospeech/v1beta1/cloud_tts.proto +++ b/third_party/googleapis/google/cloud/texttospeech/v1beta1/cloud_tts.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -37,7 +37,8 @@ option (google.api.resource_definition) = { // Service that implements Google Cloud Text-to-Speech API. service TextToSpeech { option (google.api.default_host) = "texttospeech.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Returns a list of Voice supported for synthesis. rpc ListVoices(ListVoicesRequest) returns (ListVoicesResponse) { @@ -49,7 +50,8 @@ service TextToSpeech { // Synthesizes speech synchronously: receive results after all text input // has been processed. - rpc SynthesizeSpeech(SynthesizeSpeechRequest) returns (SynthesizeSpeechResponse) { + rpc SynthesizeSpeech(SynthesizeSpeechRequest) + returns (SynthesizeSpeechResponse) { option (google.api.http) = { post: "/v1beta1/text:synthesize" body: "*" @@ -81,7 +83,8 @@ enum SsmlVoiceGender { // Configuration to set up audio encoder. The encoding determines the output // audio format that we'd like. enum AudioEncoding { - // Not specified. Will return result [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. + // Not specified. Will return result + // [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. AUDIO_ENCODING_UNSPECIFIED = 0; // Uncompressed 16-bit signed little-endian samples (Linear PCM). @@ -171,8 +174,8 @@ message SynthesizeSpeechRequest { // Contains text input to be synthesized. Either `text` or `ssml` must be // supplied. Supplying both or neither returns -// [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. The input size is limited to 5000 -// bytes. +// [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. The +// input size is limited to 5000 bytes. message SynthesisInput { // The input source, which is either plain text or SSML. oneof input_source { @@ -181,7 +184,8 @@ message SynthesisInput { // The SSML document to be synthesized. The SSML document must be valid // and well-formed. Otherwise the RPC will fail and return - // [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. For more information, see + // [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. For + // more information, see // [SSML](https://cloud.google.com/text-to-speech/docs/ssml). string ssml = 2; } @@ -189,9 +193,9 @@ message SynthesisInput { // Description of which voice to use for a synthesis request. message VoiceSelectionParams { - // Required. The language (and potentially also the region) of the voice expressed as a - // [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag, e.g. - // "en-US". This should not include a script tag (e.g. use + // Required. The language (and potentially also the region) of the voice + // expressed as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) + // language tag, e.g. "en-US". This should not include a script tag (e.g. use // "cmn-cn" rather than "cmn-Hant-cn"), because the script will be inferred // from the input provided in the SynthesisInput. The TTS service // will use this parameter to help choose an appropriate voice. Note that @@ -277,9 +281,8 @@ message AudioConfig { // Description of the custom voice to be synthesized. message CustomVoiceParams { - // The usage of the synthesized audio. You must report your honest and - // correct usage of the service as it's regulated by contract and will cause - // significant difference in billing. + // Deprecated. The usage of the synthesized audio. Usage does not affect + // billing. enum ReportedUsage { // Request with reported usage unspecified will be rejected. REPORTED_USAGE_UNSPECIFIED = 0; @@ -297,13 +300,12 @@ message CustomVoiceParams { // Required. The name of the AutoML model that synthesizes the custom voice. string model = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "automl.googleapis.com/Model" - } + (google.api.resource_reference) = { type: "automl.googleapis.com/Model" } ]; - // Optional. The usage of the synthesized audio to be reported. - ReportedUsage reported_usage = 3 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Deprecated. The usage of the synthesized audio to be reported. + ReportedUsage reported_usage = 3 + [deprecated = true, (google.api.field_behavior) = OPTIONAL]; } // The message returned to the client by the `SynthesizeSpeech` method. diff --git a/third_party/googleapis/google/cloud/texttospeech/v1beta1/cloud_tts_lrs.proto b/third_party/googleapis/google/cloud/texttospeech/v1beta1/cloud_tts_lrs.proto index ecfecf0a4..f159ae4f4 100644 --- a/third_party/googleapis/google/cloud/texttospeech/v1beta1/cloud_tts_lrs.proto +++ b/third_party/googleapis/google/cloud/texttospeech/v1beta1/cloud_tts_lrs.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -42,12 +42,12 @@ service TextToSpeechLongAudioSynthesize { rpc SynthesizeLongAudio(SynthesizeLongAudioRequest) returns (google.longrunning.Operation) { option (google.api.http) = { - post: "/v1beta1/{parent=projects/*/locations/*/voices/*}:SynthesizeLongAudio" + post: "/v1beta1/{parent=projects/*/locations/*}:synthesizeLongAudio" body: "*" }; option (google.longrunning.operation_info) = { - response_type: "SynthesizeLongAudioResponse" - metadata_type: "SynthesizeLongAudioMetadata" + response_type: "google.cloud.texttospeech.v1beta1.SynthesizeLongAudioResponse" + metadata_type: "google.cloud.texttospeech.v1beta1.SynthesizeLongAudioMetadata" }; } } @@ -56,22 +56,23 @@ service TextToSpeechLongAudioSynthesize { // `SynthesizeLongAudio` method. message SynthesizeLongAudioRequest { // The resource states of the request in the form of - // `projects/*/locations/*/voices/*`. + // `projects/*/locations/*`. string parent = 1; // Required. The Synthesizer requires either plain text or SSML as input. + // While Long Audio is in preview, SSML is temporarily unsupported. SynthesisInput input = 2 [(google.api.field_behavior) = REQUIRED]; // Required. The configuration of the synthesized audio. AudioConfig audio_config = 3 [(google.api.field_behavior) = REQUIRED]; - // Specifies a Cloud Storage URI for the synthesis results. Must be + // Required. Specifies a Cloud Storage URI for the synthesis results. Must be // specified in the format: `gs://bucket_name/object_name`, and the bucket // must already exist. - string output_gcs_uri = 4; + string output_gcs_uri = 4 [(google.api.field_behavior) = REQUIRED]; - // The desired voice of the synthesized audio. - VoiceSelectionParams voice = 5; + // Required. The desired voice of the synthesized audio. + VoiceSelectionParams voice = 5 [(google.api.field_behavior) = REQUIRED]; } // The message returned to the client by the `SynthesizeLongAudio` method. @@ -82,8 +83,8 @@ message SynthesizeLongAudioMetadata { // Time when the request was received. google.protobuf.Timestamp start_time = 1; - // Time of the most recent processing update. - google.protobuf.Timestamp last_update_time = 2; + // Deprecated. Do not use. + google.protobuf.Timestamp last_update_time = 2 [deprecated = true]; // The progress of the most recent processing update in percentage, ie. 70.0%. double progress_percentage = 3; diff --git a/third_party/googleapis/google/cloud/texttospeech/v1beta1/texttospeech_v1beta1.yaml b/third_party/googleapis/google/cloud/texttospeech/v1beta1/texttospeech_v1beta1.yaml index 915d35bd3..d09d27ed9 100644 --- a/third_party/googleapis/google/cloud/texttospeech/v1beta1/texttospeech_v1beta1.yaml +++ b/third_party/googleapis/google/cloud/texttospeech/v1beta1/texttospeech_v1beta1.yaml @@ -8,6 +8,9 @@ apis: - name: google.cloud.texttospeech.v1beta1.TextToSpeechLongAudioSynthesize - name: google.longrunning.Operations +types: +- name: google.cloud.texttospeech.v1beta1.SynthesizeLongAudioMetadata + documentation: summary: |- Synthesizes natural-sounding speech by applying powerful neural network @@ -17,6 +20,13 @@ documentation: Google Cloud Text-to-Speech API provides speech synthesis as a service. +http: + rules: + - selector: google.longrunning.Operations.GetOperation + get: '/v1beta1/{name=projects/*/locations/*/operations/*}' + - selector: google.longrunning.Operations.ListOperations + get: '/v1beta1/{name=projects/*/locations/*}/operations' + authentication: rules: - selector: google.cloud.texttospeech.v1beta1.TextToSpeech.ListVoices diff --git a/third_party/googleapis/google/cloud/timeseriesinsights/v1/BUILD.bazel b/third_party/googleapis/google/cloud/timeseriesinsights/v1/BUILD.bazel index f765821c4..1eea314f6 100644 --- a/third_party/googleapis/google/cloud/timeseriesinsights/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/timeseriesinsights/v1/BUILD.bazel @@ -116,7 +116,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -147,19 +146,13 @@ go_gapic_library( ], ) -go_test( - name = "timeseriesinsights_go_gapic_test", - srcs = [":timeseriesinsights_go_gapic_srcjar_test"], - embed = [":timeseriesinsights_go_gapic"], - importpath = "cloud.google.com/go/timeseriesinsights/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-timeseriesinsights-v1-go", deps = [ ":timeseriesinsights_go_gapic", ":timeseriesinsights_go_gapic_srcjar-metadata.srcjar", + ":timeseriesinsights_go_gapic_srcjar-snippets.srcjar", ":timeseriesinsights_go_gapic_srcjar-test.srcjar", ":timeseriesinsights_go_proto", ], @@ -211,7 +204,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -220,12 +212,6 @@ php_proto_library( deps = [":timeseriesinsights_proto"], ) -php_grpc_library( - name = "timeseriesinsights_php_grpc", - srcs = [":timeseriesinsights_proto"], - deps = [":timeseriesinsights_php_proto"], -) - php_gapic_library( name = "timeseriesinsights_php_gapic", srcs = [":timeseriesinsights_proto_with_info"], @@ -233,10 +219,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "timeseriesinsights_v1.yaml", transport = "grpc+rest", - deps = [ - ":timeseriesinsights_php_grpc", - ":timeseriesinsights_php_proto", - ], + deps = [":timeseriesinsights_php_proto"], ) # Open Source Packages @@ -244,7 +227,6 @@ php_gapic_assembly_pkg( name = "google-cloud-timeseriesinsights-v1-php", deps = [ ":timeseriesinsights_php_gapic", - ":timeseriesinsights_php_grpc", ":timeseriesinsights_php_proto", ], ) @@ -308,6 +290,7 @@ ruby_cloud_gapic_library( grpc_service_config = "timeseries_insights_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "timeseriesinsights_v1.yaml", + transport = "grpc+rest", deps = [ ":timeseriesinsights_ruby_grpc", ":timeseriesinsights_ruby_proto", diff --git a/third_party/googleapis/google/cloud/tpu/BUILD.bazel b/third_party/googleapis/google/cloud/tpu/BUILD.bazel index 5afb6abc1..9b3f6330e 100644 --- a/third_party/googleapis/google/cloud/tpu/BUILD.bazel +++ b/third_party/googleapis/google/cloud/tpu/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-tpu", "ruby-cloud-env-prefix=CLOUD_TPU", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.6", "ruby-cloud-product-url=https://cloud.google.com/tpu/", "ruby-cloud-api-id=tpu.googleapis.com", "ruby-cloud-api-shortname=tpu", ], ruby_cloud_description = "Tensor Processing Units (TPUs) are Google's custom-developed application-specific integrated circuits (ASICs) used to accelerate machine learning workloads. Cloud TPUs allow you to access TPUs from Compute Engine, Google Kubernetes Engine and AI Platform.", ruby_cloud_title = "Cloud TPU", + transport = "grpc", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/tpu/v1/BUILD.bazel b/third_party/googleapis/google/cloud/tpu/v1/BUILD.bazel index 8082c1da5..8b9b1c759 100644 --- a/third_party/googleapis/google/cloud/tpu/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/tpu/v1/BUILD.bazel @@ -113,7 +113,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -146,19 +145,13 @@ go_gapic_library( ], ) -go_test( - name = "tpu_go_gapic_test", - srcs = [":tpu_go_gapic_srcjar_test"], - embed = [":tpu_go_gapic"], - importpath = "cloud.google.com/go/tpu/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-tpu-v1-go", deps = [ ":tpu_go_gapic", ":tpu_go_gapic_srcjar-metadata.srcjar", + ":tpu_go_gapic_srcjar-snippets.srcjar", ":tpu_go_gapic_srcjar-test.srcjar", ":tpu_go_proto", ], @@ -210,7 +203,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -219,23 +211,15 @@ php_proto_library( deps = [":tpu_proto"], ) -php_grpc_library( - name = "tpu_php_grpc", - srcs = [":tpu_proto"], - deps = [":tpu_php_proto"], -) - php_gapic_library( name = "tpu_php_gapic", srcs = [":tpu_proto_with_info"], grpc_service_config = "tpu_grpc_service_config.json", + migration_mode = "PRE_MIGRATION_SURFACE_ONLY", rest_numeric_enums = True, service_yaml = "tpu_v1.yaml", transport = "grpc+rest", - deps = [ - ":tpu_php_grpc", - ":tpu_php_proto", - ], + deps = [":tpu_php_proto"], ) # Open Source Packages @@ -243,7 +227,6 @@ php_gapic_assembly_pkg( name = "google-cloud-tpu-v1-php", deps = [ ":tpu_php_gapic", - ":tpu_php_grpc", ":tpu_php_proto", ], ) @@ -315,6 +298,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Tensor Processing Units (TPUs) are Google's custom-developed application-specific integrated circuits (ASICs) used to accelerate machine learning workloads. Cloud TPUs allow you to access TPUs from Compute Engine, Google Kubernetes Engine and AI Platform.", ruby_cloud_title = "Cloud TPU V1", service_yaml = "tpu_v1.yaml", + transport = "grpc", deps = [ ":tpu_ruby_grpc", ":tpu_ruby_proto", diff --git a/third_party/googleapis/google/cloud/tpu/v1/cloud_tpu.proto b/third_party/googleapis/google/cloud/tpu/v1/cloud_tpu.proto index 8afe85b1d..69ffd5481 100644 --- a/third_party/googleapis/google/cloud/tpu/v1/cloud_tpu.proto +++ b/third_party/googleapis/google/cloud/tpu/v1/cloud_tpu.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/tpu/v1/tpu_v1.yaml b/third_party/googleapis/google/cloud/tpu/v1/tpu_v1.yaml index aacfd2b9e..18cc6336e 100644 --- a/third_party/googleapis/google/cloud/tpu/v1/tpu_v1.yaml +++ b/third_party/googleapis/google/cloud/tpu/v1/tpu_v1.yaml @@ -20,17 +20,6 @@ documentation: - selector: google.cloud.location.Locations.ListLocations description: Lists information about the supported locations for this service. -backend: - rules: - - selector: google.cloud.location.Locations.GetLocation - deadline: 60.0 - - selector: google.cloud.location.Locations.ListLocations - deadline: 60.0 - - selector: 'google.cloud.tpu.v1.Tpu.*' - deadline: 60.0 - - selector: 'google.longrunning.Operations.*' - deadline: 60.0 - http: rules: - selector: google.cloud.location.Locations.GetLocation diff --git a/third_party/googleapis/google/cloud/tpu/v2/BUILD.bazel b/third_party/googleapis/google/cloud/tpu/v2/BUILD.bazel index a6c395bd3..bf499c31b 100644 --- a/third_party/googleapis/google/cloud/tpu/v2/BUILD.bazel +++ b/third_party/googleapis/google/cloud/tpu/v2/BUILD.bazel @@ -116,7 +116,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -149,19 +148,13 @@ go_gapic_library( ], ) -go_test( - name = "tpu_go_gapic_test", - srcs = [":tpu_go_gapic_srcjar_test"], - embed = [":tpu_go_gapic"], - importpath = "cloud.google.com/go/tpu/apiv2", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-tpu-v2-go", deps = [ ":tpu_go_gapic", ":tpu_go_gapic_srcjar-metadata.srcjar", + ":tpu_go_gapic_srcjar-snippets.srcjar", ":tpu_go_gapic_srcjar-test.srcjar", ":tpu_go_proto", ], @@ -213,7 +206,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -222,12 +214,6 @@ php_proto_library( deps = [":tpu_proto"], ) -php_grpc_library( - name = "tpu_php_grpc", - srcs = [":tpu_proto"], - deps = [":tpu_php_proto"], -) - php_gapic_library( name = "tpu_php_gapic", srcs = [":tpu_proto_with_info"], @@ -235,10 +221,8 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "tpu_v2.yaml", transport = "grpc+rest", - deps = [ - ":tpu_php_grpc", - ":tpu_php_proto", - ], + migration_mode = "NEW_SURFACE_ONLY", + deps = [":tpu_php_proto"], ) # Open Source Packages @@ -246,7 +230,6 @@ php_gapic_assembly_pkg( name = "google-cloud-tpu-v2-php", deps = [ ":tpu_php_gapic", - ":tpu_php_grpc", ":tpu_php_proto", ], ) @@ -310,6 +293,7 @@ ruby_cloud_gapic_library( grpc_service_config = "tpu_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "tpu_v2.yaml", + transport = "grpc+rest", deps = [ ":tpu_ruby_grpc", ":tpu_ruby_proto", diff --git a/third_party/googleapis/google/cloud/tpu/v2/cloud_tpu.proto b/third_party/googleapis/google/cloud/tpu/v2/cloud_tpu.proto index 86124fa96..0a72e2341 100644 --- a/third_party/googleapis/google/cloud/tpu/v2/cloud_tpu.proto +++ b/third_party/googleapis/google/cloud/tpu/v2/cloud_tpu.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -313,7 +313,7 @@ message Node { DELETING = 5; // TPU node is being repaired and may be unusable. Details can be - // found in the `help_description` field. + // found in the 'help_description' field. REPAIRING = 6; // TPU node is stopped. @@ -389,8 +389,8 @@ message Node { // The user-supplied description of the TPU. Maximum of 512 characters. string description = 3; - // Required. The type of hardware accelerators associated with this node. - string accelerator_type = 5 [(google.api.field_behavior) = REQUIRED]; + // Optional. The type of hardware accelerators associated with this node. + string accelerator_type = 5 [(google.api.field_behavior) = OPTIONAL]; // Output only. The current state for the TPU Node. State state = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -460,6 +460,16 @@ message Node { // Shielded Instance options. ShieldedInstanceConfig shielded_instance_config = 45; + + // The AccleratorConfig for the TPU Node. + AcceleratorConfig accelerator_config = 46; + + // Output only. The qualified name of the QueuedResource that requested this + // Node. + string queued_resource = 47 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Whether the Node belongs to a Multislice group. + bool multislice_node = 48 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Request for [ListNodes][google.cloud.tpu.v2.Tpu.ListNodes]. @@ -589,8 +599,11 @@ message AcceleratorType { // The resource name. string name = 1; - // the accelerator type. + // The accelerator type. string type = 2; + + // The accelerator config. + repeated AcceleratorConfig accelerator_configs = 3; } // Request for [GetAcceleratorType][google.cloud.tpu.v2.Tpu.GetAcceleratorType]. @@ -792,6 +805,30 @@ message GetGuestAttributesResponse { repeated GuestAttributes guest_attributes = 1; } +// A TPU accelerator configuration. +message AcceleratorConfig { + // TPU type. + enum Type { + // Unspecified version. + TYPE_UNSPECIFIED = 0; + + // TPU v2. + V2 = 2; + + // TPU v3. + V3 = 4; + + // TPU v4. + V4 = 7; + } + + // Required. Type of TPU. + Type type = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. Topology of TPU in chips. + string topology = 2 [(google.api.field_behavior) = REQUIRED]; +} + // A set of Shielded Instance options. message ShieldedInstanceConfig { // Defines whether the instance has Secure Boot enabled. diff --git a/third_party/googleapis/google/cloud/tpu/v2/tpu_v2.yaml b/third_party/googleapis/google/cloud/tpu/v2/tpu_v2.yaml index 4dbd18788..23113f2d9 100644 --- a/third_party/googleapis/google/cloud/tpu/v2/tpu_v2.yaml +++ b/third_party/googleapis/google/cloud/tpu/v2/tpu_v2.yaml @@ -20,17 +20,6 @@ documentation: - selector: google.cloud.location.Locations.ListLocations description: Lists information about the supported locations for this service. -backend: - rules: - - selector: google.cloud.location.Locations.GetLocation - deadline: 60.0 - - selector: google.cloud.location.Locations.ListLocations - deadline: 60.0 - - selector: 'google.cloud.tpu.v2.Tpu.*' - deadline: 60.0 - - selector: 'google.longrunning.Operations.*' - deadline: 60.0 - http: rules: - selector: google.cloud.location.Locations.GetLocation diff --git a/third_party/googleapis/google/cloud/tpu/v2alpha1/BUILD.bazel b/third_party/googleapis/google/cloud/tpu/v2alpha1/BUILD.bazel index 3cb960189..1c3614af2 100644 --- a/third_party/googleapis/google/cloud/tpu/v2alpha1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/tpu/v2alpha1/BUILD.bazel @@ -118,7 +118,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -154,19 +153,13 @@ go_gapic_library( ], ) -go_test( - name = "tpu_go_gapic_test", - srcs = [":tpu_go_gapic_srcjar_test"], - embed = [":tpu_go_gapic"], - importpath = "cloud.google.com/go/tpu/apiv2alpha1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-tpu-v2alpha1-go", deps = [ ":tpu_go_gapic", ":tpu_go_gapic_srcjar-metadata.srcjar", + ":tpu_go_gapic_srcjar-snippets.srcjar", ":tpu_go_gapic_srcjar-test.srcjar", ":tpu_go_proto", ], @@ -218,7 +211,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -227,12 +219,6 @@ php_proto_library( deps = [":tpu_proto"], ) -php_grpc_library( - name = "tpu_php_grpc", - srcs = [":tpu_proto"], - deps = [":tpu_php_proto"], -) - php_gapic_library( name = "tpu_php_gapic", srcs = [":tpu_proto_with_info"], @@ -240,10 +226,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "tpu_v2alpha1.yaml", transport = "grpc+rest", - deps = [ - ":tpu_php_grpc", - ":tpu_php_proto", - ], + deps = [":tpu_php_proto"], ) # Open Source Packages @@ -251,7 +234,6 @@ php_gapic_assembly_pkg( name = "google-cloud-tpu-v2alpha1-php", deps = [ ":tpu_php_gapic", - ":tpu_php_grpc", ":tpu_php_proto", ], ) @@ -315,6 +297,7 @@ ruby_cloud_gapic_library( grpc_service_config = "tpu_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "tpu_v2alpha1.yaml", + transport = "grpc", deps = [ ":tpu_ruby_grpc", ":tpu_ruby_proto", diff --git a/third_party/googleapis/google/cloud/tpu/v2alpha1/cloud_tpu.proto b/third_party/googleapis/google/cloud/tpu/v2alpha1/cloud_tpu.proto index f4967a801..574806b45 100644 --- a/third_party/googleapis/google/cloud/tpu/v2alpha1/cloud_tpu.proto +++ b/third_party/googleapis/google/cloud/tpu/v2alpha1/cloud_tpu.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -164,6 +164,20 @@ service Tpu { }; } + // Resets a QueuedResource TPU instance + rpc ResetQueuedResource(ResetQueuedResourceRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v2alpha1/{name=projects/*/locations/*/queuedResources/*}:reset" + body: "*" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "QueuedResource" + metadata_type: "OperationMetadata" + }; + } + // Generates the Cloud TPU service identity for the project. rpc GenerateServiceIdentity(GenerateServiceIdentityRequest) returns (GenerateServiceIdentityResponse) { @@ -525,6 +539,12 @@ message Node { // Shielded Instance options. ShieldedInstanceConfig shielded_instance_config = 45; + + // Output only. Whether the Node belongs to a Multislice group. + bool multislice_node = 47 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. Boot disk configuration. + BootDiskConfig boot_disk_config = 49 [(google.api.field_behavior) = OPTIONAL]; } // A QueuedResource represents a request for resources that will be placed @@ -541,6 +561,23 @@ message QueuedResource { // single node or multiple nodes. // NodeSpec provides the specification for node(s) to be created. message NodeSpec { + // Parameters to specify for multi-node QueuedResource requests. This + // field must be populated in case of multi-node requests instead of + // node_id. It's an error to specify both node_id and multi_node_params. + message MultiNodeParams { + // Required. Number of nodes with this spec. The system will attempt + // to provison "node_count" nodes as part of the request. + // This needs to be > 1. + int32 node_count = 1 [(google.api.field_behavior) = REQUIRED]; + + // Prefix of node_ids in case of multi-node request + // Should follow the `^[A-Za-z0-9_.~+%-]+$` regex format. + // If node_count = 3 and node_id_prefix = "np", node ids of nodes + // created will be "np-0", "np-1", "np-2". If this field is not + // provided we use queued_resource_id as the node_id_prefix. + string node_id_prefix = 2; + } + // Required. The parent resource name. string parent = 1 [ (google.api.field_behavior) = REQUIRED, @@ -555,6 +592,10 @@ message QueuedResource { // instead. It's an error to specify both node_id and multi_node_params. string node_id = 2; + // Optional. Fields to specify in case of multi-node request. + MultiNodeParams multi_node_params = 6 + [(google.api.field_behavior) = OPTIONAL]; + // Required. The node. Node node = 3 [(google.api.field_behavior) = REQUIRED]; } @@ -566,6 +607,9 @@ message QueuedResource { // BestEffort tier definition. message BestEffort {} + // Spot tier definition. + message Spot {} + // Guaranteed tier definition. message Guaranteed { // Optional. Defines the minimum duration of the guarantee. If specified, @@ -620,15 +664,22 @@ message QueuedResource { // The BestEffort tier. BestEffort best_effort = 3; - // The Guaranteed tier + // The Guaranteed tier. Guaranteed guaranteed = 4; + + // Optional. The Spot tier. + Spot spot = 9 [(google.api.field_behavior) = OPTIONAL]; } // The queueing policy of the QueuedRequest. QueueingPolicy queueing_policy = 5; - // Output only. State of the QueuedResource request + // Output only. State of the QueuedResource request. QueuedResourceState state = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Name of the reservation in which the resource should be provisioned. + // Format: projects/{project}/locations/{zone}/reservations/{reservation} + string reservation_name = 8; } // QueuedResourceState defines the details of the QueuedResource request. @@ -672,6 +723,17 @@ message QueuedResourceState { // The resources specified in the QueuedResource request have been // deleted. SUSPENDED = 8; + + // The QueuedResource request has passed initial validation and has been + // persisted in the queue. It will remain in this state until there are + // sufficient free resources to begin provisioning your request. Wait times + // will vary significantly depending on demand levels. When demand is high, + // not all requests can be immediately provisioned. If you + // need more reliable obtainability of TPUs consider purchasing a + // reservation. To put a limit on how long you are willing to wait, use + // [timing + // constraints](https://cloud.google.com/tpu/docs/queued-resources#request_a_queued_resource_before_a_specified_time). + WAITING_FOR_RESOURCES = 9; } // Further data for the creating state. @@ -701,6 +763,18 @@ message QueuedResourceState { // Further data for the suspended state. message SuspendedData {} + // The initiator of the QueuedResource's SUSPENDING/SUSPENDED state. + enum StateInitiator { + // The state initiator is unspecified. + STATE_INITIATOR_UNSPECIFIED = 0; + + // The current QueuedResource state was initiated by the user. + USER = 1; + + // The current QueuedResource state was initiated by the service. + SERVICE = 2; + } + // State of the QueuedResource request. State state = 1; @@ -730,6 +804,10 @@ message QueuedResourceState { // Further data for the suspended state. SuspendedData suspended_data = 9; } + + // Output only. The initiator of the QueuedResources's current state. + StateInitiator state_initiator = 10 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Request for [ListNodes][google.cloud.tpu.v2alpha1.Tpu.ListNodes]. @@ -884,7 +962,7 @@ message CreateQueuedResourceRequest { } ]; - // The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$ + // The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$` // regex format. string queued_resource_id = 2; @@ -908,6 +986,25 @@ message DeleteQueuedResourceRequest { // Idempotent request UUID. string request_id = 2; + + // If set to true, all running nodes belonging to this queued resource will + // be deleted first and then the queued resource will be deleted. + // Otherwise (i.e. force=false), the queued resource will only be deleted if + // its nodes have already been deleted or the queued resource is in the + // ACCEPTED, FAILED, or SUSPENDED state. + bool force = 3; +} + +// Request for +// [ResetQueuedResource][google.cloud.tpu.v2alpha1.Tpu.ResetQueuedResource]. +message ResetQueuedResourceRequest { + // Required. The name of the queued resource. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "tpu.googleapis.com/QueuedResource" + } + ]; } // The per-product per-project service identity for Cloud TPU service. @@ -1199,3 +1296,35 @@ message ShieldedInstanceConfig { // Defines whether the instance has Secure Boot enabled. bool enable_secure_boot = 1; } + +// Boot disk configurations. +message BootDiskConfig { + // Optional. Customer encryption key for boot disk. + CustomerEncryptionKey customer_encryption_key = 1 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Whether the boot disk will be created with confidential compute + // mode. + bool enable_confidential_compute = 2 [(google.api.field_behavior) = OPTIONAL]; +} + +// Customer's encryption key. +message CustomerEncryptionKey { + oneof key { + // The name of the encryption key that is stored in Google Cloud KMS. + // For example: + //

"kmsKeyName": "projects/
+    // kms_project_id/locations/
+    // region/keyRings/
+    // key_region/cryptoKeys/key
+    // 
+ // The fully-qualifed key name may be returned for resource GET requests. + // For example: + //
"kmsKeyName": "projects/
+    // kms_project_id/locations/
+    // region/keyRings/
+    // key_region/cryptoKeys/key
+    // /cryptoKeyVersions/1
+ string kms_key_name = 7; + } +} diff --git a/third_party/googleapis/google/cloud/tpu/v2alpha1/tpu_v2alpha1.yaml b/third_party/googleapis/google/cloud/tpu/v2alpha1/tpu_v2alpha1.yaml index 1cbfa3d00..ad74a6e09 100644 --- a/third_party/googleapis/google/cloud/tpu/v2alpha1/tpu_v2alpha1.yaml +++ b/third_party/googleapis/google/cloud/tpu/v2alpha1/tpu_v2alpha1.yaml @@ -20,17 +20,6 @@ documentation: - selector: google.cloud.location.Locations.ListLocations description: Lists information about the supported locations for this service. -backend: - rules: - - selector: google.cloud.location.Locations.GetLocation - deadline: 60.0 - - selector: google.cloud.location.Locations.ListLocations - deadline: 60.0 - - selector: 'google.cloud.tpu.v2alpha1.Tpu.*' - deadline: 60.0 - - selector: 'google.longrunning.Operations.*' - deadline: 60.0 - http: rules: - selector: google.cloud.location.Locations.GetLocation diff --git a/third_party/googleapis/google/cloud/translate/BUILD.bazel b/third_party/googleapis/google/cloud/translate/BUILD.bazel index f3d3c34d7..b2ff554f2 100644 --- a/third_party/googleapis/google/cloud/translate/BUILD.bazel +++ b/third_party/googleapis/google/cloud/translate/BUILD.bazel @@ -22,7 +22,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-translate", "ruby-cloud-env-prefix=TRANSLATE", - "ruby-cloud-wrapper-of=v3:0.6;v2:0.0", + "ruby-cloud-wrapper-of=v3:0.11;v2:0.0", "ruby-cloud-product-url=https://cloud.google.com/translate", "ruby-cloud-api-id=translate.googleapis.com", "ruby-cloud-api-shortname=translate", diff --git a/third_party/googleapis/google/cloud/translate/v3/BUILD.bazel b/third_party/googleapis/google/cloud/translate/v3/BUILD.bazel index 21f00a8da..46aaa3549 100644 --- a/third_party/googleapis/google/cloud/translate/v3/BUILD.bazel +++ b/third_party/googleapis/google/cloud/translate/v3/BUILD.bazel @@ -21,6 +21,8 @@ load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") proto_library( name = "translation_proto", srcs = [ + "adaptive_mt.proto", + "common.proto", "translation_service.proto", ], deps = [ @@ -29,8 +31,8 @@ proto_library( "//google/api:field_behavior_proto", "//google/api:resource_proto", "//google/longrunning:operations_proto", - "//google/rpc:status_proto", "@com_google_protobuf//:empty_proto", + "@com_google_protobuf//:field_mask_proto", "@com_google_protobuf//:timestamp_proto", ], ) @@ -81,8 +83,6 @@ java_gapic_library( deps = [ ":translation_java_proto", "//google/api:api_java_proto", - "//google/cloud/location:location_java_grpc", - "//google/cloud/location:location_java_proto", ], ) @@ -105,9 +105,6 @@ java_gapic_assembly_gradle_pkg( ":translation_java_grpc", ":translation_java_proto", ":translation_proto", - "//google/cloud/location:location_java_grpc", - "//google/cloud/location:location_java_proto", - "//google/cloud/location:location_proto", ], ) @@ -119,13 +116,12 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( name = "translation_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "cloud.google.com/go/translation/apiv3/translationpb", + importpath = "cloud.google.com/go/translate/apiv3/translatepb", protos = [":translation_proto"], deps = [ "//google/api:annotations_go_proto", @@ -153,19 +149,13 @@ go_gapic_library( ], ) -go_test( - name = "translation_go_gapic_test", - srcs = [":translation_go_gapic_srcjar_test"], - embed = [":translation_go_gapic"], - importpath = "cloud.google.com/go/translate/apiv3", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-translation-v3-go", deps = [ ":translation_go_gapic", ":translation_go_gapic_srcjar-metadata.srcjar", + ":translation_go_gapic_srcjar-snippets.srcjar", ":translation_go_gapic_srcjar-test.srcjar", ":translation_go_proto", ], @@ -189,6 +179,8 @@ py_gapic_library( rest_numeric_enums = True, service_yaml = "translate_v3.yaml", transport = "grpc+rest", + deps = [ + ], ) py_test( @@ -216,7 +208,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -225,21 +216,15 @@ php_proto_library( deps = [":translation_proto"], ) -php_grpc_library( - name = "translation_php_grpc", - srcs = [":translation_proto"], - deps = [":translation_php_proto"], -) - php_gapic_library( name = "translation_php_gapic", srcs = [":translation_proto_with_info"], grpc_service_config = "translate_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "translate_v3.yaml", transport = "grpc+rest", deps = [ - ":translation_php_grpc", ":translation_php_proto", ], ) @@ -249,7 +234,6 @@ php_gapic_assembly_pkg( name = "google-cloud-translation-v3-php", deps = [ ":translation_php_gapic", - ":translation_php_grpc", ":translation_php_proto", ], ) @@ -351,6 +335,7 @@ load( csharp_proto_library( name = "translation_csharp_proto", + extra_opts = [], deps = [":translation_proto"], ) diff --git a/third_party/googleapis/google/cloud/translate/v3/translation_service.proto b/third_party/googleapis/google/cloud/translate/v3/translation_service.proto index d5e93176a..dde410d63 100644 --- a/third_party/googleapis/google/cloud/translate/v3/translation_service.proto +++ b/third_party/googleapis/google/cloud/translate/v3/translation_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,12 +20,14 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/cloud/translate/v3/adaptive_mt.proto"; import "google/longrunning/operations.proto"; +import "google/protobuf/empty.proto"; import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Translate.V3"; -option go_package = "cloud.google.com/go/translation/apiv3/translationpb;translationpb"; +option go_package = "cloud.google.com/go/translate/apiv3/translatepb;translatepb"; option java_multiple_files = true; option java_outer_classname = "TranslationServiceProto"; option java_package = "com.google.cloud.translate.v3"; @@ -176,10 +178,107 @@ service TranslationService { metadata_type: "DeleteGlossaryMetadata" }; } + + // Creates an Adaptive MT dataset. + rpc CreateAdaptiveMtDataset(CreateAdaptiveMtDatasetRequest) + returns (AdaptiveMtDataset) { + option (google.api.http) = { + post: "/v3/{parent=projects/*/locations/*}/adaptiveMtDatasets" + body: "adaptive_mt_dataset" + }; + option (google.api.method_signature) = "parent,adaptive_mt_dataset"; + } + + // Deletes an Adaptive MT dataset, including all its entries and associated + // metadata. + rpc DeleteAdaptiveMtDataset(DeleteAdaptiveMtDatasetRequest) + returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v3/{name=projects/*/locations/*/adaptiveMtDatasets/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Gets the Adaptive MT dataset. + rpc GetAdaptiveMtDataset(GetAdaptiveMtDatasetRequest) + returns (AdaptiveMtDataset) { + option (google.api.http) = { + get: "/v3/{name=projects/*/locations/*/adaptiveMtDatasets/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Lists all Adaptive MT datasets for which the caller has read permission. + rpc ListAdaptiveMtDatasets(ListAdaptiveMtDatasetsRequest) + returns (ListAdaptiveMtDatasetsResponse) { + option (google.api.http) = { + get: "/v3/{parent=projects/*/locations/*}/adaptiveMtDatasets" + }; + option (google.api.method_signature) = "parent"; + } + + // Translate text using Adaptive MT. + rpc AdaptiveMtTranslate(AdaptiveMtTranslateRequest) + returns (AdaptiveMtTranslateResponse) { + option (google.api.http) = { + post: "/v3/{parent=projects/*/locations/*}:adaptiveMtTranslate" + body: "*" + }; + option (google.api.method_signature) = "parent,content"; + } + + // Gets and AdaptiveMtFile + rpc GetAdaptiveMtFile(GetAdaptiveMtFileRequest) returns (AdaptiveMtFile) { + option (google.api.http) = { + get: "/v3/{name=projects/*/locations/*/adaptiveMtDatasets/*/adaptiveMtFiles/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Deletes an AdaptiveMtFile along with its sentences. + rpc DeleteAdaptiveMtFile(DeleteAdaptiveMtFileRequest) + returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v3/{name=projects/*/locations/*/adaptiveMtDatasets/*/adaptiveMtFiles/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Imports an AdaptiveMtFile and adds all of its sentences into the + // AdaptiveMtDataset. + rpc ImportAdaptiveMtFile(ImportAdaptiveMtFileRequest) + returns (ImportAdaptiveMtFileResponse) { + option (google.api.http) = { + post: "/v3/{parent=projects/*/locations/*/adaptiveMtDatasets/*}:importAdaptiveMtFile" + body: "*" + }; + option (google.api.method_signature) = "parent"; + } + + // Lists all AdaptiveMtFiles associated to an AdaptiveMtDataset. + rpc ListAdaptiveMtFiles(ListAdaptiveMtFilesRequest) + returns (ListAdaptiveMtFilesResponse) { + option (google.api.http) = { + get: "/v3/{parent=projects/*/locations/*/adaptiveMtDatasets/*}/adaptiveMtFiles" + }; + option (google.api.method_signature) = "parent"; + } + + // Lists all AdaptiveMtSentences under a given file/dataset. + rpc ListAdaptiveMtSentences(ListAdaptiveMtSentencesRequest) + returns (ListAdaptiveMtSentencesResponse) { + option (google.api.http) = { + get: "/v3/{parent=projects/*/locations/*/adaptiveMtDatasets/*/adaptiveMtFiles/*}/adaptiveMtSentences" + additional_bindings { + get: "/v3/{parent=projects/*/locations/*/adaptiveMtDatasets/*}/adaptiveMtSentences" + } + }; + option (google.api.method_signature) = "parent"; + } } -// Configures which glossary should be used for a specific target language, -// and defines options for applying that glossary. +// Configures which glossary is used for a specific target language and defines +// options for applying that glossary. message TranslateTextGlossaryConfig { // Required. The `glossary` to be applied for this translation. // @@ -252,7 +351,7 @@ message TranslateTextRequest { // For example, // `projects/{project-number-or-id}/locations/global/models/general/nmt`. // - // If not provided, the default Google model (NMT) will be used. + // If not provided, the default Google model (NMT) will be used string model = 6 [(google.api.field_behavior) = OPTIONAL]; // Optional. Glossary to be applied. The glossary must be @@ -561,10 +660,10 @@ message OutputConfig { // If input file extension is a txt or html, the translation is directly // written to the output file. If glossary is requested, a separate // glossary_translations_file has format of - // gs://translation_test/a_b_c_'trg'_glossary_translations.[extension] + // `gs://translation_test/a_b_c_'trg'_glossary_translations.[extension]` // // The format of errors file (for target language code 'trg') is: - // gs://translation_test/a_b_c_'trg'_errors.[extension] + // `gs://translation_test/a_b_c_'trg'_errors.[extension]` // // If the input file extension is tsv, errors_file contains the following: // Column 1: ID of the request provided in the input, if it's not @@ -576,7 +675,7 @@ message OutputConfig { // // If the input file extension is txt or html, glossary_error_file will be // generated that contains error details. glossary_error_file has format of - // gs://translation_test/a_b_c_'trg'_glossary_errors.[extension] + // `gs://translation_test/a_b_c_'trg'_glossary_errors.[extension]` GcsDestination gcs_destination = 1; } } @@ -637,9 +736,9 @@ message DocumentOutputConfig { // // For a DocumentInputConfig.gcs_uri provided document, the output file will // have a name according to its URI. For example: an input file with URI: - // "gs://a/b/c.[extension]" stored in a gcs_destination bucket with name + // `gs://a/b/c.[extension]` stored in a gcs_destination bucket with name // "my_bucket" will have an output URI: - // "gs://my_bucket/a_b_c_[trg]_translations.[ext]", where + // `gs://my_bucket/a_b_c_[trg]_translations.[ext]`, where // - [trg] corresponds to the translated file's language code, // - [ext] corresponds to the translated file's extension according to its // mime type. @@ -647,7 +746,7 @@ message DocumentOutputConfig { // // If the document was directly provided through the request, then the // output document will have the format: - // "gs://my_bucket/translated_document_[trg]_translations.[ext], where + // `gs://my_bucket/translated_document_[trg]_translations.[ext]`, where // - [trg] corresponds to the translated file's language code, // - [ext] corresponds to the translated file's extension according to its // mime type. @@ -656,7 +755,7 @@ message DocumentOutputConfig { // translation will be equal to the default output URI but have // `glossary_translations` instead of `translations`. For the previous // example, its glossary URI would be: - // "gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]". + // `gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]`. // // Thus the max number of output files will be 2 (Translated document, // Glossary translated document). @@ -757,17 +856,21 @@ message TranslateDocumentRequest { // https://cloud.google.com/translate/attribution#attribution_and_logos string customized_attribution = 10 [(google.api.field_behavior) = OPTIONAL]; - // Optional. If true, the page limit of online native pdf translation is 300 - // and only native pdf pages will be translated. + // Optional. is_translate_native_pdf_only field for external customers. + // If true, the page limit of online native pdf translation is 300 and only + // native pdf pages will be translated. bool is_translate_native_pdf_only = 11 [(google.api.field_behavior) = OPTIONAL]; - // Optional. If true, use the text removal to remove the shadow text on + // Optional. If true, use the text removal server to remove the shadow text on // background image for native pdf translation. // Shadow removal feature can only be enabled when - // is_translate_native_pdf_only is false + // is_translate_native_pdf_only: false && pdf_native_only: false bool enable_shadow_removal_native_pdf = 12 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If true, enable auto rotation correction in DVS. + bool enable_rotation_correction = 13 [(google.api.field_behavior) = OPTIONAL]; } // A translated document message. @@ -1275,9 +1378,9 @@ message BatchTranslateDocumentRequest { map glossaries = 7 [(google.api.field_behavior) = OPTIONAL]; - // Optional. File format conversion map to be applied to all input files. - // Map's key is the original mime_type. Map's value is the target mime_type of - // translated documents. + // Optional. The file format conversion map that is applied to all input + // files. The map key is the original mime_type. The map value is the target + // mime_type of translated documents. // // Supported file format conversion includes: // - `application/pdf` to @@ -1293,6 +1396,16 @@ message BatchTranslateDocumentRequest { // Customized attribution should follow rules in // https://cloud.google.com/translate/attribution#attribution_and_logos string customized_attribution = 10 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If true, use the text removal server to remove the shadow text on + // background image for native pdf translation. + // Shadow removal feature can only be enabled when + // is_translate_native_pdf_only: false && pdf_native_only: false + bool enable_shadow_removal_native_pdf = 11 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If true, enable auto rotation correction in DVS. + bool enable_rotation_correction = 12 [(google.api.field_behavior) = OPTIONAL]; } // Input configuration for BatchTranslateDocument request. @@ -1362,15 +1475,15 @@ message BatchDocumentOutputConfig { // // The naming format of translation output files follows (for target // language code [trg]): `translation_output`: - // gs://translation_output/a_b_c_[trg]_translation.[extension] + // `gs://translation_output/a_b_c_[trg]_translation.[extension]` // `glossary_translation_output`: - // gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The + // `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The // output document will maintain the same file format as the input document. // // The naming format of error output files follows (for target language code - // [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt + // [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt` // `glossary_error_output`: - // gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error + // `gs://translation_test/a_b_c_[trg]_glossary_translation.txt`. The error // output is a txt file containing error details. GcsDestination gcs_destination = 1; } diff --git a/third_party/googleapis/google/cloud/translate/v3beta1/BUILD.bazel b/third_party/googleapis/google/cloud/translate/v3beta1/BUILD.bazel index 9857c84d1..d1d3269fe 100644 --- a/third_party/googleapis/google/cloud/translate/v3beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/translate/v3beta1/BUILD.bazel @@ -80,8 +80,6 @@ java_gapic_library( deps = [ ":translation_java_proto", "//google/api:api_java_proto", - "//google/cloud/location:location_java_grpc", - "//google/cloud/location:location_java_proto", ], ) @@ -104,9 +102,6 @@ java_gapic_assembly_gradle_pkg( ":translation_java_grpc", ":translation_java_proto", ":translation_proto", - "//google/cloud/location:location_java_grpc", - "//google/cloud/location:location_java_proto", - "//google/cloud/location:location_proto", ], ) @@ -118,7 +113,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -152,19 +146,13 @@ go_gapic_library( ], ) -go_test( - name = "translation_go_gapic_test", - srcs = [":translation_go_gapic_srcjar_test"], - embed = [":translation_go_gapic"], - importpath = "cloud.google.com/go/translate/apiv3beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-translation-v3beta1-go", deps = [ ":translation_go_gapic", ":translation_go_gapic_srcjar-metadata.srcjar", + ":translation_go_gapic_srcjar-snippets.srcjar", ":translation_go_gapic_srcjar-test.srcjar", ":translation_go_proto", ], @@ -215,7 +203,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -224,12 +211,6 @@ php_proto_library( deps = [":translation_proto"], ) -php_grpc_library( - name = "translation_php_grpc", - srcs = [":translation_proto"], - deps = [":translation_php_proto"], -) - php_gapic_library( name = "translation_php_gapic", srcs = [":translation_proto_with_info"], @@ -237,10 +218,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "translate_v3beta1.yaml", transport = "grpc+rest", - deps = [ - ":translation_php_grpc", - ":translation_php_proto", - ], + deps = [":translation_php_proto"], ) # Open Source Packages @@ -248,7 +226,6 @@ php_gapic_assembly_pkg( name = "google-cloud-translation-v3beta1-php", deps = [ ":translation_php_gapic", - ":translation_php_grpc", ":translation_php_proto", ], ) @@ -312,6 +289,7 @@ ruby_cloud_gapic_library( grpc_service_config = "translate_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "translate_v3beta1.yaml", + transport = "grpc+rest", deps = [ ":translation_ruby_grpc", ":translation_ruby_proto", diff --git a/third_party/googleapis/google/cloud/translate/v3beta1/translation_service.proto b/third_party/googleapis/google/cloud/translate/v3beta1/translation_service.proto index e8835700c..bc7435f72 100644 --- a/third_party/googleapis/google/cloud/translate/v3beta1/translation_service.proto +++ b/third_party/googleapis/google/cloud/translate/v3beta1/translation_service.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -106,7 +106,7 @@ service TranslationService { }; } - // Translates a large volume of documents in asynchronous batch mode. + // Translates a large volume of document in asynchronous batch mode. // This function provides real-time output as the inputs are being processed. // If caller cancels a request, the partial results (for an input file, it's // all or nothing) may still be available on the specified output location. @@ -532,7 +532,7 @@ message OutputConfig { // Since index.csv will be keeping updated during the process, please make // sure there is no custom retention policy applied on the output bucket // that may avoid file updating. - // (https://cloud.google.com/storage/docs/bucket-lock?hl=en#retention-policy) + // (https://cloud.google.com/storage/docs/bucket-lock#retention-policy) // // The format of translations_file (for target language code 'trg') is: // `gs://translation_test/a_b_c_'trg'_translations.[extension]` @@ -552,10 +552,10 @@ message OutputConfig { // If input file extension is a txt or html, the translation is directly // written to the output file. If glossary is requested, a separate // glossary_translations_file has format of - // gs://translation_test/a_b_c_'trg'_glossary_translations.[extension] + // `gs://translation_test/a_b_c_'trg'_glossary_translations.[extension]` // // The format of errors file (for target language code 'trg') is: - // gs://translation_test/a_b_c_'trg'_errors.[extension] + // `gs://translation_test/a_b_c_'trg'_errors.[extension]` // // If the input file extension is tsv, errors_file contains the following: // Column 1: ID of the request provided in the input, if it's not @@ -567,7 +567,7 @@ message OutputConfig { // // If the input file extension is txt or html, glossary_error_file will be // generated that contains error details. glossary_error_file has format of - // gs://translation_test/a_b_c_'trg'_glossary_errors.[extension] + // `gs://translation_test/a_b_c_'trg'_glossary_errors.[extension]` GcsDestination gcs_destination = 1; } } @@ -628,9 +628,9 @@ message DocumentOutputConfig { // // For a DocumentInputConfig.gcs_uri provided document, the output file will // have a name according to its URI. For example: an input file with URI: - // "gs://a/b/c.[extension]" stored in a gcs_destination bucket with name + // `gs://a/b/c.[extension]` stored in a gcs_destination bucket with name // "my_bucket" will have an output URI: - // "gs://my_bucket/a_b_c_[trg]_translations.[ext]", where + // `gs://my_bucket/a_b_c_[trg]_translations.[ext]`, where // - [trg] corresponds to the translated file's language code, // - [ext] corresponds to the translated file's extension according to its // mime type. @@ -638,7 +638,7 @@ message DocumentOutputConfig { // // If the document was directly provided through the request, then the // output document will have the format: - // "gs://my_bucket/translated_document_[trg]_translations.[ext], where + // `gs://my_bucket/translated_document_[trg]_translations.[ext]`, where // - [trg] corresponds to the translated file's language code, // - [ext] corresponds to the translated file's extension according to its // mime type. @@ -647,7 +647,7 @@ message DocumentOutputConfig { // translation will be equal to the default output URI but have // `glossary_translations` instead of `translations`. For the previous // example, its glossary URI would be: - // "gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]". + // `gs://my_bucket/a_b_c_[trg]_glossary_translations.[ext]`. // // Thus the max number of output files will be 2 (Translated document, // Glossary translated document). @@ -740,6 +740,28 @@ message TranslateDocumentRequest { // See https://cloud.google.com/translate/docs/advanced/labels for more // information. map labels = 8 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. This flag is to support user customized attribution. + // If not provided, the default is `Machine Translated by Google`. + // Customized attribution should follow rules in + // https://cloud.google.com/translate/attribution#attribution_and_logos + string customized_attribution = 10 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. is_translate_native_pdf_only field for external customers. + // If true, the page limit of online native pdf translation is 300 and only + // native pdf pages will be translated. + bool is_translate_native_pdf_only = 11 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If true, use the text removal server to remove the shadow text on + // background image for native pdf translation. + // Shadow removal feature can only be enabled when + // is_translate_native_pdf_only: false && pdf_native_only: false + bool enable_shadow_removal_native_pdf = 12 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If true, enable auto rotation correction in DVS. + bool enable_rotation_correction = 13 [(google.api.field_behavior) = OPTIONAL]; } // A translated document message. @@ -946,9 +968,8 @@ message GlossaryInputConfig { // For equivalent term sets glossaries: // // - CSV (`.csv`): Multi-column CSV file defining equivalent glossary terms - // in multiple languages. The format is defined for Google Translation - // Toolkit and documented in [Use a - // glossary](https://support.google.com/translatortoolkit/answer/6306379?hl=en). + // in multiple languages. See documentation for more information - + // [glossaries](https://cloud.google.com/translate/docs/advanced/glossary). GcsSource gcs_source = 1; } } @@ -1202,7 +1223,7 @@ message BatchTranslateDocumentRequest { // Required. The BCP-47 language code of the input document if known, for // example, "en-US" or "sr-Latn". Supported language codes are listed in - // Language Support (https://cloud.google.com/translate/docs/languages). + // [Language Support](https://cloud.google.com/translate/docs/languages). string source_language_code = 2 [(google.api.field_behavior) = REQUIRED]; // Required. The BCP-47 language code to use for translation of the input @@ -1256,6 +1277,22 @@ message BatchTranslateDocumentRequest { // original file. map format_conversions = 8 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. This flag is to support user customized attribution. + // If not provided, the default is `Machine Translated by Google`. + // Customized attribution should follow rules in + // https://cloud.google.com/translate/attribution#attribution_and_logos + string customized_attribution = 10 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If true, use the text removal server to remove the shadow text on + // background image for native pdf translation. + // Shadow removal feature can only be enabled when + // is_translate_native_pdf_only: false && pdf_native_only: false + bool enable_shadow_removal_native_pdf = 11 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If true, enable auto rotation correction in DVS. + bool enable_rotation_correction = 12 [(google.api.field_behavior) = OPTIONAL]; } // Input configuration for BatchTranslateDocument request. @@ -1321,19 +1358,19 @@ message BatchDocumentOutputConfig { // Since index.csv will be keeping updated during the process, please make // sure there is no custom retention policy applied on the output bucket // that may avoid file updating. - // (https://cloud.google.com/storage/docs/bucket-lock?hl=en#retention-policy) + // (https://cloud.google.com/storage/docs/bucket-lock#retention-policy) // // The naming format of translation output files follows (for target // language code [trg]): `translation_output`: - // gs://translation_output/a_b_c_[trg]_translation.[extension] + // `gs://translation_output/a_b_c_[trg]_translation.[extension]` // `glossary_translation_output`: - // gs://translation_test/a_b_c_[trg]_glossary_translation.[extension] The + // `gs://translation_test/a_b_c_[trg]_glossary_translation.[extension]`. The // output document will maintain the same file format as the input document. // // The naming format of error output files follows (for target language code - // [trg]): `error_output`: gs://translation_test/a_b_c_[trg]_errors.txt + // [trg]): `error_output`: `gs://translation_test/a_b_c_[trg]_errors.txt` // `glossary_error_output`: - // gs://translation_test/a_b_c_[trg]_glossary_translation.txt The error + // `gs://translation_test/a_b_c_[trg]_glossary_translation.txt` The error // output is a txt file containing error details. GcsDestination gcs_destination = 1; } diff --git a/third_party/googleapis/google/cloud/video/livestream/BUILD.bazel b/third_party/googleapis/google/cloud/video/livestream/BUILD.bazel index b462ba189..21aed4e0a 100644 --- a/third_party/googleapis/google/cloud/video/livestream/BUILD.bazel +++ b/third_party/googleapis/google/cloud/video/livestream/BUILD.bazel @@ -21,13 +21,14 @@ ruby_cloud_gapic_library( srcs = ["//google/cloud/video/livestream/v1:livestream_proto_with_info"], extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-video-live_stream", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.8", "ruby-cloud-product-url=https://cloud.google.com/livestream/", "ruby-cloud-api-id=livestream.googleapis.com", "ruby-cloud-api-shortname=livestream", ], ruby_cloud_description = "The Live Stream API transcodes mezzanine live signals into direct-to-consumer streaming formats, including Dynamic Adaptive Streaming over HTTP (DASH/MPEG-DASH), and HTTP Live Streaming (HLS), for multiple device platforms.", ruby_cloud_title = "Live Stream", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/video/livestream/logging/v1/BUILD.bazel b/third_party/googleapis/google/cloud/video/livestream/logging/v1/BUILD.bazel index 45163cf18..3cc0c48fd 100644 --- a/third_party/googleapis/google/cloud/video/livestream/logging/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/video/livestream/logging/v1/BUILD.bazel @@ -93,7 +93,6 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -102,20 +101,9 @@ php_proto_library( deps = [":logging_proto"], ) -php_grpc_library( - name = "logging_php_grpc", - srcs = [":logging_proto"], - deps = [":logging_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/video/livestream/v1/BUILD.bazel b/third_party/googleapis/google/cloud/video/livestream/v1/BUILD.bazel index 45e69d973..fb6dc4ee4 100644 --- a/third_party/googleapis/google/cloud/video/livestream/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/video/livestream/v1/BUILD.bazel @@ -32,6 +32,7 @@ proto_library( "//google/api:resource_proto", "//google/longrunning:operations_proto", "//google/rpc:status_proto", + "//google/type:datetime_proto", "@com_google_protobuf//:duration_proto", "@com_google_protobuf//:empty_proto", "@com_google_protobuf//:field_mask_proto", @@ -44,6 +45,7 @@ proto_library_with_info( deps = [ ":livestream_proto", "//google/cloud:common_resources_proto", + "//google/cloud/location:location_proto", ], ) @@ -79,11 +81,13 @@ java_gapic_library( service_yaml = "livestream_v1.yaml", test_deps = [ ":livestream_java_grpc", + "//google/cloud/location:location_java_grpc", ], transport = "grpc+rest", deps = [ ":livestream_java_proto", "//google/api:api_java_proto", + "//google/cloud/location:location_java_proto", ], ) @@ -117,7 +121,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -129,6 +132,7 @@ go_proto_library( "//google/api:annotations_go_proto", "//google/longrunning:longrunning_go_proto", "//google/rpc:status_go_proto", + "//google/type:datetime_go_proto", ], ) @@ -144,6 +148,7 @@ go_gapic_library( transport = "grpc+rest", deps = [ ":livestream_go_proto", + "//google/cloud/location:location_go_proto", "//google/longrunning:longrunning_go_proto", "@com_google_cloud_go_longrunning//:go_default_library", "@com_google_cloud_go_longrunning//autogen:go_default_library", @@ -151,19 +156,13 @@ go_gapic_library( ], ) -go_test( - name = "livestream_go_gapic_test", - srcs = [":livestream_go_gapic_srcjar_test"], - embed = [":livestream_go_gapic"], - importpath = "cloud.google.com/go/video/livestream/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-video-livestream-v1-go", deps = [ ":livestream_go_gapic", ":livestream_go_gapic_srcjar-metadata.srcjar", + ":livestream_go_gapic_srcjar-snippets.srcjar", ":livestream_go_gapic_srcjar-test.srcjar", ":livestream_go_proto", ], @@ -184,13 +183,15 @@ py_gapic_library( srcs = [":livestream_proto"], grpc_service_config = "livestream_grpc_service_config.json", opt_args = [ - "warehouse-package-name=google-cloud-video-live-stream", - "python-gapic-namespace=google.cloud.video", "python-gapic-name=live_stream", + "python-gapic-namespace=google.cloud.video", + "warehouse-package-name=google-cloud-video-live-stream", ], rest_numeric_enums = True, service_yaml = "livestream_v1.yaml", transport = "grpc+rest", + deps = [ + ], ) py_test( @@ -218,7 +219,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -227,23 +227,15 @@ php_proto_library( deps = [":livestream_proto"], ) -php_grpc_library( - name = "livestream_php_grpc", - srcs = [":livestream_proto"], - deps = [":livestream_php_proto"], -) - php_gapic_library( name = "livestream_php_gapic", srcs = [":livestream_proto_with_info"], grpc_service_config = "livestream_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "livestream_v1.yaml", transport = "grpc+rest", - deps = [ - ":livestream_php_grpc", - ":livestream_php_proto", - ], + deps = [":livestream_php_proto"], ) # Open Source Packages @@ -251,7 +243,6 @@ php_gapic_assembly_pkg( name = "google-cloud-video-livestream-v1-php", deps = [ ":livestream_php_gapic", - ":livestream_php_grpc", ":livestream_php_proto", ], ) @@ -322,6 +313,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "The Live Stream API transcodes mezzanine live signals into direct-to-consumer streaming formats, including Dynamic Adaptive Streaming over HTTP (DASH/MPEG-DASH), and HTTP Live Streaming (HLS), for multiple device platforms.", ruby_cloud_title = "Live Stream V1", service_yaml = "livestream_v1.yaml", + transport = "grpc+rest", deps = [ ":livestream_ruby_grpc", ":livestream_ruby_proto", diff --git a/third_party/googleapis/google/cloud/video/livestream/v1/livestream_v1.yaml b/third_party/googleapis/google/cloud/video/livestream/v1/livestream_v1.yaml index 4fe15dda9..b5c1b65a7 100644 --- a/third_party/googleapis/google/cloud/video/livestream/v1/livestream_v1.yaml +++ b/third_party/googleapis/google/cloud/video/livestream/v1/livestream_v1.yaml @@ -4,7 +4,9 @@ name: livestream.googleapis.com title: Live Stream API apis: +- name: google.cloud.location.Locations - name: google.cloud.video.livestream.v1.LivestreamService +- name: google.longrunning.Operations types: - name: google.cloud.video.livestream.v1.ChannelOperationResponse diff --git a/third_party/googleapis/google/cloud/video/livestream/v1/outputs.proto b/third_party/googleapis/google/cloud/video/livestream/v1/outputs.proto index fb5cc1301..21a9e9bdc 100644 --- a/third_party/googleapis/google/cloud/video/livestream/v1/outputs.proto +++ b/third_party/googleapis/google/cloud/video/livestream/v1/outputs.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,6 +18,7 @@ package google.cloud.video.livestream.v1; import "google/api/field_behavior.proto"; import "google/protobuf/duration.proto"; +import "google/type/datetime.proto"; option csharp_namespace = "Google.Cloud.Video.LiveStream.V1"; option go_package = "cloud.google.com/go/video/livestream/apiv1/livestreampb;livestreampb"; @@ -60,8 +61,9 @@ message MuxStream { // - `ts` - the corresponding file extension is `.ts` string container = 3; - // List of `ElementaryStream` [key][google.cloud.video.livestream.v1.ElementaryStream.key]s multiplexed in this - // stream. + // List of `ElementaryStream` + // [key][google.cloud.video.livestream.v1.ElementaryStream.key]s multiplexed + // in this stream. // // - For `fmp4` container, must contain either one video or one audio stream. // - For `ts` container, must contain exactly one audio stream and up to one @@ -70,6 +72,10 @@ message MuxStream { // Segment settings for `fmp4` and `ts`. SegmentSettings segment_settings = 5; + + // Identifier of the encryption configuration to use. If omitted, output + // will be unencrypted. + string encryption_id = 6; } // Manifest configuration. @@ -87,15 +93,17 @@ message Manifest { } // The name of the generated file. The default is `manifest` with the - // extension suffix corresponding to the `Manifest` [type][google.cloud.video.livestream.v1.Manifest.type]. If multiple + // extension suffix corresponding to the `Manifest` + // [type][google.cloud.video.livestream.v1.Manifest.type]. If multiple // manifests are added to the channel, each must have a unique file name. string file_name = 1; // Required. Type of the manifest, can be `HLS` or `DASH`. ManifestType type = 2 [(google.api.field_behavior) = REQUIRED]; - // Required. List of `MuxStream` [key][google.cloud.video.livestream.v1.MuxStream.key]s that should appear in this - // manifest. + // Required. List of `MuxStream` + // [key][google.cloud.video.livestream.v1.MuxStream.key]s that should appear + // in this manifest. // // - For HLS, either `fmp4` or `ts` mux streams can be specified but not // mixed. @@ -115,6 +123,15 @@ message Manifest { // player has, but were already deleted from the output Google Cloud Storage // bucket. Default value is `60s`. google.protobuf.Duration segment_keep_duration = 5; + + // Whether to use the timecode, as specified in timecode config, when setting: + // + // - `availabilityStartTime` attribute in DASH manifests. + // - `#EXT-X-PROGRAM-DATE-TIME` tag in HLS manifests. + // + // If false, ignore the input timecode and use the time from system clock + // when the manifest is first generated. This is the default behavior. + bool use_timecode_as_timeline = 6; } // Sprite sheet configuration. @@ -161,6 +178,22 @@ message SpriteSheet { // Preprocessing configurations. message PreprocessingConfig { + // Audio preprocessing configuration. + message Audio { + // Specify audio loudness normalization in loudness units relative to full + // scale (LUFS). Enter a value between -24 and 0 according to the following: + // + // - -24 is the Advanced Television Systems Committee (ATSC A/85) + // - -23 is the EU R128 broadcast standard + // - -19 is the prior standard for online mono audio + // - -18 is the ReplayGain standard + // - -16 is the prior standard for stereo audio + // - -14 is the new online audio standard recommended by Spotify, as well as + // Amazon Echo + // - 0 disables normalization. The default is 0. + double lufs = 1; + } + // Video cropping configuration for the input video. The cropped input video // is scaled to match the output resolution. message Crop { @@ -193,6 +226,9 @@ message PreprocessingConfig { int32 right_pixels = 4; } + // Audio preprocessing configuration. + Audio audio = 1; + // Specify the video cropping configuration. Crop crop = 2; @@ -212,8 +248,8 @@ message VideoStream { // Valid range is [180, 1080]. int32 height_pixels = 2; - // Required. The target video frame rate in frames per second (FPS). Must be less - // than or equal to 60. Will default to the input frame rate if larger + // Required. The target video frame rate in frames per second (FPS). Must be + // less than or equal to 60. Will default to the input frame rate if larger // than the input frame rate. The API will generate an output FPS that is // divisible by the input FPS, and smaller or equal to the target FPS. See // [Calculating frame @@ -242,16 +278,18 @@ message VideoStream { // Select the GOP size based on the specified duration. The default is // `2s`. Note that `gopDuration` must be less than or equal to - // [segment_duration][google.cloud.video.livestream.v1.SegmentSettings.segment_duration], and - // [segment_duration][google.cloud.video.livestream.v1.SegmentSettings.segment_duration] must be divisible - // by `gopDuration`. Valid range is [2s, 20s]. + // [segment_duration][google.cloud.video.livestream.v1.SegmentSettings.segment_duration], + // and + // [segment_duration][google.cloud.video.livestream.v1.SegmentSettings.segment_duration] + // must be divisible by `gopDuration`. Valid range is [2s, 20s]. // // All video streams in the same channel must have the same GOP size. google.protobuf.Duration gop_duration = 8; } // Size of the Video Buffering Verifier (VBV) buffer in bits. Must be - // greater than zero. The default is equal to [bitrate_bps][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.bitrate_bps]. + // greater than zero. The default is equal to + // [bitrate_bps][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.bitrate_bps]. int32 vbv_size_bits = 9; // Initial fullness of the Video Buffering Verifier (VBV) buffer in bits. @@ -272,8 +310,9 @@ message VideoStream { bool b_pyramid = 12; // The number of consecutive B-frames. Must be greater than or equal to - // zero. Must be less than [gop_frame_count][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.gop_frame_count] if set. The default - // is 0. + // zero. Must be less than + // [gop_frame_count][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.gop_frame_count] + // if set. The default is 0. int32 b_frame_count = 13; // Specify the intensity of the adaptive quantizer (AQ). Must be between 0 @@ -291,7 +330,8 @@ message VideoStream { // The available options are [FFmpeg-compatible Profile // Options](https://trac.ffmpeg.org/wiki/Encode/H.264#Profile). // Note that certain values for this field may cause the - // transcoder to override other fields you set in the [H264CodecSettings][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings] + // transcoder to override other fields you set in the + // [H264CodecSettings][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings] // message. string profile = 15; @@ -299,7 +339,9 @@ message VideoStream { // [FFmpeg-compatible Encode // Options](https://trac.ffmpeg.org/wiki/Encode/H.264#Tune) // Note that certain values for this field may cause the transcoder to - // override other fields you set in the [H264CodecSettings][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings] message. + // override other fields you set in the + // [H264CodecSettings][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings] + // message. string tune = 16; } @@ -314,22 +356,30 @@ message VideoStream { message AudioStream { // The mapping for the input streams and audio channels. message AudioMapping { - // Required. The `Channel` [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key] that identifies the input that this - // audio mapping applies to. If an active input doesn't have an audio - // mapping, the primary audio track in the input stream will be selected. + // Required. The `Channel` + // [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key] + // that identifies the input that this audio mapping applies to. If an + // active input doesn't have an audio mapping, the primary audio track in + // the input stream will be selected. string input_key = 6 [(google.api.field_behavior) = REQUIRED]; // Required. The zero-based index of the track in the input stream. - // All [mapping][google.cloud.video.livestream.v1.AudioStream.mapping]s in the same [AudioStream][google.cloud.video.livestream.v1.AudioStream] - // must have the same input track. + // All [mapping][google.cloud.video.livestream.v1.AudioStream.mapping]s in + // the same [AudioStream][google.cloud.video.livestream.v1.AudioStream] must + // have the same input track. int32 input_track = 2 [(google.api.field_behavior) = REQUIRED]; // Required. The zero-based index of the channel in the input stream. int32 input_channel = 3 [(google.api.field_behavior) = REQUIRED]; // Required. The zero-based index of the channel in the output audio stream. - // Must be consistent with the [input_channel][google.cloud.video.livestream.v1.AudioStream.AudioMapping.input_channel]. + // Must be consistent with the + // [input_channel][google.cloud.video.livestream.v1.AudioStream.AudioMapping.input_channel]. int32 output_channel = 4 [(google.api.field_behavior) = REQUIRED]; + + // Audio volume control in dB. Negative values decrease volume, + // positive values increase. The default is 0. + double gain_db = 5; } // Specifies whether pass through (transmuxing) is enabled or not. @@ -344,7 +394,8 @@ message AudioStream { // - `aac` string codec = 1; - // Required. Audio bitrate in bits per second. Must be between 1 and 10,000,000. + // Required. Audio bitrate in bits per second. Must be between 1 and + // 10,000,000. int32 bitrate_bps = 2 [(google.api.field_behavior) = REQUIRED]; // Number of audio channels. Must be between 1 and 6. The default is 2. @@ -386,12 +437,43 @@ message TextStream { message SegmentSettings { // Duration of the segments in seconds. The default is `6s`. Note that // `segmentDuration` must be greater than or equal to - // [gop_duration][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.gop_duration], and - // `segmentDuration` must be divisible by + // [gop_duration][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.gop_duration], + // and `segmentDuration` must be divisible by // [gop_duration][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.gop_duration]. // Valid range is [2s, 20s]. // - // All [mux_streams][google.cloud.video.livestream.v1.Manifest.mux_streams] in the same manifest must have the - // same segment duration. + // All [mux_streams][google.cloud.video.livestream.v1.Manifest.mux_streams] in + // the same manifest must have the same segment duration. google.protobuf.Duration segment_duration = 1; } + +// Timecode configuration. +message TimecodeConfig { + // The source of timecode. + enum TimecodeSource { + // The timecode source is not specified. + TIMECODE_SOURCE_UNSPECIFIED = 0; + + // Use input media timestamp. + MEDIA_TIMESTAMP = 1; + + // Use input embedded timecode e.g. picture timing SEI message. + EMBEDDED_TIMECODE = 2; + } + + // The source of the timecode that will later be used in outputs/manifests. + // It determines the initial timecode/timestamp (first frame) of output + // streams. + TimecodeSource source = 1; + + // For EMBEDDED_TIMECODE source only. + // Used to interpret the embedded timecode (which contains only the time part + // and no date). We assume all inputs are live. + oneof time_offset { + // UTC offset. Must be whole seconds, between -18 hours and +18 hours. + google.protobuf.Duration utc_offset = 2; + + // Time zone e.g. "America/Los_Angeles". + google.type.TimeZone time_zone = 3; + } +} diff --git a/third_party/googleapis/google/cloud/video/livestream/v1/resources.proto b/third_party/googleapis/google/cloud/video/livestream/v1/resources.proto index a0d29591d..019e34530 100644 --- a/third_party/googleapis/google/cloud/video/livestream/v1/resources.proto +++ b/third_party/googleapis/google/cloud/video/livestream/v1/resources.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -81,10 +81,12 @@ message Input { string name = 1; // Output only. The creation time. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The update time. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // User-defined key/value metadata. map labels = 4; @@ -99,7 +101,8 @@ message Input { Tier tier = 14; // Output only. URI to push the input stream to. - // Its format depends on the input [type][google.cloud.video.livestream.v1.Input.type], for example: + // Its format depends on the input + // [type][google.cloud.video.livestream.v1.Input.type], for example: // // * `RTMP_PUSH`: `rtmp://1.2.3.4/live/{STREAM-ID}` // * `SRT_PUSH`: `srt://1.2.3.4:4201?streamid={STREAM-ID}` @@ -111,9 +114,10 @@ message Input { // Security rule for access control. SecurityRule security_rules = 12; - // Output only. The information for the input stream. This field will be present only when - // this input receives the input stream. - InputStreamProperty input_stream_property = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The information for the input stream. This field will be + // present only when this input receives the input stream. + InputStreamProperty input_stream_property = 15 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Channel resource represents the processor that does a user-defined @@ -170,10 +174,12 @@ message Channel { string name = 1; // Output only. The creation time. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The update time. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // User-defined key/value metadata. map labels = 4; @@ -183,12 +189,15 @@ message Channel { // input can be selected as the input source at one time. repeated InputAttachment input_attachments = 16; - // Output only. The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key] that serves as the current input source. The - // first input in the [input_attachments][google.cloud.video.livestream.v1.Channel.input_attachments] is the initial input source. + // Output only. The + // [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key] + // that serves as the current input source. The first input in the + // [input_attachments][google.cloud.video.livestream.v1.Channel.input_attachments] + // is the initial input source. string active_input = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Required. Information about the output (that is, the Cloud Storage bucket to store - // the generated live stream). + // Required. Information about the output (that is, the Cloud Storage bucket + // to store the generated live stream). Output output = 9 [(google.api.field_behavior) = REQUIRED]; // List of elementary streams. @@ -204,15 +213,57 @@ message Channel { repeated SpriteSheet sprite_sheets = 13; // Output only. State of the streaming operation. - StreamingState streaming_state = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; + StreamingState streaming_state = 14 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. A description of the reason for the streaming error. This property is - // always present when [streaming_state][google.cloud.video.livestream.v1.Channel.streaming_state] is + // Output only. A description of the reason for the streaming error. This + // property is always present when + // [streaming_state][google.cloud.video.livestream.v1.Channel.streaming_state] + // is // [STREAMING_ERROR][google.cloud.video.livestream.v1.Channel.StreamingState.STREAMING_ERROR]. - google.rpc.Status streaming_error = 18 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.rpc.Status streaming_error = 18 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Configuration of platform logs for this channel. LogConfig log_config = 19; + + // Configuration of timecode for this channel. + TimecodeConfig timecode_config = 21; + + // Encryption configurations for this channel. Each configuration has an ID + // which is referred to by each MuxStream to indicate which configuration is + // used for that output. + repeated Encryption encryptions = 24; + + // The configuration for input sources defined in + // [input_attachments][google.cloud.video.livestream.v1.Channel.input_attachments]. + InputConfig input_config = 25; +} + +// Configuration for the input sources of a channel. +message InputConfig { + // Input switch mode. + enum InputSwitchMode { + // The input switch mode is not specified. + INPUT_SWITCH_MODE_UNSPECIFIED = 0; + + // Automatic failover is enabled. The primary input stream is always + // preferred over its backup input streams configured using the + // [AutomaticFailover][google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover] + // field. + FAILOVER_PREFER_PRIMARY = 1; + + // Automatic failover is disabled. You must use the + // [inputSwitch][google.cloud.video.livestream.v1.Event.input_switch] event + // to switch the active input source for the channel to stream from. When + // this mode is chosen, the + // [AutomaticFailover][google.cloud.video.livestream.v1.InputAttachment.AutomaticFailover] + // field is ignored. + MANUAL = 3; + } + + // Input switch mode. Default mode is `FAILOVER_PREFER_PRIMARY`. + InputSwitchMode input_switch_mode = 1; } // Configuration of platform logs. @@ -314,8 +365,10 @@ message AudioFormat { message InputAttachment { // Configurations to follow when automatic failover happens. message AutomaticFailover { - // The [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]s of inputs to failover to when this input is - // disconnected. Currently, only up to one backup input is supported. + // The + // [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]s + // of inputs to failover to when this input is disconnected. Currently, only + // up to one backup input is supported. repeated string input_keys = 1; } @@ -325,8 +378,8 @@ message InputAttachment { // The resource name of an existing input, in the form of: // `projects/{project}/locations/{location}/inputs/{inputId}`. string input = 2 [(google.api.resource_reference) = { - type: "livestream.googleapis.com/Input" - }]; + type: "livestream.googleapis.com/Input" + }]; // Automatic failover configurations. AutomaticFailover automatic_failover = 3; @@ -340,12 +393,50 @@ message Event { pattern: "projects/{project}/locations/{location}/channels/{channel}/events/{event}" }; + // Switches to another input stream. Automatic failover is then disabled. + message InputSwitchTask { + // The + // [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key] + // of the input to switch to. + string input_key = 1; + } + // Inserts a new ad opportunity. message AdBreakTask { // Duration of an ad opportunity. Must be greater than 0. google.protobuf.Duration duration = 1; } + // Inserts a slate. + message SlateTask { + // Optional. Duration of the slate. Must be greater than 0 if specified. + // Omit this field for a long running slate. + google.protobuf.Duration duration = 1; + + // Slate asset to use for the duration. If its duration is less than the + // duration of the SlateTask, then it will be looped. The slate must be + // represented in the form of: + // `projects/{project}/locations/{location}/assets/{assetId}`. + string asset = 2 [(google.api.resource_reference) = { + type: "livestream.googleapis.com/Asset" + }]; + } + + // Stops any events which are currently running. This only applies to events + // with a duration. + message ReturnToProgramTask {} + + // Mutes the stream. + message MuteTask { + // Duration for which the stream should be muted. If omitted, the stream + // will be muted until an UnmuteTask event is sent. + google.protobuf.Duration duration = 1; + } + + // Unmutes the stream. The task will fail if the stream is not + // currently muted. + message UnmuteTask {} + // State of the event enum State { // Event state is not specified. @@ -375,28 +466,51 @@ message Event { string name = 1; // Output only. The creation time. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The update time. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // User-defined key/value metadata. map labels = 4; // Required. Operation to be executed by this event. oneof task { - // Required. Inserts a new ad opportunity. - AdBreakTask ad_break = 6 [(google.api.field_behavior) = REQUIRED]; + // Switches to another input stream. + InputSwitchTask input_switch = 5; + + // Inserts a new ad opportunity. + AdBreakTask ad_break = 6; + + // Stops any running ad break. + ReturnToProgramTask return_to_program = 13; + + // Inserts a slate. + SlateTask slate = 14; + + // Mutes the stream. + MuteTask mute = 15; + + // Unmutes the stream. + UnmuteTask unmute = 16; } // When this field is set to true, the event will be executed at the earliest - // time that the server can schedule the event and [execution_time][google.cloud.video.livestream.v1.Event.execution_time] will be - // populated with the time that the server actually schedules the event. + // time that the server can schedule the event and + // [execution_time][google.cloud.video.livestream.v1.Event.execution_time] + // will be populated with the time that the server actually schedules the + // event. bool execute_now = 9; - // The time when the event should be executed. When [execute_now][google.cloud.video.livestream.v1.Event.execute_now] is set to - // `true`, this field should not be set in `CreateEvent` request and will be - // populated with the time that the server schedules the event. + // The time to execute the event. If you set + // [execute_now][google.cloud.video.livestream.v1.Event.execute_now] to + // `true`, then do not set this field in the `CreateEvent` request. In + // this case, the server schedules the event and populates this field. If you + // set [execute_now][google.cloud.video.livestream.v1.Event.execute_now] to + // `false`, then you must set this field to at least 10 seconds in the future + // or else the event can't be created. google.protobuf.Timestamp execution_time = 10; // Output only. The state of the event. @@ -406,3 +520,210 @@ message Event { // This property is always present when `state` is `FAILED`. google.rpc.Status error = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; } + +// An asset represents a video or an image. +message Asset { + option (google.api.resource) = { + type: "livestream.googleapis.com/Asset" + pattern: "projects/{project}/locations/{location}/assets/{asset}" + }; + + // VideoAsset represents a video. The supported formats are MP4, MPEG-TS, and + // FLV. The supported video codec is H264. The supported audio codecs are + // AAC, AC3, MP2, and MP3. + message VideoAsset { + // Cloud Storage URI of the video. The format is `gs://my-bucket/my-object`. + string uri = 1; + } + + // Image represents an image. The supported format is JPEG. + message ImageAsset { + // Cloud Storage URI of the image. The format is `gs://my-bucket/my-object`. + string uri = 1; + } + + // State of the asset resource. + enum State { + // State is not specified. + STATE_UNSPECIFIED = 0; + + // The asset is being created. + CREATING = 1; + + // The asset is ready for use. + ACTIVE = 2; + + // The asset is being deleted. + DELETING = 3; + + // The asset has an error. + ERROR = 4; + } + + // The resource name of the asset, in the form of: + // `projects/{project}/locations/{location}/assets/{assetId}`. + string name = 1; + + // Output only. The creation time. + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The update time. + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // User-defined key/value metadata. + map labels = 4; + + // The reference to the asset. + // The maximum size of the resource is 250 MB. + oneof resource { + // VideoAsset represents a video. + VideoAsset video = 5; + + // ImageAsset represents an image. + ImageAsset image = 6; + } + + // Based64-encoded CRC32c checksum of the asset file. For more information, + // see the crc32c checksum of the [Cloud Storage Objects + // resource](https://cloud.google.com/storage/docs/json_api/v1/objects). + // If crc32c is omitted or left empty when the asset is created, this field is + // filled by the crc32c checksum of the Cloud Storage object indicated by + // [VideoAsset.uri] or [ImageAsset.uri]. + // If crc32c is set, the asset can't be created if the crc32c value does not + // match with the crc32c checksum of the Cloud Storage object indicated by + // [VideoAsset.uri] or [ImageAsset.uri]. + string crc32c = 7; + + // Output only. The state of the asset resource. + State state = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Only present when `state` is `ERROR`. The reason for the error + // state of the asset. + google.rpc.Status error = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// Encryption settings. +message Encryption { + // Configuration for secrets stored in Google Secret Manager. + message SecretManagerSource { + // Required. The name of the Secret Version containing the encryption key. + // `projects/{project}/secrets/{secret_id}/versions/{version_number}` + string secret_version = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "secretmanager.googleapis.com/SecretVersion" + } + ]; + } + + // Widevine configuration. + message Widevine {} + + // Fairplay configuration. + message Fairplay {} + + // Playready configuration. + message Playready {} + + // Clearkey configuration. + message Clearkey {} + + // Defines configuration for DRM systems in use. If a field is omitted, + // that DRM system will be considered to be disabled. + message DrmSystems { + // Widevine configuration. + Widevine widevine = 1; + + // Fairplay configuration. + Fairplay fairplay = 2; + + // Playready configuration. + Playready playready = 3; + + // Clearkey configuration. + Clearkey clearkey = 4; + } + + // Configuration for HLS AES-128 encryption. + message Aes128Encryption {} + + // Configuration for HLS SAMPLE-AES encryption. + message SampleAesEncryption {} + + // Configuration for MPEG-Dash Common Encryption (MPEG-CENC). + message MpegCommonEncryption { + // Required. Specify the encryption scheme, supported schemes: + // - `cenc` - AES-CTR subsample + // - `cbcs`- AES-CBC subsample pattern + string scheme = 1 [(google.api.field_behavior) = REQUIRED]; + } + + // Required. Identifier for this set of encryption options. + string id = 1 [(google.api.field_behavior) = REQUIRED]; + + // Defines where content keys are stored. + oneof secret_source { + // For keys stored in Google Secret Manager. + SecretManagerSource secret_manager_key_source = 7; + } + + // Required. Configuration for DRM systems. + DrmSystems drm_systems = 3 [(google.api.field_behavior) = REQUIRED]; + + // Encryption modes for HLS and MPEG-Dash. + oneof encryption_mode { + // Configuration for HLS AES-128 encryption. + Aes128Encryption aes128 = 4; + + // Configuration for HLS SAMPLE-AES encryption. + SampleAesEncryption sample_aes = 5; + + // Configuration for MPEG-Dash Common Encryption (MPEG-CENC). + MpegCommonEncryption mpeg_cenc = 6; + } +} + +// Pool resource defines the configuration of Live Stream pools for a specific +// location. Currently we support only one pool resource per project per +// location. After the creation of the first input, a default pool is created +// automatically at "projects/{project}/locations/{location}/pools/default". +message Pool { + option (google.api.resource) = { + type: "livestream.googleapis.com/Pool" + pattern: "projects/{project}/locations/{location}/pools/{pool}" + }; + + // Defines the network configuration for the pool. + message NetworkConfig { + // peered_network is the network resource URL of the network that is peered + // to the service provider network. Must be of the format + // projects/NETWORK_PROJECT_NUMBER/global/networks/NETWORK_NAME, where + // NETWORK_PROJECT_NUMBER is the project number of the Cloud project that + // holds your VPC network and NETWORK_NAME is the name of your VPC network. + // If peered_network is omitted or empty, the pool will use endpoints that + // are publicly available. + string peered_network = 1 [(google.api.resource_reference) = { + type: "compute.googleapis.com/Network" + }]; + } + + // The resource name of the pool, in the form of: + // `projects/{project}/locations/{location}/pools/{poolId}`. + string name = 1; + + // Output only. The creation time. + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The update time. + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // User-defined key/value metadata. + map labels = 4; + + // Network configuration for the pool. + NetworkConfig network_config = 5; +} diff --git a/third_party/googleapis/google/cloud/video/livestream/v1/service.proto b/third_party/googleapis/google/cloud/video/livestream/v1/service.proto index d8c478ec6..49c590c38 100644 --- a/third_party/googleapis/google/cloud/video/livestream/v1/service.proto +++ b/third_party/googleapis/google/cloud/video/livestream/v1/service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -33,6 +33,14 @@ option java_outer_classname = "ServiceProto"; option java_package = "com.google.cloud.video.livestream.v1"; option php_namespace = "Google\\Cloud\\Video\\LiveStream\\V1"; option ruby_package = "Google::Cloud::Video::LiveStream::V1"; +option (google.api.resource_definition) = { + type: "secretmanager.googleapis.com/SecretVersion" + pattern: "projects/{project}/secrets/{secret}/versions/{version}" +}; +option (google.api.resource_definition) = { + type: "compute.googleapis.com/Network" + pattern: "projects/{project}/global/networks/{network}" +}; // Using Live Stream API, you can generate live streams in the various // renditions and streaming formats. The streaming format include HTTP Live @@ -41,11 +49,13 @@ option ruby_package = "Google::Cloud::Video::LiveStream::V1"; // Protocol (RTMP) and Secure Reliable Transport (SRT). service LivestreamService { option (google.api.default_host) = "livestream.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Creates a channel with the provided unique ID in the specified // region. - rpc CreateChannel(CreateChannelRequest) returns (google.longrunning.Operation) { + rpc CreateChannel(CreateChannelRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/channels" body: "channel" @@ -74,7 +84,8 @@ service LivestreamService { } // Deletes the specified channel. - rpc DeleteChannel(DeleteChannelRequest) returns (google.longrunning.Operation) { + rpc DeleteChannel(DeleteChannelRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/channels/*}" }; @@ -86,7 +97,8 @@ service LivestreamService { } // Updates the specified channel. - rpc UpdateChannel(UpdateChannelRequest) returns (google.longrunning.Operation) { + rpc UpdateChannel(UpdateChannelRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v1/{channel.name=projects/*/locations/*/channels/*}" body: "channel" @@ -212,6 +224,180 @@ service LivestreamService { }; option (google.api.method_signature) = "name"; } + + // Creates a Asset with the provided unique ID in the specified + // region. + rpc CreateAsset(CreateAssetRequest) returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*}/assets" + body: "asset" + }; + option (google.api.method_signature) = "parent,asset,asset_id"; + option (google.longrunning.operation_info) = { + response_type: "Asset" + metadata_type: "OperationMetadata" + }; + } + + // Deletes the specified asset if it is not used. + rpc DeleteAsset(DeleteAssetRequest) returns (google.longrunning.Operation) { + option (google.api.http) = { + delete: "/v1/{name=projects/*/locations/*/assets/*}" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "OperationMetadata" + }; + } + + // Returns the specified asset. + rpc GetAsset(GetAssetRequest) returns (Asset) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*/assets/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Returns a list of all assets in the specified region. + rpc ListAssets(ListAssetsRequest) returns (ListAssetsResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*}/assets" + }; + option (google.api.method_signature) = "parent"; + } + + // Returns the specified pool. + rpc GetPool(GetPoolRequest) returns (Pool) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*/pools/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Updates the specified pool. + rpc UpdatePool(UpdatePoolRequest) returns (google.longrunning.Operation) { + option (google.api.http) = { + patch: "/v1/{pool.name=projects/*/locations/*/pools/*}" + body: "pool" + }; + option (google.api.method_signature) = "pool,update_mask"; + option (google.longrunning.operation_info) = { + response_type: "Pool" + metadata_type: "OperationMetadata" + }; + } +} + +// Request message for "LivestreamService.CreateAsset". +message CreateAssetRequest { + // Required. The parent location for the resource, in the form of: + // `projects/{project}/locations/{location}`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "livestream.googleapis.com/Asset" + } + ]; + + // Required. The asset resource to be created. + Asset asset = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The ID of the asset resource to be created. + // This value must be 1-63 characters, begin and end with `[a-z0-9]`, + // could contain dashes (-) in between. + string asset_id = 3 [(google.api.field_behavior) = REQUIRED]; + + // A request ID to identify requests. Specify a unique request ID + // so that if you must retry your request, the server will know to ignore + // the request if it has already been completed. The server will guarantee + // that for at least 60 minutes since the first request. + // + // For example, consider a situation where you make an initial request and the + // request times out. If you make the request again with the same request ID, + // the server can check if original operation with the same request ID was + // received, and if so, will ignore the second request. This prevents clients + // from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported `(00000000-0000-0000-0000-000000000000)`. + string request_id = 4; +} + +// Request message for "LivestreamService.DeleteAsset". +message DeleteAssetRequest { + // Required. The name of the asset resource, in the form of: + // `projects/{project}/locations/{location}/assets/{assetId}`. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "livestream.googleapis.com/Asset" + } + ]; + + // A request ID to identify requests. Specify a unique request ID + // so that if you must retry your request, the server will know to ignore + // the request if it has already been completed. The server will guarantee + // that for at least 60 minutes after the first request. + // + // For example, consider a situation where you make an initial request and the + // request times out. If you make the request again with the same request ID, + // the server can check if original operation with the same request ID was + // received, and if so, will ignore the second request. This prevents clients + // from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported `(00000000-0000-0000-0000-000000000000)`. + string request_id = 2; +} + +// Request message for "LivestreamService.ListAssets". +message ListAssetsRequest { + // Required. The parent location for the resource, in the form of: + // `projects/{project}/locations/{location}`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "livestream.googleapis.com/Asset" + } + ]; + + // Requested page size. Server may return fewer items than requested. + // If unspecified, server will pick an appropriate default. + int32 page_size = 2; + + // A token identifying a page of results the server should return. + string page_token = 3; + + // Filtering results + string filter = 4; + + // Hint for how to order the results + string order_by = 5; +} + +// Response message for "LivestreamService.ListAssets". +message ListAssetsResponse { + // The list of Assets + repeated Asset assets = 1; + + // The next_page_token value returned from a previous List request, if any. + string next_page_token = 2; + + // Locations that could not be reached. + repeated string unreachable = 3; +} + +// Request message for "LivestreamService.GetAsset". +message GetAssetRequest { + // Required. Name of the resource, in the following form: + // `projects/{project}/locations/{location}/assets/{asset}`. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "livestream.googleapis.com/Asset" + } + ]; } // Request message for "LivestreamService.CreateChannel". @@ -263,8 +449,8 @@ message ListChannelsRequest { // The maximum number of items to return. If unspecified, server // will pick an appropriate default. Server may return fewer items than // requested. A caller should only rely on response's - // [next_page_token][google.cloud.video.livestream.v1.ListChannelsResponse.next_page_token] to - // determine if there are more items left to be queried. + // [next_page_token][google.cloud.video.livestream.v1.ListChannelsResponse.next_page_token] + // to determine if there are more items left to be queried. int32 page_size = 2; // The next_page_token value returned from a previous List request, if any. @@ -342,14 +528,22 @@ message UpdateChannelRequest { // resource by the update. You can only update the following fields: // // * [`inputAttachments`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#inputattachment) + // * [`inputConfig`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#inputconfig) // * [`output`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#output) - // * [`elementaryStreams`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#ElementaryStream) + // * [`elementaryStreams`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#elementarystream) // * [`muxStreams`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#muxstream) - // * [`manifests`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#Manifest) - // * [`spritesheets`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#spritesheet) + // * [`manifests`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#manifest) + // * [`spriteSheets`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#spritesheet) + // * [`logConfig`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#logconfig) + // * [`timecodeConfig`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#timecodeconfig) + // * [`encryptions`](https://cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.channels#encryption) // // The fields specified in the update_mask are relative to the resource, not // the full request. A field will be overwritten if it is in the mask. + // + // If the mask is not present, then each field from the list above is updated + // if the field appears in the request payload. To unset a field, add the + // field to the update mask and remove it from the request payload. google.protobuf.FieldMask update_mask = 1; // Required. The channel resource to be updated. @@ -474,8 +668,8 @@ message ListInputsRequest { // The maximum number of items to return. If unspecified, server // will pick an appropriate default. Server may return fewer items than // requested. A caller should only rely on response's - // [next_page_token][google.cloud.video.livestream.v1.ListInputsResponse.next_page_token] to - // determine if there are more items left to be queried. + // [next_page_token][google.cloud.video.livestream.v1.ListInputsResponse.next_page_token] + // to determine if there are more items left to be queried. int32 page_size = 2; // The next_page_token value returned from a previous List request, if any. @@ -551,6 +745,10 @@ message UpdateInputRequest { // // The fields specified in the update_mask are relative to the resource, not // the full request. A field will be overwritten if it is in the mask. + // + // If the mask is not present, then each field from the list above is updated + // if the field appears in the request payload. To unset a field, add the + // field to the update mask and remove it from the request payload. google.protobuf.FieldMask update_mask = 1; // Required. The input resource to be updated. @@ -621,8 +819,8 @@ message ListEventsRequest { // The maximum number of items to return. If unspecified, server // will pick an appropriate default. Server may return fewer items than // requested. A caller should only rely on response's - // [next_page_token][google.cloud.video.livestream.v1.ListEventsResponse.next_page_token] to - // determine if there are more items left to be queried. + // [next_page_token][google.cloud.video.livestream.v1.ListEventsResponse.next_page_token] + // to determine if there are more items left to be queried. int32 page_size = 2; // The next_page_token value returned from a previous List request, if any. @@ -689,17 +887,17 @@ message DeleteEventRequest { } // Response message for Start/Stop Channel long-running operations. -message ChannelOperationResponse { - -} +message ChannelOperationResponse {} // Represents the metadata of the long-running operation. message OperationMetadata { // Output only. The time the operation was created. - google.protobuf.Timestamp create_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time the operation finished running. - google.protobuf.Timestamp end_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp end_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Server-defined resource path for the target of the operation. string target = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -717,3 +915,43 @@ message OperationMetadata { // Output only. API version used to start the operation. string api_version = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; } + +// Request message for "LivestreamService.GetPool". +message GetPoolRequest { + // Required. The name of the pool resource, in the form of: + // `projects/{project}/locations/{location}/pools/{poolId}`. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "livestream.googleapis.com/Pool" } + ]; +} + +// Request message for "LivestreamService.UpdatePool". +message UpdatePoolRequest { + // Field mask is used to specify the fields to be overwritten in the Pool + // resource by the update. You can only update the following fields: + // + // * `networkConfig` + // + // The fields specified in the update_mask are relative to the resource, not + // the full request. A field will be overwritten if it is in the mask. + google.protobuf.FieldMask update_mask = 1; + + // Required. The pool resource to be updated. + Pool pool = 2 [(google.api.field_behavior) = REQUIRED]; + + // A request ID to identify requests. Specify a unique request ID + // so that if you must retry your request, the server will know to ignore + // the request if it has already been completed. The server will guarantee + // that for at least 60 minutes since the first request. + // + // For example, consider a situation where you make an initial request and the + // request times out. If you make the request again with the same request ID, + // the server can check if original operation with the same request ID was + // received, and if so, will ignore the second request. This prevents clients + // from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported `(00000000-0000-0000-0000-000000000000)`. + string request_id = 3; +} diff --git a/third_party/googleapis/google/cloud/video/stitcher/BUILD.bazel b/third_party/googleapis/google/cloud/video/stitcher/BUILD.bazel index e5f3d6188..39265c6ce 100644 --- a/third_party/googleapis/google/cloud/video/stitcher/BUILD.bazel +++ b/third_party/googleapis/google/cloud/video/stitcher/BUILD.bazel @@ -21,13 +21,14 @@ ruby_cloud_gapic_library( srcs = ["//google/cloud/video/stitcher/v1:stitcher_proto_with_info"], extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-video-stitcher", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.8", "ruby-cloud-product-url=https://cloud.google.com/video-stitcher/", "ruby-cloud-api-id=videostitcher.googleapis.com", "ruby-cloud-api-shortname=videostitcher", ], ruby_cloud_description = "The Video Stitcher API allows you to manipulate video content to dynamically insert ads prior to delivery to client devices. Using the Video Stitcher API, you can monetize your video-on-demand (VOD) and livestreaming videos by inserting ads as described by metadata stored on ad servers.", ruby_cloud_title = "Video Stitcher", + transport = "grpc", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/video/stitcher/v1/BUILD.bazel b/third_party/googleapis/google/cloud/video/stitcher/v1/BUILD.bazel index 06853e935..860ebcbca 100644 --- a/third_party/googleapis/google/cloud/video/stitcher/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/video/stitcher/v1/BUILD.bazel @@ -25,6 +25,7 @@ proto_library( "cdn_keys.proto", "companions.proto", "events.proto", + "live_configs.proto", "sessions.proto", "slates.proto", "stitch_details.proto", @@ -35,10 +36,12 @@ proto_library( "//google/api:client_proto", "//google/api:field_behavior_proto", "//google/api:resource_proto", + "//google/longrunning:operations_proto", "@com_google_protobuf//:duration_proto", "@com_google_protobuf//:empty_proto", "@com_google_protobuf//:field_mask_proto", "@com_google_protobuf//:struct_proto", + "@com_google_protobuf//:timestamp_proto", ], ) @@ -119,7 +122,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -129,6 +131,7 @@ go_proto_library( protos = [":stitcher_proto"], deps = [ "//google/api:annotations_go_proto", + "//google/longrunning:longrunning_go_proto", ], ) @@ -144,23 +147,21 @@ go_gapic_library( transport = "grpc", deps = [ ":stitcher_go_proto", + "//google/longrunning:longrunning_go_proto", + "@com_google_cloud_go_longrunning//:go_default_library", + "@com_google_cloud_go_longrunning//autogen:go_default_library", "@io_bazel_rules_go//proto/wkt:duration_go_proto", + "@io_bazel_rules_go//proto/wkt:struct_go_proto", ], ) -go_test( - name = "stitcher_go_gapic_test", - srcs = [":stitcher_go_gapic_srcjar_test"], - embed = [":stitcher_go_gapic"], - importpath = "cloud.google.com/go/video/stitcher/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-video-stitcher-v1-go", deps = [ ":stitcher_go_gapic", ":stitcher_go_gapic_srcjar-metadata.srcjar", + ":stitcher_go_gapic_srcjar-snippets.srcjar", ":stitcher_go_gapic_srcjar-test.srcjar", ":stitcher_go_proto", ], @@ -183,6 +184,8 @@ py_gapic_library( rest_numeric_enums = True, service_yaml = "videostitcher_v1.yaml", transport = "grpc", + deps = [ + ], ) py_test( @@ -210,7 +213,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -219,23 +221,15 @@ php_proto_library( deps = [":stitcher_proto"], ) -php_grpc_library( - name = "stitcher_php_grpc", - srcs = [":stitcher_proto"], - deps = [":stitcher_php_proto"], -) - php_gapic_library( name = "stitcher_php_gapic", srcs = [":stitcher_proto_with_info"], grpc_service_config = "videostitcher_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "videostitcher_v1.yaml", transport = "grpc+rest", - deps = [ - ":stitcher_php_grpc", - ":stitcher_php_proto", - ], + deps = [":stitcher_php_proto"], ) # Open Source Packages @@ -243,7 +237,6 @@ php_gapic_assembly_pkg( name = "google-cloud-video-stitcher-v1-php", deps = [ ":stitcher_php_gapic", - ":stitcher_php_grpc", ":stitcher_php_proto", ], ) @@ -314,6 +307,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "The Video Stitcher API allows you to manipulate video content to dynamically insert ads prior to delivery to client devices. Using the Video Stitcher API, you can monetize your video-on-demand (VOD) and livestreaming videos by inserting ads as described by metadata stored on ad servers.", ruby_cloud_title = "Video Stitcher V1", service_yaml = "videostitcher_v1.yaml", + transport = "grpc", deps = [ ":stitcher_ruby_grpc", ":stitcher_ruby_proto", diff --git a/third_party/googleapis/google/cloud/video/stitcher/v1/ad_tag_details.proto b/third_party/googleapis/google/cloud/video/stitcher/v1/ad_tag_details.proto index 1961fa9b8..ef5b4697d 100644 --- a/third_party/googleapis/google/cloud/video/stitcher/v1/ad_tag_details.proto +++ b/third_party/googleapis/google/cloud/video/stitcher/v1/ad_tag_details.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -40,7 +40,9 @@ message LiveAdTagDetail { repeated AdRequest ad_requests = 2; } -// Information related to the details for one ad tag. +// Information related to the details for one ad tag. This resource is only +// available for VOD sessions that do not implement Google Ad Manager ad +// insertion. message VodAdTagDetail { option (google.api.resource) = { type: "videostitcher.googleapis.com/VodAdTagDetail" diff --git a/third_party/googleapis/google/cloud/video/stitcher/v1/cdn_keys.proto b/third_party/googleapis/google/cloud/video/stitcher/v1/cdn_keys.proto index fd7a40200..1513c3da0 100644 --- a/third_party/googleapis/google/cloud/video/stitcher/v1/cdn_keys.proto +++ b/third_party/googleapis/google/cloud/video/stitcher/v1/cdn_keys.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/video/stitcher/v1/companions.proto b/third_party/googleapis/google/cloud/video/stitcher/v1/companions.proto index ef87e1994..a089ed150 100644 --- a/third_party/googleapis/google/cloud/video/stitcher/v1/companions.proto +++ b/third_party/googleapis/google/cloud/video/stitcher/v1/companions.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/video/stitcher/v1/events.proto b/third_party/googleapis/google/cloud/video/stitcher/v1/events.proto index 24e4c459c..6a538ebc6 100644 --- a/third_party/googleapis/google/cloud/video/stitcher/v1/events.proto +++ b/third_party/googleapis/google/cloud/video/stitcher/v1/events.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/video/stitcher/v1/sessions.proto b/third_party/googleapis/google/cloud/video/stitcher/v1/sessions.proto index 035e274f2..72eeb899a 100644 --- a/third_party/googleapis/google/cloud/video/stitcher/v1/sessions.proto +++ b/third_party/googleapis/google/cloud/video/stitcher/v1/sessions.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,6 +20,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/video/stitcher/v1/companions.proto"; import "google/cloud/video/stitcher/v1/events.proto"; +import "google/cloud/video/stitcher/v1/live_configs.proto"; import "google/protobuf/duration.proto"; option go_package = "cloud.google.com/go/video/stitcher/apiv1/stitcherpb;stitcherpb"; @@ -27,13 +28,23 @@ option java_multiple_files = true; option java_outer_classname = "SessionsProto"; option java_package = "com.google.cloud.video.stitcher.v1"; -// Metadata for a VOD session. +// Metadata for a VOD session. The session expires 4 hours after its creation. message VodSession { option (google.api.resource) = { type: "videostitcher.googleapis.com/VodSession" pattern: "projects/{project}/locations/{location}/vodSessions/{vod_session}" }; + // Defines fields related to Google Ad Manager (GAM). This should be set if + // GAM is being used for ads. + message GamSettings { + // Required. Ad Manager network code. + string network_code = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The stream ID generated by Ad Manager. + string stream_id = 2 [(google.api.field_behavior) = REQUIRED]; + } + // Output only. The name of the VOD session, in the form of // `projects/{project_number}/locations/{location}/vodSessions/{id}`. string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -64,19 +75,18 @@ message VodSession { // `"`https://doubleclick.google.com/ad/1?geo_id=123"` map ad_tag_macro_map = 7; - // Indicates whether client side ad tracking is enabled. If client - // side ad tracking is enabled, then the client player is expected - // to trigger playback and activity events itself. - // If this is set to false, server side ad tracking is enabled, - // causing the Video Stitcher service will trigger playback events - // on behalf of the client player. - bool client_ad_tracking = 8; - // Additional options that affect the output of the manifest. ManifestOptions manifest_options = 9; // Output only. The generated ID of the VodSession's source media. string asset_id = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Required. Determines how the ad should be tracked. + AdTracking ad_tracking = 11 [(google.api.field_behavior) = REQUIRED]; + + // This field should be set with appropriate values if GAM is being used for + // ads. + GamSettings gam_settings = 13; } // Describes what was stitched into a VOD session's manifest. @@ -126,24 +136,19 @@ message VodSessionAdBreak { google.protobuf.Duration start_time_offset = 4; } -// Metadata for a live session. +// Metadata for a live session. The session expires 5 minutes after the client +// stops fetching the session's playlists. message LiveSession { option (google.api.resource) = { type: "videostitcher.googleapis.com/LiveSession" pattern: "projects/{project}/locations/{location}/liveSessions/{live_session}" }; - // Defines the stitcher behavior in case an ad does not align exactly with - // the ad break boundaries. If not specified, the default is COMPLETE_AD. - enum StitchingPolicy { - // Stitching policy is not specified. - STITCHING_POLICY_UNSPECIFIED = 0; - - // Finishes stitching the current ad before returning to content. - COMPLETE_AD = 1; - - // Cuts an ad short and returns to content in the middle of the ad. - CUT_CURRENT = 3; + // Defines fields related to Google Ad Manager (GAM). This should be set if + // GAM is being used for ads. + message GamSettings { + // Required. The stream ID generated by Ad Manager. + string stream_id = 1 [(google.api.field_behavior) = REQUIRED]; } // Output only. The name of the live session, in the form of @@ -153,20 +158,6 @@ message LiveSession { // Output only. The URI to play the live session's ad-stitched stream. string play_uri = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - // The URI of the live session's source stream. - string source_uri = 3; - - // The default ad tag to use when no ad tag ids are specified in an ad break's - // SCTE-35 message. - // - // default_ad_tag_id is necessary when `adTagMap` has more than one key. Its - // value must be present in the `adTagMap`. - string default_ad_tag_id = 4; - - // Key value pairs for ad tags. Ads parsed from ad tags must be MP4 videos - // each with at least one audio track. - map ad_tag_map = 5; - // Key value pairs for ad tag macro replacement. If the // specified ad tag URI has macros, this field provides the mapping // to the value that will replace the macro in the ad tag URI. @@ -182,33 +173,21 @@ message LiveSession { // `"https://doubleclick.google.com/ad/1?geo_id=123"` map ad_tag_macros = 6; - // Whether client side ad tracking is enabled. If enabled, the client player - // is expected to trigger playback and activity events itself. Otherwise, - // server side ad tracking is enabled and the Video Stitcher API will trigger - // playback events on behalf of the client player. - bool client_ad_tracking = 7; - - // The default slate to use when no slates are specified in an ad break's - // SCTE-35 message. When specified, this value must match the ID for a slate - // that has already been created via the - // [CreateSlate](projects.locations.slates/create) method. - string default_slate_id = 8; - - // Defines the stitcher behavior in case an ad does not align exactly with - // the ad break boundaries. If not specified, the default is `COMPLETE_AD`. - StitchingPolicy stitching_policy = 9; - // Additional options that affect the output of the manifest. ManifestOptions manifest_options = 10; - // Output only. The generated ID of the LiveSession's source stream. - string stream_id = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; -} - -// Metadata of an ad tag. -message AdTag { - // Ad tag URI template. - string uri = 1; + // This field should be set with appropriate values if GAM is being used for + // ads. + GamSettings gam_settings = 15; + + // Required. The resource name of the live config for this session, in the + // form of `projects/{project}/locations/{location}/liveConfigs/{id}`. + string live_config = 16 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "videostitcher.googleapis.com/LiveConfig" + } + ]; } // Options for manifest generation. diff --git a/third_party/googleapis/google/cloud/video/stitcher/v1/slates.proto b/third_party/googleapis/google/cloud/video/stitcher/v1/slates.proto index eaa516713..902a444ef 100644 --- a/third_party/googleapis/google/cloud/video/stitcher/v1/slates.proto +++ b/third_party/googleapis/google/cloud/video/stitcher/v1/slates.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -31,6 +31,16 @@ message Slate { pattern: "projects/{project}/locations/{location}/slates/{slate}" }; + // GamSlate object has Google Ad Manager (GAM) related properties for the + // slate. + message GamSlate { + // Required. Ad Manager network code to associate with the live config. + string network_code = 1 [(google.api.field_behavior) = REQUIRED]; + + // Output only. The identifier generated for the slate by GAM. + int64 gam_slate_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + } + // Output only. The name of the slate, in the form of // `projects/{project_number}/locations/{location}/slates/{id}`. string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -38,4 +48,7 @@ message Slate { // The URI to fetch the source content for the slate. This URI must return an // MP4 video with at least one audio track. string uri = 2; + + // gam_slate has all the GAM-related attributes of slates. + GamSlate gam_slate = 3; } diff --git a/third_party/googleapis/google/cloud/video/stitcher/v1/stitch_details.proto b/third_party/googleapis/google/cloud/video/stitcher/v1/stitch_details.proto index 293f9b14b..b7f85944d 100644 --- a/third_party/googleapis/google/cloud/video/stitcher/v1/stitch_details.proto +++ b/third_party/googleapis/google/cloud/video/stitcher/v1/stitch_details.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -26,7 +26,9 @@ option java_multiple_files = true; option java_outer_classname = "StitchDetailsProto"; option java_package = "com.google.cloud.video.stitcher.v1"; -// Detailed information related to the interstitial of a VOD session. +// Detailed information related to the interstitial of a VOD session. This +// resource is only available for VOD sessions that do not implement Google Ad +// Manager ad insertion. message VodStitchDetail { option (google.api.resource) = { type: "videostitcher.googleapis.com/VodStitchDetail" @@ -50,11 +52,13 @@ message AdStitchDetail { string ad_id = 2 [(google.api.field_behavior) = REQUIRED]; // Required. The time offset of the processed ad. - google.protobuf.Duration ad_time_offset = 3 [(google.api.field_behavior) = REQUIRED]; + google.protobuf.Duration ad_time_offset = 3 + [(google.api.field_behavior) = REQUIRED]; // Optional. Indicates the reason why the ad has been skipped. string skip_reason = 4 [(google.api.field_behavior) = OPTIONAL]; // Optional. The metadata of the chosen media file for the ad. - map media = 5 [(google.api.field_behavior) = OPTIONAL]; + map media = 5 + [(google.api.field_behavior) = OPTIONAL]; } diff --git a/third_party/googleapis/google/cloud/video/stitcher/v1/video_stitcher_service.proto b/third_party/googleapis/google/cloud/video/stitcher/v1/video_stitcher_service.proto index 8e86835a4..f84aa09b2 100644 --- a/third_party/googleapis/google/cloud/video/stitcher/v1/video_stitcher_service.proto +++ b/third_party/googleapis/google/cloud/video/stitcher/v1/video_stitcher_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -22,11 +22,14 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/video/stitcher/v1/ad_tag_details.proto"; import "google/cloud/video/stitcher/v1/cdn_keys.proto"; +import "google/cloud/video/stitcher/v1/live_configs.proto"; import "google/cloud/video/stitcher/v1/sessions.proto"; import "google/cloud/video/stitcher/v1/slates.proto"; import "google/cloud/video/stitcher/v1/stitch_details.proto"; +import "google/longrunning/operations.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; +import "google/protobuf/timestamp.proto"; option go_package = "cloud.google.com/go/video/stitcher/apiv1/stitcherpb;stitcherpb"; option java_multiple_files = true; @@ -40,15 +43,20 @@ option java_package = "com.google.cloud.video.stitcher.v1"; // content with any standard VMAP compliant ad server. service VideoStitcherService { option (google.api.default_host) = "videostitcher.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Creates a new CDN key. - rpc CreateCdnKey(CreateCdnKeyRequest) returns (CdnKey) { + rpc CreateCdnKey(CreateCdnKeyRequest) returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/cdnKeys" body: "cdn_key" }; option (google.api.method_signature) = "parent,cdn_key,cdn_key_id"; + option (google.longrunning.operation_info) = { + response_type: "google.cloud.video.stitcher.v1.CdnKey" + metadata_type: "google.cloud.video.stitcher.v1.OperationMetadata" + }; } // Lists all CDN keys in the specified project and location. @@ -68,21 +76,29 @@ service VideoStitcherService { } // Deletes the specified CDN key. - rpc DeleteCdnKey(DeleteCdnKeyRequest) returns (google.protobuf.Empty) { + rpc DeleteCdnKey(DeleteCdnKeyRequest) returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/cdnKeys/*}" }; option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "google.cloud.video.stitcher.v1.OperationMetadata" + }; } // Updates the specified CDN key. Only update fields specified // in the call method body. - rpc UpdateCdnKey(UpdateCdnKeyRequest) returns (CdnKey) { + rpc UpdateCdnKey(UpdateCdnKeyRequest) returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v1/{cdn_key.name=projects/*/locations/*/cdnKeys/*}" body: "cdn_key" }; option (google.api.method_signature) = "cdn_key,update_mask"; + option (google.longrunning.operation_info) = { + response_type: "google.cloud.video.stitcher.v1.CdnKey" + metadata_type: "google.cloud.video.stitcher.v1.OperationMetadata" + }; } // Creates a client side playback VOD session and returns the full @@ -106,7 +122,8 @@ service VideoStitcherService { // Returns a list of detailed stitching information of the specified VOD // session. - rpc ListVodStitchDetails(ListVodStitchDetailsRequest) returns (ListVodStitchDetailsResponse) { + rpc ListVodStitchDetails(ListVodStitchDetailsRequest) + returns (ListVodStitchDetailsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*/vodSessions/*}/vodStitchDetails" }; @@ -122,7 +139,8 @@ service VideoStitcherService { } // Return the list of ad tag details for the specified VOD session. - rpc ListVodAdTagDetails(ListVodAdTagDetailsRequest) returns (ListVodAdTagDetailsResponse) { + rpc ListVodAdTagDetails(ListVodAdTagDetailsRequest) + returns (ListVodAdTagDetailsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*/vodSessions/*}/vodAdTagDetails" }; @@ -138,7 +156,8 @@ service VideoStitcherService { } // Return the list of ad tag details for the specified live session. - rpc ListLiveAdTagDetails(ListLiveAdTagDetailsRequest) returns (ListLiveAdTagDetailsResponse) { + rpc ListLiveAdTagDetails(ListLiveAdTagDetailsRequest) + returns (ListLiveAdTagDetailsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*/liveSessions/*}/liveAdTagDetails" }; @@ -154,12 +173,16 @@ service VideoStitcherService { } // Creates a slate. - rpc CreateSlate(CreateSlateRequest) returns (Slate) { + rpc CreateSlate(CreateSlateRequest) returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/slates" body: "slate" }; option (google.api.method_signature) = "parent,slate,slate_id"; + option (google.longrunning.operation_info) = { + response_type: "google.cloud.video.stitcher.v1.Slate" + metadata_type: "google.cloud.video.stitcher.v1.OperationMetadata" + }; } // Lists all slates in the specified project and location. @@ -179,20 +202,28 @@ service VideoStitcherService { } // Updates the specified slate. - rpc UpdateSlate(UpdateSlateRequest) returns (Slate) { + rpc UpdateSlate(UpdateSlateRequest) returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v1/{slate.name=projects/*/locations/*/slates/*}" body: "slate" }; option (google.api.method_signature) = "slate,update_mask"; + option (google.longrunning.operation_info) = { + response_type: "google.cloud.video.stitcher.v1.Slate" + metadata_type: "google.cloud.video.stitcher.v1.OperationMetadata" + }; } // Deletes the specified slate. - rpc DeleteSlate(DeleteSlateRequest) returns (google.protobuf.Empty) { + rpc DeleteSlate(DeleteSlateRequest) returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/slates/*}" }; option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "google.cloud.video.stitcher.v1.OperationMetadata" + }; } // Creates a new live session. @@ -211,12 +242,59 @@ service VideoStitcherService { }; option (google.api.method_signature) = "name"; } + + // Registers the live config with the provided unique ID in + // the specified region. + rpc CreateLiveConfig(CreateLiveConfigRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*}/liveConfigs" + body: "live_config" + }; + option (google.api.method_signature) = "parent,live_config,live_config_id"; + option (google.longrunning.operation_info) = { + response_type: "google.cloud.video.stitcher.v1.LiveConfig" + metadata_type: "google.cloud.video.stitcher.v1.OperationMetadata" + }; + } + + // Lists all live configs managed by the Video Stitcher that + // belong to the specified project and region. + rpc ListLiveConfigs(ListLiveConfigsRequest) + returns (ListLiveConfigsResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*}/liveConfigs" + }; + option (google.api.method_signature) = "parent"; + } + + // Returns the specified live config managed by the Video + // Stitcher service. + rpc GetLiveConfig(GetLiveConfigRequest) returns (LiveConfig) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*/liveConfigs/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Deletes the specified live config. + rpc DeleteLiveConfig(DeleteLiveConfigRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + delete: "/v1/{name=projects/*/locations/*/liveConfigs/*}" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "google.cloud.video.stitcher.v1.OperationMetadata" + }; + } } // Request message for VideoStitcherService.createCdnKey. message CreateCdnKeyRequest { - // Required. The project in which the CDN key should be created, in the form of - // `projects/{project_number}/locations/{location}`. + // Required. The project in which the CDN key should be created, in the form + // of `projects/{project_number}/locations/{location}`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -227,8 +305,8 @@ message CreateCdnKeyRequest { // Required. The CDN key resource to create. CdnKey cdn_key = 2 [(google.api.field_behavior) = REQUIRED]; - // Required. The ID to use for the CDN key, which will become the final component of - // the CDN key's resource name. + // Required. The ID to use for the CDN key, which will become the final + // component of the CDN key's resource name. // // This value should conform to RFC-1034, which restricts to // lower-case letters, numbers, and hyphen, with the first character a @@ -305,13 +383,14 @@ message UpdateCdnKeyRequest { // Required. The update mask applies to the resource. // For the `FieldMask` definition, see // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; } // Request message for VideoStitcherService.createVodSession message CreateVodSessionRequest { - // Required. The project and location in which the VOD session should be created, in the - // form of `projects/{project_number}/locations/{location}`. + // Required. The project and location in which the VOD session should be + // created, in the form of `projects/{project_number}/locations/{location}`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -337,8 +416,8 @@ message GetVodSessionRequest { // Request message for VideoStitcherService.listVodStitchDetails. message ListVodStitchDetailsRequest { - // Required. The VOD session where the stitch details belong to, in the form of - // `projects/{project}/locations/{location}/vodSessions/{id}`. + // Required. The VOD session where the stitch details belong to, in the form + // of `projects/{project}/locations/{location}/vodSessions/{id}`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -364,7 +443,8 @@ message ListVodStitchDetailsResponse { // Request message for VideoStitcherService.getVodStitchDetail. message GetVodStitchDetailRequest { - // Required. The name of the stitch detail in the specified VOD session, in the form of + // Required. The name of the stitch detail in the specified VOD session, in + // the form of // `projects/{project}/locations/{location}/vodSessions/{vod_session_id}/vodStitchDetails/{id}`. string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -376,8 +456,8 @@ message GetVodStitchDetailRequest { // Request message for VideoStitcherService.listVodAdTagDetails. message ListVodAdTagDetailsRequest { - // Required. The VOD session which the ad tag details belong to, in the form of - // `projects/{project}/locations/{location}/vodSessions/{vod_session_id}`. + // Required. The VOD session which the ad tag details belong to, in the form + // of `projects/{project}/locations/{location}/vodSessions/{vod_session_id}`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -403,7 +483,8 @@ message ListVodAdTagDetailsResponse { // Request message for VideoStitcherService.getVodAdTagDetail message GetVodAdTagDetailRequest { - // Required. The name of the ad tag detail for the specified VOD session, in the form of + // Required. The name of the ad tag detail for the specified VOD session, in + // the form of // `projects/{project}/locations/{location}/vodSessions/{vod_session_id}/vodAdTagDetails/{vod_ad_tag_detail}`. string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -455,7 +536,7 @@ message GetLiveAdTagDetailRequest { // Request message for VideoStitcherService.createSlate. message CreateSlateRequest { // Required. The project in which the slate should be created, in the form of - // `projects/{project_number}`. + // `projects/{project_number}/locations/{location}`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -471,12 +552,27 @@ message CreateSlateRequest { // Required. The slate to create. Slate slate = 3 [(google.api.field_behavior) = REQUIRED]; + + // A request ID to identify requests. Specify a unique request ID + // so that if you must retry your request, the server will know to ignore + // the request if it has already been completed. The server will guarantee + // that for at least 60 minutes since the first request. + // + // For example, consider a situation where you make an initial request and the + // request times out. If you make the request again with the same request ID, + // the server can check if original operation with the same request ID was + // received, and if so, will ignore the second request. This prevents clients + // from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported `(00000000-0000-0000-0000-000000000000)`. + string request_id = 4; } // Request message for VideoStitcherService.getSlate. message GetSlateRequest { - // Required. The name of the slate to be retrieved, of the slate, in the form of - // `projects/{project_number}/locations/{location}/slates/{id}`. + // Required. The name of the slate to be retrieved, of the slate, in the form + // of `projects/{project_number}/locations/{location}/slates/{id}`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -487,7 +583,8 @@ message GetSlateRequest { // Request message for VideoStitcherService.listSlates. message ListSlatesRequest { - // Required. The project to list slates, in the form of `projects/{project_number}`. + // Required. The project to list slates, in the form of + // `projects/{project_number}/locations/{location}`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -527,7 +624,8 @@ message UpdateSlateRequest { Slate slate = 1 [(google.api.field_behavior) = REQUIRED]; // Required. The update mask which specifies fields which should be updated. - google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; } // Request message for VideoStitcherService.deleteSlate. @@ -544,12 +642,12 @@ message DeleteSlateRequest { // Request message for VideoStitcherService.createLiveSession. message CreateLiveSessionRequest { - // Required. The project and location in which the live session should be created, - // in the form of `projects/{project_number}/locations/{location}`. + // Required. The project and location in which the live session should be + // created, in the form of `projects/{project_number}/locations/{location}`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { - type: "videostitcher.googleapis.com/LiveSession" + child_type: "videostitcher.googleapis.com/LiveSession" } ]; @@ -568,3 +666,115 @@ message GetLiveSessionRequest { } ]; } + +// Request message for VideoStitcherService.createLiveConfig +message CreateLiveConfigRequest { + // Required. The project in which the live config should be created, in + // the form of `projects/{project_number}/locations/{location}`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "videostitcher.googleapis.com/LiveConfig" + } + ]; + + // Required. The unique identifier ID to use for the live config. + string live_config_id = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The live config resource to create. + LiveConfig live_config = 3 [(google.api.field_behavior) = REQUIRED]; + + // A request ID to identify requests. Specify a unique request ID + // so that if you must retry your request, the server will know to ignore + // the request if it has already been completed. The server will guarantee + // that for at least 60 minutes since the first request. + // + // For example, consider a situation where you make an initial request and the + // request times out. If you make the request again with the same request ID, + // the server can check if original operation with the same request ID was + // received, and if so, will ignore the second request. This prevents clients + // from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported `(00000000-0000-0000-0000-000000000000)`. + string request_id = 4; +} + +// Request message for VideoStitcherService.listLiveConfig. +message ListLiveConfigsRequest { + // Required. The project that contains the list of live configs, in the + // form of `projects/{project_number}/locations/{location}`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "videostitcher.googleapis.com/LiveConfig" + } + ]; + + // The maximum number of items to return. + int32 page_size = 2; + + // The next_page_token value returned from a previous List request, if any. + string page_token = 3; + + // Optional. The filter to apply to list results (see + // [Filtering](https://google.aip.dev/160)). + string filter = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Specifies the ordering of results following + // [Cloud API + // syntax](https://cloud.google.com/apis/design/design_patterns#sorting_order). + string order_by = 5 [(google.api.field_behavior) = OPTIONAL]; +} + +// Response message for VideoStitcher.ListLiveConfig. +message ListLiveConfigsResponse { + // List of live configs. + repeated LiveConfig live_configs = 1; + + // The pagination token. + string next_page_token = 2; + + // Locations that could not be reached. + repeated string unreachable = 3; +} + +// Request message for VideoStitcherService.getLiveConfig. +message GetLiveConfigRequest { + // Required. The name of the live config to be retrieved, in the form + // of + // `projects/{project_number}/locations/{location}/liveConfigs/{id}`. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "videostitcher.googleapis.com/LiveConfig" + } + ]; +} + +// Request message for VideoStitcherService.deleteLiveConfig. +message DeleteLiveConfigRequest { + // Required. The name of the live config to be deleted, in the form of + // `projects/{project_number}/locations/{location}/liveConfigs/{id}`. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "videostitcher.googleapis.com/LiveConfig" + } + ]; +} + +// Represents the metadata of the long-running operation. +message OperationMetadata { + // The time the operation was created. + google.protobuf.Timestamp create_time = 1; + + // The time the operation finished running. + google.protobuf.Timestamp end_time = 2; + + // Server-defined resource path for the target of the operation. + string target = 3; + + // Name of the verb executed by the operation. + string verb = 4; +} diff --git a/third_party/googleapis/google/cloud/video/stitcher/v1/videostitcher_grpc_service_config.json b/third_party/googleapis/google/cloud/video/stitcher/v1/videostitcher_grpc_service_config.json index ae048887d..65d6615dc 100644 --- a/third_party/googleapis/google/cloud/video/stitcher/v1/videostitcher_grpc_service_config.json +++ b/third_party/googleapis/google/cloud/video/stitcher/v1/videostitcher_grpc_service_config.json @@ -17,6 +17,10 @@ { "service": "google.cloud.video.stitcher.v1.VideoStitcherService", "method": "GetCdnKey" }, { "service": "google.cloud.video.stitcher.v1.VideoStitcherService", "method": "DeleteCdnKey" }, { "service": "google.cloud.video.stitcher.v1.VideoStitcherService", "method": "UpdateCdnKey" }, + { "service": "google.cloud.video.stitcher.v1.VideoStitcherService", "method": "CreateLiveConfig" }, + { "service": "google.cloud.video.stitcher.v1.VideoStitcherService", "method": "ListLiveConfigs" }, + { "service": "google.cloud.video.stitcher.v1.VideoStitcherService", "method": "GetLiveConfig" }, + { "service": "google.cloud.video.stitcher.v1.VideoStitcherService", "method": "DeleteLiveConfig" }, { "service": "google.cloud.video.stitcher.v1.VideoStitcherService", "method": "CreateSlate" }, { "service": "google.cloud.video.stitcher.v1.VideoStitcherService", "method": "ListSlates" }, { "service": "google.cloud.video.stitcher.v1.VideoStitcherService", "method": "GetSlate" }, diff --git a/third_party/googleapis/google/cloud/video/stitcher/v1/videostitcher_v1.yaml b/third_party/googleapis/google/cloud/video/stitcher/v1/videostitcher_v1.yaml index d762119f7..2e3ca6ccc 100644 --- a/third_party/googleapis/google/cloud/video/stitcher/v1/videostitcher_v1.yaml +++ b/third_party/googleapis/google/cloud/video/stitcher/v1/videostitcher_v1.yaml @@ -5,11 +5,29 @@ title: Video Stitcher API apis: - name: google.cloud.video.stitcher.v1.VideoStitcherService +- name: google.longrunning.Operations + +types: +- name: google.cloud.video.stitcher.v1.OperationMetadata backend: rules: - selector: 'google.cloud.video.stitcher.v1.VideoStitcherService.*' deadline: 30.0 + - selector: 'google.longrunning.Operations.*' + deadline: 30.0 + +http: + rules: + - selector: google.longrunning.Operations.CancelOperation + post: '/v1/{name=projects/*/locations/*/operations/*}:cancel' + body: '*' + - selector: google.longrunning.Operations.DeleteOperation + delete: '/v1/{name=projects/*/locations/*/operations/*}' + - selector: google.longrunning.Operations.GetOperation + get: '/v1/{name=projects/*/locations/*/operations/*}' + - selector: google.longrunning.Operations.ListOperations + get: '/v1/{name=projects/*/locations/*}/operations' authentication: rules: @@ -17,3 +35,7 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform + - selector: 'google.longrunning.Operations.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform diff --git a/third_party/googleapis/google/cloud/video/transcoder/BUILD.bazel b/third_party/googleapis/google/cloud/video/transcoder/BUILD.bazel index 8d1c2b562..ab7a39cba 100644 --- a/third_party/googleapis/google/cloud/video/transcoder/BUILD.bazel +++ b/third_party/googleapis/google/cloud/video/transcoder/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-video-transcoder", "ruby-cloud-env-prefix=TRANSCODER", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.12", "ruby-cloud-product-url=https://cloud.google.com/transcoder/", "ruby-cloud-api-id=transcoder.googleapis.com", "ruby-cloud-api-shortname=transcoder", ], ruby_cloud_description = "The Transcoder API allows you to convert video files and package them for optimized delivery to web, mobile and connected TVs.", ruby_cloud_title = "Transcoder", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/video/transcoder/v1/BUILD.bazel b/third_party/googleapis/google/cloud/video/transcoder/v1/BUILD.bazel index b3daa4514..1cef2dffb 100644 --- a/third_party/googleapis/google/cloud/video/transcoder/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/video/transcoder/v1/BUILD.bazel @@ -72,6 +72,7 @@ java_gapic_library( srcs = [":transcoder_proto_with_info"], grpc_service_config = "transcoder_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "transcoder_v1.yaml", test_deps = [ ":transcoder_java_grpc", ], @@ -111,7 +112,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -141,19 +141,13 @@ go_gapic_library( ], ) -go_test( - name = "transcoder_go_gapic_test", - srcs = [":transcoder_go_gapic_srcjar_test"], - embed = [":transcoder_go_gapic"], - importpath = "cloud.google.com/go/video/transcoder/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-video-transcoder-v1-go", deps = [ ":transcoder_go_gapic", ":transcoder_go_gapic_srcjar-metadata.srcjar", + ":transcoder_go_gapic_srcjar-snippets.srcjar", ":transcoder_go_gapic_srcjar-test.srcjar", ":transcoder_go_proto", ], @@ -203,7 +197,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -212,23 +205,15 @@ php_proto_library( deps = [":transcoder_proto"], ) -php_grpc_library( - name = "transcoder_php_grpc", - srcs = [":transcoder_proto"], - deps = [":transcoder_php_proto"], -) - php_gapic_library( name = "transcoder_php_gapic", srcs = [":transcoder_proto_with_info"], grpc_service_config = "transcoder_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "transcoder_v1.yaml", transport = "grpc+rest", - deps = [ - ":transcoder_php_grpc", - ":transcoder_php_proto", - ], + deps = [":transcoder_php_proto"], ) # Open Source Packages @@ -236,7 +221,6 @@ php_gapic_assembly_pkg( name = "google-cloud-video-transcoder-v1-php", deps = [ ":transcoder_php_gapic", - ":transcoder_php_grpc", ":transcoder_php_proto", ], ) @@ -308,6 +292,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "The Transcoder API allows you to convert video files and package them for optimized delivery to web, mobile and connected TVs.", ruby_cloud_title = "Transcoder V1", service_yaml = "transcoder_v1.yaml", + transport = "grpc+rest", deps = [ ":transcoder_ruby_grpc", ":transcoder_ruby_proto", diff --git a/third_party/googleapis/google/cloud/video/transcoder/v1/resources.proto b/third_party/googleapis/google/cloud/video/transcoder/v1/resources.proto index d790089f5..23e091475 100644 --- a/third_party/googleapis/google/cloud/video/transcoder/v1/resources.proto +++ b/third_party/googleapis/google/cloud/video/transcoder/v1/resources.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -53,6 +53,33 @@ message Job { FAILED = 4; } + // The processing mode of the job. + enum ProcessingMode { + // The job processing mode is not specified. + PROCESSING_MODE_UNSPECIFIED = 0; + + // The job processing mode is interactive mode. + // Interactive job will either be ran or rejected if quota does not allow + // for it. + PROCESSING_MODE_INTERACTIVE = 1; + + // The job processing mode is batch mode. + // Batch mode allows queuing of jobs. + PROCESSING_MODE_BATCH = 2; + } + + // The optimization strategy of the job. The default is `AUTODETECT`. + enum OptimizationStrategy { + // The optimization strategy is not specified. + OPTIMIZATION_STRATEGY_UNSPECIFIED = 0; + + // Prioritize job processing speed. + AUTODETECT = 1; + + // Disable all optimizations. + DISABLED = 2; + } + // The resource name of the job. // Format: `projects/{project_number}/locations/{location}/jobs/{job}` string name = 1; @@ -78,13 +105,9 @@ message Job { // the `Job.config` is populated by the `JobTemplate.config`.
oneof job_config { // Input only. Specify the `template_id` to use for populating `Job.config`. - // The default is `preset/web-hd`. - // - // Preset Transcoder templates: - // - `preset/{preset_id}` + // The default is `preset/web-hd`, which is the only supported preset. // - // - User defined JobTemplate: - // `{job_template_id}` + // User defined JobTemplate: `{job_template_id}` string template_id = 4 [(google.api.field_behavior) = INPUT_ONLY]; // The configuration for this job. @@ -118,6 +141,21 @@ message Job { // Output only. An error object that describes the reason for the failure. // This property is always present when `state` is `FAILED`. google.rpc.Status error = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // The processing mode of the job. + // The default is `PROCESSING_MODE_INTERACTIVE`. + ProcessingMode mode = 20; + + // The processing priority of a batch job. + // This field can only be set for batch mode jobs. The default value is 0. + // This value cannot be negative. Higher values correspond to higher + // priorities for the job. + int32 batch_mode_priority = 21; + + // Optional. The optimization strategy of the job. The default is + // `AUTODETECT`. + OptimizationStrategy optimization = 22 + [(google.api.field_behavior) = OPTIONAL]; } // Transcoding job template resource. @@ -174,6 +212,12 @@ message JobConfig { // List of overlays on the output video, in descending Z-order. repeated Overlay overlays = 10; + + // List of encryption configurations for the content. + // Each configuration has an ID. Specify this ID in the + // [MuxStream.encryption_id][google.cloud.video.transcoder.v1.MuxStream.encryption_id] + // field to indicate the configuration to use for that `MuxStream` output. + repeated Encryption encryptions = 11; } // Input asset. @@ -281,27 +325,50 @@ message MuxStream { // Segment settings for `ts`, `fmp4` and `vtt`. SegmentSettings segment_settings = 5; + + // Identifier of the encryption configuration to use. If omitted, output will + // be unencrypted. + string encryption_id = 7; } // Manifest configuration. message Manifest { - // The manifest type can be either `HLS` or `DASH`. + // The manifest type, which corresponds to the adaptive streaming format used. enum ManifestType { // The manifest type is not specified. MANIFEST_TYPE_UNSPECIFIED = 0; - // Create `HLS` manifest. The corresponding file extension is `.m3u8`. + // Create an HLS manifest. The corresponding file extension is `.m3u8`. HLS = 1; - // Create `DASH` manifest. The corresponding file extension is `.mpd`. + // Create an MPEG-DASH manifest. The corresponding file extension is `.mpd`. DASH = 2; } + // `DASH` manifest configuration. + message DashConfig { + // The segment reference scheme for a `DASH` manifest. + enum SegmentReferenceScheme { + // The segment reference scheme is not specified. + SEGMENT_REFERENCE_SCHEME_UNSPECIFIED = 0; + + // Lists the URLs of media files for each segment. + SEGMENT_LIST = 1; + + // Lists each segment from a template with $Number$ variable. + SEGMENT_TEMPLATE_NUMBER = 2; + } + + // The segment reference scheme for a `DASH` manifest. The default is + // `SEGMENT_LIST`. + SegmentReferenceScheme segment_reference_scheme = 1; + } + // The name of the generated file. The default is `manifest` with the // extension suffix corresponding to the `Manifest.type`. string file_name = 1; - // Required. Type of the manifest, can be `HLS` or `DASH`. + // Required. Type of the manifest. ManifestType type = 2 [(google.api.field_behavior) = REQUIRED]; // Required. List of user given `MuxStream.key`s that should appear in this @@ -311,6 +378,12 @@ message Manifest { // and `.m3u8` extension is generated for each element of the // `Manifest.mux_streams`. repeated string mux_streams = 3 [(google.api.field_behavior) = REQUIRED]; + + // Specifies the manifest configuration. + oneof manifest_config { + // `DASH` manifest configuration. + DashConfig dash = 4; + } } // A Pub/Sub destination. @@ -411,10 +484,10 @@ message Overlay { double y = 2; } - // Overlaid jpeg image. + // Overlaid image. message Image { - // Required. URI of the JPEG image in Cloud Storage. For example, - // `gs://bucket/inputs/image.jpeg`. JPEG is the only supported image type. + // Required. URI of the image in Cloud Storage. For example, + // `gs://bucket/inputs/image.png`. Only PNG and JPEG images are supported. string uri = 1 [(google.api.field_behavior) = REQUIRED]; // Normalized image resolution, based on output video resolution. Valid @@ -1171,11 +1244,12 @@ message AudioStream { // The BCP-47 language code, such as `en-US` or `sr-Latn`. For more // information, see - // https://www.unicode.org/reports/tr35/#Unicode_locale_identifier. + // https://www.unicode.org/reports/tr35/#Unicode_locale_identifier. Not + // supported in MP4 files. string language_code = 7; // The name for this particular audio stream that - // will be added to the HLS/DASH manifest. + // will be added to the HLS/DASH manifest. Not supported in MP4 files. string display_name = 8; } @@ -1207,14 +1281,15 @@ message TextStream { // The BCP-47 language code, such as `en-US` or `sr-Latn`. For more // information, see - // https://www.unicode.org/reports/tr35/#Unicode_locale_identifier. + // https://www.unicode.org/reports/tr35/#Unicode_locale_identifier. Not + // supported in MP4 files. string language_code = 2; // The mapping for the `Job.edit_list` atoms with text `EditAtom.inputs`. repeated TextMapping mapping = 3; // The name for this particular text stream that - // will be added to the HLS/DASH manifest. + // will be added to the HLS/DASH manifest. Not supported in MP4 files. string display_name = 4; } @@ -1229,3 +1304,86 @@ message SegmentSettings { // Required. Create an individual segment file. The default is `false`. bool individual_segments = 3 [(google.api.field_behavior) = REQUIRED]; } + +// Encryption settings. +message Encryption { + // Configuration for AES-128 encryption. + message Aes128Encryption {} + + // Configuration for SAMPLE-AES encryption. + message SampleAesEncryption {} + + // Configuration for MPEG Common Encryption (MPEG-CENC). + message MpegCommonEncryption { + // Required. Specify the encryption scheme. + // + // Supported encryption schemes: + // + // - `cenc` + // - `cbcs` + string scheme = 2 [(google.api.field_behavior) = REQUIRED]; + } + + // Configuration for secrets stored in Google Secret Manager. + message SecretManagerSource { + // Required. The name of the Secret Version containing the encryption key in + // the following format: + // `projects/{project}/secrets/{secret_id}/versions/{version_number}` + // + // Note that only numbered versions are supported. Aliases like "latest" are + // not supported. + string secret_version = 1 [(google.api.field_behavior) = REQUIRED]; + } + + // Widevine configuration. + message Widevine {} + + // Fairplay configuration. + message Fairplay {} + + // Playready configuration. + message Playready {} + + // Clearkey configuration. + message Clearkey {} + + // Defines configuration for DRM systems in use. + message DrmSystems { + // Widevine configuration. + Widevine widevine = 1; + + // Fairplay configuration. + Fairplay fairplay = 2; + + // Playready configuration. + Playready playready = 3; + + // Clearkey configuration. + Clearkey clearkey = 4; + } + + // Required. Identifier for this set of encryption options. + string id = 6 [(google.api.field_behavior) = REQUIRED]; + + // Encryption mode can be either `aes` or `cenc`. + oneof encryption_mode { + // Configuration for AES-128 encryption. + Aes128Encryption aes_128 = 3; + + // Configuration for SAMPLE-AES encryption. + SampleAesEncryption sample_aes = 4; + + // Configuration for MPEG Common Encryption (MPEG-CENC). + MpegCommonEncryption mpeg_cenc = 5; + } + + // Defines where content keys are stored. + oneof secret_source { + // Keys are stored in Google Secret Manager. + SecretManagerSource secret_manager_key_source = 7; + } + + // Required. DRM system(s) to use; at least one must be specified. If a + // DRM system is omitted, it is considered disabled. + DrmSystems drm_systems = 8 [(google.api.field_behavior) = REQUIRED]; +} diff --git a/third_party/googleapis/google/cloud/video/transcoder/v1/services.proto b/third_party/googleapis/google/cloud/video/transcoder/v1/services.proto index 726b4088e..48cfe013f 100644 --- a/third_party/googleapis/google/cloud/video/transcoder/v1/services.proto +++ b/third_party/googleapis/google/cloud/video/transcoder/v1/services.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/cloud/videointelligence/BUILD.bazel b/third_party/googleapis/google/cloud/videointelligence/BUILD.bazel index 1eb381840..72bcbfd83 100644 --- a/third_party/googleapis/google/cloud/videointelligence/BUILD.bazel +++ b/third_party/googleapis/google/cloud/videointelligence/BUILD.bazel @@ -22,7 +22,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-video_intelligence", "ruby-cloud-env-prefix=VIDEO_INTELLIGENCE", - "ruby-cloud-wrapper-of=v1:0.8;v1beta2:0.6;v1p1beta1:0.6;v1p2beta1:0.7", + "ruby-cloud-wrapper-of=v1:0.11;v1beta2:0.9;v1p1beta1:0.9;v1p2beta1:0.10", "ruby-cloud-product-url=https://cloud.google.com/video-intelligence", "ruby-cloud-api-id=videointelligence.googleapis.com", "ruby-cloud-api-shortname=videointelligence", diff --git a/third_party/googleapis/google/cloud/videointelligence/v1/BUILD.bazel b/third_party/googleapis/google/cloud/videointelligence/v1/BUILD.bazel index 96059636e..b5eaebb16 100644 --- a/third_party/googleapis/google/cloud/videointelligence/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/videointelligence/v1/BUILD.bazel @@ -62,12 +62,14 @@ java_gapic_library( gapic_yaml = "videointelligence_gapic.yaml", grpc_service_config = "videointelligence_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "videointelligence_v1.yaml", test_deps = [ ":videointelligence_java_grpc", ], transport = "grpc+rest", deps = [ ":videointelligence_java_proto", + "//google/api:api_java_proto", ], ) @@ -101,7 +103,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -135,18 +136,12 @@ go_gapic_library( ], ) -go_test( - name = "videointelligence_go_gapic_test", - srcs = [":videointelligence_go_gapic_srcjar_test"], - embed = [":videointelligence_go_gapic"], - importpath = "cloud.google.com/go/videointelligence/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-videointelligence-v1-go", deps = [ ":videointelligence_go_gapic", + ":videointelligence_go_gapic_srcjar-snippets.srcjar", ":videointelligence_go_gapic_srcjar-test.srcjar", ":videointelligence_go_proto", ], @@ -195,7 +190,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -204,24 +198,16 @@ php_proto_library( deps = [":videointelligence_proto"], ) -php_grpc_library( - name = "videointelligence_php_grpc", - srcs = [":videointelligence_proto"], - deps = [":videointelligence_php_proto"], -) - php_gapic_library( name = "videointelligence_php_gapic", srcs = [":videointelligence_proto_with_info"], # Do not change this to the videointelligence_gapic.yaml, see tracking bug. gapic_yaml = "videointelligence_gapic.legacy.yaml", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "videointelligence_v1.yaml", transport = "grpc+rest", - deps = [ - ":videointelligence_php_grpc", - ":videointelligence_php_proto", - ], + deps = [":videointelligence_php_proto"], ) # Open Source Packages @@ -229,7 +215,6 @@ php_gapic_assembly_pkg( name = "google-cloud-videointelligence-v1-php", deps = [ ":videointelligence_php_gapic", - ":videointelligence_php_grpc", ":videointelligence_php_proto", ], ) diff --git a/third_party/googleapis/google/cloud/videointelligence/v1beta2/BUILD.bazel b/third_party/googleapis/google/cloud/videointelligence/v1beta2/BUILD.bazel index 1ec40f728..b755a12ee 100644 --- a/third_party/googleapis/google/cloud/videointelligence/v1beta2/BUILD.bazel +++ b/third_party/googleapis/google/cloud/videointelligence/v1beta2/BUILD.bazel @@ -62,12 +62,14 @@ java_gapic_library( gapic_yaml = "videointelligence_gapic.yaml", grpc_service_config = "videointelligence_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "//google/cloud/videointelligence:videointelligence_v1beta2.yaml", test_deps = [ ":videointelligence_java_grpc", ], transport = "grpc+rest", deps = [ ":videointelligence_java_proto", + "//google/api:api_java_proto", ], ) @@ -101,7 +103,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -135,18 +136,12 @@ go_gapic_library( ], ) -go_test( - name = "videointelligence_go_gapic_test", - srcs = [":videointelligence_go_gapic_srcjar_test"], - embed = [":videointelligence_go_gapic"], - importpath = "cloud.google.com/go/videointelligence/apiv1beta2", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-videointelligence-v1beta2-go", deps = [ ":videointelligence_go_gapic", + ":videointelligence_go_gapic_srcjar-snippets.srcjar", ":videointelligence_go_gapic_srcjar-test.srcjar", ":videointelligence_go_proto", ], @@ -195,7 +190,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -204,12 +198,6 @@ php_proto_library( deps = [":videointelligence_proto"], ) -php_grpc_library( - name = "videointelligence_php_grpc", - srcs = [":videointelligence_proto"], - deps = [":videointelligence_php_proto"], -) - php_gapic_library( name = "videointelligence_php_gapic", srcs = [":videointelligence_proto_with_info"], @@ -217,10 +205,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "//google/cloud/videointelligence:videointelligence_v1beta2.yaml", transport = "grpc+rest", - deps = [ - ":videointelligence_php_grpc", - ":videointelligence_php_proto", - ], + deps = [":videointelligence_php_proto"], ) # Open Source Packages @@ -228,7 +213,6 @@ php_gapic_assembly_pkg( name = "google-cloud-videointelligence-v1beta2-php", deps = [ ":videointelligence_php_gapic", - ":videointelligence_php_grpc", ":videointelligence_php_proto", ], ) diff --git a/third_party/googleapis/google/cloud/videointelligence/v1p1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/videointelligence/v1p1beta1/BUILD.bazel index 4d3f54943..bfede5607 100644 --- a/third_party/googleapis/google/cloud/videointelligence/v1p1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/videointelligence/v1p1beta1/BUILD.bazel @@ -62,12 +62,14 @@ java_gapic_library( gapic_yaml = "videointelligence_gapic.yaml", grpc_service_config = "videointelligence_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "//google/cloud/videointelligence:videointelligence_v1p1beta1.yaml", test_deps = [ ":videointelligence_java_grpc", ], transport = "grpc+rest", deps = [ ":videointelligence_java_proto", + "//google/api:api_java_proto", ], ) @@ -101,7 +103,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -135,18 +136,12 @@ go_gapic_library( ], ) -go_test( - name = "videointelligence_go_gapic_test", - srcs = [":videointelligence_go_gapic_srcjar_test"], - embed = [":videointelligence_go_gapic"], - importpath = "cloud.google.com/go/videointelligence/apiv1p1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-videointelligence-v1p1beta1-go", deps = [ ":videointelligence_go_gapic", + ":videointelligence_go_gapic_srcjar-snippets.srcjar", ":videointelligence_go_gapic_srcjar-test.srcjar", ":videointelligence_go_proto", ], @@ -195,7 +190,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -204,12 +198,6 @@ php_proto_library( deps = [":videointelligence_proto"], ) -php_grpc_library( - name = "videointelligence_php_grpc", - srcs = [":videointelligence_proto"], - deps = [":videointelligence_php_proto"], -) - php_gapic_library( name = "videointelligence_php_gapic", srcs = [":videointelligence_proto_with_info"], @@ -218,10 +206,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "//google/cloud/videointelligence:videointelligence_v1p1beta1.yaml", transport = "grpc+rest", - deps = [ - ":videointelligence_php_grpc", - ":videointelligence_php_proto", - ], + deps = [":videointelligence_php_proto"], ) # Open Source Packages @@ -229,7 +214,6 @@ php_gapic_assembly_pkg( name = "google-cloud-videointelligence-v1p1beta1-php", deps = [ ":videointelligence_php_gapic", - ":videointelligence_php_grpc", ":videointelligence_php_proto", ], ) diff --git a/third_party/googleapis/google/cloud/videointelligence/v1p2beta1/BUILD.bazel b/third_party/googleapis/google/cloud/videointelligence/v1p2beta1/BUILD.bazel index a65b5e5c1..952a1bac0 100644 --- a/third_party/googleapis/google/cloud/videointelligence/v1p2beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/videointelligence/v1p2beta1/BUILD.bazel @@ -62,12 +62,14 @@ java_gapic_library( gapic_yaml = "videointelligence_gapic.yaml", grpc_service_config = "videointelligence_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "//google/cloud/videointelligence:videointelligence_v1p2beta1.yaml", test_deps = [ ":videointelligence_java_grpc", ], transport = "grpc+rest", deps = [ ":videointelligence_java_proto", + "//google/api:api_java_proto", ], ) @@ -101,7 +103,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -135,18 +136,12 @@ go_gapic_library( ], ) -go_test( - name = "videointelligence_go_gapic_test", - srcs = [":videointelligence_go_gapic_srcjar_test"], - embed = [":videointelligence_go_gapic"], - importpath = "cloud.google.com/go/videointelligence/apiv1p2beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-videointelligence-v1p2beta1-go", deps = [ ":videointelligence_go_gapic", + ":videointelligence_go_gapic_srcjar-snippets.srcjar", ":videointelligence_go_gapic_srcjar-test.srcjar", ":videointelligence_go_proto", ], @@ -195,7 +190,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -204,12 +198,6 @@ php_proto_library( deps = [":videointelligence_proto"], ) -php_grpc_library( - name = "videointelligence_php_grpc", - srcs = [":videointelligence_proto"], - deps = [":videointelligence_php_proto"], -) - php_gapic_library( name = "videointelligence_php_gapic", srcs = [":videointelligence_proto_with_info"], @@ -218,10 +206,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "//google/cloud/videointelligence:videointelligence_v1p2beta1.yaml", transport = "grpc+rest", - deps = [ - ":videointelligence_php_grpc", - ":videointelligence_php_proto", - ], + deps = [":videointelligence_php_proto"], ) # Open Source Packages @@ -229,7 +214,6 @@ php_gapic_assembly_pkg( name = "google-cloud-videointelligence-v1p2beta1-php", deps = [ ":videointelligence_php_gapic", - ":videointelligence_php_grpc", ":videointelligence_php_proto", ], ) diff --git a/third_party/googleapis/google/cloud/videointelligence/v1p3beta1/BUILD.bazel b/third_party/googleapis/google/cloud/videointelligence/v1p3beta1/BUILD.bazel index 57096e47e..0af0a33db 100644 --- a/third_party/googleapis/google/cloud/videointelligence/v1p3beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/videointelligence/v1p3beta1/BUILD.bazel @@ -62,12 +62,14 @@ java_gapic_library( gapic_yaml = "videointelligence_gapic.yaml", grpc_service_config = "videointelligence_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "//google/cloud/videointelligence:videointelligence_v1p3beta1.yaml", test_deps = [ ":videointelligence_java_grpc", ], transport = "grpc+rest", deps = [ ":videointelligence_java_proto", + "//google/api:api_java_proto", ], ) @@ -102,7 +104,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -136,18 +137,12 @@ go_gapic_library( ], ) -go_test( - name = "videointelligence_go_gapic_test", - srcs = [":videointelligence_go_gapic_srcjar_test"], - embed = [":videointelligence_go_gapic"], - importpath = "cloud.google.com/go/videointelligence/apiv1p3beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-videointelligence-v1p3beta1-go", deps = [ ":videointelligence_go_gapic", + ":videointelligence_go_gapic_srcjar-snippets.srcjar", ":videointelligence_go_gapic_srcjar-test.srcjar", ":videointelligence_go_proto", ], @@ -196,7 +191,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -205,12 +199,6 @@ php_proto_library( deps = [":videointelligence_proto"], ) -php_grpc_library( - name = "videointelligence_php_grpc", - srcs = [":videointelligence_proto"], - deps = [":videointelligence_php_proto"], -) - php_gapic_library( name = "videointelligence_php_gapic", srcs = [":videointelligence_proto_with_info"], @@ -219,10 +207,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "//google/cloud/videointelligence:videointelligence_v1p3beta1.yaml", transport = "grpc+rest", - deps = [ - ":videointelligence_php_grpc", - ":videointelligence_php_proto", - ], + deps = [":videointelligence_php_proto"], ) # Open Source Packages @@ -230,7 +215,6 @@ php_gapic_assembly_pkg( name = "google-cloud-videointelligence-v1p3beta1-php", deps = [ ":videointelligence_php_gapic", - ":videointelligence_php_grpc", ":videointelligence_php_proto", ], ) diff --git a/third_party/googleapis/google/cloud/vision/BUILD.bazel b/third_party/googleapis/google/cloud/vision/BUILD.bazel index 3247a899b..368201db4 100644 --- a/third_party/googleapis/google/cloud/vision/BUILD.bazel +++ b/third_party/googleapis/google/cloud/vision/BUILD.bazel @@ -22,7 +22,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-vision", "ruby-cloud-env-prefix=VISION", - "ruby-cloud-wrapper-of=v1:0.10;v1p3beta1:0.9", + "ruby-cloud-wrapper-of=v1:0.13;v1p3beta1:0.12", "ruby-cloud-product-url=https://cloud.google.com/vision", "ruby-cloud-api-id=vision.googleapis.com", "ruby-cloud-api-shortname=vision", diff --git a/third_party/googleapis/google/cloud/vision/v1/BUILD.bazel b/third_party/googleapis/google/cloud/vision/v1/BUILD.bazel index 72ebec9d6..36ec06c1e 100644 --- a/third_party/googleapis/google/cloud/vision/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/vision/v1/BUILD.bazel @@ -123,13 +123,12 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( name = "vision_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "cloud.google.com/go/vision/apiv1/visionpb", + importpath = "cloud.google.com/go/vision/v2/apiv1/visionpb", protos = [":vision_proto"], deps = [ "//google/api:annotations_go_proto", @@ -144,7 +143,7 @@ go_gapic_library( name = "vision_go_gapic", srcs = [":vision_proto_with_info"], grpc_service_config = "vision_grpc_service_config.json", - importpath = "cloud.google.com/go/vision/apiv1;vision", + importpath = "cloud.google.com/go/vision/v2/apiv1;vision", metadata = True, release_level = "ga", rest_numeric_enums = True, @@ -158,19 +157,13 @@ go_gapic_library( ], ) -go_test( - name = "vision_go_gapic_test", - srcs = [":vision_go_gapic_srcjar_test"], - embed = [":vision_go_gapic"], - importpath = "cloud.google.com/go/vision/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-vision-v1-go", deps = [ ":vision_go_gapic", ":vision_go_gapic_srcjar-metadata.srcjar", + ":vision_go_gapic_srcjar-snippets.srcjar", ":vision_go_gapic_srcjar-test.srcjar", ":vision_go_proto", ], @@ -220,7 +213,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -229,23 +221,15 @@ php_proto_library( deps = [":vision_proto"], ) -php_grpc_library( - name = "vision_php_grpc", - srcs = [":vision_proto"], - deps = [":vision_php_proto"], -) - php_gapic_library( name = "vision_php_gapic", srcs = [":vision_proto_with_info"], grpc_service_config = "vision_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "vision_v1.yaml", transport = "grpc+rest", - deps = [ - ":vision_php_grpc", - ":vision_php_proto", - ], + deps = [":vision_php_proto"], ) # Open Source Packages @@ -253,7 +237,6 @@ php_gapic_assembly_pkg( name = "google-cloud-vision-v1-php", deps = [ ":vision_php_gapic", - ":vision_php_grpc", ":vision_php_proto", ], ) diff --git a/third_party/googleapis/google/cloud/vision/v1/geometry.proto b/third_party/googleapis/google/cloud/vision/v1/geometry.proto index 30aa355c7..78349df6c 100644 --- a/third_party/googleapis/google/cloud/vision/v1/geometry.proto +++ b/third_party/googleapis/google/cloud/vision/v1/geometry.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.vision.v1; option cc_enable_arenas = true; -option go_package = "cloud.google.com/go/vision/apiv1/visionpb;visionpb"; +option go_package = "cloud.google.com/go/vision/v2/apiv1/visionpb;visionpb"; option java_multiple_files = true; option java_outer_classname = "GeometryProto"; option java_package = "com.google.cloud.vision.v1"; diff --git a/third_party/googleapis/google/cloud/vision/v1/image_annotator.proto b/third_party/googleapis/google/cloud/vision/v1/image_annotator.proto index bb022ffc9..79e2df340 100644 --- a/third_party/googleapis/google/cloud/vision/v1/image_annotator.proto +++ b/third_party/googleapis/google/cloud/vision/v1/image_annotator.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -30,7 +30,7 @@ import "google/type/color.proto"; import "google/type/latlng.proto"; option cc_enable_arenas = true; -option go_package = "cloud.google.com/go/vision/apiv1/visionpb;visionpb"; +option go_package = "cloud.google.com/go/vision/v2/apiv1/visionpb;visionpb"; option java_multiple_files = true; option java_outer_classname = "ImageAnnotatorProto"; option java_package = "com.google.cloud.vision.v1"; @@ -46,7 +46,8 @@ service ImageAnnotator { "https://www.googleapis.com/auth/cloud-vision"; // Run image detection and annotation for a batch of images. - rpc BatchAnnotateImages(BatchAnnotateImagesRequest) returns (BatchAnnotateImagesResponse) { + rpc BatchAnnotateImages(BatchAnnotateImagesRequest) + returns (BatchAnnotateImagesResponse) { option (google.api.http) = { post: "/v1/images:annotate" body: "*" @@ -69,7 +70,8 @@ service ImageAnnotator { // AnnotateFileRequest.pages) frames (gif) or pages (pdf or tiff) from each // file provided and perform detection and annotation for each image // extracted. - rpc BatchAnnotateFiles(BatchAnnotateFilesRequest) returns (BatchAnnotateFilesResponse) { + rpc BatchAnnotateFiles(BatchAnnotateFilesRequest) + returns (BatchAnnotateFilesResponse) { option (google.api.http) = { post: "/v1/files:annotate" body: "*" @@ -94,7 +96,8 @@ service ImageAnnotator { // // This service will write image annotation outputs to json files in customer // GCS bucket, each json file containing BatchAnnotateImagesResponse proto. - rpc AsyncBatchAnnotateImages(AsyncBatchAnnotateImagesRequest) returns (google.longrunning.Operation) { + rpc AsyncBatchAnnotateImages(AsyncBatchAnnotateImagesRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/images:asyncBatchAnnotate" body: "*" @@ -120,7 +123,8 @@ service ImageAnnotator { // `google.longrunning.Operations` interface. // `Operation.metadata` contains `OperationMetadata` (metadata). // `Operation.response` contains `AsyncBatchAnnotateFilesResponse` (results). - rpc AsyncBatchAnnotateFiles(AsyncBatchAnnotateFilesRequest) returns (google.longrunning.Operation) { + rpc AsyncBatchAnnotateFiles(AsyncBatchAnnotateFilesRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/files:asyncBatchAnnotate" body: "*" @@ -566,7 +570,9 @@ message SafeSearchAnnotation { // Likelihood that this is a medical image. Likelihood medical = 3; - // Likelihood that this image contains violent content. + // Likelihood that this image contains violent content. Violent content may + // include death, serious harm, or injury to individuals or groups of + // individuals. Likelihood violence = 4; // Likelihood that the request image contains racy content. Racy content may @@ -644,8 +650,8 @@ message CropHintsParams { // Parameters for web detection request. message WebDetectionParams { - // Whether to include results derived from the geo information in the image. - bool include_geo_results = 2; + // This field has no effect on results. + bool include_geo_results = 2 [deprecated = true]; } // Parameters for text detections. This is used to control TEXT_DETECTION and @@ -656,7 +662,13 @@ message TextDetectionParams { // score for TEXT_DETECTION as well. bool enable_text_detection_confidence_score = 9; - // A list of advanced OCR options to fine-tune OCR behavior. + // A list of advanced OCR options to further fine-tune OCR behavior. + // Current valid values are: + // + // - `legacy_layout`: a heuristics layout detection algorithm, which serves as + // an alternative to the current ML-based layout detection algorithm. + // Customers can choose the best suitable layout algorithm based on their + // situation. repeated string advanced_ocr_options = 11; } @@ -767,7 +779,8 @@ message AnnotateImageResponse { // Multiple image annotation requests are batched into a single service call. message BatchAnnotateImagesRequest { // Required. Individual image annotation requests for this batch. - repeated AnnotateImageRequest requests = 1 [(google.api.field_behavior) = REQUIRED]; + repeated AnnotateImageRequest requests = 1 + [(google.api.field_behavior) = REQUIRED]; // Optional. Target project and location to make a call. // @@ -782,6 +795,14 @@ message BatchAnnotateImagesRequest { // // Example: `projects/project-A/locations/eu`. string parent = 4; + + // Optional. The labels with user-defined metadata for the request. + // + // Label keys and values can be no longer than 63 characters + // (Unicode codepoints), can only contain lowercase letters, numeric + // characters, underscores and dashes. International characters are allowed. + // Label values are optional. Label keys must start with a letter. + map labels = 5 [(google.api.field_behavior) = OPTIONAL]; } // Response to a batch image annotation request. @@ -838,9 +859,10 @@ message AnnotateFileResponse { // A list of requests to annotate files using the BatchAnnotateFiles API. message BatchAnnotateFilesRequest { - // Required. The list of file annotation requests. Right now we support only one - // AnnotateFileRequest in BatchAnnotateFilesRequest. - repeated AnnotateFileRequest requests = 1 [(google.api.field_behavior) = REQUIRED]; + // Required. The list of file annotation requests. Right now we support only + // one AnnotateFileRequest in BatchAnnotateFilesRequest. + repeated AnnotateFileRequest requests = 1 + [(google.api.field_behavior) = REQUIRED]; // Optional. Target project and location to make a call. // @@ -855,6 +877,14 @@ message BatchAnnotateFilesRequest { // // Example: `projects/project-A/locations/eu`. string parent = 3; + + // Optional. The labels with user-defined metadata for the request. + // + // Label keys and values can be no longer than 63 characters + // (Unicode codepoints), can only contain lowercase letters, numeric + // characters, underscores and dashes. International characters are allowed. + // Label values are optional. Label keys must start with a letter. + map labels = 5 [(google.api.field_behavior) = OPTIONAL]; } // A list of file annotation responses. @@ -888,7 +918,8 @@ message AsyncAnnotateFileResponse { // Request for async image annotation for a list of images. message AsyncBatchAnnotateImagesRequest { // Required. Individual image annotation requests for this batch. - repeated AnnotateImageRequest requests = 1 [(google.api.field_behavior) = REQUIRED]; + repeated AnnotateImageRequest requests = 1 + [(google.api.field_behavior) = REQUIRED]; // Required. The desired output location and metadata (e.g. format). OutputConfig output_config = 2 [(google.api.field_behavior) = REQUIRED]; @@ -906,6 +937,14 @@ message AsyncBatchAnnotateImagesRequest { // // Example: `projects/project-A/locations/eu`. string parent = 4; + + // Optional. The labels with user-defined metadata for the request. + // + // Label keys and values can be no longer than 63 characters + // (Unicode codepoints), can only contain lowercase letters, numeric + // characters, underscores and dashes. International characters are allowed. + // Label values are optional. Label keys must start with a letter. + map labels = 5 [(google.api.field_behavior) = OPTIONAL]; } // Response to an async batch image annotation request. @@ -918,7 +957,8 @@ message AsyncBatchAnnotateImagesResponse { // call. message AsyncBatchAnnotateFilesRequest { // Required. Individual async file annotation requests for this batch. - repeated AsyncAnnotateFileRequest requests = 1 [(google.api.field_behavior) = REQUIRED]; + repeated AsyncAnnotateFileRequest requests = 1 + [(google.api.field_behavior) = REQUIRED]; // Optional. Target project and location to make a call. // @@ -933,6 +973,14 @@ message AsyncBatchAnnotateFilesRequest { // // Example: `projects/project-A/locations/eu`. string parent = 4; + + // Optional. The labels with user-defined metadata for the request. + // + // Label keys and values can be no longer than 63 characters + // (Unicode codepoints), can only contain lowercase letters, numeric + // characters, underscores and dashes. International characters are allowed. + // Label values are optional. Label keys must start with a letter. + map labels = 5 [(google.api.field_behavior) = OPTIONAL]; } // Response to an async batch file annotation request. diff --git a/third_party/googleapis/google/cloud/vision/v1/product_search.proto b/third_party/googleapis/google/cloud/vision/v1/product_search.proto index b68f3fdc8..ed58f0137 100644 --- a/third_party/googleapis/google/cloud/vision/v1/product_search.proto +++ b/third_party/googleapis/google/cloud/vision/v1/product_search.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ import "google/cloud/vision/v1/product_search_service.proto"; import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; -option go_package = "cloud.google.com/go/vision/apiv1/visionpb;visionpb"; +option go_package = "cloud.google.com/go/vision/v2/apiv1/visionpb;visionpb"; option java_multiple_files = true; option java_outer_classname = "ProductSearchProto"; option java_package = "com.google.cloud.vision.v1"; @@ -34,13 +34,14 @@ message ProductSearchParams { // If it is not specified, system discretion will be applied. BoundingPoly bounding_poly = 9; - // The resource name of a [ProductSet][google.cloud.vision.v1.ProductSet] to be searched for similar images. + // The resource name of a [ProductSet][google.cloud.vision.v1.ProductSet] to + // be searched for similar images. // // Format is: // `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`. string product_set = 6 [(google.api.resource_reference) = { - type: "vision.googleapis.com/ProductSet" - }]; + type: "vision.googleapis.com/ProductSet" + }]; // The list of product categories to search in. Currently, we only consider // the first category, and either "homegoods-v2", "apparel-v2", "toys-v2", diff --git a/third_party/googleapis/google/cloud/vision/v1/product_search_service.proto b/third_party/googleapis/google/cloud/vision/v1/product_search_service.proto index 02e367b0c..58e55c010 100644 --- a/third_party/googleapis/google/cloud/vision/v1/product_search_service.proto +++ b/third_party/googleapis/google/cloud/vision/v1/product_search_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -28,7 +28,7 @@ import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; option cc_enable_arenas = true; -option go_package = "cloud.google.com/go/vision/apiv1/visionpb;visionpb"; +option go_package = "cloud.google.com/go/vision/v2/apiv1/visionpb;visionpb"; option java_multiple_files = true; option java_outer_classname = "ProductSearchServiceProto"; option java_package = "com.google.cloud.vision.v1"; @@ -37,16 +37,18 @@ option objc_class_prefix = "GCVN"; // Manages Products and ProductSets of reference images for use in product // search. It uses the following resource model: // -// - The API has a collection of [ProductSet][google.cloud.vision.v1.ProductSet] resources, named -// `projects/*/locations/*/productSets/*`, which acts as a way to put different -// products into groups to limit identification. +// - The API has a collection of [ProductSet][google.cloud.vision.v1.ProductSet] +// resources, named `projects/*/locations/*/productSets/*`, which acts as a way +// to put different products into groups to limit identification. // // In parallel, // -// - The API has a collection of [Product][google.cloud.vision.v1.Product] resources, named +// - The API has a collection of [Product][google.cloud.vision.v1.Product] +// resources, named // `projects/*/locations/*/products/*` // -// - Each [Product][google.cloud.vision.v1.Product] has a collection of [ReferenceImage][google.cloud.vision.v1.ReferenceImage] resources, named +// - Each [Product][google.cloud.vision.v1.Product] has a collection of +// [ReferenceImage][google.cloud.vision.v1.ReferenceImage] resources, named // `projects/*/locations/*/products/*/referenceImages/*` service ProductSearch { option (google.api.default_host) = "vision.googleapis.com"; @@ -74,7 +76,8 @@ service ProductSearch { // // * Returns INVALID_ARGUMENT if page_size is greater than 100, or less // than 1. - rpc ListProductSets(ListProductSetsRequest) returns (ListProductSetsResponse) { + rpc ListProductSets(ListProductSetsRequest) + returns (ListProductSetsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/productSets" }; @@ -113,7 +116,8 @@ service ProductSearch { // ProductSet are not deleted. // // The actual image files are not deleted from Google Cloud Storage. - rpc DeleteProductSet(DeleteProductSetRequest) returns (google.protobuf.Empty) { + rpc DeleteProductSet(DeleteProductSetRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/productSets/*}" }; @@ -214,12 +218,14 @@ service ProductSearch { // * Returns INVALID_ARGUMENT if bounding_poly is not provided, and nothing // compatible with the parent product's product_category is detected. // * Returns INVALID_ARGUMENT if bounding_poly contains more than 10 polygons. - rpc CreateReferenceImage(CreateReferenceImageRequest) returns (ReferenceImage) { + rpc CreateReferenceImage(CreateReferenceImageRequest) + returns (ReferenceImage) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*/products/*}/referenceImages" body: "reference_image" }; - option (google.api.method_signature) = "parent,reference_image,reference_image_id"; + option (google.api.method_signature) = + "parent,reference_image,reference_image_id"; } // Permanently deletes a reference image. @@ -229,7 +235,8 @@ service ProductSearch { // caches are refreshed. // // The actual image files are not deleted from Google Cloud Storage. - rpc DeleteReferenceImage(DeleteReferenceImageRequest) returns (google.protobuf.Empty) { + rpc DeleteReferenceImage(DeleteReferenceImageRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/products/*/referenceImages/*}" }; @@ -243,7 +250,8 @@ service ProductSearch { // * Returns NOT_FOUND if the parent product does not exist. // * Returns INVALID_ARGUMENT if the page_size is greater than 100, or less // than 1. - rpc ListReferenceImages(ListReferenceImagesRequest) returns (ListReferenceImagesResponse) { + rpc ListReferenceImages(ListReferenceImagesRequest) + returns (ListReferenceImagesResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*/products/*}/referenceImages" }; @@ -270,7 +278,8 @@ service ProductSearch { // Possible errors: // // * Returns NOT_FOUND if the Product or the ProductSet doesn't exist. - rpc AddProductToProductSet(AddProductToProductSetRequest) returns (google.protobuf.Empty) { + rpc AddProductToProductSet(AddProductToProductSetRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/productSets/*}:addProduct" body: "*" @@ -279,7 +288,8 @@ service ProductSearch { } // Removes a Product from the specified ProductSet. - rpc RemoveProductFromProductSet(RemoveProductFromProductSetRequest) returns (google.protobuf.Empty) { + rpc RemoveProductFromProductSet(RemoveProductFromProductSetRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/productSets/*}:removeProduct" body: "*" @@ -294,7 +304,8 @@ service ProductSearch { // Possible errors: // // * Returns INVALID_ARGUMENT if page_size is greater than 100 or less than 1. - rpc ListProductsInProductSet(ListProductsInProductSetRequest) returns (ListProductsInProductSetResponse) { + rpc ListProductsInProductSet(ListProductsInProductSetRequest) + returns (ListProductsInProductSetResponse) { option (google.api.http) = { get: "/v1/{name=projects/*/locations/*/productSets/*}/products" }; @@ -304,15 +315,16 @@ service ProductSearch { // Asynchronous API that imports a list of reference images to specified // product sets based on a list of image information. // - // The [google.longrunning.Operation][google.longrunning.Operation] API can be used to keep track of the - // progress and results of the request. + // The [google.longrunning.Operation][google.longrunning.Operation] API can be + // used to keep track of the progress and results of the request. // `Operation.metadata` contains `BatchOperationMetadata`. (progress) // `Operation.response` contains `ImportProductSetsResponse`. (results) // // The input source of this method is a csv file on Google Cloud Storage. // For the format of the csv file please see // [ImportProductSetsGcsSource.csv_file_uri][google.cloud.vision.v1.ImportProductSetsGcsSource.csv_file_uri]. - rpc ImportProductSets(ImportProductSetsRequest) returns (google.longrunning.Operation) { + rpc ImportProductSets(ImportProductSetsRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/productSets:import" body: "*" @@ -345,10 +357,11 @@ service ProductSearch { // ProductSet, you must wait until the PurgeProducts operation has finished // for that ProductSet. // - // The [google.longrunning.Operation][google.longrunning.Operation] API can be used to keep track of the - // progress and results of the request. + // The [google.longrunning.Operation][google.longrunning.Operation] API can be + // used to keep track of the progress and results of the request. // `Operation.metadata` contains `BatchOperationMetadata`. (progress) - rpc PurgeProducts(PurgeProductsRequest) returns (google.longrunning.Operation) { + rpc PurgeProducts(PurgeProductsRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/products:purge" body: "*" @@ -395,10 +408,11 @@ message Product { // characters long. string description = 3; - // Immutable. The category for the product identified by the reference image. This should - // be one of "homegoods-v2", "apparel-v2", "toys-v2", "packagedgoods-v1" or - // "general-v1". The legacy categories "homegoods", "apparel", and "toys" are - // still supported, but these should not be used for new products. + // Immutable. The category for the product identified by the reference image. + // This should be one of "homegoods-v2", "apparel-v2", "toys-v2", + // "packagedgoods-v1" or "general-v1". The legacy categories "homegoods", + // "apparel", and "toys" are still supported, but these should not be used for + // new products. string product_category = 4 [(google.api.field_behavior) = IMMUTABLE]; // Key-value pairs that can be attached to a product. At query time, @@ -444,7 +458,8 @@ message ProductSet { // "1970-01-01T00:00:00Z". // // This field is ignored when creating a ProductSet. - google.protobuf.Timestamp index_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp index_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. If there was an error with indexing the product set, the field // is populated. @@ -474,15 +489,16 @@ message ReferenceImage { // The URI must start with `gs://`. string uri = 2 [(google.api.field_behavior) = REQUIRED]; - // Optional. Bounding polygons around the areas of interest in the reference image. - // If this field is empty, the system will try to detect regions of + // Optional. Bounding polygons around the areas of interest in the reference + // image. If this field is empty, the system will try to detect regions of // interest. At most 10 bounding polygons will be used. // // The provided shape is converted into a non-rotated rectangle. Once // converted, the small edge of the rectangle must be greater than or equal // to 300 pixels. The aspect ratio must be 1:4 or less (i.e. 1:3 is ok; 1:5 // is not). - repeated BoundingPoly bounding_polys = 3 [(google.api.field_behavior) = OPTIONAL]; + repeated BoundingPoly bounding_polys = 3 + [(google.api.field_behavior) = OPTIONAL]; } // Request message for the `CreateProduct` method. @@ -546,9 +562,7 @@ message GetProductRequest { // `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID` string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "vision.googleapis.com/Product" - } + (google.api.resource_reference) = { type: "vision.googleapis.com/Product" } ]; } @@ -574,9 +588,7 @@ message DeleteProductRequest { // `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID` string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "vision.googleapis.com/Product" - } + (google.api.resource_reference) = { type: "vision.googleapis.com/Product" } ]; } @@ -673,15 +685,14 @@ message DeleteProductSetRequest { // Request message for the `CreateReferenceImage` method. message CreateReferenceImageRequest { - // Required. Resource name of the product in which to create the reference image. + // Required. Resource name of the product in which to create the reference + // image. // // Format is // `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "vision.googleapis.com/Product" - } + (google.api.resource_reference) = { type: "vision.googleapis.com/Product" } ]; // Required. The reference image to create. @@ -703,9 +714,7 @@ message ListReferenceImagesRequest { // `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`. string parent = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "vision.googleapis.com/Product" - } + (google.api.resource_reference) = { type: "vision.googleapis.com/Product" } ]; // The maximum number of items to return. Default 10, maximum 100. @@ -777,9 +786,7 @@ message AddProductToProductSetRequest { // `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID` string product = 2 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "vision.googleapis.com/Product" - } + (google.api.resource_reference) = { type: "vision.googleapis.com/Product" } ]; } @@ -796,15 +803,14 @@ message RemoveProductFromProductSetRequest { } ]; - // Required. The resource name for the Product to be removed from this ProductSet. + // Required. The resource name for the Product to be removed from this + // ProductSet. // // Format is: // `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID` string product = 2 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "vision.googleapis.com/Product" - } + (google.api.resource_reference) = { type: "vision.googleapis.com/Product" } ]; } @@ -866,15 +872,17 @@ message ImportProductSetsGcsSource { // `product-display-name` column refers to // [display_name][google.cloud.vision.v1.Product.display_name], the // `product-category` column refers to - // [product_category][google.cloud.vision.v1.Product.product_category], and the - // `labels` column refers to [product_labels][google.cloud.vision.v1.Product.product_labels]. + // [product_category][google.cloud.vision.v1.Product.product_category], and + // the `labels` column refers to + // [product_labels][google.cloud.vision.v1.Product.product_labels]. // // The `image-id` column is optional but must be unique if provided. If it is // empty, the system will automatically assign a unique id to the image. // // The `product-display-name` column is optional. If it is empty, the system - // sets the [display_name][google.cloud.vision.v1.Product.display_name] field for the product to a - // space (" "). You can update the `display_name` later by using the API. + // sets the [display_name][google.cloud.vision.v1.Product.display_name] field + // for the product to a space (" "). You can update the `display_name` later + // by using the API. // // If a `Product` with the specified `product-id` already exists, then the // system ignores the `product-display-name`, `product-category`, and `labels` @@ -928,14 +936,17 @@ message ImportProductSetsRequest { ]; // Required. The input content for the list of requests. - ImportProductSetsInputConfig input_config = 2 [(google.api.field_behavior) = REQUIRED]; + ImportProductSetsInputConfig input_config = 2 + [(google.api.field_behavior) = REQUIRED]; } // Response message for the `ImportProductSets` method. // // This message is returned by the -// [google.longrunning.Operations.GetOperation][google.longrunning.Operations.GetOperation] method in the returned -// [google.longrunning.Operation.response][google.longrunning.Operation.response] field. +// [google.longrunning.Operations.GetOperation][google.longrunning.Operations.GetOperation] +// method in the returned +// [google.longrunning.Operation.response][google.longrunning.Operation.response] +// field. message ImportProductSetsResponse { // The list of reference_images that are imported successfully. repeated ReferenceImage reference_images = 1; @@ -982,7 +993,8 @@ message BatchOperationMetadata { google.protobuf.Timestamp submit_time = 2; // The time when the batch request is finished and - // [google.longrunning.Operation.done][google.longrunning.Operation.done] is set to true. + // [google.longrunning.Operation.done][google.longrunning.Operation.done] is + // set to true. google.protobuf.Timestamp end_time = 3; } diff --git a/third_party/googleapis/google/cloud/vision/v1/text_annotation.proto b/third_party/googleapis/google/cloud/vision/v1/text_annotation.proto index 303186088..bc1c799e8 100644 --- a/third_party/googleapis/google/cloud/vision/v1/text_annotation.proto +++ b/third_party/googleapis/google/cloud/vision/v1/text_annotation.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -19,7 +19,7 @@ package google.cloud.vision.v1; import "google/cloud/vision/v1/geometry.proto"; option cc_enable_arenas = true; -option go_package = "cloud.google.com/go/vision/apiv1/visionpb;visionpb"; +option go_package = "cloud.google.com/go/vision/v2/apiv1/visionpb;visionpb"; option java_multiple_files = true; option java_outer_classname = "TextAnnotationProto"; option java_package = "com.google.cloud.vision.v1"; @@ -30,8 +30,9 @@ option objc_class_prefix = "GCVN"; // TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol // Each structural component, starting from Page, may further have their own // properties. Properties describe detected languages, breaks etc.. Please refer -// to the [TextAnnotation.TextProperty][google.cloud.vision.v1.TextAnnotation.TextProperty] message definition below for more -// detail. +// to the +// [TextAnnotation.TextProperty][google.cloud.vision.v1.TextAnnotation.TextProperty] +// message definition below for more detail. message TextAnnotation { // Detected language for a structural component. message DetectedLanguage { diff --git a/third_party/googleapis/google/cloud/vision/v1/vision_v1.yaml b/third_party/googleapis/google/cloud/vision/v1/vision_v1.yaml index 4a45e9728..79965e742 100644 --- a/third_party/googleapis/google/cloud/vision/v1/vision_v1.yaml +++ b/third_party/googleapis/google/cloud/vision/v1/vision_v1.yaml @@ -6,6 +6,7 @@ title: Cloud Vision API apis: - name: google.cloud.vision.v1.ImageAnnotator - name: google.cloud.vision.v1.ProductSearch +- name: google.longrunning.Operations types: - name: google.cloud.vision.v1.AnnotateFileResponse diff --git a/third_party/googleapis/google/cloud/vision/v1/web_detection.proto b/third_party/googleapis/google/cloud/vision/v1/web_detection.proto index 36d36b8b8..71dc333bc 100644 --- a/third_party/googleapis/google/cloud/vision/v1/web_detection.proto +++ b/third_party/googleapis/google/cloud/vision/v1/web_detection.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.vision.v1; option cc_enable_arenas = true; -option go_package = "cloud.google.com/go/vision/apiv1/visionpb;visionpb"; +option go_package = "cloud.google.com/go/vision/v2/apiv1/visionpb;visionpb"; option java_multiple_files = true; option java_outer_classname = "WebDetectionProto"; option java_package = "com.google.cloud.vision.v1"; diff --git a/third_party/googleapis/google/cloud/vision/v1p1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/vision/v1p1beta1/BUILD.bazel index 4244c790c..c9c6256d1 100644 --- a/third_party/googleapis/google/cloud/vision/v1p1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/vision/v1p1beta1/BUILD.bazel @@ -63,6 +63,7 @@ java_gapic_library( srcs = [":vision_proto_with_info"], grpc_service_config = "vision_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "vision_v1p1beta1.yaml", test_deps = [ ":vision_java_grpc", ], @@ -102,13 +103,12 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( name = "vision_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "cloud.google.com/go/vision/apiv1p1beta1/visionpb", + importpath = "cloud.google.com/go/vision/v2/apiv1p1beta1/visionpb", protos = [":vision_proto"], deps = [ "//google/api:annotations_go_proto", @@ -122,7 +122,7 @@ go_gapic_library( name = "vision_go_gapic", srcs = [":vision_proto_with_info"], grpc_service_config = "vision_grpc_service_config.json", - importpath = "cloud.google.com/go/vision/apiv1p1beta1;vision", + importpath = "cloud.google.com/go/vision/v2/apiv1p1beta1;vision", release_level = "beta", rest_numeric_enums = True, service_yaml = "vision_v1p1beta1.yaml", @@ -132,18 +132,12 @@ go_gapic_library( ], ) -go_test( - name = "vision_go_gapic_test", - srcs = [":vision_go_gapic_srcjar_test"], - embed = [":vision_go_gapic"], - importpath = "cloud.google.com/go/vision/apiv1p1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-vision-v1p1beta1-go", deps = [ ":vision_go_gapic", + ":vision_go_gapic_srcjar-snippets.srcjar", ":vision_go_gapic_srcjar-test.srcjar", ":vision_go_proto", ], @@ -192,7 +186,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -201,12 +194,6 @@ php_proto_library( deps = [":vision_proto"], ) -php_grpc_library( - name = "vision_php_grpc", - srcs = [":vision_proto"], - deps = [":vision_php_proto"], -) - php_gapic_library( name = "vision_php_gapic", srcs = [":vision_proto_with_info"], @@ -215,10 +202,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "vision_v1p1beta1.yaml", transport = "grpc+rest", - deps = [ - ":vision_php_grpc", - ":vision_php_proto", - ], + deps = [":vision_php_proto"], ) # Open Source Packages @@ -226,7 +210,6 @@ php_gapic_assembly_pkg( name = "google-cloud-vision-v1p1beta1-php", deps = [ ":vision_php_gapic", - ":vision_php_grpc", ":vision_php_proto", ], ) @@ -290,6 +273,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-vision-v1p1beta1"], rest_numeric_enums = True, service_yaml = "vision_v1p1beta1.yaml", + transport = "grpc+rest", deps = [ ":vision_ruby_grpc", ":vision_ruby_proto", diff --git a/third_party/googleapis/google/cloud/vision/v1p1beta1/geometry.proto b/third_party/googleapis/google/cloud/vision/v1p1beta1/geometry.proto index 2fcc14a45..14febb0d4 100644 --- a/third_party/googleapis/google/cloud/vision/v1p1beta1/geometry.proto +++ b/third_party/googleapis/google/cloud/vision/v1p1beta1/geometry.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.cloud.vision.v1p1beta1; option cc_enable_arenas = true; -option go_package = "cloud.google.com/go/vision/apiv1p1beta1/visionpb;visionpb"; +option go_package = "cloud.google.com/go/vision/v2/apiv1p1beta1/visionpb;visionpb"; option java_multiple_files = true; option java_outer_classname = "GeometryProto"; option java_package = "com.google.cloud.vision.v1p1beta1"; diff --git a/third_party/googleapis/google/cloud/vision/v1p1beta1/image_annotator.proto b/third_party/googleapis/google/cloud/vision/v1p1beta1/image_annotator.proto index a4d610392..ac535380b 100644 --- a/third_party/googleapis/google/cloud/vision/v1p1beta1/image_annotator.proto +++ b/third_party/googleapis/google/cloud/vision/v1p1beta1/image_annotator.proto @@ -28,7 +28,7 @@ import "google/type/color.proto"; import "google/type/latlng.proto"; option cc_enable_arenas = true; -option go_package = "cloud.google.com/go/vision/apiv1p1beta1/visionpb;visionpb"; +option go_package = "cloud.google.com/go/vision/v2/apiv1p1beta1/visionpb;visionpb"; option java_multiple_files = true; option java_outer_classname = "ImageAnnotatorProto"; option java_package = "com.google.cloud.vision.v1p1beta1"; diff --git a/third_party/googleapis/google/cloud/vision/v1p1beta1/text_annotation.proto b/third_party/googleapis/google/cloud/vision/v1p1beta1/text_annotation.proto index feca82bfd..53488bfe4 100644 --- a/third_party/googleapis/google/cloud/vision/v1p1beta1/text_annotation.proto +++ b/third_party/googleapis/google/cloud/vision/v1p1beta1/text_annotation.proto @@ -19,7 +19,7 @@ package google.cloud.vision.v1p1beta1; import "google/cloud/vision/v1p1beta1/geometry.proto"; option cc_enable_arenas = true; -option go_package = "cloud.google.com/go/vision/apiv1p1beta1/visionpb;visionpb"; +option go_package = "cloud.google.com/go/vision/v2/apiv1p1beta1/visionpb;visionpb"; option java_multiple_files = true; option java_outer_classname = "TextAnnotationProto"; option java_package = "com.google.cloud.vision.v1p1beta1"; diff --git a/third_party/googleapis/google/cloud/vision/v1p1beta1/web_detection.proto b/third_party/googleapis/google/cloud/vision/v1p1beta1/web_detection.proto index 13029cbbd..ebff5a191 100644 --- a/third_party/googleapis/google/cloud/vision/v1p1beta1/web_detection.proto +++ b/third_party/googleapis/google/cloud/vision/v1p1beta1/web_detection.proto @@ -18,7 +18,7 @@ package google.cloud.vision.v1p1beta1; option cc_enable_arenas = true; -option go_package = "cloud.google.com/go/vision/apiv1p1beta1/visionpb;visionpb"; +option go_package = "cloud.google.com/go/vision/v2/apiv1p1beta1/visionpb;visionpb"; option java_multiple_files = true; option java_outer_classname = "WebDetectionProto"; option java_package = "com.google.cloud.vision.v1p1beta1"; diff --git a/third_party/googleapis/google/cloud/vision/v1p2beta1/BUILD.bazel b/third_party/googleapis/google/cloud/vision/v1p2beta1/BUILD.bazel index c930f0307..8a5128924 100644 --- a/third_party/googleapis/google/cloud/vision/v1p2beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/vision/v1p2beta1/BUILD.bazel @@ -66,6 +66,7 @@ java_gapic_library( gapic_yaml = "vision_gapic.yaml", grpc_service_config = "vision_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "vision_v1p2beta1.yaml", test_deps = [ ":vision_java_grpc", ], @@ -105,7 +106,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -139,18 +139,12 @@ go_gapic_library( ], ) -go_test( - name = "vision_go_gapic_test", - srcs = [":vision_go_gapic_srcjar_test"], - embed = [":vision_go_gapic"], - importpath = "cloud.google.com/go/vision/apiv1p2beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-vision-v1p2beta1-go", deps = [ ":vision_go_gapic", + ":vision_go_gapic_srcjar-snippets.srcjar", ":vision_go_gapic_srcjar-test.srcjar", ":vision_go_proto", ], @@ -199,7 +193,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -208,12 +201,6 @@ php_proto_library( deps = [":vision_proto"], ) -php_grpc_library( - name = "vision_php_grpc", - srcs = [":vision_proto"], - deps = [":vision_php_proto"], -) - php_gapic_library( name = "vision_php_gapic", srcs = [":vision_proto_with_info"], @@ -222,10 +209,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "vision_v1p2beta1.yaml", transport = "grpc+rest", - deps = [ - ":vision_php_grpc", - ":vision_php_proto", - ], + deps = [":vision_php_proto"], ) # Open Source Packages @@ -233,7 +217,6 @@ php_gapic_assembly_pkg( name = "google-cloud-vision-v1p2beta1-php", deps = [ ":vision_php_gapic", - ":vision_php_grpc", ":vision_php_proto", ], ) @@ -297,6 +280,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-vision-v1p2beta1"], rest_numeric_enums = True, service_yaml = "vision_v1p2beta1.yaml", + transport = "grpc+rest", deps = [ ":vision_ruby_grpc", ":vision_ruby_proto", diff --git a/third_party/googleapis/google/cloud/vision/v1p3beta1/BUILD.bazel b/third_party/googleapis/google/cloud/vision/v1p3beta1/BUILD.bazel index ce8f7f250..0b5fa0792 100644 --- a/third_party/googleapis/google/cloud/vision/v1p3beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/vision/v1p3beta1/BUILD.bazel @@ -71,6 +71,7 @@ java_gapic_library( gapic_yaml = "vision_gapic.yaml", grpc_service_config = "vision_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "vision_v1p3beta1.yaml", test_deps = [ ":vision_java_grpc", ], @@ -112,7 +113,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -146,18 +146,12 @@ go_gapic_library( ], ) -go_test( - name = "vision_go_gapic_test", - srcs = [":vision_go_gapic_srcjar_test"], - embed = [":vision_go_gapic"], - importpath = "cloud.google.com/go/vision/apiv1p3beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-vision-v1p3beta1-go", deps = [ ":vision_go_gapic", + ":vision_go_gapic_srcjar-snippets.srcjar", ":vision_go_gapic_srcjar-test.srcjar", ":vision_go_proto", ], @@ -206,7 +200,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -215,12 +208,6 @@ php_proto_library( deps = [":vision_proto"], ) -php_grpc_library( - name = "vision_php_grpc", - srcs = [":vision_proto"], - deps = [":vision_php_proto"], -) - php_gapic_library( name = "vision_php_gapic", srcs = [":vision_proto_with_info"], @@ -229,10 +216,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "vision_v1p3beta1.yaml", transport = "grpc+rest", - deps = [ - ":vision_php_grpc", - ":vision_php_proto", - ], + deps = [":vision_php_proto"], ) # Open Source Packages @@ -240,7 +224,6 @@ php_gapic_assembly_pkg( name = "google-cloud-vision-v1p3beta1-php", deps = [ ":vision_php_gapic", - ":vision_php_grpc", ":vision_php_proto", ], ) diff --git a/third_party/googleapis/google/cloud/vision/v1p4beta1/BUILD.bazel b/third_party/googleapis/google/cloud/vision/v1p4beta1/BUILD.bazel index 8096ef95f..84a86a00d 100644 --- a/third_party/googleapis/google/cloud/vision/v1p4beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/vision/v1p4beta1/BUILD.bazel @@ -72,6 +72,7 @@ java_gapic_library( gapic_yaml = "vision_gapic.yaml", grpc_service_config = "vision_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "vision_v1p4beta1.yaml", test_deps = [ ":vision_java_grpc", ], @@ -113,7 +114,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -147,18 +147,12 @@ go_gapic_library( ], ) -go_test( - name = "vision_go_gapic_test", - srcs = [":vision_go_gapic_srcjar_test"], - embed = [":vision_go_gapic"], - importpath = "cloud.google.com/go/vision/apiv1p4beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-vision-v1p4beta1-go", deps = [ ":vision_go_gapic", + ":vision_go_gapic_srcjar-snippets.srcjar", ":vision_go_gapic_srcjar-test.srcjar", ":vision_go_proto", ], @@ -207,7 +201,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -216,12 +209,6 @@ php_proto_library( deps = [":vision_proto"], ) -php_grpc_library( - name = "vision_php_grpc", - srcs = [":vision_proto"], - deps = [":vision_php_proto"], -) - php_gapic_library( name = "vision_php_gapic", srcs = [":vision_proto_with_info"], @@ -230,10 +217,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "vision_v1p4beta1.yaml", transport = "grpc+rest", - deps = [ - ":vision_php_grpc", - ":vision_php_proto", - ], + deps = [":vision_php_proto"], ) # Open Source Packages @@ -241,7 +225,6 @@ php_gapic_assembly_pkg( name = "google-cloud-vision-v1p4beta1-php", deps = [ ":vision_php_gapic", - ":vision_php_grpc", ":vision_php_proto", ], ) diff --git a/third_party/googleapis/google/cloud/visionai/v1/BUILD.bazel b/third_party/googleapis/google/cloud/visionai/v1/BUILD.bazel index f61db87a8..789364eee 100644 --- a/third_party/googleapis/google/cloud/visionai/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/visionai/v1/BUILD.bazel @@ -32,6 +32,7 @@ proto_library( "streams_resources.proto", "streams_service.proto", "warehouse.proto", + "health_service.proto", ], deps = [ "//google/api:annotations_proto", @@ -142,7 +143,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -181,19 +181,13 @@ go_gapic_library( ], ) -go_test( - name = "visionai_go_gapic_test", - srcs = [":visionai_go_gapic_srcjar_test"], - embed = [":visionai_go_gapic"], - importpath = "cloud.google.com/go/visionai/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-visionai-v1-go", deps = [ ":visionai_go_gapic", ":visionai_go_gapic_srcjar-metadata.srcjar", + ":visionai_go_gapic_srcjar-snippets.srcjar", ":visionai_go_gapic_srcjar-test.srcjar", ":visionai_go_proto", ], @@ -246,7 +240,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -255,12 +248,6 @@ php_proto_library( deps = [":visionai_proto"], ) -php_grpc_library( - name = "visionai_php_grpc", - srcs = [":visionai_proto"], - deps = [":visionai_php_proto"], -) - php_gapic_library( name = "visionai_php_gapic", srcs = [":visionai_proto_with_info"], @@ -268,10 +255,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "visionai_v1.yaml", transport = "grpc+rest", - deps = [ - ":visionai_php_grpc", - ":visionai_php_proto", - ], + deps = [":visionai_php_proto"], ) # Open Source Packages @@ -279,7 +263,6 @@ php_gapic_assembly_pkg( name = "google-cloud-visionai-v1-php", deps = [ ":visionai_php_gapic", - ":visionai_php_grpc", ":visionai_php_proto", ], ) @@ -345,6 +328,7 @@ ruby_cloud_gapic_library( grpc_service_config = "visionai_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "visionai_v1.yaml", + transport = "grpc+rest", deps = [ ":visionai_ruby_grpc", ":visionai_ruby_proto", diff --git a/third_party/googleapis/google/cloud/visionai/v1/annotations.proto b/third_party/googleapis/google/cloud/visionai/v1/annotations.proto index d8ab81d49..b5259a879 100644 --- a/third_party/googleapis/google/cloud/visionai/v1/annotations.proto +++ b/third_party/googleapis/google/cloud/visionai/v1/annotations.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -518,6 +518,9 @@ message OccupancyCountingPredictionResult { // Dwell time related information. All the tracks that are live in a given // zone with a start and end dwell time timestamp repeated DwellTimeInfo dwell_time_info = 5; + + // The presentation timestamp of the frame. + optional int64 pts = 6; } // message about annotations about Vision AI stream resource. diff --git a/third_party/googleapis/google/cloud/visionai/v1/common.proto b/third_party/googleapis/google/cloud/visionai/v1/common.proto index 4b56d1709..296a8ebcb 100644 --- a/third_party/googleapis/google/cloud/visionai/v1/common.proto +++ b/third_party/googleapis/google/cloud/visionai/v1/common.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -59,10 +59,12 @@ message Cluster { string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The create timestamp. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The update timestamp. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Labels as key value pairs map labels = 4; @@ -71,7 +73,8 @@ message Cluster { map annotations = 5; // Output only. The DNS name of the data plane service - string dataplane_service_endpoint = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + string dataplane_service_endpoint = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The current state of the cluster. State state = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -83,10 +86,12 @@ message Cluster { // Represents the metadata of the long-running operation. message OperationMetadata { // Output only. The time the operation was created. - google.protobuf.Timestamp create_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time the operation finished running. - google.protobuf.Timestamp end_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp end_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Server-defined resource path for the target of the operation. string target = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -99,8 +104,9 @@ message OperationMetadata { // Output only. Identifies whether the user has requested cancellation // of the operation. Operations that have successfully been cancelled - // have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, - // corresponding to `Code.CANCELLED`. + // have [Operation.error][] value with a + // [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to + // `Code.CANCELLED`. bool requested_cancellation = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. API version used to start the operation. diff --git a/third_party/googleapis/google/cloud/visionai/v1/lva.proto b/third_party/googleapis/google/cloud/visionai/v1/lva.proto index 115a78950..ebedd4206 100644 --- a/third_party/googleapis/google/cloud/visionai/v1/lva.proto +++ b/third_party/googleapis/google/cloud/visionai/v1/lva.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -24,6 +24,143 @@ option java_package = "com.google.cloud.visionai.v1"; option php_namespace = "Google\\Cloud\\VisionAI\\V1"; option ruby_package = "Google::Cloud::VisionAI::V1"; +// RunMode represents the mode to launch the Process on. +enum RunMode { + // Mode is unspecified. + RUN_MODE_UNSPECIFIED = 0; + + // Live mode. Meaning the Process is launched to handle live video + // source, and possible packet drops are expected. + LIVE = 1; + + // Submission mode. Meaning the Process is launched to handle bounded video + // files, with no packet drop. Completion status is tracked. + SUBMISSION = 2; +} + +// Defines the interface of an Operator. +// +// Arguments to an operator are input/output streams that are getting +// processesed/returned while attributes are fixed configuration parameters. +message OperatorDefinition { + // Defines an argument to an operator. + // + // Used for both inputs and outputs. + message ArgumentDefinition { + // The name of the argument. + // + // Tentatively [a-z]([_a-z0-9]*[a-z0-9])?, e.g., video, audio, + // high_fps_frame. + string argument = 1; + + // The data type of the argument. + // + // This should match the textual representation of a stream/Packet type. + string type = 2; + } + + // Defines an attribute of an operator. + message AttributeDefinition { + // The name of the attribute. + // + // Tentatively [a-z]([_a-z0-9]*[a-z0-9])?, e.g., max_frames_per_video, + // resize_height. + string attribute = 1; + + // The type of this attribute. + // + // See attribute_value.proto for possibilities. + string type = 2; + + // The default value for the attribute. + AttributeValue default_value = 3; + } + + // The name of this operator. + // + // Tentatively [A-Z][a-zA-Z0-9]*, e.g., BboxCounter, PetDetector, + // PetDetector1. + string operator = 1; + + // Declares input arguments. + repeated ArgumentDefinition input_args = 2; + + // Declares output arguments. + repeated ArgumentDefinition output_args = 3; + + // Declares the attributes. + repeated AttributeDefinition attributes = 4; + + // The resources for running the operator. + ResourceSpecification resources = 5; + + // Short description of the operator. + string short_description = 6; + + // Full description of the operator. + string description = 7; +} + +// ResourceSpec collects a set of resources that can +// be used to specify requests and requirements. +// +// Note: Highly experimental as this can be runtime dependent. +// Can use the "extras" field to experiment first before trying +// to abstract it. +message ResourceSpecification { + // CPU specification. + // + // Examples: + // "100m", "0.5", "1", "2", ... correspond to + // 0.1, half, 1, or 2 cpus. + // + // Leave empty to let the system decide. + // + // Note that this does *not* determine the cpu vender/make, + // or its underlying clock speed and specific SIMD features. + // It is only the amount time it requires in timeslicing. + string cpu = 1; + + // CPU limit. + // + // Examples: + // "100m", "0.5", "1", "2", ... correspond to + // 0.1, half, 1, or 2 cpus. + // + // Leave empty to indicate no limit. + string cpu_limits = 5; + + // Memory specification (in bytes). + // + // Examples: + // "128974848", "129e6", "129M", "123Mi", ... correspond to + // 128974848 bytes, 129000000 bytes, 129 mebibytes, 123 megabytes. + // + // Leave empty to let the system decide. + string memory = 2; + + // Memory usage limits. + // + // Examples: + // "128974848", "129e6", "129M", "123Mi", ... correspond to + // 128974848 bytes, 129000000 bytes, 129 mebibytes, 123 megabytes. + // + // Leave empty to indicate no limit. + string memory_limits = 6; + + // Number of gpus. + int32 gpus = 3; + + // The maximum latency that this operator may use to process an element. + // + // If non positive, then a system default will be used. + // Operator developers should arrange for the system compute resources to be + // aligned with this latency budget; e.g. if you want a ML model to produce + // results within 500ms, then you should make sure you request enough + // cpu/gpu/memory to achieve that. + int32 latency_budget_ms = 4; +} + // Represents an actual value of an operator attribute. message AttributeValue { // Attribute value. @@ -77,6 +214,15 @@ message AnalyzerDefinition { map environment_variables = 1; } + // Option related to the operator. + message OperatorOption { + // Tag of the operator. + string tag = 1; + + // Registry of the operator. e.g. public, dev. + string registry = 2; + } + // The name of this analyzer. // // Tentatively [a-z][a-z0-9]*(_[a-z0-9]+)*. @@ -99,6 +245,9 @@ message AnalyzerDefinition { // Debug options. DebugOptions debug_options = 5; + + // Operator option. + OperatorOption operator_option = 6; } // Defines a full analysis. @@ -113,3 +262,35 @@ message AnalysisDefinition { // Analyzer definitions. repeated AnalyzerDefinition analyzers = 1; } + +// Message describing the status of the Process. +message RunStatus { + // State represents the running status of the Process. + enum State { + // State is unspecified. + STATE_UNSPECIFIED = 0; + + // INITIALIZING means the Process is scheduled but yet ready to handle + // real traffic. + INITIALIZING = 1; + + // RUNNING means the Process is up running and handling traffic. + RUNNING = 2; + + // COMPLETED means the Process has completed the processing, especially + // for non-streaming use case. + COMPLETED = 3; + + // FAILED means the Process failed to complete the processing. + FAILED = 4; + + // PENDING means the Process is created but yet to be scheduled. + PENDING = 5; + } + + // The state of the Process. + State state = 1; + + // The reason of becoming the state. + string reason = 2; +} diff --git a/third_party/googleapis/google/cloud/visionai/v1/lva_resources.proto b/third_party/googleapis/google/cloud/visionai/v1/lva_resources.proto index bffb88e25..c2a686860 100644 --- a/third_party/googleapis/google/cloud/visionai/v1/lva_resources.proto +++ b/third_party/googleapis/google/cloud/visionai/v1/lva_resources.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -29,6 +29,34 @@ option java_package = "com.google.cloud.visionai.v1"; option php_namespace = "Google\\Cloud\\VisionAI\\V1"; option ruby_package = "Google::Cloud::VisionAI::V1"; +// Message describing the Operator object. +message Operator { + option (google.api.resource) = { + type: "visionai.googleapis.com/Operator" + pattern: "projects/{project}/locations/{location}/operators/{operator}" + }; + + // Name of the resource. + string name = 1; + + // Output only. The create timestamp. + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The update timestamp. + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Labels as key value pairs. + map labels = 4; + + // The definition of the operator. + OperatorDefinition operator_definition = 5; + + // The link to the docker image of the operator. + string docker_image = 6; +} + // Message describing the Analysis object. message Analysis { option (google.api.resource) = { @@ -40,10 +68,12 @@ message Analysis { string name = 1; // Output only. The create timestamp. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The update timestamp. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Labels as key value pairs. map labels = 4; @@ -62,4 +92,62 @@ message Analysis { // to send to the real stream "stream-0". You can add the following // mapping: [output-0: stream-0]. map output_streams_mapping = 7; + + // Boolean flag to indicate whether you would like to disable the ability + // to automatically start a Process when new event happening in the input + // Stream. If you would like to start a Process manually, the field needs + // to be set to true. + bool disable_event_watch = 8; +} + +// Message describing the Process object. +message Process { + option (google.api.resource) = { + type: "visionai.googleapis.com/Process" + pattern: "projects/{project}/locations/{location}/clusters/{cluster}/processes/{process}" + }; + + // The name of resource. + string name = 1; + + // Output only. The create timestamp. + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The update timestamp. + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Required. Reference to an existing Analysis resource. + string analysis = 4 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "visionai.googleapis.com/Analysis" + } + ]; + + // Optional. Attribute overrides of the Analyzers. + // Format for each single override item: + // "{analyzer_name}:{attribute_key}={value}" + repeated string attribute_overrides = 5 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Status of the Process. + RunStatus run_status = 6 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Run mode of the Process. + RunMode run_mode = 7 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Event ID of the input/output streams. + // This is useful when you have a StreamSource/StreamSink operator in the + // Analysis, and you want to manually specify the Event to read from/write to. + string event_id = 8 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Optional: Batch ID of the Process. + string batch_id = 9 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Optional: The number of retries for a process in submission mode + // the system should try before declaring failure. By default, no retry will + // be performed. + int32 retry_count = 10 [(google.api.field_behavior) = OPTIONAL]; } diff --git a/third_party/googleapis/google/cloud/visionai/v1/lva_service.proto b/third_party/googleapis/google/cloud/visionai/v1/lva_service.proto index 4c73327aa..1db6bbfb2 100644 --- a/third_party/googleapis/google/cloud/visionai/v1/lva_service.proto +++ b/third_party/googleapis/google/cloud/visionai/v1/lva_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,8 +20,10 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/cloud/visionai/v1/common.proto"; import "google/cloud/visionai/v1/lva_resources.proto"; import "google/longrunning/operations.proto"; +import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.VisionAI.V1"; @@ -36,7 +38,84 @@ option ruby_package = "Google::Cloud::VisionAI::V1"; // Live Video Analytics (LVA) on the streaming inputs. service LiveVideoAnalytics { option (google.api.default_host) = "visionai.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; + + // ListPublicOperators returns all the operators in public registry. + rpc ListPublicOperators(ListPublicOperatorsRequest) + returns (ListPublicOperatorsResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*}:listPublicOperators" + }; + option (google.api.method_signature) = "parent"; + } + + // ResolveOperatorInfo returns the operator information based on the request. + rpc ResolveOperatorInfo(ResolveOperatorInfoRequest) + returns (ResolveOperatorInfoResponse) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*}:resolveOperatorInfo" + body: "*" + }; + option (google.api.method_signature) = "parent,queries"; + } + + // Lists Operators in a given project and location. + rpc ListOperators(ListOperatorsRequest) returns (ListOperatorsResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*}/operators" + }; + option (google.api.method_signature) = "parent"; + } + + // Gets details of a single Operator. + rpc GetOperator(GetOperatorRequest) returns (Operator) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*/operators/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Creates a new Operator in a given project and location. + rpc CreateOperator(CreateOperatorRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*}/operators" + body: "operator" + }; + option (google.api.method_signature) = "parent,operator,operator_id"; + option (google.longrunning.operation_info) = { + response_type: "Operator" + metadata_type: "OperationMetadata" + }; + } + + // Updates the parameters of a single Operator. + rpc UpdateOperator(UpdateOperatorRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + patch: "/v1/{operator.name=projects/*/locations/*/operators/*}" + body: "operator" + }; + option (google.api.method_signature) = "operator,update_mask"; + option (google.longrunning.operation_info) = { + response_type: "Operator" + metadata_type: "OperationMetadata" + }; + } + + // Deletes a single Operator. + rpc DeleteOperator(DeleteOperatorRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + delete: "/v1/{name=projects/*/locations/*/operators/*}" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "OperationMetadata" + }; + } // Lists Analyses in a given project and location. rpc ListAnalyses(ListAnalysesRequest) returns (ListAnalysesResponse) { @@ -55,7 +134,8 @@ service LiveVideoAnalytics { } // Creates a new Analysis in a given project and location. - rpc CreateAnalysis(CreateAnalysisRequest) returns (google.longrunning.Operation) { + rpc CreateAnalysis(CreateAnalysisRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*/clusters/*}/analyses" body: "analysis" @@ -68,7 +148,8 @@ service LiveVideoAnalytics { } // Updates the parameters of a single Analysis. - rpc UpdateAnalysis(UpdateAnalysisRequest) returns (google.longrunning.Operation) { + rpc UpdateAnalysis(UpdateAnalysisRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v1/{analysis.name=projects/*/locations/*/clusters/*/analyses/*}" body: "analysis" @@ -81,7 +162,8 @@ service LiveVideoAnalytics { } // Deletes a single Analysis. - rpc DeleteAnalysis(DeleteAnalysisRequest) returns (google.longrunning.Operation) { + rpc DeleteAnalysis(DeleteAnalysisRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/clusters/*/analyses/*}" }; @@ -91,6 +173,224 @@ service LiveVideoAnalytics { metadata_type: "OperationMetadata" }; } + + // Lists Processes in a given project and location. + rpc ListProcesses(ListProcessesRequest) returns (ListProcessesResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*/clusters/*}/processes" + }; + option (google.api.method_signature) = "parent"; + } + + // Gets details of a single Process. + rpc GetProcess(GetProcessRequest) returns (Process) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*/clusters/*/processes/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Creates a new Process in a given project and location. + rpc CreateProcess(CreateProcessRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*/clusters/*}/processes" + body: "process" + }; + option (google.api.method_signature) = "parent,process,process_id"; + option (google.longrunning.operation_info) = { + response_type: "Process" + metadata_type: "OperationMetadata" + }; + } + + // Updates the parameters of a single Process. + rpc UpdateProcess(UpdateProcessRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + patch: "/v1/{process.name=projects/*/locations/*/clusters/*/processes/*}" + body: "process" + }; + option (google.api.method_signature) = "process,update_mask"; + option (google.longrunning.operation_info) = { + response_type: "Process" + metadata_type: "OperationMetadata" + }; + } + + // Deletes a single Process. + rpc DeleteProcess(DeleteProcessRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + delete: "/v1/{name=projects/*/locations/*/clusters/*/processes/*}" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "OperationMetadata" + }; + } + + // Run all of the processes to "completion". Max time for each process is + // the LRO time limit. + rpc BatchRunProcess(BatchRunProcessRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*/clusters/*}/processes:batchRun" + body: "*" + }; + option (google.api.method_signature) = "parent,requests"; + option (google.longrunning.operation_info) = { + response_type: "BatchRunProcessResponse" + metadata_type: "OperationMetadata" + }; + } +} + +// The enum of the types of the Registry. +enum Registry { + // Registry is unspecified. + REGISTRY_UNSPECIFIED = 0; + + // Public Registry containing the public Operators released by Google. + PUBLIC = 1; + + // Private Registry containing the local registered operators. + PRIVATE = 2; +} + +// Message for requesting list of Operators. +message ListOperatorsRequest { + // Required. Parent value for ListOperatorsRequest. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "locations.googleapis.com/Location" + } + ]; + + // Requested page size. Server may return fewer items than requested. + // If unspecified, server will pick an appropriate default. + int32 page_size = 2; + + // A token identifying a page of results the server should return. + string page_token = 3; + + // Filtering results. + string filter = 4; + + // Hint for how to order the results. + string order_by = 5; +} + +// Message for response to listing Operators. +message ListOperatorsResponse { + // The list of Operator + repeated Operator operators = 1; + + // A token identifying a page of results the server should return. + string next_page_token = 2; + + // Locations that could not be reached. + repeated string unreachable = 3; +} + +// Message for getting a Operator. +message GetOperatorRequest { + // Required. Name of the resource. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "visionai.googleapis.com/Operator" + } + ]; +} + +// Message for creating a Operator. +message CreateOperatorRequest { + // Required. Value for parent. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "locations.googleapis.com/Location" + } + ]; + + // Required. Id of the requesting object. + string operator_id = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The resource being created. + Operator operator = 3 [(google.api.field_behavior) = REQUIRED]; + + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes since the first request. + // + // For example, consider a situation where you make an initial request and the + // request times out. If you make the request again with the same request ID, + // the server can check if original operation with the same request ID was + // received, and if so, will ignore the second request. This prevents clients + // from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 4 [(google.api.field_behavior) = OPTIONAL]; +} + +// Message for updating a Operator. +message UpdateOperatorRequest { + // Required. Field mask is used to specify the fields to be overwritten in the + // Operator resource by the update. + // The fields specified in the update_mask are relative to the resource, not + // the full request. A field will be overwritten if it is in the mask. If the + // user does not provide a mask then all fields will be overwritten. + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = REQUIRED]; + + // Required. The resource being updated + Operator operator = 2 [(google.api.field_behavior) = REQUIRED]; + + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes since the first request. + // + // For example, consider a situation where you make an initial request and the + // request times out. If you make the request again with the same request ID, + // the server can check if original operation with the same request ID was + // received, and if so, will ignore the second request. This prevents clients + // from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// Message for deleting a Operator +message DeleteOperatorRequest { + // Required. Name of the resource + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "visionai.googleapis.com/Operator" + } + ]; + + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes after the first request. + // + // For example, consider a situation where you make an initial request and the + // request times out. If you make the request again with the same request ID, + // the server can check if original operation with the same request ID was + // received, and if so, will ignore the second request. This prevents clients + // from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 2 [(google.api.field_behavior) = OPTIONAL]; } // Message for requesting list of Analyses @@ -156,10 +456,10 @@ message CreateAnalysisRequest { // Required. The resource being created. Analysis analysis = 3 [(google.api.field_behavior) = REQUIRED]; - // Optional. An optional request ID to identify requests. Specify a unique request ID - // so that if you must retry your request, the server will know to ignore - // the request if it has already been completed. The server will guarantee - // that for at least 60 minutes since the first request. + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes since the first request. // // For example, consider a situation where you make an initial request and the // request times out. If you make the request again with the same request ID, @@ -179,15 +479,16 @@ message UpdateAnalysisRequest { // The fields specified in the update_mask are relative to the resource, not // the full request. A field will be overwritten if it is in the mask. If the // user does not provide a mask then all fields will be overwritten. - google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = REQUIRED]; + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = REQUIRED]; // Required. The resource being updated. Analysis analysis = 2 [(google.api.field_behavior) = REQUIRED]; - // Optional. An optional request ID to identify requests. Specify a unique request ID - // so that if you must retry your request, the server will know to ignore - // the request if it has already been completed. The server will guarantee - // that for at least 60 minutes since the first request. + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes since the first request. // // For example, consider a situation where you make an initial request and the // request times out. If you make the request again with the same request ID, @@ -210,10 +511,144 @@ message DeleteAnalysisRequest { } ]; - // Optional. An optional request ID to identify requests. Specify a unique request ID - // so that if you must retry your request, the server will know to ignore - // the request if it has already been completed. The server will guarantee - // that for at least 60 minutes after the first request. + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes after the first request. + // + // For example, consider a situation where you make an initial request and the + // request times out. If you make the request again with the same request ID, + // the server can check if original operation with the same request ID was + // received, and if so, will ignore the second request. This prevents clients + // from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 2 [(google.api.field_behavior) = OPTIONAL]; +} + +// Message for requesting list of Processes. +message ListProcessesRequest { + // Required. Parent value for ListProcessesRequest. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "visionai.googleapis.com/Cluster" + } + ]; + + // Requested page size. Server may return fewer items than requested. + // If unspecified, server will pick an appropriate default. + int32 page_size = 2; + + // A token identifying a page of results the server should return. + string page_token = 3; + + // Filtering results + string filter = 4; + + // Hint for how to order the results + string order_by = 5; +} + +// Message for response to listing Processes. +message ListProcessesResponse { + // The list of Processes. + repeated Process processes = 1; + + // A token identifying a page of results the server should return. + string next_page_token = 2; + + // Locations that could not be reached. + repeated string unreachable = 3; +} + +// Message for getting a Process. +message GetProcessRequest { + // Required. Name of the resource. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "visionai.googleapis.com/Process" + } + ]; +} + +// Message for creating a Process. +message CreateProcessRequest { + // Required. Value for parent. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "visionai.googleapis.com/Cluster" + } + ]; + + // Required. Id of the requesting object. + string process_id = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The resource being created. + Process process = 3 [(google.api.field_behavior) = REQUIRED]; + + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes since the first request. + // + // For example, consider a situation where you make an initial request and the + // request times out. If you make the request again with the same request ID, + // the server can check if original operation with the same request ID was + // received, and if so, will ignore the second request. This prevents clients + // from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 4 [(google.api.field_behavior) = OPTIONAL]; +} + +// Message for updating a Process. +message UpdateProcessRequest { + // Required. Field mask is used to specify the fields to be overwritten in the + // Process resource by the update. + // The fields specified in the update_mask are relative to the resource, not + // the full request. A field will be overwritten if it is in the mask. If the + // user does not provide a mask then all fields will be overwritten. + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = REQUIRED]; + + // Required. The resource being updated. + Process process = 2 [(google.api.field_behavior) = REQUIRED]; + + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes since the first request. + // + // For example, consider a situation where you make an initial request and the + // request times out. If you make the request again with the same request ID, + // the server can check if original operation with the same request ID was + // received, and if so, will ignore the second request. This prevents clients + // from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// Message for deleting a Process. +message DeleteProcessRequest { + // Required. Name of the resource. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "visionai.googleapis.com/Process" + } + ]; + + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes after the first request. // // For example, consider a situation where you make an initial request and the // request times out. If you make the request again with the same request ID, @@ -225,3 +660,107 @@ message DeleteAnalysisRequest { // not supported (00000000-0000-0000-0000-000000000000). string request_id = 2 [(google.api.field_behavior) = OPTIONAL]; } + +// Request message for running the processes in a batch. +message BatchRunProcessRequest { + // Options for batch processes. + message BatchRunProcessOptions { + // The retry counts per process. Default: 3. + int32 retry_count = 1; + + // The batch size. Default: 5, maximum: 100. + int32 batch_size = 2; + } + + // Required. The parent resource shared by all processes being created. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "visionai.googleapis.com/Cluster" + } + ]; + + // Required. The create process requests. + repeated CreateProcessRequest requests = 2 + [(google.api.field_behavior) = REQUIRED]; + + // Optional. Options for batch processes. + BatchRunProcessOptions options = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Output only. The batch ID. + string batch_id = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// Response message for running the processes in a batch. +message BatchRunProcessResponse { + // The batch ID. + string batch_id = 1; + + // Processes created. + repeated Process processes = 2; +} + +// Request message for querying operator info. +message ResolveOperatorInfoRequest { + // Required. Parent value for ResolveOperatorInfoRequest. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "locations.googleapis.com/Location" + } + ]; + + // Required. The operator queries. + repeated OperatorQuery queries = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// OperatorQuery represents one query to a Operator. +message OperatorQuery { + // Required. The canonical Name of the operator. e.g. OccupancyCounting. + string operator = 1 [(google.api.field_behavior) = REQUIRED]; + + // Optional. Tag of the operator. + string tag = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Registry of the operator. + Registry registry = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// Response message of ResolveOperatorInfo API. +message ResolveOperatorInfoResponse { + // Operators with detailed information. + repeated Operator operators = 1; +} + +// Request message of ListPublicOperatorsRequest API. +message ListPublicOperatorsRequest { + // Required. Parent value for ListPublicOperatorsRequest. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "locations.googleapis.com/Location" + } + ]; + + // Requested page size. Server may return fewer items than requested. + // If unspecified, server will pick an appropriate default. + int32 page_size = 2; + + // A token identifying a page of results the server should return. + string page_token = 3; + + // Filtering results. + string filter = 4; + + // Hint for how to order the results. + string order_by = 5; +} + +// Response message of ListPublicOperators API. +message ListPublicOperatorsResponse { + // The list of Operator + repeated Operator operators = 1; + + // A token identifying a page of results the server should return. + string next_page_token = 2; +} diff --git a/third_party/googleapis/google/cloud/visionai/v1/platform.proto b/third_party/googleapis/google/cloud/visionai/v1/platform.proto index dde24ab0b..de6f5e142 100644 --- a/third_party/googleapis/google/cloud/visionai/v1/platform.proto +++ b/third_party/googleapis/google/cloud/visionai/v1/platform.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -24,7 +24,9 @@ import "google/cloud/visionai/v1/annotations.proto"; import "google/cloud/visionai/v1/common.proto"; import "google/longrunning/operations.proto"; import "google/protobuf/duration.proto"; +import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; +import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.VisionAI.V1"; @@ -38,10 +40,12 @@ option ruby_package = "Google::Cloud::VisionAI::V1"; // Service describing handlers for resources service AppPlatform { option (google.api.default_host) = "visionai.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Lists Applications in a given project and location. - rpc ListApplications(ListApplicationsRequest) returns (ListApplicationsResponse) { + rpc ListApplications(ListApplicationsRequest) + returns (ListApplicationsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/applications" }; @@ -57,7 +61,8 @@ service AppPlatform { } // Creates a new Application in a given project and location. - rpc CreateApplication(CreateApplicationRequest) returns (google.longrunning.Operation) { + rpc CreateApplication(CreateApplicationRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/applications" body: "application" @@ -70,7 +75,8 @@ service AppPlatform { } // Updates the parameters of a single Application. - rpc UpdateApplication(UpdateApplicationRequest) returns (google.longrunning.Operation) { + rpc UpdateApplication(UpdateApplicationRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v1/{application.name=projects/*/locations/*/applications/*}" body: "application" @@ -83,7 +89,8 @@ service AppPlatform { } // Deletes a single Application. - rpc DeleteApplication(DeleteApplicationRequest) returns (google.longrunning.Operation) { + rpc DeleteApplication(DeleteApplicationRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/applications/*}" }; @@ -95,7 +102,8 @@ service AppPlatform { } // Deploys a single Application. - rpc DeployApplication(DeployApplicationRequest) returns (google.longrunning.Operation) { + rpc DeployApplication(DeployApplicationRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/applications/*}:deploy" body: "*" @@ -108,7 +116,8 @@ service AppPlatform { } // Undeploys a single Application. - rpc UndeployApplication(UndeployApplicationRequest) returns (google.longrunning.Operation) { + rpc UndeployApplication(UndeployApplicationRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/applications/*}:undeploy" body: "*" @@ -124,7 +133,8 @@ service AppPlatform { // If the Application is deployed, the corresponding new Application instance // will be created. If the stream has already been in the Application, the RPC // will fail. - rpc AddApplicationStreamInput(AddApplicationStreamInputRequest) returns (google.longrunning.Operation) { + rpc AddApplicationStreamInput(AddApplicationStreamInputRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/applications/*}:addStreamInput" body: "*" @@ -139,7 +149,8 @@ service AppPlatform { // Remove target stream input to the Application, if the Application is // deployed, the corresponding instance based will be deleted. If the stream // is not in the Application, the RPC will fail. - rpc RemoveApplicationStreamInput(RemoveApplicationStreamInputRequest) returns (google.longrunning.Operation) { + rpc RemoveApplicationStreamInput(RemoveApplicationStreamInputRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/applications/*}:removeStreamInput" body: "*" @@ -154,7 +165,8 @@ service AppPlatform { // Update target stream input to the Application, if the Application is // deployed, the corresponding instance based will be deployed. For // CreateOrUpdate behavior, set allow_missing to true. - rpc UpdateApplicationStreamInput(UpdateApplicationStreamInputRequest) returns (google.longrunning.Operation) { + rpc UpdateApplicationStreamInput(UpdateApplicationStreamInputRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/applications/*}:updateStreamInput" body: "*" @@ -186,7 +198,8 @@ service AppPlatform { // If the Application is deployed, the corresponding new Application instance // will be created. If the stream has already been in the Application, the RPC // will fail. - rpc CreateApplicationInstances(CreateApplicationInstancesRequest) returns (google.longrunning.Operation) { + rpc CreateApplicationInstances(CreateApplicationInstancesRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/applications/*}:createApplicationInstances" body: "*" @@ -201,7 +214,8 @@ service AppPlatform { // Remove target stream input to the Application, if the Application is // deployed, the corresponding instance based will be deleted. If the stream // is not in the Application, the RPC will fail. - rpc DeleteApplicationInstances(DeleteApplicationInstancesRequest) returns (google.longrunning.Operation) { + rpc DeleteApplicationInstances(DeleteApplicationInstancesRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/applications/*}:deleteApplicationInstances" body: "*" @@ -217,7 +231,8 @@ service AppPlatform { // If the Application is deployed, the corresponding new Application instance // will be created. If the stream has already been in the Application, the RPC // will fail. - rpc UpdateApplicationInstances(UpdateApplicationInstancesRequest) returns (google.longrunning.Operation) { + rpc UpdateApplicationInstances(UpdateApplicationInstancesRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/applications/*}:updateApplicationInstances" body: "*" @@ -293,7 +308,8 @@ service AppPlatform { // ListPrebuiltProcessors is a custom pass-through verb that Lists Prebuilt // Processors. - rpc ListPrebuiltProcessors(ListPrebuiltProcessorsRequest) returns (ListPrebuiltProcessorsResponse) { + rpc ListPrebuiltProcessors(ListPrebuiltProcessorsRequest) + returns (ListPrebuiltProcessorsResponse) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/processors:prebuilt" body: "*" @@ -310,7 +326,8 @@ service AppPlatform { } // Creates a new Processor in a given project and location. - rpc CreateProcessor(CreateProcessorRequest) returns (google.longrunning.Operation) { + rpc CreateProcessor(CreateProcessorRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/processors" body: "processor" @@ -323,7 +340,8 @@ service AppPlatform { } // Updates the parameters of a single Processor. - rpc UpdateProcessor(UpdateProcessorRequest) returns (google.longrunning.Operation) { + rpc UpdateProcessor(UpdateProcessorRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v1/{processor.name=projects/*/locations/*/processors/*}" body: "processor" @@ -336,7 +354,8 @@ service AppPlatform { } // Deletes a single Processor. - rpc DeleteProcessor(DeleteProcessorRequest) returns (google.longrunning.Operation) { + rpc DeleteProcessor(DeleteProcessorRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/processors/*}" }; @@ -376,6 +395,15 @@ enum ModelType { // Model Type Vertex Custom. VERTEX_CUSTOM = 8; + + // Model Type Product Recognizer. + PRODUCT_RECOGNIZER = 9; + + // Model Type Tag Recognizer. + TAG_RECOGNIZER = 10; + + // Model Type SynthID. + SYNTH_ID = 15; } // Represents a hardware accelerator type. @@ -408,20 +436,34 @@ enum AcceleratorType { TPU_V3 = 7; } -// Message for DeleteApplicationInstance Response. -message DeleteApplicationInstancesResponse { +// All supported data types. +enum DataType { + // The default value of DataType. + DATA_TYPE_UNSPECIFIED = 0; -} + // Video data type like H264. + VIDEO = 1; -// Message for CreateApplicationInstance Response. -message CreateApplicationInstancesResponse { + // Image data type. + IMAGE = 3; + + // Protobuf data type, usually used for general data blob. + PROTO = 2; + // A placeholder data type, applicable for the universal input processor which + // supports any data type. This will be instantiated and replaced by a + // concrete underlying `DataType` during instance deployment. + PLACEHOLDER = 4; } -// Message for UpdateApplicationInstances Response. -message UpdateApplicationInstancesResponse { +// Message for DeleteApplicationInstance Response. +message DeleteApplicationInstancesResponse {} -} +// Message for CreateApplicationInstance Response. +message CreateApplicationInstancesResponse {} + +// Message for UpdateApplicationInstances Response. +message UpdateApplicationInstancesResponse {} // Message for adding stream input to an Application. message CreateApplicationInstancesRequest { @@ -436,15 +478,16 @@ message CreateApplicationInstancesRequest { ]; // Required. The resources being created. - repeated ApplicationInstance application_instances = 2 [(google.api.field_behavior) = REQUIRED]; + repeated ApplicationInstance application_instances = 2 + [(google.api.field_behavior) = REQUIRED]; - // Optional. An optional request ID to identify requests. Specify a unique request ID - // so that if you must retry your request, the server will know to ignore - // the request if it has already been completed. The server will guarantee - // that for at least 60 minutes since the first request. + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes since the first request. // - // For example, consider a situation where you make an initial request and t - // he request times out. If you make the request again with the same request + // For example, consider a situation where you make an initial request and + // the request times out. If you make the request again with the same request // ID, the server can check if original operation with the same request ID // was received, and if so, will ignore the second request. This prevents // clients from accidentally creating duplicate commitments. @@ -474,13 +517,13 @@ message DeleteApplicationInstancesRequest { } ]; - // Optional. An optional request ID to identify requests. Specify a unique request ID - // so that if you must retry your request, the server will know to ignore - // the request if it has already been completed. The server will guarantee - // that for at least 60 minutes since the first request. + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes since the first request. // - // For example, consider a situation where you make an initial request and t - // he request times out. If you make the request again with the same request + // For example, consider a situation where you make an initial request and + // the request times out. If you make the request again with the same request // ID, the server can check if original operation with the same request ID // was received, and if so, will ignore the second request. This prevents // clients from accidentally creating duplicate commitments. @@ -492,29 +535,19 @@ message DeleteApplicationInstancesRequest { // RPC Request Messages. // Message for DeployApplication Response. -message DeployApplicationResponse { - -} +message DeployApplicationResponse {} // Message for UndeployApplication Response. -message UndeployApplicationResponse { - -} +message UndeployApplicationResponse {} // Message for RemoveApplicationStreamInput Response. -message RemoveApplicationStreamInputResponse { - -} +message RemoveApplicationStreamInputResponse {} // Message for AddApplicationStreamInput Response. -message AddApplicationStreamInputResponse { - -} +message AddApplicationStreamInputResponse {} // Message for AddApplicationStreamInput Response. -message UpdateApplicationStreamInputResponse { - -} +message UpdateApplicationStreamInputResponse {} // Message for requesting list of Applications. message ListApplicationsRequest { @@ -579,13 +612,13 @@ message CreateApplicationRequest { // Required. The resource being created. Application application = 3 [(google.api.field_behavior) = REQUIRED]; - // Optional. An optional request ID to identify requests. Specify a unique request ID - // so that if you must retry your request, the server will know to ignore - // the request if it has already been completed. The server will guarantee - // that for at least 60 minutes since the first request. + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes since the first request. // - // For example, consider a situation where you make an initial request and t - // he request times out. If you make the request again with the same request + // For example, consider a situation where you make an initial request and + // the request times out. If you make the request again with the same request // ID, the server can check if original operation with the same request ID // was received, and if so, will ignore the second request. This prevents // clients from accidentally creating duplicate commitments. @@ -602,18 +635,19 @@ message UpdateApplicationRequest { // The fields specified in the update_mask are relative to the resource, not // the full request. A field will be overwritten if it is in the mask. If the // user does not provide a mask then all fields will be overwritten. - google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = OPTIONAL]; // Required. The resource being updated. Application application = 2 [(google.api.field_behavior) = REQUIRED]; - // Optional. An optional request ID to identify requests. Specify a unique request ID - // so that if you must retry your request, the server will know to ignore - // the request if it has already been completed. The server will guarantee - // that for at least 60 minutes since the first request. + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes since the first request. // - // For example, consider a situation where you make an initial request and t - // he request times out. If you make the request again with the same request + // For example, consider a situation where you make an initial request and + // the request times out. If you make the request again with the same request // ID, the server can check if original operation with the same request ID // was received, and if so, will ignore the second request. This prevents // clients from accidentally creating duplicate commitments. @@ -633,13 +667,13 @@ message DeleteApplicationRequest { } ]; - // Optional. An optional request ID to identify requests. Specify a unique request ID - // so that if you must retry your request, the server will know to ignore - // the request if it has already been completed. The server will guarantee - // that for at least 60 minutes after the first request. + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes after the first request. // - // For example, consider a situation where you make an initial request and t - // he request times out. If you make the request again with the same request + // For example, consider a situation where you make an initial request and + // the request times out. If you make the request again with the same request // ID, the server can check if original operation with the same request ID // was received, and if so, will ignore the second request. This prevents // clients from accidentally creating duplicate commitments. @@ -648,9 +682,9 @@ message DeleteApplicationRequest { // not supported (00000000-0000-0000-0000-000000000000). string request_id = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. If set to true, any instances and drafts from this application will also be - // deleted. (Otherwise, the request will only work if the application has no - // instances and drafts.) + // Optional. If set to true, any instances and drafts from this application + // will also be deleted. (Otherwise, the request will only work if the + // application has no instances and drafts.) bool force = 3 [(google.api.field_behavior) = OPTIONAL]; } @@ -670,13 +704,13 @@ message DeployApplicationRequest { // actually deploy it. bool validate_only = 2; - // Optional. An optional request ID to identify requests. Specify a unique request ID - // so that if you must retry your request, the server will know to ignore - // the request if it has already been completed. The server will guarantee - // that for at least 60 minutes since the first request. + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes since the first request. // - // For example, consider a situation where you make an initial request and t - // he request times out. If you make the request again with the same request + // For example, consider a situation where you make an initial request and + // the request times out. If you make the request again with the same request // ID, the server can check if original operation with the same request ID // was received, and if so, will ignore the second request. This prevents // clients from accidentally creating duplicate commitments. @@ -685,7 +719,8 @@ message DeployApplicationRequest { // not supported (00000000-0000-0000-0000-000000000000). string request_id = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Whether or not to enable monitoring for the application on deployment. + // Optional. Whether or not to enable monitoring for the application on + // deployment. bool enable_monitoring = 4 [(google.api.field_behavior) = OPTIONAL]; } @@ -701,13 +736,13 @@ message UndeployApplicationRequest { } ]; - // Optional. An optional request ID to identify requests. Specify a unique request ID - // so that if you must retry your request, the server will know to ignore - // the request if it has already been completed. The server will guarantee - // that for at least 60 minutes since the first request. + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes since the first request. // - // For example, consider a situation where you make an initial request and t - // he request times out. If you make the request again with the same request + // For example, consider a situation where you make an initial request and + // the request times out. If you make the request again with the same request // ID, the server can check if original operation with the same request ID // was received, and if so, will ignore the second request. This prevents // clients from accidentally creating duplicate commitments. @@ -738,13 +773,13 @@ message AddApplicationStreamInputRequest { // StreamInput, and it must be unique within each application. repeated ApplicationStreamInput application_stream_inputs = 2; - // Optional. An optional request ID to identify requests. Specify a unique request ID - // so that if you must retry your request, the server will know to ignore - // the request if it has already been completed. The server will guarantee - // that for at least 60 minutes since the first request. + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes since the first request. // - // For example, consider a situation where you make an initial request and t - // he request times out. If you make the request again with the same request + // For example, consider a situation where you make an initial request and + // the request times out. If you make the request again with the same request // ID, the server can check if original operation with the same request ID // was received, and if so, will ignore the second request. This prevents // clients from accidentally creating duplicate commitments. @@ -770,13 +805,13 @@ message UpdateApplicationStreamInputRequest { // StreamInput, and it must be unique within each application. repeated ApplicationStreamInput application_stream_inputs = 2; - // Optional. An optional request ID to identify requests. Specify a unique request ID - // so that if you must retry your request, the server will know to ignore - // the request if it has already been completed. The server will guarantee - // that for at least 60 minutes since the first request. + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes since the first request. // - // For example, consider a situation where you make an initial request and t - // he request times out. If you make the request again with the same request + // For example, consider a situation where you make an initial request and + // the request times out. If you make the request again with the same request // ID, the server can check if original operation with the same request ID // was received, and if so, will ignore the second request. This prevents // clients from accidentally creating duplicate commitments. @@ -795,8 +830,8 @@ message RemoveApplicationStreamInputRequest { // Message about target streamInput to remove. message TargetStreamInput { string stream = 1 [(google.api.resource_reference) = { - type: "visionai.googleapis.com/Stream" - }]; + type: "visionai.googleapis.com/Stream" + }]; } // Required. the name of the application to retrieve. @@ -812,13 +847,13 @@ message RemoveApplicationStreamInputRequest { // The target stream to remove. repeated TargetStreamInput target_stream_inputs = 2; - // Optional. An optional request ID to identify requests. Specify a unique request ID - // so that if you must retry your request, the server will know to ignore - // the request if it has already been completed. The server will guarantee - // that for at least 60 minutes since the first request. + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes since the first request. // - // For example, consider a situation where you make an initial request and t - // he request times out. If you make the request again with the same request + // For example, consider a situation where you make an initial request and + // the request times out. If you make the request again with the same request // ID, the server can check if original operation with the same request ID // was received, and if so, will ignore the second request. This prevents // clients from accidentally creating duplicate commitments. @@ -916,9 +951,7 @@ message GetDraftRequest { // Required. Name of the resource. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "visionai.googleapis.com/Draft" - } + (google.api.resource_reference) = { type: "visionai.googleapis.com/Draft" } ]; } @@ -938,13 +971,13 @@ message CreateDraftRequest { // Required. The resource being created. Draft draft = 3 [(google.api.field_behavior) = REQUIRED]; - // Optional. An optional request ID to identify requests. Specify a unique request ID - // so that if you must retry your request, the server will know to ignore - // the request if it has already been completed. The server will guarantee - // that for at least 60 minutes since the first request. + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes since the first request. // - // For example, consider a situation where you make an initial request and t - // he request times out. If you make the request again with the same request + // For example, consider a situation where you make an initial request and + // the request times out. If you make the request again with the same request // ID, the server can check if original operation with the same request ID // was received, and if so, will ignore the second request. This prevents // clients from accidentally creating duplicate commitments. @@ -954,25 +987,26 @@ message CreateDraftRequest { string request_id = 4 [(google.api.field_behavior) = OPTIONAL]; } -// Message for updating an Draft. +// Message for updating a Draft. message UpdateDraftRequest { // Optional. Field mask is used to specify the fields to be overwritten in the // Draft resource by the update. // The fields specified in the update_mask are relative to the resource, not // the full request. A field will be overwritten if it is in the mask. If the // user does not provide a mask then all fields will be overwritten. - google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = OPTIONAL]; // Required. The resource being updated. Draft draft = 2 [(google.api.field_behavior) = REQUIRED]; - // Optional. An optional request ID to identify requests. Specify a unique request ID - // so that if you must retry your request, the server will know to ignore - // the request if it has already been completed. The server will guarantee - // that for at least 60 minutes since the first request. + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes since the first request. // - // For example, consider a situation where you make an initial request and t - // he request times out. If you make the request again with the same request + // For example, consider a situation where you make an initial request and + // the request times out. If you make the request again with the same request // ID, the server can check if original operation with the same request ID // was received, and if so, will ignore the second request. This prevents // clients from accidentally creating duplicate commitments. @@ -989,12 +1023,13 @@ message UpdateDraftRequest { // Message for updating an ApplicationInstance. message UpdateApplicationInstancesRequest { message UpdateApplicationInstance { - // Optional. Field mask is used to specify the fields to be overwritten in the - // Draft resource by the update. - // The fields specified in the update_mask are relative to the resource, not - // the full request. A field will be overwritten if it is in the mask. If - // the user does not provide a mask then all fields will be overwritten. - google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Field mask is used to specify the fields to be overwritten in + // the Draft resource by the update. The fields specified in the update_mask + // are relative to the resource, not the full request. A field will be + // overwritten if it is in the mask. If the user does not provide a mask + // then all fields will be overwritten. + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = OPTIONAL]; // Required. The resource being updated. Instance instance = 2 [(google.api.field_behavior) = REQUIRED]; @@ -1015,13 +1050,13 @@ message UpdateApplicationInstancesRequest { repeated UpdateApplicationInstance application_instances = 2; - // Optional. An optional request ID to identify requests. Specify a unique request ID - // so that if you must retry your request, the server will know to ignore - // the request if it has already been completed. The server will guarantee - // that for at least 60 minutes since the first request. + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes since the first request. // - // For example, consider a situation where you make an initial request and t - // he request times out. If you make the request again with the same request + // For example, consider a situation where you make an initial request and + // the request times out. If you make the request again with the same request // ID, the server can check if original operation with the same request ID // was received, and if so, will ignore the second request. This prevents // clients from accidentally creating duplicate commitments. @@ -1035,23 +1070,21 @@ message UpdateApplicationInstancesRequest { bool allow_missing = 4; } -// Message for deleting an Draft. +// Message for deleting a Draft. message DeleteDraftRequest { // Required. Name of the resource. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "visionai.googleapis.com/Draft" - } + (google.api.resource_reference) = { type: "visionai.googleapis.com/Draft" } ]; - // Optional. An optional request ID to identify requests. Specify a unique request ID - // so that if you must retry your request, the server will know to ignore - // the request if it has already been completed. The server will guarantee - // that for at least 60 minutes after the first request. + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes after the first request. // - // For example, consider a situation where you make an initial request and t - // he request times out. If you make the request again with the same request + // For example, consider a situation where you make an initial request and + // the request times out. If you make the request again with the same request // ID, the server can check if original operation with the same request ID // was received, and if so, will ignore the second request. This prevents // clients from accidentally creating duplicate commitments. @@ -1141,13 +1174,13 @@ message CreateProcessorRequest { // Required. The resource being created. Processor processor = 3 [(google.api.field_behavior) = REQUIRED]; - // Optional. An optional request ID to identify requests. Specify a unique request ID - // so that if you must retry your request, the server will know to ignore - // the request if it has already been completed. The server will guarantee - // that for at least 60 minutes since the first request. + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes since the first request. // - // For example, consider a situation where you make an initial request and t - // he request times out. If you make the request again with the same request + // For example, consider a situation where you make an initial request and + // the request times out. If you make the request again with the same request // ID, the server can check if original operation with the same request ID // was received, and if so, will ignore the second request. This prevents // clients from accidentally creating duplicate commitments. @@ -1164,18 +1197,19 @@ message UpdateProcessorRequest { // The fields specified in the update_mask are relative to the resource, not // the full request. A field will be overwritten if it is in the mask. If the // user does not provide a mask then all fields will be overwritten. - google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = OPTIONAL]; // Required. The resource being updated. Processor processor = 2 [(google.api.field_behavior) = REQUIRED]; - // Optional. An optional request ID to identify requests. Specify a unique request ID - // so that if you must retry your request, the server will know to ignore - // the request if it has already been completed. The server will guarantee - // that for at least 60 minutes since the first request. + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes since the first request. // - // For example, consider a situation where you make an initial request and t - // he request times out. If you make the request again with the same request + // For example, consider a situation where you make an initial request and + // the request times out. If you make the request again with the same request // ID, the server can check if original operation with the same request ID // was received, and if so, will ignore the second request. This prevents // clients from accidentally creating duplicate commitments. @@ -1195,13 +1229,13 @@ message DeleteProcessorRequest { } ]; - // Optional. An optional request ID to identify requests. Specify a unique request ID - // so that if you must retry your request, the server will know to ignore - // the request if it has already been completed. The server will guarantee - // that for at least 60 minutes after the first request. + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes after the first request. // - // For example, consider a situation where you make an initial request and t - // he request times out. If you make the request again with the same request + // For example, consider a situation where you make an initial request and + // the request times out. If you make the request again with the same request // ID, the server can check if original operation with the same request ID // was received, and if so, will ignore the second request. This prevents // clients from accidentally creating duplicate commitments. @@ -1291,14 +1325,28 @@ message Application { FIXING = 10; } + // Billing mode of the Application + enum BillingMode { + // The default value. + BILLING_MODE_UNSPECIFIED = 0; + + // Pay as you go billing mode. + PAYG = 1; + + // Monthly billing mode. + MONTHLY = 2; + } + // name of resource string name = 1; // Output only. [Output only] Create timestamp - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. [Output only] Update timestamp - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Labels as key value pairs map labels = 4; @@ -1312,12 +1360,16 @@ message Application { // Application graph configuration. ApplicationConfigs application_configs = 7; - // Output only. Application graph runtime info. Only exists when application state equals - // to DEPLOYED. - ApplicationRuntimeInfo runtime_info = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. Application graph runtime info. Only exists when application + // state equals to DEPLOYED. + ApplicationRuntimeInfo runtime_info = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. State of the application. State state = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Billing mode of the application. + BillingMode billing_mode = 12; } // Message storing the graph of the application. @@ -1411,10 +1463,12 @@ message Draft { string name = 1; // Output only. [Output only] Create timestamp - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. [Output only] Create timestamp - google.protobuf.Timestamp update_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Labels as key value pairs map labels = 3; @@ -1430,6 +1484,7 @@ message Draft { } // Message describing Instance object +// Next ID: 12 message Instance { option (google.api.resource) = { type: "visionai.googleapis.com/Instance" @@ -1442,6 +1497,11 @@ message Instance { // Required. Specify the input to the application instance. oneof input_resource_information { // The direct input resource name. + // If the instance type is STREAMING_PREDICTION, the input resource is in + // format of + // "projects/123/locations/us-central1/clusters/456/streams/stream-a". + // If the instance type is BATCH_PREDICTION from Cloud Storage input + // container, the input resource is in format of "gs://bucket-a". string input_resource = 1; // If the input resource is VisionAI Stream, the associated annotations @@ -1449,6 +1509,9 @@ message Instance { StreamWithAnnotation annotated_stream = 4 [deprecated = true]; } + // Data type for the current input resource. + DataType data_type = 6; + // The name of graph node who receives the input resource. // For example: // input_resource: @@ -1480,17 +1543,33 @@ message Instance { // OutputResource. string output_resource_binding = 4; - // Output only. Whether the output resource is temporary which means the resource is - // generated during the deployment of the application. - // Temporary resource will be deleted during the undeployment of the - // application. + // Output only. Whether the output resource is temporary which means the + // resource is generated during the deployment of the application. Temporary + // resource will be deleted during the undeployment of the application. bool is_temporary = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Whether the output resource is created automatically by the Vision AI App - // Platform. + // Output only. Whether the output resource is created automatically by the + // Vision AI App Platform. bool autogen = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; } + // All the supported instance types. + enum InstanceType { + // Unspecified instance type. + // If the instance type is not specified, the default one is + // STREAMING_PREDICTION. + INSTANCE_TYPE_UNSPECIFIED = 0; + + // Instance type for streaming prediction. + STREAMING_PREDICTION = 1; + + // Instance type for batch prediction. + BATCH_PREDICTION = 2; + + // Instance type for online prediction. + ONLINE_PREDICTION = 3; + } + // State of the Instance enum State { // The default value. This value is used if the state is omitted. @@ -1525,16 +1604,21 @@ message Instance { // State Fixing. FIXING = 10; + + // State Finished. + FINISHED = 11; } // Output only. name of resource string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. [Output only] Create timestamp - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. [Output only] Update timestamp - google.protobuf.Timestamp update_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Labels as key value pairs map labels = 3; @@ -1542,9 +1626,12 @@ message Instance { // Required. A user friendly display name for the solution. string display_name = 4 [(google.api.field_behavior) = REQUIRED]; - // A description for this application. + // A description for this instance. string description = 5; + // The instance type for the current instance. + InstanceType instance_type = 10; + // The input resources for the current application instance. // For example: // input_resources: @@ -1568,7 +1655,7 @@ message ApplicationInstance { } // Message describing Processor object. -// Next ID: 18 +// Next ID: 19 message Processor { option (google.api.resource) = { type: "visionai.googleapis.com/Processor" @@ -1622,10 +1709,12 @@ message Processor { string name = 1; // Output only. [Output only] Create timestamp. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. [Output only] Update timestamp. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Labels as key value pairs. map labels = 4; @@ -1648,19 +1737,25 @@ message Processor { // Output only. State of the Processor. ProcessorState state = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. [Output only] The input / output specifications of a processor, each type - // of processor has fixed input / output specs which cannot be altered by - // customer. - ProcessorIOSpec processor_io_spec = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. [Output only] The input / output specifications of a + // processor, each type of processor has fixed input / output specs which + // cannot be altered by customer. + ProcessorIOSpec processor_io_spec = 11 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The corresponding configuration can be used in the Application to customize - // the behavior of the processor. + // Output only. The corresponding configuration can be used in the Application + // to customize the behavior of the processor. string configuration_typeurl = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; - repeated StreamAnnotationType supported_annotation_types = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated StreamAnnotationType supported_annotation_types = 15 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Indicates if the processor supports post processing. bool supports_post_processing = 17; + + // Which instance types this processor supports; if empty, this default to + // STREAMING_PREDICTION. + repeated Instance.InstanceType supported_instance_types = 18; } // Message describing the input / output specifications of a processor. @@ -1733,18 +1828,6 @@ message ProcessorIOSpec { bool explicit = 3; } - // High level data types supported by the processor. - enum DataType { - // The default value of DataType. - DATA_TYPE_UNSPECIFIED = 0; - - // Video data type like H264. - VIDEO = 1; - - // Protobuf data type, usually used for general data blob. - PROTO = 2; - } - // For processors with input_channel_specs, the processor must be explicitly // connected to another processor. repeated GraphInputChannelSpec graph_input_channel_specs = 3; @@ -1753,17 +1836,32 @@ message ProcessorIOSpec { repeated GraphOutputChannelSpec graph_output_channel_specs = 4; // The input resource that needs to be fed from the application instance. - repeated InstanceResourceInputBindingSpec instance_resource_input_binding_specs = 5; + repeated InstanceResourceInputBindingSpec + instance_resource_input_binding_specs = 5; // The output resource that the processor will generate per instance. // Other than the explicitly listed output bindings here, all the processors' // GraphOutputChannels can be binded to stream resource. The bind name then is // the same as the GraphOutputChannel's name. - repeated InstanceResourceOutputBindingSpec instance_resource_output_binding_specs = 6; + repeated InstanceResourceOutputBindingSpec + instance_resource_output_binding_specs = 6; } // Describes the source info for a custom processor. message CustomProcessorSourceInfo { + // Message describes product recognizer artifact. + message ProductRecognizerArtifact { + // Required. Resource name of RetailProductRecognitionIndex. + // Format is + // 'projects/*/locations/*/retailCatalogs/*/retailProductRecognitionIndexes/*' + string retail_product_recognition_index = 1 + [(google.api.field_behavior) = REQUIRED]; + + // Optional. The resource name of embedding model hosted in Vertex AI + // Platform. + string vertex_model = 2 [(google.api.field_behavior) = OPTIONAL]; + } + // The schema is defined as an OpenAPI 3.0.2 [Schema // Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). message ModelSchema { @@ -1790,12 +1888,18 @@ message CustomProcessorSourceInfo { // Custom processors coming from general custom models from Vertex. VERTEX_CUSTOM = 2; + + // Source for Product Recognizer. + PRODUCT_RECOGNIZER = 3; } // The path where App Platform loads the artifacts for the custom processor. oneof artifact_path { // The resource name original model hosted in the vertex AI platform. string vertex_model = 2; + + // Artifact for product recognizer. + ProductRecognizerArtifact product_recognizer_artifact = 3; } // The original product which holds the custom processor's functionality. @@ -1803,7 +1907,8 @@ message CustomProcessorSourceInfo { // Output only. Additional info related to the imported custom processor. // Data is filled in by app platform during the processor creation. - map additional_info = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + map additional_info = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Model schema files which specifies the signature of the model. // For VERTEX_CUSTOM models, instances schema is required. @@ -1813,7 +1918,7 @@ message CustomProcessorSourceInfo { ModelSchema model_schema = 5; } -// Next ID: 24 +// Next ID: 35 message ProcessorConfig { oneof processor_config { // Configs of stream input processor. @@ -1849,9 +1954,26 @@ message ProcessorConfig { // Configs of BigQuery processor. BigQueryConfig big_query_config = 19; + // Configs of Cloud Storage output processor. + GcsOutputConfig gcs_output_config = 27; + + // Runtime configs of Product Recognizer processor. + ProductRecognizerConfig product_recognizer_config = 21; + // Configs of personal_protective_equipment_detection_config - PersonalProtectiveEquipmentDetectionConfig personal_protective_equipment_detection_config = 22; + PersonalProtectiveEquipmentDetectionConfig + personal_protective_equipment_detection_config = 22; + + // Runtime configs of Tag Recognizer processor. + TagRecognizerConfig tag_recognizer_config = 25; + + // Runtime configs of UniversalInput processor. + UniversalInputConfig universal_input_config = 28; } + + // Experimental configurations. Structured object containing not-yet-stable + // processor parameters. + google.protobuf.Struct experimental_config = 26; } // Message describing Vision AI stream with application specific annotations. @@ -1867,9 +1989,9 @@ message StreamWithAnnotation { } // Vision AI Stream resource name. - string stream = 1 [(google.api.resource_reference) = { - type: "visionai.googleapis.com/Stream" - }]; + string stream = 1 [ + (google.api.resource_reference) = { type: "visionai.googleapis.com/Stream" } + ]; // Annotations that will be applied to the whole application. repeated StreamAnnotation application_annotations = 2; @@ -1922,9 +2044,7 @@ message VideoStreamInputConfig { } // Message describing AI-enabled Devices Input Config. -message AIEnabledDevicesInputConfig { - -} +message AIEnabledDevicesInputConfig {} // Message describing MediaWarehouseConfig. message MediaWarehouseConfig { @@ -2003,9 +2123,7 @@ message PersonalProtectiveEquipmentDetectionConfig { } // Message of configurations for General Object Detection processor. -message GeneralObjectDetectionConfig { - -} +message GeneralObjectDetectionConfig {} // Message of configurations for BigQuery processor. message BigQueryConfig { @@ -2119,7 +2237,33 @@ message VertexCustomConfig { // 'processor': STRING; // } bool attach_application_metadata = 4; -} + + // Optional. By setting the configuration_input_topic, processor will + // subscribe to given topic, only pub/sub topic is supported now. Example + // channel: + // //pubsub.googleapis.com/projects/visionai-testing-stable/topics/test-topic + // message schema should be: + // message Message { + // // The ID of the stream that associates with the application instance. + // string stream_id = 1; + // // The target fps. By default, the custom processor will *not* send any + // data to the Vertex Prediction container. Note that once the + // dynamic_config_input_topic is set, max_prediction_fps will not work and be + // preceded by the fps set inside the topic. + // int32 fps = 2; + // } + optional string dynamic_config_input_topic = 6 + [(google.api.field_behavior) = OPTIONAL]; +} + +// Message describing GcsOutputConfig. +message GcsOutputConfig { + // The Cloud Storage path for Vision AI Platform to ingest annotations to. + string gcs_path = 1; +} + +// Message describing UniversalInputConfig. +message UniversalInputConfig {} // Specification of a single machine. message MachineSpec { @@ -2136,9 +2280,11 @@ message MachineSpec { // [WorkerPoolSpec][] this field is required. string machine_type = 1 [(google.api.field_behavior) = IMMUTABLE]; - // Immutable. The type of accelerator(s) that may be attached to the machine as per + // Immutable. The type of accelerator(s) that may be attached to the machine + // as per // [accelerator_count][google.cloud.visionai.v1.MachineSpec.accelerator_count]. - AcceleratorType accelerator_type = 2 [(google.api.field_behavior) = IMMUTABLE]; + AcceleratorType accelerator_type = 2 + [(google.api.field_behavior) = IMMUTABLE]; // The number of accelerators to attach to the machine. int32 accelerator_count = 3; @@ -2166,14 +2312,16 @@ message AutoscalingMetricSpec { // A description of resources that are dedicated to a DeployedModel, and // that need a higher degree of manual configuration. message DedicatedResources { - // Required. Immutable. The specification of a single machine used by the prediction. + // Required. Immutable. The specification of a single machine used by the + // prediction. MachineSpec machine_spec = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.field_behavior) = IMMUTABLE ]; - // Required. Immutable. The minimum number of machine replicas this DeployedModel will be always - // deployed on. This value must be greater than or equal to 1. + // Required. Immutable. The minimum number of machine replicas this + // DeployedModel will be always deployed on. This value must be greater than + // or equal to 1. // // If traffic against the DeployedModel increases, it may dynamically be // deployed onto more replicas, and as traffic decreases, some of these extra @@ -2183,14 +2331,15 @@ message DedicatedResources { (google.api.field_behavior) = IMMUTABLE ]; - // Immutable. The maximum number of replicas this DeployedModel may be deployed on when - // the traffic against it increases. If the requested value is too large, - // the deployment will error, but if deployment succeeds then the ability - // to scale the model to that many replicas is guaranteed (barring service - // outages). If traffic against the DeployedModel increases beyond what its - // replicas at maximum may handle, a portion of the traffic will be dropped. - // If this value is not provided, will use [min_replica_count][google.cloud.visionai.v1.DedicatedResources.min_replica_count] as the - // default value. + // Immutable. The maximum number of replicas this DeployedModel may be + // deployed on when the traffic against it increases. If the requested value + // is too large, the deployment will error, but if deployment succeeds then + // the ability to scale the model to that many replicas is guaranteed (barring + // service outages). If traffic against the DeployedModel increases beyond + // what its replicas at maximum may handle, a portion of the traffic will be + // dropped. If this value is not provided, will use + // [min_replica_count][google.cloud.visionai.v1.DedicatedResources.min_replica_count] + // as the default value. // // The value of this field impacts the charge against Vertex CPU and GPU // quotas. Specifically, you will be charged for max_replica_count * @@ -2203,20 +2352,78 @@ message DedicatedResources { // target value (default to 60 if not set). At most one entry is allowed per // metric. // - // If [machine_spec.accelerator_count][google.cloud.visionai.v1.MachineSpec.accelerator_count] is - // above 0, the autoscaling will be based on both CPU utilization and + // If + // [machine_spec.accelerator_count][google.cloud.visionai.v1.MachineSpec.accelerator_count] + // is above 0, the autoscaling will be based on both CPU utilization and // accelerator's duty cycle metrics and scale up when either metrics exceeds // its target value while scale down if both metrics are under their target // value. The default target value is 60 for both metrics. // - // If [machine_spec.accelerator_count][google.cloud.visionai.v1.MachineSpec.accelerator_count] is - // 0, the autoscaling will be based on CPU utilization metric only with + // If + // [machine_spec.accelerator_count][google.cloud.visionai.v1.MachineSpec.accelerator_count] + // is 0, the autoscaling will be based on CPU utilization metric only with // default target value 60 if not explicitly set. // // For example, in the case of Online Prediction, if you want to override // target CPU utilization to 80, you should set // [autoscaling_metric_specs.metric_name][google.cloud.visionai.v1.AutoscalingMetricSpec.metric_name] // to `aiplatform.googleapis.com/prediction/online/cpu/utilization` and - // [autoscaling_metric_specs.target][google.cloud.visionai.v1.AutoscalingMetricSpec.target] to `80`. - repeated AutoscalingMetricSpec autoscaling_metric_specs = 4 [(google.api.field_behavior) = IMMUTABLE]; + // [autoscaling_metric_specs.target][google.cloud.visionai.v1.AutoscalingMetricSpec.target] + // to `80`. + repeated AutoscalingMetricSpec autoscaling_metric_specs = 4 + [(google.api.field_behavior) = IMMUTABLE]; +} + +// Message describing ProductRecognizerConfig. +message ProductRecognizerConfig { + // The resource name of retail endpoint to use. + string retail_endpoint = 1; + + // Confidence threshold to filter detection results. If not set, a system + // default value will be used. + float recognition_confidence_threshold = 2; +} + +// Message describing TagRecognizerConfig. +message TagRecognizerConfig { + // Confidence threshold to filter detection results. If not set, a system + // default value will be used. + float entity_detection_confidence_threshold = 1; + + // Configuration to customize how tags are parsed. + TagParsingConfig tag_parsing_config = 2; +} + +// Configuration for tag parsing. +message TagParsingConfig { + // Configuration for parsing a tag entity class. + message EntityParsingConfig { + // Type of entity matching strategy. + enum EntityMatchingStrategy { + // If unspecified, multi-line matching will be used by default. + ENTITY_MATCHING_STRATEGY_UNSPECIFIED = 0; + + // Matches multiple lines of text. + MULTI_LINE_MATCHING = 1; + + // Matches the line with the maximum overlap area with entity bounding + // box. + MAX_OVERLAP_AREA = 2; + } + + // Required. The tag entity class name. This should match the class name + // produced by the tag entity detection model. + string entity_class = 1 [(google.api.field_behavior) = REQUIRED]; + + // Optional. An regular expression hint. + string regex = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Entity matching strategy. + EntityMatchingStrategy entity_matching_strategy = 3 + [(google.api.field_behavior) = OPTIONAL]; + } + + // Each tag entity class may have an optional EntityParsingConfig which is + // used to help parse the entities of the class. + repeated EntityParsingConfig entity_parsing_configs = 1; } diff --git a/third_party/googleapis/google/cloud/visionai/v1/streaming_resources.proto b/third_party/googleapis/google/cloud/visionai/v1/streaming_resources.proto index 714747f3b..dd8e103b2 100644 --- a/third_party/googleapis/google/cloud/visionai/v1/streaming_resources.proto +++ b/third_party/googleapis/google/cloud/visionai/v1/streaming_resources.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -115,15 +115,16 @@ message ServerMetadata { message SeriesMetadata { // Series name. It's in the format of // "projects/{project}/locations/{location}/clusters/{cluster}/series/{stream}". - string series = 1 [(google.api.resource_reference) = { - type: "visionai.googleapis.com/Series" - }]; + string series = 1 [ + (google.api.resource_reference) = { type: "visionai.googleapis.com/Series" } + ]; } // The message that represents packet header. message PacketHeader { // Input only. The capture time of the packet. - google.protobuf.Timestamp capture_time = 1 [(google.api.field_behavior) = INPUT_ONLY]; + google.protobuf.Timestamp capture_time = 1 + [(google.api.field_behavior) = INPUT_ONLY]; // Input only. Immutable. The type of the payload. PacketType type = 2 [ @@ -132,12 +133,14 @@ message PacketHeader { ]; // Input only. This field is for users to attach user managed metadata. - google.protobuf.Struct metadata = 3 [(google.api.field_behavior) = INPUT_ONLY]; + google.protobuf.Struct metadata = 3 + [(google.api.field_behavior) = INPUT_ONLY]; // Output only. Metadata that the server appends to each packet before sending // it to receivers. You don't need to set a value for this field when sending // packets. - ServerMetadata server_metadata = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + ServerMetadata server_metadata = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Input only. Immutable. Metadata that the server needs to know where to // write the packets to. It's only required for the first packet. @@ -149,8 +152,8 @@ message PacketHeader { // Immutable. Packet flag set. SDK will set the flag automatically. int32 flags = 6 [(google.api.field_behavior) = IMMUTABLE]; - // Immutable. Header string for tracing across services. It should be set when the packet - // is first arrived in the stream server. + // Immutable. Header string for tracing across services. It should be set when + // the packet is first arrived in the stream server. // // The input format is a lowercase hex string: // - version_id: 1 byte, currently must be zero - hex encoded (2 characters) diff --git a/third_party/googleapis/google/cloud/visionai/v1/streaming_service.proto b/third_party/googleapis/google/cloud/visionai/v1/streaming_service.proto index 8af8d65b2..daeffbf81 100644 --- a/third_party/googleapis/google/cloud/visionai/v1/streaming_service.proto +++ b/third_party/googleapis/google/cloud/visionai/v1/streaming_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -33,19 +33,20 @@ option ruby_package = "Google::Cloud::VisionAI::V1"; // Streaming service for receiving and sending packets. service StreamingService { option (google.api.default_host) = "visionai.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Send packets to the series. - rpc SendPackets(stream SendPacketsRequest) returns (stream SendPacketsResponse) { - } + rpc SendPackets(stream SendPacketsRequest) + returns (stream SendPacketsResponse) {} // Receive packets from the series. - rpc ReceivePackets(stream ReceivePacketsRequest) returns (stream ReceivePacketsResponse) { - } + rpc ReceivePackets(stream ReceivePacketsRequest) + returns (stream ReceivePacketsResponse) {} // Receive events given the stream name. - rpc ReceiveEvents(stream ReceiveEventsRequest) returns (stream ReceiveEventsResponse) { - } + rpc ReceiveEvents(stream ReceiveEventsRequest) + returns (stream ReceiveEventsResponse) {} // AcquireLease acquires a lease. rpc AcquireLease(AcquireLeaseRequest) returns (Lease) { @@ -241,9 +242,7 @@ message ReleaseLeaseRequest { } // Response message for release lease. -message ReleaseLeaseResponse { - -} +message ReleaseLeaseResponse {} // RequestMetadata is the metadata message for the request. message RequestMetadata { @@ -281,9 +280,7 @@ message SendPacketsRequest { } // Response message for sending packets. -message SendPacketsResponse { - -} +message SendPacketsResponse {} // Request message for receiving packets. message ReceivePacketsRequest { @@ -368,9 +365,7 @@ message ReceivePacketsResponse { } // The options for receiver under the eager mode. -message EagerMode { - -} +message EagerMode {} // The options for receiver under the controlled mode. message ControlledMode { diff --git a/third_party/googleapis/google/cloud/visionai/v1/streams_resources.proto b/third_party/googleapis/google/cloud/visionai/v1/streams_resources.proto index 113b88af2..506cd52a4 100644 --- a/third_party/googleapis/google/cloud/visionai/v1/streams_resources.proto +++ b/third_party/googleapis/google/cloud/visionai/v1/streams_resources.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -42,10 +42,12 @@ message Stream { string name = 1; // Output only. The create timestamp. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The update timestamp. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Labels as key value pairs. map labels = 4; @@ -89,10 +91,12 @@ message Event { string name = 1; // Output only. The create timestamp. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The update timestamp. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Labels as key value pairs. map labels = 4; @@ -121,10 +125,12 @@ message Series { string name = 1; // Output only. The create timestamp. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The update timestamp. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Labels as key value pairs. map labels = 4; @@ -135,17 +141,13 @@ message Series { // Required. Stream that is associated with this series. string stream = 6 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "visionai.googleapis.com/Stream" - } + (google.api.resource_reference) = { type: "visionai.googleapis.com/Stream" } ]; // Required. Event that is associated with this series. string event = 7 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "visionai.googleapis.com/Event" - } + (google.api.resource_reference) = { type: "visionai.googleapis.com/Event" } ]; } @@ -160,10 +162,12 @@ message Channel { string name = 1; // Output only. The create timestamp. - google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The update timestamp. - google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Labels as key value pairs. map labels = 4; @@ -174,16 +178,12 @@ message Channel { // Required. Stream that is associated with this series. string stream = 6 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "visionai.googleapis.com/Stream" - } + (google.api.resource_reference) = { type: "visionai.googleapis.com/Stream" } ]; // Required. Event that is associated with this series. string event = 7 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "visionai.googleapis.com/Event" - } + (google.api.resource_reference) = { type: "visionai.googleapis.com/Event" } ]; } diff --git a/third_party/googleapis/google/cloud/visionai/v1/streams_service.proto b/third_party/googleapis/google/cloud/visionai/v1/streams_service.proto index 04fd88911..83bb82830 100644 --- a/third_party/googleapis/google/cloud/visionai/v1/streams_service.proto +++ b/third_party/googleapis/google/cloud/visionai/v1/streams_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -23,6 +23,7 @@ import "google/api/resource.proto"; import "google/cloud/visionai/v1/common.proto"; import "google/cloud/visionai/v1/streams_resources.proto"; import "google/longrunning/operations.proto"; +import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; @@ -40,7 +41,8 @@ option ruby_package = "Google::Cloud::VisionAI::V1"; // e2e solution for customer to build their own computer vision application. service StreamsService { option (google.api.default_host) = "visionai.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Lists Clusters in a given project and location. rpc ListClusters(ListClustersRequest) returns (ListClustersResponse) { @@ -59,7 +61,8 @@ service StreamsService { } // Creates a new Cluster in a given project and location. - rpc CreateCluster(CreateClusterRequest) returns (google.longrunning.Operation) { + rpc CreateCluster(CreateClusterRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/clusters" body: "cluster" @@ -72,7 +75,8 @@ service StreamsService { } // Updates the parameters of a single Cluster. - rpc UpdateCluster(UpdateClusterRequest) returns (google.longrunning.Operation) { + rpc UpdateCluster(UpdateClusterRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v1/{cluster.name=projects/*/locations/*/clusters/*}" body: "cluster" @@ -85,7 +89,8 @@ service StreamsService { } // Deletes a single Cluster. - rpc DeleteCluster(DeleteClusterRequest) returns (google.longrunning.Operation) { + rpc DeleteCluster(DeleteClusterRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/clusters/*}" }; @@ -151,7 +156,8 @@ service StreamsService { } // Gets the thumbnail (image snapshot) of a single Stream. - rpc GetStreamThumbnail(GetStreamThumbnailRequest) returns (google.longrunning.Operation) { + rpc GetStreamThumbnail(GetStreamThumbnailRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{stream=projects/*/locations/*/clusters/*/streams/*}:getThumbnail" body: "*" @@ -164,7 +170,8 @@ service StreamsService { } // Generate the JWT auth token required to get the stream HLS contents. - rpc GenerateStreamHlsToken(GenerateStreamHlsTokenRequest) returns (GenerateStreamHlsTokenResponse) { + rpc GenerateStreamHlsToken(GenerateStreamHlsTokenRequest) + returns (GenerateStreamHlsTokenResponse) { option (google.api.http) = { post: "/v1/{stream=projects/*/locations/*/clusters/*/streams/*}:generateStreamHlsToken" body: "*" @@ -281,7 +288,8 @@ service StreamsService { } // Materialize a channel. - rpc MaterializeChannel(MaterializeChannelRequest) returns (google.longrunning.Operation) { + rpc MaterializeChannel(MaterializeChannelRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*/clusters/*}/channels" body: "channel" @@ -357,10 +365,10 @@ message CreateClusterRequest { // Required. The resource being created. Cluster cluster = 3 [(google.api.field_behavior) = REQUIRED]; - // Optional. An optional request ID to identify requests. Specify a unique request ID - // so that if you must retry your request, the server will know to ignore - // the request if it has already been completed. The server will guarantee - // that for at least 60 minutes since the first request. + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes since the first request. // // For example, consider a situation where you make an initial request and the // request times out. If you make the request again with the same request ID, @@ -380,15 +388,16 @@ message UpdateClusterRequest { // The fields specified in the update_mask are relative to the resource, not // the full request. A field will be overwritten if it is in the mask. If the // user does not provide a mask then all fields will be overwritten. - google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = REQUIRED]; + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = REQUIRED]; // Required. The resource being updated Cluster cluster = 2 [(google.api.field_behavior) = REQUIRED]; - // Optional. An optional request ID to identify requests. Specify a unique request ID - // so that if you must retry your request, the server will know to ignore - // the request if it has already been completed. The server will guarantee - // that for at least 60 minutes since the first request. + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes since the first request. // // For example, consider a situation where you make an initial request and the // request times out. If you make the request again with the same request ID, @@ -411,10 +420,10 @@ message DeleteClusterRequest { } ]; - // Optional. An optional request ID to identify requests. Specify a unique request ID - // so that if you must retry your request, the server will know to ignore - // the request if it has already been completed. The server will guarantee - // that for at least 60 minutes after the first request. + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes after the first request. // // For example, consider a situation where you make an initial request and the // request times out. If you make the request again with the same request ID, @@ -468,9 +477,7 @@ message GetStreamRequest { // Required. Name of the resource. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "visionai.googleapis.com/Stream" - } + (google.api.resource_reference) = { type: "visionai.googleapis.com/Stream" } ]; } @@ -490,10 +497,10 @@ message CreateStreamRequest { // Required. The resource being created. Stream stream = 3 [(google.api.field_behavior) = REQUIRED]; - // Optional. An optional request ID to identify requests. Specify a unique request ID - // so that if you must retry your request, the server will know to ignore - // the request if it has already been completed. The server will guarantee - // that for at least 60 minutes since the first request. + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes since the first request. // // For example, consider a situation where you make an initial request and the // request times out. If you make the request again with the same request ID, @@ -513,15 +520,16 @@ message UpdateStreamRequest { // The fields specified in the update_mask are relative to the resource, not // the full request. A field will be overwritten if it is in the mask. If the // user does not provide a mask then all fields will be overwritten. - google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = REQUIRED]; + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = REQUIRED]; // Required. The resource being updated. Stream stream = 2 [(google.api.field_behavior) = REQUIRED]; - // Optional. An optional request ID to identify requests. Specify a unique request ID - // so that if you must retry your request, the server will know to ignore - // the request if it has already been completed. The server will guarantee - // that for at least 60 minutes since the first request. + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes since the first request. // // For example, consider a situation where you make an initial request and the // request times out. If you make the request again with the same request ID, @@ -539,15 +547,13 @@ message DeleteStreamRequest { // Required. Name of the resource. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "visionai.googleapis.com/Stream" - } + (google.api.resource_reference) = { type: "visionai.googleapis.com/Stream" } ]; - // Optional. An optional request ID to identify requests. Specify a unique request ID - // so that if you must retry your request, the server will know to ignore - // the request if it has already been completed. The server will guarantee - // that for at least 60 minutes after the first request. + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes after the first request. // // For example, consider a situation where you make an initial request and the // request times out. If you make the request again with the same request ID, @@ -568,14 +574,14 @@ message GetStreamThumbnailRequest { // Required. The name of the GCS object to store the thumbnail image. string gcs_object_name = 2 [(google.api.field_behavior) = REQUIRED]; - // Optional. The name of the event. If unspecified, the thumbnail will be retrieved from - // the latest event. + // Optional. The name of the event. If unspecified, the thumbnail will be + // retrieved from the latest event. string event = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. An optional request ID to identify the requests. Specify a unique request - // ID so that if you must retry your request, the server will know to ignore - // the request if it has already been completed. The server will guarantee - // that for at least 60 minutes since the first request. + // Optional. An optional request ID to identify the requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes since the first request. // // For example, consider a situation where you make an initial request and the // request times out. If you make the request again with the same request ID, @@ -590,9 +596,7 @@ message GetStreamThumbnailRequest { // Message for the response of GetStreamThumbnail. The empty response message // indicates the thumbnail image has been uploaded to GCS successfully. -message GetStreamThumbnailResponse { - -} +message GetStreamThumbnailResponse {} // Request message for getting the auth token to access the stream HLS contents. message GenerateStreamHlsTokenRequest { @@ -655,9 +659,7 @@ message GetEventRequest { // Required. Name of the resource. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "visionai.googleapis.com/Event" - } + (google.api.resource_reference) = { type: "visionai.googleapis.com/Event" } ]; } @@ -677,10 +679,10 @@ message CreateEventRequest { // Required. The resource being created. Event event = 3 [(google.api.field_behavior) = REQUIRED]; - // Optional. An optional request ID to identify requests. Specify a unique request ID - // so that if you must retry your request, the server will know to ignore - // the request if it has already been completed. The server will guarantee - // that for at least 60 minutes since the first request. + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes since the first request. // // For example, consider a situation where you make an initial request and the // request times out. If you make the request again with the same request ID, @@ -700,15 +702,16 @@ message UpdateEventRequest { // The fields specified in the update_mask are relative to the resource, not // the full request. A field will be overwritten if it is in the mask. If the // user does not provide a mask then all fields will be overwritten. - google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = REQUIRED]; + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = REQUIRED]; // Required. The resource being updated. Event event = 2 [(google.api.field_behavior) = REQUIRED]; - // Optional. An optional request ID to identify requests. Specify a unique request ID - // so that if you must retry your request, the server will know to ignore - // the request if it has already been completed. The server will guarantee - // that for at least 60 minutes since the first request. + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes since the first request. // // For example, consider a situation where you make an initial request and the // request times out. If you make the request again with the same request ID, @@ -726,15 +729,13 @@ message DeleteEventRequest { // Required. Name of the resource. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "visionai.googleapis.com/Event" - } + (google.api.resource_reference) = { type: "visionai.googleapis.com/Event" } ]; - // Optional. An optional request ID to identify requests. Specify a unique request ID - // so that if you must retry your request, the server will know to ignore - // the request if it has already been completed. The server will guarantee - // that for at least 60 minutes after the first request. + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes after the first request. // // For example, consider a situation where you make an initial request and the // request times out. If you make the request again with the same request ID, @@ -788,9 +789,7 @@ message GetSeriesRequest { // Required. Name of the resource. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "visionai.googleapis.com/Series" - } + (google.api.resource_reference) = { type: "visionai.googleapis.com/Series" } ]; } @@ -810,10 +809,10 @@ message CreateSeriesRequest { // Required. The resource being created. Series series = 3 [(google.api.field_behavior) = REQUIRED]; - // Optional. An optional request ID to identify requests. Specify a unique request ID - // so that if you must retry your request, the server will know to ignore - // the request if it has already been completed. The server will guarantee - // that for at least 60 minutes since the first request. + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes since the first request. // // For example, consider a situation where you make an initial request and the // request times out. If you make the request again with the same request ID, @@ -828,20 +827,21 @@ message CreateSeriesRequest { // Message for updating a Series. message UpdateSeriesRequest { - // Required. Field mask is used to specify the fields to be overwritten in the Series - // resource by the update. The fields specified in the update_mask are + // Required. Field mask is used to specify the fields to be overwritten in the + // Series resource by the update. The fields specified in the update_mask are // relative to the resource, not the full request. A field will be overwritten // if it is in the mask. If the user does not provide a mask then all fields // will be overwritten. - google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = REQUIRED]; + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = REQUIRED]; // Required. The resource being updated Series series = 2 [(google.api.field_behavior) = REQUIRED]; - // Optional. An optional request ID to identify requests. Specify a unique request ID - // so that if you must retry your request, the server will know to ignore - // the request if it has already been completed. The server will guarantee - // that for at least 60 minutes since the first request. + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes since the first request. // // For example, consider a situation where you make an initial request and the // request times out. If you make the request again with the same request ID, @@ -859,15 +859,13 @@ message DeleteSeriesRequest { // Required. Name of the resource. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "visionai.googleapis.com/Series" - } + (google.api.resource_reference) = { type: "visionai.googleapis.com/Series" } ]; - // Optional. An optional request ID to identify requests. Specify a unique request ID - // so that if you must retry your request, the server will know to ignore - // the request if it has already been completed. The server will guarantee - // that for at least 60 minutes after the first request. + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes after the first request. // // For example, consider a situation where you make an initial request and the // request times out. If you make the request again with the same request ID, @@ -896,10 +894,10 @@ message MaterializeChannelRequest { // Required. The resource being created. Channel channel = 3 [(google.api.field_behavior) = REQUIRED]; - // Optional. An optional request ID to identify requests. Specify a unique request ID - // so that if you must retry your request, the server will know to ignore - // the request if it has already been completed. The server will guarantee - // that for at least 60 minutes since the first request. + // Optional. An optional request ID to identify requests. Specify a unique + // request ID so that if you must retry your request, the server will know to + // ignore the request if it has already been completed. The server will + // guarantee that for at least 60 minutes since the first request. // // For example, consider a situation where you make an initial request and the // request times out. If you make the request again with the same request ID, diff --git a/third_party/googleapis/google/cloud/visionai/v1/visionai_grpc_service_config.json b/third_party/googleapis/google/cloud/visionai/v1/visionai_grpc_service_config.json index 05b1df240..a12a1fd01 100644 --- a/third_party/googleapis/google/cloud/visionai/v1/visionai_grpc_service_config.json +++ b/third_party/googleapis/google/cloud/visionai/v1/visionai_grpc_service_config.json @@ -8,6 +8,9 @@ }, { "service": "google.cloud.visionai.v1.EventWatcher" + }, + { + "service": "google.cloud.visionai.v1.Warehouse" } ], "timeout": "60s", @@ -197,8 +200,24 @@ "maxBackoff": "120s", "backoffMultiplier": 2.5, "retryableStatusCodes": [ - "UNAVAILABLE", - "DEADLINE_EXCEEDED" + "UNAVAILABLE" + ] + } + }, + { + "name": [{ + "service": "google.cloud.visionai.v1.Prediction", + "method": "Predict" + } + ], + "timeout": "120s", + "retryPolicy": { + "maxAttempts": 5, + "initialBackoff": "1s", + "maxBackoff": "120s", + "backoffMultiplier": 2.5, + "retryableStatusCodes": [ + "UNAVAILABLE" ] } } diff --git a/third_party/googleapis/google/cloud/visionai/v1/visionai_v1.yaml b/third_party/googleapis/google/cloud/visionai/v1/visionai_v1.yaml index d2d8b3e5a..f21eb9e4a 100644 --- a/third_party/googleapis/google/cloud/visionai/v1/visionai_v1.yaml +++ b/third_party/googleapis/google/cloud/visionai/v1/visionai_v1.yaml @@ -6,6 +6,7 @@ title: Vision AI API apis: - name: google.cloud.location.Locations - name: google.cloud.visionai.v1.AppPlatform +- name: google.cloud.visionai.v1.HealthCheckService - name: google.cloud.visionai.v1.LiveVideoAnalytics - name: google.cloud.visionai.v1.StreamingService - name: google.cloud.visionai.v1.StreamsService @@ -15,27 +16,52 @@ apis: types: - name: google.cloud.visionai.v1.AddApplicationStreamInputResponse +- name: google.cloud.visionai.v1.AnalyzeAssetMetadata +- name: google.cloud.visionai.v1.AnalyzeAssetResponse +- name: google.cloud.visionai.v1.AnalyzeCorpusMetadata +- name: google.cloud.visionai.v1.AnalyzeCorpusResponse - name: google.cloud.visionai.v1.AppPlatformCloudFunctionRequest - name: google.cloud.visionai.v1.AppPlatformCloudFunctionResponse - name: google.cloud.visionai.v1.AppPlatformMetadata +- name: google.cloud.visionai.v1.BatchRunProcessResponse - name: google.cloud.visionai.v1.ClassificationPredictionResult - name: google.cloud.visionai.v1.CreateApplicationInstancesResponse +- name: google.cloud.visionai.v1.CreateCollectionMetadata - name: google.cloud.visionai.v1.CreateCorpusMetadata +- name: google.cloud.visionai.v1.CreateIndexEndpointMetadata +- name: google.cloud.visionai.v1.CreateIndexMetadata - name: google.cloud.visionai.v1.DeleteApplicationInstancesResponse - name: google.cloud.visionai.v1.DeleteAssetMetadata +- name: google.cloud.visionai.v1.DeleteCollectionMetadata +- name: google.cloud.visionai.v1.DeleteIndexEndpointMetadata +- name: google.cloud.visionai.v1.DeleteIndexMetadata - name: google.cloud.visionai.v1.DeployApplicationResponse +- name: google.cloud.visionai.v1.DeployIndexMetadata +- name: google.cloud.visionai.v1.DeployIndexResponse - name: google.cloud.visionai.v1.GetStreamThumbnailResponse - name: google.cloud.visionai.v1.ImageObjectDetectionPredictionResult - name: google.cloud.visionai.v1.ImageSegmentationPredictionResult +- name: google.cloud.visionai.v1.ImportAssetsMetadata +- name: google.cloud.visionai.v1.ImportAssetsResponse +- name: google.cloud.visionai.v1.IndexAssetMetadata +- name: google.cloud.visionai.v1.IndexAssetResponse - name: google.cloud.visionai.v1.ObjectDetectionPredictionResult - name: google.cloud.visionai.v1.OccupancyCountingPredictionResult - name: google.cloud.visionai.v1.OperationMetadata - name: google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput - name: google.cloud.visionai.v1.RemoveApplicationStreamInputResponse +- name: google.cloud.visionai.v1.RemoveIndexAssetMetadata +- name: google.cloud.visionai.v1.RemoveIndexAssetResponse - name: google.cloud.visionai.v1.StreamAnnotations - name: google.cloud.visionai.v1.UndeployApplicationResponse +- name: google.cloud.visionai.v1.UndeployIndexMetadata +- name: google.cloud.visionai.v1.UndeployIndexResponse - name: google.cloud.visionai.v1.UpdateApplicationInstancesResponse - name: google.cloud.visionai.v1.UpdateApplicationStreamInputResponse +- name: google.cloud.visionai.v1.UpdateIndexEndpointMetadata +- name: google.cloud.visionai.v1.UpdateIndexMetadata +- name: google.cloud.visionai.v1.UploadAssetMetadata +- name: google.cloud.visionai.v1.UploadAssetResponse - name: google.cloud.visionai.v1.VideoActionRecognitionPredictionResult - name: google.cloud.visionai.v1.VideoClassificationPredictionResult - name: google.cloud.visionai.v1.VideoObjectTrackingPredictionResult @@ -102,6 +128,11 @@ http: additional_bindings: - get: '/v1/{name=projects/*/locations/*/warehouseOperations/*}' - get: '/v1/{name=projects/*/locations/*/corpora/*/assets/*/operations/*}' + - get: '/v1/{name=projects/*/locations/*/corpora/*/collections/*/operations/*}' + - get: '/v1/{name=projects/*/locations/*/corpora/*/imageIndexes/*/operations/*}' + - get: '/v1/{name=projects/*/locations/*/corpora/*/indexes/*/operations/*}' + - get: '/v1/{name=projects/*/locations/*/corpora/*/operations/*}' + - get: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}' - selector: google.longrunning.Operations.ListOperations get: '/v1/{name=projects/*/locations/*}/operations' @@ -119,6 +150,10 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform + - selector: google.cloud.visionai.v1.HealthCheckService.HealthCheck + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform - selector: 'google.cloud.visionai.v1.LiveVideoAnalytics.*' oauth: canonical_scopes: |- @@ -143,3 +178,19 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform + +publishing: + new_issue_uri: https://issuetracker.google.com/issues/new?component=187174&pli=1&template=1161261 + documentation_uri: https://cloud.google.com/vision-ai/docs + api_short_name: visionai + github_label: 'api: visionai' + doc_tag_prefix: visionai + organization: CLOUD + library_settings: + - version: google.cloud.visionai.v1 + launch_stage: GA + go_settings: + common: + destinations: + - PACKAGE_MANAGER + proto_reference_documentation_uri: https://cloud.google.com/vision-ai/docs/reference/rest diff --git a/third_party/googleapis/google/cloud/visionai/v1/warehouse.proto b/third_party/googleapis/google/cloud/visionai/v1/warehouse.proto index 0c2a957a3..f6e87a353 100644 --- a/third_party/googleapis/google/cloud/visionai/v1/warehouse.proto +++ b/third_party/googleapis/google/cloud/visionai/v1/warehouse.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,6 +20,7 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/cloud/visionai/v1/common.proto"; import "google/longrunning/operations.proto"; import "google/protobuf/any.proto"; import "google/protobuf/duration.proto"; @@ -41,7 +42,8 @@ option ruby_package = "Google::Cloud::VisionAI::V1"; // Service that manages media content + metadata for streaming. service Warehouse { option (google.api.default_host) = "visionai.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Creates an asset inside corpus. rpc CreateAsset(CreateAssetRequest) returns (Asset) { @@ -89,6 +91,143 @@ service Warehouse { }; } + // Upload asset by specifing the asset Cloud Storage uri. + // For video warehouse, it requires users who call this API have read access + // to the cloud storage file. Once it is uploaded, it can be retrieved by + // GenerateRetrievalUrl API which by default, only can retrieve cloud storage + // files from the same project of the warehouse. To allow retrieval cloud + // storage files that are in a separate project, it requires to find the + // vision ai service account (Go to IAM, check checkbox to show "Include + // Google-provided role grants", search for "Cloud Vision AI Service Agent") + // and grant the read access of the cloud storage files to that service + // account. + rpc UploadAsset(UploadAssetRequest) returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/*/corpora/*/assets/*}:upload" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "UploadAssetResponse" + metadata_type: "UploadAssetMetadata" + }; + } + + // Generates a signed url for downloading the asset. + // For video warehouse, please see comment of UploadAsset about how to allow + // retrieval of cloud storage files in a different project. + rpc GenerateRetrievalUrl(GenerateRetrievalUrlRequest) + returns (GenerateRetrievalUrlResponse) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/*/corpora/*/assets/*}:generateRetrievalUrl" + body: "*" + }; + } + + // Analyze asset to power search capability. + rpc AnalyzeAsset(AnalyzeAssetRequest) returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/*/corpora/*/assets/*}:analyze" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "AnalyzeAssetResponse" + metadata_type: "AnalyzeAssetMetadata" + }; + } + + // Index one asset for search. + // Supported corpus type: Corpus.Type.VIDEO_ON_DEMAND + rpc IndexAsset(IndexAssetRequest) returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/*/corpora/*/assets/*}:index" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "IndexAssetResponse" + metadata_type: "IndexAssetMetadata" + }; + } + + // Remove one asset's index data for search. + // Supported corpus type: Corpus.Type.VIDEO_ON_DEMAND + rpc RemoveIndexAsset(RemoveIndexAssetRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/*/corpora/*/assets/*}:removeIndex" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "RemoveIndexAssetResponse" + metadata_type: "RemoveIndexAssetMetadata" + }; + } + + // Lists assets inside an index. + rpc ViewIndexedAssets(ViewIndexedAssetsRequest) + returns (ViewIndexedAssetsResponse) { + option (google.api.http) = { + get: "/v1/{index=projects/*/locations/*/corpora/*/indexes/*}:viewAssets" + }; + option (google.api.method_signature) = "index"; + } + + // Creates an Index under the corpus. + rpc CreateIndex(CreateIndexRequest) returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*/corpora/*}/indexes" + body: "index" + }; + option (google.api.method_signature) = "parent,index,index_id"; + option (google.longrunning.operation_info) = { + response_type: "Index" + metadata_type: "CreateIndexMetadata" + }; + } + + // Updates an Index under the corpus. + // Users can perform a metadata-only update or trigger a full index rebuild + // with different update_mask values. + rpc UpdateIndex(UpdateIndexRequest) returns (google.longrunning.Operation) { + option (google.api.http) = { + patch: "/v1/{index.name=projects/*/locations/*/corpora/*/indexes/*}" + body: "index" + }; + option (google.api.method_signature) = "index,update_mask"; + option (google.longrunning.operation_info) = { + response_type: "Index" + metadata_type: "UpdateIndexMetadata" + }; + } + + // Gets the details of a single Index under a Corpus. + rpc GetIndex(GetIndexRequest) returns (Index) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*/corpora/*/indexes/*}" + }; + option (google.api.method_signature) = "name"; + } + + // List all Indexes in a given Corpus. + rpc ListIndexes(ListIndexesRequest) returns (ListIndexesResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*/corpora/*}/indexes" + }; + option (google.api.method_signature) = "parent"; + } + + // Delete a single Index. In order to delete an index, the caller must + // make sure that it is not deployed to any index endpoint. + rpc DeleteIndex(DeleteIndexRequest) returns (google.longrunning.Operation) { + option (google.api.http) = { + delete: "/v1/{name=projects/*/locations/*/corpora/*/indexes/*}" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "DeleteIndexMetadata" + }; + } + // Creates a corpus inside a project. rpc CreateCorpus(CreateCorpusRequest) returns (google.longrunning.Operation) { option (google.api.http) = { @@ -136,6 +275,19 @@ service Warehouse { option (google.api.method_signature) = "name"; } + // Analyzes a corpus. + rpc AnalyzeCorpus(AnalyzeCorpusRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/*/corpora/*}:analyze" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "AnalyzeCorpusResponse" + metadata_type: "AnalyzeCorpusMetadata" + }; + } + // Creates data schema inside corpus. rpc CreateDataSchema(CreateDataSchemaRequest) returns (DataSchema) { option (google.api.http) = { @@ -163,7 +315,8 @@ service Warehouse { } // Deletes data schema inside corpus. - rpc DeleteDataSchema(DeleteDataSchemaRequest) returns (google.protobuf.Empty) { + rpc DeleteDataSchema(DeleteDataSchemaRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/corpora/*/dataSchemas/*}" }; @@ -171,7 +324,8 @@ service Warehouse { } // Lists a list of data schemas inside corpus. - rpc ListDataSchemas(ListDataSchemasRequest) returns (ListDataSchemasResponse) { + rpc ListDataSchemas(ListDataSchemasRequest) + returns (ListDataSchemasResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*/corpora/*}/dataSchemas" }; @@ -196,7 +350,8 @@ service Warehouse { } // Lists a list of annotations inside asset. - rpc ListAnnotations(ListAnnotationsRequest) returns (ListAnnotationsResponse) { + rpc ListAnnotations(ListAnnotationsRequest) + returns (ListAnnotationsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*/corpora/*/assets/*}/annotations" }; @@ -213,7 +368,8 @@ service Warehouse { } // Deletes annotation inside asset. - rpc DeleteAnnotation(DeleteAnnotationRequest) returns (google.protobuf.Empty) { + rpc DeleteAnnotation(DeleteAnnotationRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/corpora/*/assets/*/annotations/*}" }; @@ -224,8 +380,8 @@ service Warehouse { // is already expired according to TTL. // This method is only available via the gRPC API (not HTTP since // bi-directional streaming is not supported via HTTP). - rpc IngestAsset(stream IngestAssetRequest) returns (stream IngestAssetResponse) { - } + rpc IngestAsset(stream IngestAssetRequest) + returns (stream IngestAssetResponse) {} // Generates clips for downloading. The api takes in a time range, and // generates a clip of the first content available after start_time and @@ -249,6 +405,20 @@ service Warehouse { }; } + // Imports assets (images plus annotations) from a meta file on cloud storage. + // Each row in the meta file is corresponding to an image (specified by a + // cloud storage uri) and its annotations. + rpc ImportAssets(ImportAssetsRequest) returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*/corpora/*}/assets:import" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "ImportAssetsResponse" + metadata_type: "ImportAssetsMetadata" + }; + } + // Creates a search configuration inside a corpus. // // Please follow the rules below to create a valid CreateSearchConfigRequest. @@ -269,243 +439,1205 @@ service Warehouse { post: "/v1/{parent=projects/*/locations/*/corpora/*}/searchConfigs" body: "search_config" }; - option (google.api.method_signature) = "parent,search_config,search_config_id"; + option (google.api.method_signature) = + "parent,search_config,search_config_id"; + } + + // Updates a search configuration inside a corpus. + // + // Please follow the rules below to create a valid UpdateSearchConfigRequest. + // --- General Rules --- + // 1. Request.search_configuration.name must already exist. + // 2. Request must contain at least one non-empty search_criteria_property or + // facet_property. + // 3. mapped_fields must not be empty, and must map to existing UGA keys. + // 4. All mapped_fields must be of the same type. + // 5. All mapped_fields must share the same granularity. + // 6. All mapped_fields must share the same semantic SearchConfig match + // options. + // For property-specific rules, please reference the comments for + // FacetProperty and SearchCriteriaProperty. + rpc UpdateSearchConfig(UpdateSearchConfigRequest) returns (SearchConfig) { + option (google.api.http) = { + patch: "/v1/{search_config.name=projects/*/locations/*/corpora/*/searchConfigs/*}" + body: "search_config" + }; + option (google.api.method_signature) = "search_config,update_mask"; + } + + // Gets a search configuration inside a corpus. + rpc GetSearchConfig(GetSearchConfigRequest) returns (SearchConfig) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*/corpora/*/searchConfigs/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Deletes a search configuration inside a corpus. + // + // For a DeleteSearchConfigRequest to be valid, + // Request.search_configuration.name must already exist. + rpc DeleteSearchConfig(DeleteSearchConfigRequest) + returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1/{name=projects/*/locations/*/corpora/*/searchConfigs/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Lists all search configurations inside a corpus. + rpc ListSearchConfigs(ListSearchConfigsRequest) + returns (ListSearchConfigsResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*/corpora/*}/searchConfigs" + }; + option (google.api.method_signature) = "parent"; + } + + // Creates a SearchHypernym inside a corpus. + rpc CreateSearchHypernym(CreateSearchHypernymRequest) + returns (SearchHypernym) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*/corpora/*}/searchHypernyms" + body: "search_hypernym" + }; + option (google.api.method_signature) = + "parent,search_hypernym,search_hypernym_id"; + } + + // Updates a SearchHypernym inside a corpus. + rpc UpdateSearchHypernym(UpdateSearchHypernymRequest) + returns (SearchHypernym) { + option (google.api.http) = { + patch: "/v1/{search_hypernym.name=projects/*/locations/*/corpora/*/searchHypernyms/*}" + body: "search_hypernym" + }; + option (google.api.method_signature) = "search_hypernym,update_mask"; + } + + // Gets a SearchHypernym inside a corpus. + rpc GetSearchHypernym(GetSearchHypernymRequest) returns (SearchHypernym) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*/corpora/*/searchHypernyms/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Deletes a SearchHypernym inside a corpus. + rpc DeleteSearchHypernym(DeleteSearchHypernymRequest) + returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v1/{name=projects/*/locations/*/corpora/*/searchHypernyms/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Lists SearchHypernyms inside a corpus. + rpc ListSearchHypernyms(ListSearchHypernymsRequest) + returns (ListSearchHypernymsResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*/corpora/*}/searchHypernyms" + }; + option (google.api.method_signature) = "parent"; + } + + // Search media asset. + rpc SearchAssets(SearchAssetsRequest) returns (SearchAssetsResponse) { + option (google.api.http) = { + post: "/v1/{corpus=projects/*/locations/*/corpora/*}:searchAssets" + body: "*" + }; + } + + // Search a deployed index endpoint (IMAGE corpus type only). + rpc SearchIndexEndpoint(SearchIndexEndpointRequest) + returns (SearchIndexEndpointResponse) { + option (google.api.http) = { + post: "/v1/{index_endpoint=projects/*/locations/*/indexEndpoints/*}:searchIndexEndpoint" + body: "*" + }; + } + + // Creates an IndexEndpoint. + rpc CreateIndexEndpoint(CreateIndexEndpointRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*}/indexEndpoints" + body: "index_endpoint" + }; + option (google.api.method_signature) = + "parent,index_endpoint,index_endpoint_id"; + option (google.longrunning.operation_info) = { + response_type: "IndexEndpoint" + metadata_type: "CreateIndexEndpointMetadata" + }; + } + + // Gets an IndexEndpoint. + rpc GetIndexEndpoint(GetIndexEndpointRequest) returns (IndexEndpoint) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*/indexEndpoints/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Lists all IndexEndpoints in a project. + rpc ListIndexEndpoints(ListIndexEndpointsRequest) + returns (ListIndexEndpointsResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*}/indexEndpoints" + }; + option (google.api.method_signature) = "parent"; + } + + // Updates an IndexEndpoint. + rpc UpdateIndexEndpoint(UpdateIndexEndpointRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + patch: "/v1/{index_endpoint.name=projects/*/locations/*/indexEndpoints/*}" + body: "index_endpoint" + }; + option (google.api.method_signature) = "index_endpoint,update_mask"; + option (google.longrunning.operation_info) = { + response_type: "IndexEndpoint" + metadata_type: "UpdateIndexEndpointMetadata" + }; + } + + // Deletes an IndexEndpoint. + rpc DeleteIndexEndpoint(DeleteIndexEndpointRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + delete: "/v1/{name=projects/*/locations/*/indexEndpoints/*}" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "DeleteIndexEndpointMetadata" + }; + } + + // Deploys an Index to IndexEndpoint. + rpc DeployIndex(DeployIndexRequest) returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{index_endpoint=projects/*/locations/*/indexEndpoints/*}:deployIndex" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "DeployIndexResponse" + metadata_type: "DeployIndexMetadata" + }; + } + + // Undeploys an Index from IndexEndpoint. + rpc UndeployIndex(UndeployIndexRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{index_endpoint=projects/*/locations/*/indexEndpoints/*}:undeployIndex" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "UndeployIndexResponse" + metadata_type: "UndeployIndexMetadata" + }; + } + + // Creates a collection. + rpc CreateCollection(CreateCollectionRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*/corpora/*}/collections" + body: "collection" + }; + option (google.api.method_signature) = "parent,collection,collection_id"; + option (google.longrunning.operation_info) = { + response_type: "Collection" + metadata_type: "CreateCollectionMetadata" + }; + } + + // Deletes a collection. + rpc DeleteCollection(DeleteCollectionRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + delete: "/v1/{name=projects/*/locations/*/corpora/*/collections/*}" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "DeleteCollectionMetadata" + }; + } + + // Gets a collection. + rpc GetCollection(GetCollectionRequest) returns (Collection) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*/corpora/*/collections/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Updates a collection. + rpc UpdateCollection(UpdateCollectionRequest) returns (Collection) { + option (google.api.http) = { + patch: "/v1/{collection.name=projects/*/locations/*/corpora/*/collections/*}" + body: "collection" + }; + option (google.api.method_signature) = "collection,update_mask"; + } + + // Lists collections inside a corpus. + rpc ListCollections(ListCollectionsRequest) + returns (ListCollectionsResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*/corpora/*}/collections" + }; + option (google.api.method_signature) = "parent"; + } + + // Adds an item into a Collection. + rpc AddCollectionItem(AddCollectionItemRequest) + returns (AddCollectionItemResponse) { + option (google.api.http) = { + post: "/v1/{item.collection=projects/*/locations/*/corpora/*/collections/*}:addCollectionItem" + body: "*" + }; + option (google.api.method_signature) = "item"; + } + + // Removes an item from a collection. + rpc RemoveCollectionItem(RemoveCollectionItemRequest) + returns (RemoveCollectionItemResponse) { + option (google.api.http) = { + post: "/v1/{item.collection=projects/*/locations/*/corpora/*/collections/*}:removeCollectionItem" + body: "*" + }; + option (google.api.method_signature) = "item"; + } + + // View items inside a collection. + rpc ViewCollectionItems(ViewCollectionItemsRequest) + returns (ViewCollectionItemsResponse) { + option (google.api.http) = { + get: "/v1/{collection=projects/*/locations/*/corpora/*/collections/*}:viewCollectionItems" + }; + option (google.api.method_signature) = "collection"; } +} + +// Different types for a facet bucket. +enum FacetBucketType { + // Unspecified type. + FACET_BUCKET_TYPE_UNSPECIFIED = 0; + + // Value type. + FACET_BUCKET_TYPE_VALUE = 1; + + // Datetime type. + FACET_BUCKET_TYPE_DATETIME = 2; + + // Fixed Range type. + FACET_BUCKET_TYPE_FIXED_RANGE = 3; + + // Custom Range type. + FACET_BUCKET_TYPE_CUSTOM_RANGE = 4; +} + +// Request message for CreateAssetRequest. +message CreateAssetRequest { + // Required. The parent resource where this asset will be created. + // Format: + // `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "visionai.googleapis.com/Corpus" } + ]; + + // Required. The asset to create. + Asset asset = 2 [(google.api.field_behavior) = REQUIRED]; + + // Optional. The ID to use for the asset, which will become the final + // component of the asset's resource name if user choose to specify. + // Otherwise, asset id will be generated by system. + // + // This value should be up to 63 characters, and valid characters + // are /[a-z][0-9]-/. The first character must be a letter, the last could be + // a letter or a number. + optional string asset_id = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// Request message for GetAsset. +message GetAssetRequest { + // Required. The name of the asset to retrieve. + // Format: + // projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset} + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "visionai.googleapis.com/Asset" } + ]; +} + +// Request message for ListAssets. +message ListAssetsRequest { + // Required. The parent, which owns this collection of assets. + // Format: + // `projects/{project_number}/locations/{location}/corpora/{corpus}` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "visionai.googleapis.com/Asset" + } + ]; + + // The maximum number of assets to return. The service may return fewer than + // this value. + // If unspecified, at most 50 assets will be returned. + // The maximum value is 1000; values above 1000 will be coerced to 1000. + int32 page_size = 2; + + // A page token, received from a previous `ListAssets` call. + // Provide this to retrieve the subsequent page. + // + // When paginating, all other parameters provided to `ListAssets` must match + // the call that provided the page token. + string page_token = 3; + + // The filter applied to the returned list. + // Only the following filterings are supported: + // "assets_with_contents = true", which returns assets with contents uploaded; + // "assets_with_contents = false", which returns assets without contents. + string filter = 5; +} + +// Response message for ListAssets. +message ListAssetsResponse { + // The assets from the specified corpus. + repeated Asset assets = 1; + + // A token, which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; +} + +// Request message for UpdateAsset. +message UpdateAssetRequest { + // Required. The asset to update. + // + // The asset's `name` field is used to identify the asset to be updated. + // Format: + // `projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}` + Asset asset = 1 [(google.api.field_behavior) = REQUIRED]; + + // The list of fields to be updated. + google.protobuf.FieldMask update_mask = 2; +} + +// Request message for DeleteAsset. +message DeleteAssetRequest { + // Required. The name of the asset to delete. + // Format: + // `projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "visionai.googleapis.com/Asset" } + ]; +} + +// The source of the asset. +message AssetSource { + // The asset source is from Cloud Storage. + message AssetGcsSource { + // Cloud storage uri. + string gcs_uri = 1; + } + + // The content of the asset. + message AssetContentData { + bytes asset_content_data = 1; + } + + oneof source_form { + // The source of the asset is from Cloud Storage. + AssetGcsSource asset_gcs_source = 1; + + // The source of the asset is from content bytes. + AssetContentData asset_content_data = 2; + } +} + +// Request message for UploadAsset. +message UploadAssetRequest { + // Required. The resource name of the asset to upload. + // Format: + // `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "visionai.googleapis.com/Asset" } + ]; + + // The source of the asset. + AssetSource asset_source = 2; +} + +// Response message for UploadAsset. +message UploadAssetResponse {} + +// Metadata for UploadAsset. +message UploadAssetMetadata { + // The start time of the operation. + google.protobuf.Timestamp start_time = 1; + + // The update time of the operation. + google.protobuf.Timestamp update_time = 2; +} + +// Request message for GenerateRetrievalUrl API. +message GenerateRetrievalUrlRequest { + // Required. The resource name of the asset to request signed url for. + // Format: + // `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "visionai.googleapis.com/Asset" } + ]; +} + +// Response message for GenerateRetrievalUrl API. +message GenerateRetrievalUrlResponse { + // A signed url to download the content of the asset. + string signed_uri = 1; +} + +// An asset is a resource in corpus. It represents a media object inside corpus, +// contains metadata and another resource annotation. Different feature could be +// applied to the asset to generate annotations. User could specified annotation +// related to the target asset. +message Asset { + option (google.api.resource) = { + type: "visionai.googleapis.com/Asset" + pattern: "projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}" + }; + + // Resource name of the asset. + // Format: + // `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}` + string name = 1; + + // The duration for which all media assets, associated metadata, and search + // documents can exist. If not set, then it will using the default ttl in the + // parent corpus resource. + google.protobuf.Duration ttl = 2; + + // Output only. The original cloud storage source uri that is associated with + // this asset. + AssetSource.AssetGcsSource asset_gcs_source = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// Request message for AnalyzeAsset. +message AnalyzeAssetRequest { + // Required. The resource name of the asset to analyze. + // Format: + // `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "visionai.googleapis.com/Asset" } + ]; +} + +// Metadata for AnalyzeAsset. +message AnalyzeAssetMetadata { + // The status of analysis on each search capability. + message AnalysisStatus { + // The state of the search capability. + enum State { + // The default process state should never happen. + STATE_UNSPECIFIED = 0; + + // The feature is in progress. + IN_PROGRESS = 1; + + // The process is successfully done. + SUCCEEDED = 2; + + // The process failed. + FAILED = 3; + } + + State state = 2; + + string status_message = 3; + + // The search capability requested. + SearchCapability search_capability = 4; + } + + // The status of analysis on all search capabilities. + repeated AnalysisStatus analysis_status = 1; + + // The start time of the operation. + google.protobuf.Timestamp start_time = 2; + + // The update time of the operation. + google.protobuf.Timestamp update_time = 3; +} + +// Response message for AnalyzeAsset. +message AnalyzeAssetResponse {} + +// The status of indexing for the asset. +message IndexingStatus { + // State enum for this asset's indexing. + enum State { + // The default process state should never happen. + STATE_UNSPECIFIED = 0; + + // The indexing is in progress. + IN_PROGRESS = 1; + + // The process is successfully done. + SUCCEEDED = 2; + + // The process failed. + FAILED = 3; + } + + // Output only. State of this asset's indexing. + State state = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Detailed message describing the state. + string status_message = 3; +} + +// Request message for IndexAsset. +message IndexAssetRequest { + // Required. The resource name of the asset to index. + // Format: + // `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "visionai.googleapis.com/Asset" } + ]; + + // Optional. The name of the index. + // Format: + // `projects/{project_number}/locations/{location}/corpora/{corpus}/indexes/{index}` + string index = 2 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.resource_reference) = { type: "visionai.googleapis.com/Index" } + ]; +} + +// Metadata for IndexAsset. +message IndexAssetMetadata { + // The status of indexing this asset. + IndexingStatus status = 4; + + // The start time of the operation. + google.protobuf.Timestamp start_time = 2; + + // The update time of the operation. + google.protobuf.Timestamp update_time = 3; +} + +// Response message for IndexAsset. +message IndexAssetResponse {} + +// Request message for RemoveIndexAsset. +message RemoveIndexAssetRequest { + // Required. The resource name of the asset to index. + // Format: + // `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "visionai.googleapis.com/Asset" } + ]; + + // Optional. The name of the index. + // Format: + // `projects/{project_number}/locations/{location}/corpora/{corpus}/indexes/{index}` + string index = 2 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.resource_reference) = { type: "visionai.googleapis.com/Index" } + ]; +} + +// Metadata for RemoveIndexAsset. +message RemoveIndexAssetMetadata { + // The status of indexing this asset. + IndexingStatus indexing_status = 1; + + // The start time of the operation. + google.protobuf.Timestamp start_time = 2; + + // The update time of the operation. + google.protobuf.Timestamp update_time = 3; +} + +// Response message for RemoveIndexAsset. +message RemoveIndexAssetResponse {} + +// An IndexedAsset is an asset that the index is built upon. +message IndexedAsset { + // Required. The index that this indexed asset belongs to. + // Format: + // `projects/{project_number}/locations/{location}/corpora/{corpus}/indexes/{index}` + string index = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "visionai.googleapis.com/Index" } + ]; + + // Required. The resource name of the asset. + // Format: + // `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}` + string asset = 2 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "visionai.googleapis.com/Asset" } + ]; + + // Output only. The create timestamp. + google.protobuf.Timestamp create_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The update timestamp. + google.protobuf.Timestamp update_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// Request message for ViewIndexedAssets. +message ViewIndexedAssetsRequest { + // Required. The index that owns this collection of assets. + // Format: + // `projects/{project_number}/locations/{location}/corpora/{corpus}/indexes/{index}` + string index = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "visionai.googleapis.com/Index" } + ]; + + // The maximum number of assets to return. The service may return fewer than + // this value. + // If unspecified, at most 50 assets will be returned. + // The maximum value is 1000; values above 1000 will be coerced to 1000. + int32 page_size = 2; + + // A page token, received from a previous `ViewIndexedAssets` call. + // Provide this to retrieve the subsequent page. + // + // When paginating, all other parameters provided to `ViewIndexedAssets` must + // match the call that provided the page token. + string page_token = 3; + + // The filter applied to the returned list. + // Only the following filterings are supported: + // "asset_id = xxxx", which returns asset with specified id. + // "asset_id = xxxx, yyyy, zzzz", which returns assets with specified ids. + string filter = 4; +} + +// Response message for ViewIndexedAssets. +message ViewIndexedAssetsResponse { + // The assets from the specified index. + repeated IndexedAsset indexed_assets = 1; + + // A token, which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; +} + +// Request message of CreateCorpus API. +message CreateCorpusRequest { + // Required. Form: `projects/{project_number}/locations/{location_id}` + string parent = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The corpus to be created. + Corpus corpus = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// Metadata for CreateCorpus API. +message CreateCorpusMetadata { + // The create time of the create corpus operation. + google.protobuf.Timestamp create_time = 2; + + // The update time of the create corpus operation. + google.protobuf.Timestamp update_time = 3; +} + +// The capability and metadata of search capability. +message SearchCapability { + // Capability to perform different search on assets. + enum Type { + // Unspecified search capability, should never be used. + TYPE_UNSPECIFIED = 0; + + // Embedding search. + EMBEDDING_SEARCH = 1; + } + + // The search capability to enable. + Type type = 1; +} + +// Setting for search capability to enable. +message SearchCapabilitySetting { + // The metadata of search capability to enable. + repeated SearchCapability search_capabilities = 1; +} + +// Metadata message for CreateCollectionRequest +message CreateCollectionMetadata { + // Common metadata of the long-running operation. + OperationMetadata operation_metadata = 1; +} + +// Request message for CreateCollection. +message CreateCollectionRequest { + // Required. The parent resource where this collection will be created. + // Format: `projects/{project_number}/locations/{location}/corpora/{corpus}` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "visionai.googleapis.com/Corpus" } + ]; + + // Required. The collection resource to be created. + Collection collection = 2 [(google.api.field_behavior) = REQUIRED]; + + // Optional. The ID to use for the collection, which will become the final + // component of the resource name if user choose to specify. Otherwise, + // collection id will be generated by system. + // + // This value should be up to 55 characters, and valid characters + // are /[a-z][0-9]-/. The first character must be a letter, the last could be + // a letter or a number. + optional string collection_id = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// Metadata message for DeleteCollectionRequest +message DeleteCollectionMetadata { + // Common metadata of the long-running operation. + OperationMetadata operation_metadata = 1; +} + +// Request message for DeleteCollectionRequest. +message DeleteCollectionRequest { + // Required. The name of the collection to delete. Format: + // `projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection}` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "visionai.googleapis.com/Collection" + } + ]; +} + +// Request message for GetCollectionRequest. +message GetCollectionRequest { + // Required. The name of the collection to retrieve. Format: + // `projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection}` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "visionai.googleapis.com/Collection" + } + ]; +} + +// Request message for UpdateCollectionRequest. +message UpdateCollectionRequest { + // Required. The collection to update. + // + // The collection's `name` field is used to identify the collection to be + // updated. Format: + // `projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection}` + Collection collection = 1 [(google.api.field_behavior) = REQUIRED]; + + // The list of fields to be updated. + // - Unset `update_mask` or set `update_mask` to be a single "*" only will + // update all updatable fields with the value provided in `collection`. + // - To update `display_name` value to empty string, set it in the + // `collection` + // to empty string, and set `update_mask` with "display_name". Same applies + // to other updatable string fields in the `collection`. + google.protobuf.FieldMask update_mask = 2; +} + +// Request message for ListCollections. +message ListCollectionsRequest { + // Required. The parent corpus. Format: + // `projects/{project_number}/locations/{location}/corpora/{corpus}` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "visionai.googleapis.com/Collection" + } + ]; - // Updates a search configuration inside a corpus. + // The maximum number of collections to return. The service may return fewer + // than this value. If unspecified, at most 50 collections will be returned. + // The maximum value is 1000; values above 1000 will be coerced to 1000. + int32 page_size = 2; + + // A page token, received from a previous `ListCollectionsRequest` call. + // Provide this to retrieve the subsequent page. // - // Please follow the rules below to create a valid UpdateSearchConfigRequest. - // --- General Rules --- - // 1. Request.search_configuration.name must already exist. - // 2. Request must contain at least one non-empty search_criteria_property or - // facet_property. - // 3. mapped_fields must not be empty, and must map to existing UGA keys. - // 4. All mapped_fields must be of the same type. - // 5. All mapped_fields must share the same granularity. - // 6. All mapped_fields must share the same semantic SearchConfig match - // options. - // For property-specific rules, please reference the comments for - // FacetProperty and SearchCriteriaProperty. - rpc UpdateSearchConfig(UpdateSearchConfigRequest) returns (SearchConfig) { - option (google.api.http) = { - patch: "/v1/{search_config.name=projects/*/locations/*/corpora/*/searchConfigs/*}" - body: "search_config" - }; - option (google.api.method_signature) = "search_config,update_mask"; - } + // When paginating, all other parameters provided to `ListCollectionsRequest` + // must match the call that provided the page token. + string page_token = 3; +} - // Gets a search configuration inside a corpus. - rpc GetSearchConfig(GetSearchConfigRequest) returns (SearchConfig) { - option (google.api.http) = { - get: "/v1/{name=projects/*/locations/*/corpora/*/searchConfigs/*}" - }; - option (google.api.method_signature) = "name"; - } +// Response message for ListCollections. +message ListCollectionsResponse { + // The collections from the specified corpus. + repeated Collection collections = 1; - // Deletes a search configuration inside a corpus. - // - // For a DeleteSearchConfigRequest to be valid, - // Request.search_configuration.name must already exist. - rpc DeleteSearchConfig(DeleteSearchConfigRequest) returns (google.protobuf.Empty) { - option (google.api.http) = { - delete: "/v1/{name=projects/*/locations/*/corpora/*/searchConfigs/*}" - }; - option (google.api.method_signature) = "name"; - } + // A token, which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; +} - // Lists all search configurations inside a corpus. - rpc ListSearchConfigs(ListSearchConfigsRequest) returns (ListSearchConfigsResponse) { - option (google.api.http) = { - get: "/v1/{parent=projects/*/locations/*/corpora/*}/searchConfigs" - }; - option (google.api.method_signature) = "parent"; - } +// Request message for AddCollectionItem. +message AddCollectionItemRequest { + // Required. The item to be added. + CollectionItem item = 1 [(google.api.field_behavior) = REQUIRED]; +} - // Search media asset. - rpc SearchAssets(SearchAssetsRequest) returns (SearchAssetsResponse) { - option (google.api.http) = { - post: "/v1/{corpus=projects/*/locations/*/corpora/*}:searchAssets" - body: "*" - }; - } +// Response message for AddCollectionItem. +message AddCollectionItemResponse { + // The item that has already been added. + CollectionItem item = 1; } -// Different types for a facet bucket. -enum FacetBucketType { - // Unspecified type. - FACET_BUCKET_TYPE_UNSPECIFIED = 0; +// Request message for RemoveCollectionItem. +message RemoveCollectionItemRequest { + // Required. The item to be removed. + CollectionItem item = 1 [(google.api.field_behavior) = REQUIRED]; +} - // Value type. - FACET_BUCKET_TYPE_VALUE = 1; +// Request message for RemoveCollectionItem. +message RemoveCollectionItemResponse { + // The item that has already been removed. + CollectionItem item = 1; +} - // Datetime type. - FACET_BUCKET_TYPE_DATETIME = 2; +// Request message for ViewCollectionItems. +message ViewCollectionItemsRequest { + // Required. The collection to view. Format: + // `projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection}` + string collection = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "visionai.googleapis.com/Collection" + } + ]; - // Fixed Range type. - FACET_BUCKET_TYPE_FIXED_RANGE = 3; + // The maximum number of collections to return. The service may return fewer + // than this value. If unspecified, at most 50 collections will be returned. + // The maximum value is 1000; values above 1000 will be coerced to 1000. + int32 page_size = 2; - // Custom Range type. - FACET_BUCKET_TYPE_CUSTOM_RANGE = 4; + // A page token, received from a previous `ViewCollectionItemsRequest` call. + // Provide this to retrieve the subsequent page. + // + // When paginating, all other parameters provided to + // `ViewCollectionItemsRequest` must match the call that provided the page + // token. + string page_token = 3; } -// Request message for CreateAssetRequest. -message CreateAssetRequest { - // Required. The parent resource where this asset will be created. - // Format: projects/*/locations/*/corpora/* - string parent = 1 [ +// Response message for ViewCollectionItems. +message ViewCollectionItemsResponse { + // The items from the specified collection. + repeated CollectionItem items = 1; + + // A token, which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; +} + +// A collection is a resource in a corpus. It serves as a container of +// references to original resources. +message Collection { + option (google.api.resource) = { + type: "visionai.googleapis.com/Collection" + pattern: "projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection}" + }; + + // Output only. Resource name of the collection. Format: + // `projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection}` + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. The collection name for displaying. + // The name can be up to 256 characters long. + string display_name = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Description of the collection. Can be up to 25000 characters + // long. + string description = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// A CollectionItem is an item in a collection. +// Each item is a reference to the original resource in a collection. +message CollectionItem { + // CollectionItem types. + enum Type { + // The default type of item should never happen. + TYPE_UNSPECIFIED = 0; + + // Asset type item. + ASSET = 1; + } + + // Required. The collection name that this item belongs to. Format: + // `projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection}` + string collection = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { - type: "visionai.googleapis.com/Corpus" + type: "visionai.googleapis.com/Collection" } ]; - // Required. The asset to create. - Asset asset = 2 [(google.api.field_behavior) = REQUIRED]; + // Required. The type of item. + Type type = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The name of the CollectionItem. Its format depends on the `type` + // above. For ASSET: + // `projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}` + string item_resource = 3 [(google.api.field_behavior) = REQUIRED]; +} - // Optional. The ID to use for the asset, which will become the final component of - // the asset's resource name if user choose to specify. Otherwise, asset id - // will be generated by system. +// Message for creating an Index. +message CreateIndexRequest { + // Required. Value for the parent. The resource name of the Corpus under which + // this index is created. Format: + // `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "visionai.googleapis.com/Corpus" } + ]; + + // Optional. The ID for the index. This will become the final resource name + // for the index. If the user does not specify this value, it will be + // generated by system. // // This value should be up to 63 characters, and valid characters // are /[a-z][0-9]-/. The first character must be a letter, the last could be // a letter or a number. - optional string asset_id = 3 [(google.api.field_behavior) = OPTIONAL]; + string index_id = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Required. The index being created. + Index index = 3 [(google.api.field_behavior) = REQUIRED]; } -// Request message for GetAsset. -message GetAssetRequest { - // Required. The name of the asset to retrieve. +// Metadata message for CreateIndexRequest +message CreateIndexMetadata { + // Common metadata of the long-running operation. + OperationMetadata operation_metadata = 1; +} + +// Request message for UpdateIndex. +message UpdateIndexRequest { + // Required. The resource being updated. + Index index = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. Field mask is used to specify the fields to be overwritten in the + // Index resource by the update. The fields specified in the update_mask are + // relative to the resource, not the full request. A field of the resource + // will be overwritten if it is in the mask. Empty field mask is not allowed. + // If the mask is "*", it triggers a full update of the index, and also a + // whole rebuild of index data. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; +} + +// Metadata message for UpdateIndexRequest +message UpdateIndexMetadata { + // Common metadata of the long-running operation. + OperationMetadata operation_metadata = 1; +} + +// Request message for getting an Index. +message GetIndexRequest { + // Required. Name of the Index resource. // Format: - // projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset} + // `projects/{project_number}/locations/{location}/corpora/{corpus}/indexes/{index}` string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "visionai.googleapis.com/Asset" - } + (google.api.resource_reference) = { type: "visionai.googleapis.com/Index" } ]; } -// Request message for ListAssets. -message ListAssetsRequest { - // Required. The parent, which owns this collection of assets. +// Request message for listing Indexes. +message ListIndexesRequest { + // Required. The parent corpus that owns this collection of indexes. // Format: - // projects/{project_number}/locations/{location}/corpora/{corpus} + // `projects/{project_number}/locations/{location}/corpora/{corpus}` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { - child_type: "visionai.googleapis.com/Asset" + child_type: "visionai.googleapis.com/Index" } ]; - // The maximum number of assets to return. The service may return fewer than + // The maximum number of indexes to return. The service may return fewer than // this value. - // If unspecified, at most 50 assets will be returned. + // If unspecified, at most 50 indexes will be returned. // The maximum value is 1000; values above 1000 will be coerced to 1000. int32 page_size = 2; - // A page token, received from a previous `ListAssets` call. + // A page token, received from a previous `ListIndexes` call. // Provide this to retrieve the subsequent page. // - // When paginating, all other parameters provided to `ListAssets` must match + // When paginating, all other parameters provided to `ListIndexes` must match // the call that provided the page token. string page_token = 3; } -// Response message for ListAssets. -message ListAssetsResponse { - // The assets from the specified corpus. - repeated Asset assets = 1; +// Response message for ListIndexes. +message ListIndexesResponse { + // The indexes under the specified corpus. + repeated Index indexes = 1; // A token, which can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are no subsequent pages. string next_page_token = 2; } -// Response message for UpdateAsset. -message UpdateAssetRequest { - // Required. The asset to update. - // - // The asset's `name` field is used to identify the asset to be updated. - // Format: - // projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset} - Asset asset = 1 [(google.api.field_behavior) = REQUIRED]; - - // The list of fields to be updated. - google.protobuf.FieldMask update_mask = 2; -} - -// Request message for DeleteAsset. -message DeleteAssetRequest { - // Required. The name of the asset to delete. +// Request message for DeleteIndex. +message DeleteIndexRequest { + // Required. The name of the index to delete. // Format: - // projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset} + // `projects/{project_number}/locations/{location}/corpora/{corpus}/indexes/{index}` string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "visionai.googleapis.com/Asset" - } + (google.api.resource_reference) = { type: "visionai.googleapis.com/Index" } ]; } -// An asset is a resource in corpus. It represents a media object inside corpus, -// contains metadata and another resource annotation. Different feature could be -// applied to the asset to generate annotations. User could specified annotation -// related to the target asset. -message Asset { +// Metadata message for DeleteIndexRequest +message DeleteIndexMetadata {} + +// An Index is a resource in Corpus. It contains an indexed version of the +// assets and annotations. When deployed to an endpoint, it will allow users to +// search the Index. +message Index { option (google.api.resource) = { - type: "visionai.googleapis.com/Asset" - pattern: "projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}" + type: "visionai.googleapis.com/Index" + pattern: "projects/{project_number}/locations/{location}/corpora/{corpus}/indexes/{index}" }; - // Resource name of the asset. - // Form: - // `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}` - string name = 1; + // Enum representing the different states through which an Index might cycle + // during its lifetime. + enum State { + // The default value. Should not be used. + STATE_UNSPECIFIED = 0; - // The duration for which all media assets, associated metadata, and search - // documents can exist. If not set, then it will using the default ttl in the - // parent corpus resource. - google.protobuf.Duration ttl = 2; -} + // State CREATING. + CREATING = 1; -// Request message of CreateCorpus API. -message CreateCorpusRequest { - // Required. Form: `projects/{project_number}/locations/{location_id}` - string parent = 1 [(google.api.field_behavior) = REQUIRED]; + // State CREATED. + CREATED = 2; - // Required. The corpus to be created. - Corpus corpus = 2 [(google.api.field_behavior) = REQUIRED]; -} + // State UPDATING. + UPDATING = 3; + } -// Metadata for CreateCorpus API. -message CreateCorpusMetadata { + // Specifies how assets are selected for this index. Default to + // entire_corpus if unspecified. Behavior in UpdateIndex: if update_mask + // includes one of the asset_filter field paths, the index will be rebuilt + // with latest assets, including their analyzed data and annotations. + oneof asset_filter { + // Include all assets under the corpus. + bool entire_corpus = 9; + } + + // Output only. Resource name of the Index resource. + // Format: + // `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/indexes/{index_id}` + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. Optional user-specified display name of the index. + string display_name = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Optional description of the index. + string description = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Output only. State of the index. + State state = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The create timestamp. + google.protobuf.Timestamp create_time = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The update timestamp. + google.protobuf.Timestamp update_time = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. References to the deployed index instance. + // Index of VIDEO_ON_DEMAND corpus can have at most one deployed index. + // Index of IMAGE corpus can have multiple deployed indexes. + repeated DeployedIndexReference deployed_indexes = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} +// Points to a DeployedIndex. +message DeployedIndexReference { + // Immutable. A resource name of the IndexEndpoint. + string index_endpoint = 1 [ + (google.api.field_behavior) = IMMUTABLE, + (google.api.resource_reference) = { + type: "visionai.googleapis.com/IndexEndpoint" + } + ]; } -// Corpus is a set of video contents for management. Within a corpus, videos -// share the same data schema. Search is also restricted within a single corpus. +// Corpus is a set of media contents for management. +// Within a corpus, media shares the same data schema. Search is also restricted +// within a single corpus. message Corpus { option (google.api.resource) = { type: "visionai.googleapis.com/Corpus" pattern: "projects/{project_number}/locations/{location}/corpora/{corpus}" }; + // Type of the asset inside the corpus. + enum Type { + // The default type, not supposed to be used. If this default type is used, + // the corpus will be created as STREAM_VIDEO corpus. + TYPE_UNSPECIFIED = 0; + + // Asset is a live streaming video. + STREAM_VIDEO = 1; + + // Asset is an image. + IMAGE = 2; + + // Asset is a batch video. + VIDEO_ON_DEMAND = 3; + } + // Resource name of the corpus. - // Form: + // Format: // `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}` string name = 1; - // Required. The corpus name to shown in the UI. The name can be up to 32 characters - // long. + // Required. The corpus name to shown in the UI. The name can be up to 32 + // characters long. string display_name = 2 [(google.api.field_behavior) = REQUIRED]; // Optional. Description of the corpus. Can be up to 25000 characters long. string description = 3 [(google.api.field_behavior) = OPTIONAL]; - // Required. The default TTL value for all assets under the corpus without a asset level - // user-defined TTL with a maximum of 10 years. This is required for all - // corpora. - google.protobuf.Duration default_ttl = 5 [(google.api.field_behavior) = REQUIRED]; + // Optional. The default TTL value for all assets under the corpus without a + // asset level user-defined TTL. For STREAM_VIDEO type corpora, this is + // required and the maximum allowed + // default_ttl is 10 years. + google.protobuf.Duration default_ttl = 5 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Type of the asset inside corpus. + Type type = 7 [(google.api.field_behavior) = OPTIONAL]; + + // Default search capability setting on corpus level. + SearchCapabilitySetting search_capability_setting = 8; } // Request message for GetCorpus. @@ -513,9 +1645,7 @@ message GetCorpusRequest { // Required. The resource name of the corpus to retrieve. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "visionai.googleapis.com/Corpus" - } + (google.api.resource_reference) = { type: "visionai.googleapis.com/Corpus" } ]; } @@ -541,9 +1671,18 @@ message ListCorporaRequest { int32 page_size = 2; // A token identifying a page of results for the server to return. - // Typically obtained via [ListCorpora.next_page_token][] of the previous - // [Warehouse.ListCorpora][google.cloud.visionai.v1.Warehouse.ListCorpora] call. + // Typically obtained via + // [ListCorporaResponse.next_page_token][google.cloud.visionai.v1.ListCorporaResponse.next_page_token] + // of the previous + // [Warehouse.ListCorpora][google.cloud.visionai.v1.Warehouse.ListCorpora] + // call. string page_token = 3; + + // The filter applied to the returned corpora list. + // Only the following restrictions are supported: + // `type=`, + // `type!=`. + string filter = 5; } // Response message for ListCorpora. @@ -552,7 +1691,9 @@ message ListCorporaResponse { repeated Corpus corpora = 1; // A token to retrieve next page of results. - // Pass to [ListCorporaRequest.page_token][google.cloud.visionai.v1.ListCorporaRequest.page_token] to obtain that page. + // Pass to + // [ListCorporaRequest.page_token][google.cloud.visionai.v1.ListCorporaRequest.page_token] + // to obtain that page. string next_page_token = 2; } @@ -561,21 +1702,38 @@ message DeleteCorpusRequest { // Required. The resource name of the corpus to delete. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "visionai.googleapis.com/Corpus" - } + (google.api.resource_reference) = { type: "visionai.googleapis.com/Corpus" } + ]; +} + +// Request message for AnalyzeCorpus. +message AnalyzeCorpusRequest { + // Required. The parent corpus resource where the assets will be analyzed. + // Format: + // `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "visionai.googleapis.com/Corpus" } ]; } +// The metadata message for AnalyzeCorpus LRO. +message AnalyzeCorpusMetadata { + // The metadata of the operation. + OperationMetadata metadata = 1; +} + +// The response message for AnalyzeCorpus LRO. +message AnalyzeCorpusResponse {} + // Request message for CreateDataSchema. message CreateDataSchemaRequest { // Required. The parent resource where this data schema will be created. - // Format: projects/*/locations/*/corpora/* + // Format: + // `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}` string parent = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "visionai.googleapis.com/Corpus" - } + (google.api.resource_reference) = { type: "visionai.googleapis.com/Corpus" } ]; // Required. The data schema to create. @@ -595,10 +1753,10 @@ message DataSchema { // where {data_schema} part should be the same as the `key` field below. string name = 1; - // Required. The key of this data schema. This key should be matching the key of user - // specified annotation and unique inside corpus. This value can be up to - // 63 characters, and valid characters are /[a-z][0-9]-/. The first character - // must be a letter, the last could be a letter or a number. + // Required. The key of this data schema. This key should be matching the key + // of user specified annotation and unique inside corpus. This value can be up + // to 63 characters, and valid characters are /[a-z][0-9]-/. The first + // character must be a letter, the last could be a letter or a number. string key = 2 [(google.api.field_behavior) = REQUIRED]; // The schema details mapping to the key. @@ -614,6 +1772,18 @@ message DataSchemaDetails { string type_uri = 1; } + // The configuration for `LIST` data type. + message ListConfig { + // The value's data schema in the list. + DataSchemaDetails value_schema = 1; + } + + // The configuration for `CUSTOMIZED_STRUCT` data type. + message CustomizedStructConfig { + // Direct child elements data schemas. + map field_schemas = 1; + } + // The search strategy for annotations value of the `key`. message SearchStrategy { // The types of search strategies to be applied on the annotation key. @@ -713,6 +1883,24 @@ message DataSchemaDetails { // - DataSchema.SearchStrategy.NO_SEARCH, // - DataSchema.SearchStrategy.EXACT_SEARCH. BOOLEAN = 9; + + // List type. + // - Each element in the list must be of the exact same data schema; + // otherwise, they are invalid arguments. + // - List level cannot set search strategy. Leaf node level can do. + // - Elements cannot be another list (no list of list). + // - Elements can be CUSTOMIZED_STRUCT, and max number of layers is 10. + LIST = 10; + + // Struct type. + // - SearchStrategy: + // * Data Schema that's CUSTOMIZED_STRUCT cannot set search strategy. + // * Leaf-node elements allow setting search strategy based on element's + // SearchStrategy restriction. + // - Nested layer restrictions: + // * Data Schema that's CUSTOMIZED_STRUCT allows its fields to be of + // CUSTOMIZED_STRUCT as well, but the overall layers restriction is 10. + CUSTOMIZED_STRUCT = 6; } // The granularity of annotations under this DataSchema. @@ -733,6 +1921,12 @@ message DataSchemaDetails { // Config for protobuf any type. ProtoAnyConfig proto_any_config = 6; + // Config for List data type. + ListConfig list_config = 8; + + // Config for CustomizedStruct data type. + CustomizedStructConfig customized_struct_config = 9; + // The granularity associated with this DataSchema. Granularity granularity = 5; @@ -742,9 +1936,9 @@ message DataSchemaDetails { // Request message for UpdateDataSchema. message UpdateDataSchemaRequest { - // Required. The data schema's `name` field is used to identify the data schema to be - // updated. Format: - // projects/{project_number}/locations/{location}/corpora/{corpus}/dataSchemas/{data_schema} + // Required. The data schema's `name` field is used to identify the data + // schema to be updated. Format: + // `projects/{project_number}/locations/{location}/corpora/{corpus}/dataSchemas/{data_schema}` DataSchema data_schema = 1 [(google.api.field_behavior) = REQUIRED]; // The list of fields to be updated. @@ -755,7 +1949,7 @@ message UpdateDataSchemaRequest { message GetDataSchemaRequest { // Required. The name of the data schema to retrieve. // Format: - // projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/dataSchemas/{data_schema_id} + // `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/dataSchemas/{data_schema_id}` string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -768,7 +1962,7 @@ message GetDataSchemaRequest { message DeleteDataSchemaRequest { // Required. The name of the data schema to delete. // Format: - // projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/dataSchemas/{data_schema_id} + // `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/dataSchemas/{data_schema_id}` string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -781,7 +1975,7 @@ message DeleteDataSchemaRequest { message ListDataSchemasRequest { // Required. The parent, which owns this collection of data schemas. // Format: - // projects/{project_number}/locations/{location_id}/corpora/{corpus_id} + // `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -815,20 +2009,19 @@ message ListDataSchemasResponse { // Request message for CreateAnnotation. message CreateAnnotationRequest { // Required. The parent resource where this annotation will be created. - // Format: projects/*/locations/*/corpora/*/assets/* + // Format: + // `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}` string parent = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "visionai.googleapis.com/Asset" - } + (google.api.resource_reference) = { type: "visionai.googleapis.com/Asset" } ]; // Required. The annotation to create. Annotation annotation = 2 [(google.api.field_behavior) = REQUIRED]; - // Optional. The ID to use for the annotation, which will become the final component of - // the annotation's resource name if user choose to specify. Otherwise, - // annotation id will be generated by system. + // Optional. The ID to use for the annotation, which will become the final + // component of the annotation's resource name if user choose to specify. + // Otherwise, annotation id will be generated by system. // // This value should be up to 63 characters, and valid characters // are /[a-z][0-9]-/. The first character must be a letter, the last could be @@ -845,7 +2038,7 @@ message Annotation { }; // Resource name of the annotation. - // Form: + // Format: // `projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}/annotations/{annotation}` string name = 1; @@ -855,7 +2048,8 @@ message Annotation { // Annotation provided by users. message UserSpecifiedAnnotation { - // Required. Key of the annotation. The key must be set with type by CreateDataSchema. + // Required. Key of the annotation. The key must be set with type by + // CreateDataSchema. string key = 1 [(google.api.field_behavior) = REQUIRED]; // Value of the annotation. The value must be able to convert @@ -899,19 +2093,38 @@ message AnnotationValue { // Value of boolean type annotation. bool bool_value = 9; - // Value of customized struct annotation. - google.protobuf.Struct customized_struct_data_value = 10; - } + // Value of customized struct annotation. This field does not have effects. + // Use customized_struct_value instead for customized struct annotation. + google.protobuf.Struct customized_struct_data_value = 10; + + // Value of list type annotation. + AnnotationList list_value = 11; + + // Value of custom struct type annotation. + AnnotationCustomizedStruct customized_struct_value = 6; + } +} + +// List representation in annotation. +message AnnotationList { + // The values of `LIST` data type annotation. + repeated AnnotationValue values = 1; +} + +// Customized struct represnation in annotation. +message AnnotationCustomizedStruct { + // A map from elements' keys to element's annotation value. + map elements = 2; } // Request message for GetAnnotation API. message ListAnnotationsRequest { // The parent, which owns this collection of annotations. // Format: - // projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset} - string parent = 1 [(google.api.resource_reference) = { - type: "visionai.googleapis.com/Asset" - }]; + // `projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}` + string parent = 1 [ + (google.api.resource_reference) = { type: "visionai.googleapis.com/Asset" } + ]; // The maximum number of annotations to return. The service may return fewer // than this value. If unspecified, at most 50 annotations will be returned. @@ -929,6 +2142,7 @@ message ListAnnotationsRequest { // We only support filtering for the following fields: // `partition.temporal_partition.start_time`, // `partition.temporal_partition.end_time`, and `key`. + // For corpus of IMAGE type, only `key` is supported. // Timestamps are specified in the RFC-3339 format, and only one restriction // may be applied per field, joined by conjunctions. // Format: @@ -952,7 +2166,7 @@ message ListAnnotationsResponse { message GetAnnotationRequest { // Required. The name of the annotation to retrieve. // Format: - // projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}/annotations/{annotation} + // `projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}/annotations/{annotation}` string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -966,7 +2180,7 @@ message UpdateAnnotationRequest { // Required. The annotation to update. // The annotation's `name` field is used to identify the annotation to be // updated. Format: - // projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}/annotations/{annotation} + // `projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}/annotations/{annotation}` Annotation annotation = 1 [(google.api.field_behavior) = REQUIRED]; // The list of fields to be updated. @@ -977,7 +2191,7 @@ message UpdateAnnotationRequest { message DeleteAnnotationRequest { // Required. The name of the annotation to delete. // Format: - // projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}/annotations/{annotation} + // `projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}/annotations/{annotation}` string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -986,10 +2200,40 @@ message DeleteAnnotationRequest { ]; } +// The request message for ImportAssets. +message ImportAssetsRequest { + // The source. + oneof source { + // The file contains all assets information to be imported. + // * The file is in JSONL format. + // * Each line corresponding to one asset. + // * Each line will be converted into InputImageAsset proto. + string assets_gcs_uri = 2; + } + + // Required. The parent corpus resource where the assets will be imported. + // Format: + // `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "visionai.googleapis.com/Corpus" } + ]; +} + +// The metadata message for ImportAssets LRO. +message ImportAssetsMetadata { + // The metadata of the operation. + OperationMetadata metadata = 1; +} + +// The response message for ImportAssets LRO. +message ImportAssetsResponse {} + // Request message for CreateSearchConfig. message CreateSearchConfigRequest { - // Required. The parent resource where this search configuration will be created. - // Format: projects/*/locations/*/corpora/* + // Required. The parent resource where this search configuration will be + // created. Format: + // `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1000,10 +2244,10 @@ message CreateSearchConfigRequest { // Required. The search config to create. SearchConfig search_config = 2 [(google.api.field_behavior) = REQUIRED]; - // Required. ID to use for the new search config. Will become the final component of the - // SearchConfig's resource name. This value should be up to 63 characters, and - // valid characters are /[a-z][0-9]-_/. The first character must be a letter, - // the last could be a letter or a number. + // Required. ID to use for the new search config. Will become the final + // component of the SearchConfig's resource name. This value should be up to + // 63 characters, and valid characters are /[a-z][0-9]-_/. The first character + // must be a letter, the last could be a letter or a number. string search_config_id = 3 [(google.api.field_behavior) = REQUIRED]; } @@ -1013,7 +2257,7 @@ message UpdateSearchConfigRequest { // // The search configuration's `name` field is used to identify the resource to // be updated. Format: - // projects/{project_number}/locations/{location}/corpora/{corpus}/searchConfigs/{search_config} + // `projects/{project_number}/locations/{location}/corpora/{corpus}/searchConfigs/{search_config}` SearchConfig search_config = 1 [(google.api.field_behavior) = REQUIRED]; // The list of fields to be updated. If left unset, all field paths will be @@ -1025,7 +2269,7 @@ message UpdateSearchConfigRequest { message GetSearchConfigRequest { // Required. The name of the search configuration to retrieve. // Format: - // projects/{project_number}/locations/{location}/corpora/{corpus}/searchConfigs/{search_config} + // `projects/{project_number}/locations/{location}/corpora/{corpus}/searchConfigs/{search_config}` string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1038,7 +2282,7 @@ message GetSearchConfigRequest { message DeleteSearchConfigRequest { // Required. The name of the search configuration to delete. // Format: - // projects/{project_number}/locations/{location}/corpora/{corpus}/searchConfigs/{search_config} + // `projects/{project_number}/locations/{location}/corpora/{corpus}/searchConfigs/{search_config}` string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1051,7 +2295,7 @@ message DeleteSearchConfigRequest { message ListSearchConfigsRequest { // Required. The parent, which owns this collection of search configurations. // Format: - // projects/{project_number}/locations/{location}/corpora/{corpus} + // `projects/{project_number}/locations/{location}/corpora/{corpus}` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1095,7 +2339,7 @@ message SearchConfig { // For CustomSearchCriteria, search_config would be the search // operator name. For Facets, search_config would be the facet // dimension name. - // Form: + // Format: // `projects/{project_number}/locations/{location}/corpora/{corpus}/searchConfigs/{search_config}` string name = 1; @@ -1106,6 +2350,270 @@ message SearchConfig { SearchCriteriaProperty search_criteria_property = 3; } +// Message representing IndexEndpoint resource. Indexes are deployed into it. +message IndexEndpoint { + option (google.api.resource) = { + type: "visionai.googleapis.com/IndexEndpoint" + pattern: "projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}" + }; + + // IndexEndpoint stage. + enum State { + // The default value. Should not be used. + STATE_UNSPECIFIED = 0; + + // State CREATING. + CREATING = 1; + + // State CREATED. + CREATED = 2; + + // State UPDATING. + UPDATING = 3; + + // State FAILED. + FAILED = 4; + } + + // Output only. Resource name of the IndexEndpoint. + // Format: + // `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint_id}` + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. Display name of the IndexEndpoint. Can be up to 32 characters + // long. + string display_name = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Description of the IndexEndpoint. Can be up to 25000 characters + // long. + string description = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Output only. The Index deployed in this IndexEndpoint. + DeployedIndex deployed_index = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. IndexEndpoint state. + State state = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. The labels applied to a resource must meet the following + // requirements: + // + // * Each resource can have multiple labels, up to a maximum of 64. + // * Each label must be a key-value pair. + // * Keys have a minimum length of 1 character and a maximum length of 63 + // characters and cannot be empty. Values can be empty and have a maximum + // length of 63 characters. + // * Keys and values can contain only lowercase letters, numeric characters, + // underscores, and dashes. All characters must use UTF-8 encoding, and + // international characters are allowed. + // * The key portion of a label must be unique. However, you can use the same + // key with multiple resources. + // * Keys must start with a lowercase letter or international character. + // + // See [Google Cloud + // Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) + // for more details. + map labels = 6 [(google.api.field_behavior) = OPTIONAL]; + + // Output only. Create timestamp. + google.protobuf.Timestamp create_time = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Update timestamp. + google.protobuf.Timestamp update_time = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// Request message for CreateIndexEndpoint. +message CreateIndexEndpointRequest { + // Required. Format: `projects/{project}/locations/{location}` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "locations.googleapis.com/Location" + } + ]; + + // Optional. The ID to use for the IndexEndpoint, which will become the final + // component of the IndexEndpoint's resource name if the user specifies it. + // Otherwise, IndexEndpoint id will be autogenerated. + // + // This value should be up to 63 characters, and valid characters + // are a-z, 0-9 and dash (-). The first character must be a letter, the last + // must be a letter or a number. + string index_endpoint_id = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Required. The resource being created. + IndexEndpoint index_endpoint = 3 [(google.api.field_behavior) = REQUIRED]; +} + +// Metadata message for CreateIndexEndpoint. +message CreateIndexEndpointMetadata { + // Common metadata of the long-running operation. + OperationMetadata operation_metadata = 1; +} + +// Request message for GetIndexEndpoint. +message GetIndexEndpointRequest { + // Required. Name of the IndexEndpoint resource. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "visionai.googleapis.com/IndexEndpoint" + } + ]; +} + +// Request message for ListIndexEndpoints. +message ListIndexEndpointsRequest { + // Required. Format: `projects/{project}/locations/{location}` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "locations.googleapis.com/Location" + } + ]; + + // Optional. Requested page size. Server may return fewer items than + // requested. The service may return fewer than this value. If unspecified, a + // page size of 50 will be used. The maximum value is 1000; values above 1000 + // will be coerced to 1000. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. A token identifying a page of results the server should return. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The filter applied to the returned list. + // We only support filtering for the `deployed_image_index.image_index` field. + // However, to filter by a corpus instead of an image index, simply use + // `deployed_image_index.corpus`, which will return all endpoints with + // `deployed_image_index.image_index` inside of the given corpus. + // A basic filter on image index would look like: + // deployed_image_index.image_index = + // "projects/123/locations/us-central1/corpora/my_corpus/imageIndexes/my_image_index" + // A basic filter on corpus would look like: + // deployed_image_index.corpus = + // "projects/123/locations/us-central1/corpora/my_corpus" + string filter = 4 [(google.api.field_behavior) = OPTIONAL]; +} + +// Response message for ListIndexEndpoints. +message ListIndexEndpointsResponse { + // The list of IndexEndpoints. + repeated IndexEndpoint index_endpoints = 1; + + // A token identifying a page of results the server should return. + string next_page_token = 2; +} + +// Request message for UpdateIndexEndpoint. +message UpdateIndexEndpointRequest { + // Required. The resource being updated. + IndexEndpoint index_endpoint = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. Field mask is used to specify the fields to be overwritten in the + // IndexEndpoint resource by the update. + // The fields specified in the update_mask are relative to the resource, not + // the full request. + // A field of the resource will be overwritten if it is in the mask. + // Empty field mask is not allowed. + // If the mask is "*", then this is a full replacement of the resource. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; +} + +// Metadata message for UpdateIndexEndpoint. +message UpdateIndexEndpointMetadata { + // Common metadata of the long-running operation. + OperationMetadata operation_metadata = 1; +} + +// Request message for DeleteIndexEndpoint. +message DeleteIndexEndpointRequest { + // Required. Name of the resource. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "visionai.googleapis.com/IndexEndpoint" + } + ]; +} + +// Metadata message for DeleteIndexEndpoint. +message DeleteIndexEndpointMetadata { + // Common metadata of the long-running operation. + OperationMetadata operation_metadata = 1; +} + +// Request message for DeployIndex. +message DeployIndexRequest { + // Required. IndexEndpoint the index is deployed to. + // Format: + // `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}` + string index_endpoint = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "visionai.googleapis.com/IndexEndpoint" + } + ]; + + // Required. Index to deploy. + DeployedIndex deployed_index = 3 [(google.api.field_behavior) = REQUIRED]; +} + +// DeployIndex response once the operation is done. +message DeployIndexResponse {} + +// Metadata message for DeployIndex. +message DeployIndexMetadata { + // Common metadata of the long-running operation. + OperationMetadata operation_metadata = 1; + + // Output only. The index being deployed. + string deployed_index = 2 [ + (google.api.field_behavior) = OUTPUT_ONLY, + (google.api.resource_reference) = { type: "visionai.googleapis.com/Index" } + ]; +} + +// Metadata message for UndeployIndex. +message UndeployIndexMetadata { + // Common metadata of the long-running operation. + OperationMetadata operation_metadata = 1; + + // Output only. The index being undeployed. + string deployed_index = 2 [ + (google.api.field_behavior) = OUTPUT_ONLY, + (google.api.resource_reference) = { type: "visionai.googleapis.com/Index" } + ]; +} + +// Request message for UndeployIndexEndpoint. +message UndeployIndexRequest { + // Required. Resource name of the IndexEndpoint resource on which the + // undeployment will act. Format: + // `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}` + string index_endpoint = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "visionai.googleapis.com/IndexEndpoint" + } + ]; +} + +// UndeployIndex response once the operation is done. +message UndeployIndexResponse {} + +// A deployment of an Index. +message DeployedIndex { + // Required. Name of the deployed Index. + // Format: + // `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/indexes/{index_id}` + string index = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "visionai.googleapis.com/Index" } + ]; +} + // Central configuration for a facet. message FacetProperty { // If bucket type is FIXED_RANGE, specify how values are bucketized. Use @@ -1201,6 +2709,123 @@ message FacetProperty { FacetBucketType bucket_type = 4; } +// Search resource: SearchHypernym. +// For example, +// { hypernym: "vehicle" +// hyponyms: ["sedan", "truck"] } +// This means in SMART_SEARCH mode, searching for "vehicle" will also return +// results with "sedan" or "truck" as annotations. +message SearchHypernym { + option (google.api.resource) = { + type: "visionai.googleapis.com/SearchHypernym" + pattern: "projects/{project_number}/locations/{location}/corpora/{corpus}/searchHypernyms/{search_hypernym}" + }; + + // Resource name of the SearchHypernym. + // Format: + // `projects/{project_number}/locations/{location}/corpora/{corpus}/searchHypernyms/{search_hypernym}` + string name = 1; + + // The hypernym. + string hypernym = 2; + + // Hyponyms that the hypernym is mapped to. + repeated string hyponyms = 3; +} + +// Request message for creating SearchHypernym. +message CreateSearchHypernymRequest { + // Required. The parent resource where this SearchHypernym will be created. + // Format: `projects/{project_number}/locations/{location}/corpora/{corpus}` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "visionai.googleapis.com/Corpus" } + ]; + + // Required. The SearchHypernym to create. + SearchHypernym search_hypernym = 2 [(google.api.field_behavior) = REQUIRED]; + + // Optional. The search hypernym id. + // If omitted, a random UUID will be generated. + optional string search_hypernym_id = 3 + [(google.api.field_behavior) = OPTIONAL]; +} + +// Request message for updating SearchHypernym. +message UpdateSearchHypernymRequest { + // Required. The SearchHypernym to update. + // The search hypernym's `name` field is used to identify the search hypernym + // to be updated. Format: + // `projects/{project_number}/locations/{location}/corpora/{corpus}/searchHypernyms/{search_hypernym}` + SearchHypernym search_hypernym = 1 [(google.api.field_behavior) = REQUIRED]; + + // The list of fields to be updated. If left unset, all field paths will be + // updated/overwritten. + google.protobuf.FieldMask update_mask = 2; +} + +// Request message for getting SearchHypernym. +message GetSearchHypernymRequest { + // Required. The name of the SearchHypernym to retrieve. + // Format: + // `projects/{project_number}/locations/{location}/corpora/{corpus}/searchHypernyms/{search_hypernym}` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "visionai.googleapis.com/SearchHypernym" + } + ]; +} + +// Request message for deleting SearchHypernym. +message DeleteSearchHypernymRequest { + // Required. The name of the SearchHypernym to delete. + // Format: + // `projects/{project_number}/locations/{location}/corpora/{corpus}/searchHypernyms/{search_hypernym}` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "visionai.googleapis.com/SearchHypernym" + } + ]; +} + +// Request message for listing SearchHypernyms. +message ListSearchHypernymsRequest { + // Required. The parent, which owns this collection of SearchHypernyms. + // Format: + // `projects/{project_number}/locations/{location}/corpora/{corpus}` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "visionai.googleapis.com/SearchHypernym" + } + ]; + + // The maximum number of SearchHypernyms returned. The service may + // return fewer than this value. If unspecified, a page size of 50 will be + // used. The maximum value is 1000; values above 1000 will be coerced to 1000. + int32 page_size = 2; + + // A page token, received from a previous `SearchHypernym` call. + // Provide this to retrieve the subsequent page. + // + // When paginating, all other parameters provided to + // `SearchHypernym` must match the call that provided the page + // token. + string page_token = 3; +} + +// Response message for listing SearchHypernyms. +message ListSearchHypernymsResponse { + // The SearchHypernyms from the specified corpus. + repeated SearchHypernym search_hypernyms = 1; + + // A token, which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; +} + // Central configuration for custom search criteria. message SearchCriteriaProperty { // Each mapped_field corresponds to a UGA key. To understand how this property @@ -1317,7 +2942,8 @@ message IngestAssetRequest { VideoType video_type = 2; } - // Required. The resource name of the asset that the ingested data belongs to. + // Required. The resource name of the asset that the ingested data belongs + // to. string asset = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1355,17 +2981,16 @@ message IngestAssetResponse { // Request message for ClipAsset API. message ClipAssetRequest { // Required. The resource name of the asset to request clips for. - // Form: - // 'projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}' + // Format: + // `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}` string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "visionai.googleapis.com/Asset" - } + (google.api.resource_reference) = { type: "visionai.googleapis.com/Asset" } ]; // Required. The time range to request clips for. - Partition.TemporalPartition temporal_partition = 2 [(google.api.field_behavior) = REQUIRED]; + Partition.TemporalPartition temporal_partition = 2 + [(google.api.field_behavior) = REQUIRED]; } // Response message for ClipAsset API. @@ -1387,17 +3012,20 @@ message ClipAssetResponse { // Request message for GenerateHlsUri API. message GenerateHlsUriRequest { // Required. The resource name of the asset to request clips for. - // Form: - // 'projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}' + // Format: + // `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}` string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "visionai.googleapis.com/Asset" - } + (google.api.resource_reference) = { type: "visionai.googleapis.com/Asset" } ]; - // Required. The time range to request clips for. - repeated Partition.TemporalPartition temporal_partitions = 2 [(google.api.field_behavior) = REQUIRED]; + // The time range to request clips for. Will be ignored if `get_live_view` is + // set to True. The total time range requested should be smaller than 24h. + repeated Partition.TemporalPartition temporal_partitions = 2; + + // Option to exclusively show a livestream of the asset with up to 3 minutes + // of backlog data. + bool live_view_enabled = 3; } // Response message for GenerateHlsUri API. @@ -1413,13 +3041,18 @@ message GenerateHlsUriResponse { // Request message for SearchAssets. message SearchAssetsRequest { + // Sorting specification. If this field is not specified, by default: + // - STREAM_VIDEO: search results are sorted by the start time. + oneof sort_spec { + // Sort by the value under the data schema key. + SchemaKeySortingStrategy schema_key_sorting_strategy = 9; + } + // Required. The parent corpus to search. - // Form: `projects/{project_id}/locations/{location_id}/corpora/{corpus_id}' + // Format: `projects/{project_id}/locations/{location_id}/corpora/{corpus_id}' string corpus = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "visionai.googleapis.com/Corpus" - } + (google.api.resource_reference) = { type: "visionai.googleapis.com/Corpus" } ]; // The number of results to be returned in this page. If it's 0, the server @@ -1450,14 +3083,107 @@ message SearchAssetsRequest { // Annotation granularity must be GRANULARITY_ASSET_LEVEL and its search // strategy must not be NO_SEARCH. repeated string result_annotation_keys = 8; + + // Global search query. Allows user to search assets without needing to + // specify which field the value belongs to. + string search_query = 10; } -// The metadata for DeleteAsset API that embeds in -// [metadata][google.longrunning.Operation.metadata] field. -message DeleteAssetMetadata { +// Request message for SearchIndexEndpoint. +message SearchIndexEndpointRequest { + // The oneof global search query. + oneof query { + // An image-only query. + ImageQuery image_query = 2; + + // A text-only query. + string text_query = 3; + } + + // Required. The index endpoint to search. + // Format: + // `projects/{project_id}/locations/{location_id}/indexEndpoints/{index_endpoint_id}' + string index_endpoint = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "visionai.googleapis.com/IndexEndpoint" + } + ]; + + // Criteria applied to search results. + repeated Criteria criteria = 4; + + // Criteria to exclude from search results. + // Note that `fetch_matched_annotations` will be ignored. + repeated Criteria exclusion_criteria = 7; + + // Requested page size. API may return fewer results than requested. + // If negative, INVALID_ARGUMENT error will be returned. + // If unspecified or 0, API will pick a default size, which is 10. + // If the requested page size is larger than the maximum size, API will pick + // the maximum size, which is 100. + int32 page_size = 5; + + // The continuation token to fetch the next page. If empty, it means it is + // fetching the first page. + string page_token = 6; +} + +// Image query for search endpoint request. +message ImageQuery { + oneof image { + // Input image in raw bytes. + bytes input_image = 1; + + // Resource name of the asset. Only supported in IMAGE corpus type. + // Format: + // `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}` + string asset = 2 [(google.api.resource_reference) = { + type: "visionai.googleapis.com/Asset" + }]; + } +} + +// A strategy to specify how to sort by data schema key. +message SchemaKeySortingStrategy { + // Option for one data schema key. + message Option { + // When one result has multiple values with the same key, specify + // which value is used to sort. By default, AGGREGATE_METHOD_LARGEST + // is used when results are sorted in decreasing order, + // AGGREGATE_METHOD_SMALLEST is used when results are sorted in + // incresing order. + enum AggregateMethod { + // The unspecified aggregate method will be overwritten as mentioned + // above. + AGGREGATE_METHOD_UNSPECIFIED = 0; + + // Take the (lexicographical or numerical) largest value to sort. + AGGREGATE_METHOD_LARGEST = 1; + + // Take the (lexicographical or numerical) smallest value to sort. + AGGREGATE_METHOD_SMALLEST = 2; + } + + // The data used to sort. + string data_schema_key = 1; + + // Whether to sort in decreasing order or increasing order. + // By default, results are sorted in incresing order. + bool sort_decreasing = 2; + + // Aggregate method for the current data schema key. + optional AggregateMethod aggregate_method = 3; + } + // Options in the front have high priority than those in the back. + repeated Option options = 1; } +// The metadata for DeleteAsset API that embeds in +// [metadata][google.longrunning.Operation.metadata] field. +message DeleteAssetMetadata {} + // Stores the criteria-annotation matching results for each search result item. message AnnotationMatchingResult { // The criteria used for matching. It can be an input search criteria or a @@ -1476,8 +3202,8 @@ message AnnotationMatchingResult { // Search result contains asset name and corresponding time ranges. message SearchResultItem { // The resource name of the asset. - // Form: - // 'projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}' + // Format: + // `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}` string asset = 1; // The matched asset segments. @@ -1487,6 +3213,12 @@ message SearchResultItem { // The matched asset segment. Partition.TemporalPartition segment = 5; + // Relevance of this `SearchResultItem` to user search request. + // Currently available only in Image Warehouse, and by default represents + // cosine similarity. In the future can be other measures such as "dot + // product" or "topicality" requested in the search request. + double relevance = 6; + // Search result annotations specified by result_annotation_keys in search // request. repeated Annotation requested_annotations = 3; @@ -1510,6 +3242,16 @@ message SearchAssetsResponse { repeated FacetGroup facet_results = 3; } +// Response message for SearchIndexEndpoint. +message SearchIndexEndpointResponse { + // Returned search results. + repeated SearchResultItem search_result_items = 1; + + // The next-page continuation token. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; +} + // Integer range type. message IntRange { // Start of the int range. @@ -1609,8 +3351,9 @@ message Criteria { string field = 1; // If true, return query matched annotations for this criteria. - // This option is only applicable for partition level annotations and supports - // the following data types: + // This option is only applicable for inclusion criteria, i.e., not exclusion + // criteria, with partition level annotations. It supports the following data + // types: // - INTEGER // - FLOAT // - STRING (DataSchema.SearchStrategy.EXACT_SEARCH only) @@ -1621,7 +3364,8 @@ message Criteria { // Partition to specify the partition in time and space for sub-asset level // annotation. message Partition { - // Partition of asset in UTC Epoch time. + // Partition of asset in UTC Epoch time. Supported by STREAM_VIDEO corpus + // type. message TemporalPartition { // Start time of the partition. google.protobuf.Timestamp start_time = 1; @@ -1645,9 +3389,22 @@ message Partition { optional int64 y_max = 4; } + // Partition of asset in relative time. Supported by VIDEO_ON_DEMAND corpus + // type. + message RelativeTemporalPartition { + // Start time offset of the partition. + google.protobuf.Duration start_offset = 1; + + // End time offset of the partition. + google.protobuf.Duration end_offset = 2; + } + // Partition of asset in time. TemporalPartition temporal_partition = 1; // Partition of asset in space. SpatialPartition spatial_partition = 2; + + // Partition of asset in time. + RelativeTemporalPartition relative_temporal_partition = 3; } diff --git a/third_party/googleapis/google/cloud/visionai/v1alpha1/BUILD.bazel b/third_party/googleapis/google/cloud/visionai/v1alpha1/BUILD.bazel index 497a1f5f1..439df7186 100644 --- a/third_party/googleapis/google/cloud/visionai/v1alpha1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/visionai/v1alpha1/BUILD.bazel @@ -142,7 +142,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -181,19 +180,13 @@ go_gapic_library( ], ) -go_test( - name = "visionai_go_gapic_test", - srcs = [":visionai_go_gapic_srcjar_test"], - embed = [":visionai_go_gapic"], - importpath = "cloud.google.com/go/visionai/apiv1alpha1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-visionai-v1alpha1-go", deps = [ ":visionai_go_gapic", ":visionai_go_gapic_srcjar-metadata.srcjar", + ":visionai_go_gapic_srcjar-snippets.srcjar", ":visionai_go_gapic_srcjar-test.srcjar", ":visionai_go_proto", ], @@ -246,7 +239,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -255,12 +247,6 @@ php_proto_library( deps = [":visionai_proto"], ) -php_grpc_library( - name = "visionai_php_grpc", - srcs = [":visionai_proto"], - deps = [":visionai_php_proto"], -) - php_gapic_library( name = "visionai_php_gapic", srcs = [":visionai_proto_with_info"], @@ -268,10 +254,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "visionai_v1alpha1.yaml", transport = "grpc+rest", - deps = [ - ":visionai_php_grpc", - ":visionai_php_proto", - ], + deps = [":visionai_php_proto"], ) # Open Source Packages @@ -279,7 +262,6 @@ php_gapic_assembly_pkg( name = "google-cloud-visionai-v1alpha1-php", deps = [ ":visionai_php_gapic", - ":visionai_php_grpc", ":visionai_php_proto", ], ) @@ -343,6 +325,7 @@ ruby_cloud_gapic_library( grpc_service_config = "visionai_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "visionai_v1alpha1.yaml", + transport = "grpc+rest", deps = [ ":visionai_ruby_grpc", ":visionai_ruby_proto", diff --git a/third_party/googleapis/google/cloud/vmmigration/BUILD.bazel b/third_party/googleapis/google/cloud/vmmigration/BUILD.bazel index c9ffc120d..874fc4274 100644 --- a/third_party/googleapis/google/cloud/vmmigration/BUILD.bazel +++ b/third_party/googleapis/google/cloud/vmmigration/BUILD.bazel @@ -21,7 +21,7 @@ ruby_cloud_gapic_library( srcs = ["//google/cloud/vmmigration/v1:vmmigration_proto_with_info"], extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-vm_migration", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.8", "ruby-cloud-product-url=https://cloud.google.com/migrate/compute-engine/", "ruby-cloud-api-id=vmmigration.googleapis.com", "ruby-cloud-api-shortname=vmmigration", @@ -29,6 +29,7 @@ ruby_cloud_gapic_library( ], ruby_cloud_description = "Migrate for Compute Engine enables you to migrate (Lift and Shift) your virtual machines (VMs), with minor automatic modifications, from your source environment to Google Compute Engine.", ruby_cloud_title = "Migrate for Compute Engine", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/vmmigration/v1/BUILD.bazel b/third_party/googleapis/google/cloud/vmmigration/v1/BUILD.bazel index 84c07b0b6..feebeea5a 100644 --- a/third_party/googleapis/google/cloud/vmmigration/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/vmmigration/v1/BUILD.bazel @@ -122,7 +122,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -159,19 +158,13 @@ go_gapic_library( ], ) -go_test( - name = "vmmigration_go_gapic_test", - srcs = [":vmmigration_go_gapic_srcjar_test"], - embed = [":vmmigration_go_gapic"], - importpath = "cloud.google.com/go/vmmigration/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-vmmigration-v1-go", deps = [ ":vmmigration_go_gapic", ":vmmigration_go_gapic_srcjar-metadata.srcjar", + ":vmmigration_go_gapic_srcjar-snippets.srcjar", ":vmmigration_go_gapic_srcjar-test.srcjar", ":vmmigration_go_proto", ], @@ -225,7 +218,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -234,23 +226,15 @@ php_proto_library( deps = [":vmmigration_proto"], ) -php_grpc_library( - name = "vmmigration_php_grpc", - srcs = [":vmmigration_proto"], - deps = [":vmmigration_php_proto"], -) - php_gapic_library( name = "vmmigration_php_gapic", srcs = [":vmmigration_proto_with_info"], grpc_service_config = "vmmigration_v1_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "vmmigration_v1.yaml", transport = "grpc+rest", - deps = [ - ":vmmigration_php_grpc", - ":vmmigration_php_proto", - ], + deps = [":vmmigration_php_proto"], ) # Open Source Packages @@ -258,7 +242,6 @@ php_gapic_assembly_pkg( name = "google-cloud-vmmigration-v1-php", deps = [ ":vmmigration_php_gapic", - ":vmmigration_php_grpc", ":vmmigration_php_proto", ], ) @@ -330,6 +313,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Migrate for Compute Engine enables you to migrate (Lift and Shift) your virtual machines (VMs), with minor automatic modifications, from your source environment to Google Compute Engine.", ruby_cloud_title = "Migrate for Compute Engine V1", service_yaml = "vmmigration_v1.yaml", + transport = "grpc+rest", deps = [ ":vmmigration_ruby_grpc", ":vmmigration_ruby_proto", diff --git a/third_party/googleapis/google/cloud/vmwareengine/BUILD.bazel b/third_party/googleapis/google/cloud/vmwareengine/BUILD.bazel index ce0ead344..75b8d971b 100644 --- a/third_party/googleapis/google/cloud/vmwareengine/BUILD.bazel +++ b/third_party/googleapis/google/cloud/vmwareengine/BUILD.bazel @@ -21,13 +21,14 @@ ruby_cloud_gapic_library( srcs = ["//google/cloud/vmwareengine/v1:vmwareengine_proto_with_info"], extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-vmware_engine", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.6", "ruby-cloud-product-url=https://cloud.google.com/vmware-engine/", "ruby-cloud-api-id=vmwareengine.googleapis.com", "ruby-cloud-api-shortname=vmwareengine", ], ruby_cloud_description = "Google Cloud VMware Engine is a fully managed service that lets you run the VMware platform in Google Cloud. VMware Engine provides you with VMware operational continuity so you can benefit from a cloud consumption model and lower your total cost of ownership. VMware Engine also offers on-demand provisioning, pay-as-you-grow, and capacity optimization.", ruby_cloud_title = "Google Cloud VMware Engine", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/vmwareengine/v1/BUILD.bazel b/third_party/googleapis/google/cloud/vmwareengine/v1/BUILD.bazel index 654f44b06..6b583f699 100644 --- a/third_party/googleapis/google/cloud/vmwareengine/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/vmwareengine/v1/BUILD.bazel @@ -28,6 +28,7 @@ proto_library( "//google/api:annotations_proto", "//google/api:client_proto", "//google/api:field_behavior_proto", + "//google/api:field_info_proto", "//google/api:resource_proto", "//google/longrunning:operations_proto", "@com_google_protobuf//:empty_proto", @@ -120,7 +121,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -140,7 +140,7 @@ go_gapic_library( grpc_service_config = "vmwareengine_grpc_service_config.json", importpath = "cloud.google.com/go/vmwareengine/apiv1;vmwareengine", metadata = True, - release_level = "beta", + release_level = "ga", rest_numeric_enums = True, service_yaml = "vmwareengine_v1.yaml", transport = "grpc+rest", @@ -154,19 +154,13 @@ go_gapic_library( ], ) -go_test( - name = "vmwareengine_go_gapic_test", - srcs = [":vmwareengine_go_gapic_srcjar_test"], - embed = [":vmwareengine_go_gapic"], - importpath = "cloud.google.com/go/vmwareengine/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-vmwareengine-v1-go", deps = [ ":vmwareengine_go_gapic", ":vmwareengine_go_gapic_srcjar-metadata.srcjar", + ":vmwareengine_go_gapic_srcjar-snippets.srcjar", ":vmwareengine_go_gapic_srcjar-test.srcjar", ":vmwareengine_go_proto", ], @@ -219,7 +213,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -228,20 +221,15 @@ php_proto_library( deps = [":vmwareengine_proto"], ) -php_grpc_library( - name = "vmwareengine_php_grpc", - srcs = [":vmwareengine_proto"], - deps = [":vmwareengine_php_proto"], -) - php_gapic_library( name = "vmwareengine_php_gapic", srcs = [":vmwareengine_proto_with_info"], grpc_service_config = "vmwareengine_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "vmwareengine_v1.yaml", + transport = "grpc+rest", deps = [ - ":vmwareengine_php_grpc", ":vmwareengine_php_proto", ], ) @@ -251,7 +239,6 @@ php_gapic_assembly_pkg( name = "google-cloud-vmwareengine-v1-php", deps = [ ":vmwareengine_php_gapic", - ":vmwareengine_php_grpc", ":vmwareengine_php_proto", ], ) @@ -322,6 +309,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Google Cloud VMware Engine is a fully managed service that lets you run the VMware platform in Google Cloud. VMware Engine provides you with VMware operational continuity so you can benefit from a cloud consumption model and lower your total cost of ownership. VMware Engine also offers on-demand provisioning, pay-as-you-grow, and capacity optimization.", ruby_cloud_title = "Google Cloud VMware Engine V1", service_yaml = "vmwareengine_v1.yaml", + transport = "grpc+rest", deps = [ ":vmwareengine_ruby_grpc", ":vmwareengine_ruby_proto", @@ -351,6 +339,7 @@ load( csharp_proto_library( name = "vmwareengine_csharp_proto", + extra_opts = [], deps = [":vmwareengine_proto"], ) diff --git a/third_party/googleapis/google/cloud/vmwareengine/v1/vmwareengine.proto b/third_party/googleapis/google/cloud/vmwareengine/v1/vmwareengine.proto index 035c5bd39..b724f6854 100644 --- a/third_party/googleapis/google/cloud/vmwareengine/v1/vmwareengine.proto +++ b/third_party/googleapis/google/cloud/vmwareengine/v1/vmwareengine.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,14 +16,16 @@ syntax = "proto3"; package google.cloud.vmwareengine.v1; +import "google/longrunning/operations.proto"; +import "google/protobuf/timestamp.proto"; +import "google/protobuf/field_mask.proto"; import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; +import "google/api/field_info.proto"; import "google/api/resource.proto"; import "google/cloud/vmwareengine/v1/vmwareengine_resources.proto"; -import "google/longrunning/operations.proto"; -import "google/protobuf/field_mask.proto"; -import "google/protobuf/timestamp.proto"; +import "google/protobuf/empty.proto"; option csharp_namespace = "Google.Cloud.VmwareEngine.V1"; option go_package = "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb;vmwareenginepb"; @@ -61,9 +63,9 @@ service VmwareEngine { } // Creates a new `PrivateCloud` resource in a given project and location. - // Private clouds can only be created in zones, regional private clouds are - // not supported. - // + // Private clouds of type `STANDARD` and + // `TIME_LIMITED` are zonal resources, `STRETCHED` private clouds are + // regional. // Creating a private cloud also creates a [management // cluster](https://cloud.google.com/vmware-engine/docs/concepts-vmware-components) // for that private cloud. @@ -179,8 +181,7 @@ service VmwareEngine { }; } - // Modifies a `Cluster` resource. Only the following fields can be updated: - // `node_type_configs.*.node_count`. Only fields specified in `updateMask` are + // Modifies a `Cluster` resource. Only fields specified in `updateMask` are // applied. // // During operation processing, the resource is temporarily in the `ACTIVE` @@ -216,6 +217,103 @@ service VmwareEngine { }; } + // Lists nodes in a given cluster. + rpc ListNodes(ListNodesRequest) returns (ListNodesResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*/privateClouds/*/clusters/*}/nodes" + }; + option (google.api.method_signature) = "parent"; + } + + // Gets details of a single node. + rpc GetNode(GetNodeRequest) returns (Node) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*/privateClouds/*/clusters/*/nodes/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Lists external IP addresses assigned to VMware workload VMs in a given + // private cloud. + rpc ListExternalAddresses(ListExternalAddressesRequest) + returns (ListExternalAddressesResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*/privateClouds/*}/externalAddresses" + }; + option (google.api.method_signature) = "parent"; + } + + // Lists external IP addresses assigned to VMware workload VMs within the + // scope of the given network policy. + rpc FetchNetworkPolicyExternalAddresses( + FetchNetworkPolicyExternalAddressesRequest) + returns (FetchNetworkPolicyExternalAddressesResponse) { + option (google.api.http) = { + get: "/v1/{network_policy=projects/*/locations/*/networkPolicies/*}:fetchExternalAddresses" + }; + option (google.api.method_signature) = "network_policy"; + } + + // Gets details of a single external IP address. + rpc GetExternalAddress(GetExternalAddressRequest) returns (ExternalAddress) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*/privateClouds/*/externalAddresses/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Creates a new `ExternalAddress` resource in a given private cloud. The + // network policy that corresponds to the private cloud must have the external + // IP address network service enabled (`NetworkPolicy.external_ip`). + rpc CreateExternalAddress(CreateExternalAddressRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*/privateClouds/*}/externalAddresses" + body: "external_address" + }; + option (google.api.method_signature) = + "parent,external_address,external_address_id"; + option (google.longrunning.operation_info) = { + response_type: "ExternalAddress" + metadata_type: "OperationMetadata" + }; + } + + // Updates the parameters of a single external IP address. + // Only fields specified in `update_mask` are applied. + // + // During operation processing, the resource is temporarily in the `ACTIVE` + // state before the operation fully completes. For that period of time, you + // can't update the resource. Use the operation status to determine when the + // processing fully completes. + rpc UpdateExternalAddress(UpdateExternalAddressRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + patch: "/v1/{external_address.name=projects/*/locations/*/privateClouds/*/externalAddresses/*}" + body: "external_address" + }; + option (google.api.method_signature) = "external_address,update_mask"; + option (google.longrunning.operation_info) = { + response_type: "ExternalAddress" + metadata_type: "OperationMetadata" + }; + } + + // Deletes a single external IP address. When you delete an external IP + // address, connectivity between the external IP address and the corresponding + // internal IP address is lost. + rpc DeleteExternalAddress(DeleteExternalAddressRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + delete: "/v1/{name=projects/*/locations/*/privateClouds/*/externalAddresses/*}" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "OperationMetadata" + }; + } + // Lists subnets in a given private cloud. rpc ListSubnets(ListSubnetsRequest) returns (ListSubnetsResponse) { option (google.api.http) = { @@ -224,6 +322,154 @@ service VmwareEngine { option (google.api.method_signature) = "parent"; } + // Gets details of a single subnet. + rpc GetSubnet(GetSubnetRequest) returns (Subnet) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*/privateClouds/*/subnets/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Updates the parameters of a single subnet. Only fields specified in + // `update_mask` are applied. + // + // *Note*: This API is synchronous and always returns a successful + // `google.longrunning.Operation` (LRO). The returned LRO will only have + // `done` and `response` fields. + rpc UpdateSubnet(UpdateSubnetRequest) returns (google.longrunning.Operation) { + option (google.api.http) = { + patch: "/v1/{subnet.name=projects/*/locations/*/privateClouds/*/subnets/*}" + body: "subnet" + }; + option (google.api.method_signature) = "subnet,update_mask"; + option (google.longrunning.operation_info) = { + response_type: "Subnet" + metadata_type: "OperationMetadata" + }; + } + + // Lists `ExternalAccessRule` resources in the specified network policy. + rpc ListExternalAccessRules(ListExternalAccessRulesRequest) + returns (ListExternalAccessRulesResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*/networkPolicies/*}/externalAccessRules" + }; + option (google.api.method_signature) = "parent"; + } + + // Gets details of a single external access rule. + rpc GetExternalAccessRule(GetExternalAccessRuleRequest) + returns (ExternalAccessRule) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*/networkPolicies/*/externalAccessRules/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Creates a new external access rule in a given network policy. + rpc CreateExternalAccessRule(CreateExternalAccessRuleRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*/networkPolicies/*}/externalAccessRules" + body: "external_access_rule" + }; + option (google.api.method_signature) = + "parent,external_access_rule,external_access_rule_id"; + option (google.longrunning.operation_info) = { + response_type: "ExternalAccessRule" + metadata_type: "OperationMetadata" + }; + } + + // Updates the parameters of a single external access rule. + // Only fields specified in `update_mask` are applied. + rpc UpdateExternalAccessRule(UpdateExternalAccessRuleRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + patch: "/v1/{external_access_rule.name=projects/*/locations/*/networkPolicies/*/externalAccessRules/*}" + body: "external_access_rule" + }; + option (google.api.method_signature) = "external_access_rule,update_mask"; + option (google.longrunning.operation_info) = { + response_type: "ExternalAccessRule" + metadata_type: "OperationMetadata" + }; + } + + // Deletes a single external access rule. + rpc DeleteExternalAccessRule(DeleteExternalAccessRuleRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + delete: "/v1/{name=projects/*/locations/*/networkPolicies/*/externalAccessRules/*}" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "OperationMetadata" + }; + } + + // Lists logging servers configured for a given private + // cloud. + rpc ListLoggingServers(ListLoggingServersRequest) + returns (ListLoggingServersResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*/privateClouds/*}/loggingServers" + }; + option (google.api.method_signature) = "parent"; + } + + // Gets details of a logging server. + rpc GetLoggingServer(GetLoggingServerRequest) returns (LoggingServer) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*/privateClouds/*/loggingServers/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Create a new logging server for a given private cloud. + rpc CreateLoggingServer(CreateLoggingServerRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*/privateClouds/*}/loggingServers" + body: "logging_server" + }; + option (google.api.method_signature) = + "parent,logging_server,logging_server_id"; + option (google.longrunning.operation_info) = { + response_type: "LoggingServer" + metadata_type: "OperationMetadata" + }; + } + + // Updates the parameters of a single logging server. + // Only fields specified in `update_mask` are applied. + rpc UpdateLoggingServer(UpdateLoggingServerRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + patch: "/v1/{logging_server.name=projects/*/locations/*/privateClouds/*/loggingServers/*}" + body: "logging_server" + }; + option (google.api.method_signature) = "logging_server,update_mask"; + option (google.longrunning.operation_info) = { + response_type: "LoggingServer" + metadata_type: "OperationMetadata" + }; + } + + // Deletes a single logging server. + rpc DeleteLoggingServer(DeleteLoggingServerRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + delete: "/v1/{name=projects/*/locations/*/privateClouds/*/loggingServers/*}" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "OperationMetadata" + }; + } + // Lists node types rpc ListNodeTypes(ListNodeTypesRequest) returns (ListNodeTypesResponse) { option (google.api.http) = { @@ -285,6 +531,109 @@ service VmwareEngine { }; } + // Gets details of the `DnsForwarding` config. + rpc GetDnsForwarding(GetDnsForwardingRequest) returns (DnsForwarding) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*/privateClouds/*/dnsForwarding}" + }; + option (google.api.method_signature) = "name"; + } + + // Updates the parameters of the `DnsForwarding` config, like associated + // domains. Only fields specified in `update_mask` are applied. + rpc UpdateDnsForwarding(UpdateDnsForwardingRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + patch: "/v1/{dns_forwarding.name=projects/*/locations/*/privateClouds/*/dnsForwarding}" + body: "dns_forwarding" + }; + option (google.api.method_signature) = "dns_forwarding,update_mask"; + option (google.longrunning.operation_info) = { + response_type: "DnsForwarding" + metadata_type: "OperationMetadata" + }; + } + + // Retrieves a `NetworkPeering` resource by its resource name. The resource + // contains details of the network peering, such as peered + // networks, import and export custom route configurations, and peering state. + // NetworkPeering is a global resource and location can only be global. + rpc GetNetworkPeering(GetNetworkPeeringRequest) returns (NetworkPeering) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*/networkPeerings/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Lists `NetworkPeering` resources in a given project. NetworkPeering is a + // global resource and location can only be global. + rpc ListNetworkPeerings(ListNetworkPeeringsRequest) + returns (ListNetworkPeeringsResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*}/networkPeerings" + }; + option (google.api.method_signature) = "parent"; + } + + // Creates a new network peering between the peer network and VMware Engine + // network provided in a `NetworkPeering` resource. NetworkPeering is a + // global resource and location can only be global. + rpc CreateNetworkPeering(CreateNetworkPeeringRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*}/networkPeerings" + body: "network_peering" + }; + option (google.api.method_signature) = + "parent,network_peering,network_peering_id"; + option (google.longrunning.operation_info) = { + response_type: "NetworkPeering" + metadata_type: "OperationMetadata" + }; + } + + // Deletes a `NetworkPeering` resource. When a network peering is deleted for + // a VMware Engine network, the peer network becomes inaccessible to that + // VMware Engine network. NetworkPeering is a global resource and location can + // only be global. + rpc DeleteNetworkPeering(DeleteNetworkPeeringRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + delete: "/v1/{name=projects/*/locations/*/networkPeerings/*}" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "OperationMetadata" + }; + } + + // Modifies a `NetworkPeering` resource. Only the `description` field can be + // updated. Only fields specified in `updateMask` are applied. NetworkPeering + // is a global resource and location can only be global. + rpc UpdateNetworkPeering(UpdateNetworkPeeringRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + patch: "/v1/{network_peering.name=projects/*/locations/*/networkPeerings/*}" + body: "network_peering" + }; + option (google.api.method_signature) = "network_peering,update_mask"; + option (google.longrunning.operation_info) = { + response_type: "NetworkPeering" + metadata_type: "OperationMetadata" + }; + } + + // Lists the network peering routes exchanged over a peering connection. + // NetworkPeering is a global resource and location can only be global. + rpc ListPeeringRoutes(ListPeeringRoutesRequest) + returns (ListPeeringRoutesResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*/networkPeerings/*}/peeringRoutes" + }; + option (google.api.method_signature) = "parent"; + } + // Creates a new HCX activation key in a given private cloud. rpc CreateHcxActivationKey(CreateHcxActivationKeyRequest) returns (google.longrunning.Operation) { @@ -392,6 +741,91 @@ service VmwareEngine { }; } + // Lists Consumer VPCs bound to Management DNS Zone of a given private cloud. + rpc ListManagementDnsZoneBindings(ListManagementDnsZoneBindingsRequest) + returns (ListManagementDnsZoneBindingsResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*/privateClouds/*}/managementDnsZoneBindings" + }; + option (google.api.method_signature) = "parent"; + } + + // Retrieves a 'ManagementDnsZoneBinding' resource by its resource name. + rpc GetManagementDnsZoneBinding(GetManagementDnsZoneBindingRequest) + returns (ManagementDnsZoneBinding) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*/privateClouds/*/managementDnsZoneBindings/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Creates a new `ManagementDnsZoneBinding` resource in a private cloud. + // This RPC creates the DNS binding and the resource that represents the + // DNS binding of the consumer VPC network to the management DNS zone. A + // management DNS zone is the Cloud DNS cross-project binding zone that + // VMware Engine creates for each private cloud. It contains FQDNs and + // corresponding IP addresses for the private cloud's ESXi hosts and + // management VM appliances like vCenter and NSX Manager. + rpc CreateManagementDnsZoneBinding(CreateManagementDnsZoneBindingRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*/privateClouds/*}/managementDnsZoneBindings" + body: "management_dns_zone_binding" + }; + option (google.api.method_signature) = + "parent,management_dns_zone_binding,management_dns_zone_binding_id"; + option (google.longrunning.operation_info) = { + response_type: "ManagementDnsZoneBinding" + metadata_type: "OperationMetadata" + }; + } + + // Updates a `ManagementDnsZoneBinding` resource. + // Only fields specified in `update_mask` are applied. + rpc UpdateManagementDnsZoneBinding(UpdateManagementDnsZoneBindingRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + patch: "/v1/{management_dns_zone_binding.name=projects/*/locations/*/privateClouds/*/managementDnsZoneBindings/*}" + body: "management_dns_zone_binding" + }; + option (google.api.method_signature) = + "management_dns_zone_binding,update_mask"; + option (google.longrunning.operation_info) = { + response_type: "ManagementDnsZoneBinding" + metadata_type: "OperationMetadata" + }; + } + + // Deletes a `ManagementDnsZoneBinding` resource. When a management DNS zone + // binding is deleted, the corresponding consumer VPC network is no longer + // bound to the management DNS zone. + rpc DeleteManagementDnsZoneBinding(DeleteManagementDnsZoneBindingRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + delete: "/v1/{name=projects/*/locations/*/privateClouds/*/managementDnsZoneBindings/*}" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "OperationMetadata" + }; + } + + // Retries to create a `ManagementDnsZoneBinding` resource that is + // in failed state. + rpc RepairManagementDnsZoneBinding(RepairManagementDnsZoneBindingRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/*/privateClouds/*/managementDnsZoneBindings/*}:repair" + body: "*" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "ManagementDnsZoneBinding" + metadata_type: "OperationMetadata" + }; + } + // Creates a new VMware Engine network that can be used by a private cloud. rpc CreateVmwareEngineNetwork(CreateVmwareEngineNetworkRequest) returns (google.longrunning.Operation) { @@ -459,10 +893,131 @@ service VmwareEngine { }; option (google.api.method_signature) = "parent"; } -} -// Request message for -// [VmwareEngine.ListPrivateClouds][google.cloud.vmwareengine.v1.VmwareEngine.ListPrivateClouds] + // Creates a new private connection that can be used for accessing private + // Clouds. + rpc CreatePrivateConnection(CreatePrivateConnectionRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*}/privateConnections" + body: "private_connection" + }; + option (google.api.method_signature) = + "parent,private_connection,private_connection_id"; + option (google.longrunning.operation_info) = { + response_type: "PrivateConnection" + metadata_type: "OperationMetadata" + }; + } + + // Retrieves a `PrivateConnection` resource by its resource name. The resource + // contains details of the private connection, such as connected + // network, routing mode and state. + rpc GetPrivateConnection(GetPrivateConnectionRequest) + returns (PrivateConnection) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*/privateConnections/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Lists `PrivateConnection` resources in a given project and location. + rpc ListPrivateConnections(ListPrivateConnectionsRequest) + returns (ListPrivateConnectionsResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*}/privateConnections" + }; + option (google.api.method_signature) = "parent"; + } + + // Modifies a `PrivateConnection` resource. Only `description` and + // `routing_mode` fields can be updated. Only fields specified in `updateMask` + // are applied. + rpc UpdatePrivateConnection(UpdatePrivateConnectionRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + patch: "/v1/{private_connection.name=projects/*/locations/*/privateConnections/*}" + body: "private_connection" + }; + option (google.api.method_signature) = "private_connection,update_mask"; + option (google.longrunning.operation_info) = { + response_type: "PrivateConnection" + metadata_type: "OperationMetadata" + }; + } + + // Deletes a `PrivateConnection` resource. When a private connection is + // deleted for a VMware Engine network, the connected network becomes + // inaccessible to that VMware Engine network. + rpc DeletePrivateConnection(DeletePrivateConnectionRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + delete: "/v1/{name=projects/*/locations/*/privateConnections/*}" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "OperationMetadata" + }; + } + + // Lists the private connection routes exchanged over a peering connection. + rpc ListPrivateConnectionPeeringRoutes( + ListPrivateConnectionPeeringRoutesRequest) + returns (ListPrivateConnectionPeeringRoutesResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*/privateConnections/*}/peeringRoutes" + }; + option (google.api.method_signature) = "parent"; + } + + // Grants the bind permission to the customer provided principal(user / + // service account) to bind their DNS zone with the intranet VPC associated + // with the project. DnsBindPermission is a global resource and location can + // only be global. + rpc GrantDnsBindPermission(GrantDnsBindPermissionRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/*/dnsBindPermission}:grant" + body: "*" + }; + option (google.api.method_signature) = "name,principal"; + option (google.longrunning.operation_info) = { + response_type: "DnsBindPermission" + metadata_type: "OperationMetadata" + }; + } + + // Gets all the principals having bind permission on the intranet VPC + // associated with the consumer project granted by the Grant API. + // DnsBindPermission is a global resource and location can only be global. + rpc GetDnsBindPermission(GetDnsBindPermissionRequest) + returns (DnsBindPermission) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*/dnsBindPermission}" + }; + option (google.api.method_signature) = "name"; + } + + // Revokes the bind permission from the customer provided principal(user / + // service account) on the intranet VPC associated with the consumer project. + // DnsBindPermission is a global resource and location can only be global. + rpc RevokeDnsBindPermission(RevokeDnsBindPermissionRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/*/dnsBindPermission}:revoke" + body: "*" + }; + option (google.api.method_signature) = "name,principal"; + option (google.longrunning.operation_info) = { + response_type: "DnsBindPermission" + metadata_type: "OperationMetadata" + }; + } +} + +// Request message for +// [VmwareEngine.ListPrivateClouds][google.cloud.vmwareengine.v1.VmwareEngine.ListPrivateClouds] message ListPrivateCloudsRequest { // Required. The resource name of the private cloud to be queried for // clusters. Resource names are schemeless URIs that follow the conventions in @@ -839,103 +1394,87 @@ message DeleteClusterRequest { } // Request message for -// [VmwareEngine.ListSubnets][google.cloud.vmwareengine.v1.VmwareEngine.ListSubnets] -message ListSubnetsRequest { - // Required. The resource name of the private cloud to be queried for - // subnets. +// [VmwareEngine.ListNodes][google.cloud.vmwareengine.v1.VmwareEngine.ListNodes] +message ListNodesRequest { + // Required. The resource name of the cluster to be queried for nodes. // Resource names are schemeless URIs that follow the conventions in // https://cloud.google.com/apis/design/resource_names. // For example: - // `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + // `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { - type: "vmwareengine.googleapis.com/PrivateCloud" + type: "vmwareengine.googleapis.com/Cluster" } ]; - // The maximum number of subnets to return in one page. + // The maximum number of nodes to return in one page. // The service may return fewer than this value. // The maximum value is coerced to 1000. // The default value of this field is 500. int32 page_size = 2; - // A page token, received from a previous `ListSubnetsRequest` call. + // A page token, received from a previous `ListNodes` call. // Provide this to retrieve the subsequent page. // // When paginating, all other parameters provided to - // `ListSubnetsRequest` must match the call that provided the page token. + // `ListNodes` must match the call that provided the page + // token. string page_token = 3; } // Response message for -// [VmwareEngine.ListSubnets][google.cloud.vmwareengine.v1.VmwareEngine.ListSubnets] -message ListSubnetsResponse { - // A list of subnets. - repeated Subnet subnets = 1; +// [VmwareEngine.ListNodes][google.cloud.vmwareengine.v1.VmwareEngine.ListNodes] +message ListNodesResponse { + // The nodes. + repeated Node nodes = 1; // A token, which can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are no subsequent pages. string next_page_token = 2; } -// Represents the metadata of the long-running operation. -message OperationMetadata { - // Output only. The time the operation was created. - google.protobuf.Timestamp create_time = 1 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. The time the operation finished running. - google.protobuf.Timestamp end_time = 2 - [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Server-defined resource path for the target of the operation. - string target = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Name of the verb executed by the operation. - string verb = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. Human-readable status of the operation, if any. - string status_message = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. True if the user has requested cancellation - // of the operation; false otherwise. - // Operations that have successfully been cancelled - // have [Operation.error][] value with a - // [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to - // `Code.CANCELLED`. - bool requested_cancellation = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - - // Output only. API version used to start the operation. - string api_version = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; +// Request message for +// [VmwareEngine.GetNode][google.cloud.vmwareengine.v1.VmwareEngine.GetNode] +message GetNodeRequest { + // Required. The resource name of the node to retrieve. + // For example: + // `projects/{project}/locations/{location}/privateClouds/{private_cloud}/clusters/{cluster}/nodes/{node}` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "vmwareengine.googleapis.com/Node" + } + ]; } // Request message for -// [VmwareEngine.ListNodeTypes][google.cloud.vmwareengine.v1.VmwareEngine.ListNodeTypes] -message ListNodeTypesRequest { - // Required. The resource name of the location to be queried for node types. +// [VmwareEngine.ListExternalAddresses][google.cloud.vmwareengine.v1.VmwareEngine.ListExternalAddresses] +message ListExternalAddressesRequest { + // Required. The resource name of the private cloud to be queried for + // external IP addresses. // Resource names are schemeless URIs that follow the conventions in // https://cloud.google.com/apis/design/resource_names. // For example: - // `projects/my-project/locations/us-central1-a` + // `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { - type: "locations.googleapis.com/Location" + type: "vmwareengine.googleapis.com/PrivateCloud" } ]; - // The maximum number of node types to return in one page. + // The maximum number of external IP addresses to return in one page. // The service may return fewer than this value. // The maximum value is coerced to 1000. // The default value of this field is 500. int32 page_size = 2; - // A page token, received from a previous `ListNodeTypes` call. + // A page token, received from a previous `ListExternalAddresses` call. // Provide this to retrieve the subsequent page. // // When paginating, all other parameters provided to - // `ListNodeTypes` must match the call that provided the page token. + // `ListExternalAddresses` must match the call that provided the page token. string page_token = 3; // A filter expression that matches resources returned in the response. @@ -944,33 +1483,40 @@ message ListNodeTypesRequest { // must be a string, a number, or a boolean. The comparison operator // must be `=`, `!=`, `>`, or `<`. // - // For example, if you are filtering a list of node types, you can - // exclude the ones named `standard-72` by specifying - // `name != "standard-72"`. + // For example, if you are filtering a list of IP addresses, you can + // exclude the ones named `example-ip` by specifying + // `name != "example-ip"`. // // To filter on multiple expressions, provide each separate expression within // parentheses. For example: // ``` - // (name = "standard-72") - // (virtual_cpu_count > 2) + // (name = "example-ip") + // (createTime > "2021-04-12T08:15:10.40Z") // ``` // // By default, each expression is an `AND` expression. However, you // can include `AND` and `OR` expressions explicitly. // For example: // ``` - // (name = "standard-96") AND - // (virtual_cpu_count > 2) OR - // (name = "standard-72") + // (name = "example-ip-1") AND + // (createTime > "2021-04-12T08:15:10.40Z") OR + // (name = "example-ip-2") // ``` string filter = 4; + + // Sorts list results by a certain order. By default, returned results + // are ordered by `name` in ascending order. + // You can also sort results in descending order based on the `name` value + // using `orderBy="name desc"`. + // Currently, only ordering by `name` is supported. + string order_by = 5; } // Response message for -// [VmwareEngine.ListNodeTypes][google.cloud.vmwareengine.v1.VmwareEngine.ListNodeTypes] -message ListNodeTypesResponse { - // A list of Node Types. - repeated NodeType node_types = 1; +// [VmwareEngine.ListExternalAddresses][google.cloud.vmwareengine.v1.VmwareEngine.ListExternalAddresses] +message ListExternalAddressesResponse { + // A list of external IP addresses. + repeated ExternalAddress external_addresses = 1; // A token, which can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are no subsequent pages. @@ -982,70 +1528,126 @@ message ListNodeTypesResponse { } // Request message for -// [VmwareEngine.GetNodeType][google.cloud.vmwareengine.v1.VmwareEngine.GetNodeType] -message GetNodeTypeRequest { - // Required. The resource name of the node type to retrieve. - // Resource names are schemeless URIs that follow the conventions in - // https://cloud.google.com/apis/design/resource_names. - // For example: - // `projects/my-proj/locations/us-central1-a/nodeTypes/standard-72` - string name = 1 [ +// [VmwareEngine.FetchNetworkPolicyExternalAddresses][google.cloud.vmwareengine.v1.VmwareEngine.FetchNetworkPolicyExternalAddresses] +message FetchNetworkPolicyExternalAddressesRequest { + // Required. The resource name of the network policy to query for assigned + // external IP addresses. Resource names are schemeless URIs that follow the + // conventions in https://cloud.google.com/apis/design/resource_names. For + // example: + // `projects/my-project/locations/us-central1/networkPolicies/my-policy` + string network_policy = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { - type: "vmwareengine.googleapis.com/NodeType" + type: "vmwareengine.googleapis.com/NetworkPolicy" } ]; + + // The maximum number of external IP addresses to return in one page. + // The service may return fewer than this value. + // The maximum value is coerced to 1000. + // The default value of this field is 500. + int32 page_size = 2; + + // A page token, received from a previous + // `FetchNetworkPolicyExternalAddresses` call. Provide this to retrieve the + // subsequent page. + // + // When paginating, all parameters provided to + // `FetchNetworkPolicyExternalAddresses`, except for `page_size` and + // `page_token`, must match the call that provided the page token. + string page_token = 3; +} + +// Response message for +// [VmwareEngine.FetchNetworkPolicyExternalAddresses][google.cloud.vmwareengine.v1.VmwareEngine.FetchNetworkPolicyExternalAddresses] +message FetchNetworkPolicyExternalAddressesResponse { + // A list of external IP addresses assigned to VMware workload VMs within the + // scope of the given network policy. + repeated ExternalAddress external_addresses = 1; + + // A token, which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; } // Request message for -// [VmwareEngine.ShowNsxCredentials][google.cloud.vmwareengine.v1.VmwareEngine.ShowNsxCredentials] -message ShowNsxCredentialsRequest { - // Required. The resource name of the private cloud - // to be queried for credentials. +// [VmwareEngine.GetExternalAddress][google.cloud.vmwareengine.v1.VmwareEngine.GetExternalAddress] +message GetExternalAddressRequest { + // Required. The resource name of the external IP address to retrieve. // Resource names are schemeless URIs that follow the conventions in // https://cloud.google.com/apis/design/resource_names. // For example: - // `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` - string private_cloud = 1 [ + // `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-ip` + string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { - type: "vmwareengine.googleapis.com/PrivateCloud" + type: "vmwareengine.googleapis.com/ExternalAddress" } ]; } // Request message for -// [VmwareEngine.ShowVcenterCredentials][google.cloud.vmwareengine.v1.VmwareEngine.ShowVcenterCredentials] -message ShowVcenterCredentialsRequest { +// [VmwareEngine.CreateExternalAddress][google.cloud.vmwareengine.v1.VmwareEngine.CreateExternalAddress] +message CreateExternalAddressRequest { // Required. The resource name of the private cloud - // to be queried for credentials. + // to create a new external IP address in. // Resource names are schemeless URIs that follow the conventions in // https://cloud.google.com/apis/design/resource_names. // For example: // `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` - string private_cloud = 1 [ + string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { type: "vmwareengine.googleapis.com/PrivateCloud" } ]; + + // Required. The initial description of a new external IP address. + ExternalAddress external_address = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The user-provided identifier of the `ExternalAddress` to be + // created. This identifier must be unique among `ExternalAddress` resources + // within the parent and becomes the final token in the name URI. The + // identifier must meet the following requirements: + // + // * Only contains 1-63 alphanumeric characters and hyphens + // * Begins with an alphabetical character + // * Ends with a non-hyphen character + // * Not formatted as a UUID + // * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) + // (section 3.5) + string external_address_id = 3 [(google.api.field_behavior) = REQUIRED]; + + // Optional. A request ID to identify requests. Specify a unique request ID + // so that if you must retry your request, the server will know to ignore + // the request if it has already been completed. The server guarantees that a + // request doesn't result in creation of duplicate commitments for at least 60 + // minutes. + // + // For example, consider a situation where you make an initial request and the + // request times out. If you make the request again with the same request ID, + // the server can check if the original operation with the same request ID was + // received, and if so, will ignore the second request. This prevents clients + // from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 4 [(google.api.field_behavior) = OPTIONAL]; } // Request message for -// [VmwareEngine.ResetNsxCredentials][google.cloud.vmwareengine.v1.VmwareEngine.ResetNsxCredentials] -message ResetNsxCredentialsRequest { - // Required. The resource name of the private cloud - // to reset credentials for. - // Resource names are schemeless URIs that follow the conventions in - // https://cloud.google.com/apis/design/resource_names. - // For example: - // `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` - string private_cloud = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "vmwareengine.googleapis.com/PrivateCloud" - } - ]; +// [VmwareEngine.UpdateExternalAddress][google.cloud.vmwareengine.v1.VmwareEngine.UpdateExternalAddress] +message UpdateExternalAddressRequest { + // Required. Field mask is used to specify the fields to be overwritten in the + // `ExternalAddress` resource by the update. + // The fields specified in the `update_mask` are relative to the resource, not + // the full request. A field will be overwritten if it is in the mask. If the + // user does not provide a mask then all fields will be overwritten. + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = REQUIRED]; + + // Required. External IP address description. + ExternalAddress external_address = 2 [(google.api.field_behavior) = REQUIRED]; // Optional. A request ID to identify requests. Specify a unique request ID // so that if you must retry your request, the server will know to ignore @@ -1054,29 +1656,28 @@ message ResetNsxCredentialsRequest { // minutes. // // For example, consider a situation where you make an initial request and the - // request times out. If you make the request again with the same request - // ID, the server can check if original operation with the same request ID - // was received, and if so, will ignore the second request. This prevents - // clients from accidentally creating duplicate commitments. + // request times out. If you make the request again with the same request ID, + // the server can check if the original operation with the same request ID was + // received, and if so, will ignore the second request. This prevents clients + // from accidentally creating duplicate commitments. // // The request ID must be a valid UUID with the exception that zero UUID is // not supported (00000000-0000-0000-0000-000000000000). - string request_id = 2 [(google.api.field_behavior) = OPTIONAL]; + string request_id = 3 [(google.api.field_behavior) = OPTIONAL]; } // Request message for -// [VmwareEngine.ResetVcenterCredentials][google.cloud.vmwareengine.v1.VmwareEngine.ResetVcenterCredentials] -message ResetVcenterCredentialsRequest { - // Required. The resource name of the private cloud - // to reset credentials for. +// [VmwareEngine.DeleteExternalAddress][google.cloud.vmwareengine.v1.VmwareEngine.DeleteExternalAddress] +message DeleteExternalAddressRequest { + // Required. The resource name of the external IP address to delete. // Resource names are schemeless URIs that follow the conventions in // https://cloud.google.com/apis/design/resource_names. // For example: - // `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` - string private_cloud = 1 [ + // `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-ip` + string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { - type: "vmwareengine.googleapis.com/PrivateCloud" + type: "vmwareengine.googleapis.com/ExternalAddress" } ]; @@ -1088,7 +1689,7 @@ message ResetVcenterCredentialsRequest { // // For example, consider a situation where you make an initial request and the // request times out. If you make the request again with the same request - // ID, the server can check if original operation with the same request ID + // ID, the server can check if the original operation with the same request ID // was received, and if so, will ignore the second request. This prevents // clients from accidentally creating duplicate commitments. // @@ -1097,6 +1698,740 @@ message ResetVcenterCredentialsRequest { string request_id = 2 [(google.api.field_behavior) = OPTIONAL]; } +// Request message for +// [VmwareEngine.ListSubnets][google.cloud.vmwareengine.v1.VmwareEngine.ListSubnets] +message ListSubnetsRequest { + // Required. The resource name of the private cloud to be queried for + // subnets. + // Resource names are schemeless URIs that follow the conventions in + // https://cloud.google.com/apis/design/resource_names. + // For example: + // `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "vmwareengine.googleapis.com/PrivateCloud" + } + ]; + + // The maximum number of subnets to return in one page. + // The service may return fewer than this value. + // The maximum value is coerced to 1000. + // The default value of this field is 500. + int32 page_size = 2; + + // A page token, received from a previous `ListSubnetsRequest` call. + // Provide this to retrieve the subsequent page. + // + // When paginating, all other parameters provided to + // `ListSubnetsRequest` must match the call that provided the page token. + string page_token = 3; +} + +// Response message for +// [VmwareEngine.ListSubnets][google.cloud.vmwareengine.v1.VmwareEngine.ListSubnets] +message ListSubnetsResponse { + // A list of subnets. + repeated Subnet subnets = 1; + + // A token, which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; + + // Locations that could not be reached when making an aggregated query using + // wildcards. + repeated string unreachable = 3; +} + +// Request message for +// [VmwareEngine.GetSubnet][google.cloud.vmwareengine.v1.VmwareEngine.GetSubnet] +message GetSubnetRequest { + // Required. The resource name of the subnet to retrieve. + // Resource names are schemeless URIs that follow the conventions in + // https://cloud.google.com/apis/design/resource_names. + // For example: + // `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/subnets/my-subnet` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "vmwareengine.googleapis.com/Subnet" + } + ]; +} + +// Request message for +// [VmwareEngine.UpdateSubnet][google.cloud.vmwareengine.v1.VmwareEngine.UpdateSubnet] +message UpdateSubnetRequest { + // Required. Field mask is used to specify the fields to be overwritten in the + // `Subnet` resource by the update. + // The fields specified in the `update_mask` are relative to the resource, not + // the full request. A field will be overwritten if it is in the mask. If the + // user does not provide a mask then all fields will be overwritten. + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = REQUIRED]; + + // Required. Subnet description. + Subnet subnet = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// Request message for +// [VmwareEngine.ListExternalAccessRules][google.cloud.vmwareengine.v1.VmwareEngine.ListExternalAccessRules] +message ListExternalAccessRulesRequest { + // Required. The resource name of the network policy to query for external + // access firewall rules. Resource names are schemeless URIs that follow the + // conventions in https://cloud.google.com/apis/design/resource_names. For + // example: + // `projects/my-project/locations/us-central1/networkPolicies/my-policy` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "vmwareengine.googleapis.com/NetworkPolicy" + } + ]; + + // The maximum number of external access rules to return in one page. + // The service may return fewer than this value. + // The maximum value is coerced to 1000. + // The default value of this field is 500. + int32 page_size = 2; + + // A page token, received from a previous `ListExternalAccessRulesRequest` + // call. Provide this to retrieve the subsequent page. + // + // When paginating, all other parameters provided to + // `ListExternalAccessRulesRequest` must match the call that provided the page + // token. + string page_token = 3; + + // A filter expression that matches resources returned in the response. + // The expression must specify the field name, a comparison + // operator, and the value that you want to use for filtering. The value + // must be a string, a number, or a boolean. The comparison operator + // must be `=`, `!=`, `>`, or `<`. + // + // For example, if you are filtering a list of external access rules, you can + // exclude the ones named `example-rule` by specifying + // `name != "example-rule"`. + // + // To filter on multiple expressions, provide each separate expression within + // parentheses. For example: + // ``` + // (name = "example-rule") + // (createTime > "2021-04-12T08:15:10.40Z") + // ``` + // + // By default, each expression is an `AND` expression. However, you + // can include `AND` and `OR` expressions explicitly. + // For example: + // ``` + // (name = "example-rule-1") AND + // (createTime > "2021-04-12T08:15:10.40Z") OR + // (name = "example-rule-2") + // ``` + string filter = 4; + + // Sorts list results by a certain order. By default, returned results + // are ordered by `name` in ascending order. + // You can also sort results in descending order based on the `name` value + // using `orderBy="name desc"`. + // Currently, only ordering by `name` is supported. + string order_by = 5; +} + +// Response message for +// [VmwareEngine.ListExternalAccessRules][google.cloud.vmwareengine.v1.VmwareEngine.ListExternalAccessRules] +message ListExternalAccessRulesResponse { + // A list of external access firewall rules. + repeated ExternalAccessRule external_access_rules = 1; + + // A token, which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; + + // Locations that could not be reached when making an aggregated query using + // wildcards. + repeated string unreachable = 3; +} + +// Request message for +// [VmwareEngine.GetExternalAccessRule][google.cloud.vmwareengine.v1.VmwareEngine.GetExternalAccessRule] +message GetExternalAccessRuleRequest { + // Required. The resource name of the external access firewall rule to + // retrieve. Resource names are schemeless URIs that follow the conventions in + // https://cloud.google.com/apis/design/resource_names. + // For example: + // `projects/my-project/locations/us-central1/networkPolicies/my-policy/externalAccessRules/my-rule` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "vmwareengine.googleapis.com/ExternalAccessRule" + } + ]; +} + +// Request message for +// [VmwareEngine.CreateExternalAccessRule][google.cloud.vmwareengine.v1.VmwareEngine.CreateExternalAccessRule] +message CreateExternalAccessRuleRequest { + // Required. The resource name of the network policy + // to create a new external access firewall rule in. + // Resource names are schemeless URIs that follow the conventions in + // https://cloud.google.com/apis/design/resource_names. + // For example: + // `projects/my-project/locations/us-central1/networkPolicies/my-policy` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "vmwareengine.googleapis.com/NetworkPolicy" + } + ]; + + // Required. The initial description of a new external access rule. + ExternalAccessRule external_access_rule = 2 + [(google.api.field_behavior) = REQUIRED]; + + // Required. The user-provided identifier of the `ExternalAccessRule` to be + // created. This identifier must be unique among `ExternalAccessRule` + // resources within the parent and becomes the final token in the name URI. + // The identifier must meet the following requirements: + // + // * Only contains 1-63 alphanumeric characters and hyphens + // * Begins with an alphabetical character + // * Ends with a non-hyphen character + // * Not formatted as a UUID + // * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) + // (section 3.5) + string external_access_rule_id = 3 [(google.api.field_behavior) = REQUIRED]; + + // A request ID to identify requests. Specify a unique request ID + // so that if you must retry your request, the server will know to ignore + // the request if it has already been completed. The server guarantees that a + // request doesn't result in creation of duplicate commitments for at least 60 + // minutes. + // + // For example, consider a situation where you make an initial request and the + // request times out. If you make the request again with the same request ID, + // the server can check if the original operation with the same request ID was + // received, and if so, will ignore the second request. This prevents clients + // from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 4; +} + +// Request message for +// [VmwareEngine.UpdateExternalAccessRule][google.cloud.vmwareengine.v1.VmwareEngine.UpdateExternalAccessRule] +message UpdateExternalAccessRuleRequest { + // Required. Field mask is used to specify the fields to be overwritten in the + // `ExternalAccessRule` resource by the update. + // The fields specified in the `update_mask` are relative to the resource, not + // the full request. A field will be overwritten if it is in the mask. If the + // user does not provide a mask then all fields will be overwritten. + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = REQUIRED]; + + // Required. Description of the external access rule. + ExternalAccessRule external_access_rule = 2 + [(google.api.field_behavior) = REQUIRED]; + + // Optional. A request ID to identify requests. Specify a unique request ID + // so that if you must retry your request, the server will know to ignore + // the request if it has already been completed. The server guarantees that a + // request doesn't result in creation of duplicate commitments for at least 60 + // minutes. + // + // For example, consider a situation where you make an initial request and the + // request times out. If you make the request again with the same request ID, + // the server can check if the original operation with the same request ID was + // received, and if so, will ignore the second request. This prevents clients + // from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// Request message for +// [VmwareEngine.DeleteExternalAccessRule][google.cloud.vmwareengine.v1.VmwareEngine.DeleteExternalAccessRule] +message DeleteExternalAccessRuleRequest { + // Required. The resource name of the external access firewall rule to delete. + // Resource names are schemeless URIs that follow the conventions in + // https://cloud.google.com/apis/design/resource_names. + // For example: + // `projects/my-project/locations/us-central1/networkPolicies/my-policy/externalAccessRules/my-rule` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "vmwareengine.googleapis.com/ExternalAccessRule" + } + ]; + + // Optional. A request ID to identify requests. Specify a unique request ID + // so that if you must retry your request, the server will know to ignore + // the request if it has already been completed. The server guarantees that a + // request doesn't result in creation of duplicate commitments for at least 60 + // minutes. + // + // For example, consider a situation where you make an initial request and the + // request times out. If you make the request again with the same request + // ID, the server can check if the original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 2 [(google.api.field_behavior) = OPTIONAL]; +} + +// Request message for +// [VmwareEngine.ListLoggingServers][google.cloud.vmwareengine.v1.VmwareEngine.ListLoggingServers] +message ListLoggingServersRequest { + // Required. The resource name of the private cloud to be queried for + // logging servers. + // Resource names are schemeless URIs that follow the conventions in + // https://cloud.google.com/apis/design/resource_names. + // For example: + // `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "vmwareengine.googleapis.com/PrivateCloud" + } + ]; + + // The maximum number of logging servers to return in one page. + // The service may return fewer than this value. + // The maximum value is coerced to 1000. + // The default value of this field is 500. + int32 page_size = 2; + + // A page token, received from a previous `ListLoggingServersRequest` call. + // Provide this to retrieve the subsequent page. + // + // When paginating, all other parameters provided to + // `ListLoggingServersRequest` must match the call that provided the page + // token. + string page_token = 3; + + // A filter expression that matches resources returned in the response. + // The expression must specify the field name, a comparison + // operator, and the value that you want to use for filtering. The value + // must be a string, a number, or a boolean. The comparison operator + // must be `=`, `!=`, `>`, or `<`. + // + // For example, if you are filtering a list of logging servers, you can + // exclude the ones named `example-server` by specifying + // `name != "example-server"`. + // + // To filter on multiple expressions, provide each separate expression within + // parentheses. For example: + // ``` + // (name = "example-server") + // (createTime > "2021-04-12T08:15:10.40Z") + // ``` + // + // By default, each expression is an `AND` expression. However, you + // can include `AND` and `OR` expressions explicitly. + // For example: + // ``` + // (name = "example-server-1") AND + // (createTime > "2021-04-12T08:15:10.40Z") OR + // (name = "example-server-2") + // ``` + string filter = 4; + + // Sorts list results by a certain order. By default, returned results + // are ordered by `name` in ascending order. + // You can also sort results in descending order based on the `name` value + // using `orderBy="name desc"`. + // Currently, only ordering by `name` is supported. + string order_by = 5; +} + +// Response message for +// [VmwareEngine.ListLoggingServers][google.cloud.vmwareengine.v1.VmwareEngine.ListLoggingServers] +message ListLoggingServersResponse { + // A list of Logging Servers. + repeated LoggingServer logging_servers = 1; + + // A token, which can be send as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; + + // Locations that could not be reached when making an aggregated query using + // wildcards. + repeated string unreachable = 3; +} + +// Request message for +// [VmwareEngine.GetLoggingServer][google.cloud.vmwareengine.v1.VmwareEngine.GetLoggingServer] +message GetLoggingServerRequest { + // Required. The resource name of the Logging Server to retrieve. + // Resource names are schemeless URIs that follow the conventions in + // https://cloud.google.com/apis/design/resource_names. + // For example: + // `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "vmwareengine.googleapis.com/LoggingServer" + } + ]; +} + +// Request message for +// [VmwareEngine.CreateLoggingServer][google.cloud.vmwareengine.v1.VmwareEngine.CreateLoggingServer] +message CreateLoggingServerRequest { + // Required. The resource name of the private cloud + // to create a new Logging Server in. + // Resource names are schemeless URIs that follow the conventions in + // https://cloud.google.com/apis/design/resource_names. + // For example: + // `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "vmwareengine.googleapis.com/PrivateCloud" + } + ]; + + // Required. The initial description of a new logging server. + LoggingServer logging_server = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The user-provided identifier of the `LoggingServer` to be + // created. This identifier must be unique among `LoggingServer` resources + // within the parent and becomes the final token in the name URI. + // The identifier must meet the following requirements: + // + // * Only contains 1-63 alphanumeric characters and hyphens + // * Begins with an alphabetical character + // * Ends with a non-hyphen character + // * Not formatted as a UUID + // * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) + // (section 3.5) + string logging_server_id = 3 [(google.api.field_behavior) = REQUIRED]; + + // Optional. A request ID to identify requests. Specify a unique request ID + // so that if you must retry your request, the server will know to ignore + // the request if it has already been completed. The server guarantees that a + // request doesn't result in creation of duplicate commitments for at least 60 + // minutes. + // + // For example, consider a situation where you make an initial request and the + // request times out. If you make the request again with the same request ID, + // the server can check if original operation with the same request ID was + // received, and if so, will ignore the second request. This prevents clients + // from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 4 [(google.api.field_behavior) = OPTIONAL]; +} + +// Request message for +// [VmwareEngine.UpdateLoggingServer][google.cloud.vmwareengine.v1.VmwareEngine.UpdateLoggingServer] +message UpdateLoggingServerRequest { + // Required. Field mask is used to specify the fields to be overwritten in the + // `LoggingServer` resource by the update. + // The fields specified in the `update_mask` are relative to the resource, not + // the full request. A field will be overwritten if it is in the mask. If the + // user does not provide a mask then all fields will be overwritten. + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = REQUIRED]; + + // Required. Logging server description. + LoggingServer logging_server = 2 [(google.api.field_behavior) = REQUIRED]; + + // Optional. A request ID to identify requests. Specify a unique request ID + // so that if you must retry your request, the server will know to ignore + // the request if it has already been completed. The server guarantees that a + // request doesn't result in creation of duplicate commitments for at least 60 + // minutes. + // + // For example, consider a situation where you make an initial request and the + // request times out. If you make the request again with the same request ID, + // the server can check if original operation with the same request ID was + // received, and if so, will ignore the second request. This prevents clients + // from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// Request message for +// [VmwareEngine.DeleteLoggingServer][google.cloud.vmwareengine.v1.VmwareEngine.DeleteLoggingServer] +message DeleteLoggingServerRequest { + // Required. The resource name of the logging server to delete. + // Resource names are schemeless URIs that follow the conventions in + // https://cloud.google.com/apis/design/resource_names. + // For example: + // `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "vmwareengine.googleapis.com/LoggingServer" + } + ]; + + // Optional. A request ID to identify requests. Specify a unique request ID + // so that if you must retry your request, the server will know to ignore + // the request if it has already been completed. The server guarantees that a + // request doesn't result in creation of duplicate commitments for at least 60 + // minutes. + // + // For example, consider a situation where you make an initial request and the + // request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 2 [(google.api.field_behavior) = OPTIONAL]; +} + +// Represents the metadata of the long-running operation. +message OperationMetadata { + // Output only. The time the operation was created. + google.protobuf.Timestamp create_time = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The time the operation finished running. + google.protobuf.Timestamp end_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Server-defined resource path for the target of the operation. + string target = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Name of the verb executed by the operation. + string verb = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Human-readable status of the operation, if any. + string status_message = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. True if the user has requested cancellation + // of the operation; false otherwise. + // Operations that have successfully been cancelled + // have [Operation.error][] value with a + // [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to + // `Code.CANCELLED`. + bool requested_cancellation = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. API version used to start the operation. + string api_version = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// Request message for +// [VmwareEngine.ListNodeTypes][google.cloud.vmwareengine.v1.VmwareEngine.ListNodeTypes] +message ListNodeTypesRequest { + // Required. The resource name of the location to be queried for node types. + // Resource names are schemeless URIs that follow the conventions in + // https://cloud.google.com/apis/design/resource_names. + // For example: + // `projects/my-project/locations/us-central1-a` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "locations.googleapis.com/Location" + } + ]; + + // The maximum number of node types to return in one page. + // The service may return fewer than this value. + // The maximum value is coerced to 1000. + // The default value of this field is 500. + int32 page_size = 2; + + // A page token, received from a previous `ListNodeTypes` call. + // Provide this to retrieve the subsequent page. + // + // When paginating, all other parameters provided to + // `ListNodeTypes` must match the call that provided the page token. + string page_token = 3; + + // A filter expression that matches resources returned in the response. + // The expression must specify the field name, a comparison + // operator, and the value that you want to use for filtering. The value + // must be a string, a number, or a boolean. The comparison operator + // must be `=`, `!=`, `>`, or `<`. + // + // For example, if you are filtering a list of node types, you can + // exclude the ones named `standard-72` by specifying + // `name != "standard-72"`. + // + // To filter on multiple expressions, provide each separate expression within + // parentheses. For example: + // ``` + // (name = "standard-72") + // (virtual_cpu_count > 2) + // ``` + // + // By default, each expression is an `AND` expression. However, you + // can include `AND` and `OR` expressions explicitly. + // For example: + // ``` + // (name = "standard-96") AND + // (virtual_cpu_count > 2) OR + // (name = "standard-72") + // ``` + string filter = 4; +} + +// Response message for +// [VmwareEngine.ListNodeTypes][google.cloud.vmwareengine.v1.VmwareEngine.ListNodeTypes] +message ListNodeTypesResponse { + // A list of Node Types. + repeated NodeType node_types = 1; + + // A token, which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; + + // Locations that could not be reached when making an aggregated query using + // wildcards. + repeated string unreachable = 3; +} + +// Request message for +// [VmwareEngine.GetNodeType][google.cloud.vmwareengine.v1.VmwareEngine.GetNodeType] +message GetNodeTypeRequest { + // Required. The resource name of the node type to retrieve. + // Resource names are schemeless URIs that follow the conventions in + // https://cloud.google.com/apis/design/resource_names. + // For example: + // `projects/my-proj/locations/us-central1-a/nodeTypes/standard-72` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "vmwareengine.googleapis.com/NodeType" + } + ]; +} + +// Request message for +// [VmwareEngine.ShowNsxCredentials][google.cloud.vmwareengine.v1.VmwareEngine.ShowNsxCredentials] +message ShowNsxCredentialsRequest { + // Required. The resource name of the private cloud + // to be queried for credentials. + // Resource names are schemeless URIs that follow the conventions in + // https://cloud.google.com/apis/design/resource_names. + // For example: + // `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + string private_cloud = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "vmwareengine.googleapis.com/PrivateCloud" + } + ]; +} + +// Request message for +// [VmwareEngine.ShowVcenterCredentials][google.cloud.vmwareengine.v1.VmwareEngine.ShowVcenterCredentials] +message ShowVcenterCredentialsRequest { + // Required. The resource name of the private cloud + // to be queried for credentials. + // Resource names are schemeless URIs that follow the conventions in + // https://cloud.google.com/apis/design/resource_names. + // For example: + // `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + string private_cloud = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "vmwareengine.googleapis.com/PrivateCloud" + } + ]; + + // Optional. The username of the user to be queried for credentials. + // The default value of this field is CloudOwner@gve.local. + // The provided value must be one of the following: + // CloudOwner@gve.local, + // solution-user-01@gve.local, + // solution-user-02@gve.local, + // solution-user-03@gve.local, + // solution-user-04@gve.local, + // solution-user-05@gve.local, + // zertoadmin@gve.local. + string username = 2 [(google.api.field_behavior) = OPTIONAL]; +} + +// Request message for +// [VmwareEngine.ResetNsxCredentials][google.cloud.vmwareengine.v1.VmwareEngine.ResetNsxCredentials] +message ResetNsxCredentialsRequest { + // Required. The resource name of the private cloud + // to reset credentials for. + // Resource names are schemeless URIs that follow the conventions in + // https://cloud.google.com/apis/design/resource_names. + // For example: + // `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + string private_cloud = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "vmwareengine.googleapis.com/PrivateCloud" + } + ]; + + // Optional. A request ID to identify requests. Specify a unique request ID + // so that if you must retry your request, the server will know to ignore + // the request if it has already been completed. The server guarantees that a + // request doesn't result in creation of duplicate commitments for at least 60 + // minutes. + // + // For example, consider a situation where you make an initial request and the + // request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 2 [(google.api.field_behavior) = OPTIONAL]; +} + +// Request message for +// [VmwareEngine.ResetVcenterCredentials][google.cloud.vmwareengine.v1.VmwareEngine.ResetVcenterCredentials] +message ResetVcenterCredentialsRequest { + // Required. The resource name of the private cloud + // to reset credentials for. + // Resource names are schemeless URIs that follow the conventions in + // https://cloud.google.com/apis/design/resource_names. + // For example: + // `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + string private_cloud = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "vmwareengine.googleapis.com/PrivateCloud" + } + ]; + + // Optional. A request ID to identify requests. Specify a unique request ID + // so that if you must retry your request, the server will know to ignore + // the request if it has already been completed. The server guarantees that a + // request doesn't result in creation of duplicate commitments for at least 60 + // minutes. + // + // For example, consider a situation where you make an initial request and the + // request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The username of the user to be to reset the credentials. + // The default value of this field is CloudOwner@gve.local. + // The provided value should be one of the following: + // solution-user-01@gve.local, + // solution-user-02@gve.local, + // solution-user-03@gve.local, + // solution-user-04@gve.local, + // solution-user-05@gve.local, + // zertoadmin@gve.local. + string username = 3 [(google.api.field_behavior) = OPTIONAL]; +} + // Response message for // [VmwareEngine.ListHcxActivationKeys][google.cloud.vmwareengine.v1.VmwareEngine.ListHcxActivationKeys] message ListHcxActivationKeysResponse { @@ -1178,34 +2513,329 @@ message CreateHcxActivationKeyRequest { HcxActivationKey hcx_activation_key = 2 [(google.api.field_behavior) = REQUIRED]; - // Required. The user-provided identifier of the `HcxActivationKey` to be - // created. This identifier must be unique among `HcxActivationKey` resources - // within the parent and becomes the final token in the name URI. - // The identifier must meet the following requirements: - // - // * Only contains 1-63 alphanumeric characters and hyphens - // * Begins with an alphabetical character - // * Ends with a non-hyphen character - // * Not formatted as a UUID - // * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) - // (section 3.5) - string hcx_activation_key_id = 3 [(google.api.field_behavior) = REQUIRED]; + // Required. The user-provided identifier of the `HcxActivationKey` to be + // created. This identifier must be unique among `HcxActivationKey` resources + // within the parent and becomes the final token in the name URI. + // The identifier must meet the following requirements: + // + // * Only contains 1-63 alphanumeric characters and hyphens + // * Begins with an alphabetical character + // * Ends with a non-hyphen character + // * Not formatted as a UUID + // * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) + // (section 3.5) + string hcx_activation_key_id = 3 [(google.api.field_behavior) = REQUIRED]; + + // A request ID to identify requests. Specify a unique request ID + // so that if you must retry your request, the server will know to ignore + // the request if it has already been completed. The server guarantees that a + // request doesn't result in creation of duplicate commitments for at least 60 + // minutes. + // + // For example, consider a situation where you make an initial request and the + // request times out. If you make the request again with the same request ID, + // the server can check if original operation with the same request ID was + // received, and if so, will ignore the second request. This prevents clients + // from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 4; +} + +// Request message for +// [VmwareEngine.GetDnsForwarding][google.cloud.vmwareengine.v1.VmwareEngine.GetDnsForwarding] +message GetDnsForwardingRequest { + // Required. The resource name of a `DnsForwarding` to retrieve. + // Resource names are schemeless URIs that follow the conventions in + // https://cloud.google.com/apis/design/resource_names. + // For example: + // `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/dnsForwarding` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "vmwareengine.googleapis.com/DnsForwarding" + } + ]; +} + +// Request message for +// [VmwareEngine.UpdateDnsForwarding][google.cloud.vmwareengine.v1.VmwareEngine.UpdateDnsForwarding] +message UpdateDnsForwardingRequest { + // Required. DnsForwarding config details. + DnsForwarding dns_forwarding = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. Field mask is used to specify the fields to be overwritten in the + // `DnsForwarding` resource by the update. + // The fields specified in the `update_mask` are relative to the resource, not + // the full request. A field will be overwritten if it is in the mask. If the + // user does not provide a mask then all fields will be overwritten. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; + + // Optional. A request ID to identify requests. Specify a unique request ID + // so that if you must retry your request, the server will know to ignore + // the request if it has already been completed. The server guarantees that a + // request doesn't result in creation of duplicate commitments for at least 60 + // minutes. + // + // For example, consider a situation where you make an initial request and the + // request times out. If you make the request again with the same request ID, + // the server can check if original operation with the same request ID was + // received, and if so, will ignore the second request. This prevents clients + // from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// Request message for +// [VmwareEngine.CreateNetworkPeering][google.cloud.vmwareengine.v1.VmwareEngine.CreateNetworkPeering] +message CreateNetworkPeeringRequest { + // Required. The resource name of the location to create the new network + // peering in. This value is always `global`, because `NetworkPeering` is a + // global resource. Resource names are schemeless URIs that follow the + // conventions in https://cloud.google.com/apis/design/resource_names. For + // example: `projects/my-project/locations/global` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "locations.googleapis.com/Location" + } + ]; + + // Required. The user-provided identifier of the new `NetworkPeering`. + // This identifier must be unique among `NetworkPeering` resources within the + // parent and becomes the final token in the name URI. + // The identifier must meet the following requirements: + // + // * Only contains 1-63 alphanumeric characters and hyphens + // * Begins with an alphabetical character + // * Ends with a non-hyphen character + // * Not formatted as a UUID + // * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) + // (section 3.5) + string network_peering_id = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The initial description of the new network peering. + NetworkPeering network_peering = 3 [(google.api.field_behavior) = REQUIRED]; + + // Optional. A request ID to identify requests. Specify a unique request ID + // so that if you must retry your request, the server will know to ignore + // the request if it has already been completed. The server guarantees that a + // request doesn't result in creation of duplicate commitments for at least 60 + // minutes. + // + // For example, consider a situation where you make an initial request and the + // request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 4 [(google.api.field_behavior) = OPTIONAL]; +} + +// Request message for +// [VmwareEngine.DeleteNetworkPeering][google.cloud.vmwareengine.v1.VmwareEngine.DeleteNetworkPeering] +message DeleteNetworkPeeringRequest { + // Required. The resource name of the network peering to be deleted. + // Resource names are schemeless URIs that follow the conventions in + // https://cloud.google.com/apis/design/resource_names. + // For example: + // `projects/my-project/locations/global/networkPeerings/my-peering` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "vmwareengine.googleapis.com/NetworkPeering" + } + ]; + + // Optional. A request ID to identify requests. Specify a unique request ID + // so that if you must retry your request, the server will know to ignore + // the request if it has already been completed. The server guarantees that a + // request doesn't result in creation of duplicate commitments for at least 60 + // minutes. + // + // For example, consider a situation where you make an initial request and the + // request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 2 [(google.api.field_behavior) = OPTIONAL]; +} + +// Request message for +// [VmwareEngine.GetNetworkPeering][google.cloud.vmwareengine.v1.VmwareEngine.GetNetworkPeering] +message GetNetworkPeeringRequest { + // Required. The resource name of the network peering to retrieve. + // Resource names are schemeless URIs that follow the conventions in + // https://cloud.google.com/apis/design/resource_names. + // For example: + // `projects/my-project/locations/global/networkPeerings/my-peering` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "vmwareengine.googleapis.com/NetworkPeering" + } + ]; +} + +// Request message for +// [VmwareEngine.ListNetworkPeerings][google.cloud.vmwareengine.v1.VmwareEngine.ListNetworkPeerings] +message ListNetworkPeeringsRequest { + // Required. The resource name of the location (global) to query for + // network peerings. Resource names are schemeless URIs that follow the + // conventions in https://cloud.google.com/apis/design/resource_names. For + // example: `projects/my-project/locations/global` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "vmwareengine.googleapis.com/NetworkPeering" + } + ]; + + // The maximum number of network peerings to return in one page. + // The maximum value is coerced to 1000. + // The default value of this field is 500. + int32 page_size = 2; + + // A page token, received from a previous `ListNetworkPeerings` call. + // Provide this to retrieve the subsequent page. + // + // When paginating, all other parameters provided to + // `ListNetworkPeerings` must match the call that provided the page + // token. + string page_token = 3; + + // A filter expression that matches resources returned in the response. + // The expression must specify the field name, a comparison + // operator, and the value that you want to use for filtering. The value + // must be a string, a number, or a boolean. The comparison operator + // must be `=`, `!=`, `>`, or `<`. + // + // For example, if you are filtering a list of network peerings, you can + // exclude the ones named `example-peering` by specifying + // `name != "example-peering"`. + // + // To filter on multiple expressions, provide each separate expression within + // parentheses. For example: + // ``` + // (name = "example-peering") + // (createTime > "2021-04-12T08:15:10.40Z") + // ``` + // + // By default, each expression is an `AND` expression. However, you + // can include `AND` and `OR` expressions explicitly. + // For example: + // ``` + // (name = "example-peering-1") AND + // (createTime > "2021-04-12T08:15:10.40Z") OR + // (name = "example-peering-2") + // ``` + string filter = 4; + + // Sorts list results by a certain order. By default, returned results + // are ordered by `name` in ascending order. + // You can also sort results in descending order based on the `name` value + // using `orderBy="name desc"`. + // Currently, only ordering by `name` is supported. + string order_by = 5; +} + +// Request message for +// [VmwareEngine.UpdateNetworkPeering][google.cloud.vmwareengine.v1.VmwareEngine.UpdateNetworkPeering] +message UpdateNetworkPeeringRequest { + // Required. Network peering description. + NetworkPeering network_peering = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. Field mask is used to specify the fields to be overwritten in the + // `NetworkPeering` resource by the update. + // The fields specified in the `update_mask` are relative to the resource, not + // the full request. A field will be overwritten if it is in the mask. If the + // user does not provide a mask then all fields will be overwritten. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; - // A request ID to identify requests. Specify a unique request ID + // Optional. A request ID to identify requests. Specify a unique request ID // so that if you must retry your request, the server will know to ignore // the request if it has already been completed. The server guarantees that a // request doesn't result in creation of duplicate commitments for at least 60 // minutes. // // For example, consider a situation where you make an initial request and the - // request times out. If you make the request again with the same request ID, - // the server can check if original operation with the same request ID was - // received, and if so, will ignore the second request. This prevents clients - // from accidentally creating duplicate commitments. + // request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. // // The request ID must be a valid UUID with the exception that zero UUID is // not supported (00000000-0000-0000-0000-000000000000). - string request_id = 4; + string request_id = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// Response message for +// [VmwareEngine.ListNetworkPeerings][google.cloud.vmwareengine.v1.VmwareEngine.ListNetworkPeerings] +message ListNetworkPeeringsResponse { + // A list of network peerings. + repeated NetworkPeering network_peerings = 1; + + // A token, which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; + + // Unreachable resources. + repeated string unreachable = 3; +} + +// Request message for +// [VmwareEngine.ListPeeringRoutes][google.cloud.vmwareengine.v1.VmwareEngine.ListPeeringRoutes] +message ListPeeringRoutesRequest { + // Required. The resource name of the network peering to retrieve peering + // routes from. Resource names are schemeless URIs that follow the conventions + // in https://cloud.google.com/apis/design/resource_names. For example: + // `projects/my-project/locations/global/networkPeerings/my-peering` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "vmwareengine.googleapis.com/NetworkPeering" + } + ]; + + // The maximum number of peering routes to return in one page. + // The service may return fewer than this value. + // The maximum value is coerced to 1000. + // The default value of this field is 500. + int32 page_size = 2; + + // A page token, received from a previous `ListPeeringRoutes` call. + // Provide this to retrieve the subsequent page. + // When paginating, all other parameters provided to `ListPeeringRoutes` must + // match the call that provided the page token. + string page_token = 3; + + // A filter expression that matches resources returned in the response. + // Currently, only filtering on the `direction` field is supported. To return + // routes imported from the peer network, provide "direction=INCOMING". To + // return routes exported from the VMware Engine network, provide + // "direction=OUTGOING". Other filter expressions return an error. + string filter = 6; +} + +// Response message for +// [VmwareEngine.ListPeeringRoutes][google.cloud.vmwareengine.v1.VmwareEngine.ListPeeringRoutes] +message ListPeeringRoutesResponse { + // A list of peering routes. + repeated PeeringRoute peering_routes = 1; + + // A token, which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; } // Request message for @@ -1390,11 +3020,253 @@ message DeleteNetworkPolicyRequest { // Resource names are schemeless URIs that follow the conventions in // https://cloud.google.com/apis/design/resource_names. // For example: - // `projects/my-project/locations/us-central1/networkPolicies/my-network-policy` + // `projects/my-project/locations/us-central1/networkPolicies/my-network-policy` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "vmwareengine.googleapis.com/NetworkPolicy" + } + ]; + + // Optional. A request ID to identify requests. Specify a unique request ID + // so that if you must retry your request, the server will know to ignore + // the request if it has already been completed. The server guarantees that a + // request doesn't result in creation of duplicate commitments for at least 60 + // minutes. + // + // For example, consider a situation where you make an initial request and the + // request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 2 [(google.api.field_behavior) = OPTIONAL]; +} + +// Request message for +// [VmwareEngine.ListManagementDnsZoneBindings][google.cloud.vmwareengine.v1.VmwareEngine.ListManagementDnsZoneBindings] +message ListManagementDnsZoneBindingsRequest { + // Required. The resource name of the private cloud to be queried for + // management DNS zone bindings. + // Resource names are schemeless URIs that follow the conventions in + // https://cloud.google.com/apis/design/resource_names. + // For example: + // `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "vmwareengine.googleapis.com/PrivateCloud" + } + ]; + + // The maximum number of management DNS zone bindings to return in one page. + // The service may return fewer than this value. + // The maximum value is coerced to 1000. + // The default value of this field is 500. + int32 page_size = 2; + + // A page token, received from a previous `ListManagementDnsZoneBindings` + // call. Provide this to retrieve the subsequent page. + // + // When paginating, all other parameters provided to + // `ListManagementDnsZoneBindings` must match the call that provided the page + // token. + string page_token = 3; + + // A filter expression that matches resources returned in the response. + // The expression must specify the field name, a comparison + // operator, and the value that you want to use for filtering. The value + // must be a string, a number, or a boolean. The comparison operator + // must be `=`, `!=`, `>`, or `<`. + // + // For example, if you are filtering a list of Management DNS Zone Bindings, + // you can exclude the ones named `example-management-dns-zone-binding` by + // specifying `name != "example-management-dns-zone-binding"`. + // + // To filter on multiple expressions, provide each separate expression within + // parentheses. For example: + // ``` + // (name = "example-management-dns-zone-binding") + // (createTime > "2021-04-12T08:15:10.40Z") + // ``` + // + // By default, each expression is an `AND` expression. However, you + // can include `AND` and `OR` expressions explicitly. + // For example: + // ``` + // (name = "example-management-dns-zone-binding-1") AND + // (createTime > "2021-04-12T08:15:10.40Z") OR + // (name = "example-management-dns-zone-binding-2") + // ``` + string filter = 4; + + // Sorts list results by a certain order. By default, returned results + // are ordered by `name` in ascending order. + // You can also sort results in descending order based on the `name` value + // using `orderBy="name desc"`. + // Currently, only ordering by `name` is supported. + string order_by = 5; +} + +// Response message for +// [VmwareEngine.ListManagementDnsZoneBindings][google.cloud.vmwareengine.v1.VmwareEngine.ListManagementDnsZoneBindings] +message ListManagementDnsZoneBindingsResponse { + // A list of management DNS zone bindings. + repeated ManagementDnsZoneBinding management_dns_zone_bindings = 1; + + // A token, which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; + + // Locations that could not be reached when making an aggregated query using + // wildcards. + repeated string unreachable = 3; +} + +// Request message for +// [VmwareEngine.GetManagementDnsZoneBinding][google.cloud.vmwareengine.v1.VmwareEngine.GetManagementDnsZoneBinding] +message GetManagementDnsZoneBindingRequest { + // Required. The resource name of the management DNS zone binding to + // retrieve. Resource names are schemeless URIs that follow the conventions in + // https://cloud.google.com/apis/design/resource_names. + // For example: + // `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "vmwareengine.googleapis.com/ManagementDnsZoneBinding" + } + ]; +} + +// Request message for [VmwareEngine.CreateManagementDnsZoneBindings][] +message CreateManagementDnsZoneBindingRequest { + // Required. The resource name of the private cloud + // to create a new management DNS zone binding for. + // Resource names are schemeless URIs that follow the conventions in + // https://cloud.google.com/apis/design/resource_names. + // For example: + // `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "vmwareengine.googleapis.com/PrivateCloud" + } + ]; + + // Required. The initial values for a new management DNS zone binding. + ManagementDnsZoneBinding management_dns_zone_binding = 2 + [(google.api.field_behavior) = REQUIRED]; + + // Required. The user-provided identifier of the `ManagementDnsZoneBinding` + // resource to be created. This identifier must be unique among + // `ManagementDnsZoneBinding` resources within the parent and becomes the + // final token in the name URI. The identifier must meet the following + // requirements: + // + // * Only contains 1-63 alphanumeric characters and hyphens + // * Begins with an alphabetical character + // * Ends with a non-hyphen character + // * Not formatted as a UUID + // * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) + // (section 3.5) + string management_dns_zone_binding_id = 3 + [(google.api.field_behavior) = REQUIRED]; + + // Optional. A request ID to identify requests. Specify a unique request ID + // so that if you must retry your request, the server will know to ignore + // the request if it has already been completed. The server guarantees that a + // request doesn't result in creation of duplicate commitments for at least 60 + // minutes. + // + // For example, consider a situation where you make an initial request and the + // request times out. If you make the request again with the same request ID, + // the server can check if the original operation with the same request ID was + // received, and if so, will ignore the second request. This prevents clients + // from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 4 [(google.api.field_behavior) = OPTIONAL]; +} + +// Request message for +// [VmwareEngine.UpdateManagementDnsZoneBinding][google.cloud.vmwareengine.v1.VmwareEngine.UpdateManagementDnsZoneBinding] +message UpdateManagementDnsZoneBindingRequest { + // Required. Field mask is used to specify the fields to be overwritten in the + // `ManagementDnsZoneBinding` resource by the update. + // The fields specified in the `update_mask` are relative to the resource, not + // the full request. A field will be overwritten if it is in the mask. If the + // user does not provide a mask then all fields will be overwritten. + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = REQUIRED]; + + // Required. New values to update the management DNS zone binding with. + ManagementDnsZoneBinding management_dns_zone_binding = 2 + [(google.api.field_behavior) = REQUIRED]; + + // Optional. A request ID to identify requests. Specify a unique request ID + // so that if you must retry your request, the server will know to ignore + // the request if it has already been completed. The server guarantees that a + // request doesn't result in creation of duplicate commitments for at least 60 + // minutes. + // + // For example, consider a situation where you make an initial request and the + // request times out. If you make the request again with the same request ID, + // the server can check if the original operation with the same request ID was + // received, and if so, will ignore the second request. This prevents clients + // from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// Request message for +// [VmwareEngine.DeleteManagementDnsZoneBinding][google.cloud.vmwareengine.v1.VmwareEngine.DeleteManagementDnsZoneBinding] +message DeleteManagementDnsZoneBindingRequest { + // Required. The resource name of the management DNS zone binding to delete. + // Resource names are schemeless URIs that follow the conventions in + // https://cloud.google.com/apis/design/resource_names. + // For example: + // `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "vmwareengine.googleapis.com/ManagementDnsZoneBinding" + } + ]; + + // Optional. A request ID to identify requests. Specify a unique request ID + // so that if you must retry your request, the server will know to ignore + // the request if it has already been completed. The server guarantees that a + // request doesn't result in creation of duplicate commitments for at least 60 + // minutes. + // + // For example, consider a situation where you make an initial request and the + // request times out. If you make the request again with the same request + // ID, the server can check if the original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 2 [(google.api.field_behavior) = OPTIONAL]; +} + +// Request message for [VmwareEngine.RepairManagementDnsZoneBindings][] +message RepairManagementDnsZoneBindingRequest { + // Required. The resource name of the management DNS zone binding to repair. + // Resource names are schemeless URIs that follow the conventions in + // https://cloud.google.com/apis/design/resource_names. + // For example: + // `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding` string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { - type: "vmwareengine.googleapis.com/NetworkPolicy" + type: "vmwareengine.googleapis.com/ManagementDnsZoneBinding" } ]; @@ -1405,10 +3277,10 @@ message DeleteNetworkPolicyRequest { // minutes. // // For example, consider a situation where you make an initial request and the - // request times out. If you make the request again with the same request - // ID, the server can check if original operation with the same request ID - // was received, and if so, will ignore the second request. This prevents - // clients from accidentally creating duplicate commitments. + // request times out. If you make the request again with the same request ID, + // the server can check if the original operation with the same request ID was + // received, and if so, will ignore the second request. This prevents clients + // from accidentally creating duplicate commitments. // // The request ID must be a valid UUID with the exception that zero UUID is // not supported (00000000-0000-0000-0000-000000000000). @@ -1631,3 +3503,339 @@ message ListVmwareEngineNetworksResponse { // Unreachable resources. repeated string unreachable = 3; } + +// Request message for +// [VmwareEngine.CreatePrivateConnection][google.cloud.vmwareengine.v1.VmwareEngine.CreatePrivateConnection] +message CreatePrivateConnectionRequest { + // Required. The resource name of the location to create the new private + // connection in. Private connection is a regional resource. + // Resource names are schemeless URIs that follow the conventions in + // https://cloud.google.com/apis/design/resource_names. For example: + // `projects/my-project/locations/us-central1` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "vmwareengine.googleapis.com/PrivateConnection" + } + ]; + + // Required. The user-provided identifier of the new private connection. + // This identifier must be unique among private connection resources + // within the parent and becomes the final token in the name URI. The + // identifier must meet the following requirements: + // + // * Only contains 1-63 alphanumeric characters and hyphens + // * Begins with an alphabetical character + // * Ends with a non-hyphen character + // * Not formatted as a UUID + // * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) + // (section 3.5) + string private_connection_id = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The initial description of the new private connection. + PrivateConnection private_connection = 3 + [(google.api.field_behavior) = REQUIRED]; + + // Optional. A request ID to identify requests. Specify a unique request ID + // so that if you must retry your request, the server will know to ignore + // the request if it has already been completed. The server guarantees that a + // request doesn't result in creation of duplicate commitments for at least 60 + // minutes. + // + // For example, consider a situation where you make an initial request and the + // request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 4 [(google.api.field_behavior) = OPTIONAL]; +} + +// Request message for +// [VmwareEngine.GetPrivateConnection][google.cloud.vmwareengine.v1.VmwareEngine.GetPrivateConnection] +message GetPrivateConnectionRequest { + // Required. The resource name of the private connection to retrieve. + // Resource names are schemeless URIs that follow the conventions in + // https://cloud.google.com/apis/design/resource_names. + // For example: + // `projects/my-project/locations/us-central1/privateConnections/my-connection` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "vmwareengine.googleapis.com/PrivateConnection" + } + ]; +} + +// Request message for +// [VmwareEngine.ListPrivateConnections][google.cloud.vmwareengine.v1.VmwareEngine.ListPrivateConnections] +message ListPrivateConnectionsRequest { + // Required. The resource name of the location to query for + // private connections. Resource names are schemeless URIs that follow the + // conventions in https://cloud.google.com/apis/design/resource_names. For + // example: `projects/my-project/locations/us-central1` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "vmwareengine.googleapis.com/PrivateConnection" + } + ]; + + // The maximum number of private connections to return in one page. + // The maximum value is coerced to 1000. + // The default value of this field is 500. + int32 page_size = 2; + + // A page token, received from a previous `ListPrivateConnections` call. + // Provide this to retrieve the subsequent page. + // + // When paginating, all other parameters provided to + // `ListPrivateConnections` must match the call that provided the page + // token. + string page_token = 3; + + // A filter expression that matches resources returned in the response. + // The expression must specify the field name, a comparison + // operator, and the value that you want to use for filtering. The value + // must be a string, a number, or a boolean. The comparison operator + // must be `=`, `!=`, `>`, or `<`. + // + // For example, if you are filtering a list of private connections, you can + // exclude the ones named `example-connection` by specifying + // `name != "example-connection"`. + // + // To filter on multiple expressions, provide each separate expression within + // parentheses. For example: + // ``` + // (name = "example-connection") + // (createTime > "2022-09-22T08:15:10.40Z") + // ``` + // + // By default, each expression is an `AND` expression. However, you + // can include `AND` and `OR` expressions explicitly. + // For example: + // ``` + // (name = "example-connection-1") AND + // (createTime > "2021-04-12T08:15:10.40Z") OR + // (name = "example-connection-2") + // ``` + string filter = 4; + + // Sorts list results by a certain order. By default, returned results + // are ordered by `name` in ascending order. + // You can also sort results in descending order based on the `name` value + // using `orderBy="name desc"`. + // Currently, only ordering by `name` is supported. + string order_by = 5; +} + +// Response message for +// [VmwareEngine.ListPrivateConnections][google.cloud.vmwareengine.v1.VmwareEngine.ListPrivateConnections] +message ListPrivateConnectionsResponse { + // A list of private connections. + repeated PrivateConnection private_connections = 1; + + // A token, which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; + + // Unreachable resources. + repeated string unreachable = 3; +} + +// Request message for +// [VmwareEngine.UpdatePrivateConnection][google.cloud.vmwareengine.v1.VmwareEngine.UpdatePrivateConnection] +message UpdatePrivateConnectionRequest { + // Required. Private connection description. + PrivateConnection private_connection = 1 + [(google.api.field_behavior) = REQUIRED]; + + // Required. Field mask is used to specify the fields to be overwritten in the + // `PrivateConnection` resource by the update. + // The fields specified in the `update_mask` are relative to the resource, not + // the full request. A field will be overwritten if it is in the mask. If the + // user does not provide a mask then all fields will be overwritten. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; + + // Optional. A request ID to identify requests. Specify a unique request ID + // so that if you must retry your request, the server will know to ignore + // the request if it has already been completed. The server guarantees that a + // request doesn't result in creation of duplicate commitments for at least 60 + // minutes. + // + // For example, consider a situation where you make an initial request and the + // request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// Request message for +// [VmwareEngine.DeletePrivateConnection][google.cloud.vmwareengine.v1.VmwareEngine.DeletePrivateConnection] +message DeletePrivateConnectionRequest { + // Required. The resource name of the private connection to be deleted. + // Resource names are schemeless URIs that follow the conventions in + // https://cloud.google.com/apis/design/resource_names. + // For example: + // `projects/my-project/locations/us-central1/privateConnections/my-connection` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "vmwareengine.googleapis.com/PrivateConnection" + } + ]; + + // Optional. A request ID to identify requests. Specify a unique request ID + // so that if you must retry your request, the server will know to ignore + // the request if it has already been completed. The server guarantees that a + // request doesn't result in creation of duplicate commitments for at least 60 + // minutes. + // + // For example, consider a situation where you make an initial request and the + // request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 2 [(google.api.field_behavior) = OPTIONAL]; +} + +// Request message for +// [VmwareEngine.ListPrivateConnectionPeeringRoutes][google.cloud.vmwareengine.v1.VmwareEngine.ListPrivateConnectionPeeringRoutes] +message ListPrivateConnectionPeeringRoutesRequest { + // Required. The resource name of the private connection to retrieve peering + // routes from. Resource names are schemeless URIs that follow the conventions + // in https://cloud.google.com/apis/design/resource_names. For example: + // `projects/my-project/locations/us-west1/privateConnections/my-connection` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "vmwareengine.googleapis.com/PrivateConnection" + } + ]; + + // The maximum number of peering routes to return in one page. + // The service may return fewer than this value. + // The maximum value is coerced to 1000. + // The default value of this field is 500. + int32 page_size = 2; + + // A page token, received from a previous `ListPrivateConnectionPeeringRoutes` + // call. Provide this to retrieve the subsequent page. When paginating, all + // other parameters provided to `ListPrivateConnectionPeeringRoutes` must + // match the call that provided the page token. + string page_token = 3; +} + +// Response message for +// [VmwareEngine.ListPrivateConnectionPeeringRoutes][google.cloud.vmwareengine.v1.VmwareEngine.ListPrivateConnectionPeeringRoutes] +message ListPrivateConnectionPeeringRoutesResponse { + // A list of peering routes. + repeated PeeringRoute peering_routes = 1; + + // A token, which can be sent as `page_token` to retrieve the next page. + // If this field is omitted, there are no subsequent pages. + string next_page_token = 2; +} + +// Request message for +// [VmwareEngine.GrantDnsBindPermission][google.cloud.vmwareengine.v1.VmwareEngine.GrantDnsBindPermission] +message GrantDnsBindPermissionRequest { + // Required. The name of the resource which stores the users/service accounts + // having the permission to bind to the corresponding intranet VPC of the + // consumer project. DnsBindPermission is a global resource. Resource names + // are schemeless URIs that follow the conventions in + // https://cloud.google.com/apis/design/resource_names. For example: + // `projects/my-project/locations/global/dnsBindPermission` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "vmwareengine.googleapis.com/DnsBindPermission" + } + ]; + + // Required. The consumer provided user/service account which needs to be + // granted permission to bind with the intranet VPC corresponding to the + // consumer project. + Principal principal = 2 [(google.api.field_behavior) = REQUIRED]; + + // Optional. A request ID to identify requests. Specify a unique request ID + // so that if you must retry your request, the server will know to ignore + // the request if it has already been completed. The server guarantees that a + // request doesn't result in creation of duplicate commitments for at least 60 + // minutes. + // + // For example, consider a situation where you make an initial request and the + // request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// Request message for +// [VmwareEngine.RevokeDnsBindPermission][google.cloud.vmwareengine.v1.VmwareEngine.RevokeDnsBindPermission] +message RevokeDnsBindPermissionRequest { + // Required. The name of the resource which stores the users/service accounts + // having the permission to bind to the corresponding intranet VPC of the + // consumer project. DnsBindPermission is a global resource. Resource names + // are schemeless URIs that follow the conventions in + // https://cloud.google.com/apis/design/resource_names. For example: + // `projects/my-project/locations/global/dnsBindPermission` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "vmwareengine.googleapis.com/DnsBindPermission" + } + ]; + + // Required. The consumer provided user/service account which needs to be + // granted permission to bind with the intranet VPC corresponding to the + // consumer project. + Principal principal = 2 [(google.api.field_behavior) = REQUIRED]; + + // Optional. A request ID to identify requests. Specify a unique request ID + // so that if you must retry your request, the server will know to ignore + // the request if it has already been completed. The server guarantees that a + // request doesn't result in creation of duplicate commitments for at least 60 + // minutes. + // + // For example, consider a situation where you make an initial request and the + // request times out. If you make the request again with the same request + // ID, the server can check if original operation with the same request ID + // was received, and if so, will ignore the second request. This prevents + // clients from accidentally creating duplicate commitments. + // + // The request ID must be a valid UUID with the exception that zero UUID is + // not supported (00000000-0000-0000-0000-000000000000). + string request_id = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// Request message for +// [VmwareEngine.GetDnsBindPermission][google.cloud.vmwareengine.v1.VmwareEngine.GetDnsBindPermission] +message GetDnsBindPermissionRequest { + // Required. The name of the resource which stores the users/service accounts + // having the permission to bind to the corresponding intranet VPC of the + // consumer project. DnsBindPermission is a global resource. Resource names + // are schemeless URIs that follow the conventions in + // https://cloud.google.com/apis/design/resource_names. For example: + // `projects/my-project/locations/global/dnsBindPermission` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "vmwareengine.googleapis.com/DnsBindPermission" + } + ]; +} diff --git a/third_party/googleapis/google/cloud/vmwareengine/v1/vmwareengine_grpc_service_config.json b/third_party/googleapis/google/cloud/vmwareengine/v1/vmwareengine_grpc_service_config.json index 96b3063b9..5f861115f 100644 --- a/third_party/googleapis/google/cloud/vmwareengine/v1/vmwareengine_grpc_service_config.json +++ b/third_party/googleapis/google/cloud/vmwareengine/v1/vmwareengine_grpc_service_config.json @@ -22,6 +22,22 @@ "service": "google.cloud.vmwareengine.v1.VmwareEngine", "method": "ListSubnets" }, + { + "service": "google.cloud.vmwareengine.v1.VmwareEngine", + "method": "GetSubnet" + }, + { + "service": "google.cloud.vmwareengine.v1.VmwareEngine", + "method": "GetPrivateConnection" + }, + { + "service": "google.cloud.vmwareengine.v1.VmwareEngine", + "method": "ListPrivateConnections" + }, + { + "service": "google.cloud.vmwareengine.v1.VmwareEngine", + "method": "ListPrivateConnectionPeeringRoutes" + }, { "service": "google.cloud.vmwareengine.v1.VmwareEngine", "method": "ListNodeTypes" @@ -61,6 +77,66 @@ { "service": "google.cloud.vmwareengine.v1.VmwareEngine", "method": "ListVmwareEngineNetworks" + }, + { + "service": "google.cloud.vmwareengine.v1.VmwareEngine", + "method": "GetManagementDnsZoneBinding" + }, + { + "service": "google.cloud.vmwareengine.v1.VmwareEngine", + "method": "ListManagementDnsZoneBindings" + }, + { + "service": "google.cloud.vmwareengine.v1.VmwareEngine", + "method": "GetDnsBindPermission" + }, + { + "service": "google.cloud.vmwareengine.v1.VmwareEngine", + "method": "GetDnsForwarding" + }, + { + "service": "google.cloud.vmwareengine.v1.VmwareEngine", + "method": "GetExternalAccessRule" + }, + { + "service": "google.cloud.vmwareengine.v1.VmwareEngine", + "method": "ListExternalAccessRules" + }, + { + "service": "google.cloud.vmwareengine.v1.VmwareEngine", + "method": "GetExternalAddress" + }, + { + "service": "google.cloud.vmwareengine.v1.VmwareEngine", + "method": "ListExternalAddresses" + }, + { + "service": "google.cloud.vmwareengine.v1.VmwareEngine", + "method": "GetLoggingServer" + }, + { + "service": "google.cloud.vmwareengine.v1.VmwareEngine", + "method": "ListLoggingServers" + }, + { + "service": "google.cloud.vmwareengine.v1.VmwareEngine", + "method": "GetNetworkPeering" + }, + { + "service": "google.cloud.vmwareengine.v1.VmwareEngine", + "method": "ListNetworkPeerings" + }, + { + "service": "google.cloud.vmwareengine.v1.VmwareEngine", + "method": "ListPeeringRoutes" + }, + { + "service": "google.cloud.vmwareengine.v1.VmwareEngine", + "method": "GetNode" + }, + { + "service": "google.cloud.vmwareengine.v1.VmwareEngine", + "method": "ListNodes" } ], "timeout": "120s", @@ -72,6 +148,15 @@ "retryableStatusCodes": ["UNAVAILABLE"] } }, + { + "name": [ + { + "service": "google.cloud.vmwareengine.v1.VmwareEngine", + "method": "UpdateSubnet" + } + ], + "timeout": "60s" + }, { "name": [ {"service": "google.cloud.vmwareengine.v1.VmwareEngine"} diff --git a/third_party/googleapis/google/cloud/vmwareengine/v1/vmwareengine_resources.proto b/third_party/googleapis/google/cloud/vmwareengine/v1/vmwareengine_resources.proto index 4f0a496df..229db7792 100644 --- a/third_party/googleapis/google/cloud/vmwareengine/v1/vmwareengine_resources.proto +++ b/third_party/googleapis/google/cloud/vmwareengine/v1/vmwareengine_resources.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -64,6 +64,12 @@ message NetworkConfig { // current features. int32 management_ip_address_layout_version = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. DNS Server IP of the Private Cloud. + // All DNS queries can be forwarded to this address for name resolution of + // Private Cloud's management entities like vCenter, NSX-T Manager and + // ESXi hosts. + string dns_server_ip = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Information about the type and number of nodes associated with the cluster. @@ -78,7 +84,36 @@ message NodeTypeConfig { int32 custom_core_count = 2 [(google.api.field_behavior) = OPTIONAL]; } -// Represents a private cloud resource. Private clouds are zonal resources. +// Configuration of a stretched cluster. +message StretchedClusterConfig { + // Required. Zone that will remain operational when connection between the two + // zones is lost. Specify the resource name of a zone that belongs to the + // region of the private cloud. For example: + // `projects/{project}/locations/europe-west3-a` where `{project}` can either + // be a project number or a project ID. + string preferred_location = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "locations.googleapis.com/Location" + } + ]; + + // Required. Additional zone for a higher level of availability and load + // balancing. Specify the resource name of a zone that belongs to the region + // of the private cloud. For example: + // `projects/{project}/locations/europe-west3-b` where `{project}` can either + // be a project number or a project ID. + string secondary_location = 2 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "locations.googleapis.com/Location" + } + ]; +} + +// Represents a private cloud resource. Private clouds of type `STANDARD` and +// `TIME_LIMITED` are zonal resources, `STRETCHED` private clouds are +// regional. message PrivateCloud { option (google.api.resource) = { type: "vmwareengine.googleapis.com/PrivateCloud" @@ -128,6 +163,27 @@ message PrivateCloud { // canonical identifier of the node type (corresponds to the `NodeType`). map node_type_configs = 7 [(google.api.field_behavior) = REQUIRED]; + + // Optional. Configuration of a stretched cluster. Required for STRETCHED + // private clouds. + StretchedClusterConfig stretched_cluster_config = 8 + [(google.api.field_behavior) = OPTIONAL]; + } + + // Enum Type defines private cloud type. + enum Type { + // Standard private is a zonal resource, with 3+ nodes. Default type. + STANDARD = 0; + + // Time limited private cloud is a zonal resource, can have only 1 node and + // has limited life span. Will be deleted after defined period of time, + // can be converted into standard private cloud by expanding it up to 3 + // or more nodes. + TIME_LIMITED = 1; + + // Stretched private cloud is a regional resource with redundancy, + // with a minimum of 6 nodes, nodes count has to be even. + STRETCHED = 2; } // Output only. The resource name of this private cloud. @@ -185,6 +241,9 @@ message PrivateCloud { // Output only. System-generated unique identifier for the resource. string uid = 20 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. Type of the private cloud. Defaults to STANDARD. + Type type = 22 [(google.api.field_behavior) = OPTIONAL]; } // A cluster in a private cloud. @@ -247,6 +306,122 @@ message Cluster { // canonical identifier of the node type (corresponds to the `NodeType`). map node_type_configs = 16 [(google.api.field_behavior) = REQUIRED]; + + // Optional. Configuration of a stretched cluster. Required for clusters that + // belong to a STRETCHED private cloud. + StretchedClusterConfig stretched_cluster_config = 17 + [(google.api.field_behavior) = OPTIONAL]; +} + +// Node in a cluster. +message Node { + option (google.api.resource) = { + type: "vmwareengine.googleapis.com/Node" + pattern: "projects/{project}/locations/{location}/privateClouds/{private_cloud}/clusters/{cluster}/nodes/{node}" + }; + + // Enum State defines possible states of a node in a cluster. + enum State { + // The default value. This value should never be used. + STATE_UNSPECIFIED = 0; + + // Node is operational and can be used by the user. + ACTIVE = 1; + + // Node is being provisioned. + CREATING = 2; + + // Node is in a failed state. + FAILED = 3; + + // Node is undergoing maintenance, e.g.: during private cloud upgrade. + UPGRADING = 4; + } + + // Output only. The resource name of this node. + // Resource names are schemeless URIs that follow the conventions in + // https://cloud.google.com/apis/design/resource_names. + // For example: + // projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster/nodes/my-node + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Fully qualified domain name of the node. + string fqdn = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Internal IP address of the node. + string internal_ip = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The canonical identifier of the node type (corresponds to the + // `NodeType`). + // For example: standard-72. + string node_type_id = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The version number of the VMware ESXi + // management component in this cluster. + string version = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Customized number of cores + int64 custom_core_count = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The state of the appliance. + State state = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// Represents an allocated external IP address and its corresponding internal IP +// address in a private cloud. +message ExternalAddress { + option (google.api.resource) = { + type: "vmwareengine.googleapis.com/ExternalAddress" + pattern: "projects/{project}/locations/{location}/privateClouds/{private_cloud}/externalAddresses/{external_address}" + }; + + // Enum State defines possible states of external addresses. + enum State { + // The default value. This value should never be used. + STATE_UNSPECIFIED = 0; + + // The address is ready. + ACTIVE = 1; + + // The address is being created. + CREATING = 2; + + // The address is being updated. + UPDATING = 3; + + // The address is being deleted. + DELETING = 4; + } + + // Output only. The resource name of this external IP address. + // Resource names are schemeless URIs that follow the conventions in + // https://cloud.google.com/apis/design/resource_names. + // For example: + // `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address` + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Creation time of this resource. + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Last update time of this resource. + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // The internal IP address of a workload VM. + string internal_ip = 6; + + // Output only. The external IP address of a workload VM. + string external_ip = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The state of the resource. + State state = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. System-generated unique identifier for the resource. + string uid = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // User-provided description for this resource. + string description = 11; } // Subnet in a private cloud. Either `management` subnets (such as vMotion) that @@ -273,6 +448,13 @@ message Subnet { // The subnet is being deleted. DELETING = 4; + + // Changes requested in the last operation are being propagated. + RECONCILING = 5; + + // Last operation on the subnet did not succeed. Subnet's payload is + // reverted back to its most recent working state. + FAILED = 6; } // Output only. The resource name of this subnet. @@ -295,6 +477,207 @@ message Subnet { // Output only. The state of the resource. State state = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. VLAN ID of the VLAN on which the subnet is configured + int32 vlan_id = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// External access firewall rules for filtering incoming traffic destined to +// `ExternalAddress` resources. +message ExternalAccessRule { + option (google.api.resource) = { + type: "vmwareengine.googleapis.com/ExternalAccessRule" + pattern: "projects/{project}/locations/{location}/networkPolicies/{network_policy}/externalAccessRules/{external_access_rule}" + }; + + // Action determines whether the external access rule permits or blocks + // traffic, subject to the other components of the rule matching the traffic. + enum Action { + // Defaults to allow. + ACTION_UNSPECIFIED = 0; + + // Allows connections that match the other specified components. + ALLOW = 1; + + // Blocks connections that match the other specified components. + DENY = 2; + } + + // An IP range provided in any one of the supported formats. + message IpRange { + oneof ip_range { + // A single IP address. For example: `10.0.0.5`. + string ip_address = 1; + + // An IP address range in the CIDR format. For example: `10.0.0.0/24`. + string ip_address_range = 2; + + // The name of an `ExternalAddress` resource. The external address must + // have been reserved in the scope of this external access rule's parent + // network policy. Provide the external address name in the form of + // `projects/{project}/locations/{location}/privateClouds/{private_cloud}/externalAddresses/{external_address}`. + // For example: + // `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address`. + string external_address = 3 [(google.api.resource_reference) = { + type: "vmwareengine.googleapis.com/ExternalAddress" + }]; + } + } + + // Defines possible states of external access firewall rules. + enum State { + // The default value. This value is used if the state is omitted. + STATE_UNSPECIFIED = 0; + + // The rule is ready. + ACTIVE = 1; + + // The rule is being created. + CREATING = 2; + + // The rule is being updated. + UPDATING = 3; + + // The rule is being deleted. + DELETING = 4; + } + + // Output only. The resource name of this external access rule. + // Resource names are schemeless URIs that follow the conventions in + // https://cloud.google.com/apis/design/resource_names. + // For example: + // `projects/my-project/locations/us-central1/networkPolicies/my-policy/externalAccessRules/my-rule` + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Creation time of this resource. + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Last update time of this resource. + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // User-provided description for this external access rule. + string description = 5; + + // External access rule priority, which determines the external access rule to + // use when multiple rules apply. If multiple rules have the same priority, + // their ordering is non-deterministic. If specific ordering is required, + // assign unique priorities to enforce such ordering. The external access rule + // priority is an integer from 100 to 4096, both inclusive. Lower integers + // indicate higher precedence. For example, a rule with priority `100` has + // higher precedence than a rule with priority `101`. + int32 priority = 6; + + // The action that the external access rule performs. + Action action = 7; + + // The IP protocol to which the external access rule applies. This value can + // be one of the following three protocol strings (not case-sensitive): + // `tcp`, `udp`, or `icmp`. + string ip_protocol = 8; + + // If source ranges are specified, the external access rule applies only to + // traffic that has a source IP address in these ranges. These ranges can + // either be expressed in the CIDR format or as an IP address. As only inbound + // rules are supported, `ExternalAddress` resources cannot be the source IP + // addresses of an external access rule. To match all source addresses, + // specify `0.0.0.0/0`. + repeated IpRange source_ip_ranges = 9; + + // A list of source ports to which the external access rule applies. This + // field is only applicable for the UDP or TCP protocol. + // Each entry must be either an integer or a range. For example: `["22"]`, + // `["80","443"]`, or `["12345-12349"]`. To match all source ports, specify + // `["0-65535"]`. + repeated string source_ports = 10; + + // If destination ranges are specified, the external access rule applies only + // to the traffic that has a destination IP address in these ranges. The + // specified IP addresses must have reserved external IP addresses in the + // scope of the parent network policy. To match all external IP addresses in + // the scope of the parent network policy, specify `0.0.0.0/0`. To match a + // specific external IP address, specify it using the + // `IpRange.external_address` property. + repeated IpRange destination_ip_ranges = 11; + + // A list of destination ports to which the external access rule applies. This + // field is only applicable for the UDP or TCP protocol. + // Each entry must be either an integer or a range. For example: `["22"]`, + // `["80","443"]`, or `["12345-12349"]`. To match all destination ports, + // specify `["0-65535"]`. + repeated string destination_ports = 12; + + // Output only. The state of the resource. + State state = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. System-generated unique identifier for the resource. + string uid = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// Logging server to receive vCenter or ESXi logs. +message LoggingServer { + option (google.api.resource) = { + type: "vmwareengine.googleapis.com/LoggingServer" + pattern: "projects/{project}/locations/{location}/privateClouds/{private_cloud}/loggingServers/{logging_server}" + }; + + // Defines possible protocols used to send logs to + // a logging server. + enum Protocol { + // Unspecified communications protocol. This is the default value. + PROTOCOL_UNSPECIFIED = 0; + + // UDP + UDP = 1; + + // TCP + TCP = 2; + } + + // Defines possible types of component that produces logs. + enum SourceType { + // The default value. This value should never be used. + SOURCE_TYPE_UNSPECIFIED = 0; + + // Logs produced by ESXI hosts + ESXI = 1; + + // Logs produced by vCenter server + VCSA = 2; + } + + // Output only. The resource name of this logging server. + // Resource names are schemeless URIs that follow the conventions in + // https://cloud.google.com/apis/design/resource_names. + // For example: + // `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server` + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Creation time of this resource. + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Last update time of this resource. + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Required. Fully-qualified domain name (FQDN) or IP Address of the logging + // server. + string hostname = 5 [(google.api.field_behavior) = REQUIRED]; + + // Required. Port number at which the logging server receives logs. + int32 port = 7 [(google.api.field_behavior) = REQUIRED]; + + // Required. Protocol used by vCenter to send logs to a logging server. + Protocol protocol = 6 [(google.api.field_behavior) = REQUIRED]; + + // Required. The type of component that produces logs that will be forwarded + // to this logging server. + SourceType source_type = 10 [(google.api.field_behavior) = REQUIRED]; + + // Output only. System-generated unique identifier for the resource. + string uid = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Describes node type. @@ -304,6 +687,28 @@ message NodeType { pattern: "projects/{project}/locations/{location}/nodeTypes/{node_type}" }; + // Enum Kind defines possible types of a NodeType. + enum Kind { + // The default value. This value should never be used. + KIND_UNSPECIFIED = 0; + + // Standard HCI node. + STANDARD = 1; + + // Storage only Node. + STORAGE_ONLY = 2; + } + + // Capability of a node type. + enum Capability { + // The default value. This value is used if the capability is omitted or + // unknown. + CAPABILITY_UNSPECIFIED = 0; + + // This node type supports stretch clusters. + STRETCHED_CLUSTERS = 1; + } + // Output only. The resource name of this node type. // Resource names are schemeless URIs that follow the conventions in // https://cloud.google.com/apis/design/resource_names. @@ -334,6 +739,18 @@ message NodeType { // Output only. List of possible values of custom core count. repeated int32 available_custom_core_counts = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The type of the resource. + Kind kind = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Families of the node type. + // For node types to be in the same cluster + // they must share at least one element in the `families`. + repeated string families = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Capabilities of this node type. + repeated Capability capabilities = 14 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Credentials for a private cloud. @@ -476,6 +893,254 @@ message Vcenter { string fqdn = 6; } +// DNS forwarding config. +// This config defines a list of domain to name server mappings, +// and is attached to the private cloud for custom domain resolution. +message DnsForwarding { + option (google.api.resource) = { + type: "vmwareengine.googleapis.com/DnsForwarding" + pattern: "projects/{project}/locations/{location}/privateClouds/{private_cloud}/dnsForwarding" + }; + + // A forwarding rule is a mapping of a `domain` to `name_servers`. + // This mapping allows VMware Engine to resolve domains for attached private + // clouds by forwarding DNS requests for a given domain to the specified + // nameservers. + message ForwardingRule { + // Required. Domain used to resolve a `name_servers` list. + string domain = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. List of DNS servers to use for domain resolution + repeated string name_servers = 2 [(google.api.field_behavior) = REQUIRED]; + } + + // Output only. The resource name of this DNS profile. + // Resource names are schemeless URIs that follow the conventions in + // https://cloud.google.com/apis/design/resource_names. + // For example: + // `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/dnsForwarding` + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Creation time of this resource. + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Last update time of this resource. + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Required. List of domain mappings to configure + repeated ForwardingRule forwarding_rules = 4 + [(google.api.field_behavior) = REQUIRED]; +} + +// Details of a network peering. +message NetworkPeering { + option (google.api.resource) = { + type: "vmwareengine.googleapis.com/NetworkPeering" + pattern: "projects/{project}/locations/{location}/networkPeerings/{network_peering}" + }; + + // Possible states of a network peering. + enum State { + // Unspecified network peering state. This is the default value. + STATE_UNSPECIFIED = 0; + + // The peering is not active. + INACTIVE = 1; + + // The peering is active. + ACTIVE = 2; + + // The peering is being created. + CREATING = 3; + + // The peering is being deleted. + DELETING = 4; + } + + // Type or purpose of the network peering connection. + enum PeerNetworkType { + // Unspecified + PEER_NETWORK_TYPE_UNSPECIFIED = 0; + + // Peering connection used for connecting to another VPC network established + // by the same user. For example, a peering connection to another VPC + // network in the same project or to an on-premises network. + STANDARD = 1; + + // Peering connection used for connecting to another VMware Engine network. + VMWARE_ENGINE_NETWORK = 2; + + // Peering connection used for establishing [private services + // access](https://cloud.google.com/vpc/docs/private-services-access). + PRIVATE_SERVICES_ACCESS = 3; + + // Peering connection used for connecting to NetApp Cloud Volumes. + NETAPP_CLOUD_VOLUMES = 4; + + // Peering connection used for connecting to third-party services. Most + // third-party services require manual setup of reverse peering on the VPC + // network associated with the third-party service. + THIRD_PARTY_SERVICE = 5; + + // Peering connection used for connecting to Dell PowerScale Filers + DELL_POWERSCALE = 6; + } + + // Output only. The resource name of the network peering. NetworkPeering is a + // global resource and location can only be global. Resource names are + // scheme-less URIs that follow the conventions in + // https://cloud.google.com/apis/design/resource_names. + // For example: + // `projects/my-project/locations/global/networkPeerings/my-peering` + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Creation time of this resource. + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Last update time of this resource. + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Required. The relative resource name of the network to peer with + // a standard VMware Engine network. The provided network can be a + // consumer VPC network or another standard VMware Engine network. If the + // `peer_network_type` is VMWARE_ENGINE_NETWORK, specify the name in the form: + // `projects/{project}/locations/global/vmwareEngineNetworks/{vmware_engine_network_id}`. + // Otherwise specify the name in the form: + // `projects/{project}/global/networks/{network_id}`, where + // `{project}` can either be a project number or a project ID. + string peer_network = 5 [(google.api.field_behavior) = REQUIRED]; + + // Optional. True if custom routes are exported to the peered network; + // false otherwise. The default value is true. + optional bool export_custom_routes = 8 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. True if custom routes are imported from the peered network; + // false otherwise. The default value is true. + optional bool import_custom_routes = 9 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. True if full mesh connectivity is created and managed + // automatically between peered networks; false otherwise. Currently this + // field is always true because Google Compute Engine automatically creates + // and manages subnetwork routes between two VPC networks when peering state + // is 'ACTIVE'. + optional bool exchange_subnet_routes = 10 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. True if all subnet routes with a public IP address range are + // exported; false otherwise. The default value is true. IPv4 special-use + // ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always + // exported to peers and are not controlled by this field. + optional bool export_custom_routes_with_public_ip = 11 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. True if all subnet routes with public IP address range are + // imported; false otherwise. The default value is true. IPv4 special-use + // ranges (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always + // imported to peers and are not controlled by this field. + optional bool import_custom_routes_with_public_ip = 12 + [(google.api.field_behavior) = OPTIONAL]; + + // Output only. State of the network peering. This field + // has a value of 'ACTIVE' when there's a matching configuration in the peer + // network. New values may be added to this enum when appropriate. + State state = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Output Only. Details about the current state of the network + // peering. + string state_details = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. Maximum transmission unit (MTU) in bytes. + // The default value is `1500`. If a value of `0` is provided for this field, + // VMware Engine uses the default value instead. + int32 peer_mtu = 14 [(google.api.field_behavior) = OPTIONAL]; + + // Required. The type of the network to peer with the VMware Engine network. + PeerNetworkType peer_network_type = 16 + [(google.api.field_behavior) = REQUIRED]; + + // Output only. System-generated unique identifier for the resource. + string uid = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Required. The relative resource name of the VMware Engine network. + // Specify the name in the following form: + // `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` + // where `{project}` can either be a project number or a project ID. + string vmware_engine_network = 20 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "vmwareengine.googleapis.com/VmwareEngineNetwork" + } + ]; + + // Optional. User-provided description for this network peering. + string description = 21 [(google.api.field_behavior) = OPTIONAL]; +} + +// Exchanged network peering route. +message PeeringRoute { + // The type of the peering route. + enum Type { + // Unspecified peering route type. This is the default value. + TYPE_UNSPECIFIED = 0; + + // Dynamic routes in the peer network. + DYNAMIC_PEERING_ROUTE = 1; + + // Static routes in the peer network. + STATIC_PEERING_ROUTE = 2; + + // Created, updated, and removed automatically by Google Cloud when subnets + // are created, modified, or deleted in the peer network. + SUBNET_PEERING_ROUTE = 3; + } + + // The direction of the exchanged routes. + enum Direction { + // Unspecified exchanged routes direction. This is default. + DIRECTION_UNSPECIFIED = 0; + + // Routes imported from the peer network. + INCOMING = 1; + + // Routes exported to the peer network. + OUTGOING = 2; + } + + // Output only. Destination range of the peering route in CIDR notation. + string dest_range = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Type of the route in the peer VPC network. + Type type = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Region containing the next hop of the peering route. This + // field only applies to dynamic routes in the peer VPC network. + string next_hop_region = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The priority of the peering route. + int64 priority = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. True if the peering route has been imported from a peered + // VPC network; false otherwise. The import happens if the field + // `NetworkPeering.importCustomRoutes` is true for this network, + // `NetworkPeering.exportCustomRoutes` is true for the peer VPC network, and + // the import does not result in a route conflict. + bool imported = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Direction of the routes exchanged with the peer network, from + // the VMware Engine network perspective: + // + // * Routes of direction `INCOMING` are imported from the peer network. + // * Routes of direction `OUTGOING` are exported from the intranet VPC network + // of the VMware Engine network. + Direction direction = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + // Represents a network policy resource. Network policies are regional // resources. You can use a network policy to enable or disable internet access // and external IP access. Network policies are associated with a VMware Engine @@ -574,6 +1239,85 @@ message NetworkPolicy { ]; } +// Represents a binding between a network and the management DNS zone. +// A management DNS zone is the Cloud DNS cross-project binding zone that +// VMware Engine creates for each private cloud. It contains FQDNs and +// corresponding IP addresses for the private cloud's ESXi hosts and management +// VM appliances like vCenter and NSX Manager. +message ManagementDnsZoneBinding { + option (google.api.resource) = { + type: "vmwareengine.googleapis.com/ManagementDnsZoneBinding" + pattern: "projects/{project}/locations/{location}/privateClouds/{private_cloud}/managementDnsZoneBindings/{management_dns_zone_binding}" + }; + + // Enum State defines possible states of binding between the consumer VPC + // network and the management DNS zone. + enum State { + // The default value. This value should never be used. + STATE_UNSPECIFIED = 0; + + // The binding is ready. + ACTIVE = 1; + + // The binding is being created. + CREATING = 2; + + // The binding is being updated. + UPDATING = 3; + + // The binding is being deleted. + DELETING = 4; + + // The binding has failed. + FAILED = 5; + } + + // Output only. The resource name of this binding. + // Resource names are schemeless URIs that follow the conventions in + // https://cloud.google.com/apis/design/resource_names. + // For example: + // `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding` + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Creation time of this resource. + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Last update time of this resource. + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The state of the resource. + State state = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // User-provided description for this resource. + string description = 13; + + // Required. The relative resource name of the network to bind to the + // management DNS zone. This network can be a consumer VPC network or a + // VMware engine network. + oneof bind_network { + // Network to bind is a standard consumer VPC. + // Specify the name in the following form for consumer + // VPC network: `projects/{project}/global/networks/{network_id}`. + // `{project}` can either be a project number or a project ID. + string vpc_network = 14 [(google.api.resource_reference) = { + type: "compute.googleapis.com/Network" + }]; + + // Network to bind is a VMware Engine network. + // Specify the name in the following form for VMware engine network: + // `projects/{project}/locations/global/vmwareEngineNetworks/{vmware_engine_network_id}`. + // `{project}` can either be a project number or a project ID. + string vmware_engine_network = 15 [(google.api.resource_reference) = { + type: "vmwareengine.googleapis.com/VmwareEngineNetwork" + }]; + } + + // Output only. System-generated unique identifier for the resource. + string uid = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + // VMware Engine network resource that provides connectivity for VMware Engine // private clouds. message VmwareEngineNetwork { @@ -647,6 +1391,9 @@ message VmwareEngineNetwork { // of type `STANDARD`. This network type is no longer used for new VMware // Engine private cloud deployments. LEGACY = 1; + + // Standard network type used for private cloud connectivity. + STANDARD = 2; } // Output only. The resource name of the VMware Engine network. @@ -688,3 +1435,219 @@ message VmwareEngineNetwork { // request. string etag = 10; } + +// Private connection resource that provides connectivity for VMware Engine +// private clouds. +message PrivateConnection { + option (google.api.resource) = { + type: "vmwareengine.googleapis.com/PrivateConnection" + pattern: "projects/{project}/locations/{location}/privateConnections/{private_connection}" + }; + + // Enum State defines possible states of private connection. + enum State { + // The default value. This value is used if the state is omitted. + STATE_UNSPECIFIED = 0; + + // The private connection is being created. + CREATING = 1; + + // The private connection is ready. + ACTIVE = 2; + + // The private connection is being updated. + UPDATING = 3; + + // The private connection is being deleted. + DELETING = 4; + + // The private connection is not provisioned, since no private cloud is + // present for which this private connection is needed. + UNPROVISIONED = 5; + + // The private connection is in failed state. + FAILED = 6; + } + + // Enum Type defines possible types of private connection. + enum Type { + // The default value. This value should never be used. + TYPE_UNSPECIFIED = 0; + + // Connection used for establishing [private services + // access](https://cloud.google.com/vpc/docs/private-services-access). + PRIVATE_SERVICE_ACCESS = 1; + + // Connection used for connecting to NetApp Cloud Volumes. + NETAPP_CLOUD_VOLUMES = 2; + + // Connection used for connecting to Dell PowerScale. + DELL_POWERSCALE = 3; + + // Connection used for connecting to third-party services. + THIRD_PARTY_SERVICE = 4; + } + + // Possible types for RoutingMode + enum RoutingMode { + // The default value. This value should never be used. + ROUTING_MODE_UNSPECIFIED = 0; + + // Global Routing Mode + GLOBAL = 1; + + // Regional Routing Mode + REGIONAL = 2; + } + + // Enum PeeringState defines the possible states of peering between service + // network and the vpc network peered to service network + enum PeeringState { + // The default value. This value is used if the peering state is omitted or + // unknown. + PEERING_STATE_UNSPECIFIED = 0; + + // The peering is in active state. + PEERING_ACTIVE = 1; + + // The peering is in inactive state. + PEERING_INACTIVE = 2; + } + + // Output only. The resource name of the private connection. + // Resource names are schemeless URIs that follow the conventions in + // https://cloud.google.com/apis/design/resource_names. + // For example: + // `projects/my-project/locations/us-central1/privateConnections/my-connection` + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Creation time of this resource. + google.protobuf.Timestamp create_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Last update time of this resource. + google.protobuf.Timestamp update_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. User-provided description for this private connection. + string description = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Output only. State of the private connection. + State state = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Required. The relative resource name of Legacy VMware Engine network. + // Specify the name in the following form: + // `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` + // where `{project}`, `{location}` will be same as specified in private + // connection resource name and `{vmware_engine_network_id}` will be in the + // form of `{location}`-default e.g. + // projects/project/locations/us-central1/vmwareEngineNetworks/us-central1-default. + string vmware_engine_network = 8 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "vmwareengine.googleapis.com/VmwareEngineNetwork" + } + ]; + + // Output only. The canonical name of the VMware Engine network in the form: + // `projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` + string vmware_engine_network_canonical = 9 [ + (google.api.field_behavior) = OUTPUT_ONLY, + (google.api.resource_reference) = { + type: "vmwareengine.googleapis.com/VmwareEngineNetwork" + } + ]; + + // Required. Private connection type. + Type type = 10 [(google.api.field_behavior) = REQUIRED]; + + // Output only. VPC network peering id between given network VPC and + // VMwareEngineNetwork. + string peering_id = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. Routing Mode. + // Default value is set to GLOBAL. + // For type = PRIVATE_SERVICE_ACCESS, this field can be set to GLOBAL or + // REGIONAL, for other types only GLOBAL is supported. + RoutingMode routing_mode = 13 [(google.api.field_behavior) = OPTIONAL]; + + // Output only. System-generated unique identifier for the resource. + string uid = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Required. Service network to create private connection. + // Specify the name in the following form: + // `projects/{project}/global/networks/{network_id}` + // For type = PRIVATE_SERVICE_ACCESS, this field represents servicenetworking + // VPC, e.g. projects/project-tp/global/networks/servicenetworking. + // For type = NETAPP_CLOUD_VOLUME, this field represents NetApp service VPC, + // e.g. projects/project-tp/global/networks/netapp-tenant-vpc. + // For type = DELL_POWERSCALE, this field represent Dell service VPC, e.g. + // projects/project-tp/global/networks/dell-tenant-vpc. + // For type= THIRD_PARTY_SERVICE, this field could represent a consumer VPC or + // any other producer VPC to which the VMware Engine Network needs to be + // connected, e.g. projects/project/global/networks/vpc. + string service_network = 16 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "compute.googleapis.com/Network" } + ]; + + // Output only. Peering state between service network and VMware Engine + // network. + PeeringState peering_state = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// VmwareEngine specific metadata for the given +// [google.cloud.location.Location][google.cloud.location.Location]. It is +// returned as a content of the `google.cloud.location.Location.metadata` field. +message LocationMetadata { + // Capability of a location. + enum Capability { + // The default value. This value is used if the capability is omitted or + // unknown. + CAPABILITY_UNSPECIFIED = 0; + + // Stretch clusters are supported in this location. + STRETCHED_CLUSTERS = 1; + } + + // Output only. Capabilities of this location. + repeated Capability capabilities = 1 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// DnsBindPermission resource that contains the accounts having the consumer DNS +// bind permission on the corresponding intranet VPC of the consumer project. +message DnsBindPermission { + option (google.api.resource) = { + type: "vmwareengine.googleapis.com/DnsBindPermission" + pattern: "projects/{project}/locations/{location}/dnsBindPermission" + }; + + // Required. Output only. The name of the resource which stores the + // users/service accounts having the permission to bind to the corresponding + // intranet VPC of the consumer project. DnsBindPermission is a global + // resource and location can only be global. Resource names are schemeless + // URIs that follow the conventions in + // https://cloud.google.com/apis/design/resource_names. For example: + // `projects/my-project/locations/global/dnsBindPermission` + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Users/Service accounts which have access for binding on the + // intranet VPC project corresponding to the consumer project. + repeated Principal principals = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// Users/Service accounts which have access for DNS binding on the intranet +// VPC corresponding to the consumer project. +message Principal { + // The consumer provided user/service account which needs to be + // granted permission to DNS bind with the intranet VPC corresponding to the + // consumer project. + oneof principal { + // The user who needs to be granted permission. + string user = 1; + + // The service account which needs to be granted the permission. + string service_account = 2; + } +} diff --git a/third_party/googleapis/google/cloud/vmwareengine/v1/vmwareengine_v1.yaml b/third_party/googleapis/google/cloud/vmwareengine/v1/vmwareengine_v1.yaml index 9f856f3d4..ee58ae57f 100644 --- a/third_party/googleapis/google/cloud/vmwareengine/v1/vmwareengine_v1.yaml +++ b/third_party/googleapis/google/cloud/vmwareengine/v1/vmwareengine_v1.yaml @@ -10,6 +10,7 @@ apis: - name: google.longrunning.Operations types: +- name: google.cloud.vmwareengine.v1.LocationMetadata - name: google.cloud.vmwareengine.v1.OperationMetadata documentation: @@ -46,19 +47,6 @@ documentation: permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. -backend: - rules: - - selector: google.cloud.location.Locations.GetLocation - deadline: 60.0 - - selector: google.cloud.location.Locations.ListLocations - deadline: 60.0 - - selector: 'google.cloud.vmwareengine.v1.VmwareEngine.*' - deadline: 60.0 - - selector: 'google.iam.v1.IAMPolicy.*' - deadline: 60.0 - - selector: 'google.longrunning.Operations.*' - deadline: 60.0 - http: rules: - selector: google.cloud.location.Locations.GetLocation diff --git a/third_party/googleapis/google/cloud/vpcaccess/BUILD.bazel b/third_party/googleapis/google/cloud/vpcaccess/BUILD.bazel index 13949d257..a685746e7 100644 --- a/third_party/googleapis/google/cloud/vpcaccess/BUILD.bazel +++ b/third_party/googleapis/google/cloud/vpcaccess/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-vpc_access", "ruby-cloud-env-prefix=VPC_ACCESS", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.7", "ruby-cloud-product-url=https://cloud.google.com/vpc/docs/serverless-vpc-access", "ruby-cloud-api-id=vpcaccess.googleapis.com", "ruby-cloud-api-shortname=vpcaccess", ], ruby_cloud_description = "Serverless VPC Access enables you to connect from a serverless environment on Google Cloud (Cloud Run, Cloud Functions, or the App Engine standard environment) directly to your VPC network. This connection makes it possible for your serverless environment to access Compute Engine VM instances, Memorystore instances, and any other resources with an internal IP address.", ruby_cloud_title = "Serverless VPC Access", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/vpcaccess/v1/BUILD.bazel b/third_party/googleapis/google/cloud/vpcaccess/v1/BUILD.bazel index 231abab56..71cd50e00 100644 --- a/third_party/googleapis/google/cloud/vpcaccess/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/vpcaccess/v1/BUILD.bazel @@ -115,7 +115,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -148,19 +147,13 @@ go_gapic_library( ], ) -go_test( - name = "vpcaccess_go_gapic_test", - srcs = [":vpcaccess_go_gapic_srcjar_test"], - embed = [":vpcaccess_go_gapic"], - importpath = "cloud.google.com/go/vpcaccess/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-vpcaccess-v1-go", deps = [ ":vpcaccess_go_gapic", ":vpcaccess_go_gapic_srcjar-metadata.srcjar", + ":vpcaccess_go_gapic_srcjar-snippets.srcjar", ":vpcaccess_go_gapic_srcjar-test.srcjar", ":vpcaccess_go_proto", ], @@ -213,7 +206,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -222,23 +214,15 @@ php_proto_library( deps = [":vpcaccess_proto"], ) -php_grpc_library( - name = "vpcaccess_php_grpc", - srcs = [":vpcaccess_proto"], - deps = [":vpcaccess_php_proto"], -) - php_gapic_library( name = "vpcaccess_php_gapic", srcs = [":vpcaccess_proto_with_info"], grpc_service_config = "vpcaccess_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "vpcaccess_v1.yaml", transport = "grpc+rest", - deps = [ - ":vpcaccess_php_grpc", - ":vpcaccess_php_proto", - ], + deps = [":vpcaccess_php_proto"], ) # Open Source Packages @@ -246,7 +230,6 @@ php_gapic_assembly_pkg( name = "google-cloud-vpcaccess-v1-php", deps = [ ":vpcaccess_php_gapic", - ":vpcaccess_php_grpc", ":vpcaccess_php_proto", ], ) @@ -318,6 +301,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Serverless VPC Access enables you to connect from a serverless environment on Google Cloud (Cloud Run, Cloud Functions, or the App Engine standard environment) directly to your VPC network. This connection makes it possible for your serverless environment to access Compute Engine VM instances, Memorystore instances, and any other resources with an internal IP address.", ruby_cloud_title = "Serverless VPC Access V1", service_yaml = "vpcaccess_v1.yaml", + transport = "grpc+rest", deps = [ ":vpcaccess_ruby_grpc", ":vpcaccess_ruby_proto", diff --git a/third_party/googleapis/google/cloud/webrisk/BUILD.bazel b/third_party/googleapis/google/cloud/webrisk/BUILD.bazel index 61d4f6ed7..7f817fbdf 100644 --- a/third_party/googleapis/google/cloud/webrisk/BUILD.bazel +++ b/third_party/googleapis/google/cloud/webrisk/BUILD.bazel @@ -22,7 +22,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-web_risk", "ruby-cloud-env-prefix=WEBRISK", - "ruby-cloud-wrapper-of=v1:0.0;v1beta1:0.0", + "ruby-cloud-wrapper-of=v1:0.11;v1beta1:0.9", "ruby-cloud-product-url=https://cloud.google.com/web-risk", "ruby-cloud-api-id=webrisk.googleapis.com", "ruby-cloud-api-shortname=webrisk", @@ -30,6 +30,7 @@ ruby_cloud_gapic_library( ], ruby_cloud_description = "Web Risk is an enterprise security product that lets your client applications check URLs against Google's constantly updated lists of unsafe web resources.", ruby_cloud_title = "Web Risk", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/webrisk/v1/BUILD.bazel b/third_party/googleapis/google/cloud/webrisk/v1/BUILD.bazel index 220260e42..ade56961e 100644 --- a/third_party/googleapis/google/cloud/webrisk/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/webrisk/v1/BUILD.bazel @@ -28,6 +28,7 @@ proto_library( "//google/api:client_proto", "//google/api:field_behavior_proto", "//google/api:resource_proto", + "//google/longrunning:operations_proto", "@com_google_protobuf//:timestamp_proto", ], ) @@ -110,7 +111,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -120,6 +120,7 @@ go_proto_library( protos = [":webrisk_proto"], deps = [ "//google/api:annotations_go_proto", + "//google/longrunning:longrunning_go_proto", ], ) @@ -135,22 +136,19 @@ go_gapic_library( transport = "grpc+rest", deps = [ ":webrisk_go_proto", + "//google/longrunning:longrunning_go_proto", + "@com_google_cloud_go_longrunning//:go_default_library", + "@com_google_cloud_go_longrunning//autogen:go_default_library", ], ) -go_test( - name = "webrisk_go_gapic_test", - srcs = [":webrisk_go_gapic_srcjar_test"], - embed = [":webrisk_go_gapic"], - importpath = "cloud.google.com/go/webrisk/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-webrisk-v1-go", deps = [ ":webrisk_go_gapic", ":webrisk_go_gapic_srcjar-metadata.srcjar", + ":webrisk_go_gapic_srcjar-snippets.srcjar", ":webrisk_go_gapic_srcjar-test.srcjar", ":webrisk_go_proto", ], @@ -202,7 +200,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -211,23 +208,15 @@ php_proto_library( deps = [":webrisk_proto"], ) -php_grpc_library( - name = "webrisk_php_grpc", - srcs = [":webrisk_proto"], - deps = [":webrisk_php_proto"], -) - php_gapic_library( name = "webrisk_php_gapic", srcs = [":webrisk_proto_with_info"], grpc_service_config = "webrisk_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "webrisk_v1.yaml", transport = "grpc+rest", - deps = [ - ":webrisk_php_grpc", - ":webrisk_php_proto", - ], + deps = [":webrisk_php_proto"], ) # Open Source Packages @@ -235,7 +224,6 @@ php_gapic_assembly_pkg( name = "google-cloud-webrisk-v1-php", deps = [ ":webrisk_php_gapic", - ":webrisk_php_grpc", ":webrisk_php_proto", ], ) @@ -307,6 +295,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Web Risk is an enterprise security product that lets your client applications check URLs against Google's constantly updated lists of unsafe web resources.", ruby_cloud_title = "Web Risk V1", service_yaml = "webrisk_v1.yaml", + transport = "grpc+rest", deps = [ ":webrisk_ruby_grpc", ":webrisk_ruby_proto", diff --git a/third_party/googleapis/google/cloud/webrisk/v1/webrisk.proto b/third_party/googleapis/google/cloud/webrisk/v1/webrisk.proto index 47281fe7f..5c5f63929 100644 --- a/third_party/googleapis/google/cloud/webrisk/v1/webrisk.proto +++ b/third_party/googleapis/google/cloud/webrisk/v1/webrisk.proto @@ -20,6 +20,7 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/longrunning/operations.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.WebRisk.V1"; @@ -35,7 +36,8 @@ option ruby_package = "Google::Cloud::WebRisk::V1"; // website and in client applications. service WebRiskService { option (google.api.default_host) = "webrisk.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Gets the most recent threat list diffs. These diffs should be applied to // a local database of hashes to keep it up-to-date. If the local database is @@ -43,11 +45,13 @@ service WebRiskService { // be returned. This Method only updates a single ThreatList at a time. To // update multiple ThreatList databases, this method needs to be called once // for each list. - rpc ComputeThreatListDiff(ComputeThreatListDiffRequest) returns (ComputeThreatListDiffResponse) { + rpc ComputeThreatListDiff(ComputeThreatListDiffRequest) + returns (ComputeThreatListDiffResponse) { option (google.api.http) = { get: "/v1/threatLists:computeDiff" }; - option (google.api.method_signature) = "threat_type,version_token,constraints"; + option (google.api.method_signature) = + "threat_type,version_token,constraints"; } // This method is used to check whether a URI is on a given threatList. @@ -88,6 +92,27 @@ service WebRiskService { }; option (google.api.method_signature) = "parent,submission"; } + + // Submits a URI suspected of containing malicious content to be reviewed. + // Returns a google.longrunning.Operation which, once the review is complete, + // is updated with its result. You can use the [Pub/Sub API] + // (https://cloud.google.com/pubsub) to receive notifications for the returned + // Operation. If the result verifies the existence of malicious content, the + // site will be added to the [Google's Social Engineering lists] + // (https://support.google.com/webmasters/answer/6350487/) in order to + // protect users that could get exposed to this threat in the future. Only + // allowlisted projects can use this method during Early Access. Please reach + // out to Sales or your customer engineer to obtain access. + rpc SubmitUri(SubmitUriRequest) returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{parent=projects/*}/uris:submit" + body: "*" + }; + option (google.longrunning.operation_info) = { + response_type: "Submission" + metadata_type: "SubmitUriMetadata" + }; + } } // Describes an API diff request. @@ -108,9 +133,9 @@ message ComputeThreatListDiffRequest { repeated CompressionType supported_compressions = 3; } - // Required. The threat list to update. Only a single ThreatType should be specified - // per request. If you want to handle multiple ThreatTypes, you must make one - // request per ThreatType. + // Required. The threat list to update. Only a single ThreatType should be + // specified per request. If you want to handle multiple ThreatTypes, you must + // make one request per ThreatType. ThreatType threat_type = 1 [(google.api.field_behavior) = REQUIRED]; // The current version token of the client for the requested list (the @@ -180,7 +205,8 @@ message SearchUrisRequest { // Required. The URI to be checked for matches. string uri = 1 [(google.api.field_behavior) = REQUIRED]; - // Required. The ThreatLists to search in. Multiple ThreatLists may be specified. + // Required. The ThreatLists to search in. Multiple ThreatLists may be + // specified. repeated ThreatType threat_types = 2 [(google.api.field_behavior) = REQUIRED]; } @@ -207,7 +233,8 @@ message SearchHashesRequest { // the web safe base64 variant (RFC 4648). bytes hash_prefix = 1; - // Required. The ThreatLists to search in. Multiple ThreatLists may be specified. + // Required. The ThreatLists to search in. Multiple ThreatLists may be + // specified. repeated ThreatType threat_types = 2 [(google.api.field_behavior) = REQUIRED]; } @@ -342,14 +369,130 @@ message RiceDeltaEncoding { // Wraps a URI that might be displaying malicious content. message Submission { - // Required. The URI that is being reported for malicious content to be analyzed. + // Required. The URI that is being reported for malicious content to be + // analyzed. string uri = 1 [(google.api.field_behavior) = REQUIRED]; + + // Output only. ThreatTypes found to be associated with the submitted URI + // after reviewing it. This might be empty if the URI was not added to any + // list. + repeated ThreatType threat_types = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// Context about the submission including the type of abuse found on the URI and +// supporting details. +// option (google.api.message_visibility).restriction = "TRUSTED_TESTER"; +message ThreatInfo { + // The abuse type found on the URI. + enum AbuseType { + // Default. + ABUSE_TYPE_UNSPECIFIED = 0; + + // The URI contains malware. + MALWARE = 1; + + // The URI contains social engineering. + SOCIAL_ENGINEERING = 2; + + // The URI contains unwanted software. + UNWANTED_SOFTWARE = 3; + } + + // Confidence that a URI is unsafe. + message Confidence { + // Enum representation of confidence. + enum ConfidenceLevel { + // Default. + CONFIDENCE_LEVEL_UNSPECIFIED = 0; + + // Less than 60% confidence that the URI is unsafe. + LOW = 1; + + // Between 60% and 80% confidence that the URI is unsafe. + MEDIUM = 2; + + // Greater than 80% confidence that the URI is unsafe. + HIGH = 3; + } + + oneof value { + // A decimal representation of confidence in the range of 0 + // to 1 where 0 indicates no confidence and 1 indicates + // complete confidence. + float score = 1; + + // Enum representation of confidence. + ConfidenceLevel level = 2; + } + } + + // Context about why the URI is unsafe. + message ThreatJustification { + // Labels that explain how the URI was classified. + enum JustificationLabel { + // Default. + JUSTIFICATION_LABEL_UNSPECIFIED = 0; + + // The submitter manually verified that the submission is unsafe. + MANUAL_VERIFICATION = 1; + + // The submitter received the submission from an end user. + USER_REPORT = 2; + + // The submitter received the submission from an automated system. + AUTOMATED_REPORT = 3; + } + + // Labels associated with this URI that explain how it was classified. + repeated JustificationLabel labels = 1; + + // Free-form context on why this URI is unsafe. + repeated string comments = 2; + } + + // The type of abuse. + AbuseType abuse_type = 1; + + // Confidence that the URI is unsafe. + Confidence threat_confidence = 2; + + // Context about why the URI is unsafe. + ThreatJustification threat_justification = 3; +} + +// Details about how the threat was discovered. +message ThreatDiscovery { + // Platform types. + enum Platform { + // Default. + PLATFORM_UNSPECIFIED = 0; + + // General Android platform. + ANDROID = 1; + + // General iOS platform. + IOS = 2; + + // General macOS platform. + MACOS = 3; + + // General Windows platform. + WINDOWS = 4; + } + + // Platform on which the threat was discovered. + Platform platform = 1; + + // CLDR region code of the countries/regions the URI poses a threat ordered + // from most impact to least impact. Example: "US" for United States. + repeated string region_codes = 2; } // Request to send a potentially phishy URI to WebRisk. message CreateSubmissionRequest { - // Required. The name of the project that is making the submission. This string is in - // the format "projects/{project_number}". + // Required. The name of the project that is making the submission. This + // string is in the format "projects/{project_number}". string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -360,3 +503,58 @@ message CreateSubmissionRequest { // Required. The submission that contains the content of the phishing report. Submission submission = 2 [(google.api.field_behavior) = REQUIRED]; } + +// Request to send a potentially malicious URI to WebRisk. +message SubmitUriRequest { + // Required. The name of the project that is making the submission. This + // string is in the format "projects/{project_number}". + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudresourcemanager.googleapis.com/Project" + } + ]; + + // Required. The submission that contains the URI to be scanned. + Submission submission = 2 [(google.api.field_behavior) = REQUIRED]; + + // Provides additional information about the submission. + ThreatInfo threat_info = 3; + + // Provides additional information about how the submission was discovered. + ThreatDiscovery threat_discovery = 4; +} + +// Metadata for the Submit URI long-running operation. +// option (google.api.message_visibility).restriction = "TRUSTED_TESTER"; +message SubmitUriMetadata { + // Enum that represents the state of the long-running operation. + enum State { + // Default unspecified state. + STATE_UNSPECIFIED = 0; + + // The operation is currently running. + RUNNING = 1; + + // The operation finished with a success status. + SUCCEEDED = 2; + + // The operation was cancelled. + CANCELLED = 3; + + // The operation finished with a failure status. + FAILED = 4; + + // The operation was closed with no action taken. + CLOSED = 5; + } + + // The state of the operation. + State state = 1; + + // Creation time of the operation. + google.protobuf.Timestamp create_time = 2; + + // Latest update time of the operation. + google.protobuf.Timestamp update_time = 3; +} diff --git a/third_party/googleapis/google/cloud/webrisk/v1/webrisk_v1.yaml b/third_party/googleapis/google/cloud/webrisk/v1/webrisk_v1.yaml index cfb85a603..87691fd27 100644 --- a/third_party/googleapis/google/cloud/webrisk/v1/webrisk_v1.yaml +++ b/third_party/googleapis/google/cloud/webrisk/v1/webrisk_v1.yaml @@ -5,6 +5,23 @@ title: Web Risk API apis: - name: google.cloud.webrisk.v1.WebRiskService +- name: google.longrunning.Operations + +types: +- name: google.cloud.webrisk.v1.Submission +- name: google.cloud.webrisk.v1.SubmitUriMetadata + +http: + rules: + - selector: google.longrunning.Operations.CancelOperation + post: '/v1/{name=projects/*/operations/*}:cancel' + body: '*' + - selector: google.longrunning.Operations.DeleteOperation + delete: '/v1/{name=projects/*/operations/*}' + - selector: google.longrunning.Operations.GetOperation + get: '/v1/{name=projects/*/operations/*}' + - selector: google.longrunning.Operations.ListOperations + get: '/v1/{name=projects/*}/operations' authentication: rules: @@ -12,3 +29,7 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform + - selector: google.longrunning.Operations.GetOperation + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform diff --git a/third_party/googleapis/google/cloud/webrisk/v1beta1/BUILD.bazel b/third_party/googleapis/google/cloud/webrisk/v1beta1/BUILD.bazel index d7ebf64be..5a00698df 100644 --- a/third_party/googleapis/google/cloud/webrisk/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/webrisk/v1beta1/BUILD.bazel @@ -109,7 +109,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -137,19 +136,13 @@ go_gapic_library( ], ) -go_test( - name = "webrisk_go_gapic_test", - srcs = [":webrisk_go_gapic_srcjar_test"], - embed = [":webrisk_go_gapic"], - importpath = "cloud.google.com/go/webrisk/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-webrisk-v1beta1-go", deps = [ ":webrisk_go_gapic", ":webrisk_go_gapic_srcjar-metadata.srcjar", + ":webrisk_go_gapic_srcjar-snippets.srcjar", ":webrisk_go_gapic_srcjar-test.srcjar", ":webrisk_go_proto", ], @@ -201,7 +194,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -210,12 +202,6 @@ php_proto_library( deps = [":webrisk_proto"], ) -php_grpc_library( - name = "webrisk_php_grpc", - srcs = [":webrisk_proto"], - deps = [":webrisk_php_proto"], -) - php_gapic_library( name = "webrisk_php_gapic", srcs = [":webrisk_proto_with_info"], @@ -223,10 +209,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "webrisk_v1beta1.yaml", transport = "grpc+rest", - deps = [ - ":webrisk_php_grpc", - ":webrisk_php_proto", - ], + deps = [":webrisk_php_proto"], ) # Open Source Packages @@ -234,7 +217,6 @@ php_gapic_assembly_pkg( name = "google-cloud-webrisk-v1beta1-php", deps = [ ":webrisk_php_gapic", - ":webrisk_php_grpc", ":webrisk_php_proto", ], ) @@ -307,6 +289,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Web Risk is an enterprise security product that lets your client applications check URLs against Google's constantly updated lists of unsafe web resources.", ruby_cloud_title = "Web Risk V1beta1", service_yaml = "webrisk_v1beta1.yaml", + transport = "grpc+rest", deps = [ ":webrisk_ruby_grpc", ":webrisk_ruby_proto", diff --git a/third_party/googleapis/google/cloud/websecurityscanner/BUILD.bazel b/third_party/googleapis/google/cloud/websecurityscanner/BUILD.bazel index d8395e365..6f3648bba 100644 --- a/third_party/googleapis/google/cloud/websecurityscanner/BUILD.bazel +++ b/third_party/googleapis/google/cloud/websecurityscanner/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-web_security_scanner", "ruby-cloud-env-prefix=WEB_SECURITY_SCANNER", - "ruby-cloud-wrapper-of=v1:0.3;v1beta:0.3", + "ruby-cloud-wrapper-of=v1:0.9;v1beta:0.8", "ruby-cloud-product-url=https://cloud.google.com/security-command-center/docs/concepts-web-security-scanner-overview/", "ruby-cloud-api-id=websecurityscanner.googleapis.com", "ruby-cloud-api-shortname=websecurityscanner", ], ruby_cloud_description = "Web Security Scanner scans your Compute and App Engine apps for common web vulnerabilities.", ruby_cloud_title = "Web Security Scanner", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/websecurityscanner/v1/BUILD.bazel b/third_party/googleapis/google/cloud/websecurityscanner/v1/BUILD.bazel index 77e9fe176..46645de13 100644 --- a/third_party/googleapis/google/cloud/websecurityscanner/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/websecurityscanner/v1/BUILD.bazel @@ -122,7 +122,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -150,19 +149,13 @@ go_gapic_library( ], ) -go_test( - name = "websecurityscanner_go_gapic_test", - srcs = [":websecurityscanner_go_gapic_srcjar_test"], - embed = [":websecurityscanner_go_gapic"], - importpath = "cloud.google.com/go/websecurityscanner/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-websecurityscanner-v1-go", deps = [ ":websecurityscanner_go_gapic", ":websecurityscanner_go_gapic_srcjar-metadata.srcjar", + ":websecurityscanner_go_gapic_srcjar-snippets.srcjar", ":websecurityscanner_go_gapic_srcjar-test.srcjar", ":websecurityscanner_go_proto", ], @@ -214,7 +207,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -223,23 +215,15 @@ php_proto_library( deps = [":websecurityscanner_proto"], ) -php_grpc_library( - name = "websecurityscanner_php_grpc", - srcs = [":websecurityscanner_proto"], - deps = [":websecurityscanner_php_proto"], -) - php_gapic_library( name = "websecurityscanner_php_gapic", srcs = [":websecurityscanner_proto_with_info"], grpc_service_config = "websecurityscanner_grpc_service_config.json", + migration_mode = "NEW_SURFACE_ONLY", rest_numeric_enums = True, service_yaml = "websecurityscanner_v1.yaml", transport = "grpc+rest", - deps = [ - ":websecurityscanner_php_grpc", - ":websecurityscanner_php_proto", - ], + deps = [":websecurityscanner_php_proto"], ) # Open Source Packages @@ -247,7 +231,6 @@ php_gapic_assembly_pkg( name = "google-cloud-websecurityscanner-v1-php", deps = [ ":websecurityscanner_php_gapic", - ":websecurityscanner_php_grpc", ":websecurityscanner_php_proto", ], ) @@ -319,6 +302,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Web Security Scanner scans your Compute and App Engine apps for common web vulnerabilities.", ruby_cloud_title = "Web Security Scanner V1", service_yaml = "websecurityscanner_v1.yaml", + transport = "grpc+rest", deps = [ ":websecurityscanner_ruby_grpc", ":websecurityscanner_ruby_proto", diff --git a/third_party/googleapis/google/cloud/websecurityscanner/v1alpha/BUILD.bazel b/third_party/googleapis/google/cloud/websecurityscanner/v1alpha/BUILD.bazel index 621529d21..49a49501e 100644 --- a/third_party/googleapis/google/cloud/websecurityscanner/v1alpha/BUILD.bazel +++ b/third_party/googleapis/google/cloud/websecurityscanner/v1alpha/BUILD.bazel @@ -67,6 +67,7 @@ java_gapic_library( srcs = [":websecurityscanner_proto_with_info"], grpc_service_config = "websecurityscanner_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "websecurityscanner_v1alpha.yaml", test_deps = [ ":websecurityscanner_java_grpc", ], @@ -106,7 +107,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -133,18 +133,12 @@ go_gapic_library( ], ) -go_test( - name = "websecurityscanner_go_gapic_test", - srcs = [":websecurityscanner_go_gapic_srcjar_test"], - embed = [":websecurityscanner_go_gapic"], - importpath = "cloud.google.com/go/cloud/websecurityscanner/apiv1alpha", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-websecurityscanner-v1alpha-go", deps = [ ":websecurityscanner_go_gapic", + ":websecurityscanner_go_gapic_srcjar-snippets.srcjar", ":websecurityscanner_go_gapic_srcjar-test.srcjar", ":websecurityscanner_go_proto", ], @@ -193,7 +187,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -202,12 +195,6 @@ php_proto_library( deps = [":websecurityscanner_proto"], ) -php_grpc_library( - name = "websecurityscanner_php_grpc", - srcs = [":websecurityscanner_proto"], - deps = [":websecurityscanner_php_proto"], -) - php_gapic_library( name = "websecurityscanner_php_gapic", srcs = [":websecurityscanner_proto_with_info"], @@ -215,10 +202,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "websecurityscanner_v1alpha.yaml", transport = "grpc+rest", - deps = [ - ":websecurityscanner_php_grpc", - ":websecurityscanner_php_proto", - ], + deps = [":websecurityscanner_php_proto"], ) # Open Source Packages @@ -226,7 +210,6 @@ php_gapic_assembly_pkg( name = "google-cloud-websecurityscanner-v1alpha-php", deps = [ ":websecurityscanner_php_gapic", - ":websecurityscanner_php_grpc", ":websecurityscanner_php_proto", ], ) @@ -289,6 +272,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-websecurityscanner-v1alpha"], rest_numeric_enums = True, service_yaml = "websecurityscanner_v1alpha.yaml", + transport = "grpc+rest", deps = [ ":websecurityscanner_ruby_grpc", ":websecurityscanner_ruby_proto", diff --git a/third_party/googleapis/google/cloud/websecurityscanner/v1beta/BUILD.bazel b/third_party/googleapis/google/cloud/websecurityscanner/v1beta/BUILD.bazel index 3b756c505..c62ae4588 100644 --- a/third_party/googleapis/google/cloud/websecurityscanner/v1beta/BUILD.bazel +++ b/third_party/googleapis/google/cloud/websecurityscanner/v1beta/BUILD.bazel @@ -70,6 +70,7 @@ java_gapic_library( srcs = [":websecurityscanner_proto_with_info"], grpc_service_config = "websecurityscanner_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "websecurityscanner_v1beta.yaml", test_deps = [ ":websecurityscanner_java_grpc", ], @@ -109,7 +110,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -136,18 +136,12 @@ go_gapic_library( ], ) -go_test( - name = "websecurityscanner_go_gapic_test", - srcs = [":websecurityscanner_go_gapic_srcjar_test"], - embed = [":websecurityscanner_go_gapic"], - importpath = "cloud.google.com/go/websecurityscanner/apiv1beta", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-websecurityscanner-v1beta-go", deps = [ ":websecurityscanner_go_gapic", + ":websecurityscanner_go_gapic_srcjar-snippets.srcjar", ":websecurityscanner_go_gapic_srcjar-test.srcjar", ":websecurityscanner_go_proto", ], @@ -196,7 +190,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -205,12 +198,6 @@ php_proto_library( deps = [":websecurityscanner_proto"], ) -php_grpc_library( - name = "websecurityscanner_php_grpc", - srcs = [":websecurityscanner_proto"], - deps = [":websecurityscanner_php_proto"], -) - php_gapic_library( name = "websecurityscanner_php_gapic", srcs = [":websecurityscanner_proto_with_info"], @@ -218,10 +205,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "websecurityscanner_v1beta.yaml", transport = "grpc+rest", - deps = [ - ":websecurityscanner_php_grpc", - ":websecurityscanner_php_proto", - ], + deps = [":websecurityscanner_php_proto"], ) # Open Source Packages @@ -229,7 +213,6 @@ php_gapic_assembly_pkg( name = "google-cloud-websecurityscanner-v1beta-php", deps = [ ":websecurityscanner_php_gapic", - ":websecurityscanner_php_grpc", ":websecurityscanner_php_proto", ], ) @@ -301,6 +284,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Web Security Scanner scans your Compute and App Engine apps for common web vulnerabilities.", ruby_cloud_title = "Web Security Scanner V1beta", service_yaml = "websecurityscanner_v1beta.yaml", + transport = "grpc+rest", deps = [ ":websecurityscanner_ruby_grpc", ":websecurityscanner_ruby_proto", diff --git a/third_party/googleapis/google/cloud/workflows/BUILD.bazel b/third_party/googleapis/google/cloud/workflows/BUILD.bazel index a23a8a6f6..1ca1136ef 100644 --- a/third_party/googleapis/google/cloud/workflows/BUILD.bazel +++ b/third_party/googleapis/google/cloud/workflows/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-workflows", "ruby-cloud-env-prefix=WORKFLOWS", - "ruby-cloud-wrapper-of=v1:0.0;v1beta:0.0", + "ruby-cloud-wrapper-of=v1:0.7;v1beta:0.8", "ruby-cloud-product-url=https://cloud.google.com/workflows/", "ruby-cloud-api-id=workflows.googleapis.com", "ruby-cloud-api-shortname=workflows", ], ruby_cloud_description = "Workflows link series of serverless tasks together in an order you define. Combine the power of Google Cloud's APIs, serverless products like Cloud Functions and Cloud Run, and calls to external APIs to create flexible serverless applications. Workflows requires no infrastructure management and scales seamlessly with demand, including scaling down to zero.", ruby_cloud_title = "Workflows", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/cloud/workflows/executions/BUILD.bazel b/third_party/googleapis/google/cloud/workflows/executions/BUILD.bazel index dbaad2e6a..e6a9e5684 100644 --- a/third_party/googleapis/google/cloud/workflows/executions/BUILD.bazel +++ b/third_party/googleapis/google/cloud/workflows/executions/BUILD.bazel @@ -22,7 +22,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-workflows-executions", "ruby-cloud-env-prefix=WORKFLOWS", - "ruby-cloud-wrapper-of=v1:0.0;v1beta:0.0", + "ruby-cloud-wrapper-of=v1:0.6;v1beta:0.7", "ruby-cloud-product-url=https://cloud.google.com/workflows/", "ruby-cloud-api-id=workflowexecutions.googleapis.com", "ruby-cloud-api-shortname=workflowexecutions", diff --git a/third_party/googleapis/google/cloud/workflows/executions/v1/BUILD.bazel b/third_party/googleapis/google/cloud/workflows/executions/v1/BUILD.bazel index 0eecf6be1..fbdfe3134 100644 --- a/third_party/googleapis/google/cloud/workflows/executions/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/workflows/executions/v1/BUILD.bazel @@ -28,6 +28,7 @@ proto_library( "//google/api:client_proto", "//google/api:field_behavior_proto", "//google/api:resource_proto", + "@com_google_protobuf//:duration_proto", "@com_google_protobuf//:timestamp_proto", ], ) @@ -110,7 +111,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -135,22 +135,17 @@ go_gapic_library( transport = "grpc", deps = [ ":executions_go_proto", + "@io_bazel_rules_go//proto/wkt:duration_go_proto", ], ) -go_test( - name = "executions_go_gapic_test", - srcs = [":executions_go_gapic_srcjar_test"], - embed = [":executions_go_gapic"], - importpath = "cloud.google.com/go/workflows/executions/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-workflows-executions-v1-go", deps = [ ":executions_go_gapic", ":executions_go_gapic_srcjar-metadata.srcjar", + ":executions_go_gapic_srcjar-snippets.srcjar", ":executions_go_gapic_srcjar-test.srcjar", ":executions_go_proto", ], @@ -173,6 +168,8 @@ py_gapic_library( rest_numeric_enums = False, service_yaml = "workflowexecutions_v1.yaml", transport = "grpc", + deps = [ + ], ) py_test( @@ -200,7 +197,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -209,21 +205,15 @@ php_proto_library( deps = [":executions_proto"], ) -php_grpc_library( - name = "executions_php_grpc", - srcs = [":executions_proto"], - deps = [":executions_php_proto"], -) - php_gapic_library( name = "executions_php_gapic", srcs = [":executions_proto_with_info"], grpc_service_config = "executions_grpc_service_config.json", + migration_mode = "NEW_SURFACE_ONLY", rest_numeric_enums = False, service_yaml = "workflowexecutions_v1.yaml", transport = "grpc+rest", deps = [ - ":executions_php_grpc", ":executions_php_proto", ], ) @@ -233,7 +223,6 @@ php_gapic_assembly_pkg( name = "google-cloud-workflows-executions-v1-php", deps = [ ":executions_php_gapic", - ":executions_php_grpc", ":executions_php_proto", ], ) @@ -306,6 +295,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Workflows link series of serverless tasks together in an order you define. Combine the power of Google Cloud's APIs, serverless products like Cloud Functions and Cloud Run, and calls to external APIs to create flexible serverless applications. Workflows requires no infrastructure management and scales seamlessly with demand, including scaling down to zero..", ruby_cloud_title = "Workflows Executions V1", service_yaml = "workflowexecutions_v1.yaml", + transport = "grpc+rest", deps = [ ":executions_ruby_grpc", ":executions_ruby_proto", @@ -335,6 +325,7 @@ load( csharp_proto_library( name = "executions_csharp_proto", + extra_opts = [], deps = [":executions_proto"], ) diff --git a/third_party/googleapis/google/cloud/workflows/executions/v1/executions.proto b/third_party/googleapis/google/cloud/workflows/executions/v1/executions.proto index f83921d0f..0c6bc12cb 100644 --- a/third_party/googleapis/google/cloud/workflows/executions/v1/executions.proto +++ b/third_party/googleapis/google/cloud/workflows/executions/v1/executions.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,6 +20,7 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; option go_package = "cloud.google.com/go/workflows/executions/apiv1/executionspb;executionspb"; @@ -35,7 +36,8 @@ option (google.api.resource_definition) = { // [Workflows][google.cloud.workflows.v1.Workflow] called executions. service Executions { option (google.api.default_host) = "workflowexecutions.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Returns a list of executions which belong to the workflow with // the given name. The method returns executions of all workflow @@ -83,6 +85,31 @@ message Execution { pattern: "projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}" }; + // Describes the current state of the execution. More states might be added + // in the future. + enum State { + // Invalid state. + STATE_UNSPECIFIED = 0; + + // The execution is in progress. + ACTIVE = 1; + + // The execution finished successfully. + SUCCEEDED = 2; + + // The execution failed with an error. + FAILED = 3; + + // The execution was stopped intentionally. + CANCELLED = 4; + + // Execution data is unavailable. See the `state_error` field. + UNAVAILABLE = 5; + + // Request has been placed in the backlog for processing at a later time. + QUEUED = 6; + } + // A single stack element (frame) where an error occurred. message StackTraceElement { // Position contains source position information about the stack trace @@ -128,29 +155,10 @@ message Execution { StackTrace stack_trace = 3; } - // Describes the current state of the execution. More states might be added - // in the future. - enum State { - // Invalid state. - STATE_UNSPECIFIED = 0; - - // The execution is in progress. - ACTIVE = 1; - - // The execution finished successfully. - SUCCEEDED = 2; - - // The execution failed with an error. - FAILED = 3; - - // The execution was stopped intentionally. - CANCELLED = 4; - } - // Describes the level of platform logging to apply to calls and call // responses during workflow executions. enum CallLogLevel { - // No call logging specified. + // No call logging level specified. CALL_LOG_LEVEL_UNSPECIFIED = 0; // Log all call steps within workflows, all call returns, and all exceptions @@ -159,6 +167,48 @@ message Execution { // Log only exceptions that are raised from call steps within workflows. LOG_ERRORS_ONLY = 2; + + // Explicitly log nothing. + LOG_NONE = 3; + } + + // Represents the current status of this execution. + message Status { + // Represents a step of the workflow this execution is running. + message Step { + // Name of a routine within the workflow. + string routine = 1; + + // Name of a step within the routine. + string step = 2; + } + + // A list of currently executing or last executed step names for the + // workflow execution currently running. If the workflow has succeeded or + // failed, this is the last attempted or executed step. Presently, if the + // current step is inside a subworkflow, the list only includes that step. + // In the future, the list will contain items for each step in the call + // stack, starting with the outermost step in the `main` subworkflow, and + // ending with the most deeply nested step. + repeated Step current_steps = 1; + } + + // Describes an error related to the current state of the Execution resource. + message StateError { + // Describes the possible types of a state error. + enum Type { + // No type specified. + TYPE_UNSPECIFIED = 0; + + // Caused by an issue with KMS. + KMS_ERROR = 1; + } + + // Provides specifics about the error. + string details = 1; + + // The type of this state error. + Type type = 2; } // Output only. The resource name of the execution. @@ -167,10 +217,16 @@ message Execution { string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Marks the beginning of execution. - google.protobuf.Timestamp start_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp start_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Marks the end of execution, successful or not. - google.protobuf.Timestamp end_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp end_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Measures the duration of the execution. + google.protobuf.Duration duration = 12 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Current state of the execution. State state = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -197,6 +253,24 @@ message Execution { // The call logging level associated to this execution. CallLogLevel call_log_level = 9; + + // Output only. Status tracks the current steps and progress data of this + // execution. + Status status = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Labels associated with this execution. + // Labels can contain at most 64 entries. Keys and values can be no longer + // than 63 characters and can only contain lowercase letters, numeric + // characters, underscores, and dashes. Label keys must start with a letter. + // International characters are allowed. + // By default, labels are inherited from the workflow but are overridden by + // any labels associated with the execution. + map labels = 11; + + // Output only. Error regarding the state of the Execution resource. For + // example, this field will have error details if the execution data is + // unavailable due to revoked KMS key permissions. + StateError state_error = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Request for the @@ -213,7 +287,7 @@ message ListExecutionsRequest { ]; // Maximum number of executions to return per call. - // Max supported value depends on the selected Execution view: it's 10000 for + // Max supported value depends on the selected Execution view: it's 1000 for // BASIC and 100 for FULL. The default value used if the field is not // specified is 100, regardless of the selected view. Values greater than // the max value will be coerced down to it. @@ -224,11 +298,26 @@ message ListExecutionsRequest { // // When paginating, all other parameters provided to `ListExecutions` must // match the call that provided the page token. + // + // Note that pagination is applied to dynamic data. The list of executions + // returned can change between page requests. string page_token = 3; - // Optional. A view defining which fields should be filled in the returned executions. - // The API will default to the BASIC view. + // Optional. A view defining which fields should be filled in the returned + // executions. The API will default to the BASIC view. ExecutionView view = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Filters applied to the [Executions.ListExecutions] results. + // The following fields are supported for filtering: + // executionID, state, startTime, endTime, duration, workflowRevisionID, + // stepName, and label. + string filter = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The ordering applied to the [Executions.ListExecutions] results. + // By default the ordering is based on descending start time. + // The following fields are supported for order by: + // executionID, startTime, endTime, duration, state, and workflowRevisionID. + string order_by = 6 [(google.api.field_behavior) = OPTIONAL]; } // Response for the @@ -275,8 +364,8 @@ message GetExecutionRequest { } ]; - // Optional. A view defining which fields should be filled in the returned execution. - // The API will default to the FULL view. + // Optional. A view defining which fields should be filled in the returned + // execution. The API will default to the FULL view. ExecutionView view = 2 [(google.api.field_behavior) = OPTIONAL]; } @@ -301,8 +390,8 @@ enum ExecutionView { EXECUTION_VIEW_UNSPECIFIED = 0; // Includes only basic metadata about the execution. - // Following fields are returned: name, start_time, end_time, state - // and workflow_revision_id. + // The following fields are returned: name, start_time, end_time, duration, + // state, and workflow_revision_id. BASIC = 1; // Includes all data. diff --git a/third_party/googleapis/google/cloud/workflows/executions/v1beta/BUILD.bazel b/third_party/googleapis/google/cloud/workflows/executions/v1beta/BUILD.bazel index a0f4067a1..ef478a2ad 100644 --- a/third_party/googleapis/google/cloud/workflows/executions/v1beta/BUILD.bazel +++ b/third_party/googleapis/google/cloud/workflows/executions/v1beta/BUILD.bazel @@ -59,6 +59,7 @@ java_gapic_library( srcs = [":executions_proto_with_info"], grpc_service_config = "executions_grpc_service_config.json", rest_numeric_enums = False, + service_yaml = "workflowexecutions_v1beta.yaml", test_deps = [ ":executions_java_grpc", ], @@ -98,7 +99,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -126,18 +126,12 @@ go_gapic_library( ], ) -go_test( - name = "executions_go_gapic_test", - srcs = [":executions_go_gapic_srcjar_test"], - embed = [":executions_go_gapic"], - importpath = "cloud.google.com/go/workflows/executions/apiv1beta", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-workflows-executions-v1beta-go", deps = [ ":executions_go_gapic", + ":executions_go_gapic_srcjar-snippets.srcjar", ":executions_go_gapic_srcjar-test.srcjar", ":executions_go_proto", ], @@ -177,8 +171,6 @@ py_gapic_assembly_pkg( name = "workflows-executions-v1beta-py", deps = [ ":executions_py_gapic", - ":executions_py_grpc", - ":executions_py_proto", ], ) @@ -189,7 +181,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -198,22 +189,13 @@ php_proto_library( deps = [":executions_proto"], ) -php_grpc_library( - name = "executions_php_grpc", - srcs = [":executions_proto"], - deps = [":executions_php_proto"], -) - php_gapic_library( name = "executions_php_gapic", srcs = [":executions_proto_with_info"], rest_numeric_enums = False, service_yaml = "workflowexecutions_v1beta.yaml", transport = "grpc+rest", - deps = [ - ":executions_php_grpc", - ":executions_php_proto", - ], + deps = [":executions_php_proto"], ) # Open Source Packages @@ -221,7 +203,6 @@ php_gapic_assembly_pkg( name = "google-cloud-workflows-executions-v1beta-php", deps = [ ":executions_php_gapic", - ":executions_php_grpc", ":executions_php_proto", ], ) diff --git a/third_party/googleapis/google/cloud/workflows/type/BUILD.bazel b/third_party/googleapis/google/cloud/workflows/type/BUILD.bazel index a87c22a08..1a14fd5a2 100644 --- a/third_party/googleapis/google/cloud/workflows/type/BUILD.bazel +++ b/third_party/googleapis/google/cloud/workflows/type/BUILD.bazel @@ -54,7 +54,6 @@ go_proto_library( importpath = "cloud.google.com/go/workflows/type/typepb", protos = [":type_proto"], deps = [ - ], ) @@ -93,7 +92,6 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -102,21 +100,9 @@ php_proto_library( deps = [":type_proto"], ) -php_grpc_library( - name = "type_php_grpc", - srcs = [":type_proto"], - deps = [":type_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) - ############################################################################## # Ruby diff --git a/third_party/googleapis/google/cloud/workflows/v1/BUILD.bazel b/third_party/googleapis/google/cloud/workflows/v1/BUILD.bazel index 9dc0439d6..dbcfd511c 100644 --- a/third_party/googleapis/google/cloud/workflows/v1/BUILD.bazel +++ b/third_party/googleapis/google/cloud/workflows/v1/BUILD.bazel @@ -40,6 +40,7 @@ proto_library_with_info( deps = [ ":workflows_proto", "//google/cloud:common_resources_proto", + "//google/cloud/location:location_proto", ], ) @@ -74,12 +75,14 @@ java_gapic_library( rest_numeric_enums = True, service_yaml = "workflows_v1.yaml", test_deps = [ + "//google/cloud/location:location_java_grpc", ":workflows_java_grpc", ], transport = "grpc+rest", deps = [ ":workflows_java_proto", "//google/api:api_java_proto", + "//google/cloud/location:location_java_proto", ], ) @@ -113,7 +116,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -139,25 +141,20 @@ go_gapic_library( transport = "grpc+rest", deps = [ ":workflows_go_proto", + "//google/cloud/location:location_go_proto", "//google/longrunning:longrunning_go_proto", "@com_google_cloud_go_longrunning//:go_default_library", "@com_google_cloud_go_longrunning//autogen:go_default_library", ], ) -go_test( - name = "workflows_go_gapic_test", - srcs = [":workflows_go_gapic_srcjar_test"], - embed = [":workflows_go_gapic"], - importpath = "cloud.google.com/go/workflows/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-workflows-v1-go", deps = [ ":workflows_go_gapic", ":workflows_go_gapic_srcjar-metadata.srcjar", + ":workflows_go_gapic_srcjar-snippets.srcjar", ":workflows_go_gapic_srcjar-test.srcjar", ":workflows_go_proto", ], @@ -180,6 +177,8 @@ py_gapic_library( rest_numeric_enums = True, service_yaml = "workflows_v1.yaml", transport = "grpc+rest", + deps = [ + ], ) py_test( @@ -207,7 +206,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -216,21 +214,15 @@ php_proto_library( deps = [":workflows_proto"], ) -php_grpc_library( - name = "workflows_php_grpc", - srcs = [":workflows_proto"], - deps = [":workflows_php_proto"], -) - php_gapic_library( name = "workflows_php_gapic", srcs = [":workflows_proto_with_info"], grpc_service_config = "workflows_grpc_service_config.json", + migration_mode = "NEW_SURFACE_ONLY", rest_numeric_enums = True, service_yaml = "workflows_v1.yaml", transport = "grpc+rest", deps = [ - ":workflows_php_grpc", ":workflows_php_proto", ], ) @@ -240,7 +232,6 @@ php_gapic_assembly_pkg( name = "google-cloud-workflows-v1-php", deps = [ ":workflows_php_gapic", - ":workflows_php_grpc", ":workflows_php_proto", ], ) @@ -312,6 +303,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Workflows link series of serverless tasks together in an order you define. Combine the power of Google Cloud's APIs, serverless products like Cloud Functions and Cloud Run, and calls to external APIs to create flexible serverless applications. Workflows requires no infrastructure management and scales seamlessly with demand, including scaling down to zero..", ruby_cloud_title = "Workflows V1", service_yaml = "workflows_v1.yaml", + transport = "grpc+rest", deps = [ ":workflows_ruby_grpc", ":workflows_ruby_proto", @@ -341,6 +333,7 @@ load( csharp_proto_library( name = "workflows_csharp_proto", + extra_opts = [], deps = [":workflows_proto"], ) @@ -394,3 +387,4 @@ cc_grpc_library( grpc_only = True, deps = [":workflows_cc_proto"], ) + diff --git a/third_party/googleapis/google/cloud/workflows/v1/workflows.proto b/third_party/googleapis/google/cloud/workflows/v1/workflows.proto index 9b9f86eac..772ca6537 100644 --- a/third_party/googleapis/google/cloud/workflows/v1/workflows.proto +++ b/third_party/googleapis/google/cloud/workflows/v1/workflows.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,6 +21,7 @@ import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/longrunning/operations.proto"; +import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; @@ -28,15 +29,20 @@ option go_package = "cloud.google.com/go/workflows/apiv1/workflowspb;workflowspb option java_multiple_files = true; option java_outer_classname = "WorkflowsProto"; option java_package = "com.google.cloud.workflows.v1"; +option (google.api.resource_definition) = { + type: "cloudkms.googleapis.com/CryptoKey" + pattern: "projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}" +}; // Workflows is used to deploy and execute workflow programs. // Workflows makes sure the program executes reliably, despite hardware and // networking interruptions. service Workflows { option (google.api.default_host) = "workflows.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; - // Lists Workflows in a given project and location. + // Lists workflows in a given project and location. // The default order is not specified. rpc ListWorkflows(ListWorkflowsRequest) returns (ListWorkflowsResponse) { option (google.api.http) = { @@ -45,7 +51,7 @@ service Workflows { option (google.api.method_signature) = "parent"; } - // Gets details of a single Workflow. + // Gets details of a single workflow. rpc GetWorkflow(GetWorkflowRequest) returns (Workflow) { option (google.api.http) = { get: "/v1/{name=projects/*/locations/*/workflows/*}" @@ -55,8 +61,9 @@ service Workflows { // Creates a new workflow. If a workflow with the specified name already // exists in the specified project and location, the long running operation - // will return [ALREADY_EXISTS][google.rpc.Code.ALREADY_EXISTS] error. - rpc CreateWorkflow(CreateWorkflowRequest) returns (google.longrunning.Operation) { + // returns a [ALREADY_EXISTS][google.rpc.Code.ALREADY_EXISTS] error. + rpc CreateWorkflow(CreateWorkflowRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/workflows" body: "workflow" @@ -71,7 +78,8 @@ service Workflows { // Deletes a workflow with the specified name. // This method also cancels and deletes all running executions of the // workflow. - rpc DeleteWorkflow(DeleteWorkflowRequest) returns (google.longrunning.Operation) { + rpc DeleteWorkflow(DeleteWorkflowRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/workflows/*}" }; @@ -84,10 +92,11 @@ service Workflows { // Updates an existing workflow. // Running this method has no impact on already running executions of the - // workflow. A new revision of the workflow may be created as a result of a - // successful update operation. In that case, such revision will be used + // workflow. A new revision of the workflow might be created as a result of a + // successful update operation. In that case, the new revision is used // in new workflow executions. - rpc UpdateWorkflow(UpdateWorkflowRequest) returns (google.longrunning.Operation) { + rpc UpdateWorkflow(UpdateWorkflowRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v1/{workflow.name=projects/*/locations/*/workflows/*}" body: "workflow" @@ -107,14 +116,51 @@ message Workflow { pattern: "projects/{project}/locations/{location}/workflows/{workflow}" }; - // Describes the current state of workflow deployment. More states may be - // added in the future. + // Describes the current state of workflow deployment. enum State { // Invalid state. STATE_UNSPECIFIED = 0; // The workflow has been deployed successfully and is serving. ACTIVE = 1; + + // Workflow data is unavailable. See the `state_error` field. + UNAVAILABLE = 2; + } + + // Describes an error related to the current state of the workflow. + message StateError { + // Describes the possibled types of a state error. + enum Type { + // No type specified. + TYPE_UNSPECIFIED = 0; + + // Caused by an issue with KMS. + KMS_ERROR = 1; + } + + // Provides specifics about the error. + string details = 1; + + // The type of this state error. + Type type = 2; + } + + // Describes the level of platform logging to apply to calls and call + // responses during workflow executions. + enum CallLogLevel { + // No call logging level specified. + CALL_LOG_LEVEL_UNSPECIFIED = 0; + + // Log all call steps within workflows, all call returns, and all exceptions + // raised. + LOG_ALL_CALLS = 1; + + // Log only exceptions that are raised from call steps within workflows. + LOG_ERRORS_ONLY = 2; + + // Explicitly log nothing. + LOG_NONE = 3; } // The resource name of the workflow. @@ -133,27 +179,31 @@ message Workflow { // following properties of a workflow: // // - [Service account][google.cloud.workflows.v1.Workflow.service_account] - // - [Workflow code to be executed][google.cloud.workflows.v1.Workflow.source_contents] + // - [Workflow code to be + // executed][google.cloud.workflows.v1.Workflow.source_contents] // - // The format is "000001-a4d", where the first 6 characters define + // The format is "000001-a4d", where the first six characters define // the zero-padded revision ordinal number. They are followed by a hyphen and - // 3 hexadecimal random characters. + // three hexadecimal random characters. string revision_id = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The timestamp of when the workflow was created. - google.protobuf.Timestamp create_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The timestamp for when the workflow was created. + google.protobuf.Timestamp create_time = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The last update timestamp of the workflow. - google.protobuf.Timestamp update_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The timestamp for when the workflow was last updated. + google.protobuf.Timestamp update_time = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The timestamp that the latest revision of the workflow - // was created. - google.protobuf.Timestamp revision_create_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The timestamp for the latest revision of the workflow's + // creation. + google.protobuf.Timestamp revision_create_time = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Labels associated with this workflow. // Labels can contain at most 64 entries. Keys and values can be no longer // than 63 characters and can only contain lowercase letters, numeric - // characters, underscores and dashes. Label keys must start with a letter. + // characters, underscores, and dashes. Label keys must start with a letter. // International characters are allowed. map labels = 8; @@ -178,6 +228,42 @@ message Workflow { // Workflow code to be executed. The size limit is 128KB. string source_contents = 10; } + + // Optional. The resource name of a KMS crypto key used to encrypt or decrypt + // the data associated with the workflow. + // + // Format: + // projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey} + // + // Using `-` as a wildcard for the `{project}` or not providing one at all + // will infer the project from the account. + // + // If not provided, data associated with the workflow will not be + // CMEK-encrypted. + string crypto_key_name = 11 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.resource_reference) = { + type: "cloudkms.googleapis.com/CryptoKey" + } + ]; + + // Output only. Error regarding the state of the workflow. For example, this + // field will have error details if the execution data is unavailable due to + // revoked KMS key permissions. + StateError state_error = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. Describes the level of platform logging to apply to calls and + // call responses during executions of this workflow. If both the workflow and + // the execution specify a logging level, the execution level takes + // precedence. + CallLogLevel call_log_level = 13 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. User-defined environment variables associated with this workflow + // revision. This map has a maximum length of 20. Each string can take up to + // 40KiB. Keys cannot be empty strings and cannot start with “GOOGLE” or + // “WORKFLOWS". + map user_env_vars = 14 + [(google.api.field_behavior) = OPTIONAL]; } // Request for the @@ -193,10 +279,10 @@ message ListWorkflowsRequest { } ]; - // Maximum number of workflows to return per call. The service may return - // fewer than this value. If the value is not specified, a default value of - // 500 will be used. The maximum permitted value is 1000 and values greater - // than 1000 will be coerced down to 1000. + // Maximum number of workflows to return per call. The service might return + // fewer than this value even if not at the end of the collection. If a value + // is not specified, a default value of 500 is used. The maximum permitted + // value is 1000 and values greater than 1000 are coerced down to 1000. int32 page_size = 2; // A page token, received from a previous `ListWorkflows` call. @@ -209,10 +295,10 @@ message ListWorkflowsRequest { // Filter to restrict results to specific workflows. string filter = 4; - // Comma-separated list of fields that that specify the order of the results. + // Comma-separated list of fields that specify the order of the results. // Default sorting order for a field is ascending. To specify descending order - // for a field, append a " desc" suffix. - // If not specified, the results will be returned in an unspecified order. + // for a field, append a "desc" suffix. + // If not specified, the results are returned in an unspecified order. string order_by = 5; } @@ -220,7 +306,7 @@ message ListWorkflowsRequest { // [ListWorkflows][google.cloud.workflows.v1.Workflows.ListWorkflows] // method. message ListWorkflowsResponse { - // The workflows which match the request. + // The workflows that match the request. repeated Workflow workflows = 1; // A token, which can be sent as `page_token` to retrieve the next page. @@ -234,7 +320,7 @@ message ListWorkflowsResponse { // Request for the // [GetWorkflow][google.cloud.workflows.v1.Workflows.GetWorkflow] method. message GetWorkflowRequest { - // Required. Name of the workflow which information should be retrieved. + // Required. Name of the workflow for which information should be retrieved. // Format: projects/{project}/locations/{location}/workflows/{workflow} string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -242,6 +328,13 @@ message GetWorkflowRequest { type: "workflows.googleapis.com/Workflow" } ]; + + // Optional. The revision of the workflow to retrieve. If the revision_id is + // empty, the latest revision is retrieved. + // The format is "000001-a4d", where the first six characters define + // the zero-padded decimal revision number. They are followed by a hyphen and + // three hexadecimal characters. + string revision_id = 2 [(google.api.field_behavior) = OPTIONAL]; } // Request for the diff --git a/third_party/googleapis/google/cloud/workflows/v1/workflows_v1.yaml b/third_party/googleapis/google/cloud/workflows/v1/workflows_v1.yaml index b63e19171..bc21ced9f 100644 --- a/third_party/googleapis/google/cloud/workflows/v1/workflows_v1.yaml +++ b/third_party/googleapis/google/cloud/workflows/v1/workflows_v1.yaml @@ -4,7 +4,9 @@ name: workflows.googleapis.com title: Workflows API apis: +- name: google.cloud.location.Locations - name: google.cloud.workflows.v1.Workflows +- name: google.longrunning.Operations types: - name: google.cloud.workflows.v1.OperationMetadata diff --git a/third_party/googleapis/google/cloud/workflows/v1beta/BUILD.bazel b/third_party/googleapis/google/cloud/workflows/v1beta/BUILD.bazel index c73ac5e55..8e75bd591 100644 --- a/third_party/googleapis/google/cloud/workflows/v1beta/BUILD.bazel +++ b/third_party/googleapis/google/cloud/workflows/v1beta/BUILD.bazel @@ -62,12 +62,14 @@ java_gapic_library( srcs = [":workflows_proto_with_info"], grpc_service_config = "workflows_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "workflows_v1beta.yaml", test_deps = [ ":workflows_java_grpc", ], transport = "grpc+rest", deps = [ ":workflows_java_proto", + "//google/api:api_java_proto", ], ) @@ -101,7 +103,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -133,18 +134,12 @@ go_gapic_library( ], ) -go_test( - name = "workflows_go_gapic_test", - srcs = [":workflows_go_gapic_srcjar_test"], - embed = [":workflows_go_gapic"], - importpath = "cloud.google.com/go/workflows/apiv1beta", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-workflows-v1beta-go", deps = [ ":workflows_go_gapic", + ":workflows_go_gapic_srcjar-snippets.srcjar", ":workflows_go_gapic_srcjar-test.srcjar", ":workflows_go_proto", ], @@ -194,7 +189,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -203,12 +197,6 @@ php_proto_library( deps = [":workflows_proto"], ) -php_grpc_library( - name = "workflows_php_grpc", - srcs = [":workflows_proto"], - deps = [":workflows_php_proto"], -) - php_gapic_library( name = "workflows_php_gapic", srcs = [":workflows_proto_with_info"], @@ -216,10 +204,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "workflows_v1beta.yaml", transport = "grpc+rest", - deps = [ - ":workflows_php_grpc", - ":workflows_php_proto", - ], + deps = [":workflows_php_proto"], ) # Open Source Packages @@ -227,7 +212,6 @@ php_gapic_assembly_pkg( name = "google-cloud-workflows-v1beta-php", deps = [ ":workflows_php_gapic", - ":workflows_php_grpc", ":workflows_php_proto", ], ) @@ -299,6 +283,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Workflows link series of serverless tasks together in an order you define. Combine the power of Google Cloud's APIs, serverless products like Cloud Functions and Cloud Run, and calls to external APIs to create flexible serverless applications. Workflows requires no infrastructure management and scales seamlessly with demand, including scaling down to zero..", ruby_cloud_title = "Workflows V1beta", service_yaml = "workflows_v1beta.yaml", + transport = "grpc+rest", deps = [ ":workflows_ruby_grpc", ":workflows_ruby_proto", diff --git a/third_party/googleapis/google/cloud/workstations/v1beta/BUILD.bazel b/third_party/googleapis/google/cloud/workstations/v1beta/BUILD.bazel index c18c57f84..f05f36880 100644 --- a/third_party/googleapis/google/cloud/workstations/v1beta/BUILD.bazel +++ b/third_party/googleapis/google/cloud/workstations/v1beta/BUILD.bazel @@ -77,9 +77,9 @@ java_gapic_library( rest_numeric_enums = True, service_yaml = "workstations_v1beta.yaml", test_deps = [ + ":workstations_java_grpc", "//google/cloud/location:location_java_grpc", "//google/iam/v1:iam_java_grpc", - ":workstations_java_grpc", ], transport = "grpc+rest", deps = [ @@ -120,7 +120,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -156,19 +155,13 @@ go_gapic_library( ], ) -go_test( - name = "workstations_go_gapic_test", - srcs = [":workstations_go_gapic_srcjar_test"], - embed = [":workstations_go_gapic"], - importpath = "cloud.google.com/go/workstations/apiv1beta", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-workstations-v1beta-go", deps = [ ":workstations_go_gapic", ":workstations_go_gapic_srcjar-metadata.srcjar", + ":workstations_go_gapic_srcjar-snippets.srcjar", ":workstations_go_gapic_srcjar-test.srcjar", ":workstations_go_proto", ], @@ -221,7 +214,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -230,12 +222,6 @@ php_proto_library( deps = [":workstations_proto"], ) -php_grpc_library( - name = "workstations_php_grpc", - srcs = [":workstations_proto"], - deps = [":workstations_php_proto"], -) - php_gapic_library( name = "workstations_php_gapic", srcs = [":workstations_proto_with_info"], @@ -243,10 +229,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "workstations_v1beta.yaml", transport = "grpc+rest", - deps = [ - ":workstations_php_grpc", - ":workstations_php_proto", - ], + deps = [":workstations_php_proto"], ) # Open Source Packages @@ -254,7 +237,6 @@ php_gapic_assembly_pkg( name = "google-cloud-workstations-v1beta-php", deps = [ ":workstations_php_gapic", - ":workstations_php_grpc", ":workstations_php_proto", ], ) @@ -318,6 +300,7 @@ ruby_cloud_gapic_library( grpc_service_config = "workstations_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "workstations_v1beta.yaml", + transport = "grpc+rest", deps = [ ":workstations_ruby_grpc", ":workstations_ruby_proto", diff --git a/third_party/googleapis/google/cloud/workstations/v1beta/workstations.proto b/third_party/googleapis/google/cloud/workstations/v1beta/workstations.proto index 2849f45bc..afbce3f94 100644 --- a/third_party/googleapis/google/cloud/workstations/v1beta/workstations.proto +++ b/third_party/googleapis/google/cloud/workstations/v1beta/workstations.proto @@ -175,7 +175,7 @@ service Workstations { option (google.api.method_signature) = "name"; } - // Returns all Workstations using the specified config. + // Returns all Workstations using the specified workstation configuration. rpc ListWorkstations(ListWorkstationsRequest) returns (ListWorkstationsResponse) { option (google.api.http) = { @@ -184,8 +184,8 @@ service Workstations { option (google.api.method_signature) = "parent"; } - // Returns all Workstations using the specified config on which the caller has - // the "workstations.workstations.use" permission. + // Returns all workstations using the specified workstation configuration + // on which the caller has the "workstations.workstations.use" permission. rpc ListUsableWorkstations(ListUsableWorkstationsRequest) returns (ListUsableWorkstationsResponse) { option (google.api.http) = { @@ -275,106 +275,132 @@ service Workstations { } } -// A grouping of workstation configurations and the associated workstations -// in that region. +// A workstation cluster resource in the Cloud Workstations API. +// +// Defines a group of workstations in a particular region and the +// VPC network they're attached to. message WorkstationCluster { option (google.api.resource) = { type: "workstations.googleapis.com/WorkstationCluster" pattern: "projects/{project}/locations/{location}/workstationClusters/{workstation_cluster}" + plural: "workstationClusters" + singular: "workstationCluster" style: DECLARATIVE_FRIENDLY }; - // Configuration options for private clusters. + // Configuration options for private workstation clusters. message PrivateClusterConfig { // Immutable. Whether Workstations endpoint is private. bool enable_private_endpoint = 1 [(google.api.field_behavior) = IMMUTABLE]; // Output only. Hostname for the workstation cluster. This field will be // populated only when private endpoint is enabled. To access workstations - // in the cluster, create a new DNS zone mapping this domain name to an - // internal IP address and a forwarding rule mapping that address to the - // service attachment. + // in the workstation cluster, create a new DNS zone mapping this domain + // name to an internal IP address and a forwarding rule mapping that address + // to the service attachment. string cluster_hostname = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Service attachment URI for the workstation cluster. The // service attachemnt is created when private endpoint is enabled. To access - // workstations in the cluster, configure access to the managed service - // using [Private Service + // workstations in the workstation cluster, configure access to the managed + // service using [Private Service // Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-services). string service_attachment_uri = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Additional projects that are allowed to attach to the workstation - // cluster's service attachment. By default, the workstation cluster's - // project and the VPC host project (if different) are allowed. - repeated string allowed_projects = 4; + // Optional. Additional projects that are allowed to attach to the + // workstation cluster's service attachment. By default, the workstation + // cluster's project and the VPC host project (if different) are allowed. + repeated string allowed_projects = 4 + [(google.api.field_behavior) = OPTIONAL]; } - // Full name of this resource. + // Full name of this workstation cluster. string name = 1; - // Human-readable name for this resource. - string display_name = 2; + // Optional. Human-readable name for this workstation cluster. + string display_name = 2 [(google.api.field_behavior) = OPTIONAL]; - // Output only. A system-assigned unique identified for this resource. + // Output only. A system-assigned unique identifier for this workstation + // cluster. string uid = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Indicates whether this resource is currently being updated to - // match its intended state. + // Output only. Indicates whether this workstation cluster is currently being + // updated to match its intended state. bool reconciling = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Client-specified annotations. - map annotations = 5; + // Optional. Client-specified annotations. + map annotations = 5 [(google.api.field_behavior) = OPTIONAL]; - // Client-specified labels that are applied to the resource and that are also - // propagated to the underlying Compute Engine resources. - map labels = 15; + // Optional. + // [Labels](https://cloud.google.com/workstations/docs/label-resources) that + // are applied to the workstation cluster and that are also propagated to the + // underlying Compute Engine resources. + map labels = 15 [(google.api.field_behavior) = OPTIONAL]; - // Output only. Time when this resource was created. + // Output only. Time when this workstation cluster was created. google.protobuf.Timestamp create_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Time when this resource was most recently updated. + // Output only. Time when this workstation cluster was most recently updated. google.protobuf.Timestamp update_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Time when this resource was soft-deleted. + // Output only. Time when this workstation cluster was soft-deleted. google.protobuf.Timestamp delete_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Checksum computed by the server. May be sent on update and delete requests - // to ensure that the client has an up-to-date value before proceeding. - string etag = 9; + // Optional. Checksum computed by the server. May be sent on update and delete + // requests to make sure that the client has an up-to-date value before + // proceeding. + string etag = 9 [(google.api.field_behavior) = OPTIONAL]; // Immutable. Name of the Compute Engine network in which instances associated - // with this cluster will be created. + // with this workstation cluster will be created. string network = 10 [(google.api.field_behavior) = IMMUTABLE]; // Immutable. Name of the Compute Engine subnetwork in which instances - // associated with this cluster will be created. Must be part of the - // subnetwork specified for this cluster. + // associated with this workstation cluster will be created. Must be part of + // the subnetwork specified for this workstation cluster. string subnetwork = 11 [(google.api.field_behavior) = IMMUTABLE]; - // Configuration for private cluster. - PrivateClusterConfig private_cluster_config = 12; + // Output only. The private IP address of the control plane for this + // workstation cluster. Workstation VMs need access to this IP address to work + // with the service, so make sure that your firewall rules allow egress from + // the workstation VMs to this address. + string control_plane_ip = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. Configuration for private workstation cluster. + PrivateClusterConfig private_cluster_config = 12 + [(google.api.field_behavior) = OPTIONAL]; - // Output only. Whether this resource is in degraded mode, in which case it - // may require user action to restore full functionality. Details can be found - // in the `conditions` field. + // Output only. Whether this workstation cluster is in degraded mode, in which + // case it may require user action to restore full functionality. Details can + // be found in + // [conditions][google.cloud.workstations.v1beta.WorkstationCluster.conditions]. bool degraded = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Status conditions describing the current resource state. + // Output only. Status conditions describing the workstation cluster's current + // state. repeated google.rpc.Status conditions = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; } -// A set of configuration options describing how a workstation will be run. -// Workstation configurations are intended to be shared across multiple -// workstations. +// A workstation configuration resource in the Cloud Workstations API. +// +// Workstation configurations act as templates for workstations. The workstation +// configuration defines details such as the workstation virtual machine (VM) +// instance type, persistent storage, container image defining environment, +// which IDE or Code Editor to use, and more. Administrators and platform teams +// can also use [Identity and Access Management +// (IAM)](https://cloud.google.com/iam/docs/overview) rules to grant access to +// teams or to individual developers. message WorkstationConfig { option (google.api.resource) = { type: "workstations.googleapis.com/WorkstationConfig" pattern: "projects/{project}/locations/{location}/workstationClusters/{workstation_cluster}/workstationConfigs/{workstation_config}" + plural: "workstationConfigs" + singular: "workstationConfig" style: DECLARATIVE_FRIENDLY }; @@ -384,49 +410,150 @@ message WorkstationConfig { message GceInstance { // A set of Compute Engine Shielded instance options. message GceShieldedInstanceConfig { - // Whether the instance has Secure Boot enabled. - bool enable_secure_boot = 1; + // Optional. Whether the instance has Secure Boot enabled. + bool enable_secure_boot = 1 [(google.api.field_behavior) = OPTIONAL]; - // Whether the instance has the vTPM enabled. - bool enable_vtpm = 2; + // Optional. Whether the instance has the vTPM enabled. + bool enable_vtpm = 2 [(google.api.field_behavior) = OPTIONAL]; - // Whether the instance has integrity monitoring enabled. - bool enable_integrity_monitoring = 3; + // Optional. Whether the instance has integrity monitoring enabled. + bool enable_integrity_monitoring = 3 + [(google.api.field_behavior) = OPTIONAL]; } // A set of Compute Engine Confidential VM instance options. message GceConfidentialInstanceConfig { - // Whether the instance has confidential compute enabled. - bool enable_confidential_compute = 1; + // Optional. Whether the instance has confidential compute enabled. + bool enable_confidential_compute = 1 + [(google.api.field_behavior) = OPTIONAL]; } - // The name of a Compute Engine machine type. - string machine_type = 1; - - // Email address of the service account that will be used on VM instances - // used to support this config. This service account must have permission - // to pull the specified container image. If not set, VMs will run without - // a service account, in which case the image must be publicly accessible. - string service_account = 2; - - // Network tags to add to the Compute Engine machines backing the - // Workstations. - repeated string tags = 4; + // An accelerator card attached to the instance. + message Accelerator { + // Optional. Type of accelerator resource to attach to the instance, for + // example, + // `"nvidia-tesla-p100"`. + string type = 1 [(google.api.field_behavior) = OPTIONAL]; - // Number of instances to pool for faster workstation starup. - int32 pool_size = 5; - - // Whether instances have no public IP address. - bool disable_public_ip_addresses = 6; - - // A set of Compute Engine Shielded instance options. - GceShieldedInstanceConfig shielded_instance_config = 8; - - // A set of Compute Engine Confidential VM instance options. - GceConfidentialInstanceConfig confidential_instance_config = 10; + // Optional. Number of accelerator cards exposed to the instance. + int32 count = 2 [(google.api.field_behavior) = OPTIONAL]; + } - // Size of the boot disk in GB. - int32 boot_disk_size_gb = 9; + // Optional. The type of machine to use for VM instances—for example, + // `"e2-standard-4"`. For more information about machine types that + // Cloud Workstations supports, see the list of + // [available machine + // types](https://cloud.google.com/workstations/docs/available-machine-types). + string machine_type = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The email address of the service account for Cloud + // Workstations VMs created with this configuration. When specified, be + // sure that the service account has `logginglogEntries.create` permission + // on the project so it can write logs out to Cloud Logging. If using a + // custom container image, the service account must have permissions to + // pull the specified image. + // + // If you as the administrator want to be able to `ssh` into the + // underlying VM, you need to set this value to a service account + // for which you have the `iam.serviceAccounts.actAs` permission. + // Conversely, if you don't want anyone to be able to `ssh` into the + // underlying VM, use a service account where no one has that + // permission. + // + // If not set, VMs run with a service account provided by the + // Cloud Workstations service, and the image must be publicly + // accessible. + string service_account = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Scopes to grant to the + // [service_account][google.cloud.workstations.v1beta.WorkstationConfig.Host.GceInstance.service_account]. + // Various scopes are automatically added based on feature usage. When + // specified, users of workstations under this configuration must have + // `iam.serviceAccounts.actAs` on the service account. + repeated string service_account_scopes = 3 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Network tags to add to the Compute Engine VMs backing the + // workstations. This option applies + // [network + // tags](https://cloud.google.com/vpc/docs/add-remove-network-tags) to VMs + // created with this configuration. These network tags enable the creation + // of [firewall + // rules](https://cloud.google.com/workstations/docs/configure-firewall-rules). + repeated string tags = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The number of VMs that the system should keep idle so that + // new workstations can be started quickly for new users. Defaults to `0` + // in the API. + int32 pool_size = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Output only. Number of instances currently available in the pool for + // faster workstation startup. + int32 pooled_instances = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. When set to true, disables public IP addresses for VMs. If + // you disable public IP addresses, you must set up Private Google Access + // or Cloud NAT on your network. If you use Private Google Access and you + // use `private.googleapis.com` or `restricted.googleapis.com` for + // Container Registry and Artifact Registry, make sure that you set + // up DNS records for domains `*.gcr.io` and `*.pkg.dev`. + // Defaults to false (VMs have public IP addresses). + bool disable_public_ip_addresses = 6 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Whether to enable nested virtualization on Cloud Workstations + // VMs created under this workstation configuration. + // + // Nested virtualization lets you run virtual machine (VM) instances + // inside your workstation. Before enabling nested virtualization, + // consider the following important considerations. Cloud Workstations + // instances are subject to the [same restrictions as Compute Engine + // instances](https://cloud.google.com/compute/docs/instances/nested-virtualization/overview#restrictions): + // + // * **Organization policy**: projects, folders, or + // organizations may be restricted from creating nested VMs if the + // **Disable VM nested virtualization** constraint is enforced in + // the organization policy. For more information, see the + // Compute Engine section, + // [Checking whether nested virtualization is + // allowed](https://cloud.google.com/compute/docs/instances/nested-virtualization/managing-constraint#checking_whether_nested_virtualization_is_allowed). + // * **Performance**: nested VMs might experience a 10% or greater + // decrease in performance for workloads that are CPU-bound and + // possibly greater than a 10% decrease for workloads that are + // input/output bound. + // * **Machine Type**: nested virtualization can only be enabled on + // workstation configurations that specify a + // [machine_type][google.cloud.workstations.v1beta.WorkstationConfig.Host.GceInstance.machine_type] + // in the N1 or N2 machine series. + // * **GPUs**: nested virtualization may not be enabled on workstation + // configurations with accelerators. + // * **Operating System**: Because + // [Container-Optimized + // OS](https://cloud.google.com/compute/docs/images/os-details#container-optimized_os_cos) + // does not support nested virtualization, when nested virtualization is + // enabled, the underlying Compute Engine VM instances boot from an + // [Ubuntu + // LTS](https://cloud.google.com/compute/docs/images/os-details#ubuntu_lts) + // image. + bool enable_nested_virtualization = 7 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. A set of Compute Engine Shielded instance options. + GceShieldedInstanceConfig shielded_instance_config = 8 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. A set of Compute Engine Confidential VM instance options. + GceConfidentialInstanceConfig confidential_instance_config = 10 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The size of the boot disk for the VM in gigabytes (GB). + // The minimum boot disk size is `30` GB. Defaults to `50` GB. + int32 boot_disk_size_gb = 9 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. A list of the type and count of accelerator cards attached to + // the instance. + repeated Accelerator accelerators = 11 + [(google.api.field_behavior) = OPTIONAL]; } // Type of host that will be used for the workstation's runtime. @@ -439,7 +566,15 @@ message WorkstationConfig { // A directory to persist across workstation sessions. message PersistentDirectory { // A PersistentDirectory backed by a Compute Engine regional persistent - // disk. + // disk. The + // [persistent_directories][google.cloud.workstations.v1beta.WorkstationConfig.persistent_directories] + // field is repeated, but it may contain only one entry. It creates a + // [persistent + // disk](https://cloud.google.com/compute/docs/disks/persistent-disks) that + // mounts to the workstation VM at `/home` when the session starts and + // detaches when the session ends. If this field is empty, workstations + // created with this configuration do not have a persistent home + // directory. message GceRegionalPersistentDisk { // Value representing what should happen to the disk after the workstation // is deleted. @@ -447,142 +582,267 @@ message WorkstationConfig { // Do not use. RECLAIM_POLICY_UNSPECIFIED = 0; - // The persistent disk will be deleted with the workstation. + // Delete the persistent disk when deleting the workstation. DELETE = 1; - // The persistent disk will be remain after the workstation is deleted, - // and the administrator must manually delete the disk. + // Keep the persistent disk when deleting the workstation. + // An administrator must manually delete the disk. RETAIN = 2; } - // Size of the disk in GB. Must be empty if source_snapshot is set. - int32 size_gb = 1; - - // Type of file system that the disk should be formatted with. The - // workstation image must support this file system type. Must be empty - // if source_snapshot is set. - string fs_type = 2; - - // Type of the disk to use. - string disk_type = 3; - - // Name of the snapshot to use as the source for the disk. If set, - // size_gb and fs_type must be empty. - string source_snapshot = 5; - - // What should happen to the disk after the workstation is deleted. - // Defaults to DELETE. - ReclaimPolicy reclaim_policy = 4; + // Optional. The GB capacity of a persistent home directory for each + // workstation created with this configuration. Must be empty if + // [source_snapshot][google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.source_snapshot] + // is set. + // + // Valid values are `10`, `50`, `100`, `200`, `500`, or `1000`. + // Defaults to `200`. If less than `200` GB, the + // [disk_type][google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.disk_type] + // must be + // `"pd-balanced"` or `"pd-ssd"`. + int32 size_gb = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Type of file system that the disk should be formatted with. + // The workstation image must support this file system type. Must be empty + // if + // [source_snapshot][google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.source_snapshot] + // is set. Defaults to `"ext4"`. + string fs_type = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The [type of the persistent + // disk](https://cloud.google.com/compute/docs/disks#disk-types) for the + // home directory. Defaults to `"pd-standard"`. + string disk_type = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Name of the snapshot to use as the source for the disk. If + // set, + // [size_gb][google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.size_gb] + // and + // [fs_type][google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.fs_type] + // must be empty. + string source_snapshot = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Whether the persistent disk should be deleted when the + // workstation is deleted. Valid values are `DELETE` and `RETAIN`. + // Defaults to `DELETE`. + ReclaimPolicy reclaim_policy = 4 [(google.api.field_behavior) = OPTIONAL]; } - // Location of this directory in the running workstation. - string mount_path = 1; - // How a persistent directory should be implemented. oneof directory_type { // A PersistentDirectory backed by a Compute Engine persistent disk. GceRegionalPersistentDisk gce_pd = 2; } - } - - // A Docker container. - message Container { - // Docker image defining the container. This image must be accessible by the - // config's service account. - string image = 1; - // If set, overrides the default ENTRYPOINT specified by the image. - repeated string command = 2; + // Optional. Location of this directory in the running workstation. + string mount_path = 1 [(google.api.field_behavior) = OPTIONAL]; + } - // Arguments passed to the entrypoint. - repeated string args = 3; + // An ephemeral directory which won't persist across workstation sessions. It + // is freshly created on every workstation start operation. + message EphemeralDirectory { + // An EphemeralDirectory is backed by a Compute Engine persistent disk. + message GcePersistentDisk { + // Optional. Type of the disk to use. Defaults to `"pd-standard"`. + string disk_type = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Name of the snapshot to use as the source for the disk. Must + // be empty if + // [source_image][google.cloud.workstations.v1beta.WorkstationConfig.EphemeralDirectory.GcePersistentDisk.source_image] + // is set. Updating + // [source_snapshot][google.cloud.workstations.v1beta.WorkstationConfig.EphemeralDirectory.GcePersistentDisk.source_snapshot] + // will update content in the ephemeral directory after the workstation is + // restarted. This field is mutable. + string source_snapshot = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Name of the disk image to use as the source for the disk. + // Must be empty if + // [source_snapshot][google.cloud.workstations.v1beta.WorkstationConfig.EphemeralDirectory.GcePersistentDisk.source_snapshot] + // is set. Updating + // [source_image][google.cloud.workstations.v1beta.WorkstationConfig.EphemeralDirectory.GcePersistentDisk.source_image] + // will update content in the ephemeral directory after the workstation is + // restarted. This field is mutable. + string source_image = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Whether the disk is read only. If true, the disk may be + // shared by multiple VMs and + // [source_snapshot][google.cloud.workstations.v1beta.WorkstationConfig.EphemeralDirectory.GcePersistentDisk.source_snapshot] + // must be set. + bool read_only = 4 [(google.api.field_behavior) = OPTIONAL]; + } - // Environment variables passed to the container. - map env = 4; + // How an ephemeral directory should be implemented. + oneof directory_type { + // An EphemeralDirectory backed by a Compute Engine persistent disk. + GcePersistentDisk gce_pd = 3; + } - // If set, overrides the default DIR specified by the image. - string working_dir = 5; + // Required. Location of this directory in the running workstation. + string mount_path = 1 [(google.api.field_behavior) = REQUIRED]; + } - // If set, overrides the USER specified in the image with the given uid. - int32 run_as_user = 6; + // A Docker container. + message Container { + // Optional. A Docker container image that defines a custom environment. + // + // Cloud Workstations provides a number of + // [preconfigured + // images](https://cloud.google.com/workstations/docs/preconfigured-base-images), + // but you can create your own + // [custom container + // images](https://cloud.google.com/workstations/docs/custom-container-images). + // If using a private image, the `host.gceInstance.serviceAccount` field + // must be specified in the workstation configuration and must have + // permission to pull the specified image. Otherwise, the image must be + // publicly accessible. + string image = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If set, overrides the default ENTRYPOINT specified by the + // image. + repeated string command = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Arguments passed to the entrypoint. + repeated string args = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Environment variables passed to the container's entrypoint. + map env = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If set, overrides the default DIR specified by the image. + string working_dir = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If set, overrides the USER specified in the image with the + // given uid. + int32 run_as_user = 6 [(google.api.field_behavior) = OPTIONAL]; } - // A customer-managed encryption key for the Compute Engine resources - // of this workstation configuration. + // A customer-managed encryption key (CMEK) for the Compute Engine + // resources of the associated workstation configuration. Specify the name of + // your Cloud KMS encryption key and the default service account. + // We recommend that you use a separate service account and follow + // [Cloud KMS best + // practices](https://cloud.google.com/kms/docs/separation-of-duties). message CustomerEncryptionKey { - // The name of the Google Cloud KMS encryption key. For example, - // `projects/PROJECT_ID/locations/REGION/keyRings/KEY_RING/cryptoKeys/KEY_NAME`. - string kms_key = 1; + // Immutable. The name of the Google Cloud KMS encryption key. For example, + // `"projects/PROJECT_ID/locations/REGION/keyRings/KEY_RING/cryptoKeys/KEY_NAME"`. + // The key must be in the same region as the workstation configuration. + string kms_key = 1 [(google.api.field_behavior) = IMMUTABLE]; - // The service account to use with the specified + // Immutable. The service account to use with the specified // KMS key. We recommend that you use a separate service account // and follow KMS best practices. For more information, see // [Separation of // duties](https://cloud.google.com/kms/docs/separation-of-duties) and // `gcloud kms keys add-iam-policy-binding` // [`--member`](https://cloud.google.com/sdk/gcloud/reference/kms/keys/add-iam-policy-binding#--member). - string kms_key_service_account = 2; + string kms_key_service_account = 2 + [(google.api.field_behavior) = IMMUTABLE]; + } + + // A readiness check to be performed on a workstation. + message ReadinessCheck { + // Optional. Path to which the request should be sent. + string path = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Port to which the request should be sent. + int32 port = 2 [(google.api.field_behavior) = OPTIONAL]; } - // Full name of this resource. + // Full name of this workstation configuration. string name = 1; - // Human-readable name for this resource. - string display_name = 2; + // Optional. Human-readable name for this workstation configuration. + string display_name = 2 [(google.api.field_behavior) = OPTIONAL]; - // Output only. A system-assigned unique identified for this resource. + // Output only. A system-assigned unique identifier for this workstation + // configuration. string uid = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Indicates whether this resource is currently being updated to - // match its intended state. + // Output only. Indicates whether this workstation configuration is currently + // being updated to match its intended state. bool reconciling = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Client-specified annotations. - map annotations = 5; + // Optional. Client-specified annotations. + map annotations = 5 [(google.api.field_behavior) = OPTIONAL]; - // Client-specified labels that are applied to the resource and that are also - // propagated to the underlying Compute Engine resources. - map labels = 18; + // Optional. + // [Labels](https://cloud.google.com/workstations/docs/label-resources) that + // are applied to the workstation configuration and that are also propagated + // to the underlying Compute Engine resources. + map labels = 18 [(google.api.field_behavior) = OPTIONAL]; - // Output only. Time when this resource was created. + // Output only. Time when this workstation configuration was created. google.protobuf.Timestamp create_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Time when this resource was most recently updated. + // Output only. Time when this workstation configuration was most recently + // updated. google.protobuf.Timestamp update_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Time when this resource was soft-deleted. + // Output only. Time when this workstation configuration was soft-deleted. google.protobuf.Timestamp delete_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Checksum computed by the server. May be sent on update and delete requests - // to ensure that the client has an up-to-date value before proceeding. - string etag = 9; + // Optional. Checksum computed by the server. May be sent on update and delete + // requests to make sure that the client has an up-to-date value before + // proceeding. + string etag = 9 [(google.api.field_behavior) = OPTIONAL]; - // How long to wait before automatically stopping an instance that hasn't - // received any user traffic. A value of 0 indicates that this instance - // should never time out due to idleness. Defaults to 20 minutes. - google.protobuf.Duration idle_timeout = 10; - - // How long to wait before automatically stopping a workstation after it - // started. A value of 0 indicates that workstations using this configuration - // should never time out. Must be greater than 0 and less than 24 hours if - // encryption_key is set. Defaults to 12 hours. - google.protobuf.Duration running_timeout = 11; - - // Runtime host for the workstation. - Host host = 12; - - // Directories to persist across workstation sessions. - repeated PersistentDirectory persistent_directories = 13; - - // Container that will be run for each workstation using this configuration - // when that workstation is started. - Container container = 14; - - // Encrypts resources of this workstation configuration using a - // customer-managed encryption key. + // Optional. Number of seconds to wait before automatically stopping a + // workstation after it last received user traffic. + // + // A value of `"0s"` indicates that Cloud Workstations VMs created with this + // configuration should never time out due to idleness. + // Provide + // [duration](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#duration) + // terminated by `s` for seconds—for example, `"7200s"` (2 hours). + // The default is `"1200s"` (20 minutes). + google.protobuf.Duration idle_timeout = 10 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Number of seconds that a workstation can run until it is + // automatically shut down. We recommend that workstations be shut down daily + // to reduce costs and so that security updates can be applied upon restart. + // The + // [idle_timeout][google.cloud.workstations.v1beta.WorkstationConfig.idle_timeout] + // and + // [running_timeout][google.cloud.workstations.v1beta.WorkstationConfig.running_timeout] + // fields are independent of each other. Note that the + // [running_timeout][google.cloud.workstations.v1beta.WorkstationConfig.running_timeout] + // field shuts down VMs after the specified time, regardless of whether or not + // the VMs are idle. + // + // Provide duration terminated by `s` for seconds—for example, `"54000s"` + // (15 hours). Defaults to `"43200s"` (12 hours). A value of `"0s"` indicates + // that workstations using this configuration should never time out. If + // [encryption_key][google.cloud.workstations.v1beta.WorkstationConfig.encryption_key] + // is set, it must be greater than `"0s"` and less than + // `"86400s"` (24 hours). + // + // Warning: A value of `"0s"` indicates that Cloud Workstations VMs created + // with this configuration have no maximum running time. This is strongly + // discouraged because you incur costs and will not pick up security updates. + google.protobuf.Duration running_timeout = 11 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Runtime host for the workstation. + Host host = 12 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Directories to persist across workstation sessions. + repeated PersistentDirectory persistent_directories = 13 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Ephemeral directories which won't persist across workstation + // sessions. + repeated EphemeralDirectory ephemeral_directories = 22 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Container that runs upon startup for each workstation using this + // workstation configuration. + Container container = 14 [(google.api.field_behavior) = OPTIONAL]; + + // Immutable. Encrypts resources of this workstation configuration using a + // customer-managed encryption key (CMEK). // // If specified, the boot disk of the Compute Engine instance and the // persistent disk are encrypted using this encryption key. If @@ -593,20 +853,49 @@ message WorkstationConfig { // instance is stopped, the system attempts to recreate the // persistent disk with the new version of the key. Be sure to keep // older versions of the key until the persistent disk is recreated. - // Otherwise, data on the persistent disk will be lost. + // Otherwise, data on the persistent disk might be lost. + // + // If the encryption key is revoked, the workstation session automatically + // stops within 7 hours. + // + // Immutable after the workstation configuration is created. + CustomerEncryptionKey encryption_key = 17 + [(google.api.field_behavior) = IMMUTABLE]; + + // Optional. Readiness checks to perform when starting a workstation using + // this workstation configuration. Mark a workstation as running only after + // all specified readiness checks return 200 status codes. + repeated ReadinessCheck readiness_checks = 19 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Immutable. Specifies the zones used to replicate the VM and disk + // resources within the region. If set, exactly two zones within the + // workstation cluster's region must be specified—for example, + // `['us-central1-a', 'us-central1-f']`. If this field is empty, two default + // zones within the region are used. // - // If the encryption key is revoked, the workstation session will - // automatically be stopped within 7 hours. - CustomerEncryptionKey encryption_key = 17; + // Immutable after the workstation configuration is created. + repeated string replica_zones = 23 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.field_behavior) = IMMUTABLE + ]; - // Output only. Whether this resource is in degraded mode, in which case it - // may require user action to restore full functionality. Details can be found - // in the `conditions` field. + // Output only. Whether this resource is degraded, in which case it may + // require user action to restore full functionality. See also the + // [conditions][google.cloud.workstations.v1beta.WorkstationConfig.conditions] + // field. bool degraded = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Status conditions describing the current resource state. repeated google.rpc.Status conditions = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. Whether to enable Linux `auditd` logging on the workstation. When + // enabled, a service account must also be specified that has + // `logging.buckets.write` permission on the project. Operating system audit + // logging is distinct from [Cloud Audit + // Logs](https://cloud.google.com/workstations/docs/audit-logging). + bool enable_audit_agent = 20 [(google.api.field_behavior) = OPTIONAL]; } // A single instance of a developer workstation with its own persistent storage. @@ -614,6 +903,8 @@ message Workstation { option (google.api.resource) = { type: "workstations.googleapis.com/Workstation" pattern: "projects/{project}/locations/{location}/workstationClusters/{workstation_cluster}/workstationConfigs/{workstation_config}/workstations/{workstation}" + plural: "workstations" + singular: "workstation" style: DECLARATIVE_FRIENDLY }; @@ -637,41 +928,49 @@ message Workstation { STATE_STOPPED = 4; } - // Full name of this resource. + // Full name of this workstation. string name = 1; - // Human-readable name for this resource. - string display_name = 2; + // Optional. Human-readable name for this workstation. + string display_name = 2 [(google.api.field_behavior) = OPTIONAL]; - // Output only. A system-assigned unique identified for this resource. + // Output only. A system-assigned unique identifier for this workstation. string uid = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Indicates whether this resource is currently being updated to - // match its intended state. + // Output only. Indicates whether this workstation is currently being updated + // to match its intended state. bool reconciling = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Client-specified annotations. - map annotations = 5; + // Optional. Client-specified annotations. + map annotations = 5 [(google.api.field_behavior) = OPTIONAL]; - // Client-specified labels that are applied to the resource and that are also - // propagated to the underlying Compute Engine resources. - map labels = 13; + // Optional. + // [Labels](https://cloud.google.com/workstations/docs/label-resources) that + // are applied to the workstation and that are also propagated to the + // underlying Compute Engine resources. + map labels = 13 [(google.api.field_behavior) = OPTIONAL]; - // Output only. Time when this resource was created. + // Output only. Time when this workstation was created. google.protobuf.Timestamp create_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Time when this resource was most recently updated. + // Output only. Time when this workstation was most recently updated. google.protobuf.Timestamp update_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Time when this resource was soft-deleted. + // Output only. Time when this workstation was most recently successfully + // started, regardless of the workstation's initial state. + google.protobuf.Timestamp start_time = 14 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Time when this workstation was soft-deleted. google.protobuf.Timestamp delete_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Checksum computed by the server. May be sent on update and delete requests - // to ensure that the client has an up-to-date value before proceeding. - string etag = 9; + // Optional. Checksum computed by the server. May be sent on update and delete + // requests to make sure that the client has an up-to-date value before + // proceeding. + string etag = 9 [(google.api.field_behavior) = OPTIONAL]; // Output only. Current state of the workstation. State state = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -682,6 +981,10 @@ message Workstation { // clients may prefix the host with the destination port in the format // `{port}-{host}`. string host = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. Environment variables passed to the workstation container's + // entrypoint. + map env = 12 [(google.api.field_behavior) = OPTIONAL]; } // Request message for GetWorkstationCluster. @@ -705,11 +1008,12 @@ message ListWorkstationClustersRequest { } ]; - // Maximum number of items to return. - int32 page_size = 2; + // Optional. Maximum number of items to return. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - // next_page_token value returned from a previous List request, if any. - string page_token = 3; + // Optional. next_page_token value returned from a previous List request, if + // any. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; } // Response message for ListWorkstationClusters. @@ -742,9 +1046,9 @@ message CreateWorkstationClusterRequest { WorkstationCluster workstation_cluster = 3 [(google.api.field_behavior) = REQUIRED]; - // If set, validate the request and preview the review, but do not actually - // apply it. - bool validate_only = 4; + // Optional. If set, validate the request and preview the review, but do not + // actually apply it. + bool validate_only = 4 [(google.api.field_behavior) = OPTIONAL]; } // Request message for UpdateWorkstationCluster. @@ -758,13 +1062,14 @@ message UpdateWorkstationClusterRequest { google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; - // If set, validate the request and preview the review, but do not actually - // apply it. - bool validate_only = 3; + // Optional. If set, validate the request and preview the review, but do not + // actually apply it. + bool validate_only = 3 [(google.api.field_behavior) = OPTIONAL]; - // If set, and the workstation cluster is not found, a new workstation - // cluster will be created. In this situation, update_mask is ignored. - bool allow_missing = 4; + // Optional. If set, and the workstation cluster is not found, a new + // workstation cluster will be created. In this situation, update_mask is + // ignored. + bool allow_missing = 4 [(google.api.field_behavior) = OPTIONAL]; } // Message for deleting a workstation cluster. @@ -777,17 +1082,18 @@ message DeleteWorkstationClusterRequest { } ]; - // If set, validate the request and preview the review, but do not apply it. - bool validate_only = 2; + // Optional. If set, validate the request and preview the review, but do not + // apply it. + bool validate_only = 2 [(google.api.field_behavior) = OPTIONAL]; - // If set, the request will be rejected if the latest version of the - // workstation cluster on the server does not have this etag. - string etag = 3; + // Optional. If set, the request will be rejected if the latest version of the + // workstation cluster on the server does not have this ETag. + string etag = 3 [(google.api.field_behavior) = OPTIONAL]; - // If set, any workstation configurations and workstations in the + // Optional. If set, any workstation configurations and workstations in the // workstation cluster are also deleted. Otherwise, the request only // works if the workstation cluster has no configurations or workstations. - bool force = 4; + bool force = 4 [(google.api.field_behavior) = OPTIONAL]; } // Request message for GetWorkstationConfig. @@ -811,11 +1117,12 @@ message ListWorkstationConfigsRequest { } ]; - // Maximum number of items to return. - int32 page_size = 2; + // Optional. Maximum number of items to return. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - // next_page_token value returned from a previous List request, if any. - string page_token = 3; + // Optional. next_page_token value returned from a previous List request, if + // any. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; } // Response message for ListWorkstationConfigs. @@ -841,11 +1148,12 @@ message ListUsableWorkstationConfigsRequest { } ]; - // Maximum number of items to return. - int32 page_size = 2; + // Optional. Maximum number of items to return. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - // next_page_token value returned from a previous List request, if any. - string page_token = 3; + // Optional. next_page_token value returned from a previous List request, if + // any. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; } // Response message for ListUsableWorkstationConfigs. @@ -871,16 +1179,16 @@ message CreateWorkstationConfigRequest { } ]; - // Required. ID to use for the config. + // Required. ID to use for the workstation configuration. string workstation_config_id = 2 [(google.api.field_behavior) = REQUIRED]; // Required. Config to create. WorkstationConfig workstation_config = 3 [(google.api.field_behavior) = REQUIRED]; - // If set, validate the request and preview the review, but do not actually - // apply it. - bool validate_only = 4; + // Optional. If set, validate the request and preview the review, but do not + // actually apply it. + bool validate_only = 4 [(google.api.field_behavior) = OPTIONAL]; } // Request message for UpdateWorkstationConfig. @@ -889,22 +1197,24 @@ message UpdateWorkstationConfigRequest { WorkstationConfig workstation_config = 1 [(google.api.field_behavior) = REQUIRED]; - // Required. Mask specifying which fields in the config should be updated. + // Required. Mask specifying which fields in the workstation configuration + // should be updated. google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; - // If set, validate the request and preview the review, but do not actually - // apply it. - bool validate_only = 3; + // Optional. If set, validate the request and preview the review, but do not + // actually apply it. + bool validate_only = 3 [(google.api.field_behavior) = OPTIONAL]; - // If set, and the config is not found, a new config will be created. - // In this situation, update_mask is ignored. - bool allow_missing = 4; + // Optional. If set and the workstation configuration is not found, a new + // workstation configuration will be created. In this situation, + // update_mask is ignored. + bool allow_missing = 4 [(google.api.field_behavior) = OPTIONAL]; } // Message for deleting a workstation configuration. message DeleteWorkstationConfigRequest { - // Required. Name of the config to delete. + // Required. Name of the workstation configuration to delete. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -912,17 +1222,18 @@ message DeleteWorkstationConfigRequest { } ]; - // If set, validate the request and preview the review, but do not actually - // apply it. - bool validate_only = 2; + // Optional. If set, validate the request and preview the review, but do not + // actually apply it. + bool validate_only = 2 [(google.api.field_behavior) = OPTIONAL]; - // If set, the request will be rejected if the latest version of the config on - // the server does not have this etag. - string etag = 3; + // Optional. If set, the request is rejected if the latest version of the + // workstation configuration on the server does not have this ETag. + string etag = 3 [(google.api.field_behavior) = OPTIONAL]; - // If set, any Workstations in the config will also be deleted. Otherwise, - // the request will work only if the config has no workstations. - bool force = 4; + // Optional. If set, any workstations in the workstation configuration are + // also deleted. Otherwise, the request works only if the workstation + // configuration has no workstations. + bool force = 4 [(google.api.field_behavior) = OPTIONAL]; } // Request message for GetWorkstation. @@ -946,11 +1257,12 @@ message ListWorkstationsRequest { } ]; - // Maximum number of items to return. - int32 page_size = 2; + // Optional. Maximum number of items to return. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - // next_page_token value returned from a previous List request, if any. - string page_token = 3; + // Optional. next_page_token value returned from a previous List request, if + // any. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; } // Response message for ListWorkstations. @@ -958,12 +1270,12 @@ message ListWorkstationsResponse { // The requested workstations. repeated Workstation workstations = 1; - // Token to retrieve the next page of results, or empty if there are no more - // results in the list. - string next_page_token = 2; + // Optional. Token to retrieve the next page of results, or empty if there are + // no more results in the list. + string next_page_token = 2 [(google.api.field_behavior) = OPTIONAL]; - // Unreachable resources. - repeated string unreachable = 3; + // Optional. Unreachable resources. + repeated string unreachable = 3 [(google.api.field_behavior) = OPTIONAL]; } // Request message for ListUsableWorkstations. @@ -976,11 +1288,12 @@ message ListUsableWorkstationsRequest { } ]; - // Maximum number of items to return. - int32 page_size = 2; + // Optional. Maximum number of items to return. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - // next_page_token value returned from a previous List request, if any. - string page_token = 3; + // Optional. next_page_token value returned from a previous List request, if + // any. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; } // Response message for ListUsableWorkstations. @@ -1012,9 +1325,9 @@ message CreateWorkstationRequest { // Required. Workstation to create. Workstation workstation = 3 [(google.api.field_behavior) = REQUIRED]; - // If set, validate the request and preview the review, but do not actually - // apply it. - bool validate_only = 4; + // Optional. If set, validate the request and preview the review, but do not + // actually apply it. + bool validate_only = 4 [(google.api.field_behavior) = OPTIONAL]; } // Request message for UpdateWorkstation. @@ -1022,17 +1335,19 @@ message UpdateWorkstationRequest { // Required. Workstation to update. Workstation workstation = 1 [(google.api.field_behavior) = REQUIRED]; - // Required. Mask specifying which fields in the config should be updated. + // Required. Mask specifying which fields in the workstation configuration + // should be updated. google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; - // If set, validate the request and preview the review, but do not actually - // apply it. - bool validate_only = 3; + // Optional. If set, validate the request and preview the review, but do not + // actually apply it. + bool validate_only = 3 [(google.api.field_behavior) = OPTIONAL]; - // If set, and the config is not found, a new config will be created. - // In this situation, update_mask is ignored. - bool allow_missing = 4; + // Optional. If set and the workstation configuration is not found, a new + // workstation configuration is created. In this situation, update_mask + // is ignored. + bool allow_missing = 4 [(google.api.field_behavior) = OPTIONAL]; } // Request message for DeleteWorkstation. @@ -1045,13 +1360,13 @@ message DeleteWorkstationRequest { } ]; - // If set, validate the request and preview the review, but do not actually - // apply it. - bool validate_only = 2; + // Optional. If set, validate the request and preview the review, but do not + // actually apply it. + bool validate_only = 2 [(google.api.field_behavior) = OPTIONAL]; - // If set, the request will be rejected if the latest version of the - // workstation on the server does not have this etag. - string etag = 3; + // Optional. If set, the request will be rejected if the latest version of the + // workstation on the server does not have this ETag. + string etag = 3 [(google.api.field_behavior) = OPTIONAL]; } // Request message for StartWorkstation. @@ -1064,13 +1379,13 @@ message StartWorkstationRequest { } ]; - // If set, validate the request and preview the review, but do not actually - // apply it. - bool validate_only = 2; + // Optional. If set, validate the request and preview the review, but do not + // actually apply it. + bool validate_only = 2 [(google.api.field_behavior) = OPTIONAL]; - // If set, the request will be rejected if the latest version of the - // workstation on the server does not have this etag. - string etag = 3; + // Optional. If set, the request will be rejected if the latest version of the + // workstation on the server does not have this ETag. + string etag = 3 [(google.api.field_behavior) = OPTIONAL]; } // Request message for StopWorkstation. @@ -1083,26 +1398,17 @@ message StopWorkstationRequest { } ]; - // If set, validate the request and preview the review, but do not actually - // apply it. - bool validate_only = 2; + // Optional. If set, validate the request and preview the review, but do not + // actually apply it. + bool validate_only = 2 [(google.api.field_behavior) = OPTIONAL]; - // If set, the request will be rejected if the latest version of the - // workstation on the server does not have this etag. - string etag = 3; + // Optional. If set, the request will be rejected if the latest version of the + // workstation on the server does not have this ETag. + string etag = 3 [(google.api.field_behavior) = OPTIONAL]; } // Request message for GenerateAccessToken. message GenerateAccessTokenRequest { - // Required. Name of the workstation for which the access token should be - // generated. - string workstation = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "workstations.googleapis.com/Workstation" - } - ]; - // Desired expiration or lifetime of the access token. oneof expiration { // Desired expiration time of the access token. This value must @@ -1116,13 +1422,22 @@ message GenerateAccessTokenRequest { // will be set to a default value of 1 hour. google.protobuf.Duration ttl = 3; } + + // Required. Name of the workstation for which the access token should be + // generated. + string workstation = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "workstations.googleapis.com/Workstation" + } + ]; } // Response message for GenerateAccessToken. message GenerateAccessTokenResponse { // The generated bearer access token. To use this token, include it in an // Authorization header of an HTTP request sent to the associated - // workstation's hostname, for example, `Authorization: Bearer + // workstation's hostname—for example, `Authorization: Bearer // `. string access_token = 1; diff --git a/third_party/googleapis/google/cloud/workstations/v1beta/workstations_grpc_service_config.json b/third_party/googleapis/google/cloud/workstations/v1beta/workstations_grpc_service_config.json index b2219279c..5adca5c1d 100644 --- a/third_party/googleapis/google/cloud/workstations/v1beta/workstations_grpc_service_config.json +++ b/third_party/googleapis/google/cloud/workstations/v1beta/workstations_grpc_service_config.json @@ -9,7 +9,16 @@ { "service": "google.cloud.workstations.v1beta.Workstations", "method": "ListUsableWorkstations" }, { "service": "google.cloud.workstations.v1beta.Workstations", "method": "ListWorkstationClusters" }, { "service": "google.cloud.workstations.v1beta.Workstations", "method": "ListWorkstationConfigs" }, - { "service": "google.cloud.workstations.v1beta.Workstations", "method": "ListWorkstations" } + { "service": "google.cloud.workstations.v1beta.Workstations", "method": "ListWorkstations" }, + { "service": "google.cloud.workstations.v1.Workstations", "method": "GenerateAccessToken" }, + { "service": "google.cloud.workstations.v1.Workstations", "method": "GetWorkstation" }, + { "service": "google.cloud.workstations.v1.Workstations", "method": "GetWorkstationCluster" }, + { "service": "google.cloud.workstations.v1.Workstations", "method": "GetWorkstationConfig" }, + { "service": "google.cloud.workstations.v1.Workstations", "method": "ListUsableWorkstationConfigs" }, + { "service": "google.cloud.workstations.v1.Workstations", "method": "ListUsableWorkstations" }, + { "service": "google.cloud.workstations.v1.Workstations", "method": "ListWorkstationClusters" }, + { "service": "google.cloud.workstations.v1.Workstations", "method": "ListWorkstationConfigs" }, + { "service": "google.cloud.workstations.v1.Workstations", "method": "ListWorkstations" } ], "timeout": "60s", "retryPolicy": { @@ -32,7 +41,18 @@ { "service": "google.cloud.workstations.v1beta.Workstations", "method": "StopWorkstation" }, { "service": "google.cloud.workstations.v1beta.Workstations", "method": "UpdateWorkstation" }, { "service": "google.cloud.workstations.v1beta.Workstations", "method": "UpdateWorkstationCluster" }, - { "service": "google.cloud.workstations.v1beta.Workstations", "method": "UpdateWorkstationConfig" } + { "service": "google.cloud.workstations.v1beta.Workstations", "method": "UpdateWorkstationConfig" }, + { "service": "google.cloud.workstations.v1.Workstations", "method": "CreateWorkstation" }, + { "service": "google.cloud.workstations.v1.Workstations", "method": "CreateWorkstationCluster" }, + { "service": "google.cloud.workstations.v1.Workstations", "method": "CreateWorkstationConfig" }, + { "service": "google.cloud.workstations.v1.Workstations", "method": "DeleteWorkstation" }, + { "service": "google.cloud.workstations.v1.Workstations", "method": "DeleteWorkstationCluster" }, + { "service": "google.cloud.workstations.v1.Workstations", "method": "DeleteWorkstationConfig" }, + { "service": "google.cloud.workstations.v1.Workstations", "method": "StartWorkstation" }, + { "service": "google.cloud.workstations.v1.Workstations", "method": "StopWorkstation" }, + { "service": "google.cloud.workstations.v1.Workstations", "method": "UpdateWorkstation" }, + { "service": "google.cloud.workstations.v1.Workstations", "method": "UpdateWorkstationCluster" }, + { "service": "google.cloud.workstations.v1.Workstations", "method": "UpdateWorkstationConfig" } ], "timeout": "60s" }] diff --git a/third_party/googleapis/google/cloud/workstations/v1beta/workstations_v1beta.yaml b/third_party/googleapis/google/cloud/workstations/v1beta/workstations_v1beta.yaml index 1f6ffdfe5..e82abbb2b 100644 --- a/third_party/googleapis/google/cloud/workstations/v1beta/workstations_v1beta.yaml +++ b/third_party/googleapis/google/cloud/workstations/v1beta/workstations_v1beta.yaml @@ -13,6 +13,7 @@ types: - name: google.cloud.workstations.v1beta.OperationMetadata documentation: + summary: Allows administrators to create managed developer environments in the cloud. rules: - selector: google.cloud.location.Locations.GetLocation description: Gets information about a location. @@ -108,20 +109,16 @@ authentication: https://www.googleapis.com/auth/cloud-platform publishing: - organization: CLOUD - new_issue_uri: 'https://issuetracker.google.com/issues/new?component=1328344' - documentation_uri: 'https://cloud.google.com/workstations/docs' - api_short_name: 'workstations' + new_issue_uri: https://issuetracker.google.com/issues/new?component=1328344 + documentation_uri: https://cloud.google.com/workstations/docs + api_short_name: workstations github_label: 'api: workstations' - doc_tag_prefix: 'workstations' - codeowner_github_teams: + doc_tag_prefix: workstations + organization: CLOUD library_settings: - - version: 'google.cloud.workstations.v1beta' + - version: google.cloud.workstations.v1beta launch_stage: BETA - rest_numeric_enums: false java_settings: - library_package: '' - service_class_names: common: destinations: - PACKAGE_MANAGER diff --git a/third_party/googleapis/google/container/BUILD.bazel b/third_party/googleapis/google/container/BUILD.bazel index 8755f7d36..35e7595f3 100644 --- a/third_party/googleapis/google/container/BUILD.bazel +++ b/third_party/googleapis/google/container/BUILD.bazel @@ -22,7 +22,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-container", "ruby-cloud-env-prefix=CONTAINER", - "ruby-cloud-wrapper-of=v1:0.0;v1beta1:0.0", + "ruby-cloud-wrapper-of=v1:0.33;v1beta1:0.34", "ruby-cloud-product-url=https://cloud.google.com/kubernetes-engine", "ruby-cloud-api-id=container.googleapis.com", "ruby-cloud-api-shortname=container", @@ -30,6 +30,7 @@ ruby_cloud_gapic_library( ], ruby_cloud_description = "Builds and manages container-based applications, powered by the open source Kubernetes technology.", ruby_cloud_title = "Kubernetes Engine", + transport = "grpc", ) # Open Source package. diff --git a/third_party/googleapis/google/container/README.md b/third_party/googleapis/google/container/README.md deleted file mode 100644 index 8b1378917..000000000 --- a/third_party/googleapis/google/container/README.md +++ /dev/null @@ -1 +0,0 @@ - diff --git a/third_party/googleapis/google/container/v1/BUILD.bazel b/third_party/googleapis/google/container/v1/BUILD.bazel index f50fd672a..ff48d30ad 100644 --- a/third_party/googleapis/google/container/v1/BUILD.bazel +++ b/third_party/googleapis/google/container/v1/BUILD.bazel @@ -24,7 +24,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -34,7 +33,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -128,7 +126,7 @@ java_gapic_assembly_gradle_pkg( go_proto_library( name = "container_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/container/v1", + importpath = "cloud.google.com/go/container/apiv1/containerpb", protos = [":container_proto"], deps = [ "//google/api:annotations_go_proto", @@ -143,6 +141,7 @@ go_gapic_library( grpc_service_config = "container_grpc_service_config.json", importpath = "cloud.google.com/go/container/apiv1;container", metadata = True, + release_level = "ga", rest_numeric_enums = True, service_yaml = "container_v1.yaml", transport = "grpc", @@ -151,19 +150,13 @@ go_gapic_library( ], ) -go_test( - name = "container_go_gapic_test", - srcs = [":container_go_gapic_srcjar_test"], - embed = [":container_go_gapic"], - importpath = "cloud.google.com/go/container/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-container-v1-go", deps = [ ":container_go_gapic", ":container_go_gapic_srcjar-metadata.srcjar", + ":container_go_gapic_srcjar-snippets.srcjar", ":container_go_gapic_srcjar-test.srcjar", ":container_go_proto", ], @@ -205,23 +198,15 @@ php_proto_library( deps = [":container_proto"], ) -php_grpc_library( - name = "container_php_grpc", - srcs = [":container_proto"], - deps = [":container_php_proto"], -) - php_gapic_library( name = "container_php_gapic", srcs = [":container_proto_with_info"], grpc_service_config = "container_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "container_v1.yaml", transport = "grpc+rest", - deps = [ - ":container_php_grpc", - ":container_php_proto", - ], + deps = [":container_php_proto"], ) # Open Source Packages @@ -229,7 +214,6 @@ php_gapic_assembly_pkg( name = "google-cloud-container-v1-php", deps = [ ":container_php_gapic", - ":container_php_grpc", ":container_php_proto", ], ) @@ -281,6 +265,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Builds and manages container-based applications, powered by the open source Kubernetes technology.", ruby_cloud_title = "Kubernetes Engine V1", service_yaml = "container_v1.yaml", + transport = "grpc", deps = [ ":container_ruby_grpc", ":container_ruby_proto", diff --git a/third_party/googleapis/google/container/v1/cluster_service.proto b/third_party/googleapis/google/container/v1/cluster_service.proto index 7c307e851..5ce0a64a7 100644 --- a/third_party/googleapis/google/container/v1/cluster_service.proto +++ b/third_party/googleapis/google/container/v1/cluster_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -28,7 +28,7 @@ import "google/rpc/code.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.Container.V1"; -option go_package = "google.golang.org/genproto/googleapis/container/v1;container"; +option go_package = "cloud.google.com/go/container/apiv1/containerpb;containerpb"; option java_multiple_files = true; option java_outer_classname = "ClusterServiceProto"; option java_package = "com.google.container.v1"; @@ -300,8 +300,6 @@ service ClusterManager { // Gets the public component of the cluster signing keys in // JSON Web Key format. - // This API is not yet intended for general use, and is not available for all - // clusters. rpc GetJSONWebKeys(GetJSONWebKeysRequest) returns (GetJSONWebKeysResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*/clusters/*}/jwks" @@ -505,6 +503,15 @@ service ClusterManager { get: "/v1/{parent=projects/*}/aggregated/usableSubnetworks" }; } + + // Checks the cluster compatibility with Autopilot mode, and returns a list of + // compatibility issues. + rpc CheckAutopilotCompatibility(CheckAutopilotCompatibilityRequest) + returns (CheckAutopilotCompatibilityResponse) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*/clusters/*}:checkAutopilotCompatibility" + }; + } } // Parameters that can be configured on Linux nodes. @@ -606,6 +613,9 @@ message NodeKubeletConfig { // Controls the maximum number of processes allowed to run in a pod. The value // must be greater than or equal to 1024 and less than 4194304. int64 pod_pids_limit = 4; + + // Enable or disable Kubelet read only port. + optional bool insecure_kubelet_readonly_port_enabled = 7; } // Parameters that describe the nodes in a cluster. @@ -816,6 +826,12 @@ message NodeConfig { // Parameters for the node ephemeral storage using Local SSDs. // If unspecified, ephemeral storage is backed by the boot disk. EphemeralStorageLocalSsdConfig ephemeral_storage_local_ssd_config = 41; + + // Parameters for node pools to be backed by shared sole tenant node groups. + SoleTenantConfig sole_tenant_config = 42; + + // A map of resource manager tag keys and values to be attached to the nodes. + ResourceManagerTags resource_manager_tags = 45; } // Specifies options for controlling advanced machine features. @@ -891,6 +907,58 @@ message NodeNetworkConfig { // Network bandwidth tier configuration. optional NetworkPerformanceConfig network_performance_config = 11; + + // [PRIVATE FIELD] + // Pod CIDR size overprovisioning config for the nodepool. + // + // Pod CIDR size per node depends on max_pods_per_node. By default, the value + // of max_pods_per_node is rounded off to next power of 2 and we then double + // that to get the size of pod CIDR block per node. + // Example: max_pods_per_node of 30 would result in 64 IPs (/26). + // + // This config can disable the doubling of IPs (we still round off to next + // power of 2) + // Example: max_pods_per_node of 30 will result in 32 IPs (/27) when + // overprovisioning is disabled. + PodCIDROverprovisionConfig pod_cidr_overprovision_config = 13; + + // We specify the additional node networks for this node pool using this list. + // Each node network corresponds to an additional interface + repeated AdditionalNodeNetworkConfig additional_node_network_configs = 14; + + // We specify the additional pod networks for this node pool using this list. + // Each pod network corresponds to an additional alias IP range for the node + repeated AdditionalPodNetworkConfig additional_pod_network_configs = 15; + + // Output only. [Output only] The utilization of the IPv4 range for the pod. + // The ratio is Usage/[Total number of IPs in the secondary range], + // Usage=numNodes*numZones*podIPsPerNode. + double pod_ipv4_range_utilization = 16 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// AdditionalNodeNetworkConfig is the configuration for additional node networks +// within the NodeNetworkConfig message +message AdditionalNodeNetworkConfig { + // Name of the VPC where the additional interface belongs + string network = 1; + + // Name of the subnetwork where the additional interface belongs + string subnetwork = 2; +} + +// AdditionalPodNetworkConfig is the configuration for additional pod networks +// within the NodeNetworkConfig message +message AdditionalPodNetworkConfig { + // Name of the subnetwork where the additional pod network belongs + string subnetwork = 1; + + // The name of the secondary range on the subnet which provides IP address for + // this pod range + string secondary_pod_range = 2; + + // The maximum number of pods per node which use this pod network + optional MaxPodsConstraint max_pods_per_node = 3; } // A set of Shielded Instance options. @@ -966,6 +1034,40 @@ message ReservationAffinity { repeated string values = 3; } +// SoleTenantConfig contains the NodeAffinities to specify what shared sole +// tenant node groups should back the node pool. +message SoleTenantConfig { + // Specifies the NodeAffinity key, values, and affinity operator according to + // [shared sole tenant node group + // affinities](https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes#node_affinity_and_anti-affinity). + message NodeAffinity { + // Operator allows user to specify affinity or anti-affinity for the + // given key values. + enum Operator { + // Invalid or unspecified affinity operator. + OPERATOR_UNSPECIFIED = 0; + + // Affinity operator. + IN = 1; + + // Anti-affinity operator. + NOT_IN = 2; + } + + // Key for NodeAffinity. + string key = 1; + + // Operator for NodeAffinity. + Operator operator = 2; + + // Values for NodeAffinity. + repeated string values = 3; + } + + // NodeAffinities used to match to a shared sole tenant node group. + repeated NodeAffinity node_affinities = 1; +} + // Kubernetes taint is composed of three fields: key, value, and effect. Effect // can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. // @@ -1118,6 +1220,13 @@ message AddonsConfig { // Configuration for the Backup for GKE agent addon. GkeBackupAgentConfig gke_backup_agent_config = 16; + + // Configuration for the Cloud Storage Fuse CSI driver. + GcsFuseCsiDriverConfig gcs_fuse_csi_driver_config = 17; + + // Optional. Configuration for the StatefulHA add-on. + StatefulHAConfig stateful_ha_config = 18 + [(google.api.field_behavior) = OPTIONAL]; } // Configuration options for the HTTP (L7) load balancing controller addon, @@ -1248,12 +1357,24 @@ message GcpFilestoreCsiDriverConfig { bool enabled = 1; } +// Configuration for the Cloud Storage Fuse CSI driver. +message GcsFuseCsiDriverConfig { + // Whether the Cloud Storage Fuse CSI driver is enabled for this cluster. + bool enabled = 1; +} + // Configuration for the Backup for GKE Agent. message GkeBackupAgentConfig { // Whether the Backup for GKE agent is enabled for this cluster. bool enabled = 1; } +// Configuration for the Stateful HA add-on. +message StatefulHAConfig { + // Whether the Stateful HA add-on is enabled for this cluster. + bool enabled = 1; +} + // Configuration options for the master authorized networks feature. Enabled // master authorized networks will disallow all external traffic to access // Kubernetes master through HTTPS except traffic from the given CIDR blocks, @@ -1334,6 +1455,14 @@ message BinaryAuthorization { EvaluationMode evaluation_mode = 2; } +// [PRIVATE FIELD] +// Config for pod CIDR size overprovisioning. +message PodCIDROverprovisionConfig { + // Whether Pod CIDR overprovisioning is disabled. + // Note: Pod CIDR overprovisioning is enabled by default. + bool disable = 1; +} + // Configuration for controlling how IPs are allocated in the cluster. message IPAllocationPolicy { // Whether alias IPs will be used for pod IPs in the cluster. @@ -1458,6 +1587,20 @@ message IPAllocationPolicy { // The ipv6 access type (internal or external) when create_subnetwork is true IPv6AccessType ipv6_access_type = 17; + // [PRIVATE FIELD] + // Pod CIDR size overprovisioning config for the cluster. + // + // Pod CIDR size per node depends on max_pods_per_node. By default, the value + // of max_pods_per_node is doubled and then rounded off to next power of 2 to + // get the size of pod CIDR block per node. + // Example: max_pods_per_node of 30 would result in 64 IPs (/26). + // + // This config can disable the doubling of IPs (we still round off to next + // power of 2) + // Example: max_pods_per_node of 30 will result in 32 IPs (/27) when + // overprovisioning is disabled. + PodCIDROverprovisionConfig pod_cidr_overprovision_config = 21; + // Output only. [Output only] The subnet's IPv6 CIDR block used by nodes and // pods. string subnet_ipv6_cidr_block = 22 @@ -1466,6 +1609,19 @@ message IPAllocationPolicy { // Output only. [Output only] The services IPv6 CIDR block for the cluster. string services_ipv6_cidr_block = 23 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. [Output only] The additional pod ranges that are added to the + // cluster. These pod ranges can be used by new node pools to allocate pod IPs + // automatically. Once the range is removed it will not show up in + // IPAllocationPolicy. + AdditionalPodRangesConfig additional_pod_ranges_config = 24 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. [Output only] The utilization of the cluster default IPv4 + // range for the pod. The ratio is Usage/[Total number of IPs in the secondary + // range], Usage=numNodes*numZones*podIPsPerNode. + double default_pod_ipv4_range_utilization = 25 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // A Google Kubernetes Engine cluster. @@ -1670,7 +1826,12 @@ message Cluster { // Shielded Nodes configuration. ShieldedNodes shielded_nodes = 40; - // Release channel configuration. + // Release channel configuration. If left unspecified on cluster creation and + // a version is specified, the cluster is enrolled in the most mature release + // channel where the version is available (first checking STABLE, then + // REGULAR, and finally RAPID). Otherwise, if no release channel + // configuration and no version is specified, the cluster is enrolled in the + // REGULAR channel with its default version. ReleaseChannel release_channel = 41; // Configuration for the use of Kubernetes Service Accounts in GCP IAM @@ -1813,6 +1974,62 @@ message Cluster { // fields, and may be sent on update requests to ensure the client has an // up-to-date value before proceeding. string etag = 139; + + // Fleet information for the cluster. + Fleet fleet = 140; + + // Enable/Disable Security Posture API features for the cluster. + SecurityPostureConfig security_posture_config = 145; + + // Beta APIs Config + K8sBetaAPIConfig enable_k8s_beta_apis = 143; + + // GKE Enterprise Configuration. + EnterpriseConfig enterprise_config = 149; +} + +// K8sBetaAPIConfig , configuration for beta APIs +message K8sBetaAPIConfig { + // Enabled k8s beta APIs. + repeated string enabled_apis = 1; +} + +// SecurityPostureConfig defines the flags needed to enable/disable features for +// the Security Posture API. +message SecurityPostureConfig { + // Mode defines enablement mode for GKE Security posture features. + enum Mode { + // Default value not specified. + MODE_UNSPECIFIED = 0; + + // Disables Security Posture features on the cluster. + DISABLED = 1; + + // Applies Security Posture features on the cluster. + BASIC = 2; + } + + // VulnerabilityMode defines enablement mode for vulnerability scanning. + enum VulnerabilityMode { + // Default value not specified. + VULNERABILITY_MODE_UNSPECIFIED = 0; + + // Disables vulnerability scanning on the cluster. + VULNERABILITY_DISABLED = 1; + + // Applies basic vulnerability scanning on the cluster. + VULNERABILITY_BASIC = 2; + + // Applies the Security Posture's vulnerability on cluster Enterprise level + // features. + VULNERABILITY_ENTERPRISE = 3; + } + + // Sets which mode to use for Security Posture features. + optional Mode mode = 1; + + // Sets which mode to use for vulnerability scanning. + optional VulnerabilityMode vulnerability_mode = 2; } // Node pool configs that apply to all auto-provisioned node pools @@ -1823,6 +2040,10 @@ message NodePoolAutoConfig { // the client during cluster creation. Each tag within the list // must comply with RFC1035. NetworkTags network_tags = 1; + + // Resource manager tag keys and values to be attached to the nodes + // for managing Compute Engine firewalls using Network Firewall Policies. + ResourceManagerTags resource_manager_tags = 2; } // Subset of Nodepool message that has defaults. @@ -2019,10 +2240,68 @@ message ClusterUpdate { // The desired node pool logging configuration defaults for the cluster. NodePoolLoggingConfig desired_node_pool_logging_config = 116; + // The desired fleet configuration for the cluster. + Fleet desired_fleet = 117; + // The desired stack type of the cluster. // If a stack type is provided and does not match the current stack type of // the cluster, update will attempt to change the stack type to the new type. StackType desired_stack_type = 119; + + // The additional pod ranges to be added to the cluster. These pod ranges + // can be used by node pools to allocate pod IPs. + AdditionalPodRangesConfig additional_pod_ranges_config = 120; + + // The additional pod ranges that are to be removed from the cluster. + // The pod ranges specified here must have been specified earlier in the + // 'additional_pod_ranges_config' argument. + AdditionalPodRangesConfig removed_additional_pod_ranges_config = 121; + + // Kubernetes open source beta apis enabled on the cluster. Only beta apis + K8sBetaAPIConfig enable_k8s_beta_apis = 122; + + // Enable/Disable Security Posture API features for the cluster. + SecurityPostureConfig desired_security_posture_config = 124; + + // The desired network performance config. + NetworkConfig.ClusterNetworkPerformanceConfig + desired_network_performance_config = 125; + + // Enable/Disable FQDN Network Policy for the cluster. + optional bool desired_enable_fqdn_network_policy = 126; + + // The desired workload policy configuration for the autopilot cluster. + WorkloadPolicyConfig desired_autopilot_workload_policy_config = 128; + + // Desired Beta APIs to be enabled for cluster. + K8sBetaAPIConfig desired_k8s_beta_apis = 131; + + // The desired resource manager tags that apply to all auto-provisioned node + // pools in autopilot clusters and node auto-provisioning enabled clusters. + ResourceManagerTags desired_node_pool_auto_config_resource_manager_tags = 136; + + // Specify the details of in-transit encryption. + optional InTransitEncryptionConfig desired_in_transit_encryption_config = 137; +} + +// AdditionalPodRangesConfig is the configuration for additional pod secondary +// ranges supporting the ClusterUpdate message. +message AdditionalPodRangesConfig { + // Name for pod secondary ipv4 range which has the actual range defined ahead. + repeated string pod_range_names = 1; + + // Output only. [Output only] Information for additional pod range. + repeated RangeInfo pod_range_info = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// RangeInfo contains the range name and the range utilization by this cluster. +message RangeInfo { + // Output only. [Output only] Name of a range. + string range_name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. [Output only] The utilization of the range. + double utilization = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; } // This operation resource represents operations that may have happened or are @@ -2046,58 +2325,129 @@ message Operation { ABORTING = 4; } - // Operation type. + // Operation type categorizes the operation. enum Type { // Not set. TYPE_UNSPECIFIED = 0; - // Cluster create. + // The cluster is being created. The cluster should be assumed to be + // unusable until the operation finishes. + // + // In the event of the operation failing, the cluster will enter the [ERROR + // state][Cluster.Status.ERROR] and eventually be deleted. CREATE_CLUSTER = 1; - // Cluster delete. + // The cluster is being deleted. The cluster should be assumed to be + // unusable as soon as this operation starts. + // + // In the event of the operation failing, the cluster will enter the [ERROR + // state][Cluster.Status.ERROR] and the deletion will be automatically + // retried until completed. DELETE_CLUSTER = 2; - // A master upgrade. + // The [cluster + // version][google.container.v1.ClusterUpdate.desired_master_version] is + // being updated. Note that this includes "upgrades" to the same version, + // which are simply a recreation. This also includes + // [auto-upgrades](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-upgrades#upgrading_automatically). + // For more details, see [documentation on cluster + // upgrades](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-upgrades#cluster_upgrades). UPGRADE_MASTER = 3; - // A node upgrade. + // A node pool is being updated. Despite calling this an "upgrade", this + // includes most forms of updates to node pools. This also includes + // [auto-upgrades](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-upgrades). + // + // This operation sets the + // [progress][google.container.v1.Operation.progress] field and may be + // [canceled][google.container.v1.ClusterManager.CancelOperation]. + // + // The upgrade strategy depends on [node pool + // configuration](https://cloud.google.com/kubernetes-engine/docs/concepts/node-pool-upgrade-strategies). + // The nodes are generally still usable during this operation. UPGRADE_NODES = 4; - // Cluster repair. + // A problem has been detected with the control plane and is being repaired. + // This operation type is initiated by GKE. For more details, see + // [documentation on + // repairs](https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions#repairs). REPAIR_CLUSTER = 5; - // Cluster update. + // The cluster is being updated. This is a broad category of operations and + // includes operations that only change metadata as well as those that must + // recreate the entire cluster. If the control plane must be recreated, this + // will cause temporary downtime for zonal clusters. + // + // Some features require recreating the nodes as well. Those will be + // recreated as separate operations and the update may not be completely + // functional until the node pools recreations finish. Node recreations will + // generally follow [maintenance + // policies](https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions). + // + // Some GKE-initiated operations use this type. This includes certain types + // of auto-upgrades and incident mitigations. UPDATE_CLUSTER = 6; - // Node pool create. + // A node pool is being created. The node pool should be assumed to be + // unusable until this operation finishes. In the event of an error, the + // node pool may be partially created. + // + // If enabled, [node + // autoprovisioning](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-provisioning) + // may have automatically initiated such operations. CREATE_NODE_POOL = 7; - // Node pool delete. + // The node pool is being deleted. The node pool should be assumed to be + // unusable as soon as this operation starts. DELETE_NODE_POOL = 8; - // Set node pool management. + // The node pool's [manamagent][google.container.v1.NodePool.management] + // field is being updated. These operations only update metadata and may be + // concurrent with most other operations. SET_NODE_POOL_MANAGEMENT = 9; - // Automatic node pool repair. + // A problem has been detected with nodes and [they are being + // repaired](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-repair). + // This operation type is initiated by GKE, typically automatically. This + // operation may be concurrent with other operations and there may be + // multiple repairs occurring on the same node pool. AUTO_REPAIR_NODES = 10; - // Automatic node upgrade. - AUTO_UPGRADE_NODES = 11; + // Unused. Automatic node upgrade uses + // [UPGRADE_NODES][google.container.v1.Operation.Type.UPGRADE_NODES]. + AUTO_UPGRADE_NODES = 11 [deprecated = true]; - // Set labels. - SET_LABELS = 12; + // Unused. Updating labels uses + // [UPDATE_CLUSTER][google.container.v1.Operation.Type.UPDATE_CLUSTER]. + SET_LABELS = 12 [deprecated = true]; - // Set/generate master auth materials - SET_MASTER_AUTH = 13; + // Unused. Updating master auth uses + // [UPDATE_CLUSTER][google.container.v1.Operation.Type.UPDATE_CLUSTER]. + SET_MASTER_AUTH = 13 [deprecated = true]; - // Set node pool size. + // The node pool is being resized. With the exception of resizing to or from + // size zero, the node pool is generally usable during this operation. SET_NODE_POOL_SIZE = 14; - // Updates network policy for a cluster. - SET_NETWORK_POLICY = 15; - - // Set the maintenance policy. - SET_MAINTENANCE_POLICY = 16; + // Unused. Updating network policy uses + // [UPDATE_CLUSTER][google.container.v1.Operation.Type.UPDATE_CLUSTER]. + SET_NETWORK_POLICY = 15 [deprecated = true]; + + // Unused. Updating maintenance policy uses + // [UPDATE_CLUSTER][google.container.v1.Operation.Type.UPDATE_CLUSTER]. + SET_MAINTENANCE_POLICY = 16 [deprecated = true]; + + // The control plane is being resized. This operation type is initiated by + // GKE. These operations are often performed preemptively to ensure that the + // control plane has sufficient resources and is not typically an indication + // of issues. For more details, see + // [documentation on + // resizes](https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions#repairs). + RESIZE_CLUSTER = 18; + + // Fleet features of GKE Enterprise are being upgraded. The cluster should + // be assumed to be blocked for other upgrades until the operation finishes. + FLEET_FEATURE_UPGRADE = 19; } // The server-assigned ID for the operation. @@ -2122,10 +2472,25 @@ message Operation { string status_message = 5 [deprecated = true, (google.api.field_behavior) = OUTPUT_ONLY]; - // Server-defined URL for the resource. + // Server-defined URI for the operation. Example: + // `https://container.googleapis.com/v1alpha1/projects/123/locations/us-central1/operations/operation-123`. string self_link = 6; - // Server-defined URL for the target of the operation. + // Server-defined URI for the target of the operation. The format of this is a + // URI to the resource being modified (such as a cluster, node pool, or node). + // For node pool repairs, there may be multiple nodes being repaired, but only + // one will be the target. + // + // Examples: + // + // - + // ## + // `https://container.googleapis.com/v1/projects/123/locations/us-central1/clusters/my-cluster` + // + // ## + // `https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np` + // + // `https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np/node/my-node` string target_link = 7; // [Output only] The name of the Google Compute Engine @@ -2375,6 +2740,29 @@ message UpdateNodePoolRequest { // Parameters that can be configured on Windows nodes. WindowsNodeConfig windows_node_config = 34; + + // Optional. The desired [Google Compute Engine machine + // type](https://cloud.google.com/compute/docs/machine-types) for nodes in the + // node pool. Initiates an upgrade operation that migrates the nodes in the + // node pool to the specified machine type. + string machine_type = 36 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The desired disk type (e.g. 'pd-standard', 'pd-ssd' or + // 'pd-balanced') for nodes in the node pool. + // Initiates an upgrade operation that migrates the nodes in the + // node pool to the specified disk type. + string disk_type = 37 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The desired disk size for nodes in the node pool specified in GB. + // The smallest allowed disk size is 10GB. + // Initiates an upgrade operation that migrates the nodes in the + // node pool to the specified disk size. + int64 disk_size_gb = 38 [(google.api.field_behavior) = OPTIONAL]; + + // Desired resource manager tag keys and values to be attached to the nodes + // for managing Compute Engine firewalls using Network Firewall Policies. + // Existing tags will be replaced with new values. + ResourceManagerTags resource_manager_tags = 39; } // SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool. @@ -3094,6 +3482,23 @@ message NodePool { // The type of placement. Type type = 1; + + // Optional. TPU placement topology for pod slice node pool. + // https://cloud.google.com/tpu/docs/types-topologies#tpu_topologies + string tpu_topology = 2 [(google.api.field_behavior) = OPTIONAL]; + + // If set, refers to the name of a custom resource policy supplied by the + // user. The resource policy must be in the same project and region as the + // node pool. If not found, InvalidArgument error is returned. + string policy_name = 3; + } + + // QueuedProvisioning defines the queued provisioning used by the node pool. + message QueuedProvisioning { + // Denotes that this nodepool is QRM specific, meaning nodes can be only + // obtained through queuing via the Cluster Autoscaler ProvisioningRequest + // API. + bool enabled = 1; } // The name of the node pool. @@ -3178,6 +3583,12 @@ message NodePool { // fields, and may be sent on update requests to ensure the client has an // up-to-date value before proceeding. string etag = 110; + + // Specifies the configuration of queued provisioning. + QueuedProvisioning queued_provisioning = 112; + + // Enable best effort provisioning for nodes + BestEffortProvisioning best_effort_provisioning = 113; } // NodeManagement defines the set of node management services turned on for the @@ -3198,6 +3609,19 @@ message NodeManagement { AutoUpgradeOptions upgrade_options = 10; } +// Best effort provisioning. +message BestEffortProvisioning { + // When this is enabled, cluster/node pool creations will ignore non-fatal + // errors like stockout to best provision as many nodes as possible right now + // and eventually bring up all target number of nodes + bool enabled = 1; + + // Minimum number of nodes to be provisioned to be considered as succeeded, + // and the rest of nodes will be provisioned gradually and eventually when + // stockout issue has been resolved. + int32 min_provision_nodes = 2; +} + // AutoUpgradeOptions defines the set of options for the user to control how // the Auto Upgrades will proceed. message AutoUpgradeOptions { @@ -3536,6 +3960,9 @@ message AutoprovisioningNodePoolDefaults { // https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for // available image types. string image_type = 10; + + // Enable or disable Kubelet read only port. + optional bool insecure_kubelet_readonly_port_enabled = 13; } // Contains information about amount of some resource in the cluster. @@ -3724,6 +4151,9 @@ message AcceleratorConfig { // The configuration for GPU sharing options. optional GPUSharingConfig gpu_sharing_config = 5; + + // The configuration for auto installation of GPU driver. + optional GPUDriverInstallationConfig gpu_driver_installation_config = 6; } // GPUSharingConfig represents the GPU sharing configuration for Hardware @@ -3745,6 +4175,28 @@ message GPUSharingConfig { optional GPUSharingStrategy gpu_sharing_strategy = 2; } +// GPUDriverInstallationConfig specifies the version of GPU driver to be auto +// installed. +message GPUDriverInstallationConfig { + // The GPU driver version to install. + enum GPUDriverVersion { + // Default value is to not install any GPU driver. + GPU_DRIVER_VERSION_UNSPECIFIED = 0; + + // Disable GPU driver auto installation and needs manual installation + INSTALLATION_DISABLED = 1; + + // "Default" GPU driver in COS and Ubuntu. + DEFAULT = 2; + + // "Latest" GPU driver in COS. + LATEST = 3; + } + + // Mode for how the GPU driver is installed. + optional GPUDriverVersion gpu_driver_version = 1; +} + // WorkloadMetadataConfig defines the metadata configuration to expose to // workloads on the node pool. message WorkloadMetadataConfig { @@ -3863,6 +4315,21 @@ message StatusCondition { // NetworkConfig reports the relative names of network & subnetwork. message NetworkConfig { + // Configuration of network bandwidth tiers + message ClusterNetworkPerformanceConfig { + // Node network tier + enum Tier { + // Default value + TIER_UNSPECIFIED = 0; + + // Higher bandwidth, actual values based on VM size. + TIER_1 = 1; + } + + // Specifies the total network bandwidth tier for NodePools in the cluster. + optional Tier total_egress_bandwidth_tier = 1; + } + // Output only. The relative name of the Google Compute Engine // [network][google.container.v1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks) // to which the cluster is connected. Example: @@ -3907,6 +4374,18 @@ message NetworkConfig { // GatewayAPIConfig contains the desired config of Gateway API on this // cluster. GatewayAPIConfig gateway_api_config = 16; + + // Whether multi-networking is enabled for this cluster. + bool enable_multi_networking = 17; + + // Network bandwidth tier configuration. + ClusterNetworkPerformanceConfig network_performance_config = 18; + + // Whether FQDN Network Policy is enabled on this cluster. + optional bool enable_fqdn_network_policy = 19; + + // Specify the details of in-transit encryption. + optional InTransitEncryptionConfig in_transit_encryption_config = 20; } // GatewayAPIConfig contains the desired config of Gateway API on this cluster. @@ -4017,6 +4496,64 @@ message GetJSONWebKeysResponse { repeated Jwk keys = 1; } +// CheckAutopilotCompatibilityRequest requests getting the blockers for the +// given operation in the cluster. +message CheckAutopilotCompatibilityRequest { + // The name (project, location, cluster) of the cluster to retrieve. + // Specified in the format `projects/*/locations/*/clusters/*`. + string name = 1; +} + +// AutopilotCompatibilityIssue contains information about a specific +// compatibility issue with Autopilot mode. +message AutopilotCompatibilityIssue { + // The type of the reported issue. + enum IssueType { + // Default value, should not be used. + UNSPECIFIED = 0; + + // Indicates that the issue is a known incompatibility between the + // cluster and Autopilot mode. + INCOMPATIBILITY = 1; + + // Indicates the issue is an incompatibility if customers take no further + // action to resolve. + ADDITIONAL_CONFIG_REQUIRED = 2; + + // Indicates the issue is not an incompatibility, but depending on the + // workloads business logic, there is a potential that they won't work on + // Autopilot. + PASSED_WITH_OPTIONAL_CONFIG = 3; + } + + // The last time when this issue was observed. + google.protobuf.Timestamp last_observation = 1; + + // The constraint type of the issue. + string constraint_type = 2; + + // The incompatibility type of this issue. + IssueType incompatibility_type = 3; + + // The name of the resources which are subject to this issue. + repeated string subjects = 4; + + // A URL to a public documnetation, which addresses resolving this issue. + string documentation_url = 5; + + // The description of the issue. + string description = 6; +} + +// CheckAutopilotCompatibilityResponse has a list of compatibility issues. +message CheckAutopilotCompatibilityResponse { + // The list of issues for the given operation. + repeated AutopilotCompatibilityIssue issues = 1; + + // The summary of the autopilot compatibility response. + string summary = 2; +} + // ReleaseChannel indicates which release channel a cluster is // subscribed to. Release channels are arranged in order of risk. // @@ -4083,6 +4620,9 @@ message DNSConfig { // Use CloudDNS for DNS resolution. CLOUD_DNS = 2; + + // Use KubeDNS for DNS resolution. + KUBE_DNS = 3; } // DNSScope lists the various scopes of access to cluster DNS records. @@ -4156,12 +4696,12 @@ message DatabaseEncryption { DECRYPTED = 2; } - // Denotes the state of etcd encryption. - State state = 2; - // Name of CloudKMS key to use for the encryption of secrets in etcd. // Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key string key_name = 1; + + // The desired state of etcd encryption. + State state = 2; } // ListUsableSubnetworksRequest requests the list of usable subnetworks @@ -4211,8 +4751,9 @@ message UsableSubnetworkSecondaryRange { // UNUSED denotes that this range is unclaimed by any cluster. UNUSED = 1; - // IN_USE_SERVICE denotes that this range is claimed by a cluster for - // services. It cannot be used for other clusters. + // IN_USE_SERVICE denotes that this range is claimed by cluster(s) for + // services. User-managed services range can be shared between clusters + // within the same subnetwork. IN_USE_SERVICE = 2; // IN_USE_SHAREABLE_POD denotes this range was created by the network admin @@ -4491,6 +5032,16 @@ message SecurityBulletinEvent { message Autopilot { // Enable Autopilot bool enabled = 1; + + // Workload policy configuration for Autopilot. + WorkloadPolicyConfig workload_policy_config = 2; +} + +// WorkloadPolicyConfig is the configuration of workload policy for autopilot +// clusters. +message WorkloadPolicyConfig { + // If true, workloads can use NET_ADMIN capability. + optional bool allow_net_admin = 1; } // LoggingConfig is cluster logging configuration. @@ -4534,6 +5085,38 @@ message MonitoringConfig { // Enable Google Cloud Managed Service for Prometheus // in the cluster. ManagedPrometheusConfig managed_prometheus_config = 2; + + // Configuration of Advanced Datapath Observability features. + AdvancedDatapathObservabilityConfig advanced_datapath_observability_config = + 3; +} + +// AdvancedDatapathObservabilityConfig specifies configuration of observability +// features of advanced datapath. +message AdvancedDatapathObservabilityConfig { + // Supported Relay modes + enum RelayMode { + // Default value. This shouldn't be used. + RELAY_MODE_UNSPECIFIED = 0; + + // disabled + DISABLED = 1; + + // exposed via internal load balancer + INTERNAL_VPC_LB = 3; + + // exposed via external load balancer + EXTERNAL_LB = 4; + } + + // Expose flow metrics on nodes + bool enable_metrics = 1; + + // Method used to make Relay available + RelayMode relay_mode = 2; + + // Enable Relay component + optional bool enable_relay = 3; } // NodePoolLoggingConfig specifies logging configuration for nodepools. @@ -4578,6 +5161,24 @@ message MonitoringComponentConfig { // kube-controller-manager CONTROLLER_MANAGER = 5; + + // Storage + STORAGE = 7; + + // Horizontal Pod Autoscaling + HPA = 8; + + // Pod + POD = 9; + + // DaemonSet + DAEMONSET = 10; + + // Deployment + DEPLOYMENT = 11; + + // Statefulset + STATEFULSET = 12; } // Select components to collect metrics. An empty set would disable all @@ -4622,6 +5223,23 @@ message ManagedPrometheusConfig { bool enabled = 1; } +// Fleet is the fleet configuration for the cluster. +message Fleet { + // The Fleet host project(project ID or project number) where this cluster + // will be registered to. This field cannot be changed after the cluster has + // been registered. + string project = 1; + + // [Output only] The full resource name of the registered fleet membership of + // the cluster, in the format + // `//gkehub.googleapis.com/projects/*/locations/*/memberships/*`. + string membership = 2; + + // [Output only] Whether the cluster has been registered through the fleet + // API. + bool pre_registered = 3; +} + // Possible values for IP stack type enum StackType { // Default value, will be defaulted as IPV4 only @@ -4647,27 +5265,93 @@ enum IPv6AccessType { } // LocalNvmeSsdBlockConfig contains configuration for using raw-block local -// NVMe SSD. +// NVMe SSDs message LocalNvmeSsdBlockConfig { - // The number of raw-block local NVMe SSD disks to be attached to the node. - // Each local SSD is 375 GB in size. If zero, it means no raw-block local NVMe - // SSD disks to be attached to the node. - // The limit for this value is dependent upon the maximum number of - // disks available on a machine per zone. See: + // Number of local NVMe SSDs to use. The limit for this value is dependent + // upon the maximum number of disk available on a machine per zone. See: // https://cloud.google.com/compute/docs/disks/local-ssd // for more information. + // + // A zero (or unset) value has different meanings depending on machine type + // being used: + // 1. For pre-Gen3 machines, which support flexible numbers of local ssds, + // zero (or unset) means to disable using local SSDs as ephemeral storage. + // 2. For Gen3 machines which dictate a specific number of local ssds, zero + // (or unset) means to use the default number of local ssds that goes with + // that machine type. For example, for a c3-standard-8-lssd machine, 2 local + // ssds would be provisioned. For c3-standard-8 (which doesn't support local + // ssds), 0 will be provisioned. See + // https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds + // for more info. int32 local_ssd_count = 1; } // EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral -// storage using Local SSD. +// storage using Local SSDs. message EphemeralStorageLocalSsdConfig { // Number of local SSDs to use to back ephemeral storage. Uses NVMe - // interfaces. Each local SSD is 375 GB in size. - // If zero, it means to disable using local SSDs as ephemeral storage. - // The limit for this value is dependent upon the maximum number of - // disks available on a machine per zone. See: + // interfaces. + // + // A zero (or unset) value has different meanings depending on machine type + // being used: + // 1. For pre-Gen3 machines, which support flexible numbers of local ssds, + // zero (or unset) means to disable using local SSDs as ephemeral storage. The + // limit for this value is dependent upon the maximum number of disk + // available on a machine per zone. See: // https://cloud.google.com/compute/docs/disks/local-ssd // for more information. + // 2. For Gen3 machines which dictate a specific number of local ssds, zero + // (or unset) means to use the default number of local ssds that goes with + // that machine type. For example, for a c3-standard-8-lssd machine, 2 local + // ssds would be provisioned. For c3-standard-8 (which doesn't support local + // ssds), 0 will be provisioned. See + // https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds + // for more info. int32 local_ssd_count = 1; } + +// A map of resource manager tag keys and values to be attached to the nodes +// for managing Compute Engine firewalls using Network Firewall Policies. +// Tags must be according to specifications in +// https://cloud.google.com/vpc/docs/tags-firewalls-overview#specifications. +// A maximum of 5 tag key-value pairs can be specified. +// Existing tags will be replaced with new values. +message ResourceManagerTags { + // TagKeyValue must be in one of the following formats ([KEY]=[VALUE]) + // 1. `tagKeys/{tag_key_id}=tagValues/{tag_value_id}` + // 2. `{org_id}/{tag_key_name}={tag_value_name}` + // 3. `{project_id}/{tag_key_name}={tag_value_name}` + map tags = 1; +} + +// EnterpriseConfig is the cluster enterprise configuration. +message EnterpriseConfig { + // Premium tiers for GKE Cluster. + enum ClusterTier { + // CLUSTER_TIER_UNSPECIFIED is when cluster_tier is not set. + CLUSTER_TIER_UNSPECIFIED = 0; + + // STANDARD indicates a standard GKE cluster. + STANDARD = 1; + + // ENTERPRISE indicates a GKE Enterprise cluster. + ENTERPRISE = 2; + } + + // Output only. [Output only] cluster_tier specifies the premium tier of the + // cluster. + ClusterTier cluster_tier = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// Options for in-transit encryption. +enum InTransitEncryptionConfig { + // Unspecified, will be inferred as default - + // IN_TRANSIT_ENCRYPTION_UNSPECIFIED. + IN_TRANSIT_ENCRYPTION_CONFIG_UNSPECIFIED = 0; + + // In-transit encryption is disabled. + IN_TRANSIT_ENCRYPTION_DISABLED = 1; + + // Data in-transit is encrypted using inter-node transparent encryption. + IN_TRANSIT_ENCRYPTION_INTER_NODE_TRANSPARENT = 2; +} diff --git a/third_party/googleapis/google/container/v1/container_v1.yaml b/third_party/googleapis/google/container/v1/container_v1.yaml index ec030f026..a667385eb 100644 --- a/third_party/googleapis/google/container/v1/container_v1.yaml +++ b/third_party/googleapis/google/container/v1/container_v1.yaml @@ -21,26 +21,9 @@ documentation: Builds and manages container-based applications, powered by the open source Kubernetes technology. -backend: - rules: - - selector: 'google.container.v1.ClusterManager.*' - deadline: 20.0 - - selector: google.container.v1.ClusterManager.CreateCluster - deadline: 120.0 - authentication: rules: - selector: 'google.container.v1.ClusterManager.*' oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform - -publishing: - organization: CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED - new_issue_uri: '' - documentation_uri: '' - api_short_name: '' - github_label: '' - doc_tag_prefix: '' - codeowner_github_teams: - library_settings: diff --git a/third_party/googleapis/google/container/v1alpha1/BUILD.bazel b/third_party/googleapis/google/container/v1alpha1/BUILD.bazel index 30c136a57..bbb603d78 100644 --- a/third_party/googleapis/google/container/v1alpha1/BUILD.bazel +++ b/third_party/googleapis/google/container/v1alpha1/BUILD.bazel @@ -92,7 +92,6 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -101,20 +100,9 @@ php_proto_library( deps = [":container_proto"], ) -php_grpc_library( - name = "container_php_grpc", - srcs = [":container_proto"], - deps = [":container_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) ############################################################################## # Ruby diff --git a/third_party/googleapis/google/container/v1beta1/BUILD.bazel b/third_party/googleapis/google/container/v1beta1/BUILD.bazel index 4b17163c2..7abf75746 100644 --- a/third_party/googleapis/google/container/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/container/v1beta1/BUILD.bazel @@ -24,7 +24,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -34,7 +33,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -129,7 +127,7 @@ java_gapic_assembly_gradle_pkg( go_proto_library( name = "container_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/container/v1beta1", + importpath = "cloud.google.com/go/container/apiv1beta1/containerpb", protos = [":container_proto"], deps = [ "//google/api:annotations_go_proto", @@ -153,19 +151,13 @@ go_gapic_library( ], ) -go_test( - name = "container_go_gapic_test", - srcs = [":container_go_gapic_srcjar_test"], - embed = [":container_go_gapic"], - importpath = "cloud.google.com/go/container/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-container-v1beta1-go", deps = [ ":container_go_gapic", ":container_go_gapic_srcjar-metadata.srcjar", + ":container_go_gapic_srcjar-snippets.srcjar", ":container_go_gapic_srcjar-test.srcjar", ":container_go_proto", ], @@ -207,12 +199,6 @@ php_proto_library( deps = [":container_proto"], ) -php_grpc_library( - name = "container_php_grpc", - srcs = [":container_proto"], - deps = [":container_php_proto"], -) - php_gapic_library( name = "container_php_gapic", srcs = [":container_proto_with_info"], @@ -220,10 +206,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "container_v1beta1.yaml", transport = "grpc+rest", - deps = [ - ":container_php_grpc", - ":container_php_proto", - ], + deps = [":container_php_proto"], ) # Open Source Packages @@ -231,7 +214,6 @@ php_gapic_assembly_pkg( name = "google-cloud-container-v1beta1-php", deps = [ ":container_php_gapic", - ":container_php_grpc", ":container_php_proto", ], ) @@ -283,6 +265,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Builds and manages container-based applications, powered by the open source Kubernetes technology.", ruby_cloud_title = "Kubernetes Engine V1beta1", service_yaml = "container_v1beta1.yaml", + transport = "grpc", deps = [ ":container_ruby_grpc", ":container_ruby_proto", diff --git a/third_party/googleapis/google/container/v1beta1/cluster_service.proto b/third_party/googleapis/google/container/v1beta1/cluster_service.proto index 94794afb9..e32040f34 100644 --- a/third_party/googleapis/google/container/v1beta1/cluster_service.proto +++ b/third_party/googleapis/google/container/v1beta1/cluster_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -29,7 +29,7 @@ import "google/rpc/status.proto"; import "google/type/date.proto"; option csharp_namespace = "Google.Cloud.Container.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/container/v1beta1;container"; +option go_package = "cloud.google.com/go/container/apiv1beta1/containerpb;containerpb"; option java_multiple_files = true; option java_outer_classname = "ClusterServiceProto"; option java_package = "com.google.container.v1beta1"; @@ -288,8 +288,6 @@ service ClusterManager { // Gets the public component of the cluster signing keys in // JSON Web Key format. - // This API is not yet intended for general use, and is not available for all - // clusters. rpc GetJSONWebKeys(GetJSONWebKeysRequest) returns (GetJSONWebKeysResponse) { option (google.api.http) = { get: "/v1beta1/{parent=projects/*/locations/*/clusters/*}/jwks" @@ -489,6 +487,15 @@ service ClusterManager { option (google.api.method_signature) = "parent"; } + // Checks the cluster compatibility with Autopilot mode, and returns a list of + // compatibility issues. + rpc CheckAutopilotCompatibility(CheckAutopilotCompatibilityRequest) + returns (CheckAutopilotCompatibilityResponse) { + option (google.api.http) = { + get: "/v1beta1/{name=projects/*/locations/*/clusters/*}:checkAutopilotCompatibility" + }; + } + // Fetches locations that offer Google Kubernetes Engine. rpc ListLocations(ListLocationsRequest) returns (ListLocationsResponse) { option (google.api.http) = { @@ -597,6 +604,9 @@ message NodeKubeletConfig { // Controls the maximum number of processes allowed to run in a pod. The value // must be greater than or equal to 1024 and less than 4194304. int64 pod_pids_limit = 4; + + // Enable or disable Kubelet read only port. + optional bool insecure_kubelet_readonly_port_enabled = 7; } // Parameters that describe the nodes in a cluster. @@ -707,7 +717,7 @@ message NodeConfig { // Whether the nodes are created as preemptible VM instances. See: // https://cloud.google.com/compute/docs/instances/preemptible for more - // inforamtion about preemptible VM instances. + // information about preemptible VM instances. bool preemptible = 10; // A list of hardware accelerators to be attached to each node. @@ -813,6 +823,22 @@ message NodeConfig { // If unspecified, ephemeral storage is backed by the boot disk. // This field is functionally equivalent to the ephemeral_storage_config EphemeralStorageLocalSsdConfig ephemeral_storage_local_ssd_config = 41; + + // Parameters for node pools to be backed by shared sole tenant node groups. + SoleTenantConfig sole_tenant_config = 42; + + // HostMaintenancePolicy contains the desired maintenance policy for the + // Google Compute Engine hosts. + HostMaintenancePolicy host_maintenance_policy = 44; + + // A map of resource manager tag keys and values to be attached to the nodes. + ResourceManagerTags resource_manager_tags = 45; + + // Optional. Enable confidential storage on Hyperdisk. + // boot_disk_kms_key is required when enable_confidential_storage is true. + // This is only available for private preview. + bool enable_confidential_storage = 46 + [(google.api.field_behavior) = OPTIONAL]; } // Specifies options for controlling advanced machine features. @@ -892,6 +918,58 @@ message NodeNetworkConfig { // Network bandwidth tier configuration. optional NetworkPerformanceConfig network_performance_config = 11; + + // [PRIVATE FIELD] + // Pod CIDR size overprovisioning config for the nodepool. + // + // Pod CIDR size per node depends on max_pods_per_node. By default, the value + // of max_pods_per_node is rounded off to next power of 2 and we then double + // that to get the size of pod CIDR block per node. + // Example: max_pods_per_node of 30 would result in 64 IPs (/26). + // + // This config can disable the doubling of IPs (we still round off to next + // power of 2) + // Example: max_pods_per_node of 30 will result in 32 IPs (/27) when + // overprovisioning is disabled. + PodCIDROverprovisionConfig pod_cidr_overprovision_config = 13; + + // We specify the additional node networks for this node pool using this list. + // Each node network corresponds to an additional interface + repeated AdditionalNodeNetworkConfig additional_node_network_configs = 14; + + // We specify the additional pod networks for this node pool using this list. + // Each pod network corresponds to an additional alias IP range for the node + repeated AdditionalPodNetworkConfig additional_pod_network_configs = 15; + + // Output only. [Output only] The utilization of the IPv4 range for the pod. + // The ratio is Usage/[Total number of IPs in the secondary range], + // Usage=numNodes*numZones*podIPsPerNode. + double pod_ipv4_range_utilization = 16 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// AdditionalNodeNetworkConfig is the configuration for additional node networks +// within the NodeNetworkConfig message +message AdditionalNodeNetworkConfig { + // Name of the VPC where the additional interface belongs + string network = 1; + + // Name of the subnetwork where the additional interface belongs + string subnetwork = 2; +} + +// AdditionalPodNetworkConfig is the configuration for additional pod networks +// within the NodeNetworkConfig message +message AdditionalPodNetworkConfig { + // Name of the subnetwork where the additional pod network belongs + string subnetwork = 1; + + // The name of the secondary range on the subnet which provides IP address for + // this pod range + string secondary_pod_range = 2; + + // The maximum number of pods per node which use this pod network + optional MaxPodsConstraint max_pods_per_node = 3; } // A set of Shielded Instance options. @@ -934,21 +1012,44 @@ message SandboxConfig { // filesystem. message EphemeralStorageConfig { // Number of local SSDs to use to back ephemeral storage. Uses NVMe - // interfaces. Each local SSD is 375 GB in size. - // If zero, it means to disable using local SSDs as ephemeral storage. + // interfaces. The limit for this value is dependent upon the maximum number + // of disk available on a machine per zone. See: + // https://cloud.google.com/compute/docs/disks/local-ssd + // for more information. + // + // A zero (or unset) value has different meanings depending on machine type + // being used: + // 1. For pre-Gen3 machines, which support flexible numbers of local ssds, + // zero (or unset) means to disable using local SSDs as ephemeral storage. + // 2. For Gen3 machines which dictate a specific number of local ssds, zero + // (or unset) means to use the default number of local ssds that goes with + // that machine type. For example, for a c3-standard-8-lssd machine, 2 local + // ssds would be provisioned. For c3-standard-8 (which doesn't support local + // ssds), 0 will be provisioned. See + // https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds + // for more info. int32 local_ssd_count = 1; } // LocalNvmeSsdBlockConfig contains configuration for using raw-block local // NVMe SSDs message LocalNvmeSsdBlockConfig { - // The number of raw-block local NVMe SSD disks to be attached to the node. - // Each local SSD is 375 GB in size. If zero, it means no raw-block local NVMe - // SSD disks to be attached to the node. - // The limit for this value is dependent upon the maximum number of - // disks available on a machine per zone. See: + // Number of local NVMe SSDs to use. The limit for this value is dependent + // upon the maximum number of disk available on a machine per zone. See: // https://cloud.google.com/compute/docs/disks/local-ssd // for more information. + // + // A zero (or unset) value has different meanings depending on machine type + // being used: + // 1. For pre-Gen3 machines, which support flexible numbers of local ssds, + // zero (or unset) means to disable using local SSDs as ephemeral storage. + // 2. For Gen3 machines which dictate a specific number of local ssds, zero + // (or unset) means to use the default number of local ssds that goes with + // that machine type. For example, for a c3-standard-8-lssd machine, 2 local + // ssds would be provisioned. For c3-standard-8 (which doesn't support local + // ssds), 0 will be provisioned. See + // https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds + // for more info. int32 local_ssd_count = 1; } @@ -956,12 +1057,23 @@ message LocalNvmeSsdBlockConfig { // storage using Local SSDs. message EphemeralStorageLocalSsdConfig { // Number of local SSDs to use to back ephemeral storage. Uses NVMe - // interfaces. Each local SSD is 375 GB in size. - // If zero, it means to disable using local SSDs as ephemeral storage. - // The limit for this value is dependent upon the maximum number of - // disks available on a machine per zone. See: + // interfaces. + // + // A zero (or unset) value has different meanings depending on machine type + // being used: + // 1. For pre-Gen3 machines, which support flexible numbers of local ssds, + // zero (or unset) means to disable using local SSDs as ephemeral storage. The + // limit for this value is dependent upon the maximum number of disk + // available on a machine per zone. See: // https://cloud.google.com/compute/docs/disks/local-ssd // for more information. + // 2. For Gen3 machines which dictate a specific number of local ssds, zero + // (or unset) means to use the default number of local ssds that goes with + // that machine type. For example, for a c3-standard-8-lssd machine, 2 local + // ssds would be provisioned. For c3-standard-8 (which doesn't support local + // ssds), 0 will be provisioned. See + // https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds + // for more info. int32 local_ssd_count = 1; } @@ -1004,6 +1116,95 @@ message ReservationAffinity { repeated string values = 3; } +// SoleTenantConfig contains the NodeAffinities to specify what shared sole +// tenant node groups should back the node pool. +message SoleTenantConfig { + // Specifies the NodeAffinity key, values, and affinity operator according to + // [shared sole tenant node group + // affinities](https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes#node_affinity_and_anti-affinity). + message NodeAffinity { + // Operator allows user to specify affinity or anti-affinity for the + // given key values. + enum Operator { + // Invalid or unspecified affinity operator. + OPERATOR_UNSPECIFIED = 0; + + // Affinity operator. + IN = 1; + + // Anti-affinity operator. + NOT_IN = 2; + } + + // Key for NodeAffinity. + string key = 1; + + // Operator for NodeAffinity. + Operator operator = 2; + + // Values for NodeAffinity. + repeated string values = 3; + } + + // NodeAffinities used to match to a shared sole tenant node group. + repeated NodeAffinity node_affinities = 1; +} + +// HostMaintenancePolicy contains the maintenance policy for the hosts on which +// the GKE VMs run on. +message HostMaintenancePolicy { + // Allows selecting how infrastructure upgrades should be applied to the + // cluster or node pool. + enum MaintenanceInterval { + // The maintenance interval is not explicitly specified. + MAINTENANCE_INTERVAL_UNSPECIFIED = 0; + + // Nodes are eligible to receive infrastructure and hypervisor updates as + // they become available. This may result in more maintenance operations + // (live migrations or terminations) for the node than the PERIODIC option. + AS_NEEDED = 1; + + // Nodes receive infrastructure and hypervisor updates on a periodic basis, + // minimizing the number of maintenance operations (live migrations or + // terminations) on an individual VM. This may mean underlying VMs will + // take longer to receive an update than if it was configured for + // AS_NEEDED. Security updates will still be applied as soon + // as they are available. + PERIODIC = 2; + } + + // Strategy that will trigger maintenance on behalf of the customer. + message OpportunisticMaintenanceStrategy { + // The amount of time that a node can remain idle (no customer owned + // workloads running), before triggering maintenance. + optional google.protobuf.Duration node_idle_time_window = 1; + + // The window of time that opportunistic maintenance can run. Example: A + // setting of 14 days implies that opportunistic maintenance can only be ran + // in the 2 weeks leading up to the scheduled maintenance date. Setting 28 + // days allows opportunistic maintenance to run at any time in the scheduled + // maintenance window (all `PERIODIC` maintenance is set 28 days in + // advance). + optional google.protobuf.Duration maintenance_availability_window = 2; + + // The minimum nodes required to be available in a pool. Blocks maintenance + // if it would cause the number of running nodes to dip below this value. + optional int64 min_nodes_per_pool = 3; + } + + // Specifies the frequency of planned maintenance events. + optional MaintenanceInterval maintenance_interval = 1; + + // Set of host maintenance strategies available to the customer, all require + // the maintenance_interval to be PERIODIC. If no strategy is set, and the + // interval is periodic, customer will be expected to trigger maintenance + // manually or let maintenance trigger at its initial scheduled time. + oneof maintenance_strategy { + // Strategy that will trigger maintenance on behalf of the customer. + OpportunisticMaintenanceStrategy opportunistic_maintenance_strategy = 2; + } +} + // Kubernetes taint is composed of three fields: key, value, and effect. Effect // can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. // @@ -1164,6 +1365,13 @@ message AddonsConfig { // Configuration for the Backup for GKE agent addon. GkeBackupAgentConfig gke_backup_agent_config = 16; + + // Configuration for the Cloud Storage Fuse CSI driver. + GcsFuseCsiDriverConfig gcs_fuse_csi_driver_config = 17; + + // Optional. Configuration for the StatefulHA add-on. + StatefulHAConfig stateful_ha_config = 18 + [(google.api.field_behavior) = OPTIONAL]; } // Configuration options for the HTTP (L7) load balancing controller addon, @@ -1217,6 +1425,12 @@ message GkeBackupAgentConfig { bool enabled = 1; } +// Configuration for the Stateful HA add-on. +message StatefulHAConfig { + // Whether the Stateful HA add-on is enabled for this cluster. + bool enabled = 1; +} + // Configuration options for the Config Connector add-on. message ConfigConnectorConfig { // Whether Cloud Connector is enabled for this cluster. @@ -1235,6 +1449,12 @@ message GcpFilestoreCsiDriverConfig { bool enabled = 1; } +// Configuration for the Cloud Storage Fuse CSI driver. +message GcsFuseCsiDriverConfig { + // Whether the Cloud Storage Fuse CSI driver is enabled for this cluster. + bool enabled = 1; +} + // Configuration for controlling master global access settings. message PrivateClusterMasterGlobalAccessConfig { // Whenever master is accessible globally or not. @@ -1367,6 +1587,14 @@ message NetworkPolicy { bool enabled = 2; } +// [PRIVATE FIELD] +// Config for pod CIDR size overprovisioning. +message PodCIDROverprovisionConfig { + // Whether Pod CIDR overprovisioning is disabled. + // Note: Pod CIDR overprovisioning is enabled by default. + bool disable = 1; +} + // Configuration for controlling how IPs are allocated in the cluster. message IPAllocationPolicy { // Possible values for IP stack type @@ -1530,6 +1758,20 @@ message IPAllocationPolicy { // The ipv6 access type (internal or external) when create_subnetwork is true IPv6AccessType ipv6_access_type = 17; + // [PRIVATE FIELD] + // Pod CIDR size overprovisioning config for the cluster. + // + // Pod CIDR size per node depends on max_pods_per_node. By default, the value + // of max_pods_per_node is doubled and then rounded off to next power of 2 to + // get the size of pod CIDR block per node. + // Example: max_pods_per_node of 30 would result in 64 IPs (/26). + // + // This config can disable the doubling of IPs (we still round off to next + // power of 2) + // Example: max_pods_per_node of 30 will result in 32 IPs (/27) when + // overprovisioning is disabled. + PodCIDROverprovisionConfig pod_cidr_overprovision_config = 21; + // Output only. [Output only] The subnet's IPv6 CIDR block used by nodes and // pods. string subnet_ipv6_cidr_block = 22 @@ -1538,6 +1780,19 @@ message IPAllocationPolicy { // Output only. [Output only] The services IPv6 CIDR block for the cluster. string services_ipv6_cidr_block = 23 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. [Output only] The additional pod ranges that are added to the + // cluster. These pod ranges can be used by new node pools to allocate pod IPs + // automatically. Once the range is removed it will not show up in + // IPAllocationPolicy. + AdditionalPodRangesConfig additional_pod_ranges_config = 24 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. [Output only] The utilization of the cluster default IPv4 + // range for the pod. The ratio is Usage/[Total number of IPs in the secondary + // range], Usage=numNodes*numZones*podIPsPerNode. + double default_pod_ipv4_range_utilization = 25 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Configuration for Binary Authorization. @@ -1554,6 +1809,23 @@ message BinaryAuthorization { // project's singleton policy. This is equivalent to setting the // enabled boolean to true. PROJECT_SINGLETON_POLICY_ENFORCE = 2; + + // Use Binary Authorization Continuous Validation with the policies + // specified in policy_bindings. + POLICY_BINDINGS = 5; + + // Use Binary Authorization Continuous Validation with the policies + // specified in policy_bindings and enforce Kubernetes admission requests + // with Binary Authorization using the project's singleton policy. + POLICY_BINDINGS_AND_PROJECT_SINGLETON_POLICY_ENFORCE = 6; + } + + // Binauthz policy that applies to this cluster. + message PolicyBinding { + // The relative resource name of the binauthz platform policy to audit. GKE + // platform policies have the following format: + // `projects/{project_number}/platforms/gke/policies/{policy_id}`. + optional string name = 1; } // This field is deprecated. Leave this unset and instead configure @@ -1564,6 +1836,10 @@ message BinaryAuthorization { // Mode of operation for binauthz policy evaluation. If unspecified, defaults // to DISABLED. EvaluationMode evaluation_mode = 2; + + // Optional. Binauthz policies that apply to this cluster. + repeated PolicyBinding policy_bindings = 5 + [(google.api.field_behavior) = OPTIONAL]; } // Configuration for the PodSecurityPolicy feature. @@ -1754,6 +2030,9 @@ message Cluster { // creation. bool enable_kubernetes_alpha = 14; + // Kubernetes open source beta apis enabled on the cluster. Only beta apis. + K8sBetaAPIConfig enable_k8s_beta_apis = 143; + // The resource labels for the cluster to use to annotate any related // Google Compute Engine resources. map resource_labels = 15; @@ -1823,7 +2102,12 @@ message Cluster { // Shielded Nodes configuration. ShieldedNodes shielded_nodes = 40; - // Release channel configuration. + // Release channel configuration. If left unspecified on cluster creation and + // a version is specified, the cluster is enrolled in the most mature release + // channel where the version is available (first checking STABLE, then + // REGULAR, and finally RAPID). Otherwise, if no release channel + // configuration and no version is specified, the cluster is enrolled in the + // REGULAR channel with its default version. ReleaseChannel release_channel = 41; // Configuration for the use of Kubernetes Service Accounts in GCP IAM @@ -1982,13 +2266,29 @@ message Cluster { // in autopilot clusters and node auto-provisioning enabled clusters. NodePoolAutoConfig node_pool_auto_config = 136; + // Deprecated: Use SecurityPostureConfig instead. // Enable/Disable Protect API features for the cluster. - optional ProtectConfig protect_config = 137; + optional ProtectConfig protect_config = 137 [deprecated = true]; // This checksum is computed by the server based on the value of cluster // fields, and may be sent on update requests to ensure the client has an // up-to-date value before proceeding. string etag = 139; + + // Fleet information for the cluster. + Fleet fleet = 140; + + // Enable/Disable Security Posture API features for the cluster. + SecurityPostureConfig security_posture_config = 145; + + // GKE Enterprise Configuration. + EnterpriseConfig enterprise_config = 149; +} + +// Kubernetes open source beta apis enabled on the cluster. +message K8sBetaAPIConfig { + // api name, e.g. storage.k8s.io/v1beta1/csistoragecapacities. + repeated string enabled_apis = 1; } // WorkloadConfig defines the flags to enable or disable the @@ -2042,6 +2342,44 @@ message ProtectConfig { optional WorkloadVulnerabilityMode workload_vulnerability_mode = 2; } +// SecurityPostureConfig defines the flags needed to enable/disable features for +// the Security Posture API. +message SecurityPostureConfig { + // Mode defines enablement mode for GKE Security posture features. + enum Mode { + // Default value not specified. + MODE_UNSPECIFIED = 0; + + // Disables Security Posture features on the cluster. + DISABLED = 1; + + // Applies Security Posture features on the cluster. + BASIC = 2; + } + + // VulnerabilityMode defines enablement mode for vulnerability scanning. + enum VulnerabilityMode { + // Default value not specified. + VULNERABILITY_MODE_UNSPECIFIED = 0; + + // Disables vulnerability scanning on the cluster. + VULNERABILITY_DISABLED = 1; + + // Applies basic vulnerability scanning on the cluster. + VULNERABILITY_BASIC = 2; + + // Applies the Security Posture's vulnerability on cluster Enterprise level + // features. + VULNERABILITY_ENTERPRISE = 3; + } + + // Sets which mode to use for Security Posture features. + optional Mode mode = 1; + + // Sets which mode to use for vulnerability scanning. + optional VulnerabilityMode vulnerability_mode = 2; +} + // Subset of Nodepool message that has defaults. message NodePoolDefaults { // Subset of NodeConfig message that has defaults. @@ -2055,6 +2393,10 @@ message NodeConfigDefaults { // Logging configuration for node pools. NodePoolLoggingConfig logging_config = 3; + + // HostMaintenancePolicy contains the desired maintenance policy for the + // Google Compute Engine hosts. + HostMaintenancePolicy host_maintenance_policy = 5; } // node pool configs that apply to all auto-provisioned node pools @@ -2065,6 +2407,10 @@ message NodePoolAutoConfig { // the client during cluster creation. Each tag within the list // must comply with RFC1035. NetworkTags network_tags = 1; + + // Resource manager tag keys and values to be attached to the nodes + // for managing Compute Engine firewalls using Network Firewall Policies. + ResourceManagerTags resource_manager_tags = 2; } // ClusterUpdate describes an update to the cluster. Exactly one update can @@ -2256,8 +2602,9 @@ message ClusterUpdate { // in autopilot clusters and node auto-provisioning enabled clusters. NetworkTags desired_node_pool_auto_config_network_tags = 110; + // Deprecated: Use DesiredSecurityPostureConfig instead. // Enable/Disable Protect API features for the cluster. - optional ProtectConfig desired_protect_config = 112; + optional ProtectConfig desired_protect_config = 112 [deprecated = true]; // The desired config of Gateway API on this cluster. GatewayAPIConfig desired_gateway_api_config = 114; @@ -2270,10 +2617,72 @@ message ClusterUpdate { // The desired node pool logging configuration defaults for the cluster. NodePoolLoggingConfig desired_node_pool_logging_config = 116; + // The desired fleet configuration for the cluster. + Fleet desired_fleet = 117; + // The desired stack type of the cluster. // If a stack type is provided and does not match the current stack type of // the cluster, update will attempt to change the stack type to the new type. StackType desired_stack_type = 119; + + // The additional pod ranges to be added to the cluster. These pod ranges + // can be used by node pools to allocate pod IPs. + AdditionalPodRangesConfig additional_pod_ranges_config = 120; + + // The additional pod ranges that are to be removed from the cluster. + // The pod ranges specified here must have been specified earlier in the + // 'additional_pod_ranges_config' argument. + AdditionalPodRangesConfig removed_additional_pod_ranges_config = 121; + + // Kubernetes open source beta apis enabled on the cluster. Only beta apis + K8sBetaAPIConfig enable_k8s_beta_apis = 122; + + // Enable/Disable Security Posture API features for the cluster. + SecurityPostureConfig desired_security_posture_config = 124; + + // The desired network performance config. + NetworkConfig.ClusterNetworkPerformanceConfig + desired_network_performance_config = 125; + + // Enable/Disable FQDN Network Policy for the cluster. + optional bool desired_enable_fqdn_network_policy = 126; + + // The desired workload policy configuration for the autopilot cluster. + WorkloadPolicyConfig desired_autopilot_workload_policy_config = 128; + + // Beta APIs enabled for cluster. + K8sBetaAPIConfig desired_k8s_beta_apis = 131; + + // HostMaintenancePolicy contains the desired maintenance policy for the + // Google Compute Engine hosts. + HostMaintenancePolicy desired_host_maintenance_policy = 132; + + // The desired resource manager tags that apply to all auto-provisioned node + // pools in autopilot clusters and node auto-provisioning enabled clusters. + ResourceManagerTags desired_node_pool_auto_config_resource_manager_tags = 136; + + // Specify the details of in-transit encryption. + optional InTransitEncryptionConfig desired_in_transit_encryption_config = 137; +} + +// AdditionalPodRangesConfig is the configuration for additional pod secondary +// ranges supporting the ClusterUpdate message. +message AdditionalPodRangesConfig { + // Name for pod secondary ipv4 range which has the actual range defined ahead. + repeated string pod_range_names = 1; + + // Output only. [Output only] Information for additional pod range. + repeated RangeInfo pod_range_info = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// RangeInfo contains the range name and the range utilization by this cluster. +message RangeInfo { + // Output only. [Output only] Name of a range. + string range_name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. [Output only] The utilization of the range. + double utilization = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; } // This operation resource represents operations that may have happened or are @@ -2297,58 +2706,130 @@ message Operation { ABORTING = 4; } - // Operation type. + // Operation type categorizes the operation. enum Type { // Not set. TYPE_UNSPECIFIED = 0; - // Cluster create. + // The cluster is being created. The cluster should be assumed to be + // unusable until the operation finishes. + // + // In the event of the operation failing, the cluster will enter the [ERROR + // state][Cluster.Status.ERROR] and eventually be deleted. CREATE_CLUSTER = 1; - // Cluster delete. + // The cluster is being deleted. The cluster should be assumed to be + // unusable as soon as this operation starts. + // + // In the event of the operation failing, the cluster will enter the [ERROR + // state][Cluster.Status.ERROR] and the deletion will be automatically + // retried until completed. DELETE_CLUSTER = 2; - // A master upgrade. + // The [cluster + // version][google.container.v1beta1.ClusterUpdate.desired_master_version] + // is being updated. Note that this includes "upgrades" to the same version, + // which are simply a recreation. This also includes + // [auto-upgrades](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-upgrades#upgrading_automatically). + // For more details, see [documentation on cluster + // upgrades](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-upgrades#cluster_upgrades). UPGRADE_MASTER = 3; - // A node upgrade. + // A node pool is being updated. Despite calling this an "upgrade", this + // includes most forms of updates to node pools. This also includes + // [auto-upgrades](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-upgrades). + // + // This operation sets the + // [progress][google.container.v1beta1.Operation.progress] field and may be + // [canceled][google.container.v1beta1.ClusterManager.CancelOperation]. + // + // The upgrade strategy depends on [node pool + // configuration](https://cloud.google.com/kubernetes-engine/docs/concepts/node-pool-upgrade-strategies). + // The nodes are generally still usable during this operation. UPGRADE_NODES = 4; - // Cluster repair. + // A problem has been detected with the control plane and is being repaired. + // This operation type is initiated by GKE. For more details, see + // [documentation on + // repairs](https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions#repairs). REPAIR_CLUSTER = 5; - // Cluster update. + // The cluster is being updated. This is a broad category of operations and + // includes operations that only change metadata as well as those that must + // recreate the entire cluster. If the control plane must be recreated, this + // will cause temporary downtime for zonal clusters. + // + // Some features require recreating the nodes as well. Those will be + // recreated as separate operations and the update may not be completely + // functional until the node pools recreations finish. Node recreations will + // generally follow [maintenance + // policies](https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions). + // + // Some GKE-initiated operations use this type. This includes certain types + // of auto-upgrades and incident mitigations. UPDATE_CLUSTER = 6; - // Node pool create. + // A node pool is being created. The node pool should be assumed to be + // unusable until this operation finishes. In the event of an error, the + // node pool may be partially created. + // + // If enabled, [node + // autoprovisioning](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-provisioning) + // may have automatically initiated such operations. CREATE_NODE_POOL = 7; - // Node pool delete. + // The node pool is being deleted. The node pool should be assumed to be + // unusable as soon as this operation starts. DELETE_NODE_POOL = 8; - // Set node pool management. + // The node pool's + // [manamagent][google.container.v1beta1.NodePool.management] field is being + // updated. These operations only update metadata and may be concurrent with + // most other operations. SET_NODE_POOL_MANAGEMENT = 9; - // Automatic node pool repair. + // A problem has been detected with nodes and [they are being + // repaired](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-repair). + // This operation type is initiated by GKE, typically automatically. This + // operation may be concurrent with other operations and there may be + // multiple repairs occurring on the same node pool. AUTO_REPAIR_NODES = 10; - // Automatic node upgrade. - AUTO_UPGRADE_NODES = 11; + // Unused. Automatic node upgrade uses + // [UPGRADE_NODES][google.container.v1beta1.Operation.Type.UPGRADE_NODES]. + AUTO_UPGRADE_NODES = 11 [deprecated = true]; - // Set labels. - SET_LABELS = 12; + // Unused. Updating labels uses + // [UPDATE_CLUSTER][google.container.v1beta1.Operation.Type.UPDATE_CLUSTER]. + SET_LABELS = 12 [deprecated = true]; - // Set/generate master auth materials - SET_MASTER_AUTH = 13; + // Unused. Updating master auth uses + // [UPDATE_CLUSTER][google.container.v1beta1.Operation.Type.UPDATE_CLUSTER]. + SET_MASTER_AUTH = 13 [deprecated = true]; - // Set node pool size. + // The node pool is being resized. With the exception of resizing to or from + // size zero, the node pool is generally usable during this operation. SET_NODE_POOL_SIZE = 14; - // Updates network policy for a cluster. - SET_NETWORK_POLICY = 15; - - // Set the maintenance policy. - SET_MAINTENANCE_POLICY = 16; + // Unused. Updating network policy uses + // [UPDATE_CLUSTER][google.container.v1beta1.Operation.Type.UPDATE_CLUSTER]. + SET_NETWORK_POLICY = 15 [deprecated = true]; + + // Unused. Updating maintenance policy uses + // [UPDATE_CLUSTER][google.container.v1beta1.Operation.Type.UPDATE_CLUSTER]. + SET_MAINTENANCE_POLICY = 16 [deprecated = true]; + + // The control plane is being resized. This operation type is initiated by + // GKE. These operations are often performed preemptively to ensure that the + // control plane has sufficient resources and is not typically an indication + // of issues. For more details, see + // [documentation on + // resizes](https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions#repairs). + RESIZE_CLUSTER = 18; + + // Fleet features of GKE Enterprise are being upgraded. The cluster should + // be assumed to be blocked for other upgrades until the operation finishes. + FLEET_FEATURE_UPGRADE = 19; } // The server-assigned ID for the operation. @@ -2373,10 +2854,25 @@ message Operation { string status_message = 5 [deprecated = true, (google.api.field_behavior) = OUTPUT_ONLY]; - // Server-defined URL for the resource. + // Server-defined URI for the operation. Example: + // `https://container.googleapis.com/v1alpha1/projects/123/locations/us-central1/operations/operation-123`. string self_link = 6; - // Server-defined URL for the target of the operation. + // Server-defined URI for the target of the operation. The format of this is a + // URI to the resource being modified (such as a cluster, node pool, or node). + // For node pool repairs, there may be multiple nodes being repaired, but only + // one will be the target. + // + // Examples: + // + // - + // ## + // `https://container.googleapis.com/v1/projects/123/locations/us-central1/clusters/my-cluster` + // + // ## + // `https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np` + // + // `https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np/node/my-node` string target_link = 7; // [Output only] The name of the Google Compute Engine @@ -2634,6 +3130,26 @@ message UpdateNodePoolRequest { // Parameters that can be configured on Windows nodes. WindowsNodeConfig windows_node_config = 34; + + // Optional. The desired machine type for nodes in the node pool. + // Initiates an upgrade operation that migrates the nodes in the + // node pool to the specified machine type. + string machine_type = 36 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The desired disk type for nodes in the node pool. + // Initiates an upgrade operation that migrates the nodes in the + // node pool to the specified disk type. + string disk_type = 37 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The desired disk size for nodes in the node pool. + // Initiates an upgrade operation that migrates the nodes in the + // node pool to the specified disk size. + int64 disk_size_gb = 38 [(google.api.field_behavior) = OPTIONAL]; + + // Desired resource manager tag keys and values to be attached to the nodes + // for managing Compute Engine firewalls using Network Firewall Policies. + // Existing tags will be replaced with new values. + ResourceManagerTags resource_manager_tags = 39; } // SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool. @@ -3092,6 +3608,19 @@ message ServerConfig { map windows_version_maps = 10; } +// Best effort provisioning. +message BestEffortProvisioning { + // When this is enabled, cluster/node pool creations will ignore non-fatal + // errors like stockout to best provision as many nodes as possible right now + // and eventually bring up all target number of nodes + bool enabled = 1; + + // Minimum number of nodes to be provisioned to be considered as succeeded, + // and the rest of nodes will be provisioned gradually and eventually when + // stockout issue has been resolved. + int32 min_provision_nodes = 2; +} + // Windows server versions. message WindowsVersions { // Windows server version. @@ -3240,10 +3769,17 @@ message BlueGreenSettings { optional google.protobuf.Duration batch_soak_duration = 3; } + // Autoscaled rollout policy uses cluster autoscaler during + // blue-green upgrades to scale both the green and blue pools. + message AutoscaledRolloutPolicy {} + // The rollout policy controls the general rollout progress of blue-green. oneof rollout_policy { // Standard policy for the blue-green upgrade. StandardRolloutPolicy standard_rollout_policy = 1; + + // Autoscaled policy for cluster autoscaler enabled blue-green upgrade. + AutoscaledRolloutPolicy autoscaled_rollout_policy = 3; } // Time needed after draining entire blue pool. After this period, blue pool @@ -3257,30 +3793,31 @@ message BlueGreenSettings { // of Kubernetes labels applied to them, which may be used to reference them // during pod scheduling. They may also be resized up or down, to accommodate // the workload. -// These upgrade settings control the level of parallelism and the level of -// disruption caused by an upgrade. -// -// maxUnavailable controls the number of nodes that can be simultaneously -// unavailable. -// -// maxSurge controls the number of additional nodes that can be added to the -// node pool temporarily for the time of the upgrade to increase the number of -// available nodes. -// -// (maxUnavailable + maxSurge) determines the level of parallelism (how many -// nodes are being upgraded at the same time). -// -// Note: upgrades inevitably introduce some disruption since workloads need to -// be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0, -// this holds true. (Disruption stays within the limits of -// PodDisruptionBudget, if it is configured.) -// -// Consider a hypothetical node pool with 5 nodes having maxSurge=2, -// maxUnavailable=1. This means the upgrade process upgrades 3 nodes -// simultaneously. It creates 2 additional (upgraded) nodes, then it brings -// down 3 old (not yet upgraded) nodes at the same time. This ensures that -// there are always at least 4 nodes available. message NodePool { + // These upgrade settings control the level of parallelism and the level of + // disruption caused by an upgrade. + // + // maxUnavailable controls the number of nodes that can be simultaneously + // unavailable. + // + // maxSurge controls the number of additional nodes that can be added to the + // node pool temporarily for the time of the upgrade to increase the number of + // available nodes. + // + // (maxUnavailable + maxSurge) determines the level of parallelism (how many + // nodes are being upgraded at the same time). + // + // Note: upgrades inevitably introduce some disruption since workloads need to + // be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0, + // this holds true. (Disruption stays within the limits of + // PodDisruptionBudget, if it is configured.) + // + // Consider a hypothetical node pool with 5 nodes having maxSurge=2, + // maxUnavailable=1. This means the upgrade process upgrades 3 nodes + // simultaneously. It creates 2 additional (upgraded) nodes, then it brings + // down 3 old (not yet upgraded) nodes at the same time. This ensures that + // there are always at least 4 nodes available. + // // These upgrade settings configure the upgrade strategy for the node pool. // Use strategy to switch between the strategies applied to the node pool. // @@ -3339,6 +3876,9 @@ message NodePool { // Start cordoning blue pool nodes. CORDONING_BLUE_POOL = 3; + // Start waiting after cordoning the blue pool and before draining it. + WAITING_TO_DRAIN_BLUE_POOL = 8; + // Start draining blue pool nodes. DRAINING_BLUE_POOL = 4; @@ -3423,6 +3963,23 @@ message NodePool { // The type of placement. Type type = 1; + + // TPU placement topology for pod slice node pool. + // https://cloud.google.com/tpu/docs/types-topologies#tpu_topologies + string tpu_topology = 2; + + // If set, refers to the name of a custom resource policy supplied by the + // user. The resource policy must be in the same project and region as the + // node pool. If not found, InvalidArgument error is returned. + string policy_name = 3; + } + + // QueuedProvisioning defines the queued provisioning used by the node pool. + message QueuedProvisioning { + // Denotes that this nodepool is QRM specific, meaning nodes can be only + // obtained through queuing via the Cluster Autoscaler ProvisioningRequest + // API. + bool enabled = 1; } // The name of the node pool. @@ -3507,6 +4064,12 @@ message NodePool { // fields, and may be sent on update requests to ensure the client has an // up-to-date value before proceeding. string etag = 110; + + // Specifies the configuration of queued provisioning. + QueuedProvisioning queued_provisioning = 112; + + // Enable best effort provisioning for nodes + BestEffortProvisioning best_effort_provisioning = 113; } // NodeManagement defines the set of node management services turned on for the @@ -3885,6 +4448,9 @@ message AutoprovisioningNodePoolDefaults { // https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for // available image types. string image_type = 10; + + // Enable or disable Kubelet read only port. + optional bool insecure_kubelet_readonly_port_enabled = 13; } // Contains information about amount of some resource in the cluster. @@ -4084,6 +4650,9 @@ message AcceleratorConfig { // The configuration for GPU sharing options. optional GPUSharingConfig gpu_sharing_config = 5; + + // The configuration for auto installation of GPU driver. + optional GPUDriverInstallationConfig gpu_driver_installation_config = 6; } // GPUSharingConfig represents the GPU sharing configuration for Hardware @@ -4105,6 +4674,28 @@ message GPUSharingConfig { optional GPUSharingStrategy gpu_sharing_strategy = 2; } +// GPUDriverInstallationConfig specifies the version of GPU driver to be auto +// installed. +message GPUDriverInstallationConfig { + // The GPU driver version to install. + enum GPUDriverVersion { + // Default value is to not install any GPU driver. + GPU_DRIVER_VERSION_UNSPECIFIED = 0; + + // Disable GPU driver auto installation and needs manual installation + INSTALLATION_DISABLED = 1; + + // "Default" GPU driver in COS and Ubuntu. + DEFAULT = 2; + + // "Latest" GPU driver in COS. + LATEST = 3; + } + + // Mode for how the GPU driver is installed. + optional GPUDriverVersion gpu_driver_version = 1; +} + // ManagedPrometheusConfig defines the configuration for // Google Cloud Managed Service for Prometheus. message ManagedPrometheusConfig { @@ -4313,6 +4904,21 @@ message StatusCondition { // NetworkConfig reports the relative names of network & subnetwork. message NetworkConfig { + // Configuration of all network bandwidth tiers + message ClusterNetworkPerformanceConfig { + // Node network tier + enum Tier { + // Default value + TIER_UNSPECIFIED = 0; + + // Higher bandwidth, actual values based on VM size. + TIER_1 = 1; + } + + // Specifies the total network bandwidth tier for the NodePool. + optional Tier total_egress_bandwidth_tier = 1; + } + // Output only. The relative name of the Google Compute Engine // [network][google.container.v1beta1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks) // to which the cluster is connected. Example: @@ -4357,6 +4963,18 @@ message NetworkConfig { // GatewayAPIConfig contains the desired config of Gateway API on this // cluster. GatewayAPIConfig gateway_api_config = 16; + + // Whether multi-networking is enabled for this cluster. + bool enable_multi_networking = 17; + + // Network bandwidth tier configuration. + ClusterNetworkPerformanceConfig network_performance_config = 18; + + // Whether FQDN Network Policy is enabled on this cluster. + optional bool enable_fqdn_network_policy = 19; + + // Specify the details of in-transit encryption. + optional InTransitEncryptionConfig in_transit_encryption_config = 20; } // GatewayAPIConfig contains the desired config of Gateway API on this cluster. @@ -4524,6 +5142,9 @@ message DNSConfig { // Use CloudDNS for DNS resolution. CLOUD_DNS = 2; + + // Use KubeDNS for DNS resolution. + KUBE_DNS = 3; } // DNSScope lists the various scopes of access to cluster DNS records. @@ -4621,12 +5242,12 @@ message DatabaseEncryption { DECRYPTED = 2; } - // Denotes the state of etcd encryption. - State state = 2; - // Name of CloudKMS key to use for the encryption of secrets in etcd. // Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key string key_name = 1; + + // The desired state of etcd encryption. + State state = 2; } // Configuration for exporting cluster resource usages. @@ -4754,6 +5375,64 @@ message GetJSONWebKeysResponse { repeated Jwk keys = 1; } +// CheckAutopilotCompatibilityRequest requests getting the blockers for the +// given operation in the cluster. +message CheckAutopilotCompatibilityRequest { + // The name (project, location, cluster) of the cluster to retrieve. + // Specified in the format `projects/*/locations/*/clusters/*`. + string name = 1; +} + +// AutopilotCompatibilityIssue contains information about a specific +// compatibility issue with Autopilot mode. +message AutopilotCompatibilityIssue { + // The type of the reported issue. + enum IssueType { + // Default value, should not be used. + UNSPECIFIED = 0; + + // Indicates that the issue is a known incompatibility between the + // cluster and Autopilot mode. + INCOMPATIBILITY = 1; + + // Indicates the issue is an incompatibility if customers take no further + // action to resolve. + ADDITIONAL_CONFIG_REQUIRED = 2; + + // Indicates the issue is not an incompatibility, but depending on the + // workloads business logic, there is a potential that they won't work on + // Autopilot. + PASSED_WITH_OPTIONAL_CONFIG = 3; + } + + // The last time when this issue was observed. + google.protobuf.Timestamp last_observation = 1; + + // The constraint type of the issue. + string constraint_type = 2; + + // The incompatibility type of this issue. + IssueType incompatibility_type = 3; + + // The name of the resources which are subject to this issue. + repeated string subjects = 4; + + // A URL to a public documnetation, which addresses resolving this issue. + string documentation_url = 5; + + // The description of the issue. + string description = 6; +} + +// CheckAutopilotCompatibilityResponse has a list of compatibility issues. +message CheckAutopilotCompatibilityResponse { + // The list of issues for the given operation. + repeated AutopilotCompatibilityIssue issues = 1; + + // The summary of the autopilot compatibility response. + string summary = 2; +} + // ReleaseChannel indicates which release channel a cluster is // subscribed to. Release channels are arranged in order of risk. // @@ -4825,10 +5504,40 @@ enum PrivateIPv6GoogleAccess { // Master is the configuration for components on master. message Master {} +// AutopilotConversionStatus represents conversion status. +message AutopilotConversionStatus { + // The current state of the conversion. + enum State { + // STATE_UNSPECIFIED indicates the state is unspecified. + STATE_UNSPECIFIED = 0; + + // DONE indicates the conversion has been completed. Old node pools will + // continue being deleted in the background. + DONE = 5; + } + + // Output only. The current state of the conversion. + State state = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + // Autopilot is the configuration for Autopilot settings on the cluster. message Autopilot { // Enable Autopilot bool enabled = 1; + + // Workload policy configuration for Autopilot. + WorkloadPolicyConfig workload_policy_config = 2; + + // Output only. ConversionStatus shows conversion status. + AutopilotConversionStatus conversion_status = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// WorkloadPolicyConfig is the configuration of workload policy for autopilot +// clusters. +message WorkloadPolicyConfig { + // If true, workloads can use NET_ADMIN capability. + optional bool allow_net_admin = 1; } // NotificationConfig is the configuration of notifications. @@ -5047,6 +5756,38 @@ message MonitoringConfig { // Enable Google Cloud Managed Service for Prometheus // in the cluster. ManagedPrometheusConfig managed_prometheus_config = 2; + + // Configuration of Advanced Datapath Observability features. + AdvancedDatapathObservabilityConfig advanced_datapath_observability_config = + 3; +} + +// AdvancedDatapathObservabilityConfig specifies configuration of observability +// features of advanced datapath. +message AdvancedDatapathObservabilityConfig { + // Supported Relay modes + enum RelayMode { + // Default value. This shouldn't be used. + RELAY_MODE_UNSPECIFIED = 0; + + // disabled + DISABLED = 1; + + // exposed via internal load balancer + INTERNAL_VPC_LB = 3; + + // exposed via external load balancer + EXTERNAL_LB = 4; + } + + // Expose flow metrics on nodes + bool enable_metrics = 1; + + // Method used to make Relay available + RelayMode relay_mode = 2; + + // Enable Relay component + optional bool enable_relay = 3; } // NodePoolLoggingConfig specifies logging configuration for nodepools. @@ -5094,6 +5835,24 @@ message MonitoringComponentConfig { // kube-controller-manager CONTROLLER_MANAGER = 5; + + // Storage + STORAGE = 7; + + // Horizontal Pod Autoscaling + HPA = 8; + + // Pod + POD = 9; + + // DaemonSet + DAEMONSET = 10; + + // Deployment + DEPLOYMENT = 11; + + // Statefulset + STATEFULSET = 12; } // Select components to collect metrics. An empty set would disable all @@ -5117,6 +5876,23 @@ enum DatapathProvider { ADVANCED_DATAPATH = 2; } +// Fleet is the fleet configuration for the cluster. +message Fleet { + // The Fleet host project(project ID or project number) where this cluster + // will be registered to. This field cannot be changed after the cluster has + // been registered. + string project = 1; + + // [Output only] The full resource name of the registered fleet membership of + // the cluster, in the format + // `//gkehub.googleapis.com/projects/*/locations/*/memberships/*`. + string membership = 2; + + // [Output only] Whether the cluster has been registered through the fleet + // API. + bool pre_registered = 3; +} + // Possible values for IP stack type enum StackType { // By default, the clusters will be IPV4 only @@ -5128,3 +5904,49 @@ enum StackType { // The value used if the cluster is a dual stack cluster IPV4_IPV6 = 2; } + +// A map of resource manager tag keys and values to be attached to the nodes +// for managing Compute Engine firewalls using Network Firewall Policies. +// Tags must be according to specifications in +// https://cloud.google.com/vpc/docs/tags-firewalls-overview#specifications. +// A maximum of 5 tag key-value pairs can be specified. +// Existing tags will be replaced with new values. +message ResourceManagerTags { + // Tags must be in one of the following formats ([KEY]=[VALUE]) + // 1. `tagKeys/{tag_key_id}=tagValues/{tag_value_id}` + // 2. `{org_id}/{tag_key_name}={tag_value_name}` + // 3. `{project_id}/{tag_key_name}={tag_value_name}` + map tags = 1; +} + +// EnterpriseConfig is the cluster enterprise configuration. +message EnterpriseConfig { + // Premium tiers for GKE Cluster. + enum ClusterTier { + // CLUSTER_TIER_UNSPECIFIED is when cluster_tier is not set. + CLUSTER_TIER_UNSPECIFIED = 0; + + // STANDARD indicates a standard GKE cluster. + STANDARD = 1; + + // ENTERPRISE indicates a GKE Enterprise cluster. + ENTERPRISE = 2; + } + + // Output only. [Output only] cluster_tier specifies the premium tier of the + // cluster. + ClusterTier cluster_tier = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// Options for in-transit encryption. +enum InTransitEncryptionConfig { + // Unspecified, will be inferred as default - + // IN_TRANSIT_ENCRYPTION_UNSPECIFIED. + IN_TRANSIT_ENCRYPTION_CONFIG_UNSPECIFIED = 0; + + // In-transit encryption is disabled. + IN_TRANSIT_ENCRYPTION_DISABLED = 1; + + // Data in-transit is encrypted using inter-node transparent encryption. + IN_TRANSIT_ENCRYPTION_INTER_NODE_TRANSPARENT = 2; +} diff --git a/third_party/googleapis/google/container/v1beta1/container_v1beta1.yaml b/third_party/googleapis/google/container/v1beta1/container_v1beta1.yaml index 63648948f..3af398e49 100644 --- a/third_party/googleapis/google/container/v1beta1/container_v1beta1.yaml +++ b/third_party/googleapis/google/container/v1beta1/container_v1beta1.yaml @@ -18,26 +18,9 @@ documentation: Builds and manages container-based applications, powered by the open source Kubernetes technology. -backend: - rules: - - selector: 'google.container.v1beta1.ClusterManager.*' - deadline: 20.0 - - selector: google.container.v1beta1.ClusterManager.CreateCluster - deadline: 120.0 - authentication: rules: - selector: 'google.container.v1beta1.ClusterManager.*' oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform - -publishing: - organization: CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED - new_issue_uri: '' - documentation_uri: '' - api_short_name: '' - github_label: '' - doc_tag_prefix: '' - codeowner_github_teams: - library_settings: diff --git a/third_party/googleapis/google/dataflow/BUILD.bazel b/third_party/googleapis/google/dataflow/BUILD.bazel index dbdd3287a..ae43e0af1 100644 --- a/third_party/googleapis/google/dataflow/BUILD.bazel +++ b/third_party/googleapis/google/dataflow/BUILD.bazel @@ -22,7 +22,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-dataflow", "ruby-cloud-env-prefix=DATAFLOW", - "ruby-cloud-wrapper-of=v1beta3:0.0", + "ruby-cloud-wrapper-of=v1beta3:0.8", "ruby-cloud-product-url=https://cloud.google.com/dataflow", "ruby-cloud-api-id=dataflow.googleapis.com", "ruby-cloud-api-shortname=dataflow", @@ -30,6 +30,7 @@ ruby_cloud_gapic_library( ], ruby_cloud_description = "Dataflow is a managed service for executing a wide variety of data processing patterns.", ruby_cloud_title = "Dataflow", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/dataflow/v1beta3/BUILD.bazel b/third_party/googleapis/google/dataflow/v1beta3/BUILD.bazel index 32078462c..6fc40efc8 100644 --- a/third_party/googleapis/google/dataflow/v1beta3/BUILD.bazel +++ b/third_party/googleapis/google/dataflow/v1beta3/BUILD.bazel @@ -24,7 +24,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -34,7 +33,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -143,7 +141,7 @@ java_gapic_assembly_gradle_pkg( go_proto_library( name = "dataflow_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/dataflow/v1beta3", + importpath = "cloud.google.com/go/dataflow/apiv1beta3/dataflowpb", protos = [":dataflow_proto"], deps = [ "//google/api:annotations_go_proto", @@ -157,6 +155,7 @@ go_gapic_library( grpc_service_config = "dataflow_grpc_service_config.json", importpath = "cloud.google.com/go/dataflow/apiv1beta3;dataflow", metadata = True, + release_level = "beta", rest_numeric_enums = True, service_yaml = "dataflow_v1beta3.yaml", transport = "grpc+rest", @@ -166,19 +165,13 @@ go_gapic_library( ], ) -go_test( - name = "dataflow_go_gapic_test", - srcs = [":dataflow_go_gapic_srcjar_test"], - embed = [":dataflow_go_gapic"], - importpath = "cloud.google.com/go/dataflow/apiv1beta3", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-dataflow-v1beta3-go", deps = [ ":dataflow_go_gapic", ":dataflow_go_gapic_srcjar-metadata.srcjar", + ":dataflow_go_gapic_srcjar-snippets.srcjar", ":dataflow_go_gapic_srcjar-test.srcjar", ":dataflow_go_proto", ], @@ -221,23 +214,15 @@ php_proto_library( deps = [":dataflow_proto"], ) -php_grpc_library( - name = "dataflow_php_grpc", - srcs = [":dataflow_proto"], - deps = [":dataflow_php_proto"], -) - php_gapic_library( name = "dataflow_php_gapic", srcs = [":dataflow_proto_with_info"], grpc_service_config = "dataflow_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "dataflow_v1beta3.yaml", transport = "grpc+rest", - deps = [ - ":dataflow_php_grpc", - ":dataflow_php_proto", - ], + deps = [":dataflow_php_proto"], ) # Open Source Packages @@ -245,7 +230,6 @@ php_gapic_assembly_pkg( name = "google-cloud-dataflow-v1beta3-php", deps = [ ":dataflow_php_gapic", - ":dataflow_php_grpc", ":dataflow_php_proto", ], ) @@ -298,6 +282,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Dataflow is a managed service for executing a wide variety of data processing patterns.", ruby_cloud_title = "Dataflow V1beta3", service_yaml = "dataflow_v1beta3.yaml", + transport = "grpc+rest", deps = [ ":dataflow_ruby_grpc", ":dataflow_ruby_proto", diff --git a/third_party/googleapis/google/dataflow/v1beta3/environment.proto b/third_party/googleapis/google/dataflow/v1beta3/environment.proto index 04ad7d78e..e243c5e79 100644 --- a/third_party/googleapis/google/dataflow/v1beta3/environment.proto +++ b/third_party/googleapis/google/dataflow/v1beta3/environment.proto @@ -21,7 +21,7 @@ import "google/protobuf/any.proto"; import "google/protobuf/struct.proto"; option csharp_namespace = "Google.Cloud.Dataflow.V1Beta3"; -option go_package = "google.golang.org/genproto/googleapis/dataflow/v1beta3;dataflow"; +option go_package = "cloud.google.com/go/dataflow/apiv1beta3/dataflowpb;dataflowpb"; option java_multiple_files = true; option java_outer_classname = "EnvironmentProto"; option java_package = "com.google.dataflow.v1beta3"; diff --git a/third_party/googleapis/google/dataflow/v1beta3/jobs.proto b/third_party/googleapis/google/dataflow/v1beta3/jobs.proto index 359b78732..f961e1c3c 100644 --- a/third_party/googleapis/google/dataflow/v1beta3/jobs.proto +++ b/third_party/googleapis/google/dataflow/v1beta3/jobs.proto @@ -25,7 +25,7 @@ import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Dataflow.V1Beta3"; -option go_package = "google.golang.org/genproto/googleapis/dataflow/v1beta3;dataflow"; +option go_package = "cloud.google.com/go/dataflow/apiv1beta3/dataflowpb;dataflowpb"; option java_multiple_files = true; option java_outer_classname = "JobsProto"; option java_package = "com.google.dataflow.v1beta3"; diff --git a/third_party/googleapis/google/dataflow/v1beta3/messages.proto b/third_party/googleapis/google/dataflow/v1beta3/messages.proto index f8d151ece..9fe098887 100644 --- a/third_party/googleapis/google/dataflow/v1beta3/messages.proto +++ b/third_party/googleapis/google/dataflow/v1beta3/messages.proto @@ -22,7 +22,7 @@ import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Dataflow.V1Beta3"; -option go_package = "google.golang.org/genproto/googleapis/dataflow/v1beta3;dataflow"; +option go_package = "cloud.google.com/go/dataflow/apiv1beta3/dataflowpb;dataflowpb"; option java_multiple_files = true; option java_outer_classname = "MessagesProto"; option java_package = "com.google.dataflow.v1beta3"; diff --git a/third_party/googleapis/google/dataflow/v1beta3/metrics.proto b/third_party/googleapis/google/dataflow/v1beta3/metrics.proto index 823eeb7af..554af43fe 100644 --- a/third_party/googleapis/google/dataflow/v1beta3/metrics.proto +++ b/third_party/googleapis/google/dataflow/v1beta3/metrics.proto @@ -22,7 +22,7 @@ import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Dataflow.V1Beta3"; -option go_package = "google.golang.org/genproto/googleapis/dataflow/v1beta3;dataflow"; +option go_package = "cloud.google.com/go/dataflow/apiv1beta3/dataflowpb;dataflowpb"; option java_multiple_files = true; option java_outer_classname = "MetricsProto"; option java_package = "com.google.dataflow.v1beta3"; diff --git a/third_party/googleapis/google/dataflow/v1beta3/snapshots.proto b/third_party/googleapis/google/dataflow/v1beta3/snapshots.proto index 0868db8d3..5335fec66 100644 --- a/third_party/googleapis/google/dataflow/v1beta3/snapshots.proto +++ b/third_party/googleapis/google/dataflow/v1beta3/snapshots.proto @@ -22,7 +22,7 @@ import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Dataflow.V1Beta3"; -option go_package = "google.golang.org/genproto/googleapis/dataflow/v1beta3;dataflow"; +option go_package = "cloud.google.com/go/dataflow/apiv1beta3/dataflowpb;dataflowpb"; option java_multiple_files = true; option java_outer_classname = "SnapshotsProto"; option java_package = "com.google.dataflow.v1beta3"; diff --git a/third_party/googleapis/google/dataflow/v1beta3/streaming.proto b/third_party/googleapis/google/dataflow/v1beta3/streaming.proto index 77577ca1b..17fb84a11 100644 --- a/third_party/googleapis/google/dataflow/v1beta3/streaming.proto +++ b/third_party/googleapis/google/dataflow/v1beta3/streaming.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.dataflow.v1beta3; option csharp_namespace = "Google.Cloud.Dataflow.V1Beta3"; -option go_package = "google.golang.org/genproto/googleapis/dataflow/v1beta3;dataflow"; +option go_package = "cloud.google.com/go/dataflow/apiv1beta3/dataflowpb;dataflowpb"; option java_multiple_files = true; option java_outer_classname = "StreamingProto"; option java_package = "com.google.dataflow.v1beta3"; diff --git a/third_party/googleapis/google/dataflow/v1beta3/templates.proto b/third_party/googleapis/google/dataflow/v1beta3/templates.proto index 064e3a8a1..7de72626a 100644 --- a/third_party/googleapis/google/dataflow/v1beta3/templates.proto +++ b/third_party/googleapis/google/dataflow/v1beta3/templates.proto @@ -23,7 +23,7 @@ import "google/dataflow/v1beta3/jobs.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.Dataflow.V1Beta3"; -option go_package = "google.golang.org/genproto/googleapis/dataflow/v1beta3;dataflow"; +option go_package = "cloud.google.com/go/dataflow/apiv1beta3/dataflowpb;dataflowpb"; option java_multiple_files = true; option java_outer_classname = "TemplatesProto"; option java_package = "com.google.dataflow.v1beta3"; diff --git a/third_party/googleapis/google/datastore/admin/BUILD.bazel b/third_party/googleapis/google/datastore/admin/BUILD.bazel index 5d8723cd6..c1323cab7 100644 --- a/third_party/googleapis/google/datastore/admin/BUILD.bazel +++ b/third_party/googleapis/google/datastore/admin/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-datastore-admin", "ruby-cloud-env-prefix=DATASTORE", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.11", "ruby-cloud-product-url=https://cloud.google.com/datastore", "ruby-cloud-api-id=datastore.googleapis.com", "ruby-cloud-api-shortname=datastore", ], ruby_cloud_description = "Firestore in Datastore mode is a NoSQL document database built for automatic scaling, high performance, and ease of application development.", ruby_cloud_title = "Firestore in Datastore mode Admin", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/datastore/admin/v1/BUILD.bazel b/third_party/googleapis/google/datastore/admin/v1/BUILD.bazel index 4bb37cbf6..b4e1e423a 100644 --- a/third_party/googleapis/google/datastore/admin/v1/BUILD.bazel +++ b/third_party/googleapis/google/datastore/admin/v1/BUILD.bazel @@ -24,7 +24,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -34,7 +33,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -127,7 +125,7 @@ java_gapic_assembly_gradle_pkg( go_proto_library( name = "admin_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/datastore/admin/v1", + importpath = "cloud.google.com/go/datastore/admin/apiv1/adminpb", protos = [":admin_proto"], deps = [ "//google/api:annotations_go_proto", @@ -141,6 +139,7 @@ go_gapic_library( grpc_service_config = "datastore_admin_grpc_service_config.json", importpath = "cloud.google.com/go/datastore/admin/apiv1;admin", metadata = True, + release_level = "ga", rest_numeric_enums = True, service_yaml = "datastore_v1.yaml", transport = "grpc+rest", @@ -152,19 +151,13 @@ go_gapic_library( ], ) -go_test( - name = "admin_go_gapic_test", - srcs = [":admin_go_gapic_srcjar_test"], - embed = [":admin_go_gapic"], - importpath = "cloud.google.com/go/datastore/admin/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-datastore-admin-v1-go", deps = [ ":admin_go_gapic", ":admin_go_gapic_srcjar-metadata.srcjar", + ":admin_go_gapic_srcjar-snippets.srcjar", ":admin_go_gapic_srcjar-test.srcjar", ":admin_go_proto", ], @@ -174,7 +167,11 @@ py_gapic_library( name = "admin_py_gapic", srcs = [":admin_proto"], grpc_service_config = "datastore_admin_grpc_service_config.json", - opt_args = ["python-gapic-namespace=google.cloud, python-gapic-name=datastore-admin"], + opt_args = [ + "python-gapic-name=datastore_admin", + "python-gapic-namespace=google.cloud", + "warehouse-package-name=google-cloud-datastore", + ], rest_numeric_enums = True, service_yaml = "datastore_v1.yaml", transport = "grpc+rest", @@ -203,23 +200,15 @@ php_proto_library( deps = [":admin_proto"], ) -php_grpc_library( - name = "admin_php_grpc", - srcs = [":admin_proto"], - deps = [":admin_php_proto"], -) - php_gapic_library( name = "admin_php_gapic", srcs = [":admin_proto_with_info"], grpc_service_config = "datastore_admin_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "datastore_v1.yaml", transport = "grpc+rest", - deps = [ - ":admin_php_grpc", - ":admin_php_proto", - ], + deps = [":admin_php_proto"], ) # Open Source Packages @@ -227,7 +216,6 @@ php_gapic_assembly_pkg( name = "google-cloud-datastore-admin-v1-php", deps = [ ":admin_php_gapic", - ":admin_php_grpc", ":admin_php_proto", ], ) @@ -279,6 +267,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Firestore in Datastore mode is a NoSQL document database built for automatic scaling, high performance, and ease of application development.", ruby_cloud_title = "Firestore in Datastore mode Admin V1", service_yaml = "datastore_v1.yaml", + transport = "grpc+rest", deps = [ ":admin_ruby_grpc", ":admin_ruby_proto", diff --git a/third_party/googleapis/google/datastore/admin/v1/datastore_admin.proto b/third_party/googleapis/google/datastore/admin/v1/datastore_admin.proto index 0d624956e..79ca3df68 100644 --- a/third_party/googleapis/google/datastore/admin/v1/datastore_admin.proto +++ b/third_party/googleapis/google/datastore/admin/v1/datastore_admin.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -25,7 +25,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Datastore.Admin.V1"; -option go_package = "google.golang.org/genproto/googleapis/datastore/admin/v1;admin"; +option go_package = "cloud.google.com/go/datastore/admin/apiv1/adminpb;adminpb"; option java_multiple_files = true; option java_outer_classname = "DatastoreAdminProto"; option java_package = "com.google.datastore.admin.v1"; @@ -34,14 +34,10 @@ option ruby_package = "Google::Cloud::Datastore::Admin::V1"; // Google Cloud Datastore Admin API // -// // The Datastore Admin API provides several admin services for Cloud Datastore. // -// ----------------------------------------------------------------------------- -// ## Concepts -// -// Project, namespace, kind, and entity as defined in the Google Cloud Datastore -// API. +// Concepts: Project, namespace, kind, and entity as defined in the Google Cloud +// Datastore API. // // Operation: An Operation represents work being performed in the background. // @@ -49,50 +45,40 @@ option ruby_package = "Google::Cloud::Datastore::Admin::V1"; // specified as a combination of kinds and namespaces (either or both of which // may be all). // -// ----------------------------------------------------------------------------- -// ## Services -// -// # Export/Import +// Export/Import Service: // -// The Export/Import service provides the ability to copy all or a subset of +// - The Export/Import service provides the ability to copy all or a subset of // entities to/from Google Cloud Storage. -// -// Exported data may be imported into Cloud Datastore for any Google Cloud +// - Exported data may be imported into Cloud Datastore for any Google Cloud // Platform project. It is not restricted to the export source project. It is // possible to export from one project and then import into another. -// -// Exported data can also be loaded into Google BigQuery for analysis. -// -// Exports and imports are performed asynchronously. An Operation resource is +// - Exported data can also be loaded into Google BigQuery for analysis. +// - Exports and imports are performed asynchronously. An Operation resource is // created for each export/import. The state (including any errors encountered) // of the export/import may be queried via the Operation resource. // -// # Index +// Index Service: // -// The index service manages Cloud Datastore composite indexes. -// -// Index creation and deletion are performed asynchronously. +// - The index service manages Cloud Datastore composite indexes. +// - Index creation and deletion are performed asynchronously. // An Operation resource is created for each such asynchronous operation. // The state of the operation (including any errors encountered) // may be queried via the Operation resource. // -// # Operation +// Operation Service: // -// The Operations collection provides a record of actions performed for the +// - The Operations collection provides a record of actions performed for the // specified project (including any operations in progress). Operations are not // created directly but through calls on other collections or resources. -// -// An operation that is not yet done may be cancelled. The request to cancel is -// asynchronous and the operation may continue to run for some time after the +// - An operation that is not yet done may be cancelled. The request to cancel +// is asynchronous and the operation may continue to run for some time after the // request to cancel is made. -// -// An operation that is done may be deleted so that it is no longer listed as +// - An operation that is done may be deleted so that it is no longer listed as // part of the Operation collection. -// -// ListOperations returns all pending operations, but not completed operations. -// -// Operations are created by service DatastoreAdmin, -// but are accessed via service google.longrunning.Operations. +// - ListOperations returns all pending operations, but not completed +// operations. +// - Operations are created by service DatastoreAdmin, but are accessed via +// service google.longrunning.Operations. service DatastoreAdmin { option (google.api.default_host) = "datastore.googleapis.com"; option (google.api.oauth_scopes) = @@ -107,12 +93,14 @@ service DatastoreAdmin { // used once the associated operation is done. If an export operation is // cancelled before completion it may leave partial data behind in Google // Cloud Storage. - rpc ExportEntities(ExportEntitiesRequest) returns (google.longrunning.Operation) { + rpc ExportEntities(ExportEntitiesRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/projects/{project_id}:export" body: "*" }; - option (google.api.method_signature) = "project_id,labels,entity_filter,output_url_prefix"; + option (google.api.method_signature) = + "project_id,labels,entity_filter,output_url_prefix"; option (google.longrunning.operation_info) = { response_type: "ExportEntitiesResponse" metadata_type: "ExportEntitiesMetadata" @@ -124,12 +112,14 @@ service DatastoreAdmin { // progress can be monitored and managed via the Operation resource that is // created. If an ImportEntities operation is cancelled, it is possible // that a subset of the data has already been imported to Cloud Datastore. - rpc ImportEntities(ImportEntitiesRequest) returns (google.longrunning.Operation) { + rpc ImportEntities(ImportEntitiesRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/projects/{project_id}:import" body: "*" }; - option (google.api.method_signature) = "project_id,labels,input_url,entity_filter"; + option (google.api.method_signature) = + "project_id,labels,input_url,entity_filter"; option (google.longrunning.operation_info) = { response_type: "google.protobuf.Empty" metadata_type: "ImportEntitiesMetadata" @@ -138,9 +128,9 @@ service DatastoreAdmin { // Creates the specified index. // A newly created index's initial state is `CREATING`. On completion of the - // returned [google.longrunning.Operation][google.longrunning.Operation], the state will be `READY`. - // If the index already exists, the call will return an `ALREADY_EXISTS` - // status. + // returned [google.longrunning.Operation][google.longrunning.Operation], the + // state will be `READY`. If the index already exists, the call will return an + // `ALREADY_EXISTS` status. // // During index creation, the process could result in an error, in which // case the index will move to the `ERROR` state. The process can be recovered @@ -165,7 +155,8 @@ service DatastoreAdmin { // An index can only be deleted if it is in a `READY` or `ERROR` state. On // successful execution of the request, the index will be in a `DELETING` // [state][google.datastore.admin.v1.Index.State]. And on completion of the - // returned [google.longrunning.Operation][google.longrunning.Operation], the index will be removed. + // returned [google.longrunning.Operation][google.longrunning.Operation], the + // index will be removed. // // During index deletion, the process could result in an error, in which // case the index will move to the `ERROR` state. The process can be recovered @@ -283,8 +274,8 @@ message ExportEntitiesRequest { // // The resulting files will be nested deeper than the specified URL prefix. // The final output URL will be provided in the - // [google.datastore.admin.v1.ExportEntitiesResponse.output_url][google.datastore.admin.v1.ExportEntitiesResponse.output_url] field. That - // value should be used for subsequent ImportEntities operations. + // [google.datastore.admin.v1.ExportEntitiesResponse.output_url][google.datastore.admin.v1.ExportEntitiesResponse.output_url] + // field. That value should be used for subsequent ImportEntities operations. // // By nesting the data files deeper, the same Cloud Storage bucket can be used // in multiple ExportEntities operations without conflict. @@ -300,8 +291,9 @@ message ImportEntitiesRequest { // Client-assigned labels. map labels = 2; - // Required. The full resource URL of the external storage location. Currently, only - // Google Cloud Storage is supported. So input_url should be of the form: + // Required. The full resource URL of the external storage location. + // Currently, only Google Cloud Storage is supported. So input_url should be + // of the form: // `gs://BUCKET_NAME[/NAMESPACE_PATH]/OVERALL_EXPORT_METADATA_FILE`, where // `BUCKET_NAME` is the name of the Cloud Storage bucket, `NAMESPACE_PATH` is // an optional Cloud Storage namespace path (this is not a Cloud Datastore @@ -369,7 +361,9 @@ message ImportEntitiesMetadata { EntityFilter entity_filter = 4; // The location of the import metadata file. This will be the same value as - // the [google.datastore.admin.v1.ExportEntitiesResponse.output_url][google.datastore.admin.v1.ExportEntitiesResponse.output_url] field. + // the + // [google.datastore.admin.v1.ExportEntitiesResponse.output_url][google.datastore.admin.v1.ExportEntitiesResponse.output_url] + // field. string input_url = 5; } @@ -427,7 +421,8 @@ message DeleteIndexRequest { string index_id = 3; } -// The request for [google.datastore.admin.v1.DatastoreAdmin.GetIndex][google.datastore.admin.v1.DatastoreAdmin.GetIndex]. +// The request for +// [google.datastore.admin.v1.DatastoreAdmin.GetIndex][google.datastore.admin.v1.DatastoreAdmin.GetIndex]. message GetIndexRequest { // Project ID against which to make the request. string project_id = 1; diff --git a/third_party/googleapis/google/datastore/admin/v1/index.proto b/third_party/googleapis/google/datastore/admin/v1/index.proto index 0162af523..60bb5af5f 100644 --- a/third_party/googleapis/google/datastore/admin/v1/index.proto +++ b/third_party/googleapis/google/datastore/admin/v1/index.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -19,7 +19,7 @@ package google.datastore.admin.v1; import "google/api/field_behavior.proto"; option csharp_namespace = "Google.Cloud.Datastore.Admin.V1"; -option go_package = "google.golang.org/genproto/googleapis/datastore/admin/v1;admin"; +option go_package = "cloud.google.com/go/datastore/admin/apiv1/adminpb;adminpb"; option java_multiple_files = true; option java_outer_classname = "IndexProto"; option java_package = "com.google.datastore.admin.v1"; @@ -60,7 +60,8 @@ message Index { // Required. The property name to index. string name = 1 [(google.api.field_behavior) = REQUIRED]; - // Required. The indexed property's direction. Must not be DIRECTION_UNSPECIFIED. + // Required. The indexed property's direction. Must not be + // DIRECTION_UNSPECIFIED. Direction direction = 2 [(google.api.field_behavior) = REQUIRED]; } @@ -104,11 +105,17 @@ message Index { // Required. The entity kind to which this index applies. string kind = 4 [(google.api.field_behavior) = REQUIRED]; - // Required. The index's ancestor mode. Must not be ANCESTOR_MODE_UNSPECIFIED. + // Required. The index's ancestor mode. Must not be + // ANCESTOR_MODE_UNSPECIFIED. AncestorMode ancestor = 5 [(google.api.field_behavior) = REQUIRED]; // Required. An ordered sequence of property names and their index attributes. - repeated IndexedProperty properties = 6 [(google.api.field_behavior) = REQUIRED]; + // + // Requires: + // + // * A maximum of 100 properties. + repeated IndexedProperty properties = 6 + [(google.api.field_behavior) = REQUIRED]; // Output only. The state of the index. State state = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/third_party/googleapis/google/datastore/admin/v1/migration.proto b/third_party/googleapis/google/datastore/admin/v1/migration.proto index dbbe473c9..e5f7477da 100644 --- a/third_party/googleapis/google/datastore/admin/v1/migration.proto +++ b/third_party/googleapis/google/datastore/admin/v1/migration.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,7 +17,7 @@ syntax = "proto3"; package google.datastore.admin.v1; option csharp_namespace = "Google.Cloud.Datastore.Admin.V1"; -option go_package = "google.golang.org/genproto/googleapis/datastore/admin/v1;admin"; +option go_package = "cloud.google.com/go/datastore/admin/apiv1/adminpb;adminpb"; option java_multiple_files = true; option java_outer_classname = "MigrationProto"; option java_package = "com.google.datastore.admin.v1"; diff --git a/third_party/googleapis/google/datastore/v1/BUILD.bazel b/third_party/googleapis/google/datastore/v1/BUILD.bazel index ffe1207ce..4866d04b6 100644 --- a/third_party/googleapis/google/datastore/v1/BUILD.bazel +++ b/third_party/googleapis/google/datastore/v1/BUILD.bazel @@ -116,7 +116,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -148,19 +147,13 @@ go_gapic_library( ], ) -go_test( - name = "datastore_go_gapic_test", - srcs = [":datastore_go_gapic_srcjar_test"], - embed = [":datastore_go_gapic"], - importpath = "cloud.google.com/go/datastore/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-datastore-v1-go", deps = [ ":datastore_go_gapic", ":datastore_go_gapic_srcjar-metadata.srcjar", + ":datastore_go_gapic_srcjar-snippets.srcjar", ":datastore_go_gapic_srcjar-test.srcjar", ":datastore_go_proto", ], @@ -213,7 +206,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -222,23 +214,15 @@ php_proto_library( deps = [":datastore_proto"], ) -php_grpc_library( - name = "datastore_php_grpc", - srcs = [":datastore_proto"], - deps = [":datastore_php_proto"], -) - php_gapic_library( name = "datastore_php_gapic", srcs = [":datastore_proto_with_info"], grpc_service_config = "datastore_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "datastore_v1.yaml", transport = "grpc+rest", - deps = [ - ":datastore_php_grpc", - ":datastore_php_proto", - ], + deps = [":datastore_php_proto"], ) # Open Source Packages @@ -246,7 +230,6 @@ php_gapic_assembly_pkg( name = "google-cloud-datastore-v1-php", deps = [ ":datastore_php_gapic", - ":datastore_php_grpc", ":datastore_php_proto", ], ) @@ -320,6 +303,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Firestore in Datastore mode is a NoSQL document database built for automatic scaling, high performance, and ease of application development.", ruby_cloud_title = "Firestore in Datastore mode V1", service_yaml = "datastore_v1.yaml", + transport = "grpc+rest", deps = [ ":datastore_ruby_grpc", ":datastore_ruby_proto", diff --git a/third_party/googleapis/google/datastore/v1/aggregation_result.proto b/third_party/googleapis/google/datastore/v1/aggregation_result.proto index bbb5989e5..91c521716 100644 --- a/third_party/googleapis/google/datastore/v1/aggregation_result.proto +++ b/third_party/googleapis/google/datastore/v1/aggregation_result.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/datastore/v1/datastore.proto b/third_party/googleapis/google/datastore/v1/datastore.proto index 2f9c71427..533988d77 100644 --- a/third_party/googleapis/google/datastore/v1/datastore.proto +++ b/third_party/googleapis/google/datastore/v1/datastore.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -578,9 +578,12 @@ message ReadOptions { // [RunQueryResponse.transaction][google.datastore.v1.RunQueryResponse.transaction]. TransactionOptions new_transaction = 3; - // Reads entities as they were at the given time. This may not be older - // than 270 seconds. This value is only supported for Cloud Firestore in - // Datastore mode. + // Reads entities as they were at the given time. This value is only + // supported for Cloud Firestore in Datastore mode. + // + // This must be a microsecond precision timestamp within the past one hour, + // or if Point-in-Time Recovery is enabled, can additionally be a whole + // minute timestamp within the past 7 days. google.protobuf.Timestamp read_time = 4; } } @@ -602,7 +605,10 @@ message TransactionOptions { // Options specific to read-only transactions. message ReadOnly { // Reads entities at the given time. - // This may not be older than 60 seconds. + // + // This must be a microsecond precision timestamp within the past one hour, + // or if Point-in-Time Recovery is enabled, can additionally be a whole + // minute timestamp within the past 7 days. google.protobuf.Timestamp read_time = 1; } diff --git a/third_party/googleapis/google/datastore/v1/datastore_v1.yaml b/third_party/googleapis/google/datastore/v1/datastore_v1.yaml index 92aeb9880..a9be927c0 100644 --- a/third_party/googleapis/google/datastore/v1/datastore_v1.yaml +++ b/third_party/googleapis/google/datastore/v1/datastore_v1.yaml @@ -12,13 +12,6 @@ documentation: Accesses the schemaless NoSQL database to provide fully managed, robust, scalable storage for your application. -backend: - rules: - - selector: 'google.datastore.v1.Datastore.*' - deadline: 295.0 - - selector: 'google.longrunning.Operations.*' - deadline: 295.0 - http: rules: - selector: google.longrunning.Operations.CancelOperation diff --git a/third_party/googleapis/google/datastore/v1/entity.proto b/third_party/googleapis/google/datastore/v1/entity.proto index ddf22e032..d80dd9093 100644 --- a/third_party/googleapis/google/datastore/v1/entity.proto +++ b/third_party/googleapis/google/datastore/v1/entity.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -197,9 +197,7 @@ message Value { // A Datastore data object. // -// An entity is limited to 1 megabyte when stored. That _roughly_ -// corresponds to a limit of 1 megabyte for the serialized form of this -// message. +// Must not exceed 1 MiB - 4 bytes. message Entity { // The entity's key. // @@ -213,7 +211,7 @@ message Entity { // The map's keys are property names. // A property name matching regex `__.*__` is reserved. // A reserved property name is forbidden in certain documented contexts. - // The name must not contain more than 500 characters. - // The name cannot be `""`. + // The map keys, represented as UTF-8, must not exceed 1,500 bytes and cannot + // be empty. map properties = 3; } diff --git a/third_party/googleapis/google/datastore/v1/query.proto b/third_party/googleapis/google/datastore/v1/query.proto index 169af8801..d1f0f8d07 100644 --- a/third_party/googleapis/google/datastore/v1/query.proto +++ b/third_party/googleapis/google/datastore/v1/query.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -99,6 +99,11 @@ message Query { // The properties to make distinct. The query results will contain the first // result for each distinct combination of values for the given properties // (if empty, all results are returned). + // + // Requires: + // + // * If `order` is specified, the set of distinct on properties must appear + // before the non-distinct on properties in `order`. repeated PropertyReference distinct_on = 6; // A starting point for the query results. Query cursors are @@ -127,7 +132,7 @@ message Query { // Datastore query for running an aggregation over a // [Query][google.datastore.v1.Query]. message AggregationQuery { - // Defines a aggregation that produces a single result. + // Defines an aggregation that produces a single result. message Aggregation { // Count of entities that match the query. // @@ -138,7 +143,7 @@ message AggregationQuery { // count. // // This provides a way to set an upper bound on the number of entities - // to scan, limiting latency and cost. + // to scan, limiting latency, and cost. // // Unspecified is interpreted as no bound. // @@ -158,10 +163,58 @@ message AggregationQuery { [(google.api.field_behavior) = OPTIONAL]; } + // Sum of the values of the requested property. + // + // * Only numeric values will be aggregated. All non-numeric values + // including `NULL` are skipped. + // + // * If the aggregated values contain `NaN`, returns `NaN`. Infinity math + // follows IEEE-754 standards. + // + // * If the aggregated value set is empty, returns 0. + // + // * Returns a 64-bit integer if all aggregated numbers are integers and the + // sum result does not overflow. Otherwise, the result is returned as a + // double. Note that even if all the aggregated values are integers, the + // result is returned as a double if it cannot fit within a 64-bit signed + // integer. When this occurs, the returned value will lose precision. + // + // * When underflow occurs, floating-point aggregation is non-deterministic. + // This means that running the same query repeatedly without any changes to + // the underlying values could produce slightly different results each + // time. In those cases, values should be stored as integers over + // floating-point numbers. + message Sum { + // The property to aggregate on. + PropertyReference property = 1; + } + + // Average of the values of the requested property. + // + // * Only numeric values will be aggregated. All non-numeric values + // including `NULL` are skipped. + // + // * If the aggregated values contain `NaN`, returns `NaN`. Infinity math + // follows IEEE-754 standards. + // + // * If the aggregated value set is empty, returns `NULL`. + // + // * Always returns the result as a double. + message Avg { + // The property to aggregate on. + PropertyReference property = 1; + } + // The type of aggregation to perform, required. oneof operator { // Count aggregator. Count count = 1; + + // Sum aggregator. + Sum sum = 2; + + // Average aggregator. + Avg avg = 3; } // Optional. Optional name of the property to store the result of the @@ -175,7 +228,7 @@ message AggregationQuery { // COUNT_UP_TO(1) AS count_up_to_1, // COUNT_UP_TO(2), // COUNT_UP_TO(3) AS count_up_to_3, - // COUNT_UP_TO(4) + // COUNT(*) // OVER ( // ... // ); @@ -188,7 +241,7 @@ message AggregationQuery { // COUNT_UP_TO(1) AS count_up_to_1, // COUNT_UP_TO(2) AS property_1, // COUNT_UP_TO(3) AS count_up_to_3, - // COUNT_UP_TO(4) AS property_2 + // COUNT(*) AS property_2 // OVER ( // ... // ); @@ -226,8 +279,13 @@ message KindExpression { // A reference to a property relative to the kind expressions. message PropertyReference { - // The name of the property. - // If name includes "."s, it may be interpreted as a property name path. + // A reference to a property. + // + // Requires: + // + // * MUST be a dot-delimited (`.`) string of segments, where each segment + // conforms to [entity property name][google.datastore.v1.Entity.properties] + // limitations. string name = 2; } @@ -337,8 +395,9 @@ message PropertyFilter { // // Requires: // - // * That `value` is a non-empty `ArrayValue` with at most 10 values. - // * No other `IN` or `NOT_IN` is in the same query. + // * That `value` is a non-empty `ArrayValue`, subject to disjunction + // limits. + // * No `NOT_IN` is in the same query. IN = 6; // The given `property` is not equal to the given `value`. @@ -354,7 +413,7 @@ message PropertyFilter { // Requires: // // * That `value` is an entity key. - // * No other `HAS_ANCESTOR` is in the same query. + // * All evaluated disjunctions must have the same `HAS_ANCESTOR` filter. HAS_ANCESTOR = 11; // The value of the `property` is not in the given array. @@ -362,7 +421,7 @@ message PropertyFilter { // Requires: // // * That `value` is a non-empty `ArrayValue` with at most 10 values. - // * No other `IN`, `NOT_IN`, `NOT_EQUAL` is in the same query. + // * No other `OR`, `IN`, `NOT_IN`, `NOT_EQUAL` is in the same query. // * That `field` comes first in the `order_by`. NOT_IN = 13; } diff --git a/third_party/googleapis/google/devtools/artifactregistry/BUILD.bazel b/third_party/googleapis/google/devtools/artifactregistry/BUILD.bazel index 802f15b6c..833ca7d8d 100644 --- a/third_party/googleapis/google/devtools/artifactregistry/BUILD.bazel +++ b/third_party/googleapis/google/devtools/artifactregistry/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-artifact_registry", "ruby-cloud-env-prefix=ARTIFACT_REGISTRY", - "ruby-cloud-wrapper-of=v1:0.0;v1beta2:0.0", + "ruby-cloud-wrapper-of=v1:0.12;v1beta2:0.11", "ruby-cloud-product-url=https://cloud.google.com/artifact-registry/", "ruby-cloud-api-id=artifactregistry.googleapis.com", "ruby-cloud-api-shortname=artifactregistry", ], ruby_cloud_description = "Artifact Registry stores and manages build artifacts in a scalable and integrated service built on Google infrastructure.", ruby_cloud_title = "Artifact Registry", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/devtools/artifactregistry/v1/BUILD.bazel b/third_party/googleapis/google/devtools/artifactregistry/v1/BUILD.bazel index 6cb54ff99..66136c471 100644 --- a/third_party/googleapis/google/devtools/artifactregistry/v1/BUILD.bazel +++ b/third_party/googleapis/google/devtools/artifactregistry/v1/BUILD.bazel @@ -42,6 +42,7 @@ proto_library( "//google/iam/v1:policy_proto", "//google/longrunning:operations_proto", "//google/rpc:status_proto", + "@com_google_protobuf//:duration_proto", "@com_google_protobuf//:empty_proto", "@com_google_protobuf//:field_mask_proto", "@com_google_protobuf//:struct_proto", @@ -132,13 +133,12 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( name = "artifactregistry_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/devtools/artifactregistry/v1", + importpath = "cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb", protos = [":artifactregistry_proto"], deps = [ "//google/api:annotations_go_proto", @@ -152,8 +152,9 @@ go_gapic_library( name = "artifactregistry_go_gapic", srcs = [":artifactregistry_proto_with_info"], grpc_service_config = "artifactregistry_grpc_service_config.json", - importpath = "cloud.google.com/go/devtools/artifactregistry/apiv1;artifactregistry", + importpath = "cloud.google.com/go/artifactregistry/apiv1;artifactregistry", metadata = True, + release_level = "ga", rest_numeric_enums = True, service_yaml = "artifactregistry_v1.yaml", transport = "grpc+rest", @@ -168,19 +169,13 @@ go_gapic_library( ], ) -go_test( - name = "artifactregistry_go_gapic_test", - srcs = [":artifactregistry_go_gapic_srcjar_test"], - embed = [":artifactregistry_go_gapic"], - importpath = "cloud.google.com/go/devtools/artifactregistry/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-devtools-artifactregistry-v1-go", deps = [ ":artifactregistry_go_gapic", ":artifactregistry_go_gapic_srcjar-metadata.srcjar", + ":artifactregistry_go_gapic_srcjar-snippets.srcjar", ":artifactregistry_go_gapic_srcjar-test.srcjar", ":artifactregistry_go_proto", ], @@ -238,7 +233,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -247,23 +241,15 @@ php_proto_library( deps = [":artifactregistry_proto"], ) -php_grpc_library( - name = "artifactregistry_php_grpc", - srcs = [":artifactregistry_proto"], - deps = [":artifactregistry_php_proto"], -) - php_gapic_library( name = "artifactregistry_php_gapic", srcs = [":artifactregistry_proto_with_info"], grpc_service_config = "artifactregistry_grpc_service_config.json", + migration_mode = "NEW_SURFACE_ONLY", rest_numeric_enums = True, service_yaml = "artifactregistry_v1.yaml", transport = "grpc+rest", - deps = [ - ":artifactregistry_php_grpc", - ":artifactregistry_php_proto", - ], + deps = [":artifactregistry_php_proto"], ) # Open Source Packages @@ -271,7 +257,6 @@ php_gapic_assembly_pkg( name = "google-cloud-devtools-artifactregistry-v1-php", deps = [ ":artifactregistry_php_gapic", - ":artifactregistry_php_grpc", ":artifactregistry_php_proto", ], ) @@ -343,6 +328,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Artifact Registry stores and manages build artifacts in a scalable and integrated service built on Google infrastructure.", ruby_cloud_title = "Artifact Registry V1", service_yaml = "artifactregistry_v1.yaml", + transport = "grpc+rest", deps = [ ":artifactregistry_ruby_grpc", ":artifactregistry_ruby_proto", diff --git a/third_party/googleapis/google/devtools/artifactregistry/v1/apt_artifact.proto b/third_party/googleapis/google/devtools/artifactregistry/v1/apt_artifact.proto index 9e6fa09ee..003a2b516 100644 --- a/third_party/googleapis/google/devtools/artifactregistry/v1/apt_artifact.proto +++ b/third_party/googleapis/google/devtools/artifactregistry/v1/apt_artifact.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.ArtifactRegistry.V1"; -option go_package = "google.golang.org/genproto/googleapis/devtools/artifactregistry/v1;artifactregistry"; +option go_package = "cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb;artifactregistrypb"; option java_multiple_files = true; option java_outer_classname = "AptArtifactProto"; option java_package = "com.google.devtools.artifactregistry.v1"; diff --git a/third_party/googleapis/google/devtools/artifactregistry/v1/artifact.proto b/third_party/googleapis/google/devtools/artifactregistry/v1/artifact.proto index f5c1fa11c..7955f5f8d 100644 --- a/third_party/googleapis/google/devtools/artifactregistry/v1/artifact.proto +++ b/third_party/googleapis/google/devtools/artifactregistry/v1/artifact.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.ArtifactRegistry.V1"; -option go_package = "google.golang.org/genproto/googleapis/devtools/artifactregistry/v1;artifactregistry"; +option go_package = "cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb;artifactregistrypb"; option java_multiple_files = true; option java_outer_classname = "ArtifactProto"; option java_package = "com.google.devtools.artifactregistry.v1"; diff --git a/third_party/googleapis/google/devtools/artifactregistry/v1/artifactregistry_v1.yaml b/third_party/googleapis/google/devtools/artifactregistry/v1/artifactregistry_v1.yaml index 34243139c..613ac895b 100644 --- a/third_party/googleapis/google/devtools/artifactregistry/v1/artifactregistry_v1.yaml +++ b/third_party/googleapis/google/devtools/artifactregistry/v1/artifactregistry_v1.yaml @@ -14,7 +14,6 @@ types: - name: google.devtools.artifactregistry.v1.ImportAptArtifactsResponse - name: google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata - name: google.devtools.artifactregistry.v1.ImportYumArtifactsResponse -- name: google.devtools.artifactregistry.v1.KfpArtifact - name: google.devtools.artifactregistry.v1.OperationMetadata documentation: @@ -66,6 +65,10 @@ authentication: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform, https://www.googleapis.com/auth/cloud-platform.read-only + - selector: google.devtools.artifactregistry.v1.ArtifactRegistry.BatchDeleteVersions + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform - selector: google.devtools.artifactregistry.v1.ArtifactRegistry.CreateRepository oauth: canonical_scopes: |- diff --git a/third_party/googleapis/google/devtools/artifactregistry/v1/file.proto b/third_party/googleapis/google/devtools/artifactregistry/v1/file.proto index e62a72ea7..695442751 100644 --- a/third_party/googleapis/google/devtools/artifactregistry/v1/file.proto +++ b/third_party/googleapis/google/devtools/artifactregistry/v1/file.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.ArtifactRegistry.V1"; -option go_package = "google.golang.org/genproto/googleapis/devtools/artifactregistry/v1;artifactregistry"; +option go_package = "cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb;artifactregistrypb"; option java_multiple_files = true; option java_outer_classname = "FileProto"; option java_package = "com.google.devtools.artifactregistry.v1"; diff --git a/third_party/googleapis/google/devtools/artifactregistry/v1/package.proto b/third_party/googleapis/google/devtools/artifactregistry/v1/package.proto index 58de095ab..1a604e399 100644 --- a/third_party/googleapis/google/devtools/artifactregistry/v1/package.proto +++ b/third_party/googleapis/google/devtools/artifactregistry/v1/package.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.ArtifactRegistry.V1"; -option go_package = "google.golang.org/genproto/googleapis/devtools/artifactregistry/v1;artifactregistry"; +option go_package = "cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb;artifactregistrypb"; option java_multiple_files = true; option java_outer_classname = "PackageProto"; option java_package = "com.google.devtools.artifactregistry.v1"; @@ -36,7 +36,7 @@ message Package { }; // The name of the package, for example: - // "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1". + // `projects/p1/locations/us-central1/repositories/repo1/packages/pkg1`. // If the package ID part contains slashes, the slashes are escaped. string name = 1; diff --git a/third_party/googleapis/google/devtools/artifactregistry/v1/repository.proto b/third_party/googleapis/google/devtools/artifactregistry/v1/repository.proto index 092ade2b8..d8b4558a3 100644 --- a/third_party/googleapis/google/devtools/artifactregistry/v1/repository.proto +++ b/third_party/googleapis/google/devtools/artifactregistry/v1/repository.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,16 +18,327 @@ package google.devtools.artifactregistry.v1; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/protobuf/duration.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.ArtifactRegistry.V1"; -option go_package = "google.golang.org/genproto/googleapis/devtools/artifactregistry/v1;artifactregistry"; +option go_package = "cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb;artifactregistrypb"; option java_multiple_files = true; option java_outer_classname = "RepositoryProto"; option java_package = "com.google.devtools.artifactregistry.v1"; option php_namespace = "Google\\Cloud\\ArtifactRegistry\\V1"; option ruby_package = "Google::Cloud::ArtifactRegistry::V1"; +option (google.api.resource_definition) = { + type: "secretmanager.googleapis.com/SecretVersion" + pattern: "projects/{project}/secrets/{secret}/versions/{secret_version}" +}; + +// Artifact policy configuration for the repository contents. +message UpstreamPolicy { + // The user-provided ID of the upstream policy. + string id = 1; + + // A reference to the repository resource, for example: + // `projects/p1/locations/us-central1/repositories/repo1`. + string repository = 2 [(google.api.resource_reference) = { + type: "artifactregistry.googleapis.com/Repository" + }]; + + // Entries with a greater priority value take precedence in the pull order. + int32 priority = 3; +} + +// CleanupPolicyCondition is a set of conditions attached to a CleanupPolicy. +// If multiple entries are set, all must be satisfied for the condition to be +// satisfied. +message CleanupPolicyCondition { + // Statuses applying to versions. + enum TagState { + // Tag status not specified. + TAG_STATE_UNSPECIFIED = 0; + + // Applies to tagged versions only. + TAGGED = 1; + + // Applies to untagged versions only. + UNTAGGED = 2; + + // Applies to all versions. + ANY = 3; + } + + // Match versions by tag status. + optional TagState tag_state = 2; + + // Match versions by tag prefix. Applied on any prefix match. + repeated string tag_prefixes = 3; + + // Match versions by version name prefix. Applied on any prefix match. + repeated string version_name_prefixes = 4; + + // Match versions by package prefix. Applied on any prefix match. + repeated string package_name_prefixes = 5; + + // Match versions older than a duration. + optional google.protobuf.Duration older_than = 6; + + // Match versions newer than a duration. + optional google.protobuf.Duration newer_than = 7; +} + +// CleanupPolicyMostRecentVersions is an alternate condition of a CleanupPolicy +// for retaining a minimum number of versions. +message CleanupPolicyMostRecentVersions { + // List of package name prefixes that will apply this rule. + repeated string package_name_prefixes = 1; + + // Minimum number of versions to keep. + optional int32 keep_count = 2; +} + +// Artifact policy configuration for repository cleanup policies. +message CleanupPolicy { + // Action type for a cleanup policy. + enum Action { + // Action not specified. + ACTION_UNSPECIFIED = 0; + + // Delete action. + DELETE = 1; + + // Keep action. + KEEP = 2; + } + + oneof condition_type { + // Policy condition for matching versions. + CleanupPolicyCondition condition = 2; + + // Policy condition for retaining a minimum number of versions. May only be + // specified with a Keep action. + CleanupPolicyMostRecentVersions most_recent_versions = 4; + } + + // The user-provided ID of the cleanup policy. + string id = 1; + + // Policy action. + Action action = 3; +} + +// Virtual repository configuration. +message VirtualRepositoryConfig { + // Policies that configure the upstream artifacts distributed by the Virtual + // Repository. Upstream policies cannot be set on a standard repository. + repeated UpstreamPolicy upstream_policies = 1; +} + +// Remote repository configuration. +message RemoteRepositoryConfig { + // The credentials to access the remote repository. + message UpstreamCredentials { + // Username and password credentials. + message UsernamePasswordCredentials { + // The username to access the remote repository. + string username = 1; + + // The Secret Manager key version that holds the password to access the + // remote repository. Must be in the format of + // `projects/{project}/secrets/{secret}/versions/{version}`. + string password_secret_version = 2 [(google.api.resource_reference) = { + type: "secretmanager.googleapis.com/SecretVersion" + }]; + } + + oneof credentials { + // Use username and password to access the remote repository. + UsernamePasswordCredentials username_password_credentials = 1; + } + } + + // Configuration for a Docker remote repository. + message DockerRepository { + // Predefined list of publicly available Docker repositories like Docker + // Hub. + enum PublicRepository { + // Unspecified repository. + PUBLIC_REPOSITORY_UNSPECIFIED = 0; + + // Docker Hub. + DOCKER_HUB = 1; + } + + // Address of the remote repository. + oneof upstream { + // One of the publicly available Docker repositories supported by Artifact + // Registry. + PublicRepository public_repository = 1; + } + } + + // Configuration for a Maven remote repository. + message MavenRepository { + // Predefined list of publicly available Maven repositories like Maven + // Central. + enum PublicRepository { + // Unspecified repository. + PUBLIC_REPOSITORY_UNSPECIFIED = 0; + + // Maven Central. + MAVEN_CENTRAL = 1; + } + + // Address of the remote repository. + oneof upstream { + // One of the publicly available Maven repositories supported by Artifact + // Registry. + PublicRepository public_repository = 1; + } + } + + // Configuration for a Npm remote repository. + message NpmRepository { + // Predefined list of publicly available NPM repositories like npmjs. + enum PublicRepository { + // Unspecified repository. + PUBLIC_REPOSITORY_UNSPECIFIED = 0; + + // npmjs. + NPMJS = 1; + } + + // Address of the remote repository + oneof upstream { + // One of the publicly available Npm repositories supported by Artifact + // Registry. + PublicRepository public_repository = 1; + } + } + + // Configuration for a Python remote repository. + message PythonRepository { + // Predefined list of publicly available Python repositories like PyPI.org. + enum PublicRepository { + // Unspecified repository. + PUBLIC_REPOSITORY_UNSPECIFIED = 0; + + // PyPI. + PYPI = 1; + } + + // Address of the remote repository. + oneof upstream { + // One of the publicly available Python repositories supported by Artifact + // Registry. + PublicRepository public_repository = 1; + } + } + + // Configuration for an Apt remote repository. + message AptRepository { + // Publicly available Apt repositories constructed from a common repository + // base and a custom repository path. + message PublicRepository { + // Predefined list of publicly available repository bases for Apt. + enum RepositoryBase { + // Unspecified repository base. + REPOSITORY_BASE_UNSPECIFIED = 0; + + // Debian. + DEBIAN = 1; + + // Ubuntu LTS/Pro. + UBUNTU = 2; + } + + // A common public repository base for Apt. + RepositoryBase repository_base = 1; + + // A custom field to define a path to a specific repository from the base. + string repository_path = 2; + } + + // Address of the remote repository. + oneof upstream { + // One of the publicly available Apt repositories supported by Artifact + // Registry. + PublicRepository public_repository = 1; + } + } + + // Configuration for a Yum remote repository. + message YumRepository { + // Publicly available Yum repositories constructed from a common repository + // base and a custom repository path. + message PublicRepository { + // Predefined list of publicly available repository bases for Yum. + enum RepositoryBase { + // Unspecified repository base. + REPOSITORY_BASE_UNSPECIFIED = 0; + + // CentOS. + CENTOS = 1; + + // CentOS Debug. + CENTOS_DEBUG = 2; + + // CentOS Vault. + CENTOS_VAULT = 3; + + // CentOS Stream. + CENTOS_STREAM = 4; + + // Rocky. + ROCKY = 5; + + // Fedora Extra Packages for Enterprise Linux (EPEL). + EPEL = 6; + } + + // A common public repository base for Yum. + RepositoryBase repository_base = 1; + + // A custom field to define a path to a specific repository from the base. + string repository_path = 2; + } + + // Address of the remote repository. + oneof upstream { + // One of the publicly available Yum repositories supported by Artifact + // Registry. + PublicRepository public_repository = 1; + } + } + + // Settings specific to the remote repository. + oneof remote_source { + // Specific settings for a Docker remote repository. + DockerRepository docker_repository = 2; + + // Specific settings for a Maven remote repository. + MavenRepository maven_repository = 3; + + // Specific settings for an Npm remote repository. + NpmRepository npm_repository = 4; + + // Specific settings for a Python remote repository. + PythonRepository python_repository = 5; + + // Specific settings for an Apt remote repository. + AptRepository apt_repository = 6; + + // Specific settings for a Yum remote repository. + YumRepository yum_repository = 7; + } + + // The description of the remote source. + string description = 1; + + // Optional. The credentials used to access the remote repository. + UpstreamCredentials upstream_credentials = 9 + [(google.api.field_behavior) = OPTIONAL]; +} // A Repository for storing artifacts with a specific format. message Repository { @@ -62,6 +373,16 @@ message Repository { VersionPolicy version_policy = 2; } + // DockerRepositoryConfig is docker related repository details. + // Provides additional configuration details for repositories of the docker + // format type. + message DockerRepositoryConfig { + // The repository which enabled this flag prevents all tags from being + // modified, moved or deleted. This does not prevent tags from being + // created. + bool immutable_tags = 1; + } + // A package format. enum Format { // Unspecified package format. @@ -84,6 +405,28 @@ message Repository { // Python package format. PYTHON = 8; + + // Kubeflow Pipelines package format. + KFP = 9; + + // Go package format. + GO = 10; + } + + // The mode configures the repository to serve artifacts from different + // sources. + enum Mode { + // Unspecified mode. + MODE_UNSPECIFIED = 0; + + // A standard repository storing artifacts. + STANDARD_REPOSITORY = 1; + + // A virtual repository to serve artifacts from one or more sources. + VIRTUAL_REPOSITORY = 2; + + // A remote repository to serve artifacts from a remote source. + REMOTE_REPOSITORY = 3; } // Repository-specific configurations. @@ -91,14 +434,28 @@ message Repository { // Maven repository config contains repository level configuration // for the repositories of maven type. MavenRepositoryConfig maven_config = 9; + + // Docker repository config contains repository level configuration + // for the repositories of docker type. + DockerRepositoryConfig docker_config = 17; + } + + // Repository configuration specific to the Mode value being selected (Remote + // or Virtual) + oneof mode_config { + // Configuration specific for a Virtual Repository. + VirtualRepositoryConfig virtual_repository_config = 14; + + // Configuration specific for a Remote Repository. + RemoteRepositoryConfig remote_repository_config = 15; } // The name of the repository, for example: - // "projects/p1/locations/us-central1/repositories/repo1". + // `projects/p1/locations/us-central1/repositories/repo1`. string name = 1; - // The format of packages that are stored in the repository. - Format format = 2; + // Optional. The format of packages that are stored in the repository. + Format format = 2 [(google.api.field_behavior) = OPTIONAL]; // The user-provided description of the repository. string description = 3; @@ -110,22 +467,47 @@ message Repository { // and dashes. map labels = 4; - // The time when the repository was created. - google.protobuf.Timestamp create_time = 5; + // Output only. The time when the repository was created. + google.protobuf.Timestamp create_time = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // The time when the repository was last updated. - google.protobuf.Timestamp update_time = 6; + // Output only. The time when the repository was last updated. + google.protobuf.Timestamp update_time = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; // The Cloud KMS resource name of the customer managed encryption key that's // used to encrypt the contents of the Repository. Has the form: // `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. // This value may not be changed after the Repository has been created. string kms_key_name = 8; + + // Optional. The mode of the repository. + Mode mode = 10 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Cleanup policies for this repository. Cleanup policies indicate + // when certain package versions can be automatically deleted. Map keys are + // policy IDs supplied by users during policy creation. They must unique + // within a repository and be under 128 characters in length. + map cleanup_policies = 12 + [(google.api.field_behavior) = OPTIONAL]; + + // Output only. The size, in bytes, of all artifact storage in this + // repository. Repositories that are generally available or in public preview + // use this to calculate storage costs. + int64 size_bytes = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. If set, the repository satisfies physical zone separation. + bool satisfies_pzs = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. If true, the cleanup pipeline is prevented from deleting versions + // in this repository. + bool cleanup_policy_dry_run = 18 [(google.api.field_behavior) = OPTIONAL]; } // The request to list repositories. message ListRepositoriesRequest { - // Required. The name of the parent resource whose repositories will be listed. + // Required. The name of the parent resource whose repositories will be + // listed. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -163,7 +545,8 @@ message GetRepositoryRequest { // The request to create a new repository. message CreateRepositoryRequest { - // Required. The name of the parent resource where the repository will be created. + // Required. The name of the parent resource where the repository will be + // created. string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -171,11 +554,11 @@ message CreateRepositoryRequest { } ]; - // The repository id to use for this repository. - string repository_id = 2; + // Required. The repository id to use for this repository. + string repository_id = 2 [(google.api.field_behavior) = REQUIRED]; - // The repository to be created. - Repository repository = 3; + // Required. The repository to be created. + Repository repository = 3 [(google.api.field_behavior) = REQUIRED]; } // The request to update a repository. diff --git a/third_party/googleapis/google/devtools/artifactregistry/v1/service.proto b/third_party/googleapis/google/devtools/artifactregistry/v1/service.proto index ec8d3a966..574f509d3 100644 --- a/third_party/googleapis/google/devtools/artifactregistry/v1/service.proto +++ b/third_party/googleapis/google/devtools/artifactregistry/v1/service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -34,7 +34,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/empty.proto"; option csharp_namespace = "Google.Cloud.ArtifactRegistry.V1"; -option go_package = "google.golang.org/genproto/googleapis/devtools/artifactregistry/v1;artifactregistry"; +option go_package = "cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb;artifactregistrypb"; option java_multiple_files = true; option java_outer_classname = "ServiceProto"; option java_package = "com.google.devtools.artifactregistry.v1"; @@ -276,6 +276,21 @@ service ArtifactRegistry { }; } + // Deletes multiple versions across a repository. The returned operation will + // complete once the versions have been deleted. + rpc BatchDeleteVersions(BatchDeleteVersionsRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*/repositories/*/packages/*}/versions:batchDelete" + body: "*" + }; + option (google.api.method_signature) = "parent,names"; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "google.devtools.artifactregistry.v1.BatchDeleteVersionsMetadata" + }; + } + // Lists files. rpc ListFiles(ListFilesRequest) returns (ListFilesResponse) { option (google.api.http) = { diff --git a/third_party/googleapis/google/devtools/artifactregistry/v1/settings.proto b/third_party/googleapis/google/devtools/artifactregistry/v1/settings.proto index d5602085d..41b8d873a 100644 --- a/third_party/googleapis/google/devtools/artifactregistry/v1/settings.proto +++ b/third_party/googleapis/google/devtools/artifactregistry/v1/settings.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.ArtifactRegistry.V1"; -option go_package = "google.golang.org/genproto/googleapis/devtools/artifactregistry/v1;artifactregistry"; +option go_package = "cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb;artifactregistrypb"; option java_multiple_files = true; option java_outer_classname = "SettingsProto"; option java_package = "com.google.devtools.artifactregistry.v1"; diff --git a/third_party/googleapis/google/devtools/artifactregistry/v1/tag.proto b/third_party/googleapis/google/devtools/artifactregistry/v1/tag.proto index 9e8dc6d70..bd4be6b14 100644 --- a/third_party/googleapis/google/devtools/artifactregistry/v1/tag.proto +++ b/third_party/googleapis/google/devtools/artifactregistry/v1/tag.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,7 +20,7 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.ArtifactRegistry.V1"; -option go_package = "google.golang.org/genproto/googleapis/devtools/artifactregistry/v1;artifactregistry"; +option go_package = "cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb;artifactregistrypb"; option java_multiple_files = true; option java_outer_classname = "TagProto"; option java_package = "com.google.devtools.artifactregistry.v1"; @@ -51,7 +51,9 @@ message Tag { // The request to list tags. message ListTagsRequest { - // The name of the parent resource whose tags will be listed. + // The name of the parent package whose tags will be listed. + // For example: + // `projects/p1/locations/us-central1/repositories/repo1/packages/pkg1`. string parent = 1; // An expression for filtering the results of the request. Filter rules are diff --git a/third_party/googleapis/google/devtools/artifactregistry/v1/version.proto b/third_party/googleapis/google/devtools/artifactregistry/v1/version.proto index 25b11ed73..684c1e4dc 100644 --- a/third_party/googleapis/google/devtools/artifactregistry/v1/version.proto +++ b/third_party/googleapis/google/devtools/artifactregistry/v1/version.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -23,7 +23,7 @@ import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.ArtifactRegistry.V1"; -option go_package = "google.golang.org/genproto/googleapis/devtools/artifactregistry/v1;artifactregistry"; +option go_package = "cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb;artifactregistrypb"; option java_multiple_files = true; option java_outer_classname = "VersionProto"; option java_package = "com.google.devtools.artifactregistry.v1"; @@ -128,6 +128,26 @@ message DeleteVersionRequest { bool force = 2; } +// The request to delete multiple versions across a repository. +message BatchDeleteVersionsRequest { + // The name of the repository holding all requested versions. + string parent = 1 [(google.api.resource_reference) = { + child_type: "artifactregistry.googleapis.com/Version" + }]; + + // Required. The names of the versions to delete. + // A maximum of 10000 versions can be deleted in a batch. + repeated string names = 2 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "artifactregistry.googleapis.com/Version" + } + ]; + + // If true, the request is performed without deleting data, following AIP-163. + bool validate_only = 3; +} + // The metadata of an LRO from deleting multiple versions. message BatchDeleteVersionsMetadata { // The versions the operation failed to delete. diff --git a/third_party/googleapis/google/devtools/artifactregistry/v1/vpcsc_config.proto b/third_party/googleapis/google/devtools/artifactregistry/v1/vpcsc_config.proto index 852413a7a..16cbe5f37 100644 --- a/third_party/googleapis/google/devtools/artifactregistry/v1/vpcsc_config.proto +++ b/third_party/googleapis/google/devtools/artifactregistry/v1/vpcsc_config.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.ArtifactRegistry.V1"; -option go_package = "google.golang.org/genproto/googleapis/devtools/artifactregistry/v1;artifactregistry"; +option go_package = "cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb;artifactregistrypb"; option java_multiple_files = true; option java_outer_classname = "VPCSCConfigProto"; option java_package = "com.google.devtools.artifactregistry.v1"; diff --git a/third_party/googleapis/google/devtools/artifactregistry/v1/yum_artifact.proto b/third_party/googleapis/google/devtools/artifactregistry/v1/yum_artifact.proto index 4e7870d40..015696b6a 100644 --- a/third_party/googleapis/google/devtools/artifactregistry/v1/yum_artifact.proto +++ b/third_party/googleapis/google/devtools/artifactregistry/v1/yum_artifact.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.ArtifactRegistry.V1"; -option go_package = "google.golang.org/genproto/googleapis/devtools/artifactregistry/v1;artifactregistry"; +option go_package = "cloud.google.com/go/artifactregistry/apiv1/artifactregistrypb;artifactregistrypb"; option java_multiple_files = true; option java_outer_classname = "YumArtifactProto"; option java_package = "com.google.devtools.artifactregistry.v1"; diff --git a/third_party/googleapis/google/devtools/artifactregistry/v1beta2/BUILD.bazel b/third_party/googleapis/google/devtools/artifactregistry/v1beta2/BUILD.bazel index dc5746f4d..8945c4b39 100644 --- a/third_party/googleapis/google/devtools/artifactregistry/v1beta2/BUILD.bazel +++ b/third_party/googleapis/google/devtools/artifactregistry/v1beta2/BUILD.bazel @@ -130,13 +130,12 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( name = "artifactregistry_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/devtools/artifactregistry/v1beta2", + importpath = "cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb", protos = [":artifactregistry_proto"], deps = [ "//google/api:annotations_go_proto", @@ -150,8 +149,9 @@ go_gapic_library( name = "artifactregistry_go_gapic", srcs = [":artifactregistry_proto_with_info"], grpc_service_config = "artifactregistry_grpc_service_config.json", - importpath = "cloud.google.com/go/devtools/artifactregistry/apiv1beta2;artifactregistry", + importpath = "cloud.google.com/go/artifactregistry/apiv1beta2;artifactregistry", metadata = True, + release_level = "beta", rest_numeric_enums = True, service_yaml = "artifactregistry_v1beta2.yaml", transport = "grpc+rest", @@ -166,19 +166,13 @@ go_gapic_library( ], ) -go_test( - name = "artifactregistry_go_gapic_test", - srcs = [":artifactregistry_go_gapic_srcjar_test"], - embed = [":artifactregistry_go_gapic"], - importpath = "cloud.google.com/go/devtools/artifactregistry/apiv1beta2", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-devtools-artifactregistry-v1beta2-go", deps = [ ":artifactregistry_go_gapic", ":artifactregistry_go_gapic_srcjar-metadata.srcjar", + ":artifactregistry_go_gapic_srcjar-snippets.srcjar", ":artifactregistry_go_gapic_srcjar-test.srcjar", ":artifactregistry_go_proto", ], @@ -236,7 +230,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -245,12 +238,6 @@ php_proto_library( deps = [":artifactregistry_proto"], ) -php_grpc_library( - name = "artifactregistry_php_grpc", - srcs = [":artifactregistry_proto"], - deps = [":artifactregistry_php_proto"], -) - php_gapic_library( name = "artifactregistry_php_gapic", srcs = [":artifactregistry_proto_with_info"], @@ -258,10 +245,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "artifactregistry_v1beta2.yaml", transport = "grpc+rest", - deps = [ - ":artifactregistry_php_grpc", - ":artifactregistry_php_proto", - ], + deps = [":artifactregistry_php_proto"], ) # Open Source Packages @@ -269,7 +253,6 @@ php_gapic_assembly_pkg( name = "google-cloud-devtools-artifactregistry-v1beta2-php", deps = [ ":artifactregistry_php_gapic", - ":artifactregistry_php_grpc", ":artifactregistry_php_proto", ], ) @@ -341,6 +324,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Artifact Registry stores and manages build artifacts in a scalable and integrated service built on Google infrastructure.", ruby_cloud_title = "Artifact Registry V1beta2", service_yaml = "artifactregistry_v1beta2.yaml", + transport = "grpc+rest", deps = [ ":artifactregistry_ruby_grpc", ":artifactregistry_ruby_proto", diff --git a/third_party/googleapis/google/devtools/artifactregistry/v1beta2/apt_artifact.proto b/third_party/googleapis/google/devtools/artifactregistry/v1beta2/apt_artifact.proto index c2fa7de4f..4ac8f8f43 100644 --- a/third_party/googleapis/google/devtools/artifactregistry/v1beta2/apt_artifact.proto +++ b/third_party/googleapis/google/devtools/artifactregistry/v1beta2/apt_artifact.proto @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.ArtifactRegistry.V1Beta2"; -option go_package = "google.golang.org/genproto/googleapis/devtools/artifactregistry/v1beta2;artifactregistry"; +option go_package = "cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb;artifactregistrypb"; option java_multiple_files = true; option java_outer_classname = "AptArtifactProto"; option java_package = "com.google.devtools.artifactregistry.v1beta2"; diff --git a/third_party/googleapis/google/devtools/artifactregistry/v1beta2/file.proto b/third_party/googleapis/google/devtools/artifactregistry/v1beta2/file.proto index 7d1cfb2dd..645ee7ebb 100644 --- a/third_party/googleapis/google/devtools/artifactregistry/v1beta2/file.proto +++ b/third_party/googleapis/google/devtools/artifactregistry/v1beta2/file.proto @@ -20,7 +20,7 @@ import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.ArtifactRegistry.V1Beta2"; -option go_package = "google.golang.org/genproto/googleapis/devtools/artifactregistry/v1beta2;artifactregistry"; +option go_package = "cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb;artifactregistrypb"; option java_multiple_files = true; option java_outer_classname = "FileProto"; option java_package = "com.google.devtools.artifactregistry.v1beta2"; diff --git a/third_party/googleapis/google/devtools/artifactregistry/v1beta2/package.proto b/third_party/googleapis/google/devtools/artifactregistry/v1beta2/package.proto index a2336dd8b..0209490ff 100644 --- a/third_party/googleapis/google/devtools/artifactregistry/v1beta2/package.proto +++ b/third_party/googleapis/google/devtools/artifactregistry/v1beta2/package.proto @@ -19,7 +19,7 @@ package google.devtools.artifactregistry.v1beta2; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.ArtifactRegistry.V1Beta2"; -option go_package = "google.golang.org/genproto/googleapis/devtools/artifactregistry/v1beta2;artifactregistry"; +option go_package = "cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb;artifactregistrypb"; option java_multiple_files = true; option java_outer_classname = "PackageProto"; option java_package = "com.google.devtools.artifactregistry.v1beta2"; diff --git a/third_party/googleapis/google/devtools/artifactregistry/v1beta2/repository.proto b/third_party/googleapis/google/devtools/artifactregistry/v1beta2/repository.proto index 80ce9b486..903ef0290 100644 --- a/third_party/googleapis/google/devtools/artifactregistry/v1beta2/repository.proto +++ b/third_party/googleapis/google/devtools/artifactregistry/v1beta2/repository.proto @@ -22,7 +22,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.ArtifactRegistry.V1Beta2"; -option go_package = "google.golang.org/genproto/googleapis/devtools/artifactregistry/v1beta2;artifactregistry"; +option go_package = "cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb;artifactregistrypb"; option java_multiple_files = true; option java_outer_classname = "RepositoryProto"; option java_package = "com.google.devtools.artifactregistry.v1beta2"; diff --git a/third_party/googleapis/google/devtools/artifactregistry/v1beta2/service.proto b/third_party/googleapis/google/devtools/artifactregistry/v1beta2/service.proto index abc451908..976bd6700 100644 --- a/third_party/googleapis/google/devtools/artifactregistry/v1beta2/service.proto +++ b/third_party/googleapis/google/devtools/artifactregistry/v1beta2/service.proto @@ -32,7 +32,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/empty.proto"; option csharp_namespace = "Google.Cloud.ArtifactRegistry.V1Beta2"; -option go_package = "google.golang.org/genproto/googleapis/devtools/artifactregistry/v1beta2;artifactregistry"; +option go_package = "cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb;artifactregistrypb"; option java_multiple_files = true; option java_outer_classname = "ServiceProto"; option java_package = "com.google.devtools.artifactregistry.v1beta2"; diff --git a/third_party/googleapis/google/devtools/artifactregistry/v1beta2/settings.proto b/third_party/googleapis/google/devtools/artifactregistry/v1beta2/settings.proto index 2bd6e4126..111556f11 100644 --- a/third_party/googleapis/google/devtools/artifactregistry/v1beta2/settings.proto +++ b/third_party/googleapis/google/devtools/artifactregistry/v1beta2/settings.proto @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.ArtifactRegistry.V1Beta2"; -option go_package = "google.golang.org/genproto/googleapis/devtools/artifactregistry/v1beta2;artifactregistry"; +option go_package = "cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb;artifactregistrypb"; option java_multiple_files = true; option java_outer_classname = "SettingsProto"; option java_package = "com.google.devtools.artifactregistry.v1beta2"; diff --git a/third_party/googleapis/google/devtools/artifactregistry/v1beta2/tag.proto b/third_party/googleapis/google/devtools/artifactregistry/v1beta2/tag.proto index e0b6f70c9..c969fee44 100644 --- a/third_party/googleapis/google/devtools/artifactregistry/v1beta2/tag.proto +++ b/third_party/googleapis/google/devtools/artifactregistry/v1beta2/tag.proto @@ -20,7 +20,7 @@ import "google/api/resource.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.ArtifactRegistry.V1Beta2"; -option go_package = "google.golang.org/genproto/googleapis/devtools/artifactregistry/v1beta2;artifactregistry"; +option go_package = "cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb;artifactregistrypb"; option java_multiple_files = true; option java_outer_classname = "TagProto"; option java_package = "com.google.devtools.artifactregistry.v1beta2"; diff --git a/third_party/googleapis/google/devtools/artifactregistry/v1beta2/version.proto b/third_party/googleapis/google/devtools/artifactregistry/v1beta2/version.proto index b875ff671..a9635c7f4 100644 --- a/third_party/googleapis/google/devtools/artifactregistry/v1beta2/version.proto +++ b/third_party/googleapis/google/devtools/artifactregistry/v1beta2/version.proto @@ -23,7 +23,7 @@ import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.ArtifactRegistry.V1Beta2"; -option go_package = "google.golang.org/genproto/googleapis/devtools/artifactregistry/v1beta2;artifactregistry"; +option go_package = "cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb;artifactregistrypb"; option java_multiple_files = true; option java_outer_classname = "VersionProto"; option java_package = "com.google.devtools.artifactregistry.v1beta2"; diff --git a/third_party/googleapis/google/devtools/artifactregistry/v1beta2/yum_artifact.proto b/third_party/googleapis/google/devtools/artifactregistry/v1beta2/yum_artifact.proto index 4befe4bd5..a4467411d 100644 --- a/third_party/googleapis/google/devtools/artifactregistry/v1beta2/yum_artifact.proto +++ b/third_party/googleapis/google/devtools/artifactregistry/v1beta2/yum_artifact.proto @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.ArtifactRegistry.V1Beta2"; -option go_package = "google.golang.org/genproto/googleapis/devtools/artifactregistry/v1beta2;artifactregistry"; +option go_package = "cloud.google.com/go/artifactregistry/apiv1beta2/artifactregistrypb;artifactregistrypb"; option java_multiple_files = true; option java_outer_classname = "YumArtifactProto"; option java_package = "com.google.devtools.artifactregistry.v1beta2"; diff --git a/third_party/googleapis/google/devtools/build/v1/BUILD.bazel b/third_party/googleapis/google/devtools/build/v1/BUILD.bazel index 8166d4bdc..9ac62c025 100644 --- a/third_party/googleapis/google/devtools/build/v1/BUILD.bazel +++ b/third_party/googleapis/google/devtools/build/v1/BUILD.bazel @@ -24,7 +24,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -34,7 +33,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -92,6 +90,7 @@ java_gapic_library( gapic_yaml = "buildeventservice_gapic.yaml", grpc_service_config = "buildeventservice_grpc_service_config.json", rest_numeric_enums = False, + service_yaml = "buildeventservice_v1.yaml", test_deps = [ ":build_java_grpc", ], @@ -147,18 +146,12 @@ go_gapic_library( ], ) -go_test( - name = "build_go_gapic_test", - srcs = [":build_go_gapic_srcjar_test"], - embed = [":build_go_gapic"], - importpath = "cloud.google.com/go/devtools/build/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-devtools-build-v1-go", deps = [ ":build_go_gapic", + ":build_go_gapic_srcjar-snippets.srcjar", ":build_go_gapic_srcjar-test.srcjar", ":build_go_proto", ], @@ -196,12 +189,6 @@ php_proto_library( deps = [":build_proto"], ) -php_grpc_library( - name = "build_php_grpc", - srcs = [":build_proto"], - deps = [":build_php_proto"], -) - php_gapic_library( name = "build_php_gapic", srcs = [":build_proto_with_info"], @@ -209,10 +196,7 @@ php_gapic_library( rest_numeric_enums = False, service_yaml = "buildeventservice_v1.yaml", transport = "grpc+rest", - deps = [ - ":build_php_grpc", - ":build_php_proto", - ], + deps = [":build_php_proto"], ) # Open Source Packages @@ -220,7 +204,6 @@ php_gapic_assembly_pkg( name = "google-cloud-devtools-build-v1-php", deps = [ ":build_php_gapic", - ":build_php_grpc", ":build_php_proto", ], ) diff --git a/third_party/googleapis/google/devtools/build/v1/build_events.proto b/third_party/googleapis/google/devtools/build/v1/build_events.proto index 93a045069..6e144f23c 100644 --- a/third_party/googleapis/google/devtools/build/v1/build_events.proto +++ b/third_party/googleapis/google/devtools/build/v1/build_events.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/devtools/build/v1/build_status.proto b/third_party/googleapis/google/devtools/build/v1/build_status.proto index 94cee6899..012424282 100644 --- a/third_party/googleapis/google/devtools/build/v1/build_status.proto +++ b/third_party/googleapis/google/devtools/build/v1/build_status.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/devtools/build/v1/publish_build_event.proto b/third_party/googleapis/google/devtools/build/v1/publish_build_event.proto index caaaac788..b9e32f817 100644 --- a/third_party/googleapis/google/devtools/build/v1/publish_build_event.proto +++ b/third_party/googleapis/google/devtools/build/v1/publish_build_event.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/devtools/cloudbuild/BUILD.bazel b/third_party/googleapis/google/devtools/cloudbuild/BUILD.bazel index cdd6697dc..4591cc4ba 100644 --- a/third_party/googleapis/google/devtools/cloudbuild/BUILD.bazel +++ b/third_party/googleapis/google/devtools/cloudbuild/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-build", "ruby-cloud-env-prefix=CLOUD_BUILD", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.26", "ruby-cloud-product-url=https://cloud.google.com/cloud-build", "ruby-cloud-api-id=cloudbuild.googleapis.com", "ruby-cloud-api-shortname=cloudbuild", ], ruby_cloud_description = "Cloud Build is a service that executes your builds on Google Cloud Platform infrastructure. Cloud Build can import source code from Google Cloud Storage, Cloud Source Repositories, GitHub, or Bitbucket, execute a build to your specifications, and produce artifacts such as Docker containers or Java archives.", ruby_cloud_title = "Cloud Build", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/devtools/cloudbuild/v1/BUILD.bazel b/third_party/googleapis/google/devtools/cloudbuild/v1/BUILD.bazel index 13a45aad9..b20aae9aa 100644 --- a/third_party/googleapis/google/devtools/cloudbuild/v1/BUILD.bazel +++ b/third_party/googleapis/google/devtools/cloudbuild/v1/BUILD.bazel @@ -1,44 +1,22 @@ # 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"]) ############################################################################## # Common ############################################################################## load("@rules_proto//proto:defs.bzl", "proto_library") -load( - "@com_google_googleapis_imports//:imports.bzl", - "cc_grpc_library", - "cc_proto_library", - "csharp_gapic_assembly_pkg", - "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", - "go_gapic_assembly_pkg", - "go_gapic_library", - "go_proto_library", - "go_test", - "java_gapic_assembly_gradle_pkg", - "java_gapic_library", - "java_gapic_test", - "java_grpc_library", - "java_proto_library", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", - "php_gapic_assembly_pkg", - "php_gapic_library", - "php_grpc_library", - "php_proto_library", - "proto_library_with_info", - "py_gapic_assembly_pkg", - "py_gapic_library", - "py_test", - "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) +load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") proto_library( name = "cloudbuild_proto", @@ -51,6 +29,7 @@ proto_library( "//google/api:field_behavior_proto", "//google/api:httpbody_proto", "//google/api:resource_proto", + "//google/api:routing_proto", "//google/longrunning:operations_proto", "@com_google_protobuf//:duration_proto", "@com_google_protobuf//:empty_proto", @@ -67,6 +46,18 @@ proto_library_with_info( ], ) +############################################################################## +# Java +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "java_gapic_assembly_gradle_pkg", + "java_gapic_library", + "java_gapic_test", + "java_grpc_library", + "java_proto_library", +) + java_proto_library( name = "cloudbuild_java_proto", deps = [":cloudbuild_proto"], @@ -84,6 +75,7 @@ java_gapic_library( gapic_yaml = "cloudbuild_gapic.yaml", grpc_service_config = "cloudbuild_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "cloudbuild_v1.yaml", test_deps = [ ":cloudbuild_java_grpc", ], @@ -116,14 +108,25 @@ java_gapic_assembly_gradle_pkg( ], ) +############################################################################## +# Go +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "go_gapic_assembly_pkg", + "go_gapic_library", + "go_proto_library", +) + go_proto_library( name = "cloudbuild_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/devtools/cloudbuild/v1", + importpath = "cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb", protos = [":cloudbuild_proto"], deps = [ "//google/api:annotations_go_proto", "//google/api:httpbody_go_proto", + "//google/api:routing_go_proto", "//google/longrunning:longrunning_go_proto", ], ) @@ -132,7 +135,9 @@ go_gapic_library( name = "cloudbuild_go_gapic", srcs = [":cloudbuild_proto_with_info"], grpc_service_config = "cloudbuild_grpc_service_config.json", - importpath = "cloud.google.com/go/cloudbuild/apiv1;cloudbuild", + importpath = "cloud.google.com/go/cloudbuild/apiv1/v2;cloudbuild", + metadata = True, + release_level = "ga", rest_numeric_enums = True, service_yaml = "cloudbuild_v1.yaml", transport = "grpc+rest", @@ -146,18 +151,13 @@ go_gapic_library( ], ) -go_test( - name = "cloudbuild_go_gapic_test", - srcs = [":cloudbuild_go_gapic_srcjar_test"], - embed = [":cloudbuild_go_gapic"], - importpath = "cloud.google.com/go/cloudbuild/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-devtools-cloudbuild-v1-go", deps = [ ":cloudbuild_go_gapic", + ":cloudbuild_go_gapic_srcjar-metadata.srcjar", + ":cloudbuild_go_gapic_srcjar-snippets.srcjar", ":cloudbuild_go_gapic_srcjar-test.srcjar", ":cloudbuild_go_proto", ], @@ -166,13 +166,20 @@ go_gapic_assembly_pkg( ############################################################################## # Python ############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "py_gapic_assembly_pkg", + "py_gapic_library", + "py_test", +) + py_gapic_library( name = "cloudbuild_py_gapic", srcs = [":cloudbuild_proto"], grpc_service_config = "cloudbuild_grpc_service_config.json", opt_args = [ - "warehouse-package-name=google-cloud-build", "python-gapic-namespace=google.cloud.devtools", + "warehouse-package-name=google-cloud-build", ], rest_numeric_enums = True, service_yaml = "cloudbuild_v1.yaml", @@ -189,6 +196,7 @@ py_test( deps = [":cloudbuild_py_gapic"], ) +# Open Source Packages py_gapic_assembly_pkg( name = "devtools-cloudbuild-v1-py", deps = [ @@ -196,23 +204,30 @@ py_gapic_assembly_pkg( ], ) +############################################################################## +# PHP +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "php_gapic_assembly_pkg", + "php_gapic_library", + "php_proto_library", +) + php_proto_library( name = "cloudbuild_php_proto", deps = [":cloudbuild_proto"], ) -php_grpc_library( - name = "cloudbuild_php_grpc", - srcs = [":cloudbuild_proto"], - deps = [":cloudbuild_php_proto"], -) - php_gapic_library( name = "cloudbuild_php_gapic", srcs = [":cloudbuild_proto_with_info"], + grpc_service_config = "cloudbuild_grpc_service_config.json", + migration_mode = "PRE_MIGRATION_SURFACE_ONLY", + rest_numeric_enums = False, service_yaml = "cloudbuild_v1.yaml", + transport = "grpc+rest", deps = [ - ":cloudbuild_php_grpc", ":cloudbuild_php_proto", ], ) @@ -222,11 +237,19 @@ php_gapic_assembly_pkg( name = "google-cloud-devtools-cloudbuild-v1-php", deps = [ ":cloudbuild_php_gapic", - ":cloudbuild_php_grpc", ":cloudbuild_php_proto", ], ) +############################################################################## +# Node.js +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "nodejs_gapic_assembly_pkg", + "nodejs_gapic_library", +) + nodejs_gapic_library( name = "cloudbuild_nodejs_gapic", package_name = "@google-cloud/cloudbuild", @@ -251,6 +274,13 @@ nodejs_gapic_assembly_pkg( ############################################################################## # Ruby ############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "ruby_cloud_gapic_library", + "ruby_gapic_assembly_pkg", + "ruby_grpc_library", + "ruby_proto_library", +) ruby_proto_library( name = "cloudbuild_ruby_proto", @@ -267,17 +297,18 @@ ruby_cloud_gapic_library( name = "cloudbuild_ruby_gapic", srcs = [":cloudbuild_proto_with_info"], extra_protoc_parameters = [ - "ruby-cloud-gem-name=google-cloud-build-v1", - "ruby-cloud-env-prefix=CLOUD_BUILD", - "ruby-cloud-product-url=https://cloud.google.com/cloud-build", "ruby-cloud-api-id=cloudbuild.googleapis.com", "ruby-cloud-api-shortname=cloudbuild", + "ruby-cloud-env-prefix=CLOUD_BUILD", + "ruby-cloud-gem-name=google-cloud-build-v1", + "ruby-cloud-product-url=https://cloud.google.com/cloud-build", ], grpc_service_config = "cloudbuild_grpc_service_config.json", rest_numeric_enums = True, ruby_cloud_description = "Cloud Build is a service that executes your builds on Google Cloud Platform infrastructure. Cloud Build can import source code from Google Cloud Storage, Cloud Source Repositories, GitHub, or Bitbucket, execute a build to your specifications, and produce artifacts such as Docker containers or Java archives.", ruby_cloud_title = "Cloud Build V1", service_yaml = "cloudbuild_v1.yaml", + transport = "grpc+rest", deps = [ ":cloudbuild_ruby_grpc", ":cloudbuild_ruby_proto", @@ -297,9 +328,17 @@ ruby_gapic_assembly_pkg( ############################################################################## # C# ############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "csharp_gapic_assembly_pkg", + "csharp_gapic_library", + "csharp_grpc_library", + "csharp_proto_library", +) csharp_proto_library( name = "cloudbuild_csharp_proto", + extra_opts = [], deps = [":cloudbuild_proto"], ) @@ -333,6 +372,15 @@ csharp_gapic_assembly_pkg( ], ) +############################################################################## +# C++ +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "cc_grpc_library", + "cc_proto_library", +) + cc_proto_library( name = "cloudbuild_cc_proto", deps = [":cloudbuild_proto"], diff --git a/third_party/googleapis/google/devtools/cloudbuild/v1/cloudbuild.proto b/third_party/googleapis/google/devtools/cloudbuild/v1/cloudbuild.proto index fdf0bdf7f..b4064bd15 100644 --- a/third_party/googleapis/google/devtools/cloudbuild/v1/cloudbuild.proto +++ b/third_party/googleapis/google/devtools/cloudbuild/v1/cloudbuild.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,6 +21,7 @@ import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/httpbody.proto"; import "google/api/resource.proto"; +import "google/api/routing.proto"; import "google/longrunning/operations.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/empty.proto"; @@ -28,12 +29,12 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.CloudBuild.V1"; -option go_package = "google.golang.org/genproto/googleapis/devtools/cloudbuild/v1;cloudbuild"; +option go_package = "cloud.google.com/go/cloudbuild/apiv1/v2/cloudbuildpb;cloudbuildpb"; option java_multiple_files = true; option java_package = "com.google.cloudbuild.v1"; option objc_class_prefix = "GCB"; -option ruby_package = "Google::Cloud::Build::V1"; option php_namespace = "Google\\Cloud\\Build\\V1"; +option ruby_package = "Google::Cloud::Build::V1"; option (google.api.resource_definition) = { type: "compute.googleapis.com/Network" pattern: "projects/{project}/global/networks/{network}" @@ -50,6 +51,10 @@ option (google.api.resource_definition) = { type: "secretmanager.googleapis.com/SecretVersion" pattern: "projects/{project}/secrets/{secret}/versions/{version}" }; +option (google.api.resource_definition) = { + type: "gkehub.googleapis.com/Membership" + pattern: "projects/{project}/locations/{location}/memberships/{cluster_name}" +}; option (google.api.resource_definition) = { type: "cloudkms.googleapis.com/CryptoKey" pattern: "projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}" @@ -62,6 +67,10 @@ option (google.api.resource_definition) = { type: "pubsub.googleapis.com/Topic" pattern: "projects/{project}/topics/{topic}" }; +option (google.api.resource_definition) = { + type: "cloudbuild.googleapis.com/Repository" + pattern: "projects/{project}/locations/{location}/connections/{connection}/repositories/{repository}" +}; // Creates and manages builds on Google Cloud Platform. // @@ -90,6 +99,12 @@ service CloudBuild { body: "build" } }; + option (google.api.routing) = { + routing_parameters { + field: "parent" + path_template: "projects/*/locations/{location=*}" + } + }; option (google.api.method_signature) = "project_id,build"; option (google.longrunning.operation_info) = { response_type: "Build" @@ -106,6 +121,12 @@ service CloudBuild { get: "/v1/projects/{project_id}/builds/{id}" additional_bindings { get: "/v1/{name=projects/*/locations/*/builds/*}" } }; + option (google.api.routing) = { + routing_parameters { + field: "name" + path_template: "projects/*/locations/{location=*}/builds/*" + } + }; option (google.api.method_signature) = "project_id,id"; } @@ -118,6 +139,12 @@ service CloudBuild { get: "/v1/projects/{project_id}/builds" additional_bindings { get: "/v1/{parent=projects/*/locations/*}/builds" } }; + option (google.api.routing) = { + routing_parameters { + field: "parent" + path_template: "projects/*/locations/{location=*}" + } + }; option (google.api.method_signature) = "project_id,filter"; } @@ -131,6 +158,12 @@ service CloudBuild { body: "*" } }; + option (google.api.routing) = { + routing_parameters { + field: "name" + path_template: "projects/*/locations/{location=*}/builds/*" + } + }; option (google.api.method_signature) = "project_id,id"; } @@ -154,7 +187,7 @@ service CloudBuild { // // For builds that specify `StorageSource`: // - // * If the original build pulled source from Google Cloud Storage without + // * If the original build pulled source from Cloud Storage without // specifying the generation of the object, the new build will use the current // object, which may be different from the original build source. // * If the original build pulled source from Cloud Storage and specified the @@ -170,6 +203,12 @@ service CloudBuild { body: "*" } }; + option (google.api.routing) = { + routing_parameters { + field: "name" + path_template: "projects/*/locations/{location=*}/builds/*" + } + }; option (google.api.method_signature) = "project_id,id"; option (google.longrunning.operation_info) = { response_type: "Build" @@ -192,6 +231,12 @@ service CloudBuild { body: "*" } }; + option (google.api.routing) = { + routing_parameters { + field: "name" + path_template: "projects/*/locations/{location=*}/builds/*" + } + }; option (google.api.method_signature) = "name,approval_result"; option (google.longrunning.operation_info) = { response_type: "Build" @@ -211,6 +256,12 @@ service CloudBuild { body: "trigger" } }; + option (google.api.routing) = { + routing_parameters { + field: "parent" + path_template: "projects/*/locations/{location=*}" + } + }; option (google.api.method_signature) = "project_id,trigger"; } @@ -224,6 +275,12 @@ service CloudBuild { get: "/v1/{name=projects/*/locations/*/triggers/*}" } }; + option (google.api.routing) = { + routing_parameters { + field: "name" + path_template: "projects/*/locations/{location=*}/triggers/*" + } + }; option (google.api.method_signature) = "project_id,trigger_id"; } @@ -238,6 +295,12 @@ service CloudBuild { get: "/v1/{parent=projects/*/locations/*}/triggers" } }; + option (google.api.routing) = { + routing_parameters { + field: "parent" + path_template: "projects/*/locations/{location=*}" + } + }; option (google.api.method_signature) = "project_id"; } @@ -252,6 +315,12 @@ service CloudBuild { delete: "/v1/{name=projects/*/locations/*/triggers/*}" } }; + option (google.api.routing) = { + routing_parameters { + field: "name" + path_template: "projects/*/locations/{location=*}/triggers/*" + } + }; option (google.api.method_signature) = "project_id,trigger_id"; } @@ -267,10 +336,22 @@ service CloudBuild { body: "trigger" } }; + option (google.api.routing) = { + routing_parameters { + field: "trigger.resource_name" + path_template: "projects/*/locations/{location=*}/triggers/*" + } + }; option (google.api.method_signature) = "project_id,trigger_id,trigger"; } // Runs a `BuildTrigger` at a particular source revision. + // + // To run a regional or global trigger, use the POST request + // that includes the location endpoint in the path (ex. + // v1/projects/{projectId}/locations/{region}/triggers/{triggerId}:run). The + // POST request that does not include the location endpoint in the path can + // only be used when running global triggers. rpc RunBuildTrigger(RunBuildTriggerRequest) returns (google.longrunning.Operation) { option (google.api.http) = { @@ -281,6 +362,12 @@ service CloudBuild { body: "*" } }; + option (google.api.routing) = { + routing_parameters { + field: "name" + path_template: "projects/*/locations/{location=*}/triggers/*" + } + }; option (google.api.method_signature) = "project_id,trigger_id,source"; option (google.longrunning.operation_info) = { response_type: "Build" @@ -309,6 +396,12 @@ service CloudBuild { post: "/v1/{parent=projects/*/locations/*}/workerPools" body: "worker_pool" }; + option (google.api.routing) = { + routing_parameters { + field: "parent" + path_template: "projects/*/locations/{location=*}" + } + }; option (google.api.method_signature) = "parent,worker_pool,worker_pool_id"; option (google.longrunning.operation_info) = { response_type: "WorkerPool" @@ -321,6 +414,12 @@ service CloudBuild { option (google.api.http) = { get: "/v1/{name=projects/*/locations/*/workerPools/*}" }; + option (google.api.routing) = { + routing_parameters { + field: "name" + path_template: "projects/*/locations/{location=*}/workerPools/*" + } + }; option (google.api.method_signature) = "name"; } @@ -330,6 +429,12 @@ service CloudBuild { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/workerPools/*}" }; + option (google.api.routing) = { + routing_parameters { + field: "name" + path_template: "projects/*/locations/{location=*}/workerPools/*" + } + }; option (google.api.method_signature) = "name"; option (google.longrunning.operation_info) = { response_type: "google.protobuf.Empty" @@ -344,6 +449,12 @@ service CloudBuild { patch: "/v1/{worker_pool.name=projects/*/locations/*/workerPools/*}" body: "worker_pool" }; + option (google.api.routing) = { + routing_parameters { + field: "worker_pool.name" + path_template: "projects/*/locations/{location=*}/workerPools/*" + } + }; option (google.api.method_signature) = "worker_pool,update_mask"; option (google.longrunning.operation_info) = { response_type: "WorkerPool" @@ -357,6 +468,12 @@ service CloudBuild { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/workerPools" }; + option (google.api.routing) = { + routing_parameters { + field: "parent" + path_template: "projects/*/locations/{location=*}" + } + }; option (google.api.method_signature) = "parent"; } } @@ -391,25 +508,67 @@ message RunBuildTriggerRequest { string trigger_id = 2 [(google.api.field_behavior) = REQUIRED]; // Source to build against this trigger. + // Branch and tag names cannot consist of regular expressions. RepoSource source = 3; } -// Location of the source in an archive file in Google Cloud Storage. +// Location of the source in an archive file in Cloud Storage. message StorageSource { - // Google Cloud Storage bucket containing the source (see + // Cloud Storage bucket containing the source (see // [Bucket Name // Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). string bucket = 1; - // Google Cloud Storage object containing the source. + // Cloud Storage object containing the source. // - // This object must be a gzipped archive file (`.tar.gz`) containing source to - // build. + // This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) + // containing source to build. string object = 2; - // Google Cloud Storage generation for the object. If the generation is + // Cloud Storage generation for the object. If the generation is // omitted, the latest generation will be used. int64 generation = 3; + + // Specifies the tool to fetch the source file for the build. + enum SourceFetcher { + // Unspecified. Defaults to GSUTIL. + SOURCE_FETCHER_UNSPECIFIED = 0; + + // Use the "gsutil" tool to download the source file. + GSUTIL = 1; + + // Use the Cloud Storage Fetcher tool to download the source file. + GCS_FETCHER = 2; + } + + // Option to specify the tool to fetch the source file for the build. + SourceFetcher source_fetcher = 5 [(google.api.field_behavior) = OPTIONAL]; +} + +// Location of the source in any accessible Git repository. +message GitSource { + // Location of the Git repo to build. + // + // This will be used as a `git remote`, see + // https://git-scm.com/docs/git-remote. + string url = 1; + + // Directory, relative to the source root, in which to run the build. + // + // This must be a relative path. If a step's `dir` is specified and is an + // absolute path, this value is ignored for that step's execution. + string dir = 5; + + // The revision to fetch from the Git repository such as a branch, a tag, a + // commit SHA, or any Git ref. + // + // Cloud Build uses `git fetch` to fetch the revision from the Git + // repository; therefore make sure that the string you provide for `revision` + // is parsable by the command. For information on string values accepted by + // `git fetch`, see + // https://git-scm.com/docs/gitrevisions#_specifying_revisions. For + // information on `git fetch`, see https://git-scm.com/docs/git-fetch. + string revision = 6; } // Location of the source in a Google Cloud Source Repository. @@ -455,21 +614,21 @@ message RepoSource { map substitutions = 9; } -// Location of the source manifest in Google Cloud Storage. +// Location of the source manifest in Cloud Storage. // This feature is in Preview; see description // [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher). message StorageSourceManifest { - // Google Cloud Storage bucket containing the source manifest (see [Bucket + // Cloud Storage bucket containing the source manifest (see [Bucket // Name // Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). string bucket = 1; - // Google Cloud Storage object containing the source manifest. + // Cloud Storage object containing the source manifest. // // This object must be a JSON file. string object = 2; - // Google Cloud Storage generation for the object. If the generation is + // Cloud Storage generation for the object. If the generation is // omitted, the latest generation will be used. int64 generation = 3; } @@ -478,14 +637,17 @@ message StorageSourceManifest { message Source { // Location of source. oneof source { - // If provided, get the source from this location in Google Cloud Storage. + // If provided, get the source from this location in Cloud Storage. StorageSource storage_source = 2; // If provided, get the source from this location in a Cloud Source // Repository. RepoSource repo_source = 3; - // If provided, get the source from this manifest in Google Cloud Storage. + // If provided, get the source from this Git repository. + GitSource git_source = 5; + + // If provided, get the source from this manifest in Cloud Storage. // This feature is in Preview; see description // [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher). StorageSourceManifest storage_source_manifest = 8; @@ -529,6 +691,19 @@ message UploadedMavenArtifact { TimeSpan push_timing = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; } +// An npm package uploaded to Artifact Registry using the NpmPackage +// directive. +message UploadedNpmPackage { + // URI of the uploaded npm package. + string uri = 1; + + // Hash types and values of the npm package. + FileHashes file_hashes = 2; + + // Output only. Stores timing information for pushing the specified artifact. + TimeSpan push_timing = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + // A step in the build pipeline. message BuildStep { // Required. The name of the container image that will run this particular @@ -642,6 +817,11 @@ message BuildStep { // // When script is provided, the user cannot specify the entrypoint or args. string script = 19; + + // Option to include built-in and custom substitutions as env variables + // for this build step. This option will override the global option + // in BuildOption. + optional bool automap_substitutions = 20; } // Volume describes a Docker container volume which is mounted into build steps @@ -669,10 +849,12 @@ message Results { // indices. repeated string build_step_images = 3; - // Path to the artifact manifest. Only populated when artifacts are uploaded. + // Path to the artifact manifest for non-container artifacts uploaded to Cloud + // Storage. Only populated when artifacts are uploaded to Cloud Storage. string artifact_manifest = 4; - // Number of artifacts uploaded. Only populated when artifacts are uploaded. + // Number of non-container artifacts uploaded to Cloud Storage. Only populated + // when artifacts are uploaded to Cloud Storage. int64 num_artifacts = 5; // List of build step outputs, produced by builder images, in the order @@ -683,7 +865,7 @@ message Results { // Only the first 4KB of data is stored. repeated bytes build_step_outputs = 6; - // Time to push all non-container artifacts. + // Time to push all non-container artifacts to Cloud Storage. TimeSpan artifact_timing = 7; // Python artifacts uploaded to Artifact Registry at the end of the build. @@ -691,12 +873,15 @@ message Results { // Maven artifacts uploaded to Artifact Registry at the end of the build. repeated UploadedMavenArtifact maven_artifacts = 9; + + // Npm packages uploaded to Artifact Registry at the end of the build. + repeated UploadedNpmPackage npm_packages = 12; } // An artifact that was uploaded during a build. This // is a single record in the artifact manifest JSON file. message ArtifactResult { - // The path of an artifact in a Google Cloud Storage bucket, with the + // The path of an artifact in a Cloud Storage bucket, with the // generation number. For example, // `gs://mybucket/path/to/output.jar#generation`. string location = 1; @@ -716,6 +901,7 @@ message ArtifactResult { // // - $PROJECT_ID: the project ID of the build. // - $PROJECT_NUMBER: the project number of the build. +// - $LOCATION: the location/region of the build. // - $BUILD_ID: the autogenerated ID of the build. // - $REPO_NAME: the source repository name specified by RepoSource. // - $BRANCH_NAME: the branch name specified by RepoSource. @@ -730,6 +916,40 @@ message Build { pattern: "projects/{project}/locations/{location}/builds/{build}" }; + // Possible status of a build or build step. + enum Status { + // Status of the build is unknown. + STATUS_UNKNOWN = 0; + + // Build has been created and is pending execution and queuing. It has not + // been queued. + PENDING = 10; + + // Build or step is queued; work has not yet begun. + QUEUED = 1; + + // Build or step is being executed. + WORKING = 2; + + // Build or step finished successfully. + SUCCESS = 3; + + // Build or step failed to complete successfully. + FAILURE = 4; + + // Build or step failed due to an internal cause. + INTERNAL_ERROR = 5; + + // Build or step took longer than was allowed. + TIMEOUT = 6; + + // Build or step was canceled by a user. + CANCELLED = 7; + + // Build was enqueued for longer than the value of `queue_ttl`. + EXPIRED = 9; + } + // A non-fatal problem encountered during the execution of the build. message Warning { // The relative importance of this warning. @@ -788,40 +1008,6 @@ message Build { string detail = 2; } - // Possible status of a build or build step. - enum Status { - // Status of the build is unknown. - STATUS_UNKNOWN = 0; - - // Build has been created and is pending execution and queuing. It has not - // been queued. - PENDING = 10; - - // Build or step is queued; work has not yet begun. - QUEUED = 1; - - // Build or step is being executed. - WORKING = 2; - - // Build or step finished successfully. - SUCCESS = 3; - - // Build or step failed to complete successfully. - FAILURE = 4; - - // Build or step failed due to an internal cause. - INTERNAL_ERROR = 5; - - // Build or step took longer than was allowed. - TIMEOUT = 6; - - // Build or step was canceled by a user. - CANCELLED = 7; - - // Build was enqueued for longer than the value of `queue_ttl`. - EXPIRED = 9; - } - // Output only. The 'Build' name with format: // `projects/{project}/locations/{location}/builds/{build}`, where {build} // is a unique identifier generated by the service. @@ -869,7 +1055,7 @@ message Build { // // `timeout` starts ticking from `startTime`. // - // Default time is ten minutes. + // Default time is 60 minutes. google.protobuf.Duration timeout = 12; // A list of images to be pushed upon the successful completion of all build @@ -895,7 +1081,7 @@ message Build { // successful completion of all build steps. Artifacts artifacts = 37; - // Google Cloud Storage bucket where logs should be written (see + // Cloud Storage bucket where logs should be written (see // [Bucket Name // Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). // Logs file names will be of the format `${logs_bucket}/log-${build_id}.txt`. @@ -932,7 +1118,8 @@ message Build { // are: // // * BUILD: time to execute all build steps. - // * PUSH: time to push all specified images. + // * PUSH: time to push all artifacts including docker images and non docker + // artifacts. // * FETCHSOURCE: time to fetch source. // * SETUPBUILD: time to set up build. // @@ -1032,6 +1219,21 @@ message Artifacts { repeated string paths = 2; } + // Npm package to upload to Artifact Registry upon successful completion + // of all build steps. + message NpmPackage { + // Artifact Registry repository, in the form + // "https://$REGION-npm.pkg.dev/$PROJECT/$REPOSITORY" + // + // Npm package in the workspace specified by path will be zipped and + // uploaded to Artifact Registry with this location as a prefix. + string repository = 1; + + // Path to the package.json. + // e.g. workspace/path/to/package + string package_path = 2; + } + // A list of images to be pushed upon the successful completion of all build // steps. // @@ -1073,6 +1275,16 @@ message Artifacts { // // If any objects fail to be pushed, the build is marked FAILURE. repeated PythonPackage python_packages = 5; + + // A list of npm packages to be uploaded to Artifact Registry upon + // successful completion of all build steps. + // + // Npm packages in the specified paths will be uploaded + // to the specified Artifact Registry repository using the builder service + // account's credentials. + // + // If any packages fail to be pushed, the build is marked FAILURE. + repeated NpmPackage npm_packages = 6; } // Start and end times for a build execution phase. @@ -1139,6 +1351,9 @@ message Hash { // Use a md5 hash. MD5 = 2; + + // Use a sha512 hash. + SHA512 = 4; } // The type of hash that was performed. @@ -1241,7 +1456,7 @@ message GetBuildRequest { // Request to list builds. message ListBuildsRequest { // The parent of the collection of `Builds`. - // Format: `projects/{project}/locations/location` + // Format: `projects/{project}/locations/{location}` string parent = 9 [(google.api.resource_reference) = { child_type: "cloudbuild.googleapis.com/Build" }]; @@ -1378,15 +1593,117 @@ message ApprovalResult { string url = 6 [(google.api.field_behavior) = OPTIONAL]; } +// GitRepoSource describes a repo and ref of a code repository. +message GitRepoSource { + // The URI of the repo (e.g. https://github.com/user/repo.git). + // Either `uri` or `repository` can be specified and is required. + string uri = 1; + + // The source of the SCM repo. + oneof source { + // The connected repository resource name, in the format + // `projects/*/locations/*/connections/*/repositories/*`. Either `uri` or + // `repository` can be specified and is required. + string repository = 6 [(google.api.resource_reference) = { + type: "cloudbuild.googleapis.com/Repository" + }]; + } + + // The branch or tag to use. Must start with "refs/" (required). + string ref = 2; + + // See RepoType below. + GitFileSource.RepoType repo_type = 3; + + // The resource name of the enterprise config that should be applied + // to this source. + oneof enterprise_config { + // The full resource name of the github enterprise config. + // Format: + // `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. + // `projects/{project}/githubEnterpriseConfigs/{id}`. + string github_enterprise_config = 4 [(google.api.resource_reference) = { + type: "cloudbuild.googleapis.com/GithubEnterpriseConfig" + }]; + } +} + +// GitFileSource describes a file within a (possibly remote) code repository. +message GitFileSource { + // The type of the repo, since it may not be explicit from the `repo` field + // (e.g from a URL). + enum RepoType { + // The default, unknown repo type. Don't use it, instead use one of + // the other repo types. + UNKNOWN = 0; + + // A Google Cloud Source Repositories-hosted repo. + CLOUD_SOURCE_REPOSITORIES = 1; + + // A GitHub-hosted repo not necessarily on "github.com" (i.e. GitHub + // Enterprise). + GITHUB = 2; + + // A Bitbucket Server-hosted repo. + BITBUCKET_SERVER = 3; + + // A GitLab-hosted repo. + GITLAB = 4; + } + + // The path of the file, with the repo root as the root of the path. + string path = 1; + + // The URI of the repo. + // Either uri or repository can be specified. + // If unspecified, the repo from which the trigger invocation originated is + // assumed to be the repo from which to read the specified path. + string uri = 2; + + // The source of the SCM repo. + oneof source { + // The fully qualified resource name of the Repos API repository. + // Either URI or repository can be specified. + // If unspecified, the repo from which the trigger invocation originated is + // assumed to be the repo from which to read the specified path. + string repository = 7 [(google.api.resource_reference) = { + type: "cloudbuild.googleapis.com/Repository" + }]; + } + + // See RepoType above. + RepoType repo_type = 3; + + // The branch, tag, arbitrary ref, or SHA version of the repo to use when + // resolving the filename (optional). + // This field respects the same syntax/resolution as described here: + // https://git-scm.com/docs/gitrevisions + // If unspecified, the revision from which the trigger invocation originated + // is assumed to be the revision from which to read the specified path. + string revision = 4; + + // The resource name of the enterprise config that should be applied + // to this source. + oneof enterprise_config { + // The full resource name of the github enterprise config. + // Format: + // `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. + // `projects/{project}/githubEnterpriseConfigs/{id}`. + string github_enterprise_config = 5 [(google.api.resource_reference) = { + type: "cloudbuild.googleapis.com/GithubEnterpriseConfig" + }]; + } +} + // Configuration for an automated build in response to source repository // changes. message BuildTrigger { option (google.api.resource) = { type: "cloudbuild.googleapis.com/BuildTrigger" - plural: "triggers" - singular: "trigger" pattern: "projects/{project}/triggers/{trigger}" pattern: "projects/{project}/locations/{location}/triggers/{trigger}" + plural: "triggers" + singular: "trigger" }; // The `Trigger` name with format: @@ -1435,6 +1752,7 @@ message BuildTrigger { WebhookConfig webhook_config = 31; // Template describing the Build request to make when the trigger is matched. + // At least one of the template fields must be provided. oneof build_template { // Autodetect build configuration. The following precedence is used (case // insensitive): @@ -1453,6 +1771,9 @@ message BuildTrigger { // Path, from the source root, to the build configuration file // (i.e. cloudbuild.yaml). string filename = 8; + + // The file source describing the local or remote Build template. + GitFileSource git_file_source = 24; } // Output only. Time when the trigger was created. @@ -1490,6 +1811,14 @@ message BuildTrigger { // Optional. A Common Expression Language string. string filter = 30 [(google.api.field_behavior) = OPTIONAL]; + // The repo and ref of the repository from which to build. This field + // is used only for those triggers that do not respond to SCM events. + // Triggers that respond to such events build source at whatever commit + // caused the event. + // This field is currently only used by Webhook, Pub/Sub, Manual, and Cron + // triggers. + GitRepoSource source_to_build = 26; + // The service account used for all user-controlled operations including // UpdateBuildTrigger, RunBuildTrigger, CreateBuild, and CancelBuild. // If no service account is set, then the standard Cloud Build service account @@ -1498,12 +1827,51 @@ message BuildTrigger { string service_account = 33 [(google.api.resource_reference) = { type: "iam.googleapis.com/ServiceAccount" }]; + + // The configuration of a trigger that creates a build whenever an event from + // Repo API is received. + RepositoryEventConfig repository_event_config = 39; +} + +// The configuration of a trigger that creates a build whenever an event from +// Repo API is received. +message RepositoryEventConfig { + // All possible SCM repo types from Repo API. + enum RepositoryType { + // If unspecified, RepositoryType defaults to GITHUB. + REPOSITORY_TYPE_UNSPECIFIED = 0; + + // The SCM repo is GITHUB. + GITHUB = 1; + + // The SCM repo is GITHUB Enterprise. + GITHUB_ENTERPRISE = 2; + + // The SCM repo is GITLAB Enterprise. + GITLAB_ENTERPRISE = 3; + } + + // The resource name of the Repo API resource. + string repository = 1 [(google.api.resource_reference) = { + type: "cloudbuild.googleapis.com/Repository" + }]; + + // Output only. The type of the SCM vendor the repository points to. + RepositoryType repository_type = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // The types of filter to trigger a build. + oneof filter { + // Filter to match changes in pull requests. + PullRequestFilter pull_request = 3; + + // Filter to match changes in refs like branches, tags. + PushFilter push = 4; + } } // GitHubEventsConfig describes the configuration of a trigger that creates a // build whenever a GitHub event is received. -// -// This message is experimental. message GitHubEventsConfig { // The installationID that emits the GitHub event. int64 installation_id = 1 [deprecated = true]; @@ -1747,32 +2115,30 @@ message UpdateBuildTriggerRequest { // Required. `BuildTrigger` to update. BuildTrigger trigger = 3 [(google.api.field_behavior) = REQUIRED]; + + // Update mask for the resource. If this is set, + // the server will only update the fields specified in the field mask. + // Otherwise, a full update of the mutable resource fields will be performed. + google.protobuf.FieldMask update_mask = 5; } // Optional arguments to enable specific features of builds. message BuildOptions { - // Details about how a build should be executed on a `WorkerPool`. - // - // See [running builds in a private - // pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) - // for more information. - message PoolOption { - // The `WorkerPool` resource to execute the build on. - // You must have `cloudbuild.workerpools.use` on the project hosting the - // WorkerPool. - // - // Format projects/{project}/locations/{location}/workerPools/{workerPoolId} - string name = 1 [(google.api.resource_reference) = { - type: "cloudbuild.googleapis.com/WorkerPool" - }]; - } - // Specifies the manner in which the build should be verified, if at all. + // + // If a verified build is requested, and any part of the process to generate + // and upload provenance fails, the build will also fail. + // + // If the build does not request verification then that process may occur, but + // is not guaranteed to. If it does occur and fails, the build will not fail. + // + // For more information, see [Viewing Build + // Provenance](https://cloud.google.com/build/docs/securing-builds/view-build-provenance). enum VerifyOption { - // Not a verifiable build. (default) + // Not a verifiable build (the default). NOT_VERIFIED = 0; - // Verified build. + // Build must be verified. VERIFIED = 1; } @@ -1794,6 +2160,9 @@ message BuildOptions { // Highcpu e2 machine with 32 CPUs. E2_HIGHCPU_32 = 6; + + // E2 machine with 1 CPU. + E2_MEDIUM = 7; } // Specifies the behavior when there is an error in the substitution checks. @@ -1806,43 +2175,70 @@ message BuildOptions { ALLOW_LOOSE = 1; } - // Specifies the behavior when writing build logs to Google Cloud Storage. + // Specifies the behavior when writing build logs to Cloud Storage. enum LogStreamingOption { // Service may automatically determine build log streaming behavior. STREAM_DEFAULT = 0; - // Build logs should be streamed to Google Cloud Storage. + // Build logs should be streamed to Cloud Storage. STREAM_ON = 1; - // Build logs should not be streamed to Google Cloud Storage; they will be + // Build logs should not be streamed to Cloud Storage; they will be // written when the build is completed. STREAM_OFF = 2; } + // Details about how a build should be executed on a `WorkerPool`. + // + // See [running builds in a private + // pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) + // for more information. + message PoolOption { + // The `WorkerPool` resource to execute the build on. + // You must have `cloudbuild.workerpools.use` on the project hosting the + // WorkerPool. + // + // Format projects/{project}/locations/{location}/workerPools/{workerPoolId} + string name = 1 [(google.api.resource_reference) = { + type: "cloudbuild.googleapis.com/WorkerPool" + }]; + } + // Specifies the logging mode. enum LoggingMode { // The service determines the logging mode. The default is `LEGACY`. Do not // rely on the default logging behavior as it may change in the future. LOGGING_UNSPECIFIED = 0; - // Cloud Logging and Cloud Storage logging are enabled. + // Build logs are stored in Cloud Logging and Cloud Storage. LEGACY = 1; - // Only Cloud Storage logging is enabled. + // Build logs are stored in Cloud Storage. GCS_ONLY = 2; // This option is the same as CLOUD_LOGGING_ONLY. STACKDRIVER_ONLY = 3 [deprecated = true]; - // Only Cloud Logging is enabled. Note that logs for both the Cloud Console - // UI and Cloud SDK are based on Cloud Storage logs, so neither will provide - // logs if this option is chosen. + // Build logs are stored in Cloud Logging. Selecting this option will not + // allow [logs + // streaming](https://cloud.google.com/sdk/gcloud/reference/builds/log). CLOUD_LOGGING_ONLY = 5; // Turn off all logging. No build logs will be captured. NONE = 4; } + // Default GCS log bucket behavior options. + enum DefaultLogsBucketBehavior { + // Unspecified. + DEFAULT_LOGS_BUCKET_BEHAVIOR_UNSPECIFIED = 0; + + // Bucket is located in user-owned project in the same region as the + // build. The builder service account must have access to create and write + // to GCS buckets in the build project. + REGIONAL_USER_OWNED_BUCKET = 1; + } + // Requested hash for SourceProvenance. repeated Hash.HashType source_provenance_hash = 1; @@ -1856,7 +2252,7 @@ message BuildOptions { // "disk free"; some of the space will be used by the operating system and // build utilities. Also note that this is the minimum disk size that will be // allocated for the build -- the build may run with a larger disk than - // requested. At present, the maximum disk size is 1000GB; builds that request + // requested. At present, the maximum disk size is 2000GB; builds that request // more than the maximum are rejected with an error. int64 disk_size_gb = 6; @@ -1874,7 +2270,11 @@ message BuildOptions { // overridden in the build configuration file. bool dynamic_substitutions = 17; - // Option to define build log streaming behavior to Google Cloud + // Option to include built-in and custom substitutions as env variables + // for all build steps. + bool automap_substitutions = 22; + + // Option to define build log streaming behavior to Cloud // Storage. LogStreamingOption log_streaming_option = 5; @@ -1916,6 +2316,10 @@ message BuildOptions { // Using a global volume in a build with only one step is not valid as // it is indicative of a build request with an incorrect configuration. repeated Volume volumes = 14; + + // Optional. Option to specify how default logs buckets are setup. + DefaultLogsBucketBehavior default_logs_bucket_behavior = 21 + [(google.api.field_behavior) = OPTIONAL]; } // ReceiveTriggerWebhookRequest [Experimental] is the request object accepted by @@ -1942,6 +2346,83 @@ message ReceiveTriggerWebhookRequest { // ReceiveTriggerWebhook method. message ReceiveTriggerWebhookResponse {} +message GitHubEnterpriseConfig { + option (google.api.resource) = { + type: "cloudbuild.googleapis.com/GithubEnterpriseConfig" + pattern: "projects/{project}/githubEnterpriseConfigs/{config}" + pattern: "projects/{project}/locations/{location}/githubEnterpriseConfigs/{config}" + }; + + // Optional. The full resource name for the GitHubEnterpriseConfig + // For example: + // "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}" + string name = 7 [(google.api.field_behavior) = OPTIONAL]; + + // The URL of the github enterprise host the configuration is for. + string host_url = 3; + + // Required. The GitHub app id of the Cloud Build app on the GitHub Enterprise + // server. + int64 app_id = 4 [(google.api.field_behavior) = REQUIRED]; + + // Output only. Time when the installation was associated with the project. + google.protobuf.Timestamp create_time = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // The key that should be attached to webhook calls to the ReceiveWebhook + // endpoint. + string webhook_key = 8; + + // Optional. The network to be used when reaching out to the GitHub + // Enterprise server. The VPC network must be enabled for private + // service connection. This should be set if the GitHub Enterprise server is + // hosted on-premises and not reachable by public internet. + // If this field is left empty, no network peering will occur and calls to + // the GitHub Enterprise server will be made over the public internet. + // Must be in the format + // `projects/{project}/global/networks/{network}`, where {project} + // is a project number or id and {network} is the name of a + // VPC network in the project. + string peered_network = 9 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.resource_reference) = { type: "compute.googleapis.com/Network" } + ]; + + // Names of secrets in Secret Manager. + GitHubEnterpriseSecrets secrets = 10; + + // Name to display for this config. + string display_name = 11; + + // Optional. SSL certificate to use for requests to GitHub Enterprise. + string ssl_ca = 12 [(google.api.field_behavior) = OPTIONAL]; +} + +// GitHubEnterpriseSecrets represents the names of all necessary secrets in +// Secret Manager for a GitHub Enterprise server. +// Format is: projects//secrets/. +message GitHubEnterpriseSecrets { + // The resource name for the private key secret version. + string private_key_version_name = 5 [(google.api.resource_reference) = { + type: "secretmanager.googleapis.com/SecretVersion" + }]; + + // The resource name for the webhook secret secret version in Secret Manager. + string webhook_secret_version_name = 6 [(google.api.resource_reference) = { + type: "secretmanager.googleapis.com/SecretVersion" + }]; + + // The resource name for the OAuth secret secret version in Secret Manager. + string oauth_secret_version_name = 7 [(google.api.resource_reference) = { + type: "secretmanager.googleapis.com/SecretVersion" + }]; + + // The resource name for the OAuth client ID secret version in Secret Manager. + string oauth_client_id_version_name = 8 [(google.api.resource_reference) = { + type: "secretmanager.googleapis.com/SecretVersion" + }]; +} + // Configuration for a `WorkerPool`. // // Cloud Build owns and maintains a pool of workers for general use and have no @@ -1980,6 +2461,9 @@ message WorkerPool { // `WorkerPool` is deleted. DELETED = 4; + + // `WorkerPool` is being updated; new builds cannot be run. + UPDATING = 5; } // Output only. The resource name of the `WorkerPool`, with format @@ -2018,9 +2502,9 @@ message WorkerPool { // Output only. `WorkerPool` state. State state = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Private Pool configuration for the `WorkerPool`. + // Configuration for the `WorkerPool`. oneof config { - // Private Pool using a v1 configuration. + // Legacy Private Pool configuration. PrivatePoolV1Config private_pool_v1_config = 12; } @@ -2044,7 +2528,7 @@ message PrivatePoolV1Config { // Size of the disk attached to the worker, in GB. // See [Worker pool config // file](https://cloud.google.com/build/docs/private-pools/worker-pool-config-file-schema). - // Specify a value of up to 1000. If `0` is specified, Cloud Build will use + // Specify a value of up to 2000. If `0` is specified, Cloud Build will use // a standard disk size. int64 disk_size_gb = 2; } @@ -2083,6 +2567,17 @@ message PrivatePoolV1Config { // Option to configure network egress for the workers. EgressOption egress_option = 2; + + // Immutable. Subnet IP range within the peered network. This is specified + // in CIDR notation with a slash and the subnet prefix size. You can + // optionally specify an IP address before the subnet prefix value. e.g. + // `192.168.0.0/29` would specify an IP range starting at 192.168.0.0 with a + // prefix size of 29 bits. + // `/16` would specify a prefix size of 16 bits, with an automatically + // determined IP within the peered VPC. + // If unspecified, a value of `/24` will be used. + string peered_network_ip_range = 3 + [(google.api.field_behavior) = IMMUTABLE]; } // Machine configuration for the workers in the pool. @@ -2137,7 +2632,7 @@ message GetWorkerPoolRequest { message DeleteWorkerPoolRequest { // Required. The name of the `WorkerPool` to delete. // Format: - // `projects/{project}/locations/{workerPool}/workerPools/{workerPool}`. + // `projects/{project}/locations/{location}/workerPools/{workerPool}`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -2145,9 +2640,9 @@ message DeleteWorkerPoolRequest { } ]; - // Optional. If this is provided, it must match the server's etag on the - // workerpool for the request to be processed. - string etag = 2; + // Optional. If provided, it must match the server's etag on the workerpool + // for the request to be processed. + string etag = 2 [(google.api.field_behavior) = OPTIONAL]; // If set to true, and the `WorkerPool` is not found, the request will succeed // but no action will be taken on the server. diff --git a/third_party/googleapis/google/devtools/cloudbuild/v2/BUILD.bazel b/third_party/googleapis/google/devtools/cloudbuild/v2/BUILD.bazel index 3ff64c5d5..a26a30884 100644 --- a/third_party/googleapis/google/devtools/cloudbuild/v2/BUILD.bazel +++ b/third_party/googleapis/google/devtools/cloudbuild/v2/BUILD.bazel @@ -73,7 +73,7 @@ java_grpc_library( java_gapic_library( name = "cloudbuild_java_gapic", srcs = [":cloudbuild_proto_with_info"], - gapic_yaml = None, + gapic_yaml = "cloudbuild_gapic.yaml", grpc_service_config = "cloudbuild_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "cloudbuild_v2.yaml", @@ -94,8 +94,8 @@ java_gapic_library( java_gapic_test( name = "cloudbuild_java_gapic_test_suite", test_classes = [ - "google.devtools.cloudbuild.v2.RepositoryManagerClientHttpJsonTest", - "google.devtools.cloudbuild.v2.RepositoryManagerClientTest", + "com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClientHttpJsonTest", + "com.google.cloud.devtools.cloudbuild.v2.RepositoryManagerClientTest", ], runtime_deps = [":cloudbuild_java_gapic_test"], ) @@ -121,13 +121,12 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( name = "cloudbuild_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/devtools/cloudbuild/v2", + importpath = "cloud.google.com/go/cloudbuild/apiv2/cloudbuildpb", protos = [":cloudbuild_proto"], deps = [ "//google/api:annotations_go_proto", @@ -140,9 +139,9 @@ go_gapic_library( name = "cloudbuild_go_gapic", srcs = [":cloudbuild_proto_with_info"], grpc_service_config = "cloudbuild_grpc_service_config.json", - importpath = "cloud.google.com/go/devtools/cloudbuild/apiv2;cloudbuild", + importpath = "cloud.google.com/go/cloudbuild/apiv2;cloudbuild", metadata = True, - release_level = "beta", + release_level = "ga", rest_numeric_enums = True, service_yaml = "cloudbuild_v2.yaml", transport = "grpc+rest", @@ -157,19 +156,13 @@ go_gapic_library( ], ) -go_test( - name = "cloudbuild_go_gapic_test", - srcs = [":cloudbuild_go_gapic_srcjar_test"], - embed = [":cloudbuild_go_gapic"], - importpath = "cloud.google.com/go/devtools/cloudbuild/apiv2", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-devtools-cloudbuild-v2-go", deps = [ ":cloudbuild_go_gapic", ":cloudbuild_go_gapic_srcjar-metadata.srcjar", + ":cloudbuild_go_gapic_srcjar-snippets.srcjar", ":cloudbuild_go_gapic_srcjar-test.srcjar", ":cloudbuild_go_proto", ], @@ -226,7 +219,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -235,23 +227,15 @@ php_proto_library( deps = [":cloudbuild_proto"], ) -php_grpc_library( - name = "cloudbuild_php_grpc", - srcs = [":cloudbuild_proto"], - deps = [":cloudbuild_php_proto"], -) - php_gapic_library( name = "cloudbuild_php_gapic", srcs = [":cloudbuild_proto_with_info"], grpc_service_config = "cloudbuild_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "cloudbuild_v2.yaml", transport = "grpc+rest", - deps = [ - ":cloudbuild_php_grpc", - ":cloudbuild_php_proto", - ], + deps = [":cloudbuild_php_proto"], ) # Open Source Packages @@ -259,7 +243,6 @@ php_gapic_assembly_pkg( name = "google-cloud-devtools-cloudbuild-v2-php", deps = [ ":cloudbuild_php_gapic", - ":cloudbuild_php_grpc", ":cloudbuild_php_proto", ], ) diff --git a/third_party/googleapis/google/devtools/cloudbuild/v2/cloudbuild.proto b/third_party/googleapis/google/devtools/cloudbuild/v2/cloudbuild.proto index a6ea25877..8a2fb350d 100644 --- a/third_party/googleapis/google/devtools/cloudbuild/v2/cloudbuild.proto +++ b/third_party/googleapis/google/devtools/cloudbuild/v2/cloudbuild.proto @@ -23,10 +23,10 @@ import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.CloudBuild.V2"; -option go_package = "google.golang.org/genproto/googleapis/devtools/cloudbuild/v2;cloudbuild"; +option go_package = "cloud.google.com/go/cloudbuild/apiv2/cloudbuildpb;cloudbuildpb"; option java_multiple_files = true; option java_outer_classname = "CloudBuildProto"; -option java_package = "google.devtools.cloudbuild.v2"; +option java_package = "com.google.cloudbuild.v2"; option objc_class_prefix = "GCB"; option php_namespace = "Google\\Cloud\\Build\\V2"; option ruby_package = "Google::Cloud::Build::V2"; diff --git a/third_party/googleapis/google/devtools/cloudbuild/v2/cloudbuild_v2.yaml b/third_party/googleapis/google/devtools/cloudbuild/v2/cloudbuild_v2.yaml index 839bb69aa..665eebcf7 100644 --- a/third_party/googleapis/google/devtools/cloudbuild/v2/cloudbuild_v2.yaml +++ b/third_party/googleapis/google/devtools/cloudbuild/v2/cloudbuild_v2.yaml @@ -50,6 +50,16 @@ backend: rules: - selector: 'google.devtools.cloudbuild.v2.RepositoryManager.*' deadline: 5.0 + - selector: google.devtools.cloudbuild.v2.RepositoryManager.FetchGitRefs + deadline: 10.0 + - selector: google.devtools.cloudbuild.v2.RepositoryManager.FetchLinkableRepositories + deadline: 10.0 + - selector: google.devtools.cloudbuild.v2.RepositoryManager.FetchReadToken + deadline: 10.0 + - selector: google.devtools.cloudbuild.v2.RepositoryManager.FetchReadWriteToken + deadline: 10.0 + - selector: google.devtools.cloudbuild.v2.RepositoryManager.ProcessWebhook + deadline: 10.0 - selector: 'google.iam.v1.IAMPolicy.*' deadline: 5.0 - selector: google.longrunning.Operations.CancelOperation diff --git a/third_party/googleapis/google/devtools/cloudbuild/v2/repositories.proto b/third_party/googleapis/google/devtools/cloudbuild/v2/repositories.proto index 5cfa6d941..41583e70d 100644 --- a/third_party/googleapis/google/devtools/cloudbuild/v2/repositories.proto +++ b/third_party/googleapis/google/devtools/cloudbuild/v2/repositories.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -27,10 +27,10 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.CloudBuild.V2"; -option go_package = "google.golang.org/genproto/googleapis/devtools/cloudbuild/v2;cloudbuild"; +option go_package = "cloud.google.com/go/cloudbuild/apiv2/cloudbuildpb;cloudbuildpb"; option java_multiple_files = true; option java_outer_classname = "RepositoryManagerProto"; -option java_package = "google.devtools.cloudbuild.v2"; +option java_package = "com.google.cloudbuild.v2"; option objc_class_prefix = "GCB"; option php_namespace = "Google\\Cloud\\Build\\V2"; option ruby_package = "Google::Cloud::Build::V2"; @@ -39,7 +39,7 @@ option (google.api.resource_definition) = { pattern: "projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}" }; -// Manages connections to source code repostiories. +// Manages connections to source code repositories. service RepositoryManager { option (google.api.default_host) = "cloudbuild.googleapis.com"; option (google.api.oauth_scopes) = @@ -188,6 +188,14 @@ service RepositoryManager { get: "/v2/{connection=projects/*/locations/*/connections/*}:fetchLinkableRepositories" }; } + + // Fetch the list of branches or tags for a given repository. + rpc FetchGitRefs(FetchGitRefsRequest) returns (FetchGitRefsResponse) { + option (google.api.http) = { + get: "/v2/{repository=projects/*/locations/*/connections/*/repositories/*}:fetchGitRefs" + }; + option (google.api.method_signature) = "repository"; + } } // A connection to a SCM like GitHub, GitHub Enterprise, Bitbucket Server or @@ -220,6 +228,10 @@ message Connection { // Configuration for connections to an instance of GitHub Enterprise. GitHubEnterpriseConfig github_enterprise_config = 6; + + // Configuration for connections to gitlab.com or an instance of GitLab + // Enterprise. + GitLabConfig gitlab_config = 7; } // Output only. Installation state of the Connection. @@ -360,6 +372,48 @@ message GitHubEnterpriseConfig { string server_version = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; } +// Configuration for connections to gitlab.com or an instance of GitLab +// Enterprise. +message GitLabConfig { + // The URI of the GitLab Enterprise host this connection is for. + // If not specified, the default value is https://gitlab.com. + string host_uri = 1; + + // Required. Immutable. SecretManager resource containing the webhook secret + // of a GitLab Enterprise project, formatted as + // `projects/*/secrets/*/versions/*`. + string webhook_secret_secret_version = 2 [ + (google.api.field_behavior) = REQUIRED, + (google.api.field_behavior) = IMMUTABLE, + (google.api.resource_reference) = { + type: "secretmanager.googleapis.com/SecretVersion" + } + ]; + + // Required. A GitLab personal access token with the minimum `read_api` scope + // access. + UserCredential read_authorizer_credential = 3 + [(google.api.field_behavior) = REQUIRED]; + + // Required. A GitLab personal access token with the `api` scope access. + UserCredential authorizer_credential = 4 + [(google.api.field_behavior) = REQUIRED]; + + // Configuration for using Service Directory to privately connect to a GitLab + // Enterprise server. This should only be set if the GitLab Enterprise server + // is hosted on-premises and not reachable by public internet. If this field + // is left empty, calls to the GitLab Enterprise server will be made over the + // public internet. + ServiceDirectoryConfig service_directory_config = 5; + + // SSL certificate to use for requests to GitLab Enterprise. + string ssl_ca = 6; + + // Output only. Version of the GitLab Enterprise server running on the + // `host_uri`. + string server_version = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + // ServiceDirectoryConfig represents Service Directory configuration for a // connection. message ServiceDirectoryConfig { @@ -406,6 +460,9 @@ message Repository { // fields, and may be sent on update and delete requests to ensure the // client has an up-to-date value before proceeding. string etag = 7; + + // Output only. External ID of the webhook created for the repository. + string webhook_id = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Represents an OAuth token of the account that authorized the Connection, @@ -421,6 +478,23 @@ message OAuthCredential { string username = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; } +// Represents a personal access token that authorized the Connection, +// and associated metadata. +message UserCredential { + // Required. A SecretManager resource containing the user token that + // authorizes the Cloud Build connection. Format: + // `projects/*/secrets/*/versions/*`. + string user_token_secret_version = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "secretmanager.googleapis.com/SecretVersion" + } + ]; + + // Output only. The username associated to this token. + string username = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + // Message for creating a Connection message CreateConnectionRequest { // Required. Project and location where the connection will be created. @@ -674,3 +748,55 @@ message FetchReadWriteTokenResponse { // Expiration timestamp. Can be empty if unknown or non-expiring. google.protobuf.Timestamp expiration_time = 2; } + +// RPC request object accepted by the ProcessWebhook RPC method. +message ProcessWebhookRequest { + // Required. Project and location where the webhook will be received. + // Format: `projects/*/locations/*`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "cloudbuild.googleapis.com/Connection" + } + ]; + + // HTTP request body. + google.api.HttpBody body = 2; + + // Arbitrary additional key to find the maching repository for a webhook event + // if needed. + string webhook_key = 3; +} + +// Request for fetching git refs +message FetchGitRefsRequest { + // Type of refs + enum RefType { + // No type specified. + REF_TYPE_UNSPECIFIED = 0; + + // To fetch tags. + TAG = 1; + + // To fetch branches. + BRANCH = 2; + } + + // Required. The resource name of the repository in the format + // `projects/*/locations/*/connections/*/repositories/*`. + string repository = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudbuild.googleapis.com/Repository" + } + ]; + + // Type of refs to fetch + RefType ref_type = 2; +} + +// Response for fetching git refs +message FetchGitRefsResponse { + // Name of the refs fetched. + repeated string ref_names = 1; +} diff --git a/third_party/googleapis/google/devtools/clouddebugger/v2/BUILD.bazel b/third_party/googleapis/google/devtools/clouddebugger/v2/BUILD.bazel index 8f72b89c0..c2cbb62d0 100644 --- a/third_party/googleapis/google/devtools/clouddebugger/v2/BUILD.bazel +++ b/third_party/googleapis/google/devtools/clouddebugger/v2/BUILD.bazel @@ -15,7 +15,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -25,7 +24,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -82,6 +80,7 @@ java_gapic_library( gapic_yaml = "clouddebugger_gapic.yaml", grpc_service_config = "clouddebugger_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "clouddebugger_v2.yaml", test_deps = [ ":clouddebugger_java_grpc", ], @@ -118,7 +117,7 @@ java_gapic_assembly_gradle_pkg( go_proto_library( name = "clouddebugger_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/devtools/clouddebugger/v2", + importpath = "cloud.google.com/go/debugger/apiv2/debuggerpb", protos = [":clouddebugger_proto"], deps = [ "//google/api:annotations_go_proto", @@ -130,7 +129,7 @@ go_gapic_library( name = "clouddebugger_go_gapic", srcs = [":clouddebugger_proto_with_info"], grpc_service_config = "clouddebugger_grpc_service_config.json", - importpath = "cloud.google.com/go/debugger/apiv2;clouddebugger", + importpath = "cloud.google.com/go/debugger/apiv2;debugger", rest_numeric_enums = True, service_yaml = "clouddebugger_v2.yaml", transport = "grpc+rest", @@ -139,18 +138,12 @@ go_gapic_library( ], ) -go_test( - name = "clouddebugger_go_gapic_test", - srcs = [":clouddebugger_go_gapic_srcjar_test"], - embed = [":clouddebugger_go_gapic"], - importpath = "cloud.google.com/go/debugger/apiv2", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-devtools-clouddebugger-v2-go", deps = [ ":clouddebugger_go_gapic", + ":clouddebugger_go_gapic_srcjar-snippets.srcjar", ":clouddebugger_go_gapic_srcjar-test.srcjar", ":clouddebugger_go_proto", ], @@ -195,23 +188,16 @@ php_proto_library( deps = [":clouddebugger_proto"], ) -php_grpc_library( - name = "clouddebugger_php_grpc", - srcs = [":clouddebugger_proto"], - deps = [":clouddebugger_php_proto"], -) - php_gapic_library( name = "clouddebugger_php_gapic", srcs = [":clouddebugger_proto_with_info"], grpc_service_config = "clouddebugger_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "clouddebugger_v2.yaml", transport = "grpc+rest", deps = [ - ":clouddebugger_php_grpc", ":clouddebugger_php_proto", - "//google/devtools/source/v1:source_php_grpc", "//google/devtools/source/v1:source_php_proto", ], ) @@ -221,9 +207,7 @@ php_gapic_assembly_pkg( name = "google-cloud-devtools-clouddebugger-v2-php", deps = [ ":clouddebugger_php_gapic", - ":clouddebugger_php_grpc", ":clouddebugger_php_proto", - "//google/devtools/source/v1:source_php_grpc", "//google/devtools/source/v1:source_php_proto", ], ) @@ -276,6 +260,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "The Cloud Debugger API allows applications to interact with the Google Cloud Debugger backends. It provides two interfaces: the Debugger interface and the Controller interface. The Controller interface allows you to implement an agent that sends state data -- for example, the value of program variables and the call stack -- to Cloud Debugger when the application is running. The Debugger interface allows you to implement a Cloud Debugger client that allows users to set and delete the breakpoints at which the state data is collected, as well as read the data that is captured.", ruby_cloud_title = "Cloud Debugger V2", service_yaml = "clouddebugger_v2.yaml", + transport = "grpc+rest", deps = [ ":clouddebugger_ruby_grpc", ":clouddebugger_ruby_proto", diff --git a/third_party/googleapis/google/devtools/clouddebugger/v2/controller.proto b/third_party/googleapis/google/devtools/clouddebugger/v2/controller.proto index 9793f214b..47c3bfc0d 100644 --- a/third_party/googleapis/google/devtools/clouddebugger/v2/controller.proto +++ b/third_party/googleapis/google/devtools/clouddebugger/v2/controller.proto @@ -23,7 +23,7 @@ import "google/api/field_behavior.proto"; import "google/devtools/clouddebugger/v2/data.proto"; option csharp_namespace = "Google.Cloud.Debugger.V2"; -option go_package = "google.golang.org/genproto/googleapis/devtools/clouddebugger/v2;clouddebugger"; +option go_package = "cloud.google.com/go/debugger/apiv2/debuggerpb;debuggerpb"; option java_multiple_files = true; option java_outer_classname = "ControllerProto"; option java_package = "com.google.devtools.clouddebugger.v2"; diff --git a/third_party/googleapis/google/devtools/clouddebugger/v2/data.proto b/third_party/googleapis/google/devtools/clouddebugger/v2/data.proto index ca8a8dfe7..9ab7368c9 100644 --- a/third_party/googleapis/google/devtools/clouddebugger/v2/data.proto +++ b/third_party/googleapis/google/devtools/clouddebugger/v2/data.proto @@ -23,7 +23,7 @@ import "google/protobuf/wrappers.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Debugger.V2"; -option go_package = "google.golang.org/genproto/googleapis/devtools/clouddebugger/v2;clouddebugger"; +option go_package = "cloud.google.com/go/debugger/apiv2/debuggerpb;debuggerpb"; option java_multiple_files = true; option java_outer_classname = "DataProto"; option java_package = "com.google.devtools.clouddebugger.v2"; diff --git a/third_party/googleapis/google/devtools/clouddebugger/v2/debugger.proto b/third_party/googleapis/google/devtools/clouddebugger/v2/debugger.proto index af5848f6e..47759ed87 100644 --- a/third_party/googleapis/google/devtools/clouddebugger/v2/debugger.proto +++ b/third_party/googleapis/google/devtools/clouddebugger/v2/debugger.proto @@ -24,7 +24,7 @@ import "google/protobuf/empty.proto"; import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.Debugger.V2"; -option go_package = "google.golang.org/genproto/googleapis/devtools/clouddebugger/v2;clouddebugger"; +option go_package = "cloud.google.com/go/debugger/apiv2/debuggerpb;debuggerpb"; option java_multiple_files = true; option java_outer_classname = "DebuggerProto"; option java_package = "com.google.devtools.clouddebugger.v2"; diff --git a/third_party/googleapis/google/devtools/clouderrorreporting/README.md b/third_party/googleapis/google/devtools/clouderrorreporting/README.md index 3edcebe6f..9926d41f7 100644 --- a/third_party/googleapis/google/devtools/clouderrorreporting/README.md +++ b/third_party/googleapis/google/devtools/clouderrorreporting/README.md @@ -1 +1 @@ -Read more about the Stackdriver Error Reporting API [here](https://cloud.google.com/error-reporting/reference/) +Read more about the Error Reporting API [here](https://cloud.google.com/error-reporting/reference/) diff --git a/third_party/googleapis/google/devtools/clouderrorreporting/v1beta1/BUILD.bazel b/third_party/googleapis/google/devtools/clouderrorreporting/v1beta1/BUILD.bazel index e9c59e1b8..a8a59684e 100644 --- a/third_party/googleapis/google/devtools/clouderrorreporting/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/devtools/clouderrorreporting/v1beta1/BUILD.bazel @@ -22,7 +22,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -32,7 +31,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -89,6 +87,7 @@ java_gapic_library( srcs = [":clouderrorreporting_proto_with_info"], grpc_service_config = "errorreporting_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "clouderrorreporting_v1beta1.yaml", test_deps = [ ":clouderrorreporting_java_grpc", ], @@ -127,7 +126,7 @@ java_gapic_assembly_gradle_pkg( go_proto_library( name = "clouderrorreporting_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1", + importpath = "cloud.google.com/go/errorreporting/apiv1beta1/errorreportingpb", protos = [":clouderrorreporting_proto"], deps = [ "//google/api:annotations_go_proto", @@ -139,7 +138,7 @@ go_gapic_library( name = "clouderrorreporting_go_gapic", srcs = [":clouderrorreporting_proto_with_info"], grpc_service_config = "errorreporting_grpc_service_config.json", - importpath = "cloud.google.com/go/devtools/clouderrorreporting/apiv1beta1;clouderrorreporting", + importpath = "cloud.google.com/go/errorreporting/apiv1beta1;errorreporting", rest_numeric_enums = True, service_yaml = "clouderrorreporting_v1beta1.yaml", transport = "grpc+rest", @@ -149,18 +148,12 @@ go_gapic_library( ], ) -go_test( - name = "clouderrorreporting_go_gapic_test", - srcs = [":clouderrorreporting_go_gapic_srcjar_test"], - embed = [":clouderrorreporting_go_gapic"], - importpath = "cloud.google.com/go/devtools/clouderrorreporting/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-devtools-clouderrorreporting-v1beta1-go", deps = [ ":clouderrorreporting_go_gapic", + ":clouderrorreporting_go_gapic_srcjar-snippets.srcjar", ":clouderrorreporting_go_gapic_srcjar-test.srcjar", ":clouderrorreporting_go_proto", ], @@ -203,23 +196,15 @@ php_proto_library( deps = [":clouderrorreporting_proto"], ) -php_grpc_library( - name = "clouderrorreporting_php_grpc", - srcs = [":clouderrorreporting_proto"], - deps = [":clouderrorreporting_php_proto"], -) - php_gapic_library( name = "clouderrorreporting_php_gapic", srcs = [":clouderrorreporting_proto_with_info"], grpc_service_config = "errorreporting_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "clouderrorreporting_v1beta1.yaml", transport = "grpc+rest", - deps = [ - ":clouderrorreporting_php_grpc", - ":clouderrorreporting_php_proto", - ], + deps = [":clouderrorreporting_php_proto"], ) # Open Source Packages @@ -227,7 +212,6 @@ php_gapic_assembly_pkg( name = "google-cloud-devtools-clouderrorreporting-v1beta1-php", deps = [ ":clouderrorreporting_php_gapic", - ":clouderrorreporting_php_grpc", ":clouderrorreporting_php_proto", ], ) @@ -279,6 +263,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "The Error Reporting API provides a simple endpoint to report errors from your running service, and read access to error groups and their associated errors.", ruby_cloud_title = "Error Reporting V1beta1", service_yaml = "clouderrorreporting_v1beta1.yaml", + transport = "grpc+rest", deps = [ ":clouderrorreporting_ruby_grpc", ":clouderrorreporting_ruby_proto", diff --git a/third_party/googleapis/google/devtools/clouderrorreporting/v1beta1/common.proto b/third_party/googleapis/google/devtools/clouderrorreporting/v1beta1/common.proto index 8025368ca..70280825a 100644 --- a/third_party/googleapis/google/devtools/clouderrorreporting/v1beta1/common.proto +++ b/third_party/googleapis/google/devtools/clouderrorreporting/v1beta1/common.proto @@ -21,7 +21,7 @@ import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.ErrorReporting.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1;clouderrorreporting"; +option go_package = "cloud.google.com/go/errorreporting/apiv1beta1/errorreportingpb;errorreportingpb"; option java_multiple_files = true; option java_outer_classname = "CommonProto"; option java_package = "com.google.devtools.clouderrorreporting.v1beta1"; diff --git a/third_party/googleapis/google/devtools/clouderrorreporting/v1beta1/error_group_service.proto b/third_party/googleapis/google/devtools/clouderrorreporting/v1beta1/error_group_service.proto index 0104b62d3..c071a1a45 100644 --- a/third_party/googleapis/google/devtools/clouderrorreporting/v1beta1/error_group_service.proto +++ b/third_party/googleapis/google/devtools/clouderrorreporting/v1beta1/error_group_service.proto @@ -24,7 +24,7 @@ import "google/devtools/clouderrorreporting/v1beta1/common.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.ErrorReporting.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1;clouderrorreporting"; +option go_package = "cloud.google.com/go/errorreporting/apiv1beta1/errorreportingpb;errorreportingpb"; option java_multiple_files = true; option java_outer_classname = "ErrorGroupServiceProto"; option java_package = "com.google.devtools.clouderrorreporting.v1beta1"; diff --git a/third_party/googleapis/google/devtools/clouderrorreporting/v1beta1/error_stats_service.proto b/third_party/googleapis/google/devtools/clouderrorreporting/v1beta1/error_stats_service.proto index 6c62edd9e..e34d677b1 100644 --- a/third_party/googleapis/google/devtools/clouderrorreporting/v1beta1/error_stats_service.proto +++ b/third_party/googleapis/google/devtools/clouderrorreporting/v1beta1/error_stats_service.proto @@ -26,7 +26,7 @@ import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.ErrorReporting.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1;clouderrorreporting"; +option go_package = "cloud.google.com/go/errorreporting/apiv1beta1/errorreportingpb;errorreportingpb"; option java_multiple_files = true; option java_outer_classname = "ErrorStatsServiceProto"; option java_package = "com.google.devtools.clouderrorreporting.v1beta1"; diff --git a/third_party/googleapis/google/devtools/clouderrorreporting/v1beta1/report_errors_service.proto b/third_party/googleapis/google/devtools/clouderrorreporting/v1beta1/report_errors_service.proto index 0f78b8521..f7ecb7ff9 100644 --- a/third_party/googleapis/google/devtools/clouderrorreporting/v1beta1/report_errors_service.proto +++ b/third_party/googleapis/google/devtools/clouderrorreporting/v1beta1/report_errors_service.proto @@ -25,7 +25,7 @@ import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.ErrorReporting.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1;clouderrorreporting"; +option go_package = "cloud.google.com/go/errorreporting/apiv1beta1/errorreportingpb;errorreportingpb"; option java_multiple_files = true; option java_outer_classname = "ReportErrorsServiceProto"; option java_package = "com.google.devtools.clouderrorreporting.v1beta1"; diff --git a/third_party/googleapis/google/devtools/cloudprofiler/BUILD.bazel b/third_party/googleapis/google/devtools/cloudprofiler/BUILD.bazel index 8e06f7a67..6f89aebfb 100644 --- a/third_party/googleapis/google/devtools/cloudprofiler/BUILD.bazel +++ b/third_party/googleapis/google/devtools/cloudprofiler/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-profiler", "ruby-cloud-env-prefix=PROFILER", - "ruby-cloud-wrapper-of=v2:0.2", + "ruby-cloud-wrapper-of=v2:0.9", "ruby-cloud-product-url=https://cloud.google.com/profiler/", "ruby-cloud-api-id=cloudprofiler.googleapis.com", "ruby-cloud-api-shortname=cloudprofiler", ], ruby_cloud_description = "Cloud Profiler is a statistical, low-overhead profiler that continuously gathers CPU usage and memory-allocation information from your production applications. It attributes that information to the application's source code, helping you identify the parts of the application consuming the most resources, and otherwise illuminating the performance characteristics of the code.", ruby_cloud_title = "Cloud Profiler", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/devtools/cloudprofiler/v2/BUILD.bazel b/third_party/googleapis/google/devtools/cloudprofiler/v2/BUILD.bazel index 8e35f33a0..59763c143 100644 --- a/third_party/googleapis/google/devtools/cloudprofiler/v2/BUILD.bazel +++ b/third_party/googleapis/google/devtools/cloudprofiler/v2/BUILD.bazel @@ -1,5 +1,5 @@ # This file was automatically generated by BuildFileGenerator -# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +# 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: @@ -9,45 +9,14 @@ # * 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"]) + ############################################################################## # Common ############################################################################## load("@rules_proto//proto:defs.bzl", "proto_library") -load( - "@com_google_googleapis_imports//:imports.bzl", - "cc_grpc_library", - "cc_proto_library", - "csharp_gapic_assembly_pkg", - "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", - "go_gapic_assembly_pkg", - "go_gapic_library", - "go_proto_library", - "go_test", - "java_gapic_assembly_gradle_pkg", - "java_gapic_library", - "java_gapic_test", - "java_grpc_library", - "java_proto_library", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", - "php_gapic_assembly_pkg", - "php_gapic_library", - "php_grpc_library", - "php_proto_library", - "proto_library_with_info", - "py_gapic_assembly_pkg", - "py_gapic_library", - "py_test", - "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) +load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") proto_library( name = "cloudprofiler_proto", @@ -57,6 +26,8 @@ proto_library( deps = [ "//google/api:annotations_proto", "//google/api:client_proto", + "//google/api:field_behavior_proto", + "//google/api:resource_proto", "@com_google_protobuf//:duration_proto", "@com_google_protobuf//:field_mask_proto", ], @@ -70,6 +41,18 @@ proto_library_with_info( ], ) +############################################################################## +# Java +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "java_gapic_assembly_gradle_pkg", + "java_gapic_library", + "java_gapic_test", + "java_grpc_library", + "java_proto_library", +) + java_proto_library( name = "cloudprofiler_java_proto", deps = [":cloudprofiler_proto"], @@ -84,14 +67,17 @@ java_grpc_library( java_gapic_library( name = "cloudprofiler_java_gapic", srcs = [":cloudprofiler_proto_with_info"], + gapic_yaml = None, grpc_service_config = "cloudprofiler_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "cloudprofiler_v2.yaml", test_deps = [ ":cloudprofiler_java_grpc", ], transport = "grpc+rest", deps = [ ":cloudprofiler_java_proto", + "//google/api:api_java_proto", ], ) @@ -117,10 +103,20 @@ java_gapic_assembly_gradle_pkg( ], ) +############################################################################## +# Go +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "go_gapic_assembly_pkg", + "go_gapic_library", + "go_proto_library", +) + go_proto_library( name = "cloudprofiler_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/devtools/cloudprofiler/v2", + importpath = "cloud.google.com/go/cloudprofiler/apiv2/cloudprofilerpb", protos = [":cloudprofiler_proto"], deps = [ "//google/api:annotations_go_proto", @@ -131,7 +127,9 @@ go_gapic_library( name = "cloudprofiler_go_gapic", srcs = [":cloudprofiler_proto_with_info"], grpc_service_config = "cloudprofiler_grpc_service_config.json", - importpath = "cloud.google.com/go/devtools/cloudprofiler/apiv2;cloudprofiler", + importpath = "cloud.google.com/go/cloudprofiler/apiv2;cloudprofiler", + metadata = True, + release_level = "beta", rest_numeric_enums = True, service_yaml = "cloudprofiler_v2.yaml", transport = "grpc+rest", @@ -141,23 +139,28 @@ go_gapic_library( ], ) -go_test( - name = "cloudprofiler_go_gapic_test", - srcs = [":cloudprofiler_go_gapic_srcjar_test"], - embed = [":cloudprofiler_go_gapic"], - importpath = "cloud.google.com/go/devtools/cloudprofiler/apiv2", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-devtools-cloudprofiler-v2-go", deps = [ ":cloudprofiler_go_gapic", + ":cloudprofiler_go_gapic_srcjar-metadata.srcjar", + ":cloudprofiler_go_gapic_srcjar-snippets.srcjar", ":cloudprofiler_go_gapic_srcjar-test.srcjar", ":cloudprofiler_go_proto", ], ) +############################################################################## +# Python +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "py_gapic_assembly_pkg", + "py_gapic_library", + "py_test", +) + py_gapic_library( name = "cloudprofiler_py_gapic", srcs = [":cloudprofiler_proto"], @@ -165,6 +168,8 @@ py_gapic_library( rest_numeric_enums = True, service_yaml = "cloudprofiler_v2.yaml", transport = "grpc+rest", + deps = [ + ], ) py_test( @@ -185,26 +190,30 @@ py_gapic_assembly_pkg( ], ) +############################################################################## +# PHP +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "php_gapic_assembly_pkg", + "php_gapic_library", + "php_proto_library", +) + php_proto_library( name = "cloudprofiler_php_proto", deps = [":cloudprofiler_proto"], ) -php_grpc_library( - name = "cloudprofiler_php_grpc", - srcs = [":cloudprofiler_proto"], - deps = [":cloudprofiler_php_proto"], -) - php_gapic_library( name = "cloudprofiler_php_gapic", srcs = [":cloudprofiler_proto_with_info"], grpc_service_config = "cloudprofiler_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "cloudprofiler_v2.yaml", transport = "grpc+rest", deps = [ - ":cloudprofiler_php_grpc", ":cloudprofiler_php_proto", ], ) @@ -214,11 +223,19 @@ php_gapic_assembly_pkg( name = "google-cloud-devtools-cloudprofiler-v2-php", deps = [ ":cloudprofiler_php_gapic", - ":cloudprofiler_php_grpc", ":cloudprofiler_php_proto", ], ) +############################################################################## +# Node.js +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "nodejs_gapic_assembly_pkg", + "nodejs_gapic_library", +) + nodejs_gapic_library( name = "cloudprofiler_nodejs_gapic", package_name = "@google-cloud/cloudprofiler", @@ -240,6 +257,17 @@ nodejs_gapic_assembly_pkg( ], ) +############################################################################## +# Ruby +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "ruby_cloud_gapic_library", + "ruby_gapic_assembly_pkg", + "ruby_grpc_library", + "ruby_proto_library", +) + ruby_proto_library( name = "cloudprofiler_ruby_proto", deps = [":cloudprofiler_proto"], @@ -255,17 +283,18 @@ ruby_cloud_gapic_library( name = "cloudprofiler_ruby_gapic", srcs = [":cloudprofiler_proto_with_info"], extra_protoc_parameters = [ - "ruby-cloud-gem-name=google-cloud-profiler-v2", - "ruby-cloud-env-prefix=PROFILER", - "ruby-cloud-product-url=https://cloud.google.com/profiler/", "ruby-cloud-api-id=cloudprofiler.googleapis.com", "ruby-cloud-api-shortname=cloudprofiler", + "ruby-cloud-env-prefix=PROFILER", + "ruby-cloud-gem-name=google-cloud-profiler-v2", + "ruby-cloud-product-url=https://cloud.google.com/profiler/", ], grpc_service_config = "cloudprofiler_grpc_service_config.json", rest_numeric_enums = True, ruby_cloud_description = "Cloud Profiler is a statistical, low-overhead profiler that continuously gathers CPU usage and memory-allocation information from your production applications. It attributes that information to the application's source code, helping you identify the parts of the application consuming the most resources, and otherwise illuminating the performance characteristics of the code.", ruby_cloud_title = "Cloud Profiler V2", service_yaml = "cloudprofiler_v2.yaml", + transport = "grpc+rest", deps = [ ":cloudprofiler_ruby_grpc", ":cloudprofiler_ruby_proto", @@ -282,8 +311,20 @@ ruby_gapic_assembly_pkg( ], ) +############################################################################## +# C# +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "csharp_gapic_assembly_pkg", + "csharp_gapic_library", + "csharp_grpc_library", + "csharp_proto_library", +) + csharp_proto_library( name = "cloudprofiler_csharp_proto", + extra_opts = [], deps = [":cloudprofiler_proto"], ) @@ -317,6 +358,15 @@ csharp_gapic_assembly_pkg( ], ) +############################################################################## +# C++ +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "cc_grpc_library", + "cc_proto_library", +) + cc_proto_library( name = "cloudprofiler_cc_proto", deps = [":cloudprofiler_proto"], diff --git a/third_party/googleapis/google/devtools/cloudprofiler/v2/cloudprofiler_grpc_service_config.json b/third_party/googleapis/google/devtools/cloudprofiler/v2/cloudprofiler_grpc_service_config.json index 0770f0f3e..4d0bae473 100644 --- a/third_party/googleapis/google/devtools/cloudprofiler/v2/cloudprofiler_grpc_service_config.json +++ b/third_party/googleapis/google/devtools/cloudprofiler/v2/cloudprofiler_grpc_service_config.json @@ -2,7 +2,7 @@ "methodConfig": [ { "name": [{"service": "google.devtools.cloudprofiler.v2.ProfilerService"}], - "timeout": "30s", + "timeout": "60s", "retryPolicy": { "maxAttempts": 5, "initialBackoff": "1s", @@ -11,6 +11,17 @@ "retryableStatusCodes": ["UNAVAILABLE"] } }, + { + "name": [{"service": "google.devtools.cloudprofiler.v2.ExportService"}], + "timeout": "130s", + "retryPolicy": { + "maxAttempts": 3, + "initialBackoff": "1s", + "maxBackoff": "10s", + "backoffMultiplier": 1.3, + "retryableStatusCodes": ["UNAVAILABLE"] + } + }, { "name": [ { @@ -18,7 +29,7 @@ "method": "CreateProfile" } ], - "timeout": "3600s" + "timeout": "3610s" }, { "name": [ diff --git a/third_party/googleapis/google/devtools/cloudprofiler/v2/cloudprofiler_v2.yaml b/third_party/googleapis/google/devtools/cloudprofiler/v2/cloudprofiler_v2.yaml index d4b129d0e..e8cd29952 100644 --- a/third_party/googleapis/google/devtools/cloudprofiler/v2/cloudprofiler_v2.yaml +++ b/third_party/googleapis/google/devtools/cloudprofiler/v2/cloudprofiler_v2.yaml @@ -4,6 +4,7 @@ name: cloudprofiler.googleapis.com title: Cloud Profiler API apis: +- name: google.devtools.cloudprofiler.v2.ExportService - name: google.devtools.cloudprofiler.v2.ProfilerService documentation: @@ -12,20 +13,44 @@ documentation: The Cloud Profiler API manages the continuous profiling information collected in cloud environments like App Engine, GKE and GCE. -backend: - rules: - - selector: google.devtools.cloudprofiler.v2.ProfilerService.CreateOfflineProfile - deadline: 20.0 - - selector: google.devtools.cloudprofiler.v2.ProfilerService.CreateProfile - deadline: 3600.0 - - selector: google.devtools.cloudprofiler.v2.ProfilerService.UpdateProfile - deadline: 20.0 - authentication: rules: + - selector: google.devtools.cloudprofiler.v2.ExportService.ListProfiles + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform, + https://www.googleapis.com/auth/monitoring, + https://www.googleapis.com/auth/monitoring.write - selector: 'google.devtools.cloudprofiler.v2.ProfilerService.*' oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform, https://www.googleapis.com/auth/monitoring, https://www.googleapis.com/auth/monitoring.write + +publishing: + new_issue_uri: https://issuetracker.google.com/issues/new?component=1227997&template=1161103 + documentation_uri: https://cloud.google.com/profiler/docs + api_short_name: cloudprofiler + github_label: 'api: cloudprofiler' + doc_tag_prefix: cloudprofiler + organization: CLOUD + library_settings: + - version: google.devtools.cloudprofiler.v2 + launch_stage: GA + java_settings: + common: + destinations: + - PACKAGE_MANAGER + python_settings: + common: + destinations: + - PACKAGE_MANAGER + node_settings: + common: + destinations: + - PACKAGE_MANAGER + go_settings: + common: + destinations: + - PACKAGE_MANAGER diff --git a/third_party/googleapis/google/devtools/cloudprofiler/v2/profiler.proto b/third_party/googleapis/google/devtools/cloudprofiler/v2/profiler.proto index b5a387c99..0962c2ae7 100644 --- a/third_party/googleapis/google/devtools/cloudprofiler/v2/profiler.proto +++ b/third_party/googleapis/google/devtools/cloudprofiler/v2/profiler.proto @@ -1,4 +1,4 @@ -// Copyright 2020 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,12 +17,14 @@ syntax = "proto3"; package google.devtools.cloudprofiler.v2; import "google/api/annotations.proto"; +import "google/api/client.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/field_mask.proto"; -import "google/api/client.proto"; option csharp_namespace = "Google.Cloud.Profiler.V2"; -option go_package = "google.golang.org/genproto/googleapis/devtools/cloudprofiler/v2;cloudprofiler"; +option go_package = "cloud.google.com/go/cloudprofiler/apiv2/cloudprofilerpb;cloudprofilerpb"; option java_multiple_files = true; option java_outer_classname = "ProfilerProto"; option java_package = "com.google.devtools.cloudprofiler.v2"; @@ -55,6 +57,7 @@ service ProfilerService { // status. To a gRPC client, the extension will be return as a // binary-serialized proto in the trailing metadata item named // "google.rpc.retryinfo-bin". + // rpc CreateProfile(CreateProfileRequest) returns (Profile) { option (google.api.http) = { post: "/v2/{parent=projects/*}/profiles" @@ -70,6 +73,7 @@ service ProfilerService { post: "/v2/{parent=projects/*}/profiles:createOffline" body: "profile" }; + option (google.api.method_signature) = "parent,profile"; } // UpdateProfile updates the profile bytes and labels on the profile resource @@ -81,6 +85,25 @@ service ProfilerService { patch: "/v2/{profile.name=projects/*/profiles/*}" body: "profile" }; + option (google.api.method_signature) = "profile,update_mask"; + } +} + +// Service allows existing Cloud Profiler customers to export their profile data +// out of Google Cloud. +service ExportService { + option (google.api.default_host) = "cloudprofiler.googleapis.com"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform," + "https://www.googleapis.com/auth/monitoring," + "https://www.googleapis.com/auth/monitoring.write"; + + // Lists profiles which have been collected so far and for which the caller + // has permission to view. + rpc ListProfiles(ListProfilesRequest) returns (ListProfilesResponse) { + option (google.api.http) = { + get: "/v2/{parent=projects/*}/profiles" + }; } } @@ -88,9 +111,12 @@ service ProfilerService { // The deployment field must be populated. The profile_type specifies the list // of profile types supported by the agent. The creation call will hang until a // profile of one of these types needs to be collected. +// message CreateProfileRequest { // Parent project to create the profile in. - string parent = 4; + string parent = 4 [(google.api.resource_reference) = { + type: "cloudresourcemanager.googleapis.com/Project" + }]; // Deployment details. Deployment deployment = 1; @@ -100,10 +126,12 @@ message CreateProfileRequest { } // CreateOfflineProfileRequest describes a profile resource offline creation -// request. Profile field must be set. +// request. message CreateOfflineProfileRequest { // Parent project to create the profile in. - string parent = 1; + string parent = 1 [(google.api.resource_reference) = { + type: "cloudresourcemanager.googleapis.com/Project" + }]; // Contents of the profile to create. Profile profile = 2; @@ -111,7 +139,7 @@ message CreateOfflineProfileRequest { // UpdateProfileRequest contains the profile to update. message UpdateProfileRequest { - // Profile to update + // Profile to update. Profile profile = 1; // Field mask used to specify the fields to be overwritten. Currently only @@ -123,8 +151,13 @@ message UpdateProfileRequest { // Profile resource. message Profile { + option (google.api.resource) = { + type: "cloudprofiler.googleapis.com/Profile" + pattern: "projects/{project}/profiles/{profile}" + }; + // Output only. Opaque, server-assigned, unique ID for this profile. - string name = 1; + string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Type of profile. // For offline mode, this must be specified when creating the profile. For @@ -144,12 +177,12 @@ message Profile { // Input only. Profile bytes, as a gzip compressed serialized proto, the // format is https://github.com/google/pprof/blob/master/proto/profile.proto. - bytes profile_bytes = 5; + bytes profile_bytes = 5 [(google.api.field_behavior) = INPUT_ONLY]; // Input only. Labels associated to this specific profile. These labels will - // get merged with the deployment labels for the final data set. See + // get merged with the deployment labels for the final data set. See // documentation on deployment labels for validation rules and limits. - map labels = 6; + map labels = 6 [(google.api.field_behavior) = INPUT_ONLY]; } // Deployment contains the deployment identification information. @@ -159,11 +192,11 @@ message Deployment { string project_id = 1; // Target is the service name used to group related deployments: - // * Service name for GAE Flex / Standard. + // * Service name for App Engine Flex / Standard. // * Cluster and container name for GKE. - // * User-specified string for direct GCE profiling (e.g. Java). + // * User-specified string for direct Compute Engine profiling (e.g. Java). // * Job name for Dataflow. - // Validation regex: `^[a-z]([-a-z0-9_.]{0,253}[a-z0-9])?$`. + // Validation regex: `^[a-z0-9]([-a-z0-9_.]{0,253}[a-z0-9])?$`. string target = 2; // Labels identify the deployment within the user universe and same target. @@ -216,3 +249,43 @@ enum ProfileType { // collection pressure to see if those can be optimized. HEAP_ALLOC = 7; } + +// ListProfilesRequest contains request parameters for listing profiles for +// deployments in projects which the user has permissions to view. +message ListProfilesRequest { + // Required. The parent, which owns this collection of profiles. + // Format: projects/{user_project_id} + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudresourcemanager.googleapis.com/Project" + } + ]; + + // The maximum number of items to return. + // Default page_size is 1000. + // Max limit is 10000. + int32 page_size = 2; + + // The token to continue pagination and get profiles from a particular page. + // When paginating, all other parameters provided to `ListProfiles` must match + // the call that provided the page token. + string page_token = 3; +} + +// ListProfileResponse contains the list of collected profiles for deployments +// in projects which the user has permissions to view. +message ListProfilesResponse { + // List of profiles fetched. + repeated Profile profiles = 1; + + // Token to receive the next page of results. + // This field maybe empty if there are no more profiles to fetch. + string next_page_token = 2; + + // Number of profiles that were skipped in the current page since they were + // not able to be fetched successfully. This should typically be zero. A + // non-zero value may indicate a transient failure, in which case if the + // number is too high for your use case, the call may be retried. + int32 skipped_profiles = 3; +} diff --git a/third_party/googleapis/google/devtools/cloudtrace/v1/BUILD.bazel b/third_party/googleapis/google/devtools/cloudtrace/v1/BUILD.bazel index d8105dc9c..77b4bd4d0 100644 --- a/third_party/googleapis/google/devtools/cloudtrace/v1/BUILD.bazel +++ b/third_party/googleapis/google/devtools/cloudtrace/v1/BUILD.bazel @@ -24,7 +24,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -34,7 +33,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -89,6 +87,7 @@ java_gapic_library( gapic_yaml = "cloudtrace_gapic.yaml", grpc_service_config = "cloudtrace_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "cloudtrace_v1.yaml", test_deps = [ ":cloudtrace_java_grpc", ], @@ -123,7 +122,7 @@ java_gapic_assembly_gradle_pkg( go_proto_library( name = "cloudtrace_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/devtools/cloudtrace/v1", + importpath = "cloud.google.com/go/trace/apiv1/tracepb", protos = [":cloudtrace_proto"], deps = [ "//google/api:annotations_go_proto", @@ -134,7 +133,7 @@ go_gapic_library( name = "cloudtrace_go_gapic", srcs = [":cloudtrace_proto_with_info"], grpc_service_config = "cloudtrace_grpc_service_config.json", - importpath = "cloud.google.com/go/devtools/cloudtrace/apiv1;cloudtrace", + importpath = "cloud.google.com/go/trace/apiv1;trace", rest_numeric_enums = True, service_yaml = "cloudtrace_v1.yaml", transport = "grpc+rest", @@ -143,18 +142,12 @@ go_gapic_library( ], ) -go_test( - name = "cloudtrace_go_gapic_test", - srcs = [":cloudtrace_go_gapic_srcjar_test"], - embed = [":cloudtrace_go_gapic"], - importpath = "cloud.google.com/go/devtools/cloudtrace/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-devtools-cloudtrace-v1-go", deps = [ ":cloudtrace_go_gapic", + ":cloudtrace_go_gapic_srcjar-snippets.srcjar", ":cloudtrace_go_gapic_srcjar-test.srcjar", ":cloudtrace_go_proto", ], @@ -196,12 +189,6 @@ php_proto_library( deps = [":cloudtrace_proto"], ) -php_grpc_library( - name = "cloudtrace_php_grpc", - srcs = [":cloudtrace_proto"], - deps = [":cloudtrace_php_proto"], -) - php_gapic_library( name = "cloudtrace_php_gapic", srcs = [":cloudtrace_proto_with_info"], @@ -209,10 +196,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "cloudtrace_v1.yaml", transport = "grpc+rest", - deps = [ - ":cloudtrace_php_grpc", - ":cloudtrace_php_proto", - ], + deps = [":cloudtrace_php_proto"], ) # Open Source Packages @@ -220,7 +204,6 @@ php_gapic_assembly_pkg( name = "google-cloud-devtools-cloudtrace-v1-php", deps = [ ":cloudtrace_php_gapic", - ":cloudtrace_php_grpc", ":cloudtrace_php_proto", ], ) @@ -271,6 +254,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "The Cloud Trace API lets you send and retrieve latency data to and from Cloud Trace. This API provides low-level interfaces for interacting directly with the feature. For some languages, you can use OpenTelemetry, a set of open source tracing and stats instrumentation libraries that work with multiple backends.", ruby_cloud_title = "Cloud Trace V1", service_yaml = "cloudtrace_v1.yaml", + transport = "grpc+rest", deps = [ ":cloudtrace_ruby_grpc", ":cloudtrace_ruby_proto", diff --git a/third_party/googleapis/google/devtools/cloudtrace/v1/trace.proto b/third_party/googleapis/google/devtools/cloudtrace/v1/trace.proto index 3ab071abc..9437c57b5 100644 --- a/third_party/googleapis/google/devtools/cloudtrace/v1/trace.proto +++ b/third_party/googleapis/google/devtools/cloudtrace/v1/trace.proto @@ -23,7 +23,7 @@ import "google/protobuf/timestamp.proto"; import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.Trace.V1"; -option go_package = "google.golang.org/genproto/googleapis/devtools/cloudtrace/v1;cloudtrace"; +option go_package = "cloud.google.com/go/trace/apiv1/tracepb;tracepb"; option java_multiple_files = true; option java_outer_classname = "TraceProto"; option java_package = "com.google.devtools.cloudtrace.v1"; diff --git a/third_party/googleapis/google/devtools/cloudtrace/v2/BUILD.bazel b/third_party/googleapis/google/devtools/cloudtrace/v2/BUILD.bazel index bb70c15e1..e74144dbc 100644 --- a/third_party/googleapis/google/devtools/cloudtrace/v2/BUILD.bazel +++ b/third_party/googleapis/google/devtools/cloudtrace/v2/BUILD.bazel @@ -114,13 +114,12 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( name = "cloudtrace_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/devtools/cloudtrace/v2", + importpath = "cloud.google.com/go/trace/apiv2/tracepb", protos = [":cloudtrace_proto"], deps = [ "//google/api:annotations_go_proto", @@ -132,7 +131,7 @@ go_gapic_library( name = "cloudtrace_go_gapic", srcs = [":cloudtrace_proto_with_info"], grpc_service_config = "cloudtrace_grpc_service_config.json", - importpath = "cloud.google.com/go/devtools/cloudtrace/apiv2;cloudtrace", + importpath = "cloud.google.com/go/trace/apiv2;trace", metadata = True, release_level = "beta", rest_numeric_enums = True, @@ -143,19 +142,13 @@ go_gapic_library( ], ) -go_test( - name = "cloudtrace_go_gapic_test", - srcs = [":cloudtrace_go_gapic_srcjar_test"], - embed = [":cloudtrace_go_gapic"], - importpath = "cloud.google.com/go/devtools/cloudtrace/apiv2", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-devtools-cloudtrace-v2-go", deps = [ ":cloudtrace_go_gapic", ":cloudtrace_go_gapic_srcjar-metadata.srcjar", + ":cloudtrace_go_gapic_srcjar-snippets.srcjar", ":cloudtrace_go_gapic_srcjar-test.srcjar", ":cloudtrace_go_proto", ], @@ -211,7 +204,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -220,23 +212,15 @@ php_proto_library( deps = [":cloudtrace_proto"], ) -php_grpc_library( - name = "cloudtrace_php_grpc", - srcs = [":cloudtrace_proto"], - deps = [":cloudtrace_php_proto"], -) - php_gapic_library( name = "cloudtrace_php_gapic", srcs = [":cloudtrace_proto_with_info"], grpc_service_config = "cloudtrace_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "cloudtrace_v2.yaml", transport = "grpc+rest", - deps = [ - ":cloudtrace_php_grpc", - ":cloudtrace_php_proto", - ], + deps = [":cloudtrace_php_proto"], ) # Open Source Packages @@ -244,7 +228,6 @@ php_gapic_assembly_pkg( name = "google-cloud-devtools-cloudtrace-v2-php", deps = [ ":cloudtrace_php_gapic", - ":cloudtrace_php_grpc", ":cloudtrace_php_proto", ], ) @@ -316,6 +299,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "The Cloud Trace API lets you send and retrieve latency data to and from Cloud Trace. This API provides low-level interfaces for interacting directly with the feature. For some languages, you can use OpenTelemetry, a set of open source tracing and stats instrumentation libraries that work with multiple backends.", ruby_cloud_title = "Cloud Trace V2", service_yaml = "cloudtrace_v2.yaml", + transport = "grpc+rest", deps = [ ":cloudtrace_ruby_grpc", ":cloudtrace_ruby_proto", diff --git a/third_party/googleapis/google/devtools/cloudtrace/v2/trace.proto b/third_party/googleapis/google/devtools/cloudtrace/v2/trace.proto index f2b4b481c..ba56539fc 100644 --- a/third_party/googleapis/google/devtools/cloudtrace/v2/trace.proto +++ b/third_party/googleapis/google/devtools/cloudtrace/v2/trace.proto @@ -23,7 +23,7 @@ import "google/protobuf/wrappers.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.Trace.V2"; -option go_package = "google.golang.org/genproto/googleapis/devtools/cloudtrace/v2;cloudtrace"; +option go_package = "cloud.google.com/go/trace/apiv2/tracepb;tracepb"; option java_multiple_files = true; option java_outer_classname = "TraceProto"; option java_package = "com.google.devtools.cloudtrace.v2"; diff --git a/third_party/googleapis/google/devtools/cloudtrace/v2/tracing.proto b/third_party/googleapis/google/devtools/cloudtrace/v2/tracing.proto index 0aac221df..c9dafc0d2 100644 --- a/third_party/googleapis/google/devtools/cloudtrace/v2/tracing.proto +++ b/third_party/googleapis/google/devtools/cloudtrace/v2/tracing.proto @@ -24,7 +24,7 @@ import "google/devtools/cloudtrace/v2/trace.proto"; import "google/protobuf/empty.proto"; option csharp_namespace = "Google.Cloud.Trace.V2"; -option go_package = "google.golang.org/genproto/googleapis/devtools/cloudtrace/v2;cloudtrace"; +option go_package = "cloud.google.com/go/trace/apiv2/tracepb;tracepb"; option java_multiple_files = true; option java_outer_classname = "TracingProto"; option java_package = "com.google.devtools.cloudtrace.v2"; diff --git a/third_party/googleapis/google/devtools/containeranalysis/BUILD.bazel b/third_party/googleapis/google/devtools/containeranalysis/BUILD.bazel index 0d742e2e0..7aa68b556 100644 --- a/third_party/googleapis/google/devtools/containeranalysis/BUILD.bazel +++ b/third_party/googleapis/google/devtools/containeranalysis/BUILD.bazel @@ -22,7 +22,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-container_analysis", "ruby-cloud-env-prefix=CONTAINER_ANALYSIS", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.9", "ruby-cloud-product-url=https://cloud.google.com/container-registry/docs/container-analysis", "ruby-cloud-api-id=containeranalysis.googleapis.com", "ruby-cloud-api-shortname=containeranalysis", diff --git a/third_party/googleapis/google/devtools/containeranalysis/v1/BUILD.bazel b/third_party/googleapis/google/devtools/containeranalysis/v1/BUILD.bazel index 0cfec4b05..2d0788ec3 100644 --- a/third_party/googleapis/google/devtools/containeranalysis/v1/BUILD.bazel +++ b/third_party/googleapis/google/devtools/containeranalysis/v1/BUILD.bazel @@ -31,7 +31,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -162,19 +161,13 @@ go_proto_library( # ], # ) -# go_test( -# name = "containeranalysis_go_gapic_test", -# srcs = [":containeranalysis_go_gapic_srcjar_test"], -# embed = [":containeranalysis_go_gapic"], -# importpath = "cloud.google.com/go/devtools/containeranalysis/apiv1", -# ) - # # Open Source Packages # go_gapic_assembly_pkg( # name = "gapi-cloud-devtools-containeranalysis-v1-go", # deps = [ # ":containeranalysis_go_gapic", # ":containeranalysis_go_gapic_srcjar-metadata.srcjar", +# ":containeranalysis_go_gapic_srcjar-snippets.srcjar", # ":containeranalysis_go_gapic_srcjar-test.srcjar", # ":containeranalysis_go_proto", # ], @@ -221,23 +214,15 @@ php_proto_library( deps = [":containeranalysis_proto"], ) -php_grpc_library( - name = "containeranalysis_php_grpc", - srcs = [":containeranalysis_proto"], - deps = [":containeranalysis_php_proto"], -) - php_gapic_library( name = "containeranalysis_php_gapic", srcs = [":containeranalysis_proto_with_info"], grpc_service_config = "containeranalysis_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "containeranalysis_v1.yaml", transport = "grpc+rest", - deps = [ - ":containeranalysis_php_grpc", - ":containeranalysis_php_proto", - ], + deps = [":containeranalysis_php_proto"], ) # Open Source Packages @@ -245,7 +230,6 @@ php_gapic_assembly_pkg( name = "google-cloud-devtools-containeranalysis-v1-php", deps = [ ":containeranalysis_php_gapic", - ":containeranalysis_php_grpc", ":containeranalysis_php_proto", ], ) @@ -295,7 +279,7 @@ ruby_cloud_gapic_library( "ruby-cloud-product-url=https://cloud.google.com/container-registry/docs/container-analysis", "ruby-cloud-api-id=containeranalysis.googleapis.com", "ruby-cloud-api-shortname=containeranalysis", - "ruby-cloud-extra-dependencies=grafeas-v1=>= 0.4|< 2.a", + "ruby-cloud-extra-dependencies=grafeas-v1=>=0.4+<2.a", ], grpc_service_config = "containeranalysis_grpc_service_config.json", rest_numeric_enums = True, diff --git a/third_party/googleapis/google/devtools/containeranalysis/v1beta1/BUILD.bazel b/third_party/googleapis/google/devtools/containeranalysis/v1beta1/BUILD.bazel index 2e193d93a..52bab685f 100644 --- a/third_party/googleapis/google/devtools/containeranalysis/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/devtools/containeranalysis/v1beta1/BUILD.bazel @@ -43,8 +43,8 @@ proto_library( proto_library_with_info( name = "containeranalysis_proto_with_info", deps = [ - "//google/cloud:common_resources_proto", ":containeranalysis_proto", + "//google/cloud:common_resources_proto", ] + _PROTO_SUBPACKAGE_DEPS, ) @@ -105,6 +105,7 @@ java_gapic_library( gapic_yaml = "containeranalysis_gapic.yaml", grpc_service_config = "containeranalysis_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "containeranalysis_v1beta1.yaml", test_deps = [ ":containeranalysis_java_grpc", ] + _JAVA_GRPC_SUBPACKAGE_DEPS, @@ -146,13 +147,12 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( name = "containeranalysis_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1", + importpath = "cloud.google.com/go/containeranalysis/apiv1beta1/containeranalysispb", protos = [":containeranalysis_proto"], deps = [ "//google/api:annotations_go_proto", @@ -165,6 +165,7 @@ go_gapic_library( srcs = [":containeranalysis_proto_with_info"], grpc_service_config = "containeranalysis_grpc_service_config.json", importpath = "cloud.google.com/go/containeranalysis/apiv1beta1;containeranalysis", + release_level = "beta", rest_numeric_enums = True, service_yaml = "containeranalysis_v1beta1.yaml", transport = "grpc+rest", @@ -185,18 +186,12 @@ go_gapic_library( ], ) -go_test( - name = "containeranalysis_go_gapic_test", - srcs = [":containeranalysis_go_gapic_srcjar_test"], - embed = [":containeranalysis_go_gapic"], - importpath = "cloud.google.com/go/containeranalysis/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-devtools-containeranalysis-v1beta1-go", deps = [ ":containeranalysis_go_gapic", + ":containeranalysis_go_gapic_srcjar-snippets.srcjar", ":containeranalysis_go_gapic_srcjar-test.srcjar", ":containeranalysis_go_proto", "//google/devtools/containeranalysis/v1beta1/attestation:attestation_go_proto", diff --git a/third_party/googleapis/google/devtools/containeranalysis/v1beta1/attestation/attestation.proto b/third_party/googleapis/google/devtools/containeranalysis/v1beta1/attestation/attestation.proto index 0d3d6c9fd..15447183e 100644 --- a/third_party/googleapis/google/devtools/containeranalysis/v1beta1/attestation/attestation.proto +++ b/third_party/googleapis/google/devtools/containeranalysis/v1beta1/attestation/attestation.proto @@ -18,7 +18,7 @@ package grafeas.v1beta1.attestation; import "google/devtools/containeranalysis/v1beta1/common/common.proto"; -option go_package = "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/attestation;attestation"; +option go_package = "cloud.google.com/go/containeranalysis/apiv1beta1/containeranalysispb;containeranalysispb"; option java_multiple_files = true; option java_package = "io.grafeas.v1beta1.attestation"; option objc_class_prefix = "GRA"; diff --git a/third_party/googleapis/google/devtools/containeranalysis/v1beta1/build/build.proto b/third_party/googleapis/google/devtools/containeranalysis/v1beta1/build/build.proto index 0a5a2950b..dc0f2b4e2 100644 --- a/third_party/googleapis/google/devtools/containeranalysis/v1beta1/build/build.proto +++ b/third_party/googleapis/google/devtools/containeranalysis/v1beta1/build/build.proto @@ -18,7 +18,7 @@ package grafeas.v1beta1.build; import "google/devtools/containeranalysis/v1beta1/provenance/provenance.proto"; -option go_package = "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/build;build"; +option go_package = "cloud.google.com/go/containeranalysis/apiv1beta1/containeranalysispb;containeranalysispb"; option java_multiple_files = true; option java_package = "io.grafeas.v1beta1.build"; option objc_class_prefix = "GRA"; diff --git a/third_party/googleapis/google/devtools/containeranalysis/v1beta1/common/common.proto b/third_party/googleapis/google/devtools/containeranalysis/v1beta1/common/common.proto index bb97a3175..fd941c832 100644 --- a/third_party/googleapis/google/devtools/containeranalysis/v1beta1/common/common.proto +++ b/third_party/googleapis/google/devtools/containeranalysis/v1beta1/common/common.proto @@ -16,7 +16,7 @@ syntax = "proto3"; package grafeas.v1beta1; -option go_package = "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/common;common"; +option go_package = "cloud.google.com/go/containeranalysis/apiv1beta1/containeranalysispb;containeranalysispb"; option java_multiple_files = true; option java_package = "io.grafeas.v1beta1.common"; option objc_class_prefix = "GRA"; diff --git a/third_party/googleapis/google/devtools/containeranalysis/v1beta1/containeranalysis.proto b/third_party/googleapis/google/devtools/containeranalysis/v1beta1/containeranalysis.proto index 59f3ecd94..4d6d45b0c 100644 --- a/third_party/googleapis/google/devtools/containeranalysis/v1beta1/containeranalysis.proto +++ b/third_party/googleapis/google/devtools/containeranalysis/v1beta1/containeranalysis.proto @@ -1,4 +1,4 @@ -// Copyright 2019 Google LLC. +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,7 +11,6 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -// syntax = "proto3"; @@ -20,19 +19,17 @@ package google.devtools.containeranalysis.v1beta1; import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; -import "google/api/resource.proto"; import "google/iam/v1/iam_policy.proto"; import "google/iam/v1/policy.proto"; -import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1;containeranalysis"; +option go_package = "cloud.google.com/go/containeranalysis/apiv1beta1/containeranalysispb;containeranalysispb"; option java_multiple_files = true; option java_package = "com.google.containeranalysis.v1beta1"; option objc_class_prefix = "GCA"; // Retrieves analysis results of Cloud components such as Docker container // images. The Container Analysis API is an implementation of the -// [Grafeas](grafeas.io) API. +// [Grafeas](https://grafeas.io) API. // // Analysis results are stored as a series of occurrences. An `Occurrence` // contains information about a specific analysis instance on a resource. An @@ -45,7 +42,8 @@ option objc_class_prefix = "GCA"; // image with the vulnerability referring to that note. service ContainerAnalysisV1Beta1 { option (google.api.default_host) = "containeranalysis.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Sets the access control policy on the specified note or occurrence. // Requires `containeranalysis.notes.setIamPolicy` or @@ -55,7 +53,8 @@ service ContainerAnalysisV1Beta1 { // The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for // notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for // occurrences. - rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v1beta1/{resource=projects/*/notes/*}:setIamPolicy" body: "*" @@ -75,7 +74,8 @@ service ContainerAnalysisV1Beta1 { // The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for // notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for // occurrences. - rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) { + rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) + returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v1beta1/{resource=projects/*/notes/*}:getIamPolicy" body: "*" @@ -94,7 +94,8 @@ service ContainerAnalysisV1Beta1 { // The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for // notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for // occurrences. - rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) { + rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) + returns (google.iam.v1.TestIamPermissionsResponse) { option (google.api.http) = { post: "/v1beta1/{resource=projects/*/notes/*}:testIamPermissions" body: "*" @@ -106,114 +107,65 @@ service ContainerAnalysisV1Beta1 { option (google.api.method_signature) = "resource,permissions"; } - // Gets the specified scan configuration. - rpc GetScanConfig(GetScanConfigRequest) returns (ScanConfig) { - option (google.api.http) = { - get: "/v1beta1/{name=projects/*/scanConfigs/*}" - }; - option (google.api.method_signature) = "name"; - } - - // Lists scan configurations for the specified project. - rpc ListScanConfigs(ListScanConfigsRequest) returns (ListScanConfigsResponse) { + // Gets a summary of the packages within a given resource. + rpc GeneratePackagesSummary(GeneratePackagesSummaryRequest) + returns (PackagesSummaryResponse) { option (google.api.http) = { - get: "/v1beta1/{parent=projects/*}/scanConfigs" + post: "/v1beta1/{name=projects/*/resources/**}:generatePackagesSummary" + body: "*" }; - option (google.api.method_signature) = "parent,filter"; } - // Updates the specified scan configuration. - rpc UpdateScanConfig(UpdateScanConfigRequest) returns (ScanConfig) { + // Generates an SBOM and other dependency information for the given resource. + rpc ExportSBOM(ExportSBOMRequest) returns (ExportSBOMResponse) { option (google.api.http) = { - put: "/v1beta1/{name=projects/*/scanConfigs/*}" - body: "scan_config" + post: "/v1beta1/{name=projects/*/resources/**}:exportSBOM" + body: "*" }; - option (google.api.method_signature) = "name,scan_config"; } } -// A scan configuration specifies whether Cloud components in a project have a -// particular type of analysis being run. For example, it can configure whether -// vulnerability scanning is being done on Docker images or not. -message ScanConfig { - option (google.api.resource) = { - type: "containeranalysis.googleapis.com/ScanConfig" - pattern: "projects/{project}/scanConfigs/{scan_config}" - }; - - // Output only. The name of the scan configuration in the form of - // `projects/[PROJECT_ID]/scanConfigs/[SCAN_CONFIG_ID]`. - string name = 1; - - // Output only. A human-readable description of what the scan configuration - // does. - string description = 2; - - // Whether the scan is enabled. - bool enabled = 3; - - // Output only. The time this scan config was created. - google.protobuf.Timestamp create_time = 4; - - // Output only. The time this scan config was last updated. - google.protobuf.Timestamp update_time = 5; +// GeneratePackagesSummaryRequest is the request body for the +// GeneratePackagesSummary API method. It just takes a single name argument, +// referring to the resource. +message GeneratePackagesSummaryRequest { + // Required. The name of the resource to get a packages summary for in the + // form of `projects/[PROJECT_ID]/resources/[RESOURCE_URL]`. + string name = 1 [(google.api.field_behavior) = REQUIRED]; } -// Request to get a scan configuration. -message GetScanConfigRequest { - // Required. The name of the scan configuration in the form of - // `projects/[PROJECT_ID]/scanConfigs/[SCAN_CONFIG_ID]`. - string name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "containeranalysis.googleapis.com/ScanConfig" - } - ]; -} +// A summary of the packages found within the given resource. +message PackagesSummaryResponse { + // Per license count + message LicensesSummary { + // The license of the package. Note that the format of this value is not + // guaranteed. It may be nil, an empty string, a boolean value (A | B), a + // differently formed boolean value (A OR B), etc... + string license = 1; + + // The number of fixable vulnerabilities associated with this resource. + int64 count = 2; + } -// Request to list scan configurations. -message ListScanConfigsRequest { - // Required. The name of the project to list scan configurations for in the form of - // `projects/[PROJECT_ID]`. - string parent = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "cloudresourcemanager.googleapis.com/Project" - } - ]; - - // Required. The filter expression. - string filter = 2 [(google.api.field_behavior) = REQUIRED]; - - // The number of scan configs to return in the list. - int32 page_size = 3; - - // Token to provide to skip to a particular spot in the list. - string page_token = 4; -} + // The unique URL of the image or the container for which this summary + // applies. + string resource_url = 1; -// Response for listing scan configurations. -message ListScanConfigsResponse { - // The scan configurations requested. - repeated ScanConfig scan_configs = 1; + // A listing by license name of each of the licenses and their counts. + repeated LicensesSummary licenses_summary = 2; +} - // The next pagination token in the list response. It should be used as - // `page_token` for the following request. An empty value means no more - // results. - string next_page_token = 2; +// The request to a call of ExportSBOM +message ExportSBOMRequest { + // Required. The name of the resource in the form of + // `projects/[PROJECT_ID]/resources/[RESOURCE_URL]`. + string name = 1 [(google.api.field_behavior) = REQUIRED]; } -// A request to update a scan configuration. -message UpdateScanConfigRequest { - // Required. The name of the scan configuration in the form of - // `projects/[PROJECT_ID]/scanConfigs/[SCAN_CONFIG_ID]`. - string name = 1 [ - (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "containeranalysis.googleapis.com/ScanConfig" - } - ]; - - // Required. The updated scan configuration. - ScanConfig scan_config = 2 [(google.api.field_behavior) = REQUIRED]; +// The response from a call to ExportSBOM +message ExportSBOMResponse { + // The name of the discovery occurrence in the form + // "projects/{project_id}/occurrences/{OCCURRENCE_ID} + // It can be used to track the progression of the SBOM export. + string discovery_occurrence_id = 1; } diff --git a/third_party/googleapis/google/devtools/containeranalysis/v1beta1/containeranalysis_v1beta1.yaml b/third_party/googleapis/google/devtools/containeranalysis/v1beta1/containeranalysis_v1beta1.yaml index d07177f86..3fd622e2a 100644 --- a/third_party/googleapis/google/devtools/containeranalysis/v1beta1/containeranalysis_v1beta1.yaml +++ b/third_party/googleapis/google/devtools/containeranalysis/v1beta1/containeranalysis_v1beta1.yaml @@ -18,8 +18,6 @@ backend: rules: - selector: 'google.devtools.containeranalysis.v1beta1.ContainerAnalysisV1Beta1.*' deadline: 30.0 - - selector: 'google.longrunning.Operations.*' - deadline: 30.0 authentication: rules: @@ -27,7 +25,3 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform - - selector: 'google.longrunning.Operations.*' - oauth: - canonical_scopes: |- - https://www.googleapis.com/auth/cloud-platform diff --git a/third_party/googleapis/google/devtools/containeranalysis/v1beta1/cvss/cvss.proto b/third_party/googleapis/google/devtools/containeranalysis/v1beta1/cvss/cvss.proto index 348444161..8d78138d1 100644 --- a/third_party/googleapis/google/devtools/containeranalysis/v1beta1/cvss/cvss.proto +++ b/third_party/googleapis/google/devtools/containeranalysis/v1beta1/cvss/cvss.proto @@ -16,7 +16,7 @@ syntax = "proto3"; package grafeas.v1beta1.vulnerability; -option go_package = "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/cvss;cvss"; +option go_package = "cloud.google.com/go/containeranalysis/apiv1beta1/containeranalysispb;containeranalysispb"; option java_multiple_files = true; option java_package = "io.grafeas.v1beta1.vulnerability"; option objc_class_prefix = "GRA"; diff --git a/third_party/googleapis/google/devtools/containeranalysis/v1beta1/deployment/deployment.proto b/third_party/googleapis/google/devtools/containeranalysis/v1beta1/deployment/deployment.proto index 7bc8dc897..f5e196f67 100644 --- a/third_party/googleapis/google/devtools/containeranalysis/v1beta1/deployment/deployment.proto +++ b/third_party/googleapis/google/devtools/containeranalysis/v1beta1/deployment/deployment.proto @@ -18,7 +18,7 @@ package grafeas.v1beta1.deployment; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/deployment;deployment"; +option go_package = "cloud.google.com/go/containeranalysis/apiv1beta1/containeranalysispb;containeranalysispb"; option java_multiple_files = true; option java_package = "io.grafeas.v1beta1.deployment"; option objc_class_prefix = "GRA"; diff --git a/third_party/googleapis/google/devtools/containeranalysis/v1beta1/discovery/discovery.proto b/third_party/googleapis/google/devtools/containeranalysis/v1beta1/discovery/discovery.proto index edfa043bc..7e48f7726 100644 --- a/third_party/googleapis/google/devtools/containeranalysis/v1beta1/discovery/discovery.proto +++ b/third_party/googleapis/google/devtools/containeranalysis/v1beta1/discovery/discovery.proto @@ -20,7 +20,7 @@ import "google/devtools/containeranalysis/v1beta1/common/common.proto"; import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; -option go_package = "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/discovery;discovery"; +option go_package = "cloud.google.com/go/containeranalysis/apiv1beta1/containeranalysispb;containeranalysispb"; option java_multiple_files = true; option java_package = "io.grafeas.v1beta1.discovery"; option objc_class_prefix = "GRA"; diff --git a/third_party/googleapis/google/devtools/containeranalysis/v1beta1/image/image.proto b/third_party/googleapis/google/devtools/containeranalysis/v1beta1/image/image.proto index 91ee33e05..1493c0516 100644 --- a/third_party/googleapis/google/devtools/containeranalysis/v1beta1/image/image.proto +++ b/third_party/googleapis/google/devtools/containeranalysis/v1beta1/image/image.proto @@ -16,7 +16,7 @@ syntax = "proto3"; package grafeas.v1beta1.image; -option go_package = "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/image;image"; +option go_package = "cloud.google.com/go/containeranalysis/apiv1beta1/containeranalysispb;containeranalysispb"; option java_multiple_files = true; option java_package = "io.grafeas.v1beta1.image"; option objc_class_prefix = "GRA"; diff --git a/third_party/googleapis/google/devtools/containeranalysis/v1beta1/package/package.proto b/third_party/googleapis/google/devtools/containeranalysis/v1beta1/package/package.proto index 59cac2053..4bc7c2af1 100644 --- a/third_party/googleapis/google/devtools/containeranalysis/v1beta1/package/package.proto +++ b/third_party/googleapis/google/devtools/containeranalysis/v1beta1/package/package.proto @@ -16,7 +16,7 @@ syntax = "proto3"; package grafeas.v1beta1.package; -option go_package = "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/package"; +option go_package = "cloud.google.com/go/containeranalysis/apiv1beta1/containeranalysispb;containeranalysispb"; option java_multiple_files = true; option java_package = "io.grafeas.v1beta1.pkg"; option objc_class_prefix = "GRA"; diff --git a/third_party/googleapis/google/devtools/containeranalysis/v1beta1/provenance/provenance.proto b/third_party/googleapis/google/devtools/containeranalysis/v1beta1/provenance/provenance.proto index 761877cdb..146915572 100644 --- a/third_party/googleapis/google/devtools/containeranalysis/v1beta1/provenance/provenance.proto +++ b/third_party/googleapis/google/devtools/containeranalysis/v1beta1/provenance/provenance.proto @@ -19,7 +19,7 @@ package grafeas.v1beta1.provenance; import "google/devtools/containeranalysis/v1beta1/source/source.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/provenance;provenance"; +option go_package = "cloud.google.com/go/containeranalysis/apiv1beta1/containeranalysispb;containeranalysispb"; option java_multiple_files = true; option java_package = "io.grafeas.v1beta1.provenance"; option objc_class_prefix = "GRA"; diff --git a/third_party/googleapis/google/devtools/containeranalysis/v1beta1/source/source.proto b/third_party/googleapis/google/devtools/containeranalysis/v1beta1/source/source.proto index 01be060c5..ff60d7c23 100644 --- a/third_party/googleapis/google/devtools/containeranalysis/v1beta1/source/source.proto +++ b/third_party/googleapis/google/devtools/containeranalysis/v1beta1/source/source.proto @@ -16,7 +16,7 @@ syntax = "proto3"; package grafeas.v1beta1.source; -option go_package = "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/source;source"; +option go_package = "cloud.google.com/go/containeranalysis/apiv1beta1/containeranalysispb;containeranalysispb"; option java_multiple_files = true; option java_package = "io.grafeas.v1beta1.source"; option objc_class_prefix = "GRA"; diff --git a/third_party/googleapis/google/devtools/containeranalysis/v1beta1/vulnerability/vulnerability.proto b/third_party/googleapis/google/devtools/containeranalysis/v1beta1/vulnerability/vulnerability.proto index d83c7e4c5..d9c740646 100644 --- a/third_party/googleapis/google/devtools/containeranalysis/v1beta1/vulnerability/vulnerability.proto +++ b/third_party/googleapis/google/devtools/containeranalysis/v1beta1/vulnerability/vulnerability.proto @@ -21,7 +21,7 @@ import "google/devtools/containeranalysis/v1beta1/common/common.proto"; import "google/devtools/containeranalysis/v1beta1/cvss/cvss.proto"; import "google/devtools/containeranalysis/v1beta1/package/package.proto"; -option go_package = "google.golang.org/genproto/googleapis/devtools/containeranalysis/v1beta1/vulnerability;vulnerability"; +option go_package = "cloud.google.com/go/containeranalysis/apiv1beta1/containeranalysispb;containeranalysispb"; option java_multiple_files = true; option java_package = "io.grafeas.v1beta1.vulnerability"; option objc_class_prefix = "GRA"; diff --git a/third_party/googleapis/google/devtools/remoteworkers/v1test2/BUILD.bazel b/third_party/googleapis/google/devtools/remoteworkers/v1test2/BUILD.bazel index 890e4cf31..1e5c230aa 100644 --- a/third_party/googleapis/google/devtools/remoteworkers/v1test2/BUILD.bazel +++ b/third_party/googleapis/google/devtools/remoteworkers/v1test2/BUILD.bazel @@ -22,7 +22,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -32,7 +31,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -91,6 +89,7 @@ java_gapic_library( gapic_yaml = "remoteworkers_gapic.yaml", grpc_service_config = "remoteworkers_grpc_service_config.json", rest_numeric_enums = False, + service_yaml = "remoteworkers_v1beta2.yaml", test_deps = [ ":remoteworkers_java_grpc", ], @@ -147,18 +146,12 @@ go_gapic_library( ], ) -go_test( - name = "remoteworkers_go_gapic_test", - srcs = [":remoteworkers_go_gapic_srcjar_test"], - embed = [":remoteworkers_go_gapic"], - importpath = "cloud.google.com/go/devtools/remoteworkers/apiv1test2", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-devtools-remoteworkers-v1test2-go", deps = [ ":remoteworkers_go_gapic", + ":remoteworkers_go_gapic_srcjar-snippets.srcjar", ":remoteworkers_go_gapic_srcjar-test.srcjar", ":remoteworkers_go_proto", ], @@ -196,12 +189,6 @@ php_proto_library( deps = [":remoteworkers_proto"], ) -php_grpc_library( - name = "remoteworkers_php_grpc", - srcs = [":remoteworkers_proto"], - deps = [":remoteworkers_php_proto"], -) - php_gapic_library( name = "remoteworkers_php_gapic", srcs = [":remoteworkers_proto_with_info"], @@ -209,10 +196,7 @@ php_gapic_library( rest_numeric_enums = False, service_yaml = "remoteworkers_v1beta2.yaml", transport = "grpc+rest", - deps = [ - ":remoteworkers_php_grpc", - ":remoteworkers_php_proto", - ], + deps = [":remoteworkers_php_proto"], ) # Open Source Packages @@ -220,7 +204,6 @@ php_gapic_assembly_pkg( name = "google-cloud-devtools-remoteworkers-v1test2-php", deps = [ ":remoteworkers_php_gapic", - ":remoteworkers_php_grpc", ":remoteworkers_php_proto", ], ) diff --git a/third_party/googleapis/google/devtools/resultstore/v2/BUILD.bazel b/third_party/googleapis/google/devtools/resultstore/v2/BUILD.bazel index 95174450e..a67dc06ed 100644 --- a/third_party/googleapis/google/devtools/resultstore/v2/BUILD.bazel +++ b/third_party/googleapis/google/devtools/resultstore/v2/BUILD.bazel @@ -122,7 +122,6 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -131,21 +130,9 @@ php_proto_library( deps = [":resultstore_proto"], ) -php_grpc_library( - name = "resultstore_php_grpc", - srcs = [":resultstore_proto"], - deps = [":resultstore_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) - ############################################################################## # Ruby diff --git a/third_party/googleapis/google/devtools/resultstore/v2/action.proto b/third_party/googleapis/google/devtools/resultstore/v2/action.proto index f97cf8005..acdb61596 100644 --- a/third_party/googleapis/google/devtools/resultstore/v2/action.proto +++ b/third_party/googleapis/google/devtools/resultstore/v2/action.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/devtools/resultstore/v2/common.proto b/third_party/googleapis/google/devtools/resultstore/v2/common.proto index c8169dc98..f5ba98833 100644 --- a/third_party/googleapis/google/devtools/resultstore/v2/common.proto +++ b/third_party/googleapis/google/devtools/resultstore/v2/common.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,6 +16,7 @@ syntax = "proto3"; package google.devtools.resultstore.v2; +import "google/api/field_behavior.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; @@ -57,25 +58,43 @@ message Timing { // Represents a dependency of a resource on another resource. This can be used // to define a graph or a workflow paradigm through resources. message Dependency { + // The resource ID components of a resource depended upon. It may be a Target, + // ConfiguredTarget, or Action, with the appropriate components filled in. + // Invocation ID is elided, as this must point to a resource under this + // Invocation. + message Id { + // The unencoded Target ID of the Target, ConfiguredTarget, or Action. + string target_id = 2; + + // The Configuration ID of the ConfiguredTarget, or Action. + string configuration_id = 3; + + // The Action ID of the Action. + string action_id = 4; + } + // The resource depended upon. It may be a Target, ConfiguredTarget, or // Action. oneof resource { - // The name of a target. Its format must be: + // Output only. The name of a target. Its format must be: // invocations/${INVOCATION_ID}/targets/${url_encode(TARGET_ID)} - // This must point to an target under the same invocation. - string target = 1; + // This must point to a target under the same invocation. + string target = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; - // The name of a configured target. Its format must be: - // invocations/${INVOCATION_ID}/targets/${url_encode(TARGET_ID)}/configuredTargets/${url_encode(CONFIG_ID)} - // This must point to an configured target under the same invocation. - string configured_target = 2; + // Output only. The name of a configured target. Its format must be: + // invocations/${INVOCATION_ID}/targets/${url_encode(TARGET_ID)}/configuredTargets/${CONFIG_ID} + // This must point to a configured target under the same invocation. + string configured_target = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - // The name of an action. Its format must be: - // invocations/${INVOCATION_ID}/targets/${url_encode(TARGET_ID)}/configuredTargets/${url_encode(CONFIG_ID)}/actions/${url_encode(ACTION_ID)} + // Output only. The name of an action. Its format must be: + // invocations/${INVOCATION_ID}/targets/${url_encode(TARGET_ID)}/configuredTargets/${CONFIG_ID}/actions/${ACTION_ID} // This must point to an action under the same invocation. - string action = 3; + string action = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; } + // The ID of the resource depended upon, matching resource name above. + Id id = 5; + // A label describing this dependency. // The label "Root Cause" is handled specially. It is used to point to the // exact resource that caused a resource to fail. @@ -135,7 +154,7 @@ enum Language { // Swift SWIFT = 16; - // Typescript + // TypeScript TS = 18; // Webtesting @@ -220,5 +239,6 @@ enum UploadStatus { POST_PROCESSING = 2; // All post-processing is complete, and the invocation is now immutable. + // Data may be subject to TTL and can be deleted. IMMUTABLE = 3; } diff --git a/third_party/googleapis/google/devtools/resultstore/v2/configuration.proto b/third_party/googleapis/google/devtools/resultstore/v2/configuration.proto index 9e98e641c..11912f4d9 100644 --- a/third_party/googleapis/google/devtools/resultstore/v2/configuration.proto +++ b/third_party/googleapis/google/devtools/resultstore/v2/configuration.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -43,7 +43,7 @@ message Configuration { } // The format of this Configuration resource name must be: - // invocations/${INVOCATION_ID}/configs/${url_encode(CONFIG_ID)} + // invocations/${INVOCATION_ID}/configs/${CONFIG_ID} // The configuration ID of "default" should be preferred for the default // configuration in a single-config invocation. string name = 1; diff --git a/third_party/googleapis/google/devtools/resultstore/v2/configured_target.proto b/third_party/googleapis/google/devtools/resultstore/v2/configured_target.proto index 4700f789d..c034dc134 100644 --- a/third_party/googleapis/google/devtools/resultstore/v2/configured_target.proto +++ b/third_party/googleapis/google/devtools/resultstore/v2/configured_target.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/devtools/resultstore/v2/coverage.proto b/third_party/googleapis/google/devtools/resultstore/v2/coverage.proto index 86087f56f..085eaaba9 100644 --- a/third_party/googleapis/google/devtools/resultstore/v2/coverage.proto +++ b/third_party/googleapis/google/devtools/resultstore/v2/coverage.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/devtools/resultstore/v2/coverage_summary.proto b/third_party/googleapis/google/devtools/resultstore/v2/coverage_summary.proto index 4068f0368..9e88321c4 100644 --- a/third_party/googleapis/google/devtools/resultstore/v2/coverage_summary.proto +++ b/third_party/googleapis/google/devtools/resultstore/v2/coverage_summary.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/devtools/resultstore/v2/download_metadata.proto b/third_party/googleapis/google/devtools/resultstore/v2/download_metadata.proto index 5d9999c62..ce1cae38a 100644 --- a/third_party/googleapis/google/devtools/resultstore/v2/download_metadata.proto +++ b/third_party/googleapis/google/devtools/resultstore/v2/download_metadata.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,6 +18,7 @@ package google.devtools.resultstore.v2; import "google/api/resource.proto"; import "google/devtools/resultstore/v2/common.proto"; +import "google/protobuf/timestamp.proto"; option go_package = "google.golang.org/genproto/googleapis/devtools/resultstore/v2;resultstore"; option java_multiple_files = true; @@ -38,4 +39,19 @@ message DownloadMetadata { // Indicates the upload status of the invocation, whether it is // post-processing, or immutable, etc. UploadStatus upload_status = 2; + + // If populated, the time when CreateInvocation is called. + // This does not necessarily line up with the start time of the invocation. + // Please use invocation.timing.start_time for that purpose. + google.protobuf.Timestamp create_time = 3; + + // If populated, the time when FinalizeInvocation is called or when invocation + // is automatically finalized. This field is populated when upload_status + // becomes POST_PROCESSING. + google.protobuf.Timestamp finalize_time = 4; + + // If populated, the time when all post processing is done and the invocation + // is marked as immutable. This field is populated when upload_status becomes + // IMMUTABLE. + google.protobuf.Timestamp immutable_time = 5; } diff --git a/third_party/googleapis/google/devtools/resultstore/v2/file.proto b/third_party/googleapis/google/devtools/resultstore/v2/file.proto index 3d041c037..f0a36deab 100644 --- a/third_party/googleapis/google/devtools/resultstore/v2/file.proto +++ b/third_party/googleapis/google/devtools/resultstore/v2/file.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/devtools/resultstore/v2/file_processing_error.proto b/third_party/googleapis/google/devtools/resultstore/v2/file_processing_error.proto index 5d0f158fa..f4ecbd3d7 100644 --- a/third_party/googleapis/google/devtools/resultstore/v2/file_processing_error.proto +++ b/third_party/googleapis/google/devtools/resultstore/v2/file_processing_error.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/devtools/resultstore/v2/file_set.proto b/third_party/googleapis/google/devtools/resultstore/v2/file_set.proto index e67843d4a..bee4e4fc5 100644 --- a/third_party/googleapis/google/devtools/resultstore/v2/file_set.proto +++ b/third_party/googleapis/google/devtools/resultstore/v2/file_set.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/devtools/resultstore/v2/invocation.proto b/third_party/googleapis/google/devtools/resultstore/v2/invocation.proto index 7fcaab23f..e577ad96b 100644 --- a/third_party/googleapis/google/devtools/resultstore/v2/invocation.proto +++ b/third_party/googleapis/google/devtools/resultstore/v2/invocation.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -104,9 +104,7 @@ message Invocation { } // If known, represents the state of the user/build-system workspace. -message WorkspaceContext { - -} +message WorkspaceContext {} // Describes the workspace under which the tool was invoked, this includes // information that was fed into the command, the source code referenced, and @@ -150,13 +148,12 @@ message CommandLine { // Attributes that apply to all invocations. message InvocationAttributes { - // Immutable. The Cloud Project that owns this invocation (this is different than the - // Consumer Cloud Project that calls this API). - // This must be set in the CreateInvocation call, and can't be changed. - // As input, callers can set this field to a project id (string) or a - // stringified int64 project number. As output, the API populates this field - // with the stringified int64 project number (per - // https://google.aip.dev/cloud/2510). + // Immutable. The Cloud Project that owns this invocation (this is different + // than the Consumer Cloud Project that calls this API). This must be set in + // the CreateInvocation call, and can't be changed. As input, callers can set + // this field to a project id (string) or a stringified int64 project number. + // As output, the API populates this field with the stringified int64 project + // number (per https://google.aip.dev/cloud/2510). string project_id = 1 [(google.api.field_behavior) = IMMUTABLE]; // The list of users in the command chain. The first user in this sequence diff --git a/third_party/googleapis/google/devtools/resultstore/v2/resultstore_download.proto b/third_party/googleapis/google/devtools/resultstore/v2/resultstore_download.proto index e7bdfb958..5271dd6b7 100644 --- a/third_party/googleapis/google/devtools/resultstore/v2/resultstore_download.proto +++ b/third_party/googleapis/google/devtools/resultstore/v2/resultstore_download.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -36,11 +36,45 @@ option java_package = "com.google.devtools.resultstore.v2"; // This is the interface used to download information from the ResultStore // database. // +// Clients are encourage to use ExportInvocation for most traffic. +// // Most APIs require setting a response FieldMask via the 'fields' URL query // parameter or the X-Goog-FieldMask HTTP/gRPC header. service ResultStoreDownload { option (google.api.default_host) = "resultstore.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; + + // Exports the invocation with the given name and its child resources. + // + // The order in which resources are returned is defined as follows, + // invocation; download_metadata; configurations; targets interleaving + // configured_targets and actions; file_sets. + // + // - Invocation + // - DownloadMetadata + // - Configurations + // - Targets + // └─ ConfiguredTargets + // └─Actions + // - FileSets + // + // All child resources will be returned before the next parent + // resource is returned. For example, all actions under a configured_target + // will be returned before the next configured_target is returned. + // The order in which results within a given resource type are returned is + // undefined, but stable. + // + // An error will be reported in the following cases: + // - If the invocation is not found. + // - If the given invocation name is badly formatted. + // - If no field mask was given. + rpc ExportInvocation(ExportInvocationRequest) + returns (ExportInvocationResponse) { + option (google.api.http) = { + get: "/v2/{name=invocations/*}:export" + }; + } // Retrieves the invocation with the given name. // @@ -64,31 +98,20 @@ service ResultStoreDownload { // An error will be reported in the following cases: // - If a query string is not provided // - If no field mask was given. - rpc SearchInvocations(SearchInvocationsRequest) returns (SearchInvocationsResponse) { + rpc SearchInvocations(SearchInvocationsRequest) + returns (SearchInvocationsResponse) { option (google.api.http) = { get: "/v2/invocations:search" }; } - // Exports the invocation and its child resources with a given name. - // - // An error will be reported in the following cases: - // - If the invocation is not found. - // - If the given invocation name is badly formatted. - // - If no field mask was given. - rpc ExportInvocation(ExportInvocationRequest) returns (ExportInvocationResponse) { - option (google.api.http) = { - post: "/v2/{name=invocations/*}:export" - body: "*" - }; - } - // Retrieves the metadata for an invocation with the given name. // // An error will be reported in the following cases: // - If the invocation is not found. // - If the given invocation name is badly formatted. - rpc GetInvocationDownloadMetadata(GetInvocationDownloadMetadataRequest) returns (DownloadMetadata) { + rpc GetInvocationDownloadMetadata(GetInvocationDownloadMetadataRequest) + returns (DownloadMetadata) { option (google.api.http) = { get: "/v2/{name=invocations/*/downloadMetadata}" }; @@ -117,7 +140,8 @@ service ResultStoreDownload { // - If the parent invocation is not found. // - If the given parent invocation name is badly formatted. // - If no field mask was given. - rpc ListConfigurations(ListConfigurationsRequest) returns (ListConfigurationsResponse) { + rpc ListConfigurations(ListConfigurationsRequest) + returns (ListConfigurationsResponse) { option (google.api.http) = { get: "/v2/{parent=invocations/*}/configs" }; @@ -158,7 +182,8 @@ service ResultStoreDownload { // - If the configured target is not found. // - If the given name is badly formatted. // - If no field mask was given. - rpc GetConfiguredTarget(GetConfiguredTargetRequest) returns (ConfiguredTarget) { + rpc GetConfiguredTarget(GetConfiguredTargetRequest) + returns (ConfiguredTarget) { option (google.api.http) = { get: "/v2/{name=invocations/*/targets/*/configuredTargets/*}" }; @@ -175,7 +200,8 @@ service ResultStoreDownload { // - If the parent is not found. // - If the given parent name is badly formatted. // - If no field mask was given. - rpc ListConfiguredTargets(ListConfiguredTargetsRequest) returns (ListConfiguredTargetsResponse) { + rpc ListConfiguredTargets(ListConfiguredTargetsRequest) + returns (ListConfiguredTargetsResponse) { option (google.api.http) = { get: "/v2/{parent=invocations/*/targets/*}/configuredTargets" }; @@ -198,7 +224,8 @@ service ResultStoreDownload { // An error will be reported in the following cases: // - If a query string is not provided // - If no field mask was given. - rpc SearchConfiguredTargets(SearchConfiguredTargetsRequest) returns (SearchConfiguredTargetsResponse) { + rpc SearchConfiguredTargets(SearchConfiguredTargetsRequest) + returns (SearchConfiguredTargetsResponse) { option (google.api.http) = { get: "/v2/{parent=invocations/*/targets/*}/configuredTargets:search" }; @@ -246,7 +273,8 @@ service ResultStoreDownload { // An error will be reported in the following cases: // - If the given parent name is badly formatted. // - If no field mask was given. - rpc BatchListActions(BatchListActionsRequest) returns (BatchListActionsResponse) { + rpc BatchListActions(BatchListActionsRequest) + returns (BatchListActionsResponse) { option (google.api.http) = { get: "/v2/{parent=invocations/*}/actions:batchList" }; @@ -290,7 +318,8 @@ service ResultStoreDownload { // - If the resource is not found. // - If the given resource name is badly formatted. // - If no field mask was given. - rpc TraverseFileSets(TraverseFileSetsRequest) returns (TraverseFileSetsResponse) { + rpc TraverseFileSets(TraverseFileSetsRequest) + returns (TraverseFileSetsResponse) { option (google.api.http) = { get: "/v2/{name=invocations/*/fileSets/*}:traverseFileSets" additional_bindings { @@ -302,9 +331,9 @@ service ResultStoreDownload { // Request passed into GetInvocation message GetInvocationRequest { - // Required. The name of the invocation to retrieve. It must match this format: - // invocations/${INVOCATION_ID} - // where INVOCATION_ID must be an RFC 4122-compliant UUID. + // Required. The name of the invocation to retrieve. It must match this + // format: invocations/${INVOCATION_ID} where INVOCATION_ID must be an RFC + // 4122-compliant UUID. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -336,9 +365,11 @@ message SearchInvocationsRequest { // // Fields that support equals ("=") restrictions: // + // id.invocation_id // name // status_attributes.status // workspace_info.hostname + // download_metadata.upload_status // // Fields that support contains (":") restrictions: // @@ -376,9 +407,9 @@ message SearchInvocationsResponse { // Request passed into ExportInvocationRequest message ExportInvocationRequest { - // Required. The name of the invocation to retrieve. It must match this format: - // invocations/${INVOCATION_ID} - // where INVOCATION_ID must be an RFC 4122-compliant UUID. + // Required. The name of the invocation to retrieve. It must match this + // format: invocations/${INVOCATION_ID} where INVOCATION_ID must be an RFC + // 4122-compliant UUID. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -399,6 +430,24 @@ message ExportInvocationRequest { // Absolute number of results to skip. int64 offset = 4; } + + // Filters Targets, ConfiguredTargets, and Actions returned + // + // Only id.target_id field with single equals ("=") restriction supported + string targets_filter = 6; + + // Requires targets_filter to be populated + // Filters ConfiguredTargets and Actions returned + // + // Only id.configuration_id field with single equals ("=") restriction + // supported + string configured_targets_filter = 7; + + // Requires both targets_filter and configured_targets_filter to be populated + // Filters Actions returned + // + // Only id.action_id field with single equals ("=") restriction supported + string actions_filter = 8; } // Response from calling ExportInvocationResponse. @@ -407,6 +456,10 @@ message ExportInvocationResponse { // Parent Invocation resource. Invocation invocation = 1; + // download metadata of request invocation + // download_metadata and invocation count towards page_size once. + DownloadMetadata download_metadata = 8; + // Targets matching the request invocation. repeated Target targets = 2; @@ -429,9 +482,9 @@ message ExportInvocationResponse { // Request passed into GetInvocationDownloadMetadata message GetInvocationDownloadMetadataRequest { - // Required. The name of the download metadata to retrieve. It must match this format: - // invocations/${INVOCATION_ID}/downloadMetadata - // where INVOCATION_ID must be an RFC 4122-compliant UUID. + // Required. The name of the download metadata to retrieve. It must match this + // format: invocations/${INVOCATION_ID}/downloadMetadata where INVOCATION_ID + // must be an RFC 4122-compliant UUID. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -442,8 +495,8 @@ message GetInvocationDownloadMetadataRequest { // Request passed into GetConfiguration message GetConfigurationRequest { - // Required. The name of the configuration to retrieve. It must match this format: - // invocations/${INVOCATION_ID}/configs/${CONFIGURATION_ID} + // Required. The name of the configuration to retrieve. It must match this + // format: invocations/${INVOCATION_ID}/configs/${CONFIGURATION_ID} string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -507,8 +560,8 @@ message GetTargetRequest { // Request passed into ListTargets message ListTargetsRequest { - // Required. The invocation name of the targets to retrieve. It must match this format: - // invocations/${INVOCATION_ID} + // Required. The invocation name of the targets to retrieve. It must match + // this format: invocations/${INVOCATION_ID} string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -548,7 +601,8 @@ message ListTargetsResponse { // Request passed into GetConfiguredTarget message GetConfiguredTargetRequest { - // Required. The name of the configured target to retrieve. It must match this format: + // Required. The name of the configured target to retrieve. It must match this + // format: // invocations/${INVOCATION_ID}/targets/${url_encode(TARGET_ID)}/configuredTargets/${CONFIGURATION_ID} string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -560,8 +614,8 @@ message GetConfiguredTargetRequest { // Request passed into ListConfiguredTargets message ListConfiguredTargetsRequest { - // Required. The invocation and target name of the configured targets to retrieve. - // It must match this format: + // Required. The invocation and target name of the configured targets to + // retrieve. It must match this format: // invocations/${INVOCATION_ID}/targets/${url_encode(TARGET_ID)} // Supports '-' for ${TARGET_ID} meaning all targets. string parent = 1 [ @@ -657,7 +711,7 @@ message SearchConfiguredTargetsRequest { // Fields that support comparison ("<", "<=", ">", ">=") restrictions; // // timing.start_time - // + // coalesced_start_time // Supported custom function global restrictions: // // invocationPropertyEquals("key", "value") @@ -669,9 +723,7 @@ message SearchConfiguredTargetsRequest { // The project id to search under. string project_id = 6; - // If true, all equals or contains restrictions on string fields in query will - // require exact match. Otherwise, a string field restriction may ignore case - // and punctuation. + // Unimplemented bool exact_match = 7; } @@ -700,8 +752,8 @@ message GetActionRequest { // Request passed into ListActions message ListActionsRequest { - // Required. The invocation, target, and configuration name of the action to retrieve. - // It must match this format: + // Required. The invocation, target, and configuration name of the action to + // retrieve. It must match this format: // invocations/${INVOCATION_ID}/targets/${url_encode(TARGET_ID)}/configuredTargets/${CONFIGURATION_ID} // Supports '-' for ${CONFIGURATION_ID} to mean all Actions for all // Configurations for a Target, or '-' for ${TARGET_ID} and @@ -746,8 +798,8 @@ message ListActionsResponse { // Request passed into BatchListActionsRequest message BatchListActionsRequest { - // Required. The invocation name of the actions to retrieve. It must match this format: - // invocations/${INVOCATION_ID} + // Required. The invocation name of the actions to retrieve. It must match + // this format: invocations/${INVOCATION_ID} string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -867,9 +919,7 @@ message TraverseFileSetsRequest { // FileSets referenced by all Actions under the given ConfiguredTarget. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "*" - } + (google.api.resource_reference) = { type: "*" } ]; // The maximum number of items to return. diff --git a/third_party/googleapis/google/devtools/resultstore/v2/resultstore_file_download.proto b/third_party/googleapis/google/devtools/resultstore/v2/resultstore_file_download.proto index 3ab027a97..15d8321b2 100644 --- a/third_party/googleapis/google/devtools/resultstore/v2/resultstore_file_download.proto +++ b/third_party/googleapis/google/devtools/resultstore/v2/resultstore_file_download.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -28,7 +28,8 @@ option java_package = "com.google.devtools.resultstore.v2"; // ResultStore resources. service ResultStoreFileDownload { option (google.api.default_host) = "resultstore.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Retrieves the File with the given uri. // returns a stream of bytes to be stitched together in order. @@ -56,7 +57,11 @@ service ResultStoreFileDownload { // Request object for GetFile message GetFileRequest { - // This corresponds to the uri field in the File message. + // This corresponds to the uri field in the File message: for an obfuscated + // File.uri like + // CglidWlsZC5sb2cSJDI3YmI5ZWQxLTVjYzEtNGFlNi1iMWRkLTVlODY0YWEzYmE2ZQ, the + // value here should be + // files/CglidWlsZC5sb2cSJDI3YmI5ZWQxLTVjYzEtNGFlNi1iMWRkLTVlODY0YWEzYmE2ZQ string uri = 1; // The offset for the first byte to return in the read, relative to the start @@ -89,7 +94,11 @@ message GetFileResponse { // Request object for GetFileTail message GetFileTailRequest { - // This corresponds to the uri field in the File message. + // This corresponds to the uri field in the File message: for an obfuscated + // File.uri like + // CglidWlsZC5sb2cSJDI3YmI5ZWQxLTVjYzEtNGFlNi1iMWRkLTVlODY0YWEzYmE2ZQ, the + // value here should be + // files/CglidWlsZC5sb2cSJDI3YmI5ZWQxLTVjYzEtNGFlNi1iMWRkLTVlODY0YWEzYmE2ZQ string uri = 1; // The offset for the first byte to return in the read, relative to the end diff --git a/third_party/googleapis/google/devtools/resultstore/v2/resultstore_upload.proto b/third_party/googleapis/google/devtools/resultstore/v2/resultstore_upload.proto index 00c478aeb..87c45d6e3 100644 --- a/third_party/googleapis/google/devtools/resultstore/v2/resultstore_upload.proto +++ b/third_party/googleapis/google/devtools/resultstore/v2/resultstore_upload.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -46,7 +46,8 @@ option java_package = "com.google.devtools.resultstore.v2"; // out of memory. service ResultStoreUpload { option (google.api.default_host) = "resultstore.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Creates the given invocation. // @@ -63,7 +64,8 @@ service ResultStoreUpload { post: "/v2/invocations" body: "invocation" }; - option (google.api.method_signature) = "request_id,invocation,invocation_id,authorization_token"; + option (google.api.method_signature) = + "request_id,invocation,invocation_id,authorization_token"; } // Applies a standard update to the invocation identified by the given proto's @@ -84,7 +86,8 @@ service ResultStoreUpload { patch: "/v2/{invocation.name=invocations/*}" body: "invocation" }; - option (google.api.method_signature) = "invocation,update_mask,authorization_token"; + option (google.api.method_signature) = + "invocation,update_mask,authorization_token"; } // Applies a merge update to the invocation identified by the given proto's @@ -118,7 +121,8 @@ service ResultStoreUpload { // An error will be reported in the following cases: // - If the invocation does not exist. // - If the invocation is finalized. - rpc TouchInvocation(TouchInvocationRequest) returns (TouchInvocationResponse) { + rpc TouchInvocation(TouchInvocationRequest) + returns (TouchInvocationResponse) { option (google.api.http) = { post: "/v2/{name=invocations/*}:touch" body: "*" @@ -134,7 +138,8 @@ service ResultStoreUpload { // // An error will be reported in the following cases: // - If the invocation does not exist. - rpc FinalizeInvocation(FinalizeInvocationRequest) returns (FinalizeInvocationResponse) { + rpc FinalizeInvocation(FinalizeInvocationRequest) + returns (FinalizeInvocationResponse) { option (google.api.http) = { post: "/v2/{name=invocations/*}:finalize" body: "*" @@ -148,7 +153,8 @@ service ResultStoreUpload { // An error will be reported in the following cases: // - If the invocation does not exist. // - If the invocation is not finalized. This can be retried until it is. - rpc DeleteInvocation(DeleteInvocationRequest) returns (google.protobuf.Empty) { + rpc DeleteInvocation(DeleteInvocationRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v2/{name=invocations/*}" }; @@ -171,7 +177,8 @@ service ResultStoreUpload { post: "/v2/{parent=invocations/*}/targets" body: "target" }; - option (google.api.method_signature) = "request_id,parent,target,target_id,authorization_token"; + option (google.api.method_signature) = + "request_id,parent,target,target_id,authorization_token"; } // Applies a standard update to the target identified by the given proto's @@ -191,7 +198,8 @@ service ResultStoreUpload { patch: "/v2/{target.name=invocations/*/targets/*}" body: "target" }; - option (google.api.method_signature) = "target,update_mask,authorization_token"; + option (google.api.method_signature) = + "target,update_mask,authorization_token"; } // Applies a merge update to the target identified by the given proto's @@ -242,12 +250,14 @@ service ResultStoreUpload { // - If a configured target with the same ID already exists. // - If the parent target does not exist. // - If the parent target or invocation is finalized. - rpc CreateConfiguredTarget(CreateConfiguredTargetRequest) returns (ConfiguredTarget) { + rpc CreateConfiguredTarget(CreateConfiguredTargetRequest) + returns (ConfiguredTarget) { option (google.api.http) = { post: "/v2/{parent=invocations/*/targets/*}/configuredTargets" body: "configured_target" }; - option (google.api.method_signature) = "request_id,parent,configured_target,config_id,authorization_token"; + option (google.api.method_signature) = + "request_id,parent,configured_target,config_id,authorization_token"; } // Applies a standard update to the configured target identified by the given @@ -263,12 +273,14 @@ service ResultStoreUpload { // - If the configured target does not exist. // - If the parent target or invocation is finalized. // - If no field mask was given. - rpc UpdateConfiguredTarget(UpdateConfiguredTargetRequest) returns (ConfiguredTarget) { + rpc UpdateConfiguredTarget(UpdateConfiguredTargetRequest) + returns (ConfiguredTarget) { option (google.api.http) = { patch: "/v2/{configured_target.name=invocations/*/targets/*/configuredTargets/*}" body: "configured_target" }; - option (google.api.method_signature) = "configured_target,update_mask,authorization_token"; + option (google.api.method_signature) = + "configured_target,update_mask,authorization_token"; } // Applies a merge update to the configured target identified by the given @@ -286,7 +298,8 @@ service ResultStoreUpload { // - If the configured target does not exist. // - If the parent target or invocation is finalized. // - If no field mask was given. - rpc MergeConfiguredTarget(MergeConfiguredTargetRequest) returns (ConfiguredTarget) { + rpc MergeConfiguredTarget(MergeConfiguredTargetRequest) + returns (ConfiguredTarget) { option (google.api.http) = { post: "/v2/{configured_target.name=invocations/*/targets/*/configuredTargets/*}:merge" body: "*" @@ -299,7 +312,8 @@ service ResultStoreUpload { // // An error will be reported in the following cases: // - If the configured target does not exist. - rpc FinalizeConfiguredTarget(FinalizeConfiguredTargetRequest) returns (FinalizeConfiguredTargetResponse) { + rpc FinalizeConfiguredTarget(FinalizeConfiguredTargetRequest) + returns (FinalizeConfiguredTargetResponse) { option (google.api.http) = { post: "/v2/{name=invocations/*/targets/*/configuredTargets/*}:finalize" body: "*" @@ -323,7 +337,8 @@ service ResultStoreUpload { post: "/v2/{parent=invocations/*/targets/*/configuredTargets/*}/actions" body: "action" }; - option (google.api.method_signature) = "request_id,parent,action,action_id,authorization_token"; + option (google.api.method_signature) = + "request_id,parent,action,action_id,authorization_token"; } // Applies a standard update to the action identified by the given @@ -343,7 +358,8 @@ service ResultStoreUpload { patch: "/v2/{action.name=invocations/*/targets/*/configuredTargets/*/actions/*}" body: "action" }; - option (google.api.method_signature) = "action,update_mask,authorization_token"; + option (google.api.method_signature) = + "action,update_mask,authorization_token"; } // Applies a merge update to the action identified by the given @@ -387,7 +403,8 @@ service ResultStoreUpload { post: "/v2/{parent=invocations/*}/configs" body: "configuration" }; - option (google.api.method_signature) = "request_id,parent,configuration,config_id,authorization_token"; + option (google.api.method_signature) = + "request_id,parent,configuration,config_id,authorization_token"; } // Applies a standard update to the configuration identified by the given @@ -409,7 +426,8 @@ service ResultStoreUpload { patch: "/v2/{configuration.name=invocations/*/configs/*}" body: "configuration" }; - option (google.api.method_signature) = "configuration,update_mask,authorization_token"; + option (google.api.method_signature) = + "configuration,update_mask,authorization_token"; } // Creates the given file set under the given parent invocation. The given @@ -429,7 +447,8 @@ service ResultStoreUpload { post: "/v2/{parent=invocations/*}/fileSets" body: "file_set" }; - option (google.api.method_signature) = "request_id,parent,file_set,file_set_id,authorization_token"; + option (google.api.method_signature) = + "request_id,parent,file_set,file_set_id,authorization_token"; } // Applies a standard update to the file set identified by the given proto's @@ -450,7 +469,8 @@ service ResultStoreUpload { patch: "/v2/{file_set.name=invocations/*/fileSets/*}" body: "file_set" }; - option (google.api.method_signature) = "file_set,update_mask,authorization_token"; + option (google.api.method_signature) = + "file_set,update_mask,authorization_token"; } // Applies a merge update to the file set identified by the given proto's @@ -505,7 +525,8 @@ service ResultStoreUpload { // An error will be reported in the following case: // - If the invocation does not exist. // - If no field mask was given. - rpc GetInvocationUploadMetadata(GetInvocationUploadMetadataRequest) returns (UploadMetadata) { + rpc GetInvocationUploadMetadata(GetInvocationUploadMetadataRequest) + returns (UploadMetadata) { option (google.api.http) = { get: "/v2/{name=invocations/*/uploadMetadata}" }; @@ -530,8 +551,9 @@ message CreateInvocationRequest { // are allowed too. string invocation_id = 2; - // Required. The invocation to create. Its name field will be ignored, since the name - // will be derived from the id field above and assigned by the server. + // Required. The invocation to create. Its name field will be ignored, since + // the name will be derived from the id field above and assigned by the + // server. Invocation invocation = 3 [(google.api.field_behavior) = REQUIRED]; // This is a token to authorize upload access to this invocation. It must be @@ -707,8 +729,8 @@ message CreateTargetRequest { // long except for the reserved id '-'. string target_id = 3; - // Required. The target to create. Its name field will be ignored, since the name will - // be derived from the id field above and assigned by the server. + // Required. The target to create. Its name field will be ignored, since the + // name will be derived from the id field above and assigned by the server. Target target = 4 [(google.api.field_behavior) = REQUIRED]; // This is a token to authorize access to this invocation. It must be set to @@ -796,8 +818,8 @@ message CreateConfiguredTargetRequest { // request ID. Restricted to 36 Unicode characters. string request_id = 1; - // Required. The name of the parent target in which the configured target is created. - // Its format must be: + // Required. The name of the parent target in which the configured target is + // created. Its format must be: // invocations/${INVOCATION_ID}/targets/${url_encode(TARGET_ID)} string parent = 2 [ (google.api.field_behavior) = REQUIRED, @@ -810,9 +832,11 @@ message CreateConfiguredTargetRequest { // Configuration under this Invocation. Cannot be the reserved id '-'. string config_id = 3; - // Required. The configured target to create. Its name field will be ignored, since the - // name will be derived from the id field above and assigned by the server. - ConfiguredTarget configured_target = 4 [(google.api.field_behavior) = REQUIRED]; + // Required. The configured target to create. Its name field will be ignored, + // since the name will be derived from the id field above and assigned by the + // server. + ConfiguredTarget configured_target = 4 + [(google.api.field_behavior) = REQUIRED]; // This is a token to authorize access to this invocation. It must be set to // the same value that was provided in the CreateInvocationRequest. @@ -899,8 +923,8 @@ message CreateActionRequest { // request ID. Restricted to 36 Unicode characters. string request_id = 1; - // Required. The name of the parent configured target in which the action is created. - // Its format must be: + // Required. The name of the parent configured target in which the action is + // created. Its format must be: // invocations/${INVOCATION_ID}/targets/${url_encode(TARGET_ID)}/configuredTargets/${CONFIG_ID} string parent = 2 [ (google.api.field_behavior) = REQUIRED, @@ -909,8 +933,8 @@ message CreateActionRequest { } ]; - // The action identifier. It can be any string up to 512 Unicode characters - // long, except for the reserved id '-'. + // The action identifier. It can be any string of up to 512 alphanumeric + // characters [a-zA-Z_-], except for the reserved id '-'. // // Recommended IDs for Test Actions: // "test": For a single test action. @@ -984,8 +1008,8 @@ message CreateConfigurationRequest { // request ID. Restricted to 36 Unicode characters. string request_id = 1; - // Required. The name of the parent invocation in which the configuration is created. - // Its format must be invocations/${INVOCATION_ID} + // Required. The name of the parent invocation in which the configuration is + // created. Its format must be invocations/${INVOCATION_ID} string parent = 2 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -993,14 +1017,15 @@ message CreateConfigurationRequest { } ]; - // The configuration identifier. It can be any string up to 256 Unicode - // characters long. The configuration ID of "default" should be preferred for - // the default configuration in a single-config invocation. Cannot be the - // reserved id '-'. + // The configuration identifier. It can be any string of up to 512 + // alphanumeric characters [a-zA-Z_-], except for the reserved id '-'. The + // configuration ID of "default" should be preferred for the default + // configuration in a single-config invocation. string config_id = 3; - // Required. The configuration to create. Its name field will be ignored, since the name - // will be derived from the id field above and assigned by the server. + // Required. The configuration to create. Its name field will be ignored, + // since the name will be derived from the id field above and assigned by the + // server. Configuration configuration = 4 [(google.api.field_behavior) = REQUIRED]; // This is a token to authorize access to this invocation. It must be set to @@ -1036,8 +1061,8 @@ message CreateFileSetRequest { // request ID. Restricted to 36 Unicode characters. string request_id = 1; - // Required. The name of the parent invocation in which the file set is created. - // Its format must be invocations/${INVOCATION_ID} + // Required. The name of the parent invocation in which the file set is + // created. Its format must be invocations/${INVOCATION_ID} string parent = 2 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1045,12 +1070,12 @@ message CreateFileSetRequest { } ]; - // The file set identifier. It can be any string up to 256 Unicode characters - // long. + // The file set identifier. It can be any string of up to 512 alphanumeric + // characters [a-zA-Z_-], except for the reserved id '-'. string file_set_id = 3; - // Required. The file set to create. Its name field will be ignored, since the name will - // be derived from the id field above and assigned by the server. + // Required. The file set to create. Its name field will be ignored, since the + // name will be derived from the id field above and assigned by the server. FileSet file_set = 4 [(google.api.field_behavior) = REQUIRED]; // This is a token to authorize access to this invocation. It must be set to @@ -1108,20 +1133,21 @@ message UploadBatchRequest { // The name format must be: invocations/${INVOCATION_ID} string parent = 1 [(google.api.field_behavior) = REQUIRED]; - // Required. A UUID that must match the value provided in CreateInvocationRequest. + // Required. A UUID that must match the value provided in + // CreateInvocationRequest. string authorization_token = 2 [(google.api.field_behavior) = REQUIRED]; - // Required. The token of this batch, that will be committed in this UploadBatchRequest. - // If this matches the previously uploaded resume_token, then this request - // will silently do nothing. - // See CreateInvocationRequest.initial_resume_token for more information. - // Must be web safe Base64 encoded bytes. + // Required. The token of this batch, that will be committed in this + // UploadBatchRequest. If this matches the previously uploaded resume_token, + // then this request will silently do nothing. See + // CreateInvocationRequest.initial_resume_token for more information. Must be + // web safe Base64 encoded bytes. string next_resume_token = 3 [(google.api.field_behavior) = REQUIRED]; - // Required. The token of the previous batch that was committed in a UploadBatchRequest. - // This will be checked after next_resume_token match is checked. If this does - // not match the previously uploaded resume_token, a 409 Conflict (HTTPS) or - // ABORTED (gRPC ) error code indicating a concurrency + // Required. The token of the previous batch that was committed in a + // UploadBatchRequest. This will be checked after next_resume_token match is + // checked. If this does not match the previously uploaded resume_token, a 409 + // Conflict (HTTPS) or ABORTED (gRPC ) error code indicating a concurrency // failure will be returned, and that the user should call // GetInvocationUploadMetadata to fetch the current resume_token to // reconstruct the state of the upload to resume it. @@ -1147,9 +1173,7 @@ message UploadBatchRequest { } // Response for UploadBatch -message UploadBatchResponse { - -} +message UploadBatchResponse {} // The individual upload requests for this batch. message UploadRequest { @@ -1271,6 +1295,7 @@ message GetInvocationUploadMetadataRequest { } ]; - // Required. A UUID that must match the value provided in CreateInvocationRequest. + // Required. A UUID that must match the value provided in + // CreateInvocationRequest. string authorization_token = 2 [(google.api.field_behavior) = REQUIRED]; } diff --git a/third_party/googleapis/google/devtools/resultstore/v2/target.proto b/third_party/googleapis/google/devtools/resultstore/v2/target.proto index e6e3d21db..f00d562d9 100644 --- a/third_party/googleapis/google/devtools/resultstore/v2/target.proto +++ b/third_party/googleapis/google/devtools/resultstore/v2/target.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -52,7 +52,8 @@ message Target { Id id = 2; // This is the aggregate status of the target. - StatusAttributes status_attributes = 3; + // DEPRECATED - use ConfiguredTarget.status_attributes instead + StatusAttributes status_attributes = 3 [deprecated = true]; // When this target started and its duration. Timing timing = 4; diff --git a/third_party/googleapis/google/devtools/resultstore/v2/test_suite.proto b/third_party/googleapis/google/devtools/resultstore/v2/test_suite.proto index aa2c7c51a..ef2e167ad 100644 --- a/third_party/googleapis/google/devtools/resultstore/v2/test_suite.proto +++ b/third_party/googleapis/google/devtools/resultstore/v2/test_suite.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -139,6 +139,16 @@ message TestCase { // The file IDs must be unique within this list. Duplicate file IDs will // result in an error. Files will be returned in lexicographical order by ID. repeated File files = 9; + + // The 0-indexed retry number of the test case. A value of `0` may indicate + // either that this is the first in a series of retries, or that no retries + // were requested. + int32 retry_number = 10; + + // The 0-indexed repeat number of the test case. A value of `0` may indicate + // either that this is the first in a series of repeats, or that no repeats + // were requested. + int32 repeat_number = 11; } // Represents a violated assertion, as reported in a element within a diff --git a/third_party/googleapis/google/devtools/resultstore/v2/upload_metadata.proto b/third_party/googleapis/google/devtools/resultstore/v2/upload_metadata.proto index f7f071a49..f526df64f 100644 --- a/third_party/googleapis/google/devtools/resultstore/v2/upload_metadata.proto +++ b/third_party/googleapis/google/devtools/resultstore/v2/upload_metadata.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/devtools/source/v1/BUILD.bazel b/third_party/googleapis/google/devtools/source/v1/BUILD.bazel index b689b4117..31da1d159 100644 --- a/third_party/googleapis/google/devtools/source/v1/BUILD.bazel +++ b/third_party/googleapis/google/devtools/source/v1/BUILD.bazel @@ -13,7 +13,7 @@ load( "java_gapic_assembly_gradle_pkg", "java_grpc_library", "java_proto_library", - "php_grpc_library", + "php_gapic_assembly_pkg", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -102,10 +102,12 @@ php_proto_library( deps = [":source_proto"], ) -php_grpc_library( - name = "source_php_grpc", - srcs = [":source_proto"], - deps = [":source_php_proto"], +# Open Source Packages +php_gapic_assembly_pkg( + name = "google-cloud-source-v1-php", + deps = [ + ":source_php_proto", + ], ) ruby_proto_library( diff --git a/third_party/googleapis/google/devtools/testing/v1/BUILD.bazel b/third_party/googleapis/google/devtools/testing/v1/BUILD.bazel index da4a0bebb..10b0c04ca 100644 --- a/third_party/googleapis/google/devtools/testing/v1/BUILD.bazel +++ b/third_party/googleapis/google/devtools/testing/v1/BUILD.bazel @@ -9,41 +9,21 @@ # * 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"]) + ############################################################################## # Common ############################################################################## load("@rules_proto//proto:defs.bzl", "proto_library") -load( - "@com_google_googleapis_imports//:imports.bzl", - "cc_grpc_library", - "cc_proto_library", - "java_gapic_assembly_gradle_pkg", - "java_gapic_library", - "java_gapic_test", - "java_grpc_library", - "java_proto_library", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", - "php_gapic_assembly_pkg", - "php_gapic_library", - "php_grpc_library", - "php_proto_library", - "proto_library_with_info", - "py_gapic_assembly_pkg", - "py_gapic_library", - "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) +load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") proto_library( name = "testing_proto", srcs = [ + "adb_service.proto", "application_details.proto", + "direct_access_service.proto", "test_environment_discovery.proto", "test_execution.proto", ], @@ -51,8 +31,11 @@ proto_library( "//google/api:annotations_proto", "//google/api:client_proto", "//google/api:field_behavior_proto", + "//google/api:resource_proto", "//google/type:date_proto", "@com_google_protobuf//:duration_proto", + "@com_google_protobuf//:empty_proto", + "@com_google_protobuf//:field_mask_proto", "@com_google_protobuf//:timestamp_proto", ], ) @@ -65,6 +48,18 @@ proto_library_with_info( ], ) +############################################################################## +# Java +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "java_gapic_assembly_gradle_pkg", + "java_gapic_library", + "java_gapic_test", + "java_grpc_library", + "java_proto_library", +) + java_proto_library( name = "testing_java_proto", deps = [":testing_proto"], @@ -79,14 +74,17 @@ java_grpc_library( java_gapic_library( name = "testing_java_gapic", srcs = [":testing_proto_with_info"], + gapic_yaml = None, grpc_service_config = "testing_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "testing_v1.yaml", test_deps = [ ":testing_java_grpc", ], transport = "grpc+rest", deps = [ ":testing_java_proto", + "//google/api:api_java_proto", ], ) @@ -95,6 +93,8 @@ java_gapic_test( test_classes = [ "com.google.devtools.testing.v1.ApplicationDetailServiceClientHttpJsonTest", "com.google.devtools.testing.v1.ApplicationDetailServiceClientTest", + "com.google.devtools.testing.v1.DirectAccessServiceClientHttpJsonTest", + "com.google.devtools.testing.v1.DirectAccessServiceClientTest", "com.google.devtools.testing.v1.TestEnvironmentDiscoveryServiceClientHttpJsonTest", "com.google.devtools.testing.v1.TestEnvironmentDiscoveryServiceClientTest", "com.google.devtools.testing.v1.TestExecutionServiceClientHttpJsonTest", @@ -119,60 +119,61 @@ java_gapic_assembly_gradle_pkg( ############################################################################## # Go ############################################################################## -# -# Commented out because of a build failure: -# bazel-out/k8-fastbuild/bin/google/devtools/testing/v1/testing_go_gapic_srcjar_main.go/cloud.google.com/go/devtools/testing/apiv1/test_environment_discovery_client.go:23:2: imported and not used: "net/url" -# compilepkg: error running subcommand external/go_sdk/pkg/tool/linux_amd64/compile: exit status 2 -# -# load( -# "@com_google_googleapis_imports//:imports.bzl", -# "go_gapic_assembly_pkg", -# "go_gapic_library", -# "go_proto_library", -# "go_test", -# ) +load( + "@com_google_googleapis_imports//:imports.bzl", + "go_gapic_assembly_pkg", + "go_gapic_library", + "go_proto_library", +) -# go_proto_library( -# name = "testing_go_proto", -# compilers = ["@io_bazel_rules_go//proto:go_grpc"], -# importpath = "google.golang.org/genproto/googleapis/devtools/testing/v1", -# protos = [":testing_proto"], -# deps = [ -# "//google/api:annotations_go_proto", -# "//google/type:date_go_proto", -# ], -# ) +go_proto_library( + name = "testing_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], + importpath = "google.golang.org/genproto/googleapis/devtools/testing/v1", + protos = [":testing_proto"], + deps = [ + "//google/api:annotations_go_proto", + "//google/type:date_go_proto", + ], +) -# go_gapic_library( -# name = "testing_go_gapic", -# srcs = [":testing_proto_with_info"], -# grpc_service_config = "testing_grpc_service_config.json", -# importpath = "cloud.google.com/go/devtools/testing/apiv1;testing", -# service_yaml = "testing_v1.yaml", -# metadata = True, -# deps = [ -# ":testing_go_proto", -# "@io_bazel_rules_go//proto/wkt:duration_go_proto", -# ], -# ) +go_gapic_library( + name = "testing_go_gapic", + srcs = [":testing_proto_with_info"], + grpc_service_config = "testing_grpc_service_config.json", + importpath = "cloud.google.com/go/devtools/testing/apiv1;testing", + metadata = True, + release_level = "beta", + rest_numeric_enums = True, + service_yaml = "testing_v1.yaml", + transport = "grpc+rest", + deps = [ + ":testing_go_proto", + "@io_bazel_rules_go//proto/wkt:duration_go_proto", + ], +) -# go_test( -# name = "testing_go_gapic_test", -# srcs = [":testing_go_gapic_srcjar_test"], -# embed = [":testing_go_gapic"], -# importpath = "cloud.google.com/go/devtools/testing/apiv1", -# ) +# Open Source Packages +go_gapic_assembly_pkg( + name = "gapi-cloud-devtools-testing-v1-go", + deps = [ + ":testing_go_gapic", + ":testing_go_gapic_srcjar-metadata.srcjar", + ":testing_go_gapic_srcjar-snippets.srcjar", + ":testing_go_gapic_srcjar-test.srcjar", + ":testing_go_proto", + ], +) -# # Open Source Packages -# go_gapic_assembly_pkg( -# name = "gapi-cloud-devtools-testing-v1-go", -# deps = [ -# ":testing_go_gapic", -# ":testing_go_gapic_srcjar-test.srcjar", -# ":testing_go_gapic_srcjar-metadata.srcjar", -# ":testing_go_proto", -# ], -# ) +############################################################################## +# Python +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "py_gapic_assembly_pkg", + "py_gapic_library", + "py_test", +) py_gapic_library( name = "testing_py_gapic", @@ -181,18 +182,20 @@ py_gapic_library( rest_numeric_enums = True, service_yaml = "testing_v1.yaml", transport = "grpc+rest", + deps = [ + ], ) -# Uncomment once https://github.com/googleapis/gapic-generator-python/issues/1376 is fixed -#py_test( -# name = "testing_py_gapic_test", -# srcs = [ -# "testing_py_gapic_pytest.py", -# "testing_py_gapic_test.py", -# ], -# legacy_create_init = False, -# deps = [":testing_py_gapic"], -#) +# TODO(b/288971176): uncomment when the test is fixed +# py_test( +# name = "testing_py_gapic_test", +# srcs = [ +# "testing_py_gapic_pytest.py", +# "testing_py_gapic_test.py", +# ], +# legacy_create_init = False, +# deps = [":testing_py_gapic"], +# ) # Open Source Packages py_gapic_assembly_pkg( @@ -202,26 +205,30 @@ py_gapic_assembly_pkg( ], ) +############################################################################## +# PHP +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "php_gapic_assembly_pkg", + "php_gapic_library", + "php_proto_library", +) + php_proto_library( name = "testing_php_proto", deps = [":testing_proto"], ) -php_grpc_library( - name = "testing_php_grpc", - srcs = [":testing_proto"], - deps = [":testing_php_proto"], -) - php_gapic_library( name = "testing_php_gapic", srcs = [":testing_proto_with_info"], grpc_service_config = "testing_grpc_service_config.json", + migration_mode = "PRE_MIGRATION_SURFACE_ONLY", rest_numeric_enums = True, service_yaml = "testing_v1.yaml", transport = "grpc+rest", deps = [ - ":testing_php_grpc", ":testing_php_proto", ], ) @@ -231,11 +238,19 @@ php_gapic_assembly_pkg( name = "google-cloud-devtools-testing-v1-php", deps = [ ":testing_php_gapic", - ":testing_php_grpc", ":testing_php_proto", ], ) +############################################################################## +# Node.js +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "nodejs_gapic_assembly_pkg", + "nodejs_gapic_library", +) + nodejs_gapic_library( name = "testing_nodejs_gapic", package_name = "@google-cloud/testing", @@ -257,6 +272,17 @@ nodejs_gapic_assembly_pkg( ], ) +############################################################################## +# Ruby +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "ruby_cloud_gapic_library", + "ruby_gapic_assembly_pkg", + "ruby_grpc_library", + "ruby_proto_library", +) + ruby_proto_library( name = "testing_ruby_proto", deps = [":testing_proto"], @@ -271,12 +297,11 @@ ruby_grpc_library( ruby_cloud_gapic_library( name = "testing_ruby_gapic", srcs = [":testing_proto_with_info"], - extra_protoc_parameters = [ - "ruby-cloud-gem-name=google-cloud-devtools-testing-v1", - ], + extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-devtools-testing-v1"], grpc_service_config = "testing_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "testing_v1.yaml", + transport = "grpc+rest", deps = [ ":testing_ruby_grpc", ":testing_ruby_proto", @@ -296,50 +321,57 @@ ruby_gapic_assembly_pkg( ############################################################################## # C# ############################################################################## -# -# Commented out until enum path segments are supported. -# --gapic_out: System.InvalidOperationException: Path in http url must resolve to a string field: 'environment_type'. -# -# load( -# "@com_google_googleapis_imports//:imports.bzl", -# "csharp_gapic_assembly_pkg", -# "csharp_gapic_library", -# "csharp_grpc_library", -# "csharp_proto_library", -# ) +load( + "@com_google_googleapis_imports//:imports.bzl", + "csharp_gapic_assembly_pkg", + "csharp_gapic_library", + "csharp_grpc_library", + "csharp_proto_library", +) -# csharp_proto_library( -# name = "testing_csharp_proto", -# deps = [":testing_proto"], -# ) +csharp_proto_library( + name = "testing_csharp_proto", + extra_opts = [], + deps = [":testing_proto"], +) -# csharp_grpc_library( -# name = "testing_csharp_grpc", -# srcs = [":testing_proto"], -# deps = [":testing_csharp_proto"], -# ) +csharp_grpc_library( + name = "testing_csharp_grpc", + srcs = [":testing_proto"], + deps = [":testing_csharp_proto"], +) -# csharp_gapic_library( -# name = "testing_csharp_gapic", -# srcs = [":testing_proto_with_info"], -# common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -# grpc_service_config = "testing_grpc_service_config.json", -# service_yaml = "testing_v1.yaml", -# deps = [ -# ":testing_csharp_grpc", -# ":testing_csharp_proto", -# ], -# ) +csharp_gapic_library( + name = "testing_csharp_gapic", + srcs = [":testing_proto_with_info"], + common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", + grpc_service_config = "testing_grpc_service_config.json", + rest_numeric_enums = True, + service_yaml = "testing_v1.yaml", + deps = [ + ":testing_csharp_grpc", + ":testing_csharp_proto", + ], +) -# # Open Source Packages -# csharp_gapic_assembly_pkg( -# name = "google-cloud-devtools-testing-v1-csharp", -# deps = [ -# ":testing_csharp_gapic", -# ":testing_csharp_grpc", -# ":testing_csharp_proto", -# ], -# ) +# Open Source Packages +csharp_gapic_assembly_pkg( + name = "google-cloud-devtools-testing-v1-csharp", + deps = [ + ":testing_csharp_gapic", + ":testing_csharp_grpc", + ":testing_csharp_proto", + ], +) + +############################################################################## +# C++ +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "cc_grpc_library", + "cc_proto_library", +) cc_proto_library( name = "testing_cc_proto", diff --git a/third_party/googleapis/google/devtools/testing/v1/application_details.proto b/third_party/googleapis/google/devtools/testing/v1/application_details.proto index 4d69e8cb2..4df4ae98c 100644 --- a/third_party/googleapis/google/devtools/testing/v1/application_details.proto +++ b/third_party/googleapis/google/devtools/testing/v1/application_details.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,8 +17,8 @@ syntax = "proto3"; package google.devtools.testing.v1; import "google/api/annotations.proto"; -import "google/devtools/testing/v1/test_execution.proto"; import "google/api/client.proto"; +import "google/devtools/testing/v1/test_execution.proto"; option go_package = "google.golang.org/genproto/googleapis/devtools/testing/v1;testing"; option java_multiple_files = true; @@ -29,7 +29,8 @@ option java_package = "com.google.devtools.testing.v1"; // useful in the context of testing. service ApplicationDetailService { option (google.api.default_host) = "testing.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Gets the details of an Android application APK. rpc GetApkDetails(GetApkDetailsRequest) returns (GetApkDetailsResponse) { @@ -69,6 +70,31 @@ message ApkManifest { // Permissions declared to be used by the application repeated string uses_permission = 7; + + // Version number used internally by the app. + int64 version_code = 8; + + // Version number shown to users. + string version_name = 9; + + // Meta-data tags defined in the manifest. + repeated Metadata metadata = 10; + + // Feature usage tags defined in the manifest. + repeated UsesFeature uses_feature = 11; + + // Services contained in the tag. + repeated Service services = 12; +} + +// The section of an tag. +// https://developer.android.com/guide/topics/manifest/service-element +message Service { + // The android:name value + string name = 1; + + // Intent filters in the service + repeated IntentFilter intent_filter = 2; } // The section of an tag. @@ -84,6 +110,26 @@ message IntentFilter { string mime_type = 3; } +// A tag within a manifest. +// https://developer.android.com/guide/topics/manifest/meta-data-element.html +message Metadata { + // The android:name value + string name = 1; + + // The android:value value + string value = 2; +} + +// A tag within a manifest. +// https://developer.android.com/guide/topics/manifest/uses-feature-element.html +message UsesFeature { + // The android:name value + string name = 1; + + // The android:required value + bool is_required = 2; +} + // A request to get the details of an Android application APK. message GetApkDetailsRequest { // The APK to be parsed for details. diff --git a/third_party/googleapis/google/devtools/testing/v1/test_environment_discovery.proto b/third_party/googleapis/google/devtools/testing/v1/test_environment_discovery.proto index 1818b79b2..7de1b2142 100644 --- a/third_party/googleapis/google/devtools/testing/v1/test_environment_discovery.proto +++ b/third_party/googleapis/google/devtools/testing/v1/test_environment_discovery.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,11 +17,11 @@ syntax = "proto3"; package google.devtools.testing.v1; import "google/api/annotations.proto"; -import "google/devtools/testing/v1/test_execution.proto"; +import "google/api/client.proto"; +import "google/api/field_behavior.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; import "google/type/date.proto"; -import "google/api/client.proto"; option go_package = "google.golang.org/genproto/googleapis/devtools/testing/v1;testing"; option java_multiple_files = true; @@ -73,7 +73,8 @@ service TestEnvironmentDiscoveryService { // - INVALID_ARGUMENT - if the request is malformed // - NOT_FOUND - if the environment type does not exist // - INTERNAL - if an internal error occurred - rpc GetTestEnvironmentCatalog(GetTestEnvironmentCatalogRequest) returns (TestEnvironmentCatalog) { + rpc GetTestEnvironmentCatalog(GetTestEnvironmentCatalogRequest) + returns (TestEnvironmentCatalog) { option (google.api.http) = { get: "/v1/testEnvironmentCatalog/{environment_type}" }; @@ -197,6 +198,9 @@ message AndroidModel { // Whether this device is a phone, tablet, wearable, etc. DeviceFormFactor form_factor = 16; + // Version-specific information of an Android model. + repeated PerAndroidVersionInfo per_version_info = 21; + // Screen size in the horizontal (X) dimension measured in pixels. int32 screen_x = 5; @@ -229,7 +233,6 @@ message AndroidModel { repeated string tags = 8; // URL of a thumbnail image (photo) of the device. - // e.g. https://lh3.googleusercontent.com/90WcauuJiCYABEl8U0lcZeuS5STUbf2yW... string thumbnail_url = 19; } @@ -262,6 +265,38 @@ message AndroidVersion { repeated string tags = 7; } +// A version-specific information of an Android model. +message PerAndroidVersionInfo { + // An Android version. + string version_id = 1; + + // The number of online devices for an Android version. + DeviceCapacity device_capacity = 2; + + // Output only. Identifies supported clients for DirectAccess for this Android + // version. + DirectAccessVersionInfo direct_access_version_info = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// Denotes whether Direct Access is supported, and by which client versions. +// +// DirectAccessService is currently available as a preview to select developers. +// You can register today on behalf of you and your team at +// https://developer.android.com/studio/preview/android-device-streaming +message DirectAccessVersionInfo { + // Whether direct access is supported at all. Clients are expected to + // filter down the device list to only android models and versions which + // support Direct Access when that is the user intent. + bool direct_access_supported = 1; + + // Output only. Indicates client-device compatibility, where a device is known + // to work only with certain workarounds implemented in the Android Studio + // client. Expected format "major.minor.micro.patch", e.g. + // "5921.22.2211.8881706". + string minimum_android_studio_version = 2; +} + // Data about the relative number of devices running a // given configuration of the Android platform. message Distribution { @@ -330,6 +365,9 @@ message IosModel { // Whether this device is a phone, tablet, wearable, etc. DeviceFormFactor form_factor = 6; + + // Version-specific information of an iOS model. + repeated PerIosVersionInfo per_version_info = 14; } // An iOS version. @@ -354,6 +392,15 @@ message IosVersion { repeated string supported_xcode_version_ids = 5; } +// A version-specific information of an iOS model. +message PerIosVersionInfo { + // An iOS version. + string version_id = 1; + + // The number of online devices for an iOS version. + DeviceCapacity device_capacity = 2; +} + // A location/region designation for language. message Locale { // The id for this locale. @@ -434,10 +481,12 @@ message TrafficRule { // The currently provided software environment on the devices under test. message ProvidedSoftwareCatalog { + // Deprecated: Use AndroidX Test Orchestrator going forward. + // // A string representing the current version of Android Test Orchestrator // that is used in the environment. The package is available at // https://maven.google.com/web/index.html#com.android.support.test:orchestrator. - string orchestrator_version = 1; + string orchestrator_version = 1 [deprecated = true]; // A string representing the current version of AndroidX Test Orchestrator // that is used in the environment. The package is available at @@ -476,3 +525,52 @@ enum DeviceFormFactor { // This device has the shape of a watch or other wearable. WEARABLE = 3; } + +// Capacity based on the number of online devices in the lab. +// +// Important: device capacity does not directly reflect the length of the +// queue at a moment in time. It does not take into account current traffic or +// the state of the devices. +// +// For physical devices, the number is the average of online devices in the last +// 30 days. +enum DeviceCapacity { + // The value of device capacity is unknown or unset. + DEVICE_CAPACITY_UNSPECIFIED = 0; + + // Devices that are high in capacity (The lab has a large number of these + // devices). + // + // These devices are generally suggested for running a large number of + // simultaneous tests (e.g. more than 100 tests). + // + // Please note that high capacity devices do not guarantee short wait times + // due to several factors: + // 1. Traffic (how heavily they are used at any given moment) + // 2. High capacity devices are prioritized for certain usages, which may + // cause user tests to be slower than selecting other similar device types. + DEVICE_CAPACITY_HIGH = 1; + + // Devices that are medium in capacity (The lab has a decent number of these + // devices, though not as many as high capacity devices). + // + // These devices are suitable for fewer test runs (e.g. fewer than 100 tests) + // and only for low shard counts (e.g. less than 10 shards). + DEVICE_CAPACITY_MEDIUM = 2; + + // Devices that are low in capacity (The lab has a small number of these + // devices). + // + // These devices may be used if users need to test on this specific device + // model and version. Please note that due to low capacity, the tests may take + // much longer to finish, especially if a large number of tests are invoked at + // once. These devices are not suitable for test sharding. + DEVICE_CAPACITY_LOW = 3; + + // Devices that are completely missing from the lab. + // + // These devices are unavailable either temporarily or permanently and should + // not be requested. If the device is also marked as deprecated, this state + // is very likely permanent. + DEVICE_CAPACITY_NONE = 4; +} diff --git a/third_party/googleapis/google/devtools/testing/v1/test_execution.proto b/third_party/googleapis/google/devtools/testing/v1/test_execution.proto index 57c580f5f..a3462c58a 100644 --- a/third_party/googleapis/google/devtools/testing/v1/test_execution.proto +++ b/third_party/googleapis/google/devtools/testing/v1/test_execution.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,9 +17,10 @@ syntax = "proto3"; package google.devtools.testing.v1; import "google/api/annotations.proto"; +import "google/api/client.proto"; +import "google/api/field_behavior.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; -import "google/api/client.proto"; option go_package = "google.golang.org/genproto/googleapis/devtools/testing/v1;testing"; option java_multiple_files = true; @@ -60,6 +61,10 @@ service TestExecutionService { // Unsupported environments will be returned in the state UNSUPPORTED. // A test matrix is limited to use at most 2000 devices in parallel. // + // The returned matrix will not yet contain the executions that will be + // created for this matrix. Execution creation happens later on and will + // require a call to GetTestMatrix. + // // May return any of the following canonical error codes: // // - PERMISSION_DENIED - if the user is not authorized to write to project @@ -72,7 +77,13 @@ service TestExecutionService { }; } - // Checks the status of a test matrix. + // Checks the status of a test matrix and the executions once they + // are created. + // + // The test matrix will contain the list of test executions to run if and only + // if the resultStorage.toolResultsExecution fields have been populated. + // + // Note: Flaky test executions may be added to the matrix at a later stage. // // May return any of the following canonical error codes: // @@ -94,7 +105,8 @@ service TestExecutionService { // - PERMISSION_DENIED - if the user is not authorized to read project // - INVALID_ARGUMENT - if the request is malformed // - NOT_FOUND - if the Test Matrix does not exist - rpc CancelTestMatrix(CancelTestMatrixRequest) returns (CancelTestMatrixResponse) { + rpc CancelTestMatrix(CancelTestMatrixRequest) + returns (CancelTestMatrixResponse) { option (google.api.http) = { post: "/v1/projects/{project_id}/testMatrices/{test_matrix_id}:cancel" }; @@ -227,6 +239,9 @@ message TestSpecification { // An iOS application with a test loop. IosTestLoop ios_test_loop = 15; + + // An iOS Robo test. + IosRoboTest ios_robo_test = 17; } // Disables video recording. May reduce test latency. @@ -239,7 +254,7 @@ message TestSpecification { message SystraceSetup { // Systrace duration in seconds. // Should be between 1 and 30 seconds. 0 disables systrace. - int32 duration_seconds = 1; + int32 duration_seconds = 1 [deprecated = true]; } // A description of how to set up the Android device prior to running the test. @@ -257,7 +272,12 @@ message TestSetup { // storage path prefix for that device. repeated string directories_to_pull = 2; - // APKs to install in addition to those being directly tested. + // Optional. Initial setup APKs to install before the app under test is + // installed. Currently capped at 100. + repeated Apk initial_setup_apks = 29 [(google.api.field_behavior) = OPTIONAL]; + + // APKs to install in addition to those being directly tested. These will be + // installed after the app under test. // Currently capped at 100. repeated Apk additional_apks = 3; @@ -275,10 +295,10 @@ message TestSetup { repeated EnvironmentVariable environment_variables = 6; // Systrace configuration for the run. - // If set a systrace will be taken, starting on test start and lasting for the - // configured duration. The systrace file thus obtained is put in the results - // bucket together with the other artifacts from the run. - SystraceSetup systrace = 9; + // Deprecated: Systrace used Python 2 which was sunsetted on 2020-01-01. + // Systrace is no longer supported in the Cloud Testing API, and no Systrace + // file will be provided in the results. + SystraceSetup systrace = 9 [deprecated = true]; // Whether to prevent all runtime permissions to be granted at app install bool dont_autogrant_permissions = 23; @@ -301,9 +321,9 @@ message IosTestSetup { // List of directories on the device to upload to Cloud Storage at the end of // the test. // - // Directories should either be in a shared directory - // (e.g. /private/var/mobile/Media) or within an accessible directory inside - // the app's filesystem (e.g. /Documents) by specifying the bundle id. + // Directories should either be in a shared directory (such as + // /private/var/mobile/Media) or within an accessible directory inside the + // app's filesystem (such as /Documents) by specifying the bundle ID. repeated IosDeviceFile pull_directories = 4; } @@ -333,9 +353,7 @@ message Account { // Many applications show their full set of functionalities when an account is // present on the device. Logging into the device with these generated accounts // allows testing more functionalities. -message GoogleAuto { - -} +message GoogleAuto {} // An Android package file to install. message Apk { @@ -505,6 +523,21 @@ message IosTestLoop { string app_bundle_id = 3; } +// A test that explores an iOS application on an iOS device. +message IosRoboTest { + // Required. The ipa stored at this file should be used to run the test. + FileReference app_ipa = 1 [(google.api.field_behavior) = REQUIRED]; + + // The bundle ID for the app-under-test. + // This is determined by examining the application's "Info.plist" file. + string app_bundle_id = 4; + + // An optional Roboscript to customize the crawl. See + // https://firebase.google.com/docs/test-lab/android/robo-scripts-reference + // for more information about Roboscripts. + FileReference robo_script = 5; +} + // A test of an Android application that can control an Android component // independently of its normal lifecycle. // Android instrumentation tests run an application APK and test APK inside the @@ -512,7 +545,7 @@ message IosTestLoop { // a test runner class, such as com.google.GoogleTestRunner, which can vary // on the specific instrumentation framework chosen. // -// See for +// See for // more information on types of Android tests. message AndroidInstrumentationTest { // Required. @@ -541,6 +574,7 @@ message AndroidInstrumentationTest { // Each target must be fully qualified with the package name or class name, // in one of these formats: + // // - "package package_name" // - "class package_name.class_name" // - "class package_name.class_name#method_name" @@ -550,9 +584,10 @@ message AndroidInstrumentationTest { // The option of whether running each test within its own invocation of // instrumentation with Android Test Orchestrator or not. - // ** Orchestrator is only compatible with AndroidJUnitRunner version 1.0 or + // ** Orchestrator is only compatible with AndroidJUnitRunner version 1.1 or // higher! ** // Orchestrator offers the following benefits: + // // - No shared state // - Crashes are isolated // - Logs are scoped per test @@ -568,9 +603,26 @@ message AndroidInstrumentationTest { ShardingOption sharding_option = 9; } +// Specifies how to execute the test. +enum OrchestratorOption { + // Default value: the server will choose the mode. Currently implies that + // the test will run without the orchestrator. In the future, + // all instrumentation tests will be run with the orchestrator. + // Using the orchestrator is highly encouraged because of all the benefits it + // offers. + ORCHESTRATOR_OPTION_UNSPECIFIED = 0; + + // Run test using orchestrator. + // ** Only compatible with AndroidJUnitRunner version 1.1 or higher! ** + // Recommended. + USE_ORCHESTRATOR = 1; + + // Run test without using orchestrator. + DO_NOT_USE_ORCHESTRATOR = 2; +} + // A test of an android application that explores the application on a virtual // or physical Android Device, finding culprits and crashes as it goes. -// Next tag: 30 message AndroidRoboTest { // Required. oneof app_under_test { @@ -602,6 +654,10 @@ message AndroidRoboTest { // password for a test account can be provided. repeated RoboDirective robo_directives = 11; + // The mode in which Robo should run. Most clients should allow the server to + // populate this field automatically. + RoboMode robo_mode = 14; + // A JSON file with a sequence of actions Robo should perform as a prologue // for the crawl. FileReference robo_script = 13; @@ -613,6 +669,19 @@ message AndroidRoboTest { repeated RoboStartingIntent starting_intents = 15; } +// The mode in which Robo should run. +enum RoboMode { + // This means that the server should choose the mode. + // Recommended. + ROBO_MODE_UNSPECIFIED = 0; + + // Runs Robo in UIAutomator-only mode without app resigning + ROBO_VERSION_1 = 1; + + // Runs Robo in standard Espresso with UIAutomator fallback + ROBO_VERSION_2 = 2; +} + // Directs Robo to interact with a specific UI element if it is encountered // during the crawl. Currently, Robo can perform text entry or element click. message RoboDirective { @@ -634,6 +703,23 @@ message RoboDirective { RoboActionType action_type = 3; } +// Actions which Robo can perform on UI elements. +enum RoboActionType { + // DO NOT USE. For proto versioning only. + ACTION_TYPE_UNSPECIFIED = 0; + + // Direct Robo to click on the specified element. No-op if specified element + // is not clickable. + SINGLE_CLICK = 1; + + // Direct Robo to enter text on the specified element. No-op if specified + // element is not enabled or does not allow text entry. + ENTER_TEXT = 2; + + // Direct Robo to ignore interactions with a specific element. + IGNORE = 3; +} + // Message for specifying the start activities to crawl. message RoboStartingIntent { // Required. Intent details to start an activity. @@ -643,6 +729,9 @@ message RoboStartingIntent { // An intent that starts an activity with specific details. StartActivityIntent start_activity = 2; + + // Skips the starting activity + NoActivityIntent no_activity = 4; } // Timeout in seconds for each intent. @@ -650,9 +739,7 @@ message RoboStartingIntent { } // Specifies an intent that starts the main launcher activity. -message LauncherActivityIntent { - -} +message LauncherActivityIntent {} // A starting intent specified by an action, uri, and categories. message StartActivityIntent { @@ -667,6 +754,9 @@ message StartActivityIntent { repeated string categories = 4; } +// Skips the starting activity +message NoActivityIntent {} + // The matrix of environments in which the test is to be executed. message EnvironmentMatrix { // Required. The environment matrix. @@ -689,24 +779,6 @@ message AndroidDeviceList { repeated AndroidDevice android_devices = 1; } -// Specifies how to execute the test. -enum OrchestratorOption { - // Default value: the server will choose the mode. Currently implies that - // the test will run without the orchestrator. In the future, - // all instrumentation tests will be run with the orchestrator. - // Using the orchestrator is highly encouraged because of all the benefits it - // offers. - ORCHESTRATOR_OPTION_UNSPECIFIED = 0; - - // Run test using orchestrator. - // ** Only compatible with AndroidJUnitRunner version 1.0 or higher! ** - // Recommended. - USE_ORCHESTRATOR = 1; - - // Run test without using orchestrator. - DO_NOT_USE_ORCHESTRATOR = 2; -} - // A list of iOS device configurations in which the test is to be executed. message IosDeviceList { // Required. A list of iOS devices. @@ -823,23 +895,6 @@ message GoogleCloudStorage { string gcs_path = 1; } -// Actions which Robo can perform on UI elements. -enum RoboActionType { - // DO NOT USE. For proto versioning only. - ACTION_TYPE_UNSPECIFIED = 0; - - // Direct Robo to click on the specified element. No-op if specified element - // is not clickable. - SINGLE_CLICK = 1; - - // Direct Robo to enter text on the specified element. No-op if specified - // element is not enabled or does not allow text entry. - ENTER_TEXT = 2; - - // Direct Robo to ignore interactions with a specific element. - IGNORE = 3; -} - // A reference to a file, used for user inputs. message FileReference { // Required. The file reference. @@ -936,114 +991,15 @@ message InvalidRequestDetail { // This request is not currently implemented. NOT_IMPLEMENTED = 5; + + // The caller has no permission for storing the test results + RESULT_STORAGE_PERMISSION_DENIED = 6; } // The reason behind the error. Reason reason = 1; } -// Options for enabling sharding. -message ShardingOption { - oneof option { - // Uniformly shards test cases given a total number of shards. - UniformSharding uniform_sharding = 1; - - // Shards test cases into the specified groups of packages, classes, and/or - // methods. - ManualSharding manual_sharding = 2; - } -} - -// Uniformly shards test cases given a total number of shards. -// -// For Instrumentation test, it will be translated to "-e numShard" "-e -// shardIndex" AndroidJUnitRunner arguments. With uniform sharding enabled, -// specifying these sharding arguments via environment_variables is invalid. -message UniformSharding { - // Required. Total number of shards. When any physical devices are selected, - // the number must be >= 1 and <= 50. When no physical devices are selected, - // the number must be >= 1 and <= 500. - int32 num_shards = 1; -} - -// Shards test cases into the specified groups of packages, classes, and/or -// methods. -// -// With manual sharding enabled, specifying test targets via -// environment_variables or in InstrumentationTest is invalid. -message ManualSharding { - // Required. Group of packages, classes, and/or test methods to be run for - // each shard. When any physical devices are selected, the number of - // test_targets_for_shard must be >= 1 and <= 50. When no physical devices are - // selected, the number must be >= 1 and <= 500. - repeated TestTargetsForShard test_targets_for_shard = 1; -} - -// Test targets for a shard. -message TestTargetsForShard { - // Group of packages, classes, and/or test methods to be run for each shard. - // The targets need to be specified in AndroidJUnitRunner argument format. For - // example, "package com.my.packages" "class com.my.package.MyClass". - // - // The number of shard_test_targets must be greater than 0. - repeated string test_targets = 1; -} - -// Output only. Details about the shard. -message Shard { - // Output only. The index of the shard among all the shards. - int32 shard_index = 1; - - // Output only. The total number of shards. - int32 num_shards = 2; - - // Output only. Test targets for each shard. - TestTargetsForShard test_targets_for_shard = 3; -} - -// Request to submit a matrix of tests for execution. -message CreateTestMatrixRequest { - // The GCE project under which this job will run. - string project_id = 1; - - // The matrix of tests that the user wants to run. - TestMatrix test_matrix = 2; - - // A string id used to detect duplicated requests. - // Ids are automatically scoped to a project, so - // users should ensure the ID is unique per-project. - // A UUID is recommended. - // - // Optional, but strongly recommended. - string request_id = 3; -} - -// Request to get the Test Matrix with the given id. -message GetTestMatrixRequest { - // Cloud project that owns the test matrix. - string project_id = 1; - - // Unique test matrix id which was assigned by the service. - string test_matrix_id = 2; -} - -// Request to stop running all of the tests in the specified matrix. -message CancelTestMatrixRequest { - // Cloud project that owns the test. - string project_id = 1; - - // Test matrix that will be canceled. - string test_matrix_id = 2; -} - -// Response containing the current state of the specified test matrix. -message CancelTestMatrixResponse { - // The current rolled-up state of the test matrix. - // If this state is already final, then the cancelation request will - // have no effect. - TestState test_state = 1; -} - // The detailed reason that a Matrix was deemed INVALID. enum InvalidMatrixDetails { // Do not use. For proto versioning only. @@ -1080,15 +1036,16 @@ enum InvalidMatrixDetails { // The test runner class specified by user or in the test APK's manifest file // is not compatible with Android Test Orchestrator. - // Orchestrator is only compatible with AndroidJUnitRunner version 1.0 or + // Orchestrator is only compatible with AndroidJUnitRunner version 1.1 or // higher. // Orchestrator can be disabled by using DO_NOT_USE_ORCHESTRATOR // OrchestratorOption. INSTRUMENTATION_ORCHESTRATOR_INCOMPATIBLE = 18; - // The test APK does not contain the test runner class specified by user or in - // the manifest file. - // This can be caused by either of the following reasons: + // The test APK does not contain the test runner class specified by the user + // or in the manifest file. This can be caused by one of the following + // reasons: + // // - the user provided a runner class name that's incorrect, or // - the test runner isn't built into the test APK (might be in the app APK // instead). @@ -1177,6 +1134,20 @@ enum InvalidMatrixDetails { // APK is built for a preview SDK which is unsupported INVALID_APK_PREVIEW_SDK = 29; + + // The matrix expanded to contain too many executions. + MATRIX_TOO_LARGE = 37; + + // Not enough test quota to run the executions in this matrix. + TEST_QUOTA_EXCEEDED = 39; + + // A required cloud service api is not activated. + // See: + // https://firebase.google.com/docs/test-lab/android/continuous#requirements + SERVICE_NOT_ACTIVATED = 40; + + // There was an unknown permission issue running this test. + UNKNOWN_PERMISSION_ERROR = 41; } // The state (i.e., progress) of a test execution or matrix. @@ -1247,12 +1218,14 @@ enum OutcomeSummary { OUTCOME_SUMMARY_UNSPECIFIED = 0; // The test matrix run was successful, for instance: + // // - All the test cases passed. // - Robo did not detect a crash of the application under test. SUCCESS = 1; // A run failed, for instance: - // - One or more test case failed. + // + // - One or more test cases failed. // - A test timed out. // - The application under test crashed. FAILURE = 2; @@ -1263,6 +1236,170 @@ enum OutcomeSummary { INCONCLUSIVE = 3; // All tests were skipped, for instance: + // // - All device configurations were incompatible. SKIPPED = 4; } + +// Options for enabling sharding. +message ShardingOption { + oneof option { + // Uniformly shards test cases given a total number of shards. + UniformSharding uniform_sharding = 1; + + // Shards test cases into the specified groups of packages, classes, and/or + // methods. + ManualSharding manual_sharding = 2; + + // Shards test based on previous test case timing records. + SmartSharding smart_sharding = 3; + } +} + +// Uniformly shards test cases given a total number of shards. +// +// For instrumentation tests, it will be translated to "-e numShard" and "-e +// shardIndex" AndroidJUnitRunner arguments. With uniform sharding enabled, +// specifying either of these sharding arguments via `environment_variables` is +// invalid. +// +// Based on the sharding mechanism AndroidJUnitRunner uses, there is no +// guarantee that test cases will be distributed uniformly across all shards. +message UniformSharding { + // Required. The total number of shards to create. This must always be a + // positive number that is no greater than the total number of test cases. + // When you select one or more physical devices, the number of shards must be + // <= 50. When you select one or more ARM virtual devices, it must be <= 200. + // When you select only x86 virtual devices, it must be <= 500. + int32 num_shards = 1; +} + +// Shards test cases into the specified groups of packages, classes, and/or +// methods. +// +// With manual sharding enabled, specifying test targets via +// environment_variables or in InstrumentationTest is invalid. +message ManualSharding { + // Required. Group of packages, classes, and/or test methods to be run for + // each manually-created shard. You must specify at least one shard if this + // field is present. When you select one or more physical devices, the number + // of repeated test_targets_for_shard must be <= 50. When you select one or + // more ARM virtual devices, it must be <= 200. When you select only x86 + // virtual devices, it must be <= 500. + repeated TestTargetsForShard test_targets_for_shard = 1; +} + +// Test targets for a shard. +message TestTargetsForShard { + // Group of packages, classes, and/or test methods to be run for each shard. + // The targets need to be specified in AndroidJUnitRunner argument format. For + // example, "package com.my.packages" "class com.my.package.MyClass". + // + // The number of test_targets must be greater than 0. + repeated string test_targets = 1; +} + +// Shards test based on previous test case timing records. +message SmartSharding { + // The amount of time tests within a shard should take. + // + // Default: 300 seconds (5 minutes). + // The minimum allowed: 120 seconds (2 minutes). + // + // The shard count is dynamically set based on time, up to the maximum shard + // limit (described below). To guarantee at least one test case for each + // shard, the number of shards will not exceed the number of test cases. Shard + // duration will be exceeded if: + // + // - The maximum shard limit is reached and there is more calculated test time + // remaining to allocate into shards. + // - Any individual test is estimated to be longer than the targeted shard + // duration. + // + // Shard duration is not guaranteed because smart sharding uses test case + // history and default durations which may not be accurate. The rules for + // finding the test case timing records are: + // + // - If the service has processed a test case in the last 30 days, the record + // of the latest successful test case will be used. + // - For new test cases, the average duration of other known test cases will + // be used. + // - If there are no previous test case timing records available, the default + // test case duration is 15 seconds. + // + // Because the actual shard duration can exceed the targeted shard duration, + // we recommend that you set the targeted value at least 5 minutes less than + // the maximum allowed test timeout (45 minutes for physical devices and 60 + // minutes for virtual), or that you use the custom test timeout value that + // you set. This approach avoids cancelling the shard before all tests can + // finish. + // + // Note that there is a limit for maximum number of shards. When you select + // one or more physical devices, the number of shards must be <= 50. When you + // select one or more ARM virtual devices, it must be <= 200. When you select + // only x86 virtual devices, it must be <= 500. To guarantee at least one test + // case for per shard, the number of shards will not exceed the number of test + // cases. Each shard created counts toward daily test quota. + google.protobuf.Duration targeted_shard_duration = 1; +} + +// Output only. Details about the shard. +message Shard { + // Output only. The index of the shard among all the shards. + int32 shard_index = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The total number of shards. + int32 num_shards = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Test targets for each shard. Only set for manual sharding. + TestTargetsForShard test_targets_for_shard = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The estimated shard duration based on previous test case + // timing records, if available. + google.protobuf.Duration estimated_shard_duration = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// Request to submit a matrix of tests for execution. +message CreateTestMatrixRequest { + // The GCE project under which this job will run. + string project_id = 1; + + // The matrix of tests that the user wants to run. + TestMatrix test_matrix = 2; + + // A string id used to detect duplicated requests. + // Ids are automatically scoped to a project, so + // users should ensure the ID is unique per-project. + // A UUID is recommended. + // + // Optional, but strongly recommended. + string request_id = 3; +} + +// Request to get the Test Matrix with the given id. +message GetTestMatrixRequest { + // Cloud project that owns the test matrix. + string project_id = 1; + + // Unique test matrix id which was assigned by the service. + string test_matrix_id = 2; +} + +// Request to stop running all of the tests in the specified matrix. +message CancelTestMatrixRequest { + // Cloud project that owns the test. + string project_id = 1; + + // Test matrix that will be canceled. + string test_matrix_id = 2; +} + +// Response containing the current state of the specified test matrix. +message CancelTestMatrixResponse { + // The current rolled-up state of the test matrix. + // If this state is already final, then the cancelation request will + // have no effect. + TestState test_state = 1; +} diff --git a/third_party/googleapis/google/devtools/testing/v1/testing_v1.yaml b/third_party/googleapis/google/devtools/testing/v1/testing_v1.yaml index 0fc554c75..ce4c8684a 100644 --- a/third_party/googleapis/google/devtools/testing/v1/testing_v1.yaml +++ b/third_party/googleapis/google/devtools/testing/v1/testing_v1.yaml @@ -5,6 +5,7 @@ title: Cloud Testing API apis: - name: google.devtools.testing.v1.ApplicationDetailService +- name: google.devtools.testing.v1.DirectAccessService - name: google.devtools.testing.v1.TestEnvironmentDiscoveryService - name: google.devtools.testing.v1.TestExecutionService @@ -19,6 +20,10 @@ authentication: oauth: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform + - selector: 'google.devtools.testing.v1.DirectAccessService.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform - selector: google.devtools.testing.v1.TestEnvironmentDiscoveryService.GetTestEnvironmentCatalog oauth: canonical_scopes: |- diff --git a/third_party/googleapis/google/example/library/v1/BUILD.bazel b/third_party/googleapis/google/example/library/v1/BUILD.bazel index 5fa9d6476..35ae7b987 100644 --- a/third_party/googleapis/google/example/library/v1/BUILD.bazel +++ b/third_party/googleapis/google/example/library/v1/BUILD.bazel @@ -24,7 +24,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -34,7 +33,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -89,6 +87,7 @@ java_gapic_library( gapic_yaml = "library_example_gapic.yaml", grpc_service_config = "library_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "//google/example/library:library_example_v1.yaml", test_deps = [ ":library_java_grpc", ], @@ -144,19 +143,13 @@ go_gapic_library( ], ) -go_test( - name = "library_go_gapic_test", - srcs = [":library_go_gapic_srcjar_test"], - embed = [":library_go_gapic"], - importpath = "google.golang.org/google/example/library/v1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-example-library-v1-go", deps = [ ":library_go_gapic", ":library_go_gapic_srcjar-metadata.srcjar", + ":library_go_gapic_srcjar-snippets.srcjar", ":library_go_gapic_srcjar-test.srcjar", ":library_go_proto", ], @@ -194,12 +187,6 @@ php_proto_library( deps = [":library_proto"], ) -php_grpc_library( - name = "library_php_grpc", - srcs = [":library_proto"], - deps = [":library_php_proto"], -) - php_gapic_library( name = "library_php_gapic", srcs = [":library_proto_with_info"], @@ -207,10 +194,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "//google/example/library:library_example_v1.yaml", transport = "grpc+rest", - deps = [ - ":library_php_grpc", - ":library_php_proto", - ], + deps = [":library_php_proto"], ) # Open Source Packages @@ -218,7 +202,6 @@ php_gapic_assembly_pkg( name = "google-cloud-example-library-v1-php", deps = [ ":library_php_gapic", - ":library_php_grpc", ":library_php_proto", ], ) @@ -271,6 +254,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "This is a Google example service representing a simple digital library. It manages a collection of shelf resources, and each shelf owns a collection of book resources.", ruby_cloud_title = "Example Library V1", service_yaml = "//google/example/library:library_example_v1.yaml", + transport = "grpc+rest", deps = [ ":library_ruby_grpc", ":library_ruby_proto", diff --git a/third_party/googleapis/google/firestore/README.md b/third_party/googleapis/google/firestore/README.md deleted file mode 100644 index e69de29bb..000000000 diff --git a/third_party/googleapis/google/firestore/admin/BUILD.bazel b/third_party/googleapis/google/firestore/admin/BUILD.bazel index 66cb53aff..853f15d4f 100644 --- a/third_party/googleapis/google/firestore/admin/BUILD.bazel +++ b/third_party/googleapis/google/firestore/admin/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-firestore-admin", "ruby-cloud-env-prefix=FIRESTORE", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.14", "ruby-cloud-product-url=https://cloud.google.com/firestore", "ruby-cloud-api-id=firestore.googleapis.com", "ruby-cloud-api-shortname=firestore", ], ruby_cloud_description = "Cloud Firestore is a NoSQL document database built for automatic scaling, high performance, and ease of application development.", ruby_cloud_title = "Cloud Firestore Admin", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/firestore/admin/v1/BUILD.bazel b/third_party/googleapis/google/firestore/admin/v1/BUILD.bazel index fe7d84dfc..f27d9d40f 100644 --- a/third_party/googleapis/google/firestore/admin/v1/BUILD.bazel +++ b/third_party/googleapis/google/firestore/admin/v1/BUILD.bazel @@ -34,6 +34,7 @@ proto_library( "//google/api:field_behavior_proto", "//google/api:resource_proto", "//google/longrunning:operations_proto", + "@com_google_protobuf//:duration_proto", "@com_google_protobuf//:empty_proto", "@com_google_protobuf//:field_mask_proto", "@com_google_protobuf//:timestamp_proto", @@ -121,13 +122,12 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( name = "admin_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/firestore/admin/v1", + importpath = "cloud.google.com/go/firestore/apiv1/admin/adminpb", protos = [":admin_proto"], deps = [ "//google/api:annotations_go_proto", @@ -139,8 +139,9 @@ go_gapic_library( name = "admin_go_gapic", srcs = [":admin_proto_with_info"], grpc_service_config = "firestore_admin_grpc_service_config.json", - importpath = "cloud.google.com/go/firestore/admin/apiv1;admin", + importpath = "cloud.google.com/go/firestore/apiv1/admin;apiv1", metadata = True, + release_level = "ga", rest_numeric_enums = True, service_yaml = "firestore_v1.yaml", transport = "grpc+rest", @@ -153,19 +154,13 @@ go_gapic_library( ], ) -go_test( - name = "admin_go_gapic_test", - srcs = [":admin_go_gapic_srcjar_test"], - embed = [":admin_go_gapic"], - importpath = "cloud.google.com/go/firestore/admin/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-firestore-admin-v1-go", deps = [ ":admin_go_gapic", ":admin_go_gapic_srcjar-metadata.srcjar", + ":admin_go_gapic_srcjar-snippets.srcjar", ":admin_go_gapic_srcjar-test.srcjar", ":admin_go_proto", ], @@ -221,7 +216,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -230,23 +224,15 @@ php_proto_library( deps = [":admin_proto"], ) -php_grpc_library( - name = "admin_php_grpc", - srcs = [":admin_proto"], - deps = [":admin_php_proto"], -) - php_gapic_library( name = "admin_php_gapic", srcs = [":admin_proto_with_info"], grpc_service_config = "firestore_admin_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "firestore_v1.yaml", transport = "grpc+rest", - deps = [ - ":admin_php_grpc", - ":admin_php_proto", - ], + deps = [":admin_php_proto"], ) # Open Source Packages @@ -254,7 +240,6 @@ php_gapic_assembly_pkg( name = "google-cloud-firestore-admin-v1-php", deps = [ ":admin_php_gapic", - ":admin_php_grpc", ":admin_php_proto", ], ) @@ -326,6 +311,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Cloud Firestore is a NoSQL document database built for automatic scaling, high performance, and ease of application development.", ruby_cloud_title = "Cloud Firestore Admin V1", service_yaml = "firestore_v1.yaml", + transport = "grpc+rest", deps = [ ":admin_ruby_grpc", ":admin_ruby_proto", diff --git a/third_party/googleapis/google/firestore/admin/v1/database.proto b/third_party/googleapis/google/firestore/admin/v1/database.proto index 3f242c3e1..fbf4bd754 100644 --- a/third_party/googleapis/google/firestore/admin/v1/database.proto +++ b/third_party/googleapis/google/firestore/admin/v1/database.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,9 +18,11 @@ package google.firestore.admin.v1; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/protobuf/duration.proto"; +import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Firestore.Admin.V1"; -option go_package = "google.golang.org/genproto/googleapis/firestore/admin/v1;admin"; +option go_package = "cloud.google.com/go/firestore/apiv1/admin/adminpb;adminpb"; option java_multiple_files = true; option java_outer_classname = "DatabaseProto"; option java_package = "com.google.firestore.admin.v1"; @@ -29,8 +31,6 @@ option php_namespace = "Google\\Cloud\\Firestore\\Admin\\V1"; option ruby_package = "Google::Cloud::Firestore::Admin::V1"; // A Cloud Firestore Database. -// Currently only one database is allowed per cloud project; this database -// must have a `database_id` of '(default)'. message Database { option (google.api.resource) = { type: "firestore.googleapis.com/Database" @@ -78,6 +78,26 @@ message Database { OPTIMISTIC_WITH_ENTITY_GROUPS = 3; } + // Point In Time Recovery feature enablement. + enum PointInTimeRecoveryEnablement { + // Not used. + POINT_IN_TIME_RECOVERY_ENABLEMENT_UNSPECIFIED = 0; + + // Reads are supported on selected versions of the data from within the past + // 7 days: + // + // * Reads against any timestamp within the past hour + // * Reads against 1-minute snapshots beyond 1 hour and within 7 days + // + // `version_retention_period` and `earliest_version_time` can be + // used to determine the supported versions. + POINT_IN_TIME_RECOVERY_ENABLED = 1; + + // Reads are supported on any version of the data from within the past 1 + // hour. + POINT_IN_TIME_RECOVERY_DISABLED = 2; + } + // The type of App Engine integration mode. enum AppEngineIntegrationMode { // Not used. @@ -89,16 +109,44 @@ message Database { // the database. ENABLED = 1; - // Appengine has no affect on the ability of this database to serve + // App Engine has no effect on the ability of this database to serve // requests. + // + // This is the default setting for databases created with the Firestore API. DISABLED = 2; } + // The delete protection state of the database. + enum DeleteProtectionState { + // The default value. Delete protection type is not specified + DELETE_PROTECTION_STATE_UNSPECIFIED = 0; + + // Delete protection is disabled + DELETE_PROTECTION_DISABLED = 1; + + // Delete protection is enabled + DELETE_PROTECTION_ENABLED = 2; + } + // The resource name of the Database. // Format: `projects/{project}/databases/{database}` string name = 1; - // The location of the database. Available databases are listed at + // Output only. The system-generated UUID4 for this Database. + string uid = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The timestamp at which this database was created. Databases + // created before 2016 do not populate create_time. + google.protobuf.Timestamp create_time = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The timestamp at which this database was most recently + // updated. Note this only includes updates to the database resource and not + // data contained by the database. + google.protobuf.Timestamp update_time = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // The location of the database. Available locations are listed at // https://cloud.google.com/firestore/docs/locations. string location_id = 9; @@ -110,18 +158,48 @@ message Database { // The concurrency control mode to use for this database. ConcurrencyMode concurrency_mode = 15; + // Output only. The period during which past versions of data are retained in + // the database. + // + // Any [read][google.firestore.v1.GetDocumentRequest.read_time] + // or [query][google.firestore.v1.ListDocumentsRequest.read_time] can specify + // a `read_time` within this window, and will read the state of the database + // at that time. + // + // If the PITR feature is enabled, the retention period is 7 days. Otherwise, + // the retention period is 1 hour. + google.protobuf.Duration version_retention_period = 17 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The earliest timestamp at which older versions of the data can + // be read from the database. See [version_retention_period] above; this field + // is populated with `now - version_retention_period`. + // + // This value is continuously updated, and becomes stale the moment it is + // queried. If you are using this value to recover data, make sure to account + // for the time from the moment when the value is queried to the moment when + // you initiate the recovery. + google.protobuf.Timestamp earliest_version_time = 18 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Whether to enable the PITR feature on this database. + PointInTimeRecoveryEnablement point_in_time_recovery_enablement = 21; + // The App Engine integration mode to use for this database. AppEngineIntegrationMode app_engine_integration_mode = 19; - // Output only. The key_prefix for this database. This key_prefix is used, in combination - // with the project id ("~") to construct the - // application id that is returned from the Cloud Datastore APIs in Google App - // Engine first generation runtimes. + // Output only. The key_prefix for this database. This key_prefix is used, in + // combination with the project id ("~") to construct + // the application id that is returned from the Cloud Datastore APIs in Google + // App Engine first generation runtimes. // // This value may be empty in which case the appid to use for URL-encoded keys // is the project_id (eg: foo instead of v~foo). string key_prefix = 20 [(google.api.field_behavior) = OUTPUT_ONLY]; + // State of delete protection for the database. + DeleteProtectionState delete_protection_state = 22; + // This checksum is computed by the server based on the value of other // fields, and may be sent on update and delete requests to ensure the // client has an up-to-date value before proceeding. diff --git a/third_party/googleapis/google/firestore/admin/v1/field.proto b/third_party/googleapis/google/firestore/admin/v1/field.proto index 0bbb11d8a..5cd1cd481 100644 --- a/third_party/googleapis/google/firestore/admin/v1/field.proto +++ b/third_party/googleapis/google/firestore/admin/v1/field.proto @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/firestore/admin/v1/index.proto"; option csharp_namespace = "Google.Cloud.Firestore.Admin.V1"; -option go_package = "google.golang.org/genproto/googleapis/firestore/admin/v1;admin"; +option go_package = "cloud.google.com/go/firestore/apiv1/admin/adminpb;adminpb"; option java_multiple_files = true; option java_outer_classname = "FieldProto"; option java_package = "com.google.firestore.admin.v1"; diff --git a/third_party/googleapis/google/firestore/admin/v1/firestore_admin.proto b/third_party/googleapis/google/firestore/admin/v1/firestore_admin.proto index c493673ae..07cc764b5 100644 --- a/third_party/googleapis/google/firestore/admin/v1/firestore_admin.proto +++ b/third_party/googleapis/google/firestore/admin/v1/firestore_admin.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -23,12 +23,14 @@ import "google/api/resource.proto"; import "google/firestore/admin/v1/database.proto"; import "google/firestore/admin/v1/field.proto"; import "google/firestore/admin/v1/index.proto"; +import "google/firestore/admin/v1/operation.proto"; import "google/longrunning/operations.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; +import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Firestore.Admin.V1"; -option go_package = "google.golang.org/genproto/googleapis/firestore/admin/v1;admin"; +option go_package = "cloud.google.com/go/firestore/apiv1/admin/adminpb;adminpb"; option java_multiple_files = true; option java_outer_classname = "FirestoreAdminProto"; option java_package = "com.google.firestore.admin.v1"; @@ -78,9 +80,11 @@ service FirestoreAdmin { "https://www.googleapis.com/auth/cloud-platform," "https://www.googleapis.com/auth/datastore"; - // Creates a composite index. This returns a [google.longrunning.Operation][google.longrunning.Operation] - // which may be used to track the status of the creation. The metadata for - // the operation will be the type [IndexOperationMetadata][google.firestore.admin.v1.IndexOperationMetadata]. + // Creates a composite index. This returns a + // [google.longrunning.Operation][google.longrunning.Operation] which may be + // used to track the status of the creation. The metadata for the operation + // will be the type + // [IndexOperationMetadata][google.firestore.admin.v1.IndexOperationMetadata]. rpc CreateIndex(CreateIndexRequest) returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/databases/*/collectionGroups/*}/indexes" @@ -127,13 +131,16 @@ service FirestoreAdmin { // Updates a field configuration. Currently, field updates apply only to // single field index configuration. However, calls to - // [FirestoreAdmin.UpdateField][google.firestore.admin.v1.FirestoreAdmin.UpdateField] should provide a field mask to avoid - // changing any configuration that the caller isn't aware of. The field mask - // should be specified as: `{ paths: "index_config" }`. + // [FirestoreAdmin.UpdateField][google.firestore.admin.v1.FirestoreAdmin.UpdateField] + // should provide a field mask to avoid changing any configuration that the + // caller isn't aware of. The field mask should be specified as: `{ paths: + // "index_config" }`. // - // This call returns a [google.longrunning.Operation][google.longrunning.Operation] which may be used to - // track the status of the field update. The metadata for - // the operation will be the type [FieldOperationMetadata][google.firestore.admin.v1.FieldOperationMetadata]. + // This call returns a + // [google.longrunning.Operation][google.longrunning.Operation] which may be + // used to track the status of the field update. The metadata for the + // operation will be the type + // [FieldOperationMetadata][google.firestore.admin.v1.FieldOperationMetadata]. // // To configure the default field settings for the database, use // the special `Field` with resource name: @@ -152,10 +159,13 @@ service FirestoreAdmin { // Lists the field configuration and metadata for this database. // - // Currently, [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields - // that have been explicitly overridden. To issue this query, call - // [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] with the filter set to - // `indexConfig.usesAncestorConfig:false` . + // Currently, + // [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] + // only supports listing fields that have been explicitly overridden. To issue + // this query, call + // [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] + // with the filter set to `indexConfig.usesAncestorConfig:false` or + // `ttlConfig:*`. rpc ListFields(ListFieldsRequest) returns (ListFieldsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/databases/*/collectionGroups/*}/fields" @@ -174,7 +184,8 @@ service FirestoreAdmin { // // For more details on export behavior and output format, refer to: // https://cloud.google.com/firestore/docs/manage-data/export-import - rpc ExportDocuments(ExportDocumentsRequest) returns (google.longrunning.Operation) { + rpc ExportDocuments(ExportDocumentsRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{name=projects/*/databases/*}:exportDocuments" body: "*" @@ -191,7 +202,8 @@ service FirestoreAdmin { // progress can be monitored and managed via the Operation resource that is // created. If an ImportDocuments operation is cancelled, it is possible // that a subset of the data has already been imported to Cloud Firestore. - rpc ImportDocuments(ImportDocumentsRequest) returns (google.longrunning.Operation) { + rpc ImportDocuments(ImportDocumentsRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{name=projects/*/databases/*}:importDocuments" body: "*" @@ -203,6 +215,20 @@ service FirestoreAdmin { }; } + // Create a database. + rpc CreateDatabase(CreateDatabaseRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{parent=projects/*}/databases" + body: "database" + }; + option (google.api.method_signature) = "parent,database,database_id"; + option (google.longrunning.operation_info) = { + response_type: "Database" + metadata_type: "CreateDatabaseMetadata" + }; + } + // Gets information about a database. rpc GetDatabase(GetDatabaseRequest) returns (Database) { option (google.api.http) = { @@ -220,7 +246,8 @@ service FirestoreAdmin { } // Updates a database. - rpc UpdateDatabase(UpdateDatabaseRequest) returns (google.longrunning.Operation) { + rpc UpdateDatabase(UpdateDatabaseRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { patch: "/v1/{database.name=projects/*/databases/*}" body: "database" @@ -231,6 +258,19 @@ service FirestoreAdmin { metadata_type: "UpdateDatabaseMetadata" }; } + + // Deletes a database. + rpc DeleteDatabase(DeleteDatabaseRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + delete: "/v1/{name=projects/*/databases/*}" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "Database" + metadata_type: "DeleteDatabaseMetadata" + }; + } } // A request to list the Firestore Databases in all locations for a project. @@ -245,13 +285,54 @@ message ListDatabasesRequest { ]; } +// The request for +// [FirestoreAdmin.CreateDatabase][google.firestore.admin.v1.FirestoreAdmin.CreateDatabase]. +message CreateDatabaseRequest { + // Required. A parent name of the form + // `projects/{project_id}` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "firestore.googleapis.com/Database" + } + ]; + + // Required. The Database to create. + Database database = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The ID to use for the database, which will become the final + // component of the database's resource name. + // + // This value should be 4-63 characters. Valid characters are /[a-z][0-9]-/ + // with first character a letter and the last a letter or a number. Must not + // be UUID-like /[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}/. + // + // "(default)" database id is also valid. + string database_id = 3 [(google.api.field_behavior) = REQUIRED]; +} + +// Metadata related to the create database operation. +message CreateDatabaseMetadata {} + // The list of databases for a project. message ListDatabasesResponse { // The databases in the project. repeated Database databases = 1; + + // In the event that data about individual databases cannot be listed they + // will be recorded here. + // + // An example entry might be: projects/some_project/locations/some_location + // This can happen if the Cloud Region that the Database resides in is + // currently unavailable. In this case we can't fetch all the details about + // the database. You may be able to get a more detailed error message + // (or possibly fetch the resource) by sending a 'Get' request for the + // resource or a 'List' request for the specific location. + repeated string unreachable = 3; } -// The request for [FirestoreAdmin.GetDatabase][google.firestore.admin.v1.FirestoreAdmin.GetDatabase]. +// The request for +// [FirestoreAdmin.GetDatabase][google.firestore.admin.v1.FirestoreAdmin.GetDatabase]. message GetDatabaseRequest { // Required. A name of the form // `projects/{project_id}/databases/{database_id}` @@ -263,7 +344,8 @@ message GetDatabaseRequest { ]; } -// The request for [FirestoreAdmin.UpdateDatabase][google.firestore.admin.v1.FirestoreAdmin.UpdateDatabase]. +// The request for +// [FirestoreAdmin.UpdateDatabase][google.firestore.admin.v1.FirestoreAdmin.UpdateDatabase]. message UpdateDatabaseRequest { // Required. The database to update. Database database = 1 [(google.api.field_behavior) = REQUIRED]; @@ -273,11 +355,31 @@ message UpdateDatabaseRequest { } // Metadata related to the update database operation. -message UpdateDatabaseMetadata { +message UpdateDatabaseMetadata {} + +// The request for +// [FirestoreAdmin.DeleteDatabase][google.firestore.admin.v1.FirestoreAdmin.DeleteDatabase]. +message DeleteDatabaseRequest { + // Required. A name of the form + // `projects/{project_id}/databases/{database_id}` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "firestore.googleapis.com/Database" + } + ]; + // The current etag of the Database. + // If an etag is provided and does not match the current etag of the database, + // deletion will be blocked and a FAILED_PRECONDITION error will be returned. + string etag = 3; } -// The request for [FirestoreAdmin.CreateIndex][google.firestore.admin.v1.FirestoreAdmin.CreateIndex]. +// Metadata related to the delete database operation. +message DeleteDatabaseMetadata {} + +// The request for +// [FirestoreAdmin.CreateIndex][google.firestore.admin.v1.FirestoreAdmin.CreateIndex]. message CreateIndexRequest { // Required. A parent name of the form // `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}` @@ -292,7 +394,8 @@ message CreateIndexRequest { Index index = 2 [(google.api.field_behavior) = REQUIRED]; } -// The request for [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes]. +// The request for +// [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes]. message ListIndexesRequest { // Required. A parent name of the form // `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}` @@ -310,12 +413,13 @@ message ListIndexesRequest { int32 page_size = 3; // A page token, returned from a previous call to - // [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes], that may be used to get the next - // page of results. + // [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes], + // that may be used to get the next page of results. string page_token = 4; } -// The response for [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes]. +// The response for +// [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes]. message ListIndexesResponse { // The requested indexes. repeated Index indexes = 1; @@ -325,31 +429,30 @@ message ListIndexesResponse { string next_page_token = 2; } -// The request for [FirestoreAdmin.GetIndex][google.firestore.admin.v1.FirestoreAdmin.GetIndex]. +// The request for +// [FirestoreAdmin.GetIndex][google.firestore.admin.v1.FirestoreAdmin.GetIndex]. message GetIndexRequest { // Required. A name of the form // `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}` string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "firestore.googleapis.com/Index" - } + (google.api.resource_reference) = { type: "firestore.googleapis.com/Index" } ]; } -// The request for [FirestoreAdmin.DeleteIndex][google.firestore.admin.v1.FirestoreAdmin.DeleteIndex]. +// The request for +// [FirestoreAdmin.DeleteIndex][google.firestore.admin.v1.FirestoreAdmin.DeleteIndex]. message DeleteIndexRequest { // Required. A name of the form // `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}` string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "firestore.googleapis.com/Index" - } + (google.api.resource_reference) = { type: "firestore.googleapis.com/Index" } ]; } -// The request for [FirestoreAdmin.UpdateField][google.firestore.admin.v1.FirestoreAdmin.UpdateField]. +// The request for +// [FirestoreAdmin.UpdateField][google.firestore.admin.v1.FirestoreAdmin.UpdateField]. message UpdateFieldRequest { // Required. The field to be updated. Field field = 1 [(google.api.field_behavior) = REQUIRED]; @@ -359,19 +462,19 @@ message UpdateFieldRequest { google.protobuf.FieldMask update_mask = 2; } -// The request for [FirestoreAdmin.GetField][google.firestore.admin.v1.FirestoreAdmin.GetField]. +// The request for +// [FirestoreAdmin.GetField][google.firestore.admin.v1.FirestoreAdmin.GetField]. message GetFieldRequest { // Required. A name of the form // `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_id}` string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "firestore.googleapis.com/Field" - } + (google.api.resource_reference) = { type: "firestore.googleapis.com/Field" } ]; } -// The request for [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields]. +// The request for +// [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields]. message ListFieldsRequest { // Required. A parent name of the form // `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}` @@ -383,22 +486,24 @@ message ListFieldsRequest { ]; // The filter to apply to list results. Currently, - // [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields - // that have been explicitly overridden. To issue this query, call - // [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] with a filter that includes - // `indexConfig.usesAncestorConfig:false` . + // [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] + // only supports listing fields that have been explicitly overridden. To issue + // this query, call + // [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] + // with a filter that includes `indexConfig.usesAncestorConfig:false` . string filter = 2; // The number of results to return. int32 page_size = 3; // A page token, returned from a previous call to - // [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next - // page of results. + // [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], + // that may be used to get the next page of results. string page_token = 4; } -// The response for [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields]. +// The response for +// [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields]. message ListFieldsResponse { // The requested fields. repeated Field fields = 1; @@ -408,7 +513,8 @@ message ListFieldsResponse { string next_page_token = 2; } -// The request for [FirestoreAdmin.ExportDocuments][google.firestore.admin.v1.FirestoreAdmin.ExportDocuments]. +// The request for +// [FirestoreAdmin.ExportDocuments][google.firestore.admin.v1.FirestoreAdmin.ExportDocuments]. message ExportDocumentsRequest { // Required. Database to export. Should be of the form: // `projects/{project_id}/databases/{database_id}`. @@ -431,9 +537,27 @@ message ExportDocumentsRequest { // If the URI is a bucket (without a namespace path), a prefix will be // generated based on the start time. string output_uri_prefix = 3; + + // An empty list represents all namespaces. This is the preferred + // usage for databases that don't use namespaces. + // + // An empty string element represents the default namespace. This should be + // used if the database has data in non-default namespaces, but doesn't want + // to include them. Each namespace in this list must be unique. + repeated string namespace_ids = 4; + + // The timestamp that corresponds to the version of the database to be + // exported. The timestamp must be in the past, rounded to the minute and not + // older than + // [earliestVersionTime][google.firestore.admin.v1.Database.earliest_version_time]. + // If specified, then the exported documents will represent a consistent view + // of the database at the provided time. Otherwise, there are no guarantees + // about the consistency of the exported documents. + google.protobuf.Timestamp snapshot_time = 5; } -// The request for [FirestoreAdmin.ImportDocuments][google.firestore.admin.v1.FirestoreAdmin.ImportDocuments]. +// The request for +// [FirestoreAdmin.ImportDocuments][google.firestore.admin.v1.FirestoreAdmin.ImportDocuments]. message ImportDocumentsRequest { // Required. Database to import into. Should be of the form: // `projects/{project_id}/databases/{database_id}`. @@ -454,4 +578,12 @@ message ImportDocumentsRequest { // See: // [google.firestore.admin.v1.ExportDocumentsResponse.output_uri_prefix][google.firestore.admin.v1.ExportDocumentsResponse.output_uri_prefix]. string input_uri_prefix = 3; + + // An empty list represents all namespaces. This is the preferred + // usage for databases that don't use namespaces. + // + // An empty string element represents the default namespace. This should be + // used if the database has data in non-default namespaces, but doesn't want + // to include them. Each namespace in this list must be unique. + repeated string namespace_ids = 4; } diff --git a/third_party/googleapis/google/firestore/admin/v1/firestore_v1.yaml b/third_party/googleapis/google/firestore/admin/v1/firestore_v1.yaml index 3b45b2f62..f743bbdca 100644 --- a/third_party/googleapis/google/firestore/admin/v1/firestore_v1.yaml +++ b/third_party/googleapis/google/firestore/admin/v1/firestore_v1.yaml @@ -9,6 +9,8 @@ apis: - name: google.longrunning.Operations types: +- name: google.firestore.admin.v1.CreateDatabaseMetadata +- name: google.firestore.admin.v1.DeleteDatabaseMetadata - name: google.firestore.admin.v1.ExportDocumentsMetadata - name: google.firestore.admin.v1.ExportDocumentsResponse - name: google.firestore.admin.v1.FieldOperationMetadata diff --git a/third_party/googleapis/google/firestore/admin/v1/index.proto b/third_party/googleapis/google/firestore/admin/v1/index.proto index 066d4109f..2567da650 100644 --- a/third_party/googleapis/google/firestore/admin/v1/index.proto +++ b/third_party/googleapis/google/firestore/admin/v1/index.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -19,7 +19,7 @@ package google.firestore.admin.v1; import "google/api/resource.proto"; option csharp_namespace = "Google.Cloud.Firestore.Admin.V1"; -option go_package = "google.golang.org/genproto/googleapis/firestore/admin/v1;admin"; +option go_package = "cloud.google.com/go/firestore/apiv1/admin/adminpb;adminpb"; option java_multiple_files = true; option java_outer_classname = "IndexProto"; option java_package = "com.google.firestore.admin.v1"; @@ -50,6 +50,21 @@ message Index { // against all collections that has the collection id specified by the // index. COLLECTION_GROUP = 2; + + // Include all the collections's ancestor in the index. Only available for + // Datastore Mode databases. + COLLECTION_RECURSIVE = 3; + } + + // API Scope defines the APIs (Firestore Native, or Firestore in + // Datastore Mode) that are supported for queries. + enum ApiScope { + // The index can only be used by the Firestore Native query API. + // This is the default. + ANY_API = 0; + + // The index can only be used by the Firestore in Datastore Mode query API. + DATASTORE_MODE_API = 1; } // A field in an index. @@ -138,14 +153,17 @@ message Index { // time, and that have the same collection id as this index. QueryScope query_scope = 2; + // The API scope supported by this index. + ApiScope api_scope = 5; + // The fields supported by this index. // - // For composite indexes, this is always 2 or more fields. - // The last field entry is always for the field path `__name__`. If, on - // creation, `__name__` was not specified as the last field, it will be added - // automatically with the same direction as that of the last field defined. If - // the final field in a composite index is not directional, the `__name__` - // will be ordered ASCENDING (unless explicitly specified). + // For composite indexes, this requires a minimum of 2 and a maximum of 100 + // fields. The last field entry is always for the field path `__name__`. If, + // on creation, `__name__` was not specified as the last field, it will be + // added automatically with the same direction as that of the last field + // defined. If the final field in a composite index is not directional, the + // `__name__` will be ordered ASCENDING (unless explicitly specified). // // For single field indexes, this will always be exactly one entry with a // field path equal to the field path of the associated field. diff --git a/third_party/googleapis/google/firestore/admin/v1/location.proto b/third_party/googleapis/google/firestore/admin/v1/location.proto index 8f7519c4d..71f4247ae 100644 --- a/third_party/googleapis/google/firestore/admin/v1/location.proto +++ b/third_party/googleapis/google/firestore/admin/v1/location.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,7 +17,7 @@ syntax = "proto3"; package google.firestore.admin.v1; option csharp_namespace = "Google.Cloud.Firestore.Admin.V1"; -option go_package = "google.golang.org/genproto/googleapis/firestore/admin/v1;admin"; +option go_package = "cloud.google.com/go/firestore/apiv1/admin/adminpb;adminpb"; option java_multiple_files = true; option java_outer_classname = "LocationProto"; option java_package = "com.google.firestore.admin.v1"; @@ -25,7 +25,6 @@ option objc_class_prefix = "GCFS"; option php_namespace = "Google\\Cloud\\Firestore\\Admin\\V1"; option ruby_package = "Google::Cloud::Firestore::Admin::V1"; -// The metadata message for [google.cloud.location.Location.metadata][google.cloud.location.Location.metadata]. -message LocationMetadata { - -} +// The metadata message for +// [google.cloud.location.Location.metadata][google.cloud.location.Location.metadata]. +message LocationMetadata {} diff --git a/third_party/googleapis/google/firestore/admin/v1/operation.proto b/third_party/googleapis/google/firestore/admin/v1/operation.proto index 654a6ad6c..31f63af37 100644 --- a/third_party/googleapis/google/firestore/admin/v1/operation.proto +++ b/third_party/googleapis/google/firestore/admin/v1/operation.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,11 +16,12 @@ syntax = "proto3"; package google.firestore.admin.v1; +import "google/api/resource.proto"; import "google/firestore/admin/v1/index.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Firestore.Admin.V1"; -option go_package = "google.golang.org/genproto/googleapis/firestore/admin/v1;admin"; +option go_package = "cloud.google.com/go/firestore/apiv1/admin/adminpb;adminpb"; option java_multiple_files = true; option java_outer_classname = "OperationProto"; option java_package = "com.google.firestore.admin.v1"; @@ -28,7 +29,8 @@ option objc_class_prefix = "GCFS"; option php_namespace = "Google\\Cloud\\Firestore\\Admin\\V1"; option ruby_package = "Google::Cloud::Firestore::Admin::V1"; -// Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from +// Metadata for [google.longrunning.Operation][google.longrunning.Operation] +// results from // [FirestoreAdmin.CreateIndex][google.firestore.admin.v1.FirestoreAdmin.CreateIndex]. message IndexOperationMetadata { // The time this operation started. @@ -52,7 +54,8 @@ message IndexOperationMetadata { Progress progress_bytes = 6; } -// Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from +// Metadata for [google.longrunning.Operation][google.longrunning.Operation] +// results from // [FirestoreAdmin.UpdateField][google.firestore.admin.v1.FirestoreAdmin.UpdateField]. message FieldOperationMetadata { // Information about an index configuration change. @@ -76,7 +79,7 @@ message FieldOperationMetadata { Index index = 2; } - // Information about an TTL configuration change. + // Information about a TTL configuration change. message TtlConfigDelta { // Specifies how the TTL config is changing. enum ChangeType { @@ -105,8 +108,9 @@ message FieldOperationMetadata { // `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}` string field = 3; - // A list of [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], which describe the intent of this - // operation. + // A list of + // [IndexConfigDelta][google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], + // which describe the intent of this operation. repeated IndexConfigDelta index_config_deltas = 4; // The state of the operation. @@ -122,7 +126,8 @@ message FieldOperationMetadata { TtlConfigDelta ttl_config_delta = 8; } -// Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from +// Metadata for [google.longrunning.Operation][google.longrunning.Operation] +// results from // [FirestoreAdmin.ExportDocuments][google.firestore.admin.v1.FirestoreAdmin.ExportDocuments]. message ExportDocumentsMetadata { // The time this operation started. @@ -144,11 +149,20 @@ message ExportDocumentsMetadata { // Which collection ids are being exported. repeated string collection_ids = 6; - // Where the entities are being exported to. + // Where the documents are being exported to. string output_uri_prefix = 7; + + // Which namespace ids are being exported. + repeated string namespace_ids = 8; + + // The timestamp that corresponds to the version of the database that is being + // exported. If unspecified, there are no guarantees about the consistency of + // the documents being exported. + google.protobuf.Timestamp snapshot_time = 9; } -// Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from +// Metadata for [google.longrunning.Operation][google.longrunning.Operation] +// results from // [FirestoreAdmin.ImportDocuments][google.firestore.admin.v1.FirestoreAdmin.ImportDocuments]. message ImportDocumentsMetadata { // The time this operation started. @@ -172,9 +186,13 @@ message ImportDocumentsMetadata { // The location of the documents being imported. string input_uri_prefix = 7; + + // Which namespace ids are being imported. + repeated string namespace_ids = 8; } -// Returned in the [google.longrunning.Operation][google.longrunning.Operation] response field. +// Returned in the [google.longrunning.Operation][google.longrunning.Operation] +// response field. message ExportDocumentsResponse { // Location of the output files. This can be used to begin an import // into Cloud Firestore (this project or another project) after the operation @@ -212,8 +230,8 @@ enum OperationState { } // Describes the progress of the operation. -// Unit of work is generic and must be interpreted based on where [Progress][google.firestore.admin.v1.Progress] -// is used. +// Unit of work is generic and must be interpreted based on where +// [Progress][google.firestore.admin.v1.Progress] is used. message Progress { // The amount of work estimated. int64 estimated_work = 1; diff --git a/third_party/googleapis/google/firestore/admin/v1beta1/firestore_admin.proto b/third_party/googleapis/google/firestore/admin/v1beta1/firestore_admin.proto index 5d7908b93..e9e1b5691 100644 --- a/third_party/googleapis/google/firestore/admin/v1beta1/firestore_admin.proto +++ b/third_party/googleapis/google/firestore/admin/v1beta1/firestore_admin.proto @@ -25,7 +25,7 @@ import "google/protobuf/timestamp.proto"; import "google/api/client.proto"; option csharp_namespace = "Google.Cloud.Firestore.Admin.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/firestore/admin/v1beta1;admin"; +option go_package = "cloud.google.com/go/firestore/admin/apiv1beta1/adminpb;adminpb"; option java_multiple_files = true; option java_outer_classname = "FirestoreAdminProto"; option java_package = "com.google.firestore.admin.v1beta1"; diff --git a/third_party/googleapis/google/firestore/admin/v1beta1/index.proto b/third_party/googleapis/google/firestore/admin/v1beta1/index.proto index 0ca95985b..cdc106b7e 100644 --- a/third_party/googleapis/google/firestore/admin/v1beta1/index.proto +++ b/third_party/googleapis/google/firestore/admin/v1beta1/index.proto @@ -20,7 +20,7 @@ package google.firestore.admin.v1beta1; import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.Firestore.Admin.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/firestore/admin/v1beta1;admin"; +option go_package = "cloud.google.com/go/firestore/admin/apiv1beta1/adminpb;adminpb"; option java_multiple_files = true; option java_outer_classname = "IndexProto"; option java_package = "com.google.firestore.admin.v1beta1"; diff --git a/third_party/googleapis/google/firestore/admin/v1beta1/location.proto b/third_party/googleapis/google/firestore/admin/v1beta1/location.proto index 2201b07dd..5a3a23e2a 100644 --- a/third_party/googleapis/google/firestore/admin/v1beta1/location.proto +++ b/third_party/googleapis/google/firestore/admin/v1beta1/location.proto @@ -21,7 +21,7 @@ import "google/type/latlng.proto"; import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.Firestore.Admin.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/firestore/admin/v1beta1;admin"; +option go_package = "cloud.google.com/go/firestore/admin/apiv1beta1/adminpb;adminpb"; option java_multiple_files = true; option java_outer_classname = "LocationProto"; option java_package = "com.google.firestore.admin.v1beta1"; diff --git a/third_party/googleapis/google/firestore/admin/v1beta2/field.proto b/third_party/googleapis/google/firestore/admin/v1beta2/field.proto index cec355190..ff7143ee2 100644 --- a/third_party/googleapis/google/firestore/admin/v1beta2/field.proto +++ b/third_party/googleapis/google/firestore/admin/v1beta2/field.proto @@ -21,7 +21,7 @@ import "google/firestore/admin/v1beta2/index.proto"; import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.Firestore.Admin.V1Beta2"; -option go_package = "google.golang.org/genproto/googleapis/firestore/admin/v1beta2;admin"; +option go_package = "cloud.google.com/go/firestore/admin/apiv1beta2/adminpb;adminpb"; option java_multiple_files = true; option java_outer_classname = "FieldProto"; option java_package = "com.google.firestore.admin.v1beta2"; diff --git a/third_party/googleapis/google/firestore/admin/v1beta2/firestore_admin.proto b/third_party/googleapis/google/firestore/admin/v1beta2/firestore_admin.proto index 56ca764bd..478722d66 100644 --- a/third_party/googleapis/google/firestore/admin/v1beta2/firestore_admin.proto +++ b/third_party/googleapis/google/firestore/admin/v1beta2/firestore_admin.proto @@ -26,7 +26,7 @@ import "google/protobuf/field_mask.proto"; import "google/api/client.proto"; option csharp_namespace = "Google.Cloud.Firestore.Admin.V1Beta2"; -option go_package = "google.golang.org/genproto/googleapis/firestore/admin/v1beta2;admin"; +option go_package = "cloud.google.com/go/firestore/admin/apiv1beta2/adminpb;adminpb"; option java_multiple_files = true; option java_outer_classname = "FirestoreAdminProto"; option java_package = "com.google.firestore.admin.v1beta2"; diff --git a/third_party/googleapis/google/firestore/admin/v1beta2/index.proto b/third_party/googleapis/google/firestore/admin/v1beta2/index.proto index c5dc6b982..02205349a 100644 --- a/third_party/googleapis/google/firestore/admin/v1beta2/index.proto +++ b/third_party/googleapis/google/firestore/admin/v1beta2/index.proto @@ -20,7 +20,7 @@ package google.firestore.admin.v1beta2; import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.Firestore.Admin.V1Beta2"; -option go_package = "google.golang.org/genproto/googleapis/firestore/admin/v1beta2;admin"; +option go_package = "cloud.google.com/go/firestore/admin/apiv1beta2/adminpb;adminpb"; option java_multiple_files = true; option java_outer_classname = "IndexProto"; option java_package = "com.google.firestore.admin.v1beta2"; diff --git a/third_party/googleapis/google/firestore/admin/v1beta2/operation.proto b/third_party/googleapis/google/firestore/admin/v1beta2/operation.proto index d9a1f84ee..a58dfbc47 100644 --- a/third_party/googleapis/google/firestore/admin/v1beta2/operation.proto +++ b/third_party/googleapis/google/firestore/admin/v1beta2/operation.proto @@ -22,7 +22,7 @@ import "google/protobuf/timestamp.proto"; import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.Firestore.Admin.V1Beta2"; -option go_package = "google.golang.org/genproto/googleapis/firestore/admin/v1beta2;admin"; +option go_package = "cloud.google.com/go/firestore/admin/apiv1beta2/adminpb;adminpb"; option java_multiple_files = true; option java_outer_classname = "OperationProto"; option java_package = "com.google.firestore.admin.v1beta2"; diff --git a/third_party/googleapis/google/firestore/bundle/bundle.proto b/third_party/googleapis/google/firestore/bundle/bundle.proto index c776febd9..be4e9238e 100644 --- a/third_party/googleapis/google/firestore/bundle/bundle.proto +++ b/third_party/googleapis/google/firestore/bundle/bundle.proto @@ -26,7 +26,7 @@ import "google/firestore/v1/query.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Firestore.Bundle"; -option go_package = "google.golang.org/genproto/firestore/bundle;firestore"; +option go_package = "cloud.google.com/go/firestore/bundle/bundlepb;bundlepb"; option java_multiple_files = true; option java_outer_classname = "BundleProto"; option java_package = "com.google.firestore.bundle"; diff --git a/third_party/googleapis/google/firestore/v1/BUILD.bazel b/third_party/googleapis/google/firestore/v1/BUILD.bazel index c669ac220..5f0d3091d 100644 --- a/third_party/googleapis/google/firestore/v1/BUILD.bazel +++ b/third_party/googleapis/google/firestore/v1/BUILD.bazel @@ -22,6 +22,7 @@ proto_library( name = "firestore_proto", srcs = [ "aggregation_result.proto", + "bloom_filter.proto", "common.proto", "document.proto", "firestore.proto", @@ -122,13 +123,12 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( name = "firestore_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/firestore/v1", + importpath = "cloud.google.com/go/firestore/apiv1/firestorepb", protos = [":firestore_proto"], deps = [ "//google/api:annotations_go_proto", @@ -143,6 +143,7 @@ go_gapic_library( grpc_service_config = "firestore_grpc_service_config.json", importpath = "cloud.google.com/go/firestore/apiv1;firestore", metadata = True, + release_level = "ga", rest_numeric_enums = True, service_yaml = "firestore_v1.yaml", transport = "grpc+rest", @@ -156,19 +157,13 @@ go_gapic_library( ], ) -go_test( - name = "firestore_go_gapic_test", - srcs = [":firestore_go_gapic_srcjar_test"], - embed = [":firestore_go_gapic"], - importpath = "cloud.google.com/go/firestore/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-firestore-v1-go", deps = [ ":firestore_go_gapic", ":firestore_go_gapic_srcjar-metadata.srcjar", + ":firestore_go_gapic_srcjar-snippets.srcjar", ":firestore_go_gapic_srcjar-test.srcjar", ":firestore_go_proto", ], @@ -221,7 +216,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -230,23 +224,15 @@ php_proto_library( deps = [":firestore_proto"], ) -php_grpc_library( - name = "firestore_php_grpc", - srcs = [":firestore_proto"], - deps = [":firestore_php_proto"], -) - php_gapic_library( name = "firestore_php_gapic", srcs = [":firestore_proto_with_info"], grpc_service_config = "firestore_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "firestore_v1.yaml", transport = "grpc+rest", - deps = [ - ":firestore_php_grpc", - ":firestore_php_proto", - ], + deps = [":firestore_php_proto"], ) # Open Source Packages @@ -254,7 +240,6 @@ php_gapic_assembly_pkg( name = "google-cloud-firestore-v1-php", deps = [ ":firestore_php_gapic", - ":firestore_php_grpc", ":firestore_php_proto", ], ) diff --git a/third_party/googleapis/google/firestore/v1/aggregation_result.proto b/third_party/googleapis/google/firestore/v1/aggregation_result.proto index dc0d172a2..05fea5da9 100644 --- a/third_party/googleapis/google/firestore/v1/aggregation_result.proto +++ b/third_party/googleapis/google/firestore/v1/aggregation_result.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -19,7 +19,7 @@ package google.firestore.v1; import "google/firestore/v1/document.proto"; option csharp_namespace = "Google.Cloud.Firestore.V1"; -option go_package = "google.golang.org/genproto/googleapis/firestore/v1;firestore"; +option go_package = "cloud.google.com/go/firestore/apiv1/firestorepb;firestorepb"; option java_multiple_files = true; option java_outer_classname = "AggregationResultProto"; option java_package = "com.google.firestore.v1"; diff --git a/third_party/googleapis/google/firestore/v1/common.proto b/third_party/googleapis/google/firestore/v1/common.proto index c1bd92d8f..2a562aa6e 100644 --- a/third_party/googleapis/google/firestore/v1/common.proto +++ b/third_party/googleapis/google/firestore/v1/common.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -19,7 +19,7 @@ package google.firestore.v1; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Firestore.V1"; -option go_package = "google.golang.org/genproto/googleapis/firestore/v1;firestore"; +option go_package = "cloud.google.com/go/firestore/apiv1/firestorepb;firestorepb"; option java_multiple_files = true; option java_outer_classname = "CommonProto"; option java_package = "com.google.firestore.v1"; @@ -57,6 +57,9 @@ message Precondition { // Options for creating a new transaction. message TransactionOptions { // Options for a transaction that can be used to read and write documents. + // + // Firestore does not allow 3rd party auth requests to create read-write. + // transactions. message ReadWrite { // An optional transaction to retry. bytes retry_transaction = 1; @@ -68,7 +71,10 @@ message TransactionOptions { // consistency. oneof consistency_selector { // Reads documents at the given time. - // This may not be older than 60 seconds. + // + // This must be a microsecond precision timestamp within the past one + // hour, or if Point-in-Time Recovery is enabled, can additionally be a + // whole minute timestamp within the past 7 days. google.protobuf.Timestamp read_time = 2; } } diff --git a/third_party/googleapis/google/firestore/v1/document.proto b/third_party/googleapis/google/firestore/v1/document.proto index 41283588e..a8764a1a2 100644 --- a/third_party/googleapis/google/firestore/v1/document.proto +++ b/third_party/googleapis/google/firestore/v1/document.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,7 +21,7 @@ import "google/protobuf/timestamp.proto"; import "google/type/latlng.proto"; option csharp_namespace = "Google.Cloud.Firestore.V1"; -option go_package = "google.golang.org/genproto/googleapis/firestore/v1;firestore"; +option go_package = "cloud.google.com/go/firestore/apiv1/firestorepb;firestorepb"; option java_multiple_files = true; option java_outer_classname = "DocumentProto"; option java_package = "com.google.firestore.v1"; @@ -41,23 +41,23 @@ message Document { // // The map keys represent field names. // - // A simple field name contains only characters `a` to `z`, `A` to `Z`, - // `0` to `9`, or `_`, and must not start with `0` to `9`. For example, - // `foo_bar_17`. - // // Field names matching the regular expression `__.*__` are reserved. Reserved - // field names are forbidden except in certain documented contexts. The map - // keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be + // field names are forbidden except in certain documented contexts. The field + // names, represented as UTF-8, must not exceed 1,500 bytes and cannot be // empty. // // Field paths may be used in other contexts to refer to structured fields - // defined here. For `map_value`, the field path is represented by the simple - // or quoted field names of the containing fields, delimited by `.`. For - // example, the structured field - // `"foo" : { map_value: { "x&y" : { string_value: "hello" }}}` would be - // represented by the field path `foo.x&y`. + // defined here. For `map_value`, the field path is represented by a + // dot-delimited (`.`) string of segments. Each segment is either a simple + // field name (defined below) or a quoted field name. For example, the + // structured field `"foo" : { map_value: { "x&y" : { string_value: "hello" + // }}}` would be represented by the field path `` foo.`x&y` ``. + // + // A simple field name contains only characters `a` to `z`, `A` to `Z`, + // `0` to `9`, or `_`, and must not start with `0` to `9`. For example, + // `foo_bar_17`. // - // Within a field path, a quoted field name starts and ends with `` ` `` and + // A quoted field name starts and ends with `` ` `` and // may contain any character. Some characters, including `` ` ``, must be // escaped using a `\`. For example, `` `x&y` `` represents `x&y` and // `` `bak\`tik` `` represents `` bak`tik ``. diff --git a/third_party/googleapis/google/firestore/v1/firestore.proto b/third_party/googleapis/google/firestore/v1/firestore.proto index b62bf64e5..3b843eed5 100644 --- a/third_party/googleapis/google/firestore/v1/firestore.proto +++ b/third_party/googleapis/google/firestore/v1/firestore.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -26,10 +26,11 @@ import "google/firestore/v1/query.proto"; import "google/firestore/v1/write.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/timestamp.proto"; +import "google/protobuf/wrappers.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.Firestore.V1"; -option go_package = "google.golang.org/genproto/googleapis/firestore/v1;firestore"; +option go_package = "cloud.google.com/go/firestore/apiv1/firestorepb;firestorepb"; option java_multiple_files = true; option java_outer_classname = "FirestoreProto"; option java_package = "com.google.firestore.v1"; @@ -178,7 +179,7 @@ service Firestore { } // Streams batches of document updates and deletes, in order. This method is - // only available via the gRPC API (not REST). + // only available via gRPC or WebChannel (not REST). rpc Write(stream WriteRequest) returns (stream WriteResponse) { option (google.api.http) = { post: "/v1/{database=projects/*/databases/*}/documents:write" @@ -186,8 +187,8 @@ service Firestore { }; } - // Listens to changes. This method is only available via the gRPC API (not - // REST). + // Listens to changes. This method is only available via gRPC or WebChannel + // (not REST). rpc Listen(stream ListenRequest) returns (stream ListenResponse) { option (google.api.http) = { post: "/v1/{database=projects/*/databases/*}/documents:listen" @@ -255,7 +256,10 @@ message GetDocumentRequest { bytes transaction = 3; // Reads the version of the document at the given time. - // This may not be older than 270 seconds. + // + // This must be a microsecond precision timestamp within the past one hour, + // or if Point-in-Time Recovery is enabled, can additionally be a whole + // minute timestamp within the past 7 days. google.protobuf.Timestamp read_time = 5; } } @@ -315,7 +319,9 @@ message ListDocumentsRequest { // Perform the read at the provided time. // - // This may not be older than 270 seconds. + // This must be a microsecond precision timestamp within the past one hour, + // or if Point-in-Time Recovery is enabled, can additionally be a whole + // minute timestamp within the past 7 days. google.protobuf.Timestamp read_time = 10; } @@ -441,7 +447,10 @@ message BatchGetDocumentsRequest { TransactionOptions new_transaction = 5; // Reads documents as they were at the given time. - // This may not be older than 270 seconds. + // + // This must be a microsecond precision timestamp within the past one hour, + // or if Point-in-Time Recovery is enabled, can additionally be a whole + // minute timestamp within the past 7 days. google.protobuf.Timestamp read_time = 7; } } @@ -561,7 +570,10 @@ message RunQueryRequest { TransactionOptions new_transaction = 6; // Reads documents as they were at the given time. - // This may not be older than 270 seconds. + // + // This must be a microsecond precision timestamp within the past one hour, + // or if Point-in-Time Recovery is enabled, can additionally be a whole + // minute timestamp within the past 7 days. google.protobuf.Timestamp read_time = 7; } } @@ -634,9 +646,9 @@ message RunAggregationQueryRequest { // Executes the query at the given timestamp. // - // Requires: - // - // * Cannot be more than 270 seconds in the past. + // This must be a microsecond precision timestamp within the past one hour, + // or if Point-in-Time Recovery is enabled, can additionally be a whole + // minute timestamp within the past 7 days. google.protobuf.Timestamp read_time = 6; } } @@ -655,7 +667,14 @@ message RunAggregationQueryResponse { // a new transaction. bytes transaction = 2; - // The time at which the aggregate value is valid for. + // The time at which the aggregate result was computed. This is always + // monotonically increasing; in this case, the previous AggregationResult in + // the result stream are guaranteed not to have changed between their + // `read_time` and this one. + // + // If the query returns no results, a response with `read_time` and no + // `result` will be sent, and this represents the time at which the query + // was run. google.protobuf.Timestamp read_time = 3; } @@ -715,7 +734,10 @@ message PartitionQueryRequest { // If not set, defaults to strong consistency. oneof consistency_selector { // Reads documents as they were at the given time. - // This may not be older than 270 seconds. + // + // This must be a microsecond precision timestamp within the past one hour, + // or if Point-in-Time Recovery is enabled, can additionally be a whole + // minute timestamp within the past 7 days. google.protobuf.Timestamp read_time = 6; } } @@ -739,7 +761,7 @@ message PartitionQueryResponse { // * query, start_at B // // An empty result may indicate that the query has too few results to be - // partitioned. + // partitioned, or that the query is not yet supported for partitioning. repeated Cursor partitions = 1; // A page token that may be used to request an additional set of results, up @@ -904,8 +926,9 @@ message Target { // When to start listening. // - // If not specified, all matching Documents are returned before any - // subsequent changes. + // If specified, only the matching Documents that have been updated AFTER the + // `resume_token` or `read_time` will be returned. Otherwise, all matching + // Documents are returned before any subsequent changes. oneof resume_type { // A resume token from a prior // [TargetChange][google.firestore.v1.TargetChange] for an identical target. @@ -921,10 +944,33 @@ message Target { // The target ID that identifies the target on the stream. Must be a positive // number and non-zero. + // + // If `target_id` is 0 (or unspecified), the server will assign an ID for this + // target and return that in a `TargetChange::ADD` event. Once a target with + // `target_id=0` is added, all subsequent targets must also have + // `target_id=0`. If an `AddTarget` request with `target_id != 0` is + // sent to the server after a target with `target_id=0` is added, the server + // will immediately send a response with a `TargetChange::Remove` event. + // + // Note that if the client sends multiple `AddTarget` requests + // without an ID, the order of IDs returned in `TargetChage.target_ids` are + // undefined. Therefore, clients should provide a target ID instead of relying + // on the server to assign one. + // + // If `target_id` is non-zero, there must not be an existing active target on + // this stream with the same ID. int32 target_id = 5; // If the target should be removed once it is current and consistent. bool once = 6; + + // The number of documents that last matched the query at the resume token or + // read time. + // + // This value is only relevant when a `resume_type` is provided. This value + // being present and greater than zero signals that the client wants + // `ExistenceFilter.unchanged_names` to be included in the response. + google.protobuf.Int32Value expected_count = 12; } // Targets being watched have changed. @@ -1010,7 +1056,10 @@ message ListCollectionIdsRequest { // If not set, defaults to strong consistency. oneof consistency_selector { // Reads documents as they were at the given time. - // This may not be older than 270 seconds. + // + // This must be a microsecond precision timestamp within the past one hour, + // or if Point-in-Time Recovery is enabled, can additionally be a whole + // minute timestamp within the past 7 days. google.protobuf.Timestamp read_time = 4; } } diff --git a/third_party/googleapis/google/firestore/v1/firestore_v1.yaml b/third_party/googleapis/google/firestore/v1/firestore_v1.yaml index fdd01f74b..e760348ae 100644 --- a/third_party/googleapis/google/firestore/v1/firestore_v1.yaml +++ b/third_party/googleapis/google/firestore/v1/firestore_v1.yaml @@ -19,17 +19,6 @@ documentation: - selector: google.cloud.location.Locations.ListLocations description: Lists information about the supported locations for this service. -backend: - rules: - - selector: google.cloud.location.Locations.GetLocation - deadline: 295.0 - - selector: google.cloud.location.Locations.ListLocations - deadline: 295.0 - - selector: 'google.firestore.v1.Firestore.*' - deadline: 295.0 - - selector: 'google.longrunning.Operations.*' - deadline: 295.0 - http: rules: - selector: google.longrunning.Operations.CancelOperation diff --git a/third_party/googleapis/google/firestore/v1/query.proto b/third_party/googleapis/google/firestore/v1/query.proto index 6d8ffce80..09eefa241 100644 --- a/third_party/googleapis/google/firestore/v1/query.proto +++ b/third_party/googleapis/google/firestore/v1/query.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,7 +21,7 @@ import "google/firestore/v1/document.proto"; import "google/protobuf/wrappers.proto"; option csharp_namespace = "Google.Cloud.Firestore.V1"; -option go_package = "google.golang.org/genproto/googleapis/firestore/v1;firestore"; +option go_package = "cloud.google.com/go/firestore/apiv1/firestorepb;firestorepb"; option java_multiple_files = true; option java_outer_classname = "QueryProto"; option java_package = "com.google.firestore.v1"; @@ -30,6 +30,14 @@ option php_namespace = "Google\\Cloud\\Firestore\\V1"; option ruby_package = "Google::Cloud::Firestore::V1"; // A Firestore query. +// +// The query stages are executed in the following order: +// 1. from +// 2. where +// 3. select +// 4. order_by + start_at + end_at +// 5. offset +// 6. limit message StructuredQuery { // A selection of a collection, such as `messages as m1`. message CollectionSelector { @@ -136,8 +144,9 @@ message StructuredQuery { // // Requires: // - // * That `value` is a non-empty `ArrayValue` with at most 10 values. - // * No other `IN` or `ARRAY_CONTAINS_ANY` or `NOT_IN`. + // * That `value` is a non-empty `ArrayValue`, subject to disjunction + // limits. + // * No `NOT_IN` filters in the same query. IN = 8; // The given `field` is an array that contains any of the values in the @@ -145,8 +154,10 @@ message StructuredQuery { // // Requires: // - // * That `value` is a non-empty `ArrayValue` with at most 10 values. - // * No other `IN` or `ARRAY_CONTAINS_ANY` or `NOT_IN`. + // * That `value` is a non-empty `ArrayValue`, subject to disjunction + // limits. + // * No other `ARRAY_CONTAINS_ANY` filters within the same disjunction. + // * No `NOT_IN` filters in the same query. ARRAY_CONTAINS_ANY = 9; // The value of the `field` is not in the given array. @@ -154,7 +165,7 @@ message StructuredQuery { // Requires: // // * That `value` is a non-empty `ArrayValue` with at most 10 values. - // * No other `IN`, `ARRAY_CONTAINS_ANY`, `NOT_IN`, `NOT_EQUAL`, + // * No other `OR`, `IN`, `ARRAY_CONTAINS_ANY`, `NOT_IN`, `NOT_EQUAL`, // `IS_NOT_NULL`, or `IS_NOT_NAN`. // * That `field` comes first in the `order_by`. NOT_IN = 10; @@ -233,11 +244,12 @@ message StructuredQuery { // A reference to a field in a document, ex: `stats.operations`. message FieldReference { - // The relative path of the document being referenced. + // A reference to a field in a document. // // Requires: // - // * Conform to [document field name][google.firestore.v1.Document.fields] + // * MUST be a dot-delimited (`.`) string of segments, where each segment + // conforms to [document field name][google.firestore.v1.Document.fields] // limitations. string field_path = 2; } @@ -251,7 +263,11 @@ message StructuredQuery { repeated FieldReference fields = 2; } - // The projection to return. + // Optional sub-set of the fields to return. + // + // This acts as a [DocumentMask][google.firestore.v1.DocumentMask] over the + // documents returned from a query. When not set, assumes that the caller + // wants all fields returned. Projection select = 1; // The collections to query. @@ -349,7 +365,7 @@ message StructuredQuery { // Firestore query for running an aggregation over a // [StructuredQuery][google.firestore.v1.StructuredQuery]. message StructuredAggregationQuery { - // Defines a aggregation that produces a single result. + // Defines an aggregation that produces a single result. message Aggregation { // Count of documents that match the query. // @@ -360,7 +376,7 @@ message StructuredAggregationQuery { // count. // // This provides a way to set an upper bound on the number of documents - // to scan, limiting latency and cost. + // to scan, limiting latency, and cost. // // Unspecified is interpreted as no bound. // @@ -377,10 +393,58 @@ message StructuredAggregationQuery { [(google.api.field_behavior) = OPTIONAL]; } + // Sum of the values of the requested field. + // + // * Only numeric values will be aggregated. All non-numeric values + // including `NULL` are skipped. + // + // * If the aggregated values contain `NaN`, returns `NaN`. Infinity math + // follows IEEE-754 standards. + // + // * If the aggregated value set is empty, returns 0. + // + // * Returns a 64-bit integer if all aggregated numbers are integers and the + // sum result does not overflow. Otherwise, the result is returned as a + // double. Note that even if all the aggregated values are integers, the + // result is returned as a double if it cannot fit within a 64-bit signed + // integer. When this occurs, the returned value will lose precision. + // + // * When underflow occurs, floating-point aggregation is non-deterministic. + // This means that running the same query repeatedly without any changes to + // the underlying values could produce slightly different results each + // time. In those cases, values should be stored as integers over + // floating-point numbers. + message Sum { + // The field to aggregate on. + StructuredQuery.FieldReference field = 1; + } + + // Average of the values of the requested field. + // + // * Only numeric values will be aggregated. All non-numeric values + // including `NULL` are skipped. + // + // * If the aggregated values contain `NaN`, returns `NaN`. Infinity math + // follows IEEE-754 standards. + // + // * If the aggregated value set is empty, returns `NULL`. + // + // * Always returns the result as a double. + message Avg { + // The field to aggregate on. + StructuredQuery.FieldReference field = 1; + } + // The type of aggregation to perform, required. oneof operator { // Count aggregator. Count count = 1; + + // Sum aggregator. + Sum sum = 2; + + // Average aggregator. + Avg avg = 3; } // Optional. Optional name of the field to store the result of the @@ -394,7 +458,7 @@ message StructuredAggregationQuery { // COUNT_UP_TO(1) AS count_up_to_1, // COUNT_UP_TO(2), // COUNT_UP_TO(3) AS count_up_to_3, - // COUNT_UP_TO(4) + // COUNT(*) // OVER ( // ... // ); @@ -407,7 +471,7 @@ message StructuredAggregationQuery { // COUNT_UP_TO(1) AS count_up_to_1, // COUNT_UP_TO(2) AS field_1, // COUNT_UP_TO(3) AS count_up_to_3, - // COUNT_UP_TO(4) AS field_2 + // COUNT(*) AS field_2 // OVER ( // ... // ); diff --git a/third_party/googleapis/google/firestore/v1/write.proto b/third_party/googleapis/google/firestore/v1/write.proto index 3cc3b8429..4b46595ce 100644 --- a/third_party/googleapis/google/firestore/v1/write.proto +++ b/third_party/googleapis/google/firestore/v1/write.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,12 +16,13 @@ syntax = "proto3"; package google.firestore.v1; +import "google/firestore/v1/bloom_filter.proto"; import "google/firestore/v1/common.proto"; import "google/firestore/v1/document.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Firestore.V1"; -option go_package = "google.golang.org/genproto/googleapis/firestore/v1;firestore"; +option go_package = "cloud.google.com/go/firestore/apiv1/firestorepb;firestorepb"; option java_multiple_files = true; option java_outer_classname = "WriteProto"; option java_package = "com.google.firestore.v1"; @@ -263,5 +264,23 @@ message ExistenceFilter { // // If different from the count of documents in the client that match, the // client must manually determine which documents no longer match the target. + // + // The client can use the `unchanged_names` bloom filter to assist with + // this determination by testing ALL the document names against the filter; + // if the document name is NOT in the filter, it means the document no + // longer matches the target. int32 count = 2; + + // A bloom filter that, despite its name, contains the UTF-8 byte encodings of + // the resource names of ALL the documents that match + // [target_id][google.firestore.v1.ExistenceFilter.target_id], in the form + // `projects/{project_id}/databases/{database_id}/documents/{document_path}`. + // + // This bloom filter may be omitted at the server's discretion, such as if it + // is deemed that the client will not make use of it or if it is too + // computationally expensive to calculate or transmit. Clients must gracefully + // handle this field being absent by falling back to the logic used before + // this field existed; that is, re-add the target without a resume token to + // figure out which documents in the client's cache are out of sync. + BloomFilter unchanged_names = 3; } diff --git a/third_party/googleapis/google/firestore/v1beta1/BUILD.bazel b/third_party/googleapis/google/firestore/v1beta1/BUILD.bazel index 26f8feff6..40dfd8dee 100644 --- a/third_party/googleapis/google/firestore/v1beta1/BUILD.bazel +++ b/third_party/googleapis/google/firestore/v1beta1/BUILD.bazel @@ -1,5 +1,5 @@ # This file was automatically generated by BuildFileGenerator -# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel +# 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: @@ -9,43 +9,14 @@ # * 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"]) + ############################################################################## # Common ############################################################################## load("@rules_proto//proto:defs.bzl", "proto_library") -load( - "@com_google_googleapis_imports//:imports.bzl", - "csharp_gapic_assembly_pkg", - "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", - "go_gapic_assembly_pkg", - "go_gapic_library", - "go_proto_library", - "go_test", - "java_gapic_assembly_gradle_pkg", - "java_gapic_library", - "java_gapic_test", - "java_grpc_library", - "java_proto_library", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", - "php_gapic_assembly_pkg", - "php_gapic_library", - "php_grpc_library", - "php_proto_library", - "proto_library_with_info", - "py_gapic_assembly_pkg", - "py_gapic_library", - "py_test", - "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) +load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") proto_library( name = "firestore_proto", @@ -54,6 +25,7 @@ proto_library( "document.proto", "firestore.proto", "query.proto", + "undeliverable_first_gen_event.proto", "write.proto", ], deps = [ @@ -77,6 +49,18 @@ proto_library_with_info( ], ) +############################################################################## +# Java +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "java_gapic_assembly_gradle_pkg", + "java_gapic_library", + "java_gapic_test", + "java_grpc_library", + "java_proto_library", +) + java_proto_library( name = "firestore_java_proto", deps = [":firestore_proto"], @@ -94,12 +78,14 @@ java_gapic_library( gapic_yaml = "firestore_gapic.yaml", grpc_service_config = "firestore_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "firestore_v1beta1.yaml", test_deps = [ ":firestore_java_grpc", ], transport = "grpc+rest", deps = [ ":firestore_java_proto", + "//google/api:api_java_proto", ], ) @@ -125,10 +111,20 @@ java_gapic_assembly_gradle_pkg( ], ) +############################################################################## +# Go +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "go_gapic_assembly_pkg", + "go_gapic_library", + "go_proto_library", +) + go_proto_library( name = "firestore_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/firestore/v1beta1", + importpath = "cloud.google.com/go/firestore/apiv1beta1/firestorepb", protos = [":firestore_proto"], deps = [ "//google/api:annotations_go_proto", @@ -150,23 +146,27 @@ go_gapic_library( ], ) -go_test( - name = "firestore_go_gapic_test", - srcs = [":firestore_go_gapic_srcjar_test"], - embed = [":firestore_go_gapic"], - importpath = "cloud.google.com/go/firestore/apiv1beta1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-firestore-v1beta1-go", deps = [ ":firestore_go_gapic", + ":firestore_go_gapic_srcjar-snippets.srcjar", ":firestore_go_gapic_srcjar-test.srcjar", ":firestore_go_proto", ], ) +############################################################################## +# Python +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "py_gapic_assembly_pkg", + "py_gapic_library", + "py_test", +) + py_gapic_library( name = "firestore_py_gapic", srcs = [":firestore_proto"], @@ -174,6 +174,8 @@ py_gapic_library( rest_numeric_enums = True, service_yaml = "firestore_v1beta1.yaml", transport = "grpc+rest", + deps = [ + ], ) py_test( @@ -194,25 +196,30 @@ py_gapic_assembly_pkg( ], ) +############################################################################## +# PHP +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "php_gapic_assembly_pkg", + "php_gapic_library", + "php_proto_library", +) + php_proto_library( name = "firestore_php_proto", deps = [":firestore_proto"], ) -php_grpc_library( - name = "firestore_php_grpc", - srcs = [":firestore_proto"], - deps = [":firestore_php_proto"], -) - php_gapic_library( name = "firestore_php_gapic", srcs = [":firestore_proto_with_info"], + grpc_service_config = "firestore_grpc_service_config.json", + migration_mode = "PRE_MIGRATION_SURFACE_ONLY", rest_numeric_enums = True, service_yaml = "firestore_v1beta1.yaml", transport = "grpc+rest", deps = [ - ":firestore_php_grpc", ":firestore_php_proto", ], ) @@ -222,13 +229,22 @@ php_gapic_assembly_pkg( name = "google-cloud-firestore-v1beta1-php", deps = [ ":firestore_php_gapic", - ":firestore_php_grpc", ":firestore_php_proto", ], ) +############################################################################## +# Node.js +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "nodejs_gapic_assembly_pkg", + "nodejs_gapic_library", +) + nodejs_gapic_library( name = "firestore_nodejs_gapic", + package_name = "@google-cloud/firestore", src = ":firestore_proto_with_info", extra_protoc_parameters = ["metadata"], grpc_service_config = "firestore_grpc_service_config.json", @@ -247,6 +263,17 @@ nodejs_gapic_assembly_pkg( ], ) +############################################################################## +# Ruby +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "ruby_cloud_gapic_library", + "ruby_gapic_assembly_pkg", + "ruby_grpc_library", + "ruby_proto_library", +) + ruby_proto_library( name = "firestore_ruby_proto", deps = [":firestore_proto"], @@ -262,8 +289,10 @@ ruby_cloud_gapic_library( name = "firestore_ruby_gapic", srcs = [":firestore_proto_with_info"], extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-firestore-v1beta1"], + grpc_service_config = "firestore_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "firestore_v1beta1.yaml", + transport = "grpc+rest", deps = [ ":firestore_ruby_grpc", ":firestore_ruby_proto", @@ -280,8 +309,20 @@ ruby_gapic_assembly_pkg( ], ) +############################################################################## +# C# +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "csharp_gapic_assembly_pkg", + "csharp_gapic_library", + "csharp_grpc_library", + "csharp_proto_library", +) + csharp_proto_library( name = "firestore_csharp_proto", + extra_opts = [], deps = [":firestore_proto"], ) @@ -298,6 +339,7 @@ csharp_gapic_library( grpc_service_config = "firestore_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "firestore_v1beta1.yaml", + transport = "grpc+rest", deps = [ ":firestore_csharp_grpc", ":firestore_csharp_proto", @@ -317,4 +359,20 @@ csharp_gapic_assembly_pkg( ############################################################################## # C++ ############################################################################## -# Put your C++ rules here +load( + "@com_google_googleapis_imports//:imports.bzl", + "cc_grpc_library", + "cc_proto_library", +) + +cc_proto_library( + name = "firestore_cc_proto", + deps = [":firestore_proto"], +) + +cc_grpc_library( + name = "firestore_cc_grpc", + srcs = [":firestore_proto"], + grpc_only = True, + deps = [":firestore_cc_proto"], +) diff --git a/third_party/googleapis/google/firestore/v1beta1/common.proto b/third_party/googleapis/google/firestore/v1beta1/common.proto index af26d0b6f..1a18c41bc 100644 --- a/third_party/googleapis/google/firestore/v1beta1/common.proto +++ b/third_party/googleapis/google/firestore/v1beta1/common.proto @@ -19,7 +19,7 @@ package google.firestore.v1beta1; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Firestore.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/firestore/v1beta1;firestore"; +option go_package = "cloud.google.com/go/firestore/apiv1beta1/firestorepb;firestorepb"; option java_multiple_files = true; option java_outer_classname = "CommonProto"; option java_package = "com.google.firestore.v1beta1"; diff --git a/third_party/googleapis/google/firestore/v1beta1/document.proto b/third_party/googleapis/google/firestore/v1beta1/document.proto index e425cd6e8..de192806d 100644 --- a/third_party/googleapis/google/firestore/v1beta1/document.proto +++ b/third_party/googleapis/google/firestore/v1beta1/document.proto @@ -21,7 +21,7 @@ import "google/protobuf/timestamp.proto"; import "google/type/latlng.proto"; option csharp_namespace = "Google.Cloud.Firestore.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/firestore/v1beta1;firestore"; +option go_package = "cloud.google.com/go/firestore/apiv1beta1/firestorepb;firestorepb"; option java_multiple_files = true; option java_outer_classname = "DocumentProto"; option java_package = "com.google.firestore.v1beta1"; diff --git a/third_party/googleapis/google/firestore/v1beta1/firestore.proto b/third_party/googleapis/google/firestore/v1beta1/firestore.proto index 1fd3a58f3..047f029e4 100644 --- a/third_party/googleapis/google/firestore/v1beta1/firestore.proto +++ b/third_party/googleapis/google/firestore/v1beta1/firestore.proto @@ -28,7 +28,7 @@ import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.Firestore.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/firestore/v1beta1;firestore"; +option go_package = "cloud.google.com/go/firestore/apiv1beta1/firestorepb;firestorepb"; option java_multiple_files = true; option java_outer_classname = "FirestoreProto"; option java_package = "com.google.firestore.v1beta1"; diff --git a/third_party/googleapis/google/firestore/v1beta1/query.proto b/third_party/googleapis/google/firestore/v1beta1/query.proto index cfb5401e1..7d7ef11ce 100644 --- a/third_party/googleapis/google/firestore/v1beta1/query.proto +++ b/third_party/googleapis/google/firestore/v1beta1/query.proto @@ -20,7 +20,7 @@ import "google/firestore/v1beta1/document.proto"; import "google/protobuf/wrappers.proto"; option csharp_namespace = "Google.Cloud.Firestore.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/firestore/v1beta1;firestore"; +option go_package = "cloud.google.com/go/firestore/apiv1beta1/firestorepb;firestorepb"; option java_multiple_files = true; option java_outer_classname = "QueryProto"; option java_package = "com.google.firestore.v1beta1"; diff --git a/third_party/googleapis/google/firestore/v1beta1/write.proto b/third_party/googleapis/google/firestore/v1beta1/write.proto index 3fd1b5965..124526a59 100644 --- a/third_party/googleapis/google/firestore/v1beta1/write.proto +++ b/third_party/googleapis/google/firestore/v1beta1/write.proto @@ -21,7 +21,7 @@ import "google/firestore/v1beta1/document.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Firestore.V1Beta1"; -option go_package = "google.golang.org/genproto/googleapis/firestore/v1beta1;firestore"; +option go_package = "cloud.google.com/go/firestore/apiv1beta1/firestorepb;firestorepb"; option java_multiple_files = true; option java_outer_classname = "WriteProto"; option java_package = "com.google.firestore.v1beta1"; diff --git a/third_party/googleapis/google/geo/type/BUILD.bazel b/third_party/googleapis/google/geo/type/BUILD.bazel index 0895efd4c..4e587a694 100644 --- a/third_party/googleapis/google/geo/type/BUILD.bazel +++ b/third_party/googleapis/google/geo/type/BUILD.bazel @@ -45,7 +45,7 @@ java_gapic_assembly_gradle_pkg( ############################################################################## go_proto_library( name = "viewport_go_proto", - importpath = "google.golang.org/genproto/googleapis/geo/type", + importpath = "google.golang.org/genproto/googleapis/geo/type/viewport", protos = [":viewport_proto"], deps = ["//google/type:latlng_go_proto"], ) diff --git a/third_party/googleapis/google/home/enterprise/sdm/v1/BUILD.bazel b/third_party/googleapis/google/home/enterprise/sdm/v1/BUILD.bazel index 25b388d91..a618780fa 100644 --- a/third_party/googleapis/google/home/enterprise/sdm/v1/BUILD.bazel +++ b/third_party/googleapis/google/home/enterprise/sdm/v1/BUILD.bazel @@ -22,7 +22,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -32,7 +31,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -87,6 +85,7 @@ java_gapic_library( srcs = [":sdm_proto_with_info"], grpc_service_config = "smart_device_management_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "smartdevicemanagement_v1.yaml", test_deps = [ ":sdm_java_grpc", ], @@ -141,18 +140,12 @@ go_gapic_library( ], ) -go_test( - name = "sdm_go_gapic_test", - srcs = [":sdm_go_gapic_srcjar_test"], - embed = [":sdm_go_gapic"], - importpath = "google.golang.org/google/home/enterprise/sdm/v1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-enterprise-sdm-v1-go", deps = [ ":sdm_go_gapic", + ":sdm_go_gapic_srcjar-snippets.srcjar", ":sdm_go_gapic_srcjar-test.srcjar", ":sdm_go_proto", ], @@ -190,12 +183,6 @@ php_proto_library( deps = [":sdm_proto"], ) -php_grpc_library( - name = "sdm_php_grpc", - srcs = [":sdm_proto"], - deps = [":sdm_php_proto"], -) - php_gapic_library( name = "sdm_php_gapic", srcs = [":sdm_proto_with_info"], @@ -203,10 +190,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "smartdevicemanagement_v1.yaml", transport = "grpc+rest", - deps = [ - ":sdm_php_grpc", - ":sdm_php_proto", - ], + deps = [":sdm_php_proto"], ) # Open Source Packages @@ -214,7 +198,6 @@ php_gapic_assembly_pkg( name = "google-cloud-enterprise-sdm-v1-php", deps = [ ":sdm_php_gapic", - ":sdm_php_grpc", ":sdm_php_proto", ], ) @@ -257,6 +240,7 @@ ruby_cloud_gapic_library( grpc_service_config = "smart_device_management_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "smartdevicemanagement_v1.yaml", + transport = "grpc+rest", deps = [ ":sdm_ruby_grpc", ":sdm_ruby_proto", diff --git a/third_party/googleapis/google/home/graph/v1/BUILD.bazel b/third_party/googleapis/google/home/graph/v1/BUILD.bazel index 974b52a01..5520e5a2b 100644 --- a/third_party/googleapis/google/home/graph/v1/BUILD.bazel +++ b/third_party/googleapis/google/home/graph/v1/BUILD.bazel @@ -13,7 +13,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -23,7 +22,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -77,6 +75,7 @@ java_gapic_library( srcs = [":graph_proto_with_info"], grpc_service_config = "homegraph_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "homegraph_v1.yaml", test_deps = [ ":graph_java_grpc", ], @@ -131,18 +130,12 @@ go_gapic_library( ], ) -go_test( - name = "graph_go_gapic_test", - srcs = [":graph_go_gapic_srcjar_test"], - embed = [":graph_go_gapic"], - importpath = "google.golang.org/api/homegraph/v1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-home-graph-v1-go", deps = [ ":graph_go_gapic", + ":graph_go_gapic_srcjar-snippets.srcjar", ":graph_go_gapic_srcjar-test.srcjar", ":graph_go_proto", ], @@ -180,22 +173,13 @@ php_proto_library( deps = [":graph_proto"], ) -php_grpc_library( - name = "graph_php_grpc", - srcs = [":graph_proto"], - deps = [":graph_php_proto"], -) - php_gapic_library( name = "graph_php_gapic", srcs = [":graph_proto_with_info"], rest_numeric_enums = True, service_yaml = "homegraph_v1.yaml", transport = "grpc+rest", - deps = [ - ":graph_php_grpc", - ":graph_php_proto", - ], + deps = [":graph_php_proto"], ) # Open Source Packages @@ -203,7 +187,6 @@ php_gapic_assembly_pkg( name = "google-cloud-home-graph-v1-php", deps = [ ":graph_php_gapic", - ":graph_php_grpc", ":graph_php_proto", ], ) @@ -245,6 +228,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-graph-v1"], rest_numeric_enums = True, service_yaml = "homegraph_v1.yaml", + transport = "grpc+rest", deps = [ ":graph_ruby_grpc", ":graph_ruby_proto", diff --git a/third_party/googleapis/google/iam/BUILD.bazel b/third_party/googleapis/google/iam/BUILD.bazel index dad2cec37..8725fa7bf 100644 --- a/third_party/googleapis/google/iam/BUILD.bazel +++ b/third_party/googleapis/google/iam/BUILD.bazel @@ -21,13 +21,14 @@ ruby_cloud_gapic_library( srcs = ["//google/iam/v2:iam_proto_with_info"], extra_protoc_parameters = [ "ruby-cloud-gem-name=google-iam", - "ruby-cloud-wrapper-of=v2:0.0", + "ruby-cloud-wrapper-of=v2:0.5", "ruby-cloud-product-url=https://cloud.google.com/iam", "ruby-cloud-api-id=iam.googleapis.com", "ruby-cloud-api-shortname=iam", ], ruby_cloud_description = "Manages identity and access control policies for Google Cloud Platform resources.", ruby_cloud_title = "IAM", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/iam/README.md b/third_party/googleapis/google/iam/README.md index c402a9dd0..c78554d86 100644 --- a/third_party/googleapis/google/iam/README.md +++ b/third_party/googleapis/google/iam/README.md @@ -1,14 +1,24 @@ -# Introduction +## IAM (Identity and Access Management) Protos -# Key Concepts +This folder contains [protocol buffer][protobuf] types which represent IAM +(Identity and Access Management) concepts plus a mix-in service declaration (IAMPolicy) +which can be inherited by APIs so that they follow a consistent pattern for +IAM operations. -## Service Account +### Key Concepts -A Service Account is an account used to identify services (non-humans) to Google. -A Service Account has a list of Service Account Keys, which can be used to authenticate to Google. +- **Binding**: Associates a list of identities with a particular role. An identity can + match things like all users, all authenticated users, a single user, a single service + account, a single group, or a single domain. A role is a permission defined by IAM, such as + `roles/viewer`, `roles/editor`, or `roles/owner`. +- **Policy**: A list of bindings where each role can only appear once. It also contains + a version to track iterations of the bindings. -## Service Account Keys +### Key Service definitions -A Service Account Key is a public/private keypair generated by Google. Google retains the public -key, while the customer is given the private key. The private key can be used to [sign JWTs and -authenticate Service Accounts to Google](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#authorizingrequests). +- **IAMPolicy**: This is a mix-in service which defines three operations: + - `SetIamPolicy`: Sets the access control policy on the specified resource. + - `GetIamPolicy`: Gets the access control policy for a resource. + - `TestIamPermissions`: Returns permissions that a caller has on the specified resource. + +[protobuf]: https://developers.google.com/protocol-buffers/ diff --git a/third_party/googleapis/google/iam/admin/v1/BUILD.bazel b/third_party/googleapis/google/iam/admin/v1/BUILD.bazel index bc9c9e174..aefef33e2 100644 --- a/third_party/googleapis/google/iam/admin/v1/BUILD.bazel +++ b/third_party/googleapis/google/iam/admin/v1/BUILD.bazel @@ -121,13 +121,12 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( name = "admin_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/iam/admin/v1", + importpath = "cloud.google.com/go/iam/admin/apiv1/adminpb", protos = [":admin_proto"], deps = [ "//google/api:annotations_go_proto", @@ -151,19 +150,13 @@ go_gapic_library( ], ) -go_test( - name = "admin_go_gapic_test", - srcs = [":admin_go_gapic_srcjar_test"], - embed = [":admin_go_gapic"], - importpath = "cloud.google.com/go/iam/admin/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-iam-admin-v1-go", deps = [ ":admin_go_gapic", ":admin_go_gapic_srcjar-metadata.srcjar", + ":admin_go_gapic_srcjar-snippets.srcjar", ":admin_go_gapic_srcjar-test.srcjar", ":admin_go_proto", ], @@ -216,7 +209,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -225,12 +217,6 @@ php_proto_library( deps = [":admin_proto"], ) -php_grpc_library( - name = "admin_php_grpc", - srcs = [":admin_proto"], - deps = [":admin_php_proto"], -) - php_gapic_library( name = "admin_php_gapic", srcs = [":admin_proto_with_info"], @@ -238,10 +224,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "iam.yaml", transport = "grpc+rest", - deps = [ - ":admin_php_grpc", - ":admin_php_proto", - ], + deps = [":admin_php_proto"], ) # Open Source Packages @@ -249,7 +232,6 @@ php_gapic_assembly_pkg( name = "google-cloud-iam-admin-v1-php", deps = [ ":admin_php_gapic", - ":admin_php_grpc", ":admin_php_proto", ], ) @@ -313,6 +295,7 @@ ruby_cloud_gapic_library( grpc_service_config = "iam_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "iam.yaml", + transport = "grpc", deps = [ ":admin_ruby_grpc", ":admin_ruby_proto", diff --git a/third_party/googleapis/google/iam/admin/v1/audit_data.proto b/third_party/googleapis/google/iam/admin/v1/audit_data.proto index b5b6eec0c..066c12dee 100644 --- a/third_party/googleapis/google/iam/admin/v1/audit_data.proto +++ b/third_party/googleapis/google/iam/admin/v1/audit_data.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.iam.admin.v1; option csharp_namespace = "Google.Cloud.Iam.Admin.V1"; -option go_package = "google.golang.org/genproto/googleapis/iam/admin/v1;admin"; +option go_package = "cloud.google.com/go/iam/admin/apiv1/adminpb;adminpb"; option java_multiple_files = true; option java_outer_classname = "AuditDataProto"; option java_package = "com.google.iam.admin.v1"; diff --git a/third_party/googleapis/google/iam/admin/v1/iam.proto b/third_party/googleapis/google/iam/admin/v1/iam.proto index a93382362..5608c01a6 100644 --- a/third_party/googleapis/google/iam/admin/v1/iam.proto +++ b/third_party/googleapis/google/iam/admin/v1/iam.proto @@ -29,7 +29,7 @@ import "google/type/expr.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Iam.Admin.V1"; -option go_package = "google.golang.org/genproto/googleapis/iam/admin/v1;admin"; +option go_package = "cloud.google.com/go/iam/admin/apiv1/adminpb;adminpb"; option java_multiple_files = true; option java_package = "com.google.iam.admin.v1"; option php_namespace = "Google\\Cloud\\Iam\\Admin\\V1"; diff --git a/third_party/googleapis/google/iam/credentials/BUILD.bazel b/third_party/googleapis/google/iam/credentials/BUILD.bazel index 49307525c..f3483e027 100644 --- a/third_party/googleapis/google/iam/credentials/BUILD.bazel +++ b/third_party/googleapis/google/iam/credentials/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-iam-credentials", "ruby-cloud-env-prefix=IAM_CREDENTIALS", - "ruby-cloud-wrapper-of=v1:0.3", + "ruby-cloud-wrapper-of=v1:0.8", "ruby-cloud-product-url=https://cloud.google.com/iam", "ruby-cloud-api-id=iamcredentials.googleapis.com", "ruby-cloud-api-shortname=iamcredentials", ], ruby_cloud_description = "The Service Account Credentials API creates short-lived credentials for Identity and Access Management (IAM) service accounts. You can also use this API to sign JSON Web Tokens (JWTs), as well as blobs of binary data that contain other types of tokens.", ruby_cloud_title = "IAM Service Account Credentials", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/iam/credentials/v1/BUILD.bazel b/third_party/googleapis/google/iam/credentials/v1/BUILD.bazel index 06453e597..d535d46ef 100644 --- a/third_party/googleapis/google/iam/credentials/v1/BUILD.bazel +++ b/third_party/googleapis/google/iam/credentials/v1/BUILD.bazel @@ -15,7 +15,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -25,7 +24,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -80,6 +78,7 @@ java_gapic_library( srcs = [":credentials_proto_with_info"], grpc_service_config = "iamcredentials_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "iamcredentials_v1.yaml", test_deps = [ ":credentials_java_grpc", ], @@ -114,7 +113,7 @@ java_gapic_assembly_gradle_pkg( go_proto_library( name = "credentials_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/iam/credentials/v1", + importpath = "cloud.google.com/go/iam/credentials/apiv1/credentialspb", protos = [":credentials_proto"], deps = [ "//google/api:annotations_go_proto", @@ -126,6 +125,7 @@ go_gapic_library( srcs = [":credentials_proto_with_info"], grpc_service_config = "iamcredentials_grpc_service_config.json", importpath = "cloud.google.com/go/iam/credentials/apiv1;credentials", + release_level = "ga", rest_numeric_enums = True, service_yaml = "iamcredentials_v1.yaml", transport = "grpc+rest", @@ -135,18 +135,12 @@ go_gapic_library( ], ) -go_test( - name = "credentials_go_gapic_test", - srcs = [":credentials_go_gapic_srcjar_test"], - embed = [":credentials_go_gapic"], - importpath = "cloud.google.com/go/iam/credentials/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-iam-credentials-v1-go", deps = [ ":credentials_go_gapic", + ":credentials_go_gapic_srcjar-snippets.srcjar", ":credentials_go_gapic_srcjar-test.srcjar", ":credentials_go_proto", ], @@ -188,23 +182,15 @@ php_proto_library( deps = [":credentials_proto"], ) -php_grpc_library( - name = "credentials_php_grpc", - srcs = [":credentials_proto"], - deps = [":credentials_php_proto"], -) - php_gapic_library( name = "credentials_php_gapic", srcs = [":credentials_proto_with_info"], grpc_service_config = "iamcredentials_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "iamcredentials_v1.yaml", transport = "grpc+rest", - deps = [ - ":credentials_php_grpc", - ":credentials_php_proto", - ], + deps = [":credentials_php_proto"], ) # Open Source Packages @@ -212,7 +198,6 @@ php_gapic_assembly_pkg( name = "google-cloud-iam-credentials-v1-php", deps = [ ":credentials_php_gapic", - ":credentials_php_grpc", ":credentials_php_proto", ], ) @@ -264,6 +249,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "The Service Account Credentials API creates short-lived credentials for Identity and Access Management (IAM) service accounts. You can also use this API to sign JSON Web Tokens (JWTs), as well as blobs of binary data that contain other types of tokens.", ruby_cloud_title = "IAM Service Account Credentials V1", service_yaml = "iamcredentials_v1.yaml", + transport = "grpc+rest", deps = [ ":credentials_ruby_grpc", ":credentials_ruby_proto", diff --git a/third_party/googleapis/google/iam/credentials/v1/common.proto b/third_party/googleapis/google/iam/credentials/v1/common.proto index 17fc46009..5f2d0fdc7 100644 --- a/third_party/googleapis/google/iam/credentials/v1/common.proto +++ b/third_party/googleapis/google/iam/credentials/v1/common.proto @@ -23,7 +23,7 @@ import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Iam.Credentials.V1"; -option go_package = "google.golang.org/genproto/googleapis/iam/credentials/v1;credentials"; +option go_package = "cloud.google.com/go/iam/credentials/apiv1/credentialspb;credentialspb"; option java_multiple_files = true; option java_outer_classname = "IAMCredentialsCommonProto"; option java_package = "com.google.cloud.iam.credentials.v1"; diff --git a/third_party/googleapis/google/iam/credentials/v1/iamcredentials.proto b/third_party/googleapis/google/iam/credentials/v1/iamcredentials.proto index cd09fe451..4bbd1a16f 100644 --- a/third_party/googleapis/google/iam/credentials/v1/iamcredentials.proto +++ b/third_party/googleapis/google/iam/credentials/v1/iamcredentials.proto @@ -22,7 +22,7 @@ import "google/iam/credentials/v1/common.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Iam.Credentials.V1"; -option go_package = "google.golang.org/genproto/googleapis/iam/credentials/v1;credentials"; +option go_package = "cloud.google.com/go/iam/credentials/apiv1/credentialspb;credentialspb"; option java_multiple_files = true; option java_outer_classname = "IAMCredentialsProto"; option java_package = "com.google.cloud.iam.credentials.v1"; diff --git a/third_party/googleapis/google/iam/v1/BUILD.bazel b/third_party/googleapis/google/iam/v1/BUILD.bazel index 438e4c5c7..87f5dfcb5 100644 --- a/third_party/googleapis/google/iam/v1/BUILD.bazel +++ b/third_party/googleapis/google/iam/v1/BUILD.bazel @@ -12,10 +12,13 @@ load( "csharp_grpc_library", "csharp_proto_library", "go_gapic_assembly_pkg", + "go_gapic_library", "go_proto_library", "java_gapic_assembly_gradle_pkg", "java_grpc_library", "java_proto_library", + "php_gapic_assembly_pkg", + "php_proto_library", "proto_library_with_info", "py_proto_library", "ruby_cloud_gapic_library", @@ -90,15 +93,16 @@ java_gapic_assembly_gradle_pkg( include_samples = True, transport = "grpc+rest", deps = [ - "iam_java_grpc", - "iam_java_proto", + ":iam_java_grpc", + ":iam_java_proto", + ":iam_policy_proto", ], ) go_proto_library( name = "iam_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/iam/v1", + importpath = "cloud.google.com/go/iam/apiv1/iampb", protos = [ ":iam_policy_proto", ":options_proto", @@ -110,9 +114,27 @@ go_proto_library( ], ) +# Manual addition for owlbot migration. +go_gapic_library( + name = "iam_go_gapic", + srcs = [":iam_proto_with_info"], + grpc_service_config = None, + importpath = "cloud.google.com/go/iam/apiv1;iam", + metadata = True, + release_level = "ga", + rest_numeric_enums = True, + service_yaml = "iam_meta_api.yaml", + transport = "grpc+rest", + deps = [":iam_go_proto"], +) + go_gapic_assembly_pkg( name = "gapi-cloud-iam-v1-go", deps = [ + ":iam_go_gapic", + ":iam_go_gapic_srcjar-metadata.srcjar", + ":iam_go_gapic_srcjar-snippets.srcjar", + ":iam_go_gapic_srcjar-test.srcjar", ":iam_go_proto", ], ) @@ -154,6 +176,21 @@ py_proto_library( deps = [":options_proto"], ) +php_proto_library( + name = "iam_php_proto", + deps = [ + ":iam_policy_proto", + ":options_proto", + ":policy_proto", + ], +) + +# Open Source Packages +php_gapic_assembly_pkg( + name = "google-iam-v1-php", + deps = [":iam_php_proto"], +) + ruby_proto_library( name = "iam_ruby_proto", deps = [ diff --git a/third_party/googleapis/google/iam/v1/iam_policy.proto b/third_party/googleapis/google/iam/v1/iam_policy.proto index 402b3459c..10c65f968 100644 --- a/third_party/googleapis/google/iam/v1/iam_policy.proto +++ b/third_party/googleapis/google/iam/v1/iam_policy.proto @@ -26,7 +26,7 @@ import "google/protobuf/field_mask.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Iam.V1"; -option go_package = "google.golang.org/genproto/googleapis/iam/v1;iam"; +option go_package = "cloud.google.com/go/iam/apiv1/iampb;iampb"; option java_multiple_files = true; option java_outer_classname = "IamPolicyProto"; option java_package = "com.google.iam.v1"; diff --git a/third_party/googleapis/google/iam/v1/logging/BUILD.bazel b/third_party/googleapis/google/iam/v1/logging/BUILD.bazel index 5a079bec9..690d26911 100644 --- a/third_party/googleapis/google/iam/v1/logging/BUILD.bazel +++ b/third_party/googleapis/google/iam/v1/logging/BUILD.bazel @@ -46,7 +46,7 @@ load( go_proto_library( name = "logging_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/iam/v1/logging", + importpath = "cloud.google.com/go/iam/apiv1/logging/loggingpb", protos = [":audit_data_proto"], deps = [ "//google/api:annotations_go_proto", @@ -90,6 +90,26 @@ py_gapic_assembly_pkg( ], ) +############################################################################## +# PHP +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "php_gapic_assembly_pkg", + "php_proto_library", +) + +php_proto_library( + name = "logging_php_proto", + deps = [":audit_data_proto"], +) + +# Open Source Packages +php_gapic_assembly_pkg( + name = "google-iam-v1-logging-php", + deps = [":logging_php_proto"], +) + ############################################################################## # C++ ############################################################################## diff --git a/third_party/googleapis/google/iam/v1/logging/audit_data.proto b/third_party/googleapis/google/iam/v1/logging/audit_data.proto index b0fdff05b..ee5550c74 100644 --- a/third_party/googleapis/google/iam/v1/logging/audit_data.proto +++ b/third_party/googleapis/google/iam/v1/logging/audit_data.proto @@ -19,7 +19,7 @@ package google.iam.v1.logging; import "google/iam/v1/policy.proto"; option csharp_namespace = "Google.Cloud.Iam.V1.Logging"; -option go_package = "google.golang.org/genproto/googleapis/iam/v1/logging;logging"; +option go_package = "cloud.google.com/go/iam/apiv1/logging/loggingpb;loggingpb"; option java_multiple_files = true; option java_outer_classname = "AuditDataProto"; option java_package = "com.google.iam.v1.logging"; diff --git a/third_party/googleapis/google/iam/v1/options.proto b/third_party/googleapis/google/iam/v1/options.proto index 4c94a36e5..84e9c4736 100644 --- a/third_party/googleapis/google/iam/v1/options.proto +++ b/third_party/googleapis/google/iam/v1/options.proto @@ -18,7 +18,7 @@ package google.iam.v1; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Iam.V1"; -option go_package = "google.golang.org/genproto/googleapis/iam/v1;iam"; +option go_package = "cloud.google.com/go/iam/apiv1/iampb;iampb"; option java_multiple_files = true; option java_outer_classname = "OptionsProto"; option java_package = "com.google.iam.v1"; diff --git a/third_party/googleapis/google/iam/v1/policy.proto b/third_party/googleapis/google/iam/v1/policy.proto index 347ae7824..2386563b3 100644 --- a/third_party/googleapis/google/iam/v1/policy.proto +++ b/third_party/googleapis/google/iam/v1/policy.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,7 +20,7 @@ import "google/type/expr.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Iam.V1"; -option go_package = "google.golang.org/genproto/googleapis/iam/v1;iam"; +option go_package = "cloud.google.com/go/iam/apiv1/iampb;iampb"; option java_multiple_files = true; option java_outer_classname = "PolicyProto"; option java_package = "com.google.iam.v1"; @@ -41,10 +41,12 @@ option php_namespace = "Google\\Cloud\\Iam\\V1"; // only if the expression evaluates to `true`. A condition can add constraints // based on attributes of the request, the resource, or both. To learn which // resources support conditions in their IAM policies, see the -// [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). +// [IAM +// documentation](https://cloud.google.com/iam/help/conditions/resource-policies). // // **JSON example:** // +// ``` // { // "bindings": [ // { @@ -64,16 +66,19 @@ option php_namespace = "Google\\Cloud\\Iam\\V1"; // "condition": { // "title": "expirable access", // "description": "Does not grant access after Sep 2020", -// "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", +// "expression": "request.time < +// timestamp('2020-10-01T00:00:00.000Z')", // } // } // ], // "etag": "BwWWja0YfJA=", // "version": 3 // } +// ``` // // **YAML example:** // +// ``` // bindings: // - members: // - user:mike@example.com @@ -90,6 +95,7 @@ option php_namespace = "Google\\Cloud\\Iam\\V1"; // expression: request.time < timestamp('2020-10-01T00:00:00.000Z') // etag: BwWWja0YfJA= // version: 3 +// ``` // // For a description of IAM and its features, see the // [IAM documentation](https://cloud.google.com/iam/docs/). @@ -117,7 +123,8 @@ message Policy { // specify any valid version or leave the field unset. // // To learn which resources support conditions in their IAM policies, see the - // [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + // [IAM + // documentation](https://cloud.google.com/iam/help/conditions/resource-policies). int32 version = 1; // Associates a list of `members`, or principals, with a `role`. Optionally, @@ -156,7 +163,7 @@ message Binding { // For example, `roles/viewer`, `roles/editor`, or `roles/owner`. string role = 1; - // Specifies the principals requesting access for a Cloud Platform resource. + // Specifies the principals requesting access for a Google Cloud resource. // `members` can have the following values: // // * `allUsers`: A special identifier that represents anyone who is @@ -266,8 +273,8 @@ message Binding { // } // // For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ -// logging. It also exempts jose@example.com from DATA_READ logging, and -// aliya@example.com from DATA_WRITE logging. +// logging. It also exempts `jose@example.com` from DATA_READ logging, and +// `aliya@example.com` from DATA_WRITE logging. message AuditConfig { // Specifies a service that will be enabled for audit logging. // For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. @@ -319,7 +326,8 @@ message AuditLogConfig { // Specifies the identities that do not cause logging for this type of // permission. - // Follows the same format of [Binding.members][google.iam.v1.Binding.members]. + // Follows the same format of + // [Binding.members][google.iam.v1.Binding.members]. repeated string exempted_members = 2; } @@ -356,7 +364,7 @@ message BindingDelta { // Required string role = 2; - // A single identity requesting access for a Cloud Platform resource. + // A single identity requesting access for a Google Cloud resource. // Follows the same format of Binding.members. // Required string member = 3; diff --git a/third_party/googleapis/google/iam/v1beta/BUILD.bazel b/third_party/googleapis/google/iam/v1beta/BUILD.bazel index 1b0ee4366..2a08e2fd0 100644 --- a/third_party/googleapis/google/iam/v1beta/BUILD.bazel +++ b/third_party/googleapis/google/iam/v1beta/BUILD.bazel @@ -22,7 +22,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -32,7 +31,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -87,6 +85,7 @@ java_gapic_library( gapic_yaml = "iam_gapic.yaml", grpc_service_config = "iam_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "iam_v1beta.yaml", test_deps = [ ":iam_java_grpc", ], @@ -120,7 +119,7 @@ java_gapic_assembly_gradle_pkg( go_proto_library( name = "iam_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/iam/v1beta", + importpath = "cloud.google.com/go/iam/apiv1beta/iampb", protos = [":iam_proto"], deps = [ "//google/api:annotations_go_proto", @@ -144,18 +143,12 @@ go_gapic_library( ], ) -go_test( - name = "iam_go_gapic_test", - srcs = [":iam_go_gapic_srcjar_test"], - embed = [":iam_go_gapic"], - importpath = "cloud.google.com/go/iam/apiv1beta", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-iam-v1beta-go", deps = [ ":iam_go_gapic", + ":iam_go_gapic_srcjar-snippets.srcjar", ":iam_go_gapic_srcjar-test.srcjar", ":iam_go_proto", ], @@ -193,12 +186,6 @@ php_proto_library( deps = [":iam_proto"], ) -php_grpc_library( - name = "iam_php_grpc", - srcs = [":iam_proto"], - deps = [":iam_php_proto"], -) - php_gapic_library( name = "iam_php_gapic", srcs = [":iam_proto_with_info"], @@ -206,10 +193,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "iam_v1beta.yaml", transport = "grpc+rest", - deps = [ - ":iam_php_grpc", - ":iam_php_proto", - ], + deps = [":iam_php_proto"], ) # Open Source Packages @@ -217,7 +201,6 @@ php_gapic_assembly_pkg( name = "google-iam-v1beta-php", deps = [ ":iam_php_gapic", - ":iam_php_grpc", ":iam_php_proto", ], ) @@ -268,6 +251,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Pre-release client for the WorkloadIdentityPools service.", ruby_cloud_title = "Google IAM V1beta", service_yaml = "iam_v1beta.yaml", + transport = "grpc", deps = [ ":iam_ruby_grpc", ":iam_ruby_proto", diff --git a/third_party/googleapis/google/iam/v1beta/workload_identity_pool.proto b/third_party/googleapis/google/iam/v1beta/workload_identity_pool.proto index 757a26103..f1b7f44c8 100644 --- a/third_party/googleapis/google/iam/v1beta/workload_identity_pool.proto +++ b/third_party/googleapis/google/iam/v1beta/workload_identity_pool.proto @@ -23,7 +23,7 @@ import "google/api/resource.proto"; import "google/longrunning/operations.proto"; import "google/protobuf/field_mask.proto"; -option go_package = "google.golang.org/genproto/googleapis/iam/v1beta;iam"; +option go_package = "cloud.google.com/go/iam/apiv1beta/iampb;iampb"; option java_multiple_files = true; option java_outer_classname = "WorkloadIdentityPoolProto"; option java_package = "com.google.iam.v1beta"; diff --git a/third_party/googleapis/google/iam/v2/BUILD.bazel b/third_party/googleapis/google/iam/v2/BUILD.bazel index ef4128499..942d0f182 100644 --- a/third_party/googleapis/google/iam/v2/BUILD.bazel +++ b/third_party/googleapis/google/iam/v2/BUILD.bazel @@ -34,6 +34,22 @@ proto_library( ], ) +proto_library( + name = "policy_proto", + srcs = [ + "deny.proto", + "policy.proto", + ], + deps = [ + "//google/api:annotations_proto", + "//google/api:client_proto", + "//google/api:field_behavior_proto", + "//google/longrunning:operations_proto", + "//google/type:expr_proto", + "@com_google_protobuf//:timestamp_proto", + ], +) + proto_library_with_info( name = "iam_proto_with_info", deps = [ @@ -112,13 +128,12 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( name = "iam_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/iam/v2", + importpath = "cloud.google.com/go/iam/apiv2/iampb", protos = [":iam_proto"], deps = [ "//google/api:annotations_go_proto", @@ -133,6 +148,7 @@ go_gapic_library( grpc_service_config = "iam_grpc_service_config.json", importpath = "cloud.google.com/go/iam/apiv2;iam", metadata = True, + release_level = "ga", rest_numeric_enums = True, service_yaml = "iam_v2.yaml", transport = "grpc+rest", @@ -144,19 +160,13 @@ go_gapic_library( ], ) -go_test( - name = "iam_go_gapic_test", - srcs = [":iam_go_gapic_srcjar_test"], - embed = [":iam_go_gapic"], - importpath = "cloud.google.com/go/iam/apiv2", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-iam-v2-go", deps = [ ":iam_go_gapic", ":iam_go_gapic_srcjar-metadata.srcjar", + ":iam_go_gapic_srcjar-snippets.srcjar", ":iam_go_gapic_srcjar-test.srcjar", ":iam_go_proto", ], @@ -169,9 +179,15 @@ load( "@com_google_googleapis_imports//:imports.bzl", "py_gapic_assembly_pkg", "py_gapic_library", + "py_proto_library", "py_test", ) +py_proto_library( + name = "iam_policy_py_proto", + deps = [":policy_proto"], +) + py_gapic_library( name = "iam_py_gapic", srcs = [":iam_proto"], @@ -213,7 +229,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -222,23 +237,15 @@ php_proto_library( deps = [":iam_proto"], ) -php_grpc_library( - name = "iam_php_grpc", - srcs = [":iam_proto"], - deps = [":iam_php_proto"], -) - php_gapic_library( name = "iam_php_gapic", srcs = [":iam_proto_with_info"], grpc_service_config = "iam_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "iam_v2.yaml", transport = "grpc+rest", - deps = [ - ":iam_php_grpc", - ":iam_php_proto", - ], + deps = [":iam_php_proto"], ) # Open Source Packages @@ -246,7 +253,6 @@ php_gapic_assembly_pkg( name = "google-cloud-iam-v2-php", deps = [ ":iam_php_gapic", - ":iam_php_grpc", ":iam_php_proto", ], ) @@ -318,6 +324,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Manages identity and access control policies for Google Cloud Platform resources.", ruby_cloud_title = "IAM V2", service_yaml = "iam_v2.yaml", + transport = "grpc+rest", deps = [ ":iam_ruby_grpc", ":iam_ruby_proto", diff --git a/third_party/googleapis/google/iam/v2/deny.proto b/third_party/googleapis/google/iam/v2/deny.proto index db9f15f89..a3c8ff14e 100644 --- a/third_party/googleapis/google/iam/v2/deny.proto +++ b/third_party/googleapis/google/iam/v2/deny.proto @@ -19,7 +19,7 @@ package google.iam.v2; import "google/type/expr.proto"; option csharp_namespace = "Google.Cloud.Iam.V2"; -option go_package = "google.golang.org/genproto/googleapis/iam/v2;iam"; +option go_package = "cloud.google.com/go/iam/apiv2/iampb;iampb"; option java_multiple_files = true; option java_outer_classname = "DenyRuleProto"; option java_package = "com.google.iam.v2"; diff --git a/third_party/googleapis/google/iam/v2/policy.proto b/third_party/googleapis/google/iam/v2/policy.proto index d8923d3b8..56f73da08 100644 --- a/third_party/googleapis/google/iam/v2/policy.proto +++ b/third_party/googleapis/google/iam/v2/policy.proto @@ -24,7 +24,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Iam.V2"; -option go_package = "google.golang.org/genproto/googleapis/iam/v2;iam"; +option go_package = "cloud.google.com/go/iam/apiv2/iampb;iampb"; option java_multiple_files = true; option java_outer_classname = "PolicyProto"; option java_package = "com.google.iam.v2"; diff --git a/third_party/googleapis/google/iam/v2beta/BUILD.bazel b/third_party/googleapis/google/iam/v2beta/BUILD.bazel index 8223644b2..8ccaec3f7 100644 --- a/third_party/googleapis/google/iam/v2beta/BUILD.bazel +++ b/third_party/googleapis/google/iam/v2beta/BUILD.bazel @@ -112,13 +112,12 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( name = "iam_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/iam/v2beta", + importpath = "cloud.google.com/go/iam/apiv2beta/iampb", protos = [":iam_proto"], deps = [ "//google/api:annotations_go_proto", @@ -144,19 +143,13 @@ go_gapic_library( ], ) -go_test( - name = "iam_go_gapic_test", - srcs = [":iam_go_gapic_srcjar_test"], - embed = [":iam_go_gapic"], - importpath = "cloud.google.com/go/iam/apiv2beta", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-iam-v2beta-go", deps = [ ":iam_go_gapic", ":iam_go_gapic_srcjar-metadata.srcjar", + ":iam_go_gapic_srcjar-snippets.srcjar", ":iam_go_gapic_srcjar-test.srcjar", ":iam_go_proto", ], @@ -213,7 +206,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -222,12 +214,6 @@ php_proto_library( deps = [":iam_proto"], ) -php_grpc_library( - name = "iam_php_grpc", - srcs = [":iam_proto"], - deps = [":iam_php_proto"], -) - php_gapic_library( name = "iam_php_gapic", srcs = [":iam_proto_with_info"], @@ -235,10 +221,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "iam_v2beta.yaml", transport = "grpc+rest", - deps = [ - ":iam_php_grpc", - ":iam_php_proto", - ], + deps = [":iam_php_proto"], ) # Open Source Packages @@ -246,7 +229,6 @@ php_gapic_assembly_pkg( name = "google-cloud-iam-v2beta-php", deps = [ ":iam_php_gapic", - ":iam_php_grpc", ":iam_php_proto", ], ) @@ -310,6 +292,7 @@ ruby_cloud_gapic_library( grpc_service_config = "iam_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "iam_v2beta.yaml", + transport = "grpc+rest", deps = [ ":iam_ruby_grpc", ":iam_ruby_proto", diff --git a/third_party/googleapis/google/iam/v2beta/deny.proto b/third_party/googleapis/google/iam/v2beta/deny.proto index 73ae7bbdf..4d6c27744 100644 --- a/third_party/googleapis/google/iam/v2beta/deny.proto +++ b/third_party/googleapis/google/iam/v2beta/deny.proto @@ -19,7 +19,7 @@ package google.iam.v2beta; import "google/type/expr.proto"; option csharp_namespace = "Google.Cloud.Iam.V2Beta"; -option go_package = "google.golang.org/genproto/googleapis/iam/v2beta;iam"; +option go_package = "cloud.google.com/go/iam/apiv2beta/iampb;iampb"; option java_multiple_files = true; option java_outer_classname = "DenyRuleProto"; option java_package = "com.google.iam.v2beta"; diff --git a/third_party/googleapis/google/iam/v2beta/policy.proto b/third_party/googleapis/google/iam/v2beta/policy.proto index 99df3db0a..9363573b1 100644 --- a/third_party/googleapis/google/iam/v2beta/policy.proto +++ b/third_party/googleapis/google/iam/v2beta/policy.proto @@ -24,7 +24,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Iam.V2Beta"; -option go_package = "google.golang.org/genproto/googleapis/iam/v2beta;iam"; +option go_package = "cloud.google.com/go/iam/apiv2beta/iampb;iampb"; option java_multiple_files = true; option java_outer_classname = "PolicyProto"; option java_package = "com.google.iam.v2beta"; diff --git a/third_party/googleapis/google/identity/accesscontextmanager/BUILD.bazel b/third_party/googleapis/google/identity/accesscontextmanager/BUILD.bazel index 01dd44fff..1cdf4dc12 100644 --- a/third_party/googleapis/google/identity/accesscontextmanager/BUILD.bazel +++ b/third_party/googleapis/google/identity/accesscontextmanager/BUILD.bazel @@ -21,13 +21,14 @@ ruby_cloud_gapic_library( srcs = ["//google/identity/accesscontextmanager/v1:accesscontextmanager_proto_with_info"], extra_protoc_parameters = [ "ruby-cloud-gem-name=google-identity-access_context_manager", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.7", "ruby-cloud-product-url=https://cloud.google.com/access-context-manager/", "ruby-cloud-api-id=accesscontextmanager.googleapis.com", "ruby-cloud-api-shortname=accesscontextmanager", ], ruby_cloud_description = "Access Context Manager allows enterprises to configure access levels which map to a policy defined on request attributes.", ruby_cloud_title = "Access Context Manager", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/identity/accesscontextmanager/type/BUILD.bazel b/third_party/googleapis/google/identity/accesscontextmanager/type/BUILD.bazel index b3d562791..a01c7734d 100644 --- a/third_party/googleapis/google/identity/accesscontextmanager/type/BUILD.bazel +++ b/third_party/googleapis/google/identity/accesscontextmanager/type/BUILD.bazel @@ -102,7 +102,6 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -111,20 +110,9 @@ php_proto_library( deps = [":type_proto"], ) -php_grpc_library( - name = "type_php_grpc", - srcs = [":type_proto"], - deps = [":type_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) ############################################################################## # Ruby diff --git a/third_party/googleapis/google/identity/accesscontextmanager/v1/BUILD.bazel b/third_party/googleapis/google/identity/accesscontextmanager/v1/BUILD.bazel index afe0e23a5..a49ba0267 100644 --- a/third_party/googleapis/google/identity/accesscontextmanager/v1/BUILD.bazel +++ b/third_party/googleapis/google/identity/accesscontextmanager/v1/BUILD.bazel @@ -161,13 +161,12 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( name = "accesscontextmanager_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/identity/accesscontextmanager/v1", + importpath = "cloud.google.com/go/accesscontextmanager/apiv1/accesscontextmanagerpb", protos = [":accesscontextmanager_proto"], deps = [ "//google/api:annotations_go_proto", @@ -182,8 +181,9 @@ go_gapic_library( name = "accesscontextmanager_go_gapic", srcs = [":accesscontextmanager_proto_with_info"], grpc_service_config = "accesscontextmanager_grpc_service_config.json", - importpath = "cloud.google.com/go/identity/accesscontextmanager/apiv1;accesscontextmanager", + importpath = "cloud.google.com/go/accesscontextmanager/apiv1;accesscontextmanager", metadata = True, + release_level = "ga", rest_numeric_enums = True, service_yaml = "accesscontextmanager_v1.yaml", transport = "grpc+rest", @@ -196,19 +196,13 @@ go_gapic_library( ], ) -go_test( - name = "accesscontextmanager_go_gapic_test", - srcs = [":accesscontextmanager_go_gapic_srcjar_test"], - embed = [":accesscontextmanager_go_gapic"], - importpath = "cloud.google.com/go/identity/accesscontextmanager/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-identity-accesscontextmanager-v1-go", deps = [ ":accesscontextmanager_go_gapic", ":accesscontextmanager_go_gapic_srcjar-metadata.srcjar", + ":accesscontextmanager_go_gapic_srcjar-snippets.srcjar", ":accesscontextmanager_go_gapic_srcjar-test.srcjar", ":accesscontextmanager_go_proto", ], @@ -222,7 +216,6 @@ load( "py_gapic_assembly_pkg", "py_gapic_library", "py_proto_library", - "py_test", ) py_proto_library( @@ -278,7 +271,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -287,23 +279,15 @@ php_proto_library( deps = [":accesscontextmanager_proto"], ) -php_grpc_library( - name = "accesscontextmanager_php_grpc", - srcs = [":accesscontextmanager_proto"], - deps = [":accesscontextmanager_php_proto"], -) - php_gapic_library( name = "accesscontextmanager_php_gapic", srcs = [":accesscontextmanager_proto_with_info"], grpc_service_config = "accesscontextmanager_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "accesscontextmanager_v1.yaml", transport = "grpc+rest", - deps = [ - ":accesscontextmanager_php_grpc", - ":accesscontextmanager_php_proto", - ], + deps = [":accesscontextmanager_php_proto"], ) # Open Source Packages @@ -311,7 +295,6 @@ php_gapic_assembly_pkg( name = "google-cloud-identity-accesscontextmanager-v1-php", deps = [ ":accesscontextmanager_php_gapic", - ":accesscontextmanager_php_grpc", ":accesscontextmanager_php_proto", ], ) @@ -386,6 +369,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Access Context Manager allows enterprises to configure access levels which map to a policy defined on request attributes.", ruby_cloud_title = "Access Context Manager V1", service_yaml = "accesscontextmanager_v1.yaml", + transport = "grpc+rest", deps = [ ":accesscontextmanager_ruby_grpc", ":accesscontextmanager_ruby_proto", diff --git a/third_party/googleapis/google/identity/accesscontextmanager/v1/access_context_manager.proto b/third_party/googleapis/google/identity/accesscontextmanager/v1/access_context_manager.proto index 3a71d81f3..c2ea6103b 100644 --- a/third_party/googleapis/google/identity/accesscontextmanager/v1/access_context_manager.proto +++ b/third_party/googleapis/google/identity/accesscontextmanager/v1/access_context_manager.proto @@ -30,7 +30,7 @@ import "google/longrunning/operations.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Identity.AccessContextManager.V1"; -option go_package = "google.golang.org/genproto/googleapis/identity/accesscontextmanager/v1;accesscontextmanager"; +option go_package = "cloud.google.com/go/accesscontextmanager/apiv1/accesscontextmanagerpb;accesscontextmanagerpb"; option java_multiple_files = true; option java_outer_classname = "AccessContextManagerProto"; option java_package = "com.google.identity.accesscontextmanager.v1"; diff --git a/third_party/googleapis/google/identity/accesscontextmanager/v1/access_level.proto b/third_party/googleapis/google/identity/accesscontextmanager/v1/access_level.proto index b7b9c75c6..9c2db6c74 100644 --- a/third_party/googleapis/google/identity/accesscontextmanager/v1/access_level.proto +++ b/third_party/googleapis/google/identity/accesscontextmanager/v1/access_level.proto @@ -22,7 +22,7 @@ import "google/protobuf/timestamp.proto"; import "google/type/expr.proto"; option csharp_namespace = "Google.Identity.AccessContextManager.V1"; -option go_package = "google.golang.org/genproto/googleapis/identity/accesscontextmanager/v1;accesscontextmanager"; +option go_package = "cloud.google.com/go/accesscontextmanager/apiv1/accesscontextmanagerpb;accesscontextmanagerpb"; option java_multiple_files = true; option java_outer_classname = "AccessLevelProto"; option java_package = "com.google.identity.accesscontextmanager.v1"; diff --git a/third_party/googleapis/google/identity/accesscontextmanager/v1/access_policy.proto b/third_party/googleapis/google/identity/accesscontextmanager/v1/access_policy.proto index 747464784..86d6541af 100644 --- a/third_party/googleapis/google/identity/accesscontextmanager/v1/access_policy.proto +++ b/third_party/googleapis/google/identity/accesscontextmanager/v1/access_policy.proto @@ -20,7 +20,7 @@ import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Identity.AccessContextManager.V1"; -option go_package = "google.golang.org/genproto/googleapis/identity/accesscontextmanager/v1;accesscontextmanager"; +option go_package = "cloud.google.com/go/accesscontextmanager/apiv1/accesscontextmanagerpb;accesscontextmanagerpb"; option java_multiple_files = true; option java_outer_classname = "PolicyProto"; option java_package = "com.google.identity.accesscontextmanager.v1"; diff --git a/third_party/googleapis/google/identity/accesscontextmanager/v1/gcp_user_access_binding.proto b/third_party/googleapis/google/identity/accesscontextmanager/v1/gcp_user_access_binding.proto index 5dbded9cc..4a296d572 100644 --- a/third_party/googleapis/google/identity/accesscontextmanager/v1/gcp_user_access_binding.proto +++ b/third_party/googleapis/google/identity/accesscontextmanager/v1/gcp_user_access_binding.proto @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; option csharp_namespace = "Google.Identity.AccessContextManager.V1"; -option go_package = "google.golang.org/genproto/googleapis/identity/accesscontextmanager/v1;accesscontextmanager"; +option go_package = "cloud.google.com/go/accesscontextmanager/apiv1/accesscontextmanagerpb;accesscontextmanagerpb"; option java_multiple_files = true; option java_outer_classname = "GcpUserAccessBindingProto"; option java_package = "com.google.identity.accesscontextmanager.v1"; diff --git a/third_party/googleapis/google/identity/accesscontextmanager/v1/service_perimeter.proto b/third_party/googleapis/google/identity/accesscontextmanager/v1/service_perimeter.proto index c0851cbe1..03c324dbf 100644 --- a/third_party/googleapis/google/identity/accesscontextmanager/v1/service_perimeter.proto +++ b/third_party/googleapis/google/identity/accesscontextmanager/v1/service_perimeter.proto @@ -20,7 +20,7 @@ import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Identity.AccessContextManager.V1"; -option go_package = "google.golang.org/genproto/googleapis/identity/accesscontextmanager/v1;accesscontextmanager"; +option go_package = "cloud.google.com/go/accesscontextmanager/apiv1/accesscontextmanagerpb;accesscontextmanagerpb"; option java_multiple_files = true; option java_outer_classname = "ServicePerimeterProto"; option java_package = "com.google.identity.accesscontextmanager.v1"; diff --git a/third_party/googleapis/google/logging/type/BUILD.bazel b/third_party/googleapis/google/logging/type/BUILD.bazel index bf3bbe4aa..e7089a3e2 100644 --- a/third_party/googleapis/google/logging/type/BUILD.bazel +++ b/third_party/googleapis/google/logging/type/BUILD.bazel @@ -15,7 +15,6 @@ proto_library( "log_severity.proto", ], deps = [ - "//google/api:annotations_proto", "@com_google_protobuf//:duration_proto", ], ) @@ -26,7 +25,6 @@ proto_library( load( "@com_google_googleapis_imports//:imports.bzl", "java_gapic_assembly_gradle_pkg", - "java_grpc_library", "java_proto_library", ) @@ -35,12 +33,6 @@ java_proto_library( deps = [":type_proto"], ) -java_grpc_library( - name = "type_java_grpc", - srcs = [":type_proto"], - deps = [":type_java_proto"], -) - # Please DO-NOT-REMOVE this section. # This is required to generate java files for these protos. # Open Source Packages @@ -48,7 +40,6 @@ java_gapic_assembly_gradle_pkg( name = "google-logging-type-java", transport = "grpc+rest", deps = [ - ":type_java_grpc", ":type_java_proto", ":type_proto", ], @@ -59,6 +50,7 @@ java_gapic_assembly_gradle_pkg( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", + "go_gapic_assembly_pkg", "go_proto_library", ) @@ -68,7 +60,13 @@ go_proto_library( importpath = "google.golang.org/genproto/googleapis/logging/type", protos = [":type_proto"], deps = [ - "//google/api:annotations_go_proto", + ], +) + +go_gapic_assembly_pkg( + name = "logging-type-go", + deps = [ + ":type_go_proto", ], ) @@ -86,7 +84,6 @@ moved_proto_library( name = "type_moved_proto", srcs = [":type_proto"], deps = [ - "//google/api:annotations_proto", "@com_google_protobuf//:duration_proto", ], ) @@ -107,7 +104,7 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", + "php_gapic_assembly_pkg", "php_proto_library", ) @@ -116,20 +113,19 @@ php_proto_library( deps = [":type_proto"], ) -php_grpc_library( - name = "type_php_grpc", - srcs = [":type_proto"], - deps = [":type_php_proto"], +# Please DO-NOT-REMOVE this section. +# This is required to generate php files for these protos. +# Open Source Packages +php_gapic_assembly_pkg( + name = "google-logging-type-php", + deps = [ + ":type_php_proto", + ], ) ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) ############################################################################## # Ruby diff --git a/third_party/googleapis/google/logging/type/http_request.proto b/third_party/googleapis/google/logging/type/http_request.proto index b878d60dc..425a09d6e 100644 --- a/third_party/googleapis/google/logging/type/http_request.proto +++ b/third_party/googleapis/google/logging/type/http_request.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -67,7 +67,7 @@ message HttpRequest { // The referer URL of the request, as defined in // [HTTP/1.1 Header Field - // Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html). + // Definitions](https://datatracker.ietf.org/doc/html/rfc2616#section-14.36). string referer = 8; // The request processing latency on the server, from the time the request was diff --git a/third_party/googleapis/google/logging/type/log_severity.proto b/third_party/googleapis/google/logging/type/log_severity.proto index bed71935f..674012581 100644 --- a/third_party/googleapis/google/logging/type/log_severity.proto +++ b/third_party/googleapis/google/logging/type/log_severity.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/third_party/googleapis/google/logging/v2/BUILD.bazel b/third_party/googleapis/google/logging/v2/BUILD.bazel index 78cb2dc65..c4ccd454e 100644 --- a/third_party/googleapis/google/logging/v2/BUILD.bazel +++ b/third_party/googleapis/google/logging/v2/BUILD.bazel @@ -9,44 +9,14 @@ # * 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"]) + ############################################################################## # Common ############################################################################## load("@rules_proto//proto:defs.bzl", "proto_library") -load( - "@com_google_googleapis_imports//:imports.bzl", - "cc_grpc_library", - "cc_proto_library", - "csharp_gapic_assembly_pkg", - "csharp_gapic_library", - "csharp_grpc_library", - "csharp_proto_library", - "go_gapic_assembly_pkg", - "go_gapic_library", - "go_proto_library", - "go_test", - "java_gapic_assembly_gradle_pkg", - "java_gapic_library", - "java_gapic_test", - "java_grpc_library", - "java_proto_library", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", - "php_gapic_assembly_pkg", - "php_gapic_library", - "php_grpc_library", - "php_proto_library", - "proto_library_with_info", - "py_gapic_assembly_pkg", - "py_gapic_library", - "ruby_cloud_gapic_library", - "ruby_gapic_assembly_pkg", - "ruby_grpc_library", - "ruby_proto_library", -) - -# This is an API workspace, having public visibility by default makes perfect sense. -package(default_visibility = ["//visibility:public"]) +load("@com_google_googleapis_imports//:imports.bzl", "proto_library_with_info") proto_library( name = "logging_proto", @@ -84,6 +54,18 @@ proto_library_with_info( ], ) +############################################################################## +# Java +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "java_gapic_assembly_gradle_pkg", + "java_gapic_library", + "java_gapic_test", + "java_grpc_library", + "java_proto_library", +) + java_proto_library( name = "logging_java_proto", deps = [":logging_proto"], @@ -135,10 +117,20 @@ java_gapic_assembly_gradle_pkg( ], ) +############################################################################## +# Go +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "go_gapic_assembly_pkg", + "go_gapic_library", + "go_proto_library", +) + go_proto_library( name = "logging_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/logging/v2", + importpath = "cloud.google.com/go/logging/apiv2/loggingpb", protos = [":logging_proto"], deps = [ "//google/api:annotations_go_proto", @@ -157,6 +149,7 @@ go_gapic_library( grpc_service_config = "logging_grpc_service_config.json", importpath = "cloud.google.com/go/logging/apiv2;logging", metadata = True, + release_level = "ga", rest_numeric_enums = True, service_yaml = "logging_v2.yaml", transport = "grpc", @@ -173,24 +166,28 @@ go_gapic_library( ], ) -go_test( - name = "logging_go_gapic_test", - srcs = [":logging_go_gapic_srcjar_test"], - embed = [":logging_go_gapic"], - importpath = "cloud.google.com/go/logging/apiv2", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-logging-v2-go", deps = [ ":logging_go_gapic", ":logging_go_gapic_srcjar-metadata.srcjar", + ":logging_go_gapic_srcjar-snippets.srcjar", ":logging_go_gapic_srcjar-test.srcjar", ":logging_go_proto", ], ) +############################################################################## +# Python +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "py_gapic_assembly_pkg", + "py_gapic_library", + "py_test", +) + py_gapic_library( name = "logging_py_gapic", srcs = [":logging_proto"], @@ -202,18 +199,19 @@ py_gapic_library( rest_numeric_enums = True, service_yaml = "logging_v2.yaml", transport = "grpc", + deps = [ + ], ) -# Uncomment once https://github.com/googleapis/gapic-generator-python/issues/1359 is fixed -#py_test( -# name = "logging_py_gapic_test", -# srcs = [ -# "logging_py_gapic_pytest.py", -# "logging_py_gapic_test.py", -# ], -# legacy_create_init = False, -# deps = [":logging_py_gapic"], -#) +py_test( + name = "logging_py_gapic_test", + srcs = [ + "logging_py_gapic_pytest.py", + "logging_py_gapic_test.py", + ], + legacy_create_init = False, + deps = [":logging_py_gapic"], +) # Open Source Packages py_gapic_assembly_pkg( @@ -223,29 +221,31 @@ py_gapic_assembly_pkg( ], ) +############################################################################## +# PHP +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "php_gapic_assembly_pkg", + "php_gapic_library", + "php_proto_library", +) + php_proto_library( name = "logging_php_proto", deps = [":logging_proto"], ) -php_grpc_library( - name = "logging_php_grpc", - srcs = [":logging_proto"], - deps = [":logging_php_proto"], -) - php_gapic_library( name = "logging_php_gapic", srcs = [":logging_proto_with_info"], gapic_yaml = "logging_gapic.yaml", grpc_service_config = "logging_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "logging_v2.yaml", transport = "grpc+rest", - deps = [ - ":logging_php_grpc", - ":logging_php_proto", - ], + deps = [":logging_php_proto"], ) # Open Source Packages @@ -253,11 +253,19 @@ php_gapic_assembly_pkg( name = "google-cloud-logging-v2-php", deps = [ ":logging_php_gapic", - ":logging_php_grpc", ":logging_php_proto", ], ) +############################################################################## +# Node.js +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "nodejs_gapic_assembly_pkg", + "nodejs_gapic_library", +) + nodejs_gapic_library( name = "logging_nodejs_gapic", package_name = "@google-cloud/logging", @@ -278,9 +286,21 @@ nodejs_gapic_assembly_pkg( deps = [ ":logging_nodejs_gapic", ":logging_proto", + "//google/logging/type:type_proto", ], ) +############################################################################## +# Ruby +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "ruby_cloud_gapic_library", + "ruby_gapic_assembly_pkg", + "ruby_grpc_library", + "ruby_proto_library", +) + ruby_proto_library( name = "logging_ruby_proto", deps = [":logging_proto"], @@ -309,6 +329,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "The Cloud Logging API lets you programmatically read and write log entries, set up exclusions, create logs-based metrics, and manage export sinks.", ruby_cloud_title = "Cloud Logging V2", service_yaml = "logging_v2.yaml", + transport = "grpc", deps = [ ":logging_ruby_grpc", ":logging_ruby_proto", @@ -325,6 +346,17 @@ ruby_gapic_assembly_pkg( ], ) +############################################################################## +# C# +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "csharp_gapic_assembly_pkg", + "csharp_gapic_library", + "csharp_grpc_library", + "csharp_proto_library", +) + csharp_proto_library( name = "logging_csharp_proto", deps = [":logging_proto"], @@ -360,6 +392,15 @@ csharp_gapic_assembly_pkg( ], ) +############################################################################## +# C++ +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "cc_grpc_library", + "cc_proto_library", +) + cc_proto_library( name = "logging_cc_proto", deps = [":logging_proto"], diff --git a/third_party/googleapis/google/logging/v2/log_entry.proto b/third_party/googleapis/google/logging/v2/log_entry.proto index 997129369..94c5cdff8 100644 --- a/third_party/googleapis/google/logging/v2/log_entry.proto +++ b/third_party/googleapis/google/logging/v2/log_entry.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -27,7 +27,7 @@ import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Logging.V2"; -option go_package = "google.golang.org/genproto/googleapis/logging/v2;logging"; +option go_package = "cloud.google.com/go/logging/apiv2/loggingpb;loggingpb"; option java_multiple_files = true; option java_outer_classname = "LogEntryProto"; option java_package = "com.google.logging.v2"; @@ -75,7 +75,8 @@ message LogEntry { // Example: a log entry that reports a database error would be associated with // the monitored resource designating the particular database that reported // the error. - google.api.MonitoredResource resource = 8 [(google.api.field_behavior) = REQUIRED]; + google.api.MonitoredResource resource = 8 + [(google.api.field_behavior) = REQUIRED]; // The log entry payload, which can be one of multiple types. oneof payload { @@ -97,27 +98,32 @@ message LogEntry { google.protobuf.Struct json_payload = 6; } - // Optional. The time the event described by the log entry occurred. This time is used - // to compute the log entry's age and to enforce the logs retention period. - // If this field is omitted in a new log entry, then Logging assigns it the - // current time. Timestamps have nanosecond accuracy, but trailing zeros in - // the fractional seconds might be omitted when the timestamp is displayed. + // Optional. The time the event described by the log entry occurred. This time + // is used to compute the log entry's age and to enforce the logs retention + // period. If this field is omitted in a new log entry, then Logging assigns + // it the current time. Timestamps have nanosecond accuracy, but trailing + // zeros in the fractional seconds might be omitted when the timestamp is + // displayed. // // Incoming log entries must have timestamps that don't exceed the // [logs retention // period](https://cloud.google.com/logging/quotas#logs_retention_periods) in // the past, and that don't exceed 24 hours in the future. Log entries outside // those time boundaries aren't ingested by Logging. - google.protobuf.Timestamp timestamp = 9 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.Timestamp timestamp = 9 + [(google.api.field_behavior) = OPTIONAL]; // Output only. The time the log entry was received by Logging. - google.protobuf.Timestamp receive_timestamp = 24 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp receive_timestamp = 24 + [(google.api.field_behavior) = OUTPUT_ONLY]; - // Optional. The severity of the log entry. The default value is `LogSeverity.DEFAULT`. - google.logging.type.LogSeverity severity = 10 [(google.api.field_behavior) = OPTIONAL]; + // Optional. The severity of the log entry. The default value is + // `LogSeverity.DEFAULT`. + google.logging.type.LogSeverity severity = 10 + [(google.api.field_behavior) = OPTIONAL]; - // Optional. A unique identifier for the log entry. If you provide a value, then - // Logging considers other log entries in the same project, with the same + // Optional. A unique identifier for the log entry. If you provide a value, + // then Logging considers other log entries in the same project, with the same // `timestamp`, and with the same `insert_id` to be duplicates which are // removed in a single query result. However, there are no guarantees of // de-duplication in the export of logs. @@ -129,12 +135,13 @@ message LogEntry { // the same `log_name` and `timestamp` values. string insert_id = 4 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Information about the HTTP request associated with this log entry, if - // applicable. - google.logging.type.HttpRequest http_request = 7 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Information about the HTTP request associated with this log + // entry, if applicable. + google.logging.type.HttpRequest http_request = 7 + [(google.api.field_behavior) = OPTIONAL]; - // Optional. A map of key, value pairs that provides additional information about the - // log entry. The labels can be user-defined or system-defined. + // Optional. A map of key, value pairs that provides additional information + // about the log entry. The labels can be user-defined or system-defined. // // User-defined labels are arbitrary key, value pairs that you can use to // classify logs. @@ -153,17 +160,47 @@ message LogEntry { // applicable. LogEntryOperation operation = 15 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Resource name of the trace associated with the log entry, if any. If it - // contains a relative resource name, the name is assumed to be relative to - // `//tracing.googleapis.com`. Example: - // `projects/my-projectid/traces/06796866738c859f2f19b7cfb3214824` + // Optional. The REST resource name of the trace being written to + // [Cloud Trace](https://cloud.google.com/trace) in + // association with this log entry. For example, if your trace data is stored + // in the Cloud project "my-trace-project" and if the service that is creating + // the log entry receives a trace header that includes the trace ID "12345", + // then the service should use "projects/my-tracing-project/traces/12345". + // + // The `trace` field provides the link between logs and traces. By using + // this field, you can navigate from a log entry to a trace. string trace = 22 [(google.api.field_behavior) = OPTIONAL]; - // Optional. The span ID within the trace associated with the log entry. + // Optional. The ID of the [Cloud Trace](https://cloud.google.com/trace) span + // associated with the current operation in which the log is being written. + // For example, if a span has the REST resource name of + // "projects/some-project/traces/some-trace/spans/some-span-id", then the + // `span_id` field is "some-span-id". + // + // A + // [Span](https://cloud.google.com/trace/docs/reference/v2/rest/v2/projects.traces/batchWrite#Span) + // represents a single operation within a trace. Whereas a trace may involve + // multiple different microservices running on multiple different machines, + // a span generally corresponds to a single logical operation being performed + // in a single instance of a microservice on one specific machine. Spans + // are the nodes within the tree that is a trace. + // + // Applications that are [instrumented for + // tracing](https://cloud.google.com/trace/docs/setup) will generally assign a + // new, unique span ID on each incoming request. It is also common to create + // and record additional spans corresponding to internal processing elements + // as well as issuing requests to dependencies. + // + // The span ID is expected to be a 16-character, hexadecimal encoding of an + // 8-byte array and should not be zero. It should be unique within the trace + // and should, ideally, be generated in a manner that is uniformly random. + // + // Example values: // - // For Trace spans, this is the same format that the Trace API v2 uses: a - // 16-character hexadecimal encoding of an 8-byte array, such as - // `000000000000004a`. + // - `000000000000004a` + // - `7a2190356c3fc94b` + // - `0000f00300090021` + // - `d39223e101960076` string span_id = 27 [(google.api.field_behavior) = OPTIONAL]; // Optional. The sampling decision of the trace associated with the log entry. @@ -175,11 +212,13 @@ message LogEntry { // request correlation identifier. The default is False. bool trace_sampled = 30 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Source code location information associated with the log entry, if any. - LogEntrySourceLocation source_location = 23 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Source code location information associated with the log entry, + // if any. + LogEntrySourceLocation source_location = 23 + [(google.api.field_behavior) = OPTIONAL]; - // Optional. Information indicating this LogEntry is part of a sequence of multiple log - // entries split from a single LogEntry. + // Optional. Information indicating this LogEntry is part of a sequence of + // multiple log entries split from a single LogEntry. LogSplit split = 35 [(google.api.field_behavior) = OPTIONAL]; } diff --git a/third_party/googleapis/google/logging/v2/logging.proto b/third_party/googleapis/google/logging/v2/logging.proto index b7f4f189d..92d481eac 100644 --- a/third_party/googleapis/google/logging/v2/logging.proto +++ b/third_party/googleapis/google/logging/v2/logging.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -28,7 +28,7 @@ import "google/rpc/status.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Logging.V2"; -option go_package = "google.golang.org/genproto/googleapis/logging/v2;logging"; +option go_package = "cloud.google.com/go/logging/apiv2/loggingpb;loggingpb"; option java_multiple_files = true; option java_outer_classname = "LoggingProto"; option java_package = "com.google.logging.v2"; @@ -52,18 +52,10 @@ service LoggingServiceV2 { rpc DeleteLog(DeleteLogRequest) returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v2/{log_name=projects/*/logs/*}" - additional_bindings { - delete: "/v2/{log_name=*/*/logs/*}" - } - additional_bindings { - delete: "/v2/{log_name=organizations/*/logs/*}" - } - additional_bindings { - delete: "/v2/{log_name=folders/*/logs/*}" - } - additional_bindings { - delete: "/v2/{log_name=billingAccounts/*/logs/*}" - } + additional_bindings { delete: "/v2/{log_name=*/*/logs/*}" } + additional_bindings { delete: "/v2/{log_name=organizations/*/logs/*}" } + additional_bindings { delete: "/v2/{log_name=folders/*/logs/*}" } + additional_bindings { delete: "/v2/{log_name=billingAccounts/*/logs/*}" } }; option (google.api.method_signature) = "log_name"; } @@ -75,7 +67,8 @@ service LoggingServiceV2 { // A single request may contain log entries for a maximum of 1000 // different resources (projects, organizations, billing accounts or // folders) - rpc WriteLogEntries(WriteLogEntriesRequest) returns (WriteLogEntriesResponse) { + rpc WriteLogEntries(WriteLogEntriesRequest) + returns (WriteLogEntriesResponse) { option (google.api.http) = { post: "/v2/entries:write" body: "*" @@ -96,7 +89,8 @@ service LoggingServiceV2 { } // Lists the descriptors for monitored resource types used by Logging. - rpc ListMonitoredResourceDescriptors(ListMonitoredResourceDescriptorsRequest) returns (ListMonitoredResourceDescriptorsResponse) { + rpc ListMonitoredResourceDescriptors(ListMonitoredResourceDescriptorsRequest) + returns (ListMonitoredResourceDescriptorsResponse) { option (google.api.http) = { get: "/v2/monitoredResourceDescriptors" }; @@ -107,17 +101,21 @@ service LoggingServiceV2 { rpc ListLogs(ListLogsRequest) returns (ListLogsResponse) { option (google.api.http) = { get: "/v2/{parent=*/*}/logs" + additional_bindings { get: "/v2/{parent=projects/*}/logs" } + additional_bindings { get: "/v2/{parent=organizations/*}/logs" } + additional_bindings { get: "/v2/{parent=folders/*}/logs" } + additional_bindings { get: "/v2/{parent=billingAccounts/*}/logs" } additional_bindings { - get: "/v2/{parent=projects/*}/logs" + get: "/v2/{parent=projects/*/locations/*/buckets/*/views/*}/logs" } additional_bindings { - get: "/v2/{parent=organizations/*}/logs" + get: "/v2/{parent=organizations/*/locations/*/buckets/*/views/*}/logs" } additional_bindings { - get: "/v2/{parent=folders/*}/logs" + get: "/v2/{parent=folders/*/locations/*/buckets/*/views/*}/logs" } additional_bindings { - get: "/v2/{parent=billingAccounts/*}/logs" + get: "/v2/{parent=billingAccounts/*/locations/*/buckets/*/views/*}/logs" } }; option (google.api.method_signature) = "parent"; @@ -125,7 +123,8 @@ service LoggingServiceV2 { // Streaming read of log entries as they are ingested. Until the stream is // terminated, it will continue reading logs. - rpc TailLogEntries(stream TailLogEntriesRequest) returns (stream TailLogEntriesResponse) { + rpc TailLogEntries(stream TailLogEntriesRequest) + returns (stream TailLogEntriesResponse) { option (google.api.http) = { post: "/v2/entries:tail" body: "*" @@ -150,9 +149,7 @@ message DeleteLogRequest { // [LogEntry][google.logging.v2.LogEntry]. string log_name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "logging.googleapis.com/Log" - } + (google.api.resource_reference) = { type: "logging.googleapis.com/Log" } ]; } @@ -177,9 +174,7 @@ message WriteLogEntriesRequest { // individual log entry. string log_name = 1 [ (google.api.field_behavior) = OPTIONAL, - (google.api.resource_reference) = { - type: "logging.googleapis.com/Log" - } + (google.api.resource_reference) = { type: "logging.googleapis.com/Log" } ]; // Optional. A default monitored resource object that is assigned to all log @@ -190,7 +185,8 @@ message WriteLogEntriesRequest { // "zone": "us-central1-a", "instance_id": "00000000000000000000" }} // // See [LogEntry][google.logging.v2.LogEntry]. - google.api.MonitoredResource resource = 2 [(google.api.field_behavior) = OPTIONAL]; + google.api.MonitoredResource resource = 2 + [(google.api.field_behavior) = OPTIONAL]; // Optional. Default labels that are added to the `labels` field of all log // entries in `entries`. If a log entry already has a label with the same key @@ -224,11 +220,13 @@ message WriteLogEntriesRequest { // list, rather than calling this method for each individual log entry. repeated LogEntry entries = 4 [(google.api.field_behavior) = REQUIRED]; - // Optional. Whether valid entries should be written even if some other - // entries fail due to INVALID_ARGUMENT or PERMISSION_DENIED errors. If any - // entry is not written, then the response status is the error associated - // with one of the failed entries and the response includes error details - // keyed by the entries' zero-based index in the `entries.write` method. + // Optional. Whether a batch's valid entries should be written even if some + // other entry failed due to a permanent error such as INVALID_ARGUMENT or + // PERMISSION_DENIED. If any entry failed, then the response status is the + // response status of one of the failed entries. The response will include + // error details in `WriteLogEntriesPartialErrors.log_entry_errors` keyed by + // the entries' zero-based index in the `entries`. Failed requests for which + // no entries are written will not include per-entry errors. bool partial_success = 5 [(google.api.field_behavior) = OPTIONAL]; // Optional. If true, the request should expect normal response, but the @@ -238,9 +236,7 @@ message WriteLogEntriesRequest { } // Result returned from WriteLogEntries. -message WriteLogEntriesResponse { - -} +message WriteLogEntriesResponse {} // Error details for WriteLogEntries with partial success. message WriteLogEntriesPartialErrors { @@ -271,6 +267,7 @@ message ListLogEntriesRequest { // * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]` // // Projects listed in the `project_ids` field are added to this list. + // A maximum of 100 resources may be specified in a single request. repeated string resource_names = 8 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -278,13 +275,11 @@ message ListLogEntriesRequest { } ]; - // Optional. A filter that chooses which log entries to return. See [Advanced - // Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries). - // Only log entries that match the filter are returned. An empty filter - // matches all log entries in the resources listed in `resource_names`. + // Optional. Only log entries that match the filter are returned. An empty + // filter matches all log entries in the resources listed in `resource_names`. // Referencing a parent resource that is not listed in `resource_names` will - // cause the filter to return no results. The maximum length of the filter is - // 20000 characters. + // cause the filter to return no results. The maximum length of a filter is + // 20,000 characters. string filter = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. How the results should be sorted. Presently, the only permitted @@ -295,10 +290,10 @@ message ListLogEntriesRequest { // timestamps are returned in order of their `insert_id` values. string order_by = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. The maximum number of results to return from this request. Default is 50. - // If the value is negative or exceeds 1000, the request is rejected. The - // presence of `next_page_token` in the response indicates that more results - // might be available. + // Optional. The maximum number of results to return from this request. + // Default is 50. If the value is negative or exceeds 1000, the request is + // rejected. The presence of `next_page_token` in the response indicates that + // more results might be available. int32 page_size = 4 [(google.api.field_behavior) = OPTIONAL]; // Optional. If present, then retrieve the next batch of results from the @@ -355,7 +350,7 @@ message ListMonitoredResourceDescriptorsResponse { // The parameters to ListLogs. message ListLogsRequest { - // Required. The resource name that owns the logs: + // Required. The resource name to list logs for: // // * `projects/[PROJECT_ID]` // * `organizations/[ORGANIZATION_ID]` @@ -368,18 +363,7 @@ message ListLogsRequest { } ]; - // Optional. The maximum number of results to return from this request. - // Non-positive values are ignored. The presence of `nextPageToken` in the - // response indicates that more results might be available. - int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. If present, then retrieve the next batch of results from the - // preceding call to this method. `pageToken` must be the value of - // `nextPageToken` from the previous response. The values of other method - // parameters should be identical to those in the previous call. - string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; - - // Optional. The resource name that owns the logs: + // Optional. List of resource names to list logs for: // // * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]` // * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]` @@ -392,12 +376,25 @@ message ListLogsRequest { // * `organizations/[ORGANIZATION_ID]` // * `billingAccounts/[BILLING_ACCOUNT_ID]` // * `folders/[FOLDER_ID]` + // + // The resource name in the `parent` field is added to this list. repeated string resource_names = 8 [ (google.api.field_behavior) = OPTIONAL, (google.api.resource_reference) = { child_type: "logging.googleapis.com/Log" } ]; + + // Optional. The maximum number of results to return from this request. + // Non-positive values are ignored. The presence of `nextPageToken` in the + // response indicates that more results might be available. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If present, then retrieve the next batch of results from the + // preceding call to this method. `pageToken` must be the value of + // `nextPageToken` from the previous response. The values of other method + // parameters should be identical to those in the previous call. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; } // Result returned from ListLogs. @@ -430,20 +427,19 @@ message TailLogEntriesRequest { // * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]` repeated string resource_names = 1 [(google.api.field_behavior) = REQUIRED]; - // Optional. A filter that chooses which log entries to return. See [Advanced - // Logs Filters](https://cloud.google.com/logging/docs/view/advanced_filters). - // Only log entries that match the filter are returned. An empty filter - // matches all log entries in the resources listed in `resource_names`. - // Referencing a parent resource that is not in `resource_names` will cause - // the filter to return no results. The maximum length of the filter is 20000 - // characters. + // Optional. Only log entries that match the filter are returned. An empty + // filter matches all log entries in the resources listed in `resource_names`. + // Referencing a parent resource that is not listed in `resource_names` will + // cause the filter to return no results. The maximum length of a filter is + // 20,000 characters. string filter = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. The amount of time to buffer log entries at the server before // being returned to prevent out of order results due to late arriving log // entries. Valid values are between 0-60000 milliseconds. Defaults to 2000 // milliseconds. - google.protobuf.Duration buffer_window = 3 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.Duration buffer_window = 3 + [(google.api.field_behavior) = OPTIONAL]; } // Result returned from `TailLogEntries`. diff --git a/third_party/googleapis/google/logging/v2/logging_config.proto b/third_party/googleapis/google/logging/v2/logging_config.proto index ef0024063..cc7677b12 100644 --- a/third_party/googleapis/google/logging/v2/logging_config.proto +++ b/third_party/googleapis/google/logging/v2/logging_config.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -27,7 +27,7 @@ import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Logging.V2"; -option go_package = "google.golang.org/genproto/googleapis/logging/v2;logging"; +option go_package = "cloud.google.com/go/logging/apiv2/loggingpb;loggingpb"; option java_multiple_files = true; option java_outer_classname = "LoggingConfigProto"; option java_package = "com.google.logging.v2"; @@ -59,15 +59,11 @@ service ConfigServiceV2 { rpc ListBuckets(ListBucketsRequest) returns (ListBucketsResponse) { option (google.api.http) = { get: "/v2/{parent=*/*/locations/*}/buckets" - additional_bindings { - get: "/v2/{parent=projects/*/locations/*}/buckets" - } + additional_bindings { get: "/v2/{parent=projects/*/locations/*}/buckets" } additional_bindings { get: "/v2/{parent=organizations/*/locations/*}/buckets" } - additional_bindings { - get: "/v2/{parent=folders/*/locations/*}/buckets" - } + additional_bindings { get: "/v2/{parent=folders/*/locations/*}/buckets" } additional_bindings { get: "/v2/{parent=billingAccounts/*/locations/*}/buckets" } @@ -79,19 +75,80 @@ service ConfigServiceV2 { rpc GetBucket(GetBucketRequest) returns (LogBucket) { option (google.api.http) = { get: "/v2/{name=*/*/locations/*/buckets/*}" + additional_bindings { get: "/v2/{name=projects/*/locations/*/buckets/*}" } additional_bindings { - get: "/v2/{name=projects/*/locations/*/buckets/*}" + get: "/v2/{name=organizations/*/locations/*/buckets/*}" } + additional_bindings { get: "/v2/{name=folders/*/locations/*/buckets/*}" } additional_bindings { - get: "/v2/{name=organizations/*/locations/*/buckets/*}" + get: "/v2/{name=billingAccounts/*/locations/*/buckets/*}" + } + }; + } + + // Creates a log bucket asynchronously that can be used to store log entries. + // + // After a bucket has been created, the bucket's location cannot be changed. + rpc CreateBucketAsync(CreateBucketRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v2/{parent=*/*/locations/*}/buckets:createAsync" + body: "bucket" + additional_bindings { + post: "/v2/{parent=projects/*/locations/*}/buckets:createAsync" + body: "bucket" + } + additional_bindings { + post: "/v2/{parent=organizations/*/locations/*}/buckets:createAsync" + body: "bucket" } additional_bindings { - get: "/v2/{name=folders/*/locations/*/buckets/*}" + post: "/v2/{parent=folders/*/locations/*}/buckets:createAsync" + body: "bucket" } additional_bindings { - get: "/v2/{name=billingAccounts/*/buckets/*}" + post: "/v2/{parent=billingAccounts/*/locations/*}/buckets:createAsync" + body: "bucket" } }; + option (google.longrunning.operation_info) = { + response_type: "LogBucket" + metadata_type: "BucketMetadata" + }; + } + + // Updates a log bucket asynchronously. + // + // If the bucket has a `lifecycle_state` of `DELETE_REQUESTED`, then + // `FAILED_PRECONDITION` will be returned. + // + // After a bucket has been created, the bucket's location cannot be changed. + rpc UpdateBucketAsync(UpdateBucketRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v2/{name=*/*/locations/*/buckets/*}:updateAsync" + body: "bucket" + additional_bindings { + post: "/v2/{name=projects/*/locations/*/buckets/*}:updateAsync" + body: "bucket" + } + additional_bindings { + post: "/v2/{name=organizations/*/locations/*/buckets/*}:updateAsync" + body: "bucket" + } + additional_bindings { + post: "/v2/{name=folders/*/locations/*/buckets/*}:updateAsync" + body: "bucket" + } + additional_bindings { + post: "/v2/{name=billingAccounts/*/locations/*/buckets/*}:updateAsync" + body: "bucket" + } + }; + option (google.longrunning.operation_info) = { + response_type: "LogBucket" + metadata_type: "BucketMetadata" + }; } // Creates a log bucket that can be used to store log entries. After a bucket @@ -119,11 +176,7 @@ service ConfigServiceV2 { }; } - // Updates a log bucket. This method replaces the following fields in the - // existing bucket with values from the new bucket: `retention_period` - // - // If the retention period is decreased and the bucket is locked, - // `FAILED_PRECONDITION` will be returned. + // Updates a log bucket. // // If the bucket has a `lifecycle_state` of `DELETE_REQUESTED`, then // `FAILED_PRECONDITION` will be returned. @@ -234,7 +287,7 @@ service ConfigServiceV2 { get: "/v2/{name=folders/*/locations/*/buckets/*/views/*}" } additional_bindings { - get: "/v2/{name=billingAccounts/*/buckets/*/views/*}" + get: "/v2/{name=billingAccounts/*/locations/*/buckets/*/views/*}" } }; } @@ -318,18 +371,10 @@ service ConfigServiceV2 { rpc ListSinks(ListSinksRequest) returns (ListSinksResponse) { option (google.api.http) = { get: "/v2/{parent=*/*}/sinks" - additional_bindings { - get: "/v2/{parent=projects/*}/sinks" - } - additional_bindings { - get: "/v2/{parent=organizations/*}/sinks" - } - additional_bindings { - get: "/v2/{parent=folders/*}/sinks" - } - additional_bindings { - get: "/v2/{parent=billingAccounts/*}/sinks" - } + additional_bindings { get: "/v2/{parent=projects/*}/sinks" } + additional_bindings { get: "/v2/{parent=organizations/*}/sinks" } + additional_bindings { get: "/v2/{parent=folders/*}/sinks" } + additional_bindings { get: "/v2/{parent=billingAccounts/*}/sinks" } }; option (google.api.method_signature) = "parent"; } @@ -338,18 +383,10 @@ service ConfigServiceV2 { rpc GetSink(GetSinkRequest) returns (LogSink) { option (google.api.http) = { get: "/v2/{sink_name=*/*/sinks/*}" - additional_bindings { - get: "/v2/{sink_name=projects/*/sinks/*}" - } - additional_bindings { - get: "/v2/{sink_name=organizations/*/sinks/*}" - } - additional_bindings { - get: "/v2/{sink_name=folders/*/sinks/*}" - } - additional_bindings { - get: "/v2/{sink_name=billingAccounts/*/sinks/*}" - } + additional_bindings { get: "/v2/{sink_name=projects/*/sinks/*}" } + additional_bindings { get: "/v2/{sink_name=organizations/*/sinks/*}" } + additional_bindings { get: "/v2/{sink_name=folders/*/sinks/*}" } + additional_bindings { get: "/v2/{sink_name=billingAccounts/*/sinks/*}" } }; option (google.api.method_signature) = "sink_name"; } @@ -362,18 +399,12 @@ service ConfigServiceV2 { option (google.api.http) = { post: "/v2/{parent=*/*}/sinks" body: "sink" - additional_bindings { - post: "/v2/{parent=projects/*}/sinks" - body: "sink" - } + additional_bindings { post: "/v2/{parent=projects/*}/sinks" body: "sink" } additional_bindings { post: "/v2/{parent=organizations/*}/sinks" body: "sink" } - additional_bindings { - post: "/v2/{parent=folders/*}/sinks" - body: "sink" - } + additional_bindings { post: "/v2/{parent=folders/*}/sinks" body: "sink" } additional_bindings { post: "/v2/{parent=billingAccounts/*}/sinks" body: "sink" @@ -433,62 +464,136 @@ service ConfigServiceV2 { rpc DeleteSink(DeleteSinkRequest) returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v2/{sink_name=*/*/sinks/*}" + additional_bindings { delete: "/v2/{sink_name=projects/*/sinks/*}" } + additional_bindings { delete: "/v2/{sink_name=organizations/*/sinks/*}" } + additional_bindings { delete: "/v2/{sink_name=folders/*/sinks/*}" } + additional_bindings { + delete: "/v2/{sink_name=billingAccounts/*/sinks/*}" + } + }; + option (google.api.method_signature) = "sink_name"; + } + + // Asynchronously creates a linked dataset in BigQuery which makes it possible + // to use BigQuery to read the logs stored in the log bucket. A log bucket may + // currently only contain one link. + rpc CreateLink(CreateLinkRequest) returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v2/{parent=*/*/locations/*/buckets/*}/links" + body: "link" additional_bindings { - delete: "/v2/{sink_name=projects/*/sinks/*}" + post: "/v2/{parent=projects/*/locations/*/buckets/*}/links" + body: "link" } additional_bindings { - delete: "/v2/{sink_name=organizations/*/sinks/*}" + post: "/v2/{parent=organizations/*/locations/*/buckets/*}/links" + body: "link" } additional_bindings { - delete: "/v2/{sink_name=folders/*/sinks/*}" + post: "/v2/{parent=folders/*/locations/*/buckets/*}/links" + body: "link" } additional_bindings { - delete: "/v2/{sink_name=billingAccounts/*/sinks/*}" + post: "/v2/{parent=billingAccounts/*/locations/*/buckets/*}/links" + body: "link" } }; - option (google.api.method_signature) = "sink_name"; + option (google.api.method_signature) = "parent,link,link_id"; + option (google.longrunning.operation_info) = { + response_type: "Link" + metadata_type: "LinkMetadata" + }; } - // Lists all the exclusions on the _Default sink in a parent resource. - rpc ListExclusions(ListExclusionsRequest) returns (ListExclusionsResponse) { + // Deletes a link. This will also delete the corresponding BigQuery linked + // dataset. + rpc DeleteLink(DeleteLinkRequest) returns (google.longrunning.Operation) { option (google.api.http) = { - get: "/v2/{parent=*/*}/exclusions" + delete: "/v2/{name=*/*/locations/*/buckets/*/links/*}" + additional_bindings { + delete: "/v2/{name=projects/*/locations/*/buckets/*/links/*}" + } + additional_bindings { + delete: "/v2/{name=organizations/*/locations/*/buckets/*/links/*}" + } + additional_bindings { + delete: "/v2/{name=folders/*/locations/*/buckets/*/links/*}" + } + additional_bindings { + delete: "/v2/{name=billingAccounts/*/locations/*/buckets/*/links/*}" + } + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "LinkMetadata" + }; + } + + // Lists links. + rpc ListLinks(ListLinksRequest) returns (ListLinksResponse) { + option (google.api.http) = { + get: "/v2/{parent=*/*/locations/*/buckets/*}/links" additional_bindings { - get: "/v2/{parent=projects/*}/exclusions" + get: "/v2/{parent=projects/*/locations/*/buckets/*}/links" } additional_bindings { - get: "/v2/{parent=organizations/*}/exclusions" + get: "/v2/{parent=organizations/*/locations/*/buckets/*}/links" } additional_bindings { - get: "/v2/{parent=folders/*}/exclusions" + get: "/v2/{parent=folders/*/locations/*/buckets/*}/links" } additional_bindings { - get: "/v2/{parent=billingAccounts/*}/exclusions" + get: "/v2/{parent=billingAccounts/*/locations/*/buckets/*}/links" } }; option (google.api.method_signature) = "parent"; } - // Gets the description of an exclusion in the _Default sink. - rpc GetExclusion(GetExclusionRequest) returns (LogExclusion) { + // Gets a link. + rpc GetLink(GetLinkRequest) returns (Link) { option (google.api.http) = { - get: "/v2/{name=*/*/exclusions/*}" + get: "/v2/{name=*/*/locations/*/buckets/*/links/*}" additional_bindings { - get: "/v2/{name=projects/*/exclusions/*}" + get: "/v2/{name=projects/*/locations/*/buckets/*/links/*}" } additional_bindings { - get: "/v2/{name=organizations/*/exclusions/*}" + get: "/v2/{name=organizations/*/locations/*/buckets/*/links/*}" } additional_bindings { - get: "/v2/{name=folders/*/exclusions/*}" + get: "/v2/{name=folders/*/locations/*/buckets/*/links/*}" } additional_bindings { - get: "/v2/{name=billingAccounts/*/exclusions/*}" + get: "/v2/{name=billingAccounts/*/locations/*/buckets/*/links/*}" } }; option (google.api.method_signature) = "name"; } + // Lists all the exclusions on the _Default sink in a parent resource. + rpc ListExclusions(ListExclusionsRequest) returns (ListExclusionsResponse) { + option (google.api.http) = { + get: "/v2/{parent=*/*}/exclusions" + additional_bindings { get: "/v2/{parent=projects/*}/exclusions" } + additional_bindings { get: "/v2/{parent=organizations/*}/exclusions" } + additional_bindings { get: "/v2/{parent=folders/*}/exclusions" } + additional_bindings { get: "/v2/{parent=billingAccounts/*}/exclusions" } + }; + option (google.api.method_signature) = "parent"; + } + + // Gets the description of an exclusion in the _Default sink. + rpc GetExclusion(GetExclusionRequest) returns (LogExclusion) { + option (google.api.http) = { + get: "/v2/{name=*/*/exclusions/*}" + additional_bindings { get: "/v2/{name=projects/*/exclusions/*}" } + additional_bindings { get: "/v2/{name=organizations/*/exclusions/*}" } + additional_bindings { get: "/v2/{name=folders/*/exclusions/*}" } + additional_bindings { get: "/v2/{name=billingAccounts/*/exclusions/*}" } + }; + option (google.api.method_signature) = "name"; + } + // Creates a new exclusion in the _Default sink in a specified parent // resource. Only log entries belonging to that resource can be excluded. You // can have up to 10 exclusions in a resource. @@ -546,15 +651,9 @@ service ConfigServiceV2 { rpc DeleteExclusion(DeleteExclusionRequest) returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v2/{name=*/*/exclusions/*}" - additional_bindings { - delete: "/v2/{name=projects/*/exclusions/*}" - } - additional_bindings { - delete: "/v2/{name=organizations/*/exclusions/*}" - } - additional_bindings { - delete: "/v2/{name=folders/*/exclusions/*}" - } + additional_bindings { delete: "/v2/{name=projects/*/exclusions/*}" } + additional_bindings { delete: "/v2/{name=organizations/*/exclusions/*}" } + additional_bindings { delete: "/v2/{name=folders/*/exclusions/*}" } additional_bindings { delete: "/v2/{name=billingAccounts/*/exclusions/*}" } @@ -575,18 +674,10 @@ service ConfigServiceV2 { rpc GetCmekSettings(GetCmekSettingsRequest) returns (CmekSettings) { option (google.api.http) = { get: "/v2/{name=*/*}/cmekSettings" - additional_bindings { - get: "/v2/{name=projects/*}/cmekSettings" - } - additional_bindings { - get: "/v2/{name=organizations/*}/cmekSettings" - } - additional_bindings { - get: "/v2/{name=folders/*}/cmekSettings" - } - additional_bindings { - get: "/v2/{name=billingAccounts/*}/cmekSettings" - } + additional_bindings { get: "/v2/{name=projects/*}/cmekSettings" } + additional_bindings { get: "/v2/{name=organizations/*}/cmekSettings" } + additional_bindings { get: "/v2/{name=folders/*}/cmekSettings" } + additional_bindings { get: "/v2/{name=billingAccounts/*}/cmekSettings" } }; } @@ -629,18 +720,10 @@ service ConfigServiceV2 { rpc GetSettings(GetSettingsRequest) returns (Settings) { option (google.api.http) = { get: "/v2/{name=*/*}/settings" - additional_bindings { - get: "/v2/{name=projects/*}/settings" - } - additional_bindings { - get: "/v2/{name=organizations/*}/settings" - } - additional_bindings { - get: "/v2/{name=folders/*}/settings" - } - additional_bindings { - get: "/v2/{name=billingAccounts/*}/settings" - } + additional_bindings { get: "/v2/{name=projects/*}/settings" } + additional_bindings { get: "/v2/{name=organizations/*}/settings" } + additional_bindings { get: "/v2/{name=folders/*}/settings" } + additional_bindings { get: "/v2/{name=billingAccounts/*}/settings" } }; option (google.api.method_signature) = "name"; } @@ -678,7 +761,8 @@ service ConfigServiceV2 { } // Copies a set of log entries from a log bucket to a Cloud Storage bucket. - rpc CopyLogEntries(CopyLogEntriesRequest) returns (google.longrunning.Operation) { + rpc CopyLogEntries(CopyLogEntriesRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v2/entries:copy" body: "*" @@ -690,6 +774,29 @@ service ConfigServiceV2 { } } +// Configuration for an indexed field. +message IndexConfig { + // Required. The LogEntry field path to index. + // + // Note that some paths are automatically indexed, and other paths are not + // eligible for indexing. See [indexing documentation]( + // https://cloud.google.com/logging/docs/view/advanced-queries#indexed-fields) + // for details. + // + // For example: `jsonPayload.request.status` + string field_path = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The type of data in this index. + IndexType type = 2 [(google.api.field_behavior) = REQUIRED]; + + // Output only. The timestamp when the index was last modified. + // + // This is used to return the timestamp, and will be ignored if supplied + // during update. + google.protobuf.Timestamp create_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} + // Describes a repository in which log entries are stored. message LogBucket { option (google.api.resource) = { @@ -718,12 +825,14 @@ message LogBucket { // Describes this bucket. string description = 3; - // Output only. The creation timestamp of the bucket. This is not set for any of the - // default buckets. - google.protobuf.Timestamp create_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The creation timestamp of the bucket. This is not set for any + // of the default buckets. + google.protobuf.Timestamp create_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The last update timestamp of the bucket. - google.protobuf.Timestamp update_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Logs will be retained by default for this amount of time, after which they // will automatically be deleted. The minimum retention period is 1 day. If @@ -738,7 +847,13 @@ message LogBucket { bool locked = 9; // Output only. The bucket lifecycle state. - LifecycleState lifecycle_state = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; + LifecycleState lifecycle_state = 12 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Whether log analytics is enabled for this bucket. + // + // Once enabled, log analytics features cannot be disabled. + bool analytics_enabled = 14; // Log entry field paths that are denied access in this bucket. // @@ -749,6 +864,9 @@ message LogBucket { // block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`) repeated string restricted_fields = 15; + // A list of indexed fields and related configuration data. + repeated IndexConfig index_configs = 17; + // The CMEK settings of the log bucket. If present, new log entries written to // this log bucket are encrypted using the CMEK key provided in this // configuration. If a log bucket has CMEK settings, the CMEK settings cannot @@ -778,10 +896,12 @@ message LogView { string description = 3; // Output only. The creation timestamp of the view. - google.protobuf.Timestamp create_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The last update timestamp of the view. - google.protobuf.Timestamp update_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Filter that restricts which log entries in a bucket are visible in this // view. @@ -847,9 +967,7 @@ message LogSink { // Sinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs). string destination = 3 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "*" - } + (google.api.resource_reference) = { type: "*" } ]; // Optional. An [advanced logs @@ -867,22 +985,25 @@ message LogSink { // The maximum length of the description is 8000 characters. string description = 18 [(google.api.field_behavior) = OPTIONAL]; - // Optional. If set to true, then this sink is disabled and it does not export any log - // entries. + // Optional. If set to true, then this sink is disabled and it does not export + // any log entries. bool disabled = 19 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Log entries that match any of these exclusion filters will not be exported. + // Optional. Log entries that match any of these exclusion filters will not be + // exported. // // If a log entry is matched by both `filter` and one of `exclusion_filters` // it will not be exported. - repeated LogExclusion exclusions = 16 [(google.api.field_behavior) = OPTIONAL]; + repeated LogExclusion exclusions = 16 + [(google.api.field_behavior) = OPTIONAL]; // Deprecated. This field is unused. VersionFormat output_version_format = 6 [deprecated = true]; - // Output only. An IAM identity—a service account or group—under which Cloud - // Logging writes the exported log entries to the sink's destination. This - // field is set by + // Output only. An IAM identity—a service account or group—under + // which Cloud Logging writes the exported log entries to the sink's + // destination. This field is either set by specifying + // `custom_writer_identity` or set automatically by // [sinks.create][google.logging.v2.ConfigServiceV2.CreateSink] and // [sinks.update][google.logging.v2.ConfigServiceV2.UpdateSink] based on the // value of `unique_writer_identity` in those methods. @@ -895,17 +1016,17 @@ message LogSink { // appropriate IAM roles to assign to the identity. // // Sinks that have a destination that is a log bucket in the same project as - // the sink do not have a writer_identity and no additional permissions are + // the sink cannot have a writer_identity and no additional permissions are // required. string writer_identity = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Optional. This field applies only to sinks owned by organizations and folders. If the - // field is false, the default, only the logs owned by the sink's parent - // resource are available for export. If the field is true, then log entries - // from all the projects, folders, and billing accounts contained in the - // sink's parent resource are also available for export. Whether a particular - // log entry from the children is exported depends on the sink's filter - // expression. + // Optional. This field applies only to sinks owned by organizations and + // folders. If the field is false, the default, only the logs owned by the + // sink's parent resource are available for export. If the field is true, then + // log entries from all the projects, folders, and billing accounts contained + // in the sink's parent resource are also available for export. Whether a + // particular log entry from the children is exported depends on the sink's + // filter expression. // // For example, if this field is true, then the filter // `resource.type=gce_instance` would export all Compute Engine VM instance @@ -921,18 +1042,77 @@ message LogSink { // Destination dependent options. oneof options { // Optional. Options that affect sinks exporting data to BigQuery. - BigQueryOptions bigquery_options = 12 [(google.api.field_behavior) = OPTIONAL]; + BigQueryOptions bigquery_options = 12 + [(google.api.field_behavior) = OPTIONAL]; } // Output only. The creation timestamp of the sink. // // This field may not be present for older sinks. - google.protobuf.Timestamp create_time = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 13 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The last update timestamp of the sink. // // This field may not be present for older sinks. - google.protobuf.Timestamp update_time = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 14 + [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// Describes a BigQuery dataset that was created by a link. +message BigQueryDataset { + // Output only. The full resource name of the BigQuery dataset. The DATASET_ID + // will match the ID of the link, so the link must match the naming + // restrictions of BigQuery datasets (alphanumeric characters and underscores + // only). + // + // The dataset will have a resource path of + // "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]" + string dataset_id = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +// Describes a link connected to an analytics enabled bucket. +message Link { + option (google.api.resource) = { + type: "logging.googleapis.com/Link" + pattern: "projects/{project}/locations/{location}/buckets/{bucket}/links/{link}" + pattern: "organizations/{organization}/locations/{location}/buckets/{bucket}/links/{link}" + pattern: "folders/{folder}/locations/{location}/buckets/{bucket}/links/{link}" + pattern: "billingAccounts/{billing_account}/locations/{location}/buckets/{bucket}/links/{link}" + }; + + // The resource name of the link. The name can have up to 100 characters. + // A valid link id (at the end of the link name) must only have alphanumeric + // characters and underscores within it. + // + // "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" + // "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" + // "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" + // "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" + // + // For example: + // + // `projects/my-project/locations/global/buckets/my-bucket/links/my_link + string name = 1; + + // Describes this link. + // + // The maximum length of the description is 8000 characters. + string description = 2; + + // Output only. The creation timestamp of the link. + google.protobuf.Timestamp create_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The resource lifecycle state. + LifecycleState lifecycle_state = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // The information of a BigQuery Dataset. When a link is created, a BigQuery + // dataset is created along with it, in the same project as the LogBucket it's + // linked to. This dataset will also have BigQuery Views corresponding to the + // LogViews in the bucket. + BigQueryDataset bigquery_dataset = 5; } // Options that change functionality of a sink exporting data to BigQuery. @@ -947,14 +1127,15 @@ message BigQueryOptions { // timezone. bool use_partitioned_tables = 1 [(google.api.field_behavior) = OPTIONAL]; - // Output only. True if new timestamp column based partitioning is in use, false if legacy - // ingestion-time partitioning is in use. + // Output only. True if new timestamp column based partitioning is in use, + // false if legacy ingestion-time partitioning is in use. // // All new sinks will have this field set true and will use timestamp column // based partitioning. If use_partitioned_tables is false, this value has no // meaning and will be false. Legacy sinks using partitioned tables will have // this field set to false. - bool uses_timestamp_column_partitioning = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + bool uses_timestamp_column_partitioning = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // The parameters to `ListBuckets`. @@ -976,15 +1157,15 @@ message ListBucketsRequest { } ]; - // Optional. If present, then retrieve the next batch of results from the preceding call - // to this method. `pageToken` must be the value of `nextPageToken` from the - // previous response. The values of other method parameters should be - // identical to those in the previous call. + // Optional. If present, then retrieve the next batch of results from the + // preceding call to this method. `pageToken` must be the value of + // `nextPageToken` from the previous response. The values of other method + // parameters should be identical to those in the previous call. string page_token = 2 [(google.api.field_behavior) = OPTIONAL]; - // Optional. The maximum number of results to return from this request. Non-positive - // values are ignored. The presence of `nextPageToken` in the response - // indicates that more results might be available. + // Optional. The maximum number of results to return from this request. + // Non-positive values are ignored. The presence of `nextPageToken` in the + // response indicates that more results might be available. int32 page_size = 3 [(google.api.field_behavior) = OPTIONAL]; } @@ -1015,14 +1196,14 @@ message CreateBucketRequest { } ]; - // Required. A client-assigned identifier such as `"my-bucket"`. Identifiers are limited - // to 100 characters and can include only letters, digits, underscores, - // hyphens, and periods. + // Required. A client-assigned identifier such as `"my-bucket"`. Identifiers + // are limited to 100 characters and can include only letters, digits, + // underscores, hyphens, and periods. string bucket_id = 2 [(google.api.field_behavior) = REQUIRED]; - // Required. The new bucket. The region specified in the new bucket must be compliant - // with any Location Restriction Org Policy. The name field in the bucket is - // ignored. + // Required. The new bucket. The region specified in the new bucket must be + // compliant with any Location Restriction Org Policy. The name field in the + // bucket is ignored. LogBucket bucket = 3 [(google.api.field_behavior) = REQUIRED]; } @@ -1048,15 +1229,16 @@ message UpdateBucketRequest { // Required. The updated bucket. LogBucket bucket = 2 [(google.api.field_behavior) = REQUIRED]; - // Required. Field mask that specifies the fields in `bucket` that need an update. A - // bucket field will be overwritten if, and only if, it is in the update mask. - // `name` and output only fields cannot be updated. + // Required. Field mask that specifies the fields in `bucket` that need an + // update. A bucket field will be overwritten if, and only if, it is in the + // update mask. `name` and output only fields cannot be updated. // // For a detailed `FieldMask` definition, see: // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask // // For example: `updateMask=retention_days` - google.protobuf.FieldMask update_mask = 4 [(google.api.field_behavior) = REQUIRED]; + google.protobuf.FieldMask update_mask = 4 + [(google.api.field_behavior) = REQUIRED]; } // The parameters to `GetBucket`. @@ -1126,10 +1308,10 @@ message ListViewsRequest { // "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" string parent = 1 [(google.api.field_behavior) = REQUIRED]; - // Optional. If present, then retrieve the next batch of results from the preceding call - // to this method. `pageToken` must be the value of `nextPageToken` from the - // previous response. The values of other method parameters should be - // identical to those in the previous call. + // Optional. If present, then retrieve the next batch of results from the + // preceding call to this method. `pageToken` must be the value of + // `nextPageToken` from the previous response. The values of other method + // parameters should be identical to those in the previous call. string page_token = 2 [(google.api.field_behavior) = OPTIONAL]; // Optional. The maximum number of results to return from this request. @@ -1161,7 +1343,9 @@ message CreateViewRequest { // `"projects/my-project/locations/global/buckets/my-bucket"` string parent = 1 [(google.api.field_behavior) = REQUIRED]; - // Required. The id to use for this view. + // Required. A client-assigned identifier such as `"my-view"`. Identifiers are + // limited to 100 characters and can include only letters, digits, + // underscores, hyphens, and periods. string view_id = 2 [(google.api.field_behavior) = REQUIRED]; // Required. The new view. @@ -1190,7 +1374,8 @@ message UpdateViewRequest { // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask // // For example: `updateMask=filter` - google.protobuf.FieldMask update_mask = 4 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.FieldMask update_mask = 4 + [(google.api.field_behavior) = OPTIONAL]; } // The parameters to `GetView`. @@ -1204,9 +1389,7 @@ message GetViewRequest { // `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"` string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "logging.googleapis.com/LogView" - } + (google.api.resource_reference) = { type: "logging.googleapis.com/LogView" } ]; } @@ -1221,9 +1404,7 @@ message DeleteViewRequest { // `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"` string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "logging.googleapis.com/LogView" - } + (google.api.resource_reference) = { type: "logging.googleapis.com/LogView" } ]; } @@ -1279,9 +1460,7 @@ message GetSinkRequest { // `"projects/my-project/sinks/my-sink"` string sink_name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "logging.googleapis.com/LogSink" - } + (google.api.resource_reference) = { type: "logging.googleapis.com/LogSink" } ]; } @@ -1319,14 +1498,15 @@ message CreateSinkRequest { // If this field is set to true, or if the sink is owned by a non-project // resource such as an organization, then the value of `writer_identity` will // be a unique service account used only for exports from the new sink. For - // more information, see `writer_identity` in [LogSink][google.logging.v2.LogSink]. + // more information, see `writer_identity` in + // [LogSink][google.logging.v2.LogSink]. bool unique_writer_identity = 3 [(google.api.field_behavior) = OPTIONAL]; } // The parameters to `UpdateSink`. message UpdateSinkRequest { - // Required. The full resource name of the sink to update, including the parent - // resource and the sink identifier: + // Required. The full resource name of the sink to update, including the + // parent resource and the sink identifier: // // "projects/[PROJECT_ID]/sinks/[SINK_ID]" // "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" @@ -1338,13 +1518,11 @@ message UpdateSinkRequest { // `"projects/my-project/sinks/my-sink"` string sink_name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "logging.googleapis.com/LogSink" - } + (google.api.resource_reference) = { type: "logging.googleapis.com/LogSink" } ]; - // Required. The updated sink, whose name is the same identifier that appears as part - // of `sink_name`. + // Required. The updated sink, whose name is the same identifier that appears + // as part of `sink_name`. LogSink sink = 2 [(google.api.field_behavior) = REQUIRED]; // Optional. See [sinks.create][google.logging.v2.ConfigServiceV2.CreateSink] @@ -1376,13 +1554,14 @@ message UpdateSinkRequest { // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask // // For example: `updateMask=filter` - google.protobuf.FieldMask update_mask = 4 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.FieldMask update_mask = 4 + [(google.api.field_behavior) = OPTIONAL]; } // The parameters to `DeleteSink`. message DeleteSinkRequest { - // Required. The full resource name of the sink to delete, including the parent - // resource and the sink identifier: + // Required. The full resource name of the sink to delete, including the + // parent resource and the sink identifier: // // "projects/[PROJECT_ID]/sinks/[SINK_ID]" // "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" @@ -1393,11 +1572,96 @@ message DeleteSinkRequest { // // `"projects/my-project/sinks/my-sink"` string sink_name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "logging.googleapis.com/LogSink" } + ]; +} + +// The parameters to CreateLink. +message CreateLinkRequest { + // Required. The full resource name of the bucket to create a link for. + // + // "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" + // "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" + // "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" + // "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" + string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { - type: "logging.googleapis.com/LogSink" + child_type: "logging.googleapis.com/Link" } ]; + + // Required. The new link. + Link link = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The ID to use for the link. The link_id can have up to 100 + // characters. A valid link_id must only have alphanumeric characters and + // underscores within it. + string link_id = 3 [(google.api.field_behavior) = REQUIRED]; +} + +// The parameters to DeleteLink. +message DeleteLinkRequest { + // Required. The full resource name of the link to delete. + // + // "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" + // "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" + // "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" + // "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "logging.googleapis.com/Link" } + ]; +} + +// The parameters to ListLinks. +message ListLinksRequest { + // Required. The parent resource whose links are to be listed: + // + // "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/" + // "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/" + // "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/" + // "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/ + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "logging.googleapis.com/Link" + } + ]; + + // Optional. If present, then retrieve the next batch of results from the + // preceding call to this method. `pageToken` must be the value of + // `nextPageToken` from the previous response. + string page_token = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The maximum number of results to return from this request. + int32 page_size = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// The response from ListLinks. +message ListLinksResponse { + // A list of links. + repeated Link links = 1; + + // If there might be more results than those appearing in this response, then + // `nextPageToken` is included. To get the next set of results, call the same + // method again using the value of `nextPageToken` as `pageToken`. + string next_page_token = 2; +} + +// The parameters to GetLink. +message GetLinkRequest { + // Required. The resource name of the link: + // + // "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" + // "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" + // "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]" + // "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID] + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "logging.googleapis.com/Link" } + ]; } // Specifies a set of log entries that are filtered out by a sink. If @@ -1414,10 +1678,10 @@ message LogExclusion { pattern: "billingAccounts/{billing_account}/exclusions/{exclusion}" }; - // Required. A client-assigned identifier, such as `"load-balancer-exclusion"`. - // Identifiers are limited to 100 characters and can include only letters, - // digits, underscores, hyphens, and periods. First character has to be - // alphanumeric. + // Required. A client-assigned identifier, such as + // `"load-balancer-exclusion"`. Identifiers are limited to 100 characters and + // can include only letters, digits, underscores, hyphens, and periods. First + // character has to be alphanumeric. string name = 1 [(google.api.field_behavior) = REQUIRED]; // Optional. A description of this exclusion. @@ -1444,12 +1708,14 @@ message LogExclusion { // Output only. The creation timestamp of the exclusion. // // This field may not be present for older exclusions. - google.protobuf.Timestamp create_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The last update timestamp of the exclusion. // // This field may not be present for older exclusions. - google.protobuf.Timestamp update_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 6 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // The parameters to `ListExclusions`. @@ -1554,18 +1820,20 @@ message UpdateExclusionRequest { } ]; - // Required. New values for the existing exclusion. Only the fields specified in - // `update_mask` are relevant. + // Required. New values for the existing exclusion. Only the fields specified + // in `update_mask` are relevant. LogExclusion exclusion = 2 [(google.api.field_behavior) = REQUIRED]; - // Required. A non-empty list of fields to change in the existing exclusion. New values - // for the fields are taken from the corresponding fields in the - // [LogExclusion][google.logging.v2.LogExclusion] included in this request. Fields not mentioned in - // `update_mask` are not changed and are ignored in the request. + // Required. A non-empty list of fields to change in the existing exclusion. + // New values for the fields are taken from the corresponding fields in the + // [LogExclusion][google.logging.v2.LogExclusion] included in this request. + // Fields not mentioned in `update_mask` are not changed and are ignored in + // the request. // // For example, to change the filter and description of an exclusion, // specify an `update_mask` of `"filter,description"`. - google.protobuf.FieldMask update_mask = 3 [(google.api.field_behavior) = REQUIRED]; + google.protobuf.FieldMask update_mask = 3 + [(google.api.field_behavior) = REQUIRED]; } // The parameters to `DeleteExclusion`. @@ -1655,7 +1923,8 @@ message UpdateCmekSettingsRequest { // See [FieldMask][google.protobuf.FieldMask] for more information. // // For example: `"updateMask=kmsKeyName"` - google.protobuf.FieldMask update_mask = 3 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.FieldMask update_mask = 3 + [(google.api.field_behavior) = OPTIONAL]; } // Describes the customer-managed encryption key (CMEK) settings associated with @@ -1710,8 +1979,27 @@ message CmekSettings { // for more information. string kms_key_name = 2; - // Output only. The service account that will be used by the Log Router to access your - // Cloud KMS key. + // The CryptoKeyVersion resource name for the configured Cloud KMS key. + // + // KMS key name format: + // + // "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]" + // + // For example: + // + // `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1"` + // + // This is a read-only field used to convey the specific configured + // CryptoKeyVersion of `kms_key` that has been configured. It will be + // populated in cases where the CMEK settings are bound to a single key + // version. + // + // If this field is populated, the `kms_key` is tied to a specific + // CryptoKeyVersion. + string kms_key_version_name = 4; + + // Output only. The service account that will be used by the Log Router to + // access your Cloud KMS key. // // Before enabling CMEK for Log Router, you must first assign the // cloudkms.cryptoKeyEncrypterDecrypter role to the service account that @@ -1789,7 +2077,8 @@ message UpdateSettingsRequest { // See [FieldMask][google.protobuf.FieldMask] for more information. // // For example: `"updateMask=kmsKeyName"` - google.protobuf.FieldMask update_mask = 3 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.FieldMask update_mask = 3 + [(google.api.field_behavior) = OPTIONAL]; } // Describes the settings associated with a project, folder, organization, @@ -1835,8 +2124,8 @@ message Settings { // for more information. string kms_key_name = 2 [(google.api.field_behavior) = OPTIONAL]; - // Output only. The service account that will be used by the Log Router to access your - // Cloud KMS key. + // Output only. The service account that will be used by the Log Router to + // access your Cloud KMS key. // // Before enabling CMEK for Log Router, you must first assign the role // `roles/cloudkms.cryptoKeyEncrypterDecrypter` to the service account that @@ -1849,15 +2138,15 @@ message Settings { // for more information. string kms_service_account_id = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Optional. The Cloud region that will be used for _Default and _Required log buckets - // for newly created projects and folders. For example `europe-west1`. + // Optional. The Cloud region that will be used for _Default and _Required log + // buckets for newly created projects and folders. For example `europe-west1`. // This setting does not affect the location of custom log buckets. string storage_location = 4 [(google.api.field_behavior) = OPTIONAL]; - // Optional. If set to true, the _Default sink in newly created projects and folders - // will created in a disabled state. This can be used to automatically disable - // log ingestion if there is already an aggregated sink configured in the - // hierarchy. The _Default sink can be re-enabled manually if needed. + // Optional. If set to true, the _Default sink in newly created projects and + // folders will created in a disabled state. This can be used to automatically + // disable log ingestion if there is already an aggregated sink configured in + // the hierarchy. The _Default sink can be re-enabled manually if needed. bool disable_default_sink = 5 [(google.api.field_behavior) = OPTIONAL]; } @@ -1870,8 +2159,8 @@ message CopyLogEntriesRequest { // `"projects/my-project/locations/global/buckets/my-source-bucket"` string name = 1 [(google.api.field_behavior) = REQUIRED]; - // Optional. A filter specifying which log entries to copy. The filter must be no more - // than 20k characters. An empty filter matches all log entries. + // Optional. A filter specifying which log entries to copy. The filter must be + // no more than 20k characters. An empty filter matches all log entries. string filter = 3 [(google.api.field_behavior) = OPTIONAL]; // Required. Destination to which to copy log entries. @@ -1914,18 +2203,44 @@ message CopyLogEntriesResponse { int64 log_entries_copied_count = 1; } -// LogBucket lifecycle states. -enum LifecycleState { - // Unspecified state. This is only used/useful for distinguishing unset - // values. - LIFECYCLE_STATE_UNSPECIFIED = 0; +// Metadata for LongRunningUpdateBucket Operations. +message BucketMetadata { + // The create time of an operation. + google.protobuf.Timestamp start_time = 1; - // The normal and active state. - ACTIVE = 1; + // The end time of an operation. + google.protobuf.Timestamp end_time = 2; - // The resource has been marked for deletion by the user. For some resources - // (e.g. buckets), this can be reversed by an un-delete operation. - DELETE_REQUESTED = 2; + // State of an operation. + OperationState state = 3; + + oneof request { + // LongRunningCreateBucket RPC request. + CreateBucketRequest create_bucket_request = 4; + + // LongRunningUpdateBucket RPC request. + UpdateBucketRequest update_bucket_request = 5; + } +} + +// Metadata for long running Link operations. +message LinkMetadata { + // The start time of an operation. + google.protobuf.Timestamp start_time = 1; + + // The end time of an operation. + google.protobuf.Timestamp end_time = 2; + + // State of an operation. + OperationState state = 3; + + oneof request { + // CreateLink RPC request. + CreateLinkRequest create_link_request = 4; + + // DeleteLink RPC request. + DeleteLinkRequest delete_link_request = 5; + } } // List of different operation states. @@ -1955,3 +2270,48 @@ enum OperationState { // The operation was cancelled by the user. OPERATION_STATE_CANCELLED = 6; } + +// LogBucket lifecycle states. +enum LifecycleState { + // Unspecified state. This is only used/useful for distinguishing unset + // values. + LIFECYCLE_STATE_UNSPECIFIED = 0; + + // The normal and active state. + ACTIVE = 1; + + // The resource has been marked for deletion by the user. For some resources + // (e.g. buckets), this can be reversed by an un-delete operation. + DELETE_REQUESTED = 2; + + // The resource has been marked for an update by the user. It will remain in + // this state until the update is complete. + UPDATING = 3; + + // The resource has been marked for creation by the user. It will remain in + // this state until the creation is complete. + CREATING = 4; + + // The resource is in an INTERNAL error state. + FAILED = 5; +} + +// IndexType is used for custom indexing. It describes the type of an indexed +// field. +enum IndexType { + // The index's type is unspecified. + INDEX_TYPE_UNSPECIFIED = 0; + + // The index is a string-type index. + INDEX_TYPE_STRING = 1; + + // The index is a integer-type index. + INDEX_TYPE_INTEGER = 2; +} + +// Cloud Logging specific location metadata. +message LocationMetadata { + // Indicates whether or not Log Analytics features are supported in the given + // location. + bool log_analytics_enabled = 1; +} diff --git a/third_party/googleapis/google/logging/v2/logging_metrics.proto b/third_party/googleapis/google/logging/v2/logging_metrics.proto index 9bbbc42bc..852ba14ce 100644 --- a/third_party/googleapis/google/logging/v2/logging_metrics.proto +++ b/third_party/googleapis/google/logging/v2/logging_metrics.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -27,7 +27,7 @@ import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Logging.V2"; -option go_package = "google.golang.org/genproto/googleapis/logging/v2;logging"; +option go_package = "cloud.google.com/go/logging/apiv2/loggingpb;loggingpb"; option java_multiple_files = true; option java_outer_classname = "LoggingMetricsProto"; option java_package = "com.google.logging.v2"; @@ -137,6 +137,17 @@ message LogMetric { // The maximum length of the filter is 20000 characters. string filter = 3 [(google.api.field_behavior) = REQUIRED]; + // Optional. The resource name of the Log Bucket that owns the Log Metric. + // Only Log Buckets in projects are supported. The bucket has to be in the + // same project as the metric. + // + // For example: + // + // `projects/my-project/locations/global/buckets/my-bucket` + // + // If empty, then the Log Metric is considered a non-Bucket Log Metric. + string bucket_name = 13 [(google.api.field_behavior) = OPTIONAL]; + // Optional. If set to True, then this metric is disabled and it does not // generate any points. bool disabled = 12 [(google.api.field_behavior) = OPTIONAL]; @@ -162,12 +173,14 @@ message LogMetric { // be updated once initially configured. New labels can be added in the // `metric_descriptor`, but existing labels cannot be modified except for // their description. - google.api.MetricDescriptor metric_descriptor = 5 [(google.api.field_behavior) = OPTIONAL]; + google.api.MetricDescriptor metric_descriptor = 5 + [(google.api.field_behavior) = OPTIONAL]; // Optional. A `value_extractor` is required when using a distribution // logs-based metric to extract the values to record from a log entry. // Two functions are supported for value extraction: `EXTRACT(field)` or - // `REGEXP_EXTRACT(field, regex)`. The argument are: + // `REGEXP_EXTRACT(field, regex)`. The arguments are: + // // 1. field: The name of the log entry field from which the value is to be // extracted. // 2. regex: A regular expression using the Google RE2 syntax @@ -192,29 +205,33 @@ message LogMetric { // is the same as for the `value_extractor` field. // // The extracted value is converted to the type defined in the label - // descriptor. If the either the extraction or the type conversion fails, + // descriptor. If either the extraction or the type conversion fails, // the label will have a default value. The default value for a string // label is an empty string, for an integer label its 0, and for a boolean // label its `false`. // // Note that there are upper bounds on the maximum number of labels and the // number of active time series that are allowed in a project. - map label_extractors = 7 [(google.api.field_behavior) = OPTIONAL]; + map label_extractors = 7 + [(google.api.field_behavior) = OPTIONAL]; // Optional. The `bucket_options` are required when the logs-based metric is // using a DISTRIBUTION value type and it describes the bucket boundaries // used to create a histogram of the extracted values. - google.api.Distribution.BucketOptions bucket_options = 8 [(google.api.field_behavior) = OPTIONAL]; + google.api.Distribution.BucketOptions bucket_options = 8 + [(google.api.field_behavior) = OPTIONAL]; // Output only. The creation timestamp of the metric. // // This field may not be present for older metrics. - google.protobuf.Timestamp create_time = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 9 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The last update timestamp of the metric. // // This field may not be present for older metrics. - google.protobuf.Timestamp update_time = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 10 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Deprecated. The API version that created or updated this metric. // The v2 format is used by default and cannot be changed. diff --git a/third_party/googleapis/google/logging/v2/logging_v2.yaml b/third_party/googleapis/google/logging/v2/logging_v2.yaml index da2afcc09..6e217e9c6 100644 --- a/third_party/googleapis/google/logging/v2/logging_v2.yaml +++ b/third_party/googleapis/google/logging/v2/logging_v2.yaml @@ -7,10 +7,14 @@ apis: - name: google.logging.v2.ConfigServiceV2 - name: google.logging.v2.LoggingServiceV2 - name: google.logging.v2.MetricsServiceV2 +- name: google.longrunning.Operations types: +- name: google.logging.v2.BucketMetadata - name: google.logging.v2.CopyLogEntriesMetadata - name: google.logging.v2.CopyLogEntriesResponse +- name: google.logging.v2.LinkMetadata +- name: google.logging.v2.LocationMetadata documentation: summary: Writes log entries and manages your Cloud Logging configuration. @@ -58,7 +62,7 @@ http: - get: '/v2/{name=projects/*/locations/*/operations/*}' - get: '/v2/{name=organizations/*/locations/*/operations/*}' - get: '/v2/{name=folders/*/locations/*/operations/*}' - - get: '/v2/{name=billingAccounts/*/operations/*}' + - get: '/v2/{name=billingAccounts/*/locations/*/operations/*}' - selector: google.longrunning.Operations.ListOperations get: '/v2/{name=*/*/locations/*}/operations' additional_bindings: @@ -95,6 +99,13 @@ authentication: https://www.googleapis.com/auth/cloud-platform.read-only, https://www.googleapis.com/auth/logging.admin, https://www.googleapis.com/auth/logging.read + - selector: google.logging.v2.ConfigServiceV2.GetLink + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform, + https://www.googleapis.com/auth/cloud-platform.read-only, + https://www.googleapis.com/auth/logging.admin, + https://www.googleapis.com/auth/logging.read - selector: google.logging.v2.ConfigServiceV2.GetSettings oauth: canonical_scopes: |- @@ -130,6 +141,13 @@ authentication: https://www.googleapis.com/auth/cloud-platform.read-only, https://www.googleapis.com/auth/logging.admin, https://www.googleapis.com/auth/logging.read + - selector: google.logging.v2.ConfigServiceV2.ListLinks + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform, + https://www.googleapis.com/auth/cloud-platform.read-only, + https://www.googleapis.com/auth/logging.admin, + https://www.googleapis.com/auth/logging.read - selector: google.logging.v2.ConfigServiceV2.ListSinks oauth: canonical_scopes: |- @@ -201,3 +219,6 @@ authentication: https://www.googleapis.com/auth/cloud-platform.read-only, https://www.googleapis.com/auth/logging.admin, https://www.googleapis.com/auth/logging.read + +publishing: + documentation_uri: https://cloud.google.com/logging/docs/ diff --git a/third_party/googleapis/google/longrunning/BUILD.bazel b/third_party/googleapis/google/longrunning/BUILD.bazel index 5020034a3..9295b7cd5 100644 --- a/third_party/googleapis/google/longrunning/BUILD.bazel +++ b/third_party/googleapis/google/longrunning/BUILD.bazel @@ -74,7 +74,7 @@ load( go_proto_library( name = "longrunning_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/longrunning", + importpath = "cloud.google.com/go/longrunning/autogen/longrunningpb", protos = [":operations_proto"], visibility = ["//visibility:public"], deps = [ @@ -88,6 +88,8 @@ go_gapic_library( srcs = [":longrunning_proto_with_info"], grpc_service_config = "longrunning_grpc_service_config.json", importpath = "cloud.google.com/go/longrunning/autogen;longrunning", + metadata = True, + release_level = "ga", rest_numeric_enums = False, service_yaml = "longrunning.yaml", transport = "grpc+rest", @@ -99,6 +101,9 @@ go_gapic_assembly_pkg( name = "gapi-cloud-longrunning-go", deps = [ ":longrunning_go_gapic", + ":longrunning_go_gapic_srcjar-metadata.srcjar", + ":longrunning_go_gapic_srcjar-snippets.srcjar", + ":longrunning_go_gapic_srcjar-test.srcjar", ":longrunning_go_proto", ], ) @@ -176,7 +181,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -185,12 +189,6 @@ php_proto_library( deps = [":operations_proto"], ) -php_grpc_library( - name = "longrunning_php_grpc", - srcs = [":operations_proto"], - deps = [":longrunning_php_proto"], -) - php_gapic_library( name = "longrunning_php_gapic", srcs = [":longrunning_proto_with_info"], @@ -198,10 +196,7 @@ php_gapic_library( rest_numeric_enums = False, service_yaml = "longrunning.yaml", transport = "grpc+rest", - deps = [ - ":longrunning_php_grpc", - ":longrunning_php_proto", - ], + deps = [":longrunning_php_proto"], ) # Open Source Packages @@ -209,7 +204,6 @@ php_gapic_assembly_pkg( name = "google-longrunning-php", deps = [ ":longrunning_php_gapic", - ":longrunning_php_grpc", ":longrunning_php_proto", ], ) @@ -219,32 +213,10 @@ php_gapic_assembly_pkg( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "moved_proto_library", - "py_grpc_library", "py_proto_library", ) -moved_proto_library( - name = "longrunning_moved_proto", - srcs = [":operations_proto"], - deps = [ - "//google/api:annotations_proto", - "//google/api:client_proto", - "//google/rpc:status_proto", - "@com_google_protobuf//:any_proto", - "@com_google_protobuf//:descriptor_proto", - "@com_google_protobuf//:duration_proto", - "@com_google_protobuf//:empty_proto", - ], -) - py_proto_library( - name = "longrunning_py_proto", - deps = [":longrunning_moved_proto"], -) - -py_grpc_library( - name = "longrunning_py_grpc", - srcs = [":longrunning_moved_proto"], - deps = [":longrunning_py_proto"], + name = "operations_py_proto", + deps = ["operations_proto"], ) diff --git a/third_party/googleapis/google/longrunning/README.md b/third_party/googleapis/google/longrunning/README.md index 905642277..7eba891ea 100644 --- a/third_party/googleapis/google/longrunning/README.md +++ b/third_party/googleapis/google/longrunning/README.md @@ -1,5 +1,31 @@ -# Google Long Running Operations API +## Long-running Operations API This package contains the definition of an abstract interface that -manages long running operations with API services. See -[google.longrunning.Operations][] for details. \ No newline at end of file +manages long running operations with API services. + +### Operation + +The primary message to understand within LRO is the `Operation` message. +Operations have a unique name (in the context of a particular endpoint). +Additionally, a service (called `Operations` -- plural) defines the interface +for querying the state of any given operation. + +APIs that implement a concept of long-running operations are encouraged +to follow this pattern: When a caller invokes an API backend to start a job... + + * The API backend starts asychronous work to fulfill the caller's + request, and generates a unique name (the `Operation` name) to refer + to the ongoing asychronous work. + * The API backend immediately returns the `Operation` back to the caller. + * The caller can invoke the API methods defined in the `Operations` service + to get the current status of the asychronous work, and also to + discover the final result (success or error). + +For Google APIs, the implementation of this pattern and the use of this +proto are part of our [design rules][operations-rules]. Additionally, our +[API client tooling][gapic-generator] seeks to be intelligent about these, to +improve the client API consumption experience. Therefore, APIs outside of +Google can also benefit by following this same pattern. + + [operations-rules]: https://cloud.google.com/apis/design/design_patterns#long_running_operations + [gapic-generator]: https://github.com/googleapis/gapic-generator diff --git a/third_party/googleapis/google/longrunning/operations.proto b/third_party/googleapis/google/longrunning/operations.proto index c1fdc6f52..c8fda207e 100644 --- a/third_party/googleapis/google/longrunning/operations.proto +++ b/third_party/googleapis/google/longrunning/operations.proto @@ -26,7 +26,7 @@ import "google/protobuf/descriptor.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.LongRunning"; -option go_package = "google.golang.org/genproto/googleapis/longrunning;longrunning"; +option go_package = "cloud.google.com/go/longrunning/autogen/longrunningpb;longrunningpb"; option java_multiple_files = true; option java_outer_classname = "OperationsProto"; option java_package = "com.google.longrunning"; diff --git a/third_party/googleapis/google/maps/addressvalidation/v1/BUILD.bazel b/third_party/googleapis/google/maps/addressvalidation/v1/BUILD.bazel index bc4354d19..4bef632e6 100644 --- a/third_party/googleapis/google/maps/addressvalidation/v1/BUILD.bazel +++ b/third_party/googleapis/google/maps/addressvalidation/v1/BUILD.bazel @@ -115,13 +115,12 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( name = "addressvalidation_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/maps/addressvalidation/v1", + importpath = "cloud.google.com/go/maps/addressvalidation/apiv1/addressvalidationpb", protos = [":addressvalidation_proto"], deps = [ "//google/api:annotations_go_proto", @@ -135,8 +134,9 @@ go_gapic_library( name = "addressvalidation_go_gapic", srcs = [":addressvalidation_proto_with_info"], grpc_service_config = "addressvalidation_grpc_service_config.json", - importpath = "google.golang.org/google/maps/addressvalidation/v1;addressvalidation", + importpath = "cloud.google.com/go/maps/addressvalidation/apiv1;addressvalidation", metadata = True, + release_level = "ga", rest_numeric_enums = True, service_yaml = "addressvalidation_v1.yaml", transport = "grpc+rest", @@ -145,19 +145,13 @@ go_gapic_library( ], ) -go_test( - name = "addressvalidation_go_gapic_test", - srcs = [":addressvalidation_go_gapic_srcjar_test"], - embed = [":addressvalidation_go_gapic"], - importpath = "google.golang.org/google/maps/addressvalidation/v1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-maps-addressvalidation-v1-go", deps = [ ":addressvalidation_go_gapic", ":addressvalidation_go_gapic_srcjar-metadata.srcjar", + ":addressvalidation_go_gapic_srcjar-snippets.srcjar", ":addressvalidation_go_gapic_srcjar-test.srcjar", ":addressvalidation_go_proto", ], @@ -170,18 +164,27 @@ load( "@com_google_googleapis_imports//:imports.bzl", "py_gapic_assembly_pkg", "py_gapic_library", + "py_import", "py_test", ) +py_import( + name = "viewport", + srcs = [ + "//google/geo/type:viewport_py_gapic", + ], +) + py_gapic_library( name = "addressvalidation_py_gapic", srcs = [":addressvalidation_proto"], grpc_service_config = "addressvalidation_grpc_service_config.json", + opt_args = ["proto-plus-deps=google.geo.type"], rest_numeric_enums = True, service_yaml = "addressvalidation_v1.yaml", transport = "grpc+rest", deps = [ - "//google/geo/type:viewport_py_proto", + ":viewport", ], ) @@ -212,7 +215,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -221,12 +223,6 @@ php_proto_library( deps = [":addressvalidation_proto"], ) -php_grpc_library( - name = "addressvalidation_php_grpc", - srcs = [":addressvalidation_proto"], - deps = [":addressvalidation_php_proto"], -) - php_gapic_library( name = "addressvalidation_php_gapic", srcs = [":addressvalidation_proto_with_info"], @@ -234,10 +230,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "addressvalidation_v1.yaml", transport = "grpc+rest", - deps = [ - ":addressvalidation_php_grpc", - ":addressvalidation_php_proto", - ], + deps = [":addressvalidation_php_proto"], ) # Open Source Packages @@ -245,7 +238,6 @@ php_gapic_assembly_pkg( name = "google-cloud-maps-addressvalidation-v1-php", deps = [ ":addressvalidation_php_gapic", - ":addressvalidation_php_grpc", ":addressvalidation_php_proto", ], ) @@ -317,6 +309,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Address Validation is an API that accepts an address, identifies its components, validates them, normalizes the address for mailing and finds the best known location for it. It can help understand if an address refers to a real place. If the address does not refer to a real place, it can identify possibly wrong components, enabling users to correct them.", ruby_cloud_title = "Address Validation V1", service_yaml = "addressvalidation_v1.yaml", + transport = "grpc", deps = [ ":addressvalidation_ruby_grpc", ":addressvalidation_ruby_proto", diff --git a/third_party/googleapis/google/maps/addressvalidation/v1/address.proto b/third_party/googleapis/google/maps/addressvalidation/v1/address.proto index ee0bbeb72..c24a3bf96 100644 --- a/third_party/googleapis/google/maps/addressvalidation/v1/address.proto +++ b/third_party/googleapis/google/maps/addressvalidation/v1/address.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,7 +21,7 @@ import "google/type/postal_address.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Maps.AddressValidation.V1"; -option go_package = "google.golang.org/genproto/googleapis/maps/addressvalidation/v1;addressvalidation"; +option go_package = "cloud.google.com/go/maps/addressvalidation/apiv1/addressvalidationpb;addressvalidationpb"; option java_multiple_files = true; option java_outer_classname = "AddressProto"; option java_package = "com.google.maps.addressvalidation.v1"; @@ -29,22 +29,25 @@ option objc_class_prefix = "GMPAVV1"; option php_namespace = "Google\\Maps\\AddressValidation\\V1"; option ruby_package = "Google::Maps::AddressValidation::V1"; -// Details of the address parsed from the input. +// Details of the post-processed address. Post-processing includes +// correcting misspelled parts of the address, replacing incorrect parts, and +// inferring missing parts. message Address { - // The corrected address, formatted as a single-line address following the - // address formatting rules of the region where the address is located. + // The post-processed address, formatted as a single-line address following + // the address formatting rules of the region where the address is located. string formatted_address = 2; - // The validated address represented as a postal address. + // The post-processed address represented as a postal address. google.type.PostalAddress postal_address = 3; - // Unordered list. The individual address components of the formatted and corrected address, - // along with validation information. This provides information on the - // validation status of the individual components. + // Unordered list. The individual address components of the formatted and + // corrected address, along with validation information. This provides + // information on the validation status of the individual components. // // Address components are not ordered in a particular way. Do not make any // assumptions on the ordering of the address components in the list. - repeated AddressComponent address_components = 4 [(google.api.field_behavior) = UNORDERED_LIST]; + repeated AddressComponent address_components = 4 + [(google.api.field_behavior) = UNORDERED_LIST]; // The types of components that were expected to be present in a correctly // formatted mailing address but were not found in the input AND could diff --git a/third_party/googleapis/google/maps/addressvalidation/v1/address_validation_service.proto b/third_party/googleapis/google/maps/addressvalidation/v1/address_validation_service.proto index ee873b8ae..ff19440ee 100644 --- a/third_party/googleapis/google/maps/addressvalidation/v1/address_validation_service.proto +++ b/third_party/googleapis/google/maps/addressvalidation/v1/address_validation_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -27,7 +27,7 @@ import "google/type/postal_address.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Maps.AddressValidation.V1"; -option go_package = "google.golang.org/genproto/googleapis/maps/addressvalidation/v1;addressvalidation"; +option go_package = "cloud.google.com/go/maps/addressvalidation/apiv1/addressvalidationpb;addressvalidationpb"; option java_multiple_files = true; option java_outer_classname = "AddressValidationServiceProto"; option java_package = "com.google.maps.addressvalidation.v1"; @@ -175,7 +175,8 @@ message ValidationResult { // Information about the location and place that the address geocoded to. Geocode geocode = 3; - // Other information relevant to deliverability. + // Other information relevant to deliverability. `metadata` is not guaranteed + // to be fully populated for every address sent to the Address Validation API. AddressMetadata metadata = 4; // Extra deliverability flags provided by USPS. Only provided in region `US` diff --git a/third_party/googleapis/google/maps/addressvalidation/v1/geocode.proto b/third_party/googleapis/google/maps/addressvalidation/v1/geocode.proto index a2be0f9fb..2caa88a4c 100644 --- a/third_party/googleapis/google/maps/addressvalidation/v1/geocode.proto +++ b/third_party/googleapis/google/maps/addressvalidation/v1/geocode.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,7 +21,7 @@ import "google/type/latlng.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Maps.AddressValidation.V1"; -option go_package = "google.golang.org/genproto/googleapis/maps/addressvalidation/v1;addressvalidation"; +option go_package = "cloud.google.com/go/maps/addressvalidation/apiv1/addressvalidationpb;addressvalidationpb"; option java_multiple_files = true; option java_outer_classname = "GeocodeProto"; option java_package = "com.google.maps.addressvalidation.v1"; diff --git a/third_party/googleapis/google/maps/addressvalidation/v1/metadata.proto b/third_party/googleapis/google/maps/addressvalidation/v1/metadata.proto index b016342ba..b65b49841 100644 --- a/third_party/googleapis/google/maps/addressvalidation/v1/metadata.proto +++ b/third_party/googleapis/google/maps/addressvalidation/v1/metadata.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,7 +18,7 @@ package google.maps.addressvalidation.v1; option cc_enable_arenas = true; option csharp_namespace = "Google.Maps.AddressValidation.V1"; -option go_package = "google.golang.org/genproto/googleapis/maps/addressvalidation/v1;addressvalidation"; +option go_package = "cloud.google.com/go/maps/addressvalidation/apiv1/addressvalidationpb;addressvalidationpb"; option java_multiple_files = true; option java_outer_classname = "MetadataProto"; option java_package = "com.google.maps.addressvalidation.v1"; @@ -26,7 +26,8 @@ option objc_class_prefix = "GMPAVV1"; option php_namespace = "Google\\Maps\\AddressValidation\\V1"; option ruby_package = "Google::Maps::AddressValidation::V1"; -// The metadata for the address. +// The metadata for the address. `metadata` is not guaranteed to be fully +// populated for every address sent to the Address Validation API. message AddressMetadata { // Indicates that this is the address of a business. // If unset, indicates that the value is unknown. diff --git a/third_party/googleapis/google/maps/addressvalidation/v1/usps_data.proto b/third_party/googleapis/google/maps/addressvalidation/v1/usps_data.proto index e0da74019..c1680a127 100644 --- a/third_party/googleapis/google/maps/addressvalidation/v1/usps_data.proto +++ b/third_party/googleapis/google/maps/addressvalidation/v1/usps_data.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,7 +18,7 @@ package google.maps.addressvalidation.v1; option cc_enable_arenas = true; option csharp_namespace = "Google.Maps.AddressValidation.V1"; -option go_package = "google.golang.org/genproto/googleapis/maps/addressvalidation/v1;addressvalidation"; +option go_package = "cloud.google.com/go/maps/addressvalidation/apiv1/addressvalidationpb;addressvalidationpb"; option java_multiple_files = true; option java_outer_classname = "UspsDataProto"; option java_package = "com.google.maps.addressvalidation.v1"; @@ -56,7 +56,10 @@ message UspsAddress { string zip_code_extension = 9; } -// The USPS data for the address. +// The USPS data for the address. `uspsData` is not guaranteed to be fully +// populated for every US or PR address sent to the Address Validation API. It's +// recommended to integrate the backup address fields in the response if you +// utilize uspsData as the primary part of the response. message UspsData { // USPS standardized address. UspsAddress standardized_address = 1; diff --git a/third_party/googleapis/google/maps/fleetengine/delivery/v1/BUILD.bazel b/third_party/googleapis/google/maps/fleetengine/delivery/v1/BUILD.bazel index bfca8d55d..0c554ae17 100644 --- a/third_party/googleapis/google/maps/fleetengine/delivery/v1/BUILD.bazel +++ b/third_party/googleapis/google/maps/fleetengine/delivery/v1/BUILD.bazel @@ -22,7 +22,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -32,11 +31,11 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", "py_gapic_library", + "py_import", "ruby_cloud_gapic_library", "ruby_gapic_assembly_pkg", "ruby_grpc_library", @@ -94,9 +93,9 @@ java_gapic_library( name = "delivery_java_gapic", srcs = [":delivery_proto_with_info"], gapic_yaml = None, - grpc_service_config = "//google/maps/fleetengine/v1:fleetengine_grpc_service_config.json", + grpc_service_config = "fleetengine_delivery_grpc_service_config.json", rest_numeric_enums = True, - service_yaml = "fleetengine.yaml", + service_yaml = "fleetengine_v1.yaml", test_deps = [ ":delivery_java_grpc", "//google/maps/fleetengine/v1:fleetengine_java_proto", @@ -133,7 +132,7 @@ java_gapic_assembly_gradle_pkg( go_proto_library( name = "delivery_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/maps/fleetengine/delivery/v1", + importpath = "cloud.google.com/go/maps/fleetengine/delivery/apiv1/deliverypb", protos = [":delivery_proto"], deps = [ "//google/api:annotations_go_proto", @@ -145,11 +144,11 @@ go_proto_library( go_gapic_library( name = "delivery_go_gapic", srcs = [":delivery_proto_with_info"], - grpc_service_config = "//google/maps/fleetengine/v1:fleetengine_grpc_service_config.json", - importpath = "google.golang.org/maps/fleetengine/delivery/v1;delivery", + grpc_service_config = "fleetengine_delivery_grpc_service_config.json", + importpath = "cloud.google.com/go/maps/fleetengine/delivery/apiv1;delivery", metadata = True, rest_numeric_enums = True, - service_yaml = "fleetengine.yaml", + service_yaml = "fleetengine_v1.yaml", transport = "grpc+rest", deps = [ ":delivery_go_proto", @@ -157,33 +156,39 @@ go_gapic_library( ], ) -go_test( - name = "delivery_go_gapic_test", - srcs = [":delivery_go_gapic_srcjar_test"], - embed = [":delivery_go_gapic"], - importpath = "google.golang.org/maps/fleetengine/delivery/v1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-maps-fleetengine-delivery-v1-go", deps = [ ":delivery_go_gapic", ":delivery_go_gapic_srcjar-metadata.srcjar", + ":delivery_go_gapic_srcjar-snippets.srcjar", ":delivery_go_gapic_srcjar-test.srcjar", ":delivery_go_proto", ], ) +py_import( + name = "viewport", + srcs = [ + "//google/geo/type:viewport_py_gapic", + ], +) + py_gapic_library( name = "delivery_py_gapic", srcs = [":delivery_proto"], - grpc_service_config = "//google/maps/fleetengine/v1:fleetengine_grpc_service_config.json", + grpc_service_config = "fleetengine_delivery_grpc_service_config.json", + opt_args = [ + "python-gapic-namespace=google.maps", + "python-gapic-name=fleetengine_delivery", + "proto-plus-deps=google.geo.type", + ], rest_numeric_enums = True, - service_yaml = "fleetengine.yaml", + service_yaml = "fleetengine_v1.yaml", transport = "grpc+rest", deps = [ - "//google/geo/type:viewport_py_proto", + ":viewport", ], ) @@ -210,23 +215,14 @@ php_proto_library( deps = [":delivery_proto"], ) -php_grpc_library( - name = "delivery_php_grpc", - srcs = [":delivery_proto"], - deps = [":delivery_php_proto"], -) - php_gapic_library( name = "delivery_php_gapic", srcs = [":delivery_proto_with_info"], - grpc_service_config = "//google/maps/fleetengine/v1:fleetengine_grpc_service_config.json", + grpc_service_config = "fleetengine_delivery_grpc_service_config.json", rest_numeric_enums = True, - service_yaml = "fleetengine.yaml", + service_yaml = "fleetengine_v1.yaml", transport = "grpc+rest", - deps = [ - ":delivery_php_grpc", - ":delivery_php_proto", - ], + deps = [":delivery_php_proto"], ) # Open Source Packages @@ -234,7 +230,6 @@ php_gapic_assembly_pkg( name = "google-maps-fleetengine-delivery-v1-php", deps = [ ":delivery_php_gapic", - ":delivery_php_grpc", ":delivery_php_proto", ], ) @@ -244,10 +239,10 @@ nodejs_gapic_library( package_name = "@googlemaps/fleetengine-delivery", src = ":delivery_proto_with_info", extra_protoc_parameters = ["metadata"], - grpc_service_config = "//google/maps/fleetengine/v1:fleetengine_grpc_service_config.json", + grpc_service_config = "fleetengine_delivery_grpc_service_config.json", package = "maps.fleetengine.delivery.v1", rest_numeric_enums = True, - service_yaml = "fleetengine.yaml", + service_yaml = "fleetengine_v1.yaml", transport = "grpc+rest", deps = [], ) @@ -278,9 +273,10 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-maps-fleetengine-delivery-v1", ], - grpc_service_config = "//google/maps/fleetengine/v1:fleetengine_grpc_service_config.json", + grpc_service_config = "fleetengine_delivery_grpc_service_config.json", rest_numeric_enums = True, - service_yaml = "fleetengine.yaml", + service_yaml = "fleetengine_v1.yaml", + transport = "grpc+rest", deps = [ ":delivery_ruby_grpc", ":delivery_ruby_proto", @@ -312,11 +308,9 @@ csharp_gapic_library( name = "delivery_csharp_gapic", srcs = [":delivery_proto_with_info"], common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", - grpc_service_config = "//google/maps/fleetengine/v1:fleetengine_grpc_service_config.json", + grpc_service_config = "fleetengine_delivery_grpc_service_config.json", rest_numeric_enums = True, - # Currently the service YAML file refers to APIs from the "base" fleetengine - # API. This needs fixing before we can publish this API for C#. - # service_yaml = "fleetengine.yaml", + service_yaml = "fleetengine_v1.yaml", transport = "grpc+rest", deps = [ ":delivery_csharp_grpc", diff --git a/third_party/googleapis/google/maps/fleetengine/delivery/v1/common.proto b/third_party/googleapis/google/maps/fleetengine/delivery/v1/common.proto index db14621d2..53911eb95 100644 --- a/third_party/googleapis/google/maps/fleetengine/delivery/v1/common.proto +++ b/third_party/googleapis/google/maps/fleetengine/delivery/v1/common.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,7 +21,8 @@ import "google/protobuf/timestamp.proto"; import "google/protobuf/wrappers.proto"; import "google/type/latlng.proto"; -option go_package = "google.golang.org/genproto/googleapis/maps/fleetengine/delivery/v1;delivery"; +option csharp_namespace = "Google.Maps.FleetEngine.Delivery.V1"; +option go_package = "cloud.google.com/go/maps/fleetengine/delivery/apiv1/deliverypb;deliverypb"; option java_multiple_files = true; option java_outer_classname = "Common"; option java_package = "google.maps.fleetengine.delivery.v1"; @@ -30,11 +31,29 @@ option objc_class_prefix = "CFED"; // Describes a vehicle attribute as a key-value pair. The "key:value" string // length cannot exceed 256 characters. message DeliveryVehicleAttribute { - // The attribute's key. Keys may not contain the colon character (:). + // The attribute's key. string key = 1; // The attribute's value. string value = 2; + + // The attribute's value, can be in string, bool, or double type. + oneof delivery_vehicle_attribute_value { + // String typed attribute value. + // + // Note: This is identical to the `value` field which will eventually be + // deprecated. For create or update methods, either field can be used, but + // it's strongly recommended to use `string_value`. If both `string_value` + // and `value` are set, they must be identical or an error will be thrown. + // Both fields are populated in responses. + string string_value = 3; + + // Boolean typed attribute value. + bool bool_value = 4; + + // Double typed attribute value. + double number_value = 5; + } } // The location, speed, and heading of a vehicle at a point in time. @@ -106,41 +125,35 @@ message DeliveryVehicleLocation { google.protobuf.Int32Value time_since_update = 14 [(google.api.field_behavior) = INPUT_ONLY]; - // Input only. Number of additional attempts to send this location to the - // server. If this value is zero, then it is not stale. + // Input only. Deprecated: Other signals are now used to determine if a + // location is stale. google.protobuf.Int32Value num_stale_updates = 15 - [(google.api.field_behavior) = INPUT_ONLY]; + [deprecated = true, (google.api.field_behavior) = INPUT_ONLY]; // Raw vehicle location (unprocessed by road-snapper). google.type.LatLng raw_location = 16; - // Input only. Timestamp associated with the raw location. - google.protobuf.Timestamp raw_location_time = 17 - [(google.api.field_behavior) = INPUT_ONLY]; + // Timestamp associated with the raw location. + google.protobuf.Timestamp raw_location_time = 17; - // Input only. Source of the raw location. - DeliveryVehicleLocationSensor raw_location_sensor = 28 - [(google.api.field_behavior) = INPUT_ONLY]; + // Source of the raw location. Defaults to `GPS`. + DeliveryVehicleLocationSensor raw_location_sensor = 28; - // Input only. Accuracy of `raw_location` as a radius, in meters. - google.protobuf.DoubleValue raw_location_accuracy = 25 - [(google.api.field_behavior) = INPUT_ONLY]; + // Accuracy of `raw_location` as a radius, in meters. + google.protobuf.DoubleValue raw_location_accuracy = 25; - // Input only. Supplemental location provided by the integrating app. - google.type.LatLng supplemental_location = 18 - [(google.api.field_behavior) = INPUT_ONLY]; + // Supplemental location provided by the integrating app. + google.type.LatLng supplemental_location = 18; - // Input only. Timestamp associated with the supplemental location. - google.protobuf.Timestamp supplemental_location_time = 19 - [(google.api.field_behavior) = INPUT_ONLY]; + // Timestamp associated with the supplemental location. + google.protobuf.Timestamp supplemental_location_time = 19; - // Input only. Source of the supplemental location. - DeliveryVehicleLocationSensor supplemental_location_sensor = 20 - [(google.api.field_behavior) = INPUT_ONLY]; + // Source of the supplemental location. Defaults to + // `CUSTOMER_SUPPLIED_LOCATION`. + DeliveryVehicleLocationSensor supplemental_location_sensor = 20; - // Input only. Accuracy of `supplemental_location` as a radius, in meters. - google.protobuf.DoubleValue supplemental_location_accuracy = 21 - [(google.api.field_behavior) = INPUT_ONLY]; + // Accuracy of `supplemental_location` as a radius, in meters. + google.protobuf.DoubleValue supplemental_location_accuracy = 21; // Deprecated: Use `is_road_snapped` instead. bool road_snapped = 26 [deprecated = true]; @@ -160,10 +173,23 @@ enum DeliveryVehicleLocationSensor { // Cell tower ID or WiFi access point. PASSIVE = 3; - // A location signal snapped to the best road position. + // A location determined by the mobile device to be the most likely + // road position. ROAD_SNAPPED_LOCATION_PROVIDER = 4; - // The fused location provider in Google Play services. + // A customer-supplied location from an independent source. Typically, this + // value is used for a location provided from sources other than the mobile + // device running Driver SDK. If the original source is described by one of + // the other enum values, use that value. Locations marked + // CUSTOMER_SUPPLIED_LOCATION are typically provided via a DeliveryVehicle's + // `last_location.supplemental_location_sensor`. + CUSTOMER_SUPPLIED_LOCATION = 5; + + // A location calculated by Fleet Engine based on the signals available to it. + // Output only. This value will be rejected if it is received in a request. + FLEET_ENGINE_LOCATION = 6; + + // Android's Fused Location Provider. FUSED_LOCATION_PROVIDER = 100; // The location provider on Apple operating systems. @@ -199,3 +225,23 @@ message TimeWindow { google.protobuf.Timestamp end_time = 2 [(google.api.field_behavior) = REQUIRED]; } + +// Describes a task attribute as a key-value pair. The "key:value" string length +// cannot exceed 256 characters. +message TaskAttribute { + // The attribute's key. Keys may not contain the colon character (:). + string key = 1; + + // The attribute's value, can be in string, bool, or double type. If none are + // set the TaskAttribute string_value will be stored as the empty string "". + oneof task_attribute_value { + // String typed attribute value. + string string_value = 2; + + // Boolean typed attribute value. + bool bool_value = 3; + + // Double typed attribute value. + double number_value = 4; + } +} diff --git a/third_party/googleapis/google/maps/fleetengine/delivery/v1/delivery_api.proto b/third_party/googleapis/google/maps/fleetengine/delivery/v1/delivery_api.proto index 836b1b6a3..469ed3e78 100644 --- a/third_party/googleapis/google/maps/fleetengine/delivery/v1/delivery_api.proto +++ b/third_party/googleapis/google/maps/fleetengine/delivery/v1/delivery_api.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -28,7 +28,8 @@ import "google/maps/fleetengine/delivery/v1/task_tracking_info.proto"; import "google/maps/fleetengine/delivery/v1/tasks.proto"; import "google/protobuf/field_mask.proto"; -option go_package = "google.golang.org/genproto/googleapis/maps/fleetengine/delivery/v1;delivery"; +option csharp_namespace = "Google.Maps.FleetEngine.Delivery.V1"; +option go_package = "cloud.google.com/go/maps/fleetengine/delivery/apiv1/deliverypb;deliverypb"; option java_multiple_files = true; option java_outer_classname = "DeliveryApi"; option java_package = "google.maps.fleetengine.delivery.v1"; @@ -41,6 +42,8 @@ option (google.api.resource_definition) = { // The Last Mile Delivery service. service DeliveryService { option (google.api.default_host) = "fleetengine.googleapis.com"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Creates and returns a new `DeliveryVehicle`. rpc CreateDeliveryVehicle(CreateDeliveryVehicleRequest) @@ -139,8 +142,9 @@ service DeliveryService { option (google.api.method_signature) = "name"; } - // Gets all `Task`s with a particular `tracking_id`. + // Deprecated: Use `GetTaskTrackingInfo` instead. rpc SearchTasks(SearchTasksRequest) returns (SearchTasksResponse) { + option deprecated = true; option (google.api.http) = { get: "/v1/{parent=providers/*}/tasks:search" }; @@ -245,7 +249,6 @@ message CreateDeliveryVehicleRequest { } // The `GetDeliveryVehicle` request message. -// Next id: 4 message GetDeliveryVehicleRequest { // Optional. The standard Delivery API request header. DeliveryRequestHeader header = 1 [(google.api.field_behavior) = OPTIONAL]; @@ -309,10 +312,8 @@ message ListDeliveryVehiclesRequest { // is 1 restriction. string filter = 6 [(google.api.field_behavior) = OPTIONAL]; - // Optional. A filter that limits the search area to a rectangle defined by - // the northeast and southwest corner points. - // - // When defined, only vehicles located within the search area are returned. + // Optional. A filter that limits the vehicles returned to those whose last + // known location was in the rectangular area defined by the viewport. google.geo.type.Viewport viewport = 7 [(google.api.field_behavior) = OPTIONAL]; } @@ -438,8 +439,11 @@ message GetTaskRequest { ]; } -// The `SearchTasks` request message that contains the `tracking_id`. +// Deprecated: Issue `GetTaskTrackingInfoRequest`s to `GetTaskTrackingInfo` +// instead. message SearchTasksRequest { + option deprecated = true; + // Optional. The standard Delivery API request header. DeliveryRequestHeader header = 1 [(google.api.field_behavior) = OPTIONAL]; @@ -475,6 +479,8 @@ message SearchTasksRequest { // The `SearchTasks` response. It contains the set of Tasks that meet the search // criteria in the `SearchTasksRequest`. message SearchTasksResponse { + option deprecated = true; + // The set of Tasks for the requested `tracking_id`. A successful response can // also be empty. An empty response indicates that no Tasks are associated // with the supplied `tracking_id`. diff --git a/third_party/googleapis/google/maps/fleetengine/delivery/v1/delivery_vehicles.proto b/third_party/googleapis/google/maps/fleetengine/delivery/v1/delivery_vehicles.proto index 3519f242f..3b9a59e45 100644 --- a/third_party/googleapis/google/maps/fleetengine/delivery/v1/delivery_vehicles.proto +++ b/third_party/googleapis/google/maps/fleetengine/delivery/v1/delivery_vehicles.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -23,7 +23,8 @@ import "google/protobuf/duration.proto"; import "google/protobuf/wrappers.proto"; import "google/type/latlng.proto"; -option go_package = "google.golang.org/genproto/googleapis/maps/fleetengine/delivery/v1;delivery"; +option csharp_namespace = "Google.Maps.FleetEngine.Delivery.V1"; +option go_package = "cloud.google.com/go/maps/fleetengine/delivery/apiv1/deliverypb;deliverypb"; option java_multiple_files = true; option java_outer_classname = "DeliveryVehicles"; option java_package = "google.maps.fleetengine.delivery.v1"; @@ -44,6 +45,25 @@ message DeliveryVehicle { pattern: "providers/{provider}/deliveryVehicles/{vehicle}" }; + // The type of delivery vehicle. + enum DeliveryVehicleType { + // The value is unused. + DELIVERY_VEHICLE_TYPE_UNSPECIFIED = 0; + + // An automobile. + AUTO = 1; + + // A motorcycle, moped, or other two-wheeled vehicle + TWO_WHEELER = 2; + + // Human-powered transport. + BICYCLE = 3; + + // A human transporter, typically walking or running, traveling along + // pedestrian pathways. + PEDESTRIAN = 4; + } + // The unique name of this Delivery Vehicle. // The format is `providers/{provider}/deliveryVehicles/{vehicle}`. string name = 1; @@ -56,8 +76,8 @@ message DeliveryVehicle { // The encoded polyline specifying the route that the navigation recommends // taking to the next waypoint. Your driver app updates this when a - // stop is reached or passed, and when the navigation reroutes. These LatLngs - // are returned in + // stop is reached or passed, and when the navigation reroutes. These + // `LatLng`s are returned in // `Task.journey_sharing_info.remaining_vehicle_journey_segments[0].path` // (gRPC) or `Task.journeySharingInfo.remainingVehicleJourneySegments[0].path` // (REST) for all active Tasks assigned to the Vehicle. @@ -85,8 +105,8 @@ message DeliveryVehicle { // The location where the `current_route_segment` ends. This is not currently // populated by the driver app, but you can supply it on - // `UpdateDeliveryVehicle` calls. It is either the LatLng from the upcoming - // vehicle stop, or the last LatLng of the `current_route_segment`. Fleet + // `UpdateDeliveryVehicle` calls. It is either the `LatLng` from the upcoming + // vehicle stop, or the last `LatLng` of the `current_route_segment`. Fleet // Engine will then do its best to interpolate to an actual `VehicleStop`. // // This field is ignored in `UpdateDeliveryVehicle` calls if the @@ -94,30 +114,30 @@ message DeliveryVehicle { google.type.LatLng current_route_segment_end_point = 5; // The remaining driving distance for the `current_route_segment`. - // This value is usually updated by the driver app because it is considered to - // have more accurate information about the current route than Fleet Engine. - // However, it might be populated by Fleet Engine. For more information, see + // The Driver app typically provides this field, but there are some + // circumstances in which Fleet Engine will override the value sent by the + // app. For more information, see // [DeliveryVehicle.current_route_segment][maps.fleetengine.delivery.v1.DeliveryVehicle.current_route_segment]. // This field is returned in // `Task.remaining_vehicle_journey_segments[0].driving_distance_meters` (gRPC) // or `Task.remainingVehicleJourneySegments[0].drivingDistanceMeters` (REST) - // for all active Tasks assigned to the Delivery Vehicle. + // for all active `Task`s assigned to the Delivery Vehicle. // - // This field is ignored in `UpdateDeliveryVehicle` calls if the + // Fleet Engine ignores this field in `UpdateDeliveryVehicleRequest` if the // `current_route_segment` field is empty. google.protobuf.Int32Value remaining_distance_meters = 6; // The remaining driving time for the `current_route_segment`. - // This value is usually updated by the driver app because it is considered to - // have more accurate information about the current route than Fleet Engine. - // However, it might be populated by Fleet Engine. For more information, see + // The Driver app typically provides this field, but there are some + // circumstances in which Fleet Engine will override the value sent by the + // app. For more information, see // [DeliveryVehicle.current_route_segment][maps.fleetengine.delivery.v1.DeliveryVehicle.current_route_segment]. // This field is returned in // `Task.remaining_vehicle_journey_segments[0].driving_duration` (gRPC) or // `Task.remainingVehicleJourneySegments[0].drivingDuration` (REST) for all // active tasks assigned to the Delivery Vehicle. // - // This field is ignored in `UpdateDeliveryVehicle` calls if the + // Fleet Engine ignores this field in `UpdateDeliveryVehicleRequest` if the // `current_route_segment` field is empty. google.protobuf.Duration remaining_duration = 7; @@ -127,8 +147,11 @@ message DeliveryVehicle { repeated VehicleJourneySegment remaining_vehicle_journey_segments = 8; // A list of custom Delivery Vehicle attributes. A Delivery Vehicle can have - // at most 50 attributes, and each attribute must have a unique key. + // at most 100 attributes, and each attribute must have a unique key. repeated DeliveryVehicleAttribute attributes = 9; + + // The type of this delivery vehicle. If unset, this will default to `AUTO`. + DeliveryVehicleType type = 10; } // A location with any additional identifiers. @@ -141,7 +164,7 @@ message LocationInfo { // current stop. If it is the first active stop, then it is from the // Vehicle’s current location to this stop. message VehicleJourneySegment { - // Specifies the stop location, along with the Tasks associated with + // Specifies the stop location, along with the `Task`s associated with // the stop. Some fields of the VehicleStop might not be present if this // journey segment is part of `JourneySharingInfo`. VehicleStop stop = 1; @@ -179,7 +202,7 @@ message VehicleJourneySegment { // If this field is defined in the path // `Task.journey_sharing_info.remaining_vehicle_journey_segments[0].path` // (gRPC) or `Task.journeySharingInfo.remainingVehicleJourneySegments[0].path` - // (REST), then it may be populated with the LatLngs decoded from + // (REST), then it may be populated with the `LatLng`s decoded from // `DeliveryVehicle.current_route_segment` (gRPC) or // `DeliveryVehicle.currentRouteSegment` (REST). This provides the driving // path from the driver app's latest known location rather than the path from @@ -188,7 +211,7 @@ message VehicleJourneySegment { [(google.api.field_behavior) = OUTPUT_ONLY]; } -// Describes a point where a Vehicle stops to perform one or more Tasks. +// Describes a point where a Vehicle stops to perform one or more `Task`s. message VehicleStop { // Additional information about the Task performed at this stop. message TaskInfo { @@ -207,6 +230,11 @@ message VehicleStop { // Output only. The time required to perform the Task. google.protobuf.Duration task_duration = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The time window during which the task should be completed. + // This is only set in the response to `GetDeliveryVehicle`. + TimeWindow target_time_window = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // The current state of a `VehicleStop`. @@ -225,14 +253,14 @@ message VehicleStop { ARRIVED = 3; } - // Required. The location of the stop. Note that the locations in the Tasks + // Required. The location of the stop. Note that the locations in the `Task`s // might not exactly match this location, but will be within a short distance // of it. This field won't be populated in the response of either a `GetTask`, // or a `SearchTasks` call. LocationInfo planned_location = 1 [(google.api.field_behavior) = REQUIRED]; - // The list of Tasks to be performed at this stop. This field won't be - // populated in the response of either a `GetTask`, or a `SearchTasks` call. + // The list of `Task`s to be performed at this stop. This field won't be + // populated in the response of either a `GetTask` or `SearchTasks` call. repeated TaskInfo tasks = 2; // The state of the `VehicleStop`. This field won't be populated in the diff --git a/third_party/googleapis/google/maps/fleetengine/delivery/v1/fleetengine.yaml b/third_party/googleapis/google/maps/fleetengine/delivery/v1/fleetengine.yaml deleted file mode 100644 index 65d4f57f9..000000000 --- a/third_party/googleapis/google/maps/fleetengine/delivery/v1/fleetengine.yaml +++ /dev/null @@ -1,39 +0,0 @@ -type: google.api.Service -config_version: 3 -name: fleetengine.googleapis.com -title: Local Rides and Deliveries API - -apis: -- name: maps.fleetengine.delivery.v1.DeliveryService -- name: maps.fleetengine.v1.TripService -- name: maps.fleetengine.v1.VehicleService - -documentation: - summary: |- - Enables Fleet Engine for access to the On Demand Rides and Deliveries and - Last Mile Fleet Solution APIs. Customer's use of Google Maps Content in - the Cloud Logging Services is subject to the Google Maps Platform Terms of - Service located at https://cloud.google.com/maps-platform/terms. - -backend: - rules: - - selector: 'maps.fleetengine.delivery.v1.DeliveryService.*' - deadline: 60.0 - - selector: maps.fleetengine.delivery.v1.DeliveryService.CreateDeliveryVehicle - deadline: 10.0 - - selector: maps.fleetengine.delivery.v1.DeliveryService.CreateTask - deadline: 10.0 - - selector: maps.fleetengine.delivery.v1.DeliveryService.GetDeliveryVehicle - deadline: 4.0 - - selector: maps.fleetengine.delivery.v1.DeliveryService.GetTask - deadline: 4.0 - - selector: maps.fleetengine.delivery.v1.DeliveryService.UpdateDeliveryVehicle - deadline: 10.0 - - selector: maps.fleetengine.delivery.v1.DeliveryService.UpdateTask - deadline: 10.0 - - selector: 'maps.fleetengine.v1.TripService.*' - deadline: 10.0 - - selector: 'maps.fleetengine.v1.VehicleService.*' - deadline: 10.0 - - selector: maps.fleetengine.v1.VehicleService.UpdateVehicleLocation - deadline: 3.0 diff --git a/third_party/googleapis/google/maps/fleetengine/delivery/v1/header.proto b/third_party/googleapis/google/maps/fleetengine/delivery/v1/header.proto index 17d9f6794..716c896ac 100644 --- a/third_party/googleapis/google/maps/fleetengine/delivery/v1/header.proto +++ b/third_party/googleapis/google/maps/fleetengine/delivery/v1/header.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,7 +18,8 @@ package maps.fleetengine.delivery.v1; import "google/api/field_behavior.proto"; -option go_package = "google.golang.org/genproto/googleapis/maps/fleetengine/delivery/v1;delivery"; +option csharp_namespace = "Google.Maps.FleetEngine.Delivery.V1"; +option go_package = "cloud.google.com/go/maps/fleetengine/delivery/apiv1/deliverypb;deliverypb"; option java_multiple_files = true; option java_outer_classname = "Headers"; option java_package = "google.maps.fleetengine.delivery.v1"; @@ -100,4 +101,8 @@ message DeliveryRequestHeader { // Android API level of the calling SDK, only applicable for the Android SDKs. // Field value example: `23`. int32 android_api_level = 11; + + // Optional ID that can be provided for logging purposes in order to identify + // the request. + string trace_id = 12; } diff --git a/third_party/googleapis/google/maps/fleetengine/delivery/v1/task_tracking_info.proto b/third_party/googleapis/google/maps/fleetengine/delivery/v1/task_tracking_info.proto index 15d7811ac..41c4fecf7 100644 --- a/third_party/googleapis/google/maps/fleetengine/delivery/v1/task_tracking_info.proto +++ b/third_party/googleapis/google/maps/fleetengine/delivery/v1/task_tracking_info.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -25,7 +25,8 @@ import "google/protobuf/timestamp.proto"; import "google/protobuf/wrappers.proto"; import "google/type/latlng.proto"; -option go_package = "google.golang.org/genproto/googleapis/maps/fleetengine/delivery/v1;delivery"; +option csharp_namespace = "Google.Maps.FleetEngine.Delivery.V1"; +option go_package = "cloud.google.com/go/maps/fleetengine/delivery/apiv1/deliverypb;deliverypb"; option java_multiple_files = true; option java_outer_classname = "TaskTrackingInfoProto"; option java_package = "google.maps.fleetengine.delivery.v1"; @@ -91,4 +92,7 @@ message TaskTrackingInfo { // The time window during which the task should be completed. TimeWindow target_time_window = 13; + + // The custom attributes set on the task. + repeated TaskAttribute attributes = 14; } diff --git a/third_party/googleapis/google/maps/fleetengine/delivery/v1/tasks.proto b/third_party/googleapis/google/maps/fleetengine/delivery/v1/tasks.proto index f7f505a66..95699db7e 100644 --- a/third_party/googleapis/google/maps/fleetengine/delivery/v1/tasks.proto +++ b/third_party/googleapis/google/maps/fleetengine/delivery/v1/tasks.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -23,7 +23,8 @@ import "google/maps/fleetengine/delivery/v1/delivery_vehicles.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/maps/fleetengine/delivery/v1;delivery"; +option csharp_namespace = "Google.Maps.FleetEngine.Delivery.V1"; +option go_package = "cloud.google.com/go/maps/fleetengine/delivery/apiv1/deliverypb;deliverypb"; option java_multiple_files = true; option java_outer_classname = "Tasks"; option java_package = "google.maps.fleetengine.delivery.v1"; @@ -81,7 +82,7 @@ message Task { STATE_UNSPECIFIED = 0; // Either the Task has not yet been assigned to a delivery vehicle, or the - // delivery vehicle has not yet passed the Task's assigned vehicle stop. + // delivery vehicle has not yet passed the `Task`'s assigned vehicle stop. OPEN = 1; // When the vehicle passes the vehicle stop for this Task. @@ -103,7 +104,7 @@ message Task { // The identity of the source that populated the `task_outcome_location`. enum TaskOutcomeLocationSource { - // The Task outcome before it is set. + // The task outcome before it is set. TASK_OUTCOME_LOCATION_SOURCE_UNSPECIFIED = 0; // The provider-specified the `task_outcome_location`. @@ -160,11 +161,11 @@ message Task { // The outcome of the Task. TaskOutcome task_outcome = 9; - // The timestamp that indicates when the Task's outcome was set by the + // The timestamp that indicates when the `Task`'s outcome was set by the // provider. google.protobuf.Timestamp task_outcome_time = 10; - // The location where the Task's outcome was set. This value is updated as + // The location where the `Task`'s outcome was set. This value is updated as // part of `UpdateTask`. If this value isn't explicitly updated by the // provider, then Fleet Engine populates it by default with the last known // vehicle location (the *raw* location). @@ -214,4 +215,74 @@ message Task { // `CLOSED`. JourneySharingInfo journey_sharing_info = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // The configuration for task tracking that specifies which data elements are + // visible to the end users under what circumstances. + TaskTrackingViewConfig task_tracking_view_config = 13; + + // A list of custom Task attributes. Each attribute must have a unique key. + repeated TaskAttribute attributes = 15; +} + +// The configuration message that defines when a data element of a Task should +// be visible to the end users. +message TaskTrackingViewConfig { + // The option message that defines when a data element should be visible to + // the end users. + message VisibilityOption { + // The specific visibility option chosen. + oneof visibility_option { + // This data element is visible to the end users if the remaining stop + // count <= remaining_stop_count_threshold. + int32 remaining_stop_count_threshold = 1; + + // This data element is visible to the end users if the ETA to the stop + // <= duration_until_estimated_arrival_time_threshold. + google.protobuf.Duration duration_until_estimated_arrival_time_threshold = + 2; + + // This data element is visible to the end users if the remaining + // driving distance in meters <= + // remaining_driving_distance_meters_threshold. + int32 remaining_driving_distance_meters_threshold = 3; + + // If set to true, this data element is always visible to the end users + // with no thresholds. This field cannot be set to false. + bool always = 4; + + // If set to true, this data element is always hidden from the end users + // with no thresholds. This field cannot be set to false. + bool never = 5; + } + } + + // The field that specifies when route polyline points can be visible. If this + // field is not specified, the project level default visibility configuration + // for this data will be used. + VisibilityOption route_polyline_points_visibility = 1; + + // The field that specifies when estimated arrival time can be visible. If + // this field is not specified, the project level default visibility + // configuration for this data will be used. + VisibilityOption estimated_arrival_time_visibility = 2; + + // The field that specifies when estimated task completion time can be + // visible. If this field is not specified, the project level default + // visibility configuration for this data will be used. + VisibilityOption estimated_task_completion_time_visibility = 3; + + // The field that specifies when remaining driving distance can be visible. If + // this field is not specified, the project level default visibility + // configuration for this data will be used. + VisibilityOption remaining_driving_distance_visibility = 4; + + // The field that specifies when remaining stop count can be visible. If this + // field is not specified, the project level default visibility configuration + // for this data will be used. + VisibilityOption remaining_stop_count_visibility = 5; + + // The field that specifies when vehicle location can be visible. If this + // field is not specified, the project level default visibility configuration + // for this data will be used. + VisibilityOption vehicle_location_visibility = 6; } diff --git a/third_party/googleapis/google/maps/fleetengine/v1/BUILD.bazel b/third_party/googleapis/google/maps/fleetengine/v1/BUILD.bazel index 44c829152..74058590f 100644 --- a/third_party/googleapis/google/maps/fleetengine/v1/BUILD.bazel +++ b/third_party/googleapis/google/maps/fleetengine/v1/BUILD.bazel @@ -22,7 +22,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -32,11 +31,11 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", "py_gapic_library", + "py_import", "ruby_cloud_gapic_library", "ruby_gapic_assembly_pkg", "ruby_grpc_library", @@ -63,6 +62,7 @@ proto_library( "//google/api:field_behavior_proto", "//google/api:resource_proto", "//google/api:routing_proto", + "//google/geo/type:viewport_proto", "//google/type:latlng_proto", "@com_google_protobuf//:duration_proto", "@com_google_protobuf//:empty_proto", @@ -97,9 +97,10 @@ java_gapic_library( gapic_yaml = None, grpc_service_config = "fleetengine_grpc_service_config.json", rest_numeric_enums = True, - service_yaml = "fleetengine.yaml", + service_yaml = "fleetengine_v1.yaml", test_deps = [ ":fleetengine_java_grpc", + "//google/geo/type:viewport_java_proto", ], transport = "grpc", deps = [ @@ -133,10 +134,11 @@ java_gapic_assembly_gradle_pkg( go_proto_library( name = "fleetengine_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/maps/fleetengine/v1", + importpath = "cloud.google.com/go/maps/fleetengine/apiv1/fleetenginepb", protos = [":fleetengine_proto"], deps = [ "//google/api:annotations_go_proto", + "//google/geo/type:viewport_go_proto", "//google/type:latlng_go_proto", ], ) @@ -145,10 +147,10 @@ go_gapic_library( name = "fleetengine_go_gapic", srcs = [":fleetengine_proto_with_info"], grpc_service_config = "fleetengine_grpc_service_config.json", - importpath = "google.golang.org/maps/fleetengine/v1;fleetengine", + importpath = "cloud.google.com/go/maps/fleetengine/apiv1;fleetengine", metadata = True, rest_numeric_enums = True, - service_yaml = "fleetengine.yaml", + service_yaml = "fleetengine_v1.yaml", transport = "grpc", deps = [ ":fleetengine_go_proto", @@ -156,33 +158,38 @@ go_gapic_library( ], ) -go_test( - name = "fleetengine_go_gapic_test", - srcs = [":fleetengine_go_gapic_srcjar_test"], - embed = [":fleetengine_go_gapic"], - importpath = "google.golang.org/maps/fleetengine/v1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-maps-fleetengine-v1-go", deps = [ ":fleetengine_go_gapic", ":fleetengine_go_gapic_srcjar-metadata.srcjar", + ":fleetengine_go_gapic_srcjar-snippets.srcjar", ":fleetengine_go_gapic_srcjar-test.srcjar", ":fleetengine_go_proto", ], ) +py_import( + name = "viewport", + srcs = [ + "//google/geo/type:viewport_py_gapic", + ], +) + py_gapic_library( name = "fleetengine_py_gapic", srcs = [":fleetengine_proto"], grpc_service_config = "fleetengine_grpc_service_config.json", + opt_args = [ + "python-gapic-namespace=google.maps", + "proto-plus-deps=google.geo.type", + ], rest_numeric_enums = True, - service_yaml = "fleetengine.yaml", + service_yaml = "fleetengine_v1.yaml", transport = "grpc", deps = [ - "//google/geo/type:viewport_py_proto", + ":viewport", ], ) @@ -209,23 +216,14 @@ php_proto_library( deps = [":fleetengine_proto"], ) -php_grpc_library( - name = "fleetengine_php_grpc", - srcs = [":fleetengine_proto"], - deps = [":fleetengine_php_proto"], -) - php_gapic_library( name = "fleetengine_php_gapic", srcs = [":fleetengine_proto_with_info"], grpc_service_config = "fleetengine_grpc_service_config.json", rest_numeric_enums = True, - service_yaml = "fleetengine.yaml", + service_yaml = "fleetengine_v1.yaml", transport = "grpc+rest", - deps = [ - ":fleetengine_php_grpc", - ":fleetengine_php_proto", - ], + deps = [":fleetengine_php_proto"], ) # Open Source Packages @@ -233,7 +231,6 @@ php_gapic_assembly_pkg( name = "google-maps-fleetengine-v1-php", deps = [ ":fleetengine_php_gapic", - ":fleetengine_php_grpc", ":fleetengine_php_proto", ], ) @@ -246,7 +243,7 @@ nodejs_gapic_library( grpc_service_config = "fleetengine_grpc_service_config.json", package = "maps.fleetengine.v1", rest_numeric_enums = True, - service_yaml = "fleetengine.yaml", + service_yaml = "fleetengine_v1.yaml", transport = "grpc", deps = [], ) @@ -277,7 +274,8 @@ ruby_cloud_gapic_library( extra_protoc_parameters = ["ruby-cloud-gem-name=google-maps-fleetengine-v1"], grpc_service_config = "fleetengine_grpc_service_config.json", rest_numeric_enums = True, - service_yaml = "fleetengine.yaml", + service_yaml = "fleetengine_v1.yaml", + transport = "grpc+rest", deps = [ ":fleetengine_ruby_grpc", ":fleetengine_ruby_proto", @@ -311,7 +309,7 @@ csharp_gapic_library( common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", grpc_service_config = "fleetengine_grpc_service_config.json", rest_numeric_enums = True, - service_yaml = "fleetengine.yaml", + service_yaml = "fleetengine_v1.yaml", transport = "grpc+rest", deps = [ ":fleetengine_csharp_grpc", diff --git a/third_party/googleapis/google/maps/fleetengine/v1/fleetengine.proto b/third_party/googleapis/google/maps/fleetengine/v1/fleetengine.proto index 1429573a7..36a5905ac 100644 --- a/third_party/googleapis/google/maps/fleetengine/v1/fleetengine.proto +++ b/third_party/googleapis/google/maps/fleetengine/v1/fleetengine.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -23,7 +23,8 @@ import "google/protobuf/timestamp.proto"; import "google/protobuf/wrappers.proto"; import "google/type/latlng.proto"; -option go_package = "google.golang.org/genproto/googleapis/maps/fleetengine/v1;fleetengine"; +option csharp_namespace = "Google.Maps.FleetEngine.V1"; +option go_package = "cloud.google.com/go/maps/fleetengine/apiv1/fleetenginepb;fleetenginepb"; option java_multiple_files = true; option java_outer_classname = "FleetEngine"; option java_package = "google.maps.fleetengine.v1"; @@ -169,6 +170,24 @@ message VehicleAttribute { // The attribute's value. string value = 2; + + // The attribute's value, can be in string, bool, or double type. + oneof vehicle_attribute_value { + // String typed attribute value. + // + // Note: This is identical to the `value` field which will eventually be + // deprecated. For create or update methods, either field can be used, but + // it's strongly recommended to use `string_value`. If both `string_value` + // and `value` are set, they must be identical or an error will be thrown. + // Both fields are populated in responses. + string string_value = 3; + + // Boolean typed attribute value. + bool bool_value = 4; + + // Double typed attribute value. + double number_value = 5; + } } // The location, speed, and heading of a vehicle at a point in time. @@ -240,41 +259,35 @@ message VehicleLocation { google.protobuf.Int32Value time_since_update = 14 [(google.api.field_behavior) = INPUT_ONLY]; - // Input only. Number of additional attempts to send this location to the - // server. If this value is zero, then it is not stale. + // Input only. Deprecated: Other signals are now used to determine if a + // location is stale. google.protobuf.Int32Value num_stale_updates = 15 - [(google.api.field_behavior) = INPUT_ONLY]; + [deprecated = true, (google.api.field_behavior) = INPUT_ONLY]; // Raw vehicle location (unprocessed by road-snapper). google.type.LatLng raw_location = 16; - // Input only. Timestamp associated with the raw location. - google.protobuf.Timestamp raw_location_time = 17 - [(google.api.field_behavior) = INPUT_ONLY]; + // Timestamp associated with the raw location. + google.protobuf.Timestamp raw_location_time = 17; - // Input only. Source of the raw location. - LocationSensor raw_location_sensor = 28 - [(google.api.field_behavior) = INPUT_ONLY]; + // Source of the raw location. Defaults to `GPS`. + LocationSensor raw_location_sensor = 28; - // Input only. Accuracy of `raw_location` as a radius, in meters. - google.protobuf.DoubleValue raw_location_accuracy = 25 - [(google.api.field_behavior) = INPUT_ONLY]; + // Accuracy of `raw_location` as a radius, in meters. + google.protobuf.DoubleValue raw_location_accuracy = 25; - // Input only. Supplemental location provided by the integrating app. - google.type.LatLng supplemental_location = 18 - [(google.api.field_behavior) = INPUT_ONLY]; + // Supplemental location provided by the integrating app. + google.type.LatLng supplemental_location = 18; - // Input only. Timestamp associated with the supplemental location. - google.protobuf.Timestamp supplemental_location_time = 19 - [(google.api.field_behavior) = INPUT_ONLY]; + // Timestamp associated with the supplemental location. + google.protobuf.Timestamp supplemental_location_time = 19; - // Input only. Source of the supplemental location. - LocationSensor supplemental_location_sensor = 20 - [(google.api.field_behavior) = INPUT_ONLY]; + // Source of the supplemental location. Defaults to + // `CUSTOMER_SUPPLIED_LOCATION`. + LocationSensor supplemental_location_sensor = 20; - // Input only. Accuracy of `supplemental_location` as a radius, in meters. - google.protobuf.DoubleValue supplemental_location_accuracy = 21 - [(google.api.field_behavior) = INPUT_ONLY]; + // Accuracy of `supplemental_location` as a radius, in meters. + google.protobuf.DoubleValue supplemental_location_accuracy = 21; // Deprecated: Use `is_road_snapped` instead. bool road_snapped = 26 [deprecated = true]; @@ -294,10 +307,23 @@ enum LocationSensor { // Cell tower ID or WiFi access point. PASSIVE = 3; - // A location signal snapped to the best road position. + // A location determined by the mobile device to be the most likely + // road position. ROAD_SNAPPED_LOCATION_PROVIDER = 4; - // The fused location provider in Google Play services. + // A customer-supplied location from an independent source. Typically, this + // value is used for a location provided from sources other than the mobile + // device running Driver SDK. If the original source is described by one of + // the other enum values, use that value. Locations marked + // CUSTOMER_SUPPLIED_LOCATION are typically provided via a Vehicle's + // `last_location.supplemental_location_sensor`. + CUSTOMER_SUPPLIED_LOCATION = 5; + + // A location calculated by Fleet Engine based on the signals available to it. + // Output only. This value will be rejected if it is received in a request. + FLEET_ENGINE_LOCATION = 6; + + // Android's Fused Location Provider. FUSED_LOCATION_PROVIDER = 100; // The location provider on Apple operating systems. diff --git a/third_party/googleapis/google/maps/fleetengine/v1/fleetengine.yaml b/third_party/googleapis/google/maps/fleetengine/v1/fleetengine.yaml deleted file mode 100644 index fffce93de..000000000 --- a/third_party/googleapis/google/maps/fleetengine/v1/fleetengine.yaml +++ /dev/null @@ -1,22 +0,0 @@ -type: google.api.Service -config_version: 3 -name: fleetengine.googleapis.com -title: Local Rides and Deliveries API - -apis: -- name: maps.fleetengine.v1.TripService -- name: maps.fleetengine.v1.VehicleService - -documentation: - summary: |- - Enables Fleet Engine for access to the On Demand Rides and Deliveries and - Last Mile Fleet Solution APIs. - -backend: - rules: - - selector: 'maps.fleetengine.v1.TripService.*' - deadline: 10.0 - - selector: 'maps.fleetengine.v1.VehicleService.*' - deadline: 10.0 - - selector: maps.fleetengine.v1.VehicleService.UpdateVehicleLocation - deadline: 3.0 diff --git a/third_party/googleapis/google/maps/fleetengine/v1/fleetengine_grpc_service_config.json b/third_party/googleapis/google/maps/fleetengine/v1/fleetengine_grpc_service_config.json index 9face48a1..cccd3c061 100644 --- a/third_party/googleapis/google/maps/fleetengine/v1/fleetengine_grpc_service_config.json +++ b/third_party/googleapis/google/maps/fleetengine/v1/fleetengine_grpc_service_config.json @@ -20,29 +20,6 @@ "backoffMultiplier": 1.3, "retryableStatusCodes": ["UNAVAILABLE"] } - }, - { - "name": [ - { "service": "maps.fleetengine.delivery.v1.DeliveryService", "method": "CreateDeliveryVehicle" }, - { "service": "maps.fleetengine.delivery.v1.DeliveryService", "method": "GetDeliveryVehicle" }, - { "service": "maps.fleetengine.delivery.v1.DeliveryService", "method": "BatchCreateTasks" }, - { "service": "maps.fleetengine.delivery.v1.DeliveryService", "method": "CreateTask" }, - { "service": "maps.fleetengine.delivery.v1.DeliveryService", "method": "GetTask" }, - { "service": "maps.fleetengine.delivery.v1.DeliveryService", "method": "UpdateTask" }, - { "service": "maps.fleetengine.delivery.v1.DeliveryService", "method": "UpdateDeliveryVehicle" }, - { "service": "maps.fleetengine.delivery.v1.DeliveryService", "method": "ListDeliveryVehicles" }, - { "service": "maps.fleetengine.delivery.v1.DeliveryService", "method": "SearchTasks" }, - { "service": "maps.fleetengine.delivery.v1.DeliveryService", "method": "ListTasks" }, - { "service": "maps.fleetengine.delivery.v1.DeliveryService", "method": "GetTaskTrackingInfo" } - ], - "timeout": "60s", - "retryPolicy": { - "maxAttempts": 5, - "initialBackoff": "1s", - "maxBackoff": "10s", - "backoffMultiplier": 1.3, - "retryableStatusCodes": ["UNAVAILABLE"] - } }] } diff --git a/third_party/googleapis/google/maps/fleetengine/v1/header.proto b/third_party/googleapis/google/maps/fleetengine/v1/header.proto index 978061fe2..c6a08f39a 100644 --- a/third_party/googleapis/google/maps/fleetengine/v1/header.proto +++ b/third_party/googleapis/google/maps/fleetengine/v1/header.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,7 +18,8 @@ package maps.fleetengine.v1; import "google/api/field_behavior.proto"; -option go_package = "google.golang.org/genproto/googleapis/maps/fleetengine/v1;fleetengine"; +option csharp_namespace = "Google.Maps.FleetEngine.V1"; +option go_package = "cloud.google.com/go/maps/fleetengine/apiv1/fleetenginepb;fleetenginepb"; option java_multiple_files = true; option java_outer_classname = "Headers"; option java_package = "google.maps.fleetengine.v1"; @@ -100,4 +101,8 @@ message RequestHeader { // Android API level of the calling SDK, only applicable for the Android SDKs. // Field value example: `23`. int32 android_api_level = 11; + + // Optional ID that can be provided for logging purposes in order to identify + // the request. + string trace_id = 12; } diff --git a/third_party/googleapis/google/maps/fleetengine/v1/traffic.proto b/third_party/googleapis/google/maps/fleetengine/v1/traffic.proto index 819ffaa60..b2821b2aa 100644 --- a/third_party/googleapis/google/maps/fleetengine/v1/traffic.proto +++ b/third_party/googleapis/google/maps/fleetengine/v1/traffic.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,7 +16,8 @@ syntax = "proto3"; package maps.fleetengine.v1; -option go_package = "google.golang.org/genproto/googleapis/maps/fleetengine/v1;fleetengine"; +option csharp_namespace = "Google.Maps.FleetEngine.V1"; +option go_package = "cloud.google.com/go/maps/fleetengine/apiv1/fleetenginepb;fleetenginepb"; option java_multiple_files = true; option java_outer_classname = "TrafficProto"; option java_package = "google.maps.fleetengine.v1"; diff --git a/third_party/googleapis/google/maps/fleetengine/v1/trip_api.proto b/third_party/googleapis/google/maps/fleetengine/v1/trip_api.proto index c17f912db..470008098 100644 --- a/third_party/googleapis/google/maps/fleetengine/v1/trip_api.proto +++ b/third_party/googleapis/google/maps/fleetengine/v1/trip_api.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -29,7 +29,8 @@ import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/maps/fleetengine/v1;fleetengine"; +option csharp_namespace = "Google.Maps.FleetEngine.V1"; +option go_package = "cloud.google.com/go/maps/fleetengine/apiv1/fleetenginepb;fleetenginepb"; option java_multiple_files = true; option java_outer_classname = "TripApi"; option java_package = "google.maps.fleetengine.v1"; @@ -38,6 +39,8 @@ option objc_class_prefix = "CFE"; // Trip management service. service TripService { option (google.api.default_host) = "fleetengine.googleapis.com"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Creates a trip in the Fleet Engine and returns the new trip. rpc CreateTrip(CreateTripRequest) returns (Trip) { @@ -150,8 +153,13 @@ message CreateTripRequest { // * `vehicle_id` // * `dropoff_point` // * `intermediate_destinations` + // * `vehicle_waypoints` // - // Only `EXCLUSIVE` trips support multiple destinations. + // All other Trip fields are ignored. For example, all trips start with a + // `trip_status` of `NEW` even if you pass in a `trip_status` of `CANCELED` in + // the creation request. + // + // Only `EXCLUSIVE` trips support `intermediate_destinations`. // // When `vehicle_id` is set for a shared trip, you must supply // the list of `Trip.vehicle_waypoints` to specify the order of the remaining @@ -167,8 +175,6 @@ message CreateTripRequest { // // The `trip_id`, `waypoint_type` and `location` fields are used, and all // other TripWaypoint fields in `vehicle_waypoints` are ignored. - // - // All other Trip fields are ignored. Trip trip = 4 [(google.api.field_behavior) = REQUIRED]; } @@ -364,8 +370,8 @@ message SearchTripsResponse { // The list of trips for the requested vehicle. repeated Trip trips = 1; - // Pass this token in the SearchTripsRequest to continue to - // list results. If all results have been returned, this field is an empty - // string or not present in the response. + // Pass this token in the SearchTripsRequest to page through list results. The + // API returns a trip list on each call, and when no more results remain the + // trip list is empty. string next_page_token = 2; } diff --git a/third_party/googleapis/google/maps/fleetengine/v1/trips.proto b/third_party/googleapis/google/maps/fleetengine/v1/trips.proto index d1ea894c4..c21aeb3a4 100644 --- a/third_party/googleapis/google/maps/fleetengine/v1/trips.proto +++ b/third_party/googleapis/google/maps/fleetengine/v1/trips.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -25,7 +25,8 @@ import "google/protobuf/timestamp.proto"; import "google/protobuf/wrappers.proto"; import "google/type/latlng.proto"; -option go_package = "google.golang.org/genproto/googleapis/maps/fleetengine/v1;fleetengine"; +option csharp_namespace = "Google.Maps.FleetEngine.V1"; +option go_package = "cloud.google.com/go/maps/fleetengine/apiv1/fleetenginepb;fleetenginepb"; option java_multiple_files = true; option java_outer_classname = "Trips"; option java_package = "google.maps.fleetengine.v1"; @@ -126,9 +127,9 @@ message Trip { // This field supports manual ordering of the waypoints for the trip. It // contains all of the remaining waypoints for the assigned vehicle, as well // as the pickup and drop-off waypoints for this trip. If the trip hasn't been - // assigned to a vehicle, then this field is ignored. For privacy reasons, - // this field is only populated by the server on UpdateTrip and CreateTrip - // calls, NOT on GetTrip calls. + // assigned to a vehicle, then Fleet Engine ignores this field. For privacy + // reasons, this field is only populated by the server on `UpdateTrip` and + // `CreateTrip` calls, NOT on `GetTrip` calls. repeated TripWaypoint vehicle_waypoints = 20; // Output only. Anticipated route for this trip to the first entry in @@ -204,7 +205,7 @@ message Trip { // Immutable. Indicates the number of passengers on this trip and does not // include the driver. A vehicle must have available capacity to be returned - // in SearchVehicles. + // in a `SearchVehicles` response. int32 number_of_passengers = 10 [(google.api.field_behavior) = IMMUTABLE]; // Output only. Indicates the last reported location of the vehicle along the diff --git a/third_party/googleapis/google/maps/fleetengine/v1/vehicle_api.proto b/third_party/googleapis/google/maps/fleetengine/v1/vehicle_api.proto index eebc1ce35..efc310f2e 100644 --- a/third_party/googleapis/google/maps/fleetengine/v1/vehicle_api.proto +++ b/third_party/googleapis/google/maps/fleetengine/v1/vehicle_api.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,6 +21,7 @@ import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/api/routing.proto"; +import "google/geo/type/viewport.proto"; import "google/maps/fleetengine/v1/fleetengine.proto"; import "google/maps/fleetengine/v1/header.proto"; import "google/maps/fleetengine/v1/vehicles.proto"; @@ -30,7 +31,8 @@ import "google/protobuf/timestamp.proto"; import "google/protobuf/wrappers.proto"; import "google/type/latlng.proto"; -option go_package = "google.golang.org/genproto/googleapis/maps/fleetengine/v1;fleetengine"; +option csharp_namespace = "Google.Maps.FleetEngine.V1"; +option go_package = "cloud.google.com/go/maps/fleetengine/apiv1/fleetenginepb;fleetenginepb"; option java_multiple_files = true; option java_outer_classname = "VehicleApi"; option java_package = "google.maps.fleetengine.v1"; @@ -39,6 +41,8 @@ option objc_class_prefix = "CFE"; // Vehicle management service. service VehicleService { option (google.api.default_host) = "fleetengine.googleapis.com"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Instantiates a new vehicle associated with an on-demand rideshare or // deliveries provider. Each `Vehicle` must have a unique vehicle ID. @@ -188,13 +192,10 @@ service VehicleService { }; } - // Returns a list of vehicles that match the request - // options, but the vehicle locations will be somewhat altered for privacy. - // This method does not support the `SearchVehicleRequest.order_by` field. - // Vehicle matches in the response will be in order of distance from the - // pickup point. Only the `vehicle` and `trip_type` fields will be populated. + // Deprecated: Use `SearchVehicles` instead. rpc SearchFuzzedVehicles(SearchVehiclesRequest) returns (SearchVehiclesResponse) { + option deprecated = true; option (google.api.http) = { post: "/v1/{parent=providers/*}/vehicles:searchFuzzed" body: "*" @@ -306,18 +307,18 @@ message UpdateVehicleRequest { // the following fields may not be updated as they are managed by the // server. // - // * `current_trips` // * `available_capacity` // * `current_route_segment_version` + // * `current_trips` + // * `name` // * `waypoints_version` // - // Furthermore, the vehicle `name` cannot be updated. - // // If the `attributes` field is updated, **all** the vehicle's attributes are // replaced with the attributes provided in the request. If you want to update - // only some attributes, see the `UpdateVehicleAttributes` method. Likewise, - // the `waypoints` field can be updated, but must contain all the waypoints. - // currently on the vehicle, and no other waypoints. + // only some attributes, see the `UpdateVehicleAttributes` method. + // + // Likewise, the `waypoints` field can be updated, but must contain all the + // waypoints currently on the vehicle, and no other waypoints. Vehicle vehicle = 4 [(google.api.field_behavior) = REQUIRED]; // Required. A field mask indicating which fields of the `Vehicle` to update. @@ -404,18 +405,17 @@ message SearchVehiclesRequest { // Specifies the types of restrictions on a vehicle's current trips. enum CurrentTripsPresent { - // Only vehicles without trips can appear in search results. - // A validation exception is thrown if `include_back_to_back` is true. See - // the `include_back_to_back` flag for more details. + // The availability of vehicles with trips present is governed by the + // `include_back_to_back` field. CURRENT_TRIPS_PRESENT_UNSPECIFIED = 0; - // Vehicles without trips can appear in search results. - // A validation exception is thrown if `include_back_to_back` is true. + // Vehicles without trips can appear in search results. When this value is + // used, `include_back_to_back` cannot be `true`. NONE = 1; // Vehicles with at most 5 current trips and 10 waypoints are included - // in the search results. - // A validation exception is thrown if `include_back_to_back` is true. + // in the search results. When this value is used, `include_back_to_back` + // cannot be `true`. ANY = 2; } @@ -449,21 +449,20 @@ message SearchVehiclesRequest { // considered in the capacity value. int32 minimum_capacity = 8 [(google.api.field_behavior) = REQUIRED]; - // Required. Represents the type of proposed trip. Eligible vehicles are those - // that can support at least one of the specified trip type. - // - // `EXCLUSIVE` and `SHARED` may not be included together. - // `SHARED` is not supported when `current_trips_present` is - // `CURRENT_TRIPS_PRESENT_UNSPECIFIED`. + // Required. Represents the type of proposed trip. Must include exactly one + // type. `UNKNOWN_TRIP_TYPE` is not allowed. Restricts the search to only + // those vehicles that can support that trip type. repeated TripType trip_types = 9 [(google.api.field_behavior) = REQUIRED]; - // Restricts the search to only those vehicles that have updated their - // locations within the specified duration. If this field is not + // Restricts the search to only those vehicles that have sent location updates + // to Fleet Engine within the specified duration. Stationary vehicles still + // transmitting their locations are not considered stale. If this field is not // set, the server uses five minutes as the default value. google.protobuf.Duration maximum_staleness = 10; // Required. Restricts the search to vehicles with one of the specified types. - // At least one vehicle type must be specified. + // At least one vehicle type must be specified. VehicleTypes with a category + // of `UNKNOWN` are not allowed. repeated Vehicle.VehicleType vehicle_types = 14 [(google.api.field_behavior) = REQUIRED]; @@ -507,13 +506,15 @@ message SearchVehiclesRequest { // ``` // (required_attributes[0] AND required_attributes[1] AND ...) // AND - // (required_one_of_attribute_sets[0][0] AND - // required_one_of_attribute_sets[0][1] AND - // ...) - // OR - // (required_one_of_attribute_sets[1][0] AND - // required_one_of_attribute_sets[1][1] AND - // ...) + // ( + // (required_one_of_attribute_sets[0][0] AND + // required_one_of_attribute_sets[0][1] AND + // ...) + // OR + // (required_one_of_attribute_sets[1][0] AND + // required_one_of_attribute_sets[1][1] AND + // ...) + // ) // ``` // // Restricts the search to only those vehicles with all the attributes in a @@ -526,13 +527,14 @@ message SearchVehiclesRequest { // Required. Specifies the desired ordering criterion for results. VehicleMatchOrder order_by = 13 [(google.api.field_behavior) = REQUIRED]; - // Indicates if a vehicle with a single active trip is eligible for another - // match. If `false`, vehicles with assigned trips are excluded from the - // search results. If `true`, search results include vehicles with - // `TripStatus` of `ENROUTE_TO_DROPOFF`. - // - // This field is only considered if a single `trip_type` of `EXCLUSIVE` is - // specified. + // This indicates if vehicles with a single active trip are eligible for this + // search. This field is only used when `current_trips_present` is + // unspecified. When `current_trips_present` is unspecified and this field + // is `false`, vehicles with assigned trips are excluded from the search + // results. When `current_trips_present` is unspecified and this field is + // `true`, search results can include vehicles with one active trip that has a + // status of `ENROUTE_TO_DROPOFF`. When `current_trips_present` is specified, + // this field cannot be set to true. // // The default value is `false`. bool include_back_to_back = 18; @@ -540,12 +542,34 @@ message SearchVehiclesRequest { // Indicates the trip associated with this `SearchVehicleRequest`. string trip_id = 19; - // Restricts vehicles from appearing in the search results based on - // their current trips. - // - // When current_trips_present is `NONE` or `ANY`, `trip_types` can be either - // `EXCLUSIVE` or `SHARED`, but not both. + // This indicates if vehicles with active trips are eligible for this search. + // This must be set to something other than + // `CURRENT_TRIPS_PRESENT_UNSPECIFIED` if `trip_type` includes `SHARED`. CurrentTripsPresent current_trips_present = 21; + + // Optional. A filter query to apply when searching vehicles. See + // http://aip.dev/160 for examples of the filter syntax. + // + // This field is designed to replace the `required_attributes`, + // `required_one_of_attributes`, and `required_one_of_attributes_sets` fields. + // If a non-empty value is specified here, the following fields must be empty: + // `required_attributes`, `required_one_of_attributes`, and + // `required_one_of_attributes_sets`. + // + // This filter functions as an AND clause with other constraints, + // such as `minimum_capacity` or `vehicle_types`. + // + // Note that the only queries supported are on vehicle attributes (for + // example, `attributes. = ` or `attributes. = AND + // attributes. = `). The maximum number of restrictions allowed + // in a filter query is 50. + // + // Also, all attributes are stored as strings, so the only supported + // comparisons against attributes are string comparisons. In order to compare + // against number or boolean values, the values must be explicitly quoted to + // be treated as strings (for example, `attributes. = "10"` or + // `attributes. = "true"`). + string filter = 22 [(google.api.field_behavior) = OPTIONAL]; } // `SearchVehicles` response message. @@ -585,13 +609,14 @@ message ListVehiclesRequest { // specified trip types. repeated TripType trip_types = 7; - // Restricts the response to vehicles that have updated their locations within - // the specified duration at the time of the call. If present, must be a valid - // positive duration. + // Restricts the response to vehicles that have sent location updates to Fleet + // Engine within the specified duration. Stationary vehicles still + // transmitting their locations are not considered stale. If present, must be + // a valid positive duration. google.protobuf.Duration maximum_staleness = 8; // Required. Restricts the response to vehicles with one of the specified type - // categories. + // categories. `UNKNOWN` is not allowed. repeated Vehicle.VehicleType.Category vehicle_type_categories = 9 [(google.api.field_behavior) = REQUIRED]; @@ -614,9 +639,9 @@ message ListVehiclesRequest { // ``` // // Restricts the response to vehicles with the specified attributes. This - // field is a conjunction/AND operation. Your app can specify up to 100 - // attributes; however, the combined key:value string length cannot exceed - // 1024 characters. + // field is a conjunction/AND operation. A max of 50 required_attributes is + // allowed. This matches the maximum number of attributes allowed on a + // vehicle. Each repeated string should be of the format "key:value". repeated string required_attributes = 10; // Restricts the response to vehicles with at least one of the specified @@ -624,7 +649,8 @@ message ListVehiclesRequest { // match at least one of the attributes. This field is an inclusive // disjunction/OR operation in each `VehicleAttributeList` and a // conjunction/AND operation across the collection of `VehicleAttributeList`. - // Format: key1:value1|key2:value2|key3:value3... + // Each repeated string should be of the format + // "key1:value1|key2:value2|key3:value3". repeated string required_one_of_attributes = 13; // `required_one_of_attribute_sets` provides additional functionality. @@ -636,11 +662,15 @@ message ListVehiclesRequest { // ``` // (required_attributes[0] AND required_attributes[1] AND ...) // AND - // (required_one_of_attributes[0][0] AND required_one_of_attributes[0][1] AND - // ...) - // OR - // (required_one_of_attributes[1][0] AND required_one_of_attributes[1][1] AND - // ...) + // ( + // (required_one_of_attribute_sets[0][0] AND + // required_one_of_attribute_sets[0][1] AND + // ...) + // OR + // (required_one_of_attribute_sets[1][0] AND + // required_one_of_attribute_sets[1][1] AND + // ...) + // ) // ``` // // Restricts the response to vehicles that match all the attributes in a @@ -656,6 +686,35 @@ message ListVehiclesRequest { // Only return the vehicles with current trip(s). bool on_trip_only = 14; + + // Optional. A filter query to apply when listing vehicles. See + // http://aip.dev/160 for examples of the filter syntax. + // + // This field is designed to replace the `required_attributes`, + // `required_one_of_attributes`, and `required_one_of_attributes_sets` fields. + // If a non-empty value is specified here, the following fields must be empty: + // `required_attributes`, `required_one_of_attributes`, and + // `required_one_of_attributes_sets`. + // + // This filter functions as an AND clause with other constraints, + // such as `vehicle_state` or `on_trip_only`. + // + // Note that the only queries supported are on vehicle attributes (for + // example, `attributes. = ` or `attributes. = AND + // attributes. = `). The maximum number of restrictions allowed + // in a filter query is 50. + // + // Also, all attributes are stored as strings, so the only supported + // comparisons against attributes are string comparisons. In order to compare + // against number or boolean values, the values must be explicitly quoted to + // be treated as strings (for example, `attributes. = "10"` or + // `attributes. = "true"`). + string filter = 16 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. A filter that limits the vehicles returned to those whose last + // known location was in the rectangular area defined by the viewport. + google.geo.type.Viewport viewport = 17 + [(google.api.field_behavior) = OPTIONAL]; } // `ListVehicles` response message. @@ -674,7 +733,9 @@ message ListVehiclesResponse { int64 total_size = 3 [(google.api.field_behavior) = REQUIRED]; } -// Describes intermediate points along a route. +// Describes intermediate points along a route for a `VehicleMatch` in a +// `SearchVehiclesResponse`. This concept is represented as a `TripWaypoint` in +// all other endpoints. message Waypoint { // The location of this waypoint. google.type.LatLng lat_lng = 1; diff --git a/third_party/googleapis/google/maps/fleetengine/v1/vehicles.proto b/third_party/googleapis/google/maps/fleetengine/v1/vehicles.proto index 3592ab478..002dd4609 100644 --- a/third_party/googleapis/google/maps/fleetengine/v1/vehicles.proto +++ b/third_party/googleapis/google/maps/fleetengine/v1/vehicles.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -22,7 +22,8 @@ import "google/maps/fleetengine/v1/fleetengine.proto"; import "google/protobuf/timestamp.proto"; import "google/protobuf/wrappers.proto"; -option go_package = "google.golang.org/genproto/googleapis/maps/fleetengine/v1;fleetengine"; +option csharp_namespace = "Google.Maps.FleetEngine.V1"; +option go_package = "cloud.google.com/go/maps/fleetengine/apiv1/fleetenginepb;fleetenginepb"; option java_multiple_files = true; option java_outer_classname = "Vehicles"; option java_package = "google.maps.fleetengine.v1"; @@ -53,6 +54,13 @@ message Vehicle { // A motorcycle, moped, or other two-wheeled vehicle TWO_WHEELER = 4; + + // Human-powered transport. + BICYCLE = 5; + + // A human transporter, typically walking or running, traveling along + // pedestrian pathways. + PEDESTRIAN = 6; } // Vehicle type category @@ -80,13 +88,13 @@ message Vehicle { // considered in this value. This value must be greater than or equal to one. int32 maximum_capacity = 6; - // List of vehicle attributes. A vehicle can have at most 50 + // List of vehicle attributes. A vehicle can have at most 100 // attributes, and each attribute must have a unique key. repeated VehicleAttribute attributes = 8; - // The type of this vehicle. Can be used to filter vehicles in + // Required. The type of this vehicle. Can be used to filter vehicles in // `SearchVehicles` results. Also influences ETA and route calculations. - VehicleType vehicle_type = 9; + VehicleType vehicle_type = 9 [(google.api.field_behavior) = REQUIRED]; // License plate information for the vehicle. LicensePlate license_plate = 10; @@ -102,7 +110,8 @@ message Vehicle { // not yet supported. string current_route_segment = 20; - // Input only. Fleet Engine uses this information to improve Journey Sharing. + // Input only. Fleet Engine uses this information to improve journey sharing. + // Note: This field is intended only for use by the Driver SDK. TrafficPolylineData current_route_segment_traffic = 28 [(google.api.field_behavior) = INPUT_ONLY]; diff --git a/third_party/googleapis/google/maps/mapsplatformdatasets/v1alpha/BUILD.bazel b/third_party/googleapis/google/maps/mapsplatformdatasets/v1alpha/BUILD.bazel index b0d5fca9c..5cbc3cf5a 100644 --- a/third_party/googleapis/google/maps/mapsplatformdatasets/v1alpha/BUILD.bazel +++ b/third_party/googleapis/google/maps/mapsplatformdatasets/v1alpha/BUILD.bazel @@ -115,13 +115,12 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( name = "mapsplatformdatasets_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/maps/mapsplatformdatasets/v1alpha", + importpath = "cloud.google.com/go/maps/mapsplatformdatasets/apiv1alpha/mapsplatformdatasetspb", protos = [":mapsplatformdatasets_proto"], deps = [ "//google/api:annotations_go_proto", @@ -134,6 +133,7 @@ go_gapic_library( grpc_service_config = "mapsplatformdatasets_grpc_service_config.json", importpath = "cloud.google.com/go/maps/mapsplatformdatasets/apiv1alpha;mapsplatformdatasets", metadata = True, + release_level = "alpha", rest_numeric_enums = True, service_yaml = "mapsplatformdatasets_v1alpha.yaml", transport = "grpc+rest", @@ -142,19 +142,13 @@ go_gapic_library( ], ) -go_test( - name = "mapsplatformdatasets_go_gapic_test", - srcs = [":mapsplatformdatasets_go_gapic_srcjar_test"], - embed = [":mapsplatformdatasets_go_gapic"], - importpath = "cloud.google.com/go/maps/mapsplatformdatasets/apiv1alpha", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-maps-mapsplatformdatasets-v1alpha-go", deps = [ ":mapsplatformdatasets_go_gapic", ":mapsplatformdatasets_go_gapic_srcjar-metadata.srcjar", + ":mapsplatformdatasets_go_gapic_srcjar-snippets.srcjar", ":mapsplatformdatasets_go_gapic_srcjar-test.srcjar", ":mapsplatformdatasets_go_proto", ], @@ -206,7 +200,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -215,12 +208,6 @@ php_proto_library( deps = [":mapsplatformdatasets_proto"], ) -php_grpc_library( - name = "mapsplatformdatasets_php_grpc", - srcs = [":mapsplatformdatasets_proto"], - deps = [":mapsplatformdatasets_php_proto"], -) - php_gapic_library( name = "mapsplatformdatasets_php_gapic", srcs = [":mapsplatformdatasets_proto_with_info"], @@ -229,7 +216,6 @@ php_gapic_library( service_yaml = "mapsplatformdatasets_v1alpha.yaml", transport = "grpc+rest", deps = [ - ":mapsplatformdatasets_php_grpc", ":mapsplatformdatasets_php_proto", ], ) @@ -239,7 +225,6 @@ php_gapic_assembly_pkg( name = "google-cloud-maps-mapsplatformdatasets-v1alpha-php", deps = [ ":mapsplatformdatasets_php_gapic", - ":mapsplatformdatasets_php_grpc", ":mapsplatformdatasets_php_proto", ], ) @@ -303,6 +288,7 @@ ruby_cloud_gapic_library( grpc_service_config = "mapsplatformdatasets_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "mapsplatformdatasets_v1alpha.yaml", + transport = "grpc+rest", deps = [ ":mapsplatformdatasets_ruby_grpc", ":mapsplatformdatasets_ruby_proto", @@ -332,6 +318,7 @@ load( csharp_proto_library( name = "mapsplatformdatasets_csharp_proto", + extra_opts = [], deps = [":mapsplatformdatasets_proto"], ) diff --git a/third_party/googleapis/google/maps/mapsplatformdatasets/v1alpha/data_source.proto b/third_party/googleapis/google/maps/mapsplatformdatasets/v1alpha/data_source.proto index cc80b58f3..f69079241 100644 --- a/third_party/googleapis/google/maps/mapsplatformdatasets/v1alpha/data_source.proto +++ b/third_party/googleapis/google/maps/mapsplatformdatasets/v1alpha/data_source.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.maps.mapsplatformdatasets.v1alpha; option csharp_namespace = "Google.Maps.MapsPlatformDatasets.V1Alpha"; -option go_package = "google.golang.org/genproto/googleapis/maps/mapsplatformdatasets/v1alpha;mapsplatformdatasets"; +option go_package = "cloud.google.com/go/maps/mapsplatformdatasets/apiv1alpha/mapsplatformdatasetspb;mapsplatformdatasetspb"; option java_multiple_files = true; option java_outer_classname = "DataSourceProto"; option java_package = "com.google.maps.mapsplatformdatasets.v1alpha"; diff --git a/third_party/googleapis/google/maps/mapsplatformdatasets/v1alpha/dataset.proto b/third_party/googleapis/google/maps/mapsplatformdatasets/v1alpha/dataset.proto index 64e83cb4d..b078deb55 100644 --- a/third_party/googleapis/google/maps/mapsplatformdatasets/v1alpha/dataset.proto +++ b/third_party/googleapis/google/maps/mapsplatformdatasets/v1alpha/dataset.proto @@ -22,7 +22,7 @@ import "google/maps/mapsplatformdatasets/v1alpha/data_source.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Maps.MapsPlatformDatasets.V1Alpha"; -option go_package = "google.golang.org/genproto/googleapis/maps/mapsplatformdatasets/v1alpha;mapsplatformdatasets"; +option go_package = "cloud.google.com/go/maps/mapsplatformdatasets/apiv1alpha/mapsplatformdatasetspb;mapsplatformdatasetspb"; option java_multiple_files = true; option java_outer_classname = "DatasetProto"; option java_package = "com.google.maps.mapsplatformdatasets.v1alpha"; diff --git a/third_party/googleapis/google/maps/mapsplatformdatasets/v1alpha/maps_platform_datasets.proto b/third_party/googleapis/google/maps/mapsplatformdatasets/v1alpha/maps_platform_datasets.proto index 7f2f42035..0a03f5cc6 100644 --- a/third_party/googleapis/google/maps/mapsplatformdatasets/v1alpha/maps_platform_datasets.proto +++ b/third_party/googleapis/google/maps/mapsplatformdatasets/v1alpha/maps_platform_datasets.proto @@ -22,7 +22,7 @@ import "google/maps/mapsplatformdatasets/v1alpha/dataset.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Maps.MapsPlatformDatasets.V1Alpha"; -option go_package = "google.golang.org/genproto/googleapis/maps/mapsplatformdatasets/v1alpha;mapsplatformdatasets"; +option go_package = "cloud.google.com/go/maps/mapsplatformdatasets/apiv1alpha/mapsplatformdatasetspb;mapsplatformdatasetspb"; option java_multiple_files = true; option java_outer_classname = "MapsPlatformDatasetsProto"; option java_package = "com.google.maps.mapsplatformdatasets.v1alpha"; diff --git a/third_party/googleapis/google/maps/mapsplatformdatasets/v1alpha/maps_platform_datasets_alpha_service.proto b/third_party/googleapis/google/maps/mapsplatformdatasets/v1alpha/maps_platform_datasets_alpha_service.proto index fe071546f..12478bedd 100644 --- a/third_party/googleapis/google/maps/mapsplatformdatasets/v1alpha/maps_platform_datasets_alpha_service.proto +++ b/third_party/googleapis/google/maps/mapsplatformdatasets/v1alpha/maps_platform_datasets_alpha_service.proto @@ -24,7 +24,7 @@ import "google/protobuf/empty.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Maps.MapsPlatformDatasets.V1Alpha"; -option go_package = "google.golang.org/genproto/googleapis/maps/mapsplatformdatasets/v1alpha;mapsplatformdatasets"; +option go_package = "cloud.google.com/go/maps/mapsplatformdatasets/apiv1alpha/mapsplatformdatasetspb;mapsplatformdatasetspb"; option java_multiple_files = true; option java_outer_classname = "MapsPlatformDatasetsV1AlphaServiceProto"; option java_package = "com.google.maps.mapsplatformdatasets.v1alpha"; diff --git a/third_party/googleapis/google/maps/playablelocations/v3/BUILD.bazel b/third_party/googleapis/google/maps/playablelocations/v3/BUILD.bazel index f222cd357..5d4ebd83d 100644 --- a/third_party/googleapis/google/maps/playablelocations/v3/BUILD.bazel +++ b/third_party/googleapis/google/maps/playablelocations/v3/BUILD.bazel @@ -13,7 +13,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -23,7 +22,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "ruby_cloud_gapic_library", @@ -81,6 +79,7 @@ java_gapic_library( srcs = [":playablelocations_proto_with_info"], grpc_service_config = "playablelocations_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "playablelocations_v3.yaml", test_deps = [ ":playablelocations_java_grpc", ], @@ -115,7 +114,7 @@ java_gapic_assembly_gradle_pkg( go_proto_library( name = "playablelocations_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/maps/playablelocations/v3", + importpath = "cloud.google.com/go/maps/playablelocations/apiv3/playablelocationspb", protos = [":playablelocations_proto"], deps = [ "//google/api:annotations_go_proto", @@ -129,7 +128,7 @@ go_gapic_library( name = "playablelocations_go_gapic", srcs = [":playablelocations_proto_with_info"], grpc_service_config = "playablelocations_grpc_service_config.json", - importpath = "google.golang.org/google/maps/playablelocations/v3;playablelocations", + importpath = "cloud.google.com/go/maps/playablelocations/apiv3;playablelocations", rest_numeric_enums = True, service_yaml = "playablelocations_v3.yaml", transport = "grpc+rest", @@ -139,18 +138,12 @@ go_gapic_library( ], ) -go_test( - name = "playablelocations_go_gapic_test", - srcs = [":playablelocations_go_gapic_srcjar_test"], - embed = [":playablelocations_go_gapic"], - importpath = "google.golang.org/google/maps/playablelocations/v3", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-maps-playablelocations-v3-go", deps = [ ":playablelocations_go_gapic", + ":playablelocations_go_gapic_srcjar-snippets.srcjar", ":playablelocations_go_gapic_srcjar-test.srcjar", ":playablelocations_go_proto", ], @@ -161,22 +154,13 @@ php_proto_library( deps = [":playablelocations_proto"], ) -php_grpc_library( - name = "playablelocations_php_grpc", - srcs = [":playablelocations_proto"], - deps = [":playablelocations_php_proto"], -) - php_gapic_library( name = "playablelocations_php_gapic", srcs = [":playablelocations_proto_with_info"], rest_numeric_enums = True, service_yaml = "playablelocations_v3.yaml", transport = "grpc+rest", - deps = [ - ":playablelocations_php_grpc", - ":playablelocations_php_proto", - ], + deps = [":playablelocations_php_proto"], ) # Open Source Packages @@ -184,7 +168,6 @@ php_gapic_assembly_pkg( name = "google-cloud-maps-playablelocations-v3-php", deps = [ ":playablelocations_php_gapic", - ":playablelocations_php_grpc", ":playablelocations_php_proto", ], ) @@ -205,8 +188,10 @@ nodejs_gapic_assembly_pkg( name = "maps-playablelocations-v3-nodejs", deps = [ ":playablelocations_nodejs_gapic", + "//google/maps/playablelocations/v3/sample:resources_proto", ":playablelocations_proto", - ], + "//google/maps/unity:clientinfo_proto", + ], ) ruby_proto_library( diff --git a/third_party/googleapis/google/maps/playablelocations/v3/playablelocations.proto b/third_party/googleapis/google/maps/playablelocations/v3/playablelocations.proto index 4263aaa9a..980961d18 100644 --- a/third_party/googleapis/google/maps/playablelocations/v3/playablelocations.proto +++ b/third_party/googleapis/google/maps/playablelocations/v3/playablelocations.proto @@ -25,7 +25,7 @@ import "google/protobuf/duration.proto"; import "google/api/client.proto"; option csharp_namespace = "Google.Maps.PlayableLocations.V3"; -option go_package = "google.golang.org/genproto/googleapis/maps/playablelocations/v3;playablelocations"; +option go_package = "cloud.google.com/go/maps/playablelocations/apiv3/playablelocationspb;playablelocationspb"; option java_multiple_files = true; option java_outer_classname = "PlayableLocationsProto"; option java_package = "com.google.maps.playablelocations.v3"; diff --git a/third_party/googleapis/google/maps/playablelocations/v3/resources.proto b/third_party/googleapis/google/maps/playablelocations/v3/resources.proto index 5ca381068..f47ca9ced 100644 --- a/third_party/googleapis/google/maps/playablelocations/v3/resources.proto +++ b/third_party/googleapis/google/maps/playablelocations/v3/resources.proto @@ -19,7 +19,7 @@ package google.maps.playablelocations.v3; import "google/api/field_behavior.proto"; option csharp_namespace = "Google.Maps.PlayableLocations.V3"; -option go_package = "google.golang.org/genproto/googleapis/maps/playablelocations/v3;playablelocations"; +option go_package = "cloud.google.com/go/maps/playablelocations/apiv3/playablelocationspb;playablelocationspb"; option java_multiple_files = true; option java_outer_classname = "ResourcesProto"; option java_package = "com.google.maps.playablelocations.v3"; diff --git a/third_party/googleapis/google/maps/playablelocations/v3/sample/BUILD.bazel b/third_party/googleapis/google/maps/playablelocations/v3/sample/BUILD.bazel index c9e518286..ae4658174 100644 --- a/third_party/googleapis/google/maps/playablelocations/v3/sample/BUILD.bazel +++ b/third_party/googleapis/google/maps/playablelocations/v3/sample/BUILD.bazel @@ -51,7 +51,7 @@ load( go_proto_library( name = "resources_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/maps/playablelocations/v3/sample", + importpath = "cloud.google.com/go/maps/playablelocations/apiv3/sample/samplepb", protos = [":resources_proto"], deps = [ "//google/api:annotations_go_proto", @@ -64,7 +64,6 @@ go_proto_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -73,20 +72,9 @@ php_proto_library( deps = [":resources_proto"], ) -php_grpc_library( - name = "resources_php_grpc", - srcs = [":resources_proto"], - deps = [":resources_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) ############################################################################## # Ruby diff --git a/third_party/googleapis/google/maps/playablelocations/v3/sample/resources.proto b/third_party/googleapis/google/maps/playablelocations/v3/sample/resources.proto index 2a97a00f0..91beef7a4 100644 --- a/third_party/googleapis/google/maps/playablelocations/v3/sample/resources.proto +++ b/third_party/googleapis/google/maps/playablelocations/v3/sample/resources.proto @@ -21,7 +21,7 @@ import "google/protobuf/field_mask.proto"; import "google/type/latlng.proto"; option csharp_namespace = "Google.Maps.PlayableLocations.V3.Sample"; -option go_package = "google.golang.org/genproto/googleapis/maps/playablelocations/v3/sample;sample"; +option go_package = "cloud.google.com/go/maps/playablelocations/apiv3/sample/samplepb;samplepb"; option java_multiple_files = true; option java_outer_classname = "ResourcesProto"; option java_package = "com.google.maps.playablelocations.v3.sample"; diff --git a/third_party/googleapis/google/maps/regionlookup/v1alpha/BUILD.bazel b/third_party/googleapis/google/maps/regionlookup/v1alpha/BUILD.bazel index 8b20a476d..7ac149849 100644 --- a/third_party/googleapis/google/maps/regionlookup/v1alpha/BUILD.bazel +++ b/third_party/googleapis/google/maps/regionlookup/v1alpha/BUILD.bazel @@ -24,7 +24,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -34,7 +33,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -126,7 +124,7 @@ java_gapic_assembly_gradle_pkg( go_proto_library( name = "regionlookup_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/maps/regionlookup/v1alpha", + importpath = "cloud.google.com/go/maps/regionlookup/apiv1alpha/regionlookuppb", protos = [":regionlookup_proto"], deps = [ "//google/api:annotations_go_proto", @@ -138,7 +136,7 @@ go_gapic_library( name = "regionlookup_go_gapic", srcs = [":regionlookup_proto_with_info"], grpc_service_config = "regionlookup_grpc_service_config.json", - importpath = "google.golang.org/google/maps/regionlookup/v1alpha;regionlookup", + importpath = "cloud.google.com/go/maps/regionlookup/apiv1alpha;regionlookup", metadata = True, rest_numeric_enums = True, service_yaml = "regionlookup_v1alpha.yaml", @@ -148,19 +146,13 @@ go_gapic_library( ], ) -go_test( - name = "regionlookup_go_gapic_test", - srcs = [":regionlookup_go_gapic_srcjar_test"], - embed = [":regionlookup_go_gapic"], - importpath = "google.golang.org/google/maps/regionlookup/v1alpha", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-maps-regionlookup-v1alpha-go", deps = [ ":regionlookup_go_gapic", ":regionlookup_go_gapic_srcjar-metadata.srcjar", + ":regionlookup_go_gapic_srcjar-snippets.srcjar", ":regionlookup_go_gapic_srcjar-test.srcjar", ":regionlookup_go_proto", ], @@ -198,12 +190,6 @@ php_proto_library( deps = [":regionlookup_proto"], ) -php_grpc_library( - name = "regionlookup_php_grpc", - srcs = [":regionlookup_proto"], - deps = [":regionlookup_php_proto"], -) - php_gapic_library( name = "regionlookup_php_gapic", srcs = [":regionlookup_proto_with_info"], @@ -211,10 +197,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "regionlookup_v1alpha.yaml", transport = "grpc+rest", - deps = [ - ":regionlookup_php_grpc", - ":regionlookup_php_proto", - ], + deps = [":regionlookup_php_proto"], ) # Open Source Packages @@ -222,7 +205,6 @@ php_gapic_assembly_pkg( name = "google-cloud-maps-regionlookup-v1alpha-php", deps = [ ":regionlookup_php_gapic", - ":regionlookup_php_grpc", ":regionlookup_php_proto", ], ) @@ -268,6 +250,7 @@ ruby_cloud_gapic_library( grpc_service_config = "regionlookup_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "regionlookup_v1alpha.yaml", + transport = "grpc+rest", deps = [ ":regionlookup_ruby_grpc", ":regionlookup_ruby_proto", diff --git a/third_party/googleapis/google/maps/regionlookup/v1alpha/region_identifier.proto b/third_party/googleapis/google/maps/regionlookup/v1alpha/region_identifier.proto index f5e6fea14..2369c4b86 100644 --- a/third_party/googleapis/google/maps/regionlookup/v1alpha/region_identifier.proto +++ b/third_party/googleapis/google/maps/regionlookup/v1alpha/region_identifier.proto @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Maps.RegionLookup.V1Alpha"; -option go_package = "google.golang.org/genproto/googleapis/maps/regionlookup/v1alpha;regionlookup"; +option go_package = "cloud.google.com/go/maps/regionlookup/apiv1alpha/regionlookuppb;regionlookuppb"; option java_multiple_files = true; option java_outer_classname = "RegionIdentifierProto"; option java_package = "com.google.maps.regionlookup.v1alpha"; diff --git a/third_party/googleapis/google/maps/regionlookup/v1alpha/region_lookup_service.proto b/third_party/googleapis/google/maps/regionlookup/v1alpha/region_lookup_service.proto index c87200d50..4ac839002 100644 --- a/third_party/googleapis/google/maps/regionlookup/v1alpha/region_lookup_service.proto +++ b/third_party/googleapis/google/maps/regionlookup/v1alpha/region_lookup_service.proto @@ -24,7 +24,7 @@ import "google/maps/regionlookup/v1alpha/region_search_values.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Maps.RegionLookup.V1Alpha"; -option go_package = "google.golang.org/genproto/googleapis/maps/regionlookup/v1alpha;regionlookup"; +option go_package = "cloud.google.com/go/maps/regionlookup/apiv1alpha/regionlookuppb;regionlookuppb"; option java_multiple_files = true; option java_outer_classname = "RegionLookupServiceProto"; option java_package = "com.google.maps.regionlookup.v1alpha"; diff --git a/third_party/googleapis/google/maps/regionlookup/v1alpha/region_match.proto b/third_party/googleapis/google/maps/regionlookup/v1alpha/region_match.proto index e0037bb3b..4457d6f0e 100644 --- a/third_party/googleapis/google/maps/regionlookup/v1alpha/region_match.proto +++ b/third_party/googleapis/google/maps/regionlookup/v1alpha/region_match.proto @@ -18,7 +18,7 @@ package google.maps.regionlookup.v1alpha; option cc_enable_arenas = true; option csharp_namespace = "Google.Maps.RegionLookup.V1Alpha"; -option go_package = "google.golang.org/genproto/googleapis/maps/regionlookup/v1alpha;regionlookup"; +option go_package = "cloud.google.com/go/maps/regionlookup/apiv1alpha/regionlookuppb;regionlookuppb"; option java_multiple_files = true; option java_outer_classname = "RegionMatchProto"; option java_package = "com.google.maps.regionlookup.v1alpha"; diff --git a/third_party/googleapis/google/maps/regionlookup/v1alpha/region_search_values.proto b/third_party/googleapis/google/maps/regionlookup/v1alpha/region_search_values.proto index 956dd2f37..d4053397d 100644 --- a/third_party/googleapis/google/maps/regionlookup/v1alpha/region_search_values.proto +++ b/third_party/googleapis/google/maps/regionlookup/v1alpha/region_search_values.proto @@ -21,7 +21,7 @@ import "google/type/latlng.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Maps.RegionLookup.V1Alpha"; -option go_package = "google.golang.org/genproto/googleapis/maps/regionlookup/v1alpha;regionlookup"; +option go_package = "cloud.google.com/go/maps/regionlookup/apiv1alpha/regionlookuppb;regionlookuppb"; option java_multiple_files = true; option java_outer_classname = "RegionSearchValuesProto"; option java_package = "com.google.maps.regionlookup.v1alpha"; diff --git a/third_party/googleapis/google/maps/roads/v1op/BUILD.bazel b/third_party/googleapis/google/maps/roads/v1op/BUILD.bazel index b65f78ac7..78656d370 100644 --- a/third_party/googleapis/google/maps/roads/v1op/BUILD.bazel +++ b/third_party/googleapis/google/maps/roads/v1op/BUILD.bazel @@ -16,7 +16,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -24,7 +23,6 @@ load( "java_proto_library", "nodejs_gapic_assembly_pkg", "nodejs_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -78,6 +76,7 @@ java_gapic_library( srcs = [":roads_proto_with_info"], grpc_service_config = "roads_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "roads_v1op.yaml", test_deps = [ ":roads_java_grpc", ], @@ -117,7 +116,7 @@ maps_assembly_pkg( go_proto_library( name = "roads_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/maps/roads/v1op", + importpath = "cloud.google.com/go/maps/roads/apiv1op/roadspb", protos = [":roads_proto"], deps = [ "//google/api:annotations_go_proto", @@ -129,7 +128,7 @@ go_gapic_library( name = "roads_go_gapic", srcs = [":roads_proto_with_info"], grpc_service_config = "roads_grpc_service_config.json", - importpath = "developers.google.com/maps/go/roads/v1op;roads", + importpath = "cloud.google.com/go/maps/roads/apiv1op;roads", rest_numeric_enums = True, service_yaml = "roads_v1op.yaml", transport = "grpc+rest", @@ -138,18 +137,12 @@ go_gapic_library( ], ) -go_test( - name = "roads_go_gapic_test", - srcs = [":roads_go_gapic_srcjar_test"], - embed = [":roads_go_gapic"], - importpath = "developers.google.com/maps/go/roads/v1op", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapic-maps-roads-v1op-go", deps = [ ":roads_go_gapic", + ":roads_go_gapic_srcjar-snippets.srcjar", ":roads_go_gapic_srcjar-test.srcjar", ":roads_go_proto", ], @@ -193,28 +186,11 @@ php_proto_library( deps = [":roads_proto"], ) -php_grpc_library( - name = "roads_php_grpc", - srcs = [":roads_proto"], - deps = [":roads_php_proto"], -) -# A HttpRule option must be defined -# php_gapic_library( -# name = "roads_php_gapic", -# srcs = [":roads_proto_with_info"], -# service_yaml = "roads_v1op.yaml", -# deps = [ -# ":roads_php_grpc", -# ":roads_php_proto", -# ], -# ) - # # Open Source Packages # php_gapic_assembly_pkg( # name = "google-maps-roads-v1op-php", # deps = [ # ":roads_php_gapic", -# ":roads_php_grpc", # ":roads_php_proto", # ], # ) @@ -256,6 +232,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-roads-v1op"], rest_numeric_enums = True, service_yaml = "roads_v1op.yaml", + transport = "grpc", deps = [ ":roads_ruby_grpc", ":roads_ruby_proto", diff --git a/third_party/googleapis/google/maps/roads/v1op/roads.proto b/third_party/googleapis/google/maps/roads/v1op/roads.proto index d11e4d0e4..579fc7db3 100644 --- a/third_party/googleapis/google/maps/roads/v1op/roads.proto +++ b/third_party/googleapis/google/maps/roads/v1op/roads.proto @@ -21,7 +21,7 @@ import "google/api/client.proto"; import "google/protobuf/wrappers.proto"; import "google/type/latlng.proto"; -option go_package = "google.golang.org/genproto/googleapis/maps/roads/v1op;roads"; +option go_package = "cloud.google.com/go/maps/roads/apiv1op/roadspb;roadspb"; option java_multiple_files = true; option java_outer_classname = "RoadsProto"; option java_package = "com.google.maps.roads.v1op"; diff --git a/third_party/googleapis/google/maps/routes/v1/BUILD.bazel b/third_party/googleapis/google/maps/routes/v1/BUILD.bazel index c01428296..430aa2c3d 100644 --- a/third_party/googleapis/google/maps/routes/v1/BUILD.bazel +++ b/third_party/googleapis/google/maps/routes/v1/BUILD.bazel @@ -14,10 +14,10 @@ load( "java_gapic_assembly_gradle_pkg", "java_grpc_library", "java_proto_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_library", + "py_import", "py_test", "ruby_grpc_library", "ruby_proto_library", @@ -92,7 +92,7 @@ java_gapic_assembly_gradle_pkg( go_proto_library( name = "routes_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/maps/routes/v1", + importpath = "cloud.google.com/go/maps/routes/apiv1/routespb", protos = [":routes_proto"], deps = [ "//google/api:annotations_go_proto", @@ -103,14 +103,24 @@ go_proto_library( ], ) +py_import( + name = "viewport", + srcs = [ + "//google/geo/type:viewport_py_gapic", + ], +) + py_gapic_library( name = "routes_py_gapic", srcs = [":routes_proto"], grpc_service_config = "routes_grpc_service_config.json", + opt_args = [ + "proto-plus-deps=google.geo.type", + ], rest_numeric_enums = True, transport = "grpc+rest", deps = [ - "//google/geo/type:viewport_py_proto", + ":viewport", ], ) @@ -129,12 +139,6 @@ php_proto_library( deps = [":routes_proto"], ) -php_grpc_library( - name = "routes_php_grpc", - srcs = [":routes_proto"], - deps = [":routes_php_proto"], -) - ruby_proto_library( name = "routes_ruby_proto", deps = [":routes_proto"], diff --git a/third_party/googleapis/google/maps/routes/v1/compute_custom_routes_request.proto b/third_party/googleapis/google/maps/routes/v1/compute_custom_routes_request.proto index ee8cb0da4..4c7ad9f7a 100644 --- a/third_party/googleapis/google/maps/routes/v1/compute_custom_routes_request.proto +++ b/third_party/googleapis/google/maps/routes/v1/compute_custom_routes_request.proto @@ -24,7 +24,7 @@ import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Maps.Routes.V1"; -option go_package = "google.golang.org/genproto/googleapis/maps/routes/v1;routes"; +option go_package = "cloud.google.com/go/maps/routes/apiv1/routespb;routespb"; option java_multiple_files = true; option java_outer_classname = "ComputeCustomRoutesRequestProto"; option java_package = "com.google.maps.routes.v1"; diff --git a/third_party/googleapis/google/maps/routes/v1/compute_custom_routes_response.proto b/third_party/googleapis/google/maps/routes/v1/compute_custom_routes_response.proto index 10fcb6707..57dd739bb 100644 --- a/third_party/googleapis/google/maps/routes/v1/compute_custom_routes_response.proto +++ b/third_party/googleapis/google/maps/routes/v1/compute_custom_routes_response.proto @@ -21,7 +21,7 @@ import "google/maps/routes/v1/fallback_info.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Maps.Routes.V1"; -option go_package = "google.golang.org/genproto/googleapis/maps/routes/v1;routes"; +option go_package = "cloud.google.com/go/maps/routes/apiv1/routespb;routespb"; option java_multiple_files = true; option java_outer_classname = "ComputeCustomRoutesResponseProto"; option java_package = "com.google.maps.routes.v1"; diff --git a/third_party/googleapis/google/maps/routes/v1/compute_route_matrix_request.proto b/third_party/googleapis/google/maps/routes/v1/compute_route_matrix_request.proto index 82c95aacc..c2c83cbc7 100644 --- a/third_party/googleapis/google/maps/routes/v1/compute_route_matrix_request.proto +++ b/third_party/googleapis/google/maps/routes/v1/compute_route_matrix_request.proto @@ -23,7 +23,7 @@ import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Maps.Routes.V1"; -option go_package = "google.golang.org/genproto/googleapis/maps/routes/v1;routes"; +option go_package = "cloud.google.com/go/maps/routes/apiv1/routespb;routespb"; option java_multiple_files = true; option java_outer_classname = "ComputeRouteMatrixRequestProto"; option java_package = "com.google.maps.routes.v1"; diff --git a/third_party/googleapis/google/maps/routes/v1/compute_routes_request.proto b/third_party/googleapis/google/maps/routes/v1/compute_routes_request.proto index 2d72da78b..81af6f947 100644 --- a/third_party/googleapis/google/maps/routes/v1/compute_routes_request.proto +++ b/third_party/googleapis/google/maps/routes/v1/compute_routes_request.proto @@ -24,7 +24,7 @@ import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Maps.Routes.V1"; -option go_package = "google.golang.org/genproto/googleapis/maps/routes/v1;routes"; +option go_package = "cloud.google.com/go/maps/routes/apiv1/routespb;routespb"; option java_multiple_files = true; option java_outer_classname = "ComputeRoutesRequestProto"; option java_package = "com.google.maps.routes.v1"; diff --git a/third_party/googleapis/google/maps/routes/v1/compute_routes_response.proto b/third_party/googleapis/google/maps/routes/v1/compute_routes_response.proto index d7ed34264..779fd17d5 100644 --- a/third_party/googleapis/google/maps/routes/v1/compute_routes_response.proto +++ b/third_party/googleapis/google/maps/routes/v1/compute_routes_response.proto @@ -21,7 +21,7 @@ import "google/maps/routes/v1/route.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Maps.Routes.V1"; -option go_package = "google.golang.org/genproto/googleapis/maps/routes/v1;routes"; +option go_package = "cloud.google.com/go/maps/routes/apiv1/routespb;routespb"; option java_multiple_files = true; option java_outer_classname = "ComputeRoutesResponseProto"; option java_package = "com.google.maps.routes.v1"; diff --git a/third_party/googleapis/google/maps/routes/v1/custom_route.proto b/third_party/googleapis/google/maps/routes/v1/custom_route.proto index 9b80f7f9e..c23fb7cc1 100644 --- a/third_party/googleapis/google/maps/routes/v1/custom_route.proto +++ b/third_party/googleapis/google/maps/routes/v1/custom_route.proto @@ -20,7 +20,7 @@ import "google/maps/routes/v1/route.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Maps.Routes.V1"; -option go_package = "google.golang.org/genproto/googleapis/maps/routes/v1;routes"; +option go_package = "cloud.google.com/go/maps/routes/apiv1/routespb;routespb"; option java_multiple_files = true; option java_outer_classname = "CustomRouteProto"; option java_package = "com.google.maps.routes.v1"; diff --git a/third_party/googleapis/google/maps/routes/v1/fallback_info.proto b/third_party/googleapis/google/maps/routes/v1/fallback_info.proto index ef88f91d4..33e8ba1ea 100644 --- a/third_party/googleapis/google/maps/routes/v1/fallback_info.proto +++ b/third_party/googleapis/google/maps/routes/v1/fallback_info.proto @@ -18,7 +18,7 @@ package google.maps.routes.v1; option cc_enable_arenas = true; option csharp_namespace = "Google.Maps.Routes.V1"; -option go_package = "google.golang.org/genproto/googleapis/maps/routes/v1;routes"; +option go_package = "cloud.google.com/go/maps/routes/apiv1/routespb;routespb"; option java_multiple_files = true; option java_outer_classname = "FallbackInfoProto"; option java_package = "com.google.maps.routes.v1"; diff --git a/third_party/googleapis/google/maps/routes/v1/polyline.proto b/third_party/googleapis/google/maps/routes/v1/polyline.proto index d85851625..83052b4b6 100644 --- a/third_party/googleapis/google/maps/routes/v1/polyline.proto +++ b/third_party/googleapis/google/maps/routes/v1/polyline.proto @@ -20,7 +20,7 @@ import "google/protobuf/struct.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Maps.Routes.V1"; -option go_package = "google.golang.org/genproto/googleapis/maps/routes/v1;routes"; +option go_package = "cloud.google.com/go/maps/routes/apiv1/routespb;routespb"; option java_multiple_files = true; option java_outer_classname = "PolylineProto"; option java_package = "com.google.maps.routes.v1"; diff --git a/third_party/googleapis/google/maps/routes/v1/route.proto b/third_party/googleapis/google/maps/routes/v1/route.proto index 9da103388..17a137482 100644 --- a/third_party/googleapis/google/maps/routes/v1/route.proto +++ b/third_party/googleapis/google/maps/routes/v1/route.proto @@ -24,7 +24,7 @@ import "google/type/money.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Maps.Routes.V1"; -option go_package = "google.golang.org/genproto/googleapis/maps/routes/v1;routes"; +option go_package = "cloud.google.com/go/maps/routes/apiv1/routespb;routespb"; option java_multiple_files = true; option java_outer_classname = "RouteProto"; option java_package = "com.google.maps.routes.v1"; diff --git a/third_party/googleapis/google/maps/routes/v1/route_matrix_element.proto b/third_party/googleapis/google/maps/routes/v1/route_matrix_element.proto index db77f4af5..065ee44af 100644 --- a/third_party/googleapis/google/maps/routes/v1/route_matrix_element.proto +++ b/third_party/googleapis/google/maps/routes/v1/route_matrix_element.proto @@ -23,7 +23,7 @@ import "google/rpc/status.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Maps.Routes.V1"; -option go_package = "google.golang.org/genproto/googleapis/maps/routes/v1;routes"; +option go_package = "cloud.google.com/go/maps/routes/apiv1/routespb;routespb"; option java_multiple_files = true; option java_outer_classname = "ComputeRouteMatrixElementProto"; option java_package = "com.google.maps.routes.v1"; diff --git a/third_party/googleapis/google/maps/routes/v1/route_service.proto b/third_party/googleapis/google/maps/routes/v1/route_service.proto index 5aa3f0cea..a8007fd23 100644 --- a/third_party/googleapis/google/maps/routes/v1/route_service.proto +++ b/third_party/googleapis/google/maps/routes/v1/route_service.proto @@ -27,7 +27,7 @@ import "google/maps/routes/v1/route_matrix_element.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Maps.Routes.V1"; -option go_package = "google.golang.org/genproto/googleapis/maps/routes/v1;routes"; +option go_package = "cloud.google.com/go/maps/routes/apiv1/routespb;routespb"; option java_multiple_files = true; option java_outer_classname = "RoutesServiceProto"; option java_package = "com.google.maps.routes.v1"; diff --git a/third_party/googleapis/google/maps/routes/v1/toll_passes.proto b/third_party/googleapis/google/maps/routes/v1/toll_passes.proto index 64b39ed0a..96122a14d 100644 --- a/third_party/googleapis/google/maps/routes/v1/toll_passes.proto +++ b/third_party/googleapis/google/maps/routes/v1/toll_passes.proto @@ -18,7 +18,7 @@ package google.maps.routes.v1; option cc_enable_arenas = true; option csharp_namespace = "Google.Maps.Routes.V1"; -option go_package = "google.golang.org/genproto/googleapis/maps/routes/v1;routes"; +option go_package = "cloud.google.com/go/maps/routes/apiv1/routespb;routespb"; option java_multiple_files = true; option java_outer_classname = "TollPassesProto"; option java_package = "com.google.maps.routes.v1"; diff --git a/third_party/googleapis/google/maps/routes/v1/vehicle_emission_type.proto b/third_party/googleapis/google/maps/routes/v1/vehicle_emission_type.proto index 2a098f0a9..e46be9e36 100644 --- a/third_party/googleapis/google/maps/routes/v1/vehicle_emission_type.proto +++ b/third_party/googleapis/google/maps/routes/v1/vehicle_emission_type.proto @@ -18,7 +18,7 @@ package google.maps.routes.v1; option cc_enable_arenas = true; option csharp_namespace = "Google.Maps.Routes.V1"; -option go_package = "google.golang.org/genproto/googleapis/maps/routes/v1;routes"; +option go_package = "cloud.google.com/go/maps/routes/apiv1/routespb;routespb"; option java_multiple_files = true; option java_outer_classname = "VehicleEmissionTypeProto"; option java_package = "com.google.maps.routes.v1"; diff --git a/third_party/googleapis/google/maps/routes/v1/waypoint.proto b/third_party/googleapis/google/maps/routes/v1/waypoint.proto index 25de06a7a..8234fbfa4 100644 --- a/third_party/googleapis/google/maps/routes/v1/waypoint.proto +++ b/third_party/googleapis/google/maps/routes/v1/waypoint.proto @@ -21,7 +21,7 @@ import "google/type/latlng.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Maps.Routes.V1"; -option go_package = "google.golang.org/genproto/googleapis/maps/routes/v1;routes"; +option go_package = "cloud.google.com/go/maps/routes/apiv1/routespb;routespb"; option java_multiple_files = true; option java_outer_classname = "WaypointProto"; option java_package = "com.google.maps.routes.v1"; diff --git a/third_party/googleapis/google/maps/routes/v1alpha/BUILD.bazel b/third_party/googleapis/google/maps/routes/v1alpha/BUILD.bazel index e5321c5b0..6077e29a5 100644 --- a/third_party/googleapis/google/maps/routes/v1alpha/BUILD.bazel +++ b/third_party/googleapis/google/maps/routes/v1alpha/BUILD.bazel @@ -51,7 +51,7 @@ load( go_proto_library( name = "routes_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/maps/routes/v1alpha", + importpath = "cloud.google.com/go/maps/routes/apiv1alpha/routespb", protos = [":routes_proto"], deps = [ "//google/api:annotations_go_proto", @@ -95,7 +95,6 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -104,21 +103,9 @@ php_proto_library( deps = [":routes_proto"], ) -php_grpc_library( - name = "routes_php_grpc", - srcs = [":routes_proto"], - deps = [":routes_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) - ############################################################################## # Ruby diff --git a/third_party/googleapis/google/maps/routes/v1alpha/route_service.proto b/third_party/googleapis/google/maps/routes/v1alpha/route_service.proto index fb2167a3f..9b92dc5e5 100644 --- a/third_party/googleapis/google/maps/routes/v1alpha/route_service.proto +++ b/third_party/googleapis/google/maps/routes/v1alpha/route_service.proto @@ -27,7 +27,7 @@ import "google/maps/routes/v1/route_matrix_element.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Maps.Routes.V1Alpha"; -option go_package = "google.golang.org/genproto/googleapis/maps/routes/v1alpha;routes"; +option go_package = "cloud.google.com/go/maps/routes/apiv1alpha/routespb;routespb"; option java_multiple_files = true; option java_outer_classname = "RoutesServiceAlphaProto"; option java_package = "com.google.maps.routes.v1alpha"; diff --git a/third_party/googleapis/google/maps/routespreferred/v1/BUILD.bazel b/third_party/googleapis/google/maps/routespreferred/v1/BUILD.bazel index c0a0dedfb..c0489731c 100644 --- a/third_party/googleapis/google/maps/routespreferred/v1/BUILD.bazel +++ b/third_party/googleapis/google/maps/routespreferred/v1/BUILD.bazel @@ -9,7 +9,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "go_gapic_assembly_pkg", "go_gapic_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -34,6 +33,7 @@ java_gapic_library( gapic_yaml = "routespreferred_gapic.yaml", grpc_service_config = "//google/maps/routes/v1:routes_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "routespreferred_v1.yaml", test_deps = [ "//google/maps/routes/v1:routes_java_grpc", ], @@ -82,18 +82,12 @@ go_gapic_library( ], ) -go_test( - name = "routespreferred_go_gapic_test", - srcs = [":routespreferred_go_gapic_srcjar_test"], - embed = [":routespreferred_go_gapic"], - importpath = "developers.google.com/maps/go/routespreferred/v1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapic-maps-routespreferred-v1-go", deps = [ ":routespreferred_go_gapic", + ":routespreferred_go_gapic_srcjar-snippets.srcjar", ":routespreferred_go_gapic_srcjar-test.srcjar", "//google/maps/routes/v1:routes_go_proto", ], diff --git a/third_party/googleapis/google/maps/routing/v2/BUILD.bazel b/third_party/googleapis/google/maps/routing/v2/BUILD.bazel index 2e7118229..1044028cc 100644 --- a/third_party/googleapis/google/maps/routing/v2/BUILD.bazel +++ b/third_party/googleapis/google/maps/routing/v2/BUILD.bazel @@ -22,6 +22,8 @@ proto_library( name = "routing_proto", srcs = [ "fallback_info.proto", + "geocoding_results.proto", + "localized_time.proto", "location.proto", "maneuver.proto", "navigation_instruction.proto", @@ -35,6 +37,9 @@ proto_library( "speed_reading_interval.proto", "toll_info.proto", "toll_passes.proto", + "traffic_model.proto", + "transit.proto", + "transit_preferences.proto", "units.proto", "vehicle_emission_type.proto", "vehicle_info.proto", @@ -47,6 +52,7 @@ proto_library( "//google/geo/type:viewport_proto", "//google/rpc:status_proto", "//google/type:latlng_proto", + "//google/type:localized_text_proto", "//google/type:money_proto", "@com_google_protobuf//:duration_proto", "@com_google_protobuf//:struct_proto", @@ -133,19 +139,19 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( name = "routing_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/maps/routing/v2", + importpath = "cloud.google.com/go/maps/routing/apiv2/routingpb", protos = [":routing_proto"], deps = [ "//google/api:annotations_go_proto", "//google/geo/type:viewport_go_proto", "//google/rpc:status_go_proto", "//google/type:latlng_go_proto", + "//google/type:localized_text_go_proto", "//google/type:money_go_proto", ], ) @@ -154,8 +160,9 @@ go_gapic_library( name = "routing_go_gapic", srcs = [":routing_proto_with_info"], grpc_service_config = "library_grpc_service_config.json", - importpath = "google.golang.org/google/maps/routing/v2;routing", + importpath = "cloud.google.com/go/maps/routing/apiv2;routing", metadata = True, + release_level = "ga", rest_numeric_enums = True, service_yaml = "routes_v2.yaml", transport = "grpc+rest", @@ -165,19 +172,13 @@ go_gapic_library( ], ) -go_test( - name = "routing_go_gapic_test", - srcs = [":routing_go_gapic_srcjar_test"], - embed = [":routing_go_gapic"], - importpath = "google.golang.org/google/maps/routing/v2", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-maps-routing-v2-go", deps = [ ":routing_go_gapic", ":routing_go_gapic_srcjar-metadata.srcjar", + ":routing_go_gapic_srcjar-snippets.srcjar", ":routing_go_gapic_srcjar-test.srcjar", ":routing_go_proto", ], @@ -190,18 +191,29 @@ load( "@com_google_googleapis_imports//:imports.bzl", "py_gapic_assembly_pkg", "py_gapic_library", + "py_import", "py_test", ) +py_import( + name = "viewport", + srcs = [ + "//google/geo/type:viewport_py_gapic", + ], +) + py_gapic_library( name = "routing_py_gapic", srcs = [":routing_proto"], grpc_service_config = "library_grpc_service_config.json", + opt_args = [ + "proto-plus-deps=google.geo.type", + ], rest_numeric_enums = True, service_yaml = "routes_v2.yaml", transport = "grpc+rest", deps = [ - "//google/geo/type:viewport_py_proto", + ":viewport", ], ) @@ -230,7 +242,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -239,12 +250,6 @@ php_proto_library( deps = [":routing_proto"], ) -php_grpc_library( - name = "routing_php_grpc", - srcs = [":routing_proto"], - deps = [":routing_php_proto"], -) - php_gapic_library( name = "routing_php_gapic", srcs = [":routing_proto_with_info"], @@ -252,10 +257,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "routes_v2.yaml", transport = "grpc+rest", - deps = [ - ":routing_php_grpc", - ":routing_php_proto", - ], + deps = [":routing_php_proto"], ) # Open Source Packages @@ -263,7 +265,6 @@ php_gapic_assembly_pkg( name = "google-maps-routing-v2-php", deps = [ ":routing_php_gapic", - ":routing_php_grpc", ":routing_php_proto", ], ) @@ -335,6 +336,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Routing includes the process of calculating a path along the road network, complete with an Estimated Time of Arrival (ETA).", ruby_cloud_title = "Routes V2", service_yaml = "routes_v2.yaml", + transport = "grpc+rest", deps = [ ":routing_ruby_grpc", ":routing_ruby_proto", diff --git a/third_party/googleapis/google/maps/routing/v2/fallback_info.proto b/third_party/googleapis/google/maps/routing/v2/fallback_info.proto index e8ba95205..3af720b9b 100644 --- a/third_party/googleapis/google/maps/routing/v2/fallback_info.proto +++ b/third_party/googleapis/google/maps/routing/v2/fallback_info.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,7 +18,7 @@ package google.maps.routing.v2; option cc_enable_arenas = true; option csharp_namespace = "Google.Maps.Routing.V2"; -option go_package = "google.golang.org/genproto/googleapis/maps/routing/v2;routing"; +option go_package = "cloud.google.com/go/maps/routing/apiv2/routingpb;routingpb"; option java_multiple_files = true; option java_outer_classname = "FallbackInfoProto"; option java_package = "com.google.maps.routing.v2"; @@ -62,11 +62,12 @@ enum FallbackRoutingMode { // Not used. FALLBACK_ROUTING_MODE_UNSPECIFIED = 0; - // Indicates the "TRAFFIC_UNAWARE" routing mode was used to compute the - // response. + // Indicates the `TRAFFIC_UNAWARE` [google.maps.routing.v2.RoutingPreference] + // was used to compute the response. FALLBACK_TRAFFIC_UNAWARE = 1; - // Indicates the "TRAFFIC_AWARE" routing mode was used to compute the - // response. + // Indicates the `TRAFFIC_AWARE` + // [RoutingPreference][google.maps.routing.v2.RoutingPreference] was used to + // compute the response. FALLBACK_TRAFFIC_AWARE = 2; } diff --git a/third_party/googleapis/google/maps/routing/v2/location.proto b/third_party/googleapis/google/maps/routing/v2/location.proto index 45c08b808..8794169d1 100644 --- a/third_party/googleapis/google/maps/routing/v2/location.proto +++ b/third_party/googleapis/google/maps/routing/v2/location.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,7 +21,7 @@ import "google/type/latlng.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Maps.Routing.V2"; -option go_package = "google.golang.org/genproto/googleapis/maps/routing/v2;routing"; +option go_package = "cloud.google.com/go/maps/routing/apiv2/routingpb;routingpb"; option java_multiple_files = true; option java_outer_classname = "LocationProto"; option java_package = "com.google.maps.routing.v2"; @@ -35,9 +35,10 @@ message Location { google.type.LatLng lat_lng = 1; // The compass heading associated with the direction of the flow of traffic. - // This value is used to specify the side of the road to use for pickup and - // drop-off. Heading values can be from 0 to 360, where 0 specifies a heading - // of due North, 90 specifies a heading of due East, etc. You can use this - // field only for `DRIVE` and `TWO_WHEELER` travel modes. + // This value specifies the side of the road for pickup and drop-off. Heading + // values can be from 0 to 360, where 0 specifies a heading of due North, 90 + // specifies a heading of due East, and so on. You can use this field only for + // `DRIVE` and `TWO_WHEELER` + // [RouteTravelMode][google.maps.routing.v2.RouteTravelMode]. google.protobuf.Int32Value heading = 2; } diff --git a/third_party/googleapis/google/maps/routing/v2/maneuver.proto b/third_party/googleapis/google/maps/routing/v2/maneuver.proto index b87f8f97f..dac7b8e3d 100644 --- a/third_party/googleapis/google/maps/routing/v2/maneuver.proto +++ b/third_party/googleapis/google/maps/routing/v2/maneuver.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,7 +18,7 @@ package google.maps.routing.v2; option cc_enable_arenas = true; option csharp_namespace = "Google.Maps.Routing.V2"; -option go_package = "google.golang.org/genproto/googleapis/maps/routing/v2;routing"; +option go_package = "cloud.google.com/go/maps/routing/apiv2/routingpb;routingpb"; option java_multiple_files = true; option java_outer_classname = "ManeuverProto"; option java_package = "com.google.maps.routing.v2"; @@ -85,4 +85,10 @@ enum Maneuver { // Turn right at the roundabout. ROUNDABOUT_RIGHT = 18; + + // Initial maneuver. + DEPART = 19; + + // Used to indicate a street name change. + NAME_CHANGE = 20; } diff --git a/third_party/googleapis/google/maps/routing/v2/navigation_instruction.proto b/third_party/googleapis/google/maps/routing/v2/navigation_instruction.proto index dfe017cf5..cf6683232 100644 --- a/third_party/googleapis/google/maps/routing/v2/navigation_instruction.proto +++ b/third_party/googleapis/google/maps/routing/v2/navigation_instruction.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,7 +20,7 @@ import "google/maps/routing/v2/maneuver.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Maps.Routing.V2"; -option go_package = "google.golang.org/genproto/googleapis/maps/routing/v2;routing"; +option go_package = "cloud.google.com/go/maps/routing/apiv2/routingpb;routingpb"; option java_multiple_files = true; option java_outer_classname = "NavigationInstructionProto"; option java_package = "com.google.maps.routing.v2"; diff --git a/third_party/googleapis/google/maps/routing/v2/polyline.proto b/third_party/googleapis/google/maps/routing/v2/polyline.proto index 19f6b2679..ba3609b2d 100644 --- a/third_party/googleapis/google/maps/routing/v2/polyline.proto +++ b/third_party/googleapis/google/maps/routing/v2/polyline.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,7 +20,7 @@ import "google/protobuf/struct.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Maps.Routing.V2"; -option go_package = "google.golang.org/genproto/googleapis/maps/routing/v2;routing"; +option go_package = "cloud.google.com/go/maps/routing/apiv2/routingpb;routingpb"; option java_multiple_files = true; option java_outer_classname = "PolylineProto"; option java_package = "com.google.maps.routing.v2"; diff --git a/third_party/googleapis/google/maps/routing/v2/route.proto b/third_party/googleapis/google/maps/routing/v2/route.proto index 7ce7c294f..3a982db04 100644 --- a/third_party/googleapis/google/maps/routing/v2/route.proto +++ b/third_party/googleapis/google/maps/routing/v2/route.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,17 +17,23 @@ syntax = "proto3"; package google.maps.routing.v2; import "google/geo/type/viewport.proto"; +import "google/maps/routing/v2/localized_time.proto"; import "google/maps/routing/v2/location.proto"; import "google/maps/routing/v2/navigation_instruction.proto"; import "google/maps/routing/v2/polyline.proto"; import "google/maps/routing/v2/route_label.proto"; +import "google/maps/routing/v2/route_travel_mode.proto"; import "google/maps/routing/v2/speed_reading_interval.proto"; import "google/maps/routing/v2/toll_info.proto"; +import "google/maps/routing/v2/transit.proto"; import "google/protobuf/duration.proto"; +import "google/protobuf/timestamp.proto"; +import "google/type/localized_text.proto"; +import "google/type/money.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Maps.Routing.V2"; -option go_package = "google.golang.org/genproto/googleapis/maps/routing/v2;routing"; +option go_package = "cloud.google.com/go/maps/routing/apiv2/routingpb;routingpb"; option java_multiple_files = true; option java_outer_classname = "RouteProto"; option java_package = "com.google.maps.routing.v2"; @@ -35,20 +41,38 @@ option objc_class_prefix = "GMRV2"; option php_namespace = "Google\\Maps\\Routing\\V2"; option ruby_package = "Google::Maps::Routing::V2"; -// Encapsulates a route, which consists of a series of connected road segments +// Contains a route, which consists of a series of connected road segments // that join beginning, ending, and intermediate waypoints. message Route { + // Text representations of certain properties. + message RouteLocalizedValues { + // Travel distance represented in text form. + google.type.LocalizedText distance = 1; + + // Duration taking traffic conditions into consideration, represented in + // text form. Note: If you did not request traffic information, this value + // will be the same value as static_duration. + google.type.LocalizedText duration = 2; + + // Duration without taking traffic conditions into + // consideration, represented in text form. + google.type.LocalizedText static_duration = 3; + + // Transit fare represented in text form. + google.type.LocalizedText transit_fare = 4; + } + // Labels for the `Route` that are useful to identify specific properties // of the route to compare against others. repeated RouteLabel route_labels = 13; - // A collection of legs (path segments between waypoints) that make-up the - // route. Each leg corresponds to the trip between two non-`via` Waypoints. - // For example, a route with no intermediate waypoints has only one leg. A - // route that includes one non-`via` intermediate waypoint has two legs. A - // route that includes one `via` intermediate waypoint has one leg. The order - // of the legs matches the order of Waypoints from `origin` to `intermediates` - // to `destination`. + // A collection of legs (path segments between waypoints) that make up the + // route. Each leg corresponds to the trip between two non-`via` + // [Waypoints][google.maps.routing.v2.Waypoint]. For example, a route with no + // intermediate waypoints has only one leg. A route that includes one + // non-`via` intermediate waypoint has two legs. A route that includes one + // `via` intermediate waypoint has one leg. The order of the legs matches the + // order of waypoints from `origin` to `intermediates` to `destination`. repeated RouteLeg legs = 1; // The travel distance of the route, in meters. @@ -61,11 +85,11 @@ message Route { // taking traffic conditions into account. google.protobuf.Duration duration = 3; - // The duration of traveling through the route without taking traffic + // The duration of travel through the route without taking traffic // conditions into consideration. google.protobuf.Duration static_duration = 4; - // The overall route polyline. This polyline will be the combined polyline of + // The overall route polyline. This polyline is the combined polyline of // all `legs`. Polyline polyline = 5; @@ -81,26 +105,40 @@ message Route { // Additional information about the route. RouteTravelAdvisory travel_advisory = 9; - // Web-safe base64 encoded route token that can be passed to NavigationSDK, - // which allows the Navigation SDK to reconstruct the route during navigation, - // and in the event of rerouting honor the original intention when Routes - // ComputeRoutes is called. Customers should treat this token as an - // opaque blob. + // If you set + // [optimize_waypoint_order][google.maps.routing.v2.ComputeRoutesRequest.optimize_waypoint_order] + // to true, this field contains the optimized ordering of intermediate + // waypoints. Otherwise, this field is empty. + // For example, if you give an input of Origin: LA; Intermediate waypoints: + // Dallas, Bangor, Phoenix; Destination: New York; and the optimized + // intermediate waypoint order is Phoenix, Dallas, Bangor, then this field + // contains the values [2, 0, 1]. The index starts with 0 for the first + // intermediate waypoint provided in the input. + repeated int32 optimized_intermediate_waypoint_index = 10; + + // Text representations of properties of the `Route`. + RouteLocalizedValues localized_values = 11; + + // A web-safe, base64-encoded route token that can be passed to the Navigation + // SDK, that allows the Navigation SDK to reconstruct the route during + // navigation, and, in the event of rerouting, honor the original intention + // when you created the route by calling ComputeRoutes. Customers should treat + // this token as an opaque blob. It is not meant for reading or mutating. // NOTE: `Route.route_token` is only available for requests that have set // `ComputeRoutesRequest.routing_preference` to `TRAFFIC_AWARE` or - // `TRAFFIC_AWARE_OPTIMAL`. `Route.route_token` is also not supported for - // requests that have Via waypoints. + // `TRAFFIC_AWARE_OPTIMAL`. `Route.route_token` is not supported for requests + // that have Via waypoints. string route_token = 12; } -// Encapsulates the additional information that the user should be informed -// about, such as possible traffic zone restriction etc. +// Contains the additional information that the user should be informed +// about, such as possible traffic zone restrictions. message RouteTravelAdvisory { - // Encapsulates information about tolls on the Route. - // This field is only populated if we expect there are tolls on the Route. - // If this field is set but the estimated_price subfield is not populated, - // we expect that road contains tolls but we do not know an estimated price. - // If this field is not set, then we expect there is no toll on the Route. + // Contains information about tolls on the route. This field is only populated + // if tolls are expected on the route. If this field is set, but the + // estimatedPrice subfield is not populated, then the route contains tolls, + // but the estimated price is unknown. If this field is not set, then there + // are no tolls expected on the route. TollInfo toll_info = 2; // Speed reading intervals detailing traffic density. Applicable in case of @@ -115,23 +153,33 @@ message RouteTravelAdvisory { // speed_reading_intervals: [A,C), [C,D), [D,G). repeated SpeedReadingInterval speed_reading_intervals = 3; - // The fuel consumption prediction in microliters. + // The predicted fuel consumption in microliters. int64 fuel_consumption_microliters = 5; + + // Returned route may have restrictions that are not suitable for requested + // travel mode or route modifiers. + bool route_restrictions_partially_ignored = 6; + + // If present, contains the total fare or ticket costs on this route + // This property is only returned for `TRANSIT` requests and only + // for routes where fare information is available for all transit steps. + google.type.Money transit_fare = 7; } -// Encapsulates the additional information that the user should be informed -// about, such as possible traffic zone restriction etc. on a route leg. +// Contains the additional information that the user should be informed +// about on a leg step, such as possible traffic zone restrictions. message RouteLegTravelAdvisory { - // Encapsulates information about tolls on the specific RouteLeg. - // This field is only populated if we expect there are tolls on the RouteLeg. - // If this field is set but the estimated_price subfield is not populated, - // we expect that road contains tolls but we do not know an estimated price. - // If this field does not exist, then there is no toll on the RouteLeg. + // Contains information about tolls on the specific `RouteLeg`. + // This field is only populated if we expect there are tolls on the + // `RouteLeg`. If this field is set but the estimated_price subfield is not + // populated, we expect that road contains tolls but we do not know an + // estimated price. If this field does not exist, then there is no toll on the + // `RouteLeg`. TollInfo toll_info = 1; // Speed reading intervals detailing traffic density. Applicable in case of // `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences. - // The intervals cover the entire polyline of the RouteLg without overlap. + // The intervals cover the entire polyline of the `RouteLeg` without overlap. // The start point of a specified interval is the same as the end point of the // preceding interval. // @@ -142,24 +190,59 @@ message RouteLegTravelAdvisory { repeated SpeedReadingInterval speed_reading_intervals = 2; } -// Encapsulates the additional information that the user should be informed -// about, such as possible traffic zone restriction on a leg step. +// Contains the additional information that the user should be informed +// about, such as possible traffic zone restrictions on a leg step. message RouteLegStepTravelAdvisory { - // Speed reading intervals detailing traffic density. Applicable in case of - // `TRAFFIC_AWARE` and `TRAFFIC_AWARE_OPTIMAL` routing preferences. - // The intervals cover the entire polyline of the RouteLegStep without - // overlap. The start point of a specified interval is the same as the end - // point of the preceding interval. - // - // Example: - // - // polyline: A ---- B ---- C ---- D ---- E ---- F ---- G - // speed_reading_intervals: [A,C), [C,D), [D,G). + // NOTE: This field is not currently populated. repeated SpeedReadingInterval speed_reading_intervals = 1; } -// Encapsulates a segment between non-`via` waypoints. +// Contains a segment between non-`via` waypoints. message RouteLeg { + // Text representations of certain properties. + message RouteLegLocalizedValues { + // Travel distance represented in text form. + google.type.LocalizedText distance = 1; + + // Duration taking traffic conditions into consideration represented in text + // form. Note: If you did not request traffic information, this value will + // be the same value as static_duration. + google.type.LocalizedText duration = 2; + + // Duration without taking traffic conditions into + // consideration, represented in text form. + google.type.LocalizedText static_duration = 3; + } + + // Provides overview information about a list of `RouteLegStep`s. + message StepsOverview { + // Provides summarized information about different multi-modal segments of + // the `RouteLeg.steps`. A multi-modal segment is defined as one or more + // contiguous `RouteLegStep` that have the same `RouteTravelMode`. + // This field is not populated if the `RouteLeg` does not contain any + // multi-modal segments in the steps. + message MultiModalSegment { + // The corresponding `RouteLegStep` index that is the start of a + // multi-modal segment. + optional int32 step_start_index = 1; + + // The corresponding `RouteLegStep` index that is the end of a + // multi-modal segment. + optional int32 step_end_index = 2; + + // NavigationInstruction for the multi-modal segment. + NavigationInstruction navigation_instruction = 3; + + // The travel mode of the multi-modal segment. + RouteTravelMode travel_mode = 4; + } + + // Summarized information about different multi-modal segments of + // the `RouteLeg.steps`. This field is not populated if the `RouteLeg` does + // not contain any multi-modal segments in the steps. + repeated MultiModalSegment multi_modal_segments = 1; + } + // The travel distance of the route leg, in meters. int32 distance_meters = 1; @@ -170,36 +253,54 @@ message RouteLeg { // conditions into account. google.protobuf.Duration duration = 2; - // The duration of traveling through the leg, calculated without taking + // The duration of travel through the leg, calculated without taking // traffic conditions into consideration. google.protobuf.Duration static_duration = 3; - // The overall polyline for this leg. This includes that each `step`'s + // The overall polyline for this leg that includes each `step`'s // polyline. Polyline polyline = 4; - // The start location of this leg. This might be different from the provided - // `origin`. For example, when the provided `origin` is not near a road, this - // is a point on the road. + // The start location of this leg. This location might be different from the + // provided `origin`. For example, when the provided `origin` is not near a + // road, this is a point on the road. Location start_location = 5; - // The end location of this leg. This might be different from the provided - // `destination`. For example, when the provided `destination` is not near a - // road, this is a point on the road. + // The end location of this leg. This location might be different from the + // provided `destination`. For example, when the provided `destination` is not + // near a road, this is a point on the road. Location end_location = 6; // An array of steps denoting segments within this leg. Each step represents // one navigation instruction. repeated RouteLegStep steps = 7; - // Encapsulates the additional information that the user should be informed - // about, such as possible traffic zone restriction etc. on a route leg. + // Contains the additional information that the user should be informed + // about, such as possible traffic zone restrictions, on a route leg. RouteLegTravelAdvisory travel_advisory = 8; + + // Text representations of properties of the `RouteLeg`. + RouteLegLocalizedValues localized_values = 9; + + // Overview information about the steps in this `RouteLeg`. This field is only + // populated for TRANSIT routes. + StepsOverview steps_overview = 10; } -// Encapsulates a segment of a `RouteLeg`. A step corresponds to a single -// navigation instruction. Route legs are made up of steps. +// Contains a segment of a [RouteLeg][google.maps.routing.v2.RouteLeg]. A +// step corresponds to a single navigation instruction. Route legs are made up +// of steps. message RouteLegStep { + // Text representations of certain properties. + message RouteLegStepLocalizedValues { + // Travel distance represented in text form. + google.type.LocalizedText distance = 1; + + // Duration without taking traffic conditions into + // consideration, represented in text form. + google.type.LocalizedText static_duration = 3; + } + // The travel distance of this step, in meters. In some circumstances, this // field might not have a value. int32 distance_meters = 1; @@ -221,7 +322,74 @@ message RouteLegStep { // Navigation instructions. NavigationInstruction navigation_instruction = 6; - // Encapsulates the additional information that the user should be informed - // about, such as possible traffic zone restriction on a leg step. + // Contains the additional information that the user should be informed + // about, such as possible traffic zone restrictions, on a leg step. RouteLegStepTravelAdvisory travel_advisory = 7; + + // Text representations of properties of the `RouteLegStep`. + RouteLegStepLocalizedValues localized_values = 8; + + // Details pertaining to this step if the travel mode is `TRANSIT`. + RouteLegStepTransitDetails transit_details = 9; + + // The travel mode used for this step. + RouteTravelMode travel_mode = 10; +} + +// Additional information for the `RouteLegStep` related to `TRANSIT` routes. +message RouteLegStepTransitDetails { + // Details about the transit stops for the `RouteLegStep` + message TransitStopDetails { + // Information about the arrival stop for the step. + TransitStop arrival_stop = 1; + + // The estimated time of arrival for the step. + google.protobuf.Timestamp arrival_time = 2; + + // Information about the departure stop for the step. + TransitStop departure_stop = 3; + + // The estimated time of departure for the step. + google.protobuf.Timestamp departure_time = 4; + } + + // Localized descriptions of values for RouteTransitDetails. + message TransitDetailsLocalizedValues { + // Time in its formatted text representation with a corresponding time zone. + LocalizedTime arrival_time = 1; + + // Time in its formatted text representation with a corresponding time zone. + LocalizedTime departure_time = 2; + } + + // Information about the arrival and departure stops for the step. + TransitStopDetails stop_details = 1; + + // Text representations of properties of the `RouteLegStepTransitDetails`. + TransitDetailsLocalizedValues localized_values = 2; + + // Specifies the direction in which to travel on this line as marked on + // the vehicle or at the departure stop. The direction is often the terminus + // station. + string headsign = 3; + + // Specifies the expected time as a duration between departures from the same + // stop at this time. For example, with a headway seconds value of 600, you + // would expect a ten minute wait if you should miss your bus. + google.protobuf.Duration headway = 4; + + // Information about the transit line used in this step. + TransitLine transit_line = 5; + + // The number of stops from the departure to the arrival stop. This count + // includes the arrival stop, but excludes the departure stop. For example, if + // your route leaves from Stop A, passes through stops B and C, and arrives at + // stop D, stop_count will return 3. + int32 stop_count = 6; + + // The text that appears in schedules and sign boards to identify a transit + // trip to passengers. The text should uniquely identify a trip within a + // service day. For example, "538" is the `trip_short_text` of the Amtrak + // train that leaves San Jose, CA at 15:10 on weekdays to Sacramento, CA. + string trip_short_text = 7; } diff --git a/third_party/googleapis/google/maps/routing/v2/route_label.proto b/third_party/googleapis/google/maps/routing/v2/route_label.proto index f0c9188a5..ba43b0b8c 100644 --- a/third_party/googleapis/google/maps/routing/v2/route_label.proto +++ b/third_party/googleapis/google/maps/routing/v2/route_label.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,7 +18,7 @@ package google.maps.routing.v2; option cc_enable_arenas = true; option csharp_namespace = "Google.Maps.Routing.V2"; -option go_package = "google.golang.org/genproto/googleapis/maps/routing/v2;routing"; +option go_package = "cloud.google.com/go/maps/routing/apiv2/routingpb;routingpb"; option java_multiple_files = true; option java_outer_classname = "RouteLabelProto"; option java_package = "com.google.maps.routing.v2"; @@ -26,8 +26,8 @@ option objc_class_prefix = "GMRV2"; option php_namespace = "Google\\Maps\\Routing\\V2"; option ruby_package = "Google::Maps::Routing::V2"; -// Labels for the `Route` that are useful to identify specific properties -// of the route to compare against others. +// Labels for the [Route][google.maps.routing.v2.Route] that are useful to +// identify specific properties of the route to compare against others. enum RouteLabel { // Default - not used. ROUTE_LABEL_UNSPECIFIED = 0; @@ -36,8 +36,9 @@ enum RouteLabel { DEFAULT_ROUTE = 1; // An alternative to the default "best" route. Routes like this will be - // returned when `ComputeRoutesRequest.compute_alternative_routes` is - // specified. + // returned when + // [compute_alternative_routes][google.maps.routing.v2.ComputeRoutesRequest.compute_alternative_routes] + // is specified. DEFAULT_ROUTE_ALTERNATE = 2; // Fuel efficient route. Routes labeled with this value are determined to be diff --git a/third_party/googleapis/google/maps/routing/v2/route_modifiers.proto b/third_party/googleapis/google/maps/routing/v2/route_modifiers.proto index 01fcdad3e..33dcb7bd8 100644 --- a/third_party/googleapis/google/maps/routing/v2/route_modifiers.proto +++ b/third_party/googleapis/google/maps/routing/v2/route_modifiers.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,7 +21,7 @@ import "google/maps/routing/v2/vehicle_info.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Maps.Routing.V2"; -option go_package = "google.golang.org/genproto/googleapis/maps/routing/v2;routing"; +option go_package = "cloud.google.com/go/maps/routing/apiv2/routingpb;routingpb"; option java_multiple_files = true; option java_outer_classname = "RouteModifiersProto"; option java_package = "com.google.maps.routing.v2"; @@ -32,24 +32,24 @@ option ruby_package = "Google::Maps::Routing::V2"; // Encapsulates a set of optional conditions to satisfy when calculating the // routes. message RouteModifiers { - // Specifies whether to avoid toll roads where reasonable. Preference will be - // given to routes not containing toll roads. Applies only to the `DRIVE` and - // `TWO_WHEELER` travel modes. + // When set to true, avoids toll roads where reasonable, giving preference to + // routes not containing toll roads. Applies only to the `DRIVE` and + // `TWO_WHEELER` [RouteTravelMode][google.maps.routing.v2.RouteTravelMode]. bool avoid_tolls = 1; - // Specifies whether to avoid highways where reasonable. Preference will be - // given to routes not containing highways. Applies only to the `DRIVE` and - // `TWO_WHEELER` travel modes. + // When set to true, avoids highways where reasonable, giving preference to + // routes not containing highways. Applies only to the `DRIVE` and + // `TWO_WHEELER` [RouteTravelMode][google.maps.routing.v2.RouteTravelMode]. bool avoid_highways = 2; - // Specifies whether to avoid ferries where reasonable. Preference will be - // given to routes not containing travel by ferries. - // Applies only to the `DRIVE` and`TWO_WHEELER` travel modes. + // When set to true, avoids ferries where reasonable, giving preference to + // routes not containing ferries. Applies only to the `DRIVE` and`TWO_WHEELER` + // [RouteTravelMode][google.maps.routing.v2.RouteTravelMode]. bool avoid_ferries = 3; - // Specifies whether to avoid navigating indoors where reasonable. Preference - // will be given to routes not containing indoor navigation. - // Applies only to the `WALK` travel mode. + // When set to true, avoids navigating indoors where reasonable, giving + // preference to routes not containing indoor navigation. Applies only to the + // `WALK` [RouteTravelMode][google.maps.routing.v2.RouteTravelMode]. bool avoid_indoor = 4; // Specifies the vehicle information. @@ -59,6 +59,7 @@ message RouteModifiers { // If toll passes are provided, the API tries to return the pass price. If // toll passes are not provided, the API treats the toll pass as unknown and // tries to return the cash price. - // Applies only to the DRIVE and TWO_WHEELER travel modes. + // Applies only to the `DRIVE` and `TWO_WHEELER` + // [RouteTravelMode][google.maps.routing.v2.RouteTravelMode]. repeated TollPass toll_passes = 6; } diff --git a/third_party/googleapis/google/maps/routing/v2/route_travel_mode.proto b/third_party/googleapis/google/maps/routing/v2/route_travel_mode.proto index 2eb9e5c29..f6bd3e52a 100644 --- a/third_party/googleapis/google/maps/routing/v2/route_travel_mode.proto +++ b/third_party/googleapis/google/maps/routing/v2/route_travel_mode.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,7 +18,7 @@ package google.maps.routing.v2; option cc_enable_arenas = true; option csharp_namespace = "Google.Maps.Routing.V2"; -option go_package = "google.golang.org/genproto/googleapis/maps/routing/v2;routing"; +option go_package = "cloud.google.com/go/maps/routing/apiv2/routingpb;routingpb"; option java_multiple_files = true; option java_outer_classname = "RouteTravelModeProto"; option java_package = "com.google.maps.routing.v2"; @@ -27,8 +27,8 @@ option php_namespace = "Google\\Maps\\Routing\\V2"; option ruby_package = "Google::Maps::Routing::V2"; // A set of values used to specify the mode of travel. -// NOTE: WALK, BICYCLE, and TWO_WHEELER routes are in beta and might sometimes -// be missing clear sidewalks, pedestrian paths, or bicycling paths. +// NOTE: `WALK`, `BICYCLE`, and `TWO_WHEELER` routes are in beta and might +// sometimes be missing clear sidewalks, pedestrian paths, or bicycling paths. // You must display this warning to the user for all walking, bicycling, and // two-wheel routes that you display in your app. enum RouteTravelMode { @@ -47,4 +47,7 @@ enum RouteTravelMode { // Two-wheeled, motorized vehicle. For example, motorcycle. Note that this // differs from the `BICYCLE` travel mode which covers human-powered mode. TWO_WHEELER = 4; + + // Travel by public transit routes, where available. + TRANSIT = 7; } diff --git a/third_party/googleapis/google/maps/routing/v2/routes_service.proto b/third_party/googleapis/google/maps/routing/v2/routes_service.proto index f6af4af52..1ef6db734 100644 --- a/third_party/googleapis/google/maps/routing/v2/routes_service.proto +++ b/third_party/googleapis/google/maps/routing/v2/routes_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,20 +20,24 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/maps/routing/v2/fallback_info.proto"; +import "google/maps/routing/v2/geocoding_results.proto"; import "google/maps/routing/v2/polyline.proto"; import "google/maps/routing/v2/route.proto"; import "google/maps/routing/v2/route_modifiers.proto"; import "google/maps/routing/v2/route_travel_mode.proto"; import "google/maps/routing/v2/routing_preference.proto"; +import "google/maps/routing/v2/traffic_model.proto"; +import "google/maps/routing/v2/transit_preferences.proto"; import "google/maps/routing/v2/units.proto"; import "google/maps/routing/v2/waypoint.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; +import "google/type/localized_text.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Maps.Routing.V2"; -option go_package = "google.golang.org/genproto/googleapis/maps/routing/v2;routing"; +option go_package = "cloud.google.com/go/maps/routing/apiv2/routingpb;routingpb"; option java_multiple_files = true; option java_outer_classname = "RoutesServiceProto"; option java_package = "com.google.maps.routing.v2"; @@ -156,6 +160,13 @@ message ComputeRoutesRequest { // Traffic aware polylines for the route(s). TRAFFIC_ON_POLYLINE = 3; + + // [Navigation + // Instructions][google.maps.routing.v2.NavigationInstructions.instructions] + // presented as a formatted HTML text string. This content + // is meant to be read as-is. This content is for display only. + // Do not programmatically parse it. + HTML_FORMATTED_NAVIGATION_INSTRUCTIONS = 4; } // Required. Origin waypoint. @@ -188,13 +199,24 @@ message ComputeRoutesRequest { [(google.api.field_behavior) = OPTIONAL]; // Optional. The departure time. If you don't set this value, then this value - // defaults to the time that you made the request. If you set this value to a - // time that has already occurred, then the request fails. + // defaults to the time that you made the request. + // NOTE: You can only specify a `departure_time` in the past when + // [RouteTravelMode][google.maps.routing.v2.RouteTravelMode] is set to + // `TRANSIT`. google.protobuf.Timestamp departure_time = 7 [(google.api.field_behavior) = OPTIONAL]; + // Optional. The arrival time. + // NOTE: Can only be set when + // [RouteTravelMode][google.maps.routing.v2.RouteTravelMode] is set to + // `TRANSIT`. You can specify either departure_time or arrival_time, but not + // both. + google.protobuf.Timestamp arrival_time = 19 + [(google.api.field_behavior) = OPTIONAL]; + // Optional. Specifies whether to calculate alternate routes in addition to - // the route. + // the route. No alternative routes are returned for requests that have + // intermediate waypoints. bool compute_alternative_routes = 8 [(google.api.field_behavior) = OPTIONAL]; // Optional. A set of conditions to satisfy that affect the way routes are @@ -209,17 +231,35 @@ message ComputeRoutesRequest { // display language is inferred from the location of the route request. string language_code = 10 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Specifies the units of measure for the display fields. This - // includes the `instruction` field in `NavigationInstruction`. The units of - // measure used for the route, leg, step distance, and duration are not - // affected by this value. If you don't provide this value, then the display - // units are inferred from the location of the request. + // Optional. The region code, specified as a ccTLD ("top-level domain") + // two-character value. For more information see + // https://en.wikipedia.org/wiki/List_of_Internet_top-level_domains#Country_code_top-level_domains + string region_code = 16 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Specifies the units of measure for the display fields. These + // fields include the `instruction` field in + // [NavigationInstruction][google.maps.routing.v2.NavigationInstruction]. The + // units of measure used for the route, leg, step distance, and duration are + // not affected by this value. If you don't provide this value, then the + // display units are inferred from the location of the first origin. Units units = 11 [(google.api.field_behavior) = OPTIONAL]; + // Optional. If set to true, the service attempts to minimize the overall cost + // of the route by re-ordering the specified intermediate waypoints. The + // request fails if any of the intermediate waypoints is a `via` waypoint. Use + // `ComputeRoutesResponse.Routes.optimized_intermediate_waypoint_index` to + // find the new ordering. + // If `ComputeRoutesResponseroutes.optimized_intermediate_waypoint_index` is + // not requested in the `X-Goog-FieldMask` header, the request fails. + // If `optimize_waypoint_order` is set to false, + // `ComputeRoutesResponse.optimized_intermediate_waypoint_index` will be + // empty. + bool optimize_waypoint_order = 13 [(google.api.field_behavior) = OPTIONAL]; + // Optional. Specifies what reference routes to calculate as part of the // request in addition to the default route. A reference route is a route with // a different route calculation objective than the default route. For example - // an FUEL_EFFICIENT reference route calculation takes into account various + // a `FUEL_EFFICIENT` reference route calculation takes into account various // parameters that would generate an optimal fuel efficient route. repeated ReferenceRoute requested_reference_routes = 14 [(google.api.field_behavior) = OPTIONAL]; @@ -230,6 +270,26 @@ message ComputeRoutesRequest { // returned in the response. repeated ExtraComputation extra_computations = 15 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Specifies the assumptions to use when calculating time in + // traffic. This setting affects the value returned in the duration field in + // the [Route][google.maps.routing.v2.Route] and + // [RouteLeg][google.maps.routing.v2.RouteLeg] which contains the predicted + // time in traffic based on historical averages. + // `TrafficModel` is only available for requests that have set + // [RoutingPreference][google.maps.routing.v2.RoutingPreference] to + // `TRAFFIC_AWARE_OPTIMAL` and + // [RouteTravelMode][google.maps.routing.v2.RouteTravelMode] to `DRIVE`. + // Defaults to `BEST_GUESS` if traffic is requested and `TrafficModel` is not + // specified. + TrafficModel traffic_model = 18 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Specifies preferences that influence the route returned for + // `TRANSIT` routes. NOTE: You can only specify a `transit_preferences` when + // [RouteTravelMode][google.maps.routing.v2.RouteTravelMode] is set to + // `TRANSIT`. + TransitPreferences transit_preferences = 20 + [(google.api.field_behavior) = OPTIONAL]; } // ComputeRoutes the response message. @@ -246,6 +306,9 @@ message ComputeRoutesResponse { // computation. When fallback mode is used, this field contains detailed info // about the fallback response. Otherwise this field is unset. FallbackInfo fallback_info = 2; + + // Contains geocoding response info for waypoints specified as addresses. + GeocodingResults geocoding_results = 3; } // ComputeRouteMatrix request message @@ -288,18 +351,59 @@ message ComputeRouteMatrixRequest { RoutingPreference routing_preference = 4 [(google.api.field_behavior) = OPTIONAL]; - // Optional. The departure time. If you don't set this value, this defaults to - // the time that you made the request. If you set this value to a time that - // has already occurred, the request fails. + // Optional. The departure time. If you don't set this value, then this value + // defaults to the time that you made the request. + // NOTE: You can only specify a `departure_time` in the past when + // [RouteTravelMode][google.maps.routing.v2.RouteTravelMode] is set to + // `TRANSIT`. google.protobuf.Timestamp departure_time = 5 [(google.api.field_behavior) = OPTIONAL]; + // Optional. The arrival time. + // NOTE: Can only be set when + // [RouteTravelMode][google.maps.routing.v2.RouteTravelMode] is set to + // `TRANSIT`. You can specify either departure_time or arrival_time, but not + // both. + google.protobuf.Timestamp arrival_time = 11 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more + // information, see + // http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. See + // [Language Support](https://developers.google.com/maps/faq#languagesupport) + // for the list of supported languages. When you don't provide this value, the + // display language is inferred from the location of the first origin. + string language_code = 6 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The region code, specified as a ccTLD ("top-level domain") + // two-character value. For more information see + // https://en.wikipedia.org/wiki/List_of_Internet_top-level_domains#Country_code_top-level_domains + string region_code = 9 [(google.api.field_behavior) = OPTIONAL]; + // Optional. A list of extra computations which may be used to complete the // request. Note: These extra computations may return extra fields on the // response. These extra fields must also be specified in the field mask to be // returned in the response. repeated ExtraComputation extra_computations = 8 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Specifies the assumptions to use when calculating time in + // traffic. This setting affects the value returned in the duration field in + // the [RouteMatrixElement][google.maps.routing.v2.RouteMatrixElement] which + // contains the predicted time in traffic based on historical averages. + // [RoutingPreference][google.maps.routing.v2.RoutingPreference] to + // `TRAFFIC_AWARE_OPTIMAL` and + // [RouteTravelMode][google.maps.routing.v2.RouteTravelMode] to `DRIVE`. + // Defaults to `BEST_GUESS` if traffic is requested and `TrafficModel` is not + // specified. + TrafficModel traffic_model = 10 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Specifies preferences that influence the route returned for + // `TRANSIT` routes. NOTE: You can only specify a `transit_preferences` when + // [RouteTravelMode][google.maps.routing.v2.RouteTravelMode] is set to + // `TRANSIT`. + TransitPreferences transit_preferences = 12 + [(google.api.field_behavior) = OPTIONAL]; } // A single origin for ComputeRouteMatrixRequest @@ -317,9 +421,27 @@ message RouteMatrixDestination { Waypoint waypoint = 1 [(google.api.field_behavior) = REQUIRED]; } -// Encapsulates route information computed for an origin/destination pair in the +// Contains route information computed for an origin/destination pair in the // ComputeRouteMatrix API. This proto can be streamed to the client. message RouteMatrixElement { + // Text representations of certain properties. + message LocalizedValues { + // Travel distance represented in text form. + google.type.LocalizedText distance = 1; + + // Duration represented in text form taking traffic conditions into + // consideration. Note: If traffic information was not requested, this value + // is the same value as static_duration. + google.type.LocalizedText duration = 2; + + // Duration represented in text form without taking traffic conditions into + // consideration. + google.type.LocalizedText static_duration = 3; + + // Transit fare represented in text form. + google.type.LocalizedText transit_fare = 4; + } + // Zero-based index of the origin in the request. optional int32 origin_index = 1; @@ -336,10 +458,11 @@ message RouteMatrixElement { int32 distance_meters = 4; // The length of time needed to navigate the route. If you set the - // `routing_preference` to `TRAFFIC_UNAWARE`, then this value is the same as - // `static_duration`. If you set the `routing_preference` to either - // `TRAFFIC_AWARE` or `TRAFFIC_AWARE_OPTIMAL`, then this value is calculated - // taking traffic conditions into account. + // [routing_preference][google.maps.routing.v2.ComputeRouteMatrixRequest.routing_preference] + // to `TRAFFIC_UNAWARE`, then this value is the same as `static_duration`. If + // you set the `routing_preference` to either `TRAFFIC_AWARE` or + // `TRAFFIC_AWARE_OPTIMAL`, then this value is calculated taking traffic + // conditions into account. google.protobuf.Duration duration = 5; // The duration of traveling through the route without taking traffic @@ -356,6 +479,9 @@ message RouteMatrixElement { // used, this field contains detailed information about the fallback response. // Otherwise this field is unset. FallbackInfo fallback_info = 8; + + // Text representations of properties of the `RouteMatrixElement`. + LocalizedValues localized_values = 10; } // The condition of the route being returned. diff --git a/third_party/googleapis/google/maps/routing/v2/routing_preference.proto b/third_party/googleapis/google/maps/routing/v2/routing_preference.proto index 0b9108f1f..eaca42dcd 100644 --- a/third_party/googleapis/google/maps/routing/v2/routing_preference.proto +++ b/third_party/googleapis/google/maps/routing/v2/routing_preference.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,7 +18,7 @@ package google.maps.routing.v2; option cc_enable_arenas = true; option csharp_namespace = "Google.Maps.Routing.V2"; -option go_package = "google.golang.org/genproto/googleapis/maps/routing/v2;routing"; +option go_package = "cloud.google.com/go/maps/routing/apiv2/routingpb;routingpb"; option java_multiple_files = true; option java_outer_classname = "RoutingPreferenceProto"; option java_package = "com.google.maps.routing.v2"; @@ -35,12 +35,13 @@ enum RoutingPreference { // Computes routes without taking live traffic conditions into consideration. // Suitable when traffic conditions don't matter or are not applicable. // Using this value produces the lowest latency. - // Note: For `RouteTravelMode` DRIVE and TWO_WHEELER choice of route and - // duration are based on road network and average time-independent traffic - // conditions. Results for a given request may vary over time due to changes - // in the road network, updated average traffic conditions, and the - // distributed nature of the service. Results may also vary between - // nearly-equivalent routes at any time or frequency. + // Note: For [RouteTravelMode][google.maps.routing.v2.RouteTravelMode] `DRIVE` + // and `TWO_WHEELER` choice of route and duration are based on road network + // and average time-independent traffic conditions. Results for a given + // request may vary over time due to changes in the road network, updated + // average traffic conditions, and the distributed nature of the service. + // Results may also vary between nearly-equivalent routes at any time or + // frequency. TRAFFIC_UNAWARE = 1; // Calculates routes taking live traffic conditions into consideration. diff --git a/third_party/googleapis/google/maps/routing/v2/speed_reading_interval.proto b/third_party/googleapis/google/maps/routing/v2/speed_reading_interval.proto index 6f43f7cc0..2ca769c9e 100644 --- a/third_party/googleapis/google/maps/routing/v2/speed_reading_interval.proto +++ b/third_party/googleapis/google/maps/routing/v2/speed_reading_interval.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,7 +18,7 @@ package google.maps.routing.v2; option cc_enable_arenas = true; option csharp_namespace = "Google.Maps.Routing.V2"; -option go_package = "google.golang.org/genproto/googleapis/maps/routing/v2;routing"; +option go_package = "cloud.google.com/go/maps/routing/apiv2/routingpb;routingpb"; option java_multiple_files = true; option java_outer_classname = "SpeedReadingIntervalProto"; option java_package = "com.google.maps.routing.v2"; @@ -52,6 +52,8 @@ message SpeedReadingInterval { // The ending index of this interval in the polyline. optional int32 end_polyline_point_index = 2; - // Traffic speed in this interval. - Speed speed = 3; + oneof speed_type { + // Traffic speed in this interval. + Speed speed = 3; + } } diff --git a/third_party/googleapis/google/maps/routing/v2/toll_info.proto b/third_party/googleapis/google/maps/routing/v2/toll_info.proto index b98a0cbc2..0788e5d45 100644 --- a/third_party/googleapis/google/maps/routing/v2/toll_info.proto +++ b/third_party/googleapis/google/maps/routing/v2/toll_info.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,7 +20,7 @@ import "google/type/money.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Maps.Routing.V2"; -option go_package = "google.golang.org/genproto/googleapis/maps/routing/v2;routing"; +option go_package = "cloud.google.com/go/maps/routing/apiv2/routingpb;routingpb"; option java_multiple_files = true; option java_outer_classname = "TollInfoProto"; option java_package = "com.google.maps.routing.v2"; @@ -28,13 +28,15 @@ option objc_class_prefix = "GMRV2"; option php_namespace = "Google\\Maps\\Routing\\V2"; option ruby_package = "Google::Maps::Routing::V2"; -// Encapsulates toll information on a `Route` or on a `RouteLeg`. +// Encapsulates toll information on a [Route][google.maps.routing.v2.Route] or +// on a [RouteLeg][google.maps.routing.v2.RouteLeg]. message TollInfo { - // The monetary amount of tolls for the corresponding Route or RouteLeg. - // This list contains a money amount for each currency that is expected - // to be charged by the toll stations. Typically this list will contain only - // one item for routes with tolls in one currency. For international trips, - // this list may contain multiple items to reflect tolls in different - // currencies. + // The monetary amount of tolls for the corresponding + // [Route][google.maps.routing.v2.Route] or + // [RouteLeg][google.maps.routing.v2.RouteLeg]. This list contains a money + // amount for each currency that is expected to be charged by the toll + // stations. Typically this list will contain only one item for routes with + // tolls in one currency. For international trips, this list may contain + // multiple items to reflect tolls in different currencies. repeated google.type.Money estimated_price = 1; } diff --git a/third_party/googleapis/google/maps/routing/v2/toll_passes.proto b/third_party/googleapis/google/maps/routing/v2/toll_passes.proto index c46259bdf..72598e560 100644 --- a/third_party/googleapis/google/maps/routing/v2/toll_passes.proto +++ b/third_party/googleapis/google/maps/routing/v2/toll_passes.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,7 +18,7 @@ package google.maps.routing.v2; option cc_enable_arenas = true; option csharp_namespace = "Google.Maps.Routing.V2"; -option go_package = "google.golang.org/genproto/googleapis/maps/routing/v2;routing"; +option go_package = "cloud.google.com/go/maps/routing/apiv2/routingpb;routingpb"; option java_multiple_files = true; option java_outer_classname = "TollPassesProto"; option java_package = "com.google.maps.routing.v2"; @@ -211,11 +211,18 @@ enum TollPass { // MI, USA. US_MI_AMBASSADOR_BRIDGE_PREMIER_COMMUTER_CARD = 36; + // MI, USA. + US_MI_BCPASS = 94; + // MI, USA. US_MI_GROSSE_ILE_TOLL_BRIDGE_PASS_TAG = 37; // MI, USA. - US_MI_IQ_PROX_CARD = 38; + // Deprecated as this pass type no longer exists. + US_MI_IQ_PROX_CARD = 38 [deprecated = true]; + + // MI, USA. + US_MI_IQ_TAG = 95; // MI, USA. US_MI_MACKINAC_BRIDGE_MAC_PASS = 39; @@ -262,6 +269,9 @@ enum TollPass { // SC, USA. US_SC_PALPASS = 47; + // TX, USA. + US_TX_AVI_TAG = 97; + // TX, USA. US_TX_BANCPASS = 48; @@ -283,6 +293,9 @@ enum TollPass { // TX, USA. US_TX_EZTAG = 54; + // TX, USA. + US_TX_FUEGO_TAG = 96; + // TX, USA. US_TX_LAREDO_TRADE_TAG = 55; diff --git a/third_party/googleapis/google/maps/routing/v2/units.proto b/third_party/googleapis/google/maps/routing/v2/units.proto index 32424046a..d94df6c3e 100644 --- a/third_party/googleapis/google/maps/routing/v2/units.proto +++ b/third_party/googleapis/google/maps/routing/v2/units.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,7 +18,7 @@ package google.maps.routing.v2; option cc_enable_arenas = true; option csharp_namespace = "Google.Maps.Routing.V2"; -option go_package = "google.golang.org/genproto/googleapis/maps/routing/v2;routing"; +option go_package = "cloud.google.com/go/maps/routing/apiv2/routingpb;routingpb"; option java_multiple_files = true; option java_outer_classname = "UnitsProto"; option java_package = "com.google.maps.routing.v2"; diff --git a/third_party/googleapis/google/maps/routing/v2/vehicle_emission_type.proto b/third_party/googleapis/google/maps/routing/v2/vehicle_emission_type.proto index b5889bbb0..5109d4d30 100644 --- a/third_party/googleapis/google/maps/routing/v2/vehicle_emission_type.proto +++ b/third_party/googleapis/google/maps/routing/v2/vehicle_emission_type.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -18,7 +18,7 @@ package google.maps.routing.v2; option cc_enable_arenas = true; option csharp_namespace = "Google.Maps.Routing.V2"; -option go_package = "google.golang.org/genproto/googleapis/maps/routing/v2;routing"; +option go_package = "cloud.google.com/go/maps/routing/apiv2/routingpb;routingpb"; option java_multiple_files = true; option java_outer_classname = "VehicleEmissionTypeProto"; option java_package = "com.google.maps.routing.v2"; @@ -27,9 +27,10 @@ option php_namespace = "Google\\Maps\\Routing\\V2"; option ruby_package = "Google::Maps::Routing::V2"; // A set of values describing the vehicle's emission type. -// Applies only to the DRIVE travel mode. +// Applies only to the `DRIVE` +// [RouteTravelMode][google.maps.routing.v2.RouteTravelMode]. enum VehicleEmissionType { - // No emission type specified. Default to GASOLINE. + // No emission type specified. Default to `GASOLINE`. VEHICLE_EMISSION_TYPE_UNSPECIFIED = 0; // Gasoline/petrol fueled vehicle. diff --git a/third_party/googleapis/google/maps/routing/v2/vehicle_info.proto b/third_party/googleapis/google/maps/routing/v2/vehicle_info.proto index 1393fbde9..574d15f5d 100644 --- a/third_party/googleapis/google/maps/routing/v2/vehicle_info.proto +++ b/third_party/googleapis/google/maps/routing/v2/vehicle_info.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,7 +20,7 @@ import "google/maps/routing/v2/vehicle_emission_type.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Maps.Routing.V2"; -option go_package = "google.golang.org/genproto/googleapis/maps/routing/v2;routing"; +option go_package = "cloud.google.com/go/maps/routing/apiv2/routingpb;routingpb"; option java_multiple_files = true; option java_outer_classname = "VehicleInfoProto"; option java_package = "com.google.maps.routing.v2"; @@ -28,10 +28,10 @@ option objc_class_prefix = "GMRV2"; option php_namespace = "Google\\Maps\\Routing\\V2"; option ruby_package = "Google::Maps::Routing::V2"; -// Encapsulates the vehicle information, such as the license plate last -// character. +// Contains the vehicle information, such as the vehicle emission type. message VehicleInfo { // Describes the vehicle's emission type. - // Applies only to the DRIVE travel mode. + // Applies only to the `DRIVE` + // [RouteTravelMode][google.maps.routing.v2.RouteTravelMode]. VehicleEmissionType emission_type = 2; } diff --git a/third_party/googleapis/google/maps/routing/v2/waypoint.proto b/third_party/googleapis/google/maps/routing/v2/waypoint.proto index a97b043c1..8a02d5e7d 100644 --- a/third_party/googleapis/google/maps/routing/v2/waypoint.proto +++ b/third_party/googleapis/google/maps/routing/v2/waypoint.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,7 +20,7 @@ import "google/maps/routing/v2/location.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Maps.Routing.V2"; -option go_package = "google.golang.org/genproto/googleapis/maps/routing/v2;routing"; +option go_package = "cloud.google.com/go/maps/routing/apiv2/routingpb;routingpb"; option java_multiple_files = true; option java_outer_classname = "WaypointProto"; option java_package = "com.google.maps.routing.v2"; @@ -39,26 +39,31 @@ message Waypoint { // The POI Place ID associated with the waypoint. string place_id = 2; + + // Human readable address or a plus code. + // See https://plus.codes for details. + string address = 7; } // Marks this waypoint as a milestone rather a stopping point. For // each non-via waypoint in the request, the response appends an entry to the - // `legs` array to provide the details for stopovers on that leg of the - // trip. Set this value to true when you want the route to pass through this - // waypoint without stopping over. Via waypoints don't cause an entry to be - // added to the `legs` array, but they do route the journey through the - // waypoint. You can only set this value on waypoints that are intermediates. - // The request fails if you set this field on terminal waypoints. - // If `ComputeRoutesRequest.optimize_waypoint_order` - // is set to true then this field cannot be set to - // true; otherwise, the request fails. + // [legs][google.maps.routing.v2.Route.legs] + // array to provide the details for stopovers on that leg of the trip. Set + // this value to true when you want the route to pass through this waypoint + // without stopping over. Via waypoints don't cause an entry to be added to + // the `legs` array, but they do route the journey through the waypoint. You + // can only set this value on waypoints that are intermediates. The request + // fails if you set this field on terminal waypoints. If + // `ComputeRoutesRequest.optimize_waypoint_order` is set to true then this + // field cannot be set to true; otherwise, the request fails. bool via = 3; // Indicates that the waypoint is meant for vehicles to stop at, where the // intention is to either pickup or drop-off. When you set this value, the // calculated route won't include non-`via` waypoints on roads that are // unsuitable for pickup and drop-off. This option works only for `DRIVE` and - // `TWO_WHEELER` travel modes, and when the `location_type` is `location`. + // `TWO_WHEELER` travel modes, and when the `location_type` is + // [Location][google.maps.routing.v2.Location]. bool vehicle_stopover = 4; // Indicates that the location of this waypoint is meant to have a preference @@ -66,6 +71,6 @@ message Waypoint { // value, the route will pass through the location so that the vehicle can // stop at the side of road that the location is biased towards from the // center of the road. This option works only for 'DRIVE' and 'TWO_WHEELER' - // travel modes. + // [RouteTravelMode][google.maps.routing.v2.RouteTravelMode]. bool side_of_road = 5; } diff --git a/third_party/googleapis/google/maps/unity/BUILD.bazel b/third_party/googleapis/google/maps/unity/BUILD.bazel index e45c212d7..f2d6becac 100644 --- a/third_party/googleapis/google/maps/unity/BUILD.bazel +++ b/third_party/googleapis/google/maps/unity/BUILD.bazel @@ -48,7 +48,7 @@ load( go_proto_library( name = "clientinfo_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/maps/unity", + importpath = "cloud.google.com/go/maps/unity/unitypb", protos = [":clientinfo_proto"], deps = [ ], @@ -59,7 +59,6 @@ go_proto_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -68,20 +67,9 @@ php_proto_library( deps = [":clientinfo_proto"], ) -php_grpc_library( - name = "clientinfo_php_grpc", - srcs = [":clientinfo_proto"], - deps = [":clientinfo_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) ############################################################################## # Ruby diff --git a/third_party/googleapis/google/maps/unity/clientinfo.proto b/third_party/googleapis/google/maps/unity/clientinfo.proto index a6c3010da..76dd5d080 100644 --- a/third_party/googleapis/google/maps/unity/clientinfo.proto +++ b/third_party/googleapis/google/maps/unity/clientinfo.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.maps.unity; option csharp_namespace = "Google.Maps.Unity"; -option go_package = "google.golang.org/genproto/googleapis/maps/unity;unity"; +option go_package = "cloud.google.com/go/maps/unity/unitypb;unitypb"; option java_multiple_files = true; option java_outer_classname = "ClientInfoProto"; option java_package = "com.google.maps.unity"; diff --git a/third_party/googleapis/google/monitoring/BUILD.bazel b/third_party/googleapis/google/monitoring/BUILD.bazel index 75a4fa0fa..eb2270dc9 100644 --- a/third_party/googleapis/google/monitoring/BUILD.bazel +++ b/third_party/googleapis/google/monitoring/BUILD.bazel @@ -22,7 +22,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-monitoring", "ruby-cloud-env-prefix=MONITORING", - "ruby-cloud-wrapper-of=v3:0.10", + "ruby-cloud-wrapper-of=v3:0.15", "ruby-cloud-product-url=https://cloud.google.com/monitoring", "ruby-cloud-api-id=monitoring.googleapis.com", "ruby-cloud-api-shortname=monitoring", @@ -30,6 +30,7 @@ ruby_cloud_gapic_library( ], ruby_cloud_description = "Cloud Monitoring collects metrics, events, and metadata from Google Cloud, Amazon Web Services (AWS), hosted uptime probes, and application instrumentation.", ruby_cloud_title = "Cloud Monitoring", + transport = "grpc", ) # Open Source package. diff --git a/third_party/googleapis/google/monitoring/dashboard/BUILD.bazel b/third_party/googleapis/google/monitoring/dashboard/BUILD.bazel index 3099a9513..bdf20a3f4 100644 --- a/third_party/googleapis/google/monitoring/dashboard/BUILD.bazel +++ b/third_party/googleapis/google/monitoring/dashboard/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-monitoring-dashboard", "ruby-cloud-env-prefix=MONITORING", - "ruby-cloud-wrapper-of=v1:0.5", + "ruby-cloud-wrapper-of=v1:0.14", "ruby-cloud-product-url=https://cloud.google.com/monitoring", "ruby-cloud-api-id=monitoring.googleapis.com", "ruby-cloud-api-shortname=monitoring", ], ruby_cloud_description = "Cloud Monitoring collects metrics, events, and metadata from Google Cloud, Amazon Web Services (AWS), hosted uptime probes, and application instrumentation.", ruby_cloud_title = "Cloud Monitoring Dashboard", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/monitoring/dashboard/v1/BUILD.bazel b/third_party/googleapis/google/monitoring/dashboard/v1/BUILD.bazel index cc42a52d9..f6d8fc4e0 100644 --- a/third_party/googleapis/google/monitoring/dashboard/v1/BUILD.bazel +++ b/third_party/googleapis/google/monitoring/dashboard/v1/BUILD.bazel @@ -28,11 +28,16 @@ proto_library( "dashboard_filter.proto", "dashboards_service.proto", "drilldowns.proto", + "error_reporting_panel.proto", + "incident_list.proto", "layouts.proto", "logs_panel.proto", "metrics.proto", + "piechart.proto", "scorecard.proto", + "section_header.proto", "service.proto", + "single_view_group.proto", "table.proto", "table_display_options.proto", "text.proto", @@ -43,7 +48,9 @@ proto_library( "//google/api:annotations_proto", "//google/api:client_proto", "//google/api:field_behavior_proto", + "//google/api:monitored_resource_proto", "//google/api:resource_proto", + "//google/type:interval_proto", "@com_google_protobuf//:duration_proto", "@com_google_protobuf//:empty_proto", ], @@ -127,16 +134,17 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( name = "dashboard_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/monitoring/dashboard/v1", + importpath = "cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb", protos = [":dashboard_proto"], deps = [ "//google/api:annotations_go_proto", + "//google/api:monitoredres_go_proto", + "//google/type:interval_go_proto", ], ) @@ -146,28 +154,24 @@ go_gapic_library( grpc_service_config = "dashboards_grpc_service_config.json", importpath = "cloud.google.com/go/monitoring/dashboard/apiv1;dashboard", metadata = True, + release_level = "ga", rest_numeric_enums = True, service_yaml = "monitoring.yaml", transport = "grpc+rest", deps = [ ":dashboard_go_proto", + "//google/api:monitoredres_go_proto", "@io_bazel_rules_go//proto/wkt:duration_go_proto", ], ) -go_test( - name = "dashboard_go_gapic_test", - srcs = [":dashboard_go_gapic_srcjar_test"], - embed = [":dashboard_go_gapic"], - importpath = "cloud.google.com/go/monitoring/dashboard/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-monitoring-dashboard-v1-go", deps = [ ":dashboard_go_gapic", ":dashboard_go_gapic_srcjar-metadata.srcjar", + ":dashboard_go_gapic_srcjar-snippets.srcjar", ":dashboard_go_gapic_srcjar-test.srcjar", ":dashboard_go_proto", ], @@ -224,7 +228,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -233,21 +236,15 @@ php_proto_library( deps = [":dashboard_proto"], ) -php_grpc_library( - name = "dashboard_php_grpc", - srcs = [":dashboard_proto"], - deps = [":dashboard_php_proto"], -) - php_gapic_library( name = "dashboard_php_gapic", srcs = [":dashboard_proto_with_info"], grpc_service_config = "dashboards_grpc_service_config.json", + migration_mode = "PRE_MIGRATION_SURFACE_ONLY", rest_numeric_enums = True, service_yaml = "monitoring.yaml", transport = "grpc+rest", deps = [ - ":dashboard_php_grpc", ":dashboard_php_proto", ], ) @@ -257,7 +254,6 @@ php_gapic_assembly_pkg( name = "google-cloud-monitoring-dashboard-v1-php", deps = [ ":dashboard_php_gapic", - ":dashboard_php_grpc", ":dashboard_php_proto", ], ) @@ -330,6 +326,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Cloud Monitoring collects metrics, events, and metadata from Google Cloud, Amazon Web Services (AWS), hosted uptime probes, and application instrumentation. The Dashboards API manages arrangements of display widgets.", ruby_cloud_title = "Cloud Monitoring Dashboards V1", service_yaml = "monitoring.yaml", + transport = "grpc+rest", deps = [ ":dashboard_ruby_grpc", ":dashboard_ruby_proto", diff --git a/third_party/googleapis/google/monitoring/dashboard/v1/alertchart.proto b/third_party/googleapis/google/monitoring/dashboard/v1/alertchart.proto index 2a92423b8..d6ec736b7 100644 --- a/third_party/googleapis/google/monitoring/dashboard/v1/alertchart.proto +++ b/third_party/googleapis/google/monitoring/dashboard/v1/alertchart.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; option csharp_namespace = "Google.Cloud.Monitoring.Dashboard.V1"; -option go_package = "google.golang.org/genproto/googleapis/monitoring/dashboard/v1;dashboard"; +option go_package = "cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb;dashboardpb"; option java_multiple_files = true; option java_outer_classname = "AlertChartProto"; option java_package = "com.google.monitoring.dashboard.v1"; diff --git a/third_party/googleapis/google/monitoring/dashboard/v1/collapsible_group.proto b/third_party/googleapis/google/monitoring/dashboard/v1/collapsible_group.proto index 513560eb1..386a68e93 100644 --- a/third_party/googleapis/google/monitoring/dashboard/v1/collapsible_group.proto +++ b/third_party/googleapis/google/monitoring/dashboard/v1/collapsible_group.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,7 +17,7 @@ syntax = "proto3"; package google.monitoring.dashboard.v1; option csharp_namespace = "Google.Cloud.Monitoring.Dashboard.V1"; -option go_package = "google.golang.org/genproto/googleapis/monitoring/dashboard/v1;dashboard"; +option go_package = "cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb;dashboardpb"; option java_multiple_files = true; option java_outer_classname = "CollapsibleGroupProto"; option java_package = "com.google.monitoring.dashboard.v1"; diff --git a/third_party/googleapis/google/monitoring/dashboard/v1/common.proto b/third_party/googleapis/google/monitoring/dashboard/v1/common.proto index 6b8e6b3d5..981eb0a04 100644 --- a/third_party/googleapis/google/monitoring/dashboard/v1/common.proto +++ b/third_party/googleapis/google/monitoring/dashboard/v1/common.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,9 +17,10 @@ syntax = "proto3"; package google.monitoring.dashboard.v1; import "google/protobuf/duration.proto"; +import "google/type/interval.proto"; option csharp_namespace = "Google.Cloud.Monitoring.Dashboard.V1"; -option go_package = "google.golang.org/genproto/googleapis/monitoring/dashboard/v1;dashboard"; +option go_package = "cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb;dashboardpb"; option java_multiple_files = true; option java_outer_classname = "CommonProto"; option java_package = "com.google.monitoring.dashboard.v1"; @@ -425,6 +426,9 @@ message PickTimeSeriesFilter { // How to use the ranking to select time series that pass through the filter. Direction direction = 3; + + // Select the top N streams/time series within this time interval + google.type.Interval interval = 4; } // A filter that ranks streams based on their statistical relation to other diff --git a/third_party/googleapis/google/monitoring/dashboard/v1/dashboard.proto b/third_party/googleapis/google/monitoring/dashboard/v1/dashboard.proto index 66f4c5300..d2a2889c3 100644 --- a/third_party/googleapis/google/monitoring/dashboard/v1/dashboard.proto +++ b/third_party/googleapis/google/monitoring/dashboard/v1/dashboard.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ import "google/monitoring/dashboard/v1/dashboard_filter.proto"; import "google/monitoring/dashboard/v1/layouts.proto"; option csharp_namespace = "Google.Cloud.Monitoring.Dashboard.V1"; -option go_package = "google.golang.org/genproto/googleapis/monitoring/dashboard/v1;dashboard"; +option go_package = "cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb;dashboardpb"; option java_multiple_files = true; option java_outer_classname = "DashboardsProto"; option java_package = "com.google.monitoring.dashboard.v1"; @@ -37,8 +37,8 @@ message Dashboard { pattern: "projects/{project}/dashboards/{dashboard}" }; - // Immutable. The resource name of the dashboard. - string name = 1 [(google.api.field_behavior) = IMMUTABLE]; + // Identifier. The resource name of the dashboard. + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; // Required. The mutable, human-readable name. string display_name = 2 [(google.api.field_behavior) = REQUIRED]; diff --git a/third_party/googleapis/google/monitoring/dashboard/v1/dashboard_filter.proto b/third_party/googleapis/google/monitoring/dashboard/v1/dashboard_filter.proto index fba5cf63e..793228a85 100644 --- a/third_party/googleapis/google/monitoring/dashboard/v1/dashboard_filter.proto +++ b/third_party/googleapis/google/monitoring/dashboard/v1/dashboard_filter.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -19,7 +19,7 @@ package google.monitoring.dashboard.v1; import "google/api/field_behavior.proto"; option csharp_namespace = "Google.Cloud.Monitoring.Dashboard.V1"; -option go_package = "google.golang.org/genproto/googleapis/monitoring/dashboard/v1;dashboard"; +option go_package = "cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb;dashboardpb"; option java_multiple_files = true; option java_outer_classname = "DashboardFilterProto"; option java_package = "com.google.monitoring.dashboard.v1"; diff --git a/third_party/googleapis/google/monitoring/dashboard/v1/dashboards_service.proto b/third_party/googleapis/google/monitoring/dashboard/v1/dashboards_service.proto index bf6f94e78..0e118f498 100644 --- a/third_party/googleapis/google/monitoring/dashboard/v1/dashboards_service.proto +++ b/third_party/googleapis/google/monitoring/dashboard/v1/dashboards_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -24,7 +24,7 @@ import "google/monitoring/dashboard/v1/dashboard.proto"; import "google/protobuf/empty.proto"; option csharp_namespace = "Google.Cloud.Monitoring.Dashboard.V1"; -option go_package = "google.golang.org/genproto/googleapis/monitoring/dashboard/v1;dashboard"; +option go_package = "cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb;dashboardpb"; option java_multiple_files = true; option java_outer_classname = "DashboardsServiceProto"; option java_package = "com.google.monitoring.dashboard.v1"; @@ -52,6 +52,7 @@ service DashboardsService { post: "/v1/{parent=projects/*}/dashboards" body: "dashboard" }; + option (google.api.method_signature) = "parent,dashboard"; } // Lists the existing dashboards. @@ -63,6 +64,7 @@ service DashboardsService { option (google.api.http) = { get: "/v1/{parent=projects/*}/dashboards" }; + option (google.api.method_signature) = "parent"; } // Fetches a specific dashboard. @@ -74,6 +76,7 @@ service DashboardsService { option (google.api.http) = { get: "/v1/{name=projects/*/dashboards/*}" }; + option (google.api.method_signature) = "name"; } // Deletes an existing custom dashboard. @@ -85,6 +88,7 @@ service DashboardsService { option (google.api.http) = { delete: "/v1/{name=projects/*/dashboards/*}" }; + option (google.api.method_signature) = "name"; } // Replaces an existing custom dashboard with a new definition. @@ -107,7 +111,12 @@ message CreateDashboardRequest { // projects/[PROJECT_ID_OR_NUMBER] // // The `[PROJECT_ID_OR_NUMBER]` must match the dashboard resource name. - string parent = 1 [(google.api.field_behavior) = REQUIRED]; + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "cloudresourcemanager.googleapis.com/Project" + } + ]; // Required. The initial dashboard specification. Dashboard dashboard = 2 [(google.api.field_behavior) = REQUIRED]; @@ -133,10 +142,11 @@ message ListDashboardsRequest { // If unspecified, a default of 1000 is used. int32 page_size = 2; - // If this field is not empty then it must contain the `nextPageToken` value - // returned by a previous call to this method. Using this field causes the - // method to return additional results from the previous method call. - string page_token = 3; + // Optional. If this field is not empty then it must contain the + // `nextPageToken` value returned by a previous call to this method. Using + // this field causes the method to return additional results from the previous + // method call. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; } // The `ListDashboards` request. diff --git a/third_party/googleapis/google/monitoring/dashboard/v1/drilldowns.proto b/third_party/googleapis/google/monitoring/dashboard/v1/drilldowns.proto index b0a11e0a3..ef405de90 100644 --- a/third_party/googleapis/google/monitoring/dashboard/v1/drilldowns.proto +++ b/third_party/googleapis/google/monitoring/dashboard/v1/drilldowns.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,7 +17,7 @@ syntax = "proto3"; package google.monitoring.dashboard.v1; option csharp_namespace = "Google.Cloud.Monitoring.Dashboard.V1"; -option go_package = "google.golang.org/genproto/googleapis/monitoring/dashboard/v1;dashboard"; +option go_package = "cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb;dashboardpb"; option java_multiple_files = true; option java_outer_classname = "DrilldownsProto"; option java_package = "com.google.monitoring.dashboard.v1"; diff --git a/third_party/googleapis/google/monitoring/dashboard/v1/layouts.proto b/third_party/googleapis/google/monitoring/dashboard/v1/layouts.proto index 94be37aa5..3be46ae25 100644 --- a/third_party/googleapis/google/monitoring/dashboard/v1/layouts.proto +++ b/third_party/googleapis/google/monitoring/dashboard/v1/layouts.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -19,7 +19,7 @@ package google.monitoring.dashboard.v1; import "google/monitoring/dashboard/v1/widget.proto"; option csharp_namespace = "Google.Cloud.Monitoring.Dashboard.V1"; -option go_package = "google.golang.org/genproto/googleapis/monitoring/dashboard/v1;dashboard"; +option go_package = "cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb;dashboardpb"; option java_multiple_files = true; option java_outer_classname = "LayoutsProto"; option java_package = "com.google.monitoring.dashboard.v1"; diff --git a/third_party/googleapis/google/monitoring/dashboard/v1/logs_panel.proto b/third_party/googleapis/google/monitoring/dashboard/v1/logs_panel.proto index a5fb66c7d..2044451f6 100644 --- a/third_party/googleapis/google/monitoring/dashboard/v1/logs_panel.proto +++ b/third_party/googleapis/google/monitoring/dashboard/v1/logs_panel.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,7 +17,7 @@ syntax = "proto3"; package google.monitoring.dashboard.v1; option csharp_namespace = "Google.Cloud.Monitoring.Dashboard.V1"; -option go_package = "google.golang.org/genproto/googleapis/monitoring/dashboard/v1;dashboard"; +option go_package = "cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb;dashboardpb"; option java_multiple_files = true; option java_outer_classname = "LogsPanelProto"; option java_package = "com.google.monitoring.dashboard.v1"; diff --git a/third_party/googleapis/google/monitoring/dashboard/v1/metrics.proto b/third_party/googleapis/google/monitoring/dashboard/v1/metrics.proto index 321429b64..df2421ac5 100644 --- a/third_party/googleapis/google/monitoring/dashboard/v1/metrics.proto +++ b/third_party/googleapis/google/monitoring/dashboard/v1/metrics.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; import "google/monitoring/dashboard/v1/common.proto"; option csharp_namespace = "Google.Cloud.Monitoring.Dashboard.V1"; -option go_package = "google.golang.org/genproto/googleapis/monitoring/dashboard/v1;dashboard"; +option go_package = "cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb;dashboardpb"; option java_multiple_files = true; option java_outer_classname = "MetricsProto"; option java_package = "com.google.monitoring.dashboard.v1"; @@ -51,6 +51,15 @@ message TimeSeriesQuery { // [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) // field in `MetricDescriptor`. string unit_override = 5; + + // Optional. If set, Cloud Monitoring will treat the full query duration as + // the alignment period so that there will be only 1 output value. + // + // *Note: This could override the configured alignment period except for + // the cases where a series of data points are expected, like + // - XyChart + // - Scorecard's spark chart + bool output_full_duration = 7 [(google.api.field_behavior) = OPTIONAL]; } // A filter that defines a subset of time series data that is displayed in a diff --git a/third_party/googleapis/google/monitoring/dashboard/v1/scorecard.proto b/third_party/googleapis/google/monitoring/dashboard/v1/scorecard.proto index 27b0b1565..23fcd6a50 100644 --- a/third_party/googleapis/google/monitoring/dashboard/v1/scorecard.proto +++ b/third_party/googleapis/google/monitoring/dashboard/v1/scorecard.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -19,9 +19,10 @@ package google.monitoring.dashboard.v1; import "google/api/field_behavior.proto"; import "google/monitoring/dashboard/v1/metrics.proto"; import "google/protobuf/duration.proto"; +import "google/protobuf/empty.proto"; option csharp_namespace = "Google.Cloud.Monitoring.Dashboard.V1"; -option go_package = "google.golang.org/genproto/googleapis/monitoring/dashboard/v1;dashboard"; +option go_package = "cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb;dashboardpb"; option java_multiple_files = true; option java_outer_classname = "ScorecardProto"; option java_package = "com.google.monitoring.dashboard.v1"; @@ -74,6 +75,10 @@ message Scorecard { // Will cause the scorecard to show a spark chart. SparkChartView spark_chart_view = 5; + + // Will cause the `Scorecard` to show only the value, with no indicator to + // its value relative to its thresholds. + google.protobuf.Empty blank_view = 7; } // The thresholds used to determine the state of the scorecard given the diff --git a/third_party/googleapis/google/monitoring/dashboard/v1/service.proto b/third_party/googleapis/google/monitoring/dashboard/v1/service.proto index f7e5e44ae..c75f3d370 100644 --- a/third_party/googleapis/google/monitoring/dashboard/v1/service.proto +++ b/third_party/googleapis/google/monitoring/dashboard/v1/service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,7 +17,7 @@ syntax = "proto3"; package google.monitoring.dashboard.v1; option csharp_namespace = "Google.Cloud.Monitoring.Dashboard.V1"; -option go_package = "google.golang.org/genproto/googleapis/monitoring/dashboard/v1;dashboard"; +option go_package = "cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb;dashboardpb"; option java_multiple_files = true; option java_outer_classname = "ServiceMonitoringProto"; option java_package = "com.google.monitoring.dashboard.v1"; diff --git a/third_party/googleapis/google/monitoring/dashboard/v1/table.proto b/third_party/googleapis/google/monitoring/dashboard/v1/table.proto index 2bbcf6df3..810a5c837 100644 --- a/third_party/googleapis/google/monitoring/dashboard/v1/table.proto +++ b/third_party/googleapis/google/monitoring/dashboard/v1/table.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ import "google/monitoring/dashboard/v1/table_display_options.proto"; import "google/protobuf/duration.proto"; option csharp_namespace = "Google.Cloud.Monitoring.Dashboard.V1"; -option go_package = "google.golang.org/genproto/googleapis/monitoring/dashboard/v1;dashboard"; +option go_package = "cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb;dashboardpb"; option java_multiple_files = true; option java_outer_classname = "TableProto"; option java_package = "com.google.monitoring.dashboard.v1"; diff --git a/third_party/googleapis/google/monitoring/dashboard/v1/table_display_options.proto b/third_party/googleapis/google/monitoring/dashboard/v1/table_display_options.proto index 8e5d4b7ed..5cc9369a5 100644 --- a/third_party/googleapis/google/monitoring/dashboard/v1/table_display_options.proto +++ b/third_party/googleapis/google/monitoring/dashboard/v1/table_display_options.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -19,7 +19,7 @@ package google.monitoring.dashboard.v1; import "google/api/field_behavior.proto"; option csharp_namespace = "Google.Cloud.Monitoring.Dashboard.V1"; -option go_package = "google.golang.org/genproto/googleapis/monitoring/dashboard/v1;dashboard"; +option go_package = "cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb;dashboardpb"; option java_multiple_files = true; option java_outer_classname = "TableDisplayOptionsProto"; option java_package = "com.google.monitoring.dashboard.v1"; diff --git a/third_party/googleapis/google/monitoring/dashboard/v1/text.proto b/third_party/googleapis/google/monitoring/dashboard/v1/text.proto index ed75a19f2..f38828da0 100644 --- a/third_party/googleapis/google/monitoring/dashboard/v1/text.proto +++ b/third_party/googleapis/google/monitoring/dashboard/v1/text.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,7 +17,7 @@ syntax = "proto3"; package google.monitoring.dashboard.v1; option csharp_namespace = "Google.Cloud.Monitoring.Dashboard.V1"; -option go_package = "google.golang.org/genproto/googleapis/monitoring/dashboard/v1;dashboard"; +option go_package = "cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb;dashboardpb"; option java_multiple_files = true; option java_outer_classname = "TextProto"; option java_package = "com.google.monitoring.dashboard.v1"; @@ -38,9 +38,152 @@ message Text { RAW = 2; } + // Properties that determine how the title and content are styled + message TextStyle { + // The horizontal alignment of both the title and content on a text widget + enum HorizontalAlignment { + // No horizontal alignment specified, will default to H_LEFT + HORIZONTAL_ALIGNMENT_UNSPECIFIED = 0; + + // Left-align + H_LEFT = 1; + + // Center-align + H_CENTER = 2; + + // Right-align + H_RIGHT = 3; + } + + // The vertical alignment of both the title and content on a text widget + enum VerticalAlignment { + // No vertical alignment specified, will default to V_TOP + VERTICAL_ALIGNMENT_UNSPECIFIED = 0; + + // Top-align + V_TOP = 1; + + // Center-align + V_CENTER = 2; + + // Bottom-align + V_BOTTOM = 3; + } + + // Specifies padding size around a text widget + enum PaddingSize { + // No padding size specified, will default to P_EXTRA_SMALL + PADDING_SIZE_UNSPECIFIED = 0; + + // Extra small padding + P_EXTRA_SMALL = 1; + + // Small padding + P_SMALL = 2; + + // Medium padding + P_MEDIUM = 3; + + // Large padding + P_LARGE = 4; + + // Extra large padding + P_EXTRA_LARGE = 5; + } + + // Specifies a font size for the title and content of a text widget + enum FontSize { + // No font size specified, will default to FS_LARGE + FONT_SIZE_UNSPECIFIED = 0; + + // Extra small font size + FS_EXTRA_SMALL = 1; + + // Small font size + FS_SMALL = 2; + + // Medium font size + FS_MEDIUM = 3; + + // Large font size + FS_LARGE = 4; + + // Extra large font size + FS_EXTRA_LARGE = 5; + } + + // Specifies where a visual pointer is placed on a text widget (also + // sometimes called a "tail") + enum PointerLocation { + // No visual pointer + POINTER_LOCATION_UNSPECIFIED = 0; + + // Placed in the middle of the top of the widget + PL_TOP = 1; + + // Placed in the middle of the right side of the widget + PL_RIGHT = 2; + + // Placed in the middle of the bottom of the widget + PL_BOTTOM = 3; + + // Placed in the middle of the left side of the widget + PL_LEFT = 4; + + // Placed on the left side of the top of the widget + PL_TOP_LEFT = 5; + + // Placed on the right side of the top of the widget + PL_TOP_RIGHT = 6; + + // Placed on the top of the right side of the widget + PL_RIGHT_TOP = 7; + + // Placed on the bottom of the right side of the widget + PL_RIGHT_BOTTOM = 8; + + // Placed on the right side of the bottom of the widget + PL_BOTTOM_RIGHT = 9; + + // Placed on the left side of the bottom of the widget + PL_BOTTOM_LEFT = 10; + + // Placed on the bottom of the left side of the widget + PL_LEFT_BOTTOM = 11; + + // Placed on the top of the left side of the widget + PL_LEFT_TOP = 12; + } + + // The background color as a hex string. "#RRGGBB" or "#RGB" + string background_color = 1; + + // The text color as a hex string. "#RRGGBB" or "#RGB" + string text_color = 2; + + // The horizontal alignment of both the title and content + HorizontalAlignment horizontal_alignment = 3; + + // The vertical alignment of both the title and content + VerticalAlignment vertical_alignment = 4; + + // The amount of padding around the widget + PaddingSize padding = 5; + + // Font sizes for both the title and content. The title will still be larger + // relative to the content. + FontSize font_size = 6; + + // The pointer location for this widget (also sometimes called a "tail") + PointerLocation pointer_location = 7; + } + // The text content to be displayed. string content = 1; // How the text content is formatted. Format format = 2; + + // How the text is styled + TextStyle style = 3; } diff --git a/third_party/googleapis/google/monitoring/dashboard/v1/widget.proto b/third_party/googleapis/google/monitoring/dashboard/v1/widget.proto index bb50eec8e..465f79fbe 100644 --- a/third_party/googleapis/google/monitoring/dashboard/v1/widget.proto +++ b/third_party/googleapis/google/monitoring/dashboard/v1/widget.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -19,15 +19,20 @@ package google.monitoring.dashboard.v1; import "google/api/field_behavior.proto"; import "google/monitoring/dashboard/v1/alertchart.proto"; import "google/monitoring/dashboard/v1/collapsible_group.proto"; +import "google/monitoring/dashboard/v1/error_reporting_panel.proto"; +import "google/monitoring/dashboard/v1/incident_list.proto"; import "google/monitoring/dashboard/v1/logs_panel.proto"; +import "google/monitoring/dashboard/v1/piechart.proto"; import "google/monitoring/dashboard/v1/scorecard.proto"; +import "google/monitoring/dashboard/v1/section_header.proto"; +import "google/monitoring/dashboard/v1/single_view_group.proto"; import "google/monitoring/dashboard/v1/table.proto"; import "google/monitoring/dashboard/v1/text.proto"; import "google/monitoring/dashboard/v1/xychart.proto"; import "google/protobuf/empty.proto"; option csharp_namespace = "Google.Cloud.Monitoring.Dashboard.V1"; -option go_package = "google.golang.org/genproto/googleapis/monitoring/dashboard/v1;dashboard"; +option go_package = "cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb;dashboardpb"; option java_multiple_files = true; option java_outer_classname = "WidgetProto"; option java_package = "com.google.monitoring.dashboard.v1"; @@ -66,5 +71,25 @@ message Widget { // A widget that shows a stream of logs. LogsPanel logs_panel = 10; + + // A widget that shows list of incidents. + IncidentList incident_list = 12; + + // A widget that displays timeseries data as a pie chart. + PieChart pie_chart = 14; + + // A widget that displays a list of error groups. + ErrorReportingPanel error_reporting_panel = 19; + + // A widget that defines a section header for easier navigation of the + // dashboard. + SectionHeader section_header = 21; + + // A widget that groups the other widgets by using a dropdown menu. + SingleViewGroup single_view_group = 22; } + + // Optional. The widget id. Ids may be made up of alphanumerics, dashes and + // underscores. Widget ids are optional. + string id = 17 [(google.api.field_behavior) = OPTIONAL]; } diff --git a/third_party/googleapis/google/monitoring/dashboard/v1/xychart.proto b/third_party/googleapis/google/monitoring/dashboard/v1/xychart.proto index 74958f1ff..281fb7cf0 100644 --- a/third_party/googleapis/google/monitoring/dashboard/v1/xychart.proto +++ b/third_party/googleapis/google/monitoring/dashboard/v1/xychart.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,7 +21,7 @@ import "google/monitoring/dashboard/v1/metrics.proto"; import "google/protobuf/duration.proto"; option csharp_namespace = "Google.Cloud.Monitoring.Dashboard.V1"; -option go_package = "google.golang.org/genproto/googleapis/monitoring/dashboard/v1;dashboard"; +option go_package = "cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb;dashboardpb"; option java_multiple_files = true; option java_outer_classname = "XyChartProto"; option java_package = "com.google.monitoring.dashboard.v1"; @@ -42,13 +42,13 @@ message XyChart { // The data is plotted as a set of filled areas (one area per series), // with the areas stacked vertically (the base of each area is the top of - // its predecessor, and the base of the first area is the X axis). Since + // its predecessor, and the base of the first area is the x-axis). Since // the areas do not overlap, each is filled with a different opaque color. STACKED_AREA = 2; // The data is plotted as a set of rectangular boxes (one box per series), // with the boxes stacked vertically (the base of each box is the top of - // its predecessor, and the base of the first box is the X axis). Since + // its predecessor, and the base of the first box is the x-axis). Since // the boxes do not overlap, each is filled with a different opaque color. STACKED_BAR = 3; @@ -130,13 +130,13 @@ message XyChart { // Threshold lines drawn horizontally across the chart. repeated Threshold thresholds = 5; - // The properties applied to the X axis. + // The properties applied to the x-axis. Axis x_axis = 6; - // The properties applied to the Y axis. + // The properties applied to the y-axis. Axis y_axis = 7; - // The properties applied to the Y2 axis. + // The properties applied to the y2-axis. Axis y2_axis = 9; // Display options for the chart. diff --git a/third_party/googleapis/google/monitoring/metricsscope/BUILD.bazel b/third_party/googleapis/google/monitoring/metricsscope/BUILD.bazel index fccc365a2..98d353c18 100644 --- a/third_party/googleapis/google/monitoring/metricsscope/BUILD.bazel +++ b/third_party/googleapis/google/monitoring/metricsscope/BUILD.bazel @@ -22,13 +22,14 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-monitoring-metrics_scope", "ruby-cloud-env-prefix=MONITORING", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.5", "ruby-cloud-product-url=https://cloud.google.com/monitoring", "ruby-cloud-api-id=monitoring.googleapis.com", "ruby-cloud-api-shortname=monitoring", ], ruby_cloud_description = "Cloud Monitoring collects metrics, events, and metadata from Google Cloud, Amazon Web Services (AWS), hosted uptime probes, and application instrumentation.", ruby_cloud_title = "Cloud Monitoring Metrics Scopes", + transport = "grpc", ) # Open Source package. diff --git a/third_party/googleapis/google/monitoring/metricsscope/v1/BUILD.bazel b/third_party/googleapis/google/monitoring/metricsscope/v1/BUILD.bazel index b60ee3d41..31c04c1a4 100644 --- a/third_party/googleapis/google/monitoring/metricsscope/v1/BUILD.bazel +++ b/third_party/googleapis/google/monitoring/metricsscope/v1/BUILD.bazel @@ -24,7 +24,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -34,7 +33,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -126,7 +124,7 @@ java_gapic_assembly_gradle_pkg( go_proto_library( name = "metricsscope_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/monitoring/metricsscope/v1", + importpath = "cloud.google.com/go/monitoring/metricsscope/apiv1/metricsscopepb", protos = [":metricsscope_proto"], deps = [ "//google/api:annotations_go_proto", @@ -140,6 +138,7 @@ go_gapic_library( grpc_service_config = "metricsscopes_grpc_service_config.json", importpath = "cloud.google.com/go/monitoring/metricsscope/apiv1;metricsscope", metadata = True, + release_level = "ga", rest_numeric_enums = True, service_yaml = "monitoring.yaml", transport = "grpc", @@ -151,19 +150,13 @@ go_gapic_library( ], ) -go_test( - name = "metricsscope_go_gapic_test", - srcs = [":metricsscope_go_gapic_srcjar_test"], - embed = [":metricsscope_go_gapic"], - importpath = "cloud.google.com/go/monitoring/metricsscope/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-monitoring-metricsscope-v1-go", deps = [ ":metricsscope_go_gapic", ":metricsscope_go_gapic_srcjar-metadata.srcjar", + ":metricsscope_go_gapic_srcjar-snippets.srcjar", ":metricsscope_go_gapic_srcjar-test.srcjar", ":metricsscope_go_proto", ], @@ -206,12 +199,6 @@ php_proto_library( deps = [":metricsscope_proto"], ) -php_grpc_library( - name = "metricsscope_php_grpc", - srcs = [":metricsscope_proto"], - deps = [":metricsscope_php_proto"], -) - php_gapic_library( name = "metricsscope_php_gapic", srcs = [":metricsscope_proto_with_info"], @@ -219,10 +206,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "monitoring.yaml", transport = "grpc+rest", - deps = [ - ":metricsscope_php_grpc", - ":metricsscope_php_proto", - ], + deps = [":metricsscope_php_proto"], ) # Open Source Packages @@ -230,7 +214,6 @@ php_gapic_assembly_pkg( name = "google-cloud-monitoring-metricsscope-v1-php", deps = [ ":metricsscope_php_gapic", - ":metricsscope_php_grpc", ":metricsscope_php_proto", ], ) @@ -282,6 +265,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Cloud Monitoring collects metrics, events, and metadata from Google Cloud, Amazon Web Services (AWS), hosted uptime probes, and application instrumentation. The Metrics Scopes API manages the list of monitored projects and accounts.", ruby_cloud_title = "Cloud Monitoring Metrics Scopes V1", service_yaml = "monitoring.yaml", + transport = "grpc", deps = [ ":metricsscope_ruby_grpc", ":metricsscope_ruby_proto", diff --git a/third_party/googleapis/google/monitoring/metricsscope/v1/metrics_scope.proto b/third_party/googleapis/google/monitoring/metricsscope/v1/metrics_scope.proto index 436a05788..a8d6b493f 100644 --- a/third_party/googleapis/google/monitoring/metricsscope/v1/metrics_scope.proto +++ b/third_party/googleapis/google/monitoring/metricsscope/v1/metrics_scope.proto @@ -20,7 +20,7 @@ import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/monitoring/metricsscope/v1;metricsscope"; +option go_package = "cloud.google.com/go/monitoring/metricsscope/apiv1/metricsscopepb;metricsscopepb"; option java_multiple_files = true; option java_outer_classname = "MetricsScopeProto"; option java_package = "com.google.monitoring.metricsscope.v1"; diff --git a/third_party/googleapis/google/monitoring/metricsscope/v1/metrics_scopes.proto b/third_party/googleapis/google/monitoring/metricsscope/v1/metrics_scopes.proto index 3b1b0ae29..8da87575d 100644 --- a/third_party/googleapis/google/monitoring/metricsscope/v1/metrics_scopes.proto +++ b/third_party/googleapis/google/monitoring/metricsscope/v1/metrics_scopes.proto @@ -24,7 +24,7 @@ import "google/longrunning/operations.proto"; import "google/monitoring/metricsscope/v1/metrics_scope.proto"; import "google/protobuf/timestamp.proto"; -option go_package = "google.golang.org/genproto/googleapis/monitoring/metricsscope/v1;metricsscope"; +option go_package = "cloud.google.com/go/monitoring/metricsscope/apiv1/metricsscopepb;metricsscopepb"; option java_multiple_files = true; option java_outer_classname = "MetricsScopesProto"; option java_package = "com.google.monitoring.metricsscope.v1"; diff --git a/third_party/googleapis/google/monitoring/v3/BUILD.bazel b/third_party/googleapis/google/monitoring/v3/BUILD.bazel index f0e795077..9ab91ffc4 100644 --- a/third_party/googleapis/google/monitoring/v3/BUILD.bazel +++ b/third_party/googleapis/google/monitoring/v3/BUILD.bazel @@ -145,13 +145,12 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( name = "monitoring_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/monitoring/v3", + importpath = "cloud.google.com/go/monitoring/apiv3/v2/monitoringpb", protos = [":monitoring_proto"], deps = [ "//google/api:annotations_go_proto", @@ -169,7 +168,7 @@ go_gapic_library( name = "monitoring_go_gapic", srcs = [":monitoring_proto_with_info"], grpc_service_config = "monitoring_grpc_service_config.json", - importpath = "cloud.google.com/go/monitoring/apiv3;monitoring", + importpath = "cloud.google.com/go/monitoring/apiv3/v2;monitoring", metadata = True, rest_numeric_enums = True, service_yaml = "monitoring.yaml", @@ -185,19 +184,13 @@ go_gapic_library( ], ) -go_test( - name = "monitoring_go_gapic_test", - srcs = [":monitoring_go_gapic_srcjar_test"], - embed = [":monitoring_go_gapic"], - importpath = "cloud.google.com/go/monitoring/apiv3", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-monitoring-v3-go", deps = [ ":monitoring_go_gapic", ":monitoring_go_gapic_srcjar-metadata.srcjar", + ":monitoring_go_gapic_srcjar-snippets.srcjar", ":monitoring_go_gapic_srcjar-test.srcjar", ":monitoring_go_proto", ], @@ -210,7 +203,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "py_gapic_assembly_pkg", "py_gapic_library", - "py_test", ) py_gapic_library( @@ -249,7 +241,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -258,23 +249,15 @@ php_proto_library( deps = [":monitoring_proto"], ) -php_grpc_library( - name = "monitoring_php_grpc", - srcs = [":monitoring_proto"], - deps = [":monitoring_php_proto"], -) - php_gapic_library( name = "monitoring_php_gapic", srcs = [":monitoring_proto_with_info"], grpc_service_config = "monitoring_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "monitoring.yaml", transport = "grpc+rest", - deps = [ - ":monitoring_php_grpc", - ":monitoring_php_proto", - ], + deps = [":monitoring_php_proto"], ) # Open Source Packages @@ -282,7 +265,6 @@ php_gapic_assembly_pkg( name = "google-cloud-monitoring-v3-php", deps = [ ":monitoring_php_gapic", - ":monitoring_php_grpc", ":monitoring_php_proto", ], ) @@ -355,6 +337,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Cloud Monitoring collects metrics, events, and metadata from Google Cloud, Amazon Web Services (AWS), hosted uptime probes, and application instrumentation.", ruby_cloud_title = "Cloud Monitoring V3", service_yaml = "monitoring.yaml", + transport = "grpc", deps = [ ":monitoring_ruby_grpc", ":monitoring_ruby_proto", diff --git a/third_party/googleapis/google/monitoring/v3/alert.proto b/third_party/googleapis/google/monitoring/v3/alert.proto index 10256483c..8dafe88a2 100644 --- a/third_party/googleapis/google/monitoring/v3/alert.proto +++ b/third_party/googleapis/google/monitoring/v3/alert.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -25,7 +25,7 @@ import "google/protobuf/wrappers.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.Monitoring.V3"; -option go_package = "google.golang.org/genproto/googleapis/monitoring/v3;monitoring"; +option go_package = "cloud.google.com/go/monitoring/apiv3/v2/monitoringpb;monitoringpb"; option java_multiple_files = true; option java_outer_classname = "AlertProto"; option java_package = "com.google.monitoring.v3"; @@ -36,6 +36,7 @@ option ruby_package = "Google::Cloud::Monitoring::V3"; // considered to be "unhealthy" and the ways to notify people or services about // this state. For an overview of alert policies, see // [Introduction to Alerting](https://cloud.google.com/monitoring/alerts/). +// message AlertPolicy { option (google.api.resource) = { type: "monitoring.googleapis.com/AlertPolicy" @@ -48,7 +49,7 @@ message AlertPolicy { // A content string and a MIME type that describes the content string's // format. message Documentation { - // The text of the documentation, interpreted according to `mime_type`. + // The body of the documentation, interpreted according to `mime_type`. // The content may not exceed 8,192 Unicode characters and may not exceed // more than 10,240 bytes when encoded in UTF-8 format, whichever is // smaller. This text can be [templatized by using @@ -59,6 +60,21 @@ message AlertPolicy { // `"text/markdown"` is supported. See // [Markdown](https://en.wikipedia.org/wiki/Markdown) for more information. string mime_type = 2; + + // Optional. The subject line of the notification. The subject line may not + // exceed 10,240 bytes. In notifications generated by this policy, the + // contents of the subject line after variable expansion will be truncated + // to 255 bytes or shorter at the latest UTF-8 character boundary. The + // 255-byte limit is recommended by [this + // thread](https://stackoverflow.com/questions/1592291/what-is-the-email-subject-length-limit). + // It is both the limit imposed by some third-party ticketing products and + // it is common to define textual fields in databases as VARCHAR(255). + // + // The contents of the subject line can be [templatized by using + // variables](https://cloud.google.com/monitoring/alerts/doc-variables). + // If this field is missing or empty, a default subject line will be + // generated. + string subject = 3 [(google.api.field_behavior) = OPTIONAL]; } // A condition is a true/false test that determines when an alerting policy @@ -111,7 +127,21 @@ message AlertPolicy { // A condition type that compares a collection of time series // against a threshold. message MetricThreshold { - // Required. A [filter](https://cloud.google.com/monitoring/api/v3/filters) that + // Options used when forecasting the time series and testing + // the predicted value against the threshold. + message ForecastOptions { + // Required. The length of time into the future to forecast whether a + // time series will violate the threshold. If the predicted value is + // found to violate the threshold, and the violation is observed in all + // forecasts made for the configured `duration`, then the time series is + // considered to be failing. + // The forecast horizon can range from 1 hour to 60 hours. + google.protobuf.Duration forecast_horizon = 1 + [(google.api.field_behavior) = REQUIRED]; + } + + // Required. A + // [filter](https://cloud.google.com/monitoring/api/v3/filters) that // identifies which time series should be compared with the threshold. // // The filter is similar to the one that is specified in the @@ -159,6 +189,13 @@ message AlertPolicy { // and produce time series that have the same periodicity and labels. repeated Aggregation denominator_aggregations = 10; + // When this field is present, the `MetricThreshold` condition forecasts + // whether the time series is predicted to violate the threshold within + // the `forecast_horizon`. When this field is not set, the + // `MetricThreshold` tests the current value of the timeseries against the + // threshold. + ForecastOptions forecast_options = 12; + // The comparison to apply between the time series (indicated by `filter` // and `aggregation`) and the threshold (indicated by `threshold_value`). // The comparison is applied on each time series, with the time series @@ -201,7 +238,8 @@ message AlertPolicy { // when a time series for the specified metric of a monitored // resource does not include any data in the specified `duration`. message MetricAbsence { - // Required. A [filter](https://cloud.google.com/monitoring/api/v3/filters) that + // Required. A + // [filter](https://cloud.google.com/monitoring/api/v3/filters) that // identifies which time series should be compared with the threshold. // // The filter is similar to the one that is specified in the @@ -298,6 +336,100 @@ message AlertPolicy { EvaluationMissingData evaluation_missing_data = 4; } + // A condition type that allows alert policies to be defined using + // [Prometheus Query Language + // (PromQL)](https://prometheus.io/docs/prometheus/latest/querying/basics/). + // + // The PrometheusQueryLanguageCondition message contains information + // from a Prometheus alerting rule and its associated rule group. + // + // A Prometheus alerting rule is described + // [here](https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/). + // The semantics of a Prometheus alerting rule is described + // [here](https://prometheus.io/docs/prometheus/latest/configuration/recording_rules/#rule). + // + // A Prometheus rule group is described + // [here](https://prometheus.io/docs/prometheus/latest/configuration/recording_rules/). + // The semantics of a Prometheus rule group is described + // [here](https://prometheus.io/docs/prometheus/latest/configuration/recording_rules/#rule_group). + // + // Because Cloud Alerting has no representation of a Prometheus rule + // group resource, we must embed the information of the parent rule + // group inside each of the conditions that refer to it. We must also + // update the contents of all Prometheus alerts in case the information + // of their rule group changes. + // + // The PrometheusQueryLanguageCondition protocol buffer combines the + // information of the corresponding rule group and alerting rule. + // The structure of the PrometheusQueryLanguageCondition protocol buffer + // does NOT mimic the structure of the Prometheus rule group and alerting + // rule YAML declarations. The PrometheusQueryLanguageCondition protocol + // buffer may change in the future to support future rule group and/or + // alerting rule features. There are no new such features at the present + // time (2023-06-26). + message PrometheusQueryLanguageCondition { + // Required. The PromQL expression to evaluate. Every evaluation cycle + // this expression is evaluated at the current time, and all resultant + // time series become pending/firing alerts. This field must not be empty. + string query = 1 [(google.api.field_behavior) = REQUIRED]; + + // Optional. Alerts are considered firing once their PromQL expression was + // evaluated to be "true" for this long. + // Alerts whose PromQL expression was not evaluated to be "true" for + // long enough are considered pending. + // Must be a non-negative duration or missing. + // This field is optional. Its default value is zero. + google.protobuf.Duration duration = 2 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. How often this rule should be evaluated. + // Must be a positive multiple of 30 seconds or missing. + // This field is optional. Its default value is 30 seconds. + // If this PrometheusQueryLanguageCondition was generated from a + // Prometheus alerting rule, then this value should be taken from the + // enclosing rule group. + google.protobuf.Duration evaluation_interval = 3 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Labels to add to or overwrite in the PromQL query result. + // Label names [must be + // valid](https://prometheus.io/docs/concepts/data_model/#metric-names-and-labels). + // Label values can be [templatized by using + // variables](https://cloud.google.com/monitoring/alerts/doc-variables). + // The only available variable names are the names of the labels in the + // PromQL result, including "__name__" and "value". "labels" may be empty. + map labels = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The rule group name of this alert in the corresponding + // Prometheus configuration file. + // + // Some external tools may require this field to be populated correctly + // in order to refer to the original Prometheus configuration file. + // The rule group name and the alert name are necessary to update the + // relevant AlertPolicies in case the definition of the rule group changes + // in the future. + // + // This field is optional. If this field is not empty, then it must + // contain a valid UTF-8 string. + // This field may not exceed 2048 Unicode characters in length. + string rule_group = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The alerting rule name of this alert in the corresponding + // Prometheus configuration file. + // + // Some external tools may require this field to be populated correctly + // in order to refer to the original Prometheus configuration file. + // The rule group name and the alert name are necessary to update the + // relevant AlertPolicies in case the definition of the rule group changes + // in the future. + // + // This field is optional. If this field is not empty, then it must be a + // [valid Prometheus label + // name](https://prometheus.io/docs/concepts/data_model/#metric-names-and-labels). + // This field may not exceed 2048 Unicode characters in length. + string alert_rule = 6 [(google.api.field_behavior) = OPTIONAL]; + } + // Required if the condition exists. The unique resource name for this // condition. Its format is: // @@ -346,6 +478,9 @@ message AlertPolicy { // A condition that uses the Monitoring Query Language to define // alerts. MonitoringQueryLanguageCondition condition_monitoring_query_language = 19; + + // A condition that uses the Prometheus query language to define alerts. + PrometheusQueryLanguageCondition condition_prometheus_query_language = 21; } } @@ -380,6 +515,23 @@ message AlertPolicy { google.protobuf.Duration period = 1; } + // Control over how the notification channels in `notification_channels` + // are notified when this alert fires, on a per-channel basis. + message NotificationChannelStrategy { + // The full REST resource name for the notification channels that these + // settings apply to. Each of these correspond to the name field in one + // of the NotificationChannel objects referenced in the + // notification_channels field of this AlertPolicy. + // The format is: + // + // projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID] + repeated string notification_channel_names = 1; + + // The frequency at which to send reminder notifications for open + // incidents. + google.protobuf.Duration renotify_interval = 2; + } + // Required for alert policies with a `LogMatch` condition. // // This limit is not implemented for alert policies that are not log-based. @@ -388,6 +540,28 @@ message AlertPolicy { // If an alert policy that was active has no data for this long, any open // incidents will close google.protobuf.Duration auto_close = 3; + + // Control how notifications will be sent out, on a per-channel basis. + repeated NotificationChannelStrategy notification_channel_strategy = 4; + } + + // An enumeration of possible severity level for an Alert Policy. + enum Severity { + // No severity is specified. This is the default value. + SEVERITY_UNSPECIFIED = 0; + + // This is the highest severity level. Use this if the problem could + // cause significant damage or downtime. + CRITICAL = 1; + + // This is the medium severity level. Use this if the problem could + // cause minor damage or downtime. + ERROR = 2; + + // This is the lowest severity level. Use this if the problem is not causing + // any damage or downtime, but could potentially lead to a problem in the + // future. + WARNING = 3; } // Required if the policy exists. The resource name for this policy. The @@ -406,6 +580,12 @@ message AlertPolicy { // notifications, and incidents. To avoid confusion, don't use the same // display name for multiple policies in the same project. The name is // limited to 512 Unicode characters. + // + // The convention for the display_name of a PrometheusQueryLanguageCondition + // is "{rule group name}/{alert name}", where the {rule group name} and + // {alert name} should be taken from the corresponding Prometheus + // configuration file. This convention is not enforced. + // In any case the display_name is not a unique key of the AlertPolicy. string display_name = 2; // Documentation that is included with notifications and incidents related to @@ -422,6 +602,13 @@ message AlertPolicy { // 63 Unicode characters or 128 bytes, whichever is smaller. Labels and // values can contain only lowercase letters, numerals, underscores, and // dashes. Keys must begin with a letter. + // + // Note that Prometheus {alert name} is a + // [valid Prometheus label + // names](https://prometheus.io/docs/concepts/data_model/#metric-names-and-labels), + // whereas Prometheus {rule group} is an unrestricted UTF-8 string. + // This means that they cannot be stored as-is in user labels, because + // they may contain characters that are not allowed in user-label values. map user_labels = 16; // A list of conditions for the policy. The conditions are combined by AND or @@ -430,6 +617,8 @@ message AlertPolicy { // conditions. // If `condition_time_series_query_language` is present, it must be the only // `condition`. + // If `condition_monitoring_query_language` is present, it must be the only + // `condition`. repeated Condition conditions = 12; // How to combine the results of multiple conditions to determine if an @@ -445,8 +634,9 @@ message AlertPolicy { // a field projection has been specified that strips it out. google.protobuf.BoolValue enabled = 17; - // Read-only description of how the alert policy is invalid. OK if the alert - // policy is valid. If not OK, the alert policy will not generate incidents. + // Read-only description of how the alert policy is invalid. This field is + // only set when the alert policy is invalid. An invalid alert policy will not + // generate incidents. google.rpc.Status validity = 18; // Identifies the notification channels to which notifications should be sent @@ -471,4 +661,9 @@ message AlertPolicy { // Control over how this alert policy's notification channels are notified. AlertStrategy alert_strategy = 21; + + // Optional. The severity of an alert policy indicates how important incidents + // generated by that policy are. The severity level will be displayed on the + // Incident detail page and in notifications. + Severity severity = 22 [(google.api.field_behavior) = OPTIONAL]; } diff --git a/third_party/googleapis/google/monitoring/v3/alert_service.proto b/third_party/googleapis/google/monitoring/v3/alert_service.proto index dd82f658d..d93ad0bad 100644 --- a/third_party/googleapis/google/monitoring/v3/alert_service.proto +++ b/third_party/googleapis/google/monitoring/v3/alert_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -25,7 +25,7 @@ import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.Monitoring.V3"; -option go_package = "google.golang.org/genproto/googleapis/monitoring/v3;monitoring"; +option go_package = "cloud.google.com/go/monitoring/apiv3/v2/monitoringpb;monitoringpb"; option java_multiple_files = true; option java_outer_classname = "AlertServiceProto"; option java_package = "com.google.monitoring.v3"; @@ -49,7 +49,8 @@ service AlertPolicyService { "https://www.googleapis.com/auth/monitoring.read"; // Lists the existing alerting policies for the workspace. - rpc ListAlertPolicies(ListAlertPoliciesRequest) returns (ListAlertPoliciesResponse) { + rpc ListAlertPolicies(ListAlertPoliciesRequest) + returns (ListAlertPoliciesResponse) { option (google.api.http) = { get: "/v3/{name=projects/*}/alertPolicies" }; @@ -65,6 +66,10 @@ service AlertPolicyService { } // Creates a new alerting policy. + // + // Design your application to single-thread API calls that modify the state of + // alerting policies in a single project. This includes calls to + // CreateAlertPolicy, DeleteAlertPolicy and UpdateAlertPolicy. rpc CreateAlertPolicy(CreateAlertPolicyRequest) returns (AlertPolicy) { option (google.api.http) = { post: "/v3/{name=projects/*}/alertPolicies" @@ -74,7 +79,12 @@ service AlertPolicyService { } // Deletes an alerting policy. - rpc DeleteAlertPolicy(DeleteAlertPolicyRequest) returns (google.protobuf.Empty) { + // + // Design your application to single-thread API calls that modify the state of + // alerting policies in a single project. This includes calls to + // CreateAlertPolicy, DeleteAlertPolicy and UpdateAlertPolicy. + rpc DeleteAlertPolicy(DeleteAlertPolicyRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v3/{name=projects/*/alertPolicies/*}" }; @@ -85,6 +95,10 @@ service AlertPolicyService { // a new one or replace only certain fields in the current alerting policy by // specifying the fields to be updated via `updateMask`. Returns the // updated alerting policy. + // + // Design your application to single-thread API calls that modify the state of + // alerting policies in a single project. This includes calls to + // CreateAlertPolicy, DeleteAlertPolicy and UpdateAlertPolicy. rpc UpdateAlertPolicy(UpdateAlertPolicyRequest) returns (AlertPolicy) { option (google.api.http) = { patch: "/v3/{alert_policy.name=projects/*/alertPolicies/*}" @@ -96,8 +110,9 @@ service AlertPolicyService { // The protocol for the `CreateAlertPolicy` request. message CreateAlertPolicyRequest { - // Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) in - // which to create the alerting policy. The format is: + // Required. The + // [project](https://cloud.google.com/monitoring/api/v3#project_name) in which + // to create the alerting policy. The format is: // // projects/[PROJECT_ID_OR_NUMBER] // @@ -115,9 +130,9 @@ message CreateAlertPolicyRequest { } ]; - // Required. The requested alerting policy. You should omit the `name` field in this - // policy. The name will be returned in the new policy, including - // a new `[ALERT_POLICY_ID]` value. + // Required. The requested alerting policy. You should omit the `name` field + // in this policy. The name will be returned in the new policy, including a + // new `[ALERT_POLICY_ID]` value. AlertPolicy alert_policy = 2 [(google.api.field_behavior) = REQUIRED]; } @@ -136,8 +151,9 @@ message GetAlertPolicyRequest { // The protocol for the `ListAlertPolicies` request. message ListAlertPoliciesRequest { - // Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) - // whose alert policies are to be listed. The format is: + // Required. The + // [project](https://cloud.google.com/monitoring/api/v3#project_name) whose + // alert policies are to be listed. The format is: // // projects/[PROJECT_ID_OR_NUMBER] // diff --git a/third_party/googleapis/google/monitoring/v3/common.proto b/third_party/googleapis/google/monitoring/v3/common.proto index d603cab77..62a189b81 100644 --- a/third_party/googleapis/google/monitoring/v3/common.proto +++ b/third_party/googleapis/google/monitoring/v3/common.proto @@ -21,7 +21,7 @@ import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Monitoring.V3"; -option go_package = "google.golang.org/genproto/googleapis/monitoring/v3;monitoring"; +option go_package = "cloud.google.com/go/monitoring/apiv3/v2/monitoringpb;monitoringpb"; option java_multiple_files = true; option java_outer_classname = "CommonProto"; option java_package = "com.google.monitoring.v3"; diff --git a/third_party/googleapis/google/monitoring/v3/dropped_labels.proto b/third_party/googleapis/google/monitoring/v3/dropped_labels.proto index 16e213c4a..6c176698a 100644 --- a/third_party/googleapis/google/monitoring/v3/dropped_labels.proto +++ b/third_party/googleapis/google/monitoring/v3/dropped_labels.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.monitoring.v3; option csharp_namespace = "Google.Cloud.Monitoring.V3"; -option go_package = "google.golang.org/genproto/googleapis/monitoring/v3;monitoring"; +option go_package = "cloud.google.com/go/monitoring/apiv3/v2/monitoringpb;monitoringpb"; option java_multiple_files = true; option java_outer_classname = "DroppedLabelsProto"; option java_package = "com.google.monitoring.v3"; diff --git a/third_party/googleapis/google/monitoring/v3/group.proto b/third_party/googleapis/google/monitoring/v3/group.proto index a414cc852..ee7a3004c 100644 --- a/third_party/googleapis/google/monitoring/v3/group.proto +++ b/third_party/googleapis/google/monitoring/v3/group.proto @@ -19,7 +19,7 @@ package google.monitoring.v3; import "google/api/resource.proto"; option csharp_namespace = "Google.Cloud.Monitoring.V3"; -option go_package = "google.golang.org/genproto/googleapis/monitoring/v3;monitoring"; +option go_package = "cloud.google.com/go/monitoring/apiv3/v2/monitoringpb;monitoringpb"; option java_multiple_files = true; option java_outer_classname = "GroupProto"; option java_package = "com.google.monitoring.v3"; diff --git a/third_party/googleapis/google/monitoring/v3/group_service.proto b/third_party/googleapis/google/monitoring/v3/group_service.proto index 50914530f..ebe1bd9d1 100644 --- a/third_party/googleapis/google/monitoring/v3/group_service.proto +++ b/third_party/googleapis/google/monitoring/v3/group_service.proto @@ -26,7 +26,7 @@ import "google/monitoring/v3/group.proto"; import "google/protobuf/empty.proto"; option csharp_namespace = "Google.Cloud.Monitoring.V3"; -option go_package = "google.golang.org/genproto/googleapis/monitoring/v3;monitoring"; +option go_package = "cloud.google.com/go/monitoring/apiv3/v2/monitoringpb;monitoringpb"; option java_multiple_files = true; option java_outer_classname = "GroupServiceProto"; option java_package = "com.google.monitoring.v3"; diff --git a/third_party/googleapis/google/monitoring/v3/metric.proto b/third_party/googleapis/google/monitoring/v3/metric.proto index e09e579e3..ba55255be 100644 --- a/third_party/googleapis/google/monitoring/v3/metric.proto +++ b/third_party/googleapis/google/monitoring/v3/metric.proto @@ -22,7 +22,7 @@ import "google/api/monitored_resource.proto"; import "google/monitoring/v3/common.proto"; option csharp_namespace = "Google.Cloud.Monitoring.V3"; -option go_package = "google.golang.org/genproto/googleapis/monitoring/v3;monitoring"; +option go_package = "cloud.google.com/go/monitoring/apiv3/v2/monitoringpb;monitoringpb"; option java_multiple_files = true; option java_outer_classname = "MetricProto"; option java_package = "com.google.monitoring.v3"; diff --git a/third_party/googleapis/google/monitoring/v3/metric_service.proto b/third_party/googleapis/google/monitoring/v3/metric_service.proto index 5dd11d3e8..edea2b532 100644 --- a/third_party/googleapis/google/monitoring/v3/metric_service.proto +++ b/third_party/googleapis/google/monitoring/v3/metric_service.proto @@ -28,7 +28,7 @@ import "google/protobuf/empty.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.Monitoring.V3"; -option go_package = "google.golang.org/genproto/googleapis/monitoring/v3;monitoring"; +option go_package = "cloud.google.com/go/monitoring/apiv3/v2/monitoringpb;monitoringpb"; option java_multiple_files = true; option java_outer_classname = "MetricServiceProto"; option java_package = "com.google.monitoring.v3"; diff --git a/third_party/googleapis/google/monitoring/v3/mutation_record.proto b/third_party/googleapis/google/monitoring/v3/mutation_record.proto index 77c2d5c2b..bfad65ff4 100644 --- a/third_party/googleapis/google/monitoring/v3/mutation_record.proto +++ b/third_party/googleapis/google/monitoring/v3/mutation_record.proto @@ -19,7 +19,7 @@ package google.monitoring.v3; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Monitoring.V3"; -option go_package = "google.golang.org/genproto/googleapis/monitoring/v3;monitoring"; +option go_package = "cloud.google.com/go/monitoring/apiv3/v2/monitoringpb;monitoringpb"; option java_multiple_files = true; option java_outer_classname = "MutationRecordProto"; option java_package = "com.google.monitoring.v3"; diff --git a/third_party/googleapis/google/monitoring/v3/notification.proto b/third_party/googleapis/google/monitoring/v3/notification.proto index 74ea3a15f..67df55bad 100644 --- a/third_party/googleapis/google/monitoring/v3/notification.proto +++ b/third_party/googleapis/google/monitoring/v3/notification.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -24,7 +24,7 @@ import "google/monitoring/v3/mutation_record.proto"; import "google/protobuf/wrappers.proto"; option csharp_namespace = "Google.Cloud.Monitoring.V3"; -option go_package = "google.golang.org/genproto/googleapis/monitoring/v3;monitoring"; +option go_package = "cloud.google.com/go/monitoring/apiv3/v2/monitoringpb;monitoringpb"; option java_multiple_files = true; option java_outer_classname = "NotificationProto"; option java_package = "com.google.monitoring.v3"; @@ -118,7 +118,9 @@ message NotificationChannel { } // The type of the notification channel. This field matches the - // value of the [NotificationChannelDescriptor.type][google.monitoring.v3.NotificationChannelDescriptor.type] field. + // value of the + // [NotificationChannelDescriptor.type][google.monitoring.v3.NotificationChannelDescriptor.type] + // field. string type = 1; // The full REST resource name for this channel. The format is: @@ -141,8 +143,8 @@ message NotificationChannel { // Configuration fields that define the channel and its behavior. The // permissible and required labels are specified in the - // [NotificationChannelDescriptor.labels][google.monitoring.v3.NotificationChannelDescriptor.labels] of the - // `NotificationChannelDescriptor` corresponding to the `type` field. + // [NotificationChannelDescriptor.labels][google.monitoring.v3.NotificationChannelDescriptor.labels] + // of the `NotificationChannelDescriptor` corresponding to the `type` field. map labels = 5; // User-supplied key/value data that does not need to conform to diff --git a/third_party/googleapis/google/monitoring/v3/notification_service.proto b/third_party/googleapis/google/monitoring/v3/notification_service.proto index 986092720..8b14dcf41 100644 --- a/third_party/googleapis/google/monitoring/v3/notification_service.proto +++ b/third_party/googleapis/google/monitoring/v3/notification_service.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -26,7 +26,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Monitoring.V3"; -option go_package = "google.golang.org/genproto/googleapis/monitoring/v3;monitoring"; +option go_package = "cloud.google.com/go/monitoring/apiv3/v2/monitoringpb;monitoringpb"; option java_multiple_files = true; option java_outer_classname = "NotificationServiceProto"; option java_package = "com.google.monitoring.v3"; @@ -44,7 +44,9 @@ service NotificationChannelService { // Lists the descriptors for supported channel types. The use of descriptors // makes it possible for new channel types to be dynamically added. - rpc ListNotificationChannelDescriptors(ListNotificationChannelDescriptorsRequest) returns (ListNotificationChannelDescriptorsResponse) { + rpc ListNotificationChannelDescriptors( + ListNotificationChannelDescriptorsRequest) + returns (ListNotificationChannelDescriptorsResponse) { option (google.api.http) = { get: "/v3/{name=projects/*}/notificationChannelDescriptors" }; @@ -53,7 +55,8 @@ service NotificationChannelService { // Gets a single channel descriptor. The descriptor indicates which fields // are expected / permitted for a notification channel of the given type. - rpc GetNotificationChannelDescriptor(GetNotificationChannelDescriptorRequest) returns (NotificationChannelDescriptor) { + rpc GetNotificationChannelDescriptor(GetNotificationChannelDescriptorRequest) + returns (NotificationChannelDescriptor) { option (google.api.http) = { get: "/v3/{name=projects/*/notificationChannelDescriptors/*}" }; @@ -61,7 +64,10 @@ service NotificationChannelService { } // Lists the notification channels that have been created for the project. - rpc ListNotificationChannels(ListNotificationChannelsRequest) returns (ListNotificationChannelsResponse) { + // To list the types of notification channels that are supported, use + // the `ListNotificationChannelDescriptors` method. + rpc ListNotificationChannels(ListNotificationChannelsRequest) + returns (ListNotificationChannelsResponse) { option (google.api.http) = { get: "/v3/{name=projects/*}/notificationChannels" }; @@ -73,7 +79,8 @@ service NotificationChannelService { // response may truncate or omit passwords, API keys, or other private key // matter and thus the response may not be 100% identical to the information // that was supplied in the call to the create method. - rpc GetNotificationChannel(GetNotificationChannelRequest) returns (NotificationChannel) { + rpc GetNotificationChannel(GetNotificationChannelRequest) + returns (NotificationChannel) { option (google.api.http) = { get: "/v3/{name=projects/*/notificationChannels/*}" }; @@ -82,7 +89,13 @@ service NotificationChannelService { // Creates a new notification channel, representing a single notification // endpoint such as an email address, SMS number, or PagerDuty service. - rpc CreateNotificationChannel(CreateNotificationChannelRequest) returns (NotificationChannel) { + // + // Design your application to single-thread API calls that modify the state of + // notification channels in a single project. This includes calls to + // CreateNotificationChannel, DeleteNotificationChannel and + // UpdateNotificationChannel. + rpc CreateNotificationChannel(CreateNotificationChannelRequest) + returns (NotificationChannel) { option (google.api.http) = { post: "/v3/{name=projects/*}/notificationChannels" body: "notification_channel" @@ -92,7 +105,13 @@ service NotificationChannelService { // Updates a notification channel. Fields not specified in the field mask // remain unchanged. - rpc UpdateNotificationChannel(UpdateNotificationChannelRequest) returns (NotificationChannel) { + // + // Design your application to single-thread API calls that modify the state of + // notification channels in a single project. This includes calls to + // CreateNotificationChannel, DeleteNotificationChannel and + // UpdateNotificationChannel. + rpc UpdateNotificationChannel(UpdateNotificationChannelRequest) + returns (NotificationChannel) { option (google.api.http) = { patch: "/v3/{notification_channel.name=projects/*/notificationChannels/*}" body: "notification_channel" @@ -101,7 +120,13 @@ service NotificationChannelService { } // Deletes a notification channel. - rpc DeleteNotificationChannel(DeleteNotificationChannelRequest) returns (google.protobuf.Empty) { + // + // Design your application to single-thread API calls that modify the state of + // notification channels in a single project. This includes calls to + // CreateNotificationChannel, DeleteNotificationChannel and + // UpdateNotificationChannel. + rpc DeleteNotificationChannel(DeleteNotificationChannelRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v3/{name=projects/*/notificationChannels/*}" }; @@ -110,7 +135,9 @@ service NotificationChannelService { // Causes a verification code to be delivered to the channel. The code // can then be supplied in `VerifyNotificationChannel` to verify the channel. - rpc SendNotificationChannelVerificationCode(SendNotificationChannelVerificationCodeRequest) returns (google.protobuf.Empty) { + rpc SendNotificationChannelVerificationCode( + SendNotificationChannelVerificationCodeRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { post: "/v3/{name=projects/*/notificationChannels/*}:sendVerificationCode" body: "*" @@ -139,7 +166,9 @@ service NotificationChannelService { // have a shorter expiration (e.g. codes such as "G-123456") whereas // GetVerificationCode() will typically return a much longer, websafe base // 64 encoded string that has a longer expiration time. - rpc GetNotificationChannelVerificationCode(GetNotificationChannelVerificationCodeRequest) returns (GetNotificationChannelVerificationCodeResponse) { + rpc GetNotificationChannelVerificationCode( + GetNotificationChannelVerificationCodeRequest) + returns (GetNotificationChannelVerificationCodeResponse) { option (google.api.http) = { post: "/v3/{name=projects/*/notificationChannels/*}:getVerificationCode" body: "*" @@ -150,7 +179,8 @@ service NotificationChannelService { // Verifies a `NotificationChannel` by proving receipt of the code // delivered to the channel as a result of calling // `SendNotificationChannelVerificationCode`. - rpc VerifyNotificationChannel(VerifyNotificationChannelRequest) returns (NotificationChannel) { + rpc VerifyNotificationChannel(VerifyNotificationChannelRequest) + returns (NotificationChannel) { option (google.api.http) = { post: "/v3/{name=projects/*/notificationChannels/*}:verify" body: "*" @@ -218,8 +248,9 @@ message GetNotificationChannelDescriptorRequest { // The `CreateNotificationChannel` request. message CreateNotificationChannelRequest { - // Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on - // which to execute the request. The format is: + // Required. The + // [project](https://cloud.google.com/monitoring/api/v3#project_name) on which + // to execute the request. The format is: // // projects/[PROJECT_ID_OR_NUMBER] // @@ -235,13 +266,15 @@ message CreateNotificationChannelRequest { ]; // Required. The definition of the `NotificationChannel` to create. - NotificationChannel notification_channel = 2 [(google.api.field_behavior) = REQUIRED]; + NotificationChannel notification_channel = 2 + [(google.api.field_behavior) = REQUIRED]; } // The `ListNotificationChannels` request. message ListNotificationChannelsRequest { - // Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on - // which to execute the request. The format is: + // Required. The + // [project](https://cloud.google.com/monitoring/api/v3#project_name) on which + // to execute the request. The format is: // // projects/[PROJECT_ID_OR_NUMBER] // @@ -322,7 +355,8 @@ message UpdateNotificationChannelRequest { // notification channel. The description must provide a definition for // fields to be updated; the names of these fields should also be // included in the `update_mask`. - NotificationChannel notification_channel = 3 [(google.api.field_behavior) = REQUIRED]; + NotificationChannel notification_channel = 3 + [(google.api.field_behavior) = REQUIRED]; } // The `DeleteNotificationChannel` request. @@ -357,9 +391,9 @@ message SendNotificationChannelVerificationCodeRequest { // The `GetNotificationChannelVerificationCode` request. message GetNotificationChannelVerificationCodeRequest { - // Required. The notification channel for which a verification code is to be generated - // and retrieved. This must name a channel that is already verified; if - // the specified channel is not verified, the request will fail. + // Required. The notification channel for which a verification code is to be + // generated and retrieved. This must name a channel that is already verified; + // if the specified channel is not verified, the request will fail. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { diff --git a/third_party/googleapis/google/monitoring/v3/query_service.proto b/third_party/googleapis/google/monitoring/v3/query_service.proto index eae40ff6b..5d45124d6 100644 --- a/third_party/googleapis/google/monitoring/v3/query_service.proto +++ b/third_party/googleapis/google/monitoring/v3/query_service.proto @@ -21,7 +21,7 @@ import "google/monitoring/v3/metric_service.proto"; import "google/api/client.proto"; option csharp_namespace = "Google.Cloud.Monitoring.V3"; -option go_package = "google.golang.org/genproto/googleapis/monitoring/v3;monitoring"; +option go_package = "cloud.google.com/go/monitoring/apiv3/v2/monitoringpb;monitoringpb"; option java_multiple_files = true; option java_outer_classname = "QueryServiceProto"; option java_package = "com.google.monitoring.v3"; diff --git a/third_party/googleapis/google/monitoring/v3/service.proto b/third_party/googleapis/google/monitoring/v3/service.proto index dd00f50f5..ff4dd0c4c 100644 --- a/third_party/googleapis/google/monitoring/v3/service.proto +++ b/third_party/googleapis/google/monitoring/v3/service.proto @@ -21,7 +21,7 @@ import "google/protobuf/duration.proto"; import "google/type/calendar_period.proto"; option csharp_namespace = "Google.Cloud.Monitoring.V3"; -option go_package = "google.golang.org/genproto/googleapis/monitoring/v3;monitoring"; +option go_package = "cloud.google.com/go/monitoring/apiv3/v2/monitoringpb;monitoringpb"; option java_multiple_files = true; option java_outer_classname = "ServiceMonitoringProto"; option java_package = "com.google.monitoring.v3"; diff --git a/third_party/googleapis/google/monitoring/v3/service_service.proto b/third_party/googleapis/google/monitoring/v3/service_service.proto index 17ac04a6e..bc55a48ff 100644 --- a/third_party/googleapis/google/monitoring/v3/service_service.proto +++ b/third_party/googleapis/google/monitoring/v3/service_service.proto @@ -25,7 +25,7 @@ import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.Monitoring.V3"; -option go_package = "google.golang.org/genproto/googleapis/monitoring/v3;monitoring"; +option go_package = "cloud.google.com/go/monitoring/apiv3/v2/monitoringpb;monitoringpb"; option java_multiple_files = true; option java_outer_classname = "ServiceMonitoringServiceProto"; option java_package = "com.google.monitoring.v3"; diff --git a/third_party/googleapis/google/monitoring/v3/snooze.proto b/third_party/googleapis/google/monitoring/v3/snooze.proto index a3e8d41ef..f20e1a0bd 100644 --- a/third_party/googleapis/google/monitoring/v3/snooze.proto +++ b/third_party/googleapis/google/monitoring/v3/snooze.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,7 +21,7 @@ import "google/api/resource.proto"; import "google/monitoring/v3/common.proto"; option csharp_namespace = "Google.Cloud.Monitoring.V3"; -option go_package = "google.golang.org/genproto/googleapis/monitoring/v3;monitoring"; +option go_package = "cloud.google.com/go/monitoring/apiv3/v2/monitoringpb;monitoringpb"; option java_multiple_files = true; option java_outer_classname = "SnoozeProto"; option java_package = "com.google.monitoring.v3"; @@ -47,7 +47,7 @@ message Snooze { // // projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[POLICY_ID] // - // There is a limit of 10 policies per snooze. This limit is checked during + // There is a limit of 16 policies per snooze. This limit is checked during // snooze creation. repeated string policies = 1 [(google.api.resource_reference) = { type: "monitoring.googleapis.com/AlertPolicy" diff --git a/third_party/googleapis/google/monitoring/v3/snooze_service.proto b/third_party/googleapis/google/monitoring/v3/snooze_service.proto index 64f48eba8..286551a5a 100644 --- a/third_party/googleapis/google/monitoring/v3/snooze_service.proto +++ b/third_party/googleapis/google/monitoring/v3/snooze_service.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -24,7 +24,7 @@ import "google/monitoring/v3/snooze.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.Monitoring.V3"; -option go_package = "google.golang.org/genproto/googleapis/monitoring/v3;monitoring"; +option go_package = "cloud.google.com/go/monitoring/apiv3/v2/monitoringpb;monitoringpb"; option java_multiple_files = true; option java_outer_classname = "SnoozeServiceProto"; option java_package = "com.google.monitoring.v3"; diff --git a/third_party/googleapis/google/monitoring/v3/span_context.proto b/third_party/googleapis/google/monitoring/v3/span_context.proto index 0d598579e..2488e5dad 100644 --- a/third_party/googleapis/google/monitoring/v3/span_context.proto +++ b/third_party/googleapis/google/monitoring/v3/span_context.proto @@ -17,7 +17,7 @@ syntax = "proto3"; package google.monitoring.v3; option csharp_namespace = "Google.Cloud.Monitoring.V3"; -option go_package = "google.golang.org/genproto/googleapis/monitoring/v3;monitoring"; +option go_package = "cloud.google.com/go/monitoring/apiv3/v2/monitoringpb;monitoringpb"; option java_multiple_files = true; option java_outer_classname = "SpanContextProto"; option java_package = "com.google.monitoring.v3"; diff --git a/third_party/googleapis/google/monitoring/v3/uptime.proto b/third_party/googleapis/google/monitoring/v3/uptime.proto index fb24e1494..81efb601c 100644 --- a/third_party/googleapis/google/monitoring/v3/uptime.proto +++ b/third_party/googleapis/google/monitoring/v3/uptime.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,12 +16,13 @@ syntax = "proto3"; package google.monitoring.v3; +import "google/api/field_behavior.proto"; import "google/api/monitored_resource.proto"; import "google/api/resource.proto"; import "google/protobuf/duration.proto"; option csharp_namespace = "Google.Cloud.Monitoring.V3"; -option go_package = "google.golang.org/genproto/googleapis/monitoring/v3;monitoring"; +option go_package = "cloud.google.com/go/monitoring/apiv3/v2/monitoringpb;monitoringpb"; option java_multiple_files = true; option java_outer_classname = "UptimeProto"; option java_package = "com.google.monitoring.v3"; @@ -59,13 +60,13 @@ message InternalChecker { // // projects/[PROJECT_ID_OR_NUMBER]/internalCheckers/[INTERNAL_CHECKER_ID] // - // `[PROJECT_ID_OR_NUMBER]` is the Stackdriver Workspace project for the - // Uptime check config associated with the internal checker. + // `[PROJECT_ID_OR_NUMBER]` is the Cloud Monitoring Metrics Scope project for + // the Uptime check config associated with the internal checker. string name = 1; // The checker's human-readable name. The display name - // should be unique within a Stackdriver Workspace in order to make it easier - // to identify; however, uniqueness is not enforced. + // should be unique within a Cloud Monitoring Metrics Scope in order to make + // it easier to identify; however, uniqueness is not enforced. string display_name = 2; // The [GCP VPC network](https://cloud.google.com/vpc/docs/vpc) where the @@ -77,34 +78,13 @@ message InternalChecker { string gcp_zone = 4; // The GCP project ID where the internal checker lives. Not necessary - // the same as the Workspace project. + // the same as the Metrics Scope project. string peer_project_id = 6; // The current operational state of the internal checker. State state = 7; } -// The regions from which an Uptime check can be run. -enum UptimeCheckRegion { - // Default value if no region is specified. Will result in Uptime checks - // running from all regions. - REGION_UNSPECIFIED = 0; - - // Allows checks to run from locations within the United States of America. - USA = 1; - - // Allows checks to run from locations within the continent of Europe. - EUROPE = 2; - - // Allows checks to run from locations within the continent of South - // America. - SOUTH_AMERICA = 3; - - // Allows checks to run from locations within the Asia Pacific area (ex: - // Singapore). - ASIA_PACIFIC = 4; -} - // This message configures which resources and services to monitor for // availability. message UptimeCheckConfig { @@ -128,20 +108,16 @@ message UptimeCheckConfig { GroupResourceType resource_type = 2; } + // Information involved in sending ICMP pings alongside public HTTP/TCP + // checks. For HTTP, the pings are performed for each part of the redirect + // chain. + message PingConfig { + // Number of ICMP pings. A maximum of 3 ICMP pings is currently supported. + int32 pings_count = 1; + } + // Information involved in an HTTP/HTTPS Uptime check request. message HttpCheck { - // The authentication parameters to provide to the specified resource or - // URL that requires a username and password. Currently, only - // [Basic HTTP authentication](https://tools.ietf.org/html/rfc7617) is - // supported in Uptime checks. - message BasicAuthentication { - // The username to use when authenticating with the HTTP server. - string username = 1; - - // The password to use when authenticating with the HTTP server. - string password = 2; - } - // The HTTP request method options. enum RequestMethod { // No request method specified. @@ -154,6 +130,18 @@ message UptimeCheckConfig { POST = 2; } + // The authentication parameters to provide to the specified resource or + // URL that requires a username and password. Currently, only + // [Basic HTTP authentication](https://tools.ietf.org/html/rfc7617) is + // supported in Uptime checks. + message BasicAuthentication { + // The username to use when authenticating with the HTTP server. + string username = 1; + + // The password to use when authenticating with the HTTP server. + string password = 2; + } + // Header options corresponding to the content type of a HTTP request body. enum ContentType { // No content type specified. @@ -162,6 +150,48 @@ message UptimeCheckConfig { // `body` is in URL-encoded form. Equivalent to setting the `Content-Type` // to `application/x-www-form-urlencoded` in the HTTP request. URL_ENCODED = 1; + + // `body` is in `custom_content_type` form. Equivalent to setting the + // `Content-Type` to the contents of `custom_content_type` in the HTTP + // request. + USER_PROVIDED = 2; + } + + // A status to accept. Either a status code class like "2xx", or an integer + // status code like "200". + message ResponseStatusCode { + // An HTTP status code class. + enum StatusClass { + // Default value that matches no status codes. + STATUS_CLASS_UNSPECIFIED = 0; + + // The class of status codes between 100 and 199. + STATUS_CLASS_1XX = 100; + + // The class of status codes between 200 and 299. + STATUS_CLASS_2XX = 200; + + // The class of status codes between 300 and 399. + STATUS_CLASS_3XX = 300; + + // The class of status codes between 400 and 499. + STATUS_CLASS_4XX = 400; + + // The class of status codes between 500 and 599. + STATUS_CLASS_5XX = 500; + + // The class of all status codes. + STATUS_CLASS_ANY = 1000; + } + + // Either a specific value or a class of status codes. + oneof status_code { + // A status code to accept. + int32 status_value = 1; + + // A class of status codes to accept. + StatusClass status_class = 2; + } } // The HTTP request method to use for the check. If set to @@ -216,6 +246,14 @@ message UptimeCheckConfig { // `headers` field. The `content_type` field should be used instead. ContentType content_type = 9; + // A user provided content type header to use for the check. The invalid + // configurations outlined in the `content_type` field apply to + // `custom_content_type`, as well as the following: + // 1. `content_type` is `URL_ENCODED` and `custom_content_type` is set. + // 2. `content_type` is `USER_PROVIDED` and `custom_content_type` is not + // set. + string custom_content_type = 13; + // Boolean specifying whether to include SSL certificate validation as a // part of the Uptime check. Only applies to checks where // `monitored_resource` is set to `uptime_url`. If `use_ssl` is `false`, @@ -226,11 +264,20 @@ message UptimeCheckConfig { // is `URL_ENCODED`, the body passed in must be URL-encoded. Users can // provide a `Content-Length` header via the `headers` field or the API will // do so. If the `request_method` is `GET` and `body` is not empty, the API - // will return an error. The maximum byte size is 1 megabyte. Note: As with - // all `bytes` fields, JSON representations are base64 encoded. e.g.: - // "foo=bar" in URL-encoded form is "foo%3Dbar" and in base64 encoding is - // "Zm9vJTI1M0RiYXI=". + // will return an error. The maximum byte size is 1 megabyte. + // + // Note: If client libraries aren't used (which performs the conversion + // automatically) base64 encode your `body` data since the field is of + // `bytes` type. bytes body = 10; + + // If present, the check will only pass if the HTTP response status code is + // in this set of status codes. If empty, the HTTP status code will only + // pass if the HTTP status code is 200-299. + repeated ResponseStatusCode accepted_response_status_codes = 11; + + // Contains information needed to add pings to an HTTP check. + PingConfig ping_config = 12; } // Information required for a TCP Uptime check request. @@ -239,6 +286,9 @@ message UptimeCheckConfig { // combined with host (specified within the `monitored_resource`) to // construct the full URL. Required. int32 port = 1; + + // Contains information needed to add pings to a TCP check. + PingConfig ping_config = 2; } // Optional. Used to perform content matching. This allows matching based on @@ -264,7 +314,7 @@ message UptimeCheckConfig { // output does _NOT_ contain the `content` string. NOT_CONTAINS_STRING = 2; - // Selects regular-expression matching. The match succeeds of the output + // Selects regular-expression matching. The match succeeds if the output // matches the regular expression specified in the `content` string. // Regex matching is only supported for HTTP/HTTPS checks. MATCHES_REGEX = 3; @@ -274,15 +324,79 @@ message UptimeCheckConfig { // `content` string. Regex matching is only supported for HTTP/HTTPS // checks. NOT_MATCHES_REGEX = 4; + + // Selects JSONPath matching. See `JsonPathMatcher` for details on when + // the match succeeds. JSONPath matching is only supported for HTTP/HTTPS + // checks. + MATCHES_JSON_PATH = 5; + + // Selects JSONPath matching. See `JsonPathMatcher` for details on when + // the match succeeds. Succeeds when output does _NOT_ match as specified. + // JSONPath is only supported for HTTP/HTTPS checks. + NOT_MATCHES_JSON_PATH = 6; } - // String or regex content to match. Maximum 1024 bytes. An empty `content` - // string indicates no content matching is to be performed. + // Information needed to perform a JSONPath content match. + // Used for `ContentMatcherOption::MATCHES_JSON_PATH` and + // `ContentMatcherOption::NOT_MATCHES_JSON_PATH`. + message JsonPathMatcher { + // Options to perform JSONPath content matching. + enum JsonPathMatcherOption { + // No JSONPath matcher type specified (not valid). + JSON_PATH_MATCHER_OPTION_UNSPECIFIED = 0; + + // Selects 'exact string' matching. The match succeeds if the content at + // the `json_path` within the output is exactly the same as the + // `content` string. + EXACT_MATCH = 1; + + // Selects regular-expression matching. The match succeeds if the + // content at the `json_path` within the output matches the regular + // expression specified in the `content` string. + REGEX_MATCH = 2; + } + + // JSONPath within the response output pointing to the expected + // `ContentMatcher::content` to match against. + string json_path = 1; + + // The type of JSONPath match that will be applied to the JSON output + // (`ContentMatcher.content`) + JsonPathMatcherOption json_matcher = 2; + } + + // String, regex or JSON content to match. Maximum 1024 bytes. An empty + // `content` string indicates no content matching is to be performed. string content = 1; // The type of content matcher that will be applied to the server output, // compared to the `content` string when the check is run. ContentMatcherOption matcher = 2; + + // Certain `ContentMatcherOption` types require additional information. + // `MATCHES_JSON_PATH` or `NOT_MATCHES_JSON_PATH` require a + // `JsonPathMatcher`; not used for other options. + oneof additional_matcher_info { + // Matcher information for `MATCHES_JSON_PATH` and `NOT_MATCHES_JSON_PATH` + JsonPathMatcher json_path_matcher = 3; + } + } + + // What kind of checkers are available to be used by the check. + enum CheckerType { + // The default checker type. Currently converted to `STATIC_IP_CHECKERS` + // on creation, the default conversion behavior may change in the future. + CHECKER_TYPE_UNSPECIFIED = 0; + + // `STATIC_IP_CHECKERS` are used for uptime checks that perform egress + // across the public internet. `STATIC_IP_CHECKERS` use the static IP + // addresses returned by `ListUptimeCheckIps`. + STATIC_IP_CHECKERS = 1; + + // `VPC_CHECKERS` are used for uptime checks that perform egress using + // Service Directory and private network access. When using `VPC_CHECKERS`, + // the monitored resource type must be `servicedirectory_service`. + VPC_CHECKERS = 3; } // A unique resource name for this Uptime check configuration. The format is: @@ -298,8 +412,8 @@ message UptimeCheckConfig { string name = 1; // A human-friendly name for the Uptime check configuration. The display name - // should be unique within a Stackdriver Workspace in order to make it easier - // to identify; however, uniqueness is not enforced. Required. + // should be unique within a Cloud Monitoring Workspace in order to make it + // easier to identify; however, uniqueness is not enforced. Required. string display_name = 2; // The resource the check is checking. Required. @@ -314,6 +428,8 @@ message UptimeCheckConfig { // `aws_ec2_instance`, // `aws_elb_load_balancer` // `k8s_service` + // `servicedirectory_service` + // `cloud_run_revision` google.api.MonitoredResource monitored_resource = 3; // The group resource associated with the configuration. @@ -346,6 +462,9 @@ message UptimeCheckConfig { // content match is required as part of the/ Uptime check. repeated ContentMatcher content_matchers = 9; + // The type of checkers to use to execute the Uptime check. + CheckerType checker_type = 17; + // The list of regions from which the check will be run. // Some regions contain one location, and others contain more than one. // If this field is specified, enough regions must be provided to include a @@ -364,6 +483,15 @@ message UptimeCheckConfig { // InternalCheckers configured for the project that owns this // `UptimeCheckConfig`. repeated InternalChecker internal_checkers = 14 [deprecated = true]; + + // User-supplied key/value data to be used for organizing and + // identifying the `UptimeCheckConfig` objects. + // + // The field can contain up to 64 entries. Each key and value is limited to + // 63 Unicode characters or 128 bytes, whichever is smaller. Labels and + // values can contain only lowercase letters, numerals, underscores, and + // dashes. Keys must begin with a letter. + map user_labels = 20; } // Contains the region, location, and list of IP @@ -385,6 +513,39 @@ message UptimeCheckIp { string ip_address = 3; } +// The regions from which an Uptime check can be run. +enum UptimeCheckRegion { + // Default value if no region is specified. Will result in Uptime checks + // running from all regions. + REGION_UNSPECIFIED = 0; + + // Allows checks to run from locations within the United States of America. + USA = 1; + + // Allows checks to run from locations within the continent of Europe. + EUROPE = 2; + + // Allows checks to run from locations within the continent of South + // America. + SOUTH_AMERICA = 3; + + // Allows checks to run from locations within the Asia Pacific area (ex: + // Singapore). + ASIA_PACIFIC = 4; + + // Allows checks to run from locations within the western United States of + // America + USA_OREGON = 5; + + // Allows checks to run from locations within the central United States of + // America + USA_IOWA = 6; + + // Allows checks to run from locations within the eastern United States of + // America + USA_VIRGINIA = 7; +} + // The supported resource types that can be used as values of // `group_resource.resource_type`. // `INSTANCE` includes `gce_instance` and `aws_ec2_instance` resource types. diff --git a/third_party/googleapis/google/monitoring/v3/uptime_service.proto b/third_party/googleapis/google/monitoring/v3/uptime_service.proto index 6e5d99a9c..391441b01 100644 --- a/third_party/googleapis/google/monitoring/v3/uptime_service.proto +++ b/third_party/googleapis/google/monitoring/v3/uptime_service.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -25,7 +25,7 @@ import "google/protobuf/empty.proto"; import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.Monitoring.V3"; -option go_package = "google.golang.org/genproto/googleapis/monitoring/v3;monitoring"; +option go_package = "cloud.google.com/go/monitoring/apiv3/v2/monitoringpb;monitoringpb"; option java_multiple_files = true; option java_outer_classname = "UptimeServiceProto"; option java_package = "com.google.monitoring.v3"; @@ -33,13 +33,13 @@ option php_namespace = "Google\\Cloud\\Monitoring\\V3"; option ruby_package = "Google::Cloud::Monitoring::V3"; // The UptimeCheckService API is used to manage (list, create, delete, edit) -// Uptime check configurations in the Stackdriver Monitoring product. An Uptime +// Uptime check configurations in the Cloud Monitoring product. An Uptime // check is a piece of configuration that determines which resources and // services to monitor for availability. These configurations can also be -// configured interactively by navigating to the [Cloud Console] -// (http://console.cloud.google.com), selecting the appropriate project, -// clicking on "Monitoring" on the left-hand side to navigate to Stackdriver, -// and then clicking on "Uptime". +// configured interactively by navigating to the [Cloud console] +// (https://console.cloud.google.com), selecting the appropriate project, +// clicking on "Monitoring" on the left-hand side to navigate to Cloud +// Monitoring, and then clicking on "Uptime". service UptimeCheckService { option (google.api.default_host) = "monitoring.googleapis.com"; option (google.api.oauth_scopes) = @@ -123,6 +123,13 @@ message ListUptimeCheckConfigsRequest { } ]; + // If provided, this field specifies the criteria that must be met by + // uptime checks to be included in the response. + // + // For more details, see [Filtering + // syntax](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering#filter_syntax). + string filter = 2; + // The maximum number of results to return in a single response. The server // may further constrain the maximum number of results returned in a single // page. If the page_size is <=0, the server will decide the number of results @@ -196,7 +203,7 @@ message UpdateUptimeCheckConfigRequest { // the values for the set of fields mentioned in the `updateMask`. If an // `updateMask` has not been given, this Uptime check configuration replaces // the current configuration. If a field is mentioned in `updateMask` but - // the corresonding field is omitted in this partial Uptime check + // the corresponding field is omitted in this partial Uptime check // configuration, it has the effect of deleting/clearing the field from the // configuration on the server. // diff --git a/third_party/googleapis/google/networking/trafficdirector/type/BUILD.bazel b/third_party/googleapis/google/networking/trafficdirector/type/BUILD.bazel index 341a04ae3..df4bb5d89 100644 --- a/third_party/googleapis/google/networking/trafficdirector/type/BUILD.bazel +++ b/third_party/googleapis/google/networking/trafficdirector/type/BUILD.bazel @@ -87,7 +87,6 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -96,20 +95,9 @@ php_proto_library( deps = [":type_proto"], ) -php_grpc_library( - name = "type_php_grpc", - srcs = [":type_proto"], - deps = [":type_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) ############################################################################## # Ruby diff --git a/third_party/googleapis/google/partner/aistreams/v1alpha1/BUILD.bazel b/third_party/googleapis/google/partner/aistreams/v1alpha1/BUILD.bazel index 5090dce94..9c8c25b7d 100644 --- a/third_party/googleapis/google/partner/aistreams/v1alpha1/BUILD.bazel +++ b/third_party/googleapis/google/partner/aistreams/v1alpha1/BUILD.bazel @@ -24,7 +24,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -34,7 +33,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -90,12 +88,14 @@ java_gapic_library( srcs = [":aistreams_proto_with_info"], grpc_service_config = "aistreams_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "aistreams_v1alpha1.yaml", test_deps = [ ":aistreams_java_grpc", ], transport = "grpc+rest", deps = [ ":aistreams_java_proto", + "//google/api:api_java_proto", ], ) @@ -148,18 +148,12 @@ go_gapic_library( ], ) -go_test( - name = "aistreams_go_gapic_test", - srcs = [":aistreams_go_gapic_srcjar_test"], - embed = [":aistreams_go_gapic"], - importpath = "cloud.google.com/go/partner/aistreams/apiv1alpha1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-partner-aistreams-v1alpha1-go", deps = [ ":aistreams_go_gapic", + ":aistreams_go_gapic_srcjar-snippets.srcjar", ":aistreams_go_gapic_srcjar-test.srcjar", ":aistreams_go_proto", ], @@ -197,12 +191,6 @@ php_proto_library( deps = [":aistreams_proto"], ) -php_grpc_library( - name = "aistreams_php_grpc", - srcs = [":aistreams_proto"], - deps = [":aistreams_php_proto"], -) - php_gapic_library( name = "aistreams_php_gapic", srcs = [":aistreams_proto_with_info"], @@ -210,10 +198,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "aistreams_v1alpha1.yaml", transport = "grpc+rest", - deps = [ - ":aistreams_php_grpc", - ":aistreams_php_proto", - ], + deps = [":aistreams_php_proto"], ) # Open Source Packages @@ -221,7 +206,6 @@ php_gapic_assembly_pkg( name = "google-cloud-partner-aistreams-v1alpha1-php", deps = [ ":aistreams_php_gapic", - ":aistreams_php_grpc", ":aistreams_php_proto", ], ) @@ -264,6 +248,7 @@ ruby_cloud_gapic_library( grpc_service_config = "aistreams_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "aistreams_v1alpha1.yaml", + transport = "grpc+rest", deps = [ ":aistreams_ruby_grpc", ":aistreams_ruby_proto", diff --git a/third_party/googleapis/google/privacy/dlp/BUILD.bazel b/third_party/googleapis/google/privacy/dlp/BUILD.bazel index 234e2efd9..0afa6d2f1 100644 --- a/third_party/googleapis/google/privacy/dlp/BUILD.bazel +++ b/third_party/googleapis/google/privacy/dlp/BUILD.bazel @@ -22,7 +22,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-dlp", "ruby-cloud-env-prefix=DLP", - "ruby-cloud-wrapper-of=v2:0.2", + "ruby-cloud-wrapper-of=v2:0.20", "ruby-cloud-product-url=https://cloud.google.com/dlp", "ruby-cloud-api-id=dlp.googleapis.com", "ruby-cloud-api-shortname=dlp", @@ -30,6 +30,7 @@ ruby_cloud_gapic_library( ], ruby_cloud_description = "Provides methods for detection of privacy-sensitive fragments in text, images, and Google Cloud Platform storage repositories.", ruby_cloud_title = "Cloud Data Loss Prevention (DLP)", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/privacy/dlp/v2/BUILD.bazel b/third_party/googleapis/google/privacy/dlp/v2/BUILD.bazel index 77fb220e5..9be30db8b 100644 --- a/third_party/googleapis/google/privacy/dlp/v2/BUILD.bazel +++ b/third_party/googleapis/google/privacy/dlp/v2/BUILD.bazel @@ -15,7 +15,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -25,7 +24,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -87,6 +85,7 @@ java_gapic_library( gapic_yaml = "dlp_gapic.yaml", grpc_service_config = "dlp_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "dlp_v2.yaml", test_deps = [ ":dlp_java_grpc", ], @@ -121,7 +120,7 @@ java_gapic_assembly_gradle_pkg( go_proto_library( name = "dlp_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/privacy/dlp/v2", + importpath = "cloud.google.com/go/dlp/apiv2/dlppb", protos = [":dlp_proto"], deps = [ "//google/api:annotations_go_proto", @@ -137,6 +136,7 @@ go_gapic_library( srcs = [":dlp_proto_with_info"], grpc_service_config = "dlp_grpc_service_config.json", importpath = "cloud.google.com/go/dlp/apiv2;dlp", + release_level = "ga", rest_numeric_enums = True, service_yaml = "dlp_v2.yaml", transport = "grpc+rest", @@ -146,18 +146,12 @@ go_gapic_library( ], ) -go_test( - name = "dlp_go_gapic_test", - srcs = [":dlp_go_gapic_srcjar_test"], - embed = [":dlp_go_gapic"], - importpath = "cloud.google.com/go/dlp/apiv2", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-privacy-dlp-v2-go", deps = [ ":dlp_go_gapic", + ":dlp_go_gapic_srcjar-snippets.srcjar", ":dlp_go_gapic_srcjar-test.srcjar", ":dlp_go_proto", ], @@ -195,23 +189,15 @@ php_proto_library( deps = [":dlp_proto"], ) -php_grpc_library( - name = "dlp_php_grpc", - srcs = [":dlp_proto"], - deps = [":dlp_php_proto"], -) - php_gapic_library( name = "dlp_php_gapic", srcs = [":dlp_proto_with_info"], grpc_service_config = "dlp_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "dlp_v2.yaml", transport = "grpc+rest", - deps = [ - ":dlp_php_grpc", - ":dlp_php_proto", - ], + deps = [":dlp_php_proto"], ) # Open Source Packages @@ -219,7 +205,6 @@ php_gapic_assembly_pkg( name = "google-cloud-privacy-dlp-v2-php", deps = [ ":dlp_php_gapic", - ":dlp_php_grpc", ":dlp_php_proto", ], ) @@ -271,6 +256,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Provides methods for detection of privacy-sensitive fragments in text, images, and Google Cloud Platform storage repositories.", ruby_cloud_title = "Cloud Data Loss Prevention (DLP) V2", service_yaml = "dlp_v2.yaml", + transport = "grpc+rest", deps = [ ":dlp_ruby_grpc", ":dlp_ruby_proto", diff --git a/third_party/googleapis/google/privacy/dlp/v2/dlp.proto b/third_party/googleapis/google/privacy/dlp/v2/dlp.proto index c11a1f1d4..3f1a1f667 100644 --- a/third_party/googleapis/google/privacy/dlp/v2/dlp.proto +++ b/third_party/googleapis/google/privacy/dlp/v2/dlp.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -31,7 +31,7 @@ import "google/type/dayofweek.proto"; import "google/type/timeofday.proto"; option csharp_namespace = "Google.Cloud.Dlp.V2"; -option go_package = "google.golang.org/genproto/googleapis/privacy/dlp/v2;dlp"; +option go_package = "cloud.google.com/go/dlp/apiv2/dlppb;dlppb"; option java_multiple_files = true; option java_outer_classname = "DlpProto"; option java_package = "com.google.privacy.dlp.v2"; @@ -58,7 +58,8 @@ option (google.api.resource_definition) = { // https://cloud.google.com/dlp/docs/. service DlpService { option (google.api.default_host) = "dlp.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Finds potentially sensitive info in content. // This method has limits on input size, processing time, and output size. @@ -107,7 +108,8 @@ service DlpService { // When no InfoTypes or CustomInfoTypes are specified in this request, the // system will automatically choose what detectors to run. By default this may // be all types, but may change over time as detectors are updated. - rpc DeidentifyContent(DeidentifyContentRequest) returns (DeidentifyContentResponse) { + rpc DeidentifyContent(DeidentifyContentRequest) + returns (DeidentifyContentResponse) { option (google.api.http) = { post: "/v2/{parent=projects/*}/content:deidentify" body: "*" @@ -122,7 +124,8 @@ service DlpService { // See // https://cloud.google.com/dlp/docs/pseudonymization#re-identification_in_free_text_code_example // to learn more. - rpc ReidentifyContent(ReidentifyContentRequest) returns (ReidentifyContentResponse) { + rpc ReidentifyContent(ReidentifyContentRequest) + returns (ReidentifyContentResponse) { option (google.api.http) = { post: "/v2/{parent=projects/*}/content:reidentify" body: "*" @@ -139,9 +142,7 @@ service DlpService { rpc ListInfoTypes(ListInfoTypesRequest) returns (ListInfoTypesResponse) { option (google.api.http) = { get: "/v2/infoTypes" - additional_bindings { - get: "/v2/{parent=locations/*}/infoTypes" - } + additional_bindings { get: "/v2/{parent=locations/*}/infoTypes" } }; option (google.api.method_signature) = "parent"; } @@ -149,7 +150,8 @@ service DlpService { // Creates an InspectTemplate for reusing frequently used configuration // for inspecting content, images, and storage. // See https://cloud.google.com/dlp/docs/creating-templates to learn more. - rpc CreateInspectTemplate(CreateInspectTemplateRequest) returns (InspectTemplate) { + rpc CreateInspectTemplate(CreateInspectTemplateRequest) + returns (InspectTemplate) { option (google.api.http) = { post: "/v2/{parent=organizations/*}/inspectTemplates" body: "*" @@ -171,7 +173,8 @@ service DlpService { // Updates the InspectTemplate. // See https://cloud.google.com/dlp/docs/creating-templates to learn more. - rpc UpdateInspectTemplate(UpdateInspectTemplateRequest) returns (InspectTemplate) { + rpc UpdateInspectTemplate(UpdateInspectTemplateRequest) + returns (InspectTemplate) { option (google.api.http) = { patch: "/v2/{name=organizations/*/inspectTemplates/*}" body: "*" @@ -199,9 +202,7 @@ service DlpService { additional_bindings { get: "/v2/{name=organizations/*/locations/*/inspectTemplates/*}" } - additional_bindings { - get: "/v2/{name=projects/*/inspectTemplates/*}" - } + additional_bindings { get: "/v2/{name=projects/*/inspectTemplates/*}" } additional_bindings { get: "/v2/{name=projects/*/locations/*/inspectTemplates/*}" } @@ -211,15 +212,14 @@ service DlpService { // Lists InspectTemplates. // See https://cloud.google.com/dlp/docs/creating-templates to learn more. - rpc ListInspectTemplates(ListInspectTemplatesRequest) returns (ListInspectTemplatesResponse) { + rpc ListInspectTemplates(ListInspectTemplatesRequest) + returns (ListInspectTemplatesResponse) { option (google.api.http) = { get: "/v2/{parent=organizations/*}/inspectTemplates" additional_bindings { get: "/v2/{parent=organizations/*/locations/*}/inspectTemplates" } - additional_bindings { - get: "/v2/{parent=projects/*}/inspectTemplates" - } + additional_bindings { get: "/v2/{parent=projects/*}/inspectTemplates" } additional_bindings { get: "/v2/{parent=projects/*/locations/*}/inspectTemplates" } @@ -229,15 +229,14 @@ service DlpService { // Deletes an InspectTemplate. // See https://cloud.google.com/dlp/docs/creating-templates to learn more. - rpc DeleteInspectTemplate(DeleteInspectTemplateRequest) returns (google.protobuf.Empty) { + rpc DeleteInspectTemplate(DeleteInspectTemplateRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v2/{name=organizations/*/inspectTemplates/*}" additional_bindings { delete: "/v2/{name=organizations/*/locations/*/inspectTemplates/*}" } - additional_bindings { - delete: "/v2/{name=projects/*/inspectTemplates/*}" - } + additional_bindings { delete: "/v2/{name=projects/*/inspectTemplates/*}" } additional_bindings { delete: "/v2/{name=projects/*/locations/*/inspectTemplates/*}" } @@ -249,7 +248,8 @@ service DlpService { // for de-identifying content, images, and storage. // See https://cloud.google.com/dlp/docs/creating-templates-deid to learn // more. - rpc CreateDeidentifyTemplate(CreateDeidentifyTemplateRequest) returns (DeidentifyTemplate) { + rpc CreateDeidentifyTemplate(CreateDeidentifyTemplateRequest) + returns (DeidentifyTemplate) { option (google.api.http) = { post: "/v2/{parent=organizations/*}/deidentifyTemplates" body: "*" @@ -272,7 +272,8 @@ service DlpService { // Updates the DeidentifyTemplate. // See https://cloud.google.com/dlp/docs/creating-templates-deid to learn // more. - rpc UpdateDeidentifyTemplate(UpdateDeidentifyTemplateRequest) returns (DeidentifyTemplate) { + rpc UpdateDeidentifyTemplate(UpdateDeidentifyTemplateRequest) + returns (DeidentifyTemplate) { option (google.api.http) = { patch: "/v2/{name=organizations/*/deidentifyTemplates/*}" body: "*" @@ -289,21 +290,21 @@ service DlpService { body: "*" } }; - option (google.api.method_signature) = "name,deidentify_template,update_mask"; + option (google.api.method_signature) = + "name,deidentify_template,update_mask"; } // Gets a DeidentifyTemplate. // See https://cloud.google.com/dlp/docs/creating-templates-deid to learn // more. - rpc GetDeidentifyTemplate(GetDeidentifyTemplateRequest) returns (DeidentifyTemplate) { + rpc GetDeidentifyTemplate(GetDeidentifyTemplateRequest) + returns (DeidentifyTemplate) { option (google.api.http) = { get: "/v2/{name=organizations/*/deidentifyTemplates/*}" additional_bindings { get: "/v2/{name=organizations/*/locations/*/deidentifyTemplates/*}" } - additional_bindings { - get: "/v2/{name=projects/*/deidentifyTemplates/*}" - } + additional_bindings { get: "/v2/{name=projects/*/deidentifyTemplates/*}" } additional_bindings { get: "/v2/{name=projects/*/locations/*/deidentifyTemplates/*}" } @@ -314,15 +315,14 @@ service DlpService { // Lists DeidentifyTemplates. // See https://cloud.google.com/dlp/docs/creating-templates-deid to learn // more. - rpc ListDeidentifyTemplates(ListDeidentifyTemplatesRequest) returns (ListDeidentifyTemplatesResponse) { + rpc ListDeidentifyTemplates(ListDeidentifyTemplatesRequest) + returns (ListDeidentifyTemplatesResponse) { option (google.api.http) = { get: "/v2/{parent=organizations/*}/deidentifyTemplates" additional_bindings { get: "/v2/{parent=organizations/*/locations/*}/deidentifyTemplates" } - additional_bindings { - get: "/v2/{parent=projects/*}/deidentifyTemplates" - } + additional_bindings { get: "/v2/{parent=projects/*}/deidentifyTemplates" } additional_bindings { get: "/v2/{parent=projects/*/locations/*}/deidentifyTemplates" } @@ -333,7 +333,8 @@ service DlpService { // Deletes a DeidentifyTemplate. // See https://cloud.google.com/dlp/docs/creating-templates-deid to learn // more. - rpc DeleteDeidentifyTemplate(DeleteDeidentifyTemplateRequest) returns (google.protobuf.Empty) { + rpc DeleteDeidentifyTemplate(DeleteDeidentifyTemplateRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v2/{name=organizations/*/deidentifyTemplates/*}" additional_bindings { @@ -389,7 +390,8 @@ service DlpService { // Inspect hybrid content and store findings to a trigger. The inspection // will be processed asynchronously. To review the findings monitor the // jobs within the trigger. - rpc HybridInspectJobTrigger(HybridInspectJobTriggerRequest) returns (HybridInspectResponse) { + rpc HybridInspectJobTrigger(HybridInspectJobTriggerRequest) + returns (HybridInspectResponse) { option (google.api.http) = { post: "/v2/{name=projects/*/locations/*/jobTriggers/*}:hybridInspect" body: "*" @@ -414,7 +416,8 @@ service DlpService { // Lists job triggers. // See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. - rpc ListJobTriggers(ListJobTriggersRequest) returns (ListJobTriggersResponse) { + rpc ListJobTriggers(ListJobTriggersRequest) + returns (ListJobTriggersResponse) { option (google.api.http) = { get: "/v2/{parent=projects/*}/jobTriggers" additional_bindings { @@ -429,7 +432,8 @@ service DlpService { // Deletes a job trigger. // See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. - rpc DeleteJobTrigger(DeleteJobTriggerRequest) returns (google.protobuf.Empty) { + rpc DeleteJobTrigger(DeleteJobTriggerRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v2/{name=projects/*/jobTriggers/*}" additional_bindings { @@ -455,6 +459,69 @@ service DlpService { }; } + // Creates a config for discovery to scan and profile storage. + rpc CreateDiscoveryConfig(CreateDiscoveryConfigRequest) + returns (DiscoveryConfig) { + option (google.api.http) = { + post: "/v2/{parent=projects/*/locations/*}/discoveryConfigs" + body: "*" + additional_bindings { + post: "/v2/{parent=organizations/*/locations/*}/discoveryConfigs" + body: "*" + } + }; + option (google.api.method_signature) = "parent,discovery_config"; + } + + // Updates a discovery configuration. + rpc UpdateDiscoveryConfig(UpdateDiscoveryConfigRequest) + returns (DiscoveryConfig) { + option (google.api.http) = { + patch: "/v2/{name=projects/*/locations/*/discoveryConfigs/*}" + body: "*" + additional_bindings { + patch: "/v2/{name=organizations/*/locations/*/discoveryConfigs/*}" + body: "*" + } + }; + option (google.api.method_signature) = "name,discovery_config,update_mask"; + } + + // Gets a discovery configuration. + rpc GetDiscoveryConfig(GetDiscoveryConfigRequest) returns (DiscoveryConfig) { + option (google.api.http) = { + get: "/v2/{name=projects/*/locations/*/discoveryConfigs/*}" + additional_bindings { + get: "/v2/{name=organizations/*/locations/*/discoveryConfigs/*}" + } + }; + option (google.api.method_signature) = "name"; + } + + // Lists discovery configurations. + rpc ListDiscoveryConfigs(ListDiscoveryConfigsRequest) + returns (ListDiscoveryConfigsResponse) { + option (google.api.http) = { + get: "/v2/{parent=projects/*/locations/*}/discoveryConfigs" + additional_bindings { + get: "/v2/{parent=organizations/*/locations/*}/discoveryConfigs" + } + }; + option (google.api.method_signature) = "parent"; + } + + // Deletes a discovery configuration. + rpc DeleteDiscoveryConfig(DeleteDiscoveryConfigRequest) + returns (google.protobuf.Empty) { + option (google.api.http) = { + delete: "/v2/{name=projects/*/locations/*/discoveryConfigs/*}" + additional_bindings { + delete: "/v2/{name=organizations/*/locations/*/discoveryConfigs/*}" + } + }; + option (google.api.method_signature) = "name"; + } + // Creates a new job to inspect storage or calculate risk metrics. // See https://cloud.google.com/dlp/docs/inspecting-storage and // https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more. @@ -481,9 +548,7 @@ service DlpService { rpc ListDlpJobs(ListDlpJobsRequest) returns (ListDlpJobsResponse) { option (google.api.http) = { get: "/v2/{parent=projects/*}/dlpJobs" - additional_bindings { - get: "/v2/{parent=projects/*/locations/*}/dlpJobs" - } + additional_bindings { get: "/v2/{parent=projects/*/locations/*}/dlpJobs" } additional_bindings { get: "/v2/{parent=organizations/*/locations/*}/dlpJobs" } @@ -497,9 +562,7 @@ service DlpService { rpc GetDlpJob(GetDlpJobRequest) returns (DlpJob) { option (google.api.http) = { get: "/v2/{name=projects/*/dlpJobs/*}" - additional_bindings { - get: "/v2/{name=projects/*/locations/*/dlpJobs/*}" - } + additional_bindings { get: "/v2/{name=projects/*/locations/*/dlpJobs/*}" } }; option (google.api.method_signature) = "name"; } @@ -538,7 +601,8 @@ service DlpService { // Creates a pre-built stored infoType to be used for inspection. // See https://cloud.google.com/dlp/docs/creating-stored-infotypes to // learn more. - rpc CreateStoredInfoType(CreateStoredInfoTypeRequest) returns (StoredInfoType) { + rpc CreateStoredInfoType(CreateStoredInfoTypeRequest) + returns (StoredInfoType) { option (google.api.http) = { post: "/v2/{parent=organizations/*}/storedInfoTypes" body: "*" @@ -562,7 +626,8 @@ service DlpService { // will continue to be used until the new version is ready. // See https://cloud.google.com/dlp/docs/creating-stored-infotypes to // learn more. - rpc UpdateStoredInfoType(UpdateStoredInfoTypeRequest) returns (StoredInfoType) { + rpc UpdateStoredInfoType(UpdateStoredInfoTypeRequest) + returns (StoredInfoType) { option (google.api.http) = { patch: "/v2/{name=organizations/*/storedInfoTypes/*}" body: "*" @@ -591,9 +656,7 @@ service DlpService { additional_bindings { get: "/v2/{name=organizations/*/locations/*/storedInfoTypes/*}" } - additional_bindings { - get: "/v2/{name=projects/*/storedInfoTypes/*}" - } + additional_bindings { get: "/v2/{name=projects/*/storedInfoTypes/*}" } additional_bindings { get: "/v2/{name=projects/*/locations/*/storedInfoTypes/*}" } @@ -604,15 +667,14 @@ service DlpService { // Lists stored infoTypes. // See https://cloud.google.com/dlp/docs/creating-stored-infotypes to // learn more. - rpc ListStoredInfoTypes(ListStoredInfoTypesRequest) returns (ListStoredInfoTypesResponse) { + rpc ListStoredInfoTypes(ListStoredInfoTypesRequest) + returns (ListStoredInfoTypesResponse) { option (google.api.http) = { get: "/v2/{parent=organizations/*}/storedInfoTypes" additional_bindings { get: "/v2/{parent=organizations/*/locations/*}/storedInfoTypes" } - additional_bindings { - get: "/v2/{parent=projects/*}/storedInfoTypes" - } + additional_bindings { get: "/v2/{parent=projects/*}/storedInfoTypes" } additional_bindings { get: "/v2/{parent=projects/*/locations/*}/storedInfoTypes" } @@ -623,15 +685,14 @@ service DlpService { // Deletes a stored infoType. // See https://cloud.google.com/dlp/docs/creating-stored-infotypes to // learn more. - rpc DeleteStoredInfoType(DeleteStoredInfoTypeRequest) returns (google.protobuf.Empty) { + rpc DeleteStoredInfoType(DeleteStoredInfoTypeRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v2/{name=organizations/*/storedInfoTypes/*}" additional_bindings { delete: "/v2/{name=organizations/*/locations/*/storedInfoTypes/*}" } - additional_bindings { - delete: "/v2/{name=projects/*/storedInfoTypes/*}" - } + additional_bindings { delete: "/v2/{name=projects/*/storedInfoTypes/*}" } additional_bindings { delete: "/v2/{name=projects/*/locations/*/storedInfoTypes/*}" } @@ -642,7 +703,8 @@ service DlpService { // Inspect hybrid content and store findings to a job. // To review the findings, inspect the job. Inspection will occur // asynchronously. - rpc HybridInspectDlpJob(HybridInspectDlpJobRequest) returns (HybridInspectResponse) { + rpc HybridInspectDlpJob(HybridInspectDlpJobRequest) + returns (HybridInspectResponse) { option (google.api.http) = { post: "/v2/{name=projects/*/locations/*/dlpJobs/*}:hybridInspect" body: "*" @@ -675,7 +737,8 @@ message ExcludeInfoTypes { // The rule to exclude findings based on a hotword. For record inspection of // tables, column names are considered hotwords. An example of this is to -// exclude a finding if a BigQuery column matches a specific pattern. +// exclude a finding if it belongs to a BigQuery column that matches a specific +// pattern. message ExcludeByHotword { // Regular expression pattern defining what qualifies as a hotword. CustomInfoType.Regex hotword_regex = 1; @@ -737,6 +800,22 @@ message InspectionRuleSet { // When used with redactContent only info_types and min_likelihood are currently // used. message InspectConfig { + // Configuration for setting a minimum likelihood per infotype. Used to + // customize the minimum likelihood level for specific infotypes in the + // request. For example, use this if you want to lower the precision for + // PERSON_NAME without lowering the precision for the other infotypes in the + // request. + message InfoTypeLikelihood { + // Type of information the likelihood threshold applies to. Only one + // likelihood per info_type should be provided. If InfoTypeLikelihood does + // not have an info_type, the configuration fails. + InfoType info_type = 1; + + // Only returns findings equal to or above this threshold. This field is + // required or else the configuration fails. + Likelihood min_likelihood = 2; + } + // Configuration to control the number of findings returned for inspection. // This is not used for de-identification or data profiling. // @@ -759,15 +838,29 @@ message InspectConfig { int32 max_findings = 2; } - // Max number of findings that will be returned for each item scanned. - // When set within `InspectJobConfig`, - // the maximum returned is 2000 regardless if this is set higher. - // When set within `InspectContentRequest`, this field is ignored. + // Max number of findings that are returned for each item scanned. + // + // When set within an + // [InspectContentRequest][google.privacy.dlp.v2.InspectContentRequest], + // this field is ignored. + // + // This value isn't a hard limit. If the number of findings for an item + // reaches this limit, the inspection of that item ends gradually, not + // abruptly. Therefore, the actual number of findings that Cloud DLP returns + // for the item can be multiple times higher than this value. int32 max_findings_per_item = 1; - // Max number of findings that will be returned per request/job. - // When set within `InspectContentRequest`, the maximum returned is 2000 - // regardless if this is set higher. + // Max number of findings that are returned per request or job. + // + // If you set this field in an + // [InspectContentRequest][google.privacy.dlp.v2.InspectContentRequest], the + // resulting maximum value is the value that you set or 3,000, whichever is + // lower. + // + // This value isn't a hard limit. If an inspection reaches this limit, the + // inspection ends gradually, not abruptly. Therefore, the actual number of + // findings that Cloud DLP returns can be multiple times higher than this + // value. int32 max_findings_per_request = 2; // Configuration of findings limit given for specified infoTypes. @@ -779,19 +872,28 @@ message InspectConfig { // https://cloud.google.com/dlp/docs/infotypes-reference. // // When no InfoTypes or CustomInfoTypes are specified in a request, the - // system may automatically choose what detectors to run. By default this may - // be all types, but may change over time as detectors are updated. + // system may automatically choose a default list of detectors to run, which + // may change over time. // // If you need precise control and predictability as to what detectors are // run you should specify specific InfoTypes listed in the reference, // otherwise a default list will be used, which may change over time. repeated InfoType info_types = 1; - // Only returns findings equal or above this threshold. The default is + // Only returns findings equal to or above this threshold. The default is // POSSIBLE. - // See https://cloud.google.com/dlp/docs/likelihood to learn more. + // + // In general, the highest likelihood setting yields the fewest findings in + // results and the lowest chance of a false positive. For more information, + // see [Match likelihood](https://cloud.google.com/dlp/docs/likelihood). Likelihood min_likelihood = 2; + // Minimum likelihood per infotype. For each infotype, a user can specify a + // minimum likelihood. The system only returns a finding if its likelihood is + // above this threshold. If this field is not set, the system uses the + // InspectConfig min_likelihood. + repeated InfoTypeLikelihood min_likelihood_per_info_type = 11; + // Configuration to control the number of findings returned. // This is not used for data profiling. // @@ -800,11 +902,19 @@ message InspectConfig { // redacted. Don't include finding limits in // [RedactImage][google.privacy.dlp.v2.DlpService.RedactImage] // requests. Otherwise, Cloud DLP returns an error. + // + // When set within an + // [InspectJobConfig][google.privacy.dlp.v2.InspectJobConfig], the specified + // maximum values aren't hard limits. If an inspection job reaches these + // limits, the job ends gradually, not abruptly. Therefore, the actual number + // of findings that Cloud DLP returns can be multiple times higher than these + // maximum values. FindingLimits limits = 3; // When true, a contextual quote from the data that triggered a finding is - // included in the response; see [Finding.quote][google.privacy.dlp.v2.Finding.quote]. - // This is not used for data profiling. + // included in the response; see + // [Finding.quote][google.privacy.dlp.v2.Finding.quote]. This is not used for + // data profiling. bool include_quote = 4; // When true, excludes type information of the findings. @@ -965,14 +1075,13 @@ message Finding { QuoteInfo quote_info = 7; // The job that stored the finding. - string resource_name = 8 [(google.api.resource_reference) = { - type: "dlp.googleapis.com/DlpJob" - }]; + string resource_name = 8 + [(google.api.resource_reference) = { type: "dlp.googleapis.com/DlpJob" }]; // Job trigger name, if applicable, for this finding. - string trigger_name = 9 [(google.api.resource_reference) = { - type: "dlp.googleapis.com/JobTrigger" - }]; + string trigger_name = 9 [ + (google.api.resource_reference) = { type: "dlp.googleapis.com/JobTrigger" } + ]; // The labels associated with this `Finding`. // @@ -993,9 +1102,8 @@ message Finding { google.protobuf.Timestamp job_create_time = 11; // The job that stored the finding. - string job_name = 13 [(google.api.resource_reference) = { - type: "dlp.googleapis.com/DlpJob" - }]; + string job_name = 13 + [(google.api.resource_reference) = { type: "dlp.googleapis.com/DlpJob" }]; // The unique finding id. string finding_id = 15; @@ -1227,8 +1335,8 @@ message RedactImageRequest { // // parent=projects/example-project/locations/europe-west3 string parent = 1 [(google.api.resource_reference) = { - child_type: "dlp.googleapis.com/DlpContent" - }]; + child_type: "dlp.googleapis.com/DlpContent" + }]; // Deprecated. This field has no effect. string location_id = 8; @@ -1292,8 +1400,8 @@ message DeidentifyContentRequest { // // parent=projects/example-project/locations/europe-west3 string parent = 1 [(google.api.resource_reference) = { - child_type: "dlp.googleapis.com/DlpContent" - }]; + child_type: "dlp.googleapis.com/DlpContent" + }]; // Configuration for the de-identification of the content item. // Items specified here will override the template referenced by the @@ -1433,8 +1541,8 @@ message InspectContentRequest { // // parent=projects/example-project/locations/europe-west3 string parent = 1 [(google.api.resource_reference) = { - child_type: "dlp.googleapis.com/DlpContent" - }]; + child_type: "dlp.googleapis.com/DlpContent" + }]; // Configuration for the inspector. What specified here will override // the template referenced by the inspect_template_name argument. @@ -1561,6 +1669,18 @@ message InspectDataSourceDetails { Result result = 3; } +// The schema of data to be saved to the BigQuery table when the +// `DataProfileAction` is enabled. +message DataProfileBigQueryRowSchema { + oneof data_profile { + // Table data profile column + TableDataProfile table_profile = 1; + + // Column data profile column + ColumnDataProfile column_profile = 2; + } +} + // Statistics related to processing hybrid inspect requests. message HybridInspectStatistics { // The number of hybrid inspection requests processed within this job. @@ -1578,6 +1698,53 @@ message HybridInspectStatistics { int64 pending_count = 3; } +// The results of an [Action][google.privacy.dlp.v2.Action]. +message ActionDetails { + // Summary of what occurred in the actions. + oneof details { + // Outcome of a de-identification action. + DeidentifyDataSourceDetails deidentify_details = 1; + } +} + +// Summary of what was modified during a transformation. +message DeidentifyDataSourceStats { + // Total size in bytes that were transformed in some way. + int64 transformed_bytes = 1; + + // Number of successfully applied transformations. + int64 transformation_count = 2; + + // Number of errors encountered while trying to apply transformations. + int64 transformation_error_count = 3; +} + +// The results of a [Deidentify][google.privacy.dlp.v2.Action.Deidentify] action +// from an inspect job. +message DeidentifyDataSourceDetails { + // De-identification options. + message RequestedDeidentifyOptions { + // Snapshot of the state of the `DeidentifyTemplate` from the + // [Deidentify][google.privacy.dlp.v2.Action.Deidentify] action at the time + // this job was run. + DeidentifyTemplate snapshot_deidentify_template = 1; + + // Snapshot of the state of the structured `DeidentifyTemplate` from the + // `Deidentify` action at the time this job was run. + DeidentifyTemplate snapshot_structured_deidentify_template = 2; + + // Snapshot of the state of the image transformation `DeidentifyTemplate` + // from the `Deidentify` action at the time this job was run. + DeidentifyTemplate snapshot_image_redact_template = 3; + } + + // De-identification config used for the request. + RequestedDeidentifyOptions requested_options = 1; + + // Stats about the de-identification operation. + DeidentifyDataSourceStats deidentify_stats = 2; +} + // InfoType description. message InfoTypeDescription { // Internal name of the infoType. @@ -1598,6 +1765,9 @@ message InfoTypeDescription { // The category of the infoType. repeated InfoTypeCategory categories = 10; + + // The default sensitivity of the infoType. + SensitivityScore sensitivity_score = 11; } // Classification of infoTypes to organize them according to geographic @@ -1637,6 +1807,9 @@ message InfoTypeCategory { // The infoType is typically used in Colombia. COLOMBIA = 9; + // The infoType is typically used in Croatia. + CROATIA = 42; + // The infoType is typically used in Denmark. DENMARK = 10; @@ -1679,6 +1852,9 @@ message InfoTypeCategory { // The infoType is typically used in the Netherlands. THE_NETHERLANDS = 23; + // The infoType is typically used in New Zealand. + NEW_ZEALAND = 41; + // The infoType is typically used in Norway. NORWAY = 24; @@ -1706,6 +1882,9 @@ message InfoTypeCategory { // The infoType is typically used in Sweden. SWEDEN = 32; + // The infoType is typically used in Switzerland. + SWITZERLAND = 43; + // The infoType is typically used in Taiwan. TAIWAN = 33; @@ -1729,9 +1908,6 @@ message InfoTypeCategory { // The infoType is typically used in Google internally. INTERNAL = 40; - - // The infoType is typically used in New Zealand. - NEW_ZEALAND = 41; } // Enum of the current industries in the category. @@ -1897,10 +2073,11 @@ message StatisticalTable { BigQueryTable table = 3 [(google.api.field_behavior) = REQUIRED]; // Required. Quasi-identifier columns. - repeated QuasiIdentifierField quasi_ids = 1 [(google.api.field_behavior) = REQUIRED]; + repeated QuasiIdentifierField quasi_ids = 1 + [(google.api.field_behavior) = REQUIRED]; - // Required. The relative frequency column must contain a floating-point number - // between 0 and 1 (inclusive). Null values are assumed to be zero. + // Required. The relative frequency column must contain a floating-point + // number between 0 and 1 (inclusive). Null values are assumed to be zero. FieldId relative_frequency = 2 [(google.api.field_behavior) = REQUIRED]; } @@ -2013,15 +2190,16 @@ message PrivacyMetric { BigQueryTable table = 3 [(google.api.field_behavior) = REQUIRED]; // Required. Quasi-identifier columns. - repeated QuasiIdField quasi_ids = 1 [(google.api.field_behavior) = REQUIRED]; + repeated QuasiIdField quasi_ids = 1 + [(google.api.field_behavior) = REQUIRED]; - // Required. The relative frequency column must contain a floating-point number - // between 0 and 1 (inclusive). Null values are assumed to be zero. + // Required. The relative frequency column must contain a floating-point + // number between 0 and 1 (inclusive). Null values are assumed to be zero. FieldId relative_frequency = 2 [(google.api.field_behavior) = REQUIRED]; } - // Required. Fields considered to be quasi-identifiers. No two columns can have the - // same tag. + // Required. Fields considered to be quasi-identifiers. No two columns can + // have the same tag. repeated TaggedField quasi_ids = 1 [(google.api.field_behavior) = REQUIRED]; // ISO 3166-1 alpha-2 region code to use in the statistical modeling. @@ -2040,8 +2218,8 @@ message PrivacyMetric { // Similarly to the k-map metric, we cannot compute δ-presence exactly without // knowing the attack dataset, so we use a statistical model instead. message DeltaPresenceEstimationConfig { - // Required. Fields considered to be quasi-identifiers. No two fields can have the - // same tag. + // Required. Fields considered to be quasi-identifiers. No two fields can + // have the same tag. repeated QuasiId quasi_ids = 1 [(google.api.field_behavior) = REQUIRED]; // ISO 3166-1 alpha-2 region code to use in the statistical modeling. @@ -2114,7 +2292,8 @@ message AnalyzeDataSourceRiskDetails { } // Histogram of value frequencies in the column. - repeated CategoricalStatsHistogramBucket value_frequency_histogram_buckets = 5; + repeated CategoricalStatsHistogramBucket value_frequency_histogram_buckets = + 5; } // Result of the k-anonymity computation. @@ -2194,7 +2373,8 @@ message AnalyzeDataSourceRiskDetails { } // Histogram of l-diversity equivalence class sensitive value frequencies. - repeated LDiversityHistogramBucket sensitive_value_frequency_histogram_buckets = 5; + repeated LDiversityHistogramBucket + sensitive_value_frequency_histogram_buckets = 5; } // Result of the reidentifiability analysis. Note that these results are an @@ -2300,7 +2480,8 @@ message AnalyzeDataSourceRiskDetails { // {min_probability: 0.3, max_probability: 0.4, frequency: 99} // mean that there are no record with an estimated probability in [0.1, 0.2) // nor larger or equal to 0.4. - repeated DeltaPresenceEstimationHistogramBucket delta_presence_estimation_histogram = 1; + repeated DeltaPresenceEstimationHistogramBucket + delta_presence_estimation_histogram = 1; } // Risk analysis options. @@ -2444,20 +2625,16 @@ message ImageTransformations { message ImageTransformation { // Apply transformation to the selected info_types. message SelectedInfoTypes { - // Required. InfoTypes to apply the transformation to. Required. Provided InfoType - // must be unique within the ImageTransformations message. + // Required. InfoTypes to apply the transformation to. Required. Provided + // InfoType must be unique within the ImageTransformations message. repeated InfoType info_types = 5 [(google.api.field_behavior) = REQUIRED]; } // Apply transformation to all findings. - message AllInfoTypes { - - } + message AllInfoTypes {} // Apply to all text. - message AllText { - - } + message AllText {} oneof target { // Apply transformation to the selected info_types. @@ -2491,17 +2668,13 @@ message ImageTransformations { // `TransformationOverviews`. message TransformationErrorHandling { // Throw an error and fail the request when a transformation error occurs. - message ThrowError { - - } + message ThrowError {} // Skips the data without modifying it if the requested transformation would // cause an error. For example, if a `DateShift` transformation were applied // an an IP address, this mode would leave the IP address unchanged in the // response. - message LeaveUntransformed { - - } + message LeaveUntransformed {} // How transformation errors should be handled. oneof mode { @@ -2678,16 +2851,12 @@ message ReplaceDictionaryConfig { } // Replace each matching finding with the name of the info_type. -message ReplaceWithInfoTypeConfig { - -} +message ReplaceWithInfoTypeConfig {} // Redact a given value. For example, if used with an `InfoTypeTransformation` // transforming PHONE_NUMBER, and input 'My phone number is 206-555-0123', the // output would be 'My phone number is '. -message RedactConfig { - -} +message RedactConfig {} // Characters to skip when doing deidentification of a value. These will be left // alone and skipped. @@ -2786,18 +2955,18 @@ message CharacterMaskConfig { // // See https://cloud.google.com/dlp/docs/concepts-bucketing to learn more. message FixedSizeBucketingConfig { - // Required. Lower bound value of buckets. All values less than `lower_bound` are - // grouped together into a single bucket; for example if `lower_bound` = 10, - // then all values less than 10 are replaced with the value "-10". + // Required. Lower bound value of buckets. All values less than `lower_bound` + // are grouped together into a single bucket; for example if `lower_bound` = + // 10, then all values less than 10 are replaced with the value "-10". Value lower_bound = 1 [(google.api.field_behavior) = REQUIRED]; - // Required. Upper bound value of buckets. All values greater than upper_bound are - // grouped together into a single bucket; for example if `upper_bound` = 89, - // then all values greater than 89 are replaced with the value "89+". + // Required. Upper bound value of buckets. All values greater than upper_bound + // are grouped together into a single bucket; for example if `upper_bound` = + // 89, then all values greater than 89 are replaced with the value "89+". Value upper_bound = 2 [(google.api.field_behavior) = REQUIRED]; - // Required. Size of each bucket (except for minimum and maximum buckets). So if - // `lower_bound` = 10, `upper_bound` = 89, and `bucket_size` = 10, then the + // Required. Size of each bucket (except for minimum and maximum buckets). So + // if `lower_bound` = 10, `upper_bound` = 89, and `bucket_size` = 10, then the // following buckets would be used: -10, 10-20, 20-30, 30-40, 40-50, 50-60, // 60-70, 70-80, 80-89, 89+. Precision up to 2 decimals works. double bucket_size = 3 [(google.api.field_behavior) = REQUIRED]; @@ -3000,14 +3169,15 @@ message KmsWrappedCryptoKey { // same context. See https://cloud.google.com/dlp/docs/concepts-date-shifting // to learn more. message DateShiftConfig { - // Required. Range of shift in days. Actual shift will be selected at random within this - // range (inclusive ends). Negative means shift to earlier in time. Must not - // be more than 365250 days (1000 years) each direction. + // Required. Range of shift in days. Actual shift will be selected at random + // within this range (inclusive ends). Negative means shift to earlier in + // time. Must not be more than 365250 days (1000 years) each direction. // // For example, 3 means shift date to at most 3 days into the future. int32 upper_bound_days = 1 [(google.api.field_behavior) = REQUIRED]; - // Required. For example, -5 means shift date to at most 5 days back in the past. + // Required. For example, -5 means shift date to at most 5 days back in the + // past. int32 lower_bound_days = 2 [(google.api.field_behavior) = REQUIRED]; // Points to the field that contains the context, for example, an entity id. @@ -3039,12 +3209,14 @@ message InfoTypeTransformations { repeated InfoType info_types = 1; // Required. Primitive transformation to apply to the infoType. - PrimitiveTransformation primitive_transformation = 2 [(google.api.field_behavior) = REQUIRED]; + PrimitiveTransformation primitive_transformation = 2 + [(google.api.field_behavior) = REQUIRED]; } // Required. Transformation for each infoType. Cannot specify more than one // for a given infoType. - repeated InfoTypeTransformation transformations = 1 [(google.api.field_behavior) = REQUIRED]; + repeated InfoTypeTransformation transformations = 1 + [(google.api.field_behavior) = REQUIRED]; } // The transformation to apply to the field. @@ -3440,9 +3612,7 @@ message Schedule { // Job trigger option for hybrid jobs. Jobs must be manually created // and finished. -message Manual { - -} +message Manual {} // The inspectTemplate contains a configuration (set of types of sensitive data // to be detected) to be used anywhere you otherwise would normally specify @@ -3471,10 +3641,12 @@ message InspectTemplate { string description = 3; // Output only. The creation timestamp of an inspectTemplate. - google.protobuf.Timestamp create_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The last update timestamp of an inspectTemplate. - google.protobuf.Timestamp update_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; // The core content of the template. Configuration of the scanning process. InspectConfig inspect_config = 6; @@ -3505,10 +3677,12 @@ message DeidentifyTemplate { string description = 3; // Output only. The creation timestamp of an inspectTemplate. - google.protobuf.Timestamp create_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The last update timestamp of an inspectTemplate. - google.protobuf.Timestamp update_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 5 + [(google.api.field_behavior) = OUTPUT_ONLY]; // The core content of the template. DeidentifyConfig deidentify_config = 6; @@ -3520,7 +3694,8 @@ message Error { // Detailed error codes and messages. google.rpc.Status details = 1; - // The times the error occurred. + // The times the error occurred. List includes the oldest timestamp and the + // last 9 timestamps. repeated google.protobuf.Timestamp timestamps = 2; } @@ -3584,20 +3759,23 @@ message JobTrigger { // a single Schedule trigger and must have at least one object. repeated Trigger triggers = 5; - // Output only. A stream of errors encountered when the trigger was activated. Repeated - // errors may result in the JobTrigger automatically being paused. + // Output only. A stream of errors encountered when the trigger was activated. + // Repeated errors may result in the JobTrigger automatically being paused. // Will return the last 100 errors. Whenever the JobTrigger is modified // this list will be cleared. repeated Error errors = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The creation timestamp of a triggeredJob. - google.protobuf.Timestamp create_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The last update timestamp of a triggeredJob. - google.protobuf.Timestamp update_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp update_time = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The timestamp of the last time this trigger executed. - google.protobuf.Timestamp last_run_time = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp last_run_time = 9 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Required. A status for this trigger. Status status = 10 [(google.api.field_behavior) = REQUIRED]; @@ -3628,19 +3806,15 @@ message Action { string topic = 1; } - // Publish the result summary of a DlpJob to the Cloud Security - // Command Center (CSCC Alpha). - // This action is only available for projects which are parts of - // an organization and whitelisted for the alpha Cloud Security Command - // Center. - // The action will publish the count of finding instances and their info - // types. The summary of findings will be persisted in CSCC and are governed - // by CSCC service-specific policy, see - // https://cloud.google.com/terms/service-terms Only a single instance of this - // action can be specified. Compatible with: Inspect - message PublishSummaryToCscc { - - } + // Publish the result summary of a DlpJob to [Security Command + // Center](https://cloud.google.com/security-command-center). This action is + // available for only projects that belong to an organization. This action + // publishes the count of finding instances and their infoTypes. The summary + // of findings are persisted in Security Command Center and are governed by + // [service-specific policies for Security Command + // Center](https://cloud.google.com/terms/service-terms). Only a single + // instance of this action can be specified. Compatible with: Inspect + message PublishSummaryToCscc {} // Publish findings of a DlpJob to Data Catalog. In Data Catalog, tag // templates are applied to the resource that Cloud DLP scanned. Data @@ -3660,9 +3834,7 @@ message Action { // Only a single instance of this action can be specified. This action is // allowed only if all resources being scanned are BigQuery tables. // Compatible with: Inspect - message PublishFindingsToCloudDataCatalog { - - } + message PublishFindingsToCloudDataCatalog {} // Create a de-identified copy of the requested table or files. // @@ -3690,13 +3862,15 @@ message Action { // of each transformation (see // [TransformationDetails][google.privacy.dlp.v2.TransformationDetails] // message for more information about what is noted). - TransformationDetailsStorageConfig transformation_details_storage_config = 3; + TransformationDetailsStorageConfig transformation_details_storage_config = + 3; oneof output { - // Required. User settable Cloud Storage bucket and folders to store de-identified - // files. This field must be set for cloud storage deidentification. The - // output Cloud Storage bucket must be different from the input bucket. - // De-identified files will overwrite files in the output path. + // Required. User settable Cloud Storage bucket and folders to store + // de-identified files. This field must be set for cloud storage + // deidentification. The output Cloud Storage bucket must be different + // from the input bucket. De-identified files will overwrite files in the + // output path. // // Form of: gs://bucket/folder/ or gs://bucket string cloud_storage_output = 9 [(google.api.field_behavior) = REQUIRED]; @@ -3715,17 +3889,13 @@ message Action { // Sends an email when the job completes. The email goes to IAM project owners // and technical [Essential // Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts). - message JobNotificationEmails { - - } + message JobNotificationEmails {} // Enable Stackdriver metric dlp.googleapis.com/finding_count. This // will publish a metric to stack driver on each infotype requested and // how many findings were found for it. CustomDetectors will be bucketed // as 'Custom' under the Stackdriver label 'info_type'. - message PublishToStackdriver { - - } + message PublishToStackdriver {} oneof action { // Save resulting findings in a provided location. @@ -3738,7 +3908,8 @@ message Action { PublishSummaryToCscc publish_summary_to_cscc = 3; // Publish findings to Cloud Datahub. - PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = 5; + PublishFindingsToCloudDataCatalog publish_findings_to_cloud_data_catalog = + 5; // Create a de-identified copy of the input data. Deidentify deidentify = 7; @@ -3825,8 +3996,8 @@ message CreateInspectTemplateRequest { // Request message for UpdateInspectTemplate. message UpdateInspectTemplateRequest { - // Required. Resource name of organization and inspectTemplate to be updated, for - // example `organizations/433245324/inspectTemplates/432452342` or + // Required. Resource name of organization and inspectTemplate to be updated, + // for example `organizations/433245324/inspectTemplates/432452342` or // projects/project-id/inspectTemplates/432452342. string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -3844,8 +4015,8 @@ message UpdateInspectTemplateRequest { // Request message for GetInspectTemplate. message GetInspectTemplateRequest { - // Required. Resource name of the organization and inspectTemplate to be read, for - // example `organizations/433245324/inspectTemplates/432452342` or + // Required. Resource name of the organization and inspectTemplate to be read, + // for example `organizations/433245324/inspectTemplates/432452342` or // projects/project-id/inspectTemplates/432452342. string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -3884,17 +4055,17 @@ message ListInspectTemplatesRequest { } ]; - // Page token to continue retrieval. Comes from previous call + // Page token to continue retrieval. Comes from the previous call // to `ListInspectTemplates`. string page_token = 2; - // Size of the page, can be limited by the server. If zero server returns - // a page of max size 100. + // Size of the page. This value can be limited by the server. If zero server + // returns a page of max size 100. int32 page_size = 3; // Comma separated list of fields to order by, - // followed by `asc` or `desc` postfix. This list is case-insensitive, - // default sorting order is ascending, redundant space characters are + // followed by `asc` or `desc` postfix. This list is case insensitive. The + // default sorting order is ascending. Redundant space characters are // insignificant. // // Example: `name asc,update_time, create_time desc` @@ -3916,16 +4087,16 @@ message ListInspectTemplatesResponse { // List of inspectTemplates, up to page_size in ListInspectTemplatesRequest. repeated InspectTemplate inspect_templates = 1; - // If the next page is available then the next page token to be used - // in following ListInspectTemplates request. + // If the next page is available then the next page token to be used in the + // following ListInspectTemplates request. string next_page_token = 2; } // Request message for DeleteInspectTemplate. message DeleteInspectTemplateRequest { - // Required. Resource name of the organization and inspectTemplate to be deleted, for - // example `organizations/433245324/inspectTemplates/432452342` or - // projects/project-id/inspectTemplates/432452342. + // Required. Resource name of the organization and inspectTemplate to be + // deleted, for example `organizations/433245324/inspectTemplates/432452342` + // or projects/project-id/inspectTemplates/432452342. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -3978,9 +4149,7 @@ message ActivateJobTriggerRequest { // `projects/dlp-test-project/jobTriggers/53234423`. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "dlp.googleapis.com/JobTrigger" - } + (google.api.resource_reference) = { type: "dlp.googleapis.com/JobTrigger" } ]; } @@ -3990,9 +4159,7 @@ message UpdateJobTriggerRequest { // `projects/dlp-test-project/jobTriggers/53234423`. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "dlp.googleapis.com/JobTrigger" - } + (google.api.resource_reference) = { type: "dlp.googleapis.com/JobTrigger" } ]; // New JobTrigger value. @@ -4006,10 +4173,131 @@ message UpdateJobTriggerRequest { message GetJobTriggerRequest { // Required. Resource name of the project and the triggeredJob, for example // `projects/dlp-test-project/jobTriggers/53234423`. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "dlp.googleapis.com/JobTrigger" } + ]; +} + +// Request message for CreateDiscoveryConfig. +message CreateDiscoveryConfigRequest { + // Required. Parent resource name. + // + // The format of this value is as follows: + // `projects/`PROJECT_ID`/locations/`LOCATION_ID + // + // The following example `parent` string specifies a parent project with the + // identifier `example-project`, and specifies the `europe-west3` location + // for processing data: + // + // parent=projects/example-project/locations/europe-west3 + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "dlp.googleapis.com/DiscoveryConfig" + } + ]; + + // Required. The DiscoveryConfig to create. + DiscoveryConfig discovery_config = 2 [(google.api.field_behavior) = REQUIRED]; + + // The config ID can contain uppercase and lowercase letters, + // numbers, and hyphens; that is, it must match the regular + // expression: `[a-zA-Z\d-_]+`. The maximum length is 100 + // characters. Can be empty to allow the system to generate one. + string config_id = 3; +} + +// Request message for UpdateDiscoveryConfig. +message UpdateDiscoveryConfigRequest { + // Required. Resource name of the project and the configuration, for example + // `projects/dlp-test-project/discoveryConfigs/53234423`. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dlp.googleapis.com/DiscoveryConfig" + } + ]; + + // Required. New DiscoveryConfig value. + DiscoveryConfig discovery_config = 2 [(google.api.field_behavior) = REQUIRED]; + + // Mask to control which fields get updated. + google.protobuf.FieldMask update_mask = 3; +} + +// Request message for GetDiscoveryConfig. +message GetDiscoveryConfigRequest { + // Required. Resource name of the project and the configuration, for example + // `projects/dlp-test-project/discoveryConfigs/53234423`. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "dlp.googleapis.com/DiscoveryConfig" + } + ]; +} + +// Request message for ListDiscoveryConfigs. +message ListDiscoveryConfigsRequest { + // Required. Parent resource name. + // + // The format of this value is as follows: + // `projects/`PROJECT_ID`/locations/`LOCATION_ID + // + // The following example `parent` string specifies a parent project with the + // identifier `example-project`, and specifies the `europe-west3` location + // for processing data: + // + // parent=projects/example-project/locations/europe-west3 + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + child_type: "dlp.googleapis.com/DiscoveryConfig" + } + ]; + + // Page token to continue retrieval. Comes from the previous call + // to ListDiscoveryConfigs. `order_by` field must not + // change for subsequent calls. + string page_token = 2; + + // Size of the page. This value can be limited by a server. + int32 page_size = 3; + + // Comma separated list of config fields to order by, + // followed by `asc` or `desc` postfix. This list is case insensitive. The + // default sorting order is ascending. Redundant space characters are + // insignificant. + // + // Example: `name asc,update_time, create_time desc` + // + // Supported fields are: + // + // - `last_run_time`: corresponds to the last time the DiscoveryConfig ran. + // - `name`: corresponds to the DiscoveryConfig's name. + // - `status`: corresponds to DiscoveryConfig's status. + string order_by = 4; +} + +// Response message for ListDiscoveryConfigs. +message ListDiscoveryConfigsResponse { + // List of configs, up to page_size in ListDiscoveryConfigsRequest. + repeated DiscoveryConfig discovery_configs = 1; + + // If the next page is available then this value is the next page token to be + // used in the following ListDiscoveryConfigs request. + string next_page_token = 2; +} + +// Request message for DeleteDiscoveryConfig. +message DeleteDiscoveryConfigRequest { + // Required. Resource name of the project and the config, for example + // `projects/dlp-test-project/discoveryConfigs/53234423`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { - type: "dlp.googleapis.com/JobTrigger" + type: "dlp.googleapis.com/DiscoveryConfig" } ]; } @@ -4086,17 +4374,17 @@ message ListJobTriggersRequest { } ]; - // Page token to continue retrieval. Comes from previous call + // Page token to continue retrieval. Comes from the previous call // to ListJobTriggers. `order_by` field must not // change for subsequent calls. string page_token = 2; - // Size of the page, can be limited by a server. + // Size of the page. This value can be limited by a server. int32 page_size = 3; // Comma separated list of triggeredJob fields to order by, - // followed by `asc` or `desc` postfix. This list is case-insensitive, - // default sorting order is ascending, redundant space characters are + // followed by `asc` or `desc` postfix. This list is case insensitive. The + // default sorting order is ascending. Redundant space characters are // insignificant. // // Example: `name asc,update_time, create_time desc` @@ -4149,8 +4437,8 @@ message ListJobTriggersResponse { // List of triggeredJobs, up to page_size in ListJobTriggersRequest. repeated JobTrigger job_triggers = 1; - // If the next page is available then the next page token to be used - // in following ListJobTriggers request. + // If the next page is available then this value is the next page token to be + // used in the following ListJobTriggers request. string next_page_token = 2; } @@ -4160,9 +4448,7 @@ message DeleteJobTriggerRequest { // `projects/dlp-test-project/jobTriggers/53234423`. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "dlp.googleapis.com/JobTrigger" - } + (google.api.resource_reference) = { type: "dlp.googleapis.com/JobTrigger" } ]; } @@ -4292,13 +4578,95 @@ message DataProfileJobConfig { // scanned. // // For more information, see - // https://cloud.google.com/dlp/docs/data-profiles#data_residency. + // https://cloud.google.com/dlp/docs/data-profiles#data-residency. repeated string inspect_templates = 7; // Actions to execute at the completion of the job. repeated DataProfileAction data_profile_actions = 6; } +// A pattern to match against one or more tables, datasets, or projects that +// contain BigQuery tables. At least one pattern must be specified. +// Regular expressions use RE2 +// [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found +// under the google/re2 repository on GitHub. +message BigQueryRegex { + // For organizations, if unset, will match all projects. Has no effect + // for data profile configurations created within a project. + string project_id_regex = 1; + + // If unset, this property matches all datasets. + string dataset_id_regex = 2; + + // If unset, this property matches all tables. + string table_id_regex = 3; +} + +// A collection of regular expressions to determine what tables to match +// against. +message BigQueryRegexes { + // A single BigQuery regular expression pattern to match against one or more + // tables, datasets, or projects that contain BigQuery tables. + repeated BigQueryRegex patterns = 1; +} + +// The types of BigQuery tables supported by Cloud DLP. +message BigQueryTableTypes { + // A set of BigQuery table types. + repeated BigQueryTableType types = 1; +} + +// Over time new types may be added. Currently VIEW, MATERIALIZED_VIEW, +// and SNAPSHOT are not supported. +enum BigQueryTableTypeCollection { + // Unused. + BIG_QUERY_COLLECTION_UNSPECIFIED = 0; + + // Automatically generate profiles for all tables, even if the table type is + // not yet fully supported for analysis. Profiles for unsupported tables will + // be generated with errors to indicate their partial support. When full + // support is added, the tables will automatically be profiled during the next + // scheduled run. + BIG_QUERY_COLLECTION_ALL_TYPES = 1; + + // Only those types fully supported will be profiled. Will expand + // automatically as Cloud DLP adds support for new table types. Unsupported + // table types will not have partial profiles generated. + BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES = 2; +} + +// Over time new types may be added. Currently VIEW, MATERIALIZED_VIEW, +// SNAPSHOT, and non-BigLake external tables are not supported. +enum BigQueryTableType { + // Unused. + BIG_QUERY_TABLE_TYPE_UNSPECIFIED = 0; + + // A normal BigQuery table. + BIG_QUERY_TABLE_TYPE_TABLE = 1; + + // A table that references data stored in Cloud Storage. + BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE = 2; +} + +// How frequently data profiles can be updated. New options can be added at a +// later time. +enum DataProfileUpdateFrequency { + // Unspecified. + UPDATE_FREQUENCY_UNSPECIFIED = 0; + + // After the data profile is created, it will never be updated. + UPDATE_FREQUENCY_NEVER = 1; + + // The data profile can be updated up to once every 24 hours. + UPDATE_FREQUENCY_DAILY = 2; + + // The data profile can be updated up to once every 30 days. Default. + UPDATE_FREQUENCY_MONTHLY = 4; +} + +// Do not profile the tables. +message Disabled {} + // The data that will be profiled. message DataProfileLocation { // The location to be scanned. @@ -4311,6 +4679,283 @@ message DataProfileLocation { } } +// Configuration for discovery to scan resources for profile generation. +// Only one discovery configuration may exist per organization, folder, +// or project. +// +// The generated data profiles are retained according to the +// [data retention policy] +// (https://cloud.google.com/dlp/docs/data-profiles#retention). +message DiscoveryConfig { + option (google.api.resource) = { + type: "dlp.googleapis.com/DiscoveryConfig" + pattern: "projects/{project}/locations/{location}/discoveryConfigs/{discovery_config}" + }; + + // Project and scan location information. Only set when the parent is an org. + message OrgConfig { + // The data to scan: folder, org, or project + DiscoveryStartingLocation location = 1; + + // The project that will run the scan. The DLP service + // account that exists within this project must have access to all resources + // that are profiled, and the Cloud DLP API must be enabled. + string project_id = 2; + } + + // Whether the discovery config is currently active. New options may be added + // at a later time. + enum Status { + // Unused + STATUS_UNSPECIFIED = 0; + + // The discovery config is currently active. + RUNNING = 1; + + // The discovery config is paused temporarily. + PAUSED = 2; + } + + // Unique resource name for the DiscoveryConfig, assigned by the service when + // the DiscoveryConfig is created, for example + // `projects/dlp-test-project/locations/global/discoveryConfigs/53234423`. + string name = 1; + + // Display name (max 100 chars) + string display_name = 11; + + // Only set when the parent is an org. + OrgConfig org_config = 2; + + // Detection logic for profile generation. + // + // Not all template features are used by Discovery. FindingLimits, + // include_quote and exclude_info_types have no impact on + // Discovery. + // + // Multiple templates may be provided if there is data in multiple regions. + // At most one template must be specified per-region (including "global"). + // Each region is scanned using the applicable template. If no region-specific + // template is specified, but a "global" template is specified, it will be + // copied to that region and used instead. If no global or region-specific + // template is provided for a region with data, that region's data will not be + // scanned. + // + // For more information, see + // https://cloud.google.com/dlp/docs/data-profiles#data-residency. + repeated string inspect_templates = 3; + + // Actions to execute at the completion of scanning. + repeated DataProfileAction actions = 4; + + // Target to match against for determining what to scan and how frequently. + repeated DiscoveryTarget targets = 5; + + // Output only. A stream of errors encountered when the config was activated. + // Repeated errors may result in the config automatically being paused. Output + // only field. Will return the last 100 errors. Whenever the config is + // modified this list will be cleared. + repeated Error errors = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The creation timestamp of a DiscoveryConfig. + google.protobuf.Timestamp create_time = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The last update timestamp of a DiscoveryConfig. + google.protobuf.Timestamp update_time = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The timestamp of the last time this config was executed. + google.protobuf.Timestamp last_run_time = 9 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Required. A status for this configuration. + Status status = 10 [(google.api.field_behavior) = REQUIRED]; +} + +// Target used to match against for Discovery. +message DiscoveryTarget { + // A target to match against for Discovery. + oneof target { + // BigQuery target for Discovery. The first target to match a table will be + // the one applied. + BigQueryDiscoveryTarget big_query_target = 1; + } +} + +// Target used to match against for discovery with BigQuery tables +message BigQueryDiscoveryTarget { + // Required. The tables the discovery cadence applies to. The first target + // with a matching filter will be the one to apply to a table. + DiscoveryBigQueryFilter filter = 1 [(google.api.field_behavior) = REQUIRED]; + + // In addition to matching the filter, these conditions must be true + // before a profile is generated. + DiscoveryBigQueryConditions conditions = 2; + + // The generation rule includes the logic on how frequently + // to update the data profiles. If not specified, discovery will re-run and + // update no more than once a month if new columns appear in the table. + oneof frequency { + // How often and when to update profiles. New tables that match both the + // filter and conditions are scanned as quickly as possible depending on + // system capacity. + DiscoveryGenerationCadence cadence = 3; + + // Tables that match this filter will not have profiles created. + Disabled disabled = 4; + } +} + +// Determines what tables will have profiles generated within an organization +// or project. Includes the ability to filter by regular expression patterns +// on project ID, dataset ID, and table ID. +message DiscoveryBigQueryFilter { + // Catch-all for all other tables not specified by other filters. Should + // always be last, except for single-table configurations, which will only + // have a TableReference target. + message AllOtherBigQueryTables {} + + // Whether the filter applies to a specific set of tables or all other tables + // within the location being profiled. The first filter to match will be + // applied, regardless of the condition. If none is set, will default to + // `other_tables`. + oneof filter { + // A specific set of tables for this filter to apply to. A table collection + // must be specified in only one filter per config. + // If a table id or dataset is empty, Cloud DLP assumes all tables in that + // collection must be profiled. Must specify a project ID. + BigQueryTableCollection tables = 1; + + // Catch-all. This should always be the last filter in the list because + // anything above it will apply first. Should only appear once in a + // configuration. If none is specified, a default one will be added + // automatically. + AllOtherBigQueryTables other_tables = 2; + } +} + +// Specifies a collection of BigQuery tables. Used for Discovery. +message BigQueryTableCollection { + // Maximum of 100 entries. + // The first filter containing a pattern that matches a table will be used. + oneof pattern { + // A collection of regular expressions to match a BigQuery table against. + BigQueryRegexes include_regexes = 1; + } +} + +// Requirements that must be true before a table is scanned in discovery for the +// first time. There is an AND relationship between the top-level attributes. +// Additionally, minimum conditions with an OR relationship that must be met +// before Cloud DLP scans a table can be set (like a minimum row count or a +// minimum table age). +message DiscoveryBigQueryConditions { + // There is an OR relationship between these attributes. They are used to + // determine if a table should be scanned or not in Discovery. + message OrConditions { + // Minimum number of rows that should be present before Cloud DLP + // profiles a table + int32 min_row_count = 1; + + // Minimum age a table must have before Cloud DLP can profile it. Value must + // be 1 hour or greater. + google.protobuf.Duration min_age = 2; + } + + // BigQuery table must have been created after this date. Used to avoid + // backfilling. + google.protobuf.Timestamp created_after = 1; + + // The type of BigQuery tables to scan. If nothing is set the default + // behavior is to scan only tables of type TABLE and to give errors + // for all unsupported tables. + oneof included_types { + // Restrict discovery to specific table types. + BigQueryTableTypes types = 2; + + // Restrict discovery to categories of table types. + BigQueryTableTypeCollection type_collection = 3; + } + + // At least one of the conditions must be true for a table to be scanned. + OrConditions or_conditions = 4; +} + +// What must take place for a profile to be updated and how +// frequently it should occur. +// New tables are scanned as quickly as possible depending on system +// capacity. +message DiscoveryGenerationCadence { + // Governs when to update data profiles when a schema is modified. + DiscoverySchemaModifiedCadence schema_modified_cadence = 1; + + // Governs when to update data profiles when a table is modified. + DiscoveryTableModifiedCadence table_modified_cadence = 2; +} + +// The cadence at which to update data profiles when a table is modified. +message DiscoveryTableModifiedCadence { + // The type of events to consider when deciding if the table has been + // modified and should have the profile updated. Defaults to + // MODIFIED_TIMESTAMP. + repeated BigQueryTableModification types = 1; + + // How frequently data profiles can be updated when tables are modified. + // Defaults to never. + DataProfileUpdateFrequency frequency = 2; +} + +// Attributes evaluated to determine if a table has been modified. New values +// may be added at a later time. +enum BigQueryTableModification { + // Unused. + TABLE_MODIFICATION_UNSPECIFIED = 0; + + // A table will be considered modified when the last_modified_time from + // BigQuery has been updated. + TABLE_MODIFIED_TIMESTAMP = 1; +} + +// The cadence at which to update data profiles when a schema is modified. +message DiscoverySchemaModifiedCadence { + // The type of events to consider when deciding if the table's schema + // has been modified and should have the profile updated. Defaults to + // NEW_COLUMNS. + repeated BigQuerySchemaModification types = 1; + + // How frequently profiles may be updated when schemas are + // modified. Defaults to monthly. + DataProfileUpdateFrequency frequency = 2; +} + +// Attributes evaluated to determine if a schema has been modified. New values +// may be added at a later time. +enum BigQuerySchemaModification { + // Unused + SCHEMA_MODIFICATION_UNSPECIFIED = 0; + + // Profiles should be regenerated when new columns are added to the table. + // Default. + SCHEMA_NEW_COLUMNS = 1; + + // Profiles should be regenerated when columns are removed from the table. + SCHEMA_REMOVED_COLUMNS = 2; +} + +// The location to begin a discovery scan. Denotes an organization ID or folder +// ID within an organization. +message DiscoveryStartingLocation { + // The location to be scanned. + oneof location { + // The ID of an organization to scan. + int64 organization_id = 1; + + // The ID of the Folder within an organization to scan. + int64 folder_id = 2; + } +} + // Combines all of the information about a DLP job. message DlpJob { option (google.api.resource) = { @@ -4373,12 +5018,18 @@ message DlpJob { // Time when the job finished. google.protobuf.Timestamp end_time = 8; + // Time when the job was last modified by the system. + google.protobuf.Timestamp last_modified = 15; + // If created by a job trigger, the resource name of the trigger that // instantiated the job. string job_trigger_name = 10; // A stream of errors encountered running the job. repeated Error errors = 11; + + // Events that should occur after the job has completed. + repeated ActionDetails action_details = 12; } // The request message for [DlpJobs.GetDlpJob][]. @@ -4386,9 +5037,7 @@ message GetDlpJobRequest { // Required. The name of the DlpJob resource. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "dlp.googleapis.com/DlpJob" - } + (google.api.resource_reference) = { type: "dlp.googleapis.com/DlpJob" } ]; } @@ -4457,8 +5106,8 @@ message ListDlpJobsRequest { DlpJobType type = 5; // Comma separated list of fields to order by, - // followed by `asc` or `desc` postfix. This list is case-insensitive, - // default sorting order is ascending, redundant space characters are + // followed by `asc` or `desc` postfix. This list is case insensitive. The + // default sorting order is ascending. Redundant space characters are // insignificant. // // Example: `name asc, end_time asc, create_time desc` @@ -4489,9 +5138,7 @@ message CancelDlpJobRequest { // Required. The name of the DlpJob resource to be cancelled. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "dlp.googleapis.com/DlpJob" - } + (google.api.resource_reference) = { type: "dlp.googleapis.com/DlpJob" } ]; } @@ -4500,9 +5147,7 @@ message FinishDlpJobRequest { // Required. The name of the DlpJob resource to be cancelled. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "dlp.googleapis.com/DlpJob" - } + (google.api.resource_reference) = { type: "dlp.googleapis.com/DlpJob" } ]; } @@ -4511,9 +5156,7 @@ message DeleteDlpJobRequest { // Required. The name of the DlpJob resource to be deleted. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "dlp.googleapis.com/DlpJob" - } + (google.api.resource_reference) = { type: "dlp.googleapis.com/DlpJob" } ]; } @@ -4547,7 +5190,8 @@ message CreateDeidentifyTemplateRequest { ]; // Required. The DeidentifyTemplate to create. - DeidentifyTemplate deidentify_template = 2 [(google.api.field_behavior) = REQUIRED]; + DeidentifyTemplate deidentify_template = 2 + [(google.api.field_behavior) = REQUIRED]; // The template id can contain uppercase and lowercase letters, // numbers, and hyphens; that is, it must match the regular @@ -4561,8 +5205,9 @@ message CreateDeidentifyTemplateRequest { // Request message for UpdateDeidentifyTemplate. message UpdateDeidentifyTemplateRequest { - // Required. Resource name of organization and deidentify template to be updated, for - // example `organizations/433245324/deidentifyTemplates/432452342` or + // Required. Resource name of organization and deidentify template to be + // updated, for example + // `organizations/433245324/deidentifyTemplates/432452342` or // projects/project-id/deidentifyTemplates/432452342. string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -4580,9 +5225,9 @@ message UpdateDeidentifyTemplateRequest { // Request message for GetDeidentifyTemplate. message GetDeidentifyTemplateRequest { - // Required. Resource name of the organization and deidentify template to be read, for - // example `organizations/433245324/deidentifyTemplates/432452342` or - // projects/project-id/deidentifyTemplates/432452342. + // Required. Resource name of the organization and deidentify template to be + // read, for example `organizations/433245324/deidentifyTemplates/432452342` + // or projects/project-id/deidentifyTemplates/432452342. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -4620,17 +5265,17 @@ message ListDeidentifyTemplatesRequest { } ]; - // Page token to continue retrieval. Comes from previous call + // Page token to continue retrieval. Comes from the previous call // to `ListDeidentifyTemplates`. string page_token = 2; - // Size of the page, can be limited by the server. If zero server returns - // a page of max size 100. + // Size of the page. This value can be limited by the server. If zero server + // returns a page of max size 100. int32 page_size = 3; // Comma separated list of fields to order by, - // followed by `asc` or `desc` postfix. This list is case-insensitive, - // default sorting order is ascending, redundant space characters are + // followed by `asc` or `desc` postfix. This list is case insensitive. The + // default sorting order is ascending. Redundant space characters are // insignificant. // // Example: `name asc,update_time, create_time desc` @@ -4653,15 +5298,16 @@ message ListDeidentifyTemplatesResponse { // ListDeidentifyTemplatesRequest. repeated DeidentifyTemplate deidentify_templates = 1; - // If the next page is available then the next page token to be used - // in following ListDeidentifyTemplates request. + // If the next page is available then the next page token to be used in the + // following ListDeidentifyTemplates request. string next_page_token = 2; } // Request message for DeleteDeidentifyTemplate. message DeleteDeidentifyTemplateRequest { - // Required. Resource name of the organization and deidentify template to be deleted, - // for example `organizations/433245324/deidentifyTemplates/432452342` or + // Required. Resource name of the organization and deidentify template to be + // deleted, for example + // `organizations/433245324/deidentifyTemplates/432452342` or // projects/project-id/deidentifyTemplates/432452342. string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -4830,8 +5476,8 @@ message CreateStoredInfoTypeRequest { // Request message for UpdateStoredInfoType. message UpdateStoredInfoTypeRequest { - // Required. Resource name of organization and storedInfoType to be updated, for - // example `organizations/433245324/storedInfoTypes/432452342` or + // Required. Resource name of organization and storedInfoType to be updated, + // for example `organizations/433245324/storedInfoTypes/432452342` or // projects/project-id/storedInfoTypes/432452342. string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -4851,8 +5497,8 @@ message UpdateStoredInfoTypeRequest { // Request message for GetStoredInfoType. message GetStoredInfoTypeRequest { - // Required. Resource name of the organization and storedInfoType to be read, for - // example `organizations/433245324/storedInfoTypes/432452342` or + // Required. Resource name of the organization and storedInfoType to be read, + // for example `organizations/433245324/storedInfoTypes/432452342` or // projects/project-id/storedInfoTypes/432452342. string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -4887,17 +5533,17 @@ message ListStoredInfoTypesRequest { } ]; - // Page token to continue retrieval. Comes from previous call + // Page token to continue retrieval. Comes from the previous call // to `ListStoredInfoTypes`. string page_token = 2; - // Size of the page, can be limited by the server. If zero server returns - // a page of max size 100. + // Size of the page. This value can be limited by the server. If zero server + // returns a page of max size 100. int32 page_size = 3; // Comma separated list of fields to order by, - // followed by `asc` or `desc` postfix. This list is case-insensitive, - // default sorting order is ascending, redundant space characters are + // followed by `asc` or `desc` postfix. This list is case insensitive. The + // default sorting order is ascending. Redundant space characters are // insignificant. // // Example: `name asc, display_name, create_time desc` @@ -4921,14 +5567,14 @@ message ListStoredInfoTypesResponse { repeated StoredInfoType stored_info_types = 1; // If the next page is available then the next page token to be used - // in following ListStoredInfoTypes request. + // in the following ListStoredInfoTypes request. string next_page_token = 2; } // Request message for DeleteStoredInfoType. message DeleteStoredInfoTypeRequest { - // Required. Resource name of the organization and storedInfoType to be deleted, for - // example `organizations/433245324/storedInfoTypes/432452342` or + // Required. Resource name of the organization and storedInfoType to be + // deleted, for example `organizations/433245324/storedInfoTypes/432452342` or // projects/project-id/storedInfoTypes/432452342. string name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -4940,13 +5586,11 @@ message DeleteStoredInfoTypeRequest { // Request to search for potentially sensitive info in a custom location. message HybridInspectJobTriggerRequest { - // Required. Resource name of the trigger to execute a hybrid inspect on, for example - // `projects/dlp-test-project/jobTriggers/53234423`. + // Required. Resource name of the trigger to execute a hybrid inspect on, for + // example `projects/dlp-test-project/jobTriggers/53234423`. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "dlp.googleapis.com/JobTrigger" - } + (google.api.resource_reference) = { type: "dlp.googleapis.com/JobTrigger" } ]; // The item to inspect. @@ -4955,13 +5599,11 @@ message HybridInspectJobTriggerRequest { // Request to search for potentially sensitive info in a custom location. message HybridInspectDlpJobRequest { - // Required. Resource name of the job to execute a hybrid inspect on, for example - // `projects/dlp-test-project/dlpJob/53234423`. + // Required. Resource name of the job to execute a hybrid inspect on, for + // example `projects/dlp-test-project/dlpJob/53234423`. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "dlp.googleapis.com/DlpJob" - } + (google.api.resource_reference) = { type: "dlp.googleapis.com/DlpJob" } ]; // The item to inspect. @@ -5021,9 +5663,7 @@ message HybridFindingDetails { } // Quota exceeded errors will be thrown once quota has been met. -message HybridInspectResponse { - -} +message HybridInspectResponse {} // Operators available for comparing the value of fields. enum RelationalOperator { @@ -5221,7 +5861,7 @@ message TableDataProfile { // The resource name to the project data profile for this table. string project_data_profile = 2; - // The GCP project ID that owns the BigQuery dataset. + // The Google Cloud project ID that owns the BigQuery dataset. string dataset_project_id = 24; // The BigQuery location where the dataset's data is stored. @@ -5297,7 +5937,8 @@ message TableDataProfile { } message ProfileStatus { - // Profiling status code and optional message + // Profiling status code and optional message. The `status.code` value is 0 + // (default value) for OK. google.rpc.Status status = 1; // Time when the profile generation status was updated @@ -5333,6 +5974,191 @@ message OtherInfoTypeSummary { // Approximate percentage of non-null rows that contained data detected by // this infotype. int32 estimated_prevalence = 2; + + // Whether this infoType was excluded from sensitivity and risk analysis due + // to factors such as low prevalence (subject to change). + bool excluded_from_analysis = 3; +} + +// Bucketized nullness percentage levels. A higher level means a higher +// percentage of the column is null. +enum NullPercentageLevel { + // Unused. + NULL_PERCENTAGE_LEVEL_UNSPECIFIED = 0; + + // Very few null entries. + NULL_PERCENTAGE_VERY_LOW = 1; + + // Some null entries. + NULL_PERCENTAGE_LOW = 2; + + NULL_PERCENTAGE_MEDIUM = 3; + + // A lot of null entries. + NULL_PERCENTAGE_HIGH = 4; +} + +// Bucketized uniqueness score levels. A higher uniqueness score is a strong +// signal that the column may contain a unique identifier like user id. A low +// value indicates that the column contains few unique values like booleans or +// other classifiers. +enum UniquenessScoreLevel { + // Some columns do not have estimated uniqueness. Possible reasons include + // having too few values. + UNIQUENESS_SCORE_LEVEL_UNSPECIFIED = 0; + + // Low uniqueness, possibly a boolean, enum or similiarly typed column. + UNIQUENESS_SCORE_LOW = 1; + + // Medium uniqueness. + UNIQUENESS_SCORE_MEDIUM = 2; + + // High uniqueness, possibly a column of free text or unique identifiers. + UNIQUENESS_SCORE_HIGH = 3; +} + +// The profile for a scanned column within a table. +message ColumnDataProfile { + // Possible states of a profile. New items may be added. + enum State { + // Unused. + STATE_UNSPECIFIED = 0; + + // The profile is currently running. Once a profile has finished it will + // transition to DONE. + RUNNING = 1; + + // The profile is no longer generating. + // If profile_status.status.code is 0, the profile succeeded, otherwise, it + // failed. + DONE = 2; + } + + // Data types of the data in a column. Types may be added over time. + enum ColumnDataType { + // Invalid type. + COLUMN_DATA_TYPE_UNSPECIFIED = 0; + + // Encoded as a string in decimal format. + TYPE_INT64 = 1; + + // Encoded as a boolean "false" or "true". + TYPE_BOOL = 2; + + // Encoded as a number, or string "NaN", "Infinity" or "-Infinity". + TYPE_FLOAT64 = 3; + + // Encoded as a string value. + TYPE_STRING = 4; + + // Encoded as a base64 string per RFC 4648, section 4. + TYPE_BYTES = 5; + + // Encoded as an RFC 3339 timestamp with mandatory "Z" time zone string: + // 1985-04-12T23:20:50.52Z + TYPE_TIMESTAMP = 6; + + // Encoded as RFC 3339 full-date format string: 1985-04-12 + TYPE_DATE = 7; + + // Encoded as RFC 3339 partial-time format string: 23:20:50.52 + TYPE_TIME = 8; + + // Encoded as RFC 3339 full-date "T" partial-time: 1985-04-12T23:20:50.52 + TYPE_DATETIME = 9; + + // Encoded as WKT + TYPE_GEOGRAPHY = 10; + + // Encoded as a decimal string. + TYPE_NUMERIC = 11; + + // Container of ordered fields, each with a type and field name. + TYPE_RECORD = 12; + + // Decimal type. + TYPE_BIGNUMERIC = 13; + + // Json type. + TYPE_JSON = 14; + } + + // The possible policy states for a column. + enum ColumnPolicyState { + // No policy tags. + COLUMN_POLICY_STATE_UNSPECIFIED = 0; + + // Column has policy tag applied. + COLUMN_POLICY_TAGGED = 1; + } + + // The name of the profile. + string name = 1; + + // Success or error status from the most recent profile generation attempt. + // May be empty if the profile is still being generated. + ProfileStatus profile_status = 17; + + // State of a profile. + State state = 18; + + // The last time the profile was generated. + google.protobuf.Timestamp profile_last_generated = 3; + + // The resource name of the table data profile. + string table_data_profile = 4; + + // The resource name of the table this column is within. + string table_full_resource = 5; + + // The Google Cloud project ID that owns the BigQuery dataset. + string dataset_project_id = 19; + + // The BigQuery location where the dataset's data is stored. + // See https://cloud.google.com/bigquery/docs/locations for supported + // locations. + string dataset_location = 20; + + // The BigQuery dataset ID. + string dataset_id = 21; + + // The BigQuery table ID. + string table_id = 22; + + // The name of the column. + string column = 6; + + // The sensitivity of this column. + SensitivityScore sensitivity_score = 7; + + // The data risk level for this column. + DataRiskLevel data_risk_level = 8; + + // If it's been determined this column can be identified as a single type, + // this will be set. Otherwise the column either has unidentifiable content + // or mixed types. + InfoTypeSummary column_info_type = 9; + + // Other types found within this column. List will be unordered. + repeated OtherInfoTypeSummary other_matches = 10; + + // Approximate percentage of entries being null in the column. + NullPercentageLevel estimated_null_percentage = 23; + + // Approximate uniqueness of the column. + UniquenessScoreLevel estimated_uniqueness_score = 24; + + // The likelihood that this column contains free-form text. + // A value close to 1 may indicate the column is likely to contain + // free-form or natural language text. + // Range in 0-1. + double free_text_score = 13; + + // The data type of a given column. + ColumnDataType column_type = 14; + + // Indicates if a policy tag has been applied to the column. + ColumnPolicyState policy_state = 15; } // A condition for determining whether a Pub/Sub should be triggered. diff --git a/third_party/googleapis/google/privacy/dlp/v2/dlp_grpc_service_config.json b/third_party/googleapis/google/privacy/dlp/v2/dlp_grpc_service_config.json index d3b037e80..983bffc5a 100755 --- a/third_party/googleapis/google/privacy/dlp/v2/dlp_grpc_service_config.json +++ b/third_party/googleapis/google/privacy/dlp/v2/dlp_grpc_service_config.json @@ -81,6 +81,18 @@ { "service": "google.privacy.dlp.v2.DlpService", "method": "DeleteStoredInfoType" + }, + { + "service": "google.privacy.dlp.v2.DlpService", + "method": "ListDiscoveryConfigs" + }, + { + "service": "google.privacy.dlp.v2.DlpService", + "method": "GetDiscoveryConfig" + }, + { + "service": "google.privacy.dlp.v2.DlpService", + "method": "DeleteDiscoveryConfig" } ], "timeout": "300s", @@ -152,6 +164,14 @@ { "service": "google.privacy.dlp.v2.DlpService", "method": "HybridInspectJobTrigger" + }, + { + "service": "google.privacy.dlp.v2.DlpService", + "method": "UpdateDiscoveryConfig" + }, + { + "service": "google.privacy.dlp.v2.DlpService", + "method": "CreateDiscoveryConfig" } ], "timeout": "300s" diff --git a/third_party/googleapis/google/privacy/dlp/v2/dlp_v2.yaml b/third_party/googleapis/google/privacy/dlp/v2/dlp_v2.yaml index 617a0e7ee..7ded01eee 100644 --- a/third_party/googleapis/google/privacy/dlp/v2/dlp_v2.yaml +++ b/third_party/googleapis/google/privacy/dlp/v2/dlp_v2.yaml @@ -1,13 +1,14 @@ type: google.api.Service config_version: 3 name: dlp.googleapis.com -title: Cloud Data Loss Prevention (DLP) API +title: Cloud Data Loss Prevention (DLP) apis: - name: google.cloud.location.Locations - name: google.privacy.dlp.v2.DlpService types: +- name: google.privacy.dlp.v2.DataProfileBigQueryRowSchema - name: google.privacy.dlp.v2.DataProfilePubSubMessage - name: google.privacy.dlp.v2.TransformationDetails @@ -17,11 +18,6 @@ documentation: privacy-sensitive fragments in text, images, and Google Cloud Platform storage repositories. -backend: - rules: - - selector: 'google.privacy.dlp.v2.DlpService.*' - deadline: 300.0 - authentication: rules: - selector: 'google.privacy.dlp.v2.DlpService.*' diff --git a/third_party/googleapis/google/privacy/dlp/v2/storage.proto b/third_party/googleapis/google/privacy/dlp/v2/storage.proto index f746e63d0..4a39d183a 100644 --- a/third_party/googleapis/google/privacy/dlp/v2/storage.proto +++ b/third_party/googleapis/google/privacy/dlp/v2/storage.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,7 +20,7 @@ import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Dlp.V2"; -option go_package = "google.golang.org/genproto/googleapis/privacy/dlp/v2;dlp"; +option go_package = "cloud.google.com/go/dlp/apiv2/dlppb;dlppb"; option java_multiple_files = true; option java_outer_classname = "DlpStorage"; option java_package = "com.google.privacy.dlp.v2"; @@ -38,51 +38,73 @@ message InfoType { // Optional version name for this InfoType. string version = 2; + + // Optional custom sensitivity for this InfoType. + // This only applies to data profiling. + SensitivityScore sensitivity_score = 3; } -// Score is a summary of all elements in the data profile. -// A higher number means more sensitive. +// Score is calculated from of all elements in the data profile. +// A higher level means the data is more sensitive. message SensitivityScore { - // Various score levels for resources. + // Various sensitivity score levels for resources. enum SensitivityScoreLevel { // Unused. SENSITIVITY_SCORE_UNSPECIFIED = 0; - // No sensitive information detected. Limited access. + // No sensitive information detected. The resource isn't publicly + // accessible. SENSITIVITY_LOW = 10; - // Medium risk - PII, potentially sensitive data, or fields with free-text - // data that are at higher risk of having intermittent sensitive data. - // Consider limiting access. + // Medium risk. Contains personally identifiable information (PII), + // potentially sensitive data, or fields with free-text data that are at a + // higher risk of having intermittent sensitive data. Consider limiting + // access. SENSITIVITY_MODERATE = 20; - // High risk – SPII may be present. Exfiltration of data may lead to user - // data loss. Re-identification of users may be possible. Consider limiting - // usage and or removing SPII. + // High risk. Sensitive personally identifiable information (SPII) can be + // present. Exfiltration of data can lead to user data loss. + // Re-identification of users might be possible. Consider limiting usage and + // or removing SPII. SENSITIVITY_HIGH = 30; } - // The score applied to the resource. + // The sensitivity score applied to the resource. SensitivityScoreLevel score = 1; } -// Categorization of results based on how likely they are to represent a match, -// based on the number of elements they contain which imply a match. +// Coarse-grained confidence level of how well a particular finding +// satisfies the criteria to match a particular infoType. +// +// Likelihood is calculated based on the number of signals a +// finding has that implies that the finding matches the infoType. For +// example, a string that has an '@' and a '.com' is more likely to be a +// match for an email address than a string that only has an '@'. +// +// In general, the highest likelihood level has the strongest signals that +// indicate a match. That is, a finding with a high likelihood has a low chance +// of being a false positive. +// +// For more information about each likelihood level +// and how likelihood works, see [Match +// likelihood](https://cloud.google.com/dlp/docs/likelihood). enum Likelihood { // Default value; same as POSSIBLE. LIKELIHOOD_UNSPECIFIED = 0; - // Few matching elements. + // Highest chance of a false positive. VERY_UNLIKELY = 1; + // High chance of a false positive. UNLIKELY = 2; - // Some matching elements. + // Some matching signals. The default value. POSSIBLE = 3; + // Low chance of a false positive. LIKELY = 4; - // Many matching elements. + // Confidence level is high. Lowest chance of a false positive. VERY_LIKELY = 5; } @@ -163,9 +185,7 @@ message CustomInfoType { // output. This should be used in conjunction with a field on the // transformation such as `surrogate_info_type`. This CustomInfoType does // not support the use of `detection_rules`. - message SurrogateType { - - } + message SurrogateType {} // Deprecated; use `InspectionRuleSet` instead. Rule for modifying a // `CustomInfoType` to alter behavior under certain circumstances, depending @@ -282,6 +302,13 @@ message CustomInfoType { // If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding // to be returned. It still can be used for rules matching. ExclusionType exclusion_type = 8; + + // Sensitivity for this CustomInfoType. If this CustomInfoType extends an + // existing InfoType, the sensitivity here will take precedence over that of + // the original InfoType. If unset for a CustomInfoType, it will default to + // HIGH. + // This only applies to data profiling. + SensitivityScore sensitivity_score = 9; } // General identifier of a data field in a storage service. @@ -330,7 +357,7 @@ enum FileType { // scanning attempts to convert the content of the file to utf_8 to scan // the file. // If you wish to avoid this fall back, specify one or more of the other - // FileType's in your storage scan. + // file types in your storage scan. BINARY_FILE = 1; // Included file extensions: @@ -343,19 +370,24 @@ enum FileType { TEXT_FILE = 2; // Included file extensions: - // bmp, gif, jpg, jpeg, jpe, png. - // bytes_limit_per_file has no effect on image files. - // Image inspection is restricted to 'global', 'us', 'asia', and 'europe'. + // bmp, gif, jpg, jpeg, jpe, png. Setting + // [bytes_limit_per_file][google.privacy.dlp.v2.CloudStorageOptions.bytes_limit_per_file] + // or + // [bytes_limit_per_file_percent][google.privacy.dlp.v2.CloudStorageOptions.bytes_limit_per_file] + // has no effect on image files. Image inspection is restricted to the + // `global`, `us`, `asia`, and `europe` regions. IMAGE = 3; - // Word files >30 MB will be scanned as binary files. + // Microsoft Word files larger than 30 MB will be scanned as binary files. // Included file extensions: - // docx, dotx, docm, dotm + // docx, dotx, docm, dotm. Setting `bytes_limit_per_file` or + // `bytes_limit_per_file_percent` has no effect on Word files. WORD = 5; - // PDF files >30 MB will be scanned as binary files. + // PDF files larger than 30 MB will be scanned as binary files. // Included file extensions: - // pdf + // pdf. Setting `bytes_limit_per_file` or `bytes_limit_per_file_percent` + // has no effect on PDF files. PDF = 6; // Included file extensions: @@ -370,14 +402,16 @@ enum FileType { // tsv TSV = 9; - // Powerpoint files >30 MB will be scanned as binary files. - // Included file extensions: - // pptx, pptm, potx, potm, pot + // Microsoft PowerPoint files larger than 30 MB will be scanned as binary + // files. Included file extensions: + // pptx, pptm, potx, potm, pot. Setting `bytes_limit_per_file` or + // `bytes_limit_per_file_percent` has no effect on PowerPoint files. POWERPOINT = 11; - // Excel files >30 MB will be scanned as binary files. + // Microsoft Excel files larger than 30 MB will be scanned as binary files. // Included file extensions: - // xlsx, xlsm, xltx, xltm + // xlsx, xlsm, xltx, xltm. Setting `bytes_limit_per_file` or + // `bytes_limit_per_file_percent` has no effect on Excel files. EXCEL = 12; } @@ -478,16 +512,22 @@ message CloudStorageOptions { FileSet file_set = 1; // Max number of bytes to scan from a file. If a scanned file's size is bigger - // than this value then the rest of the bytes are omitted. Only one - // of bytes_limit_per_file and bytes_limit_per_file_percent can be specified. - // Cannot be set if de-identification is requested. + // than this value then the rest of the bytes are omitted. Only one of + // `bytes_limit_per_file` and `bytes_limit_per_file_percent` can be specified. + // This field can't be set if de-identification is requested. For certain file + // types, setting this field has no effect. For more information, see [Limits + // on bytes scanned per + // file](https://cloud.google.com/dlp/docs/supported-file-types#max-byte-size-per-file). int64 bytes_limit_per_file = 4; // Max percentage of bytes to scan from a file. The rest are omitted. The // number of bytes scanned is rounded down. Must be between 0 and 100, - // inclusively. Both 0 and 100 means no limit. Defaults to 0. Only one - // of bytes_limit_per_file and bytes_limit_per_file_percent can be specified. - // Cannot be set if de-identification is requested. + // inclusively. Both 0 and 100 means no limit. Defaults to 0. Only one of + // bytes_limit_per_file and bytes_limit_per_file_percent can be specified. + // This field can't be set if de-identification is requested. For certain file + // types, setting this field has no effect. For more information, see [Limits + // on bytes scanned per + // file](https://cloud.google.com/dlp/docs/supported-file-types#max-byte-size-per-file). int32 bytes_limit_per_file_percent = 8; // List of file type groups to include in the scan. @@ -565,9 +605,15 @@ message BigQueryOptions { // References to fields excluded from scanning. This allows you to skip // inspection of entire columns which you know have no findings. + // When inspecting a table, we recommend that you inspect all columns. + // Otherwise, findings might be affected because hints from excluded columns + // will not be used. repeated FieldId excluded_fields = 5; // Limit scanning only to these fields. + // When inspecting a table, we recommend that you inspect all columns. + // Otherwise, findings might be affected because hints from excluded columns + // will not be used. repeated FieldId included_fields = 7; } diff --git a/third_party/googleapis/google/pubsub/v1/BUILD.bazel b/third_party/googleapis/google/pubsub/v1/BUILD.bazel index 4f05f45ca..aa97eaa3b 100644 --- a/third_party/googleapis/google/pubsub/v1/BUILD.bazel +++ b/third_party/googleapis/google/pubsub/v1/BUILD.bazel @@ -152,13 +152,12 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( name = "pubsub_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/pubsub/v1", + importpath = "cloud.google.com/go/pubsub/apiv1/pubsubpb", protos = [":pubsub_proto"], deps = ["//google/api:annotations_go_proto"], ) @@ -168,6 +167,7 @@ go_gapic_library( srcs = [":pubsub_proto_with_info"], grpc_service_config = "pubsub_grpc_service_config.json", importpath = "cloud.google.com/go/pubsub/apiv1;pubsub", + release_level = "ga", rest_numeric_enums = True, service_yaml = ":pubsub_v1.yaml", transport = "grpc+rest", @@ -177,19 +177,12 @@ go_gapic_library( ], ) -go_test( - name = "pubsub_go_gapic_test", - srcs = [":pubsub_go_gapic_srcjar_test"], - embed = [":pubsub_go_gapic"], - importpath = "cloud.google.com/go/pubsub/apiv1", - deps = ["//google/iam/v1:iam_go_proto"], -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-pubsub-v1-go", deps = [ ":pubsub_go_gapic", + ":pubsub_go_gapic_srcjar-snippets.srcjar", ":pubsub_go_gapic_srcjar-test.srcjar", ":pubsub_go_proto", ], @@ -202,7 +195,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -211,24 +203,16 @@ php_proto_library( deps = [":pubsub_proto"], ) -php_grpc_library( - name = "pubsub_php_grpc", - srcs = [":pubsub_proto"], - deps = [":pubsub_php_proto"], -) - php_gapic_library( name = "pubsub_php_gapic", srcs = [":pubsub_proto_with_info"], gapic_yaml = "pubsub_gapic.yaml", grpc_service_config = "pubsub_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = ":pubsub_v1.yaml", transport = "grpc+rest", - deps = [ - ":pubsub_php_grpc", - ":pubsub_php_proto", - ], + deps = [":pubsub_php_proto"], ) # Open Source Packages @@ -236,7 +220,6 @@ php_gapic_assembly_pkg( name = "google-cloud-pubsub-v1-php", deps = [ ":pubsub_php_gapic", - ":pubsub_php_grpc", ":pubsub_php_proto", ], ) @@ -353,6 +336,7 @@ csharp_grpc_library( csharp_gapic_library( name = "pubsub_csharp_gapic", srcs = [":pubsub_proto_with_info"], + common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", grpc_service_config = "pubsub_grpc_service_config.json", rest_numeric_enums = True, service_yaml = ":pubsub_v1.yaml", diff --git a/third_party/googleapis/google/pubsub/v1/pubsub.proto b/third_party/googleapis/google/pubsub/v1/pubsub.proto index 1e526d5f4..93e1e84a7 100644 --- a/third_party/googleapis/google/pubsub/v1/pubsub.proto +++ b/third_party/googleapis/google/pubsub/v1/pubsub.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -28,7 +28,7 @@ import "google/pubsub/v1/schema.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.PubSub.V1"; -option go_package = "google.golang.org/genproto/googleapis/pubsub/v1;pubsub"; +option go_package = "cloud.google.com/go/pubsub/apiv1/pubsubpb;pubsubpb"; option java_multiple_files = true; option java_outer_classname = "PubsubProto"; option java_package = "com.google.pubsub.v1"; @@ -44,7 +44,7 @@ service Publisher { "https://www.googleapis.com/auth/pubsub"; // Creates the given topic with the given name. See the [resource name rules] - // (https://cloud.google.com/pubsub/docs/admin#resource_names). + // (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). rpc CreateTopic(Topic) returns (Topic) { option (google.api.http) = { put: "/v1/{name=projects/*/topics/*}" @@ -53,8 +53,8 @@ service Publisher { option (google.api.method_signature) = "name"; } - // Updates an existing topic. Note that certain properties of a - // topic are not modifiable. + // Updates an existing topic by updating the fields specified in the update + // mask. Note that certain properties of a topic are not modifiable. rpc UpdateTopic(UpdateTopicRequest) returns (Topic) { option (google.api.http) = { patch: "/v1/{topic.name=projects/*/topics/*}" @@ -137,12 +137,21 @@ service Publisher { // A policy constraining the storage of messages published to the topic. message MessageStoragePolicy { - // A list of IDs of GCP regions where messages that are published to the topic - // may be persisted in storage. Messages published by publishers running in - // non-allowed GCP regions (or running outside of GCP altogether) will be - // routed for storage in one of the allowed regions. An empty list means that - // no regions are allowed, and is not a valid configuration. - repeated string allowed_persistence_regions = 1; + // Optional. A list of IDs of Google Cloud regions where messages that are + // published to the topic may be persisted in storage. Messages published by + // publishers running in non-allowed Google Cloud regions (or running outside + // of Google Cloud altogether) are routed for storage in one of the allowed + // regions. An empty list means that no regions are allowed, and is not a + // valid configuration. + repeated string allowed_persistence_regions = 1 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If true, `allowed_persistence_regions` is also used to enforce + // in-transit guarantees for messages. That is, Pub/Sub will fail + // Publish operations on this topic and subscribe operations + // on any subscription attached to this topic in any region that is + // not in `allowed_persistence_regions`. + bool enforce_in_transit = 2 [(google.api.field_behavior) = OPTIONAL]; } // Settings for validating messages published against a schema. @@ -156,18 +165,83 @@ message SchemaSettings { (google.api.resource_reference) = { type: "pubsub.googleapis.com/Schema" } ]; - // The encoding of messages validated against `schema`. - Encoding encoding = 2; + // Optional. The encoding of messages validated against `schema`. + Encoding encoding = 2 [(google.api.field_behavior) = OPTIONAL]; - // The minimum (inclusive) revision allowed for validating messages. If empty - // or not present, allow any revision to be validated against last_revision or - // any revision created before. - string first_revision_id = 3; + // Optional. The minimum (inclusive) revision allowed for validating messages. + // If empty or not present, allow any revision to be validated against + // last_revision or any revision created before. + string first_revision_id = 3 [(google.api.field_behavior) = OPTIONAL]; - // The maximum (inclusive) revision allowed for validating messages. If empty - // or not present, allow any revision to be validated against first_revision - // or any revision created after. - string last_revision_id = 4; + // Optional. The maximum (inclusive) revision allowed for validating messages. + // If empty or not present, allow any revision to be validated against + // first_revision or any revision created after. + string last_revision_id = 4 [(google.api.field_behavior) = OPTIONAL]; +} + +// Settings for an ingestion data source on a topic. +message IngestionDataSourceSettings { + // Ingestion settings for Amazon Kinesis Data Streams. + message AwsKinesis { + // Possible states for ingestion from Amazon Kinesis Data Streams. + enum State { + // Default value. This value is unused. + STATE_UNSPECIFIED = 0; + + // Ingestion is active. + ACTIVE = 1; + + // Permission denied encountered while consuming data from Kinesis. + // This can happen if: + // - The provided `aws_role_arn` does not exist or does not have the + // appropriate permissions attached. + // - The provided `aws_role_arn` is not set up properly for Identity + // Federation using `gcp_service_account`. + // - The Pub/Sub SA is not granted the + // `iam.serviceAccounts.getOpenIdToken` permission on + // `gcp_service_account`. + KINESIS_PERMISSION_DENIED = 2; + + // Permission denied encountered while publishing to the topic. This can + // happen due to Pub/Sub SA has not been granted the [appropriate publish + // permissions](https://cloud.google.com/pubsub/docs/access-control#pubsub.publisher) + PUBLISH_PERMISSION_DENIED = 3; + + // The Kinesis stream does not exist. + STREAM_NOT_FOUND = 4; + + // The Kinesis consumer does not exist. + CONSUMER_NOT_FOUND = 5; + } + + // Output only. An output-only field that indicates the state of the Kinesis + // ingestion source. + State state = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Required. The Kinesis stream ARN to ingest data from. + string stream_arn = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The Kinesis consumer ARN to used for ingestion in Enhanced + // Fan-Out mode. The consumer must be already created and ready to be used. + string consumer_arn = 3 [(google.api.field_behavior) = REQUIRED]; + + // Required. AWS role ARN to be used for Federated Identity authentication + // with Kinesis. Check the Pub/Sub docs for how to set up this role and the + // required permissions that need to be attached to it. + string aws_role_arn = 4 [(google.api.field_behavior) = REQUIRED]; + + // Required. The GCP service account to be used for Federated Identity + // authentication with Kinesis (via a `AssumeRoleWithWebIdentity` call for + // the provided role). The `aws_role_arn` must be set up with + // `accounts.google.com:sub` equals to this service account number. + string gcp_service_account = 5 [(google.api.field_behavior) = REQUIRED]; + } + + // Only one source type can have settings set. + oneof source { + // Optional. Amazon Kinesis Data Streams. + AwsKinesis aws_kinesis = 1 [(google.api.field_behavior) = OPTIONAL]; + } } // A topic resource. @@ -178,6 +252,20 @@ message Topic { pattern: "_deleted-topic_" }; + // The state of the topic. + enum State { + // Default value. This value is unused. + STATE_UNSPECIFIED = 0; + + // The topic does not have any persistent errors. + ACTIVE = 1; + + // Ingestion from the data source has encountered a permanent error. + // See the more detailed error state in the corresponding ingestion + // source configuration. + INGESTION_RESOURCE_ERROR = 2; + } + // Required. The name of the topic. It must have the format // `"projects/{project}/topics/{topic}"`. `{topic}` must start with a letter, // and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), @@ -186,37 +274,47 @@ message Topic { // must not start with `"goog"`. string name = 1 [(google.api.field_behavior) = REQUIRED]; - // See [Creating and managing labels] + // Optional. See [Creating and managing labels] // (https://cloud.google.com/pubsub/docs/labels). - map labels = 2; + map labels = 2 [(google.api.field_behavior) = OPTIONAL]; - // Policy constraining the set of Google Cloud Platform regions where messages - // published to the topic may be stored. If not present, then no constraints - // are in effect. - MessageStoragePolicy message_storage_policy = 3; + // Optional. Policy constraining the set of Google Cloud Platform regions + // where messages published to the topic may be stored. If not present, then + // no constraints are in effect. + MessageStoragePolicy message_storage_policy = 3 + [(google.api.field_behavior) = OPTIONAL]; - // The resource name of the Cloud KMS CryptoKey to be used to protect access - // to messages published on this topic. + // Optional. The resource name of the Cloud KMS CryptoKey to be used to + // protect access to messages published on this topic. // // The expected format is `projects/*/locations/*/keyRings/*/cryptoKeys/*`. - string kms_key_name = 5; + string kms_key_name = 5 [(google.api.field_behavior) = OPTIONAL]; - // Settings for validating messages published against a schema. - SchemaSettings schema_settings = 6; + // Optional. Settings for validating messages published against a schema. + SchemaSettings schema_settings = 6 [(google.api.field_behavior) = OPTIONAL]; - // Reserved for future use. This field is set only in responses from the - // server; it is ignored if it is set in any requests. - bool satisfies_pzs = 7; + // Optional. Reserved for future use. This field is set only in responses from + // the server; it is ignored if it is set in any requests. + bool satisfies_pzs = 7 [(google.api.field_behavior) = OPTIONAL]; - // Indicates the minimum duration to retain a message after it is published to - // the topic. If this field is set, messages published to the topic in the - // last `message_retention_duration` are always available to subscribers. For - // instance, it allows any attached subscription to [seek to a + // Optional. Indicates the minimum duration to retain a message after it is + // published to the topic. If this field is set, messages published to the + // topic in the last `message_retention_duration` are always available to + // subscribers. For instance, it allows any attached subscription to [seek to + // a // timestamp](https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time) // that is up to `message_retention_duration` in the past. If this field is // not set, message retention is controlled by settings on individual // subscriptions. Cannot be more than 31 days or less than 10 minutes. - google.protobuf.Duration message_retention_duration = 8; + google.protobuf.Duration message_retention_duration = 8 + [(google.api.field_behavior) = OPTIONAL]; + + // Output only. An output-only field indicating the state of the topic. + State state = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. Settings for ingestion from a data source into this topic. + IngestionDataSourceSettings ingestion_data_source_settings = 10 + [(google.api.field_behavior) = OPTIONAL]; } // A message that is published by publishers and consumed by subscribers. The @@ -228,14 +326,14 @@ message Topic { // (https://cloud.google.com/pubsub/quotas) for more information about message // limits. message PubsubMessage { - // The message data field. If this field is empty, the message must contain - // at least one attribute. - bytes data = 1; + // Optional. The message data field. If this field is empty, the message must + // contain at least one attribute. + bytes data = 1 [(google.api.field_behavior) = OPTIONAL]; - // Attributes for this message. If this field is empty, the message must - // contain non-empty data. This can be used to filter messages on the + // Optional. Attributes for this message. If this field is empty, the message + // must contain non-empty data. This can be used to filter messages on the // subscription. - map attributes = 2; + map attributes = 2 [(google.api.field_behavior) = OPTIONAL]; // ID of this message, assigned by the server when the message is published. // Guaranteed to be unique within the topic. This value may be read by a @@ -248,15 +346,15 @@ message PubsubMessage { // publisher in a `Publish` call. google.protobuf.Timestamp publish_time = 4; - // If non-empty, identifies related messages for which publish order should be - // respected. If a `Subscription` has `enable_message_ordering` set to `true`, - // messages published with the same non-empty `ordering_key` value will be - // delivered to subscribers in the order in which they are received by the - // Pub/Sub system. All `PubsubMessage`s published in a given `PublishRequest` - // must specify the same `ordering_key` value. - // For more information, see [ordering + // Optional. If non-empty, identifies related messages for which publish order + // should be respected. If a `Subscription` has `enable_message_ordering` set + // to `true`, messages published with the same non-empty `ordering_key` value + // will be delivered to subscribers in the order in which they are received by + // the Pub/Sub system. All `PubsubMessage`s published in a given + // `PublishRequest` must specify the same `ordering_key` value. For more + // information, see [ordering // messages](https://cloud.google.com/pubsub/docs/ordering). - string ordering_key = 5; + string ordering_key = 5 [(google.api.field_behavior) = OPTIONAL]; } // Request for the GetTopic method. @@ -298,10 +396,10 @@ message PublishRequest { // Response for the `Publish` method. message PublishResponse { - // The server-assigned ID of each published message, in the same order as - // the messages in the request. IDs are guaranteed to be unique within - // the topic. - repeated string message_ids = 1; + // Optional. The server-assigned ID of each published message, in the same + // order as the messages in the request. IDs are guaranteed to be unique + // within the topic. + repeated string message_ids = 1 [(google.api.field_behavior) = OPTIONAL]; } // Request for the `ListTopics` method. @@ -315,23 +413,23 @@ message ListTopicsRequest { } ]; - // Maximum number of topics to return. - int32 page_size = 2; + // Optional. Maximum number of topics to return. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - // The value returned by the last `ListTopicsResponse`; indicates that this is - // a continuation of a prior `ListTopics` call, and that the system should - // return the next page of data. - string page_token = 3; + // Optional. The value returned by the last `ListTopicsResponse`; indicates + // that this is a continuation of a prior `ListTopics` call, and that the + // system should return the next page of data. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; } // Response for the `ListTopics` method. message ListTopicsResponse { - // The resulting topics. - repeated Topic topics = 1; + // Optional. The resulting topics. + repeated Topic topics = 1 [(google.api.field_behavior) = OPTIONAL]; - // If not empty, indicates that there may be more topics that match the - // request; this value should be passed in a new `ListTopicsRequest`. - string next_page_token = 2; + // Optional. If not empty, indicates that there may be more topics that match + // the request; this value should be passed in a new `ListTopicsRequest`. + string next_page_token = 2 [(google.api.field_behavior) = OPTIONAL]; } // Request for the `ListTopicSubscriptions` method. @@ -343,26 +441,30 @@ message ListTopicSubscriptionsRequest { (google.api.resource_reference) = { type: "pubsub.googleapis.com/Topic" } ]; - // Maximum number of subscription names to return. - int32 page_size = 2; + // Optional. Maximum number of subscription names to return. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - // The value returned by the last `ListTopicSubscriptionsResponse`; indicates - // that this is a continuation of a prior `ListTopicSubscriptions` call, and - // that the system should return the next page of data. - string page_token = 3; + // Optional. The value returned by the last `ListTopicSubscriptionsResponse`; + // indicates that this is a continuation of a prior `ListTopicSubscriptions` + // call, and that the system should return the next page of data. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; } // Response for the `ListTopicSubscriptions` method. message ListTopicSubscriptionsResponse { - // The names of subscriptions attached to the topic specified in the request. - repeated string subscriptions = 1 [(google.api.resource_reference) = { - type: "pubsub.googleapis.com/Subscription" - }]; + // Optional. The names of subscriptions attached to the topic specified in the + // request. + repeated string subscriptions = 1 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.resource_reference) = { + type: "pubsub.googleapis.com/Subscription" + } + ]; - // If not empty, indicates that there may be more subscriptions that match - // the request; this value should be passed in a new + // Optional. If not empty, indicates that there may be more subscriptions that + // match the request; this value should be passed in a new // `ListTopicSubscriptionsRequest` to get more subscriptions. - string next_page_token = 2; + string next_page_token = 2 [(google.api.field_behavior) = OPTIONAL]; } // Request for the `ListTopicSnapshots` method. @@ -374,24 +476,24 @@ message ListTopicSnapshotsRequest { (google.api.resource_reference) = { type: "pubsub.googleapis.com/Topic" } ]; - // Maximum number of snapshot names to return. - int32 page_size = 2; + // Optional. Maximum number of snapshot names to return. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - // The value returned by the last `ListTopicSnapshotsResponse`; indicates - // that this is a continuation of a prior `ListTopicSnapshots` call, and - // that the system should return the next page of data. - string page_token = 3; + // Optional. The value returned by the last `ListTopicSnapshotsResponse`; + // indicates that this is a continuation of a prior `ListTopicSnapshots` call, + // and that the system should return the next page of data. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; } // Response for the `ListTopicSnapshots` method. message ListTopicSnapshotsResponse { - // The names of the snapshots that match the request. - repeated string snapshots = 1; + // Optional. The names of the snapshots that match the request. + repeated string snapshots = 1 [(google.api.field_behavior) = OPTIONAL]; - // If not empty, indicates that there may be more snapshots that match - // the request; this value should be passed in a new + // Optional. If not empty, indicates that there may be more snapshots that + // match the request; this value should be passed in a new // `ListTopicSnapshotsRequest` to get more snapshots. - string next_page_token = 2; + string next_page_token = 2 [(google.api.field_behavior) = OPTIONAL]; } // Request for the `DeleteTopic` method. @@ -430,16 +532,16 @@ service Subscriber { "https://www.googleapis.com/auth/pubsub"; // Creates a subscription to a given topic. See the [resource name rules] - // (https://cloud.google.com/pubsub/docs/admin#resource_names). + // (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). // If the subscription already exists, returns `ALREADY_EXISTS`. // If the corresponding topic doesn't exist, returns `NOT_FOUND`. // // If the name is not provided in the request, the server will assign a random // name for this subscription on the same project as the topic, conforming // to the [resource name format] - // (https://cloud.google.com/pubsub/docs/admin#resource_names). The generated - // name is populated in the returned Subscription object. Note that for REST - // API requests, you must specify a name in the request. + // (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). The + // generated name is populated in the returned Subscription object. Note that + // for REST API requests, you must specify a name in the request. rpc CreateSubscription(Subscription) returns (Subscription) { option (google.api.http) = { put: "/v1/{name=projects/*/subscriptions/*}" @@ -457,8 +559,9 @@ service Subscriber { option (google.api.method_signature) = "subscription"; } - // Updates an existing subscription. Note that certain properties of a - // subscription, such as its topic, are not modifiable. + // Updates an existing subscription by updating the fields specified in the + // update mask. Note that certain properties of a subscription, such as its + // topic, are not modifiable. rpc UpdateSubscription(UpdateSubscriptionRequest) returns (Subscription) { option (google.api.http) = { patch: "/v1/{subscription.name=projects/*/subscriptions/*}" @@ -592,7 +695,7 @@ service Subscriber { // the request, the server will assign a random // name for this snapshot on the same project as the subscription, conforming // to the [resource name format] - // (https://cloud.google.com/pubsub/docs/admin#resource_names). The + // (https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). The // generated name is populated in the returned Snapshot object. Note that for // REST API requests, you must specify a name in the request. rpc CreateSnapshot(CreateSnapshotRequest) returns (Snapshot) { @@ -603,7 +706,8 @@ service Subscriber { option (google.api.method_signature) = "name,subscription"; } - // Updates an existing snapshot. Snapshots are used in + // Updates an existing snapshot by updating the fields specified in the update + // mask. Snapshots are used in // [Seek](https://cloud.google.com/pubsub/docs/replay-overview) operations, // which allow you to manage message acknowledgments in bulk. That is, you can // set the acknowledgment state of messages in an existing subscription to the @@ -647,9 +751,9 @@ service Subscriber { } } -// A subscription resource. If none of `push_config` or `bigquery_config` is -// set, then the subscriber will pull and ack messages using API methods. At -// most one of these fields may be set. +// A subscription resource. If none of `push_config`, `bigquery_config`, or +// `cloud_storage_config` is set, then the subscriber will pull and ack messages +// using API methods. At most one of these fields may be set. message Subscription { option (google.api.resource) = { type: "pubsub.googleapis.com/Subscription" @@ -686,19 +790,24 @@ message Subscription { (google.api.resource_reference) = { type: "pubsub.googleapis.com/Topic" } ]; - // If push delivery is used with this subscription, this field is - // used to configure it. - PushConfig push_config = 4; - - // If delivery to BigQuery is used with this subscription, this field is + // Optional. If push delivery is used with this subscription, this field is // used to configure it. - BigQueryConfig bigquery_config = 18; - - // The approximate amount of time (on a best-effort basis) Pub/Sub waits for - // the subscriber to acknowledge receipt before resending the message. In the - // interval after the message is delivered and before it is acknowledged, it - // is considered to be _outstanding_. During that time period, the - // message will not be redelivered (on a best-effort basis). + PushConfig push_config = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If delivery to BigQuery is used with this subscription, this + // field is used to configure it. + BigQueryConfig bigquery_config = 18 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If delivery to Google Cloud Storage is used with this + // subscription, this field is used to configure it. + CloudStorageConfig cloud_storage_config = 22 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The approximate amount of time (on a best-effort basis) Pub/Sub + // waits for the subscriber to acknowledge receipt before resending the + // message. In the interval after the message is delivered and before it is + // acknowledged, it is considered to be _outstanding_. During that time + // period, the message will not be redelivered (on a best-effort basis). // // For pull subscriptions, this value is used as the initial value for the ack // deadline. To override this value for a given message, call @@ -714,78 +823,81 @@ message Subscription { // // If the subscriber never acknowledges the message, the Pub/Sub // system will eventually redeliver the message. - int32 ack_deadline_seconds = 5; + int32 ack_deadline_seconds = 5 [(google.api.field_behavior) = OPTIONAL]; - // Indicates whether to retain acknowledged messages. If true, then + // Optional. Indicates whether to retain acknowledged messages. If true, then // messages are not expunged from the subscription's backlog, even if they are // acknowledged, until they fall out of the `message_retention_duration` // window. This must be true if you would like to [`Seek` to a timestamp] // (https://cloud.google.com/pubsub/docs/replay-overview#seek_to_a_time) in // the past to replay previously-acknowledged messages. - bool retain_acked_messages = 7; + bool retain_acked_messages = 7 [(google.api.field_behavior) = OPTIONAL]; - // How long to retain unacknowledged messages in the subscription's backlog, - // from the moment a message is published. - // If `retain_acked_messages` is true, then this also configures the retention - // of acknowledged messages, and thus configures how far back in time a `Seek` - // can be done. Defaults to 7 days. Cannot be more than 7 days or less than 10 - // minutes. - google.protobuf.Duration message_retention_duration = 8; + // Optional. How long to retain unacknowledged messages in the subscription's + // backlog, from the moment a message is published. If `retain_acked_messages` + // is true, then this also configures the retention of acknowledged messages, + // and thus configures how far back in time a `Seek` can be done. Defaults to + // 7 days. Cannot be more than 7 days or less than 10 minutes. + google.protobuf.Duration message_retention_duration = 8 + [(google.api.field_behavior) = OPTIONAL]; - // See [Creating and managing + // Optional. See [Creating and managing // labels](https://cloud.google.com/pubsub/docs/labels). - map labels = 9; - - // If true, messages published with the same `ordering_key` in `PubsubMessage` - // will be delivered to the subscribers in the order in which they - // are received by the Pub/Sub system. Otherwise, they may be delivered in - // any order. - bool enable_message_ordering = 10; - - // A policy that specifies the conditions for this subscription's expiration. - // A subscription is considered active as long as any connected subscriber is - // successfully consuming messages from the subscription or is issuing - // operations on the subscription. If `expiration_policy` is not set, a - // *default policy* with `ttl` of 31 days will be used. The minimum allowed + map labels = 9 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If true, messages published with the same `ordering_key` in + // `PubsubMessage` will be delivered to the subscribers in the order in which + // they are received by the Pub/Sub system. Otherwise, they may be delivered + // in any order. + bool enable_message_ordering = 10 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. A policy that specifies the conditions for this subscription's + // expiration. A subscription is considered active as long as any connected + // subscriber is successfully consuming messages from the subscription or is + // issuing operations on the subscription. If `expiration_policy` is not set, + // a *default policy* with `ttl` of 31 days will be used. The minimum allowed // value for `expiration_policy.ttl` is 1 day. If `expiration_policy` is set, // but `expiration_policy.ttl` is not set, the subscription never expires. - ExpirationPolicy expiration_policy = 11; + ExpirationPolicy expiration_policy = 11 + [(google.api.field_behavior) = OPTIONAL]; - // An expression written in the Pub/Sub [filter + // Optional. An expression written in the Pub/Sub [filter // language](https://cloud.google.com/pubsub/docs/filtering). If non-empty, // then only `PubsubMessage`s whose `attributes` field matches the filter are // delivered on this subscription. If empty, then no messages are filtered // out. - string filter = 12; + string filter = 12 [(google.api.field_behavior) = OPTIONAL]; - // A policy that specifies the conditions for dead lettering messages in - // this subscription. If dead_letter_policy is not set, dead lettering - // is disabled. + // Optional. A policy that specifies the conditions for dead lettering + // messages in this subscription. If dead_letter_policy is not set, dead + // lettering is disabled. // - // The Cloud Pub/Sub service account associated with this subscriptions's + // The Pub/Sub service account associated with this subscriptions's // parent project (i.e., // service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com) must have // permission to Acknowledge() messages on this subscription. - DeadLetterPolicy dead_letter_policy = 13; + DeadLetterPolicy dead_letter_policy = 13 + [(google.api.field_behavior) = OPTIONAL]; - // A policy that specifies how Pub/Sub retries message delivery for this - // subscription. + // Optional. A policy that specifies how Pub/Sub retries message delivery for + // this subscription. // // If not set, the default retry policy is applied. This generally implies // that messages will be retried as soon as possible for healthy subscribers. // RetryPolicy will be triggered on NACKs or acknowledgement deadline // exceeded events for a given message. - RetryPolicy retry_policy = 14; + RetryPolicy retry_policy = 14 [(google.api.field_behavior) = OPTIONAL]; - // Indicates whether the subscription is detached from its topic. Detached - // subscriptions don't receive messages from their topic and don't retain any - // backlog. `Pull` and `StreamingPull` requests will return + // Optional. Indicates whether the subscription is detached from its topic. + // Detached subscriptions don't receive messages from their topic and don't + // retain any backlog. `Pull` and `StreamingPull` requests will return // FAILED_PRECONDITION. If the subscription is a push subscription, pushes to // the endpoint will not be made. - bool detached = 15; + bool detached = 15 [(google.api.field_behavior) = OPTIONAL]; - // If true, Pub/Sub provides the following guarantees for the delivery of - // a message with a given value of `message_id` on this subscription: + // Optional. If true, Pub/Sub provides the following guarantees for the + // delivery of a message with a given value of `message_id` on this + // subscription: // // * The message sent to a subscriber is guaranteed not to be resent // before the message's acknowledgement deadline expires. @@ -795,7 +907,8 @@ message Subscription { // when `enable_exactly_once_delivery` is true if the message was published // multiple times by a publisher client. These copies are considered distinct // by Pub/Sub and have distinct `message_id` values. - bool enable_exactly_once_delivery = 16; + bool enable_exactly_once_delivery = 16 + [(google.api.field_behavior) = OPTIONAL]; // Output only. Indicates the minimum duration for which a message is retained // after it is published to the subscription's topic. If this field is set, @@ -811,7 +924,7 @@ message Subscription { State state = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; } -// A policy that specifies how Cloud Pub/Sub retries message delivery. +// A policy that specifies how Pub/Sub retries message delivery. // // Retry delay will be exponential based on provided minimum and maximum // backoffs. https://en.wikipedia.org/wiki/Exponential_backoff. @@ -823,13 +936,16 @@ message Subscription { // between consecutive deliveries may not match the configuration. That is, // delay can be more or less than configured backoff. message RetryPolicy { - // The minimum delay between consecutive deliveries of a given message. - // Value should be between 0 and 600 seconds. Defaults to 10 seconds. - google.protobuf.Duration minimum_backoff = 1; - - // The maximum delay between consecutive deliveries of a given message. - // Value should be between 0 and 600 seconds. Defaults to 600 seconds. - google.protobuf.Duration maximum_backoff = 2; + // Optional. The minimum delay between consecutive deliveries of a given + // message. Value should be between 0 and 600 seconds. Defaults to 10 seconds. + google.protobuf.Duration minimum_backoff = 1 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The maximum delay between consecutive deliveries of a given + // message. Value should be between 0 and 600 seconds. Defaults to 600 + // seconds. + google.protobuf.Duration maximum_backoff = 2 + [(google.api.field_behavior) = OPTIONAL]; } // Dead lettering is done on a best effort basis. The same message might be @@ -838,19 +954,19 @@ message RetryPolicy { // If validation on any of the fields fails at subscription creation/updation, // the create/update subscription request will fail. message DeadLetterPolicy { - // The name of the topic to which dead letter messages should be published. - // Format is `projects/{project}/topics/{topic}`.The Cloud Pub/Sub service - // account associated with the enclosing subscription's parent project (i.e., - // service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com) must have - // permission to Publish() to this topic. + // Optional. The name of the topic to which dead letter messages should be + // published. Format is `projects/{project}/topics/{topic}`.The Pub/Sub + // service account associated with the enclosing subscription's parent project + // (i.e., service-{project_number}@gcp-sa-pubsub.iam.gserviceaccount.com) must + // have permission to Publish() to this topic. // // The operation will fail if the topic does not exist. // Users should ensure that there is a subscription attached to this topic // since messages published to a topic with no subscriptions are lost. - string dead_letter_topic = 1; + string dead_letter_topic = 1 [(google.api.field_behavior) = OPTIONAL]; - // The maximum number of delivery attempts for any message. The value must be - // between 5 and 100. + // Optional. The maximum number of delivery attempts for any message. The + // value must be between 5 and 100. // // The number of delivery attempts is defined as 1 + (the sum of number of // NACKs and number of times the acknowledgement deadline has been exceeded @@ -862,19 +978,19 @@ message DeadLetterPolicy { // This field will be honored on a best effort basis. // // If this parameter is 0, a default value of 5 is used. - int32 max_delivery_attempts = 2; + int32 max_delivery_attempts = 2 [(google.api.field_behavior) = OPTIONAL]; } // A policy that specifies the conditions for resource expiration (i.e., // automatic resource deletion). message ExpirationPolicy { - // Specifies the "time-to-live" duration for an associated resource. The - // resource expires if it is not active for a period of `ttl`. The definition - // of "activity" depends on the type of the associated resource. The minimum - // and maximum allowed values for `ttl` depend on the type of the associated - // resource, as well. If `ttl` is not set, the associated resource never - // expires. - google.protobuf.Duration ttl = 1; + // Optional. Specifies the "time-to-live" duration for an associated resource. + // The resource expires if it is not active for a period of `ttl`. The + // definition of "activity" depends on the type of the associated resource. + // The minimum and maximum allowed values for `ttl` depend on the type of the + // associated resource, as well. If `ttl` is not set, the associated resource + // never expires. + google.protobuf.Duration ttl = 1 [(google.api.field_behavior) = OPTIONAL]; } // Configuration for a push delivery endpoint. @@ -883,28 +999,42 @@ message PushConfig { // [OpenID Connect // token](https://developers.google.com/identity/protocols/OpenIDConnect). message OidcToken { - // [Service account + // Optional. [Service account // email](https://cloud.google.com/iam/docs/service-accounts) - // to be used for generating the OIDC token. The caller (for - // CreateSubscription, UpdateSubscription, and ModifyPushConfig RPCs) must - // have the iam.serviceAccounts.actAs permission for the service account. - string service_account_email = 1; - - // Audience to be used when generating OIDC token. The audience claim - // identifies the recipients that the JWT is intended for. The audience - // value is a single case-sensitive string. Having multiple values (array) - // for the audience field is not supported. More info about the OIDC JWT - // token audience here: https://tools.ietf.org/html/rfc7519#section-4.1.3 - // Note: if not specified, the Push endpoint URL will be used. - string audience = 2; + // used for generating the OIDC token. For more information + // on setting up authentication, see + // [Push subscriptions](https://cloud.google.com/pubsub/docs/push). + string service_account_email = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Audience to be used when generating OIDC token. The audience + // claim identifies the recipients that the JWT is intended for. The + // audience value is a single case-sensitive string. Having multiple values + // (array) for the audience field is not supported. More info about the OIDC + // JWT token audience here: + // https://tools.ietf.org/html/rfc7519#section-4.1.3 Note: if not specified, + // the Push endpoint URL will be used. + string audience = 2 [(google.api.field_behavior) = OPTIONAL]; } - // A URL locating the endpoint to which messages should be pushed. + // The payload to the push endpoint is in the form of the JSON representation + // of a PubsubMessage + // (https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage). + message PubsubWrapper {} + + // Sets the `data` field as the HTTP body for delivery. + message NoWrapper { + // Optional. When true, writes the Pub/Sub message metadata to + // `x-goog-pubsub-:` headers of the HTTP request. Writes the + // Pub/Sub message attributes to `:` headers of the HTTP request. + bool write_metadata = 1 [(google.api.field_behavior) = OPTIONAL]; + } + + // Optional. A URL locating the endpoint to which messages should be pushed. // For example, a Webhook endpoint might use `https://example.com/push`. - string push_endpoint = 1; + string push_endpoint = 1 [(google.api.field_behavior) = OPTIONAL]; - // Endpoint configuration attributes that can be used to control different - // aspects of the message delivery. + // Optional. Endpoint configuration attributes that can be used to control + // different aspects of the message delivery. // // The only currently supported attribute is `x-goog-version`, which you can // use to change the format of the pushed message. This attribute @@ -924,17 +1054,30 @@ message PushConfig { // // For example: // `attributes { "x-goog-version": "v1" }` - map attributes = 2; + map attributes = 2 [(google.api.field_behavior) = OPTIONAL]; // An authentication method used by push endpoints to verify the source of // push requests. This can be used with push endpoints that are private by - // default to allow requests only from the Cloud Pub/Sub system, for example. + // default to allow requests only from the Pub/Sub system, for example. // This field is optional and should be set only by users interested in // authenticated push. oneof authentication_method { - // If specified, Pub/Sub will generate and attach an OIDC JWT token as an - // `Authorization` header in the HTTP request for every pushed message. - OidcToken oidc_token = 3; + // Optional. If specified, Pub/Sub will generate and attach an OIDC JWT + // token as an `Authorization` header in the HTTP request for every pushed + // message. + OidcToken oidc_token = 3 [(google.api.field_behavior) = OPTIONAL]; + } + + // The format of the delivered message to the push endpoint is defined by + // the chosen wrapper. When unset, `PubsubWrapper` is used. + oneof wrapper { + // Optional. When set, the payload to the push endpoint is in the form of + // the JSON representation of a PubsubMessage + // (https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage). + PubsubWrapper pubsub_wrapper = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. When set, the payload to the push endpoint is not wrapped. + NoWrapper no_wrapper = 5 [(google.api.field_behavior) = OPTIONAL]; } } @@ -961,45 +1104,136 @@ message BigQueryConfig { // Cannot write to the BigQuery table due to a schema mismatch. SCHEMA_MISMATCH = 4; + + // Cannot write to the destination because enforce_in_transit is set to true + // and the destination locations are not in the allowed regions. + IN_TRANSIT_LOCATION_RESTRICTION = 5; } - // The name of the table to which to write data, of the form + // Optional. The name of the table to which to write data, of the form // {projectId}.{datasetId}.{tableId} - string table = 1; + string table = 1 [(google.api.field_behavior) = OPTIONAL]; - // When true, use the topic's schema as the columns to write to in BigQuery, - // if it exists. - bool use_topic_schema = 2; + // Optional. When true, use the topic's schema as the columns to write to in + // BigQuery, if it exists. `use_topic_schema` and `use_table_schema` cannot be + // enabled at the same time. + bool use_topic_schema = 2 [(google.api.field_behavior) = OPTIONAL]; - // When true, write the subscription name, message_id, publish_time, + // Optional. When true, write the subscription name, message_id, publish_time, // attributes, and ordering_key to additional columns in the table. The // subscription name, message_id, and publish_time fields are put in their own // columns while all other message properties (other than data) are written to // a JSON object in the attributes column. - bool write_metadata = 3; + bool write_metadata = 3 [(google.api.field_behavior) = OPTIONAL]; - // When true and use_topic_schema is true, any fields that are a part of the - // topic schema that are not part of the BigQuery table schema are dropped - // when writing to BigQuery. Otherwise, the schemas must be kept in sync and - // any messages with extra fields are not written and remain in the + // Optional. When true and use_topic_schema is true, any fields that are a + // part of the topic schema that are not part of the BigQuery table schema are + // dropped when writing to BigQuery. Otherwise, the schemas must be kept in + // sync and any messages with extra fields are not written and remain in the // subscription's backlog. - bool drop_unknown_fields = 4; + bool drop_unknown_fields = 4 [(google.api.field_behavior) = OPTIONAL]; // Output only. An output-only field that indicates whether or not the // subscription can receive messages. State state = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. When true, use the BigQuery table's schema as the columns to + // write to in BigQuery. `use_table_schema` and `use_topic_schema` cannot be + // enabled at the same time. + bool use_table_schema = 6 [(google.api.field_behavior) = OPTIONAL]; +} + +// Configuration for a Cloud Storage subscription. +message CloudStorageConfig { + // Configuration for writing message data in text format. + // Message payloads will be written to files as raw text, separated by a + // newline. + message TextConfig {} + + // Configuration for writing message data in Avro format. + // Message payloads and metadata will be written to files as an Avro binary. + message AvroConfig { + // Optional. When true, write the subscription name, message_id, + // publish_time, attributes, and ordering_key as additional fields in the + // output. The subscription name, message_id, and publish_time fields are + // put in their own fields while all other message properties other than + // data (for example, an ordering_key, if present) are added as entries in + // the attributes map. + bool write_metadata = 1 [(google.api.field_behavior) = OPTIONAL]; + } + + // Possible states for a Cloud Storage subscription. + enum State { + // Default value. This value is unused. + STATE_UNSPECIFIED = 0; + + // The subscription can actively send messages to Cloud Storage. + ACTIVE = 1; + + // Cannot write to the Cloud Storage bucket because of permission denied + // errors. + PERMISSION_DENIED = 2; + + // Cannot write to the Cloud Storage bucket because it does not exist. + NOT_FOUND = 3; + + // Cannot write to the destination because enforce_in_transit is set to true + // and the destination locations are not in the allowed regions. + IN_TRANSIT_LOCATION_RESTRICTION = 4; + } + + // Required. User-provided name for the Cloud Storage bucket. + // The bucket must be created by the user. The bucket name must be without + // any prefix like "gs://". See the [bucket naming + // requirements] (https://cloud.google.com/storage/docs/buckets#naming). + string bucket = 1 [(google.api.field_behavior) = REQUIRED]; + + // Optional. User-provided prefix for Cloud Storage filename. See the [object + // naming requirements](https://cloud.google.com/storage/docs/objects#naming). + string filename_prefix = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. User-provided suffix for Cloud Storage filename. See the [object + // naming requirements](https://cloud.google.com/storage/docs/objects#naming). + // Must not end in "/". + string filename_suffix = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Defaults to text format. + oneof output_format { + // Optional. If set, message data will be written to Cloud Storage in text + // format. + TextConfig text_config = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If set, message data will be written to Cloud Storage in Avro + // format. + AvroConfig avro_config = 5 [(google.api.field_behavior) = OPTIONAL]; + } + + // Optional. The maximum duration that can elapse before a new Cloud Storage + // file is created. Min 1 minute, max 10 minutes, default 5 minutes. May not + // exceed the subscription's acknowledgement deadline. + google.protobuf.Duration max_duration = 6 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The maximum bytes that can be written to a Cloud Storage file + // before a new file is created. Min 1 KB, max 10 GiB. The max_bytes limit may + // be exceeded in cases where messages are larger than the limit. + int64 max_bytes = 7 [(google.api.field_behavior) = OPTIONAL]; + + // Output only. An output-only field that indicates whether or not the + // subscription can receive messages. + State state = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; } // A message and its corresponding acknowledgment ID. message ReceivedMessage { - // This ID can be used to acknowledge the received message. - string ack_id = 1; + // Optional. This ID can be used to acknowledge the received message. + string ack_id = 1 [(google.api.field_behavior) = OPTIONAL]; - // The message. - PubsubMessage message = 2; + // Optional. The message. + PubsubMessage message = 2 [(google.api.field_behavior) = OPTIONAL]; - // The approximate number of times that Cloud Pub/Sub has attempted to deliver - // the associated message to a subscriber. + // Optional. The approximate number of times that Pub/Sub has attempted to + // deliver the associated message to a subscriber. // // More precisely, this is 1 + (number of NACKs) + // (number of ack_deadline exceeds) for this message. @@ -1014,7 +1248,7 @@ message ReceivedMessage { // value of 1. The value is calculated at best effort and is approximate. // // If a DeadLetterPolicy is not set on the subscription, this will be 0. - int32 delivery_attempt = 3; + int32 delivery_attempt = 3 [(google.api.field_behavior) = OPTIONAL]; } // Request for the GetSubscription method. @@ -1051,24 +1285,25 @@ message ListSubscriptionsRequest { } ]; - // Maximum number of subscriptions to return. - int32 page_size = 2; + // Optional. Maximum number of subscriptions to return. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - // The value returned by the last `ListSubscriptionsResponse`; indicates that - // this is a continuation of a prior `ListSubscriptions` call, and that the - // system should return the next page of data. - string page_token = 3; + // Optional. The value returned by the last `ListSubscriptionsResponse`; + // indicates that this is a continuation of a prior `ListSubscriptions` call, + // and that the system should return the next page of data. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; } // Response for the `ListSubscriptions` method. message ListSubscriptionsResponse { - // The subscriptions that match the request. - repeated Subscription subscriptions = 1; + // Optional. The subscriptions that match the request. + repeated Subscription subscriptions = 1 + [(google.api.field_behavior) = OPTIONAL]; - // If not empty, indicates that there may be more subscriptions that match - // the request; this value should be passed in a new + // Optional. If not empty, indicates that there may be more subscriptions that + // match the request; this value should be passed in a new // `ListSubscriptionsRequest` to get more subscriptions. - string next_page_token = 2; + string next_page_token = 2 [(google.api.field_behavior) = OPTIONAL]; } // Request for the DeleteSubscription method. @@ -1132,12 +1367,13 @@ message PullRequest { // Response for the `Pull` method. message PullResponse { - // Received Pub/Sub messages. The list will be empty if there are no more - // messages available in the backlog, or if no messages could be returned + // Optional. Received Pub/Sub messages. The list will be empty if there are no + // more messages available in the backlog, or if no messages could be returned // before the request timeout. For JSON, the response can be entirely // empty. The Pub/Sub system may return fewer than the `maxMessages` requested // even if there are more messages available in the backlog. - repeated ReceivedMessage received_messages = 1; + repeated ReceivedMessage received_messages = 1 + [(google.api.field_behavior) = OPTIONAL]; } // Request for the ModifyAckDeadline method. @@ -1161,7 +1397,8 @@ message ModifyAckDeadlineRequest { // delivery to another subscriber client. This typically results in an // increase in the rate of message redeliveries (that is, duplicates). // The minimum deadline you can specify is 0 seconds. - // The maximum deadline you can specify is 600 seconds (10 minutes). + // The maximum deadline you can specify in a single request is 600 seconds + // (10 minutes). int32 ack_deadline_seconds = 3 [(google.api.field_behavior) = REQUIRED]; } @@ -1197,14 +1434,15 @@ message StreamingPullRequest { } ]; - // List of acknowledgement IDs for acknowledging previously received messages - // (received on this stream or a different stream). If an ack ID has expired, - // the corresponding message may be redelivered later. Acknowledging a message - // more than once will not result in an error. If the acknowledgement ID is - // malformed, the stream will be aborted with status `INVALID_ARGUMENT`. - repeated string ack_ids = 2; + // Optional. List of acknowledgement IDs for acknowledging previously received + // messages (received on this stream or a different stream). If an ack ID has + // expired, the corresponding message may be redelivered later. Acknowledging + // a message more than once will not result in an error. If the + // acknowledgement ID is malformed, the stream will be aborted with status + // `INVALID_ARGUMENT`. + repeated string ack_ids = 2 [(google.api.field_behavior) = OPTIONAL]; - // The list of new ack deadlines for the IDs listed in + // Optional. The list of new ack deadlines for the IDs listed in // `modify_deadline_ack_ids`. The size of this list must be the same as the // size of `modify_deadline_ack_ids`. If it differs the stream will be aborted // with `INVALID_ARGUMENT`. Each element in this list is applied to the @@ -1215,14 +1453,16 @@ message StreamingPullRequest { // the message is immediately made available for another streaming or // non-streaming pull request. If the value is < 0 (an error), the stream will // be aborted with status `INVALID_ARGUMENT`. - repeated int32 modify_deadline_seconds = 3; + repeated int32 modify_deadline_seconds = 3 + [(google.api.field_behavior) = OPTIONAL]; - // List of acknowledgement IDs whose deadline will be modified based on the - // corresponding element in `modify_deadline_seconds`. This field can be used - // to indicate that more time is needed to process a message by the + // Optional. List of acknowledgement IDs whose deadline will be modified based + // on the corresponding element in `modify_deadline_seconds`. This field can + // be used to indicate that more time is needed to process a message by the // subscriber, or to make the message available for redelivery if the // processing was interrupted. - repeated string modify_deadline_ack_ids = 4; + repeated string modify_deadline_ack_ids = 4 + [(google.api.field_behavior) = OPTIONAL]; // Required. The ack deadline to use for the stream. This must be provided in // the first request on the stream, but it can also be updated on subsequent @@ -1231,16 +1471,16 @@ message StreamingPullRequest { int32 stream_ack_deadline_seconds = 5 [(google.api.field_behavior) = REQUIRED]; - // A unique identifier that is used to distinguish client instances from each - // other. Only needs to be provided on the initial request. When a stream - // disconnects and reconnects for the same stream, the client_id should be set - // to the same value so that state associated with the old stream can be - // transferred to the new stream. The same client_id should not be used for + // Optional. A unique identifier that is used to distinguish client instances + // from each other. Only needs to be provided on the initial request. When a + // stream disconnects and reconnects for the same stream, the client_id should + // be set to the same value so that state associated with the old stream can + // be transferred to the new stream. The same client_id should not be used for // different client instances. - string client_id = 6; + string client_id = 6 [(google.api.field_behavior) = OPTIONAL]; - // Flow control settings for the maximum number of outstanding messages. When - // there are `max_outstanding_messages` or more currently sent to the + // Optional. Flow control settings for the maximum number of outstanding + // messages. When there are `max_outstanding_messages` currently sent to the // streaming pull client that have not yet been acked or nacked, the server // stops sending more messages. The sending of messages resumes once the // number of outstanding messages is less than this value. If the value is @@ -1248,18 +1488,18 @@ message StreamingPullRequest { // property can only be set on the initial StreamingPullRequest. If it is set // on a subsequent request, the stream will be aborted with status // `INVALID_ARGUMENT`. - int64 max_outstanding_messages = 7; - - // Flow control settings for the maximum number of outstanding bytes. When - // there are `max_outstanding_bytes` or more worth of messages currently sent - // to the streaming pull client that have not yet been acked or nacked, the - // server will stop sending more messages. The sending of messages resumes - // once the number of outstanding bytes is less than this value. If the value - // is <= 0, there is no limit to the number of outstanding bytes. This - // property can only be set on the initial StreamingPullRequest. If it is set - // on a subsequent request, the stream will be aborted with status + int64 max_outstanding_messages = 7 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Flow control settings for the maximum number of outstanding + // bytes. When there are `max_outstanding_bytes` or more worth of messages + // currently sent to the streaming pull client that have not yet been acked or + // nacked, the server will stop sending more messages. The sending of messages + // resumes once the number of outstanding bytes is less than this value. If + // the value is <= 0, there is no limit to the number of outstanding bytes. + // This property can only be set on the initial StreamingPullRequest. If it is + // set on a subsequent request, the stream will be aborted with status // `INVALID_ARGUMENT`. - int64 max_outstanding_bytes = 8; + int64 max_outstanding_bytes = 8 [(google.api.field_behavior) = OPTIONAL]; } // Response for the `StreamingPull` method. This response is used to stream @@ -1268,56 +1508,69 @@ message StreamingPullResponse { // Acknowledgement IDs sent in one or more previous requests to acknowledge a // previously received message. message AcknowledgeConfirmation { - // Successfully processed acknowledgement IDs. - repeated string ack_ids = 1; - - // List of acknowledgement IDs that were malformed or whose acknowledgement - // deadline has expired. - repeated string invalid_ack_ids = 2; - - // List of acknowledgement IDs that were out of order. - repeated string unordered_ack_ids = 3; - - // List of acknowledgement IDs that failed processing with temporary issues. - repeated string temporary_failed_ack_ids = 4; + // Optional. Successfully processed acknowledgement IDs. + repeated string ack_ids = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. List of acknowledgement IDs that were malformed or whose + // acknowledgement deadline has expired. + repeated string invalid_ack_ids = 2 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. List of acknowledgement IDs that were out of order. + repeated string unordered_ack_ids = 3 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. List of acknowledgement IDs that failed processing with + // temporary issues. + repeated string temporary_failed_ack_ids = 4 + [(google.api.field_behavior) = OPTIONAL]; } // Acknowledgement IDs sent in one or more previous requests to modify the // deadline for a specific message. message ModifyAckDeadlineConfirmation { - // Successfully processed acknowledgement IDs. - repeated string ack_ids = 1; - - // List of acknowledgement IDs that were malformed or whose acknowledgement - // deadline has expired. - repeated string invalid_ack_ids = 2; - - // List of acknowledgement IDs that failed processing with temporary issues. - repeated string temporary_failed_ack_ids = 3; + // Optional. Successfully processed acknowledgement IDs. + repeated string ack_ids = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. List of acknowledgement IDs that were malformed or whose + // acknowledgement deadline has expired. + repeated string invalid_ack_ids = 2 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. List of acknowledgement IDs that failed processing with + // temporary issues. + repeated string temporary_failed_ack_ids = 3 + [(google.api.field_behavior) = OPTIONAL]; } // Subscription properties sent as part of the response. message SubscriptionProperties { - // True iff exactly once delivery is enabled for this subscription. - bool exactly_once_delivery_enabled = 1; + // Optional. True iff exactly once delivery is enabled for this + // subscription. + bool exactly_once_delivery_enabled = 1 + [(google.api.field_behavior) = OPTIONAL]; - // True iff message ordering is enabled for this subscription. - bool message_ordering_enabled = 2; + // Optional. True iff message ordering is enabled for this subscription. + bool message_ordering_enabled = 2 [(google.api.field_behavior) = OPTIONAL]; } - // Received Pub/Sub messages. This will not be empty. - repeated ReceivedMessage received_messages = 1; + // Optional. Received Pub/Sub messages. This will not be empty. + repeated ReceivedMessage received_messages = 1 + [(google.api.field_behavior) = OPTIONAL]; - // This field will only be set if `enable_exactly_once_delivery` is set to - // `true`. - AcknowledgeConfirmation acknowledge_confirmation = 5; + // Optional. This field will only be set if `enable_exactly_once_delivery` is + // set to `true`. + AcknowledgeConfirmation acknowledge_confirmation = 5 + [(google.api.field_behavior) = OPTIONAL]; - // This field will only be set if `enable_exactly_once_delivery` is set to - // `true`. - ModifyAckDeadlineConfirmation modify_ack_deadline_confirmation = 3; + // Optional. This field will only be set if `enable_exactly_once_delivery` is + // set to `true`. + ModifyAckDeadlineConfirmation modify_ack_deadline_confirmation = 3 + [(google.api.field_behavior) = OPTIONAL]; - // Properties associated with this subscription. - SubscriptionProperties subscription_properties = 4; + // Optional. Properties associated with this subscription. + SubscriptionProperties subscription_properties = 4 + [(google.api.field_behavior) = OPTIONAL]; } // Request for the `CreateSnapshot` method. @@ -1326,8 +1579,8 @@ message CreateSnapshotRequest { // in the request, the server will assign a random name for this snapshot on // the same project as the subscription. Note that for REST API requests, you // must specify a name. See the [resource name - // rules](https://cloud.google.com/pubsub/docs/admin#resource_names). Format - // is `projects/{project}/snapshots/{snap}`. + // rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). + // Format is `projects/{project}/snapshots/{snap}`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { type: "pubsub.googleapis.com/Snapshot" } @@ -1349,9 +1602,9 @@ message CreateSnapshotRequest { } ]; - // See [Creating and managing + // Optional. See [Creating and managing // labels](https://cloud.google.com/pubsub/docs/labels). - map labels = 3; + map labels = 3 [(google.api.field_behavior) = OPTIONAL]; } // Request for the UpdateSnapshot method. @@ -1376,15 +1629,17 @@ message Snapshot { pattern: "projects/{project}/snapshots/{snapshot}" }; - // The name of the snapshot. - string name = 1; + // Optional. The name of the snapshot. + string name = 1 [(google.api.field_behavior) = OPTIONAL]; - // The name of the topic from which this snapshot is retaining messages. + // Optional. The name of the topic from which this snapshot is retaining + // messages. string topic = 2 [ + (google.api.field_behavior) = OPTIONAL, (google.api.resource_reference) = { type: "pubsub.googleapis.com/Topic" } ]; - // The snapshot is guaranteed to exist up until this time. + // Optional. The snapshot is guaranteed to exist up until this time. // A newly-created snapshot expires no later than 7 days from the time of its // creation. Its exact lifetime is determined at creation by the existing // backlog in the source subscription. Specifically, the lifetime of the @@ -1394,11 +1649,12 @@ message Snapshot { // will always capture this 3-day-old backlog as long as the snapshot // exists -- will expire in 4 days. The service will refuse to create a // snapshot that would expire in less than 1 hour after creation. - google.protobuf.Timestamp expire_time = 3; + google.protobuf.Timestamp expire_time = 3 + [(google.api.field_behavior) = OPTIONAL]; - // See [Creating and managing labels] + // Optional. See [Creating and managing labels] // (https://cloud.google.com/pubsub/docs/labels). - map labels = 4; + map labels = 4 [(google.api.field_behavior) = OPTIONAL]; } // Request for the GetSnapshot method. @@ -1422,23 +1678,24 @@ message ListSnapshotsRequest { } ]; - // Maximum number of snapshots to return. - int32 page_size = 2; + // Optional. Maximum number of snapshots to return. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; - // The value returned by the last `ListSnapshotsResponse`; indicates that this - // is a continuation of a prior `ListSnapshots` call, and that the system - // should return the next page of data. - string page_token = 3; + // Optional. The value returned by the last `ListSnapshotsResponse`; indicates + // that this is a continuation of a prior `ListSnapshots` call, and that the + // system should return the next page of data. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; } // Response for the `ListSnapshots` method. message ListSnapshotsResponse { - // The resulting snapshots. - repeated Snapshot snapshots = 1; + // Optional. The resulting snapshots. + repeated Snapshot snapshots = 1 [(google.api.field_behavior) = OPTIONAL]; - // If not empty, indicates that there may be more snapshot that match the - // request; this value should be passed in a new `ListSnapshotsRequest`. - string next_page_token = 2; + // Optional. If not empty, indicates that there may be more snapshot that + // match the request; this value should be passed in a new + // `ListSnapshotsRequest`. + string next_page_token = 2 [(google.api.field_behavior) = OPTIONAL]; } // Request for the `DeleteSnapshot` method. @@ -1462,7 +1719,7 @@ message SeekRequest { ]; oneof target { - // The time to seek to. + // Optional. The time to seek to. // Messages retained in the subscription that were published before this // time are marked as acknowledged, and messages retained in the // subscription that were published after this time are marked as @@ -1473,14 +1730,17 @@ message SeekRequest { // window (or to a point before the system's notion of the subscription // creation time), only retained messages will be marked as unacknowledged, // and already-expunged messages will not be restored. - google.protobuf.Timestamp time = 2; - - // The snapshot to seek to. The snapshot's topic must be the same as that of - // the provided subscription. - // Format is `projects/{project}/snapshots/{snap}`. - string snapshot = 3 [(google.api.resource_reference) = { - type: "pubsub.googleapis.com/Snapshot" - }]; + google.protobuf.Timestamp time = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The snapshot to seek to. The snapshot's topic must be the same + // as that of the provided subscription. Format is + // `projects/{project}/snapshots/{snap}`. + string snapshot = 3 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.resource_reference) = { + type: "pubsub.googleapis.com/Snapshot" + } + ]; } } diff --git a/third_party/googleapis/google/pubsub/v1/pubsub_grpc_service_config.json b/third_party/googleapis/google/pubsub/v1/pubsub_grpc_service_config.json index d656a6305..58af03ab0 100755 --- a/third_party/googleapis/google/pubsub/v1/pubsub_grpc_service_config.json +++ b/third_party/googleapis/google/pubsub/v1/pubsub_grpc_service_config.json @@ -50,7 +50,7 @@ "maxAttempts": 5, "initialBackoff": "0.100s", "maxBackoff": "60s", - "backoffMultiplier": 1.3, + "backoffMultiplier": 4, "retryableStatusCodes": [ "ABORTED", "CANCELLED", @@ -110,7 +110,7 @@ "maxAttempts": 5, "initialBackoff": "0.100s", "maxBackoff": "60s", - "backoffMultiplier": 1.3, + "backoffMultiplier": 4, "retryableStatusCodes": [ "DEADLINE_EXCEEDED", "RESOURCE_EXHAUSTED", @@ -238,6 +238,60 @@ "UNAVAILABLE" ] } + }, + { + "name": [ + { + "service": "google.pubsub.v1.SchemaService", + "method": "CommitSchema" + }, + { + "service": "google.pubsub.v1.SchemaService", + "method": "CreateSchema" + }, + { + "service": "google.pubsub.v1.SchemaService", + "method": "DeleteSchema" + }, + { + "service": "google.pubsub.v1.SchemaService", + "method": "DeleteSchemaRevision" + }, + { + "service": "google.pubsub.v1.SchemaService", + "method": "GetSchema" + }, + { + "service": "google.pubsub.v1.SchemaService", + "method": "ListSchemaRevisions" + }, + { + "service": "google.pubsub.v1.SchemaService", + "method": "ListSchemas" + }, + { + "service": "google.pubsub.v1.SchemaService", + "method": "RollbackSchema" + }, + { + "service": "google.pubsub.v1.SchemaService", + "method": "ValidateSchema" + }, + { + "service": "google.pubsub.v1.SchemaService", + "method": "ValidateMessage" + } + ], + "timeout": "60s", + "retryPolicy": { + "maxAttempts": 5, + "initialBackoff": "0.100s", + "maxBackoff": "60s", + "backoffMultiplier": 1.3, + "retryableStatusCodes": [ + "UNAVAILABLE" + ] + } } ] } diff --git a/third_party/googleapis/google/pubsub/v1/pubsub_v1.yaml b/third_party/googleapis/google/pubsub/v1/pubsub_v1.yaml index a20739d34..78501f0c6 100644 --- a/third_party/googleapis/google/pubsub/v1/pubsub_v1.yaml +++ b/third_party/googleapis/google/pubsub/v1/pubsub_v1.yaml @@ -4,10 +4,10 @@ name: pubsub.googleapis.com title: Cloud Pub/Sub API apis: +- name: google.iam.v1.IAMPolicy - name: google.pubsub.v1.Publisher - name: google.pubsub.v1.SchemaService - name: google.pubsub.v1.Subscriber -- name: google.iam.v1.IAMPolicy documentation: summary: |- @@ -37,15 +37,6 @@ documentation: permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. -backend: - rules: - - selector: 'google.pubsub.v1.Publisher.*' - deadline: 120.0 - - selector: google.pubsub.v1.Publisher.Publish - deadline: 20.0 - - selector: 'google.pubsub.v1.Subscriber.*' - deadline: 120.0 - http: rules: - selector: google.iam.v1.IAMPolicy.GetIamPolicy @@ -97,3 +88,15 @@ authentication: canonical_scopes: |- https://www.googleapis.com/auth/cloud-platform, https://www.googleapis.com/auth/pubsub + +publishing: + documentation_uri: https://cloud.google.com/pubsub/docs + github_label: 'api: pubsub' + organization: CLOUD + library_settings: + - version: google.pubsub.v1 + dotnet_settings: + renamed_services: + Subscriber: SubscriberServiceApi + Publisher: PublisherServiceApi + proto_reference_documentation_uri: https://cloud.google.com/pubsub/docs/reference/rpc diff --git a/third_party/googleapis/google/pubsub/v1/schema.proto b/third_party/googleapis/google/pubsub/v1/schema.proto index 8c674df13..bd17cf0f8 100644 --- a/third_party/googleapis/google/pubsub/v1/schema.proto +++ b/third_party/googleapis/google/pubsub/v1/schema.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -25,7 +25,7 @@ import "google/protobuf/timestamp.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.PubSub.V1"; -option go_package = "google.golang.org/genproto/googleapis/pubsub/v1;pubsub"; +option go_package = "cloud.google.com/go/pubsub/apiv1/pubsubpb;pubsubpb"; option java_multiple_files = true; option java_outer_classname = "SchemaProto"; option java_package = "com.google.pubsub.v1"; @@ -202,8 +202,8 @@ message CreateSchemaRequest { // The ID to use for the schema, which will become the final component of // the schema's resource name. // - // See https://cloud.google.com/pubsub/docs/admin#resource_names for resource - // name constraints. + // See https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names for + // resource name constraints. string schema_id = 3; } diff --git a/third_party/googleapis/google/rpc/BUILD.bazel b/third_party/googleapis/google/rpc/BUILD.bazel index 8ffa5a49c..18835afa6 100644 --- a/third_party/googleapis/google/rpc/BUILD.bazel +++ b/third_party/googleapis/google/rpc/BUILD.bazel @@ -125,3 +125,29 @@ py_proto_library( name = "status_py_proto", deps = [":status_proto"], ) + +############################################################################## +# PHP +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "php_gapic_assembly_pkg", + "php_proto_library", +) + +php_proto_library( + name = "rpc_php_proto", + deps = [ + ":code_proto", + ":error_details_proto", + ":status_proto", + ], +) + +# Please DO-NOT-REMOVE this section. +# This is required to generate php files for these protos. +# Open Source Packages +php_gapic_assembly_pkg( + name = "google-rpc-php", + deps = [":rpc_php_proto"], +) diff --git a/third_party/googleapis/google/rpc/README.md b/third_party/googleapis/google/rpc/README.md index 164bc8098..b47750076 100644 --- a/third_party/googleapis/google/rpc/README.md +++ b/third_party/googleapis/google/rpc/README.md @@ -1,5 +1,18 @@ -# Google RPC +## RPC (Remote Procedure Call) Types -This package contains type definitions for general RPC systems. While -[gRPC](https://github.com/grpc) is using these definitions, they -are not designed specifically to support gRPC. +This package contains [protocol buffer][protobuf] types that represent remote procedure +call concepts. While [gRPC](https://grpc.io) uses these types, we encourage their +use in any interested RPC implementation to promote compatibility and consistency. + +### Key Concepts + +- **Code**: An enum that represents an error code returned by an RPC. These error codes + map to HTTP codes, but are slightly finer-grained. Every gRPC code has exactly one + corresponding HTTP code; however, some HTTP codes have more than one corresponding + gRPC code. +- **Error details**: Any of the types contained in `error_details.proto` which provide + extra details about particular types of failures. +- **Status**: Combines a code, message, and error details to represent the success or + failure details of an RPC call. + +[protobuf]: https://developers.google.com/protocol-buffers/ diff --git a/third_party/googleapis/google/rpc/context/BUILD.bazel b/third_party/googleapis/google/rpc/context/BUILD.bazel index eb76ab35d..46c13095c 100644 --- a/third_party/googleapis/google/rpc/context/BUILD.bazel +++ b/third_party/googleapis/google/rpc/context/BUILD.bazel @@ -21,6 +21,17 @@ proto_library( ], ) +# Manually added target. See b/274975612 for why. +proto_library( + name = "audit_context_proto", + srcs = [ + "audit_context.proto", + ], + deps = [ + "@com_google_protobuf//:struct_proto", + ], +) + ############################################################################## # Java ############################################################################## @@ -35,6 +46,12 @@ java_proto_library( deps = [":attribute_context_proto"], ) +# Manually added target. See b/274975612 for why. +java_proto_library( + name = "audit_context_java_proto", + deps = [":audit_context_proto"], +) + # Please DO-NOT-REMOVE this section. # This is required to generate java files for these protos. # Open Source Packages @@ -44,6 +61,9 @@ java_gapic_assembly_gradle_pkg( deps = [ ":attribute_context_java_proto", ":attribute_context_proto", + # Manually added. See b/274975612 for why. + ":audit_context_java_proto", + ":audit_context_proto", ], ) @@ -60,8 +80,16 @@ go_proto_library( compilers = ["@io_bazel_rules_go//proto:go_grpc"], importpath = "google.golang.org/genproto/googleapis/rpc/context/attribute_context", protos = [":attribute_context_proto"], - deps = [ - ], + deps = [], +) + +# Manually added target. See b/274975612 for why. +go_proto_library( + name = "audit_context_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], + importpath = "google.golang.org/genproto/googleapis/rpc/context;context", + protos = [":audit_context_proto"], + deps = [], ) ############################################################################## @@ -89,11 +117,27 @@ py_proto_library( deps = [":attribute_context_moved_proto"], ) +# Manually added target. See b/274975612 for why. +moved_proto_library( + name = "audit_context_moved_proto", + srcs = [":audit_context_proto"], + deps = [ + "@com_google_protobuf//:struct_proto", + ], +) + +# Manually added target. See b/274975612 for why. +py_proto_library( + name = "audit_context_py_proto", + deps = [":audit_context_moved_proto"], +) + ############################################################################## # PHP ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", + "php_gapic_assembly_pkg", "php_proto_library", ) @@ -102,6 +146,23 @@ php_proto_library( deps = [":attribute_context_proto"], ) +# Manually added target. See b/274975612 for why. +php_proto_library( + name = "audit_context_php_proto", + deps = [":audit_context_proto"], +) + +# Please DO-NOT-REMOVE this section. +# This is required to generate PHP files for these protos. +# Open Source Packages +php_gapic_assembly_pkg( + name = "google-context-php", + deps = [ + ":attribute_context_php_proto", + ":audit_context_php_proto", + ], +) + ############################################################################## # Ruby ############################################################################## @@ -115,6 +176,12 @@ ruby_proto_library( deps = [":attribute_context_proto"], ) +# Manually added target. See b/274975612 for why. +ruby_proto_library( + name = "audit_context_ruby_proto", + deps = [":audit_context_proto"], +) + ############################################################################## # C# ############################################################################## @@ -128,6 +195,12 @@ csharp_proto_library( deps = [":attribute_context_proto"], ) +# Manually added target. See b/274975612 for why. +csharp_proto_library( + name = "audit_context_csharp_proto", + deps = [":audit_context_proto"], +) + ############################################################################## # C++ ############################################################################## @@ -140,3 +213,9 @@ cc_proto_library( name = "attribute_context_cc_proto", deps = [":attribute_context_proto"], ) + +# Manually added target. See b/274975612 for why. +cc_proto_library( + name = "audit_context_cc_proto", + deps = [":audit_context_proto"], +) diff --git a/third_party/googleapis/google/search/partnerdataingestion/logging/v1/BUILD.bazel b/third_party/googleapis/google/search/partnerdataingestion/logging/v1/BUILD.bazel index 58916841b..2f1cd2278 100644 --- a/third_party/googleapis/google/search/partnerdataingestion/logging/v1/BUILD.bazel +++ b/third_party/googleapis/google/search/partnerdataingestion/logging/v1/BUILD.bazel @@ -84,7 +84,6 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -93,21 +92,9 @@ php_proto_library( deps = [":logging_proto"], ) -php_grpc_library( - name = "logging_php_grpc", - srcs = [":logging_proto"], - deps = [":logging_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) - ############################################################################## # Ruby diff --git a/third_party/googleapis/google/spanner/admin/database/v1/BUILD.bazel b/third_party/googleapis/google/spanner/admin/database/v1/BUILD.bazel index 7e27912b9..3715691ba 100644 --- a/third_party/googleapis/google/spanner/admin/database/v1/BUILD.bazel +++ b/third_party/googleapis/google/spanner/admin/database/v1/BUILD.bazel @@ -24,7 +24,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -34,7 +33,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -104,6 +102,7 @@ java_gapic_library( transport = "grpc+rest", deps = [ ":database_java_proto", + "//google/api:api_java_proto", "//google/iam/v1:iam_java_proto", ], ) @@ -133,7 +132,7 @@ java_gapic_assembly_gradle_pkg( go_proto_library( name = "database_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/spanner/admin/database/v1", + importpath = "cloud.google.com/go/spanner/admin/database/apiv1/databasepb", protos = [":database_proto"], deps = [ "//google/api:annotations_go_proto", @@ -148,6 +147,7 @@ go_gapic_library( srcs = [":database_proto_with_info"], grpc_service_config = "spanner_admin_database_grpc_service_config.json", importpath = "cloud.google.com/go/spanner/admin/database/apiv1;database", + release_level = "ga", rest_numeric_enums = True, service_yaml = "spanner.yaml", transport = "grpc+rest", @@ -160,18 +160,12 @@ go_gapic_library( ], ) -go_test( - name = "database_go_gapic_test", - srcs = [":database_go_gapic_srcjar_test"], - embed = [":database_go_gapic"], - importpath = "cloud.google.com/go/spanner/admin/database/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-admin-database-v1-go", deps = [ ":database_go_gapic", + ":database_go_gapic_srcjar-snippets.srcjar", ":database_go_gapic_srcjar-test.srcjar", ":database_go_proto", ], @@ -215,12 +209,6 @@ php_proto_library( deps = [":database_proto"], ) -php_grpc_library( - name = "database_php_grpc", - srcs = [":database_proto"], - deps = [":database_php_proto"], -) - php_gapic_library( name = "database_php_gapic", srcs = [":database_proto_with_info"], @@ -229,10 +217,8 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "spanner.yaml", transport = "grpc+rest", - deps = [ - ":database_php_grpc", - ":database_php_proto", - ], + migration_mode = "MIGRATING", + deps = [":database_php_proto"], ) # Open Source Packages @@ -240,7 +226,6 @@ php_gapic_assembly_pkg( name = "google-cloud-admin-database-v1-php", deps = [ ":database_php_gapic", - ":database_php_grpc", ":database_php_proto", ], ) @@ -254,6 +239,7 @@ nodejs_gapic_library( "template=typescript_gapic", ], grpc_service_config = "spanner_admin_database_grpc_service_config.json", + handwritten_layer = True, package = "google.spanner.admin.database.v1", rest_numeric_enums = True, service_yaml = "spanner.yaml", @@ -296,6 +282,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Cloud Spanner is a managed, mission-critical, globally consistent and scalable relational database service.", ruby_cloud_title = "Cloud Spanner Database Admin V1", service_yaml = "spanner.yaml", + transport = "grpc+rest", deps = [ ":database_ruby_grpc", ":database_ruby_proto", diff --git a/third_party/googleapis/google/spanner/admin/database/v1/backup.proto b/third_party/googleapis/google/spanner/admin/database/v1/backup.proto index 5e019543e..fce69a2f3 100644 --- a/third_party/googleapis/google/spanner/admin/database/v1/backup.proto +++ b/third_party/googleapis/google/spanner/admin/database/v1/backup.proto @@ -24,7 +24,7 @@ import "google/protobuf/timestamp.proto"; import "google/spanner/admin/database/v1/common.proto"; option csharp_namespace = "Google.Cloud.Spanner.Admin.Database.V1"; -option go_package = "google.golang.org/genproto/googleapis/spanner/admin/database/v1;database"; +option go_package = "cloud.google.com/go/spanner/admin/database/apiv1/databasepb;databasepb"; option java_multiple_files = true; option java_outer_classname = "BackupProto"; option java_package = "com.google.spanner.admin.database.v1"; diff --git a/third_party/googleapis/google/spanner/admin/database/v1/common.proto b/third_party/googleapis/google/spanner/admin/database/v1/common.proto index 720ebb95d..32d7519e3 100644 --- a/third_party/googleapis/google/spanner/admin/database/v1/common.proto +++ b/third_party/googleapis/google/spanner/admin/database/v1/common.proto @@ -22,7 +22,7 @@ import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; option csharp_namespace = "Google.Cloud.Spanner.Admin.Database.V1"; -option go_package = "google.golang.org/genproto/googleapis/spanner/admin/database/v1;database"; +option go_package = "cloud.google.com/go/spanner/admin/database/apiv1/databasepb;databasepb"; option java_multiple_files = true; option java_outer_classname = "CommonProto"; option java_package = "com.google.spanner.admin.database.v1"; diff --git a/third_party/googleapis/google/spanner/admin/database/v1/spanner.yaml b/third_party/googleapis/google/spanner/admin/database/v1/spanner.yaml index b15d46664..9d85286a8 100644 --- a/third_party/googleapis/google/spanner/admin/database/v1/spanner.yaml +++ b/third_party/googleapis/google/spanner/admin/database/v1/spanner.yaml @@ -14,6 +14,7 @@ types: - name: google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata - name: google.spanner.admin.database.v1.RestoreDatabaseMetadata - name: google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata +- name: google.spanner.admin.database.v1.UpdateDatabaseMetadata documentation: summary: |- diff --git a/third_party/googleapis/google/spanner/admin/database/v1/spanner_admin_database_grpc_service_config.json b/third_party/googleapis/google/spanner/admin/database/v1/spanner_admin_database_grpc_service_config.json index c839313c0..40ae996e6 100755 --- a/third_party/googleapis/google/spanner/admin/database/v1/spanner_admin_database_grpc_service_config.json +++ b/third_party/googleapis/google/spanner/admin/database/v1/spanner_admin_database_grpc_service_config.json @@ -10,6 +10,10 @@ "service": "google.spanner.admin.database.v1.DatabaseAdmin", "method": "GetDatabase" }, + { + "service": "google.spanner.admin.database.v1.DatabaseAdmin", + "method": "UpdateDatabase" + }, { "service": "google.spanner.admin.database.v1.DatabaseAdmin", "method": "UpdateDatabaseDdl" diff --git a/third_party/googleapis/google/spanner/admin/database/v1/spanner_database_admin.proto b/third_party/googleapis/google/spanner/admin/database/v1/spanner_database_admin.proto index 91489ae4b..a522c08c1 100644 --- a/third_party/googleapis/google/spanner/admin/database/v1/spanner_database_admin.proto +++ b/third_party/googleapis/google/spanner/admin/database/v1/spanner_database_admin.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -24,12 +24,13 @@ import "google/iam/v1/iam_policy.proto"; import "google/iam/v1/policy.proto"; import "google/longrunning/operations.proto"; import "google/protobuf/empty.proto"; +import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; import "google/spanner/admin/database/v1/backup.proto"; import "google/spanner/admin/database/v1/common.proto"; option csharp_namespace = "Google.Cloud.Spanner.Admin.Database.V1"; -option go_package = "google.golang.org/genproto/googleapis/spanner/admin/database/v1;database"; +option go_package = "cloud.google.com/go/spanner/admin/database/apiv1/databasepb;databasepb"; option java_multiple_files = true; option java_outer_classname = "SpannerDatabaseAdminProto"; option java_package = "com.google.spanner.admin.database.v1"; @@ -89,6 +90,55 @@ service DatabaseAdmin { option (google.api.method_signature) = "name"; } + // Updates a Cloud Spanner database. The returned + // [long-running operation][google.longrunning.Operation] can be used to track + // the progress of updating the database. If the named database does not + // exist, returns `NOT_FOUND`. + // + // While the operation is pending: + // + // * The database's + // [reconciling][google.spanner.admin.database.v1.Database.reconciling] + // field is set to true. + // * Cancelling the operation is best-effort. If the cancellation succeeds, + // the operation metadata's + // [cancel_time][google.spanner.admin.database.v1.UpdateDatabaseMetadata.cancel_time] + // is set, the updates are reverted, and the operation terminates with a + // `CANCELLED` status. + // * New UpdateDatabase requests will return a `FAILED_PRECONDITION` error + // until the pending operation is done (returns successfully or with + // error). + // * Reading the database via the API continues to give the pre-request + // values. + // + // Upon completion of the returned operation: + // + // * The new values are in effect and readable via the API. + // * The database's + // [reconciling][google.spanner.admin.database.v1.Database.reconciling] + // field becomes false. + // + // The returned [long-running operation][google.longrunning.Operation] will + // have a name of the format + // `projects//instances//databases//operations/` + // and can be used to track the database modification. The + // [metadata][google.longrunning.Operation.metadata] field type is + // [UpdateDatabaseMetadata][google.spanner.admin.database.v1.UpdateDatabaseMetadata]. + // The [response][google.longrunning.Operation.response] field type is + // [Database][google.spanner.admin.database.v1.Database], if successful. + rpc UpdateDatabase(UpdateDatabaseRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + patch: "/v1/{database.name=projects/*/instances/*/databases/*}" + body: "database" + }; + option (google.api.method_signature) = "database,update_mask"; + option (google.longrunning.operation_info) = { + response_type: "Database" + metadata_type: "UpdateDatabaseMetadata" + }; + } + // Updates the schema of a Cloud Spanner database by // creating/altering/dropping tables, columns, indexes, etc. The returned // [long-running operation][google.longrunning.Operation] will have a name of @@ -449,6 +499,14 @@ message Database { // Output only. The dialect of the Cloud Spanner Database. DatabaseDialect database_dialect = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Whether drop protection is enabled for this database. Defaults to false, + // if not set. + bool enable_drop_protection = 11; + + // Output only. If true, the database is being updated. If false, there are no + // ongoing update operations for the database. + bool reconciling = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; } // The request for [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases]. @@ -514,6 +572,23 @@ message CreateDatabaseRequest { // Optional. The dialect of the Cloud Spanner Database. DatabaseDialect database_dialect = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Proto descriptors used by CREATE/ALTER PROTO BUNDLE statements in + // 'extra_statements' above. + // Contains a protobuf-serialized + // [google.protobuf.FileDescriptorSet](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/descriptor.proto). + // To generate it, [install](https://grpc.io/docs/protoc-installation/) and + // run `protoc` with --include_imports and --descriptor_set_out. For example, + // to generate for moon/shot/app.proto, run + // ``` + // $protoc --proto_path=/app_path --proto_path=/lib_path \ + // --include_imports \ + // --descriptor_set_out=descriptors.data \ + // moon/shot/app.proto + // ``` + // For more details, see protobuffer [self + // description](https://developers.google.com/protocol-buffers/docs/techniques#self-description). + bytes proto_descriptors = 6 [(google.api.field_behavior) = OPTIONAL]; } // Metadata type for the operation returned by @@ -537,6 +612,37 @@ message GetDatabaseRequest { ]; } +// The request for +// [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase]. +message UpdateDatabaseRequest { + // Required. The database to update. + // The `name` field of the database is of the form + // `projects//instances//databases/`. + Database database = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The list of fields to update. Currently, only + // `enable_drop_protection` field can be updated. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = REQUIRED]; +} + +// Metadata type for the operation returned by +// [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase]. +message UpdateDatabaseMetadata { + // The request for + // [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase]. + UpdateDatabaseRequest request = 1; + + // The progress of the + // [UpdateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabase] + // operation. + OperationProgress progress = 2; + + // The time at which this operation was cancelled. If set, this operation is + // in the process of undoing itself (which is best-effort). + google.protobuf.Timestamp cancel_time = 3; +} + // Enqueues the given DDL statements to be applied, in order but not // necessarily all at once, to the database schema at some point (or // points) in the future. The server checks that the statements @@ -585,6 +691,43 @@ message UpdateDatabaseDdlRequest { // [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] returns // `ALREADY_EXISTS`. string operation_id = 3; + + // Optional. Proto descriptors used by CREATE/ALTER PROTO BUNDLE statements. + // Contains a protobuf-serialized + // [google.protobuf.FileDescriptorSet](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/descriptor.proto). + // To generate it, [install](https://grpc.io/docs/protoc-installation/) and + // run `protoc` with --include_imports and --descriptor_set_out. For example, + // to generate for moon/shot/app.proto, run + // ``` + // $protoc --proto_path=/app_path --proto_path=/lib_path \ + // --include_imports \ + // --descriptor_set_out=descriptors.data \ + // moon/shot/app.proto + // ``` + // For more details, see protobuffer [self + // description](https://developers.google.com/protocol-buffers/docs/techniques#self-description). + bytes proto_descriptors = 4 [(google.api.field_behavior) = OPTIONAL]; +} + +// Action information extracted from a DDL statement. This proto is used to +// display the brief info of the DDL statement for the operation +// [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl]. +message DdlStatementActionInfo { + // The action for the DDL statement, e.g. CREATE, ALTER, DROP, GRANT, etc. + // This field is a non-empty string. + string action = 1; + + // The entity type for the DDL statement, e.g. TABLE, INDEX, VIEW, etc. + // This field can be empty string for some DDL statement, + // e.g. for statement "ANALYZE", `entity_type` = "". + string entity_type = 2; + + // The entity name(s) being operated on the DDL statement. + // E.g. + // 1. For statement "CREATE TABLE t1(...)", `entity_names` = ["t1"]. + // 2. For statement "GRANT ROLE r1, r2 ...", `entity_names` = ["r1", "r2"]. + // 3. For statement "ANALYZE", `entity_names` = []. + repeated string entity_names = 3; } // Metadata type for the operation returned by @@ -604,20 +747,23 @@ message UpdateDatabaseDdlMetadata { // timestamp for the statement `statements[i]`. repeated google.protobuf.Timestamp commit_timestamps = 3; - // Output only. When true, indicates that the operation is throttled e.g + // Output only. When true, indicates that the operation is throttled e.g. // due to resource constraints. When resources become available the operation // will resume and this field will be false again. bool throttled = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; // The progress of the - // [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] operations. - // Currently, only index creation statements will have a continuously - // updating progress. - // For non-index creation statements, `progress[i]` will have start time - // and end time populated with commit timestamp of operation, - // as well as a progress of 100% once the operation has completed. - // `progress[i]` is the operation progress for `statements[i]`. + // [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl] + // operations. All DDL statements will have continuously updating progress, + // and `progress[i]` is the operation progress for `statements[i]`. Also, + // `progress[i]` will have start time and end time populated with commit + // timestamp of operation, as well as a progress of 100% once the operation + // has completed. repeated OperationProgress progress = 5; + + // The brief action info for the DDL statements. + // `actions[i]` is the brief info for `statements[i]`. + repeated DdlStatementActionInfo actions = 6; } // The request for [DropDatabase][google.spanner.admin.database.v1.DatabaseAdmin.DropDatabase]. @@ -649,6 +795,13 @@ message GetDatabaseDdlResponse { // A list of formatted DDL statements defining the schema of the database // specified in the request. repeated string statements = 1; + + // Proto descriptors stored in the database. + // Contains a protobuf-serialized + // [google.protobuf.FileDescriptorSet](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/descriptor.proto). + // For more details, see protobuffer [self + // description](https://developers.google.com/protocol-buffers/docs/techniques#self-description). + bytes proto_descriptors = 2; } // The request for diff --git a/third_party/googleapis/google/spanner/admin/instance/v1/BUILD.bazel b/third_party/googleapis/google/spanner/admin/instance/v1/BUILD.bazel index 48f1f9991..bb3779815 100644 --- a/third_party/googleapis/google/spanner/admin/instance/v1/BUILD.bazel +++ b/third_party/googleapis/google/spanner/admin/instance/v1/BUILD.bazel @@ -15,7 +15,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -25,7 +24,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -85,6 +83,7 @@ java_gapic_library( gapic_yaml = "spanner_admin_instance_gapic.yaml", grpc_service_config = "spanner_admin_instance_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "spanner_admin_instance.yaml", test_deps = [ ":instance_java_grpc", "//google/iam/v1:iam_java_grpc", @@ -92,6 +91,7 @@ java_gapic_library( transport = "grpc+rest", deps = [ ":instance_java_proto", + "//google/api:api_java_proto", "//google/iam/v1:iam_java_proto", ], ) @@ -121,7 +121,7 @@ java_gapic_assembly_gradle_pkg( go_proto_library( name = "instance_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/spanner/admin/instance/v1", + importpath = "cloud.google.com/go/spanner/admin/instance/apiv1/instancepb", protos = [":instance_proto"], deps = [ "//google/api:annotations_go_proto", @@ -135,6 +135,7 @@ go_gapic_library( srcs = [":instance_proto_with_info"], grpc_service_config = "spanner_admin_instance_grpc_service_config.json", importpath = "cloud.google.com/go/spanner/admin/instance/apiv1;instance", + release_level = "ga", rest_numeric_enums = True, service_yaml = "spanner_admin_instance.yaml", transport = "grpc+rest", @@ -147,18 +148,12 @@ go_gapic_library( ], ) -go_test( - name = "instance_go_gapic_test", - srcs = [":instance_go_gapic_srcjar_test"], - embed = [":instance_go_gapic"], - importpath = "cloud.google.com/go/spanner/admin/instance/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-admin-instance-v1-go", deps = [ ":instance_go_gapic", + ":instance_go_gapic_srcjar-snippets.srcjar", ":instance_go_gapic_srcjar-test.srcjar", ":instance_go_proto", ], @@ -202,12 +197,6 @@ php_proto_library( deps = [":instance_proto"], ) -php_grpc_library( - name = "instance_php_grpc", - srcs = [":instance_proto"], - deps = [":instance_php_proto"], -) - php_gapic_library( name = "instance_php_gapic", srcs = [":instance_proto_with_info"], @@ -216,10 +205,8 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "spanner_admin_instance.yaml", transport = "grpc+rest", - deps = [ - ":instance_php_grpc", - ":instance_php_proto", - ], + migration_mode = "MIGRATING", + deps = [":instance_php_proto"], ) # Open Source Packages @@ -227,7 +214,6 @@ php_gapic_assembly_pkg( name = "google-cloud-admin-instance-v1-php", deps = [ ":instance_php_gapic", - ":instance_php_grpc", ":instance_php_proto", ], ) @@ -241,6 +227,7 @@ nodejs_gapic_library( "template=typescript_gapic", ], grpc_service_config = "spanner_admin_instance_grpc_service_config.json", + handwritten_layer = True, package = "google.spanner.admin.instance.v1", rest_numeric_enums = True, service_yaml = "spanner_admin_instance.yaml", @@ -283,6 +270,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Cloud Spanner is a managed, mission-critical, globally consistent and scalable relational database service.", ruby_cloud_title = "Cloud Spanner Instance Admin V1", service_yaml = "spanner_admin_instance.yaml", + transport = "grpc+rest", deps = [ ":instance_ruby_grpc", ":instance_ruby_proto", diff --git a/third_party/googleapis/google/spanner/admin/instance/v1/common.proto b/third_party/googleapis/google/spanner/admin/instance/v1/common.proto index e93b33476..ffb69748f 100644 --- a/third_party/googleapis/google/spanner/admin/instance/v1/common.proto +++ b/third_party/googleapis/google/spanner/admin/instance/v1/common.proto @@ -19,7 +19,7 @@ package google.spanner.admin.instance.v1; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Spanner.Admin.Instance.V1"; -option go_package = "google.golang.org/genproto/googleapis/spanner/admin/instance/v1;instance"; +option go_package = "cloud.google.com/go/spanner/admin/instance/apiv1/instancepb;instancepb"; option java_multiple_files = true; option java_outer_classname = "CommonProto"; option java_package = "com.google.spanner.admin.instance.v1"; diff --git a/third_party/googleapis/google/spanner/admin/instance/v1/spanner_instance_admin.proto b/third_party/googleapis/google/spanner/admin/instance/v1/spanner_instance_admin.proto index 85b041134..58051df00 100644 --- a/third_party/googleapis/google/spanner/admin/instance/v1/spanner_instance_admin.proto +++ b/third_party/googleapis/google/spanner/admin/instance/v1/spanner_instance_admin.proto @@ -29,7 +29,7 @@ import "google/protobuf/timestamp.proto"; import "google/spanner/admin/instance/v1/common.proto"; option csharp_namespace = "Google.Cloud.Spanner.Admin.Instance.V1"; -option go_package = "google.golang.org/genproto/googleapis/spanner/admin/instance/v1;instance"; +option go_package = "cloud.google.com/go/spanner/admin/instance/apiv1/instancepb;instancepb"; option java_multiple_files = true; option java_outer_classname = "SpannerInstanceAdminProto"; option java_package = "com.google.spanner.admin.instance.v1"; @@ -562,6 +562,66 @@ message InstanceConfig { State state = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; } +// Autoscaling config for an instance. +message AutoscalingConfig { + // The autoscaling limits for the instance. Users can define the minimum and + // maximum compute capacity allocated to the instance, and the autoscaler will + // only scale within that range. Users can either use nodes or processing + // units to specify the limits, but should use the same unit to set both the + // min_limit and max_limit. + message AutoscalingLimits { + // The minimum compute capacity for the instance. + oneof min_limit { + // Minimum number of nodes allocated to the instance. If set, this number + // should be greater than or equal to 1. + int32 min_nodes = 1; + + // Minimum number of processing units allocated to the instance. If set, + // this number should be multiples of 1000. + int32 min_processing_units = 2; + } + + // The maximum compute capacity for the instance. The maximum compute + // capacity should be less than or equal to 10X the minimum compute + // capacity. + oneof max_limit { + // Maximum number of nodes allocated to the instance. If set, this number + // should be greater than or equal to min_nodes. + int32 max_nodes = 3; + + // Maximum number of processing units allocated to the instance. If set, + // this number should be multiples of 1000 and be greater than or equal to + // min_processing_units. + int32 max_processing_units = 4; + } + } + + // The autoscaling targets for an instance. + message AutoscalingTargets { + // Required. The target high priority cpu utilization percentage that the + // autoscaler should be trying to achieve for the instance. This number is + // on a scale from 0 (no utilization) to 100 (full utilization). The valid + // range is [10, 90] inclusive. + int32 high_priority_cpu_utilization_percent = 1 + [(google.api.field_behavior) = REQUIRED]; + + // Required. The target storage utilization percentage that the autoscaler + // should be trying to achieve for the instance. This number is on a scale + // from 0 (no utilization) to 100 (full utilization). The valid range is + // [10, 100] inclusive. + int32 storage_utilization_percent = 2 + [(google.api.field_behavior) = REQUIRED]; + } + + // Required. Autoscaling limits for an instance. + AutoscalingLimits autoscaling_limits = 1 + [(google.api.field_behavior) = REQUIRED]; + + // Required. The autoscaling targets for an instance. + AutoscalingTargets autoscaling_targets = 2 + [(google.api.field_behavior) = REQUIRED]; +} + // An isolated set of Cloud Spanner resources on which databases can be hosted. message Instance { option (google.api.resource) = { @@ -606,8 +666,12 @@ message Instance { string display_name = 3 [(google.api.field_behavior) = REQUIRED]; // The number of nodes allocated to this instance. At most one of either - // node_count or processing_units should be present in the message. This - // may be zero in API responses for instances that are not yet in state + // node_count or processing_units should be present in the message. + // + // Users can set the node_count field to specify the target number of nodes + // allocated to the instance. + // + // This may be zero in API responses for instances that are not yet in state // `READY`. // // See [the @@ -616,14 +680,26 @@ message Instance { int32 node_count = 5; // The number of processing units allocated to this instance. At most one of - // processing_units or node_count should be present in the message. This may - // be zero in API responses for instances that are not yet in state `READY`. + // processing_units or node_count should be present in the message. + // + // Users can set the processing_units field to specify the target number of + // processing units allocated to the instance. + // + // This may be zero in API responses for instances that are not yet in state + // `READY`. // // See [the // documentation](https://cloud.google.com/spanner/docs/compute-capacity) // for more information about nodes and processing units. int32 processing_units = 9; + // Optional. The autoscaling configuration. Autoscaling is enabled if this + // field is set. When autoscaling is enabled, node_count and processing_units + // are treated as OUTPUT_ONLY fields and reflect the current compute capacity + // allocated to the instance. + AutoscalingConfig autoscaling_config = 17 + [(google.api.field_behavior) = OPTIONAL]; + // Output only. The current instance state. For // [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance], // the state must be either omitted or set to `CREATING`. For diff --git a/third_party/googleapis/google/spanner/v1/BUILD.bazel b/third_party/googleapis/google/spanner/v1/BUILD.bazel index db07be6c7..6f6fb3410 100644 --- a/third_party/googleapis/google/spanner/v1/BUILD.bazel +++ b/third_party/googleapis/google/spanner/v1/BUILD.bazel @@ -15,7 +15,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -25,7 +24,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -90,6 +88,7 @@ java_gapic_library( gapic_yaml = "spanner_gapic.yaml", grpc_service_config = "spanner_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "spanner.yaml", test_deps = [ ":spanner_java_grpc", ], @@ -124,7 +123,7 @@ java_gapic_assembly_gradle_pkg( go_proto_library( name = "spanner_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/spanner/v1", + importpath = "cloud.google.com/go/spanner/apiv1/spannerpb", protos = [":spanner_proto"], deps = [ "//google/api:annotations_go_proto", @@ -137,6 +136,7 @@ go_gapic_library( srcs = [":spanner_proto_with_info"], grpc_service_config = "spanner_grpc_service_config.json", importpath = "cloud.google.com/go/spanner/apiv1;spanner", + release_level = "ga", rest_numeric_enums = True, service_yaml = "spanner.yaml", transport = "grpc+rest", @@ -146,18 +146,12 @@ go_gapic_library( ], ) -go_test( - name = "spanner_go_gapic_test", - srcs = [":spanner_go_gapic_srcjar_test"], - embed = [":spanner_go_gapic"], - importpath = "cloud.google.com/go/spanner/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-spanner-v1-go", deps = [ ":spanner_go_gapic", + ":spanner_go_gapic_srcjar-snippets.srcjar", ":spanner_go_gapic_srcjar-test.srcjar", ":spanner_go_proto", ], @@ -195,23 +189,15 @@ php_proto_library( deps = [":spanner_proto"], ) -php_grpc_library( - name = "spanner_php_grpc", - srcs = [":spanner_proto"], - deps = [":spanner_php_proto"], -) - php_gapic_library( name = "spanner_php_gapic", srcs = [":spanner_proto_with_info"], grpc_service_config = "spanner_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "spanner.yaml", transport = "grpc+rest", - deps = [ - ":spanner_php_grpc", - ":spanner_php_proto", - ], + deps = [":spanner_php_proto"], ) # Open Source Packages @@ -219,7 +205,6 @@ php_gapic_assembly_pkg( name = "google-cloud-spanner-v1-php", deps = [ ":spanner_php_gapic", - ":spanner_php_grpc", ":spanner_php_proto", ], ) diff --git a/third_party/googleapis/google/spanner/v1/commit_response.proto b/third_party/googleapis/google/spanner/v1/commit_response.proto index 69e073092..436a002b8 100644 --- a/third_party/googleapis/google/spanner/v1/commit_response.proto +++ b/third_party/googleapis/google/spanner/v1/commit_response.proto @@ -19,7 +19,7 @@ package google.spanner.v1; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Spanner.V1"; -option go_package = "google.golang.org/genproto/googleapis/spanner/v1;spanner"; +option go_package = "cloud.google.com/go/spanner/apiv1/spannerpb;spannerpb"; option java_multiple_files = true; option java_outer_classname = "CommitResponseProto"; option java_package = "com.google.spanner.v1"; diff --git a/third_party/googleapis/google/spanner/v1/keys.proto b/third_party/googleapis/google/spanner/v1/keys.proto index df3607aa4..8fb4757f5 100644 --- a/third_party/googleapis/google/spanner/v1/keys.proto +++ b/third_party/googleapis/google/spanner/v1/keys.proto @@ -19,7 +19,7 @@ package google.spanner.v1; import "google/protobuf/struct.proto"; option csharp_namespace = "Google.Cloud.Spanner.V1"; -option go_package = "google.golang.org/genproto/googleapis/spanner/v1;spanner"; +option go_package = "cloud.google.com/go/spanner/apiv1/spannerpb;spannerpb"; option java_multiple_files = true; option java_outer_classname = "KeysProto"; option java_package = "com.google.spanner.v1"; diff --git a/third_party/googleapis/google/spanner/v1/mutation.proto b/third_party/googleapis/google/spanner/v1/mutation.proto index eae0af72d..cced61f33 100644 --- a/third_party/googleapis/google/spanner/v1/mutation.proto +++ b/third_party/googleapis/google/spanner/v1/mutation.proto @@ -21,7 +21,7 @@ import "google/protobuf/struct.proto"; import "google/spanner/v1/keys.proto"; option csharp_namespace = "Google.Cloud.Spanner.V1"; -option go_package = "google.golang.org/genproto/googleapis/spanner/v1;spanner"; +option go_package = "cloud.google.com/go/spanner/apiv1/spannerpb;spannerpb"; option java_multiple_files = true; option java_outer_classname = "MutationProto"; option java_package = "com.google.spanner.v1"; diff --git a/third_party/googleapis/google/spanner/v1/query_plan.proto b/third_party/googleapis/google/spanner/v1/query_plan.proto index 9ea40fe4a..c0903bdd7 100644 --- a/third_party/googleapis/google/spanner/v1/query_plan.proto +++ b/third_party/googleapis/google/spanner/v1/query_plan.proto @@ -19,7 +19,7 @@ package google.spanner.v1; import "google/protobuf/struct.proto"; option csharp_namespace = "Google.Cloud.Spanner.V1"; -option go_package = "google.golang.org/genproto/googleapis/spanner/v1;spanner"; +option go_package = "cloud.google.com/go/spanner/apiv1/spannerpb;spannerpb"; option java_multiple_files = true; option java_outer_classname = "QueryPlanProto"; option java_package = "com.google.spanner.v1"; diff --git a/third_party/googleapis/google/spanner/v1/result_set.proto b/third_party/googleapis/google/spanner/v1/result_set.proto index 36df232bc..cfa5719c4 100644 --- a/third_party/googleapis/google/spanner/v1/result_set.proto +++ b/third_party/googleapis/google/spanner/v1/result_set.proto @@ -23,7 +23,7 @@ import "google/spanner/v1/type.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.Spanner.V1"; -option go_package = "google.golang.org/genproto/googleapis/spanner/v1;spanner"; +option go_package = "cloud.google.com/go/spanner/apiv1/spannerpb;spannerpb"; option java_multiple_files = true; option java_outer_classname = "ResultSetProto"; option java_package = "com.google.spanner.v1"; diff --git a/third_party/googleapis/google/spanner/v1/spanner.proto b/third_party/googleapis/google/spanner/v1/spanner.proto index 77a1f0e47..440ebf785 100644 --- a/third_party/googleapis/google/spanner/v1/spanner.proto +++ b/third_party/googleapis/google/spanner/v1/spanner.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,15 +16,17 @@ syntax = "proto3"; package google.spanner.v1; +import public "google/spanner/v1/commit_response.proto"; + import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/protobuf/duration.proto"; import "google/protobuf/empty.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; -import public "google/spanner/v1/commit_response.proto"; import "google/spanner/v1/keys.proto"; import "google/spanner/v1/mutation.proto"; import "google/spanner/v1/result_set.proto"; @@ -32,7 +34,7 @@ import "google/spanner/v1/transaction.proto"; import "google/spanner/v1/type.proto"; option csharp_namespace = "Google.Cloud.Spanner.V1"; -option go_package = "google.golang.org/genproto/googleapis/spanner/v1;spanner"; +option go_package = "cloud.google.com/go/spanner/apiv1/spannerpb;spannerpb"; option java_multiple_files = true; option java_outer_classname = "SpannerProto"; option java_package = "com.google.spanner.v1"; @@ -84,7 +86,8 @@ service Spanner { // // This API can be used to initialize a session cache on the clients. // See https://goo.gl/TgSFN2 for best practices on session cache management. - rpc BatchCreateSessions(BatchCreateSessionsRequest) returns (BatchCreateSessionsResponse) { + rpc BatchCreateSessions(BatchCreateSessionsRequest) + returns (BatchCreateSessionsResponse) { option (google.api.http) = { post: "/v1/{database=projects/*/instances/*/databases/*}/sessions:batchCreate" body: "*" @@ -127,10 +130,12 @@ service Spanner { // // Operations inside read-write transactions might return `ABORTED`. If // this occurs, the application should restart the transaction from - // the beginning. See [Transaction][google.spanner.v1.Transaction] for more details. + // the beginning. See [Transaction][google.spanner.v1.Transaction] for more + // details. // // Larger result sets can be fetched in streaming fashion by calling - // [ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql] instead. + // [ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql] + // instead. rpc ExecuteSql(ExecuteSqlRequest) returns (ResultSet) { option (google.api.http) = { post: "/v1/{session=projects/*/instances/*/databases/*/sessions/*}:executeSql" @@ -138,11 +143,11 @@ service Spanner { }; } - // Like [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql], except returns the result - // set as a stream. Unlike [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql], there - // is no limit on the size of the returned result set. However, no - // individual row in the result set can exceed 100 MiB, and no - // column value can exceed 10 MiB. + // Like [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql], except returns the + // result set as a stream. Unlike + // [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql], there is no limit on + // the size of the returned result set. However, no individual row in the + // result set can exceed 100 MiB, and no column value can exceed 10 MiB. rpc ExecuteStreamingSql(ExecuteSqlRequest) returns (stream PartialResultSet) { option (google.api.http) = { post: "/v1/{session=projects/*/instances/*/databases/*/sessions/*}:executeStreamingSql" @@ -155,13 +160,15 @@ service Spanner { // [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql]. // // Statements are executed in sequential order. A request can succeed even if - // a statement fails. The [ExecuteBatchDmlResponse.status][google.spanner.v1.ExecuteBatchDmlResponse.status] field in the - // response provides information about the statement that failed. Clients must - // inspect this field to determine whether an error occurred. + // a statement fails. The + // [ExecuteBatchDmlResponse.status][google.spanner.v1.ExecuteBatchDmlResponse.status] + // field in the response provides information about the statement that failed. + // Clients must inspect this field to determine whether an error occurred. // // Execution stops after the first failed statement; the remaining statements // are not executed. - rpc ExecuteBatchDml(ExecuteBatchDmlRequest) returns (ExecuteBatchDmlResponse) { + rpc ExecuteBatchDml(ExecuteBatchDmlRequest) + returns (ExecuteBatchDmlResponse) { option (google.api.http) = { post: "/v1/{session=projects/*/instances/*/databases/*/sessions/*}:executeBatchDml" body: "*" @@ -170,14 +177,15 @@ service Spanner { // Reads rows from the database using key lookups and scans, as a // simple key/value style alternative to - // [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql]. This method cannot be used to - // return a result set larger than 10 MiB; if the read matches more + // [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql]. This method cannot be + // used to return a result set larger than 10 MiB; if the read matches more // data than that, the read fails with a `FAILED_PRECONDITION` // error. // // Reads inside read-write transactions might return `ABORTED`. If // this occurs, the application should restart the transaction from - // the beginning. See [Transaction][google.spanner.v1.Transaction] for more details. + // the beginning. See [Transaction][google.spanner.v1.Transaction] for more + // details. // // Larger result sets can be yielded in streaming fashion by calling // [StreamingRead][google.spanner.v1.Spanner.StreamingRead] instead. @@ -188,9 +196,9 @@ service Spanner { }; } - // Like [Read][google.spanner.v1.Spanner.Read], except returns the result set as a - // stream. Unlike [Read][google.spanner.v1.Spanner.Read], there is no limit on the - // size of the returned result set. However, no individual row in + // Like [Read][google.spanner.v1.Spanner.Read], except returns the result set + // as a stream. Unlike [Read][google.spanner.v1.Spanner.Read], there is no + // limit on the size of the returned result set. However, no individual row in // the result set can exceed 100 MiB, and no column value can exceed // 10 MiB. rpc StreamingRead(ReadRequest) returns (stream PartialResultSet) { @@ -201,7 +209,8 @@ service Spanner { } // Begins a new transaction. This step can often be skipped: - // [Read][google.spanner.v1.Spanner.Read], [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql] and + // [Read][google.spanner.v1.Spanner.Read], + // [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql] and // [Commit][google.spanner.v1.Spanner.Commit] can begin a new transaction as a // side-effect. rpc BeginTransaction(BeginTransactionRequest) returns (Transaction) { @@ -232,13 +241,15 @@ service Spanner { body: "*" }; option (google.api.method_signature) = "session,transaction_id,mutations"; - option (google.api.method_signature) = "session,single_use_transaction,mutations"; + option (google.api.method_signature) = + "session,single_use_transaction,mutations"; } // Rolls back a transaction, releasing any locks it holds. It is a good // idea to call this for any transaction that includes one or more - // [Read][google.spanner.v1.Spanner.Read] or [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql] requests and - // ultimately decides not to commit. + // [Read][google.spanner.v1.Spanner.Read] or + // [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql] requests and ultimately + // decides not to commit. // // `Rollback` returns `OK` if it successfully aborts the transaction, the // transaction was already aborted, or the transaction is not @@ -253,10 +264,11 @@ service Spanner { // Creates a set of partition tokens that can be used to execute a query // operation in parallel. Each of the returned partition tokens can be used - // by [ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql] to specify a subset - // of the query result to read. The same session and read-only transaction - // must be used by the PartitionQueryRequest used to create the - // partition tokens and the ExecuteSqlRequests that use the partition tokens. + // by [ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql] to + // specify a subset of the query result to read. The same session and + // read-only transaction must be used by the PartitionQueryRequest used to + // create the partition tokens and the ExecuteSqlRequests that use the + // partition tokens. // // Partition tokens become invalid when the session used to create them // is deleted, is idle for too long, begins a new transaction, or becomes too @@ -271,12 +283,13 @@ service Spanner { // Creates a set of partition tokens that can be used to execute a read // operation in parallel. Each of the returned partition tokens can be used - // by [StreamingRead][google.spanner.v1.Spanner.StreamingRead] to specify a subset of the read - // result to read. The same session and read-only transaction must be used by - // the PartitionReadRequest used to create the partition tokens and the - // ReadRequests that use the partition tokens. There are no ordering - // guarantees on rows returned among the returned partition tokens, or even - // within each individual StreamingRead call issued with a partition_token. + // by [StreamingRead][google.spanner.v1.Spanner.StreamingRead] to specify a + // subset of the read result to read. The same session and read-only + // transaction must be used by the PartitionReadRequest used to create the + // partition tokens and the ReadRequests that use the partition tokens. There + // are no ordering guarantees on rows returned among the returned partition + // tokens, or even within each individual StreamingRead call issued with a + // partition_token. // // Partition tokens become invalid when the session used to create them // is deleted, is idle for too long, begins a new transaction, or becomes too @@ -288,6 +301,29 @@ service Spanner { body: "*" }; } + + // Batches the supplied mutation groups in a collection of efficient + // transactions. All mutations in a group are committed atomically. However, + // mutations across groups can be committed non-atomically in an unspecified + // order and thus, they must be independent of each other. Partial failure is + // possible, i.e., some groups may have been committed successfully, while + // some may have failed. The results of individual batches are streamed into + // the response as the batches are applied. + // + // BatchWrite requests are not replay protected, meaning that each mutation + // group may be applied more than once. Replays of non-idempotent mutations + // may have undesirable effects. For example, replays of an insert mutation + // may produce an already exists error or if you use generated or commit + // timestamp-based keys, it may result in additional rows being added to the + // mutation's table. We recommend structuring your mutation groups to be + // idempotent to avoid this issue. + rpc BatchWrite(BatchWriteRequest) returns (stream BatchWriteResponse) { + option (google.api.http) = { + post: "/v1/{session=projects/*/instances/*/databases/*/sessions/*}:batchWrite" + body: "*" + }; + option (google.api.method_signature) = "session,mutation_groups"; + } } // The request for [CreateSession][google.spanner.v1.Spanner.CreateSession]. @@ -304,7 +340,8 @@ message CreateSessionRequest { Session session = 2 [(google.api.field_behavior) = REQUIRED]; } -// The request for [BatchCreateSessions][google.spanner.v1.Spanner.BatchCreateSessions]. +// The request for +// [BatchCreateSessions][google.spanner.v1.Spanner.BatchCreateSessions]. message BatchCreateSessionsRequest { // Required. The database in which the new sessions are created. string database = 1 [ @@ -321,11 +358,13 @@ message BatchCreateSessionsRequest { // The API may return fewer than the requested number of sessions. If a // specific number of sessions are desired, the client can make additional // calls to BatchCreateSessions (adjusting - // [session_count][google.spanner.v1.BatchCreateSessionsRequest.session_count] as necessary). + // [session_count][google.spanner.v1.BatchCreateSessionsRequest.session_count] + // as necessary). int32 session_count = 3 [(google.api.field_behavior) = REQUIRED]; } -// The response for [BatchCreateSessions][google.spanner.v1.Spanner.BatchCreateSessions]. +// The response for +// [BatchCreateSessions][google.spanner.v1.Spanner.BatchCreateSessions]. message BatchCreateSessionsResponse { // The freshly created sessions. repeated Session session = 1; @@ -353,14 +392,25 @@ message Session { map labels = 2; // Output only. The timestamp when the session is created. - google.protobuf.Timestamp create_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The approximate timestamp when the session is last used. It is // typically earlier than the actual last use time. - google.protobuf.Timestamp approximate_last_use_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp approximate_last_use_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; // The database role which created this session. string creator_role = 5; + + // Optional. If true, specifies a multiplexed session. A multiplexed session + // may be used for multiple, concurrent read-only operations but can not be + // used for read-write transactions, partitioned reads, or partitioned + // queries. Multiplexed sessions can be created via + // [CreateSession][google.spanner.v1.Spanner.CreateSession] but not via + // [BatchCreateSessions][google.spanner.v1.Spanner.BatchCreateSessions]. + // Multiplexed sessions may not be deleted nor listed. + bool multiplexed = 6 [(google.api.field_behavior) = OPTIONAL]; } // The request for [GetSession][google.spanner.v1.Spanner.GetSession]. @@ -368,9 +418,7 @@ message GetSessionRequest { // Required. The name of the session to retrieve. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "spanner.googleapis.com/Session" - } + (google.api.resource_reference) = { type: "spanner.googleapis.com/Session" } ]; } @@ -389,7 +437,8 @@ message ListSessionsRequest { int32 page_size = 2; // If non-empty, `page_token` should contain a - // [next_page_token][google.spanner.v1.ListSessionsResponse.next_page_token] from a previous + // [next_page_token][google.spanner.v1.ListSessionsResponse.next_page_token] + // from a previous // [ListSessionsResponse][google.spanner.v1.ListSessionsResponse]. string page_token = 3; @@ -412,8 +461,8 @@ message ListSessionsResponse { repeated Session sessions = 1; // `next_page_token` can be sent in a subsequent - // [ListSessions][google.spanner.v1.Spanner.ListSessions] call to fetch more of the matching - // sessions. + // [ListSessions][google.spanner.v1.Spanner.ListSessions] call to fetch more + // of the matching sessions. string next_page_token = 2; } @@ -422,9 +471,7 @@ message DeleteSessionRequest { // Required. The name of the session to delete. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "spanner.googleapis.com/Session" - } + (google.api.resource_reference) = { type: "spanner.googleapis.com/Session" } ]; } @@ -489,6 +536,86 @@ message RequestOptions { string transaction_tag = 3; } +// The DirectedReadOptions can be used to indicate which replicas or regions +// should be used for non-transactional reads or queries. +// +// DirectedReadOptions may only be specified for a read-only transaction, +// otherwise the API will return an `INVALID_ARGUMENT` error. +message DirectedReadOptions { + // The directed read replica selector. + // Callers must provide one or more of the following fields for replica + // selection: + // + // * `location` - The location must be one of the regions within the + // multi-region configuration of your database. + // * `type` - The type of the replica. + // + // Some examples of using replica_selectors are: + // + // * `location:us-east1` --> The "us-east1" replica(s) of any available type + // will be used to process the request. + // * `type:READ_ONLY` --> The "READ_ONLY" type replica(s) in nearest + // available location will be used to process the + // request. + // * `location:us-east1 type:READ_ONLY` --> The "READ_ONLY" type replica(s) + // in location "us-east1" will be used to process + // the request. + message ReplicaSelection { + // Indicates the type of replica. + enum Type { + // Not specified. + TYPE_UNSPECIFIED = 0; + + // Read-write replicas support both reads and writes. + READ_WRITE = 1; + + // Read-only replicas only support reads (not writes). + READ_ONLY = 2; + } + + // The location or region of the serving requests, e.g. "us-east1". + string location = 1; + + // The type of replica. + Type type = 2; + } + + // An IncludeReplicas contains a repeated set of ReplicaSelection which + // indicates the order in which replicas should be considered. + message IncludeReplicas { + // The directed read replica selector. + repeated ReplicaSelection replica_selections = 1; + + // If true, Spanner will not route requests to a replica outside the + // include_replicas list when all of the specified replicas are unavailable + // or unhealthy. Default value is `false`. + bool auto_failover_disabled = 2; + } + + // An ExcludeReplicas contains a repeated set of ReplicaSelection that should + // be excluded from serving requests. + message ExcludeReplicas { + // The directed read replica selector. + repeated ReplicaSelection replica_selections = 1; + } + + // Required. At most one of either include_replicas or exclude_replicas + // should be present in the message. + oneof replicas { + // Include_replicas indicates the order of replicas (as they appear in + // this list) to process the request. If auto_failover_disabled is set to + // true and all replicas are exhausted without finding a healthy replica, + // Spanner will wait for a replica in the list to become available, requests + // may fail due to `DEADLINE_EXCEEDED` errors. + IncludeReplicas include_replicas = 1; + + // Exclude_replicas indicates that specified replicas should be excluded + // from serving requests. Spanner will not route requests to the replicas + // in this list. + ExcludeReplicas exclude_replicas = 2; + } +} + // The request for [ExecuteSql][google.spanner.v1.Spanner.ExecuteSql] and // [ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql]. message ExecuteSqlRequest { @@ -562,9 +689,7 @@ message ExecuteSqlRequest { // Required. The session in which the SQL query should be performed. string session = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "spanner.googleapis.com/Session" - } + (google.api.resource_reference) = { type: "spanner.googleapis.com/Session" } ]; // The transaction to use. @@ -599,7 +724,8 @@ message ExecuteSqlRequest { // It is not always possible for Cloud Spanner to infer the right SQL type // from a JSON value. For example, values of type `BYTES` and values - // of type `STRING` both appear in [params][google.spanner.v1.ExecuteSqlRequest.params] as JSON strings. + // of type `STRING` both appear in + // [params][google.spanner.v1.ExecuteSqlRequest.params] as JSON strings. // // In these cases, `param_types` can be used to specify the exact // SQL type for some or all of the SQL statement parameters. See the @@ -609,15 +735,18 @@ message ExecuteSqlRequest { // If this request is resuming a previously interrupted SQL statement // execution, `resume_token` should be copied from the last - // [PartialResultSet][google.spanner.v1.PartialResultSet] yielded before the interruption. Doing this - // enables the new SQL statement execution to resume where the last one left - // off. The rest of the request parameters must exactly match the - // request that yielded this token. + // [PartialResultSet][google.spanner.v1.PartialResultSet] yielded before the + // interruption. Doing this enables the new SQL statement execution to resume + // where the last one left off. The rest of the request parameters must + // exactly match the request that yielded this token. bytes resume_token = 6; // Used to control the amount of debugging information returned in - // [ResultSetStats][google.spanner.v1.ResultSetStats]. If [partition_token][google.spanner.v1.ExecuteSqlRequest.partition_token] is set, [query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode] can only - // be set to [QueryMode.NORMAL][google.spanner.v1.ExecuteSqlRequest.QueryMode.NORMAL]. + // [ResultSetStats][google.spanner.v1.ResultSetStats]. If + // [partition_token][google.spanner.v1.ExecuteSqlRequest.partition_token] is + // set, [query_mode][google.spanner.v1.ExecuteSqlRequest.query_mode] can only + // be set to + // [QueryMode.NORMAL][google.spanner.v1.ExecuteSqlRequest.QueryMode.NORMAL]. QueryMode query_mode = 7; // If present, results will be restricted to the specified partition @@ -644,12 +773,15 @@ message ExecuteSqlRequest { // Common options for this request. RequestOptions request_options = 11; - // If this is for a partitioned read and this field is set to `true`, the - // request will be executed via Spanner independent compute resources. + // Directed read options for this request. + DirectedReadOptions directed_read_options = 15; + + // If this is for a partitioned query and this field is set to `true`, the + // request is executed with Spanner Data Boost independent compute resources. // // If the field is set to `true` but the request does not set - // `partition_token`, the API will return an `INVALID_ARGUMENT` error. - bool data_boost_enabled = 15; + // `partition_token`, the API returns an `INVALID_ARGUMENT` error. + bool data_boost_enabled = 16; } // The request for [ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml]. @@ -675,7 +807,9 @@ message ExecuteBatchDmlRequest { // It is not always possible for Cloud Spanner to infer the right SQL type // from a JSON value. For example, values of type `BYTES` and values - // of type `STRING` both appear in [params][google.spanner.v1.ExecuteBatchDmlRequest.Statement.params] as JSON strings. + // of type `STRING` both appear in + // [params][google.spanner.v1.ExecuteBatchDmlRequest.Statement.params] as + // JSON strings. // // In these cases, `param_types` can be used to specify the exact // SQL type for some or all of the SQL statement parameters. See the @@ -687,9 +821,7 @@ message ExecuteBatchDmlRequest { // Required. The session in which the DML statements should be performed. string session = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "spanner.googleapis.com/Session" - } + (google.api.resource_reference) = { type: "spanner.googleapis.com/Session" } ]; // Required. The transaction to use. Must be a read-write transaction. @@ -699,17 +831,17 @@ message ExecuteBatchDmlRequest { // transaction. TransactionSelector transaction = 2 [(google.api.field_behavior) = REQUIRED]; - // Required. The list of statements to execute in this batch. Statements are executed - // serially, such that the effects of statement `i` are visible to statement - // `i+1`. Each statement must be a DML statement. Execution stops at the - // first failed statement; the remaining statements are not executed. + // Required. The list of statements to execute in this batch. Statements are + // executed serially, such that the effects of statement `i` are visible to + // statement `i+1`. Each statement must be a DML statement. Execution stops at + // the first failed statement; the remaining statements are not executed. // // Callers must provide at least one statement. repeated Statement statements = 3 [(google.api.field_behavior) = REQUIRED]; - // Required. A per-transaction sequence number used to identify this request. This field - // makes each request idempotent such that if the request is received multiple - // times, at most one will succeed. + // Required. A per-transaction sequence number used to identify this request. + // This field makes each request idempotent such that if the request is + // received multiple times, at most one will succeed. // // The sequence number must be monotonically increasing within the // transaction. If a request arrives for the first time with an out-of-order @@ -721,38 +853,47 @@ message ExecuteBatchDmlRequest { RequestOptions request_options = 5; } -// The response for [ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml]. Contains a list -// of [ResultSet][google.spanner.v1.ResultSet] messages, one for each DML statement that has successfully -// executed, in the same order as the statements in the request. If a statement -// fails, the status in the response body identifies the cause of the failure. +// The response for +// [ExecuteBatchDml][google.spanner.v1.Spanner.ExecuteBatchDml]. Contains a list +// of [ResultSet][google.spanner.v1.ResultSet] messages, one for each DML +// statement that has successfully executed, in the same order as the statements +// in the request. If a statement fails, the status in the response body +// identifies the cause of the failure. // // To check for DML statements that failed, use the following approach: // -// 1. Check the status in the response message. The [google.rpc.Code][google.rpc.Code] enum +// 1. Check the status in the response message. The +// [google.rpc.Code][google.rpc.Code] enum // value `OK` indicates that all statements were executed successfully. // 2. If the status was not `OK`, check the number of result sets in the -// response. If the response contains `N` [ResultSet][google.spanner.v1.ResultSet] messages, then -// statement `N+1` in the request failed. +// response. If the response contains `N` +// [ResultSet][google.spanner.v1.ResultSet] messages, then statement `N+1` in +// the request failed. // // Example 1: // // * Request: 5 DML statements, all executed successfully. -// * Response: 5 [ResultSet][google.spanner.v1.ResultSet] messages, with the status `OK`. +// * Response: 5 [ResultSet][google.spanner.v1.ResultSet] messages, with the +// status `OK`. // // Example 2: // // * Request: 5 DML statements. The third statement has a syntax error. -// * Response: 2 [ResultSet][google.spanner.v1.ResultSet] messages, and a syntax error (`INVALID_ARGUMENT`) -// status. The number of [ResultSet][google.spanner.v1.ResultSet] messages indicates that the third -// statement failed, and the fourth and fifth statements were not executed. +// * Response: 2 [ResultSet][google.spanner.v1.ResultSet] messages, and a syntax +// error (`INVALID_ARGUMENT`) +// status. The number of [ResultSet][google.spanner.v1.ResultSet] messages +// indicates that the third statement failed, and the fourth and fifth +// statements were not executed. message ExecuteBatchDmlResponse { - // One [ResultSet][google.spanner.v1.ResultSet] for each statement in the request that ran successfully, - // in the same order as the statements in the request. Each [ResultSet][google.spanner.v1.ResultSet] does - // not contain any rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each [ResultSet][google.spanner.v1.ResultSet] contain - // the number of rows modified by the statement. + // One [ResultSet][google.spanner.v1.ResultSet] for each statement in the + // request that ran successfully, in the same order as the statements in the + // request. Each [ResultSet][google.spanner.v1.ResultSet] does not contain any + // rows. The [ResultSetStats][google.spanner.v1.ResultSetStats] in each + // [ResultSet][google.spanner.v1.ResultSet] contain the number of rows + // modified by the statement. // - // Only the first [ResultSet][google.spanner.v1.ResultSet] in the response contains valid - // [ResultSetMetadata][google.spanner.v1.ResultSetMetadata]. + // Only the first [ResultSet][google.spanner.v1.ResultSet] in the response + // contains valid [ResultSetMetadata][google.spanner.v1.ResultSetMetadata]. repeated ResultSet result_sets = 1; // If all DML statements are executed successfully, the status is `OK`. @@ -787,24 +928,24 @@ message PartitionQueryRequest { // Required. The session used to create the partitions. string session = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "spanner.googleapis.com/Session" - } + (google.api.resource_reference) = { type: "spanner.googleapis.com/Session" } ]; // Read only snapshot transactions are supported, read/write and single use // transactions are not. TransactionSelector transaction = 2; - // Required. The query request to generate partitions for. The request will fail if - // the query is not root partitionable. The query plan of a root - // partitionable query has a single distributed union operator. A distributed - // union operator conceptually divides one or more tables into multiple - // splits, remotely evaluates a subquery independently on each split, and - // then unions all results. + // Required. The query request to generate partitions for. The request will + // fail if the query is not root partitionable. For a query to be root + // partitionable, it needs to satisfy a few conditions. For example, if the + // query execution plan contains a distributed union operator, then it must be + // the first operator in the plan. For more information about other + // conditions, see [Read data in + // parallel](https://cloud.google.com/spanner/docs/reads#read_data_in_parallel). // - // This must not contain DML commands, such as INSERT, UPDATE, or - // DELETE. Use [ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql] with a + // The query request must not contain DML commands, such as INSERT, UPDATE, or + // DELETE. Use + // [ExecuteStreamingSql][google.spanner.v1.Spanner.ExecuteStreamingSql] with a // PartitionedDml transaction for large, partition-friendly DML operations. string sql = 3 [(google.api.field_behavior) = REQUIRED]; @@ -824,7 +965,8 @@ message PartitionQueryRequest { // It is not always possible for Cloud Spanner to infer the right SQL type // from a JSON value. For example, values of type `BYTES` and values - // of type `STRING` both appear in [params][google.spanner.v1.PartitionQueryRequest.params] as JSON strings. + // of type `STRING` both appear in + // [params][google.spanner.v1.PartitionQueryRequest.params] as JSON strings. // // In these cases, `param_types` can be used to specify the exact // SQL type for some or all of the SQL query parameters. See the @@ -841,9 +983,7 @@ message PartitionReadRequest { // Required. The session used to create the partitions. string session = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "spanner.googleapis.com/Session" - } + (google.api.resource_reference) = { type: "spanner.googleapis.com/Session" } ]; // Read only snapshot transactions are supported, read/write and single use @@ -853,18 +993,24 @@ message PartitionReadRequest { // Required. The name of the table in the database to be read. string table = 3 [(google.api.field_behavior) = REQUIRED]; - // If non-empty, the name of an index on [table][google.spanner.v1.PartitionReadRequest.table]. This index is - // used instead of the table primary key when interpreting [key_set][google.spanner.v1.PartitionReadRequest.key_set] - // and sorting result rows. See [key_set][google.spanner.v1.PartitionReadRequest.key_set] for further information. + // If non-empty, the name of an index on + // [table][google.spanner.v1.PartitionReadRequest.table]. This index is used + // instead of the table primary key when interpreting + // [key_set][google.spanner.v1.PartitionReadRequest.key_set] and sorting + // result rows. See [key_set][google.spanner.v1.PartitionReadRequest.key_set] + // for further information. string index = 4; - // The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be returned for each row matching - // this request. + // The columns of [table][google.spanner.v1.PartitionReadRequest.table] to be + // returned for each row matching this request. repeated string columns = 5; // Required. `key_set` identifies the rows to be yielded. `key_set` names the - // primary keys of the rows in [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless [index][google.spanner.v1.PartitionReadRequest.index] - // is present. If [index][google.spanner.v1.PartitionReadRequest.index] is present, then [key_set][google.spanner.v1.PartitionReadRequest.key_set] instead names + // primary keys of the rows in + // [table][google.spanner.v1.PartitionReadRequest.table] to be yielded, unless + // [index][google.spanner.v1.PartitionReadRequest.index] is present. If + // [index][google.spanner.v1.PartitionReadRequest.index] is present, then + // [key_set][google.spanner.v1.PartitionReadRequest.key_set] instead names // index keys in [index][google.spanner.v1.PartitionReadRequest.index]. // // It is not an error for the `key_set` to name rows that do not @@ -900,9 +1046,7 @@ message ReadRequest { // Required. The session in which the read should be performed. string session = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "spanner.googleapis.com/Session" - } + (google.api.resource_reference) = { type: "spanner.googleapis.com/Session" } ]; // The transaction to use. If none is provided, the default is a @@ -912,24 +1056,31 @@ message ReadRequest { // Required. The name of the table in the database to be read. string table = 3 [(google.api.field_behavior) = REQUIRED]; - // If non-empty, the name of an index on [table][google.spanner.v1.ReadRequest.table]. This index is - // used instead of the table primary key when interpreting [key_set][google.spanner.v1.ReadRequest.key_set] - // and sorting result rows. See [key_set][google.spanner.v1.ReadRequest.key_set] for further information. + // If non-empty, the name of an index on + // [table][google.spanner.v1.ReadRequest.table]. This index is used instead of + // the table primary key when interpreting + // [key_set][google.spanner.v1.ReadRequest.key_set] and sorting result rows. + // See [key_set][google.spanner.v1.ReadRequest.key_set] for further + // information. string index = 4; - // Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be returned for each row matching - // this request. + // Required. The columns of [table][google.spanner.v1.ReadRequest.table] to be + // returned for each row matching this request. repeated string columns = 5 [(google.api.field_behavior) = REQUIRED]; // Required. `key_set` identifies the rows to be yielded. `key_set` names the - // primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to be yielded, unless [index][google.spanner.v1.ReadRequest.index] - // is present. If [index][google.spanner.v1.ReadRequest.index] is present, then [key_set][google.spanner.v1.ReadRequest.key_set] instead names - // index keys in [index][google.spanner.v1.ReadRequest.index]. + // primary keys of the rows in [table][google.spanner.v1.ReadRequest.table] to + // be yielded, unless [index][google.spanner.v1.ReadRequest.index] is present. + // If [index][google.spanner.v1.ReadRequest.index] is present, then + // [key_set][google.spanner.v1.ReadRequest.key_set] instead names index keys + // in [index][google.spanner.v1.ReadRequest.index]. // - // If the [partition_token][google.spanner.v1.ReadRequest.partition_token] field is empty, rows are yielded - // in table primary key order (if [index][google.spanner.v1.ReadRequest.index] is empty) or index key order - // (if [index][google.spanner.v1.ReadRequest.index] is non-empty). If the [partition_token][google.spanner.v1.ReadRequest.partition_token] field is not - // empty, rows will be yielded in an unspecified order. + // If the [partition_token][google.spanner.v1.ReadRequest.partition_token] + // field is empty, rows are yielded in table primary key order (if + // [index][google.spanner.v1.ReadRequest.index] is empty) or index key order + // (if [index][google.spanner.v1.ReadRequest.index] is non-empty). If the + // [partition_token][google.spanner.v1.ReadRequest.partition_token] field is + // not empty, rows will be yielded in an unspecified order. // // It is not an error for the `key_set` to name rows that do not // exist in the database. Read yields nothing for nonexistent rows. @@ -942,9 +1093,9 @@ message ReadRequest { // If this request is resuming a previously interrupted read, // `resume_token` should be copied from the last - // [PartialResultSet][google.spanner.v1.PartialResultSet] yielded before the interruption. Doing this - // enables the new read to resume where the last read left off. The - // rest of the request parameters must exactly match the request + // [PartialResultSet][google.spanner.v1.PartialResultSet] yielded before the + // interruption. Doing this enables the new read to resume where the last read + // left off. The rest of the request parameters must exactly match the request // that yielded this token. bytes resume_token = 9; @@ -957,22 +1108,24 @@ message ReadRequest { // Common options for this request. RequestOptions request_options = 11; - // If this is for a partitioned query and this field is set to `true`, the - // request will be executed via Spanner independent compute resources. + // Directed read options for this request. + DirectedReadOptions directed_read_options = 14; + + // If this is for a partitioned read and this field is set to `true`, the + // request is executed with Spanner Data Boost independent compute resources. // // If the field is set to `true` but the request does not set - // `partition_token`, the API will return an `INVALID_ARGUMENT` error. - bool data_boost_enabled = 16; + // `partition_token`, the API returns an `INVALID_ARGUMENT` error. + bool data_boost_enabled = 15; } -// The request for [BeginTransaction][google.spanner.v1.Spanner.BeginTransaction]. +// The request for +// [BeginTransaction][google.spanner.v1.Spanner.BeginTransaction]. message BeginTransactionRequest { // Required. The session in which the transaction runs. string session = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "spanner.googleapis.com/Session" - } + (google.api.resource_reference) = { type: "spanner.googleapis.com/Session" } ]; // Required. Options for the new transaction. @@ -991,9 +1144,7 @@ message CommitRequest { // Required. The session in which the transaction to be committed is running. string session = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "spanner.googleapis.com/Session" - } + (google.api.resource_reference) = { type: "spanner.googleapis.com/Session" } ]; // Required. The transaction in which to commit. @@ -1019,10 +1170,18 @@ message CommitRequest { repeated Mutation mutations = 4; // If `true`, then statistics related to the transaction will be included in - // the [CommitResponse][google.spanner.v1.CommitResponse.commit_stats]. Default value is - // `false`. + // the [CommitResponse][google.spanner.v1.CommitResponse.commit_stats]. + // Default value is `false`. bool return_commit_stats = 5; + // Optional. The amount of latency this request is willing to incur in order + // to improve throughput. If this field is not set, Spanner assumes requests + // are relatively latency sensitive and automatically determines an + // appropriate delay time. You can specify a batching delay value between 0 + // and 500 ms. + google.protobuf.Duration max_commit_delay = 8 + [(google.api.field_behavior) = OPTIONAL]; + // Common options for this request. RequestOptions request_options = 6; } @@ -1032,11 +1191,62 @@ message RollbackRequest { // Required. The session in which the transaction to roll back is running. string session = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "spanner.googleapis.com/Session" - } + (google.api.resource_reference) = { type: "spanner.googleapis.com/Session" } ]; // Required. The transaction to roll back. bytes transaction_id = 2 [(google.api.field_behavior) = REQUIRED]; } + +// The request for [BatchWrite][google.spanner.v1.Spanner.BatchWrite]. +message BatchWriteRequest { + // A group of mutations to be committed together. Related mutations should be + // placed in a group. For example, two mutations inserting rows with the same + // primary key prefix in both parent and child tables are related. + message MutationGroup { + // Required. The mutations in this group. + repeated Mutation mutations = 1 [(google.api.field_behavior) = REQUIRED]; + } + + // Required. The session in which the batch request is to be run. + string session = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "spanner.googleapis.com/Session" } + ]; + + // Common options for this request. + RequestOptions request_options = 3; + + // Required. The groups of mutations to be applied. + repeated MutationGroup mutation_groups = 4 + [(google.api.field_behavior) = REQUIRED]; + + // Optional. When `exclude_txn_from_change_streams` is set to `true`: + // * Mutations from all transactions in this batch write operation will not + // be recorded in change streams with DDL option `allow_txn_exclusion=true` + // that are tracking columns modified by these transactions. + // * Mutations from all transactions in this batch write operation will be + // recorded in change streams with DDL option `allow_txn_exclusion=false or + // not set` that are tracking columns modified by these transactions. + // + // When `exclude_txn_from_change_streams` is set to `false` or not set, + // mutations from all transactions in this batch write operation will be + // recorded in all change streams that are tracking columns modified by these + // transactions. + bool exclude_txn_from_change_streams = 5 + [(google.api.field_behavior) = OPTIONAL]; +} + +// The result of applying a batch of mutations. +message BatchWriteResponse { + // The mutation groups applied in this batch. The values index into the + // `mutation_groups` field in the corresponding `BatchWriteRequest`. + repeated int32 indexes = 1; + + // An `OK` status indicates success. Any other status indicates a failure. + google.rpc.Status status = 2; + + // The commit timestamp of the transaction that applied this batch. + // Present if `status` is `OK`, absent otherwise. + google.protobuf.Timestamp commit_timestamp = 3; +} diff --git a/third_party/googleapis/google/spanner/v1/spanner_grpc_service_config.json b/third_party/googleapis/google/spanner/v1/spanner_grpc_service_config.json index 49ea75f81..5176a671b 100755 --- a/third_party/googleapis/google/spanner/v1/spanner_grpc_service_config.json +++ b/third_party/googleapis/google/spanner/v1/spanner_grpc_service_config.json @@ -9,6 +9,10 @@ { "service": "google.spanner.v1.Spanner", "method": "StreamingRead" + }, + { + "service": "google.spanner.v1.Spanner", + "method": "BatchWrite" } ], "timeout": "3600s" diff --git a/third_party/googleapis/google/spanner/v1/transaction.proto b/third_party/googleapis/google/spanner/v1/transaction.proto index 49ab5cf52..4b7fe4a9d 100644 --- a/third_party/googleapis/google/spanner/v1/transaction.proto +++ b/third_party/googleapis/google/spanner/v1/transaction.proto @@ -20,7 +20,7 @@ import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.Spanner.V1"; -option go_package = "google.golang.org/genproto/googleapis/spanner/v1;spanner"; +option go_package = "cloud.google.com/go/spanner/apiv1/spannerpb;spannerpb"; option java_multiple_files = true; option java_outer_classname = "TransactionProto"; option java_package = "com.google.spanner.v1"; diff --git a/third_party/googleapis/google/spanner/v1/type.proto b/third_party/googleapis/google/spanner/v1/type.proto index 712ec187f..8e28fa7fd 100644 --- a/third_party/googleapis/google/spanner/v1/type.proto +++ b/third_party/googleapis/google/spanner/v1/type.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -19,7 +19,7 @@ package google.spanner.v1; import "google/api/field_behavior.proto"; option csharp_namespace = "Google.Cloud.Spanner.V1"; -option go_package = "google.golang.org/genproto/googleapis/spanner/v1;spanner"; +option go_package = "cloud.google.com/go/spanner/apiv1/spannerpb;spannerpb"; option java_multiple_files = true; option java_outer_classname = "TypeProto"; option java_package = "com.google.spanner.v1"; @@ -47,6 +47,13 @@ message Type { // typically is not needed to process the content of a value (it doesn't // affect serialization) and clients can ignore it on the read path. TypeAnnotationCode type_annotation = 4; + + // If [code][google.spanner.v1.Type.code] == + // [PROTO][google.spanner.v1.TypeCode.PROTO] or + // [code][google.spanner.v1.Type.code] == + // [ENUM][google.spanner.v1.TypeCode.ENUM], then `proto_type_fqn` is the fully + // qualified name of the proto type representing the proto/enum definition. + string proto_type_fqn = 5; } // `StructType` defines the fields of a [STRUCT][google.spanner.v1.TypeCode.STRUCT] type. @@ -96,6 +103,10 @@ enum TypeCode { // `"-Infinity"`. FLOAT64 = 3; + // Encoded as `number`, or the strings `"NaN"`, `"Infinity"`, or + // `"-Infinity"`. + FLOAT32 = 15; + // Encoded as `string` in RFC 3339 timestamp format. The time zone // must be present, and must be `"Z"`. // @@ -145,6 +156,13 @@ enum TypeCode { // preserved. // - JSON array elements will have their order preserved. JSON = 11; + + // Encoded as a base64-encoded `string`, as described in RFC 4648, + // section 4. + PROTO = 13; + + // Encoded as `string`, in decimal format. + ENUM = 14; } // `TypeAnnotationCode` is used as a part of [Type][google.spanner.v1.Type] to @@ -171,4 +189,9 @@ enum TypeAnnotationCode { // [JSON][google.spanner.v1.TypeCode.JSON] when a client interacts with PostgreSQL-enabled // Spanner databases. PG_JSONB = 3; + + // PostgreSQL compatible OID type. This annotation can be used by a client + // interacting with PostgreSQL-enabled Spanner database to specify that a + // value should be treated using the semantics of the OID type. + PG_OID = 4; } diff --git a/third_party/googleapis/google/storage/v1/BUILD.bazel b/third_party/googleapis/google/storage/v1/BUILD.bazel index a02ed5f7d..f5e61f0d6 100644 --- a/third_party/googleapis/google/storage/v1/BUILD.bazel +++ b/third_party/googleapis/google/storage/v1/BUILD.bazel @@ -100,7 +100,6 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -109,21 +108,9 @@ php_proto_library( deps = [":storage_proto"], ) -php_grpc_library( - name = "storage_php_grpc", - srcs = [":storage_proto"], - deps = [":storage_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) - ############################################################################## # Ruby diff --git a/third_party/googleapis/google/storage/v2/BUILD.bazel b/third_party/googleapis/google/storage/v2/BUILD.bazel index 3f488e98e..8fa25cc09 100644 --- a/third_party/googleapis/google/storage/v2/BUILD.bazel +++ b/third_party/googleapis/google/storage/v2/BUILD.bazel @@ -17,10 +17,13 @@ load( "@com_google_googleapis_imports//:imports.bzl", "cc_grpc_library", "cc_proto_library", + "csharp_gapic_assembly_pkg", + "csharp_gapic_library", + "csharp_grpc_library", + "csharp_proto_library", "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -30,7 +33,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -88,6 +90,7 @@ java_gapic_library( srcs = [":storage_proto_with_info"], grpc_service_config = "storage_grpc_service_config.json", rest_numeric_enums = True, + service_yaml = "storage_v2.yaml", test_deps = [ ":storage_java_grpc", "//google/iam/v1:iam_java_grpc", @@ -123,7 +126,7 @@ java_gapic_assembly_gradle_pkg( go_proto_library( name = "storage_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/storage/v2", + importpath = "cloud.google.com/go/storage/internal/apiv2/storagepb", protos = [":storage_proto"], deps = [ "//google/api:annotations_go_proto", @@ -137,7 +140,7 @@ go_gapic_library( name = "storage_go_gapic", srcs = [":storage_proto_with_info"], grpc_service_config = "storage_grpc_service_config.json", - importpath = "cloud.google.com/go/storage/apiv2;storage", + importpath = "cloud.google.com/go/storage/internal/apiv2;storage", metadata = True, rest_numeric_enums = True, service_yaml = "storage_v2.yaml", @@ -149,19 +152,13 @@ go_gapic_library( ], ) -go_test( - name = "storage_go_gapic_test", - srcs = [":storage_go_gapic_srcjar_test"], - embed = [":storage_go_gapic"], - importpath = "cloud.google.com/go/storage/apiv2", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-storage-v2-go", deps = [ ":storage_go_gapic", ":storage_go_gapic_srcjar-metadata.srcjar", + ":storage_go_gapic_srcjar-snippets.srcjar", ":storage_go_gapic_srcjar-test.srcjar", ":storage_go_proto", ], @@ -180,16 +177,15 @@ py_gapic_library( ], ) -# Uncomment once https://github.com/googleapis/gapic-generator-python/issues/1377 is fixed -#py_test( -# name = "storage_py_gapic_test", -# srcs = [ -# "storage_py_gapic_pytest.py", -# "storage_py_gapic_test.py", -# ], -# legacy_create_init = False, -# deps = [":storage_py_gapic"], -#) +py_test( + name = "storage_py_gapic_test", + srcs = [ + "storage_py_gapic_pytest.py", + "storage_py_gapic_test.py", + ], + legacy_create_init = False, + deps = [":storage_py_gapic"], +) # Open Source Packages py_gapic_assembly_pkg( @@ -204,12 +200,6 @@ php_proto_library( deps = [":storage_proto"], ) -php_grpc_library( - name = "storage_php_grpc", - srcs = [":storage_proto"], - deps = [":storage_php_proto"], -) - # PHP always supports gRPC and REST, but there is no PHP GAPIC for this API. php_gapic_library( name = "storage_php_gapic", @@ -218,10 +208,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "storage_v2.yaml", transport = "grpc+rest", - deps = [ - ":storage_php_grpc", - ":storage_php_proto", - ], + deps = [":storage_php_proto"], ) # Open Source Packages @@ -229,7 +216,6 @@ php_gapic_assembly_pkg( name = "google-cloud-storage-v2-php", deps = [ ":storage_php_gapic", - ":storage_php_grpc", ":storage_php_proto", ], ) @@ -289,53 +275,38 @@ ruby_gapic_assembly_pkg( ], ) -############################################################################## -# C# -############################################################################## -# -# C# generation is disabled because generation fails as gapic-generator-csharp -# doesn't support client-streaming RPCs. -# -# load( -# "@com_google_googleapis_imports//:imports.bzl", -# "csharp_gapic_assembly_pkg", -# "csharp_gapic_library", -# "csharp_grpc_library", -# "csharp_proto_library", -# ) -# -# csharp_proto_library( -# name = "storage_csharp_proto", -# deps = [":storage_proto"], -# ) -# -# csharp_grpc_library( -# name = "storage_csharp_grpc", -# srcs = [":storage_proto"], -# deps = [":storage_csharp_proto"], -# ) -# -# csharp_gapic_library( -# name = "storage_csharp_gapic", -# srcs = [":storage_proto_with_info"], -# common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", -# grpc_service_config = "storage_grpc_service_config.json", -# service_yaml = "storage_v2.yaml", -# deps = [ -# ":storage_csharp_grpc", -# ":storage_csharp_proto", -# ], -# ) -# -# # Open Source Packages -# csharp_gapic_assembly_pkg( -# name = "google-cloud-storage-v2-csharp", -# deps = [ -# ":storage_csharp_gapic", -# ":storage_csharp_grpc", -# ":storage_csharp_proto", -# ], -# ) +csharp_proto_library( + name = "storage_csharp_proto", + deps = [":storage_proto"], +) + +csharp_grpc_library( + name = "storage_csharp_grpc", + srcs = [":storage_proto"], + deps = [":storage_csharp_proto"], +) + +csharp_gapic_library( + name = "storage_csharp_gapic", + srcs = [":storage_proto_with_info"], + common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", + grpc_service_config = "storage_grpc_service_config.json", + service_yaml = "storage_v2.yaml", + deps = [ + ":storage_csharp_grpc", + ":storage_csharp_proto", + ], +) + +# Open Source Packages +csharp_gapic_assembly_pkg( + name = "google-cloud-storage-v2-csharp", + deps = [ + ":storage_csharp_gapic", + ":storage_csharp_grpc", + ":storage_csharp_proto", + ], +) cc_proto_library( name = "storage_cc_proto", diff --git a/third_party/googleapis/google/storage/v2/storage.proto b/third_party/googleapis/google/storage/v2/storage.proto index 1c1551cf3..de6e27ea3 100644 --- a/third_party/googleapis/google/storage/v2/storage.proto +++ b/third_party/googleapis/google/storage/v2/storage.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -28,7 +28,7 @@ import "google/protobuf/field_mask.proto"; import "google/protobuf/timestamp.proto"; import "google/type/date.proto"; -option go_package = "google.golang.org/genproto/googleapis/storage/v2;storage"; +option go_package = "cloud.google.com/go/storage/internal/apiv2/storagepb;storagepb"; option java_multiple_files = true; option java_outer_classname = "StorageProto"; option java_package = "com.google.storage.v2"; @@ -112,34 +112,24 @@ service Storage { option (google.api.method_signature) = "bucket"; } - // Gets the IAM policy for a specified bucket or object. + // Gets the IAM policy for a specified bucket. // The `resource` field in the request should be - // projects/_/buckets/ for a bucket or - // projects/_/buckets//objects/ for an object. + // `projects/_/buckets/{bucket}`. rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) { option (google.api.routing) = { routing_parameters { field: "resource" path_template: "{bucket=**}" } - routing_parameters { - field: "resource" - path_template: "{bucket=projects/*/buckets/*}/objects/**" - } }; option (google.api.method_signature) = "resource"; } - // Updates an IAM policy for the specified bucket or object. + // Updates an IAM policy for the specified bucket. // The `resource` field in the request should be - // projects/_/buckets/ for a bucket or - // projects/_/buckets//objects/ for an object. + // `projects/_/buckets/{bucket}`. rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) { option (google.api.routing) = { routing_parameters { field: "resource" path_template: "{bucket=**}" } - routing_parameters { - field: "resource" - path_template: "{bucket=projects/*/buckets/*}/objects/**" - } }; option (google.api.method_signature) = "resource,policy"; } @@ -147,8 +137,8 @@ service Storage { // Tests a set of permissions on the given bucket or object to see which, if // any, are held by the caller. // The `resource` field in the request should be - // projects/_/buckets/ for a bucket or - // projects/_/buckets//objects/ for an object. + // `projects/_/buckets/{bucket}` for a bucket or + // `projects/_/buckets/{bucket}/objects/{object}` for an object. rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) { option (google.api.routing) = { @@ -225,8 +215,12 @@ service Storage { }; } - // Deletes an object and its metadata. Deletions are permanent if versioning - // is not enabled for the bucket, or if the `generation` parameter is used. + // Deletes an object and its metadata. + // + // Deletions are normally permanent when versioning is disabled or whenever + // the generation parameter is used. However, if soft delete is enabled for + // the bucket, deleted objects can be restored using RestoreObject until the + // soft delete retention period has passed. rpc DeleteObject(DeleteObjectRequest) returns (google.protobuf.Empty) { option (google.api.routing) = { routing_parameters { field: "bucket" path_template: "{bucket=**}" } @@ -235,7 +229,22 @@ service Storage { option (google.api.method_signature) = "bucket,object,generation"; } + // Restores a soft-deleted object. + rpc RestoreObject(RestoreObjectRequest) returns (Object) { + option (google.api.routing) = { + routing_parameters { field: "bucket" path_template: "{bucket=**}" } + }; + option (google.api.method_signature) = "bucket,object,generation"; + } + // Cancels an in-progress resumable upload. + // + // Any attempts to write to the resumable upload after cancelling the upload + // will fail. + // + // The behavior for currently in progress write operations is not guaranteed - + // they could either complete before the cancellation or fail if the + // cancellation completes first. rpc CancelResumableWrite(CancelResumableWriteRequest) returns (CancelResumableWriteResponse) { option (google.api.routing) = { @@ -316,6 +325,8 @@ service Storage { // persisted offset. Even though the data isn't written, it may still // incur a performance cost over resuming at the correct write offset. // This behavior can make client-side handling simpler in some cases. + // - Clients must only send data that is a multiple of 256 KiB per message, + // unless the object is being finished with `finish_write` set to `true`. // // The service will not view the object as complete until the client has // sent a `WriteObjectRequest` with `finish_write` set to `true`. Sending any @@ -327,8 +338,30 @@ service Storage { // Attempting to resume an already finalized object will result in an OK // status, with a WriteObjectResponse containing the finalized object's // metadata. + // + // Alternatively, the BidiWriteObject operation may be used to write an + // object with controls over flushing and the ability to fetch the ability to + // determine the current persisted size. rpc WriteObject(stream WriteObjectRequest) returns (WriteObjectResponse) {} + // Stores a new object and metadata. + // + // This is similar to the WriteObject call with the added support for + // manual flushing of persisted state, and the ability to determine current + // persisted size without closing the stream. + // + // The client may specify one or both of the `state_lookup` and `flush` fields + // in each BidiWriteObjectRequest. If `flush` is specified, the data written + // so far will be persisted to storage. If `state_lookup` is specified, the + // service will respond with a BidiWriteObjectResponse that contains the + // persisted size. If both `flush` and `state_lookup` are specified, the flush + // will always occur before a `state_lookup`, so that both may be set in the + // same request and the returned state will be the state of the object + // post-flush. When the stream is closed, a BidiWriteObjectResponse will + // always be sent to the client, regardless of the value of `state_lookup`. + rpc BidiWriteObject(stream BidiWriteObjectRequest) + returns (stream BidiWriteObjectResponse) {} + // Retrieves a list of objects matching the criteria. rpc ListObjects(ListObjectsRequest) returns (ListObjectsResponse) { option (google.api.routing) = { @@ -482,14 +515,17 @@ message CreateBucketRequest { string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { - type: "cloudresourcemanager.googleapis.com/Project" + child_type: "storage.googleapis.com/Bucket" } ]; // Properties of the new bucket being inserted. - // The project and name of the bucket are specified in the parent and - // bucket_id fields, respectively. Populating those fields in `bucket` will - // result in an error. + // The name of the bucket is specified in the `bucket_id` field. Populating + // `bucket.name` field will result in an error. + // The project of the bucket must be specified in the `bucket.project` field. + // This field must be in `projects/{projectIdentifier}` format, + // {projectIdentifier} can be the project ID or project number. The `parent` + // field must be either empty or `projects/_`. Bucket bucket = 2; // Required. The ID to use for this bucket, which will become the final @@ -514,7 +550,7 @@ message ListBucketsRequest { string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { - type: "cloudresourcemanager.googleapis.com/Project" + child_type: "storage.googleapis.com/Bucket" } ]; @@ -593,8 +629,6 @@ message UpdateBucketRequest { // may accidentally reset the new field's value. // // Not specifying any fields is an error. - // Not specifying a field while setting that field to a non-default value is - // an error. google.protobuf.FieldMask update_mask = 6 [(google.api.field_behavior) = REQUIRED]; } @@ -617,7 +651,9 @@ message GetNotificationConfigRequest { // `projects/{project}/buckets/{bucket}/notificationConfigs/{notificationConfig}` string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { type: "storage.googleapis.com/Bucket" } + (google.api.resource_reference) = { + type: "storage.googleapis.com/NotificationConfig" + } ]; } @@ -627,7 +663,7 @@ message CreateNotificationConfigRequest { string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { - child_type: "storage.googleapis.com/Bucket" + child_type: "storage.googleapis.com/NotificationConfig" } ]; @@ -642,7 +678,7 @@ message ListNotificationConfigsRequest { string parent = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { - child_type: "storage.googleapis.com/Bucket" + child_type: "storage.googleapis.com/NotificationConfig" } ]; @@ -732,7 +768,10 @@ message ComposeObjectRequest { // `bucket` and `object` **must** be set. message DeleteObjectRequest { // Required. Name of the bucket in which the object resides. - string bucket = 1 [(google.api.field_behavior) = REQUIRED]; + string bucket = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "storage.googleapis.com/Bucket" } + ]; // Required. The name of the finalized object to delete. // Note: If you want to delete an unfinalized resumable upload please use @@ -766,6 +805,49 @@ message DeleteObjectRequest { CommonObjectRequestParams common_object_request_params = 10; } +// Message for restoring an object. +// `bucket`, `object`, and `generation` **must** be set. +message RestoreObjectRequest { + // Required. Name of the bucket in which the object resides. + string bucket = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "storage.googleapis.com/Bucket" } + ]; + + // Required. The name of the object to restore. + string object = 2 [(google.api.field_behavior) = REQUIRED]; + + // Required. The specific revision of the object to restore. + int64 generation = 3 [(google.api.field_behavior) = REQUIRED]; + + // Makes the operation conditional on whether the object's current generation + // matches the given value. Setting to 0 makes the operation succeed only if + // there are no live versions of the object. + optional int64 if_generation_match = 4; + + // Makes the operation conditional on whether the object's live generation + // does not match the given value. If no live object exists, the precondition + // fails. Setting to 0 makes the operation succeed only if there is a live + // version of the object. + optional int64 if_generation_not_match = 5; + + // Makes the operation conditional on whether the object's current + // metageneration matches the given value. + optional int64 if_metageneration_match = 6; + + // Makes the operation conditional on whether the object's current + // metageneration does not match the given value. + optional int64 if_metageneration_not_match = 7; + + // If false or unset, the bucket's default object ACL will be used. + // If true, copy the source object's access controls. + // Return an error if bucket has UBLA enabled. + optional bool copy_source_acl = 9; + + // A set of parameters common to Storage API requests concerning an object. + CommonObjectRequestParams common_object_request_params = 8; +} + // Message for canceling an in-progress resumable upload. // `upload_id` **must** be set. message CancelResumableWriteRequest { @@ -781,7 +863,10 @@ message CancelResumableWriteResponse {} // Request message for ReadObject. message ReadObjectRequest { // Required. The name of the bucket containing the object to read. - string bucket = 1 [(google.api.field_behavior) = REQUIRED]; + string bucket = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "storage.googleapis.com/Bucket" } + ]; // Required. The name of the object to read. string object = 2 [(google.api.field_behavior) = REQUIRED]; @@ -843,7 +928,10 @@ message ReadObjectRequest { // Request message for GetObject. message GetObjectRequest { // Required. Name of the bucket in which the object resides. - string bucket = 1 [(google.api.field_behavior) = REQUIRED]; + string bucket = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "storage.googleapis.com/Bucket" } + ]; // Required. Name of the object. string object = 2 [(google.api.field_behavior) = REQUIRED]; @@ -852,6 +940,9 @@ message GetObjectRequest { // latest version, the default). int64 generation = 3; + // If true, return the soft-deleted version of this object. + optional bool soft_deleted = 11; + // Makes the operation conditional on whether the object's current generation // matches the given value. Setting to 0 makes the operation succeed only if // there are no live versions of the object. @@ -889,9 +980,9 @@ message ReadObjectResponse { // generate more data. ChecksummedData checksummed_data = 1; - // The checksums of the complete object. The client should compute one of - // these checksums over the downloaded object and compare it against the value - // provided here. + // The checksums of the complete object. If the object is downloaded in full, + // the client should compute one of these checksums over the downloaded object + // and compare it against the value provided here. ObjectChecksums object_checksums = 2; // If read_offset and or read_limit was specified on the @@ -940,8 +1031,6 @@ message WriteObjectSpec { // This situation is considered a client error, and if such an error occurs // you must start the upload over from scratch, this time sending the correct // number of bytes. - // - // The `object_size` value is ignored for one-shot (non-resumable) writes. optional int64 object_size = 8; } @@ -981,7 +1070,7 @@ message WriteObjectRequest { } // Checksums for the complete object. If the checksums computed by the service - // don't match the specifified checksums the call will fail. May only be + // don't match the specified checksums the call will fail. May only be // provided in the first or last request (either with first_message, or // finish_write set). ObjectChecksums object_checksums = 6; @@ -1012,14 +1101,97 @@ message WriteObjectResponse { } } +// Request message for BidiWriteObject. +message BidiWriteObjectRequest { + // The first message of each stream should set one of the following. + oneof first_message { + // For resumable uploads. This should be the `upload_id` returned from a + // call to `StartResumableWriteResponse`. + string upload_id = 1; + + // For non-resumable uploads. Describes the overall upload, including the + // destination bucket and object name, preconditions, etc. + WriteObjectSpec write_object_spec = 2; + } + + // Required. The offset from the beginning of the object at which the data + // should be written. + // + // In the first `WriteObjectRequest` of a `WriteObject()` action, it + // indicates the initial offset for the `Write()` call. The value **must** be + // equal to the `persisted_size` that a call to `QueryWriteStatus()` would + // return (0 if this is the first write to the object). + // + // On subsequent calls, this value **must** be no larger than the sum of the + // first `write_offset` and the sizes of all `data` chunks sent previously on + // this stream. + // + // An invalid value will cause an error. + int64 write_offset = 3 [(google.api.field_behavior) = REQUIRED]; + + // A portion of the data for the object. + oneof data { + // The data to insert. If a crc32c checksum is provided that doesn't match + // the checksum computed by the service, the request will fail. + ChecksummedData checksummed_data = 4; + } + + // Checksums for the complete object. If the checksums computed by the service + // don't match the specified checksums the call will fail. May only be + // provided in the first or last request (either with first_message, or + // finish_write set). + ObjectChecksums object_checksums = 6; + + // For each BidiWriteObjectRequest where state_lookup is `true` or the client + // closes the stream, the service will send a BidiWriteObjectResponse + // containing the current persisted size. The persisted size sent in responses + // covers all the bytes the server has persisted thus far and can be used to + // decide what data is safe for the client to drop. Note that the object's + // current size reported by the BidiWriteObjectResponse may lag behind the + // number of bytes written by the client. This field is ignored if + // `finish_write` is set to true. + bool state_lookup = 7; + + // Persists data written on the stream, up to and including the current + // message, to permanent storage. This option should be used sparingly as it + // may reduce performance. Ongoing writes will periodically be persisted on + // the server even when `flush` is not set. This field is ignored if + // `finish_write` is set to true since there's no need to checkpoint or flush + // if this message completes the write. + bool flush = 8; + + // If `true`, this indicates that the write is complete. Sending any + // `WriteObjectRequest`s subsequent to one in which `finish_write` is `true` + // will cause an error. + // For a non-resumable write (where the upload_id was not set in the first + // message), it is an error not to set this field in the final message of the + // stream. + bool finish_write = 9; + + // A set of parameters common to Storage API requests concerning an object. + CommonObjectRequestParams common_object_request_params = 10; +} + +// Response message for BidiWriteObject. +message BidiWriteObjectResponse { + // The response will set one of the following. + oneof write_status { + // The total number of bytes that have been processed for the given object + // from all `WriteObject` calls. Only set if the upload has not finalized. + int64 persisted_size = 1; + + // A resource containing the metadata for the uploaded object. Only set if + // the upload has finalized. + Object resource = 2; + } +} + // Request message for ListObjects. message ListObjectsRequest { // Required. Name of the bucket in which to look for objects. string parent = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - child_type: "storage.googleapis.com/Bucket" - } + (google.api.resource_reference) = { type: "storage.googleapis.com/Bucket" } ]; // Maximum number of `items` plus `prefixes` to return @@ -1071,6 +1243,16 @@ message ListObjectsRequest { // listed have names between lexicographic_start (inclusive) and // lexicographic_end (exclusive). string lexicographic_end = 11 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If true, only list all soft-deleted versions of the object. + // Soft delete policy is required to set this option. + bool soft_deleted = 12 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Filter results to objects and prefixes that match this glob + // pattern. See [List Objects Using + // Glob](https://cloud.google.com/storage/docs/json_api/v1/objects/list#list-objects-and-prefixes-using-glob) + // for the full syntax. + string match_glob = 14 [(google.api.field_behavior) = OPTIONAL]; } // Request object for `QueryWriteStatus`. @@ -1147,7 +1329,10 @@ message RewriteObjectRequest { Object destination = 1; // Required. Name of the bucket in which to find the source object. - string source_bucket = 2 [(google.api.field_behavior) = REQUIRED]; + string source_bucket = 2 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { type: "storage.googleapis.com/Bucket" } + ]; // Required. Name of the source object. string source_object = 3 [(google.api.field_behavior) = REQUIRED]; @@ -1323,8 +1508,6 @@ message UpdateObjectRequest { // may accidentally reset the new field's value. // // Not specifying any fields is an error. - // Not specifying a field while setting that field to a non-default value is - // an error. google.protobuf.FieldMask update_mask = 7 [(google.api.field_behavior) = REQUIRED]; @@ -1334,8 +1517,8 @@ message UpdateObjectRequest { // Request message for GetServiceAccount. message GetServiceAccountRequest { - // Required. Project ID, in the format of "projects/". - // can be the project ID or project number. + // Required. Project ID, in the format of "projects/{projectIdentifier}". + // {projectIdentifier} can be the project ID or project number. string project = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1347,7 +1530,7 @@ message GetServiceAccountRequest { // Request message for CreateHmacKey. message CreateHmacKeyRequest { // Required. The project that the HMAC-owning service account lives in, in the - // format of "projects/". can be the + // format of "projects/{projectIdentifier}". {projectIdentifier} can be the // project ID or project number. string project = 1 [ (google.api.field_behavior) = REQUIRED, @@ -1376,8 +1559,8 @@ message DeleteHmacKeyRequest { string access_id = 1 [(google.api.field_behavior) = REQUIRED]; // Required. The project that owns the HMAC key, in the format of - // "projects/". - // can be the project ID or project number. + // "projects/{projectIdentifier}". + // {projectIdentifier} can be the project ID or project number. string project = 2 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1392,8 +1575,8 @@ message GetHmacKeyRequest { string access_id = 1 [(google.api.field_behavior) = REQUIRED]; // Required. The project the HMAC key lies in, in the format of - // "projects/". - // can be the project ID or project number. + // "projects/{projectIdentifier}". + // {projectIdentifier} can be the project ID or project number. string project = 2 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1405,8 +1588,8 @@ message GetHmacKeyRequest { // Request to fetch a list of HMAC keys under a given project. message ListHmacKeysRequest { // Required. The project to list HMAC keys for, in the format of - // "projects/". - // can be the project ID or project number. + // "projects/{projectIdentifier}". + // {projectIdentifier} can be the project ID or project number. string project = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -1729,12 +1912,6 @@ message Bucket { // Once locked, an object retention policy cannot be modified. bool is_locked = 2; - // The duration in seconds that objects need to be retained. Retention - // duration must be greater than zero and less than 100 years. Note that - // enforcement of retention periods less than a day is not guaranteed. Such - // periods should only be used for testing purposes. - optional int64 retention_period = 3; - // The duration that objects need to be retained. Retention duration must be // greater than zero and less than 100 years. Note that enforcement of // retention periods less than a day is not guaranteed. Such periods should @@ -1743,6 +1920,17 @@ message Bucket { google.protobuf.Duration retention_duration = 4; } + // Soft delete policy properties of a bucket. + message SoftDeletePolicy { + // The period of time that soft-deleted objects in the bucket must be + // retained and cannot be permanently deleted. The duration must be greater + // than or equal to 7 days and less than 1 year. + optional google.protobuf.Duration retention_duration = 1; + + // Time from which the policy was effective. This is service-provided. + optional google.protobuf.Timestamp effective_time = 2; + } + // Properties of a bucket related to versioning. // For more on Cloud Storage versioning, see // https://cloud.google.com/storage/docs/object-versioning. @@ -1788,9 +1976,20 @@ message Bucket { // to the bucket creation time. google.protobuf.Timestamp toggle_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // An object in an Autoclass bucket will eventually cool down to the + // terminal storage class if there is no access to the object. + // The only valid values are NEARLINE and ARCHIVE. + optional string terminal_storage_class = 3; + + // Output only. Latest instant at which the autoclass terminal storage class + // was updated. + optional google.protobuf.Timestamp terminal_storage_class_update_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; } // Immutable. The name of the bucket. + // Format: `projects/{project}/buckets/{bucket}` string name = 1 [(google.api.field_behavior) = IMMUTABLE]; // Output only. The user-chosen part of the bucket name. The `{bucket}` @@ -1804,8 +2003,8 @@ message Bucket { string etag = 29; // Immutable. The project which owns this bucket, in the format of - // "projects/". - // can be the project ID or project number. + // "projects/{projectIdentifier}". + // {projectIdentifier} can be the project ID or project number. string project = 3 [ (google.api.field_behavior) = IMMUTABLE, (google.api.resource_reference) = { @@ -1814,8 +2013,6 @@ message Bucket { ]; // Output only. The metadata generation of this bucket. - // Attempting to set or update this field will result in a - // [FieldViolation][google.rpc.BadRequest.FieldViolation]. int64 metageneration = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; // Immutable. The location of the bucket. Object data for objects in the @@ -1843,7 +2040,7 @@ message Bucket { // replication. "ASYNC_TURBO" enables turbo replication, valid for dual-region // buckets only. If rpo is not specified when the bucket is created, it // defaults to "DEFAULT". For more information, see - // https://cloud.google.com/storage/docs/turbo-replication. + // https://cloud.google.com/storage/docs/availability-durability#turbo-replication. string rpo = 27; // Access controls on the bucket. @@ -1862,8 +2059,6 @@ message Bucket { Lifecycle lifecycle = 10; // Output only. The creation time of the bucket. - // Attempting to set or update this field will result in a - // [FieldViolation][google.rpc.BadRequest.FieldViolation]. google.protobuf.Timestamp create_time = 11 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -1872,8 +2067,6 @@ message Bucket { repeated Cors cors = 12; // Output only. The modification time of the bucket. - // Attempting to set or update this field will result in a - // [FieldViolation][google.rpc.BadRequest.FieldViolation]. google.protobuf.Timestamp update_time = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -1942,6 +2135,11 @@ message Bucket { // The bucket's Autoclass configuration. If there is no configuration, the // Autoclass feature will be disabled and have no effect on the bucket. Autoclass autoclass = 28; + + // Optional. The bucket's soft delete policy. The soft delete policy prevents + // soft-deleted objects from being permanently deleted. + SoftDeletePolicy soft_delete_policy = 31 + [(google.api.field_behavior) = OPTIONAL]; } // An access-control entry. @@ -1998,8 +2196,8 @@ message BucketAccessControl { // Message used to convey content being read or written, along with an optional // checksum. message ChecksummedData { - // The data. - bytes content = 1; + // Optional. The data. + bytes content = 1 [ctype = CORD, (google.api.field_behavior) = OPTIONAL]; // If set, the CRC32C digest of the content field. optional fixed32 crc32c = 2; @@ -2009,7 +2207,7 @@ message ChecksummedData { message ObjectChecksums { // CRC32C digest of the object data. Computed by the Cloud Storage service for // all written objects. - // If set in an WriteObjectRequest, service will validate that the stored + // If set in a WriteObjectRequest, service will validate that the stored // object matches this checksum. optional fixed32 crc32c = 1; @@ -2026,16 +2224,16 @@ message ObjectChecksums { // Hmac Key Metadata, which includes all information other than the secret. message HmacKeyMetadata { // Immutable. Resource name ID of the key in the format - // /. - // can be the project ID or project number. + // {projectIdentifier}/{accessId}. + // {projectIdentifier} can be the project ID or project number. string id = 1 [(google.api.field_behavior) = IMMUTABLE]; // Immutable. Globally unique id for keys. string access_id = 2 [(google.api.field_behavior) = IMMUTABLE]; // Immutable. Identifies the project that owns the service account of the - // specified HMAC key, in the format "projects/". - // can be the project ID or project number. + // specified HMAC key, in the format "projects/{projectIdentifier}". + // {projectIdentifier} can be the project ID or project number. string project = 3 [ (google.api.field_behavior) = IMMUTABLE, (google.api.resource_reference) = { @@ -2136,15 +2334,13 @@ message Object { string etag = 27; // Immutable. The content generation of this object. Used for object - // versioning. Attempting to set or update this field will result in a - // [FieldViolation][google.rpc.BadRequest.FieldViolation]. + // versioning. int64 generation = 3 [(google.api.field_behavior) = IMMUTABLE]; // Output only. The version of the metadata for this generation of this // object. Used for preconditions and for detecting changes in metadata. A // metageneration number is only meaningful in the context of a particular - // generation of a particular object. Attempting to set or update this field - // will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation]. + // generation of a particular object. int64 metageneration = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; // Storage class of the object. @@ -2152,8 +2348,6 @@ message Object { // Output only. Content-Length of the object data in bytes, matching // [https://tools.ietf.org/html/rfc7230#section-3.3.2][RFC 7230 §3.3.2]. - // Attempting to set or update this field will result in a - // [FieldViolation][google.rpc.BadRequest.FieldViolation]. int64 size = 6 [(google.api.field_behavior) = OUTPUT_ONLY]; // Content-Encoding of the object data, matching @@ -2179,10 +2373,8 @@ message Object { // [https://tools.ietf.org/html/rfc7231#section-3.1.3.2][RFC 7231 §3.1.3.2]. string content_language = 11; - // Output only. The deletion time of the object. Will be returned if and only - // if this version of the object has been deleted. Attempting to set or update - // this field will result in a - // [FieldViolation][google.rpc.BadRequest.FieldViolation]. + // Output only. If this object is noncurrent, this is the time when the object + // became noncurrent. google.protobuf.Timestamp delete_time = 12 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -2193,15 +2385,11 @@ message Object { string content_type = 13; // Output only. The creation time of the object. - // Attempting to set or update this field will result in a - // [FieldViolation][google.rpc.BadRequest.FieldViolation]. google.protobuf.Timestamp create_time = 14 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Number of underlying components that make up this object. - // Components are accumulated by compose operations. Attempting to set or - // update this field will result in a - // [FieldViolation][google.rpc.BadRequest.FieldViolation]. + // Components are accumulated by compose operations. int32 component_count = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Hashes for the data part of this object. This field is used @@ -2214,8 +2402,6 @@ message Object { // such as modifying custom metadata, as well as changes made by Cloud Storage // on behalf of a requester, such as changing the storage class based on an // Object Lifecycle Configuration. - // Attempting to set or update this field will result in a - // [FieldViolation][google.rpc.BadRequest.FieldViolation]. google.protobuf.Timestamp update_time = 17 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -2227,8 +2413,6 @@ message Object { // Output only. The time at which the object's storage class was last changed. // When the object is initially created, it will be set to time_created. - // Attempting to set or update this field will result in a - // [FieldViolation][google.rpc.BadRequest.FieldViolation]. google.protobuf.Timestamp update_storage_class_time = 19 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -2265,8 +2449,7 @@ message Object { optional bool event_based_hold = 23; // Output only. The owner of the object. This will always be the uploader of - // the object. Attempting to set or update this field will result in a - // [FieldViolation][google.rpc.BadRequest.FieldViolation]. + // the object. Owner owner = 24 [(google.api.field_behavior) = OUTPUT_ONLY]; // Metadata of Customer-Supplied Encryption Key, if the object is encrypted by @@ -2370,10 +2553,10 @@ message Owner { // Specifies a requested range of bytes to download. message ContentRange { - // The starting offset of the object data. + // The starting offset of the object data. This value is inclusive. int64 start = 1; - // The ending offset of the object data. + // The ending offset of the object data. This value is exclusive. int64 end = 2; // The complete length of the object data. diff --git a/third_party/googleapis/google/storage/v2/storage_v2.yaml b/third_party/googleapis/google/storage/v2/storage_v2.yaml index ff67f7d38..8a7aa5f96 100644 --- a/third_party/googleapis/google/storage/v2/storage_v2.yaml +++ b/third_party/googleapis/google/storage/v2/storage_v2.yaml @@ -4,6 +4,7 @@ name: storage.googleapis.com title: Cloud Storage API apis: +- name: google.longrunning.Operations - name: google.storage.v2.Storage types: @@ -13,7 +14,23 @@ enums: - name: google.storage.v2.ServiceConstants.Values documentation: - summary: 'Lets you store and retrieve potentially-large, immutable data objects.' + summary: |- + Stop. This folder is likely not what you are looking for. + + This folder contains protocol buffer definitions for an API + only accessible to select customers. Customers not participating should + not depend on this file. Please contact Google Cloud sales if you are + interested. Unless told otherwise by a Google Cloud + representative, do not use or otherwise rely on any of the contents of this folder. If you + would like to use Cloud Storage, please consult our [official + documentation](https://cloud.google.com/storage/docs/apis) for details on + our XML and JSON APIs, or else consider one of our + [client + libraries](https://cloud.google.com/storage/docs/reference/libraries). + + This API defined in this folder is unreleased and may shut off, break, or + fail at any time for any users who are not registered as a part of a + private preview program. overview: |- The Google Cloud Storage API allows applications to read and write data through the abstractions of buckets and objects, which are similar to @@ -25,6 +42,14 @@ documentation: authentication: rules: + - selector: 'google.longrunning.Operations.*' + oauth: + canonical_scopes: |- + https://www.googleapis.com/auth/cloud-platform, + https://www.googleapis.com/auth/cloud-platform.read-only, + https://www.googleapis.com/auth/devstorage.full_control, + https://www.googleapis.com/auth/devstorage.read_only, + https://www.googleapis.com/auth/devstorage.read_write - selector: 'google.storage.v2.Storage.*' oauth: canonical_scopes: |- @@ -33,3 +58,6 @@ authentication: https://www.googleapis.com/auth/devstorage.full_control, https://www.googleapis.com/auth/devstorage.read_only, https://www.googleapis.com/auth/devstorage.read_write + +publishing: + documentation_uri: https://cloud.google.com/storage/docs/apis diff --git a/third_party/googleapis/google/storagetransfer/BUILD.bazel b/third_party/googleapis/google/storagetransfer/BUILD.bazel index 199c12c43..2651c5b2f 100644 --- a/third_party/googleapis/google/storagetransfer/BUILD.bazel +++ b/third_party/googleapis/google/storagetransfer/BUILD.bazel @@ -21,13 +21,14 @@ ruby_cloud_gapic_library( srcs = ["//google/storagetransfer/v1:storagetransfer_proto_with_info"], extra_protoc_parameters = [ "ruby-cloud-gem-name=google-cloud-storage_transfer", - "ruby-cloud-wrapper-of=v1:0.1", + "ruby-cloud-wrapper-of=v1:0.9", "ruby-cloud-product-url=https://cloud.google.com/storage-transfer-service/", "ruby-cloud-api-id=storagetransfer.googleapis.com", "ruby-cloud-api-shortname=storagetransfer", ], ruby_cloud_description = "Storage Transfer Service allows you to quickly import online data into Cloud Storage. You can also set up a repeating schedule for transferring data, as well as transfer data within Cloud Storage, from one bucket to another.", ruby_cloud_title = "Storage Transfer Service", + transport = "grpc+rest", ) # Open Source package. diff --git a/third_party/googleapis/google/storagetransfer/logging/BUILD.bazel b/third_party/googleapis/google/storagetransfer/logging/BUILD.bazel index 085866e35..6dee255ba 100644 --- a/third_party/googleapis/google/storagetransfer/logging/BUILD.bazel +++ b/third_party/googleapis/google/storagetransfer/logging/BUILD.bazel @@ -92,7 +92,6 @@ py_grpc_library( ############################################################################## load( "@com_google_googleapis_imports//:imports.bzl", - "php_grpc_library", "php_proto_library", ) @@ -101,21 +100,9 @@ php_proto_library( deps = [":logging_proto"], ) -php_grpc_library( - name = "logging_php_grpc", - srcs = [":logging_proto"], - deps = [":logging_php_proto"], -) - ############################################################################## # Node.js ############################################################################## -load( - "@com_google_googleapis_imports//:imports.bzl", - "nodejs_gapic_assembly_pkg", - "nodejs_gapic_library", -) - ############################################################################## # Ruby diff --git a/third_party/googleapis/google/storagetransfer/v1/BUILD.bazel b/third_party/googleapis/google/storagetransfer/v1/BUILD.bazel index 24e977f7a..466121ce4 100644 --- a/third_party/googleapis/google/storagetransfer/v1/BUILD.bazel +++ b/third_party/googleapis/google/storagetransfer/v1/BUILD.bazel @@ -24,7 +24,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", "java_gapic_assembly_gradle_pkg", "java_gapic_library", "java_gapic_test", @@ -34,7 +33,6 @@ load( "nodejs_gapic_library", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", "proto_library_with_info", "py_gapic_assembly_pkg", @@ -132,7 +130,7 @@ java_gapic_assembly_gradle_pkg( go_proto_library( name = "storagetransfer_go_proto", compilers = ["@io_bazel_rules_go//proto:go_grpc"], - importpath = "google.golang.org/genproto/googleapis/storagetransfer/v1", + importpath = "cloud.google.com/go/storagetransfer/apiv1/storagetransferpb", protos = [":storagetransfer_proto"], deps = [ "//google/api:annotations_go_proto", @@ -149,6 +147,7 @@ go_gapic_library( grpc_service_config = "storagetransfer_grpc_service_config.json", importpath = "cloud.google.com/go/storagetransfer/apiv1;storagetransfer", metadata = True, + release_level = "ga", rest_numeric_enums = True, service_yaml = "storagetransfer_v1.yaml", transport = "grpc+rest", @@ -161,19 +160,13 @@ go_gapic_library( ], ) -go_test( - name = "storagetransfer_go_gapic_test", - srcs = [":storagetransfer_go_gapic_srcjar_test"], - embed = [":storagetransfer_go_gapic"], - importpath = "cloud.google.com/go/storagetransfer/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-storagetransfer-v1-go", deps = [ ":storagetransfer_go_gapic", ":storagetransfer_go_gapic_srcjar-metadata.srcjar", + ":storagetransfer_go_gapic_srcjar-snippets.srcjar", ":storagetransfer_go_gapic_srcjar-test.srcjar", ":storagetransfer_go_proto", ], @@ -216,23 +209,15 @@ php_proto_library( deps = [":storagetransfer_proto"], ) -php_grpc_library( - name = "storagetransfer_php_grpc", - srcs = [":storagetransfer_proto"], - deps = [":storagetransfer_php_proto"], -) - php_gapic_library( name = "storagetransfer_php_gapic", srcs = [":storagetransfer_proto_with_info"], grpc_service_config = "storagetransfer_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "storagetransfer_v1.yaml", transport = "grpc+rest", - deps = [ - ":storagetransfer_php_grpc", - ":storagetransfer_php_proto", - ], + deps = [":storagetransfer_php_proto"], ) # Open Source Packages @@ -240,7 +225,6 @@ php_gapic_assembly_pkg( name = "google-cloud-storagetransfer-v1-php", deps = [ ":storagetransfer_php_gapic", - ":storagetransfer_php_grpc", ":storagetransfer_php_proto", ], ) @@ -291,6 +275,7 @@ ruby_cloud_gapic_library( ruby_cloud_description = "Storage Transfer Service allows you to quickly import online data into Cloud Storage. You can also set up a repeating schedule for transferring data, as well as transfer data within Cloud Storage, from one bucket to another.", ruby_cloud_title = "Storage Transfer Service V1", service_yaml = "storagetransfer_v1.yaml", + transport = "grpc+rest", deps = [ ":storagetransfer_ruby_grpc", ":storagetransfer_ruby_proto", diff --git a/third_party/googleapis/google/storagetransfer/v1/transfer.proto b/third_party/googleapis/google/storagetransfer/v1/transfer.proto index 802cc1046..09880b898 100644 --- a/third_party/googleapis/google/storagetransfer/v1/transfer.proto +++ b/third_party/googleapis/google/storagetransfer/v1/transfer.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -26,7 +26,7 @@ import "google/storagetransfer/v1/transfer_types.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.StorageTransfer.V1"; -option go_package = "google.golang.org/genproto/googleapis/storagetransfer/v1;storagetransfer"; +option go_package = "cloud.google.com/go/storagetransfer/apiv1/storagetransferpb;storagetransferpb"; option java_outer_classname = "TransferProto"; option java_package = "com.google.storagetransfer.v1.proto"; option php_namespace = "Google\\Cloud\\StorageTransfer\\V1"; @@ -37,7 +37,8 @@ option ruby_package = "Google::Cloud::StorageTransfer::V1"; // source external to Google to a Cloud Storage bucket. service StorageTransferService { option (google.api.default_host) = "storagetransfer.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Returns the Google service account that is used by Storage Transfer // Service to access buckets in the project where transfers @@ -47,7 +48,8 @@ service StorageTransferService { // ACLs to grant access to Storage Transfer Service. This service // account is created and owned by Storage Transfer Service and can // only be used by Storage Transfer Service. - rpc GetGoogleServiceAccount(GetGoogleServiceAccountRequest) returns (GoogleServiceAccount) { + rpc GetGoogleServiceAccount(GetGoogleServiceAccountRequest) + returns (GoogleServiceAccount) { option (google.api.http) = { get: "/v1/googleServiceAccounts/{project_id}" }; @@ -64,8 +66,8 @@ service StorageTransferService { // Updates a transfer job. Updating a job's transfer spec does not affect // transfer operations that are running already. // - // **Note:** The job's [status][google.storagetransfer.v1.TransferJob.status] field can be modified - // using this RPC (for example, to set a job's status to + // **Note:** The job's [status][google.storagetransfer.v1.TransferJob.status] + // field can be modified using this RPC (for example, to set a job's status to // [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED], // [DISABLED][google.storagetransfer.v1.TransferJob.Status.DISABLED], or // [ENABLED][google.storagetransfer.v1.TransferJob.Status.ENABLED]). @@ -84,14 +86,16 @@ service StorageTransferService { } // Lists transfer jobs. - rpc ListTransferJobs(ListTransferJobsRequest) returns (ListTransferJobsResponse) { + rpc ListTransferJobs(ListTransferJobsRequest) + returns (ListTransferJobsResponse) { option (google.api.http) = { get: "/v1/transferJobs" }; } // Pauses a transfer operation. - rpc PauseTransferOperation(PauseTransferOperationRequest) returns (google.protobuf.Empty) { + rpc PauseTransferOperation(PauseTransferOperationRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { post: "/v1/{name=transferOperations/**}:pause" body: "*" @@ -99,17 +103,20 @@ service StorageTransferService { } // Resumes a transfer operation that is paused. - rpc ResumeTransferOperation(ResumeTransferOperationRequest) returns (google.protobuf.Empty) { + rpc ResumeTransferOperation(ResumeTransferOperationRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { post: "/v1/{name=transferOperations/**}:resume" body: "*" }; } - // Attempts to start a new TransferOperation for the current TransferJob. A - // TransferJob has a maximum of one active TransferOperation. If this method - // is called while a TransferOperation is active, an error will be returned. - rpc RunTransferJob(RunTransferJobRequest) returns (google.longrunning.Operation) { + // Starts a new operation for the specified transfer job. + // A `TransferJob` has a maximum of one active `TransferOperation`. If this + // method is called while a `TransferOperation` is active, an error is + // returned. + rpc RunTransferJob(RunTransferJobRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{job_name=transferJobs/**}:run" body: "*" @@ -122,7 +129,8 @@ service StorageTransferService { // Deletes a transfer job. Deleting a transfer job sets its status to // [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED]. - rpc DeleteTransferJob(DeleteTransferJobRequest) returns (google.protobuf.Empty) { + rpc DeleteTransferJob(DeleteTransferJobRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1/{job_name=transferJobs/**}" }; @@ -134,7 +142,8 @@ service StorageTransferService { post: "/v1/projects/{project_id=*}/agentPools" body: "agent_pool" }; - option (google.api.method_signature) = "project_id,agent_pool,agent_pool_id"; + option (google.api.method_signature) = + "project_id,agent_pool,agent_pool_id"; } // Updates an existing agent pool resource. @@ -193,15 +202,17 @@ message UpdateTransferJobRequest { // job. string project_id = 2 [(google.api.field_behavior) = REQUIRED]; - // Required. The job to update. `transferJob` is expected to specify one or more of - // five fields: [description][google.storagetransfer.v1.TransferJob.description], + // Required. The job to update. `transferJob` is expected to specify one or + // more of five fields: + // [description][google.storagetransfer.v1.TransferJob.description], // [transfer_spec][google.storagetransfer.v1.TransferJob.transfer_spec], // [notification_config][google.storagetransfer.v1.TransferJob.notification_config], // [logging_config][google.storagetransfer.v1.TransferJob.logging_config], and - // [status][google.storagetransfer.v1.TransferJob.status]. An `UpdateTransferJobRequest` that specifies - // other fields are rejected with the error - // [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. Updating a job status - // to [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED] requires + // [status][google.storagetransfer.v1.TransferJob.status]. An + // `UpdateTransferJobRequest` that specifies other fields are rejected with + // the error [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. Updating a + // job status to + // [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED] requires // `storagetransfer.jobs.delete` permission. TransferJob transfer_job = 3 [(google.api.field_behavior) = REQUIRED]; @@ -211,9 +222,10 @@ message UpdateTransferJobRequest { // [transfer_spec][google.storagetransfer.v1.TransferJob.transfer_spec], // [notification_config][google.storagetransfer.v1.TransferJob.notification_config], // [logging_config][google.storagetransfer.v1.TransferJob.logging_config], and - // [status][google.storagetransfer.v1.TransferJob.status]. To update the `transfer_spec` of the job, a - // complete transfer specification must be provided. An incomplete - // specification missing any required fields is rejected with the error + // [status][google.storagetransfer.v1.TransferJob.status]. To update the + // `transfer_spec` of the job, a complete transfer specification must be + // provided. An incomplete specification missing any required fields is + // rejected with the error // [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. google.protobuf.FieldMask update_transfer_job_field_mask = 4; } @@ -320,8 +332,8 @@ message CreateAgentPoolRequest { // Specifies the request passed to UpdateAgentPool. message UpdateAgentPoolRequest { - // Required. The agent pool to update. `agent_pool` is expected to specify following - // fields: + // Required. The agent pool to update. `agent_pool` is expected to specify + // following fields: // // * [name][google.storagetransfer.v1.AgentPool.name] // diff --git a/third_party/googleapis/google/storagetransfer/v1/transfer_types.proto b/third_party/googleapis/google/storagetransfer/v1/transfer_types.proto index 4e1a3b5f2..02cf2744f 100644 --- a/third_party/googleapis/google/storagetransfer/v1/transfer_types.proto +++ b/third_party/googleapis/google/storagetransfer/v1/transfer_types.proto @@ -1,4 +1,4 @@ -// Copyright 2022 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -26,7 +26,7 @@ import "google/type/timeofday.proto"; option cc_enable_arenas = true; option csharp_namespace = "Google.Cloud.StorageTransfer.V1"; -option go_package = "google.golang.org/genproto/googleapis/storagetransfer/v1;storagetransfer"; +option go_package = "cloud.google.com/go/storagetransfer/apiv1/storagetransferpb;storagetransferpb"; option java_outer_classname = "TransferTypes"; option java_package = "com.google.storagetransfer.v1.proto"; option php_namespace = "Google\\Cloud\\StorageTransfer\\V1"; @@ -78,24 +78,26 @@ message AzureCredentials { // the `updated` property of Cloud Storage objects, the `LastModified` field // of S3 objects, and the `Last-Modified` header of Azure blobs. // -// Transfers with a [PosixFilesystem][google.storagetransfer.v1.PosixFilesystem] source or destination don't support -// `ObjectConditions`. +// Transfers with a [PosixFilesystem][google.storagetransfer.v1.PosixFilesystem] +// source or destination don't support `ObjectConditions`. message ObjectConditions { // Ensures that objects are not transferred until a specific minimum time // has elapsed after the "last modification time". When a - // [TransferOperation][google.storagetransfer.v1.TransferOperation] begins, objects with a "last modification time" are - // transferred only if the elapsed time between the - // [start_time][google.storagetransfer.v1.TransferOperation.start_time] of the `TransferOperation` - // and the "last modification time" of the object is equal to or - // greater than the value of min_time_elapsed_since_last_modification`. + // [TransferOperation][google.storagetransfer.v1.TransferOperation] begins, + // objects with a "last modification time" are transferred only if the elapsed + // time between the + // [start_time][google.storagetransfer.v1.TransferOperation.start_time] of the + // `TransferOperation` and the "last modification time" of the object is equal + // to or greater than the value of min_time_elapsed_since_last_modification`. // Objects that do not have a "last modification time" are also transferred. google.protobuf.Duration min_time_elapsed_since_last_modification = 1; // Ensures that objects are not transferred if a specific maximum time // has elapsed since the "last modification time". - // When a [TransferOperation][google.storagetransfer.v1.TransferOperation] begins, objects with a - // "last modification time" are transferred only if the elapsed time - // between the [start_time][google.storagetransfer.v1.TransferOperation.start_time] of the + // When a [TransferOperation][google.storagetransfer.v1.TransferOperation] + // begins, objects with a "last modification time" are transferred only if the + // elapsed time between the + // [start_time][google.storagetransfer.v1.TransferOperation.start_time] of the // `TransferOperation`and the "last modification time" of the object // is less than the value of max_time_elapsed_since_last_modification`. // Objects that do not have a "last modification time" are also transferred. @@ -104,9 +106,10 @@ message ObjectConditions { // If you specify `include_prefixes`, Storage Transfer Service uses the items // in the `include_prefixes` array to determine which objects to include in a // transfer. Objects must start with one of the matching `include_prefixes` - // for inclusion in the transfer. If [exclude_prefixes][google.storagetransfer.v1.ObjectConditions.exclude_prefixes] is specified, - // objects must not start with any of the `exclude_prefixes` specified for - // inclusion in the transfer. + // for inclusion in the transfer. If + // [exclude_prefixes][google.storagetransfer.v1.ObjectConditions.exclude_prefixes] + // is specified, objects must not start with any of the `exclude_prefixes` + // specified for inclusion in the transfer. // // The following are requirements of `include_prefixes`: // @@ -153,8 +156,10 @@ message ObjectConditions { // namespace. No exclude-prefix may be a prefix of another // exclude-prefix. // - // * If [include_prefixes][google.storagetransfer.v1.ObjectConditions.include_prefixes] is specified, then each exclude-prefix must - // start with the value of a path explicitly included by `include_prefixes`. + // * If + // [include_prefixes][google.storagetransfer.v1.ObjectConditions.include_prefixes] + // is specified, then each exclude-prefix must start with the value of a + // path explicitly included by `include_prefixes`. // // The max size of `exclude_prefixes` is 1000. // @@ -210,9 +215,9 @@ message AwsS3Data { // bucket](https://docs.aws.amazon.com/AmazonS3/latest/dev/create-bucket-get-location-example.html)). string bucket_name = 1 [(google.api.field_behavior) = REQUIRED]; - // Input only. AWS access key used to sign the API requests to the AWS S3 bucket. - // Permissions on the bucket must be granted to the access ID of the AWS - // access key. + // Input only. AWS access key used to sign the API requests to the AWS S3 + // bucket. Permissions on the bucket must be granted to the access ID of the + // AWS access key. // // For information on our data retention policy for user credentials, see // [User credentials](/storage-transfer/docs/data-retention#user-credentials). @@ -232,8 +237,31 @@ message AwsS3Data { // // When a role ARN is provided, Transfer Service fetches temporary // credentials for the session using a `AssumeRoleWithWebIdentity` call for - // the provided role using the [GoogleServiceAccount][google.storagetransfer.v1.GoogleServiceAccount] for this project. + // the provided role using the + // [GoogleServiceAccount][google.storagetransfer.v1.GoogleServiceAccount] for + // this project. string role_arn = 4; + + // Optional. The Resource name of a secret in Secret Manager. + // + // The Azure SAS token must be stored in Secret Manager in JSON format: + //
{
+  //  "sas_token" : "SAS_TOKEN"
+  // }
+ // [GoogleServiceAccount][google.storagetransfer.v1.GoogleServiceAccount] must + // be granted `roles/secretmanager.secretAccessor` for the resource. + // + // See [Configure access to a source: Microsoft Azure Blob Storage] + // (https://cloud.google.com/storage-transfer/docs/source-microsoft-azure#secret_manager) + // for more information. + // + // If `credentials_secret` is specified, do not specify [azure_credentials][]. + // + // This feature is in + // [preview](https://cloud.google.com/terms/service-terms#1). + // + // Format: `projects/{project_number}/secrets/{secret_name}` + string credentials_secret = 7 [(google.api.field_behavior) = OPTIONAL]; } // An AzureBlobStorageData resource can be a data source, but not a data sink. @@ -247,7 +275,8 @@ message AzureBlobStorageData { // Required. The name of the Azure Storage account. string storage_account = 1 [(google.api.field_behavior) = REQUIRED]; - // Required. Input only. Credentials used to authenticate API requests to Azure. + // Required. Input only. Credentials used to authenticate API requests to + // Azure. // // For information on our data retention policy for user credentials, see // [User credentials](/storage-transfer/docs/data-retention#user-credentials). @@ -265,6 +294,28 @@ message AzureBlobStorageData { // is treated as an object prefix. As such, it should generally not begin with // a '/'. string path = 5; + + // Optional. The Resource name of a secret in Secret Manager. + // + // The Azure SAS token must be stored in Secret Manager in JSON format: + //
{
+  //  "sas_token" : "SAS_TOKEN"
+  // }
+ // [GoogleServiceAccount][google.storagetransfer.v1.GoogleServiceAccount] must + // be granted `roles/secretmanager.secretAccessor` for the resource. + // + // See [Configure access to a source: Microsoft Azure Blob Storage] + // (https://cloud.google.com/storage-transfer/docs/source-microsoft-azure#secret_manager) + // for more information. + // + // If `credentials_secret` is specified, do not specify + // [azure_credentials][google.storagetransfer.v1.AzureBlobStorageData.azure_credentials]. + // + // This feature is in + // [preview](https://cloud.google.com/terms/service-terms#1). + // + // Format: `projects/{project_number}/secrets/{secret_name}` + string credentials_secret = 7 [(google.api.field_behavior) = OPTIONAL]; } // An HttpData resource specifies a list of objects on the web to be transferred @@ -305,7 +356,8 @@ message AzureBlobStorageData { // HTTP server to support `Range` requests and to return a `Content-Length` // header in each response. // -// * [ObjectConditions][google.storagetransfer.v1.ObjectConditions] have no effect when filtering objects to transfer. +// * [ObjectConditions][google.storagetransfer.v1.ObjectConditions] have no +// effect when filtering objects to transfer. message HttpData { // Required. The URL that points to the file that stores the object list // entries. This file must allow public access. Currently, only URLs with @@ -498,15 +550,17 @@ message TransferOptions { // Whether objects that exist only in the sink should be deleted. // - // **Note:** This option and [delete_objects_from_source_after_transfer][google.storagetransfer.v1.TransferOptions.delete_objects_from_source_after_transfer] are - // mutually exclusive. + // **Note:** This option and + // [delete_objects_from_source_after_transfer][google.storagetransfer.v1.TransferOptions.delete_objects_from_source_after_transfer] + // are mutually exclusive. bool delete_objects_unique_in_sink = 2; // Whether objects should be deleted from the source after they are // transferred to the sink. // - // **Note:** This option and [delete_objects_unique_in_sink][google.storagetransfer.v1.TransferOptions.delete_objects_unique_in_sink] are mutually - // exclusive. + // **Note:** This option and + // [delete_objects_unique_in_sink][google.storagetransfer.v1.TransferOptions.delete_objects_unique_in_sink] + // are mutually exclusive. bool delete_objects_from_source_after_transfer = 3; // When to overwrite objects that already exist in the sink. If not set, @@ -550,11 +604,13 @@ message TransferSpec { AwsS3CompatibleData aws_s3_compatible_data_source = 19; } - // Represents a supported data container type which is required for transfer - // jobs which needs a data source, a data sink and an intermediate location to - // transfer data through. This is validated on TransferJob creation. oneof intermediate_data_location { - // Cloud Storage intermediate data location. + // For transfers between file systems, specifies a Cloud Storage bucket + // to be used as an intermediate location through which to transfer data. + // + // See [Transfer data between file + // systems](https://cloud.google.com/storage-transfer/docs/file-to-file) for + // more information. GcsData gcs_intermediate_data_location = 16; } @@ -659,7 +715,9 @@ message MetadataOptions { STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT = 1; // Preserve the object's original storage class. This is only supported for - // transfers from Google Cloud Storage buckets. + // transfers from Google Cloud Storage buckets. REGIONAL and MULTI_REGIONAL + // storage classes will be mapped to STANDARD to ensure they can be written + // to the destination bucket. STORAGE_CLASS_PRESERVE = 2; // Set the storage class to STANDARD. @@ -778,7 +836,8 @@ message TransferManifest { // Transfers can be scheduled to recur or to run just once. message Schedule { // Required. The start date of a transfer. Date boundaries are determined - // relative to UTC time. If `schedule_start_date` and [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day] + // relative to UTC time. If `schedule_start_date` and + // [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day] // are in the past relative to the job's creation time, the transfer starts // the day after you schedule the transfer request. // @@ -788,17 +847,23 @@ message Schedule { // Transfer Service server receives the request on June 2, then it creates // a TransferJob with `schedule_start_date` set to June 2 and a // `start_time_of_day` set to midnight UTC. The first scheduled - // [TransferOperation][google.storagetransfer.v1.TransferOperation] takes place on June 3 at midnight UTC. - google.type.Date schedule_start_date = 1 [(google.api.field_behavior) = REQUIRED]; + // [TransferOperation][google.storagetransfer.v1.TransferOperation] takes + // place on June 3 at midnight UTC. + google.type.Date schedule_start_date = 1 + [(google.api.field_behavior) = REQUIRED]; // The last day a transfer runs. Date boundaries are determined relative to // UTC time. A job runs once per 24 hours within the following guidelines: // - // * If `schedule_end_date` and [schedule_start_date][google.storagetransfer.v1.Schedule.schedule_start_date] are the same and in + // * If `schedule_end_date` and + // [schedule_start_date][google.storagetransfer.v1.Schedule.schedule_start_date] + // are the same and in // the future relative to UTC, the transfer is executed only one time. // * If `schedule_end_date` is later than `schedule_start_date` and // `schedule_end_date` is in the future relative to UTC, the job runs each - // day at [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day] through `schedule_end_date`. + // day at + // [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day] + // through `schedule_end_date`. google.type.Date schedule_end_date = 2; // The time in UTC that a transfer job is scheduled to run. Transfers may @@ -808,7 +873,8 @@ message Schedule { // // * One-time transfers run immediately. // * Recurring transfers run immediately, and each day at midnight UTC, - // through [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date]. + // through + // [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date]. // // If `start_time_of_day` is specified: // @@ -818,11 +884,15 @@ message Schedule { google.type.TimeOfDay start_time_of_day = 3; // The time in UTC that no further transfer operations are scheduled. Combined - // with [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date], `end_time_of_day` specifies the end date and - // time for starting new transfer operations. This field must be greater than - // or equal to the timestamp corresponding to the combintation of - // [schedule_start_date][google.storagetransfer.v1.Schedule.schedule_start_date] and [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day], and is subject to the - // following: + // with + // [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date], + // `end_time_of_day` specifies the end date and time for starting new transfer + // operations. This field must be greater than or equal to the timestamp + // corresponding to the combintation of + // [schedule_start_date][google.storagetransfer.v1.Schedule.schedule_start_date] + // and + // [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day], + // and is subject to the following: // // * If `end_time_of_day` is not set and `schedule_end_date` is set, then // a default value of `23:59:59` is used for `end_time_of_day`. @@ -837,6 +907,27 @@ message Schedule { google.protobuf.Duration repeat_interval = 5; } +// Specifies the Event-driven transfer options. Event-driven transfers listen to +// an event stream to transfer updated files. +message EventStream { + // Required. Specifies a unique name of the resource such as AWS SQS + // ARN in the form 'arn:aws:sqs:region:account_id:queue_name', + // or Pub/Sub subscription resource name in the form + // 'projects/{project}/subscriptions/{sub}'. + string name = 1 [(google.api.field_behavior) = REQUIRED]; + + // Specifies the date and time that Storage Transfer Service starts + // listening for events from this stream. If no start time is specified or + // start time is in the past, Storage Transfer Service starts listening + // immediately. + google.protobuf.Timestamp event_stream_start_time = 2; + + // Specifies the data and time at which Storage Transfer Service stops + // listening for events from this stream. After this time, any transfers in + // progress will complete, but no new transfers are initiated. + google.protobuf.Timestamp event_stream_expiration_time = 3; +} + // This resource represents the configuration of a transfer job that runs // periodically. message TransferJob { @@ -908,24 +999,32 @@ message TransferJob { // have a non-empty schedule. Schedule schedule = 5; + // Specifies the event stream for the transfer job for event-driven transfers. + // When EventStream is specified, the Schedule fields are ignored. + EventStream event_stream = 15; + // Status of the job. This value MUST be specified for // `CreateTransferJobRequests`. // // **Note:** The effect of the new job status takes place during a subsequent // job run. For example, if you change the job status from - // [ENABLED][google.storagetransfer.v1.TransferJob.Status.ENABLED] to [DISABLED][google.storagetransfer.v1.TransferJob.Status.DISABLED], and an operation - // spawned by the transfer is running, the status change would not affect the - // current operation. + // [ENABLED][google.storagetransfer.v1.TransferJob.Status.ENABLED] to + // [DISABLED][google.storagetransfer.v1.TransferJob.Status.DISABLED], and an + // operation spawned by the transfer is running, the status change would not + // affect the current operation. Status status = 6; // Output only. The time that the transfer job was created. - google.protobuf.Timestamp creation_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp creation_time = 7 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time that the transfer job was last modified. - google.protobuf.Timestamp last_modification_time = 8 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp last_modification_time = 8 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. The time that the transfer job was deleted. - google.protobuf.Timestamp deletion_time = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp deletion_time = 9 + [(google.api.field_behavior) = OUTPUT_ONLY]; // The name of the most recently started TransferOperation of this JobConfig. // Present if a TransferOperation has been created for this JobConfig. @@ -1048,17 +1147,23 @@ message TransferCounters { // Notifications are published to the customer-provided topic using the // following `PubsubMessage.attributes`: // -// * `"eventType"`: one of the [EventType][google.storagetransfer.v1.NotificationConfig.EventType] values -// * `"payloadFormat"`: one of the [PayloadFormat][google.storagetransfer.v1.NotificationConfig.PayloadFormat] values -// * `"projectId"`: the [project_id][google.storagetransfer.v1.TransferOperation.project_id] of the +// * `"eventType"`: one of the +// [EventType][google.storagetransfer.v1.NotificationConfig.EventType] values +// * `"payloadFormat"`: one of the +// [PayloadFormat][google.storagetransfer.v1.NotificationConfig.PayloadFormat] +// values +// * `"projectId"`: the +// [project_id][google.storagetransfer.v1.TransferOperation.project_id] of the // `TransferOperation` // * `"transferJobName"`: the -// [transfer_job_name][google.storagetransfer.v1.TransferOperation.transfer_job_name] of the -// `TransferOperation` -// * `"transferOperationName"`: the [name][google.storagetransfer.v1.TransferOperation.name] of the +// [transfer_job_name][google.storagetransfer.v1.TransferOperation.transfer_job_name] +// of the `TransferOperation` +// * `"transferOperationName"`: the +// [name][google.storagetransfer.v1.TransferOperation.name] of the // `TransferOperation` // -// The `PubsubMessage.data` contains a [TransferOperation][google.storagetransfer.v1.TransferOperation] resource +// The `PubsubMessage.data` contains a +// [TransferOperation][google.storagetransfer.v1.TransferOperation] resource // formatted according to the specified `PayloadFormat`. message NotificationConfig { // Enum for specifying event types for which notifications are to be @@ -1156,12 +1261,14 @@ message LoggingConfig { // Specifies the actions to be logged. If empty, no logs are generated. // Not supported for transfers with PosixFilesystem data sources; use - // [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead. + // [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] + // instead. repeated LoggableAction log_actions = 1; // States in which `log_actions` are logged. If empty, no logs are generated. // Not supported for transfers with PosixFilesystem data sources; use - // [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] instead. + // [enable_onprem_gcs_transfer_logs][google.storagetransfer.v1.LoggingConfig.enable_onprem_gcs_transfer_logs] + // instead. repeated LoggableActionState log_action_states = 2; // For transfers with a PosixFilesystem source, this option enables the Cloud @@ -1193,6 +1300,9 @@ message TransferOperation { // Temporarily delayed by the system. No user action is required. QUEUED = 6; + + // The operation is suspending and draining the ongoing work to completion. + SUSPENDING = 7; } // A globally unique ID assigned by the system. @@ -1207,6 +1317,9 @@ message TransferOperation { // Notification configuration. NotificationConfig notification_config = 10; + // Cloud Logging configuration. + LoggingConfig logging_config = 12; + // Start time of this transfer execution. google.protobuf.Timestamp start_time = 4; diff --git a/third_party/googleapis/google/streetview/publish/v1/BUILD.bazel b/third_party/googleapis/google/streetview/publish/v1/BUILD.bazel index 487c76ccc..37948a8b4 100644 --- a/third_party/googleapis/google/streetview/publish/v1/BUILD.bazel +++ b/third_party/googleapis/google/streetview/publish/v1/BUILD.bazel @@ -117,7 +117,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -151,19 +150,13 @@ go_gapic_library( ], ) -go_test( - name = "publish_go_gapic_test", - srcs = [":publish_go_gapic_srcjar_test"], - embed = [":publish_go_gapic"], - importpath = "google.golang.org/google/streetview/publish/v1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-streetview-publish-v1-go", deps = [ ":publish_go_gapic", ":publish_go_gapic_srcjar-metadata.srcjar", + ":publish_go_gapic_srcjar-snippets.srcjar", ":publish_go_gapic_srcjar-test.srcjar", ":publish_go_proto", ], @@ -176,7 +169,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "py_gapic_assembly_pkg", "py_gapic_library", - "py_test", ) py_gapic_library( @@ -190,16 +182,15 @@ py_gapic_library( ], ) -# Uncomment once https://github.com/googleapis/gapic-generator-python/issues/1375 is fixed -#py_test( -# name = "publish_py_gapic_test", -# srcs = [ -# "publish_py_gapic_pytest.py", -# "publish_py_gapic_test.py", -# ], -# legacy_create_init = False, -# deps = [":publish_py_gapic"], -#) +py_test( + name = "publish_py_gapic_test", + srcs = [ + "publish_py_gapic_pytest.py", + "publish_py_gapic_test.py", + ], + legacy_create_init = False, + deps = [":publish_py_gapic"], +) # Open Source Packages py_gapic_assembly_pkg( @@ -216,7 +207,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -225,12 +215,6 @@ php_proto_library( deps = [":publish_proto"], ) -php_grpc_library( - name = "publish_php_grpc", - srcs = [":publish_proto"], - deps = [":publish_php_proto"], -) - php_gapic_library( name = "publish_php_gapic", srcs = [":publish_proto_with_info"], @@ -238,10 +222,7 @@ php_gapic_library( rest_numeric_enums = True, service_yaml = "streetviewpublish.yaml", transport = "grpc+rest", - deps = [ - ":publish_php_grpc", - ":publish_php_proto", - ], + deps = [":publish_php_proto"], ) # Open Source Packages @@ -249,7 +230,6 @@ php_gapic_assembly_pkg( name = "google-cloud-streetview-publish-v1-php", deps = [ ":publish_php_gapic", - ":publish_php_grpc", ":publish_php_proto", ], ) @@ -313,6 +293,7 @@ ruby_cloud_gapic_library( grpc_service_config = "streetview_publish_grpc_service_config.json", rest_numeric_enums = True, service_yaml = "streetviewpublish.yaml", + transport = "grpc+rest", deps = [ ":publish_ruby_grpc", ":publish_ruby_proto", diff --git a/third_party/googleapis/google/type/BUILD.bazel b/third_party/googleapis/google/type/BUILD.bazel index 3da292fe9..4374eb98a 100644 --- a/third_party/googleapis/google/type/BUILD.bazel +++ b/third_party/googleapis/google/type/BUILD.bazel @@ -448,6 +448,46 @@ py_proto_library( deps = [":timeofday_proto"], ) +############################################################################## +# PHP +############################################################################## +load( + "@com_google_googleapis_imports//:imports.bzl", + "php_gapic_assembly_pkg", + "php_proto_library", +) + +php_proto_library( + name = "type_php_proto", + deps = [ + ":calendar_period_proto", + ":color_proto", + ":date_proto", + ":datetime_proto", + ":dayofweek_proto", + ":decimal_proto", + ":expr_proto", + ":fraction_proto", + ":interval_proto", + ":latlng_proto", + ":localized_text_proto", + ":money_proto", + ":month_proto", + ":phone_number_proto", + ":postal_address_proto", + ":quaternion_proto", + ":timeofday_proto", + ], +) + +# Please DO-NOT-REMOVE this section. +# This is required to generate PHP files for these protos. +# Open Source Packages +php_gapic_assembly_pkg( + name = "google-type-php", + deps = [":type_php_proto"], +) + ############################################################################## # C# ############################################################################## diff --git a/third_party/googleapis/google/type/README.md b/third_party/googleapis/google/type/README.md index 6caf02cf1..adf1563a8 100644 --- a/third_party/googleapis/google/type/README.md +++ b/third_party/googleapis/google/type/README.md @@ -1,16 +1,7 @@ -# Google Common Types +## Google Common Types This package contains definitions of common types for Google APIs. All types defined in this package are suitable for different APIs to exchange data, and will never break binary compatibility. They should have design quality comparable to major programming languages like Java and C#. - -NOTE: Some common types are defined in the package `google.protobuf` -as they are directly supported by Protocol Buffers compiler and -runtime. Those types are called Well-Known Types. - -## Java Utilities - -A set of Java utilities for the Common Types are provided in the -`//java/com/google/type/util/` package. \ No newline at end of file diff --git a/third_party/googleapis/grafeas/BUILD.bazel b/third_party/googleapis/grafeas/BUILD.bazel index 458ed6408..59358915f 100644 --- a/third_party/googleapis/grafeas/BUILD.bazel +++ b/third_party/googleapis/grafeas/BUILD.bazel @@ -19,7 +19,7 @@ ruby_cloud_gapic_library( extra_protoc_parameters = [ "ruby-cloud-gem-name=grafeas", "ruby-cloud-env-prefix=GRAFEAS", - "ruby-cloud-wrapper-of=v1:0.0", + "ruby-cloud-wrapper-of=v1:0.14", "ruby-cloud-product-url=https://grafeas.io", "ruby-cloud-migration-version=1.0", "ruby-cloud-generic-endpoint=true", diff --git a/third_party/googleapis/grafeas/v1/BUILD.bazel b/third_party/googleapis/grafeas/v1/BUILD.bazel index f031215ee..ccb9380a9 100644 --- a/third_party/googleapis/grafeas/v1/BUILD.bazel +++ b/third_party/googleapis/grafeas/v1/BUILD.bazel @@ -39,6 +39,7 @@ proto_library( "slsa_provenance.proto", "slsa_provenance_zero_two.proto", "upgrade.proto", + "vex.proto", "vulnerability.proto", ], deps = [ @@ -201,7 +202,6 @@ load( "go_gapic_assembly_pkg", "go_gapic_library", "go_proto_library", - "go_test", ) go_proto_library( @@ -229,19 +229,13 @@ go_gapic_library( ], ) -go_test( - name = "grafeas_go_gapic_test", - srcs = [":grafeas_go_gapic_srcjar_test"], - embed = [":grafeas_go_gapic"], - importpath = "cloud.google.com/go/grafeas/apiv1", -) - # Open Source Packages go_gapic_assembly_pkg( name = "gapi-cloud-grafeas-v1-go", deps = [ ":grafeas_go_gapic", ":grafeas_go_gapic_srcjar-metadata.srcjar", + ":grafeas_go_gapic_srcjar-snippets.srcjar", ":grafeas_go_gapic_srcjar-test.srcjar", ":grafeas_go_proto", ], @@ -345,7 +339,6 @@ load( "@com_google_googleapis_imports//:imports.bzl", "php_gapic_assembly_pkg", "php_gapic_library", - "php_grpc_library", "php_proto_library", ) @@ -354,23 +347,15 @@ php_proto_library( deps = [":grafeas_proto"], ) -php_grpc_library( - name = "grafeas_php_grpc", - srcs = [":grafeas_proto"], - deps = [":grafeas_php_proto"], -) - php_gapic_library( name = "grafeas_php_gapic", srcs = [":grafeas_proto_with_info"], grpc_service_config = "grafeas_grpc_service_config.json", + migration_mode = "MIGRATING", rest_numeric_enums = True, service_yaml = "grafeas_v1.yaml", transport = "grpc+rest", - deps = [ - ":grafeas_php_grpc", - ":grafeas_php_proto", - ], + deps = [":grafeas_php_proto"], ) # Open Source Packages @@ -378,7 +363,6 @@ php_gapic_assembly_pkg( name = "google-cloud-grafeas-v1-php", deps = [ ":grafeas_php_gapic", - ":grafeas_php_grpc", ":grafeas_php_proto", ], ) diff --git a/third_party/googleapis/grafeas/v1/common.proto b/third_party/googleapis/grafeas/v1/common.proto index 80bd78699..1464ecc9b 100644 --- a/third_party/googleapis/grafeas/v1/common.proto +++ b/third_party/googleapis/grafeas/v1/common.proto @@ -45,6 +45,8 @@ enum NoteKind { COMPLIANCE = 9; // This represents a DSSE attestation Note DSSE_ATTESTATION = 10; + // This represents a Vulnerability Assessment. + VULNERABILITY_ASSESSMENT = 11; } // Metadata for any related URL information. diff --git a/third_party/googleapis/grafeas/v1/cvss.proto b/third_party/googleapis/grafeas/v1/cvss.proto index 181ec052f..a9d018eee 100644 --- a/third_party/googleapis/grafeas/v1/cvss.proto +++ b/third_party/googleapis/grafeas/v1/cvss.proto @@ -122,6 +122,7 @@ message CVSS { ATTACK_COMPLEXITY_UNSPECIFIED = 0; ATTACK_COMPLEXITY_LOW = 1; ATTACK_COMPLEXITY_HIGH = 2; + ATTACK_COMPLEXITY_MEDIUM = 3; } enum Authentication { @@ -155,6 +156,8 @@ message CVSS { IMPACT_HIGH = 1; IMPACT_LOW = 2; IMPACT_NONE = 3; + IMPACT_PARTIAL = 4; + IMPACT_COMPLETE = 5; } } diff --git a/third_party/googleapis/grafeas/v1/grafeas.proto b/third_party/googleapis/grafeas/v1/grafeas.proto index 5665fe362..5ec930e6e 100644 --- a/third_party/googleapis/grafeas/v1/grafeas.proto +++ b/third_party/googleapis/grafeas/v1/grafeas.proto @@ -33,6 +33,7 @@ import "grafeas/v1/dsse_attestation.proto"; import "grafeas/v1/image.proto"; import "grafeas/v1/package.proto"; import "grafeas/v1/upgrade.proto"; +import "grafeas/v1/vex.proto"; import "grafeas/v1/vulnerability.proto"; option go_package = "google.golang.org/genproto/googleapis/grafeas/v1;grafeas"; @@ -314,6 +315,8 @@ message Note { grafeas.v1.ComplianceNote compliance = 18; // A note describing a dsse attestation note. grafeas.v1.DSSEAttestationNote dsse_attestation = 19; + // A note describing a vulnerability assessment. + grafeas.v1.VulnerabilityAssessmentNote vulnerability_assessment = 20; } } diff --git a/third_party/googleapis/grafeas/v1/swagger/grafeas.swagger.json b/third_party/googleapis/grafeas/v1/swagger/grafeas.swagger.json index df3e3079d..414ae0d28 100644 --- a/third_party/googleapis/grafeas/v1/swagger/grafeas.swagger.json +++ b/third_party/googleapis/grafeas/v1/swagger/grafeas.swagger.json @@ -796,6 +796,50 @@ "default": "KIND_UNSPECIFIED", "description": "The type of an alias.\n\n - KIND_UNSPECIFIED: Unknown.\n - FIXED: Git tag.\n - MOVABLE: Git branch.\n - OTHER: Used to specify non-standard aliases. For example, if a Git repo has a\nref named \"refs/foo/bar\"." }, + "AssessmentJustification": { + "type": "object", + "properties": { + "justificationType": { + "$ref": "#/definitions/JustificationJustificationType", + "description": "The justification type for this vulnerability." + }, + "details": { + "type": "string", + "description": "Additional details on why this justification was chosen." + } + }, + "description": "Justification provides the justification when the state of the\nassessment if NOT_AFFECTED." + }, + "AssessmentRemediation": { + "type": "object", + "properties": { + "remediationType": { + "$ref": "#/definitions/RemediationRemediationType", + "description": "The type of remediation that can be applied." + }, + "details": { + "type": "string", + "description": "Contains a comprehensive human-readable discussion of the remediation." + }, + "remediationUri": { + "$ref": "#/definitions/v1RelatedUrl", + "description": "Contains the URL where to obtain the remediation." + } + }, + "description": "Specifies details on how to handle (and presumably, fix) a vulnerability." + }, + "AssessmentState": { + "type": "string", + "enum": [ + "STATE_UNSPECIFIED", + "AFFECTED", + "NOT_AFFECTED", + "FIXED", + "UNDER_INVESTIGATION" + ], + "default": "STATE_UNSPECIFIED", + "description": "Provides the state of this Vulnerability assessment.\n\n - STATE_UNSPECIFIED: No state is specified.\n - AFFECTED: This product is known to be affected by this vulnerability.\n - NOT_AFFECTED: This product is known to be not affected by this vulnerability.\n - FIXED: This product contains a fix for this vulnerability.\n - UNDER_INVESTIGATION: It is not known yet whether these versions are or are not affected\nby the vulnerability. However, it is still under investigation." + }, "AttestationNoteHint": { "type": "object", "properties": { @@ -886,6 +930,32 @@ "default": "CONTINUOUS_ANALYSIS_UNSPECIFIED", "description": "Whether the resource is continuously analyzed.\n\n - CONTINUOUS_ANALYSIS_UNSPECIFIED: Unknown.\n - ACTIVE: The resource is continuously analyzed.\n - INACTIVE: The resource is ignored for continuous analysis." }, + "JustificationJustificationType": { + "type": "string", + "enum": [ + "JUSTIFICATION_TYPE_UNSPECIFIED", + "COMPONENT_NOT_PRESENT", + "VULNERABLE_CODE_NOT_PRESENT", + "VULNERABLE_CODE_NOT_IN_EXECUTE_PATH", + "VULNERABLE_CODE_CANNOT_BE_CONTROLLED_BY_ADVERSARY", + "INLINE_MITIGATIONS_ALREADY_EXIST" + ], + "default": "JUSTIFICATION_TYPE_UNSPECIFIED", + "description": "Provides the type of justification.\n\n - JUSTIFICATION_TYPE_UNSPECIFIED: JUSTIFICATION_TYPE_UNSPECIFIED.\n - COMPONENT_NOT_PRESENT: The vulnerable component is not present in the product.\n - VULNERABLE_CODE_NOT_PRESENT: The vulnerable code is not present. Typically this case\noccurs when source code is configured or built in a way that excludes\nthe vulnerable code.\n - VULNERABLE_CODE_NOT_IN_EXECUTE_PATH: The vulnerable code can not be executed.\nTypically this case occurs when the product includes the vulnerable\ncode but does not call or use the vulnerable code.\n - VULNERABLE_CODE_CANNOT_BE_CONTROLLED_BY_ADVERSARY: The vulnerable code cannot be controlled by an attacker to exploit\nthe vulnerability.\n - INLINE_MITIGATIONS_ALREADY_EXIST: The product includes built-in protections or features that prevent\nexploitation of the vulnerability. These built-in protections cannot\nbe subverted by the attacker and cannot be configured or disabled by\nthe user. These mitigations completely prevent exploitation based on\nknown attack vectors." + }, + "RemediationRemediationType": { + "type": "string", + "enum": [ + "REMEDIATION_TYPE_UNSPECIFIED", + "MITIGATION", + "NO_FIX_PLANNED", + "NONE_AVAILABLE", + "VENDOR_FIX", + "WORKAROUND" + ], + "default": "REMEDIATION_TYPE_UNSPECIFIED", + "description": "The type of remediation that can be applied.\n\n - REMEDIATION_TYPE_UNSPECIFIED: No remediation type specified.\n - MITIGATION: A MITIGATION is available.\n - NO_FIX_PLANNED: No fix is planned.\n - NONE_AVAILABLE: Not available.\n - VENDOR_FIX: A vendor fix is available.\n - WORKAROUND: A workaround is available." + }, "SlsaProvenanceMaterial": { "type": "object", "properties": { @@ -986,6 +1056,89 @@ "default": "VERSION_KIND_UNSPECIFIED", "description": "Whether this is an ordinary package version or a sentinel MIN/MAX version.\n\n - VERSION_KIND_UNSPECIFIED: Unknown.\n - NORMAL: A standard package version.\n - MINIMUM: A special version representing negative infinity.\n - MAXIMUM: A special version representing positive infinity." }, + "VulnerabilityAssessmentNoteAssessment": { + "type": "object", + "properties": { + "cve": { + "type": "string", + "description": "Holds the MITRE standard Common Vulnerabilities and Exposures (CVE)\ntracking number for the vulnerability." + }, + "shortDescription": { + "type": "string", + "description": "A one sentence description of this Vex." + }, + "longDescription": { + "type": "string", + "description": "A detailed description of this Vex." + }, + "relatedUris": { + "type": "array", + "items": { + "$ref": "#/definitions/v1RelatedUrl" + }, + "description": "Holds a list of references associated with this vulnerability item and\nassessment. These uris have additional information about the\nvulnerability and the assessment itself. E.g. Link to a document which\ndetails how this assessment concluded the state of this vulnerability." + }, + "state": { + "$ref": "#/definitions/AssessmentState", + "description": "Provides the state of this Vulnerability assessment." + }, + "impacts": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Contains information about the impact of this vulnerability,\nthis will change with time." + }, + "justification": { + "$ref": "#/definitions/AssessmentJustification", + "description": "Justification provides the justification when the state of the\nassessment if NOT_AFFECTED." + }, + "remediations": { + "type": "array", + "items": { + "$ref": "#/definitions/AssessmentRemediation" + }, + "description": "Specifies details on how to handle (and presumably, fix) a vulnerability." + } + }, + "description": "Assessment provides all information that is related to a single\nvulnerability for this product." + }, + "VulnerabilityAssessmentNoteProduct": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the product." + }, + "id": { + "type": "string", + "description": "Token that identifies a product so that it can be referred to from other\nparts in the document. There is no predefined format as long as it\nuniquely identifies a group in the context of the current document." + }, + "genericUri": { + "type": "string", + "description": "Contains a URI which is vendor-specific.\nExample: The artifact repository URL of an image." + } + }, + "title": "Product contains information about a product and how to uniquely identify\nit.\n(-- api-linter: core::0123::resource-annotation=disabled\n aip.dev/not-precedent: Product is not a separate resource. --)" + }, + "VulnerabilityAssessmentNotePublisher": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the publisher.\nExamples: 'Google', 'Google Cloud Platform'." + }, + "issuingAuthority": { + "type": "string", + "description": "Provides information about the authority of the issuing party to\nrelease the document, in particular, the party's constituency and\nresponsibilities or other obligations." + }, + "publisherNamespace": { + "type": "string", + "title": "The context or namespace.\nContains a URL which is under control of the issuing party and can\nbe used as a globally unique identifier for that issuing party.\nExample: https://csaf.io" + } + }, + "title": "Publisher contains information about the publisher of\nthis Note.\n(-- api-linter: core::0123::resource-annotation=disabled\n aip.dev/not-precedent: Publisher is not a separate resource. --)" + }, "VulnerabilityNoteDetail": { "type": "object", "properties": { @@ -1123,6 +1276,49 @@ }, "description": "A detail for a distro and package this vulnerability occurrence was found in\nand its associated fix (if one is available)." }, + "VulnerabilityOccurrenceVexAssessment": { + "type": "object", + "properties": { + "cve": { + "type": "string", + "description": "Holds the MITRE standard Common Vulnerabilities and Exposures (CVE)\ntracking number for the vulnerability." + }, + "relatedUris": { + "type": "array", + "items": { + "$ref": "#/definitions/v1RelatedUrl" + }, + "description": "Holds a list of references associated with this vulnerability item and\nassessment." + }, + "noteName": { + "type": "string", + "title": "The VulnerabilityAssessment note from which this VexAssessment was\ngenerated.\nThis will be of the form: `projects/[PROJECT_ID]/notes/[NOTE_ID]`.\n(-- api-linter: core::0122::name-suffix=disabled\n aip.dev/not-precedent: The suffix is kept for consistency. --)" + }, + "state": { + "$ref": "#/definitions/AssessmentState", + "description": "Provides the state of this Vulnerability assessment." + }, + "impacts": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Contains information about the impact of this vulnerability,\nthis will change with time." + }, + "remediations": { + "type": "array", + "items": { + "$ref": "#/definitions/AssessmentRemediation" + }, + "description": "Specifies details on how to handle (and presumably, fix) a vulnerability." + }, + "justification": { + "$ref": "#/definitions/AssessmentJustification", + "description": "Justification provides the justification when the state of the\nassessment if NOT_AFFECTED." + } + }, + "description": "VexAssessment provides all publisher provided Vex information that is\nrelated to this vulnerability." + }, "WindowsDetailKnowledgeBase": { "type": "object", "properties": { @@ -1520,7 +1716,8 @@ "enum": [ "ATTACK_COMPLEXITY_UNSPECIFIED", "ATTACK_COMPLEXITY_LOW", - "ATTACK_COMPLEXITY_HIGH" + "ATTACK_COMPLEXITY_HIGH", + "ATTACK_COMPLEXITY_MEDIUM" ], "default": "ATTACK_COMPLEXITY_UNSPECIFIED" }, @@ -1541,7 +1738,9 @@ "IMPACT_UNSPECIFIED", "IMPACT_HIGH", "IMPACT_LOW", - "IMPACT_NONE" + "IMPACT_NONE", + "IMPACT_PARTIAL", + "IMPACT_COMPLETE" ], "default": "IMPACT_UNSPECIFIED" }, @@ -2453,6 +2652,10 @@ "dsseAttestation": { "$ref": "#/definitions/v1DSSEAttestationNote", "description": "A note describing a dsse attestation note." + }, + "vulnerabilityAssessment": { + "$ref": "#/definitions/v1VulnerabilityAssessmentNote", + "description": "A note describing a vulnerability assessment." } }, "description": "A type of analysis that can be done for a resource." @@ -2470,10 +2673,11 @@ "ATTESTATION", "UPGRADE", "COMPLIANCE", - "DSSE_ATTESTATION" + "DSSE_ATTESTATION", + "VULNERABILITY_ASSESSMENT" ], "default": "NOTE_KIND_UNSPECIFIED", - "description": "Kind represents the kinds of notes supported.\n\n - NOTE_KIND_UNSPECIFIED: Default value. This value is unused.\n - VULNERABILITY: The note and occurrence represent a package vulnerability.\n - BUILD: The note and occurrence assert build provenance.\n - IMAGE: This represents an image basis relationship.\n - PACKAGE: This represents a package installed via a package manager.\n - DEPLOYMENT: The note and occurrence track deployment events.\n - DISCOVERY: The note and occurrence track the initial discovery status of a resource.\n - ATTESTATION: This represents a logical \"role\" that can attest to artifacts.\n - UPGRADE: This represents an available package upgrade.\n - COMPLIANCE: This represents a Compliance Note\n - DSSE_ATTESTATION: This represents a DSSE attestation Note" + "description": "Kind represents the kinds of notes supported.\n\n - NOTE_KIND_UNSPECIFIED: Default value. This value is unused.\n - VULNERABILITY: The note and occurrence represent a package vulnerability.\n - BUILD: The note and occurrence assert build provenance.\n - IMAGE: This represents an image basis relationship.\n - PACKAGE: This represents a package installed via a package manager.\n - DEPLOYMENT: The note and occurrence track deployment events.\n - DISCOVERY: The note and occurrence track the initial discovery status of a resource.\n - ATTESTATION: This represents a logical \"role\" that can attest to artifacts.\n - UPGRADE: This represents an available package upgrade.\n - COMPLIANCE: This represents a Compliance Note\n - DSSE_ATTESTATION: This represents a DSSE attestation Note\n - VULNERABILITY_ASSESSMENT: This represents a Vulnerability Assessment." }, "v1Occurrence": { "type": "object", @@ -3090,6 +3294,40 @@ }, "description": "Version contains structured information about the version of a package." }, + "v1VulnerabilityAssessmentNote": { + "type": "object", + "properties": { + "title": { + "type": "string", + "title": "The title of the note. E.g. `Vex-Debian-11.4`" + }, + "shortDescription": { + "type": "string", + "description": "A one sentence description of this Vex." + }, + "longDescription": { + "type": "string", + "description": "A detailed description of this Vex." + }, + "languageCode": { + "type": "string", + "description": "Identifies the language used by this document,\ncorresponding to IETF BCP 47 / RFC 5646." + }, + "publisher": { + "$ref": "#/definitions/VulnerabilityAssessmentNotePublisher", + "description": "Publisher details of this Note." + }, + "product": { + "$ref": "#/definitions/VulnerabilityAssessmentNoteProduct", + "description": "The product affected by this vex." + }, + "assessment": { + "$ref": "#/definitions/VulnerabilityAssessmentNoteAssessment", + "description": "Represents a vulnerability assessment for the product." + } + }, + "description": "A single VulnerabilityAssessmentNote represents\none particular product's vulnerability assessment for one CVE." + }, "v1VulnerabilityNote": { "type": "object", "properties": { @@ -3200,6 +3438,9 @@ "cvssV2": { "$ref": "#/definitions/v1CVSS", "description": "The cvss v2 score for the vulnerability." + }, + "vexAssessment": { + "$ref": "#/definitions/VulnerabilityOccurrenceVexAssessment" } }, "description": "An occurrence of a severity vulnerability on a resource." diff --git a/third_party/googleapis/grafeas/v1/vulnerability.proto b/third_party/googleapis/grafeas/v1/vulnerability.proto index 99abf3be7..3b316eb8d 100644 --- a/third_party/googleapis/grafeas/v1/vulnerability.proto +++ b/third_party/googleapis/grafeas/v1/vulnerability.proto @@ -22,6 +22,7 @@ import "grafeas/v1/common.proto"; import "grafeas/v1/cvss.proto"; import "grafeas/v1/package.proto"; import "grafeas/v1/severity.proto"; +import "grafeas/v1/vex.proto"; option go_package = "google.golang.org/genproto/googleapis/grafeas/v1;grafeas"; option java_multiple_files = true; @@ -253,5 +254,44 @@ message VulnerabilityOccurrence { // The cvss v2 score for the vulnerability. CVSS cvss_v2 = 12; - // Next free ID is 13. + // VexAssessment provides all publisher provided Vex information that is + // related to this vulnerability. + message VexAssessment { + // Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) + // tracking number for the vulnerability. + string cve = 1; + + // Holds a list of references associated with this vulnerability item and + // assessment. + repeated grafeas.v1.RelatedUrl related_uris = 2; + + // The VulnerabilityAssessment note from which this VexAssessment was + // generated. + // This will be of the form: `projects/[PROJECT_ID]/notes/[NOTE_ID]`. + // (-- api-linter: core::0122::name-suffix=disabled + // aip.dev/not-precedent: The suffix is kept for consistency. --) + string note_name = 3; + + // Provides the state of this Vulnerability assessment. + grafeas.v1.VulnerabilityAssessmentNote.Assessment.State state = 4; + + // Contains information about the impact of this vulnerability, + // this will change with time. + repeated string impacts = 5; + + // Specifies details on how to handle (and presumably, fix) a vulnerability. + repeated grafeas.v1.VulnerabilityAssessmentNote.Assessment.Remediation + remediations = 6; + + // Justification provides the justification when the state of the + // assessment if NOT_AFFECTED. + grafeas.v1.VulnerabilityAssessmentNote.Assessment.Justification + justification = 7; + + // Next ID: 8 + } + + VexAssessment vex_assessment = 13; + + // Next free ID is 14. } diff --git a/third_party/googleapis/repository_rules.bzl b/third_party/googleapis/repository_rules.bzl index 2d45d3dac..9c6643b78 100644 --- a/third_party/googleapis/repository_rules.bzl +++ b/third_party/googleapis/repository_rules.bzl @@ -186,6 +186,10 @@ def switched_rules_by_language( go, "@io_bazel_rules_go//proto:def.bzl", ) + rules["go_grpc_library"] = _switch( + go, + "@io_bazel_rules_go//proto:def.bzl", + ) rules["go_library"] = _switch( go, "@io_bazel_rules_go//go:def.bzl",